diff --git a/.openapi-generator/FILES b/.openapi-generator/FILES index 7ffbdf2d..97315a2e 100644 --- a/.openapi-generator/FILES +++ b/.openapi-generator/FILES @@ -1,4 +1,5 @@ .gitignore +.openapi-generator-ignore .travis.yml README.md api/openapi.yaml @@ -23,319 +24,342 @@ api_vulnerabilities.go api_webhooks.go client.go configuration.go -docs/AlpinePackageUpload.md +docs/AllocatedLimit.md +docs/AlpinePackageUploadRequest.md +docs/AlpinePackageUploadResponse.md +docs/Architecture.md docs/AuditLogApi.md docs/BadgesApi.md -docs/CargoPackageUpload.md -docs/CocoapodsPackageUpload.md -docs/ComposerPackageUpload.md -docs/ConanPackageUpload.md -docs/CondaPackageUpload.md -docs/CranPackageUpload.md -docs/DartPackageUpload.md -docs/DebPackageUpload.md +docs/CargoPackageUploadRequest.md +docs/CargoPackageUploadResponse.md +docs/CocoapodsPackageUploadRequest.md +docs/CocoapodsPackageUploadResponse.md +docs/CommonBandwidthMetrics.md +docs/CommonBandwidthMetricsValue.md +docs/CommonDownloadsMetrics.md +docs/CommonDownloadsMetricsValue.md +docs/CommonMetrics.md +docs/ComposerPackageUploadRequest.md +docs/ComposerPackageUploadResponse.md +docs/ConanPackageUploadRequest.md +docs/ConanPackageUploadResponse.md +docs/CondaPackageUploadRequest.md +docs/CondaPackageUploadResponse.md +docs/CranPackageUploadRequest.md +docs/CranPackageUploadResponse.md +docs/DartPackageUploadRequest.md +docs/DartPackageUploadResponse.md +docs/DebPackageUploadRequest.md +docs/DebPackageUploadResponse.md docs/Distribution.md +docs/DistributionResponse.md +docs/DistributionVersion.md docs/DistrosApi.md -docs/DistrosVersions.md -docs/DockerPackageUpload.md -docs/EntitlementUsageMetrics.md +docs/DockerPackageUploadRequest.md +docs/DockerPackageUploadResponse.md +docs/EntitlementUsageMetricsResponse.md docs/EntitlementsApi.md -docs/EntitlementsCreate.md -docs/EntitlementsPartialUpdate.md -docs/EntitlementsRefresh.md -docs/EntitlementsSync.md -docs/FilesAbort.md +docs/ErrorDetail.md +docs/Eula.md docs/FilesApi.md -docs/FilesComplete.md -docs/FilesCreate.md -docs/FilesValidate.md -docs/Format.md +docs/FormatResponse.md +docs/FormatSupport.md docs/FormatsApi.md -docs/FormatsDistributions.md -docs/GoPackageUpload.md -docs/HelmPackageUpload.md -docs/LuarocksPackageUpload.md -docs/MavenPackageUpload.md +docs/GeoIpLocation.md +docs/GoPackageUploadRequest.md +docs/GoPackageUploadResponse.md +docs/HelmPackageUploadRequest.md +docs/HelmPackageUploadResponse.md +docs/History.md +docs/HistoryFieldset.md +docs/LuarocksPackageUploadRequest.md +docs/LuarocksPackageUploadResponse.md +docs/MavenPackageUploadRequest.md +docs/MavenPackageUploadResponse.md docs/MetricsApi.md -docs/Namespace.md -docs/NamespaceAuditLog.md +docs/NamespaceAuditLogResponse.md +docs/NamespaceResponse.md docs/NamespacesApi.md -docs/NpmPackageUpload.md -docs/NugetPackageUpload.md -docs/Organization.md -docs/OrganizationGroupSync.md -docs/OrganizationInvite.md -docs/OrganizationInviteExtend.md -docs/OrganizationMembership.md -docs/OrganizationTeam.md +docs/NpmPackageUploadRequest.md +docs/NpmPackageUploadResponse.md +docs/NugetPackageUploadRequest.md +docs/NugetPackageUploadResponse.md +docs/OrganizationGroupSyncRequest.md +docs/OrganizationGroupSyncResponse.md +docs/OrganizationInviteExtendResponse.md +docs/OrganizationInviteRequest.md +docs/OrganizationInviteResponse.md +docs/OrganizationInviteUpdateRequestPatch.md +docs/OrganizationInviteUpdateResponse.md +docs/OrganizationMembershipResponse.md +docs/OrganizationResponse.md docs/OrganizationTeamMembers.md -docs/OrganizationTeamMembersMembers.md +docs/OrganizationTeamMembersResponse.md +docs/OrganizationTeamMembership.md +docs/OrganizationTeamRequest.md +docs/OrganizationTeamRequestPatch.md +docs/OrganizationTeamResponse.md docs/OrgsApi.md -docs/OrgsInvitesCreate.md -docs/OrgsInvitesExtend.md -docs/OrgsSamlGroupSyncCreate.md -docs/OrgsTeamsCreate.md -docs/OrgsTeamsPartialUpdate.md -docs/P2PackageUpload.md -docs/Package.md -docs/PackageCopy.md -docs/PackageDependencies.md -docs/PackageDependenciesDependencies.md -docs/PackageFilePartsUpload.md -docs/PackageFileUpload.md -docs/PackageMove.md -docs/PackageQuarantine.md -docs/PackageResync.md -docs/PackageStatus.md -docs/PackageUsageMetrics.md +docs/P2PackageUploadRequest.md +docs/P2PackageUploadResponse.md +docs/PackageCopyRequest.md +docs/PackageCopyResponse.md +docs/PackageDependenciesResponse.md +docs/PackageDependency.md +docs/PackageFile.md +docs/PackageFilePartsUploadResponse.md +docs/PackageFileUploadRequest.md +docs/PackageFileUploadResponse.md +docs/PackageMoveRequest.md +docs/PackageMoveResponse.md +docs/PackageQuarantineRequest.md +docs/PackageQuarantineResponse.md +docs/PackageResponse.md +docs/PackageResyncResponse.md +docs/PackageStatusResponse.md +docs/PackageTagRequest.md +docs/PackageTagResponse.md +docs/PackageUsageMetricsResponse.md +docs/PackageVulnerability.md docs/PackagesApi.md -docs/PackagesCopy.md -docs/PackagesMove.md -docs/PackagesOwnerRepoArchitectures.md -docs/PackagesOwnerRepoFiles.md -docs/PackagesQuarantine.md -docs/PackagesTag.md -docs/PackagesUploadAlpine.md -docs/PackagesUploadCargo.md -docs/PackagesUploadCocoapods.md -docs/PackagesUploadComposer.md -docs/PackagesUploadConan.md -docs/PackagesUploadConda.md -docs/PackagesUploadCran.md -docs/PackagesUploadDart.md -docs/PackagesUploadDeb.md -docs/PackagesUploadDocker.md -docs/PackagesUploadGo.md -docs/PackagesUploadHelm.md -docs/PackagesUploadLuarocks.md -docs/PackagesUploadMaven.md -docs/PackagesUploadNpm.md -docs/PackagesUploadNuget.md -docs/PackagesUploadP2.md -docs/PackagesUploadPython.md -docs/PackagesUploadRaw.md -docs/PackagesUploadRpm.md -docs/PackagesUploadRuby.md -docs/PackagesUploadTerraform.md -docs/PackagesUploadVagrant.md -docs/PackagesValidateUploadAlpine.md -docs/PackagesValidateUploadCargo.md -docs/PackagesValidateUploadCocoapods.md -docs/PackagesValidateUploadComposer.md -docs/PackagesValidateUploadConan.md -docs/PackagesValidateUploadConda.md -docs/PackagesValidateUploadCran.md -docs/PackagesValidateUploadDart.md -docs/PackagesValidateUploadDeb.md -docs/PackagesValidateUploadDocker.md -docs/PackagesValidateUploadGo.md -docs/PackagesValidateUploadHelm.md -docs/PackagesValidateUploadLuarocks.md -docs/PackagesValidateUploadMaven.md -docs/PackagesValidateUploadNpm.md -docs/PackagesValidateUploadNuget.md -docs/PackagesValidateUploadP2.md -docs/PackagesValidateUploadPython.md -docs/PackagesValidateUploadRaw.md -docs/PackagesValidateUploadRpm.md -docs/PackagesValidateUploadRuby.md -docs/PackagesValidateUploadTerraform.md -docs/PackagesValidateUploadVagrant.md -docs/PythonPackageUpload.md -docs/Quota.md +docs/PythonPackageUploadRequest.md +docs/PythonPackageUploadResponse.md docs/QuotaApi.md -docs/QuotaHistory.md -docs/QuotaHistoryHistory.md +docs/QuotaHistoryResponse.md +docs/QuotaResponse.md +docs/RateCheck.md docs/RatesApi.md -docs/RawPackageUpload.md +docs/RawPackageUploadRequest.md +docs/RawPackageUploadResponse.md docs/ReposApi.md -docs/ReposCreate.md -docs/ReposGpgCreate.md -docs/ReposGpgKeys.md -docs/ReposPartialUpdate.md -docs/ReposRsaCreate.md -docs/Repository.md -docs/RepositoryAuditLog.md -docs/RepositoryCreate.md +docs/RepositoryAuditLogResponse.md +docs/RepositoryCreateRequest.md +docs/RepositoryCreateResponse.md docs/RepositoryGpgKey.md -docs/RepositoryPrivilegeList.md -docs/RepositoryRsaKey.md +docs/RepositoryGpgKeyCreate.md +docs/RepositoryGpgKeyResponse.md +docs/RepositoryPrivilegeDict.md +docs/RepositoryPrivilegeInputRequest.md +docs/RepositoryPrivilegeInputRequestPatch.md +docs/RepositoryPrivilegeInputResponse.md +docs/RepositoryRequestPatch.md +docs/RepositoryResponse.md +docs/RepositoryRsaKeyCreate.md +docs/RepositoryRsaKeyResponse.md docs/RepositoryToken.md -docs/RepositoryTokenRefresh.md -docs/RepositoryTokenSync.md -docs/RepositoryTokenSyncTokens.md -docs/RepositoryWebhook.md -docs/ResourcesRateCheck.md -docs/RpmPackageUpload.md -docs/RubyPackageUpload.md -docs/Status.md +docs/RepositoryTokenRefreshRequest.md +docs/RepositoryTokenRefreshResponse.md +docs/RepositoryTokenRequest.md +docs/RepositoryTokenRequestPatch.md +docs/RepositoryTokenResponse.md +docs/RepositoryTokenSyncRequest.md +docs/RepositoryTokenSyncResponse.md +docs/RepositoryWebhookRequest.md +docs/RepositoryWebhookRequestPatch.md +docs/RepositoryWebhookResponse.md +docs/ResourcesRateCheckResponse.md +docs/RpmPackageUploadRequest.md +docs/RpmPackageUploadResponse.md +docs/RubyPackageUploadRequest.md +docs/RubyPackageUploadResponse.md +docs/ServiceRequest.md +docs/ServiceRequestPatch.md +docs/ServiceResponse.md +docs/ServiceTeams.md docs/StatusApi.md -docs/StatusBasic.md -docs/StorageRegion.md +docs/StatusBasicResponse.md +docs/StorageRegionResponse.md docs/StorageRegionsApi.md -docs/TerraformPackageUpload.md +docs/TerraformPackageUploadRequest.md +docs/TerraformPackageUploadResponse.md +docs/Usage.md +docs/UsageFieldset.md +docs/UsageLimits.md docs/UserApi.md -docs/UserAuthToken.md -docs/UserBrief.md -docs/UserProfile.md -docs/UserTokenCreate.md +docs/UserAuthTokenRequest.md +docs/UserAuthTokenResponse.md +docs/UserBriefResponse.md +docs/UserProfileResponse.md docs/UsersApi.md -docs/VagrantPackageUpload.md +docs/VagrantPackageUploadRequest.md +docs/VagrantPackageUploadResponse.md docs/VulnerabilitiesApi.md -docs/VulnerabilityScanResults.md -docs/VulnerabilityScanResultsList.md +docs/Vulnerability.md +docs/VulnerabilityScan.md +docs/VulnerabilityScanResultsListResponse.md +docs/VulnerabilityScanResultsResponse.md +docs/VulnerabilityScanVersion.md +docs/WebhookTemplate.md docs/WebhooksApi.md -docs/WebhooksCreate.md -docs/WebhooksOwnerRepoTemplates.md -docs/WebhooksPartialUpdate.md git_push.sh go.mod go.sum -model__distros__versions.go -model__formats__distributions.go -model__packages__owner___repo___architectures.go -model__packages__owner___repo___files.go -model__repos__gpg_keys.go -model__webhooks__owner___repo___templates.go -model_alpine_package_upload.go -model_cargo_package_upload.go -model_cocoapods_package_upload.go -model_composer_package_upload.go -model_conan_package_upload.go -model_conda_package_upload.go -model_cran_package_upload.go -model_dart_package_upload.go -model_deb_package_upload.go +model_allocated_limit.go +model_alpine_package_upload_request.go +model_alpine_package_upload_response.go +model_architecture.go +model_cargo_package_upload_request.go +model_cargo_package_upload_response.go +model_cocoapods_package_upload_request.go +model_cocoapods_package_upload_response.go +model_common_bandwidth_metrics.go +model_common_bandwidth_metrics_value.go +model_common_downloads_metrics.go +model_common_downloads_metrics_value.go +model_common_metrics.go +model_composer_package_upload_request.go +model_composer_package_upload_response.go +model_conan_package_upload_request.go +model_conan_package_upload_response.go +model_conda_package_upload_request.go +model_conda_package_upload_response.go +model_cran_package_upload_request.go +model_cran_package_upload_response.go +model_dart_package_upload_request.go +model_dart_package_upload_response.go +model_deb_package_upload_request.go +model_deb_package_upload_response.go model_distribution.go -model_docker_package_upload.go -model_entitlement_usage_metrics.go -model_entitlements_create.go -model_entitlements_partial_update.go -model_entitlements_refresh.go -model_entitlements_sync.go -model_files_abort.go -model_files_complete.go -model_files_create.go -model_files_validate.go -model_format.go -model_go_package_upload.go -model_helm_package_upload.go -model_luarocks_package_upload.go -model_maven_package_upload.go -model_namespace.go -model_namespace_audit_log.go -model_npm_package_upload.go -model_nuget_package_upload.go -model_organization.go -model_organization_group_sync.go -model_organization_invite.go -model_organization_invite_extend.go -model_organization_membership.go -model_organization_team.go +model_distribution_response.go +model_distribution_version.go +model_docker_package_upload_request.go +model_docker_package_upload_response.go +model_entitlement_usage_metrics_response.go +model_error_detail.go +model_eula.go +model_format_response.go +model_format_support.go +model_geo_ip_location.go +model_go_package_upload_request.go +model_go_package_upload_response.go +model_helm_package_upload_request.go +model_helm_package_upload_response.go +model_history.go +model_history_fieldset.go +model_luarocks_package_upload_request.go +model_luarocks_package_upload_response.go +model_maven_package_upload_request.go +model_maven_package_upload_response.go +model_namespace_audit_log_response.go +model_namespace_response.go +model_npm_package_upload_request.go +model_npm_package_upload_response.go +model_nuget_package_upload_request.go +model_nuget_package_upload_response.go +model_organization_group_sync_request.go +model_organization_group_sync_response.go +model_organization_invite_extend_response.go +model_organization_invite_request.go +model_organization_invite_response.go +model_organization_invite_update_request_patch.go +model_organization_invite_update_response.go +model_organization_membership_response.go +model_organization_response.go model_organization_team_members.go -model_organization_team_members_members.go -model_orgs_invites_create.go -model_orgs_invites_extend.go -model_orgs_saml_group_sync_create.go -model_orgs_teams_create.go -model_orgs_teams_partial_update.go -model_p2_package_upload.go -model_package.go -model_package_copy.go -model_package_dependencies.go -model_package_dependencies_dependencies.go -model_package_file_parts_upload.go -model_package_file_upload.go -model_package_move.go -model_package_quarantine.go -model_package_resync.go -model_package_status.go -model_package_usage_metrics.go -model_packages_copy.go -model_packages_move.go -model_packages_quarantine.go -model_packages_tag.go -model_packages_upload_alpine.go -model_packages_upload_cargo.go -model_packages_upload_cocoapods.go -model_packages_upload_composer.go -model_packages_upload_conan.go -model_packages_upload_conda.go -model_packages_upload_cran.go -model_packages_upload_dart.go -model_packages_upload_deb.go -model_packages_upload_docker.go -model_packages_upload_go.go -model_packages_upload_helm.go -model_packages_upload_luarocks.go -model_packages_upload_maven.go -model_packages_upload_npm.go -model_packages_upload_nuget.go -model_packages_upload_p2.go -model_packages_upload_python.go -model_packages_upload_raw.go -model_packages_upload_rpm.go -model_packages_upload_ruby.go -model_packages_upload_terraform.go -model_packages_upload_vagrant.go -model_packages_validate_upload_alpine.go -model_packages_validate_upload_cargo.go -model_packages_validate_upload_cocoapods.go -model_packages_validate_upload_composer.go -model_packages_validate_upload_conan.go -model_packages_validate_upload_conda.go -model_packages_validate_upload_cran.go -model_packages_validate_upload_dart.go -model_packages_validate_upload_deb.go -model_packages_validate_upload_docker.go -model_packages_validate_upload_go.go -model_packages_validate_upload_helm.go -model_packages_validate_upload_luarocks.go -model_packages_validate_upload_maven.go -model_packages_validate_upload_npm.go -model_packages_validate_upload_nuget.go -model_packages_validate_upload_p2.go -model_packages_validate_upload_python.go -model_packages_validate_upload_raw.go -model_packages_validate_upload_rpm.go -model_packages_validate_upload_ruby.go -model_packages_validate_upload_terraform.go -model_packages_validate_upload_vagrant.go -model_python_package_upload.go -model_quota.go -model_quota_history.go -model_quota_history_history.go -model_raw_package_upload.go -model_repos_create.go -model_repos_gpg_create.go -model_repos_partial_update.go -model_repos_rsa_create.go -model_repository.go -model_repository_audit_log.go -model_repository_create.go +model_organization_team_members_response.go +model_organization_team_membership.go +model_organization_team_request.go +model_organization_team_request_patch.go +model_organization_team_response.go +model_p2_package_upload_request.go +model_p2_package_upload_response.go +model_package_copy_request.go +model_package_copy_response.go +model_package_dependencies_response.go +model_package_dependency.go +model_package_file.go +model_package_file_parts_upload_response.go +model_package_file_upload_request.go +model_package_file_upload_response.go +model_package_move_request.go +model_package_move_response.go +model_package_quarantine_request.go +model_package_quarantine_response.go +model_package_response.go +model_package_resync_response.go +model_package_status_response.go +model_package_tag_request.go +model_package_tag_response.go +model_package_usage_metrics_response.go +model_package_vulnerability.go +model_python_package_upload_request.go +model_python_package_upload_response.go +model_quota_history_response.go +model_quota_response.go +model_rate_check.go +model_raw_package_upload_request.go +model_raw_package_upload_response.go +model_repository_audit_log_response.go +model_repository_create_request.go +model_repository_create_response.go model_repository_gpg_key.go -model_repository_privilege_list.go -model_repository_rsa_key.go +model_repository_gpg_key_create.go +model_repository_gpg_key_response.go +model_repository_privilege_dict.go +model_repository_privilege_input_request.go +model_repository_privilege_input_request_patch.go +model_repository_privilege_input_response.go +model_repository_request_patch.go +model_repository_response.go +model_repository_rsa_key_create.go +model_repository_rsa_key_response.go model_repository_token.go -model_repository_token_refresh.go -model_repository_token_sync.go -model_repository_token_sync_tokens.go -model_repository_webhook.go -model_resources_rate_check.go -model_rpm_package_upload.go -model_ruby_package_upload.go -model_status.go -model_status_basic.go -model_storage_region.go -model_terraform_package_upload.go -model_user_auth_token.go -model_user_brief.go -model_user_profile.go -model_user_token_create.go -model_vagrant_package_upload.go -model_vulnerability_scan_results.go -model_vulnerability_scan_results_list.go -model_webhooks_create.go -model_webhooks_partial_update.go +model_repository_token_refresh_request.go +model_repository_token_refresh_response.go +model_repository_token_request.go +model_repository_token_request_patch.go +model_repository_token_response.go +model_repository_token_sync_request.go +model_repository_token_sync_response.go +model_repository_webhook_request.go +model_repository_webhook_request_patch.go +model_repository_webhook_response.go +model_resources_rate_check_response.go +model_rpm_package_upload_request.go +model_rpm_package_upload_response.go +model_ruby_package_upload_request.go +model_ruby_package_upload_response.go +model_service_request.go +model_service_request_patch.go +model_service_response.go +model_service_teams.go +model_status_basic_response.go +model_storage_region_response.go +model_terraform_package_upload_request.go +model_terraform_package_upload_response.go +model_usage.go +model_usage_fieldset.go +model_usage_limits.go +model_user_auth_token_request.go +model_user_auth_token_response.go +model_user_brief_response.go +model_user_profile_response.go +model_vagrant_package_upload_request.go +model_vagrant_package_upload_response.go +model_vulnerability.go +model_vulnerability_scan.go +model_vulnerability_scan_results_list_response.go +model_vulnerability_scan_results_response.go +model_vulnerability_scan_version.go +model_webhook_template.go response.go +test/api_audit_log_test.go +test/api_badges_test.go +test/api_distros_test.go +test/api_entitlements_test.go +test/api_files_test.go +test/api_formats_test.go +test/api_metrics_test.go +test/api_namespaces_test.go +test/api_orgs_test.go +test/api_packages_test.go +test/api_quota_test.go +test/api_rates_test.go +test/api_repos_test.go +test/api_status_test.go +test/api_storage_regions_test.go +test/api_user_test.go +test/api_users_test.go +test/api_vulnerabilities_test.go +test/api_webhooks_test.go utils.go diff --git a/.openapi-generator/VERSION b/.openapi-generator/VERSION index 1e20ec35..0df17dd0 100644 --- a/.openapi-generator/VERSION +++ b/.openapi-generator/VERSION @@ -1 +1 @@ -5.4.0 \ No newline at end of file +6.2.1 \ No newline at end of file diff --git a/Dockerfile b/Dockerfile index 1cf270be..c3cc565f 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,7 +1,7 @@ -FROM openapitools/openapi-generator-cli:v5.4.0 +FROM openapitools/openapi-generator-cli:v6.2.1 RUN apt-get update \ - && apt-get install -y --no-install-recommends jq=1.5+dfsg-2+b1 golang=2:1.11~1 \ + && apt-get install -y --no-install-recommends jq golang \ && apt-get clean \ && rm -rf /var/lib/apt/lists/* diff --git a/README.md b/README.md index 4d021ce5..5f582b22 100644 --- a/README.md +++ b/README.md @@ -5,8 +5,8 @@ The API to the Cloudsmith Service ## Overview 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: 1.121.3 -- Package version: 0.0.16 +- API version: 1.181.6 +- Package version: 0.0.17 - Build package: org.openapitools.codegen.languages.GoClientCodegen For more information, please visit [https://help.cloudsmith.io](https://help.cloudsmith.io) @@ -62,7 +62,7 @@ Each operation can use different server URL defined using `OperationServers` map An operation is uniquely identified by `"{classname}Service.{nickname}"` string. Similar rules for overriding default operation server index and variables applies by using `sw.ContextOperationServerIndices` and `sw.ContextOperationServerVariables` context maps. -``` +```golang ctx := context.WithValue(context.Background(), cloudsmith.ContextOperationServerIndices, map[string]int{ "{classname}Service.{nickname}": 2, }) @@ -79,8 +79,8 @@ All URIs are relative to *https://api.cloudsmith.io/v1* Class | Method | HTTP request | Description ------------ | ------------- | ------------- | ------------- -*AuditLogApi* | [**AuditLogList**](docs/AuditLogApi.md#auditloglist) | **Get** /audit-log/{owner}/ | Lists audit log entries for a specific namespace. -*AuditLogApi* | [**AuditLogList0**](docs/AuditLogApi.md#auditloglist0) | **Get** /audit-log/{owner}/{repo}/ | Lists audit log entries for a specific repository. +*AuditLogApi* | [**AuditLogNamespaceList**](docs/AuditLogApi.md#auditlognamespacelist) | **Get** /audit-log/{owner}/ | Lists audit log entries for a specific namespace. +*AuditLogApi* | [**AuditLogRepoList**](docs/AuditLogApi.md#auditlogrepolist) | **Get** /audit-log/{owner}/{repo}/ | Lists audit log entries for a specific repository. *BadgesApi* | [**BadgesVersionList**](docs/BadgesApi.md#badgesversionlist) | **Get** /badges/version/{owner}/{repo}/{package_format}/{package_name}/{package_version}/{package_identifiers}/ | Get latest package version for a package or package group. *DistrosApi* | [**DistrosList**](docs/DistrosApi.md#distroslist) | **Get** /distros/ | Get a list of all supported distributions. *DistrosApi* | [**DistrosRead**](docs/DistrosApi.md#distrosread) | **Get** /distros/{slug}/ | View for viewing/listing distributions. @@ -101,8 +101,8 @@ Class | Method | HTTP request | Description *FilesApi* | [**FilesValidate**](docs/FilesApi.md#filesvalidate) | **Post** /files/{owner}/{repo}/validate/ | Validate parameters used for create. *FormatsApi* | [**FormatsList**](docs/FormatsApi.md#formatslist) | **Get** /formats/ | Get a list of all supported package formats. *FormatsApi* | [**FormatsRead**](docs/FormatsApi.md#formatsread) | **Get** /formats/{slug}/ | Get a specific supported package format. -*MetricsApi* | [**MetricsEntitlementsList**](docs/MetricsApi.md#metricsentitlementslist) | **Get** /metrics/entitlements/{owner}/ | View for listing entitlement token metrics, across an account. -*MetricsApi* | [**MetricsEntitlementsList0**](docs/MetricsApi.md#metricsentitlementslist0) | **Get** /metrics/entitlements/{owner}/{repo}/ | View for listing entitlement token metrics, for a repository. +*MetricsApi* | [**MetricsEntitlementsAccountList**](docs/MetricsApi.md#metricsentitlementsaccountlist) | **Get** /metrics/entitlements/{owner}/ | View for listing entitlement token metrics, across an account. +*MetricsApi* | [**MetricsEntitlementsRepoList**](docs/MetricsApi.md#metricsentitlementsrepolist) | **Get** /metrics/entitlements/{owner}/{repo}/ | View for listing entitlement token metrics, for a repository. *MetricsApi* | [**MetricsPackagesList**](docs/MetricsApi.md#metricspackageslist) | **Get** /metrics/packages/{owner}/{repo}/ | View for listing package usage metrics, for a repository. *NamespacesApi* | [**NamespacesList**](docs/NamespacesApi.md#namespaceslist) | **Get** /namespaces/ | Get a list of all namespaces the user belongs to. *NamespacesApi* | [**NamespacesRead**](docs/NamespacesApi.md#namespacesread) | **Get** /namespaces/{slug}/ | Views for working with namespaces. @@ -110,20 +110,31 @@ Class | Method | HTTP request | Description *OrgsApi* | [**OrgsInvitesDelete**](docs/OrgsApi.md#orgsinvitesdelete) | **Delete** /orgs/{org}/invites/{slug_perm}/ | Delete a specific organization invite *OrgsApi* | [**OrgsInvitesExtend**](docs/OrgsApi.md#orgsinvitesextend) | **Post** /orgs/{org}/invites/{slug_perm}/extend/ | Extend an organization invite. *OrgsApi* | [**OrgsInvitesList**](docs/OrgsApi.md#orgsinviteslist) | **Get** /orgs/{org}/invites/ | Get a list of all invites for an organization. +*OrgsApi* | [**OrgsInvitesPartialUpdate**](docs/OrgsApi.md#orgsinvitespartialupdate) | **Patch** /orgs/{org}/invites/{slug_perm}/ | Update a specific organization invite. +*OrgsApi* | [**OrgsInvitesResend**](docs/OrgsApi.md#orgsinvitesresend) | **Post** /orgs/{org}/invites/{slug_perm}/resend/ | Resend an organization invite. *OrgsApi* | [**OrgsList**](docs/OrgsApi.md#orgslist) | **Get** /orgs/ | Get a list of all the organizations you are associated with. +*OrgsApi* | [**OrgsMembersDelete**](docs/OrgsApi.md#orgsmembersdelete) | **Delete** /orgs/{org}/members/{member}/ | Removes a member from the organization. *OrgsApi* | [**OrgsMembersList**](docs/OrgsApi.md#orgsmemberslist) | **Get** /orgs/{org}/members/ | Get the details for all organization members. *OrgsApi* | [**OrgsMembersRead**](docs/OrgsApi.md#orgsmembersread) | **Get** /orgs/{org}/members/{member}/ | Get the details for a specific organization member. -*OrgsApi* | [**OrgsMembersRemove**](docs/OrgsApi.md#orgsmembersremove) | **Get** /orgs/{org}/members/{member}/remove/ | Removes a member from the organization. +*OrgsApi* | [**OrgsMembersRemove**](docs/OrgsApi.md#orgsmembersremove) | **Get** /orgs/{org}/members/{member}/remove/ | Removes a member from the organization (deprecated, use DELETE instead). *OrgsApi* | [**OrgsRead**](docs/OrgsApi.md#orgsread) | **Get** /orgs/{org}/ | Get the details for the specific organization. *OrgsApi* | [**OrgsSamlGroupSyncCreate**](docs/OrgsApi.md#orgssamlgroupsynccreate) | **Post** /orgs/{org}/saml-group-sync/ | Create a new SAML Group Sync mapping within an organization. *OrgsApi* | [**OrgsSamlGroupSyncDelete**](docs/OrgsApi.md#orgssamlgroupsyncdelete) | **Delete** /orgs/{org}/saml-group-sync/{slug_perm}/ | Delete a SAML Group Sync mapping from an organization. *OrgsApi* | [**OrgsSamlGroupSyncList**](docs/OrgsApi.md#orgssamlgroupsynclist) | **Get** /orgs/{org}/saml-group-sync/ | Get the details of all SAML Group Sync mapping within an organization. +*OrgsApi* | [**OrgsServicesCreate**](docs/OrgsApi.md#orgsservicescreate) | **Post** /orgs/{org}/services/ | Create a service within an organization. +*OrgsApi* | [**OrgsServicesDelete**](docs/OrgsApi.md#orgsservicesdelete) | **Delete** /orgs/{org}/services/{service}/ | Delete a specific service +*OrgsApi* | [**OrgsServicesList**](docs/OrgsApi.md#orgsserviceslist) | **Get** /orgs/{org}/services/ | Get a list of all services within an organization. +*OrgsApi* | [**OrgsServicesPartialUpdate**](docs/OrgsApi.md#orgsservicespartialupdate) | **Patch** /orgs/{org}/services/{service}/ | Update a service within an organization. +*OrgsApi* | [**OrgsServicesRead**](docs/OrgsApi.md#orgsservicesread) | **Get** /orgs/{org}/services/{service}/ | Retrieve details of a single service within an organization. +*OrgsApi* | [**OrgsServicesRefresh**](docs/OrgsApi.md#orgsservicesrefresh) | **Post** /orgs/{org}/services/{service}/refresh/ | Refresh service API token. *OrgsApi* | [**OrgsTeamsCreate**](docs/OrgsApi.md#orgsteamscreate) | **Post** /orgs/{org}/teams/ | Create a team for this organization. -*OrgsApi* | [**OrgsTeamsDelete**](docs/OrgsApi.md#orgsteamsdelete) | **Delete** /orgs/{org}/teams/{slug_perm}/ | Delete a specific team in a organization. +*OrgsApi* | [**OrgsTeamsDelete**](docs/OrgsApi.md#orgsteamsdelete) | **Delete** /orgs/{org}/teams/{team}/ | Delete a specific team in a organization. *OrgsApi* | [**OrgsTeamsList**](docs/OrgsApi.md#orgsteamslist) | **Get** /orgs/{org}/teams/ | Get the details of all teams within an organization. +*OrgsApi* | [**OrgsTeamsMembersCreate**](docs/OrgsApi.md#orgsteamsmemberscreate) | **Post** /orgs/{org}/teams/{team}/members | Add users to a team. *OrgsApi* | [**OrgsTeamsMembersList**](docs/OrgsApi.md#orgsteamsmemberslist) | **Get** /orgs/{org}/teams/{team}/members | List all members for the team. -*OrgsApi* | [**OrgsTeamsPartialUpdate**](docs/OrgsApi.md#orgsteamspartialupdate) | **Patch** /orgs/{org}/teams/{slug_perm}/ | Update a specific team in a organization. -*OrgsApi* | [**OrgsTeamsRead**](docs/OrgsApi.md#orgsteamsread) | **Get** /orgs/{org}/teams/{slug_perm}/ | Viewset for working with Organization teams. +*OrgsApi* | [**OrgsTeamsMembersUpdate**](docs/OrgsApi.md#orgsteamsmembersupdate) | **Put** /orgs/{org}/teams/{team}/members | Replace all team members. +*OrgsApi* | [**OrgsTeamsPartialUpdate**](docs/OrgsApi.md#orgsteamspartialupdate) | **Patch** /orgs/{org}/teams/{team}/ | Update a specific team in a organization. +*OrgsApi* | [**OrgsTeamsRead**](docs/OrgsApi.md#orgsteamsread) | **Get** /orgs/{org}/teams/{team}/ | Get the details of a specific team within an organization. *PackagesApi* | [**PackagesCopy**](docs/PackagesApi.md#packagescopy) | **Post** /packages/{owner}/{repo}/{identifier}/copy/ | Copy a package to another repository. *PackagesApi* | [**PackagesDelete**](docs/PackagesApi.md#packagesdelete) | **Delete** /packages/{owner}/{repo}/{identifier}/ | Delete a specific package in a repository. *PackagesApi* | [**PackagesDependencies**](docs/PackagesApi.md#packagesdependencies) | **Get** /packages/{owner}/{repo}/{identifier}/dependencies/ | Get the direct (non-transitive) dependencies list for a package. @@ -186,32 +197,31 @@ Class | Method | HTTP request | Description *QuotaApi* | [**QuotaOssRead**](docs/QuotaApi.md#quotaossread) | **Get** /quota/oss/{owner}/ | Open-source Quota usage for a given namespace. *QuotaApi* | [**QuotaRead**](docs/QuotaApi.md#quotaread) | **Get** /quota/{owner}/ | Quota usage for a given namespace. *RatesApi* | [**RatesLimitsList**](docs/RatesApi.md#rateslimitslist) | **Get** /rates/limits/ | Endpoint to check rate limits for current user. -*ReposApi* | [**ReposAllList**](docs/ReposApi.md#reposalllist) | **Get** /repos/ | Get a list of all repositories associated with current user. *ReposApi* | [**ReposCreate**](docs/ReposApi.md#reposcreate) | **Post** /repos/{owner}/ | Create a new repository in a given namespace. *ReposApi* | [**ReposDelete**](docs/ReposApi.md#reposdelete) | **Delete** /repos/{owner}/{identifier}/ | Delete a repository in a given namespace. *ReposApi* | [**ReposGpgCreate**](docs/ReposApi.md#reposgpgcreate) | **Post** /repos/{owner}/{identifier}/gpg/ | Set the active GPG key for the Repository. *ReposApi* | [**ReposGpgList**](docs/ReposApi.md#reposgpglist) | **Get** /repos/{owner}/{identifier}/gpg/ | Retrieve the active GPG key for the Repository. *ReposApi* | [**ReposGpgRegenerate**](docs/ReposApi.md#reposgpgregenerate) | **Post** /repos/{owner}/{identifier}/gpg/regenerate/ | Regenerate GPG Key for the Repository. -*ReposApi* | [**ReposList**](docs/ReposApi.md#reposlist) | **Get** /repos/{owner}/ | Get a list of all repositories within a namespace. +*ReposApi* | [**ReposNamespaceList**](docs/ReposApi.md#reposnamespacelist) | **Get** /repos/{owner}/ | Get a list of all repositories within a namespace. *ReposApi* | [**ReposPartialUpdate**](docs/ReposApi.md#repospartialupdate) | **Patch** /repos/{owner}/{identifier}/ | Update details about a repository in a given namespace. -*ReposApi* | [**ReposPrivilegesDelete**](docs/ReposApi.md#reposprivilegesdelete) | **Delete** /repos/{owner}/{identifier}/privileges | Remove the specified repository privileges. *ReposApi* | [**ReposPrivilegesList**](docs/ReposApi.md#reposprivilegeslist) | **Get** /repos/{owner}/{identifier}/privileges | List all explicity created privileges for the repository. -*ReposApi* | [**ReposPrivilegesPartialUpdate**](docs/ReposApi.md#reposprivilegespartialupdate) | **Patch** /repos/{owner}/{identifier}/privileges | Update the specified repository privileges. +*ReposApi* | [**ReposPrivilegesPartialUpdate**](docs/ReposApi.md#reposprivilegespartialupdate) | **Patch** /repos/{owner}/{identifier}/privileges | Modify privileges for the repository. *ReposApi* | [**ReposPrivilegesUpdate**](docs/ReposApi.md#reposprivilegesupdate) | **Put** /repos/{owner}/{identifier}/privileges | Replace all existing repository privileges with those specified. *ReposApi* | [**ReposRead**](docs/ReposApi.md#reposread) | **Get** /repos/{owner}/{identifier}/ | Get a specific repository. *ReposApi* | [**ReposRsaCreate**](docs/ReposApi.md#reposrsacreate) | **Post** /repos/{owner}/{identifier}/rsa/ | Set the active RSA key for the Repository. *ReposApi* | [**ReposRsaList**](docs/ReposApi.md#reposrsalist) | **Get** /repos/{owner}/{identifier}/rsa/ | Retrieve the active RSA key for the Repository. *ReposApi* | [**ReposRsaRegenerate**](docs/ReposApi.md#reposrsaregenerate) | **Post** /repos/{owner}/{identifier}/rsa/regenerate/ | Regenerate RSA Key for the Repository. +*ReposApi* | [**ReposUserList**](docs/ReposApi.md#reposuserlist) | **Get** /repos/ | Get a list of all repositories associated with current user. *StatusApi* | [**StatusCheckBasic**](docs/StatusApi.md#statuscheckbasic) | **Get** /status/check/basic/ | Endpoint to check basic API connectivity. *StorageRegionsApi* | [**StorageRegionsList**](docs/StorageRegionsApi.md#storageregionslist) | **Get** /storage-regions/ | Get a list of all available storage regions. *StorageRegionsApi* | [**StorageRegionsRead**](docs/StorageRegionsApi.md#storageregionsread) | **Get** /storage-regions/{slug}/ | Get a specific storage region. *UserApi* | [**UserSelf**](docs/UserApi.md#userself) | **Get** /user/self/ | Provide a brief for the current user (if any). *UserApi* | [**UserTokenCreate**](docs/UserApi.md#usertokencreate) | **Post** /user/token/ | Retrieve the API key/token for the authenticated user. *UsersApi* | [**UsersProfileRead**](docs/UsersApi.md#usersprofileread) | **Get** /users/profile/{slug}/ | Provide a brief for the specified user (if any). -*VulnerabilitiesApi* | [**VulnerabilitiesList**](docs/VulnerabilitiesApi.md#vulnerabilitieslist) | **Get** /vulnerabilities/{owner}/ | Lists scan results for a specific namespace. -*VulnerabilitiesApi* | [**VulnerabilitiesList0**](docs/VulnerabilitiesApi.md#vulnerabilitieslist0) | **Get** /vulnerabilities/{owner}/{repo}/ | Lists scan results for a specific repository. -*VulnerabilitiesApi* | [**VulnerabilitiesList1**](docs/VulnerabilitiesApi.md#vulnerabilitieslist1) | **Get** /vulnerabilities/{owner}/{repo}/{package}/ | Lists scan results for a specific package. +*VulnerabilitiesApi* | [**VulnerabilitiesNamespaceList**](docs/VulnerabilitiesApi.md#vulnerabilitiesnamespacelist) | **Get** /vulnerabilities/{owner}/ | Lists scan results for a specific namespace. +*VulnerabilitiesApi* | [**VulnerabilitiesPackageList**](docs/VulnerabilitiesApi.md#vulnerabilitiespackagelist) | **Get** /vulnerabilities/{owner}/{repo}/{package}/ | Lists scan results for a specific package. *VulnerabilitiesApi* | [**VulnerabilitiesRead**](docs/VulnerabilitiesApi.md#vulnerabilitiesread) | **Get** /vulnerabilities/{owner}/{repo}/{package}/{scan_id}/ | Returns a Scan Result. +*VulnerabilitiesApi* | [**VulnerabilitiesRepoList**](docs/VulnerabilitiesApi.md#vulnerabilitiesrepolist) | **Get** /vulnerabilities/{owner}/{repo}/ | Lists scan results for a specific repository. *WebhooksApi* | [**WebhooksCreate**](docs/WebhooksApi.md#webhookscreate) | **Post** /webhooks/{owner}/{repo}/ | Create a specific webhook in a repository. *WebhooksApi* | [**WebhooksDelete**](docs/WebhooksApi.md#webhooksdelete) | **Delete** /webhooks/{owner}/{repo}/{identifier}/ | Delete a specific webhook in a repository. *WebhooksApi* | [**WebhooksList**](docs/WebhooksApi.md#webhookslist) | **Get** /webhooks/{owner}/{repo}/ | Get a list of all webhooks in a repository. @@ -221,152 +231,154 @@ Class | Method | HTTP request | Description ## Documentation For Models - - [AlpinePackageUpload](docs/AlpinePackageUpload.md) - - [CargoPackageUpload](docs/CargoPackageUpload.md) - - [CocoapodsPackageUpload](docs/CocoapodsPackageUpload.md) - - [ComposerPackageUpload](docs/ComposerPackageUpload.md) - - [ConanPackageUpload](docs/ConanPackageUpload.md) - - [CondaPackageUpload](docs/CondaPackageUpload.md) - - [CranPackageUpload](docs/CranPackageUpload.md) - - [DartPackageUpload](docs/DartPackageUpload.md) - - [DebPackageUpload](docs/DebPackageUpload.md) + - [AllocatedLimit](docs/AllocatedLimit.md) + - [AlpinePackageUploadRequest](docs/AlpinePackageUploadRequest.md) + - [AlpinePackageUploadResponse](docs/AlpinePackageUploadResponse.md) + - [Architecture](docs/Architecture.md) + - [CargoPackageUploadRequest](docs/CargoPackageUploadRequest.md) + - [CargoPackageUploadResponse](docs/CargoPackageUploadResponse.md) + - [CocoapodsPackageUploadRequest](docs/CocoapodsPackageUploadRequest.md) + - [CocoapodsPackageUploadResponse](docs/CocoapodsPackageUploadResponse.md) + - [CommonBandwidthMetrics](docs/CommonBandwidthMetrics.md) + - [CommonBandwidthMetricsValue](docs/CommonBandwidthMetricsValue.md) + - [CommonDownloadsMetrics](docs/CommonDownloadsMetrics.md) + - [CommonDownloadsMetricsValue](docs/CommonDownloadsMetricsValue.md) + - [CommonMetrics](docs/CommonMetrics.md) + - [ComposerPackageUploadRequest](docs/ComposerPackageUploadRequest.md) + - [ComposerPackageUploadResponse](docs/ComposerPackageUploadResponse.md) + - [ConanPackageUploadRequest](docs/ConanPackageUploadRequest.md) + - [ConanPackageUploadResponse](docs/ConanPackageUploadResponse.md) + - [CondaPackageUploadRequest](docs/CondaPackageUploadRequest.md) + - [CondaPackageUploadResponse](docs/CondaPackageUploadResponse.md) + - [CranPackageUploadRequest](docs/CranPackageUploadRequest.md) + - [CranPackageUploadResponse](docs/CranPackageUploadResponse.md) + - [DartPackageUploadRequest](docs/DartPackageUploadRequest.md) + - [DartPackageUploadResponse](docs/DartPackageUploadResponse.md) + - [DebPackageUploadRequest](docs/DebPackageUploadRequest.md) + - [DebPackageUploadResponse](docs/DebPackageUploadResponse.md) - [Distribution](docs/Distribution.md) - - [DistrosVersions](docs/DistrosVersions.md) - - [DockerPackageUpload](docs/DockerPackageUpload.md) - - [EntitlementUsageMetrics](docs/EntitlementUsageMetrics.md) - - [EntitlementsCreate](docs/EntitlementsCreate.md) - - [EntitlementsPartialUpdate](docs/EntitlementsPartialUpdate.md) - - [EntitlementsRefresh](docs/EntitlementsRefresh.md) - - [EntitlementsSync](docs/EntitlementsSync.md) - - [FilesAbort](docs/FilesAbort.md) - - [FilesComplete](docs/FilesComplete.md) - - [FilesCreate](docs/FilesCreate.md) - - [FilesValidate](docs/FilesValidate.md) - - [Format](docs/Format.md) - - [FormatsDistributions](docs/FormatsDistributions.md) - - [GoPackageUpload](docs/GoPackageUpload.md) - - [HelmPackageUpload](docs/HelmPackageUpload.md) - - [LuarocksPackageUpload](docs/LuarocksPackageUpload.md) - - [MavenPackageUpload](docs/MavenPackageUpload.md) - - [Namespace](docs/Namespace.md) - - [NamespaceAuditLog](docs/NamespaceAuditLog.md) - - [NpmPackageUpload](docs/NpmPackageUpload.md) - - [NugetPackageUpload](docs/NugetPackageUpload.md) - - [Organization](docs/Organization.md) - - [OrganizationGroupSync](docs/OrganizationGroupSync.md) - - [OrganizationInvite](docs/OrganizationInvite.md) - - [OrganizationInviteExtend](docs/OrganizationInviteExtend.md) - - [OrganizationMembership](docs/OrganizationMembership.md) - - [OrganizationTeam](docs/OrganizationTeam.md) + - [DistributionResponse](docs/DistributionResponse.md) + - [DistributionVersion](docs/DistributionVersion.md) + - [DockerPackageUploadRequest](docs/DockerPackageUploadRequest.md) + - [DockerPackageUploadResponse](docs/DockerPackageUploadResponse.md) + - [EntitlementUsageMetricsResponse](docs/EntitlementUsageMetricsResponse.md) + - [ErrorDetail](docs/ErrorDetail.md) + - [Eula](docs/Eula.md) + - [FormatResponse](docs/FormatResponse.md) + - [FormatSupport](docs/FormatSupport.md) + - [GeoIpLocation](docs/GeoIpLocation.md) + - [GoPackageUploadRequest](docs/GoPackageUploadRequest.md) + - [GoPackageUploadResponse](docs/GoPackageUploadResponse.md) + - [HelmPackageUploadRequest](docs/HelmPackageUploadRequest.md) + - [HelmPackageUploadResponse](docs/HelmPackageUploadResponse.md) + - [History](docs/History.md) + - [HistoryFieldset](docs/HistoryFieldset.md) + - [LuarocksPackageUploadRequest](docs/LuarocksPackageUploadRequest.md) + - [LuarocksPackageUploadResponse](docs/LuarocksPackageUploadResponse.md) + - [MavenPackageUploadRequest](docs/MavenPackageUploadRequest.md) + - [MavenPackageUploadResponse](docs/MavenPackageUploadResponse.md) + - [NamespaceAuditLogResponse](docs/NamespaceAuditLogResponse.md) + - [NamespaceResponse](docs/NamespaceResponse.md) + - [NpmPackageUploadRequest](docs/NpmPackageUploadRequest.md) + - [NpmPackageUploadResponse](docs/NpmPackageUploadResponse.md) + - [NugetPackageUploadRequest](docs/NugetPackageUploadRequest.md) + - [NugetPackageUploadResponse](docs/NugetPackageUploadResponse.md) + - [OrganizationGroupSyncRequest](docs/OrganizationGroupSyncRequest.md) + - [OrganizationGroupSyncResponse](docs/OrganizationGroupSyncResponse.md) + - [OrganizationInviteExtendResponse](docs/OrganizationInviteExtendResponse.md) + - [OrganizationInviteRequest](docs/OrganizationInviteRequest.md) + - [OrganizationInviteResponse](docs/OrganizationInviteResponse.md) + - [OrganizationInviteUpdateRequestPatch](docs/OrganizationInviteUpdateRequestPatch.md) + - [OrganizationInviteUpdateResponse](docs/OrganizationInviteUpdateResponse.md) + - [OrganizationMembershipResponse](docs/OrganizationMembershipResponse.md) + - [OrganizationResponse](docs/OrganizationResponse.md) - [OrganizationTeamMembers](docs/OrganizationTeamMembers.md) - - [OrganizationTeamMembersMembers](docs/OrganizationTeamMembersMembers.md) - - [OrgsInvitesCreate](docs/OrgsInvitesCreate.md) - - [OrgsInvitesExtend](docs/OrgsInvitesExtend.md) - - [OrgsSamlGroupSyncCreate](docs/OrgsSamlGroupSyncCreate.md) - - [OrgsTeamsCreate](docs/OrgsTeamsCreate.md) - - [OrgsTeamsPartialUpdate](docs/OrgsTeamsPartialUpdate.md) - - [P2PackageUpload](docs/P2PackageUpload.md) - - [Package](docs/Package.md) - - [PackageCopy](docs/PackageCopy.md) - - [PackageDependencies](docs/PackageDependencies.md) - - [PackageDependenciesDependencies](docs/PackageDependenciesDependencies.md) - - [PackageFilePartsUpload](docs/PackageFilePartsUpload.md) - - [PackageFileUpload](docs/PackageFileUpload.md) - - [PackageMove](docs/PackageMove.md) - - [PackageQuarantine](docs/PackageQuarantine.md) - - [PackageResync](docs/PackageResync.md) - - [PackageStatus](docs/PackageStatus.md) - - [PackageUsageMetrics](docs/PackageUsageMetrics.md) - - [PackagesCopy](docs/PackagesCopy.md) - - [PackagesMove](docs/PackagesMove.md) - - [PackagesOwnerRepoArchitectures](docs/PackagesOwnerRepoArchitectures.md) - - [PackagesOwnerRepoFiles](docs/PackagesOwnerRepoFiles.md) - - [PackagesQuarantine](docs/PackagesQuarantine.md) - - [PackagesTag](docs/PackagesTag.md) - - [PackagesUploadAlpine](docs/PackagesUploadAlpine.md) - - [PackagesUploadCargo](docs/PackagesUploadCargo.md) - - [PackagesUploadCocoapods](docs/PackagesUploadCocoapods.md) - - [PackagesUploadComposer](docs/PackagesUploadComposer.md) - - [PackagesUploadConan](docs/PackagesUploadConan.md) - - [PackagesUploadConda](docs/PackagesUploadConda.md) - - [PackagesUploadCran](docs/PackagesUploadCran.md) - - [PackagesUploadDart](docs/PackagesUploadDart.md) - - [PackagesUploadDeb](docs/PackagesUploadDeb.md) - - [PackagesUploadDocker](docs/PackagesUploadDocker.md) - - [PackagesUploadGo](docs/PackagesUploadGo.md) - - [PackagesUploadHelm](docs/PackagesUploadHelm.md) - - [PackagesUploadLuarocks](docs/PackagesUploadLuarocks.md) - - [PackagesUploadMaven](docs/PackagesUploadMaven.md) - - [PackagesUploadNpm](docs/PackagesUploadNpm.md) - - [PackagesUploadNuget](docs/PackagesUploadNuget.md) - - [PackagesUploadP2](docs/PackagesUploadP2.md) - - [PackagesUploadPython](docs/PackagesUploadPython.md) - - [PackagesUploadRaw](docs/PackagesUploadRaw.md) - - [PackagesUploadRpm](docs/PackagesUploadRpm.md) - - [PackagesUploadRuby](docs/PackagesUploadRuby.md) - - [PackagesUploadTerraform](docs/PackagesUploadTerraform.md) - - [PackagesUploadVagrant](docs/PackagesUploadVagrant.md) - - [PackagesValidateUploadAlpine](docs/PackagesValidateUploadAlpine.md) - - [PackagesValidateUploadCargo](docs/PackagesValidateUploadCargo.md) - - [PackagesValidateUploadCocoapods](docs/PackagesValidateUploadCocoapods.md) - - [PackagesValidateUploadComposer](docs/PackagesValidateUploadComposer.md) - - [PackagesValidateUploadConan](docs/PackagesValidateUploadConan.md) - - [PackagesValidateUploadConda](docs/PackagesValidateUploadConda.md) - - [PackagesValidateUploadCran](docs/PackagesValidateUploadCran.md) - - [PackagesValidateUploadDart](docs/PackagesValidateUploadDart.md) - - [PackagesValidateUploadDeb](docs/PackagesValidateUploadDeb.md) - - [PackagesValidateUploadDocker](docs/PackagesValidateUploadDocker.md) - - [PackagesValidateUploadGo](docs/PackagesValidateUploadGo.md) - - [PackagesValidateUploadHelm](docs/PackagesValidateUploadHelm.md) - - [PackagesValidateUploadLuarocks](docs/PackagesValidateUploadLuarocks.md) - - [PackagesValidateUploadMaven](docs/PackagesValidateUploadMaven.md) - - [PackagesValidateUploadNpm](docs/PackagesValidateUploadNpm.md) - - [PackagesValidateUploadNuget](docs/PackagesValidateUploadNuget.md) - - [PackagesValidateUploadP2](docs/PackagesValidateUploadP2.md) - - [PackagesValidateUploadPython](docs/PackagesValidateUploadPython.md) - - [PackagesValidateUploadRaw](docs/PackagesValidateUploadRaw.md) - - [PackagesValidateUploadRpm](docs/PackagesValidateUploadRpm.md) - - [PackagesValidateUploadRuby](docs/PackagesValidateUploadRuby.md) - - [PackagesValidateUploadTerraform](docs/PackagesValidateUploadTerraform.md) - - [PackagesValidateUploadVagrant](docs/PackagesValidateUploadVagrant.md) - - [PythonPackageUpload](docs/PythonPackageUpload.md) - - [Quota](docs/Quota.md) - - [QuotaHistory](docs/QuotaHistory.md) - - [QuotaHistoryHistory](docs/QuotaHistoryHistory.md) - - [RawPackageUpload](docs/RawPackageUpload.md) - - [ReposCreate](docs/ReposCreate.md) - - [ReposGpgCreate](docs/ReposGpgCreate.md) - - [ReposGpgKeys](docs/ReposGpgKeys.md) - - [ReposPartialUpdate](docs/ReposPartialUpdate.md) - - [ReposRsaCreate](docs/ReposRsaCreate.md) - - [Repository](docs/Repository.md) - - [RepositoryAuditLog](docs/RepositoryAuditLog.md) - - [RepositoryCreate](docs/RepositoryCreate.md) + - [OrganizationTeamMembersResponse](docs/OrganizationTeamMembersResponse.md) + - [OrganizationTeamMembership](docs/OrganizationTeamMembership.md) + - [OrganizationTeamRequest](docs/OrganizationTeamRequest.md) + - [OrganizationTeamRequestPatch](docs/OrganizationTeamRequestPatch.md) + - [OrganizationTeamResponse](docs/OrganizationTeamResponse.md) + - [P2PackageUploadRequest](docs/P2PackageUploadRequest.md) + - [P2PackageUploadResponse](docs/P2PackageUploadResponse.md) + - [PackageCopyRequest](docs/PackageCopyRequest.md) + - [PackageCopyResponse](docs/PackageCopyResponse.md) + - [PackageDependenciesResponse](docs/PackageDependenciesResponse.md) + - [PackageDependency](docs/PackageDependency.md) + - [PackageFile](docs/PackageFile.md) + - [PackageFilePartsUploadResponse](docs/PackageFilePartsUploadResponse.md) + - [PackageFileUploadRequest](docs/PackageFileUploadRequest.md) + - [PackageFileUploadResponse](docs/PackageFileUploadResponse.md) + - [PackageMoveRequest](docs/PackageMoveRequest.md) + - [PackageMoveResponse](docs/PackageMoveResponse.md) + - [PackageQuarantineRequest](docs/PackageQuarantineRequest.md) + - [PackageQuarantineResponse](docs/PackageQuarantineResponse.md) + - [PackageResponse](docs/PackageResponse.md) + - [PackageResyncResponse](docs/PackageResyncResponse.md) + - [PackageStatusResponse](docs/PackageStatusResponse.md) + - [PackageTagRequest](docs/PackageTagRequest.md) + - [PackageTagResponse](docs/PackageTagResponse.md) + - [PackageUsageMetricsResponse](docs/PackageUsageMetricsResponse.md) + - [PackageVulnerability](docs/PackageVulnerability.md) + - [PythonPackageUploadRequest](docs/PythonPackageUploadRequest.md) + - [PythonPackageUploadResponse](docs/PythonPackageUploadResponse.md) + - [QuotaHistoryResponse](docs/QuotaHistoryResponse.md) + - [QuotaResponse](docs/QuotaResponse.md) + - [RateCheck](docs/RateCheck.md) + - [RawPackageUploadRequest](docs/RawPackageUploadRequest.md) + - [RawPackageUploadResponse](docs/RawPackageUploadResponse.md) + - [RepositoryAuditLogResponse](docs/RepositoryAuditLogResponse.md) + - [RepositoryCreateRequest](docs/RepositoryCreateRequest.md) + - [RepositoryCreateResponse](docs/RepositoryCreateResponse.md) - [RepositoryGpgKey](docs/RepositoryGpgKey.md) - - [RepositoryPrivilegeList](docs/RepositoryPrivilegeList.md) - - [RepositoryRsaKey](docs/RepositoryRsaKey.md) + - [RepositoryGpgKeyCreate](docs/RepositoryGpgKeyCreate.md) + - [RepositoryGpgKeyResponse](docs/RepositoryGpgKeyResponse.md) + - [RepositoryPrivilegeDict](docs/RepositoryPrivilegeDict.md) + - [RepositoryPrivilegeInputRequest](docs/RepositoryPrivilegeInputRequest.md) + - [RepositoryPrivilegeInputRequestPatch](docs/RepositoryPrivilegeInputRequestPatch.md) + - [RepositoryPrivilegeInputResponse](docs/RepositoryPrivilegeInputResponse.md) + - [RepositoryRequestPatch](docs/RepositoryRequestPatch.md) + - [RepositoryResponse](docs/RepositoryResponse.md) + - [RepositoryRsaKeyCreate](docs/RepositoryRsaKeyCreate.md) + - [RepositoryRsaKeyResponse](docs/RepositoryRsaKeyResponse.md) - [RepositoryToken](docs/RepositoryToken.md) - - [RepositoryTokenRefresh](docs/RepositoryTokenRefresh.md) - - [RepositoryTokenSync](docs/RepositoryTokenSync.md) - - [RepositoryTokenSyncTokens](docs/RepositoryTokenSyncTokens.md) - - [RepositoryWebhook](docs/RepositoryWebhook.md) - - [ResourcesRateCheck](docs/ResourcesRateCheck.md) - - [RpmPackageUpload](docs/RpmPackageUpload.md) - - [RubyPackageUpload](docs/RubyPackageUpload.md) - - [Status](docs/Status.md) - - [StatusBasic](docs/StatusBasic.md) - - [StorageRegion](docs/StorageRegion.md) - - [TerraformPackageUpload](docs/TerraformPackageUpload.md) - - [UserAuthToken](docs/UserAuthToken.md) - - [UserBrief](docs/UserBrief.md) - - [UserProfile](docs/UserProfile.md) - - [UserTokenCreate](docs/UserTokenCreate.md) - - [VagrantPackageUpload](docs/VagrantPackageUpload.md) - - [VulnerabilityScanResults](docs/VulnerabilityScanResults.md) - - [VulnerabilityScanResultsList](docs/VulnerabilityScanResultsList.md) - - [WebhooksCreate](docs/WebhooksCreate.md) - - [WebhooksOwnerRepoTemplates](docs/WebhooksOwnerRepoTemplates.md) - - [WebhooksPartialUpdate](docs/WebhooksPartialUpdate.md) + - [RepositoryTokenRefreshRequest](docs/RepositoryTokenRefreshRequest.md) + - [RepositoryTokenRefreshResponse](docs/RepositoryTokenRefreshResponse.md) + - [RepositoryTokenRequest](docs/RepositoryTokenRequest.md) + - [RepositoryTokenRequestPatch](docs/RepositoryTokenRequestPatch.md) + - [RepositoryTokenResponse](docs/RepositoryTokenResponse.md) + - [RepositoryTokenSyncRequest](docs/RepositoryTokenSyncRequest.md) + - [RepositoryTokenSyncResponse](docs/RepositoryTokenSyncResponse.md) + - [RepositoryWebhookRequest](docs/RepositoryWebhookRequest.md) + - [RepositoryWebhookRequestPatch](docs/RepositoryWebhookRequestPatch.md) + - [RepositoryWebhookResponse](docs/RepositoryWebhookResponse.md) + - [ResourcesRateCheckResponse](docs/ResourcesRateCheckResponse.md) + - [RpmPackageUploadRequest](docs/RpmPackageUploadRequest.md) + - [RpmPackageUploadResponse](docs/RpmPackageUploadResponse.md) + - [RubyPackageUploadRequest](docs/RubyPackageUploadRequest.md) + - [RubyPackageUploadResponse](docs/RubyPackageUploadResponse.md) + - [ServiceRequest](docs/ServiceRequest.md) + - [ServiceRequestPatch](docs/ServiceRequestPatch.md) + - [ServiceResponse](docs/ServiceResponse.md) + - [ServiceTeams](docs/ServiceTeams.md) + - [StatusBasicResponse](docs/StatusBasicResponse.md) + - [StorageRegionResponse](docs/StorageRegionResponse.md) + - [TerraformPackageUploadRequest](docs/TerraformPackageUploadRequest.md) + - [TerraformPackageUploadResponse](docs/TerraformPackageUploadResponse.md) + - [Usage](docs/Usage.md) + - [UsageFieldset](docs/UsageFieldset.md) + - [UsageLimits](docs/UsageLimits.md) + - [UserAuthTokenRequest](docs/UserAuthTokenRequest.md) + - [UserAuthTokenResponse](docs/UserAuthTokenResponse.md) + - [UserBriefResponse](docs/UserBriefResponse.md) + - [UserProfileResponse](docs/UserProfileResponse.md) + - [VagrantPackageUploadRequest](docs/VagrantPackageUploadRequest.md) + - [VagrantPackageUploadResponse](docs/VagrantPackageUploadResponse.md) + - [Vulnerability](docs/Vulnerability.md) + - [VulnerabilityScan](docs/VulnerabilityScan.md) + - [VulnerabilityScanResultsListResponse](docs/VulnerabilityScanResultsListResponse.md) + - [VulnerabilityScanResultsResponse](docs/VulnerabilityScanResultsResponse.md) + - [VulnerabilityScanVersion](docs/VulnerabilityScanVersion.md) + - [WebhookTemplate](docs/WebhookTemplate.md) ## Documentation For Authorization diff --git a/api/openapi.yaml b/api/openapi.yaml index 63d36fa9..df7fff57 100644 --- a/api/openapi.yaml +++ b/api/openapi.yaml @@ -8,19 +8,19 @@ info: license: name: MIT url: https://opensource.org/licenses/MIT - termsOfService: https://help.cloudsmith.io/docs/terms-and-conditions - title: Cloudsmith API - version: 1.121.3 -externalDocs: - description: Find out more info at the Cloudsmith Help Website - url: https://help.cloudsmith.io + termsOfService: https://help.cloudsmith.io + title: Cloudsmith API (v1) + version: 1.181.6 servers: - url: https://api.cloudsmith.io/v1 +security: +- apikey: [] +- basic: [] paths: /audit-log/{owner}/: get: description: Lists audit log entries for a specific namespace. - operationId: audit-log_list + operationId: audit_log_namespace_list parameters: - in: path name: owner @@ -37,8 +37,8 @@ paths: name: page_size schema: type: integer - - description: A search term for querying events, actors, or timestamps of log - records. + - description: "A search term for querying events, actors, or timestamps of\ + \ log records." in: query name: query schema: @@ -46,36 +46,39 @@ paths: responses: "200": content: - '*/*': + application/json: schema: items: - $ref: '#/components/schemas/NamespaceAuditLog' - title: NamespaceAuditLogList + $ref: '#/components/schemas/NamespaceAuditLogResponse' type: array description: Retrieved the list of audit log entries + "402": + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorDetail' + description: Audit logs are not active; upgrade your account! "400": content: - '*/*': + application/json: schema: - $ref: '#/components/schemas/Status' - description: Request could not be processed (see detail) + $ref: '#/components/schemas/ErrorDetail' + description: Request could not be processed (see detail). "422": content: - '*/*': + application/json: schema: - $ref: '#/components/schemas/Status' - description: Missing or invalid parameters (see detail) + $ref: '#/components/schemas/ErrorDetail' + description: Missing or invalid parameters (see detail). security: - - token: [] - apikey: [] - - csrf_token: [] summary: Lists audit log entries for a specific namespace. tags: - audit-log /audit-log/{owner}/{repo}/: get: description: Lists audit log entries for a specific repository. - operationId: audit-log_list_0 + operationId: audit_log_repo_list parameters: - in: path name: owner @@ -97,8 +100,8 @@ paths: name: page_size schema: type: integer - - description: A search term for querying events, actors, or timestamps of log - records. + - description: "A search term for querying events, actors, or timestamps of\ + \ log records." in: query name: query schema: @@ -106,29 +109,32 @@ paths: responses: "200": content: - '*/*': + application/json: schema: items: - $ref: '#/components/schemas/RepositoryAuditLog' - title: RepositoryAuditLogList + $ref: '#/components/schemas/RepositoryAuditLogResponse' type: array description: Retrieved the list of audit log entries + "402": + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorDetail' + description: Audit logs are not active; upgrade your account! "400": content: - '*/*': + application/json: schema: - $ref: '#/components/schemas/Status' - description: Request could not be processed (see detail) + $ref: '#/components/schemas/ErrorDetail' + description: Request could not be processed (see detail). "422": content: - '*/*': + application/json: schema: - $ref: '#/components/schemas/Status' - description: Missing or invalid parameters (see detail) + $ref: '#/components/schemas/ErrorDetail' + description: Missing or invalid parameters (see detail). security: - - token: [] - apikey: [] - - csrf_token: [] summary: Lists audit log entries for a specific repository. tags: - audit-log @@ -176,75 +182,83 @@ paths: in: query name: cacheSeconds schema: + default: "300" type: string - description: Override the shields.io badge color value. in: query name: color schema: + default: 12577E type: string - description: Override the shields.io badge label value. in: query name: label schema: + default: cloudsmith type: string - description: Override the shields.io badge labelColor value. in: query name: labelColor schema: + default: 021F2F type: string - description: Override the shields.io badge logoColor value. in: query name: logoColor schema: + default: 45B6EE type: string - description: Override the shields.io badge logoWidth value. in: query name: logoWidth schema: + default: "10" type: string - - description: If true, badge will be rendered + - description: "If true, badge will be rendered" in: query name: render schema: + default: false type: boolean - - description: If true, a shields response will be generated + - description: "If true, a shields response will be generated" in: query name: shields schema: + default: false type: boolean - - description: If true, for latest version badges a '(latest)' suffix is added + - description: "If true, for latest version badges a '(latest)' suffix is added" in: query name: show_latest schema: + default: false type: boolean - description: Override the shields.io badge style value. in: query name: style schema: + default: flat-square type: string responses: "200": content: - '*/*': + application/json: schema: - type: object + $ref: '#/components/schemas/PackageVersionBadgeResponse' description: OK "400": content: - '*/*': + application/json: schema: - $ref: '#/components/schemas/Status' - description: Request could not be processed (see detail) + $ref: '#/components/schemas/ErrorDetail' + description: Request could not be processed (see detail). "422": content: - '*/*': + application/json: schema: - $ref: '#/components/schemas/Status' - description: Missing or invalid parameters (see detail) + $ref: '#/components/schemas/ErrorDetail' + description: Missing or invalid parameters (see detail). security: - - token: [] - apikey: [] - - csrf_token: [] summary: Get latest package version for a package or package group. tags: - badges @@ -255,29 +269,26 @@ paths: responses: "200": content: - '*/*': + application/json: schema: items: - $ref: '#/components/schemas/Distribution' - title: DistributionList + $ref: '#/components/schemas/DistributionResponse' type: array description: Available package formats retrieved "400": content: - '*/*': + application/json: schema: - $ref: '#/components/schemas/Status' - description: Request could not be processed (see detail) + $ref: '#/components/schemas/ErrorDetail' + description: Request could not be processed (see detail). "422": content: - '*/*': + application/json: schema: - $ref: '#/components/schemas/Status' - description: Missing or invalid parameters (see detail) + $ref: '#/components/schemas/ErrorDetail' + description: Missing or invalid parameters (see detail). security: - - token: [] - apikey: [] - - csrf_token: [] summary: Get a list of all supported distributions. tags: - distros @@ -294,26 +305,24 @@ paths: responses: "200": content: - '*/*': + application/json: schema: - $ref: '#/components/schemas/Distribution' + $ref: '#/components/schemas/DistributionResponse' description: OK "400": content: - '*/*': + application/json: schema: - $ref: '#/components/schemas/Status' - description: Request could not be processed (see detail) + $ref: '#/components/schemas/ErrorDetail' + description: Request could not be processed (see detail). "422": content: - '*/*': + application/json: schema: - $ref: '#/components/schemas/Status' - description: Missing or invalid parameters (see detail) + $ref: '#/components/schemas/ErrorDetail' + description: Missing or invalid parameters (see detail). security: - - token: [] - apikey: [] - - csrf_token: [] summary: View for viewing/listing distributions. tags: - distros @@ -346,39 +355,48 @@ paths: in: query name: show_tokens schema: + default: false + type: boolean + - description: A search term for querying names of entitlements. + in: query + name: query + schema: + type: string + - description: "If true, only include active tokens" + in: query + name: active + schema: + default: false type: boolean responses: "200": content: - '*/*': + application/json: schema: items: - $ref: '#/components/schemas/RepositoryToken' - title: RepositoryTokenList + $ref: '#/components/schemas/RepositoryTokenResponse' type: array description: Retrieved the list of entitlement tokens - "400": - content: - '*/*': - schema: - $ref: '#/components/schemas/Status' - description: Request could not be processed (see detail) "404": content: - '*/*': + application/json: schema: - $ref: '#/components/schemas/Status' + $ref: '#/components/schemas/ErrorDetail' description: Owner namespace or repository not found + "400": + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorDetail' + description: Request could not be processed (see detail). "422": content: - '*/*': + application/json: schema: - $ref: '#/components/schemas/Status' - description: Missing or invalid parameters (see detail) + $ref: '#/components/schemas/ErrorDetail' + description: Missing or invalid parameters (see detail). security: - - token: [] - apikey: [] - - csrf_token: [] summary: Get a list of all entitlements in a repository. tags: - entitlements @@ -400,152 +418,41 @@ paths: in: query name: show_tokens schema: + default: false type: boolean requestBody: - $ref: '#/components/requestBodies/EntitlementsCreate' content: application/json: schema: - example: - limit_date_range_to: limit_date_range_to - metadata: '{}' - is_active: true - limit_bandwidth_unit: Byte - scheduled_reset_at: scheduled_reset_at - limit_bandwidth: 0 - limit_num_clients: 6 - limit_package_query: limit_package_query - limit_path_query: limit_path_query - token: token - name: name - limit_date_range_from: limit_date_range_from - limit_num_downloads: 1 - eula_required: true - scheduled_reset_period: Never Reset - properties: - eula_required: - description: If checked, a EULA acceptance is required for this - token. - type: boolean - is_active: - description: If enabled, the token will allow downloads based on - configured restrictions (if any). - type: boolean - limit_bandwidth: - description: 'The maximum download bandwidth allowed for the token. - Values are expressed as the selected unit of bandwidth. Please - note that since downloads are calculated asynchronously (after - the download happens), the limit may not be imposed immediately - but at a later point. ' - type: integer - limit_bandwidth_unit: - description: None - enum: - - Byte - - Kilobyte - - Megabyte - - Gigabyte - - Terabyte - - Petabyte - - Exabyte - - Zettabyte - - Yottabyte - type: string - limit_date_range_from: - description: The starting date/time the token is allowed to be used - from. - type: string - limit_date_range_to: - description: The ending date/time the token is allowed to be used - until. - type: string - limit_num_clients: - description: The maximum number of unique clients allowed for the - token. Please note that since clients are calculated asynchronously - (after the download happens), the limit may not be imposed immediately - but at a later point. - type: integer - limit_num_downloads: - description: The maximum number of downloads allowed for the token. - Please note that since downloads are calculated asynchronously - (after the download happens), the limit may not be imposed immediately - but at a later point. - type: integer - limit_package_query: - description: The package-based search query to apply to restrict - downloads to. This uses the same syntax as the standard search - used for repositories, and also supports boolean logic operators - such as OR/AND/NOT and parentheses for grouping. This will still - allow access to non-package files, such as metadata. - type: string - limit_path_query: - description: The path-based search query to apply to restrict downloads - to. This supports boolean logic operators such as OR/AND/NOT and - parentheses for grouping. The path evaluated does not include - the domain name, the namespace, the entitlement code used, the - package format, etc. and it always starts with a forward slash. - type: string - metadata: - description: None - properties: {} - type: object - name: - description: None - type: string - scheduled_reset_at: - description: The time at which the scheduled reset period has elapsed - and the token limits were automatically reset to zero. - type: string - scheduled_reset_period: - description: None - enum: - - Never Reset - - Daily - - Weekly - - Fortnightly - - Monthly - - Bi-Monthly - - Quarterly - - Every 6 months - - Annual - type: string - token: - description: None - type: string - required: - - name - title: EntitlementsCreate - type: object + $ref: '#/components/schemas/RepositoryTokenRequest' required: false responses: - "200": + "201": content: - '*/*': + application/json: schema: - $ref: '#/components/schemas/RepositoryToken' + $ref: '#/components/schemas/RepositoryTokenResponse' description: Created the specified entitlement - "400": - content: - '*/*': - schema: - $ref: '#/components/schemas/Status' - description: Request could not be processed (see detail) "404": content: - '*/*': + application/json: schema: - $ref: '#/components/schemas/Status' + $ref: '#/components/schemas/ErrorDetail' description: Owner namespace or repository not found + "400": + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorDetail' + description: Request could not be processed (see detail). "422": content: - '*/*': + application/json: schema: - $ref: '#/components/schemas/Status' - description: Missing or invalid parameters (see detail) + $ref: '#/components/schemas/ErrorDetail' + description: Missing or invalid parameters (see detail). security: - - token: [] - apikey: [] - - csrf_token: [] summary: Create a specific entitlement in a repository. tags: - entitlements @@ -569,52 +476,41 @@ paths: in: query name: show_tokens schema: + default: false type: boolean requestBody: - $ref: '#/components/requestBodies/EntitlementsSync' content: application/json: schema: - example: - source: source - properties: - source: - description: The source repository slug (in the same owner namespace). - type: string - required: - - source - title: EntitlementsSync - type: object + $ref: '#/components/schemas/RepositoryTokenSyncRequest' required: false responses: "200": content: - '*/*': - schema: - $ref: '#/components/schemas/RepositoryTokenSync' - description: The tokens have been synchronised from the source repository - "400": - content: - '*/*': + application/json: schema: - $ref: '#/components/schemas/Status' - description: Request could not be processed (see detail) + $ref: '#/components/schemas/RepositoryTokenSyncResponse' + description: The tokens have been synchronised from the source repository. "404": content: - '*/*': + application/json: schema: - $ref: '#/components/schemas/Status' + $ref: '#/components/schemas/ErrorDetail' description: Owner namespace or repository not found + "400": + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorDetail' + description: Request could not be processed (see detail). "422": content: - '*/*': + application/json: schema: - $ref: '#/components/schemas/Status' - description: Missing or invalid parameters (see detail) + $ref: '#/components/schemas/ErrorDetail' + description: Missing or invalid parameters (see detail). security: - - token: [] - apikey: [] - - csrf_token: [] summary: Synchronise tokens from a source repository. tags: - entitlements @@ -642,23 +538,21 @@ paths: responses: "204": content: {} - description: Soft-deleted the specified entitlement token successfully + description: Soft-deleted the specified entitlement token successfully. "400": content: - '*/*': + application/json: schema: - $ref: '#/components/schemas/Status' - description: The entitlement cannot be deleted + $ref: '#/components/schemas/ErrorDetail' + description: The entitlement cannot be deleted. "422": content: - '*/*': + application/json: schema: - $ref: '#/components/schemas/Status' - description: Missing or invalid parameters (see detail) + $ref: '#/components/schemas/ErrorDetail' + description: Missing or invalid parameters (see detail). security: - - token: [] - apikey: [] - - csrf_token: [] summary: Delete a specific entitlement in a repository. tags: - entitlements @@ -681,40 +575,47 @@ paths: required: true schema: type: string + - description: "If true, entitlement identifiers including name will be fuzzy\ + \ matched." + in: query + name: fuzzy + schema: + default: false + type: boolean - description: Show entitlement token strings in results in: query name: show_tokens schema: + default: false type: boolean responses: "200": content: - '*/*': + application/json: schema: - $ref: '#/components/schemas/RepositoryToken' + $ref: '#/components/schemas/RepositoryTokenResponse' description: Retrieved the specified entitlement "400": content: - '*/*': + application/json: schema: - $ref: '#/components/schemas/Status' - description: Request could not be processed (see detail) + $ref: '#/components/schemas/ErrorDetail' + description: Couldn't retrieve the specified token because the request contains + an error. "404": content: - '*/*': + application/json: schema: - $ref: '#/components/schemas/Status' + $ref: '#/components/schemas/ErrorDetail' description: Owner namespace or repository not found "422": content: - '*/*': + application/json: schema: - $ref: '#/components/schemas/Status' - description: Missing or invalid parameters (see detail) + $ref: '#/components/schemas/ErrorDetail' + description: Missing or invalid parameters (see detail). security: - - token: [] - apikey: [] - - csrf_token: [] summary: Get a specific entitlement in a repository. tags: - entitlements @@ -741,150 +642,41 @@ paths: in: query name: show_tokens schema: + default: false type: boolean requestBody: - $ref: '#/components/requestBodies/EntitlementsPartialUpdate' content: application/json: schema: - example: - limit_date_range_to: limit_date_range_to - metadata: '{}' - is_active: true - limit_bandwidth_unit: Byte - scheduled_reset_at: scheduled_reset_at - limit_bandwidth: 0 - limit_num_clients: 6 - limit_package_query: limit_package_query - limit_path_query: limit_path_query - token: token - name: name - limit_date_range_from: limit_date_range_from - limit_num_downloads: 1 - eula_required: true - scheduled_reset_period: Never Reset - properties: - eula_required: - description: If checked, a EULA acceptance is required for this - token. - type: boolean - is_active: - description: If enabled, the token will allow downloads based on - configured restrictions (if any). - type: boolean - limit_bandwidth: - description: 'The maximum download bandwidth allowed for the token. - Values are expressed as the selected unit of bandwidth. Please - note that since downloads are calculated asynchronously (after - the download happens), the limit may not be imposed immediately - but at a later point. ' - type: integer - limit_bandwidth_unit: - description: None - enum: - - Byte - - Kilobyte - - Megabyte - - Gigabyte - - Terabyte - - Petabyte - - Exabyte - - Zettabyte - - Yottabyte - type: string - limit_date_range_from: - description: The starting date/time the token is allowed to be used - from. - type: string - limit_date_range_to: - description: The ending date/time the token is allowed to be used - until. - type: string - limit_num_clients: - description: The maximum number of unique clients allowed for the - token. Please note that since clients are calculated asynchronously - (after the download happens), the limit may not be imposed immediately - but at a later point. - type: integer - limit_num_downloads: - description: The maximum number of downloads allowed for the token. - Please note that since downloads are calculated asynchronously - (after the download happens), the limit may not be imposed immediately - but at a later point. - type: integer - limit_package_query: - description: The package-based search query to apply to restrict - downloads to. This uses the same syntax as the standard search - used for repositories, and also supports boolean logic operators - such as OR/AND/NOT and parentheses for grouping. This will still - allow access to non-package files, such as metadata. - type: string - limit_path_query: - description: The path-based search query to apply to restrict downloads - to. This supports boolean logic operators such as OR/AND/NOT and - parentheses for grouping. The path evaluated does not include - the domain name, the namespace, the entitlement code used, the - package format, etc. and it always starts with a forward slash. - type: string - metadata: - description: None - properties: {} - type: object - name: - description: None - type: string - scheduled_reset_at: - description: The time at which the scheduled reset period has elapsed - and the token limits were automatically reset to zero. - type: string - scheduled_reset_period: - description: None - enum: - - Never Reset - - Daily - - Weekly - - Fortnightly - - Monthly - - Bi-Monthly - - Quarterly - - Every 6 months - - Annual - type: string - token: - description: None - type: string - title: EntitlementsPartialUpdate - type: object + $ref: '#/components/schemas/RepositoryTokenRequestPatch' required: false responses: "200": content: - '*/*': + application/json: schema: - $ref: '#/components/schemas/RepositoryToken' + $ref: '#/components/schemas/RepositoryTokenResponse' description: Updated the specified entitlement "400": content: - '*/*': + application/json: schema: - $ref: '#/components/schemas/Status' - description: The entitlement cannot be edited + $ref: '#/components/schemas/ErrorDetail' + description: The entitlement cannot be edited. "404": content: - '*/*': + application/json: schema: - $ref: '#/components/schemas/Status' + $ref: '#/components/schemas/ErrorDetail' description: Owner namespace or repository not found "422": content: - '*/*': + application/json: schema: - $ref: '#/components/schemas/Status' - description: Missing or invalid parameters (see detail) + $ref: '#/components/schemas/ErrorDetail' + description: Missing or invalid parameters (see detail). security: - - token: [] - apikey: [] - - csrf_token: [] summary: Update a specific entitlement in a repository. tags: - entitlements @@ -912,23 +704,21 @@ paths: responses: "204": content: {} - description: The entitlement token has been disabled + description: The entitlement token has been disabled. "400": content: - '*/*': + application/json: schema: - $ref: '#/components/schemas/Status' - description: Request could not be processed (see detail) + $ref: '#/components/schemas/ErrorDetail' + description: Request could not be processed (see detail). "422": content: - '*/*': + application/json: schema: - $ref: '#/components/schemas/Status' - description: Missing or invalid parameters (see detail) + $ref: '#/components/schemas/ErrorDetail' + description: Missing or invalid parameters (see detail). security: - - token: [] - apikey: [] - - csrf_token: [] summary: Disable an entitlement token in a repository. tags: - entitlements @@ -955,23 +745,21 @@ paths: responses: "204": content: {} - description: The entitlement token has been enabled + description: The entitlement token has been enabled. "400": content: - '*/*': + application/json: schema: - $ref: '#/components/schemas/Status' - description: Request could not be processed (see detail) + $ref: '#/components/schemas/ErrorDetail' + description: Request could not be processed (see detail). "422": content: - '*/*': + application/json: schema: - $ref: '#/components/schemas/Status' - description: Missing or invalid parameters (see detail) + $ref: '#/components/schemas/ErrorDetail' + description: Missing or invalid parameters (see detail). security: - - token: [] - apikey: [] - - csrf_token: [] summary: Enable an entitlement token in a repository. tags: - entitlements @@ -999,140 +787,35 @@ paths: in: query name: show_tokens schema: + default: false type: boolean requestBody: - $ref: '#/components/requestBodies/EntitlementsRefresh' content: application/json: schema: - example: - limit_date_range_to: limit_date_range_to - metadata: '{}' - is_active: true - limit_bandwidth_unit: Byte - scheduled_reset_at: scheduled_reset_at - limit_bandwidth: 0 - limit_num_clients: 6 - limit_package_query: limit_package_query - limit_path_query: limit_path_query - token: token - limit_date_range_from: limit_date_range_from - limit_num_downloads: 1 - eula_required: true - scheduled_reset_period: Never Reset - properties: - eula_required: - description: If checked, a EULA acceptance is required for this - token. - type: boolean - is_active: - description: If enabled, the token will allow downloads based on - configured restrictions (if any). - type: boolean - limit_bandwidth: - description: 'The maximum download bandwidth allowed for the token. - Values are expressed as the selected unit of bandwidth. Please - note that since downloads are calculated asynchronously (after - the download happens), the limit may not be imposed immediately - but at a later point. ' - type: integer - limit_bandwidth_unit: - description: None - enum: - - Byte - - Kilobyte - - Megabyte - - Gigabyte - - Terabyte - - Petabyte - - Exabyte - - Zettabyte - - Yottabyte - type: string - limit_date_range_from: - description: The starting date/time the token is allowed to be used - from. - type: string - limit_date_range_to: - description: The ending date/time the token is allowed to be used - until. - type: string - limit_num_clients: - description: The maximum number of unique clients allowed for the - token. Please note that since clients are calculated asynchronously - (after the download happens), the limit may not be imposed immediately - but at a later point. - type: integer - limit_num_downloads: - description: The maximum number of downloads allowed for the token. - Please note that since downloads are calculated asynchronously - (after the download happens), the limit may not be imposed immediately - but at a later point. - type: integer - limit_package_query: - description: The package-based search query to apply to restrict - downloads to. This uses the same syntax as the standard search - used for repositories, and also supports boolean logic operators - such as OR/AND/NOT and parentheses for grouping. This will still - allow access to non-package files, such as metadata. - type: string - limit_path_query: - description: The path-based search query to apply to restrict downloads - to. This supports boolean logic operators such as OR/AND/NOT and - parentheses for grouping. The path evaluated does not include - the domain name, the namespace, the entitlement code used, the - package format, etc. and it always starts with a forward slash. - type: string - metadata: - description: None - properties: {} - type: object - scheduled_reset_at: - description: The time at which the scheduled reset period has elapsed - and the token limits were automatically reset to zero. - type: string - scheduled_reset_period: - description: None - enum: - - Never Reset - - Daily - - Weekly - - Fortnightly - - Monthly - - Bi-Monthly - - Quarterly - - Every 6 months - - Annual - type: string - token: - description: None - type: string - title: EntitlementsRefresh - type: object + $ref: '#/components/schemas/RepositoryTokenRefreshRequest' required: false responses: "200": content: - '*/*': + application/json: schema: - $ref: '#/components/schemas/RepositoryTokenRefresh' - description: The entitlement token has been refreshed + $ref: '#/components/schemas/RepositoryTokenRefreshResponse' + description: The entitlement token has been refreshed. "400": content: - '*/*': + application/json: schema: - $ref: '#/components/schemas/Status' - description: Request could not be processed (see detail) + $ref: '#/components/schemas/ErrorDetail' + description: Request could not be processed (see detail). "422": content: - '*/*': + application/json: schema: - $ref: '#/components/schemas/Status' - description: Missing or invalid parameters (see detail) + $ref: '#/components/schemas/ErrorDetail' + description: Missing or invalid parameters (see detail). security: - - token: [] - apikey: [] - - csrf_token: [] summary: Refresh an entitlement token in a repository. tags: - entitlements @@ -1161,27 +844,26 @@ paths: in: query name: show_tokens schema: + default: false type: boolean responses: "204": content: {} - description: The entitlement token statistics have been reset + description: The entitlement token statistics have been reset. "400": content: - '*/*': + application/json: schema: - $ref: '#/components/schemas/Status' - description: Request could not be processed (see detail) + $ref: '#/components/schemas/ErrorDetail' + description: Request could not be processed (see detail). "422": content: - '*/*': + application/json: schema: - $ref: '#/components/schemas/Status' - description: Missing or invalid parameters (see detail) + $ref: '#/components/schemas/ErrorDetail' + description: Missing or invalid parameters (see detail). security: - - token: [] - apikey: [] - - csrf_token: [] summary: Reset the statistics for an entitlement token in a repository. tags: - entitlements @@ -1201,68 +883,38 @@ paths: schema: type: string requestBody: - $ref: '#/components/requestBodies/FilesCreate' content: application/json: schema: - example: - sha256_checksum: sha256_checksum - filename: filename - method: put_parts - md5_checksum: md5_checksum - properties: - filename: - description: Filename for the package file upload. - type: string - md5_checksum: - description: MD5 checksum for a POST-based package file upload. - type: string - method: - description: The method to use for package file upload. - enum: - - put_parts - - put - - post - - presigned - - unsigned_put - type: string - sha256_checksum: - description: SHA256 checksum for a PUT-based package file upload. - type: string - required: - - filename - title: FilesCreate - type: object + $ref: '#/components/schemas/PackageFileUploadRequest' required: false responses: "202": content: - '*/*': + application/json: schema: - $ref: '#/components/schemas/PackageFileUpload' + $ref: '#/components/schemas/PackageFileUploadResponse' description: The upload request was accepted - "400": - content: - '*/*': - schema: - $ref: '#/components/schemas/Status' - description: Request could not be processed (see detail) "404": content: - '*/*': + application/json: schema: - $ref: '#/components/schemas/Status' + $ref: '#/components/schemas/ErrorDetail' description: Namespace (owner) or repository not found + "400": + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorDetail' + description: Request could not be processed (see detail). "422": content: - '*/*': + application/json: schema: - $ref: '#/components/schemas/Status' - description: Missing or invalid parameters (see detail) + $ref: '#/components/schemas/ErrorDetail' + description: Missing or invalid parameters (see detail). security: - - token: [] - apikey: [] - - csrf_token: [] summary: Request URL(s) to upload new package file upload(s) to. tags: - files @@ -1283,65 +935,35 @@ paths: schema: type: string requestBody: - $ref: '#/components/requestBodies/FilesValidate' content: application/json: schema: - example: - sha256_checksum: sha256_checksum - filename: filename - method: put_parts - md5_checksum: md5_checksum - properties: - filename: - description: Filename for the package file upload. - type: string - md5_checksum: - description: MD5 checksum for a POST-based package file upload. - type: string - method: - description: The method to use for package file upload. - enum: - - put_parts - - put - - post - - presigned - - unsigned_put - type: string - sha256_checksum: - description: SHA256 checksum for a PUT-based package file upload. - type: string - required: - - filename - title: FilesValidate - type: object + $ref: '#/components/schemas/PackageFileUploadRequest' required: false responses: "204": content: {} - description: Validation was successful, parameters are OK - "400": - content: - '*/*': - schema: - $ref: '#/components/schemas/Status' - description: Request could not be processed (see detail) + description: "Validation was successful, parameters are OK." "404": content: - '*/*': + application/json: schema: - $ref: '#/components/schemas/Status' + $ref: '#/components/schemas/ErrorDetail' description: Namespace (owner) or repository not found + "400": + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorDetail' + description: Request could not be processed (see detail). "422": content: - '*/*': + application/json: schema: - $ref: '#/components/schemas/Status' - description: Missing or invalid parameters (see detail) + $ref: '#/components/schemas/ErrorDetail' + description: Missing or invalid parameters (see detail). security: - - token: [] - apikey: [] - - csrf_token: [] summary: Validate parameters used for create. tags: - files @@ -1367,65 +989,35 @@ paths: schema: type: string requestBody: - $ref: '#/components/requestBodies/FilesAbort' content: application/json: schema: - example: - sha256_checksum: sha256_checksum - filename: filename - method: put_parts - md5_checksum: md5_checksum - properties: - filename: - description: Filename for the package file upload. - type: string - md5_checksum: - description: MD5 checksum for a POST-based package file upload. - type: string - method: - description: The method to use for package file upload. - enum: - - put_parts - - put - - post - - presigned - - unsigned_put - type: string - sha256_checksum: - description: SHA256 checksum for a PUT-based package file upload. - type: string - required: - - filename - title: FilesAbort - type: object + $ref: '#/components/schemas/PackageFileUploadRequest' required: false responses: "204": content: {} - description: The multipart upload was aborted successfully + description: The multipart upload was aborted successfully. "400": content: - '*/*': + application/json: schema: - $ref: '#/components/schemas/Status' - description: The multipart upload could not be aborted + $ref: '#/components/schemas/ErrorDetail' + description: The multipart upload could not be aborted. "404": content: - '*/*': + application/json: schema: - $ref: '#/components/schemas/Status' - description: Namespace (owner), repository or upload file not found + $ref: '#/components/schemas/ErrorDetail' + description: "Namespace (owner), repository or upload file not found" "422": content: - '*/*': + application/json: schema: - $ref: '#/components/schemas/Status' - description: Missing or invalid parameters (see detail) + $ref: '#/components/schemas/ErrorDetail' + description: Missing or invalid parameters (see detail). security: - - token: [] - apikey: [] - - csrf_token: [] summary: Abort a multipart file upload. tags: - files @@ -1451,68 +1043,38 @@ paths: schema: type: string requestBody: - $ref: '#/components/requestBodies/FilesComplete' content: application/json: schema: - example: - sha256_checksum: sha256_checksum - filename: filename - method: put_parts - md5_checksum: md5_checksum - properties: - filename: - description: Filename for the package file upload. - type: string - md5_checksum: - description: MD5 checksum for a POST-based package file upload. - type: string - method: - description: The method to use for package file upload. - enum: - - put_parts - - put - - post - - presigned - - unsigned_put - type: string - sha256_checksum: - description: SHA256 checksum for a PUT-based package file upload. - type: string - required: - - filename - title: FilesComplete - type: object + $ref: '#/components/schemas/PackageFileUploadRequest' required: false responses: "201": content: - '*/*': + application/json: schema: - $ref: '#/components/schemas/PackageFileUpload' - description: The multipart upload was completed successfully + $ref: '#/components/schemas/PackageFileUploadResponse' + description: The multipart upload was completed successfully. "400": content: - '*/*': + application/json: schema: - $ref: '#/components/schemas/Status' - description: The multipart upload could not be completed + $ref: '#/components/schemas/ErrorDetail' + description: The multipart upload could not be completed. "404": content: - '*/*': + application/json: schema: - $ref: '#/components/schemas/Status' - description: Namespace (owner), repository or upload file not found + $ref: '#/components/schemas/ErrorDetail' + description: "Namespace (owner), repository or upload file not found" "422": content: - '*/*': + application/json: schema: - $ref: '#/components/schemas/Status' - description: Missing or invalid parameters (see detail) + $ref: '#/components/schemas/ErrorDetail' + description: Missing or invalid parameters (see detail). security: - - token: [] - apikey: [] - - csrf_token: [] summary: Complete a multipart file upload. tags: - files @@ -1551,32 +1113,30 @@ paths: responses: "200": content: - '*/*': + application/json: schema: - $ref: '#/components/schemas/PackageFilePartsUpload' - description: Information for multipart uploaded retrieved successfully + $ref: '#/components/schemas/PackageFilePartsUploadResponse' + description: Information for multipart uploaded retrieved successfully. "400": content: - '*/*': + application/json: schema: - $ref: '#/components/schemas/Status' - description: The provided upload file was not a multipart upload + $ref: '#/components/schemas/ErrorDetail' + description: The provided upload file was not a multipart upload. "404": content: - '*/*': + application/json: schema: - $ref: '#/components/schemas/Status' - description: Namespace (owner), repository or upload file not found + $ref: '#/components/schemas/ErrorDetail' + description: "Namespace (owner), repository or upload file not found" "422": content: - '*/*': + application/json: schema: - $ref: '#/components/schemas/Status' - description: Missing or invalid parameters (see detail) + $ref: '#/components/schemas/ErrorDetail' + description: Missing or invalid parameters (see detail). security: - - token: [] - apikey: [] - - csrf_token: [] summary: Get upload information to perform a multipart file upload. tags: - files @@ -1587,29 +1147,26 @@ paths: responses: "200": content: - '*/*': + application/json: schema: items: - $ref: '#/components/schemas/Format' - title: FormatList + $ref: '#/components/schemas/FormatResponse' type: array description: Available package formats retrieved "400": content: - '*/*': + application/json: schema: - $ref: '#/components/schemas/Status' - description: Request could not be processed (see detail) + $ref: '#/components/schemas/ErrorDetail' + description: Request could not be processed (see detail). "422": content: - '*/*': + application/json: schema: - $ref: '#/components/schemas/Status' - description: Missing or invalid parameters (see detail) + $ref: '#/components/schemas/ErrorDetail' + description: Missing or invalid parameters (see detail). security: - - token: [] - apikey: [] - - csrf_token: [] summary: Get a list of all supported package formats. tags: - formats @@ -1626,33 +1183,31 @@ paths: responses: "200": content: - '*/*': + application/json: schema: - $ref: '#/components/schemas/Format' + $ref: '#/components/schemas/FormatResponse' description: OK "400": content: - '*/*': + application/json: schema: - $ref: '#/components/schemas/Status' - description: Request could not be processed (see detail) + $ref: '#/components/schemas/ErrorDetail' + description: Request could not be processed (see detail). "422": content: - '*/*': + application/json: schema: - $ref: '#/components/schemas/Status' - description: Missing or invalid parameters (see detail) + $ref: '#/components/schemas/ErrorDetail' + description: Missing or invalid parameters (see detail). security: - - token: [] - apikey: [] - - csrf_token: [] summary: Get a specific supported package format. tags: - formats /metrics/entitlements/{owner}/: get: - description: View for listing entitlement token metrics, across an account. - operationId: metrics_entitlements_list + description: "View for listing entitlement token metrics, across an account." + operationId: metrics_entitlements_account_list parameters: - in: path name: owner @@ -1690,33 +1245,31 @@ paths: responses: "200": content: - '*/*': + application/json: schema: - $ref: '#/components/schemas/EntitlementUsageMetrics' - description: Retrieved the metrics for entitlements + $ref: '#/components/schemas/EntitlementUsageMetricsResponse' + description: Retrieved the metrics for entitlements. "400": content: - '*/*': + application/json: schema: - $ref: '#/components/schemas/Status' - description: Request could not be processed (see detail) + $ref: '#/components/schemas/ErrorDetail' + description: Request could not be processed (see detail). "422": content: - '*/*': + application/json: schema: - $ref: '#/components/schemas/Status' - description: Missing or invalid parameters (see detail) + $ref: '#/components/schemas/ErrorDetail' + description: Missing or invalid parameters (see detail). security: - - token: [] - apikey: [] - - csrf_token: [] - summary: View for listing entitlement token metrics, across an account. + summary: "View for listing entitlement token metrics, across an account." tags: - metrics /metrics/entitlements/{owner}/{repo}/: get: - description: View for listing entitlement token metrics, for a repository. - operationId: metrics_entitlements_list_0 + description: "View for listing entitlement token metrics, for a repository." + operationId: metrics_entitlements_repo_list parameters: - in: path name: owner @@ -1759,32 +1312,30 @@ paths: responses: "200": content: - '*/*': + application/json: schema: - $ref: '#/components/schemas/EntitlementUsageMetrics' - description: Retrieved the metrics for entitlements + $ref: '#/components/schemas/EntitlementUsageMetricsResponse' + description: Retrieved the metrics for entitlements. "400": content: - '*/*': + application/json: schema: - $ref: '#/components/schemas/Status' - description: Request could not be processed (see detail) + $ref: '#/components/schemas/ErrorDetail' + description: Request could not be processed (see detail). "422": content: - '*/*': + application/json: schema: - $ref: '#/components/schemas/Status' - description: Missing or invalid parameters (see detail) + $ref: '#/components/schemas/ErrorDetail' + description: Missing or invalid parameters (see detail). security: - - token: [] - apikey: [] - - csrf_token: [] - summary: View for listing entitlement token metrics, for a repository. + summary: "View for listing entitlement token metrics, for a repository." tags: - metrics /metrics/packages/{owner}/{repo}/: get: - description: View for listing package usage metrics, for a repository. + description: "View for listing package usage metrics, for a repository." operationId: metrics_packages_list parameters: - in: path @@ -1828,27 +1379,25 @@ paths: responses: "200": content: - '*/*': + application/json: schema: - $ref: '#/components/schemas/PackageUsageMetrics' - description: Retrieved the metrics for packages + $ref: '#/components/schemas/PackageUsageMetricsResponse' + description: Retrieved the metrics for packages. "400": content: - '*/*': + application/json: schema: - $ref: '#/components/schemas/Status' - description: Request could not be processed (see detail) + $ref: '#/components/schemas/ErrorDetail' + description: Request could not be processed (see detail). "422": content: - '*/*': + application/json: schema: - $ref: '#/components/schemas/Status' - description: Missing or invalid parameters (see detail) + $ref: '#/components/schemas/ErrorDetail' + description: Missing or invalid parameters (see detail). security: - - token: [] - apikey: [] - - csrf_token: [] - summary: View for listing package usage metrics, for a repository. + summary: "View for listing package usage metrics, for a repository." tags: - metrics /namespaces/: @@ -1869,29 +1418,26 @@ paths: responses: "200": content: - '*/*': + application/json: schema: items: - $ref: '#/components/schemas/Namespace' - title: NamespaceList + $ref: '#/components/schemas/NamespaceResponse' type: array description: OK "400": content: - '*/*': + application/json: schema: - $ref: '#/components/schemas/Status' - description: Request could not be processed (see detail) + $ref: '#/components/schemas/ErrorDetail' + description: Request could not be processed (see detail). "422": content: - '*/*': + application/json: schema: - $ref: '#/components/schemas/Status' - description: Missing or invalid parameters (see detail) + $ref: '#/components/schemas/ErrorDetail' + description: Missing or invalid parameters (see detail). security: - - token: [] - apikey: [] - - csrf_token: [] summary: Get a list of all namespaces the user belongs to. tags: - namespaces @@ -1908,26 +1454,24 @@ paths: responses: "200": content: - '*/*': + application/json: schema: - $ref: '#/components/schemas/Namespace' + $ref: '#/components/schemas/NamespaceResponse' description: OK "400": content: - '*/*': + application/json: schema: - $ref: '#/components/schemas/Status' - description: Request could not be processed (see detail) + $ref: '#/components/schemas/ErrorDetail' + description: Request could not be processed (see detail). "422": content: - '*/*': + application/json: schema: - $ref: '#/components/schemas/Status' - description: Missing or invalid parameters (see detail) + $ref: '#/components/schemas/ErrorDetail' + description: Missing or invalid parameters (see detail). security: - - token: [] - apikey: [] - - csrf_token: [] summary: Views for working with namespaces. tags: - namespaces @@ -1949,29 +1493,26 @@ paths: responses: "200": content: - '*/*': + application/json: schema: items: - $ref: '#/components/schemas/Organization' - title: OrganizationList + $ref: '#/components/schemas/OrganizationResponse' type: array description: OK "400": content: - '*/*': + application/json: schema: - $ref: '#/components/schemas/Status' - description: Request could not be processed (see detail) + $ref: '#/components/schemas/ErrorDetail' + description: Request could not be processed (see detail). "422": content: - '*/*': + application/json: schema: - $ref: '#/components/schemas/Status' - description: Missing or invalid parameters (see detail) + $ref: '#/components/schemas/ErrorDetail' + description: Missing or invalid parameters (see detail). security: - - token: [] - apikey: [] - - csrf_token: [] summary: Get a list of all the organizations you are associated with. tags: - orgs @@ -1988,26 +1529,24 @@ paths: responses: "200": content: - '*/*': + application/json: schema: - $ref: '#/components/schemas/Organization' + $ref: '#/components/schemas/OrganizationResponse' description: OK "400": content: - '*/*': + application/json: schema: - $ref: '#/components/schemas/Status' - description: Request could not be processed (see detail) + $ref: '#/components/schemas/ErrorDetail' + description: Request could not be processed (see detail). "422": content: - '*/*': + application/json: schema: - $ref: '#/components/schemas/Status' - description: Missing or invalid parameters (see detail) + $ref: '#/components/schemas/ErrorDetail' + description: Missing or invalid parameters (see detail). security: - - token: [] - apikey: [] - - csrf_token: [] summary: Get the details for the specific organization. tags: - orgs @@ -2034,35 +1573,32 @@ paths: responses: "200": content: - '*/*': + application/json: schema: items: - $ref: '#/components/schemas/OrganizationInvite' - title: OrganizationInviteList + $ref: '#/components/schemas/OrganizationInviteResponse' type: array description: Retrieved the list of organization invites - "400": - content: - '*/*': - schema: - $ref: '#/components/schemas/Status' - description: Request could not be processed (see detail) "404": content: - '*/*': + application/json: schema: - $ref: '#/components/schemas/Status' + $ref: '#/components/schemas/ErrorDetail' description: Organization invites not found + "400": + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorDetail' + description: Request could not be processed (see detail). "422": content: - '*/*': + application/json: schema: - $ref: '#/components/schemas/Status' - description: Missing or invalid parameters (see detail) + $ref: '#/components/schemas/ErrorDetail' + description: Missing or invalid parameters (see detail). security: - - token: [] - apikey: [] - - csrf_token: [] summary: Get a list of all invites for an organization. tags: - orgs @@ -2076,63 +1612,32 @@ paths: schema: type: string requestBody: - $ref: '#/components/requestBodies/OrgsInvitesCreate' content: application/json: schema: - example: - role: Owner - inviter: inviter - slug_perm: slug_perm - user: user - email: email - properties: - email: - description: None - type: string - inviter: - description: None - type: string - role: - description: None - enum: - - Owner - - Manager - - Member - - Collaborator - type: string - slug_perm: - description: None - type: string - user: - description: None - type: string - title: OrgsInvitesCreate - type: object + $ref: '#/components/schemas/OrganizationInviteRequest' required: false responses: "201": content: - '*/*': + application/json: schema: - $ref: '#/components/schemas/OrganizationInvite' + $ref: '#/components/schemas/OrganizationInviteResponse' description: Invite sent "400": content: - '*/*': + application/json: schema: - $ref: '#/components/schemas/Status' - description: The invite cannot be created + $ref: '#/components/schemas/ErrorDetail' + description: The invite cannot be created. "422": content: - '*/*': + application/json: schema: - $ref: '#/components/schemas/Status' - description: Missing or invalid parameters (see detail) + $ref: '#/components/schemas/ErrorDetail' + description: Missing or invalid parameters (see detail). security: - - token: [] - apikey: [] - - csrf_token: [] summary: Create an organization invite for a specific user tags: - orgs @@ -2155,30 +1660,27 @@ paths: responses: "204": content: {} - description: Deleted the organization invite successfully + description: Deleted the organization invite successfully. "400": content: - '*/*': + application/json: schema: - $ref: '#/components/schemas/Status' - description: The organization invite cannot be deleted + $ref: '#/components/schemas/ErrorDetail' + description: The organization invite cannot be deleted. "422": content: - '*/*': + application/json: schema: - $ref: '#/components/schemas/Status' - description: Missing or invalid parameters (see detail) + $ref: '#/components/schemas/ErrorDetail' + description: Missing or invalid parameters (see detail). security: - - token: [] - apikey: [] - - csrf_token: [] summary: Delete a specific organization invite tags: - orgs - /orgs/{org}/invites/{slug_perm}/extend/: - post: - description: Extend an organization invite. - operationId: orgs_invites_extend + patch: + description: Update a specific organization invite. + operationId: orgs_invites_partial_update parameters: - in: path name: org @@ -2191,63 +1693,132 @@ paths: schema: type: string requestBody: - $ref: '#/components/requestBodies/OrgsInvitesExtend' content: application/json: schema: - example: - role: Owner - inviter: inviter - user: user - email: email - properties: - email: - description: None - type: string - inviter: - description: None - type: string - role: - description: None - enum: - - Owner - - Manager - - Member - - Collaborator - type: string - user: - description: None - type: string - title: OrgsInvitesExtend - type: object + $ref: '#/components/schemas/OrganizationInviteUpdateRequestPatch' required: false responses: "200": content: - '*/*': + application/json: + schema: + $ref: '#/components/schemas/OrganizationInviteResponse' + description: Invite updated + "400": + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorDetail' + description: The invite cannot be updated. + "404": + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorDetail' + description: Invite not found. + "422": + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorDetail' + description: Missing or invalid parameters (see detail). + security: + - apikey: [] + summary: Update a specific organization invite. + tags: + - orgs + x-codegen-request-body-name: data + /orgs/{org}/invites/{slug_perm}/extend/: + post: + description: Extend an organization invite. + operationId: orgs_invites_extend + parameters: + - in: path + name: org + required: true + schema: + type: string + - in: path + name: slug_perm + required: true + schema: + type: string + responses: + "200": + content: + application/json: schema: - $ref: '#/components/schemas/OrganizationInviteExtend' + $ref: '#/components/schemas/OrganizationInviteExtendResponse' description: The invite has been extended + "404": + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorDetail' + description: Invite not found. "400": content: - '*/*': + application/json: schema: - $ref: '#/components/schemas/Status' - description: Request could not be processed (see detail) + $ref: '#/components/schemas/ErrorDetail' + description: Request could not be processed (see detail). "422": content: - '*/*': + application/json: schema: - $ref: '#/components/schemas/Status' - description: Missing or invalid parameters (see detail) + $ref: '#/components/schemas/ErrorDetail' + description: Missing or invalid parameters (see detail). security: - - token: [] - apikey: [] - - csrf_token: [] summary: Extend an organization invite. tags: - orgs - x-codegen-request-body-name: data + /orgs/{org}/invites/{slug_perm}/resend/: + post: + description: Resend an organization invite. + operationId: orgs_invites_resend + parameters: + - in: path + name: org + required: true + schema: + type: string + - in: path + name: slug_perm + required: true + schema: + type: string + responses: + "200": + content: + application/json: + schema: + $ref: '#/components/schemas/OrganizationInviteExtendResponse' + description: The invite has been resent + "404": + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorDetail' + description: Invite not found. + "400": + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorDetail' + description: Request could not be processed (see detail). + "422": + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorDetail' + description: Missing or invalid parameters (see detail). + security: + - apikey: [] + summary: Resend an organization invite. + tags: + - orgs /orgs/{org}/members/: get: description: Get the details for all organization members. @@ -2271,33 +1842,65 @@ paths: responses: "200": content: - '*/*': + application/json: schema: items: - $ref: '#/components/schemas/OrganizationMembership' - title: OrganizationMembershipList + $ref: '#/components/schemas/OrganizationMembershipResponse' type: array description: OK "400": content: - '*/*': + application/json: schema: - $ref: '#/components/schemas/Status' - description: Request could not be processed (see detail) + $ref: '#/components/schemas/ErrorDetail' + description: Request could not be processed (see detail). "422": content: - '*/*': + application/json: schema: - $ref: '#/components/schemas/Status' - description: Missing or invalid parameters (see detail) + $ref: '#/components/schemas/ErrorDetail' + description: Missing or invalid parameters (see detail). security: - - token: [] - apikey: [] - - csrf_token: [] summary: Get the details for all organization members. tags: - orgs /orgs/{org}/members/{member}/: + delete: + description: Removes a member from the organization. + operationId: orgs_members_delete + parameters: + - in: path + name: org + required: true + schema: + type: string + - in: path + name: member + required: true + schema: + type: string + responses: + "204": + content: {} + description: Removed the organization member successfully. + "400": + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorDetail' + description: The organization member cannot be deleted. + "422": + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorDetail' + description: Missing or invalid parameters (see detail). + security: + - apikey: [] + summary: Removes a member from the organization. + tags: + - orgs get: description: Get the details for a specific organization member. operationId: orgs_members_read @@ -2315,32 +1918,31 @@ paths: responses: "200": content: - '*/*': + application/json: schema: - $ref: '#/components/schemas/OrganizationMembership' + $ref: '#/components/schemas/OrganizationMembershipResponse' description: OK "400": content: - '*/*': + application/json: schema: - $ref: '#/components/schemas/Status' - description: Request could not be processed (see detail) + $ref: '#/components/schemas/ErrorDetail' + description: Request could not be processed (see detail). "422": content: - '*/*': + application/json: schema: - $ref: '#/components/schemas/Status' - description: Missing or invalid parameters (see detail) + $ref: '#/components/schemas/ErrorDetail' + description: Missing or invalid parameters (see detail). security: - - token: [] - apikey: [] - - csrf_token: [] summary: Get the details for a specific organization member. tags: - orgs /orgs/{org}/members/{member}/remove/: get: - description: Removes a member from the organization. + description: "Removes a member from the organization (deprecated, use DELETE\ + \ instead)." operationId: orgs_members_remove parameters: - in: path @@ -2354,29 +1956,24 @@ paths: schema: type: string responses: - "200": - content: - '*/*': - schema: - $ref: '#/components/schemas/OrganizationMembership' - description: OK + "204": + content: {} + description: Removed the organization member successfully. "400": content: - '*/*': + application/json: schema: - $ref: '#/components/schemas/Status' - description: Request could not be processed (see detail) + $ref: '#/components/schemas/ErrorDetail' + description: The organization member cannot be deleted. "422": content: - '*/*': + application/json: schema: - $ref: '#/components/schemas/Status' - description: Missing or invalid parameters (see detail) + $ref: '#/components/schemas/ErrorDetail' + description: Missing or invalid parameters (see detail). security: - - token: [] - apikey: [] - - csrf_token: [] - summary: Removes a member from the organization. + summary: "Removes a member from the organization (deprecated, use DELETE instead)." tags: - orgs /orgs/{org}/saml-group-sync/: @@ -2402,36 +1999,33 @@ paths: responses: "200": content: - '*/*': + application/json: schema: items: - $ref: '#/components/schemas/OrganizationGroupSync' - title: OrganizationGroupSyncList + $ref: '#/components/schemas/OrganizationGroupSyncResponse' type: array description: Retrived the list of all SAML Group Sync mappings for this org - "400": - content: - '*/*': - schema: - $ref: '#/components/schemas/Status' - description: Request could not be processed (see detail) "404": content: - '*/*': + application/json: schema: - $ref: '#/components/schemas/Status' + $ref: '#/components/schemas/ErrorDetail' description: Org namespace not found + "400": + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorDetail' + description: Request could not be processed (see detail). "422": content: - '*/*': + application/json: schema: - $ref: '#/components/schemas/Status' - description: Missing or invalid parameters (see detail) + $ref: '#/components/schemas/ErrorDetail' + description: Missing or invalid parameters (see detail). security: - - token: [] - apikey: [] - - csrf_token: [] summary: Get the details of all SAML Group Sync mapping within an organization. tags: - orgs @@ -2445,68 +2039,38 @@ paths: schema: type: string requestBody: - $ref: '#/components/requestBodies/OrgsSaml_group_syncCreate' content: application/json: schema: - properties: - idp_key: - description: None - type: string - idp_value: - description: None - type: string - organization: - description: None - type: string - role: - description: "\n User role within the team.\n\n A `manager`\ - \ is capable of adding/removing others to/from the team, and\n\ - \ can set the role of other users and other settings pertaining\ - \ to the\n team.\n\n A 'member' is a normal user\ - \ that inherits the settings and privileges\n assigned\ - \ to the team.\n " - type: string - team: - description: None - type: string - required: - - idp_key - - idp_value - - organization - - team - title: OrgsSaml-group-syncCreate - type: object + $ref: '#/components/schemas/OrganizationGroupSyncRequest' required: false responses: "201": content: - '*/*': + application/json: schema: - $ref: '#/components/schemas/OrganizationGroupSync' - description: The SAML Group Sync mapping was created - "400": + $ref: '#/components/schemas/OrganizationGroupSyncResponse' + description: The SAML Group Sync mapping was created. + "404": content: - '*/*': + application/json: schema: - $ref: '#/components/schemas/Status' - description: Request could not be processed (see detail) - "404": + $ref: '#/components/schemas/ErrorDetail' + description: Org namespace not found. + "400": content: - '*/*': + application/json: schema: - $ref: '#/components/schemas/Status' - description: Org namespace not found + $ref: '#/components/schemas/ErrorDetail' + description: Request could not be processed (see detail). "422": content: - '*/*': + application/json: schema: - $ref: '#/components/schemas/Status' - description: Missing or invalid parameters (see detail) + $ref: '#/components/schemas/ErrorDetail' + description: Missing or invalid parameters (see detail). security: - - token: [] - apikey: [] - - csrf_token: [] summary: Create a new SAML Group Sync mapping within an organization. tags: - orgs @@ -2532,27 +2096,25 @@ paths: description: Mapping removed successfully "400": content: - '*/*': + application/json: schema: - $ref: '#/components/schemas/Status' - description: Request could not be processed (see detail) + $ref: '#/components/schemas/ErrorDetail' + description: Request could not be processed (see detail). "422": content: - '*/*': + application/json: schema: - $ref: '#/components/schemas/Status' - description: Missing or invalid parameters (see detail) + $ref: '#/components/schemas/ErrorDetail' + description: Missing or invalid parameters (see detail). security: - - token: [] - apikey: [] - - csrf_token: [] summary: Delete a SAML Group Sync mapping from an organization. tags: - orgs - /orgs/{org}/teams/: + /orgs/{org}/services/: get: - description: Get the details of all teams within an organization. - operationId: orgs_teams_list + description: Get a list of all services within an organization. + operationId: orgs_services_list parameters: - in: path name: org @@ -2572,41 +2134,38 @@ paths: responses: "200": content: - '*/*': + application/json: schema: items: - $ref: '#/components/schemas/OrganizationTeam' - title: OrganizationTeamList + $ref: '#/components/schemas/ServiceResponse' type: array - description: Retrieved the list of teams within the org - "400": - content: - '*/*': - schema: - $ref: '#/components/schemas/Status' - description: Request could not be processed (see detail) + description: Retrieved the list of services within the org "404": content: - '*/*': + application/json: schema: - $ref: '#/components/schemas/Status' + $ref: '#/components/schemas/ErrorDetail' description: Org namespace not found + "400": + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorDetail' + description: Request could not be processed (see detail). "422": content: - '*/*': + application/json: schema: - $ref: '#/components/schemas/Status' - description: Missing or invalid parameters (see detail) + $ref: '#/components/schemas/ErrorDetail' + description: Missing or invalid parameters (see detail). security: - - token: [] - apikey: [] - - csrf_token: [] - summary: Get the details of all teams within an organization. + summary: Get a list of all services within an organization. tags: - orgs post: - description: Create a team for this organization. - operationId: orgs_teams_create + description: Create a service within an organization. + operationId: orgs_services_create parameters: - in: path name: org @@ -2614,67 +2173,46 @@ paths: schema: type: string requestBody: - $ref: '#/components/requestBodies/OrgsTeamsCreate' content: application/json: schema: - example: - visibility: Visible - name: name - description: description - slug: slug - properties: - description: - description: None - type: string - name: - description: None - type: string - slug: - description: None - type: string - visibility: - description: None - enum: - - Visible - - Hidden - type: string - required: - - name - title: OrgsTeamsCreate - type: object + $ref: '#/components/schemas/ServiceRequest' required: false responses: - "201": + "200": content: - '*/*': + application/json: schema: - $ref: '#/components/schemas/OrganizationTeam' - description: Team created + $ref: '#/components/schemas/ServiceResponse' + description: Created the service within the org + "404": + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorDetail' + description: Org namespace not found "400": content: - '*/*': + application/json: schema: - $ref: '#/components/schemas/Status' - description: The team cannot be created + $ref: '#/components/schemas/ErrorDetail' + description: Request could not be processed (see detail). "422": content: - '*/*': + application/json: schema: - $ref: '#/components/schemas/Status' - description: Missing or invalid parameters (see detail) + $ref: '#/components/schemas/ErrorDetail' + description: Missing or invalid parameters (see detail). security: - - token: [] - apikey: [] - - csrf_token: [] - summary: Create a team for this organization. + summary: Create a service within an organization. tags: - orgs x-codegen-request-body-name: data - /orgs/{org}/teams/{slug_perm}/: + /orgs/{org}/services/{service}/: delete: - description: Delete a specific team in a organization. - operationId: orgs_teams_delete + description: Delete a specific service + operationId: orgs_services_delete parameters: - in: path name: org @@ -2682,42 +2220,34 @@ paths: schema: type: string - in: path - name: slug_perm + name: service required: true schema: type: string responses: "204": content: {} - description: Deleted the team successfully + description: Deleted the service successfully. "400": content: - '*/*': - schema: - $ref: '#/components/schemas/Status' - description: The team cannot be deleted - "404": - content: - '*/*': + application/json: schema: - $ref: '#/components/schemas/Status' - description: Team not found + $ref: '#/components/schemas/ErrorDetail' + description: The service cannot be deleted. "422": content: - '*/*': + application/json: schema: - $ref: '#/components/schemas/Status' - description: Missing or invalid parameters (see detail) + $ref: '#/components/schemas/ErrorDetail' + description: Missing or invalid parameters (see detail). security: - - token: [] - apikey: [] - - csrf_token: [] - summary: Delete a specific team in a organization. + summary: Delete a specific service tags: - orgs get: - description: Viewset for working with Organization teams. - operationId: orgs_teams_read + description: Retrieve details of a single service within an organization. + operationId: orgs_services_read parameters: - in: path name: org @@ -2725,39 +2255,37 @@ paths: schema: type: string - in: path - name: slug_perm + name: service required: true schema: type: string responses: "200": content: - '*/*': + application/json: schema: - $ref: '#/components/schemas/OrganizationTeam' + $ref: '#/components/schemas/ServiceResponse' description: OK "400": content: - '*/*': + application/json: schema: - $ref: '#/components/schemas/Status' - description: Request could not be processed (see detail) + $ref: '#/components/schemas/ErrorDetail' + description: Request could not be processed (see detail). "422": content: - '*/*': + application/json: schema: - $ref: '#/components/schemas/Status' - description: Missing or invalid parameters (see detail) + $ref: '#/components/schemas/ErrorDetail' + description: Missing or invalid parameters (see detail). security: - - token: [] - apikey: [] - - csrf_token: [] - summary: Viewset for working with Organization teams. + summary: Retrieve details of a single service within an organization. tags: - orgs patch: - description: Update a specific team in a organization. - operationId: orgs_teams_partial_update + description: Update a service within an organization. + operationId: orgs_services_partial_update parameters: - in: path name: org @@ -2765,76 +2293,51 @@ paths: schema: type: string - in: path - name: slug_perm + name: service required: true schema: type: string requestBody: - $ref: '#/components/requestBodies/OrgsTeamsPartialUpdate' content: application/json: schema: - example: - visibility: Visible - name: name - description: description - slug: slug - properties: - description: - description: None - type: string - name: - description: None - type: string - slug: - description: None - type: string - visibility: - description: None - enum: - - Visible - - Hidden - type: string - title: OrgsTeamsPartialUpdate - type: object + $ref: '#/components/schemas/ServiceRequestPatch' required: false responses: "200": content: - '*/*': + application/json: schema: - $ref: '#/components/schemas/OrganizationTeam' - description: Updated the specified team - "400": + $ref: '#/components/schemas/ServiceResponse' + description: Updated the service within the org + "404": content: - '*/*': + application/json: schema: - $ref: '#/components/schemas/Status' - description: The team cannot be edited - "404": + $ref: '#/components/schemas/ErrorDetail' + description: Org namespace not found + "400": content: - '*/*': + application/json: schema: - $ref: '#/components/schemas/Status' - description: Team not found + $ref: '#/components/schemas/ErrorDetail' + description: Request could not be processed (see detail). "422": content: - '*/*': + application/json: schema: - $ref: '#/components/schemas/Status' - description: Missing or invalid parameters (see detail) + $ref: '#/components/schemas/ErrorDetail' + description: Missing or invalid parameters (see detail). security: - - token: [] - apikey: [] - - csrf_token: [] - summary: Update a specific team in a organization. + summary: Update a service within an organization. tags: - orgs x-codegen-request-body-name: data - /orgs/{org}/teams/{team}/members: - get: - description: List all members for the team. - operationId: orgs_teams_members_list + /orgs/{org}/services/{service}/refresh/: + post: + description: Refresh service API token. + operationId: orgs_services_refresh parameters: - in: path name: org @@ -2842,54 +2345,47 @@ paths: schema: type: string - in: path - name: team + name: service required: true schema: type: string responses: "200": content: - '*/*': + application/json: schema: - $ref: '#/components/schemas/OrganizationTeamMembers' - description: Retrieved users for the specified team + $ref: '#/components/schemas/ServiceResponse' + description: Refreshed the service token successfully. "400": content: - '*/*': + application/json: schema: - $ref: '#/components/schemas/Status' - description: Request could not be processed (see detail) + $ref: '#/components/schemas/ErrorDetail' + description: The service token cannot be refreshed. "404": content: - '*/*': + application/json: schema: - $ref: '#/components/schemas/Status' - description: Team not found + $ref: '#/components/schemas/ErrorDetail' + description: Org namespace not found "422": content: - '*/*': + application/json: schema: - $ref: '#/components/schemas/Status' - description: Missing or invalid parameters (see detail) + $ref: '#/components/schemas/ErrorDetail' + description: Missing or invalid parameters (see detail). security: - - token: [] - apikey: [] - - csrf_token: [] - summary: List all members for the team. + summary: Refresh service API token. tags: - orgs - /packages/{owner}/{repo}/: + /orgs/{org}/teams/: get: - description: Get a list of all packages associated with repository. - operationId: packages_list + description: Get the details of all teams within an organization. + operationId: orgs_teams_list parameters: - in: path - name: owner - required: true - schema: - type: string - - in: path - name: repo + name: org required: true schema: type: string @@ -2903,629 +2399,359 @@ paths: name: page_size schema: type: integer - - description: A search term for querying names, filenames, versions, distributions, - architectures, formats or statuses of packages. - in: query - name: query - schema: - type: string - - description: A field for sorting objects in ascending or descending order. - in: query - name: sort - schema: - type: string responses: "200": content: - '*/*': + application/json: schema: items: - $ref: '#/components/schemas/Package' - title: PackageList + $ref: '#/components/schemas/OrganizationTeamResponse' type: array - description: Retrieved the list of packages + description: Retrieved the list of teams within the org + "404": + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorDetail' + description: Org namespace not found "400": content: - '*/*': + application/json: schema: - $ref: '#/components/schemas/Status' - description: Request could not be processed (see detail) + $ref: '#/components/schemas/ErrorDetail' + description: Request could not be processed (see detail). "422": content: - '*/*': + application/json: schema: - $ref: '#/components/schemas/Status' - description: Missing or invalid parameters (see detail) + $ref: '#/components/schemas/ErrorDetail' + description: Missing or invalid parameters (see detail). security: - - token: [] - apikey: [] - - csrf_token: [] - summary: Get a list of all packages associated with repository. + summary: Get the details of all teams within an organization. tags: - - packages - /packages/{owner}/{repo}/upload/alpine/: + - orgs post: - description: Create a new Alpine package - operationId: packages_upload_alpine + description: Create a team for this organization. + operationId: orgs_teams_create parameters: - in: path - name: owner - required: true - schema: - type: string - - in: path - name: repo + name: org required: true schema: type: string requestBody: - $ref: '#/components/requestBodies/PackagesUploadAlpine' content: application/json: schema: - example: - republish: true - distribution: alpine/v3.8 - package_file: a123456789 - tags: tags - properties: - distribution: - description: The distribution to store the package for. - example: alpine/v3.8 - type: string - package_file: - description: The primary file for the package. - example: a123456789 - type: string - republish: - description: If true, the uploaded package will overwrite any others - with the same attributes (e.g. same version); otherwise, it will - be flagged as a duplicate. - type: boolean - tags: - description: A comma-separated values list of tags to add to the - package. - type: string - required: - - distribution - - package_file - title: PackagesUploadAlpine - type: object + $ref: '#/components/schemas/OrganizationTeamRequest' required: false responses: "201": content: - '*/*': + application/json: schema: - $ref: '#/components/schemas/AlpinePackageUpload' - description: Upload acknowledged and queued for synchronisation + $ref: '#/components/schemas/OrganizationTeamResponse' + description: Team created "400": content: - '*/*': - schema: - $ref: '#/components/schemas/Status' - description: Request could not be processed (see detail) - "404": - content: - '*/*': + application/json: schema: - $ref: '#/components/schemas/Status' - description: Namespace (owner) or repository not found + $ref: '#/components/schemas/ErrorDetail' + description: The team cannot be created. "422": content: - '*/*': + application/json: schema: - $ref: '#/components/schemas/Status' - description: Missing or invalid parameters (see detail) + $ref: '#/components/schemas/ErrorDetail' + description: Missing or invalid parameters (see detail). security: - - token: [] - apikey: [] - - csrf_token: [] - summary: Create a new Alpine package + summary: Create a team for this organization. tags: - - packages + - orgs x-codegen-request-body-name: data - /packages/{owner}/{repo}/upload/cargo/: - post: - description: Create a new Cargo package - operationId: packages_upload_cargo + /orgs/{org}/teams/{team}/: + delete: + description: Delete a specific team in a organization. + operationId: orgs_teams_delete parameters: - in: path - name: owner + name: org required: true schema: type: string - in: path - name: repo + name: team required: true schema: type: string - requestBody: - $ref: '#/components/requestBodies/PackagesUploadCargo' - content: - application/json: - schema: - example: - republish: true - package_file: x123456789a - tags: tags - properties: - package_file: - description: The primary file for the package. - example: x123456789a - type: string - republish: - description: If true, the uploaded package will overwrite any others - with the same attributes (e.g. same version); otherwise, it will - be flagged as a duplicate. - type: boolean - tags: - description: A comma-separated values list of tags to add to the - package. - type: string - required: - - package_file - title: PackagesUploadCargo - type: object - required: false responses: - "201": - content: - '*/*': - schema: - $ref: '#/components/schemas/CargoPackageUpload' - description: Upload acknowledged and queued for synchronisation + "204": + content: {} + description: Deleted the team successfully. "400": content: - '*/*': + application/json: schema: - $ref: '#/components/schemas/Status' - description: Request could not be processed (see detail) + $ref: '#/components/schemas/ErrorDetail' + description: The team cannot be deleted. "404": content: - '*/*': + application/json: schema: - $ref: '#/components/schemas/Status' - description: Namespace (owner) or repository not found + $ref: '#/components/schemas/ErrorDetail' + description: Team not found. "422": content: - '*/*': + application/json: schema: - $ref: '#/components/schemas/Status' - description: Missing or invalid parameters (see detail) + $ref: '#/components/schemas/ErrorDetail' + description: Missing or invalid parameters (see detail). security: - - token: [] - apikey: [] - - csrf_token: [] - summary: Create a new Cargo package + summary: Delete a specific team in a organization. tags: - - packages - x-codegen-request-body-name: data - /packages/{owner}/{repo}/upload/cocoapods/: - post: - description: Create a new CocoaPods package - operationId: packages_upload_cocoapods + - orgs + get: + description: Get the details of a specific team within an organization. + operationId: orgs_teams_read parameters: - in: path - name: owner + name: org required: true schema: type: string - in: path - name: repo + name: team required: true schema: type: string - requestBody: - $ref: '#/components/requestBodies/PackagesUploadCocoapods' - content: - application/json: - schema: - example: - republish: true - package_file: z123456789 - tags: tags - properties: - package_file: - description: The primary file for the package. - example: z123456789 - type: string - republish: - description: If true, the uploaded package will overwrite any others - with the same attributes (e.g. same version); otherwise, it will - be flagged as a duplicate. - type: boolean - tags: - description: A comma-separated values list of tags to add to the - package. - type: string - required: - - package_file - title: PackagesUploadCocoapods - type: object - required: false responses: - "201": + "200": content: - '*/*': + application/json: schema: - $ref: '#/components/schemas/CocoapodsPackageUpload' - description: Upload acknowledged and queued for synchronisation - "400": + $ref: '#/components/schemas/OrganizationTeamResponse' + description: Retrieved the details of the requested team. + "404": content: - '*/*': + application/json: schema: - $ref: '#/components/schemas/Status' - description: Request could not be processed (see detail) - "404": + $ref: '#/components/schemas/ErrorDetail' + description: Team not found. + "400": content: - '*/*': + application/json: schema: - $ref: '#/components/schemas/Status' - description: Namespace (owner) or repository not found + $ref: '#/components/schemas/ErrorDetail' + description: Request could not be processed (see detail). "422": content: - '*/*': + application/json: schema: - $ref: '#/components/schemas/Status' - description: Missing or invalid parameters (see detail) + $ref: '#/components/schemas/ErrorDetail' + description: Missing or invalid parameters (see detail). security: - - token: [] - apikey: [] - - csrf_token: [] - summary: Create a new CocoaPods package + summary: Get the details of a specific team within an organization. tags: - - packages - x-codegen-request-body-name: data - /packages/{owner}/{repo}/upload/composer/: - post: - description: Create a new Composer package - operationId: packages_upload_composer + - orgs + patch: + description: Update a specific team in a organization. + operationId: orgs_teams_partial_update parameters: - in: path - name: owner + name: org required: true schema: type: string - in: path - name: repo + name: team required: true schema: type: string requestBody: - $ref: '#/components/requestBodies/PackagesUploadComposer' content: application/json: schema: - example: - republish: true - package_file: y123456789 - tags: tags - properties: - package_file: - description: The primary file for the package. - example: y123456789 - type: string - republish: - description: If true, the uploaded package will overwrite any others - with the same attributes (e.g. same version); otherwise, it will - be flagged as a duplicate. - type: boolean - tags: - description: A comma-separated values list of tags to add to the - package. - type: string - required: - - package_file - title: PackagesUploadComposer - type: object + $ref: '#/components/schemas/OrganizationTeamRequestPatch' required: false responses: - "201": + "200": content: - '*/*': + application/json: schema: - $ref: '#/components/schemas/ComposerPackageUpload' - description: Upload acknowledged and queued for synchronisation + $ref: '#/components/schemas/OrganizationTeamResponse' + description: Updated the specified team. "400": content: - '*/*': + application/json: schema: - $ref: '#/components/schemas/Status' - description: Request could not be processed (see detail) + $ref: '#/components/schemas/ErrorDetail' + description: The team cannot be edited. "404": content: - '*/*': + application/json: schema: - $ref: '#/components/schemas/Status' - description: Namespace (owner) or repository not found + $ref: '#/components/schemas/ErrorDetail' + description: Team not found. "422": content: - '*/*': + application/json: schema: - $ref: '#/components/schemas/Status' - description: Missing or invalid parameters (see detail) + $ref: '#/components/schemas/ErrorDetail' + description: Missing or invalid parameters (see detail). security: - - token: [] - apikey: [] - - csrf_token: [] - summary: Create a new Composer package + summary: Update a specific team in a organization. tags: - - packages + - orgs x-codegen-request-body-name: data - /packages/{owner}/{repo}/upload/conan/: - post: - description: Create a new Conan package - operationId: packages_upload_conan + /orgs/{org}/teams/{team}/members: + get: + description: List all members for the team. + operationId: orgs_teams_members_list parameters: - in: path - name: owner + name: org required: true schema: type: string - in: path - name: repo + name: team required: true schema: type: string - requestBody: - $ref: '#/components/requestBodies/PackagesUploadConan' - content: - application/json: - schema: - example: - republish: true - name: conan_package.tgz - metadata_file: y1234456789a - package_file: x123456789a - conan_prefix: my-repository - version: 1.0.0 - conan_channel: alpha - info_file: y1234456789b - manifest_file: y1234456789c - tags: tags - properties: - conan_channel: - description: Conan channel. - example: alpha - type: string - conan_prefix: - description: Conan prefix (User). - example: my-repository - type: string - info_file: - description: The info file is an python file containing the package - metadata. - example: y1234456789b - type: string - manifest_file: - description: The info file is an python file containing the package - metadata. - example: y1234456789c - type: string - metadata_file: - description: The conan file is an python file containing the package - metadata. - example: y1234456789a - type: string - name: - description: The name of this package. - example: conan_package.tgz - type: string - package_file: - description: The primary file for the package. - example: x123456789a - type: string - republish: - description: If true, the uploaded package will overwrite any others - with the same attributes (e.g. same version); otherwise, it will - be flagged as a duplicate. - type: boolean - tags: - description: A comma-separated values list of tags to add to the - package. - type: string - version: - description: The raw version for this package. - example: 1.0.0 - type: string - required: - - info_file - - manifest_file - - metadata_file - - package_file - title: PackagesUploadConan - type: object - required: false responses: - "201": + "200": content: - '*/*': + application/json: schema: - $ref: '#/components/schemas/ConanPackageUpload' - description: Upload acknowledged and queued for synchronisation - "400": + $ref: '#/components/schemas/OrganizationTeamMembersResponse' + description: Retrieved users for the specified team. + "404": content: - '*/*': + application/json: schema: - $ref: '#/components/schemas/Status' - description: Request could not be processed (see detail) - "404": + $ref: '#/components/schemas/ErrorDetail' + description: Team not found. + "400": content: - '*/*': + application/json: schema: - $ref: '#/components/schemas/Status' - description: Namespace (owner) or repository not found + $ref: '#/components/schemas/ErrorDetail' + description: Request could not be processed (see detail). "422": content: - '*/*': + application/json: schema: - $ref: '#/components/schemas/Status' - description: Missing or invalid parameters (see detail) + $ref: '#/components/schemas/ErrorDetail' + description: Missing or invalid parameters (see detail). security: - - token: [] - apikey: [] - - csrf_token: [] - summary: Create a new Conan package + summary: List all members for the team. tags: - - packages - x-codegen-request-body-name: data - /packages/{owner}/{repo}/upload/conda/: + - orgs post: - description: Create a new Conda package - operationId: packages_upload_conda + description: Add users to a team. + operationId: orgs_teams_members_create parameters: - in: path - name: owner + name: org required: true schema: type: string - in: path - name: repo + name: team required: true schema: type: string requestBody: - $ref: '#/components/requestBodies/PackagesUploadConda' content: application/json: schema: - example: - republish: true - package_file: x123456789a - tags: tags - properties: - package_file: - description: The primary file for the package. - example: x123456789a - type: string - republish: - description: If true, the uploaded package will overwrite any others - with the same attributes (e.g. same version); otherwise, it will - be flagged as a duplicate. - type: boolean - tags: - description: A comma-separated values list of tags to add to the - package. - type: string - required: - - package_file - title: PackagesUploadConda - type: object + $ref: '#/components/schemas/OrganizationTeamMembers' required: false responses: "201": content: - '*/*': + application/json: schema: - $ref: '#/components/schemas/CondaPackageUpload' - description: Upload acknowledged and queued for synchronisation - "400": + $ref: '#/components/schemas/OrganizationTeamMembersResponse' + description: The users were added to the team. + "404": content: - '*/*': + application/json: schema: - $ref: '#/components/schemas/Status' - description: Request could not be processed (see detail) - "404": + $ref: '#/components/schemas/ErrorDetail' + description: Team not found. + "400": content: - '*/*': + application/json: schema: - $ref: '#/components/schemas/Status' - description: Namespace (owner) or repository not found + $ref: '#/components/schemas/ErrorDetail' + description: Request could not be processed (see detail). "422": content: - '*/*': + application/json: schema: - $ref: '#/components/schemas/Status' - description: Missing or invalid parameters (see detail) + $ref: '#/components/schemas/ErrorDetail' + description: Missing or invalid parameters (see detail). security: - - token: [] - apikey: [] - - csrf_token: [] - summary: Create a new Conda package + summary: Add users to a team. tags: - - packages + - orgs x-codegen-request-body-name: data - /packages/{owner}/{repo}/upload/cran/: - post: - description: Create a new CRAN package - operationId: packages_upload_cran + put: + description: Replace all team members. + operationId: orgs_teams_members_update parameters: - in: path - name: owner + name: org required: true schema: type: string - in: path - name: repo + name: team required: true schema: type: string - requestBody: - $ref: '#/components/requestBodies/PackagesUploadCran' - content: - application/json: - schema: - example: - republish: true - package_file: x123456789a - tags: tags - properties: - package_file: - description: The primary file for the package. - example: x123456789a - type: string - republish: - description: If true, the uploaded package will overwrite any others - with the same attributes (e.g. same version); otherwise, it will - be flagged as a duplicate. - type: boolean - tags: - description: A comma-separated values list of tags to add to the - package. - type: string - required: - - package_file - title: PackagesUploadCran - type: object - required: false responses: - "201": + "204": content: - '*/*': + application/json: schema: - $ref: '#/components/schemas/CranPackageUpload' - description: Upload acknowledged and queued for synchronisation - "400": + $ref: '#/components/schemas/OrganizationTeamMembersResponse' + description: The team members were replaced. + "404": content: - '*/*': + application/json: schema: - $ref: '#/components/schemas/Status' - description: Request could not be processed (see detail) - "404": + $ref: '#/components/schemas/ErrorDetail' + description: Team not found. + "400": content: - '*/*': + application/json: schema: - $ref: '#/components/schemas/Status' - description: Namespace (owner) or repository not found + $ref: '#/components/schemas/ErrorDetail' + description: Request could not be processed (see detail). "422": content: - '*/*': + application/json: schema: - $ref: '#/components/schemas/Status' - description: Missing or invalid parameters (see detail) + $ref: '#/components/schemas/ErrorDetail' + description: Missing or invalid parameters (see detail). security: - - token: [] - apikey: [] - - csrf_token: [] - summary: Create a new CRAN package + summary: Replace all team members. tags: - - packages - x-codegen-request-body-name: data - /packages/{owner}/{repo}/upload/dart/: - post: - description: Create a new Dart package - operationId: packages_upload_dart + - orgs + /packages/{owner}/{repo}/: + get: + description: Get a list of all packages associated with repository. + operationId: packages_list parameters: - in: path name: owner @@ -3537,71 +2763,58 @@ paths: required: true schema: type: string - requestBody: - $ref: '#/components/requestBodies/PackagesUploadDart' - content: - application/json: - schema: - example: - republish: true - package_file: x123456789a - tags: tags - properties: - package_file: - description: The primary file for the package. - example: x123456789a - type: string - republish: - description: If true, the uploaded package will overwrite any others - with the same attributes (e.g. same version); otherwise, it will - be flagged as a duplicate. - type: boolean - tags: - description: A comma-separated values list of tags to add to the - package. - type: string - required: - - package_file - title: PackagesUploadDart - type: object - required: false + - description: A page number within the paginated result set. + in: query + name: page + schema: + type: integer + - description: Number of results to return per page. + in: query + name: page_size + schema: + type: integer + - description: "A search term for querying names, filenames, versions, distributions,\ + \ architectures, formats or statuses of packages." + in: query + name: query + schema: + type: string + - description: A field for sorting objects in ascending or descending order. + in: query + name: sort + schema: + default: -date + type: string responses: - "201": + "200": content: - '*/*': + application/json: schema: - $ref: '#/components/schemas/DartPackageUpload' - description: Upload acknowledged and queued for synchronisation + items: + $ref: '#/components/schemas/PackageResponse' + type: array + description: Retrieved the list of packages "400": content: - '*/*': + application/json: schema: - $ref: '#/components/schemas/Status' - description: Request could not be processed (see detail) - "404": - content: - '*/*': - schema: - $ref: '#/components/schemas/Status' - description: Namespace (owner) or repository not found + $ref: '#/components/schemas/ErrorDetail' + description: Request could not be processed (see detail). "422": content: - '*/*': + application/json: schema: - $ref: '#/components/schemas/Status' - description: Missing or invalid parameters (see detail) + $ref: '#/components/schemas/ErrorDetail' + description: Missing or invalid parameters (see detail). security: - - token: [] - apikey: [] - - csrf_token: [] - summary: Create a new Dart package + summary: Get a list of all packages associated with repository. tags: - packages - x-codegen-request-body-name: data - /packages/{owner}/{repo}/upload/deb/: + /packages/{owner}/{repo}/upload/alpine/: post: - description: Create a new Debian package - operationId: packages_upload_deb + description: Create a new Alpine package + operationId: packages_upload_alpine parameters: - in: path name: owner @@ -3614,88 +2827,46 @@ paths: schema: type: string requestBody: - $ref: '#/components/requestBodies/PackagesUploadDeb' content: application/json: schema: - example: - sources_file: y123456789 - republish: true - changes_file: y123456789 - distribution: ubuntu/xenial - package_file: y123456789 - tags: tags - properties: - changes_file: - description: The changes archive containing the changes made to - the source and debian packaging files - example: y123456789 - type: string - distribution: - description: The distribution to store the package for. - example: ubuntu/xenial - type: string - package_file: - description: The primary file for the package. - example: y123456789 - type: string - republish: - description: If true, the uploaded package will overwrite any others - with the same attributes (e.g. same version); otherwise, it will - be flagged as a duplicate. - type: boolean - sources_file: - description: The sources archive containing the source code for - the binary - example: y123456789 - type: string - tags: - description: A comma-separated values list of tags to add to the - package. - type: string - required: - - distribution - - package_file - title: PackagesUploadDeb - type: object + $ref: '#/components/schemas/AlpinePackageUploadRequest' required: false responses: "201": content: - '*/*': - schema: - $ref: '#/components/schemas/DebPackageUpload' - description: Upload acknowledged and queued for synchronisation - "400": - content: - '*/*': + application/json: schema: - $ref: '#/components/schemas/Status' - description: Request could not be processed (see detail) + $ref: '#/components/schemas/AlpinePackageUploadResponse' + description: Upload acknowledged and queued for synchronisation. "404": content: - '*/*': + application/json: schema: - $ref: '#/components/schemas/Status' + $ref: '#/components/schemas/ErrorDetail' description: Namespace (owner) or repository not found + "400": + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorDetail' + description: Request could not be processed (see detail). "422": content: - '*/*': + application/json: schema: - $ref: '#/components/schemas/Status' - description: Missing or invalid parameters (see detail) + $ref: '#/components/schemas/ErrorDetail' + description: Missing or invalid parameters (see detail). security: - - token: [] - apikey: [] - - csrf_token: [] - summary: Create a new Debian package + summary: Create a new Alpine package tags: - packages x-codegen-request-body-name: data - /packages/{owner}/{repo}/upload/docker/: + /packages/{owner}/{repo}/upload/cargo/: post: - description: Create a new Docker package - operationId: packages_upload_docker + description: Create a new Cargo package + operationId: packages_upload_cargo parameters: - in: path name: owner @@ -3708,70 +2879,46 @@ paths: schema: type: string requestBody: - $ref: '#/components/requestBodies/PackagesUploadDocker' content: application/json: schema: - example: - republish: true - package_file: y123456789 - tags: tags - properties: - package_file: - description: The primary file for the package. - example: y123456789 - type: string - republish: - description: If true, the uploaded package will overwrite any others - with the same attributes (e.g. same version); otherwise, it will - be flagged as a duplicate. - type: boolean - tags: - description: A comma-separated values list of tags to add to the - package. - type: string - required: - - package_file - title: PackagesUploadDocker - type: object + $ref: '#/components/schemas/CargoPackageUploadRequest' required: false responses: "201": content: - '*/*': - schema: - $ref: '#/components/schemas/DockerPackageUpload' - description: Upload acknowledged and queued for synchronisation - "400": - content: - '*/*': + application/json: schema: - $ref: '#/components/schemas/Status' - description: Request could not be processed (see detail) + $ref: '#/components/schemas/CargoPackageUploadResponse' + description: Upload acknowledged and queued for synchronisation. "404": content: - '*/*': + application/json: schema: - $ref: '#/components/schemas/Status' + $ref: '#/components/schemas/ErrorDetail' description: Namespace (owner) or repository not found + "400": + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorDetail' + description: Request could not be processed (see detail). "422": content: - '*/*': + application/json: schema: - $ref: '#/components/schemas/Status' - description: Missing or invalid parameters (see detail) + $ref: '#/components/schemas/ErrorDetail' + description: Missing or invalid parameters (see detail). security: - - token: [] - apikey: [] - - csrf_token: [] - summary: Create a new Docker package + summary: Create a new Cargo package tags: - packages x-codegen-request-body-name: data - /packages/{owner}/{repo}/upload/go/: + /packages/{owner}/{repo}/upload/cocoapods/: post: - description: Create a new Go package - operationId: packages_upload_go + description: Create a new CocoaPods package + operationId: packages_upload_cocoapods parameters: - in: path name: owner @@ -3784,70 +2931,46 @@ paths: schema: type: string requestBody: - $ref: '#/components/requestBodies/PackagesUploadGo' content: application/json: schema: - example: - republish: true - package_file: x123456789a - tags: tags - properties: - package_file: - description: The primary file for the package. - example: x123456789a - type: string - republish: - description: If true, the uploaded package will overwrite any others - with the same attributes (e.g. same version); otherwise, it will - be flagged as a duplicate. - type: boolean - tags: - description: A comma-separated values list of tags to add to the - package. - type: string - required: - - package_file - title: PackagesUploadGo - type: object + $ref: '#/components/schemas/CocoapodsPackageUploadRequest' required: false responses: "201": content: - '*/*': - schema: - $ref: '#/components/schemas/GoPackageUpload' - description: Upload acknowledged and queued for synchronisation - "400": - content: - '*/*': + application/json: schema: - $ref: '#/components/schemas/Status' - description: Request could not be processed (see detail) + $ref: '#/components/schemas/CocoapodsPackageUploadResponse' + description: Upload acknowledged and queued for synchronisation. "404": content: - '*/*': + application/json: schema: - $ref: '#/components/schemas/Status' + $ref: '#/components/schemas/ErrorDetail' description: Namespace (owner) or repository not found + "400": + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorDetail' + description: Request could not be processed (see detail). "422": content: - '*/*': + application/json: schema: - $ref: '#/components/schemas/Status' - description: Missing or invalid parameters (see detail) + $ref: '#/components/schemas/ErrorDetail' + description: Missing or invalid parameters (see detail). security: - - token: [] - apikey: [] - - csrf_token: [] - summary: Create a new Go package + summary: Create a new CocoaPods package tags: - packages x-codegen-request-body-name: data - /packages/{owner}/{repo}/upload/helm/: + /packages/{owner}/{repo}/upload/composer/: post: - description: Create a new Helm package - operationId: packages_upload_helm + description: Create a new Composer package + operationId: packages_upload_composer parameters: - in: path name: owner @@ -3860,70 +2983,46 @@ paths: schema: type: string requestBody: - $ref: '#/components/requestBodies/PackagesUploadHelm' content: application/json: schema: - example: - republish: true - package_file: x123456789a - tags: tags - properties: - package_file: - description: The primary file for the package. - example: x123456789a - type: string - republish: - description: If true, the uploaded package will overwrite any others - with the same attributes (e.g. same version); otherwise, it will - be flagged as a duplicate. - type: boolean - tags: - description: A comma-separated values list of tags to add to the - package. - type: string - required: - - package_file - title: PackagesUploadHelm - type: object + $ref: '#/components/schemas/ComposerPackageUploadRequest' required: false responses: "201": content: - '*/*': - schema: - $ref: '#/components/schemas/HelmPackageUpload' - description: Upload acknowledged and queued for synchronisation - "400": - content: - '*/*': + application/json: schema: - $ref: '#/components/schemas/Status' - description: Request could not be processed (see detail) + $ref: '#/components/schemas/ComposerPackageUploadResponse' + description: Upload acknowledged and queued for synchronisation. "404": content: - '*/*': + application/json: schema: - $ref: '#/components/schemas/Status' + $ref: '#/components/schemas/ErrorDetail' description: Namespace (owner) or repository not found + "400": + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorDetail' + description: Request could not be processed (see detail). "422": content: - '*/*': + application/json: schema: - $ref: '#/components/schemas/Status' - description: Missing or invalid parameters (see detail) + $ref: '#/components/schemas/ErrorDetail' + description: Missing or invalid parameters (see detail). security: - - token: [] - apikey: [] - - csrf_token: [] - summary: Create a new Helm package + summary: Create a new Composer package tags: - packages x-codegen-request-body-name: data - /packages/{owner}/{repo}/upload/luarocks/: + /packages/{owner}/{repo}/upload/conan/: post: - description: Create a new LuaRocks package - operationId: packages_upload_luarocks + description: Create a new Conan package + operationId: packages_upload_conan parameters: - in: path name: owner @@ -3936,70 +3035,46 @@ paths: schema: type: string requestBody: - $ref: '#/components/requestBodies/PackagesUploadLuarocks' content: application/json: schema: - example: - republish: true - package_file: x123456789a - tags: tags - properties: - package_file: - description: The primary file for the package. - example: x123456789a - type: string - republish: - description: If true, the uploaded package will overwrite any others - with the same attributes (e.g. same version); otherwise, it will - be flagged as a duplicate. - type: boolean - tags: - description: A comma-separated values list of tags to add to the - package. - type: string - required: - - package_file - title: PackagesUploadLuarocks - type: object + $ref: '#/components/schemas/ConanPackageUploadRequest' required: false responses: "201": content: - '*/*': - schema: - $ref: '#/components/schemas/LuarocksPackageUpload' - description: Upload acknowledged and queued for synchronisation - "400": - content: - '*/*': + application/json: schema: - $ref: '#/components/schemas/Status' - description: Request could not be processed (see detail) + $ref: '#/components/schemas/ConanPackageUploadResponse' + description: Upload acknowledged and queued for synchronisation. "404": content: - '*/*': + application/json: schema: - $ref: '#/components/schemas/Status' + $ref: '#/components/schemas/ErrorDetail' description: Namespace (owner) or repository not found + "400": + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorDetail' + description: Request could not be processed (see detail). "422": content: - '*/*': + application/json: schema: - $ref: '#/components/schemas/Status' - description: Missing or invalid parameters (see detail) + $ref: '#/components/schemas/ErrorDetail' + description: Missing or invalid parameters (see detail). security: - - token: [] - apikey: [] - - csrf_token: [] - summary: Create a new LuaRocks package + summary: Create a new Conan package tags: - packages x-codegen-request-body-name: data - /packages/{owner}/{repo}/upload/maven/: + /packages/{owner}/{repo}/upload/conda/: post: - description: Create a new Maven package - operationId: packages_upload_maven + description: Create a new Conda package + operationId: packages_upload_conda parameters: - in: path name: owner @@ -4012,108 +3087,46 @@ paths: schema: type: string requestBody: - $ref: '#/components/requestBodies/PackagesUploadMaven' content: application/json: schema: - example: - sources_file: y1234456789d - tests_file: y1234456789e - republish: true - group_id: io.cloudsmith.example - javadoc_file: y1234456789c - packaging: packaging - artifact_id: cloudsmith-example - package_file: y1234456789a - version: version - pom_file: y1234456789b - tags: tags - properties: - artifact_id: - description: The ID of the artifact. - example: cloudsmith-example - type: string - group_id: - description: Artifact's group ID. - example: io.cloudsmith.example - type: string - javadoc_file: - description: Adds bundled Java documentation to the Maven package - example: y1234456789c - type: string - package_file: - description: The primary file for the package. - example: y1234456789a - type: string - packaging: - description: Artifact's Maven packaging type. - type: string - pom_file: - description: The POM file is an XML file containing the Maven coordinates. - example: y1234456789b - type: string - republish: - description: If true, the uploaded package will overwrite any others - with the same attributes (e.g. same version); otherwise, it will - be flagged as a duplicate. - type: boolean - sources_file: - description: Adds bundled Java source code to the Maven package. - example: y1234456789d - type: string - tags: - description: A comma-separated values list of tags to add to the - package. - type: string - tests_file: - description: Adds bundled Java tests to the Maven package. - example: y1234456789e - type: string - version: - description: The raw version for this package. - type: string - required: - - package_file - title: PackagesUploadMaven - type: object + $ref: '#/components/schemas/CondaPackageUploadRequest' required: false responses: "201": content: - '*/*': - schema: - $ref: '#/components/schemas/MavenPackageUpload' - description: Upload acknowledged and queued for synchronisation - "400": - content: - '*/*': + application/json: schema: - $ref: '#/components/schemas/Status' - description: Request could not be processed (see detail) + $ref: '#/components/schemas/CondaPackageUploadResponse' + description: Upload acknowledged and queued for synchronisation. "404": content: - '*/*': + application/json: schema: - $ref: '#/components/schemas/Status' + $ref: '#/components/schemas/ErrorDetail' description: Namespace (owner) or repository not found + "400": + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorDetail' + description: Request could not be processed (see detail). "422": content: - '*/*': + application/json: schema: - $ref: '#/components/schemas/Status' - description: Missing or invalid parameters (see detail) + $ref: '#/components/schemas/ErrorDetail' + description: Missing or invalid parameters (see detail). security: - - token: [] - apikey: [] - - csrf_token: [] - summary: Create a new Maven package + summary: Create a new Conda package tags: - packages x-codegen-request-body-name: data - /packages/{owner}/{repo}/upload/npm/: + /packages/{owner}/{repo}/upload/cran/: post: - description: Create a new npm package - operationId: packages_upload_npm + description: Create a new CRAN package + operationId: packages_upload_cran parameters: - in: path name: owner @@ -4126,77 +3139,46 @@ paths: schema: type: string requestBody: - $ref: '#/components/requestBodies/PackagesUploadNpm' content: application/json: schema: - example: - republish: true - npm_dist_tag: latest - package_file: y123456789 - tags: tags - properties: - npm_dist_tag: - description: The default npm dist-tag for this package/version - - This will replace any other package/version if they are using - the same tag. - example: latest - type: string - package_file: - description: The primary file for the package. - example: y123456789 - type: string - republish: - description: If true, the uploaded package will overwrite any others - with the same attributes (e.g. same version); otherwise, it will - be flagged as a duplicate. - type: boolean - tags: - description: A comma-separated values list of tags to add to the - package. - type: string - required: - - package_file - title: PackagesUploadNpm - type: object + $ref: '#/components/schemas/CranPackageUploadRequest' required: false responses: "201": content: - '*/*': - schema: - $ref: '#/components/schemas/NpmPackageUpload' - description: Upload acknowledged and queued for synchronisation - "400": - content: - '*/*': + application/json: schema: - $ref: '#/components/schemas/Status' - description: Request could not be processed (see detail) + $ref: '#/components/schemas/CranPackageUploadResponse' + description: Upload acknowledged and queued for synchronisation. "404": content: - '*/*': + application/json: schema: - $ref: '#/components/schemas/Status' + $ref: '#/components/schemas/ErrorDetail' description: Namespace (owner) or repository not found + "400": + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorDetail' + description: Request could not be processed (see detail). "422": content: - '*/*': + application/json: schema: - $ref: '#/components/schemas/Status' - description: Missing or invalid parameters (see detail) + $ref: '#/components/schemas/ErrorDetail' + description: Missing or invalid parameters (see detail). security: - - token: [] - apikey: [] - - csrf_token: [] - summary: Create a new npm package + summary: Create a new CRAN package tags: - packages x-codegen-request-body-name: data - /packages/{owner}/{repo}/upload/nuget/: + /packages/{owner}/{repo}/upload/dart/: post: - description: Create a new NuGet package - operationId: packages_upload_nuget + description: Create a new Dart package + operationId: packages_upload_dart parameters: - in: path name: owner @@ -4209,75 +3191,46 @@ paths: schema: type: string requestBody: - $ref: '#/components/requestBodies/PackagesUploadNuget' content: application/json: schema: - example: - republish: true - symbols_file: y1234456789b - package_file: y1234456789a - tags: tags - properties: - package_file: - description: The primary file for the package. - example: y1234456789a - type: string - republish: - description: If true, the uploaded package will overwrite any others - with the same attributes (e.g. same version); otherwise, it will - be flagged as a duplicate. - type: boolean - symbols_file: - description: Attaches a symbols file to the package. - example: y1234456789b - type: string - tags: - description: A comma-separated values list of tags to add to the - package. - type: string - required: - - package_file - title: PackagesUploadNuget - type: object + $ref: '#/components/schemas/DartPackageUploadRequest' required: false responses: "201": content: - '*/*': - schema: - $ref: '#/components/schemas/NugetPackageUpload' - description: Upload acknowledged and queued for synchronisation - "400": - content: - '*/*': + application/json: schema: - $ref: '#/components/schemas/Status' - description: Request could not be processed (see detail) + $ref: '#/components/schemas/DartPackageUploadResponse' + description: Upload acknowledged and queued for synchronisation. "404": content: - '*/*': + application/json: schema: - $ref: '#/components/schemas/Status' + $ref: '#/components/schemas/ErrorDetail' description: Namespace (owner) or repository not found + "400": + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorDetail' + description: Request could not be processed (see detail). "422": content: - '*/*': + application/json: schema: - $ref: '#/components/schemas/Status' - description: Missing or invalid parameters (see detail) + $ref: '#/components/schemas/ErrorDetail' + description: Missing or invalid parameters (see detail). security: - - token: [] - apikey: [] - - csrf_token: [] - summary: Create a new NuGet package + summary: Create a new Dart package tags: - packages x-codegen-request-body-name: data - /packages/{owner}/{repo}/upload/p2/: + /packages/{owner}/{repo}/upload/deb/: post: - description: Create a new P2 package - operationId: packages_upload_p2 + description: Create a new Debian package + operationId: packages_upload_deb parameters: - in: path name: owner @@ -4290,69 +3243,46 @@ paths: schema: type: string requestBody: - $ref: '#/components/requestBodies/PackagesUploadP2' content: application/json: schema: - example: - republish: true - package_file: package_file - tags: tags - properties: - package_file: - description: The primary file for the package. - type: string - republish: - description: If true, the uploaded package will overwrite any others - with the same attributes (e.g. same version); otherwise, it will - be flagged as a duplicate. - type: boolean - tags: - description: A comma-separated values list of tags to add to the - package. - type: string - required: - - package_file - title: PackagesUploadP2 - type: object + $ref: '#/components/schemas/DebPackageUploadRequest' required: false responses: "201": content: - '*/*': - schema: - $ref: '#/components/schemas/P2PackageUpload' - description: Upload acknowledged and queued for synchronisation - "400": - content: - '*/*': + application/json: schema: - $ref: '#/components/schemas/Status' - description: Request could not be processed (see detail) + $ref: '#/components/schemas/DebPackageUploadResponse' + description: Upload acknowledged and queued for synchronisation. "404": content: - '*/*': + application/json: schema: - $ref: '#/components/schemas/Status' + $ref: '#/components/schemas/ErrorDetail' description: Namespace (owner) or repository not found + "400": + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorDetail' + description: Request could not be processed (see detail). "422": content: - '*/*': + application/json: schema: - $ref: '#/components/schemas/Status' - description: Missing or invalid parameters (see detail) + $ref: '#/components/schemas/ErrorDetail' + description: Missing or invalid parameters (see detail). security: - - token: [] - apikey: [] - - csrf_token: [] - summary: Create a new P2 package + summary: Create a new Debian package tags: - packages x-codegen-request-body-name: data - /packages/{owner}/{repo}/upload/python/: + /packages/{owner}/{repo}/upload/docker/: post: - description: Create a new Python package - operationId: packages_upload_python + description: Create a new Docker package + operationId: packages_upload_docker parameters: - in: path name: owner @@ -4365,70 +3295,46 @@ paths: schema: type: string requestBody: - $ref: '#/components/requestBodies/PackagesUploadPython' content: application/json: schema: - example: - republish: true - package_file: y123456789 - tags: tags - properties: - package_file: - description: The primary file for the package. - example: y123456789 - type: string - republish: - description: If true, the uploaded package will overwrite any others - with the same attributes (e.g. same version); otherwise, it will - be flagged as a duplicate. - type: boolean - tags: - description: A comma-separated values list of tags to add to the - package. - type: string - required: - - package_file - title: PackagesUploadPython - type: object + $ref: '#/components/schemas/DockerPackageUploadRequest' required: false responses: "201": content: - '*/*': - schema: - $ref: '#/components/schemas/PythonPackageUpload' - description: Upload acknowledged and queued for synchronisation - "400": - content: - '*/*': + application/json: schema: - $ref: '#/components/schemas/Status' - description: Request could not be processed (see detail) + $ref: '#/components/schemas/DockerPackageUploadResponse' + description: Upload acknowledged and queued for synchronisation. "404": content: - '*/*': + application/json: schema: - $ref: '#/components/schemas/Status' + $ref: '#/components/schemas/ErrorDetail' description: Namespace (owner) or repository not found + "400": + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorDetail' + description: Request could not be processed (see detail). "422": content: - '*/*': + application/json: schema: - $ref: '#/components/schemas/Status' - description: Missing or invalid parameters (see detail) + $ref: '#/components/schemas/ErrorDetail' + description: Missing or invalid parameters (see detail). security: - - token: [] - apikey: [] - - csrf_token: [] - summary: Create a new Python package + summary: Create a new Docker package tags: - packages x-codegen-request-body-name: data - /packages/{owner}/{repo}/upload/raw/: + /packages/{owner}/{repo}/upload/go/: post: - description: Create a new Raw package - operationId: packages_upload_raw + description: Create a new Go package + operationId: packages_upload_go parameters: - in: path name: owner @@ -4441,97 +3347,46 @@ paths: schema: type: string requestBody: - $ref: '#/components/requestBodies/PackagesUploadRaw' content: application/json: schema: - example: - summary: My Package File - content_type: content_type - republish: true - name: my-package - description: Everything about packaging files. - package_file: y123456789 - version: "1.0" - tags: tags - properties: - content_type: - description: A custom content/media (also known as MIME) type to - be sent when downloading this file. By default Cloudsmith will - attempt to detect the type, but if you need to override it, you - can specify it here. - type: string - description: - description: A textual description of this package. - example: Everything about packaging files. - type: string - name: - description: The name of this package. - example: my-package - type: string - package_file: - description: The primary file for the package. - example: y123456789 - type: string - republish: - description: If true, the uploaded package will overwrite any others - with the same attributes (e.g. same version); otherwise, it will - be flagged as a duplicate. - type: boolean - summary: - description: A one-liner synopsis of this package. - example: My Package File - type: string - tags: - description: A comma-separated values list of tags to add to the - package. - type: string - version: - description: The raw version for this package. - example: "1.0" - type: string - required: - - package_file - title: PackagesUploadRaw - type: object + $ref: '#/components/schemas/GoPackageUploadRequest' required: false responses: "201": content: - '*/*': - schema: - $ref: '#/components/schemas/RawPackageUpload' - description: Upload acknowledged and queued for synchronisation - "400": - content: - '*/*': + application/json: schema: - $ref: '#/components/schemas/Status' - description: Request could not be processed (see detail) + $ref: '#/components/schemas/GoPackageUploadResponse' + description: Upload acknowledged and queued for synchronisation. "404": content: - '*/*': + application/json: schema: - $ref: '#/components/schemas/Status' + $ref: '#/components/schemas/ErrorDetail' description: Namespace (owner) or repository not found + "400": + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorDetail' + description: Request could not be processed (see detail). "422": content: - '*/*': + application/json: schema: - $ref: '#/components/schemas/Status' - description: Missing or invalid parameters (see detail) + $ref: '#/components/schemas/ErrorDetail' + description: Missing or invalid parameters (see detail). security: - - token: [] - apikey: [] - - csrf_token: [] - summary: Create a new Raw package + summary: Create a new Go package tags: - packages x-codegen-request-body-name: data - /packages/{owner}/{repo}/upload/rpm/: + /packages/{owner}/{repo}/upload/helm/: post: - description: Create a new RedHat package - operationId: packages_upload_rpm + description: Create a new Helm package + operationId: packages_upload_helm parameters: - in: path name: owner @@ -4544,76 +3399,46 @@ paths: schema: type: string requestBody: - $ref: '#/components/requestBodies/PackagesUploadRpm' content: application/json: schema: - example: - republish: true - distribution: el/7 - package_file: y123456789 - tags: tags - properties: - distribution: - description: The distribution to store the package for. - example: el/7 - type: string - package_file: - description: The primary file for the package. - example: y123456789 - type: string - republish: - description: If true, the uploaded package will overwrite any others - with the same attributes (e.g. same version); otherwise, it will - be flagged as a duplicate. - type: boolean - tags: - description: A comma-separated values list of tags to add to the - package. - type: string - required: - - distribution - - package_file - title: PackagesUploadRpm - type: object + $ref: '#/components/schemas/HelmPackageUploadRequest' required: false responses: "201": content: - '*/*': - schema: - $ref: '#/components/schemas/RpmPackageUpload' - description: Upload acknowledged and queued for synchronisation - "400": - content: - '*/*': + application/json: schema: - $ref: '#/components/schemas/Status' - description: Request could not be processed (see detail) + $ref: '#/components/schemas/HelmPackageUploadResponse' + description: Upload acknowledged and queued for synchronisation. "404": content: - '*/*': + application/json: schema: - $ref: '#/components/schemas/Status' + $ref: '#/components/schemas/ErrorDetail' description: Namespace (owner) or repository not found + "400": + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorDetail' + description: Request could not be processed (see detail). "422": content: - '*/*': + application/json: schema: - $ref: '#/components/schemas/Status' - description: Missing or invalid parameters (see detail) + $ref: '#/components/schemas/ErrorDetail' + description: Missing or invalid parameters (see detail). security: - - token: [] - apikey: [] - - csrf_token: [] - summary: Create a new RedHat package + summary: Create a new Helm package tags: - packages x-codegen-request-body-name: data - /packages/{owner}/{repo}/upload/ruby/: + /packages/{owner}/{repo}/upload/luarocks/: post: - description: Create a new Ruby package - operationId: packages_upload_ruby + description: Create a new LuaRocks package + operationId: packages_upload_luarocks parameters: - in: path name: owner @@ -4626,70 +3451,46 @@ paths: schema: type: string requestBody: - $ref: '#/components/requestBodies/PackagesUploadRuby' content: application/json: schema: - example: - republish: true - package_file: y123456789 - tags: tags - properties: - package_file: - description: The primary file for the package. - example: y123456789 - type: string - republish: - description: If true, the uploaded package will overwrite any others - with the same attributes (e.g. same version); otherwise, it will - be flagged as a duplicate. - type: boolean - tags: - description: A comma-separated values list of tags to add to the - package. - type: string - required: - - package_file - title: PackagesUploadRuby - type: object + $ref: '#/components/schemas/LuarocksPackageUploadRequest' required: false responses: "201": content: - '*/*': - schema: - $ref: '#/components/schemas/RubyPackageUpload' - description: Upload acknowledged and queued for synchronisation - "400": - content: - '*/*': + application/json: schema: - $ref: '#/components/schemas/Status' - description: Request could not be processed (see detail) + $ref: '#/components/schemas/LuarocksPackageUploadResponse' + description: Upload acknowledged and queued for synchronisation. "404": content: - '*/*': + application/json: schema: - $ref: '#/components/schemas/Status' + $ref: '#/components/schemas/ErrorDetail' description: Namespace (owner) or repository not found + "400": + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorDetail' + description: Request could not be processed (see detail). "422": content: - '*/*': + application/json: schema: - $ref: '#/components/schemas/Status' - description: Missing or invalid parameters (see detail) + $ref: '#/components/schemas/ErrorDetail' + description: Missing or invalid parameters (see detail). security: - - token: [] - apikey: [] - - csrf_token: [] - summary: Create a new Ruby package + summary: Create a new LuaRocks package tags: - packages x-codegen-request-body-name: data - /packages/{owner}/{repo}/upload/terraform/: + /packages/{owner}/{repo}/upload/maven/: post: - description: Create a new Terraform package - operationId: packages_upload_terraform + description: Create a new Maven package + operationId: packages_upload_maven parameters: - in: path name: owner @@ -4702,70 +3503,46 @@ paths: schema: type: string requestBody: - $ref: '#/components/requestBodies/PackagesUploadTerraform' content: application/json: schema: - example: - republish: true - package_file: z123456789a - tags: tags - properties: - package_file: - description: The primary file for the package. - example: z123456789a - type: string - republish: - description: If true, the uploaded package will overwrite any others - with the same attributes (e.g. same version); otherwise, it will - be flagged as a duplicate. - type: boolean - tags: - description: A comma-separated values list of tags to add to the - package. - type: string - required: - - package_file - title: PackagesUploadTerraform - type: object + $ref: '#/components/schemas/MavenPackageUploadRequest' required: false responses: "201": content: - '*/*': - schema: - $ref: '#/components/schemas/TerraformPackageUpload' - description: Upload acknowledged and queued for synchronisation - "400": - content: - '*/*': + application/json: schema: - $ref: '#/components/schemas/Status' - description: Request could not be processed (see detail) + $ref: '#/components/schemas/MavenPackageUploadResponse' + description: Upload acknowledged and queued for synchronisation. "404": content: - '*/*': + application/json: schema: - $ref: '#/components/schemas/Status' + $ref: '#/components/schemas/ErrorDetail' description: Namespace (owner) or repository not found + "400": + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorDetail' + description: Request could not be processed (see detail). "422": content: - '*/*': + application/json: schema: - $ref: '#/components/schemas/Status' - description: Missing or invalid parameters (see detail) + $ref: '#/components/schemas/ErrorDetail' + description: Missing or invalid parameters (see detail). security: - - token: [] - apikey: [] - - csrf_token: [] - summary: Create a new Terraform package + summary: Create a new Maven package tags: - packages x-codegen-request-body-name: data - /packages/{owner}/{repo}/upload/vagrant/: + /packages/{owner}/{repo}/upload/npm/: post: - description: Create a new Vagrant package - operationId: packages_upload_vagrant + description: Create a new npm package + operationId: packages_upload_npm parameters: - in: path name: owner @@ -4778,88 +3555,46 @@ paths: schema: type: string requestBody: - $ref: '#/components/requestBodies/PackagesUploadVagrant' content: application/json: schema: - example: - republish: true - provider: virtualbox - name: tcl - package_file: y123456789x - version: "1.0" - tags: tags - properties: - name: - description: The name of this package. - example: tcl - type: string - package_file: - description: The primary file for the package. - example: y123456789x - type: string - provider: - description: The virtual machine provider for the box. - example: virtualbox - type: string - republish: - description: If true, the uploaded package will overwrite any others - with the same attributes (e.g. same version); otherwise, it will - be flagged as a duplicate. - type: boolean - tags: - description: A comma-separated values list of tags to add to the - package. - type: string - version: - description: The raw version for this package. - example: "1.0" - type: string - required: - - name - - package_file - - provider - - version - title: PackagesUploadVagrant - type: object + $ref: '#/components/schemas/NpmPackageUploadRequest' required: false responses: "201": content: - '*/*': - schema: - $ref: '#/components/schemas/VagrantPackageUpload' - description: Upload acknowledged and queued for synchronisation - "400": - content: - '*/*': + application/json: schema: - $ref: '#/components/schemas/Status' - description: Request could not be processed (see detail) + $ref: '#/components/schemas/NpmPackageUploadResponse' + description: Upload acknowledged and queued for synchronisation. "404": content: - '*/*': + application/json: schema: - $ref: '#/components/schemas/Status' + $ref: '#/components/schemas/ErrorDetail' description: Namespace (owner) or repository not found + "400": + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorDetail' + description: Request could not be processed (see detail). "422": content: - '*/*': + application/json: schema: - $ref: '#/components/schemas/Status' - description: Missing or invalid parameters (see detail) + $ref: '#/components/schemas/ErrorDetail' + description: Missing or invalid parameters (see detail). security: - - token: [] - apikey: [] - - csrf_token: [] - summary: Create a new Vagrant package + summary: Create a new npm package tags: - packages x-codegen-request-body-name: data - /packages/{owner}/{repo}/validate-upload/alpine/: + /packages/{owner}/{repo}/upload/nuget/: post: - description: Validate parameters for create Alpine package - operationId: packages_validate-upload_alpine + description: Create a new NuGet package + operationId: packages_upload_nuget parameters: - in: path name: owner @@ -4872,68 +3607,46 @@ paths: schema: type: string requestBody: - $ref: '#/components/requestBodies/PackagesValidate_uploadAlpine' content: application/json: schema: - properties: - distribution: - description: The distribution to store the package for. - example: alpine/v3.8 - type: string - package_file: - description: The primary file for the package. - example: a123456789 - type: string - republish: - description: If true, the uploaded package will overwrite any others - with the same attributes (e.g. same version); otherwise, it will - be flagged as a duplicate. - type: boolean - tags: - description: A comma-separated values list of tags to add to the - package. - type: string - required: - - distribution - - package_file - title: PackagesValidate-uploadAlpine - type: object + $ref: '#/components/schemas/NugetPackageUploadRequest' required: false responses: - "204": - content: {} - description: Validation was successful, parameters are OK - "400": + "201": content: - '*/*': + application/json: schema: - $ref: '#/components/schemas/Status' - description: Request could not be processed (see detail) + $ref: '#/components/schemas/NugetPackageUploadResponse' + description: Upload acknowledged and queued for synchronisation. "404": content: - '*/*': + application/json: schema: - $ref: '#/components/schemas/Status' + $ref: '#/components/schemas/ErrorDetail' description: Namespace (owner) or repository not found + "400": + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorDetail' + description: Request could not be processed (see detail). "422": content: - '*/*': + application/json: schema: - $ref: '#/components/schemas/Status' - description: Missing or invalid parameters (see detail) + $ref: '#/components/schemas/ErrorDetail' + description: Missing or invalid parameters (see detail). security: - - token: [] - apikey: [] - - csrf_token: [] - summary: Validate parameters for create Alpine package + summary: Create a new NuGet package tags: - packages x-codegen-request-body-name: data - /packages/{owner}/{repo}/validate-upload/cargo/: + /packages/{owner}/{repo}/upload/p2/: post: - description: Validate parameters for create Cargo package - operationId: packages_validate-upload_cargo + description: Create a new P2 package + operationId: packages_upload_p2 parameters: - in: path name: owner @@ -4946,63 +3659,46 @@ paths: schema: type: string requestBody: - $ref: '#/components/requestBodies/PackagesValidate_uploadCargo' content: application/json: schema: - properties: - package_file: - description: The primary file for the package. - example: x123456789a - type: string - republish: - description: If true, the uploaded package will overwrite any others - with the same attributes (e.g. same version); otherwise, it will - be flagged as a duplicate. - type: boolean - tags: - description: A comma-separated values list of tags to add to the - package. - type: string - required: - - package_file - title: PackagesValidate-uploadCargo - type: object + $ref: '#/components/schemas/P2PackageUploadRequest' required: false responses: - "204": - content: {} - description: Validation was successful, parameters are OK - "400": + "201": content: - '*/*': + application/json: schema: - $ref: '#/components/schemas/Status' - description: Request could not be processed (see detail) + $ref: '#/components/schemas/P2PackageUploadResponse' + description: Upload acknowledged and queued for synchronisation. "404": content: - '*/*': + application/json: schema: - $ref: '#/components/schemas/Status' + $ref: '#/components/schemas/ErrorDetail' description: Namespace (owner) or repository not found + "400": + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorDetail' + description: Request could not be processed (see detail). "422": content: - '*/*': + application/json: schema: - $ref: '#/components/schemas/Status' - description: Missing or invalid parameters (see detail) + $ref: '#/components/schemas/ErrorDetail' + description: Missing or invalid parameters (see detail). security: - - token: [] - apikey: [] - - csrf_token: [] - summary: Validate parameters for create Cargo package + summary: Create a new P2 package tags: - packages x-codegen-request-body-name: data - /packages/{owner}/{repo}/validate-upload/cocoapods/: + /packages/{owner}/{repo}/upload/python/: post: - description: Validate parameters for create CocoaPods package - operationId: packages_validate-upload_cocoapods + description: Create a new Python package + operationId: packages_upload_python parameters: - in: path name: owner @@ -5015,63 +3711,46 @@ paths: schema: type: string requestBody: - $ref: '#/components/requestBodies/PackagesValidate_uploadCocoapods' content: application/json: schema: - properties: - package_file: - description: The primary file for the package. - example: z123456789 - type: string - republish: - description: If true, the uploaded package will overwrite any others - with the same attributes (e.g. same version); otherwise, it will - be flagged as a duplicate. - type: boolean - tags: - description: A comma-separated values list of tags to add to the - package. - type: string - required: - - package_file - title: PackagesValidate-uploadCocoapods - type: object + $ref: '#/components/schemas/PythonPackageUploadRequest' required: false responses: - "204": - content: {} - description: Validation was successful, parameters are OK - "400": + "201": content: - '*/*': + application/json: schema: - $ref: '#/components/schemas/Status' - description: Request could not be processed (see detail) + $ref: '#/components/schemas/PythonPackageUploadResponse' + description: Upload acknowledged and queued for synchronisation. "404": content: - '*/*': + application/json: schema: - $ref: '#/components/schemas/Status' + $ref: '#/components/schemas/ErrorDetail' description: Namespace (owner) or repository not found + "400": + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorDetail' + description: Request could not be processed (see detail). "422": content: - '*/*': + application/json: schema: - $ref: '#/components/schemas/Status' - description: Missing or invalid parameters (see detail) + $ref: '#/components/schemas/ErrorDetail' + description: Missing or invalid parameters (see detail). security: - - token: [] - apikey: [] - - csrf_token: [] - summary: Validate parameters for create CocoaPods package + summary: Create a new Python package tags: - packages x-codegen-request-body-name: data - /packages/{owner}/{repo}/validate-upload/composer/: + /packages/{owner}/{repo}/upload/raw/: post: - description: Validate parameters for create Composer package - operationId: packages_validate-upload_composer + description: Create a new Raw package + operationId: packages_upload_raw parameters: - in: path name: owner @@ -5084,63 +3763,46 @@ paths: schema: type: string requestBody: - $ref: '#/components/requestBodies/PackagesValidate_uploadComposer' content: application/json: schema: - properties: - package_file: - description: The primary file for the package. - example: y123456789 - type: string - republish: - description: If true, the uploaded package will overwrite any others - with the same attributes (e.g. same version); otherwise, it will - be flagged as a duplicate. - type: boolean - tags: - description: A comma-separated values list of tags to add to the - package. - type: string - required: - - package_file - title: PackagesValidate-uploadComposer - type: object + $ref: '#/components/schemas/RawPackageUploadRequest' required: false responses: - "204": - content: {} - description: Validation was successful, parameters are OK - "400": + "201": content: - '*/*': + application/json: schema: - $ref: '#/components/schemas/Status' - description: Request could not be processed (see detail) + $ref: '#/components/schemas/RawPackageUploadResponse' + description: Upload acknowledged and queued for synchronisation. "404": content: - '*/*': + application/json: schema: - $ref: '#/components/schemas/Status' + $ref: '#/components/schemas/ErrorDetail' description: Namespace (owner) or repository not found + "400": + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorDetail' + description: Request could not be processed (see detail). "422": content: - '*/*': + application/json: schema: - $ref: '#/components/schemas/Status' - description: Missing or invalid parameters (see detail) + $ref: '#/components/schemas/ErrorDetail' + description: Missing or invalid parameters (see detail). security: - - token: [] - apikey: [] - - csrf_token: [] - summary: Validate parameters for create Composer package + summary: Create a new Raw package tags: - packages x-codegen-request-body-name: data - /packages/{owner}/{repo}/validate-upload/conan/: + /packages/{owner}/{repo}/upload/rpm/: post: - description: Validate parameters for create Conan package - operationId: packages_validate-upload_conan + description: Create a new RedHat package + operationId: packages_upload_rpm parameters: - in: path name: owner @@ -5153,97 +3815,46 @@ paths: schema: type: string requestBody: - $ref: '#/components/requestBodies/PackagesValidate_uploadConan' content: application/json: schema: - properties: - conan_channel: - description: Conan channel. - example: alpha - type: string - conan_prefix: - description: Conan prefix (User). - example: my-repository - type: string - info_file: - description: The info file is an python file containing the package - metadata. - example: y1234456789b - type: string - manifest_file: - description: The info file is an python file containing the package - metadata. - example: y1234456789c - type: string - metadata_file: - description: The conan file is an python file containing the package - metadata. - example: y1234456789a - type: string - name: - description: The name of this package. - example: conan_package.tgz - type: string - package_file: - description: The primary file for the package. - example: x123456789a - type: string - republish: - description: If true, the uploaded package will overwrite any others - with the same attributes (e.g. same version); otherwise, it will - be flagged as a duplicate. - type: boolean - tags: - description: A comma-separated values list of tags to add to the - package. - type: string - version: - description: The raw version for this package. - example: 1.0.0 - type: string - required: - - info_file - - manifest_file - - metadata_file - - package_file - title: PackagesValidate-uploadConan - type: object + $ref: '#/components/schemas/RpmPackageUploadRequest' required: false responses: - "204": - content: {} - description: Validation was successful, parameters are OK - "400": + "201": content: - '*/*': + application/json: schema: - $ref: '#/components/schemas/Status' - description: Request could not be processed (see detail) + $ref: '#/components/schemas/RpmPackageUploadResponse' + description: Upload acknowledged and queued for synchronisation. "404": content: - '*/*': + application/json: schema: - $ref: '#/components/schemas/Status' + $ref: '#/components/schemas/ErrorDetail' description: Namespace (owner) or repository not found + "400": + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorDetail' + description: Request could not be processed (see detail). "422": content: - '*/*': + application/json: schema: - $ref: '#/components/schemas/Status' - description: Missing or invalid parameters (see detail) + $ref: '#/components/schemas/ErrorDetail' + description: Missing or invalid parameters (see detail). security: - - token: [] - apikey: [] - - csrf_token: [] - summary: Validate parameters for create Conan package + summary: Create a new RedHat package tags: - packages x-codegen-request-body-name: data - /packages/{owner}/{repo}/validate-upload/conda/: + /packages/{owner}/{repo}/upload/ruby/: post: - description: Validate parameters for create Conda package - operationId: packages_validate-upload_conda + description: Create a new Ruby package + operationId: packages_upload_ruby parameters: - in: path name: owner @@ -5256,63 +3867,46 @@ paths: schema: type: string requestBody: - $ref: '#/components/requestBodies/PackagesValidate_uploadConda' content: application/json: schema: - properties: - package_file: - description: The primary file for the package. - example: x123456789a - type: string - republish: - description: If true, the uploaded package will overwrite any others - with the same attributes (e.g. same version); otherwise, it will - be flagged as a duplicate. - type: boolean - tags: - description: A comma-separated values list of tags to add to the - package. - type: string - required: - - package_file - title: PackagesValidate-uploadConda - type: object + $ref: '#/components/schemas/RubyPackageUploadRequest' required: false responses: - "204": - content: {} - description: Validation was successful, parameters are OK - "400": + "201": content: - '*/*': + application/json: schema: - $ref: '#/components/schemas/Status' - description: Request could not be processed (see detail) + $ref: '#/components/schemas/RubyPackageUploadResponse' + description: Upload acknowledged and queued for synchronisation. "404": content: - '*/*': + application/json: schema: - $ref: '#/components/schemas/Status' + $ref: '#/components/schemas/ErrorDetail' description: Namespace (owner) or repository not found + "400": + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorDetail' + description: Request could not be processed (see detail). "422": content: - '*/*': + application/json: schema: - $ref: '#/components/schemas/Status' - description: Missing or invalid parameters (see detail) + $ref: '#/components/schemas/ErrorDetail' + description: Missing or invalid parameters (see detail). security: - - token: [] - apikey: [] - - csrf_token: [] - summary: Validate parameters for create Conda package + summary: Create a new Ruby package tags: - packages x-codegen-request-body-name: data - /packages/{owner}/{repo}/validate-upload/cran/: + /packages/{owner}/{repo}/upload/terraform/: post: - description: Validate parameters for create CRAN package - operationId: packages_validate-upload_cran + description: Create a new Terraform package + operationId: packages_upload_terraform parameters: - in: path name: owner @@ -5325,63 +3919,46 @@ paths: schema: type: string requestBody: - $ref: '#/components/requestBodies/PackagesValidate_uploadCran' content: application/json: schema: - properties: - package_file: - description: The primary file for the package. - example: x123456789a - type: string - republish: - description: If true, the uploaded package will overwrite any others - with the same attributes (e.g. same version); otherwise, it will - be flagged as a duplicate. - type: boolean - tags: - description: A comma-separated values list of tags to add to the - package. - type: string - required: - - package_file - title: PackagesValidate-uploadCran - type: object + $ref: '#/components/schemas/TerraformPackageUploadRequest' required: false responses: - "204": - content: {} - description: Validation was successful, parameters are OK - "400": + "201": content: - '*/*': + application/json: schema: - $ref: '#/components/schemas/Status' - description: Request could not be processed (see detail) + $ref: '#/components/schemas/TerraformPackageUploadResponse' + description: Upload acknowledged and queued for synchronisation. "404": content: - '*/*': + application/json: schema: - $ref: '#/components/schemas/Status' + $ref: '#/components/schemas/ErrorDetail' description: Namespace (owner) or repository not found + "400": + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorDetail' + description: Request could not be processed (see detail). "422": content: - '*/*': + application/json: schema: - $ref: '#/components/schemas/Status' - description: Missing or invalid parameters (see detail) + $ref: '#/components/schemas/ErrorDetail' + description: Missing or invalid parameters (see detail). security: - - token: [] - apikey: [] - - csrf_token: [] - summary: Validate parameters for create CRAN package + summary: Create a new Terraform package tags: - packages x-codegen-request-body-name: data - /packages/{owner}/{repo}/validate-upload/dart/: + /packages/{owner}/{repo}/upload/vagrant/: post: - description: Validate parameters for create Dart package - operationId: packages_validate-upload_dart + description: Create a new Vagrant package + operationId: packages_upload_vagrant parameters: - in: path name: owner @@ -5394,63 +3971,46 @@ paths: schema: type: string requestBody: - $ref: '#/components/requestBodies/PackagesValidate_uploadDart' content: application/json: schema: - properties: - package_file: - description: The primary file for the package. - example: x123456789a - type: string - republish: - description: If true, the uploaded package will overwrite any others - with the same attributes (e.g. same version); otherwise, it will - be flagged as a duplicate. - type: boolean - tags: - description: A comma-separated values list of tags to add to the - package. - type: string - required: - - package_file - title: PackagesValidate-uploadDart - type: object + $ref: '#/components/schemas/VagrantPackageUploadRequest' required: false responses: - "204": - content: {} - description: Validation was successful, parameters are OK - "400": + "201": content: - '*/*': + application/json: schema: - $ref: '#/components/schemas/Status' - description: Request could not be processed (see detail) + $ref: '#/components/schemas/VagrantPackageUploadResponse' + description: Upload acknowledged and queued for synchronisation. "404": content: - '*/*': + application/json: schema: - $ref: '#/components/schemas/Status' + $ref: '#/components/schemas/ErrorDetail' description: Namespace (owner) or repository not found + "400": + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorDetail' + description: Request could not be processed (see detail). "422": content: - '*/*': + application/json: schema: - $ref: '#/components/schemas/Status' - description: Missing or invalid parameters (see detail) + $ref: '#/components/schemas/ErrorDetail' + description: Missing or invalid parameters (see detail). security: - - token: [] - apikey: [] - - csrf_token: [] - summary: Validate parameters for create Dart package + summary: Create a new Vagrant package tags: - packages x-codegen-request-body-name: data - /packages/{owner}/{repo}/validate-upload/deb/: + /packages/{owner}/{repo}/validate-upload/alpine/: post: - description: Validate parameters for create Debian package - operationId: packages_validate-upload_deb + description: Validate parameters for create Alpine package + operationId: packages_validate-upload_alpine parameters: - in: path name: owner @@ -5463,78 +4023,43 @@ paths: schema: type: string requestBody: - $ref: '#/components/requestBodies/PackagesValidate_uploadDeb' content: application/json: schema: - properties: - changes_file: - description: The changes archive containing the changes made to - the source and debian packaging files - example: y123456789 - type: string - distribution: - description: The distribution to store the package for. - example: ubuntu/xenial - type: string - package_file: - description: The primary file for the package. - example: y123456789 - type: string - republish: - description: If true, the uploaded package will overwrite any others - with the same attributes (e.g. same version); otherwise, it will - be flagged as a duplicate. - type: boolean - sources_file: - description: The sources archive containing the source code for - the binary - example: y123456789 - type: string - tags: - description: A comma-separated values list of tags to add to the - package. - type: string - required: - - distribution - - package_file - title: PackagesValidate-uploadDeb - type: object + $ref: '#/components/schemas/AlpinePackageUploadRequest' required: false responses: "204": content: {} - description: Validation was successful, parameters are OK - "400": - content: - '*/*': - schema: - $ref: '#/components/schemas/Status' - description: Request could not be processed (see detail) + description: "Validation was successful, parameters are OK." "404": content: - '*/*': + application/json: schema: - $ref: '#/components/schemas/Status' + $ref: '#/components/schemas/ErrorDetail' description: Namespace (owner) or repository not found + "400": + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorDetail' + description: Request could not be processed (see detail). "422": content: - '*/*': + application/json: schema: - $ref: '#/components/schemas/Status' - description: Missing or invalid parameters (see detail) + $ref: '#/components/schemas/ErrorDetail' + description: Missing or invalid parameters (see detail). security: - - token: [] - apikey: [] - - csrf_token: [] - summary: Validate parameters for create Debian package + summary: Validate parameters for create Alpine package tags: - packages x-codegen-request-body-name: data - /packages/{owner}/{repo}/validate-upload/docker/: + /packages/{owner}/{repo}/validate-upload/cargo/: post: - description: Validate parameters for create Docker package - operationId: packages_validate-upload_docker + description: Validate parameters for create Cargo package + operationId: packages_validate-upload_cargo parameters: - in: path name: owner @@ -5547,63 +4072,43 @@ paths: schema: type: string requestBody: - $ref: '#/components/requestBodies/PackagesValidate_uploadDocker' content: application/json: schema: - properties: - package_file: - description: The primary file for the package. - example: y123456789 - type: string - republish: - description: If true, the uploaded package will overwrite any others - with the same attributes (e.g. same version); otherwise, it will - be flagged as a duplicate. - type: boolean - tags: - description: A comma-separated values list of tags to add to the - package. - type: string - required: - - package_file - title: PackagesValidate-uploadDocker - type: object + $ref: '#/components/schemas/CargoPackageUploadRequest' required: false responses: "204": content: {} - description: Validation was successful, parameters are OK - "400": - content: - '*/*': - schema: - $ref: '#/components/schemas/Status' - description: Request could not be processed (see detail) + description: "Validation was successful, parameters are OK." "404": content: - '*/*': + application/json: schema: - $ref: '#/components/schemas/Status' + $ref: '#/components/schemas/ErrorDetail' description: Namespace (owner) or repository not found + "400": + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorDetail' + description: Request could not be processed (see detail). "422": content: - '*/*': + application/json: schema: - $ref: '#/components/schemas/Status' - description: Missing or invalid parameters (see detail) + $ref: '#/components/schemas/ErrorDetail' + description: Missing or invalid parameters (see detail). security: - - token: [] - apikey: [] - - csrf_token: [] - summary: Validate parameters for create Docker package + summary: Validate parameters for create Cargo package tags: - packages x-codegen-request-body-name: data - /packages/{owner}/{repo}/validate-upload/go/: + /packages/{owner}/{repo}/validate-upload/cocoapods/: post: - description: Validate parameters for create Go package - operationId: packages_validate-upload_go + description: Validate parameters for create CocoaPods package + operationId: packages_validate-upload_cocoapods parameters: - in: path name: owner @@ -5616,63 +4121,43 @@ paths: schema: type: string requestBody: - $ref: '#/components/requestBodies/PackagesValidate_uploadGo' content: application/json: schema: - properties: - package_file: - description: The primary file for the package. - example: x123456789a - type: string - republish: - description: If true, the uploaded package will overwrite any others - with the same attributes (e.g. same version); otherwise, it will - be flagged as a duplicate. - type: boolean - tags: - description: A comma-separated values list of tags to add to the - package. - type: string - required: - - package_file - title: PackagesValidate-uploadGo - type: object + $ref: '#/components/schemas/CocoapodsPackageUploadRequest' required: false responses: "204": content: {} - description: Validation was successful, parameters are OK - "400": - content: - '*/*': - schema: - $ref: '#/components/schemas/Status' - description: Request could not be processed (see detail) + description: "Validation was successful, parameters are OK." "404": content: - '*/*': + application/json: schema: - $ref: '#/components/schemas/Status' + $ref: '#/components/schemas/ErrorDetail' description: Namespace (owner) or repository not found + "400": + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorDetail' + description: Request could not be processed (see detail). "422": content: - '*/*': + application/json: schema: - $ref: '#/components/schemas/Status' - description: Missing or invalid parameters (see detail) + $ref: '#/components/schemas/ErrorDetail' + description: Missing or invalid parameters (see detail). security: - - token: [] - apikey: [] - - csrf_token: [] - summary: Validate parameters for create Go package + summary: Validate parameters for create CocoaPods package tags: - packages x-codegen-request-body-name: data - /packages/{owner}/{repo}/validate-upload/helm/: + /packages/{owner}/{repo}/validate-upload/composer/: post: - description: Validate parameters for create Helm package - operationId: packages_validate-upload_helm + description: Validate parameters for create Composer package + operationId: packages_validate-upload_composer parameters: - in: path name: owner @@ -5685,63 +4170,43 @@ paths: schema: type: string requestBody: - $ref: '#/components/requestBodies/PackagesValidate_uploadHelm' content: application/json: schema: - properties: - package_file: - description: The primary file for the package. - example: x123456789a - type: string - republish: - description: If true, the uploaded package will overwrite any others - with the same attributes (e.g. same version); otherwise, it will - be flagged as a duplicate. - type: boolean - tags: - description: A comma-separated values list of tags to add to the - package. - type: string - required: - - package_file - title: PackagesValidate-uploadHelm - type: object + $ref: '#/components/schemas/ComposerPackageUploadRequest' required: false responses: "204": content: {} - description: Validation was successful, parameters are OK - "400": - content: - '*/*': - schema: - $ref: '#/components/schemas/Status' - description: Request could not be processed (see detail) + description: "Validation was successful, parameters are OK." "404": content: - '*/*': + application/json: schema: - $ref: '#/components/schemas/Status' + $ref: '#/components/schemas/ErrorDetail' description: Namespace (owner) or repository not found + "400": + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorDetail' + description: Request could not be processed (see detail). "422": content: - '*/*': + application/json: schema: - $ref: '#/components/schemas/Status' - description: Missing or invalid parameters (see detail) + $ref: '#/components/schemas/ErrorDetail' + description: Missing or invalid parameters (see detail). security: - - token: [] - apikey: [] - - csrf_token: [] - summary: Validate parameters for create Helm package + summary: Validate parameters for create Composer package tags: - packages x-codegen-request-body-name: data - /packages/{owner}/{repo}/validate-upload/luarocks/: + /packages/{owner}/{repo}/validate-upload/conan/: post: - description: Validate parameters for create LuaRocks package - operationId: packages_validate-upload_luarocks + description: Validate parameters for create Conan package + operationId: packages_validate-upload_conan parameters: - in: path name: owner @@ -5754,63 +4219,43 @@ paths: schema: type: string requestBody: - $ref: '#/components/requestBodies/PackagesValidate_uploadLuarocks' content: application/json: schema: - properties: - package_file: - description: The primary file for the package. - example: x123456789a - type: string - republish: - description: If true, the uploaded package will overwrite any others - with the same attributes (e.g. same version); otherwise, it will - be flagged as a duplicate. - type: boolean - tags: - description: A comma-separated values list of tags to add to the - package. - type: string - required: - - package_file - title: PackagesValidate-uploadLuarocks - type: object + $ref: '#/components/schemas/ConanPackageUploadRequest' required: false responses: "204": content: {} - description: Validation was successful, parameters are OK - "400": - content: - '*/*': - schema: - $ref: '#/components/schemas/Status' - description: Request could not be processed (see detail) + description: "Validation was successful, parameters are OK." "404": content: - '*/*': + application/json: schema: - $ref: '#/components/schemas/Status' + $ref: '#/components/schemas/ErrorDetail' description: Namespace (owner) or repository not found + "400": + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorDetail' + description: Request could not be processed (see detail). "422": content: - '*/*': + application/json: schema: - $ref: '#/components/schemas/Status' - description: Missing or invalid parameters (see detail) + $ref: '#/components/schemas/ErrorDetail' + description: Missing or invalid parameters (see detail). security: - - token: [] - apikey: [] - - csrf_token: [] - summary: Validate parameters for create LuaRocks package + summary: Validate parameters for create Conan package tags: - packages x-codegen-request-body-name: data - /packages/{owner}/{repo}/validate-upload/maven/: + /packages/{owner}/{repo}/validate-upload/conda/: post: - description: Validate parameters for create Maven package - operationId: packages_validate-upload_maven + description: Validate parameters for create Conda package + operationId: packages_validate-upload_conda parameters: - in: path name: owner @@ -5823,93 +4268,43 @@ paths: schema: type: string requestBody: - $ref: '#/components/requestBodies/PackagesValidate_uploadMaven' content: application/json: schema: - properties: - artifact_id: - description: The ID of the artifact. - example: cloudsmith-example - type: string - group_id: - description: Artifact's group ID. - example: io.cloudsmith.example - type: string - javadoc_file: - description: Adds bundled Java documentation to the Maven package - example: y1234456789c - type: string - package_file: - description: The primary file for the package. - example: y1234456789a - type: string - packaging: - description: Artifact's Maven packaging type. - type: string - pom_file: - description: The POM file is an XML file containing the Maven coordinates. - example: y1234456789b - type: string - republish: - description: If true, the uploaded package will overwrite any others - with the same attributes (e.g. same version); otherwise, it will - be flagged as a duplicate. - type: boolean - sources_file: - description: Adds bundled Java source code to the Maven package. - example: y1234456789d - type: string - tags: - description: A comma-separated values list of tags to add to the - package. - type: string - tests_file: - description: Adds bundled Java tests to the Maven package. - example: y1234456789e - type: string - version: - description: The raw version for this package. - type: string - required: - - package_file - title: PackagesValidate-uploadMaven - type: object + $ref: '#/components/schemas/CondaPackageUploadRequest' required: false responses: "204": content: {} - description: Validation was successful, parameters are OK - "400": - content: - '*/*': - schema: - $ref: '#/components/schemas/Status' - description: Request could not be processed (see detail) + description: "Validation was successful, parameters are OK." "404": content: - '*/*': + application/json: schema: - $ref: '#/components/schemas/Status' + $ref: '#/components/schemas/ErrorDetail' description: Namespace (owner) or repository not found + "400": + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorDetail' + description: Request could not be processed (see detail). "422": content: - '*/*': + application/json: schema: - $ref: '#/components/schemas/Status' - description: Missing or invalid parameters (see detail) + $ref: '#/components/schemas/ErrorDetail' + description: Missing or invalid parameters (see detail). security: - - token: [] - apikey: [] - - csrf_token: [] - summary: Validate parameters for create Maven package + summary: Validate parameters for create Conda package tags: - packages x-codegen-request-body-name: data - /packages/{owner}/{repo}/validate-upload/npm/: + /packages/{owner}/{repo}/validate-upload/cran/: post: - description: Validate parameters for create npm package - operationId: packages_validate-upload_npm + description: Validate parameters for create CRAN package + operationId: packages_validate-upload_cran parameters: - in: path name: owner @@ -5922,69 +4317,43 @@ paths: schema: type: string requestBody: - $ref: '#/components/requestBodies/PackagesValidate_uploadNpm' content: application/json: schema: - properties: - npm_dist_tag: - description: The default npm dist-tag for this package/version - - This will replace any other package/version if they are using - the same tag. - example: latest - type: string - package_file: - description: The primary file for the package. - example: y123456789 - type: string - republish: - description: If true, the uploaded package will overwrite any others - with the same attributes (e.g. same version); otherwise, it will - be flagged as a duplicate. - type: boolean - tags: - description: A comma-separated values list of tags to add to the - package. - type: string - required: - - package_file - title: PackagesValidate-uploadNpm - type: object + $ref: '#/components/schemas/CranPackageUploadRequest' required: false responses: "204": content: {} - description: Validation was successful, parameters are OK - "400": - content: - '*/*': - schema: - $ref: '#/components/schemas/Status' - description: Request could not be processed (see detail) + description: "Validation was successful, parameters are OK." "404": content: - '*/*': + application/json: schema: - $ref: '#/components/schemas/Status' + $ref: '#/components/schemas/ErrorDetail' description: Namespace (owner) or repository not found + "400": + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorDetail' + description: Request could not be processed (see detail). "422": content: - '*/*': + application/json: schema: - $ref: '#/components/schemas/Status' - description: Missing or invalid parameters (see detail) + $ref: '#/components/schemas/ErrorDetail' + description: Missing or invalid parameters (see detail). security: - - token: [] - apikey: [] - - csrf_token: [] - summary: Validate parameters for create npm package + summary: Validate parameters for create CRAN package tags: - packages x-codegen-request-body-name: data - /packages/{owner}/{repo}/validate-upload/nuget/: + /packages/{owner}/{repo}/validate-upload/dart/: post: - description: Validate parameters for create NuGet package - operationId: packages_validate-upload_nuget + description: Validate parameters for create Dart package + operationId: packages_validate-upload_dart parameters: - in: path name: owner @@ -5997,67 +4366,43 @@ paths: schema: type: string requestBody: - $ref: '#/components/requestBodies/PackagesValidate_uploadNuget' content: application/json: schema: - properties: - package_file: - description: The primary file for the package. - example: y1234456789a - type: string - republish: - description: If true, the uploaded package will overwrite any others - with the same attributes (e.g. same version); otherwise, it will - be flagged as a duplicate. - type: boolean - symbols_file: - description: Attaches a symbols file to the package. - example: y1234456789b - type: string - tags: - description: A comma-separated values list of tags to add to the - package. - type: string - required: - - package_file - title: PackagesValidate-uploadNuget - type: object + $ref: '#/components/schemas/DartPackageUploadRequest' required: false responses: "204": content: {} - description: Validation was successful, parameters are OK - "400": - content: - '*/*': - schema: - $ref: '#/components/schemas/Status' - description: Request could not be processed (see detail) + description: "Validation was successful, parameters are OK." "404": content: - '*/*': + application/json: schema: - $ref: '#/components/schemas/Status' + $ref: '#/components/schemas/ErrorDetail' description: Namespace (owner) or repository not found + "400": + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorDetail' + description: Request could not be processed (see detail). "422": content: - '*/*': + application/json: schema: - $ref: '#/components/schemas/Status' - description: Missing or invalid parameters (see detail) + $ref: '#/components/schemas/ErrorDetail' + description: Missing or invalid parameters (see detail). security: - - token: [] - apikey: [] - - csrf_token: [] - summary: Validate parameters for create NuGet package + summary: Validate parameters for create Dart package tags: - packages x-codegen-request-body-name: data - /packages/{owner}/{repo}/validate-upload/p2/: + /packages/{owner}/{repo}/validate-upload/deb/: post: - description: Validate parameters for create P2 package - operationId: packages_validate-upload_p2 + description: Validate parameters for create Debian package + operationId: packages_validate-upload_deb parameters: - in: path name: owner @@ -6070,62 +4415,43 @@ paths: schema: type: string requestBody: - $ref: '#/components/requestBodies/PackagesValidate_uploadP2' content: application/json: schema: - properties: - package_file: - description: The primary file for the package. - type: string - republish: - description: If true, the uploaded package will overwrite any others - with the same attributes (e.g. same version); otherwise, it will - be flagged as a duplicate. - type: boolean - tags: - description: A comma-separated values list of tags to add to the - package. - type: string - required: - - package_file - title: PackagesValidate-uploadP2 - type: object + $ref: '#/components/schemas/DebPackageUploadRequest' required: false responses: "204": content: {} - description: Validation was successful, parameters are OK - "400": - content: - '*/*': - schema: - $ref: '#/components/schemas/Status' - description: Request could not be processed (see detail) + description: "Validation was successful, parameters are OK." "404": content: - '*/*': + application/json: schema: - $ref: '#/components/schemas/Status' + $ref: '#/components/schemas/ErrorDetail' description: Namespace (owner) or repository not found + "400": + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorDetail' + description: Request could not be processed (see detail). "422": content: - '*/*': + application/json: schema: - $ref: '#/components/schemas/Status' - description: Missing or invalid parameters (see detail) + $ref: '#/components/schemas/ErrorDetail' + description: Missing or invalid parameters (see detail). security: - - token: [] - apikey: [] - - csrf_token: [] - summary: Validate parameters for create P2 package + summary: Validate parameters for create Debian package tags: - packages x-codegen-request-body-name: data - /packages/{owner}/{repo}/validate-upload/python/: + /packages/{owner}/{repo}/validate-upload/docker/: post: - description: Validate parameters for create Python package - operationId: packages_validate-upload_python + description: Validate parameters for create Docker package + operationId: packages_validate-upload_docker parameters: - in: path name: owner @@ -6138,63 +4464,43 @@ paths: schema: type: string requestBody: - $ref: '#/components/requestBodies/PackagesValidate_uploadPython' content: application/json: schema: - properties: - package_file: - description: The primary file for the package. - example: y123456789 - type: string - republish: - description: If true, the uploaded package will overwrite any others - with the same attributes (e.g. same version); otherwise, it will - be flagged as a duplicate. - type: boolean - tags: - description: A comma-separated values list of tags to add to the - package. - type: string - required: - - package_file - title: PackagesValidate-uploadPython - type: object + $ref: '#/components/schemas/DockerPackageUploadRequest' required: false responses: "204": content: {} - description: Validation was successful, parameters are OK - "400": - content: - '*/*': - schema: - $ref: '#/components/schemas/Status' - description: Request could not be processed (see detail) + description: "Validation was successful, parameters are OK." "404": content: - '*/*': + application/json: schema: - $ref: '#/components/schemas/Status' + $ref: '#/components/schemas/ErrorDetail' description: Namespace (owner) or repository not found + "400": + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorDetail' + description: Request could not be processed (see detail). "422": content: - '*/*': + application/json: schema: - $ref: '#/components/schemas/Status' - description: Missing or invalid parameters (see detail) + $ref: '#/components/schemas/ErrorDetail' + description: Missing or invalid parameters (see detail). security: - - token: [] - apikey: [] - - csrf_token: [] - summary: Validate parameters for create Python package + summary: Validate parameters for create Docker package tags: - packages x-codegen-request-body-name: data - /packages/{owner}/{repo}/validate-upload/raw/: + /packages/{owner}/{repo}/validate-upload/go/: post: - description: Validate parameters for create Raw package - operationId: packages_validate-upload_raw + description: Validate parameters for create Go package + operationId: packages_validate-upload_go parameters: - in: path name: owner @@ -6207,85 +4513,43 @@ paths: schema: type: string requestBody: - $ref: '#/components/requestBodies/PackagesValidate_uploadRaw' content: application/json: schema: - properties: - content_type: - description: A custom content/media (also known as MIME) type to - be sent when downloading this file. By default Cloudsmith will - attempt to detect the type, but if you need to override it, you - can specify it here. - type: string - description: - description: A textual description of this package. - example: Everything about packaging files. - type: string - name: - description: The name of this package. - example: my-package - type: string - package_file: - description: The primary file for the package. - example: y123456789 - type: string - republish: - description: If true, the uploaded package will overwrite any others - with the same attributes (e.g. same version); otherwise, it will - be flagged as a duplicate. - type: boolean - summary: - description: A one-liner synopsis of this package. - example: My Package File - type: string - tags: - description: A comma-separated values list of tags to add to the - package. - type: string - version: - description: The raw version for this package. - example: "1.0" - type: string - required: - - package_file - title: PackagesValidate-uploadRaw - type: object + $ref: '#/components/schemas/GoPackageUploadRequest' required: false responses: "204": content: {} - description: Validation was successful, parameters are OK - "400": - content: - '*/*': - schema: - $ref: '#/components/schemas/Status' - description: Request could not be processed (see detail) + description: "Validation was successful, parameters are OK." "404": content: - '*/*': + application/json: schema: - $ref: '#/components/schemas/Status' + $ref: '#/components/schemas/ErrorDetail' description: Namespace (owner) or repository not found + "400": + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorDetail' + description: Request could not be processed (see detail). "422": content: - '*/*': + application/json: schema: - $ref: '#/components/schemas/Status' - description: Missing or invalid parameters (see detail) + $ref: '#/components/schemas/ErrorDetail' + description: Missing or invalid parameters (see detail). security: - - token: [] - apikey: [] - - csrf_token: [] - summary: Validate parameters for create Raw package + summary: Validate parameters for create Go package tags: - packages x-codegen-request-body-name: data - /packages/{owner}/{repo}/validate-upload/rpm/: + /packages/{owner}/{repo}/validate-upload/helm/: post: - description: Validate parameters for create RedHat package - operationId: packages_validate-upload_rpm + description: Validate parameters for create Helm package + operationId: packages_validate-upload_helm parameters: - in: path name: owner @@ -6298,68 +4562,43 @@ paths: schema: type: string requestBody: - $ref: '#/components/requestBodies/PackagesValidate_uploadRpm' content: application/json: schema: - properties: - distribution: - description: The distribution to store the package for. - example: el/7 - type: string - package_file: - description: The primary file for the package. - example: y123456789 - type: string - republish: - description: If true, the uploaded package will overwrite any others - with the same attributes (e.g. same version); otherwise, it will - be flagged as a duplicate. - type: boolean - tags: - description: A comma-separated values list of tags to add to the - package. - type: string - required: - - distribution - - package_file - title: PackagesValidate-uploadRpm - type: object + $ref: '#/components/schemas/HelmPackageUploadRequest' required: false responses: "204": content: {} - description: Validation was successful, parameters are OK - "400": - content: - '*/*': - schema: - $ref: '#/components/schemas/Status' - description: Request could not be processed (see detail) + description: "Validation was successful, parameters are OK." "404": content: - '*/*': + application/json: schema: - $ref: '#/components/schemas/Status' + $ref: '#/components/schemas/ErrorDetail' description: Namespace (owner) or repository not found + "400": + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorDetail' + description: Request could not be processed (see detail). "422": content: - '*/*': + application/json: schema: - $ref: '#/components/schemas/Status' - description: Missing or invalid parameters (see detail) + $ref: '#/components/schemas/ErrorDetail' + description: Missing or invalid parameters (see detail). security: - - token: [] - apikey: [] - - csrf_token: [] - summary: Validate parameters for create RedHat package + summary: Validate parameters for create Helm package tags: - packages x-codegen-request-body-name: data - /packages/{owner}/{repo}/validate-upload/ruby/: + /packages/{owner}/{repo}/validate-upload/luarocks/: post: - description: Validate parameters for create Ruby package - operationId: packages_validate-upload_ruby + description: Validate parameters for create LuaRocks package + operationId: packages_validate-upload_luarocks parameters: - in: path name: owner @@ -6372,63 +4611,43 @@ paths: schema: type: string requestBody: - $ref: '#/components/requestBodies/PackagesValidate_uploadRuby' content: application/json: schema: - properties: - package_file: - description: The primary file for the package. - example: y123456789 - type: string - republish: - description: If true, the uploaded package will overwrite any others - with the same attributes (e.g. same version); otherwise, it will - be flagged as a duplicate. - type: boolean - tags: - description: A comma-separated values list of tags to add to the - package. - type: string - required: - - package_file - title: PackagesValidate-uploadRuby - type: object + $ref: '#/components/schemas/LuarocksPackageUploadRequest' required: false responses: "204": content: {} - description: Validation was successful, parameters are OK - "400": - content: - '*/*': - schema: - $ref: '#/components/schemas/Status' - description: Request could not be processed (see detail) + description: "Validation was successful, parameters are OK." "404": content: - '*/*': + application/json: schema: - $ref: '#/components/schemas/Status' + $ref: '#/components/schemas/ErrorDetail' description: Namespace (owner) or repository not found + "400": + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorDetail' + description: Request could not be processed (see detail). "422": content: - '*/*': + application/json: schema: - $ref: '#/components/schemas/Status' - description: Missing or invalid parameters (see detail) + $ref: '#/components/schemas/ErrorDetail' + description: Missing or invalid parameters (see detail). security: - - token: [] - apikey: [] - - csrf_token: [] - summary: Validate parameters for create Ruby package + summary: Validate parameters for create LuaRocks package tags: - packages x-codegen-request-body-name: data - /packages/{owner}/{repo}/validate-upload/terraform/: + /packages/{owner}/{repo}/validate-upload/maven/: post: - description: Validate parameters for create Terraform package - operationId: packages_validate-upload_terraform + description: Validate parameters for create Maven package + operationId: packages_validate-upload_maven parameters: - in: path name: owner @@ -6441,63 +4660,43 @@ paths: schema: type: string requestBody: - $ref: '#/components/requestBodies/PackagesValidate_uploadTerraform' content: application/json: schema: - properties: - package_file: - description: The primary file for the package. - example: z123456789a - type: string - republish: - description: If true, the uploaded package will overwrite any others - with the same attributes (e.g. same version); otherwise, it will - be flagged as a duplicate. - type: boolean - tags: - description: A comma-separated values list of tags to add to the - package. - type: string - required: - - package_file - title: PackagesValidate-uploadTerraform - type: object + $ref: '#/components/schemas/MavenPackageUploadRequest' required: false responses: "204": content: {} - description: Validation was successful, parameters are OK - "400": - content: - '*/*': - schema: - $ref: '#/components/schemas/Status' - description: Request could not be processed (see detail) + description: "Validation was successful, parameters are OK." "404": content: - '*/*': + application/json: schema: - $ref: '#/components/schemas/Status' + $ref: '#/components/schemas/ErrorDetail' description: Namespace (owner) or repository not found + "400": + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorDetail' + description: Request could not be processed (see detail). "422": content: - '*/*': + application/json: schema: - $ref: '#/components/schemas/Status' - description: Missing or invalid parameters (see detail) + $ref: '#/components/schemas/ErrorDetail' + description: Missing or invalid parameters (see detail). security: - - token: [] - apikey: [] - - csrf_token: [] - summary: Validate parameters for create Terraform package + summary: Validate parameters for create Maven package tags: - packages x-codegen-request-body-name: data - /packages/{owner}/{repo}/validate-upload/vagrant/: + /packages/{owner}/{repo}/validate-upload/npm/: post: - description: Validate parameters for create Vagrant package - operationId: packages_validate-upload_vagrant + description: Validate parameters for create npm package + operationId: packages_validate-upload_npm parameters: - in: path name: owner @@ -6510,78 +4709,43 @@ paths: schema: type: string requestBody: - $ref: '#/components/requestBodies/PackagesValidate_uploadVagrant' content: application/json: schema: - properties: - name: - description: The name of this package. - example: tcl - type: string - package_file: - description: The primary file for the package. - example: y123456789x - type: string - provider: - description: The virtual machine provider for the box. - example: virtualbox - type: string - republish: - description: If true, the uploaded package will overwrite any others - with the same attributes (e.g. same version); otherwise, it will - be flagged as a duplicate. - type: boolean - tags: - description: A comma-separated values list of tags to add to the - package. - type: string - version: - description: The raw version for this package. - example: "1.0" - type: string - required: - - name - - package_file - - provider - - version - title: PackagesValidate-uploadVagrant - type: object + $ref: '#/components/schemas/NpmPackageUploadRequest' required: false responses: "204": content: {} - description: Validation was successful, parameters are OK - "400": - content: - '*/*': - schema: - $ref: '#/components/schemas/Status' - description: Request could not be processed (see detail) + description: "Validation was successful, parameters are OK." "404": content: - '*/*': + application/json: schema: - $ref: '#/components/schemas/Status' + $ref: '#/components/schemas/ErrorDetail' description: Namespace (owner) or repository not found + "400": + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorDetail' + description: Request could not be processed (see detail). "422": content: - '*/*': + application/json: schema: - $ref: '#/components/schemas/Status' - description: Missing or invalid parameters (see detail) + $ref: '#/components/schemas/ErrorDetail' + description: Missing or invalid parameters (see detail). security: - - token: [] - apikey: [] - - csrf_token: [] - summary: Validate parameters for create Vagrant package + summary: Validate parameters for create npm package tags: - packages x-codegen-request-body-name: data - /packages/{owner}/{repo}/{identifier}/: - delete: - description: Delete a specific package in a repository. - operationId: packages_delete + /packages/{owner}/{repo}/validate-upload/nuget/: + post: + description: Validate parameters for create NuGet package + operationId: packages_validate-upload_nuget parameters: - in: path name: owner @@ -6593,39 +4757,46 @@ paths: required: true schema: type: string - - in: path - name: identifier - required: true - schema: - type: string + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/NugetPackageUploadRequest' + required: false responses: "204": content: {} - description: Deleted the specified package successfully + description: "Validation was successful, parameters are OK." + "404": + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorDetail' + description: Namespace (owner) or repository not found "400": content: - '*/*': + application/json: schema: - $ref: '#/components/schemas/Status' - description: The package cannot be deleted + $ref: '#/components/schemas/ErrorDetail' + description: Request could not be processed (see detail). "422": content: - '*/*': + application/json: schema: - $ref: '#/components/schemas/Status' - description: Missing or invalid parameters (see detail) + $ref: '#/components/schemas/ErrorDetail' + description: Missing or invalid parameters (see detail). security: - - token: [] - apikey: [] - - csrf_token: [] - summary: Delete a specific package in a repository. + summary: Validate parameters for create NuGet package tags: - packages - get: - description: Get a specific package in a repository. - operationId: packages_read - parameters: - - in: path + x-codegen-request-body-name: data + /packages/{owner}/{repo}/validate-upload/p2/: + post: + description: Validate parameters for create P2 package + operationId: packages_validate-upload_p2 + parameters: + - in: path name: owner required: true schema: @@ -6635,41 +4806,44 @@ paths: required: true schema: type: string - - in: path - name: identifier - required: true - schema: - type: string + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/P2PackageUploadRequest' + required: false responses: - "200": + "204": + content: {} + description: "Validation was successful, parameters are OK." + "404": content: - '*/*': + application/json: schema: - $ref: '#/components/schemas/Package' - description: Retrieved the specified package successfully + $ref: '#/components/schemas/ErrorDetail' + description: Namespace (owner) or repository not found "400": content: - '*/*': + application/json: schema: - $ref: '#/components/schemas/Status' - description: Request could not be processed (see detail) + $ref: '#/components/schemas/ErrorDetail' + description: Request could not be processed (see detail). "422": content: - '*/*': + application/json: schema: - $ref: '#/components/schemas/Status' - description: Missing or invalid parameters (see detail) + $ref: '#/components/schemas/ErrorDetail' + description: Missing or invalid parameters (see detail). security: - - token: [] - apikey: [] - - csrf_token: [] - summary: Get a specific package in a repository. + summary: Validate parameters for create P2 package tags: - packages - /packages/{owner}/{repo}/{identifier}/copy/: + x-codegen-request-body-name: data + /packages/{owner}/{repo}/validate-upload/python/: post: - description: Copy a package to another repository. - operationId: packages_copy + description: Validate parameters for create Python package + operationId: packages_validate-upload_python parameters: - in: path name: owner @@ -6681,64 +4855,44 @@ paths: required: true schema: type: string - - in: path - name: identifier - required: true - schema: - type: string requestBody: - $ref: '#/components/requestBodies/PackagesCopy' content: application/json: schema: - example: - republish: true - destination: destination - properties: - destination: - description: None - type: string - republish: - description: If true, the package will overwrite any others with - the same attributes (e.g. same version); otherwise, it will be - flagged as a duplicate. - type: boolean - required: - - destination - title: PackagesCopy - type: object + $ref: '#/components/schemas/PythonPackageUploadRequest' required: false responses: - "200": + "204": + content: {} + description: "Validation was successful, parameters are OK." + "404": content: - '*/*': + application/json: schema: - $ref: '#/components/schemas/PackageCopy' - description: Copied specified package to destination repository + $ref: '#/components/schemas/ErrorDetail' + description: Namespace (owner) or repository not found "400": content: - '*/*': + application/json: schema: - $ref: '#/components/schemas/Status' - description: Request could not be processed (see detail) + $ref: '#/components/schemas/ErrorDetail' + description: Request could not be processed (see detail). "422": content: - '*/*': + application/json: schema: - $ref: '#/components/schemas/Status' - description: Missing or invalid parameters (see detail) + $ref: '#/components/schemas/ErrorDetail' + description: Missing or invalid parameters (see detail). security: - - token: [] - apikey: [] - - csrf_token: [] - summary: Copy a package to another repository. + summary: Validate parameters for create Python package tags: - packages x-codegen-request-body-name: data - /packages/{owner}/{repo}/{identifier}/dependencies/: - get: - description: Get the direct (non-transitive) dependencies list for a package. - operationId: packages_dependencies + /packages/{owner}/{repo}/validate-upload/raw/: + post: + description: Validate parameters for create Raw package + operationId: packages_validate-upload_raw parameters: - in: path name: owner @@ -6750,41 +4904,44 @@ paths: required: true schema: type: string - - in: path - name: identifier - required: true - schema: - type: string + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/RawPackageUploadRequest' + required: false responses: - "200": + "204": + content: {} + description: "Validation was successful, parameters are OK." + "404": content: - '*/*': + application/json: schema: - $ref: '#/components/schemas/PackageDependencies' - description: Retrieved direct dependencies for specified package + $ref: '#/components/schemas/ErrorDetail' + description: Namespace (owner) or repository not found "400": content: - '*/*': + application/json: schema: - $ref: '#/components/schemas/Status' - description: Request could not be processed (see detail) + $ref: '#/components/schemas/ErrorDetail' + description: Request could not be processed (see detail). "422": content: - '*/*': + application/json: schema: - $ref: '#/components/schemas/Status' - description: Missing or invalid parameters (see detail) + $ref: '#/components/schemas/ErrorDetail' + description: Missing or invalid parameters (see detail). security: - - token: [] - apikey: [] - - csrf_token: [] - summary: Get the direct (non-transitive) dependencies list for a package. + summary: Validate parameters for create Raw package tags: - packages - /packages/{owner}/{repo}/{identifier}/move/: + x-codegen-request-body-name: data + /packages/{owner}/{repo}/validate-upload/rpm/: post: - description: Move a package to another repository. - operationId: packages_move + description: Validate parameters for create RedHat package + operationId: packages_validate-upload_rpm parameters: - in: path name: owner @@ -6796,58 +4953,44 @@ paths: required: true schema: type: string - - in: path - name: identifier - required: true - schema: - type: string requestBody: - $ref: '#/components/requestBodies/PackagesMove' content: application/json: schema: - example: - destination: destination - properties: - destination: - description: None - type: string - required: - - destination - title: PackagesMove - type: object + $ref: '#/components/schemas/RpmPackageUploadRequest' required: false responses: - "200": + "204": + content: {} + description: "Validation was successful, parameters are OK." + "404": content: - '*/*': + application/json: schema: - $ref: '#/components/schemas/PackageMove' - description: Moved specified package to destination repository + $ref: '#/components/schemas/ErrorDetail' + description: Namespace (owner) or repository not found "400": content: - '*/*': + application/json: schema: - $ref: '#/components/schemas/Status' - description: Request could not be processed (see detail) + $ref: '#/components/schemas/ErrorDetail' + description: Request could not be processed (see detail). "422": content: - '*/*': + application/json: schema: - $ref: '#/components/schemas/Status' - description: Missing or invalid parameters (see detail) + $ref: '#/components/schemas/ErrorDetail' + description: Missing or invalid parameters (see detail). security: - - token: [] - apikey: [] - - csrf_token: [] - summary: Move a package to another repository. + summary: Validate parameters for create RedHat package tags: - packages x-codegen-request-body-name: data - /packages/{owner}/{repo}/{identifier}/quarantine/: + /packages/{owner}/{repo}/validate-upload/ruby/: post: - description: Quarantine or restore a package. - operationId: packages_quarantine + description: Validate parameters for create Ruby package + operationId: packages_validate-upload_ruby parameters: - in: path name: owner @@ -6859,56 +5002,44 @@ paths: required: true schema: type: string - - in: path - name: identifier - required: true - schema: - type: string requestBody: - $ref: '#/components/requestBodies/PackagesQuarantine' content: application/json: schema: - example: - restore: true - properties: - restore: - description: If true, the package be restored from quarantine. - type: boolean - title: PackagesQuarantine - type: object + $ref: '#/components/schemas/RubyPackageUploadRequest' required: false responses: - "200": + "204": + content: {} + description: "Validation was successful, parameters are OK." + "404": content: - '*/*': + application/json: schema: - $ref: '#/components/schemas/PackageQuarantine' - description: Changed the package's quarantine status + $ref: '#/components/schemas/ErrorDetail' + description: Namespace (owner) or repository not found "400": content: - '*/*': + application/json: schema: - $ref: '#/components/schemas/Status' - description: The package is in the wrong state for the requested operation + $ref: '#/components/schemas/ErrorDetail' + description: Request could not be processed (see detail). "422": content: - '*/*': + application/json: schema: - $ref: '#/components/schemas/Status' - description: Missing or invalid parameters (see detail) + $ref: '#/components/schemas/ErrorDetail' + description: Missing or invalid parameters (see detail). security: - - token: [] - apikey: [] - - csrf_token: [] - summary: Quarantine or restore a package. + summary: Validate parameters for create Ruby package tags: - packages x-codegen-request-body-name: data - /packages/{owner}/{repo}/{identifier}/resync/: + /packages/{owner}/{repo}/validate-upload/terraform/: post: - description: Schedule a package for resynchronisation. - operationId: packages_resync + description: Validate parameters for create Terraform package + operationId: packages_validate-upload_terraform parameters: - in: path name: owner @@ -6920,41 +5051,93 @@ paths: required: true schema: type: string + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/TerraformPackageUploadRequest' + required: false + responses: + "204": + content: {} + description: "Validation was successful, parameters are OK." + "404": + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorDetail' + description: Namespace (owner) or repository not found + "400": + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorDetail' + description: Request could not be processed (see detail). + "422": + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorDetail' + description: Missing or invalid parameters (see detail). + security: + - apikey: [] + summary: Validate parameters for create Terraform package + tags: + - packages + x-codegen-request-body-name: data + /packages/{owner}/{repo}/validate-upload/vagrant/: + post: + description: Validate parameters for create Vagrant package + operationId: packages_validate-upload_vagrant + parameters: + - in: path + name: owner + required: true + schema: + type: string - in: path - name: identifier + name: repo required: true schema: type: string + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/VagrantPackageUploadRequest' + required: false responses: - "200": + "204": + content: {} + description: "Validation was successful, parameters are OK." + "404": content: - '*/*': + application/json: schema: - $ref: '#/components/schemas/PackageResync' - description: Scheduled the package for resynchronisation + $ref: '#/components/schemas/ErrorDetail' + description: Namespace (owner) or repository not found "400": content: - '*/*': + application/json: schema: - $ref: '#/components/schemas/Status' - description: Request could not be processed (see detail) + $ref: '#/components/schemas/ErrorDetail' + description: Request could not be processed (see detail). "422": content: - '*/*': + application/json: schema: - $ref: '#/components/schemas/Status' - description: Missing or invalid parameters (see detail) + $ref: '#/components/schemas/ErrorDetail' + description: Missing or invalid parameters (see detail). security: - - token: [] - apikey: [] - - csrf_token: [] - summary: Schedule a package for resynchronisation. + summary: Validate parameters for create Vagrant package tags: - packages - /packages/{owner}/{repo}/{identifier}/scan/: - post: - description: Schedule a package for scanning. - operationId: packages_scan + x-codegen-request-body-name: data + /packages/{owner}/{repo}/{identifier}/: + delete: + description: Delete a specific package in a repository. + operationId: packages_delete parameters: - in: path name: owner @@ -6972,35 +5155,29 @@ paths: schema: type: string responses: - "200": - content: - '*/*': - schema: - $ref: '#/components/schemas/Package' - description: Scheduled the package for scanning + "204": + content: {} + description: Deleted the specified package successfully. "400": content: - '*/*': + application/json: schema: - $ref: '#/components/schemas/Status' - description: Request could not be processed (see detail) + $ref: '#/components/schemas/ErrorDetail' + description: The package cannot be deleted. "422": content: - '*/*': + application/json: schema: - $ref: '#/components/schemas/Status' - description: Missing or invalid parameters (see detail) + $ref: '#/components/schemas/ErrorDetail' + description: Missing or invalid parameters (see detail). security: - - token: [] - apikey: [] - - csrf_token: [] - summary: Schedule a package for scanning. + summary: Delete a specific package in a repository. tags: - packages - /packages/{owner}/{repo}/{identifier}/status/: get: - description: Get the synchronisation status for a package. - operationId: packages_status + description: Get a specific package in a repository. + operationId: packages_read parameters: - in: path name: owner @@ -7020,33 +5197,31 @@ paths: responses: "200": content: - '*/*': + application/json: schema: - $ref: '#/components/schemas/PackageStatus' - description: Retrieved status for specified package + $ref: '#/components/schemas/PackageResponse' + description: Retrieved the specified package successfully. "400": content: - '*/*': + application/json: schema: - $ref: '#/components/schemas/Status' - description: Request could not be processed (see detail) + $ref: '#/components/schemas/ErrorDetail' + description: Request could not be processed (see detail). "422": content: - '*/*': + application/json: schema: - $ref: '#/components/schemas/Status' - description: Missing or invalid parameters (see detail) + $ref: '#/components/schemas/ErrorDetail' + description: Missing or invalid parameters (see detail). security: - - token: [] - apikey: [] - - csrf_token: [] - summary: Get the synchronisation status for a package. + summary: Get a specific package in a repository. tags: - packages - /packages/{owner}/{repo}/{identifier}/tag/: + /packages/{owner}/{repo}/{identifier}/copy/: post: - description: Add/Replace/Remove tags for a package. - operationId: packages_tag + description: Copy a package to another repository. + operationId: packages_copy parameters: - in: path name: owner @@ -7064,1254 +5239,672 @@ paths: schema: type: string requestBody: - $ref: '#/components/requestBodies/PackagesTag' content: application/json: schema: - example: - is_immutable: true - action: add - tags: - - tags - - tags - properties: - action: - description: None - enum: - - add - - clear - - remove - - replace - type: string - is_immutable: - description: If true, created tags will be immutable. An immutable - flag is a tag that cannot be removed from a package. - type: boolean - tags: - description: A list of tags to apply the action to. Not required - for clears. - items: - description: "" - type: string - title: TagsList - type: array - title: PackagesTag - type: object + $ref: '#/components/schemas/PackageCopyRequest' required: false responses: "200": content: - '*/*': + application/json: schema: - $ref: '#/components/schemas/Package' - description: Modified tags for the package + $ref: '#/components/schemas/PackageCopyResponse' + description: Copied specified package to destination repository. "400": content: - '*/*': + application/json: schema: - $ref: '#/components/schemas/Status' - description: Request could not be processed (see detail) + $ref: '#/components/schemas/ErrorDetail' + description: Request could not be processed (see detail). "422": content: - '*/*': + application/json: schema: - $ref: '#/components/schemas/Status' - description: Missing or invalid parameters (see detail) + $ref: '#/components/schemas/ErrorDetail' + description: Missing or invalid parameters (see detail). security: - - token: [] - apikey: [] - - csrf_token: [] - summary: Add/Replace/Remove tags for a package. + summary: Copy a package to another repository. tags: - packages x-codegen-request-body-name: data - /quota/history/{owner}/: + /packages/{owner}/{repo}/{identifier}/dependencies/: get: - description: Quota history for a given namespace. - operationId: quota_history_read + description: Get the direct (non-transitive) dependencies list for a package. + operationId: packages_dependencies parameters: - in: path name: owner required: true schema: type: string + - in: path + name: repo + required: true + schema: + type: string + - in: path + name: identifier + required: true + schema: + type: string responses: "200": content: - '*/*': + application/json: schema: - $ref: '#/components/schemas/QuotaHistory' - description: OK + $ref: '#/components/schemas/PackageDependenciesResponse' + description: Retrieved direct dependencies for specified package. "400": content: - '*/*': + application/json: schema: - $ref: '#/components/schemas/Status' - description: Request could not be processed (see detail) + $ref: '#/components/schemas/ErrorDetail' + description: Request could not be processed (see detail). "422": content: - '*/*': + application/json: schema: - $ref: '#/components/schemas/Status' - description: Missing or invalid parameters (see detail) + $ref: '#/components/schemas/ErrorDetail' + description: Missing or invalid parameters (see detail). security: - - token: [] - apikey: [] - - csrf_token: [] - summary: Quota history for a given namespace. + summary: Get the direct (non-transitive) dependencies list for a package. tags: - - quota - /quota/oss/history/{owner}/: - get: - description: Open-source Quota history for a given namespace. - operationId: quota_oss_history_read + - packages + /packages/{owner}/{repo}/{identifier}/move/: + post: + description: Move a package to another repository. + operationId: packages_move parameters: - in: path name: owner required: true schema: type: string + - in: path + name: repo + required: true + schema: + type: string + - in: path + name: identifier + required: true + schema: + type: string + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/PackageMoveRequest' + required: false responses: "200": content: - '*/*': + application/json: schema: - $ref: '#/components/schemas/QuotaHistory' - description: OK + $ref: '#/components/schemas/PackageMoveResponse' + description: Moved specified package to destination repository. "400": content: - '*/*': + application/json: schema: - $ref: '#/components/schemas/Status' - description: Request could not be processed (see detail) + $ref: '#/components/schemas/ErrorDetail' + description: Request could not be processed (see detail). "422": content: - '*/*': + application/json: schema: - $ref: '#/components/schemas/Status' - description: Missing or invalid parameters (see detail) + $ref: '#/components/schemas/ErrorDetail' + description: Missing or invalid parameters (see detail). security: - - token: [] - apikey: [] - - csrf_token: [] - summary: Open-source Quota history for a given namespace. + summary: Move a package to another repository. tags: - - quota - /quota/oss/{owner}/: - get: - description: Open-source Quota usage for a given namespace. - operationId: quota_oss_read + - packages + x-codegen-request-body-name: data + /packages/{owner}/{repo}/{identifier}/quarantine/: + post: + description: Quarantine or restore a package. + operationId: packages_quarantine parameters: - in: path name: owner required: true schema: type: string - responses: - "200": - content: - '*/*': - schema: - $ref: '#/components/schemas/Quota' - description: OK - "400": - content: - '*/*': - schema: - $ref: '#/components/schemas/Status' - description: Request could not be processed (see detail) - "422": - content: - '*/*': - schema: - $ref: '#/components/schemas/Status' - description: Missing or invalid parameters (see detail) - security: - - token: [] - - apikey: [] - - csrf_token: [] - summary: Open-source Quota usage for a given namespace. - tags: - - quota - /quota/{owner}/: - get: - description: Quota usage for a given namespace. - operationId: quota_read - parameters: - in: path - name: owner + name: repo + required: true + schema: + type: string + - in: path + name: identifier required: true schema: type: string + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/PackageQuarantineRequest' + required: false responses: "200": content: - '*/*': + application/json: schema: - $ref: '#/components/schemas/Quota' - description: OK + $ref: '#/components/schemas/PackageQuarantineResponse' + description: Changed the package's quarantine status. "400": content: - '*/*': + application/json: schema: - $ref: '#/components/schemas/Status' - description: Request could not be processed (see detail) + $ref: '#/components/schemas/ErrorDetail' + description: The package is in the wrong state for the requested operation. "422": content: - '*/*': + application/json: schema: - $ref: '#/components/schemas/Status' - description: Missing or invalid parameters (see detail) + $ref: '#/components/schemas/ErrorDetail' + description: Missing or invalid parameters (see detail). security: - - token: [] - apikey: [] - - csrf_token: [] - summary: Quota usage for a given namespace. + summary: Quarantine or restore a package. tags: - - quota - /rates/limits/: - get: - description: Endpoint to check rate limits for current user. - operationId: rates_limits_list + - packages + x-codegen-request-body-name: data + /packages/{owner}/{repo}/{identifier}/resync/: + post: + description: Schedule a package for resynchronisation. + operationId: packages_resync + parameters: + - in: path + name: owner + required: true + schema: + type: string + - in: path + name: repo + required: true + schema: + type: string + - in: path + name: identifier + required: true + schema: + type: string responses: "200": content: - '*/*': + application/json: schema: - $ref: '#/components/schemas/ResourcesRateCheck' - description: Rate check was successful + $ref: '#/components/schemas/PackageResyncResponse' + description: Scheduled the package for resynchronisation. "400": content: - '*/*': + application/json: schema: - $ref: '#/components/schemas/Status' - description: Request could not be processed (see detail) + $ref: '#/components/schemas/ErrorDetail' + description: Request could not be processed (see detail). "422": content: - '*/*': + application/json: schema: - $ref: '#/components/schemas/Status' - description: Missing or invalid parameters (see detail) + $ref: '#/components/schemas/ErrorDetail' + description: Missing or invalid parameters (see detail). security: - - token: [] - apikey: [] - - csrf_token: [] - summary: Endpoint to check rate limits for current user. + summary: Schedule a package for resynchronisation. tags: - - rates - /repos/: - get: - description: Get a list of all repositories associated with current user. - operationId: repos_all_list + - packages + /packages/{owner}/{repo}/{identifier}/scan/: + post: + description: Schedule a package for scanning. + operationId: packages_scan parameters: - - description: A page number within the paginated result set. - in: query - name: page + - in: path + name: owner + required: true schema: - type: integer - - description: Number of results to return per page. - in: query - name: page_size + type: string + - in: path + name: repo + required: true schema: - type: integer + type: string + - in: path + name: identifier + required: true + schema: + type: string responses: "200": content: - '*/*': + application/json: schema: - items: - $ref: '#/components/schemas/Repository' - title: RepositoryList - type: array - description: Retrieved the list of repositories + $ref: '#/components/schemas/PackageResponse' + description: Scheduled the package for scanning. "400": content: - '*/*': + application/json: schema: - $ref: '#/components/schemas/Status' - description: Request could not be processed (see detail) + $ref: '#/components/schemas/ErrorDetail' + description: Request could not be processed (see detail). "422": content: - '*/*': + application/json: schema: - $ref: '#/components/schemas/Status' - description: Missing or invalid parameters (see detail) + $ref: '#/components/schemas/ErrorDetail' + description: Missing or invalid parameters (see detail). security: - - token: [] - apikey: [] - - csrf_token: [] - summary: Get a list of all repositories associated with current user. + summary: Schedule a package for scanning. tags: - - repos - /repos/{owner}/: + - packages + /packages/{owner}/{repo}/{identifier}/status/: get: - description: Get a list of all repositories within a namespace. - operationId: repos_list + description: Get the synchronisation status for a package. + operationId: packages_status parameters: - in: path name: owner required: true schema: type: string - - description: A page number within the paginated result set. - in: query - name: page + - in: path + name: repo + required: true schema: - type: integer - - description: Number of results to return per page. - in: query - name: page_size + type: string + - in: path + name: identifier + required: true schema: - type: integer + type: string responses: "200": content: - '*/*': + application/json: schema: - items: - $ref: '#/components/schemas/Repository' - title: RepositoryList - type: array - description: Retrieved the list of repositories + $ref: '#/components/schemas/PackageStatusResponse' + description: Retrieved status for specified package. "400": content: - '*/*': - schema: - $ref: '#/components/schemas/Status' - description: Request could not be processed (see detail) - "404": - content: - '*/*': + application/json: schema: - $ref: '#/components/schemas/Status' - description: Owner namespace not found + $ref: '#/components/schemas/ErrorDetail' + description: Request could not be processed (see detail). "422": content: - '*/*': + application/json: schema: - $ref: '#/components/schemas/Status' - description: Missing or invalid parameters (see detail) + $ref: '#/components/schemas/ErrorDetail' + description: Missing or invalid parameters (see detail). security: - - token: [] - apikey: [] - - csrf_token: [] - summary: Get a list of all repositories within a namespace. + summary: Get the synchronisation status for a package. tags: - - repos + - packages + /packages/{owner}/{repo}/{identifier}/tag/: post: - description: Create a new repository in a given namespace. - operationId: repos_create + description: Add/Replace/Remove tags for a package. + operationId: packages_tag parameters: - in: path name: owner required: true schema: type: string + - in: path + name: repo + required: true + schema: + type: string + - in: path + name: identifier + required: true + schema: + type: string requestBody: - $ref: '#/components/requestBodies/ReposCreate' content: application/json: schema: - example: - delete_own: true - move_packages: Admin - scan_packages: Admin - show_setup_all: true - description: description - index_files: true - use_source_packages: true - docker_refresh_tokens_enabled: true - proxy_npmjs: true - move_own: true - delete_packages: Admin - repository_type_str: repository_type_str - use_vulnerability_scanning: true - resync_own: true - slug: slug - copy_own: true - proxy_pypi: true - raw_package_index_enabled: true - contextual_auth_realm: true - resync_packages: Admin - view_statistics: Admin - copy_packages: Admin - replace_packages: Admin - user_entitlements_enabled: true - use_noarch_packages: true - use_default_cargo_upstream: true - storage_region: storage_region - scan_own: true - name: name - use_debian_labels: true - replace_packages_by_default: true - strict_npm_validation: true - default_privilege: Admin - raw_package_index_signatures_enabled: true - properties: - contextual_auth_realm: - description: If checked, missing credentials for this repository - where basic authentication is required shall present an enriched - value in the 'WWW-Authenticate' header containing the namespace - and repository. This can be useful for tooling such as SBT where - the authentication realm is used to distinguish and disambiguate - credentials. - type: boolean - copy_own: - description: If checked, users can copy any of their own packages - that they have uploaded, assuming that they still have write privilege - for the repository. This takes precedence over privileges configured - in the 'Access Controls' section of the repository, and any inherited - from the org. - type: boolean - copy_packages: - description: This defines the minimum level of privilege required - for a user to copy packages. Unless the package was uploaded by - that user, in which the permission may be overridden by the user-specific - copy setting. - enum: - - Admin - - Write - - Read - type: string - default_privilege: - description: This defines the default level of privilege that all - of your organization members have for this repository. This does - not include collaborators, but applies to any member of the org - regardless of their own membership role (i.e. it applies to owners, - managers and members). Be careful if setting this to admin, because - any member will be able to change settings. - enum: - - Admin - - Write - - Read - - None - type: string - delete_own: - description: If checked, users can delete any of their own packages - that they have uploaded, assuming that they still have write privilege - for the repository. This takes precedence over privileges configured - in the 'Access Controls' section of the repository, and any inherited - from the org. - type: boolean - delete_packages: - description: This defines the minimum level of privilege required - for a user to delete packages. Unless the package was uploaded - by that user, in which the permission may be overridden by the - user-specific delete setting. - enum: - - Admin - - Write - type: string - description: - description: A description of the repository's purpose/contents. - type: string - docker_refresh_tokens_enabled: - description: If checked, refresh tokens will be issued in addition - to access tokens for Docker authentication. This allows unlimited - extension of the lifetime of access tokens. - type: boolean - index_files: - description: If checked, files contained in packages will be indexed, - which increase the synchronisation time required for packages. - Note that it is recommended you keep this enabled unless the synchronisation - time is significantly impacted. - type: boolean - move_own: - description: If checked, users can move any of their own packages - that they have uploaded, assuming that they still have write privilege - for the repository. This takes precedence over privileges configured - in the 'Access Controls' section of the repository, and any inherited - from the org. - type: boolean - move_packages: - description: This defines the minimum level of privilege required - for a user to move packages. Unless the package was uploaded by - that user, in which the permission may be overridden by the user-specific - move setting. - enum: - - Admin - - Write - - Read - type: string - name: - description: A descriptive name for the repository. - type: string - proxy_npmjs: - description: If checked, Npm packages that are not in the repository - when requested by clients will automatically be proxied from the - public npmjs.org registry. If there is at least one version for - a package, others will not be proxied. - type: boolean - proxy_pypi: - description: If checked, Python packages that are not in the repository - when requested by clients will automatically be proxied from the - public pypi.python.org registry. If there is at least one version - for a package, others will not be proxied. - type: boolean - raw_package_index_enabled: - description: If checked, HTML and JSON indexes will be generated - that list all available raw packages in the repository. - type: boolean - raw_package_index_signatures_enabled: - description: If checked, the HTML and JSON indexes will display - raw package GPG signatures alongside the index packages. - type: boolean - replace_packages: - description: This defines the minimum level of privilege required - for a user to republish packages. Unless the package was uploaded - by that user, in which the permission may be overridden by the - user-specific republish setting. Please note that the user still - requires the privilege to delete packages that will be replaced - by the new package; otherwise the republish will fail. - enum: - - Admin - - Write - type: string - replace_packages_by_default: - description: If checked, uploaded packages will overwrite/replace - any others with the same attributes (e.g. same version) by default. - This only applies if the user has the required privilege for the - republishing AND has the required privilege to delete existing - packages that they don't own. - type: boolean - repository_type_str: - description: |- - The repository type changes how it is accessed and billed. - Private repositories can only be used on paid plans, but are visible - only to you or authorised delegates. Public repositories are free to - use on all plans and visible to all Cloudsmith users. - type: string - resync_own: - description: If checked, users can resync any of their own packages - that they have uploaded, assuming that they still have write privilege - for the repository. This takes precedence over privileges configured - in the 'Access Controls' section of the repository, and any inherited - from the org. - type: boolean - resync_packages: - description: This defines the minimum level of privilege required - for a user to resync packages. Unless the package was uploaded - by that user, in which the permission may be overridden by the - user-specific resync setting. - enum: - - Admin - - Write - type: string - scan_own: - description: If checked, users can scan any of their own packages - that they have uploaded, assuming that they still have write privilege - for the repository. This takes precedence over privileges configured - in the 'Access Controls' section of the repository, and any inherited - from the org. - type: boolean - scan_packages: - description: This defines the minimum level of privilege required - for a user to scan packages. Unless the package was uploaded by - that user, in which the permission may be overridden by the user-specific - scan setting. - enum: - - Admin - - Write - - Read - type: string - show_setup_all: - description: If checked, the Set Me Up help for all formats will - always be shown, even if you don't have packages of that type - uploaded. Otherwise, help will only be shown for packages that - are in the repository. For example, if you have uploaded only - NuGet packages, then the Set Me Up help for NuGet packages will - be shown only. - type: boolean - slug: - description: The slug identifies the repository in URIs. - type: string - storage_region: - description: The Cloudsmith region in which package files are stored. - type: string - strict_npm_validation: - description: If checked, npm packages will be validated strictly - to ensure the package matches specifcation. You can turn this - off if you have packages that are old or otherwise mildly off-spec, - but we can't guarantee the packages will work with npm-cli or - other tooling correctly. Turn off at your own risk! - type: boolean - use_debian_labels: - description: If checked, a 'Label' field will be present in Debian-based - repositories. It will contain a string that identifies the entitlement - token used to authenticate the repository, in the form of 'source=t-'; - or 'source=none' if no token was used. You can use this to help - with pinning. - type: boolean - use_default_cargo_upstream: - description: If checked, dependencies of uploaded Cargo crates which - do not set an explicit value for "registry" will be assumed to - be available from crates.io. If unchecked, dependencies with unspecified - "registry" values will be assumed to be available in the registry - being uploaded to. Uncheck this if you want to ensure that dependencies - are only ever installed from Cloudsmith unless explicitly specified - as belong to another registry. - type: boolean - use_noarch_packages: - description: If checked, noarch packages (if supported) are enabled - in installations/configurations. A noarch package is one that - is not tied to specific system architecture (like i686). - type: boolean - use_source_packages: - description: If checked, source packages (if supported) are enabled - in installations/configurations. A source package is one that - contains source code rather than built binaries. - type: boolean - use_vulnerability_scanning: - description: If checked, vulnerability scanning will be enabled - for all supported packages within this repository. - type: boolean - user_entitlements_enabled: - description: If checked, users can use and manage their own user-specific - entitlement token for the repository (if private). Otherwise, - user-specific entitlements are disabled for all users. - type: boolean - view_statistics: - description: This defines the minimum level of privilege required - for a user to view repository statistics, to include entitlement-based - usage, if applciable. If a user does not have the permission, - they won't be able to view any statistics, either via the UI, - API or CLI. - enum: - - Admin - - Write - - Read - type: string - required: - - name - title: ReposCreate - type: object + $ref: '#/components/schemas/PackageTagRequest' required: false responses: - "201": + "200": content: - '*/*': + application/json: schema: - $ref: '#/components/schemas/RepositoryCreate' - description: The repository was created + $ref: '#/components/schemas/PackageResponse' + description: Modified tags for the package. "400": content: - '*/*': + application/json: schema: - $ref: '#/components/schemas/Status' - description: Request could not be processed (see detail) - "404": - content: - '*/*': - schema: - $ref: '#/components/schemas/Status' - description: Owner namespace not found + $ref: '#/components/schemas/ErrorDetail' + description: Request could not be processed (see detail). "422": content: - '*/*': + application/json: schema: - $ref: '#/components/schemas/Status' - description: Missing or invalid parameters (see detail) + $ref: '#/components/schemas/ErrorDetail' + description: Missing or invalid parameters (see detail). security: - - token: [] - apikey: [] - - csrf_token: [] - summary: Create a new repository in a given namespace. + summary: Add/Replace/Remove tags for a package. tags: - - repos + - packages x-codegen-request-body-name: data - /repos/{owner}/{identifier}/: - delete: - description: Delete a repository in a given namespace. - operationId: repos_delete + /quota/history/{owner}/: + get: + description: Quota history for a given namespace. + operationId: quota_history_read parameters: - in: path name: owner required: true schema: type: string - - in: path - name: identifier - required: true - schema: - type: string responses: "200": - content: {} - description: The repository has been scheduled for deletion - "400": content: - '*/*': + application/json: schema: - $ref: '#/components/schemas/Status' - description: Request could not be processed (see detail) - "404": + $ref: '#/components/schemas/QuotaHistoryResponse' + description: OK + "400": content: - '*/*': + application/json: schema: - $ref: '#/components/schemas/Status' - description: Unable to find repository with that name in the provided namespace + $ref: '#/components/schemas/ErrorDetail' + description: Request could not be processed (see detail). "422": content: - '*/*': + application/json: schema: - $ref: '#/components/schemas/Status' - description: Missing or invalid parameters (see detail) + $ref: '#/components/schemas/ErrorDetail' + description: Missing or invalid parameters (see detail). security: - - token: [] - apikey: [] - - csrf_token: [] - summary: Delete a repository in a given namespace. + summary: Quota history for a given namespace. tags: - - repos + - quota + /quota/oss/history/{owner}/: get: - description: Get a specific repository. - operationId: repos_read + description: Open-source Quota history for a given namespace. + operationId: quota_oss_history_read parameters: - in: path name: owner required: true schema: type: string - - in: path - name: identifier - required: true - schema: - type: string responses: "200": content: - '*/*': + application/json: schema: - $ref: '#/components/schemas/Repository' - description: Retrieved the specified repository + $ref: '#/components/schemas/QuotaHistoryResponse' + description: OK "400": content: - '*/*': - schema: - $ref: '#/components/schemas/Status' - description: Request could not be processed (see detail) - "404": - content: - '*/*': + application/json: schema: - $ref: '#/components/schemas/Status' - description: Owner namespace or repository not found + $ref: '#/components/schemas/ErrorDetail' + description: Request could not be processed (see detail). "422": content: - '*/*': + application/json: schema: - $ref: '#/components/schemas/Status' - description: Missing or invalid parameters (see detail) + $ref: '#/components/schemas/ErrorDetail' + description: Missing or invalid parameters (see detail). security: - - token: [] - apikey: [] - - csrf_token: [] - summary: Get a specific repository. + summary: Open-source Quota history for a given namespace. tags: - - repos - patch: - description: Update details about a repository in a given namespace. - operationId: repos_partial_update + - quota + /quota/oss/{owner}/: + get: + description: Open-source Quota usage for a given namespace. + operationId: quota_oss_read parameters: - in: path name: owner required: true schema: type: string - - in: path - name: identifier - required: true - schema: - type: string - requestBody: - $ref: '#/components/requestBodies/ReposPartialUpdate' - content: - application/json: - schema: - example: - delete_own: true - move_packages: Admin - scan_packages: Admin - show_setup_all: true - description: description - index_files: true - use_source_packages: true - docker_refresh_tokens_enabled: true - proxy_npmjs: true - move_own: true - delete_packages: Admin - repository_type_str: Public - use_vulnerability_scanning: true - resync_own: true - slug: slug - copy_own: true - proxy_pypi: true - raw_package_index_enabled: true - contextual_auth_realm: true - resync_packages: Admin - view_statistics: Admin - copy_packages: Admin - replace_packages: Admin - user_entitlements_enabled: true - use_noarch_packages: true - use_default_cargo_upstream: true - scan_own: true - name: name - use_debian_labels: true - replace_packages_by_default: true - strict_npm_validation: true - default_privilege: Admin - raw_package_index_signatures_enabled: true - properties: - contextual_auth_realm: - description: If checked, missing credentials for this repository - where basic authentication is required shall present an enriched - value in the 'WWW-Authenticate' header containing the namespace - and repository. This can be useful for tooling such as SBT where - the authentication realm is used to distinguish and disambiguate - credentials. - type: boolean - copy_own: - description: If checked, users can copy any of their own packages - that they have uploaded, assuming that they still have write privilege - for the repository. This takes precedence over privileges configured - in the 'Access Controls' section of the repository, and any inherited - from the org. - type: boolean - copy_packages: - description: This defines the minimum level of privilege required - for a user to copy packages. Unless the package was uploaded by - that user, in which the permission may be overridden by the user-specific - copy setting. - enum: - - Admin - - Write - - Read - type: string - default_privilege: - description: This defines the default level of privilege that all - of your organization members have for this repository. This does - not include collaborators, but applies to any member of the org - regardless of their own membership role (i.e. it applies to owners, - managers and members). Be careful if setting this to admin, because - any member will be able to change settings. - enum: - - Admin - - Write - - Read - - None - type: string - delete_own: - description: If checked, users can delete any of their own packages - that they have uploaded, assuming that they still have write privilege - for the repository. This takes precedence over privileges configured - in the 'Access Controls' section of the repository, and any inherited - from the org. - type: boolean - delete_packages: - description: This defines the minimum level of privilege required - for a user to delete packages. Unless the package was uploaded - by that user, in which the permission may be overridden by the - user-specific delete setting. - enum: - - Admin - - Write - type: string - description: - description: A description of the repository's purpose/contents. - type: string - docker_refresh_tokens_enabled: - description: If checked, refresh tokens will be issued in addition - to access tokens for Docker authentication. This allows unlimited - extension of the lifetime of access tokens. - type: boolean - index_files: - description: If checked, files contained in packages will be indexed, - which increase the synchronisation time required for packages. - Note that it is recommended you keep this enabled unless the synchronisation - time is significantly impacted. - type: boolean - move_own: - description: If checked, users can move any of their own packages - that they have uploaded, assuming that they still have write privilege - for the repository. This takes precedence over privileges configured - in the 'Access Controls' section of the repository, and any inherited - from the org. - type: boolean - move_packages: - description: This defines the minimum level of privilege required - for a user to move packages. Unless the package was uploaded by - that user, in which the permission may be overridden by the user-specific - move setting. - enum: - - Admin - - Write - - Read - type: string - name: - description: A descriptive name for the repository. - type: string - proxy_npmjs: - description: If checked, Npm packages that are not in the repository - when requested by clients will automatically be proxied from the - public npmjs.org registry. If there is at least one version for - a package, others will not be proxied. - type: boolean - proxy_pypi: - description: If checked, Python packages that are not in the repository - when requested by clients will automatically be proxied from the - public pypi.python.org registry. If there is at least one version - for a package, others will not be proxied. - type: boolean - raw_package_index_enabled: - description: If checked, HTML and JSON indexes will be generated - that list all available raw packages in the repository. - type: boolean - raw_package_index_signatures_enabled: - description: If checked, the HTML and JSON indexes will display - raw package GPG signatures alongside the index packages. - type: boolean - replace_packages: - description: This defines the minimum level of privilege required - for a user to republish packages. Unless the package was uploaded - by that user, in which the permission may be overridden by the - user-specific republish setting. Please note that the user still - requires the privilege to delete packages that will be replaced - by the new package; otherwise the republish will fail. - enum: - - Admin - - Write - type: string - replace_packages_by_default: - description: If checked, uploaded packages will overwrite/replace - any others with the same attributes (e.g. same version) by default. - This only applies if the user has the required privilege for the - republishing AND has the required privilege to delete existing - packages that they don't own. - type: boolean - repository_type_str: - description: The repository type changes how it is accessed and - billed. Private repositories can only be used on paid plans, but - are visible only to you or authorised delegates. Public repositories - are free to use on all plans and visible to all Cloudsmith users. - enum: - - Public - - Private - - Open-Source - type: string - resync_own: - description: If checked, users can resync any of their own packages - that they have uploaded, assuming that they still have write privilege - for the repository. This takes precedence over privileges configured - in the 'Access Controls' section of the repository, and any inherited - from the org. - type: boolean - resync_packages: - description: This defines the minimum level of privilege required - for a user to resync packages. Unless the package was uploaded - by that user, in which the permission may be overridden by the - user-specific resync setting. - enum: - - Admin - - Write - type: string - scan_own: - description: If checked, users can scan any of their own packages - that they have uploaded, assuming that they still have write privilege - for the repository. This takes precedence over privileges configured - in the 'Access Controls' section of the repository, and any inherited - from the org. - type: boolean - scan_packages: - description: This defines the minimum level of privilege required - for a user to scan packages. Unless the package was uploaded by - that user, in which the permission may be overridden by the user-specific - scan setting. - enum: - - Admin - - Write - - Read - type: string - show_setup_all: - description: If checked, the Set Me Up help for all formats will - always be shown, even if you don't have packages of that type - uploaded. Otherwise, help will only be shown for packages that - are in the repository. For example, if you have uploaded only - NuGet packages, then the Set Me Up help for NuGet packages will - be shown only. - type: boolean - slug: - description: The slug identifies the repository in URIs. - type: string - strict_npm_validation: - description: If checked, npm packages will be validated strictly - to ensure the package matches specifcation. You can turn this - off if you have packages that are old or otherwise mildly off-spec, - but we can't guarantee the packages will work with npm-cli or - other tooling correctly. Turn off at your own risk! - type: boolean - use_debian_labels: - description: If checked, a 'Label' field will be present in Debian-based - repositories. It will contain a string that identifies the entitlement - token used to authenticate the repository, in the form of 'source=t-'; - or 'source=none' if no token was used. You can use this to help - with pinning. - type: boolean - use_default_cargo_upstream: - description: If checked, dependencies of uploaded Cargo crates which - do not set an explicit value for "registry" will be assumed to - be available from crates.io. If unchecked, dependencies with unspecified - "registry" values will be assumed to be available in the registry - being uploaded to. Uncheck this if you want to ensure that dependencies - are only ever installed from Cloudsmith unless explicitly specified - as belong to another registry. - type: boolean - use_noarch_packages: - description: If checked, noarch packages (if supported) are enabled - in installations/configurations. A noarch package is one that - is not tied to specific system architecture (like i686). - type: boolean - use_source_packages: - description: If checked, source packages (if supported) are enabled - in installations/configurations. A source package is one that - contains source code rather than built binaries. - type: boolean - use_vulnerability_scanning: - description: If checked, vulnerability scanning will be enabled - for all supported packages within this repository. - type: boolean - user_entitlements_enabled: - description: If checked, users can use and manage their own user-specific - entitlement token for the repository (if private). Otherwise, - user-specific entitlements are disabled for all users. - type: boolean - view_statistics: - description: This defines the minimum level of privilege required - for a user to view repository statistics, to include entitlement-based - usage, if applciable. If a user does not have the permission, - they won't be able to view any statistics, either via the UI, - API or CLI. - enum: - - Admin - - Write - - Read - type: string - title: ReposPartialUpdate - type: object - required: false responses: "200": content: - '*/*': + application/json: schema: - $ref: '#/components/schemas/Repository' - description: The repository was updated + $ref: '#/components/schemas/QuotaResponse' + description: OK "400": content: - '*/*': + application/json: schema: - $ref: '#/components/schemas/Status' - description: Request could not be processed (see detail) - "404": - content: - '*/*': - schema: - $ref: '#/components/schemas/Status' - description: Unable to find repository with that name in the provided namespace + $ref: '#/components/schemas/ErrorDetail' + description: Request could not be processed (see detail). "422": content: - '*/*': + application/json: schema: - $ref: '#/components/schemas/Status' - description: Missing or invalid parameters (see detail) + $ref: '#/components/schemas/ErrorDetail' + description: Missing or invalid parameters (see detail). security: - - token: [] - apikey: [] - - csrf_token: [] - summary: Update details about a repository in a given namespace. + summary: Open-source Quota usage for a given namespace. tags: - - repos - x-codegen-request-body-name: data - /repos/{owner}/{identifier}/gpg/: + - quota + /quota/{owner}/: get: - description: Retrieve the active GPG key for the Repository. - operationId: repos_gpg_list + description: Quota usage for a given namespace. + operationId: quota_read parameters: - in: path name: owner required: true schema: type: string - - in: path - name: identifier - required: true - schema: - type: string responses: "200": content: - '*/*': + application/json: + schema: + $ref: '#/components/schemas/QuotaResponse' + description: OK + "400": + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorDetail' + description: Request could not be processed (see detail). + "422": + content: + application/json: schema: - $ref: '#/components/schemas/RepositoryGpgKey' - description: Retrieved the active GPG key + $ref: '#/components/schemas/ErrorDetail' + description: Missing or invalid parameters (see detail). security: - - token: [] - apikey: [] - - csrf_token: [] - summary: Retrieve the active GPG key for the Repository. + summary: Quota usage for a given namespace. tags: - - repos - post: - description: Set the active GPG key for the Repository. - operationId: repos_gpg_create - parameters: - - in: path - name: owner - required: true - schema: - type: string - - in: path - name: identifier - required: true - schema: - type: string - requestBody: - $ref: '#/components/requestBodies/ReposGpgCreate' - content: - application/json: - schema: - example: - gpg_passphrase: gpg_passphrase - gpg_private_key: gpg_private_key - properties: - gpg_passphrase: - description: The GPG passphrase used for signing. - type: string - gpg_private_key: - description: The GPG private key. - type: string - required: - - gpg_private_key - title: ReposGpgCreate - type: object - required: false + - quota + /rates/limits/: + get: + description: Endpoint to check rate limits for current user. + operationId: rates_limits_list responses: "200": content: - '*/*': + application/json: schema: - $ref: '#/components/schemas/RepositoryGpgKey' - description: The provided GPG key is the same as the current GPG key - "201": + $ref: '#/components/schemas/ResourcesRateCheckResponse' + description: Rate check was successful + "400": content: - '*/*': + application/json: schema: - $ref: '#/components/schemas/RepositoryGpgKey' - description: The provided GPG key was assigned to the Repository - "400": + $ref: '#/components/schemas/ErrorDetail' + description: Request could not be processed (see detail). + "422": content: - '*/*': + application/json: schema: - $ref: '#/components/schemas/Status' - description: The provided GPG key is not valid - "402": + $ref: '#/components/schemas/ErrorDetail' + description: Missing or invalid parameters (see detail). + security: + - apikey: [] + summary: Endpoint to check rate limits for current user. + tags: + - rates + /repos/: + get: + description: Get a list of all repositories associated with current user. + operationId: repos_user_list + parameters: + - description: A page number within the paginated result set. + in: query + name: page + schema: + type: integer + - description: Number of results to return per page. + in: query + name: page_size + schema: + type: integer + responses: + "200": content: - '*/*': + application/json: schema: - $ref: '#/components/schemas/Status' - description: Custom GPG keys are not active; upgrade your account! - "404": + items: + $ref: '#/components/schemas/RepositoryResponse' + type: array + description: Retrieved the list of repositories + "400": content: - '*/*': + application/json: schema: - $ref: '#/components/schemas/Status' - description: Organizaition/Repository does not exist, or you do not have - permissions + $ref: '#/components/schemas/ErrorDetail' + description: Request could not be processed (see detail). "422": content: - '*/*': + application/json: schema: - $ref: '#/components/schemas/Status' - description: Missing or invalid parameters (see detail) + $ref: '#/components/schemas/ErrorDetail' + description: Missing or invalid parameters (see detail). security: - - token: [] - apikey: [] - - csrf_token: [] - summary: Set the active GPG key for the Repository. + summary: Get a list of all repositories associated with current user. tags: - repos - x-codegen-request-body-name: data - /repos/{owner}/{identifier}/gpg/regenerate/: - post: - description: Regenerate GPG Key for the Repository. - operationId: repos_gpg_regenerate + /repos/{owner}/: + get: + description: Get a list of all repositories within a namespace. + operationId: repos_namespace_list parameters: - in: path name: owner required: true schema: type: string - - in: path - name: identifier - required: true + - description: A page number within the paginated result set. + in: query + name: page schema: - type: string + type: integer + - description: Number of results to return per page. + in: query + name: page_size + schema: + type: integer responses: "200": content: - '*/*': + application/json: + schema: + items: + $ref: '#/components/schemas/RepositoryResponse' + type: array + description: Retrieved the list of repositories + "404": + content: + application/json: schema: - $ref: '#/components/schemas/RepositoryGpgKey' - description: A GPG key was generated for the Repository + $ref: '#/components/schemas/ErrorDetail' + description: Owner namespace not found + "400": + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorDetail' + description: Request could not be processed (see detail). + "422": + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorDetail' + description: Missing or invalid parameters (see detail). security: - - token: [] - apikey: [] - - csrf_token: [] - summary: Regenerate GPG Key for the Repository. + summary: Get a list of all repositories within a namespace. tags: - repos - /repos/{owner}/{identifier}/privileges: - delete: - description: Remove the specified repository privileges. - operationId: repos_privileges_delete + post: + description: Create a new repository in a given namespace. + operationId: repos_create parameters: - in: path name: owner required: true schema: type: string - - in: path - name: identifier - required: true - schema: - type: string + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/RepositoryCreateRequest' + required: false responses: - "204": - content: {} - description: The specified user and/or team repository privileges have been - removed + "201": + content: + application/json: + schema: + $ref: '#/components/schemas/RepositoryCreateResponse' + description: The repository was created. + "404": + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorDetail' + description: Owner namespace not found. "400": content: - '*/*': + application/json: schema: - $ref: '#/components/schemas/Status' - description: Request could not be processed (see detail) + $ref: '#/components/schemas/ErrorDetail' + description: Request could not be processed (see detail). "422": content: - '*/*': + application/json: schema: - $ref: '#/components/schemas/Status' - description: Missing or invalid parameters (see detail) + $ref: '#/components/schemas/ErrorDetail' + description: Missing or invalid parameters (see detail). security: - - token: [] - apikey: [] - - csrf_token: [] - summary: Remove the specified repository privileges. + summary: Create a new repository in a given namespace. tags: - repos - get: - description: List all explicity created privileges for the repository. - operationId: repos_privileges_list + x-codegen-request-body-name: data + /repos/{owner}/{identifier}/: + delete: + description: Delete a repository in a given namespace. + operationId: repos_delete parameters: - in: path name: owner @@ -8325,42 +5918,34 @@ paths: type: string responses: "200": + content: {} + description: The repository has been scheduled for deletion. + "404": content: - '*/*': + application/json: schema: - items: - $ref: '#/components/schemas/RepositoryPrivilegeList' - title: RepositoryPrivilegeListList - type: array - description: Retrieved privileges for the specified repository + $ref: '#/components/schemas/ErrorDetail' + description: Unable to find repository with that name in the provided namespace. "400": content: - '*/*': - schema: - $ref: '#/components/schemas/Status' - description: Request could not be processed (see detail) - "404": - content: - '*/*': + application/json: schema: - $ref: '#/components/schemas/Status' - description: Owner namespace or repository not found + $ref: '#/components/schemas/ErrorDetail' + description: Request could not be processed (see detail). "422": content: - '*/*': + application/json: schema: - $ref: '#/components/schemas/Status' - description: Missing or invalid parameters (see detail) + $ref: '#/components/schemas/ErrorDetail' + description: Missing or invalid parameters (see detail). security: - - token: [] - apikey: [] - - csrf_token: [] - summary: List all explicity created privileges for the repository. + summary: Delete a repository in a given namespace. tags: - repos - patch: - description: Update the specified repository privileges. - operationId: repos_privileges_partial_update + get: + description: Get a specific repository. + operationId: repos_read parameters: - in: path name: owner @@ -8373,37 +5958,38 @@ paths: schema: type: string responses: - "204": - content: {} - description: Repository privileges updated - "400": + "200": content: - '*/*': + application/json: schema: - $ref: '#/components/schemas/Status' - description: Request could not be processed (see detail) + $ref: '#/components/schemas/RepositoryResponse' + description: Retrieved the specified repository "404": content: - '*/*': + application/json: schema: - $ref: '#/components/schemas/Status' + $ref: '#/components/schemas/ErrorDetail' description: Owner namespace or repository not found + "400": + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorDetail' + description: Request could not be processed (see detail). "422": content: - '*/*': + application/json: schema: - $ref: '#/components/schemas/Status' - description: Missing or invalid parameters (see detail) + $ref: '#/components/schemas/ErrorDetail' + description: Missing or invalid parameters (see detail). security: - - token: [] - apikey: [] - - csrf_token: [] - summary: Update the specified repository privileges. + summary: Get a specific repository. tags: - repos - put: - description: Replace all existing repository privileges with those specified. - operationId: repos_privileges_update + patch: + description: Update details about a repository in a given namespace. + operationId: repos_partial_update parameters: - in: path name: owner @@ -8415,42 +6001,47 @@ paths: required: true schema: type: string + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/RepositoryRequestPatch' + required: false responses: "200": content: - '*/*': + application/json: schema: - $ref: '#/components/schemas/RepositoryPrivilegeList' - description: Repository privileges replaced - "400": + $ref: '#/components/schemas/RepositoryResponse' + description: The repository was updated. + "404": content: - '*/*': + application/json: schema: - $ref: '#/components/schemas/Status' - description: Request could not be processed (see detail) - "404": + $ref: '#/components/schemas/ErrorDetail' + description: Unable to find repository with that name in the provided namespace. + "400": content: - '*/*': + application/json: schema: - $ref: '#/components/schemas/Status' - description: Owner namespace or repository not found + $ref: '#/components/schemas/ErrorDetail' + description: Request could not be processed (see detail). "422": content: - '*/*': + application/json: schema: - $ref: '#/components/schemas/Status' - description: Missing or invalid parameters (see detail) + $ref: '#/components/schemas/ErrorDetail' + description: Missing or invalid parameters (see detail). security: - - token: [] - apikey: [] - - csrf_token: [] - summary: Replace all existing repository privileges with those specified. + summary: Update details about a repository in a given namespace. tags: - repos - /repos/{owner}/{identifier}/rsa/: + x-codegen-request-body-name: data + /repos/{owner}/{identifier}/gpg/: get: - description: Retrieve the active RSA key for the Repository. - operationId: repos_rsa_list + description: Retrieve the active GPG key for the Repository. + operationId: repos_gpg_list parameters: - in: path name: owner @@ -8465,20 +6056,30 @@ paths: responses: "200": content: - '*/*': + application/json: + schema: + $ref: '#/components/schemas/RepositoryGpgKeyResponse' + description: Retrieved the active GPG key. + "400": + content: + application/json: schema: - $ref: '#/components/schemas/RepositoryRsaKey' - description: Retrieved the active RSA key + $ref: '#/components/schemas/ErrorDetail' + description: Request could not be processed (see detail). + "422": + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorDetail' + description: Missing or invalid parameters (see detail). security: - - token: [] - apikey: [] - - csrf_token: [] - summary: Retrieve the active RSA key for the Repository. + summary: Retrieve the active GPG key for the Repository. tags: - repos post: - description: Set the active RSA key for the Repository. - operationId: repos_rsa_create + description: Set the active GPG key for the Repository. + operationId: repos_gpg_create parameters: - in: path name: owner @@ -8491,75 +6092,59 @@ paths: schema: type: string requestBody: - $ref: '#/components/requestBodies/ReposRsaCreate' content: application/json: schema: - example: - rsa_private_key: rsa_private_key - rsa_passphrase: rsa_passphrase - properties: - rsa_passphrase: - description: The RSA passphrase used for signing. - type: string - rsa_private_key: - description: The RSA private key. - type: string - required: - - rsa_private_key - title: ReposRsaCreate - type: object + $ref: '#/components/schemas/RepositoryGpgKeyCreate' required: false responses: "200": content: - '*/*': + application/json: schema: - $ref: '#/components/schemas/RepositoryRsaKey' - description: The provided RSA key is the same as the current RSA key + $ref: '#/components/schemas/RepositoryGpgKeyResponse' + description: The provided GPG key is the same as the current GPG key. "201": content: - '*/*': + application/json: schema: - $ref: '#/components/schemas/RepositoryRsaKey' - description: The provided RSA key was assigned to the Repository + $ref: '#/components/schemas/RepositoryGpgKeyResponse' + description: The provided GPG key was assigned to the Repository. "400": content: - '*/*': + application/json: schema: - $ref: '#/components/schemas/Status' - description: The provided RSA key is not valid + $ref: '#/components/schemas/ErrorDetail' + description: The provided GPG key is not valid "402": content: - '*/*': + application/json: schema: - $ref: '#/components/schemas/Status' - description: Custom RSA keys are not active; upgrade your account! + $ref: '#/components/schemas/ErrorDetail' + description: Custom GPG keys are not active; upgrade your account! "404": content: - '*/*': + application/json: schema: - $ref: '#/components/schemas/Status' - description: Organization/Repository does not exist, or you do not have - permissions + $ref: '#/components/schemas/ErrorDetail' + description: "Organizaition/Repository does not exist, or you do not have\ + \ permissions." "422": content: - '*/*': + application/json: schema: - $ref: '#/components/schemas/Status' - description: Missing or invalid parameters (see detail) + $ref: '#/components/schemas/ErrorDetail' + description: Missing or invalid parameters (see detail). security: - - token: [] - apikey: [] - - csrf_token: [] - summary: Set the active RSA key for the Repository. + summary: Set the active GPG key for the Repository. tags: - repos x-codegen-request-body-name: data - /repos/{owner}/{identifier}/rsa/regenerate/: + /repos/{owner}/{identifier}/gpg/regenerate/: post: - description: Regenerate RSA Key for the Repository. - operationId: repos_rsa_regenerate + description: Regenerate GPG Key for the Repository. + operationId: repos_gpg_regenerate parameters: - in: path name: owner @@ -8574,109 +6159,408 @@ paths: responses: "200": content: - '*/*': - schema: - $ref: '#/components/schemas/RepositoryRsaKey' - description: An RSA key was generated for the Repository - security: - - token: [] - - apikey: [] - - csrf_token: [] - summary: Regenerate RSA Key for the Repository. - tags: - - repos - /status/check/basic/: - get: - description: Endpoint to check basic API connectivity. - operationId: status_check_basic - responses: - "200": - content: - '*/*': - schema: - $ref: '#/components/schemas/StatusBasic' - description: Status check was successful - "400": - content: - '*/*': - schema: - $ref: '#/components/schemas/Status' - description: Request could not be processed (see detail) - "422": - content: - '*/*': - schema: - $ref: '#/components/schemas/Status' - description: Missing or invalid parameters (see detail) - summary: Endpoint to check basic API connectivity. - tags: - - status - /storage-regions/: - get: - description: Get a list of all available storage regions. - operationId: storage-regions_list - responses: - "200": - content: - '*/*': + application/json: schema: - items: - $ref: '#/components/schemas/StorageRegion' - title: StorageRegionList - type: array - description: Available storage regions retrieved + $ref: '#/components/schemas/RepositoryGpgKeyResponse' + description: A GPG key was generated for the Repository. "400": content: - '*/*': + application/json: schema: - $ref: '#/components/schemas/Status' - description: Request could not be processed (see detail) + $ref: '#/components/schemas/ErrorDetail' + description: Request could not be processed (see detail). "422": content: - '*/*': + application/json: schema: - $ref: '#/components/schemas/Status' - description: Missing or invalid parameters (see detail) + $ref: '#/components/schemas/ErrorDetail' + description: Missing or invalid parameters (see detail). security: - - token: [] - apikey: [] - - csrf_token: [] - summary: Get a list of all available storage regions. + summary: Regenerate GPG Key for the Repository. tags: - - storage-regions - /storage-regions/{slug}/: + - repos + /repos/{owner}/{identifier}/privileges: get: - description: Get a specific storage region. - operationId: storage-regions_read + description: List all explicity created privileges for the repository. + operationId: repos_privileges_list parameters: - in: path - name: slug + name: owner + required: true + schema: + type: string + - in: path + name: identifier required: true schema: type: string + - description: A page number within the paginated result set. + in: query + name: page + schema: + type: integer + - description: Number of results to return per page. + in: query + name: page_size + schema: + type: integer responses: "200": content: - '*/*': + application/json: schema: - $ref: '#/components/schemas/StorageRegion' - description: OK + $ref: '#/components/schemas/RepositoryPrivilegeInputResponse' + description: Retrieved privileges for the specified repository + "404": + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorDetail' + description: Owner namespace or repository not found "400": content: - '*/*': + application/json: schema: - $ref: '#/components/schemas/Status' - description: Request could not be processed (see detail) + $ref: '#/components/schemas/ErrorDetail' + description: Request could not be processed (see detail). "422": content: - '*/*': + application/json: schema: - $ref: '#/components/schemas/Status' - description: Missing or invalid parameters (see detail) + $ref: '#/components/schemas/ErrorDetail' + description: Missing or invalid parameters (see detail). + security: + - apikey: [] + summary: List all explicity created privileges for the repository. + tags: + - repos + patch: + description: Modify privileges for the repository. + operationId: repos_privileges_partial_update + parameters: + - in: path + name: owner + required: true + schema: + type: string + - in: path + name: identifier + required: true + schema: + type: string + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/RepositoryPrivilegeInputRequestPatch' + required: false + responses: + "204": + content: {} + description: Repository privileges updated + "404": + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorDetail' + description: Owner namespace or repository not found + "400": + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorDetail' + description: Request could not be processed (see detail). + "422": + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorDetail' + description: Missing or invalid parameters (see detail). + security: + - apikey: [] + summary: Modify privileges for the repository. + tags: + - repos + x-codegen-request-body-name: data + put: + description: Replace all existing repository privileges with those specified. + operationId: repos_privileges_update + parameters: + - in: path + name: owner + required: true + schema: + type: string + - in: path + name: identifier + required: true + schema: + type: string + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/RepositoryPrivilegeInputRequest' + required: false + responses: + "204": + content: {} + description: Repository privileges replaced + "404": + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorDetail' + description: Owner namespace or repository not found + "400": + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorDetail' + description: Request could not be processed (see detail). + "422": + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorDetail' + description: Missing or invalid parameters (see detail). + security: + - apikey: [] + summary: Replace all existing repository privileges with those specified. + tags: + - repos + x-codegen-request-body-name: data + /repos/{owner}/{identifier}/rsa/: + get: + description: Retrieve the active RSA key for the Repository. + operationId: repos_rsa_list + parameters: + - in: path + name: owner + required: true + schema: + type: string + - in: path + name: identifier + required: true + schema: + type: string + responses: + "200": + content: + application/json: + schema: + $ref: '#/components/schemas/RepositoryRsaKeyResponse' + description: Retrieved the active RSA key. + "400": + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorDetail' + description: Request could not be processed (see detail). + "422": + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorDetail' + description: Missing or invalid parameters (see detail). + security: + - apikey: [] + summary: Retrieve the active RSA key for the Repository. + tags: + - repos + post: + description: Set the active RSA key for the Repository. + operationId: repos_rsa_create + parameters: + - in: path + name: owner + required: true + schema: + type: string + - in: path + name: identifier + required: true + schema: + type: string + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/RepositoryRsaKeyCreate' + required: false + responses: + "200": + content: + application/json: + schema: + $ref: '#/components/schemas/RepositoryRsaKeyResponse' + description: The provided RSA key is the same as the current RSA key. + "201": + content: + application/json: + schema: + $ref: '#/components/schemas/RepositoryRsaKeyResponse' + description: The provided RSA key was assigned to the Repository. + "400": + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorDetail' + description: The provided RSA key is not valid + "402": + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorDetail' + description: Custom RSA keys are not active; upgrade your account! + "404": + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorDetail' + description: "Organization/Repository does not exist, or you do not have\ + \ permissions." + "422": + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorDetail' + description: Missing or invalid parameters (see detail). + security: + - apikey: [] + summary: Set the active RSA key for the Repository. + tags: + - repos + x-codegen-request-body-name: data + /repos/{owner}/{identifier}/rsa/regenerate/: + post: + description: Regenerate RSA Key for the Repository. + operationId: repos_rsa_regenerate + parameters: + - in: path + name: owner + required: true + schema: + type: string + - in: path + name: identifier + required: true + schema: + type: string + responses: + "200": + content: + application/json: + schema: + $ref: '#/components/schemas/RepositoryRsaKeyResponse' + description: An RSA key was generated for the Repository. + "400": + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorDetail' + description: Request could not be processed (see detail). + "422": + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorDetail' + description: Missing or invalid parameters (see detail). + security: + - apikey: [] + summary: Regenerate RSA Key for the Repository. + tags: + - repos + /status/check/basic/: + get: + description: Endpoint to check basic API connectivity. + operationId: status_check_basic + responses: + "200": + content: + application/json: + schema: + $ref: '#/components/schemas/StatusBasicResponse' + description: Status check was successful + "400": + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorDetail' + description: Request could not be processed (see detail). + "422": + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorDetail' + description: Missing or invalid parameters (see detail). + security: [] + summary: Endpoint to check basic API connectivity. + tags: + - status + /storage-regions/: + get: + description: Get a list of all available storage regions. + operationId: storage-regions_list + responses: + "200": + content: + application/json: + schema: + items: + $ref: '#/components/schemas/StorageRegionResponse' + type: array + description: Available storage regions retrieved + "400": + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorDetail' + description: Request could not be processed (see detail). + "422": + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorDetail' + description: Missing or invalid parameters (see detail). + security: + - apikey: [] + summary: Get a list of all available storage regions. + tags: + - storage-regions + /storage-regions/{slug}/: + get: + description: Get a specific storage region. + operationId: storage-regions_read + parameters: + - in: path + name: slug + required: true + schema: + type: string + responses: + "200": + content: + application/json: + schema: + $ref: '#/components/schemas/StorageRegionResponse' + description: OK + "400": + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorDetail' + description: Request could not be processed (see detail). + "422": + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorDetail' + description: Missing or invalid parameters (see detail). security: - - token: [] - apikey: [] - - csrf_token: [] summary: Get a specific storage region. tags: - storage-regions @@ -8687,26 +6571,24 @@ paths: responses: "200": content: - '*/*': + application/json: schema: - $ref: '#/components/schemas/UserBrief' + $ref: '#/components/schemas/UserBriefResponse' description: Retrieved brief for the current user "400": content: - '*/*': + application/json: schema: - $ref: '#/components/schemas/Status' - description: Request could not be processed (see detail) + $ref: '#/components/schemas/ErrorDetail' + description: Request could not be processed (see detail). "422": content: - '*/*': + application/json: schema: - $ref: '#/components/schemas/Status' - description: Missing or invalid parameters (see detail) + $ref: '#/components/schemas/ErrorDetail' + description: Missing or invalid parameters (see detail). security: - - token: [] - apikey: [] - - csrf_token: [] summary: Provide a brief for the current user (if any). tags: - user @@ -8715,52 +6597,32 @@ paths: description: Retrieve the API key/token for the authenticated user. operationId: user_token_create requestBody: - $ref: '#/components/requestBodies/UserTokenCreate' content: application/json: schema: - example: - password: password - email: email - properties: - email: - description: Email address to authenticate with - type: string - password: - description: Password to authenticate with - type: string - title: UserTokenCreate - type: object + $ref: '#/components/schemas/UserAuthTokenRequest' required: false responses: "201": content: - '*/*': + application/json: schema: - $ref: '#/components/schemas/UserAuthToken' - description: Retrieved/created user API token/key + $ref: '#/components/schemas/UserAuthTokenResponse' + description: Created "400": content: - '*/*': + application/json: schema: - $ref: '#/components/schemas/Status' - description: Request could not be processed (see detail) - "403": - content: - '*/*': - schema: - $ref: '#/components/schemas/Status' - description: Locked out + $ref: '#/components/schemas/ErrorDetail' + description: Request could not be processed (see detail). "422": content: - '*/*': + application/json: schema: - $ref: '#/components/schemas/Status' - description: Failed to authenticate + $ref: '#/components/schemas/ErrorDetail' + description: Missing or invalid parameters (see detail). security: - - token: [] - apikey: [] - - csrf_token: [] summary: Retrieve the API key/token for the authenticated user. tags: - user @@ -8778,34 +6640,32 @@ paths: responses: "200": content: - '*/*': + application/json: schema: - $ref: '#/components/schemas/UserProfile' - description: Retrieved details for the specified user (or current user, - if none was specified) + $ref: '#/components/schemas/UserProfileResponse' + description: "Retrieved details for the specified user (or current user,\ + \ if none was specified)" "400": content: - '*/*': + application/json: schema: - $ref: '#/components/schemas/Status' - description: Request could not be processed (see detail) + $ref: '#/components/schemas/ErrorDetail' + description: Request could not be processed (see detail). "422": content: - '*/*': + application/json: schema: - $ref: '#/components/schemas/Status' - description: Missing or invalid parameters (see detail) + $ref: '#/components/schemas/ErrorDetail' + description: Missing or invalid parameters (see detail). security: - - token: [] - apikey: [] - - csrf_token: [] summary: Provide a brief for the specified user (if any). tags: - users /vulnerabilities/{owner}/: get: description: Lists scan results for a specific namespace. - operationId: vulnerabilities_list + operationId: vulnerabilities_namespace_list parameters: - in: path name: owner @@ -8825,36 +6685,33 @@ paths: responses: "200": content: - '*/*': + application/json: schema: items: - $ref: '#/components/schemas/VulnerabilityScanResultsList' - title: VulnerabilityScanResultsListList + $ref: '#/components/schemas/VulnerabilityScanResultsListResponse' type: array description: OK "400": content: - '*/*': + application/json: schema: - $ref: '#/components/schemas/Status' - description: Request could not be processed (see detail) + $ref: '#/components/schemas/ErrorDetail' + description: Request could not be processed (see detail). "422": content: - '*/*': + application/json: schema: - $ref: '#/components/schemas/Status' - description: Missing or invalid parameters (see detail) + $ref: '#/components/schemas/ErrorDetail' + description: Missing or invalid parameters (see detail). security: - - token: [] - apikey: [] - - csrf_token: [] summary: Lists scan results for a specific namespace. tags: - vulnerabilities /vulnerabilities/{owner}/{repo}/: get: description: Lists scan results for a specific repository. - operationId: vulnerabilities_list_0 + operationId: vulnerabilities_repo_list parameters: - in: path name: owner @@ -8879,36 +6736,33 @@ paths: responses: "200": content: - '*/*': + application/json: schema: items: - $ref: '#/components/schemas/VulnerabilityScanResultsList' - title: VulnerabilityScanResultsListList + $ref: '#/components/schemas/VulnerabilityScanResultsListResponse' type: array description: OK "400": content: - '*/*': + application/json: schema: - $ref: '#/components/schemas/Status' - description: Request could not be processed (see detail) + $ref: '#/components/schemas/ErrorDetail' + description: Request could not be processed (see detail). "422": content: - '*/*': + application/json: schema: - $ref: '#/components/schemas/Status' - description: Missing or invalid parameters (see detail) + $ref: '#/components/schemas/ErrorDetail' + description: Missing or invalid parameters (see detail). security: - - token: [] - apikey: [] - - csrf_token: [] summary: Lists scan results for a specific repository. tags: - vulnerabilities /vulnerabilities/{owner}/{repo}/{package}/: get: description: Lists scan results for a specific package. - operationId: vulnerabilities_list_1 + operationId: vulnerabilities_package_list parameters: - in: path name: owner @@ -8938,29 +6792,26 @@ paths: responses: "200": content: - '*/*': + application/json: schema: items: - $ref: '#/components/schemas/VulnerabilityScanResultsList' - title: VulnerabilityScanResultsListList + $ref: '#/components/schemas/VulnerabilityScanResultsListResponse' type: array description: OK "400": content: - '*/*': + application/json: schema: - $ref: '#/components/schemas/Status' - description: Request could not be processed (see detail) + $ref: '#/components/schemas/ErrorDetail' + description: Request could not be processed (see detail). "422": content: - '*/*': + application/json: schema: - $ref: '#/components/schemas/Status' - description: Missing or invalid parameters (see detail) + $ref: '#/components/schemas/ErrorDetail' + description: Missing or invalid parameters (see detail). security: - - token: [] - apikey: [] - - csrf_token: [] summary: Lists scan results for a specific package. tags: - vulnerabilities @@ -8992,26 +6843,24 @@ paths: responses: "200": content: - '*/*': + application/json: schema: - $ref: '#/components/schemas/VulnerabilityScanResults' + $ref: '#/components/schemas/VulnerabilityScanResultsResponse' description: OK "400": content: - '*/*': + application/json: schema: - $ref: '#/components/schemas/Status' - description: Request could not be processed (see detail) + $ref: '#/components/schemas/ErrorDetail' + description: Request could not be processed (see detail). "422": content: - '*/*': + application/json: schema: - $ref: '#/components/schemas/Status' - description: Missing or invalid parameters (see detail) + $ref: '#/components/schemas/ErrorDetail' + description: Missing or invalid parameters (see detail). security: - - token: [] - apikey: [] - - csrf_token: [] summary: Returns a Scan Result. tags: - vulnerabilities @@ -9043,35 +6892,32 @@ paths: responses: "200": content: - '*/*': + application/json: schema: items: - $ref: '#/components/schemas/RepositoryWebhook' - title: RepositoryWebhookList + $ref: '#/components/schemas/RepositoryWebhookResponse' type: array description: Retrieved the list of webhooks - "400": - content: - '*/*': - schema: - $ref: '#/components/schemas/Status' - description: Request could not be processed (see detail) "404": content: - '*/*': + application/json: schema: - $ref: '#/components/schemas/Status' + $ref: '#/components/schemas/ErrorDetail' description: Owner namespace or repository not found + "400": + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorDetail' + description: Request could not be processed (see detail). "422": content: - '*/*': + application/json: schema: - $ref: '#/components/schemas/Status' - description: Missing or invalid parameters (see detail) + $ref: '#/components/schemas/ErrorDetail' + description: Missing or invalid parameters (see detail). security: - - token: [] - apikey: [] - - csrf_token: [] summary: Get a list of all webhooks in a repository. tags: - webhooks @@ -9090,128 +6936,38 @@ paths: schema: type: string requestBody: - $ref: '#/components/requestBodies/WebhooksCreate' content: application/json: schema: - example: - package_query: package_query - request_content_type: request_content_type - is_active: true - verify_ssl: true - signature_key: signature_key - target_url: target_url - templates: - - template: template - event: event - - template: template - event: event - secret_header: secret_header - secret_value: secret_value - request_body_format: 0 - request_body_template_format: 6 - events: - - events - - events - properties: - events: - description: None - items: - description: "" - type: string - title: EventsList - type: array - is_active: - description: If enabled, the webhook will trigger on events and - send payloads to the configured target URL. - type: boolean - package_query: - description: The package-based search query for webhooks to fire. - This uses the same syntax as the standard search used for repositories, - and also supports boolean logic operators such as OR/AND/NOT and - parentheses for grouping. If a package does not match, the webhook - will not fire. - type: string - request_body_format: - description: The format of the payloads for webhook requests. - type: integer - request_body_template_format: - description: The format of the payloads for webhook requests. - type: integer - request_content_type: - description: 'The value that will be sent for the ''Content Type'' - header. ' - type: string - secret_header: - description: The header to send the predefined secret in. This must - be unique from existing headers or it won't be sent. You can use - this as a form of authentication on the endpoint side. - type: string - secret_value: - description: 'The value for the predefined secret (note: this is - treated as a passphrase and is encrypted when we store it). You - can use this as a form of authentication on the endpoint side.' - type: string - signature_key: - description: 'The value for the signature key - This is used to - generate an HMAC-based hex digest of the request body, which we - send as the X-Cloudsmith-Signature header so that you can ensure - that the request wasn''t modified by a malicious party (note: - this is treated as a passphrase and is encrypted when we store - it).' - type: string - target_url: - description: The destination URL that webhook payloads will be POST'ed - to. - type: string - templates: - description: None - items: - $ref: '#/components/schemas/_webhooks__owner___repo___templates' - title: TemplatesList - type: array - verify_ssl: - description: If enabled, SSL certificates is verified when webhooks - are sent. It's recommended to leave this enabled as not verifying - the integrity of SSL certificates leaves you susceptible to Man-in-the-Middle - (MITM) attacks. - type: boolean - required: - - events - - target_url - - templates - title: WebhooksCreate - type: object + $ref: '#/components/schemas/RepositoryWebhookRequest' required: false responses: "201": content: - '*/*': + application/json: schema: - $ref: '#/components/schemas/RepositoryWebhook' + $ref: '#/components/schemas/RepositoryWebhookResponse' description: Created the specified webhook - "400": - content: - '*/*': - schema: - $ref: '#/components/schemas/Status' - description: Request could not be processed (see detail) "404": content: - '*/*': + application/json: schema: - $ref: '#/components/schemas/Status' + $ref: '#/components/schemas/ErrorDetail' description: Owner namespace or repository not found + "400": + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorDetail' + description: Request could not be processed (see detail). "422": content: - '*/*': + application/json: schema: - $ref: '#/components/schemas/Status' - description: Missing or invalid parameters (see detail) + $ref: '#/components/schemas/ErrorDetail' + description: Missing or invalid parameters (see detail). security: - - token: [] - apikey: [] - - csrf_token: [] summary: Create a specific webhook in a repository. tags: - webhooks @@ -9239,23 +6995,21 @@ paths: responses: "204": content: {} - description: Deleted the specified webhook successfully + description: Deleted the specified webhook successfully. "400": content: - '*/*': + application/json: schema: - $ref: '#/components/schemas/Status' - description: The webhook cannot be deleted + $ref: '#/components/schemas/ErrorDetail' + description: The webhook cannot be deleted. "422": content: - '*/*': + application/json: schema: - $ref: '#/components/schemas/Status' - description: Missing or invalid parameters (see detail) + $ref: '#/components/schemas/ErrorDetail' + description: Missing or invalid parameters (see detail). security: - - token: [] - apikey: [] - - csrf_token: [] summary: Delete a specific webhook in a repository. tags: - webhooks @@ -9281,26 +7035,24 @@ paths: responses: "200": content: - '*/*': + application/json: schema: - $ref: '#/components/schemas/RepositoryWebhook' + $ref: '#/components/schemas/RepositoryWebhookResponse' description: OK "400": content: - '*/*': + application/json: schema: - $ref: '#/components/schemas/Status' - description: Request could not be processed (see detail) + $ref: '#/components/schemas/ErrorDetail' + description: Request could not be processed (see detail). "422": content: - '*/*': + application/json: schema: - $ref: '#/components/schemas/Status' - description: Missing or invalid parameters (see detail) + $ref: '#/components/schemas/ErrorDetail' + description: Missing or invalid parameters (see detail). security: - - token: [] - apikey: [] - - csrf_token: [] summary: Views for working with repository webhooks. tags: - webhooks @@ -9324,1612 +7076,4893 @@ paths: schema: type: string requestBody: - $ref: '#/components/requestBodies/WebhooksPartialUpdate' content: application/json: schema: - example: - package_query: package_query - request_content_type: request_content_type - is_active: true - verify_ssl: true - signature_key: signature_key - target_url: target_url - templates: - - template: template - event: event - - template: template - event: event - secret_header: secret_header - secret_value: secret_value - request_body_format: 0 - request_body_template_format: 6 - events: - - events - - events - properties: - events: - description: None - items: - description: "" - type: string - title: EventsList - type: array - is_active: - description: If enabled, the webhook will trigger on events and - send payloads to the configured target URL. - type: boolean - package_query: - description: The package-based search query for webhooks to fire. - This uses the same syntax as the standard search used for repositories, - and also supports boolean logic operators such as OR/AND/NOT and - parentheses for grouping. If a package does not match, the webhook - will not fire. - type: string - request_body_format: - description: The format of the payloads for webhook requests. - type: integer - request_body_template_format: - description: The format of the payloads for webhook requests. - type: integer - request_content_type: - description: 'The value that will be sent for the ''Content Type'' - header. ' - type: string - secret_header: - description: The header to send the predefined secret in. This must - be unique from existing headers or it won't be sent. You can use - this as a form of authentication on the endpoint side. - type: string - secret_value: - description: 'The value for the predefined secret (note: this is - treated as a passphrase and is encrypted when we store it). You - can use this as a form of authentication on the endpoint side.' - type: string - signature_key: - description: 'The value for the signature key - This is used to - generate an HMAC-based hex digest of the request body, which we - send as the X-Cloudsmith-Signature header so that you can ensure - that the request wasn''t modified by a malicious party (note: - this is treated as a passphrase and is encrypted when we store - it).' - type: string - target_url: - description: The destination URL that webhook payloads will be POST'ed - to. - type: string - templates: - description: None - items: - $ref: '#/components/schemas/_webhooks__owner___repo___templates' - title: TemplatesList - type: array - verify_ssl: - description: If enabled, SSL certificates is verified when webhooks - are sent. It's recommended to leave this enabled as not verifying - the integrity of SSL certificates leaves you susceptible to Man-in-the-Middle - (MITM) attacks. - type: boolean - title: WebhooksPartialUpdate - type: object + $ref: '#/components/schemas/RepositoryWebhookRequestPatch' required: false responses: "200": content: - '*/*': + application/json: schema: - $ref: '#/components/schemas/RepositoryWebhook' + $ref: '#/components/schemas/RepositoryWebhookResponse' description: Updated the specified webhook - "400": - content: - '*/*': - schema: - $ref: '#/components/schemas/Status' - description: Request could not be processed (see detail) "404": content: - '*/*': + application/json: schema: - $ref: '#/components/schemas/Status' + $ref: '#/components/schemas/ErrorDetail' description: Owner namespace or repository not found + "400": + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorDetail' + description: Request could not be processed (see detail). "422": content: - '*/*': + application/json: schema: - $ref: '#/components/schemas/Status' - description: Missing or invalid parameters (see detail) + $ref: '#/components/schemas/ErrorDetail' + description: Missing or invalid parameters (see detail). security: - - token: [] - apikey: [] - - csrf_token: [] summary: Update a specific webhook in a repository. tags: - webhooks x-codegen-request-body-name: data components: - requestBodies: - PackagesUploadConan: - content: - application/json: - schema: - $ref: '#/components/schemas/PackagesUploadConan' - required: false - PackagesValidate_uploadNpm: - content: - application/json: - schema: - $ref: '#/components/schemas/PackagesValidate_uploadNpm' - required: false - PackagesValidate_uploadNuget: - content: - application/json: - schema: - $ref: '#/components/schemas/PackagesValidate_uploadNuget' - required: false - FilesValidate: - content: - application/json: - schema: - $ref: '#/components/schemas/FilesValidate' - required: false - PackagesMove: - content: - application/json: - schema: - $ref: '#/components/schemas/PackagesMove' - required: false - ReposRsaCreate: - content: - application/json: - schema: - $ref: '#/components/schemas/ReposRsaCreate' - required: false - OrgsInvitesExtend: - content: - application/json: - schema: - $ref: '#/components/schemas/OrgsInvitesExtend' - required: false - PackagesUploadP2: - content: - application/json: - schema: - $ref: '#/components/schemas/PackagesUploadP2' - required: false - PackagesUploadNpm: - content: - application/json: - schema: - $ref: '#/components/schemas/PackagesUploadNpm' - required: false - PackagesUploadRuby: - content: - application/json: - schema: - $ref: '#/components/schemas/PackagesUploadRuby' - required: false - PackagesUploadDocker: - content: - application/json: - schema: - $ref: '#/components/schemas/PackagesUploadDocker' - required: false - PackagesValidate_uploadMaven: - content: - application/json: - schema: - $ref: '#/components/schemas/PackagesValidate_uploadMaven' - required: false - PackagesValidate_uploadConda: - content: - application/json: - schema: - $ref: '#/components/schemas/PackagesValidate_uploadConda' - required: false - ReposPartialUpdate: - content: - application/json: - schema: - $ref: '#/components/schemas/ReposPartialUpdate' - required: false - PackagesUploadCran: - content: - application/json: - schema: - $ref: '#/components/schemas/PackagesUploadCran' - required: false - PackagesValidate_uploadRpm: - content: - application/json: - schema: - $ref: '#/components/schemas/PackagesValidate_uploadRpm' - required: false - PackagesValidate_uploadLuarocks: - content: - application/json: - schema: - $ref: '#/components/schemas/PackagesValidate_uploadLuarocks' - required: false - PackagesValidate_uploadVagrant: - content: - application/json: - schema: - $ref: '#/components/schemas/PackagesValidate_uploadVagrant' - required: false - ReposGpgCreate: - content: - application/json: - schema: - $ref: '#/components/schemas/ReposGpgCreate' - required: false - PackagesUploadPython: - content: - application/json: - schema: - $ref: '#/components/schemas/PackagesUploadPython' - required: false - OrgsInvitesCreate: - content: - application/json: - schema: - $ref: '#/components/schemas/OrgsInvitesCreate' - required: false - PackagesUploadComposer: - content: - application/json: - schema: - $ref: '#/components/schemas/PackagesUploadComposer' - required: false - PackagesValidate_uploadConan: - content: - application/json: - schema: - $ref: '#/components/schemas/PackagesValidate_uploadConan' - required: false - FilesCreate: - content: - application/json: - schema: - $ref: '#/components/schemas/FilesCreate' - required: false - PackagesUploadGo: - content: - application/json: - schema: - $ref: '#/components/schemas/PackagesUploadGo' - required: false - PackagesUploadTerraform: - content: - application/json: - schema: - $ref: '#/components/schemas/PackagesUploadTerraform' - required: false - PackagesValidate_uploadDart: - content: - application/json: - schema: - $ref: '#/components/schemas/PackagesValidate_uploadDart' - required: false - OrgsTeamsCreate: - content: - application/json: - schema: - $ref: '#/components/schemas/OrgsTeamsCreate' - required: false - OrgsTeamsPartialUpdate: - content: - application/json: - schema: - $ref: '#/components/schemas/OrgsTeamsPartialUpdate' - required: false - PackagesUploadRpm: - content: - application/json: - schema: - $ref: '#/components/schemas/PackagesUploadRpm' - required: false - PackagesValidate_uploadCargo: - content: - application/json: - schema: - $ref: '#/components/schemas/PackagesValidate_uploadCargo' - required: false - FilesComplete: - content: - application/json: - schema: - $ref: '#/components/schemas/FilesComplete' - required: false - PackagesUploadCargo: - content: - application/json: - schema: - $ref: '#/components/schemas/PackagesUploadCargo' - required: false - PackagesValidate_uploadP2: - content: - application/json: - schema: - $ref: '#/components/schemas/PackagesValidate_uploadP2' - required: false - PackagesValidate_uploadPython: - content: - application/json: - schema: - $ref: '#/components/schemas/PackagesValidate_uploadPython' - required: false - PackagesUploadDeb: - content: - application/json: - schema: - $ref: '#/components/schemas/PackagesUploadDeb' - required: false - PackagesUploadHelm: - content: - application/json: - schema: - $ref: '#/components/schemas/PackagesUploadHelm' - required: false - PackagesUploadLuarocks: - content: - application/json: - schema: - $ref: '#/components/schemas/PackagesUploadLuarocks' - required: false - EntitlementsPartialUpdate: - content: - application/json: - schema: - $ref: '#/components/schemas/EntitlementsPartialUpdate' - required: false - UserTokenCreate: - content: - application/json: - schema: - $ref: '#/components/schemas/UserTokenCreate' - required: false - PackagesValidate_uploadRaw: - content: - application/json: - schema: - $ref: '#/components/schemas/PackagesValidate_uploadRaw' - required: false - OrgsSaml_group_syncCreate: - content: - application/json: - schema: - $ref: '#/components/schemas/OrgsSaml_group_syncCreate' - required: false - PackagesValidate_uploadAlpine: - content: - application/json: - schema: - $ref: '#/components/schemas/PackagesValidate_uploadAlpine' - required: false - PackagesValidate_uploadRuby: - content: - application/json: - schema: - $ref: '#/components/schemas/PackagesValidate_uploadRuby' - required: false - PackagesCopy: - content: - application/json: - schema: - $ref: '#/components/schemas/PackagesCopy' - required: false - WebhooksCreate: - content: - application/json: - schema: - $ref: '#/components/schemas/WebhooksCreate' - required: false - PackagesValidate_uploadCran: - content: - application/json: - schema: - $ref: '#/components/schemas/PackagesValidate_uploadCran' - required: false - PackagesQuarantine: - content: - application/json: - schema: - $ref: '#/components/schemas/PackagesQuarantine' - required: false - PackagesUploadConda: - content: - application/json: - schema: - $ref: '#/components/schemas/PackagesUploadConda' - required: false - PackagesUploadAlpine: - content: - application/json: - schema: - $ref: '#/components/schemas/PackagesUploadAlpine' - required: false - PackagesUploadRaw: - content: - application/json: - schema: - $ref: '#/components/schemas/PackagesUploadRaw' - required: false - PackagesUploadMaven: - content: - application/json: - schema: - $ref: '#/components/schemas/PackagesUploadMaven' - required: false - WebhooksPartialUpdate: - content: - application/json: - schema: - $ref: '#/components/schemas/WebhooksPartialUpdate' - required: false - PackagesUploadCocoapods: - content: - application/json: - schema: - $ref: '#/components/schemas/PackagesUploadCocoapods' - required: false - PackagesValidate_uploadTerraform: - content: - application/json: - schema: - $ref: '#/components/schemas/PackagesValidate_uploadTerraform' - required: false - EntitlementsSync: - content: - application/json: - schema: - $ref: '#/components/schemas/EntitlementsSync' - required: false - PackagesUploadNuget: - content: - application/json: - schema: - $ref: '#/components/schemas/PackagesUploadNuget' - required: false - EntitlementsCreate: - content: - application/json: - schema: - $ref: '#/components/schemas/EntitlementsCreate' - required: false - FilesAbort: - content: - application/json: - schema: - $ref: '#/components/schemas/FilesAbort' - required: false - PackagesValidate_uploadHelm: - content: - application/json: - schema: - $ref: '#/components/schemas/PackagesValidate_uploadHelm' - required: false - PackagesValidate_uploadComposer: - content: - application/json: - schema: - $ref: '#/components/schemas/PackagesValidate_uploadComposer' - required: false - PackagesUploadVagrant: - content: - application/json: - schema: - $ref: '#/components/schemas/PackagesUploadVagrant' - required: false - PackagesValidate_uploadCocoapods: - content: - application/json: - schema: - $ref: '#/components/schemas/PackagesValidate_uploadCocoapods' - required: false - PackagesTag: - content: - application/json: - schema: - $ref: '#/components/schemas/PackagesTag' - required: false - EntitlementsRefresh: - content: - application/json: - schema: - $ref: '#/components/schemas/EntitlementsRefresh' - required: false - PackagesValidate_uploadDeb: - content: - application/json: - schema: - $ref: '#/components/schemas/PackagesValidate_uploadDeb' - required: false - PackagesValidate_uploadGo: - content: - application/json: - schema: - $ref: '#/components/schemas/PackagesValidate_uploadGo' - required: false - ReposCreate: - content: - application/json: - schema: - $ref: '#/components/schemas/ReposCreate' - required: false - PackagesValidate_uploadDocker: - content: - application/json: - schema: - $ref: '#/components/schemas/PackagesValidate_uploadDocker' - required: false - PackagesUploadDart: - content: - application/json: - schema: - $ref: '#/components/schemas/PackagesUploadDart' - required: false schemas: - OrganizationInviteExtend: - example: - expires_at: expires_at - role: Owner - org: org - user_url: user_url - inviter: inviter - inviter_url: inviter_url - slug_perm: slug_perm - user: user - email: email + ErrorDetail: properties: - email: - description: "" - type: string - expires_at: - description: "" + detail: + description: An extended message for the response. + minLength: 1 + title: Detail type: string - inviter: - description: "" + required: + - detail + type: object + GeoIpLocation: + example: + continent: continent + country: country + country_code: country_code + city: city + latitude: latitude + postal_code: postal_code + longitude: longitude + properties: + city: + minLength: 1 + nullable: true + title: City type: string - inviter_url: - description: "" + continent: + minLength: 1 + nullable: true + title: Continent type: string - org: - description: "" + country: + minLength: 1 + nullable: true + title: Country type: string - role: - description: "" - enum: - - Owner - - Manager - - Member - - Collaborator + country_code: + readOnly: true + title: Country code type: string - slug_perm: - description: "" + latitude: + format: decimal + nullable: true + title: Latitude type: string - user: - description: "" + longitude: + format: decimal + nullable: true + title: Longitude type: string - user_url: - description: "" + postal_code: + minLength: 1 + nullable: true + title: Postal code type: string - title: OrganizationInviteExtend + required: + - city + - continent + - country + - postal_code type: object - OrganizationMembership: + NamespaceAuditLogResponse: example: - joined_at: joined_at - last_login_at: last_login_at - role: Owner - visibility: Public - user_id: user_id - user_name: user_name - user_url: user_url - user: user - email: email - has_two_factor: true + target_slug_perm: target_slug_perm + actor_kind: actor_kind + object_slug_perm: object_slug_perm + event_at: 2000-01-23T04:56:07.000+00:00 + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + object_kind: object_kind + target: target + actor: actor + actor_slug_perm: actor_slug_perm + actor_url: https://openapi-generator.tech + context: context + actor_ip_address: actor_ip_address + actor_location: + continent: continent + country: country + country_code: country_code + city: city + latitude: latitude + postal_code: postal_code + longitude: longitude + target_kind: target_kind + event: event + object: object properties: - email: - description: "" + actor: + minLength: 1 + nullable: true + title: Actor type: string - has_two_factor: - description: "" - type: boolean - joined_at: - description: "" + actor_ip_address: + minLength: 1 + nullable: true + title: Actor ip address type: string - last_login_at: - description: "" + actor_kind: + readOnly: true + title: Actor kind type: string - role: - description: "" - enum: - - Owner - - Manager - - Member - - Collaborator + actor_location: + $ref: '#/components/schemas/GeoIpLocation' + actor_slug_perm: + minLength: 1 + nullable: true + title: Actor slug perm type: string - user: - description: "" + actor_url: + format: uri + nullable: true + readOnly: true + title: Actor url type: string - user_id: - description: "" + context: + minLength: 1 + title: Context type: string - user_name: - description: "" + event: + minLength: 1 + title: Event type: string - user_url: - description: "" + event_at: + format: date-time + title: Event at type: string - visibility: - description: "" - enum: - - Public - - Private + object: + minLength: 1 + title: Object type: string - title: OrganizationMembership - type: object - _repos__gpg_keys: - example: - public_key: public_key - default: true - fingerprint: fingerprint - active: true - created_at: created_at - comment: comment - fingerprint_short: fingerprint_short - properties: - active: - description: If selected this is the active key for this repository. - type: boolean - comment: - description: "" + object_kind: + minLength: 1 + title: Object kind type: string - created_at: - description: "" + object_slug_perm: + minLength: 1 + title: Object slug perm type: string - default: - description: If selected this is the default key for this repository. - type: boolean - fingerprint: - description: The long identifier used by GPG for this key. + target: + minLength: 1 + title: Target type: string - fingerprint_short: - description: "" + target_kind: + minLength: 1 + title: Target kind type: string - public_key: - description: The public key given to repository users. + target_slug_perm: + format: slug + maxLength: 24 + nullable: true + pattern: "^[-a-zA-Z0-9_]+$" + title: Target slug perm + type: string + uuid: + format: uuid + readOnly: true + title: Uuid type: string + required: + - actor + - actor_ip_address + - actor_location + - actor_slug_perm + - context + - event + - event_at + - object + - object_kind + - object_slug_perm + - target + - target_kind type: object - PackagesUploadConan: + RepositoryAuditLogResponse: example: - republish: true - name: conan_package.tgz - metadata_file: y1234456789a - package_file: x123456789a - conan_prefix: my-repository - version: 1.0.0 - conan_channel: alpha - info_file: y1234456789b - manifest_file: y1234456789c - tags: tags + actor_kind: actor_kind + object_slug_perm: object_slug_perm + event_at: 2000-01-23T04:56:07.000+00:00 + uuid: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + object_kind: object_kind + actor: actor + actor_slug_perm: actor_slug_perm + actor_url: https://openapi-generator.tech + context: context + actor_ip_address: actor_ip_address + actor_location: + continent: continent + country: country + country_code: country_code + city: city + latitude: latitude + postal_code: postal_code + longitude: longitude + event: event + object: object properties: - conan_channel: - description: Conan channel. - example: alpha + actor: + minLength: 1 + nullable: true + title: Actor type: string - conan_prefix: - description: Conan prefix (User). - example: my-repository + actor_ip_address: + minLength: 1 + nullable: true + title: Actor ip address type: string - info_file: - description: The info file is an python file containing the package metadata. - example: y1234456789b + actor_kind: + readOnly: true + title: Actor kind type: string - manifest_file: - description: The info file is an python file containing the package metadata. - example: y1234456789c + actor_location: + $ref: '#/components/schemas/GeoIpLocation' + actor_slug_perm: + minLength: 1 + nullable: true + title: Actor slug perm type: string - metadata_file: - description: The conan file is an python file containing the package metadata. - example: y1234456789a + actor_url: + format: uri + nullable: true + readOnly: true + title: Actor url type: string - name: - description: The name of this package. - example: conan_package.tgz + context: + minLength: 1 + title: Context type: string - package_file: - description: The primary file for the package. - example: x123456789a + event: + minLength: 1 + title: Event type: string - republish: - description: If true, the uploaded package will overwrite any others with - the same attributes (e.g. same version); otherwise, it will be flagged - as a duplicate. - type: boolean - tags: - description: A comma-separated values list of tags to add to the package. + event_at: + format: date-time + title: Event at type: string - version: - description: The raw version for this package. - example: 1.0.0 + object: + minLength: 1 + title: Object + type: string + object_kind: + minLength: 1 + title: Object kind + type: string + object_slug_perm: + minLength: 1 + title: Object slug perm + type: string + uuid: + format: uuid + readOnly: true + title: Uuid type: string required: - - info_file - - manifest_file - - metadata_file - - package_file - title: PackagesUploadConan + - actor + - actor_ip_address + - actor_location + - actor_slug_perm + - context + - event + - event_at + - object + - object_kind + - object_slug_perm + type: object + PackageVersionBadgeResponse: type: object - ConanPackageUpload: + DistributionVersion: + description: A list of the versions for this distribution example: - architectures: + name: name + slug: slug + properties: + name: + description: The textual name for this version. + maxLength: 64 + title: Name + type: string + slug: + description: The slug identifier for this version + minLength: 1 + readOnly: true + title: Slug + type: string + type: object + DistributionResponse: + example: + format_url: https://openapi-generator.tech + versions: - name: name - description: description + slug: slug - name: name - description: description - security_scan_status_updated_at: security_scan_status_updated_at - checksum_sha256: checksum_sha256 - release: release - package_type: 5 - repository: repository - identifier_perm: identifier_perm - stage_updated_at: stage_updated_at - tags_immutable: '{}' - is_quarantined: true - slug: slug - security_scan_started_at: security_scan_started_at - security_scan_status: Awaiting Security Scan - indexed: true + slug: slug format: format - status_str: status_str - version_orig: version_orig - namespace_url: namespace_url - slug_perm: slug_perm - version: 1.0.0 - license: license - filename: filename - size: 5 - cdn_url: cdn_url - uploaded_at: uploaded_at - is_downloadable: true - name: conan_package.tgz - sync_finished_at: sync_finished_at - files: - - checksum_sha512: checksum_sha512 - checksum_sha1: checksum_sha1 - checksum_sha256: checksum_sha256 - is_primary: true - checksum_md5: checksum_md5 - slug_perm: slug_perm - filename: filename - size: 5 - cdn_url: cdn_url - downloads: 1 - is_synchronised: true - is_downloadable: true - signature_url: signature_url - tag: tag - - checksum_sha512: checksum_sha512 - checksum_sha1: checksum_sha1 - checksum_sha256: checksum_sha256 - is_primary: true - checksum_md5: checksum_md5 - slug_perm: slug_perm - filename: filename - size: 5 - cdn_url: cdn_url - downloads: 1 - is_synchronised: true - is_downloadable: true - signature_url: signature_url - tag: tag - conan_prefix: my-repository - num_files: 1 - conan_channel: alpha - status: 7 - checksum_sha512: checksum_sha512 - distro: '{}' - extension: extension - description: description - epoch: 6 - is_sync_completed: true - distro_version: '{}' - type_display: type_display - vulnerability_scan_results_url: vulnerability_scan_results_url - dependencies_checksum_md5: dependencies_checksum_md5 - downloads: 0 - subtype: subtype - uploader: uploader - signature_url: signature_url - repository_url: repository_url - status_reason: status_reason - status_updated_at: status_updated_at - summary: summary - checksum_sha1: checksum_sha1 - checksum_md5: checksum_md5 - sync_progress: 9 - is_sync_awaiting: true - uploader_url: uploader_url - self_html_url: self_html_url - self_url: self_url - status_url: status_url - is_sync_in_flight: true - security_scan_completed_at: security_scan_completed_at - is_sync_in_progress: true - stage_str: stage_str - stage: 2 - format_url: format_url - dependencies_url: dependencies_url - namespace: namespace - is_sync_failed: true + name: name + variants: variants + self_url: https://openapi-generator.tech + slug: slug properties: - architectures: - description: "" - items: - $ref: '#/components/schemas/_packages__owner___repo___architectures' - title: ArchitecturesList - type: array - cdn_url: - description: "" + format: + minLength: 1 + readOnly: true + title: Format type: string - checksum_md5: - description: "" + format_url: + format: uri + readOnly: true + title: Format url type: string - checksum_sha1: - description: "" + name: + maxLength: 32 + minLength: 1 + title: Name type: string - checksum_sha256: - description: "" + self_url: + format: uri + readOnly: true + title: Self url type: string - checksum_sha512: - description: "" + slug: + description: The slug identifier for this distribution + minLength: 1 + readOnly: true + title: Slug type: string - conan_channel: - description: Conan channel. - example: alpha + variants: + maxLength: 128 + nullable: true + title: Variants type: string - conan_prefix: - description: Conan prefix (User). - example: my-repository + versions: + description: A list of the versions for this distribution + items: + $ref: '#/components/schemas/DistributionVersion' + readOnly: true + type: array + required: + - name + type: object + Eula: + example: + identifier: identifier + number: 314780940 + nullable: true + properties: + identifier: + description: "A unique identifier that you can use for your own EULA tracking\ + \ purposes. This might be a date, or a semantic version, etc. The only\ + \ requirement is that it is unique across multiple EULAs." + format: slug + maxLength: 16 + nullable: true + pattern: "^[-a-zA-Z0-9_]+$" + title: Identifier + type: string + number: + description: A sequential identifier that increments by one for each new + commit in a repository. + maximum: 2147483647 + minimum: 0 + title: Number + type: integer + required: + - number + type: object + x-nullable: true + RepositoryTokenResponse: + example: + limit_date_range_to: 2000-01-23T04:56:07.000+00:00 + metadata: "{}" + clients: 0 + limit_bandwidth_unit: Byte + scheduled_reset_at: 2000-01-23T04:56:07.000+00:00 + usage: usage + limit_bandwidth: 2147483647 + created_at: 2000-01-23T04:56:07.000+00:00 + limit_num_clients: -2147483648 + eula_accepted_at: 2000-01-23T04:56:07.000+00:00 + limit_package_query: limit_package_query + limit_path_query: limit_path_query + default: true + updated_at: 2000-01-23T04:56:07.000+00:00 + downloads: 6 + user_url: https://openapi-generator.tech + limit_date_range_from: 2000-01-23T04:56:07.000+00:00 + reset_url: https://openapi-generator.tech + limit_num_downloads: 2147483647 + eula_required: true + refresh_url: https://openapi-generator.tech + scheduled_reset_period: Never Reset + identifier: 5 + is_active: true + eula_accepted: + identifier: identifier + number: 314780940 + eula_accepted_from: eula_accepted_from + created_by_url: https://openapi-generator.tech + is_limited: true + slug_perm: slug_perm + created_by: created_by + enable_url: https://openapi-generator.tech + self_url: https://openapi-generator.tech + token: token + updated_by_url: https://openapi-generator.tech + disable_url: https://openapi-generator.tech + name: name + updated_by: updated_by + has_limits: true + user: user + properties: + clients: + readOnly: true + title: Clients + type: integer + created_at: + description: The datetime the token was updated at. + format: date-time + readOnly: true + title: Created at type: string - dependencies_checksum_md5: - description: A checksum of all of the package's dependencies. + created_by: + minLength: 1 + readOnly: true + title: Created by type: string - dependencies_url: - description: "" + created_by_url: + format: uri + readOnly: true + title: Created by url type: string - description: - description: A textual description of this package. + default: + description: If selected this is the default token for this repository. + readOnly: true + title: Default + type: boolean + disable_url: + format: uri + readOnly: true + title: Disable url type: string - distro: - description: "" - properties: {} - type: object - distro_version: - description: "" - properties: {} - type: object downloads: - description: "" - type: integer - epoch: - description: The epoch of the package version (if any). + readOnly: true + title: Downloads type: integer - extension: - description: "" - type: string - filename: - description: "" - type: string - files: - description: "" - items: - $ref: '#/components/schemas/_packages__owner___repo___files' - title: FilesList - type: array - format: - description: "" + enable_url: + format: uri + readOnly: true + title: Enable url type: string - format_url: - description: "" + eula_accepted: + $ref: '#/components/schemas/Eula' + eula_accepted_at: + description: The datetime the EULA was accepted at. + format: date-time + readOnly: true + title: Eula accepted at type: string - identifier_perm: - description: Unique and permanent identifier for the package. + eula_accepted_from: + minLength: 1 + nullable: true + readOnly: true + title: Eula accepted from type: string - indexed: - description: "" - type: boolean - is_downloadable: - description: "" - type: boolean - is_quarantined: - description: "" - type: boolean - is_sync_awaiting: - description: "" - type: boolean - is_sync_completed: - description: "" + eula_required: + description: "If checked, a EULA acceptance is required for this token." + title: Eula required type: boolean - is_sync_failed: - description: "" + has_limits: + readOnly: true + title: Has limits type: boolean - is_sync_in_flight: - description: "" + identifier: + readOnly: true + title: Identifier + type: integer + is_active: + description: "If enabled, the token will allow downloads based on configured\ + \ restrictions (if any)." + title: Token Active type: boolean - is_sync_in_progress: - description: "" + is_limited: + readOnly: true + title: Is limited type: boolean - license: - description: The license of this package. - type: string - name: - description: The name of this package. - example: conan_package.tgz + limit_bandwidth: + description: "The maximum download bandwidth allowed for the token. Values\ + \ are expressed as the selected unit of bandwidth. Please note that since\ + \ downloads are calculated asynchronously (after the download happens),\ + \ the limit may not be imposed immediately but at a later point. " + maximum: 9223372036854776000 + minimum: -9223372036854776000 + nullable: true + title: Limit bandwidth + type: integer + limit_bandwidth_unit: + default: Byte + nullable: true + title: Limit bandwidth unit type: string - namespace: - description: "" + limit_date_range_from: + description: The starting date/time the token is allowed to be used from. + format: date-time + nullable: true + title: Limit date range from type: string - namespace_url: - description: "" + limit_date_range_to: + description: The ending date/time the token is allowed to be used until. + format: date-time + nullable: true + title: Limit date range to type: string - num_files: - description: "" + limit_num_clients: + description: "The maximum number of unique clients allowed for the token.\ + \ Please note that since clients are calculated asynchronously (after\ + \ the download happens), the limit may not be imposed immediately but\ + \ at a later point." + maximum: 9223372036854776000 + minimum: -9223372036854776000 + nullable: true + title: Limit num clients type: integer - package_type: - description: The type of package contents. + limit_num_downloads: + description: "The maximum number of downloads allowed for the token. Please\ + \ note that since downloads are calculated asynchronously (after the download\ + \ happens), the limit may not be imposed immediately but at a later point." + maximum: 9223372036854776000 + minimum: -9223372036854776000 + nullable: true + title: Limit num downloads type: integer - release: - description: The release of the package version (if any). - type: string - repository: - description: "" + limit_package_query: + description: "The package-based search query to apply to restrict downloads\ + \ to. This uses the same syntax as the standard search used for repositories,\ + \ and also supports boolean logic operators such as OR/AND/NOT and parentheses\ + \ for grouping. This will still allow access to non-package files, such\ + \ as metadata." + maxLength: 1024 + nullable: true + title: Limit package query type: string - repository_url: - description: "" + limit_path_query: + description: "The path-based search query to apply to restrict downloads\ + \ to. This supports boolean logic operators such as OR/AND/NOT and parentheses\ + \ for grouping. The path evaluated does not include the domain name, the\ + \ namespace, the entitlement code used, the package format, etc. and it\ + \ always starts with a forward slash." + maxLength: 1024 + nullable: true + title: Limit path query type: string - security_scan_completed_at: - description: The datetime the security scanning was completed. + metadata: + nullable: true + properties: {} + title: Metadata + type: object + name: + minLength: 1 + title: Name type: string - security_scan_started_at: - description: The datetime the security scanning was started. + refresh_url: + format: uri + readOnly: true + title: Refresh url type: string - security_scan_status: - description: "" - enum: - - Awaiting Security Scan - - Security Scanning in Progress - - Scan Detected Vulnerabilities - - Scan Detected No Vulnerabilities - - Security Scanning Disabled - - Security Scanning Failed - - Security Scanning Skipped - - Security Scanning Not Supported + reset_url: + format: uri + readOnly: true + title: Reset url type: string - security_scan_status_updated_at: - description: The datetime the security scanning status was updated. + scheduled_reset_at: + description: The time at which the scheduled reset period has elapsed and + the token limits were automatically reset to zero. + format: date-time + nullable: true + title: Scheduled reset at type: string - self_html_url: - description: "" + scheduled_reset_period: + default: Never Reset + nullable: true + title: Scheduled reset period type: string self_url: - description: "" - type: string - signature_url: - description: "" - type: string - size: - description: The calculated size of the package. - type: integer - slug: - description: The public unique identifier for the package. + format: uri + readOnly: true + title: Self url type: string slug_perm: - description: "" + format: slug + minLength: 1 + pattern: "^[-a-zA-Z0-9_]+$" + readOnly: true + title: Slug perm type: string - stage: - description: The synchronisation (in progress) stage of the package. - type: integer - stage_str: - description: "" + token: + minLength: 1 + title: Token type: string - stage_updated_at: - description: The datetime the package stage was updated at. + updated_at: + description: The datetime the token was updated at. + format: date-time + readOnly: true + title: Updated at type: string - status: - description: The synchronisation status of the package. - type: integer - status_reason: - description: A textual description for the synchronous status reason (if - any + updated_by: + minLength: 1 + nullable: true + readOnly: true + title: Updated by type: string - status_str: - description: "" + updated_by_url: + format: uri + nullable: true + readOnly: true + title: Updated by url type: string - status_updated_at: - description: The datetime the package status was updated at. + usage: + minLength: 1 + readOnly: true + title: Usage type: string - status_url: - description: "" + user: + minLength: 1 + nullable: true + readOnly: true + title: User type: string - subtype: - description: "" + user_url: + format: uri + nullable: true + readOnly: true + title: User url type: string - summary: - description: A one-liner synopsis of this package. + required: + - name + type: object + RepositoryTokenRequest: + example: + limit_date_range_to: 2000-01-23T04:56:07.000+00:00 + metadata: "{}" + is_active: true + limit_bandwidth_unit: Byte + scheduled_reset_at: 2000-01-23T04:56:07.000+00:00 + limit_bandwidth: -2147483648 + limit_num_clients: 2147483647 + limit_package_query: limit_package_query + limit_path_query: limit_path_query + token: token + name: name + limit_date_range_from: 2000-01-23T04:56:07.000+00:00 + limit_num_downloads: -2147483648 + eula_required: true + scheduled_reset_period: Never Reset + properties: + eula_required: + description: "If checked, a EULA acceptance is required for this token." + title: Eula required + type: boolean + is_active: + description: "If enabled, the token will allow downloads based on configured\ + \ restrictions (if any)." + title: Token Active + type: boolean + limit_bandwidth: + description: "The maximum download bandwidth allowed for the token. Values\ + \ are expressed as the selected unit of bandwidth. Please note that since\ + \ downloads are calculated asynchronously (after the download happens),\ + \ the limit may not be imposed immediately but at a later point. " + maximum: 9223372036854776000 + minimum: -9223372036854776000 + nullable: true + title: Limit bandwidth + type: integer + limit_bandwidth_unit: + default: Byte + nullable: true + title: Limit bandwidth unit type: string - sync_finished_at: - description: The datetime the package sync was finished at. + limit_date_range_from: + description: The starting date/time the token is allowed to be used from. + format: date-time + nullable: true + title: Limit date range from type: string - sync_progress: - description: Synchronisation progress (from 0-100) + limit_date_range_to: + description: The ending date/time the token is allowed to be used until. + format: date-time + nullable: true + title: Limit date range to + type: string + limit_num_clients: + description: "The maximum number of unique clients allowed for the token.\ + \ Please note that since clients are calculated asynchronously (after\ + \ the download happens), the limit may not be imposed immediately but\ + \ at a later point." + maximum: 9223372036854776000 + minimum: -9223372036854776000 + nullable: true + title: Limit num clients type: integer - tags_immutable: - description: All immutable tags on the package, grouped by tag type. Immutable - tags cannot be (easily) deleted. + limit_num_downloads: + description: "The maximum number of downloads allowed for the token. Please\ + \ note that since downloads are calculated asynchronously (after the download\ + \ happens), the limit may not be imposed immediately but at a later point." + maximum: 9223372036854776000 + minimum: -9223372036854776000 + nullable: true + title: Limit num downloads + type: integer + limit_package_query: + description: "The package-based search query to apply to restrict downloads\ + \ to. This uses the same syntax as the standard search used for repositories,\ + \ and also supports boolean logic operators such as OR/AND/NOT and parentheses\ + \ for grouping. This will still allow access to non-package files, such\ + \ as metadata." + maxLength: 1024 + nullable: true + title: Limit package query + type: string + limit_path_query: + description: "The path-based search query to apply to restrict downloads\ + \ to. This supports boolean logic operators such as OR/AND/NOT and parentheses\ + \ for grouping. The path evaluated does not include the domain name, the\ + \ namespace, the entitlement code used, the package format, etc. and it\ + \ always starts with a forward slash." + maxLength: 1024 + nullable: true + title: Limit path query + type: string + metadata: + nullable: true properties: {} + title: Metadata type: object - type_display: - description: "" - type: string - uploaded_at: - description: The date this package was uploaded. - type: string - uploader: - description: "" - type: string - uploader_url: - description: "" + name: + minLength: 1 + title: Name type: string - version: - description: The raw version for this package. - example: 1.0.0 + scheduled_reset_at: + description: The time at which the scheduled reset period has elapsed and + the token limits were automatically reset to zero. + format: date-time + nullable: true + title: Scheduled reset at type: string - version_orig: - description: "" + scheduled_reset_period: + default: Never Reset + nullable: true + title: Scheduled reset period type: string - vulnerability_scan_results_url: - description: "" + token: + minLength: 1 + title: Token type: string - title: ConanPackageUpload + required: + - name type: object - PackagesValidate_uploadNpm: + RepositoryTokenSyncRequest: + example: + source: source properties: - npm_dist_tag: - description: The default npm dist-tag for this package/version - This will - replace any other package/version if they are using the same tag. - example: latest - type: string - package_file: - description: The primary file for the package. - example: y123456789 - type: string - republish: - description: If true, the uploaded package will overwrite any others with - the same attributes (e.g. same version); otherwise, it will be flagged - as a duplicate. - type: boolean - tags: - description: A comma-separated values list of tags to add to the package. + source: + description: The source repository slug (in the same owner namespace). + minLength: 1 + title: Source type: string required: - - package_file - title: PackagesValidate-uploadNpm + - source type: object - RpmPackageUpload: + RepositoryToken: + description: The entitlements that have been synchronised. example: - architectures: - - name: name - description: description - - name: name - description: description - security_scan_status_updated_at: security_scan_status_updated_at - checksum_sha256: checksum_sha256 - release: release - package_type: 5 - repository: repository - identifier_perm: identifier_perm - stage_updated_at: stage_updated_at - tags_immutable: '{}' - is_quarantined: true - slug: slug - security_scan_started_at: security_scan_started_at - security_scan_status: Awaiting Security Scan - indexed: true - format: format - status_str: status_str - version_orig: version_orig - namespace_url: namespace_url + limit_date_range_to: 2000-01-23T04:56:07.000+00:00 + metadata: "{}" + clients: 0 + limit_bandwidth_unit: Byte + scheduled_reset_at: 2000-01-23T04:56:07.000+00:00 + usage: usage + limit_bandwidth: 2147483647 + created_at: 2000-01-23T04:56:07.000+00:00 + limit_num_clients: 2147483647 + eula_accepted_at: 2000-01-23T04:56:07.000+00:00 + limit_package_query: limit_package_query + limit_path_query: limit_path_query + default: true + updated_at: 2000-01-23T04:56:07.000+00:00 + downloads: 6 + user_url: https://openapi-generator.tech + limit_date_range_from: 2000-01-23T04:56:07.000+00:00 + reset_url: https://openapi-generator.tech + limit_num_downloads: -2147483648 + eula_required: true + refresh_url: https://openapi-generator.tech + scheduled_reset_period: Never Reset + identifier: 1 + is_active: true + eula_accepted: + identifier: identifier + number: 314780940 + eula_accepted_from: eula_accepted_from + created_by_url: https://openapi-generator.tech + is_limited: true slug_perm: slug_perm - version: version - license: license - filename: filename - size: 5 - cdn_url: cdn_url - uploaded_at: uploaded_at - is_downloadable: true + created_by: created_by + enable_url: https://openapi-generator.tech + self_url: https://openapi-generator.tech + token: token + updated_by_url: https://openapi-generator.tech + disable_url: https://openapi-generator.tech name: name - sync_finished_at: sync_finished_at - files: - - checksum_sha512: checksum_sha512 - checksum_sha1: checksum_sha1 - checksum_sha256: checksum_sha256 - is_primary: true - checksum_md5: checksum_md5 - slug_perm: slug_perm - filename: filename - size: 5 - cdn_url: cdn_url - downloads: 1 - is_synchronised: true - is_downloadable: true - signature_url: signature_url - tag: tag - - checksum_sha512: checksum_sha512 - checksum_sha1: checksum_sha1 - checksum_sha256: checksum_sha256 - is_primary: true - checksum_md5: checksum_md5 - slug_perm: slug_perm - filename: filename - size: 5 - cdn_url: cdn_url - downloads: 1 - is_synchronised: true - is_downloadable: true - signature_url: signature_url - tag: tag - num_files: 1 - status: 7 - checksum_sha512: checksum_sha512 - distro: '{}' - extension: extension - description: description - epoch: 6 - is_sync_completed: true - distro_version: '{}' - type_display: type_display - vulnerability_scan_results_url: vulnerability_scan_results_url - dependencies_checksum_md5: dependencies_checksum_md5 - downloads: 0 - subtype: subtype - uploader: uploader - signature_url: signature_url - repository_url: repository_url - status_reason: status_reason - status_updated_at: status_updated_at - summary: summary - checksum_sha1: checksum_sha1 - checksum_md5: checksum_md5 - sync_progress: 9 - is_sync_awaiting: true - uploader_url: uploader_url - self_html_url: self_html_url - self_url: self_url - status_url: status_url - is_sync_in_flight: true - security_scan_completed_at: security_scan_completed_at - is_sync_in_progress: true - stage_str: stage_str - stage: 2 - format_url: format_url - dependencies_url: dependencies_url - namespace: namespace - is_sync_failed: true + updated_by: updated_by + has_limits: true + user: user properties: - architectures: - description: "" - items: - $ref: '#/components/schemas/_packages__owner___repo___architectures' - title: ArchitecturesList - type: array - cdn_url: - description: "" - type: string - checksum_md5: - description: "" - type: string - checksum_sha1: - description: "" - type: string - checksum_sha256: - description: "" - type: string - checksum_sha512: - description: "" + clients: + readOnly: true + title: Clients + type: integer + created_at: + description: The datetime the token was updated at. + format: date-time + readOnly: true + title: Created at type: string - dependencies_checksum_md5: - description: A checksum of all of the package's dependencies. + created_by: + minLength: 1 + readOnly: true + title: Created by type: string - dependencies_url: - description: "" + created_by_url: + format: uri + readOnly: true + title: Created by url type: string - description: - description: A textual description of this package. + default: + description: If selected this is the default token for this repository. + readOnly: true + title: Default + type: boolean + disable_url: + format: uri + readOnly: true + title: Disable url type: string - distro: - description: "" - properties: {} - type: object - distro_version: - description: "" - properties: {} - type: object downloads: - description: "" - type: integer - epoch: - description: The epoch of the package version (if any). + readOnly: true + title: Downloads type: integer - extension: - description: "" - type: string - filename: - description: "" - type: string - files: - description: "" - items: - $ref: '#/components/schemas/_packages__owner___repo___files' - title: FilesList - type: array - format: - description: "" + enable_url: + format: uri + readOnly: true + title: Enable url type: string - format_url: - description: "" + eula_accepted: + $ref: '#/components/schemas/Eula' + eula_accepted_at: + description: The datetime the EULA was accepted at. + format: date-time + readOnly: true + title: Eula accepted at type: string - identifier_perm: - description: Unique and permanent identifier for the package. + eula_accepted_from: + minLength: 1 + nullable: true + readOnly: true + title: Eula accepted from type: string - indexed: - description: "" - type: boolean - is_downloadable: - description: "" - type: boolean - is_quarantined: - description: "" - type: boolean - is_sync_awaiting: - description: "" - type: boolean - is_sync_completed: - description: "" + eula_required: + description: "If checked, a EULA acceptance is required for this token." + title: Eula required type: boolean - is_sync_failed: - description: "" + has_limits: + readOnly: true + title: Has limits type: boolean - is_sync_in_flight: - description: "" + identifier: + readOnly: true + title: Identifier + type: integer + is_active: + description: "If enabled, the token will allow downloads based on configured\ + \ restrictions (if any)." + title: Token Active type: boolean - is_sync_in_progress: - description: "" + is_limited: + readOnly: true + title: Is limited type: boolean - license: - description: The license of this package. - type: string - name: - description: The name of this package. + limit_bandwidth: + description: "The maximum download bandwidth allowed for the token. Values\ + \ are expressed as the selected unit of bandwidth. Please note that since\ + \ downloads are calculated asynchronously (after the download happens),\ + \ the limit may not be imposed immediately but at a later point. " + maximum: 9223372036854776000 + minimum: -9223372036854776000 + nullable: true + title: Limit bandwidth + type: integer + limit_bandwidth_unit: + default: Byte + nullable: true + title: Limit bandwidth unit type: string - namespace: - description: "" + limit_date_range_from: + description: The starting date/time the token is allowed to be used from. + format: date-time + nullable: true + title: Limit date range from type: string - namespace_url: - description: "" + limit_date_range_to: + description: The ending date/time the token is allowed to be used until. + format: date-time + nullable: true + title: Limit date range to type: string - num_files: - description: "" + limit_num_clients: + description: "The maximum number of unique clients allowed for the token.\ + \ Please note that since clients are calculated asynchronously (after\ + \ the download happens), the limit may not be imposed immediately but\ + \ at a later point." + maximum: 9223372036854776000 + minimum: -9223372036854776000 + nullable: true + title: Limit num clients type: integer - package_type: - description: The type of package contents. + limit_num_downloads: + description: "The maximum number of downloads allowed for the token. Please\ + \ note that since downloads are calculated asynchronously (after the download\ + \ happens), the limit may not be imposed immediately but at a later point." + maximum: 9223372036854776000 + minimum: -9223372036854776000 + nullable: true + title: Limit num downloads type: integer - release: - description: The release of the package version (if any). - type: string - repository: - description: "" + limit_package_query: + description: "The package-based search query to apply to restrict downloads\ + \ to. This uses the same syntax as the standard search used for repositories,\ + \ and also supports boolean logic operators such as OR/AND/NOT and parentheses\ + \ for grouping. This will still allow access to non-package files, such\ + \ as metadata." + maxLength: 1024 + nullable: true + title: Limit package query type: string - repository_url: - description: "" + limit_path_query: + description: "The path-based search query to apply to restrict downloads\ + \ to. This supports boolean logic operators such as OR/AND/NOT and parentheses\ + \ for grouping. The path evaluated does not include the domain name, the\ + \ namespace, the entitlement code used, the package format, etc. and it\ + \ always starts with a forward slash." + maxLength: 1024 + nullable: true + title: Limit path query type: string - security_scan_completed_at: - description: The datetime the security scanning was completed. + metadata: + nullable: true + properties: {} + title: Metadata + type: object + name: + minLength: 1 + title: Name type: string - security_scan_started_at: - description: The datetime the security scanning was started. + refresh_url: + format: uri + readOnly: true + title: Refresh url type: string - security_scan_status: - description: "" - enum: - - Awaiting Security Scan - - Security Scanning in Progress - - Scan Detected Vulnerabilities - - Scan Detected No Vulnerabilities - - Security Scanning Disabled - - Security Scanning Failed - - Security Scanning Skipped - - Security Scanning Not Supported + reset_url: + format: uri + readOnly: true + title: Reset url type: string - security_scan_status_updated_at: - description: The datetime the security scanning status was updated. + scheduled_reset_at: + description: The time at which the scheduled reset period has elapsed and + the token limits were automatically reset to zero. + format: date-time + nullable: true + title: Scheduled reset at type: string - self_html_url: - description: "" + scheduled_reset_period: + default: Never Reset + nullable: true + title: Scheduled reset period type: string self_url: - description: "" + format: uri + readOnly: true + title: Self url type: string - signature_url: - description: "" + slug_perm: + format: slug + minLength: 1 + pattern: "^[-a-zA-Z0-9_]+$" + readOnly: true + title: Slug perm type: string - size: - description: The calculated size of the package. - type: integer - slug: - description: The public unique identifier for the package. - type: string - slug_perm: - description: "" + token: + minLength: 1 + title: Token type: string - stage: - description: The synchronisation (in progress) stage of the package. - type: integer - stage_str: - description: "" + updated_at: + description: The datetime the token was updated at. + format: date-time + readOnly: true + title: Updated at type: string - stage_updated_at: - description: The datetime the package stage was updated at. + updated_by: + minLength: 1 + nullable: true + readOnly: true + title: Updated by type: string - status: - description: The synchronisation status of the package. - type: integer - status_reason: - description: A textual description for the synchronous status reason (if - any + updated_by_url: + format: uri + nullable: true + readOnly: true + title: Updated by url type: string - status_str: - description: "" + usage: + minLength: 1 + readOnly: true + title: Usage type: string - status_updated_at: - description: The datetime the package status was updated at. + user: + minLength: 1 + nullable: true + readOnly: true + title: User type: string - status_url: - description: "" + user_url: + format: uri + nullable: true + readOnly: true + title: User url type: string - subtype: - description: "" + required: + - name + type: object + RepositoryTokenSyncResponse: + example: + tokens: + - limit_date_range_to: 2000-01-23T04:56:07.000+00:00 + metadata: "{}" + clients: 0 + limit_bandwidth_unit: Byte + scheduled_reset_at: 2000-01-23T04:56:07.000+00:00 + usage: usage + limit_bandwidth: 2147483647 + created_at: 2000-01-23T04:56:07.000+00:00 + limit_num_clients: 2147483647 + eula_accepted_at: 2000-01-23T04:56:07.000+00:00 + limit_package_query: limit_package_query + limit_path_query: limit_path_query + default: true + updated_at: 2000-01-23T04:56:07.000+00:00 + downloads: 6 + user_url: https://openapi-generator.tech + limit_date_range_from: 2000-01-23T04:56:07.000+00:00 + reset_url: https://openapi-generator.tech + limit_num_downloads: -2147483648 + eula_required: true + refresh_url: https://openapi-generator.tech + scheduled_reset_period: Never Reset + identifier: 1 + is_active: true + eula_accepted: + identifier: identifier + number: 314780940 + eula_accepted_from: eula_accepted_from + created_by_url: https://openapi-generator.tech + is_limited: true + slug_perm: slug_perm + created_by: created_by + enable_url: https://openapi-generator.tech + self_url: https://openapi-generator.tech + token: token + updated_by_url: https://openapi-generator.tech + disable_url: https://openapi-generator.tech + name: name + updated_by: updated_by + has_limits: true + user: user + - limit_date_range_to: 2000-01-23T04:56:07.000+00:00 + metadata: "{}" + clients: 0 + limit_bandwidth_unit: Byte + scheduled_reset_at: 2000-01-23T04:56:07.000+00:00 + usage: usage + limit_bandwidth: 2147483647 + created_at: 2000-01-23T04:56:07.000+00:00 + limit_num_clients: 2147483647 + eula_accepted_at: 2000-01-23T04:56:07.000+00:00 + limit_package_query: limit_package_query + limit_path_query: limit_path_query + default: true + updated_at: 2000-01-23T04:56:07.000+00:00 + downloads: 6 + user_url: https://openapi-generator.tech + limit_date_range_from: 2000-01-23T04:56:07.000+00:00 + reset_url: https://openapi-generator.tech + limit_num_downloads: -2147483648 + eula_required: true + refresh_url: https://openapi-generator.tech + scheduled_reset_period: Never Reset + identifier: 1 + is_active: true + eula_accepted: + identifier: identifier + number: 314780940 + eula_accepted_from: eula_accepted_from + created_by_url: https://openapi-generator.tech + is_limited: true + slug_perm: slug_perm + created_by: created_by + enable_url: https://openapi-generator.tech + self_url: https://openapi-generator.tech + token: token + updated_by_url: https://openapi-generator.tech + disable_url: https://openapi-generator.tech + name: name + updated_by: updated_by + has_limits: true + user: user + properties: + tokens: + description: The entitlements that have been synchronised. + items: + $ref: '#/components/schemas/RepositoryToken' + readOnly: true + type: array + type: object + RepositoryTokenRequestPatch: + example: + limit_date_range_to: 2000-01-23T04:56:07.000+00:00 + metadata: "{}" + is_active: true + limit_bandwidth_unit: Byte + scheduled_reset_at: 2000-01-23T04:56:07.000+00:00 + limit_bandwidth: -2147483648 + limit_num_clients: 2147483647 + limit_package_query: limit_package_query + limit_path_query: limit_path_query + token: token + name: name + limit_date_range_from: 2000-01-23T04:56:07.000+00:00 + limit_num_downloads: -2147483648 + eula_required: true + scheduled_reset_period: Never Reset + properties: + eula_required: + description: "If checked, a EULA acceptance is required for this token." + title: Eula required + type: boolean + is_active: + description: "If enabled, the token will allow downloads based on configured\ + \ restrictions (if any)." + title: Token Active + type: boolean + limit_bandwidth: + description: "The maximum download bandwidth allowed for the token. Values\ + \ are expressed as the selected unit of bandwidth. Please note that since\ + \ downloads are calculated asynchronously (after the download happens),\ + \ the limit may not be imposed immediately but at a later point. " + maximum: 9223372036854776000 + minimum: -9223372036854776000 + nullable: true + title: Limit bandwidth + type: integer + limit_bandwidth_unit: + default: Byte + nullable: true + title: Limit bandwidth unit type: string - summary: - description: A one-liner synopsis of this package. + limit_date_range_from: + description: The starting date/time the token is allowed to be used from. + format: date-time + nullable: true + title: Limit date range from type: string - sync_finished_at: - description: The datetime the package sync was finished at. + limit_date_range_to: + description: The ending date/time the token is allowed to be used until. + format: date-time + nullable: true + title: Limit date range to type: string - sync_progress: - description: Synchronisation progress (from 0-100) + limit_num_clients: + description: "The maximum number of unique clients allowed for the token.\ + \ Please note that since clients are calculated asynchronously (after\ + \ the download happens), the limit may not be imposed immediately but\ + \ at a later point." + maximum: 9223372036854776000 + minimum: -9223372036854776000 + nullable: true + title: Limit num clients type: integer - tags_immutable: - description: All immutable tags on the package, grouped by tag type. Immutable - tags cannot be (easily) deleted. - properties: {} - type: object - type_display: - description: "" - type: string - uploaded_at: - description: The date this package was uploaded. + limit_num_downloads: + description: "The maximum number of downloads allowed for the token. Please\ + \ note that since downloads are calculated asynchronously (after the download\ + \ happens), the limit may not be imposed immediately but at a later point." + maximum: 9223372036854776000 + minimum: -9223372036854776000 + nullable: true + title: Limit num downloads + type: integer + limit_package_query: + description: "The package-based search query to apply to restrict downloads\ + \ to. This uses the same syntax as the standard search used for repositories,\ + \ and also supports boolean logic operators such as OR/AND/NOT and parentheses\ + \ for grouping. This will still allow access to non-package files, such\ + \ as metadata." + maxLength: 1024 + nullable: true + title: Limit package query type: string - uploader: - description: "" + limit_path_query: + description: "The path-based search query to apply to restrict downloads\ + \ to. This supports boolean logic operators such as OR/AND/NOT and parentheses\ + \ for grouping. The path evaluated does not include the domain name, the\ + \ namespace, the entitlement code used, the package format, etc. and it\ + \ always starts with a forward slash." + maxLength: 1024 + nullable: true + title: Limit path query type: string - uploader_url: - description: "" + metadata: + nullable: true + properties: {} + title: Metadata + type: object + name: + minLength: 1 + title: Name type: string - version: - description: The raw version for this package. + scheduled_reset_at: + description: The time at which the scheduled reset period has elapsed and + the token limits were automatically reset to zero. + format: date-time + nullable: true + title: Scheduled reset at type: string - version_orig: - description: "" + scheduled_reset_period: + default: Never Reset + nullable: true + title: Scheduled reset period type: string - vulnerability_scan_results_url: - description: "" + token: + minLength: 1 + title: Token type: string - title: RpmPackageUpload type: object - VulnerabilityScanResultsList: + RepositoryTokenActionResponse: + type: object + RepositoryTokenRefreshRequest: example: - identifier: HKmoU6OHbyj4ha3u - max_severity: HIGH - package: - identifier: XEtJh5CTzcr3 - name: insecure-image - version: 452fcef2bd33e962aa77c2adc65eb022c566c3e01759c432f7c2f9ec838a6b05 - has_vulnerabilities: true - created_at: 2020-01-01T12:00:00.000000Z - num_vulnerabilities: 2 - scan_id: 1 + limit_date_range_to: 2000-01-23T04:56:07.000+00:00 + metadata: "{}" + is_active: true + limit_bandwidth_unit: Byte + scheduled_reset_at: 2000-01-23T04:56:07.000+00:00 + limit_bandwidth: -2147483648 + limit_num_clients: 2147483647 + limit_package_query: limit_package_query + limit_path_query: limit_path_query + token: token + limit_date_range_from: 2000-01-23T04:56:07.000+00:00 + limit_num_downloads: -2147483648 + eula_required: true + scheduled_reset_period: Never Reset properties: - created_at: - description: The time this scan result was stored. - example: 2020-01-01T12:00:00.000000Z - type: string - has_vulnerabilities: - description: Do the results contain any known vulnerabilities? - example: true + eula_required: + description: "If checked, a EULA acceptance is required for this token." + title: Eula required type: boolean - identifier: - description: "" - example: HKmoU6OHbyj4ha3u + is_active: + description: "If enabled, the token will allow downloads based on configured\ + \ restrictions (if any)." + title: Token Active + type: boolean + limit_bandwidth: + description: "The maximum download bandwidth allowed for the token. Values\ + \ are expressed as the selected unit of bandwidth. Please note that since\ + \ downloads are calculated asynchronously (after the download happens),\ + \ the limit may not be imposed immediately but at a later point. " + maximum: 9223372036854776000 + minimum: -9223372036854776000 + nullable: true + title: Limit bandwidth + type: integer + limit_bandwidth_unit: + default: Byte + nullable: true + title: Limit bandwidth unit type: string - max_severity: - description: "" - enum: - - Unknown - - Low - - Medium - - High - - Critical - example: HIGH + limit_date_range_from: + description: The starting date/time the token is allowed to be used from. + format: date-time + nullable: true + title: Limit date range from type: string - num_vulnerabilities: - description: "" - example: 2 + limit_date_range_to: + description: The ending date/time the token is allowed to be used until. + format: date-time + nullable: true + title: Limit date range to + type: string + limit_num_clients: + description: "The maximum number of unique clients allowed for the token.\ + \ Please note that since clients are calculated asynchronously (after\ + \ the download happens), the limit may not be imposed immediately but\ + \ at a later point." + maximum: 9223372036854776000 + minimum: -9223372036854776000 + nullable: true + title: Limit num clients type: integer - package: - description: "" - example: - identifier: XEtJh5CTzcr3 - name: insecure-image - version: 452fcef2bd33e962aa77c2adc65eb022c566c3e01759c432f7c2f9ec838a6b05 - properties: {} - type: object - scan_id: - description: "" - example: 1 + limit_num_downloads: + description: "The maximum number of downloads allowed for the token. Please\ + \ note that since downloads are calculated asynchronously (after the download\ + \ happens), the limit may not be imposed immediately but at a later point." + maximum: 9223372036854776000 + minimum: -9223372036854776000 + nullable: true + title: Limit num downloads type: integer - required: - - identifier - - package - - scan_id - title: VulnerabilityScanResultsList - type: object - OrgsInvitesExtend: - example: - role: Owner - inviter: inviter - user: user - email: email - properties: - email: - description: None + limit_package_query: + description: "The package-based search query to apply to restrict downloads\ + \ to. This uses the same syntax as the standard search used for repositories,\ + \ and also supports boolean logic operators such as OR/AND/NOT and parentheses\ + \ for grouping. This will still allow access to non-package files, such\ + \ as metadata." + maxLength: 1024 + nullable: true + title: Limit package query type: string - inviter: - description: None + limit_path_query: + description: "The path-based search query to apply to restrict downloads\ + \ to. This supports boolean logic operators such as OR/AND/NOT and parentheses\ + \ for grouping. The path evaluated does not include the domain name, the\ + \ namespace, the entitlement code used, the package format, etc. and it\ + \ always starts with a forward slash." + maxLength: 1024 + nullable: true + title: Limit path query type: string - role: - description: None - enum: - - Owner - - Manager - - Member - - Collaborator + metadata: + nullable: true + properties: {} + title: Metadata + type: object + scheduled_reset_at: + description: The time at which the scheduled reset period has elapsed and + the token limits were automatically reset to zero. + format: date-time + nullable: true + title: Scheduled reset at type: string - user: - description: None + scheduled_reset_period: + default: Never Reset + nullable: true + title: Scheduled reset period + type: string + token: + minLength: 1 + title: Token type: string - title: OrgsInvitesExtend type: object - PackagesUploadNpm: + RepositoryTokenRefreshResponse: example: - republish: true - npm_dist_tag: latest - package_file: y123456789 - tags: tags + limit_date_range_to: 2000-01-23T04:56:07.000+00:00 + metadata: "{}" + clients: 0 + limit_bandwidth_unit: Byte + scheduled_reset_at: 2000-01-23T04:56:07.000+00:00 + usage: usage + limit_bandwidth: 2147483647 + created_at: 2000-01-23T04:56:07.000+00:00 + limit_num_clients: 2147483647 + eula_accepted_at: 2000-01-23T04:56:07.000+00:00 + limit_package_query: limit_package_query + limit_path_query: limit_path_query + default: true + updated_at: 2000-01-23T04:56:07.000+00:00 + downloads: 6 + user_url: https://openapi-generator.tech + limit_date_range_from: 2000-01-23T04:56:07.000+00:00 + reset_url: https://openapi-generator.tech + limit_num_downloads: -2147483648 + eula_required: true + refresh_url: https://openapi-generator.tech + scheduled_reset_period: Never Reset + identifier: 1 + is_active: true + eula_accepted: + identifier: identifier + number: 314780940 + eula_accepted_from: eula_accepted_from + created_by_url: https://openapi-generator.tech + is_limited: true + slug_perm: slug_perm + created_by: created_by + enable_url: https://openapi-generator.tech + self_url: https://openapi-generator.tech + token: token + updated_by_url: https://openapi-generator.tech + disable_url: https://openapi-generator.tech + name: name + updated_by: updated_by + has_limits: true + user: user properties: - npm_dist_tag: - description: The default npm dist-tag for this package/version - This will - replace any other package/version if they are using the same tag. - example: latest + clients: + readOnly: true + title: Clients + type: integer + created_at: + description: The datetime the token was updated at. + format: date-time + readOnly: true + title: Created at type: string - package_file: - description: The primary file for the package. - example: y123456789 + created_by: + minLength: 1 + readOnly: true + title: Created by type: string - republish: - description: If true, the uploaded package will overwrite any others with - the same attributes (e.g. same version); otherwise, it will be flagged - as a duplicate. - type: boolean - tags: - description: A comma-separated values list of tags to add to the package. + created_by_url: + format: uri + readOnly: true + title: Created by url type: string - required: - - package_file - title: PackagesUploadNpm - type: object - PackagesValidate_uploadMaven: - properties: - artifact_id: - description: The ID of the artifact. - example: cloudsmith-example + default: + description: If selected this is the default token for this repository. + readOnly: true + title: Default + type: boolean + disable_url: + format: uri + readOnly: true + title: Disable url type: string - group_id: - description: Artifact's group ID. - example: io.cloudsmith.example + downloads: + readOnly: true + title: Downloads + type: integer + enable_url: + format: uri + readOnly: true + title: Enable url type: string - javadoc_file: - description: Adds bundled Java documentation to the Maven package - example: y1234456789c + eula_accepted: + $ref: '#/components/schemas/Eula' + eula_accepted_at: + description: The datetime the EULA was accepted at. + format: date-time + readOnly: true + title: Eula accepted at type: string - package_file: - description: The primary file for the package. - example: y1234456789a + eula_accepted_from: + minLength: 1 + nullable: true + readOnly: true + title: Eula accepted from type: string - packaging: - description: Artifact's Maven packaging type. + eula_required: + description: "If checked, a EULA acceptance is required for this token." + title: Eula required + type: boolean + has_limits: + readOnly: true + title: Has limits + type: boolean + identifier: + readOnly: true + title: Identifier + type: integer + is_active: + description: "If enabled, the token will allow downloads based on configured\ + \ restrictions (if any)." + title: Token Active + type: boolean + is_limited: + readOnly: true + title: Is limited + type: boolean + limit_bandwidth: + description: "The maximum download bandwidth allowed for the token. Values\ + \ are expressed as the selected unit of bandwidth. Please note that since\ + \ downloads are calculated asynchronously (after the download happens),\ + \ the limit may not be imposed immediately but at a later point. " + maximum: 9223372036854776000 + minimum: -9223372036854776000 + nullable: true + title: Limit bandwidth + type: integer + limit_bandwidth_unit: + default: Byte + nullable: true + title: Limit bandwidth unit + type: string + limit_date_range_from: + description: The starting date/time the token is allowed to be used from. + format: date-time + nullable: true + title: Limit date range from + type: string + limit_date_range_to: + description: The ending date/time the token is allowed to be used until. + format: date-time + nullable: true + title: Limit date range to + type: string + limit_num_clients: + description: "The maximum number of unique clients allowed for the token.\ + \ Please note that since clients are calculated asynchronously (after\ + \ the download happens), the limit may not be imposed immediately but\ + \ at a later point." + maximum: 9223372036854776000 + minimum: -9223372036854776000 + nullable: true + title: Limit num clients + type: integer + limit_num_downloads: + description: "The maximum number of downloads allowed for the token. Please\ + \ note that since downloads are calculated asynchronously (after the download\ + \ happens), the limit may not be imposed immediately but at a later point." + maximum: 9223372036854776000 + minimum: -9223372036854776000 + nullable: true + title: Limit num downloads + type: integer + limit_package_query: + description: "The package-based search query to apply to restrict downloads\ + \ to. This uses the same syntax as the standard search used for repositories,\ + \ and also supports boolean logic operators such as OR/AND/NOT and parentheses\ + \ for grouping. This will still allow access to non-package files, such\ + \ as metadata." + maxLength: 1024 + nullable: true + title: Limit package query + type: string + limit_path_query: + description: "The path-based search query to apply to restrict downloads\ + \ to. This supports boolean logic operators such as OR/AND/NOT and parentheses\ + \ for grouping. The path evaluated does not include the domain name, the\ + \ namespace, the entitlement code used, the package format, etc. and it\ + \ always starts with a forward slash." + maxLength: 1024 + nullable: true + title: Limit path query + type: string + metadata: + nullable: true + properties: {} + title: Metadata + type: object + name: + minLength: 1 + readOnly: true + title: Name + type: string + refresh_url: + format: uri + readOnly: true + title: Refresh url + type: string + reset_url: + format: uri + readOnly: true + title: Reset url + type: string + scheduled_reset_at: + description: The time at which the scheduled reset period has elapsed and + the token limits were automatically reset to zero. + format: date-time + nullable: true + title: Scheduled reset at + type: string + scheduled_reset_period: + default: Never Reset + nullable: true + title: Scheduled reset period + type: string + self_url: + format: uri + readOnly: true + title: Self url + type: string + slug_perm: + format: slug + minLength: 1 + pattern: "^[-a-zA-Z0-9_]+$" + readOnly: true + title: Slug perm + type: string + token: + minLength: 1 + title: Token + type: string + updated_at: + description: The datetime the token was updated at. + format: date-time + readOnly: true + title: Updated at + type: string + updated_by: + minLength: 1 + nullable: true + readOnly: true + title: Updated by + type: string + updated_by_url: + format: uri + nullable: true + readOnly: true + title: Updated by url + type: string + usage: + minLength: 1 + readOnly: true + title: Usage + type: string + user: + minLength: 1 + nullable: true + readOnly: true + title: User + type: string + user_url: + format: uri + nullable: true + readOnly: true + title: User url + type: string + type: object + PackageFileUploadRequest: + example: + sha256_checksum: sha256_checksum + filename: filename + method: post + md5_checksum: md5_checksum + properties: + filename: + description: Filename for the package file upload. + minLength: 1 + title: Filename + type: string + md5_checksum: + description: MD5 checksum for a POST-based package file upload. + maxLength: 32 + minLength: 32 + title: Md5 checksum + type: string + method: + default: post + description: The method to use for package file upload. + enum: + - put_parts + - put + - post + - presigned + - unsigned_put + title: Method + type: string + sha256_checksum: + description: SHA256 checksum for a PUT-based package file upload. + maxLength: 64 + minLength: 64 + title: Sha256 checksum + type: string + required: + - filename + type: object + PackageFileUploadResponse: + example: + identifier: https://openapi-generator.tech + upload_fields: "{}" + upload_querystring: upload_querystring + upload_headers: "{}" + upload_url: https://openapi-generator.tech + properties: + identifier: + description: The identifier for the file to use when creating packages + format: uri + minLength: 1 + readOnly: true + title: Identifier + type: string + upload_fields: + description: The dictionary of fields that must be sent with POST uploads + nullable: true + properties: {} + readOnly: true + title: Upload fields + type: object + upload_headers: + description: The dictionary of headers that must be sent with uploads + nullable: true + properties: {} + readOnly: true + title: Upload headers + type: object + upload_querystring: + description: The querystring to use for the next-step POST or PUT upload + minLength: 1 + nullable: true + readOnly: true + title: Upload querystring + type: string + upload_url: + description: The URL to use for the next-step POST or PUT upload + format: uri + minLength: 1 + readOnly: true + title: Upload url + type: string + type: object + PackageFilePartsUploadResponse: + example: + identifier: https://openapi-generator.tech + upload_querystring: upload_querystring + upload_url: https://openapi-generator.tech + properties: + identifier: + description: The identifier for the file to use uploading parts. + format: uri + minLength: 1 + readOnly: true + title: Identifier + type: string + upload_querystring: + description: The querystring to use for the next-step PUT upload. + minLength: 1 + nullable: true + readOnly: true + title: Upload querystring + type: string + upload_url: + description: The URL to use for the next-step PUT upload + format: uri + minLength: 1 + readOnly: true + title: Upload url + type: string + type: object + Distribution: + description: The distributions supported by this package format + example: + name: name + variants: variants + self_url: https://openapi-generator.tech + slug: slug + nullable: true + properties: + name: + maxLength: 32 + minLength: 1 + title: Name + type: string + self_url: + format: uri + readOnly: true + title: Self url + type: string + slug: + description: The slug identifier for this distribution + minLength: 1 + readOnly: true + title: Slug + type: string + variants: + maxLength: 128 + nullable: true + title: Variants + type: string + required: + - name + type: object + x-nullable: true + FormatSupport: + description: A set of what the package format supports + example: + metadata: true + versioning: true + file_lists: true + distributions: true + dependencies: true + properties: + dependencies: + description: If true the package format supports dependencies + title: Dependencies + type: boolean + distributions: + description: If true the package format supports distributions + title: Distributions + type: boolean + file_lists: + description: If true the package format supports file lists + title: File lists + type: boolean + metadata: + description: If true the package format supports metadata + title: Metadata + type: boolean + versioning: + description: If true the package format supports versioning + title: Versioning + type: boolean + required: + - dependencies + - distributions + - file_lists + - metadata + - versioning + type: object + FormatResponse: + example: + extensions: + - extensions + - extensions + premium: true + name: name + description: description + supports: + metadata: true + versioning: true + file_lists: true + distributions: true + dependencies: true + premium_plan_name: premium_plan_name + distributions: + - name: name + variants: variants + self_url: https://openapi-generator.tech + slug: slug + - name: name + variants: variants + self_url: https://openapi-generator.tech + slug: slug + premium_plan_id: premium_plan_id + slug: slug + properties: + description: + description: Description of the package format + minLength: 1 + title: Description + type: string + distributions: + description: The distributions supported by this package format + items: + $ref: '#/components/schemas/Distribution' + nullable: true + type: array + extensions: + description: A non-exhaustive list of extensions supported + items: + minLength: 1 + type: string + type: array + name: + description: Name for the package format + minLength: 1 + title: Name + type: string + premium: + description: If true the package format is a premium-only feature + title: Premium + type: boolean + premium_plan_id: + description: The minimum plan id required for this package format + minLength: 1 + nullable: true + title: Premium plan id + type: string + premium_plan_name: + description: The minimum plan name required for this package format + minLength: 1 + nullable: true + title: Premium plan name + type: string + slug: + description: Slug for the package format + minLength: 1 + title: Slug + type: string + supports: + $ref: '#/components/schemas/FormatSupport' + required: + - description + - extensions + - name + - premium + - slug + - supports + type: object + CommonBandwidthMetricsValue: + example: + display: display + units: bytes + value: 6 + properties: + display: + maxLength: 64 + minLength: 1 + title: Display + type: string + units: + default: bytes + minLength: 1 + title: Units + type: string + value: + title: Value + type: integer + required: + - display + - value + type: object + CommonBandwidthMetrics: + example: + average: + display: display + units: bytes + value: 6 + total: + display: display + units: bytes + value: 6 + highest: + display: display + units: bytes + value: 6 + lowest: + display: display + units: bytes + value: 6 + properties: + average: + $ref: '#/components/schemas/CommonBandwidthMetricsValue' + highest: + $ref: '#/components/schemas/CommonBandwidthMetricsValue' + lowest: + $ref: '#/components/schemas/CommonBandwidthMetricsValue' + total: + $ref: '#/components/schemas/CommonBandwidthMetricsValue' + required: + - average + - highest + - lowest + - total + type: object + CommonDownloadsMetricsValue: + example: + value: 1 + properties: + value: + title: Value + type: integer + required: + - value + type: object + CommonDownloadsMetrics: + example: + average: + value: 1 + total: + value: 1 + highest: + value: 1 + lowest: + value: 1 + properties: + average: + $ref: '#/components/schemas/CommonDownloadsMetricsValue' + highest: + $ref: '#/components/schemas/CommonDownloadsMetricsValue' + lowest: + $ref: '#/components/schemas/CommonDownloadsMetricsValue' + total: + $ref: '#/components/schemas/CommonDownloadsMetricsValue' + required: + - average + - highest + - lowest + - total + type: object + CommonMetrics: + example: + total: 5 + inactive: 5 + bandwidth: + average: + display: display + units: bytes + value: 6 + total: + display: display + units: bytes + value: 6 + highest: + display: display + units: bytes + value: 6 + lowest: + display: display + units: bytes + value: 6 + downloads: + average: + value: 1 + total: + value: 1 + highest: + value: 1 + lowest: + value: 1 + active: 0 + properties: + active: + title: Active + type: integer + bandwidth: + $ref: '#/components/schemas/CommonBandwidthMetrics' + downloads: + $ref: '#/components/schemas/CommonDownloadsMetrics' + inactive: + title: Inactive + type: integer + total: + title: Total + type: integer + required: + - bandwidth + - downloads + type: object + EntitlementUsageMetricsResponse: + example: + tokens: + total: 5 + inactive: 5 + bandwidth: + average: + display: display + units: bytes + value: 6 + total: + display: display + units: bytes + value: 6 + highest: + display: display + units: bytes + value: 6 + lowest: + display: display + units: bytes + value: 6 + downloads: + average: + value: 1 + total: + value: 1 + highest: + value: 1 + lowest: + value: 1 + active: 0 + properties: + tokens: + $ref: '#/components/schemas/CommonMetrics' + required: + - tokens + type: object + PackageUsageMetricsResponse: + example: + packages: + total: 5 + inactive: 5 + bandwidth: + average: + display: display + units: bytes + value: 6 + total: + display: display + units: bytes + value: 6 + highest: + display: display + units: bytes + value: 6 + lowest: + display: display + units: bytes + value: 6 + downloads: + average: + value: 1 + total: + value: 1 + highest: + value: 1 + lowest: + value: 1 + active: 0 + properties: + packages: + $ref: '#/components/schemas/CommonMetrics' + required: + - packages + type: object + NamespaceResponse: + example: + type_name: type_name + name: name + slug_perm: slug_perm + slug: slug + properties: + name: + readOnly: true + title: Name + type: string + slug: + format: slug + minLength: 1 + pattern: "^[-a-zA-Z0-9_]+$" + readOnly: true + title: Slug + type: string + slug_perm: + format: slug + minLength: 1 + pattern: "^[-a-zA-Z0-9_]+$" + readOnly: true + title: Slug perm + type: string + type_name: + readOnly: true + title: Type name + type: string + type: object + OrganizationResponse: + example: + country: country + name: name + created_at: 2000-01-23T04:56:07.000+00:00 + tagline: tagline + location: location + slug_perm: slug_perm + slug: slug + properties: + country: + maxLength: 32 + minLength: 1 + nullable: true + readOnly: true + title: Country + type: string + created_at: + format: date-time + readOnly: true + title: Created at + type: string + location: + description: The city/town/area your organization is based in. + minLength: 1 + readOnly: true + title: Location + type: string + name: + description: A descriptive name for your organization. + minLength: 1 + readOnly: true + title: Name + type: string + slug: + readOnly: true + title: Slug + type: string + slug_perm: + readOnly: true + title: Slug perm + type: string + tagline: + description: A short public descriptive for your organization. + minLength: 1 + readOnly: true + title: Tagline + type: string + type: object + OrganizationInviteResponse: + example: + expires_at: 2000-01-23T04:56:07.000+00:00 + role: Member + org: org + user_url: https://openapi-generator.tech + inviter: inviter + inviter_url: https://openapi-generator.tech + slug_perm: slug_perm + user: user + email: email + properties: + email: + description: The email of the user to be invited. + format: email + minLength: 1 + title: Email + type: string + expires_at: + format: date-time + readOnly: true + title: Expires at + type: string + inviter: + minLength: 1 + readOnly: true + title: Inviter + type: string + inviter_url: + format: uri + nullable: true + readOnly: true + title: Inviter url + type: string + org: + readOnly: true + title: Org + type: string + role: + default: Member + description: The role to be assigned to the invited user. + title: Role + type: string + slug_perm: + format: slug + minLength: 1 + pattern: "^[-a-zA-Z0-9_]+$" + readOnly: true + title: Slug perm + type: string + user: + description: The slug of the user to be invited. + minLength: 1 + title: User + type: string + user_url: + format: uri + nullable: true + readOnly: true + title: User url + type: string + type: object + OrganizationInviteRequest: + example: + role: Member + user: user + email: email + properties: + email: + description: The email of the user to be invited. + format: email + minLength: 1 + title: Email + type: string + role: + default: Member + description: The role to be assigned to the invited user. + title: Role + type: string + user: + description: The slug of the user to be invited. + minLength: 1 + title: User + type: string + type: object + OrganizationInviteUpdateRequestPatch: + example: + role: Member + properties: + role: + default: Member + description: The role to be assigned to the invited user. + title: Role + type: string + type: object + OrganizationInviteUpdateResponse: + properties: + role: + default: Member + description: The role to be assigned to the invited user. + title: Role + type: string + type: object + OrganizationInviteExtendResponse: + example: + expires_at: 2000-01-23T04:56:07.000+00:00 + role: Member + org: org + user_url: https://openapi-generator.tech + inviter: inviter + inviter_url: https://openapi-generator.tech + slug_perm: slug_perm + user: user + email: email + properties: + email: + description: The email of the user to be invited. + format: email + minLength: 1 + title: Email + type: string + expires_at: + format: date-time + readOnly: true + title: Expires at + type: string + inviter: + minLength: 1 + readOnly: true + title: Inviter + type: string + inviter_url: + format: uri + nullable: true + readOnly: true + title: Inviter url + type: string + org: + readOnly: true + title: Org + type: string + role: + default: Member + description: The role to be assigned to the invited user. + title: Role + type: string + slug_perm: + description: The slug_perm of the invite to be extended. + format: slug + minLength: 1 + pattern: "^[-a-zA-Z0-9_]+$" + readOnly: true + title: Slug perm + type: string + user: + description: The slug of the user to be invited. + minLength: 1 + title: User + type: string + user_url: + format: uri + nullable: true + readOnly: true + title: User url + type: string + type: object + OrganizationMembershipResponse: + example: + joined_at: 2000-01-23T04:56:07.000+00:00 + last_login_at: 2000-01-23T04:56:07.000+00:00 + role: Owner + visibility: Public + user_id: user_id + user_name: user_name + user_url: https://openapi-generator.tech + user: user + email: email + last_login_method: Unknown + has_two_factor: true + properties: + email: + minLength: 1 + readOnly: true + title: Email + type: string + has_two_factor: + readOnly: true + title: Has two factor + type: boolean + joined_at: + format: date-time + readOnly: true + title: Joined at + type: string + last_login_at: + format: date-time + nullable: true + readOnly: true + title: Last login at + type: string + last_login_method: + default: Unknown + readOnly: true + title: Last login method + type: string + role: + default: Owner + readOnly: true + title: Role + type: string + user: + minLength: 1 + readOnly: true + title: User + type: string + user_id: + minLength: 1 + readOnly: true + title: User id + type: string + user_name: + minLength: 1 + readOnly: true + title: User name + type: string + user_url: + format: uri + readOnly: true + title: User url + type: string + visibility: + default: Public + readOnly: true + title: Visibility + type: string + type: object + OrganizationGroupSyncResponse: + example: + role: Member + team: team + slug_perm: slug_perm + idp_value: idp_value + idp_key: idp_key + properties: + idp_key: + maxLength: 100 + minLength: 1 + title: Idp key + type: string + idp_value: + maxLength: 100 + minLength: 1 + title: Idp value + type: string + role: + default: Member + description: |2 + + User role within the team. + + A `manager` is capable of adding/removing others to/from the team, and + can set the role of other users and other settings pertaining to the + team. + + A 'member' is a normal user that inherits the settings and privileges + assigned to the team. + title: Role + type: string + slug_perm: + format: slug + minLength: 1 + pattern: "^[-a-zA-Z0-9_]+$" + readOnly: true + title: Slug perm + type: string + team: + format: slug + pattern: "^[-a-zA-Z0-9_]+$" + title: Team + type: string + required: + - idp_key + - idp_value + - team + type: object + OrganizationGroupSyncRequest: + example: + role: Member + organization: organization + team: team + idp_value: idp_value + idp_key: idp_key + properties: + idp_key: + maxLength: 100 + minLength: 1 + title: Idp key + type: string + idp_value: + maxLength: 100 + minLength: 1 + title: Idp value + type: string + organization: + title: Organization + type: string + role: + default: Member + description: |2 + + User role within the team. + + A `manager` is capable of adding/removing others to/from the team, and + can set the role of other users and other settings pertaining to the + team. + + A 'member' is a normal user that inherits the settings and privileges + assigned to the team. + title: Role + type: string + team: + format: slug + pattern: "^[-a-zA-Z0-9_]+$" + title: Team + type: string + required: + - idp_key + - idp_value + - organization + - team + type: object + ServiceTeams: + example: + role: Manager + slug: slug + properties: + role: + default: Manager + description: The team role associated with the service + title: Role + type: string + slug: + description: The teams associated with the service + format: slug + minLength: 1 + pattern: "^[-a-zA-Z0-9_]+$" + title: Slug + type: string + type: object + ServiceResponse: + example: + role: Member + teams: + - role: Manager + slug: slug + - role: Manager + slug: slug + name: name + description: description + key: key + slug: slug + properties: + description: + description: The description of the service + maxLength: 140 + minLength: 1 + title: Description + type: string + key: + description: The API key of the service + readOnly: true + title: Key + type: string + name: + description: The name of the service + maxLength: 40 + minLength: 1 + title: Name + type: string + role: + default: Member + description: The role of the service. + title: Role + type: string + slug: + description: The slug of the service + format: slug + minLength: 1 + pattern: "^[-a-zA-Z0-9_]+$" + readOnly: true + title: Slug + type: string + teams: + items: + $ref: '#/components/schemas/ServiceTeams' + type: array + required: + - name + type: object + ServiceRequest: + example: + role: Member + teams: + - role: Manager + slug: slug + - role: Manager + slug: slug + name: name + description: description + properties: + description: + description: The description of the service + maxLength: 140 + minLength: 1 + title: Description + type: string + name: + description: The name of the service + maxLength: 40 + minLength: 1 + title: Name + type: string + role: + default: Member + description: The role of the service. + title: Role + type: string + teams: + items: + $ref: '#/components/schemas/ServiceTeams' + type: array + required: + - name + type: object + ServiceRequestPatch: + example: + role: Member + teams: + - role: Manager + slug: slug + - role: Manager + slug: slug + name: name + description: description + properties: + description: + description: The description of the service + maxLength: 140 + minLength: 1 + title: Description + type: string + name: + description: The name of the service + maxLength: 40 + minLength: 1 + title: Name + type: string + role: + default: Member + description: The role of the service. + title: Role + type: string + teams: + items: + $ref: '#/components/schemas/ServiceTeams' + type: array + type: object + OrganizationTeamResponse: + example: + visibility: Visible + name: name + description: description + slug_perm: slug_perm + slug: slug + properties: + description: + maxLength: 140 + minLength: 1 + title: Description + type: string + name: + minLength: 1 + title: Name + type: string + slug: + format: slug + minLength: 1 + pattern: "^[-a-zA-Z0-9_]+$" + title: Slug + type: string + slug_perm: + format: slug + minLength: 1 + pattern: "^[-a-zA-Z0-9_]+$" + readOnly: true + title: Slug perm + type: string + visibility: + default: Visible + title: Visibility + type: string + required: + - name + type: object + OrganizationTeamRequest: + example: + visibility: Visible + name: name + description: description + slug: slug + properties: + description: + maxLength: 140 + minLength: 1 + title: Description + type: string + name: + minLength: 1 + title: Name + type: string + slug: + format: slug + minLength: 1 + pattern: "^[-a-zA-Z0-9_]+$" + title: Slug + type: string + visibility: + default: Visible + title: Visibility + type: string + required: + - name + type: object + OrganizationTeamRequestPatch: + example: + visibility: Visible + name: name + description: description + slug: slug + properties: + description: + maxLength: 140 + minLength: 1 + title: Description + type: string + name: + minLength: 1 + title: Name + type: string + slug: + format: slug + minLength: 1 + pattern: "^[-a-zA-Z0-9_]+$" + title: Slug + type: string + visibility: + default: Visible + title: Visibility + type: string + type: object + OrganizationTeamMembership: + description: The team members + example: + role: role + user: user + properties: + role: + title: Role + type: string + user: + minLength: 1 + title: User + type: string + required: + - role + - user + type: object + OrganizationTeamMembersResponse: + example: + members: + - role: role + user: user + - role: role + user: user + properties: + members: + description: The team members + items: + $ref: '#/components/schemas/OrganizationTeamMembership' + type: array + required: + - members + type: object + OrganizationTeamMembers: + example: + members: + - role: role + user: user + - role: role + user: user + properties: + members: + description: The team members + items: + $ref: '#/components/schemas/OrganizationTeamMembership' + type: array + required: + - members + type: object + Architecture: + example: + name: name + description: description + properties: + description: + maxLength: 64 + nullable: true + title: Description + type: string + name: + maxLength: 32 + minLength: 1 + title: Name + type: string + required: + - name + type: object + PackageFile: + example: + checksum_sha512: checksum_sha512 + checksum_sha1: checksum_sha1 + checksum_sha256: checksum_sha256 + is_primary: true + checksum_md5: checksum_md5 + slug_perm: slug_perm + filename: filename + size: 5 + cdn_url: cdn_url + downloads: 1 + is_synchronised: true + is_downloadable: true + signature_url: signature_url + tag: tag + properties: + cdn_url: + nullable: true + readOnly: true + title: Cdn url + type: string + checksum_md5: + minLength: 1 + readOnly: true + title: Checksum md5 + type: string + checksum_sha1: + minLength: 1 + readOnly: true + title: Checksum sha1 + type: string + checksum_sha256: + minLength: 1 + readOnly: true + title: Checksum sha256 + type: string + checksum_sha512: + minLength: 1 + readOnly: true + title: Checksum sha512 + type: string + downloads: + readOnly: true + title: Downloads + type: integer + filename: + minLength: 1 + readOnly: true + title: Filename + type: string + is_downloadable: + readOnly: true + title: Is downloadable + type: boolean + is_primary: + readOnly: true + title: Is primary + type: boolean + is_synchronised: + readOnly: true + title: Is synchronised + type: boolean + signature_url: + nullable: true + readOnly: true + title: Signature url + type: string + size: + description: The calculated size of the file. + readOnly: true + title: Size + type: integer + slug_perm: + format: slug + minLength: 1 + pattern: "^[-a-zA-Z0-9_]+$" + readOnly: true + title: Slug perm + type: string + tag: + description: Freeform descriptor that describes what the file is. + minLength: 1 + readOnly: true + title: Tag + type: string + type: object + Tags: + description: "All tags on the package, grouped by tag type. This includes immutable\ + \ tags, but doesn't distinguish them from mutable. To see which tags are immutable\ + \ specifically, see the tags_immutable field." + type: object + PackageResponse: + example: + architectures: + - name: name + description: description + - name: name + description: description + security_scan_status_updated_at: 2000-01-23T04:56:07.000+00:00 + checksum_sha256: checksum_sha256 + release: release + package_type: 2 + repository: repository + origin_repository: origin_repository + identifier_perm: identifier_perm + stage_updated_at: 2000-01-23T04:56:07.000+00:00 + tags_immutable: "{}" + is_quarantined: true + slug: slug + security_scan_started_at: 2000-01-23T04:56:07.000+00:00 + security_scan_status: Awaiting Security Scan + indexed: true + format: format + status_str: status_str + version_orig: version_orig + namespace_url: https://openapi-generator.tech + slug_perm: slug_perm + version: version + tags: "{}" + license: license + filename: filename + size: 7 + cdn_url: cdn_url + uploaded_at: 2000-01-23T04:56:07.000+00:00 + is_downloadable: true + name: name + sync_finished_at: 2000-01-23T04:56:07.000+00:00 + files: + - checksum_sha512: checksum_sha512 + checksum_sha1: checksum_sha1 + checksum_sha256: checksum_sha256 + is_primary: true + checksum_md5: checksum_md5 + slug_perm: slug_perm + filename: filename + size: 5 + cdn_url: cdn_url + downloads: 1 + is_synchronised: true + is_downloadable: true + signature_url: signature_url + tag: tag + - checksum_sha512: checksum_sha512 + checksum_sha1: checksum_sha1 + checksum_sha256: checksum_sha256 + is_primary: true + checksum_md5: checksum_md5 + slug_perm: slug_perm + filename: filename + size: 5 + cdn_url: cdn_url + downloads: 1 + is_synchronised: true + is_downloadable: true + signature_url: signature_url + tag: tag + num_files: 5 + status: 3 + checksum_sha512: checksum_sha512 + distro: + name: name + variants: variants + self_url: https://openapi-generator.tech + slug: slug + extension: extension + description: description + epoch: 6 + is_sync_completed: true + distro_version: + name: name + slug: slug + type_display: type_display + vulnerability_scan_results_url: https://openapi-generator.tech + dependencies_checksum_md5: dependencies_checksum_md5 + downloads: 0 + subtype: subtype + uploader: uploader + signature_url: signature_url + repository_url: https://openapi-generator.tech + status_reason: status_reason + status_updated_at: 2000-01-23T04:56:07.000+00:00 + summary: summary + checksum_sha1: checksum_sha1 + checksum_md5: checksum_md5 + sync_progress: 2 + is_sync_awaiting: true + uploader_url: https://openapi-generator.tech + self_html_url: self_html_url + origin_repository_url: https://openapi-generator.tech + self_url: https://openapi-generator.tech + status_url: https://openapi-generator.tech + is_sync_in_flight: true + security_scan_completed_at: 2000-01-23T04:56:07.000+00:00 + is_sync_in_progress: true + stage_str: stage_str + stage: 9 + format_url: https://openapi-generator.tech + dependencies_url: https://openapi-generator.tech + namespace: namespace + is_sync_failed: true + properties: + architectures: + items: + $ref: '#/components/schemas/Architecture' + readOnly: true + type: array + cdn_url: + nullable: true + readOnly: true + title: Cdn url + type: string + checksum_md5: + readOnly: true + title: Checksum md5 + type: string + checksum_sha1: + readOnly: true + title: Checksum sha1 + type: string + checksum_sha256: + readOnly: true + title: Checksum sha256 + type: string + checksum_sha512: + readOnly: true + title: Checksum sha512 + type: string + dependencies_checksum_md5: + description: A checksum of all of the package's dependencies. + minLength: 1 + readOnly: true + title: Dependencies checksum md5 + type: string + dependencies_url: + format: uri + readOnly: true + title: Dependencies url + type: string + description: + description: A textual description of this package. + minLength: 1 + readOnly: true + title: Description + type: string + distro: + $ref: '#/components/schemas/Distribution' + distro_version: + $ref: '#/components/schemas/DistributionVersion' + downloads: + readOnly: true + title: Downloads + type: integer + epoch: + description: The epoch of the package version (if any). + readOnly: true + title: Epoch + type: integer + extension: + readOnly: true + title: Extension + type: string + filename: + minLength: 1 + readOnly: true + title: Filename + type: string + files: + items: + $ref: '#/components/schemas/PackageFile' + readOnly: true + type: array + format: + minLength: 1 + readOnly: true + title: Format + type: string + format_url: + format: uri + readOnly: true + title: Format url + type: string + identifier_perm: + description: Unique and permanent identifier for the package. + minLength: 1 + readOnly: true + title: Identifier perm + type: string + indexed: + readOnly: true + title: Indexed + type: boolean + is_downloadable: + readOnly: true + title: Is downloadable + type: boolean + is_quarantined: + readOnly: true + title: Is quarantined + type: boolean + is_sync_awaiting: + readOnly: true + title: Is sync awaiting + type: boolean + is_sync_completed: + readOnly: true + title: Is sync completed + type: boolean + is_sync_failed: + readOnly: true + title: Is sync failed + type: boolean + is_sync_in_flight: + readOnly: true + title: Is sync in flight + type: boolean + is_sync_in_progress: + readOnly: true + title: Is sync in progress + type: boolean + license: + description: The license of this package. + minLength: 1 + readOnly: true + title: License + type: string + name: + description: The name of this package. + minLength: 1 + readOnly: true + title: Name + type: string + namespace: + minLength: 1 + readOnly: true + title: Namespace + type: string + namespace_url: + format: uri + readOnly: true + title: Namespace url + type: string + num_files: + readOnly: true + title: Num files + type: integer + origin_repository: + minLength: 1 + readOnly: true + title: Origin repository + type: string + origin_repository_url: + format: uri + readOnly: true + title: Origin repository url + type: string + package_type: + description: The type of package contents. + readOnly: true + title: Package type + type: integer + release: + description: The release of the package version (if any). + minLength: 1 + readOnly: true + title: Release + type: string + repository: + minLength: 1 + readOnly: true + title: Repository + type: string + repository_url: + format: uri + readOnly: true + title: Repository url + type: string + security_scan_completed_at: + description: The datetime the security scanning was completed. + format: date-time + readOnly: true + title: Security scan completed at + type: string + security_scan_started_at: + description: The datetime the security scanning was started. + format: date-time + readOnly: true + title: Security scan started at + type: string + security_scan_status: + default: Awaiting Security Scan + nullable: true + readOnly: true + title: Security scan status + type: string + security_scan_status_updated_at: + description: The datetime the security scanning status was updated. + format: date-time + readOnly: true + title: Security scan status updated at + type: string + self_html_url: + minLength: 1 + readOnly: true + title: Self html url + type: string + self_url: + format: uri + readOnly: true + title: Self url + type: string + signature_url: + nullable: true + readOnly: true + title: Signature url + type: string + size: + description: The calculated size of the package. + readOnly: true + title: Size + type: integer + slug: + description: The public unique identifier for the package. + format: slug + minLength: 1 + pattern: "^[-a-zA-Z0-9_]+$" + readOnly: true + title: Slug + type: string + slug_perm: + format: slug + minLength: 1 + pattern: "^[-a-zA-Z0-9_]+$" + readOnly: true + title: Slug perm + type: string + stage: + description: The synchronisation (in progress) stage of the package. + readOnly: true + title: Stage + type: integer + stage_str: + readOnly: true + title: Stage str + type: string + stage_updated_at: + description: The datetime the package stage was updated at. + format: date-time + readOnly: true + title: Stage updated at + type: string + status: + description: The synchronisation status of the package. + readOnly: true + title: Status + type: integer + status_reason: + description: A textual description for the synchronous status reason (if + any + minLength: 1 + readOnly: true + title: Status reason + type: string + status_str: + readOnly: true + title: Status str + type: string + status_updated_at: + description: The datetime the package status was updated at. + format: date-time + readOnly: true + title: Status updated at + type: string + status_url: + format: uri + readOnly: true + title: Status url + type: string + subtype: + readOnly: true + title: Subtype + type: string + summary: + description: A one-liner synopsis of this package. + minLength: 1 + readOnly: true + title: Summary + type: string + sync_finished_at: + description: The datetime the package sync was finished at. + format: date-time + readOnly: true + title: Sync finished at + type: string + sync_progress: + description: Synchronisation progress (from 0-100) + readOnly: true + title: Sync progress + type: integer + tags: + description: "All tags on the package, grouped by tag type. This includes\ + \ immutable tags, but doesn't distinguish them from mutable. To see which\ + \ tags are immutable specifically, see the tags_immutable field." + type: object + tags_immutable: + description: "All tags on the package, grouped by tag type. This includes\ + \ immutable tags, but doesn't distinguish them from mutable. To see which\ + \ tags are immutable specifically, see the tags_immutable field." + type: object + type_display: + readOnly: true + title: Type display + type: string + uploaded_at: + description: The date this package was uploaded. + format: date-time + readOnly: true + title: Uploaded at + type: string + uploader: + minLength: 1 + readOnly: true + title: Uploader + type: string + uploader_url: + format: uri + readOnly: true + title: Uploader url + type: string + version: + description: The raw version for this package. + minLength: 1 + readOnly: true + title: Version + type: string + version_orig: + readOnly: true + title: Version orig + type: string + vulnerability_scan_results_url: + format: uri + readOnly: true + title: Vulnerability scan results url + type: string + type: object + AlpinePackageUploadRequest: + example: + republish: true + distribution: distribution + package_file: package_file + tags: tags + properties: + distribution: + description: The distribution to store the package for. + minLength: 1 + title: Distribution + type: string + package_file: + description: The primary file for the package. + minLength: 1 + title: Package file + type: string + republish: + description: "If true, the uploaded package will overwrite any others with\ + \ the same attributes (e.g. same version); otherwise, it will be flagged\ + \ as a duplicate." + title: Republish + type: boolean + tags: + description: A comma-separated values list of tags to add to the package. + maxLength: 1024 + minLength: 1 + nullable: true + title: Tags + type: string + required: + - distribution + - package_file + type: object + AlpinePackageUploadResponse: + example: + architectures: + - name: name + description: description + - name: name + description: description + security_scan_status_updated_at: 2000-01-23T04:56:07.000+00:00 + checksum_sha256: checksum_sha256 + release: release + package_type: 5 + repository: repository + origin_repository: origin_repository + identifier_perm: identifier_perm + stage_updated_at: 2000-01-23T04:56:07.000+00:00 + tags_immutable: "{}" + is_quarantined: true + slug: slug + security_scan_started_at: 2000-01-23T04:56:07.000+00:00 + security_scan_status: Awaiting Security Scan + indexed: true + format: format + status_str: status_str + version_orig: version_orig + namespace_url: https://openapi-generator.tech + slug_perm: slug_perm + version: version + license: license + filename: filename + size: 5 + cdn_url: cdn_url + uploaded_at: 2000-01-23T04:56:07.000+00:00 + is_downloadable: true + name: name + sync_finished_at: 2000-01-23T04:56:07.000+00:00 + files: + - checksum_sha512: checksum_sha512 + checksum_sha1: checksum_sha1 + checksum_sha256: checksum_sha256 + is_primary: true + checksum_md5: checksum_md5 + slug_perm: slug_perm + filename: filename + size: 5 + cdn_url: cdn_url + downloads: 1 + is_synchronised: true + is_downloadable: true + signature_url: signature_url + tag: tag + - checksum_sha512: checksum_sha512 + checksum_sha1: checksum_sha1 + checksum_sha256: checksum_sha256 + is_primary: true + checksum_md5: checksum_md5 + slug_perm: slug_perm + filename: filename + size: 5 + cdn_url: cdn_url + downloads: 1 + is_synchronised: true + is_downloadable: true + signature_url: signature_url + tag: tag + num_files: 1 + status: 7 + checksum_sha512: checksum_sha512 + distro: + name: name + variants: variants + self_url: https://openapi-generator.tech + slug: slug + extension: extension + description: description + epoch: 6 + is_sync_completed: true + distro_version: + name: name + slug: slug + type_display: type_display + vulnerability_scan_results_url: https://openapi-generator.tech + dependencies_checksum_md5: dependencies_checksum_md5 + downloads: 0 + subtype: subtype + uploader: uploader + signature_url: signature_url + repository_url: https://openapi-generator.tech + status_reason: status_reason + status_updated_at: 2000-01-23T04:56:07.000+00:00 + summary: summary + checksum_sha1: checksum_sha1 + checksum_md5: checksum_md5 + sync_progress: 9 + is_sync_awaiting: true + uploader_url: https://openapi-generator.tech + self_html_url: self_html_url + origin_repository_url: https://openapi-generator.tech + self_url: https://openapi-generator.tech + status_url: https://openapi-generator.tech + is_sync_in_flight: true + security_scan_completed_at: 2000-01-23T04:56:07.000+00:00 + is_sync_in_progress: true + stage_str: stage_str + stage: 2 + format_url: https://openapi-generator.tech + dependencies_url: https://openapi-generator.tech + namespace: namespace + is_sync_failed: true + properties: + architectures: + items: + $ref: '#/components/schemas/Architecture' + readOnly: true + type: array + cdn_url: + nullable: true + readOnly: true + title: Cdn url + type: string + checksum_md5: + readOnly: true + title: Checksum md5 + type: string + checksum_sha1: + readOnly: true + title: Checksum sha1 + type: string + checksum_sha256: + readOnly: true + title: Checksum sha256 + type: string + checksum_sha512: + readOnly: true + title: Checksum sha512 + type: string + dependencies_checksum_md5: + description: A checksum of all of the package's dependencies. + minLength: 1 + readOnly: true + title: Dependencies checksum md5 + type: string + dependencies_url: + format: uri + readOnly: true + title: Dependencies url + type: string + description: + description: A textual description of this package. + minLength: 1 + readOnly: true + title: Description + type: string + distro: + $ref: '#/components/schemas/Distribution' + distro_version: + $ref: '#/components/schemas/DistributionVersion' + downloads: + readOnly: true + title: Downloads + type: integer + epoch: + description: The epoch of the package version (if any). + readOnly: true + title: Epoch + type: integer + extension: + readOnly: true + title: Extension + type: string + filename: + minLength: 1 + readOnly: true + title: Filename + type: string + files: + items: + $ref: '#/components/schemas/PackageFile' + readOnly: true + type: array + format: + minLength: 1 + readOnly: true + title: Format + type: string + format_url: + format: uri + readOnly: true + title: Format url + type: string + identifier_perm: + description: Unique and permanent identifier for the package. + minLength: 1 + readOnly: true + title: Identifier perm + type: string + indexed: + readOnly: true + title: Indexed + type: boolean + is_downloadable: + readOnly: true + title: Is downloadable + type: boolean + is_quarantined: + readOnly: true + title: Is quarantined + type: boolean + is_sync_awaiting: + readOnly: true + title: Is sync awaiting + type: boolean + is_sync_completed: + readOnly: true + title: Is sync completed + type: boolean + is_sync_failed: + readOnly: true + title: Is sync failed + type: boolean + is_sync_in_flight: + readOnly: true + title: Is sync in flight + type: boolean + is_sync_in_progress: + readOnly: true + title: Is sync in progress + type: boolean + license: + description: The license of this package. + minLength: 1 + readOnly: true + title: License + type: string + name: + description: The name of this package. + minLength: 1 + readOnly: true + title: Name + type: string + namespace: + minLength: 1 + readOnly: true + title: Namespace + type: string + namespace_url: + format: uri + readOnly: true + title: Namespace url + type: string + num_files: + readOnly: true + title: Num files + type: integer + origin_repository: + minLength: 1 + readOnly: true + title: Origin repository + type: string + origin_repository_url: + format: uri + readOnly: true + title: Origin repository url + type: string + package_type: + description: The type of package contents. + readOnly: true + title: Package type + type: integer + release: + description: The release of the package version (if any). + minLength: 1 + readOnly: true + title: Release + type: string + repository: + minLength: 1 + readOnly: true + title: Repository + type: string + repository_url: + format: uri + readOnly: true + title: Repository url + type: string + security_scan_completed_at: + description: The datetime the security scanning was completed. + format: date-time + readOnly: true + title: Security scan completed at + type: string + security_scan_started_at: + description: The datetime the security scanning was started. + format: date-time + readOnly: true + title: Security scan started at + type: string + security_scan_status: + default: Awaiting Security Scan + nullable: true + readOnly: true + title: Security scan status + type: string + security_scan_status_updated_at: + description: The datetime the security scanning status was updated. + format: date-time + readOnly: true + title: Security scan status updated at + type: string + self_html_url: + minLength: 1 + readOnly: true + title: Self html url + type: string + self_url: + format: uri + readOnly: true + title: Self url + type: string + signature_url: + nullable: true + readOnly: true + title: Signature url + type: string + size: + description: The calculated size of the package. + readOnly: true + title: Size + type: integer + slug: + description: The public unique identifier for the package. + format: slug + minLength: 1 + pattern: "^[-a-zA-Z0-9_]+$" + readOnly: true + title: Slug + type: string + slug_perm: + format: slug + minLength: 1 + pattern: "^[-a-zA-Z0-9_]+$" + readOnly: true + title: Slug perm + type: string + stage: + description: The synchronisation (in progress) stage of the package. + readOnly: true + title: Stage + type: integer + stage_str: + readOnly: true + title: Stage str + type: string + stage_updated_at: + description: The datetime the package stage was updated at. + format: date-time + readOnly: true + title: Stage updated at + type: string + status: + description: The synchronisation status of the package. + readOnly: true + title: Status + type: integer + status_reason: + description: A textual description for the synchronous status reason (if + any + minLength: 1 + readOnly: true + title: Status reason + type: string + status_str: + readOnly: true + title: Status str + type: string + status_updated_at: + description: The datetime the package status was updated at. + format: date-time + readOnly: true + title: Status updated at + type: string + status_url: + format: uri + readOnly: true + title: Status url + type: string + subtype: + readOnly: true + title: Subtype + type: string + summary: + description: A one-liner synopsis of this package. + minLength: 1 + readOnly: true + title: Summary + type: string + sync_finished_at: + description: The datetime the package sync was finished at. + format: date-time + readOnly: true + title: Sync finished at + type: string + sync_progress: + description: Synchronisation progress (from 0-100) + readOnly: true + title: Sync progress + type: integer + tags_immutable: + description: "All tags on the package, grouped by tag type. This includes\ + \ immutable tags, but doesn't distinguish them from mutable. To see which\ + \ tags are immutable specifically, see the tags_immutable field." + type: object + type_display: + readOnly: true + title: Type display + type: string + uploaded_at: + description: The date this package was uploaded. + format: date-time + readOnly: true + title: Uploaded at + type: string + uploader: + minLength: 1 + readOnly: true + title: Uploader + type: string + uploader_url: + format: uri + readOnly: true + title: Uploader url + type: string + version: + description: The raw version for this package. + minLength: 1 + readOnly: true + title: Version + type: string + version_orig: + readOnly: true + title: Version orig + type: string + vulnerability_scan_results_url: + format: uri + readOnly: true + title: Vulnerability scan results url + type: string + type: object + CargoPackageUploadRequest: + example: + republish: true + package_file: package_file + tags: tags + properties: + package_file: + description: The primary file for the package. + minLength: 1 + title: Package file + type: string + republish: + description: "If true, the uploaded package will overwrite any others with\ + \ the same attributes (e.g. same version); otherwise, it will be flagged\ + \ as a duplicate." + title: Republish + type: boolean + tags: + description: A comma-separated values list of tags to add to the package. + maxLength: 1024 + minLength: 1 + nullable: true + title: Tags + type: string + required: + - package_file + type: object + CargoPackageUploadResponse: + example: + architectures: + - name: name + description: description + - name: name + description: description + security_scan_status_updated_at: 2000-01-23T04:56:07.000+00:00 + checksum_sha256: checksum_sha256 + release: release + package_type: 5 + repository: repository + origin_repository: origin_repository + identifier_perm: identifier_perm + stage_updated_at: 2000-01-23T04:56:07.000+00:00 + tags_immutable: "{}" + is_quarantined: true + slug: slug + security_scan_started_at: 2000-01-23T04:56:07.000+00:00 + security_scan_status: Awaiting Security Scan + indexed: true + format: format + status_str: status_str + version_orig: version_orig + namespace_url: https://openapi-generator.tech + slug_perm: slug_perm + version: version + license: license + filename: filename + size: 5 + cdn_url: cdn_url + uploaded_at: 2000-01-23T04:56:07.000+00:00 + is_downloadable: true + name: name + sync_finished_at: 2000-01-23T04:56:07.000+00:00 + files: + - checksum_sha512: checksum_sha512 + checksum_sha1: checksum_sha1 + checksum_sha256: checksum_sha256 + is_primary: true + checksum_md5: checksum_md5 + slug_perm: slug_perm + filename: filename + size: 5 + cdn_url: cdn_url + downloads: 1 + is_synchronised: true + is_downloadable: true + signature_url: signature_url + tag: tag + - checksum_sha512: checksum_sha512 + checksum_sha1: checksum_sha1 + checksum_sha256: checksum_sha256 + is_primary: true + checksum_md5: checksum_md5 + slug_perm: slug_perm + filename: filename + size: 5 + cdn_url: cdn_url + downloads: 1 + is_synchronised: true + is_downloadable: true + signature_url: signature_url + tag: tag + num_files: 1 + status: 7 + checksum_sha512: checksum_sha512 + distro: + name: name + variants: variants + self_url: https://openapi-generator.tech + slug: slug + extension: extension + description: description + epoch: 6 + is_sync_completed: true + distro_version: + name: name + slug: slug + type_display: type_display + vulnerability_scan_results_url: https://openapi-generator.tech + dependencies_checksum_md5: dependencies_checksum_md5 + downloads: 0 + subtype: subtype + uploader: uploader + signature_url: signature_url + repository_url: https://openapi-generator.tech + status_reason: status_reason + status_updated_at: 2000-01-23T04:56:07.000+00:00 + summary: summary + checksum_sha1: checksum_sha1 + checksum_md5: checksum_md5 + sync_progress: 9 + is_sync_awaiting: true + uploader_url: https://openapi-generator.tech + self_html_url: self_html_url + origin_repository_url: https://openapi-generator.tech + self_url: https://openapi-generator.tech + status_url: https://openapi-generator.tech + is_sync_in_flight: true + security_scan_completed_at: 2000-01-23T04:56:07.000+00:00 + is_sync_in_progress: true + stage_str: stage_str + stage: 2 + format_url: https://openapi-generator.tech + dependencies_url: https://openapi-generator.tech + namespace: namespace + is_sync_failed: true + properties: + architectures: + items: + $ref: '#/components/schemas/Architecture' + readOnly: true + type: array + cdn_url: + nullable: true + readOnly: true + title: Cdn url + type: string + checksum_md5: + readOnly: true + title: Checksum md5 + type: string + checksum_sha1: + readOnly: true + title: Checksum sha1 + type: string + checksum_sha256: + readOnly: true + title: Checksum sha256 + type: string + checksum_sha512: + readOnly: true + title: Checksum sha512 + type: string + dependencies_checksum_md5: + description: A checksum of all of the package's dependencies. + minLength: 1 + readOnly: true + title: Dependencies checksum md5 + type: string + dependencies_url: + format: uri + readOnly: true + title: Dependencies url + type: string + description: + description: A textual description of this package. + minLength: 1 + readOnly: true + title: Description + type: string + distro: + $ref: '#/components/schemas/Distribution' + distro_version: + $ref: '#/components/schemas/DistributionVersion' + downloads: + readOnly: true + title: Downloads + type: integer + epoch: + description: The epoch of the package version (if any). + readOnly: true + title: Epoch + type: integer + extension: + readOnly: true + title: Extension + type: string + filename: + minLength: 1 + readOnly: true + title: Filename + type: string + files: + items: + $ref: '#/components/schemas/PackageFile' + readOnly: true + type: array + format: + minLength: 1 + readOnly: true + title: Format + type: string + format_url: + format: uri + readOnly: true + title: Format url + type: string + identifier_perm: + description: Unique and permanent identifier for the package. + minLength: 1 + readOnly: true + title: Identifier perm + type: string + indexed: + readOnly: true + title: Indexed + type: boolean + is_downloadable: + readOnly: true + title: Is downloadable + type: boolean + is_quarantined: + readOnly: true + title: Is quarantined + type: boolean + is_sync_awaiting: + readOnly: true + title: Is sync awaiting + type: boolean + is_sync_completed: + readOnly: true + title: Is sync completed + type: boolean + is_sync_failed: + readOnly: true + title: Is sync failed + type: boolean + is_sync_in_flight: + readOnly: true + title: Is sync in flight + type: boolean + is_sync_in_progress: + readOnly: true + title: Is sync in progress + type: boolean + license: + description: The license of this package. + minLength: 1 + readOnly: true + title: License + type: string + name: + description: The name of this package. + minLength: 1 + readOnly: true + title: Name + type: string + namespace: + minLength: 1 + readOnly: true + title: Namespace + type: string + namespace_url: + format: uri + readOnly: true + title: Namespace url + type: string + num_files: + readOnly: true + title: Num files + type: integer + origin_repository: + minLength: 1 + readOnly: true + title: Origin repository + type: string + origin_repository_url: + format: uri + readOnly: true + title: Origin repository url + type: string + package_type: + description: The type of package contents. + readOnly: true + title: Package type + type: integer + release: + description: The release of the package version (if any). + minLength: 1 + readOnly: true + title: Release + type: string + repository: + minLength: 1 + readOnly: true + title: Repository + type: string + repository_url: + format: uri + readOnly: true + title: Repository url + type: string + security_scan_completed_at: + description: The datetime the security scanning was completed. + format: date-time + readOnly: true + title: Security scan completed at + type: string + security_scan_started_at: + description: The datetime the security scanning was started. + format: date-time + readOnly: true + title: Security scan started at + type: string + security_scan_status: + default: Awaiting Security Scan + nullable: true + readOnly: true + title: Security scan status + type: string + security_scan_status_updated_at: + description: The datetime the security scanning status was updated. + format: date-time + readOnly: true + title: Security scan status updated at + type: string + self_html_url: + minLength: 1 + readOnly: true + title: Self html url + type: string + self_url: + format: uri + readOnly: true + title: Self url + type: string + signature_url: + nullable: true + readOnly: true + title: Signature url + type: string + size: + description: The calculated size of the package. + readOnly: true + title: Size + type: integer + slug: + description: The public unique identifier for the package. + format: slug + minLength: 1 + pattern: "^[-a-zA-Z0-9_]+$" + readOnly: true + title: Slug + type: string + slug_perm: + format: slug + minLength: 1 + pattern: "^[-a-zA-Z0-9_]+$" + readOnly: true + title: Slug perm + type: string + stage: + description: The synchronisation (in progress) stage of the package. + readOnly: true + title: Stage + type: integer + stage_str: + readOnly: true + title: Stage str + type: string + stage_updated_at: + description: The datetime the package stage was updated at. + format: date-time + readOnly: true + title: Stage updated at + type: string + status: + description: The synchronisation status of the package. + readOnly: true + title: Status + type: integer + status_reason: + description: A textual description for the synchronous status reason (if + any + minLength: 1 + readOnly: true + title: Status reason + type: string + status_str: + readOnly: true + title: Status str + type: string + status_updated_at: + description: The datetime the package status was updated at. + format: date-time + readOnly: true + title: Status updated at + type: string + status_url: + format: uri + readOnly: true + title: Status url + type: string + subtype: + readOnly: true + title: Subtype + type: string + summary: + description: A one-liner synopsis of this package. + minLength: 1 + readOnly: true + title: Summary + type: string + sync_finished_at: + description: The datetime the package sync was finished at. + format: date-time + readOnly: true + title: Sync finished at + type: string + sync_progress: + description: Synchronisation progress (from 0-100) + readOnly: true + title: Sync progress + type: integer + tags_immutable: + description: "All tags on the package, grouped by tag type. This includes\ + \ immutable tags, but doesn't distinguish them from mutable. To see which\ + \ tags are immutable specifically, see the tags_immutable field." + type: object + type_display: + readOnly: true + title: Type display + type: string + uploaded_at: + description: The date this package was uploaded. + format: date-time + readOnly: true + title: Uploaded at + type: string + uploader: + minLength: 1 + readOnly: true + title: Uploader + type: string + uploader_url: + format: uri + readOnly: true + title: Uploader url + type: string + version: + description: The raw version for this package. + minLength: 1 + readOnly: true + title: Version + type: string + version_orig: + readOnly: true + title: Version orig + type: string + vulnerability_scan_results_url: + format: uri + readOnly: true + title: Vulnerability scan results url + type: string + type: object + CocoapodsPackageUploadRequest: + example: + republish: true + package_file: package_file + tags: tags + properties: + package_file: + description: The primary file for the package. + minLength: 1 + title: Package file + type: string + republish: + description: "If true, the uploaded package will overwrite any others with\ + \ the same attributes (e.g. same version); otherwise, it will be flagged\ + \ as a duplicate." + title: Republish + type: boolean + tags: + description: A comma-separated values list of tags to add to the package. + maxLength: 1024 + minLength: 1 + nullable: true + title: Tags + type: string + required: + - package_file + type: object + CocoapodsPackageUploadResponse: + example: + architectures: + - name: name + description: description + - name: name + description: description + security_scan_status_updated_at: 2000-01-23T04:56:07.000+00:00 + checksum_sha256: checksum_sha256 + release: release + package_type: 5 + repository: repository + origin_repository: origin_repository + identifier_perm: identifier_perm + stage_updated_at: 2000-01-23T04:56:07.000+00:00 + tags_immutable: "{}" + is_quarantined: true + slug: slug + security_scan_started_at: 2000-01-23T04:56:07.000+00:00 + security_scan_status: Awaiting Security Scan + indexed: true + format: format + status_str: status_str + version_orig: version_orig + namespace_url: https://openapi-generator.tech + slug_perm: slug_perm + version: version + license: license + filename: filename + size: 5 + cdn_url: cdn_url + uploaded_at: 2000-01-23T04:56:07.000+00:00 + is_downloadable: true + name: name + sync_finished_at: 2000-01-23T04:56:07.000+00:00 + files: + - checksum_sha512: checksum_sha512 + checksum_sha1: checksum_sha1 + checksum_sha256: checksum_sha256 + is_primary: true + checksum_md5: checksum_md5 + slug_perm: slug_perm + filename: filename + size: 5 + cdn_url: cdn_url + downloads: 1 + is_synchronised: true + is_downloadable: true + signature_url: signature_url + tag: tag + - checksum_sha512: checksum_sha512 + checksum_sha1: checksum_sha1 + checksum_sha256: checksum_sha256 + is_primary: true + checksum_md5: checksum_md5 + slug_perm: slug_perm + filename: filename + size: 5 + cdn_url: cdn_url + downloads: 1 + is_synchronised: true + is_downloadable: true + signature_url: signature_url + tag: tag + num_files: 1 + status: 7 + checksum_sha512: checksum_sha512 + distro: + name: name + variants: variants + self_url: https://openapi-generator.tech + slug: slug + extension: extension + description: description + epoch: 6 + is_sync_completed: true + distro_version: + name: name + slug: slug + type_display: type_display + vulnerability_scan_results_url: https://openapi-generator.tech + dependencies_checksum_md5: dependencies_checksum_md5 + downloads: 0 + subtype: subtype + uploader: uploader + signature_url: signature_url + repository_url: https://openapi-generator.tech + status_reason: status_reason + status_updated_at: 2000-01-23T04:56:07.000+00:00 + summary: summary + checksum_sha1: checksum_sha1 + checksum_md5: checksum_md5 + sync_progress: 9 + is_sync_awaiting: true + uploader_url: https://openapi-generator.tech + self_html_url: self_html_url + origin_repository_url: https://openapi-generator.tech + self_url: https://openapi-generator.tech + status_url: https://openapi-generator.tech + is_sync_in_flight: true + security_scan_completed_at: 2000-01-23T04:56:07.000+00:00 + is_sync_in_progress: true + stage_str: stage_str + stage: 2 + format_url: https://openapi-generator.tech + dependencies_url: https://openapi-generator.tech + namespace: namespace + is_sync_failed: true + properties: + architectures: + items: + $ref: '#/components/schemas/Architecture' + readOnly: true + type: array + cdn_url: + nullable: true + readOnly: true + title: Cdn url type: string - pom_file: - description: The POM file is an XML file containing the Maven coordinates. - example: y1234456789b + checksum_md5: + readOnly: true + title: Checksum md5 type: string - republish: - description: If true, the uploaded package will overwrite any others with - the same attributes (e.g. same version); otherwise, it will be flagged - as a duplicate. + checksum_sha1: + readOnly: true + title: Checksum sha1 + type: string + checksum_sha256: + readOnly: true + title: Checksum sha256 + type: string + checksum_sha512: + readOnly: true + title: Checksum sha512 + type: string + dependencies_checksum_md5: + description: A checksum of all of the package's dependencies. + minLength: 1 + readOnly: true + title: Dependencies checksum md5 + type: string + dependencies_url: + format: uri + readOnly: true + title: Dependencies url + type: string + description: + description: A textual description of this package. + minLength: 1 + readOnly: true + title: Description + type: string + distro: + $ref: '#/components/schemas/Distribution' + distro_version: + $ref: '#/components/schemas/DistributionVersion' + downloads: + readOnly: true + title: Downloads + type: integer + epoch: + description: The epoch of the package version (if any). + readOnly: true + title: Epoch + type: integer + extension: + readOnly: true + title: Extension + type: string + filename: + minLength: 1 + readOnly: true + title: Filename + type: string + files: + items: + $ref: '#/components/schemas/PackageFile' + readOnly: true + type: array + format: + minLength: 1 + readOnly: true + title: Format + type: string + format_url: + format: uri + readOnly: true + title: Format url + type: string + identifier_perm: + description: Unique and permanent identifier for the package. + minLength: 1 + readOnly: true + title: Identifier perm + type: string + indexed: + readOnly: true + title: Indexed type: boolean - sources_file: - description: Adds bundled Java source code to the Maven package. - example: y1234456789d + is_downloadable: + readOnly: true + title: Is downloadable + type: boolean + is_quarantined: + readOnly: true + title: Is quarantined + type: boolean + is_sync_awaiting: + readOnly: true + title: Is sync awaiting + type: boolean + is_sync_completed: + readOnly: true + title: Is sync completed + type: boolean + is_sync_failed: + readOnly: true + title: Is sync failed + type: boolean + is_sync_in_flight: + readOnly: true + title: Is sync in flight + type: boolean + is_sync_in_progress: + readOnly: true + title: Is sync in progress + type: boolean + license: + description: The license of this package. + minLength: 1 + readOnly: true + title: License type: string - tags: - description: A comma-separated values list of tags to add to the package. + name: + description: The name of this package. + minLength: 1 + readOnly: true + title: Name type: string - tests_file: - description: Adds bundled Java tests to the Maven package. - example: y1234456789e + namespace: + minLength: 1 + readOnly: true + title: Namespace + type: string + namespace_url: + format: uri + readOnly: true + title: Namespace url + type: string + num_files: + readOnly: true + title: Num files + type: integer + origin_repository: + minLength: 1 + readOnly: true + title: Origin repository + type: string + origin_repository_url: + format: uri + readOnly: true + title: Origin repository url + type: string + package_type: + description: The type of package contents. + readOnly: true + title: Package type + type: integer + release: + description: The release of the package version (if any). + minLength: 1 + readOnly: true + title: Release + type: string + repository: + minLength: 1 + readOnly: true + title: Repository + type: string + repository_url: + format: uri + readOnly: true + title: Repository url + type: string + security_scan_completed_at: + description: The datetime the security scanning was completed. + format: date-time + readOnly: true + title: Security scan completed at + type: string + security_scan_started_at: + description: The datetime the security scanning was started. + format: date-time + readOnly: true + title: Security scan started at + type: string + security_scan_status: + default: Awaiting Security Scan + nullable: true + readOnly: true + title: Security scan status + type: string + security_scan_status_updated_at: + description: The datetime the security scanning status was updated. + format: date-time + readOnly: true + title: Security scan status updated at + type: string + self_html_url: + minLength: 1 + readOnly: true + title: Self html url + type: string + self_url: + format: uri + readOnly: true + title: Self url + type: string + signature_url: + nullable: true + readOnly: true + title: Signature url + type: string + size: + description: The calculated size of the package. + readOnly: true + title: Size + type: integer + slug: + description: The public unique identifier for the package. + format: slug + minLength: 1 + pattern: "^[-a-zA-Z0-9_]+$" + readOnly: true + title: Slug + type: string + slug_perm: + format: slug + minLength: 1 + pattern: "^[-a-zA-Z0-9_]+$" + readOnly: true + title: Slug perm + type: string + stage: + description: The synchronisation (in progress) stage of the package. + readOnly: true + title: Stage + type: integer + stage_str: + readOnly: true + title: Stage str + type: string + stage_updated_at: + description: The datetime the package stage was updated at. + format: date-time + readOnly: true + title: Stage updated at + type: string + status: + description: The synchronisation status of the package. + readOnly: true + title: Status + type: integer + status_reason: + description: A textual description for the synchronous status reason (if + any + minLength: 1 + readOnly: true + title: Status reason + type: string + status_str: + readOnly: true + title: Status str + type: string + status_updated_at: + description: The datetime the package status was updated at. + format: date-time + readOnly: true + title: Status updated at + type: string + status_url: + format: uri + readOnly: true + title: Status url + type: string + subtype: + readOnly: true + title: Subtype + type: string + summary: + description: A one-liner synopsis of this package. + minLength: 1 + readOnly: true + title: Summary + type: string + sync_finished_at: + description: The datetime the package sync was finished at. + format: date-time + readOnly: true + title: Sync finished at + type: string + sync_progress: + description: Synchronisation progress (from 0-100) + readOnly: true + title: Sync progress + type: integer + tags_immutable: + description: "All tags on the package, grouped by tag type. This includes\ + \ immutable tags, but doesn't distinguish them from mutable. To see which\ + \ tags are immutable specifically, see the tags_immutable field." + type: object + type_display: + readOnly: true + title: Type display + type: string + uploaded_at: + description: The date this package was uploaded. + format: date-time + readOnly: true + title: Uploaded at + type: string + uploader: + minLength: 1 + readOnly: true + title: Uploader + type: string + uploader_url: + format: uri + readOnly: true + title: Uploader url type: string version: description: The raw version for this package. + minLength: 1 + readOnly: true + title: Version + type: string + version_orig: + readOnly: true + title: Version orig + type: string + vulnerability_scan_results_url: + format: uri + readOnly: true + title: Vulnerability scan results url + type: string + type: object + ComposerPackageUploadRequest: + example: + republish: true + package_file: package_file + tags: tags + properties: + package_file: + description: The primary file for the package. + minLength: 1 + title: Package file + type: string + republish: + description: "If true, the uploaded package will overwrite any others with\ + \ the same attributes (e.g. same version); otherwise, it will be flagged\ + \ as a duplicate." + title: Republish + type: boolean + tags: + description: A comma-separated values list of tags to add to the package. + maxLength: 1024 + minLength: 1 + nullable: true + title: Tags type: string required: - package_file - title: PackagesValidate-uploadMaven type: object - NugetPackageUpload: + ComposerPackageUploadResponse: example: architectures: - name: name description: description - name: name description: description - security_scan_status_updated_at: security_scan_status_updated_at + security_scan_status_updated_at: 2000-01-23T04:56:07.000+00:00 checksum_sha256: checksum_sha256 release: release package_type: 5 repository: repository + origin_repository: origin_repository identifier_perm: identifier_perm - stage_updated_at: stage_updated_at - tags_immutable: '{}' + stage_updated_at: 2000-01-23T04:56:07.000+00:00 + tags_immutable: "{}" is_quarantined: true slug: slug - security_scan_started_at: security_scan_started_at + security_scan_started_at: 2000-01-23T04:56:07.000+00:00 security_scan_status: Awaiting Security Scan indexed: true format: format status_str: status_str version_orig: version_orig - namespace_url: namespace_url + namespace_url: https://openapi-generator.tech slug_perm: slug_perm version: version license: license filename: filename size: 5 cdn_url: cdn_url - uploaded_at: uploaded_at + uploaded_at: 2000-01-23T04:56:07.000+00:00 is_downloadable: true name: name - sync_finished_at: sync_finished_at + sync_finished_at: 2000-01-23T04:56:07.000+00:00 files: - checksum_sha512: checksum_sha512 checksum_sha1: checksum_sha1 @@ -10962,318 +11995,499 @@ components: num_files: 1 status: 7 checksum_sha512: checksum_sha512 - distro: '{}' + distro: + name: name + variants: variants + self_url: https://openapi-generator.tech + slug: slug extension: extension description: description epoch: 6 is_sync_completed: true - distro_version: '{}' + distro_version: + name: name + slug: slug type_display: type_display - vulnerability_scan_results_url: vulnerability_scan_results_url + vulnerability_scan_results_url: https://openapi-generator.tech dependencies_checksum_md5: dependencies_checksum_md5 downloads: 0 subtype: subtype uploader: uploader signature_url: signature_url - repository_url: repository_url + repository_url: https://openapi-generator.tech status_reason: status_reason - status_updated_at: status_updated_at + status_updated_at: 2000-01-23T04:56:07.000+00:00 summary: summary checksum_sha1: checksum_sha1 checksum_md5: checksum_md5 sync_progress: 9 is_sync_awaiting: true - uploader_url: uploader_url + uploader_url: https://openapi-generator.tech self_html_url: self_html_url - self_url: self_url - status_url: status_url + origin_repository_url: https://openapi-generator.tech + self_url: https://openapi-generator.tech + status_url: https://openapi-generator.tech is_sync_in_flight: true - security_scan_completed_at: security_scan_completed_at + security_scan_completed_at: 2000-01-23T04:56:07.000+00:00 is_sync_in_progress: true stage_str: stage_str stage: 2 - format_url: format_url - dependencies_url: dependencies_url + format_url: https://openapi-generator.tech + dependencies_url: https://openapi-generator.tech namespace: namespace is_sync_failed: true properties: architectures: - description: "" items: - $ref: '#/components/schemas/_packages__owner___repo___architectures' - title: ArchitecturesList + $ref: '#/components/schemas/Architecture' + readOnly: true type: array cdn_url: - description: "" + nullable: true + readOnly: true + title: Cdn url type: string checksum_md5: - description: "" + readOnly: true + title: Checksum md5 type: string checksum_sha1: - description: "" + readOnly: true + title: Checksum sha1 type: string checksum_sha256: - description: "" + readOnly: true + title: Checksum sha256 type: string checksum_sha512: - description: "" + readOnly: true + title: Checksum sha512 type: string dependencies_checksum_md5: description: A checksum of all of the package's dependencies. + minLength: 1 + readOnly: true + title: Dependencies checksum md5 type: string dependencies_url: - description: "" + format: uri + readOnly: true + title: Dependencies url type: string description: description: A textual description of this package. + minLength: 1 + readOnly: true + title: Description type: string distro: - description: "" - properties: {} - type: object + $ref: '#/components/schemas/Distribution' distro_version: - description: "" - properties: {} - type: object + $ref: '#/components/schemas/DistributionVersion' downloads: - description: "" + readOnly: true + title: Downloads type: integer epoch: description: The epoch of the package version (if any). + readOnly: true + title: Epoch type: integer extension: - description: "" + readOnly: true + title: Extension type: string filename: - description: "" + minLength: 1 + readOnly: true + title: Filename type: string files: - description: "" items: - $ref: '#/components/schemas/_packages__owner___repo___files' - title: FilesList + $ref: '#/components/schemas/PackageFile' + readOnly: true type: array format: - description: "" + minLength: 1 + readOnly: true + title: Format type: string format_url: - description: "" + format: uri + readOnly: true + title: Format url type: string identifier_perm: description: Unique and permanent identifier for the package. + minLength: 1 + readOnly: true + title: Identifier perm type: string indexed: - description: "" + readOnly: true + title: Indexed type: boolean is_downloadable: - description: "" + readOnly: true + title: Is downloadable type: boolean is_quarantined: - description: "" + readOnly: true + title: Is quarantined type: boolean is_sync_awaiting: - description: "" + readOnly: true + title: Is sync awaiting type: boolean is_sync_completed: - description: "" + readOnly: true + title: Is sync completed type: boolean is_sync_failed: - description: "" + readOnly: true + title: Is sync failed type: boolean is_sync_in_flight: - description: "" + readOnly: true + title: Is sync in flight type: boolean is_sync_in_progress: - description: "" + readOnly: true + title: Is sync in progress type: boolean license: description: The license of this package. + minLength: 1 + readOnly: true + title: License type: string name: description: The name of this package. + minLength: 1 + readOnly: true + title: Name type: string namespace: - description: "" + minLength: 1 + readOnly: true + title: Namespace type: string namespace_url: - description: "" + format: uri + readOnly: true + title: Namespace url type: string num_files: - description: "" + readOnly: true + title: Num files type: integer + origin_repository: + minLength: 1 + readOnly: true + title: Origin repository + type: string + origin_repository_url: + format: uri + readOnly: true + title: Origin repository url + type: string package_type: description: The type of package contents. + readOnly: true + title: Package type type: integer release: description: The release of the package version (if any). + minLength: 1 + readOnly: true + title: Release type: string repository: - description: "" + minLength: 1 + readOnly: true + title: Repository type: string repository_url: - description: "" + format: uri + readOnly: true + title: Repository url type: string security_scan_completed_at: description: The datetime the security scanning was completed. + format: date-time + readOnly: true + title: Security scan completed at type: string security_scan_started_at: description: The datetime the security scanning was started. + format: date-time + readOnly: true + title: Security scan started at type: string security_scan_status: - description: "" - enum: - - Awaiting Security Scan - - Security Scanning in Progress - - Scan Detected Vulnerabilities - - Scan Detected No Vulnerabilities - - Security Scanning Disabled - - Security Scanning Failed - - Security Scanning Skipped - - Security Scanning Not Supported + default: Awaiting Security Scan + nullable: true + readOnly: true + title: Security scan status type: string security_scan_status_updated_at: description: The datetime the security scanning status was updated. + format: date-time + readOnly: true + title: Security scan status updated at type: string self_html_url: - description: "" + minLength: 1 + readOnly: true + title: Self html url type: string self_url: - description: "" + format: uri + readOnly: true + title: Self url type: string signature_url: - description: "" + nullable: true + readOnly: true + title: Signature url type: string size: description: The calculated size of the package. + readOnly: true + title: Size type: integer slug: description: The public unique identifier for the package. + format: slug + minLength: 1 + pattern: "^[-a-zA-Z0-9_]+$" + readOnly: true + title: Slug type: string slug_perm: - description: "" + format: slug + minLength: 1 + pattern: "^[-a-zA-Z0-9_]+$" + readOnly: true + title: Slug perm type: string stage: description: The synchronisation (in progress) stage of the package. + readOnly: true + title: Stage type: integer stage_str: - description: "" + readOnly: true + title: Stage str type: string stage_updated_at: description: The datetime the package stage was updated at. + format: date-time + readOnly: true + title: Stage updated at type: string status: description: The synchronisation status of the package. + readOnly: true + title: Status type: integer status_reason: description: A textual description for the synchronous status reason (if any + minLength: 1 + readOnly: true + title: Status reason type: string status_str: - description: "" + readOnly: true + title: Status str type: string status_updated_at: description: The datetime the package status was updated at. + format: date-time + readOnly: true + title: Status updated at type: string status_url: - description: "" + format: uri + readOnly: true + title: Status url type: string subtype: - description: "" + readOnly: true + title: Subtype type: string summary: description: A one-liner synopsis of this package. + minLength: 1 + readOnly: true + title: Summary type: string sync_finished_at: description: The datetime the package sync was finished at. + format: date-time + readOnly: true + title: Sync finished at type: string sync_progress: description: Synchronisation progress (from 0-100) + readOnly: true + title: Sync progress type: integer tags_immutable: - description: All immutable tags on the package, grouped by tag type. Immutable - tags cannot be (easily) deleted. - properties: {} + description: "All tags on the package, grouped by tag type. This includes\ + \ immutable tags, but doesn't distinguish them from mutable. To see which\ + \ tags are immutable specifically, see the tags_immutable field." type: object type_display: - description: "" + readOnly: true + title: Type display type: string uploaded_at: description: The date this package was uploaded. + format: date-time + readOnly: true + title: Uploaded at type: string uploader: - description: "" + minLength: 1 + readOnly: true + title: Uploader type: string uploader_url: - description: "" + format: uri + readOnly: true + title: Uploader url type: string version: description: The raw version for this package. + minLength: 1 + readOnly: true + title: Version type: string version_orig: - description: "" + readOnly: true + title: Version orig type: string vulnerability_scan_results_url: - description: "" + format: uri + readOnly: true + title: Vulnerability scan results url type: string - title: NugetPackageUpload type: object - PackagesValidate_uploadRpm: + ConanPackageUploadRequest: + example: + republish: true + name: name + metadata_file: metadata_file + package_file: package_file + conan_prefix: conan_prefix + version: version + conan_channel: conan_channel + info_file: info_file + manifest_file: manifest_file + tags: tags properties: - distribution: - description: The distribution to store the package for. - example: el/7 + conan_channel: + description: Conan channel. + maxLength: 128 + minLength: 1 + nullable: true + title: Conan channel + type: string + conan_prefix: + description: Conan prefix (User). + maxLength: 128 + minLength: 1 + nullable: true + title: Conan prefix + type: string + info_file: + description: The info file is an python file containing the package metadata. + minLength: 1 + title: Info file + type: string + manifest_file: + description: The info file is an python file containing the package metadata. + minLength: 1 + title: Manifest file + type: string + metadata_file: + description: The conan file is an python file containing the package metadata. + minLength: 1 + title: Metadata file + type: string + name: + description: The name of this package. + maxLength: 200 + nullable: true + title: Name type: string package_file: description: The primary file for the package. - example: y123456789 + minLength: 1 + title: Package file type: string republish: - description: If true, the uploaded package will overwrite any others with - the same attributes (e.g. same version); otherwise, it will be flagged - as a duplicate. + description: "If true, the uploaded package will overwrite any others with\ + \ the same attributes (e.g. same version); otherwise, it will be flagged\ + \ as a duplicate." + title: Republish type: boolean tags: description: A comma-separated values list of tags to add to the package. + maxLength: 1024 + minLength: 1 + nullable: true + title: Tags + type: string + version: + description: The raw version for this package. + maxLength: 128 + nullable: true + title: Version type: string required: - - distribution + - info_file + - manifest_file + - metadata_file - package_file - title: PackagesValidate-uploadRpm type: object - RubyPackageUpload: + ConanPackageUploadResponse: example: architectures: - name: name description: description - name: name description: description - security_scan_status_updated_at: security_scan_status_updated_at + security_scan_status_updated_at: 2000-01-23T04:56:07.000+00:00 checksum_sha256: checksum_sha256 release: release package_type: 5 repository: repository + origin_repository: origin_repository identifier_perm: identifier_perm - stage_updated_at: stage_updated_at - tags_immutable: '{}' + stage_updated_at: 2000-01-23T04:56:07.000+00:00 + tags_immutable: "{}" is_quarantined: true slug: slug - security_scan_started_at: security_scan_started_at + security_scan_started_at: 2000-01-23T04:56:07.000+00:00 security_scan_status: Awaiting Security Scan indexed: true format: format status_str: status_str version_orig: version_orig - namespace_url: namespace_url + namespace_url: https://openapi-generator.tech slug_perm: slug_perm version: version license: license filename: filename size: 5 cdn_url: cdn_url - uploaded_at: uploaded_at + uploaded_at: 2000-01-23T04:56:07.000+00:00 is_downloadable: true name: name - sync_finished_at: sync_finished_at + sync_finished_at: 2000-01-23T04:56:07.000+00:00 files: - checksum_sha512: checksum_sha512 checksum_sha1: checksum_sha1 @@ -11303,411 +12517,467 @@ components: is_downloadable: true signature_url: signature_url tag: tag + conan_prefix: conan_prefix num_files: 1 + conan_channel: conan_channel status: 7 checksum_sha512: checksum_sha512 - distro: '{}' + distro: + name: name + variants: variants + self_url: https://openapi-generator.tech + slug: slug extension: extension description: description epoch: 6 is_sync_completed: true - distro_version: '{}' + distro_version: + name: name + slug: slug type_display: type_display - vulnerability_scan_results_url: vulnerability_scan_results_url + vulnerability_scan_results_url: https://openapi-generator.tech dependencies_checksum_md5: dependencies_checksum_md5 downloads: 0 subtype: subtype uploader: uploader signature_url: signature_url - repository_url: repository_url + repository_url: https://openapi-generator.tech status_reason: status_reason - status_updated_at: status_updated_at + status_updated_at: 2000-01-23T04:56:07.000+00:00 summary: summary checksum_sha1: checksum_sha1 checksum_md5: checksum_md5 sync_progress: 9 is_sync_awaiting: true - uploader_url: uploader_url + uploader_url: https://openapi-generator.tech self_html_url: self_html_url - self_url: self_url - status_url: status_url + origin_repository_url: https://openapi-generator.tech + self_url: https://openapi-generator.tech + status_url: https://openapi-generator.tech is_sync_in_flight: true - security_scan_completed_at: security_scan_completed_at + security_scan_completed_at: 2000-01-23T04:56:07.000+00:00 is_sync_in_progress: true stage_str: stage_str stage: 2 - format_url: format_url - dependencies_url: dependencies_url + format_url: https://openapi-generator.tech + dependencies_url: https://openapi-generator.tech namespace: namespace is_sync_failed: true properties: architectures: - description: "" items: - $ref: '#/components/schemas/_packages__owner___repo___architectures' - title: ArchitecturesList + $ref: '#/components/schemas/Architecture' + readOnly: true type: array cdn_url: - description: "" + nullable: true + readOnly: true + title: Cdn url type: string checksum_md5: - description: "" + readOnly: true + title: Checksum md5 type: string checksum_sha1: - description: "" + readOnly: true + title: Checksum sha1 type: string checksum_sha256: - description: "" + readOnly: true + title: Checksum sha256 type: string checksum_sha512: - description: "" + readOnly: true + title: Checksum sha512 + type: string + conan_channel: + description: Conan channel. + maxLength: 128 + minLength: 1 + nullable: true + title: Conan channel + type: string + conan_prefix: + description: Conan prefix (User). + maxLength: 128 + minLength: 1 + nullable: true + title: Conan prefix type: string dependencies_checksum_md5: description: A checksum of all of the package's dependencies. + minLength: 1 + readOnly: true + title: Dependencies checksum md5 type: string dependencies_url: - description: "" + format: uri + readOnly: true + title: Dependencies url type: string description: description: A textual description of this package. + minLength: 1 + readOnly: true + title: Description type: string distro: - description: "" - properties: {} - type: object + $ref: '#/components/schemas/Distribution' distro_version: - description: "" - properties: {} - type: object + $ref: '#/components/schemas/DistributionVersion' downloads: - description: "" + readOnly: true + title: Downloads type: integer epoch: description: The epoch of the package version (if any). + readOnly: true + title: Epoch type: integer extension: - description: "" + readOnly: true + title: Extension type: string filename: - description: "" + minLength: 1 + readOnly: true + title: Filename type: string files: - description: "" items: - $ref: '#/components/schemas/_packages__owner___repo___files' - title: FilesList + $ref: '#/components/schemas/PackageFile' + readOnly: true type: array format: - description: "" + minLength: 1 + readOnly: true + title: Format type: string format_url: - description: "" + format: uri + readOnly: true + title: Format url type: string identifier_perm: description: Unique and permanent identifier for the package. + minLength: 1 + readOnly: true + title: Identifier perm type: string indexed: - description: "" + readOnly: true + title: Indexed type: boolean is_downloadable: - description: "" + readOnly: true + title: Is downloadable type: boolean is_quarantined: - description: "" + readOnly: true + title: Is quarantined type: boolean is_sync_awaiting: - description: "" + readOnly: true + title: Is sync awaiting type: boolean is_sync_completed: - description: "" + readOnly: true + title: Is sync completed type: boolean is_sync_failed: - description: "" + readOnly: true + title: Is sync failed type: boolean is_sync_in_flight: - description: "" + readOnly: true + title: Is sync in flight type: boolean is_sync_in_progress: - description: "" + readOnly: true + title: Is sync in progress type: boolean license: description: The license of this package. + minLength: 1 + readOnly: true + title: License type: string name: description: The name of this package. + maxLength: 200 + nullable: true + title: Name type: string namespace: - description: "" + minLength: 1 + readOnly: true + title: Namespace type: string namespace_url: - description: "" + format: uri + readOnly: true + title: Namespace url type: string num_files: - description: "" + readOnly: true + title: Num files type: integer + origin_repository: + minLength: 1 + readOnly: true + title: Origin repository + type: string + origin_repository_url: + format: uri + readOnly: true + title: Origin repository url + type: string package_type: description: The type of package contents. + readOnly: true + title: Package type type: integer release: description: The release of the package version (if any). + minLength: 1 + readOnly: true + title: Release type: string repository: - description: "" + minLength: 1 + readOnly: true + title: Repository type: string repository_url: - description: "" + format: uri + readOnly: true + title: Repository url type: string security_scan_completed_at: description: The datetime the security scanning was completed. + format: date-time + readOnly: true + title: Security scan completed at type: string security_scan_started_at: description: The datetime the security scanning was started. + format: date-time + readOnly: true + title: Security scan started at type: string security_scan_status: - description: "" - enum: - - Awaiting Security Scan - - Security Scanning in Progress - - Scan Detected Vulnerabilities - - Scan Detected No Vulnerabilities - - Security Scanning Disabled - - Security Scanning Failed - - Security Scanning Skipped - - Security Scanning Not Supported + default: Awaiting Security Scan + nullable: true + readOnly: true + title: Security scan status type: string security_scan_status_updated_at: description: The datetime the security scanning status was updated. + format: date-time + readOnly: true + title: Security scan status updated at type: string self_html_url: - description: "" + minLength: 1 + readOnly: true + title: Self html url type: string self_url: - description: "" + format: uri + readOnly: true + title: Self url type: string signature_url: - description: "" + nullable: true + readOnly: true + title: Signature url type: string size: description: The calculated size of the package. + readOnly: true + title: Size type: integer slug: description: The public unique identifier for the package. + format: slug + minLength: 1 + pattern: "^[-a-zA-Z0-9_]+$" + readOnly: true + title: Slug type: string slug_perm: - description: "" + format: slug + minLength: 1 + pattern: "^[-a-zA-Z0-9_]+$" + readOnly: true + title: Slug perm type: string stage: description: The synchronisation (in progress) stage of the package. + readOnly: true + title: Stage type: integer stage_str: - description: "" + readOnly: true + title: Stage str type: string stage_updated_at: description: The datetime the package stage was updated at. + format: date-time + readOnly: true + title: Stage updated at type: string status: description: The synchronisation status of the package. + readOnly: true + title: Status type: integer status_reason: description: A textual description for the synchronous status reason (if any + minLength: 1 + readOnly: true + title: Status reason type: string status_str: - description: "" + readOnly: true + title: Status str type: string status_updated_at: description: The datetime the package status was updated at. + format: date-time + readOnly: true + title: Status updated at type: string status_url: - description: "" + format: uri + readOnly: true + title: Status url type: string subtype: - description: "" + readOnly: true + title: Subtype type: string summary: description: A one-liner synopsis of this package. + minLength: 1 + readOnly: true + title: Summary type: string sync_finished_at: description: The datetime the package sync was finished at. + format: date-time + readOnly: true + title: Sync finished at type: string sync_progress: description: Synchronisation progress (from 0-100) + readOnly: true + title: Sync progress type: integer tags_immutable: - description: All immutable tags on the package, grouped by tag type. Immutable - tags cannot be (easily) deleted. - properties: {} + description: "All tags on the package, grouped by tag type. This includes\ + \ immutable tags, but doesn't distinguish them from mutable. To see which\ + \ tags are immutable specifically, see the tags_immutable field." type: object type_display: - description: "" + readOnly: true + title: Type display type: string uploaded_at: description: The date this package was uploaded. + format: date-time + readOnly: true + title: Uploaded at type: string uploader: - description: "" + minLength: 1 + readOnly: true + title: Uploader type: string uploader_url: - description: "" + format: uri + readOnly: true + title: Uploader url type: string version: description: The raw version for this package. + maxLength: 128 + nullable: true + title: Version type: string version_orig: - description: "" + readOnly: true + title: Version orig type: string vulnerability_scan_results_url: - description: "" - type: string - title: RubyPackageUpload - type: object - Status: - properties: - detail: - description: An extended message for the response. + format: uri + readOnly: true + title: Vulnerability scan results url type: string - required: - - detail - title: Status type: object - PackagesUploadPython: + CondaPackageUploadRequest: example: republish: true - package_file: y123456789 + package_file: package_file tags: tags properties: package_file: description: The primary file for the package. - example: y123456789 - type: string - republish: - description: If true, the uploaded package will overwrite any others with - the same attributes (e.g. same version); otherwise, it will be flagged - as a duplicate. - type: boolean - tags: - description: A comma-separated values list of tags to add to the package. - type: string - required: - - package_file - title: PackagesUploadPython - type: object - OrganizationGroupSync: - example: - role: role - team: team - slug_perm: slug_perm - idp_value: idp_value - idp_key: idp_key - properties: - idp_key: - description: "" - type: string - idp_value: - description: "" - type: string - role: - description: "\n User role within the team.\n\n A `manager`\ - \ is capable of adding/removing others to/from the team, and\n \ - \ can set the role of other users and other settings pertaining to the\n\ - \ team.\n\n A 'member' is a normal user that inherits the\ - \ settings and privileges\n assigned to the team.\n " - type: string - slug_perm: - description: "" - type: string - team: - description: "" - type: string - required: - - idp_key - - idp_value - - team - title: OrganizationGroupSync - type: object - PackagesValidate_uploadConan: - properties: - conan_channel: - description: Conan channel. - example: alpha - type: string - conan_prefix: - description: Conan prefix (User). - example: my-repository - type: string - info_file: - description: The info file is an python file containing the package metadata. - example: y1234456789b - type: string - manifest_file: - description: The info file is an python file containing the package metadata. - example: y1234456789c - type: string - metadata_file: - description: The conan file is an python file containing the package metadata. - example: y1234456789a - type: string - name: - description: The name of this package. - example: conan_package.tgz - type: string - package_file: - description: The primary file for the package. - example: x123456789a + minLength: 1 + title: Package file type: string republish: - description: If true, the uploaded package will overwrite any others with - the same attributes (e.g. same version); otherwise, it will be flagged - as a duplicate. + description: "If true, the uploaded package will overwrite any others with\ + \ the same attributes (e.g. same version); otherwise, it will be flagged\ + \ as a duplicate." + title: Republish type: boolean tags: description: A comma-separated values list of tags to add to the package. - type: string - version: - description: The raw version for this package. - example: 1.0.0 + maxLength: 1024 + minLength: 1 + nullable: true + title: Tags type: string required: - - info_file - - manifest_file - - metadata_file - package_file - title: PackagesValidate-uploadConan type: object - P2PackageUpload: + CondaPackageUploadResponse: example: architectures: - name: name description: description - name: name description: description - security_scan_status_updated_at: security_scan_status_updated_at + security_scan_status_updated_at: 2000-01-23T04:56:07.000+00:00 checksum_sha256: checksum_sha256 release: release package_type: 5 repository: repository + origin_repository: origin_repository identifier_perm: identifier_perm - stage_updated_at: stage_updated_at - tags_immutable: '{}' + stage_updated_at: 2000-01-23T04:56:07.000+00:00 + tags_immutable: "{}" is_quarantined: true slug: slug - security_scan_started_at: security_scan_started_at + security_scan_started_at: 2000-01-23T04:56:07.000+00:00 security_scan_status: Awaiting Security Scan indexed: true format: format status_str: status_str version_orig: version_orig - namespace_url: namespace_url + namespace_url: https://openapi-generator.tech slug_perm: slug_perm version: version license: license filename: filename size: 5 cdn_url: cdn_url - uploaded_at: uploaded_at + uploaded_at: 2000-01-23T04:56:07.000+00:00 is_downloadable: true name: name - sync_finished_at: sync_finished_at + sync_finished_at: 2000-01-23T04:56:07.000+00:00 files: - checksum_sha512: checksum_sha512 checksum_sha1: checksum_sha1 @@ -11740,317 +13010,448 @@ components: num_files: 1 status: 7 checksum_sha512: checksum_sha512 - distro: '{}' + distro: + name: name + variants: variants + self_url: https://openapi-generator.tech + slug: slug extension: extension description: description epoch: 6 is_sync_completed: true - distro_version: '{}' + distro_version: + name: name + slug: slug type_display: type_display - vulnerability_scan_results_url: vulnerability_scan_results_url + vulnerability_scan_results_url: https://openapi-generator.tech dependencies_checksum_md5: dependencies_checksum_md5 downloads: 0 subtype: subtype uploader: uploader signature_url: signature_url - repository_url: repository_url + repository_url: https://openapi-generator.tech status_reason: status_reason - status_updated_at: status_updated_at + status_updated_at: 2000-01-23T04:56:07.000+00:00 summary: summary checksum_sha1: checksum_sha1 checksum_md5: checksum_md5 sync_progress: 9 is_sync_awaiting: true - uploader_url: uploader_url + uploader_url: https://openapi-generator.tech self_html_url: self_html_url - self_url: self_url - status_url: status_url + origin_repository_url: https://openapi-generator.tech + self_url: https://openapi-generator.tech + status_url: https://openapi-generator.tech is_sync_in_flight: true - security_scan_completed_at: security_scan_completed_at + security_scan_completed_at: 2000-01-23T04:56:07.000+00:00 is_sync_in_progress: true stage_str: stage_str stage: 2 - format_url: format_url - dependencies_url: dependencies_url + format_url: https://openapi-generator.tech + dependencies_url: https://openapi-generator.tech namespace: namespace is_sync_failed: true properties: architectures: - description: "" items: - $ref: '#/components/schemas/_packages__owner___repo___architectures' - title: ArchitecturesList + $ref: '#/components/schemas/Architecture' + readOnly: true type: array cdn_url: - description: "" + nullable: true + readOnly: true + title: Cdn url type: string checksum_md5: - description: "" + readOnly: true + title: Checksum md5 type: string checksum_sha1: - description: "" + readOnly: true + title: Checksum sha1 type: string checksum_sha256: - description: "" + readOnly: true + title: Checksum sha256 type: string checksum_sha512: - description: "" + readOnly: true + title: Checksum sha512 type: string dependencies_checksum_md5: description: A checksum of all of the package's dependencies. + minLength: 1 + readOnly: true + title: Dependencies checksum md5 type: string dependencies_url: - description: "" + format: uri + readOnly: true + title: Dependencies url type: string description: description: A textual description of this package. + minLength: 1 + readOnly: true + title: Description type: string distro: - description: "" - properties: {} - type: object + $ref: '#/components/schemas/Distribution' distro_version: - description: "" - properties: {} - type: object + $ref: '#/components/schemas/DistributionVersion' downloads: - description: "" + readOnly: true + title: Downloads type: integer epoch: description: The epoch of the package version (if any). + readOnly: true + title: Epoch type: integer extension: - description: "" + readOnly: true + title: Extension type: string filename: - description: "" + minLength: 1 + readOnly: true + title: Filename type: string files: - description: "" items: - $ref: '#/components/schemas/_packages__owner___repo___files' - title: FilesList + $ref: '#/components/schemas/PackageFile' + readOnly: true type: array format: - description: "" + minLength: 1 + readOnly: true + title: Format type: string format_url: - description: "" + format: uri + readOnly: true + title: Format url type: string identifier_perm: description: Unique and permanent identifier for the package. + minLength: 1 + readOnly: true + title: Identifier perm type: string indexed: - description: "" + readOnly: true + title: Indexed type: boolean is_downloadable: - description: "" + readOnly: true + title: Is downloadable type: boolean is_quarantined: - description: "" + readOnly: true + title: Is quarantined type: boolean is_sync_awaiting: - description: "" + readOnly: true + title: Is sync awaiting type: boolean is_sync_completed: - description: "" + readOnly: true + title: Is sync completed type: boolean is_sync_failed: - description: "" + readOnly: true + title: Is sync failed type: boolean is_sync_in_flight: - description: "" + readOnly: true + title: Is sync in flight type: boolean is_sync_in_progress: - description: "" + readOnly: true + title: Is sync in progress type: boolean license: description: The license of this package. + minLength: 1 + readOnly: true + title: License type: string name: description: The name of this package. + minLength: 1 + readOnly: true + title: Name type: string namespace: - description: "" + minLength: 1 + readOnly: true + title: Namespace type: string namespace_url: - description: "" + format: uri + readOnly: true + title: Namespace url type: string num_files: - description: "" + readOnly: true + title: Num files type: integer + origin_repository: + minLength: 1 + readOnly: true + title: Origin repository + type: string + origin_repository_url: + format: uri + readOnly: true + title: Origin repository url + type: string package_type: description: The type of package contents. + readOnly: true + title: Package type type: integer release: description: The release of the package version (if any). + minLength: 1 + readOnly: true + title: Release type: string repository: - description: "" + minLength: 1 + readOnly: true + title: Repository type: string repository_url: - description: "" + format: uri + readOnly: true + title: Repository url type: string security_scan_completed_at: description: The datetime the security scanning was completed. + format: date-time + readOnly: true + title: Security scan completed at type: string security_scan_started_at: description: The datetime the security scanning was started. + format: date-time + readOnly: true + title: Security scan started at type: string security_scan_status: - description: "" - enum: - - Awaiting Security Scan - - Security Scanning in Progress - - Scan Detected Vulnerabilities - - Scan Detected No Vulnerabilities - - Security Scanning Disabled - - Security Scanning Failed - - Security Scanning Skipped - - Security Scanning Not Supported + default: Awaiting Security Scan + nullable: true + readOnly: true + title: Security scan status type: string security_scan_status_updated_at: description: The datetime the security scanning status was updated. + format: date-time + readOnly: true + title: Security scan status updated at type: string self_html_url: - description: "" + minLength: 1 + readOnly: true + title: Self html url type: string self_url: - description: "" + format: uri + readOnly: true + title: Self url type: string signature_url: - description: "" + nullable: true + readOnly: true + title: Signature url type: string size: description: The calculated size of the package. + readOnly: true + title: Size type: integer slug: description: The public unique identifier for the package. + format: slug + minLength: 1 + pattern: "^[-a-zA-Z0-9_]+$" + readOnly: true + title: Slug type: string slug_perm: - description: "" + format: slug + minLength: 1 + pattern: "^[-a-zA-Z0-9_]+$" + readOnly: true + title: Slug perm type: string stage: description: The synchronisation (in progress) stage of the package. + readOnly: true + title: Stage type: integer stage_str: - description: "" + readOnly: true + title: Stage str type: string stage_updated_at: description: The datetime the package stage was updated at. + format: date-time + readOnly: true + title: Stage updated at type: string status: description: The synchronisation status of the package. + readOnly: true + title: Status type: integer status_reason: description: A textual description for the synchronous status reason (if any + minLength: 1 + readOnly: true + title: Status reason type: string status_str: - description: "" + readOnly: true + title: Status str type: string status_updated_at: description: The datetime the package status was updated at. + format: date-time + readOnly: true + title: Status updated at type: string status_url: - description: "" + format: uri + readOnly: true + title: Status url type: string subtype: - description: "" + readOnly: true + title: Subtype type: string summary: description: A one-liner synopsis of this package. + minLength: 1 + readOnly: true + title: Summary type: string sync_finished_at: description: The datetime the package sync was finished at. + format: date-time + readOnly: true + title: Sync finished at type: string sync_progress: description: Synchronisation progress (from 0-100) + readOnly: true + title: Sync progress type: integer tags_immutable: - description: All immutable tags on the package, grouped by tag type. Immutable - tags cannot be (easily) deleted. - properties: {} + description: "All tags on the package, grouped by tag type. This includes\ + \ immutable tags, but doesn't distinguish them from mutable. To see which\ + \ tags are immutable specifically, see the tags_immutable field." type: object type_display: - description: "" + readOnly: true + title: Type display type: string uploaded_at: description: The date this package was uploaded. + format: date-time + readOnly: true + title: Uploaded at type: string uploader: - description: "" + minLength: 1 + readOnly: true + title: Uploader type: string uploader_url: - description: "" + format: uri + readOnly: true + title: Uploader url type: string version: description: The raw version for this package. + minLength: 1 + readOnly: true + title: Version type: string version_orig: - description: "" + readOnly: true + title: Version orig type: string vulnerability_scan_results_url: - description: "" + format: uri + readOnly: true + title: Vulnerability scan results url type: string - title: P2PackageUpload type: object - PackagesUploadTerraform: + CranPackageUploadRequest: example: republish: true - package_file: z123456789a + package_file: package_file tags: tags properties: package_file: description: The primary file for the package. - example: z123456789a + minLength: 1 + title: Package file type: string republish: - description: If true, the uploaded package will overwrite any others with - the same attributes (e.g. same version); otherwise, it will be flagged - as a duplicate. + description: "If true, the uploaded package will overwrite any others with\ + \ the same attributes (e.g. same version); otherwise, it will be flagged\ + \ as a duplicate." + title: Republish type: boolean tags: description: A comma-separated values list of tags to add to the package. + maxLength: 1024 + minLength: 1 + nullable: true + title: Tags type: string required: - package_file - title: PackagesUploadTerraform type: object - DockerPackageUpload: + CranPackageUploadResponse: example: architectures: - name: name description: description - name: name description: description - security_scan_status_updated_at: security_scan_status_updated_at + security_scan_status_updated_at: 2000-01-23T04:56:07.000+00:00 checksum_sha256: checksum_sha256 release: release package_type: 5 repository: repository + origin_repository: origin_repository identifier_perm: identifier_perm - stage_updated_at: stage_updated_at - tags_immutable: '{}' + stage_updated_at: 2000-01-23T04:56:07.000+00:00 + tags_immutable: "{}" is_quarantined: true slug: slug - security_scan_started_at: security_scan_started_at + security_scan_started_at: 2000-01-23T04:56:07.000+00:00 security_scan_status: Awaiting Security Scan indexed: true format: format status_str: status_str version_orig: version_orig - namespace_url: namespace_url + namespace_url: https://openapi-generator.tech slug_perm: slug_perm version: version license: license filename: filename size: 5 cdn_url: cdn_url - uploaded_at: uploaded_at + uploaded_at: 2000-01-23T04:56:07.000+00:00 is_downloadable: true name: name - sync_finished_at: sync_finished_at + sync_finished_at: 2000-01-23T04:56:07.000+00:00 files: - checksum_sha512: checksum_sha512 checksum_sha1: checksum_sha1 @@ -12083,416 +13484,448 @@ components: num_files: 1 status: 7 checksum_sha512: checksum_sha512 - distro: '{}' + distro: + name: name + variants: variants + self_url: https://openapi-generator.tech + slug: slug extension: extension description: description epoch: 6 is_sync_completed: true - distro_version: '{}' + distro_version: + name: name + slug: slug type_display: type_display - vulnerability_scan_results_url: vulnerability_scan_results_url + vulnerability_scan_results_url: https://openapi-generator.tech dependencies_checksum_md5: dependencies_checksum_md5 downloads: 0 subtype: subtype uploader: uploader signature_url: signature_url - repository_url: repository_url + repository_url: https://openapi-generator.tech status_reason: status_reason - status_updated_at: status_updated_at + status_updated_at: 2000-01-23T04:56:07.000+00:00 summary: summary checksum_sha1: checksum_sha1 checksum_md5: checksum_md5 sync_progress: 9 is_sync_awaiting: true - uploader_url: uploader_url + uploader_url: https://openapi-generator.tech self_html_url: self_html_url - self_url: self_url - status_url: status_url + origin_repository_url: https://openapi-generator.tech + self_url: https://openapi-generator.tech + status_url: https://openapi-generator.tech is_sync_in_flight: true - security_scan_completed_at: security_scan_completed_at + security_scan_completed_at: 2000-01-23T04:56:07.000+00:00 is_sync_in_progress: true stage_str: stage_str stage: 2 - format_url: format_url - dependencies_url: dependencies_url + format_url: https://openapi-generator.tech + dependencies_url: https://openapi-generator.tech namespace: namespace is_sync_failed: true properties: architectures: - description: "" items: - $ref: '#/components/schemas/_packages__owner___repo___architectures' - title: ArchitecturesList + $ref: '#/components/schemas/Architecture' + readOnly: true type: array cdn_url: - description: "" + nullable: true + readOnly: true + title: Cdn url type: string checksum_md5: - description: "" + readOnly: true + title: Checksum md5 type: string checksum_sha1: - description: "" + readOnly: true + title: Checksum sha1 type: string checksum_sha256: - description: "" + readOnly: true + title: Checksum sha256 type: string checksum_sha512: - description: "" + readOnly: true + title: Checksum sha512 type: string dependencies_checksum_md5: description: A checksum of all of the package's dependencies. + minLength: 1 + readOnly: true + title: Dependencies checksum md5 type: string dependencies_url: - description: "" + format: uri + readOnly: true + title: Dependencies url type: string description: description: A textual description of this package. + minLength: 1 + readOnly: true + title: Description type: string distro: - description: "" - properties: {} - type: object + $ref: '#/components/schemas/Distribution' distro_version: - description: "" - properties: {} - type: object + $ref: '#/components/schemas/DistributionVersion' downloads: - description: "" + readOnly: true + title: Downloads type: integer epoch: description: The epoch of the package version (if any). + readOnly: true + title: Epoch type: integer extension: - description: "" + readOnly: true + title: Extension type: string filename: - description: "" + minLength: 1 + readOnly: true + title: Filename type: string files: - description: "" items: - $ref: '#/components/schemas/_packages__owner___repo___files' - title: FilesList + $ref: '#/components/schemas/PackageFile' + readOnly: true type: array format: - description: "" + minLength: 1 + readOnly: true + title: Format type: string format_url: - description: "" + format: uri + readOnly: true + title: Format url type: string identifier_perm: description: Unique and permanent identifier for the package. + minLength: 1 + readOnly: true + title: Identifier perm type: string indexed: - description: "" + readOnly: true + title: Indexed type: boolean is_downloadable: - description: "" + readOnly: true + title: Is downloadable type: boolean is_quarantined: - description: "" + readOnly: true + title: Is quarantined type: boolean is_sync_awaiting: - description: "" + readOnly: true + title: Is sync awaiting type: boolean is_sync_completed: - description: "" + readOnly: true + title: Is sync completed type: boolean is_sync_failed: - description: "" + readOnly: true + title: Is sync failed type: boolean is_sync_in_flight: - description: "" + readOnly: true + title: Is sync in flight type: boolean is_sync_in_progress: - description: "" + readOnly: true + title: Is sync in progress type: boolean license: description: The license of this package. + minLength: 1 + readOnly: true + title: License type: string name: description: The name of this package. + minLength: 1 + readOnly: true + title: Name type: string namespace: - description: "" + minLength: 1 + readOnly: true + title: Namespace type: string namespace_url: - description: "" + format: uri + readOnly: true + title: Namespace url type: string num_files: - description: "" + readOnly: true + title: Num files type: integer + origin_repository: + minLength: 1 + readOnly: true + title: Origin repository + type: string + origin_repository_url: + format: uri + readOnly: true + title: Origin repository url + type: string package_type: description: The type of package contents. + readOnly: true + title: Package type type: integer release: description: The release of the package version (if any). + minLength: 1 + readOnly: true + title: Release type: string repository: - description: "" + minLength: 1 + readOnly: true + title: Repository type: string repository_url: - description: "" + format: uri + readOnly: true + title: Repository url type: string security_scan_completed_at: description: The datetime the security scanning was completed. + format: date-time + readOnly: true + title: Security scan completed at type: string security_scan_started_at: description: The datetime the security scanning was started. + format: date-time + readOnly: true + title: Security scan started at type: string security_scan_status: - description: "" - enum: - - Awaiting Security Scan - - Security Scanning in Progress - - Scan Detected Vulnerabilities - - Scan Detected No Vulnerabilities - - Security Scanning Disabled - - Security Scanning Failed - - Security Scanning Skipped - - Security Scanning Not Supported + default: Awaiting Security Scan + nullable: true + readOnly: true + title: Security scan status type: string security_scan_status_updated_at: description: The datetime the security scanning status was updated. + format: date-time + readOnly: true + title: Security scan status updated at type: string self_html_url: - description: "" + minLength: 1 + readOnly: true + title: Self html url type: string self_url: - description: "" + format: uri + readOnly: true + title: Self url type: string signature_url: - description: "" + nullable: true + readOnly: true + title: Signature url type: string size: description: The calculated size of the package. + readOnly: true + title: Size type: integer slug: description: The public unique identifier for the package. + format: slug + minLength: 1 + pattern: "^[-a-zA-Z0-9_]+$" + readOnly: true + title: Slug type: string slug_perm: - description: "" + format: slug + minLength: 1 + pattern: "^[-a-zA-Z0-9_]+$" + readOnly: true + title: Slug perm type: string stage: description: The synchronisation (in progress) stage of the package. + readOnly: true + title: Stage type: integer stage_str: - description: "" + readOnly: true + title: Stage str type: string stage_updated_at: description: The datetime the package stage was updated at. + format: date-time + readOnly: true + title: Stage updated at type: string status: description: The synchronisation status of the package. + readOnly: true + title: Status type: integer status_reason: description: A textual description for the synchronous status reason (if any + minLength: 1 + readOnly: true + title: Status reason type: string status_str: - description: "" + readOnly: true + title: Status str type: string status_updated_at: description: The datetime the package status was updated at. + format: date-time + readOnly: true + title: Status updated at type: string status_url: - description: "" + format: uri + readOnly: true + title: Status url type: string subtype: - description: "" + readOnly: true + title: Subtype type: string summary: description: A one-liner synopsis of this package. + minLength: 1 + readOnly: true + title: Summary type: string sync_finished_at: description: The datetime the package sync was finished at. + format: date-time + readOnly: true + title: Sync finished at type: string sync_progress: description: Synchronisation progress (from 0-100) + readOnly: true + title: Sync progress type: integer tags_immutable: - description: All immutable tags on the package, grouped by tag type. Immutable - tags cannot be (easily) deleted. - properties: {} + description: "All tags on the package, grouped by tag type. This includes\ + \ immutable tags, but doesn't distinguish them from mutable. To see which\ + \ tags are immutable specifically, see the tags_immutable field." type: object type_display: - description: "" + readOnly: true + title: Type display type: string uploaded_at: description: The date this package was uploaded. + format: date-time + readOnly: true + title: Uploaded at type: string uploader: - description: "" + minLength: 1 + readOnly: true + title: Uploader type: string uploader_url: - description: "" + format: uri + readOnly: true + title: Uploader url type: string version: description: The raw version for this package. + minLength: 1 + readOnly: true + title: Version type: string version_orig: - description: "" + readOnly: true + title: Version orig type: string vulnerability_scan_results_url: - description: "" + format: uri + readOnly: true + title: Vulnerability scan results url type: string - title: DockerPackageUpload type: object - PackagesUploadRpm: + DartPackageUploadRequest: example: republish: true - distribution: el/7 - package_file: y123456789 + package_file: package_file tags: tags properties: - distribution: - description: The distribution to store the package for. - example: el/7 - type: string package_file: description: The primary file for the package. - example: y123456789 + minLength: 1 + title: Package file type: string republish: - description: If true, the uploaded package will overwrite any others with - the same attributes (e.g. same version); otherwise, it will be flagged - as a duplicate. + description: "If true, the uploaded package will overwrite any others with\ + \ the same attributes (e.g. same version); otherwise, it will be flagged\ + \ as a duplicate." + title: Republish type: boolean tags: description: A comma-separated values list of tags to add to the package. + maxLength: 1024 + minLength: 1 + nullable: true + title: Tags type: string required: - - distribution - package_file - title: PackagesUploadRpm - type: object - Namespace: - example: - type_name: type_name - name: name - slug_perm: slug_perm - slug: slug - properties: - name: - description: "" - type: string - slug: - description: "" - type: string - slug_perm: - description: "" - type: string - type_name: - description: "" - type: string - title: Namespace - type: object - EntitlementUsageMetrics: - example: - tokens: - active: 1 - bandwidth: - average: - display: 11 B - units: bytes - value: 11 - highest: - display: 11 B - units: bytes - value: 11 - lowest: - display: 11 B - units: bytes - value: 11 - total: - display: 11 B - units: bytes - value: 11 - downloads: - average: - value: 5 - highest: - value: 5 - lowest: - value: 5 - total: - value: 5 - inactive: 0 - total: 0 - properties: - tokens: - description: "" - example: - active: 1 - bandwidth: - average: - display: 11 B - units: bytes - value: 11 - highest: - display: 11 B - units: bytes - value: 11 - lowest: - display: 11 B - units: bytes - value: 11 - total: - display: 11 B - units: bytes - value: 11 - downloads: - average: - value: 5 - highest: - value: 5 - lowest: - value: 5 - total: - value: 5 - inactive: 0 - total: 0 - properties: {} - type: object - required: - - tokens - title: EntitlementUsageMetrics type: object - PackageCopy: + DartPackageUploadResponse: example: architectures: - name: name description: description - name: name description: description - security_scan_status_updated_at: security_scan_status_updated_at + security_scan_status_updated_at: 2000-01-23T04:56:07.000+00:00 checksum_sha256: checksum_sha256 release: release package_type: 5 repository: repository + origin_repository: origin_repository identifier_perm: identifier_perm - stage_updated_at: stage_updated_at - tags_immutable: '{}' + stage_updated_at: 2000-01-23T04:56:07.000+00:00 + tags_immutable: "{}" is_quarantined: true slug: slug - security_scan_started_at: security_scan_started_at + security_scan_started_at: 2000-01-23T04:56:07.000+00:00 security_scan_status: Awaiting Security Scan indexed: true format: format status_str: status_str version_orig: version_orig - namespace_url: namespace_url + namespace_url: https://openapi-generator.tech slug_perm: slug_perm version: version - tags: '{}' license: license filename: filename size: 5 cdn_url: cdn_url - uploaded_at: uploaded_at + uploaded_at: 2000-01-23T04:56:07.000+00:00 is_downloadable: true name: name - sync_finished_at: sync_finished_at + sync_finished_at: 2000-01-23T04:56:07.000+00:00 files: - checksum_sha512: checksum_sha512 checksum_sha1: checksum_sha1 @@ -12525,422 +13958,470 @@ components: num_files: 1 status: 7 checksum_sha512: checksum_sha512 - distro: '{}' + distro: + name: name + variants: variants + self_url: https://openapi-generator.tech + slug: slug extension: extension description: description epoch: 6 is_sync_completed: true - distro_version: '{}' + distro_version: + name: name + slug: slug type_display: type_display - vulnerability_scan_results_url: vulnerability_scan_results_url + vulnerability_scan_results_url: https://openapi-generator.tech dependencies_checksum_md5: dependencies_checksum_md5 downloads: 0 subtype: subtype uploader: uploader signature_url: signature_url - repository_url: repository_url + repository_url: https://openapi-generator.tech status_reason: status_reason - status_updated_at: status_updated_at + status_updated_at: 2000-01-23T04:56:07.000+00:00 summary: summary checksum_sha1: checksum_sha1 checksum_md5: checksum_md5 sync_progress: 9 is_sync_awaiting: true - uploader_url: uploader_url + uploader_url: https://openapi-generator.tech self_html_url: self_html_url - self_url: self_url - status_url: status_url + origin_repository_url: https://openapi-generator.tech + self_url: https://openapi-generator.tech + status_url: https://openapi-generator.tech is_sync_in_flight: true - security_scan_completed_at: security_scan_completed_at + security_scan_completed_at: 2000-01-23T04:56:07.000+00:00 is_sync_in_progress: true stage_str: stage_str stage: 2 - format_url: format_url - dependencies_url: dependencies_url + format_url: https://openapi-generator.tech + dependencies_url: https://openapi-generator.tech namespace: namespace is_sync_failed: true properties: architectures: - description: "" items: - $ref: '#/components/schemas/_packages__owner___repo___architectures' - title: ArchitecturesList + $ref: '#/components/schemas/Architecture' + readOnly: true type: array cdn_url: - description: "" + nullable: true + readOnly: true + title: Cdn url type: string checksum_md5: - description: "" + readOnly: true + title: Checksum md5 type: string checksum_sha1: - description: "" + readOnly: true + title: Checksum sha1 type: string checksum_sha256: - description: "" + readOnly: true + title: Checksum sha256 type: string checksum_sha512: - description: "" + readOnly: true + title: Checksum sha512 type: string dependencies_checksum_md5: description: A checksum of all of the package's dependencies. + minLength: 1 + readOnly: true + title: Dependencies checksum md5 type: string dependencies_url: - description: "" + format: uri + readOnly: true + title: Dependencies url type: string description: description: A textual description of this package. + minLength: 1 + readOnly: true + title: Description type: string distro: - description: "" - properties: {} - type: object + $ref: '#/components/schemas/Distribution' distro_version: - description: "" - properties: {} - type: object + $ref: '#/components/schemas/DistributionVersion' downloads: - description: "" + readOnly: true + title: Downloads type: integer epoch: description: The epoch of the package version (if any). + readOnly: true + title: Epoch type: integer extension: - description: "" + readOnly: true + title: Extension type: string filename: - description: "" + minLength: 1 + readOnly: true + title: Filename type: string files: - description: "" items: - $ref: '#/components/schemas/_packages__owner___repo___files' - title: FilesList + $ref: '#/components/schemas/PackageFile' + readOnly: true type: array format: - description: "" + minLength: 1 + readOnly: true + title: Format type: string format_url: - description: "" + format: uri + readOnly: true + title: Format url type: string identifier_perm: description: Unique and permanent identifier for the package. + minLength: 1 + readOnly: true + title: Identifier perm type: string indexed: - description: "" + readOnly: true + title: Indexed type: boolean is_downloadable: - description: "" + readOnly: true + title: Is downloadable type: boolean is_quarantined: - description: "" + readOnly: true + title: Is quarantined type: boolean is_sync_awaiting: - description: "" + readOnly: true + title: Is sync awaiting type: boolean is_sync_completed: - description: "" + readOnly: true + title: Is sync completed type: boolean is_sync_failed: - description: "" + readOnly: true + title: Is sync failed type: boolean is_sync_in_flight: - description: "" + readOnly: true + title: Is sync in flight type: boolean is_sync_in_progress: - description: "" + readOnly: true + title: Is sync in progress type: boolean license: description: The license of this package. + minLength: 1 + readOnly: true + title: License type: string name: description: The name of this package. + minLength: 1 + readOnly: true + title: Name type: string namespace: - description: "" + minLength: 1 + readOnly: true + title: Namespace type: string namespace_url: - description: "" + format: uri + readOnly: true + title: Namespace url type: string num_files: - description: "" + readOnly: true + title: Num files type: integer + origin_repository: + minLength: 1 + readOnly: true + title: Origin repository + type: string + origin_repository_url: + format: uri + readOnly: true + title: Origin repository url + type: string package_type: description: The type of package contents. + readOnly: true + title: Package type type: integer release: description: The release of the package version (if any). + minLength: 1 + readOnly: true + title: Release type: string repository: - description: The repository the package will be copied to. + minLength: 1 + readOnly: true + title: Repository type: string repository_url: - description: "" + format: uri + readOnly: true + title: Repository url type: string security_scan_completed_at: description: The datetime the security scanning was completed. + format: date-time + readOnly: true + title: Security scan completed at type: string security_scan_started_at: description: The datetime the security scanning was started. + format: date-time + readOnly: true + title: Security scan started at type: string security_scan_status: - description: "" - enum: - - Awaiting Security Scan - - Security Scanning in Progress - - Scan Detected Vulnerabilities - - Scan Detected No Vulnerabilities - - Security Scanning Disabled - - Security Scanning Failed - - Security Scanning Skipped - - Security Scanning Not Supported + default: Awaiting Security Scan + nullable: true + readOnly: true + title: Security scan status type: string security_scan_status_updated_at: description: The datetime the security scanning status was updated. + format: date-time + readOnly: true + title: Security scan status updated at type: string self_html_url: - description: "" + minLength: 1 + readOnly: true + title: Self html url type: string self_url: - description: "" + format: uri + readOnly: true + title: Self url type: string signature_url: - description: "" + nullable: true + readOnly: true + title: Signature url type: string size: description: The calculated size of the package. + readOnly: true + title: Size type: integer slug: description: The public unique identifier for the package. + format: slug + minLength: 1 + pattern: "^[-a-zA-Z0-9_]+$" + readOnly: true + title: Slug type: string slug_perm: - description: "" + format: slug + minLength: 1 + pattern: "^[-a-zA-Z0-9_]+$" + readOnly: true + title: Slug perm type: string stage: description: The synchronisation (in progress) stage of the package. + readOnly: true + title: Stage type: integer stage_str: - description: "" + readOnly: true + title: Stage str type: string stage_updated_at: description: The datetime the package stage was updated at. + format: date-time + readOnly: true + title: Stage updated at type: string status: description: The synchronisation status of the package. + readOnly: true + title: Status type: integer status_reason: description: A textual description for the synchronous status reason (if any + minLength: 1 + readOnly: true + title: Status reason type: string status_str: - description: "" + readOnly: true + title: Status str type: string status_updated_at: description: The datetime the package status was updated at. + format: date-time + readOnly: true + title: Status updated at type: string status_url: - description: "" + format: uri + readOnly: true + title: Status url type: string subtype: - description: "" + readOnly: true + title: Subtype type: string summary: description: A one-liner synopsis of this package. + minLength: 1 + readOnly: true + title: Summary type: string sync_finished_at: description: The datetime the package sync was finished at. + format: date-time + readOnly: true + title: Sync finished at type: string sync_progress: description: Synchronisation progress (from 0-100) + readOnly: true + title: Sync progress type: integer - tags: - description: All tags on the package, grouped by tag type. This includes - immutable tags, but doesn't distinguish them from mutable. To see which - tags are immutable specifically, see the tags_immutable field. - properties: {} - type: object tags_immutable: - description: All immutable tags on the package, grouped by tag type. Immutable - tags cannot be (easily) deleted. - properties: {} + description: "All tags on the package, grouped by tag type. This includes\ + \ immutable tags, but doesn't distinguish them from mutable. To see which\ + \ tags are immutable specifically, see the tags_immutable field." type: object type_display: - description: "" + readOnly: true + title: Type display type: string uploaded_at: description: The date this package was uploaded. + format: date-time + readOnly: true + title: Uploaded at type: string uploader: - description: "" + minLength: 1 + readOnly: true + title: Uploader type: string uploader_url: - description: "" + format: uri + readOnly: true + title: Uploader url type: string version: description: The raw version for this package. + minLength: 1 + readOnly: true + title: Version type: string version_orig: - description: "" + readOnly: true + title: Version orig type: string vulnerability_scan_results_url: - description: "" - type: string - title: PackageCopy - type: object - PackagesValidate_uploadP2: - properties: - package_file: - description: The primary file for the package. - type: string - republish: - description: If true, the uploaded package will overwrite any others with - the same attributes (e.g. same version); otherwise, it will be flagged - as a duplicate. - type: boolean - tags: - description: A comma-separated values list of tags to add to the package. - type: string - required: - - package_file - title: PackagesValidate-uploadP2 - type: object - Distribution: - example: - format_url: format_url - versions: - - name: name - slug: slug - - name: name - slug: slug - format: format - name: name - variants: variants - self_url: self_url - slug: slug - properties: - format: - description: "" - type: string - format_url: - description: "" - type: string - name: - description: "" - type: string - self_url: - description: "" - type: string - slug: - description: The slug identifier for this distribution - type: string - variants: - description: "" + format: uri + readOnly: true + title: Vulnerability scan results url type: string - versions: - description: A list of the versions for this distribution - items: - $ref: '#/components/schemas/_distros__versions' - title: VersionsList - type: array - required: - - name - title: Distribution - type: object - PackagesUploadDeb: - example: - sources_file: y123456789 - republish: true - changes_file: y123456789 - distribution: ubuntu/xenial - package_file: y123456789 - tags: tags - properties: - changes_file: - description: The changes archive containing the changes made to the source - and debian packaging files - example: y123456789 - type: string - distribution: - description: The distribution to store the package for. - example: ubuntu/xenial - type: string - package_file: - description: The primary file for the package. - example: y123456789 - type: string - republish: - description: If true, the uploaded package will overwrite any others with - the same attributes (e.g. same version); otherwise, it will be flagged - as a duplicate. - type: boolean - sources_file: - description: The sources archive containing the source code for the binary - example: y123456789 - type: string - tags: - description: A comma-separated values list of tags to add to the package. - type: string - required: - - distribution - - package_file - title: PackagesUploadDeb type: object - PackagesUploadHelm: + DebPackageUploadRequest: example: + sources_file: sources_file republish: true - package_file: x123456789a + changes_file: changes_file + distribution: distribution + package_file: package_file tags: tags properties: + changes_file: + description: The changes archive containing the changes made to the source + and debian packaging files + minLength: 1 + nullable: true + title: Changes file + type: string + distribution: + description: The distribution to store the package for. + minLength: 1 + title: Distribution + type: string package_file: description: The primary file for the package. - example: x123456789a + minLength: 1 + title: Package file type: string republish: - description: If true, the uploaded package will overwrite any others with - the same attributes (e.g. same version); otherwise, it will be flagged - as a duplicate. + description: "If true, the uploaded package will overwrite any others with\ + \ the same attributes (e.g. same version); otherwise, it will be flagged\ + \ as a duplicate." + title: Republish type: boolean + sources_file: + description: The sources archive containing the source code for the binary + minLength: 1 + nullable: true + title: Sources file + type: string tags: description: A comma-separated values list of tags to add to the package. + maxLength: 1024 + minLength: 1 + nullable: true + title: Tags type: string required: + - distribution - package_file - title: PackagesUploadHelm type: object - Package: + DebPackageUploadResponse: example: architectures: - name: name description: description - name: name description: description - security_scan_status_updated_at: security_scan_status_updated_at + security_scan_status_updated_at: 2000-01-23T04:56:07.000+00:00 checksum_sha256: checksum_sha256 release: release - package_type: 2 + package_type: 5 repository: repository + origin_repository: origin_repository identifier_perm: identifier_perm - stage_updated_at: stage_updated_at - tags_immutable: '{}' + stage_updated_at: 2000-01-23T04:56:07.000+00:00 + tags_immutable: "{}" is_quarantined: true slug: slug - security_scan_started_at: security_scan_started_at + security_scan_started_at: 2000-01-23T04:56:07.000+00:00 security_scan_status: Awaiting Security Scan indexed: true format: format status_str: status_str version_orig: version_orig - namespace_url: namespace_url + namespace_url: https://openapi-generator.tech slug_perm: slug_perm version: version - tags: '{}' license: license filename: filename - size: 7 + size: 5 cdn_url: cdn_url - uploaded_at: uploaded_at + uploaded_at: 2000-01-23T04:56:07.000+00:00 is_downloadable: true name: name - sync_finished_at: sync_finished_at + sync_finished_at: 2000-01-23T04:56:07.000+00:00 files: - checksum_sha512: checksum_sha512 checksum_sha1: checksum_sha1 @@ -12970,373 +14451,451 @@ components: is_downloadable: true signature_url: signature_url tag: tag - num_files: 5 - status: 3 + num_files: 1 + status: 7 checksum_sha512: checksum_sha512 - distro: '{}' + distro: + name: name + variants: variants + self_url: https://openapi-generator.tech + slug: slug extension: extension description: description epoch: 6 is_sync_completed: true - distro_version: '{}' + distro_version: + name: name + slug: slug type_display: type_display - vulnerability_scan_results_url: vulnerability_scan_results_url + vulnerability_scan_results_url: https://openapi-generator.tech dependencies_checksum_md5: dependencies_checksum_md5 downloads: 0 subtype: subtype uploader: uploader signature_url: signature_url - repository_url: repository_url + repository_url: https://openapi-generator.tech status_reason: status_reason - status_updated_at: status_updated_at + status_updated_at: 2000-01-23T04:56:07.000+00:00 summary: summary checksum_sha1: checksum_sha1 checksum_md5: checksum_md5 - sync_progress: 2 + sync_progress: 9 is_sync_awaiting: true - uploader_url: uploader_url + uploader_url: https://openapi-generator.tech self_html_url: self_html_url - self_url: self_url - status_url: status_url + origin_repository_url: https://openapi-generator.tech + self_url: https://openapi-generator.tech + status_url: https://openapi-generator.tech is_sync_in_flight: true - security_scan_completed_at: security_scan_completed_at + security_scan_completed_at: 2000-01-23T04:56:07.000+00:00 is_sync_in_progress: true stage_str: stage_str - stage: 9 - format_url: format_url - dependencies_url: dependencies_url + stage: 2 + format_url: https://openapi-generator.tech + dependencies_url: https://openapi-generator.tech namespace: namespace is_sync_failed: true properties: architectures: - description: "" items: - $ref: '#/components/schemas/_packages__owner___repo___architectures' - title: ArchitecturesList + $ref: '#/components/schemas/Architecture' + readOnly: true type: array cdn_url: - description: "" + nullable: true + readOnly: true + title: Cdn url type: string checksum_md5: - description: "" + readOnly: true + title: Checksum md5 type: string checksum_sha1: - description: "" + readOnly: true + title: Checksum sha1 type: string checksum_sha256: - description: "" + readOnly: true + title: Checksum sha256 type: string checksum_sha512: - description: "" + readOnly: true + title: Checksum sha512 type: string dependencies_checksum_md5: description: A checksum of all of the package's dependencies. + minLength: 1 + readOnly: true + title: Dependencies checksum md5 type: string dependencies_url: - description: "" + format: uri + readOnly: true + title: Dependencies url type: string description: description: A textual description of this package. + minLength: 1 + readOnly: true + title: Description type: string distro: - description: "" - properties: {} - type: object + $ref: '#/components/schemas/Distribution' distro_version: - description: "" - properties: {} - type: object + $ref: '#/components/schemas/DistributionVersion' downloads: - description: "" + readOnly: true + title: Downloads type: integer epoch: description: The epoch of the package version (if any). + readOnly: true + title: Epoch type: integer extension: - description: "" + readOnly: true + title: Extension type: string filename: - description: "" + minLength: 1 + readOnly: true + title: Filename type: string files: - description: "" items: - $ref: '#/components/schemas/_packages__owner___repo___files' - title: FilesList + $ref: '#/components/schemas/PackageFile' + readOnly: true type: array format: - description: "" + minLength: 1 + readOnly: true + title: Format type: string format_url: - description: "" + format: uri + readOnly: true + title: Format url type: string identifier_perm: description: Unique and permanent identifier for the package. + minLength: 1 + readOnly: true + title: Identifier perm type: string indexed: - description: "" + readOnly: true + title: Indexed type: boolean is_downloadable: - description: "" + readOnly: true + title: Is downloadable type: boolean is_quarantined: - description: "" + readOnly: true + title: Is quarantined type: boolean is_sync_awaiting: - description: "" + readOnly: true + title: Is sync awaiting type: boolean is_sync_completed: - description: "" + readOnly: true + title: Is sync completed type: boolean is_sync_failed: - description: "" + readOnly: true + title: Is sync failed type: boolean is_sync_in_flight: - description: "" + readOnly: true + title: Is sync in flight type: boolean is_sync_in_progress: - description: "" + readOnly: true + title: Is sync in progress type: boolean license: description: The license of this package. + minLength: 1 + readOnly: true + title: License type: string name: description: The name of this package. + minLength: 1 + readOnly: true + title: Name type: string namespace: - description: "" + minLength: 1 + readOnly: true + title: Namespace type: string namespace_url: - description: "" + format: uri + readOnly: true + title: Namespace url type: string num_files: - description: "" + readOnly: true + title: Num files type: integer + origin_repository: + minLength: 1 + readOnly: true + title: Origin repository + type: string + origin_repository_url: + format: uri + readOnly: true + title: Origin repository url + type: string package_type: description: The type of package contents. + readOnly: true + title: Package type type: integer release: description: The release of the package version (if any). + minLength: 1 + readOnly: true + title: Release type: string repository: - description: "" + minLength: 1 + readOnly: true + title: Repository type: string repository_url: - description: "" + format: uri + readOnly: true + title: Repository url type: string security_scan_completed_at: description: The datetime the security scanning was completed. + format: date-time + readOnly: true + title: Security scan completed at type: string security_scan_started_at: description: The datetime the security scanning was started. + format: date-time + readOnly: true + title: Security scan started at type: string security_scan_status: - description: "" - enum: - - Awaiting Security Scan - - Security Scanning in Progress - - Scan Detected Vulnerabilities - - Scan Detected No Vulnerabilities - - Security Scanning Disabled - - Security Scanning Failed - - Security Scanning Skipped - - Security Scanning Not Supported + default: Awaiting Security Scan + nullable: true + readOnly: true + title: Security scan status type: string security_scan_status_updated_at: description: The datetime the security scanning status was updated. + format: date-time + readOnly: true + title: Security scan status updated at type: string self_html_url: - description: "" + minLength: 1 + readOnly: true + title: Self html url type: string self_url: - description: "" + format: uri + readOnly: true + title: Self url type: string signature_url: - description: "" + nullable: true + readOnly: true + title: Signature url type: string size: description: The calculated size of the package. + readOnly: true + title: Size type: integer slug: description: The public unique identifier for the package. + format: slug + minLength: 1 + pattern: "^[-a-zA-Z0-9_]+$" + readOnly: true + title: Slug type: string slug_perm: - description: "" + format: slug + minLength: 1 + pattern: "^[-a-zA-Z0-9_]+$" + readOnly: true + title: Slug perm type: string stage: description: The synchronisation (in progress) stage of the package. + readOnly: true + title: Stage type: integer stage_str: - description: "" + readOnly: true + title: Stage str type: string stage_updated_at: description: The datetime the package stage was updated at. + format: date-time + readOnly: true + title: Stage updated at type: string status: description: The synchronisation status of the package. + readOnly: true + title: Status type: integer status_reason: description: A textual description for the synchronous status reason (if any + minLength: 1 + readOnly: true + title: Status reason type: string status_str: - description: "" + readOnly: true + title: Status str type: string status_updated_at: description: The datetime the package status was updated at. + format: date-time + readOnly: true + title: Status updated at type: string status_url: - description: "" + format: uri + readOnly: true + title: Status url type: string subtype: - description: "" + readOnly: true + title: Subtype type: string summary: description: A one-liner synopsis of this package. + minLength: 1 + readOnly: true + title: Summary type: string sync_finished_at: description: The datetime the package sync was finished at. + format: date-time + readOnly: true + title: Sync finished at type: string sync_progress: description: Synchronisation progress (from 0-100) + readOnly: true + title: Sync progress type: integer - tags: - description: All tags on the package, grouped by tag type. This includes - immutable tags, but doesn't distinguish them from mutable. To see which - tags are immutable specifically, see the tags_immutable field. - properties: {} - type: object tags_immutable: - description: All immutable tags on the package, grouped by tag type. Immutable - tags cannot be (easily) deleted. - properties: {} + description: "All tags on the package, grouped by tag type. This includes\ + \ immutable tags, but doesn't distinguish them from mutable. To see which\ + \ tags are immutable specifically, see the tags_immutable field." type: object type_display: - description: "" + readOnly: true + title: Type display type: string uploaded_at: description: The date this package was uploaded. + format: date-time + readOnly: true + title: Uploaded at type: string uploader: - description: "" + minLength: 1 + readOnly: true + title: Uploader type: string uploader_url: - description: "" + format: uri + readOnly: true + title: Uploader url type: string version: description: The raw version for this package. + minLength: 1 + readOnly: true + title: Version type: string version_orig: - description: "" + readOnly: true + title: Version orig type: string vulnerability_scan_results_url: - description: "" + format: uri + readOnly: true + title: Vulnerability scan results url type: string - title: Package type: object - RepositoryAuditLog: + DockerPackageUploadRequest: example: - actor_kind: actor_kind - object_slug_perm: object_slug_perm - event_at: event_at - uuid: uuid - object_kind: object_kind - actor: actor - actor_slug_perm: actor_slug_perm - actor_url: actor_url - context: context - actor_ip_address: actor_ip_address - actor_location: '{}' - event: event - object: object + republish: true + package_file: package_file + tags: tags properties: - actor: - description: "" - type: string - actor_ip_address: - description: "" - type: string - actor_kind: - description: "" - type: string - actor_location: - description: "" - properties: {} - type: object - actor_slug_perm: - description: "" - type: string - actor_url: - description: "" - type: string - context: - description: "" - type: string - event: - description: "" - type: string - event_at: - description: "" - type: string - object: - description: "" - type: string - object_kind: - description: "" - type: string - object_slug_perm: - description: "" + package_file: + description: The primary file for the package. + minLength: 1 + title: Package file type: string - uuid: - description: "" + republish: + description: "If true, the uploaded package will overwrite any others with\ + \ the same attributes (e.g. same version); otherwise, it will be flagged\ + \ as a duplicate." + title: Republish + type: boolean + tags: + description: A comma-separated values list of tags to add to the package. + maxLength: 1024 + minLength: 1 + nullable: true + title: Tags type: string required: - - actor - - actor_ip_address - - actor_location - - actor_slug_perm - - context - - event - - event_at - - object - - object_kind - - object_slug_perm - title: RepositoryAuditLog + - package_file type: object - TerraformPackageUpload: + DockerPackageUploadResponse: example: architectures: - name: name description: description - name: name description: description - security_scan_status_updated_at: security_scan_status_updated_at + security_scan_status_updated_at: 2000-01-23T04:56:07.000+00:00 checksum_sha256: checksum_sha256 release: release package_type: 5 repository: repository + origin_repository: origin_repository identifier_perm: identifier_perm - stage_updated_at: stage_updated_at - tags_immutable: '{}' + stage_updated_at: 2000-01-23T04:56:07.000+00:00 + tags_immutable: "{}" is_quarantined: true slug: slug - security_scan_started_at: security_scan_started_at + security_scan_started_at: 2000-01-23T04:56:07.000+00:00 security_scan_status: Awaiting Security Scan indexed: true format: format status_str: status_str version_orig: version_orig - namespace_url: namespace_url + namespace_url: https://openapi-generator.tech slug_perm: slug_perm version: version license: license filename: filename size: 5 cdn_url: cdn_url - uploaded_at: uploaded_at + uploaded_at: 2000-01-23T04:56:07.000+00:00 is_downloadable: true name: name - sync_finished_at: sync_finished_at + sync_finished_at: 2000-01-23T04:56:07.000+00:00 files: - checksum_sha512: checksum_sha512 checksum_sha1: checksum_sha1 @@ -13369,556 +14928,448 @@ components: num_files: 1 status: 7 checksum_sha512: checksum_sha512 - distro: '{}' + distro: + name: name + variants: variants + self_url: https://openapi-generator.tech + slug: slug extension: extension description: description epoch: 6 is_sync_completed: true - distro_version: '{}' + distro_version: + name: name + slug: slug type_display: type_display - vulnerability_scan_results_url: vulnerability_scan_results_url + vulnerability_scan_results_url: https://openapi-generator.tech dependencies_checksum_md5: dependencies_checksum_md5 downloads: 0 subtype: subtype uploader: uploader signature_url: signature_url - repository_url: repository_url + repository_url: https://openapi-generator.tech status_reason: status_reason - status_updated_at: status_updated_at + status_updated_at: 2000-01-23T04:56:07.000+00:00 summary: summary checksum_sha1: checksum_sha1 checksum_md5: checksum_md5 sync_progress: 9 is_sync_awaiting: true - uploader_url: uploader_url + uploader_url: https://openapi-generator.tech self_html_url: self_html_url - self_url: self_url - status_url: status_url + origin_repository_url: https://openapi-generator.tech + self_url: https://openapi-generator.tech + status_url: https://openapi-generator.tech is_sync_in_flight: true - security_scan_completed_at: security_scan_completed_at + security_scan_completed_at: 2000-01-23T04:56:07.000+00:00 is_sync_in_progress: true stage_str: stage_str stage: 2 - format_url: format_url - dependencies_url: dependencies_url + format_url: https://openapi-generator.tech + dependencies_url: https://openapi-generator.tech namespace: namespace is_sync_failed: true properties: architectures: - description: "" items: - $ref: '#/components/schemas/_packages__owner___repo___architectures' - title: ArchitecturesList + $ref: '#/components/schemas/Architecture' + readOnly: true type: array cdn_url: - description: "" + nullable: true + readOnly: true + title: Cdn url type: string checksum_md5: - description: "" + readOnly: true + title: Checksum md5 type: string checksum_sha1: - description: "" + readOnly: true + title: Checksum sha1 type: string checksum_sha256: - description: "" + readOnly: true + title: Checksum sha256 type: string checksum_sha512: - description: "" + readOnly: true + title: Checksum sha512 type: string dependencies_checksum_md5: description: A checksum of all of the package's dependencies. + minLength: 1 + readOnly: true + title: Dependencies checksum md5 type: string dependencies_url: - description: "" + format: uri + readOnly: true + title: Dependencies url type: string description: description: A textual description of this package. + minLength: 1 + readOnly: true + title: Description type: string distro: - description: "" - properties: {} - type: object + $ref: '#/components/schemas/Distribution' distro_version: - description: "" - properties: {} - type: object + $ref: '#/components/schemas/DistributionVersion' downloads: - description: "" + readOnly: true + title: Downloads type: integer epoch: description: The epoch of the package version (if any). + readOnly: true + title: Epoch type: integer extension: - description: "" + readOnly: true + title: Extension type: string filename: - description: "" + minLength: 1 + readOnly: true + title: Filename type: string files: - description: "" items: - $ref: '#/components/schemas/_packages__owner___repo___files' - title: FilesList + $ref: '#/components/schemas/PackageFile' + readOnly: true type: array format: - description: "" + minLength: 1 + readOnly: true + title: Format type: string format_url: - description: "" + format: uri + readOnly: true + title: Format url type: string identifier_perm: description: Unique and permanent identifier for the package. + minLength: 1 + readOnly: true + title: Identifier perm type: string indexed: - description: "" + readOnly: true + title: Indexed type: boolean is_downloadable: - description: "" + readOnly: true + title: Is downloadable type: boolean is_quarantined: - description: "" + readOnly: true + title: Is quarantined type: boolean is_sync_awaiting: - description: "" + readOnly: true + title: Is sync awaiting type: boolean is_sync_completed: - description: "" + readOnly: true + title: Is sync completed type: boolean is_sync_failed: - description: "" + readOnly: true + title: Is sync failed type: boolean is_sync_in_flight: - description: "" + readOnly: true + title: Is sync in flight type: boolean is_sync_in_progress: - description: "" + readOnly: true + title: Is sync in progress type: boolean license: description: The license of this package. + minLength: 1 + readOnly: true + title: License type: string name: description: The name of this package. + minLength: 1 + readOnly: true + title: Name type: string namespace: - description: "" + minLength: 1 + readOnly: true + title: Namespace type: string namespace_url: - description: "" + format: uri + readOnly: true + title: Namespace url type: string num_files: - description: "" + readOnly: true + title: Num files type: integer + origin_repository: + minLength: 1 + readOnly: true + title: Origin repository + type: string + origin_repository_url: + format: uri + readOnly: true + title: Origin repository url + type: string package_type: description: The type of package contents. + readOnly: true + title: Package type type: integer release: description: The release of the package version (if any). + minLength: 1 + readOnly: true + title: Release type: string repository: - description: "" + minLength: 1 + readOnly: true + title: Repository type: string repository_url: - description: "" + format: uri + readOnly: true + title: Repository url type: string security_scan_completed_at: description: The datetime the security scanning was completed. + format: date-time + readOnly: true + title: Security scan completed at type: string security_scan_started_at: description: The datetime the security scanning was started. + format: date-time + readOnly: true + title: Security scan started at type: string security_scan_status: - description: "" - enum: - - Awaiting Security Scan - - Security Scanning in Progress - - Scan Detected Vulnerabilities - - Scan Detected No Vulnerabilities - - Security Scanning Disabled - - Security Scanning Failed - - Security Scanning Skipped - - Security Scanning Not Supported + default: Awaiting Security Scan + nullable: true + readOnly: true + title: Security scan status type: string security_scan_status_updated_at: description: The datetime the security scanning status was updated. + format: date-time + readOnly: true + title: Security scan status updated at type: string self_html_url: - description: "" + minLength: 1 + readOnly: true + title: Self html url type: string self_url: - description: "" + format: uri + readOnly: true + title: Self url type: string signature_url: - description: "" + nullable: true + readOnly: true + title: Signature url type: string size: description: The calculated size of the package. + readOnly: true + title: Size type: integer slug: description: The public unique identifier for the package. + format: slug + minLength: 1 + pattern: "^[-a-zA-Z0-9_]+$" + readOnly: true + title: Slug type: string slug_perm: - description: "" + format: slug + minLength: 1 + pattern: "^[-a-zA-Z0-9_]+$" + readOnly: true + title: Slug perm type: string stage: description: The synchronisation (in progress) stage of the package. + readOnly: true + title: Stage type: integer stage_str: - description: "" + readOnly: true + title: Stage str type: string stage_updated_at: description: The datetime the package stage was updated at. + format: date-time + readOnly: true + title: Stage updated at type: string status: description: The synchronisation status of the package. + readOnly: true + title: Status type: integer status_reason: description: A textual description for the synchronous status reason (if any + minLength: 1 + readOnly: true + title: Status reason type: string status_str: - description: "" + readOnly: true + title: Status str type: string status_updated_at: description: The datetime the package status was updated at. + format: date-time + readOnly: true + title: Status updated at type: string status_url: - description: "" + format: uri + readOnly: true + title: Status url type: string subtype: - description: "" - type: string - summary: - description: A one-liner synopsis of this package. - type: string - sync_finished_at: - description: The datetime the package sync was finished at. - type: string - sync_progress: - description: Synchronisation progress (from 0-100) - type: integer - tags_immutable: - description: All immutable tags on the package, grouped by tag type. Immutable - tags cannot be (easily) deleted. - properties: {} - type: object - type_display: - description: "" - type: string - uploaded_at: - description: The date this package was uploaded. - type: string - uploader: - description: "" - type: string - uploader_url: - description: "" - type: string - version: - description: The raw version for this package. - type: string - version_orig: - description: "" - type: string - vulnerability_scan_results_url: - description: "" - type: string - title: TerraformPackageUpload - type: object - RepositoryRsaKey: - example: - public_key: public_key - default: true - fingerprint: fingerprint - active: true - created_at: created_at - fingerprint_short: fingerprint_short - properties: - active: - description: If selected this is the active key for this repository. - type: boolean - created_at: - description: "" - type: string - default: - description: If selected this is the default key for this repository. - type: boolean - fingerprint: - description: The long identifier used by RSA for this key. - type: string - fingerprint_short: - description: "" - type: string - public_key: - description: The public key given to repository users. - type: string - title: RepositoryRsaKey - type: object - UserTokenCreate: - example: - password: password - email: email - properties: - email: - description: Email address to authenticate with - type: string - password: - description: Password to authenticate with - type: string - title: UserTokenCreate - type: object - _packages__owner___repo___architectures: - example: - name: name - description: description - properties: - description: - description: "" - type: string - name: - description: "" - type: string - type: object - PackagesValidate_uploadRaw: - properties: - content_type: - description: A custom content/media (also known as MIME) type to be sent - when downloading this file. By default Cloudsmith will attempt to detect - the type, but if you need to override it, you can specify it here. - type: string - description: - description: A textual description of this package. - example: Everything about packaging files. - type: string - name: - description: The name of this package. - example: my-package - type: string - package_file: - description: The primary file for the package. - example: y123456789 - type: string - republish: - description: If true, the uploaded package will overwrite any others with - the same attributes (e.g. same version); otherwise, it will be flagged - as a duplicate. - type: boolean - summary: - description: A one-liner synopsis of this package. - example: My Package File - type: string - tags: - description: A comma-separated values list of tags to add to the package. - type: string - version: - description: The raw version for this package. - example: "1.0" - type: string - required: - - package_file - title: PackagesValidate-uploadRaw - type: object - Organization: - example: - country: country - name: name - created_at: created_at - tagline: tagline - location: location - slug_perm: slug_perm - slug: slug - properties: - country: - description: "" - type: string - created_at: - description: "" - type: string - location: - description: The city/town/area your organization is based in. - type: string - name: - description: A descriptive name for your organization. - type: string - slug: - description: "" - type: string - slug_perm: - description: "" - type: string - tagline: - description: A short public descriptive for your organization. + readOnly: true + title: Subtype type: string - title: Organization - type: object - QuotaHistory: - example: - history: - - days: 30 - display: - downloaded: - limit: 2 TB - percentage: 0.0% - used: 0 B - storage_used: - limit: 1 TB - percentage: 0.109% - used: 1.1 GB - uploaded: - limit: Unlimited - percentage: ∞ - used: 0 B - end: 2020-10-10 12:35:23+00:00 - plan: Package (Velocity) - raw: - downloaded: - limit: 2199023255552 - percentage: 0 - used: 0 - storage_used: - limit: 1099511627776 - percentage: 0.109 - used: 1197653687 - uploaded: - limit: "" - percentage: 0 - used: 0 - start: 2020-09-10 12:35:23+00:00 - properties: - history: - description: "" - example: - - days: 30 - display: - downloaded: - limit: 2 TB - percentage: 0.0% - used: 0 B - storage_used: - limit: 1 TB - percentage: 0.109% - used: 1.1 GB - uploaded: - limit: Unlimited - percentage: ∞ - used: 0 B - end: 2020-10-10 12:35:23+00:00 - plan: Package (Velocity) - raw: - downloaded: - limit: 2199023255552 - percentage: 0 - used: 0 - storage_used: - limit: 1099511627776 - percentage: 0.109 - used: 1197653687 - uploaded: - limit: "" - percentage: 0 - used: 0 - start: 2020-09-10 12:35:23+00:00 - items: - $ref: '#/components/schemas/QuotaHistory_history' - title: HistoryList - type: array - required: - - history - title: QuotaHistory - type: object - OrgsSaml_group_syncCreate: - properties: - idp_key: - description: None + summary: + description: A one-liner synopsis of this package. + minLength: 1 + readOnly: true + title: Summary type: string - idp_value: - description: None + sync_finished_at: + description: The datetime the package sync was finished at. + format: date-time + readOnly: true + title: Sync finished at type: string - organization: - description: None + sync_progress: + description: Synchronisation progress (from 0-100) + readOnly: true + title: Sync progress + type: integer + tags_immutable: + description: "All tags on the package, grouped by tag type. This includes\ + \ immutable tags, but doesn't distinguish them from mutable. To see which\ + \ tags are immutable specifically, see the tags_immutable field." + type: object + type_display: + readOnly: true + title: Type display type: string - role: - description: "\n User role within the team.\n\n A `manager`\ - \ is capable of adding/removing others to/from the team, and\n \ - \ can set the role of other users and other settings pertaining to the\n\ - \ team.\n\n A 'member' is a normal user that inherits the\ - \ settings and privileges\n assigned to the team.\n " + uploaded_at: + description: The date this package was uploaded. + format: date-time + readOnly: true + title: Uploaded at type: string - team: - description: None + uploader: + minLength: 1 + readOnly: true + title: Uploader + type: string + uploader_url: + format: uri + readOnly: true + title: Uploader url + type: string + version: + description: The raw version for this package. + minLength: 1 + readOnly: true + title: Version + type: string + version_orig: + readOnly: true + title: Version orig + type: string + vulnerability_scan_results_url: + format: uri + readOnly: true + title: Vulnerability scan results url type: string - required: - - idp_key - - idp_value - - organization - - team - title: OrgsSaml-group-syncCreate type: object - PackagesValidate_uploadAlpine: + GoPackageUploadRequest: + example: + republish: true + package_file: package_file + tags: tags properties: - distribution: - description: The distribution to store the package for. - example: alpine/v3.8 - type: string package_file: description: The primary file for the package. - example: a123456789 + minLength: 1 + title: Package file type: string republish: - description: If true, the uploaded package will overwrite any others with - the same attributes (e.g. same version); otherwise, it will be flagged - as a duplicate. + description: "If true, the uploaded package will overwrite any others with\ + \ the same attributes (e.g. same version); otherwise, it will be flagged\ + \ as a duplicate." + title: Republish type: boolean tags: description: A comma-separated values list of tags to add to the package. + maxLength: 1024 + minLength: 1 + nullable: true + title: Tags type: string required: - - distribution - package_file - title: PackagesValidate-uploadAlpine - type: object - RepositoryPrivilegeList: - example: - privileges: privileges - properties: - privileges: - description: List of objects with explicit privileges to the repository. - type: string - title: RepositoryPrivilegeList type: object - DartPackageUpload: + GoPackageUploadResponse: example: architectures: - name: name description: description - name: name description: description - security_scan_status_updated_at: security_scan_status_updated_at + security_scan_status_updated_at: 2000-01-23T04:56:07.000+00:00 checksum_sha256: checksum_sha256 release: release package_type: 5 repository: repository + origin_repository: origin_repository identifier_perm: identifier_perm - stage_updated_at: stage_updated_at - tags_immutable: '{}' + stage_updated_at: 2000-01-23T04:56:07.000+00:00 + tags_immutable: "{}" is_quarantined: true slug: slug - security_scan_started_at: security_scan_started_at + security_scan_started_at: 2000-01-23T04:56:07.000+00:00 security_scan_status: Awaiting Security Scan indexed: true format: format status_str: status_str version_orig: version_orig - namespace_url: namespace_url + namespace_url: https://openapi-generator.tech slug_perm: slug_perm version: version license: license filename: filename size: 5 cdn_url: cdn_url - uploaded_at: uploaded_at + uploaded_at: 2000-01-23T04:56:07.000+00:00 is_downloadable: true name: name - sync_finished_at: sync_finished_at + sync_finished_at: 2000-01-23T04:56:07.000+00:00 files: - checksum_sha512: checksum_sha512 checksum_sha1: checksum_sha1 @@ -13951,295 +15402,448 @@ components: num_files: 1 status: 7 checksum_sha512: checksum_sha512 - distro: '{}' + distro: + name: name + variants: variants + self_url: https://openapi-generator.tech + slug: slug extension: extension description: description epoch: 6 is_sync_completed: true - distro_version: '{}' + distro_version: + name: name + slug: slug type_display: type_display - vulnerability_scan_results_url: vulnerability_scan_results_url + vulnerability_scan_results_url: https://openapi-generator.tech dependencies_checksum_md5: dependencies_checksum_md5 downloads: 0 subtype: subtype uploader: uploader signature_url: signature_url - repository_url: repository_url + repository_url: https://openapi-generator.tech status_reason: status_reason - status_updated_at: status_updated_at + status_updated_at: 2000-01-23T04:56:07.000+00:00 summary: summary checksum_sha1: checksum_sha1 checksum_md5: checksum_md5 sync_progress: 9 is_sync_awaiting: true - uploader_url: uploader_url + uploader_url: https://openapi-generator.tech self_html_url: self_html_url - self_url: self_url - status_url: status_url + origin_repository_url: https://openapi-generator.tech + self_url: https://openapi-generator.tech + status_url: https://openapi-generator.tech is_sync_in_flight: true - security_scan_completed_at: security_scan_completed_at + security_scan_completed_at: 2000-01-23T04:56:07.000+00:00 is_sync_in_progress: true stage_str: stage_str stage: 2 - format_url: format_url - dependencies_url: dependencies_url + format_url: https://openapi-generator.tech + dependencies_url: https://openapi-generator.tech namespace: namespace is_sync_failed: true properties: architectures: - description: "" items: - $ref: '#/components/schemas/_packages__owner___repo___architectures' - title: ArchitecturesList + $ref: '#/components/schemas/Architecture' + readOnly: true type: array cdn_url: - description: "" + nullable: true + readOnly: true + title: Cdn url type: string checksum_md5: - description: "" + readOnly: true + title: Checksum md5 type: string checksum_sha1: - description: "" + readOnly: true + title: Checksum sha1 type: string checksum_sha256: - description: "" + readOnly: true + title: Checksum sha256 type: string checksum_sha512: - description: "" + readOnly: true + title: Checksum sha512 type: string dependencies_checksum_md5: description: A checksum of all of the package's dependencies. + minLength: 1 + readOnly: true + title: Dependencies checksum md5 type: string dependencies_url: - description: "" + format: uri + readOnly: true + title: Dependencies url type: string description: description: A textual description of this package. + minLength: 1 + readOnly: true + title: Description type: string distro: - description: "" - properties: {} - type: object + $ref: '#/components/schemas/Distribution' distro_version: - description: "" - properties: {} - type: object + $ref: '#/components/schemas/DistributionVersion' downloads: - description: "" + readOnly: true + title: Downloads type: integer epoch: description: The epoch of the package version (if any). + readOnly: true + title: Epoch type: integer extension: - description: "" + readOnly: true + title: Extension type: string filename: - description: "" + minLength: 1 + readOnly: true + title: Filename type: string files: - description: "" items: - $ref: '#/components/schemas/_packages__owner___repo___files' - title: FilesList + $ref: '#/components/schemas/PackageFile' + readOnly: true type: array format: - description: "" + minLength: 1 + readOnly: true + title: Format type: string format_url: - description: "" + format: uri + readOnly: true + title: Format url type: string identifier_perm: description: Unique and permanent identifier for the package. + minLength: 1 + readOnly: true + title: Identifier perm type: string indexed: - description: "" + readOnly: true + title: Indexed type: boolean is_downloadable: - description: "" + readOnly: true + title: Is downloadable type: boolean is_quarantined: - description: "" + readOnly: true + title: Is quarantined type: boolean is_sync_awaiting: - description: "" + readOnly: true + title: Is sync awaiting type: boolean is_sync_completed: - description: "" + readOnly: true + title: Is sync completed type: boolean is_sync_failed: - description: "" + readOnly: true + title: Is sync failed type: boolean is_sync_in_flight: - description: "" + readOnly: true + title: Is sync in flight type: boolean is_sync_in_progress: - description: "" + readOnly: true + title: Is sync in progress type: boolean license: description: The license of this package. + minLength: 1 + readOnly: true + title: License type: string name: description: The name of this package. + minLength: 1 + readOnly: true + title: Name type: string namespace: - description: "" + minLength: 1 + readOnly: true + title: Namespace type: string namespace_url: - description: "" + format: uri + readOnly: true + title: Namespace url type: string num_files: - description: "" + readOnly: true + title: Num files type: integer + origin_repository: + minLength: 1 + readOnly: true + title: Origin repository + type: string + origin_repository_url: + format: uri + readOnly: true + title: Origin repository url + type: string package_type: description: The type of package contents. + readOnly: true + title: Package type type: integer release: description: The release of the package version (if any). + minLength: 1 + readOnly: true + title: Release type: string repository: - description: "" + minLength: 1 + readOnly: true + title: Repository type: string repository_url: - description: "" + format: uri + readOnly: true + title: Repository url type: string security_scan_completed_at: description: The datetime the security scanning was completed. + format: date-time + readOnly: true + title: Security scan completed at type: string security_scan_started_at: description: The datetime the security scanning was started. + format: date-time + readOnly: true + title: Security scan started at type: string security_scan_status: - description: "" - enum: - - Awaiting Security Scan - - Security Scanning in Progress - - Scan Detected Vulnerabilities - - Scan Detected No Vulnerabilities - - Security Scanning Disabled - - Security Scanning Failed - - Security Scanning Skipped - - Security Scanning Not Supported + default: Awaiting Security Scan + nullable: true + readOnly: true + title: Security scan status type: string security_scan_status_updated_at: description: The datetime the security scanning status was updated. + format: date-time + readOnly: true + title: Security scan status updated at type: string self_html_url: - description: "" + minLength: 1 + readOnly: true + title: Self html url type: string self_url: - description: "" + format: uri + readOnly: true + title: Self url type: string signature_url: - description: "" + nullable: true + readOnly: true + title: Signature url type: string size: description: The calculated size of the package. + readOnly: true + title: Size type: integer slug: description: The public unique identifier for the package. + format: slug + minLength: 1 + pattern: "^[-a-zA-Z0-9_]+$" + readOnly: true + title: Slug type: string slug_perm: - description: "" + format: slug + minLength: 1 + pattern: "^[-a-zA-Z0-9_]+$" + readOnly: true + title: Slug perm type: string stage: description: The synchronisation (in progress) stage of the package. + readOnly: true + title: Stage type: integer stage_str: - description: "" + readOnly: true + title: Stage str type: string stage_updated_at: description: The datetime the package stage was updated at. + format: date-time + readOnly: true + title: Stage updated at type: string status: description: The synchronisation status of the package. + readOnly: true + title: Status type: integer status_reason: description: A textual description for the synchronous status reason (if any + minLength: 1 + readOnly: true + title: Status reason type: string status_str: - description: "" + readOnly: true + title: Status str type: string status_updated_at: description: The datetime the package status was updated at. + format: date-time + readOnly: true + title: Status updated at type: string status_url: - description: "" + format: uri + readOnly: true + title: Status url type: string subtype: - description: "" + readOnly: true + title: Subtype type: string summary: description: A one-liner synopsis of this package. + minLength: 1 + readOnly: true + title: Summary type: string sync_finished_at: description: The datetime the package sync was finished at. + format: date-time + readOnly: true + title: Sync finished at type: string sync_progress: description: Synchronisation progress (from 0-100) + readOnly: true + title: Sync progress type: integer tags_immutable: - description: All immutable tags on the package, grouped by tag type. Immutable - tags cannot be (easily) deleted. - properties: {} + description: "All tags on the package, grouped by tag type. This includes\ + \ immutable tags, but doesn't distinguish them from mutable. To see which\ + \ tags are immutable specifically, see the tags_immutable field." type: object type_display: - description: "" + readOnly: true + title: Type display type: string uploaded_at: description: The date this package was uploaded. + format: date-time + readOnly: true + title: Uploaded at type: string uploader: - description: "" + minLength: 1 + readOnly: true + title: Uploader type: string uploader_url: - description: "" + format: uri + readOnly: true + title: Uploader url type: string version: description: The raw version for this package. + minLength: 1 + readOnly: true + title: Version type: string version_orig: - description: "" + readOnly: true + title: Version orig type: string vulnerability_scan_results_url: - description: "" + format: uri + readOnly: true + title: Vulnerability scan results url + type: string + type: object + HelmPackageUploadRequest: + example: + republish: true + package_file: package_file + tags: tags + properties: + package_file: + description: The primary file for the package. + minLength: 1 + title: Package file + type: string + republish: + description: "If true, the uploaded package will overwrite any others with\ + \ the same attributes (e.g. same version); otherwise, it will be flagged\ + \ as a duplicate." + title: Republish + type: boolean + tags: + description: A comma-separated values list of tags to add to the package. + maxLength: 1024 + minLength: 1 + nullable: true + title: Tags type: string - title: DartPackageUpload + required: + - package_file type: object - PythonPackageUpload: + HelmPackageUploadResponse: example: architectures: - name: name description: description - name: name description: description - security_scan_status_updated_at: security_scan_status_updated_at + security_scan_status_updated_at: 2000-01-23T04:56:07.000+00:00 checksum_sha256: checksum_sha256 release: release package_type: 5 repository: repository + origin_repository: origin_repository identifier_perm: identifier_perm - stage_updated_at: stage_updated_at - tags_immutable: '{}' + stage_updated_at: 2000-01-23T04:56:07.000+00:00 + tags_immutable: "{}" is_quarantined: true slug: slug - security_scan_started_at: security_scan_started_at + security_scan_started_at: 2000-01-23T04:56:07.000+00:00 security_scan_status: Awaiting Security Scan indexed: true format: format status_str: status_str version_orig: version_orig - namespace_url: namespace_url + namespace_url: https://openapi-generator.tech slug_perm: slug_perm version: version license: license filename: filename size: 5 cdn_url: cdn_url - uploaded_at: uploaded_at + uploaded_at: 2000-01-23T04:56:07.000+00:00 is_downloadable: true name: name - sync_finished_at: sync_finished_at + sync_finished_at: 2000-01-23T04:56:07.000+00:00 files: - checksum_sha512: checksum_sha512 checksum_sha1: checksum_sha1 @@ -14272,295 +15876,448 @@ components: num_files: 1 status: 7 checksum_sha512: checksum_sha512 - distro: '{}' + distro: + name: name + variants: variants + self_url: https://openapi-generator.tech + slug: slug extension: extension description: description epoch: 6 is_sync_completed: true - distro_version: '{}' + distro_version: + name: name + slug: slug type_display: type_display - vulnerability_scan_results_url: vulnerability_scan_results_url + vulnerability_scan_results_url: https://openapi-generator.tech dependencies_checksum_md5: dependencies_checksum_md5 downloads: 0 subtype: subtype uploader: uploader signature_url: signature_url - repository_url: repository_url + repository_url: https://openapi-generator.tech status_reason: status_reason - status_updated_at: status_updated_at + status_updated_at: 2000-01-23T04:56:07.000+00:00 summary: summary checksum_sha1: checksum_sha1 checksum_md5: checksum_md5 sync_progress: 9 is_sync_awaiting: true - uploader_url: uploader_url + uploader_url: https://openapi-generator.tech self_html_url: self_html_url - self_url: self_url - status_url: status_url + origin_repository_url: https://openapi-generator.tech + self_url: https://openapi-generator.tech + status_url: https://openapi-generator.tech is_sync_in_flight: true - security_scan_completed_at: security_scan_completed_at + security_scan_completed_at: 2000-01-23T04:56:07.000+00:00 is_sync_in_progress: true stage_str: stage_str stage: 2 - format_url: format_url - dependencies_url: dependencies_url + format_url: https://openapi-generator.tech + dependencies_url: https://openapi-generator.tech namespace: namespace is_sync_failed: true properties: architectures: - description: "" items: - $ref: '#/components/schemas/_packages__owner___repo___architectures' - title: ArchitecturesList + $ref: '#/components/schemas/Architecture' + readOnly: true type: array cdn_url: - description: "" + nullable: true + readOnly: true + title: Cdn url type: string checksum_md5: - description: "" + readOnly: true + title: Checksum md5 type: string checksum_sha1: - description: "" + readOnly: true + title: Checksum sha1 type: string checksum_sha256: - description: "" + readOnly: true + title: Checksum sha256 type: string checksum_sha512: - description: "" + readOnly: true + title: Checksum sha512 type: string dependencies_checksum_md5: description: A checksum of all of the package's dependencies. + minLength: 1 + readOnly: true + title: Dependencies checksum md5 type: string dependencies_url: - description: "" + format: uri + readOnly: true + title: Dependencies url type: string description: description: A textual description of this package. + minLength: 1 + readOnly: true + title: Description type: string distro: - description: "" - properties: {} - type: object + $ref: '#/components/schemas/Distribution' distro_version: - description: "" - properties: {} - type: object + $ref: '#/components/schemas/DistributionVersion' downloads: - description: "" + readOnly: true + title: Downloads type: integer epoch: description: The epoch of the package version (if any). + readOnly: true + title: Epoch type: integer extension: - description: "" + readOnly: true + title: Extension type: string filename: - description: "" + minLength: 1 + readOnly: true + title: Filename type: string files: - description: "" items: - $ref: '#/components/schemas/_packages__owner___repo___files' - title: FilesList + $ref: '#/components/schemas/PackageFile' + readOnly: true type: array format: - description: "" + minLength: 1 + readOnly: true + title: Format type: string format_url: - description: "" + format: uri + readOnly: true + title: Format url type: string identifier_perm: description: Unique and permanent identifier for the package. + minLength: 1 + readOnly: true + title: Identifier perm type: string indexed: - description: "" + readOnly: true + title: Indexed type: boolean is_downloadable: - description: "" + readOnly: true + title: Is downloadable type: boolean is_quarantined: - description: "" + readOnly: true + title: Is quarantined type: boolean is_sync_awaiting: - description: "" + readOnly: true + title: Is sync awaiting type: boolean is_sync_completed: - description: "" + readOnly: true + title: Is sync completed type: boolean is_sync_failed: - description: "" + readOnly: true + title: Is sync failed type: boolean is_sync_in_flight: - description: "" + readOnly: true + title: Is sync in flight type: boolean is_sync_in_progress: - description: "" + readOnly: true + title: Is sync in progress type: boolean license: description: The license of this package. + minLength: 1 + readOnly: true + title: License type: string name: description: The name of this package. + minLength: 1 + readOnly: true + title: Name type: string namespace: - description: "" + minLength: 1 + readOnly: true + title: Namespace type: string namespace_url: - description: "" + format: uri + readOnly: true + title: Namespace url type: string num_files: - description: "" + readOnly: true + title: Num files type: integer + origin_repository: + minLength: 1 + readOnly: true + title: Origin repository + type: string + origin_repository_url: + format: uri + readOnly: true + title: Origin repository url + type: string package_type: description: The type of package contents. + readOnly: true + title: Package type type: integer release: description: The release of the package version (if any). + minLength: 1 + readOnly: true + title: Release type: string repository: - description: "" + minLength: 1 + readOnly: true + title: Repository type: string repository_url: - description: "" + format: uri + readOnly: true + title: Repository url type: string security_scan_completed_at: description: The datetime the security scanning was completed. + format: date-time + readOnly: true + title: Security scan completed at type: string security_scan_started_at: description: The datetime the security scanning was started. + format: date-time + readOnly: true + title: Security scan started at type: string security_scan_status: - description: "" - enum: - - Awaiting Security Scan - - Security Scanning in Progress - - Scan Detected Vulnerabilities - - Scan Detected No Vulnerabilities - - Security Scanning Disabled - - Security Scanning Failed - - Security Scanning Skipped - - Security Scanning Not Supported + default: Awaiting Security Scan + nullable: true + readOnly: true + title: Security scan status type: string security_scan_status_updated_at: description: The datetime the security scanning status was updated. + format: date-time + readOnly: true + title: Security scan status updated at type: string self_html_url: - description: "" + minLength: 1 + readOnly: true + title: Self html url type: string self_url: - description: "" + format: uri + readOnly: true + title: Self url type: string signature_url: - description: "" + nullable: true + readOnly: true + title: Signature url type: string size: description: The calculated size of the package. + readOnly: true + title: Size type: integer slug: description: The public unique identifier for the package. + format: slug + minLength: 1 + pattern: "^[-a-zA-Z0-9_]+$" + readOnly: true + title: Slug type: string slug_perm: - description: "" + format: slug + minLength: 1 + pattern: "^[-a-zA-Z0-9_]+$" + readOnly: true + title: Slug perm type: string stage: description: The synchronisation (in progress) stage of the package. + readOnly: true + title: Stage type: integer stage_str: - description: "" + readOnly: true + title: Stage str type: string stage_updated_at: description: The datetime the package stage was updated at. + format: date-time + readOnly: true + title: Stage updated at type: string status: description: The synchronisation status of the package. + readOnly: true + title: Status type: integer status_reason: description: A textual description for the synchronous status reason (if any + minLength: 1 + readOnly: true + title: Status reason type: string status_str: - description: "" + readOnly: true + title: Status str type: string status_updated_at: description: The datetime the package status was updated at. + format: date-time + readOnly: true + title: Status updated at type: string status_url: - description: "" + format: uri + readOnly: true + title: Status url type: string subtype: - description: "" + readOnly: true + title: Subtype type: string summary: description: A one-liner synopsis of this package. + minLength: 1 + readOnly: true + title: Summary type: string sync_finished_at: description: The datetime the package sync was finished at. + format: date-time + readOnly: true + title: Sync finished at type: string sync_progress: description: Synchronisation progress (from 0-100) + readOnly: true + title: Sync progress type: integer tags_immutable: - description: All immutable tags on the package, grouped by tag type. Immutable - tags cannot be (easily) deleted. - properties: {} + description: "All tags on the package, grouped by tag type. This includes\ + \ immutable tags, but doesn't distinguish them from mutable. To see which\ + \ tags are immutable specifically, see the tags_immutable field." type: object type_display: - description: "" + readOnly: true + title: Type display type: string uploaded_at: description: The date this package was uploaded. + format: date-time + readOnly: true + title: Uploaded at type: string uploader: - description: "" + minLength: 1 + readOnly: true + title: Uploader type: string uploader_url: - description: "" + format: uri + readOnly: true + title: Uploader url type: string version: description: The raw version for this package. + minLength: 1 + readOnly: true + title: Version type: string version_orig: - description: "" + readOnly: true + title: Version orig type: string vulnerability_scan_results_url: - description: "" + format: uri + readOnly: true + title: Vulnerability scan results url + type: string + type: object + LuarocksPackageUploadRequest: + example: + republish: true + package_file: package_file + tags: tags + properties: + package_file: + description: The primary file for the package. + minLength: 1 + title: Package file + type: string + republish: + description: "If true, the uploaded package will overwrite any others with\ + \ the same attributes (e.g. same version); otherwise, it will be flagged\ + \ as a duplicate." + title: Republish + type: boolean + tags: + description: A comma-separated values list of tags to add to the package. + maxLength: 1024 + minLength: 1 + nullable: true + title: Tags type: string - title: PythonPackageUpload + required: + - package_file type: object - VagrantPackageUpload: + LuarocksPackageUploadResponse: example: architectures: - name: name description: description - name: name description: description - security_scan_status_updated_at: security_scan_status_updated_at + security_scan_status_updated_at: 2000-01-23T04:56:07.000+00:00 checksum_sha256: checksum_sha256 release: release package_type: 5 repository: repository + origin_repository: origin_repository identifier_perm: identifier_perm - stage_updated_at: stage_updated_at - tags_immutable: '{}' + stage_updated_at: 2000-01-23T04:56:07.000+00:00 + tags_immutable: "{}" is_quarantined: true slug: slug - security_scan_started_at: security_scan_started_at + security_scan_started_at: 2000-01-23T04:56:07.000+00:00 security_scan_status: Awaiting Security Scan indexed: true format: format status_str: status_str version_orig: version_orig - namespace_url: namespace_url + namespace_url: https://openapi-generator.tech slug_perm: slug_perm - version: "1.0" + version: version license: license filename: filename size: 5 cdn_url: cdn_url - uploaded_at: uploaded_at + uploaded_at: 2000-01-23T04:56:07.000+00:00 is_downloadable: true - name: tcl - sync_finished_at: sync_finished_at + name: name + sync_finished_at: 2000-01-23T04:56:07.000+00:00 files: - checksum_sha512: checksum_sha512 checksum_sha1: checksum_sha1 @@ -14593,380 +16350,505 @@ components: num_files: 1 status: 7 checksum_sha512: checksum_sha512 - distro: '{}' + distro: + name: name + variants: variants + self_url: https://openapi-generator.tech + slug: slug extension: extension description: description epoch: 6 is_sync_completed: true - distro_version: '{}' + distro_version: + name: name + slug: slug type_display: type_display - vulnerability_scan_results_url: vulnerability_scan_results_url + vulnerability_scan_results_url: https://openapi-generator.tech dependencies_checksum_md5: dependencies_checksum_md5 downloads: 0 - provider: virtualbox subtype: subtype uploader: uploader signature_url: signature_url - repository_url: repository_url + repository_url: https://openapi-generator.tech status_reason: status_reason - status_updated_at: status_updated_at + status_updated_at: 2000-01-23T04:56:07.000+00:00 summary: summary checksum_sha1: checksum_sha1 checksum_md5: checksum_md5 sync_progress: 9 is_sync_awaiting: true - uploader_url: uploader_url + uploader_url: https://openapi-generator.tech self_html_url: self_html_url - self_url: self_url - status_url: status_url + origin_repository_url: https://openapi-generator.tech + self_url: https://openapi-generator.tech + status_url: https://openapi-generator.tech is_sync_in_flight: true - security_scan_completed_at: security_scan_completed_at + security_scan_completed_at: 2000-01-23T04:56:07.000+00:00 is_sync_in_progress: true stage_str: stage_str stage: 2 - format_url: format_url - dependencies_url: dependencies_url + format_url: https://openapi-generator.tech + dependencies_url: https://openapi-generator.tech namespace: namespace is_sync_failed: true properties: architectures: - description: "" items: - $ref: '#/components/schemas/_packages__owner___repo___architectures' - title: ArchitecturesList + $ref: '#/components/schemas/Architecture' + readOnly: true type: array cdn_url: - description: "" + nullable: true + readOnly: true + title: Cdn url type: string checksum_md5: - description: "" + readOnly: true + title: Checksum md5 type: string checksum_sha1: - description: "" + readOnly: true + title: Checksum sha1 type: string checksum_sha256: - description: "" + readOnly: true + title: Checksum sha256 type: string checksum_sha512: - description: "" + readOnly: true + title: Checksum sha512 type: string dependencies_checksum_md5: description: A checksum of all of the package's dependencies. + minLength: 1 + readOnly: true + title: Dependencies checksum md5 type: string dependencies_url: - description: "" + format: uri + readOnly: true + title: Dependencies url type: string description: description: A textual description of this package. + minLength: 1 + readOnly: true + title: Description type: string distro: - description: "" - properties: {} - type: object + $ref: '#/components/schemas/Distribution' distro_version: - description: "" - properties: {} - type: object + $ref: '#/components/schemas/DistributionVersion' downloads: - description: "" + readOnly: true + title: Downloads type: integer epoch: description: The epoch of the package version (if any). + readOnly: true + title: Epoch type: integer extension: - description: "" + readOnly: true + title: Extension type: string filename: - description: "" + minLength: 1 + readOnly: true + title: Filename type: string files: - description: "" items: - $ref: '#/components/schemas/_packages__owner___repo___files' - title: FilesList + $ref: '#/components/schemas/PackageFile' + readOnly: true type: array format: - description: "" + minLength: 1 + readOnly: true + title: Format type: string format_url: - description: "" + format: uri + readOnly: true + title: Format url type: string identifier_perm: description: Unique and permanent identifier for the package. + minLength: 1 + readOnly: true + title: Identifier perm type: string indexed: - description: "" + readOnly: true + title: Indexed type: boolean is_downloadable: - description: "" + readOnly: true + title: Is downloadable type: boolean is_quarantined: - description: "" + readOnly: true + title: Is quarantined type: boolean is_sync_awaiting: - description: "" + readOnly: true + title: Is sync awaiting type: boolean is_sync_completed: - description: "" + readOnly: true + title: Is sync completed type: boolean is_sync_failed: - description: "" + readOnly: true + title: Is sync failed type: boolean is_sync_in_flight: - description: "" + readOnly: true + title: Is sync in flight type: boolean is_sync_in_progress: - description: "" + readOnly: true + title: Is sync in progress type: boolean license: description: The license of this package. + minLength: 1 + readOnly: true + title: License type: string name: description: The name of this package. - example: tcl + minLength: 1 + readOnly: true + title: Name type: string namespace: - description: "" + minLength: 1 + readOnly: true + title: Namespace type: string namespace_url: - description: "" + format: uri + readOnly: true + title: Namespace url type: string num_files: - description: "" + readOnly: true + title: Num files type: integer + origin_repository: + minLength: 1 + readOnly: true + title: Origin repository + type: string + origin_repository_url: + format: uri + readOnly: true + title: Origin repository url + type: string package_type: description: The type of package contents. + readOnly: true + title: Package type type: integer - provider: - description: The virtual machine provider for the box. - example: virtualbox - type: string release: description: The release of the package version (if any). + minLength: 1 + readOnly: true + title: Release type: string repository: - description: "" + minLength: 1 + readOnly: true + title: Repository type: string repository_url: - description: "" + format: uri + readOnly: true + title: Repository url type: string security_scan_completed_at: description: The datetime the security scanning was completed. + format: date-time + readOnly: true + title: Security scan completed at type: string security_scan_started_at: description: The datetime the security scanning was started. + format: date-time + readOnly: true + title: Security scan started at type: string security_scan_status: - description: "" - enum: - - Awaiting Security Scan - - Security Scanning in Progress - - Scan Detected Vulnerabilities - - Scan Detected No Vulnerabilities - - Security Scanning Disabled - - Security Scanning Failed - - Security Scanning Skipped - - Security Scanning Not Supported + default: Awaiting Security Scan + nullable: true + readOnly: true + title: Security scan status type: string security_scan_status_updated_at: description: The datetime the security scanning status was updated. + format: date-time + readOnly: true + title: Security scan status updated at type: string self_html_url: - description: "" + minLength: 1 + readOnly: true + title: Self html url type: string self_url: - description: "" + format: uri + readOnly: true + title: Self url type: string signature_url: - description: "" + nullable: true + readOnly: true + title: Signature url type: string size: description: The calculated size of the package. + readOnly: true + title: Size type: integer slug: description: The public unique identifier for the package. + format: slug + minLength: 1 + pattern: "^[-a-zA-Z0-9_]+$" + readOnly: true + title: Slug type: string slug_perm: - description: "" + format: slug + minLength: 1 + pattern: "^[-a-zA-Z0-9_]+$" + readOnly: true + title: Slug perm type: string stage: description: The synchronisation (in progress) stage of the package. + readOnly: true + title: Stage type: integer stage_str: - description: "" + readOnly: true + title: Stage str type: string stage_updated_at: description: The datetime the package stage was updated at. + format: date-time + readOnly: true + title: Stage updated at type: string status: description: The synchronisation status of the package. + readOnly: true + title: Status type: integer status_reason: description: A textual description for the synchronous status reason (if any + minLength: 1 + readOnly: true + title: Status reason type: string status_str: - description: "" + readOnly: true + title: Status str type: string status_updated_at: description: The datetime the package status was updated at. + format: date-time + readOnly: true + title: Status updated at type: string status_url: - description: "" + format: uri + readOnly: true + title: Status url type: string subtype: - description: "" + readOnly: true + title: Subtype type: string summary: description: A one-liner synopsis of this package. + minLength: 1 + readOnly: true + title: Summary type: string sync_finished_at: description: The datetime the package sync was finished at. + format: date-time + readOnly: true + title: Sync finished at type: string sync_progress: description: Synchronisation progress (from 0-100) + readOnly: true + title: Sync progress type: integer tags_immutable: - description: All immutable tags on the package, grouped by tag type. Immutable - tags cannot be (easily) deleted. - properties: {} + description: "All tags on the package, grouped by tag type. This includes\ + \ immutable tags, but doesn't distinguish them from mutable. To see which\ + \ tags are immutable specifically, see the tags_immutable field." type: object type_display: - description: "" + readOnly: true + title: Type display type: string uploaded_at: description: The date this package was uploaded. + format: date-time + readOnly: true + title: Uploaded at type: string uploader: - description: "" + minLength: 1 + readOnly: true + title: Uploader type: string uploader_url: - description: "" + format: uri + readOnly: true + title: Uploader url type: string version: description: The raw version for this package. - example: "1.0" + minLength: 1 + readOnly: true + title: Version type: string version_orig: - description: "" + readOnly: true + title: Version orig type: string vulnerability_scan_results_url: - description: "" + format: uri + readOnly: true + title: Vulnerability scan results url type: string - required: - - name - - provider - - version - title: VagrantPackageUpload type: object - PackageStatus: + MavenPackageUploadRequest: example: - status_str: status_str - sync_progress: 1 - is_sync_awaiting: true - is_sync_completed: true - self_url: self_url - is_sync_in_flight: true - is_sync_in_progress: true - stage_str: stage_str - stage_updated_at: stage_updated_at - stage: 0 - is_downloadable: true - sync_finished_at: sync_finished_at - is_sync_failed: true - is_quarantined: true - status_reason: status_reason - status: 6 - status_updated_at: status_updated_at + sources_file: sources_file + tests_file: tests_file + republish: true + group_id: group_id + javadoc_file: javadoc_file + packaging: packaging + artifact_id: artifact_id + package_file: package_file + version: version + pom_file: pom_file + tags: tags properties: - is_downloadable: - description: "" - type: boolean - is_quarantined: - description: "" - type: boolean - is_sync_awaiting: - description: "" - type: boolean - is_sync_completed: - description: "" - type: boolean - is_sync_failed: - description: "" - type: boolean - is_sync_in_flight: - description: "" - type: boolean - is_sync_in_progress: - description: "" - type: boolean - self_url: - description: "" + artifact_id: + description: The ID of the artifact. + minLength: 1 + nullable: true + title: Artifact id type: string - stage: - description: The synchronisation (in progress) stage of the package. - type: integer - stage_str: - description: "" + group_id: + description: Artifact's group ID. + maxLength: 2083 + nullable: true + title: Group id type: string - stage_updated_at: - description: The datetime the package stage was updated at. + javadoc_file: + description: Adds bundled Java documentation to the Maven package + minLength: 1 + nullable: true + title: Javadoc file type: string - status: - description: The synchronisation status of the package. - type: integer - status_reason: - description: A textual description for the synchronous status reason (if - any + package_file: + description: The primary file for the package. + minLength: 1 + title: Package file type: string - status_str: - description: "" + packaging: + description: Artifact's Maven packaging type. + maxLength: 64 + nullable: true + title: Packaging type: string - status_updated_at: - description: The datetime the package status was updated at. + pom_file: + description: The POM file is an XML file containing the Maven coordinates. + minLength: 1 + nullable: true + title: Pom file type: string - sync_finished_at: - description: The datetime the package sync was finished at. + republish: + description: "If true, the uploaded package will overwrite any others with\ + \ the same attributes (e.g. same version); otherwise, it will be flagged\ + \ as a duplicate." + title: Republish + type: boolean + sources_file: + description: Adds bundled Java source code to the Maven package. + minLength: 1 + nullable: true + title: Sources file type: string - sync_progress: - description: Synchronisation progress (from 0-100) - type: integer - title: PackageStatus + tags: + description: A comma-separated values list of tags to add to the package. + maxLength: 1024 + minLength: 1 + nullable: true + title: Tags + type: string + tests_file: + description: Adds bundled Java tests to the Maven package. + minLength: 1 + nullable: true + title: Tests file + type: string + version: + description: The raw version for this package. + maxLength: 128 + nullable: true + title: Version + type: string + required: + - package_file type: object - CranPackageUpload: + MavenPackageUploadResponse: example: architectures: - name: name description: description - name: name description: description - security_scan_status_updated_at: security_scan_status_updated_at + security_scan_status_updated_at: 2000-01-23T04:56:07.000+00:00 checksum_sha256: checksum_sha256 release: release + artifact_id: artifact_id package_type: 5 repository: repository + origin_repository: origin_repository identifier_perm: identifier_perm - stage_updated_at: stage_updated_at - tags_immutable: '{}' + stage_updated_at: 2000-01-23T04:56:07.000+00:00 + tags_immutable: "{}" is_quarantined: true slug: slug - security_scan_started_at: security_scan_started_at + security_scan_started_at: 2000-01-23T04:56:07.000+00:00 security_scan_status: Awaiting Security Scan indexed: true format: format status_str: status_str version_orig: version_orig - namespace_url: namespace_url + namespace_url: https://openapi-generator.tech slug_perm: slug_perm version: version license: license filename: filename size: 5 cdn_url: cdn_url - uploaded_at: uploaded_at + uploaded_at: 2000-01-23T04:56:07.000+00:00 is_downloadable: true name: name - sync_finished_at: sync_finished_at + sync_finished_at: 2000-01-23T04:56:07.000+00:00 files: - checksum_sha512: checksum_sha512 checksum_sha1: checksum_sha1 @@ -14999,295 +16881,477 @@ components: num_files: 1 status: 7 checksum_sha512: checksum_sha512 - distro: '{}' + distro: + name: name + variants: variants + self_url: https://openapi-generator.tech + slug: slug extension: extension description: description epoch: 6 is_sync_completed: true - distro_version: '{}' + distro_version: + name: name + slug: slug type_display: type_display - vulnerability_scan_results_url: vulnerability_scan_results_url + vulnerability_scan_results_url: https://openapi-generator.tech dependencies_checksum_md5: dependencies_checksum_md5 downloads: 0 subtype: subtype uploader: uploader signature_url: signature_url - repository_url: repository_url + repository_url: https://openapi-generator.tech status_reason: status_reason - status_updated_at: status_updated_at + status_updated_at: 2000-01-23T04:56:07.000+00:00 summary: summary checksum_sha1: checksum_sha1 checksum_md5: checksum_md5 sync_progress: 9 is_sync_awaiting: true - uploader_url: uploader_url + packaging: packaging + uploader_url: https://openapi-generator.tech self_html_url: self_html_url - self_url: self_url - status_url: status_url + origin_repository_url: https://openapi-generator.tech + self_url: https://openapi-generator.tech + status_url: https://openapi-generator.tech is_sync_in_flight: true - security_scan_completed_at: security_scan_completed_at + security_scan_completed_at: 2000-01-23T04:56:07.000+00:00 is_sync_in_progress: true stage_str: stage_str stage: 2 - format_url: format_url - dependencies_url: dependencies_url + format_url: https://openapi-generator.tech + group_id: group_id + dependencies_url: https://openapi-generator.tech namespace: namespace is_sync_failed: true properties: architectures: - description: "" items: - $ref: '#/components/schemas/_packages__owner___repo___architectures' - title: ArchitecturesList + $ref: '#/components/schemas/Architecture' + readOnly: true type: array + artifact_id: + description: The ID of the artifact. + minLength: 1 + nullable: true + title: Artifact id + type: string cdn_url: - description: "" + nullable: true + readOnly: true + title: Cdn url type: string checksum_md5: - description: "" + readOnly: true + title: Checksum md5 type: string checksum_sha1: - description: "" + readOnly: true + title: Checksum sha1 type: string checksum_sha256: - description: "" + readOnly: true + title: Checksum sha256 type: string checksum_sha512: - description: "" + readOnly: true + title: Checksum sha512 type: string dependencies_checksum_md5: description: A checksum of all of the package's dependencies. + minLength: 1 + readOnly: true + title: Dependencies checksum md5 type: string dependencies_url: - description: "" + format: uri + readOnly: true + title: Dependencies url type: string description: description: A textual description of this package. + minLength: 1 + readOnly: true + title: Description type: string distro: - description: "" - properties: {} - type: object + $ref: '#/components/schemas/Distribution' distro_version: - description: "" - properties: {} - type: object + $ref: '#/components/schemas/DistributionVersion' downloads: - description: "" + readOnly: true + title: Downloads type: integer epoch: description: The epoch of the package version (if any). + readOnly: true + title: Epoch type: integer extension: - description: "" + readOnly: true + title: Extension type: string filename: - description: "" + minLength: 1 + readOnly: true + title: Filename type: string files: - description: "" items: - $ref: '#/components/schemas/_packages__owner___repo___files' - title: FilesList + $ref: '#/components/schemas/PackageFile' + readOnly: true type: array format: - description: "" + minLength: 1 + readOnly: true + title: Format type: string format_url: - description: "" + format: uri + readOnly: true + title: Format url + type: string + group_id: + description: Artifact's group ID. + maxLength: 2083 + nullable: true + title: Group id type: string identifier_perm: description: Unique and permanent identifier for the package. + minLength: 1 + readOnly: true + title: Identifier perm type: string indexed: - description: "" + readOnly: true + title: Indexed type: boolean is_downloadable: - description: "" + readOnly: true + title: Is downloadable type: boolean is_quarantined: - description: "" + readOnly: true + title: Is quarantined type: boolean is_sync_awaiting: - description: "" + readOnly: true + title: Is sync awaiting type: boolean is_sync_completed: - description: "" + readOnly: true + title: Is sync completed type: boolean is_sync_failed: - description: "" + readOnly: true + title: Is sync failed type: boolean is_sync_in_flight: - description: "" + readOnly: true + title: Is sync in flight type: boolean is_sync_in_progress: - description: "" + readOnly: true + title: Is sync in progress type: boolean license: description: The license of this package. + minLength: 1 + readOnly: true + title: License type: string name: description: The name of this package. + minLength: 1 + readOnly: true + title: Name type: string namespace: - description: "" + minLength: 1 + readOnly: true + title: Namespace type: string namespace_url: - description: "" + format: uri + readOnly: true + title: Namespace url type: string num_files: - description: "" + readOnly: true + title: Num files type: integer + origin_repository: + minLength: 1 + readOnly: true + title: Origin repository + type: string + origin_repository_url: + format: uri + readOnly: true + title: Origin repository url + type: string package_type: description: The type of package contents. + readOnly: true + title: Package type type: integer + packaging: + description: Artifact's Maven packaging type. + maxLength: 64 + nullable: true + title: Packaging + type: string release: description: The release of the package version (if any). + minLength: 1 + readOnly: true + title: Release type: string repository: - description: "" + minLength: 1 + readOnly: true + title: Repository type: string repository_url: - description: "" + format: uri + readOnly: true + title: Repository url type: string security_scan_completed_at: description: The datetime the security scanning was completed. + format: date-time + readOnly: true + title: Security scan completed at type: string security_scan_started_at: description: The datetime the security scanning was started. + format: date-time + readOnly: true + title: Security scan started at type: string security_scan_status: - description: "" - enum: - - Awaiting Security Scan - - Security Scanning in Progress - - Scan Detected Vulnerabilities - - Scan Detected No Vulnerabilities - - Security Scanning Disabled - - Security Scanning Failed - - Security Scanning Skipped - - Security Scanning Not Supported + default: Awaiting Security Scan + nullable: true + readOnly: true + title: Security scan status type: string security_scan_status_updated_at: description: The datetime the security scanning status was updated. + format: date-time + readOnly: true + title: Security scan status updated at type: string self_html_url: - description: "" + minLength: 1 + readOnly: true + title: Self html url type: string self_url: - description: "" + format: uri + readOnly: true + title: Self url type: string signature_url: - description: "" + nullable: true + readOnly: true + title: Signature url type: string size: description: The calculated size of the package. + readOnly: true + title: Size type: integer slug: description: The public unique identifier for the package. + format: slug + minLength: 1 + pattern: "^[-a-zA-Z0-9_]+$" + readOnly: true + title: Slug type: string slug_perm: - description: "" + format: slug + minLength: 1 + pattern: "^[-a-zA-Z0-9_]+$" + readOnly: true + title: Slug perm type: string stage: description: The synchronisation (in progress) stage of the package. + readOnly: true + title: Stage type: integer stage_str: - description: "" + readOnly: true + title: Stage str type: string stage_updated_at: description: The datetime the package stage was updated at. + format: date-time + readOnly: true + title: Stage updated at type: string status: description: The synchronisation status of the package. + readOnly: true + title: Status type: integer status_reason: description: A textual description for the synchronous status reason (if any + minLength: 1 + readOnly: true + title: Status reason type: string status_str: - description: "" + readOnly: true + title: Status str type: string status_updated_at: description: The datetime the package status was updated at. + format: date-time + readOnly: true + title: Status updated at type: string status_url: - description: "" + format: uri + readOnly: true + title: Status url type: string subtype: - description: "" + readOnly: true + title: Subtype type: string summary: description: A one-liner synopsis of this package. + minLength: 1 + readOnly: true + title: Summary type: string sync_finished_at: description: The datetime the package sync was finished at. + format: date-time + readOnly: true + title: Sync finished at type: string sync_progress: description: Synchronisation progress (from 0-100) + readOnly: true + title: Sync progress type: integer tags_immutable: - description: All immutable tags on the package, grouped by tag type. Immutable - tags cannot be (easily) deleted. - properties: {} + description: "All tags on the package, grouped by tag type. This includes\ + \ immutable tags, but doesn't distinguish them from mutable. To see which\ + \ tags are immutable specifically, see the tags_immutable field." type: object type_display: - description: "" + readOnly: true + title: Type display type: string uploaded_at: description: The date this package was uploaded. + format: date-time + readOnly: true + title: Uploaded at type: string uploader: - description: "" + minLength: 1 + readOnly: true + title: Uploader type: string uploader_url: - description: "" + format: uri + readOnly: true + title: Uploader url type: string version: description: The raw version for this package. + maxLength: 128 + nullable: true + title: Version type: string version_orig: - description: "" + readOnly: true + title: Version orig type: string vulnerability_scan_results_url: - description: "" + format: uri + readOnly: true + title: Vulnerability scan results url + type: string + type: object + NpmPackageUploadRequest: + example: + republish: true + npm_dist_tag: latest + package_file: package_file + tags: tags + properties: + npm_dist_tag: + default: latest + description: The default npm dist-tag for this package/version - This will + replace any other package/version if they are using the same tag. + maxLength: 255 + minLength: 1 + title: Npm dist tag + type: string + package_file: + description: The primary file for the package. + minLength: 1 + title: Package file + type: string + republish: + description: "If true, the uploaded package will overwrite any others with\ + \ the same attributes (e.g. same version); otherwise, it will be flagged\ + \ as a duplicate." + title: Republish + type: boolean + tags: + description: A comma-separated values list of tags to add to the package. + maxLength: 1024 + minLength: 1 + nullable: true + title: Tags type: string - title: CranPackageUpload + required: + - package_file type: object - CocoapodsPackageUpload: + NpmPackageUploadResponse: example: architectures: - name: name description: description - name: name description: description - security_scan_status_updated_at: security_scan_status_updated_at + security_scan_status_updated_at: 2000-01-23T04:56:07.000+00:00 checksum_sha256: checksum_sha256 release: release package_type: 5 repository: repository + origin_repository: origin_repository identifier_perm: identifier_perm - stage_updated_at: stage_updated_at - tags_immutable: '{}' + stage_updated_at: 2000-01-23T04:56:07.000+00:00 + tags_immutable: "{}" is_quarantined: true slug: slug - security_scan_started_at: security_scan_started_at + security_scan_started_at: 2000-01-23T04:56:07.000+00:00 security_scan_status: Awaiting Security Scan indexed: true format: format status_str: status_str version_orig: version_orig - namespace_url: namespace_url + namespace_url: https://openapi-generator.tech slug_perm: slug_perm version: version license: license filename: filename size: 5 cdn_url: cdn_url - uploaded_at: uploaded_at + uploaded_at: 2000-01-23T04:56:07.000+00:00 is_downloadable: true name: name - sync_finished_at: sync_finished_at + sync_finished_at: 2000-01-23T04:56:07.000+00:00 files: - checksum_sha512: checksum_sha512 checksum_sha1: checksum_sha1 @@ -15320,443 +17384,455 @@ components: num_files: 1 status: 7 checksum_sha512: checksum_sha512 - distro: '{}' + distro: + name: name + variants: variants + self_url: https://openapi-generator.tech + slug: slug extension: extension description: description epoch: 6 is_sync_completed: true - distro_version: '{}' + distro_version: + name: name + slug: slug type_display: type_display - vulnerability_scan_results_url: vulnerability_scan_results_url + vulnerability_scan_results_url: https://openapi-generator.tech dependencies_checksum_md5: dependencies_checksum_md5 downloads: 0 subtype: subtype uploader: uploader signature_url: signature_url - repository_url: repository_url + repository_url: https://openapi-generator.tech status_reason: status_reason - status_updated_at: status_updated_at + status_updated_at: 2000-01-23T04:56:07.000+00:00 summary: summary checksum_sha1: checksum_sha1 checksum_md5: checksum_md5 sync_progress: 9 is_sync_awaiting: true - uploader_url: uploader_url + uploader_url: https://openapi-generator.tech self_html_url: self_html_url - self_url: self_url - status_url: status_url + origin_repository_url: https://openapi-generator.tech + self_url: https://openapi-generator.tech + status_url: https://openapi-generator.tech is_sync_in_flight: true - security_scan_completed_at: security_scan_completed_at + security_scan_completed_at: 2000-01-23T04:56:07.000+00:00 is_sync_in_progress: true stage_str: stage_str stage: 2 - format_url: format_url - dependencies_url: dependencies_url + format_url: https://openapi-generator.tech + dependencies_url: https://openapi-generator.tech namespace: namespace is_sync_failed: true properties: architectures: - description: "" items: - $ref: '#/components/schemas/_packages__owner___repo___architectures' - title: ArchitecturesList + $ref: '#/components/schemas/Architecture' + readOnly: true type: array cdn_url: - description: "" + nullable: true + readOnly: true + title: Cdn url type: string checksum_md5: - description: "" + readOnly: true + title: Checksum md5 type: string checksum_sha1: - description: "" + readOnly: true + title: Checksum sha1 type: string checksum_sha256: - description: "" + readOnly: true + title: Checksum sha256 type: string checksum_sha512: - description: "" + readOnly: true + title: Checksum sha512 type: string dependencies_checksum_md5: description: A checksum of all of the package's dependencies. + minLength: 1 + readOnly: true + title: Dependencies checksum md5 type: string dependencies_url: - description: "" + format: uri + readOnly: true + title: Dependencies url type: string description: description: A textual description of this package. + minLength: 1 + readOnly: true + title: Description type: string distro: - description: "" - properties: {} - type: object + $ref: '#/components/schemas/Distribution' distro_version: - description: "" - properties: {} - type: object + $ref: '#/components/schemas/DistributionVersion' downloads: - description: "" + readOnly: true + title: Downloads type: integer epoch: description: The epoch of the package version (if any). + readOnly: true + title: Epoch type: integer extension: - description: "" + readOnly: true + title: Extension type: string filename: - description: "" + minLength: 1 + readOnly: true + title: Filename type: string files: - description: "" items: - $ref: '#/components/schemas/_packages__owner___repo___files' - title: FilesList + $ref: '#/components/schemas/PackageFile' + readOnly: true type: array format: - description: "" + minLength: 1 + readOnly: true + title: Format type: string format_url: - description: "" + format: uri + readOnly: true + title: Format url type: string identifier_perm: description: Unique and permanent identifier for the package. + minLength: 1 + readOnly: true + title: Identifier perm type: string indexed: - description: "" + readOnly: true + title: Indexed type: boolean is_downloadable: - description: "" + readOnly: true + title: Is downloadable type: boolean is_quarantined: - description: "" + readOnly: true + title: Is quarantined type: boolean is_sync_awaiting: - description: "" + readOnly: true + title: Is sync awaiting type: boolean is_sync_completed: - description: "" + readOnly: true + title: Is sync completed type: boolean is_sync_failed: - description: "" + readOnly: true + title: Is sync failed type: boolean is_sync_in_flight: - description: "" + readOnly: true + title: Is sync in flight type: boolean is_sync_in_progress: - description: "" + readOnly: true + title: Is sync in progress type: boolean license: description: The license of this package. + minLength: 1 + readOnly: true + title: License type: string name: description: The name of this package. + minLength: 1 + readOnly: true + title: Name type: string namespace: - description: "" + minLength: 1 + readOnly: true + title: Namespace type: string namespace_url: - description: "" + format: uri + readOnly: true + title: Namespace url type: string num_files: - description: "" + readOnly: true + title: Num files type: integer + origin_repository: + minLength: 1 + readOnly: true + title: Origin repository + type: string + origin_repository_url: + format: uri + readOnly: true + title: Origin repository url + type: string package_type: description: The type of package contents. + readOnly: true + title: Package type type: integer release: description: The release of the package version (if any). + minLength: 1 + readOnly: true + title: Release type: string repository: - description: "" + minLength: 1 + readOnly: true + title: Repository type: string repository_url: - description: "" + format: uri + readOnly: true + title: Repository url type: string security_scan_completed_at: description: The datetime the security scanning was completed. + format: date-time + readOnly: true + title: Security scan completed at type: string security_scan_started_at: description: The datetime the security scanning was started. + format: date-time + readOnly: true + title: Security scan started at type: string security_scan_status: - description: "" - enum: - - Awaiting Security Scan - - Security Scanning in Progress - - Scan Detected Vulnerabilities - - Scan Detected No Vulnerabilities - - Security Scanning Disabled - - Security Scanning Failed - - Security Scanning Skipped - - Security Scanning Not Supported + default: Awaiting Security Scan + nullable: true + readOnly: true + title: Security scan status type: string security_scan_status_updated_at: description: The datetime the security scanning status was updated. + format: date-time + readOnly: true + title: Security scan status updated at type: string self_html_url: - description: "" + minLength: 1 + readOnly: true + title: Self html url type: string self_url: - description: "" + format: uri + readOnly: true + title: Self url type: string signature_url: - description: "" + nullable: true + readOnly: true + title: Signature url type: string size: description: The calculated size of the package. + readOnly: true + title: Size type: integer slug: description: The public unique identifier for the package. + format: slug + minLength: 1 + pattern: "^[-a-zA-Z0-9_]+$" + readOnly: true + title: Slug type: string slug_perm: - description: "" + format: slug + minLength: 1 + pattern: "^[-a-zA-Z0-9_]+$" + readOnly: true + title: Slug perm type: string stage: description: The synchronisation (in progress) stage of the package. + readOnly: true + title: Stage type: integer stage_str: - description: "" + readOnly: true + title: Stage str type: string stage_updated_at: description: The datetime the package stage was updated at. + format: date-time + readOnly: true + title: Stage updated at type: string status: description: The synchronisation status of the package. + readOnly: true + title: Status type: integer status_reason: description: A textual description for the synchronous status reason (if any + minLength: 1 + readOnly: true + title: Status reason type: string status_str: - description: "" + readOnly: true + title: Status str type: string status_updated_at: description: The datetime the package status was updated at. + format: date-time + readOnly: true + title: Status updated at type: string status_url: - description: "" + format: uri + readOnly: true + title: Status url type: string subtype: - description: "" + readOnly: true + title: Subtype type: string summary: description: A one-liner synopsis of this package. + minLength: 1 + readOnly: true + title: Summary type: string sync_finished_at: description: The datetime the package sync was finished at. + format: date-time + readOnly: true + title: Sync finished at type: string sync_progress: description: Synchronisation progress (from 0-100) + readOnly: true + title: Sync progress type: integer tags_immutable: - description: All immutable tags on the package, grouped by tag type. Immutable - tags cannot be (easily) deleted. - properties: {} + description: "All tags on the package, grouped by tag type. This includes\ + \ immutable tags, but doesn't distinguish them from mutable. To see which\ + \ tags are immutable specifically, see the tags_immutable field." type: object type_display: - description: "" + readOnly: true + title: Type display type: string uploaded_at: description: The date this package was uploaded. + format: date-time + readOnly: true + title: Uploaded at type: string uploader: - description: "" + minLength: 1 + readOnly: true + title: Uploader type: string uploader_url: - description: "" + format: uri + readOnly: true + title: Uploader url type: string version: description: The raw version for this package. + minLength: 1 + readOnly: true + title: Version type: string version_orig: - description: "" + readOnly: true + title: Version orig type: string vulnerability_scan_results_url: - description: "" + format: uri + readOnly: true + title: Vulnerability scan results url type: string - title: CocoapodsPackageUpload type: object - PackagesUploadAlpine: + NugetPackageUploadRequest: example: republish: true - distribution: alpine/v3.8 - package_file: a123456789 + symbols_file: symbols_file + package_file: package_file tags: tags properties: - distribution: - description: The distribution to store the package for. - example: alpine/v3.8 - type: string package_file: description: The primary file for the package. - example: a123456789 + minLength: 1 + title: Package file type: string republish: - description: If true, the uploaded package will overwrite any others with - the same attributes (e.g. same version); otherwise, it will be flagged - as a duplicate. + description: "If true, the uploaded package will overwrite any others with\ + \ the same attributes (e.g. same version); otherwise, it will be flagged\ + \ as a duplicate." + title: Republish type: boolean + symbols_file: + description: Attaches a symbols file to the package. + minLength: 1 + nullable: true + title: Symbols file + type: string tags: description: A comma-separated values list of tags to add to the package. + maxLength: 1024 + minLength: 1 + nullable: true + title: Tags type: string required: - - distribution - package_file - title: PackagesUploadAlpine - type: object - VulnerabilityScanResults: - example: - identifier: HKmoU6OHbyj4ha3u - max_severity: HIGH - package: - identifier: XEtJh5CTzcr3 - name: insecure-image - version: d391c46c9c1a3b9a4c772213bc07e8d9e283775fddf6c7931f702f65cf7e6469 - has_vulnerabilities: true - scan: - results: - - affected_version: 4.19.67-2+deb10u2 - description: A memory leak in the rsi_send_beacon() function in drivers/net/wireless/rsi/rsi_91x_mgmt.c - in the Linux kernel through 5.3.11 allows attackers to cause a denial - of service (memory consumption) by triggering rsi_prepare_beacon() failures, - aka CID-d563131ef23c. - fixed_version: 4.19.98-1 - package_name: linux-libc-dev - references: - - https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2019-19071 - - https://github.com/torvalds/linux/commit/d563131ef23cbc756026f839a82598c8445bc45f - - https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/O3PSDE6PTOTVBK2YTKB2TFQP2SUBVSNF/ - - https://security.netapp.com/advisory/ntap-20191205-0001/ - - https://usn.ubuntu.com/4258-1/ - - https://usn.ubuntu.com/usn/usn-4258-1 - severity: HIGH - severity_source: debian - vulnerability_id: CVE-2019-19071 - - affected_version: 5.0-4 - description: "" - fixed_version: "" - package_name: bash - references: [] - severity: LOW - severity_source: debian - vulnerability_id: TEMP-0841856-B18BAF - target: /oci (debian 10.2) - type: debian - created_at: 2020-01-01T12:00:00.000000Z - num_vulnerabilities: 2 - scan_id: 1 - properties: - created_at: - description: The time this scan result was stored. - example: 2020-01-01T12:00:00.000000Z - type: string - has_vulnerabilities: - description: Do the results contain any known vulnerabilities? - example: true - type: boolean - identifier: - description: "" - example: HKmoU6OHbyj4ha3u - type: string - max_severity: - description: "" - enum: - - Unknown - - Low - - Medium - - High - - Critical - example: HIGH - type: string - num_vulnerabilities: - description: "" - example: 2 - type: integer - package: - description: "" - example: - identifier: XEtJh5CTzcr3 - name: insecure-image - version: d391c46c9c1a3b9a4c772213bc07e8d9e283775fddf6c7931f702f65cf7e6469 - properties: {} - type: object - scan: - description: "" - example: - results: - - affected_version: 4.19.67-2+deb10u2 - description: A memory leak in the rsi_send_beacon() function in drivers/net/wireless/rsi/rsi_91x_mgmt.c - in the Linux kernel through 5.3.11 allows attackers to cause a denial - of service (memory consumption) by triggering rsi_prepare_beacon() - failures, aka CID-d563131ef23c. - fixed_version: 4.19.98-1 - package_name: linux-libc-dev - references: - - https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2019-19071 - - https://github.com/torvalds/linux/commit/d563131ef23cbc756026f839a82598c8445bc45f - - https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/O3PSDE6PTOTVBK2YTKB2TFQP2SUBVSNF/ - - https://security.netapp.com/advisory/ntap-20191205-0001/ - - https://usn.ubuntu.com/4258-1/ - - https://usn.ubuntu.com/usn/usn-4258-1 - severity: HIGH - severity_source: debian - vulnerability_id: CVE-2019-19071 - - affected_version: 5.0-4 - description: "" - fixed_version: "" - package_name: bash - references: [] - severity: LOW - severity_source: debian - vulnerability_id: TEMP-0841856-B18BAF - target: /oci (debian 10.2) - type: debian - properties: {} - type: object - scan_id: - description: "" - example: 1 - type: integer - required: - - identifier - - package - - scan - - scan_id - title: VulnerabilityScanResults type: object - HelmPackageUpload: + NugetPackageUploadResponse: example: architectures: - name: name description: description - name: name description: description - security_scan_status_updated_at: security_scan_status_updated_at + security_scan_status_updated_at: 2000-01-23T04:56:07.000+00:00 checksum_sha256: checksum_sha256 release: release package_type: 5 repository: repository + origin_repository: origin_repository identifier_perm: identifier_perm - stage_updated_at: stage_updated_at - tags_immutable: '{}' + stage_updated_at: 2000-01-23T04:56:07.000+00:00 + tags_immutable: "{}" is_quarantined: true slug: slug - security_scan_started_at: security_scan_started_at + security_scan_started_at: 2000-01-23T04:56:07.000+00:00 security_scan_status: Awaiting Security Scan indexed: true format: format status_str: status_str version_orig: version_orig - namespace_url: namespace_url + namespace_url: https://openapi-generator.tech slug_perm: slug_perm version: version license: license filename: filename size: 5 cdn_url: cdn_url - uploaded_at: uploaded_at + uploaded_at: 2000-01-23T04:56:07.000+00:00 is_downloadable: true name: name - sync_finished_at: sync_finished_at + sync_finished_at: 2000-01-23T04:56:07.000+00:00 files: - checksum_sha512: checksum_sha512 checksum_sha1: checksum_sha1 @@ -15789,590 +17865,448 @@ components: num_files: 1 status: 7 checksum_sha512: checksum_sha512 - distro: '{}' + distro: + name: name + variants: variants + self_url: https://openapi-generator.tech + slug: slug extension: extension description: description epoch: 6 is_sync_completed: true - distro_version: '{}' + distro_version: + name: name + slug: slug type_display: type_display - vulnerability_scan_results_url: vulnerability_scan_results_url + vulnerability_scan_results_url: https://openapi-generator.tech dependencies_checksum_md5: dependencies_checksum_md5 downloads: 0 subtype: subtype uploader: uploader signature_url: signature_url - repository_url: repository_url + repository_url: https://openapi-generator.tech status_reason: status_reason - status_updated_at: status_updated_at + status_updated_at: 2000-01-23T04:56:07.000+00:00 summary: summary checksum_sha1: checksum_sha1 checksum_md5: checksum_md5 sync_progress: 9 is_sync_awaiting: true - uploader_url: uploader_url + uploader_url: https://openapi-generator.tech self_html_url: self_html_url - self_url: self_url - status_url: status_url + origin_repository_url: https://openapi-generator.tech + self_url: https://openapi-generator.tech + status_url: https://openapi-generator.tech is_sync_in_flight: true - security_scan_completed_at: security_scan_completed_at + security_scan_completed_at: 2000-01-23T04:56:07.000+00:00 is_sync_in_progress: true stage_str: stage_str stage: 2 - format_url: format_url - dependencies_url: dependencies_url + format_url: https://openapi-generator.tech + dependencies_url: https://openapi-generator.tech namespace: namespace is_sync_failed: true properties: architectures: - description: "" items: - $ref: '#/components/schemas/_packages__owner___repo___architectures' - title: ArchitecturesList + $ref: '#/components/schemas/Architecture' + readOnly: true type: array cdn_url: - description: "" + nullable: true + readOnly: true + title: Cdn url type: string checksum_md5: - description: "" + readOnly: true + title: Checksum md5 type: string checksum_sha1: - description: "" + readOnly: true + title: Checksum sha1 type: string checksum_sha256: - description: "" + readOnly: true + title: Checksum sha256 type: string checksum_sha512: - description: "" + readOnly: true + title: Checksum sha512 type: string dependencies_checksum_md5: description: A checksum of all of the package's dependencies. + minLength: 1 + readOnly: true + title: Dependencies checksum md5 type: string dependencies_url: - description: "" + format: uri + readOnly: true + title: Dependencies url type: string description: description: A textual description of this package. + minLength: 1 + readOnly: true + title: Description type: string distro: - description: "" - properties: {} - type: object + $ref: '#/components/schemas/Distribution' distro_version: - description: "" - properties: {} - type: object + $ref: '#/components/schemas/DistributionVersion' downloads: - description: "" + readOnly: true + title: Downloads type: integer epoch: description: The epoch of the package version (if any). + readOnly: true + title: Epoch type: integer extension: - description: "" + readOnly: true + title: Extension type: string filename: - description: "" + minLength: 1 + readOnly: true + title: Filename type: string files: - description: "" items: - $ref: '#/components/schemas/_packages__owner___repo___files' - title: FilesList + $ref: '#/components/schemas/PackageFile' + readOnly: true type: array format: - description: "" + minLength: 1 + readOnly: true + title: Format type: string format_url: - description: "" + format: uri + readOnly: true + title: Format url type: string identifier_perm: description: Unique and permanent identifier for the package. + minLength: 1 + readOnly: true + title: Identifier perm type: string indexed: - description: "" + readOnly: true + title: Indexed type: boolean is_downloadable: - description: "" + readOnly: true + title: Is downloadable type: boolean is_quarantined: - description: "" + readOnly: true + title: Is quarantined type: boolean is_sync_awaiting: - description: "" + readOnly: true + title: Is sync awaiting type: boolean is_sync_completed: - description: "" + readOnly: true + title: Is sync completed type: boolean is_sync_failed: - description: "" + readOnly: true + title: Is sync failed type: boolean is_sync_in_flight: - description: "" + readOnly: true + title: Is sync in flight type: boolean is_sync_in_progress: - description: "" + readOnly: true + title: Is sync in progress type: boolean license: description: The license of this package. + minLength: 1 + readOnly: true + title: License type: string name: description: The name of this package. + minLength: 1 + readOnly: true + title: Name type: string namespace: - description: "" + minLength: 1 + readOnly: true + title: Namespace type: string namespace_url: - description: "" + format: uri + readOnly: true + title: Namespace url type: string num_files: - description: "" + readOnly: true + title: Num files type: integer + origin_repository: + minLength: 1 + readOnly: true + title: Origin repository + type: string + origin_repository_url: + format: uri + readOnly: true + title: Origin repository url + type: string package_type: description: The type of package contents. + readOnly: true + title: Package type type: integer release: description: The release of the package version (if any). + minLength: 1 + readOnly: true + title: Release type: string repository: - description: "" + minLength: 1 + readOnly: true + title: Repository type: string repository_url: - description: "" + format: uri + readOnly: true + title: Repository url type: string security_scan_completed_at: description: The datetime the security scanning was completed. + format: date-time + readOnly: true + title: Security scan completed at type: string security_scan_started_at: description: The datetime the security scanning was started. + format: date-time + readOnly: true + title: Security scan started at type: string security_scan_status: - description: "" - enum: - - Awaiting Security Scan - - Security Scanning in Progress - - Scan Detected Vulnerabilities - - Scan Detected No Vulnerabilities - - Security Scanning Disabled - - Security Scanning Failed - - Security Scanning Skipped - - Security Scanning Not Supported + default: Awaiting Security Scan + nullable: true + readOnly: true + title: Security scan status type: string security_scan_status_updated_at: description: The datetime the security scanning status was updated. + format: date-time + readOnly: true + title: Security scan status updated at type: string self_html_url: - description: "" + minLength: 1 + readOnly: true + title: Self html url type: string self_url: - description: "" + format: uri + readOnly: true + title: Self url type: string signature_url: - description: "" + nullable: true + readOnly: true + title: Signature url type: string size: description: The calculated size of the package. + readOnly: true + title: Size type: integer slug: description: The public unique identifier for the package. + format: slug + minLength: 1 + pattern: "^[-a-zA-Z0-9_]+$" + readOnly: true + title: Slug type: string slug_perm: - description: "" + format: slug + minLength: 1 + pattern: "^[-a-zA-Z0-9_]+$" + readOnly: true + title: Slug perm type: string stage: description: The synchronisation (in progress) stage of the package. + readOnly: true + title: Stage type: integer stage_str: - description: "" + readOnly: true + title: Stage str type: string stage_updated_at: description: The datetime the package stage was updated at. + format: date-time + readOnly: true + title: Stage updated at type: string status: description: The synchronisation status of the package. + readOnly: true + title: Status type: integer status_reason: description: A textual description for the synchronous status reason (if any + minLength: 1 + readOnly: true + title: Status reason type: string status_str: - description: "" + readOnly: true + title: Status str type: string status_updated_at: description: The datetime the package status was updated at. + format: date-time + readOnly: true + title: Status updated at type: string status_url: - description: "" + format: uri + readOnly: true + title: Status url type: string subtype: - description: "" + readOnly: true + title: Subtype type: string summary: description: A one-liner synopsis of this package. + minLength: 1 + readOnly: true + title: Summary type: string sync_finished_at: description: The datetime the package sync was finished at. + format: date-time + readOnly: true + title: Sync finished at type: string sync_progress: description: Synchronisation progress (from 0-100) + readOnly: true + title: Sync progress type: integer tags_immutable: - description: All immutable tags on the package, grouped by tag type. Immutable - tags cannot be (easily) deleted. - properties: {} + description: "All tags on the package, grouped by tag type. This includes\ + \ immutable tags, but doesn't distinguish them from mutable. To see which\ + \ tags are immutable specifically, see the tags_immutable field." type: object type_display: - description: "" + readOnly: true + title: Type display type: string uploaded_at: description: The date this package was uploaded. + format: date-time + readOnly: true + title: Uploaded at type: string uploader: - description: "" - type: string - uploader_url: - description: "" - type: string - version: - description: The raw version for this package. - type: string - version_orig: - description: "" - type: string - vulnerability_scan_results_url: - description: "" - type: string - title: HelmPackageUpload - type: object - PackagesUploadRaw: - example: - summary: My Package File - content_type: content_type - republish: true - name: my-package - description: Everything about packaging files. - package_file: y123456789 - version: "1.0" - tags: tags - properties: - content_type: - description: A custom content/media (also known as MIME) type to be sent - when downloading this file. By default Cloudsmith will attempt to detect - the type, but if you need to override it, you can specify it here. - type: string - description: - description: A textual description of this package. - example: Everything about packaging files. - type: string - name: - description: The name of this package. - example: my-package - type: string - package_file: - description: The primary file for the package. - example: y123456789 - type: string - republish: - description: If true, the uploaded package will overwrite any others with - the same attributes (e.g. same version); otherwise, it will be flagged - as a duplicate. - type: boolean - summary: - description: A one-liner synopsis of this package. - example: My Package File - type: string - tags: - description: A comma-separated values list of tags to add to the package. - type: string - version: - description: The raw version for this package. - example: "1.0" - type: string - required: - - package_file - title: PackagesUploadRaw - type: object - PackagesUploadMaven: - example: - sources_file: y1234456789d - tests_file: y1234456789e - republish: true - group_id: io.cloudsmith.example - javadoc_file: y1234456789c - packaging: packaging - artifact_id: cloudsmith-example - package_file: y1234456789a - version: version - pom_file: y1234456789b - tags: tags - properties: - artifact_id: - description: The ID of the artifact. - example: cloudsmith-example - type: string - group_id: - description: Artifact's group ID. - example: io.cloudsmith.example - type: string - javadoc_file: - description: Adds bundled Java documentation to the Maven package - example: y1234456789c - type: string - package_file: - description: The primary file for the package. - example: y1234456789a - type: string - packaging: - description: Artifact's Maven packaging type. - type: string - pom_file: - description: The POM file is an XML file containing the Maven coordinates. - example: y1234456789b - type: string - republish: - description: If true, the uploaded package will overwrite any others with - the same attributes (e.g. same version); otherwise, it will be flagged - as a duplicate. - type: boolean - sources_file: - description: Adds bundled Java source code to the Maven package. - example: y1234456789d - type: string - tags: - description: A comma-separated values list of tags to add to the package. - type: string - tests_file: - description: Adds bundled Java tests to the Maven package. - example: y1234456789e - type: string - version: - description: The raw version for this package. - type: string - required: - - package_file - title: PackagesUploadMaven - type: object - ResourcesRateCheck: - example: - resources: - core: - interval: 5.123456789 - limit: 3600 - remaining: 3595 - reset: 1660736546 - reset_iso_8601: 2022-08-17T11:42:26.298357+00:00 - throttled: false - properties: - resources: - description: Rate limit values per resource - example: - core: - interval: 5.123456789 - limit: 3600 - remaining: 3595 - reset: 1660736546 - reset_iso_8601: 2022-08-17T11:42:26.298357+00:00 - throttled: false - properties: {} - type: object - title: ResourcesRateCheck - type: object - OrganizationTeamMembers_members: - example: - role: role - user: user - properties: - role: - description: "" - type: string - user: - description: "" - type: string - type: object - NamespaceAuditLog: - example: - target_slug_perm: target_slug_perm - actor_kind: actor_kind - object_slug_perm: object_slug_perm - event_at: event_at - uuid: uuid - object_kind: object_kind - target: target - actor: actor - actor_slug_perm: actor_slug_perm - actor_url: actor_url - context: context - actor_ip_address: actor_ip_address - actor_location: '{}' - target_kind: target_kind - event: event - object: object - properties: - actor: - description: "" - type: string - actor_ip_address: - description: "" - type: string - actor_kind: - description: "" - type: string - actor_location: - description: "" - properties: {} - type: object - actor_slug_perm: - description: "" - type: string - actor_url: - description: "" - type: string - context: - description: "" - type: string - event: - description: "" - type: string - event_at: - description: "" - type: string - object: - description: "" - type: string - object_kind: - description: "" - type: string - object_slug_perm: - description: "" - type: string - target: - description: "" - type: string - target_kind: - description: "" - type: string - target_slug_perm: - description: "" - type: string - uuid: - description: "" - type: string - required: - - actor - - actor_ip_address - - actor_location - - actor_slug_perm - - context - - event - - event_at - - object - - object_kind - - object_slug_perm - - target - - target_kind - title: NamespaceAuditLog - type: object - UserBrief: - example: - authenticated: true - profile_url: profile_url - name: Example User - slug_perm: x1y2z3z4y - email: user@example.com - self_url: self_url - slug: example-user - properties: - authenticated: - description: If true then you're logged in as a user. - example: true - type: boolean - email: - description: Your email address that we use to contact you. This is only - visible to you. - example: user@example.com - type: string - name: - description: The full name of the user (if any). - example: Example User - type: string - profile_url: - description: The URL for the full profile of the user. + minLength: 1 + readOnly: true + title: Uploader type: string - self_url: - description: "" + uploader_url: + format: uri + readOnly: true + title: Uploader url type: string - slug: - description: "" - example: example-user + version: + description: The raw version for this package. + minLength: 1 + readOnly: true + title: Version type: string - slug_perm: - description: "" - example: x1y2z3z4y + version_orig: + readOnly: true + title: Version orig + type: string + vulnerability_scan_results_url: + format: uri + readOnly: true + title: Vulnerability scan results url type: string - title: UserBrief type: object - PackagesUploadNuget: + P2PackageUploadRequest: example: republish: true - symbols_file: y1234456789b - package_file: y1234456789a + package_file: package_file tags: tags properties: package_file: description: The primary file for the package. - example: y1234456789a + minLength: 1 + title: Package file type: string republish: - description: If true, the uploaded package will overwrite any others with - the same attributes (e.g. same version); otherwise, it will be flagged - as a duplicate. + description: "If true, the uploaded package will overwrite any others with\ + \ the same attributes (e.g. same version); otherwise, it will be flagged\ + \ as a duplicate." + title: Republish type: boolean - symbols_file: - description: Attaches a symbols file to the package. - example: y1234456789b - type: string tags: description: A comma-separated values list of tags to add to the package. + maxLength: 1024 + minLength: 1 + nullable: true + title: Tags type: string required: - package_file - title: PackagesUploadNuget type: object - PackageResync: + P2PackageUploadResponse: example: architectures: - name: name description: description - name: name description: description - security_scan_status_updated_at: security_scan_status_updated_at + security_scan_status_updated_at: 2000-01-23T04:56:07.000+00:00 checksum_sha256: checksum_sha256 release: release package_type: 5 repository: repository + origin_repository: origin_repository identifier_perm: identifier_perm - stage_updated_at: stage_updated_at - tags_immutable: '{}' + stage_updated_at: 2000-01-23T04:56:07.000+00:00 + tags_immutable: "{}" is_quarantined: true slug: slug - security_scan_started_at: security_scan_started_at + security_scan_started_at: 2000-01-23T04:56:07.000+00:00 security_scan_status: Awaiting Security Scan indexed: true format: format status_str: status_str version_orig: version_orig - namespace_url: namespace_url + namespace_url: https://openapi-generator.tech slug_perm: slug_perm version: version - tags: '{}' license: license filename: filename size: 5 cdn_url: cdn_url - uploaded_at: uploaded_at + uploaded_at: 2000-01-23T04:56:07.000+00:00 is_downloadable: true name: name - sync_finished_at: sync_finished_at + sync_finished_at: 2000-01-23T04:56:07.000+00:00 files: - checksum_sha512: checksum_sha512 checksum_sha1: checksum_sha1 @@ -16405,1455 +18339,960 @@ components: num_files: 1 status: 7 checksum_sha512: checksum_sha512 - distro: '{}' + distro: + name: name + variants: variants + self_url: https://openapi-generator.tech + slug: slug extension: extension description: description epoch: 6 is_sync_completed: true - distro_version: '{}' + distro_version: + name: name + slug: slug type_display: type_display - vulnerability_scan_results_url: vulnerability_scan_results_url + vulnerability_scan_results_url: https://openapi-generator.tech dependencies_checksum_md5: dependencies_checksum_md5 downloads: 0 subtype: subtype uploader: uploader signature_url: signature_url - repository_url: repository_url + repository_url: https://openapi-generator.tech status_reason: status_reason - status_updated_at: status_updated_at + status_updated_at: 2000-01-23T04:56:07.000+00:00 summary: summary checksum_sha1: checksum_sha1 checksum_md5: checksum_md5 sync_progress: 9 is_sync_awaiting: true - uploader_url: uploader_url + uploader_url: https://openapi-generator.tech self_html_url: self_html_url - self_url: self_url - status_url: status_url + origin_repository_url: https://openapi-generator.tech + self_url: https://openapi-generator.tech + status_url: https://openapi-generator.tech is_sync_in_flight: true - security_scan_completed_at: security_scan_completed_at + security_scan_completed_at: 2000-01-23T04:56:07.000+00:00 is_sync_in_progress: true stage_str: stage_str stage: 2 - format_url: format_url - dependencies_url: dependencies_url + format_url: https://openapi-generator.tech + dependencies_url: https://openapi-generator.tech namespace: namespace is_sync_failed: true properties: architectures: - description: "" items: - $ref: '#/components/schemas/_packages__owner___repo___architectures' - title: ArchitecturesList + $ref: '#/components/schemas/Architecture' + readOnly: true type: array cdn_url: - description: "" + nullable: true + readOnly: true + title: Cdn url type: string checksum_md5: - description: "" + readOnly: true + title: Checksum md5 type: string checksum_sha1: - description: "" + readOnly: true + title: Checksum sha1 type: string checksum_sha256: - description: "" + readOnly: true + title: Checksum sha256 type: string checksum_sha512: - description: "" + readOnly: true + title: Checksum sha512 type: string dependencies_checksum_md5: description: A checksum of all of the package's dependencies. + minLength: 1 + readOnly: true + title: Dependencies checksum md5 type: string dependencies_url: - description: "" + format: uri + readOnly: true + title: Dependencies url type: string description: description: A textual description of this package. + minLength: 1 + readOnly: true + title: Description type: string distro: - description: "" - properties: {} - type: object + $ref: '#/components/schemas/Distribution' distro_version: - description: "" - properties: {} - type: object + $ref: '#/components/schemas/DistributionVersion' downloads: - description: "" + readOnly: true + title: Downloads type: integer epoch: description: The epoch of the package version (if any). + readOnly: true + title: Epoch type: integer extension: - description: "" + readOnly: true + title: Extension type: string filename: - description: "" + minLength: 1 + readOnly: true + title: Filename type: string files: - description: "" items: - $ref: '#/components/schemas/_packages__owner___repo___files' - title: FilesList + $ref: '#/components/schemas/PackageFile' + readOnly: true type: array format: - description: "" + minLength: 1 + readOnly: true + title: Format type: string format_url: - description: "" + format: uri + readOnly: true + title: Format url type: string identifier_perm: description: Unique and permanent identifier for the package. + minLength: 1 + readOnly: true + title: Identifier perm type: string indexed: - description: "" + readOnly: true + title: Indexed type: boolean is_downloadable: - description: "" + readOnly: true + title: Is downloadable type: boolean is_quarantined: - description: "" + readOnly: true + title: Is quarantined type: boolean is_sync_awaiting: - description: "" + readOnly: true + title: Is sync awaiting type: boolean is_sync_completed: - description: "" + readOnly: true + title: Is sync completed type: boolean is_sync_failed: - description: "" + readOnly: true + title: Is sync failed type: boolean is_sync_in_flight: - description: "" + readOnly: true + title: Is sync in flight type: boolean is_sync_in_progress: - description: "" + readOnly: true + title: Is sync in progress type: boolean license: description: The license of this package. + minLength: 1 + readOnly: true + title: License type: string name: description: The name of this package. + minLength: 1 + readOnly: true + title: Name type: string namespace: - description: "" + minLength: 1 + readOnly: true + title: Namespace type: string namespace_url: - description: "" + format: uri + readOnly: true + title: Namespace url type: string num_files: - description: "" + readOnly: true + title: Num files type: integer + origin_repository: + minLength: 1 + readOnly: true + title: Origin repository + type: string + origin_repository_url: + format: uri + readOnly: true + title: Origin repository url + type: string package_type: description: The type of package contents. + readOnly: true + title: Package type type: integer release: description: The release of the package version (if any). + minLength: 1 + readOnly: true + title: Release type: string repository: - description: "" + minLength: 1 + readOnly: true + title: Repository type: string repository_url: - description: "" + format: uri + readOnly: true + title: Repository url type: string security_scan_completed_at: description: The datetime the security scanning was completed. + format: date-time + readOnly: true + title: Security scan completed at type: string security_scan_started_at: description: The datetime the security scanning was started. + format: date-time + readOnly: true + title: Security scan started at type: string security_scan_status: - description: "" - enum: - - Awaiting Security Scan - - Security Scanning in Progress - - Scan Detected Vulnerabilities - - Scan Detected No Vulnerabilities - - Security Scanning Disabled - - Security Scanning Failed - - Security Scanning Skipped - - Security Scanning Not Supported + default: Awaiting Security Scan + nullable: true + readOnly: true + title: Security scan status type: string security_scan_status_updated_at: description: The datetime the security scanning status was updated. + format: date-time + readOnly: true + title: Security scan status updated at type: string self_html_url: - description: "" + minLength: 1 + readOnly: true + title: Self html url type: string self_url: - description: "" + format: uri + readOnly: true + title: Self url type: string signature_url: - description: "" + nullable: true + readOnly: true + title: Signature url type: string size: description: The calculated size of the package. + readOnly: true + title: Size type: integer slug: description: The public unique identifier for the package. + format: slug + minLength: 1 + pattern: "^[-a-zA-Z0-9_]+$" + readOnly: true + title: Slug type: string slug_perm: - description: "" + format: slug + minLength: 1 + pattern: "^[-a-zA-Z0-9_]+$" + readOnly: true + title: Slug perm type: string stage: description: The synchronisation (in progress) stage of the package. + readOnly: true + title: Stage type: integer stage_str: - description: "" + readOnly: true + title: Stage str type: string stage_updated_at: description: The datetime the package stage was updated at. + format: date-time + readOnly: true + title: Stage updated at type: string status: description: The synchronisation status of the package. + readOnly: true + title: Status type: integer status_reason: description: A textual description for the synchronous status reason (if any + minLength: 1 + readOnly: true + title: Status reason type: string status_str: - description: "" + readOnly: true + title: Status str type: string status_updated_at: description: The datetime the package status was updated at. + format: date-time + readOnly: true + title: Status updated at type: string status_url: - description: "" + format: uri + readOnly: true + title: Status url type: string subtype: - description: "" - type: string - summary: - description: A one-liner synopsis of this package. - type: string - sync_finished_at: - description: The datetime the package sync was finished at. - type: string - sync_progress: - description: Synchronisation progress (from 0-100) - type: integer - tags: - description: All tags on the package, grouped by tag type. This includes - immutable tags, but doesn't distinguish them from mutable. To see which - tags are immutable specifically, see the tags_immutable field. - properties: {} - type: object - tags_immutable: - description: All immutable tags on the package, grouped by tag type. Immutable - tags cannot be (easily) deleted. - properties: {} - type: object - type_display: - description: "" - type: string - uploaded_at: - description: The date this package was uploaded. - type: string - uploader: - description: "" - type: string - uploader_url: - description: "" - type: string - version: - description: The raw version for this package. - type: string - version_orig: - description: "" - type: string - vulnerability_scan_results_url: - description: "" - type: string - title: PackageResync - type: object - PackagesValidate_uploadHelm: - properties: - package_file: - description: The primary file for the package. - example: x123456789a - type: string - republish: - description: If true, the uploaded package will overwrite any others with - the same attributes (e.g. same version); otherwise, it will be flagged - as a duplicate. - type: boolean - tags: - description: A comma-separated values list of tags to add to the package. - type: string - required: - - package_file - title: PackagesValidate-uploadHelm - type: object - PackagesValidate_uploadComposer: - properties: - package_file: - description: The primary file for the package. - example: y123456789 - type: string - republish: - description: If true, the uploaded package will overwrite any others with - the same attributes (e.g. same version); otherwise, it will be flagged - as a duplicate. - type: boolean - tags: - description: A comma-separated values list of tags to add to the package. - type: string - required: - - package_file - title: PackagesValidate-uploadComposer - type: object - PackagesUploadVagrant: - example: - republish: true - provider: virtualbox - name: tcl - package_file: y123456789x - version: "1.0" - tags: tags - properties: - name: - description: The name of this package. - example: tcl - type: string - package_file: - description: The primary file for the package. - example: y123456789x - type: string - provider: - description: The virtual machine provider for the box. - example: virtualbox - type: string - republish: - description: If true, the uploaded package will overwrite any others with - the same attributes (e.g. same version); otherwise, it will be flagged - as a duplicate. - type: boolean - tags: - description: A comma-separated values list of tags to add to the package. - type: string - version: - description: The raw version for this package. - example: "1.0" - type: string - required: - - name - - package_file - - provider - - version - title: PackagesUploadVagrant - type: object - PackagesValidate_uploadCocoapods: - properties: - package_file: - description: The primary file for the package. - example: z123456789 - type: string - republish: - description: If true, the uploaded package will overwrite any others with - the same attributes (e.g. same version); otherwise, it will be flagged - as a duplicate. - type: boolean - tags: - description: A comma-separated values list of tags to add to the package. - type: string - required: - - package_file - title: PackagesValidate-uploadCocoapods - type: object - RepositoryTokenSync_tokens: - example: - limit_date_range_to: limit_date_range_to - metadata: metadata - clients: 0 - limit_bandwidth_unit: limit_bandwidth_unit - scheduled_reset_at: scheduled_reset_at - usage: usage - limit_bandwidth: 5 - created_at: created_at - limit_num_clients: 5 - eula_accepted_at: eula_accepted_at - limit_package_query: limit_package_query - limit_path_query: limit_path_query - default: true - updated_at: updated_at - downloads: 6 - user_url: user_url - limit_date_range_from: limit_date_range_from - reset_url: reset_url - limit_num_downloads: 2 - eula_required: true - refresh_url: refresh_url - scheduled_reset_period: scheduled_reset_period - identifier: 1 - is_active: true - eula_accepted: '{}' - eula_accepted_from: eula_accepted_from - created_by_url: created_by_url - is_limited: true - slug_perm: slug_perm - created_by: created_by - enable_url: enable_url - self_url: self_url - token: token - updated_by_url: updated_by_url - disable_url: disable_url - name: name - updated_by: updated_by - has_limits: true - user: user - properties: - clients: - description: "" - type: integer - created_at: - description: The datetime the token was updated at. - type: string - created_by: - description: "" - type: string - created_by_url: - description: "" - type: string - default: - description: If selected this is the default token for this repository. - type: boolean - disable_url: - description: "" - type: string - downloads: - description: "" - type: integer - enable_url: - description: "" - type: string - eula_accepted: - description: "" - properties: {} - type: object - eula_accepted_at: - description: The datetime the EULA was accepted at. - type: string - eula_accepted_from: - description: "" - type: string - eula_required: - description: If checked, a EULA acceptance is required for this token. - type: boolean - has_limits: - description: "" - type: boolean - identifier: - description: "" - type: integer - is_active: - description: If enabled, the token will allow downloads based on configured - restrictions (if any). - type: boolean - is_limited: - description: "" - type: boolean - limit_bandwidth: - description: 'The maximum download bandwidth allowed for the token. Values - are expressed as the selected unit of bandwidth. Please note that since - downloads are calculated asynchronously (after the download happens), - the limit may not be imposed immediately but at a later point. ' - type: integer - limit_bandwidth_unit: - description: "" - type: string - limit_date_range_from: - description: The starting date/time the token is allowed to be used from. - type: string - limit_date_range_to: - description: The ending date/time the token is allowed to be used until. - type: string - limit_num_clients: - description: The maximum number of unique clients allowed for the token. - Please note that since clients are calculated asynchronously (after the - download happens), the limit may not be imposed immediately but at a later - point. - type: integer - limit_num_downloads: - description: The maximum number of downloads allowed for the token. Please - note that since downloads are calculated asynchronously (after the download - happens), the limit may not be imposed immediately but at a later point. - type: integer - limit_package_query: - description: The package-based search query to apply to restrict downloads - to. This uses the same syntax as the standard search used for repositories, - and also supports boolean logic operators such as OR/AND/NOT and parentheses - for grouping. This will still allow access to non-package files, such - as metadata. - type: string - limit_path_query: - description: The path-based search query to apply to restrict downloads - to. This supports boolean logic operators such as OR/AND/NOT and parentheses - for grouping. The path evaluated does not include the domain name, the - namespace, the entitlement code used, the package format, etc. and it - always starts with a forward slash. - type: string - metadata: - description: "" - type: string - name: - description: "" - type: string - refresh_url: - description: "" - type: string - reset_url: - description: "" - type: string - scheduled_reset_at: - description: The time at which the scheduled reset period has elapsed and - the token limits were automatically reset to zero. - type: string - scheduled_reset_period: - description: "" - type: string - self_url: - description: "" - type: string - slug_perm: - description: "" - type: string - token: - description: "" - type: string - updated_at: - description: The datetime the token was updated at. - type: string - updated_by: - description: "" - type: string - updated_by_url: - description: "" - type: string - usage: - description: "" - type: string - user: - description: "" - type: string - user_url: - description: "" - type: string - type: object - EntitlementsRefresh: - example: - limit_date_range_to: limit_date_range_to - metadata: '{}' - is_active: true - limit_bandwidth_unit: Byte - scheduled_reset_at: scheduled_reset_at - limit_bandwidth: 0 - limit_num_clients: 6 - limit_package_query: limit_package_query - limit_path_query: limit_path_query - token: token - limit_date_range_from: limit_date_range_from - limit_num_downloads: 1 - eula_required: true - scheduled_reset_period: Never Reset - properties: - eula_required: - description: If checked, a EULA acceptance is required for this token. - type: boolean - is_active: - description: If enabled, the token will allow downloads based on configured - restrictions (if any). - type: boolean - limit_bandwidth: - description: 'The maximum download bandwidth allowed for the token. Values - are expressed as the selected unit of bandwidth. Please note that since - downloads are calculated asynchronously (after the download happens), - the limit may not be imposed immediately but at a later point. ' - type: integer - limit_bandwidth_unit: - description: None - enum: - - Byte - - Kilobyte - - Megabyte - - Gigabyte - - Terabyte - - Petabyte - - Exabyte - - Zettabyte - - Yottabyte - type: string - limit_date_range_from: - description: The starting date/time the token is allowed to be used from. - type: string - limit_date_range_to: - description: The ending date/time the token is allowed to be used until. + readOnly: true + title: Subtype type: string - limit_num_clients: - description: The maximum number of unique clients allowed for the token. - Please note that since clients are calculated asynchronously (after the - download happens), the limit may not be imposed immediately but at a later - point. - type: integer - limit_num_downloads: - description: The maximum number of downloads allowed for the token. Please - note that since downloads are calculated asynchronously (after the download - happens), the limit may not be imposed immediately but at a later point. - type: integer - limit_package_query: - description: The package-based search query to apply to restrict downloads - to. This uses the same syntax as the standard search used for repositories, - and also supports boolean logic operators such as OR/AND/NOT and parentheses - for grouping. This will still allow access to non-package files, such - as metadata. + summary: + description: A one-liner synopsis of this package. + minLength: 1 + readOnly: true + title: Summary type: string - limit_path_query: - description: The path-based search query to apply to restrict downloads - to. This supports boolean logic operators such as OR/AND/NOT and parentheses - for grouping. The path evaluated does not include the domain name, the - namespace, the entitlement code used, the package format, etc. and it - always starts with a forward slash. + sync_finished_at: + description: The datetime the package sync was finished at. + format: date-time + readOnly: true + title: Sync finished at type: string - metadata: - description: None - properties: {} + sync_progress: + description: Synchronisation progress (from 0-100) + readOnly: true + title: Sync progress + type: integer + tags_immutable: + description: "All tags on the package, grouped by tag type. This includes\ + \ immutable tags, but doesn't distinguish them from mutable. To see which\ + \ tags are immutable specifically, see the tags_immutable field." type: object - scheduled_reset_at: - description: The time at which the scheduled reset period has elapsed and - the token limits were automatically reset to zero. - type: string - scheduled_reset_period: - description: None - enum: - - Never Reset - - Daily - - Weekly - - Fortnightly - - Monthly - - Bi-Monthly - - Quarterly - - Every 6 months - - Annual + type_display: + readOnly: true + title: Type display type: string - token: - description: None + uploaded_at: + description: The date this package was uploaded. + format: date-time + readOnly: true + title: Uploaded at type: string - title: EntitlementsRefresh - type: object - PackagesValidate_uploadDeb: - properties: - changes_file: - description: The changes archive containing the changes made to the source - and debian packaging files - example: y123456789 + uploader: + minLength: 1 + readOnly: true + title: Uploader type: string - distribution: - description: The distribution to store the package for. - example: ubuntu/xenial + uploader_url: + format: uri + readOnly: true + title: Uploader url type: string - package_file: - description: The primary file for the package. - example: y123456789 + version: + description: The raw version for this package. + minLength: 1 + readOnly: true + title: Version type: string - republish: - description: If true, the uploaded package will overwrite any others with - the same attributes (e.g. same version); otherwise, it will be flagged - as a duplicate. - type: boolean - sources_file: - description: The sources archive containing the source code for the binary - example: y123456789 + version_orig: + readOnly: true + title: Version orig type: string - tags: - description: A comma-separated values list of tags to add to the package. + vulnerability_scan_results_url: + format: uri + readOnly: true + title: Vulnerability scan results url type: string - required: - - distribution - - package_file - title: PackagesValidate-uploadDeb type: object - PackagesValidate_uploadGo: + PythonPackageUploadRequest: + example: + republish: true + package_file: package_file + tags: tags properties: package_file: description: The primary file for the package. - example: x123456789a + minLength: 1 + title: Package file type: string republish: - description: If true, the uploaded package will overwrite any others with - the same attributes (e.g. same version); otherwise, it will be flagged - as a duplicate. + description: "If true, the uploaded package will overwrite any others with\ + \ the same attributes (e.g. same version); otherwise, it will be flagged\ + \ as a duplicate." + title: Republish type: boolean tags: description: A comma-separated values list of tags to add to the package. + maxLength: 1024 + minLength: 1 + nullable: true + title: Tags type: string required: - package_file - title: PackagesValidate-uploadGo - type: object - PackageFilePartsUpload: - example: - identifier: identifier - upload_querystring: upload_querystring - upload_url: upload_url - properties: - identifier: - description: The identifier for the file to use uploading parts. - type: string - upload_querystring: - description: The querystring to use for the next-step PUT upload. - type: string - upload_url: - description: The URL to use for the next-step PUT upload - type: string - title: PackageFilePartsUpload type: object - Repository: + PythonPackageUploadResponse: example: - scan_packages: Admin - index_files: true - repository_type: 5 - use_source_packages: true - package_group_count: 1 - repository_type_str: Public - use_vulnerability_scanning: true - resync_own: true + architectures: + - name: name + description: description + - name: name + description: description + security_scan_status_updated_at: 2000-01-23T04:56:07.000+00:00 + checksum_sha256: checksum_sha256 + release: release + package_type: 5 + repository: repository + origin_repository: origin_repository + identifier_perm: identifier_perm + stage_updated_at: 2000-01-23T04:56:07.000+00:00 + tags_immutable: "{}" + is_quarantined: true slug: slug - raw_package_index_enabled: true - namespace_url: namespace_url + security_scan_started_at: 2000-01-23T04:56:07.000+00:00 + security_scan_status: Awaiting Security Scan + indexed: true + format: format + status_str: status_str + version_orig: version_orig + namespace_url: https://openapi-generator.tech slug_perm: slug_perm - deleted_at: deleted_at - replace_packages: Admin - user_entitlements_enabled: true - num_downloads: 0 - package_count: 6 - use_default_cargo_upstream: true + version: version + license: license + filename: filename size: 5 cdn_url: cdn_url - scan_own: true + uploaded_at: 2000-01-23T04:56:07.000+00:00 + is_downloadable: true name: name - replace_packages_by_default: true - default_privilege: Admin - delete_own: true - is_private: true - move_packages: Admin - show_setup_all: true - created_at: created_at + sync_finished_at: 2000-01-23T04:56:07.000+00:00 + files: + - checksum_sha512: checksum_sha512 + checksum_sha1: checksum_sha1 + checksum_sha256: checksum_sha256 + is_primary: true + checksum_md5: checksum_md5 + slug_perm: slug_perm + filename: filename + size: 5 + cdn_url: cdn_url + downloads: 1 + is_synchronised: true + is_downloadable: true + signature_url: signature_url + tag: tag + - checksum_sha512: checksum_sha512 + checksum_sha1: checksum_sha1 + checksum_sha256: checksum_sha256 + is_primary: true + checksum_md5: checksum_md5 + slug_perm: slug_perm + filename: filename + size: 5 + cdn_url: cdn_url + downloads: 1 + is_synchronised: true + is_downloadable: true + signature_url: signature_url + tag: tag + num_files: 1 + status: 7 + checksum_sha512: checksum_sha512 + distro: + name: name + variants: variants + self_url: https://openapi-generator.tech + slug: slug + extension: extension description: description - docker_refresh_tokens_enabled: true - proxy_npmjs: true - move_own: true - delete_packages: Admin - is_open_source: true - copy_own: true - proxy_pypi: true - contextual_auth_realm: true - resync_packages: Admin - view_statistics: Admin - copy_packages: Admin + epoch: 6 + is_sync_completed: true + distro_version: + name: name + slug: slug + type_display: type_display + vulnerability_scan_results_url: https://openapi-generator.tech + dependencies_checksum_md5: dependencies_checksum_md5 + downloads: 0 + subtype: subtype + uploader: uploader + signature_url: signature_url + repository_url: https://openapi-generator.tech + status_reason: status_reason + status_updated_at: 2000-01-23T04:56:07.000+00:00 + summary: summary + checksum_sha1: checksum_sha1 + checksum_md5: checksum_md5 + sync_progress: 9 + is_sync_awaiting: true + uploader_url: https://openapi-generator.tech self_html_url: self_html_url - self_url: self_url - use_noarch_packages: true - storage_region: storage_region - size_str: size_str - gpg_keys: - - public_key: public_key - default: true - fingerprint: fingerprint - active: true - created_at: created_at - comment: comment - fingerprint_short: fingerprint_short - - public_key: public_key - default: true - fingerprint: fingerprint - active: true - created_at: created_at - comment: comment - fingerprint_short: fingerprint_short - is_public: true + origin_repository_url: https://openapi-generator.tech + self_url: https://openapi-generator.tech + status_url: https://openapi-generator.tech + is_sync_in_flight: true + security_scan_completed_at: 2000-01-23T04:56:07.000+00:00 + is_sync_in_progress: true + stage_str: stage_str + stage: 2 + format_url: https://openapi-generator.tech + dependencies_url: https://openapi-generator.tech namespace: namespace - use_debian_labels: true - strict_npm_validation: true - raw_package_index_signatures_enabled: true + is_sync_failed: true properties: + architectures: + items: + $ref: '#/components/schemas/Architecture' + readOnly: true + type: array cdn_url: - description: Base URL from which packages and other artifacts are downloaded. + nullable: true + readOnly: true + title: Cdn url type: string - contextual_auth_realm: - description: If checked, missing credentials for this repository where basic - authentication is required shall present an enriched value in the 'WWW-Authenticate' - header containing the namespace and repository. This can be useful for - tooling such as SBT where the authentication realm is used to distinguish - and disambiguate credentials. - type: boolean - copy_own: - description: If checked, users can copy any of their own packages that they - have uploaded, assuming that they still have write privilege for the repository. - This takes precedence over privileges configured in the 'Access Controls' - section of the repository, and any inherited from the org. - type: boolean - copy_packages: - description: This defines the minimum level of privilege required for a - user to copy packages. Unless the package was uploaded by that user, in - which the permission may be overridden by the user-specific copy setting. - enum: - - Admin - - Write - - Read + checksum_md5: + readOnly: true + title: Checksum md5 type: string - created_at: - description: "" + checksum_sha1: + readOnly: true + title: Checksum sha1 type: string - default_privilege: - description: This defines the default level of privilege that all of your - organization members have for this repository. This does not include collaborators, - but applies to any member of the org regardless of their own membership - role (i.e. it applies to owners, managers and members). Be careful if - setting this to admin, because any member will be able to change settings. - enum: - - Admin - - Write - - Read - - None + checksum_sha256: + readOnly: true + title: Checksum sha256 type: string - delete_own: - description: If checked, users can delete any of their own packages that - they have uploaded, assuming that they still have write privilege for - the repository. This takes precedence over privileges configured in the - 'Access Controls' section of the repository, and any inherited from the - org. - type: boolean - delete_packages: - description: This defines the minimum level of privilege required for a - user to delete packages. Unless the package was uploaded by that user, - in which the permission may be overridden by the user-specific delete - setting. - enum: - - Admin - - Write + checksum_sha512: + readOnly: true + title: Checksum sha512 type: string - deleted_at: - description: "" + dependencies_checksum_md5: + description: A checksum of all of the package's dependencies. + minLength: 1 + readOnly: true + title: Dependencies checksum md5 + type: string + dependencies_url: + format: uri + readOnly: true + title: Dependencies url type: string description: - description: A description of the repository's purpose/contents. + description: A textual description of this package. + minLength: 1 + readOnly: true + title: Description type: string - docker_refresh_tokens_enabled: - description: If checked, refresh tokens will be issued in addition to access - tokens for Docker authentication. This allows unlimited extension of the - lifetime of access tokens. - type: boolean - gpg_keys: - description: "" + distro: + $ref: '#/components/schemas/Distribution' + distro_version: + $ref: '#/components/schemas/DistributionVersion' + downloads: + readOnly: true + title: Downloads + type: integer + epoch: + description: The epoch of the package version (if any). + readOnly: true + title: Epoch + type: integer + extension: + readOnly: true + title: Extension + type: string + filename: + minLength: 1 + readOnly: true + title: Filename + type: string + files: items: - $ref: '#/components/schemas/_repos__gpg_keys' - title: Gpg keysList + $ref: '#/components/schemas/PackageFile' + readOnly: true type: array - index_files: - description: If checked, files contained in packages will be indexed, which - increase the synchronisation time required for packages. Note that it - is recommended you keep this enabled unless the synchronisation time is - significantly impacted. + format: + minLength: 1 + readOnly: true + title: Format + type: string + format_url: + format: uri + readOnly: true + title: Format url + type: string + identifier_perm: + description: Unique and permanent identifier for the package. + minLength: 1 + readOnly: true + title: Identifier perm + type: string + indexed: + readOnly: true + title: Indexed type: boolean - is_open_source: - description: "" + is_downloadable: + readOnly: true + title: Is downloadable type: boolean - is_private: - description: "" + is_quarantined: + readOnly: true + title: Is quarantined + type: boolean + is_sync_awaiting: + readOnly: true + title: Is sync awaiting + type: boolean + is_sync_completed: + readOnly: true + title: Is sync completed + type: boolean + is_sync_failed: + readOnly: true + title: Is sync failed type: boolean - is_public: - description: "" + is_sync_in_flight: + readOnly: true + title: Is sync in flight type: boolean - move_own: - description: If checked, users can move any of their own packages that they - have uploaded, assuming that they still have write privilege for the repository. - This takes precedence over privileges configured in the 'Access Controls' - section of the repository, and any inherited from the org. + is_sync_in_progress: + readOnly: true + title: Is sync in progress type: boolean - move_packages: - description: This defines the minimum level of privilege required for a - user to move packages. Unless the package was uploaded by that user, in - which the permission may be overridden by the user-specific move setting. - enum: - - Admin - - Write - - Read + license: + description: The license of this package. + minLength: 1 + readOnly: true + title: License type: string name: - description: A descriptive name for the repository. + description: The name of this package. + minLength: 1 + readOnly: true + title: Name type: string namespace: - description: Namespace to which this repository belongs. + minLength: 1 + readOnly: true + title: Namespace type: string namespace_url: - description: API endpoint where data about this namespace can be retrieved. + format: uri + readOnly: true + title: Namespace url type: string - num_downloads: - description: The number of downloads for packages in the repository. - type: integer - package_count: - description: The number of packages in the repository. - type: integer - package_group_count: - description: The number of groups in the repository. + num_files: + readOnly: true + title: Num files type: integer - proxy_npmjs: - description: If checked, Npm packages that are not in the repository when - requested by clients will automatically be proxied from the public npmjs.org - registry. If there is at least one version for a package, others will - not be proxied. - type: boolean - proxy_pypi: - description: If checked, Python packages that are not in the repository - when requested by clients will automatically be proxied from the public - pypi.python.org registry. If there is at least one version for a package, - others will not be proxied. - type: boolean - raw_package_index_enabled: - description: If checked, HTML and JSON indexes will be generated that list - all available raw packages in the repository. - type: boolean - raw_package_index_signatures_enabled: - description: If checked, the HTML and JSON indexes will display raw package - GPG signatures alongside the index packages. - type: boolean - replace_packages: - description: This defines the minimum level of privilege required for a - user to republish packages. Unless the package was uploaded by that user, - in which the permission may be overridden by the user-specific republish - setting. Please note that the user still requires the privilege to delete - packages that will be replaced by the new package; otherwise the republish - will fail. - enum: - - Admin - - Write + origin_repository: + minLength: 1 + readOnly: true + title: Origin repository type: string - replace_packages_by_default: - description: If checked, uploaded packages will overwrite/replace any others - with the same attributes (e.g. same version) by default. This only applies - if the user has the required privilege for the republishing AND has the - required privilege to delete existing packages that they don't own. - type: boolean - repository_type: - description: The repository type changes how it is accessed and billed. - Private repositories can only be used on paid plans, but are visible only - to you or authorised delegates. Open-Source repositories are always visible - to everyone and are restricted by licensing, but are free to use and come - with generous bandwidth/storage. You can only select Open-Source at repository - creation time. + origin_repository_url: + format: uri + readOnly: true + title: Origin repository url + type: string + package_type: + description: The type of package contents. + readOnly: true + title: Package type type: integer - repository_type_str: - description: The repository type changes how it is accessed and billed. - Private repositories can only be used on paid plans, but are visible only - to you or authorised delegates. Public repositories are free to use on - all plans and visible to all Cloudsmith users. - enum: - - Public - - Private - - Open-Source + release: + description: The release of the package version (if any). + minLength: 1 + readOnly: true + title: Release type: string - resync_own: - description: If checked, users can resync any of their own packages that - they have uploaded, assuming that they still have write privilege for - the repository. This takes precedence over privileges configured in the - 'Access Controls' section of the repository, and any inherited from the - org. - type: boolean - resync_packages: - description: This defines the minimum level of privilege required for a - user to resync packages. Unless the package was uploaded by that user, - in which the permission may be overridden by the user-specific resync - setting. - enum: - - Admin - - Write + repository: + minLength: 1 + readOnly: true + title: Repository type: string - scan_own: - description: If checked, users can scan any of their own packages that they - have uploaded, assuming that they still have write privilege for the repository. - This takes precedence over privileges configured in the 'Access Controls' - section of the repository, and any inherited from the org. - type: boolean - scan_packages: - description: This defines the minimum level of privilege required for a - user to scan packages. Unless the package was uploaded by that user, in - which the permission may be overridden by the user-specific scan setting. - enum: - - Admin - - Write - - Read + repository_url: + format: uri + readOnly: true + title: Repository url + type: string + security_scan_completed_at: + description: The datetime the security scanning was completed. + format: date-time + readOnly: true + title: Security scan completed at + type: string + security_scan_started_at: + description: The datetime the security scanning was started. + format: date-time + readOnly: true + title: Security scan started at + type: string + security_scan_status: + default: Awaiting Security Scan + nullable: true + readOnly: true + title: Security scan status + type: string + security_scan_status_updated_at: + description: The datetime the security scanning status was updated. + format: date-time + readOnly: true + title: Security scan status updated at type: string self_html_url: - description: Website URL for this repository. + minLength: 1 + readOnly: true + title: Self html url type: string self_url: - description: API endpoint where data about this repository can be retrieved. + format: uri + readOnly: true + title: Self url + type: string + signature_url: + nullable: true + readOnly: true + title: Signature url type: string - show_setup_all: - description: If checked, the Set Me Up help for all formats will always - be shown, even if you don't have packages of that type uploaded. Otherwise, - help will only be shown for packages that are in the repository. For example, - if you have uploaded only NuGet packages, then the Set Me Up help for - NuGet packages will be shown only. - type: boolean size: - description: The calculated size of the repository. + description: The calculated size of the package. + readOnly: true + title: Size type: integer - size_str: - description: The calculated size of the repository (human readable). - type: string slug: - description: The slug identifies the repository in URIs. + description: The public unique identifier for the package. + format: slug + minLength: 1 + pattern: "^[-a-zA-Z0-9_]+$" + readOnly: true + title: Slug type: string slug_perm: - description: The slug_perm immutably identifies the repository. It will - never change once a repository has been created. + format: slug + minLength: 1 + pattern: "^[-a-zA-Z0-9_]+$" + readOnly: true + title: Slug perm type: string - storage_region: - description: The Cloudsmith region in which package files are stored. + stage: + description: The synchronisation (in progress) stage of the package. + readOnly: true + title: Stage + type: integer + stage_str: + readOnly: true + title: Stage str type: string - strict_npm_validation: - description: If checked, npm packages will be validated strictly to ensure - the package matches specifcation. You can turn this off if you have packages - that are old or otherwise mildly off-spec, but we can't guarantee the - packages will work with npm-cli or other tooling correctly. Turn off at - your own risk! - type: boolean - use_debian_labels: - description: If checked, a 'Label' field will be present in Debian-based - repositories. It will contain a string that identifies the entitlement - token used to authenticate the repository, in the form of 'source=t-'; - or 'source=none' if no token was used. You can use this to help with pinning. - type: boolean - use_default_cargo_upstream: - description: If checked, dependencies of uploaded Cargo crates which do - not set an explicit value for "registry" will be assumed to be available - from crates.io. If unchecked, dependencies with unspecified "registry" - values will be assumed to be available in the registry being uploaded - to. Uncheck this if you want to ensure that dependencies are only ever - installed from Cloudsmith unless explicitly specified as belong to another - registry. - type: boolean - use_noarch_packages: - description: If checked, noarch packages (if supported) are enabled in installations/configurations. - A noarch package is one that is not tied to specific system architecture - (like i686). - type: boolean - use_source_packages: - description: If checked, source packages (if supported) are enabled in installations/configurations. - A source package is one that contains source code rather than built binaries. - type: boolean - use_vulnerability_scanning: - description: If checked, vulnerability scanning will be enabled for all - supported packages within this repository. - type: boolean - user_entitlements_enabled: - description: If checked, users can use and manage their own user-specific - entitlement token for the repository (if private). Otherwise, user-specific - entitlements are disabled for all users. - type: boolean - view_statistics: - description: This defines the minimum level of privilege required for a - user to view repository statistics, to include entitlement-based usage, - if applciable. If a user does not have the permission, they won't be able - to view any statistics, either via the UI, API or CLI. - enum: - - Admin - - Write - - Read + stage_updated_at: + description: The datetime the package stage was updated at. + format: date-time + readOnly: true + title: Stage updated at type: string - required: - - name - title: Repository - type: object - PackageUsageMetrics: - example: - packages: - active: 1 - bandwidth: - average: - display: 11 B - units: bytes - value: 11 - highest: - display: 11 B - units: bytes - value: 11 - lowest: - display: 11 B - units: bytes - value: 11 - total: - display: 11 B - units: bytes - value: 11 - downloads: - average: - value: 5 - highest: - value: 5 - lowest: - value: 5 - total: - value: 5 - inactive: 0 - total: 0 - properties: - packages: - description: "" - example: - active: 1 - bandwidth: - average: - display: 11 B - units: bytes - value: 11 - highest: - display: 11 B - units: bytes - value: 11 - lowest: - display: 11 B - units: bytes - value: 11 - total: - display: 11 B - units: bytes - value: 11 - downloads: - average: - value: 5 - highest: - value: 5 - lowest: - value: 5 - total: - value: 5 - inactive: 0 - total: 0 - properties: {} + status: + description: The synchronisation status of the package. + readOnly: true + title: Status + type: integer + status_reason: + description: A textual description for the synchronous status reason (if + any + minLength: 1 + readOnly: true + title: Status reason + type: string + status_str: + readOnly: true + title: Status str + type: string + status_updated_at: + description: The datetime the package status was updated at. + format: date-time + readOnly: true + title: Status updated at + type: string + status_url: + format: uri + readOnly: true + title: Status url + type: string + subtype: + readOnly: true + title: Subtype + type: string + summary: + description: A one-liner synopsis of this package. + minLength: 1 + readOnly: true + title: Summary + type: string + sync_finished_at: + description: The datetime the package sync was finished at. + format: date-time + readOnly: true + title: Sync finished at + type: string + sync_progress: + description: Synchronisation progress (from 0-100) + readOnly: true + title: Sync progress + type: integer + tags_immutable: + description: "All tags on the package, grouped by tag type. This includes\ + \ immutable tags, but doesn't distinguish them from mutable. To see which\ + \ tags are immutable specifically, see the tags_immutable field." type: object - required: - - packages - title: PackageUsageMetrics - type: object - ReposCreate: - example: - delete_own: true - move_packages: Admin - scan_packages: Admin - show_setup_all: true - description: description - index_files: true - use_source_packages: true - docker_refresh_tokens_enabled: true - proxy_npmjs: true - move_own: true - delete_packages: Admin - repository_type_str: repository_type_str - use_vulnerability_scanning: true - resync_own: true - slug: slug - copy_own: true - proxy_pypi: true - raw_package_index_enabled: true - contextual_auth_realm: true - resync_packages: Admin - view_statistics: Admin - copy_packages: Admin - replace_packages: Admin - user_entitlements_enabled: true - use_noarch_packages: true - use_default_cargo_upstream: true - storage_region: storage_region - scan_own: true - name: name - use_debian_labels: true - replace_packages_by_default: true - strict_npm_validation: true - default_privilege: Admin - raw_package_index_signatures_enabled: true - properties: - contextual_auth_realm: - description: If checked, missing credentials for this repository where basic - authentication is required shall present an enriched value in the 'WWW-Authenticate' - header containing the namespace and repository. This can be useful for - tooling such as SBT where the authentication realm is used to distinguish - and disambiguate credentials. - type: boolean - copy_own: - description: If checked, users can copy any of their own packages that they - have uploaded, assuming that they still have write privilege for the repository. - This takes precedence over privileges configured in the 'Access Controls' - section of the repository, and any inherited from the org. - type: boolean - copy_packages: - description: This defines the minimum level of privilege required for a - user to copy packages. Unless the package was uploaded by that user, in - which the permission may be overridden by the user-specific copy setting. - enum: - - Admin - - Write - - Read + type_display: + readOnly: true + title: Type display type: string - default_privilege: - description: This defines the default level of privilege that all of your - organization members have for this repository. This does not include collaborators, - but applies to any member of the org regardless of their own membership - role (i.e. it applies to owners, managers and members). Be careful if - setting this to admin, because any member will be able to change settings. - enum: - - Admin - - Write - - Read - - None + uploaded_at: + description: The date this package was uploaded. + format: date-time + readOnly: true + title: Uploaded at type: string - delete_own: - description: If checked, users can delete any of their own packages that - they have uploaded, assuming that they still have write privilege for - the repository. This takes precedence over privileges configured in the - 'Access Controls' section of the repository, and any inherited from the - org. - type: boolean - delete_packages: - description: This defines the minimum level of privilege required for a - user to delete packages. Unless the package was uploaded by that user, - in which the permission may be overridden by the user-specific delete - setting. - enum: - - Admin - - Write + uploader: + minLength: 1 + readOnly: true + title: Uploader type: string - description: - description: A description of the repository's purpose/contents. + uploader_url: + format: uri + readOnly: true + title: Uploader url type: string - docker_refresh_tokens_enabled: - description: If checked, refresh tokens will be issued in addition to access - tokens for Docker authentication. This allows unlimited extension of the - lifetime of access tokens. - type: boolean - index_files: - description: If checked, files contained in packages will be indexed, which - increase the synchronisation time required for packages. Note that it - is recommended you keep this enabled unless the synchronisation time is - significantly impacted. - type: boolean - move_own: - description: If checked, users can move any of their own packages that they - have uploaded, assuming that they still have write privilege for the repository. - This takes precedence over privileges configured in the 'Access Controls' - section of the repository, and any inherited from the org. - type: boolean - move_packages: - description: This defines the minimum level of privilege required for a - user to move packages. Unless the package was uploaded by that user, in - which the permission may be overridden by the user-specific move setting. - enum: - - Admin - - Write - - Read + version: + description: The raw version for this package. + minLength: 1 + readOnly: true + title: Version type: string - name: - description: A descriptive name for the repository. + version_orig: + readOnly: true + title: Version orig type: string - proxy_npmjs: - description: If checked, Npm packages that are not in the repository when - requested by clients will automatically be proxied from the public npmjs.org - registry. If there is at least one version for a package, others will - not be proxied. - type: boolean - proxy_pypi: - description: If checked, Python packages that are not in the repository - when requested by clients will automatically be proxied from the public - pypi.python.org registry. If there is at least one version for a package, - others will not be proxied. - type: boolean - raw_package_index_enabled: - description: If checked, HTML and JSON indexes will be generated that list - all available raw packages in the repository. - type: boolean - raw_package_index_signatures_enabled: - description: If checked, the HTML and JSON indexes will display raw package - GPG signatures alongside the index packages. - type: boolean - replace_packages: - description: This defines the minimum level of privilege required for a - user to republish packages. Unless the package was uploaded by that user, - in which the permission may be overridden by the user-specific republish - setting. Please note that the user still requires the privilege to delete - packages that will be replaced by the new package; otherwise the republish - will fail. - enum: - - Admin - - Write + vulnerability_scan_results_url: + format: uri + readOnly: true + title: Vulnerability scan results url type: string - replace_packages_by_default: - description: If checked, uploaded packages will overwrite/replace any others - with the same attributes (e.g. same version) by default. This only applies - if the user has the required privilege for the republishing AND has the - required privilege to delete existing packages that they don't own. - type: boolean - repository_type_str: - description: |- - The repository type changes how it is accessed and billed. - Private repositories can only be used on paid plans, but are visible - only to you or authorised delegates. Public repositories are free to - use on all plans and visible to all Cloudsmith users. + type: object + RawPackageUploadRequest: + example: + summary: summary + content_type: content_type + republish: true + name: name + description: description + package_file: package_file + version: version + tags: tags + properties: + content_type: + description: "A custom content/media (also known as MIME) type to be sent\ + \ when downloading this file. By default Cloudsmith will attempt to detect\ + \ the type, but if you need to override it, you can specify it here." + maxLength: 64 + minLength: 1 + nullable: true + title: Content/Media Type type: string - resync_own: - description: If checked, users can resync any of their own packages that - they have uploaded, assuming that they still have write privilege for - the repository. This takes precedence over privileges configured in the - 'Access Controls' section of the repository, and any inherited from the - org. - type: boolean - resync_packages: - description: This defines the minimum level of privilege required for a - user to resync packages. Unless the package was uploaded by that user, - in which the permission may be overridden by the user-specific resync - setting. - enum: - - Admin - - Write + description: + description: A textual description of this package. + maxLength: 12288 + nullable: true + title: Description type: string - scan_own: - description: If checked, users can scan any of their own packages that they - have uploaded, assuming that they still have write privilege for the repository. - This takes precedence over privileges configured in the 'Access Controls' - section of the repository, and any inherited from the org. - type: boolean - scan_packages: - description: This defines the minimum level of privilege required for a - user to scan packages. Unless the package was uploaded by that user, in - which the permission may be overridden by the user-specific scan setting. - enum: - - Admin - - Write - - Read + name: + description: The name of this package. + maxLength: 200 + nullable: true + title: Name + type: string + package_file: + description: The primary file for the package. + minLength: 1 + title: Package file type: string - show_setup_all: - description: If checked, the Set Me Up help for all formats will always - be shown, even if you don't have packages of that type uploaded. Otherwise, - help will only be shown for packages that are in the repository. For example, - if you have uploaded only NuGet packages, then the Set Me Up help for - NuGet packages will be shown only. + republish: + description: "If true, the uploaded package will overwrite any others with\ + \ the same attributes (e.g. same version); otherwise, it will be flagged\ + \ as a duplicate." + title: Republish type: boolean - slug: - description: The slug identifies the repository in URIs. + summary: + description: A one-liner synopsis of this package. + maxLength: 255 + nullable: true + title: Summary type: string - storage_region: - description: The Cloudsmith region in which package files are stored. + tags: + description: A comma-separated values list of tags to add to the package. + maxLength: 1024 + minLength: 1 + nullable: true + title: Tags type: string - strict_npm_validation: - description: If checked, npm packages will be validated strictly to ensure - the package matches specifcation. You can turn this off if you have packages - that are old or otherwise mildly off-spec, but we can't guarantee the - packages will work with npm-cli or other tooling correctly. Turn off at - your own risk! - type: boolean - use_debian_labels: - description: If checked, a 'Label' field will be present in Debian-based - repositories. It will contain a string that identifies the entitlement - token used to authenticate the repository, in the form of 'source=t-'; - or 'source=none' if no token was used. You can use this to help with pinning. - type: boolean - use_default_cargo_upstream: - description: If checked, dependencies of uploaded Cargo crates which do - not set an explicit value for "registry" will be assumed to be available - from crates.io. If unchecked, dependencies with unspecified "registry" - values will be assumed to be available in the registry being uploaded - to. Uncheck this if you want to ensure that dependencies are only ever - installed from Cloudsmith unless explicitly specified as belong to another - registry. - type: boolean - use_noarch_packages: - description: If checked, noarch packages (if supported) are enabled in installations/configurations. - A noarch package is one that is not tied to specific system architecture - (like i686). - type: boolean - use_source_packages: - description: If checked, source packages (if supported) are enabled in installations/configurations. - A source package is one that contains source code rather than built binaries. - type: boolean - use_vulnerability_scanning: - description: If checked, vulnerability scanning will be enabled for all - supported packages within this repository. - type: boolean - user_entitlements_enabled: - description: If checked, users can use and manage their own user-specific - entitlement token for the repository (if private). Otherwise, user-specific - entitlements are disabled for all users. - type: boolean - view_statistics: - description: This defines the minimum level of privilege required for a - user to view repository statistics, to include entitlement-based usage, - if applciable. If a user does not have the permission, they won't be able - to view any statistics, either via the UI, API or CLI. - enum: - - Admin - - Write - - Read + version: + description: The raw version for this package. + maxLength: 128 + nullable: true + title: Version type: string required: - - name - title: ReposCreate - type: object - PackageDependencies: - example: - dependencies: - - dep_type: dep_type - name: name - version: version - operator: operator - - dep_type: dep_type - name: name - version: version - operator: operator - properties: - dependencies: - description: "" - items: - $ref: '#/components/schemas/PackageDependencies_dependencies' - title: DependenciesList - type: array - required: - - dependencies - title: PackageDependencies + - package_file type: object - PackageMove: + RawPackageUploadResponse: example: architectures: - name: name description: description - name: name description: description - security_scan_status_updated_at: security_scan_status_updated_at + security_scan_status_updated_at: 2000-01-23T04:56:07.000+00:00 checksum_sha256: checksum_sha256 release: release package_type: 5 repository: repository + origin_repository: origin_repository identifier_perm: identifier_perm - stage_updated_at: stage_updated_at - tags_immutable: '{}' + stage_updated_at: 2000-01-23T04:56:07.000+00:00 + tags_immutable: "{}" is_quarantined: true slug: slug - security_scan_started_at: security_scan_started_at + security_scan_started_at: 2000-01-23T04:56:07.000+00:00 security_scan_status: Awaiting Security Scan indexed: true format: format status_str: status_str version_orig: version_orig - namespace_url: namespace_url + namespace_url: https://openapi-generator.tech slug_perm: slug_perm version: version - tags: '{}' license: license filename: filename size: 5 cdn_url: cdn_url - uploaded_at: uploaded_at + uploaded_at: 2000-01-23T04:56:07.000+00:00 is_downloadable: true name: name - sync_finished_at: sync_finished_at + sync_finished_at: 2000-01-23T04:56:07.000+00:00 files: - checksum_sha512: checksum_sha512 checksum_sha1: checksum_sha1 @@ -17886,412 +19325,455 @@ components: num_files: 1 status: 7 checksum_sha512: checksum_sha512 - distro: '{}' + distro: + name: name + variants: variants + self_url: https://openapi-generator.tech + slug: slug extension: extension description: description epoch: 6 is_sync_completed: true - distro_version: '{}' + distro_version: + name: name + slug: slug type_display: type_display - vulnerability_scan_results_url: vulnerability_scan_results_url + vulnerability_scan_results_url: https://openapi-generator.tech dependencies_checksum_md5: dependencies_checksum_md5 downloads: 0 subtype: subtype uploader: uploader signature_url: signature_url - repository_url: repository_url + repository_url: https://openapi-generator.tech status_reason: status_reason - status_updated_at: status_updated_at + status_updated_at: 2000-01-23T04:56:07.000+00:00 summary: summary checksum_sha1: checksum_sha1 checksum_md5: checksum_md5 sync_progress: 9 is_sync_awaiting: true - uploader_url: uploader_url + uploader_url: https://openapi-generator.tech self_html_url: self_html_url - self_url: self_url - status_url: status_url + origin_repository_url: https://openapi-generator.tech + self_url: https://openapi-generator.tech + status_url: https://openapi-generator.tech is_sync_in_flight: true - security_scan_completed_at: security_scan_completed_at + security_scan_completed_at: 2000-01-23T04:56:07.000+00:00 is_sync_in_progress: true stage_str: stage_str stage: 2 - format_url: format_url - dependencies_url: dependencies_url + format_url: https://openapi-generator.tech + dependencies_url: https://openapi-generator.tech namespace: namespace is_sync_failed: true properties: architectures: - description: "" items: - $ref: '#/components/schemas/_packages__owner___repo___architectures' - title: ArchitecturesList + $ref: '#/components/schemas/Architecture' + readOnly: true type: array cdn_url: - description: "" + nullable: true + readOnly: true + title: Cdn url type: string checksum_md5: - description: "" + readOnly: true + title: Checksum md5 type: string checksum_sha1: - description: "" + readOnly: true + title: Checksum sha1 type: string checksum_sha256: - description: "" + readOnly: true + title: Checksum sha256 type: string checksum_sha512: - description: "" + readOnly: true + title: Checksum sha512 type: string dependencies_checksum_md5: description: A checksum of all of the package's dependencies. + minLength: 1 + readOnly: true + title: Dependencies checksum md5 type: string dependencies_url: - description: "" + format: uri + readOnly: true + title: Dependencies url type: string description: description: A textual description of this package. + maxLength: 12288 + nullable: true + title: Description type: string distro: - description: "" - properties: {} - type: object + $ref: '#/components/schemas/Distribution' distro_version: - description: "" - properties: {} - type: object + $ref: '#/components/schemas/DistributionVersion' downloads: - description: "" + readOnly: true + title: Downloads type: integer epoch: description: The epoch of the package version (if any). + readOnly: true + title: Epoch type: integer extension: - description: "" + readOnly: true + title: Extension type: string filename: - description: "" + minLength: 1 + readOnly: true + title: Filename type: string files: - description: "" items: - $ref: '#/components/schemas/_packages__owner___repo___files' - title: FilesList + $ref: '#/components/schemas/PackageFile' + readOnly: true type: array format: - description: "" + minLength: 1 + readOnly: true + title: Format type: string format_url: - description: "" + format: uri + readOnly: true + title: Format url type: string identifier_perm: description: Unique and permanent identifier for the package. + minLength: 1 + readOnly: true + title: Identifier perm type: string indexed: - description: "" + readOnly: true + title: Indexed type: boolean is_downloadable: - description: "" + readOnly: true + title: Is downloadable type: boolean is_quarantined: - description: "" + readOnly: true + title: Is quarantined type: boolean is_sync_awaiting: - description: "" + readOnly: true + title: Is sync awaiting type: boolean is_sync_completed: - description: "" + readOnly: true + title: Is sync completed type: boolean is_sync_failed: - description: "" + readOnly: true + title: Is sync failed type: boolean is_sync_in_flight: - description: "" + readOnly: true + title: Is sync in flight type: boolean is_sync_in_progress: - description: "" + readOnly: true + title: Is sync in progress type: boolean license: description: The license of this package. + minLength: 1 + readOnly: true + title: License type: string name: description: The name of this package. + maxLength: 200 + nullable: true + title: Name type: string namespace: - description: "" + minLength: 1 + readOnly: true + title: Namespace type: string namespace_url: - description: "" + format: uri + readOnly: true + title: Namespace url type: string num_files: - description: "" + readOnly: true + title: Num files type: integer + origin_repository: + minLength: 1 + readOnly: true + title: Origin repository + type: string + origin_repository_url: + format: uri + readOnly: true + title: Origin repository url + type: string package_type: description: The type of package contents. + readOnly: true + title: Package type type: integer release: description: The release of the package version (if any). + minLength: 1 + readOnly: true + title: Release type: string repository: - description: The repository the package will be moved to. + minLength: 1 + readOnly: true + title: Repository type: string repository_url: - description: "" + format: uri + readOnly: true + title: Repository url type: string security_scan_completed_at: description: The datetime the security scanning was completed. + format: date-time + readOnly: true + title: Security scan completed at type: string security_scan_started_at: description: The datetime the security scanning was started. + format: date-time + readOnly: true + title: Security scan started at type: string security_scan_status: - description: "" - enum: - - Awaiting Security Scan - - Security Scanning in Progress - - Scan Detected Vulnerabilities - - Scan Detected No Vulnerabilities - - Security Scanning Disabled - - Security Scanning Failed - - Security Scanning Skipped - - Security Scanning Not Supported + default: Awaiting Security Scan + nullable: true + readOnly: true + title: Security scan status type: string security_scan_status_updated_at: description: The datetime the security scanning status was updated. + format: date-time + readOnly: true + title: Security scan status updated at type: string self_html_url: - description: "" + minLength: 1 + readOnly: true + title: Self html url type: string self_url: - description: "" + format: uri + readOnly: true + title: Self url type: string signature_url: - description: "" + nullable: true + readOnly: true + title: Signature url type: string size: description: The calculated size of the package. + readOnly: true + title: Size type: integer slug: description: The public unique identifier for the package. + format: slug + minLength: 1 + pattern: "^[-a-zA-Z0-9_]+$" + readOnly: true + title: Slug type: string slug_perm: - description: "" + format: slug + minLength: 1 + pattern: "^[-a-zA-Z0-9_]+$" + readOnly: true + title: Slug perm type: string stage: description: The synchronisation (in progress) stage of the package. + readOnly: true + title: Stage type: integer stage_str: - description: "" + readOnly: true + title: Stage str type: string stage_updated_at: description: The datetime the package stage was updated at. + format: date-time + readOnly: true + title: Stage updated at type: string status: description: The synchronisation status of the package. + readOnly: true + title: Status type: integer status_reason: description: A textual description for the synchronous status reason (if any + minLength: 1 + readOnly: true + title: Status reason type: string status_str: - description: "" + readOnly: true + title: Status str type: string status_updated_at: description: The datetime the package status was updated at. + format: date-time + readOnly: true + title: Status updated at type: string status_url: - description: "" + format: uri + readOnly: true + title: Status url type: string subtype: - description: "" + readOnly: true + title: Subtype type: string summary: description: A one-liner synopsis of this package. + maxLength: 255 + nullable: true + title: Summary type: string sync_finished_at: description: The datetime the package sync was finished at. + format: date-time + readOnly: true + title: Sync finished at type: string sync_progress: description: Synchronisation progress (from 0-100) + readOnly: true + title: Sync progress type: integer - tags: - description: All tags on the package, grouped by tag type. This includes - immutable tags, but doesn't distinguish them from mutable. To see which - tags are immutable specifically, see the tags_immutable field. - properties: {} - type: object tags_immutable: - description: All immutable tags on the package, grouped by tag type. Immutable - tags cannot be (easily) deleted. - properties: {} + description: "All tags on the package, grouped by tag type. This includes\ + \ immutable tags, but doesn't distinguish them from mutable. To see which\ + \ tags are immutable specifically, see the tags_immutable field." type: object type_display: - description: "" + readOnly: true + title: Type display type: string uploaded_at: description: The date this package was uploaded. + format: date-time + readOnly: true + title: Uploaded at type: string uploader: - description: "" + minLength: 1 + readOnly: true + title: Uploader type: string uploader_url: - description: "" + format: uri + readOnly: true + title: Uploader url type: string version: description: The raw version for this package. + maxLength: 128 + nullable: true + title: Version type: string version_orig: - description: "" + readOnly: true + title: Version orig type: string vulnerability_scan_results_url: - description: "" + format: uri + readOnly: true + title: Vulnerability scan results url type: string - title: PackageMove type: object - PackagesValidate_uploadNuget: + RpmPackageUploadRequest: + example: + republish: true + distribution: distribution + package_file: package_file + tags: tags properties: + distribution: + description: The distribution to store the package for. + minLength: 1 + title: Distribution + type: string package_file: description: The primary file for the package. - example: y1234456789a + minLength: 1 + title: Package file type: string republish: - description: If true, the uploaded package will overwrite any others with - the same attributes (e.g. same version); otherwise, it will be flagged - as a duplicate. + description: "If true, the uploaded package will overwrite any others with\ + \ the same attributes (e.g. same version); otherwise, it will be flagged\ + \ as a duplicate." + title: Republish type: boolean - symbols_file: - description: Attaches a symbols file to the package. - example: y1234456789b - type: string tags: description: A comma-separated values list of tags to add to the package. + maxLength: 1024 + minLength: 1 + nullable: true + title: Tags type: string required: + - distribution - package_file - title: PackagesValidate-uploadNuget - type: object - _packages__owner___repo___files: - example: - checksum_sha512: checksum_sha512 - checksum_sha1: checksum_sha1 - checksum_sha256: checksum_sha256 - is_primary: true - checksum_md5: checksum_md5 - slug_perm: slug_perm - filename: filename - size: 5 - cdn_url: cdn_url - downloads: 1 - is_synchronised: true - is_downloadable: true - signature_url: signature_url - tag: tag - properties: - cdn_url: - description: "" - type: string - checksum_md5: - description: "" - type: string - checksum_sha1: - description: "" - type: string - checksum_sha256: - description: "" - type: string - checksum_sha512: - description: "" - type: string - downloads: - description: "" - type: integer - filename: - description: "" - type: string - is_downloadable: - description: "" - type: boolean - is_primary: - description: "" - type: boolean - is_synchronised: - description: "" - type: boolean - signature_url: - description: "" - type: string - size: - description: The calculated size of the file. - type: integer - slug_perm: - description: "" - type: string - tag: - description: Freeform descriptor that describes what the file is. - type: string - type: object - FilesValidate: - example: - sha256_checksum: sha256_checksum - filename: filename - method: put_parts - md5_checksum: md5_checksum - properties: - filename: - description: Filename for the package file upload. - type: string - md5_checksum: - description: MD5 checksum for a POST-based package file upload. - type: string - method: - description: The method to use for package file upload. - enum: - - put_parts - - put - - post - - presigned - - unsigned_put - type: string - sha256_checksum: - description: SHA256 checksum for a PUT-based package file upload. - type: string - required: - - filename - title: FilesValidate type: object - AlpinePackageUpload: + RpmPackageUploadResponse: example: architectures: - name: name description: description - name: name description: description - security_scan_status_updated_at: security_scan_status_updated_at + security_scan_status_updated_at: 2000-01-23T04:56:07.000+00:00 checksum_sha256: checksum_sha256 release: release package_type: 5 repository: repository + origin_repository: origin_repository identifier_perm: identifier_perm - stage_updated_at: stage_updated_at - tags_immutable: '{}' + stage_updated_at: 2000-01-23T04:56:07.000+00:00 + tags_immutable: "{}" is_quarantined: true slug: slug - security_scan_started_at: security_scan_started_at + security_scan_started_at: 2000-01-23T04:56:07.000+00:00 security_scan_status: Awaiting Security Scan indexed: true format: format status_str: status_str version_orig: version_orig - namespace_url: namespace_url + namespace_url: https://openapi-generator.tech slug_perm: slug_perm version: version license: license filename: filename size: 5 cdn_url: cdn_url - uploaded_at: uploaded_at + uploaded_at: 2000-01-23T04:56:07.000+00:00 is_downloadable: true name: name - sync_finished_at: sync_finished_at + sync_finished_at: 2000-01-23T04:56:07.000+00:00 files: - checksum_sha512: checksum_sha512 checksum_sha1: checksum_sha1 @@ -18324,288 +19806,387 @@ components: num_files: 1 status: 7 checksum_sha512: checksum_sha512 - distro: '{}' + distro: + name: name + variants: variants + self_url: https://openapi-generator.tech + slug: slug extension: extension description: description epoch: 6 is_sync_completed: true - distro_version: '{}' + distro_version: + name: name + slug: slug type_display: type_display - vulnerability_scan_results_url: vulnerability_scan_results_url + vulnerability_scan_results_url: https://openapi-generator.tech dependencies_checksum_md5: dependencies_checksum_md5 downloads: 0 subtype: subtype uploader: uploader signature_url: signature_url - repository_url: repository_url + repository_url: https://openapi-generator.tech status_reason: status_reason - status_updated_at: status_updated_at + status_updated_at: 2000-01-23T04:56:07.000+00:00 summary: summary checksum_sha1: checksum_sha1 checksum_md5: checksum_md5 sync_progress: 9 is_sync_awaiting: true - uploader_url: uploader_url + uploader_url: https://openapi-generator.tech self_html_url: self_html_url - self_url: self_url - status_url: status_url + origin_repository_url: https://openapi-generator.tech + self_url: https://openapi-generator.tech + status_url: https://openapi-generator.tech is_sync_in_flight: true - security_scan_completed_at: security_scan_completed_at + security_scan_completed_at: 2000-01-23T04:56:07.000+00:00 is_sync_in_progress: true stage_str: stage_str stage: 2 - format_url: format_url - dependencies_url: dependencies_url + format_url: https://openapi-generator.tech + dependencies_url: https://openapi-generator.tech namespace: namespace is_sync_failed: true properties: architectures: - description: "" items: - $ref: '#/components/schemas/_packages__owner___repo___architectures' - title: ArchitecturesList + $ref: '#/components/schemas/Architecture' + readOnly: true type: array cdn_url: - description: "" + nullable: true + readOnly: true + title: Cdn url type: string checksum_md5: - description: "" + readOnly: true + title: Checksum md5 type: string checksum_sha1: - description: "" + readOnly: true + title: Checksum sha1 type: string checksum_sha256: - description: "" + readOnly: true + title: Checksum sha256 type: string checksum_sha512: - description: "" + readOnly: true + title: Checksum sha512 type: string dependencies_checksum_md5: description: A checksum of all of the package's dependencies. + minLength: 1 + readOnly: true + title: Dependencies checksum md5 type: string dependencies_url: - description: "" + format: uri + readOnly: true + title: Dependencies url type: string description: description: A textual description of this package. + minLength: 1 + readOnly: true + title: Description type: string distro: - description: "" - properties: {} - type: object + $ref: '#/components/schemas/Distribution' distro_version: - description: "" - properties: {} - type: object + $ref: '#/components/schemas/DistributionVersion' downloads: - description: "" + readOnly: true + title: Downloads type: integer epoch: description: The epoch of the package version (if any). + readOnly: true + title: Epoch type: integer extension: - description: "" + readOnly: true + title: Extension type: string filename: - description: "" + minLength: 1 + readOnly: true + title: Filename type: string files: - description: "" items: - $ref: '#/components/schemas/_packages__owner___repo___files' - title: FilesList + $ref: '#/components/schemas/PackageFile' + readOnly: true type: array format: - description: "" + minLength: 1 + readOnly: true + title: Format type: string format_url: - description: "" + format: uri + readOnly: true + title: Format url type: string identifier_perm: description: Unique and permanent identifier for the package. + minLength: 1 + readOnly: true + title: Identifier perm type: string indexed: - description: "" + readOnly: true + title: Indexed type: boolean is_downloadable: - description: "" + readOnly: true + title: Is downloadable type: boolean is_quarantined: - description: "" + readOnly: true + title: Is quarantined type: boolean is_sync_awaiting: - description: "" + readOnly: true + title: Is sync awaiting type: boolean is_sync_completed: - description: "" + readOnly: true + title: Is sync completed type: boolean is_sync_failed: - description: "" + readOnly: true + title: Is sync failed type: boolean is_sync_in_flight: - description: "" + readOnly: true + title: Is sync in flight type: boolean is_sync_in_progress: - description: "" + readOnly: true + title: Is sync in progress type: boolean license: description: The license of this package. + minLength: 1 + readOnly: true + title: License type: string name: description: The name of this package. + minLength: 1 + readOnly: true + title: Name type: string namespace: - description: "" + minLength: 1 + readOnly: true + title: Namespace type: string namespace_url: - description: "" + format: uri + readOnly: true + title: Namespace url type: string num_files: - description: "" + readOnly: true + title: Num files type: integer + origin_repository: + minLength: 1 + readOnly: true + title: Origin repository + type: string + origin_repository_url: + format: uri + readOnly: true + title: Origin repository url + type: string package_type: description: The type of package contents. + readOnly: true + title: Package type type: integer release: description: The release of the package version (if any). + minLength: 1 + readOnly: true + title: Release type: string repository: - description: "" + minLength: 1 + readOnly: true + title: Repository type: string repository_url: - description: "" + format: uri + readOnly: true + title: Repository url type: string security_scan_completed_at: description: The datetime the security scanning was completed. + format: date-time + readOnly: true + title: Security scan completed at type: string security_scan_started_at: description: The datetime the security scanning was started. + format: date-time + readOnly: true + title: Security scan started at type: string security_scan_status: - description: "" - enum: - - Awaiting Security Scan - - Security Scanning in Progress - - Scan Detected Vulnerabilities - - Scan Detected No Vulnerabilities - - Security Scanning Disabled - - Security Scanning Failed - - Security Scanning Skipped - - Security Scanning Not Supported + default: Awaiting Security Scan + nullable: true + readOnly: true + title: Security scan status type: string security_scan_status_updated_at: description: The datetime the security scanning status was updated. + format: date-time + readOnly: true + title: Security scan status updated at type: string self_html_url: - description: "" + minLength: 1 + readOnly: true + title: Self html url type: string self_url: - description: "" + format: uri + readOnly: true + title: Self url type: string signature_url: - description: "" + nullable: true + readOnly: true + title: Signature url type: string size: description: The calculated size of the package. + readOnly: true + title: Size type: integer slug: description: The public unique identifier for the package. + format: slug + minLength: 1 + pattern: "^[-a-zA-Z0-9_]+$" + readOnly: true + title: Slug type: string slug_perm: - description: "" + format: slug + minLength: 1 + pattern: "^[-a-zA-Z0-9_]+$" + readOnly: true + title: Slug perm type: string stage: description: The synchronisation (in progress) stage of the package. + readOnly: true + title: Stage type: integer stage_str: - description: "" + readOnly: true + title: Stage str type: string stage_updated_at: description: The datetime the package stage was updated at. + format: date-time + readOnly: true + title: Stage updated at type: string status: description: The synchronisation status of the package. + readOnly: true + title: Status type: integer status_reason: description: A textual description for the synchronous status reason (if any + minLength: 1 + readOnly: true + title: Status reason type: string status_str: - description: "" + readOnly: true + title: Status str type: string status_updated_at: description: The datetime the package status was updated at. + format: date-time + readOnly: true + title: Status updated at type: string status_url: - description: "" + format: uri + readOnly: true + title: Status url type: string subtype: - description: "" + readOnly: true + title: Subtype type: string summary: description: A one-liner synopsis of this package. + minLength: 1 + readOnly: true + title: Summary type: string sync_finished_at: description: The datetime the package sync was finished at. + format: date-time + readOnly: true + title: Sync finished at type: string sync_progress: description: Synchronisation progress (from 0-100) + readOnly: true + title: Sync progress type: integer tags_immutable: - description: All immutable tags on the package, grouped by tag type. Immutable - tags cannot be (easily) deleted. - properties: {} + description: "All tags on the package, grouped by tag type. This includes\ + \ immutable tags, but doesn't distinguish them from mutable. To see which\ + \ tags are immutable specifically, see the tags_immutable field." type: object type_display: - description: "" + readOnly: true + title: Type display type: string uploaded_at: description: The date this package was uploaded. + format: date-time + readOnly: true + title: Uploaded at type: string uploader: - description: "" + minLength: 1 + readOnly: true + title: Uploader type: string uploader_url: - description: "" + format: uri + readOnly: true + title: Uploader url type: string version: description: The raw version for this package. + minLength: 1 + readOnly: true + title: Version type: string version_orig: - description: "" + readOnly: true + title: Version orig type: string vulnerability_scan_results_url: - description: "" - type: string - title: AlpinePackageUpload - type: object - PackagesMove: - example: - destination: destination - properties: - destination: - description: None - type: string - required: - - destination - title: PackagesMove - type: object - ReposRsaCreate: - example: - rsa_private_key: rsa_private_key - rsa_passphrase: rsa_passphrase - properties: - rsa_passphrase: - description: The RSA passphrase used for signing. - type: string - rsa_private_key: - description: The RSA private key. + format: uri + readOnly: true + title: Vulnerability scan results url type: string - required: - - rsa_private_key - title: ReposRsaCreate type: object - PackagesUploadP2: + RubyPackageUploadRequest: example: republish: true package_file: package_file @@ -18613,53 +20194,60 @@ components: properties: package_file: description: The primary file for the package. + minLength: 1 + title: Package file type: string republish: - description: If true, the uploaded package will overwrite any others with - the same attributes (e.g. same version); otherwise, it will be flagged - as a duplicate. + description: "If true, the uploaded package will overwrite any others with\ + \ the same attributes (e.g. same version); otherwise, it will be flagged\ + \ as a duplicate." + title: Republish type: boolean tags: description: A comma-separated values list of tags to add to the package. + maxLength: 1024 + minLength: 1 + nullable: true + title: Tags type: string required: - package_file - title: PackagesUploadP2 type: object - GoPackageUpload: + RubyPackageUploadResponse: example: architectures: - name: name description: description - name: name description: description - security_scan_status_updated_at: security_scan_status_updated_at + security_scan_status_updated_at: 2000-01-23T04:56:07.000+00:00 checksum_sha256: checksum_sha256 release: release package_type: 5 repository: repository + origin_repository: origin_repository identifier_perm: identifier_perm - stage_updated_at: stage_updated_at - tags_immutable: '{}' + stage_updated_at: 2000-01-23T04:56:07.000+00:00 + tags_immutable: "{}" is_quarantined: true slug: slug - security_scan_started_at: security_scan_started_at + security_scan_started_at: 2000-01-23T04:56:07.000+00:00 security_scan_status: Awaiting Security Scan indexed: true format: format status_str: status_str version_orig: version_orig - namespace_url: namespace_url + namespace_url: https://openapi-generator.tech slug_perm: slug_perm version: version license: license filename: filename size: 5 cdn_url: cdn_url - uploaded_at: uploaded_at + uploaded_at: 2000-01-23T04:56:07.000+00:00 is_downloadable: true name: name - sync_finished_at: sync_finished_at + sync_finished_at: 2000-01-23T04:56:07.000+00:00 files: - checksum_sha512: checksum_sha512 checksum_sha1: checksum_sha1 @@ -18692,382 +20280,448 @@ components: num_files: 1 status: 7 checksum_sha512: checksum_sha512 - distro: '{}' + distro: + name: name + variants: variants + self_url: https://openapi-generator.tech + slug: slug extension: extension description: description epoch: 6 is_sync_completed: true - distro_version: '{}' + distro_version: + name: name + slug: slug type_display: type_display - vulnerability_scan_results_url: vulnerability_scan_results_url + vulnerability_scan_results_url: https://openapi-generator.tech dependencies_checksum_md5: dependencies_checksum_md5 downloads: 0 subtype: subtype uploader: uploader signature_url: signature_url - repository_url: repository_url + repository_url: https://openapi-generator.tech status_reason: status_reason - status_updated_at: status_updated_at + status_updated_at: 2000-01-23T04:56:07.000+00:00 summary: summary checksum_sha1: checksum_sha1 checksum_md5: checksum_md5 sync_progress: 9 is_sync_awaiting: true - uploader_url: uploader_url + uploader_url: https://openapi-generator.tech self_html_url: self_html_url - self_url: self_url - status_url: status_url + origin_repository_url: https://openapi-generator.tech + self_url: https://openapi-generator.tech + status_url: https://openapi-generator.tech is_sync_in_flight: true - security_scan_completed_at: security_scan_completed_at + security_scan_completed_at: 2000-01-23T04:56:07.000+00:00 is_sync_in_progress: true stage_str: stage_str stage: 2 - format_url: format_url - dependencies_url: dependencies_url + format_url: https://openapi-generator.tech + dependencies_url: https://openapi-generator.tech namespace: namespace is_sync_failed: true properties: architectures: - description: "" items: - $ref: '#/components/schemas/_packages__owner___repo___architectures' - title: ArchitecturesList + $ref: '#/components/schemas/Architecture' + readOnly: true type: array cdn_url: - description: "" + nullable: true + readOnly: true + title: Cdn url type: string checksum_md5: - description: "" + readOnly: true + title: Checksum md5 type: string checksum_sha1: - description: "" + readOnly: true + title: Checksum sha1 type: string checksum_sha256: - description: "" + readOnly: true + title: Checksum sha256 type: string checksum_sha512: - description: "" + readOnly: true + title: Checksum sha512 type: string dependencies_checksum_md5: description: A checksum of all of the package's dependencies. + minLength: 1 + readOnly: true + title: Dependencies checksum md5 type: string dependencies_url: - description: "" + format: uri + readOnly: true + title: Dependencies url type: string description: description: A textual description of this package. + minLength: 1 + readOnly: true + title: Description type: string distro: - description: "" - properties: {} - type: object + $ref: '#/components/schemas/Distribution' distro_version: - description: "" - properties: {} - type: object + $ref: '#/components/schemas/DistributionVersion' downloads: - description: "" + readOnly: true + title: Downloads type: integer epoch: description: The epoch of the package version (if any). + readOnly: true + title: Epoch type: integer extension: - description: "" + readOnly: true + title: Extension type: string filename: - description: "" + minLength: 1 + readOnly: true + title: Filename type: string files: - description: "" items: - $ref: '#/components/schemas/_packages__owner___repo___files' - title: FilesList + $ref: '#/components/schemas/PackageFile' + readOnly: true type: array format: - description: "" + minLength: 1 + readOnly: true + title: Format type: string format_url: - description: "" + format: uri + readOnly: true + title: Format url type: string identifier_perm: description: Unique and permanent identifier for the package. + minLength: 1 + readOnly: true + title: Identifier perm type: string indexed: - description: "" + readOnly: true + title: Indexed type: boolean is_downloadable: - description: "" + readOnly: true + title: Is downloadable type: boolean is_quarantined: - description: "" + readOnly: true + title: Is quarantined type: boolean is_sync_awaiting: - description: "" + readOnly: true + title: Is sync awaiting type: boolean is_sync_completed: - description: "" + readOnly: true + title: Is sync completed type: boolean is_sync_failed: - description: "" + readOnly: true + title: Is sync failed type: boolean is_sync_in_flight: - description: "" + readOnly: true + title: Is sync in flight type: boolean is_sync_in_progress: - description: "" + readOnly: true + title: Is sync in progress type: boolean license: description: The license of this package. + minLength: 1 + readOnly: true + title: License type: string name: description: The name of this package. + minLength: 1 + readOnly: true + title: Name type: string namespace: - description: "" + minLength: 1 + readOnly: true + title: Namespace type: string namespace_url: - description: "" + format: uri + readOnly: true + title: Namespace url type: string num_files: - description: "" + readOnly: true + title: Num files type: integer + origin_repository: + minLength: 1 + readOnly: true + title: Origin repository + type: string + origin_repository_url: + format: uri + readOnly: true + title: Origin repository url + type: string package_type: description: The type of package contents. + readOnly: true + title: Package type type: integer release: description: The release of the package version (if any). + minLength: 1 + readOnly: true + title: Release type: string repository: - description: "" + minLength: 1 + readOnly: true + title: Repository type: string repository_url: - description: "" + format: uri + readOnly: true + title: Repository url type: string security_scan_completed_at: description: The datetime the security scanning was completed. + format: date-time + readOnly: true + title: Security scan completed at type: string security_scan_started_at: description: The datetime the security scanning was started. + format: date-time + readOnly: true + title: Security scan started at type: string security_scan_status: - description: "" - enum: - - Awaiting Security Scan - - Security Scanning in Progress - - Scan Detected Vulnerabilities - - Scan Detected No Vulnerabilities - - Security Scanning Disabled - - Security Scanning Failed - - Security Scanning Skipped - - Security Scanning Not Supported + default: Awaiting Security Scan + nullable: true + readOnly: true + title: Security scan status type: string security_scan_status_updated_at: description: The datetime the security scanning status was updated. + format: date-time + readOnly: true + title: Security scan status updated at type: string self_html_url: - description: "" + minLength: 1 + readOnly: true + title: Self html url type: string self_url: - description: "" + format: uri + readOnly: true + title: Self url type: string signature_url: - description: "" + nullable: true + readOnly: true + title: Signature url type: string size: description: The calculated size of the package. + readOnly: true + title: Size type: integer slug: description: The public unique identifier for the package. + format: slug + minLength: 1 + pattern: "^[-a-zA-Z0-9_]+$" + readOnly: true + title: Slug type: string slug_perm: - description: "" + format: slug + minLength: 1 + pattern: "^[-a-zA-Z0-9_]+$" + readOnly: true + title: Slug perm type: string stage: description: The synchronisation (in progress) stage of the package. + readOnly: true + title: Stage type: integer stage_str: - description: "" + readOnly: true + title: Stage str type: string stage_updated_at: description: The datetime the package stage was updated at. + format: date-time + readOnly: true + title: Stage updated at type: string status: description: The synchronisation status of the package. + readOnly: true + title: Status type: integer status_reason: description: A textual description for the synchronous status reason (if any + minLength: 1 + readOnly: true + title: Status reason type: string status_str: - description: "" + readOnly: true + title: Status str type: string status_updated_at: description: The datetime the package status was updated at. + format: date-time + readOnly: true + title: Status updated at type: string status_url: - description: "" + format: uri + readOnly: true + title: Status url type: string subtype: - description: "" + readOnly: true + title: Subtype type: string summary: description: A one-liner synopsis of this package. + minLength: 1 + readOnly: true + title: Summary type: string sync_finished_at: description: The datetime the package sync was finished at. + format: date-time + readOnly: true + title: Sync finished at type: string sync_progress: description: Synchronisation progress (from 0-100) + readOnly: true + title: Sync progress type: integer tags_immutable: - description: All immutable tags on the package, grouped by tag type. Immutable - tags cannot be (easily) deleted. - properties: {} + description: "All tags on the package, grouped by tag type. This includes\ + \ immutable tags, but doesn't distinguish them from mutable. To see which\ + \ tags are immutable specifically, see the tags_immutable field." type: object type_display: - description: "" + readOnly: true + title: Type display type: string uploaded_at: description: The date this package was uploaded. + format: date-time + readOnly: true + title: Uploaded at type: string uploader: - description: "" + minLength: 1 + readOnly: true + title: Uploader type: string uploader_url: - description: "" + format: uri + readOnly: true + title: Uploader url type: string version: description: The raw version for this package. + minLength: 1 + readOnly: true + title: Version type: string version_orig: - description: "" + readOnly: true + title: Version orig type: string vulnerability_scan_results_url: - description: "" - type: string - title: GoPackageUpload - type: object - OrganizationTeam: - example: - visibility: Visible - name: name - description: description - slug_perm: slug_perm - slug: slug - properties: - description: - description: "" - type: string - name: - description: "" - type: string - slug: - description: "" - type: string - slug_perm: - description: "" - type: string - visibility: - description: "" - enum: - - Visible - - Hidden - type: string - required: - - name - title: OrganizationTeam - type: object - PackagesUploadRuby: - example: - republish: true - package_file: y123456789 - tags: tags - properties: - package_file: - description: The primary file for the package. - example: y123456789 - type: string - republish: - description: If true, the uploaded package will overwrite any others with - the same attributes (e.g. same version); otherwise, it will be flagged - as a duplicate. - type: boolean - tags: - description: A comma-separated values list of tags to add to the package. - type: string - required: - - package_file - title: PackagesUploadRuby - type: object - _webhooks__owner___repo___templates: - example: - template: template - event: event - properties: - event: - description: "" - type: string - template: - description: "" + format: uri + readOnly: true + title: Vulnerability scan results url type: string type: object - PackagesUploadDocker: + TerraformPackageUploadRequest: example: republish: true - package_file: y123456789 + package_file: package_file tags: tags properties: package_file: description: The primary file for the package. - example: y123456789 + minLength: 1 + title: Package file type: string republish: - description: If true, the uploaded package will overwrite any others with - the same attributes (e.g. same version); otherwise, it will be flagged - as a duplicate. + description: "If true, the uploaded package will overwrite any others with\ + \ the same attributes (e.g. same version); otherwise, it will be flagged\ + \ as a duplicate." + title: Republish type: boolean tags: description: A comma-separated values list of tags to add to the package. + maxLength: 1024 + minLength: 1 + nullable: true + title: Tags type: string required: - package_file - title: PackagesUploadDocker type: object - PackageQuarantine: + TerraformPackageUploadResponse: example: architectures: - name: name description: description - name: name description: description - security_scan_status_updated_at: security_scan_status_updated_at + security_scan_status_updated_at: 2000-01-23T04:56:07.000+00:00 checksum_sha256: checksum_sha256 release: release package_type: 5 repository: repository + origin_repository: origin_repository identifier_perm: identifier_perm - stage_updated_at: stage_updated_at - tags_immutable: '{}' + stage_updated_at: 2000-01-23T04:56:07.000+00:00 + tags_immutable: "{}" is_quarantined: true slug: slug - security_scan_started_at: security_scan_started_at + security_scan_started_at: 2000-01-23T04:56:07.000+00:00 security_scan_status: Awaiting Security Scan indexed: true format: format status_str: status_str version_orig: version_orig - namespace_url: namespace_url + namespace_url: https://openapi-generator.tech slug_perm: slug_perm version: version - tags: '{}' license: license filename: filename size: 5 cdn_url: cdn_url - uploaded_at: uploaded_at + uploaded_at: 2000-01-23T04:56:07.000+00:00 is_downloadable: true name: name - sync_finished_at: sync_finished_at + sync_finished_at: 2000-01-23T04:56:07.000+00:00 files: - checksum_sha512: checksum_sha512 checksum_sha1: checksum_sha1 @@ -19100,1036 +20754,469 @@ components: num_files: 1 status: 7 checksum_sha512: checksum_sha512 - distro: '{}' + distro: + name: name + variants: variants + self_url: https://openapi-generator.tech + slug: slug extension: extension description: description epoch: 6 is_sync_completed: true - distro_version: '{}' + distro_version: + name: name + slug: slug type_display: type_display - vulnerability_scan_results_url: vulnerability_scan_results_url + vulnerability_scan_results_url: https://openapi-generator.tech dependencies_checksum_md5: dependencies_checksum_md5 downloads: 0 subtype: subtype uploader: uploader signature_url: signature_url - repository_url: repository_url + repository_url: https://openapi-generator.tech status_reason: status_reason - status_updated_at: status_updated_at + status_updated_at: 2000-01-23T04:56:07.000+00:00 summary: summary checksum_sha1: checksum_sha1 checksum_md5: checksum_md5 sync_progress: 9 is_sync_awaiting: true - uploader_url: uploader_url + uploader_url: https://openapi-generator.tech self_html_url: self_html_url - self_url: self_url - status_url: status_url + origin_repository_url: https://openapi-generator.tech + self_url: https://openapi-generator.tech + status_url: https://openapi-generator.tech is_sync_in_flight: true - security_scan_completed_at: security_scan_completed_at + security_scan_completed_at: 2000-01-23T04:56:07.000+00:00 is_sync_in_progress: true stage_str: stage_str stage: 2 - format_url: format_url - dependencies_url: dependencies_url + format_url: https://openapi-generator.tech + dependencies_url: https://openapi-generator.tech namespace: namespace is_sync_failed: true properties: architectures: - description: "" items: - $ref: '#/components/schemas/_packages__owner___repo___architectures' - title: ArchitecturesList + $ref: '#/components/schemas/Architecture' + readOnly: true type: array cdn_url: - description: "" + nullable: true + readOnly: true + title: Cdn url type: string checksum_md5: - description: "" + readOnly: true + title: Checksum md5 type: string checksum_sha1: - description: "" + readOnly: true + title: Checksum sha1 type: string checksum_sha256: - description: "" + readOnly: true + title: Checksum sha256 type: string checksum_sha512: - description: "" + readOnly: true + title: Checksum sha512 type: string dependencies_checksum_md5: description: A checksum of all of the package's dependencies. + minLength: 1 + readOnly: true + title: Dependencies checksum md5 type: string dependencies_url: - description: "" + format: uri + readOnly: true + title: Dependencies url type: string description: description: A textual description of this package. + minLength: 1 + readOnly: true + title: Description type: string distro: - description: "" - properties: {} - type: object + $ref: '#/components/schemas/Distribution' distro_version: - description: "" - properties: {} - type: object + $ref: '#/components/schemas/DistributionVersion' downloads: - description: "" + readOnly: true + title: Downloads type: integer epoch: description: The epoch of the package version (if any). + readOnly: true + title: Epoch type: integer extension: - description: "" + readOnly: true + title: Extension type: string filename: - description: "" + minLength: 1 + readOnly: true + title: Filename type: string files: - description: "" items: - $ref: '#/components/schemas/_packages__owner___repo___files' - title: FilesList + $ref: '#/components/schemas/PackageFile' + readOnly: true type: array format: - description: "" + minLength: 1 + readOnly: true + title: Format type: string format_url: - description: "" + format: uri + readOnly: true + title: Format url type: string identifier_perm: description: Unique and permanent identifier for the package. + minLength: 1 + readOnly: true + title: Identifier perm type: string indexed: - description: "" + readOnly: true + title: Indexed type: boolean is_downloadable: - description: "" + readOnly: true + title: Is downloadable type: boolean is_quarantined: - description: "" + readOnly: true + title: Is quarantined type: boolean is_sync_awaiting: - description: "" + readOnly: true + title: Is sync awaiting type: boolean is_sync_completed: - description: "" + readOnly: true + title: Is sync completed type: boolean is_sync_failed: - description: "" + readOnly: true + title: Is sync failed type: boolean is_sync_in_flight: - description: "" + readOnly: true + title: Is sync in flight type: boolean is_sync_in_progress: - description: "" + readOnly: true + title: Is sync in progress type: boolean license: description: The license of this package. + minLength: 1 + readOnly: true + title: License type: string name: description: The name of this package. + minLength: 1 + readOnly: true + title: Name type: string namespace: - description: "" + minLength: 1 + readOnly: true + title: Namespace type: string namespace_url: - description: "" + format: uri + readOnly: true + title: Namespace url type: string num_files: - description: "" + readOnly: true + title: Num files type: integer + origin_repository: + minLength: 1 + readOnly: true + title: Origin repository + type: string + origin_repository_url: + format: uri + readOnly: true + title: Origin repository url + type: string package_type: description: The type of package contents. + readOnly: true + title: Package type type: integer release: description: The release of the package version (if any). + minLength: 1 + readOnly: true + title: Release type: string repository: - description: "" + minLength: 1 + readOnly: true + title: Repository type: string repository_url: - description: "" + format: uri + readOnly: true + title: Repository url type: string security_scan_completed_at: description: The datetime the security scanning was completed. + format: date-time + readOnly: true + title: Security scan completed at type: string security_scan_started_at: description: The datetime the security scanning was started. + format: date-time + readOnly: true + title: Security scan started at type: string security_scan_status: - description: "" - enum: - - Awaiting Security Scan - - Security Scanning in Progress - - Scan Detected Vulnerabilities - - Scan Detected No Vulnerabilities - - Security Scanning Disabled - - Security Scanning Failed - - Security Scanning Skipped - - Security Scanning Not Supported + default: Awaiting Security Scan + nullable: true + readOnly: true + title: Security scan status type: string security_scan_status_updated_at: description: The datetime the security scanning status was updated. + format: date-time + readOnly: true + title: Security scan status updated at type: string self_html_url: - description: "" + minLength: 1 + readOnly: true + title: Self html url type: string self_url: - description: "" + format: uri + readOnly: true + title: Self url type: string signature_url: - description: "" + nullable: true + readOnly: true + title: Signature url type: string size: description: The calculated size of the package. + readOnly: true + title: Size type: integer slug: description: The public unique identifier for the package. + format: slug + minLength: 1 + pattern: "^[-a-zA-Z0-9_]+$" + readOnly: true + title: Slug type: string slug_perm: - description: "" + format: slug + minLength: 1 + pattern: "^[-a-zA-Z0-9_]+$" + readOnly: true + title: Slug perm type: string stage: description: The synchronisation (in progress) stage of the package. + readOnly: true + title: Stage type: integer stage_str: - description: "" + readOnly: true + title: Stage str type: string stage_updated_at: description: The datetime the package stage was updated at. + format: date-time + readOnly: true + title: Stage updated at type: string status: description: The synchronisation status of the package. + readOnly: true + title: Status type: integer status_reason: description: A textual description for the synchronous status reason (if any + minLength: 1 + readOnly: true + title: Status reason type: string - status_str: - description: "" - type: string - status_updated_at: - description: The datetime the package status was updated at. - type: string - status_url: - description: "" - type: string - subtype: - description: "" - type: string - summary: - description: A one-liner synopsis of this package. - type: string - sync_finished_at: - description: The datetime the package sync was finished at. - type: string - sync_progress: - description: Synchronisation progress (from 0-100) - type: integer - tags: - description: All tags on the package, grouped by tag type. This includes - immutable tags, but doesn't distinguish them from mutable. To see which - tags are immutable specifically, see the tags_immutable field. - properties: {} - type: object - tags_immutable: - description: All immutable tags on the package, grouped by tag type. Immutable - tags cannot be (easily) deleted. - properties: {} - type: object - type_display: - description: "" - type: string - uploaded_at: - description: The date this package was uploaded. - type: string - uploader: - description: "" - type: string - uploader_url: - description: "" - type: string - version: - description: The raw version for this package. - type: string - version_orig: - description: "" - type: string - vulnerability_scan_results_url: - description: "" - type: string - title: PackageQuarantine - type: object - RepositoryCreate: - example: - scan_packages: Admin - index_files: true - repository_type: 5 - use_source_packages: true - package_group_count: 1 - repository_type_str: repository_type_str - use_vulnerability_scanning: true - resync_own: true - slug: slug - raw_package_index_enabled: true - namespace_url: namespace_url - slug_perm: slug_perm - deleted_at: deleted_at - replace_packages: Admin - user_entitlements_enabled: true - num_downloads: 0 - package_count: 6 - use_default_cargo_upstream: true - size: 5 - cdn_url: cdn_url - scan_own: true - name: name - replace_packages_by_default: true - default_privilege: Admin - delete_own: true - is_private: true - move_packages: Admin - show_setup_all: true - created_at: created_at - description: description - docker_refresh_tokens_enabled: true - proxy_npmjs: true - move_own: true - delete_packages: Admin - is_open_source: true - copy_own: true - proxy_pypi: true - contextual_auth_realm: true - resync_packages: Admin - view_statistics: Admin - copy_packages: Admin - self_html_url: self_html_url - self_url: self_url - use_noarch_packages: true - storage_region: storage_region - size_str: size_str - gpg_keys: - - public_key: public_key - default: true - fingerprint: fingerprint - active: true - created_at: created_at - comment: comment - fingerprint_short: fingerprint_short - - public_key: public_key - default: true - fingerprint: fingerprint - active: true - created_at: created_at - comment: comment - fingerprint_short: fingerprint_short - is_public: true - namespace: namespace - use_debian_labels: true - strict_npm_validation: true - raw_package_index_signatures_enabled: true - properties: - cdn_url: - description: Base URL from which packages and other artifacts are downloaded. - type: string - contextual_auth_realm: - description: If checked, missing credentials for this repository where basic - authentication is required shall present an enriched value in the 'WWW-Authenticate' - header containing the namespace and repository. This can be useful for - tooling such as SBT where the authentication realm is used to distinguish - and disambiguate credentials. - type: boolean - copy_own: - description: If checked, users can copy any of their own packages that they - have uploaded, assuming that they still have write privilege for the repository. - This takes precedence over privileges configured in the 'Access Controls' - section of the repository, and any inherited from the org. - type: boolean - copy_packages: - description: This defines the minimum level of privilege required for a - user to copy packages. Unless the package was uploaded by that user, in - which the permission may be overridden by the user-specific copy setting. - enum: - - Admin - - Write - - Read - type: string - created_at: - description: "" - type: string - default_privilege: - description: This defines the default level of privilege that all of your - organization members have for this repository. This does not include collaborators, - but applies to any member of the org regardless of their own membership - role (i.e. it applies to owners, managers and members). Be careful if - setting this to admin, because any member will be able to change settings. - enum: - - Admin - - Write - - Read - - None - type: string - delete_own: - description: If checked, users can delete any of their own packages that - they have uploaded, assuming that they still have write privilege for - the repository. This takes precedence over privileges configured in the - 'Access Controls' section of the repository, and any inherited from the - org. - type: boolean - delete_packages: - description: This defines the minimum level of privilege required for a - user to delete packages. Unless the package was uploaded by that user, - in which the permission may be overridden by the user-specific delete - setting. - enum: - - Admin - - Write - type: string - deleted_at: - description: "" - type: string - description: - description: A description of the repository's purpose/contents. - type: string - docker_refresh_tokens_enabled: - description: If checked, refresh tokens will be issued in addition to access - tokens for Docker authentication. This allows unlimited extension of the - lifetime of access tokens. - type: boolean - gpg_keys: - description: "" - items: - $ref: '#/components/schemas/_repos__gpg_keys' - title: Gpg keysList - type: array - index_files: - description: If checked, files contained in packages will be indexed, which - increase the synchronisation time required for packages. Note that it - is recommended you keep this enabled unless the synchronisation time is - significantly impacted. - type: boolean - is_open_source: - description: "" - type: boolean - is_private: - description: "" - type: boolean - is_public: - description: "" - type: boolean - move_own: - description: If checked, users can move any of their own packages that they - have uploaded, assuming that they still have write privilege for the repository. - This takes precedence over privileges configured in the 'Access Controls' - section of the repository, and any inherited from the org. - type: boolean - move_packages: - description: This defines the minimum level of privilege required for a - user to move packages. Unless the package was uploaded by that user, in - which the permission may be overridden by the user-specific move setting. - enum: - - Admin - - Write - - Read - type: string - name: - description: A descriptive name for the repository. - type: string - namespace: - description: Namespace to which this repository belongs. - type: string - namespace_url: - description: API endpoint where data about this namespace can be retrieved. - type: string - num_downloads: - description: The number of downloads for packages in the repository. - type: integer - package_count: - description: The number of packages in the repository. - type: integer - package_group_count: - description: The number of groups in the repository. - type: integer - proxy_npmjs: - description: If checked, Npm packages that are not in the repository when - requested by clients will automatically be proxied from the public npmjs.org - registry. If there is at least one version for a package, others will - not be proxied. - type: boolean - proxy_pypi: - description: If checked, Python packages that are not in the repository - when requested by clients will automatically be proxied from the public - pypi.python.org registry. If there is at least one version for a package, - others will not be proxied. - type: boolean - raw_package_index_enabled: - description: If checked, HTML and JSON indexes will be generated that list - all available raw packages in the repository. - type: boolean - raw_package_index_signatures_enabled: - description: If checked, the HTML and JSON indexes will display raw package - GPG signatures alongside the index packages. - type: boolean - replace_packages: - description: This defines the minimum level of privilege required for a - user to republish packages. Unless the package was uploaded by that user, - in which the permission may be overridden by the user-specific republish - setting. Please note that the user still requires the privilege to delete - packages that will be replaced by the new package; otherwise the republish - will fail. - enum: - - Admin - - Write - type: string - replace_packages_by_default: - description: If checked, uploaded packages will overwrite/replace any others - with the same attributes (e.g. same version) by default. This only applies - if the user has the required privilege for the republishing AND has the - required privilege to delete existing packages that they don't own. - type: boolean - repository_type: - description: The repository type changes how it is accessed and billed. - Private repositories can only be used on paid plans, but are visible only - to you or authorised delegates. Open-Source repositories are always visible - to everyone and are restricted by licensing, but are free to use and come - with generous bandwidth/storage. You can only select Open-Source at repository - creation time. - type: integer - repository_type_str: - description: |- - The repository type changes how it is accessed and billed. - Private repositories can only be used on paid plans, but are visible - only to you or authorised delegates. Public repositories are free to - use on all plans and visible to all Cloudsmith users. - type: string - resync_own: - description: If checked, users can resync any of their own packages that - they have uploaded, assuming that they still have write privilege for - the repository. This takes precedence over privileges configured in the - 'Access Controls' section of the repository, and any inherited from the - org. - type: boolean - resync_packages: - description: This defines the minimum level of privilege required for a - user to resync packages. Unless the package was uploaded by that user, - in which the permission may be overridden by the user-specific resync - setting. - enum: - - Admin - - Write - type: string - scan_own: - description: If checked, users can scan any of their own packages that they - have uploaded, assuming that they still have write privilege for the repository. - This takes precedence over privileges configured in the 'Access Controls' - section of the repository, and any inherited from the org. - type: boolean - scan_packages: - description: This defines the minimum level of privilege required for a - user to scan packages. Unless the package was uploaded by that user, in - which the permission may be overridden by the user-specific scan setting. - enum: - - Admin - - Write - - Read - type: string - self_html_url: - description: Website URL for this repository. - type: string - self_url: - description: API endpoint where data about this repository can be retrieved. - type: string - show_setup_all: - description: If checked, the Set Me Up help for all formats will always - be shown, even if you don't have packages of that type uploaded. Otherwise, - help will only be shown for packages that are in the repository. For example, - if you have uploaded only NuGet packages, then the Set Me Up help for - NuGet packages will be shown only. - type: boolean - size: - description: The calculated size of the repository. - type: integer - size_str: - description: The calculated size of the repository (human readable). - type: string - slug: - description: The slug identifies the repository in URIs. - type: string - slug_perm: - description: The slug_perm immutably identifies the repository. It will - never change once a repository has been created. - type: string - storage_region: - description: The Cloudsmith region in which package files are stored. - type: string - strict_npm_validation: - description: If checked, npm packages will be validated strictly to ensure - the package matches specifcation. You can turn this off if you have packages - that are old or otherwise mildly off-spec, but we can't guarantee the - packages will work with npm-cli or other tooling correctly. Turn off at - your own risk! - type: boolean - use_debian_labels: - description: If checked, a 'Label' field will be present in Debian-based - repositories. It will contain a string that identifies the entitlement - token used to authenticate the repository, in the form of 'source=t-'; - or 'source=none' if no token was used. You can use this to help with pinning. - type: boolean - use_default_cargo_upstream: - description: If checked, dependencies of uploaded Cargo crates which do - not set an explicit value for "registry" will be assumed to be available - from crates.io. If unchecked, dependencies with unspecified "registry" - values will be assumed to be available in the registry being uploaded - to. Uncheck this if you want to ensure that dependencies are only ever - installed from Cloudsmith unless explicitly specified as belong to another - registry. - type: boolean - use_noarch_packages: - description: If checked, noarch packages (if supported) are enabled in installations/configurations. - A noarch package is one that is not tied to specific system architecture - (like i686). - type: boolean - use_source_packages: - description: If checked, source packages (if supported) are enabled in installations/configurations. - A source package is one that contains source code rather than built binaries. - type: boolean - use_vulnerability_scanning: - description: If checked, vulnerability scanning will be enabled for all - supported packages within this repository. - type: boolean - user_entitlements_enabled: - description: If checked, users can use and manage their own user-specific - entitlement token for the repository (if private). Otherwise, user-specific - entitlements are disabled for all users. - type: boolean - view_statistics: - description: This defines the minimum level of privilege required for a - user to view repository statistics, to include entitlement-based usage, - if applciable. If a user does not have the permission, they won't be able - to view any statistics, either via the UI, API or CLI. - enum: - - Admin - - Write - - Read - type: string - required: - - name - title: RepositoryCreate - type: object - PackagesValidate_uploadConda: - properties: - package_file: - description: The primary file for the package. - example: x123456789a - type: string - republish: - description: If true, the uploaded package will overwrite any others with - the same attributes (e.g. same version); otherwise, it will be flagged - as a duplicate. - type: boolean - tags: - description: A comma-separated values list of tags to add to the package. - type: string - required: - - package_file - title: PackagesValidate-uploadConda - type: object - StatusBasic: - example: - detail: Cloudsmith API is operational. - version: 1.121.3 - properties: - detail: - description: The message describing the state of the API. - example: Cloudsmith API is operational. - type: string - version: - description: The current version for the Cloudsmith service. - example: 1.121.3 + status_str: + readOnly: true + title: Status str type: string - title: StatusBasic - type: object - ReposPartialUpdate: - example: - delete_own: true - move_packages: Admin - scan_packages: Admin - show_setup_all: true - description: description - index_files: true - use_source_packages: true - docker_refresh_tokens_enabled: true - proxy_npmjs: true - move_own: true - delete_packages: Admin - repository_type_str: Public - use_vulnerability_scanning: true - resync_own: true - slug: slug - copy_own: true - proxy_pypi: true - raw_package_index_enabled: true - contextual_auth_realm: true - resync_packages: Admin - view_statistics: Admin - copy_packages: Admin - replace_packages: Admin - user_entitlements_enabled: true - use_noarch_packages: true - use_default_cargo_upstream: true - scan_own: true - name: name - use_debian_labels: true - replace_packages_by_default: true - strict_npm_validation: true - default_privilege: Admin - raw_package_index_signatures_enabled: true - properties: - contextual_auth_realm: - description: If checked, missing credentials for this repository where basic - authentication is required shall present an enriched value in the 'WWW-Authenticate' - header containing the namespace and repository. This can be useful for - tooling such as SBT where the authentication realm is used to distinguish - and disambiguate credentials. - type: boolean - copy_own: - description: If checked, users can copy any of their own packages that they - have uploaded, assuming that they still have write privilege for the repository. - This takes precedence over privileges configured in the 'Access Controls' - section of the repository, and any inherited from the org. - type: boolean - copy_packages: - description: This defines the minimum level of privilege required for a - user to copy packages. Unless the package was uploaded by that user, in - which the permission may be overridden by the user-specific copy setting. - enum: - - Admin - - Write - - Read + status_updated_at: + description: The datetime the package status was updated at. + format: date-time + readOnly: true + title: Status updated at type: string - default_privilege: - description: This defines the default level of privilege that all of your - organization members have for this repository. This does not include collaborators, - but applies to any member of the org regardless of their own membership - role (i.e. it applies to owners, managers and members). Be careful if - setting this to admin, because any member will be able to change settings. - enum: - - Admin - - Write - - Read - - None + status_url: + format: uri + readOnly: true + title: Status url type: string - delete_own: - description: If checked, users can delete any of their own packages that - they have uploaded, assuming that they still have write privilege for - the repository. This takes precedence over privileges configured in the - 'Access Controls' section of the repository, and any inherited from the - org. - type: boolean - delete_packages: - description: This defines the minimum level of privilege required for a - user to delete packages. Unless the package was uploaded by that user, - in which the permission may be overridden by the user-specific delete - setting. - enum: - - Admin - - Write + subtype: + readOnly: true + title: Subtype type: string - description: - description: A description of the repository's purpose/contents. + summary: + description: A one-liner synopsis of this package. + minLength: 1 + readOnly: true + title: Summary type: string - docker_refresh_tokens_enabled: - description: If checked, refresh tokens will be issued in addition to access - tokens for Docker authentication. This allows unlimited extension of the - lifetime of access tokens. - type: boolean - index_files: - description: If checked, files contained in packages will be indexed, which - increase the synchronisation time required for packages. Note that it - is recommended you keep this enabled unless the synchronisation time is - significantly impacted. - type: boolean - move_own: - description: If checked, users can move any of their own packages that they - have uploaded, assuming that they still have write privilege for the repository. - This takes precedence over privileges configured in the 'Access Controls' - section of the repository, and any inherited from the org. - type: boolean - move_packages: - description: This defines the minimum level of privilege required for a - user to move packages. Unless the package was uploaded by that user, in - which the permission may be overridden by the user-specific move setting. - enum: - - Admin - - Write - - Read + sync_finished_at: + description: The datetime the package sync was finished at. + format: date-time + readOnly: true + title: Sync finished at type: string - name: - description: A descriptive name for the repository. + sync_progress: + description: Synchronisation progress (from 0-100) + readOnly: true + title: Sync progress + type: integer + tags_immutable: + description: "All tags on the package, grouped by tag type. This includes\ + \ immutable tags, but doesn't distinguish them from mutable. To see which\ + \ tags are immutable specifically, see the tags_immutable field." + type: object + type_display: + readOnly: true + title: Type display type: string - proxy_npmjs: - description: If checked, Npm packages that are not in the repository when - requested by clients will automatically be proxied from the public npmjs.org - registry. If there is at least one version for a package, others will - not be proxied. - type: boolean - proxy_pypi: - description: If checked, Python packages that are not in the repository - when requested by clients will automatically be proxied from the public - pypi.python.org registry. If there is at least one version for a package, - others will not be proxied. - type: boolean - raw_package_index_enabled: - description: If checked, HTML and JSON indexes will be generated that list - all available raw packages in the repository. - type: boolean - raw_package_index_signatures_enabled: - description: If checked, the HTML and JSON indexes will display raw package - GPG signatures alongside the index packages. - type: boolean - replace_packages: - description: This defines the minimum level of privilege required for a - user to republish packages. Unless the package was uploaded by that user, - in which the permission may be overridden by the user-specific republish - setting. Please note that the user still requires the privilege to delete - packages that will be replaced by the new package; otherwise the republish - will fail. - enum: - - Admin - - Write + uploaded_at: + description: The date this package was uploaded. + format: date-time + readOnly: true + title: Uploaded at type: string - replace_packages_by_default: - description: If checked, uploaded packages will overwrite/replace any others - with the same attributes (e.g. same version) by default. This only applies - if the user has the required privilege for the republishing AND has the - required privilege to delete existing packages that they don't own. - type: boolean - repository_type_str: - description: The repository type changes how it is accessed and billed. - Private repositories can only be used on paid plans, but are visible only - to you or authorised delegates. Public repositories are free to use on - all plans and visible to all Cloudsmith users. - enum: - - Public - - Private - - Open-Source + uploader: + minLength: 1 + readOnly: true + title: Uploader type: string - resync_own: - description: If checked, users can resync any of their own packages that - they have uploaded, assuming that they still have write privilege for - the repository. This takes precedence over privileges configured in the - 'Access Controls' section of the repository, and any inherited from the - org. - type: boolean - resync_packages: - description: This defines the minimum level of privilege required for a - user to resync packages. Unless the package was uploaded by that user, - in which the permission may be overridden by the user-specific resync - setting. - enum: - - Admin - - Write + uploader_url: + format: uri + readOnly: true + title: Uploader url type: string - scan_own: - description: If checked, users can scan any of their own packages that they - have uploaded, assuming that they still have write privilege for the repository. - This takes precedence over privileges configured in the 'Access Controls' - section of the repository, and any inherited from the org. - type: boolean - scan_packages: - description: This defines the minimum level of privilege required for a - user to scan packages. Unless the package was uploaded by that user, in - which the permission may be overridden by the user-specific scan setting. - enum: - - Admin - - Write - - Read + version: + description: The raw version for this package. + minLength: 1 + readOnly: true + title: Version type: string - show_setup_all: - description: If checked, the Set Me Up help for all formats will always - be shown, even if you don't have packages of that type uploaded. Otherwise, - help will only be shown for packages that are in the repository. For example, - if you have uploaded only NuGet packages, then the Set Me Up help for - NuGet packages will be shown only. - type: boolean - slug: - description: The slug identifies the repository in URIs. + version_orig: + readOnly: true + title: Version orig type: string - strict_npm_validation: - description: If checked, npm packages will be validated strictly to ensure - the package matches specifcation. You can turn this off if you have packages - that are old or otherwise mildly off-spec, but we can't guarantee the - packages will work with npm-cli or other tooling correctly. Turn off at - your own risk! - type: boolean - use_debian_labels: - description: If checked, a 'Label' field will be present in Debian-based - repositories. It will contain a string that identifies the entitlement - token used to authenticate the repository, in the form of 'source=t-'; - or 'source=none' if no token was used. You can use this to help with pinning. - type: boolean - use_default_cargo_upstream: - description: If checked, dependencies of uploaded Cargo crates which do - not set an explicit value for "registry" will be assumed to be available - from crates.io. If unchecked, dependencies with unspecified "registry" - values will be assumed to be available in the registry being uploaded - to. Uncheck this if you want to ensure that dependencies are only ever - installed from Cloudsmith unless explicitly specified as belong to another - registry. - type: boolean - use_noarch_packages: - description: If checked, noarch packages (if supported) are enabled in installations/configurations. - A noarch package is one that is not tied to specific system architecture - (like i686). - type: boolean - use_source_packages: - description: If checked, source packages (if supported) are enabled in installations/configurations. - A source package is one that contains source code rather than built binaries. - type: boolean - use_vulnerability_scanning: - description: If checked, vulnerability scanning will be enabled for all - supported packages within this repository. - type: boolean - user_entitlements_enabled: - description: If checked, users can use and manage their own user-specific - entitlement token for the repository (if private). Otherwise, user-specific - entitlements are disabled for all users. - type: boolean - view_statistics: - description: This defines the minimum level of privilege required for a - user to view repository statistics, to include entitlement-based usage, - if applciable. If a user does not have the permission, they won't be able - to view any statistics, either via the UI, API or CLI. - enum: - - Admin - - Write - - Read + vulnerability_scan_results_url: + format: uri + readOnly: true + title: Vulnerability scan results url type: string - title: ReposPartialUpdate type: object - PackagesUploadCran: + VagrantPackageUploadRequest: example: republish: true - package_file: x123456789a + provider: provider + name: name + package_file: package_file + version: version tags: tags - properties: - package_file: - description: The primary file for the package. - example: x123456789a - type: string - republish: - description: If true, the uploaded package will overwrite any others with - the same attributes (e.g. same version); otherwise, it will be flagged - as a duplicate. - type: boolean - tags: - description: A comma-separated values list of tags to add to the package. - type: string - required: - - package_file - title: PackagesUploadCran - type: object - PackagesValidate_uploadLuarocks: - properties: - package_file: - description: The primary file for the package. - example: x123456789a - type: string - republish: - description: If true, the uploaded package will overwrite any others with - the same attributes (e.g. same version); otherwise, it will be flagged - as a duplicate. - type: boolean - tags: - description: A comma-separated values list of tags to add to the package. - type: string - required: - - package_file - title: PackagesValidate-uploadLuarocks - type: object - PackagesValidate_uploadVagrant: properties: name: description: The name of this package. - example: tcl + maxLength: 200 + title: Name type: string package_file: description: The primary file for the package. - example: y123456789x + minLength: 1 + title: Package file type: string provider: description: The virtual machine provider for the box. - example: virtualbox + minLength: 1 + title: Provider type: string republish: - description: If true, the uploaded package will overwrite any others with - the same attributes (e.g. same version); otherwise, it will be flagged - as a duplicate. + description: "If true, the uploaded package will overwrite any others with\ + \ the same attributes (e.g. same version); otherwise, it will be flagged\ + \ as a duplicate." + title: Republish type: boolean tags: description: A comma-separated values list of tags to add to the package. + maxLength: 1024 + minLength: 1 + nullable: true + title: Tags type: string version: description: The raw version for this package. - example: "1.0" + maxLength: 128 + title: Version type: string required: - name - package_file - provider - version - title: PackagesValidate-uploadVagrant - type: object - ReposGpgCreate: - example: - gpg_passphrase: gpg_passphrase - gpg_private_key: gpg_private_key - properties: - gpg_passphrase: - description: The GPG passphrase used for signing. - type: string - gpg_private_key: - description: The GPG private key. - type: string - required: - - gpg_private_key - title: ReposGpgCreate type: object - RawPackageUpload: + VagrantPackageUploadResponse: example: architectures: - name: name description: description - name: name description: description - security_scan_status_updated_at: security_scan_status_updated_at + security_scan_status_updated_at: 2000-01-23T04:56:07.000+00:00 checksum_sha256: checksum_sha256 release: release package_type: 5 repository: repository + origin_repository: origin_repository identifier_perm: identifier_perm - stage_updated_at: stage_updated_at - tags_immutable: '{}' + stage_updated_at: 2000-01-23T04:56:07.000+00:00 + tags_immutable: "{}" is_quarantined: true slug: slug - security_scan_started_at: security_scan_started_at + security_scan_started_at: 2000-01-23T04:56:07.000+00:00 security_scan_status: Awaiting Security Scan indexed: true format: format status_str: status_str version_orig: version_orig - namespace_url: namespace_url + namespace_url: https://openapi-generator.tech slug_perm: slug_perm - version: "1.0" + version: version license: license filename: filename size: 5 cdn_url: cdn_url - uploaded_at: uploaded_at + uploaded_at: 2000-01-23T04:56:07.000+00:00 is_downloadable: true - name: my-package - sync_finished_at: sync_finished_at + name: name + sync_finished_at: 2000-01-23T04:56:07.000+00:00 files: - checksum_sha512: checksum_sha512 checksum_sha1: checksum_sha1 @@ -20162,396 +21249,447 @@ components: num_files: 1 status: 7 checksum_sha512: checksum_sha512 - distro: '{}' + distro: + name: name + variants: variants + self_url: https://openapi-generator.tech + slug: slug extension: extension - description: Everything about packaging files. + description: description epoch: 6 is_sync_completed: true - distro_version: '{}' + distro_version: + name: name + slug: slug type_display: type_display - vulnerability_scan_results_url: vulnerability_scan_results_url + vulnerability_scan_results_url: https://openapi-generator.tech dependencies_checksum_md5: dependencies_checksum_md5 downloads: 0 + provider: provider subtype: subtype uploader: uploader signature_url: signature_url - repository_url: repository_url + repository_url: https://openapi-generator.tech status_reason: status_reason - status_updated_at: status_updated_at - summary: My Package File + status_updated_at: 2000-01-23T04:56:07.000+00:00 + summary: summary checksum_sha1: checksum_sha1 checksum_md5: checksum_md5 sync_progress: 9 is_sync_awaiting: true - uploader_url: uploader_url + uploader_url: https://openapi-generator.tech self_html_url: self_html_url - self_url: self_url - status_url: status_url + origin_repository_url: https://openapi-generator.tech + self_url: https://openapi-generator.tech + status_url: https://openapi-generator.tech is_sync_in_flight: true - security_scan_completed_at: security_scan_completed_at + security_scan_completed_at: 2000-01-23T04:56:07.000+00:00 is_sync_in_progress: true stage_str: stage_str stage: 2 - format_url: format_url - dependencies_url: dependencies_url + format_url: https://openapi-generator.tech + dependencies_url: https://openapi-generator.tech namespace: namespace is_sync_failed: true properties: architectures: - description: "" items: - $ref: '#/components/schemas/_packages__owner___repo___architectures' - title: ArchitecturesList + $ref: '#/components/schemas/Architecture' + readOnly: true type: array cdn_url: - description: "" + nullable: true + readOnly: true + title: Cdn url type: string checksum_md5: - description: "" + readOnly: true + title: Checksum md5 type: string checksum_sha1: - description: "" + readOnly: true + title: Checksum sha1 type: string checksum_sha256: - description: "" + readOnly: true + title: Checksum sha256 type: string checksum_sha512: - description: "" + readOnly: true + title: Checksum sha512 type: string dependencies_checksum_md5: description: A checksum of all of the package's dependencies. + minLength: 1 + readOnly: true + title: Dependencies checksum md5 type: string dependencies_url: - description: "" + format: uri + readOnly: true + title: Dependencies url type: string description: description: A textual description of this package. - example: Everything about packaging files. + minLength: 1 + readOnly: true + title: Description type: string distro: - description: "" - properties: {} - type: object + $ref: '#/components/schemas/Distribution' distro_version: - description: "" - properties: {} - type: object + $ref: '#/components/schemas/DistributionVersion' downloads: - description: "" + readOnly: true + title: Downloads type: integer epoch: description: The epoch of the package version (if any). + readOnly: true + title: Epoch type: integer extension: - description: "" + readOnly: true + title: Extension type: string filename: - description: "" + minLength: 1 + readOnly: true + title: Filename type: string files: - description: "" items: - $ref: '#/components/schemas/_packages__owner___repo___files' - title: FilesList + $ref: '#/components/schemas/PackageFile' + readOnly: true type: array format: - description: "" + minLength: 1 + readOnly: true + title: Format type: string format_url: - description: "" + format: uri + readOnly: true + title: Format url type: string identifier_perm: description: Unique and permanent identifier for the package. + minLength: 1 + readOnly: true + title: Identifier perm type: string indexed: - description: "" + readOnly: true + title: Indexed type: boolean is_downloadable: - description: "" + readOnly: true + title: Is downloadable type: boolean is_quarantined: - description: "" + readOnly: true + title: Is quarantined type: boolean is_sync_awaiting: - description: "" + readOnly: true + title: Is sync awaiting type: boolean is_sync_completed: - description: "" + readOnly: true + title: Is sync completed type: boolean is_sync_failed: - description: "" + readOnly: true + title: Is sync failed type: boolean is_sync_in_flight: - description: "" + readOnly: true + title: Is sync in flight type: boolean is_sync_in_progress: - description: "" + readOnly: true + title: Is sync in progress type: boolean license: description: The license of this package. + minLength: 1 + readOnly: true + title: License type: string name: description: The name of this package. - example: my-package + maxLength: 200 + title: Name type: string namespace: - description: "" + minLength: 1 + readOnly: true + title: Namespace type: string namespace_url: - description: "" + format: uri + readOnly: true + title: Namespace url type: string num_files: - description: "" + readOnly: true + title: Num files type: integer + origin_repository: + minLength: 1 + readOnly: true + title: Origin repository + type: string + origin_repository_url: + format: uri + readOnly: true + title: Origin repository url + type: string package_type: description: The type of package contents. + readOnly: true + title: Package type type: integer + provider: + description: The virtual machine provider for the box. + minLength: 1 + title: Provider + type: string release: description: The release of the package version (if any). + minLength: 1 + readOnly: true + title: Release type: string repository: - description: "" + minLength: 1 + readOnly: true + title: Repository type: string repository_url: - description: "" + format: uri + readOnly: true + title: Repository url type: string security_scan_completed_at: description: The datetime the security scanning was completed. + format: date-time + readOnly: true + title: Security scan completed at type: string security_scan_started_at: description: The datetime the security scanning was started. + format: date-time + readOnly: true + title: Security scan started at type: string security_scan_status: - description: "" - enum: - - Awaiting Security Scan - - Security Scanning in Progress - - Scan Detected Vulnerabilities - - Scan Detected No Vulnerabilities - - Security Scanning Disabled - - Security Scanning Failed - - Security Scanning Skipped - - Security Scanning Not Supported + default: Awaiting Security Scan + nullable: true + readOnly: true + title: Security scan status type: string security_scan_status_updated_at: description: The datetime the security scanning status was updated. + format: date-time + readOnly: true + title: Security scan status updated at type: string self_html_url: - description: "" + minLength: 1 + readOnly: true + title: Self html url type: string self_url: - description: "" + format: uri + readOnly: true + title: Self url type: string signature_url: - description: "" + nullable: true + readOnly: true + title: Signature url type: string size: description: The calculated size of the package. + readOnly: true + title: Size type: integer slug: description: The public unique identifier for the package. + format: slug + minLength: 1 + pattern: "^[-a-zA-Z0-9_]+$" + readOnly: true + title: Slug type: string slug_perm: - description: "" + format: slug + minLength: 1 + pattern: "^[-a-zA-Z0-9_]+$" + readOnly: true + title: Slug perm type: string stage: description: The synchronisation (in progress) stage of the package. + readOnly: true + title: Stage type: integer stage_str: - description: "" + readOnly: true + title: Stage str type: string stage_updated_at: description: The datetime the package stage was updated at. + format: date-time + readOnly: true + title: Stage updated at type: string status: description: The synchronisation status of the package. + readOnly: true + title: Status type: integer status_reason: description: A textual description for the synchronous status reason (if any + minLength: 1 + readOnly: true + title: Status reason type: string status_str: - description: "" + readOnly: true + title: Status str type: string status_updated_at: description: The datetime the package status was updated at. + format: date-time + readOnly: true + title: Status updated at type: string status_url: - description: "" + format: uri + readOnly: true + title: Status url type: string subtype: - description: "" + readOnly: true + title: Subtype type: string summary: description: A one-liner synopsis of this package. - example: My Package File + minLength: 1 + readOnly: true + title: Summary type: string sync_finished_at: description: The datetime the package sync was finished at. + format: date-time + readOnly: true + title: Sync finished at type: string sync_progress: description: Synchronisation progress (from 0-100) + readOnly: true + title: Sync progress type: integer tags_immutable: - description: All immutable tags on the package, grouped by tag type. Immutable - tags cannot be (easily) deleted. - properties: {} + description: "All tags on the package, grouped by tag type. This includes\ + \ immutable tags, but doesn't distinguish them from mutable. To see which\ + \ tags are immutable specifically, see the tags_immutable field." type: object type_display: - description: "" + readOnly: true + title: Type display type: string uploaded_at: description: The date this package was uploaded. + format: date-time + readOnly: true + title: Uploaded at type: string uploader: - description: "" + minLength: 1 + readOnly: true + title: Uploader type: string uploader_url: - description: "" + format: uri + readOnly: true + title: Uploader url type: string version: description: The raw version for this package. - example: "1.0" + maxLength: 128 + title: Version type: string version_orig: - description: "" + readOnly: true + title: Version orig type: string vulnerability_scan_results_url: - description: "" - type: string - title: RawPackageUpload - type: object - RepositoryGpgKey: - example: - public_key: public_key - default: true - fingerprint: fingerprint - active: true - created_at: created_at - comment: comment - fingerprint_short: fingerprint_short - properties: - active: - description: If selected this is the active key for this repository. - type: boolean - comment: - description: "" - type: string - created_at: - description: "" - type: string - default: - description: If selected this is the default key for this repository. - type: boolean - fingerprint: - description: The long identifier used by GPG for this key. - type: string - fingerprint_short: - description: "" - type: string - public_key: - description: The public key given to repository users. + format: uri + readOnly: true + title: Vulnerability scan results url type: string required: - - comment - title: RepositoryGpgKey - type: object - OrgsInvitesCreate: - example: - role: Owner - inviter: inviter - slug_perm: slug_perm - user: user - email: email - properties: - email: - description: None - type: string - inviter: - description: None - type: string - role: - description: None - enum: - - Owner - - Manager - - Member - - Collaborator - type: string - slug_perm: - description: None - type: string - user: - description: None - type: string - title: OrgsInvitesCreate - type: object - UserAuthToken: - example: - token: y4682jh19cqf0b2ty4682jh19cqf0b2t - properties: - token: - description: API token for the authenticated user - example: y4682jh19cqf0b2ty4682jh19cqf0b2t - type: string - title: UserAuthToken + - name + - provider + - version type: object - PackagesUploadComposer: + PackageCopyRequest: example: republish: true - package_file: y123456789 - tags: tags + destination: destination properties: - package_file: - description: The primary file for the package. - example: y123456789 + destination: + minLength: 1 + title: Destination type: string republish: - description: If true, the uploaded package will overwrite any others with - the same attributes (e.g. same version); otherwise, it will be flagged - as a duplicate. + description: "If true, the package will overwrite any others with the same\ + \ attributes (e.g. same version); otherwise, it will be flagged as a duplicate." + title: Republish type: boolean - tags: - description: A comma-separated values list of tags to add to the package. - type: string required: - - package_file - title: PackagesUploadComposer + - destination type: object - CondaPackageUpload: + PackageCopyResponse: example: architectures: - name: name description: description - name: name description: description - security_scan_status_updated_at: security_scan_status_updated_at + security_scan_status_updated_at: 2000-01-23T04:56:07.000+00:00 checksum_sha256: checksum_sha256 release: release package_type: 5 repository: repository + origin_repository: origin_repository identifier_perm: identifier_perm - stage_updated_at: stage_updated_at - tags_immutable: '{}' + stage_updated_at: 2000-01-23T04:56:07.000+00:00 + tags_immutable: "{}" is_quarantined: true slug: slug - security_scan_started_at: security_scan_started_at + security_scan_started_at: 2000-01-23T04:56:07.000+00:00 security_scan_status: Awaiting Security Scan indexed: true format: format status_str: status_str version_orig: version_orig - namespace_url: namespace_url + namespace_url: https://openapi-generator.tech slug_perm: slug_perm version: version + tags: "{}" license: license filename: filename size: 5 cdn_url: cdn_url - uploaded_at: uploaded_at + uploaded_at: 2000-01-23T04:56:07.000+00:00 is_downloadable: true name: name - sync_finished_at: sync_finished_at + sync_finished_at: 2000-01-23T04:56:07.000+00:00 files: - checksum_sha512: checksum_sha512 checksum_sha1: checksum_sha1 @@ -20584,567 +21722,491 @@ components: num_files: 1 status: 7 checksum_sha512: checksum_sha512 - distro: '{}' + distro: + name: name + variants: variants + self_url: https://openapi-generator.tech + slug: slug extension: extension description: description epoch: 6 is_sync_completed: true - distro_version: '{}' + distro_version: + name: name + slug: slug type_display: type_display - vulnerability_scan_results_url: vulnerability_scan_results_url + vulnerability_scan_results_url: https://openapi-generator.tech dependencies_checksum_md5: dependencies_checksum_md5 downloads: 0 subtype: subtype uploader: uploader signature_url: signature_url - repository_url: repository_url + repository_url: https://openapi-generator.tech status_reason: status_reason - status_updated_at: status_updated_at + status_updated_at: 2000-01-23T04:56:07.000+00:00 summary: summary checksum_sha1: checksum_sha1 checksum_md5: checksum_md5 sync_progress: 9 is_sync_awaiting: true - uploader_url: uploader_url + uploader_url: https://openapi-generator.tech self_html_url: self_html_url - self_url: self_url - status_url: status_url + origin_repository_url: https://openapi-generator.tech + self_url: https://openapi-generator.tech + status_url: https://openapi-generator.tech is_sync_in_flight: true - security_scan_completed_at: security_scan_completed_at + security_scan_completed_at: 2000-01-23T04:56:07.000+00:00 is_sync_in_progress: true stage_str: stage_str stage: 2 - format_url: format_url - dependencies_url: dependencies_url + format_url: https://openapi-generator.tech + dependencies_url: https://openapi-generator.tech namespace: namespace is_sync_failed: true properties: architectures: - description: "" items: - $ref: '#/components/schemas/_packages__owner___repo___architectures' - title: ArchitecturesList + $ref: '#/components/schemas/Architecture' + readOnly: true type: array cdn_url: - description: "" + nullable: true + readOnly: true + title: Cdn url type: string checksum_md5: - description: "" + readOnly: true + title: Checksum md5 type: string checksum_sha1: - description: "" + readOnly: true + title: Checksum sha1 type: string checksum_sha256: - description: "" + readOnly: true + title: Checksum sha256 type: string checksum_sha512: - description: "" + readOnly: true + title: Checksum sha512 type: string dependencies_checksum_md5: description: A checksum of all of the package's dependencies. + minLength: 1 + readOnly: true + title: Dependencies checksum md5 type: string dependencies_url: - description: "" + format: uri + readOnly: true + title: Dependencies url type: string description: description: A textual description of this package. + minLength: 1 + readOnly: true + title: Description type: string distro: - description: "" - properties: {} - type: object + $ref: '#/components/schemas/Distribution' distro_version: - description: "" - properties: {} - type: object + $ref: '#/components/schemas/DistributionVersion' downloads: - description: "" + readOnly: true + title: Downloads type: integer epoch: description: The epoch of the package version (if any). + readOnly: true + title: Epoch type: integer extension: - description: "" + readOnly: true + title: Extension type: string filename: - description: "" + minLength: 1 + readOnly: true + title: Filename type: string files: - description: "" items: - $ref: '#/components/schemas/_packages__owner___repo___files' - title: FilesList + $ref: '#/components/schemas/PackageFile' + readOnly: true type: array format: - description: "" + minLength: 1 + readOnly: true + title: Format type: string format_url: - description: "" + format: uri + readOnly: true + title: Format url type: string identifier_perm: description: Unique and permanent identifier for the package. + minLength: 1 + readOnly: true + title: Identifier perm type: string indexed: - description: "" + readOnly: true + title: Indexed type: boolean is_downloadable: - description: "" + readOnly: true + title: Is downloadable type: boolean is_quarantined: - description: "" + readOnly: true + title: Is quarantined type: boolean is_sync_awaiting: - description: "" + readOnly: true + title: Is sync awaiting type: boolean is_sync_completed: - description: "" + readOnly: true + title: Is sync completed type: boolean is_sync_failed: - description: "" + readOnly: true + title: Is sync failed type: boolean is_sync_in_flight: - description: "" + readOnly: true + title: Is sync in flight type: boolean is_sync_in_progress: - description: "" + readOnly: true + title: Is sync in progress type: boolean license: description: The license of this package. + minLength: 1 + readOnly: true + title: License type: string name: description: The name of this package. + minLength: 1 + readOnly: true + title: Name type: string namespace: - description: "" + minLength: 1 + readOnly: true + title: Namespace type: string namespace_url: - description: "" + format: uri + readOnly: true + title: Namespace url type: string num_files: - description: "" + readOnly: true + title: Num files type: integer + origin_repository: + minLength: 1 + readOnly: true + title: Origin repository + type: string + origin_repository_url: + format: uri + readOnly: true + title: Origin repository url + type: string package_type: description: The type of package contents. + readOnly: true + title: Package type type: integer release: description: The release of the package version (if any). + minLength: 1 + readOnly: true + title: Release type: string repository: - description: "" + description: The repository the package will be copied to. + minLength: 1 + readOnly: true + title: Repository type: string repository_url: - description: "" + format: uri + readOnly: true + title: Repository url type: string security_scan_completed_at: description: The datetime the security scanning was completed. + format: date-time + readOnly: true + title: Security scan completed at type: string security_scan_started_at: description: The datetime the security scanning was started. + format: date-time + readOnly: true + title: Security scan started at type: string security_scan_status: - description: "" - enum: - - Awaiting Security Scan - - Security Scanning in Progress - - Scan Detected Vulnerabilities - - Scan Detected No Vulnerabilities - - Security Scanning Disabled - - Security Scanning Failed - - Security Scanning Skipped - - Security Scanning Not Supported + default: Awaiting Security Scan + nullable: true + readOnly: true + title: Security scan status type: string security_scan_status_updated_at: description: The datetime the security scanning status was updated. + format: date-time + readOnly: true + title: Security scan status updated at type: string self_html_url: - description: "" + minLength: 1 + readOnly: true + title: Self html url type: string self_url: - description: "" + format: uri + readOnly: true + title: Self url type: string signature_url: - description: "" + nullable: true + readOnly: true + title: Signature url type: string size: description: The calculated size of the package. + readOnly: true + title: Size type: integer slug: description: The public unique identifier for the package. + format: slug + minLength: 1 + pattern: "^[-a-zA-Z0-9_]+$" + readOnly: true + title: Slug type: string slug_perm: - description: "" + format: slug + minLength: 1 + pattern: "^[-a-zA-Z0-9_]+$" + readOnly: true + title: Slug perm type: string stage: description: The synchronisation (in progress) stage of the package. + readOnly: true + title: Stage type: integer stage_str: - description: "" + readOnly: true + title: Stage str type: string stage_updated_at: description: The datetime the package stage was updated at. + format: date-time + readOnly: true + title: Stage updated at type: string status: description: The synchronisation status of the package. + readOnly: true + title: Status type: integer status_reason: description: A textual description for the synchronous status reason (if any + minLength: 1 + readOnly: true + title: Status reason type: string status_str: - description: "" + readOnly: true + title: Status str type: string status_updated_at: description: The datetime the package status was updated at. + format: date-time + readOnly: true + title: Status updated at type: string status_url: - description: "" + format: uri + readOnly: true + title: Status url type: string subtype: - description: "" + readOnly: true + title: Subtype type: string summary: description: A one-liner synopsis of this package. + minLength: 1 + readOnly: true + title: Summary type: string sync_finished_at: description: The datetime the package sync was finished at. + format: date-time + readOnly: true + title: Sync finished at type: string sync_progress: description: Synchronisation progress (from 0-100) + readOnly: true + title: Sync progress type: integer + tags: + description: "All tags on the package, grouped by tag type. This includes\ + \ immutable tags, but doesn't distinguish them from mutable. To see which\ + \ tags are immutable specifically, see the tags_immutable field." + type: object tags_immutable: - description: All immutable tags on the package, grouped by tag type. Immutable - tags cannot be (easily) deleted. - properties: {} + description: "All tags on the package, grouped by tag type. This includes\ + \ immutable tags, but doesn't distinguish them from mutable. To see which\ + \ tags are immutable specifically, see the tags_immutable field." type: object type_display: - description: "" + readOnly: true + title: Type display type: string uploaded_at: description: The date this package was uploaded. + format: date-time + readOnly: true + title: Uploaded at type: string uploader: - description: "" + minLength: 1 + readOnly: true + title: Uploader type: string uploader_url: - description: "" + format: uri + readOnly: true + title: Uploader url type: string version: description: The raw version for this package. + minLength: 1 + readOnly: true + title: Version type: string version_orig: - description: "" + readOnly: true + title: Version orig type: string vulnerability_scan_results_url: - description: "" - type: string - title: CondaPackageUpload - type: object - FilesCreate: - example: - sha256_checksum: sha256_checksum - filename: filename - method: put_parts - md5_checksum: md5_checksum - properties: - filename: - description: Filename for the package file upload. - type: string - md5_checksum: - description: MD5 checksum for a POST-based package file upload. - type: string - method: - description: The method to use for package file upload. - enum: - - put_parts - - put - - post - - presigned - - unsigned_put - type: string - sha256_checksum: - description: SHA256 checksum for a PUT-based package file upload. - type: string - required: - - filename - title: FilesCreate - type: object - PackagesUploadGo: - example: - republish: true - package_file: x123456789a - tags: tags - properties: - package_file: - description: The primary file for the package. - example: x123456789a - type: string - republish: - description: If true, the uploaded package will overwrite any others with - the same attributes (e.g. same version); otherwise, it will be flagged - as a duplicate. - type: boolean - tags: - description: A comma-separated values list of tags to add to the package. - type: string - required: - - package_file - title: PackagesUploadGo - type: object - PackagesValidate_uploadDart: - properties: - package_file: - description: The primary file for the package. - example: x123456789a - type: string - republish: - description: If true, the uploaded package will overwrite any others with - the same attributes (e.g. same version); otherwise, it will be flagged - as a duplicate. - type: boolean - tags: - description: A comma-separated values list of tags to add to the package. - type: string - required: - - package_file - title: PackagesValidate-uploadDart - type: object - OrganizationInvite: - example: - expires_at: expires_at - role: Owner - org: org - user_url: user_url - inviter: inviter - inviter_url: inviter_url - slug_perm: slug_perm - user: user - email: email - properties: - email: - description: "" - type: string - expires_at: - description: "" - type: string - inviter: - description: "" - type: string - inviter_url: - description: "" - type: string - org: - description: "" - type: string - role: - description: "" - enum: - - Owner - - Manager - - Member - - Collaborator - type: string - slug_perm: - description: "" - type: string - user: - description: "" - type: string - user_url: - description: "" + format: uri + readOnly: true + title: Vulnerability scan results url type: string - title: OrganizationInvite type: object - OrgsTeamsCreate: + PackageDependency: example: - visibility: Visible + dep_type: Depends name: name - description: description - slug: slug + version: version + operator: = properties: - description: - description: None + dep_type: + default: Depends + readOnly: true + title: Dep type type: string name: - description: None + description: The name of the package dependency. + maxLength: 255 + minLength: 1 + title: Name type: string - slug: - description: None + operator: + default: = + nullable: true + readOnly: true + title: Operator type: string - visibility: - description: None - enum: - - Visible - - Hidden + version: + description: The raw dependency version (if any). + maxLength: 128 + nullable: true + title: Version type: string required: - name - title: OrgsTeamsCreate - type: object - OrgsTeamsPartialUpdate: - example: - visibility: Visible - name: name - description: description - slug: slug - properties: - description: - description: None - type: string - name: - description: None - type: string - slug: - description: None - type: string - visibility: - description: None - enum: - - Visible - - Hidden - type: string - title: OrgsTeamsPartialUpdate - type: object - PackagesValidate_uploadCargo: - properties: - package_file: - description: The primary file for the package. - example: x123456789a - type: string - republish: - description: If true, the uploaded package will overwrite any others with - the same attributes (e.g. same version); otherwise, it will be flagged - as a duplicate. - type: boolean - tags: - description: A comma-separated values list of tags to add to the package. - type: string - required: - - package_file - title: PackagesValidate-uploadCargo type: object - FilesComplete: + PackageDependenciesResponse: example: - sha256_checksum: sha256_checksum - filename: filename - method: put_parts - md5_checksum: md5_checksum + dependencies: + - dep_type: Depends + name: name + version: version + operator: = + - dep_type: Depends + name: name + version: version + operator: = properties: - filename: - description: Filename for the package file upload. - type: string - md5_checksum: - description: MD5 checksum for a POST-based package file upload. - type: string - method: - description: The method to use for package file upload. - enum: - - put_parts - - put - - post - - presigned - - unsigned_put - type: string - sha256_checksum: - description: SHA256 checksum for a PUT-based package file upload. - type: string + dependencies: + items: + $ref: '#/components/schemas/PackageDependency' + type: array required: - - filename - title: FilesComplete - type: object - _formats__distributions: - example: - name: name - variants: variants - self_url: self_url - slug: slug - properties: - name: - description: "" - type: string - self_url: - description: "" - type: string - slug: - description: The slug identifier for this distribution - type: string - variants: - description: "" - type: string + - dependencies type: object - PackagesUploadCargo: + PackageMoveRequest: example: - republish: true - package_file: x123456789a - tags: tags + destination: destination properties: - package_file: - description: The primary file for the package. - example: x123456789a - type: string - republish: - description: If true, the uploaded package will overwrite any others with - the same attributes (e.g. same version); otherwise, it will be flagged - as a duplicate. - type: boolean - tags: - description: A comma-separated values list of tags to add to the package. + destination: + minLength: 1 + title: Destination type: string required: - - package_file - title: PackagesUploadCargo - type: object - OrganizationTeamMembers: - example: - members: - - role: role - user: user - - role: role - user: user - properties: - members: - description: "" - items: - $ref: '#/components/schemas/OrganizationTeamMembers_members' - title: MembersList - type: array - required: - - members - title: OrganizationTeamMembers + - destination type: object - CargoPackageUpload: + PackageMoveResponse: example: architectures: - name: name description: description - name: name description: description - security_scan_status_updated_at: security_scan_status_updated_at + security_scan_status_updated_at: 2000-01-23T04:56:07.000+00:00 checksum_sha256: checksum_sha256 release: release package_type: 5 repository: repository + origin_repository: origin_repository identifier_perm: identifier_perm - stage_updated_at: stage_updated_at - tags_immutable: '{}' + stage_updated_at: 2000-01-23T04:56:07.000+00:00 + tags_immutable: "{}" is_quarantined: true slug: slug - security_scan_started_at: security_scan_started_at + security_scan_started_at: 2000-01-23T04:56:07.000+00:00 security_scan_status: Awaiting Security Scan indexed: true format: format status_str: status_str version_orig: version_orig - namespace_url: namespace_url + namespace_url: https://openapi-generator.tech slug_perm: slug_perm version: version + tags: "{}" license: license filename: filename size: 5 cdn_url: cdn_url - uploaded_at: uploaded_at + uploaded_at: 2000-01-23T04:56:07.000+00:00 is_downloadable: true name: name - sync_finished_at: sync_finished_at + sync_finished_at: 2000-01-23T04:56:07.000+00:00 files: - checksum_sha512: checksum_sha512 checksum_sha1: checksum_sha1 @@ -21177,313 +22239,437 @@ components: num_files: 1 status: 7 checksum_sha512: checksum_sha512 - distro: '{}' + distro: + name: name + variants: variants + self_url: https://openapi-generator.tech + slug: slug extension: extension description: description epoch: 6 is_sync_completed: true - distro_version: '{}' + distro_version: + name: name + slug: slug type_display: type_display - vulnerability_scan_results_url: vulnerability_scan_results_url + vulnerability_scan_results_url: https://openapi-generator.tech dependencies_checksum_md5: dependencies_checksum_md5 downloads: 0 subtype: subtype uploader: uploader signature_url: signature_url - repository_url: repository_url + repository_url: https://openapi-generator.tech status_reason: status_reason - status_updated_at: status_updated_at + status_updated_at: 2000-01-23T04:56:07.000+00:00 summary: summary checksum_sha1: checksum_sha1 checksum_md5: checksum_md5 sync_progress: 9 is_sync_awaiting: true - uploader_url: uploader_url + uploader_url: https://openapi-generator.tech self_html_url: self_html_url - self_url: self_url - status_url: status_url + origin_repository_url: https://openapi-generator.tech + self_url: https://openapi-generator.tech + status_url: https://openapi-generator.tech is_sync_in_flight: true - security_scan_completed_at: security_scan_completed_at + security_scan_completed_at: 2000-01-23T04:56:07.000+00:00 is_sync_in_progress: true stage_str: stage_str stage: 2 - format_url: format_url - dependencies_url: dependencies_url + format_url: https://openapi-generator.tech + dependencies_url: https://openapi-generator.tech namespace: namespace is_sync_failed: true properties: architectures: - description: "" items: - $ref: '#/components/schemas/_packages__owner___repo___architectures' - title: ArchitecturesList + $ref: '#/components/schemas/Architecture' + readOnly: true type: array cdn_url: - description: "" + nullable: true + readOnly: true + title: Cdn url type: string checksum_md5: - description: "" + readOnly: true + title: Checksum md5 type: string checksum_sha1: - description: "" + readOnly: true + title: Checksum sha1 type: string checksum_sha256: - description: "" + readOnly: true + title: Checksum sha256 type: string checksum_sha512: - description: "" + readOnly: true + title: Checksum sha512 type: string dependencies_checksum_md5: description: A checksum of all of the package's dependencies. + minLength: 1 + readOnly: true + title: Dependencies checksum md5 type: string dependencies_url: - description: "" + format: uri + readOnly: true + title: Dependencies url type: string description: description: A textual description of this package. + minLength: 1 + readOnly: true + title: Description type: string distro: - description: "" - properties: {} - type: object + $ref: '#/components/schemas/Distribution' distro_version: - description: "" - properties: {} - type: object + $ref: '#/components/schemas/DistributionVersion' downloads: - description: "" + readOnly: true + title: Downloads type: integer epoch: description: The epoch of the package version (if any). + readOnly: true + title: Epoch type: integer extension: - description: "" + readOnly: true + title: Extension type: string filename: - description: "" + minLength: 1 + readOnly: true + title: Filename type: string files: - description: "" items: - $ref: '#/components/schemas/_packages__owner___repo___files' - title: FilesList + $ref: '#/components/schemas/PackageFile' + readOnly: true type: array format: - description: "" + minLength: 1 + readOnly: true + title: Format type: string format_url: - description: "" + format: uri + readOnly: true + title: Format url type: string identifier_perm: description: Unique and permanent identifier for the package. + minLength: 1 + readOnly: true + title: Identifier perm type: string indexed: - description: "" + readOnly: true + title: Indexed type: boolean is_downloadable: - description: "" + readOnly: true + title: Is downloadable type: boolean is_quarantined: - description: "" + readOnly: true + title: Is quarantined type: boolean is_sync_awaiting: - description: "" + readOnly: true + title: Is sync awaiting type: boolean is_sync_completed: - description: "" + readOnly: true + title: Is sync completed type: boolean is_sync_failed: - description: "" + readOnly: true + title: Is sync failed type: boolean is_sync_in_flight: - description: "" + readOnly: true + title: Is sync in flight type: boolean is_sync_in_progress: - description: "" + readOnly: true + title: Is sync in progress type: boolean license: description: The license of this package. + minLength: 1 + readOnly: true + title: License type: string name: description: The name of this package. + minLength: 1 + readOnly: true + title: Name type: string namespace: - description: "" + minLength: 1 + readOnly: true + title: Namespace type: string namespace_url: - description: "" + format: uri + readOnly: true + title: Namespace url type: string num_files: - description: "" + readOnly: true + title: Num files type: integer + origin_repository: + minLength: 1 + readOnly: true + title: Origin repository + type: string + origin_repository_url: + format: uri + readOnly: true + title: Origin repository url + type: string package_type: description: The type of package contents. + readOnly: true + title: Package type type: integer release: description: The release of the package version (if any). + minLength: 1 + readOnly: true + title: Release type: string repository: - description: "" + description: The repository the package will be moved to. + minLength: 1 + readOnly: true + title: Repository type: string repository_url: - description: "" + format: uri + readOnly: true + title: Repository url type: string security_scan_completed_at: description: The datetime the security scanning was completed. + format: date-time + readOnly: true + title: Security scan completed at type: string security_scan_started_at: description: The datetime the security scanning was started. + format: date-time + readOnly: true + title: Security scan started at type: string security_scan_status: - description: "" - enum: - - Awaiting Security Scan - - Security Scanning in Progress - - Scan Detected Vulnerabilities - - Scan Detected No Vulnerabilities - - Security Scanning Disabled - - Security Scanning Failed - - Security Scanning Skipped - - Security Scanning Not Supported + default: Awaiting Security Scan + nullable: true + readOnly: true + title: Security scan status type: string security_scan_status_updated_at: description: The datetime the security scanning status was updated. + format: date-time + readOnly: true + title: Security scan status updated at type: string self_html_url: - description: "" + minLength: 1 + readOnly: true + title: Self html url type: string self_url: - description: "" + format: uri + readOnly: true + title: Self url type: string signature_url: - description: "" + nullable: true + readOnly: true + title: Signature url type: string size: description: The calculated size of the package. + readOnly: true + title: Size type: integer slug: description: The public unique identifier for the package. + format: slug + minLength: 1 + pattern: "^[-a-zA-Z0-9_]+$" + readOnly: true + title: Slug type: string slug_perm: - description: "" + format: slug + minLength: 1 + pattern: "^[-a-zA-Z0-9_]+$" + readOnly: true + title: Slug perm type: string stage: description: The synchronisation (in progress) stage of the package. + readOnly: true + title: Stage type: integer stage_str: - description: "" + readOnly: true + title: Stage str type: string stage_updated_at: description: The datetime the package stage was updated at. + format: date-time + readOnly: true + title: Stage updated at type: string status: description: The synchronisation status of the package. + readOnly: true + title: Status type: integer status_reason: description: A textual description for the synchronous status reason (if any + minLength: 1 + readOnly: true + title: Status reason type: string status_str: - description: "" + readOnly: true + title: Status str type: string status_updated_at: description: The datetime the package status was updated at. + format: date-time + readOnly: true + title: Status updated at type: string status_url: - description: "" + format: uri + readOnly: true + title: Status url type: string subtype: - description: "" + readOnly: true + title: Subtype type: string summary: description: A one-liner synopsis of this package. + minLength: 1 + readOnly: true + title: Summary type: string sync_finished_at: description: The datetime the package sync was finished at. + format: date-time + readOnly: true + title: Sync finished at type: string sync_progress: description: Synchronisation progress (from 0-100) + readOnly: true + title: Sync progress type: integer + tags: + description: "All tags on the package, grouped by tag type. This includes\ + \ immutable tags, but doesn't distinguish them from mutable. To see which\ + \ tags are immutable specifically, see the tags_immutable field." + type: object tags_immutable: - description: All immutable tags on the package, grouped by tag type. Immutable - tags cannot be (easily) deleted. - properties: {} + description: "All tags on the package, grouped by tag type. This includes\ + \ immutable tags, but doesn't distinguish them from mutable. To see which\ + \ tags are immutable specifically, see the tags_immutable field." type: object type_display: - description: "" + readOnly: true + title: Type display type: string uploaded_at: description: The date this package was uploaded. + format: date-time + readOnly: true + title: Uploaded at type: string uploader: - description: "" + minLength: 1 + readOnly: true + title: Uploader type: string uploader_url: - description: "" + format: uri + readOnly: true + title: Uploader url type: string version: description: The raw version for this package. + minLength: 1 + readOnly: true + title: Version type: string version_orig: - description: "" + readOnly: true + title: Version orig type: string vulnerability_scan_results_url: - description: "" + format: uri + readOnly: true + title: Vulnerability scan results url type: string - title: CargoPackageUpload type: object - PackagesValidate_uploadPython: + PackageQuarantineRequest: + example: + restore: true properties: - package_file: - description: The primary file for the package. - example: y123456789 - type: string - republish: - description: If true, the uploaded package will overwrite any others with - the same attributes (e.g. same version); otherwise, it will be flagged - as a duplicate. + restore: + description: "If true, the package be restored from quarantine." + title: Restore type: boolean - tags: - description: A comma-separated values list of tags to add to the package. - type: string - required: - - package_file - title: PackagesValidate-uploadPython type: object - ComposerPackageUpload: + PackageQuarantineResponse: example: architectures: - name: name description: description - name: name description: description - security_scan_status_updated_at: security_scan_status_updated_at + security_scan_status_updated_at: 2000-01-23T04:56:07.000+00:00 checksum_sha256: checksum_sha256 release: release package_type: 5 repository: repository + origin_repository: origin_repository identifier_perm: identifier_perm - stage_updated_at: stage_updated_at - tags_immutable: '{}' + stage_updated_at: 2000-01-23T04:56:07.000+00:00 + tags_immutable: "{}" is_quarantined: true slug: slug - security_scan_started_at: security_scan_started_at + security_scan_started_at: 2000-01-23T04:56:07.000+00:00 security_scan_status: Awaiting Security Scan indexed: true format: format status_str: status_str version_orig: version_orig - namespace_url: namespace_url + namespace_url: https://openapi-generator.tech slug_perm: slug_perm version: version + tags: "{}" license: license filename: filename size: 5 cdn_url: cdn_url - uploaded_at: uploaded_at + uploaded_at: 2000-01-23T04:56:07.000+00:00 is_downloadable: true name: name - sync_finished_at: sync_finished_at + sync_finished_at: 2000-01-23T04:56:07.000+00:00 files: - checksum_sha512: checksum_sha512 checksum_sha1: checksum_sha1 @@ -21516,434 +22702,427 @@ components: num_files: 1 status: 7 checksum_sha512: checksum_sha512 - distro: '{}' + distro: + name: name + variants: variants + self_url: https://openapi-generator.tech + slug: slug extension: extension description: description epoch: 6 is_sync_completed: true - distro_version: '{}' + distro_version: + name: name + slug: slug type_display: type_display - vulnerability_scan_results_url: vulnerability_scan_results_url + vulnerability_scan_results_url: https://openapi-generator.tech dependencies_checksum_md5: dependencies_checksum_md5 downloads: 0 subtype: subtype uploader: uploader signature_url: signature_url - repository_url: repository_url + repository_url: https://openapi-generator.tech status_reason: status_reason - status_updated_at: status_updated_at + status_updated_at: 2000-01-23T04:56:07.000+00:00 summary: summary checksum_sha1: checksum_sha1 checksum_md5: checksum_md5 sync_progress: 9 is_sync_awaiting: true - uploader_url: uploader_url + uploader_url: https://openapi-generator.tech self_html_url: self_html_url - self_url: self_url - status_url: status_url + origin_repository_url: https://openapi-generator.tech + self_url: https://openapi-generator.tech + status_url: https://openapi-generator.tech is_sync_in_flight: true - security_scan_completed_at: security_scan_completed_at + security_scan_completed_at: 2000-01-23T04:56:07.000+00:00 is_sync_in_progress: true stage_str: stage_str stage: 2 - format_url: format_url - dependencies_url: dependencies_url + format_url: https://openapi-generator.tech + dependencies_url: https://openapi-generator.tech namespace: namespace is_sync_failed: true properties: architectures: - description: "" items: - $ref: '#/components/schemas/_packages__owner___repo___architectures' - title: ArchitecturesList + $ref: '#/components/schemas/Architecture' + readOnly: true type: array cdn_url: - description: "" + nullable: true + readOnly: true + title: Cdn url type: string checksum_md5: - description: "" + readOnly: true + title: Checksum md5 type: string checksum_sha1: - description: "" + readOnly: true + title: Checksum sha1 type: string checksum_sha256: - description: "" + readOnly: true + title: Checksum sha256 type: string checksum_sha512: - description: "" + readOnly: true + title: Checksum sha512 type: string dependencies_checksum_md5: description: A checksum of all of the package's dependencies. + minLength: 1 + readOnly: true + title: Dependencies checksum md5 type: string dependencies_url: - description: "" + format: uri + readOnly: true + title: Dependencies url type: string description: description: A textual description of this package. + minLength: 1 + readOnly: true + title: Description type: string distro: - description: "" - properties: {} - type: object + $ref: '#/components/schemas/Distribution' distro_version: - description: "" - properties: {} - type: object + $ref: '#/components/schemas/DistributionVersion' downloads: - description: "" + readOnly: true + title: Downloads type: integer epoch: description: The epoch of the package version (if any). + readOnly: true + title: Epoch type: integer extension: - description: "" + readOnly: true + title: Extension type: string filename: - description: "" + minLength: 1 + readOnly: true + title: Filename type: string files: - description: "" items: - $ref: '#/components/schemas/_packages__owner___repo___files' - title: FilesList + $ref: '#/components/schemas/PackageFile' + readOnly: true type: array format: - description: "" + minLength: 1 + readOnly: true + title: Format type: string format_url: - description: "" + format: uri + readOnly: true + title: Format url type: string identifier_perm: description: Unique and permanent identifier for the package. + minLength: 1 + readOnly: true + title: Identifier perm type: string indexed: - description: "" + readOnly: true + title: Indexed type: boolean is_downloadable: - description: "" + readOnly: true + title: Is downloadable type: boolean is_quarantined: - description: "" + readOnly: true + title: Is quarantined type: boolean is_sync_awaiting: - description: "" + readOnly: true + title: Is sync awaiting type: boolean is_sync_completed: - description: "" + readOnly: true + title: Is sync completed type: boolean is_sync_failed: - description: "" + readOnly: true + title: Is sync failed type: boolean is_sync_in_flight: - description: "" + readOnly: true + title: Is sync in flight type: boolean is_sync_in_progress: - description: "" + readOnly: true + title: Is sync in progress type: boolean license: description: The license of this package. + minLength: 1 + readOnly: true + title: License type: string name: description: The name of this package. + minLength: 1 + readOnly: true + title: Name type: string namespace: - description: "" + minLength: 1 + readOnly: true + title: Namespace type: string namespace_url: - description: "" + format: uri + readOnly: true + title: Namespace url type: string num_files: - description: "" + readOnly: true + title: Num files type: integer + origin_repository: + minLength: 1 + readOnly: true + title: Origin repository + type: string + origin_repository_url: + format: uri + readOnly: true + title: Origin repository url + type: string package_type: description: The type of package contents. + readOnly: true + title: Package type type: integer release: description: The release of the package version (if any). + minLength: 1 + readOnly: true + title: Release type: string repository: - description: "" + minLength: 1 + readOnly: true + title: Repository type: string repository_url: - description: "" + format: uri + readOnly: true + title: Repository url type: string security_scan_completed_at: description: The datetime the security scanning was completed. + format: date-time + readOnly: true + title: Security scan completed at type: string security_scan_started_at: description: The datetime the security scanning was started. + format: date-time + readOnly: true + title: Security scan started at type: string security_scan_status: - description: "" - enum: - - Awaiting Security Scan - - Security Scanning in Progress - - Scan Detected Vulnerabilities - - Scan Detected No Vulnerabilities - - Security Scanning Disabled - - Security Scanning Failed - - Security Scanning Skipped - - Security Scanning Not Supported + default: Awaiting Security Scan + nullable: true + readOnly: true + title: Security scan status type: string security_scan_status_updated_at: description: The datetime the security scanning status was updated. + format: date-time + readOnly: true + title: Security scan status updated at type: string self_html_url: - description: "" + minLength: 1 + readOnly: true + title: Self html url type: string self_url: - description: "" + format: uri + readOnly: true + title: Self url type: string signature_url: - description: "" + nullable: true + readOnly: true + title: Signature url type: string size: description: The calculated size of the package. + readOnly: true + title: Size type: integer slug: description: The public unique identifier for the package. + format: slug + minLength: 1 + pattern: "^[-a-zA-Z0-9_]+$" + readOnly: true + title: Slug type: string slug_perm: - description: "" + format: slug + minLength: 1 + pattern: "^[-a-zA-Z0-9_]+$" + readOnly: true + title: Slug perm type: string stage: description: The synchronisation (in progress) stage of the package. + readOnly: true + title: Stage type: integer stage_str: - description: "" + readOnly: true + title: Stage str type: string stage_updated_at: description: The datetime the package stage was updated at. + format: date-time + readOnly: true + title: Stage updated at type: string status: description: The synchronisation status of the package. + readOnly: true + title: Status type: integer status_reason: description: A textual description for the synchronous status reason (if any + minLength: 1 + readOnly: true + title: Status reason type: string status_str: - description: "" + readOnly: true + title: Status str type: string status_updated_at: description: The datetime the package status was updated at. + format: date-time + readOnly: true + title: Status updated at type: string status_url: - description: "" + format: uri + readOnly: true + title: Status url type: string subtype: - description: "" + readOnly: true + title: Subtype type: string summary: description: A one-liner synopsis of this package. + minLength: 1 + readOnly: true + title: Summary type: string sync_finished_at: description: The datetime the package sync was finished at. + format: date-time + readOnly: true + title: Sync finished at type: string sync_progress: description: Synchronisation progress (from 0-100) + readOnly: true + title: Sync progress type: integer + tags: + description: "All tags on the package, grouped by tag type. This includes\ + \ immutable tags, but doesn't distinguish them from mutable. To see which\ + \ tags are immutable specifically, see the tags_immutable field." + type: object tags_immutable: - description: All immutable tags on the package, grouped by tag type. Immutable - tags cannot be (easily) deleted. - properties: {} + description: "All tags on the package, grouped by tag type. This includes\ + \ immutable tags, but doesn't distinguish them from mutable. To see which\ + \ tags are immutable specifically, see the tags_immutable field." type: object type_display: - description: "" + readOnly: true + title: Type display type: string uploaded_at: description: The date this package was uploaded. + format: date-time + readOnly: true + title: Uploaded at type: string uploader: - description: "" + minLength: 1 + readOnly: true + title: Uploader type: string uploader_url: - description: "" + format: uri + readOnly: true + title: Uploader url type: string version: description: The raw version for this package. + minLength: 1 + readOnly: true + title: Version type: string version_orig: - description: "" + readOnly: true + title: Version orig type: string vulnerability_scan_results_url: - description: "" - type: string - title: ComposerPackageUpload - type: object - PackagesUploadLuarocks: - example: - republish: true - package_file: x123456789a - tags: tags - properties: - package_file: - description: The primary file for the package. - example: x123456789a - type: string - republish: - description: If true, the uploaded package will overwrite any others with - the same attributes (e.g. same version); otherwise, it will be flagged - as a duplicate. - type: boolean - tags: - description: A comma-separated values list of tags to add to the package. - type: string - required: - - package_file - title: PackagesUploadLuarocks - type: object - EntitlementsPartialUpdate: - example: - limit_date_range_to: limit_date_range_to - metadata: '{}' - is_active: true - limit_bandwidth_unit: Byte - scheduled_reset_at: scheduled_reset_at - limit_bandwidth: 0 - limit_num_clients: 6 - limit_package_query: limit_package_query - limit_path_query: limit_path_query - token: token - name: name - limit_date_range_from: limit_date_range_from - limit_num_downloads: 1 - eula_required: true - scheduled_reset_period: Never Reset - properties: - eula_required: - description: If checked, a EULA acceptance is required for this token. - type: boolean - is_active: - description: If enabled, the token will allow downloads based on configured - restrictions (if any). - type: boolean - limit_bandwidth: - description: 'The maximum download bandwidth allowed for the token. Values - are expressed as the selected unit of bandwidth. Please note that since - downloads are calculated asynchronously (after the download happens), - the limit may not be imposed immediately but at a later point. ' - type: integer - limit_bandwidth_unit: - description: None - enum: - - Byte - - Kilobyte - - Megabyte - - Gigabyte - - Terabyte - - Petabyte - - Exabyte - - Zettabyte - - Yottabyte - type: string - limit_date_range_from: - description: The starting date/time the token is allowed to be used from. - type: string - limit_date_range_to: - description: The ending date/time the token is allowed to be used until. - type: string - limit_num_clients: - description: The maximum number of unique clients allowed for the token. - Please note that since clients are calculated asynchronously (after the - download happens), the limit may not be imposed immediately but at a later - point. - type: integer - limit_num_downloads: - description: The maximum number of downloads allowed for the token. Please - note that since downloads are calculated asynchronously (after the download - happens), the limit may not be imposed immediately but at a later point. - type: integer - limit_package_query: - description: The package-based search query to apply to restrict downloads - to. This uses the same syntax as the standard search used for repositories, - and also supports boolean logic operators such as OR/AND/NOT and parentheses - for grouping. This will still allow access to non-package files, such - as metadata. - type: string - limit_path_query: - description: The path-based search query to apply to restrict downloads - to. This supports boolean logic operators such as OR/AND/NOT and parentheses - for grouping. The path evaluated does not include the domain name, the - namespace, the entitlement code used, the package format, etc. and it - always starts with a forward slash. - type: string - metadata: - description: None - properties: {} - type: object - name: - description: None - type: string - scheduled_reset_at: - description: The time at which the scheduled reset period has elapsed and - the token limits were automatically reset to zero. - type: string - scheduled_reset_period: - description: None - enum: - - Never Reset - - Daily - - Weekly - - Fortnightly - - Monthly - - Bi-Monthly - - Quarterly - - Every 6 months - - Annual - type: string - token: - description: None - type: string - title: EntitlementsPartialUpdate - type: object - _distros__versions: - example: - name: name - slug: slug - properties: - name: - description: The textual name for this version. - type: string - slug: - description: The slug identifier for this version + format: uri + readOnly: true + title: Vulnerability scan results url type: string type: object - MavenPackageUpload: + PackageResyncResponse: example: architectures: - name: name description: description - name: name description: description - security_scan_status_updated_at: security_scan_status_updated_at + security_scan_status_updated_at: 2000-01-23T04:56:07.000+00:00 checksum_sha256: checksum_sha256 release: release - artifact_id: cloudsmith-example package_type: 5 repository: repository + origin_repository: origin_repository identifier_perm: identifier_perm - stage_updated_at: stage_updated_at - tags_immutable: '{}' + stage_updated_at: 2000-01-23T04:56:07.000+00:00 + tags_immutable: "{}" is_quarantined: true slug: slug - security_scan_started_at: security_scan_started_at + security_scan_started_at: 2000-01-23T04:56:07.000+00:00 security_scan_status: Awaiting Security Scan indexed: true format: format status_str: status_str version_orig: version_orig - namespace_url: namespace_url + namespace_url: https://openapi-generator.tech slug_perm: slug_perm version: version + tags: "{}" license: license filename: filename size: 5 cdn_url: cdn_url - uploaded_at: uploaded_at + uploaded_at: 2000-01-23T04:56:07.000+00:00 is_downloadable: true name: name - sync_finished_at: sync_finished_at + sync_finished_at: 2000-01-23T04:56:07.000+00:00 files: - checksum_sha512: checksum_sha512 checksum_sha1: checksum_sha1 @@ -21976,2631 +23155,3965 @@ components: num_files: 1 status: 7 checksum_sha512: checksum_sha512 - distro: '{}' + distro: + name: name + variants: variants + self_url: https://openapi-generator.tech + slug: slug extension: extension description: description epoch: 6 is_sync_completed: true - distro_version: '{}' + distro_version: + name: name + slug: slug type_display: type_display - vulnerability_scan_results_url: vulnerability_scan_results_url + vulnerability_scan_results_url: https://openapi-generator.tech dependencies_checksum_md5: dependencies_checksum_md5 downloads: 0 subtype: subtype uploader: uploader signature_url: signature_url - repository_url: repository_url + repository_url: https://openapi-generator.tech status_reason: status_reason - status_updated_at: status_updated_at + status_updated_at: 2000-01-23T04:56:07.000+00:00 summary: summary checksum_sha1: checksum_sha1 checksum_md5: checksum_md5 sync_progress: 9 is_sync_awaiting: true - packaging: packaging - uploader_url: uploader_url + uploader_url: https://openapi-generator.tech self_html_url: self_html_url - self_url: self_url - status_url: status_url + origin_repository_url: https://openapi-generator.tech + self_url: https://openapi-generator.tech + status_url: https://openapi-generator.tech is_sync_in_flight: true - security_scan_completed_at: security_scan_completed_at + security_scan_completed_at: 2000-01-23T04:56:07.000+00:00 is_sync_in_progress: true stage_str: stage_str stage: 2 - format_url: format_url - group_id: io.cloudsmith.example - dependencies_url: dependencies_url + format_url: https://openapi-generator.tech + dependencies_url: https://openapi-generator.tech namespace: namespace is_sync_failed: true properties: architectures: - description: "" items: - $ref: '#/components/schemas/_packages__owner___repo___architectures' - title: ArchitecturesList + $ref: '#/components/schemas/Architecture' + readOnly: true type: array - artifact_id: - description: The ID of the artifact. - example: cloudsmith-example - type: string cdn_url: - description: "" + nullable: true + readOnly: true + title: Cdn url type: string checksum_md5: - description: "" + readOnly: true + title: Checksum md5 type: string checksum_sha1: - description: "" + readOnly: true + title: Checksum sha1 type: string checksum_sha256: - description: "" + readOnly: true + title: Checksum sha256 type: string checksum_sha512: - description: "" + readOnly: true + title: Checksum sha512 type: string dependencies_checksum_md5: description: A checksum of all of the package's dependencies. + minLength: 1 + readOnly: true + title: Dependencies checksum md5 type: string dependencies_url: - description: "" + format: uri + readOnly: true + title: Dependencies url type: string description: description: A textual description of this package. + minLength: 1 + readOnly: true + title: Description type: string distro: - description: "" - properties: {} - type: object + $ref: '#/components/schemas/Distribution' distro_version: - description: "" - properties: {} - type: object + $ref: '#/components/schemas/DistributionVersion' downloads: - description: "" + readOnly: true + title: Downloads type: integer epoch: description: The epoch of the package version (if any). + readOnly: true + title: Epoch type: integer extension: - description: "" + readOnly: true + title: Extension type: string filename: - description: "" + minLength: 1 + readOnly: true + title: Filename type: string files: - description: "" items: - $ref: '#/components/schemas/_packages__owner___repo___files' - title: FilesList + $ref: '#/components/schemas/PackageFile' + readOnly: true type: array format: - description: "" + minLength: 1 + readOnly: true + title: Format type: string format_url: - description: "" - type: string - group_id: - description: Artifact's group ID. - example: io.cloudsmith.example + format: uri + readOnly: true + title: Format url type: string identifier_perm: description: Unique and permanent identifier for the package. + minLength: 1 + readOnly: true + title: Identifier perm type: string indexed: - description: "" + readOnly: true + title: Indexed type: boolean is_downloadable: - description: "" + readOnly: true + title: Is downloadable type: boolean is_quarantined: - description: "" + readOnly: true + title: Is quarantined type: boolean is_sync_awaiting: - description: "" + readOnly: true + title: Is sync awaiting type: boolean is_sync_completed: - description: "" + readOnly: true + title: Is sync completed type: boolean is_sync_failed: - description: "" + readOnly: true + title: Is sync failed type: boolean is_sync_in_flight: - description: "" + readOnly: true + title: Is sync in flight type: boolean is_sync_in_progress: - description: "" + readOnly: true + title: Is sync in progress type: boolean license: description: The license of this package. + minLength: 1 + readOnly: true + title: License type: string name: description: The name of this package. + minLength: 1 + readOnly: true + title: Name type: string namespace: - description: "" + minLength: 1 + readOnly: true + title: Namespace type: string namespace_url: - description: "" + format: uri + readOnly: true + title: Namespace url type: string num_files: - description: "" + readOnly: true + title: Num files type: integer + origin_repository: + minLength: 1 + readOnly: true + title: Origin repository + type: string + origin_repository_url: + format: uri + readOnly: true + title: Origin repository url + type: string package_type: description: The type of package contents. + readOnly: true + title: Package type type: integer - packaging: - description: Artifact's Maven packaging type. - type: string release: description: The release of the package version (if any). + minLength: 1 + readOnly: true + title: Release type: string repository: - description: "" + minLength: 1 + readOnly: true + title: Repository type: string repository_url: - description: "" + format: uri + readOnly: true + title: Repository url type: string security_scan_completed_at: description: The datetime the security scanning was completed. + format: date-time + readOnly: true + title: Security scan completed at type: string security_scan_started_at: description: The datetime the security scanning was started. + format: date-time + readOnly: true + title: Security scan started at type: string security_scan_status: - description: "" - enum: - - Awaiting Security Scan - - Security Scanning in Progress - - Scan Detected Vulnerabilities - - Scan Detected No Vulnerabilities - - Security Scanning Disabled - - Security Scanning Failed - - Security Scanning Skipped - - Security Scanning Not Supported + default: Awaiting Security Scan + nullable: true + readOnly: true + title: Security scan status type: string security_scan_status_updated_at: description: The datetime the security scanning status was updated. + format: date-time + readOnly: true + title: Security scan status updated at type: string self_html_url: - description: "" + minLength: 1 + readOnly: true + title: Self html url type: string self_url: - description: "" + format: uri + readOnly: true + title: Self url type: string signature_url: - description: "" + nullable: true + readOnly: true + title: Signature url type: string size: description: The calculated size of the package. + readOnly: true + title: Size type: integer slug: description: The public unique identifier for the package. + format: slug + minLength: 1 + pattern: "^[-a-zA-Z0-9_]+$" + readOnly: true + title: Slug type: string slug_perm: - description: "" + format: slug + minLength: 1 + pattern: "^[-a-zA-Z0-9_]+$" + readOnly: true + title: Slug perm type: string stage: description: The synchronisation (in progress) stage of the package. + readOnly: true + title: Stage type: integer stage_str: - description: "" + readOnly: true + title: Stage str type: string stage_updated_at: description: The datetime the package stage was updated at. + format: date-time + readOnly: true + title: Stage updated at type: string status: description: The synchronisation status of the package. + readOnly: true + title: Status type: integer status_reason: description: A textual description for the synchronous status reason (if any + minLength: 1 + readOnly: true + title: Status reason type: string status_str: - description: "" + readOnly: true + title: Status str type: string status_updated_at: description: The datetime the package status was updated at. + format: date-time + readOnly: true + title: Status updated at type: string status_url: - description: "" + format: uri + readOnly: true + title: Status url type: string subtype: - description: "" + readOnly: true + title: Subtype type: string summary: description: A one-liner synopsis of this package. + minLength: 1 + readOnly: true + title: Summary type: string sync_finished_at: description: The datetime the package sync was finished at. + format: date-time + readOnly: true + title: Sync finished at type: string sync_progress: description: Synchronisation progress (from 0-100) + readOnly: true + title: Sync progress type: integer + tags: + description: "All tags on the package, grouped by tag type. This includes\ + \ immutable tags, but doesn't distinguish them from mutable. To see which\ + \ tags are immutable specifically, see the tags_immutable field." + type: object tags_immutable: - description: All immutable tags on the package, grouped by tag type. Immutable - tags cannot be (easily) deleted. - properties: {} + description: "All tags on the package, grouped by tag type. This includes\ + \ immutable tags, but doesn't distinguish them from mutable. To see which\ + \ tags are immutable specifically, see the tags_immutable field." type: object type_display: - description: "" + readOnly: true + title: Type display type: string uploaded_at: description: The date this package was uploaded. + format: date-time + readOnly: true + title: Uploaded at type: string uploader: - description: "" + minLength: 1 + readOnly: true + title: Uploader type: string uploader_url: - description: "" + format: uri + readOnly: true + title: Uploader url type: string version: description: The raw version for this package. + minLength: 1 + readOnly: true + title: Version type: string version_orig: - description: "" + readOnly: true + title: Version orig type: string vulnerability_scan_results_url: - description: "" - type: string - title: MavenPackageUpload - type: object - UserProfile: - example: - joined_at: joined_at - name: name - last_name: last_name - tagline: tagline - company: company - slug_perm: slug_perm - first_name: first_name - job_title: job_title - slug: slug - url: url - properties: - company: - description: "" - type: string - first_name: - description: "" - type: string - job_title: - description: "" - type: string - joined_at: - description: "" - type: string - last_name: - description: "" + format: uri + readOnly: true + title: Vulnerability scan results url type: string - name: - description: "" - type: string - slug: - description: "" - type: string - slug_perm: - description: "" - type: string - tagline: - description: Your tagline is a sentence about you. Make it funny. Make it - professional. Either way, it's public and it represents who you are. - type: string - url: - description: "" - type: string - required: - - first_name - - last_name - title: UserProfile - type: object - PackageFileUpload: - example: - identifier: identifier - upload_fields: '{}' - upload_querystring: upload_querystring - upload_headers: '{}' - upload_url: upload_url - properties: - identifier: - description: The identifier for the file to use when creating packages - type: string - upload_fields: - description: The dictionary of fields that must be sent with POST uploads - properties: {} - type: object - upload_headers: - description: The dictionary of headers that must be sent with uploads - properties: {} - type: object - upload_querystring: - description: The querystring to use for the next-step POST or PUT upload - type: string - upload_url: - description: The URL to use for the next-step POST or PUT upload - type: string - title: PackageFileUpload type: object - LuarocksPackageUpload: + PackageStatusResponse: example: - architectures: - - name: name - description: description - - name: name - description: description - security_scan_status_updated_at: security_scan_status_updated_at - checksum_sha256: checksum_sha256 - release: release - package_type: 5 - repository: repository - identifier_perm: identifier_perm - stage_updated_at: stage_updated_at - tags_immutable: '{}' - is_quarantined: true - slug: slug - security_scan_started_at: security_scan_started_at - security_scan_status: Awaiting Security Scan - indexed: true - format: format status_str: status_str - version_orig: version_orig - namespace_url: namespace_url - slug_perm: slug_perm - version: version - license: license - filename: filename - size: 5 - cdn_url: cdn_url - uploaded_at: uploaded_at - is_downloadable: true - name: name - sync_finished_at: sync_finished_at - files: - - checksum_sha512: checksum_sha512 - checksum_sha1: checksum_sha1 - checksum_sha256: checksum_sha256 - is_primary: true - checksum_md5: checksum_md5 - slug_perm: slug_perm - filename: filename - size: 5 - cdn_url: cdn_url - downloads: 1 - is_synchronised: true - is_downloadable: true - signature_url: signature_url - tag: tag - - checksum_sha512: checksum_sha512 - checksum_sha1: checksum_sha1 - checksum_sha256: checksum_sha256 - is_primary: true - checksum_md5: checksum_md5 - slug_perm: slug_perm - filename: filename - size: 5 - cdn_url: cdn_url - downloads: 1 - is_synchronised: true - is_downloadable: true - signature_url: signature_url - tag: tag - num_files: 1 - status: 7 - checksum_sha512: checksum_sha512 - distro: '{}' - extension: extension - description: description - epoch: 6 - is_sync_completed: true - distro_version: '{}' - type_display: type_display - vulnerability_scan_results_url: vulnerability_scan_results_url - dependencies_checksum_md5: dependencies_checksum_md5 - downloads: 0 - subtype: subtype - uploader: uploader - signature_url: signature_url - repository_url: repository_url - status_reason: status_reason - status_updated_at: status_updated_at - summary: summary - checksum_sha1: checksum_sha1 - checksum_md5: checksum_md5 - sync_progress: 9 + sync_progress: 1 is_sync_awaiting: true - uploader_url: uploader_url - self_html_url: self_html_url - self_url: self_url - status_url: status_url + is_sync_completed: true + self_url: https://openapi-generator.tech is_sync_in_flight: true - security_scan_completed_at: security_scan_completed_at is_sync_in_progress: true stage_str: stage_str - stage: 2 - format_url: format_url - dependencies_url: dependencies_url - namespace: namespace + stage_updated_at: 2000-01-23T04:56:07.000+00:00 + stage: 0 + is_downloadable: true + sync_finished_at: 2000-01-23T04:56:07.000+00:00 is_sync_failed: true + is_quarantined: true + status_reason: status_reason + status: 6 + status_updated_at: 2000-01-23T04:56:07.000+00:00 + properties: + is_downloadable: + readOnly: true + title: Is downloadable + type: boolean + is_quarantined: + readOnly: true + title: Is quarantined + type: boolean + is_sync_awaiting: + readOnly: true + title: Is sync awaiting + type: boolean + is_sync_completed: + readOnly: true + title: Is sync completed + type: boolean + is_sync_failed: + readOnly: true + title: Is sync failed + type: boolean + is_sync_in_flight: + readOnly: true + title: Is sync in flight + type: boolean + is_sync_in_progress: + readOnly: true + title: Is sync in progress + type: boolean + self_url: + format: uri + readOnly: true + title: Self url + type: string + stage: + description: The synchronisation (in progress) stage of the package. + readOnly: true + title: Stage + type: integer + stage_str: + readOnly: true + title: Stage str + type: string + stage_updated_at: + description: The datetime the package stage was updated at. + format: date-time + readOnly: true + title: Stage updated at + type: string + status: + description: The synchronisation status of the package. + readOnly: true + title: Status + type: integer + status_reason: + description: A textual description for the synchronous status reason (if + any + minLength: 1 + readOnly: true + title: Status reason + type: string + status_str: + readOnly: true + title: Status str + type: string + status_updated_at: + description: The datetime the package status was updated at. + format: date-time + readOnly: true + title: Status updated at + type: string + sync_finished_at: + description: The datetime the package sync was finished at. + format: date-time + readOnly: true + title: Sync finished at + type: string + sync_progress: + description: Synchronisation progress (from 0-100) + readOnly: true + title: Sync progress + type: integer + type: object + PackageTagRequest: + example: + is_immutable: false + action: 0 + tags: + - tags + - tags + properties: + action: + title: Action + type: integer + is_immutable: + default: false + description: "If true, created tags will be immutable. An immutable flag\ + \ is a tag that cannot be removed from a package." + title: Is immutable + type: boolean + tags: + description: A list of tags to apply the action to. Not required for clears. + items: + maxLength: 64 + minLength: 1 + type: string + nullable: true + type: array + type: object + PackageTagResponse: properties: architectures: - description: "" items: - $ref: '#/components/schemas/_packages__owner___repo___architectures' - title: ArchitecturesList + $ref: '#/components/schemas/Architecture' + readOnly: true type: array cdn_url: - description: "" + nullable: true + readOnly: true + title: Cdn url type: string checksum_md5: - description: "" + readOnly: true + title: Checksum md5 type: string checksum_sha1: - description: "" + readOnly: true + title: Checksum sha1 type: string checksum_sha256: - description: "" + readOnly: true + title: Checksum sha256 type: string checksum_sha512: - description: "" + readOnly: true + title: Checksum sha512 type: string dependencies_checksum_md5: description: A checksum of all of the package's dependencies. + minLength: 1 + readOnly: true + title: Dependencies checksum md5 type: string dependencies_url: - description: "" + format: uri + readOnly: true + title: Dependencies url type: string description: description: A textual description of this package. + minLength: 1 + readOnly: true + title: Description type: string distro: - description: "" - properties: {} - type: object + $ref: '#/components/schemas/Distribution' distro_version: - description: "" - properties: {} - type: object + $ref: '#/components/schemas/DistributionVersion' downloads: - description: "" + readOnly: true + title: Downloads type: integer epoch: description: The epoch of the package version (if any). + readOnly: true + title: Epoch type: integer extension: - description: "" + readOnly: true + title: Extension type: string filename: - description: "" + minLength: 1 + readOnly: true + title: Filename type: string files: - description: "" items: - $ref: '#/components/schemas/_packages__owner___repo___files' - title: FilesList + $ref: '#/components/schemas/PackageFile' + readOnly: true type: array format: - description: "" + minLength: 1 + readOnly: true + title: Format type: string format_url: - description: "" + format: uri + readOnly: true + title: Format url type: string identifier_perm: description: Unique and permanent identifier for the package. + minLength: 1 + readOnly: true + title: Identifier perm type: string indexed: - description: "" + readOnly: true + title: Indexed type: boolean is_downloadable: - description: "" + readOnly: true + title: Is downloadable + type: boolean + is_immutable: + default: false + description: "If true, created tags will be immutable. An immutable flag\ + \ is a tag that cannot be removed from a package." + title: Is immutable type: boolean is_quarantined: - description: "" + readOnly: true + title: Is quarantined type: boolean is_sync_awaiting: - description: "" + readOnly: true + title: Is sync awaiting type: boolean is_sync_completed: - description: "" + readOnly: true + title: Is sync completed type: boolean is_sync_failed: - description: "" + readOnly: true + title: Is sync failed type: boolean is_sync_in_flight: - description: "" + readOnly: true + title: Is sync in flight type: boolean is_sync_in_progress: - description: "" + readOnly: true + title: Is sync in progress type: boolean license: description: The license of this package. + minLength: 1 + readOnly: true + title: License type: string name: description: The name of this package. + minLength: 1 + readOnly: true + title: Name type: string namespace: - description: "" + minLength: 1 + readOnly: true + title: Namespace type: string namespace_url: - description: "" + format: uri + readOnly: true + title: Namespace url type: string num_files: - description: "" + readOnly: true + title: Num files type: integer + origin_repository: + minLength: 1 + readOnly: true + title: Origin repository + type: string + origin_repository_url: + format: uri + readOnly: true + title: Origin repository url + type: string package_type: description: The type of package contents. + readOnly: true + title: Package type type: integer release: description: The release of the package version (if any). + minLength: 1 + readOnly: true + title: Release type: string repository: - description: "" + minLength: 1 + readOnly: true + title: Repository type: string repository_url: - description: "" + format: uri + readOnly: true + title: Repository url type: string security_scan_completed_at: description: The datetime the security scanning was completed. + format: date-time + readOnly: true + title: Security scan completed at type: string security_scan_started_at: description: The datetime the security scanning was started. + format: date-time + readOnly: true + title: Security scan started at type: string security_scan_status: - description: "" - enum: - - Awaiting Security Scan - - Security Scanning in Progress - - Scan Detected Vulnerabilities - - Scan Detected No Vulnerabilities - - Security Scanning Disabled - - Security Scanning Failed - - Security Scanning Skipped - - Security Scanning Not Supported + default: Awaiting Security Scan + nullable: true + readOnly: true + title: Security scan status type: string security_scan_status_updated_at: description: The datetime the security scanning status was updated. + format: date-time + readOnly: true + title: Security scan status updated at type: string self_html_url: - description: "" + minLength: 1 + readOnly: true + title: Self html url type: string self_url: - description: "" + format: uri + readOnly: true + title: Self url type: string signature_url: - description: "" + nullable: true + readOnly: true + title: Signature url type: string size: description: The calculated size of the package. + readOnly: true + title: Size type: integer slug: description: The public unique identifier for the package. + format: slug + minLength: 1 + pattern: "^[-a-zA-Z0-9_]+$" + readOnly: true + title: Slug type: string slug_perm: - description: "" + format: slug + minLength: 1 + pattern: "^[-a-zA-Z0-9_]+$" + readOnly: true + title: Slug perm type: string stage: description: The synchronisation (in progress) stage of the package. + readOnly: true + title: Stage type: integer stage_str: - description: "" + readOnly: true + title: Stage str type: string stage_updated_at: description: The datetime the package stage was updated at. + format: date-time + readOnly: true + title: Stage updated at type: string status: description: The synchronisation status of the package. + readOnly: true + title: Status type: integer status_reason: description: A textual description for the synchronous status reason (if any + minLength: 1 + readOnly: true + title: Status reason type: string status_str: - description: "" + readOnly: true + title: Status str type: string status_updated_at: description: The datetime the package status was updated at. + format: date-time + readOnly: true + title: Status updated at type: string status_url: - description: "" + format: uri + readOnly: true + title: Status url type: string subtype: - description: "" + readOnly: true + title: Subtype type: string summary: description: A one-liner synopsis of this package. + minLength: 1 + readOnly: true + title: Summary type: string sync_finished_at: description: The datetime the package sync was finished at. + format: date-time + readOnly: true + title: Sync finished at type: string sync_progress: description: Synchronisation progress (from 0-100) + readOnly: true + title: Sync progress type: integer tags_immutable: - description: All immutable tags on the package, grouped by tag type. Immutable - tags cannot be (easily) deleted. - properties: {} + description: "All tags on the package, grouped by tag type. This includes\ + \ immutable tags, but doesn't distinguish them from mutable. To see which\ + \ tags are immutable specifically, see the tags_immutable field." type: object type_display: - description: "" + readOnly: true + title: Type display type: string uploaded_at: description: The date this package was uploaded. + format: date-time + readOnly: true + title: Uploaded at type: string uploader: - description: "" + minLength: 1 + readOnly: true + title: Uploader type: string uploader_url: - description: "" + format: uri + readOnly: true + title: Uploader url type: string version: description: The raw version for this package. + minLength: 1 + readOnly: true + title: Version type: string version_orig: - description: "" + readOnly: true + title: Version orig type: string vulnerability_scan_results_url: - description: "" - type: string - title: LuarocksPackageUpload - type: object - RepositoryWebhook: - example: - is_last_response_bad: true - last_response_status_str: last_response_status_str - target_url: target_url - created_at: created_at - last_response_status: 1 - request_body_template_format_str: request_body_template_format_str - request_content_type: request_content_type - updated_at: updated_at - request_body_format_str: request_body_format_str - num_sent: 5 - request_body_template_format: 2 - events: - - events - - events - disable_reason_str: disable_reason_str - identifier: 6 - package_query: package_query - is_active: true - disable_reason: 0 - created_by_url: created_by_url - templates: - - template: template - event: event - - template: template - event: event - request_body_format: 5 - slug_perm: slug_perm - created_by: created_by - self_url: self_url - updated_by_url: updated_by_url - verify_ssl: true - secret_header: secret_header - updated_by: updated_by - properties: - created_at: - description: "" - type: string - created_by: - description: "" - type: string - created_by_url: - description: "" - type: string - disable_reason: - description: "" - type: integer - disable_reason_str: - description: "" - type: string - events: - description: "" - items: - description: "" - type: string - title: EventsList - type: array - identifier: - description: "" - type: integer - is_active: - description: If enabled, the webhook will trigger on events and send payloads - to the configured target URL. - type: boolean - is_last_response_bad: - description: "" - type: boolean - last_response_status: - description: "" - type: integer - last_response_status_str: - description: "" - type: string - num_sent: - description: "" - type: integer - package_query: - description: The package-based search query for webhooks to fire. This uses - the same syntax as the standard search used for repositories, and also - supports boolean logic operators such as OR/AND/NOT and parentheses for - grouping. If a package does not match, the webhook will not fire. - type: string - request_body_format: - description: The format of the payloads for webhook requests. - type: integer - request_body_format_str: - description: "" - type: string - request_body_template_format: - description: The format of the payloads for webhook requests. - type: integer - request_body_template_format_str: - description: "" - type: string - request_content_type: - description: 'The value that will be sent for the ''Content Type'' header. ' + format: uri + readOnly: true + title: Vulnerability scan results url type: string - secret_header: - description: The header to send the predefined secret in. This must be unique - from existing headers or it won't be sent. You can use this as a form - of authentication on the endpoint side. - type: string - self_url: - description: "" - type: string - slug_perm: - description: "" - type: string - target_url: - description: The destination URL that webhook payloads will be POST'ed to. - type: string - templates: - description: "" - items: - $ref: '#/components/schemas/_webhooks__owner___repo___templates' - title: TemplatesList - type: array - updated_at: - description: "" - type: string - updated_by: - description: "" - type: string - updated_by_url: - description: "" - type: string - verify_ssl: - description: If enabled, SSL certificates is verified when webhooks are - sent. It's recommended to leave this enabled as not verifying the integrity - of SSL certificates leaves you susceptible to Man-in-the-Middle (MITM) - attacks. - type: boolean - required: - - events - - target_url - - templates - title: RepositoryWebhook - type: object - PackagesValidate_uploadRuby: - properties: - package_file: - description: The primary file for the package. - example: y123456789 - type: string - republish: - description: If true, the uploaded package will overwrite any others with - the same attributes (e.g. same version); otherwise, it will be flagged - as a duplicate. - type: boolean - tags: - description: A comma-separated values list of tags to add to the package. - type: string - required: - - package_file - title: PackagesValidate-uploadRuby - type: object - PackagesCopy: - example: - republish: true - destination: destination - properties: - destination: - description: None - type: string - republish: - description: If true, the package will overwrite any others with the same - attributes (e.g. same version); otherwise, it will be flagged as a duplicate. - type: boolean - required: - - destination - title: PackagesCopy type: object - WebhooksCreate: + Usage: example: - package_query: package_query - request_content_type: request_content_type - is_active: true - verify_ssl: true - signature_key: signature_key - target_url: target_url - templates: - - template: template - event: event - - template: template - event: event - secret_header: secret_header - secret_value: secret_value - request_body_format: 0 - request_body_template_format: 6 - events: - - events - - events + percentage: percentage + limit: limit + used: used properties: - events: - description: None - items: - description: "" - type: string - title: EventsList - type: array - is_active: - description: If enabled, the webhook will trigger on events and send payloads - to the configured target URL. - type: boolean - package_query: - description: The package-based search query for webhooks to fire. This uses - the same syntax as the standard search used for repositories, and also - supports boolean logic operators such as OR/AND/NOT and parentheses for - grouping. If a package does not match, the webhook will not fire. - type: string - request_body_format: - description: The format of the payloads for webhook requests. - type: integer - request_body_template_format: - description: The format of the payloads for webhook requests. - type: integer - request_content_type: - description: 'The value that will be sent for the ''Content Type'' header. ' - type: string - secret_header: - description: The header to send the predefined secret in. This must be unique - from existing headers or it won't be sent. You can use this as a form - of authentication on the endpoint side. - type: string - secret_value: - description: 'The value for the predefined secret (note: this is treated - as a passphrase and is encrypted when we store it). You can use this as - a form of authentication on the endpoint side.' + limit: + maxLength: 32 + minLength: 1 + title: Limit type: string - signature_key: - description: 'The value for the signature key - This is used to generate - an HMAC-based hex digest of the request body, which we send as the X-Cloudsmith-Signature - header so that you can ensure that the request wasn''t modified by a malicious - party (note: this is treated as a passphrase and is encrypted when we - store it).' + percentage: + maxLength: 10 + minLength: 1 + title: Percentage type: string - target_url: - description: The destination URL that webhook payloads will be POST'ed to. + used: + maxLength: 32 + minLength: 1 + title: Used type: string - templates: - description: None - items: - $ref: '#/components/schemas/_webhooks__owner___repo___templates' - title: TemplatesList - type: array - verify_ssl: - description: If enabled, SSL certificates is verified when webhooks are - sent. It's recommended to leave this enabled as not verifying the integrity - of SSL certificates leaves you susceptible to Man-in-the-Middle (MITM) - attacks. - type: boolean - required: - - events - - target_url - - templates - title: WebhooksCreate type: object - StorageRegion: + HistoryFieldset: example: - label: label - slug: slug - properties: - label: - description: Name of the storage region - type: string - slug: - description: Slug for the storage region - type: string - required: - - label - - slug - title: StorageRegion - type: object - PackagesValidate_uploadCran: + uploaded: + percentage: percentage + limit: limit + used: used + downloaded: + percentage: percentage + limit: limit + used: used + storage_used: + percentage: percentage + limit: limit + used: used properties: - package_file: - description: The primary file for the package. - example: x123456789a - type: string - republish: - description: If true, the uploaded package will overwrite any others with - the same attributes (e.g. same version); otherwise, it will be flagged - as a duplicate. - type: boolean - tags: - description: A comma-separated values list of tags to add to the package. - type: string + downloaded: + $ref: '#/components/schemas/Usage' + storage_used: + $ref: '#/components/schemas/Usage' + uploaded: + $ref: '#/components/schemas/Usage' required: - - package_file - title: PackagesValidate-uploadCran - type: object - PackagesQuarantine: - example: - restore: true - properties: - restore: - description: If true, the package be restored from quarantine. - type: boolean - title: PackagesQuarantine + - downloaded + - storage_used + - uploaded type: object - QuotaHistory_history: + History: + example: + display: + uploaded: + percentage: percentage + limit: limit + used: used + downloaded: + percentage: percentage + limit: limit + used: used + storage_used: + percentage: percentage + limit: limit + used: used + start: 2000-01-23T04:56:07.000+00:00 + days: 0 + raw: + uploaded: + percentage: percentage + limit: limit + used: used + downloaded: + percentage: percentage + limit: limit + used: used + storage_used: + percentage: percentage + limit: limit + used: used + end: 2000-01-23T04:56:07.000+00:00 + plan: plan properties: days: - description: "" + title: Days type: integer display: - description: "" - properties: {} - type: object + $ref: '#/components/schemas/HistoryFieldset' end: - description: "" + format: date-time + title: End type: string plan: - description: "" + maxLength: 64 + minLength: 1 + title: Plan type: string raw: - description: "" - properties: {} - type: object + $ref: '#/components/schemas/HistoryFieldset' start: - description: "" + format: date-time + title: Start type: string + required: + - display + - end + - plan + - raw + - start type: object - PackagesUploadConda: + QuotaHistoryResponse: example: - republish: true - package_file: x123456789a - tags: tags + history: + - display: + uploaded: + percentage: percentage + limit: limit + used: used + downloaded: + percentage: percentage + limit: limit + used: used + storage_used: + percentage: percentage + limit: limit + used: used + start: 2000-01-23T04:56:07.000+00:00 + days: 0 + raw: + uploaded: + percentage: percentage + limit: limit + used: used + downloaded: + percentage: percentage + limit: limit + used: used + storage_used: + percentage: percentage + limit: limit + used: used + end: 2000-01-23T04:56:07.000+00:00 + plan: plan + - display: + uploaded: + percentage: percentage + limit: limit + used: used + downloaded: + percentage: percentage + limit: limit + used: used + storage_used: + percentage: percentage + limit: limit + used: used + start: 2000-01-23T04:56:07.000+00:00 + days: 0 + raw: + uploaded: + percentage: percentage + limit: limit + used: used + downloaded: + percentage: percentage + limit: limit + used: used + storage_used: + percentage: percentage + limit: limit + used: used + end: 2000-01-23T04:56:07.000+00:00 + plan: plan properties: - package_file: - description: The primary file for the package. - example: x123456789a - type: string - republish: - description: If true, the uploaded package will overwrite any others with - the same attributes (e.g. same version); otherwise, it will be flagged - as a duplicate. - type: boolean - tags: - description: A comma-separated values list of tags to add to the package. + history: + items: + $ref: '#/components/schemas/History' + type: array + required: + - history + type: object + AllocatedLimit: + example: + configured: configured + percentage_used: percentage_used + plan_limit: plan_limit + used: used + properties: + configured: + maxLength: 32 + minLength: 1 + title: Configured + type: string + percentage_used: + maxLength: 10 + minLength: 1 + title: Percentage used + type: string + plan_limit: + maxLength: 32 + minLength: 1 + title: Plan limit + type: string + used: + maxLength: 32 + minLength: 1 + title: Used type: string + type: object + UsageLimits: + example: + bandwidth: + configured: configured + percentage_used: percentage_used + plan_limit: plan_limit + used: used + storage: + configured: configured + percentage_used: percentage_used + plan_limit: plan_limit + used: used + properties: + bandwidth: + $ref: '#/components/schemas/AllocatedLimit' + storage: + $ref: '#/components/schemas/AllocatedLimit' required: - - package_file - title: PackagesUploadConda + - bandwidth + - storage type: object - Format: + UsageFieldset: example: - extensions: - - extensions - - extensions - premium: true - name: name - description: description - supports: '{}' - premium_plan_name: premium_plan_name - distributions: - - name: name - variants: variants - self_url: self_url - slug: slug - - name: name - variants: variants - self_url: self_url - slug: slug - premium_plan_id: premium_plan_id - slug: slug + display: + bandwidth: + configured: configured + percentage_used: percentage_used + plan_limit: plan_limit + used: used + storage: + configured: configured + percentage_used: percentage_used + plan_limit: plan_limit + used: used + raw: + bandwidth: + configured: configured + percentage_used: percentage_used + plan_limit: plan_limit + used: used + storage: + configured: configured + percentage_used: percentage_used + plan_limit: plan_limit + used: used properties: - description: - description: Description of the package format + display: + $ref: '#/components/schemas/UsageLimits' + raw: + $ref: '#/components/schemas/UsageLimits' + required: + - display + - raw + type: object + QuotaResponse: + example: + usage: + display: + bandwidth: + configured: configured + percentage_used: percentage_used + plan_limit: plan_limit + used: used + storage: + configured: configured + percentage_used: percentage_used + plan_limit: plan_limit + used: used + raw: + bandwidth: + configured: configured + percentage_used: percentage_used + plan_limit: plan_limit + used: used + storage: + configured: configured + percentage_used: percentage_used + plan_limit: plan_limit + used: used + properties: + usage: + $ref: '#/components/schemas/UsageFieldset' + required: + - usage + type: object + RateCheck: + example: + limit: 6 + reset: 5 + reset_iso_8601: reset_iso_8601 + interval: 0.8008281904610115 + remaining: 1 + throttled: true + properties: + interval: + description: The time in seconds that you are suggested to wait until the + next request in order to avoid consuming too much within the rate limit + window. + readOnly: true + title: Interval + type: number + limit: + description: The maximum number of requests that you are permitted to send + per hour + readOnly: true + title: Limit + type: integer + remaining: + description: The number of requests that are remaining in the current rate + limit window + readOnly: true + title: Remaining + type: integer + reset: + description: The UTC epoch timestamp at which the current rate limit window + will reset + readOnly: true + title: Reset + type: integer + reset_iso_8601: + description: The ISO 8601 datetime at which the current rate limit window + will reset + minLength: 1 + readOnly: true + title: Reset iso 8601 + type: string + throttled: + description: "If true, throttling is currently being enforced." + readOnly: true + title: Throttled + type: boolean + type: object + ResourcesRateCheckResponse: + example: + resources: + key: + limit: 6 + reset: 5 + reset_iso_8601: reset_iso_8601 + interval: 0.8008281904610115 + remaining: 1 + throttled: true + properties: + resources: + additionalProperties: + $ref: '#/components/schemas/RateCheck' + description: Rate limit values per resource + readOnly: true + title: Resources + type: object + type: object + RepositoryGpgKey: + example: + public_key: public_key + default: true + fingerprint: fingerprint + active: true + created_at: 2000-01-23T04:56:07.000+00:00 + comment: comment + fingerprint_short: fingerprint_short + properties: + active: + description: If selected this is the active key for this repository. + readOnly: true + title: Active + type: boolean + comment: + minLength: 1 + title: Comment type: string - distributions: - description: The distributions supported by this package format - items: - $ref: '#/components/schemas/_formats__distributions' - title: DistributionsList - type: array - extensions: - description: A non-exhaustive list of extensions supported - items: - description: "" - type: string - title: ExtensionsList - type: array - name: - description: Name for the package format + created_at: + format: date-time + readOnly: true + title: Created at type: string - premium: - description: If true the package format is a premium-only feature + default: + description: If selected this is the default key for this repository. + readOnly: true + title: Default type: boolean - premium_plan_id: - description: The minimum plan id required for this package format + fingerprint: + description: The long identifier used by GPG for this key. + minLength: 1 + readOnly: true + title: Fingerprint type: string - premium_plan_name: - description: The minimum plan name required for this package format + fingerprint_short: + readOnly: true + title: Fingerprint short type: string - slug: - description: Slug for the package format + public_key: + description: The public key given to repository users. + minLength: 1 + readOnly: true + title: Public key type: string - supports: - description: A set of what the package format supports - properties: {} - type: object required: - - description - - extensions - - name - - premium - - slug - - supports - title: Format + - comment type: object - NpmPackageUpload: + RepositoryResponse: example: - architectures: - - name: name - description: description - - name: name - description: description - security_scan_status_updated_at: security_scan_status_updated_at - checksum_sha256: checksum_sha256 - release: release - package_type: 5 - repository: repository - identifier_perm: identifier_perm - stage_updated_at: stage_updated_at - tags_immutable: '{}' - is_quarantined: true + scan_packages: Read + content_kind: Standard + index_files: true + repository_type: 5 + use_source_packages: true + package_group_count: 1 + repository_type_str: Public + use_vulnerability_scanning: true + resync_own: true slug: slug - security_scan_started_at: security_scan_started_at - security_scan_status: Awaiting Security Scan - indexed: true - format: format - status_str: status_str - version_orig: version_orig - namespace_url: namespace_url + raw_package_index_enabled: true + namespace_url: https://openapi-generator.tech slug_perm: slug_perm - version: version - license: license - filename: filename + deleted_at: 2000-01-23T04:56:07.000+00:00 + replace_packages: Write + user_entitlements_enabled: true + num_downloads: 0 + package_count: 6 + use_default_cargo_upstream: true size: 5 cdn_url: cdn_url - uploaded_at: uploaded_at - is_downloadable: true + scan_own: true + distributes: + - distributes + - distributes name: name - sync_finished_at: sync_finished_at - files: - - checksum_sha512: checksum_sha512 - checksum_sha1: checksum_sha1 - checksum_sha256: checksum_sha256 - is_primary: true - checksum_md5: checksum_md5 - slug_perm: slug_perm - filename: filename - size: 5 - cdn_url: cdn_url - downloads: 1 - is_synchronised: true - is_downloadable: true - signature_url: signature_url - tag: tag - - checksum_sha512: checksum_sha512 - checksum_sha1: checksum_sha1 - checksum_sha256: checksum_sha256 - is_primary: true - checksum_md5: checksum_md5 - slug_perm: slug_perm - filename: filename - size: 5 - cdn_url: cdn_url - downloads: 1 - is_synchronised: true - is_downloadable: true - signature_url: signature_url - tag: tag - num_files: 1 - status: 7 - checksum_sha512: checksum_sha512 - distro: '{}' - extension: extension + replace_packages_by_default: true + default_privilege: None + delete_own: true + is_private: true + move_packages: Admin + show_setup_all: true + created_at: 2000-01-23T04:56:07.000+00:00 description: description - epoch: 6 - is_sync_completed: true - distro_version: '{}' - type_display: type_display - vulnerability_scan_results_url: vulnerability_scan_results_url - dependencies_checksum_md5: dependencies_checksum_md5 - downloads: 0 - subtype: subtype - uploader: uploader - signature_url: signature_url - repository_url: repository_url - status_reason: status_reason - status_updated_at: status_updated_at - summary: summary - checksum_sha1: checksum_sha1 - checksum_md5: checksum_md5 - sync_progress: 9 - is_sync_awaiting: true - uploader_url: uploader_url + docker_refresh_tokens_enabled: true + proxy_npmjs: true + move_own: true + delete_packages: Admin + is_open_source: true + copy_own: true + proxy_pypi: true + contextual_auth_realm: true + resync_packages: Admin + view_statistics: Read + copy_packages: Read self_html_url: self_html_url - self_url: self_url - status_url: status_url - is_sync_in_flight: true - security_scan_completed_at: security_scan_completed_at - is_sync_in_progress: true - stage_str: stage_str - stage: 2 - format_url: format_url - dependencies_url: dependencies_url + self_url: https://openapi-generator.tech + use_noarch_packages: true + storage_region: default + size_str: size_str + gpg_keys: + - public_key: public_key + default: true + fingerprint: fingerprint + active: true + created_at: 2000-01-23T04:56:07.000+00:00 + comment: comment + fingerprint_short: fingerprint_short + - public_key: public_key + default: true + fingerprint: fingerprint + active: true + created_at: 2000-01-23T04:56:07.000+00:00 + comment: comment + fingerprint_short: fingerprint_short + is_public: true namespace: namespace - is_sync_failed: true + use_debian_labels: true + strict_npm_validation: true + raw_package_index_signatures_enabled: true properties: - architectures: - description: "" - items: - $ref: '#/components/schemas/_packages__owner___repo___architectures' - title: ArchitecturesList - type: array cdn_url: - description: "" - type: string - checksum_md5: - description: "" + description: Base URL from which packages and other artifacts are downloaded. + nullable: true + readOnly: true + title: Cdn url + type: string + content_kind: + default: Standard + description: "The repository content kind determines whether this repository\ + \ contains packages, or provides a distribution of packages from other\ + \ repositories. You can only select the content kind at repository creation\ + \ time." + title: Content kind type: string - checksum_sha1: - description: "" + contextual_auth_realm: + description: "If checked, missing credentials for this repository where\ + \ basic authentication is required shall present an enriched value in\ + \ the 'WWW-Authenticate' header containing the namespace and repository.\ + \ This can be useful for tooling such as SBT where the authentication\ + \ realm is used to distinguish and disambiguate credentials." + title: Contextual Authentication Realm? + type: boolean + copy_own: + description: "If checked, users can copy any of their own packages that\ + \ they have uploaded, assuming that they still have write privilege for\ + \ the repository. This takes precedence over privileges configured in\ + \ the 'Access Controls' section of the repository, and any inherited from\ + \ the org." + title: Users Can Copy Own Packages + type: boolean + copy_packages: + default: Read + description: "This defines the minimum level of privilege required for a\ + \ user to copy packages. Unless the package was uploaded by that user,\ + \ in which the permission may be overridden by the user-specific copy\ + \ setting." + title: Copy packages type: string - checksum_sha256: - description: "" + created_at: + format: date-time + readOnly: true + title: Created at type: string - checksum_sha512: - description: "" + default_privilege: + default: None + description: "This defines the default level of privilege that all of your\ + \ organization members have for this repository. This does not include\ + \ collaborators, but applies to any member of the org regardless of their\ + \ own membership role (i.e. it applies to owners, managers and members).\ + \ Be careful if setting this to admin, because any member will be able\ + \ to change settings." + title: Default privilege type: string - dependencies_checksum_md5: - description: A checksum of all of the package's dependencies. + delete_own: + description: "If checked, users can delete any of their own packages that\ + \ they have uploaded, assuming that they still have write privilege for\ + \ the repository. This takes precedence over privileges configured in\ + \ the 'Access Controls' section of the repository, and any inherited from\ + \ the org." + title: Users Can Delete Own Packages + type: boolean + delete_packages: + default: Admin + description: "This defines the minimum level of privilege required for a\ + \ user to delete packages. Unless the package was uploaded by that user,\ + \ in which the permission may be overridden by the user-specific delete\ + \ setting." + title: Delete packages type: string - dependencies_url: - description: "" + deleted_at: + format: date-time + readOnly: true + title: Deleted at type: string description: - description: A textual description of this package. - type: string - distro: - description: "" - properties: {} - type: object - distro_version: - description: "" - properties: {} - type: object - downloads: - description: "" - type: integer - epoch: - description: The epoch of the package version (if any). - type: integer - extension: - description: "" - type: string - filename: - description: "" + description: A description of the repository's purpose/contents. + title: Description type: string - files: - description: "" + distributes: + description: The repositories distributed through this repo. Adding repos + here is only valid if the content_kind is DISTRIBUTION. items: - $ref: '#/components/schemas/_packages__owner___repo___files' - title: FilesList + description: The repositories distributed through this repo. Adding repos + here is only valid if the content_kind is DISTRIBUTION. + format: slug + pattern: "^[-a-zA-Z0-9_]+$" + type: string type: array - format: - description: "" - type: string - format_url: - description: "" - type: string - identifier_perm: - description: Unique and permanent identifier for the package. - type: string - indexed: - description: "" - type: boolean - is_downloadable: - description: "" - type: boolean - is_quarantined: - description: "" + uniqueItems: true + docker_refresh_tokens_enabled: + description: "If checked, refresh tokens will be issued in addition to access\ + \ tokens for Docker authentication. This allows unlimited extension of\ + \ the lifetime of access tokens." + title: Docker Auth Refresh Enabled? type: boolean - is_sync_awaiting: - description: "" + gpg_keys: + items: + $ref: '#/components/schemas/RepositoryGpgKey' + readOnly: true + type: array + index_files: + description: "If checked, files contained in packages will be indexed, which\ + \ increase the synchronisation time required for packages. Note that it\ + \ is recommended you keep this enabled unless the synchronisation time\ + \ is significantly impacted." + title: Index Files? type: boolean - is_sync_completed: - description: "" + is_open_source: + readOnly: true + title: Is open source type: boolean - is_sync_failed: - description: "" + is_private: + readOnly: true + title: Is private type: boolean - is_sync_in_flight: - description: "" + is_public: + readOnly: true + title: Is public type: boolean - is_sync_in_progress: - description: "" + move_own: + description: "If checked, users can move any of their own packages that\ + \ they have uploaded, assuming that they still have write privilege for\ + \ the repository. This takes precedence over privileges configured in\ + \ the 'Access Controls' section of the repository, and any inherited from\ + \ the org." + title: Users Can Move Own Packages type: boolean - license: - description: The license of this package. + move_packages: + default: Admin + description: "This defines the minimum level of privilege required for a\ + \ user to move packages. Unless the package was uploaded by that user,\ + \ in which the permission may be overridden by the user-specific move\ + \ setting." + title: Move packages type: string name: - description: The name of this package. + description: A descriptive name for the repository. + maxLength: 50 + minLength: 1 + pattern: "^\\w[\\w \\-'\\.\\/]+$" + title: Name type: string namespace: - description: "" + description: Namespace to which this repository belongs. + format: slug + pattern: "^[-a-zA-Z0-9_]+$" + readOnly: true + title: Namespace type: string namespace_url: - description: "" + description: API endpoint where data about this namespace can be retrieved. + format: uri + readOnly: true + title: Namespace url type: string - num_files: - description: "" + num_downloads: + description: The number of downloads for packages in the repository. + readOnly: true + title: Num downloads type: integer - package_type: - description: The type of package contents. + package_count: + description: The number of packages in the repository. + readOnly: true + title: Package count type: integer - release: - description: The release of the package version (if any). - type: string - repository: - description: "" - type: string - repository_url: - description: "" - type: string - security_scan_completed_at: - description: The datetime the security scanning was completed. + package_group_count: + description: The number of groups in the repository. + readOnly: true + title: Package group count + type: integer + proxy_npmjs: + description: "If checked, Npm packages that are not in the repository when\ + \ requested by clients will automatically be proxied from the public npmjs.org\ + \ registry. If there is at least one version for a package, others will\ + \ not be proxied." + title: Proxy Npm Packages? + type: boolean + proxy_pypi: + description: "If checked, Python packages that are not in the repository\ + \ when requested by clients will automatically be proxied from the public\ + \ pypi.python.org registry. If there is at least one version for a package,\ + \ others will not be proxied." + title: Proxy Python Packages? + type: boolean + raw_package_index_enabled: + description: "If checked, HTML and JSON indexes will be generated that list\ + \ all available raw packages in the repository." + title: Serve index for raw packages? + type: boolean + raw_package_index_signatures_enabled: + description: "If checked, the HTML and JSON indexes will display raw package\ + \ GPG signatures alongside the index packages." + title: Display generated GPG signatures for the raw package index? + type: boolean + replace_packages: + default: Write + description: "This defines the minimum level of privilege required for a\ + \ user to republish packages. Unless the package was uploaded by that\ + \ user, in which the permission may be overridden by the user-specific\ + \ republish setting. Please note that the user still requires the privilege\ + \ to delete packages that will be replaced by the new package; otherwise\ + \ the republish will fail." + title: Replace packages type: string - security_scan_started_at: - description: The datetime the security scanning was started. + replace_packages_by_default: + description: "If checked, uploaded packages will overwrite/replace any others\ + \ with the same attributes (e.g. same version) by default. This only applies\ + \ if the user has the required privilege for the republishing AND has\ + \ the required privilege to delete existing packages that they don't own." + title: Replace packages by default + type: boolean + repository_type: + description: "The repository type changes how it is accessed and billed.\ + \ Private repositories are visible only to you or authorized delegates.\ + \ Open-Source repositories are always visible to everyone and are restricted\ + \ by licensing, but are free to use and come with generous bandwidth/storage.\ + \ You can only select Open-Source at repository creation time." + readOnly: true + title: Repository Type + type: integer + repository_type_str: + default: Public + description: The repository type changes how it is accessed and billed. + Private repositories are visible only to you or authorized delegates. + Public repositories are visible to all Cloudsmith users. + title: Repository type str type: string - security_scan_status: - description: "" - enum: - - Awaiting Security Scan - - Security Scanning in Progress - - Scan Detected Vulnerabilities - - Scan Detected No Vulnerabilities - - Security Scanning Disabled - - Security Scanning Failed - - Security Scanning Skipped - - Security Scanning Not Supported + resync_own: + description: "If checked, users can resync any of their own packages that\ + \ they have uploaded, assuming that they still have write privilege for\ + \ the repository. This takes precedence over privileges configured in\ + \ the 'Access Controls' section of the repository, and any inherited from\ + \ the org." + title: Users Can Resync Own Packages + type: boolean + resync_packages: + default: Admin + description: "This defines the minimum level of privilege required for a\ + \ user to resync packages. Unless the package was uploaded by that user,\ + \ in which the permission may be overridden by the user-specific resync\ + \ setting." + title: Resync packages type: string - security_scan_status_updated_at: - description: The datetime the security scanning status was updated. + scan_own: + description: "If checked, users can scan any of their own packages that\ + \ they have uploaded, assuming that they still have write privilege for\ + \ the repository. This takes precedence over privileges configured in\ + \ the 'Access Controls' section of the repository, and any inherited from\ + \ the org." + title: Users Can Scan Own Packages + type: boolean + scan_packages: + default: Read + description: "This defines the minimum level of privilege required for a\ + \ user to scan packages. Unless the package was uploaded by that user,\ + \ in which the permission may be overridden by the user-specific scan\ + \ setting." + title: Scan packages type: string self_html_url: - description: "" + description: Website URL for this repository. + minLength: 1 + readOnly: true + title: Self html url type: string self_url: - description: "" - type: string - signature_url: - description: "" + description: API endpoint where data about this repository can be retrieved. + format: uri + readOnly: true + title: Self url type: string + show_setup_all: + description: "If checked, the Set Me Up help for all formats will always\ + \ be shown, even if you don't have packages of that type uploaded. Otherwise,\ + \ help will only be shown for packages that are in the repository. For\ + \ example, if you have uploaded only NuGet packages, then the Set Me Up\ + \ help for NuGet packages will be shown only." + title: Always show Set Me Up for all formats? + type: boolean size: - description: The calculated size of the package. + description: The calculated size of the repository. + readOnly: true + title: Size type: integer + size_str: + description: The calculated size of the repository (human readable). + readOnly: true + title: Size str + type: string slug: - description: The public unique identifier for the package. + description: The slug identifies the repository in URIs. + title: Slug type: string slug_perm: - description: "" - type: string - stage: - description: The synchronisation (in progress) stage of the package. - type: integer - stage_str: - description: "" - type: string - stage_updated_at: - description: The datetime the package stage was updated at. - type: string - status: - description: The synchronisation status of the package. - type: integer - status_reason: - description: A textual description for the synchronous status reason (if - any - type: string - status_str: - description: "" - type: string - status_updated_at: - description: The datetime the package status was updated at. - type: string - status_url: - description: "" - type: string - subtype: - description: "" - type: string - summary: - description: A one-liner synopsis of this package. - type: string - sync_finished_at: - description: The datetime the package sync was finished at. - type: string - sync_progress: - description: Synchronisation progress (from 0-100) - type: integer - tags_immutable: - description: All immutable tags on the package, grouped by tag type. Immutable - tags cannot be (easily) deleted. - properties: {} - type: object - type_display: - description: "" - type: string - uploaded_at: - description: The date this package was uploaded. - type: string - uploader: - description: "" - type: string - uploader_url: - description: "" - type: string - version: - description: The raw version for this package. + description: The slug_perm immutably identifies the repository. It will + never change once a repository has been created. + format: slug + minLength: 1 + pattern: "^[-a-zA-Z0-9_]+$" + readOnly: true + title: Slug perm type: string - version_orig: - description: "" + storage_region: + default: default + description: The Cloudsmith region in which package files are stored. + readOnly: true + title: Storage region type: string - vulnerability_scan_results_url: - description: "" + strict_npm_validation: + description: "If checked, npm packages will be validated strictly to ensure\ + \ the package matches specifcation. You can turn this off if you have\ + \ packages that are old or otherwise mildly off-spec, but we can't guarantee\ + \ the packages will work with npm-cli or other tooling correctly. Turn\ + \ off at your own risk!" + title: Strict Npm Validation? + type: boolean + use_debian_labels: + description: "If checked, a 'Label' field will be present in Debian-based\ + \ repositories. It will contain a string that identifies the entitlement\ + \ token used to authenticate the repository, in the form of 'source=t-';\ + \ or 'source=none' if no token was used. You can use this to help with\ + \ pinning." + title: Use Debian Labels? + type: boolean + use_default_cargo_upstream: + description: "If checked, dependencies of uploaded Cargo crates which do\ + \ not set an explicit value for \"registry\" will be assumed to be available\ + \ from crates.io. If unchecked, dependencies with unspecified \"registry\"\ + \ values will be assumed to be available in the registry being uploaded\ + \ to. Uncheck this if you want to ensure that dependencies are only ever\ + \ installed from Cloudsmith unless explicitly specified as belong to another\ + \ registry." + title: Use crates.io as default Cargo upstream? + type: boolean + use_noarch_packages: + description: "If checked, noarch packages (if supported) are enabled in\ + \ installations/configurations. A noarch package is one that is not tied\ + \ to specific system architecture (like i686)." + title: Use/Configure NoArch Packages? + type: boolean + use_source_packages: + description: "If checked, source packages (if supported) are enabled in\ + \ installations/configurations. A source package is one that contains\ + \ source code rather than built binaries." + title: Use/Configure Source Packages? + type: boolean + use_vulnerability_scanning: + description: "If checked, vulnerability scanning will be enabled for all\ + \ supported packages within this repository." + title: Use Vulnerability Scanning? + type: boolean + user_entitlements_enabled: + description: "If checked, users can use and manage their own user-specific\ + \ entitlement token for the repository (if private). Otherwise, user-specific\ + \ entitlements are disabled for all users." + title: User Entitlements Enabled + type: boolean + view_statistics: + default: Read + description: "This defines the minimum level of privilege required for a\ + \ user to view repository statistics, to include entitlement-based usage,\ + \ if applicable. If a user does not have the permission, they won't be\ + \ able to view any statistics, either via the UI, API or CLI." + title: View statistics type: string - title: NpmPackageUpload + required: + - name type: object - WebhooksPartialUpdate: + RepositoryCreateRequest: example: - package_query: package_query - request_content_type: request_content_type - is_active: true - verify_ssl: true - signature_key: signature_key - target_url: target_url - templates: - - template: template - event: event - - template: template - event: event - secret_header: secret_header - secret_value: secret_value - request_body_format: 0 - request_body_template_format: 6 - events: - - events - - events + delete_own: true + move_packages: Admin + scan_packages: Read + show_setup_all: true + description: description + content_kind: Standard + index_files: true + use_source_packages: true + docker_refresh_tokens_enabled: true + proxy_npmjs: true + move_own: true + delete_packages: Admin + repository_type_str: Public + use_vulnerability_scanning: true + resync_own: true + slug: slug + copy_own: true + proxy_pypi: true + raw_package_index_enabled: true + contextual_auth_realm: true + resync_packages: Admin + view_statistics: Read + copy_packages: Read + replace_packages: Write + user_entitlements_enabled: true + use_noarch_packages: true + use_default_cargo_upstream: true + storage_region: default + scan_own: true + distributes: + - distributes + - distributes + name: name + use_debian_labels: true + replace_packages_by_default: true + strict_npm_validation: true + default_privilege: None + raw_package_index_signatures_enabled: true properties: - events: - description: None + content_kind: + default: Standard + description: "The repository content kind determines whether this repository\ + \ contains packages, or provides a distribution of packages from other\ + \ repositories. You can only select the content kind at repository creation\ + \ time." + title: Content kind + type: string + contextual_auth_realm: + description: "If checked, missing credentials for this repository where\ + \ basic authentication is required shall present an enriched value in\ + \ the 'WWW-Authenticate' header containing the namespace and repository.\ + \ This can be useful for tooling such as SBT where the authentication\ + \ realm is used to distinguish and disambiguate credentials." + title: Contextual Authentication Realm? + type: boolean + copy_own: + description: "If checked, users can copy any of their own packages that\ + \ they have uploaded, assuming that they still have write privilege for\ + \ the repository. This takes precedence over privileges configured in\ + \ the 'Access Controls' section of the repository, and any inherited from\ + \ the org." + title: Users Can Copy Own Packages + type: boolean + copy_packages: + default: Read + description: "This defines the minimum level of privilege required for a\ + \ user to copy packages. Unless the package was uploaded by that user,\ + \ in which the permission may be overridden by the user-specific copy\ + \ setting." + title: Copy packages + type: string + default_privilege: + default: None + description: "This defines the default level of privilege that all of your\ + \ organization members have for this repository. This does not include\ + \ collaborators, but applies to any member of the org regardless of their\ + \ own membership role (i.e. it applies to owners, managers and members).\ + \ Be careful if setting this to admin, because any member will be able\ + \ to change settings." + title: Default privilege + type: string + delete_own: + description: "If checked, users can delete any of their own packages that\ + \ they have uploaded, assuming that they still have write privilege for\ + \ the repository. This takes precedence over privileges configured in\ + \ the 'Access Controls' section of the repository, and any inherited from\ + \ the org." + title: Users Can Delete Own Packages + type: boolean + delete_packages: + default: Admin + description: "This defines the minimum level of privilege required for a\ + \ user to delete packages. Unless the package was uploaded by that user,\ + \ in which the permission may be overridden by the user-specific delete\ + \ setting." + title: Delete packages + type: string + description: + description: A description of the repository's purpose/contents. + title: Description + type: string + distributes: + description: The repositories distributed through this repo. Adding repos + here is only valid if the content_kind is DISTRIBUTION. items: - description: "" + description: The repositories distributed through this repo. Adding repos + here is only valid if the content_kind is DISTRIBUTION. + format: slug + pattern: "^[-a-zA-Z0-9_]+$" type: string - title: EventsList type: array - is_active: - description: If enabled, the webhook will trigger on events and send payloads - to the configured target URL. + uniqueItems: true + docker_refresh_tokens_enabled: + description: "If checked, refresh tokens will be issued in addition to access\ + \ tokens for Docker authentication. This allows unlimited extension of\ + \ the lifetime of access tokens." + title: Docker Auth Refresh Enabled? type: boolean - package_query: - description: The package-based search query for webhooks to fire. This uses - the same syntax as the standard search used for repositories, and also - supports boolean logic operators such as OR/AND/NOT and parentheses for - grouping. If a package does not match, the webhook will not fire. + index_files: + description: "If checked, files contained in packages will be indexed, which\ + \ increase the synchronisation time required for packages. Note that it\ + \ is recommended you keep this enabled unless the synchronisation time\ + \ is significantly impacted." + title: Index Files? + type: boolean + move_own: + description: "If checked, users can move any of their own packages that\ + \ they have uploaded, assuming that they still have write privilege for\ + \ the repository. This takes precedence over privileges configured in\ + \ the 'Access Controls' section of the repository, and any inherited from\ + \ the org." + title: Users Can Move Own Packages + type: boolean + move_packages: + default: Admin + description: "This defines the minimum level of privilege required for a\ + \ user to move packages. Unless the package was uploaded by that user,\ + \ in which the permission may be overridden by the user-specific move\ + \ setting." + title: Move packages type: string - request_body_format: - description: The format of the payloads for webhook requests. - type: integer - request_body_template_format: - description: The format of the payloads for webhook requests. - type: integer - request_content_type: - description: 'The value that will be sent for the ''Content Type'' header. ' + name: + description: A descriptive name for the repository. + maxLength: 50 + minLength: 1 + pattern: "^\\w[\\w \\-'\\.\\/]+$" + title: Name type: string - secret_header: - description: The header to send the predefined secret in. This must be unique - from existing headers or it won't be sent. You can use this as a form - of authentication on the endpoint side. + proxy_npmjs: + description: "If checked, Npm packages that are not in the repository when\ + \ requested by clients will automatically be proxied from the public npmjs.org\ + \ registry. If there is at least one version for a package, others will\ + \ not be proxied." + title: Proxy Npm Packages? + type: boolean + proxy_pypi: + description: "If checked, Python packages that are not in the repository\ + \ when requested by clients will automatically be proxied from the public\ + \ pypi.python.org registry. If there is at least one version for a package,\ + \ others will not be proxied." + title: Proxy Python Packages? + type: boolean + raw_package_index_enabled: + description: "If checked, HTML and JSON indexes will be generated that list\ + \ all available raw packages in the repository." + title: Serve index for raw packages? + type: boolean + raw_package_index_signatures_enabled: + description: "If checked, the HTML and JSON indexes will display raw package\ + \ GPG signatures alongside the index packages." + title: Display generated GPG signatures for the raw package index? + type: boolean + replace_packages: + default: Write + description: "This defines the minimum level of privilege required for a\ + \ user to republish packages. Unless the package was uploaded by that\ + \ user, in which the permission may be overridden by the user-specific\ + \ republish setting. Please note that the user still requires the privilege\ + \ to delete packages that will be replaced by the new package; otherwise\ + \ the republish will fail." + title: Replace packages type: string - secret_value: - description: 'The value for the predefined secret (note: this is treated - as a passphrase and is encrypted when we store it). You can use this as - a form of authentication on the endpoint side.' + replace_packages_by_default: + description: "If checked, uploaded packages will overwrite/replace any others\ + \ with the same attributes (e.g. same version) by default. This only applies\ + \ if the user has the required privilege for the republishing AND has\ + \ the required privilege to delete existing packages that they don't own." + title: Replace packages by default + type: boolean + repository_type_str: + default: Public + description: The repository type changes how it is accessed and billed. + Private repositories are visible only to you or authorized delegates. + Public repositories are visible to all Cloudsmith users. + title: Repository type str type: string - signature_key: - description: 'The value for the signature key - This is used to generate - an HMAC-based hex digest of the request body, which we send as the X-Cloudsmith-Signature - header so that you can ensure that the request wasn''t modified by a malicious - party (note: this is treated as a passphrase and is encrypted when we - store it).' + resync_own: + description: "If checked, users can resync any of their own packages that\ + \ they have uploaded, assuming that they still have write privilege for\ + \ the repository. This takes precedence over privileges configured in\ + \ the 'Access Controls' section of the repository, and any inherited from\ + \ the org." + title: Users Can Resync Own Packages + type: boolean + resync_packages: + default: Admin + description: "This defines the minimum level of privilege required for a\ + \ user to resync packages. Unless the package was uploaded by that user,\ + \ in which the permission may be overridden by the user-specific resync\ + \ setting." + title: Resync packages type: string - target_url: - description: The destination URL that webhook payloads will be POST'ed to. + scan_own: + description: "If checked, users can scan any of their own packages that\ + \ they have uploaded, assuming that they still have write privilege for\ + \ the repository. This takes precedence over privileges configured in\ + \ the 'Access Controls' section of the repository, and any inherited from\ + \ the org." + title: Users Can Scan Own Packages + type: boolean + scan_packages: + default: Read + description: "This defines the minimum level of privilege required for a\ + \ user to scan packages. Unless the package was uploaded by that user,\ + \ in which the permission may be overridden by the user-specific scan\ + \ setting." + title: Scan packages type: string - templates: - description: None - items: - $ref: '#/components/schemas/_webhooks__owner___repo___templates' - title: TemplatesList - type: array - verify_ssl: - description: If enabled, SSL certificates is verified when webhooks are - sent. It's recommended to leave this enabled as not verifying the integrity - of SSL certificates leaves you susceptible to Man-in-the-Middle (MITM) - attacks. + show_setup_all: + description: "If checked, the Set Me Up help for all formats will always\ + \ be shown, even if you don't have packages of that type uploaded. Otherwise,\ + \ help will only be shown for packages that are in the repository. For\ + \ example, if you have uploaded only NuGet packages, then the Set Me Up\ + \ help for NuGet packages will be shown only." + title: Always show Set Me Up for all formats? + type: boolean + slug: + description: The slug identifies the repository in URIs. + title: Slug + type: string + storage_region: + default: default + description: The Cloudsmith region in which package files are stored. + title: Storage region + type: string + strict_npm_validation: + description: "If checked, npm packages will be validated strictly to ensure\ + \ the package matches specifcation. You can turn this off if you have\ + \ packages that are old or otherwise mildly off-spec, but we can't guarantee\ + \ the packages will work with npm-cli or other tooling correctly. Turn\ + \ off at your own risk!" + title: Strict Npm Validation? + type: boolean + use_debian_labels: + description: "If checked, a 'Label' field will be present in Debian-based\ + \ repositories. It will contain a string that identifies the entitlement\ + \ token used to authenticate the repository, in the form of 'source=t-';\ + \ or 'source=none' if no token was used. You can use this to help with\ + \ pinning." + title: Use Debian Labels? + type: boolean + use_default_cargo_upstream: + description: "If checked, dependencies of uploaded Cargo crates which do\ + \ not set an explicit value for \"registry\" will be assumed to be available\ + \ from crates.io. If unchecked, dependencies with unspecified \"registry\"\ + \ values will be assumed to be available in the registry being uploaded\ + \ to. Uncheck this if you want to ensure that dependencies are only ever\ + \ installed from Cloudsmith unless explicitly specified as belong to another\ + \ registry." + title: Use crates.io as default Cargo upstream? + type: boolean + use_noarch_packages: + description: "If checked, noarch packages (if supported) are enabled in\ + \ installations/configurations. A noarch package is one that is not tied\ + \ to specific system architecture (like i686)." + title: Use/Configure NoArch Packages? type: boolean - title: WebhooksPartialUpdate + use_source_packages: + description: "If checked, source packages (if supported) are enabled in\ + \ installations/configurations. A source package is one that contains\ + \ source code rather than built binaries." + title: Use/Configure Source Packages? + type: boolean + use_vulnerability_scanning: + description: "If checked, vulnerability scanning will be enabled for all\ + \ supported packages within this repository." + title: Use Vulnerability Scanning? + type: boolean + user_entitlements_enabled: + description: "If checked, users can use and manage their own user-specific\ + \ entitlement token for the repository (if private). Otherwise, user-specific\ + \ entitlements are disabled for all users." + title: User Entitlements Enabled + type: boolean + view_statistics: + default: Read + description: "This defines the minimum level of privilege required for a\ + \ user to view repository statistics, to include entitlement-based usage,\ + \ if applicable. If a user does not have the permission, they won't be\ + \ able to view any statistics, either via the UI, API or CLI." + title: View statistics + type: string + required: + - name type: object - RepositoryToken: + RepositoryCreateResponse: example: - limit_date_range_to: limit_date_range_to - metadata: '{}' - clients: 0 - limit_bandwidth_unit: Byte - scheduled_reset_at: scheduled_reset_at - usage: usage - limit_bandwidth: 5 - created_at: created_at - limit_num_clients: 5 - eula_accepted_at: eula_accepted_at - limit_package_query: limit_package_query - limit_path_query: limit_path_query - default: true - updated_at: updated_at - downloads: 6 - user_url: user_url - limit_date_range_from: limit_date_range_from - reset_url: reset_url - limit_num_downloads: 2 - eula_required: true - refresh_url: refresh_url - scheduled_reset_period: Never Reset - identifier: 1 - is_active: true - eula_accepted: '{}' - eula_accepted_from: eula_accepted_from - created_by_url: created_by_url - is_limited: true + scan_packages: Read + content_kind: Standard + index_files: true + repository_type: 5 + use_source_packages: true + package_group_count: 1 + repository_type_str: Public + use_vulnerability_scanning: true + resync_own: true + slug: slug + raw_package_index_enabled: true + namespace_url: https://openapi-generator.tech slug_perm: slug_perm - created_by: created_by - enable_url: enable_url - self_url: self_url - token: token - updated_by_url: updated_by_url - disable_url: disable_url + deleted_at: 2000-01-23T04:56:07.000+00:00 + replace_packages: Write + user_entitlements_enabled: true + num_downloads: 0 + package_count: 6 + use_default_cargo_upstream: true + size: 5 + cdn_url: cdn_url + scan_own: true + distributes: + - distributes + - distributes name: name - updated_by: updated_by - has_limits: true - user: user + replace_packages_by_default: true + default_privilege: None + delete_own: true + is_private: true + move_packages: Admin + show_setup_all: true + created_at: 2000-01-23T04:56:07.000+00:00 + description: description + docker_refresh_tokens_enabled: true + proxy_npmjs: true + move_own: true + delete_packages: Admin + is_open_source: true + copy_own: true + proxy_pypi: true + contextual_auth_realm: true + resync_packages: Admin + view_statistics: Read + copy_packages: Read + self_html_url: self_html_url + self_url: https://openapi-generator.tech + use_noarch_packages: true + storage_region: default + size_str: size_str + gpg_keys: + - public_key: public_key + default: true + fingerprint: fingerprint + active: true + created_at: 2000-01-23T04:56:07.000+00:00 + comment: comment + fingerprint_short: fingerprint_short + - public_key: public_key + default: true + fingerprint: fingerprint + active: true + created_at: 2000-01-23T04:56:07.000+00:00 + comment: comment + fingerprint_short: fingerprint_short + is_public: true + namespace: namespace + use_debian_labels: true + strict_npm_validation: true + raw_package_index_signatures_enabled: true properties: - clients: - description: "" - type: integer - created_at: - description: The datetime the token was updated at. + cdn_url: + description: Base URL from which packages and other artifacts are downloaded. + nullable: true + readOnly: true + title: Cdn url + type: string + content_kind: + default: Standard + description: "The repository content kind determines whether this repository\ + \ contains packages, or provides a distribution of packages from other\ + \ repositories. You can only select the content kind at repository creation\ + \ time." + title: Content kind type: string - created_by: - description: "" + contextual_auth_realm: + description: "If checked, missing credentials for this repository where\ + \ basic authentication is required shall present an enriched value in\ + \ the 'WWW-Authenticate' header containing the namespace and repository.\ + \ This can be useful for tooling such as SBT where the authentication\ + \ realm is used to distinguish and disambiguate credentials." + title: Contextual Authentication Realm? + type: boolean + copy_own: + description: "If checked, users can copy any of their own packages that\ + \ they have uploaded, assuming that they still have write privilege for\ + \ the repository. This takes precedence over privileges configured in\ + \ the 'Access Controls' section of the repository, and any inherited from\ + \ the org." + title: Users Can Copy Own Packages + type: boolean + copy_packages: + default: Read + description: "This defines the minimum level of privilege required for a\ + \ user to copy packages. Unless the package was uploaded by that user,\ + \ in which the permission may be overridden by the user-specific copy\ + \ setting." + title: Copy packages type: string - created_by_url: - description: "" + created_at: + format: date-time + readOnly: true + title: Created at type: string - default: - description: If selected this is the default token for this repository. - type: boolean - disable_url: - description: "" + default_privilege: + default: None + description: "This defines the default level of privilege that all of your\ + \ organization members have for this repository. This does not include\ + \ collaborators, but applies to any member of the org regardless of their\ + \ own membership role (i.e. it applies to owners, managers and members).\ + \ Be careful if setting this to admin, because any member will be able\ + \ to change settings." + title: Default privilege type: string - downloads: - description: "" - type: integer - enable_url: - description: "" + delete_own: + description: "If checked, users can delete any of their own packages that\ + \ they have uploaded, assuming that they still have write privilege for\ + \ the repository. This takes precedence over privileges configured in\ + \ the 'Access Controls' section of the repository, and any inherited from\ + \ the org." + title: Users Can Delete Own Packages + type: boolean + delete_packages: + default: Admin + description: "This defines the minimum level of privilege required for a\ + \ user to delete packages. Unless the package was uploaded by that user,\ + \ in which the permission may be overridden by the user-specific delete\ + \ setting." + title: Delete packages type: string - eula_accepted: - description: "" - properties: {} - type: object - eula_accepted_at: - description: The datetime the EULA was accepted at. + deleted_at: + format: date-time + readOnly: true + title: Deleted at type: string - eula_accepted_from: - description: "" + description: + description: A description of the repository's purpose/contents. + title: Description type: string - eula_required: - description: If checked, a EULA acceptance is required for this token. + distributes: + description: The repositories distributed through this repo. Adding repos + here is only valid if the content_kind is DISTRIBUTION. + items: + description: The repositories distributed through this repo. Adding repos + here is only valid if the content_kind is DISTRIBUTION. + format: slug + pattern: "^[-a-zA-Z0-9_]+$" + type: string + type: array + uniqueItems: true + docker_refresh_tokens_enabled: + description: "If checked, refresh tokens will be issued in addition to access\ + \ tokens for Docker authentication. This allows unlimited extension of\ + \ the lifetime of access tokens." + title: Docker Auth Refresh Enabled? type: boolean - has_limits: - description: "" + gpg_keys: + items: + $ref: '#/components/schemas/RepositoryGpgKey' + readOnly: true + type: array + index_files: + description: "If checked, files contained in packages will be indexed, which\ + \ increase the synchronisation time required for packages. Note that it\ + \ is recommended you keep this enabled unless the synchronisation time\ + \ is significantly impacted." + title: Index Files? type: boolean - identifier: - description: "" - type: integer - is_active: - description: If enabled, the token will allow downloads based on configured - restrictions (if any). + is_open_source: + readOnly: true + title: Is open source type: boolean - is_limited: - description: "" + is_private: + readOnly: true + title: Is private type: boolean - limit_bandwidth: - description: 'The maximum download bandwidth allowed for the token. Values - are expressed as the selected unit of bandwidth. Please note that since - downloads are calculated asynchronously (after the download happens), - the limit may not be imposed immediately but at a later point. ' - type: integer - limit_bandwidth_unit: - description: "" - enum: - - Byte - - Kilobyte - - Megabyte - - Gigabyte - - Terabyte - - Petabyte - - Exabyte - - Zettabyte - - Yottabyte + is_public: + readOnly: true + title: Is public + type: boolean + move_own: + description: "If checked, users can move any of their own packages that\ + \ they have uploaded, assuming that they still have write privilege for\ + \ the repository. This takes precedence over privileges configured in\ + \ the 'Access Controls' section of the repository, and any inherited from\ + \ the org." + title: Users Can Move Own Packages + type: boolean + move_packages: + default: Admin + description: "This defines the minimum level of privilege required for a\ + \ user to move packages. Unless the package was uploaded by that user,\ + \ in which the permission may be overridden by the user-specific move\ + \ setting." + title: Move packages type: string - limit_date_range_from: - description: The starting date/time the token is allowed to be used from. + name: + description: A descriptive name for the repository. + maxLength: 50 + minLength: 1 + pattern: "^\\w[\\w \\-'\\.\\/]+$" + title: Name type: string - limit_date_range_to: - description: The ending date/time the token is allowed to be used until. + namespace: + description: Namespace to which this repository belongs. + format: slug + pattern: "^[-a-zA-Z0-9_]+$" + readOnly: true + title: Namespace type: string - limit_num_clients: - description: The maximum number of unique clients allowed for the token. - Please note that since clients are calculated asynchronously (after the - download happens), the limit may not be imposed immediately but at a later - point. + namespace_url: + description: API endpoint where data about this namespace can be retrieved. + format: uri + readOnly: true + title: Namespace url + type: string + num_downloads: + description: The number of downloads for packages in the repository. + readOnly: true + title: Num downloads type: integer - limit_num_downloads: - description: The maximum number of downloads allowed for the token. Please - note that since downloads are calculated asynchronously (after the download - happens), the limit may not be imposed immediately but at a later point. + package_count: + description: The number of packages in the repository. + readOnly: true + title: Package count type: integer - limit_package_query: - description: The package-based search query to apply to restrict downloads - to. This uses the same syntax as the standard search used for repositories, - and also supports boolean logic operators such as OR/AND/NOT and parentheses - for grouping. This will still allow access to non-package files, such - as metadata. - type: string - limit_path_query: - description: The path-based search query to apply to restrict downloads - to. This supports boolean logic operators such as OR/AND/NOT and parentheses - for grouping. The path evaluated does not include the domain name, the - namespace, the entitlement code used, the package format, etc. and it - always starts with a forward slash. - type: string - metadata: - description: "" - properties: {} - type: object - name: - description: "" + package_group_count: + description: The number of groups in the repository. + readOnly: true + title: Package group count + type: integer + proxy_npmjs: + description: "If checked, Npm packages that are not in the repository when\ + \ requested by clients will automatically be proxied from the public npmjs.org\ + \ registry. If there is at least one version for a package, others will\ + \ not be proxied." + title: Proxy Npm Packages? + type: boolean + proxy_pypi: + description: "If checked, Python packages that are not in the repository\ + \ when requested by clients will automatically be proxied from the public\ + \ pypi.python.org registry. If there is at least one version for a package,\ + \ others will not be proxied." + title: Proxy Python Packages? + type: boolean + raw_package_index_enabled: + description: "If checked, HTML and JSON indexes will be generated that list\ + \ all available raw packages in the repository." + title: Serve index for raw packages? + type: boolean + raw_package_index_signatures_enabled: + description: "If checked, the HTML and JSON indexes will display raw package\ + \ GPG signatures alongside the index packages." + title: Display generated GPG signatures for the raw package index? + type: boolean + replace_packages: + default: Write + description: "This defines the minimum level of privilege required for a\ + \ user to republish packages. Unless the package was uploaded by that\ + \ user, in which the permission may be overridden by the user-specific\ + \ republish setting. Please note that the user still requires the privilege\ + \ to delete packages that will be replaced by the new package; otherwise\ + \ the republish will fail." + title: Replace packages type: string - refresh_url: - description: "" + replace_packages_by_default: + description: "If checked, uploaded packages will overwrite/replace any others\ + \ with the same attributes (e.g. same version) by default. This only applies\ + \ if the user has the required privilege for the republishing AND has\ + \ the required privilege to delete existing packages that they don't own." + title: Replace packages by default + type: boolean + repository_type: + description: "The repository type changes how it is accessed and billed.\ + \ Private repositories are visible only to you or authorized delegates.\ + \ Open-Source repositories are always visible to everyone and are restricted\ + \ by licensing, but are free to use and come with generous bandwidth/storage.\ + \ You can only select Open-Source at repository creation time." + readOnly: true + title: Repository Type + type: integer + repository_type_str: + default: Public + description: The repository type changes how it is accessed and billed. + Private repositories are visible only to you or authorized delegates. + Public repositories are visible to all Cloudsmith users. + title: Repository type str type: string - reset_url: - description: "" + resync_own: + description: "If checked, users can resync any of their own packages that\ + \ they have uploaded, assuming that they still have write privilege for\ + \ the repository. This takes precedence over privileges configured in\ + \ the 'Access Controls' section of the repository, and any inherited from\ + \ the org." + title: Users Can Resync Own Packages + type: boolean + resync_packages: + default: Admin + description: "This defines the minimum level of privilege required for a\ + \ user to resync packages. Unless the package was uploaded by that user,\ + \ in which the permission may be overridden by the user-specific resync\ + \ setting." + title: Resync packages type: string - scheduled_reset_at: - description: The time at which the scheduled reset period has elapsed and - the token limits were automatically reset to zero. + scan_own: + description: "If checked, users can scan any of their own packages that\ + \ they have uploaded, assuming that they still have write privilege for\ + \ the repository. This takes precedence over privileges configured in\ + \ the 'Access Controls' section of the repository, and any inherited from\ + \ the org." + title: Users Can Scan Own Packages + type: boolean + scan_packages: + default: Read + description: "This defines the minimum level of privilege required for a\ + \ user to scan packages. Unless the package was uploaded by that user,\ + \ in which the permission may be overridden by the user-specific scan\ + \ setting." + title: Scan packages type: string - scheduled_reset_period: - description: "" - enum: - - Never Reset - - Daily - - Weekly - - Fortnightly - - Monthly - - Bi-Monthly - - Quarterly - - Every 6 months - - Annual + self_html_url: + description: Website URL for this repository. + minLength: 1 + readOnly: true + title: Self html url type: string self_url: - description: "" - type: string - slug_perm: - description: "" - type: string - token: - description: "" - type: string - updated_at: - description: The datetime the token was updated at. + description: API endpoint where data about this repository can be retrieved. + format: uri + readOnly: true + title: Self url type: string - updated_by: - description: "" + show_setup_all: + description: "If checked, the Set Me Up help for all formats will always\ + \ be shown, even if you don't have packages of that type uploaded. Otherwise,\ + \ help will only be shown for packages that are in the repository. For\ + \ example, if you have uploaded only NuGet packages, then the Set Me Up\ + \ help for NuGet packages will be shown only." + title: Always show Set Me Up for all formats? + type: boolean + size: + description: The calculated size of the repository. + readOnly: true + title: Size + type: integer + size_str: + description: The calculated size of the repository (human readable). + readOnly: true + title: Size str type: string - updated_by_url: - description: "" + slug: + description: The slug identifies the repository in URIs. + title: Slug type: string - usage: - description: "" + slug_perm: + description: The slug_perm immutably identifies the repository. It will + never change once a repository has been created. + format: slug + minLength: 1 + pattern: "^[-a-zA-Z0-9_]+$" + readOnly: true + title: Slug perm type: string - user: - description: "" + storage_region: + default: default + description: The Cloudsmith region in which package files are stored. + title: Storage region type: string - user_url: - description: "" + strict_npm_validation: + description: "If checked, npm packages will be validated strictly to ensure\ + \ the package matches specifcation. You can turn this off if you have\ + \ packages that are old or otherwise mildly off-spec, but we can't guarantee\ + \ the packages will work with npm-cli or other tooling correctly. Turn\ + \ off at your own risk!" + title: Strict Npm Validation? + type: boolean + use_debian_labels: + description: "If checked, a 'Label' field will be present in Debian-based\ + \ repositories. It will contain a string that identifies the entitlement\ + \ token used to authenticate the repository, in the form of 'source=t-';\ + \ or 'source=none' if no token was used. You can use this to help with\ + \ pinning." + title: Use Debian Labels? + type: boolean + use_default_cargo_upstream: + description: "If checked, dependencies of uploaded Cargo crates which do\ + \ not set an explicit value for \"registry\" will be assumed to be available\ + \ from crates.io. If unchecked, dependencies with unspecified \"registry\"\ + \ values will be assumed to be available in the registry being uploaded\ + \ to. Uncheck this if you want to ensure that dependencies are only ever\ + \ installed from Cloudsmith unless explicitly specified as belong to another\ + \ registry." + title: Use crates.io as default Cargo upstream? + type: boolean + use_noarch_packages: + description: "If checked, noarch packages (if supported) are enabled in\ + \ installations/configurations. A noarch package is one that is not tied\ + \ to specific system architecture (like i686)." + title: Use/Configure NoArch Packages? + type: boolean + use_source_packages: + description: "If checked, source packages (if supported) are enabled in\ + \ installations/configurations. A source package is one that contains\ + \ source code rather than built binaries." + title: Use/Configure Source Packages? + type: boolean + use_vulnerability_scanning: + description: "If checked, vulnerability scanning will be enabled for all\ + \ supported packages within this repository." + title: Use Vulnerability Scanning? + type: boolean + user_entitlements_enabled: + description: "If checked, users can use and manage their own user-specific\ + \ entitlement token for the repository (if private). Otherwise, user-specific\ + \ entitlements are disabled for all users." + title: User Entitlements Enabled + type: boolean + view_statistics: + default: Read + description: "This defines the minimum level of privilege required for a\ + \ user to view repository statistics, to include entitlement-based usage,\ + \ if applicable. If a user does not have the permission, they won't be\ + \ able to view any statistics, either via the UI, API or CLI." + title: View statistics type: string required: - name - title: RepositoryToken type: object - PackageDependencies_dependencies: + RepositoryRequestPatch: example: - dep_type: dep_type + delete_own: true + move_packages: Admin + scan_packages: Read + show_setup_all: true + description: description + content_kind: Standard + index_files: true + use_source_packages: true + docker_refresh_tokens_enabled: true + proxy_npmjs: true + move_own: true + delete_packages: Admin + repository_type_str: Public + use_vulnerability_scanning: true + resync_own: true + slug: slug + copy_own: true + proxy_pypi: true + raw_package_index_enabled: true + contextual_auth_realm: true + resync_packages: Admin + view_statistics: Read + copy_packages: Read + replace_packages: Write + user_entitlements_enabled: true + use_noarch_packages: true + use_default_cargo_upstream: true + scan_own: true + distributes: + - distributes + - distributes name: name - version: version - operator: operator + use_debian_labels: true + replace_packages_by_default: true + strict_npm_validation: true + default_privilege: None + raw_package_index_signatures_enabled: true properties: - dep_type: - description: "" + content_kind: + default: Standard + description: "The repository content kind determines whether this repository\ + \ contains packages, or provides a distribution of packages from other\ + \ repositories. You can only select the content kind at repository creation\ + \ time." + title: Content kind type: string - name: - description: The name of the package dependency. + contextual_auth_realm: + description: "If checked, missing credentials for this repository where\ + \ basic authentication is required shall present an enriched value in\ + \ the 'WWW-Authenticate' header containing the namespace and repository.\ + \ This can be useful for tooling such as SBT where the authentication\ + \ realm is used to distinguish and disambiguate credentials." + title: Contextual Authentication Realm? + type: boolean + copy_own: + description: "If checked, users can copy any of their own packages that\ + \ they have uploaded, assuming that they still have write privilege for\ + \ the repository. This takes precedence over privileges configured in\ + \ the 'Access Controls' section of the repository, and any inherited from\ + \ the org." + title: Users Can Copy Own Packages + type: boolean + copy_packages: + default: Read + description: "This defines the minimum level of privilege required for a\ + \ user to copy packages. Unless the package was uploaded by that user,\ + \ in which the permission may be overridden by the user-specific copy\ + \ setting." + title: Copy packages type: string - operator: - description: "" + default_privilege: + default: None + description: "This defines the default level of privilege that all of your\ + \ organization members have for this repository. This does not include\ + \ collaborators, but applies to any member of the org regardless of their\ + \ own membership role (i.e. it applies to owners, managers and members).\ + \ Be careful if setting this to admin, because any member will be able\ + \ to change settings." + title: Default privilege type: string - version: - description: The raw dependency version (if any). + delete_own: + description: "If checked, users can delete any of their own packages that\ + \ they have uploaded, assuming that they still have write privilege for\ + \ the repository. This takes precedence over privileges configured in\ + \ the 'Access Controls' section of the repository, and any inherited from\ + \ the org." + title: Users Can Delete Own Packages + type: boolean + delete_packages: + default: Admin + description: "This defines the minimum level of privilege required for a\ + \ user to delete packages. Unless the package was uploaded by that user,\ + \ in which the permission may be overridden by the user-specific delete\ + \ setting." + title: Delete packages type: string - type: object - PackagesUploadCocoapods: - example: - republish: true - package_file: z123456789 - tags: tags - properties: - package_file: - description: The primary file for the package. - example: z123456789 + description: + description: A description of the repository's purpose/contents. + title: Description type: string - republish: - description: If true, the uploaded package will overwrite any others with - the same attributes (e.g. same version); otherwise, it will be flagged - as a duplicate. + distributes: + description: The repositories distributed through this repo. Adding repos + here is only valid if the content_kind is DISTRIBUTION. + items: + description: The repositories distributed through this repo. Adding repos + here is only valid if the content_kind is DISTRIBUTION. + format: slug + pattern: "^[-a-zA-Z0-9_]+$" + type: string + type: array + uniqueItems: true + docker_refresh_tokens_enabled: + description: "If checked, refresh tokens will be issued in addition to access\ + \ tokens for Docker authentication. This allows unlimited extension of\ + \ the lifetime of access tokens." + title: Docker Auth Refresh Enabled? type: boolean - tags: - description: A comma-separated values list of tags to add to the package. + index_files: + description: "If checked, files contained in packages will be indexed, which\ + \ increase the synchronisation time required for packages. Note that it\ + \ is recommended you keep this enabled unless the synchronisation time\ + \ is significantly impacted." + title: Index Files? + type: boolean + move_own: + description: "If checked, users can move any of their own packages that\ + \ they have uploaded, assuming that they still have write privilege for\ + \ the repository. This takes precedence over privileges configured in\ + \ the 'Access Controls' section of the repository, and any inherited from\ + \ the org." + title: Users Can Move Own Packages + type: boolean + move_packages: + default: Admin + description: "This defines the minimum level of privilege required for a\ + \ user to move packages. Unless the package was uploaded by that user,\ + \ in which the permission may be overridden by the user-specific move\ + \ setting." + title: Move packages type: string - required: - - package_file - title: PackagesUploadCocoapods - type: object - PackagesValidate_uploadTerraform: - properties: - package_file: - description: The primary file for the package. - example: z123456789a + name: + description: A descriptive name for the repository. + maxLength: 50 + minLength: 1 + pattern: "^\\w[\\w \\-'\\.\\/]+$" + title: Name type: string - republish: - description: If true, the uploaded package will overwrite any others with - the same attributes (e.g. same version); otherwise, it will be flagged - as a duplicate. + proxy_npmjs: + description: "If checked, Npm packages that are not in the repository when\ + \ requested by clients will automatically be proxied from the public npmjs.org\ + \ registry. If there is at least one version for a package, others will\ + \ not be proxied." + title: Proxy Npm Packages? type: boolean - tags: - description: A comma-separated values list of tags to add to the package. + proxy_pypi: + description: "If checked, Python packages that are not in the repository\ + \ when requested by clients will automatically be proxied from the public\ + \ pypi.python.org registry. If there is at least one version for a package,\ + \ others will not be proxied." + title: Proxy Python Packages? + type: boolean + raw_package_index_enabled: + description: "If checked, HTML and JSON indexes will be generated that list\ + \ all available raw packages in the repository." + title: Serve index for raw packages? + type: boolean + raw_package_index_signatures_enabled: + description: "If checked, the HTML and JSON indexes will display raw package\ + \ GPG signatures alongside the index packages." + title: Display generated GPG signatures for the raw package index? + type: boolean + replace_packages: + default: Write + description: "This defines the minimum level of privilege required for a\ + \ user to republish packages. Unless the package was uploaded by that\ + \ user, in which the permission may be overridden by the user-specific\ + \ republish setting. Please note that the user still requires the privilege\ + \ to delete packages that will be replaced by the new package; otherwise\ + \ the republish will fail." + title: Replace packages type: string - required: - - package_file - title: PackagesValidate-uploadTerraform - type: object - EntitlementsSync: - example: - source: source - properties: - source: - description: The source repository slug (in the same owner namespace). + replace_packages_by_default: + description: "If checked, uploaded packages will overwrite/replace any others\ + \ with the same attributes (e.g. same version) by default. This only applies\ + \ if the user has the required privilege for the republishing AND has\ + \ the required privilege to delete existing packages that they don't own." + title: Replace packages by default + type: boolean + repository_type_str: + default: Public + description: The repository type changes how it is accessed and billed. + Private repositories are visible only to you or authorized delegates. + Public repositories are visible to all Cloudsmith users. + title: Repository type str type: string - required: - - source - title: EntitlementsSync - type: object - EntitlementsCreate: - example: - limit_date_range_to: limit_date_range_to - metadata: '{}' - is_active: true - limit_bandwidth_unit: Byte - scheduled_reset_at: scheduled_reset_at - limit_bandwidth: 0 - limit_num_clients: 6 - limit_package_query: limit_package_query - limit_path_query: limit_path_query - token: token - name: name - limit_date_range_from: limit_date_range_from - limit_num_downloads: 1 - eula_required: true - scheduled_reset_period: Never Reset - properties: - eula_required: - description: If checked, a EULA acceptance is required for this token. + resync_own: + description: "If checked, users can resync any of their own packages that\ + \ they have uploaded, assuming that they still have write privilege for\ + \ the repository. This takes precedence over privileges configured in\ + \ the 'Access Controls' section of the repository, and any inherited from\ + \ the org." + title: Users Can Resync Own Packages type: boolean - is_active: - description: If enabled, the token will allow downloads based on configured - restrictions (if any). + resync_packages: + default: Admin + description: "This defines the minimum level of privilege required for a\ + \ user to resync packages. Unless the package was uploaded by that user,\ + \ in which the permission may be overridden by the user-specific resync\ + \ setting." + title: Resync packages + type: string + scan_own: + description: "If checked, users can scan any of their own packages that\ + \ they have uploaded, assuming that they still have write privilege for\ + \ the repository. This takes precedence over privileges configured in\ + \ the 'Access Controls' section of the repository, and any inherited from\ + \ the org." + title: Users Can Scan Own Packages type: boolean - limit_bandwidth: - description: 'The maximum download bandwidth allowed for the token. Values - are expressed as the selected unit of bandwidth. Please note that since - downloads are calculated asynchronously (after the download happens), - the limit may not be imposed immediately but at a later point. ' - type: integer - limit_bandwidth_unit: - description: None - enum: - - Byte - - Kilobyte - - Megabyte - - Gigabyte - - Terabyte - - Petabyte - - Exabyte - - Zettabyte - - Yottabyte + scan_packages: + default: Read + description: "This defines the minimum level of privilege required for a\ + \ user to scan packages. Unless the package was uploaded by that user,\ + \ in which the permission may be overridden by the user-specific scan\ + \ setting." + title: Scan packages type: string - limit_date_range_from: - description: The starting date/time the token is allowed to be used from. + show_setup_all: + description: "If checked, the Set Me Up help for all formats will always\ + \ be shown, even if you don't have packages of that type uploaded. Otherwise,\ + \ help will only be shown for packages that are in the repository. For\ + \ example, if you have uploaded only NuGet packages, then the Set Me Up\ + \ help for NuGet packages will be shown only." + title: Always show Set Me Up for all formats? + type: boolean + slug: + description: The slug identifies the repository in URIs. + title: Slug type: string - limit_date_range_to: - description: The ending date/time the token is allowed to be used until. + strict_npm_validation: + description: "If checked, npm packages will be validated strictly to ensure\ + \ the package matches specifcation. You can turn this off if you have\ + \ packages that are old or otherwise mildly off-spec, but we can't guarantee\ + \ the packages will work with npm-cli or other tooling correctly. Turn\ + \ off at your own risk!" + title: Strict Npm Validation? + type: boolean + use_debian_labels: + description: "If checked, a 'Label' field will be present in Debian-based\ + \ repositories. It will contain a string that identifies the entitlement\ + \ token used to authenticate the repository, in the form of 'source=t-';\ + \ or 'source=none' if no token was used. You can use this to help with\ + \ pinning." + title: Use Debian Labels? + type: boolean + use_default_cargo_upstream: + description: "If checked, dependencies of uploaded Cargo crates which do\ + \ not set an explicit value for \"registry\" will be assumed to be available\ + \ from crates.io. If unchecked, dependencies with unspecified \"registry\"\ + \ values will be assumed to be available in the registry being uploaded\ + \ to. Uncheck this if you want to ensure that dependencies are only ever\ + \ installed from Cloudsmith unless explicitly specified as belong to another\ + \ registry." + title: Use crates.io as default Cargo upstream? + type: boolean + use_noarch_packages: + description: "If checked, noarch packages (if supported) are enabled in\ + \ installations/configurations. A noarch package is one that is not tied\ + \ to specific system architecture (like i686)." + title: Use/Configure NoArch Packages? + type: boolean + use_source_packages: + description: "If checked, source packages (if supported) are enabled in\ + \ installations/configurations. A source package is one that contains\ + \ source code rather than built binaries." + title: Use/Configure Source Packages? + type: boolean + use_vulnerability_scanning: + description: "If checked, vulnerability scanning will be enabled for all\ + \ supported packages within this repository." + title: Use Vulnerability Scanning? + type: boolean + user_entitlements_enabled: + description: "If checked, users can use and manage their own user-specific\ + \ entitlement token for the repository (if private). Otherwise, user-specific\ + \ entitlements are disabled for all users." + title: User Entitlements Enabled + type: boolean + view_statistics: + default: Read + description: "This defines the minimum level of privilege required for a\ + \ user to view repository statistics, to include entitlement-based usage,\ + \ if applicable. If a user does not have the permission, they won't be\ + \ able to view any statistics, either via the UI, API or CLI." + title: View statistics type: string - limit_num_clients: - description: The maximum number of unique clients allowed for the token. - Please note that since clients are calculated asynchronously (after the - download happens), the limit may not be imposed immediately but at a later - point. - type: integer - limit_num_downloads: - description: The maximum number of downloads allowed for the token. Please - note that since downloads are calculated asynchronously (after the download - happens), the limit may not be imposed immediately but at a later point. - type: integer - limit_package_query: - description: The package-based search query to apply to restrict downloads - to. This uses the same syntax as the standard search used for repositories, - and also supports boolean logic operators such as OR/AND/NOT and parentheses - for grouping. This will still allow access to non-package files, such - as metadata. + type: object + RepositoryGpgKeyResponse: + example: + public_key: public_key + default: true + fingerprint: fingerprint + active: true + created_at: 2000-01-23T04:56:07.000+00:00 + comment: comment + fingerprint_short: fingerprint_short + properties: + active: + description: If selected this is the active key for this repository. + readOnly: true + title: Active + type: boolean + comment: + minLength: 1 + title: Comment type: string - limit_path_query: - description: The path-based search query to apply to restrict downloads - to. This supports boolean logic operators such as OR/AND/NOT and parentheses - for grouping. The path evaluated does not include the domain name, the - namespace, the entitlement code used, the package format, etc. and it - always starts with a forward slash. + created_at: + format: date-time + readOnly: true + title: Created at type: string - metadata: - description: None - properties: {} - type: object - name: - description: None + default: + description: If selected this is the default key for this repository. + readOnly: true + title: Default + type: boolean + fingerprint: + description: The long identifier used by GPG for this key. + minLength: 1 + readOnly: true + title: Fingerprint type: string - scheduled_reset_at: - description: The time at which the scheduled reset period has elapsed and - the token limits were automatically reset to zero. + fingerprint_short: + readOnly: true + title: Fingerprint short type: string - scheduled_reset_period: - description: None - enum: - - Never Reset - - Daily - - Weekly - - Fortnightly - - Monthly - - Bi-Monthly - - Quarterly - - Every 6 months - - Annual + public_key: + description: The public key given to repository users. + minLength: 1 + readOnly: true + title: Public key type: string - token: - description: None + required: + - comment + type: object + RepositoryGpgKeyCreate: + example: + gpg_passphrase: gpg_passphrase + gpg_private_key: gpg_private_key + properties: + gpg_passphrase: + description: The GPG passphrase used for signing. + minLength: 1 + title: Gpg passphrase + type: string + gpg_private_key: + description: The GPG private key. + minLength: 1 + title: Gpg private key type: string required: - - name - title: EntitlementsCreate + - gpg_private_key type: object - FilesAbort: + RepositoryPrivilegeDict: example: - sha256_checksum: sha256_checksum - filename: filename - method: put_parts - md5_checksum: md5_checksum + service: service + privilege: privilege + team: team + user: user properties: - filename: - description: Filename for the package file upload. - type: string - md5_checksum: - description: MD5 checksum for a POST-based package file upload. + privilege: + description: The level of privilege that the user or team should be granted + to the specified repository. + title: Privilege + type: string + service: + description: The service identifier (slug). + format: slug + minLength: 1 + pattern: "^[-a-zA-Z0-9_]+$" + title: Service type: string - method: - description: The method to use for package file upload. - enum: - - put_parts - - put - - post - - presigned - - unsigned_put + team: + description: The team identifier (slug). + format: slug + minLength: 1 + pattern: "^[-a-zA-Z0-9_]+$" + title: Team type: string - sha256_checksum: - description: SHA256 checksum for a PUT-based package file upload. + user: + description: The user identifier (slug). + format: slug + minLength: 1 + pattern: "^[-a-zA-Z0-9_]+$" + title: User type: string required: - - filename - title: FilesAbort + - privilege type: object - RepositoryTokenSync: + RepositoryPrivilegeInputResponse: example: - tokens: - - limit_date_range_to: limit_date_range_to - metadata: metadata - clients: 0 - limit_bandwidth_unit: limit_bandwidth_unit - scheduled_reset_at: scheduled_reset_at - usage: usage - limit_bandwidth: 5 - created_at: created_at - limit_num_clients: 5 - eula_accepted_at: eula_accepted_at - limit_package_query: limit_package_query - limit_path_query: limit_path_query - default: true - updated_at: updated_at - downloads: 6 - user_url: user_url - limit_date_range_from: limit_date_range_from - reset_url: reset_url - limit_num_downloads: 2 - eula_required: true - refresh_url: refresh_url - scheduled_reset_period: scheduled_reset_period - identifier: 1 - is_active: true - eula_accepted: '{}' - eula_accepted_from: eula_accepted_from - created_by_url: created_by_url - is_limited: true - slug_perm: slug_perm - created_by: created_by - enable_url: enable_url - self_url: self_url - token: token - updated_by_url: updated_by_url - disable_url: disable_url - name: name - updated_by: updated_by - has_limits: true + privileges: + - service: service + privilege: privilege + team: team user: user - - limit_date_range_to: limit_date_range_to - metadata: metadata - clients: 0 - limit_bandwidth_unit: limit_bandwidth_unit - scheduled_reset_at: scheduled_reset_at - usage: usage - limit_bandwidth: 5 - created_at: created_at - limit_num_clients: 5 - eula_accepted_at: eula_accepted_at - limit_package_query: limit_package_query - limit_path_query: limit_path_query - default: true - updated_at: updated_at - downloads: 6 - user_url: user_url - limit_date_range_from: limit_date_range_from - reset_url: reset_url - limit_num_downloads: 2 - eula_required: true - refresh_url: refresh_url - scheduled_reset_period: scheduled_reset_period - identifier: 1 - is_active: true - eula_accepted: '{}' - eula_accepted_from: eula_accepted_from - created_by_url: created_by_url - is_limited: true - slug_perm: slug_perm - created_by: created_by - enable_url: enable_url - self_url: self_url - token: token - updated_by_url: updated_by_url - disable_url: disable_url - name: name - updated_by: updated_by - has_limits: true + - service: service + privilege: privilege + team: team user: user properties: - tokens: - description: The entitlements that have been synchronised. + privileges: + description: List of objects with explicit privileges to the repository. items: - $ref: '#/components/schemas/RepositoryTokenSync_tokens' - title: TokensList + $ref: '#/components/schemas/RepositoryPrivilegeDict' type: array - title: RepositoryTokenSync + required: + - privileges type: object - DebPackageUpload: + RepositoryPrivilegeInputRequest: example: - architectures: - - name: name - description: description - - name: name - description: description - security_scan_status_updated_at: security_scan_status_updated_at - checksum_sha256: checksum_sha256 - release: release - package_type: 5 - repository: repository - identifier_perm: identifier_perm - stage_updated_at: stage_updated_at - tags_immutable: '{}' - is_quarantined: true - slug: slug - security_scan_started_at: security_scan_started_at - security_scan_status: Awaiting Security Scan - indexed: true - format: format - status_str: status_str - version_orig: version_orig - namespace_url: namespace_url - slug_perm: slug_perm - version: version - license: license - filename: filename - size: 5 - cdn_url: cdn_url - uploaded_at: uploaded_at - is_downloadable: true - name: name - sync_finished_at: sync_finished_at - files: - - checksum_sha512: checksum_sha512 - checksum_sha1: checksum_sha1 - checksum_sha256: checksum_sha256 - is_primary: true - checksum_md5: checksum_md5 - slug_perm: slug_perm - filename: filename - size: 5 - cdn_url: cdn_url - downloads: 1 - is_synchronised: true - is_downloadable: true - signature_url: signature_url - tag: tag - - checksum_sha512: checksum_sha512 - checksum_sha1: checksum_sha1 - checksum_sha256: checksum_sha256 - is_primary: true - checksum_md5: checksum_md5 - slug_perm: slug_perm - filename: filename - size: 5 - cdn_url: cdn_url - downloads: 1 - is_synchronised: true - is_downloadable: true - signature_url: signature_url - tag: tag - num_files: 1 - status: 7 - checksum_sha512: checksum_sha512 - distro: '{}' - extension: extension - description: description - epoch: 6 - is_sync_completed: true - distro_version: '{}' - type_display: type_display - vulnerability_scan_results_url: vulnerability_scan_results_url - dependencies_checksum_md5: dependencies_checksum_md5 - downloads: 0 - subtype: subtype - uploader: uploader - signature_url: signature_url - repository_url: repository_url - status_reason: status_reason - status_updated_at: status_updated_at - summary: summary - checksum_sha1: checksum_sha1 - checksum_md5: checksum_md5 - sync_progress: 9 - is_sync_awaiting: true - uploader_url: uploader_url - self_html_url: self_html_url - self_url: self_url - status_url: status_url - is_sync_in_flight: true - security_scan_completed_at: security_scan_completed_at - is_sync_in_progress: true - stage_str: stage_str - stage: 2 - format_url: format_url - dependencies_url: dependencies_url - namespace: namespace - is_sync_failed: true + privileges: + - service: service + privilege: privilege + team: team + user: user + - service: service + privilege: privilege + team: team + user: user properties: - architectures: - description: "" + privileges: + description: List of objects with explicit privileges to the repository. items: - $ref: '#/components/schemas/_packages__owner___repo___architectures' - title: ArchitecturesList + $ref: '#/components/schemas/RepositoryPrivilegeDict' type: array - cdn_url: - description: "" - type: string - checksum_md5: - description: "" - type: string - checksum_sha1: - description: "" - type: string - checksum_sha256: - description: "" - type: string - checksum_sha512: - description: "" - type: string - dependencies_checksum_md5: - description: A checksum of all of the package's dependencies. + required: + - privileges + type: object + RepositoryPrivilegeInputRequestPatch: + example: + privileges: + - service: service + privilege: privilege + team: team + user: user + - service: service + privilege: privilege + team: team + user: user + properties: + privileges: + description: List of objects with explicit privileges to the repository. + items: + $ref: '#/components/schemas/RepositoryPrivilegeDict' + type: array + type: object + RepositoryRsaKeyResponse: + example: + public_key: public_key + default: true + fingerprint: fingerprint + active: true + created_at: 2000-01-23T04:56:07.000+00:00 + fingerprint_short: fingerprint_short + properties: + active: + description: If selected this is the active key for this repository. + readOnly: true + title: Active + type: boolean + created_at: + format: date-time + readOnly: true + title: Created at type: string - dependencies_url: - description: "" + default: + description: If selected this is the default key for this repository. + readOnly: true + title: Default + type: boolean + fingerprint: + description: The long identifier used by RSA for this key. + minLength: 1 + readOnly: true + title: Fingerprint type: string - description: - description: A textual description of this package. + fingerprint_short: + readOnly: true + title: Fingerprint short type: string - distro: - description: "" - properties: {} - type: object - distro_version: - description: "" - properties: {} - type: object - downloads: - description: "" - type: integer - epoch: - description: The epoch of the package version (if any). - type: integer - extension: - description: "" + public_key: + description: The public key given to repository users. + minLength: 1 + readOnly: true + title: Public key type: string - filename: - description: "" + type: object + RepositoryRsaKeyCreate: + example: + rsa_private_key: rsa_private_key + rsa_passphrase: rsa_passphrase + properties: + rsa_passphrase: + description: The RSA passphrase used for signing. + minLength: 1 + title: Rsa passphrase type: string - files: - description: "" - items: - $ref: '#/components/schemas/_packages__owner___repo___files' - title: FilesList - type: array - format: - description: "" + rsa_private_key: + description: The RSA private key. + minLength: 1 + title: Rsa private key type: string - format_url: - description: "" + required: + - rsa_private_key + type: object + StatusBasicResponse: + example: + detail: Cloudsmith API is operational. + version: 1.181.6 + properties: + detail: + default: Cloudsmith API is operational. + description: The message describing the state of the API. + minLength: 1 + readOnly: true + title: Detail type: string - identifier_perm: - description: Unique and permanent identifier for the package. + version: + default: 1.181.6 + description: The current version for the Cloudsmith service. + minLength: 1 + readOnly: true + title: Version type: string - indexed: - description: "" - type: boolean - is_downloadable: - description: "" - type: boolean - is_quarantined: - description: "" - type: boolean - is_sync_awaiting: - description: "" - type: boolean - is_sync_completed: - description: "" - type: boolean - is_sync_failed: - description: "" - type: boolean - is_sync_in_flight: - description: "" - type: boolean - is_sync_in_progress: - description: "" + type: object + StorageRegionResponse: + example: + label: label + slug: slug + properties: + label: + description: Name of the storage region + minLength: 1 + title: Label + type: string + slug: + description: Slug for the storage region + minLength: 1 + title: Slug + type: string + required: + - label + - slug + type: object + UserBriefResponse: + example: + authenticated: true + profile_url: https://openapi-generator.tech + name: name + slug_perm: slug_perm + email: email + self_url: self_url + slug: slug + properties: + authenticated: + description: If true then you're logged in as a user. + readOnly: true + title: Authenticated type: boolean - license: - description: The license of this package. + email: + description: Your email address that we use to contact you. This is only + visible to you. + format: email + maxLength: 254 + minLength: 1 + nullable: true + title: Email address type: string name: - description: The name of this package. + description: The full name of the user (if any). + minLength: 1 + nullable: true + readOnly: true + title: Name type: string - namespace: - description: "" + profile_url: + description: The URL for the full profile of the user. + format: uri + nullable: true + readOnly: true + title: Profile url type: string - namespace_url: - description: "" + self_url: + readOnly: true + title: Self url type: string - num_files: - description: "" - type: integer - package_type: - description: The type of package contents. - type: integer - release: - description: The release of the package version (if any). + slug: + nullable: true + readOnly: true + title: Slug type: string - repository: - description: "" + slug_perm: + nullable: true + readOnly: true + title: Slug perm type: string - repository_url: - description: "" + type: object + UserAuthTokenRequest: + example: + password: password + email: email + properties: + email: + description: Email address to authenticate with + format: email + minLength: 1 + title: Email type: string - security_scan_completed_at: - description: The datetime the security scanning was completed. + password: + description: Password to authenticate with + minLength: 1 + title: Password type: string - security_scan_started_at: - description: The datetime the security scanning was started. + type: object + UserAuthTokenResponse: + example: + token: token + properties: + token: + description: API token for the authenticated user + minLength: 1 + readOnly: true + title: Token type: string - security_scan_status: - description: "" - enum: - - Awaiting Security Scan - - Security Scanning in Progress - - Scan Detected Vulnerabilities - - Scan Detected No Vulnerabilities - - Security Scanning Disabled - - Security Scanning Failed - - Security Scanning Skipped - - Security Scanning Not Supported + type: object + UserProfileResponse: + example: + joined_at: 2000-01-23T04:56:07.000+00:00 + name: name + last_name: last_name + tagline: tagline + company: company + slug_perm: slug_perm + first_name: first_name + job_title: job_title + slug: slug + url: https://openapi-generator.tech + properties: + company: + maxLength: 64 + nullable: true + title: Company type: string - security_scan_status_updated_at: - description: The datetime the security scanning status was updated. + first_name: + maxLength: 40 + minLength: 1 + title: First name type: string - self_html_url: - description: "" + job_title: + maxLength: 64 + nullable: true + title: Job title type: string - self_url: - description: "" + joined_at: + format: date-time + title: Joined at type: string - signature_url: - description: "" + last_name: + maxLength: 30 + minLength: 1 + title: Last name + type: string + name: + minLength: 1 + readOnly: true + title: Name type: string - size: - description: The calculated size of the package. - type: integer slug: - description: The public unique identifier for the package. + readOnly: true + title: Slug type: string slug_perm: - description: "" + readOnly: true + title: Slug perm type: string - stage: - description: The synchronisation (in progress) stage of the package. - type: integer - stage_str: - description: "" + tagline: + description: "Your tagline is a sentence about you. Make it funny. Make\ + \ it professional. Either way, it's public and it represents who you are." + maxLength: 80 + nullable: true + title: Tagline type: string - stage_updated_at: - description: The datetime the package stage was updated at. + url: + format: uri + readOnly: true + title: Url type: string - status: - description: The synchronisation status of the package. - type: integer - status_reason: - description: A textual description for the synchronous status reason (if - any + required: + - first_name + - last_name + type: object + PackageVulnerability: + example: + identifier: identifier + name: name + version: version + url: https://openapi-generator.tech + properties: + identifier: + minLength: 1 + title: Identifier type: string - status_str: - description: "" + name: + description: The name of this package. + minLength: 1 + readOnly: true + title: Name type: string - status_updated_at: - description: The datetime the package status was updated at. + url: + format: uri + readOnly: true + title: Url type: string - status_url: - description: "" + version: + description: The raw version for this package. + minLength: 1 + readOnly: true + title: Version type: string - subtype: - description: "" + required: + - identifier + type: object + VulnerabilityScanResultsListResponse: + example: + identifier: identifier + max_severity: Unknown + package: + identifier: identifier + name: name + version: version + url: https://openapi-generator.tech + has_vulnerabilities: true + created_at: 2000-01-23T04:56:07.000+00:00 + num_vulnerabilities: 0 + scan_id: 6 + properties: + created_at: + description: The time this scan result was stored. + format: date-time + readOnly: true + title: Created at type: string - summary: - description: A one-liner synopsis of this package. + has_vulnerabilities: + description: Do the results contain any known vulnerabilities? + readOnly: true + title: Has vulnerabilities + type: boolean + identifier: + minLength: 1 + title: Identifier type: string - sync_finished_at: - description: The datetime the package sync was finished at. + max_severity: + default: Unknown + title: Max severity type: string - sync_progress: - description: Synchronisation progress (from 0-100) + num_vulnerabilities: + title: Num vulnerabilities type: integer - tags_immutable: - description: All immutable tags on the package, grouped by tag type. Immutable - tags cannot be (easily) deleted. - properties: {} - type: object - type_display: - description: "" + package: + $ref: '#/components/schemas/PackageVulnerability' + scan_id: + title: Scan id + type: integer + required: + - identifier + - package + - scan_id + type: object + VulnerabilityScanVersion: + example: + patch: 5 + major: 6 + minor: 1 + version: version + operator: operator + raw_version: raw_version + properties: + major: + title: Major + type: integer + minor: + title: Minor + type: integer + operator: + default: "" + maxLength: 32 + minLength: 1 + title: Operator type: string - uploaded_at: - description: The date this package was uploaded. + patch: + title: Patch + type: integer + raw_version: + default: "" + maxLength: 128 + minLength: 1 + title: Raw version type: string - uploader: - description: "" + version: + default: "" + maxLength: 128 + minLength: 1 + title: Version type: string - uploader_url: - description: "" + required: + - major + - minor + - patch + type: object + Vulnerability: + example: + severity: Unknown + affected_version: + patch: 5 + major: 6 + minor: 1 + version: version + operator: operator + raw_version: raw_version + fixed_version: + patch: 5 + major: 6 + minor: 1 + version: version + operator: operator + raw_version: raw_version + references: + - references + - references + vulnerability_id: vulnerability_id + package_name: package_name + description: description + severity_source: severity_source + title: title + properties: + affected_version: + $ref: '#/components/schemas/VulnerabilityScanVersion' + description: + maxLength: 1028 + minLength: 1 + title: Description + type: string + fixed_version: + $ref: '#/components/schemas/VulnerabilityScanVersion' + package_name: + maxLength: 128 + minLength: 1 + title: Package name + type: string + references: + items: + maxLength: 2048 + minLength: 1 + type: string + type: array + severity: + default: Unknown + title: Severity type: string - version: - description: The raw version for this package. + severity_source: + maxLength: 128 + minLength: 1 + title: Severity source type: string - version_orig: - description: "" + title: + maxLength: 512 + minLength: 1 + title: Title type: string - vulnerability_scan_results_url: - description: "" + vulnerability_id: + maxLength: 13 + minLength: 1 + title: Vulnerability id type: string - title: DebPackageUpload + required: + - affected_version + - description + - fixed_version + - package_name + - references + - severity_source + - title + - vulnerability_id type: object - PackagesTag: + VulnerabilityScan: example: - is_immutable: true - action: add - tags: - - tags - - tags + type: type + results: + - severity: Unknown + affected_version: + patch: 5 + major: 6 + minor: 1 + version: version + operator: operator + raw_version: raw_version + fixed_version: + patch: 5 + major: 6 + minor: 1 + version: version + operator: operator + raw_version: raw_version + references: + - references + - references + vulnerability_id: vulnerability_id + package_name: package_name + description: description + severity_source: severity_source + title: title + - severity: Unknown + affected_version: + patch: 5 + major: 6 + minor: 1 + version: version + operator: operator + raw_version: raw_version + fixed_version: + patch: 5 + major: 6 + minor: 1 + version: version + operator: operator + raw_version: raw_version + references: + - references + - references + vulnerability_id: vulnerability_id + package_name: package_name + description: description + severity_source: severity_source + title: title + target: target properties: - action: - description: None - enum: - - add - - clear - - remove - - replace - type: string - is_immutable: - description: If true, created tags will be immutable. An immutable flag - is a tag that cannot be removed from a package. - type: boolean - tags: - description: A list of tags to apply the action to. Not required for clears. + results: items: - description: "" - type: string - title: TagsList + $ref: '#/components/schemas/Vulnerability' type: array - title: PackagesTag + target: + minLength: 1 + title: Target + type: string + type: + minLength: 1 + title: Type + type: string + required: + - results + - target + - type type: object - Quota: + VulnerabilityScanResultsResponse: example: - usage: - display: - bandwidth: - configured: 60 GB - percentage_used: 0.0% - plan_limit: 2 TB - used: 0 B - storage: - configured: 30 GB - percentage_used: 0.109% - plan_limit: 1 TB - used: 1.1 GB - raw: - bandwidth: - configured: 64424509440 - percentage_used: 0 - plan_limit: 2199023255552 - used: 0 - storage: - configured: 32212254720 - percentage_used: 0.109 - plan_limit: 1099511627776 - used: 1197653687 + identifier: identifier + max_severity: Unknown + package: + identifier: identifier + name: name + version: version + url: https://openapi-generator.tech + has_vulnerabilities: true + scan: + type: type + results: + - severity: Unknown + affected_version: + patch: 5 + major: 6 + minor: 1 + version: version + operator: operator + raw_version: raw_version + fixed_version: + patch: 5 + major: 6 + minor: 1 + version: version + operator: operator + raw_version: raw_version + references: + - references + - references + vulnerability_id: vulnerability_id + package_name: package_name + description: description + severity_source: severity_source + title: title + - severity: Unknown + affected_version: + patch: 5 + major: 6 + minor: 1 + version: version + operator: operator + raw_version: raw_version + fixed_version: + patch: 5 + major: 6 + minor: 1 + version: version + operator: operator + raw_version: raw_version + references: + - references + - references + vulnerability_id: vulnerability_id + package_name: package_name + description: description + severity_source: severity_source + title: title + target: target + created_at: 2000-01-23T04:56:07.000+00:00 + num_vulnerabilities: 0 + scan_id: 5 + properties: + created_at: + description: The time this scan result was stored. + format: date-time + readOnly: true + title: Created at + type: string + has_vulnerabilities: + description: Do the results contain any known vulnerabilities? + readOnly: true + title: Has vulnerabilities + type: boolean + identifier: + minLength: 1 + title: Identifier + type: string + max_severity: + default: Unknown + title: Max severity + type: string + num_vulnerabilities: + title: Num vulnerabilities + type: integer + package: + $ref: '#/components/schemas/PackageVulnerability' + scan: + $ref: '#/components/schemas/VulnerabilityScan' + scan_id: + title: Scan id + type: integer + required: + - identifier + - package + - scan + - scan_id + type: object + WebhookTemplate: + example: + template: template + event: event + nullable: true properties: - usage: - description: "" - example: - display: - bandwidth: - configured: 60 GB - percentage_used: 0.0% - plan_limit: 2 TB - used: 0 B - storage: - configured: 30 GB - percentage_used: 0.109% - plan_limit: 1 TB - used: 1.1 GB - raw: - bandwidth: - configured: 64424509440 - percentage_used: 0 - plan_limit: 2199023255552 - used: 0 - storage: - configured: 32212254720 - percentage_used: 0.109 - plan_limit: 1099511627776 - used: 1197653687 - properties: {} - type: object + event: + maxLength: 128 + minLength: 1 + title: Event + type: string + template: + maxLength: 4096 + nullable: true + title: Template + type: string required: - - usage - title: Quota + - event type: object - RepositoryTokenRefresh: + x-nullable: true + RepositoryWebhookResponse: example: - limit_date_range_to: limit_date_range_to - metadata: '{}' - clients: 0 - limit_bandwidth_unit: Byte - scheduled_reset_at: scheduled_reset_at - usage: usage - limit_bandwidth: 5 - created_at: created_at - limit_num_clients: 5 - eula_accepted_at: eula_accepted_at - limit_package_query: limit_package_query - limit_path_query: limit_path_query - default: true - updated_at: updated_at - downloads: 6 - user_url: user_url - limit_date_range_from: limit_date_range_from - reset_url: reset_url - limit_num_downloads: 2 - eula_required: true - refresh_url: refresh_url - scheduled_reset_period: Never Reset - identifier: 1 + is_last_response_bad: true + last_response_status_str: last_response_status_str + target_url: https://openapi-generator.tech + created_at: 2000-01-23T04:56:07.000+00:00 + last_response_status: 1 + request_body_template_format_str: request_body_template_format_str + request_content_type: request_content_type + updated_at: 2000-01-23T04:56:07.000+00:00 + request_body_format_str: request_body_format_str + num_sent: 5 + request_body_template_format: 2 + events: + - '*' + - '*' + disable_reason_str: disable_reason_str + identifier: 6 + package_query: package_query is_active: true - eula_accepted: '{}' - eula_accepted_from: eula_accepted_from - created_by_url: created_by_url - is_limited: true + disable_reason: 0 + created_by_url: https://openapi-generator.tech + templates: + - template: template + event: event + - template: template + event: event + request_body_format: 5 slug_perm: slug_perm created_by: created_by - enable_url: enable_url - self_url: self_url - token: token - updated_by_url: updated_by_url - disable_url: disable_url - name: name + self_url: https://openapi-generator.tech + updated_by_url: https://openapi-generator.tech + verify_ssl: true + secret_header: secret_header updated_by: updated_by - has_limits: true - user: user properties: - clients: - description: "" - type: integer created_at: - description: The datetime the token was updated at. + format: date-time + readOnly: true + title: Created at type: string created_by: - description: "" + minLength: 1 + readOnly: true + title: Created by type: string created_by_url: - description: "" - type: string - default: - description: If selected this is the default token for this repository. - type: boolean - disable_url: - description: "" + format: uri + readOnly: true + title: Created by url type: string - downloads: - description: "" + disable_reason: + readOnly: true + title: Disable reason type: integer - enable_url: - description: "" - type: string - eula_accepted: - description: "" - properties: {} - type: object - eula_accepted_at: - description: The datetime the EULA was accepted at. - type: string - eula_accepted_from: - description: "" + disable_reason_str: + minLength: 1 + readOnly: true + title: Disable reason str type: string - eula_required: - description: If checked, a EULA acceptance is required for this token. - type: boolean - has_limits: - description: "" - type: boolean + events: + items: + enum: + - '*' + - package.created + - package.deleted + - package.downloaded + - package.failed + - package.security_scanned + - package.synced + - package.syncing + - package.tags_updated + type: string + nullable: true + type: array identifier: - description: "" + readOnly: true + title: Identifier type: integer is_active: - description: If enabled, the token will allow downloads based on configured - restrictions (if any). + description: "If enabled, the webhook will trigger on subscribed events\ + \ and send payloads to the configured target URL." + title: Webhook Active type: boolean - is_limited: - description: "" + is_last_response_bad: + readOnly: true + title: Is last response bad type: boolean - limit_bandwidth: - description: 'The maximum download bandwidth allowed for the token. Values - are expressed as the selected unit of bandwidth. Please note that since - downloads are calculated asynchronously (after the download happens), - the limit may not be imposed immediately but at a later point. ' + last_response_status: + readOnly: true + title: Last response status type: integer - limit_bandwidth_unit: - description: "" - enum: - - Byte - - Kilobyte - - Megabyte - - Gigabyte - - Terabyte - - Petabyte - - Exabyte - - Zettabyte - - Yottabyte - type: string - limit_date_range_from: - description: The starting date/time the token is allowed to be used from. - type: string - limit_date_range_to: - description: The ending date/time the token is allowed to be used until. + last_response_status_str: + minLength: 1 + readOnly: true + title: Last response status str type: string - limit_num_clients: - description: The maximum number of unique clients allowed for the token. - Please note that since clients are calculated asynchronously (after the - download happens), the limit may not be imposed immediately but at a later - point. - type: integer - limit_num_downloads: - description: The maximum number of downloads allowed for the token. Please - note that since downloads are calculated asynchronously (after the download - happens), the limit may not be imposed immediately but at a later point. + num_sent: + readOnly: true + title: Num sent type: integer - limit_package_query: - description: The package-based search query to apply to restrict downloads - to. This uses the same syntax as the standard search used for repositories, - and also supports boolean logic operators such as OR/AND/NOT and parentheses - for grouping. This will still allow access to non-package files, such - as metadata. - type: string - limit_path_query: - description: The path-based search query to apply to restrict downloads - to. This supports boolean logic operators such as OR/AND/NOT and parentheses - for grouping. The path evaluated does not include the domain name, the - namespace, the entitlement code used, the package format, etc. and it - always starts with a forward slash. - type: string - metadata: - description: "" - properties: {} - type: object - name: - description: "" + package_query: + description: "The package-based search query for webhooks to fire. This\ + \ uses the same syntax as the standard search used for repositories, and\ + \ also supports boolean logic operators such as OR/AND/NOT and parentheses\ + \ for grouping. If a package does not match, the webhook will not fire." + maxLength: 1024 + nullable: true + title: Package query type: string - refresh_url: - description: "" + request_body_format: + description: The format of the payloads for webhook requests. + title: Payload Format + type: integer + request_body_format_str: + minLength: 1 + readOnly: true + title: Request body format str type: string - reset_url: - description: "" + request_body_template_format: + description: The format of the payloads for webhook requests. + title: Payload Template Format + type: integer + request_body_template_format_str: + minLength: 1 + readOnly: true + title: Request body template format str type: string - scheduled_reset_at: - description: The time at which the scheduled reset period has elapsed and - the token limits were automatically reset to zero. + request_content_type: + description: 'The value that will be sent for the ''Content Type'' header. ' + maxLength: 128 + nullable: true + title: Content Type Header Value type: string - scheduled_reset_period: - description: "" - enum: - - Never Reset - - Daily - - Weekly - - Fortnightly - - Monthly - - Bi-Monthly - - Quarterly - - Every 6 months - - Annual + secret_header: + description: The header to send the predefined secret in. This must be unique + from existing headers or it won't be sent. You can use this as a form + of authentication on the endpoint side. + maxLength: 64 + nullable: true + pattern: "^[-\\w]+$" + title: Secret Header type: string self_url: - description: "" + format: uri + readOnly: true + title: Self url type: string slug_perm: - description: "" + format: slug + minLength: 1 + pattern: "^[-a-zA-Z0-9_]+$" + readOnly: true + title: Slug perm type: string - token: - description: "" + target_url: + description: The destination URL that webhook payloads will be POST'ed to. + format: uri + maxLength: 255 + minLength: 1 + title: Payload URL type: string + templates: + items: + $ref: '#/components/schemas/WebhookTemplate' + nullable: true + type: array updated_at: - description: The datetime the token was updated at. + format: date-time + readOnly: true + title: Updated at type: string updated_by: - description: "" + minLength: 1 + readOnly: true + title: Updated by type: string updated_by_url: - description: "" + format: uri + readOnly: true + title: Updated by url type: string - usage: - description: "" + verify_ssl: + description: "If enabled, SSL certificates is verified when webhooks are\ + \ sent. It's recommended to leave this enabled as not verifying the integrity\ + \ of SSL certificates leaves you susceptible to Man-in-the-Middle (MITM)\ + \ attacks." + title: Verify SSL Certificates + type: boolean + required: + - events + - target_url + - templates + type: object + RepositoryWebhookRequest: + example: + package_query: package_query + request_content_type: request_content_type + is_active: true + verify_ssl: true + signature_key: signature_key + target_url: https://openapi-generator.tech + templates: + - template: template + event: event + - template: template + event: event + secret_header: secret_header + secret_value: secret_value + request_body_format: 0 + request_body_template_format: 6 + events: + - '*' + - '*' + properties: + events: + items: + enum: + - '*' + - package.created + - package.deleted + - package.downloaded + - package.failed + - package.security_scanned + - package.synced + - package.syncing + - package.tags_updated + type: string + nullable: true + type: array + is_active: + description: "If enabled, the webhook will trigger on subscribed events\ + \ and send payloads to the configured target URL." + title: Webhook Active + type: boolean + package_query: + description: "The package-based search query for webhooks to fire. This\ + \ uses the same syntax as the standard search used for repositories, and\ + \ also supports boolean logic operators such as OR/AND/NOT and parentheses\ + \ for grouping. If a package does not match, the webhook will not fire." + maxLength: 1024 + nullable: true + title: Package query type: string - user: - description: "" + request_body_format: + description: The format of the payloads for webhook requests. + title: Payload Format + type: integer + request_body_template_format: + description: The format of the payloads for webhook requests. + title: Payload Template Format + type: integer + request_content_type: + description: 'The value that will be sent for the ''Content Type'' header. ' + maxLength: 128 + nullable: true + title: Content Type Header Value type: string - user_url: - description: "" + secret_header: + description: The header to send the predefined secret in. This must be unique + from existing headers or it won't be sent. You can use this as a form + of authentication on the endpoint side. + maxLength: 64 + nullable: true + pattern: "^[-\\w]+$" + title: Secret Header type: string - title: RepositoryTokenRefresh - type: object - PackagesValidate_uploadDocker: - properties: - package_file: - description: The primary file for the package. - example: y123456789 + secret_value: + description: "The value for the predefined secret (note: this is treated\ + \ as a passphrase and is encrypted when we store it). You can use this\ + \ as a form of authentication on the endpoint side." + maxLength: 512 + nullable: true + pattern: "^[^\\n\\r]+$" + title: Secret Value type: string - republish: - description: If true, the uploaded package will overwrite any others with - the same attributes (e.g. same version); otherwise, it will be flagged - as a duplicate. - type: boolean - tags: - description: A comma-separated values list of tags to add to the package. + signature_key: + description: "The value for the signature key - This is used to generate\ + \ an HMAC-based hex digest of the request body, which we send as the X-Cloudsmith-Signature\ + \ header so that you can ensure that the request wasn't modified by a\ + \ malicious party (note: this is treated as a passphrase and is encrypted\ + \ when we store it)." + maxLength: 512 + minLength: 1 + title: HMAC Signature Key + type: string + target_url: + description: The destination URL that webhook payloads will be POST'ed to. + format: uri + maxLength: 255 + minLength: 1 + title: Payload URL type: string + templates: + items: + $ref: '#/components/schemas/WebhookTemplate' + nullable: true + type: array + verify_ssl: + description: "If enabled, SSL certificates is verified when webhooks are\ + \ sent. It's recommended to leave this enabled as not verifying the integrity\ + \ of SSL certificates leaves you susceptible to Man-in-the-Middle (MITM)\ + \ attacks." + title: Verify SSL Certificates + type: boolean required: - - package_file - title: PackagesValidate-uploadDocker + - events + - target_url + - templates type: object - PackagesUploadDart: + RepositoryWebhookRequestPatch: example: - republish: true - package_file: x123456789a - tags: tags + package_query: package_query + request_content_type: request_content_type + is_active: true + verify_ssl: true + signature_key: signature_key + target_url: https://openapi-generator.tech + templates: + - template: template + event: event + - template: template + event: event + secret_header: secret_header + secret_value: secret_value + request_body_format: 0 + request_body_template_format: 6 + events: + - '*' + - '*' properties: - package_file: - description: The primary file for the package. - example: x123456789a - type: string - republish: - description: If true, the uploaded package will overwrite any others with - the same attributes (e.g. same version); otherwise, it will be flagged - as a duplicate. + events: + items: + enum: + - '*' + - package.created + - package.deleted + - package.downloaded + - package.failed + - package.security_scanned + - package.synced + - package.syncing + - package.tags_updated + type: string + nullable: true + type: array + is_active: + description: "If enabled, the webhook will trigger on subscribed events\ + \ and send payloads to the configured target URL." + title: Webhook Active type: boolean - tags: - description: A comma-separated values list of tags to add to the package. + package_query: + description: "The package-based search query for webhooks to fire. This\ + \ uses the same syntax as the standard search used for repositories, and\ + \ also supports boolean logic operators such as OR/AND/NOT and parentheses\ + \ for grouping. If a package does not match, the webhook will not fire." + maxLength: 1024 + nullable: true + title: Package query type: string - required: - - package_file - title: PackagesUploadDart + request_body_format: + description: The format of the payloads for webhook requests. + title: Payload Format + type: integer + request_body_template_format: + description: The format of the payloads for webhook requests. + title: Payload Template Format + type: integer + request_content_type: + description: 'The value that will be sent for the ''Content Type'' header. ' + maxLength: 128 + nullable: true + title: Content Type Header Value + type: string + secret_header: + description: The header to send the predefined secret in. This must be unique + from existing headers or it won't be sent. You can use this as a form + of authentication on the endpoint side. + maxLength: 64 + nullable: true + pattern: "^[-\\w]+$" + title: Secret Header + type: string + secret_value: + description: "The value for the predefined secret (note: this is treated\ + \ as a passphrase and is encrypted when we store it). You can use this\ + \ as a form of authentication on the endpoint side." + maxLength: 512 + nullable: true + pattern: "^[^\\n\\r]+$" + title: Secret Value + type: string + signature_key: + description: "The value for the signature key - This is used to generate\ + \ an HMAC-based hex digest of the request body, which we send as the X-Cloudsmith-Signature\ + \ header so that you can ensure that the request wasn't modified by a\ + \ malicious party (note: this is treated as a passphrase and is encrypted\ + \ when we store it)." + maxLength: 512 + minLength: 1 + title: HMAC Signature Key + type: string + target_url: + description: The destination URL that webhook payloads will be POST'ed to. + format: uri + maxLength: 255 + minLength: 1 + title: Payload URL + type: string + templates: + items: + $ref: '#/components/schemas/WebhookTemplate' + nullable: true + type: array + verify_ssl: + description: "If enabled, SSL certificates is verified when webhooks are\ + \ sent. It's recommended to leave this enabled as not verifying the integrity\ + \ of SSL certificates leaves you susceptible to Man-in-the-Middle (MITM)\ + \ attacks." + title: Verify SSL Certificates + type: boolean type: object securitySchemes: apikey: @@ -24610,8 +27123,4 @@ components: basic: scheme: basic type: http -x-readme: - explorer-enabled: true - proxy-enabled: false - samples-enabled: true x-original-swagger-version: "2.0" diff --git a/api_audit_log.go b/api_audit_log.go index bb26d18b..1d6447c5 100644 --- a/api_audit_log.go +++ b/api_audit_log.go @@ -1,9 +1,9 @@ /* -Cloudsmith API +Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.121.3 +API version: 1.181.6 Contact: support@cloudsmith.io */ @@ -20,15 +20,10 @@ import ( "strings" ) -// Linger please -var ( - _ context.Context -) - // AuditLogApiService AuditLogApi service type AuditLogApiService service -type ApiAuditLogListRequest struct { +type ApiAuditLogNamespaceListRequest struct { ctx context.Context ApiService *AuditLogApiService owner string @@ -38,38 +33,38 @@ type ApiAuditLogListRequest struct { } // A page number within the paginated result set. -func (r ApiAuditLogListRequest) Page(page int64) ApiAuditLogListRequest { +func (r ApiAuditLogNamespaceListRequest) Page(page int64) ApiAuditLogNamespaceListRequest { r.page = &page return r } // Number of results to return per page. -func (r ApiAuditLogListRequest) PageSize(pageSize int64) ApiAuditLogListRequest { +func (r ApiAuditLogNamespaceListRequest) PageSize(pageSize int64) ApiAuditLogNamespaceListRequest { r.pageSize = &pageSize return r } // A search term for querying events, actors, or timestamps of log records. -func (r ApiAuditLogListRequest) Query(query string) ApiAuditLogListRequest { +func (r ApiAuditLogNamespaceListRequest) Query(query string) ApiAuditLogNamespaceListRequest { r.query = &query return r } -func (r ApiAuditLogListRequest) Execute() ([]NamespaceAuditLog, *http.Response, error) { - return r.ApiService.AuditLogListExecute(r) +func (r ApiAuditLogNamespaceListRequest) Execute() ([]NamespaceAuditLogResponse, *http.Response, error) { + return r.ApiService.AuditLogNamespaceListExecute(r) } /* -AuditLogList Lists audit log entries for a specific namespace. +AuditLogNamespaceList Lists audit log entries for a specific namespace. Lists audit log entries for a specific namespace. @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param owner - @return ApiAuditLogListRequest + @return ApiAuditLogNamespaceListRequest */ -func (a *AuditLogApiService) AuditLogList(ctx context.Context, owner string) ApiAuditLogListRequest { - return ApiAuditLogListRequest{ +func (a *AuditLogApiService) AuditLogNamespaceList(ctx context.Context, owner string) ApiAuditLogNamespaceListRequest { + return ApiAuditLogNamespaceListRequest{ ApiService: a, ctx: ctx, owner: owner, @@ -77,16 +72,16 @@ func (a *AuditLogApiService) AuditLogList(ctx context.Context, owner string) Api } // Execute executes the request -// @return []NamespaceAuditLog -func (a *AuditLogApiService) AuditLogListExecute(r ApiAuditLogListRequest) ([]NamespaceAuditLog, *http.Response, error) { +// @return []NamespaceAuditLogResponse +func (a *AuditLogApiService) AuditLogNamespaceListExecute(r ApiAuditLogNamespaceListRequest) ([]NamespaceAuditLogResponse, *http.Response, error) { var ( localVarHTTPMethod = http.MethodGet localVarPostBody interface{} formFiles []formFile - localVarReturnValue []NamespaceAuditLog + localVarReturnValue []NamespaceAuditLogResponse ) - localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "AuditLogApiService.AuditLogList") + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "AuditLogApiService.AuditLogNamespaceList") if err != nil { return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} } @@ -117,7 +112,7 @@ func (a *AuditLogApiService) AuditLogListExecute(r ApiAuditLogListRequest) ([]Na } // to determine the Accept header - localVarHTTPHeaderAccepts := []string{"*/*"} + localVarHTTPHeaderAccepts := []string{"application/json"} // set Accept header localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts) @@ -160,23 +155,36 @@ func (a *AuditLogApiService) AuditLogListExecute(r ApiAuditLogListRequest) ([]Na body: localVarBody, error: localVarHTTPResponse.Status, } + if localVarHTTPResponse.StatusCode == 402 { + var v ErrorDetail + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v + return localVarReturnValue, localVarHTTPResponse, newErr + } if localVarHTTPResponse.StatusCode == 400 { - var v Status + var v ErrorDetail err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { newErr.error = err.Error() return localVarReturnValue, localVarHTTPResponse, newErr } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } if localVarHTTPResponse.StatusCode == 422 { - var v Status + var v ErrorDetail err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { newErr.error = err.Error() return localVarReturnValue, localVarHTTPResponse, newErr } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) newErr.model = v } return localVarReturnValue, localVarHTTPResponse, newErr @@ -194,7 +202,7 @@ func (a *AuditLogApiService) AuditLogListExecute(r ApiAuditLogListRequest) ([]Na return localVarReturnValue, localVarHTTPResponse, nil } -type ApiAuditLogList0Request struct { +type ApiAuditLogRepoListRequest struct { ctx context.Context ApiService *AuditLogApiService owner string @@ -205,39 +213,39 @@ type ApiAuditLogList0Request struct { } // A page number within the paginated result set. -func (r ApiAuditLogList0Request) Page(page int64) ApiAuditLogList0Request { +func (r ApiAuditLogRepoListRequest) Page(page int64) ApiAuditLogRepoListRequest { r.page = &page return r } // Number of results to return per page. -func (r ApiAuditLogList0Request) PageSize(pageSize int64) ApiAuditLogList0Request { +func (r ApiAuditLogRepoListRequest) PageSize(pageSize int64) ApiAuditLogRepoListRequest { r.pageSize = &pageSize return r } // A search term for querying events, actors, or timestamps of log records. -func (r ApiAuditLogList0Request) Query(query string) ApiAuditLogList0Request { +func (r ApiAuditLogRepoListRequest) Query(query string) ApiAuditLogRepoListRequest { r.query = &query return r } -func (r ApiAuditLogList0Request) Execute() ([]RepositoryAuditLog, *http.Response, error) { - return r.ApiService.AuditLogList0Execute(r) +func (r ApiAuditLogRepoListRequest) Execute() ([]RepositoryAuditLogResponse, *http.Response, error) { + return r.ApiService.AuditLogRepoListExecute(r) } /* -AuditLogList0 Lists audit log entries for a specific repository. +AuditLogRepoList Lists audit log entries for a specific repository. Lists audit log entries for a specific repository. @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param owner @param repo - @return ApiAuditLogList0Request + @return ApiAuditLogRepoListRequest */ -func (a *AuditLogApiService) AuditLogList0(ctx context.Context, owner string, repo string) ApiAuditLogList0Request { - return ApiAuditLogList0Request{ +func (a *AuditLogApiService) AuditLogRepoList(ctx context.Context, owner string, repo string) ApiAuditLogRepoListRequest { + return ApiAuditLogRepoListRequest{ ApiService: a, ctx: ctx, owner: owner, @@ -246,16 +254,16 @@ func (a *AuditLogApiService) AuditLogList0(ctx context.Context, owner string, re } // Execute executes the request -// @return []RepositoryAuditLog -func (a *AuditLogApiService) AuditLogList0Execute(r ApiAuditLogList0Request) ([]RepositoryAuditLog, *http.Response, error) { +// @return []RepositoryAuditLogResponse +func (a *AuditLogApiService) AuditLogRepoListExecute(r ApiAuditLogRepoListRequest) ([]RepositoryAuditLogResponse, *http.Response, error) { var ( localVarHTTPMethod = http.MethodGet localVarPostBody interface{} formFiles []formFile - localVarReturnValue []RepositoryAuditLog + localVarReturnValue []RepositoryAuditLogResponse ) - localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "AuditLogApiService.AuditLogList0") + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "AuditLogApiService.AuditLogRepoList") if err != nil { return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} } @@ -287,7 +295,7 @@ func (a *AuditLogApiService) AuditLogList0Execute(r ApiAuditLogList0Request) ([] } // to determine the Accept header - localVarHTTPHeaderAccepts := []string{"*/*"} + localVarHTTPHeaderAccepts := []string{"application/json"} // set Accept header localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts) @@ -330,23 +338,36 @@ func (a *AuditLogApiService) AuditLogList0Execute(r ApiAuditLogList0Request) ([] body: localVarBody, error: localVarHTTPResponse.Status, } + if localVarHTTPResponse.StatusCode == 402 { + var v ErrorDetail + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v + return localVarReturnValue, localVarHTTPResponse, newErr + } if localVarHTTPResponse.StatusCode == 400 { - var v Status + var v ErrorDetail err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { newErr.error = err.Error() return localVarReturnValue, localVarHTTPResponse, newErr } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } if localVarHTTPResponse.StatusCode == 422 { - var v Status + var v ErrorDetail err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { newErr.error = err.Error() return localVarReturnValue, localVarHTTPResponse, newErr } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) newErr.model = v } return localVarReturnValue, localVarHTTPResponse, newErr diff --git a/api_badges.go b/api_badges.go index bafbb022..e76716bb 100644 --- a/api_badges.go +++ b/api_badges.go @@ -1,9 +1,9 @@ /* -Cloudsmith API +Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.121.3 +API version: 1.181.6 Contact: support@cloudsmith.io */ @@ -20,11 +20,6 @@ import ( "strings" ) -// Linger please -var ( - _ context.Context -) - // BadgesApiService BadgesApi service type BadgesApiService service @@ -217,7 +212,7 @@ func (a *BadgesApiService) BadgesVersionListExecute(r ApiBadgesVersionListReques } // to determine the Accept header - localVarHTTPHeaderAccepts := []string{"*/*"} + localVarHTTPHeaderAccepts := []string{"application/json"} // set Accept header localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts) @@ -261,22 +256,24 @@ func (a *BadgesApiService) BadgesVersionListExecute(r ApiBadgesVersionListReques error: localVarHTTPResponse.Status, } if localVarHTTPResponse.StatusCode == 400 { - var v Status + var v ErrorDetail err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { newErr.error = err.Error() return localVarReturnValue, localVarHTTPResponse, newErr } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } if localVarHTTPResponse.StatusCode == 422 { - var v Status + var v ErrorDetail err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { newErr.error = err.Error() return localVarReturnValue, localVarHTTPResponse, newErr } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) newErr.model = v } return localVarReturnValue, localVarHTTPResponse, newErr diff --git a/api_distros.go b/api_distros.go index 3fd12548..cf8eeac8 100644 --- a/api_distros.go +++ b/api_distros.go @@ -1,9 +1,9 @@ /* -Cloudsmith API +Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.121.3 +API version: 1.181.6 Contact: support@cloudsmith.io */ @@ -20,11 +20,6 @@ import ( "strings" ) -// Linger please -var ( - _ context.Context -) - // DistrosApiService DistrosApi service type DistrosApiService service @@ -33,7 +28,7 @@ type ApiDistrosListRequest struct { ApiService *DistrosApiService } -func (r ApiDistrosListRequest) Execute() ([]Distribution, *http.Response, error) { +func (r ApiDistrosListRequest) Execute() ([]DistributionResponse, *http.Response, error) { return r.ApiService.DistrosListExecute(r) } @@ -53,13 +48,13 @@ func (a *DistrosApiService) DistrosList(ctx context.Context) ApiDistrosListReque } // Execute executes the request -// @return []Distribution -func (a *DistrosApiService) DistrosListExecute(r ApiDistrosListRequest) ([]Distribution, *http.Response, error) { +// @return []DistributionResponse +func (a *DistrosApiService) DistrosListExecute(r ApiDistrosListRequest) ([]DistributionResponse, *http.Response, error) { var ( localVarHTTPMethod = http.MethodGet localVarPostBody interface{} formFiles []formFile - localVarReturnValue []Distribution + localVarReturnValue []DistributionResponse ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DistrosApiService.DistrosList") @@ -83,7 +78,7 @@ func (a *DistrosApiService) DistrosListExecute(r ApiDistrosListRequest) ([]Distr } // to determine the Accept header - localVarHTTPHeaderAccepts := []string{"*/*"} + localVarHTTPHeaderAccepts := []string{"application/json"} // set Accept header localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts) @@ -127,22 +122,24 @@ func (a *DistrosApiService) DistrosListExecute(r ApiDistrosListRequest) ([]Distr error: localVarHTTPResponse.Status, } if localVarHTTPResponse.StatusCode == 400 { - var v Status + var v ErrorDetail err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { newErr.error = err.Error() return localVarReturnValue, localVarHTTPResponse, newErr } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } if localVarHTTPResponse.StatusCode == 422 { - var v Status + var v ErrorDetail err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { newErr.error = err.Error() return localVarReturnValue, localVarHTTPResponse, newErr } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) newErr.model = v } return localVarReturnValue, localVarHTTPResponse, newErr @@ -166,7 +163,7 @@ type ApiDistrosReadRequest struct { slug string } -func (r ApiDistrosReadRequest) Execute() (*Distribution, *http.Response, error) { +func (r ApiDistrosReadRequest) Execute() (*DistributionResponse, *http.Response, error) { return r.ApiService.DistrosReadExecute(r) } @@ -188,13 +185,13 @@ func (a *DistrosApiService) DistrosRead(ctx context.Context, slug string) ApiDis } // Execute executes the request -// @return Distribution -func (a *DistrosApiService) DistrosReadExecute(r ApiDistrosReadRequest) (*Distribution, *http.Response, error) { +// @return DistributionResponse +func (a *DistrosApiService) DistrosReadExecute(r ApiDistrosReadRequest) (*DistributionResponse, *http.Response, error) { var ( localVarHTTPMethod = http.MethodGet localVarPostBody interface{} formFiles []formFile - localVarReturnValue *Distribution + localVarReturnValue *DistributionResponse ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DistrosApiService.DistrosRead") @@ -219,7 +216,7 @@ func (a *DistrosApiService) DistrosReadExecute(r ApiDistrosReadRequest) (*Distri } // to determine the Accept header - localVarHTTPHeaderAccepts := []string{"*/*"} + localVarHTTPHeaderAccepts := []string{"application/json"} // set Accept header localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts) @@ -263,22 +260,24 @@ func (a *DistrosApiService) DistrosReadExecute(r ApiDistrosReadRequest) (*Distri error: localVarHTTPResponse.Status, } if localVarHTTPResponse.StatusCode == 400 { - var v Status + var v ErrorDetail err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { newErr.error = err.Error() return localVarReturnValue, localVarHTTPResponse, newErr } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } if localVarHTTPResponse.StatusCode == 422 { - var v Status + var v ErrorDetail err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { newErr.error = err.Error() return localVarReturnValue, localVarHTTPResponse, newErr } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) newErr.model = v } return localVarReturnValue, localVarHTTPResponse, newErr diff --git a/api_entitlements.go b/api_entitlements.go index 705f92bc..214e72ee 100644 --- a/api_entitlements.go +++ b/api_entitlements.go @@ -1,9 +1,9 @@ /* -Cloudsmith API +Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.121.3 +API version: 1.181.6 Contact: support@cloudsmith.io */ @@ -20,11 +20,6 @@ import ( "strings" ) -// Linger please -var ( - _ context.Context -) - // EntitlementsApiService EntitlementsApi service type EntitlementsApiService service @@ -34,7 +29,7 @@ type ApiEntitlementsCreateRequest struct { owner string repo string showTokens *bool - data *EntitlementsCreate + data *RepositoryTokenRequest } // Show entitlement token strings in results @@ -42,12 +37,13 @@ func (r ApiEntitlementsCreateRequest) ShowTokens(showTokens bool) ApiEntitlement r.showTokens = &showTokens return r } -func (r ApiEntitlementsCreateRequest) Data(data EntitlementsCreate) ApiEntitlementsCreateRequest { + +func (r ApiEntitlementsCreateRequest) Data(data RepositoryTokenRequest) ApiEntitlementsCreateRequest { r.data = &data return r } -func (r ApiEntitlementsCreateRequest) Execute() (*RepositoryToken, *http.Response, error) { +func (r ApiEntitlementsCreateRequest) Execute() (*RepositoryTokenResponse, *http.Response, error) { return r.ApiService.EntitlementsCreateExecute(r) } @@ -71,13 +67,13 @@ func (a *EntitlementsApiService) EntitlementsCreate(ctx context.Context, owner s } // Execute executes the request -// @return RepositoryToken -func (a *EntitlementsApiService) EntitlementsCreateExecute(r ApiEntitlementsCreateRequest) (*RepositoryToken, *http.Response, error) { +// @return RepositoryTokenResponse +func (a *EntitlementsApiService) EntitlementsCreateExecute(r ApiEntitlementsCreateRequest) (*RepositoryTokenResponse, *http.Response, error) { var ( localVarHTTPMethod = http.MethodPost localVarPostBody interface{} formFiles []formFile - localVarReturnValue *RepositoryToken + localVarReturnValue *RepositoryTokenResponse ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "EntitlementsApiService.EntitlementsCreate") @@ -106,7 +102,7 @@ func (a *EntitlementsApiService) EntitlementsCreateExecute(r ApiEntitlementsCrea } // to determine the Accept header - localVarHTTPHeaderAccepts := []string{"*/*"} + localVarHTTPHeaderAccepts := []string{"application/json"} // set Accept header localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts) @@ -151,33 +147,36 @@ func (a *EntitlementsApiService) EntitlementsCreateExecute(r ApiEntitlementsCrea body: localVarBody, error: localVarHTTPResponse.Status, } - if localVarHTTPResponse.StatusCode == 400 { - var v Status + if localVarHTTPResponse.StatusCode == 404 { + var v ErrorDetail err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { newErr.error = err.Error() return localVarReturnValue, localVarHTTPResponse, newErr } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } - if localVarHTTPResponse.StatusCode == 404 { - var v Status + if localVarHTTPResponse.StatusCode == 400 { + var v ErrorDetail err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { newErr.error = err.Error() return localVarReturnValue, localVarHTTPResponse, newErr } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } if localVarHTTPResponse.StatusCode == 422 { - var v Status + var v ErrorDetail err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { newErr.error = err.Error() return localVarReturnValue, localVarHTTPResponse, newErr } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) newErr.model = v } return localVarReturnValue, localVarHTTPResponse, newErr @@ -260,7 +259,7 @@ func (a *EntitlementsApiService) EntitlementsDeleteExecute(r ApiEntitlementsDele } // to determine the Accept header - localVarHTTPHeaderAccepts := []string{"*/*"} + localVarHTTPHeaderAccepts := []string{"application/json"} // set Accept header localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts) @@ -304,22 +303,24 @@ func (a *EntitlementsApiService) EntitlementsDeleteExecute(r ApiEntitlementsDele error: localVarHTTPResponse.Status, } if localVarHTTPResponse.StatusCode == 400 { - var v Status + var v ErrorDetail err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { newErr.error = err.Error() return localVarHTTPResponse, newErr } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) newErr.model = v return localVarHTTPResponse, newErr } if localVarHTTPResponse.StatusCode == 422 { - var v Status + var v ErrorDetail err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { newErr.error = err.Error() return localVarHTTPResponse, newErr } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) newErr.model = v } return localVarHTTPResponse, newErr @@ -393,7 +394,7 @@ func (a *EntitlementsApiService) EntitlementsDisableExecute(r ApiEntitlementsDis } // to determine the Accept header - localVarHTTPHeaderAccepts := []string{"*/*"} + localVarHTTPHeaderAccepts := []string{"application/json"} // set Accept header localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts) @@ -437,22 +438,24 @@ func (a *EntitlementsApiService) EntitlementsDisableExecute(r ApiEntitlementsDis error: localVarHTTPResponse.Status, } if localVarHTTPResponse.StatusCode == 400 { - var v Status + var v ErrorDetail err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { newErr.error = err.Error() return localVarHTTPResponse, newErr } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) newErr.model = v return localVarHTTPResponse, newErr } if localVarHTTPResponse.StatusCode == 422 { - var v Status + var v ErrorDetail err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { newErr.error = err.Error() return localVarHTTPResponse, newErr } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) newErr.model = v } return localVarHTTPResponse, newErr @@ -526,7 +529,7 @@ func (a *EntitlementsApiService) EntitlementsEnableExecute(r ApiEntitlementsEnab } // to determine the Accept header - localVarHTTPHeaderAccepts := []string{"*/*"} + localVarHTTPHeaderAccepts := []string{"application/json"} // set Accept header localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts) @@ -570,22 +573,24 @@ func (a *EntitlementsApiService) EntitlementsEnableExecute(r ApiEntitlementsEnab error: localVarHTTPResponse.Status, } if localVarHTTPResponse.StatusCode == 400 { - var v Status + var v ErrorDetail err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { newErr.error = err.Error() return localVarHTTPResponse, newErr } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) newErr.model = v return localVarHTTPResponse, newErr } if localVarHTTPResponse.StatusCode == 422 { - var v Status + var v ErrorDetail err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { newErr.error = err.Error() return localVarHTTPResponse, newErr } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) newErr.model = v } return localVarHTTPResponse, newErr @@ -602,6 +607,8 @@ type ApiEntitlementsListRequest struct { page *int64 pageSize *int64 showTokens *bool + query *string + active *bool } // A page number within the paginated result set. @@ -622,7 +629,19 @@ func (r ApiEntitlementsListRequest) ShowTokens(showTokens bool) ApiEntitlementsL return r } -func (r ApiEntitlementsListRequest) Execute() ([]RepositoryToken, *http.Response, error) { +// A search term for querying names of entitlements. +func (r ApiEntitlementsListRequest) Query(query string) ApiEntitlementsListRequest { + r.query = &query + return r +} + +// If true, only include active tokens +func (r ApiEntitlementsListRequest) Active(active bool) ApiEntitlementsListRequest { + r.active = &active + return r +} + +func (r ApiEntitlementsListRequest) Execute() ([]RepositoryTokenResponse, *http.Response, error) { return r.ApiService.EntitlementsListExecute(r) } @@ -646,13 +665,13 @@ func (a *EntitlementsApiService) EntitlementsList(ctx context.Context, owner str } // Execute executes the request -// @return []RepositoryToken -func (a *EntitlementsApiService) EntitlementsListExecute(r ApiEntitlementsListRequest) ([]RepositoryToken, *http.Response, error) { +// @return []RepositoryTokenResponse +func (a *EntitlementsApiService) EntitlementsListExecute(r ApiEntitlementsListRequest) ([]RepositoryTokenResponse, *http.Response, error) { var ( localVarHTTPMethod = http.MethodGet localVarPostBody interface{} formFiles []formFile - localVarReturnValue []RepositoryToken + localVarReturnValue []RepositoryTokenResponse ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "EntitlementsApiService.EntitlementsList") @@ -677,6 +696,12 @@ func (a *EntitlementsApiService) EntitlementsListExecute(r ApiEntitlementsListRe if r.showTokens != nil { localVarQueryParams.Add("show_tokens", parameterToString(*r.showTokens, "")) } + if r.query != nil { + localVarQueryParams.Add("query", parameterToString(*r.query, "")) + } + if r.active != nil { + localVarQueryParams.Add("active", parameterToString(*r.active, "")) + } // to determine the Content-Type header localVarHTTPContentTypes := []string{} @@ -687,7 +712,7 @@ func (a *EntitlementsApiService) EntitlementsListExecute(r ApiEntitlementsListRe } // to determine the Accept header - localVarHTTPHeaderAccepts := []string{"*/*"} + localVarHTTPHeaderAccepts := []string{"application/json"} // set Accept header localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts) @@ -730,33 +755,36 @@ func (a *EntitlementsApiService) EntitlementsListExecute(r ApiEntitlementsListRe body: localVarBody, error: localVarHTTPResponse.Status, } - if localVarHTTPResponse.StatusCode == 400 { - var v Status + if localVarHTTPResponse.StatusCode == 404 { + var v ErrorDetail err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { newErr.error = err.Error() return localVarReturnValue, localVarHTTPResponse, newErr } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } - if localVarHTTPResponse.StatusCode == 404 { - var v Status + if localVarHTTPResponse.StatusCode == 400 { + var v ErrorDetail err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { newErr.error = err.Error() return localVarReturnValue, localVarHTTPResponse, newErr } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } if localVarHTTPResponse.StatusCode == 422 { - var v Status + var v ErrorDetail err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { newErr.error = err.Error() return localVarReturnValue, localVarHTTPResponse, newErr } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) newErr.model = v } return localVarReturnValue, localVarHTTPResponse, newErr @@ -781,7 +809,7 @@ type ApiEntitlementsPartialUpdateRequest struct { repo string identifier string showTokens *bool - data *EntitlementsPartialUpdate + data *RepositoryTokenRequestPatch } // Show entitlement token strings in results @@ -789,12 +817,13 @@ func (r ApiEntitlementsPartialUpdateRequest) ShowTokens(showTokens bool) ApiEnti r.showTokens = &showTokens return r } -func (r ApiEntitlementsPartialUpdateRequest) Data(data EntitlementsPartialUpdate) ApiEntitlementsPartialUpdateRequest { + +func (r ApiEntitlementsPartialUpdateRequest) Data(data RepositoryTokenRequestPatch) ApiEntitlementsPartialUpdateRequest { r.data = &data return r } -func (r ApiEntitlementsPartialUpdateRequest) Execute() (*RepositoryToken, *http.Response, error) { +func (r ApiEntitlementsPartialUpdateRequest) Execute() (*RepositoryTokenResponse, *http.Response, error) { return r.ApiService.EntitlementsPartialUpdateExecute(r) } @@ -820,13 +849,13 @@ func (a *EntitlementsApiService) EntitlementsPartialUpdate(ctx context.Context, } // Execute executes the request -// @return RepositoryToken -func (a *EntitlementsApiService) EntitlementsPartialUpdateExecute(r ApiEntitlementsPartialUpdateRequest) (*RepositoryToken, *http.Response, error) { +// @return RepositoryTokenResponse +func (a *EntitlementsApiService) EntitlementsPartialUpdateExecute(r ApiEntitlementsPartialUpdateRequest) (*RepositoryTokenResponse, *http.Response, error) { var ( localVarHTTPMethod = http.MethodPatch localVarPostBody interface{} formFiles []formFile - localVarReturnValue *RepositoryToken + localVarReturnValue *RepositoryTokenResponse ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "EntitlementsApiService.EntitlementsPartialUpdate") @@ -856,7 +885,7 @@ func (a *EntitlementsApiService) EntitlementsPartialUpdateExecute(r ApiEntitleme } // to determine the Accept header - localVarHTTPHeaderAccepts := []string{"*/*"} + localVarHTTPHeaderAccepts := []string{"application/json"} // set Accept header localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts) @@ -902,32 +931,35 @@ func (a *EntitlementsApiService) EntitlementsPartialUpdateExecute(r ApiEntitleme error: localVarHTTPResponse.Status, } if localVarHTTPResponse.StatusCode == 400 { - var v Status + var v ErrorDetail err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { newErr.error = err.Error() return localVarReturnValue, localVarHTTPResponse, newErr } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } if localVarHTTPResponse.StatusCode == 404 { - var v Status + var v ErrorDetail err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { newErr.error = err.Error() return localVarReturnValue, localVarHTTPResponse, newErr } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } if localVarHTTPResponse.StatusCode == 422 { - var v Status + var v ErrorDetail err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { newErr.error = err.Error() return localVarReturnValue, localVarHTTPResponse, newErr } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) newErr.model = v } return localVarReturnValue, localVarHTTPResponse, newErr @@ -951,16 +983,23 @@ type ApiEntitlementsReadRequest struct { owner string repo string identifier string + fuzzy *bool showTokens *bool } +// If true, entitlement identifiers including name will be fuzzy matched. +func (r ApiEntitlementsReadRequest) Fuzzy(fuzzy bool) ApiEntitlementsReadRequest { + r.fuzzy = &fuzzy + return r +} + // Show entitlement token strings in results func (r ApiEntitlementsReadRequest) ShowTokens(showTokens bool) ApiEntitlementsReadRequest { r.showTokens = &showTokens return r } -func (r ApiEntitlementsReadRequest) Execute() (*RepositoryToken, *http.Response, error) { +func (r ApiEntitlementsReadRequest) Execute() (*RepositoryTokenResponse, *http.Response, error) { return r.ApiService.EntitlementsReadExecute(r) } @@ -986,13 +1025,13 @@ func (a *EntitlementsApiService) EntitlementsRead(ctx context.Context, owner str } // Execute executes the request -// @return RepositoryToken -func (a *EntitlementsApiService) EntitlementsReadExecute(r ApiEntitlementsReadRequest) (*RepositoryToken, *http.Response, error) { +// @return RepositoryTokenResponse +func (a *EntitlementsApiService) EntitlementsReadExecute(r ApiEntitlementsReadRequest) (*RepositoryTokenResponse, *http.Response, error) { var ( localVarHTTPMethod = http.MethodGet localVarPostBody interface{} formFiles []formFile - localVarReturnValue *RepositoryToken + localVarReturnValue *RepositoryTokenResponse ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "EntitlementsApiService.EntitlementsRead") @@ -1009,6 +1048,9 @@ func (a *EntitlementsApiService) EntitlementsReadExecute(r ApiEntitlementsReadRe localVarQueryParams := url.Values{} localVarFormParams := url.Values{} + if r.fuzzy != nil { + localVarQueryParams.Add("fuzzy", parameterToString(*r.fuzzy, "")) + } if r.showTokens != nil { localVarQueryParams.Add("show_tokens", parameterToString(*r.showTokens, "")) } @@ -1022,7 +1064,7 @@ func (a *EntitlementsApiService) EntitlementsReadExecute(r ApiEntitlementsReadRe } // to determine the Accept header - localVarHTTPHeaderAccepts := []string{"*/*"} + localVarHTTPHeaderAccepts := []string{"application/json"} // set Accept header localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts) @@ -1066,32 +1108,35 @@ func (a *EntitlementsApiService) EntitlementsReadExecute(r ApiEntitlementsReadRe error: localVarHTTPResponse.Status, } if localVarHTTPResponse.StatusCode == 400 { - var v Status + var v ErrorDetail err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { newErr.error = err.Error() return localVarReturnValue, localVarHTTPResponse, newErr } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } if localVarHTTPResponse.StatusCode == 404 { - var v Status + var v ErrorDetail err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { newErr.error = err.Error() return localVarReturnValue, localVarHTTPResponse, newErr } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } if localVarHTTPResponse.StatusCode == 422 { - var v Status + var v ErrorDetail err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { newErr.error = err.Error() return localVarReturnValue, localVarHTTPResponse, newErr } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) newErr.model = v } return localVarReturnValue, localVarHTTPResponse, newErr @@ -1116,7 +1161,7 @@ type ApiEntitlementsRefreshRequest struct { repo string identifier string showTokens *bool - data *EntitlementsRefresh + data *RepositoryTokenRefreshRequest } // Show entitlement token strings in results @@ -1124,12 +1169,13 @@ func (r ApiEntitlementsRefreshRequest) ShowTokens(showTokens bool) ApiEntitlemen r.showTokens = &showTokens return r } -func (r ApiEntitlementsRefreshRequest) Data(data EntitlementsRefresh) ApiEntitlementsRefreshRequest { + +func (r ApiEntitlementsRefreshRequest) Data(data RepositoryTokenRefreshRequest) ApiEntitlementsRefreshRequest { r.data = &data return r } -func (r ApiEntitlementsRefreshRequest) Execute() (*RepositoryTokenRefresh, *http.Response, error) { +func (r ApiEntitlementsRefreshRequest) Execute() (*RepositoryTokenRefreshResponse, *http.Response, error) { return r.ApiService.EntitlementsRefreshExecute(r) } @@ -1155,13 +1201,13 @@ func (a *EntitlementsApiService) EntitlementsRefresh(ctx context.Context, owner } // Execute executes the request -// @return RepositoryTokenRefresh -func (a *EntitlementsApiService) EntitlementsRefreshExecute(r ApiEntitlementsRefreshRequest) (*RepositoryTokenRefresh, *http.Response, error) { +// @return RepositoryTokenRefreshResponse +func (a *EntitlementsApiService) EntitlementsRefreshExecute(r ApiEntitlementsRefreshRequest) (*RepositoryTokenRefreshResponse, *http.Response, error) { var ( localVarHTTPMethod = http.MethodPost localVarPostBody interface{} formFiles []formFile - localVarReturnValue *RepositoryTokenRefresh + localVarReturnValue *RepositoryTokenRefreshResponse ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "EntitlementsApiService.EntitlementsRefresh") @@ -1191,7 +1237,7 @@ func (a *EntitlementsApiService) EntitlementsRefreshExecute(r ApiEntitlementsRef } // to determine the Accept header - localVarHTTPHeaderAccepts := []string{"*/*"} + localVarHTTPHeaderAccepts := []string{"application/json"} // set Accept header localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts) @@ -1237,22 +1283,24 @@ func (a *EntitlementsApiService) EntitlementsRefreshExecute(r ApiEntitlementsRef error: localVarHTTPResponse.Status, } if localVarHTTPResponse.StatusCode == 400 { - var v Status + var v ErrorDetail err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { newErr.error = err.Error() return localVarReturnValue, localVarHTTPResponse, newErr } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } if localVarHTTPResponse.StatusCode == 422 { - var v Status + var v ErrorDetail err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { newErr.error = err.Error() return localVarReturnValue, localVarHTTPResponse, newErr } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) newErr.model = v } return localVarReturnValue, localVarHTTPResponse, newErr @@ -1345,7 +1393,7 @@ func (a *EntitlementsApiService) EntitlementsResetExecute(r ApiEntitlementsReset } // to determine the Accept header - localVarHTTPHeaderAccepts := []string{"*/*"} + localVarHTTPHeaderAccepts := []string{"application/json"} // set Accept header localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts) @@ -1389,22 +1437,24 @@ func (a *EntitlementsApiService) EntitlementsResetExecute(r ApiEntitlementsReset error: localVarHTTPResponse.Status, } if localVarHTTPResponse.StatusCode == 400 { - var v Status + var v ErrorDetail err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { newErr.error = err.Error() return localVarHTTPResponse, newErr } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) newErr.model = v return localVarHTTPResponse, newErr } if localVarHTTPResponse.StatusCode == 422 { - var v Status + var v ErrorDetail err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { newErr.error = err.Error() return localVarHTTPResponse, newErr } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) newErr.model = v } return localVarHTTPResponse, newErr @@ -1419,7 +1469,7 @@ type ApiEntitlementsSyncRequest struct { owner string repo string showTokens *bool - data *EntitlementsSync + data *RepositoryTokenSyncRequest } // Show entitlement token strings in results @@ -1427,12 +1477,13 @@ func (r ApiEntitlementsSyncRequest) ShowTokens(showTokens bool) ApiEntitlementsS r.showTokens = &showTokens return r } -func (r ApiEntitlementsSyncRequest) Data(data EntitlementsSync) ApiEntitlementsSyncRequest { + +func (r ApiEntitlementsSyncRequest) Data(data RepositoryTokenSyncRequest) ApiEntitlementsSyncRequest { r.data = &data return r } -func (r ApiEntitlementsSyncRequest) Execute() (*RepositoryTokenSync, *http.Response, error) { +func (r ApiEntitlementsSyncRequest) Execute() (*RepositoryTokenSyncResponse, *http.Response, error) { return r.ApiService.EntitlementsSyncExecute(r) } @@ -1456,13 +1507,13 @@ func (a *EntitlementsApiService) EntitlementsSync(ctx context.Context, owner str } // Execute executes the request -// @return RepositoryTokenSync -func (a *EntitlementsApiService) EntitlementsSyncExecute(r ApiEntitlementsSyncRequest) (*RepositoryTokenSync, *http.Response, error) { +// @return RepositoryTokenSyncResponse +func (a *EntitlementsApiService) EntitlementsSyncExecute(r ApiEntitlementsSyncRequest) (*RepositoryTokenSyncResponse, *http.Response, error) { var ( localVarHTTPMethod = http.MethodPost localVarPostBody interface{} formFiles []formFile - localVarReturnValue *RepositoryTokenSync + localVarReturnValue *RepositoryTokenSyncResponse ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "EntitlementsApiService.EntitlementsSync") @@ -1491,7 +1542,7 @@ func (a *EntitlementsApiService) EntitlementsSyncExecute(r ApiEntitlementsSyncRe } // to determine the Accept header - localVarHTTPHeaderAccepts := []string{"*/*"} + localVarHTTPHeaderAccepts := []string{"application/json"} // set Accept header localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts) @@ -1536,33 +1587,36 @@ func (a *EntitlementsApiService) EntitlementsSyncExecute(r ApiEntitlementsSyncRe body: localVarBody, error: localVarHTTPResponse.Status, } - if localVarHTTPResponse.StatusCode == 400 { - var v Status + if localVarHTTPResponse.StatusCode == 404 { + var v ErrorDetail err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { newErr.error = err.Error() return localVarReturnValue, localVarHTTPResponse, newErr } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } - if localVarHTTPResponse.StatusCode == 404 { - var v Status + if localVarHTTPResponse.StatusCode == 400 { + var v ErrorDetail err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { newErr.error = err.Error() return localVarReturnValue, localVarHTTPResponse, newErr } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } if localVarHTTPResponse.StatusCode == 422 { - var v Status + var v ErrorDetail err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { newErr.error = err.Error() return localVarReturnValue, localVarHTTPResponse, newErr } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) newErr.model = v } return localVarReturnValue, localVarHTTPResponse, newErr diff --git a/api_files.go b/api_files.go index 082ca38b..bf1ec79e 100644 --- a/api_files.go +++ b/api_files.go @@ -1,9 +1,9 @@ /* -Cloudsmith API +Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.121.3 +API version: 1.181.6 Contact: support@cloudsmith.io */ @@ -20,11 +20,6 @@ import ( "strings" ) -// Linger please -var ( - _ context.Context -) - // FilesApiService FilesApi service type FilesApiService service @@ -34,10 +29,10 @@ type ApiFilesAbortRequest struct { owner string repo string identifier string - data *FilesAbort + data *PackageFileUploadRequest } -func (r ApiFilesAbortRequest) Data(data FilesAbort) ApiFilesAbortRequest { +func (r ApiFilesAbortRequest) Data(data PackageFileUploadRequest) ApiFilesAbortRequest { r.data = &data return r } @@ -99,7 +94,7 @@ func (a *FilesApiService) FilesAbortExecute(r ApiFilesAbortRequest) (*http.Respo } // to determine the Accept header - localVarHTTPHeaderAccepts := []string{"*/*"} + localVarHTTPHeaderAccepts := []string{"application/json"} // set Accept header localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts) @@ -145,32 +140,35 @@ func (a *FilesApiService) FilesAbortExecute(r ApiFilesAbortRequest) (*http.Respo error: localVarHTTPResponse.Status, } if localVarHTTPResponse.StatusCode == 400 { - var v Status + var v ErrorDetail err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { newErr.error = err.Error() return localVarHTTPResponse, newErr } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) newErr.model = v return localVarHTTPResponse, newErr } if localVarHTTPResponse.StatusCode == 404 { - var v Status + var v ErrorDetail err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { newErr.error = err.Error() return localVarHTTPResponse, newErr } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) newErr.model = v return localVarHTTPResponse, newErr } if localVarHTTPResponse.StatusCode == 422 { - var v Status + var v ErrorDetail err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { newErr.error = err.Error() return localVarHTTPResponse, newErr } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) newErr.model = v } return localVarHTTPResponse, newErr @@ -185,15 +183,15 @@ type ApiFilesCompleteRequest struct { owner string repo string identifier string - data *FilesComplete + data *PackageFileUploadRequest } -func (r ApiFilesCompleteRequest) Data(data FilesComplete) ApiFilesCompleteRequest { +func (r ApiFilesCompleteRequest) Data(data PackageFileUploadRequest) ApiFilesCompleteRequest { r.data = &data return r } -func (r ApiFilesCompleteRequest) Execute() (*PackageFileUpload, *http.Response, error) { +func (r ApiFilesCompleteRequest) Execute() (*PackageFileUploadResponse, *http.Response, error) { return r.ApiService.FilesCompleteExecute(r) } @@ -219,13 +217,13 @@ func (a *FilesApiService) FilesComplete(ctx context.Context, owner string, repo } // Execute executes the request -// @return PackageFileUpload -func (a *FilesApiService) FilesCompleteExecute(r ApiFilesCompleteRequest) (*PackageFileUpload, *http.Response, error) { +// @return PackageFileUploadResponse +func (a *FilesApiService) FilesCompleteExecute(r ApiFilesCompleteRequest) (*PackageFileUploadResponse, *http.Response, error) { var ( localVarHTTPMethod = http.MethodPost localVarPostBody interface{} formFiles []formFile - localVarReturnValue *PackageFileUpload + localVarReturnValue *PackageFileUploadResponse ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "FilesApiService.FilesComplete") @@ -252,7 +250,7 @@ func (a *FilesApiService) FilesCompleteExecute(r ApiFilesCompleteRequest) (*Pack } // to determine the Accept header - localVarHTTPHeaderAccepts := []string{"*/*"} + localVarHTTPHeaderAccepts := []string{"application/json"} // set Accept header localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts) @@ -298,32 +296,35 @@ func (a *FilesApiService) FilesCompleteExecute(r ApiFilesCompleteRequest) (*Pack error: localVarHTTPResponse.Status, } if localVarHTTPResponse.StatusCode == 400 { - var v Status + var v ErrorDetail err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { newErr.error = err.Error() return localVarReturnValue, localVarHTTPResponse, newErr } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } if localVarHTTPResponse.StatusCode == 404 { - var v Status + var v ErrorDetail err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { newErr.error = err.Error() return localVarReturnValue, localVarHTTPResponse, newErr } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } if localVarHTTPResponse.StatusCode == 422 { - var v Status + var v ErrorDetail err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { newErr.error = err.Error() return localVarReturnValue, localVarHTTPResponse, newErr } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) newErr.model = v } return localVarReturnValue, localVarHTTPResponse, newErr @@ -346,15 +347,15 @@ type ApiFilesCreateRequest struct { ApiService *FilesApiService owner string repo string - data *FilesCreate + data *PackageFileUploadRequest } -func (r ApiFilesCreateRequest) Data(data FilesCreate) ApiFilesCreateRequest { +func (r ApiFilesCreateRequest) Data(data PackageFileUploadRequest) ApiFilesCreateRequest { r.data = &data return r } -func (r ApiFilesCreateRequest) Execute() (*PackageFileUpload, *http.Response, error) { +func (r ApiFilesCreateRequest) Execute() (*PackageFileUploadResponse, *http.Response, error) { return r.ApiService.FilesCreateExecute(r) } @@ -378,13 +379,13 @@ func (a *FilesApiService) FilesCreate(ctx context.Context, owner string, repo st } // Execute executes the request -// @return PackageFileUpload -func (a *FilesApiService) FilesCreateExecute(r ApiFilesCreateRequest) (*PackageFileUpload, *http.Response, error) { +// @return PackageFileUploadResponse +func (a *FilesApiService) FilesCreateExecute(r ApiFilesCreateRequest) (*PackageFileUploadResponse, *http.Response, error) { var ( localVarHTTPMethod = http.MethodPost localVarPostBody interface{} formFiles []formFile - localVarReturnValue *PackageFileUpload + localVarReturnValue *PackageFileUploadResponse ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "FilesApiService.FilesCreate") @@ -410,7 +411,7 @@ func (a *FilesApiService) FilesCreateExecute(r ApiFilesCreateRequest) (*PackageF } // to determine the Accept header - localVarHTTPHeaderAccepts := []string{"*/*"} + localVarHTTPHeaderAccepts := []string{"application/json"} // set Accept header localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts) @@ -455,33 +456,36 @@ func (a *FilesApiService) FilesCreateExecute(r ApiFilesCreateRequest) (*PackageF body: localVarBody, error: localVarHTTPResponse.Status, } - if localVarHTTPResponse.StatusCode == 400 { - var v Status + if localVarHTTPResponse.StatusCode == 404 { + var v ErrorDetail err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { newErr.error = err.Error() return localVarReturnValue, localVarHTTPResponse, newErr } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } - if localVarHTTPResponse.StatusCode == 404 { - var v Status + if localVarHTTPResponse.StatusCode == 400 { + var v ErrorDetail err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { newErr.error = err.Error() return localVarReturnValue, localVarHTTPResponse, newErr } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } if localVarHTTPResponse.StatusCode == 422 { - var v Status + var v ErrorDetail err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { newErr.error = err.Error() return localVarReturnValue, localVarHTTPResponse, newErr } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) newErr.model = v } return localVarReturnValue, localVarHTTPResponse, newErr @@ -521,7 +525,7 @@ func (r ApiFilesInfoRequest) PartNumber(partNumber int64) ApiFilesInfoRequest { return r } -func (r ApiFilesInfoRequest) Execute() (*PackageFilePartsUpload, *http.Response, error) { +func (r ApiFilesInfoRequest) Execute() (*PackageFilePartsUploadResponse, *http.Response, error) { return r.ApiService.FilesInfoExecute(r) } @@ -547,13 +551,13 @@ func (a *FilesApiService) FilesInfo(ctx context.Context, owner string, repo stri } // Execute executes the request -// @return PackageFilePartsUpload -func (a *FilesApiService) FilesInfoExecute(r ApiFilesInfoRequest) (*PackageFilePartsUpload, *http.Response, error) { +// @return PackageFilePartsUploadResponse +func (a *FilesApiService) FilesInfoExecute(r ApiFilesInfoRequest) (*PackageFilePartsUploadResponse, *http.Response, error) { var ( localVarHTTPMethod = http.MethodGet localVarPostBody interface{} formFiles []formFile - localVarReturnValue *PackageFilePartsUpload + localVarReturnValue *PackageFilePartsUploadResponse ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "FilesApiService.FilesInfo") @@ -587,7 +591,7 @@ func (a *FilesApiService) FilesInfoExecute(r ApiFilesInfoRequest) (*PackageFileP } // to determine the Accept header - localVarHTTPHeaderAccepts := []string{"*/*"} + localVarHTTPHeaderAccepts := []string{"application/json"} // set Accept header localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts) @@ -631,32 +635,35 @@ func (a *FilesApiService) FilesInfoExecute(r ApiFilesInfoRequest) (*PackageFileP error: localVarHTTPResponse.Status, } if localVarHTTPResponse.StatusCode == 400 { - var v Status + var v ErrorDetail err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { newErr.error = err.Error() return localVarReturnValue, localVarHTTPResponse, newErr } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } if localVarHTTPResponse.StatusCode == 404 { - var v Status + var v ErrorDetail err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { newErr.error = err.Error() return localVarReturnValue, localVarHTTPResponse, newErr } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } if localVarHTTPResponse.StatusCode == 422 { - var v Status + var v ErrorDetail err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { newErr.error = err.Error() return localVarReturnValue, localVarHTTPResponse, newErr } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) newErr.model = v } return localVarReturnValue, localVarHTTPResponse, newErr @@ -679,10 +686,10 @@ type ApiFilesValidateRequest struct { ApiService *FilesApiService owner string repo string - data *FilesValidate + data *PackageFileUploadRequest } -func (r ApiFilesValidateRequest) Data(data FilesValidate) ApiFilesValidateRequest { +func (r ApiFilesValidateRequest) Data(data PackageFileUploadRequest) ApiFilesValidateRequest { r.data = &data return r } @@ -741,7 +748,7 @@ func (a *FilesApiService) FilesValidateExecute(r ApiFilesValidateRequest) (*http } // to determine the Accept header - localVarHTTPHeaderAccepts := []string{"*/*"} + localVarHTTPHeaderAccepts := []string{"application/json"} // set Accept header localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts) @@ -786,33 +793,36 @@ func (a *FilesApiService) FilesValidateExecute(r ApiFilesValidateRequest) (*http body: localVarBody, error: localVarHTTPResponse.Status, } - if localVarHTTPResponse.StatusCode == 400 { - var v Status + if localVarHTTPResponse.StatusCode == 404 { + var v ErrorDetail err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { newErr.error = err.Error() return localVarHTTPResponse, newErr } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) newErr.model = v return localVarHTTPResponse, newErr } - if localVarHTTPResponse.StatusCode == 404 { - var v Status + if localVarHTTPResponse.StatusCode == 400 { + var v ErrorDetail err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { newErr.error = err.Error() return localVarHTTPResponse, newErr } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) newErr.model = v return localVarHTTPResponse, newErr } if localVarHTTPResponse.StatusCode == 422 { - var v Status + var v ErrorDetail err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { newErr.error = err.Error() return localVarHTTPResponse, newErr } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) newErr.model = v } return localVarHTTPResponse, newErr diff --git a/api_formats.go b/api_formats.go index 03fb2b92..4d70c6fb 100644 --- a/api_formats.go +++ b/api_formats.go @@ -1,9 +1,9 @@ /* -Cloudsmith API +Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.121.3 +API version: 1.181.6 Contact: support@cloudsmith.io */ @@ -20,11 +20,6 @@ import ( "strings" ) -// Linger please -var ( - _ context.Context -) - // FormatsApiService FormatsApi service type FormatsApiService service @@ -33,7 +28,7 @@ type ApiFormatsListRequest struct { ApiService *FormatsApiService } -func (r ApiFormatsListRequest) Execute() ([]Format, *http.Response, error) { +func (r ApiFormatsListRequest) Execute() ([]FormatResponse, *http.Response, error) { return r.ApiService.FormatsListExecute(r) } @@ -53,13 +48,13 @@ func (a *FormatsApiService) FormatsList(ctx context.Context) ApiFormatsListReque } // Execute executes the request -// @return []Format -func (a *FormatsApiService) FormatsListExecute(r ApiFormatsListRequest) ([]Format, *http.Response, error) { +// @return []FormatResponse +func (a *FormatsApiService) FormatsListExecute(r ApiFormatsListRequest) ([]FormatResponse, *http.Response, error) { var ( localVarHTTPMethod = http.MethodGet localVarPostBody interface{} formFiles []formFile - localVarReturnValue []Format + localVarReturnValue []FormatResponse ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "FormatsApiService.FormatsList") @@ -83,7 +78,7 @@ func (a *FormatsApiService) FormatsListExecute(r ApiFormatsListRequest) ([]Forma } // to determine the Accept header - localVarHTTPHeaderAccepts := []string{"*/*"} + localVarHTTPHeaderAccepts := []string{"application/json"} // set Accept header localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts) @@ -127,22 +122,24 @@ func (a *FormatsApiService) FormatsListExecute(r ApiFormatsListRequest) ([]Forma error: localVarHTTPResponse.Status, } if localVarHTTPResponse.StatusCode == 400 { - var v Status + var v ErrorDetail err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { newErr.error = err.Error() return localVarReturnValue, localVarHTTPResponse, newErr } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } if localVarHTTPResponse.StatusCode == 422 { - var v Status + var v ErrorDetail err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { newErr.error = err.Error() return localVarReturnValue, localVarHTTPResponse, newErr } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) newErr.model = v } return localVarReturnValue, localVarHTTPResponse, newErr @@ -166,7 +163,7 @@ type ApiFormatsReadRequest struct { slug string } -func (r ApiFormatsReadRequest) Execute() (*Format, *http.Response, error) { +func (r ApiFormatsReadRequest) Execute() (*FormatResponse, *http.Response, error) { return r.ApiService.FormatsReadExecute(r) } @@ -188,13 +185,13 @@ func (a *FormatsApiService) FormatsRead(ctx context.Context, slug string) ApiFor } // Execute executes the request -// @return Format -func (a *FormatsApiService) FormatsReadExecute(r ApiFormatsReadRequest) (*Format, *http.Response, error) { +// @return FormatResponse +func (a *FormatsApiService) FormatsReadExecute(r ApiFormatsReadRequest) (*FormatResponse, *http.Response, error) { var ( localVarHTTPMethod = http.MethodGet localVarPostBody interface{} formFiles []formFile - localVarReturnValue *Format + localVarReturnValue *FormatResponse ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "FormatsApiService.FormatsRead") @@ -219,7 +216,7 @@ func (a *FormatsApiService) FormatsReadExecute(r ApiFormatsReadRequest) (*Format } // to determine the Accept header - localVarHTTPHeaderAccepts := []string{"*/*"} + localVarHTTPHeaderAccepts := []string{"application/json"} // set Accept header localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts) @@ -263,22 +260,24 @@ func (a *FormatsApiService) FormatsReadExecute(r ApiFormatsReadRequest) (*Format error: localVarHTTPResponse.Status, } if localVarHTTPResponse.StatusCode == 400 { - var v Status + var v ErrorDetail err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { newErr.error = err.Error() return localVarReturnValue, localVarHTTPResponse, newErr } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } if localVarHTTPResponse.StatusCode == 422 { - var v Status + var v ErrorDetail err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { newErr.error = err.Error() return localVarReturnValue, localVarHTTPResponse, newErr } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) newErr.model = v } return localVarReturnValue, localVarHTTPResponse, newErr diff --git a/api_metrics.go b/api_metrics.go index 28c4f70b..c597124e 100644 --- a/api_metrics.go +++ b/api_metrics.go @@ -1,9 +1,9 @@ /* -Cloudsmith API +Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.121.3 +API version: 1.181.6 Contact: support@cloudsmith.io */ @@ -20,15 +20,10 @@ import ( "strings" ) -// Linger please -var ( - _ context.Context -) - // MetricsApiService MetricsApi service type MetricsApiService service -type ApiMetricsEntitlementsListRequest struct { +type ApiMetricsEntitlementsAccountListRequest struct { ctx context.Context ApiService *MetricsApiService owner string @@ -40,50 +35,50 @@ type ApiMetricsEntitlementsListRequest struct { } // A page number within the paginated result set. -func (r ApiMetricsEntitlementsListRequest) Page(page int64) ApiMetricsEntitlementsListRequest { +func (r ApiMetricsEntitlementsAccountListRequest) Page(page int64) ApiMetricsEntitlementsAccountListRequest { r.page = &page return r } // Number of results to return per page. -func (r ApiMetricsEntitlementsListRequest) PageSize(pageSize int64) ApiMetricsEntitlementsListRequest { +func (r ApiMetricsEntitlementsAccountListRequest) PageSize(pageSize int64) ApiMetricsEntitlementsAccountListRequest { r.pageSize = &pageSize return r } // Include metrics upto and including this UTC date or UTC datetime. For example '2020-12-31' or '2021-12-13T00:00:00Z'. -func (r ApiMetricsEntitlementsListRequest) Finish(finish string) ApiMetricsEntitlementsListRequest { +func (r ApiMetricsEntitlementsAccountListRequest) Finish(finish string) ApiMetricsEntitlementsAccountListRequest { r.finish = &finish return r } // Include metrics from and including this UTC date or UTC datetime. For example '2020-12-31' or '2021-12-13T00:00:00Z'. -func (r ApiMetricsEntitlementsListRequest) Start(start string) ApiMetricsEntitlementsListRequest { +func (r ApiMetricsEntitlementsAccountListRequest) Start(start string) ApiMetricsEntitlementsAccountListRequest { r.start = &start return r } // A comma seperated list of tokens (slug perm) to include in the results. -func (r ApiMetricsEntitlementsListRequest) Tokens(tokens string) ApiMetricsEntitlementsListRequest { +func (r ApiMetricsEntitlementsAccountListRequest) Tokens(tokens string) ApiMetricsEntitlementsAccountListRequest { r.tokens = &tokens return r } -func (r ApiMetricsEntitlementsListRequest) Execute() (*EntitlementUsageMetrics, *http.Response, error) { - return r.ApiService.MetricsEntitlementsListExecute(r) +func (r ApiMetricsEntitlementsAccountListRequest) Execute() (*EntitlementUsageMetricsResponse, *http.Response, error) { + return r.ApiService.MetricsEntitlementsAccountListExecute(r) } /* -MetricsEntitlementsList View for listing entitlement token metrics, across an account. +MetricsEntitlementsAccountList View for listing entitlement token metrics, across an account. View for listing entitlement token metrics, across an account. @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param owner - @return ApiMetricsEntitlementsListRequest + @return ApiMetricsEntitlementsAccountListRequest */ -func (a *MetricsApiService) MetricsEntitlementsList(ctx context.Context, owner string) ApiMetricsEntitlementsListRequest { - return ApiMetricsEntitlementsListRequest{ +func (a *MetricsApiService) MetricsEntitlementsAccountList(ctx context.Context, owner string) ApiMetricsEntitlementsAccountListRequest { + return ApiMetricsEntitlementsAccountListRequest{ ApiService: a, ctx: ctx, owner: owner, @@ -91,16 +86,16 @@ func (a *MetricsApiService) MetricsEntitlementsList(ctx context.Context, owner s } // Execute executes the request -// @return EntitlementUsageMetrics -func (a *MetricsApiService) MetricsEntitlementsListExecute(r ApiMetricsEntitlementsListRequest) (*EntitlementUsageMetrics, *http.Response, error) { +// @return EntitlementUsageMetricsResponse +func (a *MetricsApiService) MetricsEntitlementsAccountListExecute(r ApiMetricsEntitlementsAccountListRequest) (*EntitlementUsageMetricsResponse, *http.Response, error) { var ( localVarHTTPMethod = http.MethodGet localVarPostBody interface{} formFiles []formFile - localVarReturnValue *EntitlementUsageMetrics + localVarReturnValue *EntitlementUsageMetricsResponse ) - localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "MetricsApiService.MetricsEntitlementsList") + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "MetricsApiService.MetricsEntitlementsAccountList") if err != nil { return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} } @@ -137,7 +132,7 @@ func (a *MetricsApiService) MetricsEntitlementsListExecute(r ApiMetricsEntitleme } // to determine the Accept header - localVarHTTPHeaderAccepts := []string{"*/*"} + localVarHTTPHeaderAccepts := []string{"application/json"} // set Accept header localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts) @@ -181,22 +176,24 @@ func (a *MetricsApiService) MetricsEntitlementsListExecute(r ApiMetricsEntitleme error: localVarHTTPResponse.Status, } if localVarHTTPResponse.StatusCode == 400 { - var v Status + var v ErrorDetail err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { newErr.error = err.Error() return localVarReturnValue, localVarHTTPResponse, newErr } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } if localVarHTTPResponse.StatusCode == 422 { - var v Status + var v ErrorDetail err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { newErr.error = err.Error() return localVarReturnValue, localVarHTTPResponse, newErr } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) newErr.model = v } return localVarReturnValue, localVarHTTPResponse, newErr @@ -214,7 +211,7 @@ func (a *MetricsApiService) MetricsEntitlementsListExecute(r ApiMetricsEntitleme return localVarReturnValue, localVarHTTPResponse, nil } -type ApiMetricsEntitlementsList0Request struct { +type ApiMetricsEntitlementsRepoListRequest struct { ctx context.Context ApiService *MetricsApiService owner string @@ -227,51 +224,51 @@ type ApiMetricsEntitlementsList0Request struct { } // A page number within the paginated result set. -func (r ApiMetricsEntitlementsList0Request) Page(page int64) ApiMetricsEntitlementsList0Request { +func (r ApiMetricsEntitlementsRepoListRequest) Page(page int64) ApiMetricsEntitlementsRepoListRequest { r.page = &page return r } // Number of results to return per page. -func (r ApiMetricsEntitlementsList0Request) PageSize(pageSize int64) ApiMetricsEntitlementsList0Request { +func (r ApiMetricsEntitlementsRepoListRequest) PageSize(pageSize int64) ApiMetricsEntitlementsRepoListRequest { r.pageSize = &pageSize return r } // Include metrics upto and including this UTC date or UTC datetime. For example '2020-12-31' or '2021-12-13T00:00:00Z'. -func (r ApiMetricsEntitlementsList0Request) Finish(finish string) ApiMetricsEntitlementsList0Request { +func (r ApiMetricsEntitlementsRepoListRequest) Finish(finish string) ApiMetricsEntitlementsRepoListRequest { r.finish = &finish return r } // Include metrics from and including this UTC date or UTC datetime. For example '2020-12-31' or '2021-12-13T00:00:00Z'. -func (r ApiMetricsEntitlementsList0Request) Start(start string) ApiMetricsEntitlementsList0Request { +func (r ApiMetricsEntitlementsRepoListRequest) Start(start string) ApiMetricsEntitlementsRepoListRequest { r.start = &start return r } // A comma seperated list of tokens (slug perm) to include in the results. -func (r ApiMetricsEntitlementsList0Request) Tokens(tokens string) ApiMetricsEntitlementsList0Request { +func (r ApiMetricsEntitlementsRepoListRequest) Tokens(tokens string) ApiMetricsEntitlementsRepoListRequest { r.tokens = &tokens return r } -func (r ApiMetricsEntitlementsList0Request) Execute() (*EntitlementUsageMetrics, *http.Response, error) { - return r.ApiService.MetricsEntitlementsList0Execute(r) +func (r ApiMetricsEntitlementsRepoListRequest) Execute() (*EntitlementUsageMetricsResponse, *http.Response, error) { + return r.ApiService.MetricsEntitlementsRepoListExecute(r) } /* -MetricsEntitlementsList0 View for listing entitlement token metrics, for a repository. +MetricsEntitlementsRepoList View for listing entitlement token metrics, for a repository. View for listing entitlement token metrics, for a repository. @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param owner @param repo - @return ApiMetricsEntitlementsList0Request + @return ApiMetricsEntitlementsRepoListRequest */ -func (a *MetricsApiService) MetricsEntitlementsList0(ctx context.Context, owner string, repo string) ApiMetricsEntitlementsList0Request { - return ApiMetricsEntitlementsList0Request{ +func (a *MetricsApiService) MetricsEntitlementsRepoList(ctx context.Context, owner string, repo string) ApiMetricsEntitlementsRepoListRequest { + return ApiMetricsEntitlementsRepoListRequest{ ApiService: a, ctx: ctx, owner: owner, @@ -280,16 +277,16 @@ func (a *MetricsApiService) MetricsEntitlementsList0(ctx context.Context, owner } // Execute executes the request -// @return EntitlementUsageMetrics -func (a *MetricsApiService) MetricsEntitlementsList0Execute(r ApiMetricsEntitlementsList0Request) (*EntitlementUsageMetrics, *http.Response, error) { +// @return EntitlementUsageMetricsResponse +func (a *MetricsApiService) MetricsEntitlementsRepoListExecute(r ApiMetricsEntitlementsRepoListRequest) (*EntitlementUsageMetricsResponse, *http.Response, error) { var ( localVarHTTPMethod = http.MethodGet localVarPostBody interface{} formFiles []formFile - localVarReturnValue *EntitlementUsageMetrics + localVarReturnValue *EntitlementUsageMetricsResponse ) - localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "MetricsApiService.MetricsEntitlementsList0") + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "MetricsApiService.MetricsEntitlementsRepoList") if err != nil { return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} } @@ -327,7 +324,7 @@ func (a *MetricsApiService) MetricsEntitlementsList0Execute(r ApiMetricsEntitlem } // to determine the Accept header - localVarHTTPHeaderAccepts := []string{"*/*"} + localVarHTTPHeaderAccepts := []string{"application/json"} // set Accept header localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts) @@ -371,22 +368,24 @@ func (a *MetricsApiService) MetricsEntitlementsList0Execute(r ApiMetricsEntitlem error: localVarHTTPResponse.Status, } if localVarHTTPResponse.StatusCode == 400 { - var v Status + var v ErrorDetail err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { newErr.error = err.Error() return localVarReturnValue, localVarHTTPResponse, newErr } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } if localVarHTTPResponse.StatusCode == 422 { - var v Status + var v ErrorDetail err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { newErr.error = err.Error() return localVarReturnValue, localVarHTTPResponse, newErr } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) newErr.model = v } return localVarReturnValue, localVarHTTPResponse, newErr @@ -446,7 +445,7 @@ func (r ApiMetricsPackagesListRequest) Start(start string) ApiMetricsPackagesLis return r } -func (r ApiMetricsPackagesListRequest) Execute() (*PackageUsageMetrics, *http.Response, error) { +func (r ApiMetricsPackagesListRequest) Execute() (*PackageUsageMetricsResponse, *http.Response, error) { return r.ApiService.MetricsPackagesListExecute(r) } @@ -470,13 +469,13 @@ func (a *MetricsApiService) MetricsPackagesList(ctx context.Context, owner strin } // Execute executes the request -// @return PackageUsageMetrics -func (a *MetricsApiService) MetricsPackagesListExecute(r ApiMetricsPackagesListRequest) (*PackageUsageMetrics, *http.Response, error) { +// @return PackageUsageMetricsResponse +func (a *MetricsApiService) MetricsPackagesListExecute(r ApiMetricsPackagesListRequest) (*PackageUsageMetricsResponse, *http.Response, error) { var ( localVarHTTPMethod = http.MethodGet localVarPostBody interface{} formFiles []formFile - localVarReturnValue *PackageUsageMetrics + localVarReturnValue *PackageUsageMetricsResponse ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "MetricsApiService.MetricsPackagesList") @@ -517,7 +516,7 @@ func (a *MetricsApiService) MetricsPackagesListExecute(r ApiMetricsPackagesListR } // to determine the Accept header - localVarHTTPHeaderAccepts := []string{"*/*"} + localVarHTTPHeaderAccepts := []string{"application/json"} // set Accept header localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts) @@ -561,22 +560,24 @@ func (a *MetricsApiService) MetricsPackagesListExecute(r ApiMetricsPackagesListR error: localVarHTTPResponse.Status, } if localVarHTTPResponse.StatusCode == 400 { - var v Status + var v ErrorDetail err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { newErr.error = err.Error() return localVarReturnValue, localVarHTTPResponse, newErr } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } if localVarHTTPResponse.StatusCode == 422 { - var v Status + var v ErrorDetail err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { newErr.error = err.Error() return localVarReturnValue, localVarHTTPResponse, newErr } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) newErr.model = v } return localVarReturnValue, localVarHTTPResponse, newErr diff --git a/api_namespaces.go b/api_namespaces.go index a5a6885e..4a2e8193 100644 --- a/api_namespaces.go +++ b/api_namespaces.go @@ -1,9 +1,9 @@ /* -Cloudsmith API +Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.121.3 +API version: 1.181.6 Contact: support@cloudsmith.io */ @@ -20,11 +20,6 @@ import ( "strings" ) -// Linger please -var ( - _ context.Context -) - // NamespacesApiService NamespacesApi service type NamespacesApiService service @@ -47,7 +42,7 @@ func (r ApiNamespacesListRequest) PageSize(pageSize int64) ApiNamespacesListRequ return r } -func (r ApiNamespacesListRequest) Execute() ([]Namespace, *http.Response, error) { +func (r ApiNamespacesListRequest) Execute() ([]NamespaceResponse, *http.Response, error) { return r.ApiService.NamespacesListExecute(r) } @@ -67,13 +62,13 @@ func (a *NamespacesApiService) NamespacesList(ctx context.Context) ApiNamespaces } // Execute executes the request -// @return []Namespace -func (a *NamespacesApiService) NamespacesListExecute(r ApiNamespacesListRequest) ([]Namespace, *http.Response, error) { +// @return []NamespaceResponse +func (a *NamespacesApiService) NamespacesListExecute(r ApiNamespacesListRequest) ([]NamespaceResponse, *http.Response, error) { var ( localVarHTTPMethod = http.MethodGet localVarPostBody interface{} formFiles []formFile - localVarReturnValue []Namespace + localVarReturnValue []NamespaceResponse ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "NamespacesApiService.NamespacesList") @@ -103,7 +98,7 @@ func (a *NamespacesApiService) NamespacesListExecute(r ApiNamespacesListRequest) } // to determine the Accept header - localVarHTTPHeaderAccepts := []string{"*/*"} + localVarHTTPHeaderAccepts := []string{"application/json"} // set Accept header localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts) @@ -147,22 +142,24 @@ func (a *NamespacesApiService) NamespacesListExecute(r ApiNamespacesListRequest) error: localVarHTTPResponse.Status, } if localVarHTTPResponse.StatusCode == 400 { - var v Status + var v ErrorDetail err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { newErr.error = err.Error() return localVarReturnValue, localVarHTTPResponse, newErr } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } if localVarHTTPResponse.StatusCode == 422 { - var v Status + var v ErrorDetail err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { newErr.error = err.Error() return localVarReturnValue, localVarHTTPResponse, newErr } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) newErr.model = v } return localVarReturnValue, localVarHTTPResponse, newErr @@ -186,7 +183,7 @@ type ApiNamespacesReadRequest struct { slug string } -func (r ApiNamespacesReadRequest) Execute() (*Namespace, *http.Response, error) { +func (r ApiNamespacesReadRequest) Execute() (*NamespaceResponse, *http.Response, error) { return r.ApiService.NamespacesReadExecute(r) } @@ -208,13 +205,13 @@ func (a *NamespacesApiService) NamespacesRead(ctx context.Context, slug string) } // Execute executes the request -// @return Namespace -func (a *NamespacesApiService) NamespacesReadExecute(r ApiNamespacesReadRequest) (*Namespace, *http.Response, error) { +// @return NamespaceResponse +func (a *NamespacesApiService) NamespacesReadExecute(r ApiNamespacesReadRequest) (*NamespaceResponse, *http.Response, error) { var ( localVarHTTPMethod = http.MethodGet localVarPostBody interface{} formFiles []formFile - localVarReturnValue *Namespace + localVarReturnValue *NamespaceResponse ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "NamespacesApiService.NamespacesRead") @@ -239,7 +236,7 @@ func (a *NamespacesApiService) NamespacesReadExecute(r ApiNamespacesReadRequest) } // to determine the Accept header - localVarHTTPHeaderAccepts := []string{"*/*"} + localVarHTTPHeaderAccepts := []string{"application/json"} // set Accept header localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts) @@ -283,22 +280,24 @@ func (a *NamespacesApiService) NamespacesReadExecute(r ApiNamespacesReadRequest) error: localVarHTTPResponse.Status, } if localVarHTTPResponse.StatusCode == 400 { - var v Status + var v ErrorDetail err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { newErr.error = err.Error() return localVarReturnValue, localVarHTTPResponse, newErr } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } if localVarHTTPResponse.StatusCode == 422 { - var v Status + var v ErrorDetail err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { newErr.error = err.Error() return localVarReturnValue, localVarHTTPResponse, newErr } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) newErr.model = v } return localVarReturnValue, localVarHTTPResponse, newErr diff --git a/api_orgs.go b/api_orgs.go index 2fe70661..d0e6e7fd 100644 --- a/api_orgs.go +++ b/api_orgs.go @@ -1,9 +1,9 @@ /* -Cloudsmith API +Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.121.3 +API version: 1.181.6 Contact: support@cloudsmith.io */ @@ -20,11 +20,6 @@ import ( "strings" ) -// Linger please -var ( - _ context.Context -) - // OrgsApiService OrgsApi service type OrgsApiService service @@ -32,15 +27,15 @@ type ApiOrgsInvitesCreateRequest struct { ctx context.Context ApiService *OrgsApiService org string - data *OrgsInvitesCreate + data *OrganizationInviteRequest } -func (r ApiOrgsInvitesCreateRequest) Data(data OrgsInvitesCreate) ApiOrgsInvitesCreateRequest { +func (r ApiOrgsInvitesCreateRequest) Data(data OrganizationInviteRequest) ApiOrgsInvitesCreateRequest { r.data = &data return r } -func (r ApiOrgsInvitesCreateRequest) Execute() (*OrganizationInvite, *http.Response, error) { +func (r ApiOrgsInvitesCreateRequest) Execute() (*OrganizationInviteResponse, *http.Response, error) { return r.ApiService.OrgsInvitesCreateExecute(r) } @@ -62,13 +57,13 @@ func (a *OrgsApiService) OrgsInvitesCreate(ctx context.Context, org string) ApiO } // Execute executes the request -// @return OrganizationInvite -func (a *OrgsApiService) OrgsInvitesCreateExecute(r ApiOrgsInvitesCreateRequest) (*OrganizationInvite, *http.Response, error) { +// @return OrganizationInviteResponse +func (a *OrgsApiService) OrgsInvitesCreateExecute(r ApiOrgsInvitesCreateRequest) (*OrganizationInviteResponse, *http.Response, error) { var ( localVarHTTPMethod = http.MethodPost localVarPostBody interface{} formFiles []formFile - localVarReturnValue *OrganizationInvite + localVarReturnValue *OrganizationInviteResponse ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "OrgsApiService.OrgsInvitesCreate") @@ -93,7 +88,7 @@ func (a *OrgsApiService) OrgsInvitesCreateExecute(r ApiOrgsInvitesCreateRequest) } // to determine the Accept header - localVarHTTPHeaderAccepts := []string{"*/*"} + localVarHTTPHeaderAccepts := []string{"application/json"} // set Accept header localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts) @@ -139,22 +134,24 @@ func (a *OrgsApiService) OrgsInvitesCreateExecute(r ApiOrgsInvitesCreateRequest) error: localVarHTTPResponse.Status, } if localVarHTTPResponse.StatusCode == 400 { - var v Status + var v ErrorDetail err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { newErr.error = err.Error() return localVarReturnValue, localVarHTTPResponse, newErr } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } if localVarHTTPResponse.StatusCode == 422 { - var v Status + var v ErrorDetail err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { newErr.error = err.Error() return localVarReturnValue, localVarHTTPResponse, newErr } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) newErr.model = v } return localVarReturnValue, localVarHTTPResponse, newErr @@ -233,7 +230,7 @@ func (a *OrgsApiService) OrgsInvitesDeleteExecute(r ApiOrgsInvitesDeleteRequest) } // to determine the Accept header - localVarHTTPHeaderAccepts := []string{"*/*"} + localVarHTTPHeaderAccepts := []string{"application/json"} // set Accept header localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts) @@ -277,22 +274,24 @@ func (a *OrgsApiService) OrgsInvitesDeleteExecute(r ApiOrgsInvitesDeleteRequest) error: localVarHTTPResponse.Status, } if localVarHTTPResponse.StatusCode == 400 { - var v Status + var v ErrorDetail err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { newErr.error = err.Error() return localVarHTTPResponse, newErr } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) newErr.model = v return localVarHTTPResponse, newErr } if localVarHTTPResponse.StatusCode == 422 { - var v Status + var v ErrorDetail err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { newErr.error = err.Error() return localVarHTTPResponse, newErr } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) newErr.model = v } return localVarHTTPResponse, newErr @@ -306,15 +305,9 @@ type ApiOrgsInvitesExtendRequest struct { ApiService *OrgsApiService org string slugPerm string - data *OrgsInvitesExtend -} - -func (r ApiOrgsInvitesExtendRequest) Data(data OrgsInvitesExtend) ApiOrgsInvitesExtendRequest { - r.data = &data - return r } -func (r ApiOrgsInvitesExtendRequest) Execute() (*OrganizationInviteExtend, *http.Response, error) { +func (r ApiOrgsInvitesExtendRequest) Execute() (*OrganizationInviteExtendResponse, *http.Response, error) { return r.ApiService.OrgsInvitesExtendExecute(r) } @@ -338,13 +331,13 @@ func (a *OrgsApiService) OrgsInvitesExtend(ctx context.Context, org string, slug } // Execute executes the request -// @return OrganizationInviteExtend -func (a *OrgsApiService) OrgsInvitesExtendExecute(r ApiOrgsInvitesExtendRequest) (*OrganizationInviteExtend, *http.Response, error) { +// @return OrganizationInviteExtendResponse +func (a *OrgsApiService) OrgsInvitesExtendExecute(r ApiOrgsInvitesExtendRequest) (*OrganizationInviteExtendResponse, *http.Response, error) { var ( localVarHTTPMethod = http.MethodPost localVarPostBody interface{} formFiles []formFile - localVarReturnValue *OrganizationInviteExtend + localVarReturnValue *OrganizationInviteExtendResponse ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "OrgsApiService.OrgsInvitesExtend") @@ -361,7 +354,7 @@ func (a *OrgsApiService) OrgsInvitesExtendExecute(r ApiOrgsInvitesExtendRequest) localVarFormParams := url.Values{} // to determine the Content-Type header - localVarHTTPContentTypes := []string{"application/json"} + localVarHTTPContentTypes := []string{} // set Content-Type header localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes) @@ -370,15 +363,13 @@ func (a *OrgsApiService) OrgsInvitesExtendExecute(r ApiOrgsInvitesExtendRequest) } // to determine the Accept header - localVarHTTPHeaderAccepts := []string{"*/*"} + localVarHTTPHeaderAccepts := []string{"application/json"} // set Accept header localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts) if localVarHTTPHeaderAccept != "" { localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept } - // body params - localVarPostBody = r.data if r.ctx != nil { // API Key Authentication if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok { @@ -415,23 +406,36 @@ func (a *OrgsApiService) OrgsInvitesExtendExecute(r ApiOrgsInvitesExtendRequest) body: localVarBody, error: localVarHTTPResponse.Status, } + if localVarHTTPResponse.StatusCode == 404 { + var v ErrorDetail + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v + return localVarReturnValue, localVarHTTPResponse, newErr + } if localVarHTTPResponse.StatusCode == 400 { - var v Status + var v ErrorDetail err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { newErr.error = err.Error() return localVarReturnValue, localVarHTTPResponse, newErr } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } if localVarHTTPResponse.StatusCode == 422 { - var v Status + var v ErrorDetail err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { newErr.error = err.Error() return localVarReturnValue, localVarHTTPResponse, newErr } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) newErr.model = v } return localVarReturnValue, localVarHTTPResponse, newErr @@ -469,7 +473,7 @@ func (r ApiOrgsInvitesListRequest) PageSize(pageSize int64) ApiOrgsInvitesListRe return r } -func (r ApiOrgsInvitesListRequest) Execute() ([]OrganizationInvite, *http.Response, error) { +func (r ApiOrgsInvitesListRequest) Execute() ([]OrganizationInviteResponse, *http.Response, error) { return r.ApiService.OrgsInvitesListExecute(r) } @@ -491,13 +495,13 @@ func (a *OrgsApiService) OrgsInvitesList(ctx context.Context, org string) ApiOrg } // Execute executes the request -// @return []OrganizationInvite -func (a *OrgsApiService) OrgsInvitesListExecute(r ApiOrgsInvitesListRequest) ([]OrganizationInvite, *http.Response, error) { +// @return []OrganizationInviteResponse +func (a *OrgsApiService) OrgsInvitesListExecute(r ApiOrgsInvitesListRequest) ([]OrganizationInviteResponse, *http.Response, error) { var ( localVarHTTPMethod = http.MethodGet localVarPostBody interface{} formFiles []formFile - localVarReturnValue []OrganizationInvite + localVarReturnValue []OrganizationInviteResponse ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "OrgsApiService.OrgsInvitesList") @@ -528,7 +532,7 @@ func (a *OrgsApiService) OrgsInvitesListExecute(r ApiOrgsInvitesListRequest) ([] } // to determine the Accept header - localVarHTTPHeaderAccepts := []string{"*/*"} + localVarHTTPHeaderAccepts := []string{"application/json"} // set Accept header localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts) @@ -571,33 +575,36 @@ func (a *OrgsApiService) OrgsInvitesListExecute(r ApiOrgsInvitesListRequest) ([] body: localVarBody, error: localVarHTTPResponse.Status, } - if localVarHTTPResponse.StatusCode == 400 { - var v Status + if localVarHTTPResponse.StatusCode == 404 { + var v ErrorDetail err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { newErr.error = err.Error() return localVarReturnValue, localVarHTTPResponse, newErr } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } - if localVarHTTPResponse.StatusCode == 404 { - var v Status + if localVarHTTPResponse.StatusCode == 400 { + var v ErrorDetail err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { newErr.error = err.Error() return localVarReturnValue, localVarHTTPResponse, newErr } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } if localVarHTTPResponse.StatusCode == 422 { - var v Status + var v ErrorDetail err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { newErr.error = err.Error() return localVarReturnValue, localVarHTTPResponse, newErr } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) newErr.model = v } return localVarReturnValue, localVarHTTPResponse, newErr @@ -615,73 +622,67 @@ func (a *OrgsApiService) OrgsInvitesListExecute(r ApiOrgsInvitesListRequest) ([] return localVarReturnValue, localVarHTTPResponse, nil } -type ApiOrgsListRequest struct { +type ApiOrgsInvitesPartialUpdateRequest struct { ctx context.Context ApiService *OrgsApiService - page *int64 - pageSize *int64 -} - -// A page number within the paginated result set. -func (r ApiOrgsListRequest) Page(page int64) ApiOrgsListRequest { - r.page = &page - return r + org string + slugPerm string + data *OrganizationInviteUpdateRequestPatch } -// Number of results to return per page. -func (r ApiOrgsListRequest) PageSize(pageSize int64) ApiOrgsListRequest { - r.pageSize = &pageSize +func (r ApiOrgsInvitesPartialUpdateRequest) Data(data OrganizationInviteUpdateRequestPatch) ApiOrgsInvitesPartialUpdateRequest { + r.data = &data return r } -func (r ApiOrgsListRequest) Execute() ([]Organization, *http.Response, error) { - return r.ApiService.OrgsListExecute(r) +func (r ApiOrgsInvitesPartialUpdateRequest) Execute() (*OrganizationInviteResponse, *http.Response, error) { + return r.ApiService.OrgsInvitesPartialUpdateExecute(r) } /* -OrgsList Get a list of all the organizations you are associated with. +OrgsInvitesPartialUpdate Update a specific organization invite. -Get a list of all the organizations you are associated with. +Update a specific organization invite. @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - @return ApiOrgsListRequest + @param org + @param slugPerm + @return ApiOrgsInvitesPartialUpdateRequest */ -func (a *OrgsApiService) OrgsList(ctx context.Context) ApiOrgsListRequest { - return ApiOrgsListRequest{ +func (a *OrgsApiService) OrgsInvitesPartialUpdate(ctx context.Context, org string, slugPerm string) ApiOrgsInvitesPartialUpdateRequest { + return ApiOrgsInvitesPartialUpdateRequest{ ApiService: a, ctx: ctx, + org: org, + slugPerm: slugPerm, } } // Execute executes the request -// @return []Organization -func (a *OrgsApiService) OrgsListExecute(r ApiOrgsListRequest) ([]Organization, *http.Response, error) { +// @return OrganizationInviteResponse +func (a *OrgsApiService) OrgsInvitesPartialUpdateExecute(r ApiOrgsInvitesPartialUpdateRequest) (*OrganizationInviteResponse, *http.Response, error) { var ( - localVarHTTPMethod = http.MethodGet + localVarHTTPMethod = http.MethodPatch localVarPostBody interface{} formFiles []formFile - localVarReturnValue []Organization + localVarReturnValue *OrganizationInviteResponse ) - localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "OrgsApiService.OrgsList") + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "OrgsApiService.OrgsInvitesPartialUpdate") if err != nil { return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} } - localVarPath := localBasePath + "/orgs/" + localVarPath := localBasePath + "/orgs/{org}/invites/{slug_perm}/" + localVarPath = strings.Replace(localVarPath, "{"+"org"+"}", url.PathEscape(parameterToString(r.org, "")), -1) + localVarPath = strings.Replace(localVarPath, "{"+"slug_perm"+"}", url.PathEscape(parameterToString(r.slugPerm, "")), -1) localVarHeaderParams := make(map[string]string) localVarQueryParams := url.Values{} localVarFormParams := url.Values{} - if r.page != nil { - localVarQueryParams.Add("page", parameterToString(*r.page, "")) - } - if r.pageSize != nil { - localVarQueryParams.Add("page_size", parameterToString(*r.pageSize, "")) - } // to determine the Content-Type header - localVarHTTPContentTypes := []string{} + localVarHTTPContentTypes := []string{"application/json"} // set Content-Type header localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes) @@ -690,13 +691,15 @@ func (a *OrgsApiService) OrgsListExecute(r ApiOrgsListRequest) ([]Organization, } // to determine the Accept header - localVarHTTPHeaderAccepts := []string{"*/*"} + localVarHTTPHeaderAccepts := []string{"application/json"} // set Accept header localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts) if localVarHTTPHeaderAccept != "" { localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept } + // body params + localVarPostBody = r.data if r.ctx != nil { // API Key Authentication if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok { @@ -734,22 +737,35 @@ func (a *OrgsApiService) OrgsListExecute(r ApiOrgsListRequest) ([]Organization, error: localVarHTTPResponse.Status, } if localVarHTTPResponse.StatusCode == 400 { - var v Status + var v ErrorDetail + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v + return localVarReturnValue, localVarHTTPResponse, newErr + } + if localVarHTTPResponse.StatusCode == 404 { + var v ErrorDetail err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { newErr.error = err.Error() return localVarReturnValue, localVarHTTPResponse, newErr } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } if localVarHTTPResponse.StatusCode == 422 { - var v Status + var v ErrorDetail err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { newErr.error = err.Error() return localVarReturnValue, localVarHTTPResponse, newErr } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) newErr.model = v } return localVarReturnValue, localVarHTTPResponse, newErr @@ -767,75 +783,59 @@ func (a *OrgsApiService) OrgsListExecute(r ApiOrgsListRequest) ([]Organization, return localVarReturnValue, localVarHTTPResponse, nil } -type ApiOrgsMembersListRequest struct { +type ApiOrgsInvitesResendRequest struct { ctx context.Context ApiService *OrgsApiService org string - page *int64 - pageSize *int64 -} - -// A page number within the paginated result set. -func (r ApiOrgsMembersListRequest) Page(page int64) ApiOrgsMembersListRequest { - r.page = &page - return r -} - -// Number of results to return per page. -func (r ApiOrgsMembersListRequest) PageSize(pageSize int64) ApiOrgsMembersListRequest { - r.pageSize = &pageSize - return r + slugPerm string } -func (r ApiOrgsMembersListRequest) Execute() ([]OrganizationMembership, *http.Response, error) { - return r.ApiService.OrgsMembersListExecute(r) +func (r ApiOrgsInvitesResendRequest) Execute() (*OrganizationInviteExtendResponse, *http.Response, error) { + return r.ApiService.OrgsInvitesResendExecute(r) } /* -OrgsMembersList Get the details for all organization members. +OrgsInvitesResend Resend an organization invite. -Get the details for all organization members. +Resend an organization invite. @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param org - @return ApiOrgsMembersListRequest + @param slugPerm + @return ApiOrgsInvitesResendRequest */ -func (a *OrgsApiService) OrgsMembersList(ctx context.Context, org string) ApiOrgsMembersListRequest { - return ApiOrgsMembersListRequest{ +func (a *OrgsApiService) OrgsInvitesResend(ctx context.Context, org string, slugPerm string) ApiOrgsInvitesResendRequest { + return ApiOrgsInvitesResendRequest{ ApiService: a, ctx: ctx, org: org, + slugPerm: slugPerm, } } // Execute executes the request -// @return []OrganizationMembership -func (a *OrgsApiService) OrgsMembersListExecute(r ApiOrgsMembersListRequest) ([]OrganizationMembership, *http.Response, error) { +// @return OrganizationInviteExtendResponse +func (a *OrgsApiService) OrgsInvitesResendExecute(r ApiOrgsInvitesResendRequest) (*OrganizationInviteExtendResponse, *http.Response, error) { var ( - localVarHTTPMethod = http.MethodGet + localVarHTTPMethod = http.MethodPost localVarPostBody interface{} formFiles []formFile - localVarReturnValue []OrganizationMembership + localVarReturnValue *OrganizationInviteExtendResponse ) - localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "OrgsApiService.OrgsMembersList") + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "OrgsApiService.OrgsInvitesResend") if err != nil { return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} } - localVarPath := localBasePath + "/orgs/{org}/members/" + localVarPath := localBasePath + "/orgs/{org}/invites/{slug_perm}/resend/" localVarPath = strings.Replace(localVarPath, "{"+"org"+"}", url.PathEscape(parameterToString(r.org, "")), -1) + localVarPath = strings.Replace(localVarPath, "{"+"slug_perm"+"}", url.PathEscape(parameterToString(r.slugPerm, "")), -1) localVarHeaderParams := make(map[string]string) localVarQueryParams := url.Values{} localVarFormParams := url.Values{} - if r.page != nil { - localVarQueryParams.Add("page", parameterToString(*r.page, "")) - } - if r.pageSize != nil { - localVarQueryParams.Add("page_size", parameterToString(*r.pageSize, "")) - } // to determine the Content-Type header localVarHTTPContentTypes := []string{} @@ -846,7 +846,7 @@ func (a *OrgsApiService) OrgsMembersListExecute(r ApiOrgsMembersListRequest) ([] } // to determine the Accept header - localVarHTTPHeaderAccepts := []string{"*/*"} + localVarHTTPHeaderAccepts := []string{"application/json"} // set Accept header localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts) @@ -889,23 +889,36 @@ func (a *OrgsApiService) OrgsMembersListExecute(r ApiOrgsMembersListRequest) ([] body: localVarBody, error: localVarHTTPResponse.Status, } + if localVarHTTPResponse.StatusCode == 404 { + var v ErrorDetail + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v + return localVarReturnValue, localVarHTTPResponse, newErr + } if localVarHTTPResponse.StatusCode == 400 { - var v Status + var v ErrorDetail err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { newErr.error = err.Error() return localVarReturnValue, localVarHTTPResponse, newErr } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } if localVarHTTPResponse.StatusCode == 422 { - var v Status + var v ErrorDetail err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { newErr.error = err.Error() return localVarReturnValue, localVarHTTPResponse, newErr } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) newErr.model = v } return localVarReturnValue, localVarHTTPResponse, newErr @@ -923,59 +936,71 @@ func (a *OrgsApiService) OrgsMembersListExecute(r ApiOrgsMembersListRequest) ([] return localVarReturnValue, localVarHTTPResponse, nil } -type ApiOrgsMembersReadRequest struct { +type ApiOrgsListRequest struct { ctx context.Context ApiService *OrgsApiService - org string - member string + page *int64 + pageSize *int64 } -func (r ApiOrgsMembersReadRequest) Execute() (*OrganizationMembership, *http.Response, error) { - return r.ApiService.OrgsMembersReadExecute(r) +// A page number within the paginated result set. +func (r ApiOrgsListRequest) Page(page int64) ApiOrgsListRequest { + r.page = &page + return r +} + +// Number of results to return per page. +func (r ApiOrgsListRequest) PageSize(pageSize int64) ApiOrgsListRequest { + r.pageSize = &pageSize + return r +} + +func (r ApiOrgsListRequest) Execute() ([]OrganizationResponse, *http.Response, error) { + return r.ApiService.OrgsListExecute(r) } /* -OrgsMembersRead Get the details for a specific organization member. +OrgsList Get a list of all the organizations you are associated with. -Get the details for a specific organization member. +Get a list of all the organizations you are associated with. @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - @param org - @param member - @return ApiOrgsMembersReadRequest + @return ApiOrgsListRequest */ -func (a *OrgsApiService) OrgsMembersRead(ctx context.Context, org string, member string) ApiOrgsMembersReadRequest { - return ApiOrgsMembersReadRequest{ +func (a *OrgsApiService) OrgsList(ctx context.Context) ApiOrgsListRequest { + return ApiOrgsListRequest{ ApiService: a, ctx: ctx, - org: org, - member: member, } } // Execute executes the request -// @return OrganizationMembership -func (a *OrgsApiService) OrgsMembersReadExecute(r ApiOrgsMembersReadRequest) (*OrganizationMembership, *http.Response, error) { +// @return []OrganizationResponse +func (a *OrgsApiService) OrgsListExecute(r ApiOrgsListRequest) ([]OrganizationResponse, *http.Response, error) { var ( localVarHTTPMethod = http.MethodGet localVarPostBody interface{} formFiles []formFile - localVarReturnValue *OrganizationMembership + localVarReturnValue []OrganizationResponse ) - localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "OrgsApiService.OrgsMembersRead") + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "OrgsApiService.OrgsList") if err != nil { return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} } - localVarPath := localBasePath + "/orgs/{org}/members/{member}/" - localVarPath = strings.Replace(localVarPath, "{"+"org"+"}", url.PathEscape(parameterToString(r.org, "")), -1) - localVarPath = strings.Replace(localVarPath, "{"+"member"+"}", url.PathEscape(parameterToString(r.member, "")), -1) + localVarPath := localBasePath + "/orgs/" localVarHeaderParams := make(map[string]string) localVarQueryParams := url.Values{} localVarFormParams := url.Values{} + if r.page != nil { + localVarQueryParams.Add("page", parameterToString(*r.page, "")) + } + if r.pageSize != nil { + localVarQueryParams.Add("page_size", parameterToString(*r.pageSize, "")) + } // to determine the Content-Type header localVarHTTPContentTypes := []string{} @@ -986,7 +1011,7 @@ func (a *OrgsApiService) OrgsMembersReadExecute(r ApiOrgsMembersReadRequest) (*O } // to determine the Accept header - localVarHTTPHeaderAccepts := []string{"*/*"} + localVarHTTPHeaderAccepts := []string{"application/json"} // set Accept header localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts) @@ -1030,22 +1055,24 @@ func (a *OrgsApiService) OrgsMembersReadExecute(r ApiOrgsMembersReadRequest) (*O error: localVarHTTPResponse.Status, } if localVarHTTPResponse.StatusCode == 400 { - var v Status + var v ErrorDetail err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { newErr.error = err.Error() return localVarReturnValue, localVarHTTPResponse, newErr } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } if localVarHTTPResponse.StatusCode == 422 { - var v Status + var v ErrorDetail err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { newErr.error = err.Error() return localVarReturnValue, localVarHTTPResponse, newErr } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) newErr.model = v } return localVarReturnValue, localVarHTTPResponse, newErr @@ -1063,29 +1090,29 @@ func (a *OrgsApiService) OrgsMembersReadExecute(r ApiOrgsMembersReadRequest) (*O return localVarReturnValue, localVarHTTPResponse, nil } -type ApiOrgsMembersRemoveRequest struct { +type ApiOrgsMembersDeleteRequest struct { ctx context.Context ApiService *OrgsApiService org string member string } -func (r ApiOrgsMembersRemoveRequest) Execute() (*OrganizationMembership, *http.Response, error) { - return r.ApiService.OrgsMembersRemoveExecute(r) +func (r ApiOrgsMembersDeleteRequest) Execute() (*http.Response, error) { + return r.ApiService.OrgsMembersDeleteExecute(r) } /* -OrgsMembersRemove Removes a member from the organization. +OrgsMembersDelete Removes a member from the organization. Removes a member from the organization. @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param org @param member - @return ApiOrgsMembersRemoveRequest + @return ApiOrgsMembersDeleteRequest */ -func (a *OrgsApiService) OrgsMembersRemove(ctx context.Context, org string, member string) ApiOrgsMembersRemoveRequest { - return ApiOrgsMembersRemoveRequest{ +func (a *OrgsApiService) OrgsMembersDelete(ctx context.Context, org string, member string) ApiOrgsMembersDeleteRequest { + return ApiOrgsMembersDeleteRequest{ ApiService: a, ctx: ctx, org: org, @@ -1094,21 +1121,19 @@ func (a *OrgsApiService) OrgsMembersRemove(ctx context.Context, org string, memb } // Execute executes the request -// @return OrganizationMembership -func (a *OrgsApiService) OrgsMembersRemoveExecute(r ApiOrgsMembersRemoveRequest) (*OrganizationMembership, *http.Response, error) { +func (a *OrgsApiService) OrgsMembersDeleteExecute(r ApiOrgsMembersDeleteRequest) (*http.Response, error) { var ( - localVarHTTPMethod = http.MethodGet - localVarPostBody interface{} - formFiles []formFile - localVarReturnValue *OrganizationMembership + localVarHTTPMethod = http.MethodDelete + localVarPostBody interface{} + formFiles []formFile ) - localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "OrgsApiService.OrgsMembersRemove") + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "OrgsApiService.OrgsMembersDelete") if err != nil { - return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} + return nil, &GenericOpenAPIError{error: err.Error()} } - localVarPath := localBasePath + "/orgs/{org}/members/{member}/remove/" + localVarPath := localBasePath + "/orgs/{org}/members/{member}/" localVarPath = strings.Replace(localVarPath, "{"+"org"+"}", url.PathEscape(parameterToString(r.org, "")), -1) localVarPath = strings.Replace(localVarPath, "{"+"member"+"}", url.PathEscape(parameterToString(r.member, "")), -1) @@ -1126,7 +1151,7 @@ func (a *OrgsApiService) OrgsMembersRemoveExecute(r ApiOrgsMembersRemoveRequest) } // to determine the Accept header - localVarHTTPHeaderAccepts := []string{"*/*"} + localVarHTTPHeaderAccepts := []string{"application/json"} // set Accept header localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts) @@ -1149,19 +1174,19 @@ func (a *OrgsApiService) OrgsMembersRemoveExecute(r ApiOrgsMembersRemoveRequest) } req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) if err != nil { - return localVarReturnValue, nil, err + return nil, err } localVarHTTPResponse, err := a.client.callAPI(req) if err != nil || localVarHTTPResponse == nil { - return localVarReturnValue, localVarHTTPResponse, err + return localVarHTTPResponse, err } localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) localVarHTTPResponse.Body.Close() localVarHTTPResponse.Body = ioutil.NopCloser(bytes.NewBuffer(localVarBody)) if err != nil { - return localVarReturnValue, localVarHTTPResponse, err + return localVarHTTPResponse, err } if localVarHTTPResponse.StatusCode >= 300 { @@ -1170,60 +1195,67 @@ func (a *OrgsApiService) OrgsMembersRemoveExecute(r ApiOrgsMembersRemoveRequest) error: localVarHTTPResponse.Status, } if localVarHTTPResponse.StatusCode == 400 { - var v Status + var v ErrorDetail err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { newErr.error = err.Error() - return localVarReturnValue, localVarHTTPResponse, newErr + return localVarHTTPResponse, newErr } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) newErr.model = v - return localVarReturnValue, localVarHTTPResponse, newErr + return localVarHTTPResponse, newErr } if localVarHTTPResponse.StatusCode == 422 { - var v Status + var v ErrorDetail err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { newErr.error = err.Error() - return localVarReturnValue, localVarHTTPResponse, newErr + return localVarHTTPResponse, newErr } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) newErr.model = v } - return localVarReturnValue, localVarHTTPResponse, newErr - } - - err = a.client.decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - newErr := &GenericOpenAPIError{ - body: localVarBody, - error: err.Error(), - } - return localVarReturnValue, localVarHTTPResponse, newErr + return localVarHTTPResponse, newErr } - return localVarReturnValue, localVarHTTPResponse, nil + return localVarHTTPResponse, nil } -type ApiOrgsReadRequest struct { +type ApiOrgsMembersListRequest struct { ctx context.Context ApiService *OrgsApiService org string + page *int64 + pageSize *int64 } -func (r ApiOrgsReadRequest) Execute() (*Organization, *http.Response, error) { - return r.ApiService.OrgsReadExecute(r) +// A page number within the paginated result set. +func (r ApiOrgsMembersListRequest) Page(page int64) ApiOrgsMembersListRequest { + r.page = &page + return r +} + +// Number of results to return per page. +func (r ApiOrgsMembersListRequest) PageSize(pageSize int64) ApiOrgsMembersListRequest { + r.pageSize = &pageSize + return r +} + +func (r ApiOrgsMembersListRequest) Execute() ([]OrganizationMembershipResponse, *http.Response, error) { + return r.ApiService.OrgsMembersListExecute(r) } /* -OrgsRead Get the details for the specific organization. +OrgsMembersList Get the details for all organization members. -Get the details for the specific organization. +Get the details for all organization members. @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param org - @return ApiOrgsReadRequest + @return ApiOrgsMembersListRequest */ -func (a *OrgsApiService) OrgsRead(ctx context.Context, org string) ApiOrgsReadRequest { - return ApiOrgsReadRequest{ +func (a *OrgsApiService) OrgsMembersList(ctx context.Context, org string) ApiOrgsMembersListRequest { + return ApiOrgsMembersListRequest{ ApiService: a, ctx: ctx, org: org, @@ -1231,27 +1263,33 @@ func (a *OrgsApiService) OrgsRead(ctx context.Context, org string) ApiOrgsReadRe } // Execute executes the request -// @return Organization -func (a *OrgsApiService) OrgsReadExecute(r ApiOrgsReadRequest) (*Organization, *http.Response, error) { +// @return []OrganizationMembershipResponse +func (a *OrgsApiService) OrgsMembersListExecute(r ApiOrgsMembersListRequest) ([]OrganizationMembershipResponse, *http.Response, error) { var ( localVarHTTPMethod = http.MethodGet localVarPostBody interface{} formFiles []formFile - localVarReturnValue *Organization + localVarReturnValue []OrganizationMembershipResponse ) - localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "OrgsApiService.OrgsRead") + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "OrgsApiService.OrgsMembersList") if err != nil { return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} } - localVarPath := localBasePath + "/orgs/{org}/" + localVarPath := localBasePath + "/orgs/{org}/members/" localVarPath = strings.Replace(localVarPath, "{"+"org"+"}", url.PathEscape(parameterToString(r.org, "")), -1) localVarHeaderParams := make(map[string]string) localVarQueryParams := url.Values{} localVarFormParams := url.Values{} + if r.page != nil { + localVarQueryParams.Add("page", parameterToString(*r.page, "")) + } + if r.pageSize != nil { + localVarQueryParams.Add("page_size", parameterToString(*r.pageSize, "")) + } // to determine the Content-Type header localVarHTTPContentTypes := []string{} @@ -1262,7 +1300,7 @@ func (a *OrgsApiService) OrgsReadExecute(r ApiOrgsReadRequest) (*Organization, * } // to determine the Accept header - localVarHTTPHeaderAccepts := []string{"*/*"} + localVarHTTPHeaderAccepts := []string{"application/json"} // set Accept header localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts) @@ -1306,22 +1344,24 @@ func (a *OrgsApiService) OrgsReadExecute(r ApiOrgsReadRequest) (*Organization, * error: localVarHTTPResponse.Status, } if localVarHTTPResponse.StatusCode == 400 { - var v Status + var v ErrorDetail err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { newErr.error = err.Error() return localVarReturnValue, localVarHTTPResponse, newErr } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } if localVarHTTPResponse.StatusCode == 422 { - var v Status + var v ErrorDetail err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { newErr.error = err.Error() return localVarReturnValue, localVarHTTPResponse, newErr } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) newErr.model = v } return localVarReturnValue, localVarHTTPResponse, newErr @@ -1339,63 +1379,61 @@ func (a *OrgsApiService) OrgsReadExecute(r ApiOrgsReadRequest) (*Organization, * return localVarReturnValue, localVarHTTPResponse, nil } -type ApiOrgsSamlGroupSyncCreateRequest struct { +type ApiOrgsMembersReadRequest struct { ctx context.Context ApiService *OrgsApiService org string - data *OrgsSamlGroupSyncCreate -} - -func (r ApiOrgsSamlGroupSyncCreateRequest) Data(data OrgsSamlGroupSyncCreate) ApiOrgsSamlGroupSyncCreateRequest { - r.data = &data - return r + member string } -func (r ApiOrgsSamlGroupSyncCreateRequest) Execute() (*OrganizationGroupSync, *http.Response, error) { - return r.ApiService.OrgsSamlGroupSyncCreateExecute(r) +func (r ApiOrgsMembersReadRequest) Execute() (*OrganizationMembershipResponse, *http.Response, error) { + return r.ApiService.OrgsMembersReadExecute(r) } /* -OrgsSamlGroupSyncCreate Create a new SAML Group Sync mapping within an organization. +OrgsMembersRead Get the details for a specific organization member. -Create a new SAML Group Sync mapping within an organization. +Get the details for a specific organization member. @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param org - @return ApiOrgsSamlGroupSyncCreateRequest + @param member + @return ApiOrgsMembersReadRequest */ -func (a *OrgsApiService) OrgsSamlGroupSyncCreate(ctx context.Context, org string) ApiOrgsSamlGroupSyncCreateRequest { - return ApiOrgsSamlGroupSyncCreateRequest{ +func (a *OrgsApiService) OrgsMembersRead(ctx context.Context, org string, member string) ApiOrgsMembersReadRequest { + return ApiOrgsMembersReadRequest{ ApiService: a, ctx: ctx, org: org, + member: member, } } // Execute executes the request -// @return OrganizationGroupSync -func (a *OrgsApiService) OrgsSamlGroupSyncCreateExecute(r ApiOrgsSamlGroupSyncCreateRequest) (*OrganizationGroupSync, *http.Response, error) { +// @return OrganizationMembershipResponse +func (a *OrgsApiService) OrgsMembersReadExecute(r ApiOrgsMembersReadRequest) (*OrganizationMembershipResponse, *http.Response, error) { var ( - localVarHTTPMethod = http.MethodPost + localVarHTTPMethod = http.MethodGet localVarPostBody interface{} formFiles []formFile - localVarReturnValue *OrganizationGroupSync + localVarReturnValue *OrganizationMembershipResponse ) - localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "OrgsApiService.OrgsSamlGroupSyncCreate") + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "OrgsApiService.OrgsMembersRead") if err != nil { return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} } - localVarPath := localBasePath + "/orgs/{org}/saml-group-sync/" + localVarPath := localBasePath + "/orgs/{org}/members/{member}/" localVarPath = strings.Replace(localVarPath, "{"+"org"+"}", url.PathEscape(parameterToString(r.org, "")), -1) + localVarPath = strings.Replace(localVarPath, "{"+"member"+"}", url.PathEscape(parameterToString(r.member, "")), -1) localVarHeaderParams := make(map[string]string) localVarQueryParams := url.Values{} localVarFormParams := url.Values{} // to determine the Content-Type header - localVarHTTPContentTypes := []string{"application/json"} + localVarHTTPContentTypes := []string{} // set Content-Type header localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes) @@ -1404,15 +1442,13 @@ func (a *OrgsApiService) OrgsSamlGroupSyncCreateExecute(r ApiOrgsSamlGroupSyncCr } // to determine the Accept header - localVarHTTPHeaderAccepts := []string{"*/*"} + localVarHTTPHeaderAccepts := []string{"application/json"} // set Accept header localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts) if localVarHTTPHeaderAccept != "" { localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept } - // body params - localVarPostBody = r.data if r.ctx != nil { // API Key Authentication if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok { @@ -1450,32 +1486,24 @@ func (a *OrgsApiService) OrgsSamlGroupSyncCreateExecute(r ApiOrgsSamlGroupSyncCr error: localVarHTTPResponse.Status, } if localVarHTTPResponse.StatusCode == 400 { - var v Status - err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - newErr.error = err.Error() - return localVarReturnValue, localVarHTTPResponse, newErr - } - newErr.model = v - return localVarReturnValue, localVarHTTPResponse, newErr - } - if localVarHTTPResponse.StatusCode == 404 { - var v Status + var v ErrorDetail err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { newErr.error = err.Error() return localVarReturnValue, localVarHTTPResponse, newErr } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } if localVarHTTPResponse.StatusCode == 422 { - var v Status + var v ErrorDetail err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { newErr.error = err.Error() return localVarReturnValue, localVarHTTPResponse, newErr } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) newErr.model = v } return localVarReturnValue, localVarHTTPResponse, newErr @@ -1493,52 +1521,52 @@ func (a *OrgsApiService) OrgsSamlGroupSyncCreateExecute(r ApiOrgsSamlGroupSyncCr return localVarReturnValue, localVarHTTPResponse, nil } -type ApiOrgsSamlGroupSyncDeleteRequest struct { +type ApiOrgsMembersRemoveRequest struct { ctx context.Context ApiService *OrgsApiService org string - slugPerm string + member string } -func (r ApiOrgsSamlGroupSyncDeleteRequest) Execute() (*http.Response, error) { - return r.ApiService.OrgsSamlGroupSyncDeleteExecute(r) +func (r ApiOrgsMembersRemoveRequest) Execute() (*http.Response, error) { + return r.ApiService.OrgsMembersRemoveExecute(r) } /* -OrgsSamlGroupSyncDelete Delete a SAML Group Sync mapping from an organization. +OrgsMembersRemove Removes a member from the organization (deprecated, use DELETE instead). -Delete a SAML Group Sync mapping from an organization. +Removes a member from the organization (deprecated, use DELETE instead). @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param org - @param slugPerm - @return ApiOrgsSamlGroupSyncDeleteRequest + @param member + @return ApiOrgsMembersRemoveRequest */ -func (a *OrgsApiService) OrgsSamlGroupSyncDelete(ctx context.Context, org string, slugPerm string) ApiOrgsSamlGroupSyncDeleteRequest { - return ApiOrgsSamlGroupSyncDeleteRequest{ +func (a *OrgsApiService) OrgsMembersRemove(ctx context.Context, org string, member string) ApiOrgsMembersRemoveRequest { + return ApiOrgsMembersRemoveRequest{ ApiService: a, ctx: ctx, org: org, - slugPerm: slugPerm, + member: member, } } // Execute executes the request -func (a *OrgsApiService) OrgsSamlGroupSyncDeleteExecute(r ApiOrgsSamlGroupSyncDeleteRequest) (*http.Response, error) { +func (a *OrgsApiService) OrgsMembersRemoveExecute(r ApiOrgsMembersRemoveRequest) (*http.Response, error) { var ( - localVarHTTPMethod = http.MethodDelete + localVarHTTPMethod = http.MethodGet localVarPostBody interface{} formFiles []formFile ) - localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "OrgsApiService.OrgsSamlGroupSyncDelete") + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "OrgsApiService.OrgsMembersRemove") if err != nil { return nil, &GenericOpenAPIError{error: err.Error()} } - localVarPath := localBasePath + "/orgs/{org}/saml-group-sync/{slug_perm}/" + localVarPath := localBasePath + "/orgs/{org}/members/{member}/remove/" localVarPath = strings.Replace(localVarPath, "{"+"org"+"}", url.PathEscape(parameterToString(r.org, "")), -1) - localVarPath = strings.Replace(localVarPath, "{"+"slug_perm"+"}", url.PathEscape(parameterToString(r.slugPerm, "")), -1) + localVarPath = strings.Replace(localVarPath, "{"+"member"+"}", url.PathEscape(parameterToString(r.member, "")), -1) localVarHeaderParams := make(map[string]string) localVarQueryParams := url.Values{} @@ -1554,7 +1582,7 @@ func (a *OrgsApiService) OrgsSamlGroupSyncDeleteExecute(r ApiOrgsSamlGroupSyncDe } // to determine the Accept header - localVarHTTPHeaderAccepts := []string{"*/*"} + localVarHTTPHeaderAccepts := []string{"application/json"} // set Accept header localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts) @@ -1598,22 +1626,24 @@ func (a *OrgsApiService) OrgsSamlGroupSyncDeleteExecute(r ApiOrgsSamlGroupSyncDe error: localVarHTTPResponse.Status, } if localVarHTTPResponse.StatusCode == 400 { - var v Status + var v ErrorDetail err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { newErr.error = err.Error() return localVarHTTPResponse, newErr } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) newErr.model = v return localVarHTTPResponse, newErr } if localVarHTTPResponse.StatusCode == 422 { - var v Status + var v ErrorDetail err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { newErr.error = err.Error() return localVarHTTPResponse, newErr } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) newErr.model = v } return localVarHTTPResponse, newErr @@ -1622,41 +1652,27 @@ func (a *OrgsApiService) OrgsSamlGroupSyncDeleteExecute(r ApiOrgsSamlGroupSyncDe return localVarHTTPResponse, nil } -type ApiOrgsSamlGroupSyncListRequest struct { +type ApiOrgsReadRequest struct { ctx context.Context ApiService *OrgsApiService org string - page *int64 - pageSize *int64 -} - -// A page number within the paginated result set. -func (r ApiOrgsSamlGroupSyncListRequest) Page(page int64) ApiOrgsSamlGroupSyncListRequest { - r.page = &page - return r -} - -// Number of results to return per page. -func (r ApiOrgsSamlGroupSyncListRequest) PageSize(pageSize int64) ApiOrgsSamlGroupSyncListRequest { - r.pageSize = &pageSize - return r } -func (r ApiOrgsSamlGroupSyncListRequest) Execute() ([]OrganizationGroupSync, *http.Response, error) { - return r.ApiService.OrgsSamlGroupSyncListExecute(r) +func (r ApiOrgsReadRequest) Execute() (*OrganizationResponse, *http.Response, error) { + return r.ApiService.OrgsReadExecute(r) } /* -OrgsSamlGroupSyncList Get the details of all SAML Group Sync mapping within an organization. +OrgsRead Get the details for the specific organization. -Get the details of all SAML Group Sync mapping within an organization. +Get the details for the specific organization. @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param org - @return ApiOrgsSamlGroupSyncListRequest + @return ApiOrgsReadRequest */ -func (a *OrgsApiService) OrgsSamlGroupSyncList(ctx context.Context, org string) ApiOrgsSamlGroupSyncListRequest { - return ApiOrgsSamlGroupSyncListRequest{ +func (a *OrgsApiService) OrgsRead(ctx context.Context, org string) ApiOrgsReadRequest { + return ApiOrgsReadRequest{ ApiService: a, ctx: ctx, org: org, @@ -1664,33 +1680,27 @@ func (a *OrgsApiService) OrgsSamlGroupSyncList(ctx context.Context, org string) } // Execute executes the request -// @return []OrganizationGroupSync -func (a *OrgsApiService) OrgsSamlGroupSyncListExecute(r ApiOrgsSamlGroupSyncListRequest) ([]OrganizationGroupSync, *http.Response, error) { +// @return OrganizationResponse +func (a *OrgsApiService) OrgsReadExecute(r ApiOrgsReadRequest) (*OrganizationResponse, *http.Response, error) { var ( localVarHTTPMethod = http.MethodGet localVarPostBody interface{} formFiles []formFile - localVarReturnValue []OrganizationGroupSync + localVarReturnValue *OrganizationResponse ) - localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "OrgsApiService.OrgsSamlGroupSyncList") + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "OrgsApiService.OrgsRead") if err != nil { return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} } - localVarPath := localBasePath + "/orgs/{org}/saml-group-sync/" + localVarPath := localBasePath + "/orgs/{org}/" localVarPath = strings.Replace(localVarPath, "{"+"org"+"}", url.PathEscape(parameterToString(r.org, "")), -1) localVarHeaderParams := make(map[string]string) localVarQueryParams := url.Values{} localVarFormParams := url.Values{} - if r.page != nil { - localVarQueryParams.Add("page", parameterToString(*r.page, "")) - } - if r.pageSize != nil { - localVarQueryParams.Add("page_size", parameterToString(*r.pageSize, "")) - } // to determine the Content-Type header localVarHTTPContentTypes := []string{} @@ -1701,7 +1711,7 @@ func (a *OrgsApiService) OrgsSamlGroupSyncListExecute(r ApiOrgsSamlGroupSyncList } // to determine the Accept header - localVarHTTPHeaderAccepts := []string{"*/*"} + localVarHTTPHeaderAccepts := []string{"application/json"} // set Accept header localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts) @@ -1745,32 +1755,24 @@ func (a *OrgsApiService) OrgsSamlGroupSyncListExecute(r ApiOrgsSamlGroupSyncList error: localVarHTTPResponse.Status, } if localVarHTTPResponse.StatusCode == 400 { - var v Status - err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - newErr.error = err.Error() - return localVarReturnValue, localVarHTTPResponse, newErr - } - newErr.model = v - return localVarReturnValue, localVarHTTPResponse, newErr - } - if localVarHTTPResponse.StatusCode == 404 { - var v Status + var v ErrorDetail err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { newErr.error = err.Error() return localVarReturnValue, localVarHTTPResponse, newErr } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } if localVarHTTPResponse.StatusCode == 422 { - var v Status + var v ErrorDetail err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { newErr.error = err.Error() return localVarReturnValue, localVarHTTPResponse, newErr } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) newErr.model = v } return localVarReturnValue, localVarHTTPResponse, newErr @@ -1788,33 +1790,33 @@ func (a *OrgsApiService) OrgsSamlGroupSyncListExecute(r ApiOrgsSamlGroupSyncList return localVarReturnValue, localVarHTTPResponse, nil } -type ApiOrgsTeamsCreateRequest struct { +type ApiOrgsSamlGroupSyncCreateRequest struct { ctx context.Context ApiService *OrgsApiService org string - data *OrgsTeamsCreate + data *OrganizationGroupSyncRequest } -func (r ApiOrgsTeamsCreateRequest) Data(data OrgsTeamsCreate) ApiOrgsTeamsCreateRequest { +func (r ApiOrgsSamlGroupSyncCreateRequest) Data(data OrganizationGroupSyncRequest) ApiOrgsSamlGroupSyncCreateRequest { r.data = &data return r } -func (r ApiOrgsTeamsCreateRequest) Execute() (*OrganizationTeam, *http.Response, error) { - return r.ApiService.OrgsTeamsCreateExecute(r) +func (r ApiOrgsSamlGroupSyncCreateRequest) Execute() (*OrganizationGroupSyncResponse, *http.Response, error) { + return r.ApiService.OrgsSamlGroupSyncCreateExecute(r) } /* -OrgsTeamsCreate Create a team for this organization. +OrgsSamlGroupSyncCreate Create a new SAML Group Sync mapping within an organization. -Create a team for this organization. +Create a new SAML Group Sync mapping within an organization. @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param org - @return ApiOrgsTeamsCreateRequest + @return ApiOrgsSamlGroupSyncCreateRequest */ -func (a *OrgsApiService) OrgsTeamsCreate(ctx context.Context, org string) ApiOrgsTeamsCreateRequest { - return ApiOrgsTeamsCreateRequest{ +func (a *OrgsApiService) OrgsSamlGroupSyncCreate(ctx context.Context, org string) ApiOrgsSamlGroupSyncCreateRequest { + return ApiOrgsSamlGroupSyncCreateRequest{ ApiService: a, ctx: ctx, org: org, @@ -1822,21 +1824,21 @@ func (a *OrgsApiService) OrgsTeamsCreate(ctx context.Context, org string) ApiOrg } // Execute executes the request -// @return OrganizationTeam -func (a *OrgsApiService) OrgsTeamsCreateExecute(r ApiOrgsTeamsCreateRequest) (*OrganizationTeam, *http.Response, error) { +// @return OrganizationGroupSyncResponse +func (a *OrgsApiService) OrgsSamlGroupSyncCreateExecute(r ApiOrgsSamlGroupSyncCreateRequest) (*OrganizationGroupSyncResponse, *http.Response, error) { var ( localVarHTTPMethod = http.MethodPost localVarPostBody interface{} formFiles []formFile - localVarReturnValue *OrganizationTeam + localVarReturnValue *OrganizationGroupSyncResponse ) - localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "OrgsApiService.OrgsTeamsCreate") + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "OrgsApiService.OrgsSamlGroupSyncCreate") if err != nil { return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} } - localVarPath := localBasePath + "/orgs/{org}/teams/" + localVarPath := localBasePath + "/orgs/{org}/saml-group-sync/" localVarPath = strings.Replace(localVarPath, "{"+"org"+"}", url.PathEscape(parameterToString(r.org, "")), -1) localVarHeaderParams := make(map[string]string) @@ -1853,7 +1855,7 @@ func (a *OrgsApiService) OrgsTeamsCreateExecute(r ApiOrgsTeamsCreateRequest) (*O } // to determine the Accept header - localVarHTTPHeaderAccepts := []string{"*/*"} + localVarHTTPHeaderAccepts := []string{"application/json"} // set Accept header localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts) @@ -1898,23 +1900,36 @@ func (a *OrgsApiService) OrgsTeamsCreateExecute(r ApiOrgsTeamsCreateRequest) (*O body: localVarBody, error: localVarHTTPResponse.Status, } + if localVarHTTPResponse.StatusCode == 404 { + var v ErrorDetail + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v + return localVarReturnValue, localVarHTTPResponse, newErr + } if localVarHTTPResponse.StatusCode == 400 { - var v Status + var v ErrorDetail err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { newErr.error = err.Error() return localVarReturnValue, localVarHTTPResponse, newErr } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } if localVarHTTPResponse.StatusCode == 422 { - var v Status + var v ErrorDetail err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { newErr.error = err.Error() return localVarReturnValue, localVarHTTPResponse, newErr } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) newErr.model = v } return localVarReturnValue, localVarHTTPResponse, newErr @@ -1932,29 +1947,29 @@ func (a *OrgsApiService) OrgsTeamsCreateExecute(r ApiOrgsTeamsCreateRequest) (*O return localVarReturnValue, localVarHTTPResponse, nil } -type ApiOrgsTeamsDeleteRequest struct { +type ApiOrgsSamlGroupSyncDeleteRequest struct { ctx context.Context ApiService *OrgsApiService org string slugPerm string } -func (r ApiOrgsTeamsDeleteRequest) Execute() (*http.Response, error) { - return r.ApiService.OrgsTeamsDeleteExecute(r) +func (r ApiOrgsSamlGroupSyncDeleteRequest) Execute() (*http.Response, error) { + return r.ApiService.OrgsSamlGroupSyncDeleteExecute(r) } /* -OrgsTeamsDelete Delete a specific team in a organization. +OrgsSamlGroupSyncDelete Delete a SAML Group Sync mapping from an organization. -Delete a specific team in a organization. +Delete a SAML Group Sync mapping from an organization. @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param org @param slugPerm - @return ApiOrgsTeamsDeleteRequest + @return ApiOrgsSamlGroupSyncDeleteRequest */ -func (a *OrgsApiService) OrgsTeamsDelete(ctx context.Context, org string, slugPerm string) ApiOrgsTeamsDeleteRequest { - return ApiOrgsTeamsDeleteRequest{ +func (a *OrgsApiService) OrgsSamlGroupSyncDelete(ctx context.Context, org string, slugPerm string) ApiOrgsSamlGroupSyncDeleteRequest { + return ApiOrgsSamlGroupSyncDeleteRequest{ ApiService: a, ctx: ctx, org: org, @@ -1963,19 +1978,19 @@ func (a *OrgsApiService) OrgsTeamsDelete(ctx context.Context, org string, slugPe } // Execute executes the request -func (a *OrgsApiService) OrgsTeamsDeleteExecute(r ApiOrgsTeamsDeleteRequest) (*http.Response, error) { +func (a *OrgsApiService) OrgsSamlGroupSyncDeleteExecute(r ApiOrgsSamlGroupSyncDeleteRequest) (*http.Response, error) { var ( localVarHTTPMethod = http.MethodDelete localVarPostBody interface{} formFiles []formFile ) - localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "OrgsApiService.OrgsTeamsDelete") + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "OrgsApiService.OrgsSamlGroupSyncDelete") if err != nil { return nil, &GenericOpenAPIError{error: err.Error()} } - localVarPath := localBasePath + "/orgs/{org}/teams/{slug_perm}/" + localVarPath := localBasePath + "/orgs/{org}/saml-group-sync/{slug_perm}/" localVarPath = strings.Replace(localVarPath, "{"+"org"+"}", url.PathEscape(parameterToString(r.org, "")), -1) localVarPath = strings.Replace(localVarPath, "{"+"slug_perm"+"}", url.PathEscape(parameterToString(r.slugPerm, "")), -1) @@ -1993,7 +2008,7 @@ func (a *OrgsApiService) OrgsTeamsDeleteExecute(r ApiOrgsTeamsDeleteRequest) (*h } // to determine the Accept header - localVarHTTPHeaderAccepts := []string{"*/*"} + localVarHTTPHeaderAccepts := []string{"application/json"} // set Accept header localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts) @@ -2037,32 +2052,24 @@ func (a *OrgsApiService) OrgsTeamsDeleteExecute(r ApiOrgsTeamsDeleteRequest) (*h error: localVarHTTPResponse.Status, } if localVarHTTPResponse.StatusCode == 400 { - var v Status - err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - newErr.error = err.Error() - return localVarHTTPResponse, newErr - } - newErr.model = v - return localVarHTTPResponse, newErr - } - if localVarHTTPResponse.StatusCode == 404 { - var v Status + var v ErrorDetail err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { newErr.error = err.Error() return localVarHTTPResponse, newErr } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) newErr.model = v return localVarHTTPResponse, newErr } if localVarHTTPResponse.StatusCode == 422 { - var v Status + var v ErrorDetail err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { newErr.error = err.Error() return localVarHTTPResponse, newErr } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) newErr.model = v } return localVarHTTPResponse, newErr @@ -2071,7 +2078,7 @@ func (a *OrgsApiService) OrgsTeamsDeleteExecute(r ApiOrgsTeamsDeleteRequest) (*h return localVarHTTPResponse, nil } -type ApiOrgsTeamsListRequest struct { +type ApiOrgsSamlGroupSyncListRequest struct { ctx context.Context ApiService *OrgsApiService org string @@ -2080,32 +2087,32 @@ type ApiOrgsTeamsListRequest struct { } // A page number within the paginated result set. -func (r ApiOrgsTeamsListRequest) Page(page int64) ApiOrgsTeamsListRequest { +func (r ApiOrgsSamlGroupSyncListRequest) Page(page int64) ApiOrgsSamlGroupSyncListRequest { r.page = &page return r } // Number of results to return per page. -func (r ApiOrgsTeamsListRequest) PageSize(pageSize int64) ApiOrgsTeamsListRequest { +func (r ApiOrgsSamlGroupSyncListRequest) PageSize(pageSize int64) ApiOrgsSamlGroupSyncListRequest { r.pageSize = &pageSize return r } -func (r ApiOrgsTeamsListRequest) Execute() ([]OrganizationTeam, *http.Response, error) { - return r.ApiService.OrgsTeamsListExecute(r) +func (r ApiOrgsSamlGroupSyncListRequest) Execute() ([]OrganizationGroupSyncResponse, *http.Response, error) { + return r.ApiService.OrgsSamlGroupSyncListExecute(r) } /* -OrgsTeamsList Get the details of all teams within an organization. +OrgsSamlGroupSyncList Get the details of all SAML Group Sync mapping within an organization. -Get the details of all teams within an organization. +Get the details of all SAML Group Sync mapping within an organization. @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param org - @return ApiOrgsTeamsListRequest + @return ApiOrgsSamlGroupSyncListRequest */ -func (a *OrgsApiService) OrgsTeamsList(ctx context.Context, org string) ApiOrgsTeamsListRequest { - return ApiOrgsTeamsListRequest{ +func (a *OrgsApiService) OrgsSamlGroupSyncList(ctx context.Context, org string) ApiOrgsSamlGroupSyncListRequest { + return ApiOrgsSamlGroupSyncListRequest{ ApiService: a, ctx: ctx, org: org, @@ -2113,21 +2120,21 @@ func (a *OrgsApiService) OrgsTeamsList(ctx context.Context, org string) ApiOrgsT } // Execute executes the request -// @return []OrganizationTeam -func (a *OrgsApiService) OrgsTeamsListExecute(r ApiOrgsTeamsListRequest) ([]OrganizationTeam, *http.Response, error) { +// @return []OrganizationGroupSyncResponse +func (a *OrgsApiService) OrgsSamlGroupSyncListExecute(r ApiOrgsSamlGroupSyncListRequest) ([]OrganizationGroupSyncResponse, *http.Response, error) { var ( localVarHTTPMethod = http.MethodGet localVarPostBody interface{} formFiles []formFile - localVarReturnValue []OrganizationTeam + localVarReturnValue []OrganizationGroupSyncResponse ) - localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "OrgsApiService.OrgsTeamsList") + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "OrgsApiService.OrgsSamlGroupSyncList") if err != nil { return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} } - localVarPath := localBasePath + "/orgs/{org}/teams/" + localVarPath := localBasePath + "/orgs/{org}/saml-group-sync/" localVarPath = strings.Replace(localVarPath, "{"+"org"+"}", url.PathEscape(parameterToString(r.org, "")), -1) localVarHeaderParams := make(map[string]string) @@ -2150,7 +2157,7 @@ func (a *OrgsApiService) OrgsTeamsListExecute(r ApiOrgsTeamsListRequest) ([]Orga } // to determine the Accept header - localVarHTTPHeaderAccepts := []string{"*/*"} + localVarHTTPHeaderAccepts := []string{"application/json"} // set Accept header localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts) @@ -2193,33 +2200,36 @@ func (a *OrgsApiService) OrgsTeamsListExecute(r ApiOrgsTeamsListRequest) ([]Orga body: localVarBody, error: localVarHTTPResponse.Status, } - if localVarHTTPResponse.StatusCode == 400 { - var v Status + if localVarHTTPResponse.StatusCode == 404 { + var v ErrorDetail err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { newErr.error = err.Error() return localVarReturnValue, localVarHTTPResponse, newErr } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } - if localVarHTTPResponse.StatusCode == 404 { - var v Status + if localVarHTTPResponse.StatusCode == 400 { + var v ErrorDetail err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { newErr.error = err.Error() return localVarReturnValue, localVarHTTPResponse, newErr } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } if localVarHTTPResponse.StatusCode == 422 { - var v Status + var v ErrorDetail err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { newErr.error = err.Error() return localVarReturnValue, localVarHTTPResponse, newErr } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) newErr.model = v } return localVarReturnValue, localVarHTTPResponse, newErr @@ -2237,61 +2247,63 @@ func (a *OrgsApiService) OrgsTeamsListExecute(r ApiOrgsTeamsListRequest) ([]Orga return localVarReturnValue, localVarHTTPResponse, nil } -type ApiOrgsTeamsMembersListRequest struct { +type ApiOrgsServicesCreateRequest struct { ctx context.Context ApiService *OrgsApiService org string - team string + data *ServiceRequest } -func (r ApiOrgsTeamsMembersListRequest) Execute() (*OrganizationTeamMembers, *http.Response, error) { - return r.ApiService.OrgsTeamsMembersListExecute(r) +func (r ApiOrgsServicesCreateRequest) Data(data ServiceRequest) ApiOrgsServicesCreateRequest { + r.data = &data + return r +} + +func (r ApiOrgsServicesCreateRequest) Execute() (*ServiceResponse, *http.Response, error) { + return r.ApiService.OrgsServicesCreateExecute(r) } /* -OrgsTeamsMembersList List all members for the team. +OrgsServicesCreate Create a service within an organization. -List all members for the team. +Create a service within an organization. @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param org - @param team - @return ApiOrgsTeamsMembersListRequest + @return ApiOrgsServicesCreateRequest */ -func (a *OrgsApiService) OrgsTeamsMembersList(ctx context.Context, org string, team string) ApiOrgsTeamsMembersListRequest { - return ApiOrgsTeamsMembersListRequest{ +func (a *OrgsApiService) OrgsServicesCreate(ctx context.Context, org string) ApiOrgsServicesCreateRequest { + return ApiOrgsServicesCreateRequest{ ApiService: a, ctx: ctx, org: org, - team: team, } } // Execute executes the request -// @return OrganizationTeamMembers -func (a *OrgsApiService) OrgsTeamsMembersListExecute(r ApiOrgsTeamsMembersListRequest) (*OrganizationTeamMembers, *http.Response, error) { +// @return ServiceResponse +func (a *OrgsApiService) OrgsServicesCreateExecute(r ApiOrgsServicesCreateRequest) (*ServiceResponse, *http.Response, error) { var ( - localVarHTTPMethod = http.MethodGet + localVarHTTPMethod = http.MethodPost localVarPostBody interface{} formFiles []formFile - localVarReturnValue *OrganizationTeamMembers + localVarReturnValue *ServiceResponse ) - localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "OrgsApiService.OrgsTeamsMembersList") + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "OrgsApiService.OrgsServicesCreate") if err != nil { return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} } - localVarPath := localBasePath + "/orgs/{org}/teams/{team}/members" + localVarPath := localBasePath + "/orgs/{org}/services/" localVarPath = strings.Replace(localVarPath, "{"+"org"+"}", url.PathEscape(parameterToString(r.org, "")), -1) - localVarPath = strings.Replace(localVarPath, "{"+"team"+"}", url.PathEscape(parameterToString(r.team, "")), -1) localVarHeaderParams := make(map[string]string) localVarQueryParams := url.Values{} localVarFormParams := url.Values{} // to determine the Content-Type header - localVarHTTPContentTypes := []string{} + localVarHTTPContentTypes := []string{"application/json"} // set Content-Type header localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes) @@ -2300,13 +2312,15 @@ func (a *OrgsApiService) OrgsTeamsMembersListExecute(r ApiOrgsTeamsMembersListRe } // to determine the Accept header - localVarHTTPHeaderAccepts := []string{"*/*"} + localVarHTTPHeaderAccepts := []string{"application/json"} // set Accept header localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts) if localVarHTTPHeaderAccept != "" { localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept } + // body params + localVarPostBody = r.data if r.ctx != nil { // API Key Authentication if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok { @@ -2343,33 +2357,36 @@ func (a *OrgsApiService) OrgsTeamsMembersListExecute(r ApiOrgsTeamsMembersListRe body: localVarBody, error: localVarHTTPResponse.Status, } - if localVarHTTPResponse.StatusCode == 400 { - var v Status + if localVarHTTPResponse.StatusCode == 404 { + var v ErrorDetail err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { newErr.error = err.Error() return localVarReturnValue, localVarHTTPResponse, newErr } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } - if localVarHTTPResponse.StatusCode == 404 { - var v Status + if localVarHTTPResponse.StatusCode == 400 { + var v ErrorDetail err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { newErr.error = err.Error() return localVarReturnValue, localVarHTTPResponse, newErr } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } if localVarHTTPResponse.StatusCode == 422 { - var v Status + var v ErrorDetail err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { newErr.error = err.Error() return localVarReturnValue, localVarHTTPResponse, newErr } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) newErr.model = v } return localVarReturnValue, localVarHTTPResponse, newErr @@ -2387,67 +2404,59 @@ func (a *OrgsApiService) OrgsTeamsMembersListExecute(r ApiOrgsTeamsMembersListRe return localVarReturnValue, localVarHTTPResponse, nil } -type ApiOrgsTeamsPartialUpdateRequest struct { +type ApiOrgsServicesDeleteRequest struct { ctx context.Context ApiService *OrgsApiService org string - slugPerm string - data *OrgsTeamsPartialUpdate -} - -func (r ApiOrgsTeamsPartialUpdateRequest) Data(data OrgsTeamsPartialUpdate) ApiOrgsTeamsPartialUpdateRequest { - r.data = &data - return r + service string } -func (r ApiOrgsTeamsPartialUpdateRequest) Execute() (*OrganizationTeam, *http.Response, error) { - return r.ApiService.OrgsTeamsPartialUpdateExecute(r) +func (r ApiOrgsServicesDeleteRequest) Execute() (*http.Response, error) { + return r.ApiService.OrgsServicesDeleteExecute(r) } /* -OrgsTeamsPartialUpdate Update a specific team in a organization. +OrgsServicesDelete Delete a specific service -Update a specific team in a organization. +Delete a specific service @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param org - @param slugPerm - @return ApiOrgsTeamsPartialUpdateRequest + @param service + @return ApiOrgsServicesDeleteRequest */ -func (a *OrgsApiService) OrgsTeamsPartialUpdate(ctx context.Context, org string, slugPerm string) ApiOrgsTeamsPartialUpdateRequest { - return ApiOrgsTeamsPartialUpdateRequest{ +func (a *OrgsApiService) OrgsServicesDelete(ctx context.Context, org string, service string) ApiOrgsServicesDeleteRequest { + return ApiOrgsServicesDeleteRequest{ ApiService: a, ctx: ctx, org: org, - slugPerm: slugPerm, + service: service, } } // Execute executes the request -// @return OrganizationTeam -func (a *OrgsApiService) OrgsTeamsPartialUpdateExecute(r ApiOrgsTeamsPartialUpdateRequest) (*OrganizationTeam, *http.Response, error) { +func (a *OrgsApiService) OrgsServicesDeleteExecute(r ApiOrgsServicesDeleteRequest) (*http.Response, error) { var ( - localVarHTTPMethod = http.MethodPatch - localVarPostBody interface{} - formFiles []formFile - localVarReturnValue *OrganizationTeam + localVarHTTPMethod = http.MethodDelete + localVarPostBody interface{} + formFiles []formFile ) - localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "OrgsApiService.OrgsTeamsPartialUpdate") + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "OrgsApiService.OrgsServicesDelete") if err != nil { - return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} + return nil, &GenericOpenAPIError{error: err.Error()} } - localVarPath := localBasePath + "/orgs/{org}/teams/{slug_perm}/" + localVarPath := localBasePath + "/orgs/{org}/services/{service}/" localVarPath = strings.Replace(localVarPath, "{"+"org"+"}", url.PathEscape(parameterToString(r.org, "")), -1) - localVarPath = strings.Replace(localVarPath, "{"+"slug_perm"+"}", url.PathEscape(parameterToString(r.slugPerm, "")), -1) + localVarPath = strings.Replace(localVarPath, "{"+"service"+"}", url.PathEscape(parameterToString(r.service, "")), -1) localVarHeaderParams := make(map[string]string) localVarQueryParams := url.Values{} localVarFormParams := url.Values{} // to determine the Content-Type header - localVarHTTPContentTypes := []string{"application/json"} + localVarHTTPContentTypes := []string{} // set Content-Type header localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes) @@ -2456,15 +2465,13 @@ func (a *OrgsApiService) OrgsTeamsPartialUpdateExecute(r ApiOrgsTeamsPartialUpda } // to determine the Accept header - localVarHTTPHeaderAccepts := []string{"*/*"} + localVarHTTPHeaderAccepts := []string{"application/json"} // set Accept header localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts) if localVarHTTPHeaderAccept != "" { localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept } - // body params - localVarPostBody = r.data if r.ctx != nil { // API Key Authentication if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok { @@ -2481,19 +2488,19 @@ func (a *OrgsApiService) OrgsTeamsPartialUpdateExecute(r ApiOrgsTeamsPartialUpda } req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) if err != nil { - return localVarReturnValue, nil, err + return nil, err } localVarHTTPResponse, err := a.client.callAPI(req) if err != nil || localVarHTTPResponse == nil { - return localVarReturnValue, localVarHTTPResponse, err + return localVarHTTPResponse, err } localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) localVarHTTPResponse.Body.Close() localVarHTTPResponse.Body = ioutil.NopCloser(bytes.NewBuffer(localVarBody)) if err != nil { - return localVarReturnValue, localVarHTTPResponse, err + return localVarHTTPResponse, err } if localVarHTTPResponse.StatusCode >= 300 { @@ -2502,32 +2509,1725 @@ func (a *OrgsApiService) OrgsTeamsPartialUpdateExecute(r ApiOrgsTeamsPartialUpda error: localVarHTTPResponse.Status, } if localVarHTTPResponse.StatusCode == 400 { - var v Status + var v ErrorDetail err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { newErr.error = err.Error() - return localVarReturnValue, localVarHTTPResponse, newErr + return localVarHTTPResponse, newErr } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) newErr.model = v - return localVarReturnValue, localVarHTTPResponse, newErr + return localVarHTTPResponse, newErr } - if localVarHTTPResponse.StatusCode == 404 { - var v Status + if localVarHTTPResponse.StatusCode == 422 { + var v ErrorDetail err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { newErr.error = err.Error() - return localVarReturnValue, localVarHTTPResponse, newErr + return localVarHTTPResponse, newErr } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) newErr.model = v - return localVarReturnValue, localVarHTTPResponse, newErr } - if localVarHTTPResponse.StatusCode == 422 { - var v Status - err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { + return localVarHTTPResponse, newErr + } + + return localVarHTTPResponse, nil +} + +type ApiOrgsServicesListRequest struct { + ctx context.Context + ApiService *OrgsApiService + org string + page *int64 + pageSize *int64 +} + +// A page number within the paginated result set. +func (r ApiOrgsServicesListRequest) Page(page int64) ApiOrgsServicesListRequest { + r.page = &page + return r +} + +// Number of results to return per page. +func (r ApiOrgsServicesListRequest) PageSize(pageSize int64) ApiOrgsServicesListRequest { + r.pageSize = &pageSize + return r +} + +func (r ApiOrgsServicesListRequest) Execute() ([]ServiceResponse, *http.Response, error) { + return r.ApiService.OrgsServicesListExecute(r) +} + +/* +OrgsServicesList Get a list of all services within an organization. + +Get a list of all services within an organization. + + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param org + @return ApiOrgsServicesListRequest +*/ +func (a *OrgsApiService) OrgsServicesList(ctx context.Context, org string) ApiOrgsServicesListRequest { + return ApiOrgsServicesListRequest{ + ApiService: a, + ctx: ctx, + org: org, + } +} + +// Execute executes the request +// @return []ServiceResponse +func (a *OrgsApiService) OrgsServicesListExecute(r ApiOrgsServicesListRequest) ([]ServiceResponse, *http.Response, error) { + var ( + localVarHTTPMethod = http.MethodGet + localVarPostBody interface{} + formFiles []formFile + localVarReturnValue []ServiceResponse + ) + + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "OrgsApiService.OrgsServicesList") + if err != nil { + return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} + } + + localVarPath := localBasePath + "/orgs/{org}/services/" + localVarPath = strings.Replace(localVarPath, "{"+"org"+"}", url.PathEscape(parameterToString(r.org, "")), -1) + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + if r.page != nil { + localVarQueryParams.Add("page", parameterToString(*r.page, "")) + } + if r.pageSize != nil { + localVarQueryParams.Add("page_size", parameterToString(*r.pageSize, "")) + } + // to determine the Content-Type header + localVarHTTPContentTypes := []string{} + + // set Content-Type header + localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes) + if localVarHTTPContentType != "" { + localVarHeaderParams["Content-Type"] = localVarHTTPContentType + } + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/json"} + + // set Accept header + localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts) + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + if r.ctx != nil { + // API Key Authentication + if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok { + if apiKey, ok := auth["apikey"]; ok { + var key string + if apiKey.Prefix != "" { + key = apiKey.Prefix + " " + apiKey.Key + } else { + key = apiKey.Key + } + localVarHeaderParams["X-Api-Key"] = key + } + } + } + req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) + if err != nil { + return localVarReturnValue, nil, err + } + + localVarHTTPResponse, err := a.client.callAPI(req) + if err != nil || localVarHTTPResponse == nil { + return localVarReturnValue, localVarHTTPResponse, err + } + + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) + localVarHTTPResponse.Body.Close() + localVarHTTPResponse.Body = ioutil.NopCloser(bytes.NewBuffer(localVarBody)) + if err != nil { + return localVarReturnValue, localVarHTTPResponse, err + } + + if localVarHTTPResponse.StatusCode >= 300 { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: localVarHTTPResponse.Status, + } + if localVarHTTPResponse.StatusCode == 404 { + var v ErrorDetail + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v + return localVarReturnValue, localVarHTTPResponse, newErr + } + if localVarHTTPResponse.StatusCode == 400 { + var v ErrorDetail + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v + return localVarReturnValue, localVarHTTPResponse, newErr + } + if localVarHTTPResponse.StatusCode == 422 { + var v ErrorDetail + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v + } + return localVarReturnValue, localVarHTTPResponse, newErr + } + + err = a.client.decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: err.Error(), + } + return localVarReturnValue, localVarHTTPResponse, newErr + } + + return localVarReturnValue, localVarHTTPResponse, nil +} + +type ApiOrgsServicesPartialUpdateRequest struct { + ctx context.Context + ApiService *OrgsApiService + org string + service string + data *ServiceRequestPatch +} + +func (r ApiOrgsServicesPartialUpdateRequest) Data(data ServiceRequestPatch) ApiOrgsServicesPartialUpdateRequest { + r.data = &data + return r +} + +func (r ApiOrgsServicesPartialUpdateRequest) Execute() (*ServiceResponse, *http.Response, error) { + return r.ApiService.OrgsServicesPartialUpdateExecute(r) +} + +/* +OrgsServicesPartialUpdate Update a service within an organization. + +Update a service within an organization. + + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param org + @param service + @return ApiOrgsServicesPartialUpdateRequest +*/ +func (a *OrgsApiService) OrgsServicesPartialUpdate(ctx context.Context, org string, service string) ApiOrgsServicesPartialUpdateRequest { + return ApiOrgsServicesPartialUpdateRequest{ + ApiService: a, + ctx: ctx, + org: org, + service: service, + } +} + +// Execute executes the request +// @return ServiceResponse +func (a *OrgsApiService) OrgsServicesPartialUpdateExecute(r ApiOrgsServicesPartialUpdateRequest) (*ServiceResponse, *http.Response, error) { + var ( + localVarHTTPMethod = http.MethodPatch + localVarPostBody interface{} + formFiles []formFile + localVarReturnValue *ServiceResponse + ) + + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "OrgsApiService.OrgsServicesPartialUpdate") + if err != nil { + return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} + } + + localVarPath := localBasePath + "/orgs/{org}/services/{service}/" + localVarPath = strings.Replace(localVarPath, "{"+"org"+"}", url.PathEscape(parameterToString(r.org, "")), -1) + localVarPath = strings.Replace(localVarPath, "{"+"service"+"}", url.PathEscape(parameterToString(r.service, "")), -1) + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + // to determine the Content-Type header + localVarHTTPContentTypes := []string{"application/json"} + + // set Content-Type header + localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes) + if localVarHTTPContentType != "" { + localVarHeaderParams["Content-Type"] = localVarHTTPContentType + } + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/json"} + + // set Accept header + localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts) + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + // body params + localVarPostBody = r.data + if r.ctx != nil { + // API Key Authentication + if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok { + if apiKey, ok := auth["apikey"]; ok { + var key string + if apiKey.Prefix != "" { + key = apiKey.Prefix + " " + apiKey.Key + } else { + key = apiKey.Key + } + localVarHeaderParams["X-Api-Key"] = key + } + } + } + req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) + if err != nil { + return localVarReturnValue, nil, err + } + + localVarHTTPResponse, err := a.client.callAPI(req) + if err != nil || localVarHTTPResponse == nil { + return localVarReturnValue, localVarHTTPResponse, err + } + + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) + localVarHTTPResponse.Body.Close() + localVarHTTPResponse.Body = ioutil.NopCloser(bytes.NewBuffer(localVarBody)) + if err != nil { + return localVarReturnValue, localVarHTTPResponse, err + } + + if localVarHTTPResponse.StatusCode >= 300 { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: localVarHTTPResponse.Status, + } + if localVarHTTPResponse.StatusCode == 404 { + var v ErrorDetail + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v + return localVarReturnValue, localVarHTTPResponse, newErr + } + if localVarHTTPResponse.StatusCode == 400 { + var v ErrorDetail + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v + return localVarReturnValue, localVarHTTPResponse, newErr + } + if localVarHTTPResponse.StatusCode == 422 { + var v ErrorDetail + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v + } + return localVarReturnValue, localVarHTTPResponse, newErr + } + + err = a.client.decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: err.Error(), + } + return localVarReturnValue, localVarHTTPResponse, newErr + } + + return localVarReturnValue, localVarHTTPResponse, nil +} + +type ApiOrgsServicesReadRequest struct { + ctx context.Context + ApiService *OrgsApiService + org string + service string +} + +func (r ApiOrgsServicesReadRequest) Execute() (*ServiceResponse, *http.Response, error) { + return r.ApiService.OrgsServicesReadExecute(r) +} + +/* +OrgsServicesRead Retrieve details of a single service within an organization. + +Retrieve details of a single service within an organization. + + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param org + @param service + @return ApiOrgsServicesReadRequest +*/ +func (a *OrgsApiService) OrgsServicesRead(ctx context.Context, org string, service string) ApiOrgsServicesReadRequest { + return ApiOrgsServicesReadRequest{ + ApiService: a, + ctx: ctx, + org: org, + service: service, + } +} + +// Execute executes the request +// @return ServiceResponse +func (a *OrgsApiService) OrgsServicesReadExecute(r ApiOrgsServicesReadRequest) (*ServiceResponse, *http.Response, error) { + var ( + localVarHTTPMethod = http.MethodGet + localVarPostBody interface{} + formFiles []formFile + localVarReturnValue *ServiceResponse + ) + + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "OrgsApiService.OrgsServicesRead") + if err != nil { + return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} + } + + localVarPath := localBasePath + "/orgs/{org}/services/{service}/" + localVarPath = strings.Replace(localVarPath, "{"+"org"+"}", url.PathEscape(parameterToString(r.org, "")), -1) + localVarPath = strings.Replace(localVarPath, "{"+"service"+"}", url.PathEscape(parameterToString(r.service, "")), -1) + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + // to determine the Content-Type header + localVarHTTPContentTypes := []string{} + + // set Content-Type header + localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes) + if localVarHTTPContentType != "" { + localVarHeaderParams["Content-Type"] = localVarHTTPContentType + } + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/json"} + + // set Accept header + localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts) + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + if r.ctx != nil { + // API Key Authentication + if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok { + if apiKey, ok := auth["apikey"]; ok { + var key string + if apiKey.Prefix != "" { + key = apiKey.Prefix + " " + apiKey.Key + } else { + key = apiKey.Key + } + localVarHeaderParams["X-Api-Key"] = key + } + } + } + req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) + if err != nil { + return localVarReturnValue, nil, err + } + + localVarHTTPResponse, err := a.client.callAPI(req) + if err != nil || localVarHTTPResponse == nil { + return localVarReturnValue, localVarHTTPResponse, err + } + + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) + localVarHTTPResponse.Body.Close() + localVarHTTPResponse.Body = ioutil.NopCloser(bytes.NewBuffer(localVarBody)) + if err != nil { + return localVarReturnValue, localVarHTTPResponse, err + } + + if localVarHTTPResponse.StatusCode >= 300 { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: localVarHTTPResponse.Status, + } + if localVarHTTPResponse.StatusCode == 400 { + var v ErrorDetail + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v + return localVarReturnValue, localVarHTTPResponse, newErr + } + if localVarHTTPResponse.StatusCode == 422 { + var v ErrorDetail + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v + } + return localVarReturnValue, localVarHTTPResponse, newErr + } + + err = a.client.decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: err.Error(), + } + return localVarReturnValue, localVarHTTPResponse, newErr + } + + return localVarReturnValue, localVarHTTPResponse, nil +} + +type ApiOrgsServicesRefreshRequest struct { + ctx context.Context + ApiService *OrgsApiService + org string + service string +} + +func (r ApiOrgsServicesRefreshRequest) Execute() (*ServiceResponse, *http.Response, error) { + return r.ApiService.OrgsServicesRefreshExecute(r) +} + +/* +OrgsServicesRefresh Refresh service API token. + +Refresh service API token. + + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param org + @param service + @return ApiOrgsServicesRefreshRequest +*/ +func (a *OrgsApiService) OrgsServicesRefresh(ctx context.Context, org string, service string) ApiOrgsServicesRefreshRequest { + return ApiOrgsServicesRefreshRequest{ + ApiService: a, + ctx: ctx, + org: org, + service: service, + } +} + +// Execute executes the request +// @return ServiceResponse +func (a *OrgsApiService) OrgsServicesRefreshExecute(r ApiOrgsServicesRefreshRequest) (*ServiceResponse, *http.Response, error) { + var ( + localVarHTTPMethod = http.MethodPost + localVarPostBody interface{} + formFiles []formFile + localVarReturnValue *ServiceResponse + ) + + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "OrgsApiService.OrgsServicesRefresh") + if err != nil { + return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} + } + + localVarPath := localBasePath + "/orgs/{org}/services/{service}/refresh/" + localVarPath = strings.Replace(localVarPath, "{"+"org"+"}", url.PathEscape(parameterToString(r.org, "")), -1) + localVarPath = strings.Replace(localVarPath, "{"+"service"+"}", url.PathEscape(parameterToString(r.service, "")), -1) + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + // to determine the Content-Type header + localVarHTTPContentTypes := []string{} + + // set Content-Type header + localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes) + if localVarHTTPContentType != "" { + localVarHeaderParams["Content-Type"] = localVarHTTPContentType + } + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/json"} + + // set Accept header + localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts) + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + if r.ctx != nil { + // API Key Authentication + if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok { + if apiKey, ok := auth["apikey"]; ok { + var key string + if apiKey.Prefix != "" { + key = apiKey.Prefix + " " + apiKey.Key + } else { + key = apiKey.Key + } + localVarHeaderParams["X-Api-Key"] = key + } + } + } + req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) + if err != nil { + return localVarReturnValue, nil, err + } + + localVarHTTPResponse, err := a.client.callAPI(req) + if err != nil || localVarHTTPResponse == nil { + return localVarReturnValue, localVarHTTPResponse, err + } + + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) + localVarHTTPResponse.Body.Close() + localVarHTTPResponse.Body = ioutil.NopCloser(bytes.NewBuffer(localVarBody)) + if err != nil { + return localVarReturnValue, localVarHTTPResponse, err + } + + if localVarHTTPResponse.StatusCode >= 300 { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: localVarHTTPResponse.Status, + } + if localVarHTTPResponse.StatusCode == 400 { + var v ErrorDetail + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v + return localVarReturnValue, localVarHTTPResponse, newErr + } + if localVarHTTPResponse.StatusCode == 404 { + var v ErrorDetail + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v + return localVarReturnValue, localVarHTTPResponse, newErr + } + if localVarHTTPResponse.StatusCode == 422 { + var v ErrorDetail + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v + } + return localVarReturnValue, localVarHTTPResponse, newErr + } + + err = a.client.decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: err.Error(), + } + return localVarReturnValue, localVarHTTPResponse, newErr + } + + return localVarReturnValue, localVarHTTPResponse, nil +} + +type ApiOrgsTeamsCreateRequest struct { + ctx context.Context + ApiService *OrgsApiService + org string + data *OrganizationTeamRequest +} + +func (r ApiOrgsTeamsCreateRequest) Data(data OrganizationTeamRequest) ApiOrgsTeamsCreateRequest { + r.data = &data + return r +} + +func (r ApiOrgsTeamsCreateRequest) Execute() (*OrganizationTeamResponse, *http.Response, error) { + return r.ApiService.OrgsTeamsCreateExecute(r) +} + +/* +OrgsTeamsCreate Create a team for this organization. + +Create a team for this organization. + + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param org + @return ApiOrgsTeamsCreateRequest +*/ +func (a *OrgsApiService) OrgsTeamsCreate(ctx context.Context, org string) ApiOrgsTeamsCreateRequest { + return ApiOrgsTeamsCreateRequest{ + ApiService: a, + ctx: ctx, + org: org, + } +} + +// Execute executes the request +// @return OrganizationTeamResponse +func (a *OrgsApiService) OrgsTeamsCreateExecute(r ApiOrgsTeamsCreateRequest) (*OrganizationTeamResponse, *http.Response, error) { + var ( + localVarHTTPMethod = http.MethodPost + localVarPostBody interface{} + formFiles []formFile + localVarReturnValue *OrganizationTeamResponse + ) + + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "OrgsApiService.OrgsTeamsCreate") + if err != nil { + return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} + } + + localVarPath := localBasePath + "/orgs/{org}/teams/" + localVarPath = strings.Replace(localVarPath, "{"+"org"+"}", url.PathEscape(parameterToString(r.org, "")), -1) + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + // to determine the Content-Type header + localVarHTTPContentTypes := []string{"application/json"} + + // set Content-Type header + localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes) + if localVarHTTPContentType != "" { + localVarHeaderParams["Content-Type"] = localVarHTTPContentType + } + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/json"} + + // set Accept header + localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts) + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + // body params + localVarPostBody = r.data + if r.ctx != nil { + // API Key Authentication + if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok { + if apiKey, ok := auth["apikey"]; ok { + var key string + if apiKey.Prefix != "" { + key = apiKey.Prefix + " " + apiKey.Key + } else { + key = apiKey.Key + } + localVarHeaderParams["X-Api-Key"] = key + } + } + } + req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) + if err != nil { + return localVarReturnValue, nil, err + } + + localVarHTTPResponse, err := a.client.callAPI(req) + if err != nil || localVarHTTPResponse == nil { + return localVarReturnValue, localVarHTTPResponse, err + } + + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) + localVarHTTPResponse.Body.Close() + localVarHTTPResponse.Body = ioutil.NopCloser(bytes.NewBuffer(localVarBody)) + if err != nil { + return localVarReturnValue, localVarHTTPResponse, err + } + + if localVarHTTPResponse.StatusCode >= 300 { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: localVarHTTPResponse.Status, + } + if localVarHTTPResponse.StatusCode == 400 { + var v ErrorDetail + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v + return localVarReturnValue, localVarHTTPResponse, newErr + } + if localVarHTTPResponse.StatusCode == 422 { + var v ErrorDetail + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v + } + return localVarReturnValue, localVarHTTPResponse, newErr + } + + err = a.client.decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: err.Error(), + } + return localVarReturnValue, localVarHTTPResponse, newErr + } + + return localVarReturnValue, localVarHTTPResponse, nil +} + +type ApiOrgsTeamsDeleteRequest struct { + ctx context.Context + ApiService *OrgsApiService + org string + team string +} + +func (r ApiOrgsTeamsDeleteRequest) Execute() (*http.Response, error) { + return r.ApiService.OrgsTeamsDeleteExecute(r) +} + +/* +OrgsTeamsDelete Delete a specific team in a organization. + +Delete a specific team in a organization. + + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param org + @param team + @return ApiOrgsTeamsDeleteRequest +*/ +func (a *OrgsApiService) OrgsTeamsDelete(ctx context.Context, org string, team string) ApiOrgsTeamsDeleteRequest { + return ApiOrgsTeamsDeleteRequest{ + ApiService: a, + ctx: ctx, + org: org, + team: team, + } +} + +// Execute executes the request +func (a *OrgsApiService) OrgsTeamsDeleteExecute(r ApiOrgsTeamsDeleteRequest) (*http.Response, error) { + var ( + localVarHTTPMethod = http.MethodDelete + localVarPostBody interface{} + formFiles []formFile + ) + + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "OrgsApiService.OrgsTeamsDelete") + if err != nil { + return nil, &GenericOpenAPIError{error: err.Error()} + } + + localVarPath := localBasePath + "/orgs/{org}/teams/{team}/" + localVarPath = strings.Replace(localVarPath, "{"+"org"+"}", url.PathEscape(parameterToString(r.org, "")), -1) + localVarPath = strings.Replace(localVarPath, "{"+"team"+"}", url.PathEscape(parameterToString(r.team, "")), -1) + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + // to determine the Content-Type header + localVarHTTPContentTypes := []string{} + + // set Content-Type header + localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes) + if localVarHTTPContentType != "" { + localVarHeaderParams["Content-Type"] = localVarHTTPContentType + } + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/json"} + + // set Accept header + localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts) + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + if r.ctx != nil { + // API Key Authentication + if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok { + if apiKey, ok := auth["apikey"]; ok { + var key string + if apiKey.Prefix != "" { + key = apiKey.Prefix + " " + apiKey.Key + } else { + key = apiKey.Key + } + localVarHeaderParams["X-Api-Key"] = key + } + } + } + req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := a.client.callAPI(req) + if err != nil || localVarHTTPResponse == nil { + return localVarHTTPResponse, err + } + + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) + localVarHTTPResponse.Body.Close() + localVarHTTPResponse.Body = ioutil.NopCloser(bytes.NewBuffer(localVarBody)) + if err != nil { + return localVarHTTPResponse, err + } + + if localVarHTTPResponse.StatusCode >= 300 { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: localVarHTTPResponse.Status, + } + if localVarHTTPResponse.StatusCode == 400 { + var v ErrorDetail + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v + return localVarHTTPResponse, newErr + } + if localVarHTTPResponse.StatusCode == 404 { + var v ErrorDetail + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v + return localVarHTTPResponse, newErr + } + if localVarHTTPResponse.StatusCode == 422 { + var v ErrorDetail + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v + } + return localVarHTTPResponse, newErr + } + + return localVarHTTPResponse, nil +} + +type ApiOrgsTeamsListRequest struct { + ctx context.Context + ApiService *OrgsApiService + org string + page *int64 + pageSize *int64 +} + +// A page number within the paginated result set. +func (r ApiOrgsTeamsListRequest) Page(page int64) ApiOrgsTeamsListRequest { + r.page = &page + return r +} + +// Number of results to return per page. +func (r ApiOrgsTeamsListRequest) PageSize(pageSize int64) ApiOrgsTeamsListRequest { + r.pageSize = &pageSize + return r +} + +func (r ApiOrgsTeamsListRequest) Execute() ([]OrganizationTeamResponse, *http.Response, error) { + return r.ApiService.OrgsTeamsListExecute(r) +} + +/* +OrgsTeamsList Get the details of all teams within an organization. + +Get the details of all teams within an organization. + + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param org + @return ApiOrgsTeamsListRequest +*/ +func (a *OrgsApiService) OrgsTeamsList(ctx context.Context, org string) ApiOrgsTeamsListRequest { + return ApiOrgsTeamsListRequest{ + ApiService: a, + ctx: ctx, + org: org, + } +} + +// Execute executes the request +// @return []OrganizationTeamResponse +func (a *OrgsApiService) OrgsTeamsListExecute(r ApiOrgsTeamsListRequest) ([]OrganizationTeamResponse, *http.Response, error) { + var ( + localVarHTTPMethod = http.MethodGet + localVarPostBody interface{} + formFiles []formFile + localVarReturnValue []OrganizationTeamResponse + ) + + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "OrgsApiService.OrgsTeamsList") + if err != nil { + return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} + } + + localVarPath := localBasePath + "/orgs/{org}/teams/" + localVarPath = strings.Replace(localVarPath, "{"+"org"+"}", url.PathEscape(parameterToString(r.org, "")), -1) + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + if r.page != nil { + localVarQueryParams.Add("page", parameterToString(*r.page, "")) + } + if r.pageSize != nil { + localVarQueryParams.Add("page_size", parameterToString(*r.pageSize, "")) + } + // to determine the Content-Type header + localVarHTTPContentTypes := []string{} + + // set Content-Type header + localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes) + if localVarHTTPContentType != "" { + localVarHeaderParams["Content-Type"] = localVarHTTPContentType + } + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/json"} + + // set Accept header + localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts) + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + if r.ctx != nil { + // API Key Authentication + if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok { + if apiKey, ok := auth["apikey"]; ok { + var key string + if apiKey.Prefix != "" { + key = apiKey.Prefix + " " + apiKey.Key + } else { + key = apiKey.Key + } + localVarHeaderParams["X-Api-Key"] = key + } + } + } + req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) + if err != nil { + return localVarReturnValue, nil, err + } + + localVarHTTPResponse, err := a.client.callAPI(req) + if err != nil || localVarHTTPResponse == nil { + return localVarReturnValue, localVarHTTPResponse, err + } + + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) + localVarHTTPResponse.Body.Close() + localVarHTTPResponse.Body = ioutil.NopCloser(bytes.NewBuffer(localVarBody)) + if err != nil { + return localVarReturnValue, localVarHTTPResponse, err + } + + if localVarHTTPResponse.StatusCode >= 300 { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: localVarHTTPResponse.Status, + } + if localVarHTTPResponse.StatusCode == 404 { + var v ErrorDetail + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v + return localVarReturnValue, localVarHTTPResponse, newErr + } + if localVarHTTPResponse.StatusCode == 400 { + var v ErrorDetail + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v + return localVarReturnValue, localVarHTTPResponse, newErr + } + if localVarHTTPResponse.StatusCode == 422 { + var v ErrorDetail + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v + } + return localVarReturnValue, localVarHTTPResponse, newErr + } + + err = a.client.decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: err.Error(), + } + return localVarReturnValue, localVarHTTPResponse, newErr + } + + return localVarReturnValue, localVarHTTPResponse, nil +} + +type ApiOrgsTeamsMembersCreateRequest struct { + ctx context.Context + ApiService *OrgsApiService + org string + team string + data *OrganizationTeamMembers +} + +func (r ApiOrgsTeamsMembersCreateRequest) Data(data OrganizationTeamMembers) ApiOrgsTeamsMembersCreateRequest { + r.data = &data + return r +} + +func (r ApiOrgsTeamsMembersCreateRequest) Execute() (*OrganizationTeamMembersResponse, *http.Response, error) { + return r.ApiService.OrgsTeamsMembersCreateExecute(r) +} + +/* +OrgsTeamsMembersCreate Add users to a team. + +Add users to a team. + + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param org + @param team + @return ApiOrgsTeamsMembersCreateRequest +*/ +func (a *OrgsApiService) OrgsTeamsMembersCreate(ctx context.Context, org string, team string) ApiOrgsTeamsMembersCreateRequest { + return ApiOrgsTeamsMembersCreateRequest{ + ApiService: a, + ctx: ctx, + org: org, + team: team, + } +} + +// Execute executes the request +// @return OrganizationTeamMembersResponse +func (a *OrgsApiService) OrgsTeamsMembersCreateExecute(r ApiOrgsTeamsMembersCreateRequest) (*OrganizationTeamMembersResponse, *http.Response, error) { + var ( + localVarHTTPMethod = http.MethodPost + localVarPostBody interface{} + formFiles []formFile + localVarReturnValue *OrganizationTeamMembersResponse + ) + + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "OrgsApiService.OrgsTeamsMembersCreate") + if err != nil { + return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} + } + + localVarPath := localBasePath + "/orgs/{org}/teams/{team}/members" + localVarPath = strings.Replace(localVarPath, "{"+"org"+"}", url.PathEscape(parameterToString(r.org, "")), -1) + localVarPath = strings.Replace(localVarPath, "{"+"team"+"}", url.PathEscape(parameterToString(r.team, "")), -1) + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + // to determine the Content-Type header + localVarHTTPContentTypes := []string{"application/json"} + + // set Content-Type header + localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes) + if localVarHTTPContentType != "" { + localVarHeaderParams["Content-Type"] = localVarHTTPContentType + } + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/json"} + + // set Accept header + localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts) + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + // body params + localVarPostBody = r.data + if r.ctx != nil { + // API Key Authentication + if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok { + if apiKey, ok := auth["apikey"]; ok { + var key string + if apiKey.Prefix != "" { + key = apiKey.Prefix + " " + apiKey.Key + } else { + key = apiKey.Key + } + localVarHeaderParams["X-Api-Key"] = key + } + } + } + req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) + if err != nil { + return localVarReturnValue, nil, err + } + + localVarHTTPResponse, err := a.client.callAPI(req) + if err != nil || localVarHTTPResponse == nil { + return localVarReturnValue, localVarHTTPResponse, err + } + + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) + localVarHTTPResponse.Body.Close() + localVarHTTPResponse.Body = ioutil.NopCloser(bytes.NewBuffer(localVarBody)) + if err != nil { + return localVarReturnValue, localVarHTTPResponse, err + } + + if localVarHTTPResponse.StatusCode >= 300 { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: localVarHTTPResponse.Status, + } + if localVarHTTPResponse.StatusCode == 404 { + var v ErrorDetail + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v + return localVarReturnValue, localVarHTTPResponse, newErr + } + if localVarHTTPResponse.StatusCode == 400 { + var v ErrorDetail + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v + return localVarReturnValue, localVarHTTPResponse, newErr + } + if localVarHTTPResponse.StatusCode == 422 { + var v ErrorDetail + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v + } + return localVarReturnValue, localVarHTTPResponse, newErr + } + + err = a.client.decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: err.Error(), + } + return localVarReturnValue, localVarHTTPResponse, newErr + } + + return localVarReturnValue, localVarHTTPResponse, nil +} + +type ApiOrgsTeamsMembersListRequest struct { + ctx context.Context + ApiService *OrgsApiService + org string + team string +} + +func (r ApiOrgsTeamsMembersListRequest) Execute() (*OrganizationTeamMembersResponse, *http.Response, error) { + return r.ApiService.OrgsTeamsMembersListExecute(r) +} + +/* +OrgsTeamsMembersList List all members for the team. + +List all members for the team. + + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param org + @param team + @return ApiOrgsTeamsMembersListRequest +*/ +func (a *OrgsApiService) OrgsTeamsMembersList(ctx context.Context, org string, team string) ApiOrgsTeamsMembersListRequest { + return ApiOrgsTeamsMembersListRequest{ + ApiService: a, + ctx: ctx, + org: org, + team: team, + } +} + +// Execute executes the request +// @return OrganizationTeamMembersResponse +func (a *OrgsApiService) OrgsTeamsMembersListExecute(r ApiOrgsTeamsMembersListRequest) (*OrganizationTeamMembersResponse, *http.Response, error) { + var ( + localVarHTTPMethod = http.MethodGet + localVarPostBody interface{} + formFiles []formFile + localVarReturnValue *OrganizationTeamMembersResponse + ) + + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "OrgsApiService.OrgsTeamsMembersList") + if err != nil { + return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} + } + + localVarPath := localBasePath + "/orgs/{org}/teams/{team}/members" + localVarPath = strings.Replace(localVarPath, "{"+"org"+"}", url.PathEscape(parameterToString(r.org, "")), -1) + localVarPath = strings.Replace(localVarPath, "{"+"team"+"}", url.PathEscape(parameterToString(r.team, "")), -1) + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + // to determine the Content-Type header + localVarHTTPContentTypes := []string{} + + // set Content-Type header + localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes) + if localVarHTTPContentType != "" { + localVarHeaderParams["Content-Type"] = localVarHTTPContentType + } + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/json"} + + // set Accept header + localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts) + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + if r.ctx != nil { + // API Key Authentication + if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok { + if apiKey, ok := auth["apikey"]; ok { + var key string + if apiKey.Prefix != "" { + key = apiKey.Prefix + " " + apiKey.Key + } else { + key = apiKey.Key + } + localVarHeaderParams["X-Api-Key"] = key + } + } + } + req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) + if err != nil { + return localVarReturnValue, nil, err + } + + localVarHTTPResponse, err := a.client.callAPI(req) + if err != nil || localVarHTTPResponse == nil { + return localVarReturnValue, localVarHTTPResponse, err + } + + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) + localVarHTTPResponse.Body.Close() + localVarHTTPResponse.Body = ioutil.NopCloser(bytes.NewBuffer(localVarBody)) + if err != nil { + return localVarReturnValue, localVarHTTPResponse, err + } + + if localVarHTTPResponse.StatusCode >= 300 { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: localVarHTTPResponse.Status, + } + if localVarHTTPResponse.StatusCode == 404 { + var v ErrorDetail + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v + return localVarReturnValue, localVarHTTPResponse, newErr + } + if localVarHTTPResponse.StatusCode == 400 { + var v ErrorDetail + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v + return localVarReturnValue, localVarHTTPResponse, newErr + } + if localVarHTTPResponse.StatusCode == 422 { + var v ErrorDetail + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v + } + return localVarReturnValue, localVarHTTPResponse, newErr + } + + err = a.client.decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: err.Error(), + } + return localVarReturnValue, localVarHTTPResponse, newErr + } + + return localVarReturnValue, localVarHTTPResponse, nil +} + +type ApiOrgsTeamsMembersUpdateRequest struct { + ctx context.Context + ApiService *OrgsApiService + org string + team string +} + +func (r ApiOrgsTeamsMembersUpdateRequest) Execute() (*OrganizationTeamMembersResponse, *http.Response, error) { + return r.ApiService.OrgsTeamsMembersUpdateExecute(r) +} + +/* +OrgsTeamsMembersUpdate Replace all team members. + +Replace all team members. + + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param org + @param team + @return ApiOrgsTeamsMembersUpdateRequest +*/ +func (a *OrgsApiService) OrgsTeamsMembersUpdate(ctx context.Context, org string, team string) ApiOrgsTeamsMembersUpdateRequest { + return ApiOrgsTeamsMembersUpdateRequest{ + ApiService: a, + ctx: ctx, + org: org, + team: team, + } +} + +// Execute executes the request +// @return OrganizationTeamMembersResponse +func (a *OrgsApiService) OrgsTeamsMembersUpdateExecute(r ApiOrgsTeamsMembersUpdateRequest) (*OrganizationTeamMembersResponse, *http.Response, error) { + var ( + localVarHTTPMethod = http.MethodPut + localVarPostBody interface{} + formFiles []formFile + localVarReturnValue *OrganizationTeamMembersResponse + ) + + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "OrgsApiService.OrgsTeamsMembersUpdate") + if err != nil { + return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} + } + + localVarPath := localBasePath + "/orgs/{org}/teams/{team}/members" + localVarPath = strings.Replace(localVarPath, "{"+"org"+"}", url.PathEscape(parameterToString(r.org, "")), -1) + localVarPath = strings.Replace(localVarPath, "{"+"team"+"}", url.PathEscape(parameterToString(r.team, "")), -1) + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + // to determine the Content-Type header + localVarHTTPContentTypes := []string{} + + // set Content-Type header + localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes) + if localVarHTTPContentType != "" { + localVarHeaderParams["Content-Type"] = localVarHTTPContentType + } + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/json"} + + // set Accept header + localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts) + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + if r.ctx != nil { + // API Key Authentication + if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok { + if apiKey, ok := auth["apikey"]; ok { + var key string + if apiKey.Prefix != "" { + key = apiKey.Prefix + " " + apiKey.Key + } else { + key = apiKey.Key + } + localVarHeaderParams["X-Api-Key"] = key + } + } + } + req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) + if err != nil { + return localVarReturnValue, nil, err + } + + localVarHTTPResponse, err := a.client.callAPI(req) + if err != nil || localVarHTTPResponse == nil { + return localVarReturnValue, localVarHTTPResponse, err + } + + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) + localVarHTTPResponse.Body.Close() + localVarHTTPResponse.Body = ioutil.NopCloser(bytes.NewBuffer(localVarBody)) + if err != nil { + return localVarReturnValue, localVarHTTPResponse, err + } + + if localVarHTTPResponse.StatusCode >= 300 { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: localVarHTTPResponse.Status, + } + if localVarHTTPResponse.StatusCode == 404 { + var v ErrorDetail + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v + return localVarReturnValue, localVarHTTPResponse, newErr + } + if localVarHTTPResponse.StatusCode == 400 { + var v ErrorDetail + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v + return localVarReturnValue, localVarHTTPResponse, newErr + } + if localVarHTTPResponse.StatusCode == 422 { + var v ErrorDetail + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v + } + return localVarReturnValue, localVarHTTPResponse, newErr + } + + err = a.client.decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: err.Error(), + } + return localVarReturnValue, localVarHTTPResponse, newErr + } + + return localVarReturnValue, localVarHTTPResponse, nil +} + +type ApiOrgsTeamsPartialUpdateRequest struct { + ctx context.Context + ApiService *OrgsApiService + org string + team string + data *OrganizationTeamRequestPatch +} + +func (r ApiOrgsTeamsPartialUpdateRequest) Data(data OrganizationTeamRequestPatch) ApiOrgsTeamsPartialUpdateRequest { + r.data = &data + return r +} + +func (r ApiOrgsTeamsPartialUpdateRequest) Execute() (*OrganizationTeamResponse, *http.Response, error) { + return r.ApiService.OrgsTeamsPartialUpdateExecute(r) +} + +/* +OrgsTeamsPartialUpdate Update a specific team in a organization. + +Update a specific team in a organization. + + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param org + @param team + @return ApiOrgsTeamsPartialUpdateRequest +*/ +func (a *OrgsApiService) OrgsTeamsPartialUpdate(ctx context.Context, org string, team string) ApiOrgsTeamsPartialUpdateRequest { + return ApiOrgsTeamsPartialUpdateRequest{ + ApiService: a, + ctx: ctx, + org: org, + team: team, + } +} + +// Execute executes the request +// @return OrganizationTeamResponse +func (a *OrgsApiService) OrgsTeamsPartialUpdateExecute(r ApiOrgsTeamsPartialUpdateRequest) (*OrganizationTeamResponse, *http.Response, error) { + var ( + localVarHTTPMethod = http.MethodPatch + localVarPostBody interface{} + formFiles []formFile + localVarReturnValue *OrganizationTeamResponse + ) + + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "OrgsApiService.OrgsTeamsPartialUpdate") + if err != nil { + return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} + } + + localVarPath := localBasePath + "/orgs/{org}/teams/{team}/" + localVarPath = strings.Replace(localVarPath, "{"+"org"+"}", url.PathEscape(parameterToString(r.org, "")), -1) + localVarPath = strings.Replace(localVarPath, "{"+"team"+"}", url.PathEscape(parameterToString(r.team, "")), -1) + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + // to determine the Content-Type header + localVarHTTPContentTypes := []string{"application/json"} + + // set Content-Type header + localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes) + if localVarHTTPContentType != "" { + localVarHeaderParams["Content-Type"] = localVarHTTPContentType + } + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/json"} + + // set Accept header + localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts) + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + // body params + localVarPostBody = r.data + if r.ctx != nil { + // API Key Authentication + if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok { + if apiKey, ok := auth["apikey"]; ok { + var key string + if apiKey.Prefix != "" { + key = apiKey.Prefix + " " + apiKey.Key + } else { + key = apiKey.Key + } + localVarHeaderParams["X-Api-Key"] = key + } + } + } + req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) + if err != nil { + return localVarReturnValue, nil, err + } + + localVarHTTPResponse, err := a.client.callAPI(req) + if err != nil || localVarHTTPResponse == nil { + return localVarReturnValue, localVarHTTPResponse, err + } + + localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) + localVarHTTPResponse.Body.Close() + localVarHTTPResponse.Body = ioutil.NopCloser(bytes.NewBuffer(localVarBody)) + if err != nil { + return localVarReturnValue, localVarHTTPResponse, err + } + + if localVarHTTPResponse.StatusCode >= 300 { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: localVarHTTPResponse.Status, + } + if localVarHTTPResponse.StatusCode == 400 { + var v ErrorDetail + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v + return localVarReturnValue, localVarHTTPResponse, newErr + } + if localVarHTTPResponse.StatusCode == 404 { + var v ErrorDetail + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v + return localVarReturnValue, localVarHTTPResponse, newErr + } + if localVarHTTPResponse.StatusCode == 422 { + var v ErrorDetail + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { newErr.error = err.Error() return localVarReturnValue, localVarHTTPResponse, newErr } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) newErr.model = v } return localVarReturnValue, localVarHTTPResponse, newErr @@ -2549,40 +4249,40 @@ type ApiOrgsTeamsReadRequest struct { ctx context.Context ApiService *OrgsApiService org string - slugPerm string + team string } -func (r ApiOrgsTeamsReadRequest) Execute() (*OrganizationTeam, *http.Response, error) { +func (r ApiOrgsTeamsReadRequest) Execute() (*OrganizationTeamResponse, *http.Response, error) { return r.ApiService.OrgsTeamsReadExecute(r) } /* -OrgsTeamsRead Viewset for working with Organization teams. +OrgsTeamsRead Get the details of a specific team within an organization. -Viewset for working with Organization teams. +Get the details of a specific team within an organization. @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param org - @param slugPerm + @param team @return ApiOrgsTeamsReadRequest */ -func (a *OrgsApiService) OrgsTeamsRead(ctx context.Context, org string, slugPerm string) ApiOrgsTeamsReadRequest { +func (a *OrgsApiService) OrgsTeamsRead(ctx context.Context, org string, team string) ApiOrgsTeamsReadRequest { return ApiOrgsTeamsReadRequest{ ApiService: a, ctx: ctx, org: org, - slugPerm: slugPerm, + team: team, } } // Execute executes the request -// @return OrganizationTeam -func (a *OrgsApiService) OrgsTeamsReadExecute(r ApiOrgsTeamsReadRequest) (*OrganizationTeam, *http.Response, error) { +// @return OrganizationTeamResponse +func (a *OrgsApiService) OrgsTeamsReadExecute(r ApiOrgsTeamsReadRequest) (*OrganizationTeamResponse, *http.Response, error) { var ( localVarHTTPMethod = http.MethodGet localVarPostBody interface{} formFiles []formFile - localVarReturnValue *OrganizationTeam + localVarReturnValue *OrganizationTeamResponse ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "OrgsApiService.OrgsTeamsRead") @@ -2590,9 +4290,9 @@ func (a *OrgsApiService) OrgsTeamsReadExecute(r ApiOrgsTeamsReadRequest) (*Organ return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} } - localVarPath := localBasePath + "/orgs/{org}/teams/{slug_perm}/" + localVarPath := localBasePath + "/orgs/{org}/teams/{team}/" localVarPath = strings.Replace(localVarPath, "{"+"org"+"}", url.PathEscape(parameterToString(r.org, "")), -1) - localVarPath = strings.Replace(localVarPath, "{"+"slug_perm"+"}", url.PathEscape(parameterToString(r.slugPerm, "")), -1) + localVarPath = strings.Replace(localVarPath, "{"+"team"+"}", url.PathEscape(parameterToString(r.team, "")), -1) localVarHeaderParams := make(map[string]string) localVarQueryParams := url.Values{} @@ -2608,7 +4308,7 @@ func (a *OrgsApiService) OrgsTeamsReadExecute(r ApiOrgsTeamsReadRequest) (*Organ } // to determine the Accept header - localVarHTTPHeaderAccepts := []string{"*/*"} + localVarHTTPHeaderAccepts := []string{"application/json"} // set Accept header localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts) @@ -2651,23 +4351,36 @@ func (a *OrgsApiService) OrgsTeamsReadExecute(r ApiOrgsTeamsReadRequest) (*Organ body: localVarBody, error: localVarHTTPResponse.Status, } + if localVarHTTPResponse.StatusCode == 404 { + var v ErrorDetail + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v + return localVarReturnValue, localVarHTTPResponse, newErr + } if localVarHTTPResponse.StatusCode == 400 { - var v Status + var v ErrorDetail err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { newErr.error = err.Error() return localVarReturnValue, localVarHTTPResponse, newErr } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } if localVarHTTPResponse.StatusCode == 422 { - var v Status + var v ErrorDetail err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { newErr.error = err.Error() return localVarReturnValue, localVarHTTPResponse, newErr } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) newErr.model = v } return localVarReturnValue, localVarHTTPResponse, newErr diff --git a/api_packages.go b/api_packages.go index 70deb202..181bcd55 100644 --- a/api_packages.go +++ b/api_packages.go @@ -1,9 +1,9 @@ /* -Cloudsmith API +Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.121.3 +API version: 1.181.6 Contact: support@cloudsmith.io */ @@ -20,11 +20,6 @@ import ( "strings" ) -// Linger please -var ( - _ context.Context -) - // PackagesApiService PackagesApi service type PackagesApiService service @@ -34,15 +29,15 @@ type ApiPackagesCopyRequest struct { owner string repo string identifier string - data *PackagesCopy + data *PackageCopyRequest } -func (r ApiPackagesCopyRequest) Data(data PackagesCopy) ApiPackagesCopyRequest { +func (r ApiPackagesCopyRequest) Data(data PackageCopyRequest) ApiPackagesCopyRequest { r.data = &data return r } -func (r ApiPackagesCopyRequest) Execute() (*PackageCopy, *http.Response, error) { +func (r ApiPackagesCopyRequest) Execute() (*PackageCopyResponse, *http.Response, error) { return r.ApiService.PackagesCopyExecute(r) } @@ -68,13 +63,13 @@ func (a *PackagesApiService) PackagesCopy(ctx context.Context, owner string, rep } // Execute executes the request -// @return PackageCopy -func (a *PackagesApiService) PackagesCopyExecute(r ApiPackagesCopyRequest) (*PackageCopy, *http.Response, error) { +// @return PackageCopyResponse +func (a *PackagesApiService) PackagesCopyExecute(r ApiPackagesCopyRequest) (*PackageCopyResponse, *http.Response, error) { var ( localVarHTTPMethod = http.MethodPost localVarPostBody interface{} formFiles []formFile - localVarReturnValue *PackageCopy + localVarReturnValue *PackageCopyResponse ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "PackagesApiService.PackagesCopy") @@ -101,7 +96,7 @@ func (a *PackagesApiService) PackagesCopyExecute(r ApiPackagesCopyRequest) (*Pac } // to determine the Accept header - localVarHTTPHeaderAccepts := []string{"*/*"} + localVarHTTPHeaderAccepts := []string{"application/json"} // set Accept header localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts) @@ -147,22 +142,24 @@ func (a *PackagesApiService) PackagesCopyExecute(r ApiPackagesCopyRequest) (*Pac error: localVarHTTPResponse.Status, } if localVarHTTPResponse.StatusCode == 400 { - var v Status + var v ErrorDetail err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { newErr.error = err.Error() return localVarReturnValue, localVarHTTPResponse, newErr } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } if localVarHTTPResponse.StatusCode == 422 { - var v Status + var v ErrorDetail err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { newErr.error = err.Error() return localVarReturnValue, localVarHTTPResponse, newErr } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) newErr.model = v } return localVarReturnValue, localVarHTTPResponse, newErr @@ -245,7 +242,7 @@ func (a *PackagesApiService) PackagesDeleteExecute(r ApiPackagesDeleteRequest) ( } // to determine the Accept header - localVarHTTPHeaderAccepts := []string{"*/*"} + localVarHTTPHeaderAccepts := []string{"application/json"} // set Accept header localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts) @@ -289,22 +286,24 @@ func (a *PackagesApiService) PackagesDeleteExecute(r ApiPackagesDeleteRequest) ( error: localVarHTTPResponse.Status, } if localVarHTTPResponse.StatusCode == 400 { - var v Status + var v ErrorDetail err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { newErr.error = err.Error() return localVarHTTPResponse, newErr } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) newErr.model = v return localVarHTTPResponse, newErr } if localVarHTTPResponse.StatusCode == 422 { - var v Status + var v ErrorDetail err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { newErr.error = err.Error() return localVarHTTPResponse, newErr } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) newErr.model = v } return localVarHTTPResponse, newErr @@ -321,7 +320,7 @@ type ApiPackagesDependenciesRequest struct { identifier string } -func (r ApiPackagesDependenciesRequest) Execute() (*PackageDependencies, *http.Response, error) { +func (r ApiPackagesDependenciesRequest) Execute() (*PackageDependenciesResponse, *http.Response, error) { return r.ApiService.PackagesDependenciesExecute(r) } @@ -347,13 +346,13 @@ func (a *PackagesApiService) PackagesDependencies(ctx context.Context, owner str } // Execute executes the request -// @return PackageDependencies -func (a *PackagesApiService) PackagesDependenciesExecute(r ApiPackagesDependenciesRequest) (*PackageDependencies, *http.Response, error) { +// @return PackageDependenciesResponse +func (a *PackagesApiService) PackagesDependenciesExecute(r ApiPackagesDependenciesRequest) (*PackageDependenciesResponse, *http.Response, error) { var ( localVarHTTPMethod = http.MethodGet localVarPostBody interface{} formFiles []formFile - localVarReturnValue *PackageDependencies + localVarReturnValue *PackageDependenciesResponse ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "PackagesApiService.PackagesDependencies") @@ -380,7 +379,7 @@ func (a *PackagesApiService) PackagesDependenciesExecute(r ApiPackagesDependenci } // to determine the Accept header - localVarHTTPHeaderAccepts := []string{"*/*"} + localVarHTTPHeaderAccepts := []string{"application/json"} // set Accept header localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts) @@ -424,22 +423,24 @@ func (a *PackagesApiService) PackagesDependenciesExecute(r ApiPackagesDependenci error: localVarHTTPResponse.Status, } if localVarHTTPResponse.StatusCode == 400 { - var v Status + var v ErrorDetail err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { newErr.error = err.Error() return localVarReturnValue, localVarHTTPResponse, newErr } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } if localVarHTTPResponse.StatusCode == 422 { - var v Status + var v ErrorDetail err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { newErr.error = err.Error() return localVarReturnValue, localVarHTTPResponse, newErr } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) newErr.model = v } return localVarReturnValue, localVarHTTPResponse, newErr @@ -492,7 +493,7 @@ func (r ApiPackagesListRequest) Sort(sort string) ApiPackagesListRequest { return r } -func (r ApiPackagesListRequest) Execute() ([]Package, *http.Response, error) { +func (r ApiPackagesListRequest) Execute() ([]PackageResponse, *http.Response, error) { return r.ApiService.PackagesListExecute(r) } @@ -516,13 +517,13 @@ func (a *PackagesApiService) PackagesList(ctx context.Context, owner string, rep } // Execute executes the request -// @return []Package -func (a *PackagesApiService) PackagesListExecute(r ApiPackagesListRequest) ([]Package, *http.Response, error) { +// @return []PackageResponse +func (a *PackagesApiService) PackagesListExecute(r ApiPackagesListRequest) ([]PackageResponse, *http.Response, error) { var ( localVarHTTPMethod = http.MethodGet localVarPostBody interface{} formFiles []formFile - localVarReturnValue []Package + localVarReturnValue []PackageResponse ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "PackagesApiService.PackagesList") @@ -560,7 +561,7 @@ func (a *PackagesApiService) PackagesListExecute(r ApiPackagesListRequest) ([]Pa } // to determine the Accept header - localVarHTTPHeaderAccepts := []string{"*/*"} + localVarHTTPHeaderAccepts := []string{"application/json"} // set Accept header localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts) @@ -604,22 +605,24 @@ func (a *PackagesApiService) PackagesListExecute(r ApiPackagesListRequest) ([]Pa error: localVarHTTPResponse.Status, } if localVarHTTPResponse.StatusCode == 400 { - var v Status + var v ErrorDetail err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { newErr.error = err.Error() return localVarReturnValue, localVarHTTPResponse, newErr } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } if localVarHTTPResponse.StatusCode == 422 { - var v Status + var v ErrorDetail err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { newErr.error = err.Error() return localVarReturnValue, localVarHTTPResponse, newErr } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) newErr.model = v } return localVarReturnValue, localVarHTTPResponse, newErr @@ -643,15 +646,15 @@ type ApiPackagesMoveRequest struct { owner string repo string identifier string - data *PackagesMove + data *PackageMoveRequest } -func (r ApiPackagesMoveRequest) Data(data PackagesMove) ApiPackagesMoveRequest { +func (r ApiPackagesMoveRequest) Data(data PackageMoveRequest) ApiPackagesMoveRequest { r.data = &data return r } -func (r ApiPackagesMoveRequest) Execute() (*PackageMove, *http.Response, error) { +func (r ApiPackagesMoveRequest) Execute() (*PackageMoveResponse, *http.Response, error) { return r.ApiService.PackagesMoveExecute(r) } @@ -677,13 +680,13 @@ func (a *PackagesApiService) PackagesMove(ctx context.Context, owner string, rep } // Execute executes the request -// @return PackageMove -func (a *PackagesApiService) PackagesMoveExecute(r ApiPackagesMoveRequest) (*PackageMove, *http.Response, error) { +// @return PackageMoveResponse +func (a *PackagesApiService) PackagesMoveExecute(r ApiPackagesMoveRequest) (*PackageMoveResponse, *http.Response, error) { var ( localVarHTTPMethod = http.MethodPost localVarPostBody interface{} formFiles []formFile - localVarReturnValue *PackageMove + localVarReturnValue *PackageMoveResponse ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "PackagesApiService.PackagesMove") @@ -710,7 +713,7 @@ func (a *PackagesApiService) PackagesMoveExecute(r ApiPackagesMoveRequest) (*Pac } // to determine the Accept header - localVarHTTPHeaderAccepts := []string{"*/*"} + localVarHTTPHeaderAccepts := []string{"application/json"} // set Accept header localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts) @@ -756,22 +759,24 @@ func (a *PackagesApiService) PackagesMoveExecute(r ApiPackagesMoveRequest) (*Pac error: localVarHTTPResponse.Status, } if localVarHTTPResponse.StatusCode == 400 { - var v Status + var v ErrorDetail err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { newErr.error = err.Error() return localVarReturnValue, localVarHTTPResponse, newErr } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } if localVarHTTPResponse.StatusCode == 422 { - var v Status + var v ErrorDetail err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { newErr.error = err.Error() return localVarReturnValue, localVarHTTPResponse, newErr } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) newErr.model = v } return localVarReturnValue, localVarHTTPResponse, newErr @@ -795,15 +800,15 @@ type ApiPackagesQuarantineRequest struct { owner string repo string identifier string - data *PackagesQuarantine + data *PackageQuarantineRequest } -func (r ApiPackagesQuarantineRequest) Data(data PackagesQuarantine) ApiPackagesQuarantineRequest { +func (r ApiPackagesQuarantineRequest) Data(data PackageQuarantineRequest) ApiPackagesQuarantineRequest { r.data = &data return r } -func (r ApiPackagesQuarantineRequest) Execute() (*PackageQuarantine, *http.Response, error) { +func (r ApiPackagesQuarantineRequest) Execute() (*PackageQuarantineResponse, *http.Response, error) { return r.ApiService.PackagesQuarantineExecute(r) } @@ -829,13 +834,13 @@ func (a *PackagesApiService) PackagesQuarantine(ctx context.Context, owner strin } // Execute executes the request -// @return PackageQuarantine -func (a *PackagesApiService) PackagesQuarantineExecute(r ApiPackagesQuarantineRequest) (*PackageQuarantine, *http.Response, error) { +// @return PackageQuarantineResponse +func (a *PackagesApiService) PackagesQuarantineExecute(r ApiPackagesQuarantineRequest) (*PackageQuarantineResponse, *http.Response, error) { var ( localVarHTTPMethod = http.MethodPost localVarPostBody interface{} formFiles []formFile - localVarReturnValue *PackageQuarantine + localVarReturnValue *PackageQuarantineResponse ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "PackagesApiService.PackagesQuarantine") @@ -862,7 +867,7 @@ func (a *PackagesApiService) PackagesQuarantineExecute(r ApiPackagesQuarantineRe } // to determine the Accept header - localVarHTTPHeaderAccepts := []string{"*/*"} + localVarHTTPHeaderAccepts := []string{"application/json"} // set Accept header localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts) @@ -908,22 +913,24 @@ func (a *PackagesApiService) PackagesQuarantineExecute(r ApiPackagesQuarantineRe error: localVarHTTPResponse.Status, } if localVarHTTPResponse.StatusCode == 400 { - var v Status + var v ErrorDetail err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { newErr.error = err.Error() return localVarReturnValue, localVarHTTPResponse, newErr } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } if localVarHTTPResponse.StatusCode == 422 { - var v Status + var v ErrorDetail err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { newErr.error = err.Error() return localVarReturnValue, localVarHTTPResponse, newErr } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) newErr.model = v } return localVarReturnValue, localVarHTTPResponse, newErr @@ -949,7 +956,7 @@ type ApiPackagesReadRequest struct { identifier string } -func (r ApiPackagesReadRequest) Execute() (*Package, *http.Response, error) { +func (r ApiPackagesReadRequest) Execute() (*PackageResponse, *http.Response, error) { return r.ApiService.PackagesReadExecute(r) } @@ -975,13 +982,13 @@ func (a *PackagesApiService) PackagesRead(ctx context.Context, owner string, rep } // Execute executes the request -// @return Package -func (a *PackagesApiService) PackagesReadExecute(r ApiPackagesReadRequest) (*Package, *http.Response, error) { +// @return PackageResponse +func (a *PackagesApiService) PackagesReadExecute(r ApiPackagesReadRequest) (*PackageResponse, *http.Response, error) { var ( localVarHTTPMethod = http.MethodGet localVarPostBody interface{} formFiles []formFile - localVarReturnValue *Package + localVarReturnValue *PackageResponse ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "PackagesApiService.PackagesRead") @@ -1008,7 +1015,7 @@ func (a *PackagesApiService) PackagesReadExecute(r ApiPackagesReadRequest) (*Pac } // to determine the Accept header - localVarHTTPHeaderAccepts := []string{"*/*"} + localVarHTTPHeaderAccepts := []string{"application/json"} // set Accept header localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts) @@ -1052,22 +1059,24 @@ func (a *PackagesApiService) PackagesReadExecute(r ApiPackagesReadRequest) (*Pac error: localVarHTTPResponse.Status, } if localVarHTTPResponse.StatusCode == 400 { - var v Status + var v ErrorDetail err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { newErr.error = err.Error() return localVarReturnValue, localVarHTTPResponse, newErr } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } if localVarHTTPResponse.StatusCode == 422 { - var v Status + var v ErrorDetail err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { newErr.error = err.Error() return localVarReturnValue, localVarHTTPResponse, newErr } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) newErr.model = v } return localVarReturnValue, localVarHTTPResponse, newErr @@ -1093,7 +1102,7 @@ type ApiPackagesResyncRequest struct { identifier string } -func (r ApiPackagesResyncRequest) Execute() (*PackageResync, *http.Response, error) { +func (r ApiPackagesResyncRequest) Execute() (*PackageResyncResponse, *http.Response, error) { return r.ApiService.PackagesResyncExecute(r) } @@ -1119,13 +1128,13 @@ func (a *PackagesApiService) PackagesResync(ctx context.Context, owner string, r } // Execute executes the request -// @return PackageResync -func (a *PackagesApiService) PackagesResyncExecute(r ApiPackagesResyncRequest) (*PackageResync, *http.Response, error) { +// @return PackageResyncResponse +func (a *PackagesApiService) PackagesResyncExecute(r ApiPackagesResyncRequest) (*PackageResyncResponse, *http.Response, error) { var ( localVarHTTPMethod = http.MethodPost localVarPostBody interface{} formFiles []formFile - localVarReturnValue *PackageResync + localVarReturnValue *PackageResyncResponse ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "PackagesApiService.PackagesResync") @@ -1152,7 +1161,7 @@ func (a *PackagesApiService) PackagesResyncExecute(r ApiPackagesResyncRequest) ( } // to determine the Accept header - localVarHTTPHeaderAccepts := []string{"*/*"} + localVarHTTPHeaderAccepts := []string{"application/json"} // set Accept header localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts) @@ -1196,22 +1205,24 @@ func (a *PackagesApiService) PackagesResyncExecute(r ApiPackagesResyncRequest) ( error: localVarHTTPResponse.Status, } if localVarHTTPResponse.StatusCode == 400 { - var v Status + var v ErrorDetail err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { newErr.error = err.Error() return localVarReturnValue, localVarHTTPResponse, newErr } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } if localVarHTTPResponse.StatusCode == 422 { - var v Status + var v ErrorDetail err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { newErr.error = err.Error() return localVarReturnValue, localVarHTTPResponse, newErr } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) newErr.model = v } return localVarReturnValue, localVarHTTPResponse, newErr @@ -1237,7 +1248,7 @@ type ApiPackagesScanRequest struct { identifier string } -func (r ApiPackagesScanRequest) Execute() (*Package, *http.Response, error) { +func (r ApiPackagesScanRequest) Execute() (*PackageResponse, *http.Response, error) { return r.ApiService.PackagesScanExecute(r) } @@ -1263,13 +1274,13 @@ func (a *PackagesApiService) PackagesScan(ctx context.Context, owner string, rep } // Execute executes the request -// @return Package -func (a *PackagesApiService) PackagesScanExecute(r ApiPackagesScanRequest) (*Package, *http.Response, error) { +// @return PackageResponse +func (a *PackagesApiService) PackagesScanExecute(r ApiPackagesScanRequest) (*PackageResponse, *http.Response, error) { var ( localVarHTTPMethod = http.MethodPost localVarPostBody interface{} formFiles []formFile - localVarReturnValue *Package + localVarReturnValue *PackageResponse ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "PackagesApiService.PackagesScan") @@ -1296,7 +1307,7 @@ func (a *PackagesApiService) PackagesScanExecute(r ApiPackagesScanRequest) (*Pac } // to determine the Accept header - localVarHTTPHeaderAccepts := []string{"*/*"} + localVarHTTPHeaderAccepts := []string{"application/json"} // set Accept header localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts) @@ -1340,22 +1351,24 @@ func (a *PackagesApiService) PackagesScanExecute(r ApiPackagesScanRequest) (*Pac error: localVarHTTPResponse.Status, } if localVarHTTPResponse.StatusCode == 400 { - var v Status + var v ErrorDetail err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { newErr.error = err.Error() return localVarReturnValue, localVarHTTPResponse, newErr } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } if localVarHTTPResponse.StatusCode == 422 { - var v Status + var v ErrorDetail err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { newErr.error = err.Error() return localVarReturnValue, localVarHTTPResponse, newErr } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) newErr.model = v } return localVarReturnValue, localVarHTTPResponse, newErr @@ -1381,7 +1394,7 @@ type ApiPackagesStatusRequest struct { identifier string } -func (r ApiPackagesStatusRequest) Execute() (*PackageStatus, *http.Response, error) { +func (r ApiPackagesStatusRequest) Execute() (*PackageStatusResponse, *http.Response, error) { return r.ApiService.PackagesStatusExecute(r) } @@ -1407,13 +1420,13 @@ func (a *PackagesApiService) PackagesStatus(ctx context.Context, owner string, r } // Execute executes the request -// @return PackageStatus -func (a *PackagesApiService) PackagesStatusExecute(r ApiPackagesStatusRequest) (*PackageStatus, *http.Response, error) { +// @return PackageStatusResponse +func (a *PackagesApiService) PackagesStatusExecute(r ApiPackagesStatusRequest) (*PackageStatusResponse, *http.Response, error) { var ( localVarHTTPMethod = http.MethodGet localVarPostBody interface{} formFiles []formFile - localVarReturnValue *PackageStatus + localVarReturnValue *PackageStatusResponse ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "PackagesApiService.PackagesStatus") @@ -1440,7 +1453,7 @@ func (a *PackagesApiService) PackagesStatusExecute(r ApiPackagesStatusRequest) ( } // to determine the Accept header - localVarHTTPHeaderAccepts := []string{"*/*"} + localVarHTTPHeaderAccepts := []string{"application/json"} // set Accept header localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts) @@ -1484,22 +1497,24 @@ func (a *PackagesApiService) PackagesStatusExecute(r ApiPackagesStatusRequest) ( error: localVarHTTPResponse.Status, } if localVarHTTPResponse.StatusCode == 400 { - var v Status + var v ErrorDetail err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { newErr.error = err.Error() return localVarReturnValue, localVarHTTPResponse, newErr } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } if localVarHTTPResponse.StatusCode == 422 { - var v Status + var v ErrorDetail err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { newErr.error = err.Error() return localVarReturnValue, localVarHTTPResponse, newErr } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) newErr.model = v } return localVarReturnValue, localVarHTTPResponse, newErr @@ -1523,15 +1538,15 @@ type ApiPackagesTagRequest struct { owner string repo string identifier string - data *PackagesTag + data *PackageTagRequest } -func (r ApiPackagesTagRequest) Data(data PackagesTag) ApiPackagesTagRequest { +func (r ApiPackagesTagRequest) Data(data PackageTagRequest) ApiPackagesTagRequest { r.data = &data return r } -func (r ApiPackagesTagRequest) Execute() (*Package, *http.Response, error) { +func (r ApiPackagesTagRequest) Execute() (*PackageResponse, *http.Response, error) { return r.ApiService.PackagesTagExecute(r) } @@ -1557,13 +1572,13 @@ func (a *PackagesApiService) PackagesTag(ctx context.Context, owner string, repo } // Execute executes the request -// @return Package -func (a *PackagesApiService) PackagesTagExecute(r ApiPackagesTagRequest) (*Package, *http.Response, error) { +// @return PackageResponse +func (a *PackagesApiService) PackagesTagExecute(r ApiPackagesTagRequest) (*PackageResponse, *http.Response, error) { var ( localVarHTTPMethod = http.MethodPost localVarPostBody interface{} formFiles []formFile - localVarReturnValue *Package + localVarReturnValue *PackageResponse ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "PackagesApiService.PackagesTag") @@ -1590,7 +1605,7 @@ func (a *PackagesApiService) PackagesTagExecute(r ApiPackagesTagRequest) (*Packa } // to determine the Accept header - localVarHTTPHeaderAccepts := []string{"*/*"} + localVarHTTPHeaderAccepts := []string{"application/json"} // set Accept header localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts) @@ -1636,22 +1651,24 @@ func (a *PackagesApiService) PackagesTagExecute(r ApiPackagesTagRequest) (*Packa error: localVarHTTPResponse.Status, } if localVarHTTPResponse.StatusCode == 400 { - var v Status + var v ErrorDetail err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { newErr.error = err.Error() return localVarReturnValue, localVarHTTPResponse, newErr } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } if localVarHTTPResponse.StatusCode == 422 { - var v Status + var v ErrorDetail err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { newErr.error = err.Error() return localVarReturnValue, localVarHTTPResponse, newErr } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) newErr.model = v } return localVarReturnValue, localVarHTTPResponse, newErr @@ -1674,15 +1691,15 @@ type ApiPackagesUploadAlpineRequest struct { ApiService *PackagesApiService owner string repo string - data *PackagesUploadAlpine + data *AlpinePackageUploadRequest } -func (r ApiPackagesUploadAlpineRequest) Data(data PackagesUploadAlpine) ApiPackagesUploadAlpineRequest { +func (r ApiPackagesUploadAlpineRequest) Data(data AlpinePackageUploadRequest) ApiPackagesUploadAlpineRequest { r.data = &data return r } -func (r ApiPackagesUploadAlpineRequest) Execute() (*AlpinePackageUpload, *http.Response, error) { +func (r ApiPackagesUploadAlpineRequest) Execute() (*AlpinePackageUploadResponse, *http.Response, error) { return r.ApiService.PackagesUploadAlpineExecute(r) } @@ -1706,13 +1723,13 @@ func (a *PackagesApiService) PackagesUploadAlpine(ctx context.Context, owner str } // Execute executes the request -// @return AlpinePackageUpload -func (a *PackagesApiService) PackagesUploadAlpineExecute(r ApiPackagesUploadAlpineRequest) (*AlpinePackageUpload, *http.Response, error) { +// @return AlpinePackageUploadResponse +func (a *PackagesApiService) PackagesUploadAlpineExecute(r ApiPackagesUploadAlpineRequest) (*AlpinePackageUploadResponse, *http.Response, error) { var ( localVarHTTPMethod = http.MethodPost localVarPostBody interface{} formFiles []formFile - localVarReturnValue *AlpinePackageUpload + localVarReturnValue *AlpinePackageUploadResponse ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "PackagesApiService.PackagesUploadAlpine") @@ -1738,7 +1755,7 @@ func (a *PackagesApiService) PackagesUploadAlpineExecute(r ApiPackagesUploadAlpi } // to determine the Accept header - localVarHTTPHeaderAccepts := []string{"*/*"} + localVarHTTPHeaderAccepts := []string{"application/json"} // set Accept header localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts) @@ -1783,33 +1800,36 @@ func (a *PackagesApiService) PackagesUploadAlpineExecute(r ApiPackagesUploadAlpi body: localVarBody, error: localVarHTTPResponse.Status, } - if localVarHTTPResponse.StatusCode == 400 { - var v Status + if localVarHTTPResponse.StatusCode == 404 { + var v ErrorDetail err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { newErr.error = err.Error() return localVarReturnValue, localVarHTTPResponse, newErr } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } - if localVarHTTPResponse.StatusCode == 404 { - var v Status + if localVarHTTPResponse.StatusCode == 400 { + var v ErrorDetail err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { newErr.error = err.Error() return localVarReturnValue, localVarHTTPResponse, newErr } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } if localVarHTTPResponse.StatusCode == 422 { - var v Status + var v ErrorDetail err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { newErr.error = err.Error() return localVarReturnValue, localVarHTTPResponse, newErr } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) newErr.model = v } return localVarReturnValue, localVarHTTPResponse, newErr @@ -1832,15 +1852,15 @@ type ApiPackagesUploadCargoRequest struct { ApiService *PackagesApiService owner string repo string - data *PackagesUploadCargo + data *CargoPackageUploadRequest } -func (r ApiPackagesUploadCargoRequest) Data(data PackagesUploadCargo) ApiPackagesUploadCargoRequest { +func (r ApiPackagesUploadCargoRequest) Data(data CargoPackageUploadRequest) ApiPackagesUploadCargoRequest { r.data = &data return r } -func (r ApiPackagesUploadCargoRequest) Execute() (*CargoPackageUpload, *http.Response, error) { +func (r ApiPackagesUploadCargoRequest) Execute() (*CargoPackageUploadResponse, *http.Response, error) { return r.ApiService.PackagesUploadCargoExecute(r) } @@ -1864,13 +1884,13 @@ func (a *PackagesApiService) PackagesUploadCargo(ctx context.Context, owner stri } // Execute executes the request -// @return CargoPackageUpload -func (a *PackagesApiService) PackagesUploadCargoExecute(r ApiPackagesUploadCargoRequest) (*CargoPackageUpload, *http.Response, error) { +// @return CargoPackageUploadResponse +func (a *PackagesApiService) PackagesUploadCargoExecute(r ApiPackagesUploadCargoRequest) (*CargoPackageUploadResponse, *http.Response, error) { var ( localVarHTTPMethod = http.MethodPost localVarPostBody interface{} formFiles []formFile - localVarReturnValue *CargoPackageUpload + localVarReturnValue *CargoPackageUploadResponse ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "PackagesApiService.PackagesUploadCargo") @@ -1896,7 +1916,7 @@ func (a *PackagesApiService) PackagesUploadCargoExecute(r ApiPackagesUploadCargo } // to determine the Accept header - localVarHTTPHeaderAccepts := []string{"*/*"} + localVarHTTPHeaderAccepts := []string{"application/json"} // set Accept header localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts) @@ -1941,33 +1961,36 @@ func (a *PackagesApiService) PackagesUploadCargoExecute(r ApiPackagesUploadCargo body: localVarBody, error: localVarHTTPResponse.Status, } - if localVarHTTPResponse.StatusCode == 400 { - var v Status + if localVarHTTPResponse.StatusCode == 404 { + var v ErrorDetail err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { newErr.error = err.Error() return localVarReturnValue, localVarHTTPResponse, newErr } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } - if localVarHTTPResponse.StatusCode == 404 { - var v Status + if localVarHTTPResponse.StatusCode == 400 { + var v ErrorDetail err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { newErr.error = err.Error() return localVarReturnValue, localVarHTTPResponse, newErr } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } if localVarHTTPResponse.StatusCode == 422 { - var v Status + var v ErrorDetail err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { newErr.error = err.Error() return localVarReturnValue, localVarHTTPResponse, newErr } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) newErr.model = v } return localVarReturnValue, localVarHTTPResponse, newErr @@ -1990,15 +2013,15 @@ type ApiPackagesUploadCocoapodsRequest struct { ApiService *PackagesApiService owner string repo string - data *PackagesUploadCocoapods + data *CocoapodsPackageUploadRequest } -func (r ApiPackagesUploadCocoapodsRequest) Data(data PackagesUploadCocoapods) ApiPackagesUploadCocoapodsRequest { +func (r ApiPackagesUploadCocoapodsRequest) Data(data CocoapodsPackageUploadRequest) ApiPackagesUploadCocoapodsRequest { r.data = &data return r } -func (r ApiPackagesUploadCocoapodsRequest) Execute() (*CocoapodsPackageUpload, *http.Response, error) { +func (r ApiPackagesUploadCocoapodsRequest) Execute() (*CocoapodsPackageUploadResponse, *http.Response, error) { return r.ApiService.PackagesUploadCocoapodsExecute(r) } @@ -2022,13 +2045,13 @@ func (a *PackagesApiService) PackagesUploadCocoapods(ctx context.Context, owner } // Execute executes the request -// @return CocoapodsPackageUpload -func (a *PackagesApiService) PackagesUploadCocoapodsExecute(r ApiPackagesUploadCocoapodsRequest) (*CocoapodsPackageUpload, *http.Response, error) { +// @return CocoapodsPackageUploadResponse +func (a *PackagesApiService) PackagesUploadCocoapodsExecute(r ApiPackagesUploadCocoapodsRequest) (*CocoapodsPackageUploadResponse, *http.Response, error) { var ( localVarHTTPMethod = http.MethodPost localVarPostBody interface{} formFiles []formFile - localVarReturnValue *CocoapodsPackageUpload + localVarReturnValue *CocoapodsPackageUploadResponse ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "PackagesApiService.PackagesUploadCocoapods") @@ -2054,7 +2077,7 @@ func (a *PackagesApiService) PackagesUploadCocoapodsExecute(r ApiPackagesUploadC } // to determine the Accept header - localVarHTTPHeaderAccepts := []string{"*/*"} + localVarHTTPHeaderAccepts := []string{"application/json"} // set Accept header localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts) @@ -2099,33 +2122,36 @@ func (a *PackagesApiService) PackagesUploadCocoapodsExecute(r ApiPackagesUploadC body: localVarBody, error: localVarHTTPResponse.Status, } - if localVarHTTPResponse.StatusCode == 400 { - var v Status + if localVarHTTPResponse.StatusCode == 404 { + var v ErrorDetail err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { newErr.error = err.Error() return localVarReturnValue, localVarHTTPResponse, newErr } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } - if localVarHTTPResponse.StatusCode == 404 { - var v Status + if localVarHTTPResponse.StatusCode == 400 { + var v ErrorDetail err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { newErr.error = err.Error() return localVarReturnValue, localVarHTTPResponse, newErr } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } if localVarHTTPResponse.StatusCode == 422 { - var v Status + var v ErrorDetail err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { newErr.error = err.Error() return localVarReturnValue, localVarHTTPResponse, newErr } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) newErr.model = v } return localVarReturnValue, localVarHTTPResponse, newErr @@ -2148,15 +2174,15 @@ type ApiPackagesUploadComposerRequest struct { ApiService *PackagesApiService owner string repo string - data *PackagesUploadComposer + data *ComposerPackageUploadRequest } -func (r ApiPackagesUploadComposerRequest) Data(data PackagesUploadComposer) ApiPackagesUploadComposerRequest { +func (r ApiPackagesUploadComposerRequest) Data(data ComposerPackageUploadRequest) ApiPackagesUploadComposerRequest { r.data = &data return r } -func (r ApiPackagesUploadComposerRequest) Execute() (*ComposerPackageUpload, *http.Response, error) { +func (r ApiPackagesUploadComposerRequest) Execute() (*ComposerPackageUploadResponse, *http.Response, error) { return r.ApiService.PackagesUploadComposerExecute(r) } @@ -2180,13 +2206,13 @@ func (a *PackagesApiService) PackagesUploadComposer(ctx context.Context, owner s } // Execute executes the request -// @return ComposerPackageUpload -func (a *PackagesApiService) PackagesUploadComposerExecute(r ApiPackagesUploadComposerRequest) (*ComposerPackageUpload, *http.Response, error) { +// @return ComposerPackageUploadResponse +func (a *PackagesApiService) PackagesUploadComposerExecute(r ApiPackagesUploadComposerRequest) (*ComposerPackageUploadResponse, *http.Response, error) { var ( localVarHTTPMethod = http.MethodPost localVarPostBody interface{} formFiles []formFile - localVarReturnValue *ComposerPackageUpload + localVarReturnValue *ComposerPackageUploadResponse ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "PackagesApiService.PackagesUploadComposer") @@ -2212,7 +2238,7 @@ func (a *PackagesApiService) PackagesUploadComposerExecute(r ApiPackagesUploadCo } // to determine the Accept header - localVarHTTPHeaderAccepts := []string{"*/*"} + localVarHTTPHeaderAccepts := []string{"application/json"} // set Accept header localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts) @@ -2257,33 +2283,36 @@ func (a *PackagesApiService) PackagesUploadComposerExecute(r ApiPackagesUploadCo body: localVarBody, error: localVarHTTPResponse.Status, } - if localVarHTTPResponse.StatusCode == 400 { - var v Status + if localVarHTTPResponse.StatusCode == 404 { + var v ErrorDetail err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { newErr.error = err.Error() return localVarReturnValue, localVarHTTPResponse, newErr } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } - if localVarHTTPResponse.StatusCode == 404 { - var v Status + if localVarHTTPResponse.StatusCode == 400 { + var v ErrorDetail err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { newErr.error = err.Error() return localVarReturnValue, localVarHTTPResponse, newErr } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } if localVarHTTPResponse.StatusCode == 422 { - var v Status + var v ErrorDetail err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { newErr.error = err.Error() return localVarReturnValue, localVarHTTPResponse, newErr } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) newErr.model = v } return localVarReturnValue, localVarHTTPResponse, newErr @@ -2306,15 +2335,15 @@ type ApiPackagesUploadConanRequest struct { ApiService *PackagesApiService owner string repo string - data *PackagesUploadConan + data *ConanPackageUploadRequest } -func (r ApiPackagesUploadConanRequest) Data(data PackagesUploadConan) ApiPackagesUploadConanRequest { +func (r ApiPackagesUploadConanRequest) Data(data ConanPackageUploadRequest) ApiPackagesUploadConanRequest { r.data = &data return r } -func (r ApiPackagesUploadConanRequest) Execute() (*ConanPackageUpload, *http.Response, error) { +func (r ApiPackagesUploadConanRequest) Execute() (*ConanPackageUploadResponse, *http.Response, error) { return r.ApiService.PackagesUploadConanExecute(r) } @@ -2338,13 +2367,13 @@ func (a *PackagesApiService) PackagesUploadConan(ctx context.Context, owner stri } // Execute executes the request -// @return ConanPackageUpload -func (a *PackagesApiService) PackagesUploadConanExecute(r ApiPackagesUploadConanRequest) (*ConanPackageUpload, *http.Response, error) { +// @return ConanPackageUploadResponse +func (a *PackagesApiService) PackagesUploadConanExecute(r ApiPackagesUploadConanRequest) (*ConanPackageUploadResponse, *http.Response, error) { var ( localVarHTTPMethod = http.MethodPost localVarPostBody interface{} formFiles []formFile - localVarReturnValue *ConanPackageUpload + localVarReturnValue *ConanPackageUploadResponse ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "PackagesApiService.PackagesUploadConan") @@ -2370,7 +2399,7 @@ func (a *PackagesApiService) PackagesUploadConanExecute(r ApiPackagesUploadConan } // to determine the Accept header - localVarHTTPHeaderAccepts := []string{"*/*"} + localVarHTTPHeaderAccepts := []string{"application/json"} // set Accept header localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts) @@ -2415,33 +2444,36 @@ func (a *PackagesApiService) PackagesUploadConanExecute(r ApiPackagesUploadConan body: localVarBody, error: localVarHTTPResponse.Status, } - if localVarHTTPResponse.StatusCode == 400 { - var v Status + if localVarHTTPResponse.StatusCode == 404 { + var v ErrorDetail err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { newErr.error = err.Error() return localVarReturnValue, localVarHTTPResponse, newErr } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } - if localVarHTTPResponse.StatusCode == 404 { - var v Status + if localVarHTTPResponse.StatusCode == 400 { + var v ErrorDetail err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { newErr.error = err.Error() return localVarReturnValue, localVarHTTPResponse, newErr } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } if localVarHTTPResponse.StatusCode == 422 { - var v Status + var v ErrorDetail err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { newErr.error = err.Error() return localVarReturnValue, localVarHTTPResponse, newErr } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) newErr.model = v } return localVarReturnValue, localVarHTTPResponse, newErr @@ -2464,15 +2496,15 @@ type ApiPackagesUploadCondaRequest struct { ApiService *PackagesApiService owner string repo string - data *PackagesUploadConda + data *CondaPackageUploadRequest } -func (r ApiPackagesUploadCondaRequest) Data(data PackagesUploadConda) ApiPackagesUploadCondaRequest { +func (r ApiPackagesUploadCondaRequest) Data(data CondaPackageUploadRequest) ApiPackagesUploadCondaRequest { r.data = &data return r } -func (r ApiPackagesUploadCondaRequest) Execute() (*CondaPackageUpload, *http.Response, error) { +func (r ApiPackagesUploadCondaRequest) Execute() (*CondaPackageUploadResponse, *http.Response, error) { return r.ApiService.PackagesUploadCondaExecute(r) } @@ -2496,13 +2528,13 @@ func (a *PackagesApiService) PackagesUploadConda(ctx context.Context, owner stri } // Execute executes the request -// @return CondaPackageUpload -func (a *PackagesApiService) PackagesUploadCondaExecute(r ApiPackagesUploadCondaRequest) (*CondaPackageUpload, *http.Response, error) { +// @return CondaPackageUploadResponse +func (a *PackagesApiService) PackagesUploadCondaExecute(r ApiPackagesUploadCondaRequest) (*CondaPackageUploadResponse, *http.Response, error) { var ( localVarHTTPMethod = http.MethodPost localVarPostBody interface{} formFiles []formFile - localVarReturnValue *CondaPackageUpload + localVarReturnValue *CondaPackageUploadResponse ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "PackagesApiService.PackagesUploadConda") @@ -2528,7 +2560,7 @@ func (a *PackagesApiService) PackagesUploadCondaExecute(r ApiPackagesUploadConda } // to determine the Accept header - localVarHTTPHeaderAccepts := []string{"*/*"} + localVarHTTPHeaderAccepts := []string{"application/json"} // set Accept header localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts) @@ -2573,33 +2605,36 @@ func (a *PackagesApiService) PackagesUploadCondaExecute(r ApiPackagesUploadConda body: localVarBody, error: localVarHTTPResponse.Status, } - if localVarHTTPResponse.StatusCode == 400 { - var v Status + if localVarHTTPResponse.StatusCode == 404 { + var v ErrorDetail err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { newErr.error = err.Error() return localVarReturnValue, localVarHTTPResponse, newErr } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } - if localVarHTTPResponse.StatusCode == 404 { - var v Status + if localVarHTTPResponse.StatusCode == 400 { + var v ErrorDetail err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { newErr.error = err.Error() return localVarReturnValue, localVarHTTPResponse, newErr } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } if localVarHTTPResponse.StatusCode == 422 { - var v Status + var v ErrorDetail err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { newErr.error = err.Error() return localVarReturnValue, localVarHTTPResponse, newErr } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) newErr.model = v } return localVarReturnValue, localVarHTTPResponse, newErr @@ -2622,15 +2657,15 @@ type ApiPackagesUploadCranRequest struct { ApiService *PackagesApiService owner string repo string - data *PackagesUploadCran + data *CranPackageUploadRequest } -func (r ApiPackagesUploadCranRequest) Data(data PackagesUploadCran) ApiPackagesUploadCranRequest { +func (r ApiPackagesUploadCranRequest) Data(data CranPackageUploadRequest) ApiPackagesUploadCranRequest { r.data = &data return r } -func (r ApiPackagesUploadCranRequest) Execute() (*CranPackageUpload, *http.Response, error) { +func (r ApiPackagesUploadCranRequest) Execute() (*CranPackageUploadResponse, *http.Response, error) { return r.ApiService.PackagesUploadCranExecute(r) } @@ -2654,13 +2689,13 @@ func (a *PackagesApiService) PackagesUploadCran(ctx context.Context, owner strin } // Execute executes the request -// @return CranPackageUpload -func (a *PackagesApiService) PackagesUploadCranExecute(r ApiPackagesUploadCranRequest) (*CranPackageUpload, *http.Response, error) { +// @return CranPackageUploadResponse +func (a *PackagesApiService) PackagesUploadCranExecute(r ApiPackagesUploadCranRequest) (*CranPackageUploadResponse, *http.Response, error) { var ( localVarHTTPMethod = http.MethodPost localVarPostBody interface{} formFiles []formFile - localVarReturnValue *CranPackageUpload + localVarReturnValue *CranPackageUploadResponse ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "PackagesApiService.PackagesUploadCran") @@ -2686,7 +2721,7 @@ func (a *PackagesApiService) PackagesUploadCranExecute(r ApiPackagesUploadCranRe } // to determine the Accept header - localVarHTTPHeaderAccepts := []string{"*/*"} + localVarHTTPHeaderAccepts := []string{"application/json"} // set Accept header localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts) @@ -2731,33 +2766,36 @@ func (a *PackagesApiService) PackagesUploadCranExecute(r ApiPackagesUploadCranRe body: localVarBody, error: localVarHTTPResponse.Status, } - if localVarHTTPResponse.StatusCode == 400 { - var v Status + if localVarHTTPResponse.StatusCode == 404 { + var v ErrorDetail err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { newErr.error = err.Error() return localVarReturnValue, localVarHTTPResponse, newErr } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } - if localVarHTTPResponse.StatusCode == 404 { - var v Status + if localVarHTTPResponse.StatusCode == 400 { + var v ErrorDetail err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { newErr.error = err.Error() return localVarReturnValue, localVarHTTPResponse, newErr } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } if localVarHTTPResponse.StatusCode == 422 { - var v Status + var v ErrorDetail err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { newErr.error = err.Error() return localVarReturnValue, localVarHTTPResponse, newErr } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) newErr.model = v } return localVarReturnValue, localVarHTTPResponse, newErr @@ -2780,15 +2818,15 @@ type ApiPackagesUploadDartRequest struct { ApiService *PackagesApiService owner string repo string - data *PackagesUploadDart + data *DartPackageUploadRequest } -func (r ApiPackagesUploadDartRequest) Data(data PackagesUploadDart) ApiPackagesUploadDartRequest { +func (r ApiPackagesUploadDartRequest) Data(data DartPackageUploadRequest) ApiPackagesUploadDartRequest { r.data = &data return r } -func (r ApiPackagesUploadDartRequest) Execute() (*DartPackageUpload, *http.Response, error) { +func (r ApiPackagesUploadDartRequest) Execute() (*DartPackageUploadResponse, *http.Response, error) { return r.ApiService.PackagesUploadDartExecute(r) } @@ -2812,13 +2850,13 @@ func (a *PackagesApiService) PackagesUploadDart(ctx context.Context, owner strin } // Execute executes the request -// @return DartPackageUpload -func (a *PackagesApiService) PackagesUploadDartExecute(r ApiPackagesUploadDartRequest) (*DartPackageUpload, *http.Response, error) { +// @return DartPackageUploadResponse +func (a *PackagesApiService) PackagesUploadDartExecute(r ApiPackagesUploadDartRequest) (*DartPackageUploadResponse, *http.Response, error) { var ( localVarHTTPMethod = http.MethodPost localVarPostBody interface{} formFiles []formFile - localVarReturnValue *DartPackageUpload + localVarReturnValue *DartPackageUploadResponse ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "PackagesApiService.PackagesUploadDart") @@ -2844,7 +2882,7 @@ func (a *PackagesApiService) PackagesUploadDartExecute(r ApiPackagesUploadDartRe } // to determine the Accept header - localVarHTTPHeaderAccepts := []string{"*/*"} + localVarHTTPHeaderAccepts := []string{"application/json"} // set Accept header localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts) @@ -2889,33 +2927,36 @@ func (a *PackagesApiService) PackagesUploadDartExecute(r ApiPackagesUploadDartRe body: localVarBody, error: localVarHTTPResponse.Status, } - if localVarHTTPResponse.StatusCode == 400 { - var v Status + if localVarHTTPResponse.StatusCode == 404 { + var v ErrorDetail err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { newErr.error = err.Error() return localVarReturnValue, localVarHTTPResponse, newErr } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } - if localVarHTTPResponse.StatusCode == 404 { - var v Status + if localVarHTTPResponse.StatusCode == 400 { + var v ErrorDetail err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { newErr.error = err.Error() return localVarReturnValue, localVarHTTPResponse, newErr } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } if localVarHTTPResponse.StatusCode == 422 { - var v Status + var v ErrorDetail err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { newErr.error = err.Error() return localVarReturnValue, localVarHTTPResponse, newErr } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) newErr.model = v } return localVarReturnValue, localVarHTTPResponse, newErr @@ -2938,15 +2979,15 @@ type ApiPackagesUploadDebRequest struct { ApiService *PackagesApiService owner string repo string - data *PackagesUploadDeb + data *DebPackageUploadRequest } -func (r ApiPackagesUploadDebRequest) Data(data PackagesUploadDeb) ApiPackagesUploadDebRequest { +func (r ApiPackagesUploadDebRequest) Data(data DebPackageUploadRequest) ApiPackagesUploadDebRequest { r.data = &data return r } -func (r ApiPackagesUploadDebRequest) Execute() (*DebPackageUpload, *http.Response, error) { +func (r ApiPackagesUploadDebRequest) Execute() (*DebPackageUploadResponse, *http.Response, error) { return r.ApiService.PackagesUploadDebExecute(r) } @@ -2970,13 +3011,13 @@ func (a *PackagesApiService) PackagesUploadDeb(ctx context.Context, owner string } // Execute executes the request -// @return DebPackageUpload -func (a *PackagesApiService) PackagesUploadDebExecute(r ApiPackagesUploadDebRequest) (*DebPackageUpload, *http.Response, error) { +// @return DebPackageUploadResponse +func (a *PackagesApiService) PackagesUploadDebExecute(r ApiPackagesUploadDebRequest) (*DebPackageUploadResponse, *http.Response, error) { var ( localVarHTTPMethod = http.MethodPost localVarPostBody interface{} formFiles []formFile - localVarReturnValue *DebPackageUpload + localVarReturnValue *DebPackageUploadResponse ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "PackagesApiService.PackagesUploadDeb") @@ -3002,7 +3043,7 @@ func (a *PackagesApiService) PackagesUploadDebExecute(r ApiPackagesUploadDebRequ } // to determine the Accept header - localVarHTTPHeaderAccepts := []string{"*/*"} + localVarHTTPHeaderAccepts := []string{"application/json"} // set Accept header localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts) @@ -3047,33 +3088,36 @@ func (a *PackagesApiService) PackagesUploadDebExecute(r ApiPackagesUploadDebRequ body: localVarBody, error: localVarHTTPResponse.Status, } - if localVarHTTPResponse.StatusCode == 400 { - var v Status + if localVarHTTPResponse.StatusCode == 404 { + var v ErrorDetail err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { newErr.error = err.Error() return localVarReturnValue, localVarHTTPResponse, newErr } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } - if localVarHTTPResponse.StatusCode == 404 { - var v Status + if localVarHTTPResponse.StatusCode == 400 { + var v ErrorDetail err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { newErr.error = err.Error() return localVarReturnValue, localVarHTTPResponse, newErr } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } if localVarHTTPResponse.StatusCode == 422 { - var v Status + var v ErrorDetail err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { newErr.error = err.Error() return localVarReturnValue, localVarHTTPResponse, newErr } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) newErr.model = v } return localVarReturnValue, localVarHTTPResponse, newErr @@ -3096,15 +3140,15 @@ type ApiPackagesUploadDockerRequest struct { ApiService *PackagesApiService owner string repo string - data *PackagesUploadDocker + data *DockerPackageUploadRequest } -func (r ApiPackagesUploadDockerRequest) Data(data PackagesUploadDocker) ApiPackagesUploadDockerRequest { +func (r ApiPackagesUploadDockerRequest) Data(data DockerPackageUploadRequest) ApiPackagesUploadDockerRequest { r.data = &data return r } -func (r ApiPackagesUploadDockerRequest) Execute() (*DockerPackageUpload, *http.Response, error) { +func (r ApiPackagesUploadDockerRequest) Execute() (*DockerPackageUploadResponse, *http.Response, error) { return r.ApiService.PackagesUploadDockerExecute(r) } @@ -3128,13 +3172,13 @@ func (a *PackagesApiService) PackagesUploadDocker(ctx context.Context, owner str } // Execute executes the request -// @return DockerPackageUpload -func (a *PackagesApiService) PackagesUploadDockerExecute(r ApiPackagesUploadDockerRequest) (*DockerPackageUpload, *http.Response, error) { +// @return DockerPackageUploadResponse +func (a *PackagesApiService) PackagesUploadDockerExecute(r ApiPackagesUploadDockerRequest) (*DockerPackageUploadResponse, *http.Response, error) { var ( localVarHTTPMethod = http.MethodPost localVarPostBody interface{} formFiles []formFile - localVarReturnValue *DockerPackageUpload + localVarReturnValue *DockerPackageUploadResponse ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "PackagesApiService.PackagesUploadDocker") @@ -3160,7 +3204,7 @@ func (a *PackagesApiService) PackagesUploadDockerExecute(r ApiPackagesUploadDock } // to determine the Accept header - localVarHTTPHeaderAccepts := []string{"*/*"} + localVarHTTPHeaderAccepts := []string{"application/json"} // set Accept header localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts) @@ -3205,33 +3249,36 @@ func (a *PackagesApiService) PackagesUploadDockerExecute(r ApiPackagesUploadDock body: localVarBody, error: localVarHTTPResponse.Status, } - if localVarHTTPResponse.StatusCode == 400 { - var v Status + if localVarHTTPResponse.StatusCode == 404 { + var v ErrorDetail err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { newErr.error = err.Error() return localVarReturnValue, localVarHTTPResponse, newErr } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } - if localVarHTTPResponse.StatusCode == 404 { - var v Status + if localVarHTTPResponse.StatusCode == 400 { + var v ErrorDetail err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { newErr.error = err.Error() return localVarReturnValue, localVarHTTPResponse, newErr } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } if localVarHTTPResponse.StatusCode == 422 { - var v Status + var v ErrorDetail err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { newErr.error = err.Error() return localVarReturnValue, localVarHTTPResponse, newErr } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) newErr.model = v } return localVarReturnValue, localVarHTTPResponse, newErr @@ -3254,15 +3301,15 @@ type ApiPackagesUploadGoRequest struct { ApiService *PackagesApiService owner string repo string - data *PackagesUploadGo + data *GoPackageUploadRequest } -func (r ApiPackagesUploadGoRequest) Data(data PackagesUploadGo) ApiPackagesUploadGoRequest { +func (r ApiPackagesUploadGoRequest) Data(data GoPackageUploadRequest) ApiPackagesUploadGoRequest { r.data = &data return r } -func (r ApiPackagesUploadGoRequest) Execute() (*GoPackageUpload, *http.Response, error) { +func (r ApiPackagesUploadGoRequest) Execute() (*GoPackageUploadResponse, *http.Response, error) { return r.ApiService.PackagesUploadGoExecute(r) } @@ -3286,13 +3333,13 @@ func (a *PackagesApiService) PackagesUploadGo(ctx context.Context, owner string, } // Execute executes the request -// @return GoPackageUpload -func (a *PackagesApiService) PackagesUploadGoExecute(r ApiPackagesUploadGoRequest) (*GoPackageUpload, *http.Response, error) { +// @return GoPackageUploadResponse +func (a *PackagesApiService) PackagesUploadGoExecute(r ApiPackagesUploadGoRequest) (*GoPackageUploadResponse, *http.Response, error) { var ( localVarHTTPMethod = http.MethodPost localVarPostBody interface{} formFiles []formFile - localVarReturnValue *GoPackageUpload + localVarReturnValue *GoPackageUploadResponse ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "PackagesApiService.PackagesUploadGo") @@ -3318,7 +3365,7 @@ func (a *PackagesApiService) PackagesUploadGoExecute(r ApiPackagesUploadGoReques } // to determine the Accept header - localVarHTTPHeaderAccepts := []string{"*/*"} + localVarHTTPHeaderAccepts := []string{"application/json"} // set Accept header localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts) @@ -3363,33 +3410,36 @@ func (a *PackagesApiService) PackagesUploadGoExecute(r ApiPackagesUploadGoReques body: localVarBody, error: localVarHTTPResponse.Status, } - if localVarHTTPResponse.StatusCode == 400 { - var v Status + if localVarHTTPResponse.StatusCode == 404 { + var v ErrorDetail err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { newErr.error = err.Error() return localVarReturnValue, localVarHTTPResponse, newErr } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } - if localVarHTTPResponse.StatusCode == 404 { - var v Status + if localVarHTTPResponse.StatusCode == 400 { + var v ErrorDetail err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { newErr.error = err.Error() return localVarReturnValue, localVarHTTPResponse, newErr } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } if localVarHTTPResponse.StatusCode == 422 { - var v Status + var v ErrorDetail err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { newErr.error = err.Error() return localVarReturnValue, localVarHTTPResponse, newErr } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) newErr.model = v } return localVarReturnValue, localVarHTTPResponse, newErr @@ -3412,15 +3462,15 @@ type ApiPackagesUploadHelmRequest struct { ApiService *PackagesApiService owner string repo string - data *PackagesUploadHelm + data *HelmPackageUploadRequest } -func (r ApiPackagesUploadHelmRequest) Data(data PackagesUploadHelm) ApiPackagesUploadHelmRequest { +func (r ApiPackagesUploadHelmRequest) Data(data HelmPackageUploadRequest) ApiPackagesUploadHelmRequest { r.data = &data return r } -func (r ApiPackagesUploadHelmRequest) Execute() (*HelmPackageUpload, *http.Response, error) { +func (r ApiPackagesUploadHelmRequest) Execute() (*HelmPackageUploadResponse, *http.Response, error) { return r.ApiService.PackagesUploadHelmExecute(r) } @@ -3444,13 +3494,13 @@ func (a *PackagesApiService) PackagesUploadHelm(ctx context.Context, owner strin } // Execute executes the request -// @return HelmPackageUpload -func (a *PackagesApiService) PackagesUploadHelmExecute(r ApiPackagesUploadHelmRequest) (*HelmPackageUpload, *http.Response, error) { +// @return HelmPackageUploadResponse +func (a *PackagesApiService) PackagesUploadHelmExecute(r ApiPackagesUploadHelmRequest) (*HelmPackageUploadResponse, *http.Response, error) { var ( localVarHTTPMethod = http.MethodPost localVarPostBody interface{} formFiles []formFile - localVarReturnValue *HelmPackageUpload + localVarReturnValue *HelmPackageUploadResponse ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "PackagesApiService.PackagesUploadHelm") @@ -3476,7 +3526,7 @@ func (a *PackagesApiService) PackagesUploadHelmExecute(r ApiPackagesUploadHelmRe } // to determine the Accept header - localVarHTTPHeaderAccepts := []string{"*/*"} + localVarHTTPHeaderAccepts := []string{"application/json"} // set Accept header localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts) @@ -3521,33 +3571,36 @@ func (a *PackagesApiService) PackagesUploadHelmExecute(r ApiPackagesUploadHelmRe body: localVarBody, error: localVarHTTPResponse.Status, } - if localVarHTTPResponse.StatusCode == 400 { - var v Status + if localVarHTTPResponse.StatusCode == 404 { + var v ErrorDetail err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { newErr.error = err.Error() return localVarReturnValue, localVarHTTPResponse, newErr } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } - if localVarHTTPResponse.StatusCode == 404 { - var v Status + if localVarHTTPResponse.StatusCode == 400 { + var v ErrorDetail err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { newErr.error = err.Error() return localVarReturnValue, localVarHTTPResponse, newErr } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } if localVarHTTPResponse.StatusCode == 422 { - var v Status + var v ErrorDetail err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { newErr.error = err.Error() return localVarReturnValue, localVarHTTPResponse, newErr } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) newErr.model = v } return localVarReturnValue, localVarHTTPResponse, newErr @@ -3570,15 +3623,15 @@ type ApiPackagesUploadLuarocksRequest struct { ApiService *PackagesApiService owner string repo string - data *PackagesUploadLuarocks + data *LuarocksPackageUploadRequest } -func (r ApiPackagesUploadLuarocksRequest) Data(data PackagesUploadLuarocks) ApiPackagesUploadLuarocksRequest { +func (r ApiPackagesUploadLuarocksRequest) Data(data LuarocksPackageUploadRequest) ApiPackagesUploadLuarocksRequest { r.data = &data return r } -func (r ApiPackagesUploadLuarocksRequest) Execute() (*LuarocksPackageUpload, *http.Response, error) { +func (r ApiPackagesUploadLuarocksRequest) Execute() (*LuarocksPackageUploadResponse, *http.Response, error) { return r.ApiService.PackagesUploadLuarocksExecute(r) } @@ -3602,13 +3655,13 @@ func (a *PackagesApiService) PackagesUploadLuarocks(ctx context.Context, owner s } // Execute executes the request -// @return LuarocksPackageUpload -func (a *PackagesApiService) PackagesUploadLuarocksExecute(r ApiPackagesUploadLuarocksRequest) (*LuarocksPackageUpload, *http.Response, error) { +// @return LuarocksPackageUploadResponse +func (a *PackagesApiService) PackagesUploadLuarocksExecute(r ApiPackagesUploadLuarocksRequest) (*LuarocksPackageUploadResponse, *http.Response, error) { var ( localVarHTTPMethod = http.MethodPost localVarPostBody interface{} formFiles []formFile - localVarReturnValue *LuarocksPackageUpload + localVarReturnValue *LuarocksPackageUploadResponse ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "PackagesApiService.PackagesUploadLuarocks") @@ -3634,7 +3687,7 @@ func (a *PackagesApiService) PackagesUploadLuarocksExecute(r ApiPackagesUploadLu } // to determine the Accept header - localVarHTTPHeaderAccepts := []string{"*/*"} + localVarHTTPHeaderAccepts := []string{"application/json"} // set Accept header localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts) @@ -3679,33 +3732,36 @@ func (a *PackagesApiService) PackagesUploadLuarocksExecute(r ApiPackagesUploadLu body: localVarBody, error: localVarHTTPResponse.Status, } - if localVarHTTPResponse.StatusCode == 400 { - var v Status + if localVarHTTPResponse.StatusCode == 404 { + var v ErrorDetail err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { newErr.error = err.Error() return localVarReturnValue, localVarHTTPResponse, newErr } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } - if localVarHTTPResponse.StatusCode == 404 { - var v Status + if localVarHTTPResponse.StatusCode == 400 { + var v ErrorDetail err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { newErr.error = err.Error() return localVarReturnValue, localVarHTTPResponse, newErr } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } if localVarHTTPResponse.StatusCode == 422 { - var v Status + var v ErrorDetail err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { newErr.error = err.Error() return localVarReturnValue, localVarHTTPResponse, newErr } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) newErr.model = v } return localVarReturnValue, localVarHTTPResponse, newErr @@ -3728,15 +3784,15 @@ type ApiPackagesUploadMavenRequest struct { ApiService *PackagesApiService owner string repo string - data *PackagesUploadMaven + data *MavenPackageUploadRequest } -func (r ApiPackagesUploadMavenRequest) Data(data PackagesUploadMaven) ApiPackagesUploadMavenRequest { +func (r ApiPackagesUploadMavenRequest) Data(data MavenPackageUploadRequest) ApiPackagesUploadMavenRequest { r.data = &data return r } -func (r ApiPackagesUploadMavenRequest) Execute() (*MavenPackageUpload, *http.Response, error) { +func (r ApiPackagesUploadMavenRequest) Execute() (*MavenPackageUploadResponse, *http.Response, error) { return r.ApiService.PackagesUploadMavenExecute(r) } @@ -3760,13 +3816,13 @@ func (a *PackagesApiService) PackagesUploadMaven(ctx context.Context, owner stri } // Execute executes the request -// @return MavenPackageUpload -func (a *PackagesApiService) PackagesUploadMavenExecute(r ApiPackagesUploadMavenRequest) (*MavenPackageUpload, *http.Response, error) { +// @return MavenPackageUploadResponse +func (a *PackagesApiService) PackagesUploadMavenExecute(r ApiPackagesUploadMavenRequest) (*MavenPackageUploadResponse, *http.Response, error) { var ( localVarHTTPMethod = http.MethodPost localVarPostBody interface{} formFiles []formFile - localVarReturnValue *MavenPackageUpload + localVarReturnValue *MavenPackageUploadResponse ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "PackagesApiService.PackagesUploadMaven") @@ -3792,7 +3848,7 @@ func (a *PackagesApiService) PackagesUploadMavenExecute(r ApiPackagesUploadMaven } // to determine the Accept header - localVarHTTPHeaderAccepts := []string{"*/*"} + localVarHTTPHeaderAccepts := []string{"application/json"} // set Accept header localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts) @@ -3837,33 +3893,36 @@ func (a *PackagesApiService) PackagesUploadMavenExecute(r ApiPackagesUploadMaven body: localVarBody, error: localVarHTTPResponse.Status, } - if localVarHTTPResponse.StatusCode == 400 { - var v Status + if localVarHTTPResponse.StatusCode == 404 { + var v ErrorDetail err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { newErr.error = err.Error() return localVarReturnValue, localVarHTTPResponse, newErr } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } - if localVarHTTPResponse.StatusCode == 404 { - var v Status + if localVarHTTPResponse.StatusCode == 400 { + var v ErrorDetail err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { newErr.error = err.Error() return localVarReturnValue, localVarHTTPResponse, newErr } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } if localVarHTTPResponse.StatusCode == 422 { - var v Status + var v ErrorDetail err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { newErr.error = err.Error() return localVarReturnValue, localVarHTTPResponse, newErr } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) newErr.model = v } return localVarReturnValue, localVarHTTPResponse, newErr @@ -3886,15 +3945,15 @@ type ApiPackagesUploadNpmRequest struct { ApiService *PackagesApiService owner string repo string - data *PackagesUploadNpm + data *NpmPackageUploadRequest } -func (r ApiPackagesUploadNpmRequest) Data(data PackagesUploadNpm) ApiPackagesUploadNpmRequest { +func (r ApiPackagesUploadNpmRequest) Data(data NpmPackageUploadRequest) ApiPackagesUploadNpmRequest { r.data = &data return r } -func (r ApiPackagesUploadNpmRequest) Execute() (*NpmPackageUpload, *http.Response, error) { +func (r ApiPackagesUploadNpmRequest) Execute() (*NpmPackageUploadResponse, *http.Response, error) { return r.ApiService.PackagesUploadNpmExecute(r) } @@ -3918,13 +3977,13 @@ func (a *PackagesApiService) PackagesUploadNpm(ctx context.Context, owner string } // Execute executes the request -// @return NpmPackageUpload -func (a *PackagesApiService) PackagesUploadNpmExecute(r ApiPackagesUploadNpmRequest) (*NpmPackageUpload, *http.Response, error) { +// @return NpmPackageUploadResponse +func (a *PackagesApiService) PackagesUploadNpmExecute(r ApiPackagesUploadNpmRequest) (*NpmPackageUploadResponse, *http.Response, error) { var ( localVarHTTPMethod = http.MethodPost localVarPostBody interface{} formFiles []formFile - localVarReturnValue *NpmPackageUpload + localVarReturnValue *NpmPackageUploadResponse ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "PackagesApiService.PackagesUploadNpm") @@ -3950,7 +4009,7 @@ func (a *PackagesApiService) PackagesUploadNpmExecute(r ApiPackagesUploadNpmRequ } // to determine the Accept header - localVarHTTPHeaderAccepts := []string{"*/*"} + localVarHTTPHeaderAccepts := []string{"application/json"} // set Accept header localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts) @@ -3995,33 +4054,36 @@ func (a *PackagesApiService) PackagesUploadNpmExecute(r ApiPackagesUploadNpmRequ body: localVarBody, error: localVarHTTPResponse.Status, } - if localVarHTTPResponse.StatusCode == 400 { - var v Status + if localVarHTTPResponse.StatusCode == 404 { + var v ErrorDetail err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { newErr.error = err.Error() return localVarReturnValue, localVarHTTPResponse, newErr } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } - if localVarHTTPResponse.StatusCode == 404 { - var v Status + if localVarHTTPResponse.StatusCode == 400 { + var v ErrorDetail err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { newErr.error = err.Error() return localVarReturnValue, localVarHTTPResponse, newErr } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } if localVarHTTPResponse.StatusCode == 422 { - var v Status + var v ErrorDetail err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { newErr.error = err.Error() return localVarReturnValue, localVarHTTPResponse, newErr } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) newErr.model = v } return localVarReturnValue, localVarHTTPResponse, newErr @@ -4044,15 +4106,15 @@ type ApiPackagesUploadNugetRequest struct { ApiService *PackagesApiService owner string repo string - data *PackagesUploadNuget + data *NugetPackageUploadRequest } -func (r ApiPackagesUploadNugetRequest) Data(data PackagesUploadNuget) ApiPackagesUploadNugetRequest { +func (r ApiPackagesUploadNugetRequest) Data(data NugetPackageUploadRequest) ApiPackagesUploadNugetRequest { r.data = &data return r } -func (r ApiPackagesUploadNugetRequest) Execute() (*NugetPackageUpload, *http.Response, error) { +func (r ApiPackagesUploadNugetRequest) Execute() (*NugetPackageUploadResponse, *http.Response, error) { return r.ApiService.PackagesUploadNugetExecute(r) } @@ -4076,13 +4138,13 @@ func (a *PackagesApiService) PackagesUploadNuget(ctx context.Context, owner stri } // Execute executes the request -// @return NugetPackageUpload -func (a *PackagesApiService) PackagesUploadNugetExecute(r ApiPackagesUploadNugetRequest) (*NugetPackageUpload, *http.Response, error) { +// @return NugetPackageUploadResponse +func (a *PackagesApiService) PackagesUploadNugetExecute(r ApiPackagesUploadNugetRequest) (*NugetPackageUploadResponse, *http.Response, error) { var ( localVarHTTPMethod = http.MethodPost localVarPostBody interface{} formFiles []formFile - localVarReturnValue *NugetPackageUpload + localVarReturnValue *NugetPackageUploadResponse ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "PackagesApiService.PackagesUploadNuget") @@ -4108,7 +4170,7 @@ func (a *PackagesApiService) PackagesUploadNugetExecute(r ApiPackagesUploadNuget } // to determine the Accept header - localVarHTTPHeaderAccepts := []string{"*/*"} + localVarHTTPHeaderAccepts := []string{"application/json"} // set Accept header localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts) @@ -4153,33 +4215,36 @@ func (a *PackagesApiService) PackagesUploadNugetExecute(r ApiPackagesUploadNuget body: localVarBody, error: localVarHTTPResponse.Status, } - if localVarHTTPResponse.StatusCode == 400 { - var v Status + if localVarHTTPResponse.StatusCode == 404 { + var v ErrorDetail err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { newErr.error = err.Error() return localVarReturnValue, localVarHTTPResponse, newErr } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } - if localVarHTTPResponse.StatusCode == 404 { - var v Status + if localVarHTTPResponse.StatusCode == 400 { + var v ErrorDetail err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { newErr.error = err.Error() return localVarReturnValue, localVarHTTPResponse, newErr } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } if localVarHTTPResponse.StatusCode == 422 { - var v Status + var v ErrorDetail err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { newErr.error = err.Error() return localVarReturnValue, localVarHTTPResponse, newErr } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) newErr.model = v } return localVarReturnValue, localVarHTTPResponse, newErr @@ -4202,15 +4267,15 @@ type ApiPackagesUploadP2Request struct { ApiService *PackagesApiService owner string repo string - data *PackagesUploadP2 + data *P2PackageUploadRequest } -func (r ApiPackagesUploadP2Request) Data(data PackagesUploadP2) ApiPackagesUploadP2Request { +func (r ApiPackagesUploadP2Request) Data(data P2PackageUploadRequest) ApiPackagesUploadP2Request { r.data = &data return r } -func (r ApiPackagesUploadP2Request) Execute() (*P2PackageUpload, *http.Response, error) { +func (r ApiPackagesUploadP2Request) Execute() (*P2PackageUploadResponse, *http.Response, error) { return r.ApiService.PackagesUploadP2Execute(r) } @@ -4234,13 +4299,13 @@ func (a *PackagesApiService) PackagesUploadP2(ctx context.Context, owner string, } // Execute executes the request -// @return P2PackageUpload -func (a *PackagesApiService) PackagesUploadP2Execute(r ApiPackagesUploadP2Request) (*P2PackageUpload, *http.Response, error) { +// @return P2PackageUploadResponse +func (a *PackagesApiService) PackagesUploadP2Execute(r ApiPackagesUploadP2Request) (*P2PackageUploadResponse, *http.Response, error) { var ( localVarHTTPMethod = http.MethodPost localVarPostBody interface{} formFiles []formFile - localVarReturnValue *P2PackageUpload + localVarReturnValue *P2PackageUploadResponse ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "PackagesApiService.PackagesUploadP2") @@ -4266,7 +4331,7 @@ func (a *PackagesApiService) PackagesUploadP2Execute(r ApiPackagesUploadP2Reques } // to determine the Accept header - localVarHTTPHeaderAccepts := []string{"*/*"} + localVarHTTPHeaderAccepts := []string{"application/json"} // set Accept header localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts) @@ -4311,33 +4376,36 @@ func (a *PackagesApiService) PackagesUploadP2Execute(r ApiPackagesUploadP2Reques body: localVarBody, error: localVarHTTPResponse.Status, } - if localVarHTTPResponse.StatusCode == 400 { - var v Status + if localVarHTTPResponse.StatusCode == 404 { + var v ErrorDetail err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { newErr.error = err.Error() return localVarReturnValue, localVarHTTPResponse, newErr } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } - if localVarHTTPResponse.StatusCode == 404 { - var v Status + if localVarHTTPResponse.StatusCode == 400 { + var v ErrorDetail err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { newErr.error = err.Error() return localVarReturnValue, localVarHTTPResponse, newErr } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } if localVarHTTPResponse.StatusCode == 422 { - var v Status + var v ErrorDetail err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { newErr.error = err.Error() return localVarReturnValue, localVarHTTPResponse, newErr } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) newErr.model = v } return localVarReturnValue, localVarHTTPResponse, newErr @@ -4360,15 +4428,15 @@ type ApiPackagesUploadPythonRequest struct { ApiService *PackagesApiService owner string repo string - data *PackagesUploadPython + data *PythonPackageUploadRequest } -func (r ApiPackagesUploadPythonRequest) Data(data PackagesUploadPython) ApiPackagesUploadPythonRequest { +func (r ApiPackagesUploadPythonRequest) Data(data PythonPackageUploadRequest) ApiPackagesUploadPythonRequest { r.data = &data return r } -func (r ApiPackagesUploadPythonRequest) Execute() (*PythonPackageUpload, *http.Response, error) { +func (r ApiPackagesUploadPythonRequest) Execute() (*PythonPackageUploadResponse, *http.Response, error) { return r.ApiService.PackagesUploadPythonExecute(r) } @@ -4392,13 +4460,13 @@ func (a *PackagesApiService) PackagesUploadPython(ctx context.Context, owner str } // Execute executes the request -// @return PythonPackageUpload -func (a *PackagesApiService) PackagesUploadPythonExecute(r ApiPackagesUploadPythonRequest) (*PythonPackageUpload, *http.Response, error) { +// @return PythonPackageUploadResponse +func (a *PackagesApiService) PackagesUploadPythonExecute(r ApiPackagesUploadPythonRequest) (*PythonPackageUploadResponse, *http.Response, error) { var ( localVarHTTPMethod = http.MethodPost localVarPostBody interface{} formFiles []formFile - localVarReturnValue *PythonPackageUpload + localVarReturnValue *PythonPackageUploadResponse ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "PackagesApiService.PackagesUploadPython") @@ -4424,7 +4492,7 @@ func (a *PackagesApiService) PackagesUploadPythonExecute(r ApiPackagesUploadPyth } // to determine the Accept header - localVarHTTPHeaderAccepts := []string{"*/*"} + localVarHTTPHeaderAccepts := []string{"application/json"} // set Accept header localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts) @@ -4469,33 +4537,36 @@ func (a *PackagesApiService) PackagesUploadPythonExecute(r ApiPackagesUploadPyth body: localVarBody, error: localVarHTTPResponse.Status, } - if localVarHTTPResponse.StatusCode == 400 { - var v Status + if localVarHTTPResponse.StatusCode == 404 { + var v ErrorDetail err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { newErr.error = err.Error() return localVarReturnValue, localVarHTTPResponse, newErr } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } - if localVarHTTPResponse.StatusCode == 404 { - var v Status + if localVarHTTPResponse.StatusCode == 400 { + var v ErrorDetail err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { newErr.error = err.Error() return localVarReturnValue, localVarHTTPResponse, newErr } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } if localVarHTTPResponse.StatusCode == 422 { - var v Status + var v ErrorDetail err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { newErr.error = err.Error() return localVarReturnValue, localVarHTTPResponse, newErr } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) newErr.model = v } return localVarReturnValue, localVarHTTPResponse, newErr @@ -4518,15 +4589,15 @@ type ApiPackagesUploadRawRequest struct { ApiService *PackagesApiService owner string repo string - data *PackagesUploadRaw + data *RawPackageUploadRequest } -func (r ApiPackagesUploadRawRequest) Data(data PackagesUploadRaw) ApiPackagesUploadRawRequest { +func (r ApiPackagesUploadRawRequest) Data(data RawPackageUploadRequest) ApiPackagesUploadRawRequest { r.data = &data return r } -func (r ApiPackagesUploadRawRequest) Execute() (*RawPackageUpload, *http.Response, error) { +func (r ApiPackagesUploadRawRequest) Execute() (*RawPackageUploadResponse, *http.Response, error) { return r.ApiService.PackagesUploadRawExecute(r) } @@ -4550,13 +4621,13 @@ func (a *PackagesApiService) PackagesUploadRaw(ctx context.Context, owner string } // Execute executes the request -// @return RawPackageUpload -func (a *PackagesApiService) PackagesUploadRawExecute(r ApiPackagesUploadRawRequest) (*RawPackageUpload, *http.Response, error) { +// @return RawPackageUploadResponse +func (a *PackagesApiService) PackagesUploadRawExecute(r ApiPackagesUploadRawRequest) (*RawPackageUploadResponse, *http.Response, error) { var ( localVarHTTPMethod = http.MethodPost localVarPostBody interface{} formFiles []formFile - localVarReturnValue *RawPackageUpload + localVarReturnValue *RawPackageUploadResponse ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "PackagesApiService.PackagesUploadRaw") @@ -4582,7 +4653,7 @@ func (a *PackagesApiService) PackagesUploadRawExecute(r ApiPackagesUploadRawRequ } // to determine the Accept header - localVarHTTPHeaderAccepts := []string{"*/*"} + localVarHTTPHeaderAccepts := []string{"application/json"} // set Accept header localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts) @@ -4627,33 +4698,36 @@ func (a *PackagesApiService) PackagesUploadRawExecute(r ApiPackagesUploadRawRequ body: localVarBody, error: localVarHTTPResponse.Status, } - if localVarHTTPResponse.StatusCode == 400 { - var v Status + if localVarHTTPResponse.StatusCode == 404 { + var v ErrorDetail err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { newErr.error = err.Error() return localVarReturnValue, localVarHTTPResponse, newErr } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } - if localVarHTTPResponse.StatusCode == 404 { - var v Status + if localVarHTTPResponse.StatusCode == 400 { + var v ErrorDetail err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { newErr.error = err.Error() return localVarReturnValue, localVarHTTPResponse, newErr } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } if localVarHTTPResponse.StatusCode == 422 { - var v Status + var v ErrorDetail err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { newErr.error = err.Error() return localVarReturnValue, localVarHTTPResponse, newErr } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) newErr.model = v } return localVarReturnValue, localVarHTTPResponse, newErr @@ -4676,15 +4750,15 @@ type ApiPackagesUploadRpmRequest struct { ApiService *PackagesApiService owner string repo string - data *PackagesUploadRpm + data *RpmPackageUploadRequest } -func (r ApiPackagesUploadRpmRequest) Data(data PackagesUploadRpm) ApiPackagesUploadRpmRequest { +func (r ApiPackagesUploadRpmRequest) Data(data RpmPackageUploadRequest) ApiPackagesUploadRpmRequest { r.data = &data return r } -func (r ApiPackagesUploadRpmRequest) Execute() (*RpmPackageUpload, *http.Response, error) { +func (r ApiPackagesUploadRpmRequest) Execute() (*RpmPackageUploadResponse, *http.Response, error) { return r.ApiService.PackagesUploadRpmExecute(r) } @@ -4708,13 +4782,13 @@ func (a *PackagesApiService) PackagesUploadRpm(ctx context.Context, owner string } // Execute executes the request -// @return RpmPackageUpload -func (a *PackagesApiService) PackagesUploadRpmExecute(r ApiPackagesUploadRpmRequest) (*RpmPackageUpload, *http.Response, error) { +// @return RpmPackageUploadResponse +func (a *PackagesApiService) PackagesUploadRpmExecute(r ApiPackagesUploadRpmRequest) (*RpmPackageUploadResponse, *http.Response, error) { var ( localVarHTTPMethod = http.MethodPost localVarPostBody interface{} formFiles []formFile - localVarReturnValue *RpmPackageUpload + localVarReturnValue *RpmPackageUploadResponse ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "PackagesApiService.PackagesUploadRpm") @@ -4740,7 +4814,7 @@ func (a *PackagesApiService) PackagesUploadRpmExecute(r ApiPackagesUploadRpmRequ } // to determine the Accept header - localVarHTTPHeaderAccepts := []string{"*/*"} + localVarHTTPHeaderAccepts := []string{"application/json"} // set Accept header localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts) @@ -4785,33 +4859,36 @@ func (a *PackagesApiService) PackagesUploadRpmExecute(r ApiPackagesUploadRpmRequ body: localVarBody, error: localVarHTTPResponse.Status, } - if localVarHTTPResponse.StatusCode == 400 { - var v Status + if localVarHTTPResponse.StatusCode == 404 { + var v ErrorDetail err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { newErr.error = err.Error() return localVarReturnValue, localVarHTTPResponse, newErr } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } - if localVarHTTPResponse.StatusCode == 404 { - var v Status + if localVarHTTPResponse.StatusCode == 400 { + var v ErrorDetail err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { newErr.error = err.Error() return localVarReturnValue, localVarHTTPResponse, newErr } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } if localVarHTTPResponse.StatusCode == 422 { - var v Status + var v ErrorDetail err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { newErr.error = err.Error() return localVarReturnValue, localVarHTTPResponse, newErr } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) newErr.model = v } return localVarReturnValue, localVarHTTPResponse, newErr @@ -4834,15 +4911,15 @@ type ApiPackagesUploadRubyRequest struct { ApiService *PackagesApiService owner string repo string - data *PackagesUploadRuby + data *RubyPackageUploadRequest } -func (r ApiPackagesUploadRubyRequest) Data(data PackagesUploadRuby) ApiPackagesUploadRubyRequest { +func (r ApiPackagesUploadRubyRequest) Data(data RubyPackageUploadRequest) ApiPackagesUploadRubyRequest { r.data = &data return r } -func (r ApiPackagesUploadRubyRequest) Execute() (*RubyPackageUpload, *http.Response, error) { +func (r ApiPackagesUploadRubyRequest) Execute() (*RubyPackageUploadResponse, *http.Response, error) { return r.ApiService.PackagesUploadRubyExecute(r) } @@ -4866,13 +4943,13 @@ func (a *PackagesApiService) PackagesUploadRuby(ctx context.Context, owner strin } // Execute executes the request -// @return RubyPackageUpload -func (a *PackagesApiService) PackagesUploadRubyExecute(r ApiPackagesUploadRubyRequest) (*RubyPackageUpload, *http.Response, error) { +// @return RubyPackageUploadResponse +func (a *PackagesApiService) PackagesUploadRubyExecute(r ApiPackagesUploadRubyRequest) (*RubyPackageUploadResponse, *http.Response, error) { var ( localVarHTTPMethod = http.MethodPost localVarPostBody interface{} formFiles []formFile - localVarReturnValue *RubyPackageUpload + localVarReturnValue *RubyPackageUploadResponse ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "PackagesApiService.PackagesUploadRuby") @@ -4898,7 +4975,7 @@ func (a *PackagesApiService) PackagesUploadRubyExecute(r ApiPackagesUploadRubyRe } // to determine the Accept header - localVarHTTPHeaderAccepts := []string{"*/*"} + localVarHTTPHeaderAccepts := []string{"application/json"} // set Accept header localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts) @@ -4943,33 +5020,36 @@ func (a *PackagesApiService) PackagesUploadRubyExecute(r ApiPackagesUploadRubyRe body: localVarBody, error: localVarHTTPResponse.Status, } - if localVarHTTPResponse.StatusCode == 400 { - var v Status + if localVarHTTPResponse.StatusCode == 404 { + var v ErrorDetail err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { newErr.error = err.Error() return localVarReturnValue, localVarHTTPResponse, newErr } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } - if localVarHTTPResponse.StatusCode == 404 { - var v Status + if localVarHTTPResponse.StatusCode == 400 { + var v ErrorDetail err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { newErr.error = err.Error() return localVarReturnValue, localVarHTTPResponse, newErr } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } if localVarHTTPResponse.StatusCode == 422 { - var v Status + var v ErrorDetail err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { newErr.error = err.Error() return localVarReturnValue, localVarHTTPResponse, newErr } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) newErr.model = v } return localVarReturnValue, localVarHTTPResponse, newErr @@ -4992,15 +5072,15 @@ type ApiPackagesUploadTerraformRequest struct { ApiService *PackagesApiService owner string repo string - data *PackagesUploadTerraform + data *TerraformPackageUploadRequest } -func (r ApiPackagesUploadTerraformRequest) Data(data PackagesUploadTerraform) ApiPackagesUploadTerraformRequest { +func (r ApiPackagesUploadTerraformRequest) Data(data TerraformPackageUploadRequest) ApiPackagesUploadTerraformRequest { r.data = &data return r } -func (r ApiPackagesUploadTerraformRequest) Execute() (*TerraformPackageUpload, *http.Response, error) { +func (r ApiPackagesUploadTerraformRequest) Execute() (*TerraformPackageUploadResponse, *http.Response, error) { return r.ApiService.PackagesUploadTerraformExecute(r) } @@ -5024,13 +5104,13 @@ func (a *PackagesApiService) PackagesUploadTerraform(ctx context.Context, owner } // Execute executes the request -// @return TerraformPackageUpload -func (a *PackagesApiService) PackagesUploadTerraformExecute(r ApiPackagesUploadTerraformRequest) (*TerraformPackageUpload, *http.Response, error) { +// @return TerraformPackageUploadResponse +func (a *PackagesApiService) PackagesUploadTerraformExecute(r ApiPackagesUploadTerraformRequest) (*TerraformPackageUploadResponse, *http.Response, error) { var ( localVarHTTPMethod = http.MethodPost localVarPostBody interface{} formFiles []formFile - localVarReturnValue *TerraformPackageUpload + localVarReturnValue *TerraformPackageUploadResponse ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "PackagesApiService.PackagesUploadTerraform") @@ -5056,7 +5136,7 @@ func (a *PackagesApiService) PackagesUploadTerraformExecute(r ApiPackagesUploadT } // to determine the Accept header - localVarHTTPHeaderAccepts := []string{"*/*"} + localVarHTTPHeaderAccepts := []string{"application/json"} // set Accept header localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts) @@ -5101,33 +5181,36 @@ func (a *PackagesApiService) PackagesUploadTerraformExecute(r ApiPackagesUploadT body: localVarBody, error: localVarHTTPResponse.Status, } - if localVarHTTPResponse.StatusCode == 400 { - var v Status + if localVarHTTPResponse.StatusCode == 404 { + var v ErrorDetail err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { newErr.error = err.Error() return localVarReturnValue, localVarHTTPResponse, newErr } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } - if localVarHTTPResponse.StatusCode == 404 { - var v Status + if localVarHTTPResponse.StatusCode == 400 { + var v ErrorDetail err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { newErr.error = err.Error() return localVarReturnValue, localVarHTTPResponse, newErr } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } if localVarHTTPResponse.StatusCode == 422 { - var v Status + var v ErrorDetail err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { newErr.error = err.Error() return localVarReturnValue, localVarHTTPResponse, newErr } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) newErr.model = v } return localVarReturnValue, localVarHTTPResponse, newErr @@ -5150,15 +5233,15 @@ type ApiPackagesUploadVagrantRequest struct { ApiService *PackagesApiService owner string repo string - data *PackagesUploadVagrant + data *VagrantPackageUploadRequest } -func (r ApiPackagesUploadVagrantRequest) Data(data PackagesUploadVagrant) ApiPackagesUploadVagrantRequest { +func (r ApiPackagesUploadVagrantRequest) Data(data VagrantPackageUploadRequest) ApiPackagesUploadVagrantRequest { r.data = &data return r } -func (r ApiPackagesUploadVagrantRequest) Execute() (*VagrantPackageUpload, *http.Response, error) { +func (r ApiPackagesUploadVagrantRequest) Execute() (*VagrantPackageUploadResponse, *http.Response, error) { return r.ApiService.PackagesUploadVagrantExecute(r) } @@ -5182,13 +5265,13 @@ func (a *PackagesApiService) PackagesUploadVagrant(ctx context.Context, owner st } // Execute executes the request -// @return VagrantPackageUpload -func (a *PackagesApiService) PackagesUploadVagrantExecute(r ApiPackagesUploadVagrantRequest) (*VagrantPackageUpload, *http.Response, error) { +// @return VagrantPackageUploadResponse +func (a *PackagesApiService) PackagesUploadVagrantExecute(r ApiPackagesUploadVagrantRequest) (*VagrantPackageUploadResponse, *http.Response, error) { var ( localVarHTTPMethod = http.MethodPost localVarPostBody interface{} formFiles []formFile - localVarReturnValue *VagrantPackageUpload + localVarReturnValue *VagrantPackageUploadResponse ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "PackagesApiService.PackagesUploadVagrant") @@ -5214,7 +5297,7 @@ func (a *PackagesApiService) PackagesUploadVagrantExecute(r ApiPackagesUploadVag } // to determine the Accept header - localVarHTTPHeaderAccepts := []string{"*/*"} + localVarHTTPHeaderAccepts := []string{"application/json"} // set Accept header localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts) @@ -5259,33 +5342,36 @@ func (a *PackagesApiService) PackagesUploadVagrantExecute(r ApiPackagesUploadVag body: localVarBody, error: localVarHTTPResponse.Status, } - if localVarHTTPResponse.StatusCode == 400 { - var v Status + if localVarHTTPResponse.StatusCode == 404 { + var v ErrorDetail err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { newErr.error = err.Error() return localVarReturnValue, localVarHTTPResponse, newErr } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } - if localVarHTTPResponse.StatusCode == 404 { - var v Status + if localVarHTTPResponse.StatusCode == 400 { + var v ErrorDetail err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { newErr.error = err.Error() return localVarReturnValue, localVarHTTPResponse, newErr } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } if localVarHTTPResponse.StatusCode == 422 { - var v Status + var v ErrorDetail err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { newErr.error = err.Error() return localVarReturnValue, localVarHTTPResponse, newErr } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) newErr.model = v } return localVarReturnValue, localVarHTTPResponse, newErr @@ -5308,10 +5394,10 @@ type ApiPackagesValidateUploadAlpineRequest struct { ApiService *PackagesApiService owner string repo string - data *PackagesValidateUploadAlpine + data *AlpinePackageUploadRequest } -func (r ApiPackagesValidateUploadAlpineRequest) Data(data PackagesValidateUploadAlpine) ApiPackagesValidateUploadAlpineRequest { +func (r ApiPackagesValidateUploadAlpineRequest) Data(data AlpinePackageUploadRequest) ApiPackagesValidateUploadAlpineRequest { r.data = &data return r } @@ -5370,7 +5456,7 @@ func (a *PackagesApiService) PackagesValidateUploadAlpineExecute(r ApiPackagesVa } // to determine the Accept header - localVarHTTPHeaderAccepts := []string{"*/*"} + localVarHTTPHeaderAccepts := []string{"application/json"} // set Accept header localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts) @@ -5415,33 +5501,36 @@ func (a *PackagesApiService) PackagesValidateUploadAlpineExecute(r ApiPackagesVa body: localVarBody, error: localVarHTTPResponse.Status, } - if localVarHTTPResponse.StatusCode == 400 { - var v Status + if localVarHTTPResponse.StatusCode == 404 { + var v ErrorDetail err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { newErr.error = err.Error() return localVarHTTPResponse, newErr } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) newErr.model = v return localVarHTTPResponse, newErr } - if localVarHTTPResponse.StatusCode == 404 { - var v Status + if localVarHTTPResponse.StatusCode == 400 { + var v ErrorDetail err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { newErr.error = err.Error() return localVarHTTPResponse, newErr } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) newErr.model = v return localVarHTTPResponse, newErr } if localVarHTTPResponse.StatusCode == 422 { - var v Status + var v ErrorDetail err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { newErr.error = err.Error() return localVarHTTPResponse, newErr } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) newErr.model = v } return localVarHTTPResponse, newErr @@ -5455,10 +5544,10 @@ type ApiPackagesValidateUploadCargoRequest struct { ApiService *PackagesApiService owner string repo string - data *PackagesValidateUploadCargo + data *CargoPackageUploadRequest } -func (r ApiPackagesValidateUploadCargoRequest) Data(data PackagesValidateUploadCargo) ApiPackagesValidateUploadCargoRequest { +func (r ApiPackagesValidateUploadCargoRequest) Data(data CargoPackageUploadRequest) ApiPackagesValidateUploadCargoRequest { r.data = &data return r } @@ -5517,7 +5606,7 @@ func (a *PackagesApiService) PackagesValidateUploadCargoExecute(r ApiPackagesVal } // to determine the Accept header - localVarHTTPHeaderAccepts := []string{"*/*"} + localVarHTTPHeaderAccepts := []string{"application/json"} // set Accept header localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts) @@ -5562,33 +5651,36 @@ func (a *PackagesApiService) PackagesValidateUploadCargoExecute(r ApiPackagesVal body: localVarBody, error: localVarHTTPResponse.Status, } - if localVarHTTPResponse.StatusCode == 400 { - var v Status + if localVarHTTPResponse.StatusCode == 404 { + var v ErrorDetail err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { newErr.error = err.Error() return localVarHTTPResponse, newErr } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) newErr.model = v return localVarHTTPResponse, newErr } - if localVarHTTPResponse.StatusCode == 404 { - var v Status + if localVarHTTPResponse.StatusCode == 400 { + var v ErrorDetail err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { newErr.error = err.Error() return localVarHTTPResponse, newErr } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) newErr.model = v return localVarHTTPResponse, newErr } if localVarHTTPResponse.StatusCode == 422 { - var v Status + var v ErrorDetail err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { newErr.error = err.Error() return localVarHTTPResponse, newErr } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) newErr.model = v } return localVarHTTPResponse, newErr @@ -5602,10 +5694,10 @@ type ApiPackagesValidateUploadCocoapodsRequest struct { ApiService *PackagesApiService owner string repo string - data *PackagesValidateUploadCocoapods + data *CocoapodsPackageUploadRequest } -func (r ApiPackagesValidateUploadCocoapodsRequest) Data(data PackagesValidateUploadCocoapods) ApiPackagesValidateUploadCocoapodsRequest { +func (r ApiPackagesValidateUploadCocoapodsRequest) Data(data CocoapodsPackageUploadRequest) ApiPackagesValidateUploadCocoapodsRequest { r.data = &data return r } @@ -5664,7 +5756,7 @@ func (a *PackagesApiService) PackagesValidateUploadCocoapodsExecute(r ApiPackage } // to determine the Accept header - localVarHTTPHeaderAccepts := []string{"*/*"} + localVarHTTPHeaderAccepts := []string{"application/json"} // set Accept header localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts) @@ -5709,33 +5801,36 @@ func (a *PackagesApiService) PackagesValidateUploadCocoapodsExecute(r ApiPackage body: localVarBody, error: localVarHTTPResponse.Status, } - if localVarHTTPResponse.StatusCode == 400 { - var v Status + if localVarHTTPResponse.StatusCode == 404 { + var v ErrorDetail err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { newErr.error = err.Error() return localVarHTTPResponse, newErr } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) newErr.model = v return localVarHTTPResponse, newErr } - if localVarHTTPResponse.StatusCode == 404 { - var v Status + if localVarHTTPResponse.StatusCode == 400 { + var v ErrorDetail err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { newErr.error = err.Error() return localVarHTTPResponse, newErr } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) newErr.model = v return localVarHTTPResponse, newErr } if localVarHTTPResponse.StatusCode == 422 { - var v Status + var v ErrorDetail err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { newErr.error = err.Error() return localVarHTTPResponse, newErr } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) newErr.model = v } return localVarHTTPResponse, newErr @@ -5749,10 +5844,10 @@ type ApiPackagesValidateUploadComposerRequest struct { ApiService *PackagesApiService owner string repo string - data *PackagesValidateUploadComposer + data *ComposerPackageUploadRequest } -func (r ApiPackagesValidateUploadComposerRequest) Data(data PackagesValidateUploadComposer) ApiPackagesValidateUploadComposerRequest { +func (r ApiPackagesValidateUploadComposerRequest) Data(data ComposerPackageUploadRequest) ApiPackagesValidateUploadComposerRequest { r.data = &data return r } @@ -5811,7 +5906,7 @@ func (a *PackagesApiService) PackagesValidateUploadComposerExecute(r ApiPackages } // to determine the Accept header - localVarHTTPHeaderAccepts := []string{"*/*"} + localVarHTTPHeaderAccepts := []string{"application/json"} // set Accept header localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts) @@ -5856,33 +5951,36 @@ func (a *PackagesApiService) PackagesValidateUploadComposerExecute(r ApiPackages body: localVarBody, error: localVarHTTPResponse.Status, } - if localVarHTTPResponse.StatusCode == 400 { - var v Status + if localVarHTTPResponse.StatusCode == 404 { + var v ErrorDetail err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { newErr.error = err.Error() return localVarHTTPResponse, newErr } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) newErr.model = v return localVarHTTPResponse, newErr } - if localVarHTTPResponse.StatusCode == 404 { - var v Status + if localVarHTTPResponse.StatusCode == 400 { + var v ErrorDetail err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { newErr.error = err.Error() return localVarHTTPResponse, newErr } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) newErr.model = v return localVarHTTPResponse, newErr } if localVarHTTPResponse.StatusCode == 422 { - var v Status + var v ErrorDetail err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { newErr.error = err.Error() return localVarHTTPResponse, newErr } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) newErr.model = v } return localVarHTTPResponse, newErr @@ -5896,10 +5994,10 @@ type ApiPackagesValidateUploadConanRequest struct { ApiService *PackagesApiService owner string repo string - data *PackagesValidateUploadConan + data *ConanPackageUploadRequest } -func (r ApiPackagesValidateUploadConanRequest) Data(data PackagesValidateUploadConan) ApiPackagesValidateUploadConanRequest { +func (r ApiPackagesValidateUploadConanRequest) Data(data ConanPackageUploadRequest) ApiPackagesValidateUploadConanRequest { r.data = &data return r } @@ -5958,7 +6056,7 @@ func (a *PackagesApiService) PackagesValidateUploadConanExecute(r ApiPackagesVal } // to determine the Accept header - localVarHTTPHeaderAccepts := []string{"*/*"} + localVarHTTPHeaderAccepts := []string{"application/json"} // set Accept header localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts) @@ -6003,33 +6101,36 @@ func (a *PackagesApiService) PackagesValidateUploadConanExecute(r ApiPackagesVal body: localVarBody, error: localVarHTTPResponse.Status, } - if localVarHTTPResponse.StatusCode == 400 { - var v Status + if localVarHTTPResponse.StatusCode == 404 { + var v ErrorDetail err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { newErr.error = err.Error() return localVarHTTPResponse, newErr } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) newErr.model = v return localVarHTTPResponse, newErr } - if localVarHTTPResponse.StatusCode == 404 { - var v Status + if localVarHTTPResponse.StatusCode == 400 { + var v ErrorDetail err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { newErr.error = err.Error() return localVarHTTPResponse, newErr } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) newErr.model = v return localVarHTTPResponse, newErr } if localVarHTTPResponse.StatusCode == 422 { - var v Status + var v ErrorDetail err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { newErr.error = err.Error() return localVarHTTPResponse, newErr } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) newErr.model = v } return localVarHTTPResponse, newErr @@ -6043,10 +6144,10 @@ type ApiPackagesValidateUploadCondaRequest struct { ApiService *PackagesApiService owner string repo string - data *PackagesValidateUploadConda + data *CondaPackageUploadRequest } -func (r ApiPackagesValidateUploadCondaRequest) Data(data PackagesValidateUploadConda) ApiPackagesValidateUploadCondaRequest { +func (r ApiPackagesValidateUploadCondaRequest) Data(data CondaPackageUploadRequest) ApiPackagesValidateUploadCondaRequest { r.data = &data return r } @@ -6105,7 +6206,7 @@ func (a *PackagesApiService) PackagesValidateUploadCondaExecute(r ApiPackagesVal } // to determine the Accept header - localVarHTTPHeaderAccepts := []string{"*/*"} + localVarHTTPHeaderAccepts := []string{"application/json"} // set Accept header localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts) @@ -6150,33 +6251,36 @@ func (a *PackagesApiService) PackagesValidateUploadCondaExecute(r ApiPackagesVal body: localVarBody, error: localVarHTTPResponse.Status, } - if localVarHTTPResponse.StatusCode == 400 { - var v Status + if localVarHTTPResponse.StatusCode == 404 { + var v ErrorDetail err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { newErr.error = err.Error() return localVarHTTPResponse, newErr } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) newErr.model = v return localVarHTTPResponse, newErr } - if localVarHTTPResponse.StatusCode == 404 { - var v Status + if localVarHTTPResponse.StatusCode == 400 { + var v ErrorDetail err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { newErr.error = err.Error() return localVarHTTPResponse, newErr } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) newErr.model = v return localVarHTTPResponse, newErr } if localVarHTTPResponse.StatusCode == 422 { - var v Status + var v ErrorDetail err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { newErr.error = err.Error() return localVarHTTPResponse, newErr } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) newErr.model = v } return localVarHTTPResponse, newErr @@ -6190,10 +6294,10 @@ type ApiPackagesValidateUploadCranRequest struct { ApiService *PackagesApiService owner string repo string - data *PackagesValidateUploadCran + data *CranPackageUploadRequest } -func (r ApiPackagesValidateUploadCranRequest) Data(data PackagesValidateUploadCran) ApiPackagesValidateUploadCranRequest { +func (r ApiPackagesValidateUploadCranRequest) Data(data CranPackageUploadRequest) ApiPackagesValidateUploadCranRequest { r.data = &data return r } @@ -6252,7 +6356,7 @@ func (a *PackagesApiService) PackagesValidateUploadCranExecute(r ApiPackagesVali } // to determine the Accept header - localVarHTTPHeaderAccepts := []string{"*/*"} + localVarHTTPHeaderAccepts := []string{"application/json"} // set Accept header localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts) @@ -6297,33 +6401,36 @@ func (a *PackagesApiService) PackagesValidateUploadCranExecute(r ApiPackagesVali body: localVarBody, error: localVarHTTPResponse.Status, } - if localVarHTTPResponse.StatusCode == 400 { - var v Status + if localVarHTTPResponse.StatusCode == 404 { + var v ErrorDetail err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { newErr.error = err.Error() return localVarHTTPResponse, newErr } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) newErr.model = v return localVarHTTPResponse, newErr } - if localVarHTTPResponse.StatusCode == 404 { - var v Status + if localVarHTTPResponse.StatusCode == 400 { + var v ErrorDetail err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { newErr.error = err.Error() return localVarHTTPResponse, newErr } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) newErr.model = v return localVarHTTPResponse, newErr } if localVarHTTPResponse.StatusCode == 422 { - var v Status + var v ErrorDetail err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { newErr.error = err.Error() return localVarHTTPResponse, newErr } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) newErr.model = v } return localVarHTTPResponse, newErr @@ -6337,10 +6444,10 @@ type ApiPackagesValidateUploadDartRequest struct { ApiService *PackagesApiService owner string repo string - data *PackagesValidateUploadDart + data *DartPackageUploadRequest } -func (r ApiPackagesValidateUploadDartRequest) Data(data PackagesValidateUploadDart) ApiPackagesValidateUploadDartRequest { +func (r ApiPackagesValidateUploadDartRequest) Data(data DartPackageUploadRequest) ApiPackagesValidateUploadDartRequest { r.data = &data return r } @@ -6399,7 +6506,7 @@ func (a *PackagesApiService) PackagesValidateUploadDartExecute(r ApiPackagesVali } // to determine the Accept header - localVarHTTPHeaderAccepts := []string{"*/*"} + localVarHTTPHeaderAccepts := []string{"application/json"} // set Accept header localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts) @@ -6444,33 +6551,36 @@ func (a *PackagesApiService) PackagesValidateUploadDartExecute(r ApiPackagesVali body: localVarBody, error: localVarHTTPResponse.Status, } - if localVarHTTPResponse.StatusCode == 400 { - var v Status + if localVarHTTPResponse.StatusCode == 404 { + var v ErrorDetail err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { newErr.error = err.Error() return localVarHTTPResponse, newErr } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) newErr.model = v return localVarHTTPResponse, newErr } - if localVarHTTPResponse.StatusCode == 404 { - var v Status + if localVarHTTPResponse.StatusCode == 400 { + var v ErrorDetail err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { newErr.error = err.Error() return localVarHTTPResponse, newErr } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) newErr.model = v return localVarHTTPResponse, newErr } if localVarHTTPResponse.StatusCode == 422 { - var v Status + var v ErrorDetail err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { newErr.error = err.Error() return localVarHTTPResponse, newErr } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) newErr.model = v } return localVarHTTPResponse, newErr @@ -6484,10 +6594,10 @@ type ApiPackagesValidateUploadDebRequest struct { ApiService *PackagesApiService owner string repo string - data *PackagesValidateUploadDeb + data *DebPackageUploadRequest } -func (r ApiPackagesValidateUploadDebRequest) Data(data PackagesValidateUploadDeb) ApiPackagesValidateUploadDebRequest { +func (r ApiPackagesValidateUploadDebRequest) Data(data DebPackageUploadRequest) ApiPackagesValidateUploadDebRequest { r.data = &data return r } @@ -6546,7 +6656,7 @@ func (a *PackagesApiService) PackagesValidateUploadDebExecute(r ApiPackagesValid } // to determine the Accept header - localVarHTTPHeaderAccepts := []string{"*/*"} + localVarHTTPHeaderAccepts := []string{"application/json"} // set Accept header localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts) @@ -6591,33 +6701,36 @@ func (a *PackagesApiService) PackagesValidateUploadDebExecute(r ApiPackagesValid body: localVarBody, error: localVarHTTPResponse.Status, } - if localVarHTTPResponse.StatusCode == 400 { - var v Status + if localVarHTTPResponse.StatusCode == 404 { + var v ErrorDetail err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { newErr.error = err.Error() return localVarHTTPResponse, newErr } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) newErr.model = v return localVarHTTPResponse, newErr } - if localVarHTTPResponse.StatusCode == 404 { - var v Status + if localVarHTTPResponse.StatusCode == 400 { + var v ErrorDetail err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { newErr.error = err.Error() return localVarHTTPResponse, newErr } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) newErr.model = v return localVarHTTPResponse, newErr } if localVarHTTPResponse.StatusCode == 422 { - var v Status + var v ErrorDetail err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { newErr.error = err.Error() return localVarHTTPResponse, newErr } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) newErr.model = v } return localVarHTTPResponse, newErr @@ -6631,10 +6744,10 @@ type ApiPackagesValidateUploadDockerRequest struct { ApiService *PackagesApiService owner string repo string - data *PackagesValidateUploadDocker + data *DockerPackageUploadRequest } -func (r ApiPackagesValidateUploadDockerRequest) Data(data PackagesValidateUploadDocker) ApiPackagesValidateUploadDockerRequest { +func (r ApiPackagesValidateUploadDockerRequest) Data(data DockerPackageUploadRequest) ApiPackagesValidateUploadDockerRequest { r.data = &data return r } @@ -6693,7 +6806,7 @@ func (a *PackagesApiService) PackagesValidateUploadDockerExecute(r ApiPackagesVa } // to determine the Accept header - localVarHTTPHeaderAccepts := []string{"*/*"} + localVarHTTPHeaderAccepts := []string{"application/json"} // set Accept header localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts) @@ -6738,33 +6851,36 @@ func (a *PackagesApiService) PackagesValidateUploadDockerExecute(r ApiPackagesVa body: localVarBody, error: localVarHTTPResponse.Status, } - if localVarHTTPResponse.StatusCode == 400 { - var v Status + if localVarHTTPResponse.StatusCode == 404 { + var v ErrorDetail err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { newErr.error = err.Error() return localVarHTTPResponse, newErr } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) newErr.model = v return localVarHTTPResponse, newErr } - if localVarHTTPResponse.StatusCode == 404 { - var v Status + if localVarHTTPResponse.StatusCode == 400 { + var v ErrorDetail err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { newErr.error = err.Error() return localVarHTTPResponse, newErr } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) newErr.model = v return localVarHTTPResponse, newErr } if localVarHTTPResponse.StatusCode == 422 { - var v Status + var v ErrorDetail err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { newErr.error = err.Error() return localVarHTTPResponse, newErr } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) newErr.model = v } return localVarHTTPResponse, newErr @@ -6778,10 +6894,10 @@ type ApiPackagesValidateUploadGoRequest struct { ApiService *PackagesApiService owner string repo string - data *PackagesValidateUploadGo + data *GoPackageUploadRequest } -func (r ApiPackagesValidateUploadGoRequest) Data(data PackagesValidateUploadGo) ApiPackagesValidateUploadGoRequest { +func (r ApiPackagesValidateUploadGoRequest) Data(data GoPackageUploadRequest) ApiPackagesValidateUploadGoRequest { r.data = &data return r } @@ -6840,7 +6956,7 @@ func (a *PackagesApiService) PackagesValidateUploadGoExecute(r ApiPackagesValida } // to determine the Accept header - localVarHTTPHeaderAccepts := []string{"*/*"} + localVarHTTPHeaderAccepts := []string{"application/json"} // set Accept header localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts) @@ -6885,33 +7001,36 @@ func (a *PackagesApiService) PackagesValidateUploadGoExecute(r ApiPackagesValida body: localVarBody, error: localVarHTTPResponse.Status, } - if localVarHTTPResponse.StatusCode == 400 { - var v Status + if localVarHTTPResponse.StatusCode == 404 { + var v ErrorDetail err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { newErr.error = err.Error() return localVarHTTPResponse, newErr } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) newErr.model = v return localVarHTTPResponse, newErr } - if localVarHTTPResponse.StatusCode == 404 { - var v Status + if localVarHTTPResponse.StatusCode == 400 { + var v ErrorDetail err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { newErr.error = err.Error() return localVarHTTPResponse, newErr } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) newErr.model = v return localVarHTTPResponse, newErr } if localVarHTTPResponse.StatusCode == 422 { - var v Status + var v ErrorDetail err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { newErr.error = err.Error() return localVarHTTPResponse, newErr } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) newErr.model = v } return localVarHTTPResponse, newErr @@ -6925,10 +7044,10 @@ type ApiPackagesValidateUploadHelmRequest struct { ApiService *PackagesApiService owner string repo string - data *PackagesValidateUploadHelm + data *HelmPackageUploadRequest } -func (r ApiPackagesValidateUploadHelmRequest) Data(data PackagesValidateUploadHelm) ApiPackagesValidateUploadHelmRequest { +func (r ApiPackagesValidateUploadHelmRequest) Data(data HelmPackageUploadRequest) ApiPackagesValidateUploadHelmRequest { r.data = &data return r } @@ -6987,7 +7106,7 @@ func (a *PackagesApiService) PackagesValidateUploadHelmExecute(r ApiPackagesVali } // to determine the Accept header - localVarHTTPHeaderAccepts := []string{"*/*"} + localVarHTTPHeaderAccepts := []string{"application/json"} // set Accept header localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts) @@ -7032,33 +7151,36 @@ func (a *PackagesApiService) PackagesValidateUploadHelmExecute(r ApiPackagesVali body: localVarBody, error: localVarHTTPResponse.Status, } - if localVarHTTPResponse.StatusCode == 400 { - var v Status + if localVarHTTPResponse.StatusCode == 404 { + var v ErrorDetail err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { newErr.error = err.Error() return localVarHTTPResponse, newErr } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) newErr.model = v return localVarHTTPResponse, newErr } - if localVarHTTPResponse.StatusCode == 404 { - var v Status + if localVarHTTPResponse.StatusCode == 400 { + var v ErrorDetail err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { newErr.error = err.Error() return localVarHTTPResponse, newErr } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) newErr.model = v return localVarHTTPResponse, newErr } if localVarHTTPResponse.StatusCode == 422 { - var v Status + var v ErrorDetail err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { newErr.error = err.Error() return localVarHTTPResponse, newErr } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) newErr.model = v } return localVarHTTPResponse, newErr @@ -7072,10 +7194,10 @@ type ApiPackagesValidateUploadLuarocksRequest struct { ApiService *PackagesApiService owner string repo string - data *PackagesValidateUploadLuarocks + data *LuarocksPackageUploadRequest } -func (r ApiPackagesValidateUploadLuarocksRequest) Data(data PackagesValidateUploadLuarocks) ApiPackagesValidateUploadLuarocksRequest { +func (r ApiPackagesValidateUploadLuarocksRequest) Data(data LuarocksPackageUploadRequest) ApiPackagesValidateUploadLuarocksRequest { r.data = &data return r } @@ -7134,7 +7256,7 @@ func (a *PackagesApiService) PackagesValidateUploadLuarocksExecute(r ApiPackages } // to determine the Accept header - localVarHTTPHeaderAccepts := []string{"*/*"} + localVarHTTPHeaderAccepts := []string{"application/json"} // set Accept header localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts) @@ -7179,33 +7301,36 @@ func (a *PackagesApiService) PackagesValidateUploadLuarocksExecute(r ApiPackages body: localVarBody, error: localVarHTTPResponse.Status, } - if localVarHTTPResponse.StatusCode == 400 { - var v Status + if localVarHTTPResponse.StatusCode == 404 { + var v ErrorDetail err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { newErr.error = err.Error() return localVarHTTPResponse, newErr } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) newErr.model = v return localVarHTTPResponse, newErr } - if localVarHTTPResponse.StatusCode == 404 { - var v Status + if localVarHTTPResponse.StatusCode == 400 { + var v ErrorDetail err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { newErr.error = err.Error() return localVarHTTPResponse, newErr } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) newErr.model = v return localVarHTTPResponse, newErr } if localVarHTTPResponse.StatusCode == 422 { - var v Status + var v ErrorDetail err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { newErr.error = err.Error() return localVarHTTPResponse, newErr } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) newErr.model = v } return localVarHTTPResponse, newErr @@ -7219,10 +7344,10 @@ type ApiPackagesValidateUploadMavenRequest struct { ApiService *PackagesApiService owner string repo string - data *PackagesValidateUploadMaven + data *MavenPackageUploadRequest } -func (r ApiPackagesValidateUploadMavenRequest) Data(data PackagesValidateUploadMaven) ApiPackagesValidateUploadMavenRequest { +func (r ApiPackagesValidateUploadMavenRequest) Data(data MavenPackageUploadRequest) ApiPackagesValidateUploadMavenRequest { r.data = &data return r } @@ -7281,7 +7406,7 @@ func (a *PackagesApiService) PackagesValidateUploadMavenExecute(r ApiPackagesVal } // to determine the Accept header - localVarHTTPHeaderAccepts := []string{"*/*"} + localVarHTTPHeaderAccepts := []string{"application/json"} // set Accept header localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts) @@ -7326,33 +7451,36 @@ func (a *PackagesApiService) PackagesValidateUploadMavenExecute(r ApiPackagesVal body: localVarBody, error: localVarHTTPResponse.Status, } - if localVarHTTPResponse.StatusCode == 400 { - var v Status + if localVarHTTPResponse.StatusCode == 404 { + var v ErrorDetail err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { newErr.error = err.Error() return localVarHTTPResponse, newErr } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) newErr.model = v return localVarHTTPResponse, newErr } - if localVarHTTPResponse.StatusCode == 404 { - var v Status + if localVarHTTPResponse.StatusCode == 400 { + var v ErrorDetail err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { newErr.error = err.Error() return localVarHTTPResponse, newErr } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) newErr.model = v return localVarHTTPResponse, newErr } if localVarHTTPResponse.StatusCode == 422 { - var v Status + var v ErrorDetail err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { newErr.error = err.Error() return localVarHTTPResponse, newErr } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) newErr.model = v } return localVarHTTPResponse, newErr @@ -7366,10 +7494,10 @@ type ApiPackagesValidateUploadNpmRequest struct { ApiService *PackagesApiService owner string repo string - data *PackagesValidateUploadNpm + data *NpmPackageUploadRequest } -func (r ApiPackagesValidateUploadNpmRequest) Data(data PackagesValidateUploadNpm) ApiPackagesValidateUploadNpmRequest { +func (r ApiPackagesValidateUploadNpmRequest) Data(data NpmPackageUploadRequest) ApiPackagesValidateUploadNpmRequest { r.data = &data return r } @@ -7428,7 +7556,7 @@ func (a *PackagesApiService) PackagesValidateUploadNpmExecute(r ApiPackagesValid } // to determine the Accept header - localVarHTTPHeaderAccepts := []string{"*/*"} + localVarHTTPHeaderAccepts := []string{"application/json"} // set Accept header localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts) @@ -7473,33 +7601,36 @@ func (a *PackagesApiService) PackagesValidateUploadNpmExecute(r ApiPackagesValid body: localVarBody, error: localVarHTTPResponse.Status, } - if localVarHTTPResponse.StatusCode == 400 { - var v Status + if localVarHTTPResponse.StatusCode == 404 { + var v ErrorDetail err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { newErr.error = err.Error() return localVarHTTPResponse, newErr } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) newErr.model = v return localVarHTTPResponse, newErr } - if localVarHTTPResponse.StatusCode == 404 { - var v Status + if localVarHTTPResponse.StatusCode == 400 { + var v ErrorDetail err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { newErr.error = err.Error() return localVarHTTPResponse, newErr } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) newErr.model = v return localVarHTTPResponse, newErr } if localVarHTTPResponse.StatusCode == 422 { - var v Status + var v ErrorDetail err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { newErr.error = err.Error() return localVarHTTPResponse, newErr } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) newErr.model = v } return localVarHTTPResponse, newErr @@ -7513,10 +7644,10 @@ type ApiPackagesValidateUploadNugetRequest struct { ApiService *PackagesApiService owner string repo string - data *PackagesValidateUploadNuget + data *NugetPackageUploadRequest } -func (r ApiPackagesValidateUploadNugetRequest) Data(data PackagesValidateUploadNuget) ApiPackagesValidateUploadNugetRequest { +func (r ApiPackagesValidateUploadNugetRequest) Data(data NugetPackageUploadRequest) ApiPackagesValidateUploadNugetRequest { r.data = &data return r } @@ -7575,7 +7706,7 @@ func (a *PackagesApiService) PackagesValidateUploadNugetExecute(r ApiPackagesVal } // to determine the Accept header - localVarHTTPHeaderAccepts := []string{"*/*"} + localVarHTTPHeaderAccepts := []string{"application/json"} // set Accept header localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts) @@ -7620,33 +7751,36 @@ func (a *PackagesApiService) PackagesValidateUploadNugetExecute(r ApiPackagesVal body: localVarBody, error: localVarHTTPResponse.Status, } - if localVarHTTPResponse.StatusCode == 400 { - var v Status + if localVarHTTPResponse.StatusCode == 404 { + var v ErrorDetail err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { newErr.error = err.Error() return localVarHTTPResponse, newErr } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) newErr.model = v return localVarHTTPResponse, newErr } - if localVarHTTPResponse.StatusCode == 404 { - var v Status + if localVarHTTPResponse.StatusCode == 400 { + var v ErrorDetail err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { newErr.error = err.Error() return localVarHTTPResponse, newErr } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) newErr.model = v return localVarHTTPResponse, newErr } if localVarHTTPResponse.StatusCode == 422 { - var v Status + var v ErrorDetail err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { newErr.error = err.Error() return localVarHTTPResponse, newErr } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) newErr.model = v } return localVarHTTPResponse, newErr @@ -7660,10 +7794,10 @@ type ApiPackagesValidateUploadP2Request struct { ApiService *PackagesApiService owner string repo string - data *PackagesValidateUploadP2 + data *P2PackageUploadRequest } -func (r ApiPackagesValidateUploadP2Request) Data(data PackagesValidateUploadP2) ApiPackagesValidateUploadP2Request { +func (r ApiPackagesValidateUploadP2Request) Data(data P2PackageUploadRequest) ApiPackagesValidateUploadP2Request { r.data = &data return r } @@ -7722,7 +7856,7 @@ func (a *PackagesApiService) PackagesValidateUploadP2Execute(r ApiPackagesValida } // to determine the Accept header - localVarHTTPHeaderAccepts := []string{"*/*"} + localVarHTTPHeaderAccepts := []string{"application/json"} // set Accept header localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts) @@ -7767,33 +7901,36 @@ func (a *PackagesApiService) PackagesValidateUploadP2Execute(r ApiPackagesValida body: localVarBody, error: localVarHTTPResponse.Status, } - if localVarHTTPResponse.StatusCode == 400 { - var v Status + if localVarHTTPResponse.StatusCode == 404 { + var v ErrorDetail err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { newErr.error = err.Error() return localVarHTTPResponse, newErr } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) newErr.model = v return localVarHTTPResponse, newErr } - if localVarHTTPResponse.StatusCode == 404 { - var v Status + if localVarHTTPResponse.StatusCode == 400 { + var v ErrorDetail err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { newErr.error = err.Error() return localVarHTTPResponse, newErr } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) newErr.model = v return localVarHTTPResponse, newErr } if localVarHTTPResponse.StatusCode == 422 { - var v Status + var v ErrorDetail err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { newErr.error = err.Error() return localVarHTTPResponse, newErr } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) newErr.model = v } return localVarHTTPResponse, newErr @@ -7807,10 +7944,10 @@ type ApiPackagesValidateUploadPythonRequest struct { ApiService *PackagesApiService owner string repo string - data *PackagesValidateUploadPython + data *PythonPackageUploadRequest } -func (r ApiPackagesValidateUploadPythonRequest) Data(data PackagesValidateUploadPython) ApiPackagesValidateUploadPythonRequest { +func (r ApiPackagesValidateUploadPythonRequest) Data(data PythonPackageUploadRequest) ApiPackagesValidateUploadPythonRequest { r.data = &data return r } @@ -7869,7 +8006,7 @@ func (a *PackagesApiService) PackagesValidateUploadPythonExecute(r ApiPackagesVa } // to determine the Accept header - localVarHTTPHeaderAccepts := []string{"*/*"} + localVarHTTPHeaderAccepts := []string{"application/json"} // set Accept header localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts) @@ -7914,33 +8051,36 @@ func (a *PackagesApiService) PackagesValidateUploadPythonExecute(r ApiPackagesVa body: localVarBody, error: localVarHTTPResponse.Status, } - if localVarHTTPResponse.StatusCode == 400 { - var v Status + if localVarHTTPResponse.StatusCode == 404 { + var v ErrorDetail err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { newErr.error = err.Error() return localVarHTTPResponse, newErr } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) newErr.model = v return localVarHTTPResponse, newErr } - if localVarHTTPResponse.StatusCode == 404 { - var v Status + if localVarHTTPResponse.StatusCode == 400 { + var v ErrorDetail err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { newErr.error = err.Error() return localVarHTTPResponse, newErr } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) newErr.model = v return localVarHTTPResponse, newErr } if localVarHTTPResponse.StatusCode == 422 { - var v Status + var v ErrorDetail err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { newErr.error = err.Error() return localVarHTTPResponse, newErr } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) newErr.model = v } return localVarHTTPResponse, newErr @@ -7954,10 +8094,10 @@ type ApiPackagesValidateUploadRawRequest struct { ApiService *PackagesApiService owner string repo string - data *PackagesValidateUploadRaw + data *RawPackageUploadRequest } -func (r ApiPackagesValidateUploadRawRequest) Data(data PackagesValidateUploadRaw) ApiPackagesValidateUploadRawRequest { +func (r ApiPackagesValidateUploadRawRequest) Data(data RawPackageUploadRequest) ApiPackagesValidateUploadRawRequest { r.data = &data return r } @@ -8016,7 +8156,7 @@ func (a *PackagesApiService) PackagesValidateUploadRawExecute(r ApiPackagesValid } // to determine the Accept header - localVarHTTPHeaderAccepts := []string{"*/*"} + localVarHTTPHeaderAccepts := []string{"application/json"} // set Accept header localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts) @@ -8061,33 +8201,36 @@ func (a *PackagesApiService) PackagesValidateUploadRawExecute(r ApiPackagesValid body: localVarBody, error: localVarHTTPResponse.Status, } - if localVarHTTPResponse.StatusCode == 400 { - var v Status + if localVarHTTPResponse.StatusCode == 404 { + var v ErrorDetail err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { newErr.error = err.Error() return localVarHTTPResponse, newErr } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) newErr.model = v return localVarHTTPResponse, newErr } - if localVarHTTPResponse.StatusCode == 404 { - var v Status + if localVarHTTPResponse.StatusCode == 400 { + var v ErrorDetail err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { newErr.error = err.Error() return localVarHTTPResponse, newErr } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) newErr.model = v return localVarHTTPResponse, newErr } if localVarHTTPResponse.StatusCode == 422 { - var v Status + var v ErrorDetail err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { newErr.error = err.Error() return localVarHTTPResponse, newErr } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) newErr.model = v } return localVarHTTPResponse, newErr @@ -8101,10 +8244,10 @@ type ApiPackagesValidateUploadRpmRequest struct { ApiService *PackagesApiService owner string repo string - data *PackagesValidateUploadRpm + data *RpmPackageUploadRequest } -func (r ApiPackagesValidateUploadRpmRequest) Data(data PackagesValidateUploadRpm) ApiPackagesValidateUploadRpmRequest { +func (r ApiPackagesValidateUploadRpmRequest) Data(data RpmPackageUploadRequest) ApiPackagesValidateUploadRpmRequest { r.data = &data return r } @@ -8163,7 +8306,7 @@ func (a *PackagesApiService) PackagesValidateUploadRpmExecute(r ApiPackagesValid } // to determine the Accept header - localVarHTTPHeaderAccepts := []string{"*/*"} + localVarHTTPHeaderAccepts := []string{"application/json"} // set Accept header localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts) @@ -8208,33 +8351,36 @@ func (a *PackagesApiService) PackagesValidateUploadRpmExecute(r ApiPackagesValid body: localVarBody, error: localVarHTTPResponse.Status, } - if localVarHTTPResponse.StatusCode == 400 { - var v Status + if localVarHTTPResponse.StatusCode == 404 { + var v ErrorDetail err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { newErr.error = err.Error() return localVarHTTPResponse, newErr } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) newErr.model = v return localVarHTTPResponse, newErr } - if localVarHTTPResponse.StatusCode == 404 { - var v Status + if localVarHTTPResponse.StatusCode == 400 { + var v ErrorDetail err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { newErr.error = err.Error() return localVarHTTPResponse, newErr } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) newErr.model = v return localVarHTTPResponse, newErr } if localVarHTTPResponse.StatusCode == 422 { - var v Status + var v ErrorDetail err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { newErr.error = err.Error() return localVarHTTPResponse, newErr } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) newErr.model = v } return localVarHTTPResponse, newErr @@ -8248,10 +8394,10 @@ type ApiPackagesValidateUploadRubyRequest struct { ApiService *PackagesApiService owner string repo string - data *PackagesValidateUploadRuby + data *RubyPackageUploadRequest } -func (r ApiPackagesValidateUploadRubyRequest) Data(data PackagesValidateUploadRuby) ApiPackagesValidateUploadRubyRequest { +func (r ApiPackagesValidateUploadRubyRequest) Data(data RubyPackageUploadRequest) ApiPackagesValidateUploadRubyRequest { r.data = &data return r } @@ -8310,7 +8456,7 @@ func (a *PackagesApiService) PackagesValidateUploadRubyExecute(r ApiPackagesVali } // to determine the Accept header - localVarHTTPHeaderAccepts := []string{"*/*"} + localVarHTTPHeaderAccepts := []string{"application/json"} // set Accept header localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts) @@ -8355,33 +8501,36 @@ func (a *PackagesApiService) PackagesValidateUploadRubyExecute(r ApiPackagesVali body: localVarBody, error: localVarHTTPResponse.Status, } - if localVarHTTPResponse.StatusCode == 400 { - var v Status + if localVarHTTPResponse.StatusCode == 404 { + var v ErrorDetail err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { newErr.error = err.Error() return localVarHTTPResponse, newErr } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) newErr.model = v return localVarHTTPResponse, newErr } - if localVarHTTPResponse.StatusCode == 404 { - var v Status + if localVarHTTPResponse.StatusCode == 400 { + var v ErrorDetail err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { newErr.error = err.Error() return localVarHTTPResponse, newErr } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) newErr.model = v return localVarHTTPResponse, newErr } if localVarHTTPResponse.StatusCode == 422 { - var v Status + var v ErrorDetail err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { newErr.error = err.Error() return localVarHTTPResponse, newErr } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) newErr.model = v } return localVarHTTPResponse, newErr @@ -8395,10 +8544,10 @@ type ApiPackagesValidateUploadTerraformRequest struct { ApiService *PackagesApiService owner string repo string - data *PackagesValidateUploadTerraform + data *TerraformPackageUploadRequest } -func (r ApiPackagesValidateUploadTerraformRequest) Data(data PackagesValidateUploadTerraform) ApiPackagesValidateUploadTerraformRequest { +func (r ApiPackagesValidateUploadTerraformRequest) Data(data TerraformPackageUploadRequest) ApiPackagesValidateUploadTerraformRequest { r.data = &data return r } @@ -8457,7 +8606,7 @@ func (a *PackagesApiService) PackagesValidateUploadTerraformExecute(r ApiPackage } // to determine the Accept header - localVarHTTPHeaderAccepts := []string{"*/*"} + localVarHTTPHeaderAccepts := []string{"application/json"} // set Accept header localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts) @@ -8502,33 +8651,36 @@ func (a *PackagesApiService) PackagesValidateUploadTerraformExecute(r ApiPackage body: localVarBody, error: localVarHTTPResponse.Status, } - if localVarHTTPResponse.StatusCode == 400 { - var v Status + if localVarHTTPResponse.StatusCode == 404 { + var v ErrorDetail err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { newErr.error = err.Error() return localVarHTTPResponse, newErr } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) newErr.model = v return localVarHTTPResponse, newErr } - if localVarHTTPResponse.StatusCode == 404 { - var v Status + if localVarHTTPResponse.StatusCode == 400 { + var v ErrorDetail err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { newErr.error = err.Error() return localVarHTTPResponse, newErr } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) newErr.model = v return localVarHTTPResponse, newErr } if localVarHTTPResponse.StatusCode == 422 { - var v Status + var v ErrorDetail err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { newErr.error = err.Error() return localVarHTTPResponse, newErr } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) newErr.model = v } return localVarHTTPResponse, newErr @@ -8542,10 +8694,10 @@ type ApiPackagesValidateUploadVagrantRequest struct { ApiService *PackagesApiService owner string repo string - data *PackagesValidateUploadVagrant + data *VagrantPackageUploadRequest } -func (r ApiPackagesValidateUploadVagrantRequest) Data(data PackagesValidateUploadVagrant) ApiPackagesValidateUploadVagrantRequest { +func (r ApiPackagesValidateUploadVagrantRequest) Data(data VagrantPackageUploadRequest) ApiPackagesValidateUploadVagrantRequest { r.data = &data return r } @@ -8604,7 +8756,7 @@ func (a *PackagesApiService) PackagesValidateUploadVagrantExecute(r ApiPackagesV } // to determine the Accept header - localVarHTTPHeaderAccepts := []string{"*/*"} + localVarHTTPHeaderAccepts := []string{"application/json"} // set Accept header localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts) @@ -8649,33 +8801,36 @@ func (a *PackagesApiService) PackagesValidateUploadVagrantExecute(r ApiPackagesV body: localVarBody, error: localVarHTTPResponse.Status, } - if localVarHTTPResponse.StatusCode == 400 { - var v Status + if localVarHTTPResponse.StatusCode == 404 { + var v ErrorDetail err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { newErr.error = err.Error() return localVarHTTPResponse, newErr } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) newErr.model = v return localVarHTTPResponse, newErr } - if localVarHTTPResponse.StatusCode == 404 { - var v Status + if localVarHTTPResponse.StatusCode == 400 { + var v ErrorDetail err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { newErr.error = err.Error() return localVarHTTPResponse, newErr } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) newErr.model = v return localVarHTTPResponse, newErr } if localVarHTTPResponse.StatusCode == 422 { - var v Status + var v ErrorDetail err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { newErr.error = err.Error() return localVarHTTPResponse, newErr } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) newErr.model = v } return localVarHTTPResponse, newErr diff --git a/api_quota.go b/api_quota.go index 26becfb3..ab063a66 100644 --- a/api_quota.go +++ b/api_quota.go @@ -1,9 +1,9 @@ /* -Cloudsmith API +Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.121.3 +API version: 1.181.6 Contact: support@cloudsmith.io */ @@ -20,11 +20,6 @@ import ( "strings" ) -// Linger please -var ( - _ context.Context -) - // QuotaApiService QuotaApi service type QuotaApiService service @@ -34,7 +29,7 @@ type ApiQuotaHistoryReadRequest struct { owner string } -func (r ApiQuotaHistoryReadRequest) Execute() (*QuotaHistory, *http.Response, error) { +func (r ApiQuotaHistoryReadRequest) Execute() (*QuotaHistoryResponse, *http.Response, error) { return r.ApiService.QuotaHistoryReadExecute(r) } @@ -56,13 +51,13 @@ func (a *QuotaApiService) QuotaHistoryRead(ctx context.Context, owner string) Ap } // Execute executes the request -// @return QuotaHistory -func (a *QuotaApiService) QuotaHistoryReadExecute(r ApiQuotaHistoryReadRequest) (*QuotaHistory, *http.Response, error) { +// @return QuotaHistoryResponse +func (a *QuotaApiService) QuotaHistoryReadExecute(r ApiQuotaHistoryReadRequest) (*QuotaHistoryResponse, *http.Response, error) { var ( localVarHTTPMethod = http.MethodGet localVarPostBody interface{} formFiles []formFile - localVarReturnValue *QuotaHistory + localVarReturnValue *QuotaHistoryResponse ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "QuotaApiService.QuotaHistoryRead") @@ -87,7 +82,7 @@ func (a *QuotaApiService) QuotaHistoryReadExecute(r ApiQuotaHistoryReadRequest) } // to determine the Accept header - localVarHTTPHeaderAccepts := []string{"*/*"} + localVarHTTPHeaderAccepts := []string{"application/json"} // set Accept header localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts) @@ -131,22 +126,24 @@ func (a *QuotaApiService) QuotaHistoryReadExecute(r ApiQuotaHistoryReadRequest) error: localVarHTTPResponse.Status, } if localVarHTTPResponse.StatusCode == 400 { - var v Status + var v ErrorDetail err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { newErr.error = err.Error() return localVarReturnValue, localVarHTTPResponse, newErr } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } if localVarHTTPResponse.StatusCode == 422 { - var v Status + var v ErrorDetail err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { newErr.error = err.Error() return localVarReturnValue, localVarHTTPResponse, newErr } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) newErr.model = v } return localVarReturnValue, localVarHTTPResponse, newErr @@ -170,7 +167,7 @@ type ApiQuotaOssHistoryReadRequest struct { owner string } -func (r ApiQuotaOssHistoryReadRequest) Execute() (*QuotaHistory, *http.Response, error) { +func (r ApiQuotaOssHistoryReadRequest) Execute() (*QuotaHistoryResponse, *http.Response, error) { return r.ApiService.QuotaOssHistoryReadExecute(r) } @@ -192,13 +189,13 @@ func (a *QuotaApiService) QuotaOssHistoryRead(ctx context.Context, owner string) } // Execute executes the request -// @return QuotaHistory -func (a *QuotaApiService) QuotaOssHistoryReadExecute(r ApiQuotaOssHistoryReadRequest) (*QuotaHistory, *http.Response, error) { +// @return QuotaHistoryResponse +func (a *QuotaApiService) QuotaOssHistoryReadExecute(r ApiQuotaOssHistoryReadRequest) (*QuotaHistoryResponse, *http.Response, error) { var ( localVarHTTPMethod = http.MethodGet localVarPostBody interface{} formFiles []formFile - localVarReturnValue *QuotaHistory + localVarReturnValue *QuotaHistoryResponse ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "QuotaApiService.QuotaOssHistoryRead") @@ -223,7 +220,7 @@ func (a *QuotaApiService) QuotaOssHistoryReadExecute(r ApiQuotaOssHistoryReadReq } // to determine the Accept header - localVarHTTPHeaderAccepts := []string{"*/*"} + localVarHTTPHeaderAccepts := []string{"application/json"} // set Accept header localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts) @@ -267,22 +264,24 @@ func (a *QuotaApiService) QuotaOssHistoryReadExecute(r ApiQuotaOssHistoryReadReq error: localVarHTTPResponse.Status, } if localVarHTTPResponse.StatusCode == 400 { - var v Status + var v ErrorDetail err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { newErr.error = err.Error() return localVarReturnValue, localVarHTTPResponse, newErr } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } if localVarHTTPResponse.StatusCode == 422 { - var v Status + var v ErrorDetail err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { newErr.error = err.Error() return localVarReturnValue, localVarHTTPResponse, newErr } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) newErr.model = v } return localVarReturnValue, localVarHTTPResponse, newErr @@ -306,7 +305,7 @@ type ApiQuotaOssReadRequest struct { owner string } -func (r ApiQuotaOssReadRequest) Execute() (*Quota, *http.Response, error) { +func (r ApiQuotaOssReadRequest) Execute() (*QuotaResponse, *http.Response, error) { return r.ApiService.QuotaOssReadExecute(r) } @@ -328,13 +327,13 @@ func (a *QuotaApiService) QuotaOssRead(ctx context.Context, owner string) ApiQuo } // Execute executes the request -// @return Quota -func (a *QuotaApiService) QuotaOssReadExecute(r ApiQuotaOssReadRequest) (*Quota, *http.Response, error) { +// @return QuotaResponse +func (a *QuotaApiService) QuotaOssReadExecute(r ApiQuotaOssReadRequest) (*QuotaResponse, *http.Response, error) { var ( localVarHTTPMethod = http.MethodGet localVarPostBody interface{} formFiles []formFile - localVarReturnValue *Quota + localVarReturnValue *QuotaResponse ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "QuotaApiService.QuotaOssRead") @@ -359,7 +358,7 @@ func (a *QuotaApiService) QuotaOssReadExecute(r ApiQuotaOssReadRequest) (*Quota, } // to determine the Accept header - localVarHTTPHeaderAccepts := []string{"*/*"} + localVarHTTPHeaderAccepts := []string{"application/json"} // set Accept header localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts) @@ -403,22 +402,24 @@ func (a *QuotaApiService) QuotaOssReadExecute(r ApiQuotaOssReadRequest) (*Quota, error: localVarHTTPResponse.Status, } if localVarHTTPResponse.StatusCode == 400 { - var v Status + var v ErrorDetail err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { newErr.error = err.Error() return localVarReturnValue, localVarHTTPResponse, newErr } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } if localVarHTTPResponse.StatusCode == 422 { - var v Status + var v ErrorDetail err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { newErr.error = err.Error() return localVarReturnValue, localVarHTTPResponse, newErr } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) newErr.model = v } return localVarReturnValue, localVarHTTPResponse, newErr @@ -442,7 +443,7 @@ type ApiQuotaReadRequest struct { owner string } -func (r ApiQuotaReadRequest) Execute() (*Quota, *http.Response, error) { +func (r ApiQuotaReadRequest) Execute() (*QuotaResponse, *http.Response, error) { return r.ApiService.QuotaReadExecute(r) } @@ -464,13 +465,13 @@ func (a *QuotaApiService) QuotaRead(ctx context.Context, owner string) ApiQuotaR } // Execute executes the request -// @return Quota -func (a *QuotaApiService) QuotaReadExecute(r ApiQuotaReadRequest) (*Quota, *http.Response, error) { +// @return QuotaResponse +func (a *QuotaApiService) QuotaReadExecute(r ApiQuotaReadRequest) (*QuotaResponse, *http.Response, error) { var ( localVarHTTPMethod = http.MethodGet localVarPostBody interface{} formFiles []formFile - localVarReturnValue *Quota + localVarReturnValue *QuotaResponse ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "QuotaApiService.QuotaRead") @@ -495,7 +496,7 @@ func (a *QuotaApiService) QuotaReadExecute(r ApiQuotaReadRequest) (*Quota, *http } // to determine the Accept header - localVarHTTPHeaderAccepts := []string{"*/*"} + localVarHTTPHeaderAccepts := []string{"application/json"} // set Accept header localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts) @@ -539,22 +540,24 @@ func (a *QuotaApiService) QuotaReadExecute(r ApiQuotaReadRequest) (*Quota, *http error: localVarHTTPResponse.Status, } if localVarHTTPResponse.StatusCode == 400 { - var v Status + var v ErrorDetail err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { newErr.error = err.Error() return localVarReturnValue, localVarHTTPResponse, newErr } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } if localVarHTTPResponse.StatusCode == 422 { - var v Status + var v ErrorDetail err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { newErr.error = err.Error() return localVarReturnValue, localVarHTTPResponse, newErr } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) newErr.model = v } return localVarReturnValue, localVarHTTPResponse, newErr diff --git a/api_rates.go b/api_rates.go index 1ce61496..6193a432 100644 --- a/api_rates.go +++ b/api_rates.go @@ -1,9 +1,9 @@ /* -Cloudsmith API +Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.121.3 +API version: 1.181.6 Contact: support@cloudsmith.io */ @@ -19,11 +19,6 @@ import ( "net/url" ) -// Linger please -var ( - _ context.Context -) - // RatesApiService RatesApi service type RatesApiService service @@ -32,7 +27,7 @@ type ApiRatesLimitsListRequest struct { ApiService *RatesApiService } -func (r ApiRatesLimitsListRequest) Execute() (*ResourcesRateCheck, *http.Response, error) { +func (r ApiRatesLimitsListRequest) Execute() (*ResourcesRateCheckResponse, *http.Response, error) { return r.ApiService.RatesLimitsListExecute(r) } @@ -52,13 +47,13 @@ func (a *RatesApiService) RatesLimitsList(ctx context.Context) ApiRatesLimitsLis } // Execute executes the request -// @return ResourcesRateCheck -func (a *RatesApiService) RatesLimitsListExecute(r ApiRatesLimitsListRequest) (*ResourcesRateCheck, *http.Response, error) { +// @return ResourcesRateCheckResponse +func (a *RatesApiService) RatesLimitsListExecute(r ApiRatesLimitsListRequest) (*ResourcesRateCheckResponse, *http.Response, error) { var ( localVarHTTPMethod = http.MethodGet localVarPostBody interface{} formFiles []formFile - localVarReturnValue *ResourcesRateCheck + localVarReturnValue *ResourcesRateCheckResponse ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "RatesApiService.RatesLimitsList") @@ -82,7 +77,7 @@ func (a *RatesApiService) RatesLimitsListExecute(r ApiRatesLimitsListRequest) (* } // to determine the Accept header - localVarHTTPHeaderAccepts := []string{"*/*"} + localVarHTTPHeaderAccepts := []string{"application/json"} // set Accept header localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts) @@ -126,22 +121,24 @@ func (a *RatesApiService) RatesLimitsListExecute(r ApiRatesLimitsListRequest) (* error: localVarHTTPResponse.Status, } if localVarHTTPResponse.StatusCode == 400 { - var v Status + var v ErrorDetail err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { newErr.error = err.Error() return localVarReturnValue, localVarHTTPResponse, newErr } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } if localVarHTTPResponse.StatusCode == 422 { - var v Status + var v ErrorDetail err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { newErr.error = err.Error() return localVarReturnValue, localVarHTTPResponse, newErr } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) newErr.model = v } return localVarReturnValue, localVarHTTPResponse, newErr diff --git a/api_repos.go b/api_repos.go index 7be3bbaf..9c495904 100644 --- a/api_repos.go +++ b/api_repos.go @@ -1,9 +1,9 @@ /* -Cloudsmith API +Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.121.3 +API version: 1.181.6 Contact: support@cloudsmith.io */ @@ -20,179 +20,22 @@ import ( "strings" ) -// Linger please -var ( - _ context.Context -) - // ReposApiService ReposApi service type ReposApiService service -type ApiReposAllListRequest struct { - ctx context.Context - ApiService *ReposApiService - page *int64 - pageSize *int64 -} - -// A page number within the paginated result set. -func (r ApiReposAllListRequest) Page(page int64) ApiReposAllListRequest { - r.page = &page - return r -} - -// Number of results to return per page. -func (r ApiReposAllListRequest) PageSize(pageSize int64) ApiReposAllListRequest { - r.pageSize = &pageSize - return r -} - -func (r ApiReposAllListRequest) Execute() ([]Repository, *http.Response, error) { - return r.ApiService.ReposAllListExecute(r) -} - -/* -ReposAllList Get a list of all repositories associated with current user. - -Get a list of all repositories associated with current user. - - @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - @return ApiReposAllListRequest -*/ -func (a *ReposApiService) ReposAllList(ctx context.Context) ApiReposAllListRequest { - return ApiReposAllListRequest{ - ApiService: a, - ctx: ctx, - } -} - -// Execute executes the request -// @return []Repository -func (a *ReposApiService) ReposAllListExecute(r ApiReposAllListRequest) ([]Repository, *http.Response, error) { - var ( - localVarHTTPMethod = http.MethodGet - localVarPostBody interface{} - formFiles []formFile - localVarReturnValue []Repository - ) - - localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "ReposApiService.ReposAllList") - if err != nil { - return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} - } - - localVarPath := localBasePath + "/repos/" - - localVarHeaderParams := make(map[string]string) - localVarQueryParams := url.Values{} - localVarFormParams := url.Values{} - - if r.page != nil { - localVarQueryParams.Add("page", parameterToString(*r.page, "")) - } - if r.pageSize != nil { - localVarQueryParams.Add("page_size", parameterToString(*r.pageSize, "")) - } - // to determine the Content-Type header - localVarHTTPContentTypes := []string{} - - // set Content-Type header - localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes) - if localVarHTTPContentType != "" { - localVarHeaderParams["Content-Type"] = localVarHTTPContentType - } - - // to determine the Accept header - localVarHTTPHeaderAccepts := []string{"*/*"} - - // set Accept header - localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts) - if localVarHTTPHeaderAccept != "" { - localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept - } - if r.ctx != nil { - // API Key Authentication - if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok { - if apiKey, ok := auth["apikey"]; ok { - var key string - if apiKey.Prefix != "" { - key = apiKey.Prefix + " " + apiKey.Key - } else { - key = apiKey.Key - } - localVarHeaderParams["X-Api-Key"] = key - } - } - } - req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) - if err != nil { - return localVarReturnValue, nil, err - } - - localVarHTTPResponse, err := a.client.callAPI(req) - if err != nil || localVarHTTPResponse == nil { - return localVarReturnValue, localVarHTTPResponse, err - } - - localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) - localVarHTTPResponse.Body.Close() - localVarHTTPResponse.Body = ioutil.NopCloser(bytes.NewBuffer(localVarBody)) - if err != nil { - return localVarReturnValue, localVarHTTPResponse, err - } - - if localVarHTTPResponse.StatusCode >= 300 { - newErr := &GenericOpenAPIError{ - body: localVarBody, - error: localVarHTTPResponse.Status, - } - if localVarHTTPResponse.StatusCode == 400 { - var v Status - err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - newErr.error = err.Error() - return localVarReturnValue, localVarHTTPResponse, newErr - } - newErr.model = v - return localVarReturnValue, localVarHTTPResponse, newErr - } - if localVarHTTPResponse.StatusCode == 422 { - var v Status - err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - newErr.error = err.Error() - return localVarReturnValue, localVarHTTPResponse, newErr - } - newErr.model = v - } - return localVarReturnValue, localVarHTTPResponse, newErr - } - - err = a.client.decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - newErr := &GenericOpenAPIError{ - body: localVarBody, - error: err.Error(), - } - return localVarReturnValue, localVarHTTPResponse, newErr - } - - return localVarReturnValue, localVarHTTPResponse, nil -} - type ApiReposCreateRequest struct { ctx context.Context ApiService *ReposApiService owner string - data *ReposCreate + data *RepositoryCreateRequest } -func (r ApiReposCreateRequest) Data(data ReposCreate) ApiReposCreateRequest { +func (r ApiReposCreateRequest) Data(data RepositoryCreateRequest) ApiReposCreateRequest { r.data = &data return r } -func (r ApiReposCreateRequest) Execute() (*RepositoryCreate, *http.Response, error) { +func (r ApiReposCreateRequest) Execute() (*RepositoryCreateResponse, *http.Response, error) { return r.ApiService.ReposCreateExecute(r) } @@ -214,13 +57,13 @@ func (a *ReposApiService) ReposCreate(ctx context.Context, owner string) ApiRepo } // Execute executes the request -// @return RepositoryCreate -func (a *ReposApiService) ReposCreateExecute(r ApiReposCreateRequest) (*RepositoryCreate, *http.Response, error) { +// @return RepositoryCreateResponse +func (a *ReposApiService) ReposCreateExecute(r ApiReposCreateRequest) (*RepositoryCreateResponse, *http.Response, error) { var ( localVarHTTPMethod = http.MethodPost localVarPostBody interface{} formFiles []formFile - localVarReturnValue *RepositoryCreate + localVarReturnValue *RepositoryCreateResponse ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "ReposApiService.ReposCreate") @@ -245,7 +88,7 @@ func (a *ReposApiService) ReposCreateExecute(r ApiReposCreateRequest) (*Reposito } // to determine the Accept header - localVarHTTPHeaderAccepts := []string{"*/*"} + localVarHTTPHeaderAccepts := []string{"application/json"} // set Accept header localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts) @@ -290,33 +133,36 @@ func (a *ReposApiService) ReposCreateExecute(r ApiReposCreateRequest) (*Reposito body: localVarBody, error: localVarHTTPResponse.Status, } - if localVarHTTPResponse.StatusCode == 400 { - var v Status + if localVarHTTPResponse.StatusCode == 404 { + var v ErrorDetail err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { newErr.error = err.Error() return localVarReturnValue, localVarHTTPResponse, newErr } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } - if localVarHTTPResponse.StatusCode == 404 { - var v Status + if localVarHTTPResponse.StatusCode == 400 { + var v ErrorDetail err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { newErr.error = err.Error() return localVarReturnValue, localVarHTTPResponse, newErr } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } if localVarHTTPResponse.StatusCode == 422 { - var v Status + var v ErrorDetail err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { newErr.error = err.Error() return localVarReturnValue, localVarHTTPResponse, newErr } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) newErr.model = v } return localVarReturnValue, localVarHTTPResponse, newErr @@ -395,7 +241,7 @@ func (a *ReposApiService) ReposDeleteExecute(r ApiReposDeleteRequest) (*http.Res } // to determine the Accept header - localVarHTTPHeaderAccepts := []string{"*/*"} + localVarHTTPHeaderAccepts := []string{"application/json"} // set Accept header localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts) @@ -438,33 +284,36 @@ func (a *ReposApiService) ReposDeleteExecute(r ApiReposDeleteRequest) (*http.Res body: localVarBody, error: localVarHTTPResponse.Status, } - if localVarHTTPResponse.StatusCode == 400 { - var v Status + if localVarHTTPResponse.StatusCode == 404 { + var v ErrorDetail err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { newErr.error = err.Error() return localVarHTTPResponse, newErr } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) newErr.model = v return localVarHTTPResponse, newErr } - if localVarHTTPResponse.StatusCode == 404 { - var v Status + if localVarHTTPResponse.StatusCode == 400 { + var v ErrorDetail err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { newErr.error = err.Error() return localVarHTTPResponse, newErr } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) newErr.model = v return localVarHTTPResponse, newErr } if localVarHTTPResponse.StatusCode == 422 { - var v Status + var v ErrorDetail err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { newErr.error = err.Error() return localVarHTTPResponse, newErr } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) newErr.model = v } return localVarHTTPResponse, newErr @@ -478,15 +327,15 @@ type ApiReposGpgCreateRequest struct { ApiService *ReposApiService owner string identifier string - data *ReposGpgCreate + data *RepositoryGpgKeyCreate } -func (r ApiReposGpgCreateRequest) Data(data ReposGpgCreate) ApiReposGpgCreateRequest { +func (r ApiReposGpgCreateRequest) Data(data RepositoryGpgKeyCreate) ApiReposGpgCreateRequest { r.data = &data return r } -func (r ApiReposGpgCreateRequest) Execute() (*RepositoryGpgKey, *http.Response, error) { +func (r ApiReposGpgCreateRequest) Execute() (*RepositoryGpgKeyResponse, *http.Response, error) { return r.ApiService.ReposGpgCreateExecute(r) } @@ -510,13 +359,13 @@ func (a *ReposApiService) ReposGpgCreate(ctx context.Context, owner string, iden } // Execute executes the request -// @return RepositoryGpgKey -func (a *ReposApiService) ReposGpgCreateExecute(r ApiReposGpgCreateRequest) (*RepositoryGpgKey, *http.Response, error) { +// @return RepositoryGpgKeyResponse +func (a *ReposApiService) ReposGpgCreateExecute(r ApiReposGpgCreateRequest) (*RepositoryGpgKeyResponse, *http.Response, error) { var ( localVarHTTPMethod = http.MethodPost localVarPostBody interface{} formFiles []formFile - localVarReturnValue *RepositoryGpgKey + localVarReturnValue *RepositoryGpgKeyResponse ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "ReposApiService.ReposGpgCreate") @@ -542,7 +391,7 @@ func (a *ReposApiService) ReposGpgCreateExecute(r ApiReposGpgCreateRequest) (*Re } // to determine the Accept header - localVarHTTPHeaderAccepts := []string{"*/*"} + localVarHTTPHeaderAccepts := []string{"application/json"} // set Accept header localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts) @@ -588,42 +437,46 @@ func (a *ReposApiService) ReposGpgCreateExecute(r ApiReposGpgCreateRequest) (*Re error: localVarHTTPResponse.Status, } if localVarHTTPResponse.StatusCode == 400 { - var v Status + var v ErrorDetail err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { newErr.error = err.Error() return localVarReturnValue, localVarHTTPResponse, newErr } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } if localVarHTTPResponse.StatusCode == 402 { - var v Status + var v ErrorDetail err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { newErr.error = err.Error() return localVarReturnValue, localVarHTTPResponse, newErr } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } if localVarHTTPResponse.StatusCode == 404 { - var v Status + var v ErrorDetail err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { newErr.error = err.Error() return localVarReturnValue, localVarHTTPResponse, newErr } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } if localVarHTTPResponse.StatusCode == 422 { - var v Status + var v ErrorDetail err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { newErr.error = err.Error() return localVarReturnValue, localVarHTTPResponse, newErr } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) newErr.model = v } return localVarReturnValue, localVarHTTPResponse, newErr @@ -648,7 +501,7 @@ type ApiReposGpgListRequest struct { identifier string } -func (r ApiReposGpgListRequest) Execute() (*RepositoryGpgKey, *http.Response, error) { +func (r ApiReposGpgListRequest) Execute() (*RepositoryGpgKeyResponse, *http.Response, error) { return r.ApiService.ReposGpgListExecute(r) } @@ -672,13 +525,13 @@ func (a *ReposApiService) ReposGpgList(ctx context.Context, owner string, identi } // Execute executes the request -// @return RepositoryGpgKey -func (a *ReposApiService) ReposGpgListExecute(r ApiReposGpgListRequest) (*RepositoryGpgKey, *http.Response, error) { +// @return RepositoryGpgKeyResponse +func (a *ReposApiService) ReposGpgListExecute(r ApiReposGpgListRequest) (*RepositoryGpgKeyResponse, *http.Response, error) { var ( localVarHTTPMethod = http.MethodGet localVarPostBody interface{} formFiles []formFile - localVarReturnValue *RepositoryGpgKey + localVarReturnValue *RepositoryGpgKeyResponse ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "ReposApiService.ReposGpgList") @@ -704,7 +557,7 @@ func (a *ReposApiService) ReposGpgListExecute(r ApiReposGpgListRequest) (*Reposi } // to determine the Accept header - localVarHTTPHeaderAccepts := []string{"*/*"} + localVarHTTPHeaderAccepts := []string{"application/json"} // set Accept header localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts) @@ -747,6 +600,27 @@ func (a *ReposApiService) ReposGpgListExecute(r ApiReposGpgListRequest) (*Reposi body: localVarBody, error: localVarHTTPResponse.Status, } + if localVarHTTPResponse.StatusCode == 400 { + var v ErrorDetail + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v + return localVarReturnValue, localVarHTTPResponse, newErr + } + if localVarHTTPResponse.StatusCode == 422 { + var v ErrorDetail + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v + } return localVarReturnValue, localVarHTTPResponse, newErr } @@ -769,7 +643,7 @@ type ApiReposGpgRegenerateRequest struct { identifier string } -func (r ApiReposGpgRegenerateRequest) Execute() (*RepositoryGpgKey, *http.Response, error) { +func (r ApiReposGpgRegenerateRequest) Execute() (*RepositoryGpgKeyResponse, *http.Response, error) { return r.ApiService.ReposGpgRegenerateExecute(r) } @@ -793,13 +667,13 @@ func (a *ReposApiService) ReposGpgRegenerate(ctx context.Context, owner string, } // Execute executes the request -// @return RepositoryGpgKey -func (a *ReposApiService) ReposGpgRegenerateExecute(r ApiReposGpgRegenerateRequest) (*RepositoryGpgKey, *http.Response, error) { +// @return RepositoryGpgKeyResponse +func (a *ReposApiService) ReposGpgRegenerateExecute(r ApiReposGpgRegenerateRequest) (*RepositoryGpgKeyResponse, *http.Response, error) { var ( localVarHTTPMethod = http.MethodPost localVarPostBody interface{} formFiles []formFile - localVarReturnValue *RepositoryGpgKey + localVarReturnValue *RepositoryGpgKeyResponse ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "ReposApiService.ReposGpgRegenerate") @@ -825,7 +699,7 @@ func (a *ReposApiService) ReposGpgRegenerateExecute(r ApiReposGpgRegenerateReque } // to determine the Accept header - localVarHTTPHeaderAccepts := []string{"*/*"} + localVarHTTPHeaderAccepts := []string{"application/json"} // set Accept header localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts) @@ -868,6 +742,27 @@ func (a *ReposApiService) ReposGpgRegenerateExecute(r ApiReposGpgRegenerateReque body: localVarBody, error: localVarHTTPResponse.Status, } + if localVarHTTPResponse.StatusCode == 400 { + var v ErrorDetail + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v + return localVarReturnValue, localVarHTTPResponse, newErr + } + if localVarHTTPResponse.StatusCode == 422 { + var v ErrorDetail + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v + } return localVarReturnValue, localVarHTTPResponse, newErr } @@ -883,7 +778,7 @@ func (a *ReposApiService) ReposGpgRegenerateExecute(r ApiReposGpgRegenerateReque return localVarReturnValue, localVarHTTPResponse, nil } -type ApiReposListRequest struct { +type ApiReposNamespaceListRequest struct { ctx context.Context ApiService *ReposApiService owner string @@ -892,32 +787,32 @@ type ApiReposListRequest struct { } // A page number within the paginated result set. -func (r ApiReposListRequest) Page(page int64) ApiReposListRequest { +func (r ApiReposNamespaceListRequest) Page(page int64) ApiReposNamespaceListRequest { r.page = &page return r } // Number of results to return per page. -func (r ApiReposListRequest) PageSize(pageSize int64) ApiReposListRequest { +func (r ApiReposNamespaceListRequest) PageSize(pageSize int64) ApiReposNamespaceListRequest { r.pageSize = &pageSize return r } -func (r ApiReposListRequest) Execute() ([]Repository, *http.Response, error) { - return r.ApiService.ReposListExecute(r) +func (r ApiReposNamespaceListRequest) Execute() ([]RepositoryResponse, *http.Response, error) { + return r.ApiService.ReposNamespaceListExecute(r) } /* -ReposList Get a list of all repositories within a namespace. +ReposNamespaceList Get a list of all repositories within a namespace. Get a list of all repositories within a namespace. @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param owner - @return ApiReposListRequest + @return ApiReposNamespaceListRequest */ -func (a *ReposApiService) ReposList(ctx context.Context, owner string) ApiReposListRequest { - return ApiReposListRequest{ +func (a *ReposApiService) ReposNamespaceList(ctx context.Context, owner string) ApiReposNamespaceListRequest { + return ApiReposNamespaceListRequest{ ApiService: a, ctx: ctx, owner: owner, @@ -925,16 +820,16 @@ func (a *ReposApiService) ReposList(ctx context.Context, owner string) ApiReposL } // Execute executes the request -// @return []Repository -func (a *ReposApiService) ReposListExecute(r ApiReposListRequest) ([]Repository, *http.Response, error) { +// @return []RepositoryResponse +func (a *ReposApiService) ReposNamespaceListExecute(r ApiReposNamespaceListRequest) ([]RepositoryResponse, *http.Response, error) { var ( localVarHTTPMethod = http.MethodGet localVarPostBody interface{} formFiles []formFile - localVarReturnValue []Repository + localVarReturnValue []RepositoryResponse ) - localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "ReposApiService.ReposList") + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "ReposApiService.ReposNamespaceList") if err != nil { return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} } @@ -962,7 +857,7 @@ func (a *ReposApiService) ReposListExecute(r ApiReposListRequest) ([]Repository, } // to determine the Accept header - localVarHTTPHeaderAccepts := []string{"*/*"} + localVarHTTPHeaderAccepts := []string{"application/json"} // set Accept header localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts) @@ -1005,33 +900,36 @@ func (a *ReposApiService) ReposListExecute(r ApiReposListRequest) ([]Repository, body: localVarBody, error: localVarHTTPResponse.Status, } - if localVarHTTPResponse.StatusCode == 400 { - var v Status + if localVarHTTPResponse.StatusCode == 404 { + var v ErrorDetail err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { newErr.error = err.Error() return localVarReturnValue, localVarHTTPResponse, newErr } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } - if localVarHTTPResponse.StatusCode == 404 { - var v Status + if localVarHTTPResponse.StatusCode == 400 { + var v ErrorDetail err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { newErr.error = err.Error() return localVarReturnValue, localVarHTTPResponse, newErr } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } if localVarHTTPResponse.StatusCode == 422 { - var v Status + var v ErrorDetail err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { newErr.error = err.Error() return localVarReturnValue, localVarHTTPResponse, newErr } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) newErr.model = v } return localVarReturnValue, localVarHTTPResponse, newErr @@ -1054,15 +952,15 @@ type ApiReposPartialUpdateRequest struct { ApiService *ReposApiService owner string identifier string - data *ReposPartialUpdate + data *RepositoryRequestPatch } -func (r ApiReposPartialUpdateRequest) Data(data ReposPartialUpdate) ApiReposPartialUpdateRequest { +func (r ApiReposPartialUpdateRequest) Data(data RepositoryRequestPatch) ApiReposPartialUpdateRequest { r.data = &data return r } -func (r ApiReposPartialUpdateRequest) Execute() (*Repository, *http.Response, error) { +func (r ApiReposPartialUpdateRequest) Execute() (*RepositoryResponse, *http.Response, error) { return r.ApiService.ReposPartialUpdateExecute(r) } @@ -1086,13 +984,13 @@ func (a *ReposApiService) ReposPartialUpdate(ctx context.Context, owner string, } // Execute executes the request -// @return Repository -func (a *ReposApiService) ReposPartialUpdateExecute(r ApiReposPartialUpdateRequest) (*Repository, *http.Response, error) { +// @return RepositoryResponse +func (a *ReposApiService) ReposPartialUpdateExecute(r ApiReposPartialUpdateRequest) (*RepositoryResponse, *http.Response, error) { var ( localVarHTTPMethod = http.MethodPatch localVarPostBody interface{} formFiles []formFile - localVarReturnValue *Repository + localVarReturnValue *RepositoryResponse ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "ReposApiService.ReposPartialUpdate") @@ -1118,7 +1016,7 @@ func (a *ReposApiService) ReposPartialUpdateExecute(r ApiReposPartialUpdateReque } // to determine the Accept header - localVarHTTPHeaderAccepts := []string{"*/*"} + localVarHTTPHeaderAccepts := []string{"application/json"} // set Accept header localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts) @@ -1163,33 +1061,36 @@ func (a *ReposApiService) ReposPartialUpdateExecute(r ApiReposPartialUpdateReque body: localVarBody, error: localVarHTTPResponse.Status, } - if localVarHTTPResponse.StatusCode == 400 { - var v Status + if localVarHTTPResponse.StatusCode == 404 { + var v ErrorDetail err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { newErr.error = err.Error() return localVarReturnValue, localVarHTTPResponse, newErr } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } - if localVarHTTPResponse.StatusCode == 404 { - var v Status + if localVarHTTPResponse.StatusCode == 400 { + var v ErrorDetail err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { newErr.error = err.Error() return localVarReturnValue, localVarHTTPResponse, newErr } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } if localVarHTTPResponse.StatusCode == 422 { - var v Status + var v ErrorDetail err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { newErr.error = err.Error() return localVarReturnValue, localVarHTTPResponse, newErr } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) newErr.model = v } return localVarReturnValue, localVarHTTPResponse, newErr @@ -1207,29 +1108,43 @@ func (a *ReposApiService) ReposPartialUpdateExecute(r ApiReposPartialUpdateReque return localVarReturnValue, localVarHTTPResponse, nil } -type ApiReposPrivilegesDeleteRequest struct { +type ApiReposPrivilegesListRequest struct { ctx context.Context ApiService *ReposApiService owner string identifier string + page *int64 + pageSize *int64 +} + +// A page number within the paginated result set. +func (r ApiReposPrivilegesListRequest) Page(page int64) ApiReposPrivilegesListRequest { + r.page = &page + return r +} + +// Number of results to return per page. +func (r ApiReposPrivilegesListRequest) PageSize(pageSize int64) ApiReposPrivilegesListRequest { + r.pageSize = &pageSize + return r } -func (r ApiReposPrivilegesDeleteRequest) Execute() (*http.Response, error) { - return r.ApiService.ReposPrivilegesDeleteExecute(r) +func (r ApiReposPrivilegesListRequest) Execute() (*RepositoryPrivilegeInputResponse, *http.Response, error) { + return r.ApiService.ReposPrivilegesListExecute(r) } /* -ReposPrivilegesDelete Remove the specified repository privileges. +ReposPrivilegesList List all explicity created privileges for the repository. -Remove the specified repository privileges. +List all explicity created privileges for the repository. @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param owner @param identifier - @return ApiReposPrivilegesDeleteRequest + @return ApiReposPrivilegesListRequest */ -func (a *ReposApiService) ReposPrivilegesDelete(ctx context.Context, owner string, identifier string) ApiReposPrivilegesDeleteRequest { - return ApiReposPrivilegesDeleteRequest{ +func (a *ReposApiService) ReposPrivilegesList(ctx context.Context, owner string, identifier string) ApiReposPrivilegesListRequest { + return ApiReposPrivilegesListRequest{ ApiService: a, ctx: ctx, owner: owner, @@ -1238,16 +1153,18 @@ func (a *ReposApiService) ReposPrivilegesDelete(ctx context.Context, owner strin } // Execute executes the request -func (a *ReposApiService) ReposPrivilegesDeleteExecute(r ApiReposPrivilegesDeleteRequest) (*http.Response, error) { +// @return RepositoryPrivilegeInputResponse +func (a *ReposApiService) ReposPrivilegesListExecute(r ApiReposPrivilegesListRequest) (*RepositoryPrivilegeInputResponse, *http.Response, error) { var ( - localVarHTTPMethod = http.MethodDelete - localVarPostBody interface{} - formFiles []formFile + localVarHTTPMethod = http.MethodGet + localVarPostBody interface{} + formFiles []formFile + localVarReturnValue *RepositoryPrivilegeInputResponse ) - localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "ReposApiService.ReposPrivilegesDelete") + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "ReposApiService.ReposPrivilegesList") if err != nil { - return nil, &GenericOpenAPIError{error: err.Error()} + return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} } localVarPath := localBasePath + "/repos/{owner}/{identifier}/privileges" @@ -1258,6 +1175,12 @@ func (a *ReposApiService) ReposPrivilegesDeleteExecute(r ApiReposPrivilegesDelet localVarQueryParams := url.Values{} localVarFormParams := url.Values{} + if r.page != nil { + localVarQueryParams.Add("page", parameterToString(*r.page, "")) + } + if r.pageSize != nil { + localVarQueryParams.Add("page_size", parameterToString(*r.pageSize, "")) + } // to determine the Content-Type header localVarHTTPContentTypes := []string{} @@ -1268,7 +1191,7 @@ func (a *ReposApiService) ReposPrivilegesDeleteExecute(r ApiReposPrivilegesDelet } // to determine the Accept header - localVarHTTPHeaderAccepts := []string{"*/*"} + localVarHTTPHeaderAccepts := []string{"application/json"} // set Accept header localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts) @@ -1291,19 +1214,19 @@ func (a *ReposApiService) ReposPrivilegesDeleteExecute(r ApiReposPrivilegesDelet } req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) if err != nil { - return nil, err + return localVarReturnValue, nil, err } localVarHTTPResponse, err := a.client.callAPI(req) if err != nil || localVarHTTPResponse == nil { - return localVarHTTPResponse, err + return localVarReturnValue, localVarHTTPResponse, err } localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) localVarHTTPResponse.Body.Close() localVarHTTPResponse.Body = ioutil.NopCloser(bytes.NewBuffer(localVarBody)) if err != nil { - return localVarHTTPResponse, err + return localVarReturnValue, localVarHTTPResponse, err } if localVarHTTPResponse.StatusCode >= 300 { @@ -1311,54 +1234,82 @@ func (a *ReposApiService) ReposPrivilegesDeleteExecute(r ApiReposPrivilegesDelet body: localVarBody, error: localVarHTTPResponse.Status, } + if localVarHTTPResponse.StatusCode == 404 { + var v ErrorDetail + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v + return localVarReturnValue, localVarHTTPResponse, newErr + } if localVarHTTPResponse.StatusCode == 400 { - var v Status + var v ErrorDetail err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { newErr.error = err.Error() - return localVarHTTPResponse, newErr + return localVarReturnValue, localVarHTTPResponse, newErr } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) newErr.model = v - return localVarHTTPResponse, newErr + return localVarReturnValue, localVarHTTPResponse, newErr } if localVarHTTPResponse.StatusCode == 422 { - var v Status + var v ErrorDetail err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { newErr.error = err.Error() - return localVarHTTPResponse, newErr + return localVarReturnValue, localVarHTTPResponse, newErr } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) newErr.model = v } - return localVarHTTPResponse, newErr + return localVarReturnValue, localVarHTTPResponse, newErr } - return localVarHTTPResponse, nil + err = a.client.decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: err.Error(), + } + return localVarReturnValue, localVarHTTPResponse, newErr + } + + return localVarReturnValue, localVarHTTPResponse, nil } -type ApiReposPrivilegesListRequest struct { +type ApiReposPrivilegesPartialUpdateRequest struct { ctx context.Context ApiService *ReposApiService owner string identifier string + data *RepositoryPrivilegeInputRequestPatch } -func (r ApiReposPrivilegesListRequest) Execute() ([]RepositoryPrivilegeList, *http.Response, error) { - return r.ApiService.ReposPrivilegesListExecute(r) +func (r ApiReposPrivilegesPartialUpdateRequest) Data(data RepositoryPrivilegeInputRequestPatch) ApiReposPrivilegesPartialUpdateRequest { + r.data = &data + return r +} + +func (r ApiReposPrivilegesPartialUpdateRequest) Execute() (*http.Response, error) { + return r.ApiService.ReposPrivilegesPartialUpdateExecute(r) } /* -ReposPrivilegesList List all explicity created privileges for the repository. +ReposPrivilegesPartialUpdate Modify privileges for the repository. -List all explicity created privileges for the repository. +Modify privileges for the repository. @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param owner @param identifier - @return ApiReposPrivilegesListRequest + @return ApiReposPrivilegesPartialUpdateRequest */ -func (a *ReposApiService) ReposPrivilegesList(ctx context.Context, owner string, identifier string) ApiReposPrivilegesListRequest { - return ApiReposPrivilegesListRequest{ +func (a *ReposApiService) ReposPrivilegesPartialUpdate(ctx context.Context, owner string, identifier string) ApiReposPrivilegesPartialUpdateRequest { + return ApiReposPrivilegesPartialUpdateRequest{ ApiService: a, ctx: ctx, owner: owner, @@ -1367,18 +1318,16 @@ func (a *ReposApiService) ReposPrivilegesList(ctx context.Context, owner string, } // Execute executes the request -// @return []RepositoryPrivilegeList -func (a *ReposApiService) ReposPrivilegesListExecute(r ApiReposPrivilegesListRequest) ([]RepositoryPrivilegeList, *http.Response, error) { +func (a *ReposApiService) ReposPrivilegesPartialUpdateExecute(r ApiReposPrivilegesPartialUpdateRequest) (*http.Response, error) { var ( - localVarHTTPMethod = http.MethodGet - localVarPostBody interface{} - formFiles []formFile - localVarReturnValue []RepositoryPrivilegeList + localVarHTTPMethod = http.MethodPatch + localVarPostBody interface{} + formFiles []formFile ) - localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "ReposApiService.ReposPrivilegesList") + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "ReposApiService.ReposPrivilegesPartialUpdate") if err != nil { - return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} + return nil, &GenericOpenAPIError{error: err.Error()} } localVarPath := localBasePath + "/repos/{owner}/{identifier}/privileges" @@ -1390,7 +1339,7 @@ func (a *ReposApiService) ReposPrivilegesListExecute(r ApiReposPrivilegesListReq localVarFormParams := url.Values{} // to determine the Content-Type header - localVarHTTPContentTypes := []string{} + localVarHTTPContentTypes := []string{"application/json"} // set Content-Type header localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes) @@ -1399,13 +1348,15 @@ func (a *ReposApiService) ReposPrivilegesListExecute(r ApiReposPrivilegesListReq } // to determine the Accept header - localVarHTTPHeaderAccepts := []string{"*/*"} + localVarHTTPHeaderAccepts := []string{"application/json"} // set Accept header localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts) if localVarHTTPHeaderAccept != "" { localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept } + // body params + localVarPostBody = r.data if r.ctx != nil { // API Key Authentication if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok { @@ -1422,19 +1373,19 @@ func (a *ReposApiService) ReposPrivilegesListExecute(r ApiReposPrivilegesListReq } req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) if err != nil { - return localVarReturnValue, nil, err + return nil, err } localVarHTTPResponse, err := a.client.callAPI(req) if err != nil || localVarHTTPResponse == nil { - return localVarReturnValue, localVarHTTPResponse, err + return localVarHTTPResponse, err } localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body) localVarHTTPResponse.Body.Close() localVarHTTPResponse.Body = ioutil.NopCloser(bytes.NewBuffer(localVarBody)) if err != nil { - return localVarReturnValue, localVarHTTPResponse, err + return localVarHTTPResponse, err } if localVarHTTPResponse.StatusCode >= 300 { @@ -1442,73 +1393,73 @@ func (a *ReposApiService) ReposPrivilegesListExecute(r ApiReposPrivilegesListReq body: localVarBody, error: localVarHTTPResponse.Status, } - if localVarHTTPResponse.StatusCode == 400 { - var v Status + if localVarHTTPResponse.StatusCode == 404 { + var v ErrorDetail err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { newErr.error = err.Error() - return localVarReturnValue, localVarHTTPResponse, newErr + return localVarHTTPResponse, newErr } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) newErr.model = v - return localVarReturnValue, localVarHTTPResponse, newErr + return localVarHTTPResponse, newErr } - if localVarHTTPResponse.StatusCode == 404 { - var v Status + if localVarHTTPResponse.StatusCode == 400 { + var v ErrorDetail err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { newErr.error = err.Error() - return localVarReturnValue, localVarHTTPResponse, newErr + return localVarHTTPResponse, newErr } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) newErr.model = v - return localVarReturnValue, localVarHTTPResponse, newErr + return localVarHTTPResponse, newErr } if localVarHTTPResponse.StatusCode == 422 { - var v Status + var v ErrorDetail err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { newErr.error = err.Error() - return localVarReturnValue, localVarHTTPResponse, newErr + return localVarHTTPResponse, newErr } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) newErr.model = v } - return localVarReturnValue, localVarHTTPResponse, newErr - } - - err = a.client.decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - newErr := &GenericOpenAPIError{ - body: localVarBody, - error: err.Error(), - } - return localVarReturnValue, localVarHTTPResponse, newErr + return localVarHTTPResponse, newErr } - return localVarReturnValue, localVarHTTPResponse, nil + return localVarHTTPResponse, nil } -type ApiReposPrivilegesPartialUpdateRequest struct { +type ApiReposPrivilegesUpdateRequest struct { ctx context.Context ApiService *ReposApiService owner string identifier string + data *RepositoryPrivilegeInputRequest } -func (r ApiReposPrivilegesPartialUpdateRequest) Execute() (*http.Response, error) { - return r.ApiService.ReposPrivilegesPartialUpdateExecute(r) +func (r ApiReposPrivilegesUpdateRequest) Data(data RepositoryPrivilegeInputRequest) ApiReposPrivilegesUpdateRequest { + r.data = &data + return r +} + +func (r ApiReposPrivilegesUpdateRequest) Execute() (*http.Response, error) { + return r.ApiService.ReposPrivilegesUpdateExecute(r) } /* -ReposPrivilegesPartialUpdate Update the specified repository privileges. +ReposPrivilegesUpdate Replace all existing repository privileges with those specified. -Update the specified repository privileges. +Replace all existing repository privileges with those specified. @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param owner @param identifier - @return ApiReposPrivilegesPartialUpdateRequest + @return ApiReposPrivilegesUpdateRequest */ -func (a *ReposApiService) ReposPrivilegesPartialUpdate(ctx context.Context, owner string, identifier string) ApiReposPrivilegesPartialUpdateRequest { - return ApiReposPrivilegesPartialUpdateRequest{ +func (a *ReposApiService) ReposPrivilegesUpdate(ctx context.Context, owner string, identifier string) ApiReposPrivilegesUpdateRequest { + return ApiReposPrivilegesUpdateRequest{ ApiService: a, ctx: ctx, owner: owner, @@ -1517,14 +1468,14 @@ func (a *ReposApiService) ReposPrivilegesPartialUpdate(ctx context.Context, owne } // Execute executes the request -func (a *ReposApiService) ReposPrivilegesPartialUpdateExecute(r ApiReposPrivilegesPartialUpdateRequest) (*http.Response, error) { +func (a *ReposApiService) ReposPrivilegesUpdateExecute(r ApiReposPrivilegesUpdateRequest) (*http.Response, error) { var ( - localVarHTTPMethod = http.MethodPatch + localVarHTTPMethod = http.MethodPut localVarPostBody interface{} formFiles []formFile ) - localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "ReposApiService.ReposPrivilegesPartialUpdate") + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "ReposApiService.ReposPrivilegesUpdate") if err != nil { return nil, &GenericOpenAPIError{error: err.Error()} } @@ -1538,7 +1489,7 @@ func (a *ReposApiService) ReposPrivilegesPartialUpdateExecute(r ApiReposPrivileg localVarFormParams := url.Values{} // to determine the Content-Type header - localVarHTTPContentTypes := []string{} + localVarHTTPContentTypes := []string{"application/json"} // set Content-Type header localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes) @@ -1547,13 +1498,15 @@ func (a *ReposApiService) ReposPrivilegesPartialUpdateExecute(r ApiReposPrivileg } // to determine the Accept header - localVarHTTPHeaderAccepts := []string{"*/*"} + localVarHTTPHeaderAccepts := []string{"application/json"} // set Accept header localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts) if localVarHTTPHeaderAccept != "" { localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept } + // body params + localVarPostBody = r.data if r.ctx != nil { // API Key Authentication if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok { @@ -1590,33 +1543,36 @@ func (a *ReposApiService) ReposPrivilegesPartialUpdateExecute(r ApiReposPrivileg body: localVarBody, error: localVarHTTPResponse.Status, } - if localVarHTTPResponse.StatusCode == 400 { - var v Status + if localVarHTTPResponse.StatusCode == 404 { + var v ErrorDetail err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { newErr.error = err.Error() return localVarHTTPResponse, newErr } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) newErr.model = v return localVarHTTPResponse, newErr } - if localVarHTTPResponse.StatusCode == 404 { - var v Status + if localVarHTTPResponse.StatusCode == 400 { + var v ErrorDetail err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { newErr.error = err.Error() return localVarHTTPResponse, newErr } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) newErr.model = v return localVarHTTPResponse, newErr } if localVarHTTPResponse.StatusCode == 422 { - var v Status + var v ErrorDetail err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { newErr.error = err.Error() return localVarHTTPResponse, newErr } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) newErr.model = v } return localVarHTTPResponse, newErr @@ -1625,29 +1581,29 @@ func (a *ReposApiService) ReposPrivilegesPartialUpdateExecute(r ApiReposPrivileg return localVarHTTPResponse, nil } -type ApiReposPrivilegesUpdateRequest struct { +type ApiReposReadRequest struct { ctx context.Context ApiService *ReposApiService owner string identifier string } -func (r ApiReposPrivilegesUpdateRequest) Execute() (*RepositoryPrivilegeList, *http.Response, error) { - return r.ApiService.ReposPrivilegesUpdateExecute(r) +func (r ApiReposReadRequest) Execute() (*RepositoryResponse, *http.Response, error) { + return r.ApiService.ReposReadExecute(r) } /* -ReposPrivilegesUpdate Replace all existing repository privileges with those specified. +ReposRead Get a specific repository. -Replace all existing repository privileges with those specified. +Get a specific repository. @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param owner @param identifier - @return ApiReposPrivilegesUpdateRequest + @return ApiReposReadRequest */ -func (a *ReposApiService) ReposPrivilegesUpdate(ctx context.Context, owner string, identifier string) ApiReposPrivilegesUpdateRequest { - return ApiReposPrivilegesUpdateRequest{ +func (a *ReposApiService) ReposRead(ctx context.Context, owner string, identifier string) ApiReposReadRequest { + return ApiReposReadRequest{ ApiService: a, ctx: ctx, owner: owner, @@ -1656,21 +1612,21 @@ func (a *ReposApiService) ReposPrivilegesUpdate(ctx context.Context, owner strin } // Execute executes the request -// @return RepositoryPrivilegeList -func (a *ReposApiService) ReposPrivilegesUpdateExecute(r ApiReposPrivilegesUpdateRequest) (*RepositoryPrivilegeList, *http.Response, error) { +// @return RepositoryResponse +func (a *ReposApiService) ReposReadExecute(r ApiReposReadRequest) (*RepositoryResponse, *http.Response, error) { var ( - localVarHTTPMethod = http.MethodPut + localVarHTTPMethod = http.MethodGet localVarPostBody interface{} formFiles []formFile - localVarReturnValue *RepositoryPrivilegeList + localVarReturnValue *RepositoryResponse ) - localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "ReposApiService.ReposPrivilegesUpdate") + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "ReposApiService.ReposRead") if err != nil { return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} } - localVarPath := localBasePath + "/repos/{owner}/{identifier}/privileges" + localVarPath := localBasePath + "/repos/{owner}/{identifier}/" localVarPath = strings.Replace(localVarPath, "{"+"owner"+"}", url.PathEscape(parameterToString(r.owner, "")), -1) localVarPath = strings.Replace(localVarPath, "{"+"identifier"+"}", url.PathEscape(parameterToString(r.identifier, "")), -1) @@ -1688,7 +1644,7 @@ func (a *ReposApiService) ReposPrivilegesUpdateExecute(r ApiReposPrivilegesUpdat } // to determine the Accept header - localVarHTTPHeaderAccepts := []string{"*/*"} + localVarHTTPHeaderAccepts := []string{"application/json"} // set Accept header localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts) @@ -1731,33 +1687,36 @@ func (a *ReposApiService) ReposPrivilegesUpdateExecute(r ApiReposPrivilegesUpdat body: localVarBody, error: localVarHTTPResponse.Status, } - if localVarHTTPResponse.StatusCode == 400 { - var v Status + if localVarHTTPResponse.StatusCode == 404 { + var v ErrorDetail err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { newErr.error = err.Error() return localVarReturnValue, localVarHTTPResponse, newErr } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } - if localVarHTTPResponse.StatusCode == 404 { - var v Status + if localVarHTTPResponse.StatusCode == 400 { + var v ErrorDetail err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { newErr.error = err.Error() return localVarReturnValue, localVarHTTPResponse, newErr } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } if localVarHTTPResponse.StatusCode == 422 { - var v Status + var v ErrorDetail err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { newErr.error = err.Error() return localVarReturnValue, localVarHTTPResponse, newErr } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) newErr.model = v } return localVarReturnValue, localVarHTTPResponse, newErr @@ -1775,29 +1734,35 @@ func (a *ReposApiService) ReposPrivilegesUpdateExecute(r ApiReposPrivilegesUpdat return localVarReturnValue, localVarHTTPResponse, nil } -type ApiReposReadRequest struct { +type ApiReposRsaCreateRequest struct { ctx context.Context ApiService *ReposApiService owner string identifier string + data *RepositoryRsaKeyCreate } -func (r ApiReposReadRequest) Execute() (*Repository, *http.Response, error) { - return r.ApiService.ReposReadExecute(r) +func (r ApiReposRsaCreateRequest) Data(data RepositoryRsaKeyCreate) ApiReposRsaCreateRequest { + r.data = &data + return r +} + +func (r ApiReposRsaCreateRequest) Execute() (*RepositoryRsaKeyResponse, *http.Response, error) { + return r.ApiService.ReposRsaCreateExecute(r) } /* -ReposRead Get a specific repository. +ReposRsaCreate Set the active RSA key for the Repository. -Get a specific repository. +Set the active RSA key for the Repository. @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param owner @param identifier - @return ApiReposReadRequest + @return ApiReposRsaCreateRequest */ -func (a *ReposApiService) ReposRead(ctx context.Context, owner string, identifier string) ApiReposReadRequest { - return ApiReposReadRequest{ +func (a *ReposApiService) ReposRsaCreate(ctx context.Context, owner string, identifier string) ApiReposRsaCreateRequest { + return ApiReposRsaCreateRequest{ ApiService: a, ctx: ctx, owner: owner, @@ -1806,21 +1771,21 @@ func (a *ReposApiService) ReposRead(ctx context.Context, owner string, identifie } // Execute executes the request -// @return Repository -func (a *ReposApiService) ReposReadExecute(r ApiReposReadRequest) (*Repository, *http.Response, error) { +// @return RepositoryRsaKeyResponse +func (a *ReposApiService) ReposRsaCreateExecute(r ApiReposRsaCreateRequest) (*RepositoryRsaKeyResponse, *http.Response, error) { var ( - localVarHTTPMethod = http.MethodGet + localVarHTTPMethod = http.MethodPost localVarPostBody interface{} formFiles []formFile - localVarReturnValue *Repository + localVarReturnValue *RepositoryRsaKeyResponse ) - localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "ReposApiService.ReposRead") + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "ReposApiService.ReposRsaCreate") if err != nil { return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} } - localVarPath := localBasePath + "/repos/{owner}/{identifier}/" + localVarPath := localBasePath + "/repos/{owner}/{identifier}/rsa/" localVarPath = strings.Replace(localVarPath, "{"+"owner"+"}", url.PathEscape(parameterToString(r.owner, "")), -1) localVarPath = strings.Replace(localVarPath, "{"+"identifier"+"}", url.PathEscape(parameterToString(r.identifier, "")), -1) @@ -1829,7 +1794,7 @@ func (a *ReposApiService) ReposReadExecute(r ApiReposReadRequest) (*Repository, localVarFormParams := url.Values{} // to determine the Content-Type header - localVarHTTPContentTypes := []string{} + localVarHTTPContentTypes := []string{"application/json"} // set Content-Type header localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes) @@ -1838,13 +1803,15 @@ func (a *ReposApiService) ReposReadExecute(r ApiReposReadRequest) (*Repository, } // to determine the Accept header - localVarHTTPHeaderAccepts := []string{"*/*"} + localVarHTTPHeaderAccepts := []string{"application/json"} // set Accept header localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts) if localVarHTTPHeaderAccept != "" { localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept } + // body params + localVarPostBody = r.data if r.ctx != nil { // API Key Authentication if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok { @@ -1882,32 +1849,46 @@ func (a *ReposApiService) ReposReadExecute(r ApiReposReadRequest) (*Repository, error: localVarHTTPResponse.Status, } if localVarHTTPResponse.StatusCode == 400 { - var v Status + var v ErrorDetail err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { newErr.error = err.Error() return localVarReturnValue, localVarHTTPResponse, newErr } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v + return localVarReturnValue, localVarHTTPResponse, newErr + } + if localVarHTTPResponse.StatusCode == 402 { + var v ErrorDetail + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } if localVarHTTPResponse.StatusCode == 404 { - var v Status + var v ErrorDetail err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { newErr.error = err.Error() return localVarReturnValue, localVarHTTPResponse, newErr } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } if localVarHTTPResponse.StatusCode == 422 { - var v Status + var v ErrorDetail err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { newErr.error = err.Error() return localVarReturnValue, localVarHTTPResponse, newErr } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) newErr.model = v } return localVarReturnValue, localVarHTTPResponse, newErr @@ -1925,35 +1906,29 @@ func (a *ReposApiService) ReposReadExecute(r ApiReposReadRequest) (*Repository, return localVarReturnValue, localVarHTTPResponse, nil } -type ApiReposRsaCreateRequest struct { +type ApiReposRsaListRequest struct { ctx context.Context ApiService *ReposApiService owner string identifier string - data *ReposRsaCreate } -func (r ApiReposRsaCreateRequest) Data(data ReposRsaCreate) ApiReposRsaCreateRequest { - r.data = &data - return r -} - -func (r ApiReposRsaCreateRequest) Execute() (*RepositoryRsaKey, *http.Response, error) { - return r.ApiService.ReposRsaCreateExecute(r) +func (r ApiReposRsaListRequest) Execute() (*RepositoryRsaKeyResponse, *http.Response, error) { + return r.ApiService.ReposRsaListExecute(r) } /* -ReposRsaCreate Set the active RSA key for the Repository. +ReposRsaList Retrieve the active RSA key for the Repository. -Set the active RSA key for the Repository. +Retrieve the active RSA key for the Repository. @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param owner @param identifier - @return ApiReposRsaCreateRequest + @return ApiReposRsaListRequest */ -func (a *ReposApiService) ReposRsaCreate(ctx context.Context, owner string, identifier string) ApiReposRsaCreateRequest { - return ApiReposRsaCreateRequest{ +func (a *ReposApiService) ReposRsaList(ctx context.Context, owner string, identifier string) ApiReposRsaListRequest { + return ApiReposRsaListRequest{ ApiService: a, ctx: ctx, owner: owner, @@ -1962,16 +1937,16 @@ func (a *ReposApiService) ReposRsaCreate(ctx context.Context, owner string, iden } // Execute executes the request -// @return RepositoryRsaKey -func (a *ReposApiService) ReposRsaCreateExecute(r ApiReposRsaCreateRequest) (*RepositoryRsaKey, *http.Response, error) { +// @return RepositoryRsaKeyResponse +func (a *ReposApiService) ReposRsaListExecute(r ApiReposRsaListRequest) (*RepositoryRsaKeyResponse, *http.Response, error) { var ( - localVarHTTPMethod = http.MethodPost + localVarHTTPMethod = http.MethodGet localVarPostBody interface{} formFiles []formFile - localVarReturnValue *RepositoryRsaKey + localVarReturnValue *RepositoryRsaKeyResponse ) - localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "ReposApiService.ReposRsaCreate") + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "ReposApiService.ReposRsaList") if err != nil { return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} } @@ -1985,7 +1960,7 @@ func (a *ReposApiService) ReposRsaCreateExecute(r ApiReposRsaCreateRequest) (*Re localVarFormParams := url.Values{} // to determine the Content-Type header - localVarHTTPContentTypes := []string{"application/json"} + localVarHTTPContentTypes := []string{} // set Content-Type header localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes) @@ -1994,15 +1969,13 @@ func (a *ReposApiService) ReposRsaCreateExecute(r ApiReposRsaCreateRequest) (*Re } // to determine the Accept header - localVarHTTPHeaderAccepts := []string{"*/*"} + localVarHTTPHeaderAccepts := []string{"application/json"} // set Accept header localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts) if localVarHTTPHeaderAccept != "" { localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept } - // body params - localVarPostBody = r.data if r.ctx != nil { // API Key Authentication if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok { @@ -2040,42 +2013,24 @@ func (a *ReposApiService) ReposRsaCreateExecute(r ApiReposRsaCreateRequest) (*Re error: localVarHTTPResponse.Status, } if localVarHTTPResponse.StatusCode == 400 { - var v Status - err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - newErr.error = err.Error() - return localVarReturnValue, localVarHTTPResponse, newErr - } - newErr.model = v - return localVarReturnValue, localVarHTTPResponse, newErr - } - if localVarHTTPResponse.StatusCode == 402 { - var v Status - err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - newErr.error = err.Error() - return localVarReturnValue, localVarHTTPResponse, newErr - } - newErr.model = v - return localVarReturnValue, localVarHTTPResponse, newErr - } - if localVarHTTPResponse.StatusCode == 404 { - var v Status + var v ErrorDetail err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { newErr.error = err.Error() return localVarReturnValue, localVarHTTPResponse, newErr } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } if localVarHTTPResponse.StatusCode == 422 { - var v Status + var v ErrorDetail err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { newErr.error = err.Error() return localVarReturnValue, localVarHTTPResponse, newErr } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) newErr.model = v } return localVarReturnValue, localVarHTTPResponse, newErr @@ -2093,29 +2048,29 @@ func (a *ReposApiService) ReposRsaCreateExecute(r ApiReposRsaCreateRequest) (*Re return localVarReturnValue, localVarHTTPResponse, nil } -type ApiReposRsaListRequest struct { +type ApiReposRsaRegenerateRequest struct { ctx context.Context ApiService *ReposApiService owner string identifier string } -func (r ApiReposRsaListRequest) Execute() (*RepositoryRsaKey, *http.Response, error) { - return r.ApiService.ReposRsaListExecute(r) +func (r ApiReposRsaRegenerateRequest) Execute() (*RepositoryRsaKeyResponse, *http.Response, error) { + return r.ApiService.ReposRsaRegenerateExecute(r) } /* -ReposRsaList Retrieve the active RSA key for the Repository. +ReposRsaRegenerate Regenerate RSA Key for the Repository. -Retrieve the active RSA key for the Repository. +Regenerate RSA Key for the Repository. @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param owner @param identifier - @return ApiReposRsaListRequest + @return ApiReposRsaRegenerateRequest */ -func (a *ReposApiService) ReposRsaList(ctx context.Context, owner string, identifier string) ApiReposRsaListRequest { - return ApiReposRsaListRequest{ +func (a *ReposApiService) ReposRsaRegenerate(ctx context.Context, owner string, identifier string) ApiReposRsaRegenerateRequest { + return ApiReposRsaRegenerateRequest{ ApiService: a, ctx: ctx, owner: owner, @@ -2124,21 +2079,21 @@ func (a *ReposApiService) ReposRsaList(ctx context.Context, owner string, identi } // Execute executes the request -// @return RepositoryRsaKey -func (a *ReposApiService) ReposRsaListExecute(r ApiReposRsaListRequest) (*RepositoryRsaKey, *http.Response, error) { +// @return RepositoryRsaKeyResponse +func (a *ReposApiService) ReposRsaRegenerateExecute(r ApiReposRsaRegenerateRequest) (*RepositoryRsaKeyResponse, *http.Response, error) { var ( - localVarHTTPMethod = http.MethodGet + localVarHTTPMethod = http.MethodPost localVarPostBody interface{} formFiles []formFile - localVarReturnValue *RepositoryRsaKey + localVarReturnValue *RepositoryRsaKeyResponse ) - localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "ReposApiService.ReposRsaList") + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "ReposApiService.ReposRsaRegenerate") if err != nil { return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} } - localVarPath := localBasePath + "/repos/{owner}/{identifier}/rsa/" + localVarPath := localBasePath + "/repos/{owner}/{identifier}/rsa/regenerate/" localVarPath = strings.Replace(localVarPath, "{"+"owner"+"}", url.PathEscape(parameterToString(r.owner, "")), -1) localVarPath = strings.Replace(localVarPath, "{"+"identifier"+"}", url.PathEscape(parameterToString(r.identifier, "")), -1) @@ -2156,7 +2111,7 @@ func (a *ReposApiService) ReposRsaListExecute(r ApiReposRsaListRequest) (*Reposi } // to determine the Accept header - localVarHTTPHeaderAccepts := []string{"*/*"} + localVarHTTPHeaderAccepts := []string{"application/json"} // set Accept header localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts) @@ -2199,6 +2154,27 @@ func (a *ReposApiService) ReposRsaListExecute(r ApiReposRsaListRequest) (*Reposi body: localVarBody, error: localVarHTTPResponse.Status, } + if localVarHTTPResponse.StatusCode == 400 { + var v ErrorDetail + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v + return localVarReturnValue, localVarHTTPResponse, newErr + } + if localVarHTTPResponse.StatusCode == 422 { + var v ErrorDetail + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v + } return localVarReturnValue, localVarHTTPResponse, newErr } @@ -2214,59 +2190,71 @@ func (a *ReposApiService) ReposRsaListExecute(r ApiReposRsaListRequest) (*Reposi return localVarReturnValue, localVarHTTPResponse, nil } -type ApiReposRsaRegenerateRequest struct { +type ApiReposUserListRequest struct { ctx context.Context ApiService *ReposApiService - owner string - identifier string + page *int64 + pageSize *int64 } -func (r ApiReposRsaRegenerateRequest) Execute() (*RepositoryRsaKey, *http.Response, error) { - return r.ApiService.ReposRsaRegenerateExecute(r) +// A page number within the paginated result set. +func (r ApiReposUserListRequest) Page(page int64) ApiReposUserListRequest { + r.page = &page + return r +} + +// Number of results to return per page. +func (r ApiReposUserListRequest) PageSize(pageSize int64) ApiReposUserListRequest { + r.pageSize = &pageSize + return r +} + +func (r ApiReposUserListRequest) Execute() ([]RepositoryResponse, *http.Response, error) { + return r.ApiService.ReposUserListExecute(r) } /* -ReposRsaRegenerate Regenerate RSA Key for the Repository. +ReposUserList Get a list of all repositories associated with current user. -Regenerate RSA Key for the Repository. +Get a list of all repositories associated with current user. @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - @param owner - @param identifier - @return ApiReposRsaRegenerateRequest + @return ApiReposUserListRequest */ -func (a *ReposApiService) ReposRsaRegenerate(ctx context.Context, owner string, identifier string) ApiReposRsaRegenerateRequest { - return ApiReposRsaRegenerateRequest{ +func (a *ReposApiService) ReposUserList(ctx context.Context) ApiReposUserListRequest { + return ApiReposUserListRequest{ ApiService: a, ctx: ctx, - owner: owner, - identifier: identifier, } } // Execute executes the request -// @return RepositoryRsaKey -func (a *ReposApiService) ReposRsaRegenerateExecute(r ApiReposRsaRegenerateRequest) (*RepositoryRsaKey, *http.Response, error) { +// @return []RepositoryResponse +func (a *ReposApiService) ReposUserListExecute(r ApiReposUserListRequest) ([]RepositoryResponse, *http.Response, error) { var ( - localVarHTTPMethod = http.MethodPost + localVarHTTPMethod = http.MethodGet localVarPostBody interface{} formFiles []formFile - localVarReturnValue *RepositoryRsaKey + localVarReturnValue []RepositoryResponse ) - localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "ReposApiService.ReposRsaRegenerate") + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "ReposApiService.ReposUserList") if err != nil { return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} } - localVarPath := localBasePath + "/repos/{owner}/{identifier}/rsa/regenerate/" - localVarPath = strings.Replace(localVarPath, "{"+"owner"+"}", url.PathEscape(parameterToString(r.owner, "")), -1) - localVarPath = strings.Replace(localVarPath, "{"+"identifier"+"}", url.PathEscape(parameterToString(r.identifier, "")), -1) + localVarPath := localBasePath + "/repos/" localVarHeaderParams := make(map[string]string) localVarQueryParams := url.Values{} localVarFormParams := url.Values{} + if r.page != nil { + localVarQueryParams.Add("page", parameterToString(*r.page, "")) + } + if r.pageSize != nil { + localVarQueryParams.Add("page_size", parameterToString(*r.pageSize, "")) + } // to determine the Content-Type header localVarHTTPContentTypes := []string{} @@ -2277,7 +2265,7 @@ func (a *ReposApiService) ReposRsaRegenerateExecute(r ApiReposRsaRegenerateReque } // to determine the Accept header - localVarHTTPHeaderAccepts := []string{"*/*"} + localVarHTTPHeaderAccepts := []string{"application/json"} // set Accept header localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts) @@ -2320,6 +2308,27 @@ func (a *ReposApiService) ReposRsaRegenerateExecute(r ApiReposRsaRegenerateReque body: localVarBody, error: localVarHTTPResponse.Status, } + if localVarHTTPResponse.StatusCode == 400 { + var v ErrorDetail + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v + return localVarReturnValue, localVarHTTPResponse, newErr + } + if localVarHTTPResponse.StatusCode == 422 { + var v ErrorDetail + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v + } return localVarReturnValue, localVarHTTPResponse, newErr } diff --git a/api_status.go b/api_status.go index 04736cbc..387ab455 100644 --- a/api_status.go +++ b/api_status.go @@ -1,9 +1,9 @@ /* -Cloudsmith API +Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.121.3 +API version: 1.181.6 Contact: support@cloudsmith.io */ @@ -19,11 +19,6 @@ import ( "net/url" ) -// Linger please -var ( - _ context.Context -) - // StatusApiService StatusApi service type StatusApiService service @@ -32,7 +27,7 @@ type ApiStatusCheckBasicRequest struct { ApiService *StatusApiService } -func (r ApiStatusCheckBasicRequest) Execute() (*StatusBasic, *http.Response, error) { +func (r ApiStatusCheckBasicRequest) Execute() (*StatusBasicResponse, *http.Response, error) { return r.ApiService.StatusCheckBasicExecute(r) } @@ -52,13 +47,13 @@ func (a *StatusApiService) StatusCheckBasic(ctx context.Context) ApiStatusCheckB } // Execute executes the request -// @return StatusBasic -func (a *StatusApiService) StatusCheckBasicExecute(r ApiStatusCheckBasicRequest) (*StatusBasic, *http.Response, error) { +// @return StatusBasicResponse +func (a *StatusApiService) StatusCheckBasicExecute(r ApiStatusCheckBasicRequest) (*StatusBasicResponse, *http.Response, error) { var ( localVarHTTPMethod = http.MethodGet localVarPostBody interface{} formFiles []formFile - localVarReturnValue *StatusBasic + localVarReturnValue *StatusBasicResponse ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "StatusApiService.StatusCheckBasic") @@ -82,7 +77,7 @@ func (a *StatusApiService) StatusCheckBasicExecute(r ApiStatusCheckBasicRequest) } // to determine the Accept header - localVarHTTPHeaderAccepts := []string{"*/*"} + localVarHTTPHeaderAccepts := []string{"application/json"} // set Accept header localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts) @@ -112,22 +107,24 @@ func (a *StatusApiService) StatusCheckBasicExecute(r ApiStatusCheckBasicRequest) error: localVarHTTPResponse.Status, } if localVarHTTPResponse.StatusCode == 400 { - var v Status + var v ErrorDetail err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { newErr.error = err.Error() return localVarReturnValue, localVarHTTPResponse, newErr } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } if localVarHTTPResponse.StatusCode == 422 { - var v Status + var v ErrorDetail err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { newErr.error = err.Error() return localVarReturnValue, localVarHTTPResponse, newErr } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) newErr.model = v } return localVarReturnValue, localVarHTTPResponse, newErr diff --git a/api_storage_regions.go b/api_storage_regions.go index bc9bb1af..e455819c 100644 --- a/api_storage_regions.go +++ b/api_storage_regions.go @@ -1,9 +1,9 @@ /* -Cloudsmith API +Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.121.3 +API version: 1.181.6 Contact: support@cloudsmith.io */ @@ -20,11 +20,6 @@ import ( "strings" ) -// Linger please -var ( - _ context.Context -) - // StorageRegionsApiService StorageRegionsApi service type StorageRegionsApiService service @@ -33,7 +28,7 @@ type ApiStorageRegionsListRequest struct { ApiService *StorageRegionsApiService } -func (r ApiStorageRegionsListRequest) Execute() ([]StorageRegion, *http.Response, error) { +func (r ApiStorageRegionsListRequest) Execute() ([]StorageRegionResponse, *http.Response, error) { return r.ApiService.StorageRegionsListExecute(r) } @@ -53,13 +48,13 @@ func (a *StorageRegionsApiService) StorageRegionsList(ctx context.Context) ApiSt } // Execute executes the request -// @return []StorageRegion -func (a *StorageRegionsApiService) StorageRegionsListExecute(r ApiStorageRegionsListRequest) ([]StorageRegion, *http.Response, error) { +// @return []StorageRegionResponse +func (a *StorageRegionsApiService) StorageRegionsListExecute(r ApiStorageRegionsListRequest) ([]StorageRegionResponse, *http.Response, error) { var ( localVarHTTPMethod = http.MethodGet localVarPostBody interface{} formFiles []formFile - localVarReturnValue []StorageRegion + localVarReturnValue []StorageRegionResponse ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "StorageRegionsApiService.StorageRegionsList") @@ -83,7 +78,7 @@ func (a *StorageRegionsApiService) StorageRegionsListExecute(r ApiStorageRegions } // to determine the Accept header - localVarHTTPHeaderAccepts := []string{"*/*"} + localVarHTTPHeaderAccepts := []string{"application/json"} // set Accept header localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts) @@ -127,22 +122,24 @@ func (a *StorageRegionsApiService) StorageRegionsListExecute(r ApiStorageRegions error: localVarHTTPResponse.Status, } if localVarHTTPResponse.StatusCode == 400 { - var v Status + var v ErrorDetail err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { newErr.error = err.Error() return localVarReturnValue, localVarHTTPResponse, newErr } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } if localVarHTTPResponse.StatusCode == 422 { - var v Status + var v ErrorDetail err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { newErr.error = err.Error() return localVarReturnValue, localVarHTTPResponse, newErr } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) newErr.model = v } return localVarReturnValue, localVarHTTPResponse, newErr @@ -166,7 +163,7 @@ type ApiStorageRegionsReadRequest struct { slug string } -func (r ApiStorageRegionsReadRequest) Execute() (*StorageRegion, *http.Response, error) { +func (r ApiStorageRegionsReadRequest) Execute() (*StorageRegionResponse, *http.Response, error) { return r.ApiService.StorageRegionsReadExecute(r) } @@ -188,13 +185,13 @@ func (a *StorageRegionsApiService) StorageRegionsRead(ctx context.Context, slug } // Execute executes the request -// @return StorageRegion -func (a *StorageRegionsApiService) StorageRegionsReadExecute(r ApiStorageRegionsReadRequest) (*StorageRegion, *http.Response, error) { +// @return StorageRegionResponse +func (a *StorageRegionsApiService) StorageRegionsReadExecute(r ApiStorageRegionsReadRequest) (*StorageRegionResponse, *http.Response, error) { var ( localVarHTTPMethod = http.MethodGet localVarPostBody interface{} formFiles []formFile - localVarReturnValue *StorageRegion + localVarReturnValue *StorageRegionResponse ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "StorageRegionsApiService.StorageRegionsRead") @@ -219,7 +216,7 @@ func (a *StorageRegionsApiService) StorageRegionsReadExecute(r ApiStorageRegions } // to determine the Accept header - localVarHTTPHeaderAccepts := []string{"*/*"} + localVarHTTPHeaderAccepts := []string{"application/json"} // set Accept header localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts) @@ -263,22 +260,24 @@ func (a *StorageRegionsApiService) StorageRegionsReadExecute(r ApiStorageRegions error: localVarHTTPResponse.Status, } if localVarHTTPResponse.StatusCode == 400 { - var v Status + var v ErrorDetail err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { newErr.error = err.Error() return localVarReturnValue, localVarHTTPResponse, newErr } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } if localVarHTTPResponse.StatusCode == 422 { - var v Status + var v ErrorDetail err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { newErr.error = err.Error() return localVarReturnValue, localVarHTTPResponse, newErr } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) newErr.model = v } return localVarReturnValue, localVarHTTPResponse, newErr diff --git a/api_user.go b/api_user.go index 0957f9c2..94d28f44 100644 --- a/api_user.go +++ b/api_user.go @@ -1,9 +1,9 @@ /* -Cloudsmith API +Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.121.3 +API version: 1.181.6 Contact: support@cloudsmith.io */ @@ -19,11 +19,6 @@ import ( "net/url" ) -// Linger please -var ( - _ context.Context -) - // UserApiService UserApi service type UserApiService service @@ -32,7 +27,7 @@ type ApiUserSelfRequest struct { ApiService *UserApiService } -func (r ApiUserSelfRequest) Execute() (*UserBrief, *http.Response, error) { +func (r ApiUserSelfRequest) Execute() (*UserBriefResponse, *http.Response, error) { return r.ApiService.UserSelfExecute(r) } @@ -52,13 +47,13 @@ func (a *UserApiService) UserSelf(ctx context.Context) ApiUserSelfRequest { } // Execute executes the request -// @return UserBrief -func (a *UserApiService) UserSelfExecute(r ApiUserSelfRequest) (*UserBrief, *http.Response, error) { +// @return UserBriefResponse +func (a *UserApiService) UserSelfExecute(r ApiUserSelfRequest) (*UserBriefResponse, *http.Response, error) { var ( localVarHTTPMethod = http.MethodGet localVarPostBody interface{} formFiles []formFile - localVarReturnValue *UserBrief + localVarReturnValue *UserBriefResponse ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "UserApiService.UserSelf") @@ -82,7 +77,7 @@ func (a *UserApiService) UserSelfExecute(r ApiUserSelfRequest) (*UserBrief, *htt } // to determine the Accept header - localVarHTTPHeaderAccepts := []string{"*/*"} + localVarHTTPHeaderAccepts := []string{"application/json"} // set Accept header localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts) @@ -126,22 +121,24 @@ func (a *UserApiService) UserSelfExecute(r ApiUserSelfRequest) (*UserBrief, *htt error: localVarHTTPResponse.Status, } if localVarHTTPResponse.StatusCode == 400 { - var v Status + var v ErrorDetail err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { newErr.error = err.Error() return localVarReturnValue, localVarHTTPResponse, newErr } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } if localVarHTTPResponse.StatusCode == 422 { - var v Status + var v ErrorDetail err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { newErr.error = err.Error() return localVarReturnValue, localVarHTTPResponse, newErr } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) newErr.model = v } return localVarReturnValue, localVarHTTPResponse, newErr @@ -162,15 +159,15 @@ func (a *UserApiService) UserSelfExecute(r ApiUserSelfRequest) (*UserBrief, *htt type ApiUserTokenCreateRequest struct { ctx context.Context ApiService *UserApiService - data *UserTokenCreate + data *UserAuthTokenRequest } -func (r ApiUserTokenCreateRequest) Data(data UserTokenCreate) ApiUserTokenCreateRequest { +func (r ApiUserTokenCreateRequest) Data(data UserAuthTokenRequest) ApiUserTokenCreateRequest { r.data = &data return r } -func (r ApiUserTokenCreateRequest) Execute() (*UserAuthToken, *http.Response, error) { +func (r ApiUserTokenCreateRequest) Execute() (*UserAuthTokenResponse, *http.Response, error) { return r.ApiService.UserTokenCreateExecute(r) } @@ -190,13 +187,13 @@ func (a *UserApiService) UserTokenCreate(ctx context.Context) ApiUserTokenCreate } // Execute executes the request -// @return UserAuthToken -func (a *UserApiService) UserTokenCreateExecute(r ApiUserTokenCreateRequest) (*UserAuthToken, *http.Response, error) { +// @return UserAuthTokenResponse +func (a *UserApiService) UserTokenCreateExecute(r ApiUserTokenCreateRequest) (*UserAuthTokenResponse, *http.Response, error) { var ( localVarHTTPMethod = http.MethodPost localVarPostBody interface{} formFiles []formFile - localVarReturnValue *UserAuthToken + localVarReturnValue *UserAuthTokenResponse ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "UserApiService.UserTokenCreate") @@ -220,7 +217,7 @@ func (a *UserApiService) UserTokenCreateExecute(r ApiUserTokenCreateRequest) (*U } // to determine the Accept header - localVarHTTPHeaderAccepts := []string{"*/*"} + localVarHTTPHeaderAccepts := []string{"application/json"} // set Accept header localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts) @@ -266,32 +263,24 @@ func (a *UserApiService) UserTokenCreateExecute(r ApiUserTokenCreateRequest) (*U error: localVarHTTPResponse.Status, } if localVarHTTPResponse.StatusCode == 400 { - var v Status - err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - newErr.error = err.Error() - return localVarReturnValue, localVarHTTPResponse, newErr - } - newErr.model = v - return localVarReturnValue, localVarHTTPResponse, newErr - } - if localVarHTTPResponse.StatusCode == 403 { - var v Status + var v ErrorDetail err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { newErr.error = err.Error() return localVarReturnValue, localVarHTTPResponse, newErr } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } if localVarHTTPResponse.StatusCode == 422 { - var v Status + var v ErrorDetail err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { newErr.error = err.Error() return localVarReturnValue, localVarHTTPResponse, newErr } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) newErr.model = v } return localVarReturnValue, localVarHTTPResponse, newErr diff --git a/api_users.go b/api_users.go index 32555bbd..7fad5fe4 100644 --- a/api_users.go +++ b/api_users.go @@ -1,9 +1,9 @@ /* -Cloudsmith API +Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.121.3 +API version: 1.181.6 Contact: support@cloudsmith.io */ @@ -20,11 +20,6 @@ import ( "strings" ) -// Linger please -var ( - _ context.Context -) - // UsersApiService UsersApi service type UsersApiService service @@ -34,7 +29,7 @@ type ApiUsersProfileReadRequest struct { slug string } -func (r ApiUsersProfileReadRequest) Execute() (*UserProfile, *http.Response, error) { +func (r ApiUsersProfileReadRequest) Execute() (*UserProfileResponse, *http.Response, error) { return r.ApiService.UsersProfileReadExecute(r) } @@ -56,13 +51,13 @@ func (a *UsersApiService) UsersProfileRead(ctx context.Context, slug string) Api } // Execute executes the request -// @return UserProfile -func (a *UsersApiService) UsersProfileReadExecute(r ApiUsersProfileReadRequest) (*UserProfile, *http.Response, error) { +// @return UserProfileResponse +func (a *UsersApiService) UsersProfileReadExecute(r ApiUsersProfileReadRequest) (*UserProfileResponse, *http.Response, error) { var ( localVarHTTPMethod = http.MethodGet localVarPostBody interface{} formFiles []formFile - localVarReturnValue *UserProfile + localVarReturnValue *UserProfileResponse ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "UsersApiService.UsersProfileRead") @@ -87,7 +82,7 @@ func (a *UsersApiService) UsersProfileReadExecute(r ApiUsersProfileReadRequest) } // to determine the Accept header - localVarHTTPHeaderAccepts := []string{"*/*"} + localVarHTTPHeaderAccepts := []string{"application/json"} // set Accept header localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts) @@ -131,22 +126,24 @@ func (a *UsersApiService) UsersProfileReadExecute(r ApiUsersProfileReadRequest) error: localVarHTTPResponse.Status, } if localVarHTTPResponse.StatusCode == 400 { - var v Status + var v ErrorDetail err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { newErr.error = err.Error() return localVarReturnValue, localVarHTTPResponse, newErr } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } if localVarHTTPResponse.StatusCode == 422 { - var v Status + var v ErrorDetail err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { newErr.error = err.Error() return localVarReturnValue, localVarHTTPResponse, newErr } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) newErr.model = v } return localVarReturnValue, localVarHTTPResponse, newErr diff --git a/api_vulnerabilities.go b/api_vulnerabilities.go index 3197b1ba..b23b8cb1 100644 --- a/api_vulnerabilities.go +++ b/api_vulnerabilities.go @@ -1,9 +1,9 @@ /* -Cloudsmith API +Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.121.3 +API version: 1.181.6 Contact: support@cloudsmith.io */ @@ -20,15 +20,10 @@ import ( "strings" ) -// Linger please -var ( - _ context.Context -) - // VulnerabilitiesApiService VulnerabilitiesApi service type VulnerabilitiesApiService service -type ApiVulnerabilitiesListRequest struct { +type ApiVulnerabilitiesNamespaceListRequest struct { ctx context.Context ApiService *VulnerabilitiesApiService owner string @@ -37,32 +32,32 @@ type ApiVulnerabilitiesListRequest struct { } // A page number within the paginated result set. -func (r ApiVulnerabilitiesListRequest) Page(page int64) ApiVulnerabilitiesListRequest { +func (r ApiVulnerabilitiesNamespaceListRequest) Page(page int64) ApiVulnerabilitiesNamespaceListRequest { r.page = &page return r } // Number of results to return per page. -func (r ApiVulnerabilitiesListRequest) PageSize(pageSize int64) ApiVulnerabilitiesListRequest { +func (r ApiVulnerabilitiesNamespaceListRequest) PageSize(pageSize int64) ApiVulnerabilitiesNamespaceListRequest { r.pageSize = &pageSize return r } -func (r ApiVulnerabilitiesListRequest) Execute() ([]VulnerabilityScanResultsList, *http.Response, error) { - return r.ApiService.VulnerabilitiesListExecute(r) +func (r ApiVulnerabilitiesNamespaceListRequest) Execute() ([]VulnerabilityScanResultsListResponse, *http.Response, error) { + return r.ApiService.VulnerabilitiesNamespaceListExecute(r) } /* -VulnerabilitiesList Lists scan results for a specific namespace. +VulnerabilitiesNamespaceList Lists scan results for a specific namespace. Lists scan results for a specific namespace. @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param owner - @return ApiVulnerabilitiesListRequest + @return ApiVulnerabilitiesNamespaceListRequest */ -func (a *VulnerabilitiesApiService) VulnerabilitiesList(ctx context.Context, owner string) ApiVulnerabilitiesListRequest { - return ApiVulnerabilitiesListRequest{ +func (a *VulnerabilitiesApiService) VulnerabilitiesNamespaceList(ctx context.Context, owner string) ApiVulnerabilitiesNamespaceListRequest { + return ApiVulnerabilitiesNamespaceListRequest{ ApiService: a, ctx: ctx, owner: owner, @@ -70,16 +65,16 @@ func (a *VulnerabilitiesApiService) VulnerabilitiesList(ctx context.Context, own } // Execute executes the request -// @return []VulnerabilityScanResultsList -func (a *VulnerabilitiesApiService) VulnerabilitiesListExecute(r ApiVulnerabilitiesListRequest) ([]VulnerabilityScanResultsList, *http.Response, error) { +// @return []VulnerabilityScanResultsListResponse +func (a *VulnerabilitiesApiService) VulnerabilitiesNamespaceListExecute(r ApiVulnerabilitiesNamespaceListRequest) ([]VulnerabilityScanResultsListResponse, *http.Response, error) { var ( localVarHTTPMethod = http.MethodGet localVarPostBody interface{} formFiles []formFile - localVarReturnValue []VulnerabilityScanResultsList + localVarReturnValue []VulnerabilityScanResultsListResponse ) - localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "VulnerabilitiesApiService.VulnerabilitiesList") + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "VulnerabilitiesApiService.VulnerabilitiesNamespaceList") if err != nil { return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} } @@ -107,7 +102,7 @@ func (a *VulnerabilitiesApiService) VulnerabilitiesListExecute(r ApiVulnerabilit } // to determine the Accept header - localVarHTTPHeaderAccepts := []string{"*/*"} + localVarHTTPHeaderAccepts := []string{"application/json"} // set Accept header localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts) @@ -151,22 +146,24 @@ func (a *VulnerabilitiesApiService) VulnerabilitiesListExecute(r ApiVulnerabilit error: localVarHTTPResponse.Status, } if localVarHTTPResponse.StatusCode == 400 { - var v Status + var v ErrorDetail err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { newErr.error = err.Error() return localVarReturnValue, localVarHTTPResponse, newErr } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } if localVarHTTPResponse.StatusCode == 422 { - var v Status + var v ErrorDetail err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { newErr.error = err.Error() return localVarReturnValue, localVarHTTPResponse, newErr } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) newErr.model = v } return localVarReturnValue, localVarHTTPResponse, newErr @@ -184,68 +181,72 @@ func (a *VulnerabilitiesApiService) VulnerabilitiesListExecute(r ApiVulnerabilit return localVarReturnValue, localVarHTTPResponse, nil } -type ApiVulnerabilitiesList0Request struct { +type ApiVulnerabilitiesPackageListRequest struct { ctx context.Context ApiService *VulnerabilitiesApiService owner string repo string + package_ string page *int64 pageSize *int64 } // A page number within the paginated result set. -func (r ApiVulnerabilitiesList0Request) Page(page int64) ApiVulnerabilitiesList0Request { +func (r ApiVulnerabilitiesPackageListRequest) Page(page int64) ApiVulnerabilitiesPackageListRequest { r.page = &page return r } // Number of results to return per page. -func (r ApiVulnerabilitiesList0Request) PageSize(pageSize int64) ApiVulnerabilitiesList0Request { +func (r ApiVulnerabilitiesPackageListRequest) PageSize(pageSize int64) ApiVulnerabilitiesPackageListRequest { r.pageSize = &pageSize return r } -func (r ApiVulnerabilitiesList0Request) Execute() ([]VulnerabilityScanResultsList, *http.Response, error) { - return r.ApiService.VulnerabilitiesList0Execute(r) +func (r ApiVulnerabilitiesPackageListRequest) Execute() ([]VulnerabilityScanResultsListResponse, *http.Response, error) { + return r.ApiService.VulnerabilitiesPackageListExecute(r) } /* -VulnerabilitiesList0 Lists scan results for a specific repository. +VulnerabilitiesPackageList Lists scan results for a specific package. -Lists scan results for a specific repository. +Lists scan results for a specific package. @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param owner @param repo - @return ApiVulnerabilitiesList0Request + @param package_ + @return ApiVulnerabilitiesPackageListRequest */ -func (a *VulnerabilitiesApiService) VulnerabilitiesList0(ctx context.Context, owner string, repo string) ApiVulnerabilitiesList0Request { - return ApiVulnerabilitiesList0Request{ +func (a *VulnerabilitiesApiService) VulnerabilitiesPackageList(ctx context.Context, owner string, repo string, package_ string) ApiVulnerabilitiesPackageListRequest { + return ApiVulnerabilitiesPackageListRequest{ ApiService: a, ctx: ctx, owner: owner, repo: repo, + package_: package_, } } // Execute executes the request -// @return []VulnerabilityScanResultsList -func (a *VulnerabilitiesApiService) VulnerabilitiesList0Execute(r ApiVulnerabilitiesList0Request) ([]VulnerabilityScanResultsList, *http.Response, error) { +// @return []VulnerabilityScanResultsListResponse +func (a *VulnerabilitiesApiService) VulnerabilitiesPackageListExecute(r ApiVulnerabilitiesPackageListRequest) ([]VulnerabilityScanResultsListResponse, *http.Response, error) { var ( localVarHTTPMethod = http.MethodGet localVarPostBody interface{} formFiles []formFile - localVarReturnValue []VulnerabilityScanResultsList + localVarReturnValue []VulnerabilityScanResultsListResponse ) - localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "VulnerabilitiesApiService.VulnerabilitiesList0") + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "VulnerabilitiesApiService.VulnerabilitiesPackageList") if err != nil { return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} } - localVarPath := localBasePath + "/vulnerabilities/{owner}/{repo}/" + localVarPath := localBasePath + "/vulnerabilities/{owner}/{repo}/{package}/" localVarPath = strings.Replace(localVarPath, "{"+"owner"+"}", url.PathEscape(parameterToString(r.owner, "")), -1) localVarPath = strings.Replace(localVarPath, "{"+"repo"+"}", url.PathEscape(parameterToString(r.repo, "")), -1) + localVarPath = strings.Replace(localVarPath, "{"+"package"+"}", url.PathEscape(parameterToString(r.package_, "")), -1) localVarHeaderParams := make(map[string]string) localVarQueryParams := url.Values{} @@ -267,7 +268,7 @@ func (a *VulnerabilitiesApiService) VulnerabilitiesList0Execute(r ApiVulnerabili } // to determine the Accept header - localVarHTTPHeaderAccepts := []string{"*/*"} + localVarHTTPHeaderAccepts := []string{"application/json"} // set Accept header localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts) @@ -311,22 +312,24 @@ func (a *VulnerabilitiesApiService) VulnerabilitiesList0Execute(r ApiVulnerabili error: localVarHTTPResponse.Status, } if localVarHTTPResponse.StatusCode == 400 { - var v Status + var v ErrorDetail err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { newErr.error = err.Error() return localVarReturnValue, localVarHTTPResponse, newErr } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } if localVarHTTPResponse.StatusCode == 422 { - var v Status + var v ErrorDetail err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { newErr.error = err.Error() return localVarReturnValue, localVarHTTPResponse, newErr } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) newErr.model = v } return localVarReturnValue, localVarHTTPResponse, newErr @@ -344,83 +347,67 @@ func (a *VulnerabilitiesApiService) VulnerabilitiesList0Execute(r ApiVulnerabili return localVarReturnValue, localVarHTTPResponse, nil } -type ApiVulnerabilitiesList1Request struct { +type ApiVulnerabilitiesReadRequest struct { ctx context.Context ApiService *VulnerabilitiesApiService owner string repo string package_ string - page *int64 - pageSize *int64 -} - -// A page number within the paginated result set. -func (r ApiVulnerabilitiesList1Request) Page(page int64) ApiVulnerabilitiesList1Request { - r.page = &page - return r -} - -// Number of results to return per page. -func (r ApiVulnerabilitiesList1Request) PageSize(pageSize int64) ApiVulnerabilitiesList1Request { - r.pageSize = &pageSize - return r + scanId string } -func (r ApiVulnerabilitiesList1Request) Execute() ([]VulnerabilityScanResultsList, *http.Response, error) { - return r.ApiService.VulnerabilitiesList1Execute(r) +func (r ApiVulnerabilitiesReadRequest) Execute() (*VulnerabilityScanResultsResponse, *http.Response, error) { + return r.ApiService.VulnerabilitiesReadExecute(r) } /* -VulnerabilitiesList1 Lists scan results for a specific package. +VulnerabilitiesRead Returns a Scan Result. -Lists scan results for a specific package. +Returns a Scan Result. @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param owner @param repo @param package_ - @return ApiVulnerabilitiesList1Request + @param scanId + @return ApiVulnerabilitiesReadRequest */ -func (a *VulnerabilitiesApiService) VulnerabilitiesList1(ctx context.Context, owner string, repo string, package_ string) ApiVulnerabilitiesList1Request { - return ApiVulnerabilitiesList1Request{ +func (a *VulnerabilitiesApiService) VulnerabilitiesRead(ctx context.Context, owner string, repo string, package_ string, scanId string) ApiVulnerabilitiesReadRequest { + return ApiVulnerabilitiesReadRequest{ ApiService: a, ctx: ctx, owner: owner, repo: repo, package_: package_, + scanId: scanId, } } // Execute executes the request -// @return []VulnerabilityScanResultsList -func (a *VulnerabilitiesApiService) VulnerabilitiesList1Execute(r ApiVulnerabilitiesList1Request) ([]VulnerabilityScanResultsList, *http.Response, error) { +// @return VulnerabilityScanResultsResponse +func (a *VulnerabilitiesApiService) VulnerabilitiesReadExecute(r ApiVulnerabilitiesReadRequest) (*VulnerabilityScanResultsResponse, *http.Response, error) { var ( localVarHTTPMethod = http.MethodGet localVarPostBody interface{} formFiles []formFile - localVarReturnValue []VulnerabilityScanResultsList + localVarReturnValue *VulnerabilityScanResultsResponse ) - localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "VulnerabilitiesApiService.VulnerabilitiesList1") + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "VulnerabilitiesApiService.VulnerabilitiesRead") if err != nil { return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} } - localVarPath := localBasePath + "/vulnerabilities/{owner}/{repo}/{package}/" + localVarPath := localBasePath + "/vulnerabilities/{owner}/{repo}/{package}/{scan_id}/" localVarPath = strings.Replace(localVarPath, "{"+"owner"+"}", url.PathEscape(parameterToString(r.owner, "")), -1) localVarPath = strings.Replace(localVarPath, "{"+"repo"+"}", url.PathEscape(parameterToString(r.repo, "")), -1) localVarPath = strings.Replace(localVarPath, "{"+"package"+"}", url.PathEscape(parameterToString(r.package_, "")), -1) + localVarPath = strings.Replace(localVarPath, "{"+"scan_id"+"}", url.PathEscape(parameterToString(r.scanId, "")), -1) localVarHeaderParams := make(map[string]string) localVarQueryParams := url.Values{} localVarFormParams := url.Values{} - if r.page != nil { - localVarQueryParams.Add("page", parameterToString(*r.page, "")) - } - if r.pageSize != nil { - localVarQueryParams.Add("page_size", parameterToString(*r.pageSize, "")) - } // to determine the Content-Type header localVarHTTPContentTypes := []string{} @@ -431,7 +418,7 @@ func (a *VulnerabilitiesApiService) VulnerabilitiesList1Execute(r ApiVulnerabili } // to determine the Accept header - localVarHTTPHeaderAccepts := []string{"*/*"} + localVarHTTPHeaderAccepts := []string{"application/json"} // set Accept header localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts) @@ -475,22 +462,24 @@ func (a *VulnerabilitiesApiService) VulnerabilitiesList1Execute(r ApiVulnerabili error: localVarHTTPResponse.Status, } if localVarHTTPResponse.StatusCode == 400 { - var v Status + var v ErrorDetail err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { newErr.error = err.Error() return localVarReturnValue, localVarHTTPResponse, newErr } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } if localVarHTTPResponse.StatusCode == 422 { - var v Status + var v ErrorDetail err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { newErr.error = err.Error() return localVarReturnValue, localVarHTTPResponse, newErr } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) newErr.model = v } return localVarReturnValue, localVarHTTPResponse, newErr @@ -508,67 +497,79 @@ func (a *VulnerabilitiesApiService) VulnerabilitiesList1Execute(r ApiVulnerabili return localVarReturnValue, localVarHTTPResponse, nil } -type ApiVulnerabilitiesReadRequest struct { +type ApiVulnerabilitiesRepoListRequest struct { ctx context.Context ApiService *VulnerabilitiesApiService owner string repo string - package_ string - scanId string + page *int64 + pageSize *int64 } -func (r ApiVulnerabilitiesReadRequest) Execute() (*VulnerabilityScanResults, *http.Response, error) { - return r.ApiService.VulnerabilitiesReadExecute(r) +// A page number within the paginated result set. +func (r ApiVulnerabilitiesRepoListRequest) Page(page int64) ApiVulnerabilitiesRepoListRequest { + r.page = &page + return r +} + +// Number of results to return per page. +func (r ApiVulnerabilitiesRepoListRequest) PageSize(pageSize int64) ApiVulnerabilitiesRepoListRequest { + r.pageSize = &pageSize + return r +} + +func (r ApiVulnerabilitiesRepoListRequest) Execute() ([]VulnerabilityScanResultsListResponse, *http.Response, error) { + return r.ApiService.VulnerabilitiesRepoListExecute(r) } /* -VulnerabilitiesRead Returns a Scan Result. +VulnerabilitiesRepoList Lists scan results for a specific repository. -Returns a Scan Result. +Lists scan results for a specific repository. @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param owner @param repo - @param package_ - @param scanId - @return ApiVulnerabilitiesReadRequest + @return ApiVulnerabilitiesRepoListRequest */ -func (a *VulnerabilitiesApiService) VulnerabilitiesRead(ctx context.Context, owner string, repo string, package_ string, scanId string) ApiVulnerabilitiesReadRequest { - return ApiVulnerabilitiesReadRequest{ +func (a *VulnerabilitiesApiService) VulnerabilitiesRepoList(ctx context.Context, owner string, repo string) ApiVulnerabilitiesRepoListRequest { + return ApiVulnerabilitiesRepoListRequest{ ApiService: a, ctx: ctx, owner: owner, repo: repo, - package_: package_, - scanId: scanId, } } // Execute executes the request -// @return VulnerabilityScanResults -func (a *VulnerabilitiesApiService) VulnerabilitiesReadExecute(r ApiVulnerabilitiesReadRequest) (*VulnerabilityScanResults, *http.Response, error) { +// @return []VulnerabilityScanResultsListResponse +func (a *VulnerabilitiesApiService) VulnerabilitiesRepoListExecute(r ApiVulnerabilitiesRepoListRequest) ([]VulnerabilityScanResultsListResponse, *http.Response, error) { var ( localVarHTTPMethod = http.MethodGet localVarPostBody interface{} formFiles []formFile - localVarReturnValue *VulnerabilityScanResults + localVarReturnValue []VulnerabilityScanResultsListResponse ) - localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "VulnerabilitiesApiService.VulnerabilitiesRead") + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "VulnerabilitiesApiService.VulnerabilitiesRepoList") if err != nil { return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} } - localVarPath := localBasePath + "/vulnerabilities/{owner}/{repo}/{package}/{scan_id}/" + localVarPath := localBasePath + "/vulnerabilities/{owner}/{repo}/" localVarPath = strings.Replace(localVarPath, "{"+"owner"+"}", url.PathEscape(parameterToString(r.owner, "")), -1) localVarPath = strings.Replace(localVarPath, "{"+"repo"+"}", url.PathEscape(parameterToString(r.repo, "")), -1) - localVarPath = strings.Replace(localVarPath, "{"+"package"+"}", url.PathEscape(parameterToString(r.package_, "")), -1) - localVarPath = strings.Replace(localVarPath, "{"+"scan_id"+"}", url.PathEscape(parameterToString(r.scanId, "")), -1) localVarHeaderParams := make(map[string]string) localVarQueryParams := url.Values{} localVarFormParams := url.Values{} + if r.page != nil { + localVarQueryParams.Add("page", parameterToString(*r.page, "")) + } + if r.pageSize != nil { + localVarQueryParams.Add("page_size", parameterToString(*r.pageSize, "")) + } // to determine the Content-Type header localVarHTTPContentTypes := []string{} @@ -579,7 +580,7 @@ func (a *VulnerabilitiesApiService) VulnerabilitiesReadExecute(r ApiVulnerabilit } // to determine the Accept header - localVarHTTPHeaderAccepts := []string{"*/*"} + localVarHTTPHeaderAccepts := []string{"application/json"} // set Accept header localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts) @@ -623,22 +624,24 @@ func (a *VulnerabilitiesApiService) VulnerabilitiesReadExecute(r ApiVulnerabilit error: localVarHTTPResponse.Status, } if localVarHTTPResponse.StatusCode == 400 { - var v Status + var v ErrorDetail err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { newErr.error = err.Error() return localVarReturnValue, localVarHTTPResponse, newErr } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } if localVarHTTPResponse.StatusCode == 422 { - var v Status + var v ErrorDetail err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { newErr.error = err.Error() return localVarReturnValue, localVarHTTPResponse, newErr } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) newErr.model = v } return localVarReturnValue, localVarHTTPResponse, newErr diff --git a/api_webhooks.go b/api_webhooks.go index 272f7f2d..34478b07 100644 --- a/api_webhooks.go +++ b/api_webhooks.go @@ -1,9 +1,9 @@ /* -Cloudsmith API +Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.121.3 +API version: 1.181.6 Contact: support@cloudsmith.io */ @@ -20,11 +20,6 @@ import ( "strings" ) -// Linger please -var ( - _ context.Context -) - // WebhooksApiService WebhooksApi service type WebhooksApiService service @@ -33,15 +28,15 @@ type ApiWebhooksCreateRequest struct { ApiService *WebhooksApiService owner string repo string - data *WebhooksCreate + data *RepositoryWebhookRequest } -func (r ApiWebhooksCreateRequest) Data(data WebhooksCreate) ApiWebhooksCreateRequest { +func (r ApiWebhooksCreateRequest) Data(data RepositoryWebhookRequest) ApiWebhooksCreateRequest { r.data = &data return r } -func (r ApiWebhooksCreateRequest) Execute() (*RepositoryWebhook, *http.Response, error) { +func (r ApiWebhooksCreateRequest) Execute() (*RepositoryWebhookResponse, *http.Response, error) { return r.ApiService.WebhooksCreateExecute(r) } @@ -65,13 +60,13 @@ func (a *WebhooksApiService) WebhooksCreate(ctx context.Context, owner string, r } // Execute executes the request -// @return RepositoryWebhook -func (a *WebhooksApiService) WebhooksCreateExecute(r ApiWebhooksCreateRequest) (*RepositoryWebhook, *http.Response, error) { +// @return RepositoryWebhookResponse +func (a *WebhooksApiService) WebhooksCreateExecute(r ApiWebhooksCreateRequest) (*RepositoryWebhookResponse, *http.Response, error) { var ( localVarHTTPMethod = http.MethodPost localVarPostBody interface{} formFiles []formFile - localVarReturnValue *RepositoryWebhook + localVarReturnValue *RepositoryWebhookResponse ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "WebhooksApiService.WebhooksCreate") @@ -97,7 +92,7 @@ func (a *WebhooksApiService) WebhooksCreateExecute(r ApiWebhooksCreateRequest) ( } // to determine the Accept header - localVarHTTPHeaderAccepts := []string{"*/*"} + localVarHTTPHeaderAccepts := []string{"application/json"} // set Accept header localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts) @@ -142,33 +137,36 @@ func (a *WebhooksApiService) WebhooksCreateExecute(r ApiWebhooksCreateRequest) ( body: localVarBody, error: localVarHTTPResponse.Status, } - if localVarHTTPResponse.StatusCode == 400 { - var v Status + if localVarHTTPResponse.StatusCode == 404 { + var v ErrorDetail err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { newErr.error = err.Error() return localVarReturnValue, localVarHTTPResponse, newErr } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } - if localVarHTTPResponse.StatusCode == 404 { - var v Status + if localVarHTTPResponse.StatusCode == 400 { + var v ErrorDetail err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { newErr.error = err.Error() return localVarReturnValue, localVarHTTPResponse, newErr } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } if localVarHTTPResponse.StatusCode == 422 { - var v Status + var v ErrorDetail err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { newErr.error = err.Error() return localVarReturnValue, localVarHTTPResponse, newErr } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) newErr.model = v } return localVarReturnValue, localVarHTTPResponse, newErr @@ -251,7 +249,7 @@ func (a *WebhooksApiService) WebhooksDeleteExecute(r ApiWebhooksDeleteRequest) ( } // to determine the Accept header - localVarHTTPHeaderAccepts := []string{"*/*"} + localVarHTTPHeaderAccepts := []string{"application/json"} // set Accept header localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts) @@ -295,22 +293,24 @@ func (a *WebhooksApiService) WebhooksDeleteExecute(r ApiWebhooksDeleteRequest) ( error: localVarHTTPResponse.Status, } if localVarHTTPResponse.StatusCode == 400 { - var v Status + var v ErrorDetail err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { newErr.error = err.Error() return localVarHTTPResponse, newErr } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) newErr.model = v return localVarHTTPResponse, newErr } if localVarHTTPResponse.StatusCode == 422 { - var v Status + var v ErrorDetail err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { newErr.error = err.Error() return localVarHTTPResponse, newErr } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) newErr.model = v } return localVarHTTPResponse, newErr @@ -340,7 +340,7 @@ func (r ApiWebhooksListRequest) PageSize(pageSize int64) ApiWebhooksListRequest return r } -func (r ApiWebhooksListRequest) Execute() ([]RepositoryWebhook, *http.Response, error) { +func (r ApiWebhooksListRequest) Execute() ([]RepositoryWebhookResponse, *http.Response, error) { return r.ApiService.WebhooksListExecute(r) } @@ -364,13 +364,13 @@ func (a *WebhooksApiService) WebhooksList(ctx context.Context, owner string, rep } // Execute executes the request -// @return []RepositoryWebhook -func (a *WebhooksApiService) WebhooksListExecute(r ApiWebhooksListRequest) ([]RepositoryWebhook, *http.Response, error) { +// @return []RepositoryWebhookResponse +func (a *WebhooksApiService) WebhooksListExecute(r ApiWebhooksListRequest) ([]RepositoryWebhookResponse, *http.Response, error) { var ( localVarHTTPMethod = http.MethodGet localVarPostBody interface{} formFiles []formFile - localVarReturnValue []RepositoryWebhook + localVarReturnValue []RepositoryWebhookResponse ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "WebhooksApiService.WebhooksList") @@ -402,7 +402,7 @@ func (a *WebhooksApiService) WebhooksListExecute(r ApiWebhooksListRequest) ([]Re } // to determine the Accept header - localVarHTTPHeaderAccepts := []string{"*/*"} + localVarHTTPHeaderAccepts := []string{"application/json"} // set Accept header localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts) @@ -445,33 +445,36 @@ func (a *WebhooksApiService) WebhooksListExecute(r ApiWebhooksListRequest) ([]Re body: localVarBody, error: localVarHTTPResponse.Status, } - if localVarHTTPResponse.StatusCode == 400 { - var v Status + if localVarHTTPResponse.StatusCode == 404 { + var v ErrorDetail err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { newErr.error = err.Error() return localVarReturnValue, localVarHTTPResponse, newErr } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } - if localVarHTTPResponse.StatusCode == 404 { - var v Status + if localVarHTTPResponse.StatusCode == 400 { + var v ErrorDetail err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { newErr.error = err.Error() return localVarReturnValue, localVarHTTPResponse, newErr } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } if localVarHTTPResponse.StatusCode == 422 { - var v Status + var v ErrorDetail err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { newErr.error = err.Error() return localVarReturnValue, localVarHTTPResponse, newErr } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) newErr.model = v } return localVarReturnValue, localVarHTTPResponse, newErr @@ -495,15 +498,15 @@ type ApiWebhooksPartialUpdateRequest struct { owner string repo string identifier string - data *WebhooksPartialUpdate + data *RepositoryWebhookRequestPatch } -func (r ApiWebhooksPartialUpdateRequest) Data(data WebhooksPartialUpdate) ApiWebhooksPartialUpdateRequest { +func (r ApiWebhooksPartialUpdateRequest) Data(data RepositoryWebhookRequestPatch) ApiWebhooksPartialUpdateRequest { r.data = &data return r } -func (r ApiWebhooksPartialUpdateRequest) Execute() (*RepositoryWebhook, *http.Response, error) { +func (r ApiWebhooksPartialUpdateRequest) Execute() (*RepositoryWebhookResponse, *http.Response, error) { return r.ApiService.WebhooksPartialUpdateExecute(r) } @@ -529,13 +532,13 @@ func (a *WebhooksApiService) WebhooksPartialUpdate(ctx context.Context, owner st } // Execute executes the request -// @return RepositoryWebhook -func (a *WebhooksApiService) WebhooksPartialUpdateExecute(r ApiWebhooksPartialUpdateRequest) (*RepositoryWebhook, *http.Response, error) { +// @return RepositoryWebhookResponse +func (a *WebhooksApiService) WebhooksPartialUpdateExecute(r ApiWebhooksPartialUpdateRequest) (*RepositoryWebhookResponse, *http.Response, error) { var ( localVarHTTPMethod = http.MethodPatch localVarPostBody interface{} formFiles []formFile - localVarReturnValue *RepositoryWebhook + localVarReturnValue *RepositoryWebhookResponse ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "WebhooksApiService.WebhooksPartialUpdate") @@ -562,7 +565,7 @@ func (a *WebhooksApiService) WebhooksPartialUpdateExecute(r ApiWebhooksPartialUp } // to determine the Accept header - localVarHTTPHeaderAccepts := []string{"*/*"} + localVarHTTPHeaderAccepts := []string{"application/json"} // set Accept header localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts) @@ -607,33 +610,36 @@ func (a *WebhooksApiService) WebhooksPartialUpdateExecute(r ApiWebhooksPartialUp body: localVarBody, error: localVarHTTPResponse.Status, } - if localVarHTTPResponse.StatusCode == 400 { - var v Status + if localVarHTTPResponse.StatusCode == 404 { + var v ErrorDetail err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { newErr.error = err.Error() return localVarReturnValue, localVarHTTPResponse, newErr } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } - if localVarHTTPResponse.StatusCode == 404 { - var v Status + if localVarHTTPResponse.StatusCode == 400 { + var v ErrorDetail err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { newErr.error = err.Error() return localVarReturnValue, localVarHTTPResponse, newErr } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } if localVarHTTPResponse.StatusCode == 422 { - var v Status + var v ErrorDetail err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { newErr.error = err.Error() return localVarReturnValue, localVarHTTPResponse, newErr } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) newErr.model = v } return localVarReturnValue, localVarHTTPResponse, newErr @@ -659,7 +665,7 @@ type ApiWebhooksReadRequest struct { identifier string } -func (r ApiWebhooksReadRequest) Execute() (*RepositoryWebhook, *http.Response, error) { +func (r ApiWebhooksReadRequest) Execute() (*RepositoryWebhookResponse, *http.Response, error) { return r.ApiService.WebhooksReadExecute(r) } @@ -685,13 +691,13 @@ func (a *WebhooksApiService) WebhooksRead(ctx context.Context, owner string, rep } // Execute executes the request -// @return RepositoryWebhook -func (a *WebhooksApiService) WebhooksReadExecute(r ApiWebhooksReadRequest) (*RepositoryWebhook, *http.Response, error) { +// @return RepositoryWebhookResponse +func (a *WebhooksApiService) WebhooksReadExecute(r ApiWebhooksReadRequest) (*RepositoryWebhookResponse, *http.Response, error) { var ( localVarHTTPMethod = http.MethodGet localVarPostBody interface{} formFiles []formFile - localVarReturnValue *RepositoryWebhook + localVarReturnValue *RepositoryWebhookResponse ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "WebhooksApiService.WebhooksRead") @@ -718,7 +724,7 @@ func (a *WebhooksApiService) WebhooksReadExecute(r ApiWebhooksReadRequest) (*Rep } // to determine the Accept header - localVarHTTPHeaderAccepts := []string{"*/*"} + localVarHTTPHeaderAccepts := []string{"application/json"} // set Accept header localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts) @@ -762,22 +768,24 @@ func (a *WebhooksApiService) WebhooksReadExecute(r ApiWebhooksReadRequest) (*Rep error: localVarHTTPResponse.Status, } if localVarHTTPResponse.StatusCode == 400 { - var v Status + var v ErrorDetail err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { newErr.error = err.Error() return localVarReturnValue, localVarHTTPResponse, newErr } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) newErr.model = v return localVarReturnValue, localVarHTTPResponse, newErr } if localVarHTTPResponse.StatusCode == 422 { - var v Status + var v ErrorDetail err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { newErr.error = err.Error() return localVarReturnValue, localVarHTTPResponse, newErr } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) newErr.model = v } return localVarReturnValue, localVarHTTPResponse, newErr diff --git a/bin/generate b/bin/generate index d7de30db..dce9b467 100755 --- a/bin/generate +++ b/bin/generate @@ -40,3 +40,5 @@ docker run --rm \ rm -v .travis.yml rm -v git_push.sh +# generated tests don't work yet +rm -rfv test/ diff --git a/client.go b/client.go index a64592b1..46f31914 100644 --- a/client.go +++ b/client.go @@ -1,9 +1,9 @@ /* -Cloudsmith API +Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.121.3 +API version: 1.181.6 Contact: support@cloudsmith.io */ @@ -42,7 +42,7 @@ var ( xmlCheck = regexp.MustCompile(`(?i:(?:application|text)/xml)`) ) -// APIClient manages communication with the Cloudsmith API API v1.121.3 +// APIClient manages communication with the Cloudsmith API (v1) API v1.181.6 // In most cases there should be only one, shared, APIClient. type APIClient struct { cfg *Configuration @@ -159,7 +159,7 @@ func selectHeaderAccept(accepts []string) string { // contains is a case insensitive match, finding needle in a haystack func contains(haystack []string, needle string) bool { for _, a := range haystack { - if strings.ToLower(a) == strings.ToLower(needle) { + if strings.EqualFold(a, needle) { return true } } @@ -175,7 +175,7 @@ func typeCheckParameter(obj interface{}, expected string, name string) error { // Check the type is as expected. if reflect.TypeOf(obj).String() != expected { - return fmt.Errorf("Expected %s to be of type %s but received %s.", name, expected, reflect.TypeOf(obj).String()) + return fmt.Errorf("expected %s to be of type %s but received %s", name, expected, reflect.TypeOf(obj).String()) } return nil } @@ -457,11 +457,14 @@ func (c *APIClient) decode(v interface{}, b []byte, contentType string) (err err // Add a file to the multipart request func addFile(w *multipart.Writer, fieldName, path string) error { - file, err := os.Open(path) + file, err := os.Open(filepath.Clean(path)) + if err != nil { + return err + } + err = file.Close() if err != nil { return err } - defer file.Close() part, err := w.CreateFormFile(fieldName, filepath.Base(path)) if err != nil { @@ -511,7 +514,7 @@ func setBody(body interface{}, contentType string) (bodyBuf *bytes.Buffer, err e } if bodyBuf.Len() == 0 { - err = fmt.Errorf("Invalid body type %s\n", contentType) + err = fmt.Errorf("invalid body type %s\n", contentType) return nil, err } return bodyBuf, nil @@ -613,3 +616,23 @@ func (e GenericOpenAPIError) Body() []byte { func (e GenericOpenAPIError) Model() interface{} { return e.model } + +// format error message using title and detail when model implements rfc7807 +func formatErrorMessage(status string, v interface{}) string { + + str := "" + metaValue := reflect.ValueOf(v).Elem() + + field := metaValue.FieldByName("Title") + if field != (reflect.Value{}) { + str = fmt.Sprintf("%s", field.Interface()) + } + + field = metaValue.FieldByName("Detail") + if field != (reflect.Value{}) { + str = fmt.Sprintf("%s (%s)", str, field.Interface()) + } + + // status title (detail) + return fmt.Sprintf("%s %s", status, str) +} diff --git a/configuration.go b/configuration.go index bfeed25a..caf75aac 100644 --- a/configuration.go +++ b/configuration.go @@ -1,9 +1,9 @@ /* -Cloudsmith API +Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.121.3 +API version: 1.181.6 Contact: support@cloudsmith.io */ @@ -102,7 +102,7 @@ type Configuration struct { func NewConfiguration() *Configuration { cfg := &Configuration{ DefaultHeader: make(map[string]string), - UserAgent: "OpenAPI-Generator/0.0.16/go", + UserAgent: "OpenAPI-Generator/0.0.17/go", Debug: false, Servers: ServerConfigurations{ { @@ -124,7 +124,7 @@ func (c *Configuration) AddDefaultHeader(key string, value string) { // URL formats template on a index using given variables func (sc ServerConfigurations) URL(index int, variables map[string]string) (string, error) { if index < 0 || len(sc) <= index { - return "", fmt.Errorf("Index %v out of range %v", index, len(sc)-1) + return "", fmt.Errorf("index %v out of range %v", index, len(sc)-1) } server := sc[index] url := server.URL @@ -139,7 +139,7 @@ func (sc ServerConfigurations) URL(index int, variables map[string]string) (stri } } if !found { - return "", fmt.Errorf("The variable %s in the server URL has invalid value %v. Must be %v", name, value, variable.EnumValues) + return "", fmt.Errorf("the variable %s in the server URL has invalid value %v. Must be %v", name, value, variable.EnumValues) } url = strings.Replace(url, "{"+name+"}", value, -1) } else { diff --git a/docs/AllocatedLimit.md b/docs/AllocatedLimit.md new file mode 100644 index 00000000..de5b4bca --- /dev/null +++ b/docs/AllocatedLimit.md @@ -0,0 +1,134 @@ +# AllocatedLimit + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Configured** | Pointer to **string** | | [optional] +**PercentageUsed** | Pointer to **string** | | [optional] +**PlanLimit** | Pointer to **string** | | [optional] +**Used** | Pointer to **string** | | [optional] + +## Methods + +### NewAllocatedLimit + +`func NewAllocatedLimit() *AllocatedLimit` + +NewAllocatedLimit instantiates a new AllocatedLimit object +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 + +### NewAllocatedLimitWithDefaults + +`func NewAllocatedLimitWithDefaults() *AllocatedLimit` + +NewAllocatedLimitWithDefaults instantiates a new AllocatedLimit object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetConfigured + +`func (o *AllocatedLimit) GetConfigured() string` + +GetConfigured returns the Configured field if non-nil, zero value otherwise. + +### GetConfiguredOk + +`func (o *AllocatedLimit) GetConfiguredOk() (*string, bool)` + +GetConfiguredOk returns a tuple with the Configured field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetConfigured + +`func (o *AllocatedLimit) SetConfigured(v string)` + +SetConfigured sets Configured field to given value. + +### HasConfigured + +`func (o *AllocatedLimit) HasConfigured() bool` + +HasConfigured returns a boolean if a field has been set. + +### GetPercentageUsed + +`func (o *AllocatedLimit) GetPercentageUsed() string` + +GetPercentageUsed returns the PercentageUsed field if non-nil, zero value otherwise. + +### GetPercentageUsedOk + +`func (o *AllocatedLimit) GetPercentageUsedOk() (*string, bool)` + +GetPercentageUsedOk returns a tuple with the PercentageUsed field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetPercentageUsed + +`func (o *AllocatedLimit) SetPercentageUsed(v string)` + +SetPercentageUsed sets PercentageUsed field to given value. + +### HasPercentageUsed + +`func (o *AllocatedLimit) HasPercentageUsed() bool` + +HasPercentageUsed returns a boolean if a field has been set. + +### GetPlanLimit + +`func (o *AllocatedLimit) GetPlanLimit() string` + +GetPlanLimit returns the PlanLimit field if non-nil, zero value otherwise. + +### GetPlanLimitOk + +`func (o *AllocatedLimit) GetPlanLimitOk() (*string, bool)` + +GetPlanLimitOk returns a tuple with the PlanLimit field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetPlanLimit + +`func (o *AllocatedLimit) SetPlanLimit(v string)` + +SetPlanLimit sets PlanLimit field to given value. + +### HasPlanLimit + +`func (o *AllocatedLimit) HasPlanLimit() bool` + +HasPlanLimit returns a boolean if a field has been set. + +### GetUsed + +`func (o *AllocatedLimit) GetUsed() string` + +GetUsed returns the Used field if non-nil, zero value otherwise. + +### GetUsedOk + +`func (o *AllocatedLimit) GetUsedOk() (*string, bool)` + +GetUsedOk returns a tuple with the Used field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetUsed + +`func (o *AllocatedLimit) SetUsed(v string)` + +SetUsed sets Used field to given value. + +### HasUsed + +`func (o *AllocatedLimit) HasUsed() bool` + +HasUsed 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/docs/AlpinePackageUpload.md b/docs/AlpinePackageUpload.md deleted file mode 100644 index f6682f93..00000000 --- a/docs/AlpinePackageUpload.md +++ /dev/null @@ -1,1746 +0,0 @@ -# AlpinePackageUpload - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**Architectures** | Pointer to [**[]PackagesOwnerRepoArchitectures**](PackagesOwnerRepoArchitectures.md) | | [optional] -**CdnUrl** | Pointer to **string** | | [optional] -**ChecksumMd5** | Pointer to **string** | | [optional] -**ChecksumSha1** | Pointer to **string** | | [optional] -**ChecksumSha256** | Pointer to **string** | | [optional] -**ChecksumSha512** | Pointer to **string** | | [optional] -**DependenciesChecksumMd5** | Pointer to **string** | A checksum of all of the package's dependencies. | [optional] -**DependenciesUrl** | Pointer to **string** | | [optional] -**Description** | Pointer to **string** | A textual description of this package. | [optional] -**Distro** | Pointer to **map[string]interface{}** | | [optional] -**DistroVersion** | Pointer to **map[string]interface{}** | | [optional] -**Downloads** | Pointer to **int64** | | [optional] -**Epoch** | Pointer to **int64** | The epoch of the package version (if any). | [optional] -**Extension** | Pointer to **string** | | [optional] -**Filename** | Pointer to **string** | | [optional] -**Files** | Pointer to [**[]PackagesOwnerRepoFiles**](PackagesOwnerRepoFiles.md) | | [optional] -**Format** | Pointer to **string** | | [optional] -**FormatUrl** | Pointer to **string** | | [optional] -**IdentifierPerm** | Pointer to **string** | Unique and permanent identifier for the package. | [optional] -**Indexed** | Pointer to **bool** | | [optional] -**IsDownloadable** | Pointer to **bool** | | [optional] -**IsQuarantined** | Pointer to **bool** | | [optional] -**IsSyncAwaiting** | Pointer to **bool** | | [optional] -**IsSyncCompleted** | Pointer to **bool** | | [optional] -**IsSyncFailed** | Pointer to **bool** | | [optional] -**IsSyncInFlight** | Pointer to **bool** | | [optional] -**IsSyncInProgress** | Pointer to **bool** | | [optional] -**License** | Pointer to **string** | The license of this package. | [optional] -**Name** | Pointer to **string** | The name of this package. | [optional] -**Namespace** | Pointer to **string** | | [optional] -**NamespaceUrl** | Pointer to **string** | | [optional] -**NumFiles** | Pointer to **int64** | | [optional] -**PackageType** | Pointer to **int64** | The type of package contents. | [optional] -**Release** | Pointer to **string** | The release of the package version (if any). | [optional] -**Repository** | Pointer to **string** | | [optional] -**RepositoryUrl** | Pointer to **string** | | [optional] -**SecurityScanCompletedAt** | Pointer to **string** | The datetime the security scanning was completed. | [optional] -**SecurityScanStartedAt** | Pointer to **string** | The datetime the security scanning was started. | [optional] -**SecurityScanStatus** | Pointer to **string** | | [optional] -**SecurityScanStatusUpdatedAt** | Pointer to **string** | The datetime the security scanning status was updated. | [optional] -**SelfHtmlUrl** | Pointer to **string** | | [optional] -**SelfUrl** | Pointer to **string** | | [optional] -**SignatureUrl** | Pointer to **string** | | [optional] -**Size** | Pointer to **int64** | The calculated size of the package. | [optional] -**Slug** | Pointer to **string** | The public unique identifier for the package. | [optional] -**SlugPerm** | Pointer to **string** | | [optional] -**Stage** | Pointer to **int64** | The synchronisation (in progress) stage of the package. | [optional] -**StageStr** | Pointer to **string** | | [optional] -**StageUpdatedAt** | Pointer to **string** | The datetime the package stage was updated at. | [optional] -**Status** | Pointer to **int64** | The synchronisation status of the package. | [optional] -**StatusReason** | Pointer to **string** | A textual description for the synchronous status reason (if any | [optional] -**StatusStr** | Pointer to **string** | | [optional] -**StatusUpdatedAt** | Pointer to **string** | The datetime the package status was updated at. | [optional] -**StatusUrl** | Pointer to **string** | | [optional] -**Subtype** | Pointer to **string** | | [optional] -**Summary** | Pointer to **string** | A one-liner synopsis of this package. | [optional] -**SyncFinishedAt** | Pointer to **string** | The datetime the package sync was finished at. | [optional] -**SyncProgress** | Pointer to **int64** | Synchronisation progress (from 0-100) | [optional] -**TagsImmutable** | Pointer to **map[string]interface{}** | All immutable tags on the package, grouped by tag type. Immutable tags cannot be (easily) deleted. | [optional] -**TypeDisplay** | Pointer to **string** | | [optional] -**UploadedAt** | Pointer to **string** | The date this package was uploaded. | [optional] -**Uploader** | Pointer to **string** | | [optional] -**UploaderUrl** | Pointer to **string** | | [optional] -**Version** | Pointer to **string** | The raw version for this package. | [optional] -**VersionOrig** | Pointer to **string** | | [optional] -**VulnerabilityScanResultsUrl** | Pointer to **string** | | [optional] - -## Methods - -### NewAlpinePackageUpload - -`func NewAlpinePackageUpload() *AlpinePackageUpload` - -NewAlpinePackageUpload instantiates a new AlpinePackageUpload object -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 - -### NewAlpinePackageUploadWithDefaults - -`func NewAlpinePackageUploadWithDefaults() *AlpinePackageUpload` - -NewAlpinePackageUploadWithDefaults instantiates a new AlpinePackageUpload object -This constructor will only assign default values to properties that have it defined, -but it doesn't guarantee that properties required by API are set - -### GetArchitectures - -`func (o *AlpinePackageUpload) GetArchitectures() []PackagesOwnerRepoArchitectures` - -GetArchitectures returns the Architectures field if non-nil, zero value otherwise. - -### GetArchitecturesOk - -`func (o *AlpinePackageUpload) GetArchitecturesOk() (*[]PackagesOwnerRepoArchitectures, bool)` - -GetArchitecturesOk returns a tuple with the Architectures field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetArchitectures - -`func (o *AlpinePackageUpload) SetArchitectures(v []PackagesOwnerRepoArchitectures)` - -SetArchitectures sets Architectures field to given value. - -### HasArchitectures - -`func (o *AlpinePackageUpload) HasArchitectures() bool` - -HasArchitectures returns a boolean if a field has been set. - -### GetCdnUrl - -`func (o *AlpinePackageUpload) GetCdnUrl() string` - -GetCdnUrl returns the CdnUrl field if non-nil, zero value otherwise. - -### GetCdnUrlOk - -`func (o *AlpinePackageUpload) GetCdnUrlOk() (*string, bool)` - -GetCdnUrlOk returns a tuple with the CdnUrl field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetCdnUrl - -`func (o *AlpinePackageUpload) SetCdnUrl(v string)` - -SetCdnUrl sets CdnUrl field to given value. - -### HasCdnUrl - -`func (o *AlpinePackageUpload) HasCdnUrl() bool` - -HasCdnUrl returns a boolean if a field has been set. - -### GetChecksumMd5 - -`func (o *AlpinePackageUpload) GetChecksumMd5() string` - -GetChecksumMd5 returns the ChecksumMd5 field if non-nil, zero value otherwise. - -### GetChecksumMd5Ok - -`func (o *AlpinePackageUpload) GetChecksumMd5Ok() (*string, bool)` - -GetChecksumMd5Ok returns a tuple with the ChecksumMd5 field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetChecksumMd5 - -`func (o *AlpinePackageUpload) SetChecksumMd5(v string)` - -SetChecksumMd5 sets ChecksumMd5 field to given value. - -### HasChecksumMd5 - -`func (o *AlpinePackageUpload) HasChecksumMd5() bool` - -HasChecksumMd5 returns a boolean if a field has been set. - -### GetChecksumSha1 - -`func (o *AlpinePackageUpload) GetChecksumSha1() string` - -GetChecksumSha1 returns the ChecksumSha1 field if non-nil, zero value otherwise. - -### GetChecksumSha1Ok - -`func (o *AlpinePackageUpload) GetChecksumSha1Ok() (*string, bool)` - -GetChecksumSha1Ok returns a tuple with the ChecksumSha1 field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetChecksumSha1 - -`func (o *AlpinePackageUpload) SetChecksumSha1(v string)` - -SetChecksumSha1 sets ChecksumSha1 field to given value. - -### HasChecksumSha1 - -`func (o *AlpinePackageUpload) HasChecksumSha1() bool` - -HasChecksumSha1 returns a boolean if a field has been set. - -### GetChecksumSha256 - -`func (o *AlpinePackageUpload) GetChecksumSha256() string` - -GetChecksumSha256 returns the ChecksumSha256 field if non-nil, zero value otherwise. - -### GetChecksumSha256Ok - -`func (o *AlpinePackageUpload) GetChecksumSha256Ok() (*string, bool)` - -GetChecksumSha256Ok returns a tuple with the ChecksumSha256 field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetChecksumSha256 - -`func (o *AlpinePackageUpload) SetChecksumSha256(v string)` - -SetChecksumSha256 sets ChecksumSha256 field to given value. - -### HasChecksumSha256 - -`func (o *AlpinePackageUpload) HasChecksumSha256() bool` - -HasChecksumSha256 returns a boolean if a field has been set. - -### GetChecksumSha512 - -`func (o *AlpinePackageUpload) GetChecksumSha512() string` - -GetChecksumSha512 returns the ChecksumSha512 field if non-nil, zero value otherwise. - -### GetChecksumSha512Ok - -`func (o *AlpinePackageUpload) GetChecksumSha512Ok() (*string, bool)` - -GetChecksumSha512Ok returns a tuple with the ChecksumSha512 field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetChecksumSha512 - -`func (o *AlpinePackageUpload) SetChecksumSha512(v string)` - -SetChecksumSha512 sets ChecksumSha512 field to given value. - -### HasChecksumSha512 - -`func (o *AlpinePackageUpload) HasChecksumSha512() bool` - -HasChecksumSha512 returns a boolean if a field has been set. - -### GetDependenciesChecksumMd5 - -`func (o *AlpinePackageUpload) GetDependenciesChecksumMd5() string` - -GetDependenciesChecksumMd5 returns the DependenciesChecksumMd5 field if non-nil, zero value otherwise. - -### GetDependenciesChecksumMd5Ok - -`func (o *AlpinePackageUpload) GetDependenciesChecksumMd5Ok() (*string, bool)` - -GetDependenciesChecksumMd5Ok returns a tuple with the DependenciesChecksumMd5 field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetDependenciesChecksumMd5 - -`func (o *AlpinePackageUpload) SetDependenciesChecksumMd5(v string)` - -SetDependenciesChecksumMd5 sets DependenciesChecksumMd5 field to given value. - -### HasDependenciesChecksumMd5 - -`func (o *AlpinePackageUpload) HasDependenciesChecksumMd5() bool` - -HasDependenciesChecksumMd5 returns a boolean if a field has been set. - -### GetDependenciesUrl - -`func (o *AlpinePackageUpload) GetDependenciesUrl() string` - -GetDependenciesUrl returns the DependenciesUrl field if non-nil, zero value otherwise. - -### GetDependenciesUrlOk - -`func (o *AlpinePackageUpload) GetDependenciesUrlOk() (*string, bool)` - -GetDependenciesUrlOk returns a tuple with the DependenciesUrl field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetDependenciesUrl - -`func (o *AlpinePackageUpload) SetDependenciesUrl(v string)` - -SetDependenciesUrl sets DependenciesUrl field to given value. - -### HasDependenciesUrl - -`func (o *AlpinePackageUpload) HasDependenciesUrl() bool` - -HasDependenciesUrl returns a boolean if a field has been set. - -### GetDescription - -`func (o *AlpinePackageUpload) GetDescription() string` - -GetDescription returns the Description field if non-nil, zero value otherwise. - -### GetDescriptionOk - -`func (o *AlpinePackageUpload) GetDescriptionOk() (*string, bool)` - -GetDescriptionOk returns a tuple with the Description field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetDescription - -`func (o *AlpinePackageUpload) SetDescription(v string)` - -SetDescription sets Description field to given value. - -### HasDescription - -`func (o *AlpinePackageUpload) HasDescription() bool` - -HasDescription returns a boolean if a field has been set. - -### GetDistro - -`func (o *AlpinePackageUpload) GetDistro() map[string]interface{}` - -GetDistro returns the Distro field if non-nil, zero value otherwise. - -### GetDistroOk - -`func (o *AlpinePackageUpload) GetDistroOk() (*map[string]interface{}, bool)` - -GetDistroOk returns a tuple with the Distro field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetDistro - -`func (o *AlpinePackageUpload) SetDistro(v map[string]interface{})` - -SetDistro sets Distro field to given value. - -### HasDistro - -`func (o *AlpinePackageUpload) HasDistro() bool` - -HasDistro returns a boolean if a field has been set. - -### GetDistroVersion - -`func (o *AlpinePackageUpload) GetDistroVersion() map[string]interface{}` - -GetDistroVersion returns the DistroVersion field if non-nil, zero value otherwise. - -### GetDistroVersionOk - -`func (o *AlpinePackageUpload) GetDistroVersionOk() (*map[string]interface{}, bool)` - -GetDistroVersionOk returns a tuple with the DistroVersion field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetDistroVersion - -`func (o *AlpinePackageUpload) SetDistroVersion(v map[string]interface{})` - -SetDistroVersion sets DistroVersion field to given value. - -### HasDistroVersion - -`func (o *AlpinePackageUpload) HasDistroVersion() bool` - -HasDistroVersion returns a boolean if a field has been set. - -### GetDownloads - -`func (o *AlpinePackageUpload) GetDownloads() int64` - -GetDownloads returns the Downloads field if non-nil, zero value otherwise. - -### GetDownloadsOk - -`func (o *AlpinePackageUpload) GetDownloadsOk() (*int64, bool)` - -GetDownloadsOk returns a tuple with the Downloads field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetDownloads - -`func (o *AlpinePackageUpload) SetDownloads(v int64)` - -SetDownloads sets Downloads field to given value. - -### HasDownloads - -`func (o *AlpinePackageUpload) HasDownloads() bool` - -HasDownloads returns a boolean if a field has been set. - -### GetEpoch - -`func (o *AlpinePackageUpload) GetEpoch() int64` - -GetEpoch returns the Epoch field if non-nil, zero value otherwise. - -### GetEpochOk - -`func (o *AlpinePackageUpload) GetEpochOk() (*int64, bool)` - -GetEpochOk returns a tuple with the Epoch field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetEpoch - -`func (o *AlpinePackageUpload) SetEpoch(v int64)` - -SetEpoch sets Epoch field to given value. - -### HasEpoch - -`func (o *AlpinePackageUpload) HasEpoch() bool` - -HasEpoch returns a boolean if a field has been set. - -### GetExtension - -`func (o *AlpinePackageUpload) GetExtension() string` - -GetExtension returns the Extension field if non-nil, zero value otherwise. - -### GetExtensionOk - -`func (o *AlpinePackageUpload) GetExtensionOk() (*string, bool)` - -GetExtensionOk returns a tuple with the Extension field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetExtension - -`func (o *AlpinePackageUpload) SetExtension(v string)` - -SetExtension sets Extension field to given value. - -### HasExtension - -`func (o *AlpinePackageUpload) HasExtension() bool` - -HasExtension returns a boolean if a field has been set. - -### GetFilename - -`func (o *AlpinePackageUpload) GetFilename() string` - -GetFilename returns the Filename field if non-nil, zero value otherwise. - -### GetFilenameOk - -`func (o *AlpinePackageUpload) GetFilenameOk() (*string, bool)` - -GetFilenameOk returns a tuple with the Filename field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetFilename - -`func (o *AlpinePackageUpload) SetFilename(v string)` - -SetFilename sets Filename field to given value. - -### HasFilename - -`func (o *AlpinePackageUpload) HasFilename() bool` - -HasFilename returns a boolean if a field has been set. - -### GetFiles - -`func (o *AlpinePackageUpload) GetFiles() []PackagesOwnerRepoFiles` - -GetFiles returns the Files field if non-nil, zero value otherwise. - -### GetFilesOk - -`func (o *AlpinePackageUpload) GetFilesOk() (*[]PackagesOwnerRepoFiles, 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 *AlpinePackageUpload) SetFiles(v []PackagesOwnerRepoFiles)` - -SetFiles sets Files field to given value. - -### HasFiles - -`func (o *AlpinePackageUpload) HasFiles() bool` - -HasFiles returns a boolean if a field has been set. - -### GetFormat - -`func (o *AlpinePackageUpload) GetFormat() string` - -GetFormat returns the Format field if non-nil, zero value otherwise. - -### GetFormatOk - -`func (o *AlpinePackageUpload) GetFormatOk() (*string, bool)` - -GetFormatOk returns a tuple with the Format field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetFormat - -`func (o *AlpinePackageUpload) SetFormat(v string)` - -SetFormat sets Format field to given value. - -### HasFormat - -`func (o *AlpinePackageUpload) HasFormat() bool` - -HasFormat returns a boolean if a field has been set. - -### GetFormatUrl - -`func (o *AlpinePackageUpload) GetFormatUrl() string` - -GetFormatUrl returns the FormatUrl field if non-nil, zero value otherwise. - -### GetFormatUrlOk - -`func (o *AlpinePackageUpload) GetFormatUrlOk() (*string, bool)` - -GetFormatUrlOk returns a tuple with the FormatUrl field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetFormatUrl - -`func (o *AlpinePackageUpload) SetFormatUrl(v string)` - -SetFormatUrl sets FormatUrl field to given value. - -### HasFormatUrl - -`func (o *AlpinePackageUpload) HasFormatUrl() bool` - -HasFormatUrl returns a boolean if a field has been set. - -### GetIdentifierPerm - -`func (o *AlpinePackageUpload) GetIdentifierPerm() string` - -GetIdentifierPerm returns the IdentifierPerm field if non-nil, zero value otherwise. - -### GetIdentifierPermOk - -`func (o *AlpinePackageUpload) GetIdentifierPermOk() (*string, bool)` - -GetIdentifierPermOk returns a tuple with the IdentifierPerm field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetIdentifierPerm - -`func (o *AlpinePackageUpload) SetIdentifierPerm(v string)` - -SetIdentifierPerm sets IdentifierPerm field to given value. - -### HasIdentifierPerm - -`func (o *AlpinePackageUpload) HasIdentifierPerm() bool` - -HasIdentifierPerm returns a boolean if a field has been set. - -### GetIndexed - -`func (o *AlpinePackageUpload) GetIndexed() bool` - -GetIndexed returns the Indexed field if non-nil, zero value otherwise. - -### GetIndexedOk - -`func (o *AlpinePackageUpload) GetIndexedOk() (*bool, bool)` - -GetIndexedOk returns a tuple with the Indexed field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetIndexed - -`func (o *AlpinePackageUpload) SetIndexed(v bool)` - -SetIndexed sets Indexed field to given value. - -### HasIndexed - -`func (o *AlpinePackageUpload) HasIndexed() bool` - -HasIndexed returns a boolean if a field has been set. - -### GetIsDownloadable - -`func (o *AlpinePackageUpload) GetIsDownloadable() bool` - -GetIsDownloadable returns the IsDownloadable field if non-nil, zero value otherwise. - -### GetIsDownloadableOk - -`func (o *AlpinePackageUpload) GetIsDownloadableOk() (*bool, bool)` - -GetIsDownloadableOk returns a tuple with the IsDownloadable field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetIsDownloadable - -`func (o *AlpinePackageUpload) SetIsDownloadable(v bool)` - -SetIsDownloadable sets IsDownloadable field to given value. - -### HasIsDownloadable - -`func (o *AlpinePackageUpload) HasIsDownloadable() bool` - -HasIsDownloadable returns a boolean if a field has been set. - -### GetIsQuarantined - -`func (o *AlpinePackageUpload) GetIsQuarantined() bool` - -GetIsQuarantined returns the IsQuarantined field if non-nil, zero value otherwise. - -### GetIsQuarantinedOk - -`func (o *AlpinePackageUpload) GetIsQuarantinedOk() (*bool, bool)` - -GetIsQuarantinedOk returns a tuple with the IsQuarantined field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetIsQuarantined - -`func (o *AlpinePackageUpload) SetIsQuarantined(v bool)` - -SetIsQuarantined sets IsQuarantined field to given value. - -### HasIsQuarantined - -`func (o *AlpinePackageUpload) HasIsQuarantined() bool` - -HasIsQuarantined returns a boolean if a field has been set. - -### GetIsSyncAwaiting - -`func (o *AlpinePackageUpload) GetIsSyncAwaiting() bool` - -GetIsSyncAwaiting returns the IsSyncAwaiting field if non-nil, zero value otherwise. - -### GetIsSyncAwaitingOk - -`func (o *AlpinePackageUpload) GetIsSyncAwaitingOk() (*bool, bool)` - -GetIsSyncAwaitingOk returns a tuple with the IsSyncAwaiting field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetIsSyncAwaiting - -`func (o *AlpinePackageUpload) SetIsSyncAwaiting(v bool)` - -SetIsSyncAwaiting sets IsSyncAwaiting field to given value. - -### HasIsSyncAwaiting - -`func (o *AlpinePackageUpload) HasIsSyncAwaiting() bool` - -HasIsSyncAwaiting returns a boolean if a field has been set. - -### GetIsSyncCompleted - -`func (o *AlpinePackageUpload) GetIsSyncCompleted() bool` - -GetIsSyncCompleted returns the IsSyncCompleted field if non-nil, zero value otherwise. - -### GetIsSyncCompletedOk - -`func (o *AlpinePackageUpload) GetIsSyncCompletedOk() (*bool, bool)` - -GetIsSyncCompletedOk returns a tuple with the IsSyncCompleted field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetIsSyncCompleted - -`func (o *AlpinePackageUpload) SetIsSyncCompleted(v bool)` - -SetIsSyncCompleted sets IsSyncCompleted field to given value. - -### HasIsSyncCompleted - -`func (o *AlpinePackageUpload) HasIsSyncCompleted() bool` - -HasIsSyncCompleted returns a boolean if a field has been set. - -### GetIsSyncFailed - -`func (o *AlpinePackageUpload) GetIsSyncFailed() bool` - -GetIsSyncFailed returns the IsSyncFailed field if non-nil, zero value otherwise. - -### GetIsSyncFailedOk - -`func (o *AlpinePackageUpload) GetIsSyncFailedOk() (*bool, bool)` - -GetIsSyncFailedOk returns a tuple with the IsSyncFailed field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetIsSyncFailed - -`func (o *AlpinePackageUpload) SetIsSyncFailed(v bool)` - -SetIsSyncFailed sets IsSyncFailed field to given value. - -### HasIsSyncFailed - -`func (o *AlpinePackageUpload) HasIsSyncFailed() bool` - -HasIsSyncFailed returns a boolean if a field has been set. - -### GetIsSyncInFlight - -`func (o *AlpinePackageUpload) GetIsSyncInFlight() bool` - -GetIsSyncInFlight returns the IsSyncInFlight field if non-nil, zero value otherwise. - -### GetIsSyncInFlightOk - -`func (o *AlpinePackageUpload) GetIsSyncInFlightOk() (*bool, bool)` - -GetIsSyncInFlightOk returns a tuple with the IsSyncInFlight field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetIsSyncInFlight - -`func (o *AlpinePackageUpload) SetIsSyncInFlight(v bool)` - -SetIsSyncInFlight sets IsSyncInFlight field to given value. - -### HasIsSyncInFlight - -`func (o *AlpinePackageUpload) HasIsSyncInFlight() bool` - -HasIsSyncInFlight returns a boolean if a field has been set. - -### GetIsSyncInProgress - -`func (o *AlpinePackageUpload) GetIsSyncInProgress() bool` - -GetIsSyncInProgress returns the IsSyncInProgress field if non-nil, zero value otherwise. - -### GetIsSyncInProgressOk - -`func (o *AlpinePackageUpload) GetIsSyncInProgressOk() (*bool, bool)` - -GetIsSyncInProgressOk returns a tuple with the IsSyncInProgress field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetIsSyncInProgress - -`func (o *AlpinePackageUpload) SetIsSyncInProgress(v bool)` - -SetIsSyncInProgress sets IsSyncInProgress field to given value. - -### HasIsSyncInProgress - -`func (o *AlpinePackageUpload) HasIsSyncInProgress() bool` - -HasIsSyncInProgress returns a boolean if a field has been set. - -### GetLicense - -`func (o *AlpinePackageUpload) GetLicense() string` - -GetLicense returns the License field if non-nil, zero value otherwise. - -### GetLicenseOk - -`func (o *AlpinePackageUpload) GetLicenseOk() (*string, bool)` - -GetLicenseOk returns a tuple with the License field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetLicense - -`func (o *AlpinePackageUpload) SetLicense(v string)` - -SetLicense sets License field to given value. - -### HasLicense - -`func (o *AlpinePackageUpload) HasLicense() bool` - -HasLicense returns a boolean if a field has been set. - -### GetName - -`func (o *AlpinePackageUpload) GetName() string` - -GetName returns the Name field if non-nil, zero value otherwise. - -### GetNameOk - -`func (o *AlpinePackageUpload) GetNameOk() (*string, bool)` - -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. - -### SetName - -`func (o *AlpinePackageUpload) SetName(v string)` - -SetName sets Name field to given value. - -### HasName - -`func (o *AlpinePackageUpload) HasName() bool` - -HasName returns a boolean if a field has been set. - -### GetNamespace - -`func (o *AlpinePackageUpload) GetNamespace() string` - -GetNamespace returns the Namespace field if non-nil, zero value otherwise. - -### GetNamespaceOk - -`func (o *AlpinePackageUpload) GetNamespaceOk() (*string, bool)` - -GetNamespaceOk returns a tuple with the Namespace field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetNamespace - -`func (o *AlpinePackageUpload) SetNamespace(v string)` - -SetNamespace sets Namespace field to given value. - -### HasNamespace - -`func (o *AlpinePackageUpload) HasNamespace() bool` - -HasNamespace returns a boolean if a field has been set. - -### GetNamespaceUrl - -`func (o *AlpinePackageUpload) GetNamespaceUrl() string` - -GetNamespaceUrl returns the NamespaceUrl field if non-nil, zero value otherwise. - -### GetNamespaceUrlOk - -`func (o *AlpinePackageUpload) GetNamespaceUrlOk() (*string, bool)` - -GetNamespaceUrlOk returns a tuple with the NamespaceUrl field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetNamespaceUrl - -`func (o *AlpinePackageUpload) SetNamespaceUrl(v string)` - -SetNamespaceUrl sets NamespaceUrl field to given value. - -### HasNamespaceUrl - -`func (o *AlpinePackageUpload) HasNamespaceUrl() bool` - -HasNamespaceUrl returns a boolean if a field has been set. - -### GetNumFiles - -`func (o *AlpinePackageUpload) GetNumFiles() int64` - -GetNumFiles returns the NumFiles field if non-nil, zero value otherwise. - -### GetNumFilesOk - -`func (o *AlpinePackageUpload) GetNumFilesOk() (*int64, bool)` - -GetNumFilesOk returns a tuple with the NumFiles field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetNumFiles - -`func (o *AlpinePackageUpload) SetNumFiles(v int64)` - -SetNumFiles sets NumFiles field to given value. - -### HasNumFiles - -`func (o *AlpinePackageUpload) HasNumFiles() bool` - -HasNumFiles returns a boolean if a field has been set. - -### GetPackageType - -`func (o *AlpinePackageUpload) GetPackageType() int64` - -GetPackageType returns the PackageType field if non-nil, zero value otherwise. - -### GetPackageTypeOk - -`func (o *AlpinePackageUpload) GetPackageTypeOk() (*int64, bool)` - -GetPackageTypeOk returns a tuple with the PackageType field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetPackageType - -`func (o *AlpinePackageUpload) SetPackageType(v int64)` - -SetPackageType sets PackageType field to given value. - -### HasPackageType - -`func (o *AlpinePackageUpload) HasPackageType() bool` - -HasPackageType returns a boolean if a field has been set. - -### GetRelease - -`func (o *AlpinePackageUpload) GetRelease() string` - -GetRelease returns the Release field if non-nil, zero value otherwise. - -### GetReleaseOk - -`func (o *AlpinePackageUpload) GetReleaseOk() (*string, bool)` - -GetReleaseOk returns a tuple with the Release field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetRelease - -`func (o *AlpinePackageUpload) SetRelease(v string)` - -SetRelease sets Release field to given value. - -### HasRelease - -`func (o *AlpinePackageUpload) HasRelease() bool` - -HasRelease returns a boolean if a field has been set. - -### GetRepository - -`func (o *AlpinePackageUpload) GetRepository() string` - -GetRepository returns the Repository field if non-nil, zero value otherwise. - -### GetRepositoryOk - -`func (o *AlpinePackageUpload) GetRepositoryOk() (*string, bool)` - -GetRepositoryOk returns a tuple with the Repository field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetRepository - -`func (o *AlpinePackageUpload) SetRepository(v string)` - -SetRepository sets Repository field to given value. - -### HasRepository - -`func (o *AlpinePackageUpload) HasRepository() bool` - -HasRepository returns a boolean if a field has been set. - -### GetRepositoryUrl - -`func (o *AlpinePackageUpload) GetRepositoryUrl() string` - -GetRepositoryUrl returns the RepositoryUrl field if non-nil, zero value otherwise. - -### GetRepositoryUrlOk - -`func (o *AlpinePackageUpload) GetRepositoryUrlOk() (*string, bool)` - -GetRepositoryUrlOk returns a tuple with the RepositoryUrl field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetRepositoryUrl - -`func (o *AlpinePackageUpload) SetRepositoryUrl(v string)` - -SetRepositoryUrl sets RepositoryUrl field to given value. - -### HasRepositoryUrl - -`func (o *AlpinePackageUpload) HasRepositoryUrl() bool` - -HasRepositoryUrl returns a boolean if a field has been set. - -### GetSecurityScanCompletedAt - -`func (o *AlpinePackageUpload) GetSecurityScanCompletedAt() string` - -GetSecurityScanCompletedAt returns the SecurityScanCompletedAt field if non-nil, zero value otherwise. - -### GetSecurityScanCompletedAtOk - -`func (o *AlpinePackageUpload) GetSecurityScanCompletedAtOk() (*string, bool)` - -GetSecurityScanCompletedAtOk returns a tuple with the SecurityScanCompletedAt field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetSecurityScanCompletedAt - -`func (o *AlpinePackageUpload) SetSecurityScanCompletedAt(v string)` - -SetSecurityScanCompletedAt sets SecurityScanCompletedAt field to given value. - -### HasSecurityScanCompletedAt - -`func (o *AlpinePackageUpload) HasSecurityScanCompletedAt() bool` - -HasSecurityScanCompletedAt returns a boolean if a field has been set. - -### GetSecurityScanStartedAt - -`func (o *AlpinePackageUpload) GetSecurityScanStartedAt() string` - -GetSecurityScanStartedAt returns the SecurityScanStartedAt field if non-nil, zero value otherwise. - -### GetSecurityScanStartedAtOk - -`func (o *AlpinePackageUpload) GetSecurityScanStartedAtOk() (*string, bool)` - -GetSecurityScanStartedAtOk returns a tuple with the SecurityScanStartedAt field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetSecurityScanStartedAt - -`func (o *AlpinePackageUpload) SetSecurityScanStartedAt(v string)` - -SetSecurityScanStartedAt sets SecurityScanStartedAt field to given value. - -### HasSecurityScanStartedAt - -`func (o *AlpinePackageUpload) HasSecurityScanStartedAt() bool` - -HasSecurityScanStartedAt returns a boolean if a field has been set. - -### GetSecurityScanStatus - -`func (o *AlpinePackageUpload) GetSecurityScanStatus() string` - -GetSecurityScanStatus returns the SecurityScanStatus field if non-nil, zero value otherwise. - -### GetSecurityScanStatusOk - -`func (o *AlpinePackageUpload) GetSecurityScanStatusOk() (*string, bool)` - -GetSecurityScanStatusOk returns a tuple with the SecurityScanStatus field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetSecurityScanStatus - -`func (o *AlpinePackageUpload) SetSecurityScanStatus(v string)` - -SetSecurityScanStatus sets SecurityScanStatus field to given value. - -### HasSecurityScanStatus - -`func (o *AlpinePackageUpload) HasSecurityScanStatus() bool` - -HasSecurityScanStatus returns a boolean if a field has been set. - -### GetSecurityScanStatusUpdatedAt - -`func (o *AlpinePackageUpload) GetSecurityScanStatusUpdatedAt() string` - -GetSecurityScanStatusUpdatedAt returns the SecurityScanStatusUpdatedAt field if non-nil, zero value otherwise. - -### GetSecurityScanStatusUpdatedAtOk - -`func (o *AlpinePackageUpload) GetSecurityScanStatusUpdatedAtOk() (*string, bool)` - -GetSecurityScanStatusUpdatedAtOk returns a tuple with the SecurityScanStatusUpdatedAt field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetSecurityScanStatusUpdatedAt - -`func (o *AlpinePackageUpload) SetSecurityScanStatusUpdatedAt(v string)` - -SetSecurityScanStatusUpdatedAt sets SecurityScanStatusUpdatedAt field to given value. - -### HasSecurityScanStatusUpdatedAt - -`func (o *AlpinePackageUpload) HasSecurityScanStatusUpdatedAt() bool` - -HasSecurityScanStatusUpdatedAt returns a boolean if a field has been set. - -### GetSelfHtmlUrl - -`func (o *AlpinePackageUpload) GetSelfHtmlUrl() string` - -GetSelfHtmlUrl returns the SelfHtmlUrl field if non-nil, zero value otherwise. - -### GetSelfHtmlUrlOk - -`func (o *AlpinePackageUpload) GetSelfHtmlUrlOk() (*string, bool)` - -GetSelfHtmlUrlOk returns a tuple with the SelfHtmlUrl field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetSelfHtmlUrl - -`func (o *AlpinePackageUpload) SetSelfHtmlUrl(v string)` - -SetSelfHtmlUrl sets SelfHtmlUrl field to given value. - -### HasSelfHtmlUrl - -`func (o *AlpinePackageUpload) HasSelfHtmlUrl() bool` - -HasSelfHtmlUrl returns a boolean if a field has been set. - -### GetSelfUrl - -`func (o *AlpinePackageUpload) GetSelfUrl() string` - -GetSelfUrl returns the SelfUrl field if non-nil, zero value otherwise. - -### GetSelfUrlOk - -`func (o *AlpinePackageUpload) GetSelfUrlOk() (*string, bool)` - -GetSelfUrlOk returns a tuple with the SelfUrl field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetSelfUrl - -`func (o *AlpinePackageUpload) SetSelfUrl(v string)` - -SetSelfUrl sets SelfUrl field to given value. - -### HasSelfUrl - -`func (o *AlpinePackageUpload) HasSelfUrl() bool` - -HasSelfUrl returns a boolean if a field has been set. - -### GetSignatureUrl - -`func (o *AlpinePackageUpload) GetSignatureUrl() string` - -GetSignatureUrl returns the SignatureUrl field if non-nil, zero value otherwise. - -### GetSignatureUrlOk - -`func (o *AlpinePackageUpload) GetSignatureUrlOk() (*string, bool)` - -GetSignatureUrlOk returns a tuple with the SignatureUrl field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetSignatureUrl - -`func (o *AlpinePackageUpload) SetSignatureUrl(v string)` - -SetSignatureUrl sets SignatureUrl field to given value. - -### HasSignatureUrl - -`func (o *AlpinePackageUpload) HasSignatureUrl() bool` - -HasSignatureUrl returns a boolean if a field has been set. - -### GetSize - -`func (o *AlpinePackageUpload) GetSize() int64` - -GetSize returns the Size field if non-nil, zero value otherwise. - -### GetSizeOk - -`func (o *AlpinePackageUpload) GetSizeOk() (*int64, bool)` - -GetSizeOk returns a tuple with the Size field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetSize - -`func (o *AlpinePackageUpload) SetSize(v int64)` - -SetSize sets Size field to given value. - -### HasSize - -`func (o *AlpinePackageUpload) HasSize() bool` - -HasSize returns a boolean if a field has been set. - -### GetSlug - -`func (o *AlpinePackageUpload) GetSlug() string` - -GetSlug returns the Slug field if non-nil, zero value otherwise. - -### GetSlugOk - -`func (o *AlpinePackageUpload) GetSlugOk() (*string, bool)` - -GetSlugOk returns a tuple with the Slug field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetSlug - -`func (o *AlpinePackageUpload) SetSlug(v string)` - -SetSlug sets Slug field to given value. - -### HasSlug - -`func (o *AlpinePackageUpload) HasSlug() bool` - -HasSlug returns a boolean if a field has been set. - -### GetSlugPerm - -`func (o *AlpinePackageUpload) GetSlugPerm() string` - -GetSlugPerm returns the SlugPerm field if non-nil, zero value otherwise. - -### GetSlugPermOk - -`func (o *AlpinePackageUpload) GetSlugPermOk() (*string, bool)` - -GetSlugPermOk returns a tuple with the SlugPerm field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetSlugPerm - -`func (o *AlpinePackageUpload) SetSlugPerm(v string)` - -SetSlugPerm sets SlugPerm field to given value. - -### HasSlugPerm - -`func (o *AlpinePackageUpload) HasSlugPerm() bool` - -HasSlugPerm returns a boolean if a field has been set. - -### GetStage - -`func (o *AlpinePackageUpload) GetStage() int64` - -GetStage returns the Stage field if non-nil, zero value otherwise. - -### GetStageOk - -`func (o *AlpinePackageUpload) GetStageOk() (*int64, bool)` - -GetStageOk returns a tuple with the Stage field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetStage - -`func (o *AlpinePackageUpload) SetStage(v int64)` - -SetStage sets Stage field to given value. - -### HasStage - -`func (o *AlpinePackageUpload) HasStage() bool` - -HasStage returns a boolean if a field has been set. - -### GetStageStr - -`func (o *AlpinePackageUpload) GetStageStr() string` - -GetStageStr returns the StageStr field if non-nil, zero value otherwise. - -### GetStageStrOk - -`func (o *AlpinePackageUpload) GetStageStrOk() (*string, bool)` - -GetStageStrOk returns a tuple with the StageStr field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetStageStr - -`func (o *AlpinePackageUpload) SetStageStr(v string)` - -SetStageStr sets StageStr field to given value. - -### HasStageStr - -`func (o *AlpinePackageUpload) HasStageStr() bool` - -HasStageStr returns a boolean if a field has been set. - -### GetStageUpdatedAt - -`func (o *AlpinePackageUpload) GetStageUpdatedAt() string` - -GetStageUpdatedAt returns the StageUpdatedAt field if non-nil, zero value otherwise. - -### GetStageUpdatedAtOk - -`func (o *AlpinePackageUpload) GetStageUpdatedAtOk() (*string, bool)` - -GetStageUpdatedAtOk returns a tuple with the StageUpdatedAt field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetStageUpdatedAt - -`func (o *AlpinePackageUpload) SetStageUpdatedAt(v string)` - -SetStageUpdatedAt sets StageUpdatedAt field to given value. - -### HasStageUpdatedAt - -`func (o *AlpinePackageUpload) HasStageUpdatedAt() bool` - -HasStageUpdatedAt returns a boolean if a field has been set. - -### GetStatus - -`func (o *AlpinePackageUpload) GetStatus() int64` - -GetStatus returns the Status field if non-nil, zero value otherwise. - -### GetStatusOk - -`func (o *AlpinePackageUpload) GetStatusOk() (*int64, bool)` - -GetStatusOk returns a tuple with the Status field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetStatus - -`func (o *AlpinePackageUpload) SetStatus(v int64)` - -SetStatus sets Status field to given value. - -### HasStatus - -`func (o *AlpinePackageUpload) HasStatus() bool` - -HasStatus returns a boolean if a field has been set. - -### GetStatusReason - -`func (o *AlpinePackageUpload) GetStatusReason() string` - -GetStatusReason returns the StatusReason field if non-nil, zero value otherwise. - -### GetStatusReasonOk - -`func (o *AlpinePackageUpload) GetStatusReasonOk() (*string, bool)` - -GetStatusReasonOk returns a tuple with the StatusReason field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetStatusReason - -`func (o *AlpinePackageUpload) SetStatusReason(v string)` - -SetStatusReason sets StatusReason field to given value. - -### HasStatusReason - -`func (o *AlpinePackageUpload) HasStatusReason() bool` - -HasStatusReason returns a boolean if a field has been set. - -### GetStatusStr - -`func (o *AlpinePackageUpload) GetStatusStr() string` - -GetStatusStr returns the StatusStr field if non-nil, zero value otherwise. - -### GetStatusStrOk - -`func (o *AlpinePackageUpload) GetStatusStrOk() (*string, bool)` - -GetStatusStrOk returns a tuple with the StatusStr field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetStatusStr - -`func (o *AlpinePackageUpload) SetStatusStr(v string)` - -SetStatusStr sets StatusStr field to given value. - -### HasStatusStr - -`func (o *AlpinePackageUpload) HasStatusStr() bool` - -HasStatusStr returns a boolean if a field has been set. - -### GetStatusUpdatedAt - -`func (o *AlpinePackageUpload) GetStatusUpdatedAt() string` - -GetStatusUpdatedAt returns the StatusUpdatedAt field if non-nil, zero value otherwise. - -### GetStatusUpdatedAtOk - -`func (o *AlpinePackageUpload) GetStatusUpdatedAtOk() (*string, bool)` - -GetStatusUpdatedAtOk returns a tuple with the StatusUpdatedAt field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetStatusUpdatedAt - -`func (o *AlpinePackageUpload) SetStatusUpdatedAt(v string)` - -SetStatusUpdatedAt sets StatusUpdatedAt field to given value. - -### HasStatusUpdatedAt - -`func (o *AlpinePackageUpload) HasStatusUpdatedAt() bool` - -HasStatusUpdatedAt returns a boolean if a field has been set. - -### GetStatusUrl - -`func (o *AlpinePackageUpload) GetStatusUrl() string` - -GetStatusUrl returns the StatusUrl field if non-nil, zero value otherwise. - -### GetStatusUrlOk - -`func (o *AlpinePackageUpload) GetStatusUrlOk() (*string, bool)` - -GetStatusUrlOk returns a tuple with the StatusUrl field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetStatusUrl - -`func (o *AlpinePackageUpload) SetStatusUrl(v string)` - -SetStatusUrl sets StatusUrl field to given value. - -### HasStatusUrl - -`func (o *AlpinePackageUpload) HasStatusUrl() bool` - -HasStatusUrl returns a boolean if a field has been set. - -### GetSubtype - -`func (o *AlpinePackageUpload) GetSubtype() string` - -GetSubtype returns the Subtype field if non-nil, zero value otherwise. - -### GetSubtypeOk - -`func (o *AlpinePackageUpload) GetSubtypeOk() (*string, bool)` - -GetSubtypeOk returns a tuple with the Subtype field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetSubtype - -`func (o *AlpinePackageUpload) SetSubtype(v string)` - -SetSubtype sets Subtype field to given value. - -### HasSubtype - -`func (o *AlpinePackageUpload) HasSubtype() bool` - -HasSubtype returns a boolean if a field has been set. - -### GetSummary - -`func (o *AlpinePackageUpload) GetSummary() string` - -GetSummary returns the Summary field if non-nil, zero value otherwise. - -### GetSummaryOk - -`func (o *AlpinePackageUpload) GetSummaryOk() (*string, bool)` - -GetSummaryOk returns a tuple with the Summary field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetSummary - -`func (o *AlpinePackageUpload) SetSummary(v string)` - -SetSummary sets Summary field to given value. - -### HasSummary - -`func (o *AlpinePackageUpload) HasSummary() bool` - -HasSummary returns a boolean if a field has been set. - -### GetSyncFinishedAt - -`func (o *AlpinePackageUpload) GetSyncFinishedAt() string` - -GetSyncFinishedAt returns the SyncFinishedAt field if non-nil, zero value otherwise. - -### GetSyncFinishedAtOk - -`func (o *AlpinePackageUpload) GetSyncFinishedAtOk() (*string, bool)` - -GetSyncFinishedAtOk returns a tuple with the SyncFinishedAt field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetSyncFinishedAt - -`func (o *AlpinePackageUpload) SetSyncFinishedAt(v string)` - -SetSyncFinishedAt sets SyncFinishedAt field to given value. - -### HasSyncFinishedAt - -`func (o *AlpinePackageUpload) HasSyncFinishedAt() bool` - -HasSyncFinishedAt returns a boolean if a field has been set. - -### GetSyncProgress - -`func (o *AlpinePackageUpload) GetSyncProgress() int64` - -GetSyncProgress returns the SyncProgress field if non-nil, zero value otherwise. - -### GetSyncProgressOk - -`func (o *AlpinePackageUpload) GetSyncProgressOk() (*int64, bool)` - -GetSyncProgressOk returns a tuple with the SyncProgress field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetSyncProgress - -`func (o *AlpinePackageUpload) SetSyncProgress(v int64)` - -SetSyncProgress sets SyncProgress field to given value. - -### HasSyncProgress - -`func (o *AlpinePackageUpload) HasSyncProgress() bool` - -HasSyncProgress returns a boolean if a field has been set. - -### GetTagsImmutable - -`func (o *AlpinePackageUpload) GetTagsImmutable() map[string]interface{}` - -GetTagsImmutable returns the TagsImmutable field if non-nil, zero value otherwise. - -### GetTagsImmutableOk - -`func (o *AlpinePackageUpload) GetTagsImmutableOk() (*map[string]interface{}, bool)` - -GetTagsImmutableOk returns a tuple with the TagsImmutable field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetTagsImmutable - -`func (o *AlpinePackageUpload) SetTagsImmutable(v map[string]interface{})` - -SetTagsImmutable sets TagsImmutable field to given value. - -### HasTagsImmutable - -`func (o *AlpinePackageUpload) HasTagsImmutable() bool` - -HasTagsImmutable returns a boolean if a field has been set. - -### GetTypeDisplay - -`func (o *AlpinePackageUpload) GetTypeDisplay() string` - -GetTypeDisplay returns the TypeDisplay field if non-nil, zero value otherwise. - -### GetTypeDisplayOk - -`func (o *AlpinePackageUpload) GetTypeDisplayOk() (*string, bool)` - -GetTypeDisplayOk returns a tuple with the TypeDisplay field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetTypeDisplay - -`func (o *AlpinePackageUpload) SetTypeDisplay(v string)` - -SetTypeDisplay sets TypeDisplay field to given value. - -### HasTypeDisplay - -`func (o *AlpinePackageUpload) HasTypeDisplay() bool` - -HasTypeDisplay returns a boolean if a field has been set. - -### GetUploadedAt - -`func (o *AlpinePackageUpload) GetUploadedAt() string` - -GetUploadedAt returns the UploadedAt field if non-nil, zero value otherwise. - -### GetUploadedAtOk - -`func (o *AlpinePackageUpload) GetUploadedAtOk() (*string, bool)` - -GetUploadedAtOk returns a tuple with the UploadedAt field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetUploadedAt - -`func (o *AlpinePackageUpload) SetUploadedAt(v string)` - -SetUploadedAt sets UploadedAt field to given value. - -### HasUploadedAt - -`func (o *AlpinePackageUpload) HasUploadedAt() bool` - -HasUploadedAt returns a boolean if a field has been set. - -### GetUploader - -`func (o *AlpinePackageUpload) GetUploader() string` - -GetUploader returns the Uploader field if non-nil, zero value otherwise. - -### GetUploaderOk - -`func (o *AlpinePackageUpload) GetUploaderOk() (*string, bool)` - -GetUploaderOk returns a tuple with the Uploader field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetUploader - -`func (o *AlpinePackageUpload) SetUploader(v string)` - -SetUploader sets Uploader field to given value. - -### HasUploader - -`func (o *AlpinePackageUpload) HasUploader() bool` - -HasUploader returns a boolean if a field has been set. - -### GetUploaderUrl - -`func (o *AlpinePackageUpload) GetUploaderUrl() string` - -GetUploaderUrl returns the UploaderUrl field if non-nil, zero value otherwise. - -### GetUploaderUrlOk - -`func (o *AlpinePackageUpload) GetUploaderUrlOk() (*string, bool)` - -GetUploaderUrlOk returns a tuple with the UploaderUrl field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetUploaderUrl - -`func (o *AlpinePackageUpload) SetUploaderUrl(v string)` - -SetUploaderUrl sets UploaderUrl field to given value. - -### HasUploaderUrl - -`func (o *AlpinePackageUpload) HasUploaderUrl() bool` - -HasUploaderUrl returns a boolean if a field has been set. - -### GetVersion - -`func (o *AlpinePackageUpload) GetVersion() string` - -GetVersion returns the Version field if non-nil, zero value otherwise. - -### GetVersionOk - -`func (o *AlpinePackageUpload) GetVersionOk() (*string, bool)` - -GetVersionOk returns a tuple with the Version field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetVersion - -`func (o *AlpinePackageUpload) SetVersion(v string)` - -SetVersion sets Version field to given value. - -### HasVersion - -`func (o *AlpinePackageUpload) HasVersion() bool` - -HasVersion returns a boolean if a field has been set. - -### GetVersionOrig - -`func (o *AlpinePackageUpload) GetVersionOrig() string` - -GetVersionOrig returns the VersionOrig field if non-nil, zero value otherwise. - -### GetVersionOrigOk - -`func (o *AlpinePackageUpload) GetVersionOrigOk() (*string, bool)` - -GetVersionOrigOk returns a tuple with the VersionOrig field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetVersionOrig - -`func (o *AlpinePackageUpload) SetVersionOrig(v string)` - -SetVersionOrig sets VersionOrig field to given value. - -### HasVersionOrig - -`func (o *AlpinePackageUpload) HasVersionOrig() bool` - -HasVersionOrig returns a boolean if a field has been set. - -### GetVulnerabilityScanResultsUrl - -`func (o *AlpinePackageUpload) GetVulnerabilityScanResultsUrl() string` - -GetVulnerabilityScanResultsUrl returns the VulnerabilityScanResultsUrl field if non-nil, zero value otherwise. - -### GetVulnerabilityScanResultsUrlOk - -`func (o *AlpinePackageUpload) GetVulnerabilityScanResultsUrlOk() (*string, bool)` - -GetVulnerabilityScanResultsUrlOk returns a tuple with the VulnerabilityScanResultsUrl field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetVulnerabilityScanResultsUrl - -`func (o *AlpinePackageUpload) SetVulnerabilityScanResultsUrl(v string)` - -SetVulnerabilityScanResultsUrl sets VulnerabilityScanResultsUrl field to given value. - -### HasVulnerabilityScanResultsUrl - -`func (o *AlpinePackageUpload) HasVulnerabilityScanResultsUrl() bool` - -HasVulnerabilityScanResultsUrl 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/docs/PackagesValidateUploadRpm.md b/docs/AlpinePackageUploadRequest.md similarity index 58% rename from docs/PackagesValidateUploadRpm.md rename to docs/AlpinePackageUploadRequest.md index a780b5d9..3d434f49 100644 --- a/docs/PackagesValidateUploadRpm.md +++ b/docs/AlpinePackageUploadRequest.md @@ -1,4 +1,4 @@ -# PackagesValidateUploadRpm +# AlpinePackageUploadRequest ## Properties @@ -7,117 +7,127 @@ Name | Type | Description | Notes **Distribution** | **string** | The distribution to store the package for. | **PackageFile** | **string** | The primary file for the package. | **Republish** | Pointer to **bool** | If true, the uploaded package will overwrite any others with the same attributes (e.g. same version); otherwise, it will be flagged as a duplicate. | [optional] -**Tags** | Pointer to **string** | A comma-separated values list of tags to add to the package. | [optional] +**Tags** | Pointer to **NullableString** | A comma-separated values list of tags to add to the package. | [optional] ## Methods -### NewPackagesValidateUploadRpm +### NewAlpinePackageUploadRequest -`func NewPackagesValidateUploadRpm(distribution string, packageFile string, ) *PackagesValidateUploadRpm` +`func NewAlpinePackageUploadRequest(distribution string, packageFile string, ) *AlpinePackageUploadRequest` -NewPackagesValidateUploadRpm instantiates a new PackagesValidateUploadRpm object +NewAlpinePackageUploadRequest instantiates a new AlpinePackageUploadRequest object 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 -### NewPackagesValidateUploadRpmWithDefaults +### NewAlpinePackageUploadRequestWithDefaults -`func NewPackagesValidateUploadRpmWithDefaults() *PackagesValidateUploadRpm` +`func NewAlpinePackageUploadRequestWithDefaults() *AlpinePackageUploadRequest` -NewPackagesValidateUploadRpmWithDefaults instantiates a new PackagesValidateUploadRpm object +NewAlpinePackageUploadRequestWithDefaults instantiates a new AlpinePackageUploadRequest object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set ### GetDistribution -`func (o *PackagesValidateUploadRpm) GetDistribution() string` +`func (o *AlpinePackageUploadRequest) GetDistribution() string` GetDistribution returns the Distribution field if non-nil, zero value otherwise. ### GetDistributionOk -`func (o *PackagesValidateUploadRpm) GetDistributionOk() (*string, bool)` +`func (o *AlpinePackageUploadRequest) GetDistributionOk() (*string, bool)` GetDistributionOk returns a tuple with the Distribution field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetDistribution -`func (o *PackagesValidateUploadRpm) SetDistribution(v string)` +`func (o *AlpinePackageUploadRequest) SetDistribution(v string)` SetDistribution sets Distribution field to given value. ### GetPackageFile -`func (o *PackagesValidateUploadRpm) GetPackageFile() string` +`func (o *AlpinePackageUploadRequest) GetPackageFile() string` GetPackageFile returns the PackageFile field if non-nil, zero value otherwise. ### GetPackageFileOk -`func (o *PackagesValidateUploadRpm) GetPackageFileOk() (*string, bool)` +`func (o *AlpinePackageUploadRequest) GetPackageFileOk() (*string, bool)` GetPackageFileOk returns a tuple with the PackageFile field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetPackageFile -`func (o *PackagesValidateUploadRpm) SetPackageFile(v string)` +`func (o *AlpinePackageUploadRequest) SetPackageFile(v string)` SetPackageFile sets PackageFile field to given value. ### GetRepublish -`func (o *PackagesValidateUploadRpm) GetRepublish() bool` +`func (o *AlpinePackageUploadRequest) GetRepublish() bool` GetRepublish returns the Republish field if non-nil, zero value otherwise. ### GetRepublishOk -`func (o *PackagesValidateUploadRpm) GetRepublishOk() (*bool, bool)` +`func (o *AlpinePackageUploadRequest) GetRepublishOk() (*bool, bool)` GetRepublishOk returns a tuple with the Republish field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetRepublish -`func (o *PackagesValidateUploadRpm) SetRepublish(v bool)` +`func (o *AlpinePackageUploadRequest) SetRepublish(v bool)` SetRepublish sets Republish field to given value. ### HasRepublish -`func (o *PackagesValidateUploadRpm) HasRepublish() bool` +`func (o *AlpinePackageUploadRequest) HasRepublish() bool` HasRepublish returns a boolean if a field has been set. ### GetTags -`func (o *PackagesValidateUploadRpm) GetTags() string` +`func (o *AlpinePackageUploadRequest) GetTags() string` GetTags returns the Tags field if non-nil, zero value otherwise. ### GetTagsOk -`func (o *PackagesValidateUploadRpm) GetTagsOk() (*string, bool)` +`func (o *AlpinePackageUploadRequest) GetTagsOk() (*string, bool)` GetTagsOk returns a tuple with the Tags field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetTags -`func (o *PackagesValidateUploadRpm) SetTags(v string)` +`func (o *AlpinePackageUploadRequest) SetTags(v string)` SetTags sets Tags field to given value. ### HasTags -`func (o *PackagesValidateUploadRpm) HasTags() bool` +`func (o *AlpinePackageUploadRequest) HasTags() bool` HasTags returns a boolean if a field has been set. +### SetTagsNil + +`func (o *AlpinePackageUploadRequest) SetTagsNil(b bool)` + + SetTagsNil sets the value for Tags to be an explicit nil + +### UnsetTags +`func (o *AlpinePackageUploadRequest) UnsetTags()` + +UnsetTags ensures that no value is present for Tags, 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/docs/AlpinePackageUploadResponse.md b/docs/AlpinePackageUploadResponse.md new file mode 100644 index 00000000..a7d28449 --- /dev/null +++ b/docs/AlpinePackageUploadResponse.md @@ -0,0 +1,1838 @@ +# AlpinePackageUploadResponse + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Architectures** | Pointer to [**[]Architecture**](Architecture.md) | | [optional] [readonly] +**CdnUrl** | Pointer to **NullableString** | | [optional] [readonly] +**ChecksumMd5** | Pointer to **string** | | [optional] [readonly] +**ChecksumSha1** | Pointer to **string** | | [optional] [readonly] +**ChecksumSha256** | Pointer to **string** | | [optional] [readonly] +**ChecksumSha512** | Pointer to **string** | | [optional] [readonly] +**DependenciesChecksumMd5** | Pointer to **string** | A checksum of all of the package's dependencies. | [optional] [readonly] +**DependenciesUrl** | Pointer to **string** | | [optional] [readonly] +**Description** | Pointer to **string** | A textual description of this package. | [optional] [readonly] +**Distro** | Pointer to [**NullableDistribution**](Distribution.md) | | [optional] +**DistroVersion** | Pointer to [**DistributionVersion**](DistributionVersion.md) | | [optional] +**Downloads** | Pointer to **int64** | | [optional] [readonly] +**Epoch** | Pointer to **int64** | The epoch of the package version (if any). | [optional] [readonly] +**Extension** | Pointer to **string** | | [optional] [readonly] +**Filename** | Pointer to **string** | | [optional] [readonly] +**Files** | Pointer to [**[]PackageFile**](PackageFile.md) | | [optional] [readonly] +**Format** | Pointer to **string** | | [optional] [readonly] +**FormatUrl** | Pointer to **string** | | [optional] [readonly] +**IdentifierPerm** | Pointer to **string** | Unique and permanent identifier for the package. | [optional] [readonly] +**Indexed** | Pointer to **bool** | | [optional] [readonly] +**IsDownloadable** | Pointer to **bool** | | [optional] [readonly] +**IsQuarantined** | Pointer to **bool** | | [optional] [readonly] +**IsSyncAwaiting** | Pointer to **bool** | | [optional] [readonly] +**IsSyncCompleted** | Pointer to **bool** | | [optional] [readonly] +**IsSyncFailed** | Pointer to **bool** | | [optional] [readonly] +**IsSyncInFlight** | Pointer to **bool** | | [optional] [readonly] +**IsSyncInProgress** | Pointer to **bool** | | [optional] [readonly] +**License** | Pointer to **string** | The license of this package. | [optional] [readonly] +**Name** | Pointer to **string** | The name of this package. | [optional] [readonly] +**Namespace** | Pointer to **string** | | [optional] [readonly] +**NamespaceUrl** | Pointer to **string** | | [optional] [readonly] +**NumFiles** | Pointer to **int64** | | [optional] [readonly] +**OriginRepository** | Pointer to **string** | | [optional] [readonly] +**OriginRepositoryUrl** | Pointer to **string** | | [optional] [readonly] +**PackageType** | Pointer to **int64** | The type of package contents. | [optional] [readonly] +**Release** | Pointer to **string** | The release of the package version (if any). | [optional] [readonly] +**Repository** | Pointer to **string** | | [optional] [readonly] +**RepositoryUrl** | Pointer to **string** | | [optional] [readonly] +**SecurityScanCompletedAt** | Pointer to **time.Time** | The datetime the security scanning was completed. | [optional] [readonly] +**SecurityScanStartedAt** | Pointer to **time.Time** | The datetime the security scanning was started. | [optional] [readonly] +**SecurityScanStatus** | Pointer to **NullableString** | | [optional] [readonly] [default to "Awaiting Security Scan"] +**SecurityScanStatusUpdatedAt** | Pointer to **time.Time** | The datetime the security scanning status was updated. | [optional] [readonly] +**SelfHtmlUrl** | Pointer to **string** | | [optional] [readonly] +**SelfUrl** | Pointer to **string** | | [optional] [readonly] +**SignatureUrl** | Pointer to **NullableString** | | [optional] [readonly] +**Size** | Pointer to **int64** | The calculated size of the package. | [optional] [readonly] +**Slug** | Pointer to **string** | The public unique identifier for the package. | [optional] [readonly] +**SlugPerm** | Pointer to **string** | | [optional] [readonly] +**Stage** | Pointer to **int64** | The synchronisation (in progress) stage of the package. | [optional] [readonly] +**StageStr** | Pointer to **string** | | [optional] [readonly] +**StageUpdatedAt** | Pointer to **time.Time** | The datetime the package stage was updated at. | [optional] [readonly] +**Status** | Pointer to **int64** | The synchronisation status of the package. | [optional] [readonly] +**StatusReason** | Pointer to **string** | A textual description for the synchronous status reason (if any | [optional] [readonly] +**StatusStr** | Pointer to **string** | | [optional] [readonly] +**StatusUpdatedAt** | Pointer to **time.Time** | The datetime the package status was updated at. | [optional] [readonly] +**StatusUrl** | Pointer to **string** | | [optional] [readonly] +**Subtype** | Pointer to **string** | | [optional] [readonly] +**Summary** | Pointer to **string** | A one-liner synopsis of this package. | [optional] [readonly] +**SyncFinishedAt** | Pointer to **time.Time** | The datetime the package sync was finished at. | [optional] [readonly] +**SyncProgress** | Pointer to **int64** | Synchronisation progress (from 0-100) | [optional] [readonly] +**TagsImmutable** | Pointer to **map[string]interface{}** | All tags on the package, grouped by tag type. This includes immutable tags, but doesn't distinguish them from mutable. To see which tags are immutable specifically, see the tags_immutable field. | [optional] +**TypeDisplay** | Pointer to **string** | | [optional] [readonly] +**UploadedAt** | Pointer to **time.Time** | The date this package was uploaded. | [optional] [readonly] +**Uploader** | Pointer to **string** | | [optional] [readonly] +**UploaderUrl** | Pointer to **string** | | [optional] [readonly] +**Version** | Pointer to **string** | The raw version for this package. | [optional] [readonly] +**VersionOrig** | Pointer to **string** | | [optional] [readonly] +**VulnerabilityScanResultsUrl** | Pointer to **string** | | [optional] [readonly] + +## Methods + +### NewAlpinePackageUploadResponse + +`func NewAlpinePackageUploadResponse() *AlpinePackageUploadResponse` + +NewAlpinePackageUploadResponse instantiates a new AlpinePackageUploadResponse object +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 + +### NewAlpinePackageUploadResponseWithDefaults + +`func NewAlpinePackageUploadResponseWithDefaults() *AlpinePackageUploadResponse` + +NewAlpinePackageUploadResponseWithDefaults instantiates a new AlpinePackageUploadResponse object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetArchitectures + +`func (o *AlpinePackageUploadResponse) GetArchitectures() []Architecture` + +GetArchitectures returns the Architectures field if non-nil, zero value otherwise. + +### GetArchitecturesOk + +`func (o *AlpinePackageUploadResponse) GetArchitecturesOk() (*[]Architecture, bool)` + +GetArchitecturesOk returns a tuple with the Architectures field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetArchitectures + +`func (o *AlpinePackageUploadResponse) SetArchitectures(v []Architecture)` + +SetArchitectures sets Architectures field to given value. + +### HasArchitectures + +`func (o *AlpinePackageUploadResponse) HasArchitectures() bool` + +HasArchitectures returns a boolean if a field has been set. + +### GetCdnUrl + +`func (o *AlpinePackageUploadResponse) GetCdnUrl() string` + +GetCdnUrl returns the CdnUrl field if non-nil, zero value otherwise. + +### GetCdnUrlOk + +`func (o *AlpinePackageUploadResponse) GetCdnUrlOk() (*string, bool)` + +GetCdnUrlOk returns a tuple with the CdnUrl field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetCdnUrl + +`func (o *AlpinePackageUploadResponse) SetCdnUrl(v string)` + +SetCdnUrl sets CdnUrl field to given value. + +### HasCdnUrl + +`func (o *AlpinePackageUploadResponse) HasCdnUrl() bool` + +HasCdnUrl returns a boolean if a field has been set. + +### SetCdnUrlNil + +`func (o *AlpinePackageUploadResponse) SetCdnUrlNil(b bool)` + + SetCdnUrlNil sets the value for CdnUrl to be an explicit nil + +### UnsetCdnUrl +`func (o *AlpinePackageUploadResponse) UnsetCdnUrl()` + +UnsetCdnUrl ensures that no value is present for CdnUrl, not even an explicit nil +### GetChecksumMd5 + +`func (o *AlpinePackageUploadResponse) GetChecksumMd5() string` + +GetChecksumMd5 returns the ChecksumMd5 field if non-nil, zero value otherwise. + +### GetChecksumMd5Ok + +`func (o *AlpinePackageUploadResponse) GetChecksumMd5Ok() (*string, bool)` + +GetChecksumMd5Ok returns a tuple with the ChecksumMd5 field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetChecksumMd5 + +`func (o *AlpinePackageUploadResponse) SetChecksumMd5(v string)` + +SetChecksumMd5 sets ChecksumMd5 field to given value. + +### HasChecksumMd5 + +`func (o *AlpinePackageUploadResponse) HasChecksumMd5() bool` + +HasChecksumMd5 returns a boolean if a field has been set. + +### GetChecksumSha1 + +`func (o *AlpinePackageUploadResponse) GetChecksumSha1() string` + +GetChecksumSha1 returns the ChecksumSha1 field if non-nil, zero value otherwise. + +### GetChecksumSha1Ok + +`func (o *AlpinePackageUploadResponse) GetChecksumSha1Ok() (*string, bool)` + +GetChecksumSha1Ok returns a tuple with the ChecksumSha1 field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetChecksumSha1 + +`func (o *AlpinePackageUploadResponse) SetChecksumSha1(v string)` + +SetChecksumSha1 sets ChecksumSha1 field to given value. + +### HasChecksumSha1 + +`func (o *AlpinePackageUploadResponse) HasChecksumSha1() bool` + +HasChecksumSha1 returns a boolean if a field has been set. + +### GetChecksumSha256 + +`func (o *AlpinePackageUploadResponse) GetChecksumSha256() string` + +GetChecksumSha256 returns the ChecksumSha256 field if non-nil, zero value otherwise. + +### GetChecksumSha256Ok + +`func (o *AlpinePackageUploadResponse) GetChecksumSha256Ok() (*string, bool)` + +GetChecksumSha256Ok returns a tuple with the ChecksumSha256 field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetChecksumSha256 + +`func (o *AlpinePackageUploadResponse) SetChecksumSha256(v string)` + +SetChecksumSha256 sets ChecksumSha256 field to given value. + +### HasChecksumSha256 + +`func (o *AlpinePackageUploadResponse) HasChecksumSha256() bool` + +HasChecksumSha256 returns a boolean if a field has been set. + +### GetChecksumSha512 + +`func (o *AlpinePackageUploadResponse) GetChecksumSha512() string` + +GetChecksumSha512 returns the ChecksumSha512 field if non-nil, zero value otherwise. + +### GetChecksumSha512Ok + +`func (o *AlpinePackageUploadResponse) GetChecksumSha512Ok() (*string, bool)` + +GetChecksumSha512Ok returns a tuple with the ChecksumSha512 field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetChecksumSha512 + +`func (o *AlpinePackageUploadResponse) SetChecksumSha512(v string)` + +SetChecksumSha512 sets ChecksumSha512 field to given value. + +### HasChecksumSha512 + +`func (o *AlpinePackageUploadResponse) HasChecksumSha512() bool` + +HasChecksumSha512 returns a boolean if a field has been set. + +### GetDependenciesChecksumMd5 + +`func (o *AlpinePackageUploadResponse) GetDependenciesChecksumMd5() string` + +GetDependenciesChecksumMd5 returns the DependenciesChecksumMd5 field if non-nil, zero value otherwise. + +### GetDependenciesChecksumMd5Ok + +`func (o *AlpinePackageUploadResponse) GetDependenciesChecksumMd5Ok() (*string, bool)` + +GetDependenciesChecksumMd5Ok returns a tuple with the DependenciesChecksumMd5 field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetDependenciesChecksumMd5 + +`func (o *AlpinePackageUploadResponse) SetDependenciesChecksumMd5(v string)` + +SetDependenciesChecksumMd5 sets DependenciesChecksumMd5 field to given value. + +### HasDependenciesChecksumMd5 + +`func (o *AlpinePackageUploadResponse) HasDependenciesChecksumMd5() bool` + +HasDependenciesChecksumMd5 returns a boolean if a field has been set. + +### GetDependenciesUrl + +`func (o *AlpinePackageUploadResponse) GetDependenciesUrl() string` + +GetDependenciesUrl returns the DependenciesUrl field if non-nil, zero value otherwise. + +### GetDependenciesUrlOk + +`func (o *AlpinePackageUploadResponse) GetDependenciesUrlOk() (*string, bool)` + +GetDependenciesUrlOk returns a tuple with the DependenciesUrl field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetDependenciesUrl + +`func (o *AlpinePackageUploadResponse) SetDependenciesUrl(v string)` + +SetDependenciesUrl sets DependenciesUrl field to given value. + +### HasDependenciesUrl + +`func (o *AlpinePackageUploadResponse) HasDependenciesUrl() bool` + +HasDependenciesUrl returns a boolean if a field has been set. + +### GetDescription + +`func (o *AlpinePackageUploadResponse) GetDescription() string` + +GetDescription returns the Description field if non-nil, zero value otherwise. + +### GetDescriptionOk + +`func (o *AlpinePackageUploadResponse) GetDescriptionOk() (*string, bool)` + +GetDescriptionOk returns a tuple with the Description field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetDescription + +`func (o *AlpinePackageUploadResponse) SetDescription(v string)` + +SetDescription sets Description field to given value. + +### HasDescription + +`func (o *AlpinePackageUploadResponse) HasDescription() bool` + +HasDescription returns a boolean if a field has been set. + +### GetDistro + +`func (o *AlpinePackageUploadResponse) GetDistro() Distribution` + +GetDistro returns the Distro field if non-nil, zero value otherwise. + +### GetDistroOk + +`func (o *AlpinePackageUploadResponse) GetDistroOk() (*Distribution, bool)` + +GetDistroOk returns a tuple with the Distro field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetDistro + +`func (o *AlpinePackageUploadResponse) SetDistro(v Distribution)` + +SetDistro sets Distro field to given value. + +### HasDistro + +`func (o *AlpinePackageUploadResponse) HasDistro() bool` + +HasDistro returns a boolean if a field has been set. + +### SetDistroNil + +`func (o *AlpinePackageUploadResponse) SetDistroNil(b bool)` + + SetDistroNil sets the value for Distro to be an explicit nil + +### UnsetDistro +`func (o *AlpinePackageUploadResponse) UnsetDistro()` + +UnsetDistro ensures that no value is present for Distro, not even an explicit nil +### GetDistroVersion + +`func (o *AlpinePackageUploadResponse) GetDistroVersion() DistributionVersion` + +GetDistroVersion returns the DistroVersion field if non-nil, zero value otherwise. + +### GetDistroVersionOk + +`func (o *AlpinePackageUploadResponse) GetDistroVersionOk() (*DistributionVersion, bool)` + +GetDistroVersionOk returns a tuple with the DistroVersion field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetDistroVersion + +`func (o *AlpinePackageUploadResponse) SetDistroVersion(v DistributionVersion)` + +SetDistroVersion sets DistroVersion field to given value. + +### HasDistroVersion + +`func (o *AlpinePackageUploadResponse) HasDistroVersion() bool` + +HasDistroVersion returns a boolean if a field has been set. + +### GetDownloads + +`func (o *AlpinePackageUploadResponse) GetDownloads() int64` + +GetDownloads returns the Downloads field if non-nil, zero value otherwise. + +### GetDownloadsOk + +`func (o *AlpinePackageUploadResponse) GetDownloadsOk() (*int64, bool)` + +GetDownloadsOk returns a tuple with the Downloads field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetDownloads + +`func (o *AlpinePackageUploadResponse) SetDownloads(v int64)` + +SetDownloads sets Downloads field to given value. + +### HasDownloads + +`func (o *AlpinePackageUploadResponse) HasDownloads() bool` + +HasDownloads returns a boolean if a field has been set. + +### GetEpoch + +`func (o *AlpinePackageUploadResponse) GetEpoch() int64` + +GetEpoch returns the Epoch field if non-nil, zero value otherwise. + +### GetEpochOk + +`func (o *AlpinePackageUploadResponse) GetEpochOk() (*int64, bool)` + +GetEpochOk returns a tuple with the Epoch field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetEpoch + +`func (o *AlpinePackageUploadResponse) SetEpoch(v int64)` + +SetEpoch sets Epoch field to given value. + +### HasEpoch + +`func (o *AlpinePackageUploadResponse) HasEpoch() bool` + +HasEpoch returns a boolean if a field has been set. + +### GetExtension + +`func (o *AlpinePackageUploadResponse) GetExtension() string` + +GetExtension returns the Extension field if non-nil, zero value otherwise. + +### GetExtensionOk + +`func (o *AlpinePackageUploadResponse) GetExtensionOk() (*string, bool)` + +GetExtensionOk returns a tuple with the Extension field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetExtension + +`func (o *AlpinePackageUploadResponse) SetExtension(v string)` + +SetExtension sets Extension field to given value. + +### HasExtension + +`func (o *AlpinePackageUploadResponse) HasExtension() bool` + +HasExtension returns a boolean if a field has been set. + +### GetFilename + +`func (o *AlpinePackageUploadResponse) GetFilename() string` + +GetFilename returns the Filename field if non-nil, zero value otherwise. + +### GetFilenameOk + +`func (o *AlpinePackageUploadResponse) GetFilenameOk() (*string, bool)` + +GetFilenameOk returns a tuple with the Filename field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetFilename + +`func (o *AlpinePackageUploadResponse) SetFilename(v string)` + +SetFilename sets Filename field to given value. + +### HasFilename + +`func (o *AlpinePackageUploadResponse) HasFilename() bool` + +HasFilename returns a boolean if a field has been set. + +### GetFiles + +`func (o *AlpinePackageUploadResponse) GetFiles() []PackageFile` + +GetFiles returns the Files field if non-nil, zero value otherwise. + +### GetFilesOk + +`func (o *AlpinePackageUploadResponse) GetFilesOk() (*[]PackageFile, 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 *AlpinePackageUploadResponse) SetFiles(v []PackageFile)` + +SetFiles sets Files field to given value. + +### HasFiles + +`func (o *AlpinePackageUploadResponse) HasFiles() bool` + +HasFiles returns a boolean if a field has been set. + +### GetFormat + +`func (o *AlpinePackageUploadResponse) GetFormat() string` + +GetFormat returns the Format field if non-nil, zero value otherwise. + +### GetFormatOk + +`func (o *AlpinePackageUploadResponse) GetFormatOk() (*string, bool)` + +GetFormatOk returns a tuple with the Format field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetFormat + +`func (o *AlpinePackageUploadResponse) SetFormat(v string)` + +SetFormat sets Format field to given value. + +### HasFormat + +`func (o *AlpinePackageUploadResponse) HasFormat() bool` + +HasFormat returns a boolean if a field has been set. + +### GetFormatUrl + +`func (o *AlpinePackageUploadResponse) GetFormatUrl() string` + +GetFormatUrl returns the FormatUrl field if non-nil, zero value otherwise. + +### GetFormatUrlOk + +`func (o *AlpinePackageUploadResponse) GetFormatUrlOk() (*string, bool)` + +GetFormatUrlOk returns a tuple with the FormatUrl field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetFormatUrl + +`func (o *AlpinePackageUploadResponse) SetFormatUrl(v string)` + +SetFormatUrl sets FormatUrl field to given value. + +### HasFormatUrl + +`func (o *AlpinePackageUploadResponse) HasFormatUrl() bool` + +HasFormatUrl returns a boolean if a field has been set. + +### GetIdentifierPerm + +`func (o *AlpinePackageUploadResponse) GetIdentifierPerm() string` + +GetIdentifierPerm returns the IdentifierPerm field if non-nil, zero value otherwise. + +### GetIdentifierPermOk + +`func (o *AlpinePackageUploadResponse) GetIdentifierPermOk() (*string, bool)` + +GetIdentifierPermOk returns a tuple with the IdentifierPerm field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetIdentifierPerm + +`func (o *AlpinePackageUploadResponse) SetIdentifierPerm(v string)` + +SetIdentifierPerm sets IdentifierPerm field to given value. + +### HasIdentifierPerm + +`func (o *AlpinePackageUploadResponse) HasIdentifierPerm() bool` + +HasIdentifierPerm returns a boolean if a field has been set. + +### GetIndexed + +`func (o *AlpinePackageUploadResponse) GetIndexed() bool` + +GetIndexed returns the Indexed field if non-nil, zero value otherwise. + +### GetIndexedOk + +`func (o *AlpinePackageUploadResponse) GetIndexedOk() (*bool, bool)` + +GetIndexedOk returns a tuple with the Indexed field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetIndexed + +`func (o *AlpinePackageUploadResponse) SetIndexed(v bool)` + +SetIndexed sets Indexed field to given value. + +### HasIndexed + +`func (o *AlpinePackageUploadResponse) HasIndexed() bool` + +HasIndexed returns a boolean if a field has been set. + +### GetIsDownloadable + +`func (o *AlpinePackageUploadResponse) GetIsDownloadable() bool` + +GetIsDownloadable returns the IsDownloadable field if non-nil, zero value otherwise. + +### GetIsDownloadableOk + +`func (o *AlpinePackageUploadResponse) GetIsDownloadableOk() (*bool, bool)` + +GetIsDownloadableOk returns a tuple with the IsDownloadable field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetIsDownloadable + +`func (o *AlpinePackageUploadResponse) SetIsDownloadable(v bool)` + +SetIsDownloadable sets IsDownloadable field to given value. + +### HasIsDownloadable + +`func (o *AlpinePackageUploadResponse) HasIsDownloadable() bool` + +HasIsDownloadable returns a boolean if a field has been set. + +### GetIsQuarantined + +`func (o *AlpinePackageUploadResponse) GetIsQuarantined() bool` + +GetIsQuarantined returns the IsQuarantined field if non-nil, zero value otherwise. + +### GetIsQuarantinedOk + +`func (o *AlpinePackageUploadResponse) GetIsQuarantinedOk() (*bool, bool)` + +GetIsQuarantinedOk returns a tuple with the IsQuarantined field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetIsQuarantined + +`func (o *AlpinePackageUploadResponse) SetIsQuarantined(v bool)` + +SetIsQuarantined sets IsQuarantined field to given value. + +### HasIsQuarantined + +`func (o *AlpinePackageUploadResponse) HasIsQuarantined() bool` + +HasIsQuarantined returns a boolean if a field has been set. + +### GetIsSyncAwaiting + +`func (o *AlpinePackageUploadResponse) GetIsSyncAwaiting() bool` + +GetIsSyncAwaiting returns the IsSyncAwaiting field if non-nil, zero value otherwise. + +### GetIsSyncAwaitingOk + +`func (o *AlpinePackageUploadResponse) GetIsSyncAwaitingOk() (*bool, bool)` + +GetIsSyncAwaitingOk returns a tuple with the IsSyncAwaiting field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetIsSyncAwaiting + +`func (o *AlpinePackageUploadResponse) SetIsSyncAwaiting(v bool)` + +SetIsSyncAwaiting sets IsSyncAwaiting field to given value. + +### HasIsSyncAwaiting + +`func (o *AlpinePackageUploadResponse) HasIsSyncAwaiting() bool` + +HasIsSyncAwaiting returns a boolean if a field has been set. + +### GetIsSyncCompleted + +`func (o *AlpinePackageUploadResponse) GetIsSyncCompleted() bool` + +GetIsSyncCompleted returns the IsSyncCompleted field if non-nil, zero value otherwise. + +### GetIsSyncCompletedOk + +`func (o *AlpinePackageUploadResponse) GetIsSyncCompletedOk() (*bool, bool)` + +GetIsSyncCompletedOk returns a tuple with the IsSyncCompleted field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetIsSyncCompleted + +`func (o *AlpinePackageUploadResponse) SetIsSyncCompleted(v bool)` + +SetIsSyncCompleted sets IsSyncCompleted field to given value. + +### HasIsSyncCompleted + +`func (o *AlpinePackageUploadResponse) HasIsSyncCompleted() bool` + +HasIsSyncCompleted returns a boolean if a field has been set. + +### GetIsSyncFailed + +`func (o *AlpinePackageUploadResponse) GetIsSyncFailed() bool` + +GetIsSyncFailed returns the IsSyncFailed field if non-nil, zero value otherwise. + +### GetIsSyncFailedOk + +`func (o *AlpinePackageUploadResponse) GetIsSyncFailedOk() (*bool, bool)` + +GetIsSyncFailedOk returns a tuple with the IsSyncFailed field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetIsSyncFailed + +`func (o *AlpinePackageUploadResponse) SetIsSyncFailed(v bool)` + +SetIsSyncFailed sets IsSyncFailed field to given value. + +### HasIsSyncFailed + +`func (o *AlpinePackageUploadResponse) HasIsSyncFailed() bool` + +HasIsSyncFailed returns a boolean if a field has been set. + +### GetIsSyncInFlight + +`func (o *AlpinePackageUploadResponse) GetIsSyncInFlight() bool` + +GetIsSyncInFlight returns the IsSyncInFlight field if non-nil, zero value otherwise. + +### GetIsSyncInFlightOk + +`func (o *AlpinePackageUploadResponse) GetIsSyncInFlightOk() (*bool, bool)` + +GetIsSyncInFlightOk returns a tuple with the IsSyncInFlight field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetIsSyncInFlight + +`func (o *AlpinePackageUploadResponse) SetIsSyncInFlight(v bool)` + +SetIsSyncInFlight sets IsSyncInFlight field to given value. + +### HasIsSyncInFlight + +`func (o *AlpinePackageUploadResponse) HasIsSyncInFlight() bool` + +HasIsSyncInFlight returns a boolean if a field has been set. + +### GetIsSyncInProgress + +`func (o *AlpinePackageUploadResponse) GetIsSyncInProgress() bool` + +GetIsSyncInProgress returns the IsSyncInProgress field if non-nil, zero value otherwise. + +### GetIsSyncInProgressOk + +`func (o *AlpinePackageUploadResponse) GetIsSyncInProgressOk() (*bool, bool)` + +GetIsSyncInProgressOk returns a tuple with the IsSyncInProgress field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetIsSyncInProgress + +`func (o *AlpinePackageUploadResponse) SetIsSyncInProgress(v bool)` + +SetIsSyncInProgress sets IsSyncInProgress field to given value. + +### HasIsSyncInProgress + +`func (o *AlpinePackageUploadResponse) HasIsSyncInProgress() bool` + +HasIsSyncInProgress returns a boolean if a field has been set. + +### GetLicense + +`func (o *AlpinePackageUploadResponse) GetLicense() string` + +GetLicense returns the License field if non-nil, zero value otherwise. + +### GetLicenseOk + +`func (o *AlpinePackageUploadResponse) GetLicenseOk() (*string, bool)` + +GetLicenseOk returns a tuple with the License field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetLicense + +`func (o *AlpinePackageUploadResponse) SetLicense(v string)` + +SetLicense sets License field to given value. + +### HasLicense + +`func (o *AlpinePackageUploadResponse) HasLicense() bool` + +HasLicense returns a boolean if a field has been set. + +### GetName + +`func (o *AlpinePackageUploadResponse) GetName() string` + +GetName returns the Name field if non-nil, zero value otherwise. + +### GetNameOk + +`func (o *AlpinePackageUploadResponse) GetNameOk() (*string, bool)` + +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. + +### SetName + +`func (o *AlpinePackageUploadResponse) SetName(v string)` + +SetName sets Name field to given value. + +### HasName + +`func (o *AlpinePackageUploadResponse) HasName() bool` + +HasName returns a boolean if a field has been set. + +### GetNamespace + +`func (o *AlpinePackageUploadResponse) GetNamespace() string` + +GetNamespace returns the Namespace field if non-nil, zero value otherwise. + +### GetNamespaceOk + +`func (o *AlpinePackageUploadResponse) GetNamespaceOk() (*string, bool)` + +GetNamespaceOk returns a tuple with the Namespace field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetNamespace + +`func (o *AlpinePackageUploadResponse) SetNamespace(v string)` + +SetNamespace sets Namespace field to given value. + +### HasNamespace + +`func (o *AlpinePackageUploadResponse) HasNamespace() bool` + +HasNamespace returns a boolean if a field has been set. + +### GetNamespaceUrl + +`func (o *AlpinePackageUploadResponse) GetNamespaceUrl() string` + +GetNamespaceUrl returns the NamespaceUrl field if non-nil, zero value otherwise. + +### GetNamespaceUrlOk + +`func (o *AlpinePackageUploadResponse) GetNamespaceUrlOk() (*string, bool)` + +GetNamespaceUrlOk returns a tuple with the NamespaceUrl field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetNamespaceUrl + +`func (o *AlpinePackageUploadResponse) SetNamespaceUrl(v string)` + +SetNamespaceUrl sets NamespaceUrl field to given value. + +### HasNamespaceUrl + +`func (o *AlpinePackageUploadResponse) HasNamespaceUrl() bool` + +HasNamespaceUrl returns a boolean if a field has been set. + +### GetNumFiles + +`func (o *AlpinePackageUploadResponse) GetNumFiles() int64` + +GetNumFiles returns the NumFiles field if non-nil, zero value otherwise. + +### GetNumFilesOk + +`func (o *AlpinePackageUploadResponse) GetNumFilesOk() (*int64, bool)` + +GetNumFilesOk returns a tuple with the NumFiles field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetNumFiles + +`func (o *AlpinePackageUploadResponse) SetNumFiles(v int64)` + +SetNumFiles sets NumFiles field to given value. + +### HasNumFiles + +`func (o *AlpinePackageUploadResponse) HasNumFiles() bool` + +HasNumFiles returns a boolean if a field has been set. + +### GetOriginRepository + +`func (o *AlpinePackageUploadResponse) GetOriginRepository() string` + +GetOriginRepository returns the OriginRepository field if non-nil, zero value otherwise. + +### GetOriginRepositoryOk + +`func (o *AlpinePackageUploadResponse) GetOriginRepositoryOk() (*string, bool)` + +GetOriginRepositoryOk returns a tuple with the OriginRepository field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetOriginRepository + +`func (o *AlpinePackageUploadResponse) SetOriginRepository(v string)` + +SetOriginRepository sets OriginRepository field to given value. + +### HasOriginRepository + +`func (o *AlpinePackageUploadResponse) HasOriginRepository() bool` + +HasOriginRepository returns a boolean if a field has been set. + +### GetOriginRepositoryUrl + +`func (o *AlpinePackageUploadResponse) GetOriginRepositoryUrl() string` + +GetOriginRepositoryUrl returns the OriginRepositoryUrl field if non-nil, zero value otherwise. + +### GetOriginRepositoryUrlOk + +`func (o *AlpinePackageUploadResponse) GetOriginRepositoryUrlOk() (*string, bool)` + +GetOriginRepositoryUrlOk returns a tuple with the OriginRepositoryUrl field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetOriginRepositoryUrl + +`func (o *AlpinePackageUploadResponse) SetOriginRepositoryUrl(v string)` + +SetOriginRepositoryUrl sets OriginRepositoryUrl field to given value. + +### HasOriginRepositoryUrl + +`func (o *AlpinePackageUploadResponse) HasOriginRepositoryUrl() bool` + +HasOriginRepositoryUrl returns a boolean if a field has been set. + +### GetPackageType + +`func (o *AlpinePackageUploadResponse) GetPackageType() int64` + +GetPackageType returns the PackageType field if non-nil, zero value otherwise. + +### GetPackageTypeOk + +`func (o *AlpinePackageUploadResponse) GetPackageTypeOk() (*int64, bool)` + +GetPackageTypeOk returns a tuple with the PackageType field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetPackageType + +`func (o *AlpinePackageUploadResponse) SetPackageType(v int64)` + +SetPackageType sets PackageType field to given value. + +### HasPackageType + +`func (o *AlpinePackageUploadResponse) HasPackageType() bool` + +HasPackageType returns a boolean if a field has been set. + +### GetRelease + +`func (o *AlpinePackageUploadResponse) GetRelease() string` + +GetRelease returns the Release field if non-nil, zero value otherwise. + +### GetReleaseOk + +`func (o *AlpinePackageUploadResponse) GetReleaseOk() (*string, bool)` + +GetReleaseOk returns a tuple with the Release field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetRelease + +`func (o *AlpinePackageUploadResponse) SetRelease(v string)` + +SetRelease sets Release field to given value. + +### HasRelease + +`func (o *AlpinePackageUploadResponse) HasRelease() bool` + +HasRelease returns a boolean if a field has been set. + +### GetRepository + +`func (o *AlpinePackageUploadResponse) GetRepository() string` + +GetRepository returns the Repository field if non-nil, zero value otherwise. + +### GetRepositoryOk + +`func (o *AlpinePackageUploadResponse) GetRepositoryOk() (*string, bool)` + +GetRepositoryOk returns a tuple with the Repository field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetRepository + +`func (o *AlpinePackageUploadResponse) SetRepository(v string)` + +SetRepository sets Repository field to given value. + +### HasRepository + +`func (o *AlpinePackageUploadResponse) HasRepository() bool` + +HasRepository returns a boolean if a field has been set. + +### GetRepositoryUrl + +`func (o *AlpinePackageUploadResponse) GetRepositoryUrl() string` + +GetRepositoryUrl returns the RepositoryUrl field if non-nil, zero value otherwise. + +### GetRepositoryUrlOk + +`func (o *AlpinePackageUploadResponse) GetRepositoryUrlOk() (*string, bool)` + +GetRepositoryUrlOk returns a tuple with the RepositoryUrl field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetRepositoryUrl + +`func (o *AlpinePackageUploadResponse) SetRepositoryUrl(v string)` + +SetRepositoryUrl sets RepositoryUrl field to given value. + +### HasRepositoryUrl + +`func (o *AlpinePackageUploadResponse) HasRepositoryUrl() bool` + +HasRepositoryUrl returns a boolean if a field has been set. + +### GetSecurityScanCompletedAt + +`func (o *AlpinePackageUploadResponse) GetSecurityScanCompletedAt() time.Time` + +GetSecurityScanCompletedAt returns the SecurityScanCompletedAt field if non-nil, zero value otherwise. + +### GetSecurityScanCompletedAtOk + +`func (o *AlpinePackageUploadResponse) GetSecurityScanCompletedAtOk() (*time.Time, bool)` + +GetSecurityScanCompletedAtOk returns a tuple with the SecurityScanCompletedAt field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetSecurityScanCompletedAt + +`func (o *AlpinePackageUploadResponse) SetSecurityScanCompletedAt(v time.Time)` + +SetSecurityScanCompletedAt sets SecurityScanCompletedAt field to given value. + +### HasSecurityScanCompletedAt + +`func (o *AlpinePackageUploadResponse) HasSecurityScanCompletedAt() bool` + +HasSecurityScanCompletedAt returns a boolean if a field has been set. + +### GetSecurityScanStartedAt + +`func (o *AlpinePackageUploadResponse) GetSecurityScanStartedAt() time.Time` + +GetSecurityScanStartedAt returns the SecurityScanStartedAt field if non-nil, zero value otherwise. + +### GetSecurityScanStartedAtOk + +`func (o *AlpinePackageUploadResponse) GetSecurityScanStartedAtOk() (*time.Time, bool)` + +GetSecurityScanStartedAtOk returns a tuple with the SecurityScanStartedAt field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetSecurityScanStartedAt + +`func (o *AlpinePackageUploadResponse) SetSecurityScanStartedAt(v time.Time)` + +SetSecurityScanStartedAt sets SecurityScanStartedAt field to given value. + +### HasSecurityScanStartedAt + +`func (o *AlpinePackageUploadResponse) HasSecurityScanStartedAt() bool` + +HasSecurityScanStartedAt returns a boolean if a field has been set. + +### GetSecurityScanStatus + +`func (o *AlpinePackageUploadResponse) GetSecurityScanStatus() string` + +GetSecurityScanStatus returns the SecurityScanStatus field if non-nil, zero value otherwise. + +### GetSecurityScanStatusOk + +`func (o *AlpinePackageUploadResponse) GetSecurityScanStatusOk() (*string, bool)` + +GetSecurityScanStatusOk returns a tuple with the SecurityScanStatus field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetSecurityScanStatus + +`func (o *AlpinePackageUploadResponse) SetSecurityScanStatus(v string)` + +SetSecurityScanStatus sets SecurityScanStatus field to given value. + +### HasSecurityScanStatus + +`func (o *AlpinePackageUploadResponse) HasSecurityScanStatus() bool` + +HasSecurityScanStatus returns a boolean if a field has been set. + +### SetSecurityScanStatusNil + +`func (o *AlpinePackageUploadResponse) SetSecurityScanStatusNil(b bool)` + + SetSecurityScanStatusNil sets the value for SecurityScanStatus to be an explicit nil + +### UnsetSecurityScanStatus +`func (o *AlpinePackageUploadResponse) UnsetSecurityScanStatus()` + +UnsetSecurityScanStatus ensures that no value is present for SecurityScanStatus, not even an explicit nil +### GetSecurityScanStatusUpdatedAt + +`func (o *AlpinePackageUploadResponse) GetSecurityScanStatusUpdatedAt() time.Time` + +GetSecurityScanStatusUpdatedAt returns the SecurityScanStatusUpdatedAt field if non-nil, zero value otherwise. + +### GetSecurityScanStatusUpdatedAtOk + +`func (o *AlpinePackageUploadResponse) GetSecurityScanStatusUpdatedAtOk() (*time.Time, bool)` + +GetSecurityScanStatusUpdatedAtOk returns a tuple with the SecurityScanStatusUpdatedAt field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetSecurityScanStatusUpdatedAt + +`func (o *AlpinePackageUploadResponse) SetSecurityScanStatusUpdatedAt(v time.Time)` + +SetSecurityScanStatusUpdatedAt sets SecurityScanStatusUpdatedAt field to given value. + +### HasSecurityScanStatusUpdatedAt + +`func (o *AlpinePackageUploadResponse) HasSecurityScanStatusUpdatedAt() bool` + +HasSecurityScanStatusUpdatedAt returns a boolean if a field has been set. + +### GetSelfHtmlUrl + +`func (o *AlpinePackageUploadResponse) GetSelfHtmlUrl() string` + +GetSelfHtmlUrl returns the SelfHtmlUrl field if non-nil, zero value otherwise. + +### GetSelfHtmlUrlOk + +`func (o *AlpinePackageUploadResponse) GetSelfHtmlUrlOk() (*string, bool)` + +GetSelfHtmlUrlOk returns a tuple with the SelfHtmlUrl field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetSelfHtmlUrl + +`func (o *AlpinePackageUploadResponse) SetSelfHtmlUrl(v string)` + +SetSelfHtmlUrl sets SelfHtmlUrl field to given value. + +### HasSelfHtmlUrl + +`func (o *AlpinePackageUploadResponse) HasSelfHtmlUrl() bool` + +HasSelfHtmlUrl returns a boolean if a field has been set. + +### GetSelfUrl + +`func (o *AlpinePackageUploadResponse) GetSelfUrl() string` + +GetSelfUrl returns the SelfUrl field if non-nil, zero value otherwise. + +### GetSelfUrlOk + +`func (o *AlpinePackageUploadResponse) GetSelfUrlOk() (*string, bool)` + +GetSelfUrlOk returns a tuple with the SelfUrl field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetSelfUrl + +`func (o *AlpinePackageUploadResponse) SetSelfUrl(v string)` + +SetSelfUrl sets SelfUrl field to given value. + +### HasSelfUrl + +`func (o *AlpinePackageUploadResponse) HasSelfUrl() bool` + +HasSelfUrl returns a boolean if a field has been set. + +### GetSignatureUrl + +`func (o *AlpinePackageUploadResponse) GetSignatureUrl() string` + +GetSignatureUrl returns the SignatureUrl field if non-nil, zero value otherwise. + +### GetSignatureUrlOk + +`func (o *AlpinePackageUploadResponse) GetSignatureUrlOk() (*string, bool)` + +GetSignatureUrlOk returns a tuple with the SignatureUrl field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetSignatureUrl + +`func (o *AlpinePackageUploadResponse) SetSignatureUrl(v string)` + +SetSignatureUrl sets SignatureUrl field to given value. + +### HasSignatureUrl + +`func (o *AlpinePackageUploadResponse) HasSignatureUrl() bool` + +HasSignatureUrl returns a boolean if a field has been set. + +### SetSignatureUrlNil + +`func (o *AlpinePackageUploadResponse) SetSignatureUrlNil(b bool)` + + SetSignatureUrlNil sets the value for SignatureUrl to be an explicit nil + +### UnsetSignatureUrl +`func (o *AlpinePackageUploadResponse) UnsetSignatureUrl()` + +UnsetSignatureUrl ensures that no value is present for SignatureUrl, not even an explicit nil +### GetSize + +`func (o *AlpinePackageUploadResponse) GetSize() int64` + +GetSize returns the Size field if non-nil, zero value otherwise. + +### GetSizeOk + +`func (o *AlpinePackageUploadResponse) GetSizeOk() (*int64, bool)` + +GetSizeOk returns a tuple with the Size field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetSize + +`func (o *AlpinePackageUploadResponse) SetSize(v int64)` + +SetSize sets Size field to given value. + +### HasSize + +`func (o *AlpinePackageUploadResponse) HasSize() bool` + +HasSize returns a boolean if a field has been set. + +### GetSlug + +`func (o *AlpinePackageUploadResponse) GetSlug() string` + +GetSlug returns the Slug field if non-nil, zero value otherwise. + +### GetSlugOk + +`func (o *AlpinePackageUploadResponse) GetSlugOk() (*string, bool)` + +GetSlugOk returns a tuple with the Slug field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetSlug + +`func (o *AlpinePackageUploadResponse) SetSlug(v string)` + +SetSlug sets Slug field to given value. + +### HasSlug + +`func (o *AlpinePackageUploadResponse) HasSlug() bool` + +HasSlug returns a boolean if a field has been set. + +### GetSlugPerm + +`func (o *AlpinePackageUploadResponse) GetSlugPerm() string` + +GetSlugPerm returns the SlugPerm field if non-nil, zero value otherwise. + +### GetSlugPermOk + +`func (o *AlpinePackageUploadResponse) GetSlugPermOk() (*string, bool)` + +GetSlugPermOk returns a tuple with the SlugPerm field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetSlugPerm + +`func (o *AlpinePackageUploadResponse) SetSlugPerm(v string)` + +SetSlugPerm sets SlugPerm field to given value. + +### HasSlugPerm + +`func (o *AlpinePackageUploadResponse) HasSlugPerm() bool` + +HasSlugPerm returns a boolean if a field has been set. + +### GetStage + +`func (o *AlpinePackageUploadResponse) GetStage() int64` + +GetStage returns the Stage field if non-nil, zero value otherwise. + +### GetStageOk + +`func (o *AlpinePackageUploadResponse) GetStageOk() (*int64, bool)` + +GetStageOk returns a tuple with the Stage field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetStage + +`func (o *AlpinePackageUploadResponse) SetStage(v int64)` + +SetStage sets Stage field to given value. + +### HasStage + +`func (o *AlpinePackageUploadResponse) HasStage() bool` + +HasStage returns a boolean if a field has been set. + +### GetStageStr + +`func (o *AlpinePackageUploadResponse) GetStageStr() string` + +GetStageStr returns the StageStr field if non-nil, zero value otherwise. + +### GetStageStrOk + +`func (o *AlpinePackageUploadResponse) GetStageStrOk() (*string, bool)` + +GetStageStrOk returns a tuple with the StageStr field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetStageStr + +`func (o *AlpinePackageUploadResponse) SetStageStr(v string)` + +SetStageStr sets StageStr field to given value. + +### HasStageStr + +`func (o *AlpinePackageUploadResponse) HasStageStr() bool` + +HasStageStr returns a boolean if a field has been set. + +### GetStageUpdatedAt + +`func (o *AlpinePackageUploadResponse) GetStageUpdatedAt() time.Time` + +GetStageUpdatedAt returns the StageUpdatedAt field if non-nil, zero value otherwise. + +### GetStageUpdatedAtOk + +`func (o *AlpinePackageUploadResponse) GetStageUpdatedAtOk() (*time.Time, bool)` + +GetStageUpdatedAtOk returns a tuple with the StageUpdatedAt field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetStageUpdatedAt + +`func (o *AlpinePackageUploadResponse) SetStageUpdatedAt(v time.Time)` + +SetStageUpdatedAt sets StageUpdatedAt field to given value. + +### HasStageUpdatedAt + +`func (o *AlpinePackageUploadResponse) HasStageUpdatedAt() bool` + +HasStageUpdatedAt returns a boolean if a field has been set. + +### GetStatus + +`func (o *AlpinePackageUploadResponse) GetStatus() int64` + +GetStatus returns the Status field if non-nil, zero value otherwise. + +### GetStatusOk + +`func (o *AlpinePackageUploadResponse) GetStatusOk() (*int64, bool)` + +GetStatusOk returns a tuple with the Status field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetStatus + +`func (o *AlpinePackageUploadResponse) SetStatus(v int64)` + +SetStatus sets Status field to given value. + +### HasStatus + +`func (o *AlpinePackageUploadResponse) HasStatus() bool` + +HasStatus returns a boolean if a field has been set. + +### GetStatusReason + +`func (o *AlpinePackageUploadResponse) GetStatusReason() string` + +GetStatusReason returns the StatusReason field if non-nil, zero value otherwise. + +### GetStatusReasonOk + +`func (o *AlpinePackageUploadResponse) GetStatusReasonOk() (*string, bool)` + +GetStatusReasonOk returns a tuple with the StatusReason field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetStatusReason + +`func (o *AlpinePackageUploadResponse) SetStatusReason(v string)` + +SetStatusReason sets StatusReason field to given value. + +### HasStatusReason + +`func (o *AlpinePackageUploadResponse) HasStatusReason() bool` + +HasStatusReason returns a boolean if a field has been set. + +### GetStatusStr + +`func (o *AlpinePackageUploadResponse) GetStatusStr() string` + +GetStatusStr returns the StatusStr field if non-nil, zero value otherwise. + +### GetStatusStrOk + +`func (o *AlpinePackageUploadResponse) GetStatusStrOk() (*string, bool)` + +GetStatusStrOk returns a tuple with the StatusStr field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetStatusStr + +`func (o *AlpinePackageUploadResponse) SetStatusStr(v string)` + +SetStatusStr sets StatusStr field to given value. + +### HasStatusStr + +`func (o *AlpinePackageUploadResponse) HasStatusStr() bool` + +HasStatusStr returns a boolean if a field has been set. + +### GetStatusUpdatedAt + +`func (o *AlpinePackageUploadResponse) GetStatusUpdatedAt() time.Time` + +GetStatusUpdatedAt returns the StatusUpdatedAt field if non-nil, zero value otherwise. + +### GetStatusUpdatedAtOk + +`func (o *AlpinePackageUploadResponse) GetStatusUpdatedAtOk() (*time.Time, bool)` + +GetStatusUpdatedAtOk returns a tuple with the StatusUpdatedAt field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetStatusUpdatedAt + +`func (o *AlpinePackageUploadResponse) SetStatusUpdatedAt(v time.Time)` + +SetStatusUpdatedAt sets StatusUpdatedAt field to given value. + +### HasStatusUpdatedAt + +`func (o *AlpinePackageUploadResponse) HasStatusUpdatedAt() bool` + +HasStatusUpdatedAt returns a boolean if a field has been set. + +### GetStatusUrl + +`func (o *AlpinePackageUploadResponse) GetStatusUrl() string` + +GetStatusUrl returns the StatusUrl field if non-nil, zero value otherwise. + +### GetStatusUrlOk + +`func (o *AlpinePackageUploadResponse) GetStatusUrlOk() (*string, bool)` + +GetStatusUrlOk returns a tuple with the StatusUrl field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetStatusUrl + +`func (o *AlpinePackageUploadResponse) SetStatusUrl(v string)` + +SetStatusUrl sets StatusUrl field to given value. + +### HasStatusUrl + +`func (o *AlpinePackageUploadResponse) HasStatusUrl() bool` + +HasStatusUrl returns a boolean if a field has been set. + +### GetSubtype + +`func (o *AlpinePackageUploadResponse) GetSubtype() string` + +GetSubtype returns the Subtype field if non-nil, zero value otherwise. + +### GetSubtypeOk + +`func (o *AlpinePackageUploadResponse) GetSubtypeOk() (*string, bool)` + +GetSubtypeOk returns a tuple with the Subtype field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetSubtype + +`func (o *AlpinePackageUploadResponse) SetSubtype(v string)` + +SetSubtype sets Subtype field to given value. + +### HasSubtype + +`func (o *AlpinePackageUploadResponse) HasSubtype() bool` + +HasSubtype returns a boolean if a field has been set. + +### GetSummary + +`func (o *AlpinePackageUploadResponse) GetSummary() string` + +GetSummary returns the Summary field if non-nil, zero value otherwise. + +### GetSummaryOk + +`func (o *AlpinePackageUploadResponse) GetSummaryOk() (*string, bool)` + +GetSummaryOk returns a tuple with the Summary field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetSummary + +`func (o *AlpinePackageUploadResponse) SetSummary(v string)` + +SetSummary sets Summary field to given value. + +### HasSummary + +`func (o *AlpinePackageUploadResponse) HasSummary() bool` + +HasSummary returns a boolean if a field has been set. + +### GetSyncFinishedAt + +`func (o *AlpinePackageUploadResponse) GetSyncFinishedAt() time.Time` + +GetSyncFinishedAt returns the SyncFinishedAt field if non-nil, zero value otherwise. + +### GetSyncFinishedAtOk + +`func (o *AlpinePackageUploadResponse) GetSyncFinishedAtOk() (*time.Time, bool)` + +GetSyncFinishedAtOk returns a tuple with the SyncFinishedAt field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetSyncFinishedAt + +`func (o *AlpinePackageUploadResponse) SetSyncFinishedAt(v time.Time)` + +SetSyncFinishedAt sets SyncFinishedAt field to given value. + +### HasSyncFinishedAt + +`func (o *AlpinePackageUploadResponse) HasSyncFinishedAt() bool` + +HasSyncFinishedAt returns a boolean if a field has been set. + +### GetSyncProgress + +`func (o *AlpinePackageUploadResponse) GetSyncProgress() int64` + +GetSyncProgress returns the SyncProgress field if non-nil, zero value otherwise. + +### GetSyncProgressOk + +`func (o *AlpinePackageUploadResponse) GetSyncProgressOk() (*int64, bool)` + +GetSyncProgressOk returns a tuple with the SyncProgress field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetSyncProgress + +`func (o *AlpinePackageUploadResponse) SetSyncProgress(v int64)` + +SetSyncProgress sets SyncProgress field to given value. + +### HasSyncProgress + +`func (o *AlpinePackageUploadResponse) HasSyncProgress() bool` + +HasSyncProgress returns a boolean if a field has been set. + +### GetTagsImmutable + +`func (o *AlpinePackageUploadResponse) GetTagsImmutable() map[string]interface{}` + +GetTagsImmutable returns the TagsImmutable field if non-nil, zero value otherwise. + +### GetTagsImmutableOk + +`func (o *AlpinePackageUploadResponse) GetTagsImmutableOk() (*map[string]interface{}, bool)` + +GetTagsImmutableOk returns a tuple with the TagsImmutable field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetTagsImmutable + +`func (o *AlpinePackageUploadResponse) SetTagsImmutable(v map[string]interface{})` + +SetTagsImmutable sets TagsImmutable field to given value. + +### HasTagsImmutable + +`func (o *AlpinePackageUploadResponse) HasTagsImmutable() bool` + +HasTagsImmutable returns a boolean if a field has been set. + +### GetTypeDisplay + +`func (o *AlpinePackageUploadResponse) GetTypeDisplay() string` + +GetTypeDisplay returns the TypeDisplay field if non-nil, zero value otherwise. + +### GetTypeDisplayOk + +`func (o *AlpinePackageUploadResponse) GetTypeDisplayOk() (*string, bool)` + +GetTypeDisplayOk returns a tuple with the TypeDisplay field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetTypeDisplay + +`func (o *AlpinePackageUploadResponse) SetTypeDisplay(v string)` + +SetTypeDisplay sets TypeDisplay field to given value. + +### HasTypeDisplay + +`func (o *AlpinePackageUploadResponse) HasTypeDisplay() bool` + +HasTypeDisplay returns a boolean if a field has been set. + +### GetUploadedAt + +`func (o *AlpinePackageUploadResponse) GetUploadedAt() time.Time` + +GetUploadedAt returns the UploadedAt field if non-nil, zero value otherwise. + +### GetUploadedAtOk + +`func (o *AlpinePackageUploadResponse) GetUploadedAtOk() (*time.Time, bool)` + +GetUploadedAtOk returns a tuple with the UploadedAt field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetUploadedAt + +`func (o *AlpinePackageUploadResponse) SetUploadedAt(v time.Time)` + +SetUploadedAt sets UploadedAt field to given value. + +### HasUploadedAt + +`func (o *AlpinePackageUploadResponse) HasUploadedAt() bool` + +HasUploadedAt returns a boolean if a field has been set. + +### GetUploader + +`func (o *AlpinePackageUploadResponse) GetUploader() string` + +GetUploader returns the Uploader field if non-nil, zero value otherwise. + +### GetUploaderOk + +`func (o *AlpinePackageUploadResponse) GetUploaderOk() (*string, bool)` + +GetUploaderOk returns a tuple with the Uploader field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetUploader + +`func (o *AlpinePackageUploadResponse) SetUploader(v string)` + +SetUploader sets Uploader field to given value. + +### HasUploader + +`func (o *AlpinePackageUploadResponse) HasUploader() bool` + +HasUploader returns a boolean if a field has been set. + +### GetUploaderUrl + +`func (o *AlpinePackageUploadResponse) GetUploaderUrl() string` + +GetUploaderUrl returns the UploaderUrl field if non-nil, zero value otherwise. + +### GetUploaderUrlOk + +`func (o *AlpinePackageUploadResponse) GetUploaderUrlOk() (*string, bool)` + +GetUploaderUrlOk returns a tuple with the UploaderUrl field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetUploaderUrl + +`func (o *AlpinePackageUploadResponse) SetUploaderUrl(v string)` + +SetUploaderUrl sets UploaderUrl field to given value. + +### HasUploaderUrl + +`func (o *AlpinePackageUploadResponse) HasUploaderUrl() bool` + +HasUploaderUrl returns a boolean if a field has been set. + +### GetVersion + +`func (o *AlpinePackageUploadResponse) GetVersion() string` + +GetVersion returns the Version field if non-nil, zero value otherwise. + +### GetVersionOk + +`func (o *AlpinePackageUploadResponse) GetVersionOk() (*string, bool)` + +GetVersionOk returns a tuple with the Version field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetVersion + +`func (o *AlpinePackageUploadResponse) SetVersion(v string)` + +SetVersion sets Version field to given value. + +### HasVersion + +`func (o *AlpinePackageUploadResponse) HasVersion() bool` + +HasVersion returns a boolean if a field has been set. + +### GetVersionOrig + +`func (o *AlpinePackageUploadResponse) GetVersionOrig() string` + +GetVersionOrig returns the VersionOrig field if non-nil, zero value otherwise. + +### GetVersionOrigOk + +`func (o *AlpinePackageUploadResponse) GetVersionOrigOk() (*string, bool)` + +GetVersionOrigOk returns a tuple with the VersionOrig field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetVersionOrig + +`func (o *AlpinePackageUploadResponse) SetVersionOrig(v string)` + +SetVersionOrig sets VersionOrig field to given value. + +### HasVersionOrig + +`func (o *AlpinePackageUploadResponse) HasVersionOrig() bool` + +HasVersionOrig returns a boolean if a field has been set. + +### GetVulnerabilityScanResultsUrl + +`func (o *AlpinePackageUploadResponse) GetVulnerabilityScanResultsUrl() string` + +GetVulnerabilityScanResultsUrl returns the VulnerabilityScanResultsUrl field if non-nil, zero value otherwise. + +### GetVulnerabilityScanResultsUrlOk + +`func (o *AlpinePackageUploadResponse) GetVulnerabilityScanResultsUrlOk() (*string, bool)` + +GetVulnerabilityScanResultsUrlOk returns a tuple with the VulnerabilityScanResultsUrl field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetVulnerabilityScanResultsUrl + +`func (o *AlpinePackageUploadResponse) SetVulnerabilityScanResultsUrl(v string)` + +SetVulnerabilityScanResultsUrl sets VulnerabilityScanResultsUrl field to given value. + +### HasVulnerabilityScanResultsUrl + +`func (o *AlpinePackageUploadResponse) HasVulnerabilityScanResultsUrl() bool` + +HasVulnerabilityScanResultsUrl 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/docs/PackagesOwnerRepoArchitectures.md b/docs/Architecture.md similarity index 54% rename from docs/PackagesOwnerRepoArchitectures.md rename to docs/Architecture.md index cb901925..98313a65 100644 --- a/docs/PackagesOwnerRepoArchitectures.md +++ b/docs/Architecture.md @@ -1,80 +1,85 @@ -# PackagesOwnerRepoArchitectures +# Architecture ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**Description** | Pointer to **string** | | [optional] -**Name** | Pointer to **string** | | [optional] +**Description** | Pointer to **NullableString** | | [optional] +**Name** | **string** | | ## Methods -### NewPackagesOwnerRepoArchitectures +### NewArchitecture -`func NewPackagesOwnerRepoArchitectures() *PackagesOwnerRepoArchitectures` +`func NewArchitecture(name string, ) *Architecture` -NewPackagesOwnerRepoArchitectures instantiates a new PackagesOwnerRepoArchitectures object +NewArchitecture instantiates a new Architecture object 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 -### NewPackagesOwnerRepoArchitecturesWithDefaults +### NewArchitectureWithDefaults -`func NewPackagesOwnerRepoArchitecturesWithDefaults() *PackagesOwnerRepoArchitectures` +`func NewArchitectureWithDefaults() *Architecture` -NewPackagesOwnerRepoArchitecturesWithDefaults instantiates a new PackagesOwnerRepoArchitectures object +NewArchitectureWithDefaults instantiates a new Architecture object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set ### GetDescription -`func (o *PackagesOwnerRepoArchitectures) GetDescription() string` +`func (o *Architecture) GetDescription() string` GetDescription returns the Description field if non-nil, zero value otherwise. ### GetDescriptionOk -`func (o *PackagesOwnerRepoArchitectures) GetDescriptionOk() (*string, bool)` +`func (o *Architecture) GetDescriptionOk() (*string, bool)` GetDescriptionOk returns a tuple with the Description field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetDescription -`func (o *PackagesOwnerRepoArchitectures) SetDescription(v string)` +`func (o *Architecture) SetDescription(v string)` SetDescription sets Description field to given value. ### HasDescription -`func (o *PackagesOwnerRepoArchitectures) HasDescription() bool` +`func (o *Architecture) HasDescription() bool` HasDescription returns a boolean if a field has been set. +### SetDescriptionNil + +`func (o *Architecture) SetDescriptionNil(b bool)` + + SetDescriptionNil sets the value for Description to be an explicit nil + +### UnsetDescription +`func (o *Architecture) UnsetDescription()` + +UnsetDescription ensures that no value is present for Description, not even an explicit nil ### GetName -`func (o *PackagesOwnerRepoArchitectures) GetName() string` +`func (o *Architecture) GetName() string` GetName returns the Name field if non-nil, zero value otherwise. ### GetNameOk -`func (o *PackagesOwnerRepoArchitectures) GetNameOk() (*string, bool)` +`func (o *Architecture) GetNameOk() (*string, bool)` 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. ### SetName -`func (o *PackagesOwnerRepoArchitectures) SetName(v string)` +`func (o *Architecture) SetName(v string)` SetName sets Name field to given value. -### HasName - -`func (o *PackagesOwnerRepoArchitectures) HasName() bool` - -HasName 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/docs/AuditLogApi.md b/docs/AuditLogApi.md index 554a3efe..a8557fdf 100644 --- a/docs/AuditLogApi.md +++ b/docs/AuditLogApi.md @@ -4,14 +4,14 @@ All URIs are relative to *https://api.cloudsmith.io/v1* Method | HTTP request | Description ------------- | ------------- | ------------- -[**AuditLogList**](AuditLogApi.md#AuditLogList) | **Get** /audit-log/{owner}/ | Lists audit log entries for a specific namespace. -[**AuditLogList0**](AuditLogApi.md#AuditLogList0) | **Get** /audit-log/{owner}/{repo}/ | Lists audit log entries for a specific repository. +[**AuditLogNamespaceList**](AuditLogApi.md#AuditLogNamespaceList) | **Get** /audit-log/{owner}/ | Lists audit log entries for a specific namespace. +[**AuditLogRepoList**](AuditLogApi.md#AuditLogRepoList) | **Get** /audit-log/{owner}/{repo}/ | Lists audit log entries for a specific repository. -## AuditLogList +## AuditLogNamespaceList -> []NamespaceAuditLog AuditLogList(ctx, owner).Page(page).PageSize(pageSize).Query(query).Execute() +> []NamespaceAuditLogResponse AuditLogNamespaceList(ctx, owner).Page(page).PageSize(pageSize).Query(query).Execute() Lists audit log entries for a specific namespace. @@ -37,13 +37,13 @@ func main() { configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) - resp, r, err := apiClient.AuditLogApi.AuditLogList(context.Background(), owner).Page(page).PageSize(pageSize).Query(query).Execute() + resp, r, err := apiClient.AuditLogApi.AuditLogNamespaceList(context.Background(), owner).Page(page).PageSize(pageSize).Query(query).Execute() if err != nil { - fmt.Fprintf(os.Stderr, "Error when calling `AuditLogApi.AuditLogList``: %v\n", err) + fmt.Fprintf(os.Stderr, "Error when calling `AuditLogApi.AuditLogNamespaceList``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } - // response from `AuditLogList`: []NamespaceAuditLog - fmt.Fprintf(os.Stdout, "Response from `AuditLogApi.AuditLogList`: %v\n", resp) + // response from `AuditLogNamespaceList`: []NamespaceAuditLogResponse + fmt.Fprintf(os.Stdout, "Response from `AuditLogApi.AuditLogNamespaceList`: %v\n", resp) } ``` @@ -57,7 +57,7 @@ Name | Type | Description | Notes ### Other Parameters -Other parameters are passed through a pointer to a apiAuditLogListRequest struct via the builder pattern +Other parameters are passed through a pointer to a apiAuditLogNamespaceListRequest struct via the builder pattern Name | Type | Description | Notes @@ -69,7 +69,7 @@ Name | Type | Description | Notes ### Return type -[**[]NamespaceAuditLog**](NamespaceAuditLog.md) +[**[]NamespaceAuditLogResponse**](NamespaceAuditLogResponse.md) ### Authorization @@ -78,16 +78,16 @@ Name | Type | Description | Notes ### HTTP request headers - **Content-Type**: Not defined -- **Accept**: */* +- **Accept**: application/json [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -## AuditLogList0 +## AuditLogRepoList -> []RepositoryAuditLog AuditLogList0(ctx, owner, repo).Page(page).PageSize(pageSize).Query(query).Execute() +> []RepositoryAuditLogResponse AuditLogRepoList(ctx, owner, repo).Page(page).PageSize(pageSize).Query(query).Execute() Lists audit log entries for a specific repository. @@ -114,13 +114,13 @@ func main() { configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) - resp, r, err := apiClient.AuditLogApi.AuditLogList0(context.Background(), owner, repo).Page(page).PageSize(pageSize).Query(query).Execute() + resp, r, err := apiClient.AuditLogApi.AuditLogRepoList(context.Background(), owner, repo).Page(page).PageSize(pageSize).Query(query).Execute() if err != nil { - fmt.Fprintf(os.Stderr, "Error when calling `AuditLogApi.AuditLogList0``: %v\n", err) + fmt.Fprintf(os.Stderr, "Error when calling `AuditLogApi.AuditLogRepoList``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } - // response from `AuditLogList0`: []RepositoryAuditLog - fmt.Fprintf(os.Stdout, "Response from `AuditLogApi.AuditLogList0`: %v\n", resp) + // response from `AuditLogRepoList`: []RepositoryAuditLogResponse + fmt.Fprintf(os.Stdout, "Response from `AuditLogApi.AuditLogRepoList`: %v\n", resp) } ``` @@ -135,7 +135,7 @@ Name | Type | Description | Notes ### Other Parameters -Other parameters are passed through a pointer to a apiAuditLogList0Request struct via the builder pattern +Other parameters are passed through a pointer to a apiAuditLogRepoListRequest struct via the builder pattern Name | Type | Description | Notes @@ -148,7 +148,7 @@ Name | Type | Description | Notes ### Return type -[**[]RepositoryAuditLog**](RepositoryAuditLog.md) +[**[]RepositoryAuditLogResponse**](RepositoryAuditLogResponse.md) ### Authorization @@ -157,7 +157,7 @@ Name | Type | Description | Notes ### HTTP request headers - **Content-Type**: Not defined -- **Accept**: */* +- **Accept**: application/json [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) diff --git a/docs/BadgesApi.md b/docs/BadgesApi.md index 5e1485f7..a3064700 100644 --- a/docs/BadgesApi.md +++ b/docs/BadgesApi.md @@ -36,16 +36,16 @@ func main() { packageVersion := "packageVersion_example" // string | packageIdentifiers := "packageIdentifiers_example" // string | badgeToken := "badgeToken_example" // string | Badge token to authenticate for private packages (optional) - cacheSeconds := "cacheSeconds_example" // string | Override the shields.io badge cacheSeconds value. (optional) - color := "color_example" // string | Override the shields.io badge color value. (optional) - label := "label_example" // string | Override the shields.io badge label value. (optional) - labelColor := "labelColor_example" // string | Override the shields.io badge labelColor value. (optional) - logoColor := "logoColor_example" // string | Override the shields.io badge logoColor value. (optional) - logoWidth := "logoWidth_example" // string | Override the shields.io badge logoWidth value. (optional) - render := true // bool | If true, badge will be rendered (optional) - shields := true // bool | If true, a shields response will be generated (optional) - showLatest := true // bool | If true, for latest version badges a '(latest)' suffix is added (optional) - style := "style_example" // string | Override the shields.io badge style value. (optional) + cacheSeconds := "cacheSeconds_example" // string | Override the shields.io badge cacheSeconds value. (optional) (default to "300") + color := "color_example" // string | Override the shields.io badge color value. (optional) (default to "12577E") + label := "label_example" // string | Override the shields.io badge label value. (optional) (default to "cloudsmith") + labelColor := "labelColor_example" // string | Override the shields.io badge labelColor value. (optional) (default to "021F2F") + logoColor := "logoColor_example" // string | Override the shields.io badge logoColor value. (optional) (default to "45B6EE") + logoWidth := "logoWidth_example" // string | Override the shields.io badge logoWidth value. (optional) (default to "10") + render := true // bool | If true, badge will be rendered (optional) (default to false) + shields := true // bool | If true, a shields response will be generated (optional) (default to false) + showLatest := true // bool | If true, for latest version badges a '(latest)' suffix is added (optional) (default to false) + style := "style_example" // string | Override the shields.io badge style value. (optional) (default to "flat-square") configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) @@ -86,16 +86,16 @@ Name | Type | Description | Notes **badgeToken** | **string** | Badge token to authenticate for private packages | - **cacheSeconds** | **string** | Override the shields.io badge cacheSeconds value. | - **color** | **string** | Override the shields.io badge color value. | - **label** | **string** | Override the shields.io badge label value. | - **labelColor** | **string** | Override the shields.io badge labelColor value. | - **logoColor** | **string** | Override the shields.io badge logoColor value. | - **logoWidth** | **string** | Override the shields.io badge logoWidth value. | - **render** | **bool** | If true, badge will be rendered | - **shields** | **bool** | If true, a shields response will be generated | - **showLatest** | **bool** | If true, for latest version badges a '(latest)' suffix is added | - **style** | **string** | Override the shields.io badge style value. | + **cacheSeconds** | **string** | Override the shields.io badge cacheSeconds value. | [default to "300"] + **color** | **string** | Override the shields.io badge color value. | [default to "12577E"] + **label** | **string** | Override the shields.io badge label value. | [default to "cloudsmith"] + **labelColor** | **string** | Override the shields.io badge labelColor value. | [default to "021F2F"] + **logoColor** | **string** | Override the shields.io badge logoColor value. | [default to "45B6EE"] + **logoWidth** | **string** | Override the shields.io badge logoWidth value. | [default to "10"] + **render** | **bool** | If true, badge will be rendered | [default to false] + **shields** | **bool** | If true, a shields response will be generated | [default to false] + **showLatest** | **bool** | If true, for latest version badges a '(latest)' suffix is added | [default to false] + **style** | **string** | Override the shields.io badge style value. | [default to "flat-square"] ### Return type @@ -108,7 +108,7 @@ Name | Type | Description | Notes ### HTTP request headers - **Content-Type**: Not defined -- **Accept**: */* +- **Accept**: application/json [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) diff --git a/docs/PackagesValidateUploadPython.md b/docs/CargoPackageUploadRequest.md similarity index 57% rename from docs/PackagesValidateUploadPython.md rename to docs/CargoPackageUploadRequest.md index 62de968b..acb1c6b5 100644 --- a/docs/PackagesValidateUploadPython.md +++ b/docs/CargoPackageUploadRequest.md @@ -1,4 +1,4 @@ -# PackagesValidateUploadPython +# CargoPackageUploadRequest ## Properties @@ -6,97 +6,107 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **PackageFile** | **string** | The primary file for the package. | **Republish** | Pointer to **bool** | If true, the uploaded package will overwrite any others with the same attributes (e.g. same version); otherwise, it will be flagged as a duplicate. | [optional] -**Tags** | Pointer to **string** | A comma-separated values list of tags to add to the package. | [optional] +**Tags** | Pointer to **NullableString** | A comma-separated values list of tags to add to the package. | [optional] ## Methods -### NewPackagesValidateUploadPython +### NewCargoPackageUploadRequest -`func NewPackagesValidateUploadPython(packageFile string, ) *PackagesValidateUploadPython` +`func NewCargoPackageUploadRequest(packageFile string, ) *CargoPackageUploadRequest` -NewPackagesValidateUploadPython instantiates a new PackagesValidateUploadPython object +NewCargoPackageUploadRequest instantiates a new CargoPackageUploadRequest object 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 -### NewPackagesValidateUploadPythonWithDefaults +### NewCargoPackageUploadRequestWithDefaults -`func NewPackagesValidateUploadPythonWithDefaults() *PackagesValidateUploadPython` +`func NewCargoPackageUploadRequestWithDefaults() *CargoPackageUploadRequest` -NewPackagesValidateUploadPythonWithDefaults instantiates a new PackagesValidateUploadPython object +NewCargoPackageUploadRequestWithDefaults instantiates a new CargoPackageUploadRequest object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set ### GetPackageFile -`func (o *PackagesValidateUploadPython) GetPackageFile() string` +`func (o *CargoPackageUploadRequest) GetPackageFile() string` GetPackageFile returns the PackageFile field if non-nil, zero value otherwise. ### GetPackageFileOk -`func (o *PackagesValidateUploadPython) GetPackageFileOk() (*string, bool)` +`func (o *CargoPackageUploadRequest) GetPackageFileOk() (*string, bool)` GetPackageFileOk returns a tuple with the PackageFile field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetPackageFile -`func (o *PackagesValidateUploadPython) SetPackageFile(v string)` +`func (o *CargoPackageUploadRequest) SetPackageFile(v string)` SetPackageFile sets PackageFile field to given value. ### GetRepublish -`func (o *PackagesValidateUploadPython) GetRepublish() bool` +`func (o *CargoPackageUploadRequest) GetRepublish() bool` GetRepublish returns the Republish field if non-nil, zero value otherwise. ### GetRepublishOk -`func (o *PackagesValidateUploadPython) GetRepublishOk() (*bool, bool)` +`func (o *CargoPackageUploadRequest) GetRepublishOk() (*bool, bool)` GetRepublishOk returns a tuple with the Republish field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetRepublish -`func (o *PackagesValidateUploadPython) SetRepublish(v bool)` +`func (o *CargoPackageUploadRequest) SetRepublish(v bool)` SetRepublish sets Republish field to given value. ### HasRepublish -`func (o *PackagesValidateUploadPython) HasRepublish() bool` +`func (o *CargoPackageUploadRequest) HasRepublish() bool` HasRepublish returns a boolean if a field has been set. ### GetTags -`func (o *PackagesValidateUploadPython) GetTags() string` +`func (o *CargoPackageUploadRequest) GetTags() string` GetTags returns the Tags field if non-nil, zero value otherwise. ### GetTagsOk -`func (o *PackagesValidateUploadPython) GetTagsOk() (*string, bool)` +`func (o *CargoPackageUploadRequest) GetTagsOk() (*string, bool)` GetTagsOk returns a tuple with the Tags field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetTags -`func (o *PackagesValidateUploadPython) SetTags(v string)` +`func (o *CargoPackageUploadRequest) SetTags(v string)` SetTags sets Tags field to given value. ### HasTags -`func (o *PackagesValidateUploadPython) HasTags() bool` +`func (o *CargoPackageUploadRequest) HasTags() bool` HasTags returns a boolean if a field has been set. +### SetTagsNil + +`func (o *CargoPackageUploadRequest) SetTagsNil(b bool)` + + SetTagsNil sets the value for Tags to be an explicit nil + +### UnsetTags +`func (o *CargoPackageUploadRequest) UnsetTags()` + +UnsetTags ensures that no value is present for Tags, 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/docs/NugetPackageUpload.md b/docs/CargoPackageUploadResponse.md similarity index 54% rename from docs/NugetPackageUpload.md rename to docs/CargoPackageUploadResponse.md index abbc218a..61ef8b90 100644 --- a/docs/NugetPackageUpload.md +++ b/docs/CargoPackageUploadResponse.md @@ -1,1742 +1,1834 @@ -# NugetPackageUpload +# CargoPackageUploadResponse ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**Architectures** | Pointer to [**[]PackagesOwnerRepoArchitectures**](PackagesOwnerRepoArchitectures.md) | | [optional] -**CdnUrl** | Pointer to **string** | | [optional] -**ChecksumMd5** | Pointer to **string** | | [optional] -**ChecksumSha1** | Pointer to **string** | | [optional] -**ChecksumSha256** | Pointer to **string** | | [optional] -**ChecksumSha512** | Pointer to **string** | | [optional] -**DependenciesChecksumMd5** | Pointer to **string** | A checksum of all of the package's dependencies. | [optional] -**DependenciesUrl** | Pointer to **string** | | [optional] -**Description** | Pointer to **string** | A textual description of this package. | [optional] -**Distro** | Pointer to **map[string]interface{}** | | [optional] -**DistroVersion** | Pointer to **map[string]interface{}** | | [optional] -**Downloads** | Pointer to **int64** | | [optional] -**Epoch** | Pointer to **int64** | The epoch of the package version (if any). | [optional] -**Extension** | Pointer to **string** | | [optional] -**Filename** | Pointer to **string** | | [optional] -**Files** | Pointer to [**[]PackagesOwnerRepoFiles**](PackagesOwnerRepoFiles.md) | | [optional] -**Format** | Pointer to **string** | | [optional] -**FormatUrl** | Pointer to **string** | | [optional] -**IdentifierPerm** | Pointer to **string** | Unique and permanent identifier for the package. | [optional] -**Indexed** | Pointer to **bool** | | [optional] -**IsDownloadable** | Pointer to **bool** | | [optional] -**IsQuarantined** | Pointer to **bool** | | [optional] -**IsSyncAwaiting** | Pointer to **bool** | | [optional] -**IsSyncCompleted** | Pointer to **bool** | | [optional] -**IsSyncFailed** | Pointer to **bool** | | [optional] -**IsSyncInFlight** | Pointer to **bool** | | [optional] -**IsSyncInProgress** | Pointer to **bool** | | [optional] -**License** | Pointer to **string** | The license of this package. | [optional] -**Name** | Pointer to **string** | The name of this package. | [optional] -**Namespace** | Pointer to **string** | | [optional] -**NamespaceUrl** | Pointer to **string** | | [optional] -**NumFiles** | Pointer to **int64** | | [optional] -**PackageType** | Pointer to **int64** | The type of package contents. | [optional] -**Release** | Pointer to **string** | The release of the package version (if any). | [optional] -**Repository** | Pointer to **string** | | [optional] -**RepositoryUrl** | Pointer to **string** | | [optional] -**SecurityScanCompletedAt** | Pointer to **string** | The datetime the security scanning was completed. | [optional] -**SecurityScanStartedAt** | Pointer to **string** | The datetime the security scanning was started. | [optional] -**SecurityScanStatus** | Pointer to **string** | | [optional] -**SecurityScanStatusUpdatedAt** | Pointer to **string** | The datetime the security scanning status was updated. | [optional] -**SelfHtmlUrl** | Pointer to **string** | | [optional] -**SelfUrl** | Pointer to **string** | | [optional] -**SignatureUrl** | Pointer to **string** | | [optional] -**Size** | Pointer to **int64** | The calculated size of the package. | [optional] -**Slug** | Pointer to **string** | The public unique identifier for the package. | [optional] -**SlugPerm** | Pointer to **string** | | [optional] -**Stage** | Pointer to **int64** | The synchronisation (in progress) stage of the package. | [optional] -**StageStr** | Pointer to **string** | | [optional] -**StageUpdatedAt** | Pointer to **string** | The datetime the package stage was updated at. | [optional] -**Status** | Pointer to **int64** | The synchronisation status of the package. | [optional] -**StatusReason** | Pointer to **string** | A textual description for the synchronous status reason (if any | [optional] -**StatusStr** | Pointer to **string** | | [optional] -**StatusUpdatedAt** | Pointer to **string** | The datetime the package status was updated at. | [optional] -**StatusUrl** | Pointer to **string** | | [optional] -**Subtype** | Pointer to **string** | | [optional] -**Summary** | Pointer to **string** | A one-liner synopsis of this package. | [optional] -**SyncFinishedAt** | Pointer to **string** | The datetime the package sync was finished at. | [optional] -**SyncProgress** | Pointer to **int64** | Synchronisation progress (from 0-100) | [optional] -**TagsImmutable** | Pointer to **map[string]interface{}** | All immutable tags on the package, grouped by tag type. Immutable tags cannot be (easily) deleted. | [optional] -**TypeDisplay** | Pointer to **string** | | [optional] -**UploadedAt** | Pointer to **string** | The date this package was uploaded. | [optional] -**Uploader** | Pointer to **string** | | [optional] -**UploaderUrl** | Pointer to **string** | | [optional] -**Version** | Pointer to **string** | The raw version for this package. | [optional] -**VersionOrig** | Pointer to **string** | | [optional] -**VulnerabilityScanResultsUrl** | Pointer to **string** | | [optional] +**Architectures** | Pointer to [**[]Architecture**](Architecture.md) | | [optional] [readonly] +**CdnUrl** | Pointer to **NullableString** | | [optional] [readonly] +**ChecksumMd5** | Pointer to **string** | | [optional] [readonly] +**ChecksumSha1** | Pointer to **string** | | [optional] [readonly] +**ChecksumSha256** | Pointer to **string** | | [optional] [readonly] +**ChecksumSha512** | Pointer to **string** | | [optional] [readonly] +**DependenciesChecksumMd5** | Pointer to **string** | A checksum of all of the package's dependencies. | [optional] [readonly] +**DependenciesUrl** | Pointer to **string** | | [optional] [readonly] +**Description** | Pointer to **string** | A textual description of this package. | [optional] [readonly] +**Distro** | Pointer to [**NullableDistribution**](Distribution.md) | | [optional] +**DistroVersion** | Pointer to [**DistributionVersion**](DistributionVersion.md) | | [optional] +**Downloads** | Pointer to **int64** | | [optional] [readonly] +**Epoch** | Pointer to **int64** | The epoch of the package version (if any). | [optional] [readonly] +**Extension** | Pointer to **string** | | [optional] [readonly] +**Filename** | Pointer to **string** | | [optional] [readonly] +**Files** | Pointer to [**[]PackageFile**](PackageFile.md) | | [optional] [readonly] +**Format** | Pointer to **string** | | [optional] [readonly] +**FormatUrl** | Pointer to **string** | | [optional] [readonly] +**IdentifierPerm** | Pointer to **string** | Unique and permanent identifier for the package. | [optional] [readonly] +**Indexed** | Pointer to **bool** | | [optional] [readonly] +**IsDownloadable** | Pointer to **bool** | | [optional] [readonly] +**IsQuarantined** | Pointer to **bool** | | [optional] [readonly] +**IsSyncAwaiting** | Pointer to **bool** | | [optional] [readonly] +**IsSyncCompleted** | Pointer to **bool** | | [optional] [readonly] +**IsSyncFailed** | Pointer to **bool** | | [optional] [readonly] +**IsSyncInFlight** | Pointer to **bool** | | [optional] [readonly] +**IsSyncInProgress** | Pointer to **bool** | | [optional] [readonly] +**License** | Pointer to **string** | The license of this package. | [optional] [readonly] +**Name** | Pointer to **string** | The name of this package. | [optional] [readonly] +**Namespace** | Pointer to **string** | | [optional] [readonly] +**NamespaceUrl** | Pointer to **string** | | [optional] [readonly] +**NumFiles** | Pointer to **int64** | | [optional] [readonly] +**OriginRepository** | Pointer to **string** | | [optional] [readonly] +**OriginRepositoryUrl** | Pointer to **string** | | [optional] [readonly] +**PackageType** | Pointer to **int64** | The type of package contents. | [optional] [readonly] +**Release** | Pointer to **string** | The release of the package version (if any). | [optional] [readonly] +**Repository** | Pointer to **string** | | [optional] [readonly] +**RepositoryUrl** | Pointer to **string** | | [optional] [readonly] +**SecurityScanCompletedAt** | Pointer to **time.Time** | The datetime the security scanning was completed. | [optional] [readonly] +**SecurityScanStartedAt** | Pointer to **time.Time** | The datetime the security scanning was started. | [optional] [readonly] +**SecurityScanStatus** | Pointer to **NullableString** | | [optional] [readonly] [default to "Awaiting Security Scan"] +**SecurityScanStatusUpdatedAt** | Pointer to **time.Time** | The datetime the security scanning status was updated. | [optional] [readonly] +**SelfHtmlUrl** | Pointer to **string** | | [optional] [readonly] +**SelfUrl** | Pointer to **string** | | [optional] [readonly] +**SignatureUrl** | Pointer to **NullableString** | | [optional] [readonly] +**Size** | Pointer to **int64** | The calculated size of the package. | [optional] [readonly] +**Slug** | Pointer to **string** | The public unique identifier for the package. | [optional] [readonly] +**SlugPerm** | Pointer to **string** | | [optional] [readonly] +**Stage** | Pointer to **int64** | The synchronisation (in progress) stage of the package. | [optional] [readonly] +**StageStr** | Pointer to **string** | | [optional] [readonly] +**StageUpdatedAt** | Pointer to **time.Time** | The datetime the package stage was updated at. | [optional] [readonly] +**Status** | Pointer to **int64** | The synchronisation status of the package. | [optional] [readonly] +**StatusReason** | Pointer to **string** | A textual description for the synchronous status reason (if any | [optional] [readonly] +**StatusStr** | Pointer to **string** | | [optional] [readonly] +**StatusUpdatedAt** | Pointer to **time.Time** | The datetime the package status was updated at. | [optional] [readonly] +**StatusUrl** | Pointer to **string** | | [optional] [readonly] +**Subtype** | Pointer to **string** | | [optional] [readonly] +**Summary** | Pointer to **string** | A one-liner synopsis of this package. | [optional] [readonly] +**SyncFinishedAt** | Pointer to **time.Time** | The datetime the package sync was finished at. | [optional] [readonly] +**SyncProgress** | Pointer to **int64** | Synchronisation progress (from 0-100) | [optional] [readonly] +**TagsImmutable** | Pointer to **map[string]interface{}** | All tags on the package, grouped by tag type. This includes immutable tags, but doesn't distinguish them from mutable. To see which tags are immutable specifically, see the tags_immutable field. | [optional] +**TypeDisplay** | Pointer to **string** | | [optional] [readonly] +**UploadedAt** | Pointer to **time.Time** | The date this package was uploaded. | [optional] [readonly] +**Uploader** | Pointer to **string** | | [optional] [readonly] +**UploaderUrl** | Pointer to **string** | | [optional] [readonly] +**Version** | Pointer to **string** | The raw version for this package. | [optional] [readonly] +**VersionOrig** | Pointer to **string** | | [optional] [readonly] +**VulnerabilityScanResultsUrl** | Pointer to **string** | | [optional] [readonly] ## Methods -### NewNugetPackageUpload +### NewCargoPackageUploadResponse -`func NewNugetPackageUpload() *NugetPackageUpload` +`func NewCargoPackageUploadResponse() *CargoPackageUploadResponse` -NewNugetPackageUpload instantiates a new NugetPackageUpload object +NewCargoPackageUploadResponse instantiates a new CargoPackageUploadResponse object 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 -### NewNugetPackageUploadWithDefaults +### NewCargoPackageUploadResponseWithDefaults -`func NewNugetPackageUploadWithDefaults() *NugetPackageUpload` +`func NewCargoPackageUploadResponseWithDefaults() *CargoPackageUploadResponse` -NewNugetPackageUploadWithDefaults instantiates a new NugetPackageUpload object +NewCargoPackageUploadResponseWithDefaults instantiates a new CargoPackageUploadResponse object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set ### GetArchitectures -`func (o *NugetPackageUpload) GetArchitectures() []PackagesOwnerRepoArchitectures` +`func (o *CargoPackageUploadResponse) GetArchitectures() []Architecture` GetArchitectures returns the Architectures field if non-nil, zero value otherwise. ### GetArchitecturesOk -`func (o *NugetPackageUpload) GetArchitecturesOk() (*[]PackagesOwnerRepoArchitectures, bool)` +`func (o *CargoPackageUploadResponse) GetArchitecturesOk() (*[]Architecture, bool)` GetArchitecturesOk returns a tuple with the Architectures field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetArchitectures -`func (o *NugetPackageUpload) SetArchitectures(v []PackagesOwnerRepoArchitectures)` +`func (o *CargoPackageUploadResponse) SetArchitectures(v []Architecture)` SetArchitectures sets Architectures field to given value. ### HasArchitectures -`func (o *NugetPackageUpload) HasArchitectures() bool` +`func (o *CargoPackageUploadResponse) HasArchitectures() bool` HasArchitectures returns a boolean if a field has been set. ### GetCdnUrl -`func (o *NugetPackageUpload) GetCdnUrl() string` +`func (o *CargoPackageUploadResponse) GetCdnUrl() string` GetCdnUrl returns the CdnUrl field if non-nil, zero value otherwise. ### GetCdnUrlOk -`func (o *NugetPackageUpload) GetCdnUrlOk() (*string, bool)` +`func (o *CargoPackageUploadResponse) GetCdnUrlOk() (*string, bool)` GetCdnUrlOk returns a tuple with the CdnUrl field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetCdnUrl -`func (o *NugetPackageUpload) SetCdnUrl(v string)` +`func (o *CargoPackageUploadResponse) SetCdnUrl(v string)` SetCdnUrl sets CdnUrl field to given value. ### HasCdnUrl -`func (o *NugetPackageUpload) HasCdnUrl() bool` +`func (o *CargoPackageUploadResponse) HasCdnUrl() bool` HasCdnUrl returns a boolean if a field has been set. +### SetCdnUrlNil + +`func (o *CargoPackageUploadResponse) SetCdnUrlNil(b bool)` + + SetCdnUrlNil sets the value for CdnUrl to be an explicit nil + +### UnsetCdnUrl +`func (o *CargoPackageUploadResponse) UnsetCdnUrl()` + +UnsetCdnUrl ensures that no value is present for CdnUrl, not even an explicit nil ### GetChecksumMd5 -`func (o *NugetPackageUpload) GetChecksumMd5() string` +`func (o *CargoPackageUploadResponse) GetChecksumMd5() string` GetChecksumMd5 returns the ChecksumMd5 field if non-nil, zero value otherwise. ### GetChecksumMd5Ok -`func (o *NugetPackageUpload) GetChecksumMd5Ok() (*string, bool)` +`func (o *CargoPackageUploadResponse) GetChecksumMd5Ok() (*string, bool)` GetChecksumMd5Ok returns a tuple with the ChecksumMd5 field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetChecksumMd5 -`func (o *NugetPackageUpload) SetChecksumMd5(v string)` +`func (o *CargoPackageUploadResponse) SetChecksumMd5(v string)` SetChecksumMd5 sets ChecksumMd5 field to given value. ### HasChecksumMd5 -`func (o *NugetPackageUpload) HasChecksumMd5() bool` +`func (o *CargoPackageUploadResponse) HasChecksumMd5() bool` HasChecksumMd5 returns a boolean if a field has been set. ### GetChecksumSha1 -`func (o *NugetPackageUpload) GetChecksumSha1() string` +`func (o *CargoPackageUploadResponse) GetChecksumSha1() string` GetChecksumSha1 returns the ChecksumSha1 field if non-nil, zero value otherwise. ### GetChecksumSha1Ok -`func (o *NugetPackageUpload) GetChecksumSha1Ok() (*string, bool)` +`func (o *CargoPackageUploadResponse) GetChecksumSha1Ok() (*string, bool)` GetChecksumSha1Ok returns a tuple with the ChecksumSha1 field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetChecksumSha1 -`func (o *NugetPackageUpload) SetChecksumSha1(v string)` +`func (o *CargoPackageUploadResponse) SetChecksumSha1(v string)` SetChecksumSha1 sets ChecksumSha1 field to given value. ### HasChecksumSha1 -`func (o *NugetPackageUpload) HasChecksumSha1() bool` +`func (o *CargoPackageUploadResponse) HasChecksumSha1() bool` HasChecksumSha1 returns a boolean if a field has been set. ### GetChecksumSha256 -`func (o *NugetPackageUpload) GetChecksumSha256() string` +`func (o *CargoPackageUploadResponse) GetChecksumSha256() string` GetChecksumSha256 returns the ChecksumSha256 field if non-nil, zero value otherwise. ### GetChecksumSha256Ok -`func (o *NugetPackageUpload) GetChecksumSha256Ok() (*string, bool)` +`func (o *CargoPackageUploadResponse) GetChecksumSha256Ok() (*string, bool)` GetChecksumSha256Ok returns a tuple with the ChecksumSha256 field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetChecksumSha256 -`func (o *NugetPackageUpload) SetChecksumSha256(v string)` +`func (o *CargoPackageUploadResponse) SetChecksumSha256(v string)` SetChecksumSha256 sets ChecksumSha256 field to given value. ### HasChecksumSha256 -`func (o *NugetPackageUpload) HasChecksumSha256() bool` +`func (o *CargoPackageUploadResponse) HasChecksumSha256() bool` HasChecksumSha256 returns a boolean if a field has been set. ### GetChecksumSha512 -`func (o *NugetPackageUpload) GetChecksumSha512() string` +`func (o *CargoPackageUploadResponse) GetChecksumSha512() string` GetChecksumSha512 returns the ChecksumSha512 field if non-nil, zero value otherwise. ### GetChecksumSha512Ok -`func (o *NugetPackageUpload) GetChecksumSha512Ok() (*string, bool)` +`func (o *CargoPackageUploadResponse) GetChecksumSha512Ok() (*string, bool)` GetChecksumSha512Ok returns a tuple with the ChecksumSha512 field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetChecksumSha512 -`func (o *NugetPackageUpload) SetChecksumSha512(v string)` +`func (o *CargoPackageUploadResponse) SetChecksumSha512(v string)` SetChecksumSha512 sets ChecksumSha512 field to given value. ### HasChecksumSha512 -`func (o *NugetPackageUpload) HasChecksumSha512() bool` +`func (o *CargoPackageUploadResponse) HasChecksumSha512() bool` HasChecksumSha512 returns a boolean if a field has been set. ### GetDependenciesChecksumMd5 -`func (o *NugetPackageUpload) GetDependenciesChecksumMd5() string` +`func (o *CargoPackageUploadResponse) GetDependenciesChecksumMd5() string` GetDependenciesChecksumMd5 returns the DependenciesChecksumMd5 field if non-nil, zero value otherwise. ### GetDependenciesChecksumMd5Ok -`func (o *NugetPackageUpload) GetDependenciesChecksumMd5Ok() (*string, bool)` +`func (o *CargoPackageUploadResponse) GetDependenciesChecksumMd5Ok() (*string, bool)` GetDependenciesChecksumMd5Ok returns a tuple with the DependenciesChecksumMd5 field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetDependenciesChecksumMd5 -`func (o *NugetPackageUpload) SetDependenciesChecksumMd5(v string)` +`func (o *CargoPackageUploadResponse) SetDependenciesChecksumMd5(v string)` SetDependenciesChecksumMd5 sets DependenciesChecksumMd5 field to given value. ### HasDependenciesChecksumMd5 -`func (o *NugetPackageUpload) HasDependenciesChecksumMd5() bool` +`func (o *CargoPackageUploadResponse) HasDependenciesChecksumMd5() bool` HasDependenciesChecksumMd5 returns a boolean if a field has been set. ### GetDependenciesUrl -`func (o *NugetPackageUpload) GetDependenciesUrl() string` +`func (o *CargoPackageUploadResponse) GetDependenciesUrl() string` GetDependenciesUrl returns the DependenciesUrl field if non-nil, zero value otherwise. ### GetDependenciesUrlOk -`func (o *NugetPackageUpload) GetDependenciesUrlOk() (*string, bool)` +`func (o *CargoPackageUploadResponse) GetDependenciesUrlOk() (*string, bool)` GetDependenciesUrlOk returns a tuple with the DependenciesUrl field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetDependenciesUrl -`func (o *NugetPackageUpload) SetDependenciesUrl(v string)` +`func (o *CargoPackageUploadResponse) SetDependenciesUrl(v string)` SetDependenciesUrl sets DependenciesUrl field to given value. ### HasDependenciesUrl -`func (o *NugetPackageUpload) HasDependenciesUrl() bool` +`func (o *CargoPackageUploadResponse) HasDependenciesUrl() bool` HasDependenciesUrl returns a boolean if a field has been set. ### GetDescription -`func (o *NugetPackageUpload) GetDescription() string` +`func (o *CargoPackageUploadResponse) GetDescription() string` GetDescription returns the Description field if non-nil, zero value otherwise. ### GetDescriptionOk -`func (o *NugetPackageUpload) GetDescriptionOk() (*string, bool)` +`func (o *CargoPackageUploadResponse) GetDescriptionOk() (*string, bool)` GetDescriptionOk returns a tuple with the Description field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetDescription -`func (o *NugetPackageUpload) SetDescription(v string)` +`func (o *CargoPackageUploadResponse) SetDescription(v string)` SetDescription sets Description field to given value. ### HasDescription -`func (o *NugetPackageUpload) HasDescription() bool` +`func (o *CargoPackageUploadResponse) HasDescription() bool` HasDescription returns a boolean if a field has been set. ### GetDistro -`func (o *NugetPackageUpload) GetDistro() map[string]interface{}` +`func (o *CargoPackageUploadResponse) GetDistro() Distribution` GetDistro returns the Distro field if non-nil, zero value otherwise. ### GetDistroOk -`func (o *NugetPackageUpload) GetDistroOk() (*map[string]interface{}, bool)` +`func (o *CargoPackageUploadResponse) GetDistroOk() (*Distribution, bool)` GetDistroOk returns a tuple with the Distro field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetDistro -`func (o *NugetPackageUpload) SetDistro(v map[string]interface{})` +`func (o *CargoPackageUploadResponse) SetDistro(v Distribution)` SetDistro sets Distro field to given value. ### HasDistro -`func (o *NugetPackageUpload) HasDistro() bool` +`func (o *CargoPackageUploadResponse) HasDistro() bool` HasDistro returns a boolean if a field has been set. +### SetDistroNil + +`func (o *CargoPackageUploadResponse) SetDistroNil(b bool)` + + SetDistroNil sets the value for Distro to be an explicit nil + +### UnsetDistro +`func (o *CargoPackageUploadResponse) UnsetDistro()` + +UnsetDistro ensures that no value is present for Distro, not even an explicit nil ### GetDistroVersion -`func (o *NugetPackageUpload) GetDistroVersion() map[string]interface{}` +`func (o *CargoPackageUploadResponse) GetDistroVersion() DistributionVersion` GetDistroVersion returns the DistroVersion field if non-nil, zero value otherwise. ### GetDistroVersionOk -`func (o *NugetPackageUpload) GetDistroVersionOk() (*map[string]interface{}, bool)` +`func (o *CargoPackageUploadResponse) GetDistroVersionOk() (*DistributionVersion, bool)` GetDistroVersionOk returns a tuple with the DistroVersion field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetDistroVersion -`func (o *NugetPackageUpload) SetDistroVersion(v map[string]interface{})` +`func (o *CargoPackageUploadResponse) SetDistroVersion(v DistributionVersion)` SetDistroVersion sets DistroVersion field to given value. ### HasDistroVersion -`func (o *NugetPackageUpload) HasDistroVersion() bool` +`func (o *CargoPackageUploadResponse) HasDistroVersion() bool` HasDistroVersion returns a boolean if a field has been set. ### GetDownloads -`func (o *NugetPackageUpload) GetDownloads() int64` +`func (o *CargoPackageUploadResponse) GetDownloads() int64` GetDownloads returns the Downloads field if non-nil, zero value otherwise. ### GetDownloadsOk -`func (o *NugetPackageUpload) GetDownloadsOk() (*int64, bool)` +`func (o *CargoPackageUploadResponse) GetDownloadsOk() (*int64, bool)` GetDownloadsOk returns a tuple with the Downloads field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetDownloads -`func (o *NugetPackageUpload) SetDownloads(v int64)` +`func (o *CargoPackageUploadResponse) SetDownloads(v int64)` SetDownloads sets Downloads field to given value. ### HasDownloads -`func (o *NugetPackageUpload) HasDownloads() bool` +`func (o *CargoPackageUploadResponse) HasDownloads() bool` HasDownloads returns a boolean if a field has been set. ### GetEpoch -`func (o *NugetPackageUpload) GetEpoch() int64` +`func (o *CargoPackageUploadResponse) GetEpoch() int64` GetEpoch returns the Epoch field if non-nil, zero value otherwise. ### GetEpochOk -`func (o *NugetPackageUpload) GetEpochOk() (*int64, bool)` +`func (o *CargoPackageUploadResponse) GetEpochOk() (*int64, bool)` GetEpochOk returns a tuple with the Epoch field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetEpoch -`func (o *NugetPackageUpload) SetEpoch(v int64)` +`func (o *CargoPackageUploadResponse) SetEpoch(v int64)` SetEpoch sets Epoch field to given value. ### HasEpoch -`func (o *NugetPackageUpload) HasEpoch() bool` +`func (o *CargoPackageUploadResponse) HasEpoch() bool` HasEpoch returns a boolean if a field has been set. ### GetExtension -`func (o *NugetPackageUpload) GetExtension() string` +`func (o *CargoPackageUploadResponse) GetExtension() string` GetExtension returns the Extension field if non-nil, zero value otherwise. ### GetExtensionOk -`func (o *NugetPackageUpload) GetExtensionOk() (*string, bool)` +`func (o *CargoPackageUploadResponse) GetExtensionOk() (*string, bool)` GetExtensionOk returns a tuple with the Extension field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetExtension -`func (o *NugetPackageUpload) SetExtension(v string)` +`func (o *CargoPackageUploadResponse) SetExtension(v string)` SetExtension sets Extension field to given value. ### HasExtension -`func (o *NugetPackageUpload) HasExtension() bool` +`func (o *CargoPackageUploadResponse) HasExtension() bool` HasExtension returns a boolean if a field has been set. ### GetFilename -`func (o *NugetPackageUpload) GetFilename() string` +`func (o *CargoPackageUploadResponse) GetFilename() string` GetFilename returns the Filename field if non-nil, zero value otherwise. ### GetFilenameOk -`func (o *NugetPackageUpload) GetFilenameOk() (*string, bool)` +`func (o *CargoPackageUploadResponse) GetFilenameOk() (*string, bool)` GetFilenameOk returns a tuple with the Filename field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetFilename -`func (o *NugetPackageUpload) SetFilename(v string)` +`func (o *CargoPackageUploadResponse) SetFilename(v string)` SetFilename sets Filename field to given value. ### HasFilename -`func (o *NugetPackageUpload) HasFilename() bool` +`func (o *CargoPackageUploadResponse) HasFilename() bool` HasFilename returns a boolean if a field has been set. ### GetFiles -`func (o *NugetPackageUpload) GetFiles() []PackagesOwnerRepoFiles` +`func (o *CargoPackageUploadResponse) GetFiles() []PackageFile` GetFiles returns the Files field if non-nil, zero value otherwise. ### GetFilesOk -`func (o *NugetPackageUpload) GetFilesOk() (*[]PackagesOwnerRepoFiles, bool)` +`func (o *CargoPackageUploadResponse) GetFilesOk() (*[]PackageFile, 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 *NugetPackageUpload) SetFiles(v []PackagesOwnerRepoFiles)` +`func (o *CargoPackageUploadResponse) SetFiles(v []PackageFile)` SetFiles sets Files field to given value. ### HasFiles -`func (o *NugetPackageUpload) HasFiles() bool` +`func (o *CargoPackageUploadResponse) HasFiles() bool` HasFiles returns a boolean if a field has been set. ### GetFormat -`func (o *NugetPackageUpload) GetFormat() string` +`func (o *CargoPackageUploadResponse) GetFormat() string` GetFormat returns the Format field if non-nil, zero value otherwise. ### GetFormatOk -`func (o *NugetPackageUpload) GetFormatOk() (*string, bool)` +`func (o *CargoPackageUploadResponse) GetFormatOk() (*string, bool)` GetFormatOk returns a tuple with the Format field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetFormat -`func (o *NugetPackageUpload) SetFormat(v string)` +`func (o *CargoPackageUploadResponse) SetFormat(v string)` SetFormat sets Format field to given value. ### HasFormat -`func (o *NugetPackageUpload) HasFormat() bool` +`func (o *CargoPackageUploadResponse) HasFormat() bool` HasFormat returns a boolean if a field has been set. ### GetFormatUrl -`func (o *NugetPackageUpload) GetFormatUrl() string` +`func (o *CargoPackageUploadResponse) GetFormatUrl() string` GetFormatUrl returns the FormatUrl field if non-nil, zero value otherwise. ### GetFormatUrlOk -`func (o *NugetPackageUpload) GetFormatUrlOk() (*string, bool)` +`func (o *CargoPackageUploadResponse) GetFormatUrlOk() (*string, bool)` GetFormatUrlOk returns a tuple with the FormatUrl field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetFormatUrl -`func (o *NugetPackageUpload) SetFormatUrl(v string)` +`func (o *CargoPackageUploadResponse) SetFormatUrl(v string)` SetFormatUrl sets FormatUrl field to given value. ### HasFormatUrl -`func (o *NugetPackageUpload) HasFormatUrl() bool` +`func (o *CargoPackageUploadResponse) HasFormatUrl() bool` HasFormatUrl returns a boolean if a field has been set. ### GetIdentifierPerm -`func (o *NugetPackageUpload) GetIdentifierPerm() string` +`func (o *CargoPackageUploadResponse) GetIdentifierPerm() string` GetIdentifierPerm returns the IdentifierPerm field if non-nil, zero value otherwise. ### GetIdentifierPermOk -`func (o *NugetPackageUpload) GetIdentifierPermOk() (*string, bool)` +`func (o *CargoPackageUploadResponse) GetIdentifierPermOk() (*string, bool)` GetIdentifierPermOk returns a tuple with the IdentifierPerm field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetIdentifierPerm -`func (o *NugetPackageUpload) SetIdentifierPerm(v string)` +`func (o *CargoPackageUploadResponse) SetIdentifierPerm(v string)` SetIdentifierPerm sets IdentifierPerm field to given value. ### HasIdentifierPerm -`func (o *NugetPackageUpload) HasIdentifierPerm() bool` +`func (o *CargoPackageUploadResponse) HasIdentifierPerm() bool` HasIdentifierPerm returns a boolean if a field has been set. ### GetIndexed -`func (o *NugetPackageUpload) GetIndexed() bool` +`func (o *CargoPackageUploadResponse) GetIndexed() bool` GetIndexed returns the Indexed field if non-nil, zero value otherwise. ### GetIndexedOk -`func (o *NugetPackageUpload) GetIndexedOk() (*bool, bool)` +`func (o *CargoPackageUploadResponse) GetIndexedOk() (*bool, bool)` GetIndexedOk returns a tuple with the Indexed field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetIndexed -`func (o *NugetPackageUpload) SetIndexed(v bool)` +`func (o *CargoPackageUploadResponse) SetIndexed(v bool)` SetIndexed sets Indexed field to given value. ### HasIndexed -`func (o *NugetPackageUpload) HasIndexed() bool` +`func (o *CargoPackageUploadResponse) HasIndexed() bool` HasIndexed returns a boolean if a field has been set. ### GetIsDownloadable -`func (o *NugetPackageUpload) GetIsDownloadable() bool` +`func (o *CargoPackageUploadResponse) GetIsDownloadable() bool` GetIsDownloadable returns the IsDownloadable field if non-nil, zero value otherwise. ### GetIsDownloadableOk -`func (o *NugetPackageUpload) GetIsDownloadableOk() (*bool, bool)` +`func (o *CargoPackageUploadResponse) GetIsDownloadableOk() (*bool, bool)` GetIsDownloadableOk returns a tuple with the IsDownloadable field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetIsDownloadable -`func (o *NugetPackageUpload) SetIsDownloadable(v bool)` +`func (o *CargoPackageUploadResponse) SetIsDownloadable(v bool)` SetIsDownloadable sets IsDownloadable field to given value. ### HasIsDownloadable -`func (o *NugetPackageUpload) HasIsDownloadable() bool` +`func (o *CargoPackageUploadResponse) HasIsDownloadable() bool` HasIsDownloadable returns a boolean if a field has been set. ### GetIsQuarantined -`func (o *NugetPackageUpload) GetIsQuarantined() bool` +`func (o *CargoPackageUploadResponse) GetIsQuarantined() bool` GetIsQuarantined returns the IsQuarantined field if non-nil, zero value otherwise. ### GetIsQuarantinedOk -`func (o *NugetPackageUpload) GetIsQuarantinedOk() (*bool, bool)` +`func (o *CargoPackageUploadResponse) GetIsQuarantinedOk() (*bool, bool)` GetIsQuarantinedOk returns a tuple with the IsQuarantined field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetIsQuarantined -`func (o *NugetPackageUpload) SetIsQuarantined(v bool)` +`func (o *CargoPackageUploadResponse) SetIsQuarantined(v bool)` SetIsQuarantined sets IsQuarantined field to given value. ### HasIsQuarantined -`func (o *NugetPackageUpload) HasIsQuarantined() bool` +`func (o *CargoPackageUploadResponse) HasIsQuarantined() bool` HasIsQuarantined returns a boolean if a field has been set. ### GetIsSyncAwaiting -`func (o *NugetPackageUpload) GetIsSyncAwaiting() bool` +`func (o *CargoPackageUploadResponse) GetIsSyncAwaiting() bool` GetIsSyncAwaiting returns the IsSyncAwaiting field if non-nil, zero value otherwise. ### GetIsSyncAwaitingOk -`func (o *NugetPackageUpload) GetIsSyncAwaitingOk() (*bool, bool)` +`func (o *CargoPackageUploadResponse) GetIsSyncAwaitingOk() (*bool, bool)` GetIsSyncAwaitingOk returns a tuple with the IsSyncAwaiting field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetIsSyncAwaiting -`func (o *NugetPackageUpload) SetIsSyncAwaiting(v bool)` +`func (o *CargoPackageUploadResponse) SetIsSyncAwaiting(v bool)` SetIsSyncAwaiting sets IsSyncAwaiting field to given value. ### HasIsSyncAwaiting -`func (o *NugetPackageUpload) HasIsSyncAwaiting() bool` +`func (o *CargoPackageUploadResponse) HasIsSyncAwaiting() bool` HasIsSyncAwaiting returns a boolean if a field has been set. ### GetIsSyncCompleted -`func (o *NugetPackageUpload) GetIsSyncCompleted() bool` +`func (o *CargoPackageUploadResponse) GetIsSyncCompleted() bool` GetIsSyncCompleted returns the IsSyncCompleted field if non-nil, zero value otherwise. ### GetIsSyncCompletedOk -`func (o *NugetPackageUpload) GetIsSyncCompletedOk() (*bool, bool)` +`func (o *CargoPackageUploadResponse) GetIsSyncCompletedOk() (*bool, bool)` GetIsSyncCompletedOk returns a tuple with the IsSyncCompleted field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetIsSyncCompleted -`func (o *NugetPackageUpload) SetIsSyncCompleted(v bool)` +`func (o *CargoPackageUploadResponse) SetIsSyncCompleted(v bool)` SetIsSyncCompleted sets IsSyncCompleted field to given value. ### HasIsSyncCompleted -`func (o *NugetPackageUpload) HasIsSyncCompleted() bool` +`func (o *CargoPackageUploadResponse) HasIsSyncCompleted() bool` HasIsSyncCompleted returns a boolean if a field has been set. ### GetIsSyncFailed -`func (o *NugetPackageUpload) GetIsSyncFailed() bool` +`func (o *CargoPackageUploadResponse) GetIsSyncFailed() bool` GetIsSyncFailed returns the IsSyncFailed field if non-nil, zero value otherwise. ### GetIsSyncFailedOk -`func (o *NugetPackageUpload) GetIsSyncFailedOk() (*bool, bool)` +`func (o *CargoPackageUploadResponse) GetIsSyncFailedOk() (*bool, bool)` GetIsSyncFailedOk returns a tuple with the IsSyncFailed field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetIsSyncFailed -`func (o *NugetPackageUpload) SetIsSyncFailed(v bool)` +`func (o *CargoPackageUploadResponse) SetIsSyncFailed(v bool)` SetIsSyncFailed sets IsSyncFailed field to given value. ### HasIsSyncFailed -`func (o *NugetPackageUpload) HasIsSyncFailed() bool` +`func (o *CargoPackageUploadResponse) HasIsSyncFailed() bool` HasIsSyncFailed returns a boolean if a field has been set. ### GetIsSyncInFlight -`func (o *NugetPackageUpload) GetIsSyncInFlight() bool` +`func (o *CargoPackageUploadResponse) GetIsSyncInFlight() bool` GetIsSyncInFlight returns the IsSyncInFlight field if non-nil, zero value otherwise. ### GetIsSyncInFlightOk -`func (o *NugetPackageUpload) GetIsSyncInFlightOk() (*bool, bool)` +`func (o *CargoPackageUploadResponse) GetIsSyncInFlightOk() (*bool, bool)` GetIsSyncInFlightOk returns a tuple with the IsSyncInFlight field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetIsSyncInFlight -`func (o *NugetPackageUpload) SetIsSyncInFlight(v bool)` +`func (o *CargoPackageUploadResponse) SetIsSyncInFlight(v bool)` SetIsSyncInFlight sets IsSyncInFlight field to given value. ### HasIsSyncInFlight -`func (o *NugetPackageUpload) HasIsSyncInFlight() bool` +`func (o *CargoPackageUploadResponse) HasIsSyncInFlight() bool` HasIsSyncInFlight returns a boolean if a field has been set. ### GetIsSyncInProgress -`func (o *NugetPackageUpload) GetIsSyncInProgress() bool` +`func (o *CargoPackageUploadResponse) GetIsSyncInProgress() bool` GetIsSyncInProgress returns the IsSyncInProgress field if non-nil, zero value otherwise. ### GetIsSyncInProgressOk -`func (o *NugetPackageUpload) GetIsSyncInProgressOk() (*bool, bool)` +`func (o *CargoPackageUploadResponse) GetIsSyncInProgressOk() (*bool, bool)` GetIsSyncInProgressOk returns a tuple with the IsSyncInProgress field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetIsSyncInProgress -`func (o *NugetPackageUpload) SetIsSyncInProgress(v bool)` +`func (o *CargoPackageUploadResponse) SetIsSyncInProgress(v bool)` SetIsSyncInProgress sets IsSyncInProgress field to given value. ### HasIsSyncInProgress -`func (o *NugetPackageUpload) HasIsSyncInProgress() bool` +`func (o *CargoPackageUploadResponse) HasIsSyncInProgress() bool` HasIsSyncInProgress returns a boolean if a field has been set. ### GetLicense -`func (o *NugetPackageUpload) GetLicense() string` +`func (o *CargoPackageUploadResponse) GetLicense() string` GetLicense returns the License field if non-nil, zero value otherwise. ### GetLicenseOk -`func (o *NugetPackageUpload) GetLicenseOk() (*string, bool)` +`func (o *CargoPackageUploadResponse) GetLicenseOk() (*string, bool)` GetLicenseOk returns a tuple with the License field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetLicense -`func (o *NugetPackageUpload) SetLicense(v string)` +`func (o *CargoPackageUploadResponse) SetLicense(v string)` SetLicense sets License field to given value. ### HasLicense -`func (o *NugetPackageUpload) HasLicense() bool` +`func (o *CargoPackageUploadResponse) HasLicense() bool` HasLicense returns a boolean if a field has been set. ### GetName -`func (o *NugetPackageUpload) GetName() string` +`func (o *CargoPackageUploadResponse) GetName() string` GetName returns the Name field if non-nil, zero value otherwise. ### GetNameOk -`func (o *NugetPackageUpload) GetNameOk() (*string, bool)` +`func (o *CargoPackageUploadResponse) GetNameOk() (*string, bool)` 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. ### SetName -`func (o *NugetPackageUpload) SetName(v string)` +`func (o *CargoPackageUploadResponse) SetName(v string)` SetName sets Name field to given value. ### HasName -`func (o *NugetPackageUpload) HasName() bool` +`func (o *CargoPackageUploadResponse) HasName() bool` HasName returns a boolean if a field has been set. ### GetNamespace -`func (o *NugetPackageUpload) GetNamespace() string` +`func (o *CargoPackageUploadResponse) GetNamespace() string` GetNamespace returns the Namespace field if non-nil, zero value otherwise. ### GetNamespaceOk -`func (o *NugetPackageUpload) GetNamespaceOk() (*string, bool)` +`func (o *CargoPackageUploadResponse) GetNamespaceOk() (*string, bool)` GetNamespaceOk returns a tuple with the Namespace field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetNamespace -`func (o *NugetPackageUpload) SetNamespace(v string)` +`func (o *CargoPackageUploadResponse) SetNamespace(v string)` SetNamespace sets Namespace field to given value. ### HasNamespace -`func (o *NugetPackageUpload) HasNamespace() bool` +`func (o *CargoPackageUploadResponse) HasNamespace() bool` HasNamespace returns a boolean if a field has been set. ### GetNamespaceUrl -`func (o *NugetPackageUpload) GetNamespaceUrl() string` +`func (o *CargoPackageUploadResponse) GetNamespaceUrl() string` GetNamespaceUrl returns the NamespaceUrl field if non-nil, zero value otherwise. ### GetNamespaceUrlOk -`func (o *NugetPackageUpload) GetNamespaceUrlOk() (*string, bool)` +`func (o *CargoPackageUploadResponse) GetNamespaceUrlOk() (*string, bool)` GetNamespaceUrlOk returns a tuple with the NamespaceUrl field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetNamespaceUrl -`func (o *NugetPackageUpload) SetNamespaceUrl(v string)` +`func (o *CargoPackageUploadResponse) SetNamespaceUrl(v string)` SetNamespaceUrl sets NamespaceUrl field to given value. ### HasNamespaceUrl -`func (o *NugetPackageUpload) HasNamespaceUrl() bool` +`func (o *CargoPackageUploadResponse) HasNamespaceUrl() bool` HasNamespaceUrl returns a boolean if a field has been set. ### GetNumFiles -`func (o *NugetPackageUpload) GetNumFiles() int64` +`func (o *CargoPackageUploadResponse) GetNumFiles() int64` GetNumFiles returns the NumFiles field if non-nil, zero value otherwise. ### GetNumFilesOk -`func (o *NugetPackageUpload) GetNumFilesOk() (*int64, bool)` +`func (o *CargoPackageUploadResponse) GetNumFilesOk() (*int64, bool)` GetNumFilesOk returns a tuple with the NumFiles field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetNumFiles -`func (o *NugetPackageUpload) SetNumFiles(v int64)` +`func (o *CargoPackageUploadResponse) SetNumFiles(v int64)` SetNumFiles sets NumFiles field to given value. ### HasNumFiles -`func (o *NugetPackageUpload) HasNumFiles() bool` +`func (o *CargoPackageUploadResponse) HasNumFiles() bool` HasNumFiles returns a boolean if a field has been set. +### GetOriginRepository + +`func (o *CargoPackageUploadResponse) GetOriginRepository() string` + +GetOriginRepository returns the OriginRepository field if non-nil, zero value otherwise. + +### GetOriginRepositoryOk + +`func (o *CargoPackageUploadResponse) GetOriginRepositoryOk() (*string, bool)` + +GetOriginRepositoryOk returns a tuple with the OriginRepository field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetOriginRepository + +`func (o *CargoPackageUploadResponse) SetOriginRepository(v string)` + +SetOriginRepository sets OriginRepository field to given value. + +### HasOriginRepository + +`func (o *CargoPackageUploadResponse) HasOriginRepository() bool` + +HasOriginRepository returns a boolean if a field has been set. + +### GetOriginRepositoryUrl + +`func (o *CargoPackageUploadResponse) GetOriginRepositoryUrl() string` + +GetOriginRepositoryUrl returns the OriginRepositoryUrl field if non-nil, zero value otherwise. + +### GetOriginRepositoryUrlOk + +`func (o *CargoPackageUploadResponse) GetOriginRepositoryUrlOk() (*string, bool)` + +GetOriginRepositoryUrlOk returns a tuple with the OriginRepositoryUrl field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetOriginRepositoryUrl + +`func (o *CargoPackageUploadResponse) SetOriginRepositoryUrl(v string)` + +SetOriginRepositoryUrl sets OriginRepositoryUrl field to given value. + +### HasOriginRepositoryUrl + +`func (o *CargoPackageUploadResponse) HasOriginRepositoryUrl() bool` + +HasOriginRepositoryUrl returns a boolean if a field has been set. + ### GetPackageType -`func (o *NugetPackageUpload) GetPackageType() int64` +`func (o *CargoPackageUploadResponse) GetPackageType() int64` GetPackageType returns the PackageType field if non-nil, zero value otherwise. ### GetPackageTypeOk -`func (o *NugetPackageUpload) GetPackageTypeOk() (*int64, bool)` +`func (o *CargoPackageUploadResponse) GetPackageTypeOk() (*int64, bool)` GetPackageTypeOk returns a tuple with the PackageType field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetPackageType -`func (o *NugetPackageUpload) SetPackageType(v int64)` +`func (o *CargoPackageUploadResponse) SetPackageType(v int64)` SetPackageType sets PackageType field to given value. ### HasPackageType -`func (o *NugetPackageUpload) HasPackageType() bool` +`func (o *CargoPackageUploadResponse) HasPackageType() bool` HasPackageType returns a boolean if a field has been set. ### GetRelease -`func (o *NugetPackageUpload) GetRelease() string` +`func (o *CargoPackageUploadResponse) GetRelease() string` GetRelease returns the Release field if non-nil, zero value otherwise. ### GetReleaseOk -`func (o *NugetPackageUpload) GetReleaseOk() (*string, bool)` +`func (o *CargoPackageUploadResponse) GetReleaseOk() (*string, bool)` GetReleaseOk returns a tuple with the Release field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetRelease -`func (o *NugetPackageUpload) SetRelease(v string)` +`func (o *CargoPackageUploadResponse) SetRelease(v string)` SetRelease sets Release field to given value. ### HasRelease -`func (o *NugetPackageUpload) HasRelease() bool` +`func (o *CargoPackageUploadResponse) HasRelease() bool` HasRelease returns a boolean if a field has been set. ### GetRepository -`func (o *NugetPackageUpload) GetRepository() string` +`func (o *CargoPackageUploadResponse) GetRepository() string` GetRepository returns the Repository field if non-nil, zero value otherwise. ### GetRepositoryOk -`func (o *NugetPackageUpload) GetRepositoryOk() (*string, bool)` +`func (o *CargoPackageUploadResponse) GetRepositoryOk() (*string, bool)` GetRepositoryOk returns a tuple with the Repository field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetRepository -`func (o *NugetPackageUpload) SetRepository(v string)` +`func (o *CargoPackageUploadResponse) SetRepository(v string)` SetRepository sets Repository field to given value. ### HasRepository -`func (o *NugetPackageUpload) HasRepository() bool` +`func (o *CargoPackageUploadResponse) HasRepository() bool` HasRepository returns a boolean if a field has been set. ### GetRepositoryUrl -`func (o *NugetPackageUpload) GetRepositoryUrl() string` +`func (o *CargoPackageUploadResponse) GetRepositoryUrl() string` GetRepositoryUrl returns the RepositoryUrl field if non-nil, zero value otherwise. ### GetRepositoryUrlOk -`func (o *NugetPackageUpload) GetRepositoryUrlOk() (*string, bool)` +`func (o *CargoPackageUploadResponse) GetRepositoryUrlOk() (*string, bool)` GetRepositoryUrlOk returns a tuple with the RepositoryUrl field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetRepositoryUrl -`func (o *NugetPackageUpload) SetRepositoryUrl(v string)` +`func (o *CargoPackageUploadResponse) SetRepositoryUrl(v string)` SetRepositoryUrl sets RepositoryUrl field to given value. ### HasRepositoryUrl -`func (o *NugetPackageUpload) HasRepositoryUrl() bool` +`func (o *CargoPackageUploadResponse) HasRepositoryUrl() bool` HasRepositoryUrl returns a boolean if a field has been set. ### GetSecurityScanCompletedAt -`func (o *NugetPackageUpload) GetSecurityScanCompletedAt() string` +`func (o *CargoPackageUploadResponse) GetSecurityScanCompletedAt() time.Time` GetSecurityScanCompletedAt returns the SecurityScanCompletedAt field if non-nil, zero value otherwise. ### GetSecurityScanCompletedAtOk -`func (o *NugetPackageUpload) GetSecurityScanCompletedAtOk() (*string, bool)` +`func (o *CargoPackageUploadResponse) GetSecurityScanCompletedAtOk() (*time.Time, bool)` GetSecurityScanCompletedAtOk returns a tuple with the SecurityScanCompletedAt field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetSecurityScanCompletedAt -`func (o *NugetPackageUpload) SetSecurityScanCompletedAt(v string)` +`func (o *CargoPackageUploadResponse) SetSecurityScanCompletedAt(v time.Time)` SetSecurityScanCompletedAt sets SecurityScanCompletedAt field to given value. ### HasSecurityScanCompletedAt -`func (o *NugetPackageUpload) HasSecurityScanCompletedAt() bool` +`func (o *CargoPackageUploadResponse) HasSecurityScanCompletedAt() bool` HasSecurityScanCompletedAt returns a boolean if a field has been set. ### GetSecurityScanStartedAt -`func (o *NugetPackageUpload) GetSecurityScanStartedAt() string` +`func (o *CargoPackageUploadResponse) GetSecurityScanStartedAt() time.Time` GetSecurityScanStartedAt returns the SecurityScanStartedAt field if non-nil, zero value otherwise. ### GetSecurityScanStartedAtOk -`func (o *NugetPackageUpload) GetSecurityScanStartedAtOk() (*string, bool)` +`func (o *CargoPackageUploadResponse) GetSecurityScanStartedAtOk() (*time.Time, bool)` GetSecurityScanStartedAtOk returns a tuple with the SecurityScanStartedAt field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetSecurityScanStartedAt -`func (o *NugetPackageUpload) SetSecurityScanStartedAt(v string)` +`func (o *CargoPackageUploadResponse) SetSecurityScanStartedAt(v time.Time)` SetSecurityScanStartedAt sets SecurityScanStartedAt field to given value. ### HasSecurityScanStartedAt -`func (o *NugetPackageUpload) HasSecurityScanStartedAt() bool` +`func (o *CargoPackageUploadResponse) HasSecurityScanStartedAt() bool` HasSecurityScanStartedAt returns a boolean if a field has been set. ### GetSecurityScanStatus -`func (o *NugetPackageUpload) GetSecurityScanStatus() string` +`func (o *CargoPackageUploadResponse) GetSecurityScanStatus() string` GetSecurityScanStatus returns the SecurityScanStatus field if non-nil, zero value otherwise. ### GetSecurityScanStatusOk -`func (o *NugetPackageUpload) GetSecurityScanStatusOk() (*string, bool)` +`func (o *CargoPackageUploadResponse) GetSecurityScanStatusOk() (*string, bool)` GetSecurityScanStatusOk returns a tuple with the SecurityScanStatus field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetSecurityScanStatus -`func (o *NugetPackageUpload) SetSecurityScanStatus(v string)` +`func (o *CargoPackageUploadResponse) SetSecurityScanStatus(v string)` SetSecurityScanStatus sets SecurityScanStatus field to given value. ### HasSecurityScanStatus -`func (o *NugetPackageUpload) HasSecurityScanStatus() bool` +`func (o *CargoPackageUploadResponse) HasSecurityScanStatus() bool` HasSecurityScanStatus returns a boolean if a field has been set. +### SetSecurityScanStatusNil + +`func (o *CargoPackageUploadResponse) SetSecurityScanStatusNil(b bool)` + + SetSecurityScanStatusNil sets the value for SecurityScanStatus to be an explicit nil + +### UnsetSecurityScanStatus +`func (o *CargoPackageUploadResponse) UnsetSecurityScanStatus()` + +UnsetSecurityScanStatus ensures that no value is present for SecurityScanStatus, not even an explicit nil ### GetSecurityScanStatusUpdatedAt -`func (o *NugetPackageUpload) GetSecurityScanStatusUpdatedAt() string` +`func (o *CargoPackageUploadResponse) GetSecurityScanStatusUpdatedAt() time.Time` GetSecurityScanStatusUpdatedAt returns the SecurityScanStatusUpdatedAt field if non-nil, zero value otherwise. ### GetSecurityScanStatusUpdatedAtOk -`func (o *NugetPackageUpload) GetSecurityScanStatusUpdatedAtOk() (*string, bool)` +`func (o *CargoPackageUploadResponse) GetSecurityScanStatusUpdatedAtOk() (*time.Time, bool)` GetSecurityScanStatusUpdatedAtOk returns a tuple with the SecurityScanStatusUpdatedAt field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetSecurityScanStatusUpdatedAt -`func (o *NugetPackageUpload) SetSecurityScanStatusUpdatedAt(v string)` +`func (o *CargoPackageUploadResponse) SetSecurityScanStatusUpdatedAt(v time.Time)` SetSecurityScanStatusUpdatedAt sets SecurityScanStatusUpdatedAt field to given value. ### HasSecurityScanStatusUpdatedAt -`func (o *NugetPackageUpload) HasSecurityScanStatusUpdatedAt() bool` +`func (o *CargoPackageUploadResponse) HasSecurityScanStatusUpdatedAt() bool` HasSecurityScanStatusUpdatedAt returns a boolean if a field has been set. ### GetSelfHtmlUrl -`func (o *NugetPackageUpload) GetSelfHtmlUrl() string` +`func (o *CargoPackageUploadResponse) GetSelfHtmlUrl() string` GetSelfHtmlUrl returns the SelfHtmlUrl field if non-nil, zero value otherwise. ### GetSelfHtmlUrlOk -`func (o *NugetPackageUpload) GetSelfHtmlUrlOk() (*string, bool)` +`func (o *CargoPackageUploadResponse) GetSelfHtmlUrlOk() (*string, bool)` GetSelfHtmlUrlOk returns a tuple with the SelfHtmlUrl field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetSelfHtmlUrl -`func (o *NugetPackageUpload) SetSelfHtmlUrl(v string)` +`func (o *CargoPackageUploadResponse) SetSelfHtmlUrl(v string)` SetSelfHtmlUrl sets SelfHtmlUrl field to given value. ### HasSelfHtmlUrl -`func (o *NugetPackageUpload) HasSelfHtmlUrl() bool` +`func (o *CargoPackageUploadResponse) HasSelfHtmlUrl() bool` HasSelfHtmlUrl returns a boolean if a field has been set. ### GetSelfUrl -`func (o *NugetPackageUpload) GetSelfUrl() string` +`func (o *CargoPackageUploadResponse) GetSelfUrl() string` GetSelfUrl returns the SelfUrl field if non-nil, zero value otherwise. ### GetSelfUrlOk -`func (o *NugetPackageUpload) GetSelfUrlOk() (*string, bool)` +`func (o *CargoPackageUploadResponse) GetSelfUrlOk() (*string, bool)` GetSelfUrlOk returns a tuple with the SelfUrl field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetSelfUrl -`func (o *NugetPackageUpload) SetSelfUrl(v string)` +`func (o *CargoPackageUploadResponse) SetSelfUrl(v string)` SetSelfUrl sets SelfUrl field to given value. ### HasSelfUrl -`func (o *NugetPackageUpload) HasSelfUrl() bool` +`func (o *CargoPackageUploadResponse) HasSelfUrl() bool` HasSelfUrl returns a boolean if a field has been set. ### GetSignatureUrl -`func (o *NugetPackageUpload) GetSignatureUrl() string` +`func (o *CargoPackageUploadResponse) GetSignatureUrl() string` GetSignatureUrl returns the SignatureUrl field if non-nil, zero value otherwise. ### GetSignatureUrlOk -`func (o *NugetPackageUpload) GetSignatureUrlOk() (*string, bool)` +`func (o *CargoPackageUploadResponse) GetSignatureUrlOk() (*string, bool)` GetSignatureUrlOk returns a tuple with the SignatureUrl field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetSignatureUrl -`func (o *NugetPackageUpload) SetSignatureUrl(v string)` +`func (o *CargoPackageUploadResponse) SetSignatureUrl(v string)` SetSignatureUrl sets SignatureUrl field to given value. ### HasSignatureUrl -`func (o *NugetPackageUpload) HasSignatureUrl() bool` +`func (o *CargoPackageUploadResponse) HasSignatureUrl() bool` HasSignatureUrl returns a boolean if a field has been set. +### SetSignatureUrlNil + +`func (o *CargoPackageUploadResponse) SetSignatureUrlNil(b bool)` + + SetSignatureUrlNil sets the value for SignatureUrl to be an explicit nil + +### UnsetSignatureUrl +`func (o *CargoPackageUploadResponse) UnsetSignatureUrl()` + +UnsetSignatureUrl ensures that no value is present for SignatureUrl, not even an explicit nil ### GetSize -`func (o *NugetPackageUpload) GetSize() int64` +`func (o *CargoPackageUploadResponse) GetSize() int64` GetSize returns the Size field if non-nil, zero value otherwise. ### GetSizeOk -`func (o *NugetPackageUpload) GetSizeOk() (*int64, bool)` +`func (o *CargoPackageUploadResponse) GetSizeOk() (*int64, bool)` GetSizeOk returns a tuple with the Size field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetSize -`func (o *NugetPackageUpload) SetSize(v int64)` +`func (o *CargoPackageUploadResponse) SetSize(v int64)` SetSize sets Size field to given value. ### HasSize -`func (o *NugetPackageUpload) HasSize() bool` +`func (o *CargoPackageUploadResponse) HasSize() bool` HasSize returns a boolean if a field has been set. ### GetSlug -`func (o *NugetPackageUpload) GetSlug() string` +`func (o *CargoPackageUploadResponse) GetSlug() string` GetSlug returns the Slug field if non-nil, zero value otherwise. ### GetSlugOk -`func (o *NugetPackageUpload) GetSlugOk() (*string, bool)` +`func (o *CargoPackageUploadResponse) GetSlugOk() (*string, bool)` GetSlugOk returns a tuple with the Slug field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetSlug -`func (o *NugetPackageUpload) SetSlug(v string)` +`func (o *CargoPackageUploadResponse) SetSlug(v string)` SetSlug sets Slug field to given value. ### HasSlug -`func (o *NugetPackageUpload) HasSlug() bool` +`func (o *CargoPackageUploadResponse) HasSlug() bool` HasSlug returns a boolean if a field has been set. ### GetSlugPerm -`func (o *NugetPackageUpload) GetSlugPerm() string` +`func (o *CargoPackageUploadResponse) GetSlugPerm() string` GetSlugPerm returns the SlugPerm field if non-nil, zero value otherwise. ### GetSlugPermOk -`func (o *NugetPackageUpload) GetSlugPermOk() (*string, bool)` +`func (o *CargoPackageUploadResponse) GetSlugPermOk() (*string, bool)` GetSlugPermOk returns a tuple with the SlugPerm field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetSlugPerm -`func (o *NugetPackageUpload) SetSlugPerm(v string)` +`func (o *CargoPackageUploadResponse) SetSlugPerm(v string)` SetSlugPerm sets SlugPerm field to given value. ### HasSlugPerm -`func (o *NugetPackageUpload) HasSlugPerm() bool` +`func (o *CargoPackageUploadResponse) HasSlugPerm() bool` HasSlugPerm returns a boolean if a field has been set. ### GetStage -`func (o *NugetPackageUpload) GetStage() int64` +`func (o *CargoPackageUploadResponse) GetStage() int64` GetStage returns the Stage field if non-nil, zero value otherwise. ### GetStageOk -`func (o *NugetPackageUpload) GetStageOk() (*int64, bool)` +`func (o *CargoPackageUploadResponse) GetStageOk() (*int64, bool)` GetStageOk returns a tuple with the Stage field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetStage -`func (o *NugetPackageUpload) SetStage(v int64)` +`func (o *CargoPackageUploadResponse) SetStage(v int64)` SetStage sets Stage field to given value. ### HasStage -`func (o *NugetPackageUpload) HasStage() bool` +`func (o *CargoPackageUploadResponse) HasStage() bool` HasStage returns a boolean if a field has been set. ### GetStageStr -`func (o *NugetPackageUpload) GetStageStr() string` +`func (o *CargoPackageUploadResponse) GetStageStr() string` GetStageStr returns the StageStr field if non-nil, zero value otherwise. ### GetStageStrOk -`func (o *NugetPackageUpload) GetStageStrOk() (*string, bool)` +`func (o *CargoPackageUploadResponse) GetStageStrOk() (*string, bool)` GetStageStrOk returns a tuple with the StageStr field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetStageStr -`func (o *NugetPackageUpload) SetStageStr(v string)` +`func (o *CargoPackageUploadResponse) SetStageStr(v string)` SetStageStr sets StageStr field to given value. ### HasStageStr -`func (o *NugetPackageUpload) HasStageStr() bool` +`func (o *CargoPackageUploadResponse) HasStageStr() bool` HasStageStr returns a boolean if a field has been set. ### GetStageUpdatedAt -`func (o *NugetPackageUpload) GetStageUpdatedAt() string` +`func (o *CargoPackageUploadResponse) GetStageUpdatedAt() time.Time` GetStageUpdatedAt returns the StageUpdatedAt field if non-nil, zero value otherwise. ### GetStageUpdatedAtOk -`func (o *NugetPackageUpload) GetStageUpdatedAtOk() (*string, bool)` +`func (o *CargoPackageUploadResponse) GetStageUpdatedAtOk() (*time.Time, bool)` GetStageUpdatedAtOk returns a tuple with the StageUpdatedAt field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetStageUpdatedAt -`func (o *NugetPackageUpload) SetStageUpdatedAt(v string)` +`func (o *CargoPackageUploadResponse) SetStageUpdatedAt(v time.Time)` SetStageUpdatedAt sets StageUpdatedAt field to given value. ### HasStageUpdatedAt -`func (o *NugetPackageUpload) HasStageUpdatedAt() bool` +`func (o *CargoPackageUploadResponse) HasStageUpdatedAt() bool` HasStageUpdatedAt returns a boolean if a field has been set. ### GetStatus -`func (o *NugetPackageUpload) GetStatus() int64` +`func (o *CargoPackageUploadResponse) GetStatus() int64` GetStatus returns the Status field if non-nil, zero value otherwise. ### GetStatusOk -`func (o *NugetPackageUpload) GetStatusOk() (*int64, bool)` +`func (o *CargoPackageUploadResponse) GetStatusOk() (*int64, bool)` GetStatusOk returns a tuple with the Status field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetStatus -`func (o *NugetPackageUpload) SetStatus(v int64)` +`func (o *CargoPackageUploadResponse) SetStatus(v int64)` SetStatus sets Status field to given value. ### HasStatus -`func (o *NugetPackageUpload) HasStatus() bool` +`func (o *CargoPackageUploadResponse) HasStatus() bool` HasStatus returns a boolean if a field has been set. ### GetStatusReason -`func (o *NugetPackageUpload) GetStatusReason() string` +`func (o *CargoPackageUploadResponse) GetStatusReason() string` GetStatusReason returns the StatusReason field if non-nil, zero value otherwise. ### GetStatusReasonOk -`func (o *NugetPackageUpload) GetStatusReasonOk() (*string, bool)` +`func (o *CargoPackageUploadResponse) GetStatusReasonOk() (*string, bool)` GetStatusReasonOk returns a tuple with the StatusReason field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetStatusReason -`func (o *NugetPackageUpload) SetStatusReason(v string)` +`func (o *CargoPackageUploadResponse) SetStatusReason(v string)` SetStatusReason sets StatusReason field to given value. ### HasStatusReason -`func (o *NugetPackageUpload) HasStatusReason() bool` +`func (o *CargoPackageUploadResponse) HasStatusReason() bool` HasStatusReason returns a boolean if a field has been set. ### GetStatusStr -`func (o *NugetPackageUpload) GetStatusStr() string` +`func (o *CargoPackageUploadResponse) GetStatusStr() string` GetStatusStr returns the StatusStr field if non-nil, zero value otherwise. ### GetStatusStrOk -`func (o *NugetPackageUpload) GetStatusStrOk() (*string, bool)` +`func (o *CargoPackageUploadResponse) GetStatusStrOk() (*string, bool)` GetStatusStrOk returns a tuple with the StatusStr field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetStatusStr -`func (o *NugetPackageUpload) SetStatusStr(v string)` +`func (o *CargoPackageUploadResponse) SetStatusStr(v string)` SetStatusStr sets StatusStr field to given value. ### HasStatusStr -`func (o *NugetPackageUpload) HasStatusStr() bool` +`func (o *CargoPackageUploadResponse) HasStatusStr() bool` HasStatusStr returns a boolean if a field has been set. ### GetStatusUpdatedAt -`func (o *NugetPackageUpload) GetStatusUpdatedAt() string` +`func (o *CargoPackageUploadResponse) GetStatusUpdatedAt() time.Time` GetStatusUpdatedAt returns the StatusUpdatedAt field if non-nil, zero value otherwise. ### GetStatusUpdatedAtOk -`func (o *NugetPackageUpload) GetStatusUpdatedAtOk() (*string, bool)` +`func (o *CargoPackageUploadResponse) GetStatusUpdatedAtOk() (*time.Time, bool)` GetStatusUpdatedAtOk returns a tuple with the StatusUpdatedAt field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetStatusUpdatedAt -`func (o *NugetPackageUpload) SetStatusUpdatedAt(v string)` +`func (o *CargoPackageUploadResponse) SetStatusUpdatedAt(v time.Time)` SetStatusUpdatedAt sets StatusUpdatedAt field to given value. ### HasStatusUpdatedAt -`func (o *NugetPackageUpload) HasStatusUpdatedAt() bool` +`func (o *CargoPackageUploadResponse) HasStatusUpdatedAt() bool` HasStatusUpdatedAt returns a boolean if a field has been set. ### GetStatusUrl -`func (o *NugetPackageUpload) GetStatusUrl() string` +`func (o *CargoPackageUploadResponse) GetStatusUrl() string` GetStatusUrl returns the StatusUrl field if non-nil, zero value otherwise. ### GetStatusUrlOk -`func (o *NugetPackageUpload) GetStatusUrlOk() (*string, bool)` +`func (o *CargoPackageUploadResponse) GetStatusUrlOk() (*string, bool)` GetStatusUrlOk returns a tuple with the StatusUrl field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetStatusUrl -`func (o *NugetPackageUpload) SetStatusUrl(v string)` +`func (o *CargoPackageUploadResponse) SetStatusUrl(v string)` SetStatusUrl sets StatusUrl field to given value. ### HasStatusUrl -`func (o *NugetPackageUpload) HasStatusUrl() bool` +`func (o *CargoPackageUploadResponse) HasStatusUrl() bool` HasStatusUrl returns a boolean if a field has been set. ### GetSubtype -`func (o *NugetPackageUpload) GetSubtype() string` +`func (o *CargoPackageUploadResponse) GetSubtype() string` GetSubtype returns the Subtype field if non-nil, zero value otherwise. ### GetSubtypeOk -`func (o *NugetPackageUpload) GetSubtypeOk() (*string, bool)` +`func (o *CargoPackageUploadResponse) GetSubtypeOk() (*string, bool)` GetSubtypeOk returns a tuple with the Subtype field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetSubtype -`func (o *NugetPackageUpload) SetSubtype(v string)` +`func (o *CargoPackageUploadResponse) SetSubtype(v string)` SetSubtype sets Subtype field to given value. ### HasSubtype -`func (o *NugetPackageUpload) HasSubtype() bool` +`func (o *CargoPackageUploadResponse) HasSubtype() bool` HasSubtype returns a boolean if a field has been set. ### GetSummary -`func (o *NugetPackageUpload) GetSummary() string` +`func (o *CargoPackageUploadResponse) GetSummary() string` GetSummary returns the Summary field if non-nil, zero value otherwise. ### GetSummaryOk -`func (o *NugetPackageUpload) GetSummaryOk() (*string, bool)` +`func (o *CargoPackageUploadResponse) GetSummaryOk() (*string, bool)` GetSummaryOk returns a tuple with the Summary field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetSummary -`func (o *NugetPackageUpload) SetSummary(v string)` +`func (o *CargoPackageUploadResponse) SetSummary(v string)` SetSummary sets Summary field to given value. ### HasSummary -`func (o *NugetPackageUpload) HasSummary() bool` +`func (o *CargoPackageUploadResponse) HasSummary() bool` HasSummary returns a boolean if a field has been set. ### GetSyncFinishedAt -`func (o *NugetPackageUpload) GetSyncFinishedAt() string` +`func (o *CargoPackageUploadResponse) GetSyncFinishedAt() time.Time` GetSyncFinishedAt returns the SyncFinishedAt field if non-nil, zero value otherwise. ### GetSyncFinishedAtOk -`func (o *NugetPackageUpload) GetSyncFinishedAtOk() (*string, bool)` +`func (o *CargoPackageUploadResponse) GetSyncFinishedAtOk() (*time.Time, bool)` GetSyncFinishedAtOk returns a tuple with the SyncFinishedAt field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetSyncFinishedAt -`func (o *NugetPackageUpload) SetSyncFinishedAt(v string)` +`func (o *CargoPackageUploadResponse) SetSyncFinishedAt(v time.Time)` SetSyncFinishedAt sets SyncFinishedAt field to given value. ### HasSyncFinishedAt -`func (o *NugetPackageUpload) HasSyncFinishedAt() bool` +`func (o *CargoPackageUploadResponse) HasSyncFinishedAt() bool` HasSyncFinishedAt returns a boolean if a field has been set. ### GetSyncProgress -`func (o *NugetPackageUpload) GetSyncProgress() int64` +`func (o *CargoPackageUploadResponse) GetSyncProgress() int64` GetSyncProgress returns the SyncProgress field if non-nil, zero value otherwise. ### GetSyncProgressOk -`func (o *NugetPackageUpload) GetSyncProgressOk() (*int64, bool)` +`func (o *CargoPackageUploadResponse) GetSyncProgressOk() (*int64, bool)` GetSyncProgressOk returns a tuple with the SyncProgress field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetSyncProgress -`func (o *NugetPackageUpload) SetSyncProgress(v int64)` +`func (o *CargoPackageUploadResponse) SetSyncProgress(v int64)` SetSyncProgress sets SyncProgress field to given value. ### HasSyncProgress -`func (o *NugetPackageUpload) HasSyncProgress() bool` +`func (o *CargoPackageUploadResponse) HasSyncProgress() bool` HasSyncProgress returns a boolean if a field has been set. ### GetTagsImmutable -`func (o *NugetPackageUpload) GetTagsImmutable() map[string]interface{}` +`func (o *CargoPackageUploadResponse) GetTagsImmutable() map[string]interface{}` GetTagsImmutable returns the TagsImmutable field if non-nil, zero value otherwise. ### GetTagsImmutableOk -`func (o *NugetPackageUpload) GetTagsImmutableOk() (*map[string]interface{}, bool)` +`func (o *CargoPackageUploadResponse) GetTagsImmutableOk() (*map[string]interface{}, bool)` GetTagsImmutableOk returns a tuple with the TagsImmutable field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetTagsImmutable -`func (o *NugetPackageUpload) SetTagsImmutable(v map[string]interface{})` +`func (o *CargoPackageUploadResponse) SetTagsImmutable(v map[string]interface{})` SetTagsImmutable sets TagsImmutable field to given value. ### HasTagsImmutable -`func (o *NugetPackageUpload) HasTagsImmutable() bool` +`func (o *CargoPackageUploadResponse) HasTagsImmutable() bool` HasTagsImmutable returns a boolean if a field has been set. ### GetTypeDisplay -`func (o *NugetPackageUpload) GetTypeDisplay() string` +`func (o *CargoPackageUploadResponse) GetTypeDisplay() string` GetTypeDisplay returns the TypeDisplay field if non-nil, zero value otherwise. ### GetTypeDisplayOk -`func (o *NugetPackageUpload) GetTypeDisplayOk() (*string, bool)` +`func (o *CargoPackageUploadResponse) GetTypeDisplayOk() (*string, bool)` GetTypeDisplayOk returns a tuple with the TypeDisplay field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetTypeDisplay -`func (o *NugetPackageUpload) SetTypeDisplay(v string)` +`func (o *CargoPackageUploadResponse) SetTypeDisplay(v string)` SetTypeDisplay sets TypeDisplay field to given value. ### HasTypeDisplay -`func (o *NugetPackageUpload) HasTypeDisplay() bool` +`func (o *CargoPackageUploadResponse) HasTypeDisplay() bool` HasTypeDisplay returns a boolean if a field has been set. ### GetUploadedAt -`func (o *NugetPackageUpload) GetUploadedAt() string` +`func (o *CargoPackageUploadResponse) GetUploadedAt() time.Time` GetUploadedAt returns the UploadedAt field if non-nil, zero value otherwise. ### GetUploadedAtOk -`func (o *NugetPackageUpload) GetUploadedAtOk() (*string, bool)` +`func (o *CargoPackageUploadResponse) GetUploadedAtOk() (*time.Time, bool)` GetUploadedAtOk returns a tuple with the UploadedAt field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetUploadedAt -`func (o *NugetPackageUpload) SetUploadedAt(v string)` +`func (o *CargoPackageUploadResponse) SetUploadedAt(v time.Time)` SetUploadedAt sets UploadedAt field to given value. ### HasUploadedAt -`func (o *NugetPackageUpload) HasUploadedAt() bool` +`func (o *CargoPackageUploadResponse) HasUploadedAt() bool` HasUploadedAt returns a boolean if a field has been set. ### GetUploader -`func (o *NugetPackageUpload) GetUploader() string` +`func (o *CargoPackageUploadResponse) GetUploader() string` GetUploader returns the Uploader field if non-nil, zero value otherwise. ### GetUploaderOk -`func (o *NugetPackageUpload) GetUploaderOk() (*string, bool)` +`func (o *CargoPackageUploadResponse) GetUploaderOk() (*string, bool)` GetUploaderOk returns a tuple with the Uploader field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetUploader -`func (o *NugetPackageUpload) SetUploader(v string)` +`func (o *CargoPackageUploadResponse) SetUploader(v string)` SetUploader sets Uploader field to given value. ### HasUploader -`func (o *NugetPackageUpload) HasUploader() bool` +`func (o *CargoPackageUploadResponse) HasUploader() bool` HasUploader returns a boolean if a field has been set. ### GetUploaderUrl -`func (o *NugetPackageUpload) GetUploaderUrl() string` +`func (o *CargoPackageUploadResponse) GetUploaderUrl() string` GetUploaderUrl returns the UploaderUrl field if non-nil, zero value otherwise. ### GetUploaderUrlOk -`func (o *NugetPackageUpload) GetUploaderUrlOk() (*string, bool)` +`func (o *CargoPackageUploadResponse) GetUploaderUrlOk() (*string, bool)` GetUploaderUrlOk returns a tuple with the UploaderUrl field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetUploaderUrl -`func (o *NugetPackageUpload) SetUploaderUrl(v string)` +`func (o *CargoPackageUploadResponse) SetUploaderUrl(v string)` SetUploaderUrl sets UploaderUrl field to given value. ### HasUploaderUrl -`func (o *NugetPackageUpload) HasUploaderUrl() bool` +`func (o *CargoPackageUploadResponse) HasUploaderUrl() bool` HasUploaderUrl returns a boolean if a field has been set. ### GetVersion -`func (o *NugetPackageUpload) GetVersion() string` +`func (o *CargoPackageUploadResponse) GetVersion() string` GetVersion returns the Version field if non-nil, zero value otherwise. ### GetVersionOk -`func (o *NugetPackageUpload) GetVersionOk() (*string, bool)` +`func (o *CargoPackageUploadResponse) GetVersionOk() (*string, bool)` GetVersionOk returns a tuple with the Version field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetVersion -`func (o *NugetPackageUpload) SetVersion(v string)` +`func (o *CargoPackageUploadResponse) SetVersion(v string)` SetVersion sets Version field to given value. ### HasVersion -`func (o *NugetPackageUpload) HasVersion() bool` +`func (o *CargoPackageUploadResponse) HasVersion() bool` HasVersion returns a boolean if a field has been set. ### GetVersionOrig -`func (o *NugetPackageUpload) GetVersionOrig() string` +`func (o *CargoPackageUploadResponse) GetVersionOrig() string` GetVersionOrig returns the VersionOrig field if non-nil, zero value otherwise. ### GetVersionOrigOk -`func (o *NugetPackageUpload) GetVersionOrigOk() (*string, bool)` +`func (o *CargoPackageUploadResponse) GetVersionOrigOk() (*string, bool)` GetVersionOrigOk returns a tuple with the VersionOrig field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetVersionOrig -`func (o *NugetPackageUpload) SetVersionOrig(v string)` +`func (o *CargoPackageUploadResponse) SetVersionOrig(v string)` SetVersionOrig sets VersionOrig field to given value. ### HasVersionOrig -`func (o *NugetPackageUpload) HasVersionOrig() bool` +`func (o *CargoPackageUploadResponse) HasVersionOrig() bool` HasVersionOrig returns a boolean if a field has been set. ### GetVulnerabilityScanResultsUrl -`func (o *NugetPackageUpload) GetVulnerabilityScanResultsUrl() string` +`func (o *CargoPackageUploadResponse) GetVulnerabilityScanResultsUrl() string` GetVulnerabilityScanResultsUrl returns the VulnerabilityScanResultsUrl field if non-nil, zero value otherwise. ### GetVulnerabilityScanResultsUrlOk -`func (o *NugetPackageUpload) GetVulnerabilityScanResultsUrlOk() (*string, bool)` +`func (o *CargoPackageUploadResponse) GetVulnerabilityScanResultsUrlOk() (*string, bool)` GetVulnerabilityScanResultsUrlOk returns a tuple with the VulnerabilityScanResultsUrl field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetVulnerabilityScanResultsUrl -`func (o *NugetPackageUpload) SetVulnerabilityScanResultsUrl(v string)` +`func (o *CargoPackageUploadResponse) SetVulnerabilityScanResultsUrl(v string)` SetVulnerabilityScanResultsUrl sets VulnerabilityScanResultsUrl field to given value. ### HasVulnerabilityScanResultsUrl -`func (o *NugetPackageUpload) HasVulnerabilityScanResultsUrl() bool` +`func (o *CargoPackageUploadResponse) HasVulnerabilityScanResultsUrl() bool` HasVulnerabilityScanResultsUrl returns a boolean if a field has been set. diff --git a/docs/PackagesValidateUploadRuby.md b/docs/CocoapodsPackageUploadRequest.md similarity index 56% rename from docs/PackagesValidateUploadRuby.md rename to docs/CocoapodsPackageUploadRequest.md index c1aa0f7c..113e8d1c 100644 --- a/docs/PackagesValidateUploadRuby.md +++ b/docs/CocoapodsPackageUploadRequest.md @@ -1,4 +1,4 @@ -# PackagesValidateUploadRuby +# CocoapodsPackageUploadRequest ## Properties @@ -6,97 +6,107 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **PackageFile** | **string** | The primary file for the package. | **Republish** | Pointer to **bool** | If true, the uploaded package will overwrite any others with the same attributes (e.g. same version); otherwise, it will be flagged as a duplicate. | [optional] -**Tags** | Pointer to **string** | A comma-separated values list of tags to add to the package. | [optional] +**Tags** | Pointer to **NullableString** | A comma-separated values list of tags to add to the package. | [optional] ## Methods -### NewPackagesValidateUploadRuby +### NewCocoapodsPackageUploadRequest -`func NewPackagesValidateUploadRuby(packageFile string, ) *PackagesValidateUploadRuby` +`func NewCocoapodsPackageUploadRequest(packageFile string, ) *CocoapodsPackageUploadRequest` -NewPackagesValidateUploadRuby instantiates a new PackagesValidateUploadRuby object +NewCocoapodsPackageUploadRequest instantiates a new CocoapodsPackageUploadRequest object 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 -### NewPackagesValidateUploadRubyWithDefaults +### NewCocoapodsPackageUploadRequestWithDefaults -`func NewPackagesValidateUploadRubyWithDefaults() *PackagesValidateUploadRuby` +`func NewCocoapodsPackageUploadRequestWithDefaults() *CocoapodsPackageUploadRequest` -NewPackagesValidateUploadRubyWithDefaults instantiates a new PackagesValidateUploadRuby object +NewCocoapodsPackageUploadRequestWithDefaults instantiates a new CocoapodsPackageUploadRequest object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set ### GetPackageFile -`func (o *PackagesValidateUploadRuby) GetPackageFile() string` +`func (o *CocoapodsPackageUploadRequest) GetPackageFile() string` GetPackageFile returns the PackageFile field if non-nil, zero value otherwise. ### GetPackageFileOk -`func (o *PackagesValidateUploadRuby) GetPackageFileOk() (*string, bool)` +`func (o *CocoapodsPackageUploadRequest) GetPackageFileOk() (*string, bool)` GetPackageFileOk returns a tuple with the PackageFile field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetPackageFile -`func (o *PackagesValidateUploadRuby) SetPackageFile(v string)` +`func (o *CocoapodsPackageUploadRequest) SetPackageFile(v string)` SetPackageFile sets PackageFile field to given value. ### GetRepublish -`func (o *PackagesValidateUploadRuby) GetRepublish() bool` +`func (o *CocoapodsPackageUploadRequest) GetRepublish() bool` GetRepublish returns the Republish field if non-nil, zero value otherwise. ### GetRepublishOk -`func (o *PackagesValidateUploadRuby) GetRepublishOk() (*bool, bool)` +`func (o *CocoapodsPackageUploadRequest) GetRepublishOk() (*bool, bool)` GetRepublishOk returns a tuple with the Republish field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetRepublish -`func (o *PackagesValidateUploadRuby) SetRepublish(v bool)` +`func (o *CocoapodsPackageUploadRequest) SetRepublish(v bool)` SetRepublish sets Republish field to given value. ### HasRepublish -`func (o *PackagesValidateUploadRuby) HasRepublish() bool` +`func (o *CocoapodsPackageUploadRequest) HasRepublish() bool` HasRepublish returns a boolean if a field has been set. ### GetTags -`func (o *PackagesValidateUploadRuby) GetTags() string` +`func (o *CocoapodsPackageUploadRequest) GetTags() string` GetTags returns the Tags field if non-nil, zero value otherwise. ### GetTagsOk -`func (o *PackagesValidateUploadRuby) GetTagsOk() (*string, bool)` +`func (o *CocoapodsPackageUploadRequest) GetTagsOk() (*string, bool)` GetTagsOk returns a tuple with the Tags field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetTags -`func (o *PackagesValidateUploadRuby) SetTags(v string)` +`func (o *CocoapodsPackageUploadRequest) SetTags(v string)` SetTags sets Tags field to given value. ### HasTags -`func (o *PackagesValidateUploadRuby) HasTags() bool` +`func (o *CocoapodsPackageUploadRequest) HasTags() bool` HasTags returns a boolean if a field has been set. +### SetTagsNil + +`func (o *CocoapodsPackageUploadRequest) SetTagsNil(b bool)` + + SetTagsNil sets the value for Tags to be an explicit nil + +### UnsetTags +`func (o *CocoapodsPackageUploadRequest) UnsetTags()` + +UnsetTags ensures that no value is present for Tags, 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/docs/DockerPackageUpload.md b/docs/CocoapodsPackageUploadResponse.md similarity index 53% rename from docs/DockerPackageUpload.md rename to docs/CocoapodsPackageUploadResponse.md index c577bb10..4450fd6e 100644 --- a/docs/DockerPackageUpload.md +++ b/docs/CocoapodsPackageUploadResponse.md @@ -1,1742 +1,1834 @@ -# DockerPackageUpload +# CocoapodsPackageUploadResponse ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**Architectures** | Pointer to [**[]PackagesOwnerRepoArchitectures**](PackagesOwnerRepoArchitectures.md) | | [optional] -**CdnUrl** | Pointer to **string** | | [optional] -**ChecksumMd5** | Pointer to **string** | | [optional] -**ChecksumSha1** | Pointer to **string** | | [optional] -**ChecksumSha256** | Pointer to **string** | | [optional] -**ChecksumSha512** | Pointer to **string** | | [optional] -**DependenciesChecksumMd5** | Pointer to **string** | A checksum of all of the package's dependencies. | [optional] -**DependenciesUrl** | Pointer to **string** | | [optional] -**Description** | Pointer to **string** | A textual description of this package. | [optional] -**Distro** | Pointer to **map[string]interface{}** | | [optional] -**DistroVersion** | Pointer to **map[string]interface{}** | | [optional] -**Downloads** | Pointer to **int64** | | [optional] -**Epoch** | Pointer to **int64** | The epoch of the package version (if any). | [optional] -**Extension** | Pointer to **string** | | [optional] -**Filename** | Pointer to **string** | | [optional] -**Files** | Pointer to [**[]PackagesOwnerRepoFiles**](PackagesOwnerRepoFiles.md) | | [optional] -**Format** | Pointer to **string** | | [optional] -**FormatUrl** | Pointer to **string** | | [optional] -**IdentifierPerm** | Pointer to **string** | Unique and permanent identifier for the package. | [optional] -**Indexed** | Pointer to **bool** | | [optional] -**IsDownloadable** | Pointer to **bool** | | [optional] -**IsQuarantined** | Pointer to **bool** | | [optional] -**IsSyncAwaiting** | Pointer to **bool** | | [optional] -**IsSyncCompleted** | Pointer to **bool** | | [optional] -**IsSyncFailed** | Pointer to **bool** | | [optional] -**IsSyncInFlight** | Pointer to **bool** | | [optional] -**IsSyncInProgress** | Pointer to **bool** | | [optional] -**License** | Pointer to **string** | The license of this package. | [optional] -**Name** | Pointer to **string** | The name of this package. | [optional] -**Namespace** | Pointer to **string** | | [optional] -**NamespaceUrl** | Pointer to **string** | | [optional] -**NumFiles** | Pointer to **int64** | | [optional] -**PackageType** | Pointer to **int64** | The type of package contents. | [optional] -**Release** | Pointer to **string** | The release of the package version (if any). | [optional] -**Repository** | Pointer to **string** | | [optional] -**RepositoryUrl** | Pointer to **string** | | [optional] -**SecurityScanCompletedAt** | Pointer to **string** | The datetime the security scanning was completed. | [optional] -**SecurityScanStartedAt** | Pointer to **string** | The datetime the security scanning was started. | [optional] -**SecurityScanStatus** | Pointer to **string** | | [optional] -**SecurityScanStatusUpdatedAt** | Pointer to **string** | The datetime the security scanning status was updated. | [optional] -**SelfHtmlUrl** | Pointer to **string** | | [optional] -**SelfUrl** | Pointer to **string** | | [optional] -**SignatureUrl** | Pointer to **string** | | [optional] -**Size** | Pointer to **int64** | The calculated size of the package. | [optional] -**Slug** | Pointer to **string** | The public unique identifier for the package. | [optional] -**SlugPerm** | Pointer to **string** | | [optional] -**Stage** | Pointer to **int64** | The synchronisation (in progress) stage of the package. | [optional] -**StageStr** | Pointer to **string** | | [optional] -**StageUpdatedAt** | Pointer to **string** | The datetime the package stage was updated at. | [optional] -**Status** | Pointer to **int64** | The synchronisation status of the package. | [optional] -**StatusReason** | Pointer to **string** | A textual description for the synchronous status reason (if any | [optional] -**StatusStr** | Pointer to **string** | | [optional] -**StatusUpdatedAt** | Pointer to **string** | The datetime the package status was updated at. | [optional] -**StatusUrl** | Pointer to **string** | | [optional] -**Subtype** | Pointer to **string** | | [optional] -**Summary** | Pointer to **string** | A one-liner synopsis of this package. | [optional] -**SyncFinishedAt** | Pointer to **string** | The datetime the package sync was finished at. | [optional] -**SyncProgress** | Pointer to **int64** | Synchronisation progress (from 0-100) | [optional] -**TagsImmutable** | Pointer to **map[string]interface{}** | All immutable tags on the package, grouped by tag type. Immutable tags cannot be (easily) deleted. | [optional] -**TypeDisplay** | Pointer to **string** | | [optional] -**UploadedAt** | Pointer to **string** | The date this package was uploaded. | [optional] -**Uploader** | Pointer to **string** | | [optional] -**UploaderUrl** | Pointer to **string** | | [optional] -**Version** | Pointer to **string** | The raw version for this package. | [optional] -**VersionOrig** | Pointer to **string** | | [optional] -**VulnerabilityScanResultsUrl** | Pointer to **string** | | [optional] +**Architectures** | Pointer to [**[]Architecture**](Architecture.md) | | [optional] [readonly] +**CdnUrl** | Pointer to **NullableString** | | [optional] [readonly] +**ChecksumMd5** | Pointer to **string** | | [optional] [readonly] +**ChecksumSha1** | Pointer to **string** | | [optional] [readonly] +**ChecksumSha256** | Pointer to **string** | | [optional] [readonly] +**ChecksumSha512** | Pointer to **string** | | [optional] [readonly] +**DependenciesChecksumMd5** | Pointer to **string** | A checksum of all of the package's dependencies. | [optional] [readonly] +**DependenciesUrl** | Pointer to **string** | | [optional] [readonly] +**Description** | Pointer to **string** | A textual description of this package. | [optional] [readonly] +**Distro** | Pointer to [**NullableDistribution**](Distribution.md) | | [optional] +**DistroVersion** | Pointer to [**DistributionVersion**](DistributionVersion.md) | | [optional] +**Downloads** | Pointer to **int64** | | [optional] [readonly] +**Epoch** | Pointer to **int64** | The epoch of the package version (if any). | [optional] [readonly] +**Extension** | Pointer to **string** | | [optional] [readonly] +**Filename** | Pointer to **string** | | [optional] [readonly] +**Files** | Pointer to [**[]PackageFile**](PackageFile.md) | | [optional] [readonly] +**Format** | Pointer to **string** | | [optional] [readonly] +**FormatUrl** | Pointer to **string** | | [optional] [readonly] +**IdentifierPerm** | Pointer to **string** | Unique and permanent identifier for the package. | [optional] [readonly] +**Indexed** | Pointer to **bool** | | [optional] [readonly] +**IsDownloadable** | Pointer to **bool** | | [optional] [readonly] +**IsQuarantined** | Pointer to **bool** | | [optional] [readonly] +**IsSyncAwaiting** | Pointer to **bool** | | [optional] [readonly] +**IsSyncCompleted** | Pointer to **bool** | | [optional] [readonly] +**IsSyncFailed** | Pointer to **bool** | | [optional] [readonly] +**IsSyncInFlight** | Pointer to **bool** | | [optional] [readonly] +**IsSyncInProgress** | Pointer to **bool** | | [optional] [readonly] +**License** | Pointer to **string** | The license of this package. | [optional] [readonly] +**Name** | Pointer to **string** | The name of this package. | [optional] [readonly] +**Namespace** | Pointer to **string** | | [optional] [readonly] +**NamespaceUrl** | Pointer to **string** | | [optional] [readonly] +**NumFiles** | Pointer to **int64** | | [optional] [readonly] +**OriginRepository** | Pointer to **string** | | [optional] [readonly] +**OriginRepositoryUrl** | Pointer to **string** | | [optional] [readonly] +**PackageType** | Pointer to **int64** | The type of package contents. | [optional] [readonly] +**Release** | Pointer to **string** | The release of the package version (if any). | [optional] [readonly] +**Repository** | Pointer to **string** | | [optional] [readonly] +**RepositoryUrl** | Pointer to **string** | | [optional] [readonly] +**SecurityScanCompletedAt** | Pointer to **time.Time** | The datetime the security scanning was completed. | [optional] [readonly] +**SecurityScanStartedAt** | Pointer to **time.Time** | The datetime the security scanning was started. | [optional] [readonly] +**SecurityScanStatus** | Pointer to **NullableString** | | [optional] [readonly] [default to "Awaiting Security Scan"] +**SecurityScanStatusUpdatedAt** | Pointer to **time.Time** | The datetime the security scanning status was updated. | [optional] [readonly] +**SelfHtmlUrl** | Pointer to **string** | | [optional] [readonly] +**SelfUrl** | Pointer to **string** | | [optional] [readonly] +**SignatureUrl** | Pointer to **NullableString** | | [optional] [readonly] +**Size** | Pointer to **int64** | The calculated size of the package. | [optional] [readonly] +**Slug** | Pointer to **string** | The public unique identifier for the package. | [optional] [readonly] +**SlugPerm** | Pointer to **string** | | [optional] [readonly] +**Stage** | Pointer to **int64** | The synchronisation (in progress) stage of the package. | [optional] [readonly] +**StageStr** | Pointer to **string** | | [optional] [readonly] +**StageUpdatedAt** | Pointer to **time.Time** | The datetime the package stage was updated at. | [optional] [readonly] +**Status** | Pointer to **int64** | The synchronisation status of the package. | [optional] [readonly] +**StatusReason** | Pointer to **string** | A textual description for the synchronous status reason (if any | [optional] [readonly] +**StatusStr** | Pointer to **string** | | [optional] [readonly] +**StatusUpdatedAt** | Pointer to **time.Time** | The datetime the package status was updated at. | [optional] [readonly] +**StatusUrl** | Pointer to **string** | | [optional] [readonly] +**Subtype** | Pointer to **string** | | [optional] [readonly] +**Summary** | Pointer to **string** | A one-liner synopsis of this package. | [optional] [readonly] +**SyncFinishedAt** | Pointer to **time.Time** | The datetime the package sync was finished at. | [optional] [readonly] +**SyncProgress** | Pointer to **int64** | Synchronisation progress (from 0-100) | [optional] [readonly] +**TagsImmutable** | Pointer to **map[string]interface{}** | All tags on the package, grouped by tag type. This includes immutable tags, but doesn't distinguish them from mutable. To see which tags are immutable specifically, see the tags_immutable field. | [optional] +**TypeDisplay** | Pointer to **string** | | [optional] [readonly] +**UploadedAt** | Pointer to **time.Time** | The date this package was uploaded. | [optional] [readonly] +**Uploader** | Pointer to **string** | | [optional] [readonly] +**UploaderUrl** | Pointer to **string** | | [optional] [readonly] +**Version** | Pointer to **string** | The raw version for this package. | [optional] [readonly] +**VersionOrig** | Pointer to **string** | | [optional] [readonly] +**VulnerabilityScanResultsUrl** | Pointer to **string** | | [optional] [readonly] ## Methods -### NewDockerPackageUpload +### NewCocoapodsPackageUploadResponse -`func NewDockerPackageUpload() *DockerPackageUpload` +`func NewCocoapodsPackageUploadResponse() *CocoapodsPackageUploadResponse` -NewDockerPackageUpload instantiates a new DockerPackageUpload object +NewCocoapodsPackageUploadResponse instantiates a new CocoapodsPackageUploadResponse object 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 -### NewDockerPackageUploadWithDefaults +### NewCocoapodsPackageUploadResponseWithDefaults -`func NewDockerPackageUploadWithDefaults() *DockerPackageUpload` +`func NewCocoapodsPackageUploadResponseWithDefaults() *CocoapodsPackageUploadResponse` -NewDockerPackageUploadWithDefaults instantiates a new DockerPackageUpload object +NewCocoapodsPackageUploadResponseWithDefaults instantiates a new CocoapodsPackageUploadResponse object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set ### GetArchitectures -`func (o *DockerPackageUpload) GetArchitectures() []PackagesOwnerRepoArchitectures` +`func (o *CocoapodsPackageUploadResponse) GetArchitectures() []Architecture` GetArchitectures returns the Architectures field if non-nil, zero value otherwise. ### GetArchitecturesOk -`func (o *DockerPackageUpload) GetArchitecturesOk() (*[]PackagesOwnerRepoArchitectures, bool)` +`func (o *CocoapodsPackageUploadResponse) GetArchitecturesOk() (*[]Architecture, bool)` GetArchitecturesOk returns a tuple with the Architectures field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetArchitectures -`func (o *DockerPackageUpload) SetArchitectures(v []PackagesOwnerRepoArchitectures)` +`func (o *CocoapodsPackageUploadResponse) SetArchitectures(v []Architecture)` SetArchitectures sets Architectures field to given value. ### HasArchitectures -`func (o *DockerPackageUpload) HasArchitectures() bool` +`func (o *CocoapodsPackageUploadResponse) HasArchitectures() bool` HasArchitectures returns a boolean if a field has been set. ### GetCdnUrl -`func (o *DockerPackageUpload) GetCdnUrl() string` +`func (o *CocoapodsPackageUploadResponse) GetCdnUrl() string` GetCdnUrl returns the CdnUrl field if non-nil, zero value otherwise. ### GetCdnUrlOk -`func (o *DockerPackageUpload) GetCdnUrlOk() (*string, bool)` +`func (o *CocoapodsPackageUploadResponse) GetCdnUrlOk() (*string, bool)` GetCdnUrlOk returns a tuple with the CdnUrl field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetCdnUrl -`func (o *DockerPackageUpload) SetCdnUrl(v string)` +`func (o *CocoapodsPackageUploadResponse) SetCdnUrl(v string)` SetCdnUrl sets CdnUrl field to given value. ### HasCdnUrl -`func (o *DockerPackageUpload) HasCdnUrl() bool` +`func (o *CocoapodsPackageUploadResponse) HasCdnUrl() bool` HasCdnUrl returns a boolean if a field has been set. +### SetCdnUrlNil + +`func (o *CocoapodsPackageUploadResponse) SetCdnUrlNil(b bool)` + + SetCdnUrlNil sets the value for CdnUrl to be an explicit nil + +### UnsetCdnUrl +`func (o *CocoapodsPackageUploadResponse) UnsetCdnUrl()` + +UnsetCdnUrl ensures that no value is present for CdnUrl, not even an explicit nil ### GetChecksumMd5 -`func (o *DockerPackageUpload) GetChecksumMd5() string` +`func (o *CocoapodsPackageUploadResponse) GetChecksumMd5() string` GetChecksumMd5 returns the ChecksumMd5 field if non-nil, zero value otherwise. ### GetChecksumMd5Ok -`func (o *DockerPackageUpload) GetChecksumMd5Ok() (*string, bool)` +`func (o *CocoapodsPackageUploadResponse) GetChecksumMd5Ok() (*string, bool)` GetChecksumMd5Ok returns a tuple with the ChecksumMd5 field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetChecksumMd5 -`func (o *DockerPackageUpload) SetChecksumMd5(v string)` +`func (o *CocoapodsPackageUploadResponse) SetChecksumMd5(v string)` SetChecksumMd5 sets ChecksumMd5 field to given value. ### HasChecksumMd5 -`func (o *DockerPackageUpload) HasChecksumMd5() bool` +`func (o *CocoapodsPackageUploadResponse) HasChecksumMd5() bool` HasChecksumMd5 returns a boolean if a field has been set. ### GetChecksumSha1 -`func (o *DockerPackageUpload) GetChecksumSha1() string` +`func (o *CocoapodsPackageUploadResponse) GetChecksumSha1() string` GetChecksumSha1 returns the ChecksumSha1 field if non-nil, zero value otherwise. ### GetChecksumSha1Ok -`func (o *DockerPackageUpload) GetChecksumSha1Ok() (*string, bool)` +`func (o *CocoapodsPackageUploadResponse) GetChecksumSha1Ok() (*string, bool)` GetChecksumSha1Ok returns a tuple with the ChecksumSha1 field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetChecksumSha1 -`func (o *DockerPackageUpload) SetChecksumSha1(v string)` +`func (o *CocoapodsPackageUploadResponse) SetChecksumSha1(v string)` SetChecksumSha1 sets ChecksumSha1 field to given value. ### HasChecksumSha1 -`func (o *DockerPackageUpload) HasChecksumSha1() bool` +`func (o *CocoapodsPackageUploadResponse) HasChecksumSha1() bool` HasChecksumSha1 returns a boolean if a field has been set. ### GetChecksumSha256 -`func (o *DockerPackageUpload) GetChecksumSha256() string` +`func (o *CocoapodsPackageUploadResponse) GetChecksumSha256() string` GetChecksumSha256 returns the ChecksumSha256 field if non-nil, zero value otherwise. ### GetChecksumSha256Ok -`func (o *DockerPackageUpload) GetChecksumSha256Ok() (*string, bool)` +`func (o *CocoapodsPackageUploadResponse) GetChecksumSha256Ok() (*string, bool)` GetChecksumSha256Ok returns a tuple with the ChecksumSha256 field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetChecksumSha256 -`func (o *DockerPackageUpload) SetChecksumSha256(v string)` +`func (o *CocoapodsPackageUploadResponse) SetChecksumSha256(v string)` SetChecksumSha256 sets ChecksumSha256 field to given value. ### HasChecksumSha256 -`func (o *DockerPackageUpload) HasChecksumSha256() bool` +`func (o *CocoapodsPackageUploadResponse) HasChecksumSha256() bool` HasChecksumSha256 returns a boolean if a field has been set. ### GetChecksumSha512 -`func (o *DockerPackageUpload) GetChecksumSha512() string` +`func (o *CocoapodsPackageUploadResponse) GetChecksumSha512() string` GetChecksumSha512 returns the ChecksumSha512 field if non-nil, zero value otherwise. ### GetChecksumSha512Ok -`func (o *DockerPackageUpload) GetChecksumSha512Ok() (*string, bool)` +`func (o *CocoapodsPackageUploadResponse) GetChecksumSha512Ok() (*string, bool)` GetChecksumSha512Ok returns a tuple with the ChecksumSha512 field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetChecksumSha512 -`func (o *DockerPackageUpload) SetChecksumSha512(v string)` +`func (o *CocoapodsPackageUploadResponse) SetChecksumSha512(v string)` SetChecksumSha512 sets ChecksumSha512 field to given value. ### HasChecksumSha512 -`func (o *DockerPackageUpload) HasChecksumSha512() bool` +`func (o *CocoapodsPackageUploadResponse) HasChecksumSha512() bool` HasChecksumSha512 returns a boolean if a field has been set. ### GetDependenciesChecksumMd5 -`func (o *DockerPackageUpload) GetDependenciesChecksumMd5() string` +`func (o *CocoapodsPackageUploadResponse) GetDependenciesChecksumMd5() string` GetDependenciesChecksumMd5 returns the DependenciesChecksumMd5 field if non-nil, zero value otherwise. ### GetDependenciesChecksumMd5Ok -`func (o *DockerPackageUpload) GetDependenciesChecksumMd5Ok() (*string, bool)` +`func (o *CocoapodsPackageUploadResponse) GetDependenciesChecksumMd5Ok() (*string, bool)` GetDependenciesChecksumMd5Ok returns a tuple with the DependenciesChecksumMd5 field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetDependenciesChecksumMd5 -`func (o *DockerPackageUpload) SetDependenciesChecksumMd5(v string)` +`func (o *CocoapodsPackageUploadResponse) SetDependenciesChecksumMd5(v string)` SetDependenciesChecksumMd5 sets DependenciesChecksumMd5 field to given value. ### HasDependenciesChecksumMd5 -`func (o *DockerPackageUpload) HasDependenciesChecksumMd5() bool` +`func (o *CocoapodsPackageUploadResponse) HasDependenciesChecksumMd5() bool` HasDependenciesChecksumMd5 returns a boolean if a field has been set. ### GetDependenciesUrl -`func (o *DockerPackageUpload) GetDependenciesUrl() string` +`func (o *CocoapodsPackageUploadResponse) GetDependenciesUrl() string` GetDependenciesUrl returns the DependenciesUrl field if non-nil, zero value otherwise. ### GetDependenciesUrlOk -`func (o *DockerPackageUpload) GetDependenciesUrlOk() (*string, bool)` +`func (o *CocoapodsPackageUploadResponse) GetDependenciesUrlOk() (*string, bool)` GetDependenciesUrlOk returns a tuple with the DependenciesUrl field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetDependenciesUrl -`func (o *DockerPackageUpload) SetDependenciesUrl(v string)` +`func (o *CocoapodsPackageUploadResponse) SetDependenciesUrl(v string)` SetDependenciesUrl sets DependenciesUrl field to given value. ### HasDependenciesUrl -`func (o *DockerPackageUpload) HasDependenciesUrl() bool` +`func (o *CocoapodsPackageUploadResponse) HasDependenciesUrl() bool` HasDependenciesUrl returns a boolean if a field has been set. ### GetDescription -`func (o *DockerPackageUpload) GetDescription() string` +`func (o *CocoapodsPackageUploadResponse) GetDescription() string` GetDescription returns the Description field if non-nil, zero value otherwise. ### GetDescriptionOk -`func (o *DockerPackageUpload) GetDescriptionOk() (*string, bool)` +`func (o *CocoapodsPackageUploadResponse) GetDescriptionOk() (*string, bool)` GetDescriptionOk returns a tuple with the Description field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetDescription -`func (o *DockerPackageUpload) SetDescription(v string)` +`func (o *CocoapodsPackageUploadResponse) SetDescription(v string)` SetDescription sets Description field to given value. ### HasDescription -`func (o *DockerPackageUpload) HasDescription() bool` +`func (o *CocoapodsPackageUploadResponse) HasDescription() bool` HasDescription returns a boolean if a field has been set. ### GetDistro -`func (o *DockerPackageUpload) GetDistro() map[string]interface{}` +`func (o *CocoapodsPackageUploadResponse) GetDistro() Distribution` GetDistro returns the Distro field if non-nil, zero value otherwise. ### GetDistroOk -`func (o *DockerPackageUpload) GetDistroOk() (*map[string]interface{}, bool)` +`func (o *CocoapodsPackageUploadResponse) GetDistroOk() (*Distribution, bool)` GetDistroOk returns a tuple with the Distro field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetDistro -`func (o *DockerPackageUpload) SetDistro(v map[string]interface{})` +`func (o *CocoapodsPackageUploadResponse) SetDistro(v Distribution)` SetDistro sets Distro field to given value. ### HasDistro -`func (o *DockerPackageUpload) HasDistro() bool` +`func (o *CocoapodsPackageUploadResponse) HasDistro() bool` HasDistro returns a boolean if a field has been set. +### SetDistroNil + +`func (o *CocoapodsPackageUploadResponse) SetDistroNil(b bool)` + + SetDistroNil sets the value for Distro to be an explicit nil + +### UnsetDistro +`func (o *CocoapodsPackageUploadResponse) UnsetDistro()` + +UnsetDistro ensures that no value is present for Distro, not even an explicit nil ### GetDistroVersion -`func (o *DockerPackageUpload) GetDistroVersion() map[string]interface{}` +`func (o *CocoapodsPackageUploadResponse) GetDistroVersion() DistributionVersion` GetDistroVersion returns the DistroVersion field if non-nil, zero value otherwise. ### GetDistroVersionOk -`func (o *DockerPackageUpload) GetDistroVersionOk() (*map[string]interface{}, bool)` +`func (o *CocoapodsPackageUploadResponse) GetDistroVersionOk() (*DistributionVersion, bool)` GetDistroVersionOk returns a tuple with the DistroVersion field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetDistroVersion -`func (o *DockerPackageUpload) SetDistroVersion(v map[string]interface{})` +`func (o *CocoapodsPackageUploadResponse) SetDistroVersion(v DistributionVersion)` SetDistroVersion sets DistroVersion field to given value. ### HasDistroVersion -`func (o *DockerPackageUpload) HasDistroVersion() bool` +`func (o *CocoapodsPackageUploadResponse) HasDistroVersion() bool` HasDistroVersion returns a boolean if a field has been set. ### GetDownloads -`func (o *DockerPackageUpload) GetDownloads() int64` +`func (o *CocoapodsPackageUploadResponse) GetDownloads() int64` GetDownloads returns the Downloads field if non-nil, zero value otherwise. ### GetDownloadsOk -`func (o *DockerPackageUpload) GetDownloadsOk() (*int64, bool)` +`func (o *CocoapodsPackageUploadResponse) GetDownloadsOk() (*int64, bool)` GetDownloadsOk returns a tuple with the Downloads field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetDownloads -`func (o *DockerPackageUpload) SetDownloads(v int64)` +`func (o *CocoapodsPackageUploadResponse) SetDownloads(v int64)` SetDownloads sets Downloads field to given value. ### HasDownloads -`func (o *DockerPackageUpload) HasDownloads() bool` +`func (o *CocoapodsPackageUploadResponse) HasDownloads() bool` HasDownloads returns a boolean if a field has been set. ### GetEpoch -`func (o *DockerPackageUpload) GetEpoch() int64` +`func (o *CocoapodsPackageUploadResponse) GetEpoch() int64` GetEpoch returns the Epoch field if non-nil, zero value otherwise. ### GetEpochOk -`func (o *DockerPackageUpload) GetEpochOk() (*int64, bool)` +`func (o *CocoapodsPackageUploadResponse) GetEpochOk() (*int64, bool)` GetEpochOk returns a tuple with the Epoch field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetEpoch -`func (o *DockerPackageUpload) SetEpoch(v int64)` +`func (o *CocoapodsPackageUploadResponse) SetEpoch(v int64)` SetEpoch sets Epoch field to given value. ### HasEpoch -`func (o *DockerPackageUpload) HasEpoch() bool` +`func (o *CocoapodsPackageUploadResponse) HasEpoch() bool` HasEpoch returns a boolean if a field has been set. ### GetExtension -`func (o *DockerPackageUpload) GetExtension() string` +`func (o *CocoapodsPackageUploadResponse) GetExtension() string` GetExtension returns the Extension field if non-nil, zero value otherwise. ### GetExtensionOk -`func (o *DockerPackageUpload) GetExtensionOk() (*string, bool)` +`func (o *CocoapodsPackageUploadResponse) GetExtensionOk() (*string, bool)` GetExtensionOk returns a tuple with the Extension field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetExtension -`func (o *DockerPackageUpload) SetExtension(v string)` +`func (o *CocoapodsPackageUploadResponse) SetExtension(v string)` SetExtension sets Extension field to given value. ### HasExtension -`func (o *DockerPackageUpload) HasExtension() bool` +`func (o *CocoapodsPackageUploadResponse) HasExtension() bool` HasExtension returns a boolean if a field has been set. ### GetFilename -`func (o *DockerPackageUpload) GetFilename() string` +`func (o *CocoapodsPackageUploadResponse) GetFilename() string` GetFilename returns the Filename field if non-nil, zero value otherwise. ### GetFilenameOk -`func (o *DockerPackageUpload) GetFilenameOk() (*string, bool)` +`func (o *CocoapodsPackageUploadResponse) GetFilenameOk() (*string, bool)` GetFilenameOk returns a tuple with the Filename field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetFilename -`func (o *DockerPackageUpload) SetFilename(v string)` +`func (o *CocoapodsPackageUploadResponse) SetFilename(v string)` SetFilename sets Filename field to given value. ### HasFilename -`func (o *DockerPackageUpload) HasFilename() bool` +`func (o *CocoapodsPackageUploadResponse) HasFilename() bool` HasFilename returns a boolean if a field has been set. ### GetFiles -`func (o *DockerPackageUpload) GetFiles() []PackagesOwnerRepoFiles` +`func (o *CocoapodsPackageUploadResponse) GetFiles() []PackageFile` GetFiles returns the Files field if non-nil, zero value otherwise. ### GetFilesOk -`func (o *DockerPackageUpload) GetFilesOk() (*[]PackagesOwnerRepoFiles, bool)` +`func (o *CocoapodsPackageUploadResponse) GetFilesOk() (*[]PackageFile, 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 *DockerPackageUpload) SetFiles(v []PackagesOwnerRepoFiles)` +`func (o *CocoapodsPackageUploadResponse) SetFiles(v []PackageFile)` SetFiles sets Files field to given value. ### HasFiles -`func (o *DockerPackageUpload) HasFiles() bool` +`func (o *CocoapodsPackageUploadResponse) HasFiles() bool` HasFiles returns a boolean if a field has been set. ### GetFormat -`func (o *DockerPackageUpload) GetFormat() string` +`func (o *CocoapodsPackageUploadResponse) GetFormat() string` GetFormat returns the Format field if non-nil, zero value otherwise. ### GetFormatOk -`func (o *DockerPackageUpload) GetFormatOk() (*string, bool)` +`func (o *CocoapodsPackageUploadResponse) GetFormatOk() (*string, bool)` GetFormatOk returns a tuple with the Format field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetFormat -`func (o *DockerPackageUpload) SetFormat(v string)` +`func (o *CocoapodsPackageUploadResponse) SetFormat(v string)` SetFormat sets Format field to given value. ### HasFormat -`func (o *DockerPackageUpload) HasFormat() bool` +`func (o *CocoapodsPackageUploadResponse) HasFormat() bool` HasFormat returns a boolean if a field has been set. ### GetFormatUrl -`func (o *DockerPackageUpload) GetFormatUrl() string` +`func (o *CocoapodsPackageUploadResponse) GetFormatUrl() string` GetFormatUrl returns the FormatUrl field if non-nil, zero value otherwise. ### GetFormatUrlOk -`func (o *DockerPackageUpload) GetFormatUrlOk() (*string, bool)` +`func (o *CocoapodsPackageUploadResponse) GetFormatUrlOk() (*string, bool)` GetFormatUrlOk returns a tuple with the FormatUrl field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetFormatUrl -`func (o *DockerPackageUpload) SetFormatUrl(v string)` +`func (o *CocoapodsPackageUploadResponse) SetFormatUrl(v string)` SetFormatUrl sets FormatUrl field to given value. ### HasFormatUrl -`func (o *DockerPackageUpload) HasFormatUrl() bool` +`func (o *CocoapodsPackageUploadResponse) HasFormatUrl() bool` HasFormatUrl returns a boolean if a field has been set. ### GetIdentifierPerm -`func (o *DockerPackageUpload) GetIdentifierPerm() string` +`func (o *CocoapodsPackageUploadResponse) GetIdentifierPerm() string` GetIdentifierPerm returns the IdentifierPerm field if non-nil, zero value otherwise. ### GetIdentifierPermOk -`func (o *DockerPackageUpload) GetIdentifierPermOk() (*string, bool)` +`func (o *CocoapodsPackageUploadResponse) GetIdentifierPermOk() (*string, bool)` GetIdentifierPermOk returns a tuple with the IdentifierPerm field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetIdentifierPerm -`func (o *DockerPackageUpload) SetIdentifierPerm(v string)` +`func (o *CocoapodsPackageUploadResponse) SetIdentifierPerm(v string)` SetIdentifierPerm sets IdentifierPerm field to given value. ### HasIdentifierPerm -`func (o *DockerPackageUpload) HasIdentifierPerm() bool` +`func (o *CocoapodsPackageUploadResponse) HasIdentifierPerm() bool` HasIdentifierPerm returns a boolean if a field has been set. ### GetIndexed -`func (o *DockerPackageUpload) GetIndexed() bool` +`func (o *CocoapodsPackageUploadResponse) GetIndexed() bool` GetIndexed returns the Indexed field if non-nil, zero value otherwise. ### GetIndexedOk -`func (o *DockerPackageUpload) GetIndexedOk() (*bool, bool)` +`func (o *CocoapodsPackageUploadResponse) GetIndexedOk() (*bool, bool)` GetIndexedOk returns a tuple with the Indexed field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetIndexed -`func (o *DockerPackageUpload) SetIndexed(v bool)` +`func (o *CocoapodsPackageUploadResponse) SetIndexed(v bool)` SetIndexed sets Indexed field to given value. ### HasIndexed -`func (o *DockerPackageUpload) HasIndexed() bool` +`func (o *CocoapodsPackageUploadResponse) HasIndexed() bool` HasIndexed returns a boolean if a field has been set. ### GetIsDownloadable -`func (o *DockerPackageUpload) GetIsDownloadable() bool` +`func (o *CocoapodsPackageUploadResponse) GetIsDownloadable() bool` GetIsDownloadable returns the IsDownloadable field if non-nil, zero value otherwise. ### GetIsDownloadableOk -`func (o *DockerPackageUpload) GetIsDownloadableOk() (*bool, bool)` +`func (o *CocoapodsPackageUploadResponse) GetIsDownloadableOk() (*bool, bool)` GetIsDownloadableOk returns a tuple with the IsDownloadable field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetIsDownloadable -`func (o *DockerPackageUpload) SetIsDownloadable(v bool)` +`func (o *CocoapodsPackageUploadResponse) SetIsDownloadable(v bool)` SetIsDownloadable sets IsDownloadable field to given value. ### HasIsDownloadable -`func (o *DockerPackageUpload) HasIsDownloadable() bool` +`func (o *CocoapodsPackageUploadResponse) HasIsDownloadable() bool` HasIsDownloadable returns a boolean if a field has been set. ### GetIsQuarantined -`func (o *DockerPackageUpload) GetIsQuarantined() bool` +`func (o *CocoapodsPackageUploadResponse) GetIsQuarantined() bool` GetIsQuarantined returns the IsQuarantined field if non-nil, zero value otherwise. ### GetIsQuarantinedOk -`func (o *DockerPackageUpload) GetIsQuarantinedOk() (*bool, bool)` +`func (o *CocoapodsPackageUploadResponse) GetIsQuarantinedOk() (*bool, bool)` GetIsQuarantinedOk returns a tuple with the IsQuarantined field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetIsQuarantined -`func (o *DockerPackageUpload) SetIsQuarantined(v bool)` +`func (o *CocoapodsPackageUploadResponse) SetIsQuarantined(v bool)` SetIsQuarantined sets IsQuarantined field to given value. ### HasIsQuarantined -`func (o *DockerPackageUpload) HasIsQuarantined() bool` +`func (o *CocoapodsPackageUploadResponse) HasIsQuarantined() bool` HasIsQuarantined returns a boolean if a field has been set. ### GetIsSyncAwaiting -`func (o *DockerPackageUpload) GetIsSyncAwaiting() bool` +`func (o *CocoapodsPackageUploadResponse) GetIsSyncAwaiting() bool` GetIsSyncAwaiting returns the IsSyncAwaiting field if non-nil, zero value otherwise. ### GetIsSyncAwaitingOk -`func (o *DockerPackageUpload) GetIsSyncAwaitingOk() (*bool, bool)` +`func (o *CocoapodsPackageUploadResponse) GetIsSyncAwaitingOk() (*bool, bool)` GetIsSyncAwaitingOk returns a tuple with the IsSyncAwaiting field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetIsSyncAwaiting -`func (o *DockerPackageUpload) SetIsSyncAwaiting(v bool)` +`func (o *CocoapodsPackageUploadResponse) SetIsSyncAwaiting(v bool)` SetIsSyncAwaiting sets IsSyncAwaiting field to given value. ### HasIsSyncAwaiting -`func (o *DockerPackageUpload) HasIsSyncAwaiting() bool` +`func (o *CocoapodsPackageUploadResponse) HasIsSyncAwaiting() bool` HasIsSyncAwaiting returns a boolean if a field has been set. ### GetIsSyncCompleted -`func (o *DockerPackageUpload) GetIsSyncCompleted() bool` +`func (o *CocoapodsPackageUploadResponse) GetIsSyncCompleted() bool` GetIsSyncCompleted returns the IsSyncCompleted field if non-nil, zero value otherwise. ### GetIsSyncCompletedOk -`func (o *DockerPackageUpload) GetIsSyncCompletedOk() (*bool, bool)` +`func (o *CocoapodsPackageUploadResponse) GetIsSyncCompletedOk() (*bool, bool)` GetIsSyncCompletedOk returns a tuple with the IsSyncCompleted field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetIsSyncCompleted -`func (o *DockerPackageUpload) SetIsSyncCompleted(v bool)` +`func (o *CocoapodsPackageUploadResponse) SetIsSyncCompleted(v bool)` SetIsSyncCompleted sets IsSyncCompleted field to given value. ### HasIsSyncCompleted -`func (o *DockerPackageUpload) HasIsSyncCompleted() bool` +`func (o *CocoapodsPackageUploadResponse) HasIsSyncCompleted() bool` HasIsSyncCompleted returns a boolean if a field has been set. ### GetIsSyncFailed -`func (o *DockerPackageUpload) GetIsSyncFailed() bool` +`func (o *CocoapodsPackageUploadResponse) GetIsSyncFailed() bool` GetIsSyncFailed returns the IsSyncFailed field if non-nil, zero value otherwise. ### GetIsSyncFailedOk -`func (o *DockerPackageUpload) GetIsSyncFailedOk() (*bool, bool)` +`func (o *CocoapodsPackageUploadResponse) GetIsSyncFailedOk() (*bool, bool)` GetIsSyncFailedOk returns a tuple with the IsSyncFailed field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetIsSyncFailed -`func (o *DockerPackageUpload) SetIsSyncFailed(v bool)` +`func (o *CocoapodsPackageUploadResponse) SetIsSyncFailed(v bool)` SetIsSyncFailed sets IsSyncFailed field to given value. ### HasIsSyncFailed -`func (o *DockerPackageUpload) HasIsSyncFailed() bool` +`func (o *CocoapodsPackageUploadResponse) HasIsSyncFailed() bool` HasIsSyncFailed returns a boolean if a field has been set. ### GetIsSyncInFlight -`func (o *DockerPackageUpload) GetIsSyncInFlight() bool` +`func (o *CocoapodsPackageUploadResponse) GetIsSyncInFlight() bool` GetIsSyncInFlight returns the IsSyncInFlight field if non-nil, zero value otherwise. ### GetIsSyncInFlightOk -`func (o *DockerPackageUpload) GetIsSyncInFlightOk() (*bool, bool)` +`func (o *CocoapodsPackageUploadResponse) GetIsSyncInFlightOk() (*bool, bool)` GetIsSyncInFlightOk returns a tuple with the IsSyncInFlight field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetIsSyncInFlight -`func (o *DockerPackageUpload) SetIsSyncInFlight(v bool)` +`func (o *CocoapodsPackageUploadResponse) SetIsSyncInFlight(v bool)` SetIsSyncInFlight sets IsSyncInFlight field to given value. ### HasIsSyncInFlight -`func (o *DockerPackageUpload) HasIsSyncInFlight() bool` +`func (o *CocoapodsPackageUploadResponse) HasIsSyncInFlight() bool` HasIsSyncInFlight returns a boolean if a field has been set. ### GetIsSyncInProgress -`func (o *DockerPackageUpload) GetIsSyncInProgress() bool` +`func (o *CocoapodsPackageUploadResponse) GetIsSyncInProgress() bool` GetIsSyncInProgress returns the IsSyncInProgress field if non-nil, zero value otherwise. ### GetIsSyncInProgressOk -`func (o *DockerPackageUpload) GetIsSyncInProgressOk() (*bool, bool)` +`func (o *CocoapodsPackageUploadResponse) GetIsSyncInProgressOk() (*bool, bool)` GetIsSyncInProgressOk returns a tuple with the IsSyncInProgress field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetIsSyncInProgress -`func (o *DockerPackageUpload) SetIsSyncInProgress(v bool)` +`func (o *CocoapodsPackageUploadResponse) SetIsSyncInProgress(v bool)` SetIsSyncInProgress sets IsSyncInProgress field to given value. ### HasIsSyncInProgress -`func (o *DockerPackageUpload) HasIsSyncInProgress() bool` +`func (o *CocoapodsPackageUploadResponse) HasIsSyncInProgress() bool` HasIsSyncInProgress returns a boolean if a field has been set. ### GetLicense -`func (o *DockerPackageUpload) GetLicense() string` +`func (o *CocoapodsPackageUploadResponse) GetLicense() string` GetLicense returns the License field if non-nil, zero value otherwise. ### GetLicenseOk -`func (o *DockerPackageUpload) GetLicenseOk() (*string, bool)` +`func (o *CocoapodsPackageUploadResponse) GetLicenseOk() (*string, bool)` GetLicenseOk returns a tuple with the License field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetLicense -`func (o *DockerPackageUpload) SetLicense(v string)` +`func (o *CocoapodsPackageUploadResponse) SetLicense(v string)` SetLicense sets License field to given value. ### HasLicense -`func (o *DockerPackageUpload) HasLicense() bool` +`func (o *CocoapodsPackageUploadResponse) HasLicense() bool` HasLicense returns a boolean if a field has been set. ### GetName -`func (o *DockerPackageUpload) GetName() string` +`func (o *CocoapodsPackageUploadResponse) GetName() string` GetName returns the Name field if non-nil, zero value otherwise. ### GetNameOk -`func (o *DockerPackageUpload) GetNameOk() (*string, bool)` +`func (o *CocoapodsPackageUploadResponse) GetNameOk() (*string, bool)` 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. ### SetName -`func (o *DockerPackageUpload) SetName(v string)` +`func (o *CocoapodsPackageUploadResponse) SetName(v string)` SetName sets Name field to given value. ### HasName -`func (o *DockerPackageUpload) HasName() bool` +`func (o *CocoapodsPackageUploadResponse) HasName() bool` HasName returns a boolean if a field has been set. ### GetNamespace -`func (o *DockerPackageUpload) GetNamespace() string` +`func (o *CocoapodsPackageUploadResponse) GetNamespace() string` GetNamespace returns the Namespace field if non-nil, zero value otherwise. ### GetNamespaceOk -`func (o *DockerPackageUpload) GetNamespaceOk() (*string, bool)` +`func (o *CocoapodsPackageUploadResponse) GetNamespaceOk() (*string, bool)` GetNamespaceOk returns a tuple with the Namespace field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetNamespace -`func (o *DockerPackageUpload) SetNamespace(v string)` +`func (o *CocoapodsPackageUploadResponse) SetNamespace(v string)` SetNamespace sets Namespace field to given value. ### HasNamespace -`func (o *DockerPackageUpload) HasNamespace() bool` +`func (o *CocoapodsPackageUploadResponse) HasNamespace() bool` HasNamespace returns a boolean if a field has been set. ### GetNamespaceUrl -`func (o *DockerPackageUpload) GetNamespaceUrl() string` +`func (o *CocoapodsPackageUploadResponse) GetNamespaceUrl() string` GetNamespaceUrl returns the NamespaceUrl field if non-nil, zero value otherwise. ### GetNamespaceUrlOk -`func (o *DockerPackageUpload) GetNamespaceUrlOk() (*string, bool)` +`func (o *CocoapodsPackageUploadResponse) GetNamespaceUrlOk() (*string, bool)` GetNamespaceUrlOk returns a tuple with the NamespaceUrl field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetNamespaceUrl -`func (o *DockerPackageUpload) SetNamespaceUrl(v string)` +`func (o *CocoapodsPackageUploadResponse) SetNamespaceUrl(v string)` SetNamespaceUrl sets NamespaceUrl field to given value. ### HasNamespaceUrl -`func (o *DockerPackageUpload) HasNamespaceUrl() bool` +`func (o *CocoapodsPackageUploadResponse) HasNamespaceUrl() bool` HasNamespaceUrl returns a boolean if a field has been set. ### GetNumFiles -`func (o *DockerPackageUpload) GetNumFiles() int64` +`func (o *CocoapodsPackageUploadResponse) GetNumFiles() int64` GetNumFiles returns the NumFiles field if non-nil, zero value otherwise. ### GetNumFilesOk -`func (o *DockerPackageUpload) GetNumFilesOk() (*int64, bool)` +`func (o *CocoapodsPackageUploadResponse) GetNumFilesOk() (*int64, bool)` GetNumFilesOk returns a tuple with the NumFiles field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetNumFiles -`func (o *DockerPackageUpload) SetNumFiles(v int64)` +`func (o *CocoapodsPackageUploadResponse) SetNumFiles(v int64)` SetNumFiles sets NumFiles field to given value. ### HasNumFiles -`func (o *DockerPackageUpload) HasNumFiles() bool` +`func (o *CocoapodsPackageUploadResponse) HasNumFiles() bool` HasNumFiles returns a boolean if a field has been set. +### GetOriginRepository + +`func (o *CocoapodsPackageUploadResponse) GetOriginRepository() string` + +GetOriginRepository returns the OriginRepository field if non-nil, zero value otherwise. + +### GetOriginRepositoryOk + +`func (o *CocoapodsPackageUploadResponse) GetOriginRepositoryOk() (*string, bool)` + +GetOriginRepositoryOk returns a tuple with the OriginRepository field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetOriginRepository + +`func (o *CocoapodsPackageUploadResponse) SetOriginRepository(v string)` + +SetOriginRepository sets OriginRepository field to given value. + +### HasOriginRepository + +`func (o *CocoapodsPackageUploadResponse) HasOriginRepository() bool` + +HasOriginRepository returns a boolean if a field has been set. + +### GetOriginRepositoryUrl + +`func (o *CocoapodsPackageUploadResponse) GetOriginRepositoryUrl() string` + +GetOriginRepositoryUrl returns the OriginRepositoryUrl field if non-nil, zero value otherwise. + +### GetOriginRepositoryUrlOk + +`func (o *CocoapodsPackageUploadResponse) GetOriginRepositoryUrlOk() (*string, bool)` + +GetOriginRepositoryUrlOk returns a tuple with the OriginRepositoryUrl field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetOriginRepositoryUrl + +`func (o *CocoapodsPackageUploadResponse) SetOriginRepositoryUrl(v string)` + +SetOriginRepositoryUrl sets OriginRepositoryUrl field to given value. + +### HasOriginRepositoryUrl + +`func (o *CocoapodsPackageUploadResponse) HasOriginRepositoryUrl() bool` + +HasOriginRepositoryUrl returns a boolean if a field has been set. + ### GetPackageType -`func (o *DockerPackageUpload) GetPackageType() int64` +`func (o *CocoapodsPackageUploadResponse) GetPackageType() int64` GetPackageType returns the PackageType field if non-nil, zero value otherwise. ### GetPackageTypeOk -`func (o *DockerPackageUpload) GetPackageTypeOk() (*int64, bool)` +`func (o *CocoapodsPackageUploadResponse) GetPackageTypeOk() (*int64, bool)` GetPackageTypeOk returns a tuple with the PackageType field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetPackageType -`func (o *DockerPackageUpload) SetPackageType(v int64)` +`func (o *CocoapodsPackageUploadResponse) SetPackageType(v int64)` SetPackageType sets PackageType field to given value. ### HasPackageType -`func (o *DockerPackageUpload) HasPackageType() bool` +`func (o *CocoapodsPackageUploadResponse) HasPackageType() bool` HasPackageType returns a boolean if a field has been set. ### GetRelease -`func (o *DockerPackageUpload) GetRelease() string` +`func (o *CocoapodsPackageUploadResponse) GetRelease() string` GetRelease returns the Release field if non-nil, zero value otherwise. ### GetReleaseOk -`func (o *DockerPackageUpload) GetReleaseOk() (*string, bool)` +`func (o *CocoapodsPackageUploadResponse) GetReleaseOk() (*string, bool)` GetReleaseOk returns a tuple with the Release field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetRelease -`func (o *DockerPackageUpload) SetRelease(v string)` +`func (o *CocoapodsPackageUploadResponse) SetRelease(v string)` SetRelease sets Release field to given value. ### HasRelease -`func (o *DockerPackageUpload) HasRelease() bool` +`func (o *CocoapodsPackageUploadResponse) HasRelease() bool` HasRelease returns a boolean if a field has been set. ### GetRepository -`func (o *DockerPackageUpload) GetRepository() string` +`func (o *CocoapodsPackageUploadResponse) GetRepository() string` GetRepository returns the Repository field if non-nil, zero value otherwise. ### GetRepositoryOk -`func (o *DockerPackageUpload) GetRepositoryOk() (*string, bool)` +`func (o *CocoapodsPackageUploadResponse) GetRepositoryOk() (*string, bool)` GetRepositoryOk returns a tuple with the Repository field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetRepository -`func (o *DockerPackageUpload) SetRepository(v string)` +`func (o *CocoapodsPackageUploadResponse) SetRepository(v string)` SetRepository sets Repository field to given value. ### HasRepository -`func (o *DockerPackageUpload) HasRepository() bool` +`func (o *CocoapodsPackageUploadResponse) HasRepository() bool` HasRepository returns a boolean if a field has been set. ### GetRepositoryUrl -`func (o *DockerPackageUpload) GetRepositoryUrl() string` +`func (o *CocoapodsPackageUploadResponse) GetRepositoryUrl() string` GetRepositoryUrl returns the RepositoryUrl field if non-nil, zero value otherwise. ### GetRepositoryUrlOk -`func (o *DockerPackageUpload) GetRepositoryUrlOk() (*string, bool)` +`func (o *CocoapodsPackageUploadResponse) GetRepositoryUrlOk() (*string, bool)` GetRepositoryUrlOk returns a tuple with the RepositoryUrl field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetRepositoryUrl -`func (o *DockerPackageUpload) SetRepositoryUrl(v string)` +`func (o *CocoapodsPackageUploadResponse) SetRepositoryUrl(v string)` SetRepositoryUrl sets RepositoryUrl field to given value. ### HasRepositoryUrl -`func (o *DockerPackageUpload) HasRepositoryUrl() bool` +`func (o *CocoapodsPackageUploadResponse) HasRepositoryUrl() bool` HasRepositoryUrl returns a boolean if a field has been set. ### GetSecurityScanCompletedAt -`func (o *DockerPackageUpload) GetSecurityScanCompletedAt() string` +`func (o *CocoapodsPackageUploadResponse) GetSecurityScanCompletedAt() time.Time` GetSecurityScanCompletedAt returns the SecurityScanCompletedAt field if non-nil, zero value otherwise. ### GetSecurityScanCompletedAtOk -`func (o *DockerPackageUpload) GetSecurityScanCompletedAtOk() (*string, bool)` +`func (o *CocoapodsPackageUploadResponse) GetSecurityScanCompletedAtOk() (*time.Time, bool)` GetSecurityScanCompletedAtOk returns a tuple with the SecurityScanCompletedAt field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetSecurityScanCompletedAt -`func (o *DockerPackageUpload) SetSecurityScanCompletedAt(v string)` +`func (o *CocoapodsPackageUploadResponse) SetSecurityScanCompletedAt(v time.Time)` SetSecurityScanCompletedAt sets SecurityScanCompletedAt field to given value. ### HasSecurityScanCompletedAt -`func (o *DockerPackageUpload) HasSecurityScanCompletedAt() bool` +`func (o *CocoapodsPackageUploadResponse) HasSecurityScanCompletedAt() bool` HasSecurityScanCompletedAt returns a boolean if a field has been set. ### GetSecurityScanStartedAt -`func (o *DockerPackageUpload) GetSecurityScanStartedAt() string` +`func (o *CocoapodsPackageUploadResponse) GetSecurityScanStartedAt() time.Time` GetSecurityScanStartedAt returns the SecurityScanStartedAt field if non-nil, zero value otherwise. ### GetSecurityScanStartedAtOk -`func (o *DockerPackageUpload) GetSecurityScanStartedAtOk() (*string, bool)` +`func (o *CocoapodsPackageUploadResponse) GetSecurityScanStartedAtOk() (*time.Time, bool)` GetSecurityScanStartedAtOk returns a tuple with the SecurityScanStartedAt field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetSecurityScanStartedAt -`func (o *DockerPackageUpload) SetSecurityScanStartedAt(v string)` +`func (o *CocoapodsPackageUploadResponse) SetSecurityScanStartedAt(v time.Time)` SetSecurityScanStartedAt sets SecurityScanStartedAt field to given value. ### HasSecurityScanStartedAt -`func (o *DockerPackageUpload) HasSecurityScanStartedAt() bool` +`func (o *CocoapodsPackageUploadResponse) HasSecurityScanStartedAt() bool` HasSecurityScanStartedAt returns a boolean if a field has been set. ### GetSecurityScanStatus -`func (o *DockerPackageUpload) GetSecurityScanStatus() string` +`func (o *CocoapodsPackageUploadResponse) GetSecurityScanStatus() string` GetSecurityScanStatus returns the SecurityScanStatus field if non-nil, zero value otherwise. ### GetSecurityScanStatusOk -`func (o *DockerPackageUpload) GetSecurityScanStatusOk() (*string, bool)` +`func (o *CocoapodsPackageUploadResponse) GetSecurityScanStatusOk() (*string, bool)` GetSecurityScanStatusOk returns a tuple with the SecurityScanStatus field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetSecurityScanStatus -`func (o *DockerPackageUpload) SetSecurityScanStatus(v string)` +`func (o *CocoapodsPackageUploadResponse) SetSecurityScanStatus(v string)` SetSecurityScanStatus sets SecurityScanStatus field to given value. ### HasSecurityScanStatus -`func (o *DockerPackageUpload) HasSecurityScanStatus() bool` +`func (o *CocoapodsPackageUploadResponse) HasSecurityScanStatus() bool` HasSecurityScanStatus returns a boolean if a field has been set. +### SetSecurityScanStatusNil + +`func (o *CocoapodsPackageUploadResponse) SetSecurityScanStatusNil(b bool)` + + SetSecurityScanStatusNil sets the value for SecurityScanStatus to be an explicit nil + +### UnsetSecurityScanStatus +`func (o *CocoapodsPackageUploadResponse) UnsetSecurityScanStatus()` + +UnsetSecurityScanStatus ensures that no value is present for SecurityScanStatus, not even an explicit nil ### GetSecurityScanStatusUpdatedAt -`func (o *DockerPackageUpload) GetSecurityScanStatusUpdatedAt() string` +`func (o *CocoapodsPackageUploadResponse) GetSecurityScanStatusUpdatedAt() time.Time` GetSecurityScanStatusUpdatedAt returns the SecurityScanStatusUpdatedAt field if non-nil, zero value otherwise. ### GetSecurityScanStatusUpdatedAtOk -`func (o *DockerPackageUpload) GetSecurityScanStatusUpdatedAtOk() (*string, bool)` +`func (o *CocoapodsPackageUploadResponse) GetSecurityScanStatusUpdatedAtOk() (*time.Time, bool)` GetSecurityScanStatusUpdatedAtOk returns a tuple with the SecurityScanStatusUpdatedAt field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetSecurityScanStatusUpdatedAt -`func (o *DockerPackageUpload) SetSecurityScanStatusUpdatedAt(v string)` +`func (o *CocoapodsPackageUploadResponse) SetSecurityScanStatusUpdatedAt(v time.Time)` SetSecurityScanStatusUpdatedAt sets SecurityScanStatusUpdatedAt field to given value. ### HasSecurityScanStatusUpdatedAt -`func (o *DockerPackageUpload) HasSecurityScanStatusUpdatedAt() bool` +`func (o *CocoapodsPackageUploadResponse) HasSecurityScanStatusUpdatedAt() bool` HasSecurityScanStatusUpdatedAt returns a boolean if a field has been set. ### GetSelfHtmlUrl -`func (o *DockerPackageUpload) GetSelfHtmlUrl() string` +`func (o *CocoapodsPackageUploadResponse) GetSelfHtmlUrl() string` GetSelfHtmlUrl returns the SelfHtmlUrl field if non-nil, zero value otherwise. ### GetSelfHtmlUrlOk -`func (o *DockerPackageUpload) GetSelfHtmlUrlOk() (*string, bool)` +`func (o *CocoapodsPackageUploadResponse) GetSelfHtmlUrlOk() (*string, bool)` GetSelfHtmlUrlOk returns a tuple with the SelfHtmlUrl field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetSelfHtmlUrl -`func (o *DockerPackageUpload) SetSelfHtmlUrl(v string)` +`func (o *CocoapodsPackageUploadResponse) SetSelfHtmlUrl(v string)` SetSelfHtmlUrl sets SelfHtmlUrl field to given value. ### HasSelfHtmlUrl -`func (o *DockerPackageUpload) HasSelfHtmlUrl() bool` +`func (o *CocoapodsPackageUploadResponse) HasSelfHtmlUrl() bool` HasSelfHtmlUrl returns a boolean if a field has been set. ### GetSelfUrl -`func (o *DockerPackageUpload) GetSelfUrl() string` +`func (o *CocoapodsPackageUploadResponse) GetSelfUrl() string` GetSelfUrl returns the SelfUrl field if non-nil, zero value otherwise. ### GetSelfUrlOk -`func (o *DockerPackageUpload) GetSelfUrlOk() (*string, bool)` +`func (o *CocoapodsPackageUploadResponse) GetSelfUrlOk() (*string, bool)` GetSelfUrlOk returns a tuple with the SelfUrl field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetSelfUrl -`func (o *DockerPackageUpload) SetSelfUrl(v string)` +`func (o *CocoapodsPackageUploadResponse) SetSelfUrl(v string)` SetSelfUrl sets SelfUrl field to given value. ### HasSelfUrl -`func (o *DockerPackageUpload) HasSelfUrl() bool` +`func (o *CocoapodsPackageUploadResponse) HasSelfUrl() bool` HasSelfUrl returns a boolean if a field has been set. ### GetSignatureUrl -`func (o *DockerPackageUpload) GetSignatureUrl() string` +`func (o *CocoapodsPackageUploadResponse) GetSignatureUrl() string` GetSignatureUrl returns the SignatureUrl field if non-nil, zero value otherwise. ### GetSignatureUrlOk -`func (o *DockerPackageUpload) GetSignatureUrlOk() (*string, bool)` +`func (o *CocoapodsPackageUploadResponse) GetSignatureUrlOk() (*string, bool)` GetSignatureUrlOk returns a tuple with the SignatureUrl field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetSignatureUrl -`func (o *DockerPackageUpload) SetSignatureUrl(v string)` +`func (o *CocoapodsPackageUploadResponse) SetSignatureUrl(v string)` SetSignatureUrl sets SignatureUrl field to given value. ### HasSignatureUrl -`func (o *DockerPackageUpload) HasSignatureUrl() bool` +`func (o *CocoapodsPackageUploadResponse) HasSignatureUrl() bool` HasSignatureUrl returns a boolean if a field has been set. +### SetSignatureUrlNil + +`func (o *CocoapodsPackageUploadResponse) SetSignatureUrlNil(b bool)` + + SetSignatureUrlNil sets the value for SignatureUrl to be an explicit nil + +### UnsetSignatureUrl +`func (o *CocoapodsPackageUploadResponse) UnsetSignatureUrl()` + +UnsetSignatureUrl ensures that no value is present for SignatureUrl, not even an explicit nil ### GetSize -`func (o *DockerPackageUpload) GetSize() int64` +`func (o *CocoapodsPackageUploadResponse) GetSize() int64` GetSize returns the Size field if non-nil, zero value otherwise. ### GetSizeOk -`func (o *DockerPackageUpload) GetSizeOk() (*int64, bool)` +`func (o *CocoapodsPackageUploadResponse) GetSizeOk() (*int64, bool)` GetSizeOk returns a tuple with the Size field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetSize -`func (o *DockerPackageUpload) SetSize(v int64)` +`func (o *CocoapodsPackageUploadResponse) SetSize(v int64)` SetSize sets Size field to given value. ### HasSize -`func (o *DockerPackageUpload) HasSize() bool` +`func (o *CocoapodsPackageUploadResponse) HasSize() bool` HasSize returns a boolean if a field has been set. ### GetSlug -`func (o *DockerPackageUpload) GetSlug() string` +`func (o *CocoapodsPackageUploadResponse) GetSlug() string` GetSlug returns the Slug field if non-nil, zero value otherwise. ### GetSlugOk -`func (o *DockerPackageUpload) GetSlugOk() (*string, bool)` +`func (o *CocoapodsPackageUploadResponse) GetSlugOk() (*string, bool)` GetSlugOk returns a tuple with the Slug field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetSlug -`func (o *DockerPackageUpload) SetSlug(v string)` +`func (o *CocoapodsPackageUploadResponse) SetSlug(v string)` SetSlug sets Slug field to given value. ### HasSlug -`func (o *DockerPackageUpload) HasSlug() bool` +`func (o *CocoapodsPackageUploadResponse) HasSlug() bool` HasSlug returns a boolean if a field has been set. ### GetSlugPerm -`func (o *DockerPackageUpload) GetSlugPerm() string` +`func (o *CocoapodsPackageUploadResponse) GetSlugPerm() string` GetSlugPerm returns the SlugPerm field if non-nil, zero value otherwise. ### GetSlugPermOk -`func (o *DockerPackageUpload) GetSlugPermOk() (*string, bool)` +`func (o *CocoapodsPackageUploadResponse) GetSlugPermOk() (*string, bool)` GetSlugPermOk returns a tuple with the SlugPerm field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetSlugPerm -`func (o *DockerPackageUpload) SetSlugPerm(v string)` +`func (o *CocoapodsPackageUploadResponse) SetSlugPerm(v string)` SetSlugPerm sets SlugPerm field to given value. ### HasSlugPerm -`func (o *DockerPackageUpload) HasSlugPerm() bool` +`func (o *CocoapodsPackageUploadResponse) HasSlugPerm() bool` HasSlugPerm returns a boolean if a field has been set. ### GetStage -`func (o *DockerPackageUpload) GetStage() int64` +`func (o *CocoapodsPackageUploadResponse) GetStage() int64` GetStage returns the Stage field if non-nil, zero value otherwise. ### GetStageOk -`func (o *DockerPackageUpload) GetStageOk() (*int64, bool)` +`func (o *CocoapodsPackageUploadResponse) GetStageOk() (*int64, bool)` GetStageOk returns a tuple with the Stage field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetStage -`func (o *DockerPackageUpload) SetStage(v int64)` +`func (o *CocoapodsPackageUploadResponse) SetStage(v int64)` SetStage sets Stage field to given value. ### HasStage -`func (o *DockerPackageUpload) HasStage() bool` +`func (o *CocoapodsPackageUploadResponse) HasStage() bool` HasStage returns a boolean if a field has been set. ### GetStageStr -`func (o *DockerPackageUpload) GetStageStr() string` +`func (o *CocoapodsPackageUploadResponse) GetStageStr() string` GetStageStr returns the StageStr field if non-nil, zero value otherwise. ### GetStageStrOk -`func (o *DockerPackageUpload) GetStageStrOk() (*string, bool)` +`func (o *CocoapodsPackageUploadResponse) GetStageStrOk() (*string, bool)` GetStageStrOk returns a tuple with the StageStr field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetStageStr -`func (o *DockerPackageUpload) SetStageStr(v string)` +`func (o *CocoapodsPackageUploadResponse) SetStageStr(v string)` SetStageStr sets StageStr field to given value. ### HasStageStr -`func (o *DockerPackageUpload) HasStageStr() bool` +`func (o *CocoapodsPackageUploadResponse) HasStageStr() bool` HasStageStr returns a boolean if a field has been set. ### GetStageUpdatedAt -`func (o *DockerPackageUpload) GetStageUpdatedAt() string` +`func (o *CocoapodsPackageUploadResponse) GetStageUpdatedAt() time.Time` GetStageUpdatedAt returns the StageUpdatedAt field if non-nil, zero value otherwise. ### GetStageUpdatedAtOk -`func (o *DockerPackageUpload) GetStageUpdatedAtOk() (*string, bool)` +`func (o *CocoapodsPackageUploadResponse) GetStageUpdatedAtOk() (*time.Time, bool)` GetStageUpdatedAtOk returns a tuple with the StageUpdatedAt field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetStageUpdatedAt -`func (o *DockerPackageUpload) SetStageUpdatedAt(v string)` +`func (o *CocoapodsPackageUploadResponse) SetStageUpdatedAt(v time.Time)` SetStageUpdatedAt sets StageUpdatedAt field to given value. ### HasStageUpdatedAt -`func (o *DockerPackageUpload) HasStageUpdatedAt() bool` +`func (o *CocoapodsPackageUploadResponse) HasStageUpdatedAt() bool` HasStageUpdatedAt returns a boolean if a field has been set. ### GetStatus -`func (o *DockerPackageUpload) GetStatus() int64` +`func (o *CocoapodsPackageUploadResponse) GetStatus() int64` GetStatus returns the Status field if non-nil, zero value otherwise. ### GetStatusOk -`func (o *DockerPackageUpload) GetStatusOk() (*int64, bool)` +`func (o *CocoapodsPackageUploadResponse) GetStatusOk() (*int64, bool)` GetStatusOk returns a tuple with the Status field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetStatus -`func (o *DockerPackageUpload) SetStatus(v int64)` +`func (o *CocoapodsPackageUploadResponse) SetStatus(v int64)` SetStatus sets Status field to given value. ### HasStatus -`func (o *DockerPackageUpload) HasStatus() bool` +`func (o *CocoapodsPackageUploadResponse) HasStatus() bool` HasStatus returns a boolean if a field has been set. ### GetStatusReason -`func (o *DockerPackageUpload) GetStatusReason() string` +`func (o *CocoapodsPackageUploadResponse) GetStatusReason() string` GetStatusReason returns the StatusReason field if non-nil, zero value otherwise. ### GetStatusReasonOk -`func (o *DockerPackageUpload) GetStatusReasonOk() (*string, bool)` +`func (o *CocoapodsPackageUploadResponse) GetStatusReasonOk() (*string, bool)` GetStatusReasonOk returns a tuple with the StatusReason field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetStatusReason -`func (o *DockerPackageUpload) SetStatusReason(v string)` +`func (o *CocoapodsPackageUploadResponse) SetStatusReason(v string)` SetStatusReason sets StatusReason field to given value. ### HasStatusReason -`func (o *DockerPackageUpload) HasStatusReason() bool` +`func (o *CocoapodsPackageUploadResponse) HasStatusReason() bool` HasStatusReason returns a boolean if a field has been set. ### GetStatusStr -`func (o *DockerPackageUpload) GetStatusStr() string` +`func (o *CocoapodsPackageUploadResponse) GetStatusStr() string` GetStatusStr returns the StatusStr field if non-nil, zero value otherwise. ### GetStatusStrOk -`func (o *DockerPackageUpload) GetStatusStrOk() (*string, bool)` +`func (o *CocoapodsPackageUploadResponse) GetStatusStrOk() (*string, bool)` GetStatusStrOk returns a tuple with the StatusStr field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetStatusStr -`func (o *DockerPackageUpload) SetStatusStr(v string)` +`func (o *CocoapodsPackageUploadResponse) SetStatusStr(v string)` SetStatusStr sets StatusStr field to given value. ### HasStatusStr -`func (o *DockerPackageUpload) HasStatusStr() bool` +`func (o *CocoapodsPackageUploadResponse) HasStatusStr() bool` HasStatusStr returns a boolean if a field has been set. ### GetStatusUpdatedAt -`func (o *DockerPackageUpload) GetStatusUpdatedAt() string` +`func (o *CocoapodsPackageUploadResponse) GetStatusUpdatedAt() time.Time` GetStatusUpdatedAt returns the StatusUpdatedAt field if non-nil, zero value otherwise. ### GetStatusUpdatedAtOk -`func (o *DockerPackageUpload) GetStatusUpdatedAtOk() (*string, bool)` +`func (o *CocoapodsPackageUploadResponse) GetStatusUpdatedAtOk() (*time.Time, bool)` GetStatusUpdatedAtOk returns a tuple with the StatusUpdatedAt field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetStatusUpdatedAt -`func (o *DockerPackageUpload) SetStatusUpdatedAt(v string)` +`func (o *CocoapodsPackageUploadResponse) SetStatusUpdatedAt(v time.Time)` SetStatusUpdatedAt sets StatusUpdatedAt field to given value. ### HasStatusUpdatedAt -`func (o *DockerPackageUpload) HasStatusUpdatedAt() bool` +`func (o *CocoapodsPackageUploadResponse) HasStatusUpdatedAt() bool` HasStatusUpdatedAt returns a boolean if a field has been set. ### GetStatusUrl -`func (o *DockerPackageUpload) GetStatusUrl() string` +`func (o *CocoapodsPackageUploadResponse) GetStatusUrl() string` GetStatusUrl returns the StatusUrl field if non-nil, zero value otherwise. ### GetStatusUrlOk -`func (o *DockerPackageUpload) GetStatusUrlOk() (*string, bool)` +`func (o *CocoapodsPackageUploadResponse) GetStatusUrlOk() (*string, bool)` GetStatusUrlOk returns a tuple with the StatusUrl field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetStatusUrl -`func (o *DockerPackageUpload) SetStatusUrl(v string)` +`func (o *CocoapodsPackageUploadResponse) SetStatusUrl(v string)` SetStatusUrl sets StatusUrl field to given value. ### HasStatusUrl -`func (o *DockerPackageUpload) HasStatusUrl() bool` +`func (o *CocoapodsPackageUploadResponse) HasStatusUrl() bool` HasStatusUrl returns a boolean if a field has been set. ### GetSubtype -`func (o *DockerPackageUpload) GetSubtype() string` +`func (o *CocoapodsPackageUploadResponse) GetSubtype() string` GetSubtype returns the Subtype field if non-nil, zero value otherwise. ### GetSubtypeOk -`func (o *DockerPackageUpload) GetSubtypeOk() (*string, bool)` +`func (o *CocoapodsPackageUploadResponse) GetSubtypeOk() (*string, bool)` GetSubtypeOk returns a tuple with the Subtype field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetSubtype -`func (o *DockerPackageUpload) SetSubtype(v string)` +`func (o *CocoapodsPackageUploadResponse) SetSubtype(v string)` SetSubtype sets Subtype field to given value. ### HasSubtype -`func (o *DockerPackageUpload) HasSubtype() bool` +`func (o *CocoapodsPackageUploadResponse) HasSubtype() bool` HasSubtype returns a boolean if a field has been set. ### GetSummary -`func (o *DockerPackageUpload) GetSummary() string` +`func (o *CocoapodsPackageUploadResponse) GetSummary() string` GetSummary returns the Summary field if non-nil, zero value otherwise. ### GetSummaryOk -`func (o *DockerPackageUpload) GetSummaryOk() (*string, bool)` +`func (o *CocoapodsPackageUploadResponse) GetSummaryOk() (*string, bool)` GetSummaryOk returns a tuple with the Summary field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetSummary -`func (o *DockerPackageUpload) SetSummary(v string)` +`func (o *CocoapodsPackageUploadResponse) SetSummary(v string)` SetSummary sets Summary field to given value. ### HasSummary -`func (o *DockerPackageUpload) HasSummary() bool` +`func (o *CocoapodsPackageUploadResponse) HasSummary() bool` HasSummary returns a boolean if a field has been set. ### GetSyncFinishedAt -`func (o *DockerPackageUpload) GetSyncFinishedAt() string` +`func (o *CocoapodsPackageUploadResponse) GetSyncFinishedAt() time.Time` GetSyncFinishedAt returns the SyncFinishedAt field if non-nil, zero value otherwise. ### GetSyncFinishedAtOk -`func (o *DockerPackageUpload) GetSyncFinishedAtOk() (*string, bool)` +`func (o *CocoapodsPackageUploadResponse) GetSyncFinishedAtOk() (*time.Time, bool)` GetSyncFinishedAtOk returns a tuple with the SyncFinishedAt field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetSyncFinishedAt -`func (o *DockerPackageUpload) SetSyncFinishedAt(v string)` +`func (o *CocoapodsPackageUploadResponse) SetSyncFinishedAt(v time.Time)` SetSyncFinishedAt sets SyncFinishedAt field to given value. ### HasSyncFinishedAt -`func (o *DockerPackageUpload) HasSyncFinishedAt() bool` +`func (o *CocoapodsPackageUploadResponse) HasSyncFinishedAt() bool` HasSyncFinishedAt returns a boolean if a field has been set. ### GetSyncProgress -`func (o *DockerPackageUpload) GetSyncProgress() int64` +`func (o *CocoapodsPackageUploadResponse) GetSyncProgress() int64` GetSyncProgress returns the SyncProgress field if non-nil, zero value otherwise. ### GetSyncProgressOk -`func (o *DockerPackageUpload) GetSyncProgressOk() (*int64, bool)` +`func (o *CocoapodsPackageUploadResponse) GetSyncProgressOk() (*int64, bool)` GetSyncProgressOk returns a tuple with the SyncProgress field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetSyncProgress -`func (o *DockerPackageUpload) SetSyncProgress(v int64)` +`func (o *CocoapodsPackageUploadResponse) SetSyncProgress(v int64)` SetSyncProgress sets SyncProgress field to given value. ### HasSyncProgress -`func (o *DockerPackageUpload) HasSyncProgress() bool` +`func (o *CocoapodsPackageUploadResponse) HasSyncProgress() bool` HasSyncProgress returns a boolean if a field has been set. ### GetTagsImmutable -`func (o *DockerPackageUpload) GetTagsImmutable() map[string]interface{}` +`func (o *CocoapodsPackageUploadResponse) GetTagsImmutable() map[string]interface{}` GetTagsImmutable returns the TagsImmutable field if non-nil, zero value otherwise. ### GetTagsImmutableOk -`func (o *DockerPackageUpload) GetTagsImmutableOk() (*map[string]interface{}, bool)` +`func (o *CocoapodsPackageUploadResponse) GetTagsImmutableOk() (*map[string]interface{}, bool)` GetTagsImmutableOk returns a tuple with the TagsImmutable field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetTagsImmutable -`func (o *DockerPackageUpload) SetTagsImmutable(v map[string]interface{})` +`func (o *CocoapodsPackageUploadResponse) SetTagsImmutable(v map[string]interface{})` SetTagsImmutable sets TagsImmutable field to given value. ### HasTagsImmutable -`func (o *DockerPackageUpload) HasTagsImmutable() bool` +`func (o *CocoapodsPackageUploadResponse) HasTagsImmutable() bool` HasTagsImmutable returns a boolean if a field has been set. ### GetTypeDisplay -`func (o *DockerPackageUpload) GetTypeDisplay() string` +`func (o *CocoapodsPackageUploadResponse) GetTypeDisplay() string` GetTypeDisplay returns the TypeDisplay field if non-nil, zero value otherwise. ### GetTypeDisplayOk -`func (o *DockerPackageUpload) GetTypeDisplayOk() (*string, bool)` +`func (o *CocoapodsPackageUploadResponse) GetTypeDisplayOk() (*string, bool)` GetTypeDisplayOk returns a tuple with the TypeDisplay field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetTypeDisplay -`func (o *DockerPackageUpload) SetTypeDisplay(v string)` +`func (o *CocoapodsPackageUploadResponse) SetTypeDisplay(v string)` SetTypeDisplay sets TypeDisplay field to given value. ### HasTypeDisplay -`func (o *DockerPackageUpload) HasTypeDisplay() bool` +`func (o *CocoapodsPackageUploadResponse) HasTypeDisplay() bool` HasTypeDisplay returns a boolean if a field has been set. ### GetUploadedAt -`func (o *DockerPackageUpload) GetUploadedAt() string` +`func (o *CocoapodsPackageUploadResponse) GetUploadedAt() time.Time` GetUploadedAt returns the UploadedAt field if non-nil, zero value otherwise. ### GetUploadedAtOk -`func (o *DockerPackageUpload) GetUploadedAtOk() (*string, bool)` +`func (o *CocoapodsPackageUploadResponse) GetUploadedAtOk() (*time.Time, bool)` GetUploadedAtOk returns a tuple with the UploadedAt field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetUploadedAt -`func (o *DockerPackageUpload) SetUploadedAt(v string)` +`func (o *CocoapodsPackageUploadResponse) SetUploadedAt(v time.Time)` SetUploadedAt sets UploadedAt field to given value. ### HasUploadedAt -`func (o *DockerPackageUpload) HasUploadedAt() bool` +`func (o *CocoapodsPackageUploadResponse) HasUploadedAt() bool` HasUploadedAt returns a boolean if a field has been set. ### GetUploader -`func (o *DockerPackageUpload) GetUploader() string` +`func (o *CocoapodsPackageUploadResponse) GetUploader() string` GetUploader returns the Uploader field if non-nil, zero value otherwise. ### GetUploaderOk -`func (o *DockerPackageUpload) GetUploaderOk() (*string, bool)` +`func (o *CocoapodsPackageUploadResponse) GetUploaderOk() (*string, bool)` GetUploaderOk returns a tuple with the Uploader field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetUploader -`func (o *DockerPackageUpload) SetUploader(v string)` +`func (o *CocoapodsPackageUploadResponse) SetUploader(v string)` SetUploader sets Uploader field to given value. ### HasUploader -`func (o *DockerPackageUpload) HasUploader() bool` +`func (o *CocoapodsPackageUploadResponse) HasUploader() bool` HasUploader returns a boolean if a field has been set. ### GetUploaderUrl -`func (o *DockerPackageUpload) GetUploaderUrl() string` +`func (o *CocoapodsPackageUploadResponse) GetUploaderUrl() string` GetUploaderUrl returns the UploaderUrl field if non-nil, zero value otherwise. ### GetUploaderUrlOk -`func (o *DockerPackageUpload) GetUploaderUrlOk() (*string, bool)` +`func (o *CocoapodsPackageUploadResponse) GetUploaderUrlOk() (*string, bool)` GetUploaderUrlOk returns a tuple with the UploaderUrl field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetUploaderUrl -`func (o *DockerPackageUpload) SetUploaderUrl(v string)` +`func (o *CocoapodsPackageUploadResponse) SetUploaderUrl(v string)` SetUploaderUrl sets UploaderUrl field to given value. ### HasUploaderUrl -`func (o *DockerPackageUpload) HasUploaderUrl() bool` +`func (o *CocoapodsPackageUploadResponse) HasUploaderUrl() bool` HasUploaderUrl returns a boolean if a field has been set. ### GetVersion -`func (o *DockerPackageUpload) GetVersion() string` +`func (o *CocoapodsPackageUploadResponse) GetVersion() string` GetVersion returns the Version field if non-nil, zero value otherwise. ### GetVersionOk -`func (o *DockerPackageUpload) GetVersionOk() (*string, bool)` +`func (o *CocoapodsPackageUploadResponse) GetVersionOk() (*string, bool)` GetVersionOk returns a tuple with the Version field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetVersion -`func (o *DockerPackageUpload) SetVersion(v string)` +`func (o *CocoapodsPackageUploadResponse) SetVersion(v string)` SetVersion sets Version field to given value. ### HasVersion -`func (o *DockerPackageUpload) HasVersion() bool` +`func (o *CocoapodsPackageUploadResponse) HasVersion() bool` HasVersion returns a boolean if a field has been set. ### GetVersionOrig -`func (o *DockerPackageUpload) GetVersionOrig() string` +`func (o *CocoapodsPackageUploadResponse) GetVersionOrig() string` GetVersionOrig returns the VersionOrig field if non-nil, zero value otherwise. ### GetVersionOrigOk -`func (o *DockerPackageUpload) GetVersionOrigOk() (*string, bool)` +`func (o *CocoapodsPackageUploadResponse) GetVersionOrigOk() (*string, bool)` GetVersionOrigOk returns a tuple with the VersionOrig field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetVersionOrig -`func (o *DockerPackageUpload) SetVersionOrig(v string)` +`func (o *CocoapodsPackageUploadResponse) SetVersionOrig(v string)` SetVersionOrig sets VersionOrig field to given value. ### HasVersionOrig -`func (o *DockerPackageUpload) HasVersionOrig() bool` +`func (o *CocoapodsPackageUploadResponse) HasVersionOrig() bool` HasVersionOrig returns a boolean if a field has been set. ### GetVulnerabilityScanResultsUrl -`func (o *DockerPackageUpload) GetVulnerabilityScanResultsUrl() string` +`func (o *CocoapodsPackageUploadResponse) GetVulnerabilityScanResultsUrl() string` GetVulnerabilityScanResultsUrl returns the VulnerabilityScanResultsUrl field if non-nil, zero value otherwise. ### GetVulnerabilityScanResultsUrlOk -`func (o *DockerPackageUpload) GetVulnerabilityScanResultsUrlOk() (*string, bool)` +`func (o *CocoapodsPackageUploadResponse) GetVulnerabilityScanResultsUrlOk() (*string, bool)` GetVulnerabilityScanResultsUrlOk returns a tuple with the VulnerabilityScanResultsUrl field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetVulnerabilityScanResultsUrl -`func (o *DockerPackageUpload) SetVulnerabilityScanResultsUrl(v string)` +`func (o *CocoapodsPackageUploadResponse) SetVulnerabilityScanResultsUrl(v string)` SetVulnerabilityScanResultsUrl sets VulnerabilityScanResultsUrl field to given value. ### HasVulnerabilityScanResultsUrl -`func (o *DockerPackageUpload) HasVulnerabilityScanResultsUrl() bool` +`func (o *CocoapodsPackageUploadResponse) HasVulnerabilityScanResultsUrl() bool` HasVulnerabilityScanResultsUrl returns a boolean if a field has been set. diff --git a/docs/CommonBandwidthMetrics.md b/docs/CommonBandwidthMetrics.md new file mode 100644 index 00000000..fc5d0d18 --- /dev/null +++ b/docs/CommonBandwidthMetrics.md @@ -0,0 +1,114 @@ +# CommonBandwidthMetrics + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Average** | [**CommonBandwidthMetricsValue**](CommonBandwidthMetricsValue.md) | | +**Highest** | [**CommonBandwidthMetricsValue**](CommonBandwidthMetricsValue.md) | | +**Lowest** | [**CommonBandwidthMetricsValue**](CommonBandwidthMetricsValue.md) | | +**Total** | [**CommonBandwidthMetricsValue**](CommonBandwidthMetricsValue.md) | | + +## Methods + +### NewCommonBandwidthMetrics + +`func NewCommonBandwidthMetrics(average CommonBandwidthMetricsValue, highest CommonBandwidthMetricsValue, lowest CommonBandwidthMetricsValue, total CommonBandwidthMetricsValue, ) *CommonBandwidthMetrics` + +NewCommonBandwidthMetrics instantiates a new CommonBandwidthMetrics object +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 + +### NewCommonBandwidthMetricsWithDefaults + +`func NewCommonBandwidthMetricsWithDefaults() *CommonBandwidthMetrics` + +NewCommonBandwidthMetricsWithDefaults instantiates a new CommonBandwidthMetrics object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetAverage + +`func (o *CommonBandwidthMetrics) GetAverage() CommonBandwidthMetricsValue` + +GetAverage returns the Average field if non-nil, zero value otherwise. + +### GetAverageOk + +`func (o *CommonBandwidthMetrics) GetAverageOk() (*CommonBandwidthMetricsValue, bool)` + +GetAverageOk returns a tuple with the Average field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetAverage + +`func (o *CommonBandwidthMetrics) SetAverage(v CommonBandwidthMetricsValue)` + +SetAverage sets Average field to given value. + + +### GetHighest + +`func (o *CommonBandwidthMetrics) GetHighest() CommonBandwidthMetricsValue` + +GetHighest returns the Highest field if non-nil, zero value otherwise. + +### GetHighestOk + +`func (o *CommonBandwidthMetrics) GetHighestOk() (*CommonBandwidthMetricsValue, bool)` + +GetHighestOk returns a tuple with the Highest field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetHighest + +`func (o *CommonBandwidthMetrics) SetHighest(v CommonBandwidthMetricsValue)` + +SetHighest sets Highest field to given value. + + +### GetLowest + +`func (o *CommonBandwidthMetrics) GetLowest() CommonBandwidthMetricsValue` + +GetLowest returns the Lowest field if non-nil, zero value otherwise. + +### GetLowestOk + +`func (o *CommonBandwidthMetrics) GetLowestOk() (*CommonBandwidthMetricsValue, bool)` + +GetLowestOk returns a tuple with the Lowest field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetLowest + +`func (o *CommonBandwidthMetrics) SetLowest(v CommonBandwidthMetricsValue)` + +SetLowest sets Lowest field to given value. + + +### GetTotal + +`func (o *CommonBandwidthMetrics) GetTotal() CommonBandwidthMetricsValue` + +GetTotal returns the Total field if non-nil, zero value otherwise. + +### GetTotalOk + +`func (o *CommonBandwidthMetrics) GetTotalOk() (*CommonBandwidthMetricsValue, bool)` + +GetTotalOk returns a tuple with the Total field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetTotal + +`func (o *CommonBandwidthMetrics) SetTotal(v CommonBandwidthMetricsValue)` + +SetTotal sets Total field to given value. + + + +[[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/docs/CommonBandwidthMetricsValue.md b/docs/CommonBandwidthMetricsValue.md new file mode 100644 index 00000000..2367acf4 --- /dev/null +++ b/docs/CommonBandwidthMetricsValue.md @@ -0,0 +1,98 @@ +# CommonBandwidthMetricsValue + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Display** | **string** | | +**Units** | Pointer to **string** | | [optional] [default to "bytes"] +**Value** | **int64** | | + +## Methods + +### NewCommonBandwidthMetricsValue + +`func NewCommonBandwidthMetricsValue(display string, value int64, ) *CommonBandwidthMetricsValue` + +NewCommonBandwidthMetricsValue instantiates a new CommonBandwidthMetricsValue object +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 + +### NewCommonBandwidthMetricsValueWithDefaults + +`func NewCommonBandwidthMetricsValueWithDefaults() *CommonBandwidthMetricsValue` + +NewCommonBandwidthMetricsValueWithDefaults instantiates a new CommonBandwidthMetricsValue object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetDisplay + +`func (o *CommonBandwidthMetricsValue) GetDisplay() string` + +GetDisplay returns the Display field if non-nil, zero value otherwise. + +### GetDisplayOk + +`func (o *CommonBandwidthMetricsValue) GetDisplayOk() (*string, bool)` + +GetDisplayOk returns a tuple with the Display field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetDisplay + +`func (o *CommonBandwidthMetricsValue) SetDisplay(v string)` + +SetDisplay sets Display field to given value. + + +### GetUnits + +`func (o *CommonBandwidthMetricsValue) GetUnits() string` + +GetUnits returns the Units field if non-nil, zero value otherwise. + +### GetUnitsOk + +`func (o *CommonBandwidthMetricsValue) GetUnitsOk() (*string, bool)` + +GetUnitsOk returns a tuple with the Units field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetUnits + +`func (o *CommonBandwidthMetricsValue) SetUnits(v string)` + +SetUnits sets Units field to given value. + +### HasUnits + +`func (o *CommonBandwidthMetricsValue) HasUnits() bool` + +HasUnits returns a boolean if a field has been set. + +### GetValue + +`func (o *CommonBandwidthMetricsValue) GetValue() int64` + +GetValue returns the Value field if non-nil, zero value otherwise. + +### GetValueOk + +`func (o *CommonBandwidthMetricsValue) GetValueOk() (*int64, bool)` + +GetValueOk returns a tuple with the Value field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetValue + +`func (o *CommonBandwidthMetricsValue) SetValue(v int64)` + +SetValue sets Value field to given value. + + + +[[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/docs/CommonDownloadsMetrics.md b/docs/CommonDownloadsMetrics.md new file mode 100644 index 00000000..735a4f96 --- /dev/null +++ b/docs/CommonDownloadsMetrics.md @@ -0,0 +1,114 @@ +# CommonDownloadsMetrics + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Average** | [**CommonDownloadsMetricsValue**](CommonDownloadsMetricsValue.md) | | +**Highest** | [**CommonDownloadsMetricsValue**](CommonDownloadsMetricsValue.md) | | +**Lowest** | [**CommonDownloadsMetricsValue**](CommonDownloadsMetricsValue.md) | | +**Total** | [**CommonDownloadsMetricsValue**](CommonDownloadsMetricsValue.md) | | + +## Methods + +### NewCommonDownloadsMetrics + +`func NewCommonDownloadsMetrics(average CommonDownloadsMetricsValue, highest CommonDownloadsMetricsValue, lowest CommonDownloadsMetricsValue, total CommonDownloadsMetricsValue, ) *CommonDownloadsMetrics` + +NewCommonDownloadsMetrics instantiates a new CommonDownloadsMetrics object +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 + +### NewCommonDownloadsMetricsWithDefaults + +`func NewCommonDownloadsMetricsWithDefaults() *CommonDownloadsMetrics` + +NewCommonDownloadsMetricsWithDefaults instantiates a new CommonDownloadsMetrics object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetAverage + +`func (o *CommonDownloadsMetrics) GetAverage() CommonDownloadsMetricsValue` + +GetAverage returns the Average field if non-nil, zero value otherwise. + +### GetAverageOk + +`func (o *CommonDownloadsMetrics) GetAverageOk() (*CommonDownloadsMetricsValue, bool)` + +GetAverageOk returns a tuple with the Average field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetAverage + +`func (o *CommonDownloadsMetrics) SetAverage(v CommonDownloadsMetricsValue)` + +SetAverage sets Average field to given value. + + +### GetHighest + +`func (o *CommonDownloadsMetrics) GetHighest() CommonDownloadsMetricsValue` + +GetHighest returns the Highest field if non-nil, zero value otherwise. + +### GetHighestOk + +`func (o *CommonDownloadsMetrics) GetHighestOk() (*CommonDownloadsMetricsValue, bool)` + +GetHighestOk returns a tuple with the Highest field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetHighest + +`func (o *CommonDownloadsMetrics) SetHighest(v CommonDownloadsMetricsValue)` + +SetHighest sets Highest field to given value. + + +### GetLowest + +`func (o *CommonDownloadsMetrics) GetLowest() CommonDownloadsMetricsValue` + +GetLowest returns the Lowest field if non-nil, zero value otherwise. + +### GetLowestOk + +`func (o *CommonDownloadsMetrics) GetLowestOk() (*CommonDownloadsMetricsValue, bool)` + +GetLowestOk returns a tuple with the Lowest field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetLowest + +`func (o *CommonDownloadsMetrics) SetLowest(v CommonDownloadsMetricsValue)` + +SetLowest sets Lowest field to given value. + + +### GetTotal + +`func (o *CommonDownloadsMetrics) GetTotal() CommonDownloadsMetricsValue` + +GetTotal returns the Total field if non-nil, zero value otherwise. + +### GetTotalOk + +`func (o *CommonDownloadsMetrics) GetTotalOk() (*CommonDownloadsMetricsValue, bool)` + +GetTotalOk returns a tuple with the Total field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetTotal + +`func (o *CommonDownloadsMetrics) SetTotal(v CommonDownloadsMetricsValue)` + +SetTotal sets Total field to given value. + + + +[[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/docs/CommonDownloadsMetricsValue.md b/docs/CommonDownloadsMetricsValue.md new file mode 100644 index 00000000..b1c3e736 --- /dev/null +++ b/docs/CommonDownloadsMetricsValue.md @@ -0,0 +1,51 @@ +# CommonDownloadsMetricsValue + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Value** | **int64** | | + +## Methods + +### NewCommonDownloadsMetricsValue + +`func NewCommonDownloadsMetricsValue(value int64, ) *CommonDownloadsMetricsValue` + +NewCommonDownloadsMetricsValue instantiates a new CommonDownloadsMetricsValue object +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 + +### NewCommonDownloadsMetricsValueWithDefaults + +`func NewCommonDownloadsMetricsValueWithDefaults() *CommonDownloadsMetricsValue` + +NewCommonDownloadsMetricsValueWithDefaults instantiates a new CommonDownloadsMetricsValue object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetValue + +`func (o *CommonDownloadsMetricsValue) GetValue() int64` + +GetValue returns the Value field if non-nil, zero value otherwise. + +### GetValueOk + +`func (o *CommonDownloadsMetricsValue) GetValueOk() (*int64, bool)` + +GetValueOk returns a tuple with the Value field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetValue + +`func (o *CommonDownloadsMetricsValue) SetValue(v int64)` + +SetValue sets Value field to given value. + + + +[[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/docs/CommonMetrics.md b/docs/CommonMetrics.md new file mode 100644 index 00000000..33fdcf67 --- /dev/null +++ b/docs/CommonMetrics.md @@ -0,0 +1,150 @@ +# CommonMetrics + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Active** | Pointer to **int64** | | [optional] +**Bandwidth** | [**CommonBandwidthMetrics**](CommonBandwidthMetrics.md) | | +**Downloads** | [**CommonDownloadsMetrics**](CommonDownloadsMetrics.md) | | +**Inactive** | Pointer to **int64** | | [optional] +**Total** | Pointer to **int64** | | [optional] + +## Methods + +### NewCommonMetrics + +`func NewCommonMetrics(bandwidth CommonBandwidthMetrics, downloads CommonDownloadsMetrics, ) *CommonMetrics` + +NewCommonMetrics instantiates a new CommonMetrics object +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 + +### NewCommonMetricsWithDefaults + +`func NewCommonMetricsWithDefaults() *CommonMetrics` + +NewCommonMetricsWithDefaults instantiates a new CommonMetrics object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetActive + +`func (o *CommonMetrics) GetActive() int64` + +GetActive returns the Active field if non-nil, zero value otherwise. + +### GetActiveOk + +`func (o *CommonMetrics) GetActiveOk() (*int64, bool)` + +GetActiveOk returns a tuple with the Active field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetActive + +`func (o *CommonMetrics) SetActive(v int64)` + +SetActive sets Active field to given value. + +### HasActive + +`func (o *CommonMetrics) HasActive() bool` + +HasActive returns a boolean if a field has been set. + +### GetBandwidth + +`func (o *CommonMetrics) GetBandwidth() CommonBandwidthMetrics` + +GetBandwidth returns the Bandwidth field if non-nil, zero value otherwise. + +### GetBandwidthOk + +`func (o *CommonMetrics) GetBandwidthOk() (*CommonBandwidthMetrics, bool)` + +GetBandwidthOk returns a tuple with the Bandwidth field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetBandwidth + +`func (o *CommonMetrics) SetBandwidth(v CommonBandwidthMetrics)` + +SetBandwidth sets Bandwidth field to given value. + + +### GetDownloads + +`func (o *CommonMetrics) GetDownloads() CommonDownloadsMetrics` + +GetDownloads returns the Downloads field if non-nil, zero value otherwise. + +### GetDownloadsOk + +`func (o *CommonMetrics) GetDownloadsOk() (*CommonDownloadsMetrics, bool)` + +GetDownloadsOk returns a tuple with the Downloads field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetDownloads + +`func (o *CommonMetrics) SetDownloads(v CommonDownloadsMetrics)` + +SetDownloads sets Downloads field to given value. + + +### GetInactive + +`func (o *CommonMetrics) GetInactive() int64` + +GetInactive returns the Inactive field if non-nil, zero value otherwise. + +### GetInactiveOk + +`func (o *CommonMetrics) GetInactiveOk() (*int64, bool)` + +GetInactiveOk returns a tuple with the Inactive field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetInactive + +`func (o *CommonMetrics) SetInactive(v int64)` + +SetInactive sets Inactive field to given value. + +### HasInactive + +`func (o *CommonMetrics) HasInactive() bool` + +HasInactive returns a boolean if a field has been set. + +### GetTotal + +`func (o *CommonMetrics) GetTotal() int64` + +GetTotal returns the Total field if non-nil, zero value otherwise. + +### GetTotalOk + +`func (o *CommonMetrics) GetTotalOk() (*int64, bool)` + +GetTotalOk returns a tuple with the Total field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetTotal + +`func (o *CommonMetrics) SetTotal(v int64)` + +SetTotal sets Total field to given value. + +### HasTotal + +`func (o *CommonMetrics) HasTotal() bool` + +HasTotal 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/docs/ComposerPackageUploadRequest.md b/docs/ComposerPackageUploadRequest.md new file mode 100644 index 00000000..0393f19e --- /dev/null +++ b/docs/ComposerPackageUploadRequest.md @@ -0,0 +1,113 @@ +# ComposerPackageUploadRequest + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**PackageFile** | **string** | The primary file for the package. | +**Republish** | Pointer to **bool** | If true, the uploaded package will overwrite any others with the same attributes (e.g. same version); otherwise, it will be flagged as a duplicate. | [optional] +**Tags** | Pointer to **NullableString** | A comma-separated values list of tags to add to the package. | [optional] + +## Methods + +### NewComposerPackageUploadRequest + +`func NewComposerPackageUploadRequest(packageFile string, ) *ComposerPackageUploadRequest` + +NewComposerPackageUploadRequest instantiates a new ComposerPackageUploadRequest object +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 + +### NewComposerPackageUploadRequestWithDefaults + +`func NewComposerPackageUploadRequestWithDefaults() *ComposerPackageUploadRequest` + +NewComposerPackageUploadRequestWithDefaults instantiates a new ComposerPackageUploadRequest object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetPackageFile + +`func (o *ComposerPackageUploadRequest) GetPackageFile() string` + +GetPackageFile returns the PackageFile field if non-nil, zero value otherwise. + +### GetPackageFileOk + +`func (o *ComposerPackageUploadRequest) GetPackageFileOk() (*string, bool)` + +GetPackageFileOk returns a tuple with the PackageFile field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetPackageFile + +`func (o *ComposerPackageUploadRequest) SetPackageFile(v string)` + +SetPackageFile sets PackageFile field to given value. + + +### GetRepublish + +`func (o *ComposerPackageUploadRequest) GetRepublish() bool` + +GetRepublish returns the Republish field if non-nil, zero value otherwise. + +### GetRepublishOk + +`func (o *ComposerPackageUploadRequest) GetRepublishOk() (*bool, bool)` + +GetRepublishOk returns a tuple with the Republish field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetRepublish + +`func (o *ComposerPackageUploadRequest) SetRepublish(v bool)` + +SetRepublish sets Republish field to given value. + +### HasRepublish + +`func (o *ComposerPackageUploadRequest) HasRepublish() bool` + +HasRepublish returns a boolean if a field has been set. + +### GetTags + +`func (o *ComposerPackageUploadRequest) GetTags() string` + +GetTags returns the Tags field if non-nil, zero value otherwise. + +### GetTagsOk + +`func (o *ComposerPackageUploadRequest) GetTagsOk() (*string, bool)` + +GetTagsOk returns a tuple with the Tags field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetTags + +`func (o *ComposerPackageUploadRequest) SetTags(v string)` + +SetTags sets Tags field to given value. + +### HasTags + +`func (o *ComposerPackageUploadRequest) HasTags() bool` + +HasTags returns a boolean if a field has been set. + +### SetTagsNil + +`func (o *ComposerPackageUploadRequest) SetTagsNil(b bool)` + + SetTagsNil sets the value for Tags to be an explicit nil + +### UnsetTags +`func (o *ComposerPackageUploadRequest) UnsetTags()` + +UnsetTags ensures that no value is present for Tags, 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/docs/ComposerPackageUploadResponse.md b/docs/ComposerPackageUploadResponse.md new file mode 100644 index 00000000..6a733b64 --- /dev/null +++ b/docs/ComposerPackageUploadResponse.md @@ -0,0 +1,1838 @@ +# ComposerPackageUploadResponse + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Architectures** | Pointer to [**[]Architecture**](Architecture.md) | | [optional] [readonly] +**CdnUrl** | Pointer to **NullableString** | | [optional] [readonly] +**ChecksumMd5** | Pointer to **string** | | [optional] [readonly] +**ChecksumSha1** | Pointer to **string** | | [optional] [readonly] +**ChecksumSha256** | Pointer to **string** | | [optional] [readonly] +**ChecksumSha512** | Pointer to **string** | | [optional] [readonly] +**DependenciesChecksumMd5** | Pointer to **string** | A checksum of all of the package's dependencies. | [optional] [readonly] +**DependenciesUrl** | Pointer to **string** | | [optional] [readonly] +**Description** | Pointer to **string** | A textual description of this package. | [optional] [readonly] +**Distro** | Pointer to [**NullableDistribution**](Distribution.md) | | [optional] +**DistroVersion** | Pointer to [**DistributionVersion**](DistributionVersion.md) | | [optional] +**Downloads** | Pointer to **int64** | | [optional] [readonly] +**Epoch** | Pointer to **int64** | The epoch of the package version (if any). | [optional] [readonly] +**Extension** | Pointer to **string** | | [optional] [readonly] +**Filename** | Pointer to **string** | | [optional] [readonly] +**Files** | Pointer to [**[]PackageFile**](PackageFile.md) | | [optional] [readonly] +**Format** | Pointer to **string** | | [optional] [readonly] +**FormatUrl** | Pointer to **string** | | [optional] [readonly] +**IdentifierPerm** | Pointer to **string** | Unique and permanent identifier for the package. | [optional] [readonly] +**Indexed** | Pointer to **bool** | | [optional] [readonly] +**IsDownloadable** | Pointer to **bool** | | [optional] [readonly] +**IsQuarantined** | Pointer to **bool** | | [optional] [readonly] +**IsSyncAwaiting** | Pointer to **bool** | | [optional] [readonly] +**IsSyncCompleted** | Pointer to **bool** | | [optional] [readonly] +**IsSyncFailed** | Pointer to **bool** | | [optional] [readonly] +**IsSyncInFlight** | Pointer to **bool** | | [optional] [readonly] +**IsSyncInProgress** | Pointer to **bool** | | [optional] [readonly] +**License** | Pointer to **string** | The license of this package. | [optional] [readonly] +**Name** | Pointer to **string** | The name of this package. | [optional] [readonly] +**Namespace** | Pointer to **string** | | [optional] [readonly] +**NamespaceUrl** | Pointer to **string** | | [optional] [readonly] +**NumFiles** | Pointer to **int64** | | [optional] [readonly] +**OriginRepository** | Pointer to **string** | | [optional] [readonly] +**OriginRepositoryUrl** | Pointer to **string** | | [optional] [readonly] +**PackageType** | Pointer to **int64** | The type of package contents. | [optional] [readonly] +**Release** | Pointer to **string** | The release of the package version (if any). | [optional] [readonly] +**Repository** | Pointer to **string** | | [optional] [readonly] +**RepositoryUrl** | Pointer to **string** | | [optional] [readonly] +**SecurityScanCompletedAt** | Pointer to **time.Time** | The datetime the security scanning was completed. | [optional] [readonly] +**SecurityScanStartedAt** | Pointer to **time.Time** | The datetime the security scanning was started. | [optional] [readonly] +**SecurityScanStatus** | Pointer to **NullableString** | | [optional] [readonly] [default to "Awaiting Security Scan"] +**SecurityScanStatusUpdatedAt** | Pointer to **time.Time** | The datetime the security scanning status was updated. | [optional] [readonly] +**SelfHtmlUrl** | Pointer to **string** | | [optional] [readonly] +**SelfUrl** | Pointer to **string** | | [optional] [readonly] +**SignatureUrl** | Pointer to **NullableString** | | [optional] [readonly] +**Size** | Pointer to **int64** | The calculated size of the package. | [optional] [readonly] +**Slug** | Pointer to **string** | The public unique identifier for the package. | [optional] [readonly] +**SlugPerm** | Pointer to **string** | | [optional] [readonly] +**Stage** | Pointer to **int64** | The synchronisation (in progress) stage of the package. | [optional] [readonly] +**StageStr** | Pointer to **string** | | [optional] [readonly] +**StageUpdatedAt** | Pointer to **time.Time** | The datetime the package stage was updated at. | [optional] [readonly] +**Status** | Pointer to **int64** | The synchronisation status of the package. | [optional] [readonly] +**StatusReason** | Pointer to **string** | A textual description for the synchronous status reason (if any | [optional] [readonly] +**StatusStr** | Pointer to **string** | | [optional] [readonly] +**StatusUpdatedAt** | Pointer to **time.Time** | The datetime the package status was updated at. | [optional] [readonly] +**StatusUrl** | Pointer to **string** | | [optional] [readonly] +**Subtype** | Pointer to **string** | | [optional] [readonly] +**Summary** | Pointer to **string** | A one-liner synopsis of this package. | [optional] [readonly] +**SyncFinishedAt** | Pointer to **time.Time** | The datetime the package sync was finished at. | [optional] [readonly] +**SyncProgress** | Pointer to **int64** | Synchronisation progress (from 0-100) | [optional] [readonly] +**TagsImmutable** | Pointer to **map[string]interface{}** | All tags on the package, grouped by tag type. This includes immutable tags, but doesn't distinguish them from mutable. To see which tags are immutable specifically, see the tags_immutable field. | [optional] +**TypeDisplay** | Pointer to **string** | | [optional] [readonly] +**UploadedAt** | Pointer to **time.Time** | The date this package was uploaded. | [optional] [readonly] +**Uploader** | Pointer to **string** | | [optional] [readonly] +**UploaderUrl** | Pointer to **string** | | [optional] [readonly] +**Version** | Pointer to **string** | The raw version for this package. | [optional] [readonly] +**VersionOrig** | Pointer to **string** | | [optional] [readonly] +**VulnerabilityScanResultsUrl** | Pointer to **string** | | [optional] [readonly] + +## Methods + +### NewComposerPackageUploadResponse + +`func NewComposerPackageUploadResponse() *ComposerPackageUploadResponse` + +NewComposerPackageUploadResponse instantiates a new ComposerPackageUploadResponse object +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 + +### NewComposerPackageUploadResponseWithDefaults + +`func NewComposerPackageUploadResponseWithDefaults() *ComposerPackageUploadResponse` + +NewComposerPackageUploadResponseWithDefaults instantiates a new ComposerPackageUploadResponse object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetArchitectures + +`func (o *ComposerPackageUploadResponse) GetArchitectures() []Architecture` + +GetArchitectures returns the Architectures field if non-nil, zero value otherwise. + +### GetArchitecturesOk + +`func (o *ComposerPackageUploadResponse) GetArchitecturesOk() (*[]Architecture, bool)` + +GetArchitecturesOk returns a tuple with the Architectures field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetArchitectures + +`func (o *ComposerPackageUploadResponse) SetArchitectures(v []Architecture)` + +SetArchitectures sets Architectures field to given value. + +### HasArchitectures + +`func (o *ComposerPackageUploadResponse) HasArchitectures() bool` + +HasArchitectures returns a boolean if a field has been set. + +### GetCdnUrl + +`func (o *ComposerPackageUploadResponse) GetCdnUrl() string` + +GetCdnUrl returns the CdnUrl field if non-nil, zero value otherwise. + +### GetCdnUrlOk + +`func (o *ComposerPackageUploadResponse) GetCdnUrlOk() (*string, bool)` + +GetCdnUrlOk returns a tuple with the CdnUrl field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetCdnUrl + +`func (o *ComposerPackageUploadResponse) SetCdnUrl(v string)` + +SetCdnUrl sets CdnUrl field to given value. + +### HasCdnUrl + +`func (o *ComposerPackageUploadResponse) HasCdnUrl() bool` + +HasCdnUrl returns a boolean if a field has been set. + +### SetCdnUrlNil + +`func (o *ComposerPackageUploadResponse) SetCdnUrlNil(b bool)` + + SetCdnUrlNil sets the value for CdnUrl to be an explicit nil + +### UnsetCdnUrl +`func (o *ComposerPackageUploadResponse) UnsetCdnUrl()` + +UnsetCdnUrl ensures that no value is present for CdnUrl, not even an explicit nil +### GetChecksumMd5 + +`func (o *ComposerPackageUploadResponse) GetChecksumMd5() string` + +GetChecksumMd5 returns the ChecksumMd5 field if non-nil, zero value otherwise. + +### GetChecksumMd5Ok + +`func (o *ComposerPackageUploadResponse) GetChecksumMd5Ok() (*string, bool)` + +GetChecksumMd5Ok returns a tuple with the ChecksumMd5 field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetChecksumMd5 + +`func (o *ComposerPackageUploadResponse) SetChecksumMd5(v string)` + +SetChecksumMd5 sets ChecksumMd5 field to given value. + +### HasChecksumMd5 + +`func (o *ComposerPackageUploadResponse) HasChecksumMd5() bool` + +HasChecksumMd5 returns a boolean if a field has been set. + +### GetChecksumSha1 + +`func (o *ComposerPackageUploadResponse) GetChecksumSha1() string` + +GetChecksumSha1 returns the ChecksumSha1 field if non-nil, zero value otherwise. + +### GetChecksumSha1Ok + +`func (o *ComposerPackageUploadResponse) GetChecksumSha1Ok() (*string, bool)` + +GetChecksumSha1Ok returns a tuple with the ChecksumSha1 field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetChecksumSha1 + +`func (o *ComposerPackageUploadResponse) SetChecksumSha1(v string)` + +SetChecksumSha1 sets ChecksumSha1 field to given value. + +### HasChecksumSha1 + +`func (o *ComposerPackageUploadResponse) HasChecksumSha1() bool` + +HasChecksumSha1 returns a boolean if a field has been set. + +### GetChecksumSha256 + +`func (o *ComposerPackageUploadResponse) GetChecksumSha256() string` + +GetChecksumSha256 returns the ChecksumSha256 field if non-nil, zero value otherwise. + +### GetChecksumSha256Ok + +`func (o *ComposerPackageUploadResponse) GetChecksumSha256Ok() (*string, bool)` + +GetChecksumSha256Ok returns a tuple with the ChecksumSha256 field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetChecksumSha256 + +`func (o *ComposerPackageUploadResponse) SetChecksumSha256(v string)` + +SetChecksumSha256 sets ChecksumSha256 field to given value. + +### HasChecksumSha256 + +`func (o *ComposerPackageUploadResponse) HasChecksumSha256() bool` + +HasChecksumSha256 returns a boolean if a field has been set. + +### GetChecksumSha512 + +`func (o *ComposerPackageUploadResponse) GetChecksumSha512() string` + +GetChecksumSha512 returns the ChecksumSha512 field if non-nil, zero value otherwise. + +### GetChecksumSha512Ok + +`func (o *ComposerPackageUploadResponse) GetChecksumSha512Ok() (*string, bool)` + +GetChecksumSha512Ok returns a tuple with the ChecksumSha512 field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetChecksumSha512 + +`func (o *ComposerPackageUploadResponse) SetChecksumSha512(v string)` + +SetChecksumSha512 sets ChecksumSha512 field to given value. + +### HasChecksumSha512 + +`func (o *ComposerPackageUploadResponse) HasChecksumSha512() bool` + +HasChecksumSha512 returns a boolean if a field has been set. + +### GetDependenciesChecksumMd5 + +`func (o *ComposerPackageUploadResponse) GetDependenciesChecksumMd5() string` + +GetDependenciesChecksumMd5 returns the DependenciesChecksumMd5 field if non-nil, zero value otherwise. + +### GetDependenciesChecksumMd5Ok + +`func (o *ComposerPackageUploadResponse) GetDependenciesChecksumMd5Ok() (*string, bool)` + +GetDependenciesChecksumMd5Ok returns a tuple with the DependenciesChecksumMd5 field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetDependenciesChecksumMd5 + +`func (o *ComposerPackageUploadResponse) SetDependenciesChecksumMd5(v string)` + +SetDependenciesChecksumMd5 sets DependenciesChecksumMd5 field to given value. + +### HasDependenciesChecksumMd5 + +`func (o *ComposerPackageUploadResponse) HasDependenciesChecksumMd5() bool` + +HasDependenciesChecksumMd5 returns a boolean if a field has been set. + +### GetDependenciesUrl + +`func (o *ComposerPackageUploadResponse) GetDependenciesUrl() string` + +GetDependenciesUrl returns the DependenciesUrl field if non-nil, zero value otherwise. + +### GetDependenciesUrlOk + +`func (o *ComposerPackageUploadResponse) GetDependenciesUrlOk() (*string, bool)` + +GetDependenciesUrlOk returns a tuple with the DependenciesUrl field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetDependenciesUrl + +`func (o *ComposerPackageUploadResponse) SetDependenciesUrl(v string)` + +SetDependenciesUrl sets DependenciesUrl field to given value. + +### HasDependenciesUrl + +`func (o *ComposerPackageUploadResponse) HasDependenciesUrl() bool` + +HasDependenciesUrl returns a boolean if a field has been set. + +### GetDescription + +`func (o *ComposerPackageUploadResponse) GetDescription() string` + +GetDescription returns the Description field if non-nil, zero value otherwise. + +### GetDescriptionOk + +`func (o *ComposerPackageUploadResponse) GetDescriptionOk() (*string, bool)` + +GetDescriptionOk returns a tuple with the Description field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetDescription + +`func (o *ComposerPackageUploadResponse) SetDescription(v string)` + +SetDescription sets Description field to given value. + +### HasDescription + +`func (o *ComposerPackageUploadResponse) HasDescription() bool` + +HasDescription returns a boolean if a field has been set. + +### GetDistro + +`func (o *ComposerPackageUploadResponse) GetDistro() Distribution` + +GetDistro returns the Distro field if non-nil, zero value otherwise. + +### GetDistroOk + +`func (o *ComposerPackageUploadResponse) GetDistroOk() (*Distribution, bool)` + +GetDistroOk returns a tuple with the Distro field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetDistro + +`func (o *ComposerPackageUploadResponse) SetDistro(v Distribution)` + +SetDistro sets Distro field to given value. + +### HasDistro + +`func (o *ComposerPackageUploadResponse) HasDistro() bool` + +HasDistro returns a boolean if a field has been set. + +### SetDistroNil + +`func (o *ComposerPackageUploadResponse) SetDistroNil(b bool)` + + SetDistroNil sets the value for Distro to be an explicit nil + +### UnsetDistro +`func (o *ComposerPackageUploadResponse) UnsetDistro()` + +UnsetDistro ensures that no value is present for Distro, not even an explicit nil +### GetDistroVersion + +`func (o *ComposerPackageUploadResponse) GetDistroVersion() DistributionVersion` + +GetDistroVersion returns the DistroVersion field if non-nil, zero value otherwise. + +### GetDistroVersionOk + +`func (o *ComposerPackageUploadResponse) GetDistroVersionOk() (*DistributionVersion, bool)` + +GetDistroVersionOk returns a tuple with the DistroVersion field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetDistroVersion + +`func (o *ComposerPackageUploadResponse) SetDistroVersion(v DistributionVersion)` + +SetDistroVersion sets DistroVersion field to given value. + +### HasDistroVersion + +`func (o *ComposerPackageUploadResponse) HasDistroVersion() bool` + +HasDistroVersion returns a boolean if a field has been set. + +### GetDownloads + +`func (o *ComposerPackageUploadResponse) GetDownloads() int64` + +GetDownloads returns the Downloads field if non-nil, zero value otherwise. + +### GetDownloadsOk + +`func (o *ComposerPackageUploadResponse) GetDownloadsOk() (*int64, bool)` + +GetDownloadsOk returns a tuple with the Downloads field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetDownloads + +`func (o *ComposerPackageUploadResponse) SetDownloads(v int64)` + +SetDownloads sets Downloads field to given value. + +### HasDownloads + +`func (o *ComposerPackageUploadResponse) HasDownloads() bool` + +HasDownloads returns a boolean if a field has been set. + +### GetEpoch + +`func (o *ComposerPackageUploadResponse) GetEpoch() int64` + +GetEpoch returns the Epoch field if non-nil, zero value otherwise. + +### GetEpochOk + +`func (o *ComposerPackageUploadResponse) GetEpochOk() (*int64, bool)` + +GetEpochOk returns a tuple with the Epoch field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetEpoch + +`func (o *ComposerPackageUploadResponse) SetEpoch(v int64)` + +SetEpoch sets Epoch field to given value. + +### HasEpoch + +`func (o *ComposerPackageUploadResponse) HasEpoch() bool` + +HasEpoch returns a boolean if a field has been set. + +### GetExtension + +`func (o *ComposerPackageUploadResponse) GetExtension() string` + +GetExtension returns the Extension field if non-nil, zero value otherwise. + +### GetExtensionOk + +`func (o *ComposerPackageUploadResponse) GetExtensionOk() (*string, bool)` + +GetExtensionOk returns a tuple with the Extension field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetExtension + +`func (o *ComposerPackageUploadResponse) SetExtension(v string)` + +SetExtension sets Extension field to given value. + +### HasExtension + +`func (o *ComposerPackageUploadResponse) HasExtension() bool` + +HasExtension returns a boolean if a field has been set. + +### GetFilename + +`func (o *ComposerPackageUploadResponse) GetFilename() string` + +GetFilename returns the Filename field if non-nil, zero value otherwise. + +### GetFilenameOk + +`func (o *ComposerPackageUploadResponse) GetFilenameOk() (*string, bool)` + +GetFilenameOk returns a tuple with the Filename field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetFilename + +`func (o *ComposerPackageUploadResponse) SetFilename(v string)` + +SetFilename sets Filename field to given value. + +### HasFilename + +`func (o *ComposerPackageUploadResponse) HasFilename() bool` + +HasFilename returns a boolean if a field has been set. + +### GetFiles + +`func (o *ComposerPackageUploadResponse) GetFiles() []PackageFile` + +GetFiles returns the Files field if non-nil, zero value otherwise. + +### GetFilesOk + +`func (o *ComposerPackageUploadResponse) GetFilesOk() (*[]PackageFile, 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 *ComposerPackageUploadResponse) SetFiles(v []PackageFile)` + +SetFiles sets Files field to given value. + +### HasFiles + +`func (o *ComposerPackageUploadResponse) HasFiles() bool` + +HasFiles returns a boolean if a field has been set. + +### GetFormat + +`func (o *ComposerPackageUploadResponse) GetFormat() string` + +GetFormat returns the Format field if non-nil, zero value otherwise. + +### GetFormatOk + +`func (o *ComposerPackageUploadResponse) GetFormatOk() (*string, bool)` + +GetFormatOk returns a tuple with the Format field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetFormat + +`func (o *ComposerPackageUploadResponse) SetFormat(v string)` + +SetFormat sets Format field to given value. + +### HasFormat + +`func (o *ComposerPackageUploadResponse) HasFormat() bool` + +HasFormat returns a boolean if a field has been set. + +### GetFormatUrl + +`func (o *ComposerPackageUploadResponse) GetFormatUrl() string` + +GetFormatUrl returns the FormatUrl field if non-nil, zero value otherwise. + +### GetFormatUrlOk + +`func (o *ComposerPackageUploadResponse) GetFormatUrlOk() (*string, bool)` + +GetFormatUrlOk returns a tuple with the FormatUrl field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetFormatUrl + +`func (o *ComposerPackageUploadResponse) SetFormatUrl(v string)` + +SetFormatUrl sets FormatUrl field to given value. + +### HasFormatUrl + +`func (o *ComposerPackageUploadResponse) HasFormatUrl() bool` + +HasFormatUrl returns a boolean if a field has been set. + +### GetIdentifierPerm + +`func (o *ComposerPackageUploadResponse) GetIdentifierPerm() string` + +GetIdentifierPerm returns the IdentifierPerm field if non-nil, zero value otherwise. + +### GetIdentifierPermOk + +`func (o *ComposerPackageUploadResponse) GetIdentifierPermOk() (*string, bool)` + +GetIdentifierPermOk returns a tuple with the IdentifierPerm field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetIdentifierPerm + +`func (o *ComposerPackageUploadResponse) SetIdentifierPerm(v string)` + +SetIdentifierPerm sets IdentifierPerm field to given value. + +### HasIdentifierPerm + +`func (o *ComposerPackageUploadResponse) HasIdentifierPerm() bool` + +HasIdentifierPerm returns a boolean if a field has been set. + +### GetIndexed + +`func (o *ComposerPackageUploadResponse) GetIndexed() bool` + +GetIndexed returns the Indexed field if non-nil, zero value otherwise. + +### GetIndexedOk + +`func (o *ComposerPackageUploadResponse) GetIndexedOk() (*bool, bool)` + +GetIndexedOk returns a tuple with the Indexed field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetIndexed + +`func (o *ComposerPackageUploadResponse) SetIndexed(v bool)` + +SetIndexed sets Indexed field to given value. + +### HasIndexed + +`func (o *ComposerPackageUploadResponse) HasIndexed() bool` + +HasIndexed returns a boolean if a field has been set. + +### GetIsDownloadable + +`func (o *ComposerPackageUploadResponse) GetIsDownloadable() bool` + +GetIsDownloadable returns the IsDownloadable field if non-nil, zero value otherwise. + +### GetIsDownloadableOk + +`func (o *ComposerPackageUploadResponse) GetIsDownloadableOk() (*bool, bool)` + +GetIsDownloadableOk returns a tuple with the IsDownloadable field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetIsDownloadable + +`func (o *ComposerPackageUploadResponse) SetIsDownloadable(v bool)` + +SetIsDownloadable sets IsDownloadable field to given value. + +### HasIsDownloadable + +`func (o *ComposerPackageUploadResponse) HasIsDownloadable() bool` + +HasIsDownloadable returns a boolean if a field has been set. + +### GetIsQuarantined + +`func (o *ComposerPackageUploadResponse) GetIsQuarantined() bool` + +GetIsQuarantined returns the IsQuarantined field if non-nil, zero value otherwise. + +### GetIsQuarantinedOk + +`func (o *ComposerPackageUploadResponse) GetIsQuarantinedOk() (*bool, bool)` + +GetIsQuarantinedOk returns a tuple with the IsQuarantined field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetIsQuarantined + +`func (o *ComposerPackageUploadResponse) SetIsQuarantined(v bool)` + +SetIsQuarantined sets IsQuarantined field to given value. + +### HasIsQuarantined + +`func (o *ComposerPackageUploadResponse) HasIsQuarantined() bool` + +HasIsQuarantined returns a boolean if a field has been set. + +### GetIsSyncAwaiting + +`func (o *ComposerPackageUploadResponse) GetIsSyncAwaiting() bool` + +GetIsSyncAwaiting returns the IsSyncAwaiting field if non-nil, zero value otherwise. + +### GetIsSyncAwaitingOk + +`func (o *ComposerPackageUploadResponse) GetIsSyncAwaitingOk() (*bool, bool)` + +GetIsSyncAwaitingOk returns a tuple with the IsSyncAwaiting field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetIsSyncAwaiting + +`func (o *ComposerPackageUploadResponse) SetIsSyncAwaiting(v bool)` + +SetIsSyncAwaiting sets IsSyncAwaiting field to given value. + +### HasIsSyncAwaiting + +`func (o *ComposerPackageUploadResponse) HasIsSyncAwaiting() bool` + +HasIsSyncAwaiting returns a boolean if a field has been set. + +### GetIsSyncCompleted + +`func (o *ComposerPackageUploadResponse) GetIsSyncCompleted() bool` + +GetIsSyncCompleted returns the IsSyncCompleted field if non-nil, zero value otherwise. + +### GetIsSyncCompletedOk + +`func (o *ComposerPackageUploadResponse) GetIsSyncCompletedOk() (*bool, bool)` + +GetIsSyncCompletedOk returns a tuple with the IsSyncCompleted field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetIsSyncCompleted + +`func (o *ComposerPackageUploadResponse) SetIsSyncCompleted(v bool)` + +SetIsSyncCompleted sets IsSyncCompleted field to given value. + +### HasIsSyncCompleted + +`func (o *ComposerPackageUploadResponse) HasIsSyncCompleted() bool` + +HasIsSyncCompleted returns a boolean if a field has been set. + +### GetIsSyncFailed + +`func (o *ComposerPackageUploadResponse) GetIsSyncFailed() bool` + +GetIsSyncFailed returns the IsSyncFailed field if non-nil, zero value otherwise. + +### GetIsSyncFailedOk + +`func (o *ComposerPackageUploadResponse) GetIsSyncFailedOk() (*bool, bool)` + +GetIsSyncFailedOk returns a tuple with the IsSyncFailed field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetIsSyncFailed + +`func (o *ComposerPackageUploadResponse) SetIsSyncFailed(v bool)` + +SetIsSyncFailed sets IsSyncFailed field to given value. + +### HasIsSyncFailed + +`func (o *ComposerPackageUploadResponse) HasIsSyncFailed() bool` + +HasIsSyncFailed returns a boolean if a field has been set. + +### GetIsSyncInFlight + +`func (o *ComposerPackageUploadResponse) GetIsSyncInFlight() bool` + +GetIsSyncInFlight returns the IsSyncInFlight field if non-nil, zero value otherwise. + +### GetIsSyncInFlightOk + +`func (o *ComposerPackageUploadResponse) GetIsSyncInFlightOk() (*bool, bool)` + +GetIsSyncInFlightOk returns a tuple with the IsSyncInFlight field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetIsSyncInFlight + +`func (o *ComposerPackageUploadResponse) SetIsSyncInFlight(v bool)` + +SetIsSyncInFlight sets IsSyncInFlight field to given value. + +### HasIsSyncInFlight + +`func (o *ComposerPackageUploadResponse) HasIsSyncInFlight() bool` + +HasIsSyncInFlight returns a boolean if a field has been set. + +### GetIsSyncInProgress + +`func (o *ComposerPackageUploadResponse) GetIsSyncInProgress() bool` + +GetIsSyncInProgress returns the IsSyncInProgress field if non-nil, zero value otherwise. + +### GetIsSyncInProgressOk + +`func (o *ComposerPackageUploadResponse) GetIsSyncInProgressOk() (*bool, bool)` + +GetIsSyncInProgressOk returns a tuple with the IsSyncInProgress field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetIsSyncInProgress + +`func (o *ComposerPackageUploadResponse) SetIsSyncInProgress(v bool)` + +SetIsSyncInProgress sets IsSyncInProgress field to given value. + +### HasIsSyncInProgress + +`func (o *ComposerPackageUploadResponse) HasIsSyncInProgress() bool` + +HasIsSyncInProgress returns a boolean if a field has been set. + +### GetLicense + +`func (o *ComposerPackageUploadResponse) GetLicense() string` + +GetLicense returns the License field if non-nil, zero value otherwise. + +### GetLicenseOk + +`func (o *ComposerPackageUploadResponse) GetLicenseOk() (*string, bool)` + +GetLicenseOk returns a tuple with the License field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetLicense + +`func (o *ComposerPackageUploadResponse) SetLicense(v string)` + +SetLicense sets License field to given value. + +### HasLicense + +`func (o *ComposerPackageUploadResponse) HasLicense() bool` + +HasLicense returns a boolean if a field has been set. + +### GetName + +`func (o *ComposerPackageUploadResponse) GetName() string` + +GetName returns the Name field if non-nil, zero value otherwise. + +### GetNameOk + +`func (o *ComposerPackageUploadResponse) GetNameOk() (*string, bool)` + +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. + +### SetName + +`func (o *ComposerPackageUploadResponse) SetName(v string)` + +SetName sets Name field to given value. + +### HasName + +`func (o *ComposerPackageUploadResponse) HasName() bool` + +HasName returns a boolean if a field has been set. + +### GetNamespace + +`func (o *ComposerPackageUploadResponse) GetNamespace() string` + +GetNamespace returns the Namespace field if non-nil, zero value otherwise. + +### GetNamespaceOk + +`func (o *ComposerPackageUploadResponse) GetNamespaceOk() (*string, bool)` + +GetNamespaceOk returns a tuple with the Namespace field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetNamespace + +`func (o *ComposerPackageUploadResponse) SetNamespace(v string)` + +SetNamespace sets Namespace field to given value. + +### HasNamespace + +`func (o *ComposerPackageUploadResponse) HasNamespace() bool` + +HasNamespace returns a boolean if a field has been set. + +### GetNamespaceUrl + +`func (o *ComposerPackageUploadResponse) GetNamespaceUrl() string` + +GetNamespaceUrl returns the NamespaceUrl field if non-nil, zero value otherwise. + +### GetNamespaceUrlOk + +`func (o *ComposerPackageUploadResponse) GetNamespaceUrlOk() (*string, bool)` + +GetNamespaceUrlOk returns a tuple with the NamespaceUrl field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetNamespaceUrl + +`func (o *ComposerPackageUploadResponse) SetNamespaceUrl(v string)` + +SetNamespaceUrl sets NamespaceUrl field to given value. + +### HasNamespaceUrl + +`func (o *ComposerPackageUploadResponse) HasNamespaceUrl() bool` + +HasNamespaceUrl returns a boolean if a field has been set. + +### GetNumFiles + +`func (o *ComposerPackageUploadResponse) GetNumFiles() int64` + +GetNumFiles returns the NumFiles field if non-nil, zero value otherwise. + +### GetNumFilesOk + +`func (o *ComposerPackageUploadResponse) GetNumFilesOk() (*int64, bool)` + +GetNumFilesOk returns a tuple with the NumFiles field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetNumFiles + +`func (o *ComposerPackageUploadResponse) SetNumFiles(v int64)` + +SetNumFiles sets NumFiles field to given value. + +### HasNumFiles + +`func (o *ComposerPackageUploadResponse) HasNumFiles() bool` + +HasNumFiles returns a boolean if a field has been set. + +### GetOriginRepository + +`func (o *ComposerPackageUploadResponse) GetOriginRepository() string` + +GetOriginRepository returns the OriginRepository field if non-nil, zero value otherwise. + +### GetOriginRepositoryOk + +`func (o *ComposerPackageUploadResponse) GetOriginRepositoryOk() (*string, bool)` + +GetOriginRepositoryOk returns a tuple with the OriginRepository field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetOriginRepository + +`func (o *ComposerPackageUploadResponse) SetOriginRepository(v string)` + +SetOriginRepository sets OriginRepository field to given value. + +### HasOriginRepository + +`func (o *ComposerPackageUploadResponse) HasOriginRepository() bool` + +HasOriginRepository returns a boolean if a field has been set. + +### GetOriginRepositoryUrl + +`func (o *ComposerPackageUploadResponse) GetOriginRepositoryUrl() string` + +GetOriginRepositoryUrl returns the OriginRepositoryUrl field if non-nil, zero value otherwise. + +### GetOriginRepositoryUrlOk + +`func (o *ComposerPackageUploadResponse) GetOriginRepositoryUrlOk() (*string, bool)` + +GetOriginRepositoryUrlOk returns a tuple with the OriginRepositoryUrl field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetOriginRepositoryUrl + +`func (o *ComposerPackageUploadResponse) SetOriginRepositoryUrl(v string)` + +SetOriginRepositoryUrl sets OriginRepositoryUrl field to given value. + +### HasOriginRepositoryUrl + +`func (o *ComposerPackageUploadResponse) HasOriginRepositoryUrl() bool` + +HasOriginRepositoryUrl returns a boolean if a field has been set. + +### GetPackageType + +`func (o *ComposerPackageUploadResponse) GetPackageType() int64` + +GetPackageType returns the PackageType field if non-nil, zero value otherwise. + +### GetPackageTypeOk + +`func (o *ComposerPackageUploadResponse) GetPackageTypeOk() (*int64, bool)` + +GetPackageTypeOk returns a tuple with the PackageType field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetPackageType + +`func (o *ComposerPackageUploadResponse) SetPackageType(v int64)` + +SetPackageType sets PackageType field to given value. + +### HasPackageType + +`func (o *ComposerPackageUploadResponse) HasPackageType() bool` + +HasPackageType returns a boolean if a field has been set. + +### GetRelease + +`func (o *ComposerPackageUploadResponse) GetRelease() string` + +GetRelease returns the Release field if non-nil, zero value otherwise. + +### GetReleaseOk + +`func (o *ComposerPackageUploadResponse) GetReleaseOk() (*string, bool)` + +GetReleaseOk returns a tuple with the Release field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetRelease + +`func (o *ComposerPackageUploadResponse) SetRelease(v string)` + +SetRelease sets Release field to given value. + +### HasRelease + +`func (o *ComposerPackageUploadResponse) HasRelease() bool` + +HasRelease returns a boolean if a field has been set. + +### GetRepository + +`func (o *ComposerPackageUploadResponse) GetRepository() string` + +GetRepository returns the Repository field if non-nil, zero value otherwise. + +### GetRepositoryOk + +`func (o *ComposerPackageUploadResponse) GetRepositoryOk() (*string, bool)` + +GetRepositoryOk returns a tuple with the Repository field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetRepository + +`func (o *ComposerPackageUploadResponse) SetRepository(v string)` + +SetRepository sets Repository field to given value. + +### HasRepository + +`func (o *ComposerPackageUploadResponse) HasRepository() bool` + +HasRepository returns a boolean if a field has been set. + +### GetRepositoryUrl + +`func (o *ComposerPackageUploadResponse) GetRepositoryUrl() string` + +GetRepositoryUrl returns the RepositoryUrl field if non-nil, zero value otherwise. + +### GetRepositoryUrlOk + +`func (o *ComposerPackageUploadResponse) GetRepositoryUrlOk() (*string, bool)` + +GetRepositoryUrlOk returns a tuple with the RepositoryUrl field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetRepositoryUrl + +`func (o *ComposerPackageUploadResponse) SetRepositoryUrl(v string)` + +SetRepositoryUrl sets RepositoryUrl field to given value. + +### HasRepositoryUrl + +`func (o *ComposerPackageUploadResponse) HasRepositoryUrl() bool` + +HasRepositoryUrl returns a boolean if a field has been set. + +### GetSecurityScanCompletedAt + +`func (o *ComposerPackageUploadResponse) GetSecurityScanCompletedAt() time.Time` + +GetSecurityScanCompletedAt returns the SecurityScanCompletedAt field if non-nil, zero value otherwise. + +### GetSecurityScanCompletedAtOk + +`func (o *ComposerPackageUploadResponse) GetSecurityScanCompletedAtOk() (*time.Time, bool)` + +GetSecurityScanCompletedAtOk returns a tuple with the SecurityScanCompletedAt field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetSecurityScanCompletedAt + +`func (o *ComposerPackageUploadResponse) SetSecurityScanCompletedAt(v time.Time)` + +SetSecurityScanCompletedAt sets SecurityScanCompletedAt field to given value. + +### HasSecurityScanCompletedAt + +`func (o *ComposerPackageUploadResponse) HasSecurityScanCompletedAt() bool` + +HasSecurityScanCompletedAt returns a boolean if a field has been set. + +### GetSecurityScanStartedAt + +`func (o *ComposerPackageUploadResponse) GetSecurityScanStartedAt() time.Time` + +GetSecurityScanStartedAt returns the SecurityScanStartedAt field if non-nil, zero value otherwise. + +### GetSecurityScanStartedAtOk + +`func (o *ComposerPackageUploadResponse) GetSecurityScanStartedAtOk() (*time.Time, bool)` + +GetSecurityScanStartedAtOk returns a tuple with the SecurityScanStartedAt field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetSecurityScanStartedAt + +`func (o *ComposerPackageUploadResponse) SetSecurityScanStartedAt(v time.Time)` + +SetSecurityScanStartedAt sets SecurityScanStartedAt field to given value. + +### HasSecurityScanStartedAt + +`func (o *ComposerPackageUploadResponse) HasSecurityScanStartedAt() bool` + +HasSecurityScanStartedAt returns a boolean if a field has been set. + +### GetSecurityScanStatus + +`func (o *ComposerPackageUploadResponse) GetSecurityScanStatus() string` + +GetSecurityScanStatus returns the SecurityScanStatus field if non-nil, zero value otherwise. + +### GetSecurityScanStatusOk + +`func (o *ComposerPackageUploadResponse) GetSecurityScanStatusOk() (*string, bool)` + +GetSecurityScanStatusOk returns a tuple with the SecurityScanStatus field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetSecurityScanStatus + +`func (o *ComposerPackageUploadResponse) SetSecurityScanStatus(v string)` + +SetSecurityScanStatus sets SecurityScanStatus field to given value. + +### HasSecurityScanStatus + +`func (o *ComposerPackageUploadResponse) HasSecurityScanStatus() bool` + +HasSecurityScanStatus returns a boolean if a field has been set. + +### SetSecurityScanStatusNil + +`func (o *ComposerPackageUploadResponse) SetSecurityScanStatusNil(b bool)` + + SetSecurityScanStatusNil sets the value for SecurityScanStatus to be an explicit nil + +### UnsetSecurityScanStatus +`func (o *ComposerPackageUploadResponse) UnsetSecurityScanStatus()` + +UnsetSecurityScanStatus ensures that no value is present for SecurityScanStatus, not even an explicit nil +### GetSecurityScanStatusUpdatedAt + +`func (o *ComposerPackageUploadResponse) GetSecurityScanStatusUpdatedAt() time.Time` + +GetSecurityScanStatusUpdatedAt returns the SecurityScanStatusUpdatedAt field if non-nil, zero value otherwise. + +### GetSecurityScanStatusUpdatedAtOk + +`func (o *ComposerPackageUploadResponse) GetSecurityScanStatusUpdatedAtOk() (*time.Time, bool)` + +GetSecurityScanStatusUpdatedAtOk returns a tuple with the SecurityScanStatusUpdatedAt field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetSecurityScanStatusUpdatedAt + +`func (o *ComposerPackageUploadResponse) SetSecurityScanStatusUpdatedAt(v time.Time)` + +SetSecurityScanStatusUpdatedAt sets SecurityScanStatusUpdatedAt field to given value. + +### HasSecurityScanStatusUpdatedAt + +`func (o *ComposerPackageUploadResponse) HasSecurityScanStatusUpdatedAt() bool` + +HasSecurityScanStatusUpdatedAt returns a boolean if a field has been set. + +### GetSelfHtmlUrl + +`func (o *ComposerPackageUploadResponse) GetSelfHtmlUrl() string` + +GetSelfHtmlUrl returns the SelfHtmlUrl field if non-nil, zero value otherwise. + +### GetSelfHtmlUrlOk + +`func (o *ComposerPackageUploadResponse) GetSelfHtmlUrlOk() (*string, bool)` + +GetSelfHtmlUrlOk returns a tuple with the SelfHtmlUrl field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetSelfHtmlUrl + +`func (o *ComposerPackageUploadResponse) SetSelfHtmlUrl(v string)` + +SetSelfHtmlUrl sets SelfHtmlUrl field to given value. + +### HasSelfHtmlUrl + +`func (o *ComposerPackageUploadResponse) HasSelfHtmlUrl() bool` + +HasSelfHtmlUrl returns a boolean if a field has been set. + +### GetSelfUrl + +`func (o *ComposerPackageUploadResponse) GetSelfUrl() string` + +GetSelfUrl returns the SelfUrl field if non-nil, zero value otherwise. + +### GetSelfUrlOk + +`func (o *ComposerPackageUploadResponse) GetSelfUrlOk() (*string, bool)` + +GetSelfUrlOk returns a tuple with the SelfUrl field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetSelfUrl + +`func (o *ComposerPackageUploadResponse) SetSelfUrl(v string)` + +SetSelfUrl sets SelfUrl field to given value. + +### HasSelfUrl + +`func (o *ComposerPackageUploadResponse) HasSelfUrl() bool` + +HasSelfUrl returns a boolean if a field has been set. + +### GetSignatureUrl + +`func (o *ComposerPackageUploadResponse) GetSignatureUrl() string` + +GetSignatureUrl returns the SignatureUrl field if non-nil, zero value otherwise. + +### GetSignatureUrlOk + +`func (o *ComposerPackageUploadResponse) GetSignatureUrlOk() (*string, bool)` + +GetSignatureUrlOk returns a tuple with the SignatureUrl field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetSignatureUrl + +`func (o *ComposerPackageUploadResponse) SetSignatureUrl(v string)` + +SetSignatureUrl sets SignatureUrl field to given value. + +### HasSignatureUrl + +`func (o *ComposerPackageUploadResponse) HasSignatureUrl() bool` + +HasSignatureUrl returns a boolean if a field has been set. + +### SetSignatureUrlNil + +`func (o *ComposerPackageUploadResponse) SetSignatureUrlNil(b bool)` + + SetSignatureUrlNil sets the value for SignatureUrl to be an explicit nil + +### UnsetSignatureUrl +`func (o *ComposerPackageUploadResponse) UnsetSignatureUrl()` + +UnsetSignatureUrl ensures that no value is present for SignatureUrl, not even an explicit nil +### GetSize + +`func (o *ComposerPackageUploadResponse) GetSize() int64` + +GetSize returns the Size field if non-nil, zero value otherwise. + +### GetSizeOk + +`func (o *ComposerPackageUploadResponse) GetSizeOk() (*int64, bool)` + +GetSizeOk returns a tuple with the Size field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetSize + +`func (o *ComposerPackageUploadResponse) SetSize(v int64)` + +SetSize sets Size field to given value. + +### HasSize + +`func (o *ComposerPackageUploadResponse) HasSize() bool` + +HasSize returns a boolean if a field has been set. + +### GetSlug + +`func (o *ComposerPackageUploadResponse) GetSlug() string` + +GetSlug returns the Slug field if non-nil, zero value otherwise. + +### GetSlugOk + +`func (o *ComposerPackageUploadResponse) GetSlugOk() (*string, bool)` + +GetSlugOk returns a tuple with the Slug field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetSlug + +`func (o *ComposerPackageUploadResponse) SetSlug(v string)` + +SetSlug sets Slug field to given value. + +### HasSlug + +`func (o *ComposerPackageUploadResponse) HasSlug() bool` + +HasSlug returns a boolean if a field has been set. + +### GetSlugPerm + +`func (o *ComposerPackageUploadResponse) GetSlugPerm() string` + +GetSlugPerm returns the SlugPerm field if non-nil, zero value otherwise. + +### GetSlugPermOk + +`func (o *ComposerPackageUploadResponse) GetSlugPermOk() (*string, bool)` + +GetSlugPermOk returns a tuple with the SlugPerm field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetSlugPerm + +`func (o *ComposerPackageUploadResponse) SetSlugPerm(v string)` + +SetSlugPerm sets SlugPerm field to given value. + +### HasSlugPerm + +`func (o *ComposerPackageUploadResponse) HasSlugPerm() bool` + +HasSlugPerm returns a boolean if a field has been set. + +### GetStage + +`func (o *ComposerPackageUploadResponse) GetStage() int64` + +GetStage returns the Stage field if non-nil, zero value otherwise. + +### GetStageOk + +`func (o *ComposerPackageUploadResponse) GetStageOk() (*int64, bool)` + +GetStageOk returns a tuple with the Stage field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetStage + +`func (o *ComposerPackageUploadResponse) SetStage(v int64)` + +SetStage sets Stage field to given value. + +### HasStage + +`func (o *ComposerPackageUploadResponse) HasStage() bool` + +HasStage returns a boolean if a field has been set. + +### GetStageStr + +`func (o *ComposerPackageUploadResponse) GetStageStr() string` + +GetStageStr returns the StageStr field if non-nil, zero value otherwise. + +### GetStageStrOk + +`func (o *ComposerPackageUploadResponse) GetStageStrOk() (*string, bool)` + +GetStageStrOk returns a tuple with the StageStr field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetStageStr + +`func (o *ComposerPackageUploadResponse) SetStageStr(v string)` + +SetStageStr sets StageStr field to given value. + +### HasStageStr + +`func (o *ComposerPackageUploadResponse) HasStageStr() bool` + +HasStageStr returns a boolean if a field has been set. + +### GetStageUpdatedAt + +`func (o *ComposerPackageUploadResponse) GetStageUpdatedAt() time.Time` + +GetStageUpdatedAt returns the StageUpdatedAt field if non-nil, zero value otherwise. + +### GetStageUpdatedAtOk + +`func (o *ComposerPackageUploadResponse) GetStageUpdatedAtOk() (*time.Time, bool)` + +GetStageUpdatedAtOk returns a tuple with the StageUpdatedAt field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetStageUpdatedAt + +`func (o *ComposerPackageUploadResponse) SetStageUpdatedAt(v time.Time)` + +SetStageUpdatedAt sets StageUpdatedAt field to given value. + +### HasStageUpdatedAt + +`func (o *ComposerPackageUploadResponse) HasStageUpdatedAt() bool` + +HasStageUpdatedAt returns a boolean if a field has been set. + +### GetStatus + +`func (o *ComposerPackageUploadResponse) GetStatus() int64` + +GetStatus returns the Status field if non-nil, zero value otherwise. + +### GetStatusOk + +`func (o *ComposerPackageUploadResponse) GetStatusOk() (*int64, bool)` + +GetStatusOk returns a tuple with the Status field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetStatus + +`func (o *ComposerPackageUploadResponse) SetStatus(v int64)` + +SetStatus sets Status field to given value. + +### HasStatus + +`func (o *ComposerPackageUploadResponse) HasStatus() bool` + +HasStatus returns a boolean if a field has been set. + +### GetStatusReason + +`func (o *ComposerPackageUploadResponse) GetStatusReason() string` + +GetStatusReason returns the StatusReason field if non-nil, zero value otherwise. + +### GetStatusReasonOk + +`func (o *ComposerPackageUploadResponse) GetStatusReasonOk() (*string, bool)` + +GetStatusReasonOk returns a tuple with the StatusReason field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetStatusReason + +`func (o *ComposerPackageUploadResponse) SetStatusReason(v string)` + +SetStatusReason sets StatusReason field to given value. + +### HasStatusReason + +`func (o *ComposerPackageUploadResponse) HasStatusReason() bool` + +HasStatusReason returns a boolean if a field has been set. + +### GetStatusStr + +`func (o *ComposerPackageUploadResponse) GetStatusStr() string` + +GetStatusStr returns the StatusStr field if non-nil, zero value otherwise. + +### GetStatusStrOk + +`func (o *ComposerPackageUploadResponse) GetStatusStrOk() (*string, bool)` + +GetStatusStrOk returns a tuple with the StatusStr field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetStatusStr + +`func (o *ComposerPackageUploadResponse) SetStatusStr(v string)` + +SetStatusStr sets StatusStr field to given value. + +### HasStatusStr + +`func (o *ComposerPackageUploadResponse) HasStatusStr() bool` + +HasStatusStr returns a boolean if a field has been set. + +### GetStatusUpdatedAt + +`func (o *ComposerPackageUploadResponse) GetStatusUpdatedAt() time.Time` + +GetStatusUpdatedAt returns the StatusUpdatedAt field if non-nil, zero value otherwise. + +### GetStatusUpdatedAtOk + +`func (o *ComposerPackageUploadResponse) GetStatusUpdatedAtOk() (*time.Time, bool)` + +GetStatusUpdatedAtOk returns a tuple with the StatusUpdatedAt field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetStatusUpdatedAt + +`func (o *ComposerPackageUploadResponse) SetStatusUpdatedAt(v time.Time)` + +SetStatusUpdatedAt sets StatusUpdatedAt field to given value. + +### HasStatusUpdatedAt + +`func (o *ComposerPackageUploadResponse) HasStatusUpdatedAt() bool` + +HasStatusUpdatedAt returns a boolean if a field has been set. + +### GetStatusUrl + +`func (o *ComposerPackageUploadResponse) GetStatusUrl() string` + +GetStatusUrl returns the StatusUrl field if non-nil, zero value otherwise. + +### GetStatusUrlOk + +`func (o *ComposerPackageUploadResponse) GetStatusUrlOk() (*string, bool)` + +GetStatusUrlOk returns a tuple with the StatusUrl field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetStatusUrl + +`func (o *ComposerPackageUploadResponse) SetStatusUrl(v string)` + +SetStatusUrl sets StatusUrl field to given value. + +### HasStatusUrl + +`func (o *ComposerPackageUploadResponse) HasStatusUrl() bool` + +HasStatusUrl returns a boolean if a field has been set. + +### GetSubtype + +`func (o *ComposerPackageUploadResponse) GetSubtype() string` + +GetSubtype returns the Subtype field if non-nil, zero value otherwise. + +### GetSubtypeOk + +`func (o *ComposerPackageUploadResponse) GetSubtypeOk() (*string, bool)` + +GetSubtypeOk returns a tuple with the Subtype field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetSubtype + +`func (o *ComposerPackageUploadResponse) SetSubtype(v string)` + +SetSubtype sets Subtype field to given value. + +### HasSubtype + +`func (o *ComposerPackageUploadResponse) HasSubtype() bool` + +HasSubtype returns a boolean if a field has been set. + +### GetSummary + +`func (o *ComposerPackageUploadResponse) GetSummary() string` + +GetSummary returns the Summary field if non-nil, zero value otherwise. + +### GetSummaryOk + +`func (o *ComposerPackageUploadResponse) GetSummaryOk() (*string, bool)` + +GetSummaryOk returns a tuple with the Summary field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetSummary + +`func (o *ComposerPackageUploadResponse) SetSummary(v string)` + +SetSummary sets Summary field to given value. + +### HasSummary + +`func (o *ComposerPackageUploadResponse) HasSummary() bool` + +HasSummary returns a boolean if a field has been set. + +### GetSyncFinishedAt + +`func (o *ComposerPackageUploadResponse) GetSyncFinishedAt() time.Time` + +GetSyncFinishedAt returns the SyncFinishedAt field if non-nil, zero value otherwise. + +### GetSyncFinishedAtOk + +`func (o *ComposerPackageUploadResponse) GetSyncFinishedAtOk() (*time.Time, bool)` + +GetSyncFinishedAtOk returns a tuple with the SyncFinishedAt field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetSyncFinishedAt + +`func (o *ComposerPackageUploadResponse) SetSyncFinishedAt(v time.Time)` + +SetSyncFinishedAt sets SyncFinishedAt field to given value. + +### HasSyncFinishedAt + +`func (o *ComposerPackageUploadResponse) HasSyncFinishedAt() bool` + +HasSyncFinishedAt returns a boolean if a field has been set. + +### GetSyncProgress + +`func (o *ComposerPackageUploadResponse) GetSyncProgress() int64` + +GetSyncProgress returns the SyncProgress field if non-nil, zero value otherwise. + +### GetSyncProgressOk + +`func (o *ComposerPackageUploadResponse) GetSyncProgressOk() (*int64, bool)` + +GetSyncProgressOk returns a tuple with the SyncProgress field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetSyncProgress + +`func (o *ComposerPackageUploadResponse) SetSyncProgress(v int64)` + +SetSyncProgress sets SyncProgress field to given value. + +### HasSyncProgress + +`func (o *ComposerPackageUploadResponse) HasSyncProgress() bool` + +HasSyncProgress returns a boolean if a field has been set. + +### GetTagsImmutable + +`func (o *ComposerPackageUploadResponse) GetTagsImmutable() map[string]interface{}` + +GetTagsImmutable returns the TagsImmutable field if non-nil, zero value otherwise. + +### GetTagsImmutableOk + +`func (o *ComposerPackageUploadResponse) GetTagsImmutableOk() (*map[string]interface{}, bool)` + +GetTagsImmutableOk returns a tuple with the TagsImmutable field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetTagsImmutable + +`func (o *ComposerPackageUploadResponse) SetTagsImmutable(v map[string]interface{})` + +SetTagsImmutable sets TagsImmutable field to given value. + +### HasTagsImmutable + +`func (o *ComposerPackageUploadResponse) HasTagsImmutable() bool` + +HasTagsImmutable returns a boolean if a field has been set. + +### GetTypeDisplay + +`func (o *ComposerPackageUploadResponse) GetTypeDisplay() string` + +GetTypeDisplay returns the TypeDisplay field if non-nil, zero value otherwise. + +### GetTypeDisplayOk + +`func (o *ComposerPackageUploadResponse) GetTypeDisplayOk() (*string, bool)` + +GetTypeDisplayOk returns a tuple with the TypeDisplay field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetTypeDisplay + +`func (o *ComposerPackageUploadResponse) SetTypeDisplay(v string)` + +SetTypeDisplay sets TypeDisplay field to given value. + +### HasTypeDisplay + +`func (o *ComposerPackageUploadResponse) HasTypeDisplay() bool` + +HasTypeDisplay returns a boolean if a field has been set. + +### GetUploadedAt + +`func (o *ComposerPackageUploadResponse) GetUploadedAt() time.Time` + +GetUploadedAt returns the UploadedAt field if non-nil, zero value otherwise. + +### GetUploadedAtOk + +`func (o *ComposerPackageUploadResponse) GetUploadedAtOk() (*time.Time, bool)` + +GetUploadedAtOk returns a tuple with the UploadedAt field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetUploadedAt + +`func (o *ComposerPackageUploadResponse) SetUploadedAt(v time.Time)` + +SetUploadedAt sets UploadedAt field to given value. + +### HasUploadedAt + +`func (o *ComposerPackageUploadResponse) HasUploadedAt() bool` + +HasUploadedAt returns a boolean if a field has been set. + +### GetUploader + +`func (o *ComposerPackageUploadResponse) GetUploader() string` + +GetUploader returns the Uploader field if non-nil, zero value otherwise. + +### GetUploaderOk + +`func (o *ComposerPackageUploadResponse) GetUploaderOk() (*string, bool)` + +GetUploaderOk returns a tuple with the Uploader field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetUploader + +`func (o *ComposerPackageUploadResponse) SetUploader(v string)` + +SetUploader sets Uploader field to given value. + +### HasUploader + +`func (o *ComposerPackageUploadResponse) HasUploader() bool` + +HasUploader returns a boolean if a field has been set. + +### GetUploaderUrl + +`func (o *ComposerPackageUploadResponse) GetUploaderUrl() string` + +GetUploaderUrl returns the UploaderUrl field if non-nil, zero value otherwise. + +### GetUploaderUrlOk + +`func (o *ComposerPackageUploadResponse) GetUploaderUrlOk() (*string, bool)` + +GetUploaderUrlOk returns a tuple with the UploaderUrl field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetUploaderUrl + +`func (o *ComposerPackageUploadResponse) SetUploaderUrl(v string)` + +SetUploaderUrl sets UploaderUrl field to given value. + +### HasUploaderUrl + +`func (o *ComposerPackageUploadResponse) HasUploaderUrl() bool` + +HasUploaderUrl returns a boolean if a field has been set. + +### GetVersion + +`func (o *ComposerPackageUploadResponse) GetVersion() string` + +GetVersion returns the Version field if non-nil, zero value otherwise. + +### GetVersionOk + +`func (o *ComposerPackageUploadResponse) GetVersionOk() (*string, bool)` + +GetVersionOk returns a tuple with the Version field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetVersion + +`func (o *ComposerPackageUploadResponse) SetVersion(v string)` + +SetVersion sets Version field to given value. + +### HasVersion + +`func (o *ComposerPackageUploadResponse) HasVersion() bool` + +HasVersion returns a boolean if a field has been set. + +### GetVersionOrig + +`func (o *ComposerPackageUploadResponse) GetVersionOrig() string` + +GetVersionOrig returns the VersionOrig field if non-nil, zero value otherwise. + +### GetVersionOrigOk + +`func (o *ComposerPackageUploadResponse) GetVersionOrigOk() (*string, bool)` + +GetVersionOrigOk returns a tuple with the VersionOrig field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetVersionOrig + +`func (o *ComposerPackageUploadResponse) SetVersionOrig(v string)` + +SetVersionOrig sets VersionOrig field to given value. + +### HasVersionOrig + +`func (o *ComposerPackageUploadResponse) HasVersionOrig() bool` + +HasVersionOrig returns a boolean if a field has been set. + +### GetVulnerabilityScanResultsUrl + +`func (o *ComposerPackageUploadResponse) GetVulnerabilityScanResultsUrl() string` + +GetVulnerabilityScanResultsUrl returns the VulnerabilityScanResultsUrl field if non-nil, zero value otherwise. + +### GetVulnerabilityScanResultsUrlOk + +`func (o *ComposerPackageUploadResponse) GetVulnerabilityScanResultsUrlOk() (*string, bool)` + +GetVulnerabilityScanResultsUrlOk returns a tuple with the VulnerabilityScanResultsUrl field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetVulnerabilityScanResultsUrl + +`func (o *ComposerPackageUploadResponse) SetVulnerabilityScanResultsUrl(v string)` + +SetVulnerabilityScanResultsUrl sets VulnerabilityScanResultsUrl field to given value. + +### HasVulnerabilityScanResultsUrl + +`func (o *ComposerPackageUploadResponse) HasVulnerabilityScanResultsUrl() bool` + +HasVulnerabilityScanResultsUrl 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/docs/PackagesValidateUploadConan.md b/docs/ConanPackageUploadRequest.md similarity index 51% rename from docs/PackagesValidateUploadConan.md rename to docs/ConanPackageUploadRequest.md index 02d3616d..24d697df 100644 --- a/docs/PackagesValidateUploadConan.md +++ b/docs/ConanPackageUploadRequest.md @@ -1,269 +1,319 @@ -# PackagesValidateUploadConan +# ConanPackageUploadRequest ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**ConanChannel** | Pointer to **string** | Conan channel. | [optional] -**ConanPrefix** | Pointer to **string** | Conan prefix (User). | [optional] +**ConanChannel** | Pointer to **NullableString** | Conan channel. | [optional] +**ConanPrefix** | Pointer to **NullableString** | Conan prefix (User). | [optional] **InfoFile** | **string** | The info file is an python file containing the package metadata. | **ManifestFile** | **string** | The info file is an python file containing the package metadata. | **MetadataFile** | **string** | The conan file is an python file containing the package metadata. | -**Name** | Pointer to **string** | The name of this package. | [optional] +**Name** | Pointer to **NullableString** | The name of this package. | [optional] **PackageFile** | **string** | The primary file for the package. | **Republish** | Pointer to **bool** | If true, the uploaded package will overwrite any others with the same attributes (e.g. same version); otherwise, it will be flagged as a duplicate. | [optional] -**Tags** | Pointer to **string** | A comma-separated values list of tags to add to the package. | [optional] -**Version** | Pointer to **string** | The raw version for this package. | [optional] +**Tags** | Pointer to **NullableString** | A comma-separated values list of tags to add to the package. | [optional] +**Version** | Pointer to **NullableString** | The raw version for this package. | [optional] ## Methods -### NewPackagesValidateUploadConan +### NewConanPackageUploadRequest -`func NewPackagesValidateUploadConan(infoFile string, manifestFile string, metadataFile string, packageFile string, ) *PackagesValidateUploadConan` +`func NewConanPackageUploadRequest(infoFile string, manifestFile string, metadataFile string, packageFile string, ) *ConanPackageUploadRequest` -NewPackagesValidateUploadConan instantiates a new PackagesValidateUploadConan object +NewConanPackageUploadRequest instantiates a new ConanPackageUploadRequest object 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 -### NewPackagesValidateUploadConanWithDefaults +### NewConanPackageUploadRequestWithDefaults -`func NewPackagesValidateUploadConanWithDefaults() *PackagesValidateUploadConan` +`func NewConanPackageUploadRequestWithDefaults() *ConanPackageUploadRequest` -NewPackagesValidateUploadConanWithDefaults instantiates a new PackagesValidateUploadConan object +NewConanPackageUploadRequestWithDefaults instantiates a new ConanPackageUploadRequest object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set ### GetConanChannel -`func (o *PackagesValidateUploadConan) GetConanChannel() string` +`func (o *ConanPackageUploadRequest) GetConanChannel() string` GetConanChannel returns the ConanChannel field if non-nil, zero value otherwise. ### GetConanChannelOk -`func (o *PackagesValidateUploadConan) GetConanChannelOk() (*string, bool)` +`func (o *ConanPackageUploadRequest) GetConanChannelOk() (*string, bool)` GetConanChannelOk returns a tuple with the ConanChannel field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetConanChannel -`func (o *PackagesValidateUploadConan) SetConanChannel(v string)` +`func (o *ConanPackageUploadRequest) SetConanChannel(v string)` SetConanChannel sets ConanChannel field to given value. ### HasConanChannel -`func (o *PackagesValidateUploadConan) HasConanChannel() bool` +`func (o *ConanPackageUploadRequest) HasConanChannel() bool` HasConanChannel returns a boolean if a field has been set. +### SetConanChannelNil + +`func (o *ConanPackageUploadRequest) SetConanChannelNil(b bool)` + + SetConanChannelNil sets the value for ConanChannel to be an explicit nil + +### UnsetConanChannel +`func (o *ConanPackageUploadRequest) UnsetConanChannel()` + +UnsetConanChannel ensures that no value is present for ConanChannel, not even an explicit nil ### GetConanPrefix -`func (o *PackagesValidateUploadConan) GetConanPrefix() string` +`func (o *ConanPackageUploadRequest) GetConanPrefix() string` GetConanPrefix returns the ConanPrefix field if non-nil, zero value otherwise. ### GetConanPrefixOk -`func (o *PackagesValidateUploadConan) GetConanPrefixOk() (*string, bool)` +`func (o *ConanPackageUploadRequest) GetConanPrefixOk() (*string, bool)` GetConanPrefixOk returns a tuple with the ConanPrefix field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetConanPrefix -`func (o *PackagesValidateUploadConan) SetConanPrefix(v string)` +`func (o *ConanPackageUploadRequest) SetConanPrefix(v string)` SetConanPrefix sets ConanPrefix field to given value. ### HasConanPrefix -`func (o *PackagesValidateUploadConan) HasConanPrefix() bool` +`func (o *ConanPackageUploadRequest) HasConanPrefix() bool` HasConanPrefix returns a boolean if a field has been set. +### SetConanPrefixNil + +`func (o *ConanPackageUploadRequest) SetConanPrefixNil(b bool)` + + SetConanPrefixNil sets the value for ConanPrefix to be an explicit nil + +### UnsetConanPrefix +`func (o *ConanPackageUploadRequest) UnsetConanPrefix()` + +UnsetConanPrefix ensures that no value is present for ConanPrefix, not even an explicit nil ### GetInfoFile -`func (o *PackagesValidateUploadConan) GetInfoFile() string` +`func (o *ConanPackageUploadRequest) GetInfoFile() string` GetInfoFile returns the InfoFile field if non-nil, zero value otherwise. ### GetInfoFileOk -`func (o *PackagesValidateUploadConan) GetInfoFileOk() (*string, bool)` +`func (o *ConanPackageUploadRequest) GetInfoFileOk() (*string, bool)` GetInfoFileOk returns a tuple with the InfoFile field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetInfoFile -`func (o *PackagesValidateUploadConan) SetInfoFile(v string)` +`func (o *ConanPackageUploadRequest) SetInfoFile(v string)` SetInfoFile sets InfoFile field to given value. ### GetManifestFile -`func (o *PackagesValidateUploadConan) GetManifestFile() string` +`func (o *ConanPackageUploadRequest) GetManifestFile() string` GetManifestFile returns the ManifestFile field if non-nil, zero value otherwise. ### GetManifestFileOk -`func (o *PackagesValidateUploadConan) GetManifestFileOk() (*string, bool)` +`func (o *ConanPackageUploadRequest) GetManifestFileOk() (*string, bool)` GetManifestFileOk returns a tuple with the ManifestFile field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetManifestFile -`func (o *PackagesValidateUploadConan) SetManifestFile(v string)` +`func (o *ConanPackageUploadRequest) SetManifestFile(v string)` SetManifestFile sets ManifestFile field to given value. ### GetMetadataFile -`func (o *PackagesValidateUploadConan) GetMetadataFile() string` +`func (o *ConanPackageUploadRequest) GetMetadataFile() string` GetMetadataFile returns the MetadataFile field if non-nil, zero value otherwise. ### GetMetadataFileOk -`func (o *PackagesValidateUploadConan) GetMetadataFileOk() (*string, bool)` +`func (o *ConanPackageUploadRequest) GetMetadataFileOk() (*string, bool)` GetMetadataFileOk returns a tuple with the MetadataFile field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetMetadataFile -`func (o *PackagesValidateUploadConan) SetMetadataFile(v string)` +`func (o *ConanPackageUploadRequest) SetMetadataFile(v string)` SetMetadataFile sets MetadataFile field to given value. ### GetName -`func (o *PackagesValidateUploadConan) GetName() string` +`func (o *ConanPackageUploadRequest) GetName() string` GetName returns the Name field if non-nil, zero value otherwise. ### GetNameOk -`func (o *PackagesValidateUploadConan) GetNameOk() (*string, bool)` +`func (o *ConanPackageUploadRequest) GetNameOk() (*string, bool)` 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. ### SetName -`func (o *PackagesValidateUploadConan) SetName(v string)` +`func (o *ConanPackageUploadRequest) SetName(v string)` SetName sets Name field to given value. ### HasName -`func (o *PackagesValidateUploadConan) HasName() bool` +`func (o *ConanPackageUploadRequest) HasName() bool` HasName returns a boolean if a field has been set. +### SetNameNil + +`func (o *ConanPackageUploadRequest) SetNameNil(b bool)` + + SetNameNil sets the value for Name to be an explicit nil + +### UnsetName +`func (o *ConanPackageUploadRequest) UnsetName()` + +UnsetName ensures that no value is present for Name, not even an explicit nil ### GetPackageFile -`func (o *PackagesValidateUploadConan) GetPackageFile() string` +`func (o *ConanPackageUploadRequest) GetPackageFile() string` GetPackageFile returns the PackageFile field if non-nil, zero value otherwise. ### GetPackageFileOk -`func (o *PackagesValidateUploadConan) GetPackageFileOk() (*string, bool)` +`func (o *ConanPackageUploadRequest) GetPackageFileOk() (*string, bool)` GetPackageFileOk returns a tuple with the PackageFile field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetPackageFile -`func (o *PackagesValidateUploadConan) SetPackageFile(v string)` +`func (o *ConanPackageUploadRequest) SetPackageFile(v string)` SetPackageFile sets PackageFile field to given value. ### GetRepublish -`func (o *PackagesValidateUploadConan) GetRepublish() bool` +`func (o *ConanPackageUploadRequest) GetRepublish() bool` GetRepublish returns the Republish field if non-nil, zero value otherwise. ### GetRepublishOk -`func (o *PackagesValidateUploadConan) GetRepublishOk() (*bool, bool)` +`func (o *ConanPackageUploadRequest) GetRepublishOk() (*bool, bool)` GetRepublishOk returns a tuple with the Republish field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetRepublish -`func (o *PackagesValidateUploadConan) SetRepublish(v bool)` +`func (o *ConanPackageUploadRequest) SetRepublish(v bool)` SetRepublish sets Republish field to given value. ### HasRepublish -`func (o *PackagesValidateUploadConan) HasRepublish() bool` +`func (o *ConanPackageUploadRequest) HasRepublish() bool` HasRepublish returns a boolean if a field has been set. ### GetTags -`func (o *PackagesValidateUploadConan) GetTags() string` +`func (o *ConanPackageUploadRequest) GetTags() string` GetTags returns the Tags field if non-nil, zero value otherwise. ### GetTagsOk -`func (o *PackagesValidateUploadConan) GetTagsOk() (*string, bool)` +`func (o *ConanPackageUploadRequest) GetTagsOk() (*string, bool)` GetTagsOk returns a tuple with the Tags field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetTags -`func (o *PackagesValidateUploadConan) SetTags(v string)` +`func (o *ConanPackageUploadRequest) SetTags(v string)` SetTags sets Tags field to given value. ### HasTags -`func (o *PackagesValidateUploadConan) HasTags() bool` +`func (o *ConanPackageUploadRequest) HasTags() bool` HasTags returns a boolean if a field has been set. +### SetTagsNil + +`func (o *ConanPackageUploadRequest) SetTagsNil(b bool)` + + SetTagsNil sets the value for Tags to be an explicit nil + +### UnsetTags +`func (o *ConanPackageUploadRequest) UnsetTags()` + +UnsetTags ensures that no value is present for Tags, not even an explicit nil ### GetVersion -`func (o *PackagesValidateUploadConan) GetVersion() string` +`func (o *ConanPackageUploadRequest) GetVersion() string` GetVersion returns the Version field if non-nil, zero value otherwise. ### GetVersionOk -`func (o *PackagesValidateUploadConan) GetVersionOk() (*string, bool)` +`func (o *ConanPackageUploadRequest) GetVersionOk() (*string, bool)` GetVersionOk returns a tuple with the Version field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetVersion -`func (o *PackagesValidateUploadConan) SetVersion(v string)` +`func (o *ConanPackageUploadRequest) SetVersion(v string)` SetVersion sets Version field to given value. ### HasVersion -`func (o *PackagesValidateUploadConan) HasVersion() bool` +`func (o *ConanPackageUploadRequest) HasVersion() bool` HasVersion returns a boolean if a field has been set. +### SetVersionNil + +`func (o *ConanPackageUploadRequest) SetVersionNil(b bool)` + + SetVersionNil sets the value for Version to be an explicit nil + +### UnsetVersion +`func (o *ConanPackageUploadRequest) UnsetVersion()` + +UnsetVersion ensures that no value is present for Version, 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/docs/ConanPackageUploadResponse.md b/docs/ConanPackageUploadResponse.md new file mode 100644 index 00000000..ef2a7af4 --- /dev/null +++ b/docs/ConanPackageUploadResponse.md @@ -0,0 +1,1930 @@ +# ConanPackageUploadResponse + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Architectures** | Pointer to [**[]Architecture**](Architecture.md) | | [optional] [readonly] +**CdnUrl** | Pointer to **NullableString** | | [optional] [readonly] +**ChecksumMd5** | Pointer to **string** | | [optional] [readonly] +**ChecksumSha1** | Pointer to **string** | | [optional] [readonly] +**ChecksumSha256** | Pointer to **string** | | [optional] [readonly] +**ChecksumSha512** | Pointer to **string** | | [optional] [readonly] +**ConanChannel** | Pointer to **NullableString** | Conan channel. | [optional] +**ConanPrefix** | Pointer to **NullableString** | Conan prefix (User). | [optional] +**DependenciesChecksumMd5** | Pointer to **string** | A checksum of all of the package's dependencies. | [optional] [readonly] +**DependenciesUrl** | Pointer to **string** | | [optional] [readonly] +**Description** | Pointer to **string** | A textual description of this package. | [optional] [readonly] +**Distro** | Pointer to [**NullableDistribution**](Distribution.md) | | [optional] +**DistroVersion** | Pointer to [**DistributionVersion**](DistributionVersion.md) | | [optional] +**Downloads** | Pointer to **int64** | | [optional] [readonly] +**Epoch** | Pointer to **int64** | The epoch of the package version (if any). | [optional] [readonly] +**Extension** | Pointer to **string** | | [optional] [readonly] +**Filename** | Pointer to **string** | | [optional] [readonly] +**Files** | Pointer to [**[]PackageFile**](PackageFile.md) | | [optional] [readonly] +**Format** | Pointer to **string** | | [optional] [readonly] +**FormatUrl** | Pointer to **string** | | [optional] [readonly] +**IdentifierPerm** | Pointer to **string** | Unique and permanent identifier for the package. | [optional] [readonly] +**Indexed** | Pointer to **bool** | | [optional] [readonly] +**IsDownloadable** | Pointer to **bool** | | [optional] [readonly] +**IsQuarantined** | Pointer to **bool** | | [optional] [readonly] +**IsSyncAwaiting** | Pointer to **bool** | | [optional] [readonly] +**IsSyncCompleted** | Pointer to **bool** | | [optional] [readonly] +**IsSyncFailed** | Pointer to **bool** | | [optional] [readonly] +**IsSyncInFlight** | Pointer to **bool** | | [optional] [readonly] +**IsSyncInProgress** | Pointer to **bool** | | [optional] [readonly] +**License** | Pointer to **string** | The license of this package. | [optional] [readonly] +**Name** | Pointer to **NullableString** | The name of this package. | [optional] +**Namespace** | Pointer to **string** | | [optional] [readonly] +**NamespaceUrl** | Pointer to **string** | | [optional] [readonly] +**NumFiles** | Pointer to **int64** | | [optional] [readonly] +**OriginRepository** | Pointer to **string** | | [optional] [readonly] +**OriginRepositoryUrl** | Pointer to **string** | | [optional] [readonly] +**PackageType** | Pointer to **int64** | The type of package contents. | [optional] [readonly] +**Release** | Pointer to **string** | The release of the package version (if any). | [optional] [readonly] +**Repository** | Pointer to **string** | | [optional] [readonly] +**RepositoryUrl** | Pointer to **string** | | [optional] [readonly] +**SecurityScanCompletedAt** | Pointer to **time.Time** | The datetime the security scanning was completed. | [optional] [readonly] +**SecurityScanStartedAt** | Pointer to **time.Time** | The datetime the security scanning was started. | [optional] [readonly] +**SecurityScanStatus** | Pointer to **NullableString** | | [optional] [readonly] [default to "Awaiting Security Scan"] +**SecurityScanStatusUpdatedAt** | Pointer to **time.Time** | The datetime the security scanning status was updated. | [optional] [readonly] +**SelfHtmlUrl** | Pointer to **string** | | [optional] [readonly] +**SelfUrl** | Pointer to **string** | | [optional] [readonly] +**SignatureUrl** | Pointer to **NullableString** | | [optional] [readonly] +**Size** | Pointer to **int64** | The calculated size of the package. | [optional] [readonly] +**Slug** | Pointer to **string** | The public unique identifier for the package. | [optional] [readonly] +**SlugPerm** | Pointer to **string** | | [optional] [readonly] +**Stage** | Pointer to **int64** | The synchronisation (in progress) stage of the package. | [optional] [readonly] +**StageStr** | Pointer to **string** | | [optional] [readonly] +**StageUpdatedAt** | Pointer to **time.Time** | The datetime the package stage was updated at. | [optional] [readonly] +**Status** | Pointer to **int64** | The synchronisation status of the package. | [optional] [readonly] +**StatusReason** | Pointer to **string** | A textual description for the synchronous status reason (if any | [optional] [readonly] +**StatusStr** | Pointer to **string** | | [optional] [readonly] +**StatusUpdatedAt** | Pointer to **time.Time** | The datetime the package status was updated at. | [optional] [readonly] +**StatusUrl** | Pointer to **string** | | [optional] [readonly] +**Subtype** | Pointer to **string** | | [optional] [readonly] +**Summary** | Pointer to **string** | A one-liner synopsis of this package. | [optional] [readonly] +**SyncFinishedAt** | Pointer to **time.Time** | The datetime the package sync was finished at. | [optional] [readonly] +**SyncProgress** | Pointer to **int64** | Synchronisation progress (from 0-100) | [optional] [readonly] +**TagsImmutable** | Pointer to **map[string]interface{}** | All tags on the package, grouped by tag type. This includes immutable tags, but doesn't distinguish them from mutable. To see which tags are immutable specifically, see the tags_immutable field. | [optional] +**TypeDisplay** | Pointer to **string** | | [optional] [readonly] +**UploadedAt** | Pointer to **time.Time** | The date this package was uploaded. | [optional] [readonly] +**Uploader** | Pointer to **string** | | [optional] [readonly] +**UploaderUrl** | Pointer to **string** | | [optional] [readonly] +**Version** | Pointer to **NullableString** | The raw version for this package. | [optional] +**VersionOrig** | Pointer to **string** | | [optional] [readonly] +**VulnerabilityScanResultsUrl** | Pointer to **string** | | [optional] [readonly] + +## Methods + +### NewConanPackageUploadResponse + +`func NewConanPackageUploadResponse() *ConanPackageUploadResponse` + +NewConanPackageUploadResponse instantiates a new ConanPackageUploadResponse object +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 + +### NewConanPackageUploadResponseWithDefaults + +`func NewConanPackageUploadResponseWithDefaults() *ConanPackageUploadResponse` + +NewConanPackageUploadResponseWithDefaults instantiates a new ConanPackageUploadResponse object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetArchitectures + +`func (o *ConanPackageUploadResponse) GetArchitectures() []Architecture` + +GetArchitectures returns the Architectures field if non-nil, zero value otherwise. + +### GetArchitecturesOk + +`func (o *ConanPackageUploadResponse) GetArchitecturesOk() (*[]Architecture, bool)` + +GetArchitecturesOk returns a tuple with the Architectures field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetArchitectures + +`func (o *ConanPackageUploadResponse) SetArchitectures(v []Architecture)` + +SetArchitectures sets Architectures field to given value. + +### HasArchitectures + +`func (o *ConanPackageUploadResponse) HasArchitectures() bool` + +HasArchitectures returns a boolean if a field has been set. + +### GetCdnUrl + +`func (o *ConanPackageUploadResponse) GetCdnUrl() string` + +GetCdnUrl returns the CdnUrl field if non-nil, zero value otherwise. + +### GetCdnUrlOk + +`func (o *ConanPackageUploadResponse) GetCdnUrlOk() (*string, bool)` + +GetCdnUrlOk returns a tuple with the CdnUrl field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetCdnUrl + +`func (o *ConanPackageUploadResponse) SetCdnUrl(v string)` + +SetCdnUrl sets CdnUrl field to given value. + +### HasCdnUrl + +`func (o *ConanPackageUploadResponse) HasCdnUrl() bool` + +HasCdnUrl returns a boolean if a field has been set. + +### SetCdnUrlNil + +`func (o *ConanPackageUploadResponse) SetCdnUrlNil(b bool)` + + SetCdnUrlNil sets the value for CdnUrl to be an explicit nil + +### UnsetCdnUrl +`func (o *ConanPackageUploadResponse) UnsetCdnUrl()` + +UnsetCdnUrl ensures that no value is present for CdnUrl, not even an explicit nil +### GetChecksumMd5 + +`func (o *ConanPackageUploadResponse) GetChecksumMd5() string` + +GetChecksumMd5 returns the ChecksumMd5 field if non-nil, zero value otherwise. + +### GetChecksumMd5Ok + +`func (o *ConanPackageUploadResponse) GetChecksumMd5Ok() (*string, bool)` + +GetChecksumMd5Ok returns a tuple with the ChecksumMd5 field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetChecksumMd5 + +`func (o *ConanPackageUploadResponse) SetChecksumMd5(v string)` + +SetChecksumMd5 sets ChecksumMd5 field to given value. + +### HasChecksumMd5 + +`func (o *ConanPackageUploadResponse) HasChecksumMd5() bool` + +HasChecksumMd5 returns a boolean if a field has been set. + +### GetChecksumSha1 + +`func (o *ConanPackageUploadResponse) GetChecksumSha1() string` + +GetChecksumSha1 returns the ChecksumSha1 field if non-nil, zero value otherwise. + +### GetChecksumSha1Ok + +`func (o *ConanPackageUploadResponse) GetChecksumSha1Ok() (*string, bool)` + +GetChecksumSha1Ok returns a tuple with the ChecksumSha1 field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetChecksumSha1 + +`func (o *ConanPackageUploadResponse) SetChecksumSha1(v string)` + +SetChecksumSha1 sets ChecksumSha1 field to given value. + +### HasChecksumSha1 + +`func (o *ConanPackageUploadResponse) HasChecksumSha1() bool` + +HasChecksumSha1 returns a boolean if a field has been set. + +### GetChecksumSha256 + +`func (o *ConanPackageUploadResponse) GetChecksumSha256() string` + +GetChecksumSha256 returns the ChecksumSha256 field if non-nil, zero value otherwise. + +### GetChecksumSha256Ok + +`func (o *ConanPackageUploadResponse) GetChecksumSha256Ok() (*string, bool)` + +GetChecksumSha256Ok returns a tuple with the ChecksumSha256 field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetChecksumSha256 + +`func (o *ConanPackageUploadResponse) SetChecksumSha256(v string)` + +SetChecksumSha256 sets ChecksumSha256 field to given value. + +### HasChecksumSha256 + +`func (o *ConanPackageUploadResponse) HasChecksumSha256() bool` + +HasChecksumSha256 returns a boolean if a field has been set. + +### GetChecksumSha512 + +`func (o *ConanPackageUploadResponse) GetChecksumSha512() string` + +GetChecksumSha512 returns the ChecksumSha512 field if non-nil, zero value otherwise. + +### GetChecksumSha512Ok + +`func (o *ConanPackageUploadResponse) GetChecksumSha512Ok() (*string, bool)` + +GetChecksumSha512Ok returns a tuple with the ChecksumSha512 field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetChecksumSha512 + +`func (o *ConanPackageUploadResponse) SetChecksumSha512(v string)` + +SetChecksumSha512 sets ChecksumSha512 field to given value. + +### HasChecksumSha512 + +`func (o *ConanPackageUploadResponse) HasChecksumSha512() bool` + +HasChecksumSha512 returns a boolean if a field has been set. + +### GetConanChannel + +`func (o *ConanPackageUploadResponse) GetConanChannel() string` + +GetConanChannel returns the ConanChannel field if non-nil, zero value otherwise. + +### GetConanChannelOk + +`func (o *ConanPackageUploadResponse) GetConanChannelOk() (*string, bool)` + +GetConanChannelOk returns a tuple with the ConanChannel field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetConanChannel + +`func (o *ConanPackageUploadResponse) SetConanChannel(v string)` + +SetConanChannel sets ConanChannel field to given value. + +### HasConanChannel + +`func (o *ConanPackageUploadResponse) HasConanChannel() bool` + +HasConanChannel returns a boolean if a field has been set. + +### SetConanChannelNil + +`func (o *ConanPackageUploadResponse) SetConanChannelNil(b bool)` + + SetConanChannelNil sets the value for ConanChannel to be an explicit nil + +### UnsetConanChannel +`func (o *ConanPackageUploadResponse) UnsetConanChannel()` + +UnsetConanChannel ensures that no value is present for ConanChannel, not even an explicit nil +### GetConanPrefix + +`func (o *ConanPackageUploadResponse) GetConanPrefix() string` + +GetConanPrefix returns the ConanPrefix field if non-nil, zero value otherwise. + +### GetConanPrefixOk + +`func (o *ConanPackageUploadResponse) GetConanPrefixOk() (*string, bool)` + +GetConanPrefixOk returns a tuple with the ConanPrefix field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetConanPrefix + +`func (o *ConanPackageUploadResponse) SetConanPrefix(v string)` + +SetConanPrefix sets ConanPrefix field to given value. + +### HasConanPrefix + +`func (o *ConanPackageUploadResponse) HasConanPrefix() bool` + +HasConanPrefix returns a boolean if a field has been set. + +### SetConanPrefixNil + +`func (o *ConanPackageUploadResponse) SetConanPrefixNil(b bool)` + + SetConanPrefixNil sets the value for ConanPrefix to be an explicit nil + +### UnsetConanPrefix +`func (o *ConanPackageUploadResponse) UnsetConanPrefix()` + +UnsetConanPrefix ensures that no value is present for ConanPrefix, not even an explicit nil +### GetDependenciesChecksumMd5 + +`func (o *ConanPackageUploadResponse) GetDependenciesChecksumMd5() string` + +GetDependenciesChecksumMd5 returns the DependenciesChecksumMd5 field if non-nil, zero value otherwise. + +### GetDependenciesChecksumMd5Ok + +`func (o *ConanPackageUploadResponse) GetDependenciesChecksumMd5Ok() (*string, bool)` + +GetDependenciesChecksumMd5Ok returns a tuple with the DependenciesChecksumMd5 field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetDependenciesChecksumMd5 + +`func (o *ConanPackageUploadResponse) SetDependenciesChecksumMd5(v string)` + +SetDependenciesChecksumMd5 sets DependenciesChecksumMd5 field to given value. + +### HasDependenciesChecksumMd5 + +`func (o *ConanPackageUploadResponse) HasDependenciesChecksumMd5() bool` + +HasDependenciesChecksumMd5 returns a boolean if a field has been set. + +### GetDependenciesUrl + +`func (o *ConanPackageUploadResponse) GetDependenciesUrl() string` + +GetDependenciesUrl returns the DependenciesUrl field if non-nil, zero value otherwise. + +### GetDependenciesUrlOk + +`func (o *ConanPackageUploadResponse) GetDependenciesUrlOk() (*string, bool)` + +GetDependenciesUrlOk returns a tuple with the DependenciesUrl field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetDependenciesUrl + +`func (o *ConanPackageUploadResponse) SetDependenciesUrl(v string)` + +SetDependenciesUrl sets DependenciesUrl field to given value. + +### HasDependenciesUrl + +`func (o *ConanPackageUploadResponse) HasDependenciesUrl() bool` + +HasDependenciesUrl returns a boolean if a field has been set. + +### GetDescription + +`func (o *ConanPackageUploadResponse) GetDescription() string` + +GetDescription returns the Description field if non-nil, zero value otherwise. + +### GetDescriptionOk + +`func (o *ConanPackageUploadResponse) GetDescriptionOk() (*string, bool)` + +GetDescriptionOk returns a tuple with the Description field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetDescription + +`func (o *ConanPackageUploadResponse) SetDescription(v string)` + +SetDescription sets Description field to given value. + +### HasDescription + +`func (o *ConanPackageUploadResponse) HasDescription() bool` + +HasDescription returns a boolean if a field has been set. + +### GetDistro + +`func (o *ConanPackageUploadResponse) GetDistro() Distribution` + +GetDistro returns the Distro field if non-nil, zero value otherwise. + +### GetDistroOk + +`func (o *ConanPackageUploadResponse) GetDistroOk() (*Distribution, bool)` + +GetDistroOk returns a tuple with the Distro field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetDistro + +`func (o *ConanPackageUploadResponse) SetDistro(v Distribution)` + +SetDistro sets Distro field to given value. + +### HasDistro + +`func (o *ConanPackageUploadResponse) HasDistro() bool` + +HasDistro returns a boolean if a field has been set. + +### SetDistroNil + +`func (o *ConanPackageUploadResponse) SetDistroNil(b bool)` + + SetDistroNil sets the value for Distro to be an explicit nil + +### UnsetDistro +`func (o *ConanPackageUploadResponse) UnsetDistro()` + +UnsetDistro ensures that no value is present for Distro, not even an explicit nil +### GetDistroVersion + +`func (o *ConanPackageUploadResponse) GetDistroVersion() DistributionVersion` + +GetDistroVersion returns the DistroVersion field if non-nil, zero value otherwise. + +### GetDistroVersionOk + +`func (o *ConanPackageUploadResponse) GetDistroVersionOk() (*DistributionVersion, bool)` + +GetDistroVersionOk returns a tuple with the DistroVersion field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetDistroVersion + +`func (o *ConanPackageUploadResponse) SetDistroVersion(v DistributionVersion)` + +SetDistroVersion sets DistroVersion field to given value. + +### HasDistroVersion + +`func (o *ConanPackageUploadResponse) HasDistroVersion() bool` + +HasDistroVersion returns a boolean if a field has been set. + +### GetDownloads + +`func (o *ConanPackageUploadResponse) GetDownloads() int64` + +GetDownloads returns the Downloads field if non-nil, zero value otherwise. + +### GetDownloadsOk + +`func (o *ConanPackageUploadResponse) GetDownloadsOk() (*int64, bool)` + +GetDownloadsOk returns a tuple with the Downloads field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetDownloads + +`func (o *ConanPackageUploadResponse) SetDownloads(v int64)` + +SetDownloads sets Downloads field to given value. + +### HasDownloads + +`func (o *ConanPackageUploadResponse) HasDownloads() bool` + +HasDownloads returns a boolean if a field has been set. + +### GetEpoch + +`func (o *ConanPackageUploadResponse) GetEpoch() int64` + +GetEpoch returns the Epoch field if non-nil, zero value otherwise. + +### GetEpochOk + +`func (o *ConanPackageUploadResponse) GetEpochOk() (*int64, bool)` + +GetEpochOk returns a tuple with the Epoch field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetEpoch + +`func (o *ConanPackageUploadResponse) SetEpoch(v int64)` + +SetEpoch sets Epoch field to given value. + +### HasEpoch + +`func (o *ConanPackageUploadResponse) HasEpoch() bool` + +HasEpoch returns a boolean if a field has been set. + +### GetExtension + +`func (o *ConanPackageUploadResponse) GetExtension() string` + +GetExtension returns the Extension field if non-nil, zero value otherwise. + +### GetExtensionOk + +`func (o *ConanPackageUploadResponse) GetExtensionOk() (*string, bool)` + +GetExtensionOk returns a tuple with the Extension field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetExtension + +`func (o *ConanPackageUploadResponse) SetExtension(v string)` + +SetExtension sets Extension field to given value. + +### HasExtension + +`func (o *ConanPackageUploadResponse) HasExtension() bool` + +HasExtension returns a boolean if a field has been set. + +### GetFilename + +`func (o *ConanPackageUploadResponse) GetFilename() string` + +GetFilename returns the Filename field if non-nil, zero value otherwise. + +### GetFilenameOk + +`func (o *ConanPackageUploadResponse) GetFilenameOk() (*string, bool)` + +GetFilenameOk returns a tuple with the Filename field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetFilename + +`func (o *ConanPackageUploadResponse) SetFilename(v string)` + +SetFilename sets Filename field to given value. + +### HasFilename + +`func (o *ConanPackageUploadResponse) HasFilename() bool` + +HasFilename returns a boolean if a field has been set. + +### GetFiles + +`func (o *ConanPackageUploadResponse) GetFiles() []PackageFile` + +GetFiles returns the Files field if non-nil, zero value otherwise. + +### GetFilesOk + +`func (o *ConanPackageUploadResponse) GetFilesOk() (*[]PackageFile, 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 *ConanPackageUploadResponse) SetFiles(v []PackageFile)` + +SetFiles sets Files field to given value. + +### HasFiles + +`func (o *ConanPackageUploadResponse) HasFiles() bool` + +HasFiles returns a boolean if a field has been set. + +### GetFormat + +`func (o *ConanPackageUploadResponse) GetFormat() string` + +GetFormat returns the Format field if non-nil, zero value otherwise. + +### GetFormatOk + +`func (o *ConanPackageUploadResponse) GetFormatOk() (*string, bool)` + +GetFormatOk returns a tuple with the Format field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetFormat + +`func (o *ConanPackageUploadResponse) SetFormat(v string)` + +SetFormat sets Format field to given value. + +### HasFormat + +`func (o *ConanPackageUploadResponse) HasFormat() bool` + +HasFormat returns a boolean if a field has been set. + +### GetFormatUrl + +`func (o *ConanPackageUploadResponse) GetFormatUrl() string` + +GetFormatUrl returns the FormatUrl field if non-nil, zero value otherwise. + +### GetFormatUrlOk + +`func (o *ConanPackageUploadResponse) GetFormatUrlOk() (*string, bool)` + +GetFormatUrlOk returns a tuple with the FormatUrl field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetFormatUrl + +`func (o *ConanPackageUploadResponse) SetFormatUrl(v string)` + +SetFormatUrl sets FormatUrl field to given value. + +### HasFormatUrl + +`func (o *ConanPackageUploadResponse) HasFormatUrl() bool` + +HasFormatUrl returns a boolean if a field has been set. + +### GetIdentifierPerm + +`func (o *ConanPackageUploadResponse) GetIdentifierPerm() string` + +GetIdentifierPerm returns the IdentifierPerm field if non-nil, zero value otherwise. + +### GetIdentifierPermOk + +`func (o *ConanPackageUploadResponse) GetIdentifierPermOk() (*string, bool)` + +GetIdentifierPermOk returns a tuple with the IdentifierPerm field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetIdentifierPerm + +`func (o *ConanPackageUploadResponse) SetIdentifierPerm(v string)` + +SetIdentifierPerm sets IdentifierPerm field to given value. + +### HasIdentifierPerm + +`func (o *ConanPackageUploadResponse) HasIdentifierPerm() bool` + +HasIdentifierPerm returns a boolean if a field has been set. + +### GetIndexed + +`func (o *ConanPackageUploadResponse) GetIndexed() bool` + +GetIndexed returns the Indexed field if non-nil, zero value otherwise. + +### GetIndexedOk + +`func (o *ConanPackageUploadResponse) GetIndexedOk() (*bool, bool)` + +GetIndexedOk returns a tuple with the Indexed field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetIndexed + +`func (o *ConanPackageUploadResponse) SetIndexed(v bool)` + +SetIndexed sets Indexed field to given value. + +### HasIndexed + +`func (o *ConanPackageUploadResponse) HasIndexed() bool` + +HasIndexed returns a boolean if a field has been set. + +### GetIsDownloadable + +`func (o *ConanPackageUploadResponse) GetIsDownloadable() bool` + +GetIsDownloadable returns the IsDownloadable field if non-nil, zero value otherwise. + +### GetIsDownloadableOk + +`func (o *ConanPackageUploadResponse) GetIsDownloadableOk() (*bool, bool)` + +GetIsDownloadableOk returns a tuple with the IsDownloadable field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetIsDownloadable + +`func (o *ConanPackageUploadResponse) SetIsDownloadable(v bool)` + +SetIsDownloadable sets IsDownloadable field to given value. + +### HasIsDownloadable + +`func (o *ConanPackageUploadResponse) HasIsDownloadable() bool` + +HasIsDownloadable returns a boolean if a field has been set. + +### GetIsQuarantined + +`func (o *ConanPackageUploadResponse) GetIsQuarantined() bool` + +GetIsQuarantined returns the IsQuarantined field if non-nil, zero value otherwise. + +### GetIsQuarantinedOk + +`func (o *ConanPackageUploadResponse) GetIsQuarantinedOk() (*bool, bool)` + +GetIsQuarantinedOk returns a tuple with the IsQuarantined field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetIsQuarantined + +`func (o *ConanPackageUploadResponse) SetIsQuarantined(v bool)` + +SetIsQuarantined sets IsQuarantined field to given value. + +### HasIsQuarantined + +`func (o *ConanPackageUploadResponse) HasIsQuarantined() bool` + +HasIsQuarantined returns a boolean if a field has been set. + +### GetIsSyncAwaiting + +`func (o *ConanPackageUploadResponse) GetIsSyncAwaiting() bool` + +GetIsSyncAwaiting returns the IsSyncAwaiting field if non-nil, zero value otherwise. + +### GetIsSyncAwaitingOk + +`func (o *ConanPackageUploadResponse) GetIsSyncAwaitingOk() (*bool, bool)` + +GetIsSyncAwaitingOk returns a tuple with the IsSyncAwaiting field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetIsSyncAwaiting + +`func (o *ConanPackageUploadResponse) SetIsSyncAwaiting(v bool)` + +SetIsSyncAwaiting sets IsSyncAwaiting field to given value. + +### HasIsSyncAwaiting + +`func (o *ConanPackageUploadResponse) HasIsSyncAwaiting() bool` + +HasIsSyncAwaiting returns a boolean if a field has been set. + +### GetIsSyncCompleted + +`func (o *ConanPackageUploadResponse) GetIsSyncCompleted() bool` + +GetIsSyncCompleted returns the IsSyncCompleted field if non-nil, zero value otherwise. + +### GetIsSyncCompletedOk + +`func (o *ConanPackageUploadResponse) GetIsSyncCompletedOk() (*bool, bool)` + +GetIsSyncCompletedOk returns a tuple with the IsSyncCompleted field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetIsSyncCompleted + +`func (o *ConanPackageUploadResponse) SetIsSyncCompleted(v bool)` + +SetIsSyncCompleted sets IsSyncCompleted field to given value. + +### HasIsSyncCompleted + +`func (o *ConanPackageUploadResponse) HasIsSyncCompleted() bool` + +HasIsSyncCompleted returns a boolean if a field has been set. + +### GetIsSyncFailed + +`func (o *ConanPackageUploadResponse) GetIsSyncFailed() bool` + +GetIsSyncFailed returns the IsSyncFailed field if non-nil, zero value otherwise. + +### GetIsSyncFailedOk + +`func (o *ConanPackageUploadResponse) GetIsSyncFailedOk() (*bool, bool)` + +GetIsSyncFailedOk returns a tuple with the IsSyncFailed field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetIsSyncFailed + +`func (o *ConanPackageUploadResponse) SetIsSyncFailed(v bool)` + +SetIsSyncFailed sets IsSyncFailed field to given value. + +### HasIsSyncFailed + +`func (o *ConanPackageUploadResponse) HasIsSyncFailed() bool` + +HasIsSyncFailed returns a boolean if a field has been set. + +### GetIsSyncInFlight + +`func (o *ConanPackageUploadResponse) GetIsSyncInFlight() bool` + +GetIsSyncInFlight returns the IsSyncInFlight field if non-nil, zero value otherwise. + +### GetIsSyncInFlightOk + +`func (o *ConanPackageUploadResponse) GetIsSyncInFlightOk() (*bool, bool)` + +GetIsSyncInFlightOk returns a tuple with the IsSyncInFlight field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetIsSyncInFlight + +`func (o *ConanPackageUploadResponse) SetIsSyncInFlight(v bool)` + +SetIsSyncInFlight sets IsSyncInFlight field to given value. + +### HasIsSyncInFlight + +`func (o *ConanPackageUploadResponse) HasIsSyncInFlight() bool` + +HasIsSyncInFlight returns a boolean if a field has been set. + +### GetIsSyncInProgress + +`func (o *ConanPackageUploadResponse) GetIsSyncInProgress() bool` + +GetIsSyncInProgress returns the IsSyncInProgress field if non-nil, zero value otherwise. + +### GetIsSyncInProgressOk + +`func (o *ConanPackageUploadResponse) GetIsSyncInProgressOk() (*bool, bool)` + +GetIsSyncInProgressOk returns a tuple with the IsSyncInProgress field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetIsSyncInProgress + +`func (o *ConanPackageUploadResponse) SetIsSyncInProgress(v bool)` + +SetIsSyncInProgress sets IsSyncInProgress field to given value. + +### HasIsSyncInProgress + +`func (o *ConanPackageUploadResponse) HasIsSyncInProgress() bool` + +HasIsSyncInProgress returns a boolean if a field has been set. + +### GetLicense + +`func (o *ConanPackageUploadResponse) GetLicense() string` + +GetLicense returns the License field if non-nil, zero value otherwise. + +### GetLicenseOk + +`func (o *ConanPackageUploadResponse) GetLicenseOk() (*string, bool)` + +GetLicenseOk returns a tuple with the License field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetLicense + +`func (o *ConanPackageUploadResponse) SetLicense(v string)` + +SetLicense sets License field to given value. + +### HasLicense + +`func (o *ConanPackageUploadResponse) HasLicense() bool` + +HasLicense returns a boolean if a field has been set. + +### GetName + +`func (o *ConanPackageUploadResponse) GetName() string` + +GetName returns the Name field if non-nil, zero value otherwise. + +### GetNameOk + +`func (o *ConanPackageUploadResponse) GetNameOk() (*string, bool)` + +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. + +### SetName + +`func (o *ConanPackageUploadResponse) SetName(v string)` + +SetName sets Name field to given value. + +### HasName + +`func (o *ConanPackageUploadResponse) HasName() bool` + +HasName returns a boolean if a field has been set. + +### SetNameNil + +`func (o *ConanPackageUploadResponse) SetNameNil(b bool)` + + SetNameNil sets the value for Name to be an explicit nil + +### UnsetName +`func (o *ConanPackageUploadResponse) UnsetName()` + +UnsetName ensures that no value is present for Name, not even an explicit nil +### GetNamespace + +`func (o *ConanPackageUploadResponse) GetNamespace() string` + +GetNamespace returns the Namespace field if non-nil, zero value otherwise. + +### GetNamespaceOk + +`func (o *ConanPackageUploadResponse) GetNamespaceOk() (*string, bool)` + +GetNamespaceOk returns a tuple with the Namespace field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetNamespace + +`func (o *ConanPackageUploadResponse) SetNamespace(v string)` + +SetNamespace sets Namespace field to given value. + +### HasNamespace + +`func (o *ConanPackageUploadResponse) HasNamespace() bool` + +HasNamespace returns a boolean if a field has been set. + +### GetNamespaceUrl + +`func (o *ConanPackageUploadResponse) GetNamespaceUrl() string` + +GetNamespaceUrl returns the NamespaceUrl field if non-nil, zero value otherwise. + +### GetNamespaceUrlOk + +`func (o *ConanPackageUploadResponse) GetNamespaceUrlOk() (*string, bool)` + +GetNamespaceUrlOk returns a tuple with the NamespaceUrl field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetNamespaceUrl + +`func (o *ConanPackageUploadResponse) SetNamespaceUrl(v string)` + +SetNamespaceUrl sets NamespaceUrl field to given value. + +### HasNamespaceUrl + +`func (o *ConanPackageUploadResponse) HasNamespaceUrl() bool` + +HasNamespaceUrl returns a boolean if a field has been set. + +### GetNumFiles + +`func (o *ConanPackageUploadResponse) GetNumFiles() int64` + +GetNumFiles returns the NumFiles field if non-nil, zero value otherwise. + +### GetNumFilesOk + +`func (o *ConanPackageUploadResponse) GetNumFilesOk() (*int64, bool)` + +GetNumFilesOk returns a tuple with the NumFiles field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetNumFiles + +`func (o *ConanPackageUploadResponse) SetNumFiles(v int64)` + +SetNumFiles sets NumFiles field to given value. + +### HasNumFiles + +`func (o *ConanPackageUploadResponse) HasNumFiles() bool` + +HasNumFiles returns a boolean if a field has been set. + +### GetOriginRepository + +`func (o *ConanPackageUploadResponse) GetOriginRepository() string` + +GetOriginRepository returns the OriginRepository field if non-nil, zero value otherwise. + +### GetOriginRepositoryOk + +`func (o *ConanPackageUploadResponse) GetOriginRepositoryOk() (*string, bool)` + +GetOriginRepositoryOk returns a tuple with the OriginRepository field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetOriginRepository + +`func (o *ConanPackageUploadResponse) SetOriginRepository(v string)` + +SetOriginRepository sets OriginRepository field to given value. + +### HasOriginRepository + +`func (o *ConanPackageUploadResponse) HasOriginRepository() bool` + +HasOriginRepository returns a boolean if a field has been set. + +### GetOriginRepositoryUrl + +`func (o *ConanPackageUploadResponse) GetOriginRepositoryUrl() string` + +GetOriginRepositoryUrl returns the OriginRepositoryUrl field if non-nil, zero value otherwise. + +### GetOriginRepositoryUrlOk + +`func (o *ConanPackageUploadResponse) GetOriginRepositoryUrlOk() (*string, bool)` + +GetOriginRepositoryUrlOk returns a tuple with the OriginRepositoryUrl field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetOriginRepositoryUrl + +`func (o *ConanPackageUploadResponse) SetOriginRepositoryUrl(v string)` + +SetOriginRepositoryUrl sets OriginRepositoryUrl field to given value. + +### HasOriginRepositoryUrl + +`func (o *ConanPackageUploadResponse) HasOriginRepositoryUrl() bool` + +HasOriginRepositoryUrl returns a boolean if a field has been set. + +### GetPackageType + +`func (o *ConanPackageUploadResponse) GetPackageType() int64` + +GetPackageType returns the PackageType field if non-nil, zero value otherwise. + +### GetPackageTypeOk + +`func (o *ConanPackageUploadResponse) GetPackageTypeOk() (*int64, bool)` + +GetPackageTypeOk returns a tuple with the PackageType field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetPackageType + +`func (o *ConanPackageUploadResponse) SetPackageType(v int64)` + +SetPackageType sets PackageType field to given value. + +### HasPackageType + +`func (o *ConanPackageUploadResponse) HasPackageType() bool` + +HasPackageType returns a boolean if a field has been set. + +### GetRelease + +`func (o *ConanPackageUploadResponse) GetRelease() string` + +GetRelease returns the Release field if non-nil, zero value otherwise. + +### GetReleaseOk + +`func (o *ConanPackageUploadResponse) GetReleaseOk() (*string, bool)` + +GetReleaseOk returns a tuple with the Release field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetRelease + +`func (o *ConanPackageUploadResponse) SetRelease(v string)` + +SetRelease sets Release field to given value. + +### HasRelease + +`func (o *ConanPackageUploadResponse) HasRelease() bool` + +HasRelease returns a boolean if a field has been set. + +### GetRepository + +`func (o *ConanPackageUploadResponse) GetRepository() string` + +GetRepository returns the Repository field if non-nil, zero value otherwise. + +### GetRepositoryOk + +`func (o *ConanPackageUploadResponse) GetRepositoryOk() (*string, bool)` + +GetRepositoryOk returns a tuple with the Repository field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetRepository + +`func (o *ConanPackageUploadResponse) SetRepository(v string)` + +SetRepository sets Repository field to given value. + +### HasRepository + +`func (o *ConanPackageUploadResponse) HasRepository() bool` + +HasRepository returns a boolean if a field has been set. + +### GetRepositoryUrl + +`func (o *ConanPackageUploadResponse) GetRepositoryUrl() string` + +GetRepositoryUrl returns the RepositoryUrl field if non-nil, zero value otherwise. + +### GetRepositoryUrlOk + +`func (o *ConanPackageUploadResponse) GetRepositoryUrlOk() (*string, bool)` + +GetRepositoryUrlOk returns a tuple with the RepositoryUrl field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetRepositoryUrl + +`func (o *ConanPackageUploadResponse) SetRepositoryUrl(v string)` + +SetRepositoryUrl sets RepositoryUrl field to given value. + +### HasRepositoryUrl + +`func (o *ConanPackageUploadResponse) HasRepositoryUrl() bool` + +HasRepositoryUrl returns a boolean if a field has been set. + +### GetSecurityScanCompletedAt + +`func (o *ConanPackageUploadResponse) GetSecurityScanCompletedAt() time.Time` + +GetSecurityScanCompletedAt returns the SecurityScanCompletedAt field if non-nil, zero value otherwise. + +### GetSecurityScanCompletedAtOk + +`func (o *ConanPackageUploadResponse) GetSecurityScanCompletedAtOk() (*time.Time, bool)` + +GetSecurityScanCompletedAtOk returns a tuple with the SecurityScanCompletedAt field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetSecurityScanCompletedAt + +`func (o *ConanPackageUploadResponse) SetSecurityScanCompletedAt(v time.Time)` + +SetSecurityScanCompletedAt sets SecurityScanCompletedAt field to given value. + +### HasSecurityScanCompletedAt + +`func (o *ConanPackageUploadResponse) HasSecurityScanCompletedAt() bool` + +HasSecurityScanCompletedAt returns a boolean if a field has been set. + +### GetSecurityScanStartedAt + +`func (o *ConanPackageUploadResponse) GetSecurityScanStartedAt() time.Time` + +GetSecurityScanStartedAt returns the SecurityScanStartedAt field if non-nil, zero value otherwise. + +### GetSecurityScanStartedAtOk + +`func (o *ConanPackageUploadResponse) GetSecurityScanStartedAtOk() (*time.Time, bool)` + +GetSecurityScanStartedAtOk returns a tuple with the SecurityScanStartedAt field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetSecurityScanStartedAt + +`func (o *ConanPackageUploadResponse) SetSecurityScanStartedAt(v time.Time)` + +SetSecurityScanStartedAt sets SecurityScanStartedAt field to given value. + +### HasSecurityScanStartedAt + +`func (o *ConanPackageUploadResponse) HasSecurityScanStartedAt() bool` + +HasSecurityScanStartedAt returns a boolean if a field has been set. + +### GetSecurityScanStatus + +`func (o *ConanPackageUploadResponse) GetSecurityScanStatus() string` + +GetSecurityScanStatus returns the SecurityScanStatus field if non-nil, zero value otherwise. + +### GetSecurityScanStatusOk + +`func (o *ConanPackageUploadResponse) GetSecurityScanStatusOk() (*string, bool)` + +GetSecurityScanStatusOk returns a tuple with the SecurityScanStatus field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetSecurityScanStatus + +`func (o *ConanPackageUploadResponse) SetSecurityScanStatus(v string)` + +SetSecurityScanStatus sets SecurityScanStatus field to given value. + +### HasSecurityScanStatus + +`func (o *ConanPackageUploadResponse) HasSecurityScanStatus() bool` + +HasSecurityScanStatus returns a boolean if a field has been set. + +### SetSecurityScanStatusNil + +`func (o *ConanPackageUploadResponse) SetSecurityScanStatusNil(b bool)` + + SetSecurityScanStatusNil sets the value for SecurityScanStatus to be an explicit nil + +### UnsetSecurityScanStatus +`func (o *ConanPackageUploadResponse) UnsetSecurityScanStatus()` + +UnsetSecurityScanStatus ensures that no value is present for SecurityScanStatus, not even an explicit nil +### GetSecurityScanStatusUpdatedAt + +`func (o *ConanPackageUploadResponse) GetSecurityScanStatusUpdatedAt() time.Time` + +GetSecurityScanStatusUpdatedAt returns the SecurityScanStatusUpdatedAt field if non-nil, zero value otherwise. + +### GetSecurityScanStatusUpdatedAtOk + +`func (o *ConanPackageUploadResponse) GetSecurityScanStatusUpdatedAtOk() (*time.Time, bool)` + +GetSecurityScanStatusUpdatedAtOk returns a tuple with the SecurityScanStatusUpdatedAt field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetSecurityScanStatusUpdatedAt + +`func (o *ConanPackageUploadResponse) SetSecurityScanStatusUpdatedAt(v time.Time)` + +SetSecurityScanStatusUpdatedAt sets SecurityScanStatusUpdatedAt field to given value. + +### HasSecurityScanStatusUpdatedAt + +`func (o *ConanPackageUploadResponse) HasSecurityScanStatusUpdatedAt() bool` + +HasSecurityScanStatusUpdatedAt returns a boolean if a field has been set. + +### GetSelfHtmlUrl + +`func (o *ConanPackageUploadResponse) GetSelfHtmlUrl() string` + +GetSelfHtmlUrl returns the SelfHtmlUrl field if non-nil, zero value otherwise. + +### GetSelfHtmlUrlOk + +`func (o *ConanPackageUploadResponse) GetSelfHtmlUrlOk() (*string, bool)` + +GetSelfHtmlUrlOk returns a tuple with the SelfHtmlUrl field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetSelfHtmlUrl + +`func (o *ConanPackageUploadResponse) SetSelfHtmlUrl(v string)` + +SetSelfHtmlUrl sets SelfHtmlUrl field to given value. + +### HasSelfHtmlUrl + +`func (o *ConanPackageUploadResponse) HasSelfHtmlUrl() bool` + +HasSelfHtmlUrl returns a boolean if a field has been set. + +### GetSelfUrl + +`func (o *ConanPackageUploadResponse) GetSelfUrl() string` + +GetSelfUrl returns the SelfUrl field if non-nil, zero value otherwise. + +### GetSelfUrlOk + +`func (o *ConanPackageUploadResponse) GetSelfUrlOk() (*string, bool)` + +GetSelfUrlOk returns a tuple with the SelfUrl field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetSelfUrl + +`func (o *ConanPackageUploadResponse) SetSelfUrl(v string)` + +SetSelfUrl sets SelfUrl field to given value. + +### HasSelfUrl + +`func (o *ConanPackageUploadResponse) HasSelfUrl() bool` + +HasSelfUrl returns a boolean if a field has been set. + +### GetSignatureUrl + +`func (o *ConanPackageUploadResponse) GetSignatureUrl() string` + +GetSignatureUrl returns the SignatureUrl field if non-nil, zero value otherwise. + +### GetSignatureUrlOk + +`func (o *ConanPackageUploadResponse) GetSignatureUrlOk() (*string, bool)` + +GetSignatureUrlOk returns a tuple with the SignatureUrl field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetSignatureUrl + +`func (o *ConanPackageUploadResponse) SetSignatureUrl(v string)` + +SetSignatureUrl sets SignatureUrl field to given value. + +### HasSignatureUrl + +`func (o *ConanPackageUploadResponse) HasSignatureUrl() bool` + +HasSignatureUrl returns a boolean if a field has been set. + +### SetSignatureUrlNil + +`func (o *ConanPackageUploadResponse) SetSignatureUrlNil(b bool)` + + SetSignatureUrlNil sets the value for SignatureUrl to be an explicit nil + +### UnsetSignatureUrl +`func (o *ConanPackageUploadResponse) UnsetSignatureUrl()` + +UnsetSignatureUrl ensures that no value is present for SignatureUrl, not even an explicit nil +### GetSize + +`func (o *ConanPackageUploadResponse) GetSize() int64` + +GetSize returns the Size field if non-nil, zero value otherwise. + +### GetSizeOk + +`func (o *ConanPackageUploadResponse) GetSizeOk() (*int64, bool)` + +GetSizeOk returns a tuple with the Size field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetSize + +`func (o *ConanPackageUploadResponse) SetSize(v int64)` + +SetSize sets Size field to given value. + +### HasSize + +`func (o *ConanPackageUploadResponse) HasSize() bool` + +HasSize returns a boolean if a field has been set. + +### GetSlug + +`func (o *ConanPackageUploadResponse) GetSlug() string` + +GetSlug returns the Slug field if non-nil, zero value otherwise. + +### GetSlugOk + +`func (o *ConanPackageUploadResponse) GetSlugOk() (*string, bool)` + +GetSlugOk returns a tuple with the Slug field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetSlug + +`func (o *ConanPackageUploadResponse) SetSlug(v string)` + +SetSlug sets Slug field to given value. + +### HasSlug + +`func (o *ConanPackageUploadResponse) HasSlug() bool` + +HasSlug returns a boolean if a field has been set. + +### GetSlugPerm + +`func (o *ConanPackageUploadResponse) GetSlugPerm() string` + +GetSlugPerm returns the SlugPerm field if non-nil, zero value otherwise. + +### GetSlugPermOk + +`func (o *ConanPackageUploadResponse) GetSlugPermOk() (*string, bool)` + +GetSlugPermOk returns a tuple with the SlugPerm field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetSlugPerm + +`func (o *ConanPackageUploadResponse) SetSlugPerm(v string)` + +SetSlugPerm sets SlugPerm field to given value. + +### HasSlugPerm + +`func (o *ConanPackageUploadResponse) HasSlugPerm() bool` + +HasSlugPerm returns a boolean if a field has been set. + +### GetStage + +`func (o *ConanPackageUploadResponse) GetStage() int64` + +GetStage returns the Stage field if non-nil, zero value otherwise. + +### GetStageOk + +`func (o *ConanPackageUploadResponse) GetStageOk() (*int64, bool)` + +GetStageOk returns a tuple with the Stage field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetStage + +`func (o *ConanPackageUploadResponse) SetStage(v int64)` + +SetStage sets Stage field to given value. + +### HasStage + +`func (o *ConanPackageUploadResponse) HasStage() bool` + +HasStage returns a boolean if a field has been set. + +### GetStageStr + +`func (o *ConanPackageUploadResponse) GetStageStr() string` + +GetStageStr returns the StageStr field if non-nil, zero value otherwise. + +### GetStageStrOk + +`func (o *ConanPackageUploadResponse) GetStageStrOk() (*string, bool)` + +GetStageStrOk returns a tuple with the StageStr field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetStageStr + +`func (o *ConanPackageUploadResponse) SetStageStr(v string)` + +SetStageStr sets StageStr field to given value. + +### HasStageStr + +`func (o *ConanPackageUploadResponse) HasStageStr() bool` + +HasStageStr returns a boolean if a field has been set. + +### GetStageUpdatedAt + +`func (o *ConanPackageUploadResponse) GetStageUpdatedAt() time.Time` + +GetStageUpdatedAt returns the StageUpdatedAt field if non-nil, zero value otherwise. + +### GetStageUpdatedAtOk + +`func (o *ConanPackageUploadResponse) GetStageUpdatedAtOk() (*time.Time, bool)` + +GetStageUpdatedAtOk returns a tuple with the StageUpdatedAt field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetStageUpdatedAt + +`func (o *ConanPackageUploadResponse) SetStageUpdatedAt(v time.Time)` + +SetStageUpdatedAt sets StageUpdatedAt field to given value. + +### HasStageUpdatedAt + +`func (o *ConanPackageUploadResponse) HasStageUpdatedAt() bool` + +HasStageUpdatedAt returns a boolean if a field has been set. + +### GetStatus + +`func (o *ConanPackageUploadResponse) GetStatus() int64` + +GetStatus returns the Status field if non-nil, zero value otherwise. + +### GetStatusOk + +`func (o *ConanPackageUploadResponse) GetStatusOk() (*int64, bool)` + +GetStatusOk returns a tuple with the Status field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetStatus + +`func (o *ConanPackageUploadResponse) SetStatus(v int64)` + +SetStatus sets Status field to given value. + +### HasStatus + +`func (o *ConanPackageUploadResponse) HasStatus() bool` + +HasStatus returns a boolean if a field has been set. + +### GetStatusReason + +`func (o *ConanPackageUploadResponse) GetStatusReason() string` + +GetStatusReason returns the StatusReason field if non-nil, zero value otherwise. + +### GetStatusReasonOk + +`func (o *ConanPackageUploadResponse) GetStatusReasonOk() (*string, bool)` + +GetStatusReasonOk returns a tuple with the StatusReason field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetStatusReason + +`func (o *ConanPackageUploadResponse) SetStatusReason(v string)` + +SetStatusReason sets StatusReason field to given value. + +### HasStatusReason + +`func (o *ConanPackageUploadResponse) HasStatusReason() bool` + +HasStatusReason returns a boolean if a field has been set. + +### GetStatusStr + +`func (o *ConanPackageUploadResponse) GetStatusStr() string` + +GetStatusStr returns the StatusStr field if non-nil, zero value otherwise. + +### GetStatusStrOk + +`func (o *ConanPackageUploadResponse) GetStatusStrOk() (*string, bool)` + +GetStatusStrOk returns a tuple with the StatusStr field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetStatusStr + +`func (o *ConanPackageUploadResponse) SetStatusStr(v string)` + +SetStatusStr sets StatusStr field to given value. + +### HasStatusStr + +`func (o *ConanPackageUploadResponse) HasStatusStr() bool` + +HasStatusStr returns a boolean if a field has been set. + +### GetStatusUpdatedAt + +`func (o *ConanPackageUploadResponse) GetStatusUpdatedAt() time.Time` + +GetStatusUpdatedAt returns the StatusUpdatedAt field if non-nil, zero value otherwise. + +### GetStatusUpdatedAtOk + +`func (o *ConanPackageUploadResponse) GetStatusUpdatedAtOk() (*time.Time, bool)` + +GetStatusUpdatedAtOk returns a tuple with the StatusUpdatedAt field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetStatusUpdatedAt + +`func (o *ConanPackageUploadResponse) SetStatusUpdatedAt(v time.Time)` + +SetStatusUpdatedAt sets StatusUpdatedAt field to given value. + +### HasStatusUpdatedAt + +`func (o *ConanPackageUploadResponse) HasStatusUpdatedAt() bool` + +HasStatusUpdatedAt returns a boolean if a field has been set. + +### GetStatusUrl + +`func (o *ConanPackageUploadResponse) GetStatusUrl() string` + +GetStatusUrl returns the StatusUrl field if non-nil, zero value otherwise. + +### GetStatusUrlOk + +`func (o *ConanPackageUploadResponse) GetStatusUrlOk() (*string, bool)` + +GetStatusUrlOk returns a tuple with the StatusUrl field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetStatusUrl + +`func (o *ConanPackageUploadResponse) SetStatusUrl(v string)` + +SetStatusUrl sets StatusUrl field to given value. + +### HasStatusUrl + +`func (o *ConanPackageUploadResponse) HasStatusUrl() bool` + +HasStatusUrl returns a boolean if a field has been set. + +### GetSubtype + +`func (o *ConanPackageUploadResponse) GetSubtype() string` + +GetSubtype returns the Subtype field if non-nil, zero value otherwise. + +### GetSubtypeOk + +`func (o *ConanPackageUploadResponse) GetSubtypeOk() (*string, bool)` + +GetSubtypeOk returns a tuple with the Subtype field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetSubtype + +`func (o *ConanPackageUploadResponse) SetSubtype(v string)` + +SetSubtype sets Subtype field to given value. + +### HasSubtype + +`func (o *ConanPackageUploadResponse) HasSubtype() bool` + +HasSubtype returns a boolean if a field has been set. + +### GetSummary + +`func (o *ConanPackageUploadResponse) GetSummary() string` + +GetSummary returns the Summary field if non-nil, zero value otherwise. + +### GetSummaryOk + +`func (o *ConanPackageUploadResponse) GetSummaryOk() (*string, bool)` + +GetSummaryOk returns a tuple with the Summary field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetSummary + +`func (o *ConanPackageUploadResponse) SetSummary(v string)` + +SetSummary sets Summary field to given value. + +### HasSummary + +`func (o *ConanPackageUploadResponse) HasSummary() bool` + +HasSummary returns a boolean if a field has been set. + +### GetSyncFinishedAt + +`func (o *ConanPackageUploadResponse) GetSyncFinishedAt() time.Time` + +GetSyncFinishedAt returns the SyncFinishedAt field if non-nil, zero value otherwise. + +### GetSyncFinishedAtOk + +`func (o *ConanPackageUploadResponse) GetSyncFinishedAtOk() (*time.Time, bool)` + +GetSyncFinishedAtOk returns a tuple with the SyncFinishedAt field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetSyncFinishedAt + +`func (o *ConanPackageUploadResponse) SetSyncFinishedAt(v time.Time)` + +SetSyncFinishedAt sets SyncFinishedAt field to given value. + +### HasSyncFinishedAt + +`func (o *ConanPackageUploadResponse) HasSyncFinishedAt() bool` + +HasSyncFinishedAt returns a boolean if a field has been set. + +### GetSyncProgress + +`func (o *ConanPackageUploadResponse) GetSyncProgress() int64` + +GetSyncProgress returns the SyncProgress field if non-nil, zero value otherwise. + +### GetSyncProgressOk + +`func (o *ConanPackageUploadResponse) GetSyncProgressOk() (*int64, bool)` + +GetSyncProgressOk returns a tuple with the SyncProgress field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetSyncProgress + +`func (o *ConanPackageUploadResponse) SetSyncProgress(v int64)` + +SetSyncProgress sets SyncProgress field to given value. + +### HasSyncProgress + +`func (o *ConanPackageUploadResponse) HasSyncProgress() bool` + +HasSyncProgress returns a boolean if a field has been set. + +### GetTagsImmutable + +`func (o *ConanPackageUploadResponse) GetTagsImmutable() map[string]interface{}` + +GetTagsImmutable returns the TagsImmutable field if non-nil, zero value otherwise. + +### GetTagsImmutableOk + +`func (o *ConanPackageUploadResponse) GetTagsImmutableOk() (*map[string]interface{}, bool)` + +GetTagsImmutableOk returns a tuple with the TagsImmutable field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetTagsImmutable + +`func (o *ConanPackageUploadResponse) SetTagsImmutable(v map[string]interface{})` + +SetTagsImmutable sets TagsImmutable field to given value. + +### HasTagsImmutable + +`func (o *ConanPackageUploadResponse) HasTagsImmutable() bool` + +HasTagsImmutable returns a boolean if a field has been set. + +### GetTypeDisplay + +`func (o *ConanPackageUploadResponse) GetTypeDisplay() string` + +GetTypeDisplay returns the TypeDisplay field if non-nil, zero value otherwise. + +### GetTypeDisplayOk + +`func (o *ConanPackageUploadResponse) GetTypeDisplayOk() (*string, bool)` + +GetTypeDisplayOk returns a tuple with the TypeDisplay field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetTypeDisplay + +`func (o *ConanPackageUploadResponse) SetTypeDisplay(v string)` + +SetTypeDisplay sets TypeDisplay field to given value. + +### HasTypeDisplay + +`func (o *ConanPackageUploadResponse) HasTypeDisplay() bool` + +HasTypeDisplay returns a boolean if a field has been set. + +### GetUploadedAt + +`func (o *ConanPackageUploadResponse) GetUploadedAt() time.Time` + +GetUploadedAt returns the UploadedAt field if non-nil, zero value otherwise. + +### GetUploadedAtOk + +`func (o *ConanPackageUploadResponse) GetUploadedAtOk() (*time.Time, bool)` + +GetUploadedAtOk returns a tuple with the UploadedAt field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetUploadedAt + +`func (o *ConanPackageUploadResponse) SetUploadedAt(v time.Time)` + +SetUploadedAt sets UploadedAt field to given value. + +### HasUploadedAt + +`func (o *ConanPackageUploadResponse) HasUploadedAt() bool` + +HasUploadedAt returns a boolean if a field has been set. + +### GetUploader + +`func (o *ConanPackageUploadResponse) GetUploader() string` + +GetUploader returns the Uploader field if non-nil, zero value otherwise. + +### GetUploaderOk + +`func (o *ConanPackageUploadResponse) GetUploaderOk() (*string, bool)` + +GetUploaderOk returns a tuple with the Uploader field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetUploader + +`func (o *ConanPackageUploadResponse) SetUploader(v string)` + +SetUploader sets Uploader field to given value. + +### HasUploader + +`func (o *ConanPackageUploadResponse) HasUploader() bool` + +HasUploader returns a boolean if a field has been set. + +### GetUploaderUrl + +`func (o *ConanPackageUploadResponse) GetUploaderUrl() string` + +GetUploaderUrl returns the UploaderUrl field if non-nil, zero value otherwise. + +### GetUploaderUrlOk + +`func (o *ConanPackageUploadResponse) GetUploaderUrlOk() (*string, bool)` + +GetUploaderUrlOk returns a tuple with the UploaderUrl field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetUploaderUrl + +`func (o *ConanPackageUploadResponse) SetUploaderUrl(v string)` + +SetUploaderUrl sets UploaderUrl field to given value. + +### HasUploaderUrl + +`func (o *ConanPackageUploadResponse) HasUploaderUrl() bool` + +HasUploaderUrl returns a boolean if a field has been set. + +### GetVersion + +`func (o *ConanPackageUploadResponse) GetVersion() string` + +GetVersion returns the Version field if non-nil, zero value otherwise. + +### GetVersionOk + +`func (o *ConanPackageUploadResponse) GetVersionOk() (*string, bool)` + +GetVersionOk returns a tuple with the Version field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetVersion + +`func (o *ConanPackageUploadResponse) SetVersion(v string)` + +SetVersion sets Version field to given value. + +### HasVersion + +`func (o *ConanPackageUploadResponse) HasVersion() bool` + +HasVersion returns a boolean if a field has been set. + +### SetVersionNil + +`func (o *ConanPackageUploadResponse) SetVersionNil(b bool)` + + SetVersionNil sets the value for Version to be an explicit nil + +### UnsetVersion +`func (o *ConanPackageUploadResponse) UnsetVersion()` + +UnsetVersion ensures that no value is present for Version, not even an explicit nil +### GetVersionOrig + +`func (o *ConanPackageUploadResponse) GetVersionOrig() string` + +GetVersionOrig returns the VersionOrig field if non-nil, zero value otherwise. + +### GetVersionOrigOk + +`func (o *ConanPackageUploadResponse) GetVersionOrigOk() (*string, bool)` + +GetVersionOrigOk returns a tuple with the VersionOrig field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetVersionOrig + +`func (o *ConanPackageUploadResponse) SetVersionOrig(v string)` + +SetVersionOrig sets VersionOrig field to given value. + +### HasVersionOrig + +`func (o *ConanPackageUploadResponse) HasVersionOrig() bool` + +HasVersionOrig returns a boolean if a field has been set. + +### GetVulnerabilityScanResultsUrl + +`func (o *ConanPackageUploadResponse) GetVulnerabilityScanResultsUrl() string` + +GetVulnerabilityScanResultsUrl returns the VulnerabilityScanResultsUrl field if non-nil, zero value otherwise. + +### GetVulnerabilityScanResultsUrlOk + +`func (o *ConanPackageUploadResponse) GetVulnerabilityScanResultsUrlOk() (*string, bool)` + +GetVulnerabilityScanResultsUrlOk returns a tuple with the VulnerabilityScanResultsUrl field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetVulnerabilityScanResultsUrl + +`func (o *ConanPackageUploadResponse) SetVulnerabilityScanResultsUrl(v string)` + +SetVulnerabilityScanResultsUrl sets VulnerabilityScanResultsUrl field to given value. + +### HasVulnerabilityScanResultsUrl + +`func (o *ConanPackageUploadResponse) HasVulnerabilityScanResultsUrl() bool` + +HasVulnerabilityScanResultsUrl 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/docs/CondaPackageUpload.md b/docs/CondaPackageUpload.md deleted file mode 100644 index f74c3bed..00000000 --- a/docs/CondaPackageUpload.md +++ /dev/null @@ -1,1746 +0,0 @@ -# CondaPackageUpload - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**Architectures** | Pointer to [**[]PackagesOwnerRepoArchitectures**](PackagesOwnerRepoArchitectures.md) | | [optional] -**CdnUrl** | Pointer to **string** | | [optional] -**ChecksumMd5** | Pointer to **string** | | [optional] -**ChecksumSha1** | Pointer to **string** | | [optional] -**ChecksumSha256** | Pointer to **string** | | [optional] -**ChecksumSha512** | Pointer to **string** | | [optional] -**DependenciesChecksumMd5** | Pointer to **string** | A checksum of all of the package's dependencies. | [optional] -**DependenciesUrl** | Pointer to **string** | | [optional] -**Description** | Pointer to **string** | A textual description of this package. | [optional] -**Distro** | Pointer to **map[string]interface{}** | | [optional] -**DistroVersion** | Pointer to **map[string]interface{}** | | [optional] -**Downloads** | Pointer to **int64** | | [optional] -**Epoch** | Pointer to **int64** | The epoch of the package version (if any). | [optional] -**Extension** | Pointer to **string** | | [optional] -**Filename** | Pointer to **string** | | [optional] -**Files** | Pointer to [**[]PackagesOwnerRepoFiles**](PackagesOwnerRepoFiles.md) | | [optional] -**Format** | Pointer to **string** | | [optional] -**FormatUrl** | Pointer to **string** | | [optional] -**IdentifierPerm** | Pointer to **string** | Unique and permanent identifier for the package. | [optional] -**Indexed** | Pointer to **bool** | | [optional] -**IsDownloadable** | Pointer to **bool** | | [optional] -**IsQuarantined** | Pointer to **bool** | | [optional] -**IsSyncAwaiting** | Pointer to **bool** | | [optional] -**IsSyncCompleted** | Pointer to **bool** | | [optional] -**IsSyncFailed** | Pointer to **bool** | | [optional] -**IsSyncInFlight** | Pointer to **bool** | | [optional] -**IsSyncInProgress** | Pointer to **bool** | | [optional] -**License** | Pointer to **string** | The license of this package. | [optional] -**Name** | Pointer to **string** | The name of this package. | [optional] -**Namespace** | Pointer to **string** | | [optional] -**NamespaceUrl** | Pointer to **string** | | [optional] -**NumFiles** | Pointer to **int64** | | [optional] -**PackageType** | Pointer to **int64** | The type of package contents. | [optional] -**Release** | Pointer to **string** | The release of the package version (if any). | [optional] -**Repository** | Pointer to **string** | | [optional] -**RepositoryUrl** | Pointer to **string** | | [optional] -**SecurityScanCompletedAt** | Pointer to **string** | The datetime the security scanning was completed. | [optional] -**SecurityScanStartedAt** | Pointer to **string** | The datetime the security scanning was started. | [optional] -**SecurityScanStatus** | Pointer to **string** | | [optional] -**SecurityScanStatusUpdatedAt** | Pointer to **string** | The datetime the security scanning status was updated. | [optional] -**SelfHtmlUrl** | Pointer to **string** | | [optional] -**SelfUrl** | Pointer to **string** | | [optional] -**SignatureUrl** | Pointer to **string** | | [optional] -**Size** | Pointer to **int64** | The calculated size of the package. | [optional] -**Slug** | Pointer to **string** | The public unique identifier for the package. | [optional] -**SlugPerm** | Pointer to **string** | | [optional] -**Stage** | Pointer to **int64** | The synchronisation (in progress) stage of the package. | [optional] -**StageStr** | Pointer to **string** | | [optional] -**StageUpdatedAt** | Pointer to **string** | The datetime the package stage was updated at. | [optional] -**Status** | Pointer to **int64** | The synchronisation status of the package. | [optional] -**StatusReason** | Pointer to **string** | A textual description for the synchronous status reason (if any | [optional] -**StatusStr** | Pointer to **string** | | [optional] -**StatusUpdatedAt** | Pointer to **string** | The datetime the package status was updated at. | [optional] -**StatusUrl** | Pointer to **string** | | [optional] -**Subtype** | Pointer to **string** | | [optional] -**Summary** | Pointer to **string** | A one-liner synopsis of this package. | [optional] -**SyncFinishedAt** | Pointer to **string** | The datetime the package sync was finished at. | [optional] -**SyncProgress** | Pointer to **int64** | Synchronisation progress (from 0-100) | [optional] -**TagsImmutable** | Pointer to **map[string]interface{}** | All immutable tags on the package, grouped by tag type. Immutable tags cannot be (easily) deleted. | [optional] -**TypeDisplay** | Pointer to **string** | | [optional] -**UploadedAt** | Pointer to **string** | The date this package was uploaded. | [optional] -**Uploader** | Pointer to **string** | | [optional] -**UploaderUrl** | Pointer to **string** | | [optional] -**Version** | Pointer to **string** | The raw version for this package. | [optional] -**VersionOrig** | Pointer to **string** | | [optional] -**VulnerabilityScanResultsUrl** | Pointer to **string** | | [optional] - -## Methods - -### NewCondaPackageUpload - -`func NewCondaPackageUpload() *CondaPackageUpload` - -NewCondaPackageUpload instantiates a new CondaPackageUpload object -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 - -### NewCondaPackageUploadWithDefaults - -`func NewCondaPackageUploadWithDefaults() *CondaPackageUpload` - -NewCondaPackageUploadWithDefaults instantiates a new CondaPackageUpload object -This constructor will only assign default values to properties that have it defined, -but it doesn't guarantee that properties required by API are set - -### GetArchitectures - -`func (o *CondaPackageUpload) GetArchitectures() []PackagesOwnerRepoArchitectures` - -GetArchitectures returns the Architectures field if non-nil, zero value otherwise. - -### GetArchitecturesOk - -`func (o *CondaPackageUpload) GetArchitecturesOk() (*[]PackagesOwnerRepoArchitectures, bool)` - -GetArchitecturesOk returns a tuple with the Architectures field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetArchitectures - -`func (o *CondaPackageUpload) SetArchitectures(v []PackagesOwnerRepoArchitectures)` - -SetArchitectures sets Architectures field to given value. - -### HasArchitectures - -`func (o *CondaPackageUpload) HasArchitectures() bool` - -HasArchitectures returns a boolean if a field has been set. - -### GetCdnUrl - -`func (o *CondaPackageUpload) GetCdnUrl() string` - -GetCdnUrl returns the CdnUrl field if non-nil, zero value otherwise. - -### GetCdnUrlOk - -`func (o *CondaPackageUpload) GetCdnUrlOk() (*string, bool)` - -GetCdnUrlOk returns a tuple with the CdnUrl field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetCdnUrl - -`func (o *CondaPackageUpload) SetCdnUrl(v string)` - -SetCdnUrl sets CdnUrl field to given value. - -### HasCdnUrl - -`func (o *CondaPackageUpload) HasCdnUrl() bool` - -HasCdnUrl returns a boolean if a field has been set. - -### GetChecksumMd5 - -`func (o *CondaPackageUpload) GetChecksumMd5() string` - -GetChecksumMd5 returns the ChecksumMd5 field if non-nil, zero value otherwise. - -### GetChecksumMd5Ok - -`func (o *CondaPackageUpload) GetChecksumMd5Ok() (*string, bool)` - -GetChecksumMd5Ok returns a tuple with the ChecksumMd5 field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetChecksumMd5 - -`func (o *CondaPackageUpload) SetChecksumMd5(v string)` - -SetChecksumMd5 sets ChecksumMd5 field to given value. - -### HasChecksumMd5 - -`func (o *CondaPackageUpload) HasChecksumMd5() bool` - -HasChecksumMd5 returns a boolean if a field has been set. - -### GetChecksumSha1 - -`func (o *CondaPackageUpload) GetChecksumSha1() string` - -GetChecksumSha1 returns the ChecksumSha1 field if non-nil, zero value otherwise. - -### GetChecksumSha1Ok - -`func (o *CondaPackageUpload) GetChecksumSha1Ok() (*string, bool)` - -GetChecksumSha1Ok returns a tuple with the ChecksumSha1 field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetChecksumSha1 - -`func (o *CondaPackageUpload) SetChecksumSha1(v string)` - -SetChecksumSha1 sets ChecksumSha1 field to given value. - -### HasChecksumSha1 - -`func (o *CondaPackageUpload) HasChecksumSha1() bool` - -HasChecksumSha1 returns a boolean if a field has been set. - -### GetChecksumSha256 - -`func (o *CondaPackageUpload) GetChecksumSha256() string` - -GetChecksumSha256 returns the ChecksumSha256 field if non-nil, zero value otherwise. - -### GetChecksumSha256Ok - -`func (o *CondaPackageUpload) GetChecksumSha256Ok() (*string, bool)` - -GetChecksumSha256Ok returns a tuple with the ChecksumSha256 field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetChecksumSha256 - -`func (o *CondaPackageUpload) SetChecksumSha256(v string)` - -SetChecksumSha256 sets ChecksumSha256 field to given value. - -### HasChecksumSha256 - -`func (o *CondaPackageUpload) HasChecksumSha256() bool` - -HasChecksumSha256 returns a boolean if a field has been set. - -### GetChecksumSha512 - -`func (o *CondaPackageUpload) GetChecksumSha512() string` - -GetChecksumSha512 returns the ChecksumSha512 field if non-nil, zero value otherwise. - -### GetChecksumSha512Ok - -`func (o *CondaPackageUpload) GetChecksumSha512Ok() (*string, bool)` - -GetChecksumSha512Ok returns a tuple with the ChecksumSha512 field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetChecksumSha512 - -`func (o *CondaPackageUpload) SetChecksumSha512(v string)` - -SetChecksumSha512 sets ChecksumSha512 field to given value. - -### HasChecksumSha512 - -`func (o *CondaPackageUpload) HasChecksumSha512() bool` - -HasChecksumSha512 returns a boolean if a field has been set. - -### GetDependenciesChecksumMd5 - -`func (o *CondaPackageUpload) GetDependenciesChecksumMd5() string` - -GetDependenciesChecksumMd5 returns the DependenciesChecksumMd5 field if non-nil, zero value otherwise. - -### GetDependenciesChecksumMd5Ok - -`func (o *CondaPackageUpload) GetDependenciesChecksumMd5Ok() (*string, bool)` - -GetDependenciesChecksumMd5Ok returns a tuple with the DependenciesChecksumMd5 field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetDependenciesChecksumMd5 - -`func (o *CondaPackageUpload) SetDependenciesChecksumMd5(v string)` - -SetDependenciesChecksumMd5 sets DependenciesChecksumMd5 field to given value. - -### HasDependenciesChecksumMd5 - -`func (o *CondaPackageUpload) HasDependenciesChecksumMd5() bool` - -HasDependenciesChecksumMd5 returns a boolean if a field has been set. - -### GetDependenciesUrl - -`func (o *CondaPackageUpload) GetDependenciesUrl() string` - -GetDependenciesUrl returns the DependenciesUrl field if non-nil, zero value otherwise. - -### GetDependenciesUrlOk - -`func (o *CondaPackageUpload) GetDependenciesUrlOk() (*string, bool)` - -GetDependenciesUrlOk returns a tuple with the DependenciesUrl field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetDependenciesUrl - -`func (o *CondaPackageUpload) SetDependenciesUrl(v string)` - -SetDependenciesUrl sets DependenciesUrl field to given value. - -### HasDependenciesUrl - -`func (o *CondaPackageUpload) HasDependenciesUrl() bool` - -HasDependenciesUrl returns a boolean if a field has been set. - -### GetDescription - -`func (o *CondaPackageUpload) GetDescription() string` - -GetDescription returns the Description field if non-nil, zero value otherwise. - -### GetDescriptionOk - -`func (o *CondaPackageUpload) GetDescriptionOk() (*string, bool)` - -GetDescriptionOk returns a tuple with the Description field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetDescription - -`func (o *CondaPackageUpload) SetDescription(v string)` - -SetDescription sets Description field to given value. - -### HasDescription - -`func (o *CondaPackageUpload) HasDescription() bool` - -HasDescription returns a boolean if a field has been set. - -### GetDistro - -`func (o *CondaPackageUpload) GetDistro() map[string]interface{}` - -GetDistro returns the Distro field if non-nil, zero value otherwise. - -### GetDistroOk - -`func (o *CondaPackageUpload) GetDistroOk() (*map[string]interface{}, bool)` - -GetDistroOk returns a tuple with the Distro field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetDistro - -`func (o *CondaPackageUpload) SetDistro(v map[string]interface{})` - -SetDistro sets Distro field to given value. - -### HasDistro - -`func (o *CondaPackageUpload) HasDistro() bool` - -HasDistro returns a boolean if a field has been set. - -### GetDistroVersion - -`func (o *CondaPackageUpload) GetDistroVersion() map[string]interface{}` - -GetDistroVersion returns the DistroVersion field if non-nil, zero value otherwise. - -### GetDistroVersionOk - -`func (o *CondaPackageUpload) GetDistroVersionOk() (*map[string]interface{}, bool)` - -GetDistroVersionOk returns a tuple with the DistroVersion field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetDistroVersion - -`func (o *CondaPackageUpload) SetDistroVersion(v map[string]interface{})` - -SetDistroVersion sets DistroVersion field to given value. - -### HasDistroVersion - -`func (o *CondaPackageUpload) HasDistroVersion() bool` - -HasDistroVersion returns a boolean if a field has been set. - -### GetDownloads - -`func (o *CondaPackageUpload) GetDownloads() int64` - -GetDownloads returns the Downloads field if non-nil, zero value otherwise. - -### GetDownloadsOk - -`func (o *CondaPackageUpload) GetDownloadsOk() (*int64, bool)` - -GetDownloadsOk returns a tuple with the Downloads field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetDownloads - -`func (o *CondaPackageUpload) SetDownloads(v int64)` - -SetDownloads sets Downloads field to given value. - -### HasDownloads - -`func (o *CondaPackageUpload) HasDownloads() bool` - -HasDownloads returns a boolean if a field has been set. - -### GetEpoch - -`func (o *CondaPackageUpload) GetEpoch() int64` - -GetEpoch returns the Epoch field if non-nil, zero value otherwise. - -### GetEpochOk - -`func (o *CondaPackageUpload) GetEpochOk() (*int64, bool)` - -GetEpochOk returns a tuple with the Epoch field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetEpoch - -`func (o *CondaPackageUpload) SetEpoch(v int64)` - -SetEpoch sets Epoch field to given value. - -### HasEpoch - -`func (o *CondaPackageUpload) HasEpoch() bool` - -HasEpoch returns a boolean if a field has been set. - -### GetExtension - -`func (o *CondaPackageUpload) GetExtension() string` - -GetExtension returns the Extension field if non-nil, zero value otherwise. - -### GetExtensionOk - -`func (o *CondaPackageUpload) GetExtensionOk() (*string, bool)` - -GetExtensionOk returns a tuple with the Extension field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetExtension - -`func (o *CondaPackageUpload) SetExtension(v string)` - -SetExtension sets Extension field to given value. - -### HasExtension - -`func (o *CondaPackageUpload) HasExtension() bool` - -HasExtension returns a boolean if a field has been set. - -### GetFilename - -`func (o *CondaPackageUpload) GetFilename() string` - -GetFilename returns the Filename field if non-nil, zero value otherwise. - -### GetFilenameOk - -`func (o *CondaPackageUpload) GetFilenameOk() (*string, bool)` - -GetFilenameOk returns a tuple with the Filename field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetFilename - -`func (o *CondaPackageUpload) SetFilename(v string)` - -SetFilename sets Filename field to given value. - -### HasFilename - -`func (o *CondaPackageUpload) HasFilename() bool` - -HasFilename returns a boolean if a field has been set. - -### GetFiles - -`func (o *CondaPackageUpload) GetFiles() []PackagesOwnerRepoFiles` - -GetFiles returns the Files field if non-nil, zero value otherwise. - -### GetFilesOk - -`func (o *CondaPackageUpload) GetFilesOk() (*[]PackagesOwnerRepoFiles, 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 *CondaPackageUpload) SetFiles(v []PackagesOwnerRepoFiles)` - -SetFiles sets Files field to given value. - -### HasFiles - -`func (o *CondaPackageUpload) HasFiles() bool` - -HasFiles returns a boolean if a field has been set. - -### GetFormat - -`func (o *CondaPackageUpload) GetFormat() string` - -GetFormat returns the Format field if non-nil, zero value otherwise. - -### GetFormatOk - -`func (o *CondaPackageUpload) GetFormatOk() (*string, bool)` - -GetFormatOk returns a tuple with the Format field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetFormat - -`func (o *CondaPackageUpload) SetFormat(v string)` - -SetFormat sets Format field to given value. - -### HasFormat - -`func (o *CondaPackageUpload) HasFormat() bool` - -HasFormat returns a boolean if a field has been set. - -### GetFormatUrl - -`func (o *CondaPackageUpload) GetFormatUrl() string` - -GetFormatUrl returns the FormatUrl field if non-nil, zero value otherwise. - -### GetFormatUrlOk - -`func (o *CondaPackageUpload) GetFormatUrlOk() (*string, bool)` - -GetFormatUrlOk returns a tuple with the FormatUrl field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetFormatUrl - -`func (o *CondaPackageUpload) SetFormatUrl(v string)` - -SetFormatUrl sets FormatUrl field to given value. - -### HasFormatUrl - -`func (o *CondaPackageUpload) HasFormatUrl() bool` - -HasFormatUrl returns a boolean if a field has been set. - -### GetIdentifierPerm - -`func (o *CondaPackageUpload) GetIdentifierPerm() string` - -GetIdentifierPerm returns the IdentifierPerm field if non-nil, zero value otherwise. - -### GetIdentifierPermOk - -`func (o *CondaPackageUpload) GetIdentifierPermOk() (*string, bool)` - -GetIdentifierPermOk returns a tuple with the IdentifierPerm field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetIdentifierPerm - -`func (o *CondaPackageUpload) SetIdentifierPerm(v string)` - -SetIdentifierPerm sets IdentifierPerm field to given value. - -### HasIdentifierPerm - -`func (o *CondaPackageUpload) HasIdentifierPerm() bool` - -HasIdentifierPerm returns a boolean if a field has been set. - -### GetIndexed - -`func (o *CondaPackageUpload) GetIndexed() bool` - -GetIndexed returns the Indexed field if non-nil, zero value otherwise. - -### GetIndexedOk - -`func (o *CondaPackageUpload) GetIndexedOk() (*bool, bool)` - -GetIndexedOk returns a tuple with the Indexed field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetIndexed - -`func (o *CondaPackageUpload) SetIndexed(v bool)` - -SetIndexed sets Indexed field to given value. - -### HasIndexed - -`func (o *CondaPackageUpload) HasIndexed() bool` - -HasIndexed returns a boolean if a field has been set. - -### GetIsDownloadable - -`func (o *CondaPackageUpload) GetIsDownloadable() bool` - -GetIsDownloadable returns the IsDownloadable field if non-nil, zero value otherwise. - -### GetIsDownloadableOk - -`func (o *CondaPackageUpload) GetIsDownloadableOk() (*bool, bool)` - -GetIsDownloadableOk returns a tuple with the IsDownloadable field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetIsDownloadable - -`func (o *CondaPackageUpload) SetIsDownloadable(v bool)` - -SetIsDownloadable sets IsDownloadable field to given value. - -### HasIsDownloadable - -`func (o *CondaPackageUpload) HasIsDownloadable() bool` - -HasIsDownloadable returns a boolean if a field has been set. - -### GetIsQuarantined - -`func (o *CondaPackageUpload) GetIsQuarantined() bool` - -GetIsQuarantined returns the IsQuarantined field if non-nil, zero value otherwise. - -### GetIsQuarantinedOk - -`func (o *CondaPackageUpload) GetIsQuarantinedOk() (*bool, bool)` - -GetIsQuarantinedOk returns a tuple with the IsQuarantined field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetIsQuarantined - -`func (o *CondaPackageUpload) SetIsQuarantined(v bool)` - -SetIsQuarantined sets IsQuarantined field to given value. - -### HasIsQuarantined - -`func (o *CondaPackageUpload) HasIsQuarantined() bool` - -HasIsQuarantined returns a boolean if a field has been set. - -### GetIsSyncAwaiting - -`func (o *CondaPackageUpload) GetIsSyncAwaiting() bool` - -GetIsSyncAwaiting returns the IsSyncAwaiting field if non-nil, zero value otherwise. - -### GetIsSyncAwaitingOk - -`func (o *CondaPackageUpload) GetIsSyncAwaitingOk() (*bool, bool)` - -GetIsSyncAwaitingOk returns a tuple with the IsSyncAwaiting field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetIsSyncAwaiting - -`func (o *CondaPackageUpload) SetIsSyncAwaiting(v bool)` - -SetIsSyncAwaiting sets IsSyncAwaiting field to given value. - -### HasIsSyncAwaiting - -`func (o *CondaPackageUpload) HasIsSyncAwaiting() bool` - -HasIsSyncAwaiting returns a boolean if a field has been set. - -### GetIsSyncCompleted - -`func (o *CondaPackageUpload) GetIsSyncCompleted() bool` - -GetIsSyncCompleted returns the IsSyncCompleted field if non-nil, zero value otherwise. - -### GetIsSyncCompletedOk - -`func (o *CondaPackageUpload) GetIsSyncCompletedOk() (*bool, bool)` - -GetIsSyncCompletedOk returns a tuple with the IsSyncCompleted field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetIsSyncCompleted - -`func (o *CondaPackageUpload) SetIsSyncCompleted(v bool)` - -SetIsSyncCompleted sets IsSyncCompleted field to given value. - -### HasIsSyncCompleted - -`func (o *CondaPackageUpload) HasIsSyncCompleted() bool` - -HasIsSyncCompleted returns a boolean if a field has been set. - -### GetIsSyncFailed - -`func (o *CondaPackageUpload) GetIsSyncFailed() bool` - -GetIsSyncFailed returns the IsSyncFailed field if non-nil, zero value otherwise. - -### GetIsSyncFailedOk - -`func (o *CondaPackageUpload) GetIsSyncFailedOk() (*bool, bool)` - -GetIsSyncFailedOk returns a tuple with the IsSyncFailed field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetIsSyncFailed - -`func (o *CondaPackageUpload) SetIsSyncFailed(v bool)` - -SetIsSyncFailed sets IsSyncFailed field to given value. - -### HasIsSyncFailed - -`func (o *CondaPackageUpload) HasIsSyncFailed() bool` - -HasIsSyncFailed returns a boolean if a field has been set. - -### GetIsSyncInFlight - -`func (o *CondaPackageUpload) GetIsSyncInFlight() bool` - -GetIsSyncInFlight returns the IsSyncInFlight field if non-nil, zero value otherwise. - -### GetIsSyncInFlightOk - -`func (o *CondaPackageUpload) GetIsSyncInFlightOk() (*bool, bool)` - -GetIsSyncInFlightOk returns a tuple with the IsSyncInFlight field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetIsSyncInFlight - -`func (o *CondaPackageUpload) SetIsSyncInFlight(v bool)` - -SetIsSyncInFlight sets IsSyncInFlight field to given value. - -### HasIsSyncInFlight - -`func (o *CondaPackageUpload) HasIsSyncInFlight() bool` - -HasIsSyncInFlight returns a boolean if a field has been set. - -### GetIsSyncInProgress - -`func (o *CondaPackageUpload) GetIsSyncInProgress() bool` - -GetIsSyncInProgress returns the IsSyncInProgress field if non-nil, zero value otherwise. - -### GetIsSyncInProgressOk - -`func (o *CondaPackageUpload) GetIsSyncInProgressOk() (*bool, bool)` - -GetIsSyncInProgressOk returns a tuple with the IsSyncInProgress field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetIsSyncInProgress - -`func (o *CondaPackageUpload) SetIsSyncInProgress(v bool)` - -SetIsSyncInProgress sets IsSyncInProgress field to given value. - -### HasIsSyncInProgress - -`func (o *CondaPackageUpload) HasIsSyncInProgress() bool` - -HasIsSyncInProgress returns a boolean if a field has been set. - -### GetLicense - -`func (o *CondaPackageUpload) GetLicense() string` - -GetLicense returns the License field if non-nil, zero value otherwise. - -### GetLicenseOk - -`func (o *CondaPackageUpload) GetLicenseOk() (*string, bool)` - -GetLicenseOk returns a tuple with the License field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetLicense - -`func (o *CondaPackageUpload) SetLicense(v string)` - -SetLicense sets License field to given value. - -### HasLicense - -`func (o *CondaPackageUpload) HasLicense() bool` - -HasLicense returns a boolean if a field has been set. - -### GetName - -`func (o *CondaPackageUpload) GetName() string` - -GetName returns the Name field if non-nil, zero value otherwise. - -### GetNameOk - -`func (o *CondaPackageUpload) GetNameOk() (*string, bool)` - -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. - -### SetName - -`func (o *CondaPackageUpload) SetName(v string)` - -SetName sets Name field to given value. - -### HasName - -`func (o *CondaPackageUpload) HasName() bool` - -HasName returns a boolean if a field has been set. - -### GetNamespace - -`func (o *CondaPackageUpload) GetNamespace() string` - -GetNamespace returns the Namespace field if non-nil, zero value otherwise. - -### GetNamespaceOk - -`func (o *CondaPackageUpload) GetNamespaceOk() (*string, bool)` - -GetNamespaceOk returns a tuple with the Namespace field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetNamespace - -`func (o *CondaPackageUpload) SetNamespace(v string)` - -SetNamespace sets Namespace field to given value. - -### HasNamespace - -`func (o *CondaPackageUpload) HasNamespace() bool` - -HasNamespace returns a boolean if a field has been set. - -### GetNamespaceUrl - -`func (o *CondaPackageUpload) GetNamespaceUrl() string` - -GetNamespaceUrl returns the NamespaceUrl field if non-nil, zero value otherwise. - -### GetNamespaceUrlOk - -`func (o *CondaPackageUpload) GetNamespaceUrlOk() (*string, bool)` - -GetNamespaceUrlOk returns a tuple with the NamespaceUrl field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetNamespaceUrl - -`func (o *CondaPackageUpload) SetNamespaceUrl(v string)` - -SetNamespaceUrl sets NamespaceUrl field to given value. - -### HasNamespaceUrl - -`func (o *CondaPackageUpload) HasNamespaceUrl() bool` - -HasNamespaceUrl returns a boolean if a field has been set. - -### GetNumFiles - -`func (o *CondaPackageUpload) GetNumFiles() int64` - -GetNumFiles returns the NumFiles field if non-nil, zero value otherwise. - -### GetNumFilesOk - -`func (o *CondaPackageUpload) GetNumFilesOk() (*int64, bool)` - -GetNumFilesOk returns a tuple with the NumFiles field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetNumFiles - -`func (o *CondaPackageUpload) SetNumFiles(v int64)` - -SetNumFiles sets NumFiles field to given value. - -### HasNumFiles - -`func (o *CondaPackageUpload) HasNumFiles() bool` - -HasNumFiles returns a boolean if a field has been set. - -### GetPackageType - -`func (o *CondaPackageUpload) GetPackageType() int64` - -GetPackageType returns the PackageType field if non-nil, zero value otherwise. - -### GetPackageTypeOk - -`func (o *CondaPackageUpload) GetPackageTypeOk() (*int64, bool)` - -GetPackageTypeOk returns a tuple with the PackageType field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetPackageType - -`func (o *CondaPackageUpload) SetPackageType(v int64)` - -SetPackageType sets PackageType field to given value. - -### HasPackageType - -`func (o *CondaPackageUpload) HasPackageType() bool` - -HasPackageType returns a boolean if a field has been set. - -### GetRelease - -`func (o *CondaPackageUpload) GetRelease() string` - -GetRelease returns the Release field if non-nil, zero value otherwise. - -### GetReleaseOk - -`func (o *CondaPackageUpload) GetReleaseOk() (*string, bool)` - -GetReleaseOk returns a tuple with the Release field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetRelease - -`func (o *CondaPackageUpload) SetRelease(v string)` - -SetRelease sets Release field to given value. - -### HasRelease - -`func (o *CondaPackageUpload) HasRelease() bool` - -HasRelease returns a boolean if a field has been set. - -### GetRepository - -`func (o *CondaPackageUpload) GetRepository() string` - -GetRepository returns the Repository field if non-nil, zero value otherwise. - -### GetRepositoryOk - -`func (o *CondaPackageUpload) GetRepositoryOk() (*string, bool)` - -GetRepositoryOk returns a tuple with the Repository field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetRepository - -`func (o *CondaPackageUpload) SetRepository(v string)` - -SetRepository sets Repository field to given value. - -### HasRepository - -`func (o *CondaPackageUpload) HasRepository() bool` - -HasRepository returns a boolean if a field has been set. - -### GetRepositoryUrl - -`func (o *CondaPackageUpload) GetRepositoryUrl() string` - -GetRepositoryUrl returns the RepositoryUrl field if non-nil, zero value otherwise. - -### GetRepositoryUrlOk - -`func (o *CondaPackageUpload) GetRepositoryUrlOk() (*string, bool)` - -GetRepositoryUrlOk returns a tuple with the RepositoryUrl field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetRepositoryUrl - -`func (o *CondaPackageUpload) SetRepositoryUrl(v string)` - -SetRepositoryUrl sets RepositoryUrl field to given value. - -### HasRepositoryUrl - -`func (o *CondaPackageUpload) HasRepositoryUrl() bool` - -HasRepositoryUrl returns a boolean if a field has been set. - -### GetSecurityScanCompletedAt - -`func (o *CondaPackageUpload) GetSecurityScanCompletedAt() string` - -GetSecurityScanCompletedAt returns the SecurityScanCompletedAt field if non-nil, zero value otherwise. - -### GetSecurityScanCompletedAtOk - -`func (o *CondaPackageUpload) GetSecurityScanCompletedAtOk() (*string, bool)` - -GetSecurityScanCompletedAtOk returns a tuple with the SecurityScanCompletedAt field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetSecurityScanCompletedAt - -`func (o *CondaPackageUpload) SetSecurityScanCompletedAt(v string)` - -SetSecurityScanCompletedAt sets SecurityScanCompletedAt field to given value. - -### HasSecurityScanCompletedAt - -`func (o *CondaPackageUpload) HasSecurityScanCompletedAt() bool` - -HasSecurityScanCompletedAt returns a boolean if a field has been set. - -### GetSecurityScanStartedAt - -`func (o *CondaPackageUpload) GetSecurityScanStartedAt() string` - -GetSecurityScanStartedAt returns the SecurityScanStartedAt field if non-nil, zero value otherwise. - -### GetSecurityScanStartedAtOk - -`func (o *CondaPackageUpload) GetSecurityScanStartedAtOk() (*string, bool)` - -GetSecurityScanStartedAtOk returns a tuple with the SecurityScanStartedAt field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetSecurityScanStartedAt - -`func (o *CondaPackageUpload) SetSecurityScanStartedAt(v string)` - -SetSecurityScanStartedAt sets SecurityScanStartedAt field to given value. - -### HasSecurityScanStartedAt - -`func (o *CondaPackageUpload) HasSecurityScanStartedAt() bool` - -HasSecurityScanStartedAt returns a boolean if a field has been set. - -### GetSecurityScanStatus - -`func (o *CondaPackageUpload) GetSecurityScanStatus() string` - -GetSecurityScanStatus returns the SecurityScanStatus field if non-nil, zero value otherwise. - -### GetSecurityScanStatusOk - -`func (o *CondaPackageUpload) GetSecurityScanStatusOk() (*string, bool)` - -GetSecurityScanStatusOk returns a tuple with the SecurityScanStatus field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetSecurityScanStatus - -`func (o *CondaPackageUpload) SetSecurityScanStatus(v string)` - -SetSecurityScanStatus sets SecurityScanStatus field to given value. - -### HasSecurityScanStatus - -`func (o *CondaPackageUpload) HasSecurityScanStatus() bool` - -HasSecurityScanStatus returns a boolean if a field has been set. - -### GetSecurityScanStatusUpdatedAt - -`func (o *CondaPackageUpload) GetSecurityScanStatusUpdatedAt() string` - -GetSecurityScanStatusUpdatedAt returns the SecurityScanStatusUpdatedAt field if non-nil, zero value otherwise. - -### GetSecurityScanStatusUpdatedAtOk - -`func (o *CondaPackageUpload) GetSecurityScanStatusUpdatedAtOk() (*string, bool)` - -GetSecurityScanStatusUpdatedAtOk returns a tuple with the SecurityScanStatusUpdatedAt field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetSecurityScanStatusUpdatedAt - -`func (o *CondaPackageUpload) SetSecurityScanStatusUpdatedAt(v string)` - -SetSecurityScanStatusUpdatedAt sets SecurityScanStatusUpdatedAt field to given value. - -### HasSecurityScanStatusUpdatedAt - -`func (o *CondaPackageUpload) HasSecurityScanStatusUpdatedAt() bool` - -HasSecurityScanStatusUpdatedAt returns a boolean if a field has been set. - -### GetSelfHtmlUrl - -`func (o *CondaPackageUpload) GetSelfHtmlUrl() string` - -GetSelfHtmlUrl returns the SelfHtmlUrl field if non-nil, zero value otherwise. - -### GetSelfHtmlUrlOk - -`func (o *CondaPackageUpload) GetSelfHtmlUrlOk() (*string, bool)` - -GetSelfHtmlUrlOk returns a tuple with the SelfHtmlUrl field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetSelfHtmlUrl - -`func (o *CondaPackageUpload) SetSelfHtmlUrl(v string)` - -SetSelfHtmlUrl sets SelfHtmlUrl field to given value. - -### HasSelfHtmlUrl - -`func (o *CondaPackageUpload) HasSelfHtmlUrl() bool` - -HasSelfHtmlUrl returns a boolean if a field has been set. - -### GetSelfUrl - -`func (o *CondaPackageUpload) GetSelfUrl() string` - -GetSelfUrl returns the SelfUrl field if non-nil, zero value otherwise. - -### GetSelfUrlOk - -`func (o *CondaPackageUpload) GetSelfUrlOk() (*string, bool)` - -GetSelfUrlOk returns a tuple with the SelfUrl field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetSelfUrl - -`func (o *CondaPackageUpload) SetSelfUrl(v string)` - -SetSelfUrl sets SelfUrl field to given value. - -### HasSelfUrl - -`func (o *CondaPackageUpload) HasSelfUrl() bool` - -HasSelfUrl returns a boolean if a field has been set. - -### GetSignatureUrl - -`func (o *CondaPackageUpload) GetSignatureUrl() string` - -GetSignatureUrl returns the SignatureUrl field if non-nil, zero value otherwise. - -### GetSignatureUrlOk - -`func (o *CondaPackageUpload) GetSignatureUrlOk() (*string, bool)` - -GetSignatureUrlOk returns a tuple with the SignatureUrl field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetSignatureUrl - -`func (o *CondaPackageUpload) SetSignatureUrl(v string)` - -SetSignatureUrl sets SignatureUrl field to given value. - -### HasSignatureUrl - -`func (o *CondaPackageUpload) HasSignatureUrl() bool` - -HasSignatureUrl returns a boolean if a field has been set. - -### GetSize - -`func (o *CondaPackageUpload) GetSize() int64` - -GetSize returns the Size field if non-nil, zero value otherwise. - -### GetSizeOk - -`func (o *CondaPackageUpload) GetSizeOk() (*int64, bool)` - -GetSizeOk returns a tuple with the Size field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetSize - -`func (o *CondaPackageUpload) SetSize(v int64)` - -SetSize sets Size field to given value. - -### HasSize - -`func (o *CondaPackageUpload) HasSize() bool` - -HasSize returns a boolean if a field has been set. - -### GetSlug - -`func (o *CondaPackageUpload) GetSlug() string` - -GetSlug returns the Slug field if non-nil, zero value otherwise. - -### GetSlugOk - -`func (o *CondaPackageUpload) GetSlugOk() (*string, bool)` - -GetSlugOk returns a tuple with the Slug field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetSlug - -`func (o *CondaPackageUpload) SetSlug(v string)` - -SetSlug sets Slug field to given value. - -### HasSlug - -`func (o *CondaPackageUpload) HasSlug() bool` - -HasSlug returns a boolean if a field has been set. - -### GetSlugPerm - -`func (o *CondaPackageUpload) GetSlugPerm() string` - -GetSlugPerm returns the SlugPerm field if non-nil, zero value otherwise. - -### GetSlugPermOk - -`func (o *CondaPackageUpload) GetSlugPermOk() (*string, bool)` - -GetSlugPermOk returns a tuple with the SlugPerm field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetSlugPerm - -`func (o *CondaPackageUpload) SetSlugPerm(v string)` - -SetSlugPerm sets SlugPerm field to given value. - -### HasSlugPerm - -`func (o *CondaPackageUpload) HasSlugPerm() bool` - -HasSlugPerm returns a boolean if a field has been set. - -### GetStage - -`func (o *CondaPackageUpload) GetStage() int64` - -GetStage returns the Stage field if non-nil, zero value otherwise. - -### GetStageOk - -`func (o *CondaPackageUpload) GetStageOk() (*int64, bool)` - -GetStageOk returns a tuple with the Stage field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetStage - -`func (o *CondaPackageUpload) SetStage(v int64)` - -SetStage sets Stage field to given value. - -### HasStage - -`func (o *CondaPackageUpload) HasStage() bool` - -HasStage returns a boolean if a field has been set. - -### GetStageStr - -`func (o *CondaPackageUpload) GetStageStr() string` - -GetStageStr returns the StageStr field if non-nil, zero value otherwise. - -### GetStageStrOk - -`func (o *CondaPackageUpload) GetStageStrOk() (*string, bool)` - -GetStageStrOk returns a tuple with the StageStr field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetStageStr - -`func (o *CondaPackageUpload) SetStageStr(v string)` - -SetStageStr sets StageStr field to given value. - -### HasStageStr - -`func (o *CondaPackageUpload) HasStageStr() bool` - -HasStageStr returns a boolean if a field has been set. - -### GetStageUpdatedAt - -`func (o *CondaPackageUpload) GetStageUpdatedAt() string` - -GetStageUpdatedAt returns the StageUpdatedAt field if non-nil, zero value otherwise. - -### GetStageUpdatedAtOk - -`func (o *CondaPackageUpload) GetStageUpdatedAtOk() (*string, bool)` - -GetStageUpdatedAtOk returns a tuple with the StageUpdatedAt field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetStageUpdatedAt - -`func (o *CondaPackageUpload) SetStageUpdatedAt(v string)` - -SetStageUpdatedAt sets StageUpdatedAt field to given value. - -### HasStageUpdatedAt - -`func (o *CondaPackageUpload) HasStageUpdatedAt() bool` - -HasStageUpdatedAt returns a boolean if a field has been set. - -### GetStatus - -`func (o *CondaPackageUpload) GetStatus() int64` - -GetStatus returns the Status field if non-nil, zero value otherwise. - -### GetStatusOk - -`func (o *CondaPackageUpload) GetStatusOk() (*int64, bool)` - -GetStatusOk returns a tuple with the Status field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetStatus - -`func (o *CondaPackageUpload) SetStatus(v int64)` - -SetStatus sets Status field to given value. - -### HasStatus - -`func (o *CondaPackageUpload) HasStatus() bool` - -HasStatus returns a boolean if a field has been set. - -### GetStatusReason - -`func (o *CondaPackageUpload) GetStatusReason() string` - -GetStatusReason returns the StatusReason field if non-nil, zero value otherwise. - -### GetStatusReasonOk - -`func (o *CondaPackageUpload) GetStatusReasonOk() (*string, bool)` - -GetStatusReasonOk returns a tuple with the StatusReason field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetStatusReason - -`func (o *CondaPackageUpload) SetStatusReason(v string)` - -SetStatusReason sets StatusReason field to given value. - -### HasStatusReason - -`func (o *CondaPackageUpload) HasStatusReason() bool` - -HasStatusReason returns a boolean if a field has been set. - -### GetStatusStr - -`func (o *CondaPackageUpload) GetStatusStr() string` - -GetStatusStr returns the StatusStr field if non-nil, zero value otherwise. - -### GetStatusStrOk - -`func (o *CondaPackageUpload) GetStatusStrOk() (*string, bool)` - -GetStatusStrOk returns a tuple with the StatusStr field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetStatusStr - -`func (o *CondaPackageUpload) SetStatusStr(v string)` - -SetStatusStr sets StatusStr field to given value. - -### HasStatusStr - -`func (o *CondaPackageUpload) HasStatusStr() bool` - -HasStatusStr returns a boolean if a field has been set. - -### GetStatusUpdatedAt - -`func (o *CondaPackageUpload) GetStatusUpdatedAt() string` - -GetStatusUpdatedAt returns the StatusUpdatedAt field if non-nil, zero value otherwise. - -### GetStatusUpdatedAtOk - -`func (o *CondaPackageUpload) GetStatusUpdatedAtOk() (*string, bool)` - -GetStatusUpdatedAtOk returns a tuple with the StatusUpdatedAt field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetStatusUpdatedAt - -`func (o *CondaPackageUpload) SetStatusUpdatedAt(v string)` - -SetStatusUpdatedAt sets StatusUpdatedAt field to given value. - -### HasStatusUpdatedAt - -`func (o *CondaPackageUpload) HasStatusUpdatedAt() bool` - -HasStatusUpdatedAt returns a boolean if a field has been set. - -### GetStatusUrl - -`func (o *CondaPackageUpload) GetStatusUrl() string` - -GetStatusUrl returns the StatusUrl field if non-nil, zero value otherwise. - -### GetStatusUrlOk - -`func (o *CondaPackageUpload) GetStatusUrlOk() (*string, bool)` - -GetStatusUrlOk returns a tuple with the StatusUrl field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetStatusUrl - -`func (o *CondaPackageUpload) SetStatusUrl(v string)` - -SetStatusUrl sets StatusUrl field to given value. - -### HasStatusUrl - -`func (o *CondaPackageUpload) HasStatusUrl() bool` - -HasStatusUrl returns a boolean if a field has been set. - -### GetSubtype - -`func (o *CondaPackageUpload) GetSubtype() string` - -GetSubtype returns the Subtype field if non-nil, zero value otherwise. - -### GetSubtypeOk - -`func (o *CondaPackageUpload) GetSubtypeOk() (*string, bool)` - -GetSubtypeOk returns a tuple with the Subtype field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetSubtype - -`func (o *CondaPackageUpload) SetSubtype(v string)` - -SetSubtype sets Subtype field to given value. - -### HasSubtype - -`func (o *CondaPackageUpload) HasSubtype() bool` - -HasSubtype returns a boolean if a field has been set. - -### GetSummary - -`func (o *CondaPackageUpload) GetSummary() string` - -GetSummary returns the Summary field if non-nil, zero value otherwise. - -### GetSummaryOk - -`func (o *CondaPackageUpload) GetSummaryOk() (*string, bool)` - -GetSummaryOk returns a tuple with the Summary field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetSummary - -`func (o *CondaPackageUpload) SetSummary(v string)` - -SetSummary sets Summary field to given value. - -### HasSummary - -`func (o *CondaPackageUpload) HasSummary() bool` - -HasSummary returns a boolean if a field has been set. - -### GetSyncFinishedAt - -`func (o *CondaPackageUpload) GetSyncFinishedAt() string` - -GetSyncFinishedAt returns the SyncFinishedAt field if non-nil, zero value otherwise. - -### GetSyncFinishedAtOk - -`func (o *CondaPackageUpload) GetSyncFinishedAtOk() (*string, bool)` - -GetSyncFinishedAtOk returns a tuple with the SyncFinishedAt field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetSyncFinishedAt - -`func (o *CondaPackageUpload) SetSyncFinishedAt(v string)` - -SetSyncFinishedAt sets SyncFinishedAt field to given value. - -### HasSyncFinishedAt - -`func (o *CondaPackageUpload) HasSyncFinishedAt() bool` - -HasSyncFinishedAt returns a boolean if a field has been set. - -### GetSyncProgress - -`func (o *CondaPackageUpload) GetSyncProgress() int64` - -GetSyncProgress returns the SyncProgress field if non-nil, zero value otherwise. - -### GetSyncProgressOk - -`func (o *CondaPackageUpload) GetSyncProgressOk() (*int64, bool)` - -GetSyncProgressOk returns a tuple with the SyncProgress field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetSyncProgress - -`func (o *CondaPackageUpload) SetSyncProgress(v int64)` - -SetSyncProgress sets SyncProgress field to given value. - -### HasSyncProgress - -`func (o *CondaPackageUpload) HasSyncProgress() bool` - -HasSyncProgress returns a boolean if a field has been set. - -### GetTagsImmutable - -`func (o *CondaPackageUpload) GetTagsImmutable() map[string]interface{}` - -GetTagsImmutable returns the TagsImmutable field if non-nil, zero value otherwise. - -### GetTagsImmutableOk - -`func (o *CondaPackageUpload) GetTagsImmutableOk() (*map[string]interface{}, bool)` - -GetTagsImmutableOk returns a tuple with the TagsImmutable field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetTagsImmutable - -`func (o *CondaPackageUpload) SetTagsImmutable(v map[string]interface{})` - -SetTagsImmutable sets TagsImmutable field to given value. - -### HasTagsImmutable - -`func (o *CondaPackageUpload) HasTagsImmutable() bool` - -HasTagsImmutable returns a boolean if a field has been set. - -### GetTypeDisplay - -`func (o *CondaPackageUpload) GetTypeDisplay() string` - -GetTypeDisplay returns the TypeDisplay field if non-nil, zero value otherwise. - -### GetTypeDisplayOk - -`func (o *CondaPackageUpload) GetTypeDisplayOk() (*string, bool)` - -GetTypeDisplayOk returns a tuple with the TypeDisplay field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetTypeDisplay - -`func (o *CondaPackageUpload) SetTypeDisplay(v string)` - -SetTypeDisplay sets TypeDisplay field to given value. - -### HasTypeDisplay - -`func (o *CondaPackageUpload) HasTypeDisplay() bool` - -HasTypeDisplay returns a boolean if a field has been set. - -### GetUploadedAt - -`func (o *CondaPackageUpload) GetUploadedAt() string` - -GetUploadedAt returns the UploadedAt field if non-nil, zero value otherwise. - -### GetUploadedAtOk - -`func (o *CondaPackageUpload) GetUploadedAtOk() (*string, bool)` - -GetUploadedAtOk returns a tuple with the UploadedAt field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetUploadedAt - -`func (o *CondaPackageUpload) SetUploadedAt(v string)` - -SetUploadedAt sets UploadedAt field to given value. - -### HasUploadedAt - -`func (o *CondaPackageUpload) HasUploadedAt() bool` - -HasUploadedAt returns a boolean if a field has been set. - -### GetUploader - -`func (o *CondaPackageUpload) GetUploader() string` - -GetUploader returns the Uploader field if non-nil, zero value otherwise. - -### GetUploaderOk - -`func (o *CondaPackageUpload) GetUploaderOk() (*string, bool)` - -GetUploaderOk returns a tuple with the Uploader field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetUploader - -`func (o *CondaPackageUpload) SetUploader(v string)` - -SetUploader sets Uploader field to given value. - -### HasUploader - -`func (o *CondaPackageUpload) HasUploader() bool` - -HasUploader returns a boolean if a field has been set. - -### GetUploaderUrl - -`func (o *CondaPackageUpload) GetUploaderUrl() string` - -GetUploaderUrl returns the UploaderUrl field if non-nil, zero value otherwise. - -### GetUploaderUrlOk - -`func (o *CondaPackageUpload) GetUploaderUrlOk() (*string, bool)` - -GetUploaderUrlOk returns a tuple with the UploaderUrl field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetUploaderUrl - -`func (o *CondaPackageUpload) SetUploaderUrl(v string)` - -SetUploaderUrl sets UploaderUrl field to given value. - -### HasUploaderUrl - -`func (o *CondaPackageUpload) HasUploaderUrl() bool` - -HasUploaderUrl returns a boolean if a field has been set. - -### GetVersion - -`func (o *CondaPackageUpload) GetVersion() string` - -GetVersion returns the Version field if non-nil, zero value otherwise. - -### GetVersionOk - -`func (o *CondaPackageUpload) GetVersionOk() (*string, bool)` - -GetVersionOk returns a tuple with the Version field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetVersion - -`func (o *CondaPackageUpload) SetVersion(v string)` - -SetVersion sets Version field to given value. - -### HasVersion - -`func (o *CondaPackageUpload) HasVersion() bool` - -HasVersion returns a boolean if a field has been set. - -### GetVersionOrig - -`func (o *CondaPackageUpload) GetVersionOrig() string` - -GetVersionOrig returns the VersionOrig field if non-nil, zero value otherwise. - -### GetVersionOrigOk - -`func (o *CondaPackageUpload) GetVersionOrigOk() (*string, bool)` - -GetVersionOrigOk returns a tuple with the VersionOrig field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetVersionOrig - -`func (o *CondaPackageUpload) SetVersionOrig(v string)` - -SetVersionOrig sets VersionOrig field to given value. - -### HasVersionOrig - -`func (o *CondaPackageUpload) HasVersionOrig() bool` - -HasVersionOrig returns a boolean if a field has been set. - -### GetVulnerabilityScanResultsUrl - -`func (o *CondaPackageUpload) GetVulnerabilityScanResultsUrl() string` - -GetVulnerabilityScanResultsUrl returns the VulnerabilityScanResultsUrl field if non-nil, zero value otherwise. - -### GetVulnerabilityScanResultsUrlOk - -`func (o *CondaPackageUpload) GetVulnerabilityScanResultsUrlOk() (*string, bool)` - -GetVulnerabilityScanResultsUrlOk returns a tuple with the VulnerabilityScanResultsUrl field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetVulnerabilityScanResultsUrl - -`func (o *CondaPackageUpload) SetVulnerabilityScanResultsUrl(v string)` - -SetVulnerabilityScanResultsUrl sets VulnerabilityScanResultsUrl field to given value. - -### HasVulnerabilityScanResultsUrl - -`func (o *CondaPackageUpload) HasVulnerabilityScanResultsUrl() bool` - -HasVulnerabilityScanResultsUrl 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/docs/PackagesUploadCran.md b/docs/CondaPackageUploadRequest.md similarity index 57% rename from docs/PackagesUploadCran.md rename to docs/CondaPackageUploadRequest.md index 6de43446..ea420841 100644 --- a/docs/PackagesUploadCran.md +++ b/docs/CondaPackageUploadRequest.md @@ -1,4 +1,4 @@ -# PackagesUploadCran +# CondaPackageUploadRequest ## Properties @@ -6,97 +6,107 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **PackageFile** | **string** | The primary file for the package. | **Republish** | Pointer to **bool** | If true, the uploaded package will overwrite any others with the same attributes (e.g. same version); otherwise, it will be flagged as a duplicate. | [optional] -**Tags** | Pointer to **string** | A comma-separated values list of tags to add to the package. | [optional] +**Tags** | Pointer to **NullableString** | A comma-separated values list of tags to add to the package. | [optional] ## Methods -### NewPackagesUploadCran +### NewCondaPackageUploadRequest -`func NewPackagesUploadCran(packageFile string, ) *PackagesUploadCran` +`func NewCondaPackageUploadRequest(packageFile string, ) *CondaPackageUploadRequest` -NewPackagesUploadCran instantiates a new PackagesUploadCran object +NewCondaPackageUploadRequest instantiates a new CondaPackageUploadRequest object 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 -### NewPackagesUploadCranWithDefaults +### NewCondaPackageUploadRequestWithDefaults -`func NewPackagesUploadCranWithDefaults() *PackagesUploadCran` +`func NewCondaPackageUploadRequestWithDefaults() *CondaPackageUploadRequest` -NewPackagesUploadCranWithDefaults instantiates a new PackagesUploadCran object +NewCondaPackageUploadRequestWithDefaults instantiates a new CondaPackageUploadRequest object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set ### GetPackageFile -`func (o *PackagesUploadCran) GetPackageFile() string` +`func (o *CondaPackageUploadRequest) GetPackageFile() string` GetPackageFile returns the PackageFile field if non-nil, zero value otherwise. ### GetPackageFileOk -`func (o *PackagesUploadCran) GetPackageFileOk() (*string, bool)` +`func (o *CondaPackageUploadRequest) GetPackageFileOk() (*string, bool)` GetPackageFileOk returns a tuple with the PackageFile field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetPackageFile -`func (o *PackagesUploadCran) SetPackageFile(v string)` +`func (o *CondaPackageUploadRequest) SetPackageFile(v string)` SetPackageFile sets PackageFile field to given value. ### GetRepublish -`func (o *PackagesUploadCran) GetRepublish() bool` +`func (o *CondaPackageUploadRequest) GetRepublish() bool` GetRepublish returns the Republish field if non-nil, zero value otherwise. ### GetRepublishOk -`func (o *PackagesUploadCran) GetRepublishOk() (*bool, bool)` +`func (o *CondaPackageUploadRequest) GetRepublishOk() (*bool, bool)` GetRepublishOk returns a tuple with the Republish field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetRepublish -`func (o *PackagesUploadCran) SetRepublish(v bool)` +`func (o *CondaPackageUploadRequest) SetRepublish(v bool)` SetRepublish sets Republish field to given value. ### HasRepublish -`func (o *PackagesUploadCran) HasRepublish() bool` +`func (o *CondaPackageUploadRequest) HasRepublish() bool` HasRepublish returns a boolean if a field has been set. ### GetTags -`func (o *PackagesUploadCran) GetTags() string` +`func (o *CondaPackageUploadRequest) GetTags() string` GetTags returns the Tags field if non-nil, zero value otherwise. ### GetTagsOk -`func (o *PackagesUploadCran) GetTagsOk() (*string, bool)` +`func (o *CondaPackageUploadRequest) GetTagsOk() (*string, bool)` GetTagsOk returns a tuple with the Tags field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetTags -`func (o *PackagesUploadCran) SetTags(v string)` +`func (o *CondaPackageUploadRequest) SetTags(v string)` SetTags sets Tags field to given value. ### HasTags -`func (o *PackagesUploadCran) HasTags() bool` +`func (o *CondaPackageUploadRequest) HasTags() bool` HasTags returns a boolean if a field has been set. +### SetTagsNil + +`func (o *CondaPackageUploadRequest) SetTagsNil(b bool)` + + SetTagsNil sets the value for Tags to be an explicit nil + +### UnsetTags +`func (o *CondaPackageUploadRequest) UnsetTags()` + +UnsetTags ensures that no value is present for Tags, 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/docs/CondaPackageUploadResponse.md b/docs/CondaPackageUploadResponse.md new file mode 100644 index 00000000..0aa51095 --- /dev/null +++ b/docs/CondaPackageUploadResponse.md @@ -0,0 +1,1838 @@ +# CondaPackageUploadResponse + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Architectures** | Pointer to [**[]Architecture**](Architecture.md) | | [optional] [readonly] +**CdnUrl** | Pointer to **NullableString** | | [optional] [readonly] +**ChecksumMd5** | Pointer to **string** | | [optional] [readonly] +**ChecksumSha1** | Pointer to **string** | | [optional] [readonly] +**ChecksumSha256** | Pointer to **string** | | [optional] [readonly] +**ChecksumSha512** | Pointer to **string** | | [optional] [readonly] +**DependenciesChecksumMd5** | Pointer to **string** | A checksum of all of the package's dependencies. | [optional] [readonly] +**DependenciesUrl** | Pointer to **string** | | [optional] [readonly] +**Description** | Pointer to **string** | A textual description of this package. | [optional] [readonly] +**Distro** | Pointer to [**NullableDistribution**](Distribution.md) | | [optional] +**DistroVersion** | Pointer to [**DistributionVersion**](DistributionVersion.md) | | [optional] +**Downloads** | Pointer to **int64** | | [optional] [readonly] +**Epoch** | Pointer to **int64** | The epoch of the package version (if any). | [optional] [readonly] +**Extension** | Pointer to **string** | | [optional] [readonly] +**Filename** | Pointer to **string** | | [optional] [readonly] +**Files** | Pointer to [**[]PackageFile**](PackageFile.md) | | [optional] [readonly] +**Format** | Pointer to **string** | | [optional] [readonly] +**FormatUrl** | Pointer to **string** | | [optional] [readonly] +**IdentifierPerm** | Pointer to **string** | Unique and permanent identifier for the package. | [optional] [readonly] +**Indexed** | Pointer to **bool** | | [optional] [readonly] +**IsDownloadable** | Pointer to **bool** | | [optional] [readonly] +**IsQuarantined** | Pointer to **bool** | | [optional] [readonly] +**IsSyncAwaiting** | Pointer to **bool** | | [optional] [readonly] +**IsSyncCompleted** | Pointer to **bool** | | [optional] [readonly] +**IsSyncFailed** | Pointer to **bool** | | [optional] [readonly] +**IsSyncInFlight** | Pointer to **bool** | | [optional] [readonly] +**IsSyncInProgress** | Pointer to **bool** | | [optional] [readonly] +**License** | Pointer to **string** | The license of this package. | [optional] [readonly] +**Name** | Pointer to **string** | The name of this package. | [optional] [readonly] +**Namespace** | Pointer to **string** | | [optional] [readonly] +**NamespaceUrl** | Pointer to **string** | | [optional] [readonly] +**NumFiles** | Pointer to **int64** | | [optional] [readonly] +**OriginRepository** | Pointer to **string** | | [optional] [readonly] +**OriginRepositoryUrl** | Pointer to **string** | | [optional] [readonly] +**PackageType** | Pointer to **int64** | The type of package contents. | [optional] [readonly] +**Release** | Pointer to **string** | The release of the package version (if any). | [optional] [readonly] +**Repository** | Pointer to **string** | | [optional] [readonly] +**RepositoryUrl** | Pointer to **string** | | [optional] [readonly] +**SecurityScanCompletedAt** | Pointer to **time.Time** | The datetime the security scanning was completed. | [optional] [readonly] +**SecurityScanStartedAt** | Pointer to **time.Time** | The datetime the security scanning was started. | [optional] [readonly] +**SecurityScanStatus** | Pointer to **NullableString** | | [optional] [readonly] [default to "Awaiting Security Scan"] +**SecurityScanStatusUpdatedAt** | Pointer to **time.Time** | The datetime the security scanning status was updated. | [optional] [readonly] +**SelfHtmlUrl** | Pointer to **string** | | [optional] [readonly] +**SelfUrl** | Pointer to **string** | | [optional] [readonly] +**SignatureUrl** | Pointer to **NullableString** | | [optional] [readonly] +**Size** | Pointer to **int64** | The calculated size of the package. | [optional] [readonly] +**Slug** | Pointer to **string** | The public unique identifier for the package. | [optional] [readonly] +**SlugPerm** | Pointer to **string** | | [optional] [readonly] +**Stage** | Pointer to **int64** | The synchronisation (in progress) stage of the package. | [optional] [readonly] +**StageStr** | Pointer to **string** | | [optional] [readonly] +**StageUpdatedAt** | Pointer to **time.Time** | The datetime the package stage was updated at. | [optional] [readonly] +**Status** | Pointer to **int64** | The synchronisation status of the package. | [optional] [readonly] +**StatusReason** | Pointer to **string** | A textual description for the synchronous status reason (if any | [optional] [readonly] +**StatusStr** | Pointer to **string** | | [optional] [readonly] +**StatusUpdatedAt** | Pointer to **time.Time** | The datetime the package status was updated at. | [optional] [readonly] +**StatusUrl** | Pointer to **string** | | [optional] [readonly] +**Subtype** | Pointer to **string** | | [optional] [readonly] +**Summary** | Pointer to **string** | A one-liner synopsis of this package. | [optional] [readonly] +**SyncFinishedAt** | Pointer to **time.Time** | The datetime the package sync was finished at. | [optional] [readonly] +**SyncProgress** | Pointer to **int64** | Synchronisation progress (from 0-100) | [optional] [readonly] +**TagsImmutable** | Pointer to **map[string]interface{}** | All tags on the package, grouped by tag type. This includes immutable tags, but doesn't distinguish them from mutable. To see which tags are immutable specifically, see the tags_immutable field. | [optional] +**TypeDisplay** | Pointer to **string** | | [optional] [readonly] +**UploadedAt** | Pointer to **time.Time** | The date this package was uploaded. | [optional] [readonly] +**Uploader** | Pointer to **string** | | [optional] [readonly] +**UploaderUrl** | Pointer to **string** | | [optional] [readonly] +**Version** | Pointer to **string** | The raw version for this package. | [optional] [readonly] +**VersionOrig** | Pointer to **string** | | [optional] [readonly] +**VulnerabilityScanResultsUrl** | Pointer to **string** | | [optional] [readonly] + +## Methods + +### NewCondaPackageUploadResponse + +`func NewCondaPackageUploadResponse() *CondaPackageUploadResponse` + +NewCondaPackageUploadResponse instantiates a new CondaPackageUploadResponse object +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 + +### NewCondaPackageUploadResponseWithDefaults + +`func NewCondaPackageUploadResponseWithDefaults() *CondaPackageUploadResponse` + +NewCondaPackageUploadResponseWithDefaults instantiates a new CondaPackageUploadResponse object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetArchitectures + +`func (o *CondaPackageUploadResponse) GetArchitectures() []Architecture` + +GetArchitectures returns the Architectures field if non-nil, zero value otherwise. + +### GetArchitecturesOk + +`func (o *CondaPackageUploadResponse) GetArchitecturesOk() (*[]Architecture, bool)` + +GetArchitecturesOk returns a tuple with the Architectures field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetArchitectures + +`func (o *CondaPackageUploadResponse) SetArchitectures(v []Architecture)` + +SetArchitectures sets Architectures field to given value. + +### HasArchitectures + +`func (o *CondaPackageUploadResponse) HasArchitectures() bool` + +HasArchitectures returns a boolean if a field has been set. + +### GetCdnUrl + +`func (o *CondaPackageUploadResponse) GetCdnUrl() string` + +GetCdnUrl returns the CdnUrl field if non-nil, zero value otherwise. + +### GetCdnUrlOk + +`func (o *CondaPackageUploadResponse) GetCdnUrlOk() (*string, bool)` + +GetCdnUrlOk returns a tuple with the CdnUrl field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetCdnUrl + +`func (o *CondaPackageUploadResponse) SetCdnUrl(v string)` + +SetCdnUrl sets CdnUrl field to given value. + +### HasCdnUrl + +`func (o *CondaPackageUploadResponse) HasCdnUrl() bool` + +HasCdnUrl returns a boolean if a field has been set. + +### SetCdnUrlNil + +`func (o *CondaPackageUploadResponse) SetCdnUrlNil(b bool)` + + SetCdnUrlNil sets the value for CdnUrl to be an explicit nil + +### UnsetCdnUrl +`func (o *CondaPackageUploadResponse) UnsetCdnUrl()` + +UnsetCdnUrl ensures that no value is present for CdnUrl, not even an explicit nil +### GetChecksumMd5 + +`func (o *CondaPackageUploadResponse) GetChecksumMd5() string` + +GetChecksumMd5 returns the ChecksumMd5 field if non-nil, zero value otherwise. + +### GetChecksumMd5Ok + +`func (o *CondaPackageUploadResponse) GetChecksumMd5Ok() (*string, bool)` + +GetChecksumMd5Ok returns a tuple with the ChecksumMd5 field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetChecksumMd5 + +`func (o *CondaPackageUploadResponse) SetChecksumMd5(v string)` + +SetChecksumMd5 sets ChecksumMd5 field to given value. + +### HasChecksumMd5 + +`func (o *CondaPackageUploadResponse) HasChecksumMd5() bool` + +HasChecksumMd5 returns a boolean if a field has been set. + +### GetChecksumSha1 + +`func (o *CondaPackageUploadResponse) GetChecksumSha1() string` + +GetChecksumSha1 returns the ChecksumSha1 field if non-nil, zero value otherwise. + +### GetChecksumSha1Ok + +`func (o *CondaPackageUploadResponse) GetChecksumSha1Ok() (*string, bool)` + +GetChecksumSha1Ok returns a tuple with the ChecksumSha1 field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetChecksumSha1 + +`func (o *CondaPackageUploadResponse) SetChecksumSha1(v string)` + +SetChecksumSha1 sets ChecksumSha1 field to given value. + +### HasChecksumSha1 + +`func (o *CondaPackageUploadResponse) HasChecksumSha1() bool` + +HasChecksumSha1 returns a boolean if a field has been set. + +### GetChecksumSha256 + +`func (o *CondaPackageUploadResponse) GetChecksumSha256() string` + +GetChecksumSha256 returns the ChecksumSha256 field if non-nil, zero value otherwise. + +### GetChecksumSha256Ok + +`func (o *CondaPackageUploadResponse) GetChecksumSha256Ok() (*string, bool)` + +GetChecksumSha256Ok returns a tuple with the ChecksumSha256 field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetChecksumSha256 + +`func (o *CondaPackageUploadResponse) SetChecksumSha256(v string)` + +SetChecksumSha256 sets ChecksumSha256 field to given value. + +### HasChecksumSha256 + +`func (o *CondaPackageUploadResponse) HasChecksumSha256() bool` + +HasChecksumSha256 returns a boolean if a field has been set. + +### GetChecksumSha512 + +`func (o *CondaPackageUploadResponse) GetChecksumSha512() string` + +GetChecksumSha512 returns the ChecksumSha512 field if non-nil, zero value otherwise. + +### GetChecksumSha512Ok + +`func (o *CondaPackageUploadResponse) GetChecksumSha512Ok() (*string, bool)` + +GetChecksumSha512Ok returns a tuple with the ChecksumSha512 field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetChecksumSha512 + +`func (o *CondaPackageUploadResponse) SetChecksumSha512(v string)` + +SetChecksumSha512 sets ChecksumSha512 field to given value. + +### HasChecksumSha512 + +`func (o *CondaPackageUploadResponse) HasChecksumSha512() bool` + +HasChecksumSha512 returns a boolean if a field has been set. + +### GetDependenciesChecksumMd5 + +`func (o *CondaPackageUploadResponse) GetDependenciesChecksumMd5() string` + +GetDependenciesChecksumMd5 returns the DependenciesChecksumMd5 field if non-nil, zero value otherwise. + +### GetDependenciesChecksumMd5Ok + +`func (o *CondaPackageUploadResponse) GetDependenciesChecksumMd5Ok() (*string, bool)` + +GetDependenciesChecksumMd5Ok returns a tuple with the DependenciesChecksumMd5 field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetDependenciesChecksumMd5 + +`func (o *CondaPackageUploadResponse) SetDependenciesChecksumMd5(v string)` + +SetDependenciesChecksumMd5 sets DependenciesChecksumMd5 field to given value. + +### HasDependenciesChecksumMd5 + +`func (o *CondaPackageUploadResponse) HasDependenciesChecksumMd5() bool` + +HasDependenciesChecksumMd5 returns a boolean if a field has been set. + +### GetDependenciesUrl + +`func (o *CondaPackageUploadResponse) GetDependenciesUrl() string` + +GetDependenciesUrl returns the DependenciesUrl field if non-nil, zero value otherwise. + +### GetDependenciesUrlOk + +`func (o *CondaPackageUploadResponse) GetDependenciesUrlOk() (*string, bool)` + +GetDependenciesUrlOk returns a tuple with the DependenciesUrl field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetDependenciesUrl + +`func (o *CondaPackageUploadResponse) SetDependenciesUrl(v string)` + +SetDependenciesUrl sets DependenciesUrl field to given value. + +### HasDependenciesUrl + +`func (o *CondaPackageUploadResponse) HasDependenciesUrl() bool` + +HasDependenciesUrl returns a boolean if a field has been set. + +### GetDescription + +`func (o *CondaPackageUploadResponse) GetDescription() string` + +GetDescription returns the Description field if non-nil, zero value otherwise. + +### GetDescriptionOk + +`func (o *CondaPackageUploadResponse) GetDescriptionOk() (*string, bool)` + +GetDescriptionOk returns a tuple with the Description field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetDescription + +`func (o *CondaPackageUploadResponse) SetDescription(v string)` + +SetDescription sets Description field to given value. + +### HasDescription + +`func (o *CondaPackageUploadResponse) HasDescription() bool` + +HasDescription returns a boolean if a field has been set. + +### GetDistro + +`func (o *CondaPackageUploadResponse) GetDistro() Distribution` + +GetDistro returns the Distro field if non-nil, zero value otherwise. + +### GetDistroOk + +`func (o *CondaPackageUploadResponse) GetDistroOk() (*Distribution, bool)` + +GetDistroOk returns a tuple with the Distro field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetDistro + +`func (o *CondaPackageUploadResponse) SetDistro(v Distribution)` + +SetDistro sets Distro field to given value. + +### HasDistro + +`func (o *CondaPackageUploadResponse) HasDistro() bool` + +HasDistro returns a boolean if a field has been set. + +### SetDistroNil + +`func (o *CondaPackageUploadResponse) SetDistroNil(b bool)` + + SetDistroNil sets the value for Distro to be an explicit nil + +### UnsetDistro +`func (o *CondaPackageUploadResponse) UnsetDistro()` + +UnsetDistro ensures that no value is present for Distro, not even an explicit nil +### GetDistroVersion + +`func (o *CondaPackageUploadResponse) GetDistroVersion() DistributionVersion` + +GetDistroVersion returns the DistroVersion field if non-nil, zero value otherwise. + +### GetDistroVersionOk + +`func (o *CondaPackageUploadResponse) GetDistroVersionOk() (*DistributionVersion, bool)` + +GetDistroVersionOk returns a tuple with the DistroVersion field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetDistroVersion + +`func (o *CondaPackageUploadResponse) SetDistroVersion(v DistributionVersion)` + +SetDistroVersion sets DistroVersion field to given value. + +### HasDistroVersion + +`func (o *CondaPackageUploadResponse) HasDistroVersion() bool` + +HasDistroVersion returns a boolean if a field has been set. + +### GetDownloads + +`func (o *CondaPackageUploadResponse) GetDownloads() int64` + +GetDownloads returns the Downloads field if non-nil, zero value otherwise. + +### GetDownloadsOk + +`func (o *CondaPackageUploadResponse) GetDownloadsOk() (*int64, bool)` + +GetDownloadsOk returns a tuple with the Downloads field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetDownloads + +`func (o *CondaPackageUploadResponse) SetDownloads(v int64)` + +SetDownloads sets Downloads field to given value. + +### HasDownloads + +`func (o *CondaPackageUploadResponse) HasDownloads() bool` + +HasDownloads returns a boolean if a field has been set. + +### GetEpoch + +`func (o *CondaPackageUploadResponse) GetEpoch() int64` + +GetEpoch returns the Epoch field if non-nil, zero value otherwise. + +### GetEpochOk + +`func (o *CondaPackageUploadResponse) GetEpochOk() (*int64, bool)` + +GetEpochOk returns a tuple with the Epoch field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetEpoch + +`func (o *CondaPackageUploadResponse) SetEpoch(v int64)` + +SetEpoch sets Epoch field to given value. + +### HasEpoch + +`func (o *CondaPackageUploadResponse) HasEpoch() bool` + +HasEpoch returns a boolean if a field has been set. + +### GetExtension + +`func (o *CondaPackageUploadResponse) GetExtension() string` + +GetExtension returns the Extension field if non-nil, zero value otherwise. + +### GetExtensionOk + +`func (o *CondaPackageUploadResponse) GetExtensionOk() (*string, bool)` + +GetExtensionOk returns a tuple with the Extension field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetExtension + +`func (o *CondaPackageUploadResponse) SetExtension(v string)` + +SetExtension sets Extension field to given value. + +### HasExtension + +`func (o *CondaPackageUploadResponse) HasExtension() bool` + +HasExtension returns a boolean if a field has been set. + +### GetFilename + +`func (o *CondaPackageUploadResponse) GetFilename() string` + +GetFilename returns the Filename field if non-nil, zero value otherwise. + +### GetFilenameOk + +`func (o *CondaPackageUploadResponse) GetFilenameOk() (*string, bool)` + +GetFilenameOk returns a tuple with the Filename field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetFilename + +`func (o *CondaPackageUploadResponse) SetFilename(v string)` + +SetFilename sets Filename field to given value. + +### HasFilename + +`func (o *CondaPackageUploadResponse) HasFilename() bool` + +HasFilename returns a boolean if a field has been set. + +### GetFiles + +`func (o *CondaPackageUploadResponse) GetFiles() []PackageFile` + +GetFiles returns the Files field if non-nil, zero value otherwise. + +### GetFilesOk + +`func (o *CondaPackageUploadResponse) GetFilesOk() (*[]PackageFile, 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 *CondaPackageUploadResponse) SetFiles(v []PackageFile)` + +SetFiles sets Files field to given value. + +### HasFiles + +`func (o *CondaPackageUploadResponse) HasFiles() bool` + +HasFiles returns a boolean if a field has been set. + +### GetFormat + +`func (o *CondaPackageUploadResponse) GetFormat() string` + +GetFormat returns the Format field if non-nil, zero value otherwise. + +### GetFormatOk + +`func (o *CondaPackageUploadResponse) GetFormatOk() (*string, bool)` + +GetFormatOk returns a tuple with the Format field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetFormat + +`func (o *CondaPackageUploadResponse) SetFormat(v string)` + +SetFormat sets Format field to given value. + +### HasFormat + +`func (o *CondaPackageUploadResponse) HasFormat() bool` + +HasFormat returns a boolean if a field has been set. + +### GetFormatUrl + +`func (o *CondaPackageUploadResponse) GetFormatUrl() string` + +GetFormatUrl returns the FormatUrl field if non-nil, zero value otherwise. + +### GetFormatUrlOk + +`func (o *CondaPackageUploadResponse) GetFormatUrlOk() (*string, bool)` + +GetFormatUrlOk returns a tuple with the FormatUrl field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetFormatUrl + +`func (o *CondaPackageUploadResponse) SetFormatUrl(v string)` + +SetFormatUrl sets FormatUrl field to given value. + +### HasFormatUrl + +`func (o *CondaPackageUploadResponse) HasFormatUrl() bool` + +HasFormatUrl returns a boolean if a field has been set. + +### GetIdentifierPerm + +`func (o *CondaPackageUploadResponse) GetIdentifierPerm() string` + +GetIdentifierPerm returns the IdentifierPerm field if non-nil, zero value otherwise. + +### GetIdentifierPermOk + +`func (o *CondaPackageUploadResponse) GetIdentifierPermOk() (*string, bool)` + +GetIdentifierPermOk returns a tuple with the IdentifierPerm field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetIdentifierPerm + +`func (o *CondaPackageUploadResponse) SetIdentifierPerm(v string)` + +SetIdentifierPerm sets IdentifierPerm field to given value. + +### HasIdentifierPerm + +`func (o *CondaPackageUploadResponse) HasIdentifierPerm() bool` + +HasIdentifierPerm returns a boolean if a field has been set. + +### GetIndexed + +`func (o *CondaPackageUploadResponse) GetIndexed() bool` + +GetIndexed returns the Indexed field if non-nil, zero value otherwise. + +### GetIndexedOk + +`func (o *CondaPackageUploadResponse) GetIndexedOk() (*bool, bool)` + +GetIndexedOk returns a tuple with the Indexed field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetIndexed + +`func (o *CondaPackageUploadResponse) SetIndexed(v bool)` + +SetIndexed sets Indexed field to given value. + +### HasIndexed + +`func (o *CondaPackageUploadResponse) HasIndexed() bool` + +HasIndexed returns a boolean if a field has been set. + +### GetIsDownloadable + +`func (o *CondaPackageUploadResponse) GetIsDownloadable() bool` + +GetIsDownloadable returns the IsDownloadable field if non-nil, zero value otherwise. + +### GetIsDownloadableOk + +`func (o *CondaPackageUploadResponse) GetIsDownloadableOk() (*bool, bool)` + +GetIsDownloadableOk returns a tuple with the IsDownloadable field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetIsDownloadable + +`func (o *CondaPackageUploadResponse) SetIsDownloadable(v bool)` + +SetIsDownloadable sets IsDownloadable field to given value. + +### HasIsDownloadable + +`func (o *CondaPackageUploadResponse) HasIsDownloadable() bool` + +HasIsDownloadable returns a boolean if a field has been set. + +### GetIsQuarantined + +`func (o *CondaPackageUploadResponse) GetIsQuarantined() bool` + +GetIsQuarantined returns the IsQuarantined field if non-nil, zero value otherwise. + +### GetIsQuarantinedOk + +`func (o *CondaPackageUploadResponse) GetIsQuarantinedOk() (*bool, bool)` + +GetIsQuarantinedOk returns a tuple with the IsQuarantined field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetIsQuarantined + +`func (o *CondaPackageUploadResponse) SetIsQuarantined(v bool)` + +SetIsQuarantined sets IsQuarantined field to given value. + +### HasIsQuarantined + +`func (o *CondaPackageUploadResponse) HasIsQuarantined() bool` + +HasIsQuarantined returns a boolean if a field has been set. + +### GetIsSyncAwaiting + +`func (o *CondaPackageUploadResponse) GetIsSyncAwaiting() bool` + +GetIsSyncAwaiting returns the IsSyncAwaiting field if non-nil, zero value otherwise. + +### GetIsSyncAwaitingOk + +`func (o *CondaPackageUploadResponse) GetIsSyncAwaitingOk() (*bool, bool)` + +GetIsSyncAwaitingOk returns a tuple with the IsSyncAwaiting field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetIsSyncAwaiting + +`func (o *CondaPackageUploadResponse) SetIsSyncAwaiting(v bool)` + +SetIsSyncAwaiting sets IsSyncAwaiting field to given value. + +### HasIsSyncAwaiting + +`func (o *CondaPackageUploadResponse) HasIsSyncAwaiting() bool` + +HasIsSyncAwaiting returns a boolean if a field has been set. + +### GetIsSyncCompleted + +`func (o *CondaPackageUploadResponse) GetIsSyncCompleted() bool` + +GetIsSyncCompleted returns the IsSyncCompleted field if non-nil, zero value otherwise. + +### GetIsSyncCompletedOk + +`func (o *CondaPackageUploadResponse) GetIsSyncCompletedOk() (*bool, bool)` + +GetIsSyncCompletedOk returns a tuple with the IsSyncCompleted field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetIsSyncCompleted + +`func (o *CondaPackageUploadResponse) SetIsSyncCompleted(v bool)` + +SetIsSyncCompleted sets IsSyncCompleted field to given value. + +### HasIsSyncCompleted + +`func (o *CondaPackageUploadResponse) HasIsSyncCompleted() bool` + +HasIsSyncCompleted returns a boolean if a field has been set. + +### GetIsSyncFailed + +`func (o *CondaPackageUploadResponse) GetIsSyncFailed() bool` + +GetIsSyncFailed returns the IsSyncFailed field if non-nil, zero value otherwise. + +### GetIsSyncFailedOk + +`func (o *CondaPackageUploadResponse) GetIsSyncFailedOk() (*bool, bool)` + +GetIsSyncFailedOk returns a tuple with the IsSyncFailed field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetIsSyncFailed + +`func (o *CondaPackageUploadResponse) SetIsSyncFailed(v bool)` + +SetIsSyncFailed sets IsSyncFailed field to given value. + +### HasIsSyncFailed + +`func (o *CondaPackageUploadResponse) HasIsSyncFailed() bool` + +HasIsSyncFailed returns a boolean if a field has been set. + +### GetIsSyncInFlight + +`func (o *CondaPackageUploadResponse) GetIsSyncInFlight() bool` + +GetIsSyncInFlight returns the IsSyncInFlight field if non-nil, zero value otherwise. + +### GetIsSyncInFlightOk + +`func (o *CondaPackageUploadResponse) GetIsSyncInFlightOk() (*bool, bool)` + +GetIsSyncInFlightOk returns a tuple with the IsSyncInFlight field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetIsSyncInFlight + +`func (o *CondaPackageUploadResponse) SetIsSyncInFlight(v bool)` + +SetIsSyncInFlight sets IsSyncInFlight field to given value. + +### HasIsSyncInFlight + +`func (o *CondaPackageUploadResponse) HasIsSyncInFlight() bool` + +HasIsSyncInFlight returns a boolean if a field has been set. + +### GetIsSyncInProgress + +`func (o *CondaPackageUploadResponse) GetIsSyncInProgress() bool` + +GetIsSyncInProgress returns the IsSyncInProgress field if non-nil, zero value otherwise. + +### GetIsSyncInProgressOk + +`func (o *CondaPackageUploadResponse) GetIsSyncInProgressOk() (*bool, bool)` + +GetIsSyncInProgressOk returns a tuple with the IsSyncInProgress field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetIsSyncInProgress + +`func (o *CondaPackageUploadResponse) SetIsSyncInProgress(v bool)` + +SetIsSyncInProgress sets IsSyncInProgress field to given value. + +### HasIsSyncInProgress + +`func (o *CondaPackageUploadResponse) HasIsSyncInProgress() bool` + +HasIsSyncInProgress returns a boolean if a field has been set. + +### GetLicense + +`func (o *CondaPackageUploadResponse) GetLicense() string` + +GetLicense returns the License field if non-nil, zero value otherwise. + +### GetLicenseOk + +`func (o *CondaPackageUploadResponse) GetLicenseOk() (*string, bool)` + +GetLicenseOk returns a tuple with the License field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetLicense + +`func (o *CondaPackageUploadResponse) SetLicense(v string)` + +SetLicense sets License field to given value. + +### HasLicense + +`func (o *CondaPackageUploadResponse) HasLicense() bool` + +HasLicense returns a boolean if a field has been set. + +### GetName + +`func (o *CondaPackageUploadResponse) GetName() string` + +GetName returns the Name field if non-nil, zero value otherwise. + +### GetNameOk + +`func (o *CondaPackageUploadResponse) GetNameOk() (*string, bool)` + +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. + +### SetName + +`func (o *CondaPackageUploadResponse) SetName(v string)` + +SetName sets Name field to given value. + +### HasName + +`func (o *CondaPackageUploadResponse) HasName() bool` + +HasName returns a boolean if a field has been set. + +### GetNamespace + +`func (o *CondaPackageUploadResponse) GetNamespace() string` + +GetNamespace returns the Namespace field if non-nil, zero value otherwise. + +### GetNamespaceOk + +`func (o *CondaPackageUploadResponse) GetNamespaceOk() (*string, bool)` + +GetNamespaceOk returns a tuple with the Namespace field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetNamespace + +`func (o *CondaPackageUploadResponse) SetNamespace(v string)` + +SetNamespace sets Namespace field to given value. + +### HasNamespace + +`func (o *CondaPackageUploadResponse) HasNamespace() bool` + +HasNamespace returns a boolean if a field has been set. + +### GetNamespaceUrl + +`func (o *CondaPackageUploadResponse) GetNamespaceUrl() string` + +GetNamespaceUrl returns the NamespaceUrl field if non-nil, zero value otherwise. + +### GetNamespaceUrlOk + +`func (o *CondaPackageUploadResponse) GetNamespaceUrlOk() (*string, bool)` + +GetNamespaceUrlOk returns a tuple with the NamespaceUrl field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetNamespaceUrl + +`func (o *CondaPackageUploadResponse) SetNamespaceUrl(v string)` + +SetNamespaceUrl sets NamespaceUrl field to given value. + +### HasNamespaceUrl + +`func (o *CondaPackageUploadResponse) HasNamespaceUrl() bool` + +HasNamespaceUrl returns a boolean if a field has been set. + +### GetNumFiles + +`func (o *CondaPackageUploadResponse) GetNumFiles() int64` + +GetNumFiles returns the NumFiles field if non-nil, zero value otherwise. + +### GetNumFilesOk + +`func (o *CondaPackageUploadResponse) GetNumFilesOk() (*int64, bool)` + +GetNumFilesOk returns a tuple with the NumFiles field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetNumFiles + +`func (o *CondaPackageUploadResponse) SetNumFiles(v int64)` + +SetNumFiles sets NumFiles field to given value. + +### HasNumFiles + +`func (o *CondaPackageUploadResponse) HasNumFiles() bool` + +HasNumFiles returns a boolean if a field has been set. + +### GetOriginRepository + +`func (o *CondaPackageUploadResponse) GetOriginRepository() string` + +GetOriginRepository returns the OriginRepository field if non-nil, zero value otherwise. + +### GetOriginRepositoryOk + +`func (o *CondaPackageUploadResponse) GetOriginRepositoryOk() (*string, bool)` + +GetOriginRepositoryOk returns a tuple with the OriginRepository field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetOriginRepository + +`func (o *CondaPackageUploadResponse) SetOriginRepository(v string)` + +SetOriginRepository sets OriginRepository field to given value. + +### HasOriginRepository + +`func (o *CondaPackageUploadResponse) HasOriginRepository() bool` + +HasOriginRepository returns a boolean if a field has been set. + +### GetOriginRepositoryUrl + +`func (o *CondaPackageUploadResponse) GetOriginRepositoryUrl() string` + +GetOriginRepositoryUrl returns the OriginRepositoryUrl field if non-nil, zero value otherwise. + +### GetOriginRepositoryUrlOk + +`func (o *CondaPackageUploadResponse) GetOriginRepositoryUrlOk() (*string, bool)` + +GetOriginRepositoryUrlOk returns a tuple with the OriginRepositoryUrl field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetOriginRepositoryUrl + +`func (o *CondaPackageUploadResponse) SetOriginRepositoryUrl(v string)` + +SetOriginRepositoryUrl sets OriginRepositoryUrl field to given value. + +### HasOriginRepositoryUrl + +`func (o *CondaPackageUploadResponse) HasOriginRepositoryUrl() bool` + +HasOriginRepositoryUrl returns a boolean if a field has been set. + +### GetPackageType + +`func (o *CondaPackageUploadResponse) GetPackageType() int64` + +GetPackageType returns the PackageType field if non-nil, zero value otherwise. + +### GetPackageTypeOk + +`func (o *CondaPackageUploadResponse) GetPackageTypeOk() (*int64, bool)` + +GetPackageTypeOk returns a tuple with the PackageType field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetPackageType + +`func (o *CondaPackageUploadResponse) SetPackageType(v int64)` + +SetPackageType sets PackageType field to given value. + +### HasPackageType + +`func (o *CondaPackageUploadResponse) HasPackageType() bool` + +HasPackageType returns a boolean if a field has been set. + +### GetRelease + +`func (o *CondaPackageUploadResponse) GetRelease() string` + +GetRelease returns the Release field if non-nil, zero value otherwise. + +### GetReleaseOk + +`func (o *CondaPackageUploadResponse) GetReleaseOk() (*string, bool)` + +GetReleaseOk returns a tuple with the Release field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetRelease + +`func (o *CondaPackageUploadResponse) SetRelease(v string)` + +SetRelease sets Release field to given value. + +### HasRelease + +`func (o *CondaPackageUploadResponse) HasRelease() bool` + +HasRelease returns a boolean if a field has been set. + +### GetRepository + +`func (o *CondaPackageUploadResponse) GetRepository() string` + +GetRepository returns the Repository field if non-nil, zero value otherwise. + +### GetRepositoryOk + +`func (o *CondaPackageUploadResponse) GetRepositoryOk() (*string, bool)` + +GetRepositoryOk returns a tuple with the Repository field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetRepository + +`func (o *CondaPackageUploadResponse) SetRepository(v string)` + +SetRepository sets Repository field to given value. + +### HasRepository + +`func (o *CondaPackageUploadResponse) HasRepository() bool` + +HasRepository returns a boolean if a field has been set. + +### GetRepositoryUrl + +`func (o *CondaPackageUploadResponse) GetRepositoryUrl() string` + +GetRepositoryUrl returns the RepositoryUrl field if non-nil, zero value otherwise. + +### GetRepositoryUrlOk + +`func (o *CondaPackageUploadResponse) GetRepositoryUrlOk() (*string, bool)` + +GetRepositoryUrlOk returns a tuple with the RepositoryUrl field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetRepositoryUrl + +`func (o *CondaPackageUploadResponse) SetRepositoryUrl(v string)` + +SetRepositoryUrl sets RepositoryUrl field to given value. + +### HasRepositoryUrl + +`func (o *CondaPackageUploadResponse) HasRepositoryUrl() bool` + +HasRepositoryUrl returns a boolean if a field has been set. + +### GetSecurityScanCompletedAt + +`func (o *CondaPackageUploadResponse) GetSecurityScanCompletedAt() time.Time` + +GetSecurityScanCompletedAt returns the SecurityScanCompletedAt field if non-nil, zero value otherwise. + +### GetSecurityScanCompletedAtOk + +`func (o *CondaPackageUploadResponse) GetSecurityScanCompletedAtOk() (*time.Time, bool)` + +GetSecurityScanCompletedAtOk returns a tuple with the SecurityScanCompletedAt field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetSecurityScanCompletedAt + +`func (o *CondaPackageUploadResponse) SetSecurityScanCompletedAt(v time.Time)` + +SetSecurityScanCompletedAt sets SecurityScanCompletedAt field to given value. + +### HasSecurityScanCompletedAt + +`func (o *CondaPackageUploadResponse) HasSecurityScanCompletedAt() bool` + +HasSecurityScanCompletedAt returns a boolean if a field has been set. + +### GetSecurityScanStartedAt + +`func (o *CondaPackageUploadResponse) GetSecurityScanStartedAt() time.Time` + +GetSecurityScanStartedAt returns the SecurityScanStartedAt field if non-nil, zero value otherwise. + +### GetSecurityScanStartedAtOk + +`func (o *CondaPackageUploadResponse) GetSecurityScanStartedAtOk() (*time.Time, bool)` + +GetSecurityScanStartedAtOk returns a tuple with the SecurityScanStartedAt field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetSecurityScanStartedAt + +`func (o *CondaPackageUploadResponse) SetSecurityScanStartedAt(v time.Time)` + +SetSecurityScanStartedAt sets SecurityScanStartedAt field to given value. + +### HasSecurityScanStartedAt + +`func (o *CondaPackageUploadResponse) HasSecurityScanStartedAt() bool` + +HasSecurityScanStartedAt returns a boolean if a field has been set. + +### GetSecurityScanStatus + +`func (o *CondaPackageUploadResponse) GetSecurityScanStatus() string` + +GetSecurityScanStatus returns the SecurityScanStatus field if non-nil, zero value otherwise. + +### GetSecurityScanStatusOk + +`func (o *CondaPackageUploadResponse) GetSecurityScanStatusOk() (*string, bool)` + +GetSecurityScanStatusOk returns a tuple with the SecurityScanStatus field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetSecurityScanStatus + +`func (o *CondaPackageUploadResponse) SetSecurityScanStatus(v string)` + +SetSecurityScanStatus sets SecurityScanStatus field to given value. + +### HasSecurityScanStatus + +`func (o *CondaPackageUploadResponse) HasSecurityScanStatus() bool` + +HasSecurityScanStatus returns a boolean if a field has been set. + +### SetSecurityScanStatusNil + +`func (o *CondaPackageUploadResponse) SetSecurityScanStatusNil(b bool)` + + SetSecurityScanStatusNil sets the value for SecurityScanStatus to be an explicit nil + +### UnsetSecurityScanStatus +`func (o *CondaPackageUploadResponse) UnsetSecurityScanStatus()` + +UnsetSecurityScanStatus ensures that no value is present for SecurityScanStatus, not even an explicit nil +### GetSecurityScanStatusUpdatedAt + +`func (o *CondaPackageUploadResponse) GetSecurityScanStatusUpdatedAt() time.Time` + +GetSecurityScanStatusUpdatedAt returns the SecurityScanStatusUpdatedAt field if non-nil, zero value otherwise. + +### GetSecurityScanStatusUpdatedAtOk + +`func (o *CondaPackageUploadResponse) GetSecurityScanStatusUpdatedAtOk() (*time.Time, bool)` + +GetSecurityScanStatusUpdatedAtOk returns a tuple with the SecurityScanStatusUpdatedAt field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetSecurityScanStatusUpdatedAt + +`func (o *CondaPackageUploadResponse) SetSecurityScanStatusUpdatedAt(v time.Time)` + +SetSecurityScanStatusUpdatedAt sets SecurityScanStatusUpdatedAt field to given value. + +### HasSecurityScanStatusUpdatedAt + +`func (o *CondaPackageUploadResponse) HasSecurityScanStatusUpdatedAt() bool` + +HasSecurityScanStatusUpdatedAt returns a boolean if a field has been set. + +### GetSelfHtmlUrl + +`func (o *CondaPackageUploadResponse) GetSelfHtmlUrl() string` + +GetSelfHtmlUrl returns the SelfHtmlUrl field if non-nil, zero value otherwise. + +### GetSelfHtmlUrlOk + +`func (o *CondaPackageUploadResponse) GetSelfHtmlUrlOk() (*string, bool)` + +GetSelfHtmlUrlOk returns a tuple with the SelfHtmlUrl field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetSelfHtmlUrl + +`func (o *CondaPackageUploadResponse) SetSelfHtmlUrl(v string)` + +SetSelfHtmlUrl sets SelfHtmlUrl field to given value. + +### HasSelfHtmlUrl + +`func (o *CondaPackageUploadResponse) HasSelfHtmlUrl() bool` + +HasSelfHtmlUrl returns a boolean if a field has been set. + +### GetSelfUrl + +`func (o *CondaPackageUploadResponse) GetSelfUrl() string` + +GetSelfUrl returns the SelfUrl field if non-nil, zero value otherwise. + +### GetSelfUrlOk + +`func (o *CondaPackageUploadResponse) GetSelfUrlOk() (*string, bool)` + +GetSelfUrlOk returns a tuple with the SelfUrl field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetSelfUrl + +`func (o *CondaPackageUploadResponse) SetSelfUrl(v string)` + +SetSelfUrl sets SelfUrl field to given value. + +### HasSelfUrl + +`func (o *CondaPackageUploadResponse) HasSelfUrl() bool` + +HasSelfUrl returns a boolean if a field has been set. + +### GetSignatureUrl + +`func (o *CondaPackageUploadResponse) GetSignatureUrl() string` + +GetSignatureUrl returns the SignatureUrl field if non-nil, zero value otherwise. + +### GetSignatureUrlOk + +`func (o *CondaPackageUploadResponse) GetSignatureUrlOk() (*string, bool)` + +GetSignatureUrlOk returns a tuple with the SignatureUrl field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetSignatureUrl + +`func (o *CondaPackageUploadResponse) SetSignatureUrl(v string)` + +SetSignatureUrl sets SignatureUrl field to given value. + +### HasSignatureUrl + +`func (o *CondaPackageUploadResponse) HasSignatureUrl() bool` + +HasSignatureUrl returns a boolean if a field has been set. + +### SetSignatureUrlNil + +`func (o *CondaPackageUploadResponse) SetSignatureUrlNil(b bool)` + + SetSignatureUrlNil sets the value for SignatureUrl to be an explicit nil + +### UnsetSignatureUrl +`func (o *CondaPackageUploadResponse) UnsetSignatureUrl()` + +UnsetSignatureUrl ensures that no value is present for SignatureUrl, not even an explicit nil +### GetSize + +`func (o *CondaPackageUploadResponse) GetSize() int64` + +GetSize returns the Size field if non-nil, zero value otherwise. + +### GetSizeOk + +`func (o *CondaPackageUploadResponse) GetSizeOk() (*int64, bool)` + +GetSizeOk returns a tuple with the Size field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetSize + +`func (o *CondaPackageUploadResponse) SetSize(v int64)` + +SetSize sets Size field to given value. + +### HasSize + +`func (o *CondaPackageUploadResponse) HasSize() bool` + +HasSize returns a boolean if a field has been set. + +### GetSlug + +`func (o *CondaPackageUploadResponse) GetSlug() string` + +GetSlug returns the Slug field if non-nil, zero value otherwise. + +### GetSlugOk + +`func (o *CondaPackageUploadResponse) GetSlugOk() (*string, bool)` + +GetSlugOk returns a tuple with the Slug field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetSlug + +`func (o *CondaPackageUploadResponse) SetSlug(v string)` + +SetSlug sets Slug field to given value. + +### HasSlug + +`func (o *CondaPackageUploadResponse) HasSlug() bool` + +HasSlug returns a boolean if a field has been set. + +### GetSlugPerm + +`func (o *CondaPackageUploadResponse) GetSlugPerm() string` + +GetSlugPerm returns the SlugPerm field if non-nil, zero value otherwise. + +### GetSlugPermOk + +`func (o *CondaPackageUploadResponse) GetSlugPermOk() (*string, bool)` + +GetSlugPermOk returns a tuple with the SlugPerm field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetSlugPerm + +`func (o *CondaPackageUploadResponse) SetSlugPerm(v string)` + +SetSlugPerm sets SlugPerm field to given value. + +### HasSlugPerm + +`func (o *CondaPackageUploadResponse) HasSlugPerm() bool` + +HasSlugPerm returns a boolean if a field has been set. + +### GetStage + +`func (o *CondaPackageUploadResponse) GetStage() int64` + +GetStage returns the Stage field if non-nil, zero value otherwise. + +### GetStageOk + +`func (o *CondaPackageUploadResponse) GetStageOk() (*int64, bool)` + +GetStageOk returns a tuple with the Stage field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetStage + +`func (o *CondaPackageUploadResponse) SetStage(v int64)` + +SetStage sets Stage field to given value. + +### HasStage + +`func (o *CondaPackageUploadResponse) HasStage() bool` + +HasStage returns a boolean if a field has been set. + +### GetStageStr + +`func (o *CondaPackageUploadResponse) GetStageStr() string` + +GetStageStr returns the StageStr field if non-nil, zero value otherwise. + +### GetStageStrOk + +`func (o *CondaPackageUploadResponse) GetStageStrOk() (*string, bool)` + +GetStageStrOk returns a tuple with the StageStr field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetStageStr + +`func (o *CondaPackageUploadResponse) SetStageStr(v string)` + +SetStageStr sets StageStr field to given value. + +### HasStageStr + +`func (o *CondaPackageUploadResponse) HasStageStr() bool` + +HasStageStr returns a boolean if a field has been set. + +### GetStageUpdatedAt + +`func (o *CondaPackageUploadResponse) GetStageUpdatedAt() time.Time` + +GetStageUpdatedAt returns the StageUpdatedAt field if non-nil, zero value otherwise. + +### GetStageUpdatedAtOk + +`func (o *CondaPackageUploadResponse) GetStageUpdatedAtOk() (*time.Time, bool)` + +GetStageUpdatedAtOk returns a tuple with the StageUpdatedAt field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetStageUpdatedAt + +`func (o *CondaPackageUploadResponse) SetStageUpdatedAt(v time.Time)` + +SetStageUpdatedAt sets StageUpdatedAt field to given value. + +### HasStageUpdatedAt + +`func (o *CondaPackageUploadResponse) HasStageUpdatedAt() bool` + +HasStageUpdatedAt returns a boolean if a field has been set. + +### GetStatus + +`func (o *CondaPackageUploadResponse) GetStatus() int64` + +GetStatus returns the Status field if non-nil, zero value otherwise. + +### GetStatusOk + +`func (o *CondaPackageUploadResponse) GetStatusOk() (*int64, bool)` + +GetStatusOk returns a tuple with the Status field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetStatus + +`func (o *CondaPackageUploadResponse) SetStatus(v int64)` + +SetStatus sets Status field to given value. + +### HasStatus + +`func (o *CondaPackageUploadResponse) HasStatus() bool` + +HasStatus returns a boolean if a field has been set. + +### GetStatusReason + +`func (o *CondaPackageUploadResponse) GetStatusReason() string` + +GetStatusReason returns the StatusReason field if non-nil, zero value otherwise. + +### GetStatusReasonOk + +`func (o *CondaPackageUploadResponse) GetStatusReasonOk() (*string, bool)` + +GetStatusReasonOk returns a tuple with the StatusReason field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetStatusReason + +`func (o *CondaPackageUploadResponse) SetStatusReason(v string)` + +SetStatusReason sets StatusReason field to given value. + +### HasStatusReason + +`func (o *CondaPackageUploadResponse) HasStatusReason() bool` + +HasStatusReason returns a boolean if a field has been set. + +### GetStatusStr + +`func (o *CondaPackageUploadResponse) GetStatusStr() string` + +GetStatusStr returns the StatusStr field if non-nil, zero value otherwise. + +### GetStatusStrOk + +`func (o *CondaPackageUploadResponse) GetStatusStrOk() (*string, bool)` + +GetStatusStrOk returns a tuple with the StatusStr field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetStatusStr + +`func (o *CondaPackageUploadResponse) SetStatusStr(v string)` + +SetStatusStr sets StatusStr field to given value. + +### HasStatusStr + +`func (o *CondaPackageUploadResponse) HasStatusStr() bool` + +HasStatusStr returns a boolean if a field has been set. + +### GetStatusUpdatedAt + +`func (o *CondaPackageUploadResponse) GetStatusUpdatedAt() time.Time` + +GetStatusUpdatedAt returns the StatusUpdatedAt field if non-nil, zero value otherwise. + +### GetStatusUpdatedAtOk + +`func (o *CondaPackageUploadResponse) GetStatusUpdatedAtOk() (*time.Time, bool)` + +GetStatusUpdatedAtOk returns a tuple with the StatusUpdatedAt field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetStatusUpdatedAt + +`func (o *CondaPackageUploadResponse) SetStatusUpdatedAt(v time.Time)` + +SetStatusUpdatedAt sets StatusUpdatedAt field to given value. + +### HasStatusUpdatedAt + +`func (o *CondaPackageUploadResponse) HasStatusUpdatedAt() bool` + +HasStatusUpdatedAt returns a boolean if a field has been set. + +### GetStatusUrl + +`func (o *CondaPackageUploadResponse) GetStatusUrl() string` + +GetStatusUrl returns the StatusUrl field if non-nil, zero value otherwise. + +### GetStatusUrlOk + +`func (o *CondaPackageUploadResponse) GetStatusUrlOk() (*string, bool)` + +GetStatusUrlOk returns a tuple with the StatusUrl field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetStatusUrl + +`func (o *CondaPackageUploadResponse) SetStatusUrl(v string)` + +SetStatusUrl sets StatusUrl field to given value. + +### HasStatusUrl + +`func (o *CondaPackageUploadResponse) HasStatusUrl() bool` + +HasStatusUrl returns a boolean if a field has been set. + +### GetSubtype + +`func (o *CondaPackageUploadResponse) GetSubtype() string` + +GetSubtype returns the Subtype field if non-nil, zero value otherwise. + +### GetSubtypeOk + +`func (o *CondaPackageUploadResponse) GetSubtypeOk() (*string, bool)` + +GetSubtypeOk returns a tuple with the Subtype field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetSubtype + +`func (o *CondaPackageUploadResponse) SetSubtype(v string)` + +SetSubtype sets Subtype field to given value. + +### HasSubtype + +`func (o *CondaPackageUploadResponse) HasSubtype() bool` + +HasSubtype returns a boolean if a field has been set. + +### GetSummary + +`func (o *CondaPackageUploadResponse) GetSummary() string` + +GetSummary returns the Summary field if non-nil, zero value otherwise. + +### GetSummaryOk + +`func (o *CondaPackageUploadResponse) GetSummaryOk() (*string, bool)` + +GetSummaryOk returns a tuple with the Summary field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetSummary + +`func (o *CondaPackageUploadResponse) SetSummary(v string)` + +SetSummary sets Summary field to given value. + +### HasSummary + +`func (o *CondaPackageUploadResponse) HasSummary() bool` + +HasSummary returns a boolean if a field has been set. + +### GetSyncFinishedAt + +`func (o *CondaPackageUploadResponse) GetSyncFinishedAt() time.Time` + +GetSyncFinishedAt returns the SyncFinishedAt field if non-nil, zero value otherwise. + +### GetSyncFinishedAtOk + +`func (o *CondaPackageUploadResponse) GetSyncFinishedAtOk() (*time.Time, bool)` + +GetSyncFinishedAtOk returns a tuple with the SyncFinishedAt field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetSyncFinishedAt + +`func (o *CondaPackageUploadResponse) SetSyncFinishedAt(v time.Time)` + +SetSyncFinishedAt sets SyncFinishedAt field to given value. + +### HasSyncFinishedAt + +`func (o *CondaPackageUploadResponse) HasSyncFinishedAt() bool` + +HasSyncFinishedAt returns a boolean if a field has been set. + +### GetSyncProgress + +`func (o *CondaPackageUploadResponse) GetSyncProgress() int64` + +GetSyncProgress returns the SyncProgress field if non-nil, zero value otherwise. + +### GetSyncProgressOk + +`func (o *CondaPackageUploadResponse) GetSyncProgressOk() (*int64, bool)` + +GetSyncProgressOk returns a tuple with the SyncProgress field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetSyncProgress + +`func (o *CondaPackageUploadResponse) SetSyncProgress(v int64)` + +SetSyncProgress sets SyncProgress field to given value. + +### HasSyncProgress + +`func (o *CondaPackageUploadResponse) HasSyncProgress() bool` + +HasSyncProgress returns a boolean if a field has been set. + +### GetTagsImmutable + +`func (o *CondaPackageUploadResponse) GetTagsImmutable() map[string]interface{}` + +GetTagsImmutable returns the TagsImmutable field if non-nil, zero value otherwise. + +### GetTagsImmutableOk + +`func (o *CondaPackageUploadResponse) GetTagsImmutableOk() (*map[string]interface{}, bool)` + +GetTagsImmutableOk returns a tuple with the TagsImmutable field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetTagsImmutable + +`func (o *CondaPackageUploadResponse) SetTagsImmutable(v map[string]interface{})` + +SetTagsImmutable sets TagsImmutable field to given value. + +### HasTagsImmutable + +`func (o *CondaPackageUploadResponse) HasTagsImmutable() bool` + +HasTagsImmutable returns a boolean if a field has been set. + +### GetTypeDisplay + +`func (o *CondaPackageUploadResponse) GetTypeDisplay() string` + +GetTypeDisplay returns the TypeDisplay field if non-nil, zero value otherwise. + +### GetTypeDisplayOk + +`func (o *CondaPackageUploadResponse) GetTypeDisplayOk() (*string, bool)` + +GetTypeDisplayOk returns a tuple with the TypeDisplay field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetTypeDisplay + +`func (o *CondaPackageUploadResponse) SetTypeDisplay(v string)` + +SetTypeDisplay sets TypeDisplay field to given value. + +### HasTypeDisplay + +`func (o *CondaPackageUploadResponse) HasTypeDisplay() bool` + +HasTypeDisplay returns a boolean if a field has been set. + +### GetUploadedAt + +`func (o *CondaPackageUploadResponse) GetUploadedAt() time.Time` + +GetUploadedAt returns the UploadedAt field if non-nil, zero value otherwise. + +### GetUploadedAtOk + +`func (o *CondaPackageUploadResponse) GetUploadedAtOk() (*time.Time, bool)` + +GetUploadedAtOk returns a tuple with the UploadedAt field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetUploadedAt + +`func (o *CondaPackageUploadResponse) SetUploadedAt(v time.Time)` + +SetUploadedAt sets UploadedAt field to given value. + +### HasUploadedAt + +`func (o *CondaPackageUploadResponse) HasUploadedAt() bool` + +HasUploadedAt returns a boolean if a field has been set. + +### GetUploader + +`func (o *CondaPackageUploadResponse) GetUploader() string` + +GetUploader returns the Uploader field if non-nil, zero value otherwise. + +### GetUploaderOk + +`func (o *CondaPackageUploadResponse) GetUploaderOk() (*string, bool)` + +GetUploaderOk returns a tuple with the Uploader field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetUploader + +`func (o *CondaPackageUploadResponse) SetUploader(v string)` + +SetUploader sets Uploader field to given value. + +### HasUploader + +`func (o *CondaPackageUploadResponse) HasUploader() bool` + +HasUploader returns a boolean if a field has been set. + +### GetUploaderUrl + +`func (o *CondaPackageUploadResponse) GetUploaderUrl() string` + +GetUploaderUrl returns the UploaderUrl field if non-nil, zero value otherwise. + +### GetUploaderUrlOk + +`func (o *CondaPackageUploadResponse) GetUploaderUrlOk() (*string, bool)` + +GetUploaderUrlOk returns a tuple with the UploaderUrl field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetUploaderUrl + +`func (o *CondaPackageUploadResponse) SetUploaderUrl(v string)` + +SetUploaderUrl sets UploaderUrl field to given value. + +### HasUploaderUrl + +`func (o *CondaPackageUploadResponse) HasUploaderUrl() bool` + +HasUploaderUrl returns a boolean if a field has been set. + +### GetVersion + +`func (o *CondaPackageUploadResponse) GetVersion() string` + +GetVersion returns the Version field if non-nil, zero value otherwise. + +### GetVersionOk + +`func (o *CondaPackageUploadResponse) GetVersionOk() (*string, bool)` + +GetVersionOk returns a tuple with the Version field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetVersion + +`func (o *CondaPackageUploadResponse) SetVersion(v string)` + +SetVersion sets Version field to given value. + +### HasVersion + +`func (o *CondaPackageUploadResponse) HasVersion() bool` + +HasVersion returns a boolean if a field has been set. + +### GetVersionOrig + +`func (o *CondaPackageUploadResponse) GetVersionOrig() string` + +GetVersionOrig returns the VersionOrig field if non-nil, zero value otherwise. + +### GetVersionOrigOk + +`func (o *CondaPackageUploadResponse) GetVersionOrigOk() (*string, bool)` + +GetVersionOrigOk returns a tuple with the VersionOrig field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetVersionOrig + +`func (o *CondaPackageUploadResponse) SetVersionOrig(v string)` + +SetVersionOrig sets VersionOrig field to given value. + +### HasVersionOrig + +`func (o *CondaPackageUploadResponse) HasVersionOrig() bool` + +HasVersionOrig returns a boolean if a field has been set. + +### GetVulnerabilityScanResultsUrl + +`func (o *CondaPackageUploadResponse) GetVulnerabilityScanResultsUrl() string` + +GetVulnerabilityScanResultsUrl returns the VulnerabilityScanResultsUrl field if non-nil, zero value otherwise. + +### GetVulnerabilityScanResultsUrlOk + +`func (o *CondaPackageUploadResponse) GetVulnerabilityScanResultsUrlOk() (*string, bool)` + +GetVulnerabilityScanResultsUrlOk returns a tuple with the VulnerabilityScanResultsUrl field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetVulnerabilityScanResultsUrl + +`func (o *CondaPackageUploadResponse) SetVulnerabilityScanResultsUrl(v string)` + +SetVulnerabilityScanResultsUrl sets VulnerabilityScanResultsUrl field to given value. + +### HasVulnerabilityScanResultsUrl + +`func (o *CondaPackageUploadResponse) HasVulnerabilityScanResultsUrl() bool` + +HasVulnerabilityScanResultsUrl 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/docs/CranPackageUpload.md b/docs/CranPackageUpload.md deleted file mode 100644 index 89ba8ebe..00000000 --- a/docs/CranPackageUpload.md +++ /dev/null @@ -1,1746 +0,0 @@ -# CranPackageUpload - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**Architectures** | Pointer to [**[]PackagesOwnerRepoArchitectures**](PackagesOwnerRepoArchitectures.md) | | [optional] -**CdnUrl** | Pointer to **string** | | [optional] -**ChecksumMd5** | Pointer to **string** | | [optional] -**ChecksumSha1** | Pointer to **string** | | [optional] -**ChecksumSha256** | Pointer to **string** | | [optional] -**ChecksumSha512** | Pointer to **string** | | [optional] -**DependenciesChecksumMd5** | Pointer to **string** | A checksum of all of the package's dependencies. | [optional] -**DependenciesUrl** | Pointer to **string** | | [optional] -**Description** | Pointer to **string** | A textual description of this package. | [optional] -**Distro** | Pointer to **map[string]interface{}** | | [optional] -**DistroVersion** | Pointer to **map[string]interface{}** | | [optional] -**Downloads** | Pointer to **int64** | | [optional] -**Epoch** | Pointer to **int64** | The epoch of the package version (if any). | [optional] -**Extension** | Pointer to **string** | | [optional] -**Filename** | Pointer to **string** | | [optional] -**Files** | Pointer to [**[]PackagesOwnerRepoFiles**](PackagesOwnerRepoFiles.md) | | [optional] -**Format** | Pointer to **string** | | [optional] -**FormatUrl** | Pointer to **string** | | [optional] -**IdentifierPerm** | Pointer to **string** | Unique and permanent identifier for the package. | [optional] -**Indexed** | Pointer to **bool** | | [optional] -**IsDownloadable** | Pointer to **bool** | | [optional] -**IsQuarantined** | Pointer to **bool** | | [optional] -**IsSyncAwaiting** | Pointer to **bool** | | [optional] -**IsSyncCompleted** | Pointer to **bool** | | [optional] -**IsSyncFailed** | Pointer to **bool** | | [optional] -**IsSyncInFlight** | Pointer to **bool** | | [optional] -**IsSyncInProgress** | Pointer to **bool** | | [optional] -**License** | Pointer to **string** | The license of this package. | [optional] -**Name** | Pointer to **string** | The name of this package. | [optional] -**Namespace** | Pointer to **string** | | [optional] -**NamespaceUrl** | Pointer to **string** | | [optional] -**NumFiles** | Pointer to **int64** | | [optional] -**PackageType** | Pointer to **int64** | The type of package contents. | [optional] -**Release** | Pointer to **string** | The release of the package version (if any). | [optional] -**Repository** | Pointer to **string** | | [optional] -**RepositoryUrl** | Pointer to **string** | | [optional] -**SecurityScanCompletedAt** | Pointer to **string** | The datetime the security scanning was completed. | [optional] -**SecurityScanStartedAt** | Pointer to **string** | The datetime the security scanning was started. | [optional] -**SecurityScanStatus** | Pointer to **string** | | [optional] -**SecurityScanStatusUpdatedAt** | Pointer to **string** | The datetime the security scanning status was updated. | [optional] -**SelfHtmlUrl** | Pointer to **string** | | [optional] -**SelfUrl** | Pointer to **string** | | [optional] -**SignatureUrl** | Pointer to **string** | | [optional] -**Size** | Pointer to **int64** | The calculated size of the package. | [optional] -**Slug** | Pointer to **string** | The public unique identifier for the package. | [optional] -**SlugPerm** | Pointer to **string** | | [optional] -**Stage** | Pointer to **int64** | The synchronisation (in progress) stage of the package. | [optional] -**StageStr** | Pointer to **string** | | [optional] -**StageUpdatedAt** | Pointer to **string** | The datetime the package stage was updated at. | [optional] -**Status** | Pointer to **int64** | The synchronisation status of the package. | [optional] -**StatusReason** | Pointer to **string** | A textual description for the synchronous status reason (if any | [optional] -**StatusStr** | Pointer to **string** | | [optional] -**StatusUpdatedAt** | Pointer to **string** | The datetime the package status was updated at. | [optional] -**StatusUrl** | Pointer to **string** | | [optional] -**Subtype** | Pointer to **string** | | [optional] -**Summary** | Pointer to **string** | A one-liner synopsis of this package. | [optional] -**SyncFinishedAt** | Pointer to **string** | The datetime the package sync was finished at. | [optional] -**SyncProgress** | Pointer to **int64** | Synchronisation progress (from 0-100) | [optional] -**TagsImmutable** | Pointer to **map[string]interface{}** | All immutable tags on the package, grouped by tag type. Immutable tags cannot be (easily) deleted. | [optional] -**TypeDisplay** | Pointer to **string** | | [optional] -**UploadedAt** | Pointer to **string** | The date this package was uploaded. | [optional] -**Uploader** | Pointer to **string** | | [optional] -**UploaderUrl** | Pointer to **string** | | [optional] -**Version** | Pointer to **string** | The raw version for this package. | [optional] -**VersionOrig** | Pointer to **string** | | [optional] -**VulnerabilityScanResultsUrl** | Pointer to **string** | | [optional] - -## Methods - -### NewCranPackageUpload - -`func NewCranPackageUpload() *CranPackageUpload` - -NewCranPackageUpload instantiates a new CranPackageUpload object -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 - -### NewCranPackageUploadWithDefaults - -`func NewCranPackageUploadWithDefaults() *CranPackageUpload` - -NewCranPackageUploadWithDefaults instantiates a new CranPackageUpload object -This constructor will only assign default values to properties that have it defined, -but it doesn't guarantee that properties required by API are set - -### GetArchitectures - -`func (o *CranPackageUpload) GetArchitectures() []PackagesOwnerRepoArchitectures` - -GetArchitectures returns the Architectures field if non-nil, zero value otherwise. - -### GetArchitecturesOk - -`func (o *CranPackageUpload) GetArchitecturesOk() (*[]PackagesOwnerRepoArchitectures, bool)` - -GetArchitecturesOk returns a tuple with the Architectures field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetArchitectures - -`func (o *CranPackageUpload) SetArchitectures(v []PackagesOwnerRepoArchitectures)` - -SetArchitectures sets Architectures field to given value. - -### HasArchitectures - -`func (o *CranPackageUpload) HasArchitectures() bool` - -HasArchitectures returns a boolean if a field has been set. - -### GetCdnUrl - -`func (o *CranPackageUpload) GetCdnUrl() string` - -GetCdnUrl returns the CdnUrl field if non-nil, zero value otherwise. - -### GetCdnUrlOk - -`func (o *CranPackageUpload) GetCdnUrlOk() (*string, bool)` - -GetCdnUrlOk returns a tuple with the CdnUrl field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetCdnUrl - -`func (o *CranPackageUpload) SetCdnUrl(v string)` - -SetCdnUrl sets CdnUrl field to given value. - -### HasCdnUrl - -`func (o *CranPackageUpload) HasCdnUrl() bool` - -HasCdnUrl returns a boolean if a field has been set. - -### GetChecksumMd5 - -`func (o *CranPackageUpload) GetChecksumMd5() string` - -GetChecksumMd5 returns the ChecksumMd5 field if non-nil, zero value otherwise. - -### GetChecksumMd5Ok - -`func (o *CranPackageUpload) GetChecksumMd5Ok() (*string, bool)` - -GetChecksumMd5Ok returns a tuple with the ChecksumMd5 field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetChecksumMd5 - -`func (o *CranPackageUpload) SetChecksumMd5(v string)` - -SetChecksumMd5 sets ChecksumMd5 field to given value. - -### HasChecksumMd5 - -`func (o *CranPackageUpload) HasChecksumMd5() bool` - -HasChecksumMd5 returns a boolean if a field has been set. - -### GetChecksumSha1 - -`func (o *CranPackageUpload) GetChecksumSha1() string` - -GetChecksumSha1 returns the ChecksumSha1 field if non-nil, zero value otherwise. - -### GetChecksumSha1Ok - -`func (o *CranPackageUpload) GetChecksumSha1Ok() (*string, bool)` - -GetChecksumSha1Ok returns a tuple with the ChecksumSha1 field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetChecksumSha1 - -`func (o *CranPackageUpload) SetChecksumSha1(v string)` - -SetChecksumSha1 sets ChecksumSha1 field to given value. - -### HasChecksumSha1 - -`func (o *CranPackageUpload) HasChecksumSha1() bool` - -HasChecksumSha1 returns a boolean if a field has been set. - -### GetChecksumSha256 - -`func (o *CranPackageUpload) GetChecksumSha256() string` - -GetChecksumSha256 returns the ChecksumSha256 field if non-nil, zero value otherwise. - -### GetChecksumSha256Ok - -`func (o *CranPackageUpload) GetChecksumSha256Ok() (*string, bool)` - -GetChecksumSha256Ok returns a tuple with the ChecksumSha256 field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetChecksumSha256 - -`func (o *CranPackageUpload) SetChecksumSha256(v string)` - -SetChecksumSha256 sets ChecksumSha256 field to given value. - -### HasChecksumSha256 - -`func (o *CranPackageUpload) HasChecksumSha256() bool` - -HasChecksumSha256 returns a boolean if a field has been set. - -### GetChecksumSha512 - -`func (o *CranPackageUpload) GetChecksumSha512() string` - -GetChecksumSha512 returns the ChecksumSha512 field if non-nil, zero value otherwise. - -### GetChecksumSha512Ok - -`func (o *CranPackageUpload) GetChecksumSha512Ok() (*string, bool)` - -GetChecksumSha512Ok returns a tuple with the ChecksumSha512 field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetChecksumSha512 - -`func (o *CranPackageUpload) SetChecksumSha512(v string)` - -SetChecksumSha512 sets ChecksumSha512 field to given value. - -### HasChecksumSha512 - -`func (o *CranPackageUpload) HasChecksumSha512() bool` - -HasChecksumSha512 returns a boolean if a field has been set. - -### GetDependenciesChecksumMd5 - -`func (o *CranPackageUpload) GetDependenciesChecksumMd5() string` - -GetDependenciesChecksumMd5 returns the DependenciesChecksumMd5 field if non-nil, zero value otherwise. - -### GetDependenciesChecksumMd5Ok - -`func (o *CranPackageUpload) GetDependenciesChecksumMd5Ok() (*string, bool)` - -GetDependenciesChecksumMd5Ok returns a tuple with the DependenciesChecksumMd5 field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetDependenciesChecksumMd5 - -`func (o *CranPackageUpload) SetDependenciesChecksumMd5(v string)` - -SetDependenciesChecksumMd5 sets DependenciesChecksumMd5 field to given value. - -### HasDependenciesChecksumMd5 - -`func (o *CranPackageUpload) HasDependenciesChecksumMd5() bool` - -HasDependenciesChecksumMd5 returns a boolean if a field has been set. - -### GetDependenciesUrl - -`func (o *CranPackageUpload) GetDependenciesUrl() string` - -GetDependenciesUrl returns the DependenciesUrl field if non-nil, zero value otherwise. - -### GetDependenciesUrlOk - -`func (o *CranPackageUpload) GetDependenciesUrlOk() (*string, bool)` - -GetDependenciesUrlOk returns a tuple with the DependenciesUrl field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetDependenciesUrl - -`func (o *CranPackageUpload) SetDependenciesUrl(v string)` - -SetDependenciesUrl sets DependenciesUrl field to given value. - -### HasDependenciesUrl - -`func (o *CranPackageUpload) HasDependenciesUrl() bool` - -HasDependenciesUrl returns a boolean if a field has been set. - -### GetDescription - -`func (o *CranPackageUpload) GetDescription() string` - -GetDescription returns the Description field if non-nil, zero value otherwise. - -### GetDescriptionOk - -`func (o *CranPackageUpload) GetDescriptionOk() (*string, bool)` - -GetDescriptionOk returns a tuple with the Description field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetDescription - -`func (o *CranPackageUpload) SetDescription(v string)` - -SetDescription sets Description field to given value. - -### HasDescription - -`func (o *CranPackageUpload) HasDescription() bool` - -HasDescription returns a boolean if a field has been set. - -### GetDistro - -`func (o *CranPackageUpload) GetDistro() map[string]interface{}` - -GetDistro returns the Distro field if non-nil, zero value otherwise. - -### GetDistroOk - -`func (o *CranPackageUpload) GetDistroOk() (*map[string]interface{}, bool)` - -GetDistroOk returns a tuple with the Distro field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetDistro - -`func (o *CranPackageUpload) SetDistro(v map[string]interface{})` - -SetDistro sets Distro field to given value. - -### HasDistro - -`func (o *CranPackageUpload) HasDistro() bool` - -HasDistro returns a boolean if a field has been set. - -### GetDistroVersion - -`func (o *CranPackageUpload) GetDistroVersion() map[string]interface{}` - -GetDistroVersion returns the DistroVersion field if non-nil, zero value otherwise. - -### GetDistroVersionOk - -`func (o *CranPackageUpload) GetDistroVersionOk() (*map[string]interface{}, bool)` - -GetDistroVersionOk returns a tuple with the DistroVersion field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetDistroVersion - -`func (o *CranPackageUpload) SetDistroVersion(v map[string]interface{})` - -SetDistroVersion sets DistroVersion field to given value. - -### HasDistroVersion - -`func (o *CranPackageUpload) HasDistroVersion() bool` - -HasDistroVersion returns a boolean if a field has been set. - -### GetDownloads - -`func (o *CranPackageUpload) GetDownloads() int64` - -GetDownloads returns the Downloads field if non-nil, zero value otherwise. - -### GetDownloadsOk - -`func (o *CranPackageUpload) GetDownloadsOk() (*int64, bool)` - -GetDownloadsOk returns a tuple with the Downloads field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetDownloads - -`func (o *CranPackageUpload) SetDownloads(v int64)` - -SetDownloads sets Downloads field to given value. - -### HasDownloads - -`func (o *CranPackageUpload) HasDownloads() bool` - -HasDownloads returns a boolean if a field has been set. - -### GetEpoch - -`func (o *CranPackageUpload) GetEpoch() int64` - -GetEpoch returns the Epoch field if non-nil, zero value otherwise. - -### GetEpochOk - -`func (o *CranPackageUpload) GetEpochOk() (*int64, bool)` - -GetEpochOk returns a tuple with the Epoch field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetEpoch - -`func (o *CranPackageUpload) SetEpoch(v int64)` - -SetEpoch sets Epoch field to given value. - -### HasEpoch - -`func (o *CranPackageUpload) HasEpoch() bool` - -HasEpoch returns a boolean if a field has been set. - -### GetExtension - -`func (o *CranPackageUpload) GetExtension() string` - -GetExtension returns the Extension field if non-nil, zero value otherwise. - -### GetExtensionOk - -`func (o *CranPackageUpload) GetExtensionOk() (*string, bool)` - -GetExtensionOk returns a tuple with the Extension field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetExtension - -`func (o *CranPackageUpload) SetExtension(v string)` - -SetExtension sets Extension field to given value. - -### HasExtension - -`func (o *CranPackageUpload) HasExtension() bool` - -HasExtension returns a boolean if a field has been set. - -### GetFilename - -`func (o *CranPackageUpload) GetFilename() string` - -GetFilename returns the Filename field if non-nil, zero value otherwise. - -### GetFilenameOk - -`func (o *CranPackageUpload) GetFilenameOk() (*string, bool)` - -GetFilenameOk returns a tuple with the Filename field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetFilename - -`func (o *CranPackageUpload) SetFilename(v string)` - -SetFilename sets Filename field to given value. - -### HasFilename - -`func (o *CranPackageUpload) HasFilename() bool` - -HasFilename returns a boolean if a field has been set. - -### GetFiles - -`func (o *CranPackageUpload) GetFiles() []PackagesOwnerRepoFiles` - -GetFiles returns the Files field if non-nil, zero value otherwise. - -### GetFilesOk - -`func (o *CranPackageUpload) GetFilesOk() (*[]PackagesOwnerRepoFiles, 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 *CranPackageUpload) SetFiles(v []PackagesOwnerRepoFiles)` - -SetFiles sets Files field to given value. - -### HasFiles - -`func (o *CranPackageUpload) HasFiles() bool` - -HasFiles returns a boolean if a field has been set. - -### GetFormat - -`func (o *CranPackageUpload) GetFormat() string` - -GetFormat returns the Format field if non-nil, zero value otherwise. - -### GetFormatOk - -`func (o *CranPackageUpload) GetFormatOk() (*string, bool)` - -GetFormatOk returns a tuple with the Format field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetFormat - -`func (o *CranPackageUpload) SetFormat(v string)` - -SetFormat sets Format field to given value. - -### HasFormat - -`func (o *CranPackageUpload) HasFormat() bool` - -HasFormat returns a boolean if a field has been set. - -### GetFormatUrl - -`func (o *CranPackageUpload) GetFormatUrl() string` - -GetFormatUrl returns the FormatUrl field if non-nil, zero value otherwise. - -### GetFormatUrlOk - -`func (o *CranPackageUpload) GetFormatUrlOk() (*string, bool)` - -GetFormatUrlOk returns a tuple with the FormatUrl field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetFormatUrl - -`func (o *CranPackageUpload) SetFormatUrl(v string)` - -SetFormatUrl sets FormatUrl field to given value. - -### HasFormatUrl - -`func (o *CranPackageUpload) HasFormatUrl() bool` - -HasFormatUrl returns a boolean if a field has been set. - -### GetIdentifierPerm - -`func (o *CranPackageUpload) GetIdentifierPerm() string` - -GetIdentifierPerm returns the IdentifierPerm field if non-nil, zero value otherwise. - -### GetIdentifierPermOk - -`func (o *CranPackageUpload) GetIdentifierPermOk() (*string, bool)` - -GetIdentifierPermOk returns a tuple with the IdentifierPerm field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetIdentifierPerm - -`func (o *CranPackageUpload) SetIdentifierPerm(v string)` - -SetIdentifierPerm sets IdentifierPerm field to given value. - -### HasIdentifierPerm - -`func (o *CranPackageUpload) HasIdentifierPerm() bool` - -HasIdentifierPerm returns a boolean if a field has been set. - -### GetIndexed - -`func (o *CranPackageUpload) GetIndexed() bool` - -GetIndexed returns the Indexed field if non-nil, zero value otherwise. - -### GetIndexedOk - -`func (o *CranPackageUpload) GetIndexedOk() (*bool, bool)` - -GetIndexedOk returns a tuple with the Indexed field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetIndexed - -`func (o *CranPackageUpload) SetIndexed(v bool)` - -SetIndexed sets Indexed field to given value. - -### HasIndexed - -`func (o *CranPackageUpload) HasIndexed() bool` - -HasIndexed returns a boolean if a field has been set. - -### GetIsDownloadable - -`func (o *CranPackageUpload) GetIsDownloadable() bool` - -GetIsDownloadable returns the IsDownloadable field if non-nil, zero value otherwise. - -### GetIsDownloadableOk - -`func (o *CranPackageUpload) GetIsDownloadableOk() (*bool, bool)` - -GetIsDownloadableOk returns a tuple with the IsDownloadable field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetIsDownloadable - -`func (o *CranPackageUpload) SetIsDownloadable(v bool)` - -SetIsDownloadable sets IsDownloadable field to given value. - -### HasIsDownloadable - -`func (o *CranPackageUpload) HasIsDownloadable() bool` - -HasIsDownloadable returns a boolean if a field has been set. - -### GetIsQuarantined - -`func (o *CranPackageUpload) GetIsQuarantined() bool` - -GetIsQuarantined returns the IsQuarantined field if non-nil, zero value otherwise. - -### GetIsQuarantinedOk - -`func (o *CranPackageUpload) GetIsQuarantinedOk() (*bool, bool)` - -GetIsQuarantinedOk returns a tuple with the IsQuarantined field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetIsQuarantined - -`func (o *CranPackageUpload) SetIsQuarantined(v bool)` - -SetIsQuarantined sets IsQuarantined field to given value. - -### HasIsQuarantined - -`func (o *CranPackageUpload) HasIsQuarantined() bool` - -HasIsQuarantined returns a boolean if a field has been set. - -### GetIsSyncAwaiting - -`func (o *CranPackageUpload) GetIsSyncAwaiting() bool` - -GetIsSyncAwaiting returns the IsSyncAwaiting field if non-nil, zero value otherwise. - -### GetIsSyncAwaitingOk - -`func (o *CranPackageUpload) GetIsSyncAwaitingOk() (*bool, bool)` - -GetIsSyncAwaitingOk returns a tuple with the IsSyncAwaiting field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetIsSyncAwaiting - -`func (o *CranPackageUpload) SetIsSyncAwaiting(v bool)` - -SetIsSyncAwaiting sets IsSyncAwaiting field to given value. - -### HasIsSyncAwaiting - -`func (o *CranPackageUpload) HasIsSyncAwaiting() bool` - -HasIsSyncAwaiting returns a boolean if a field has been set. - -### GetIsSyncCompleted - -`func (o *CranPackageUpload) GetIsSyncCompleted() bool` - -GetIsSyncCompleted returns the IsSyncCompleted field if non-nil, zero value otherwise. - -### GetIsSyncCompletedOk - -`func (o *CranPackageUpload) GetIsSyncCompletedOk() (*bool, bool)` - -GetIsSyncCompletedOk returns a tuple with the IsSyncCompleted field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetIsSyncCompleted - -`func (o *CranPackageUpload) SetIsSyncCompleted(v bool)` - -SetIsSyncCompleted sets IsSyncCompleted field to given value. - -### HasIsSyncCompleted - -`func (o *CranPackageUpload) HasIsSyncCompleted() bool` - -HasIsSyncCompleted returns a boolean if a field has been set. - -### GetIsSyncFailed - -`func (o *CranPackageUpload) GetIsSyncFailed() bool` - -GetIsSyncFailed returns the IsSyncFailed field if non-nil, zero value otherwise. - -### GetIsSyncFailedOk - -`func (o *CranPackageUpload) GetIsSyncFailedOk() (*bool, bool)` - -GetIsSyncFailedOk returns a tuple with the IsSyncFailed field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetIsSyncFailed - -`func (o *CranPackageUpload) SetIsSyncFailed(v bool)` - -SetIsSyncFailed sets IsSyncFailed field to given value. - -### HasIsSyncFailed - -`func (o *CranPackageUpload) HasIsSyncFailed() bool` - -HasIsSyncFailed returns a boolean if a field has been set. - -### GetIsSyncInFlight - -`func (o *CranPackageUpload) GetIsSyncInFlight() bool` - -GetIsSyncInFlight returns the IsSyncInFlight field if non-nil, zero value otherwise. - -### GetIsSyncInFlightOk - -`func (o *CranPackageUpload) GetIsSyncInFlightOk() (*bool, bool)` - -GetIsSyncInFlightOk returns a tuple with the IsSyncInFlight field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetIsSyncInFlight - -`func (o *CranPackageUpload) SetIsSyncInFlight(v bool)` - -SetIsSyncInFlight sets IsSyncInFlight field to given value. - -### HasIsSyncInFlight - -`func (o *CranPackageUpload) HasIsSyncInFlight() bool` - -HasIsSyncInFlight returns a boolean if a field has been set. - -### GetIsSyncInProgress - -`func (o *CranPackageUpload) GetIsSyncInProgress() bool` - -GetIsSyncInProgress returns the IsSyncInProgress field if non-nil, zero value otherwise. - -### GetIsSyncInProgressOk - -`func (o *CranPackageUpload) GetIsSyncInProgressOk() (*bool, bool)` - -GetIsSyncInProgressOk returns a tuple with the IsSyncInProgress field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetIsSyncInProgress - -`func (o *CranPackageUpload) SetIsSyncInProgress(v bool)` - -SetIsSyncInProgress sets IsSyncInProgress field to given value. - -### HasIsSyncInProgress - -`func (o *CranPackageUpload) HasIsSyncInProgress() bool` - -HasIsSyncInProgress returns a boolean if a field has been set. - -### GetLicense - -`func (o *CranPackageUpload) GetLicense() string` - -GetLicense returns the License field if non-nil, zero value otherwise. - -### GetLicenseOk - -`func (o *CranPackageUpload) GetLicenseOk() (*string, bool)` - -GetLicenseOk returns a tuple with the License field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetLicense - -`func (o *CranPackageUpload) SetLicense(v string)` - -SetLicense sets License field to given value. - -### HasLicense - -`func (o *CranPackageUpload) HasLicense() bool` - -HasLicense returns a boolean if a field has been set. - -### GetName - -`func (o *CranPackageUpload) GetName() string` - -GetName returns the Name field if non-nil, zero value otherwise. - -### GetNameOk - -`func (o *CranPackageUpload) GetNameOk() (*string, bool)` - -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. - -### SetName - -`func (o *CranPackageUpload) SetName(v string)` - -SetName sets Name field to given value. - -### HasName - -`func (o *CranPackageUpload) HasName() bool` - -HasName returns a boolean if a field has been set. - -### GetNamespace - -`func (o *CranPackageUpload) GetNamespace() string` - -GetNamespace returns the Namespace field if non-nil, zero value otherwise. - -### GetNamespaceOk - -`func (o *CranPackageUpload) GetNamespaceOk() (*string, bool)` - -GetNamespaceOk returns a tuple with the Namespace field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetNamespace - -`func (o *CranPackageUpload) SetNamespace(v string)` - -SetNamespace sets Namespace field to given value. - -### HasNamespace - -`func (o *CranPackageUpload) HasNamespace() bool` - -HasNamespace returns a boolean if a field has been set. - -### GetNamespaceUrl - -`func (o *CranPackageUpload) GetNamespaceUrl() string` - -GetNamespaceUrl returns the NamespaceUrl field if non-nil, zero value otherwise. - -### GetNamespaceUrlOk - -`func (o *CranPackageUpload) GetNamespaceUrlOk() (*string, bool)` - -GetNamespaceUrlOk returns a tuple with the NamespaceUrl field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetNamespaceUrl - -`func (o *CranPackageUpload) SetNamespaceUrl(v string)` - -SetNamespaceUrl sets NamespaceUrl field to given value. - -### HasNamespaceUrl - -`func (o *CranPackageUpload) HasNamespaceUrl() bool` - -HasNamespaceUrl returns a boolean if a field has been set. - -### GetNumFiles - -`func (o *CranPackageUpload) GetNumFiles() int64` - -GetNumFiles returns the NumFiles field if non-nil, zero value otherwise. - -### GetNumFilesOk - -`func (o *CranPackageUpload) GetNumFilesOk() (*int64, bool)` - -GetNumFilesOk returns a tuple with the NumFiles field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetNumFiles - -`func (o *CranPackageUpload) SetNumFiles(v int64)` - -SetNumFiles sets NumFiles field to given value. - -### HasNumFiles - -`func (o *CranPackageUpload) HasNumFiles() bool` - -HasNumFiles returns a boolean if a field has been set. - -### GetPackageType - -`func (o *CranPackageUpload) GetPackageType() int64` - -GetPackageType returns the PackageType field if non-nil, zero value otherwise. - -### GetPackageTypeOk - -`func (o *CranPackageUpload) GetPackageTypeOk() (*int64, bool)` - -GetPackageTypeOk returns a tuple with the PackageType field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetPackageType - -`func (o *CranPackageUpload) SetPackageType(v int64)` - -SetPackageType sets PackageType field to given value. - -### HasPackageType - -`func (o *CranPackageUpload) HasPackageType() bool` - -HasPackageType returns a boolean if a field has been set. - -### GetRelease - -`func (o *CranPackageUpload) GetRelease() string` - -GetRelease returns the Release field if non-nil, zero value otherwise. - -### GetReleaseOk - -`func (o *CranPackageUpload) GetReleaseOk() (*string, bool)` - -GetReleaseOk returns a tuple with the Release field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetRelease - -`func (o *CranPackageUpload) SetRelease(v string)` - -SetRelease sets Release field to given value. - -### HasRelease - -`func (o *CranPackageUpload) HasRelease() bool` - -HasRelease returns a boolean if a field has been set. - -### GetRepository - -`func (o *CranPackageUpload) GetRepository() string` - -GetRepository returns the Repository field if non-nil, zero value otherwise. - -### GetRepositoryOk - -`func (o *CranPackageUpload) GetRepositoryOk() (*string, bool)` - -GetRepositoryOk returns a tuple with the Repository field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetRepository - -`func (o *CranPackageUpload) SetRepository(v string)` - -SetRepository sets Repository field to given value. - -### HasRepository - -`func (o *CranPackageUpload) HasRepository() bool` - -HasRepository returns a boolean if a field has been set. - -### GetRepositoryUrl - -`func (o *CranPackageUpload) GetRepositoryUrl() string` - -GetRepositoryUrl returns the RepositoryUrl field if non-nil, zero value otherwise. - -### GetRepositoryUrlOk - -`func (o *CranPackageUpload) GetRepositoryUrlOk() (*string, bool)` - -GetRepositoryUrlOk returns a tuple with the RepositoryUrl field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetRepositoryUrl - -`func (o *CranPackageUpload) SetRepositoryUrl(v string)` - -SetRepositoryUrl sets RepositoryUrl field to given value. - -### HasRepositoryUrl - -`func (o *CranPackageUpload) HasRepositoryUrl() bool` - -HasRepositoryUrl returns a boolean if a field has been set. - -### GetSecurityScanCompletedAt - -`func (o *CranPackageUpload) GetSecurityScanCompletedAt() string` - -GetSecurityScanCompletedAt returns the SecurityScanCompletedAt field if non-nil, zero value otherwise. - -### GetSecurityScanCompletedAtOk - -`func (o *CranPackageUpload) GetSecurityScanCompletedAtOk() (*string, bool)` - -GetSecurityScanCompletedAtOk returns a tuple with the SecurityScanCompletedAt field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetSecurityScanCompletedAt - -`func (o *CranPackageUpload) SetSecurityScanCompletedAt(v string)` - -SetSecurityScanCompletedAt sets SecurityScanCompletedAt field to given value. - -### HasSecurityScanCompletedAt - -`func (o *CranPackageUpload) HasSecurityScanCompletedAt() bool` - -HasSecurityScanCompletedAt returns a boolean if a field has been set. - -### GetSecurityScanStartedAt - -`func (o *CranPackageUpload) GetSecurityScanStartedAt() string` - -GetSecurityScanStartedAt returns the SecurityScanStartedAt field if non-nil, zero value otherwise. - -### GetSecurityScanStartedAtOk - -`func (o *CranPackageUpload) GetSecurityScanStartedAtOk() (*string, bool)` - -GetSecurityScanStartedAtOk returns a tuple with the SecurityScanStartedAt field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetSecurityScanStartedAt - -`func (o *CranPackageUpload) SetSecurityScanStartedAt(v string)` - -SetSecurityScanStartedAt sets SecurityScanStartedAt field to given value. - -### HasSecurityScanStartedAt - -`func (o *CranPackageUpload) HasSecurityScanStartedAt() bool` - -HasSecurityScanStartedAt returns a boolean if a field has been set. - -### GetSecurityScanStatus - -`func (o *CranPackageUpload) GetSecurityScanStatus() string` - -GetSecurityScanStatus returns the SecurityScanStatus field if non-nil, zero value otherwise. - -### GetSecurityScanStatusOk - -`func (o *CranPackageUpload) GetSecurityScanStatusOk() (*string, bool)` - -GetSecurityScanStatusOk returns a tuple with the SecurityScanStatus field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetSecurityScanStatus - -`func (o *CranPackageUpload) SetSecurityScanStatus(v string)` - -SetSecurityScanStatus sets SecurityScanStatus field to given value. - -### HasSecurityScanStatus - -`func (o *CranPackageUpload) HasSecurityScanStatus() bool` - -HasSecurityScanStatus returns a boolean if a field has been set. - -### GetSecurityScanStatusUpdatedAt - -`func (o *CranPackageUpload) GetSecurityScanStatusUpdatedAt() string` - -GetSecurityScanStatusUpdatedAt returns the SecurityScanStatusUpdatedAt field if non-nil, zero value otherwise. - -### GetSecurityScanStatusUpdatedAtOk - -`func (o *CranPackageUpload) GetSecurityScanStatusUpdatedAtOk() (*string, bool)` - -GetSecurityScanStatusUpdatedAtOk returns a tuple with the SecurityScanStatusUpdatedAt field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetSecurityScanStatusUpdatedAt - -`func (o *CranPackageUpload) SetSecurityScanStatusUpdatedAt(v string)` - -SetSecurityScanStatusUpdatedAt sets SecurityScanStatusUpdatedAt field to given value. - -### HasSecurityScanStatusUpdatedAt - -`func (o *CranPackageUpload) HasSecurityScanStatusUpdatedAt() bool` - -HasSecurityScanStatusUpdatedAt returns a boolean if a field has been set. - -### GetSelfHtmlUrl - -`func (o *CranPackageUpload) GetSelfHtmlUrl() string` - -GetSelfHtmlUrl returns the SelfHtmlUrl field if non-nil, zero value otherwise. - -### GetSelfHtmlUrlOk - -`func (o *CranPackageUpload) GetSelfHtmlUrlOk() (*string, bool)` - -GetSelfHtmlUrlOk returns a tuple with the SelfHtmlUrl field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetSelfHtmlUrl - -`func (o *CranPackageUpload) SetSelfHtmlUrl(v string)` - -SetSelfHtmlUrl sets SelfHtmlUrl field to given value. - -### HasSelfHtmlUrl - -`func (o *CranPackageUpload) HasSelfHtmlUrl() bool` - -HasSelfHtmlUrl returns a boolean if a field has been set. - -### GetSelfUrl - -`func (o *CranPackageUpload) GetSelfUrl() string` - -GetSelfUrl returns the SelfUrl field if non-nil, zero value otherwise. - -### GetSelfUrlOk - -`func (o *CranPackageUpload) GetSelfUrlOk() (*string, bool)` - -GetSelfUrlOk returns a tuple with the SelfUrl field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetSelfUrl - -`func (o *CranPackageUpload) SetSelfUrl(v string)` - -SetSelfUrl sets SelfUrl field to given value. - -### HasSelfUrl - -`func (o *CranPackageUpload) HasSelfUrl() bool` - -HasSelfUrl returns a boolean if a field has been set. - -### GetSignatureUrl - -`func (o *CranPackageUpload) GetSignatureUrl() string` - -GetSignatureUrl returns the SignatureUrl field if non-nil, zero value otherwise. - -### GetSignatureUrlOk - -`func (o *CranPackageUpload) GetSignatureUrlOk() (*string, bool)` - -GetSignatureUrlOk returns a tuple with the SignatureUrl field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetSignatureUrl - -`func (o *CranPackageUpload) SetSignatureUrl(v string)` - -SetSignatureUrl sets SignatureUrl field to given value. - -### HasSignatureUrl - -`func (o *CranPackageUpload) HasSignatureUrl() bool` - -HasSignatureUrl returns a boolean if a field has been set. - -### GetSize - -`func (o *CranPackageUpload) GetSize() int64` - -GetSize returns the Size field if non-nil, zero value otherwise. - -### GetSizeOk - -`func (o *CranPackageUpload) GetSizeOk() (*int64, bool)` - -GetSizeOk returns a tuple with the Size field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetSize - -`func (o *CranPackageUpload) SetSize(v int64)` - -SetSize sets Size field to given value. - -### HasSize - -`func (o *CranPackageUpload) HasSize() bool` - -HasSize returns a boolean if a field has been set. - -### GetSlug - -`func (o *CranPackageUpload) GetSlug() string` - -GetSlug returns the Slug field if non-nil, zero value otherwise. - -### GetSlugOk - -`func (o *CranPackageUpload) GetSlugOk() (*string, bool)` - -GetSlugOk returns a tuple with the Slug field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetSlug - -`func (o *CranPackageUpload) SetSlug(v string)` - -SetSlug sets Slug field to given value. - -### HasSlug - -`func (o *CranPackageUpload) HasSlug() bool` - -HasSlug returns a boolean if a field has been set. - -### GetSlugPerm - -`func (o *CranPackageUpload) GetSlugPerm() string` - -GetSlugPerm returns the SlugPerm field if non-nil, zero value otherwise. - -### GetSlugPermOk - -`func (o *CranPackageUpload) GetSlugPermOk() (*string, bool)` - -GetSlugPermOk returns a tuple with the SlugPerm field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetSlugPerm - -`func (o *CranPackageUpload) SetSlugPerm(v string)` - -SetSlugPerm sets SlugPerm field to given value. - -### HasSlugPerm - -`func (o *CranPackageUpload) HasSlugPerm() bool` - -HasSlugPerm returns a boolean if a field has been set. - -### GetStage - -`func (o *CranPackageUpload) GetStage() int64` - -GetStage returns the Stage field if non-nil, zero value otherwise. - -### GetStageOk - -`func (o *CranPackageUpload) GetStageOk() (*int64, bool)` - -GetStageOk returns a tuple with the Stage field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetStage - -`func (o *CranPackageUpload) SetStage(v int64)` - -SetStage sets Stage field to given value. - -### HasStage - -`func (o *CranPackageUpload) HasStage() bool` - -HasStage returns a boolean if a field has been set. - -### GetStageStr - -`func (o *CranPackageUpload) GetStageStr() string` - -GetStageStr returns the StageStr field if non-nil, zero value otherwise. - -### GetStageStrOk - -`func (o *CranPackageUpload) GetStageStrOk() (*string, bool)` - -GetStageStrOk returns a tuple with the StageStr field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetStageStr - -`func (o *CranPackageUpload) SetStageStr(v string)` - -SetStageStr sets StageStr field to given value. - -### HasStageStr - -`func (o *CranPackageUpload) HasStageStr() bool` - -HasStageStr returns a boolean if a field has been set. - -### GetStageUpdatedAt - -`func (o *CranPackageUpload) GetStageUpdatedAt() string` - -GetStageUpdatedAt returns the StageUpdatedAt field if non-nil, zero value otherwise. - -### GetStageUpdatedAtOk - -`func (o *CranPackageUpload) GetStageUpdatedAtOk() (*string, bool)` - -GetStageUpdatedAtOk returns a tuple with the StageUpdatedAt field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetStageUpdatedAt - -`func (o *CranPackageUpload) SetStageUpdatedAt(v string)` - -SetStageUpdatedAt sets StageUpdatedAt field to given value. - -### HasStageUpdatedAt - -`func (o *CranPackageUpload) HasStageUpdatedAt() bool` - -HasStageUpdatedAt returns a boolean if a field has been set. - -### GetStatus - -`func (o *CranPackageUpload) GetStatus() int64` - -GetStatus returns the Status field if non-nil, zero value otherwise. - -### GetStatusOk - -`func (o *CranPackageUpload) GetStatusOk() (*int64, bool)` - -GetStatusOk returns a tuple with the Status field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetStatus - -`func (o *CranPackageUpload) SetStatus(v int64)` - -SetStatus sets Status field to given value. - -### HasStatus - -`func (o *CranPackageUpload) HasStatus() bool` - -HasStatus returns a boolean if a field has been set. - -### GetStatusReason - -`func (o *CranPackageUpload) GetStatusReason() string` - -GetStatusReason returns the StatusReason field if non-nil, zero value otherwise. - -### GetStatusReasonOk - -`func (o *CranPackageUpload) GetStatusReasonOk() (*string, bool)` - -GetStatusReasonOk returns a tuple with the StatusReason field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetStatusReason - -`func (o *CranPackageUpload) SetStatusReason(v string)` - -SetStatusReason sets StatusReason field to given value. - -### HasStatusReason - -`func (o *CranPackageUpload) HasStatusReason() bool` - -HasStatusReason returns a boolean if a field has been set. - -### GetStatusStr - -`func (o *CranPackageUpload) GetStatusStr() string` - -GetStatusStr returns the StatusStr field if non-nil, zero value otherwise. - -### GetStatusStrOk - -`func (o *CranPackageUpload) GetStatusStrOk() (*string, bool)` - -GetStatusStrOk returns a tuple with the StatusStr field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetStatusStr - -`func (o *CranPackageUpload) SetStatusStr(v string)` - -SetStatusStr sets StatusStr field to given value. - -### HasStatusStr - -`func (o *CranPackageUpload) HasStatusStr() bool` - -HasStatusStr returns a boolean if a field has been set. - -### GetStatusUpdatedAt - -`func (o *CranPackageUpload) GetStatusUpdatedAt() string` - -GetStatusUpdatedAt returns the StatusUpdatedAt field if non-nil, zero value otherwise. - -### GetStatusUpdatedAtOk - -`func (o *CranPackageUpload) GetStatusUpdatedAtOk() (*string, bool)` - -GetStatusUpdatedAtOk returns a tuple with the StatusUpdatedAt field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetStatusUpdatedAt - -`func (o *CranPackageUpload) SetStatusUpdatedAt(v string)` - -SetStatusUpdatedAt sets StatusUpdatedAt field to given value. - -### HasStatusUpdatedAt - -`func (o *CranPackageUpload) HasStatusUpdatedAt() bool` - -HasStatusUpdatedAt returns a boolean if a field has been set. - -### GetStatusUrl - -`func (o *CranPackageUpload) GetStatusUrl() string` - -GetStatusUrl returns the StatusUrl field if non-nil, zero value otherwise. - -### GetStatusUrlOk - -`func (o *CranPackageUpload) GetStatusUrlOk() (*string, bool)` - -GetStatusUrlOk returns a tuple with the StatusUrl field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetStatusUrl - -`func (o *CranPackageUpload) SetStatusUrl(v string)` - -SetStatusUrl sets StatusUrl field to given value. - -### HasStatusUrl - -`func (o *CranPackageUpload) HasStatusUrl() bool` - -HasStatusUrl returns a boolean if a field has been set. - -### GetSubtype - -`func (o *CranPackageUpload) GetSubtype() string` - -GetSubtype returns the Subtype field if non-nil, zero value otherwise. - -### GetSubtypeOk - -`func (o *CranPackageUpload) GetSubtypeOk() (*string, bool)` - -GetSubtypeOk returns a tuple with the Subtype field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetSubtype - -`func (o *CranPackageUpload) SetSubtype(v string)` - -SetSubtype sets Subtype field to given value. - -### HasSubtype - -`func (o *CranPackageUpload) HasSubtype() bool` - -HasSubtype returns a boolean if a field has been set. - -### GetSummary - -`func (o *CranPackageUpload) GetSummary() string` - -GetSummary returns the Summary field if non-nil, zero value otherwise. - -### GetSummaryOk - -`func (o *CranPackageUpload) GetSummaryOk() (*string, bool)` - -GetSummaryOk returns a tuple with the Summary field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetSummary - -`func (o *CranPackageUpload) SetSummary(v string)` - -SetSummary sets Summary field to given value. - -### HasSummary - -`func (o *CranPackageUpload) HasSummary() bool` - -HasSummary returns a boolean if a field has been set. - -### GetSyncFinishedAt - -`func (o *CranPackageUpload) GetSyncFinishedAt() string` - -GetSyncFinishedAt returns the SyncFinishedAt field if non-nil, zero value otherwise. - -### GetSyncFinishedAtOk - -`func (o *CranPackageUpload) GetSyncFinishedAtOk() (*string, bool)` - -GetSyncFinishedAtOk returns a tuple with the SyncFinishedAt field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetSyncFinishedAt - -`func (o *CranPackageUpload) SetSyncFinishedAt(v string)` - -SetSyncFinishedAt sets SyncFinishedAt field to given value. - -### HasSyncFinishedAt - -`func (o *CranPackageUpload) HasSyncFinishedAt() bool` - -HasSyncFinishedAt returns a boolean if a field has been set. - -### GetSyncProgress - -`func (o *CranPackageUpload) GetSyncProgress() int64` - -GetSyncProgress returns the SyncProgress field if non-nil, zero value otherwise. - -### GetSyncProgressOk - -`func (o *CranPackageUpload) GetSyncProgressOk() (*int64, bool)` - -GetSyncProgressOk returns a tuple with the SyncProgress field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetSyncProgress - -`func (o *CranPackageUpload) SetSyncProgress(v int64)` - -SetSyncProgress sets SyncProgress field to given value. - -### HasSyncProgress - -`func (o *CranPackageUpload) HasSyncProgress() bool` - -HasSyncProgress returns a boolean if a field has been set. - -### GetTagsImmutable - -`func (o *CranPackageUpload) GetTagsImmutable() map[string]interface{}` - -GetTagsImmutable returns the TagsImmutable field if non-nil, zero value otherwise. - -### GetTagsImmutableOk - -`func (o *CranPackageUpload) GetTagsImmutableOk() (*map[string]interface{}, bool)` - -GetTagsImmutableOk returns a tuple with the TagsImmutable field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetTagsImmutable - -`func (o *CranPackageUpload) SetTagsImmutable(v map[string]interface{})` - -SetTagsImmutable sets TagsImmutable field to given value. - -### HasTagsImmutable - -`func (o *CranPackageUpload) HasTagsImmutable() bool` - -HasTagsImmutable returns a boolean if a field has been set. - -### GetTypeDisplay - -`func (o *CranPackageUpload) GetTypeDisplay() string` - -GetTypeDisplay returns the TypeDisplay field if non-nil, zero value otherwise. - -### GetTypeDisplayOk - -`func (o *CranPackageUpload) GetTypeDisplayOk() (*string, bool)` - -GetTypeDisplayOk returns a tuple with the TypeDisplay field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetTypeDisplay - -`func (o *CranPackageUpload) SetTypeDisplay(v string)` - -SetTypeDisplay sets TypeDisplay field to given value. - -### HasTypeDisplay - -`func (o *CranPackageUpload) HasTypeDisplay() bool` - -HasTypeDisplay returns a boolean if a field has been set. - -### GetUploadedAt - -`func (o *CranPackageUpload) GetUploadedAt() string` - -GetUploadedAt returns the UploadedAt field if non-nil, zero value otherwise. - -### GetUploadedAtOk - -`func (o *CranPackageUpload) GetUploadedAtOk() (*string, bool)` - -GetUploadedAtOk returns a tuple with the UploadedAt field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetUploadedAt - -`func (o *CranPackageUpload) SetUploadedAt(v string)` - -SetUploadedAt sets UploadedAt field to given value. - -### HasUploadedAt - -`func (o *CranPackageUpload) HasUploadedAt() bool` - -HasUploadedAt returns a boolean if a field has been set. - -### GetUploader - -`func (o *CranPackageUpload) GetUploader() string` - -GetUploader returns the Uploader field if non-nil, zero value otherwise. - -### GetUploaderOk - -`func (o *CranPackageUpload) GetUploaderOk() (*string, bool)` - -GetUploaderOk returns a tuple with the Uploader field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetUploader - -`func (o *CranPackageUpload) SetUploader(v string)` - -SetUploader sets Uploader field to given value. - -### HasUploader - -`func (o *CranPackageUpload) HasUploader() bool` - -HasUploader returns a boolean if a field has been set. - -### GetUploaderUrl - -`func (o *CranPackageUpload) GetUploaderUrl() string` - -GetUploaderUrl returns the UploaderUrl field if non-nil, zero value otherwise. - -### GetUploaderUrlOk - -`func (o *CranPackageUpload) GetUploaderUrlOk() (*string, bool)` - -GetUploaderUrlOk returns a tuple with the UploaderUrl field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetUploaderUrl - -`func (o *CranPackageUpload) SetUploaderUrl(v string)` - -SetUploaderUrl sets UploaderUrl field to given value. - -### HasUploaderUrl - -`func (o *CranPackageUpload) HasUploaderUrl() bool` - -HasUploaderUrl returns a boolean if a field has been set. - -### GetVersion - -`func (o *CranPackageUpload) GetVersion() string` - -GetVersion returns the Version field if non-nil, zero value otherwise. - -### GetVersionOk - -`func (o *CranPackageUpload) GetVersionOk() (*string, bool)` - -GetVersionOk returns a tuple with the Version field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetVersion - -`func (o *CranPackageUpload) SetVersion(v string)` - -SetVersion sets Version field to given value. - -### HasVersion - -`func (o *CranPackageUpload) HasVersion() bool` - -HasVersion returns a boolean if a field has been set. - -### GetVersionOrig - -`func (o *CranPackageUpload) GetVersionOrig() string` - -GetVersionOrig returns the VersionOrig field if non-nil, zero value otherwise. - -### GetVersionOrigOk - -`func (o *CranPackageUpload) GetVersionOrigOk() (*string, bool)` - -GetVersionOrigOk returns a tuple with the VersionOrig field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetVersionOrig - -`func (o *CranPackageUpload) SetVersionOrig(v string)` - -SetVersionOrig sets VersionOrig field to given value. - -### HasVersionOrig - -`func (o *CranPackageUpload) HasVersionOrig() bool` - -HasVersionOrig returns a boolean if a field has been set. - -### GetVulnerabilityScanResultsUrl - -`func (o *CranPackageUpload) GetVulnerabilityScanResultsUrl() string` - -GetVulnerabilityScanResultsUrl returns the VulnerabilityScanResultsUrl field if non-nil, zero value otherwise. - -### GetVulnerabilityScanResultsUrlOk - -`func (o *CranPackageUpload) GetVulnerabilityScanResultsUrlOk() (*string, bool)` - -GetVulnerabilityScanResultsUrlOk returns a tuple with the VulnerabilityScanResultsUrl field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetVulnerabilityScanResultsUrl - -`func (o *CranPackageUpload) SetVulnerabilityScanResultsUrl(v string)` - -SetVulnerabilityScanResultsUrl sets VulnerabilityScanResultsUrl field to given value. - -### HasVulnerabilityScanResultsUrl - -`func (o *CranPackageUpload) HasVulnerabilityScanResultsUrl() bool` - -HasVulnerabilityScanResultsUrl 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/docs/PackagesValidateUploadGo.md b/docs/CranPackageUploadRequest.md similarity index 58% rename from docs/PackagesValidateUploadGo.md rename to docs/CranPackageUploadRequest.md index d4718f89..1e261f87 100644 --- a/docs/PackagesValidateUploadGo.md +++ b/docs/CranPackageUploadRequest.md @@ -1,4 +1,4 @@ -# PackagesValidateUploadGo +# CranPackageUploadRequest ## Properties @@ -6,97 +6,107 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **PackageFile** | **string** | The primary file for the package. | **Republish** | Pointer to **bool** | If true, the uploaded package will overwrite any others with the same attributes (e.g. same version); otherwise, it will be flagged as a duplicate. | [optional] -**Tags** | Pointer to **string** | A comma-separated values list of tags to add to the package. | [optional] +**Tags** | Pointer to **NullableString** | A comma-separated values list of tags to add to the package. | [optional] ## Methods -### NewPackagesValidateUploadGo +### NewCranPackageUploadRequest -`func NewPackagesValidateUploadGo(packageFile string, ) *PackagesValidateUploadGo` +`func NewCranPackageUploadRequest(packageFile string, ) *CranPackageUploadRequest` -NewPackagesValidateUploadGo instantiates a new PackagesValidateUploadGo object +NewCranPackageUploadRequest instantiates a new CranPackageUploadRequest object 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 -### NewPackagesValidateUploadGoWithDefaults +### NewCranPackageUploadRequestWithDefaults -`func NewPackagesValidateUploadGoWithDefaults() *PackagesValidateUploadGo` +`func NewCranPackageUploadRequestWithDefaults() *CranPackageUploadRequest` -NewPackagesValidateUploadGoWithDefaults instantiates a new PackagesValidateUploadGo object +NewCranPackageUploadRequestWithDefaults instantiates a new CranPackageUploadRequest object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set ### GetPackageFile -`func (o *PackagesValidateUploadGo) GetPackageFile() string` +`func (o *CranPackageUploadRequest) GetPackageFile() string` GetPackageFile returns the PackageFile field if non-nil, zero value otherwise. ### GetPackageFileOk -`func (o *PackagesValidateUploadGo) GetPackageFileOk() (*string, bool)` +`func (o *CranPackageUploadRequest) GetPackageFileOk() (*string, bool)` GetPackageFileOk returns a tuple with the PackageFile field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetPackageFile -`func (o *PackagesValidateUploadGo) SetPackageFile(v string)` +`func (o *CranPackageUploadRequest) SetPackageFile(v string)` SetPackageFile sets PackageFile field to given value. ### GetRepublish -`func (o *PackagesValidateUploadGo) GetRepublish() bool` +`func (o *CranPackageUploadRequest) GetRepublish() bool` GetRepublish returns the Republish field if non-nil, zero value otherwise. ### GetRepublishOk -`func (o *PackagesValidateUploadGo) GetRepublishOk() (*bool, bool)` +`func (o *CranPackageUploadRequest) GetRepublishOk() (*bool, bool)` GetRepublishOk returns a tuple with the Republish field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetRepublish -`func (o *PackagesValidateUploadGo) SetRepublish(v bool)` +`func (o *CranPackageUploadRequest) SetRepublish(v bool)` SetRepublish sets Republish field to given value. ### HasRepublish -`func (o *PackagesValidateUploadGo) HasRepublish() bool` +`func (o *CranPackageUploadRequest) HasRepublish() bool` HasRepublish returns a boolean if a field has been set. ### GetTags -`func (o *PackagesValidateUploadGo) GetTags() string` +`func (o *CranPackageUploadRequest) GetTags() string` GetTags returns the Tags field if non-nil, zero value otherwise. ### GetTagsOk -`func (o *PackagesValidateUploadGo) GetTagsOk() (*string, bool)` +`func (o *CranPackageUploadRequest) GetTagsOk() (*string, bool)` GetTagsOk returns a tuple with the Tags field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetTags -`func (o *PackagesValidateUploadGo) SetTags(v string)` +`func (o *CranPackageUploadRequest) SetTags(v string)` SetTags sets Tags field to given value. ### HasTags -`func (o *PackagesValidateUploadGo) HasTags() bool` +`func (o *CranPackageUploadRequest) HasTags() bool` HasTags returns a boolean if a field has been set. +### SetTagsNil + +`func (o *CranPackageUploadRequest) SetTagsNil(b bool)` + + SetTagsNil sets the value for Tags to be an explicit nil + +### UnsetTags +`func (o *CranPackageUploadRequest) UnsetTags()` + +UnsetTags ensures that no value is present for Tags, 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/docs/NpmPackageUpload.md b/docs/CranPackageUploadResponse.md similarity index 55% rename from docs/NpmPackageUpload.md rename to docs/CranPackageUploadResponse.md index 043a2628..26ae5f68 100644 --- a/docs/NpmPackageUpload.md +++ b/docs/CranPackageUploadResponse.md @@ -1,1742 +1,1834 @@ -# NpmPackageUpload +# CranPackageUploadResponse ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**Architectures** | Pointer to [**[]PackagesOwnerRepoArchitectures**](PackagesOwnerRepoArchitectures.md) | | [optional] -**CdnUrl** | Pointer to **string** | | [optional] -**ChecksumMd5** | Pointer to **string** | | [optional] -**ChecksumSha1** | Pointer to **string** | | [optional] -**ChecksumSha256** | Pointer to **string** | | [optional] -**ChecksumSha512** | Pointer to **string** | | [optional] -**DependenciesChecksumMd5** | Pointer to **string** | A checksum of all of the package's dependencies. | [optional] -**DependenciesUrl** | Pointer to **string** | | [optional] -**Description** | Pointer to **string** | A textual description of this package. | [optional] -**Distro** | Pointer to **map[string]interface{}** | | [optional] -**DistroVersion** | Pointer to **map[string]interface{}** | | [optional] -**Downloads** | Pointer to **int64** | | [optional] -**Epoch** | Pointer to **int64** | The epoch of the package version (if any). | [optional] -**Extension** | Pointer to **string** | | [optional] -**Filename** | Pointer to **string** | | [optional] -**Files** | Pointer to [**[]PackagesOwnerRepoFiles**](PackagesOwnerRepoFiles.md) | | [optional] -**Format** | Pointer to **string** | | [optional] -**FormatUrl** | Pointer to **string** | | [optional] -**IdentifierPerm** | Pointer to **string** | Unique and permanent identifier for the package. | [optional] -**Indexed** | Pointer to **bool** | | [optional] -**IsDownloadable** | Pointer to **bool** | | [optional] -**IsQuarantined** | Pointer to **bool** | | [optional] -**IsSyncAwaiting** | Pointer to **bool** | | [optional] -**IsSyncCompleted** | Pointer to **bool** | | [optional] -**IsSyncFailed** | Pointer to **bool** | | [optional] -**IsSyncInFlight** | Pointer to **bool** | | [optional] -**IsSyncInProgress** | Pointer to **bool** | | [optional] -**License** | Pointer to **string** | The license of this package. | [optional] -**Name** | Pointer to **string** | The name of this package. | [optional] -**Namespace** | Pointer to **string** | | [optional] -**NamespaceUrl** | Pointer to **string** | | [optional] -**NumFiles** | Pointer to **int64** | | [optional] -**PackageType** | Pointer to **int64** | The type of package contents. | [optional] -**Release** | Pointer to **string** | The release of the package version (if any). | [optional] -**Repository** | Pointer to **string** | | [optional] -**RepositoryUrl** | Pointer to **string** | | [optional] -**SecurityScanCompletedAt** | Pointer to **string** | The datetime the security scanning was completed. | [optional] -**SecurityScanStartedAt** | Pointer to **string** | The datetime the security scanning was started. | [optional] -**SecurityScanStatus** | Pointer to **string** | | [optional] -**SecurityScanStatusUpdatedAt** | Pointer to **string** | The datetime the security scanning status was updated. | [optional] -**SelfHtmlUrl** | Pointer to **string** | | [optional] -**SelfUrl** | Pointer to **string** | | [optional] -**SignatureUrl** | Pointer to **string** | | [optional] -**Size** | Pointer to **int64** | The calculated size of the package. | [optional] -**Slug** | Pointer to **string** | The public unique identifier for the package. | [optional] -**SlugPerm** | Pointer to **string** | | [optional] -**Stage** | Pointer to **int64** | The synchronisation (in progress) stage of the package. | [optional] -**StageStr** | Pointer to **string** | | [optional] -**StageUpdatedAt** | Pointer to **string** | The datetime the package stage was updated at. | [optional] -**Status** | Pointer to **int64** | The synchronisation status of the package. | [optional] -**StatusReason** | Pointer to **string** | A textual description for the synchronous status reason (if any | [optional] -**StatusStr** | Pointer to **string** | | [optional] -**StatusUpdatedAt** | Pointer to **string** | The datetime the package status was updated at. | [optional] -**StatusUrl** | Pointer to **string** | | [optional] -**Subtype** | Pointer to **string** | | [optional] -**Summary** | Pointer to **string** | A one-liner synopsis of this package. | [optional] -**SyncFinishedAt** | Pointer to **string** | The datetime the package sync was finished at. | [optional] -**SyncProgress** | Pointer to **int64** | Synchronisation progress (from 0-100) | [optional] -**TagsImmutable** | Pointer to **map[string]interface{}** | All immutable tags on the package, grouped by tag type. Immutable tags cannot be (easily) deleted. | [optional] -**TypeDisplay** | Pointer to **string** | | [optional] -**UploadedAt** | Pointer to **string** | The date this package was uploaded. | [optional] -**Uploader** | Pointer to **string** | | [optional] -**UploaderUrl** | Pointer to **string** | | [optional] -**Version** | Pointer to **string** | The raw version for this package. | [optional] -**VersionOrig** | Pointer to **string** | | [optional] -**VulnerabilityScanResultsUrl** | Pointer to **string** | | [optional] +**Architectures** | Pointer to [**[]Architecture**](Architecture.md) | | [optional] [readonly] +**CdnUrl** | Pointer to **NullableString** | | [optional] [readonly] +**ChecksumMd5** | Pointer to **string** | | [optional] [readonly] +**ChecksumSha1** | Pointer to **string** | | [optional] [readonly] +**ChecksumSha256** | Pointer to **string** | | [optional] [readonly] +**ChecksumSha512** | Pointer to **string** | | [optional] [readonly] +**DependenciesChecksumMd5** | Pointer to **string** | A checksum of all of the package's dependencies. | [optional] [readonly] +**DependenciesUrl** | Pointer to **string** | | [optional] [readonly] +**Description** | Pointer to **string** | A textual description of this package. | [optional] [readonly] +**Distro** | Pointer to [**NullableDistribution**](Distribution.md) | | [optional] +**DistroVersion** | Pointer to [**DistributionVersion**](DistributionVersion.md) | | [optional] +**Downloads** | Pointer to **int64** | | [optional] [readonly] +**Epoch** | Pointer to **int64** | The epoch of the package version (if any). | [optional] [readonly] +**Extension** | Pointer to **string** | | [optional] [readonly] +**Filename** | Pointer to **string** | | [optional] [readonly] +**Files** | Pointer to [**[]PackageFile**](PackageFile.md) | | [optional] [readonly] +**Format** | Pointer to **string** | | [optional] [readonly] +**FormatUrl** | Pointer to **string** | | [optional] [readonly] +**IdentifierPerm** | Pointer to **string** | Unique and permanent identifier for the package. | [optional] [readonly] +**Indexed** | Pointer to **bool** | | [optional] [readonly] +**IsDownloadable** | Pointer to **bool** | | [optional] [readonly] +**IsQuarantined** | Pointer to **bool** | | [optional] [readonly] +**IsSyncAwaiting** | Pointer to **bool** | | [optional] [readonly] +**IsSyncCompleted** | Pointer to **bool** | | [optional] [readonly] +**IsSyncFailed** | Pointer to **bool** | | [optional] [readonly] +**IsSyncInFlight** | Pointer to **bool** | | [optional] [readonly] +**IsSyncInProgress** | Pointer to **bool** | | [optional] [readonly] +**License** | Pointer to **string** | The license of this package. | [optional] [readonly] +**Name** | Pointer to **string** | The name of this package. | [optional] [readonly] +**Namespace** | Pointer to **string** | | [optional] [readonly] +**NamespaceUrl** | Pointer to **string** | | [optional] [readonly] +**NumFiles** | Pointer to **int64** | | [optional] [readonly] +**OriginRepository** | Pointer to **string** | | [optional] [readonly] +**OriginRepositoryUrl** | Pointer to **string** | | [optional] [readonly] +**PackageType** | Pointer to **int64** | The type of package contents. | [optional] [readonly] +**Release** | Pointer to **string** | The release of the package version (if any). | [optional] [readonly] +**Repository** | Pointer to **string** | | [optional] [readonly] +**RepositoryUrl** | Pointer to **string** | | [optional] [readonly] +**SecurityScanCompletedAt** | Pointer to **time.Time** | The datetime the security scanning was completed. | [optional] [readonly] +**SecurityScanStartedAt** | Pointer to **time.Time** | The datetime the security scanning was started. | [optional] [readonly] +**SecurityScanStatus** | Pointer to **NullableString** | | [optional] [readonly] [default to "Awaiting Security Scan"] +**SecurityScanStatusUpdatedAt** | Pointer to **time.Time** | The datetime the security scanning status was updated. | [optional] [readonly] +**SelfHtmlUrl** | Pointer to **string** | | [optional] [readonly] +**SelfUrl** | Pointer to **string** | | [optional] [readonly] +**SignatureUrl** | Pointer to **NullableString** | | [optional] [readonly] +**Size** | Pointer to **int64** | The calculated size of the package. | [optional] [readonly] +**Slug** | Pointer to **string** | The public unique identifier for the package. | [optional] [readonly] +**SlugPerm** | Pointer to **string** | | [optional] [readonly] +**Stage** | Pointer to **int64** | The synchronisation (in progress) stage of the package. | [optional] [readonly] +**StageStr** | Pointer to **string** | | [optional] [readonly] +**StageUpdatedAt** | Pointer to **time.Time** | The datetime the package stage was updated at. | [optional] [readonly] +**Status** | Pointer to **int64** | The synchronisation status of the package. | [optional] [readonly] +**StatusReason** | Pointer to **string** | A textual description for the synchronous status reason (if any | [optional] [readonly] +**StatusStr** | Pointer to **string** | | [optional] [readonly] +**StatusUpdatedAt** | Pointer to **time.Time** | The datetime the package status was updated at. | [optional] [readonly] +**StatusUrl** | Pointer to **string** | | [optional] [readonly] +**Subtype** | Pointer to **string** | | [optional] [readonly] +**Summary** | Pointer to **string** | A one-liner synopsis of this package. | [optional] [readonly] +**SyncFinishedAt** | Pointer to **time.Time** | The datetime the package sync was finished at. | [optional] [readonly] +**SyncProgress** | Pointer to **int64** | Synchronisation progress (from 0-100) | [optional] [readonly] +**TagsImmutable** | Pointer to **map[string]interface{}** | All tags on the package, grouped by tag type. This includes immutable tags, but doesn't distinguish them from mutable. To see which tags are immutable specifically, see the tags_immutable field. | [optional] +**TypeDisplay** | Pointer to **string** | | [optional] [readonly] +**UploadedAt** | Pointer to **time.Time** | The date this package was uploaded. | [optional] [readonly] +**Uploader** | Pointer to **string** | | [optional] [readonly] +**UploaderUrl** | Pointer to **string** | | [optional] [readonly] +**Version** | Pointer to **string** | The raw version for this package. | [optional] [readonly] +**VersionOrig** | Pointer to **string** | | [optional] [readonly] +**VulnerabilityScanResultsUrl** | Pointer to **string** | | [optional] [readonly] ## Methods -### NewNpmPackageUpload +### NewCranPackageUploadResponse -`func NewNpmPackageUpload() *NpmPackageUpload` +`func NewCranPackageUploadResponse() *CranPackageUploadResponse` -NewNpmPackageUpload instantiates a new NpmPackageUpload object +NewCranPackageUploadResponse instantiates a new CranPackageUploadResponse object 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 -### NewNpmPackageUploadWithDefaults +### NewCranPackageUploadResponseWithDefaults -`func NewNpmPackageUploadWithDefaults() *NpmPackageUpload` +`func NewCranPackageUploadResponseWithDefaults() *CranPackageUploadResponse` -NewNpmPackageUploadWithDefaults instantiates a new NpmPackageUpload object +NewCranPackageUploadResponseWithDefaults instantiates a new CranPackageUploadResponse object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set ### GetArchitectures -`func (o *NpmPackageUpload) GetArchitectures() []PackagesOwnerRepoArchitectures` +`func (o *CranPackageUploadResponse) GetArchitectures() []Architecture` GetArchitectures returns the Architectures field if non-nil, zero value otherwise. ### GetArchitecturesOk -`func (o *NpmPackageUpload) GetArchitecturesOk() (*[]PackagesOwnerRepoArchitectures, bool)` +`func (o *CranPackageUploadResponse) GetArchitecturesOk() (*[]Architecture, bool)` GetArchitecturesOk returns a tuple with the Architectures field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetArchitectures -`func (o *NpmPackageUpload) SetArchitectures(v []PackagesOwnerRepoArchitectures)` +`func (o *CranPackageUploadResponse) SetArchitectures(v []Architecture)` SetArchitectures sets Architectures field to given value. ### HasArchitectures -`func (o *NpmPackageUpload) HasArchitectures() bool` +`func (o *CranPackageUploadResponse) HasArchitectures() bool` HasArchitectures returns a boolean if a field has been set. ### GetCdnUrl -`func (o *NpmPackageUpload) GetCdnUrl() string` +`func (o *CranPackageUploadResponse) GetCdnUrl() string` GetCdnUrl returns the CdnUrl field if non-nil, zero value otherwise. ### GetCdnUrlOk -`func (o *NpmPackageUpload) GetCdnUrlOk() (*string, bool)` +`func (o *CranPackageUploadResponse) GetCdnUrlOk() (*string, bool)` GetCdnUrlOk returns a tuple with the CdnUrl field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetCdnUrl -`func (o *NpmPackageUpload) SetCdnUrl(v string)` +`func (o *CranPackageUploadResponse) SetCdnUrl(v string)` SetCdnUrl sets CdnUrl field to given value. ### HasCdnUrl -`func (o *NpmPackageUpload) HasCdnUrl() bool` +`func (o *CranPackageUploadResponse) HasCdnUrl() bool` HasCdnUrl returns a boolean if a field has been set. +### SetCdnUrlNil + +`func (o *CranPackageUploadResponse) SetCdnUrlNil(b bool)` + + SetCdnUrlNil sets the value for CdnUrl to be an explicit nil + +### UnsetCdnUrl +`func (o *CranPackageUploadResponse) UnsetCdnUrl()` + +UnsetCdnUrl ensures that no value is present for CdnUrl, not even an explicit nil ### GetChecksumMd5 -`func (o *NpmPackageUpload) GetChecksumMd5() string` +`func (o *CranPackageUploadResponse) GetChecksumMd5() string` GetChecksumMd5 returns the ChecksumMd5 field if non-nil, zero value otherwise. ### GetChecksumMd5Ok -`func (o *NpmPackageUpload) GetChecksumMd5Ok() (*string, bool)` +`func (o *CranPackageUploadResponse) GetChecksumMd5Ok() (*string, bool)` GetChecksumMd5Ok returns a tuple with the ChecksumMd5 field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetChecksumMd5 -`func (o *NpmPackageUpload) SetChecksumMd5(v string)` +`func (o *CranPackageUploadResponse) SetChecksumMd5(v string)` SetChecksumMd5 sets ChecksumMd5 field to given value. ### HasChecksumMd5 -`func (o *NpmPackageUpload) HasChecksumMd5() bool` +`func (o *CranPackageUploadResponse) HasChecksumMd5() bool` HasChecksumMd5 returns a boolean if a field has been set. ### GetChecksumSha1 -`func (o *NpmPackageUpload) GetChecksumSha1() string` +`func (o *CranPackageUploadResponse) GetChecksumSha1() string` GetChecksumSha1 returns the ChecksumSha1 field if non-nil, zero value otherwise. ### GetChecksumSha1Ok -`func (o *NpmPackageUpload) GetChecksumSha1Ok() (*string, bool)` +`func (o *CranPackageUploadResponse) GetChecksumSha1Ok() (*string, bool)` GetChecksumSha1Ok returns a tuple with the ChecksumSha1 field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetChecksumSha1 -`func (o *NpmPackageUpload) SetChecksumSha1(v string)` +`func (o *CranPackageUploadResponse) SetChecksumSha1(v string)` SetChecksumSha1 sets ChecksumSha1 field to given value. ### HasChecksumSha1 -`func (o *NpmPackageUpload) HasChecksumSha1() bool` +`func (o *CranPackageUploadResponse) HasChecksumSha1() bool` HasChecksumSha1 returns a boolean if a field has been set. ### GetChecksumSha256 -`func (o *NpmPackageUpload) GetChecksumSha256() string` +`func (o *CranPackageUploadResponse) GetChecksumSha256() string` GetChecksumSha256 returns the ChecksumSha256 field if non-nil, zero value otherwise. ### GetChecksumSha256Ok -`func (o *NpmPackageUpload) GetChecksumSha256Ok() (*string, bool)` +`func (o *CranPackageUploadResponse) GetChecksumSha256Ok() (*string, bool)` GetChecksumSha256Ok returns a tuple with the ChecksumSha256 field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetChecksumSha256 -`func (o *NpmPackageUpload) SetChecksumSha256(v string)` +`func (o *CranPackageUploadResponse) SetChecksumSha256(v string)` SetChecksumSha256 sets ChecksumSha256 field to given value. ### HasChecksumSha256 -`func (o *NpmPackageUpload) HasChecksumSha256() bool` +`func (o *CranPackageUploadResponse) HasChecksumSha256() bool` HasChecksumSha256 returns a boolean if a field has been set. ### GetChecksumSha512 -`func (o *NpmPackageUpload) GetChecksumSha512() string` +`func (o *CranPackageUploadResponse) GetChecksumSha512() string` GetChecksumSha512 returns the ChecksumSha512 field if non-nil, zero value otherwise. ### GetChecksumSha512Ok -`func (o *NpmPackageUpload) GetChecksumSha512Ok() (*string, bool)` +`func (o *CranPackageUploadResponse) GetChecksumSha512Ok() (*string, bool)` GetChecksumSha512Ok returns a tuple with the ChecksumSha512 field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetChecksumSha512 -`func (o *NpmPackageUpload) SetChecksumSha512(v string)` +`func (o *CranPackageUploadResponse) SetChecksumSha512(v string)` SetChecksumSha512 sets ChecksumSha512 field to given value. ### HasChecksumSha512 -`func (o *NpmPackageUpload) HasChecksumSha512() bool` +`func (o *CranPackageUploadResponse) HasChecksumSha512() bool` HasChecksumSha512 returns a boolean if a field has been set. ### GetDependenciesChecksumMd5 -`func (o *NpmPackageUpload) GetDependenciesChecksumMd5() string` +`func (o *CranPackageUploadResponse) GetDependenciesChecksumMd5() string` GetDependenciesChecksumMd5 returns the DependenciesChecksumMd5 field if non-nil, zero value otherwise. ### GetDependenciesChecksumMd5Ok -`func (o *NpmPackageUpload) GetDependenciesChecksumMd5Ok() (*string, bool)` +`func (o *CranPackageUploadResponse) GetDependenciesChecksumMd5Ok() (*string, bool)` GetDependenciesChecksumMd5Ok returns a tuple with the DependenciesChecksumMd5 field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetDependenciesChecksumMd5 -`func (o *NpmPackageUpload) SetDependenciesChecksumMd5(v string)` +`func (o *CranPackageUploadResponse) SetDependenciesChecksumMd5(v string)` SetDependenciesChecksumMd5 sets DependenciesChecksumMd5 field to given value. ### HasDependenciesChecksumMd5 -`func (o *NpmPackageUpload) HasDependenciesChecksumMd5() bool` +`func (o *CranPackageUploadResponse) HasDependenciesChecksumMd5() bool` HasDependenciesChecksumMd5 returns a boolean if a field has been set. ### GetDependenciesUrl -`func (o *NpmPackageUpload) GetDependenciesUrl() string` +`func (o *CranPackageUploadResponse) GetDependenciesUrl() string` GetDependenciesUrl returns the DependenciesUrl field if non-nil, zero value otherwise. ### GetDependenciesUrlOk -`func (o *NpmPackageUpload) GetDependenciesUrlOk() (*string, bool)` +`func (o *CranPackageUploadResponse) GetDependenciesUrlOk() (*string, bool)` GetDependenciesUrlOk returns a tuple with the DependenciesUrl field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetDependenciesUrl -`func (o *NpmPackageUpload) SetDependenciesUrl(v string)` +`func (o *CranPackageUploadResponse) SetDependenciesUrl(v string)` SetDependenciesUrl sets DependenciesUrl field to given value. ### HasDependenciesUrl -`func (o *NpmPackageUpload) HasDependenciesUrl() bool` +`func (o *CranPackageUploadResponse) HasDependenciesUrl() bool` HasDependenciesUrl returns a boolean if a field has been set. ### GetDescription -`func (o *NpmPackageUpload) GetDescription() string` +`func (o *CranPackageUploadResponse) GetDescription() string` GetDescription returns the Description field if non-nil, zero value otherwise. ### GetDescriptionOk -`func (o *NpmPackageUpload) GetDescriptionOk() (*string, bool)` +`func (o *CranPackageUploadResponse) GetDescriptionOk() (*string, bool)` GetDescriptionOk returns a tuple with the Description field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetDescription -`func (o *NpmPackageUpload) SetDescription(v string)` +`func (o *CranPackageUploadResponse) SetDescription(v string)` SetDescription sets Description field to given value. ### HasDescription -`func (o *NpmPackageUpload) HasDescription() bool` +`func (o *CranPackageUploadResponse) HasDescription() bool` HasDescription returns a boolean if a field has been set. ### GetDistro -`func (o *NpmPackageUpload) GetDistro() map[string]interface{}` +`func (o *CranPackageUploadResponse) GetDistro() Distribution` GetDistro returns the Distro field if non-nil, zero value otherwise. ### GetDistroOk -`func (o *NpmPackageUpload) GetDistroOk() (*map[string]interface{}, bool)` +`func (o *CranPackageUploadResponse) GetDistroOk() (*Distribution, bool)` GetDistroOk returns a tuple with the Distro field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetDistro -`func (o *NpmPackageUpload) SetDistro(v map[string]interface{})` +`func (o *CranPackageUploadResponse) SetDistro(v Distribution)` SetDistro sets Distro field to given value. ### HasDistro -`func (o *NpmPackageUpload) HasDistro() bool` +`func (o *CranPackageUploadResponse) HasDistro() bool` HasDistro returns a boolean if a field has been set. +### SetDistroNil + +`func (o *CranPackageUploadResponse) SetDistroNil(b bool)` + + SetDistroNil sets the value for Distro to be an explicit nil + +### UnsetDistro +`func (o *CranPackageUploadResponse) UnsetDistro()` + +UnsetDistro ensures that no value is present for Distro, not even an explicit nil ### GetDistroVersion -`func (o *NpmPackageUpload) GetDistroVersion() map[string]interface{}` +`func (o *CranPackageUploadResponse) GetDistroVersion() DistributionVersion` GetDistroVersion returns the DistroVersion field if non-nil, zero value otherwise. ### GetDistroVersionOk -`func (o *NpmPackageUpload) GetDistroVersionOk() (*map[string]interface{}, bool)` +`func (o *CranPackageUploadResponse) GetDistroVersionOk() (*DistributionVersion, bool)` GetDistroVersionOk returns a tuple with the DistroVersion field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetDistroVersion -`func (o *NpmPackageUpload) SetDistroVersion(v map[string]interface{})` +`func (o *CranPackageUploadResponse) SetDistroVersion(v DistributionVersion)` SetDistroVersion sets DistroVersion field to given value. ### HasDistroVersion -`func (o *NpmPackageUpload) HasDistroVersion() bool` +`func (o *CranPackageUploadResponse) HasDistroVersion() bool` HasDistroVersion returns a boolean if a field has been set. ### GetDownloads -`func (o *NpmPackageUpload) GetDownloads() int64` +`func (o *CranPackageUploadResponse) GetDownloads() int64` GetDownloads returns the Downloads field if non-nil, zero value otherwise. ### GetDownloadsOk -`func (o *NpmPackageUpload) GetDownloadsOk() (*int64, bool)` +`func (o *CranPackageUploadResponse) GetDownloadsOk() (*int64, bool)` GetDownloadsOk returns a tuple with the Downloads field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetDownloads -`func (o *NpmPackageUpload) SetDownloads(v int64)` +`func (o *CranPackageUploadResponse) SetDownloads(v int64)` SetDownloads sets Downloads field to given value. ### HasDownloads -`func (o *NpmPackageUpload) HasDownloads() bool` +`func (o *CranPackageUploadResponse) HasDownloads() bool` HasDownloads returns a boolean if a field has been set. ### GetEpoch -`func (o *NpmPackageUpload) GetEpoch() int64` +`func (o *CranPackageUploadResponse) GetEpoch() int64` GetEpoch returns the Epoch field if non-nil, zero value otherwise. ### GetEpochOk -`func (o *NpmPackageUpload) GetEpochOk() (*int64, bool)` +`func (o *CranPackageUploadResponse) GetEpochOk() (*int64, bool)` GetEpochOk returns a tuple with the Epoch field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetEpoch -`func (o *NpmPackageUpload) SetEpoch(v int64)` +`func (o *CranPackageUploadResponse) SetEpoch(v int64)` SetEpoch sets Epoch field to given value. ### HasEpoch -`func (o *NpmPackageUpload) HasEpoch() bool` +`func (o *CranPackageUploadResponse) HasEpoch() bool` HasEpoch returns a boolean if a field has been set. ### GetExtension -`func (o *NpmPackageUpload) GetExtension() string` +`func (o *CranPackageUploadResponse) GetExtension() string` GetExtension returns the Extension field if non-nil, zero value otherwise. ### GetExtensionOk -`func (o *NpmPackageUpload) GetExtensionOk() (*string, bool)` +`func (o *CranPackageUploadResponse) GetExtensionOk() (*string, bool)` GetExtensionOk returns a tuple with the Extension field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetExtension -`func (o *NpmPackageUpload) SetExtension(v string)` +`func (o *CranPackageUploadResponse) SetExtension(v string)` SetExtension sets Extension field to given value. ### HasExtension -`func (o *NpmPackageUpload) HasExtension() bool` +`func (o *CranPackageUploadResponse) HasExtension() bool` HasExtension returns a boolean if a field has been set. ### GetFilename -`func (o *NpmPackageUpload) GetFilename() string` +`func (o *CranPackageUploadResponse) GetFilename() string` GetFilename returns the Filename field if non-nil, zero value otherwise. ### GetFilenameOk -`func (o *NpmPackageUpload) GetFilenameOk() (*string, bool)` +`func (o *CranPackageUploadResponse) GetFilenameOk() (*string, bool)` GetFilenameOk returns a tuple with the Filename field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetFilename -`func (o *NpmPackageUpload) SetFilename(v string)` +`func (o *CranPackageUploadResponse) SetFilename(v string)` SetFilename sets Filename field to given value. ### HasFilename -`func (o *NpmPackageUpload) HasFilename() bool` +`func (o *CranPackageUploadResponse) HasFilename() bool` HasFilename returns a boolean if a field has been set. ### GetFiles -`func (o *NpmPackageUpload) GetFiles() []PackagesOwnerRepoFiles` +`func (o *CranPackageUploadResponse) GetFiles() []PackageFile` GetFiles returns the Files field if non-nil, zero value otherwise. ### GetFilesOk -`func (o *NpmPackageUpload) GetFilesOk() (*[]PackagesOwnerRepoFiles, bool)` +`func (o *CranPackageUploadResponse) GetFilesOk() (*[]PackageFile, 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 *NpmPackageUpload) SetFiles(v []PackagesOwnerRepoFiles)` +`func (o *CranPackageUploadResponse) SetFiles(v []PackageFile)` SetFiles sets Files field to given value. ### HasFiles -`func (o *NpmPackageUpload) HasFiles() bool` +`func (o *CranPackageUploadResponse) HasFiles() bool` HasFiles returns a boolean if a field has been set. ### GetFormat -`func (o *NpmPackageUpload) GetFormat() string` +`func (o *CranPackageUploadResponse) GetFormat() string` GetFormat returns the Format field if non-nil, zero value otherwise. ### GetFormatOk -`func (o *NpmPackageUpload) GetFormatOk() (*string, bool)` +`func (o *CranPackageUploadResponse) GetFormatOk() (*string, bool)` GetFormatOk returns a tuple with the Format field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetFormat -`func (o *NpmPackageUpload) SetFormat(v string)` +`func (o *CranPackageUploadResponse) SetFormat(v string)` SetFormat sets Format field to given value. ### HasFormat -`func (o *NpmPackageUpload) HasFormat() bool` +`func (o *CranPackageUploadResponse) HasFormat() bool` HasFormat returns a boolean if a field has been set. ### GetFormatUrl -`func (o *NpmPackageUpload) GetFormatUrl() string` +`func (o *CranPackageUploadResponse) GetFormatUrl() string` GetFormatUrl returns the FormatUrl field if non-nil, zero value otherwise. ### GetFormatUrlOk -`func (o *NpmPackageUpload) GetFormatUrlOk() (*string, bool)` +`func (o *CranPackageUploadResponse) GetFormatUrlOk() (*string, bool)` GetFormatUrlOk returns a tuple with the FormatUrl field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetFormatUrl -`func (o *NpmPackageUpload) SetFormatUrl(v string)` +`func (o *CranPackageUploadResponse) SetFormatUrl(v string)` SetFormatUrl sets FormatUrl field to given value. ### HasFormatUrl -`func (o *NpmPackageUpload) HasFormatUrl() bool` +`func (o *CranPackageUploadResponse) HasFormatUrl() bool` HasFormatUrl returns a boolean if a field has been set. ### GetIdentifierPerm -`func (o *NpmPackageUpload) GetIdentifierPerm() string` +`func (o *CranPackageUploadResponse) GetIdentifierPerm() string` GetIdentifierPerm returns the IdentifierPerm field if non-nil, zero value otherwise. ### GetIdentifierPermOk -`func (o *NpmPackageUpload) GetIdentifierPermOk() (*string, bool)` +`func (o *CranPackageUploadResponse) GetIdentifierPermOk() (*string, bool)` GetIdentifierPermOk returns a tuple with the IdentifierPerm field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetIdentifierPerm -`func (o *NpmPackageUpload) SetIdentifierPerm(v string)` +`func (o *CranPackageUploadResponse) SetIdentifierPerm(v string)` SetIdentifierPerm sets IdentifierPerm field to given value. ### HasIdentifierPerm -`func (o *NpmPackageUpload) HasIdentifierPerm() bool` +`func (o *CranPackageUploadResponse) HasIdentifierPerm() bool` HasIdentifierPerm returns a boolean if a field has been set. ### GetIndexed -`func (o *NpmPackageUpload) GetIndexed() bool` +`func (o *CranPackageUploadResponse) GetIndexed() bool` GetIndexed returns the Indexed field if non-nil, zero value otherwise. ### GetIndexedOk -`func (o *NpmPackageUpload) GetIndexedOk() (*bool, bool)` +`func (o *CranPackageUploadResponse) GetIndexedOk() (*bool, bool)` GetIndexedOk returns a tuple with the Indexed field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetIndexed -`func (o *NpmPackageUpload) SetIndexed(v bool)` +`func (o *CranPackageUploadResponse) SetIndexed(v bool)` SetIndexed sets Indexed field to given value. ### HasIndexed -`func (o *NpmPackageUpload) HasIndexed() bool` +`func (o *CranPackageUploadResponse) HasIndexed() bool` HasIndexed returns a boolean if a field has been set. ### GetIsDownloadable -`func (o *NpmPackageUpload) GetIsDownloadable() bool` +`func (o *CranPackageUploadResponse) GetIsDownloadable() bool` GetIsDownloadable returns the IsDownloadable field if non-nil, zero value otherwise. ### GetIsDownloadableOk -`func (o *NpmPackageUpload) GetIsDownloadableOk() (*bool, bool)` +`func (o *CranPackageUploadResponse) GetIsDownloadableOk() (*bool, bool)` GetIsDownloadableOk returns a tuple with the IsDownloadable field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetIsDownloadable -`func (o *NpmPackageUpload) SetIsDownloadable(v bool)` +`func (o *CranPackageUploadResponse) SetIsDownloadable(v bool)` SetIsDownloadable sets IsDownloadable field to given value. ### HasIsDownloadable -`func (o *NpmPackageUpload) HasIsDownloadable() bool` +`func (o *CranPackageUploadResponse) HasIsDownloadable() bool` HasIsDownloadable returns a boolean if a field has been set. ### GetIsQuarantined -`func (o *NpmPackageUpload) GetIsQuarantined() bool` +`func (o *CranPackageUploadResponse) GetIsQuarantined() bool` GetIsQuarantined returns the IsQuarantined field if non-nil, zero value otherwise. ### GetIsQuarantinedOk -`func (o *NpmPackageUpload) GetIsQuarantinedOk() (*bool, bool)` +`func (o *CranPackageUploadResponse) GetIsQuarantinedOk() (*bool, bool)` GetIsQuarantinedOk returns a tuple with the IsQuarantined field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetIsQuarantined -`func (o *NpmPackageUpload) SetIsQuarantined(v bool)` +`func (o *CranPackageUploadResponse) SetIsQuarantined(v bool)` SetIsQuarantined sets IsQuarantined field to given value. ### HasIsQuarantined -`func (o *NpmPackageUpload) HasIsQuarantined() bool` +`func (o *CranPackageUploadResponse) HasIsQuarantined() bool` HasIsQuarantined returns a boolean if a field has been set. ### GetIsSyncAwaiting -`func (o *NpmPackageUpload) GetIsSyncAwaiting() bool` +`func (o *CranPackageUploadResponse) GetIsSyncAwaiting() bool` GetIsSyncAwaiting returns the IsSyncAwaiting field if non-nil, zero value otherwise. ### GetIsSyncAwaitingOk -`func (o *NpmPackageUpload) GetIsSyncAwaitingOk() (*bool, bool)` +`func (o *CranPackageUploadResponse) GetIsSyncAwaitingOk() (*bool, bool)` GetIsSyncAwaitingOk returns a tuple with the IsSyncAwaiting field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetIsSyncAwaiting -`func (o *NpmPackageUpload) SetIsSyncAwaiting(v bool)` +`func (o *CranPackageUploadResponse) SetIsSyncAwaiting(v bool)` SetIsSyncAwaiting sets IsSyncAwaiting field to given value. ### HasIsSyncAwaiting -`func (o *NpmPackageUpload) HasIsSyncAwaiting() bool` +`func (o *CranPackageUploadResponse) HasIsSyncAwaiting() bool` HasIsSyncAwaiting returns a boolean if a field has been set. ### GetIsSyncCompleted -`func (o *NpmPackageUpload) GetIsSyncCompleted() bool` +`func (o *CranPackageUploadResponse) GetIsSyncCompleted() bool` GetIsSyncCompleted returns the IsSyncCompleted field if non-nil, zero value otherwise. ### GetIsSyncCompletedOk -`func (o *NpmPackageUpload) GetIsSyncCompletedOk() (*bool, bool)` +`func (o *CranPackageUploadResponse) GetIsSyncCompletedOk() (*bool, bool)` GetIsSyncCompletedOk returns a tuple with the IsSyncCompleted field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetIsSyncCompleted -`func (o *NpmPackageUpload) SetIsSyncCompleted(v bool)` +`func (o *CranPackageUploadResponse) SetIsSyncCompleted(v bool)` SetIsSyncCompleted sets IsSyncCompleted field to given value. ### HasIsSyncCompleted -`func (o *NpmPackageUpload) HasIsSyncCompleted() bool` +`func (o *CranPackageUploadResponse) HasIsSyncCompleted() bool` HasIsSyncCompleted returns a boolean if a field has been set. ### GetIsSyncFailed -`func (o *NpmPackageUpload) GetIsSyncFailed() bool` +`func (o *CranPackageUploadResponse) GetIsSyncFailed() bool` GetIsSyncFailed returns the IsSyncFailed field if non-nil, zero value otherwise. ### GetIsSyncFailedOk -`func (o *NpmPackageUpload) GetIsSyncFailedOk() (*bool, bool)` +`func (o *CranPackageUploadResponse) GetIsSyncFailedOk() (*bool, bool)` GetIsSyncFailedOk returns a tuple with the IsSyncFailed field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetIsSyncFailed -`func (o *NpmPackageUpload) SetIsSyncFailed(v bool)` +`func (o *CranPackageUploadResponse) SetIsSyncFailed(v bool)` SetIsSyncFailed sets IsSyncFailed field to given value. ### HasIsSyncFailed -`func (o *NpmPackageUpload) HasIsSyncFailed() bool` +`func (o *CranPackageUploadResponse) HasIsSyncFailed() bool` HasIsSyncFailed returns a boolean if a field has been set. ### GetIsSyncInFlight -`func (o *NpmPackageUpload) GetIsSyncInFlight() bool` +`func (o *CranPackageUploadResponse) GetIsSyncInFlight() bool` GetIsSyncInFlight returns the IsSyncInFlight field if non-nil, zero value otherwise. ### GetIsSyncInFlightOk -`func (o *NpmPackageUpload) GetIsSyncInFlightOk() (*bool, bool)` +`func (o *CranPackageUploadResponse) GetIsSyncInFlightOk() (*bool, bool)` GetIsSyncInFlightOk returns a tuple with the IsSyncInFlight field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetIsSyncInFlight -`func (o *NpmPackageUpload) SetIsSyncInFlight(v bool)` +`func (o *CranPackageUploadResponse) SetIsSyncInFlight(v bool)` SetIsSyncInFlight sets IsSyncInFlight field to given value. ### HasIsSyncInFlight -`func (o *NpmPackageUpload) HasIsSyncInFlight() bool` +`func (o *CranPackageUploadResponse) HasIsSyncInFlight() bool` HasIsSyncInFlight returns a boolean if a field has been set. ### GetIsSyncInProgress -`func (o *NpmPackageUpload) GetIsSyncInProgress() bool` +`func (o *CranPackageUploadResponse) GetIsSyncInProgress() bool` GetIsSyncInProgress returns the IsSyncInProgress field if non-nil, zero value otherwise. ### GetIsSyncInProgressOk -`func (o *NpmPackageUpload) GetIsSyncInProgressOk() (*bool, bool)` +`func (o *CranPackageUploadResponse) GetIsSyncInProgressOk() (*bool, bool)` GetIsSyncInProgressOk returns a tuple with the IsSyncInProgress field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetIsSyncInProgress -`func (o *NpmPackageUpload) SetIsSyncInProgress(v bool)` +`func (o *CranPackageUploadResponse) SetIsSyncInProgress(v bool)` SetIsSyncInProgress sets IsSyncInProgress field to given value. ### HasIsSyncInProgress -`func (o *NpmPackageUpload) HasIsSyncInProgress() bool` +`func (o *CranPackageUploadResponse) HasIsSyncInProgress() bool` HasIsSyncInProgress returns a boolean if a field has been set. ### GetLicense -`func (o *NpmPackageUpload) GetLicense() string` +`func (o *CranPackageUploadResponse) GetLicense() string` GetLicense returns the License field if non-nil, zero value otherwise. ### GetLicenseOk -`func (o *NpmPackageUpload) GetLicenseOk() (*string, bool)` +`func (o *CranPackageUploadResponse) GetLicenseOk() (*string, bool)` GetLicenseOk returns a tuple with the License field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetLicense -`func (o *NpmPackageUpload) SetLicense(v string)` +`func (o *CranPackageUploadResponse) SetLicense(v string)` SetLicense sets License field to given value. ### HasLicense -`func (o *NpmPackageUpload) HasLicense() bool` +`func (o *CranPackageUploadResponse) HasLicense() bool` HasLicense returns a boolean if a field has been set. ### GetName -`func (o *NpmPackageUpload) GetName() string` +`func (o *CranPackageUploadResponse) GetName() string` GetName returns the Name field if non-nil, zero value otherwise. ### GetNameOk -`func (o *NpmPackageUpload) GetNameOk() (*string, bool)` +`func (o *CranPackageUploadResponse) GetNameOk() (*string, bool)` 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. ### SetName -`func (o *NpmPackageUpload) SetName(v string)` +`func (o *CranPackageUploadResponse) SetName(v string)` SetName sets Name field to given value. ### HasName -`func (o *NpmPackageUpload) HasName() bool` +`func (o *CranPackageUploadResponse) HasName() bool` HasName returns a boolean if a field has been set. ### GetNamespace -`func (o *NpmPackageUpload) GetNamespace() string` +`func (o *CranPackageUploadResponse) GetNamespace() string` GetNamespace returns the Namespace field if non-nil, zero value otherwise. ### GetNamespaceOk -`func (o *NpmPackageUpload) GetNamespaceOk() (*string, bool)` +`func (o *CranPackageUploadResponse) GetNamespaceOk() (*string, bool)` GetNamespaceOk returns a tuple with the Namespace field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetNamespace -`func (o *NpmPackageUpload) SetNamespace(v string)` +`func (o *CranPackageUploadResponse) SetNamespace(v string)` SetNamespace sets Namespace field to given value. ### HasNamespace -`func (o *NpmPackageUpload) HasNamespace() bool` +`func (o *CranPackageUploadResponse) HasNamespace() bool` HasNamespace returns a boolean if a field has been set. ### GetNamespaceUrl -`func (o *NpmPackageUpload) GetNamespaceUrl() string` +`func (o *CranPackageUploadResponse) GetNamespaceUrl() string` GetNamespaceUrl returns the NamespaceUrl field if non-nil, zero value otherwise. ### GetNamespaceUrlOk -`func (o *NpmPackageUpload) GetNamespaceUrlOk() (*string, bool)` +`func (o *CranPackageUploadResponse) GetNamespaceUrlOk() (*string, bool)` GetNamespaceUrlOk returns a tuple with the NamespaceUrl field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetNamespaceUrl -`func (o *NpmPackageUpload) SetNamespaceUrl(v string)` +`func (o *CranPackageUploadResponse) SetNamespaceUrl(v string)` SetNamespaceUrl sets NamespaceUrl field to given value. ### HasNamespaceUrl -`func (o *NpmPackageUpload) HasNamespaceUrl() bool` +`func (o *CranPackageUploadResponse) HasNamespaceUrl() bool` HasNamespaceUrl returns a boolean if a field has been set. ### GetNumFiles -`func (o *NpmPackageUpload) GetNumFiles() int64` +`func (o *CranPackageUploadResponse) GetNumFiles() int64` GetNumFiles returns the NumFiles field if non-nil, zero value otherwise. ### GetNumFilesOk -`func (o *NpmPackageUpload) GetNumFilesOk() (*int64, bool)` +`func (o *CranPackageUploadResponse) GetNumFilesOk() (*int64, bool)` GetNumFilesOk returns a tuple with the NumFiles field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetNumFiles -`func (o *NpmPackageUpload) SetNumFiles(v int64)` +`func (o *CranPackageUploadResponse) SetNumFiles(v int64)` SetNumFiles sets NumFiles field to given value. ### HasNumFiles -`func (o *NpmPackageUpload) HasNumFiles() bool` +`func (o *CranPackageUploadResponse) HasNumFiles() bool` HasNumFiles returns a boolean if a field has been set. +### GetOriginRepository + +`func (o *CranPackageUploadResponse) GetOriginRepository() string` + +GetOriginRepository returns the OriginRepository field if non-nil, zero value otherwise. + +### GetOriginRepositoryOk + +`func (o *CranPackageUploadResponse) GetOriginRepositoryOk() (*string, bool)` + +GetOriginRepositoryOk returns a tuple with the OriginRepository field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetOriginRepository + +`func (o *CranPackageUploadResponse) SetOriginRepository(v string)` + +SetOriginRepository sets OriginRepository field to given value. + +### HasOriginRepository + +`func (o *CranPackageUploadResponse) HasOriginRepository() bool` + +HasOriginRepository returns a boolean if a field has been set. + +### GetOriginRepositoryUrl + +`func (o *CranPackageUploadResponse) GetOriginRepositoryUrl() string` + +GetOriginRepositoryUrl returns the OriginRepositoryUrl field if non-nil, zero value otherwise. + +### GetOriginRepositoryUrlOk + +`func (o *CranPackageUploadResponse) GetOriginRepositoryUrlOk() (*string, bool)` + +GetOriginRepositoryUrlOk returns a tuple with the OriginRepositoryUrl field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetOriginRepositoryUrl + +`func (o *CranPackageUploadResponse) SetOriginRepositoryUrl(v string)` + +SetOriginRepositoryUrl sets OriginRepositoryUrl field to given value. + +### HasOriginRepositoryUrl + +`func (o *CranPackageUploadResponse) HasOriginRepositoryUrl() bool` + +HasOriginRepositoryUrl returns a boolean if a field has been set. + ### GetPackageType -`func (o *NpmPackageUpload) GetPackageType() int64` +`func (o *CranPackageUploadResponse) GetPackageType() int64` GetPackageType returns the PackageType field if non-nil, zero value otherwise. ### GetPackageTypeOk -`func (o *NpmPackageUpload) GetPackageTypeOk() (*int64, bool)` +`func (o *CranPackageUploadResponse) GetPackageTypeOk() (*int64, bool)` GetPackageTypeOk returns a tuple with the PackageType field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetPackageType -`func (o *NpmPackageUpload) SetPackageType(v int64)` +`func (o *CranPackageUploadResponse) SetPackageType(v int64)` SetPackageType sets PackageType field to given value. ### HasPackageType -`func (o *NpmPackageUpload) HasPackageType() bool` +`func (o *CranPackageUploadResponse) HasPackageType() bool` HasPackageType returns a boolean if a field has been set. ### GetRelease -`func (o *NpmPackageUpload) GetRelease() string` +`func (o *CranPackageUploadResponse) GetRelease() string` GetRelease returns the Release field if non-nil, zero value otherwise. ### GetReleaseOk -`func (o *NpmPackageUpload) GetReleaseOk() (*string, bool)` +`func (o *CranPackageUploadResponse) GetReleaseOk() (*string, bool)` GetReleaseOk returns a tuple with the Release field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetRelease -`func (o *NpmPackageUpload) SetRelease(v string)` +`func (o *CranPackageUploadResponse) SetRelease(v string)` SetRelease sets Release field to given value. ### HasRelease -`func (o *NpmPackageUpload) HasRelease() bool` +`func (o *CranPackageUploadResponse) HasRelease() bool` HasRelease returns a boolean if a field has been set. ### GetRepository -`func (o *NpmPackageUpload) GetRepository() string` +`func (o *CranPackageUploadResponse) GetRepository() string` GetRepository returns the Repository field if non-nil, zero value otherwise. ### GetRepositoryOk -`func (o *NpmPackageUpload) GetRepositoryOk() (*string, bool)` +`func (o *CranPackageUploadResponse) GetRepositoryOk() (*string, bool)` GetRepositoryOk returns a tuple with the Repository field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetRepository -`func (o *NpmPackageUpload) SetRepository(v string)` +`func (o *CranPackageUploadResponse) SetRepository(v string)` SetRepository sets Repository field to given value. ### HasRepository -`func (o *NpmPackageUpload) HasRepository() bool` +`func (o *CranPackageUploadResponse) HasRepository() bool` HasRepository returns a boolean if a field has been set. ### GetRepositoryUrl -`func (o *NpmPackageUpload) GetRepositoryUrl() string` +`func (o *CranPackageUploadResponse) GetRepositoryUrl() string` GetRepositoryUrl returns the RepositoryUrl field if non-nil, zero value otherwise. ### GetRepositoryUrlOk -`func (o *NpmPackageUpload) GetRepositoryUrlOk() (*string, bool)` +`func (o *CranPackageUploadResponse) GetRepositoryUrlOk() (*string, bool)` GetRepositoryUrlOk returns a tuple with the RepositoryUrl field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetRepositoryUrl -`func (o *NpmPackageUpload) SetRepositoryUrl(v string)` +`func (o *CranPackageUploadResponse) SetRepositoryUrl(v string)` SetRepositoryUrl sets RepositoryUrl field to given value. ### HasRepositoryUrl -`func (o *NpmPackageUpload) HasRepositoryUrl() bool` +`func (o *CranPackageUploadResponse) HasRepositoryUrl() bool` HasRepositoryUrl returns a boolean if a field has been set. ### GetSecurityScanCompletedAt -`func (o *NpmPackageUpload) GetSecurityScanCompletedAt() string` +`func (o *CranPackageUploadResponse) GetSecurityScanCompletedAt() time.Time` GetSecurityScanCompletedAt returns the SecurityScanCompletedAt field if non-nil, zero value otherwise. ### GetSecurityScanCompletedAtOk -`func (o *NpmPackageUpload) GetSecurityScanCompletedAtOk() (*string, bool)` +`func (o *CranPackageUploadResponse) GetSecurityScanCompletedAtOk() (*time.Time, bool)` GetSecurityScanCompletedAtOk returns a tuple with the SecurityScanCompletedAt field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetSecurityScanCompletedAt -`func (o *NpmPackageUpload) SetSecurityScanCompletedAt(v string)` +`func (o *CranPackageUploadResponse) SetSecurityScanCompletedAt(v time.Time)` SetSecurityScanCompletedAt sets SecurityScanCompletedAt field to given value. ### HasSecurityScanCompletedAt -`func (o *NpmPackageUpload) HasSecurityScanCompletedAt() bool` +`func (o *CranPackageUploadResponse) HasSecurityScanCompletedAt() bool` HasSecurityScanCompletedAt returns a boolean if a field has been set. ### GetSecurityScanStartedAt -`func (o *NpmPackageUpload) GetSecurityScanStartedAt() string` +`func (o *CranPackageUploadResponse) GetSecurityScanStartedAt() time.Time` GetSecurityScanStartedAt returns the SecurityScanStartedAt field if non-nil, zero value otherwise. ### GetSecurityScanStartedAtOk -`func (o *NpmPackageUpload) GetSecurityScanStartedAtOk() (*string, bool)` +`func (o *CranPackageUploadResponse) GetSecurityScanStartedAtOk() (*time.Time, bool)` GetSecurityScanStartedAtOk returns a tuple with the SecurityScanStartedAt field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetSecurityScanStartedAt -`func (o *NpmPackageUpload) SetSecurityScanStartedAt(v string)` +`func (o *CranPackageUploadResponse) SetSecurityScanStartedAt(v time.Time)` SetSecurityScanStartedAt sets SecurityScanStartedAt field to given value. ### HasSecurityScanStartedAt -`func (o *NpmPackageUpload) HasSecurityScanStartedAt() bool` +`func (o *CranPackageUploadResponse) HasSecurityScanStartedAt() bool` HasSecurityScanStartedAt returns a boolean if a field has been set. ### GetSecurityScanStatus -`func (o *NpmPackageUpload) GetSecurityScanStatus() string` +`func (o *CranPackageUploadResponse) GetSecurityScanStatus() string` GetSecurityScanStatus returns the SecurityScanStatus field if non-nil, zero value otherwise. ### GetSecurityScanStatusOk -`func (o *NpmPackageUpload) GetSecurityScanStatusOk() (*string, bool)` +`func (o *CranPackageUploadResponse) GetSecurityScanStatusOk() (*string, bool)` GetSecurityScanStatusOk returns a tuple with the SecurityScanStatus field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetSecurityScanStatus -`func (o *NpmPackageUpload) SetSecurityScanStatus(v string)` +`func (o *CranPackageUploadResponse) SetSecurityScanStatus(v string)` SetSecurityScanStatus sets SecurityScanStatus field to given value. ### HasSecurityScanStatus -`func (o *NpmPackageUpload) HasSecurityScanStatus() bool` +`func (o *CranPackageUploadResponse) HasSecurityScanStatus() bool` HasSecurityScanStatus returns a boolean if a field has been set. +### SetSecurityScanStatusNil + +`func (o *CranPackageUploadResponse) SetSecurityScanStatusNil(b bool)` + + SetSecurityScanStatusNil sets the value for SecurityScanStatus to be an explicit nil + +### UnsetSecurityScanStatus +`func (o *CranPackageUploadResponse) UnsetSecurityScanStatus()` + +UnsetSecurityScanStatus ensures that no value is present for SecurityScanStatus, not even an explicit nil ### GetSecurityScanStatusUpdatedAt -`func (o *NpmPackageUpload) GetSecurityScanStatusUpdatedAt() string` +`func (o *CranPackageUploadResponse) GetSecurityScanStatusUpdatedAt() time.Time` GetSecurityScanStatusUpdatedAt returns the SecurityScanStatusUpdatedAt field if non-nil, zero value otherwise. ### GetSecurityScanStatusUpdatedAtOk -`func (o *NpmPackageUpload) GetSecurityScanStatusUpdatedAtOk() (*string, bool)` +`func (o *CranPackageUploadResponse) GetSecurityScanStatusUpdatedAtOk() (*time.Time, bool)` GetSecurityScanStatusUpdatedAtOk returns a tuple with the SecurityScanStatusUpdatedAt field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetSecurityScanStatusUpdatedAt -`func (o *NpmPackageUpload) SetSecurityScanStatusUpdatedAt(v string)` +`func (o *CranPackageUploadResponse) SetSecurityScanStatusUpdatedAt(v time.Time)` SetSecurityScanStatusUpdatedAt sets SecurityScanStatusUpdatedAt field to given value. ### HasSecurityScanStatusUpdatedAt -`func (o *NpmPackageUpload) HasSecurityScanStatusUpdatedAt() bool` +`func (o *CranPackageUploadResponse) HasSecurityScanStatusUpdatedAt() bool` HasSecurityScanStatusUpdatedAt returns a boolean if a field has been set. ### GetSelfHtmlUrl -`func (o *NpmPackageUpload) GetSelfHtmlUrl() string` +`func (o *CranPackageUploadResponse) GetSelfHtmlUrl() string` GetSelfHtmlUrl returns the SelfHtmlUrl field if non-nil, zero value otherwise. ### GetSelfHtmlUrlOk -`func (o *NpmPackageUpload) GetSelfHtmlUrlOk() (*string, bool)` +`func (o *CranPackageUploadResponse) GetSelfHtmlUrlOk() (*string, bool)` GetSelfHtmlUrlOk returns a tuple with the SelfHtmlUrl field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetSelfHtmlUrl -`func (o *NpmPackageUpload) SetSelfHtmlUrl(v string)` +`func (o *CranPackageUploadResponse) SetSelfHtmlUrl(v string)` SetSelfHtmlUrl sets SelfHtmlUrl field to given value. ### HasSelfHtmlUrl -`func (o *NpmPackageUpload) HasSelfHtmlUrl() bool` +`func (o *CranPackageUploadResponse) HasSelfHtmlUrl() bool` HasSelfHtmlUrl returns a boolean if a field has been set. ### GetSelfUrl -`func (o *NpmPackageUpload) GetSelfUrl() string` +`func (o *CranPackageUploadResponse) GetSelfUrl() string` GetSelfUrl returns the SelfUrl field if non-nil, zero value otherwise. ### GetSelfUrlOk -`func (o *NpmPackageUpload) GetSelfUrlOk() (*string, bool)` +`func (o *CranPackageUploadResponse) GetSelfUrlOk() (*string, bool)` GetSelfUrlOk returns a tuple with the SelfUrl field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetSelfUrl -`func (o *NpmPackageUpload) SetSelfUrl(v string)` +`func (o *CranPackageUploadResponse) SetSelfUrl(v string)` SetSelfUrl sets SelfUrl field to given value. ### HasSelfUrl -`func (o *NpmPackageUpload) HasSelfUrl() bool` +`func (o *CranPackageUploadResponse) HasSelfUrl() bool` HasSelfUrl returns a boolean if a field has been set. ### GetSignatureUrl -`func (o *NpmPackageUpload) GetSignatureUrl() string` +`func (o *CranPackageUploadResponse) GetSignatureUrl() string` GetSignatureUrl returns the SignatureUrl field if non-nil, zero value otherwise. ### GetSignatureUrlOk -`func (o *NpmPackageUpload) GetSignatureUrlOk() (*string, bool)` +`func (o *CranPackageUploadResponse) GetSignatureUrlOk() (*string, bool)` GetSignatureUrlOk returns a tuple with the SignatureUrl field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetSignatureUrl -`func (o *NpmPackageUpload) SetSignatureUrl(v string)` +`func (o *CranPackageUploadResponse) SetSignatureUrl(v string)` SetSignatureUrl sets SignatureUrl field to given value. ### HasSignatureUrl -`func (o *NpmPackageUpload) HasSignatureUrl() bool` +`func (o *CranPackageUploadResponse) HasSignatureUrl() bool` HasSignatureUrl returns a boolean if a field has been set. +### SetSignatureUrlNil + +`func (o *CranPackageUploadResponse) SetSignatureUrlNil(b bool)` + + SetSignatureUrlNil sets the value for SignatureUrl to be an explicit nil + +### UnsetSignatureUrl +`func (o *CranPackageUploadResponse) UnsetSignatureUrl()` + +UnsetSignatureUrl ensures that no value is present for SignatureUrl, not even an explicit nil ### GetSize -`func (o *NpmPackageUpload) GetSize() int64` +`func (o *CranPackageUploadResponse) GetSize() int64` GetSize returns the Size field if non-nil, zero value otherwise. ### GetSizeOk -`func (o *NpmPackageUpload) GetSizeOk() (*int64, bool)` +`func (o *CranPackageUploadResponse) GetSizeOk() (*int64, bool)` GetSizeOk returns a tuple with the Size field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetSize -`func (o *NpmPackageUpload) SetSize(v int64)` +`func (o *CranPackageUploadResponse) SetSize(v int64)` SetSize sets Size field to given value. ### HasSize -`func (o *NpmPackageUpload) HasSize() bool` +`func (o *CranPackageUploadResponse) HasSize() bool` HasSize returns a boolean if a field has been set. ### GetSlug -`func (o *NpmPackageUpload) GetSlug() string` +`func (o *CranPackageUploadResponse) GetSlug() string` GetSlug returns the Slug field if non-nil, zero value otherwise. ### GetSlugOk -`func (o *NpmPackageUpload) GetSlugOk() (*string, bool)` +`func (o *CranPackageUploadResponse) GetSlugOk() (*string, bool)` GetSlugOk returns a tuple with the Slug field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetSlug -`func (o *NpmPackageUpload) SetSlug(v string)` +`func (o *CranPackageUploadResponse) SetSlug(v string)` SetSlug sets Slug field to given value. ### HasSlug -`func (o *NpmPackageUpload) HasSlug() bool` +`func (o *CranPackageUploadResponse) HasSlug() bool` HasSlug returns a boolean if a field has been set. ### GetSlugPerm -`func (o *NpmPackageUpload) GetSlugPerm() string` +`func (o *CranPackageUploadResponse) GetSlugPerm() string` GetSlugPerm returns the SlugPerm field if non-nil, zero value otherwise. ### GetSlugPermOk -`func (o *NpmPackageUpload) GetSlugPermOk() (*string, bool)` +`func (o *CranPackageUploadResponse) GetSlugPermOk() (*string, bool)` GetSlugPermOk returns a tuple with the SlugPerm field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetSlugPerm -`func (o *NpmPackageUpload) SetSlugPerm(v string)` +`func (o *CranPackageUploadResponse) SetSlugPerm(v string)` SetSlugPerm sets SlugPerm field to given value. ### HasSlugPerm -`func (o *NpmPackageUpload) HasSlugPerm() bool` +`func (o *CranPackageUploadResponse) HasSlugPerm() bool` HasSlugPerm returns a boolean if a field has been set. ### GetStage -`func (o *NpmPackageUpload) GetStage() int64` +`func (o *CranPackageUploadResponse) GetStage() int64` GetStage returns the Stage field if non-nil, zero value otherwise. ### GetStageOk -`func (o *NpmPackageUpload) GetStageOk() (*int64, bool)` +`func (o *CranPackageUploadResponse) GetStageOk() (*int64, bool)` GetStageOk returns a tuple with the Stage field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetStage -`func (o *NpmPackageUpload) SetStage(v int64)` +`func (o *CranPackageUploadResponse) SetStage(v int64)` SetStage sets Stage field to given value. ### HasStage -`func (o *NpmPackageUpload) HasStage() bool` +`func (o *CranPackageUploadResponse) HasStage() bool` HasStage returns a boolean if a field has been set. ### GetStageStr -`func (o *NpmPackageUpload) GetStageStr() string` +`func (o *CranPackageUploadResponse) GetStageStr() string` GetStageStr returns the StageStr field if non-nil, zero value otherwise. ### GetStageStrOk -`func (o *NpmPackageUpload) GetStageStrOk() (*string, bool)` +`func (o *CranPackageUploadResponse) GetStageStrOk() (*string, bool)` GetStageStrOk returns a tuple with the StageStr field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetStageStr -`func (o *NpmPackageUpload) SetStageStr(v string)` +`func (o *CranPackageUploadResponse) SetStageStr(v string)` SetStageStr sets StageStr field to given value. ### HasStageStr -`func (o *NpmPackageUpload) HasStageStr() bool` +`func (o *CranPackageUploadResponse) HasStageStr() bool` HasStageStr returns a boolean if a field has been set. ### GetStageUpdatedAt -`func (o *NpmPackageUpload) GetStageUpdatedAt() string` +`func (o *CranPackageUploadResponse) GetStageUpdatedAt() time.Time` GetStageUpdatedAt returns the StageUpdatedAt field if non-nil, zero value otherwise. ### GetStageUpdatedAtOk -`func (o *NpmPackageUpload) GetStageUpdatedAtOk() (*string, bool)` +`func (o *CranPackageUploadResponse) GetStageUpdatedAtOk() (*time.Time, bool)` GetStageUpdatedAtOk returns a tuple with the StageUpdatedAt field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetStageUpdatedAt -`func (o *NpmPackageUpload) SetStageUpdatedAt(v string)` +`func (o *CranPackageUploadResponse) SetStageUpdatedAt(v time.Time)` SetStageUpdatedAt sets StageUpdatedAt field to given value. ### HasStageUpdatedAt -`func (o *NpmPackageUpload) HasStageUpdatedAt() bool` +`func (o *CranPackageUploadResponse) HasStageUpdatedAt() bool` HasStageUpdatedAt returns a boolean if a field has been set. ### GetStatus -`func (o *NpmPackageUpload) GetStatus() int64` +`func (o *CranPackageUploadResponse) GetStatus() int64` GetStatus returns the Status field if non-nil, zero value otherwise. ### GetStatusOk -`func (o *NpmPackageUpload) GetStatusOk() (*int64, bool)` +`func (o *CranPackageUploadResponse) GetStatusOk() (*int64, bool)` GetStatusOk returns a tuple with the Status field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetStatus -`func (o *NpmPackageUpload) SetStatus(v int64)` +`func (o *CranPackageUploadResponse) SetStatus(v int64)` SetStatus sets Status field to given value. ### HasStatus -`func (o *NpmPackageUpload) HasStatus() bool` +`func (o *CranPackageUploadResponse) HasStatus() bool` HasStatus returns a boolean if a field has been set. ### GetStatusReason -`func (o *NpmPackageUpload) GetStatusReason() string` +`func (o *CranPackageUploadResponse) GetStatusReason() string` GetStatusReason returns the StatusReason field if non-nil, zero value otherwise. ### GetStatusReasonOk -`func (o *NpmPackageUpload) GetStatusReasonOk() (*string, bool)` +`func (o *CranPackageUploadResponse) GetStatusReasonOk() (*string, bool)` GetStatusReasonOk returns a tuple with the StatusReason field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetStatusReason -`func (o *NpmPackageUpload) SetStatusReason(v string)` +`func (o *CranPackageUploadResponse) SetStatusReason(v string)` SetStatusReason sets StatusReason field to given value. ### HasStatusReason -`func (o *NpmPackageUpload) HasStatusReason() bool` +`func (o *CranPackageUploadResponse) HasStatusReason() bool` HasStatusReason returns a boolean if a field has been set. ### GetStatusStr -`func (o *NpmPackageUpload) GetStatusStr() string` +`func (o *CranPackageUploadResponse) GetStatusStr() string` GetStatusStr returns the StatusStr field if non-nil, zero value otherwise. ### GetStatusStrOk -`func (o *NpmPackageUpload) GetStatusStrOk() (*string, bool)` +`func (o *CranPackageUploadResponse) GetStatusStrOk() (*string, bool)` GetStatusStrOk returns a tuple with the StatusStr field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetStatusStr -`func (o *NpmPackageUpload) SetStatusStr(v string)` +`func (o *CranPackageUploadResponse) SetStatusStr(v string)` SetStatusStr sets StatusStr field to given value. ### HasStatusStr -`func (o *NpmPackageUpload) HasStatusStr() bool` +`func (o *CranPackageUploadResponse) HasStatusStr() bool` HasStatusStr returns a boolean if a field has been set. ### GetStatusUpdatedAt -`func (o *NpmPackageUpload) GetStatusUpdatedAt() string` +`func (o *CranPackageUploadResponse) GetStatusUpdatedAt() time.Time` GetStatusUpdatedAt returns the StatusUpdatedAt field if non-nil, zero value otherwise. ### GetStatusUpdatedAtOk -`func (o *NpmPackageUpload) GetStatusUpdatedAtOk() (*string, bool)` +`func (o *CranPackageUploadResponse) GetStatusUpdatedAtOk() (*time.Time, bool)` GetStatusUpdatedAtOk returns a tuple with the StatusUpdatedAt field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetStatusUpdatedAt -`func (o *NpmPackageUpload) SetStatusUpdatedAt(v string)` +`func (o *CranPackageUploadResponse) SetStatusUpdatedAt(v time.Time)` SetStatusUpdatedAt sets StatusUpdatedAt field to given value. ### HasStatusUpdatedAt -`func (o *NpmPackageUpload) HasStatusUpdatedAt() bool` +`func (o *CranPackageUploadResponse) HasStatusUpdatedAt() bool` HasStatusUpdatedAt returns a boolean if a field has been set. ### GetStatusUrl -`func (o *NpmPackageUpload) GetStatusUrl() string` +`func (o *CranPackageUploadResponse) GetStatusUrl() string` GetStatusUrl returns the StatusUrl field if non-nil, zero value otherwise. ### GetStatusUrlOk -`func (o *NpmPackageUpload) GetStatusUrlOk() (*string, bool)` +`func (o *CranPackageUploadResponse) GetStatusUrlOk() (*string, bool)` GetStatusUrlOk returns a tuple with the StatusUrl field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetStatusUrl -`func (o *NpmPackageUpload) SetStatusUrl(v string)` +`func (o *CranPackageUploadResponse) SetStatusUrl(v string)` SetStatusUrl sets StatusUrl field to given value. ### HasStatusUrl -`func (o *NpmPackageUpload) HasStatusUrl() bool` +`func (o *CranPackageUploadResponse) HasStatusUrl() bool` HasStatusUrl returns a boolean if a field has been set. ### GetSubtype -`func (o *NpmPackageUpload) GetSubtype() string` +`func (o *CranPackageUploadResponse) GetSubtype() string` GetSubtype returns the Subtype field if non-nil, zero value otherwise. ### GetSubtypeOk -`func (o *NpmPackageUpload) GetSubtypeOk() (*string, bool)` +`func (o *CranPackageUploadResponse) GetSubtypeOk() (*string, bool)` GetSubtypeOk returns a tuple with the Subtype field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetSubtype -`func (o *NpmPackageUpload) SetSubtype(v string)` +`func (o *CranPackageUploadResponse) SetSubtype(v string)` SetSubtype sets Subtype field to given value. ### HasSubtype -`func (o *NpmPackageUpload) HasSubtype() bool` +`func (o *CranPackageUploadResponse) HasSubtype() bool` HasSubtype returns a boolean if a field has been set. ### GetSummary -`func (o *NpmPackageUpload) GetSummary() string` +`func (o *CranPackageUploadResponse) GetSummary() string` GetSummary returns the Summary field if non-nil, zero value otherwise. ### GetSummaryOk -`func (o *NpmPackageUpload) GetSummaryOk() (*string, bool)` +`func (o *CranPackageUploadResponse) GetSummaryOk() (*string, bool)` GetSummaryOk returns a tuple with the Summary field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetSummary -`func (o *NpmPackageUpload) SetSummary(v string)` +`func (o *CranPackageUploadResponse) SetSummary(v string)` SetSummary sets Summary field to given value. ### HasSummary -`func (o *NpmPackageUpload) HasSummary() bool` +`func (o *CranPackageUploadResponse) HasSummary() bool` HasSummary returns a boolean if a field has been set. ### GetSyncFinishedAt -`func (o *NpmPackageUpload) GetSyncFinishedAt() string` +`func (o *CranPackageUploadResponse) GetSyncFinishedAt() time.Time` GetSyncFinishedAt returns the SyncFinishedAt field if non-nil, zero value otherwise. ### GetSyncFinishedAtOk -`func (o *NpmPackageUpload) GetSyncFinishedAtOk() (*string, bool)` +`func (o *CranPackageUploadResponse) GetSyncFinishedAtOk() (*time.Time, bool)` GetSyncFinishedAtOk returns a tuple with the SyncFinishedAt field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetSyncFinishedAt -`func (o *NpmPackageUpload) SetSyncFinishedAt(v string)` +`func (o *CranPackageUploadResponse) SetSyncFinishedAt(v time.Time)` SetSyncFinishedAt sets SyncFinishedAt field to given value. ### HasSyncFinishedAt -`func (o *NpmPackageUpload) HasSyncFinishedAt() bool` +`func (o *CranPackageUploadResponse) HasSyncFinishedAt() bool` HasSyncFinishedAt returns a boolean if a field has been set. ### GetSyncProgress -`func (o *NpmPackageUpload) GetSyncProgress() int64` +`func (o *CranPackageUploadResponse) GetSyncProgress() int64` GetSyncProgress returns the SyncProgress field if non-nil, zero value otherwise. ### GetSyncProgressOk -`func (o *NpmPackageUpload) GetSyncProgressOk() (*int64, bool)` +`func (o *CranPackageUploadResponse) GetSyncProgressOk() (*int64, bool)` GetSyncProgressOk returns a tuple with the SyncProgress field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetSyncProgress -`func (o *NpmPackageUpload) SetSyncProgress(v int64)` +`func (o *CranPackageUploadResponse) SetSyncProgress(v int64)` SetSyncProgress sets SyncProgress field to given value. ### HasSyncProgress -`func (o *NpmPackageUpload) HasSyncProgress() bool` +`func (o *CranPackageUploadResponse) HasSyncProgress() bool` HasSyncProgress returns a boolean if a field has been set. ### GetTagsImmutable -`func (o *NpmPackageUpload) GetTagsImmutable() map[string]interface{}` +`func (o *CranPackageUploadResponse) GetTagsImmutable() map[string]interface{}` GetTagsImmutable returns the TagsImmutable field if non-nil, zero value otherwise. ### GetTagsImmutableOk -`func (o *NpmPackageUpload) GetTagsImmutableOk() (*map[string]interface{}, bool)` +`func (o *CranPackageUploadResponse) GetTagsImmutableOk() (*map[string]interface{}, bool)` GetTagsImmutableOk returns a tuple with the TagsImmutable field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetTagsImmutable -`func (o *NpmPackageUpload) SetTagsImmutable(v map[string]interface{})` +`func (o *CranPackageUploadResponse) SetTagsImmutable(v map[string]interface{})` SetTagsImmutable sets TagsImmutable field to given value. ### HasTagsImmutable -`func (o *NpmPackageUpload) HasTagsImmutable() bool` +`func (o *CranPackageUploadResponse) HasTagsImmutable() bool` HasTagsImmutable returns a boolean if a field has been set. ### GetTypeDisplay -`func (o *NpmPackageUpload) GetTypeDisplay() string` +`func (o *CranPackageUploadResponse) GetTypeDisplay() string` GetTypeDisplay returns the TypeDisplay field if non-nil, zero value otherwise. ### GetTypeDisplayOk -`func (o *NpmPackageUpload) GetTypeDisplayOk() (*string, bool)` +`func (o *CranPackageUploadResponse) GetTypeDisplayOk() (*string, bool)` GetTypeDisplayOk returns a tuple with the TypeDisplay field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetTypeDisplay -`func (o *NpmPackageUpload) SetTypeDisplay(v string)` +`func (o *CranPackageUploadResponse) SetTypeDisplay(v string)` SetTypeDisplay sets TypeDisplay field to given value. ### HasTypeDisplay -`func (o *NpmPackageUpload) HasTypeDisplay() bool` +`func (o *CranPackageUploadResponse) HasTypeDisplay() bool` HasTypeDisplay returns a boolean if a field has been set. ### GetUploadedAt -`func (o *NpmPackageUpload) GetUploadedAt() string` +`func (o *CranPackageUploadResponse) GetUploadedAt() time.Time` GetUploadedAt returns the UploadedAt field if non-nil, zero value otherwise. ### GetUploadedAtOk -`func (o *NpmPackageUpload) GetUploadedAtOk() (*string, bool)` +`func (o *CranPackageUploadResponse) GetUploadedAtOk() (*time.Time, bool)` GetUploadedAtOk returns a tuple with the UploadedAt field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetUploadedAt -`func (o *NpmPackageUpload) SetUploadedAt(v string)` +`func (o *CranPackageUploadResponse) SetUploadedAt(v time.Time)` SetUploadedAt sets UploadedAt field to given value. ### HasUploadedAt -`func (o *NpmPackageUpload) HasUploadedAt() bool` +`func (o *CranPackageUploadResponse) HasUploadedAt() bool` HasUploadedAt returns a boolean if a field has been set. ### GetUploader -`func (o *NpmPackageUpload) GetUploader() string` +`func (o *CranPackageUploadResponse) GetUploader() string` GetUploader returns the Uploader field if non-nil, zero value otherwise. ### GetUploaderOk -`func (o *NpmPackageUpload) GetUploaderOk() (*string, bool)` +`func (o *CranPackageUploadResponse) GetUploaderOk() (*string, bool)` GetUploaderOk returns a tuple with the Uploader field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetUploader -`func (o *NpmPackageUpload) SetUploader(v string)` +`func (o *CranPackageUploadResponse) SetUploader(v string)` SetUploader sets Uploader field to given value. ### HasUploader -`func (o *NpmPackageUpload) HasUploader() bool` +`func (o *CranPackageUploadResponse) HasUploader() bool` HasUploader returns a boolean if a field has been set. ### GetUploaderUrl -`func (o *NpmPackageUpload) GetUploaderUrl() string` +`func (o *CranPackageUploadResponse) GetUploaderUrl() string` GetUploaderUrl returns the UploaderUrl field if non-nil, zero value otherwise. ### GetUploaderUrlOk -`func (o *NpmPackageUpload) GetUploaderUrlOk() (*string, bool)` +`func (o *CranPackageUploadResponse) GetUploaderUrlOk() (*string, bool)` GetUploaderUrlOk returns a tuple with the UploaderUrl field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetUploaderUrl -`func (o *NpmPackageUpload) SetUploaderUrl(v string)` +`func (o *CranPackageUploadResponse) SetUploaderUrl(v string)` SetUploaderUrl sets UploaderUrl field to given value. ### HasUploaderUrl -`func (o *NpmPackageUpload) HasUploaderUrl() bool` +`func (o *CranPackageUploadResponse) HasUploaderUrl() bool` HasUploaderUrl returns a boolean if a field has been set. ### GetVersion -`func (o *NpmPackageUpload) GetVersion() string` +`func (o *CranPackageUploadResponse) GetVersion() string` GetVersion returns the Version field if non-nil, zero value otherwise. ### GetVersionOk -`func (o *NpmPackageUpload) GetVersionOk() (*string, bool)` +`func (o *CranPackageUploadResponse) GetVersionOk() (*string, bool)` GetVersionOk returns a tuple with the Version field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetVersion -`func (o *NpmPackageUpload) SetVersion(v string)` +`func (o *CranPackageUploadResponse) SetVersion(v string)` SetVersion sets Version field to given value. ### HasVersion -`func (o *NpmPackageUpload) HasVersion() bool` +`func (o *CranPackageUploadResponse) HasVersion() bool` HasVersion returns a boolean if a field has been set. ### GetVersionOrig -`func (o *NpmPackageUpload) GetVersionOrig() string` +`func (o *CranPackageUploadResponse) GetVersionOrig() string` GetVersionOrig returns the VersionOrig field if non-nil, zero value otherwise. ### GetVersionOrigOk -`func (o *NpmPackageUpload) GetVersionOrigOk() (*string, bool)` +`func (o *CranPackageUploadResponse) GetVersionOrigOk() (*string, bool)` GetVersionOrigOk returns a tuple with the VersionOrig field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetVersionOrig -`func (o *NpmPackageUpload) SetVersionOrig(v string)` +`func (o *CranPackageUploadResponse) SetVersionOrig(v string)` SetVersionOrig sets VersionOrig field to given value. ### HasVersionOrig -`func (o *NpmPackageUpload) HasVersionOrig() bool` +`func (o *CranPackageUploadResponse) HasVersionOrig() bool` HasVersionOrig returns a boolean if a field has been set. ### GetVulnerabilityScanResultsUrl -`func (o *NpmPackageUpload) GetVulnerabilityScanResultsUrl() string` +`func (o *CranPackageUploadResponse) GetVulnerabilityScanResultsUrl() string` GetVulnerabilityScanResultsUrl returns the VulnerabilityScanResultsUrl field if non-nil, zero value otherwise. ### GetVulnerabilityScanResultsUrlOk -`func (o *NpmPackageUpload) GetVulnerabilityScanResultsUrlOk() (*string, bool)` +`func (o *CranPackageUploadResponse) GetVulnerabilityScanResultsUrlOk() (*string, bool)` GetVulnerabilityScanResultsUrlOk returns a tuple with the VulnerabilityScanResultsUrl field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetVulnerabilityScanResultsUrl -`func (o *NpmPackageUpload) SetVulnerabilityScanResultsUrl(v string)` +`func (o *CranPackageUploadResponse) SetVulnerabilityScanResultsUrl(v string)` SetVulnerabilityScanResultsUrl sets VulnerabilityScanResultsUrl field to given value. ### HasVulnerabilityScanResultsUrl -`func (o *NpmPackageUpload) HasVulnerabilityScanResultsUrl() bool` +`func (o *CranPackageUploadResponse) HasVulnerabilityScanResultsUrl() bool` HasVulnerabilityScanResultsUrl returns a boolean if a field has been set. diff --git a/docs/DartPackageUpload.md b/docs/DartPackageUpload.md deleted file mode 100644 index e83845fa..00000000 --- a/docs/DartPackageUpload.md +++ /dev/null @@ -1,1746 +0,0 @@ -# DartPackageUpload - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**Architectures** | Pointer to [**[]PackagesOwnerRepoArchitectures**](PackagesOwnerRepoArchitectures.md) | | [optional] -**CdnUrl** | Pointer to **string** | | [optional] -**ChecksumMd5** | Pointer to **string** | | [optional] -**ChecksumSha1** | Pointer to **string** | | [optional] -**ChecksumSha256** | Pointer to **string** | | [optional] -**ChecksumSha512** | Pointer to **string** | | [optional] -**DependenciesChecksumMd5** | Pointer to **string** | A checksum of all of the package's dependencies. | [optional] -**DependenciesUrl** | Pointer to **string** | | [optional] -**Description** | Pointer to **string** | A textual description of this package. | [optional] -**Distro** | Pointer to **map[string]interface{}** | | [optional] -**DistroVersion** | Pointer to **map[string]interface{}** | | [optional] -**Downloads** | Pointer to **int64** | | [optional] -**Epoch** | Pointer to **int64** | The epoch of the package version (if any). | [optional] -**Extension** | Pointer to **string** | | [optional] -**Filename** | Pointer to **string** | | [optional] -**Files** | Pointer to [**[]PackagesOwnerRepoFiles**](PackagesOwnerRepoFiles.md) | | [optional] -**Format** | Pointer to **string** | | [optional] -**FormatUrl** | Pointer to **string** | | [optional] -**IdentifierPerm** | Pointer to **string** | Unique and permanent identifier for the package. | [optional] -**Indexed** | Pointer to **bool** | | [optional] -**IsDownloadable** | Pointer to **bool** | | [optional] -**IsQuarantined** | Pointer to **bool** | | [optional] -**IsSyncAwaiting** | Pointer to **bool** | | [optional] -**IsSyncCompleted** | Pointer to **bool** | | [optional] -**IsSyncFailed** | Pointer to **bool** | | [optional] -**IsSyncInFlight** | Pointer to **bool** | | [optional] -**IsSyncInProgress** | Pointer to **bool** | | [optional] -**License** | Pointer to **string** | The license of this package. | [optional] -**Name** | Pointer to **string** | The name of this package. | [optional] -**Namespace** | Pointer to **string** | | [optional] -**NamespaceUrl** | Pointer to **string** | | [optional] -**NumFiles** | Pointer to **int64** | | [optional] -**PackageType** | Pointer to **int64** | The type of package contents. | [optional] -**Release** | Pointer to **string** | The release of the package version (if any). | [optional] -**Repository** | Pointer to **string** | | [optional] -**RepositoryUrl** | Pointer to **string** | | [optional] -**SecurityScanCompletedAt** | Pointer to **string** | The datetime the security scanning was completed. | [optional] -**SecurityScanStartedAt** | Pointer to **string** | The datetime the security scanning was started. | [optional] -**SecurityScanStatus** | Pointer to **string** | | [optional] -**SecurityScanStatusUpdatedAt** | Pointer to **string** | The datetime the security scanning status was updated. | [optional] -**SelfHtmlUrl** | Pointer to **string** | | [optional] -**SelfUrl** | Pointer to **string** | | [optional] -**SignatureUrl** | Pointer to **string** | | [optional] -**Size** | Pointer to **int64** | The calculated size of the package. | [optional] -**Slug** | Pointer to **string** | The public unique identifier for the package. | [optional] -**SlugPerm** | Pointer to **string** | | [optional] -**Stage** | Pointer to **int64** | The synchronisation (in progress) stage of the package. | [optional] -**StageStr** | Pointer to **string** | | [optional] -**StageUpdatedAt** | Pointer to **string** | The datetime the package stage was updated at. | [optional] -**Status** | Pointer to **int64** | The synchronisation status of the package. | [optional] -**StatusReason** | Pointer to **string** | A textual description for the synchronous status reason (if any | [optional] -**StatusStr** | Pointer to **string** | | [optional] -**StatusUpdatedAt** | Pointer to **string** | The datetime the package status was updated at. | [optional] -**StatusUrl** | Pointer to **string** | | [optional] -**Subtype** | Pointer to **string** | | [optional] -**Summary** | Pointer to **string** | A one-liner synopsis of this package. | [optional] -**SyncFinishedAt** | Pointer to **string** | The datetime the package sync was finished at. | [optional] -**SyncProgress** | Pointer to **int64** | Synchronisation progress (from 0-100) | [optional] -**TagsImmutable** | Pointer to **map[string]interface{}** | All immutable tags on the package, grouped by tag type. Immutable tags cannot be (easily) deleted. | [optional] -**TypeDisplay** | Pointer to **string** | | [optional] -**UploadedAt** | Pointer to **string** | The date this package was uploaded. | [optional] -**Uploader** | Pointer to **string** | | [optional] -**UploaderUrl** | Pointer to **string** | | [optional] -**Version** | Pointer to **string** | The raw version for this package. | [optional] -**VersionOrig** | Pointer to **string** | | [optional] -**VulnerabilityScanResultsUrl** | Pointer to **string** | | [optional] - -## Methods - -### NewDartPackageUpload - -`func NewDartPackageUpload() *DartPackageUpload` - -NewDartPackageUpload instantiates a new DartPackageUpload object -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 - -### NewDartPackageUploadWithDefaults - -`func NewDartPackageUploadWithDefaults() *DartPackageUpload` - -NewDartPackageUploadWithDefaults instantiates a new DartPackageUpload object -This constructor will only assign default values to properties that have it defined, -but it doesn't guarantee that properties required by API are set - -### GetArchitectures - -`func (o *DartPackageUpload) GetArchitectures() []PackagesOwnerRepoArchitectures` - -GetArchitectures returns the Architectures field if non-nil, zero value otherwise. - -### GetArchitecturesOk - -`func (o *DartPackageUpload) GetArchitecturesOk() (*[]PackagesOwnerRepoArchitectures, bool)` - -GetArchitecturesOk returns a tuple with the Architectures field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetArchitectures - -`func (o *DartPackageUpload) SetArchitectures(v []PackagesOwnerRepoArchitectures)` - -SetArchitectures sets Architectures field to given value. - -### HasArchitectures - -`func (o *DartPackageUpload) HasArchitectures() bool` - -HasArchitectures returns a boolean if a field has been set. - -### GetCdnUrl - -`func (o *DartPackageUpload) GetCdnUrl() string` - -GetCdnUrl returns the CdnUrl field if non-nil, zero value otherwise. - -### GetCdnUrlOk - -`func (o *DartPackageUpload) GetCdnUrlOk() (*string, bool)` - -GetCdnUrlOk returns a tuple with the CdnUrl field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetCdnUrl - -`func (o *DartPackageUpload) SetCdnUrl(v string)` - -SetCdnUrl sets CdnUrl field to given value. - -### HasCdnUrl - -`func (o *DartPackageUpload) HasCdnUrl() bool` - -HasCdnUrl returns a boolean if a field has been set. - -### GetChecksumMd5 - -`func (o *DartPackageUpload) GetChecksumMd5() string` - -GetChecksumMd5 returns the ChecksumMd5 field if non-nil, zero value otherwise. - -### GetChecksumMd5Ok - -`func (o *DartPackageUpload) GetChecksumMd5Ok() (*string, bool)` - -GetChecksumMd5Ok returns a tuple with the ChecksumMd5 field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetChecksumMd5 - -`func (o *DartPackageUpload) SetChecksumMd5(v string)` - -SetChecksumMd5 sets ChecksumMd5 field to given value. - -### HasChecksumMd5 - -`func (o *DartPackageUpload) HasChecksumMd5() bool` - -HasChecksumMd5 returns a boolean if a field has been set. - -### GetChecksumSha1 - -`func (o *DartPackageUpload) GetChecksumSha1() string` - -GetChecksumSha1 returns the ChecksumSha1 field if non-nil, zero value otherwise. - -### GetChecksumSha1Ok - -`func (o *DartPackageUpload) GetChecksumSha1Ok() (*string, bool)` - -GetChecksumSha1Ok returns a tuple with the ChecksumSha1 field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetChecksumSha1 - -`func (o *DartPackageUpload) SetChecksumSha1(v string)` - -SetChecksumSha1 sets ChecksumSha1 field to given value. - -### HasChecksumSha1 - -`func (o *DartPackageUpload) HasChecksumSha1() bool` - -HasChecksumSha1 returns a boolean if a field has been set. - -### GetChecksumSha256 - -`func (o *DartPackageUpload) GetChecksumSha256() string` - -GetChecksumSha256 returns the ChecksumSha256 field if non-nil, zero value otherwise. - -### GetChecksumSha256Ok - -`func (o *DartPackageUpload) GetChecksumSha256Ok() (*string, bool)` - -GetChecksumSha256Ok returns a tuple with the ChecksumSha256 field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetChecksumSha256 - -`func (o *DartPackageUpload) SetChecksumSha256(v string)` - -SetChecksumSha256 sets ChecksumSha256 field to given value. - -### HasChecksumSha256 - -`func (o *DartPackageUpload) HasChecksumSha256() bool` - -HasChecksumSha256 returns a boolean if a field has been set. - -### GetChecksumSha512 - -`func (o *DartPackageUpload) GetChecksumSha512() string` - -GetChecksumSha512 returns the ChecksumSha512 field if non-nil, zero value otherwise. - -### GetChecksumSha512Ok - -`func (o *DartPackageUpload) GetChecksumSha512Ok() (*string, bool)` - -GetChecksumSha512Ok returns a tuple with the ChecksumSha512 field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetChecksumSha512 - -`func (o *DartPackageUpload) SetChecksumSha512(v string)` - -SetChecksumSha512 sets ChecksumSha512 field to given value. - -### HasChecksumSha512 - -`func (o *DartPackageUpload) HasChecksumSha512() bool` - -HasChecksumSha512 returns a boolean if a field has been set. - -### GetDependenciesChecksumMd5 - -`func (o *DartPackageUpload) GetDependenciesChecksumMd5() string` - -GetDependenciesChecksumMd5 returns the DependenciesChecksumMd5 field if non-nil, zero value otherwise. - -### GetDependenciesChecksumMd5Ok - -`func (o *DartPackageUpload) GetDependenciesChecksumMd5Ok() (*string, bool)` - -GetDependenciesChecksumMd5Ok returns a tuple with the DependenciesChecksumMd5 field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetDependenciesChecksumMd5 - -`func (o *DartPackageUpload) SetDependenciesChecksumMd5(v string)` - -SetDependenciesChecksumMd5 sets DependenciesChecksumMd5 field to given value. - -### HasDependenciesChecksumMd5 - -`func (o *DartPackageUpload) HasDependenciesChecksumMd5() bool` - -HasDependenciesChecksumMd5 returns a boolean if a field has been set. - -### GetDependenciesUrl - -`func (o *DartPackageUpload) GetDependenciesUrl() string` - -GetDependenciesUrl returns the DependenciesUrl field if non-nil, zero value otherwise. - -### GetDependenciesUrlOk - -`func (o *DartPackageUpload) GetDependenciesUrlOk() (*string, bool)` - -GetDependenciesUrlOk returns a tuple with the DependenciesUrl field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetDependenciesUrl - -`func (o *DartPackageUpload) SetDependenciesUrl(v string)` - -SetDependenciesUrl sets DependenciesUrl field to given value. - -### HasDependenciesUrl - -`func (o *DartPackageUpload) HasDependenciesUrl() bool` - -HasDependenciesUrl returns a boolean if a field has been set. - -### GetDescription - -`func (o *DartPackageUpload) GetDescription() string` - -GetDescription returns the Description field if non-nil, zero value otherwise. - -### GetDescriptionOk - -`func (o *DartPackageUpload) GetDescriptionOk() (*string, bool)` - -GetDescriptionOk returns a tuple with the Description field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetDescription - -`func (o *DartPackageUpload) SetDescription(v string)` - -SetDescription sets Description field to given value. - -### HasDescription - -`func (o *DartPackageUpload) HasDescription() bool` - -HasDescription returns a boolean if a field has been set. - -### GetDistro - -`func (o *DartPackageUpload) GetDistro() map[string]interface{}` - -GetDistro returns the Distro field if non-nil, zero value otherwise. - -### GetDistroOk - -`func (o *DartPackageUpload) GetDistroOk() (*map[string]interface{}, bool)` - -GetDistroOk returns a tuple with the Distro field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetDistro - -`func (o *DartPackageUpload) SetDistro(v map[string]interface{})` - -SetDistro sets Distro field to given value. - -### HasDistro - -`func (o *DartPackageUpload) HasDistro() bool` - -HasDistro returns a boolean if a field has been set. - -### GetDistroVersion - -`func (o *DartPackageUpload) GetDistroVersion() map[string]interface{}` - -GetDistroVersion returns the DistroVersion field if non-nil, zero value otherwise. - -### GetDistroVersionOk - -`func (o *DartPackageUpload) GetDistroVersionOk() (*map[string]interface{}, bool)` - -GetDistroVersionOk returns a tuple with the DistroVersion field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetDistroVersion - -`func (o *DartPackageUpload) SetDistroVersion(v map[string]interface{})` - -SetDistroVersion sets DistroVersion field to given value. - -### HasDistroVersion - -`func (o *DartPackageUpload) HasDistroVersion() bool` - -HasDistroVersion returns a boolean if a field has been set. - -### GetDownloads - -`func (o *DartPackageUpload) GetDownloads() int64` - -GetDownloads returns the Downloads field if non-nil, zero value otherwise. - -### GetDownloadsOk - -`func (o *DartPackageUpload) GetDownloadsOk() (*int64, bool)` - -GetDownloadsOk returns a tuple with the Downloads field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetDownloads - -`func (o *DartPackageUpload) SetDownloads(v int64)` - -SetDownloads sets Downloads field to given value. - -### HasDownloads - -`func (o *DartPackageUpload) HasDownloads() bool` - -HasDownloads returns a boolean if a field has been set. - -### GetEpoch - -`func (o *DartPackageUpload) GetEpoch() int64` - -GetEpoch returns the Epoch field if non-nil, zero value otherwise. - -### GetEpochOk - -`func (o *DartPackageUpload) GetEpochOk() (*int64, bool)` - -GetEpochOk returns a tuple with the Epoch field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetEpoch - -`func (o *DartPackageUpload) SetEpoch(v int64)` - -SetEpoch sets Epoch field to given value. - -### HasEpoch - -`func (o *DartPackageUpload) HasEpoch() bool` - -HasEpoch returns a boolean if a field has been set. - -### GetExtension - -`func (o *DartPackageUpload) GetExtension() string` - -GetExtension returns the Extension field if non-nil, zero value otherwise. - -### GetExtensionOk - -`func (o *DartPackageUpload) GetExtensionOk() (*string, bool)` - -GetExtensionOk returns a tuple with the Extension field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetExtension - -`func (o *DartPackageUpload) SetExtension(v string)` - -SetExtension sets Extension field to given value. - -### HasExtension - -`func (o *DartPackageUpload) HasExtension() bool` - -HasExtension returns a boolean if a field has been set. - -### GetFilename - -`func (o *DartPackageUpload) GetFilename() string` - -GetFilename returns the Filename field if non-nil, zero value otherwise. - -### GetFilenameOk - -`func (o *DartPackageUpload) GetFilenameOk() (*string, bool)` - -GetFilenameOk returns a tuple with the Filename field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetFilename - -`func (o *DartPackageUpload) SetFilename(v string)` - -SetFilename sets Filename field to given value. - -### HasFilename - -`func (o *DartPackageUpload) HasFilename() bool` - -HasFilename returns a boolean if a field has been set. - -### GetFiles - -`func (o *DartPackageUpload) GetFiles() []PackagesOwnerRepoFiles` - -GetFiles returns the Files field if non-nil, zero value otherwise. - -### GetFilesOk - -`func (o *DartPackageUpload) GetFilesOk() (*[]PackagesOwnerRepoFiles, 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 *DartPackageUpload) SetFiles(v []PackagesOwnerRepoFiles)` - -SetFiles sets Files field to given value. - -### HasFiles - -`func (o *DartPackageUpload) HasFiles() bool` - -HasFiles returns a boolean if a field has been set. - -### GetFormat - -`func (o *DartPackageUpload) GetFormat() string` - -GetFormat returns the Format field if non-nil, zero value otherwise. - -### GetFormatOk - -`func (o *DartPackageUpload) GetFormatOk() (*string, bool)` - -GetFormatOk returns a tuple with the Format field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetFormat - -`func (o *DartPackageUpload) SetFormat(v string)` - -SetFormat sets Format field to given value. - -### HasFormat - -`func (o *DartPackageUpload) HasFormat() bool` - -HasFormat returns a boolean if a field has been set. - -### GetFormatUrl - -`func (o *DartPackageUpload) GetFormatUrl() string` - -GetFormatUrl returns the FormatUrl field if non-nil, zero value otherwise. - -### GetFormatUrlOk - -`func (o *DartPackageUpload) GetFormatUrlOk() (*string, bool)` - -GetFormatUrlOk returns a tuple with the FormatUrl field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetFormatUrl - -`func (o *DartPackageUpload) SetFormatUrl(v string)` - -SetFormatUrl sets FormatUrl field to given value. - -### HasFormatUrl - -`func (o *DartPackageUpload) HasFormatUrl() bool` - -HasFormatUrl returns a boolean if a field has been set. - -### GetIdentifierPerm - -`func (o *DartPackageUpload) GetIdentifierPerm() string` - -GetIdentifierPerm returns the IdentifierPerm field if non-nil, zero value otherwise. - -### GetIdentifierPermOk - -`func (o *DartPackageUpload) GetIdentifierPermOk() (*string, bool)` - -GetIdentifierPermOk returns a tuple with the IdentifierPerm field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetIdentifierPerm - -`func (o *DartPackageUpload) SetIdentifierPerm(v string)` - -SetIdentifierPerm sets IdentifierPerm field to given value. - -### HasIdentifierPerm - -`func (o *DartPackageUpload) HasIdentifierPerm() bool` - -HasIdentifierPerm returns a boolean if a field has been set. - -### GetIndexed - -`func (o *DartPackageUpload) GetIndexed() bool` - -GetIndexed returns the Indexed field if non-nil, zero value otherwise. - -### GetIndexedOk - -`func (o *DartPackageUpload) GetIndexedOk() (*bool, bool)` - -GetIndexedOk returns a tuple with the Indexed field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetIndexed - -`func (o *DartPackageUpload) SetIndexed(v bool)` - -SetIndexed sets Indexed field to given value. - -### HasIndexed - -`func (o *DartPackageUpload) HasIndexed() bool` - -HasIndexed returns a boolean if a field has been set. - -### GetIsDownloadable - -`func (o *DartPackageUpload) GetIsDownloadable() bool` - -GetIsDownloadable returns the IsDownloadable field if non-nil, zero value otherwise. - -### GetIsDownloadableOk - -`func (o *DartPackageUpload) GetIsDownloadableOk() (*bool, bool)` - -GetIsDownloadableOk returns a tuple with the IsDownloadable field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetIsDownloadable - -`func (o *DartPackageUpload) SetIsDownloadable(v bool)` - -SetIsDownloadable sets IsDownloadable field to given value. - -### HasIsDownloadable - -`func (o *DartPackageUpload) HasIsDownloadable() bool` - -HasIsDownloadable returns a boolean if a field has been set. - -### GetIsQuarantined - -`func (o *DartPackageUpload) GetIsQuarantined() bool` - -GetIsQuarantined returns the IsQuarantined field if non-nil, zero value otherwise. - -### GetIsQuarantinedOk - -`func (o *DartPackageUpload) GetIsQuarantinedOk() (*bool, bool)` - -GetIsQuarantinedOk returns a tuple with the IsQuarantined field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetIsQuarantined - -`func (o *DartPackageUpload) SetIsQuarantined(v bool)` - -SetIsQuarantined sets IsQuarantined field to given value. - -### HasIsQuarantined - -`func (o *DartPackageUpload) HasIsQuarantined() bool` - -HasIsQuarantined returns a boolean if a field has been set. - -### GetIsSyncAwaiting - -`func (o *DartPackageUpload) GetIsSyncAwaiting() bool` - -GetIsSyncAwaiting returns the IsSyncAwaiting field if non-nil, zero value otherwise. - -### GetIsSyncAwaitingOk - -`func (o *DartPackageUpload) GetIsSyncAwaitingOk() (*bool, bool)` - -GetIsSyncAwaitingOk returns a tuple with the IsSyncAwaiting field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetIsSyncAwaiting - -`func (o *DartPackageUpload) SetIsSyncAwaiting(v bool)` - -SetIsSyncAwaiting sets IsSyncAwaiting field to given value. - -### HasIsSyncAwaiting - -`func (o *DartPackageUpload) HasIsSyncAwaiting() bool` - -HasIsSyncAwaiting returns a boolean if a field has been set. - -### GetIsSyncCompleted - -`func (o *DartPackageUpload) GetIsSyncCompleted() bool` - -GetIsSyncCompleted returns the IsSyncCompleted field if non-nil, zero value otherwise. - -### GetIsSyncCompletedOk - -`func (o *DartPackageUpload) GetIsSyncCompletedOk() (*bool, bool)` - -GetIsSyncCompletedOk returns a tuple with the IsSyncCompleted field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetIsSyncCompleted - -`func (o *DartPackageUpload) SetIsSyncCompleted(v bool)` - -SetIsSyncCompleted sets IsSyncCompleted field to given value. - -### HasIsSyncCompleted - -`func (o *DartPackageUpload) HasIsSyncCompleted() bool` - -HasIsSyncCompleted returns a boolean if a field has been set. - -### GetIsSyncFailed - -`func (o *DartPackageUpload) GetIsSyncFailed() bool` - -GetIsSyncFailed returns the IsSyncFailed field if non-nil, zero value otherwise. - -### GetIsSyncFailedOk - -`func (o *DartPackageUpload) GetIsSyncFailedOk() (*bool, bool)` - -GetIsSyncFailedOk returns a tuple with the IsSyncFailed field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetIsSyncFailed - -`func (o *DartPackageUpload) SetIsSyncFailed(v bool)` - -SetIsSyncFailed sets IsSyncFailed field to given value. - -### HasIsSyncFailed - -`func (o *DartPackageUpload) HasIsSyncFailed() bool` - -HasIsSyncFailed returns a boolean if a field has been set. - -### GetIsSyncInFlight - -`func (o *DartPackageUpload) GetIsSyncInFlight() bool` - -GetIsSyncInFlight returns the IsSyncInFlight field if non-nil, zero value otherwise. - -### GetIsSyncInFlightOk - -`func (o *DartPackageUpload) GetIsSyncInFlightOk() (*bool, bool)` - -GetIsSyncInFlightOk returns a tuple with the IsSyncInFlight field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetIsSyncInFlight - -`func (o *DartPackageUpload) SetIsSyncInFlight(v bool)` - -SetIsSyncInFlight sets IsSyncInFlight field to given value. - -### HasIsSyncInFlight - -`func (o *DartPackageUpload) HasIsSyncInFlight() bool` - -HasIsSyncInFlight returns a boolean if a field has been set. - -### GetIsSyncInProgress - -`func (o *DartPackageUpload) GetIsSyncInProgress() bool` - -GetIsSyncInProgress returns the IsSyncInProgress field if non-nil, zero value otherwise. - -### GetIsSyncInProgressOk - -`func (o *DartPackageUpload) GetIsSyncInProgressOk() (*bool, bool)` - -GetIsSyncInProgressOk returns a tuple with the IsSyncInProgress field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetIsSyncInProgress - -`func (o *DartPackageUpload) SetIsSyncInProgress(v bool)` - -SetIsSyncInProgress sets IsSyncInProgress field to given value. - -### HasIsSyncInProgress - -`func (o *DartPackageUpload) HasIsSyncInProgress() bool` - -HasIsSyncInProgress returns a boolean if a field has been set. - -### GetLicense - -`func (o *DartPackageUpload) GetLicense() string` - -GetLicense returns the License field if non-nil, zero value otherwise. - -### GetLicenseOk - -`func (o *DartPackageUpload) GetLicenseOk() (*string, bool)` - -GetLicenseOk returns a tuple with the License field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetLicense - -`func (o *DartPackageUpload) SetLicense(v string)` - -SetLicense sets License field to given value. - -### HasLicense - -`func (o *DartPackageUpload) HasLicense() bool` - -HasLicense returns a boolean if a field has been set. - -### GetName - -`func (o *DartPackageUpload) GetName() string` - -GetName returns the Name field if non-nil, zero value otherwise. - -### GetNameOk - -`func (o *DartPackageUpload) GetNameOk() (*string, bool)` - -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. - -### SetName - -`func (o *DartPackageUpload) SetName(v string)` - -SetName sets Name field to given value. - -### HasName - -`func (o *DartPackageUpload) HasName() bool` - -HasName returns a boolean if a field has been set. - -### GetNamespace - -`func (o *DartPackageUpload) GetNamespace() string` - -GetNamespace returns the Namespace field if non-nil, zero value otherwise. - -### GetNamespaceOk - -`func (o *DartPackageUpload) GetNamespaceOk() (*string, bool)` - -GetNamespaceOk returns a tuple with the Namespace field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetNamespace - -`func (o *DartPackageUpload) SetNamespace(v string)` - -SetNamespace sets Namespace field to given value. - -### HasNamespace - -`func (o *DartPackageUpload) HasNamespace() bool` - -HasNamespace returns a boolean if a field has been set. - -### GetNamespaceUrl - -`func (o *DartPackageUpload) GetNamespaceUrl() string` - -GetNamespaceUrl returns the NamespaceUrl field if non-nil, zero value otherwise. - -### GetNamespaceUrlOk - -`func (o *DartPackageUpload) GetNamespaceUrlOk() (*string, bool)` - -GetNamespaceUrlOk returns a tuple with the NamespaceUrl field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetNamespaceUrl - -`func (o *DartPackageUpload) SetNamespaceUrl(v string)` - -SetNamespaceUrl sets NamespaceUrl field to given value. - -### HasNamespaceUrl - -`func (o *DartPackageUpload) HasNamespaceUrl() bool` - -HasNamespaceUrl returns a boolean if a field has been set. - -### GetNumFiles - -`func (o *DartPackageUpload) GetNumFiles() int64` - -GetNumFiles returns the NumFiles field if non-nil, zero value otherwise. - -### GetNumFilesOk - -`func (o *DartPackageUpload) GetNumFilesOk() (*int64, bool)` - -GetNumFilesOk returns a tuple with the NumFiles field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetNumFiles - -`func (o *DartPackageUpload) SetNumFiles(v int64)` - -SetNumFiles sets NumFiles field to given value. - -### HasNumFiles - -`func (o *DartPackageUpload) HasNumFiles() bool` - -HasNumFiles returns a boolean if a field has been set. - -### GetPackageType - -`func (o *DartPackageUpload) GetPackageType() int64` - -GetPackageType returns the PackageType field if non-nil, zero value otherwise. - -### GetPackageTypeOk - -`func (o *DartPackageUpload) GetPackageTypeOk() (*int64, bool)` - -GetPackageTypeOk returns a tuple with the PackageType field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetPackageType - -`func (o *DartPackageUpload) SetPackageType(v int64)` - -SetPackageType sets PackageType field to given value. - -### HasPackageType - -`func (o *DartPackageUpload) HasPackageType() bool` - -HasPackageType returns a boolean if a field has been set. - -### GetRelease - -`func (o *DartPackageUpload) GetRelease() string` - -GetRelease returns the Release field if non-nil, zero value otherwise. - -### GetReleaseOk - -`func (o *DartPackageUpload) GetReleaseOk() (*string, bool)` - -GetReleaseOk returns a tuple with the Release field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetRelease - -`func (o *DartPackageUpload) SetRelease(v string)` - -SetRelease sets Release field to given value. - -### HasRelease - -`func (o *DartPackageUpload) HasRelease() bool` - -HasRelease returns a boolean if a field has been set. - -### GetRepository - -`func (o *DartPackageUpload) GetRepository() string` - -GetRepository returns the Repository field if non-nil, zero value otherwise. - -### GetRepositoryOk - -`func (o *DartPackageUpload) GetRepositoryOk() (*string, bool)` - -GetRepositoryOk returns a tuple with the Repository field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetRepository - -`func (o *DartPackageUpload) SetRepository(v string)` - -SetRepository sets Repository field to given value. - -### HasRepository - -`func (o *DartPackageUpload) HasRepository() bool` - -HasRepository returns a boolean if a field has been set. - -### GetRepositoryUrl - -`func (o *DartPackageUpload) GetRepositoryUrl() string` - -GetRepositoryUrl returns the RepositoryUrl field if non-nil, zero value otherwise. - -### GetRepositoryUrlOk - -`func (o *DartPackageUpload) GetRepositoryUrlOk() (*string, bool)` - -GetRepositoryUrlOk returns a tuple with the RepositoryUrl field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetRepositoryUrl - -`func (o *DartPackageUpload) SetRepositoryUrl(v string)` - -SetRepositoryUrl sets RepositoryUrl field to given value. - -### HasRepositoryUrl - -`func (o *DartPackageUpload) HasRepositoryUrl() bool` - -HasRepositoryUrl returns a boolean if a field has been set. - -### GetSecurityScanCompletedAt - -`func (o *DartPackageUpload) GetSecurityScanCompletedAt() string` - -GetSecurityScanCompletedAt returns the SecurityScanCompletedAt field if non-nil, zero value otherwise. - -### GetSecurityScanCompletedAtOk - -`func (o *DartPackageUpload) GetSecurityScanCompletedAtOk() (*string, bool)` - -GetSecurityScanCompletedAtOk returns a tuple with the SecurityScanCompletedAt field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetSecurityScanCompletedAt - -`func (o *DartPackageUpload) SetSecurityScanCompletedAt(v string)` - -SetSecurityScanCompletedAt sets SecurityScanCompletedAt field to given value. - -### HasSecurityScanCompletedAt - -`func (o *DartPackageUpload) HasSecurityScanCompletedAt() bool` - -HasSecurityScanCompletedAt returns a boolean if a field has been set. - -### GetSecurityScanStartedAt - -`func (o *DartPackageUpload) GetSecurityScanStartedAt() string` - -GetSecurityScanStartedAt returns the SecurityScanStartedAt field if non-nil, zero value otherwise. - -### GetSecurityScanStartedAtOk - -`func (o *DartPackageUpload) GetSecurityScanStartedAtOk() (*string, bool)` - -GetSecurityScanStartedAtOk returns a tuple with the SecurityScanStartedAt field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetSecurityScanStartedAt - -`func (o *DartPackageUpload) SetSecurityScanStartedAt(v string)` - -SetSecurityScanStartedAt sets SecurityScanStartedAt field to given value. - -### HasSecurityScanStartedAt - -`func (o *DartPackageUpload) HasSecurityScanStartedAt() bool` - -HasSecurityScanStartedAt returns a boolean if a field has been set. - -### GetSecurityScanStatus - -`func (o *DartPackageUpload) GetSecurityScanStatus() string` - -GetSecurityScanStatus returns the SecurityScanStatus field if non-nil, zero value otherwise. - -### GetSecurityScanStatusOk - -`func (o *DartPackageUpload) GetSecurityScanStatusOk() (*string, bool)` - -GetSecurityScanStatusOk returns a tuple with the SecurityScanStatus field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetSecurityScanStatus - -`func (o *DartPackageUpload) SetSecurityScanStatus(v string)` - -SetSecurityScanStatus sets SecurityScanStatus field to given value. - -### HasSecurityScanStatus - -`func (o *DartPackageUpload) HasSecurityScanStatus() bool` - -HasSecurityScanStatus returns a boolean if a field has been set. - -### GetSecurityScanStatusUpdatedAt - -`func (o *DartPackageUpload) GetSecurityScanStatusUpdatedAt() string` - -GetSecurityScanStatusUpdatedAt returns the SecurityScanStatusUpdatedAt field if non-nil, zero value otherwise. - -### GetSecurityScanStatusUpdatedAtOk - -`func (o *DartPackageUpload) GetSecurityScanStatusUpdatedAtOk() (*string, bool)` - -GetSecurityScanStatusUpdatedAtOk returns a tuple with the SecurityScanStatusUpdatedAt field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetSecurityScanStatusUpdatedAt - -`func (o *DartPackageUpload) SetSecurityScanStatusUpdatedAt(v string)` - -SetSecurityScanStatusUpdatedAt sets SecurityScanStatusUpdatedAt field to given value. - -### HasSecurityScanStatusUpdatedAt - -`func (o *DartPackageUpload) HasSecurityScanStatusUpdatedAt() bool` - -HasSecurityScanStatusUpdatedAt returns a boolean if a field has been set. - -### GetSelfHtmlUrl - -`func (o *DartPackageUpload) GetSelfHtmlUrl() string` - -GetSelfHtmlUrl returns the SelfHtmlUrl field if non-nil, zero value otherwise. - -### GetSelfHtmlUrlOk - -`func (o *DartPackageUpload) GetSelfHtmlUrlOk() (*string, bool)` - -GetSelfHtmlUrlOk returns a tuple with the SelfHtmlUrl field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetSelfHtmlUrl - -`func (o *DartPackageUpload) SetSelfHtmlUrl(v string)` - -SetSelfHtmlUrl sets SelfHtmlUrl field to given value. - -### HasSelfHtmlUrl - -`func (o *DartPackageUpload) HasSelfHtmlUrl() bool` - -HasSelfHtmlUrl returns a boolean if a field has been set. - -### GetSelfUrl - -`func (o *DartPackageUpload) GetSelfUrl() string` - -GetSelfUrl returns the SelfUrl field if non-nil, zero value otherwise. - -### GetSelfUrlOk - -`func (o *DartPackageUpload) GetSelfUrlOk() (*string, bool)` - -GetSelfUrlOk returns a tuple with the SelfUrl field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetSelfUrl - -`func (o *DartPackageUpload) SetSelfUrl(v string)` - -SetSelfUrl sets SelfUrl field to given value. - -### HasSelfUrl - -`func (o *DartPackageUpload) HasSelfUrl() bool` - -HasSelfUrl returns a boolean if a field has been set. - -### GetSignatureUrl - -`func (o *DartPackageUpload) GetSignatureUrl() string` - -GetSignatureUrl returns the SignatureUrl field if non-nil, zero value otherwise. - -### GetSignatureUrlOk - -`func (o *DartPackageUpload) GetSignatureUrlOk() (*string, bool)` - -GetSignatureUrlOk returns a tuple with the SignatureUrl field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetSignatureUrl - -`func (o *DartPackageUpload) SetSignatureUrl(v string)` - -SetSignatureUrl sets SignatureUrl field to given value. - -### HasSignatureUrl - -`func (o *DartPackageUpload) HasSignatureUrl() bool` - -HasSignatureUrl returns a boolean if a field has been set. - -### GetSize - -`func (o *DartPackageUpload) GetSize() int64` - -GetSize returns the Size field if non-nil, zero value otherwise. - -### GetSizeOk - -`func (o *DartPackageUpload) GetSizeOk() (*int64, bool)` - -GetSizeOk returns a tuple with the Size field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetSize - -`func (o *DartPackageUpload) SetSize(v int64)` - -SetSize sets Size field to given value. - -### HasSize - -`func (o *DartPackageUpload) HasSize() bool` - -HasSize returns a boolean if a field has been set. - -### GetSlug - -`func (o *DartPackageUpload) GetSlug() string` - -GetSlug returns the Slug field if non-nil, zero value otherwise. - -### GetSlugOk - -`func (o *DartPackageUpload) GetSlugOk() (*string, bool)` - -GetSlugOk returns a tuple with the Slug field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetSlug - -`func (o *DartPackageUpload) SetSlug(v string)` - -SetSlug sets Slug field to given value. - -### HasSlug - -`func (o *DartPackageUpload) HasSlug() bool` - -HasSlug returns a boolean if a field has been set. - -### GetSlugPerm - -`func (o *DartPackageUpload) GetSlugPerm() string` - -GetSlugPerm returns the SlugPerm field if non-nil, zero value otherwise. - -### GetSlugPermOk - -`func (o *DartPackageUpload) GetSlugPermOk() (*string, bool)` - -GetSlugPermOk returns a tuple with the SlugPerm field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetSlugPerm - -`func (o *DartPackageUpload) SetSlugPerm(v string)` - -SetSlugPerm sets SlugPerm field to given value. - -### HasSlugPerm - -`func (o *DartPackageUpload) HasSlugPerm() bool` - -HasSlugPerm returns a boolean if a field has been set. - -### GetStage - -`func (o *DartPackageUpload) GetStage() int64` - -GetStage returns the Stage field if non-nil, zero value otherwise. - -### GetStageOk - -`func (o *DartPackageUpload) GetStageOk() (*int64, bool)` - -GetStageOk returns a tuple with the Stage field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetStage - -`func (o *DartPackageUpload) SetStage(v int64)` - -SetStage sets Stage field to given value. - -### HasStage - -`func (o *DartPackageUpload) HasStage() bool` - -HasStage returns a boolean if a field has been set. - -### GetStageStr - -`func (o *DartPackageUpload) GetStageStr() string` - -GetStageStr returns the StageStr field if non-nil, zero value otherwise. - -### GetStageStrOk - -`func (o *DartPackageUpload) GetStageStrOk() (*string, bool)` - -GetStageStrOk returns a tuple with the StageStr field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetStageStr - -`func (o *DartPackageUpload) SetStageStr(v string)` - -SetStageStr sets StageStr field to given value. - -### HasStageStr - -`func (o *DartPackageUpload) HasStageStr() bool` - -HasStageStr returns a boolean if a field has been set. - -### GetStageUpdatedAt - -`func (o *DartPackageUpload) GetStageUpdatedAt() string` - -GetStageUpdatedAt returns the StageUpdatedAt field if non-nil, zero value otherwise. - -### GetStageUpdatedAtOk - -`func (o *DartPackageUpload) GetStageUpdatedAtOk() (*string, bool)` - -GetStageUpdatedAtOk returns a tuple with the StageUpdatedAt field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetStageUpdatedAt - -`func (o *DartPackageUpload) SetStageUpdatedAt(v string)` - -SetStageUpdatedAt sets StageUpdatedAt field to given value. - -### HasStageUpdatedAt - -`func (o *DartPackageUpload) HasStageUpdatedAt() bool` - -HasStageUpdatedAt returns a boolean if a field has been set. - -### GetStatus - -`func (o *DartPackageUpload) GetStatus() int64` - -GetStatus returns the Status field if non-nil, zero value otherwise. - -### GetStatusOk - -`func (o *DartPackageUpload) GetStatusOk() (*int64, bool)` - -GetStatusOk returns a tuple with the Status field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetStatus - -`func (o *DartPackageUpload) SetStatus(v int64)` - -SetStatus sets Status field to given value. - -### HasStatus - -`func (o *DartPackageUpload) HasStatus() bool` - -HasStatus returns a boolean if a field has been set. - -### GetStatusReason - -`func (o *DartPackageUpload) GetStatusReason() string` - -GetStatusReason returns the StatusReason field if non-nil, zero value otherwise. - -### GetStatusReasonOk - -`func (o *DartPackageUpload) GetStatusReasonOk() (*string, bool)` - -GetStatusReasonOk returns a tuple with the StatusReason field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetStatusReason - -`func (o *DartPackageUpload) SetStatusReason(v string)` - -SetStatusReason sets StatusReason field to given value. - -### HasStatusReason - -`func (o *DartPackageUpload) HasStatusReason() bool` - -HasStatusReason returns a boolean if a field has been set. - -### GetStatusStr - -`func (o *DartPackageUpload) GetStatusStr() string` - -GetStatusStr returns the StatusStr field if non-nil, zero value otherwise. - -### GetStatusStrOk - -`func (o *DartPackageUpload) GetStatusStrOk() (*string, bool)` - -GetStatusStrOk returns a tuple with the StatusStr field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetStatusStr - -`func (o *DartPackageUpload) SetStatusStr(v string)` - -SetStatusStr sets StatusStr field to given value. - -### HasStatusStr - -`func (o *DartPackageUpload) HasStatusStr() bool` - -HasStatusStr returns a boolean if a field has been set. - -### GetStatusUpdatedAt - -`func (o *DartPackageUpload) GetStatusUpdatedAt() string` - -GetStatusUpdatedAt returns the StatusUpdatedAt field if non-nil, zero value otherwise. - -### GetStatusUpdatedAtOk - -`func (o *DartPackageUpload) GetStatusUpdatedAtOk() (*string, bool)` - -GetStatusUpdatedAtOk returns a tuple with the StatusUpdatedAt field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetStatusUpdatedAt - -`func (o *DartPackageUpload) SetStatusUpdatedAt(v string)` - -SetStatusUpdatedAt sets StatusUpdatedAt field to given value. - -### HasStatusUpdatedAt - -`func (o *DartPackageUpload) HasStatusUpdatedAt() bool` - -HasStatusUpdatedAt returns a boolean if a field has been set. - -### GetStatusUrl - -`func (o *DartPackageUpload) GetStatusUrl() string` - -GetStatusUrl returns the StatusUrl field if non-nil, zero value otherwise. - -### GetStatusUrlOk - -`func (o *DartPackageUpload) GetStatusUrlOk() (*string, bool)` - -GetStatusUrlOk returns a tuple with the StatusUrl field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetStatusUrl - -`func (o *DartPackageUpload) SetStatusUrl(v string)` - -SetStatusUrl sets StatusUrl field to given value. - -### HasStatusUrl - -`func (o *DartPackageUpload) HasStatusUrl() bool` - -HasStatusUrl returns a boolean if a field has been set. - -### GetSubtype - -`func (o *DartPackageUpload) GetSubtype() string` - -GetSubtype returns the Subtype field if non-nil, zero value otherwise. - -### GetSubtypeOk - -`func (o *DartPackageUpload) GetSubtypeOk() (*string, bool)` - -GetSubtypeOk returns a tuple with the Subtype field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetSubtype - -`func (o *DartPackageUpload) SetSubtype(v string)` - -SetSubtype sets Subtype field to given value. - -### HasSubtype - -`func (o *DartPackageUpload) HasSubtype() bool` - -HasSubtype returns a boolean if a field has been set. - -### GetSummary - -`func (o *DartPackageUpload) GetSummary() string` - -GetSummary returns the Summary field if non-nil, zero value otherwise. - -### GetSummaryOk - -`func (o *DartPackageUpload) GetSummaryOk() (*string, bool)` - -GetSummaryOk returns a tuple with the Summary field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetSummary - -`func (o *DartPackageUpload) SetSummary(v string)` - -SetSummary sets Summary field to given value. - -### HasSummary - -`func (o *DartPackageUpload) HasSummary() bool` - -HasSummary returns a boolean if a field has been set. - -### GetSyncFinishedAt - -`func (o *DartPackageUpload) GetSyncFinishedAt() string` - -GetSyncFinishedAt returns the SyncFinishedAt field if non-nil, zero value otherwise. - -### GetSyncFinishedAtOk - -`func (o *DartPackageUpload) GetSyncFinishedAtOk() (*string, bool)` - -GetSyncFinishedAtOk returns a tuple with the SyncFinishedAt field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetSyncFinishedAt - -`func (o *DartPackageUpload) SetSyncFinishedAt(v string)` - -SetSyncFinishedAt sets SyncFinishedAt field to given value. - -### HasSyncFinishedAt - -`func (o *DartPackageUpload) HasSyncFinishedAt() bool` - -HasSyncFinishedAt returns a boolean if a field has been set. - -### GetSyncProgress - -`func (o *DartPackageUpload) GetSyncProgress() int64` - -GetSyncProgress returns the SyncProgress field if non-nil, zero value otherwise. - -### GetSyncProgressOk - -`func (o *DartPackageUpload) GetSyncProgressOk() (*int64, bool)` - -GetSyncProgressOk returns a tuple with the SyncProgress field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetSyncProgress - -`func (o *DartPackageUpload) SetSyncProgress(v int64)` - -SetSyncProgress sets SyncProgress field to given value. - -### HasSyncProgress - -`func (o *DartPackageUpload) HasSyncProgress() bool` - -HasSyncProgress returns a boolean if a field has been set. - -### GetTagsImmutable - -`func (o *DartPackageUpload) GetTagsImmutable() map[string]interface{}` - -GetTagsImmutable returns the TagsImmutable field if non-nil, zero value otherwise. - -### GetTagsImmutableOk - -`func (o *DartPackageUpload) GetTagsImmutableOk() (*map[string]interface{}, bool)` - -GetTagsImmutableOk returns a tuple with the TagsImmutable field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetTagsImmutable - -`func (o *DartPackageUpload) SetTagsImmutable(v map[string]interface{})` - -SetTagsImmutable sets TagsImmutable field to given value. - -### HasTagsImmutable - -`func (o *DartPackageUpload) HasTagsImmutable() bool` - -HasTagsImmutable returns a boolean if a field has been set. - -### GetTypeDisplay - -`func (o *DartPackageUpload) GetTypeDisplay() string` - -GetTypeDisplay returns the TypeDisplay field if non-nil, zero value otherwise. - -### GetTypeDisplayOk - -`func (o *DartPackageUpload) GetTypeDisplayOk() (*string, bool)` - -GetTypeDisplayOk returns a tuple with the TypeDisplay field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetTypeDisplay - -`func (o *DartPackageUpload) SetTypeDisplay(v string)` - -SetTypeDisplay sets TypeDisplay field to given value. - -### HasTypeDisplay - -`func (o *DartPackageUpload) HasTypeDisplay() bool` - -HasTypeDisplay returns a boolean if a field has been set. - -### GetUploadedAt - -`func (o *DartPackageUpload) GetUploadedAt() string` - -GetUploadedAt returns the UploadedAt field if non-nil, zero value otherwise. - -### GetUploadedAtOk - -`func (o *DartPackageUpload) GetUploadedAtOk() (*string, bool)` - -GetUploadedAtOk returns a tuple with the UploadedAt field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetUploadedAt - -`func (o *DartPackageUpload) SetUploadedAt(v string)` - -SetUploadedAt sets UploadedAt field to given value. - -### HasUploadedAt - -`func (o *DartPackageUpload) HasUploadedAt() bool` - -HasUploadedAt returns a boolean if a field has been set. - -### GetUploader - -`func (o *DartPackageUpload) GetUploader() string` - -GetUploader returns the Uploader field if non-nil, zero value otherwise. - -### GetUploaderOk - -`func (o *DartPackageUpload) GetUploaderOk() (*string, bool)` - -GetUploaderOk returns a tuple with the Uploader field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetUploader - -`func (o *DartPackageUpload) SetUploader(v string)` - -SetUploader sets Uploader field to given value. - -### HasUploader - -`func (o *DartPackageUpload) HasUploader() bool` - -HasUploader returns a boolean if a field has been set. - -### GetUploaderUrl - -`func (o *DartPackageUpload) GetUploaderUrl() string` - -GetUploaderUrl returns the UploaderUrl field if non-nil, zero value otherwise. - -### GetUploaderUrlOk - -`func (o *DartPackageUpload) GetUploaderUrlOk() (*string, bool)` - -GetUploaderUrlOk returns a tuple with the UploaderUrl field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetUploaderUrl - -`func (o *DartPackageUpload) SetUploaderUrl(v string)` - -SetUploaderUrl sets UploaderUrl field to given value. - -### HasUploaderUrl - -`func (o *DartPackageUpload) HasUploaderUrl() bool` - -HasUploaderUrl returns a boolean if a field has been set. - -### GetVersion - -`func (o *DartPackageUpload) GetVersion() string` - -GetVersion returns the Version field if non-nil, zero value otherwise. - -### GetVersionOk - -`func (o *DartPackageUpload) GetVersionOk() (*string, bool)` - -GetVersionOk returns a tuple with the Version field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetVersion - -`func (o *DartPackageUpload) SetVersion(v string)` - -SetVersion sets Version field to given value. - -### HasVersion - -`func (o *DartPackageUpload) HasVersion() bool` - -HasVersion returns a boolean if a field has been set. - -### GetVersionOrig - -`func (o *DartPackageUpload) GetVersionOrig() string` - -GetVersionOrig returns the VersionOrig field if non-nil, zero value otherwise. - -### GetVersionOrigOk - -`func (o *DartPackageUpload) GetVersionOrigOk() (*string, bool)` - -GetVersionOrigOk returns a tuple with the VersionOrig field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetVersionOrig - -`func (o *DartPackageUpload) SetVersionOrig(v string)` - -SetVersionOrig sets VersionOrig field to given value. - -### HasVersionOrig - -`func (o *DartPackageUpload) HasVersionOrig() bool` - -HasVersionOrig returns a boolean if a field has been set. - -### GetVulnerabilityScanResultsUrl - -`func (o *DartPackageUpload) GetVulnerabilityScanResultsUrl() string` - -GetVulnerabilityScanResultsUrl returns the VulnerabilityScanResultsUrl field if non-nil, zero value otherwise. - -### GetVulnerabilityScanResultsUrlOk - -`func (o *DartPackageUpload) GetVulnerabilityScanResultsUrlOk() (*string, bool)` - -GetVulnerabilityScanResultsUrlOk returns a tuple with the VulnerabilityScanResultsUrl field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetVulnerabilityScanResultsUrl - -`func (o *DartPackageUpload) SetVulnerabilityScanResultsUrl(v string)` - -SetVulnerabilityScanResultsUrl sets VulnerabilityScanResultsUrl field to given value. - -### HasVulnerabilityScanResultsUrl - -`func (o *DartPackageUpload) HasVulnerabilityScanResultsUrl() bool` - -HasVulnerabilityScanResultsUrl 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/docs/PackagesValidateUploadP2.md b/docs/DartPackageUploadRequest.md similarity index 58% rename from docs/PackagesValidateUploadP2.md rename to docs/DartPackageUploadRequest.md index 90e343c9..68a87227 100644 --- a/docs/PackagesValidateUploadP2.md +++ b/docs/DartPackageUploadRequest.md @@ -1,4 +1,4 @@ -# PackagesValidateUploadP2 +# DartPackageUploadRequest ## Properties @@ -6,97 +6,107 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **PackageFile** | **string** | The primary file for the package. | **Republish** | Pointer to **bool** | If true, the uploaded package will overwrite any others with the same attributes (e.g. same version); otherwise, it will be flagged as a duplicate. | [optional] -**Tags** | Pointer to **string** | A comma-separated values list of tags to add to the package. | [optional] +**Tags** | Pointer to **NullableString** | A comma-separated values list of tags to add to the package. | [optional] ## Methods -### NewPackagesValidateUploadP2 +### NewDartPackageUploadRequest -`func NewPackagesValidateUploadP2(packageFile string, ) *PackagesValidateUploadP2` +`func NewDartPackageUploadRequest(packageFile string, ) *DartPackageUploadRequest` -NewPackagesValidateUploadP2 instantiates a new PackagesValidateUploadP2 object +NewDartPackageUploadRequest instantiates a new DartPackageUploadRequest object 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 -### NewPackagesValidateUploadP2WithDefaults +### NewDartPackageUploadRequestWithDefaults -`func NewPackagesValidateUploadP2WithDefaults() *PackagesValidateUploadP2` +`func NewDartPackageUploadRequestWithDefaults() *DartPackageUploadRequest` -NewPackagesValidateUploadP2WithDefaults instantiates a new PackagesValidateUploadP2 object +NewDartPackageUploadRequestWithDefaults instantiates a new DartPackageUploadRequest object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set ### GetPackageFile -`func (o *PackagesValidateUploadP2) GetPackageFile() string` +`func (o *DartPackageUploadRequest) GetPackageFile() string` GetPackageFile returns the PackageFile field if non-nil, zero value otherwise. ### GetPackageFileOk -`func (o *PackagesValidateUploadP2) GetPackageFileOk() (*string, bool)` +`func (o *DartPackageUploadRequest) GetPackageFileOk() (*string, bool)` GetPackageFileOk returns a tuple with the PackageFile field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetPackageFile -`func (o *PackagesValidateUploadP2) SetPackageFile(v string)` +`func (o *DartPackageUploadRequest) SetPackageFile(v string)` SetPackageFile sets PackageFile field to given value. ### GetRepublish -`func (o *PackagesValidateUploadP2) GetRepublish() bool` +`func (o *DartPackageUploadRequest) GetRepublish() bool` GetRepublish returns the Republish field if non-nil, zero value otherwise. ### GetRepublishOk -`func (o *PackagesValidateUploadP2) GetRepublishOk() (*bool, bool)` +`func (o *DartPackageUploadRequest) GetRepublishOk() (*bool, bool)` GetRepublishOk returns a tuple with the Republish field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetRepublish -`func (o *PackagesValidateUploadP2) SetRepublish(v bool)` +`func (o *DartPackageUploadRequest) SetRepublish(v bool)` SetRepublish sets Republish field to given value. ### HasRepublish -`func (o *PackagesValidateUploadP2) HasRepublish() bool` +`func (o *DartPackageUploadRequest) HasRepublish() bool` HasRepublish returns a boolean if a field has been set. ### GetTags -`func (o *PackagesValidateUploadP2) GetTags() string` +`func (o *DartPackageUploadRequest) GetTags() string` GetTags returns the Tags field if non-nil, zero value otherwise. ### GetTagsOk -`func (o *PackagesValidateUploadP2) GetTagsOk() (*string, bool)` +`func (o *DartPackageUploadRequest) GetTagsOk() (*string, bool)` GetTagsOk returns a tuple with the Tags field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetTags -`func (o *PackagesValidateUploadP2) SetTags(v string)` +`func (o *DartPackageUploadRequest) SetTags(v string)` SetTags sets Tags field to given value. ### HasTags -`func (o *PackagesValidateUploadP2) HasTags() bool` +`func (o *DartPackageUploadRequest) HasTags() bool` HasTags returns a boolean if a field has been set. +### SetTagsNil + +`func (o *DartPackageUploadRequest) SetTagsNil(b bool)` + + SetTagsNil sets the value for Tags to be an explicit nil + +### UnsetTags +`func (o *DartPackageUploadRequest) UnsetTags()` + +UnsetTags ensures that no value is present for Tags, 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/docs/MavenPackageUpload.md b/docs/DartPackageUploadResponse.md similarity index 55% rename from docs/MavenPackageUpload.md rename to docs/DartPackageUploadResponse.md index 06fba89b..0dca259a 100644 --- a/docs/MavenPackageUpload.md +++ b/docs/DartPackageUploadResponse.md @@ -1,1820 +1,1834 @@ -# MavenPackageUpload +# DartPackageUploadResponse ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**Architectures** | Pointer to [**[]PackagesOwnerRepoArchitectures**](PackagesOwnerRepoArchitectures.md) | | [optional] -**ArtifactId** | Pointer to **string** | The ID of the artifact. | [optional] -**CdnUrl** | Pointer to **string** | | [optional] -**ChecksumMd5** | Pointer to **string** | | [optional] -**ChecksumSha1** | Pointer to **string** | | [optional] -**ChecksumSha256** | Pointer to **string** | | [optional] -**ChecksumSha512** | Pointer to **string** | | [optional] -**DependenciesChecksumMd5** | Pointer to **string** | A checksum of all of the package's dependencies. | [optional] -**DependenciesUrl** | Pointer to **string** | | [optional] -**Description** | Pointer to **string** | A textual description of this package. | [optional] -**Distro** | Pointer to **map[string]interface{}** | | [optional] -**DistroVersion** | Pointer to **map[string]interface{}** | | [optional] -**Downloads** | Pointer to **int64** | | [optional] -**Epoch** | Pointer to **int64** | The epoch of the package version (if any). | [optional] -**Extension** | Pointer to **string** | | [optional] -**Filename** | Pointer to **string** | | [optional] -**Files** | Pointer to [**[]PackagesOwnerRepoFiles**](PackagesOwnerRepoFiles.md) | | [optional] -**Format** | Pointer to **string** | | [optional] -**FormatUrl** | Pointer to **string** | | [optional] -**GroupId** | Pointer to **string** | Artifact's group ID. | [optional] -**IdentifierPerm** | Pointer to **string** | Unique and permanent identifier for the package. | [optional] -**Indexed** | Pointer to **bool** | | [optional] -**IsDownloadable** | Pointer to **bool** | | [optional] -**IsQuarantined** | Pointer to **bool** | | [optional] -**IsSyncAwaiting** | Pointer to **bool** | | [optional] -**IsSyncCompleted** | Pointer to **bool** | | [optional] -**IsSyncFailed** | Pointer to **bool** | | [optional] -**IsSyncInFlight** | Pointer to **bool** | | [optional] -**IsSyncInProgress** | Pointer to **bool** | | [optional] -**License** | Pointer to **string** | The license of this package. | [optional] -**Name** | Pointer to **string** | The name of this package. | [optional] -**Namespace** | Pointer to **string** | | [optional] -**NamespaceUrl** | Pointer to **string** | | [optional] -**NumFiles** | Pointer to **int64** | | [optional] -**PackageType** | Pointer to **int64** | The type of package contents. | [optional] -**Packaging** | Pointer to **string** | Artifact's Maven packaging type. | [optional] -**Release** | Pointer to **string** | The release of the package version (if any). | [optional] -**Repository** | Pointer to **string** | | [optional] -**RepositoryUrl** | Pointer to **string** | | [optional] -**SecurityScanCompletedAt** | Pointer to **string** | The datetime the security scanning was completed. | [optional] -**SecurityScanStartedAt** | Pointer to **string** | The datetime the security scanning was started. | [optional] -**SecurityScanStatus** | Pointer to **string** | | [optional] -**SecurityScanStatusUpdatedAt** | Pointer to **string** | The datetime the security scanning status was updated. | [optional] -**SelfHtmlUrl** | Pointer to **string** | | [optional] -**SelfUrl** | Pointer to **string** | | [optional] -**SignatureUrl** | Pointer to **string** | | [optional] -**Size** | Pointer to **int64** | The calculated size of the package. | [optional] -**Slug** | Pointer to **string** | The public unique identifier for the package. | [optional] -**SlugPerm** | Pointer to **string** | | [optional] -**Stage** | Pointer to **int64** | The synchronisation (in progress) stage of the package. | [optional] -**StageStr** | Pointer to **string** | | [optional] -**StageUpdatedAt** | Pointer to **string** | The datetime the package stage was updated at. | [optional] -**Status** | Pointer to **int64** | The synchronisation status of the package. | [optional] -**StatusReason** | Pointer to **string** | A textual description for the synchronous status reason (if any | [optional] -**StatusStr** | Pointer to **string** | | [optional] -**StatusUpdatedAt** | Pointer to **string** | The datetime the package status was updated at. | [optional] -**StatusUrl** | Pointer to **string** | | [optional] -**Subtype** | Pointer to **string** | | [optional] -**Summary** | Pointer to **string** | A one-liner synopsis of this package. | [optional] -**SyncFinishedAt** | Pointer to **string** | The datetime the package sync was finished at. | [optional] -**SyncProgress** | Pointer to **int64** | Synchronisation progress (from 0-100) | [optional] -**TagsImmutable** | Pointer to **map[string]interface{}** | All immutable tags on the package, grouped by tag type. Immutable tags cannot be (easily) deleted. | [optional] -**TypeDisplay** | Pointer to **string** | | [optional] -**UploadedAt** | Pointer to **string** | The date this package was uploaded. | [optional] -**Uploader** | Pointer to **string** | | [optional] -**UploaderUrl** | Pointer to **string** | | [optional] -**Version** | Pointer to **string** | The raw version for this package. | [optional] -**VersionOrig** | Pointer to **string** | | [optional] -**VulnerabilityScanResultsUrl** | Pointer to **string** | | [optional] +**Architectures** | Pointer to [**[]Architecture**](Architecture.md) | | [optional] [readonly] +**CdnUrl** | Pointer to **NullableString** | | [optional] [readonly] +**ChecksumMd5** | Pointer to **string** | | [optional] [readonly] +**ChecksumSha1** | Pointer to **string** | | [optional] [readonly] +**ChecksumSha256** | Pointer to **string** | | [optional] [readonly] +**ChecksumSha512** | Pointer to **string** | | [optional] [readonly] +**DependenciesChecksumMd5** | Pointer to **string** | A checksum of all of the package's dependencies. | [optional] [readonly] +**DependenciesUrl** | Pointer to **string** | | [optional] [readonly] +**Description** | Pointer to **string** | A textual description of this package. | [optional] [readonly] +**Distro** | Pointer to [**NullableDistribution**](Distribution.md) | | [optional] +**DistroVersion** | Pointer to [**DistributionVersion**](DistributionVersion.md) | | [optional] +**Downloads** | Pointer to **int64** | | [optional] [readonly] +**Epoch** | Pointer to **int64** | The epoch of the package version (if any). | [optional] [readonly] +**Extension** | Pointer to **string** | | [optional] [readonly] +**Filename** | Pointer to **string** | | [optional] [readonly] +**Files** | Pointer to [**[]PackageFile**](PackageFile.md) | | [optional] [readonly] +**Format** | Pointer to **string** | | [optional] [readonly] +**FormatUrl** | Pointer to **string** | | [optional] [readonly] +**IdentifierPerm** | Pointer to **string** | Unique and permanent identifier for the package. | [optional] [readonly] +**Indexed** | Pointer to **bool** | | [optional] [readonly] +**IsDownloadable** | Pointer to **bool** | | [optional] [readonly] +**IsQuarantined** | Pointer to **bool** | | [optional] [readonly] +**IsSyncAwaiting** | Pointer to **bool** | | [optional] [readonly] +**IsSyncCompleted** | Pointer to **bool** | | [optional] [readonly] +**IsSyncFailed** | Pointer to **bool** | | [optional] [readonly] +**IsSyncInFlight** | Pointer to **bool** | | [optional] [readonly] +**IsSyncInProgress** | Pointer to **bool** | | [optional] [readonly] +**License** | Pointer to **string** | The license of this package. | [optional] [readonly] +**Name** | Pointer to **string** | The name of this package. | [optional] [readonly] +**Namespace** | Pointer to **string** | | [optional] [readonly] +**NamespaceUrl** | Pointer to **string** | | [optional] [readonly] +**NumFiles** | Pointer to **int64** | | [optional] [readonly] +**OriginRepository** | Pointer to **string** | | [optional] [readonly] +**OriginRepositoryUrl** | Pointer to **string** | | [optional] [readonly] +**PackageType** | Pointer to **int64** | The type of package contents. | [optional] [readonly] +**Release** | Pointer to **string** | The release of the package version (if any). | [optional] [readonly] +**Repository** | Pointer to **string** | | [optional] [readonly] +**RepositoryUrl** | Pointer to **string** | | [optional] [readonly] +**SecurityScanCompletedAt** | Pointer to **time.Time** | The datetime the security scanning was completed. | [optional] [readonly] +**SecurityScanStartedAt** | Pointer to **time.Time** | The datetime the security scanning was started. | [optional] [readonly] +**SecurityScanStatus** | Pointer to **NullableString** | | [optional] [readonly] [default to "Awaiting Security Scan"] +**SecurityScanStatusUpdatedAt** | Pointer to **time.Time** | The datetime the security scanning status was updated. | [optional] [readonly] +**SelfHtmlUrl** | Pointer to **string** | | [optional] [readonly] +**SelfUrl** | Pointer to **string** | | [optional] [readonly] +**SignatureUrl** | Pointer to **NullableString** | | [optional] [readonly] +**Size** | Pointer to **int64** | The calculated size of the package. | [optional] [readonly] +**Slug** | Pointer to **string** | The public unique identifier for the package. | [optional] [readonly] +**SlugPerm** | Pointer to **string** | | [optional] [readonly] +**Stage** | Pointer to **int64** | The synchronisation (in progress) stage of the package. | [optional] [readonly] +**StageStr** | Pointer to **string** | | [optional] [readonly] +**StageUpdatedAt** | Pointer to **time.Time** | The datetime the package stage was updated at. | [optional] [readonly] +**Status** | Pointer to **int64** | The synchronisation status of the package. | [optional] [readonly] +**StatusReason** | Pointer to **string** | A textual description for the synchronous status reason (if any | [optional] [readonly] +**StatusStr** | Pointer to **string** | | [optional] [readonly] +**StatusUpdatedAt** | Pointer to **time.Time** | The datetime the package status was updated at. | [optional] [readonly] +**StatusUrl** | Pointer to **string** | | [optional] [readonly] +**Subtype** | Pointer to **string** | | [optional] [readonly] +**Summary** | Pointer to **string** | A one-liner synopsis of this package. | [optional] [readonly] +**SyncFinishedAt** | Pointer to **time.Time** | The datetime the package sync was finished at. | [optional] [readonly] +**SyncProgress** | Pointer to **int64** | Synchronisation progress (from 0-100) | [optional] [readonly] +**TagsImmutable** | Pointer to **map[string]interface{}** | All tags on the package, grouped by tag type. This includes immutable tags, but doesn't distinguish them from mutable. To see which tags are immutable specifically, see the tags_immutable field. | [optional] +**TypeDisplay** | Pointer to **string** | | [optional] [readonly] +**UploadedAt** | Pointer to **time.Time** | The date this package was uploaded. | [optional] [readonly] +**Uploader** | Pointer to **string** | | [optional] [readonly] +**UploaderUrl** | Pointer to **string** | | [optional] [readonly] +**Version** | Pointer to **string** | The raw version for this package. | [optional] [readonly] +**VersionOrig** | Pointer to **string** | | [optional] [readonly] +**VulnerabilityScanResultsUrl** | Pointer to **string** | | [optional] [readonly] ## Methods -### NewMavenPackageUpload +### NewDartPackageUploadResponse -`func NewMavenPackageUpload() *MavenPackageUpload` +`func NewDartPackageUploadResponse() *DartPackageUploadResponse` -NewMavenPackageUpload instantiates a new MavenPackageUpload object +NewDartPackageUploadResponse instantiates a new DartPackageUploadResponse object 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 -### NewMavenPackageUploadWithDefaults +### NewDartPackageUploadResponseWithDefaults -`func NewMavenPackageUploadWithDefaults() *MavenPackageUpload` +`func NewDartPackageUploadResponseWithDefaults() *DartPackageUploadResponse` -NewMavenPackageUploadWithDefaults instantiates a new MavenPackageUpload object +NewDartPackageUploadResponseWithDefaults instantiates a new DartPackageUploadResponse object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set ### GetArchitectures -`func (o *MavenPackageUpload) GetArchitectures() []PackagesOwnerRepoArchitectures` +`func (o *DartPackageUploadResponse) GetArchitectures() []Architecture` GetArchitectures returns the Architectures field if non-nil, zero value otherwise. ### GetArchitecturesOk -`func (o *MavenPackageUpload) GetArchitecturesOk() (*[]PackagesOwnerRepoArchitectures, bool)` +`func (o *DartPackageUploadResponse) GetArchitecturesOk() (*[]Architecture, bool)` GetArchitecturesOk returns a tuple with the Architectures field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetArchitectures -`func (o *MavenPackageUpload) SetArchitectures(v []PackagesOwnerRepoArchitectures)` +`func (o *DartPackageUploadResponse) SetArchitectures(v []Architecture)` SetArchitectures sets Architectures field to given value. ### HasArchitectures -`func (o *MavenPackageUpload) HasArchitectures() bool` +`func (o *DartPackageUploadResponse) HasArchitectures() bool` HasArchitectures returns a boolean if a field has been set. -### GetArtifactId - -`func (o *MavenPackageUpload) GetArtifactId() string` - -GetArtifactId returns the ArtifactId field if non-nil, zero value otherwise. - -### GetArtifactIdOk - -`func (o *MavenPackageUpload) GetArtifactIdOk() (*string, bool)` - -GetArtifactIdOk returns a tuple with the ArtifactId field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetArtifactId - -`func (o *MavenPackageUpload) SetArtifactId(v string)` - -SetArtifactId sets ArtifactId field to given value. - -### HasArtifactId - -`func (o *MavenPackageUpload) HasArtifactId() bool` - -HasArtifactId returns a boolean if a field has been set. - ### GetCdnUrl -`func (o *MavenPackageUpload) GetCdnUrl() string` +`func (o *DartPackageUploadResponse) GetCdnUrl() string` GetCdnUrl returns the CdnUrl field if non-nil, zero value otherwise. ### GetCdnUrlOk -`func (o *MavenPackageUpload) GetCdnUrlOk() (*string, bool)` +`func (o *DartPackageUploadResponse) GetCdnUrlOk() (*string, bool)` GetCdnUrlOk returns a tuple with the CdnUrl field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetCdnUrl -`func (o *MavenPackageUpload) SetCdnUrl(v string)` +`func (o *DartPackageUploadResponse) SetCdnUrl(v string)` SetCdnUrl sets CdnUrl field to given value. ### HasCdnUrl -`func (o *MavenPackageUpload) HasCdnUrl() bool` +`func (o *DartPackageUploadResponse) HasCdnUrl() bool` HasCdnUrl returns a boolean if a field has been set. +### SetCdnUrlNil + +`func (o *DartPackageUploadResponse) SetCdnUrlNil(b bool)` + + SetCdnUrlNil sets the value for CdnUrl to be an explicit nil + +### UnsetCdnUrl +`func (o *DartPackageUploadResponse) UnsetCdnUrl()` + +UnsetCdnUrl ensures that no value is present for CdnUrl, not even an explicit nil ### GetChecksumMd5 -`func (o *MavenPackageUpload) GetChecksumMd5() string` +`func (o *DartPackageUploadResponse) GetChecksumMd5() string` GetChecksumMd5 returns the ChecksumMd5 field if non-nil, zero value otherwise. ### GetChecksumMd5Ok -`func (o *MavenPackageUpload) GetChecksumMd5Ok() (*string, bool)` +`func (o *DartPackageUploadResponse) GetChecksumMd5Ok() (*string, bool)` GetChecksumMd5Ok returns a tuple with the ChecksumMd5 field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetChecksumMd5 -`func (o *MavenPackageUpload) SetChecksumMd5(v string)` +`func (o *DartPackageUploadResponse) SetChecksumMd5(v string)` SetChecksumMd5 sets ChecksumMd5 field to given value. ### HasChecksumMd5 -`func (o *MavenPackageUpload) HasChecksumMd5() bool` +`func (o *DartPackageUploadResponse) HasChecksumMd5() bool` HasChecksumMd5 returns a boolean if a field has been set. ### GetChecksumSha1 -`func (o *MavenPackageUpload) GetChecksumSha1() string` +`func (o *DartPackageUploadResponse) GetChecksumSha1() string` GetChecksumSha1 returns the ChecksumSha1 field if non-nil, zero value otherwise. ### GetChecksumSha1Ok -`func (o *MavenPackageUpload) GetChecksumSha1Ok() (*string, bool)` +`func (o *DartPackageUploadResponse) GetChecksumSha1Ok() (*string, bool)` GetChecksumSha1Ok returns a tuple with the ChecksumSha1 field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetChecksumSha1 -`func (o *MavenPackageUpload) SetChecksumSha1(v string)` +`func (o *DartPackageUploadResponse) SetChecksumSha1(v string)` SetChecksumSha1 sets ChecksumSha1 field to given value. ### HasChecksumSha1 -`func (o *MavenPackageUpload) HasChecksumSha1() bool` +`func (o *DartPackageUploadResponse) HasChecksumSha1() bool` HasChecksumSha1 returns a boolean if a field has been set. ### GetChecksumSha256 -`func (o *MavenPackageUpload) GetChecksumSha256() string` +`func (o *DartPackageUploadResponse) GetChecksumSha256() string` GetChecksumSha256 returns the ChecksumSha256 field if non-nil, zero value otherwise. ### GetChecksumSha256Ok -`func (o *MavenPackageUpload) GetChecksumSha256Ok() (*string, bool)` +`func (o *DartPackageUploadResponse) GetChecksumSha256Ok() (*string, bool)` GetChecksumSha256Ok returns a tuple with the ChecksumSha256 field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetChecksumSha256 -`func (o *MavenPackageUpload) SetChecksumSha256(v string)` +`func (o *DartPackageUploadResponse) SetChecksumSha256(v string)` SetChecksumSha256 sets ChecksumSha256 field to given value. ### HasChecksumSha256 -`func (o *MavenPackageUpload) HasChecksumSha256() bool` +`func (o *DartPackageUploadResponse) HasChecksumSha256() bool` HasChecksumSha256 returns a boolean if a field has been set. ### GetChecksumSha512 -`func (o *MavenPackageUpload) GetChecksumSha512() string` +`func (o *DartPackageUploadResponse) GetChecksumSha512() string` GetChecksumSha512 returns the ChecksumSha512 field if non-nil, zero value otherwise. ### GetChecksumSha512Ok -`func (o *MavenPackageUpload) GetChecksumSha512Ok() (*string, bool)` +`func (o *DartPackageUploadResponse) GetChecksumSha512Ok() (*string, bool)` GetChecksumSha512Ok returns a tuple with the ChecksumSha512 field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetChecksumSha512 -`func (o *MavenPackageUpload) SetChecksumSha512(v string)` +`func (o *DartPackageUploadResponse) SetChecksumSha512(v string)` SetChecksumSha512 sets ChecksumSha512 field to given value. ### HasChecksumSha512 -`func (o *MavenPackageUpload) HasChecksumSha512() bool` +`func (o *DartPackageUploadResponse) HasChecksumSha512() bool` HasChecksumSha512 returns a boolean if a field has been set. ### GetDependenciesChecksumMd5 -`func (o *MavenPackageUpload) GetDependenciesChecksumMd5() string` +`func (o *DartPackageUploadResponse) GetDependenciesChecksumMd5() string` GetDependenciesChecksumMd5 returns the DependenciesChecksumMd5 field if non-nil, zero value otherwise. ### GetDependenciesChecksumMd5Ok -`func (o *MavenPackageUpload) GetDependenciesChecksumMd5Ok() (*string, bool)` +`func (o *DartPackageUploadResponse) GetDependenciesChecksumMd5Ok() (*string, bool)` GetDependenciesChecksumMd5Ok returns a tuple with the DependenciesChecksumMd5 field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetDependenciesChecksumMd5 -`func (o *MavenPackageUpload) SetDependenciesChecksumMd5(v string)` +`func (o *DartPackageUploadResponse) SetDependenciesChecksumMd5(v string)` SetDependenciesChecksumMd5 sets DependenciesChecksumMd5 field to given value. ### HasDependenciesChecksumMd5 -`func (o *MavenPackageUpload) HasDependenciesChecksumMd5() bool` +`func (o *DartPackageUploadResponse) HasDependenciesChecksumMd5() bool` HasDependenciesChecksumMd5 returns a boolean if a field has been set. ### GetDependenciesUrl -`func (o *MavenPackageUpload) GetDependenciesUrl() string` +`func (o *DartPackageUploadResponse) GetDependenciesUrl() string` GetDependenciesUrl returns the DependenciesUrl field if non-nil, zero value otherwise. ### GetDependenciesUrlOk -`func (o *MavenPackageUpload) GetDependenciesUrlOk() (*string, bool)` +`func (o *DartPackageUploadResponse) GetDependenciesUrlOk() (*string, bool)` GetDependenciesUrlOk returns a tuple with the DependenciesUrl field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetDependenciesUrl -`func (o *MavenPackageUpload) SetDependenciesUrl(v string)` +`func (o *DartPackageUploadResponse) SetDependenciesUrl(v string)` SetDependenciesUrl sets DependenciesUrl field to given value. ### HasDependenciesUrl -`func (o *MavenPackageUpload) HasDependenciesUrl() bool` +`func (o *DartPackageUploadResponse) HasDependenciesUrl() bool` HasDependenciesUrl returns a boolean if a field has been set. ### GetDescription -`func (o *MavenPackageUpload) GetDescription() string` +`func (o *DartPackageUploadResponse) GetDescription() string` GetDescription returns the Description field if non-nil, zero value otherwise. ### GetDescriptionOk -`func (o *MavenPackageUpload) GetDescriptionOk() (*string, bool)` +`func (o *DartPackageUploadResponse) GetDescriptionOk() (*string, bool)` GetDescriptionOk returns a tuple with the Description field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetDescription -`func (o *MavenPackageUpload) SetDescription(v string)` +`func (o *DartPackageUploadResponse) SetDescription(v string)` SetDescription sets Description field to given value. ### HasDescription -`func (o *MavenPackageUpload) HasDescription() bool` +`func (o *DartPackageUploadResponse) HasDescription() bool` HasDescription returns a boolean if a field has been set. ### GetDistro -`func (o *MavenPackageUpload) GetDistro() map[string]interface{}` +`func (o *DartPackageUploadResponse) GetDistro() Distribution` GetDistro returns the Distro field if non-nil, zero value otherwise. ### GetDistroOk -`func (o *MavenPackageUpload) GetDistroOk() (*map[string]interface{}, bool)` +`func (o *DartPackageUploadResponse) GetDistroOk() (*Distribution, bool)` GetDistroOk returns a tuple with the Distro field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetDistro -`func (o *MavenPackageUpload) SetDistro(v map[string]interface{})` +`func (o *DartPackageUploadResponse) SetDistro(v Distribution)` SetDistro sets Distro field to given value. ### HasDistro -`func (o *MavenPackageUpload) HasDistro() bool` +`func (o *DartPackageUploadResponse) HasDistro() bool` HasDistro returns a boolean if a field has been set. +### SetDistroNil + +`func (o *DartPackageUploadResponse) SetDistroNil(b bool)` + + SetDistroNil sets the value for Distro to be an explicit nil + +### UnsetDistro +`func (o *DartPackageUploadResponse) UnsetDistro()` + +UnsetDistro ensures that no value is present for Distro, not even an explicit nil ### GetDistroVersion -`func (o *MavenPackageUpload) GetDistroVersion() map[string]interface{}` +`func (o *DartPackageUploadResponse) GetDistroVersion() DistributionVersion` GetDistroVersion returns the DistroVersion field if non-nil, zero value otherwise. ### GetDistroVersionOk -`func (o *MavenPackageUpload) GetDistroVersionOk() (*map[string]interface{}, bool)` +`func (o *DartPackageUploadResponse) GetDistroVersionOk() (*DistributionVersion, bool)` GetDistroVersionOk returns a tuple with the DistroVersion field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetDistroVersion -`func (o *MavenPackageUpload) SetDistroVersion(v map[string]interface{})` +`func (o *DartPackageUploadResponse) SetDistroVersion(v DistributionVersion)` SetDistroVersion sets DistroVersion field to given value. ### HasDistroVersion -`func (o *MavenPackageUpload) HasDistroVersion() bool` +`func (o *DartPackageUploadResponse) HasDistroVersion() bool` HasDistroVersion returns a boolean if a field has been set. ### GetDownloads -`func (o *MavenPackageUpload) GetDownloads() int64` +`func (o *DartPackageUploadResponse) GetDownloads() int64` GetDownloads returns the Downloads field if non-nil, zero value otherwise. ### GetDownloadsOk -`func (o *MavenPackageUpload) GetDownloadsOk() (*int64, bool)` +`func (o *DartPackageUploadResponse) GetDownloadsOk() (*int64, bool)` GetDownloadsOk returns a tuple with the Downloads field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetDownloads -`func (o *MavenPackageUpload) SetDownloads(v int64)` +`func (o *DartPackageUploadResponse) SetDownloads(v int64)` SetDownloads sets Downloads field to given value. ### HasDownloads -`func (o *MavenPackageUpload) HasDownloads() bool` +`func (o *DartPackageUploadResponse) HasDownloads() bool` HasDownloads returns a boolean if a field has been set. ### GetEpoch -`func (o *MavenPackageUpload) GetEpoch() int64` +`func (o *DartPackageUploadResponse) GetEpoch() int64` GetEpoch returns the Epoch field if non-nil, zero value otherwise. ### GetEpochOk -`func (o *MavenPackageUpload) GetEpochOk() (*int64, bool)` +`func (o *DartPackageUploadResponse) GetEpochOk() (*int64, bool)` GetEpochOk returns a tuple with the Epoch field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetEpoch -`func (o *MavenPackageUpload) SetEpoch(v int64)` +`func (o *DartPackageUploadResponse) SetEpoch(v int64)` SetEpoch sets Epoch field to given value. ### HasEpoch -`func (o *MavenPackageUpload) HasEpoch() bool` +`func (o *DartPackageUploadResponse) HasEpoch() bool` HasEpoch returns a boolean if a field has been set. ### GetExtension -`func (o *MavenPackageUpload) GetExtension() string` +`func (o *DartPackageUploadResponse) GetExtension() string` GetExtension returns the Extension field if non-nil, zero value otherwise. ### GetExtensionOk -`func (o *MavenPackageUpload) GetExtensionOk() (*string, bool)` +`func (o *DartPackageUploadResponse) GetExtensionOk() (*string, bool)` GetExtensionOk returns a tuple with the Extension field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetExtension -`func (o *MavenPackageUpload) SetExtension(v string)` +`func (o *DartPackageUploadResponse) SetExtension(v string)` SetExtension sets Extension field to given value. ### HasExtension -`func (o *MavenPackageUpload) HasExtension() bool` +`func (o *DartPackageUploadResponse) HasExtension() bool` HasExtension returns a boolean if a field has been set. ### GetFilename -`func (o *MavenPackageUpload) GetFilename() string` +`func (o *DartPackageUploadResponse) GetFilename() string` GetFilename returns the Filename field if non-nil, zero value otherwise. ### GetFilenameOk -`func (o *MavenPackageUpload) GetFilenameOk() (*string, bool)` +`func (o *DartPackageUploadResponse) GetFilenameOk() (*string, bool)` GetFilenameOk returns a tuple with the Filename field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetFilename -`func (o *MavenPackageUpload) SetFilename(v string)` +`func (o *DartPackageUploadResponse) SetFilename(v string)` SetFilename sets Filename field to given value. ### HasFilename -`func (o *MavenPackageUpload) HasFilename() bool` +`func (o *DartPackageUploadResponse) HasFilename() bool` HasFilename returns a boolean if a field has been set. ### GetFiles -`func (o *MavenPackageUpload) GetFiles() []PackagesOwnerRepoFiles` +`func (o *DartPackageUploadResponse) GetFiles() []PackageFile` GetFiles returns the Files field if non-nil, zero value otherwise. ### GetFilesOk -`func (o *MavenPackageUpload) GetFilesOk() (*[]PackagesOwnerRepoFiles, bool)` +`func (o *DartPackageUploadResponse) GetFilesOk() (*[]PackageFile, 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 *MavenPackageUpload) SetFiles(v []PackagesOwnerRepoFiles)` +`func (o *DartPackageUploadResponse) SetFiles(v []PackageFile)` SetFiles sets Files field to given value. ### HasFiles -`func (o *MavenPackageUpload) HasFiles() bool` +`func (o *DartPackageUploadResponse) HasFiles() bool` HasFiles returns a boolean if a field has been set. ### GetFormat -`func (o *MavenPackageUpload) GetFormat() string` +`func (o *DartPackageUploadResponse) GetFormat() string` GetFormat returns the Format field if non-nil, zero value otherwise. ### GetFormatOk -`func (o *MavenPackageUpload) GetFormatOk() (*string, bool)` +`func (o *DartPackageUploadResponse) GetFormatOk() (*string, bool)` GetFormatOk returns a tuple with the Format field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetFormat -`func (o *MavenPackageUpload) SetFormat(v string)` +`func (o *DartPackageUploadResponse) SetFormat(v string)` SetFormat sets Format field to given value. ### HasFormat -`func (o *MavenPackageUpload) HasFormat() bool` +`func (o *DartPackageUploadResponse) HasFormat() bool` HasFormat returns a boolean if a field has been set. ### GetFormatUrl -`func (o *MavenPackageUpload) GetFormatUrl() string` +`func (o *DartPackageUploadResponse) GetFormatUrl() string` GetFormatUrl returns the FormatUrl field if non-nil, zero value otherwise. ### GetFormatUrlOk -`func (o *MavenPackageUpload) GetFormatUrlOk() (*string, bool)` +`func (o *DartPackageUploadResponse) GetFormatUrlOk() (*string, bool)` GetFormatUrlOk returns a tuple with the FormatUrl field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetFormatUrl -`func (o *MavenPackageUpload) SetFormatUrl(v string)` +`func (o *DartPackageUploadResponse) SetFormatUrl(v string)` SetFormatUrl sets FormatUrl field to given value. ### HasFormatUrl -`func (o *MavenPackageUpload) HasFormatUrl() bool` +`func (o *DartPackageUploadResponse) HasFormatUrl() bool` HasFormatUrl returns a boolean if a field has been set. -### GetGroupId - -`func (o *MavenPackageUpload) GetGroupId() string` - -GetGroupId returns the GroupId field if non-nil, zero value otherwise. - -### GetGroupIdOk - -`func (o *MavenPackageUpload) GetGroupIdOk() (*string, bool)` - -GetGroupIdOk returns a tuple with the GroupId field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetGroupId - -`func (o *MavenPackageUpload) SetGroupId(v string)` - -SetGroupId sets GroupId field to given value. - -### HasGroupId - -`func (o *MavenPackageUpload) HasGroupId() bool` - -HasGroupId returns a boolean if a field has been set. - ### GetIdentifierPerm -`func (o *MavenPackageUpload) GetIdentifierPerm() string` +`func (o *DartPackageUploadResponse) GetIdentifierPerm() string` GetIdentifierPerm returns the IdentifierPerm field if non-nil, zero value otherwise. ### GetIdentifierPermOk -`func (o *MavenPackageUpload) GetIdentifierPermOk() (*string, bool)` +`func (o *DartPackageUploadResponse) GetIdentifierPermOk() (*string, bool)` GetIdentifierPermOk returns a tuple with the IdentifierPerm field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetIdentifierPerm -`func (o *MavenPackageUpload) SetIdentifierPerm(v string)` +`func (o *DartPackageUploadResponse) SetIdentifierPerm(v string)` SetIdentifierPerm sets IdentifierPerm field to given value. ### HasIdentifierPerm -`func (o *MavenPackageUpload) HasIdentifierPerm() bool` +`func (o *DartPackageUploadResponse) HasIdentifierPerm() bool` HasIdentifierPerm returns a boolean if a field has been set. ### GetIndexed -`func (o *MavenPackageUpload) GetIndexed() bool` +`func (o *DartPackageUploadResponse) GetIndexed() bool` GetIndexed returns the Indexed field if non-nil, zero value otherwise. ### GetIndexedOk -`func (o *MavenPackageUpload) GetIndexedOk() (*bool, bool)` +`func (o *DartPackageUploadResponse) GetIndexedOk() (*bool, bool)` GetIndexedOk returns a tuple with the Indexed field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetIndexed -`func (o *MavenPackageUpload) SetIndexed(v bool)` +`func (o *DartPackageUploadResponse) SetIndexed(v bool)` SetIndexed sets Indexed field to given value. ### HasIndexed -`func (o *MavenPackageUpload) HasIndexed() bool` +`func (o *DartPackageUploadResponse) HasIndexed() bool` HasIndexed returns a boolean if a field has been set. ### GetIsDownloadable -`func (o *MavenPackageUpload) GetIsDownloadable() bool` +`func (o *DartPackageUploadResponse) GetIsDownloadable() bool` GetIsDownloadable returns the IsDownloadable field if non-nil, zero value otherwise. ### GetIsDownloadableOk -`func (o *MavenPackageUpload) GetIsDownloadableOk() (*bool, bool)` +`func (o *DartPackageUploadResponse) GetIsDownloadableOk() (*bool, bool)` GetIsDownloadableOk returns a tuple with the IsDownloadable field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetIsDownloadable -`func (o *MavenPackageUpload) SetIsDownloadable(v bool)` +`func (o *DartPackageUploadResponse) SetIsDownloadable(v bool)` SetIsDownloadable sets IsDownloadable field to given value. ### HasIsDownloadable -`func (o *MavenPackageUpload) HasIsDownloadable() bool` +`func (o *DartPackageUploadResponse) HasIsDownloadable() bool` HasIsDownloadable returns a boolean if a field has been set. ### GetIsQuarantined -`func (o *MavenPackageUpload) GetIsQuarantined() bool` +`func (o *DartPackageUploadResponse) GetIsQuarantined() bool` GetIsQuarantined returns the IsQuarantined field if non-nil, zero value otherwise. ### GetIsQuarantinedOk -`func (o *MavenPackageUpload) GetIsQuarantinedOk() (*bool, bool)` +`func (o *DartPackageUploadResponse) GetIsQuarantinedOk() (*bool, bool)` GetIsQuarantinedOk returns a tuple with the IsQuarantined field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetIsQuarantined -`func (o *MavenPackageUpload) SetIsQuarantined(v bool)` +`func (o *DartPackageUploadResponse) SetIsQuarantined(v bool)` SetIsQuarantined sets IsQuarantined field to given value. ### HasIsQuarantined -`func (o *MavenPackageUpload) HasIsQuarantined() bool` +`func (o *DartPackageUploadResponse) HasIsQuarantined() bool` HasIsQuarantined returns a boolean if a field has been set. ### GetIsSyncAwaiting -`func (o *MavenPackageUpload) GetIsSyncAwaiting() bool` +`func (o *DartPackageUploadResponse) GetIsSyncAwaiting() bool` GetIsSyncAwaiting returns the IsSyncAwaiting field if non-nil, zero value otherwise. ### GetIsSyncAwaitingOk -`func (o *MavenPackageUpload) GetIsSyncAwaitingOk() (*bool, bool)` +`func (o *DartPackageUploadResponse) GetIsSyncAwaitingOk() (*bool, bool)` GetIsSyncAwaitingOk returns a tuple with the IsSyncAwaiting field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetIsSyncAwaiting -`func (o *MavenPackageUpload) SetIsSyncAwaiting(v bool)` +`func (o *DartPackageUploadResponse) SetIsSyncAwaiting(v bool)` SetIsSyncAwaiting sets IsSyncAwaiting field to given value. ### HasIsSyncAwaiting -`func (o *MavenPackageUpload) HasIsSyncAwaiting() bool` +`func (o *DartPackageUploadResponse) HasIsSyncAwaiting() bool` HasIsSyncAwaiting returns a boolean if a field has been set. ### GetIsSyncCompleted -`func (o *MavenPackageUpload) GetIsSyncCompleted() bool` +`func (o *DartPackageUploadResponse) GetIsSyncCompleted() bool` GetIsSyncCompleted returns the IsSyncCompleted field if non-nil, zero value otherwise. ### GetIsSyncCompletedOk -`func (o *MavenPackageUpload) GetIsSyncCompletedOk() (*bool, bool)` +`func (o *DartPackageUploadResponse) GetIsSyncCompletedOk() (*bool, bool)` GetIsSyncCompletedOk returns a tuple with the IsSyncCompleted field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetIsSyncCompleted -`func (o *MavenPackageUpload) SetIsSyncCompleted(v bool)` +`func (o *DartPackageUploadResponse) SetIsSyncCompleted(v bool)` SetIsSyncCompleted sets IsSyncCompleted field to given value. ### HasIsSyncCompleted -`func (o *MavenPackageUpload) HasIsSyncCompleted() bool` +`func (o *DartPackageUploadResponse) HasIsSyncCompleted() bool` HasIsSyncCompleted returns a boolean if a field has been set. ### GetIsSyncFailed -`func (o *MavenPackageUpload) GetIsSyncFailed() bool` +`func (o *DartPackageUploadResponse) GetIsSyncFailed() bool` GetIsSyncFailed returns the IsSyncFailed field if non-nil, zero value otherwise. ### GetIsSyncFailedOk -`func (o *MavenPackageUpload) GetIsSyncFailedOk() (*bool, bool)` +`func (o *DartPackageUploadResponse) GetIsSyncFailedOk() (*bool, bool)` GetIsSyncFailedOk returns a tuple with the IsSyncFailed field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetIsSyncFailed -`func (o *MavenPackageUpload) SetIsSyncFailed(v bool)` +`func (o *DartPackageUploadResponse) SetIsSyncFailed(v bool)` SetIsSyncFailed sets IsSyncFailed field to given value. ### HasIsSyncFailed -`func (o *MavenPackageUpload) HasIsSyncFailed() bool` +`func (o *DartPackageUploadResponse) HasIsSyncFailed() bool` HasIsSyncFailed returns a boolean if a field has been set. ### GetIsSyncInFlight -`func (o *MavenPackageUpload) GetIsSyncInFlight() bool` +`func (o *DartPackageUploadResponse) GetIsSyncInFlight() bool` GetIsSyncInFlight returns the IsSyncInFlight field if non-nil, zero value otherwise. ### GetIsSyncInFlightOk -`func (o *MavenPackageUpload) GetIsSyncInFlightOk() (*bool, bool)` +`func (o *DartPackageUploadResponse) GetIsSyncInFlightOk() (*bool, bool)` GetIsSyncInFlightOk returns a tuple with the IsSyncInFlight field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetIsSyncInFlight -`func (o *MavenPackageUpload) SetIsSyncInFlight(v bool)` +`func (o *DartPackageUploadResponse) SetIsSyncInFlight(v bool)` SetIsSyncInFlight sets IsSyncInFlight field to given value. ### HasIsSyncInFlight -`func (o *MavenPackageUpload) HasIsSyncInFlight() bool` +`func (o *DartPackageUploadResponse) HasIsSyncInFlight() bool` HasIsSyncInFlight returns a boolean if a field has been set. ### GetIsSyncInProgress -`func (o *MavenPackageUpload) GetIsSyncInProgress() bool` +`func (o *DartPackageUploadResponse) GetIsSyncInProgress() bool` GetIsSyncInProgress returns the IsSyncInProgress field if non-nil, zero value otherwise. ### GetIsSyncInProgressOk -`func (o *MavenPackageUpload) GetIsSyncInProgressOk() (*bool, bool)` +`func (o *DartPackageUploadResponse) GetIsSyncInProgressOk() (*bool, bool)` GetIsSyncInProgressOk returns a tuple with the IsSyncInProgress field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetIsSyncInProgress -`func (o *MavenPackageUpload) SetIsSyncInProgress(v bool)` +`func (o *DartPackageUploadResponse) SetIsSyncInProgress(v bool)` SetIsSyncInProgress sets IsSyncInProgress field to given value. ### HasIsSyncInProgress -`func (o *MavenPackageUpload) HasIsSyncInProgress() bool` +`func (o *DartPackageUploadResponse) HasIsSyncInProgress() bool` HasIsSyncInProgress returns a boolean if a field has been set. ### GetLicense -`func (o *MavenPackageUpload) GetLicense() string` +`func (o *DartPackageUploadResponse) GetLicense() string` GetLicense returns the License field if non-nil, zero value otherwise. ### GetLicenseOk -`func (o *MavenPackageUpload) GetLicenseOk() (*string, bool)` +`func (o *DartPackageUploadResponse) GetLicenseOk() (*string, bool)` GetLicenseOk returns a tuple with the License field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetLicense -`func (o *MavenPackageUpload) SetLicense(v string)` +`func (o *DartPackageUploadResponse) SetLicense(v string)` SetLicense sets License field to given value. ### HasLicense -`func (o *MavenPackageUpload) HasLicense() bool` +`func (o *DartPackageUploadResponse) HasLicense() bool` HasLicense returns a boolean if a field has been set. ### GetName -`func (o *MavenPackageUpload) GetName() string` +`func (o *DartPackageUploadResponse) GetName() string` GetName returns the Name field if non-nil, zero value otherwise. ### GetNameOk -`func (o *MavenPackageUpload) GetNameOk() (*string, bool)` +`func (o *DartPackageUploadResponse) GetNameOk() (*string, bool)` 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. ### SetName -`func (o *MavenPackageUpload) SetName(v string)` +`func (o *DartPackageUploadResponse) SetName(v string)` SetName sets Name field to given value. ### HasName -`func (o *MavenPackageUpload) HasName() bool` +`func (o *DartPackageUploadResponse) HasName() bool` HasName returns a boolean if a field has been set. ### GetNamespace -`func (o *MavenPackageUpload) GetNamespace() string` +`func (o *DartPackageUploadResponse) GetNamespace() string` GetNamespace returns the Namespace field if non-nil, zero value otherwise. ### GetNamespaceOk -`func (o *MavenPackageUpload) GetNamespaceOk() (*string, bool)` +`func (o *DartPackageUploadResponse) GetNamespaceOk() (*string, bool)` GetNamespaceOk returns a tuple with the Namespace field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetNamespace -`func (o *MavenPackageUpload) SetNamespace(v string)` +`func (o *DartPackageUploadResponse) SetNamespace(v string)` SetNamespace sets Namespace field to given value. ### HasNamespace -`func (o *MavenPackageUpload) HasNamespace() bool` +`func (o *DartPackageUploadResponse) HasNamespace() bool` HasNamespace returns a boolean if a field has been set. ### GetNamespaceUrl -`func (o *MavenPackageUpload) GetNamespaceUrl() string` +`func (o *DartPackageUploadResponse) GetNamespaceUrl() string` GetNamespaceUrl returns the NamespaceUrl field if non-nil, zero value otherwise. ### GetNamespaceUrlOk -`func (o *MavenPackageUpload) GetNamespaceUrlOk() (*string, bool)` +`func (o *DartPackageUploadResponse) GetNamespaceUrlOk() (*string, bool)` GetNamespaceUrlOk returns a tuple with the NamespaceUrl field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetNamespaceUrl -`func (o *MavenPackageUpload) SetNamespaceUrl(v string)` +`func (o *DartPackageUploadResponse) SetNamespaceUrl(v string)` SetNamespaceUrl sets NamespaceUrl field to given value. ### HasNamespaceUrl -`func (o *MavenPackageUpload) HasNamespaceUrl() bool` +`func (o *DartPackageUploadResponse) HasNamespaceUrl() bool` HasNamespaceUrl returns a boolean if a field has been set. ### GetNumFiles -`func (o *MavenPackageUpload) GetNumFiles() int64` +`func (o *DartPackageUploadResponse) GetNumFiles() int64` GetNumFiles returns the NumFiles field if non-nil, zero value otherwise. ### GetNumFilesOk -`func (o *MavenPackageUpload) GetNumFilesOk() (*int64, bool)` +`func (o *DartPackageUploadResponse) GetNumFilesOk() (*int64, bool)` GetNumFilesOk returns a tuple with the NumFiles field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetNumFiles -`func (o *MavenPackageUpload) SetNumFiles(v int64)` +`func (o *DartPackageUploadResponse) SetNumFiles(v int64)` SetNumFiles sets NumFiles field to given value. ### HasNumFiles -`func (o *MavenPackageUpload) HasNumFiles() bool` +`func (o *DartPackageUploadResponse) HasNumFiles() bool` HasNumFiles returns a boolean if a field has been set. -### GetPackageType +### GetOriginRepository -`func (o *MavenPackageUpload) GetPackageType() int64` +`func (o *DartPackageUploadResponse) GetOriginRepository() string` -GetPackageType returns the PackageType field if non-nil, zero value otherwise. +GetOriginRepository returns the OriginRepository field if non-nil, zero value otherwise. -### GetPackageTypeOk +### GetOriginRepositoryOk -`func (o *MavenPackageUpload) GetPackageTypeOk() (*int64, bool)` +`func (o *DartPackageUploadResponse) GetOriginRepositoryOk() (*string, bool)` -GetPackageTypeOk returns a tuple with the PackageType field if it's non-nil, zero value otherwise +GetOriginRepositoryOk returns a tuple with the OriginRepository field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. -### SetPackageType +### SetOriginRepository -`func (o *MavenPackageUpload) SetPackageType(v int64)` +`func (o *DartPackageUploadResponse) SetOriginRepository(v string)` -SetPackageType sets PackageType field to given value. +SetOriginRepository sets OriginRepository field to given value. -### HasPackageType +### HasOriginRepository -`func (o *MavenPackageUpload) HasPackageType() bool` +`func (o *DartPackageUploadResponse) HasOriginRepository() bool` -HasPackageType returns a boolean if a field has been set. +HasOriginRepository returns a boolean if a field has been set. -### GetPackaging +### GetOriginRepositoryUrl -`func (o *MavenPackageUpload) GetPackaging() string` +`func (o *DartPackageUploadResponse) GetOriginRepositoryUrl() string` -GetPackaging returns the Packaging field if non-nil, zero value otherwise. +GetOriginRepositoryUrl returns the OriginRepositoryUrl field if non-nil, zero value otherwise. -### GetPackagingOk +### GetOriginRepositoryUrlOk -`func (o *MavenPackageUpload) GetPackagingOk() (*string, bool)` +`func (o *DartPackageUploadResponse) GetOriginRepositoryUrlOk() (*string, bool)` -GetPackagingOk returns a tuple with the Packaging field if it's non-nil, zero value otherwise +GetOriginRepositoryUrlOk returns a tuple with the OriginRepositoryUrl field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. -### SetPackaging +### SetOriginRepositoryUrl + +`func (o *DartPackageUploadResponse) SetOriginRepositoryUrl(v string)` + +SetOriginRepositoryUrl sets OriginRepositoryUrl field to given value. + +### HasOriginRepositoryUrl -`func (o *MavenPackageUpload) SetPackaging(v string)` +`func (o *DartPackageUploadResponse) HasOriginRepositoryUrl() bool` -SetPackaging sets Packaging field to given value. +HasOriginRepositoryUrl returns a boolean if a field has been set. -### HasPackaging +### GetPackageType + +`func (o *DartPackageUploadResponse) GetPackageType() int64` -`func (o *MavenPackageUpload) HasPackaging() bool` +GetPackageType returns the PackageType field if non-nil, zero value otherwise. + +### GetPackageTypeOk -HasPackaging returns a boolean if a field has been set. +`func (o *DartPackageUploadResponse) GetPackageTypeOk() (*int64, bool)` + +GetPackageTypeOk returns a tuple with the PackageType field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetPackageType + +`func (o *DartPackageUploadResponse) SetPackageType(v int64)` + +SetPackageType sets PackageType field to given value. + +### HasPackageType + +`func (o *DartPackageUploadResponse) HasPackageType() bool` + +HasPackageType returns a boolean if a field has been set. ### GetRelease -`func (o *MavenPackageUpload) GetRelease() string` +`func (o *DartPackageUploadResponse) GetRelease() string` GetRelease returns the Release field if non-nil, zero value otherwise. ### GetReleaseOk -`func (o *MavenPackageUpload) GetReleaseOk() (*string, bool)` +`func (o *DartPackageUploadResponse) GetReleaseOk() (*string, bool)` GetReleaseOk returns a tuple with the Release field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetRelease -`func (o *MavenPackageUpload) SetRelease(v string)` +`func (o *DartPackageUploadResponse) SetRelease(v string)` SetRelease sets Release field to given value. ### HasRelease -`func (o *MavenPackageUpload) HasRelease() bool` +`func (o *DartPackageUploadResponse) HasRelease() bool` HasRelease returns a boolean if a field has been set. ### GetRepository -`func (o *MavenPackageUpload) GetRepository() string` +`func (o *DartPackageUploadResponse) GetRepository() string` GetRepository returns the Repository field if non-nil, zero value otherwise. ### GetRepositoryOk -`func (o *MavenPackageUpload) GetRepositoryOk() (*string, bool)` +`func (o *DartPackageUploadResponse) GetRepositoryOk() (*string, bool)` GetRepositoryOk returns a tuple with the Repository field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetRepository -`func (o *MavenPackageUpload) SetRepository(v string)` +`func (o *DartPackageUploadResponse) SetRepository(v string)` SetRepository sets Repository field to given value. ### HasRepository -`func (o *MavenPackageUpload) HasRepository() bool` +`func (o *DartPackageUploadResponse) HasRepository() bool` HasRepository returns a boolean if a field has been set. ### GetRepositoryUrl -`func (o *MavenPackageUpload) GetRepositoryUrl() string` +`func (o *DartPackageUploadResponse) GetRepositoryUrl() string` GetRepositoryUrl returns the RepositoryUrl field if non-nil, zero value otherwise. ### GetRepositoryUrlOk -`func (o *MavenPackageUpload) GetRepositoryUrlOk() (*string, bool)` +`func (o *DartPackageUploadResponse) GetRepositoryUrlOk() (*string, bool)` GetRepositoryUrlOk returns a tuple with the RepositoryUrl field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetRepositoryUrl -`func (o *MavenPackageUpload) SetRepositoryUrl(v string)` +`func (o *DartPackageUploadResponse) SetRepositoryUrl(v string)` SetRepositoryUrl sets RepositoryUrl field to given value. ### HasRepositoryUrl -`func (o *MavenPackageUpload) HasRepositoryUrl() bool` +`func (o *DartPackageUploadResponse) HasRepositoryUrl() bool` HasRepositoryUrl returns a boolean if a field has been set. ### GetSecurityScanCompletedAt -`func (o *MavenPackageUpload) GetSecurityScanCompletedAt() string` +`func (o *DartPackageUploadResponse) GetSecurityScanCompletedAt() time.Time` GetSecurityScanCompletedAt returns the SecurityScanCompletedAt field if non-nil, zero value otherwise. ### GetSecurityScanCompletedAtOk -`func (o *MavenPackageUpload) GetSecurityScanCompletedAtOk() (*string, bool)` +`func (o *DartPackageUploadResponse) GetSecurityScanCompletedAtOk() (*time.Time, bool)` GetSecurityScanCompletedAtOk returns a tuple with the SecurityScanCompletedAt field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetSecurityScanCompletedAt -`func (o *MavenPackageUpload) SetSecurityScanCompletedAt(v string)` +`func (o *DartPackageUploadResponse) SetSecurityScanCompletedAt(v time.Time)` SetSecurityScanCompletedAt sets SecurityScanCompletedAt field to given value. ### HasSecurityScanCompletedAt -`func (o *MavenPackageUpload) HasSecurityScanCompletedAt() bool` +`func (o *DartPackageUploadResponse) HasSecurityScanCompletedAt() bool` HasSecurityScanCompletedAt returns a boolean if a field has been set. ### GetSecurityScanStartedAt -`func (o *MavenPackageUpload) GetSecurityScanStartedAt() string` +`func (o *DartPackageUploadResponse) GetSecurityScanStartedAt() time.Time` GetSecurityScanStartedAt returns the SecurityScanStartedAt field if non-nil, zero value otherwise. ### GetSecurityScanStartedAtOk -`func (o *MavenPackageUpload) GetSecurityScanStartedAtOk() (*string, bool)` +`func (o *DartPackageUploadResponse) GetSecurityScanStartedAtOk() (*time.Time, bool)` GetSecurityScanStartedAtOk returns a tuple with the SecurityScanStartedAt field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetSecurityScanStartedAt -`func (o *MavenPackageUpload) SetSecurityScanStartedAt(v string)` +`func (o *DartPackageUploadResponse) SetSecurityScanStartedAt(v time.Time)` SetSecurityScanStartedAt sets SecurityScanStartedAt field to given value. ### HasSecurityScanStartedAt -`func (o *MavenPackageUpload) HasSecurityScanStartedAt() bool` +`func (o *DartPackageUploadResponse) HasSecurityScanStartedAt() bool` HasSecurityScanStartedAt returns a boolean if a field has been set. ### GetSecurityScanStatus -`func (o *MavenPackageUpload) GetSecurityScanStatus() string` +`func (o *DartPackageUploadResponse) GetSecurityScanStatus() string` GetSecurityScanStatus returns the SecurityScanStatus field if non-nil, zero value otherwise. ### GetSecurityScanStatusOk -`func (o *MavenPackageUpload) GetSecurityScanStatusOk() (*string, bool)` +`func (o *DartPackageUploadResponse) GetSecurityScanStatusOk() (*string, bool)` GetSecurityScanStatusOk returns a tuple with the SecurityScanStatus field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetSecurityScanStatus -`func (o *MavenPackageUpload) SetSecurityScanStatus(v string)` +`func (o *DartPackageUploadResponse) SetSecurityScanStatus(v string)` SetSecurityScanStatus sets SecurityScanStatus field to given value. ### HasSecurityScanStatus -`func (o *MavenPackageUpload) HasSecurityScanStatus() bool` +`func (o *DartPackageUploadResponse) HasSecurityScanStatus() bool` HasSecurityScanStatus returns a boolean if a field has been set. +### SetSecurityScanStatusNil + +`func (o *DartPackageUploadResponse) SetSecurityScanStatusNil(b bool)` + + SetSecurityScanStatusNil sets the value for SecurityScanStatus to be an explicit nil + +### UnsetSecurityScanStatus +`func (o *DartPackageUploadResponse) UnsetSecurityScanStatus()` + +UnsetSecurityScanStatus ensures that no value is present for SecurityScanStatus, not even an explicit nil ### GetSecurityScanStatusUpdatedAt -`func (o *MavenPackageUpload) GetSecurityScanStatusUpdatedAt() string` +`func (o *DartPackageUploadResponse) GetSecurityScanStatusUpdatedAt() time.Time` GetSecurityScanStatusUpdatedAt returns the SecurityScanStatusUpdatedAt field if non-nil, zero value otherwise. ### GetSecurityScanStatusUpdatedAtOk -`func (o *MavenPackageUpload) GetSecurityScanStatusUpdatedAtOk() (*string, bool)` +`func (o *DartPackageUploadResponse) GetSecurityScanStatusUpdatedAtOk() (*time.Time, bool)` GetSecurityScanStatusUpdatedAtOk returns a tuple with the SecurityScanStatusUpdatedAt field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetSecurityScanStatusUpdatedAt -`func (o *MavenPackageUpload) SetSecurityScanStatusUpdatedAt(v string)` +`func (o *DartPackageUploadResponse) SetSecurityScanStatusUpdatedAt(v time.Time)` SetSecurityScanStatusUpdatedAt sets SecurityScanStatusUpdatedAt field to given value. ### HasSecurityScanStatusUpdatedAt -`func (o *MavenPackageUpload) HasSecurityScanStatusUpdatedAt() bool` +`func (o *DartPackageUploadResponse) HasSecurityScanStatusUpdatedAt() bool` HasSecurityScanStatusUpdatedAt returns a boolean if a field has been set. ### GetSelfHtmlUrl -`func (o *MavenPackageUpload) GetSelfHtmlUrl() string` +`func (o *DartPackageUploadResponse) GetSelfHtmlUrl() string` GetSelfHtmlUrl returns the SelfHtmlUrl field if non-nil, zero value otherwise. ### GetSelfHtmlUrlOk -`func (o *MavenPackageUpload) GetSelfHtmlUrlOk() (*string, bool)` +`func (o *DartPackageUploadResponse) GetSelfHtmlUrlOk() (*string, bool)` GetSelfHtmlUrlOk returns a tuple with the SelfHtmlUrl field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetSelfHtmlUrl -`func (o *MavenPackageUpload) SetSelfHtmlUrl(v string)` +`func (o *DartPackageUploadResponse) SetSelfHtmlUrl(v string)` SetSelfHtmlUrl sets SelfHtmlUrl field to given value. ### HasSelfHtmlUrl -`func (o *MavenPackageUpload) HasSelfHtmlUrl() bool` +`func (o *DartPackageUploadResponse) HasSelfHtmlUrl() bool` HasSelfHtmlUrl returns a boolean if a field has been set. ### GetSelfUrl -`func (o *MavenPackageUpload) GetSelfUrl() string` +`func (o *DartPackageUploadResponse) GetSelfUrl() string` GetSelfUrl returns the SelfUrl field if non-nil, zero value otherwise. ### GetSelfUrlOk -`func (o *MavenPackageUpload) GetSelfUrlOk() (*string, bool)` +`func (o *DartPackageUploadResponse) GetSelfUrlOk() (*string, bool)` GetSelfUrlOk returns a tuple with the SelfUrl field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetSelfUrl -`func (o *MavenPackageUpload) SetSelfUrl(v string)` +`func (o *DartPackageUploadResponse) SetSelfUrl(v string)` SetSelfUrl sets SelfUrl field to given value. ### HasSelfUrl -`func (o *MavenPackageUpload) HasSelfUrl() bool` +`func (o *DartPackageUploadResponse) HasSelfUrl() bool` HasSelfUrl returns a boolean if a field has been set. ### GetSignatureUrl -`func (o *MavenPackageUpload) GetSignatureUrl() string` +`func (o *DartPackageUploadResponse) GetSignatureUrl() string` GetSignatureUrl returns the SignatureUrl field if non-nil, zero value otherwise. ### GetSignatureUrlOk -`func (o *MavenPackageUpload) GetSignatureUrlOk() (*string, bool)` +`func (o *DartPackageUploadResponse) GetSignatureUrlOk() (*string, bool)` GetSignatureUrlOk returns a tuple with the SignatureUrl field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetSignatureUrl -`func (o *MavenPackageUpload) SetSignatureUrl(v string)` +`func (o *DartPackageUploadResponse) SetSignatureUrl(v string)` SetSignatureUrl sets SignatureUrl field to given value. ### HasSignatureUrl -`func (o *MavenPackageUpload) HasSignatureUrl() bool` +`func (o *DartPackageUploadResponse) HasSignatureUrl() bool` HasSignatureUrl returns a boolean if a field has been set. +### SetSignatureUrlNil + +`func (o *DartPackageUploadResponse) SetSignatureUrlNil(b bool)` + + SetSignatureUrlNil sets the value for SignatureUrl to be an explicit nil + +### UnsetSignatureUrl +`func (o *DartPackageUploadResponse) UnsetSignatureUrl()` + +UnsetSignatureUrl ensures that no value is present for SignatureUrl, not even an explicit nil ### GetSize -`func (o *MavenPackageUpload) GetSize() int64` +`func (o *DartPackageUploadResponse) GetSize() int64` GetSize returns the Size field if non-nil, zero value otherwise. ### GetSizeOk -`func (o *MavenPackageUpload) GetSizeOk() (*int64, bool)` +`func (o *DartPackageUploadResponse) GetSizeOk() (*int64, bool)` GetSizeOk returns a tuple with the Size field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetSize -`func (o *MavenPackageUpload) SetSize(v int64)` +`func (o *DartPackageUploadResponse) SetSize(v int64)` SetSize sets Size field to given value. ### HasSize -`func (o *MavenPackageUpload) HasSize() bool` +`func (o *DartPackageUploadResponse) HasSize() bool` HasSize returns a boolean if a field has been set. ### GetSlug -`func (o *MavenPackageUpload) GetSlug() string` +`func (o *DartPackageUploadResponse) GetSlug() string` GetSlug returns the Slug field if non-nil, zero value otherwise. ### GetSlugOk -`func (o *MavenPackageUpload) GetSlugOk() (*string, bool)` +`func (o *DartPackageUploadResponse) GetSlugOk() (*string, bool)` GetSlugOk returns a tuple with the Slug field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetSlug -`func (o *MavenPackageUpload) SetSlug(v string)` +`func (o *DartPackageUploadResponse) SetSlug(v string)` SetSlug sets Slug field to given value. ### HasSlug -`func (o *MavenPackageUpload) HasSlug() bool` +`func (o *DartPackageUploadResponse) HasSlug() bool` HasSlug returns a boolean if a field has been set. ### GetSlugPerm -`func (o *MavenPackageUpload) GetSlugPerm() string` +`func (o *DartPackageUploadResponse) GetSlugPerm() string` GetSlugPerm returns the SlugPerm field if non-nil, zero value otherwise. ### GetSlugPermOk -`func (o *MavenPackageUpload) GetSlugPermOk() (*string, bool)` +`func (o *DartPackageUploadResponse) GetSlugPermOk() (*string, bool)` GetSlugPermOk returns a tuple with the SlugPerm field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetSlugPerm -`func (o *MavenPackageUpload) SetSlugPerm(v string)` +`func (o *DartPackageUploadResponse) SetSlugPerm(v string)` SetSlugPerm sets SlugPerm field to given value. ### HasSlugPerm -`func (o *MavenPackageUpload) HasSlugPerm() bool` +`func (o *DartPackageUploadResponse) HasSlugPerm() bool` HasSlugPerm returns a boolean if a field has been set. ### GetStage -`func (o *MavenPackageUpload) GetStage() int64` +`func (o *DartPackageUploadResponse) GetStage() int64` GetStage returns the Stage field if non-nil, zero value otherwise. ### GetStageOk -`func (o *MavenPackageUpload) GetStageOk() (*int64, bool)` +`func (o *DartPackageUploadResponse) GetStageOk() (*int64, bool)` GetStageOk returns a tuple with the Stage field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetStage -`func (o *MavenPackageUpload) SetStage(v int64)` +`func (o *DartPackageUploadResponse) SetStage(v int64)` SetStage sets Stage field to given value. ### HasStage -`func (o *MavenPackageUpload) HasStage() bool` +`func (o *DartPackageUploadResponse) HasStage() bool` HasStage returns a boolean if a field has been set. ### GetStageStr -`func (o *MavenPackageUpload) GetStageStr() string` +`func (o *DartPackageUploadResponse) GetStageStr() string` GetStageStr returns the StageStr field if non-nil, zero value otherwise. ### GetStageStrOk -`func (o *MavenPackageUpload) GetStageStrOk() (*string, bool)` +`func (o *DartPackageUploadResponse) GetStageStrOk() (*string, bool)` GetStageStrOk returns a tuple with the StageStr field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetStageStr -`func (o *MavenPackageUpload) SetStageStr(v string)` +`func (o *DartPackageUploadResponse) SetStageStr(v string)` SetStageStr sets StageStr field to given value. ### HasStageStr -`func (o *MavenPackageUpload) HasStageStr() bool` +`func (o *DartPackageUploadResponse) HasStageStr() bool` HasStageStr returns a boolean if a field has been set. ### GetStageUpdatedAt -`func (o *MavenPackageUpload) GetStageUpdatedAt() string` +`func (o *DartPackageUploadResponse) GetStageUpdatedAt() time.Time` GetStageUpdatedAt returns the StageUpdatedAt field if non-nil, zero value otherwise. ### GetStageUpdatedAtOk -`func (o *MavenPackageUpload) GetStageUpdatedAtOk() (*string, bool)` +`func (o *DartPackageUploadResponse) GetStageUpdatedAtOk() (*time.Time, bool)` GetStageUpdatedAtOk returns a tuple with the StageUpdatedAt field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetStageUpdatedAt -`func (o *MavenPackageUpload) SetStageUpdatedAt(v string)` +`func (o *DartPackageUploadResponse) SetStageUpdatedAt(v time.Time)` SetStageUpdatedAt sets StageUpdatedAt field to given value. ### HasStageUpdatedAt -`func (o *MavenPackageUpload) HasStageUpdatedAt() bool` +`func (o *DartPackageUploadResponse) HasStageUpdatedAt() bool` HasStageUpdatedAt returns a boolean if a field has been set. ### GetStatus -`func (o *MavenPackageUpload) GetStatus() int64` +`func (o *DartPackageUploadResponse) GetStatus() int64` GetStatus returns the Status field if non-nil, zero value otherwise. ### GetStatusOk -`func (o *MavenPackageUpload) GetStatusOk() (*int64, bool)` +`func (o *DartPackageUploadResponse) GetStatusOk() (*int64, bool)` GetStatusOk returns a tuple with the Status field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetStatus -`func (o *MavenPackageUpload) SetStatus(v int64)` +`func (o *DartPackageUploadResponse) SetStatus(v int64)` SetStatus sets Status field to given value. ### HasStatus -`func (o *MavenPackageUpload) HasStatus() bool` +`func (o *DartPackageUploadResponse) HasStatus() bool` HasStatus returns a boolean if a field has been set. ### GetStatusReason -`func (o *MavenPackageUpload) GetStatusReason() string` +`func (o *DartPackageUploadResponse) GetStatusReason() string` GetStatusReason returns the StatusReason field if non-nil, zero value otherwise. ### GetStatusReasonOk -`func (o *MavenPackageUpload) GetStatusReasonOk() (*string, bool)` +`func (o *DartPackageUploadResponse) GetStatusReasonOk() (*string, bool)` GetStatusReasonOk returns a tuple with the StatusReason field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetStatusReason -`func (o *MavenPackageUpload) SetStatusReason(v string)` +`func (o *DartPackageUploadResponse) SetStatusReason(v string)` SetStatusReason sets StatusReason field to given value. ### HasStatusReason -`func (o *MavenPackageUpload) HasStatusReason() bool` +`func (o *DartPackageUploadResponse) HasStatusReason() bool` HasStatusReason returns a boolean if a field has been set. ### GetStatusStr -`func (o *MavenPackageUpload) GetStatusStr() string` +`func (o *DartPackageUploadResponse) GetStatusStr() string` GetStatusStr returns the StatusStr field if non-nil, zero value otherwise. ### GetStatusStrOk -`func (o *MavenPackageUpload) GetStatusStrOk() (*string, bool)` +`func (o *DartPackageUploadResponse) GetStatusStrOk() (*string, bool)` GetStatusStrOk returns a tuple with the StatusStr field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetStatusStr -`func (o *MavenPackageUpload) SetStatusStr(v string)` +`func (o *DartPackageUploadResponse) SetStatusStr(v string)` SetStatusStr sets StatusStr field to given value. ### HasStatusStr -`func (o *MavenPackageUpload) HasStatusStr() bool` +`func (o *DartPackageUploadResponse) HasStatusStr() bool` HasStatusStr returns a boolean if a field has been set. ### GetStatusUpdatedAt -`func (o *MavenPackageUpload) GetStatusUpdatedAt() string` +`func (o *DartPackageUploadResponse) GetStatusUpdatedAt() time.Time` GetStatusUpdatedAt returns the StatusUpdatedAt field if non-nil, zero value otherwise. ### GetStatusUpdatedAtOk -`func (o *MavenPackageUpload) GetStatusUpdatedAtOk() (*string, bool)` +`func (o *DartPackageUploadResponse) GetStatusUpdatedAtOk() (*time.Time, bool)` GetStatusUpdatedAtOk returns a tuple with the StatusUpdatedAt field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetStatusUpdatedAt -`func (o *MavenPackageUpload) SetStatusUpdatedAt(v string)` +`func (o *DartPackageUploadResponse) SetStatusUpdatedAt(v time.Time)` SetStatusUpdatedAt sets StatusUpdatedAt field to given value. ### HasStatusUpdatedAt -`func (o *MavenPackageUpload) HasStatusUpdatedAt() bool` +`func (o *DartPackageUploadResponse) HasStatusUpdatedAt() bool` HasStatusUpdatedAt returns a boolean if a field has been set. ### GetStatusUrl -`func (o *MavenPackageUpload) GetStatusUrl() string` +`func (o *DartPackageUploadResponse) GetStatusUrl() string` GetStatusUrl returns the StatusUrl field if non-nil, zero value otherwise. ### GetStatusUrlOk -`func (o *MavenPackageUpload) GetStatusUrlOk() (*string, bool)` +`func (o *DartPackageUploadResponse) GetStatusUrlOk() (*string, bool)` GetStatusUrlOk returns a tuple with the StatusUrl field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetStatusUrl -`func (o *MavenPackageUpload) SetStatusUrl(v string)` +`func (o *DartPackageUploadResponse) SetStatusUrl(v string)` SetStatusUrl sets StatusUrl field to given value. ### HasStatusUrl -`func (o *MavenPackageUpload) HasStatusUrl() bool` +`func (o *DartPackageUploadResponse) HasStatusUrl() bool` HasStatusUrl returns a boolean if a field has been set. ### GetSubtype -`func (o *MavenPackageUpload) GetSubtype() string` +`func (o *DartPackageUploadResponse) GetSubtype() string` GetSubtype returns the Subtype field if non-nil, zero value otherwise. ### GetSubtypeOk -`func (o *MavenPackageUpload) GetSubtypeOk() (*string, bool)` +`func (o *DartPackageUploadResponse) GetSubtypeOk() (*string, bool)` GetSubtypeOk returns a tuple with the Subtype field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetSubtype -`func (o *MavenPackageUpload) SetSubtype(v string)` +`func (o *DartPackageUploadResponse) SetSubtype(v string)` SetSubtype sets Subtype field to given value. ### HasSubtype -`func (o *MavenPackageUpload) HasSubtype() bool` +`func (o *DartPackageUploadResponse) HasSubtype() bool` HasSubtype returns a boolean if a field has been set. ### GetSummary -`func (o *MavenPackageUpload) GetSummary() string` +`func (o *DartPackageUploadResponse) GetSummary() string` GetSummary returns the Summary field if non-nil, zero value otherwise. ### GetSummaryOk -`func (o *MavenPackageUpload) GetSummaryOk() (*string, bool)` +`func (o *DartPackageUploadResponse) GetSummaryOk() (*string, bool)` GetSummaryOk returns a tuple with the Summary field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetSummary -`func (o *MavenPackageUpload) SetSummary(v string)` +`func (o *DartPackageUploadResponse) SetSummary(v string)` SetSummary sets Summary field to given value. ### HasSummary -`func (o *MavenPackageUpload) HasSummary() bool` +`func (o *DartPackageUploadResponse) HasSummary() bool` HasSummary returns a boolean if a field has been set. ### GetSyncFinishedAt -`func (o *MavenPackageUpload) GetSyncFinishedAt() string` +`func (o *DartPackageUploadResponse) GetSyncFinishedAt() time.Time` GetSyncFinishedAt returns the SyncFinishedAt field if non-nil, zero value otherwise. ### GetSyncFinishedAtOk -`func (o *MavenPackageUpload) GetSyncFinishedAtOk() (*string, bool)` +`func (o *DartPackageUploadResponse) GetSyncFinishedAtOk() (*time.Time, bool)` GetSyncFinishedAtOk returns a tuple with the SyncFinishedAt field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetSyncFinishedAt -`func (o *MavenPackageUpload) SetSyncFinishedAt(v string)` +`func (o *DartPackageUploadResponse) SetSyncFinishedAt(v time.Time)` SetSyncFinishedAt sets SyncFinishedAt field to given value. ### HasSyncFinishedAt -`func (o *MavenPackageUpload) HasSyncFinishedAt() bool` +`func (o *DartPackageUploadResponse) HasSyncFinishedAt() bool` HasSyncFinishedAt returns a boolean if a field has been set. ### GetSyncProgress -`func (o *MavenPackageUpload) GetSyncProgress() int64` +`func (o *DartPackageUploadResponse) GetSyncProgress() int64` GetSyncProgress returns the SyncProgress field if non-nil, zero value otherwise. ### GetSyncProgressOk -`func (o *MavenPackageUpload) GetSyncProgressOk() (*int64, bool)` +`func (o *DartPackageUploadResponse) GetSyncProgressOk() (*int64, bool)` GetSyncProgressOk returns a tuple with the SyncProgress field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetSyncProgress -`func (o *MavenPackageUpload) SetSyncProgress(v int64)` +`func (o *DartPackageUploadResponse) SetSyncProgress(v int64)` SetSyncProgress sets SyncProgress field to given value. ### HasSyncProgress -`func (o *MavenPackageUpload) HasSyncProgress() bool` +`func (o *DartPackageUploadResponse) HasSyncProgress() bool` HasSyncProgress returns a boolean if a field has been set. ### GetTagsImmutable -`func (o *MavenPackageUpload) GetTagsImmutable() map[string]interface{}` +`func (o *DartPackageUploadResponse) GetTagsImmutable() map[string]interface{}` GetTagsImmutable returns the TagsImmutable field if non-nil, zero value otherwise. ### GetTagsImmutableOk -`func (o *MavenPackageUpload) GetTagsImmutableOk() (*map[string]interface{}, bool)` +`func (o *DartPackageUploadResponse) GetTagsImmutableOk() (*map[string]interface{}, bool)` GetTagsImmutableOk returns a tuple with the TagsImmutable field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetTagsImmutable -`func (o *MavenPackageUpload) SetTagsImmutable(v map[string]interface{})` +`func (o *DartPackageUploadResponse) SetTagsImmutable(v map[string]interface{})` SetTagsImmutable sets TagsImmutable field to given value. ### HasTagsImmutable -`func (o *MavenPackageUpload) HasTagsImmutable() bool` +`func (o *DartPackageUploadResponse) HasTagsImmutable() bool` HasTagsImmutable returns a boolean if a field has been set. ### GetTypeDisplay -`func (o *MavenPackageUpload) GetTypeDisplay() string` +`func (o *DartPackageUploadResponse) GetTypeDisplay() string` GetTypeDisplay returns the TypeDisplay field if non-nil, zero value otherwise. ### GetTypeDisplayOk -`func (o *MavenPackageUpload) GetTypeDisplayOk() (*string, bool)` +`func (o *DartPackageUploadResponse) GetTypeDisplayOk() (*string, bool)` GetTypeDisplayOk returns a tuple with the TypeDisplay field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetTypeDisplay -`func (o *MavenPackageUpload) SetTypeDisplay(v string)` +`func (o *DartPackageUploadResponse) SetTypeDisplay(v string)` SetTypeDisplay sets TypeDisplay field to given value. ### HasTypeDisplay -`func (o *MavenPackageUpload) HasTypeDisplay() bool` +`func (o *DartPackageUploadResponse) HasTypeDisplay() bool` HasTypeDisplay returns a boolean if a field has been set. ### GetUploadedAt -`func (o *MavenPackageUpload) GetUploadedAt() string` +`func (o *DartPackageUploadResponse) GetUploadedAt() time.Time` GetUploadedAt returns the UploadedAt field if non-nil, zero value otherwise. ### GetUploadedAtOk -`func (o *MavenPackageUpload) GetUploadedAtOk() (*string, bool)` +`func (o *DartPackageUploadResponse) GetUploadedAtOk() (*time.Time, bool)` GetUploadedAtOk returns a tuple with the UploadedAt field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetUploadedAt -`func (o *MavenPackageUpload) SetUploadedAt(v string)` +`func (o *DartPackageUploadResponse) SetUploadedAt(v time.Time)` SetUploadedAt sets UploadedAt field to given value. ### HasUploadedAt -`func (o *MavenPackageUpload) HasUploadedAt() bool` +`func (o *DartPackageUploadResponse) HasUploadedAt() bool` HasUploadedAt returns a boolean if a field has been set. ### GetUploader -`func (o *MavenPackageUpload) GetUploader() string` +`func (o *DartPackageUploadResponse) GetUploader() string` GetUploader returns the Uploader field if non-nil, zero value otherwise. ### GetUploaderOk -`func (o *MavenPackageUpload) GetUploaderOk() (*string, bool)` +`func (o *DartPackageUploadResponse) GetUploaderOk() (*string, bool)` GetUploaderOk returns a tuple with the Uploader field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetUploader -`func (o *MavenPackageUpload) SetUploader(v string)` +`func (o *DartPackageUploadResponse) SetUploader(v string)` SetUploader sets Uploader field to given value. ### HasUploader -`func (o *MavenPackageUpload) HasUploader() bool` +`func (o *DartPackageUploadResponse) HasUploader() bool` HasUploader returns a boolean if a field has been set. ### GetUploaderUrl -`func (o *MavenPackageUpload) GetUploaderUrl() string` +`func (o *DartPackageUploadResponse) GetUploaderUrl() string` GetUploaderUrl returns the UploaderUrl field if non-nil, zero value otherwise. ### GetUploaderUrlOk -`func (o *MavenPackageUpload) GetUploaderUrlOk() (*string, bool)` +`func (o *DartPackageUploadResponse) GetUploaderUrlOk() (*string, bool)` GetUploaderUrlOk returns a tuple with the UploaderUrl field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetUploaderUrl -`func (o *MavenPackageUpload) SetUploaderUrl(v string)` +`func (o *DartPackageUploadResponse) SetUploaderUrl(v string)` SetUploaderUrl sets UploaderUrl field to given value. ### HasUploaderUrl -`func (o *MavenPackageUpload) HasUploaderUrl() bool` +`func (o *DartPackageUploadResponse) HasUploaderUrl() bool` HasUploaderUrl returns a boolean if a field has been set. ### GetVersion -`func (o *MavenPackageUpload) GetVersion() string` +`func (o *DartPackageUploadResponse) GetVersion() string` GetVersion returns the Version field if non-nil, zero value otherwise. ### GetVersionOk -`func (o *MavenPackageUpload) GetVersionOk() (*string, bool)` +`func (o *DartPackageUploadResponse) GetVersionOk() (*string, bool)` GetVersionOk returns a tuple with the Version field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetVersion -`func (o *MavenPackageUpload) SetVersion(v string)` +`func (o *DartPackageUploadResponse) SetVersion(v string)` SetVersion sets Version field to given value. ### HasVersion -`func (o *MavenPackageUpload) HasVersion() bool` +`func (o *DartPackageUploadResponse) HasVersion() bool` HasVersion returns a boolean if a field has been set. ### GetVersionOrig -`func (o *MavenPackageUpload) GetVersionOrig() string` +`func (o *DartPackageUploadResponse) GetVersionOrig() string` GetVersionOrig returns the VersionOrig field if non-nil, zero value otherwise. ### GetVersionOrigOk -`func (o *MavenPackageUpload) GetVersionOrigOk() (*string, bool)` +`func (o *DartPackageUploadResponse) GetVersionOrigOk() (*string, bool)` GetVersionOrigOk returns a tuple with the VersionOrig field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetVersionOrig -`func (o *MavenPackageUpload) SetVersionOrig(v string)` +`func (o *DartPackageUploadResponse) SetVersionOrig(v string)` SetVersionOrig sets VersionOrig field to given value. ### HasVersionOrig -`func (o *MavenPackageUpload) HasVersionOrig() bool` +`func (o *DartPackageUploadResponse) HasVersionOrig() bool` HasVersionOrig returns a boolean if a field has been set. ### GetVulnerabilityScanResultsUrl -`func (o *MavenPackageUpload) GetVulnerabilityScanResultsUrl() string` +`func (o *DartPackageUploadResponse) GetVulnerabilityScanResultsUrl() string` GetVulnerabilityScanResultsUrl returns the VulnerabilityScanResultsUrl field if non-nil, zero value otherwise. ### GetVulnerabilityScanResultsUrlOk -`func (o *MavenPackageUpload) GetVulnerabilityScanResultsUrlOk() (*string, bool)` +`func (o *DartPackageUploadResponse) GetVulnerabilityScanResultsUrlOk() (*string, bool)` GetVulnerabilityScanResultsUrlOk returns a tuple with the VulnerabilityScanResultsUrl field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetVulnerabilityScanResultsUrl -`func (o *MavenPackageUpload) SetVulnerabilityScanResultsUrl(v string)` +`func (o *DartPackageUploadResponse) SetVulnerabilityScanResultsUrl(v string)` SetVulnerabilityScanResultsUrl sets VulnerabilityScanResultsUrl field to given value. ### HasVulnerabilityScanResultsUrl -`func (o *MavenPackageUpload) HasVulnerabilityScanResultsUrl() bool` +`func (o *DartPackageUploadResponse) HasVulnerabilityScanResultsUrl() bool` HasVulnerabilityScanResultsUrl returns a boolean if a field has been set. diff --git a/docs/DebPackageUpload.md b/docs/DebPackageUpload.md deleted file mode 100644 index b6328458..00000000 --- a/docs/DebPackageUpload.md +++ /dev/null @@ -1,1746 +0,0 @@ -# DebPackageUpload - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**Architectures** | Pointer to [**[]PackagesOwnerRepoArchitectures**](PackagesOwnerRepoArchitectures.md) | | [optional] -**CdnUrl** | Pointer to **string** | | [optional] -**ChecksumMd5** | Pointer to **string** | | [optional] -**ChecksumSha1** | Pointer to **string** | | [optional] -**ChecksumSha256** | Pointer to **string** | | [optional] -**ChecksumSha512** | Pointer to **string** | | [optional] -**DependenciesChecksumMd5** | Pointer to **string** | A checksum of all of the package's dependencies. | [optional] -**DependenciesUrl** | Pointer to **string** | | [optional] -**Description** | Pointer to **string** | A textual description of this package. | [optional] -**Distro** | Pointer to **map[string]interface{}** | | [optional] -**DistroVersion** | Pointer to **map[string]interface{}** | | [optional] -**Downloads** | Pointer to **int64** | | [optional] -**Epoch** | Pointer to **int64** | The epoch of the package version (if any). | [optional] -**Extension** | Pointer to **string** | | [optional] -**Filename** | Pointer to **string** | | [optional] -**Files** | Pointer to [**[]PackagesOwnerRepoFiles**](PackagesOwnerRepoFiles.md) | | [optional] -**Format** | Pointer to **string** | | [optional] -**FormatUrl** | Pointer to **string** | | [optional] -**IdentifierPerm** | Pointer to **string** | Unique and permanent identifier for the package. | [optional] -**Indexed** | Pointer to **bool** | | [optional] -**IsDownloadable** | Pointer to **bool** | | [optional] -**IsQuarantined** | Pointer to **bool** | | [optional] -**IsSyncAwaiting** | Pointer to **bool** | | [optional] -**IsSyncCompleted** | Pointer to **bool** | | [optional] -**IsSyncFailed** | Pointer to **bool** | | [optional] -**IsSyncInFlight** | Pointer to **bool** | | [optional] -**IsSyncInProgress** | Pointer to **bool** | | [optional] -**License** | Pointer to **string** | The license of this package. | [optional] -**Name** | Pointer to **string** | The name of this package. | [optional] -**Namespace** | Pointer to **string** | | [optional] -**NamespaceUrl** | Pointer to **string** | | [optional] -**NumFiles** | Pointer to **int64** | | [optional] -**PackageType** | Pointer to **int64** | The type of package contents. | [optional] -**Release** | Pointer to **string** | The release of the package version (if any). | [optional] -**Repository** | Pointer to **string** | | [optional] -**RepositoryUrl** | Pointer to **string** | | [optional] -**SecurityScanCompletedAt** | Pointer to **string** | The datetime the security scanning was completed. | [optional] -**SecurityScanStartedAt** | Pointer to **string** | The datetime the security scanning was started. | [optional] -**SecurityScanStatus** | Pointer to **string** | | [optional] -**SecurityScanStatusUpdatedAt** | Pointer to **string** | The datetime the security scanning status was updated. | [optional] -**SelfHtmlUrl** | Pointer to **string** | | [optional] -**SelfUrl** | Pointer to **string** | | [optional] -**SignatureUrl** | Pointer to **string** | | [optional] -**Size** | Pointer to **int64** | The calculated size of the package. | [optional] -**Slug** | Pointer to **string** | The public unique identifier for the package. | [optional] -**SlugPerm** | Pointer to **string** | | [optional] -**Stage** | Pointer to **int64** | The synchronisation (in progress) stage of the package. | [optional] -**StageStr** | Pointer to **string** | | [optional] -**StageUpdatedAt** | Pointer to **string** | The datetime the package stage was updated at. | [optional] -**Status** | Pointer to **int64** | The synchronisation status of the package. | [optional] -**StatusReason** | Pointer to **string** | A textual description for the synchronous status reason (if any | [optional] -**StatusStr** | Pointer to **string** | | [optional] -**StatusUpdatedAt** | Pointer to **string** | The datetime the package status was updated at. | [optional] -**StatusUrl** | Pointer to **string** | | [optional] -**Subtype** | Pointer to **string** | | [optional] -**Summary** | Pointer to **string** | A one-liner synopsis of this package. | [optional] -**SyncFinishedAt** | Pointer to **string** | The datetime the package sync was finished at. | [optional] -**SyncProgress** | Pointer to **int64** | Synchronisation progress (from 0-100) | [optional] -**TagsImmutable** | Pointer to **map[string]interface{}** | All immutable tags on the package, grouped by tag type. Immutable tags cannot be (easily) deleted. | [optional] -**TypeDisplay** | Pointer to **string** | | [optional] -**UploadedAt** | Pointer to **string** | The date this package was uploaded. | [optional] -**Uploader** | Pointer to **string** | | [optional] -**UploaderUrl** | Pointer to **string** | | [optional] -**Version** | Pointer to **string** | The raw version for this package. | [optional] -**VersionOrig** | Pointer to **string** | | [optional] -**VulnerabilityScanResultsUrl** | Pointer to **string** | | [optional] - -## Methods - -### NewDebPackageUpload - -`func NewDebPackageUpload() *DebPackageUpload` - -NewDebPackageUpload instantiates a new DebPackageUpload object -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 - -### NewDebPackageUploadWithDefaults - -`func NewDebPackageUploadWithDefaults() *DebPackageUpload` - -NewDebPackageUploadWithDefaults instantiates a new DebPackageUpload object -This constructor will only assign default values to properties that have it defined, -but it doesn't guarantee that properties required by API are set - -### GetArchitectures - -`func (o *DebPackageUpload) GetArchitectures() []PackagesOwnerRepoArchitectures` - -GetArchitectures returns the Architectures field if non-nil, zero value otherwise. - -### GetArchitecturesOk - -`func (o *DebPackageUpload) GetArchitecturesOk() (*[]PackagesOwnerRepoArchitectures, bool)` - -GetArchitecturesOk returns a tuple with the Architectures field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetArchitectures - -`func (o *DebPackageUpload) SetArchitectures(v []PackagesOwnerRepoArchitectures)` - -SetArchitectures sets Architectures field to given value. - -### HasArchitectures - -`func (o *DebPackageUpload) HasArchitectures() bool` - -HasArchitectures returns a boolean if a field has been set. - -### GetCdnUrl - -`func (o *DebPackageUpload) GetCdnUrl() string` - -GetCdnUrl returns the CdnUrl field if non-nil, zero value otherwise. - -### GetCdnUrlOk - -`func (o *DebPackageUpload) GetCdnUrlOk() (*string, bool)` - -GetCdnUrlOk returns a tuple with the CdnUrl field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetCdnUrl - -`func (o *DebPackageUpload) SetCdnUrl(v string)` - -SetCdnUrl sets CdnUrl field to given value. - -### HasCdnUrl - -`func (o *DebPackageUpload) HasCdnUrl() bool` - -HasCdnUrl returns a boolean if a field has been set. - -### GetChecksumMd5 - -`func (o *DebPackageUpload) GetChecksumMd5() string` - -GetChecksumMd5 returns the ChecksumMd5 field if non-nil, zero value otherwise. - -### GetChecksumMd5Ok - -`func (o *DebPackageUpload) GetChecksumMd5Ok() (*string, bool)` - -GetChecksumMd5Ok returns a tuple with the ChecksumMd5 field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetChecksumMd5 - -`func (o *DebPackageUpload) SetChecksumMd5(v string)` - -SetChecksumMd5 sets ChecksumMd5 field to given value. - -### HasChecksumMd5 - -`func (o *DebPackageUpload) HasChecksumMd5() bool` - -HasChecksumMd5 returns a boolean if a field has been set. - -### GetChecksumSha1 - -`func (o *DebPackageUpload) GetChecksumSha1() string` - -GetChecksumSha1 returns the ChecksumSha1 field if non-nil, zero value otherwise. - -### GetChecksumSha1Ok - -`func (o *DebPackageUpload) GetChecksumSha1Ok() (*string, bool)` - -GetChecksumSha1Ok returns a tuple with the ChecksumSha1 field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetChecksumSha1 - -`func (o *DebPackageUpload) SetChecksumSha1(v string)` - -SetChecksumSha1 sets ChecksumSha1 field to given value. - -### HasChecksumSha1 - -`func (o *DebPackageUpload) HasChecksumSha1() bool` - -HasChecksumSha1 returns a boolean if a field has been set. - -### GetChecksumSha256 - -`func (o *DebPackageUpload) GetChecksumSha256() string` - -GetChecksumSha256 returns the ChecksumSha256 field if non-nil, zero value otherwise. - -### GetChecksumSha256Ok - -`func (o *DebPackageUpload) GetChecksumSha256Ok() (*string, bool)` - -GetChecksumSha256Ok returns a tuple with the ChecksumSha256 field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetChecksumSha256 - -`func (o *DebPackageUpload) SetChecksumSha256(v string)` - -SetChecksumSha256 sets ChecksumSha256 field to given value. - -### HasChecksumSha256 - -`func (o *DebPackageUpload) HasChecksumSha256() bool` - -HasChecksumSha256 returns a boolean if a field has been set. - -### GetChecksumSha512 - -`func (o *DebPackageUpload) GetChecksumSha512() string` - -GetChecksumSha512 returns the ChecksumSha512 field if non-nil, zero value otherwise. - -### GetChecksumSha512Ok - -`func (o *DebPackageUpload) GetChecksumSha512Ok() (*string, bool)` - -GetChecksumSha512Ok returns a tuple with the ChecksumSha512 field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetChecksumSha512 - -`func (o *DebPackageUpload) SetChecksumSha512(v string)` - -SetChecksumSha512 sets ChecksumSha512 field to given value. - -### HasChecksumSha512 - -`func (o *DebPackageUpload) HasChecksumSha512() bool` - -HasChecksumSha512 returns a boolean if a field has been set. - -### GetDependenciesChecksumMd5 - -`func (o *DebPackageUpload) GetDependenciesChecksumMd5() string` - -GetDependenciesChecksumMd5 returns the DependenciesChecksumMd5 field if non-nil, zero value otherwise. - -### GetDependenciesChecksumMd5Ok - -`func (o *DebPackageUpload) GetDependenciesChecksumMd5Ok() (*string, bool)` - -GetDependenciesChecksumMd5Ok returns a tuple with the DependenciesChecksumMd5 field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetDependenciesChecksumMd5 - -`func (o *DebPackageUpload) SetDependenciesChecksumMd5(v string)` - -SetDependenciesChecksumMd5 sets DependenciesChecksumMd5 field to given value. - -### HasDependenciesChecksumMd5 - -`func (o *DebPackageUpload) HasDependenciesChecksumMd5() bool` - -HasDependenciesChecksumMd5 returns a boolean if a field has been set. - -### GetDependenciesUrl - -`func (o *DebPackageUpload) GetDependenciesUrl() string` - -GetDependenciesUrl returns the DependenciesUrl field if non-nil, zero value otherwise. - -### GetDependenciesUrlOk - -`func (o *DebPackageUpload) GetDependenciesUrlOk() (*string, bool)` - -GetDependenciesUrlOk returns a tuple with the DependenciesUrl field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetDependenciesUrl - -`func (o *DebPackageUpload) SetDependenciesUrl(v string)` - -SetDependenciesUrl sets DependenciesUrl field to given value. - -### HasDependenciesUrl - -`func (o *DebPackageUpload) HasDependenciesUrl() bool` - -HasDependenciesUrl returns a boolean if a field has been set. - -### GetDescription - -`func (o *DebPackageUpload) GetDescription() string` - -GetDescription returns the Description field if non-nil, zero value otherwise. - -### GetDescriptionOk - -`func (o *DebPackageUpload) GetDescriptionOk() (*string, bool)` - -GetDescriptionOk returns a tuple with the Description field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetDescription - -`func (o *DebPackageUpload) SetDescription(v string)` - -SetDescription sets Description field to given value. - -### HasDescription - -`func (o *DebPackageUpload) HasDescription() bool` - -HasDescription returns a boolean if a field has been set. - -### GetDistro - -`func (o *DebPackageUpload) GetDistro() map[string]interface{}` - -GetDistro returns the Distro field if non-nil, zero value otherwise. - -### GetDistroOk - -`func (o *DebPackageUpload) GetDistroOk() (*map[string]interface{}, bool)` - -GetDistroOk returns a tuple with the Distro field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetDistro - -`func (o *DebPackageUpload) SetDistro(v map[string]interface{})` - -SetDistro sets Distro field to given value. - -### HasDistro - -`func (o *DebPackageUpload) HasDistro() bool` - -HasDistro returns a boolean if a field has been set. - -### GetDistroVersion - -`func (o *DebPackageUpload) GetDistroVersion() map[string]interface{}` - -GetDistroVersion returns the DistroVersion field if non-nil, zero value otherwise. - -### GetDistroVersionOk - -`func (o *DebPackageUpload) GetDistroVersionOk() (*map[string]interface{}, bool)` - -GetDistroVersionOk returns a tuple with the DistroVersion field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetDistroVersion - -`func (o *DebPackageUpload) SetDistroVersion(v map[string]interface{})` - -SetDistroVersion sets DistroVersion field to given value. - -### HasDistroVersion - -`func (o *DebPackageUpload) HasDistroVersion() bool` - -HasDistroVersion returns a boolean if a field has been set. - -### GetDownloads - -`func (o *DebPackageUpload) GetDownloads() int64` - -GetDownloads returns the Downloads field if non-nil, zero value otherwise. - -### GetDownloadsOk - -`func (o *DebPackageUpload) GetDownloadsOk() (*int64, bool)` - -GetDownloadsOk returns a tuple with the Downloads field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetDownloads - -`func (o *DebPackageUpload) SetDownloads(v int64)` - -SetDownloads sets Downloads field to given value. - -### HasDownloads - -`func (o *DebPackageUpload) HasDownloads() bool` - -HasDownloads returns a boolean if a field has been set. - -### GetEpoch - -`func (o *DebPackageUpload) GetEpoch() int64` - -GetEpoch returns the Epoch field if non-nil, zero value otherwise. - -### GetEpochOk - -`func (o *DebPackageUpload) GetEpochOk() (*int64, bool)` - -GetEpochOk returns a tuple with the Epoch field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetEpoch - -`func (o *DebPackageUpload) SetEpoch(v int64)` - -SetEpoch sets Epoch field to given value. - -### HasEpoch - -`func (o *DebPackageUpload) HasEpoch() bool` - -HasEpoch returns a boolean if a field has been set. - -### GetExtension - -`func (o *DebPackageUpload) GetExtension() string` - -GetExtension returns the Extension field if non-nil, zero value otherwise. - -### GetExtensionOk - -`func (o *DebPackageUpload) GetExtensionOk() (*string, bool)` - -GetExtensionOk returns a tuple with the Extension field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetExtension - -`func (o *DebPackageUpload) SetExtension(v string)` - -SetExtension sets Extension field to given value. - -### HasExtension - -`func (o *DebPackageUpload) HasExtension() bool` - -HasExtension returns a boolean if a field has been set. - -### GetFilename - -`func (o *DebPackageUpload) GetFilename() string` - -GetFilename returns the Filename field if non-nil, zero value otherwise. - -### GetFilenameOk - -`func (o *DebPackageUpload) GetFilenameOk() (*string, bool)` - -GetFilenameOk returns a tuple with the Filename field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetFilename - -`func (o *DebPackageUpload) SetFilename(v string)` - -SetFilename sets Filename field to given value. - -### HasFilename - -`func (o *DebPackageUpload) HasFilename() bool` - -HasFilename returns a boolean if a field has been set. - -### GetFiles - -`func (o *DebPackageUpload) GetFiles() []PackagesOwnerRepoFiles` - -GetFiles returns the Files field if non-nil, zero value otherwise. - -### GetFilesOk - -`func (o *DebPackageUpload) GetFilesOk() (*[]PackagesOwnerRepoFiles, 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 *DebPackageUpload) SetFiles(v []PackagesOwnerRepoFiles)` - -SetFiles sets Files field to given value. - -### HasFiles - -`func (o *DebPackageUpload) HasFiles() bool` - -HasFiles returns a boolean if a field has been set. - -### GetFormat - -`func (o *DebPackageUpload) GetFormat() string` - -GetFormat returns the Format field if non-nil, zero value otherwise. - -### GetFormatOk - -`func (o *DebPackageUpload) GetFormatOk() (*string, bool)` - -GetFormatOk returns a tuple with the Format field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetFormat - -`func (o *DebPackageUpload) SetFormat(v string)` - -SetFormat sets Format field to given value. - -### HasFormat - -`func (o *DebPackageUpload) HasFormat() bool` - -HasFormat returns a boolean if a field has been set. - -### GetFormatUrl - -`func (o *DebPackageUpload) GetFormatUrl() string` - -GetFormatUrl returns the FormatUrl field if non-nil, zero value otherwise. - -### GetFormatUrlOk - -`func (o *DebPackageUpload) GetFormatUrlOk() (*string, bool)` - -GetFormatUrlOk returns a tuple with the FormatUrl field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetFormatUrl - -`func (o *DebPackageUpload) SetFormatUrl(v string)` - -SetFormatUrl sets FormatUrl field to given value. - -### HasFormatUrl - -`func (o *DebPackageUpload) HasFormatUrl() bool` - -HasFormatUrl returns a boolean if a field has been set. - -### GetIdentifierPerm - -`func (o *DebPackageUpload) GetIdentifierPerm() string` - -GetIdentifierPerm returns the IdentifierPerm field if non-nil, zero value otherwise. - -### GetIdentifierPermOk - -`func (o *DebPackageUpload) GetIdentifierPermOk() (*string, bool)` - -GetIdentifierPermOk returns a tuple with the IdentifierPerm field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetIdentifierPerm - -`func (o *DebPackageUpload) SetIdentifierPerm(v string)` - -SetIdentifierPerm sets IdentifierPerm field to given value. - -### HasIdentifierPerm - -`func (o *DebPackageUpload) HasIdentifierPerm() bool` - -HasIdentifierPerm returns a boolean if a field has been set. - -### GetIndexed - -`func (o *DebPackageUpload) GetIndexed() bool` - -GetIndexed returns the Indexed field if non-nil, zero value otherwise. - -### GetIndexedOk - -`func (o *DebPackageUpload) GetIndexedOk() (*bool, bool)` - -GetIndexedOk returns a tuple with the Indexed field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetIndexed - -`func (o *DebPackageUpload) SetIndexed(v bool)` - -SetIndexed sets Indexed field to given value. - -### HasIndexed - -`func (o *DebPackageUpload) HasIndexed() bool` - -HasIndexed returns a boolean if a field has been set. - -### GetIsDownloadable - -`func (o *DebPackageUpload) GetIsDownloadable() bool` - -GetIsDownloadable returns the IsDownloadable field if non-nil, zero value otherwise. - -### GetIsDownloadableOk - -`func (o *DebPackageUpload) GetIsDownloadableOk() (*bool, bool)` - -GetIsDownloadableOk returns a tuple with the IsDownloadable field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetIsDownloadable - -`func (o *DebPackageUpload) SetIsDownloadable(v bool)` - -SetIsDownloadable sets IsDownloadable field to given value. - -### HasIsDownloadable - -`func (o *DebPackageUpload) HasIsDownloadable() bool` - -HasIsDownloadable returns a boolean if a field has been set. - -### GetIsQuarantined - -`func (o *DebPackageUpload) GetIsQuarantined() bool` - -GetIsQuarantined returns the IsQuarantined field if non-nil, zero value otherwise. - -### GetIsQuarantinedOk - -`func (o *DebPackageUpload) GetIsQuarantinedOk() (*bool, bool)` - -GetIsQuarantinedOk returns a tuple with the IsQuarantined field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetIsQuarantined - -`func (o *DebPackageUpload) SetIsQuarantined(v bool)` - -SetIsQuarantined sets IsQuarantined field to given value. - -### HasIsQuarantined - -`func (o *DebPackageUpload) HasIsQuarantined() bool` - -HasIsQuarantined returns a boolean if a field has been set. - -### GetIsSyncAwaiting - -`func (o *DebPackageUpload) GetIsSyncAwaiting() bool` - -GetIsSyncAwaiting returns the IsSyncAwaiting field if non-nil, zero value otherwise. - -### GetIsSyncAwaitingOk - -`func (o *DebPackageUpload) GetIsSyncAwaitingOk() (*bool, bool)` - -GetIsSyncAwaitingOk returns a tuple with the IsSyncAwaiting field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetIsSyncAwaiting - -`func (o *DebPackageUpload) SetIsSyncAwaiting(v bool)` - -SetIsSyncAwaiting sets IsSyncAwaiting field to given value. - -### HasIsSyncAwaiting - -`func (o *DebPackageUpload) HasIsSyncAwaiting() bool` - -HasIsSyncAwaiting returns a boolean if a field has been set. - -### GetIsSyncCompleted - -`func (o *DebPackageUpload) GetIsSyncCompleted() bool` - -GetIsSyncCompleted returns the IsSyncCompleted field if non-nil, zero value otherwise. - -### GetIsSyncCompletedOk - -`func (o *DebPackageUpload) GetIsSyncCompletedOk() (*bool, bool)` - -GetIsSyncCompletedOk returns a tuple with the IsSyncCompleted field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetIsSyncCompleted - -`func (o *DebPackageUpload) SetIsSyncCompleted(v bool)` - -SetIsSyncCompleted sets IsSyncCompleted field to given value. - -### HasIsSyncCompleted - -`func (o *DebPackageUpload) HasIsSyncCompleted() bool` - -HasIsSyncCompleted returns a boolean if a field has been set. - -### GetIsSyncFailed - -`func (o *DebPackageUpload) GetIsSyncFailed() bool` - -GetIsSyncFailed returns the IsSyncFailed field if non-nil, zero value otherwise. - -### GetIsSyncFailedOk - -`func (o *DebPackageUpload) GetIsSyncFailedOk() (*bool, bool)` - -GetIsSyncFailedOk returns a tuple with the IsSyncFailed field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetIsSyncFailed - -`func (o *DebPackageUpload) SetIsSyncFailed(v bool)` - -SetIsSyncFailed sets IsSyncFailed field to given value. - -### HasIsSyncFailed - -`func (o *DebPackageUpload) HasIsSyncFailed() bool` - -HasIsSyncFailed returns a boolean if a field has been set. - -### GetIsSyncInFlight - -`func (o *DebPackageUpload) GetIsSyncInFlight() bool` - -GetIsSyncInFlight returns the IsSyncInFlight field if non-nil, zero value otherwise. - -### GetIsSyncInFlightOk - -`func (o *DebPackageUpload) GetIsSyncInFlightOk() (*bool, bool)` - -GetIsSyncInFlightOk returns a tuple with the IsSyncInFlight field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetIsSyncInFlight - -`func (o *DebPackageUpload) SetIsSyncInFlight(v bool)` - -SetIsSyncInFlight sets IsSyncInFlight field to given value. - -### HasIsSyncInFlight - -`func (o *DebPackageUpload) HasIsSyncInFlight() bool` - -HasIsSyncInFlight returns a boolean if a field has been set. - -### GetIsSyncInProgress - -`func (o *DebPackageUpload) GetIsSyncInProgress() bool` - -GetIsSyncInProgress returns the IsSyncInProgress field if non-nil, zero value otherwise. - -### GetIsSyncInProgressOk - -`func (o *DebPackageUpload) GetIsSyncInProgressOk() (*bool, bool)` - -GetIsSyncInProgressOk returns a tuple with the IsSyncInProgress field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetIsSyncInProgress - -`func (o *DebPackageUpload) SetIsSyncInProgress(v bool)` - -SetIsSyncInProgress sets IsSyncInProgress field to given value. - -### HasIsSyncInProgress - -`func (o *DebPackageUpload) HasIsSyncInProgress() bool` - -HasIsSyncInProgress returns a boolean if a field has been set. - -### GetLicense - -`func (o *DebPackageUpload) GetLicense() string` - -GetLicense returns the License field if non-nil, zero value otherwise. - -### GetLicenseOk - -`func (o *DebPackageUpload) GetLicenseOk() (*string, bool)` - -GetLicenseOk returns a tuple with the License field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetLicense - -`func (o *DebPackageUpload) SetLicense(v string)` - -SetLicense sets License field to given value. - -### HasLicense - -`func (o *DebPackageUpload) HasLicense() bool` - -HasLicense returns a boolean if a field has been set. - -### GetName - -`func (o *DebPackageUpload) GetName() string` - -GetName returns the Name field if non-nil, zero value otherwise. - -### GetNameOk - -`func (o *DebPackageUpload) GetNameOk() (*string, bool)` - -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. - -### SetName - -`func (o *DebPackageUpload) SetName(v string)` - -SetName sets Name field to given value. - -### HasName - -`func (o *DebPackageUpload) HasName() bool` - -HasName returns a boolean if a field has been set. - -### GetNamespace - -`func (o *DebPackageUpload) GetNamespace() string` - -GetNamespace returns the Namespace field if non-nil, zero value otherwise. - -### GetNamespaceOk - -`func (o *DebPackageUpload) GetNamespaceOk() (*string, bool)` - -GetNamespaceOk returns a tuple with the Namespace field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetNamespace - -`func (o *DebPackageUpload) SetNamespace(v string)` - -SetNamespace sets Namespace field to given value. - -### HasNamespace - -`func (o *DebPackageUpload) HasNamespace() bool` - -HasNamespace returns a boolean if a field has been set. - -### GetNamespaceUrl - -`func (o *DebPackageUpload) GetNamespaceUrl() string` - -GetNamespaceUrl returns the NamespaceUrl field if non-nil, zero value otherwise. - -### GetNamespaceUrlOk - -`func (o *DebPackageUpload) GetNamespaceUrlOk() (*string, bool)` - -GetNamespaceUrlOk returns a tuple with the NamespaceUrl field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetNamespaceUrl - -`func (o *DebPackageUpload) SetNamespaceUrl(v string)` - -SetNamespaceUrl sets NamespaceUrl field to given value. - -### HasNamespaceUrl - -`func (o *DebPackageUpload) HasNamespaceUrl() bool` - -HasNamespaceUrl returns a boolean if a field has been set. - -### GetNumFiles - -`func (o *DebPackageUpload) GetNumFiles() int64` - -GetNumFiles returns the NumFiles field if non-nil, zero value otherwise. - -### GetNumFilesOk - -`func (o *DebPackageUpload) GetNumFilesOk() (*int64, bool)` - -GetNumFilesOk returns a tuple with the NumFiles field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetNumFiles - -`func (o *DebPackageUpload) SetNumFiles(v int64)` - -SetNumFiles sets NumFiles field to given value. - -### HasNumFiles - -`func (o *DebPackageUpload) HasNumFiles() bool` - -HasNumFiles returns a boolean if a field has been set. - -### GetPackageType - -`func (o *DebPackageUpload) GetPackageType() int64` - -GetPackageType returns the PackageType field if non-nil, zero value otherwise. - -### GetPackageTypeOk - -`func (o *DebPackageUpload) GetPackageTypeOk() (*int64, bool)` - -GetPackageTypeOk returns a tuple with the PackageType field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetPackageType - -`func (o *DebPackageUpload) SetPackageType(v int64)` - -SetPackageType sets PackageType field to given value. - -### HasPackageType - -`func (o *DebPackageUpload) HasPackageType() bool` - -HasPackageType returns a boolean if a field has been set. - -### GetRelease - -`func (o *DebPackageUpload) GetRelease() string` - -GetRelease returns the Release field if non-nil, zero value otherwise. - -### GetReleaseOk - -`func (o *DebPackageUpload) GetReleaseOk() (*string, bool)` - -GetReleaseOk returns a tuple with the Release field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetRelease - -`func (o *DebPackageUpload) SetRelease(v string)` - -SetRelease sets Release field to given value. - -### HasRelease - -`func (o *DebPackageUpload) HasRelease() bool` - -HasRelease returns a boolean if a field has been set. - -### GetRepository - -`func (o *DebPackageUpload) GetRepository() string` - -GetRepository returns the Repository field if non-nil, zero value otherwise. - -### GetRepositoryOk - -`func (o *DebPackageUpload) GetRepositoryOk() (*string, bool)` - -GetRepositoryOk returns a tuple with the Repository field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetRepository - -`func (o *DebPackageUpload) SetRepository(v string)` - -SetRepository sets Repository field to given value. - -### HasRepository - -`func (o *DebPackageUpload) HasRepository() bool` - -HasRepository returns a boolean if a field has been set. - -### GetRepositoryUrl - -`func (o *DebPackageUpload) GetRepositoryUrl() string` - -GetRepositoryUrl returns the RepositoryUrl field if non-nil, zero value otherwise. - -### GetRepositoryUrlOk - -`func (o *DebPackageUpload) GetRepositoryUrlOk() (*string, bool)` - -GetRepositoryUrlOk returns a tuple with the RepositoryUrl field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetRepositoryUrl - -`func (o *DebPackageUpload) SetRepositoryUrl(v string)` - -SetRepositoryUrl sets RepositoryUrl field to given value. - -### HasRepositoryUrl - -`func (o *DebPackageUpload) HasRepositoryUrl() bool` - -HasRepositoryUrl returns a boolean if a field has been set. - -### GetSecurityScanCompletedAt - -`func (o *DebPackageUpload) GetSecurityScanCompletedAt() string` - -GetSecurityScanCompletedAt returns the SecurityScanCompletedAt field if non-nil, zero value otherwise. - -### GetSecurityScanCompletedAtOk - -`func (o *DebPackageUpload) GetSecurityScanCompletedAtOk() (*string, bool)` - -GetSecurityScanCompletedAtOk returns a tuple with the SecurityScanCompletedAt field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetSecurityScanCompletedAt - -`func (o *DebPackageUpload) SetSecurityScanCompletedAt(v string)` - -SetSecurityScanCompletedAt sets SecurityScanCompletedAt field to given value. - -### HasSecurityScanCompletedAt - -`func (o *DebPackageUpload) HasSecurityScanCompletedAt() bool` - -HasSecurityScanCompletedAt returns a boolean if a field has been set. - -### GetSecurityScanStartedAt - -`func (o *DebPackageUpload) GetSecurityScanStartedAt() string` - -GetSecurityScanStartedAt returns the SecurityScanStartedAt field if non-nil, zero value otherwise. - -### GetSecurityScanStartedAtOk - -`func (o *DebPackageUpload) GetSecurityScanStartedAtOk() (*string, bool)` - -GetSecurityScanStartedAtOk returns a tuple with the SecurityScanStartedAt field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetSecurityScanStartedAt - -`func (o *DebPackageUpload) SetSecurityScanStartedAt(v string)` - -SetSecurityScanStartedAt sets SecurityScanStartedAt field to given value. - -### HasSecurityScanStartedAt - -`func (o *DebPackageUpload) HasSecurityScanStartedAt() bool` - -HasSecurityScanStartedAt returns a boolean if a field has been set. - -### GetSecurityScanStatus - -`func (o *DebPackageUpload) GetSecurityScanStatus() string` - -GetSecurityScanStatus returns the SecurityScanStatus field if non-nil, zero value otherwise. - -### GetSecurityScanStatusOk - -`func (o *DebPackageUpload) GetSecurityScanStatusOk() (*string, bool)` - -GetSecurityScanStatusOk returns a tuple with the SecurityScanStatus field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetSecurityScanStatus - -`func (o *DebPackageUpload) SetSecurityScanStatus(v string)` - -SetSecurityScanStatus sets SecurityScanStatus field to given value. - -### HasSecurityScanStatus - -`func (o *DebPackageUpload) HasSecurityScanStatus() bool` - -HasSecurityScanStatus returns a boolean if a field has been set. - -### GetSecurityScanStatusUpdatedAt - -`func (o *DebPackageUpload) GetSecurityScanStatusUpdatedAt() string` - -GetSecurityScanStatusUpdatedAt returns the SecurityScanStatusUpdatedAt field if non-nil, zero value otherwise. - -### GetSecurityScanStatusUpdatedAtOk - -`func (o *DebPackageUpload) GetSecurityScanStatusUpdatedAtOk() (*string, bool)` - -GetSecurityScanStatusUpdatedAtOk returns a tuple with the SecurityScanStatusUpdatedAt field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetSecurityScanStatusUpdatedAt - -`func (o *DebPackageUpload) SetSecurityScanStatusUpdatedAt(v string)` - -SetSecurityScanStatusUpdatedAt sets SecurityScanStatusUpdatedAt field to given value. - -### HasSecurityScanStatusUpdatedAt - -`func (o *DebPackageUpload) HasSecurityScanStatusUpdatedAt() bool` - -HasSecurityScanStatusUpdatedAt returns a boolean if a field has been set. - -### GetSelfHtmlUrl - -`func (o *DebPackageUpload) GetSelfHtmlUrl() string` - -GetSelfHtmlUrl returns the SelfHtmlUrl field if non-nil, zero value otherwise. - -### GetSelfHtmlUrlOk - -`func (o *DebPackageUpload) GetSelfHtmlUrlOk() (*string, bool)` - -GetSelfHtmlUrlOk returns a tuple with the SelfHtmlUrl field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetSelfHtmlUrl - -`func (o *DebPackageUpload) SetSelfHtmlUrl(v string)` - -SetSelfHtmlUrl sets SelfHtmlUrl field to given value. - -### HasSelfHtmlUrl - -`func (o *DebPackageUpload) HasSelfHtmlUrl() bool` - -HasSelfHtmlUrl returns a boolean if a field has been set. - -### GetSelfUrl - -`func (o *DebPackageUpload) GetSelfUrl() string` - -GetSelfUrl returns the SelfUrl field if non-nil, zero value otherwise. - -### GetSelfUrlOk - -`func (o *DebPackageUpload) GetSelfUrlOk() (*string, bool)` - -GetSelfUrlOk returns a tuple with the SelfUrl field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetSelfUrl - -`func (o *DebPackageUpload) SetSelfUrl(v string)` - -SetSelfUrl sets SelfUrl field to given value. - -### HasSelfUrl - -`func (o *DebPackageUpload) HasSelfUrl() bool` - -HasSelfUrl returns a boolean if a field has been set. - -### GetSignatureUrl - -`func (o *DebPackageUpload) GetSignatureUrl() string` - -GetSignatureUrl returns the SignatureUrl field if non-nil, zero value otherwise. - -### GetSignatureUrlOk - -`func (o *DebPackageUpload) GetSignatureUrlOk() (*string, bool)` - -GetSignatureUrlOk returns a tuple with the SignatureUrl field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetSignatureUrl - -`func (o *DebPackageUpload) SetSignatureUrl(v string)` - -SetSignatureUrl sets SignatureUrl field to given value. - -### HasSignatureUrl - -`func (o *DebPackageUpload) HasSignatureUrl() bool` - -HasSignatureUrl returns a boolean if a field has been set. - -### GetSize - -`func (o *DebPackageUpload) GetSize() int64` - -GetSize returns the Size field if non-nil, zero value otherwise. - -### GetSizeOk - -`func (o *DebPackageUpload) GetSizeOk() (*int64, bool)` - -GetSizeOk returns a tuple with the Size field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetSize - -`func (o *DebPackageUpload) SetSize(v int64)` - -SetSize sets Size field to given value. - -### HasSize - -`func (o *DebPackageUpload) HasSize() bool` - -HasSize returns a boolean if a field has been set. - -### GetSlug - -`func (o *DebPackageUpload) GetSlug() string` - -GetSlug returns the Slug field if non-nil, zero value otherwise. - -### GetSlugOk - -`func (o *DebPackageUpload) GetSlugOk() (*string, bool)` - -GetSlugOk returns a tuple with the Slug field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetSlug - -`func (o *DebPackageUpload) SetSlug(v string)` - -SetSlug sets Slug field to given value. - -### HasSlug - -`func (o *DebPackageUpload) HasSlug() bool` - -HasSlug returns a boolean if a field has been set. - -### GetSlugPerm - -`func (o *DebPackageUpload) GetSlugPerm() string` - -GetSlugPerm returns the SlugPerm field if non-nil, zero value otherwise. - -### GetSlugPermOk - -`func (o *DebPackageUpload) GetSlugPermOk() (*string, bool)` - -GetSlugPermOk returns a tuple with the SlugPerm field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetSlugPerm - -`func (o *DebPackageUpload) SetSlugPerm(v string)` - -SetSlugPerm sets SlugPerm field to given value. - -### HasSlugPerm - -`func (o *DebPackageUpload) HasSlugPerm() bool` - -HasSlugPerm returns a boolean if a field has been set. - -### GetStage - -`func (o *DebPackageUpload) GetStage() int64` - -GetStage returns the Stage field if non-nil, zero value otherwise. - -### GetStageOk - -`func (o *DebPackageUpload) GetStageOk() (*int64, bool)` - -GetStageOk returns a tuple with the Stage field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetStage - -`func (o *DebPackageUpload) SetStage(v int64)` - -SetStage sets Stage field to given value. - -### HasStage - -`func (o *DebPackageUpload) HasStage() bool` - -HasStage returns a boolean if a field has been set. - -### GetStageStr - -`func (o *DebPackageUpload) GetStageStr() string` - -GetStageStr returns the StageStr field if non-nil, zero value otherwise. - -### GetStageStrOk - -`func (o *DebPackageUpload) GetStageStrOk() (*string, bool)` - -GetStageStrOk returns a tuple with the StageStr field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetStageStr - -`func (o *DebPackageUpload) SetStageStr(v string)` - -SetStageStr sets StageStr field to given value. - -### HasStageStr - -`func (o *DebPackageUpload) HasStageStr() bool` - -HasStageStr returns a boolean if a field has been set. - -### GetStageUpdatedAt - -`func (o *DebPackageUpload) GetStageUpdatedAt() string` - -GetStageUpdatedAt returns the StageUpdatedAt field if non-nil, zero value otherwise. - -### GetStageUpdatedAtOk - -`func (o *DebPackageUpload) GetStageUpdatedAtOk() (*string, bool)` - -GetStageUpdatedAtOk returns a tuple with the StageUpdatedAt field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetStageUpdatedAt - -`func (o *DebPackageUpload) SetStageUpdatedAt(v string)` - -SetStageUpdatedAt sets StageUpdatedAt field to given value. - -### HasStageUpdatedAt - -`func (o *DebPackageUpload) HasStageUpdatedAt() bool` - -HasStageUpdatedAt returns a boolean if a field has been set. - -### GetStatus - -`func (o *DebPackageUpload) GetStatus() int64` - -GetStatus returns the Status field if non-nil, zero value otherwise. - -### GetStatusOk - -`func (o *DebPackageUpload) GetStatusOk() (*int64, bool)` - -GetStatusOk returns a tuple with the Status field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetStatus - -`func (o *DebPackageUpload) SetStatus(v int64)` - -SetStatus sets Status field to given value. - -### HasStatus - -`func (o *DebPackageUpload) HasStatus() bool` - -HasStatus returns a boolean if a field has been set. - -### GetStatusReason - -`func (o *DebPackageUpload) GetStatusReason() string` - -GetStatusReason returns the StatusReason field if non-nil, zero value otherwise. - -### GetStatusReasonOk - -`func (o *DebPackageUpload) GetStatusReasonOk() (*string, bool)` - -GetStatusReasonOk returns a tuple with the StatusReason field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetStatusReason - -`func (o *DebPackageUpload) SetStatusReason(v string)` - -SetStatusReason sets StatusReason field to given value. - -### HasStatusReason - -`func (o *DebPackageUpload) HasStatusReason() bool` - -HasStatusReason returns a boolean if a field has been set. - -### GetStatusStr - -`func (o *DebPackageUpload) GetStatusStr() string` - -GetStatusStr returns the StatusStr field if non-nil, zero value otherwise. - -### GetStatusStrOk - -`func (o *DebPackageUpload) GetStatusStrOk() (*string, bool)` - -GetStatusStrOk returns a tuple with the StatusStr field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetStatusStr - -`func (o *DebPackageUpload) SetStatusStr(v string)` - -SetStatusStr sets StatusStr field to given value. - -### HasStatusStr - -`func (o *DebPackageUpload) HasStatusStr() bool` - -HasStatusStr returns a boolean if a field has been set. - -### GetStatusUpdatedAt - -`func (o *DebPackageUpload) GetStatusUpdatedAt() string` - -GetStatusUpdatedAt returns the StatusUpdatedAt field if non-nil, zero value otherwise. - -### GetStatusUpdatedAtOk - -`func (o *DebPackageUpload) GetStatusUpdatedAtOk() (*string, bool)` - -GetStatusUpdatedAtOk returns a tuple with the StatusUpdatedAt field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetStatusUpdatedAt - -`func (o *DebPackageUpload) SetStatusUpdatedAt(v string)` - -SetStatusUpdatedAt sets StatusUpdatedAt field to given value. - -### HasStatusUpdatedAt - -`func (o *DebPackageUpload) HasStatusUpdatedAt() bool` - -HasStatusUpdatedAt returns a boolean if a field has been set. - -### GetStatusUrl - -`func (o *DebPackageUpload) GetStatusUrl() string` - -GetStatusUrl returns the StatusUrl field if non-nil, zero value otherwise. - -### GetStatusUrlOk - -`func (o *DebPackageUpload) GetStatusUrlOk() (*string, bool)` - -GetStatusUrlOk returns a tuple with the StatusUrl field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetStatusUrl - -`func (o *DebPackageUpload) SetStatusUrl(v string)` - -SetStatusUrl sets StatusUrl field to given value. - -### HasStatusUrl - -`func (o *DebPackageUpload) HasStatusUrl() bool` - -HasStatusUrl returns a boolean if a field has been set. - -### GetSubtype - -`func (o *DebPackageUpload) GetSubtype() string` - -GetSubtype returns the Subtype field if non-nil, zero value otherwise. - -### GetSubtypeOk - -`func (o *DebPackageUpload) GetSubtypeOk() (*string, bool)` - -GetSubtypeOk returns a tuple with the Subtype field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetSubtype - -`func (o *DebPackageUpload) SetSubtype(v string)` - -SetSubtype sets Subtype field to given value. - -### HasSubtype - -`func (o *DebPackageUpload) HasSubtype() bool` - -HasSubtype returns a boolean if a field has been set. - -### GetSummary - -`func (o *DebPackageUpload) GetSummary() string` - -GetSummary returns the Summary field if non-nil, zero value otherwise. - -### GetSummaryOk - -`func (o *DebPackageUpload) GetSummaryOk() (*string, bool)` - -GetSummaryOk returns a tuple with the Summary field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetSummary - -`func (o *DebPackageUpload) SetSummary(v string)` - -SetSummary sets Summary field to given value. - -### HasSummary - -`func (o *DebPackageUpload) HasSummary() bool` - -HasSummary returns a boolean if a field has been set. - -### GetSyncFinishedAt - -`func (o *DebPackageUpload) GetSyncFinishedAt() string` - -GetSyncFinishedAt returns the SyncFinishedAt field if non-nil, zero value otherwise. - -### GetSyncFinishedAtOk - -`func (o *DebPackageUpload) GetSyncFinishedAtOk() (*string, bool)` - -GetSyncFinishedAtOk returns a tuple with the SyncFinishedAt field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetSyncFinishedAt - -`func (o *DebPackageUpload) SetSyncFinishedAt(v string)` - -SetSyncFinishedAt sets SyncFinishedAt field to given value. - -### HasSyncFinishedAt - -`func (o *DebPackageUpload) HasSyncFinishedAt() bool` - -HasSyncFinishedAt returns a boolean if a field has been set. - -### GetSyncProgress - -`func (o *DebPackageUpload) GetSyncProgress() int64` - -GetSyncProgress returns the SyncProgress field if non-nil, zero value otherwise. - -### GetSyncProgressOk - -`func (o *DebPackageUpload) GetSyncProgressOk() (*int64, bool)` - -GetSyncProgressOk returns a tuple with the SyncProgress field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetSyncProgress - -`func (o *DebPackageUpload) SetSyncProgress(v int64)` - -SetSyncProgress sets SyncProgress field to given value. - -### HasSyncProgress - -`func (o *DebPackageUpload) HasSyncProgress() bool` - -HasSyncProgress returns a boolean if a field has been set. - -### GetTagsImmutable - -`func (o *DebPackageUpload) GetTagsImmutable() map[string]interface{}` - -GetTagsImmutable returns the TagsImmutable field if non-nil, zero value otherwise. - -### GetTagsImmutableOk - -`func (o *DebPackageUpload) GetTagsImmutableOk() (*map[string]interface{}, bool)` - -GetTagsImmutableOk returns a tuple with the TagsImmutable field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetTagsImmutable - -`func (o *DebPackageUpload) SetTagsImmutable(v map[string]interface{})` - -SetTagsImmutable sets TagsImmutable field to given value. - -### HasTagsImmutable - -`func (o *DebPackageUpload) HasTagsImmutable() bool` - -HasTagsImmutable returns a boolean if a field has been set. - -### GetTypeDisplay - -`func (o *DebPackageUpload) GetTypeDisplay() string` - -GetTypeDisplay returns the TypeDisplay field if non-nil, zero value otherwise. - -### GetTypeDisplayOk - -`func (o *DebPackageUpload) GetTypeDisplayOk() (*string, bool)` - -GetTypeDisplayOk returns a tuple with the TypeDisplay field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetTypeDisplay - -`func (o *DebPackageUpload) SetTypeDisplay(v string)` - -SetTypeDisplay sets TypeDisplay field to given value. - -### HasTypeDisplay - -`func (o *DebPackageUpload) HasTypeDisplay() bool` - -HasTypeDisplay returns a boolean if a field has been set. - -### GetUploadedAt - -`func (o *DebPackageUpload) GetUploadedAt() string` - -GetUploadedAt returns the UploadedAt field if non-nil, zero value otherwise. - -### GetUploadedAtOk - -`func (o *DebPackageUpload) GetUploadedAtOk() (*string, bool)` - -GetUploadedAtOk returns a tuple with the UploadedAt field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetUploadedAt - -`func (o *DebPackageUpload) SetUploadedAt(v string)` - -SetUploadedAt sets UploadedAt field to given value. - -### HasUploadedAt - -`func (o *DebPackageUpload) HasUploadedAt() bool` - -HasUploadedAt returns a boolean if a field has been set. - -### GetUploader - -`func (o *DebPackageUpload) GetUploader() string` - -GetUploader returns the Uploader field if non-nil, zero value otherwise. - -### GetUploaderOk - -`func (o *DebPackageUpload) GetUploaderOk() (*string, bool)` - -GetUploaderOk returns a tuple with the Uploader field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetUploader - -`func (o *DebPackageUpload) SetUploader(v string)` - -SetUploader sets Uploader field to given value. - -### HasUploader - -`func (o *DebPackageUpload) HasUploader() bool` - -HasUploader returns a boolean if a field has been set. - -### GetUploaderUrl - -`func (o *DebPackageUpload) GetUploaderUrl() string` - -GetUploaderUrl returns the UploaderUrl field if non-nil, zero value otherwise. - -### GetUploaderUrlOk - -`func (o *DebPackageUpload) GetUploaderUrlOk() (*string, bool)` - -GetUploaderUrlOk returns a tuple with the UploaderUrl field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetUploaderUrl - -`func (o *DebPackageUpload) SetUploaderUrl(v string)` - -SetUploaderUrl sets UploaderUrl field to given value. - -### HasUploaderUrl - -`func (o *DebPackageUpload) HasUploaderUrl() bool` - -HasUploaderUrl returns a boolean if a field has been set. - -### GetVersion - -`func (o *DebPackageUpload) GetVersion() string` - -GetVersion returns the Version field if non-nil, zero value otherwise. - -### GetVersionOk - -`func (o *DebPackageUpload) GetVersionOk() (*string, bool)` - -GetVersionOk returns a tuple with the Version field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetVersion - -`func (o *DebPackageUpload) SetVersion(v string)` - -SetVersion sets Version field to given value. - -### HasVersion - -`func (o *DebPackageUpload) HasVersion() bool` - -HasVersion returns a boolean if a field has been set. - -### GetVersionOrig - -`func (o *DebPackageUpload) GetVersionOrig() string` - -GetVersionOrig returns the VersionOrig field if non-nil, zero value otherwise. - -### GetVersionOrigOk - -`func (o *DebPackageUpload) GetVersionOrigOk() (*string, bool)` - -GetVersionOrigOk returns a tuple with the VersionOrig field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetVersionOrig - -`func (o *DebPackageUpload) SetVersionOrig(v string)` - -SetVersionOrig sets VersionOrig field to given value. - -### HasVersionOrig - -`func (o *DebPackageUpload) HasVersionOrig() bool` - -HasVersionOrig returns a boolean if a field has been set. - -### GetVulnerabilityScanResultsUrl - -`func (o *DebPackageUpload) GetVulnerabilityScanResultsUrl() string` - -GetVulnerabilityScanResultsUrl returns the VulnerabilityScanResultsUrl field if non-nil, zero value otherwise. - -### GetVulnerabilityScanResultsUrlOk - -`func (o *DebPackageUpload) GetVulnerabilityScanResultsUrlOk() (*string, bool)` - -GetVulnerabilityScanResultsUrlOk returns a tuple with the VulnerabilityScanResultsUrl field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetVulnerabilityScanResultsUrl - -`func (o *DebPackageUpload) SetVulnerabilityScanResultsUrl(v string)` - -SetVulnerabilityScanResultsUrl sets VulnerabilityScanResultsUrl field to given value. - -### HasVulnerabilityScanResultsUrl - -`func (o *DebPackageUpload) HasVulnerabilityScanResultsUrl() bool` - -HasVulnerabilityScanResultsUrl 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/docs/PackagesUploadDeb.md b/docs/DebPackageUploadRequest.md similarity index 51% rename from docs/PackagesUploadDeb.md rename to docs/DebPackageUploadRequest.md index 0e3484fb..39dd413c 100644 --- a/docs/PackagesUploadDeb.md +++ b/docs/DebPackageUploadRequest.md @@ -1,175 +1,205 @@ -# PackagesUploadDeb +# DebPackageUploadRequest ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**ChangesFile** | Pointer to **string** | The changes archive containing the changes made to the source and debian packaging files | [optional] +**ChangesFile** | Pointer to **NullableString** | The changes archive containing the changes made to the source and debian packaging files | [optional] **Distribution** | **string** | The distribution to store the package for. | **PackageFile** | **string** | The primary file for the package. | **Republish** | Pointer to **bool** | If true, the uploaded package will overwrite any others with the same attributes (e.g. same version); otherwise, it will be flagged as a duplicate. | [optional] -**SourcesFile** | Pointer to **string** | The sources archive containing the source code for the binary | [optional] -**Tags** | Pointer to **string** | A comma-separated values list of tags to add to the package. | [optional] +**SourcesFile** | Pointer to **NullableString** | The sources archive containing the source code for the binary | [optional] +**Tags** | Pointer to **NullableString** | A comma-separated values list of tags to add to the package. | [optional] ## Methods -### NewPackagesUploadDeb +### NewDebPackageUploadRequest -`func NewPackagesUploadDeb(distribution string, packageFile string, ) *PackagesUploadDeb` +`func NewDebPackageUploadRequest(distribution string, packageFile string, ) *DebPackageUploadRequest` -NewPackagesUploadDeb instantiates a new PackagesUploadDeb object +NewDebPackageUploadRequest instantiates a new DebPackageUploadRequest object 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 -### NewPackagesUploadDebWithDefaults +### NewDebPackageUploadRequestWithDefaults -`func NewPackagesUploadDebWithDefaults() *PackagesUploadDeb` +`func NewDebPackageUploadRequestWithDefaults() *DebPackageUploadRequest` -NewPackagesUploadDebWithDefaults instantiates a new PackagesUploadDeb object +NewDebPackageUploadRequestWithDefaults instantiates a new DebPackageUploadRequest object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set ### GetChangesFile -`func (o *PackagesUploadDeb) GetChangesFile() string` +`func (o *DebPackageUploadRequest) GetChangesFile() string` GetChangesFile returns the ChangesFile field if non-nil, zero value otherwise. ### GetChangesFileOk -`func (o *PackagesUploadDeb) GetChangesFileOk() (*string, bool)` +`func (o *DebPackageUploadRequest) GetChangesFileOk() (*string, bool)` GetChangesFileOk returns a tuple with the ChangesFile field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetChangesFile -`func (o *PackagesUploadDeb) SetChangesFile(v string)` +`func (o *DebPackageUploadRequest) SetChangesFile(v string)` SetChangesFile sets ChangesFile field to given value. ### HasChangesFile -`func (o *PackagesUploadDeb) HasChangesFile() bool` +`func (o *DebPackageUploadRequest) HasChangesFile() bool` HasChangesFile returns a boolean if a field has been set. +### SetChangesFileNil + +`func (o *DebPackageUploadRequest) SetChangesFileNil(b bool)` + + SetChangesFileNil sets the value for ChangesFile to be an explicit nil + +### UnsetChangesFile +`func (o *DebPackageUploadRequest) UnsetChangesFile()` + +UnsetChangesFile ensures that no value is present for ChangesFile, not even an explicit nil ### GetDistribution -`func (o *PackagesUploadDeb) GetDistribution() string` +`func (o *DebPackageUploadRequest) GetDistribution() string` GetDistribution returns the Distribution field if non-nil, zero value otherwise. ### GetDistributionOk -`func (o *PackagesUploadDeb) GetDistributionOk() (*string, bool)` +`func (o *DebPackageUploadRequest) GetDistributionOk() (*string, bool)` GetDistributionOk returns a tuple with the Distribution field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetDistribution -`func (o *PackagesUploadDeb) SetDistribution(v string)` +`func (o *DebPackageUploadRequest) SetDistribution(v string)` SetDistribution sets Distribution field to given value. ### GetPackageFile -`func (o *PackagesUploadDeb) GetPackageFile() string` +`func (o *DebPackageUploadRequest) GetPackageFile() string` GetPackageFile returns the PackageFile field if non-nil, zero value otherwise. ### GetPackageFileOk -`func (o *PackagesUploadDeb) GetPackageFileOk() (*string, bool)` +`func (o *DebPackageUploadRequest) GetPackageFileOk() (*string, bool)` GetPackageFileOk returns a tuple with the PackageFile field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetPackageFile -`func (o *PackagesUploadDeb) SetPackageFile(v string)` +`func (o *DebPackageUploadRequest) SetPackageFile(v string)` SetPackageFile sets PackageFile field to given value. ### GetRepublish -`func (o *PackagesUploadDeb) GetRepublish() bool` +`func (o *DebPackageUploadRequest) GetRepublish() bool` GetRepublish returns the Republish field if non-nil, zero value otherwise. ### GetRepublishOk -`func (o *PackagesUploadDeb) GetRepublishOk() (*bool, bool)` +`func (o *DebPackageUploadRequest) GetRepublishOk() (*bool, bool)` GetRepublishOk returns a tuple with the Republish field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetRepublish -`func (o *PackagesUploadDeb) SetRepublish(v bool)` +`func (o *DebPackageUploadRequest) SetRepublish(v bool)` SetRepublish sets Republish field to given value. ### HasRepublish -`func (o *PackagesUploadDeb) HasRepublish() bool` +`func (o *DebPackageUploadRequest) HasRepublish() bool` HasRepublish returns a boolean if a field has been set. ### GetSourcesFile -`func (o *PackagesUploadDeb) GetSourcesFile() string` +`func (o *DebPackageUploadRequest) GetSourcesFile() string` GetSourcesFile returns the SourcesFile field if non-nil, zero value otherwise. ### GetSourcesFileOk -`func (o *PackagesUploadDeb) GetSourcesFileOk() (*string, bool)` +`func (o *DebPackageUploadRequest) GetSourcesFileOk() (*string, bool)` GetSourcesFileOk returns a tuple with the SourcesFile field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetSourcesFile -`func (o *PackagesUploadDeb) SetSourcesFile(v string)` +`func (o *DebPackageUploadRequest) SetSourcesFile(v string)` SetSourcesFile sets SourcesFile field to given value. ### HasSourcesFile -`func (o *PackagesUploadDeb) HasSourcesFile() bool` +`func (o *DebPackageUploadRequest) HasSourcesFile() bool` HasSourcesFile returns a boolean if a field has been set. +### SetSourcesFileNil + +`func (o *DebPackageUploadRequest) SetSourcesFileNil(b bool)` + + SetSourcesFileNil sets the value for SourcesFile to be an explicit nil + +### UnsetSourcesFile +`func (o *DebPackageUploadRequest) UnsetSourcesFile()` + +UnsetSourcesFile ensures that no value is present for SourcesFile, not even an explicit nil ### GetTags -`func (o *PackagesUploadDeb) GetTags() string` +`func (o *DebPackageUploadRequest) GetTags() string` GetTags returns the Tags field if non-nil, zero value otherwise. ### GetTagsOk -`func (o *PackagesUploadDeb) GetTagsOk() (*string, bool)` +`func (o *DebPackageUploadRequest) GetTagsOk() (*string, bool)` GetTagsOk returns a tuple with the Tags field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetTags -`func (o *PackagesUploadDeb) SetTags(v string)` +`func (o *DebPackageUploadRequest) SetTags(v string)` SetTags sets Tags field to given value. ### HasTags -`func (o *PackagesUploadDeb) HasTags() bool` +`func (o *DebPackageUploadRequest) HasTags() bool` HasTags returns a boolean if a field has been set. +### SetTagsNil + +`func (o *DebPackageUploadRequest) SetTagsNil(b bool)` + + SetTagsNil sets the value for Tags to be an explicit nil + +### UnsetTags +`func (o *DebPackageUploadRequest) UnsetTags()` + +UnsetTags ensures that no value is present for Tags, 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/docs/ComposerPackageUpload.md b/docs/DebPackageUploadResponse.md similarity index 55% rename from docs/ComposerPackageUpload.md rename to docs/DebPackageUploadResponse.md index 50c26fd0..1fc7b9ee 100644 --- a/docs/ComposerPackageUpload.md +++ b/docs/DebPackageUploadResponse.md @@ -1,1742 +1,1834 @@ -# ComposerPackageUpload +# DebPackageUploadResponse ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**Architectures** | Pointer to [**[]PackagesOwnerRepoArchitectures**](PackagesOwnerRepoArchitectures.md) | | [optional] -**CdnUrl** | Pointer to **string** | | [optional] -**ChecksumMd5** | Pointer to **string** | | [optional] -**ChecksumSha1** | Pointer to **string** | | [optional] -**ChecksumSha256** | Pointer to **string** | | [optional] -**ChecksumSha512** | Pointer to **string** | | [optional] -**DependenciesChecksumMd5** | Pointer to **string** | A checksum of all of the package's dependencies. | [optional] -**DependenciesUrl** | Pointer to **string** | | [optional] -**Description** | Pointer to **string** | A textual description of this package. | [optional] -**Distro** | Pointer to **map[string]interface{}** | | [optional] -**DistroVersion** | Pointer to **map[string]interface{}** | | [optional] -**Downloads** | Pointer to **int64** | | [optional] -**Epoch** | Pointer to **int64** | The epoch of the package version (if any). | [optional] -**Extension** | Pointer to **string** | | [optional] -**Filename** | Pointer to **string** | | [optional] -**Files** | Pointer to [**[]PackagesOwnerRepoFiles**](PackagesOwnerRepoFiles.md) | | [optional] -**Format** | Pointer to **string** | | [optional] -**FormatUrl** | Pointer to **string** | | [optional] -**IdentifierPerm** | Pointer to **string** | Unique and permanent identifier for the package. | [optional] -**Indexed** | Pointer to **bool** | | [optional] -**IsDownloadable** | Pointer to **bool** | | [optional] -**IsQuarantined** | Pointer to **bool** | | [optional] -**IsSyncAwaiting** | Pointer to **bool** | | [optional] -**IsSyncCompleted** | Pointer to **bool** | | [optional] -**IsSyncFailed** | Pointer to **bool** | | [optional] -**IsSyncInFlight** | Pointer to **bool** | | [optional] -**IsSyncInProgress** | Pointer to **bool** | | [optional] -**License** | Pointer to **string** | The license of this package. | [optional] -**Name** | Pointer to **string** | The name of this package. | [optional] -**Namespace** | Pointer to **string** | | [optional] -**NamespaceUrl** | Pointer to **string** | | [optional] -**NumFiles** | Pointer to **int64** | | [optional] -**PackageType** | Pointer to **int64** | The type of package contents. | [optional] -**Release** | Pointer to **string** | The release of the package version (if any). | [optional] -**Repository** | Pointer to **string** | | [optional] -**RepositoryUrl** | Pointer to **string** | | [optional] -**SecurityScanCompletedAt** | Pointer to **string** | The datetime the security scanning was completed. | [optional] -**SecurityScanStartedAt** | Pointer to **string** | The datetime the security scanning was started. | [optional] -**SecurityScanStatus** | Pointer to **string** | | [optional] -**SecurityScanStatusUpdatedAt** | Pointer to **string** | The datetime the security scanning status was updated. | [optional] -**SelfHtmlUrl** | Pointer to **string** | | [optional] -**SelfUrl** | Pointer to **string** | | [optional] -**SignatureUrl** | Pointer to **string** | | [optional] -**Size** | Pointer to **int64** | The calculated size of the package. | [optional] -**Slug** | Pointer to **string** | The public unique identifier for the package. | [optional] -**SlugPerm** | Pointer to **string** | | [optional] -**Stage** | Pointer to **int64** | The synchronisation (in progress) stage of the package. | [optional] -**StageStr** | Pointer to **string** | | [optional] -**StageUpdatedAt** | Pointer to **string** | The datetime the package stage was updated at. | [optional] -**Status** | Pointer to **int64** | The synchronisation status of the package. | [optional] -**StatusReason** | Pointer to **string** | A textual description for the synchronous status reason (if any | [optional] -**StatusStr** | Pointer to **string** | | [optional] -**StatusUpdatedAt** | Pointer to **string** | The datetime the package status was updated at. | [optional] -**StatusUrl** | Pointer to **string** | | [optional] -**Subtype** | Pointer to **string** | | [optional] -**Summary** | Pointer to **string** | A one-liner synopsis of this package. | [optional] -**SyncFinishedAt** | Pointer to **string** | The datetime the package sync was finished at. | [optional] -**SyncProgress** | Pointer to **int64** | Synchronisation progress (from 0-100) | [optional] -**TagsImmutable** | Pointer to **map[string]interface{}** | All immutable tags on the package, grouped by tag type. Immutable tags cannot be (easily) deleted. | [optional] -**TypeDisplay** | Pointer to **string** | | [optional] -**UploadedAt** | Pointer to **string** | The date this package was uploaded. | [optional] -**Uploader** | Pointer to **string** | | [optional] -**UploaderUrl** | Pointer to **string** | | [optional] -**Version** | Pointer to **string** | The raw version for this package. | [optional] -**VersionOrig** | Pointer to **string** | | [optional] -**VulnerabilityScanResultsUrl** | Pointer to **string** | | [optional] +**Architectures** | Pointer to [**[]Architecture**](Architecture.md) | | [optional] [readonly] +**CdnUrl** | Pointer to **NullableString** | | [optional] [readonly] +**ChecksumMd5** | Pointer to **string** | | [optional] [readonly] +**ChecksumSha1** | Pointer to **string** | | [optional] [readonly] +**ChecksumSha256** | Pointer to **string** | | [optional] [readonly] +**ChecksumSha512** | Pointer to **string** | | [optional] [readonly] +**DependenciesChecksumMd5** | Pointer to **string** | A checksum of all of the package's dependencies. | [optional] [readonly] +**DependenciesUrl** | Pointer to **string** | | [optional] [readonly] +**Description** | Pointer to **string** | A textual description of this package. | [optional] [readonly] +**Distro** | Pointer to [**NullableDistribution**](Distribution.md) | | [optional] +**DistroVersion** | Pointer to [**DistributionVersion**](DistributionVersion.md) | | [optional] +**Downloads** | Pointer to **int64** | | [optional] [readonly] +**Epoch** | Pointer to **int64** | The epoch of the package version (if any). | [optional] [readonly] +**Extension** | Pointer to **string** | | [optional] [readonly] +**Filename** | Pointer to **string** | | [optional] [readonly] +**Files** | Pointer to [**[]PackageFile**](PackageFile.md) | | [optional] [readonly] +**Format** | Pointer to **string** | | [optional] [readonly] +**FormatUrl** | Pointer to **string** | | [optional] [readonly] +**IdentifierPerm** | Pointer to **string** | Unique and permanent identifier for the package. | [optional] [readonly] +**Indexed** | Pointer to **bool** | | [optional] [readonly] +**IsDownloadable** | Pointer to **bool** | | [optional] [readonly] +**IsQuarantined** | Pointer to **bool** | | [optional] [readonly] +**IsSyncAwaiting** | Pointer to **bool** | | [optional] [readonly] +**IsSyncCompleted** | Pointer to **bool** | | [optional] [readonly] +**IsSyncFailed** | Pointer to **bool** | | [optional] [readonly] +**IsSyncInFlight** | Pointer to **bool** | | [optional] [readonly] +**IsSyncInProgress** | Pointer to **bool** | | [optional] [readonly] +**License** | Pointer to **string** | The license of this package. | [optional] [readonly] +**Name** | Pointer to **string** | The name of this package. | [optional] [readonly] +**Namespace** | Pointer to **string** | | [optional] [readonly] +**NamespaceUrl** | Pointer to **string** | | [optional] [readonly] +**NumFiles** | Pointer to **int64** | | [optional] [readonly] +**OriginRepository** | Pointer to **string** | | [optional] [readonly] +**OriginRepositoryUrl** | Pointer to **string** | | [optional] [readonly] +**PackageType** | Pointer to **int64** | The type of package contents. | [optional] [readonly] +**Release** | Pointer to **string** | The release of the package version (if any). | [optional] [readonly] +**Repository** | Pointer to **string** | | [optional] [readonly] +**RepositoryUrl** | Pointer to **string** | | [optional] [readonly] +**SecurityScanCompletedAt** | Pointer to **time.Time** | The datetime the security scanning was completed. | [optional] [readonly] +**SecurityScanStartedAt** | Pointer to **time.Time** | The datetime the security scanning was started. | [optional] [readonly] +**SecurityScanStatus** | Pointer to **NullableString** | | [optional] [readonly] [default to "Awaiting Security Scan"] +**SecurityScanStatusUpdatedAt** | Pointer to **time.Time** | The datetime the security scanning status was updated. | [optional] [readonly] +**SelfHtmlUrl** | Pointer to **string** | | [optional] [readonly] +**SelfUrl** | Pointer to **string** | | [optional] [readonly] +**SignatureUrl** | Pointer to **NullableString** | | [optional] [readonly] +**Size** | Pointer to **int64** | The calculated size of the package. | [optional] [readonly] +**Slug** | Pointer to **string** | The public unique identifier for the package. | [optional] [readonly] +**SlugPerm** | Pointer to **string** | | [optional] [readonly] +**Stage** | Pointer to **int64** | The synchronisation (in progress) stage of the package. | [optional] [readonly] +**StageStr** | Pointer to **string** | | [optional] [readonly] +**StageUpdatedAt** | Pointer to **time.Time** | The datetime the package stage was updated at. | [optional] [readonly] +**Status** | Pointer to **int64** | The synchronisation status of the package. | [optional] [readonly] +**StatusReason** | Pointer to **string** | A textual description for the synchronous status reason (if any | [optional] [readonly] +**StatusStr** | Pointer to **string** | | [optional] [readonly] +**StatusUpdatedAt** | Pointer to **time.Time** | The datetime the package status was updated at. | [optional] [readonly] +**StatusUrl** | Pointer to **string** | | [optional] [readonly] +**Subtype** | Pointer to **string** | | [optional] [readonly] +**Summary** | Pointer to **string** | A one-liner synopsis of this package. | [optional] [readonly] +**SyncFinishedAt** | Pointer to **time.Time** | The datetime the package sync was finished at. | [optional] [readonly] +**SyncProgress** | Pointer to **int64** | Synchronisation progress (from 0-100) | [optional] [readonly] +**TagsImmutable** | Pointer to **map[string]interface{}** | All tags on the package, grouped by tag type. This includes immutable tags, but doesn't distinguish them from mutable. To see which tags are immutable specifically, see the tags_immutable field. | [optional] +**TypeDisplay** | Pointer to **string** | | [optional] [readonly] +**UploadedAt** | Pointer to **time.Time** | The date this package was uploaded. | [optional] [readonly] +**Uploader** | Pointer to **string** | | [optional] [readonly] +**UploaderUrl** | Pointer to **string** | | [optional] [readonly] +**Version** | Pointer to **string** | The raw version for this package. | [optional] [readonly] +**VersionOrig** | Pointer to **string** | | [optional] [readonly] +**VulnerabilityScanResultsUrl** | Pointer to **string** | | [optional] [readonly] ## Methods -### NewComposerPackageUpload +### NewDebPackageUploadResponse -`func NewComposerPackageUpload() *ComposerPackageUpload` +`func NewDebPackageUploadResponse() *DebPackageUploadResponse` -NewComposerPackageUpload instantiates a new ComposerPackageUpload object +NewDebPackageUploadResponse instantiates a new DebPackageUploadResponse object 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 -### NewComposerPackageUploadWithDefaults +### NewDebPackageUploadResponseWithDefaults -`func NewComposerPackageUploadWithDefaults() *ComposerPackageUpload` +`func NewDebPackageUploadResponseWithDefaults() *DebPackageUploadResponse` -NewComposerPackageUploadWithDefaults instantiates a new ComposerPackageUpload object +NewDebPackageUploadResponseWithDefaults instantiates a new DebPackageUploadResponse object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set ### GetArchitectures -`func (o *ComposerPackageUpload) GetArchitectures() []PackagesOwnerRepoArchitectures` +`func (o *DebPackageUploadResponse) GetArchitectures() []Architecture` GetArchitectures returns the Architectures field if non-nil, zero value otherwise. ### GetArchitecturesOk -`func (o *ComposerPackageUpload) GetArchitecturesOk() (*[]PackagesOwnerRepoArchitectures, bool)` +`func (o *DebPackageUploadResponse) GetArchitecturesOk() (*[]Architecture, bool)` GetArchitecturesOk returns a tuple with the Architectures field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetArchitectures -`func (o *ComposerPackageUpload) SetArchitectures(v []PackagesOwnerRepoArchitectures)` +`func (o *DebPackageUploadResponse) SetArchitectures(v []Architecture)` SetArchitectures sets Architectures field to given value. ### HasArchitectures -`func (o *ComposerPackageUpload) HasArchitectures() bool` +`func (o *DebPackageUploadResponse) HasArchitectures() bool` HasArchitectures returns a boolean if a field has been set. ### GetCdnUrl -`func (o *ComposerPackageUpload) GetCdnUrl() string` +`func (o *DebPackageUploadResponse) GetCdnUrl() string` GetCdnUrl returns the CdnUrl field if non-nil, zero value otherwise. ### GetCdnUrlOk -`func (o *ComposerPackageUpload) GetCdnUrlOk() (*string, bool)` +`func (o *DebPackageUploadResponse) GetCdnUrlOk() (*string, bool)` GetCdnUrlOk returns a tuple with the CdnUrl field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetCdnUrl -`func (o *ComposerPackageUpload) SetCdnUrl(v string)` +`func (o *DebPackageUploadResponse) SetCdnUrl(v string)` SetCdnUrl sets CdnUrl field to given value. ### HasCdnUrl -`func (o *ComposerPackageUpload) HasCdnUrl() bool` +`func (o *DebPackageUploadResponse) HasCdnUrl() bool` HasCdnUrl returns a boolean if a field has been set. +### SetCdnUrlNil + +`func (o *DebPackageUploadResponse) SetCdnUrlNil(b bool)` + + SetCdnUrlNil sets the value for CdnUrl to be an explicit nil + +### UnsetCdnUrl +`func (o *DebPackageUploadResponse) UnsetCdnUrl()` + +UnsetCdnUrl ensures that no value is present for CdnUrl, not even an explicit nil ### GetChecksumMd5 -`func (o *ComposerPackageUpload) GetChecksumMd5() string` +`func (o *DebPackageUploadResponse) GetChecksumMd5() string` GetChecksumMd5 returns the ChecksumMd5 field if non-nil, zero value otherwise. ### GetChecksumMd5Ok -`func (o *ComposerPackageUpload) GetChecksumMd5Ok() (*string, bool)` +`func (o *DebPackageUploadResponse) GetChecksumMd5Ok() (*string, bool)` GetChecksumMd5Ok returns a tuple with the ChecksumMd5 field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetChecksumMd5 -`func (o *ComposerPackageUpload) SetChecksumMd5(v string)` +`func (o *DebPackageUploadResponse) SetChecksumMd5(v string)` SetChecksumMd5 sets ChecksumMd5 field to given value. ### HasChecksumMd5 -`func (o *ComposerPackageUpload) HasChecksumMd5() bool` +`func (o *DebPackageUploadResponse) HasChecksumMd5() bool` HasChecksumMd5 returns a boolean if a field has been set. ### GetChecksumSha1 -`func (o *ComposerPackageUpload) GetChecksumSha1() string` +`func (o *DebPackageUploadResponse) GetChecksumSha1() string` GetChecksumSha1 returns the ChecksumSha1 field if non-nil, zero value otherwise. ### GetChecksumSha1Ok -`func (o *ComposerPackageUpload) GetChecksumSha1Ok() (*string, bool)` +`func (o *DebPackageUploadResponse) GetChecksumSha1Ok() (*string, bool)` GetChecksumSha1Ok returns a tuple with the ChecksumSha1 field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetChecksumSha1 -`func (o *ComposerPackageUpload) SetChecksumSha1(v string)` +`func (o *DebPackageUploadResponse) SetChecksumSha1(v string)` SetChecksumSha1 sets ChecksumSha1 field to given value. ### HasChecksumSha1 -`func (o *ComposerPackageUpload) HasChecksumSha1() bool` +`func (o *DebPackageUploadResponse) HasChecksumSha1() bool` HasChecksumSha1 returns a boolean if a field has been set. ### GetChecksumSha256 -`func (o *ComposerPackageUpload) GetChecksumSha256() string` +`func (o *DebPackageUploadResponse) GetChecksumSha256() string` GetChecksumSha256 returns the ChecksumSha256 field if non-nil, zero value otherwise. ### GetChecksumSha256Ok -`func (o *ComposerPackageUpload) GetChecksumSha256Ok() (*string, bool)` +`func (o *DebPackageUploadResponse) GetChecksumSha256Ok() (*string, bool)` GetChecksumSha256Ok returns a tuple with the ChecksumSha256 field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetChecksumSha256 -`func (o *ComposerPackageUpload) SetChecksumSha256(v string)` +`func (o *DebPackageUploadResponse) SetChecksumSha256(v string)` SetChecksumSha256 sets ChecksumSha256 field to given value. ### HasChecksumSha256 -`func (o *ComposerPackageUpload) HasChecksumSha256() bool` +`func (o *DebPackageUploadResponse) HasChecksumSha256() bool` HasChecksumSha256 returns a boolean if a field has been set. ### GetChecksumSha512 -`func (o *ComposerPackageUpload) GetChecksumSha512() string` +`func (o *DebPackageUploadResponse) GetChecksumSha512() string` GetChecksumSha512 returns the ChecksumSha512 field if non-nil, zero value otherwise. ### GetChecksumSha512Ok -`func (o *ComposerPackageUpload) GetChecksumSha512Ok() (*string, bool)` +`func (o *DebPackageUploadResponse) GetChecksumSha512Ok() (*string, bool)` GetChecksumSha512Ok returns a tuple with the ChecksumSha512 field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetChecksumSha512 -`func (o *ComposerPackageUpload) SetChecksumSha512(v string)` +`func (o *DebPackageUploadResponse) SetChecksumSha512(v string)` SetChecksumSha512 sets ChecksumSha512 field to given value. ### HasChecksumSha512 -`func (o *ComposerPackageUpload) HasChecksumSha512() bool` +`func (o *DebPackageUploadResponse) HasChecksumSha512() bool` HasChecksumSha512 returns a boolean if a field has been set. ### GetDependenciesChecksumMd5 -`func (o *ComposerPackageUpload) GetDependenciesChecksumMd5() string` +`func (o *DebPackageUploadResponse) GetDependenciesChecksumMd5() string` GetDependenciesChecksumMd5 returns the DependenciesChecksumMd5 field if non-nil, zero value otherwise. ### GetDependenciesChecksumMd5Ok -`func (o *ComposerPackageUpload) GetDependenciesChecksumMd5Ok() (*string, bool)` +`func (o *DebPackageUploadResponse) GetDependenciesChecksumMd5Ok() (*string, bool)` GetDependenciesChecksumMd5Ok returns a tuple with the DependenciesChecksumMd5 field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetDependenciesChecksumMd5 -`func (o *ComposerPackageUpload) SetDependenciesChecksumMd5(v string)` +`func (o *DebPackageUploadResponse) SetDependenciesChecksumMd5(v string)` SetDependenciesChecksumMd5 sets DependenciesChecksumMd5 field to given value. ### HasDependenciesChecksumMd5 -`func (o *ComposerPackageUpload) HasDependenciesChecksumMd5() bool` +`func (o *DebPackageUploadResponse) HasDependenciesChecksumMd5() bool` HasDependenciesChecksumMd5 returns a boolean if a field has been set. ### GetDependenciesUrl -`func (o *ComposerPackageUpload) GetDependenciesUrl() string` +`func (o *DebPackageUploadResponse) GetDependenciesUrl() string` GetDependenciesUrl returns the DependenciesUrl field if non-nil, zero value otherwise. ### GetDependenciesUrlOk -`func (o *ComposerPackageUpload) GetDependenciesUrlOk() (*string, bool)` +`func (o *DebPackageUploadResponse) GetDependenciesUrlOk() (*string, bool)` GetDependenciesUrlOk returns a tuple with the DependenciesUrl field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetDependenciesUrl -`func (o *ComposerPackageUpload) SetDependenciesUrl(v string)` +`func (o *DebPackageUploadResponse) SetDependenciesUrl(v string)` SetDependenciesUrl sets DependenciesUrl field to given value. ### HasDependenciesUrl -`func (o *ComposerPackageUpload) HasDependenciesUrl() bool` +`func (o *DebPackageUploadResponse) HasDependenciesUrl() bool` HasDependenciesUrl returns a boolean if a field has been set. ### GetDescription -`func (o *ComposerPackageUpload) GetDescription() string` +`func (o *DebPackageUploadResponse) GetDescription() string` GetDescription returns the Description field if non-nil, zero value otherwise. ### GetDescriptionOk -`func (o *ComposerPackageUpload) GetDescriptionOk() (*string, bool)` +`func (o *DebPackageUploadResponse) GetDescriptionOk() (*string, bool)` GetDescriptionOk returns a tuple with the Description field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetDescription -`func (o *ComposerPackageUpload) SetDescription(v string)` +`func (o *DebPackageUploadResponse) SetDescription(v string)` SetDescription sets Description field to given value. ### HasDescription -`func (o *ComposerPackageUpload) HasDescription() bool` +`func (o *DebPackageUploadResponse) HasDescription() bool` HasDescription returns a boolean if a field has been set. ### GetDistro -`func (o *ComposerPackageUpload) GetDistro() map[string]interface{}` +`func (o *DebPackageUploadResponse) GetDistro() Distribution` GetDistro returns the Distro field if non-nil, zero value otherwise. ### GetDistroOk -`func (o *ComposerPackageUpload) GetDistroOk() (*map[string]interface{}, bool)` +`func (o *DebPackageUploadResponse) GetDistroOk() (*Distribution, bool)` GetDistroOk returns a tuple with the Distro field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetDistro -`func (o *ComposerPackageUpload) SetDistro(v map[string]interface{})` +`func (o *DebPackageUploadResponse) SetDistro(v Distribution)` SetDistro sets Distro field to given value. ### HasDistro -`func (o *ComposerPackageUpload) HasDistro() bool` +`func (o *DebPackageUploadResponse) HasDistro() bool` HasDistro returns a boolean if a field has been set. +### SetDistroNil + +`func (o *DebPackageUploadResponse) SetDistroNil(b bool)` + + SetDistroNil sets the value for Distro to be an explicit nil + +### UnsetDistro +`func (o *DebPackageUploadResponse) UnsetDistro()` + +UnsetDistro ensures that no value is present for Distro, not even an explicit nil ### GetDistroVersion -`func (o *ComposerPackageUpload) GetDistroVersion() map[string]interface{}` +`func (o *DebPackageUploadResponse) GetDistroVersion() DistributionVersion` GetDistroVersion returns the DistroVersion field if non-nil, zero value otherwise. ### GetDistroVersionOk -`func (o *ComposerPackageUpload) GetDistroVersionOk() (*map[string]interface{}, bool)` +`func (o *DebPackageUploadResponse) GetDistroVersionOk() (*DistributionVersion, bool)` GetDistroVersionOk returns a tuple with the DistroVersion field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetDistroVersion -`func (o *ComposerPackageUpload) SetDistroVersion(v map[string]interface{})` +`func (o *DebPackageUploadResponse) SetDistroVersion(v DistributionVersion)` SetDistroVersion sets DistroVersion field to given value. ### HasDistroVersion -`func (o *ComposerPackageUpload) HasDistroVersion() bool` +`func (o *DebPackageUploadResponse) HasDistroVersion() bool` HasDistroVersion returns a boolean if a field has been set. ### GetDownloads -`func (o *ComposerPackageUpload) GetDownloads() int64` +`func (o *DebPackageUploadResponse) GetDownloads() int64` GetDownloads returns the Downloads field if non-nil, zero value otherwise. ### GetDownloadsOk -`func (o *ComposerPackageUpload) GetDownloadsOk() (*int64, bool)` +`func (o *DebPackageUploadResponse) GetDownloadsOk() (*int64, bool)` GetDownloadsOk returns a tuple with the Downloads field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetDownloads -`func (o *ComposerPackageUpload) SetDownloads(v int64)` +`func (o *DebPackageUploadResponse) SetDownloads(v int64)` SetDownloads sets Downloads field to given value. ### HasDownloads -`func (o *ComposerPackageUpload) HasDownloads() bool` +`func (o *DebPackageUploadResponse) HasDownloads() bool` HasDownloads returns a boolean if a field has been set. ### GetEpoch -`func (o *ComposerPackageUpload) GetEpoch() int64` +`func (o *DebPackageUploadResponse) GetEpoch() int64` GetEpoch returns the Epoch field if non-nil, zero value otherwise. ### GetEpochOk -`func (o *ComposerPackageUpload) GetEpochOk() (*int64, bool)` +`func (o *DebPackageUploadResponse) GetEpochOk() (*int64, bool)` GetEpochOk returns a tuple with the Epoch field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetEpoch -`func (o *ComposerPackageUpload) SetEpoch(v int64)` +`func (o *DebPackageUploadResponse) SetEpoch(v int64)` SetEpoch sets Epoch field to given value. ### HasEpoch -`func (o *ComposerPackageUpload) HasEpoch() bool` +`func (o *DebPackageUploadResponse) HasEpoch() bool` HasEpoch returns a boolean if a field has been set. ### GetExtension -`func (o *ComposerPackageUpload) GetExtension() string` +`func (o *DebPackageUploadResponse) GetExtension() string` GetExtension returns the Extension field if non-nil, zero value otherwise. ### GetExtensionOk -`func (o *ComposerPackageUpload) GetExtensionOk() (*string, bool)` +`func (o *DebPackageUploadResponse) GetExtensionOk() (*string, bool)` GetExtensionOk returns a tuple with the Extension field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetExtension -`func (o *ComposerPackageUpload) SetExtension(v string)` +`func (o *DebPackageUploadResponse) SetExtension(v string)` SetExtension sets Extension field to given value. ### HasExtension -`func (o *ComposerPackageUpload) HasExtension() bool` +`func (o *DebPackageUploadResponse) HasExtension() bool` HasExtension returns a boolean if a field has been set. ### GetFilename -`func (o *ComposerPackageUpload) GetFilename() string` +`func (o *DebPackageUploadResponse) GetFilename() string` GetFilename returns the Filename field if non-nil, zero value otherwise. ### GetFilenameOk -`func (o *ComposerPackageUpload) GetFilenameOk() (*string, bool)` +`func (o *DebPackageUploadResponse) GetFilenameOk() (*string, bool)` GetFilenameOk returns a tuple with the Filename field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetFilename -`func (o *ComposerPackageUpload) SetFilename(v string)` +`func (o *DebPackageUploadResponse) SetFilename(v string)` SetFilename sets Filename field to given value. ### HasFilename -`func (o *ComposerPackageUpload) HasFilename() bool` +`func (o *DebPackageUploadResponse) HasFilename() bool` HasFilename returns a boolean if a field has been set. ### GetFiles -`func (o *ComposerPackageUpload) GetFiles() []PackagesOwnerRepoFiles` +`func (o *DebPackageUploadResponse) GetFiles() []PackageFile` GetFiles returns the Files field if non-nil, zero value otherwise. ### GetFilesOk -`func (o *ComposerPackageUpload) GetFilesOk() (*[]PackagesOwnerRepoFiles, bool)` +`func (o *DebPackageUploadResponse) GetFilesOk() (*[]PackageFile, 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 *ComposerPackageUpload) SetFiles(v []PackagesOwnerRepoFiles)` +`func (o *DebPackageUploadResponse) SetFiles(v []PackageFile)` SetFiles sets Files field to given value. ### HasFiles -`func (o *ComposerPackageUpload) HasFiles() bool` +`func (o *DebPackageUploadResponse) HasFiles() bool` HasFiles returns a boolean if a field has been set. ### GetFormat -`func (o *ComposerPackageUpload) GetFormat() string` +`func (o *DebPackageUploadResponse) GetFormat() string` GetFormat returns the Format field if non-nil, zero value otherwise. ### GetFormatOk -`func (o *ComposerPackageUpload) GetFormatOk() (*string, bool)` +`func (o *DebPackageUploadResponse) GetFormatOk() (*string, bool)` GetFormatOk returns a tuple with the Format field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetFormat -`func (o *ComposerPackageUpload) SetFormat(v string)` +`func (o *DebPackageUploadResponse) SetFormat(v string)` SetFormat sets Format field to given value. ### HasFormat -`func (o *ComposerPackageUpload) HasFormat() bool` +`func (o *DebPackageUploadResponse) HasFormat() bool` HasFormat returns a boolean if a field has been set. ### GetFormatUrl -`func (o *ComposerPackageUpload) GetFormatUrl() string` +`func (o *DebPackageUploadResponse) GetFormatUrl() string` GetFormatUrl returns the FormatUrl field if non-nil, zero value otherwise. ### GetFormatUrlOk -`func (o *ComposerPackageUpload) GetFormatUrlOk() (*string, bool)` +`func (o *DebPackageUploadResponse) GetFormatUrlOk() (*string, bool)` GetFormatUrlOk returns a tuple with the FormatUrl field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetFormatUrl -`func (o *ComposerPackageUpload) SetFormatUrl(v string)` +`func (o *DebPackageUploadResponse) SetFormatUrl(v string)` SetFormatUrl sets FormatUrl field to given value. ### HasFormatUrl -`func (o *ComposerPackageUpload) HasFormatUrl() bool` +`func (o *DebPackageUploadResponse) HasFormatUrl() bool` HasFormatUrl returns a boolean if a field has been set. ### GetIdentifierPerm -`func (o *ComposerPackageUpload) GetIdentifierPerm() string` +`func (o *DebPackageUploadResponse) GetIdentifierPerm() string` GetIdentifierPerm returns the IdentifierPerm field if non-nil, zero value otherwise. ### GetIdentifierPermOk -`func (o *ComposerPackageUpload) GetIdentifierPermOk() (*string, bool)` +`func (o *DebPackageUploadResponse) GetIdentifierPermOk() (*string, bool)` GetIdentifierPermOk returns a tuple with the IdentifierPerm field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetIdentifierPerm -`func (o *ComposerPackageUpload) SetIdentifierPerm(v string)` +`func (o *DebPackageUploadResponse) SetIdentifierPerm(v string)` SetIdentifierPerm sets IdentifierPerm field to given value. ### HasIdentifierPerm -`func (o *ComposerPackageUpload) HasIdentifierPerm() bool` +`func (o *DebPackageUploadResponse) HasIdentifierPerm() bool` HasIdentifierPerm returns a boolean if a field has been set. ### GetIndexed -`func (o *ComposerPackageUpload) GetIndexed() bool` +`func (o *DebPackageUploadResponse) GetIndexed() bool` GetIndexed returns the Indexed field if non-nil, zero value otherwise. ### GetIndexedOk -`func (o *ComposerPackageUpload) GetIndexedOk() (*bool, bool)` +`func (o *DebPackageUploadResponse) GetIndexedOk() (*bool, bool)` GetIndexedOk returns a tuple with the Indexed field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetIndexed -`func (o *ComposerPackageUpload) SetIndexed(v bool)` +`func (o *DebPackageUploadResponse) SetIndexed(v bool)` SetIndexed sets Indexed field to given value. ### HasIndexed -`func (o *ComposerPackageUpload) HasIndexed() bool` +`func (o *DebPackageUploadResponse) HasIndexed() bool` HasIndexed returns a boolean if a field has been set. ### GetIsDownloadable -`func (o *ComposerPackageUpload) GetIsDownloadable() bool` +`func (o *DebPackageUploadResponse) GetIsDownloadable() bool` GetIsDownloadable returns the IsDownloadable field if non-nil, zero value otherwise. ### GetIsDownloadableOk -`func (o *ComposerPackageUpload) GetIsDownloadableOk() (*bool, bool)` +`func (o *DebPackageUploadResponse) GetIsDownloadableOk() (*bool, bool)` GetIsDownloadableOk returns a tuple with the IsDownloadable field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetIsDownloadable -`func (o *ComposerPackageUpload) SetIsDownloadable(v bool)` +`func (o *DebPackageUploadResponse) SetIsDownloadable(v bool)` SetIsDownloadable sets IsDownloadable field to given value. ### HasIsDownloadable -`func (o *ComposerPackageUpload) HasIsDownloadable() bool` +`func (o *DebPackageUploadResponse) HasIsDownloadable() bool` HasIsDownloadable returns a boolean if a field has been set. ### GetIsQuarantined -`func (o *ComposerPackageUpload) GetIsQuarantined() bool` +`func (o *DebPackageUploadResponse) GetIsQuarantined() bool` GetIsQuarantined returns the IsQuarantined field if non-nil, zero value otherwise. ### GetIsQuarantinedOk -`func (o *ComposerPackageUpload) GetIsQuarantinedOk() (*bool, bool)` +`func (o *DebPackageUploadResponse) GetIsQuarantinedOk() (*bool, bool)` GetIsQuarantinedOk returns a tuple with the IsQuarantined field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetIsQuarantined -`func (o *ComposerPackageUpload) SetIsQuarantined(v bool)` +`func (o *DebPackageUploadResponse) SetIsQuarantined(v bool)` SetIsQuarantined sets IsQuarantined field to given value. ### HasIsQuarantined -`func (o *ComposerPackageUpload) HasIsQuarantined() bool` +`func (o *DebPackageUploadResponse) HasIsQuarantined() bool` HasIsQuarantined returns a boolean if a field has been set. ### GetIsSyncAwaiting -`func (o *ComposerPackageUpload) GetIsSyncAwaiting() bool` +`func (o *DebPackageUploadResponse) GetIsSyncAwaiting() bool` GetIsSyncAwaiting returns the IsSyncAwaiting field if non-nil, zero value otherwise. ### GetIsSyncAwaitingOk -`func (o *ComposerPackageUpload) GetIsSyncAwaitingOk() (*bool, bool)` +`func (o *DebPackageUploadResponse) GetIsSyncAwaitingOk() (*bool, bool)` GetIsSyncAwaitingOk returns a tuple with the IsSyncAwaiting field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetIsSyncAwaiting -`func (o *ComposerPackageUpload) SetIsSyncAwaiting(v bool)` +`func (o *DebPackageUploadResponse) SetIsSyncAwaiting(v bool)` SetIsSyncAwaiting sets IsSyncAwaiting field to given value. ### HasIsSyncAwaiting -`func (o *ComposerPackageUpload) HasIsSyncAwaiting() bool` +`func (o *DebPackageUploadResponse) HasIsSyncAwaiting() bool` HasIsSyncAwaiting returns a boolean if a field has been set. ### GetIsSyncCompleted -`func (o *ComposerPackageUpload) GetIsSyncCompleted() bool` +`func (o *DebPackageUploadResponse) GetIsSyncCompleted() bool` GetIsSyncCompleted returns the IsSyncCompleted field if non-nil, zero value otherwise. ### GetIsSyncCompletedOk -`func (o *ComposerPackageUpload) GetIsSyncCompletedOk() (*bool, bool)` +`func (o *DebPackageUploadResponse) GetIsSyncCompletedOk() (*bool, bool)` GetIsSyncCompletedOk returns a tuple with the IsSyncCompleted field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetIsSyncCompleted -`func (o *ComposerPackageUpload) SetIsSyncCompleted(v bool)` +`func (o *DebPackageUploadResponse) SetIsSyncCompleted(v bool)` SetIsSyncCompleted sets IsSyncCompleted field to given value. ### HasIsSyncCompleted -`func (o *ComposerPackageUpload) HasIsSyncCompleted() bool` +`func (o *DebPackageUploadResponse) HasIsSyncCompleted() bool` HasIsSyncCompleted returns a boolean if a field has been set. ### GetIsSyncFailed -`func (o *ComposerPackageUpload) GetIsSyncFailed() bool` +`func (o *DebPackageUploadResponse) GetIsSyncFailed() bool` GetIsSyncFailed returns the IsSyncFailed field if non-nil, zero value otherwise. ### GetIsSyncFailedOk -`func (o *ComposerPackageUpload) GetIsSyncFailedOk() (*bool, bool)` +`func (o *DebPackageUploadResponse) GetIsSyncFailedOk() (*bool, bool)` GetIsSyncFailedOk returns a tuple with the IsSyncFailed field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetIsSyncFailed -`func (o *ComposerPackageUpload) SetIsSyncFailed(v bool)` +`func (o *DebPackageUploadResponse) SetIsSyncFailed(v bool)` SetIsSyncFailed sets IsSyncFailed field to given value. ### HasIsSyncFailed -`func (o *ComposerPackageUpload) HasIsSyncFailed() bool` +`func (o *DebPackageUploadResponse) HasIsSyncFailed() bool` HasIsSyncFailed returns a boolean if a field has been set. ### GetIsSyncInFlight -`func (o *ComposerPackageUpload) GetIsSyncInFlight() bool` +`func (o *DebPackageUploadResponse) GetIsSyncInFlight() bool` GetIsSyncInFlight returns the IsSyncInFlight field if non-nil, zero value otherwise. ### GetIsSyncInFlightOk -`func (o *ComposerPackageUpload) GetIsSyncInFlightOk() (*bool, bool)` +`func (o *DebPackageUploadResponse) GetIsSyncInFlightOk() (*bool, bool)` GetIsSyncInFlightOk returns a tuple with the IsSyncInFlight field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetIsSyncInFlight -`func (o *ComposerPackageUpload) SetIsSyncInFlight(v bool)` +`func (o *DebPackageUploadResponse) SetIsSyncInFlight(v bool)` SetIsSyncInFlight sets IsSyncInFlight field to given value. ### HasIsSyncInFlight -`func (o *ComposerPackageUpload) HasIsSyncInFlight() bool` +`func (o *DebPackageUploadResponse) HasIsSyncInFlight() bool` HasIsSyncInFlight returns a boolean if a field has been set. ### GetIsSyncInProgress -`func (o *ComposerPackageUpload) GetIsSyncInProgress() bool` +`func (o *DebPackageUploadResponse) GetIsSyncInProgress() bool` GetIsSyncInProgress returns the IsSyncInProgress field if non-nil, zero value otherwise. ### GetIsSyncInProgressOk -`func (o *ComposerPackageUpload) GetIsSyncInProgressOk() (*bool, bool)` +`func (o *DebPackageUploadResponse) GetIsSyncInProgressOk() (*bool, bool)` GetIsSyncInProgressOk returns a tuple with the IsSyncInProgress field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetIsSyncInProgress -`func (o *ComposerPackageUpload) SetIsSyncInProgress(v bool)` +`func (o *DebPackageUploadResponse) SetIsSyncInProgress(v bool)` SetIsSyncInProgress sets IsSyncInProgress field to given value. ### HasIsSyncInProgress -`func (o *ComposerPackageUpload) HasIsSyncInProgress() bool` +`func (o *DebPackageUploadResponse) HasIsSyncInProgress() bool` HasIsSyncInProgress returns a boolean if a field has been set. ### GetLicense -`func (o *ComposerPackageUpload) GetLicense() string` +`func (o *DebPackageUploadResponse) GetLicense() string` GetLicense returns the License field if non-nil, zero value otherwise. ### GetLicenseOk -`func (o *ComposerPackageUpload) GetLicenseOk() (*string, bool)` +`func (o *DebPackageUploadResponse) GetLicenseOk() (*string, bool)` GetLicenseOk returns a tuple with the License field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetLicense -`func (o *ComposerPackageUpload) SetLicense(v string)` +`func (o *DebPackageUploadResponse) SetLicense(v string)` SetLicense sets License field to given value. ### HasLicense -`func (o *ComposerPackageUpload) HasLicense() bool` +`func (o *DebPackageUploadResponse) HasLicense() bool` HasLicense returns a boolean if a field has been set. ### GetName -`func (o *ComposerPackageUpload) GetName() string` +`func (o *DebPackageUploadResponse) GetName() string` GetName returns the Name field if non-nil, zero value otherwise. ### GetNameOk -`func (o *ComposerPackageUpload) GetNameOk() (*string, bool)` +`func (o *DebPackageUploadResponse) GetNameOk() (*string, bool)` 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. ### SetName -`func (o *ComposerPackageUpload) SetName(v string)` +`func (o *DebPackageUploadResponse) SetName(v string)` SetName sets Name field to given value. ### HasName -`func (o *ComposerPackageUpload) HasName() bool` +`func (o *DebPackageUploadResponse) HasName() bool` HasName returns a boolean if a field has been set. ### GetNamespace -`func (o *ComposerPackageUpload) GetNamespace() string` +`func (o *DebPackageUploadResponse) GetNamespace() string` GetNamespace returns the Namespace field if non-nil, zero value otherwise. ### GetNamespaceOk -`func (o *ComposerPackageUpload) GetNamespaceOk() (*string, bool)` +`func (o *DebPackageUploadResponse) GetNamespaceOk() (*string, bool)` GetNamespaceOk returns a tuple with the Namespace field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetNamespace -`func (o *ComposerPackageUpload) SetNamespace(v string)` +`func (o *DebPackageUploadResponse) SetNamespace(v string)` SetNamespace sets Namespace field to given value. ### HasNamespace -`func (o *ComposerPackageUpload) HasNamespace() bool` +`func (o *DebPackageUploadResponse) HasNamespace() bool` HasNamespace returns a boolean if a field has been set. ### GetNamespaceUrl -`func (o *ComposerPackageUpload) GetNamespaceUrl() string` +`func (o *DebPackageUploadResponse) GetNamespaceUrl() string` GetNamespaceUrl returns the NamespaceUrl field if non-nil, zero value otherwise. ### GetNamespaceUrlOk -`func (o *ComposerPackageUpload) GetNamespaceUrlOk() (*string, bool)` +`func (o *DebPackageUploadResponse) GetNamespaceUrlOk() (*string, bool)` GetNamespaceUrlOk returns a tuple with the NamespaceUrl field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetNamespaceUrl -`func (o *ComposerPackageUpload) SetNamespaceUrl(v string)` +`func (o *DebPackageUploadResponse) SetNamespaceUrl(v string)` SetNamespaceUrl sets NamespaceUrl field to given value. ### HasNamespaceUrl -`func (o *ComposerPackageUpload) HasNamespaceUrl() bool` +`func (o *DebPackageUploadResponse) HasNamespaceUrl() bool` HasNamespaceUrl returns a boolean if a field has been set. ### GetNumFiles -`func (o *ComposerPackageUpload) GetNumFiles() int64` +`func (o *DebPackageUploadResponse) GetNumFiles() int64` GetNumFiles returns the NumFiles field if non-nil, zero value otherwise. ### GetNumFilesOk -`func (o *ComposerPackageUpload) GetNumFilesOk() (*int64, bool)` +`func (o *DebPackageUploadResponse) GetNumFilesOk() (*int64, bool)` GetNumFilesOk returns a tuple with the NumFiles field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetNumFiles -`func (o *ComposerPackageUpload) SetNumFiles(v int64)` +`func (o *DebPackageUploadResponse) SetNumFiles(v int64)` SetNumFiles sets NumFiles field to given value. ### HasNumFiles -`func (o *ComposerPackageUpload) HasNumFiles() bool` +`func (o *DebPackageUploadResponse) HasNumFiles() bool` HasNumFiles returns a boolean if a field has been set. +### GetOriginRepository + +`func (o *DebPackageUploadResponse) GetOriginRepository() string` + +GetOriginRepository returns the OriginRepository field if non-nil, zero value otherwise. + +### GetOriginRepositoryOk + +`func (o *DebPackageUploadResponse) GetOriginRepositoryOk() (*string, bool)` + +GetOriginRepositoryOk returns a tuple with the OriginRepository field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetOriginRepository + +`func (o *DebPackageUploadResponse) SetOriginRepository(v string)` + +SetOriginRepository sets OriginRepository field to given value. + +### HasOriginRepository + +`func (o *DebPackageUploadResponse) HasOriginRepository() bool` + +HasOriginRepository returns a boolean if a field has been set. + +### GetOriginRepositoryUrl + +`func (o *DebPackageUploadResponse) GetOriginRepositoryUrl() string` + +GetOriginRepositoryUrl returns the OriginRepositoryUrl field if non-nil, zero value otherwise. + +### GetOriginRepositoryUrlOk + +`func (o *DebPackageUploadResponse) GetOriginRepositoryUrlOk() (*string, bool)` + +GetOriginRepositoryUrlOk returns a tuple with the OriginRepositoryUrl field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetOriginRepositoryUrl + +`func (o *DebPackageUploadResponse) SetOriginRepositoryUrl(v string)` + +SetOriginRepositoryUrl sets OriginRepositoryUrl field to given value. + +### HasOriginRepositoryUrl + +`func (o *DebPackageUploadResponse) HasOriginRepositoryUrl() bool` + +HasOriginRepositoryUrl returns a boolean if a field has been set. + ### GetPackageType -`func (o *ComposerPackageUpload) GetPackageType() int64` +`func (o *DebPackageUploadResponse) GetPackageType() int64` GetPackageType returns the PackageType field if non-nil, zero value otherwise. ### GetPackageTypeOk -`func (o *ComposerPackageUpload) GetPackageTypeOk() (*int64, bool)` +`func (o *DebPackageUploadResponse) GetPackageTypeOk() (*int64, bool)` GetPackageTypeOk returns a tuple with the PackageType field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetPackageType -`func (o *ComposerPackageUpload) SetPackageType(v int64)` +`func (o *DebPackageUploadResponse) SetPackageType(v int64)` SetPackageType sets PackageType field to given value. ### HasPackageType -`func (o *ComposerPackageUpload) HasPackageType() bool` +`func (o *DebPackageUploadResponse) HasPackageType() bool` HasPackageType returns a boolean if a field has been set. ### GetRelease -`func (o *ComposerPackageUpload) GetRelease() string` +`func (o *DebPackageUploadResponse) GetRelease() string` GetRelease returns the Release field if non-nil, zero value otherwise. ### GetReleaseOk -`func (o *ComposerPackageUpload) GetReleaseOk() (*string, bool)` +`func (o *DebPackageUploadResponse) GetReleaseOk() (*string, bool)` GetReleaseOk returns a tuple with the Release field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetRelease -`func (o *ComposerPackageUpload) SetRelease(v string)` +`func (o *DebPackageUploadResponse) SetRelease(v string)` SetRelease sets Release field to given value. ### HasRelease -`func (o *ComposerPackageUpload) HasRelease() bool` +`func (o *DebPackageUploadResponse) HasRelease() bool` HasRelease returns a boolean if a field has been set. ### GetRepository -`func (o *ComposerPackageUpload) GetRepository() string` +`func (o *DebPackageUploadResponse) GetRepository() string` GetRepository returns the Repository field if non-nil, zero value otherwise. ### GetRepositoryOk -`func (o *ComposerPackageUpload) GetRepositoryOk() (*string, bool)` +`func (o *DebPackageUploadResponse) GetRepositoryOk() (*string, bool)` GetRepositoryOk returns a tuple with the Repository field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetRepository -`func (o *ComposerPackageUpload) SetRepository(v string)` +`func (o *DebPackageUploadResponse) SetRepository(v string)` SetRepository sets Repository field to given value. ### HasRepository -`func (o *ComposerPackageUpload) HasRepository() bool` +`func (o *DebPackageUploadResponse) HasRepository() bool` HasRepository returns a boolean if a field has been set. ### GetRepositoryUrl -`func (o *ComposerPackageUpload) GetRepositoryUrl() string` +`func (o *DebPackageUploadResponse) GetRepositoryUrl() string` GetRepositoryUrl returns the RepositoryUrl field if non-nil, zero value otherwise. ### GetRepositoryUrlOk -`func (o *ComposerPackageUpload) GetRepositoryUrlOk() (*string, bool)` +`func (o *DebPackageUploadResponse) GetRepositoryUrlOk() (*string, bool)` GetRepositoryUrlOk returns a tuple with the RepositoryUrl field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetRepositoryUrl -`func (o *ComposerPackageUpload) SetRepositoryUrl(v string)` +`func (o *DebPackageUploadResponse) SetRepositoryUrl(v string)` SetRepositoryUrl sets RepositoryUrl field to given value. ### HasRepositoryUrl -`func (o *ComposerPackageUpload) HasRepositoryUrl() bool` +`func (o *DebPackageUploadResponse) HasRepositoryUrl() bool` HasRepositoryUrl returns a boolean if a field has been set. ### GetSecurityScanCompletedAt -`func (o *ComposerPackageUpload) GetSecurityScanCompletedAt() string` +`func (o *DebPackageUploadResponse) GetSecurityScanCompletedAt() time.Time` GetSecurityScanCompletedAt returns the SecurityScanCompletedAt field if non-nil, zero value otherwise. ### GetSecurityScanCompletedAtOk -`func (o *ComposerPackageUpload) GetSecurityScanCompletedAtOk() (*string, bool)` +`func (o *DebPackageUploadResponse) GetSecurityScanCompletedAtOk() (*time.Time, bool)` GetSecurityScanCompletedAtOk returns a tuple with the SecurityScanCompletedAt field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetSecurityScanCompletedAt -`func (o *ComposerPackageUpload) SetSecurityScanCompletedAt(v string)` +`func (o *DebPackageUploadResponse) SetSecurityScanCompletedAt(v time.Time)` SetSecurityScanCompletedAt sets SecurityScanCompletedAt field to given value. ### HasSecurityScanCompletedAt -`func (o *ComposerPackageUpload) HasSecurityScanCompletedAt() bool` +`func (o *DebPackageUploadResponse) HasSecurityScanCompletedAt() bool` HasSecurityScanCompletedAt returns a boolean if a field has been set. ### GetSecurityScanStartedAt -`func (o *ComposerPackageUpload) GetSecurityScanStartedAt() string` +`func (o *DebPackageUploadResponse) GetSecurityScanStartedAt() time.Time` GetSecurityScanStartedAt returns the SecurityScanStartedAt field if non-nil, zero value otherwise. ### GetSecurityScanStartedAtOk -`func (o *ComposerPackageUpload) GetSecurityScanStartedAtOk() (*string, bool)` +`func (o *DebPackageUploadResponse) GetSecurityScanStartedAtOk() (*time.Time, bool)` GetSecurityScanStartedAtOk returns a tuple with the SecurityScanStartedAt field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetSecurityScanStartedAt -`func (o *ComposerPackageUpload) SetSecurityScanStartedAt(v string)` +`func (o *DebPackageUploadResponse) SetSecurityScanStartedAt(v time.Time)` SetSecurityScanStartedAt sets SecurityScanStartedAt field to given value. ### HasSecurityScanStartedAt -`func (o *ComposerPackageUpload) HasSecurityScanStartedAt() bool` +`func (o *DebPackageUploadResponse) HasSecurityScanStartedAt() bool` HasSecurityScanStartedAt returns a boolean if a field has been set. ### GetSecurityScanStatus -`func (o *ComposerPackageUpload) GetSecurityScanStatus() string` +`func (o *DebPackageUploadResponse) GetSecurityScanStatus() string` GetSecurityScanStatus returns the SecurityScanStatus field if non-nil, zero value otherwise. ### GetSecurityScanStatusOk -`func (o *ComposerPackageUpload) GetSecurityScanStatusOk() (*string, bool)` +`func (o *DebPackageUploadResponse) GetSecurityScanStatusOk() (*string, bool)` GetSecurityScanStatusOk returns a tuple with the SecurityScanStatus field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetSecurityScanStatus -`func (o *ComposerPackageUpload) SetSecurityScanStatus(v string)` +`func (o *DebPackageUploadResponse) SetSecurityScanStatus(v string)` SetSecurityScanStatus sets SecurityScanStatus field to given value. ### HasSecurityScanStatus -`func (o *ComposerPackageUpload) HasSecurityScanStatus() bool` +`func (o *DebPackageUploadResponse) HasSecurityScanStatus() bool` HasSecurityScanStatus returns a boolean if a field has been set. +### SetSecurityScanStatusNil + +`func (o *DebPackageUploadResponse) SetSecurityScanStatusNil(b bool)` + + SetSecurityScanStatusNil sets the value for SecurityScanStatus to be an explicit nil + +### UnsetSecurityScanStatus +`func (o *DebPackageUploadResponse) UnsetSecurityScanStatus()` + +UnsetSecurityScanStatus ensures that no value is present for SecurityScanStatus, not even an explicit nil ### GetSecurityScanStatusUpdatedAt -`func (o *ComposerPackageUpload) GetSecurityScanStatusUpdatedAt() string` +`func (o *DebPackageUploadResponse) GetSecurityScanStatusUpdatedAt() time.Time` GetSecurityScanStatusUpdatedAt returns the SecurityScanStatusUpdatedAt field if non-nil, zero value otherwise. ### GetSecurityScanStatusUpdatedAtOk -`func (o *ComposerPackageUpload) GetSecurityScanStatusUpdatedAtOk() (*string, bool)` +`func (o *DebPackageUploadResponse) GetSecurityScanStatusUpdatedAtOk() (*time.Time, bool)` GetSecurityScanStatusUpdatedAtOk returns a tuple with the SecurityScanStatusUpdatedAt field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetSecurityScanStatusUpdatedAt -`func (o *ComposerPackageUpload) SetSecurityScanStatusUpdatedAt(v string)` +`func (o *DebPackageUploadResponse) SetSecurityScanStatusUpdatedAt(v time.Time)` SetSecurityScanStatusUpdatedAt sets SecurityScanStatusUpdatedAt field to given value. ### HasSecurityScanStatusUpdatedAt -`func (o *ComposerPackageUpload) HasSecurityScanStatusUpdatedAt() bool` +`func (o *DebPackageUploadResponse) HasSecurityScanStatusUpdatedAt() bool` HasSecurityScanStatusUpdatedAt returns a boolean if a field has been set. ### GetSelfHtmlUrl -`func (o *ComposerPackageUpload) GetSelfHtmlUrl() string` +`func (o *DebPackageUploadResponse) GetSelfHtmlUrl() string` GetSelfHtmlUrl returns the SelfHtmlUrl field if non-nil, zero value otherwise. ### GetSelfHtmlUrlOk -`func (o *ComposerPackageUpload) GetSelfHtmlUrlOk() (*string, bool)` +`func (o *DebPackageUploadResponse) GetSelfHtmlUrlOk() (*string, bool)` GetSelfHtmlUrlOk returns a tuple with the SelfHtmlUrl field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetSelfHtmlUrl -`func (o *ComposerPackageUpload) SetSelfHtmlUrl(v string)` +`func (o *DebPackageUploadResponse) SetSelfHtmlUrl(v string)` SetSelfHtmlUrl sets SelfHtmlUrl field to given value. ### HasSelfHtmlUrl -`func (o *ComposerPackageUpload) HasSelfHtmlUrl() bool` +`func (o *DebPackageUploadResponse) HasSelfHtmlUrl() bool` HasSelfHtmlUrl returns a boolean if a field has been set. ### GetSelfUrl -`func (o *ComposerPackageUpload) GetSelfUrl() string` +`func (o *DebPackageUploadResponse) GetSelfUrl() string` GetSelfUrl returns the SelfUrl field if non-nil, zero value otherwise. ### GetSelfUrlOk -`func (o *ComposerPackageUpload) GetSelfUrlOk() (*string, bool)` +`func (o *DebPackageUploadResponse) GetSelfUrlOk() (*string, bool)` GetSelfUrlOk returns a tuple with the SelfUrl field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetSelfUrl -`func (o *ComposerPackageUpload) SetSelfUrl(v string)` +`func (o *DebPackageUploadResponse) SetSelfUrl(v string)` SetSelfUrl sets SelfUrl field to given value. ### HasSelfUrl -`func (o *ComposerPackageUpload) HasSelfUrl() bool` +`func (o *DebPackageUploadResponse) HasSelfUrl() bool` HasSelfUrl returns a boolean if a field has been set. ### GetSignatureUrl -`func (o *ComposerPackageUpload) GetSignatureUrl() string` +`func (o *DebPackageUploadResponse) GetSignatureUrl() string` GetSignatureUrl returns the SignatureUrl field if non-nil, zero value otherwise. ### GetSignatureUrlOk -`func (o *ComposerPackageUpload) GetSignatureUrlOk() (*string, bool)` +`func (o *DebPackageUploadResponse) GetSignatureUrlOk() (*string, bool)` GetSignatureUrlOk returns a tuple with the SignatureUrl field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetSignatureUrl -`func (o *ComposerPackageUpload) SetSignatureUrl(v string)` +`func (o *DebPackageUploadResponse) SetSignatureUrl(v string)` SetSignatureUrl sets SignatureUrl field to given value. ### HasSignatureUrl -`func (o *ComposerPackageUpload) HasSignatureUrl() bool` +`func (o *DebPackageUploadResponse) HasSignatureUrl() bool` HasSignatureUrl returns a boolean if a field has been set. +### SetSignatureUrlNil + +`func (o *DebPackageUploadResponse) SetSignatureUrlNil(b bool)` + + SetSignatureUrlNil sets the value for SignatureUrl to be an explicit nil + +### UnsetSignatureUrl +`func (o *DebPackageUploadResponse) UnsetSignatureUrl()` + +UnsetSignatureUrl ensures that no value is present for SignatureUrl, not even an explicit nil ### GetSize -`func (o *ComposerPackageUpload) GetSize() int64` +`func (o *DebPackageUploadResponse) GetSize() int64` GetSize returns the Size field if non-nil, zero value otherwise. ### GetSizeOk -`func (o *ComposerPackageUpload) GetSizeOk() (*int64, bool)` +`func (o *DebPackageUploadResponse) GetSizeOk() (*int64, bool)` GetSizeOk returns a tuple with the Size field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetSize -`func (o *ComposerPackageUpload) SetSize(v int64)` +`func (o *DebPackageUploadResponse) SetSize(v int64)` SetSize sets Size field to given value. ### HasSize -`func (o *ComposerPackageUpload) HasSize() bool` +`func (o *DebPackageUploadResponse) HasSize() bool` HasSize returns a boolean if a field has been set. ### GetSlug -`func (o *ComposerPackageUpload) GetSlug() string` +`func (o *DebPackageUploadResponse) GetSlug() string` GetSlug returns the Slug field if non-nil, zero value otherwise. ### GetSlugOk -`func (o *ComposerPackageUpload) GetSlugOk() (*string, bool)` +`func (o *DebPackageUploadResponse) GetSlugOk() (*string, bool)` GetSlugOk returns a tuple with the Slug field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetSlug -`func (o *ComposerPackageUpload) SetSlug(v string)` +`func (o *DebPackageUploadResponse) SetSlug(v string)` SetSlug sets Slug field to given value. ### HasSlug -`func (o *ComposerPackageUpload) HasSlug() bool` +`func (o *DebPackageUploadResponse) HasSlug() bool` HasSlug returns a boolean if a field has been set. ### GetSlugPerm -`func (o *ComposerPackageUpload) GetSlugPerm() string` +`func (o *DebPackageUploadResponse) GetSlugPerm() string` GetSlugPerm returns the SlugPerm field if non-nil, zero value otherwise. ### GetSlugPermOk -`func (o *ComposerPackageUpload) GetSlugPermOk() (*string, bool)` +`func (o *DebPackageUploadResponse) GetSlugPermOk() (*string, bool)` GetSlugPermOk returns a tuple with the SlugPerm field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetSlugPerm -`func (o *ComposerPackageUpload) SetSlugPerm(v string)` +`func (o *DebPackageUploadResponse) SetSlugPerm(v string)` SetSlugPerm sets SlugPerm field to given value. ### HasSlugPerm -`func (o *ComposerPackageUpload) HasSlugPerm() bool` +`func (o *DebPackageUploadResponse) HasSlugPerm() bool` HasSlugPerm returns a boolean if a field has been set. ### GetStage -`func (o *ComposerPackageUpload) GetStage() int64` +`func (o *DebPackageUploadResponse) GetStage() int64` GetStage returns the Stage field if non-nil, zero value otherwise. ### GetStageOk -`func (o *ComposerPackageUpload) GetStageOk() (*int64, bool)` +`func (o *DebPackageUploadResponse) GetStageOk() (*int64, bool)` GetStageOk returns a tuple with the Stage field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetStage -`func (o *ComposerPackageUpload) SetStage(v int64)` +`func (o *DebPackageUploadResponse) SetStage(v int64)` SetStage sets Stage field to given value. ### HasStage -`func (o *ComposerPackageUpload) HasStage() bool` +`func (o *DebPackageUploadResponse) HasStage() bool` HasStage returns a boolean if a field has been set. ### GetStageStr -`func (o *ComposerPackageUpload) GetStageStr() string` +`func (o *DebPackageUploadResponse) GetStageStr() string` GetStageStr returns the StageStr field if non-nil, zero value otherwise. ### GetStageStrOk -`func (o *ComposerPackageUpload) GetStageStrOk() (*string, bool)` +`func (o *DebPackageUploadResponse) GetStageStrOk() (*string, bool)` GetStageStrOk returns a tuple with the StageStr field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetStageStr -`func (o *ComposerPackageUpload) SetStageStr(v string)` +`func (o *DebPackageUploadResponse) SetStageStr(v string)` SetStageStr sets StageStr field to given value. ### HasStageStr -`func (o *ComposerPackageUpload) HasStageStr() bool` +`func (o *DebPackageUploadResponse) HasStageStr() bool` HasStageStr returns a boolean if a field has been set. ### GetStageUpdatedAt -`func (o *ComposerPackageUpload) GetStageUpdatedAt() string` +`func (o *DebPackageUploadResponse) GetStageUpdatedAt() time.Time` GetStageUpdatedAt returns the StageUpdatedAt field if non-nil, zero value otherwise. ### GetStageUpdatedAtOk -`func (o *ComposerPackageUpload) GetStageUpdatedAtOk() (*string, bool)` +`func (o *DebPackageUploadResponse) GetStageUpdatedAtOk() (*time.Time, bool)` GetStageUpdatedAtOk returns a tuple with the StageUpdatedAt field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetStageUpdatedAt -`func (o *ComposerPackageUpload) SetStageUpdatedAt(v string)` +`func (o *DebPackageUploadResponse) SetStageUpdatedAt(v time.Time)` SetStageUpdatedAt sets StageUpdatedAt field to given value. ### HasStageUpdatedAt -`func (o *ComposerPackageUpload) HasStageUpdatedAt() bool` +`func (o *DebPackageUploadResponse) HasStageUpdatedAt() bool` HasStageUpdatedAt returns a boolean if a field has been set. ### GetStatus -`func (o *ComposerPackageUpload) GetStatus() int64` +`func (o *DebPackageUploadResponse) GetStatus() int64` GetStatus returns the Status field if non-nil, zero value otherwise. ### GetStatusOk -`func (o *ComposerPackageUpload) GetStatusOk() (*int64, bool)` +`func (o *DebPackageUploadResponse) GetStatusOk() (*int64, bool)` GetStatusOk returns a tuple with the Status field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetStatus -`func (o *ComposerPackageUpload) SetStatus(v int64)` +`func (o *DebPackageUploadResponse) SetStatus(v int64)` SetStatus sets Status field to given value. ### HasStatus -`func (o *ComposerPackageUpload) HasStatus() bool` +`func (o *DebPackageUploadResponse) HasStatus() bool` HasStatus returns a boolean if a field has been set. ### GetStatusReason -`func (o *ComposerPackageUpload) GetStatusReason() string` +`func (o *DebPackageUploadResponse) GetStatusReason() string` GetStatusReason returns the StatusReason field if non-nil, zero value otherwise. ### GetStatusReasonOk -`func (o *ComposerPackageUpload) GetStatusReasonOk() (*string, bool)` +`func (o *DebPackageUploadResponse) GetStatusReasonOk() (*string, bool)` GetStatusReasonOk returns a tuple with the StatusReason field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetStatusReason -`func (o *ComposerPackageUpload) SetStatusReason(v string)` +`func (o *DebPackageUploadResponse) SetStatusReason(v string)` SetStatusReason sets StatusReason field to given value. ### HasStatusReason -`func (o *ComposerPackageUpload) HasStatusReason() bool` +`func (o *DebPackageUploadResponse) HasStatusReason() bool` HasStatusReason returns a boolean if a field has been set. ### GetStatusStr -`func (o *ComposerPackageUpload) GetStatusStr() string` +`func (o *DebPackageUploadResponse) GetStatusStr() string` GetStatusStr returns the StatusStr field if non-nil, zero value otherwise. ### GetStatusStrOk -`func (o *ComposerPackageUpload) GetStatusStrOk() (*string, bool)` +`func (o *DebPackageUploadResponse) GetStatusStrOk() (*string, bool)` GetStatusStrOk returns a tuple with the StatusStr field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetStatusStr -`func (o *ComposerPackageUpload) SetStatusStr(v string)` +`func (o *DebPackageUploadResponse) SetStatusStr(v string)` SetStatusStr sets StatusStr field to given value. ### HasStatusStr -`func (o *ComposerPackageUpload) HasStatusStr() bool` +`func (o *DebPackageUploadResponse) HasStatusStr() bool` HasStatusStr returns a boolean if a field has been set. ### GetStatusUpdatedAt -`func (o *ComposerPackageUpload) GetStatusUpdatedAt() string` +`func (o *DebPackageUploadResponse) GetStatusUpdatedAt() time.Time` GetStatusUpdatedAt returns the StatusUpdatedAt field if non-nil, zero value otherwise. ### GetStatusUpdatedAtOk -`func (o *ComposerPackageUpload) GetStatusUpdatedAtOk() (*string, bool)` +`func (o *DebPackageUploadResponse) GetStatusUpdatedAtOk() (*time.Time, bool)` GetStatusUpdatedAtOk returns a tuple with the StatusUpdatedAt field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetStatusUpdatedAt -`func (o *ComposerPackageUpload) SetStatusUpdatedAt(v string)` +`func (o *DebPackageUploadResponse) SetStatusUpdatedAt(v time.Time)` SetStatusUpdatedAt sets StatusUpdatedAt field to given value. ### HasStatusUpdatedAt -`func (o *ComposerPackageUpload) HasStatusUpdatedAt() bool` +`func (o *DebPackageUploadResponse) HasStatusUpdatedAt() bool` HasStatusUpdatedAt returns a boolean if a field has been set. ### GetStatusUrl -`func (o *ComposerPackageUpload) GetStatusUrl() string` +`func (o *DebPackageUploadResponse) GetStatusUrl() string` GetStatusUrl returns the StatusUrl field if non-nil, zero value otherwise. ### GetStatusUrlOk -`func (o *ComposerPackageUpload) GetStatusUrlOk() (*string, bool)` +`func (o *DebPackageUploadResponse) GetStatusUrlOk() (*string, bool)` GetStatusUrlOk returns a tuple with the StatusUrl field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetStatusUrl -`func (o *ComposerPackageUpload) SetStatusUrl(v string)` +`func (o *DebPackageUploadResponse) SetStatusUrl(v string)` SetStatusUrl sets StatusUrl field to given value. ### HasStatusUrl -`func (o *ComposerPackageUpload) HasStatusUrl() bool` +`func (o *DebPackageUploadResponse) HasStatusUrl() bool` HasStatusUrl returns a boolean if a field has been set. ### GetSubtype -`func (o *ComposerPackageUpload) GetSubtype() string` +`func (o *DebPackageUploadResponse) GetSubtype() string` GetSubtype returns the Subtype field if non-nil, zero value otherwise. ### GetSubtypeOk -`func (o *ComposerPackageUpload) GetSubtypeOk() (*string, bool)` +`func (o *DebPackageUploadResponse) GetSubtypeOk() (*string, bool)` GetSubtypeOk returns a tuple with the Subtype field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetSubtype -`func (o *ComposerPackageUpload) SetSubtype(v string)` +`func (o *DebPackageUploadResponse) SetSubtype(v string)` SetSubtype sets Subtype field to given value. ### HasSubtype -`func (o *ComposerPackageUpload) HasSubtype() bool` +`func (o *DebPackageUploadResponse) HasSubtype() bool` HasSubtype returns a boolean if a field has been set. ### GetSummary -`func (o *ComposerPackageUpload) GetSummary() string` +`func (o *DebPackageUploadResponse) GetSummary() string` GetSummary returns the Summary field if non-nil, zero value otherwise. ### GetSummaryOk -`func (o *ComposerPackageUpload) GetSummaryOk() (*string, bool)` +`func (o *DebPackageUploadResponse) GetSummaryOk() (*string, bool)` GetSummaryOk returns a tuple with the Summary field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetSummary -`func (o *ComposerPackageUpload) SetSummary(v string)` +`func (o *DebPackageUploadResponse) SetSummary(v string)` SetSummary sets Summary field to given value. ### HasSummary -`func (o *ComposerPackageUpload) HasSummary() bool` +`func (o *DebPackageUploadResponse) HasSummary() bool` HasSummary returns a boolean if a field has been set. ### GetSyncFinishedAt -`func (o *ComposerPackageUpload) GetSyncFinishedAt() string` +`func (o *DebPackageUploadResponse) GetSyncFinishedAt() time.Time` GetSyncFinishedAt returns the SyncFinishedAt field if non-nil, zero value otherwise. ### GetSyncFinishedAtOk -`func (o *ComposerPackageUpload) GetSyncFinishedAtOk() (*string, bool)` +`func (o *DebPackageUploadResponse) GetSyncFinishedAtOk() (*time.Time, bool)` GetSyncFinishedAtOk returns a tuple with the SyncFinishedAt field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetSyncFinishedAt -`func (o *ComposerPackageUpload) SetSyncFinishedAt(v string)` +`func (o *DebPackageUploadResponse) SetSyncFinishedAt(v time.Time)` SetSyncFinishedAt sets SyncFinishedAt field to given value. ### HasSyncFinishedAt -`func (o *ComposerPackageUpload) HasSyncFinishedAt() bool` +`func (o *DebPackageUploadResponse) HasSyncFinishedAt() bool` HasSyncFinishedAt returns a boolean if a field has been set. ### GetSyncProgress -`func (o *ComposerPackageUpload) GetSyncProgress() int64` +`func (o *DebPackageUploadResponse) GetSyncProgress() int64` GetSyncProgress returns the SyncProgress field if non-nil, zero value otherwise. ### GetSyncProgressOk -`func (o *ComposerPackageUpload) GetSyncProgressOk() (*int64, bool)` +`func (o *DebPackageUploadResponse) GetSyncProgressOk() (*int64, bool)` GetSyncProgressOk returns a tuple with the SyncProgress field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetSyncProgress -`func (o *ComposerPackageUpload) SetSyncProgress(v int64)` +`func (o *DebPackageUploadResponse) SetSyncProgress(v int64)` SetSyncProgress sets SyncProgress field to given value. ### HasSyncProgress -`func (o *ComposerPackageUpload) HasSyncProgress() bool` +`func (o *DebPackageUploadResponse) HasSyncProgress() bool` HasSyncProgress returns a boolean if a field has been set. ### GetTagsImmutable -`func (o *ComposerPackageUpload) GetTagsImmutable() map[string]interface{}` +`func (o *DebPackageUploadResponse) GetTagsImmutable() map[string]interface{}` GetTagsImmutable returns the TagsImmutable field if non-nil, zero value otherwise. ### GetTagsImmutableOk -`func (o *ComposerPackageUpload) GetTagsImmutableOk() (*map[string]interface{}, bool)` +`func (o *DebPackageUploadResponse) GetTagsImmutableOk() (*map[string]interface{}, bool)` GetTagsImmutableOk returns a tuple with the TagsImmutable field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetTagsImmutable -`func (o *ComposerPackageUpload) SetTagsImmutable(v map[string]interface{})` +`func (o *DebPackageUploadResponse) SetTagsImmutable(v map[string]interface{})` SetTagsImmutable sets TagsImmutable field to given value. ### HasTagsImmutable -`func (o *ComposerPackageUpload) HasTagsImmutable() bool` +`func (o *DebPackageUploadResponse) HasTagsImmutable() bool` HasTagsImmutable returns a boolean if a field has been set. ### GetTypeDisplay -`func (o *ComposerPackageUpload) GetTypeDisplay() string` +`func (o *DebPackageUploadResponse) GetTypeDisplay() string` GetTypeDisplay returns the TypeDisplay field if non-nil, zero value otherwise. ### GetTypeDisplayOk -`func (o *ComposerPackageUpload) GetTypeDisplayOk() (*string, bool)` +`func (o *DebPackageUploadResponse) GetTypeDisplayOk() (*string, bool)` GetTypeDisplayOk returns a tuple with the TypeDisplay field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetTypeDisplay -`func (o *ComposerPackageUpload) SetTypeDisplay(v string)` +`func (o *DebPackageUploadResponse) SetTypeDisplay(v string)` SetTypeDisplay sets TypeDisplay field to given value. ### HasTypeDisplay -`func (o *ComposerPackageUpload) HasTypeDisplay() bool` +`func (o *DebPackageUploadResponse) HasTypeDisplay() bool` HasTypeDisplay returns a boolean if a field has been set. ### GetUploadedAt -`func (o *ComposerPackageUpload) GetUploadedAt() string` +`func (o *DebPackageUploadResponse) GetUploadedAt() time.Time` GetUploadedAt returns the UploadedAt field if non-nil, zero value otherwise. ### GetUploadedAtOk -`func (o *ComposerPackageUpload) GetUploadedAtOk() (*string, bool)` +`func (o *DebPackageUploadResponse) GetUploadedAtOk() (*time.Time, bool)` GetUploadedAtOk returns a tuple with the UploadedAt field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetUploadedAt -`func (o *ComposerPackageUpload) SetUploadedAt(v string)` +`func (o *DebPackageUploadResponse) SetUploadedAt(v time.Time)` SetUploadedAt sets UploadedAt field to given value. ### HasUploadedAt -`func (o *ComposerPackageUpload) HasUploadedAt() bool` +`func (o *DebPackageUploadResponse) HasUploadedAt() bool` HasUploadedAt returns a boolean if a field has been set. ### GetUploader -`func (o *ComposerPackageUpload) GetUploader() string` +`func (o *DebPackageUploadResponse) GetUploader() string` GetUploader returns the Uploader field if non-nil, zero value otherwise. ### GetUploaderOk -`func (o *ComposerPackageUpload) GetUploaderOk() (*string, bool)` +`func (o *DebPackageUploadResponse) GetUploaderOk() (*string, bool)` GetUploaderOk returns a tuple with the Uploader field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetUploader -`func (o *ComposerPackageUpload) SetUploader(v string)` +`func (o *DebPackageUploadResponse) SetUploader(v string)` SetUploader sets Uploader field to given value. ### HasUploader -`func (o *ComposerPackageUpload) HasUploader() bool` +`func (o *DebPackageUploadResponse) HasUploader() bool` HasUploader returns a boolean if a field has been set. ### GetUploaderUrl -`func (o *ComposerPackageUpload) GetUploaderUrl() string` +`func (o *DebPackageUploadResponse) GetUploaderUrl() string` GetUploaderUrl returns the UploaderUrl field if non-nil, zero value otherwise. ### GetUploaderUrlOk -`func (o *ComposerPackageUpload) GetUploaderUrlOk() (*string, bool)` +`func (o *DebPackageUploadResponse) GetUploaderUrlOk() (*string, bool)` GetUploaderUrlOk returns a tuple with the UploaderUrl field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetUploaderUrl -`func (o *ComposerPackageUpload) SetUploaderUrl(v string)` +`func (o *DebPackageUploadResponse) SetUploaderUrl(v string)` SetUploaderUrl sets UploaderUrl field to given value. ### HasUploaderUrl -`func (o *ComposerPackageUpload) HasUploaderUrl() bool` +`func (o *DebPackageUploadResponse) HasUploaderUrl() bool` HasUploaderUrl returns a boolean if a field has been set. ### GetVersion -`func (o *ComposerPackageUpload) GetVersion() string` +`func (o *DebPackageUploadResponse) GetVersion() string` GetVersion returns the Version field if non-nil, zero value otherwise. ### GetVersionOk -`func (o *ComposerPackageUpload) GetVersionOk() (*string, bool)` +`func (o *DebPackageUploadResponse) GetVersionOk() (*string, bool)` GetVersionOk returns a tuple with the Version field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetVersion -`func (o *ComposerPackageUpload) SetVersion(v string)` +`func (o *DebPackageUploadResponse) SetVersion(v string)` SetVersion sets Version field to given value. ### HasVersion -`func (o *ComposerPackageUpload) HasVersion() bool` +`func (o *DebPackageUploadResponse) HasVersion() bool` HasVersion returns a boolean if a field has been set. ### GetVersionOrig -`func (o *ComposerPackageUpload) GetVersionOrig() string` +`func (o *DebPackageUploadResponse) GetVersionOrig() string` GetVersionOrig returns the VersionOrig field if non-nil, zero value otherwise. ### GetVersionOrigOk -`func (o *ComposerPackageUpload) GetVersionOrigOk() (*string, bool)` +`func (o *DebPackageUploadResponse) GetVersionOrigOk() (*string, bool)` GetVersionOrigOk returns a tuple with the VersionOrig field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetVersionOrig -`func (o *ComposerPackageUpload) SetVersionOrig(v string)` +`func (o *DebPackageUploadResponse) SetVersionOrig(v string)` SetVersionOrig sets VersionOrig field to given value. ### HasVersionOrig -`func (o *ComposerPackageUpload) HasVersionOrig() bool` +`func (o *DebPackageUploadResponse) HasVersionOrig() bool` HasVersionOrig returns a boolean if a field has been set. ### GetVulnerabilityScanResultsUrl -`func (o *ComposerPackageUpload) GetVulnerabilityScanResultsUrl() string` +`func (o *DebPackageUploadResponse) GetVulnerabilityScanResultsUrl() string` GetVulnerabilityScanResultsUrl returns the VulnerabilityScanResultsUrl field if non-nil, zero value otherwise. ### GetVulnerabilityScanResultsUrlOk -`func (o *ComposerPackageUpload) GetVulnerabilityScanResultsUrlOk() (*string, bool)` +`func (o *DebPackageUploadResponse) GetVulnerabilityScanResultsUrlOk() (*string, bool)` GetVulnerabilityScanResultsUrlOk returns a tuple with the VulnerabilityScanResultsUrl field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetVulnerabilityScanResultsUrl -`func (o *ComposerPackageUpload) SetVulnerabilityScanResultsUrl(v string)` +`func (o *DebPackageUploadResponse) SetVulnerabilityScanResultsUrl(v string)` SetVulnerabilityScanResultsUrl sets VulnerabilityScanResultsUrl field to given value. ### HasVulnerabilityScanResultsUrl -`func (o *ComposerPackageUpload) HasVulnerabilityScanResultsUrl() bool` +`func (o *DebPackageUploadResponse) HasVulnerabilityScanResultsUrl() bool` HasVulnerabilityScanResultsUrl returns a boolean if a field has been set. diff --git a/docs/Distribution.md b/docs/Distribution.md index 0ecfc559..89f2be7b 100644 --- a/docs/Distribution.md +++ b/docs/Distribution.md @@ -4,13 +4,10 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**Format** | Pointer to **string** | | [optional] -**FormatUrl** | Pointer to **string** | | [optional] **Name** | **string** | | -**SelfUrl** | Pointer to **string** | | [optional] -**Slug** | Pointer to **string** | The slug identifier for this distribution | [optional] -**Variants** | Pointer to **string** | | [optional] -**Versions** | Pointer to [**[]DistrosVersions**](DistrosVersions.md) | A list of the versions for this distribution | [optional] +**SelfUrl** | Pointer to **string** | | [optional] [readonly] +**Slug** | Pointer to **string** | The slug identifier for this distribution | [optional] [readonly] +**Variants** | Pointer to **NullableString** | | [optional] ## Methods @@ -31,56 +28,6 @@ NewDistributionWithDefaults instantiates a new Distribution object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set -### GetFormat - -`func (o *Distribution) GetFormat() string` - -GetFormat returns the Format field if non-nil, zero value otherwise. - -### GetFormatOk - -`func (o *Distribution) GetFormatOk() (*string, bool)` - -GetFormatOk returns a tuple with the Format field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetFormat - -`func (o *Distribution) SetFormat(v string)` - -SetFormat sets Format field to given value. - -### HasFormat - -`func (o *Distribution) HasFormat() bool` - -HasFormat returns a boolean if a field has been set. - -### GetFormatUrl - -`func (o *Distribution) GetFormatUrl() string` - -GetFormatUrl returns the FormatUrl field if non-nil, zero value otherwise. - -### GetFormatUrlOk - -`func (o *Distribution) GetFormatUrlOk() (*string, bool)` - -GetFormatUrlOk returns a tuple with the FormatUrl field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetFormatUrl - -`func (o *Distribution) SetFormatUrl(v string)` - -SetFormatUrl sets FormatUrl field to given value. - -### HasFormatUrl - -`func (o *Distribution) HasFormatUrl() bool` - -HasFormatUrl returns a boolean if a field has been set. - ### GetName `func (o *Distribution) GetName() string` @@ -176,31 +123,16 @@ SetVariants sets Variants field to given value. HasVariants returns a boolean if a field has been set. -### GetVersions - -`func (o *Distribution) GetVersions() []DistrosVersions` - -GetVersions returns the Versions field if non-nil, zero value otherwise. - -### GetVersionsOk - -`func (o *Distribution) GetVersionsOk() (*[]DistrosVersions, bool)` - -GetVersionsOk returns a tuple with the Versions field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetVersions - -`func (o *Distribution) SetVersions(v []DistrosVersions)` - -SetVersions sets Versions field to given value. +### SetVariantsNil -### HasVersions +`func (o *Distribution) SetVariantsNil(b bool)` -`func (o *Distribution) HasVersions() bool` + SetVariantsNil sets the value for Variants to be an explicit nil -HasVersions returns a boolean if a field has been set. +### UnsetVariants +`func (o *Distribution) UnsetVariants()` +UnsetVariants ensures that no value is present for Variants, 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/docs/DistributionResponse.md b/docs/DistributionResponse.md new file mode 100644 index 00000000..462fafb8 --- /dev/null +++ b/docs/DistributionResponse.md @@ -0,0 +1,217 @@ +# DistributionResponse + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Format** | Pointer to **string** | | [optional] [readonly] +**FormatUrl** | Pointer to **string** | | [optional] [readonly] +**Name** | **string** | | +**SelfUrl** | Pointer to **string** | | [optional] [readonly] +**Slug** | Pointer to **string** | The slug identifier for this distribution | [optional] [readonly] +**Variants** | Pointer to **NullableString** | | [optional] +**Versions** | Pointer to [**[]DistributionVersion**](DistributionVersion.md) | A list of the versions for this distribution | [optional] [readonly] + +## Methods + +### NewDistributionResponse + +`func NewDistributionResponse(name string, ) *DistributionResponse` + +NewDistributionResponse instantiates a new DistributionResponse object +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 + +### NewDistributionResponseWithDefaults + +`func NewDistributionResponseWithDefaults() *DistributionResponse` + +NewDistributionResponseWithDefaults instantiates a new DistributionResponse object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetFormat + +`func (o *DistributionResponse) GetFormat() string` + +GetFormat returns the Format field if non-nil, zero value otherwise. + +### GetFormatOk + +`func (o *DistributionResponse) GetFormatOk() (*string, bool)` + +GetFormatOk returns a tuple with the Format field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetFormat + +`func (o *DistributionResponse) SetFormat(v string)` + +SetFormat sets Format field to given value. + +### HasFormat + +`func (o *DistributionResponse) HasFormat() bool` + +HasFormat returns a boolean if a field has been set. + +### GetFormatUrl + +`func (o *DistributionResponse) GetFormatUrl() string` + +GetFormatUrl returns the FormatUrl field if non-nil, zero value otherwise. + +### GetFormatUrlOk + +`func (o *DistributionResponse) GetFormatUrlOk() (*string, bool)` + +GetFormatUrlOk returns a tuple with the FormatUrl field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetFormatUrl + +`func (o *DistributionResponse) SetFormatUrl(v string)` + +SetFormatUrl sets FormatUrl field to given value. + +### HasFormatUrl + +`func (o *DistributionResponse) HasFormatUrl() bool` + +HasFormatUrl returns a boolean if a field has been set. + +### GetName + +`func (o *DistributionResponse) GetName() string` + +GetName returns the Name field if non-nil, zero value otherwise. + +### GetNameOk + +`func (o *DistributionResponse) GetNameOk() (*string, bool)` + +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. + +### SetName + +`func (o *DistributionResponse) SetName(v string)` + +SetName sets Name field to given value. + + +### GetSelfUrl + +`func (o *DistributionResponse) GetSelfUrl() string` + +GetSelfUrl returns the SelfUrl field if non-nil, zero value otherwise. + +### GetSelfUrlOk + +`func (o *DistributionResponse) GetSelfUrlOk() (*string, bool)` + +GetSelfUrlOk returns a tuple with the SelfUrl field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetSelfUrl + +`func (o *DistributionResponse) SetSelfUrl(v string)` + +SetSelfUrl sets SelfUrl field to given value. + +### HasSelfUrl + +`func (o *DistributionResponse) HasSelfUrl() bool` + +HasSelfUrl returns a boolean if a field has been set. + +### GetSlug + +`func (o *DistributionResponse) GetSlug() string` + +GetSlug returns the Slug field if non-nil, zero value otherwise. + +### GetSlugOk + +`func (o *DistributionResponse) GetSlugOk() (*string, bool)` + +GetSlugOk returns a tuple with the Slug field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetSlug + +`func (o *DistributionResponse) SetSlug(v string)` + +SetSlug sets Slug field to given value. + +### HasSlug + +`func (o *DistributionResponse) HasSlug() bool` + +HasSlug returns a boolean if a field has been set. + +### GetVariants + +`func (o *DistributionResponse) GetVariants() string` + +GetVariants returns the Variants field if non-nil, zero value otherwise. + +### GetVariantsOk + +`func (o *DistributionResponse) GetVariantsOk() (*string, bool)` + +GetVariantsOk returns a tuple with the Variants field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetVariants + +`func (o *DistributionResponse) SetVariants(v string)` + +SetVariants sets Variants field to given value. + +### HasVariants + +`func (o *DistributionResponse) HasVariants() bool` + +HasVariants returns a boolean if a field has been set. + +### SetVariantsNil + +`func (o *DistributionResponse) SetVariantsNil(b bool)` + + SetVariantsNil sets the value for Variants to be an explicit nil + +### UnsetVariants +`func (o *DistributionResponse) UnsetVariants()` + +UnsetVariants ensures that no value is present for Variants, not even an explicit nil +### GetVersions + +`func (o *DistributionResponse) GetVersions() []DistributionVersion` + +GetVersions returns the Versions field if non-nil, zero value otherwise. + +### GetVersionsOk + +`func (o *DistributionResponse) GetVersionsOk() (*[]DistributionVersion, bool)` + +GetVersionsOk returns a tuple with the Versions field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetVersions + +`func (o *DistributionResponse) SetVersions(v []DistributionVersion)` + +SetVersions sets Versions field to given value. + +### HasVersions + +`func (o *DistributionResponse) HasVersions() bool` + +HasVersions 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/docs/DistrosVersions.md b/docs/DistributionVersion.md similarity index 65% rename from docs/DistrosVersions.md rename to docs/DistributionVersion.md index b3fbc43e..868985b2 100644 --- a/docs/DistrosVersions.md +++ b/docs/DistributionVersion.md @@ -1,78 +1,78 @@ -# DistrosVersions +# DistributionVersion ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **Name** | Pointer to **string** | The textual name for this version. | [optional] -**Slug** | Pointer to **string** | The slug identifier for this version | [optional] +**Slug** | Pointer to **string** | The slug identifier for this version | [optional] [readonly] ## Methods -### NewDistrosVersions +### NewDistributionVersion -`func NewDistrosVersions() *DistrosVersions` +`func NewDistributionVersion() *DistributionVersion` -NewDistrosVersions instantiates a new DistrosVersions object +NewDistributionVersion instantiates a new DistributionVersion object 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 -### NewDistrosVersionsWithDefaults +### NewDistributionVersionWithDefaults -`func NewDistrosVersionsWithDefaults() *DistrosVersions` +`func NewDistributionVersionWithDefaults() *DistributionVersion` -NewDistrosVersionsWithDefaults instantiates a new DistrosVersions object +NewDistributionVersionWithDefaults instantiates a new DistributionVersion object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set ### GetName -`func (o *DistrosVersions) GetName() string` +`func (o *DistributionVersion) GetName() string` GetName returns the Name field if non-nil, zero value otherwise. ### GetNameOk -`func (o *DistrosVersions) GetNameOk() (*string, bool)` +`func (o *DistributionVersion) GetNameOk() (*string, bool)` 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. ### SetName -`func (o *DistrosVersions) SetName(v string)` +`func (o *DistributionVersion) SetName(v string)` SetName sets Name field to given value. ### HasName -`func (o *DistrosVersions) HasName() bool` +`func (o *DistributionVersion) HasName() bool` HasName returns a boolean if a field has been set. ### GetSlug -`func (o *DistrosVersions) GetSlug() string` +`func (o *DistributionVersion) GetSlug() string` GetSlug returns the Slug field if non-nil, zero value otherwise. ### GetSlugOk -`func (o *DistrosVersions) GetSlugOk() (*string, bool)` +`func (o *DistributionVersion) GetSlugOk() (*string, bool)` GetSlugOk returns a tuple with the Slug field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetSlug -`func (o *DistrosVersions) SetSlug(v string)` +`func (o *DistributionVersion) SetSlug(v string)` SetSlug sets Slug field to given value. ### HasSlug -`func (o *DistrosVersions) HasSlug() bool` +`func (o *DistributionVersion) HasSlug() bool` HasSlug returns a boolean if a field has been set. diff --git a/docs/DistrosApi.md b/docs/DistrosApi.md index 19e8d128..c032b091 100644 --- a/docs/DistrosApi.md +++ b/docs/DistrosApi.md @@ -11,7 +11,7 @@ Method | HTTP request | Description ## DistrosList -> []Distribution DistrosList(ctx).Execute() +> []DistributionResponse DistrosList(ctx).Execute() Get a list of all supported distributions. @@ -38,7 +38,7 @@ func main() { fmt.Fprintf(os.Stderr, "Error when calling `DistrosApi.DistrosList``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } - // response from `DistrosList`: []Distribution + // response from `DistrosList`: []DistributionResponse fmt.Fprintf(os.Stdout, "Response from `DistrosApi.DistrosList`: %v\n", resp) } ``` @@ -54,7 +54,7 @@ Other parameters are passed through a pointer to a apiDistrosListRequest struct ### Return type -[**[]Distribution**](Distribution.md) +[**[]DistributionResponse**](DistributionResponse.md) ### Authorization @@ -63,7 +63,7 @@ Other parameters are passed through a pointer to a apiDistrosListRequest struct ### HTTP request headers - **Content-Type**: Not defined -- **Accept**: */* +- **Accept**: application/json [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) @@ -72,7 +72,7 @@ Other parameters are passed through a pointer to a apiDistrosListRequest struct ## DistrosRead -> Distribution DistrosRead(ctx, slug).Execute() +> DistributionResponse DistrosRead(ctx, slug).Execute() View for viewing/listing distributions. @@ -100,7 +100,7 @@ func main() { fmt.Fprintf(os.Stderr, "Error when calling `DistrosApi.DistrosRead``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } - // response from `DistrosRead`: Distribution + // response from `DistrosRead`: DistributionResponse fmt.Fprintf(os.Stdout, "Response from `DistrosApi.DistrosRead`: %v\n", resp) } ``` @@ -124,7 +124,7 @@ Name | Type | Description | Notes ### Return type -[**Distribution**](Distribution.md) +[**DistributionResponse**](DistributionResponse.md) ### Authorization @@ -133,7 +133,7 @@ Name | Type | Description | Notes ### HTTP request headers - **Content-Type**: Not defined -- **Accept**: */* +- **Accept**: application/json [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) diff --git a/docs/PackagesValidateUploadCran.md b/docs/DockerPackageUploadRequest.md similarity index 57% rename from docs/PackagesValidateUploadCran.md rename to docs/DockerPackageUploadRequest.md index 9f43d12e..3c01c199 100644 --- a/docs/PackagesValidateUploadCran.md +++ b/docs/DockerPackageUploadRequest.md @@ -1,4 +1,4 @@ -# PackagesValidateUploadCran +# DockerPackageUploadRequest ## Properties @@ -6,97 +6,107 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **PackageFile** | **string** | The primary file for the package. | **Republish** | Pointer to **bool** | If true, the uploaded package will overwrite any others with the same attributes (e.g. same version); otherwise, it will be flagged as a duplicate. | [optional] -**Tags** | Pointer to **string** | A comma-separated values list of tags to add to the package. | [optional] +**Tags** | Pointer to **NullableString** | A comma-separated values list of tags to add to the package. | [optional] ## Methods -### NewPackagesValidateUploadCran +### NewDockerPackageUploadRequest -`func NewPackagesValidateUploadCran(packageFile string, ) *PackagesValidateUploadCran` +`func NewDockerPackageUploadRequest(packageFile string, ) *DockerPackageUploadRequest` -NewPackagesValidateUploadCran instantiates a new PackagesValidateUploadCran object +NewDockerPackageUploadRequest instantiates a new DockerPackageUploadRequest object 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 -### NewPackagesValidateUploadCranWithDefaults +### NewDockerPackageUploadRequestWithDefaults -`func NewPackagesValidateUploadCranWithDefaults() *PackagesValidateUploadCran` +`func NewDockerPackageUploadRequestWithDefaults() *DockerPackageUploadRequest` -NewPackagesValidateUploadCranWithDefaults instantiates a new PackagesValidateUploadCran object +NewDockerPackageUploadRequestWithDefaults instantiates a new DockerPackageUploadRequest object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set ### GetPackageFile -`func (o *PackagesValidateUploadCran) GetPackageFile() string` +`func (o *DockerPackageUploadRequest) GetPackageFile() string` GetPackageFile returns the PackageFile field if non-nil, zero value otherwise. ### GetPackageFileOk -`func (o *PackagesValidateUploadCran) GetPackageFileOk() (*string, bool)` +`func (o *DockerPackageUploadRequest) GetPackageFileOk() (*string, bool)` GetPackageFileOk returns a tuple with the PackageFile field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetPackageFile -`func (o *PackagesValidateUploadCran) SetPackageFile(v string)` +`func (o *DockerPackageUploadRequest) SetPackageFile(v string)` SetPackageFile sets PackageFile field to given value. ### GetRepublish -`func (o *PackagesValidateUploadCran) GetRepublish() bool` +`func (o *DockerPackageUploadRequest) GetRepublish() bool` GetRepublish returns the Republish field if non-nil, zero value otherwise. ### GetRepublishOk -`func (o *PackagesValidateUploadCran) GetRepublishOk() (*bool, bool)` +`func (o *DockerPackageUploadRequest) GetRepublishOk() (*bool, bool)` GetRepublishOk returns a tuple with the Republish field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetRepublish -`func (o *PackagesValidateUploadCran) SetRepublish(v bool)` +`func (o *DockerPackageUploadRequest) SetRepublish(v bool)` SetRepublish sets Republish field to given value. ### HasRepublish -`func (o *PackagesValidateUploadCran) HasRepublish() bool` +`func (o *DockerPackageUploadRequest) HasRepublish() bool` HasRepublish returns a boolean if a field has been set. ### GetTags -`func (o *PackagesValidateUploadCran) GetTags() string` +`func (o *DockerPackageUploadRequest) GetTags() string` GetTags returns the Tags field if non-nil, zero value otherwise. ### GetTagsOk -`func (o *PackagesValidateUploadCran) GetTagsOk() (*string, bool)` +`func (o *DockerPackageUploadRequest) GetTagsOk() (*string, bool)` GetTagsOk returns a tuple with the Tags field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetTags -`func (o *PackagesValidateUploadCran) SetTags(v string)` +`func (o *DockerPackageUploadRequest) SetTags(v string)` SetTags sets Tags field to given value. ### HasTags -`func (o *PackagesValidateUploadCran) HasTags() bool` +`func (o *DockerPackageUploadRequest) HasTags() bool` HasTags returns a boolean if a field has been set. +### SetTagsNil + +`func (o *DockerPackageUploadRequest) SetTagsNil(b bool)` + + SetTagsNil sets the value for Tags to be an explicit nil + +### UnsetTags +`func (o *DockerPackageUploadRequest) UnsetTags()` + +UnsetTags ensures that no value is present for Tags, 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/docs/DockerPackageUploadResponse.md b/docs/DockerPackageUploadResponse.md new file mode 100644 index 00000000..9d0c8e9b --- /dev/null +++ b/docs/DockerPackageUploadResponse.md @@ -0,0 +1,1838 @@ +# DockerPackageUploadResponse + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Architectures** | Pointer to [**[]Architecture**](Architecture.md) | | [optional] [readonly] +**CdnUrl** | Pointer to **NullableString** | | [optional] [readonly] +**ChecksumMd5** | Pointer to **string** | | [optional] [readonly] +**ChecksumSha1** | Pointer to **string** | | [optional] [readonly] +**ChecksumSha256** | Pointer to **string** | | [optional] [readonly] +**ChecksumSha512** | Pointer to **string** | | [optional] [readonly] +**DependenciesChecksumMd5** | Pointer to **string** | A checksum of all of the package's dependencies. | [optional] [readonly] +**DependenciesUrl** | Pointer to **string** | | [optional] [readonly] +**Description** | Pointer to **string** | A textual description of this package. | [optional] [readonly] +**Distro** | Pointer to [**NullableDistribution**](Distribution.md) | | [optional] +**DistroVersion** | Pointer to [**DistributionVersion**](DistributionVersion.md) | | [optional] +**Downloads** | Pointer to **int64** | | [optional] [readonly] +**Epoch** | Pointer to **int64** | The epoch of the package version (if any). | [optional] [readonly] +**Extension** | Pointer to **string** | | [optional] [readonly] +**Filename** | Pointer to **string** | | [optional] [readonly] +**Files** | Pointer to [**[]PackageFile**](PackageFile.md) | | [optional] [readonly] +**Format** | Pointer to **string** | | [optional] [readonly] +**FormatUrl** | Pointer to **string** | | [optional] [readonly] +**IdentifierPerm** | Pointer to **string** | Unique and permanent identifier for the package. | [optional] [readonly] +**Indexed** | Pointer to **bool** | | [optional] [readonly] +**IsDownloadable** | Pointer to **bool** | | [optional] [readonly] +**IsQuarantined** | Pointer to **bool** | | [optional] [readonly] +**IsSyncAwaiting** | Pointer to **bool** | | [optional] [readonly] +**IsSyncCompleted** | Pointer to **bool** | | [optional] [readonly] +**IsSyncFailed** | Pointer to **bool** | | [optional] [readonly] +**IsSyncInFlight** | Pointer to **bool** | | [optional] [readonly] +**IsSyncInProgress** | Pointer to **bool** | | [optional] [readonly] +**License** | Pointer to **string** | The license of this package. | [optional] [readonly] +**Name** | Pointer to **string** | The name of this package. | [optional] [readonly] +**Namespace** | Pointer to **string** | | [optional] [readonly] +**NamespaceUrl** | Pointer to **string** | | [optional] [readonly] +**NumFiles** | Pointer to **int64** | | [optional] [readonly] +**OriginRepository** | Pointer to **string** | | [optional] [readonly] +**OriginRepositoryUrl** | Pointer to **string** | | [optional] [readonly] +**PackageType** | Pointer to **int64** | The type of package contents. | [optional] [readonly] +**Release** | Pointer to **string** | The release of the package version (if any). | [optional] [readonly] +**Repository** | Pointer to **string** | | [optional] [readonly] +**RepositoryUrl** | Pointer to **string** | | [optional] [readonly] +**SecurityScanCompletedAt** | Pointer to **time.Time** | The datetime the security scanning was completed. | [optional] [readonly] +**SecurityScanStartedAt** | Pointer to **time.Time** | The datetime the security scanning was started. | [optional] [readonly] +**SecurityScanStatus** | Pointer to **NullableString** | | [optional] [readonly] [default to "Awaiting Security Scan"] +**SecurityScanStatusUpdatedAt** | Pointer to **time.Time** | The datetime the security scanning status was updated. | [optional] [readonly] +**SelfHtmlUrl** | Pointer to **string** | | [optional] [readonly] +**SelfUrl** | Pointer to **string** | | [optional] [readonly] +**SignatureUrl** | Pointer to **NullableString** | | [optional] [readonly] +**Size** | Pointer to **int64** | The calculated size of the package. | [optional] [readonly] +**Slug** | Pointer to **string** | The public unique identifier for the package. | [optional] [readonly] +**SlugPerm** | Pointer to **string** | | [optional] [readonly] +**Stage** | Pointer to **int64** | The synchronisation (in progress) stage of the package. | [optional] [readonly] +**StageStr** | Pointer to **string** | | [optional] [readonly] +**StageUpdatedAt** | Pointer to **time.Time** | The datetime the package stage was updated at. | [optional] [readonly] +**Status** | Pointer to **int64** | The synchronisation status of the package. | [optional] [readonly] +**StatusReason** | Pointer to **string** | A textual description for the synchronous status reason (if any | [optional] [readonly] +**StatusStr** | Pointer to **string** | | [optional] [readonly] +**StatusUpdatedAt** | Pointer to **time.Time** | The datetime the package status was updated at. | [optional] [readonly] +**StatusUrl** | Pointer to **string** | | [optional] [readonly] +**Subtype** | Pointer to **string** | | [optional] [readonly] +**Summary** | Pointer to **string** | A one-liner synopsis of this package. | [optional] [readonly] +**SyncFinishedAt** | Pointer to **time.Time** | The datetime the package sync was finished at. | [optional] [readonly] +**SyncProgress** | Pointer to **int64** | Synchronisation progress (from 0-100) | [optional] [readonly] +**TagsImmutable** | Pointer to **map[string]interface{}** | All tags on the package, grouped by tag type. This includes immutable tags, but doesn't distinguish them from mutable. To see which tags are immutable specifically, see the tags_immutable field. | [optional] +**TypeDisplay** | Pointer to **string** | | [optional] [readonly] +**UploadedAt** | Pointer to **time.Time** | The date this package was uploaded. | [optional] [readonly] +**Uploader** | Pointer to **string** | | [optional] [readonly] +**UploaderUrl** | Pointer to **string** | | [optional] [readonly] +**Version** | Pointer to **string** | The raw version for this package. | [optional] [readonly] +**VersionOrig** | Pointer to **string** | | [optional] [readonly] +**VulnerabilityScanResultsUrl** | Pointer to **string** | | [optional] [readonly] + +## Methods + +### NewDockerPackageUploadResponse + +`func NewDockerPackageUploadResponse() *DockerPackageUploadResponse` + +NewDockerPackageUploadResponse instantiates a new DockerPackageUploadResponse object +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 + +### NewDockerPackageUploadResponseWithDefaults + +`func NewDockerPackageUploadResponseWithDefaults() *DockerPackageUploadResponse` + +NewDockerPackageUploadResponseWithDefaults instantiates a new DockerPackageUploadResponse object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetArchitectures + +`func (o *DockerPackageUploadResponse) GetArchitectures() []Architecture` + +GetArchitectures returns the Architectures field if non-nil, zero value otherwise. + +### GetArchitecturesOk + +`func (o *DockerPackageUploadResponse) GetArchitecturesOk() (*[]Architecture, bool)` + +GetArchitecturesOk returns a tuple with the Architectures field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetArchitectures + +`func (o *DockerPackageUploadResponse) SetArchitectures(v []Architecture)` + +SetArchitectures sets Architectures field to given value. + +### HasArchitectures + +`func (o *DockerPackageUploadResponse) HasArchitectures() bool` + +HasArchitectures returns a boolean if a field has been set. + +### GetCdnUrl + +`func (o *DockerPackageUploadResponse) GetCdnUrl() string` + +GetCdnUrl returns the CdnUrl field if non-nil, zero value otherwise. + +### GetCdnUrlOk + +`func (o *DockerPackageUploadResponse) GetCdnUrlOk() (*string, bool)` + +GetCdnUrlOk returns a tuple with the CdnUrl field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetCdnUrl + +`func (o *DockerPackageUploadResponse) SetCdnUrl(v string)` + +SetCdnUrl sets CdnUrl field to given value. + +### HasCdnUrl + +`func (o *DockerPackageUploadResponse) HasCdnUrl() bool` + +HasCdnUrl returns a boolean if a field has been set. + +### SetCdnUrlNil + +`func (o *DockerPackageUploadResponse) SetCdnUrlNil(b bool)` + + SetCdnUrlNil sets the value for CdnUrl to be an explicit nil + +### UnsetCdnUrl +`func (o *DockerPackageUploadResponse) UnsetCdnUrl()` + +UnsetCdnUrl ensures that no value is present for CdnUrl, not even an explicit nil +### GetChecksumMd5 + +`func (o *DockerPackageUploadResponse) GetChecksumMd5() string` + +GetChecksumMd5 returns the ChecksumMd5 field if non-nil, zero value otherwise. + +### GetChecksumMd5Ok + +`func (o *DockerPackageUploadResponse) GetChecksumMd5Ok() (*string, bool)` + +GetChecksumMd5Ok returns a tuple with the ChecksumMd5 field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetChecksumMd5 + +`func (o *DockerPackageUploadResponse) SetChecksumMd5(v string)` + +SetChecksumMd5 sets ChecksumMd5 field to given value. + +### HasChecksumMd5 + +`func (o *DockerPackageUploadResponse) HasChecksumMd5() bool` + +HasChecksumMd5 returns a boolean if a field has been set. + +### GetChecksumSha1 + +`func (o *DockerPackageUploadResponse) GetChecksumSha1() string` + +GetChecksumSha1 returns the ChecksumSha1 field if non-nil, zero value otherwise. + +### GetChecksumSha1Ok + +`func (o *DockerPackageUploadResponse) GetChecksumSha1Ok() (*string, bool)` + +GetChecksumSha1Ok returns a tuple with the ChecksumSha1 field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetChecksumSha1 + +`func (o *DockerPackageUploadResponse) SetChecksumSha1(v string)` + +SetChecksumSha1 sets ChecksumSha1 field to given value. + +### HasChecksumSha1 + +`func (o *DockerPackageUploadResponse) HasChecksumSha1() bool` + +HasChecksumSha1 returns a boolean if a field has been set. + +### GetChecksumSha256 + +`func (o *DockerPackageUploadResponse) GetChecksumSha256() string` + +GetChecksumSha256 returns the ChecksumSha256 field if non-nil, zero value otherwise. + +### GetChecksumSha256Ok + +`func (o *DockerPackageUploadResponse) GetChecksumSha256Ok() (*string, bool)` + +GetChecksumSha256Ok returns a tuple with the ChecksumSha256 field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetChecksumSha256 + +`func (o *DockerPackageUploadResponse) SetChecksumSha256(v string)` + +SetChecksumSha256 sets ChecksumSha256 field to given value. + +### HasChecksumSha256 + +`func (o *DockerPackageUploadResponse) HasChecksumSha256() bool` + +HasChecksumSha256 returns a boolean if a field has been set. + +### GetChecksumSha512 + +`func (o *DockerPackageUploadResponse) GetChecksumSha512() string` + +GetChecksumSha512 returns the ChecksumSha512 field if non-nil, zero value otherwise. + +### GetChecksumSha512Ok + +`func (o *DockerPackageUploadResponse) GetChecksumSha512Ok() (*string, bool)` + +GetChecksumSha512Ok returns a tuple with the ChecksumSha512 field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetChecksumSha512 + +`func (o *DockerPackageUploadResponse) SetChecksumSha512(v string)` + +SetChecksumSha512 sets ChecksumSha512 field to given value. + +### HasChecksumSha512 + +`func (o *DockerPackageUploadResponse) HasChecksumSha512() bool` + +HasChecksumSha512 returns a boolean if a field has been set. + +### GetDependenciesChecksumMd5 + +`func (o *DockerPackageUploadResponse) GetDependenciesChecksumMd5() string` + +GetDependenciesChecksumMd5 returns the DependenciesChecksumMd5 field if non-nil, zero value otherwise. + +### GetDependenciesChecksumMd5Ok + +`func (o *DockerPackageUploadResponse) GetDependenciesChecksumMd5Ok() (*string, bool)` + +GetDependenciesChecksumMd5Ok returns a tuple with the DependenciesChecksumMd5 field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetDependenciesChecksumMd5 + +`func (o *DockerPackageUploadResponse) SetDependenciesChecksumMd5(v string)` + +SetDependenciesChecksumMd5 sets DependenciesChecksumMd5 field to given value. + +### HasDependenciesChecksumMd5 + +`func (o *DockerPackageUploadResponse) HasDependenciesChecksumMd5() bool` + +HasDependenciesChecksumMd5 returns a boolean if a field has been set. + +### GetDependenciesUrl + +`func (o *DockerPackageUploadResponse) GetDependenciesUrl() string` + +GetDependenciesUrl returns the DependenciesUrl field if non-nil, zero value otherwise. + +### GetDependenciesUrlOk + +`func (o *DockerPackageUploadResponse) GetDependenciesUrlOk() (*string, bool)` + +GetDependenciesUrlOk returns a tuple with the DependenciesUrl field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetDependenciesUrl + +`func (o *DockerPackageUploadResponse) SetDependenciesUrl(v string)` + +SetDependenciesUrl sets DependenciesUrl field to given value. + +### HasDependenciesUrl + +`func (o *DockerPackageUploadResponse) HasDependenciesUrl() bool` + +HasDependenciesUrl returns a boolean if a field has been set. + +### GetDescription + +`func (o *DockerPackageUploadResponse) GetDescription() string` + +GetDescription returns the Description field if non-nil, zero value otherwise. + +### GetDescriptionOk + +`func (o *DockerPackageUploadResponse) GetDescriptionOk() (*string, bool)` + +GetDescriptionOk returns a tuple with the Description field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetDescription + +`func (o *DockerPackageUploadResponse) SetDescription(v string)` + +SetDescription sets Description field to given value. + +### HasDescription + +`func (o *DockerPackageUploadResponse) HasDescription() bool` + +HasDescription returns a boolean if a field has been set. + +### GetDistro + +`func (o *DockerPackageUploadResponse) GetDistro() Distribution` + +GetDistro returns the Distro field if non-nil, zero value otherwise. + +### GetDistroOk + +`func (o *DockerPackageUploadResponse) GetDistroOk() (*Distribution, bool)` + +GetDistroOk returns a tuple with the Distro field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetDistro + +`func (o *DockerPackageUploadResponse) SetDistro(v Distribution)` + +SetDistro sets Distro field to given value. + +### HasDistro + +`func (o *DockerPackageUploadResponse) HasDistro() bool` + +HasDistro returns a boolean if a field has been set. + +### SetDistroNil + +`func (o *DockerPackageUploadResponse) SetDistroNil(b bool)` + + SetDistroNil sets the value for Distro to be an explicit nil + +### UnsetDistro +`func (o *DockerPackageUploadResponse) UnsetDistro()` + +UnsetDistro ensures that no value is present for Distro, not even an explicit nil +### GetDistroVersion + +`func (o *DockerPackageUploadResponse) GetDistroVersion() DistributionVersion` + +GetDistroVersion returns the DistroVersion field if non-nil, zero value otherwise. + +### GetDistroVersionOk + +`func (o *DockerPackageUploadResponse) GetDistroVersionOk() (*DistributionVersion, bool)` + +GetDistroVersionOk returns a tuple with the DistroVersion field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetDistroVersion + +`func (o *DockerPackageUploadResponse) SetDistroVersion(v DistributionVersion)` + +SetDistroVersion sets DistroVersion field to given value. + +### HasDistroVersion + +`func (o *DockerPackageUploadResponse) HasDistroVersion() bool` + +HasDistroVersion returns a boolean if a field has been set. + +### GetDownloads + +`func (o *DockerPackageUploadResponse) GetDownloads() int64` + +GetDownloads returns the Downloads field if non-nil, zero value otherwise. + +### GetDownloadsOk + +`func (o *DockerPackageUploadResponse) GetDownloadsOk() (*int64, bool)` + +GetDownloadsOk returns a tuple with the Downloads field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetDownloads + +`func (o *DockerPackageUploadResponse) SetDownloads(v int64)` + +SetDownloads sets Downloads field to given value. + +### HasDownloads + +`func (o *DockerPackageUploadResponse) HasDownloads() bool` + +HasDownloads returns a boolean if a field has been set. + +### GetEpoch + +`func (o *DockerPackageUploadResponse) GetEpoch() int64` + +GetEpoch returns the Epoch field if non-nil, zero value otherwise. + +### GetEpochOk + +`func (o *DockerPackageUploadResponse) GetEpochOk() (*int64, bool)` + +GetEpochOk returns a tuple with the Epoch field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetEpoch + +`func (o *DockerPackageUploadResponse) SetEpoch(v int64)` + +SetEpoch sets Epoch field to given value. + +### HasEpoch + +`func (o *DockerPackageUploadResponse) HasEpoch() bool` + +HasEpoch returns a boolean if a field has been set. + +### GetExtension + +`func (o *DockerPackageUploadResponse) GetExtension() string` + +GetExtension returns the Extension field if non-nil, zero value otherwise. + +### GetExtensionOk + +`func (o *DockerPackageUploadResponse) GetExtensionOk() (*string, bool)` + +GetExtensionOk returns a tuple with the Extension field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetExtension + +`func (o *DockerPackageUploadResponse) SetExtension(v string)` + +SetExtension sets Extension field to given value. + +### HasExtension + +`func (o *DockerPackageUploadResponse) HasExtension() bool` + +HasExtension returns a boolean if a field has been set. + +### GetFilename + +`func (o *DockerPackageUploadResponse) GetFilename() string` + +GetFilename returns the Filename field if non-nil, zero value otherwise. + +### GetFilenameOk + +`func (o *DockerPackageUploadResponse) GetFilenameOk() (*string, bool)` + +GetFilenameOk returns a tuple with the Filename field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetFilename + +`func (o *DockerPackageUploadResponse) SetFilename(v string)` + +SetFilename sets Filename field to given value. + +### HasFilename + +`func (o *DockerPackageUploadResponse) HasFilename() bool` + +HasFilename returns a boolean if a field has been set. + +### GetFiles + +`func (o *DockerPackageUploadResponse) GetFiles() []PackageFile` + +GetFiles returns the Files field if non-nil, zero value otherwise. + +### GetFilesOk + +`func (o *DockerPackageUploadResponse) GetFilesOk() (*[]PackageFile, 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 *DockerPackageUploadResponse) SetFiles(v []PackageFile)` + +SetFiles sets Files field to given value. + +### HasFiles + +`func (o *DockerPackageUploadResponse) HasFiles() bool` + +HasFiles returns a boolean if a field has been set. + +### GetFormat + +`func (o *DockerPackageUploadResponse) GetFormat() string` + +GetFormat returns the Format field if non-nil, zero value otherwise. + +### GetFormatOk + +`func (o *DockerPackageUploadResponse) GetFormatOk() (*string, bool)` + +GetFormatOk returns a tuple with the Format field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetFormat + +`func (o *DockerPackageUploadResponse) SetFormat(v string)` + +SetFormat sets Format field to given value. + +### HasFormat + +`func (o *DockerPackageUploadResponse) HasFormat() bool` + +HasFormat returns a boolean if a field has been set. + +### GetFormatUrl + +`func (o *DockerPackageUploadResponse) GetFormatUrl() string` + +GetFormatUrl returns the FormatUrl field if non-nil, zero value otherwise. + +### GetFormatUrlOk + +`func (o *DockerPackageUploadResponse) GetFormatUrlOk() (*string, bool)` + +GetFormatUrlOk returns a tuple with the FormatUrl field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetFormatUrl + +`func (o *DockerPackageUploadResponse) SetFormatUrl(v string)` + +SetFormatUrl sets FormatUrl field to given value. + +### HasFormatUrl + +`func (o *DockerPackageUploadResponse) HasFormatUrl() bool` + +HasFormatUrl returns a boolean if a field has been set. + +### GetIdentifierPerm + +`func (o *DockerPackageUploadResponse) GetIdentifierPerm() string` + +GetIdentifierPerm returns the IdentifierPerm field if non-nil, zero value otherwise. + +### GetIdentifierPermOk + +`func (o *DockerPackageUploadResponse) GetIdentifierPermOk() (*string, bool)` + +GetIdentifierPermOk returns a tuple with the IdentifierPerm field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetIdentifierPerm + +`func (o *DockerPackageUploadResponse) SetIdentifierPerm(v string)` + +SetIdentifierPerm sets IdentifierPerm field to given value. + +### HasIdentifierPerm + +`func (o *DockerPackageUploadResponse) HasIdentifierPerm() bool` + +HasIdentifierPerm returns a boolean if a field has been set. + +### GetIndexed + +`func (o *DockerPackageUploadResponse) GetIndexed() bool` + +GetIndexed returns the Indexed field if non-nil, zero value otherwise. + +### GetIndexedOk + +`func (o *DockerPackageUploadResponse) GetIndexedOk() (*bool, bool)` + +GetIndexedOk returns a tuple with the Indexed field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetIndexed + +`func (o *DockerPackageUploadResponse) SetIndexed(v bool)` + +SetIndexed sets Indexed field to given value. + +### HasIndexed + +`func (o *DockerPackageUploadResponse) HasIndexed() bool` + +HasIndexed returns a boolean if a field has been set. + +### GetIsDownloadable + +`func (o *DockerPackageUploadResponse) GetIsDownloadable() bool` + +GetIsDownloadable returns the IsDownloadable field if non-nil, zero value otherwise. + +### GetIsDownloadableOk + +`func (o *DockerPackageUploadResponse) GetIsDownloadableOk() (*bool, bool)` + +GetIsDownloadableOk returns a tuple with the IsDownloadable field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetIsDownloadable + +`func (o *DockerPackageUploadResponse) SetIsDownloadable(v bool)` + +SetIsDownloadable sets IsDownloadable field to given value. + +### HasIsDownloadable + +`func (o *DockerPackageUploadResponse) HasIsDownloadable() bool` + +HasIsDownloadable returns a boolean if a field has been set. + +### GetIsQuarantined + +`func (o *DockerPackageUploadResponse) GetIsQuarantined() bool` + +GetIsQuarantined returns the IsQuarantined field if non-nil, zero value otherwise. + +### GetIsQuarantinedOk + +`func (o *DockerPackageUploadResponse) GetIsQuarantinedOk() (*bool, bool)` + +GetIsQuarantinedOk returns a tuple with the IsQuarantined field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetIsQuarantined + +`func (o *DockerPackageUploadResponse) SetIsQuarantined(v bool)` + +SetIsQuarantined sets IsQuarantined field to given value. + +### HasIsQuarantined + +`func (o *DockerPackageUploadResponse) HasIsQuarantined() bool` + +HasIsQuarantined returns a boolean if a field has been set. + +### GetIsSyncAwaiting + +`func (o *DockerPackageUploadResponse) GetIsSyncAwaiting() bool` + +GetIsSyncAwaiting returns the IsSyncAwaiting field if non-nil, zero value otherwise. + +### GetIsSyncAwaitingOk + +`func (o *DockerPackageUploadResponse) GetIsSyncAwaitingOk() (*bool, bool)` + +GetIsSyncAwaitingOk returns a tuple with the IsSyncAwaiting field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetIsSyncAwaiting + +`func (o *DockerPackageUploadResponse) SetIsSyncAwaiting(v bool)` + +SetIsSyncAwaiting sets IsSyncAwaiting field to given value. + +### HasIsSyncAwaiting + +`func (o *DockerPackageUploadResponse) HasIsSyncAwaiting() bool` + +HasIsSyncAwaiting returns a boolean if a field has been set. + +### GetIsSyncCompleted + +`func (o *DockerPackageUploadResponse) GetIsSyncCompleted() bool` + +GetIsSyncCompleted returns the IsSyncCompleted field if non-nil, zero value otherwise. + +### GetIsSyncCompletedOk + +`func (o *DockerPackageUploadResponse) GetIsSyncCompletedOk() (*bool, bool)` + +GetIsSyncCompletedOk returns a tuple with the IsSyncCompleted field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetIsSyncCompleted + +`func (o *DockerPackageUploadResponse) SetIsSyncCompleted(v bool)` + +SetIsSyncCompleted sets IsSyncCompleted field to given value. + +### HasIsSyncCompleted + +`func (o *DockerPackageUploadResponse) HasIsSyncCompleted() bool` + +HasIsSyncCompleted returns a boolean if a field has been set. + +### GetIsSyncFailed + +`func (o *DockerPackageUploadResponse) GetIsSyncFailed() bool` + +GetIsSyncFailed returns the IsSyncFailed field if non-nil, zero value otherwise. + +### GetIsSyncFailedOk + +`func (o *DockerPackageUploadResponse) GetIsSyncFailedOk() (*bool, bool)` + +GetIsSyncFailedOk returns a tuple with the IsSyncFailed field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetIsSyncFailed + +`func (o *DockerPackageUploadResponse) SetIsSyncFailed(v bool)` + +SetIsSyncFailed sets IsSyncFailed field to given value. + +### HasIsSyncFailed + +`func (o *DockerPackageUploadResponse) HasIsSyncFailed() bool` + +HasIsSyncFailed returns a boolean if a field has been set. + +### GetIsSyncInFlight + +`func (o *DockerPackageUploadResponse) GetIsSyncInFlight() bool` + +GetIsSyncInFlight returns the IsSyncInFlight field if non-nil, zero value otherwise. + +### GetIsSyncInFlightOk + +`func (o *DockerPackageUploadResponse) GetIsSyncInFlightOk() (*bool, bool)` + +GetIsSyncInFlightOk returns a tuple with the IsSyncInFlight field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetIsSyncInFlight + +`func (o *DockerPackageUploadResponse) SetIsSyncInFlight(v bool)` + +SetIsSyncInFlight sets IsSyncInFlight field to given value. + +### HasIsSyncInFlight + +`func (o *DockerPackageUploadResponse) HasIsSyncInFlight() bool` + +HasIsSyncInFlight returns a boolean if a field has been set. + +### GetIsSyncInProgress + +`func (o *DockerPackageUploadResponse) GetIsSyncInProgress() bool` + +GetIsSyncInProgress returns the IsSyncInProgress field if non-nil, zero value otherwise. + +### GetIsSyncInProgressOk + +`func (o *DockerPackageUploadResponse) GetIsSyncInProgressOk() (*bool, bool)` + +GetIsSyncInProgressOk returns a tuple with the IsSyncInProgress field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetIsSyncInProgress + +`func (o *DockerPackageUploadResponse) SetIsSyncInProgress(v bool)` + +SetIsSyncInProgress sets IsSyncInProgress field to given value. + +### HasIsSyncInProgress + +`func (o *DockerPackageUploadResponse) HasIsSyncInProgress() bool` + +HasIsSyncInProgress returns a boolean if a field has been set. + +### GetLicense + +`func (o *DockerPackageUploadResponse) GetLicense() string` + +GetLicense returns the License field if non-nil, zero value otherwise. + +### GetLicenseOk + +`func (o *DockerPackageUploadResponse) GetLicenseOk() (*string, bool)` + +GetLicenseOk returns a tuple with the License field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetLicense + +`func (o *DockerPackageUploadResponse) SetLicense(v string)` + +SetLicense sets License field to given value. + +### HasLicense + +`func (o *DockerPackageUploadResponse) HasLicense() bool` + +HasLicense returns a boolean if a field has been set. + +### GetName + +`func (o *DockerPackageUploadResponse) GetName() string` + +GetName returns the Name field if non-nil, zero value otherwise. + +### GetNameOk + +`func (o *DockerPackageUploadResponse) GetNameOk() (*string, bool)` + +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. + +### SetName + +`func (o *DockerPackageUploadResponse) SetName(v string)` + +SetName sets Name field to given value. + +### HasName + +`func (o *DockerPackageUploadResponse) HasName() bool` + +HasName returns a boolean if a field has been set. + +### GetNamespace + +`func (o *DockerPackageUploadResponse) GetNamespace() string` + +GetNamespace returns the Namespace field if non-nil, zero value otherwise. + +### GetNamespaceOk + +`func (o *DockerPackageUploadResponse) GetNamespaceOk() (*string, bool)` + +GetNamespaceOk returns a tuple with the Namespace field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetNamespace + +`func (o *DockerPackageUploadResponse) SetNamespace(v string)` + +SetNamespace sets Namespace field to given value. + +### HasNamespace + +`func (o *DockerPackageUploadResponse) HasNamespace() bool` + +HasNamespace returns a boolean if a field has been set. + +### GetNamespaceUrl + +`func (o *DockerPackageUploadResponse) GetNamespaceUrl() string` + +GetNamespaceUrl returns the NamespaceUrl field if non-nil, zero value otherwise. + +### GetNamespaceUrlOk + +`func (o *DockerPackageUploadResponse) GetNamespaceUrlOk() (*string, bool)` + +GetNamespaceUrlOk returns a tuple with the NamespaceUrl field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetNamespaceUrl + +`func (o *DockerPackageUploadResponse) SetNamespaceUrl(v string)` + +SetNamespaceUrl sets NamespaceUrl field to given value. + +### HasNamespaceUrl + +`func (o *DockerPackageUploadResponse) HasNamespaceUrl() bool` + +HasNamespaceUrl returns a boolean if a field has been set. + +### GetNumFiles + +`func (o *DockerPackageUploadResponse) GetNumFiles() int64` + +GetNumFiles returns the NumFiles field if non-nil, zero value otherwise. + +### GetNumFilesOk + +`func (o *DockerPackageUploadResponse) GetNumFilesOk() (*int64, bool)` + +GetNumFilesOk returns a tuple with the NumFiles field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetNumFiles + +`func (o *DockerPackageUploadResponse) SetNumFiles(v int64)` + +SetNumFiles sets NumFiles field to given value. + +### HasNumFiles + +`func (o *DockerPackageUploadResponse) HasNumFiles() bool` + +HasNumFiles returns a boolean if a field has been set. + +### GetOriginRepository + +`func (o *DockerPackageUploadResponse) GetOriginRepository() string` + +GetOriginRepository returns the OriginRepository field if non-nil, zero value otherwise. + +### GetOriginRepositoryOk + +`func (o *DockerPackageUploadResponse) GetOriginRepositoryOk() (*string, bool)` + +GetOriginRepositoryOk returns a tuple with the OriginRepository field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetOriginRepository + +`func (o *DockerPackageUploadResponse) SetOriginRepository(v string)` + +SetOriginRepository sets OriginRepository field to given value. + +### HasOriginRepository + +`func (o *DockerPackageUploadResponse) HasOriginRepository() bool` + +HasOriginRepository returns a boolean if a field has been set. + +### GetOriginRepositoryUrl + +`func (o *DockerPackageUploadResponse) GetOriginRepositoryUrl() string` + +GetOriginRepositoryUrl returns the OriginRepositoryUrl field if non-nil, zero value otherwise. + +### GetOriginRepositoryUrlOk + +`func (o *DockerPackageUploadResponse) GetOriginRepositoryUrlOk() (*string, bool)` + +GetOriginRepositoryUrlOk returns a tuple with the OriginRepositoryUrl field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetOriginRepositoryUrl + +`func (o *DockerPackageUploadResponse) SetOriginRepositoryUrl(v string)` + +SetOriginRepositoryUrl sets OriginRepositoryUrl field to given value. + +### HasOriginRepositoryUrl + +`func (o *DockerPackageUploadResponse) HasOriginRepositoryUrl() bool` + +HasOriginRepositoryUrl returns a boolean if a field has been set. + +### GetPackageType + +`func (o *DockerPackageUploadResponse) GetPackageType() int64` + +GetPackageType returns the PackageType field if non-nil, zero value otherwise. + +### GetPackageTypeOk + +`func (o *DockerPackageUploadResponse) GetPackageTypeOk() (*int64, bool)` + +GetPackageTypeOk returns a tuple with the PackageType field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetPackageType + +`func (o *DockerPackageUploadResponse) SetPackageType(v int64)` + +SetPackageType sets PackageType field to given value. + +### HasPackageType + +`func (o *DockerPackageUploadResponse) HasPackageType() bool` + +HasPackageType returns a boolean if a field has been set. + +### GetRelease + +`func (o *DockerPackageUploadResponse) GetRelease() string` + +GetRelease returns the Release field if non-nil, zero value otherwise. + +### GetReleaseOk + +`func (o *DockerPackageUploadResponse) GetReleaseOk() (*string, bool)` + +GetReleaseOk returns a tuple with the Release field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetRelease + +`func (o *DockerPackageUploadResponse) SetRelease(v string)` + +SetRelease sets Release field to given value. + +### HasRelease + +`func (o *DockerPackageUploadResponse) HasRelease() bool` + +HasRelease returns a boolean if a field has been set. + +### GetRepository + +`func (o *DockerPackageUploadResponse) GetRepository() string` + +GetRepository returns the Repository field if non-nil, zero value otherwise. + +### GetRepositoryOk + +`func (o *DockerPackageUploadResponse) GetRepositoryOk() (*string, bool)` + +GetRepositoryOk returns a tuple with the Repository field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetRepository + +`func (o *DockerPackageUploadResponse) SetRepository(v string)` + +SetRepository sets Repository field to given value. + +### HasRepository + +`func (o *DockerPackageUploadResponse) HasRepository() bool` + +HasRepository returns a boolean if a field has been set. + +### GetRepositoryUrl + +`func (o *DockerPackageUploadResponse) GetRepositoryUrl() string` + +GetRepositoryUrl returns the RepositoryUrl field if non-nil, zero value otherwise. + +### GetRepositoryUrlOk + +`func (o *DockerPackageUploadResponse) GetRepositoryUrlOk() (*string, bool)` + +GetRepositoryUrlOk returns a tuple with the RepositoryUrl field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetRepositoryUrl + +`func (o *DockerPackageUploadResponse) SetRepositoryUrl(v string)` + +SetRepositoryUrl sets RepositoryUrl field to given value. + +### HasRepositoryUrl + +`func (o *DockerPackageUploadResponse) HasRepositoryUrl() bool` + +HasRepositoryUrl returns a boolean if a field has been set. + +### GetSecurityScanCompletedAt + +`func (o *DockerPackageUploadResponse) GetSecurityScanCompletedAt() time.Time` + +GetSecurityScanCompletedAt returns the SecurityScanCompletedAt field if non-nil, zero value otherwise. + +### GetSecurityScanCompletedAtOk + +`func (o *DockerPackageUploadResponse) GetSecurityScanCompletedAtOk() (*time.Time, bool)` + +GetSecurityScanCompletedAtOk returns a tuple with the SecurityScanCompletedAt field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetSecurityScanCompletedAt + +`func (o *DockerPackageUploadResponse) SetSecurityScanCompletedAt(v time.Time)` + +SetSecurityScanCompletedAt sets SecurityScanCompletedAt field to given value. + +### HasSecurityScanCompletedAt + +`func (o *DockerPackageUploadResponse) HasSecurityScanCompletedAt() bool` + +HasSecurityScanCompletedAt returns a boolean if a field has been set. + +### GetSecurityScanStartedAt + +`func (o *DockerPackageUploadResponse) GetSecurityScanStartedAt() time.Time` + +GetSecurityScanStartedAt returns the SecurityScanStartedAt field if non-nil, zero value otherwise. + +### GetSecurityScanStartedAtOk + +`func (o *DockerPackageUploadResponse) GetSecurityScanStartedAtOk() (*time.Time, bool)` + +GetSecurityScanStartedAtOk returns a tuple with the SecurityScanStartedAt field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetSecurityScanStartedAt + +`func (o *DockerPackageUploadResponse) SetSecurityScanStartedAt(v time.Time)` + +SetSecurityScanStartedAt sets SecurityScanStartedAt field to given value. + +### HasSecurityScanStartedAt + +`func (o *DockerPackageUploadResponse) HasSecurityScanStartedAt() bool` + +HasSecurityScanStartedAt returns a boolean if a field has been set. + +### GetSecurityScanStatus + +`func (o *DockerPackageUploadResponse) GetSecurityScanStatus() string` + +GetSecurityScanStatus returns the SecurityScanStatus field if non-nil, zero value otherwise. + +### GetSecurityScanStatusOk + +`func (o *DockerPackageUploadResponse) GetSecurityScanStatusOk() (*string, bool)` + +GetSecurityScanStatusOk returns a tuple with the SecurityScanStatus field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetSecurityScanStatus + +`func (o *DockerPackageUploadResponse) SetSecurityScanStatus(v string)` + +SetSecurityScanStatus sets SecurityScanStatus field to given value. + +### HasSecurityScanStatus + +`func (o *DockerPackageUploadResponse) HasSecurityScanStatus() bool` + +HasSecurityScanStatus returns a boolean if a field has been set. + +### SetSecurityScanStatusNil + +`func (o *DockerPackageUploadResponse) SetSecurityScanStatusNil(b bool)` + + SetSecurityScanStatusNil sets the value for SecurityScanStatus to be an explicit nil + +### UnsetSecurityScanStatus +`func (o *DockerPackageUploadResponse) UnsetSecurityScanStatus()` + +UnsetSecurityScanStatus ensures that no value is present for SecurityScanStatus, not even an explicit nil +### GetSecurityScanStatusUpdatedAt + +`func (o *DockerPackageUploadResponse) GetSecurityScanStatusUpdatedAt() time.Time` + +GetSecurityScanStatusUpdatedAt returns the SecurityScanStatusUpdatedAt field if non-nil, zero value otherwise. + +### GetSecurityScanStatusUpdatedAtOk + +`func (o *DockerPackageUploadResponse) GetSecurityScanStatusUpdatedAtOk() (*time.Time, bool)` + +GetSecurityScanStatusUpdatedAtOk returns a tuple with the SecurityScanStatusUpdatedAt field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetSecurityScanStatusUpdatedAt + +`func (o *DockerPackageUploadResponse) SetSecurityScanStatusUpdatedAt(v time.Time)` + +SetSecurityScanStatusUpdatedAt sets SecurityScanStatusUpdatedAt field to given value. + +### HasSecurityScanStatusUpdatedAt + +`func (o *DockerPackageUploadResponse) HasSecurityScanStatusUpdatedAt() bool` + +HasSecurityScanStatusUpdatedAt returns a boolean if a field has been set. + +### GetSelfHtmlUrl + +`func (o *DockerPackageUploadResponse) GetSelfHtmlUrl() string` + +GetSelfHtmlUrl returns the SelfHtmlUrl field if non-nil, zero value otherwise. + +### GetSelfHtmlUrlOk + +`func (o *DockerPackageUploadResponse) GetSelfHtmlUrlOk() (*string, bool)` + +GetSelfHtmlUrlOk returns a tuple with the SelfHtmlUrl field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetSelfHtmlUrl + +`func (o *DockerPackageUploadResponse) SetSelfHtmlUrl(v string)` + +SetSelfHtmlUrl sets SelfHtmlUrl field to given value. + +### HasSelfHtmlUrl + +`func (o *DockerPackageUploadResponse) HasSelfHtmlUrl() bool` + +HasSelfHtmlUrl returns a boolean if a field has been set. + +### GetSelfUrl + +`func (o *DockerPackageUploadResponse) GetSelfUrl() string` + +GetSelfUrl returns the SelfUrl field if non-nil, zero value otherwise. + +### GetSelfUrlOk + +`func (o *DockerPackageUploadResponse) GetSelfUrlOk() (*string, bool)` + +GetSelfUrlOk returns a tuple with the SelfUrl field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetSelfUrl + +`func (o *DockerPackageUploadResponse) SetSelfUrl(v string)` + +SetSelfUrl sets SelfUrl field to given value. + +### HasSelfUrl + +`func (o *DockerPackageUploadResponse) HasSelfUrl() bool` + +HasSelfUrl returns a boolean if a field has been set. + +### GetSignatureUrl + +`func (o *DockerPackageUploadResponse) GetSignatureUrl() string` + +GetSignatureUrl returns the SignatureUrl field if non-nil, zero value otherwise. + +### GetSignatureUrlOk + +`func (o *DockerPackageUploadResponse) GetSignatureUrlOk() (*string, bool)` + +GetSignatureUrlOk returns a tuple with the SignatureUrl field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetSignatureUrl + +`func (o *DockerPackageUploadResponse) SetSignatureUrl(v string)` + +SetSignatureUrl sets SignatureUrl field to given value. + +### HasSignatureUrl + +`func (o *DockerPackageUploadResponse) HasSignatureUrl() bool` + +HasSignatureUrl returns a boolean if a field has been set. + +### SetSignatureUrlNil + +`func (o *DockerPackageUploadResponse) SetSignatureUrlNil(b bool)` + + SetSignatureUrlNil sets the value for SignatureUrl to be an explicit nil + +### UnsetSignatureUrl +`func (o *DockerPackageUploadResponse) UnsetSignatureUrl()` + +UnsetSignatureUrl ensures that no value is present for SignatureUrl, not even an explicit nil +### GetSize + +`func (o *DockerPackageUploadResponse) GetSize() int64` + +GetSize returns the Size field if non-nil, zero value otherwise. + +### GetSizeOk + +`func (o *DockerPackageUploadResponse) GetSizeOk() (*int64, bool)` + +GetSizeOk returns a tuple with the Size field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetSize + +`func (o *DockerPackageUploadResponse) SetSize(v int64)` + +SetSize sets Size field to given value. + +### HasSize + +`func (o *DockerPackageUploadResponse) HasSize() bool` + +HasSize returns a boolean if a field has been set. + +### GetSlug + +`func (o *DockerPackageUploadResponse) GetSlug() string` + +GetSlug returns the Slug field if non-nil, zero value otherwise. + +### GetSlugOk + +`func (o *DockerPackageUploadResponse) GetSlugOk() (*string, bool)` + +GetSlugOk returns a tuple with the Slug field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetSlug + +`func (o *DockerPackageUploadResponse) SetSlug(v string)` + +SetSlug sets Slug field to given value. + +### HasSlug + +`func (o *DockerPackageUploadResponse) HasSlug() bool` + +HasSlug returns a boolean if a field has been set. + +### GetSlugPerm + +`func (o *DockerPackageUploadResponse) GetSlugPerm() string` + +GetSlugPerm returns the SlugPerm field if non-nil, zero value otherwise. + +### GetSlugPermOk + +`func (o *DockerPackageUploadResponse) GetSlugPermOk() (*string, bool)` + +GetSlugPermOk returns a tuple with the SlugPerm field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetSlugPerm + +`func (o *DockerPackageUploadResponse) SetSlugPerm(v string)` + +SetSlugPerm sets SlugPerm field to given value. + +### HasSlugPerm + +`func (o *DockerPackageUploadResponse) HasSlugPerm() bool` + +HasSlugPerm returns a boolean if a field has been set. + +### GetStage + +`func (o *DockerPackageUploadResponse) GetStage() int64` + +GetStage returns the Stage field if non-nil, zero value otherwise. + +### GetStageOk + +`func (o *DockerPackageUploadResponse) GetStageOk() (*int64, bool)` + +GetStageOk returns a tuple with the Stage field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetStage + +`func (o *DockerPackageUploadResponse) SetStage(v int64)` + +SetStage sets Stage field to given value. + +### HasStage + +`func (o *DockerPackageUploadResponse) HasStage() bool` + +HasStage returns a boolean if a field has been set. + +### GetStageStr + +`func (o *DockerPackageUploadResponse) GetStageStr() string` + +GetStageStr returns the StageStr field if non-nil, zero value otherwise. + +### GetStageStrOk + +`func (o *DockerPackageUploadResponse) GetStageStrOk() (*string, bool)` + +GetStageStrOk returns a tuple with the StageStr field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetStageStr + +`func (o *DockerPackageUploadResponse) SetStageStr(v string)` + +SetStageStr sets StageStr field to given value. + +### HasStageStr + +`func (o *DockerPackageUploadResponse) HasStageStr() bool` + +HasStageStr returns a boolean if a field has been set. + +### GetStageUpdatedAt + +`func (o *DockerPackageUploadResponse) GetStageUpdatedAt() time.Time` + +GetStageUpdatedAt returns the StageUpdatedAt field if non-nil, zero value otherwise. + +### GetStageUpdatedAtOk + +`func (o *DockerPackageUploadResponse) GetStageUpdatedAtOk() (*time.Time, bool)` + +GetStageUpdatedAtOk returns a tuple with the StageUpdatedAt field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetStageUpdatedAt + +`func (o *DockerPackageUploadResponse) SetStageUpdatedAt(v time.Time)` + +SetStageUpdatedAt sets StageUpdatedAt field to given value. + +### HasStageUpdatedAt + +`func (o *DockerPackageUploadResponse) HasStageUpdatedAt() bool` + +HasStageUpdatedAt returns a boolean if a field has been set. + +### GetStatus + +`func (o *DockerPackageUploadResponse) GetStatus() int64` + +GetStatus returns the Status field if non-nil, zero value otherwise. + +### GetStatusOk + +`func (o *DockerPackageUploadResponse) GetStatusOk() (*int64, bool)` + +GetStatusOk returns a tuple with the Status field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetStatus + +`func (o *DockerPackageUploadResponse) SetStatus(v int64)` + +SetStatus sets Status field to given value. + +### HasStatus + +`func (o *DockerPackageUploadResponse) HasStatus() bool` + +HasStatus returns a boolean if a field has been set. + +### GetStatusReason + +`func (o *DockerPackageUploadResponse) GetStatusReason() string` + +GetStatusReason returns the StatusReason field if non-nil, zero value otherwise. + +### GetStatusReasonOk + +`func (o *DockerPackageUploadResponse) GetStatusReasonOk() (*string, bool)` + +GetStatusReasonOk returns a tuple with the StatusReason field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetStatusReason + +`func (o *DockerPackageUploadResponse) SetStatusReason(v string)` + +SetStatusReason sets StatusReason field to given value. + +### HasStatusReason + +`func (o *DockerPackageUploadResponse) HasStatusReason() bool` + +HasStatusReason returns a boolean if a field has been set. + +### GetStatusStr + +`func (o *DockerPackageUploadResponse) GetStatusStr() string` + +GetStatusStr returns the StatusStr field if non-nil, zero value otherwise. + +### GetStatusStrOk + +`func (o *DockerPackageUploadResponse) GetStatusStrOk() (*string, bool)` + +GetStatusStrOk returns a tuple with the StatusStr field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetStatusStr + +`func (o *DockerPackageUploadResponse) SetStatusStr(v string)` + +SetStatusStr sets StatusStr field to given value. + +### HasStatusStr + +`func (o *DockerPackageUploadResponse) HasStatusStr() bool` + +HasStatusStr returns a boolean if a field has been set. + +### GetStatusUpdatedAt + +`func (o *DockerPackageUploadResponse) GetStatusUpdatedAt() time.Time` + +GetStatusUpdatedAt returns the StatusUpdatedAt field if non-nil, zero value otherwise. + +### GetStatusUpdatedAtOk + +`func (o *DockerPackageUploadResponse) GetStatusUpdatedAtOk() (*time.Time, bool)` + +GetStatusUpdatedAtOk returns a tuple with the StatusUpdatedAt field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetStatusUpdatedAt + +`func (o *DockerPackageUploadResponse) SetStatusUpdatedAt(v time.Time)` + +SetStatusUpdatedAt sets StatusUpdatedAt field to given value. + +### HasStatusUpdatedAt + +`func (o *DockerPackageUploadResponse) HasStatusUpdatedAt() bool` + +HasStatusUpdatedAt returns a boolean if a field has been set. + +### GetStatusUrl + +`func (o *DockerPackageUploadResponse) GetStatusUrl() string` + +GetStatusUrl returns the StatusUrl field if non-nil, zero value otherwise. + +### GetStatusUrlOk + +`func (o *DockerPackageUploadResponse) GetStatusUrlOk() (*string, bool)` + +GetStatusUrlOk returns a tuple with the StatusUrl field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetStatusUrl + +`func (o *DockerPackageUploadResponse) SetStatusUrl(v string)` + +SetStatusUrl sets StatusUrl field to given value. + +### HasStatusUrl + +`func (o *DockerPackageUploadResponse) HasStatusUrl() bool` + +HasStatusUrl returns a boolean if a field has been set. + +### GetSubtype + +`func (o *DockerPackageUploadResponse) GetSubtype() string` + +GetSubtype returns the Subtype field if non-nil, zero value otherwise. + +### GetSubtypeOk + +`func (o *DockerPackageUploadResponse) GetSubtypeOk() (*string, bool)` + +GetSubtypeOk returns a tuple with the Subtype field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetSubtype + +`func (o *DockerPackageUploadResponse) SetSubtype(v string)` + +SetSubtype sets Subtype field to given value. + +### HasSubtype + +`func (o *DockerPackageUploadResponse) HasSubtype() bool` + +HasSubtype returns a boolean if a field has been set. + +### GetSummary + +`func (o *DockerPackageUploadResponse) GetSummary() string` + +GetSummary returns the Summary field if non-nil, zero value otherwise. + +### GetSummaryOk + +`func (o *DockerPackageUploadResponse) GetSummaryOk() (*string, bool)` + +GetSummaryOk returns a tuple with the Summary field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetSummary + +`func (o *DockerPackageUploadResponse) SetSummary(v string)` + +SetSummary sets Summary field to given value. + +### HasSummary + +`func (o *DockerPackageUploadResponse) HasSummary() bool` + +HasSummary returns a boolean if a field has been set. + +### GetSyncFinishedAt + +`func (o *DockerPackageUploadResponse) GetSyncFinishedAt() time.Time` + +GetSyncFinishedAt returns the SyncFinishedAt field if non-nil, zero value otherwise. + +### GetSyncFinishedAtOk + +`func (o *DockerPackageUploadResponse) GetSyncFinishedAtOk() (*time.Time, bool)` + +GetSyncFinishedAtOk returns a tuple with the SyncFinishedAt field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetSyncFinishedAt + +`func (o *DockerPackageUploadResponse) SetSyncFinishedAt(v time.Time)` + +SetSyncFinishedAt sets SyncFinishedAt field to given value. + +### HasSyncFinishedAt + +`func (o *DockerPackageUploadResponse) HasSyncFinishedAt() bool` + +HasSyncFinishedAt returns a boolean if a field has been set. + +### GetSyncProgress + +`func (o *DockerPackageUploadResponse) GetSyncProgress() int64` + +GetSyncProgress returns the SyncProgress field if non-nil, zero value otherwise. + +### GetSyncProgressOk + +`func (o *DockerPackageUploadResponse) GetSyncProgressOk() (*int64, bool)` + +GetSyncProgressOk returns a tuple with the SyncProgress field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetSyncProgress + +`func (o *DockerPackageUploadResponse) SetSyncProgress(v int64)` + +SetSyncProgress sets SyncProgress field to given value. + +### HasSyncProgress + +`func (o *DockerPackageUploadResponse) HasSyncProgress() bool` + +HasSyncProgress returns a boolean if a field has been set. + +### GetTagsImmutable + +`func (o *DockerPackageUploadResponse) GetTagsImmutable() map[string]interface{}` + +GetTagsImmutable returns the TagsImmutable field if non-nil, zero value otherwise. + +### GetTagsImmutableOk + +`func (o *DockerPackageUploadResponse) GetTagsImmutableOk() (*map[string]interface{}, bool)` + +GetTagsImmutableOk returns a tuple with the TagsImmutable field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetTagsImmutable + +`func (o *DockerPackageUploadResponse) SetTagsImmutable(v map[string]interface{})` + +SetTagsImmutable sets TagsImmutable field to given value. + +### HasTagsImmutable + +`func (o *DockerPackageUploadResponse) HasTagsImmutable() bool` + +HasTagsImmutable returns a boolean if a field has been set. + +### GetTypeDisplay + +`func (o *DockerPackageUploadResponse) GetTypeDisplay() string` + +GetTypeDisplay returns the TypeDisplay field if non-nil, zero value otherwise. + +### GetTypeDisplayOk + +`func (o *DockerPackageUploadResponse) GetTypeDisplayOk() (*string, bool)` + +GetTypeDisplayOk returns a tuple with the TypeDisplay field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetTypeDisplay + +`func (o *DockerPackageUploadResponse) SetTypeDisplay(v string)` + +SetTypeDisplay sets TypeDisplay field to given value. + +### HasTypeDisplay + +`func (o *DockerPackageUploadResponse) HasTypeDisplay() bool` + +HasTypeDisplay returns a boolean if a field has been set. + +### GetUploadedAt + +`func (o *DockerPackageUploadResponse) GetUploadedAt() time.Time` + +GetUploadedAt returns the UploadedAt field if non-nil, zero value otherwise. + +### GetUploadedAtOk + +`func (o *DockerPackageUploadResponse) GetUploadedAtOk() (*time.Time, bool)` + +GetUploadedAtOk returns a tuple with the UploadedAt field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetUploadedAt + +`func (o *DockerPackageUploadResponse) SetUploadedAt(v time.Time)` + +SetUploadedAt sets UploadedAt field to given value. + +### HasUploadedAt + +`func (o *DockerPackageUploadResponse) HasUploadedAt() bool` + +HasUploadedAt returns a boolean if a field has been set. + +### GetUploader + +`func (o *DockerPackageUploadResponse) GetUploader() string` + +GetUploader returns the Uploader field if non-nil, zero value otherwise. + +### GetUploaderOk + +`func (o *DockerPackageUploadResponse) GetUploaderOk() (*string, bool)` + +GetUploaderOk returns a tuple with the Uploader field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetUploader + +`func (o *DockerPackageUploadResponse) SetUploader(v string)` + +SetUploader sets Uploader field to given value. + +### HasUploader + +`func (o *DockerPackageUploadResponse) HasUploader() bool` + +HasUploader returns a boolean if a field has been set. + +### GetUploaderUrl + +`func (o *DockerPackageUploadResponse) GetUploaderUrl() string` + +GetUploaderUrl returns the UploaderUrl field if non-nil, zero value otherwise. + +### GetUploaderUrlOk + +`func (o *DockerPackageUploadResponse) GetUploaderUrlOk() (*string, bool)` + +GetUploaderUrlOk returns a tuple with the UploaderUrl field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetUploaderUrl + +`func (o *DockerPackageUploadResponse) SetUploaderUrl(v string)` + +SetUploaderUrl sets UploaderUrl field to given value. + +### HasUploaderUrl + +`func (o *DockerPackageUploadResponse) HasUploaderUrl() bool` + +HasUploaderUrl returns a boolean if a field has been set. + +### GetVersion + +`func (o *DockerPackageUploadResponse) GetVersion() string` + +GetVersion returns the Version field if non-nil, zero value otherwise. + +### GetVersionOk + +`func (o *DockerPackageUploadResponse) GetVersionOk() (*string, bool)` + +GetVersionOk returns a tuple with the Version field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetVersion + +`func (o *DockerPackageUploadResponse) SetVersion(v string)` + +SetVersion sets Version field to given value. + +### HasVersion + +`func (o *DockerPackageUploadResponse) HasVersion() bool` + +HasVersion returns a boolean if a field has been set. + +### GetVersionOrig + +`func (o *DockerPackageUploadResponse) GetVersionOrig() string` + +GetVersionOrig returns the VersionOrig field if non-nil, zero value otherwise. + +### GetVersionOrigOk + +`func (o *DockerPackageUploadResponse) GetVersionOrigOk() (*string, bool)` + +GetVersionOrigOk returns a tuple with the VersionOrig field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetVersionOrig + +`func (o *DockerPackageUploadResponse) SetVersionOrig(v string)` + +SetVersionOrig sets VersionOrig field to given value. + +### HasVersionOrig + +`func (o *DockerPackageUploadResponse) HasVersionOrig() bool` + +HasVersionOrig returns a boolean if a field has been set. + +### GetVulnerabilityScanResultsUrl + +`func (o *DockerPackageUploadResponse) GetVulnerabilityScanResultsUrl() string` + +GetVulnerabilityScanResultsUrl returns the VulnerabilityScanResultsUrl field if non-nil, zero value otherwise. + +### GetVulnerabilityScanResultsUrlOk + +`func (o *DockerPackageUploadResponse) GetVulnerabilityScanResultsUrlOk() (*string, bool)` + +GetVulnerabilityScanResultsUrlOk returns a tuple with the VulnerabilityScanResultsUrl field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetVulnerabilityScanResultsUrl + +`func (o *DockerPackageUploadResponse) SetVulnerabilityScanResultsUrl(v string)` + +SetVulnerabilityScanResultsUrl sets VulnerabilityScanResultsUrl field to given value. + +### HasVulnerabilityScanResultsUrl + +`func (o *DockerPackageUploadResponse) HasVulnerabilityScanResultsUrl() bool` + +HasVulnerabilityScanResultsUrl 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/docs/EntitlementUsageMetrics.md b/docs/EntitlementUsageMetricsResponse.md similarity index 55% rename from docs/EntitlementUsageMetrics.md rename to docs/EntitlementUsageMetricsResponse.md index c9c8969e..9b582272 100644 --- a/docs/EntitlementUsageMetrics.md +++ b/docs/EntitlementUsageMetricsResponse.md @@ -1,46 +1,46 @@ -# EntitlementUsageMetrics +# EntitlementUsageMetricsResponse ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**Tokens** | **map[string]interface{}** | | +**Tokens** | [**CommonMetrics**](CommonMetrics.md) | | ## Methods -### NewEntitlementUsageMetrics +### NewEntitlementUsageMetricsResponse -`func NewEntitlementUsageMetrics(tokens map[string]interface{}, ) *EntitlementUsageMetrics` +`func NewEntitlementUsageMetricsResponse(tokens CommonMetrics, ) *EntitlementUsageMetricsResponse` -NewEntitlementUsageMetrics instantiates a new EntitlementUsageMetrics object +NewEntitlementUsageMetricsResponse instantiates a new EntitlementUsageMetricsResponse object 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 -### NewEntitlementUsageMetricsWithDefaults +### NewEntitlementUsageMetricsResponseWithDefaults -`func NewEntitlementUsageMetricsWithDefaults() *EntitlementUsageMetrics` +`func NewEntitlementUsageMetricsResponseWithDefaults() *EntitlementUsageMetricsResponse` -NewEntitlementUsageMetricsWithDefaults instantiates a new EntitlementUsageMetrics object +NewEntitlementUsageMetricsResponseWithDefaults instantiates a new EntitlementUsageMetricsResponse object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set ### GetTokens -`func (o *EntitlementUsageMetrics) GetTokens() map[string]interface{}` +`func (o *EntitlementUsageMetricsResponse) GetTokens() CommonMetrics` GetTokens returns the Tokens field if non-nil, zero value otherwise. ### GetTokensOk -`func (o *EntitlementUsageMetrics) GetTokensOk() (*map[string]interface{}, bool)` +`func (o *EntitlementUsageMetricsResponse) GetTokensOk() (*CommonMetrics, bool)` GetTokensOk returns a tuple with the Tokens field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetTokens -`func (o *EntitlementUsageMetrics) SetTokens(v map[string]interface{})` +`func (o *EntitlementUsageMetricsResponse) SetTokens(v CommonMetrics)` SetTokens sets Tokens field to given value. diff --git a/docs/EntitlementsApi.md b/docs/EntitlementsApi.md index 382ab80d..09500d1d 100644 --- a/docs/EntitlementsApi.md +++ b/docs/EntitlementsApi.md @@ -19,7 +19,7 @@ Method | HTTP request | Description ## EntitlementsCreate -> RepositoryToken EntitlementsCreate(ctx, owner, repo).ShowTokens(showTokens).Data(data).Execute() +> RepositoryTokenResponse EntitlementsCreate(ctx, owner, repo).ShowTokens(showTokens).Data(data).Execute() Create a specific entitlement in a repository. @@ -40,8 +40,8 @@ import ( func main() { owner := "owner_example" // string | repo := "repo_example" // string | - showTokens := true // bool | Show entitlement token strings in results (optional) - data := *openapiclient.NewEntitlementsCreate("Name_example") // EntitlementsCreate | (optional) + showTokens := true // bool | Show entitlement token strings in results (optional) (default to false) + data := *openapiclient.NewRepositoryTokenRequest("Name_example") // RepositoryTokenRequest | (optional) configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) @@ -50,7 +50,7 @@ func main() { fmt.Fprintf(os.Stderr, "Error when calling `EntitlementsApi.EntitlementsCreate``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } - // response from `EntitlementsCreate`: RepositoryToken + // response from `EntitlementsCreate`: RepositoryTokenResponse fmt.Fprintf(os.Stdout, "Response from `EntitlementsApi.EntitlementsCreate`: %v\n", resp) } ``` @@ -73,12 +73,12 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **showTokens** | **bool** | Show entitlement token strings in results | - **data** | [**EntitlementsCreate**](EntitlementsCreate.md) | | + **showTokens** | **bool** | Show entitlement token strings in results | [default to false] + **data** | [**RepositoryTokenRequest**](RepositoryTokenRequest.md) | | ### Return type -[**RepositoryToken**](RepositoryToken.md) +[**RepositoryTokenResponse**](RepositoryTokenResponse.md) ### Authorization @@ -87,7 +87,7 @@ Name | Type | Description | Notes ### HTTP request headers - **Content-Type**: application/json -- **Accept**: */* +- **Accept**: application/json [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) @@ -161,7 +161,7 @@ Name | Type | Description | Notes ### HTTP request headers - **Content-Type**: Not defined -- **Accept**: */* +- **Accept**: application/json [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) @@ -235,7 +235,7 @@ Name | Type | Description | Notes ### HTTP request headers - **Content-Type**: Not defined -- **Accept**: */* +- **Accept**: application/json [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) @@ -309,7 +309,7 @@ Name | Type | Description | Notes ### HTTP request headers - **Content-Type**: Not defined -- **Accept**: */* +- **Accept**: application/json [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) @@ -318,7 +318,7 @@ Name | Type | Description | Notes ## EntitlementsList -> []RepositoryToken EntitlementsList(ctx, owner, repo).Page(page).PageSize(pageSize).ShowTokens(showTokens).Execute() +> []RepositoryTokenResponse EntitlementsList(ctx, owner, repo).Page(page).PageSize(pageSize).ShowTokens(showTokens).Query(query).Active(active).Execute() Get a list of all entitlements in a repository. @@ -341,16 +341,18 @@ func main() { repo := "repo_example" // string | page := int64(56) // int64 | A page number within the paginated result set. (optional) pageSize := int64(56) // int64 | Number of results to return per page. (optional) - showTokens := true // bool | Show entitlement token strings in results (optional) + showTokens := true // bool | Show entitlement token strings in results (optional) (default to false) + query := "query_example" // string | A search term for querying names of entitlements. (optional) + active := true // bool | If true, only include active tokens (optional) (default to false) configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) - resp, r, err := apiClient.EntitlementsApi.EntitlementsList(context.Background(), owner, repo).Page(page).PageSize(pageSize).ShowTokens(showTokens).Execute() + resp, r, err := apiClient.EntitlementsApi.EntitlementsList(context.Background(), owner, repo).Page(page).PageSize(pageSize).ShowTokens(showTokens).Query(query).Active(active).Execute() if err != nil { fmt.Fprintf(os.Stderr, "Error when calling `EntitlementsApi.EntitlementsList``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } - // response from `EntitlementsList`: []RepositoryToken + // response from `EntitlementsList`: []RepositoryTokenResponse fmt.Fprintf(os.Stdout, "Response from `EntitlementsApi.EntitlementsList`: %v\n", resp) } ``` @@ -375,11 +377,13 @@ Name | Type | Description | Notes **page** | **int64** | A page number within the paginated result set. | **pageSize** | **int64** | Number of results to return per page. | - **showTokens** | **bool** | Show entitlement token strings in results | + **showTokens** | **bool** | Show entitlement token strings in results | [default to false] + **query** | **string** | A search term for querying names of entitlements. | + **active** | **bool** | If true, only include active tokens | [default to false] ### Return type -[**[]RepositoryToken**](RepositoryToken.md) +[**[]RepositoryTokenResponse**](RepositoryTokenResponse.md) ### Authorization @@ -388,7 +392,7 @@ Name | Type | Description | Notes ### HTTP request headers - **Content-Type**: Not defined -- **Accept**: */* +- **Accept**: application/json [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) @@ -397,7 +401,7 @@ Name | Type | Description | Notes ## EntitlementsPartialUpdate -> RepositoryToken EntitlementsPartialUpdate(ctx, owner, repo, identifier).ShowTokens(showTokens).Data(data).Execute() +> RepositoryTokenResponse EntitlementsPartialUpdate(ctx, owner, repo, identifier).ShowTokens(showTokens).Data(data).Execute() Update a specific entitlement in a repository. @@ -419,8 +423,8 @@ func main() { owner := "owner_example" // string | repo := "repo_example" // string | identifier := "identifier_example" // string | - showTokens := true // bool | Show entitlement token strings in results (optional) - data := *openapiclient.NewEntitlementsPartialUpdate() // EntitlementsPartialUpdate | (optional) + showTokens := true // bool | Show entitlement token strings in results (optional) (default to false) + data := *openapiclient.NewRepositoryTokenRequestPatch() // RepositoryTokenRequestPatch | (optional) configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) @@ -429,7 +433,7 @@ func main() { fmt.Fprintf(os.Stderr, "Error when calling `EntitlementsApi.EntitlementsPartialUpdate``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } - // response from `EntitlementsPartialUpdate`: RepositoryToken + // response from `EntitlementsPartialUpdate`: RepositoryTokenResponse fmt.Fprintf(os.Stdout, "Response from `EntitlementsApi.EntitlementsPartialUpdate`: %v\n", resp) } ``` @@ -454,12 +458,12 @@ Name | Type | Description | Notes - **showTokens** | **bool** | Show entitlement token strings in results | - **data** | [**EntitlementsPartialUpdate**](EntitlementsPartialUpdate.md) | | + **showTokens** | **bool** | Show entitlement token strings in results | [default to false] + **data** | [**RepositoryTokenRequestPatch**](RepositoryTokenRequestPatch.md) | | ### Return type -[**RepositoryToken**](RepositoryToken.md) +[**RepositoryTokenResponse**](RepositoryTokenResponse.md) ### Authorization @@ -468,7 +472,7 @@ Name | Type | Description | Notes ### HTTP request headers - **Content-Type**: application/json -- **Accept**: */* +- **Accept**: application/json [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) @@ -477,7 +481,7 @@ Name | Type | Description | Notes ## EntitlementsRead -> RepositoryToken EntitlementsRead(ctx, owner, repo, identifier).ShowTokens(showTokens).Execute() +> RepositoryTokenResponse EntitlementsRead(ctx, owner, repo, identifier).Fuzzy(fuzzy).ShowTokens(showTokens).Execute() Get a specific entitlement in a repository. @@ -499,16 +503,17 @@ func main() { owner := "owner_example" // string | repo := "repo_example" // string | identifier := "identifier_example" // string | - showTokens := true // bool | Show entitlement token strings in results (optional) + fuzzy := true // bool | If true, entitlement identifiers including name will be fuzzy matched. (optional) (default to false) + showTokens := true // bool | Show entitlement token strings in results (optional) (default to false) configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) - resp, r, err := apiClient.EntitlementsApi.EntitlementsRead(context.Background(), owner, repo, identifier).ShowTokens(showTokens).Execute() + resp, r, err := apiClient.EntitlementsApi.EntitlementsRead(context.Background(), owner, repo, identifier).Fuzzy(fuzzy).ShowTokens(showTokens).Execute() if err != nil { fmt.Fprintf(os.Stderr, "Error when calling `EntitlementsApi.EntitlementsRead``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } - // response from `EntitlementsRead`: RepositoryToken + // response from `EntitlementsRead`: RepositoryTokenResponse fmt.Fprintf(os.Stdout, "Response from `EntitlementsApi.EntitlementsRead`: %v\n", resp) } ``` @@ -533,11 +538,12 @@ Name | Type | Description | Notes - **showTokens** | **bool** | Show entitlement token strings in results | + **fuzzy** | **bool** | If true, entitlement identifiers including name will be fuzzy matched. | [default to false] + **showTokens** | **bool** | Show entitlement token strings in results | [default to false] ### Return type -[**RepositoryToken**](RepositoryToken.md) +[**RepositoryTokenResponse**](RepositoryTokenResponse.md) ### Authorization @@ -546,7 +552,7 @@ Name | Type | Description | Notes ### HTTP request headers - **Content-Type**: Not defined -- **Accept**: */* +- **Accept**: application/json [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) @@ -555,7 +561,7 @@ Name | Type | Description | Notes ## EntitlementsRefresh -> RepositoryTokenRefresh EntitlementsRefresh(ctx, owner, repo, identifier).ShowTokens(showTokens).Data(data).Execute() +> RepositoryTokenRefreshResponse EntitlementsRefresh(ctx, owner, repo, identifier).ShowTokens(showTokens).Data(data).Execute() Refresh an entitlement token in a repository. @@ -577,8 +583,8 @@ func main() { owner := "owner_example" // string | repo := "repo_example" // string | identifier := "identifier_example" // string | - showTokens := true // bool | Show entitlement token strings in results (optional) - data := *openapiclient.NewEntitlementsRefresh() // EntitlementsRefresh | (optional) + showTokens := true // bool | Show entitlement token strings in results (optional) (default to false) + data := *openapiclient.NewRepositoryTokenRefreshRequest() // RepositoryTokenRefreshRequest | (optional) configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) @@ -587,7 +593,7 @@ func main() { fmt.Fprintf(os.Stderr, "Error when calling `EntitlementsApi.EntitlementsRefresh``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } - // response from `EntitlementsRefresh`: RepositoryTokenRefresh + // response from `EntitlementsRefresh`: RepositoryTokenRefreshResponse fmt.Fprintf(os.Stdout, "Response from `EntitlementsApi.EntitlementsRefresh`: %v\n", resp) } ``` @@ -612,12 +618,12 @@ Name | Type | Description | Notes - **showTokens** | **bool** | Show entitlement token strings in results | - **data** | [**EntitlementsRefresh**](EntitlementsRefresh.md) | | + **showTokens** | **bool** | Show entitlement token strings in results | [default to false] + **data** | [**RepositoryTokenRefreshRequest**](RepositoryTokenRefreshRequest.md) | | ### Return type -[**RepositoryTokenRefresh**](RepositoryTokenRefresh.md) +[**RepositoryTokenRefreshResponse**](RepositoryTokenRefreshResponse.md) ### Authorization @@ -626,7 +632,7 @@ Name | Type | Description | Notes ### HTTP request headers - **Content-Type**: application/json -- **Accept**: */* +- **Accept**: application/json [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) @@ -657,7 +663,7 @@ func main() { owner := "owner_example" // string | repo := "repo_example" // string | identifier := "identifier_example" // string | - showTokens := true // bool | Show entitlement token strings in results (optional) + showTokens := true // bool | Show entitlement token strings in results (optional) (default to false) configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) @@ -689,7 +695,7 @@ Name | Type | Description | Notes - **showTokens** | **bool** | Show entitlement token strings in results | + **showTokens** | **bool** | Show entitlement token strings in results | [default to false] ### Return type @@ -702,7 +708,7 @@ Name | Type | Description | Notes ### HTTP request headers - **Content-Type**: Not defined -- **Accept**: */* +- **Accept**: application/json [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) @@ -711,7 +717,7 @@ Name | Type | Description | Notes ## EntitlementsSync -> RepositoryTokenSync EntitlementsSync(ctx, owner, repo).ShowTokens(showTokens).Data(data).Execute() +> RepositoryTokenSyncResponse EntitlementsSync(ctx, owner, repo).ShowTokens(showTokens).Data(data).Execute() Synchronise tokens from a source repository. @@ -732,8 +738,8 @@ import ( func main() { owner := "owner_example" // string | repo := "repo_example" // string | - showTokens := true // bool | Show entitlement token strings in results (optional) - data := *openapiclient.NewEntitlementsSync("Source_example") // EntitlementsSync | (optional) + showTokens := true // bool | Show entitlement token strings in results (optional) (default to false) + data := *openapiclient.NewRepositoryTokenSyncRequest("Source_example") // RepositoryTokenSyncRequest | (optional) configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) @@ -742,7 +748,7 @@ func main() { fmt.Fprintf(os.Stderr, "Error when calling `EntitlementsApi.EntitlementsSync``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } - // response from `EntitlementsSync`: RepositoryTokenSync + // response from `EntitlementsSync`: RepositoryTokenSyncResponse fmt.Fprintf(os.Stdout, "Response from `EntitlementsApi.EntitlementsSync`: %v\n", resp) } ``` @@ -765,12 +771,12 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **showTokens** | **bool** | Show entitlement token strings in results | - **data** | [**EntitlementsSync**](EntitlementsSync.md) | | + **showTokens** | **bool** | Show entitlement token strings in results | [default to false] + **data** | [**RepositoryTokenSyncRequest**](RepositoryTokenSyncRequest.md) | | ### Return type -[**RepositoryTokenSync**](RepositoryTokenSync.md) +[**RepositoryTokenSyncResponse**](RepositoryTokenSyncResponse.md) ### Authorization @@ -779,7 +785,7 @@ Name | Type | Description | Notes ### HTTP request headers - **Content-Type**: application/json -- **Accept**: */* +- **Accept**: application/json [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) diff --git a/docs/EntitlementsCreate.md b/docs/EntitlementsCreate.md deleted file mode 100644 index f8daac54..00000000 --- a/docs/EntitlementsCreate.md +++ /dev/null @@ -1,415 +0,0 @@ -# EntitlementsCreate - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**EulaRequired** | Pointer to **bool** | If checked, a EULA acceptance is required for this token. | [optional] -**IsActive** | Pointer to **bool** | If enabled, the token will allow downloads based on configured restrictions (if any). | [optional] -**LimitBandwidth** | Pointer to **int64** | The maximum download bandwidth allowed for the token. Values are expressed as the selected unit of bandwidth. Please note that since downloads are calculated asynchronously (after the download happens), the limit may not be imposed immediately but at a later point. | [optional] -**LimitBandwidthUnit** | Pointer to **string** | None | [optional] -**LimitDateRangeFrom** | Pointer to **string** | The starting date/time the token is allowed to be used from. | [optional] -**LimitDateRangeTo** | Pointer to **string** | The ending date/time the token is allowed to be used until. | [optional] -**LimitNumClients** | Pointer to **int64** | The maximum number of unique clients allowed for the token. Please note that since clients are calculated asynchronously (after the download happens), the limit may not be imposed immediately but at a later point. | [optional] -**LimitNumDownloads** | Pointer to **int64** | The maximum number of downloads allowed for the token. Please note that since downloads are calculated asynchronously (after the download happens), the limit may not be imposed immediately but at a later point. | [optional] -**LimitPackageQuery** | Pointer to **string** | The package-based search query to apply to restrict downloads to. This uses the same syntax as the standard search used for repositories, and also supports boolean logic operators such as OR/AND/NOT and parentheses for grouping. This will still allow access to non-package files, such as metadata. | [optional] -**LimitPathQuery** | Pointer to **string** | The path-based search query to apply to restrict downloads to. This supports boolean logic operators such as OR/AND/NOT and parentheses for grouping. The path evaluated does not include the domain name, the namespace, the entitlement code used, the package format, etc. and it always starts with a forward slash. | [optional] -**Metadata** | Pointer to **map[string]interface{}** | None | [optional] -**Name** | **string** | None | -**ScheduledResetAt** | Pointer to **string** | The time at which the scheduled reset period has elapsed and the token limits were automatically reset to zero. | [optional] -**ScheduledResetPeriod** | Pointer to **string** | None | [optional] -**Token** | Pointer to **string** | None | [optional] - -## Methods - -### NewEntitlementsCreate - -`func NewEntitlementsCreate(name string, ) *EntitlementsCreate` - -NewEntitlementsCreate instantiates a new EntitlementsCreate object -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 - -### NewEntitlementsCreateWithDefaults - -`func NewEntitlementsCreateWithDefaults() *EntitlementsCreate` - -NewEntitlementsCreateWithDefaults instantiates a new EntitlementsCreate object -This constructor will only assign default values to properties that have it defined, -but it doesn't guarantee that properties required by API are set - -### GetEulaRequired - -`func (o *EntitlementsCreate) GetEulaRequired() bool` - -GetEulaRequired returns the EulaRequired field if non-nil, zero value otherwise. - -### GetEulaRequiredOk - -`func (o *EntitlementsCreate) GetEulaRequiredOk() (*bool, bool)` - -GetEulaRequiredOk returns a tuple with the EulaRequired field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetEulaRequired - -`func (o *EntitlementsCreate) SetEulaRequired(v bool)` - -SetEulaRequired sets EulaRequired field to given value. - -### HasEulaRequired - -`func (o *EntitlementsCreate) HasEulaRequired() bool` - -HasEulaRequired returns a boolean if a field has been set. - -### GetIsActive - -`func (o *EntitlementsCreate) GetIsActive() bool` - -GetIsActive returns the IsActive field if non-nil, zero value otherwise. - -### GetIsActiveOk - -`func (o *EntitlementsCreate) GetIsActiveOk() (*bool, bool)` - -GetIsActiveOk returns a tuple with the IsActive field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetIsActive - -`func (o *EntitlementsCreate) SetIsActive(v bool)` - -SetIsActive sets IsActive field to given value. - -### HasIsActive - -`func (o *EntitlementsCreate) HasIsActive() bool` - -HasIsActive returns a boolean if a field has been set. - -### GetLimitBandwidth - -`func (o *EntitlementsCreate) GetLimitBandwidth() int64` - -GetLimitBandwidth returns the LimitBandwidth field if non-nil, zero value otherwise. - -### GetLimitBandwidthOk - -`func (o *EntitlementsCreate) GetLimitBandwidthOk() (*int64, bool)` - -GetLimitBandwidthOk returns a tuple with the LimitBandwidth field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetLimitBandwidth - -`func (o *EntitlementsCreate) SetLimitBandwidth(v int64)` - -SetLimitBandwidth sets LimitBandwidth field to given value. - -### HasLimitBandwidth - -`func (o *EntitlementsCreate) HasLimitBandwidth() bool` - -HasLimitBandwidth returns a boolean if a field has been set. - -### GetLimitBandwidthUnit - -`func (o *EntitlementsCreate) GetLimitBandwidthUnit() string` - -GetLimitBandwidthUnit returns the LimitBandwidthUnit field if non-nil, zero value otherwise. - -### GetLimitBandwidthUnitOk - -`func (o *EntitlementsCreate) GetLimitBandwidthUnitOk() (*string, bool)` - -GetLimitBandwidthUnitOk returns a tuple with the LimitBandwidthUnit field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetLimitBandwidthUnit - -`func (o *EntitlementsCreate) SetLimitBandwidthUnit(v string)` - -SetLimitBandwidthUnit sets LimitBandwidthUnit field to given value. - -### HasLimitBandwidthUnit - -`func (o *EntitlementsCreate) HasLimitBandwidthUnit() bool` - -HasLimitBandwidthUnit returns a boolean if a field has been set. - -### GetLimitDateRangeFrom - -`func (o *EntitlementsCreate) GetLimitDateRangeFrom() string` - -GetLimitDateRangeFrom returns the LimitDateRangeFrom field if non-nil, zero value otherwise. - -### GetLimitDateRangeFromOk - -`func (o *EntitlementsCreate) GetLimitDateRangeFromOk() (*string, bool)` - -GetLimitDateRangeFromOk returns a tuple with the LimitDateRangeFrom field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetLimitDateRangeFrom - -`func (o *EntitlementsCreate) SetLimitDateRangeFrom(v string)` - -SetLimitDateRangeFrom sets LimitDateRangeFrom field to given value. - -### HasLimitDateRangeFrom - -`func (o *EntitlementsCreate) HasLimitDateRangeFrom() bool` - -HasLimitDateRangeFrom returns a boolean if a field has been set. - -### GetLimitDateRangeTo - -`func (o *EntitlementsCreate) GetLimitDateRangeTo() string` - -GetLimitDateRangeTo returns the LimitDateRangeTo field if non-nil, zero value otherwise. - -### GetLimitDateRangeToOk - -`func (o *EntitlementsCreate) GetLimitDateRangeToOk() (*string, bool)` - -GetLimitDateRangeToOk returns a tuple with the LimitDateRangeTo field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetLimitDateRangeTo - -`func (o *EntitlementsCreate) SetLimitDateRangeTo(v string)` - -SetLimitDateRangeTo sets LimitDateRangeTo field to given value. - -### HasLimitDateRangeTo - -`func (o *EntitlementsCreate) HasLimitDateRangeTo() bool` - -HasLimitDateRangeTo returns a boolean if a field has been set. - -### GetLimitNumClients - -`func (o *EntitlementsCreate) GetLimitNumClients() int64` - -GetLimitNumClients returns the LimitNumClients field if non-nil, zero value otherwise. - -### GetLimitNumClientsOk - -`func (o *EntitlementsCreate) GetLimitNumClientsOk() (*int64, bool)` - -GetLimitNumClientsOk returns a tuple with the LimitNumClients field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetLimitNumClients - -`func (o *EntitlementsCreate) SetLimitNumClients(v int64)` - -SetLimitNumClients sets LimitNumClients field to given value. - -### HasLimitNumClients - -`func (o *EntitlementsCreate) HasLimitNumClients() bool` - -HasLimitNumClients returns a boolean if a field has been set. - -### GetLimitNumDownloads - -`func (o *EntitlementsCreate) GetLimitNumDownloads() int64` - -GetLimitNumDownloads returns the LimitNumDownloads field if non-nil, zero value otherwise. - -### GetLimitNumDownloadsOk - -`func (o *EntitlementsCreate) GetLimitNumDownloadsOk() (*int64, bool)` - -GetLimitNumDownloadsOk returns a tuple with the LimitNumDownloads field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetLimitNumDownloads - -`func (o *EntitlementsCreate) SetLimitNumDownloads(v int64)` - -SetLimitNumDownloads sets LimitNumDownloads field to given value. - -### HasLimitNumDownloads - -`func (o *EntitlementsCreate) HasLimitNumDownloads() bool` - -HasLimitNumDownloads returns a boolean if a field has been set. - -### GetLimitPackageQuery - -`func (o *EntitlementsCreate) GetLimitPackageQuery() string` - -GetLimitPackageQuery returns the LimitPackageQuery field if non-nil, zero value otherwise. - -### GetLimitPackageQueryOk - -`func (o *EntitlementsCreate) GetLimitPackageQueryOk() (*string, bool)` - -GetLimitPackageQueryOk returns a tuple with the LimitPackageQuery field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetLimitPackageQuery - -`func (o *EntitlementsCreate) SetLimitPackageQuery(v string)` - -SetLimitPackageQuery sets LimitPackageQuery field to given value. - -### HasLimitPackageQuery - -`func (o *EntitlementsCreate) HasLimitPackageQuery() bool` - -HasLimitPackageQuery returns a boolean if a field has been set. - -### GetLimitPathQuery - -`func (o *EntitlementsCreate) GetLimitPathQuery() string` - -GetLimitPathQuery returns the LimitPathQuery field if non-nil, zero value otherwise. - -### GetLimitPathQueryOk - -`func (o *EntitlementsCreate) GetLimitPathQueryOk() (*string, bool)` - -GetLimitPathQueryOk returns a tuple with the LimitPathQuery field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetLimitPathQuery - -`func (o *EntitlementsCreate) SetLimitPathQuery(v string)` - -SetLimitPathQuery sets LimitPathQuery field to given value. - -### HasLimitPathQuery - -`func (o *EntitlementsCreate) HasLimitPathQuery() bool` - -HasLimitPathQuery returns a boolean if a field has been set. - -### GetMetadata - -`func (o *EntitlementsCreate) GetMetadata() map[string]interface{}` - -GetMetadata returns the Metadata field if non-nil, zero value otherwise. - -### GetMetadataOk - -`func (o *EntitlementsCreate) GetMetadataOk() (*map[string]interface{}, bool)` - -GetMetadataOk returns a tuple with the Metadata field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetMetadata - -`func (o *EntitlementsCreate) SetMetadata(v map[string]interface{})` - -SetMetadata sets Metadata field to given value. - -### HasMetadata - -`func (o *EntitlementsCreate) HasMetadata() bool` - -HasMetadata returns a boolean if a field has been set. - -### GetName - -`func (o *EntitlementsCreate) GetName() string` - -GetName returns the Name field if non-nil, zero value otherwise. - -### GetNameOk - -`func (o *EntitlementsCreate) GetNameOk() (*string, bool)` - -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. - -### SetName - -`func (o *EntitlementsCreate) SetName(v string)` - -SetName sets Name field to given value. - - -### GetScheduledResetAt - -`func (o *EntitlementsCreate) GetScheduledResetAt() string` - -GetScheduledResetAt returns the ScheduledResetAt field if non-nil, zero value otherwise. - -### GetScheduledResetAtOk - -`func (o *EntitlementsCreate) GetScheduledResetAtOk() (*string, bool)` - -GetScheduledResetAtOk returns a tuple with the ScheduledResetAt field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetScheduledResetAt - -`func (o *EntitlementsCreate) SetScheduledResetAt(v string)` - -SetScheduledResetAt sets ScheduledResetAt field to given value. - -### HasScheduledResetAt - -`func (o *EntitlementsCreate) HasScheduledResetAt() bool` - -HasScheduledResetAt returns a boolean if a field has been set. - -### GetScheduledResetPeriod - -`func (o *EntitlementsCreate) GetScheduledResetPeriod() string` - -GetScheduledResetPeriod returns the ScheduledResetPeriod field if non-nil, zero value otherwise. - -### GetScheduledResetPeriodOk - -`func (o *EntitlementsCreate) GetScheduledResetPeriodOk() (*string, bool)` - -GetScheduledResetPeriodOk returns a tuple with the ScheduledResetPeriod field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetScheduledResetPeriod - -`func (o *EntitlementsCreate) SetScheduledResetPeriod(v string)` - -SetScheduledResetPeriod sets ScheduledResetPeriod field to given value. - -### HasScheduledResetPeriod - -`func (o *EntitlementsCreate) HasScheduledResetPeriod() bool` - -HasScheduledResetPeriod returns a boolean if a field has been set. - -### GetToken - -`func (o *EntitlementsCreate) GetToken() string` - -GetToken returns the Token field if non-nil, zero value otherwise. - -### GetTokenOk - -`func (o *EntitlementsCreate) GetTokenOk() (*string, bool)` - -GetTokenOk returns a tuple with the Token field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetToken - -`func (o *EntitlementsCreate) SetToken(v string)` - -SetToken sets Token field to given value. - -### HasToken - -`func (o *EntitlementsCreate) HasToken() bool` - -HasToken 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/docs/EntitlementsPartialUpdate.md b/docs/EntitlementsPartialUpdate.md deleted file mode 100644 index ba0cbea2..00000000 --- a/docs/EntitlementsPartialUpdate.md +++ /dev/null @@ -1,420 +0,0 @@ -# EntitlementsPartialUpdate - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**EulaRequired** | Pointer to **bool** | If checked, a EULA acceptance is required for this token. | [optional] -**IsActive** | Pointer to **bool** | If enabled, the token will allow downloads based on configured restrictions (if any). | [optional] -**LimitBandwidth** | Pointer to **int64** | The maximum download bandwidth allowed for the token. Values are expressed as the selected unit of bandwidth. Please note that since downloads are calculated asynchronously (after the download happens), the limit may not be imposed immediately but at a later point. | [optional] -**LimitBandwidthUnit** | Pointer to **string** | None | [optional] -**LimitDateRangeFrom** | Pointer to **string** | The starting date/time the token is allowed to be used from. | [optional] -**LimitDateRangeTo** | Pointer to **string** | The ending date/time the token is allowed to be used until. | [optional] -**LimitNumClients** | Pointer to **int64** | The maximum number of unique clients allowed for the token. Please note that since clients are calculated asynchronously (after the download happens), the limit may not be imposed immediately but at a later point. | [optional] -**LimitNumDownloads** | Pointer to **int64** | The maximum number of downloads allowed for the token. Please note that since downloads are calculated asynchronously (after the download happens), the limit may not be imposed immediately but at a later point. | [optional] -**LimitPackageQuery** | Pointer to **string** | The package-based search query to apply to restrict downloads to. This uses the same syntax as the standard search used for repositories, and also supports boolean logic operators such as OR/AND/NOT and parentheses for grouping. This will still allow access to non-package files, such as metadata. | [optional] -**LimitPathQuery** | Pointer to **string** | The path-based search query to apply to restrict downloads to. This supports boolean logic operators such as OR/AND/NOT and parentheses for grouping. The path evaluated does not include the domain name, the namespace, the entitlement code used, the package format, etc. and it always starts with a forward slash. | [optional] -**Metadata** | Pointer to **map[string]interface{}** | None | [optional] -**Name** | Pointer to **string** | None | [optional] -**ScheduledResetAt** | Pointer to **string** | The time at which the scheduled reset period has elapsed and the token limits were automatically reset to zero. | [optional] -**ScheduledResetPeriod** | Pointer to **string** | None | [optional] -**Token** | Pointer to **string** | None | [optional] - -## Methods - -### NewEntitlementsPartialUpdate - -`func NewEntitlementsPartialUpdate() *EntitlementsPartialUpdate` - -NewEntitlementsPartialUpdate instantiates a new EntitlementsPartialUpdate object -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 - -### NewEntitlementsPartialUpdateWithDefaults - -`func NewEntitlementsPartialUpdateWithDefaults() *EntitlementsPartialUpdate` - -NewEntitlementsPartialUpdateWithDefaults instantiates a new EntitlementsPartialUpdate object -This constructor will only assign default values to properties that have it defined, -but it doesn't guarantee that properties required by API are set - -### GetEulaRequired - -`func (o *EntitlementsPartialUpdate) GetEulaRequired() bool` - -GetEulaRequired returns the EulaRequired field if non-nil, zero value otherwise. - -### GetEulaRequiredOk - -`func (o *EntitlementsPartialUpdate) GetEulaRequiredOk() (*bool, bool)` - -GetEulaRequiredOk returns a tuple with the EulaRequired field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetEulaRequired - -`func (o *EntitlementsPartialUpdate) SetEulaRequired(v bool)` - -SetEulaRequired sets EulaRequired field to given value. - -### HasEulaRequired - -`func (o *EntitlementsPartialUpdate) HasEulaRequired() bool` - -HasEulaRequired returns a boolean if a field has been set. - -### GetIsActive - -`func (o *EntitlementsPartialUpdate) GetIsActive() bool` - -GetIsActive returns the IsActive field if non-nil, zero value otherwise. - -### GetIsActiveOk - -`func (o *EntitlementsPartialUpdate) GetIsActiveOk() (*bool, bool)` - -GetIsActiveOk returns a tuple with the IsActive field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetIsActive - -`func (o *EntitlementsPartialUpdate) SetIsActive(v bool)` - -SetIsActive sets IsActive field to given value. - -### HasIsActive - -`func (o *EntitlementsPartialUpdate) HasIsActive() bool` - -HasIsActive returns a boolean if a field has been set. - -### GetLimitBandwidth - -`func (o *EntitlementsPartialUpdate) GetLimitBandwidth() int64` - -GetLimitBandwidth returns the LimitBandwidth field if non-nil, zero value otherwise. - -### GetLimitBandwidthOk - -`func (o *EntitlementsPartialUpdate) GetLimitBandwidthOk() (*int64, bool)` - -GetLimitBandwidthOk returns a tuple with the LimitBandwidth field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetLimitBandwidth - -`func (o *EntitlementsPartialUpdate) SetLimitBandwidth(v int64)` - -SetLimitBandwidth sets LimitBandwidth field to given value. - -### HasLimitBandwidth - -`func (o *EntitlementsPartialUpdate) HasLimitBandwidth() bool` - -HasLimitBandwidth returns a boolean if a field has been set. - -### GetLimitBandwidthUnit - -`func (o *EntitlementsPartialUpdate) GetLimitBandwidthUnit() string` - -GetLimitBandwidthUnit returns the LimitBandwidthUnit field if non-nil, zero value otherwise. - -### GetLimitBandwidthUnitOk - -`func (o *EntitlementsPartialUpdate) GetLimitBandwidthUnitOk() (*string, bool)` - -GetLimitBandwidthUnitOk returns a tuple with the LimitBandwidthUnit field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetLimitBandwidthUnit - -`func (o *EntitlementsPartialUpdate) SetLimitBandwidthUnit(v string)` - -SetLimitBandwidthUnit sets LimitBandwidthUnit field to given value. - -### HasLimitBandwidthUnit - -`func (o *EntitlementsPartialUpdate) HasLimitBandwidthUnit() bool` - -HasLimitBandwidthUnit returns a boolean if a field has been set. - -### GetLimitDateRangeFrom - -`func (o *EntitlementsPartialUpdate) GetLimitDateRangeFrom() string` - -GetLimitDateRangeFrom returns the LimitDateRangeFrom field if non-nil, zero value otherwise. - -### GetLimitDateRangeFromOk - -`func (o *EntitlementsPartialUpdate) GetLimitDateRangeFromOk() (*string, bool)` - -GetLimitDateRangeFromOk returns a tuple with the LimitDateRangeFrom field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetLimitDateRangeFrom - -`func (o *EntitlementsPartialUpdate) SetLimitDateRangeFrom(v string)` - -SetLimitDateRangeFrom sets LimitDateRangeFrom field to given value. - -### HasLimitDateRangeFrom - -`func (o *EntitlementsPartialUpdate) HasLimitDateRangeFrom() bool` - -HasLimitDateRangeFrom returns a boolean if a field has been set. - -### GetLimitDateRangeTo - -`func (o *EntitlementsPartialUpdate) GetLimitDateRangeTo() string` - -GetLimitDateRangeTo returns the LimitDateRangeTo field if non-nil, zero value otherwise. - -### GetLimitDateRangeToOk - -`func (o *EntitlementsPartialUpdate) GetLimitDateRangeToOk() (*string, bool)` - -GetLimitDateRangeToOk returns a tuple with the LimitDateRangeTo field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetLimitDateRangeTo - -`func (o *EntitlementsPartialUpdate) SetLimitDateRangeTo(v string)` - -SetLimitDateRangeTo sets LimitDateRangeTo field to given value. - -### HasLimitDateRangeTo - -`func (o *EntitlementsPartialUpdate) HasLimitDateRangeTo() bool` - -HasLimitDateRangeTo returns a boolean if a field has been set. - -### GetLimitNumClients - -`func (o *EntitlementsPartialUpdate) GetLimitNumClients() int64` - -GetLimitNumClients returns the LimitNumClients field if non-nil, zero value otherwise. - -### GetLimitNumClientsOk - -`func (o *EntitlementsPartialUpdate) GetLimitNumClientsOk() (*int64, bool)` - -GetLimitNumClientsOk returns a tuple with the LimitNumClients field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetLimitNumClients - -`func (o *EntitlementsPartialUpdate) SetLimitNumClients(v int64)` - -SetLimitNumClients sets LimitNumClients field to given value. - -### HasLimitNumClients - -`func (o *EntitlementsPartialUpdate) HasLimitNumClients() bool` - -HasLimitNumClients returns a boolean if a field has been set. - -### GetLimitNumDownloads - -`func (o *EntitlementsPartialUpdate) GetLimitNumDownloads() int64` - -GetLimitNumDownloads returns the LimitNumDownloads field if non-nil, zero value otherwise. - -### GetLimitNumDownloadsOk - -`func (o *EntitlementsPartialUpdate) GetLimitNumDownloadsOk() (*int64, bool)` - -GetLimitNumDownloadsOk returns a tuple with the LimitNumDownloads field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetLimitNumDownloads - -`func (o *EntitlementsPartialUpdate) SetLimitNumDownloads(v int64)` - -SetLimitNumDownloads sets LimitNumDownloads field to given value. - -### HasLimitNumDownloads - -`func (o *EntitlementsPartialUpdate) HasLimitNumDownloads() bool` - -HasLimitNumDownloads returns a boolean if a field has been set. - -### GetLimitPackageQuery - -`func (o *EntitlementsPartialUpdate) GetLimitPackageQuery() string` - -GetLimitPackageQuery returns the LimitPackageQuery field if non-nil, zero value otherwise. - -### GetLimitPackageQueryOk - -`func (o *EntitlementsPartialUpdate) GetLimitPackageQueryOk() (*string, bool)` - -GetLimitPackageQueryOk returns a tuple with the LimitPackageQuery field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetLimitPackageQuery - -`func (o *EntitlementsPartialUpdate) SetLimitPackageQuery(v string)` - -SetLimitPackageQuery sets LimitPackageQuery field to given value. - -### HasLimitPackageQuery - -`func (o *EntitlementsPartialUpdate) HasLimitPackageQuery() bool` - -HasLimitPackageQuery returns a boolean if a field has been set. - -### GetLimitPathQuery - -`func (o *EntitlementsPartialUpdate) GetLimitPathQuery() string` - -GetLimitPathQuery returns the LimitPathQuery field if non-nil, zero value otherwise. - -### GetLimitPathQueryOk - -`func (o *EntitlementsPartialUpdate) GetLimitPathQueryOk() (*string, bool)` - -GetLimitPathQueryOk returns a tuple with the LimitPathQuery field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetLimitPathQuery - -`func (o *EntitlementsPartialUpdate) SetLimitPathQuery(v string)` - -SetLimitPathQuery sets LimitPathQuery field to given value. - -### HasLimitPathQuery - -`func (o *EntitlementsPartialUpdate) HasLimitPathQuery() bool` - -HasLimitPathQuery returns a boolean if a field has been set. - -### GetMetadata - -`func (o *EntitlementsPartialUpdate) GetMetadata() map[string]interface{}` - -GetMetadata returns the Metadata field if non-nil, zero value otherwise. - -### GetMetadataOk - -`func (o *EntitlementsPartialUpdate) GetMetadataOk() (*map[string]interface{}, bool)` - -GetMetadataOk returns a tuple with the Metadata field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetMetadata - -`func (o *EntitlementsPartialUpdate) SetMetadata(v map[string]interface{})` - -SetMetadata sets Metadata field to given value. - -### HasMetadata - -`func (o *EntitlementsPartialUpdate) HasMetadata() bool` - -HasMetadata returns a boolean if a field has been set. - -### GetName - -`func (o *EntitlementsPartialUpdate) GetName() string` - -GetName returns the Name field if non-nil, zero value otherwise. - -### GetNameOk - -`func (o *EntitlementsPartialUpdate) GetNameOk() (*string, bool)` - -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. - -### SetName - -`func (o *EntitlementsPartialUpdate) SetName(v string)` - -SetName sets Name field to given value. - -### HasName - -`func (o *EntitlementsPartialUpdate) HasName() bool` - -HasName returns a boolean if a field has been set. - -### GetScheduledResetAt - -`func (o *EntitlementsPartialUpdate) GetScheduledResetAt() string` - -GetScheduledResetAt returns the ScheduledResetAt field if non-nil, zero value otherwise. - -### GetScheduledResetAtOk - -`func (o *EntitlementsPartialUpdate) GetScheduledResetAtOk() (*string, bool)` - -GetScheduledResetAtOk returns a tuple with the ScheduledResetAt field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetScheduledResetAt - -`func (o *EntitlementsPartialUpdate) SetScheduledResetAt(v string)` - -SetScheduledResetAt sets ScheduledResetAt field to given value. - -### HasScheduledResetAt - -`func (o *EntitlementsPartialUpdate) HasScheduledResetAt() bool` - -HasScheduledResetAt returns a boolean if a field has been set. - -### GetScheduledResetPeriod - -`func (o *EntitlementsPartialUpdate) GetScheduledResetPeriod() string` - -GetScheduledResetPeriod returns the ScheduledResetPeriod field if non-nil, zero value otherwise. - -### GetScheduledResetPeriodOk - -`func (o *EntitlementsPartialUpdate) GetScheduledResetPeriodOk() (*string, bool)` - -GetScheduledResetPeriodOk returns a tuple with the ScheduledResetPeriod field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetScheduledResetPeriod - -`func (o *EntitlementsPartialUpdate) SetScheduledResetPeriod(v string)` - -SetScheduledResetPeriod sets ScheduledResetPeriod field to given value. - -### HasScheduledResetPeriod - -`func (o *EntitlementsPartialUpdate) HasScheduledResetPeriod() bool` - -HasScheduledResetPeriod returns a boolean if a field has been set. - -### GetToken - -`func (o *EntitlementsPartialUpdate) GetToken() string` - -GetToken returns the Token field if non-nil, zero value otherwise. - -### GetTokenOk - -`func (o *EntitlementsPartialUpdate) GetTokenOk() (*string, bool)` - -GetTokenOk returns a tuple with the Token field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetToken - -`func (o *EntitlementsPartialUpdate) SetToken(v string)` - -SetToken sets Token field to given value. - -### HasToken - -`func (o *EntitlementsPartialUpdate) HasToken() bool` - -HasToken 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/docs/EntitlementsRefresh.md b/docs/EntitlementsRefresh.md deleted file mode 100644 index 6074ce20..00000000 --- a/docs/EntitlementsRefresh.md +++ /dev/null @@ -1,394 +0,0 @@ -# EntitlementsRefresh - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**EulaRequired** | Pointer to **bool** | If checked, a EULA acceptance is required for this token. | [optional] -**IsActive** | Pointer to **bool** | If enabled, the token will allow downloads based on configured restrictions (if any). | [optional] -**LimitBandwidth** | Pointer to **int64** | The maximum download bandwidth allowed for the token. Values are expressed as the selected unit of bandwidth. Please note that since downloads are calculated asynchronously (after the download happens), the limit may not be imposed immediately but at a later point. | [optional] -**LimitBandwidthUnit** | Pointer to **string** | None | [optional] -**LimitDateRangeFrom** | Pointer to **string** | The starting date/time the token is allowed to be used from. | [optional] -**LimitDateRangeTo** | Pointer to **string** | The ending date/time the token is allowed to be used until. | [optional] -**LimitNumClients** | Pointer to **int64** | The maximum number of unique clients allowed for the token. Please note that since clients are calculated asynchronously (after the download happens), the limit may not be imposed immediately but at a later point. | [optional] -**LimitNumDownloads** | Pointer to **int64** | The maximum number of downloads allowed for the token. Please note that since downloads are calculated asynchronously (after the download happens), the limit may not be imposed immediately but at a later point. | [optional] -**LimitPackageQuery** | Pointer to **string** | The package-based search query to apply to restrict downloads to. This uses the same syntax as the standard search used for repositories, and also supports boolean logic operators such as OR/AND/NOT and parentheses for grouping. This will still allow access to non-package files, such as metadata. | [optional] -**LimitPathQuery** | Pointer to **string** | The path-based search query to apply to restrict downloads to. This supports boolean logic operators such as OR/AND/NOT and parentheses for grouping. The path evaluated does not include the domain name, the namespace, the entitlement code used, the package format, etc. and it always starts with a forward slash. | [optional] -**Metadata** | Pointer to **map[string]interface{}** | None | [optional] -**ScheduledResetAt** | Pointer to **string** | The time at which the scheduled reset period has elapsed and the token limits were automatically reset to zero. | [optional] -**ScheduledResetPeriod** | Pointer to **string** | None | [optional] -**Token** | Pointer to **string** | None | [optional] - -## Methods - -### NewEntitlementsRefresh - -`func NewEntitlementsRefresh() *EntitlementsRefresh` - -NewEntitlementsRefresh instantiates a new EntitlementsRefresh object -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 - -### NewEntitlementsRefreshWithDefaults - -`func NewEntitlementsRefreshWithDefaults() *EntitlementsRefresh` - -NewEntitlementsRefreshWithDefaults instantiates a new EntitlementsRefresh object -This constructor will only assign default values to properties that have it defined, -but it doesn't guarantee that properties required by API are set - -### GetEulaRequired - -`func (o *EntitlementsRefresh) GetEulaRequired() bool` - -GetEulaRequired returns the EulaRequired field if non-nil, zero value otherwise. - -### GetEulaRequiredOk - -`func (o *EntitlementsRefresh) GetEulaRequiredOk() (*bool, bool)` - -GetEulaRequiredOk returns a tuple with the EulaRequired field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetEulaRequired - -`func (o *EntitlementsRefresh) SetEulaRequired(v bool)` - -SetEulaRequired sets EulaRequired field to given value. - -### HasEulaRequired - -`func (o *EntitlementsRefresh) HasEulaRequired() bool` - -HasEulaRequired returns a boolean if a field has been set. - -### GetIsActive - -`func (o *EntitlementsRefresh) GetIsActive() bool` - -GetIsActive returns the IsActive field if non-nil, zero value otherwise. - -### GetIsActiveOk - -`func (o *EntitlementsRefresh) GetIsActiveOk() (*bool, bool)` - -GetIsActiveOk returns a tuple with the IsActive field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetIsActive - -`func (o *EntitlementsRefresh) SetIsActive(v bool)` - -SetIsActive sets IsActive field to given value. - -### HasIsActive - -`func (o *EntitlementsRefresh) HasIsActive() bool` - -HasIsActive returns a boolean if a field has been set. - -### GetLimitBandwidth - -`func (o *EntitlementsRefresh) GetLimitBandwidth() int64` - -GetLimitBandwidth returns the LimitBandwidth field if non-nil, zero value otherwise. - -### GetLimitBandwidthOk - -`func (o *EntitlementsRefresh) GetLimitBandwidthOk() (*int64, bool)` - -GetLimitBandwidthOk returns a tuple with the LimitBandwidth field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetLimitBandwidth - -`func (o *EntitlementsRefresh) SetLimitBandwidth(v int64)` - -SetLimitBandwidth sets LimitBandwidth field to given value. - -### HasLimitBandwidth - -`func (o *EntitlementsRefresh) HasLimitBandwidth() bool` - -HasLimitBandwidth returns a boolean if a field has been set. - -### GetLimitBandwidthUnit - -`func (o *EntitlementsRefresh) GetLimitBandwidthUnit() string` - -GetLimitBandwidthUnit returns the LimitBandwidthUnit field if non-nil, zero value otherwise. - -### GetLimitBandwidthUnitOk - -`func (o *EntitlementsRefresh) GetLimitBandwidthUnitOk() (*string, bool)` - -GetLimitBandwidthUnitOk returns a tuple with the LimitBandwidthUnit field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetLimitBandwidthUnit - -`func (o *EntitlementsRefresh) SetLimitBandwidthUnit(v string)` - -SetLimitBandwidthUnit sets LimitBandwidthUnit field to given value. - -### HasLimitBandwidthUnit - -`func (o *EntitlementsRefresh) HasLimitBandwidthUnit() bool` - -HasLimitBandwidthUnit returns a boolean if a field has been set. - -### GetLimitDateRangeFrom - -`func (o *EntitlementsRefresh) GetLimitDateRangeFrom() string` - -GetLimitDateRangeFrom returns the LimitDateRangeFrom field if non-nil, zero value otherwise. - -### GetLimitDateRangeFromOk - -`func (o *EntitlementsRefresh) GetLimitDateRangeFromOk() (*string, bool)` - -GetLimitDateRangeFromOk returns a tuple with the LimitDateRangeFrom field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetLimitDateRangeFrom - -`func (o *EntitlementsRefresh) SetLimitDateRangeFrom(v string)` - -SetLimitDateRangeFrom sets LimitDateRangeFrom field to given value. - -### HasLimitDateRangeFrom - -`func (o *EntitlementsRefresh) HasLimitDateRangeFrom() bool` - -HasLimitDateRangeFrom returns a boolean if a field has been set. - -### GetLimitDateRangeTo - -`func (o *EntitlementsRefresh) GetLimitDateRangeTo() string` - -GetLimitDateRangeTo returns the LimitDateRangeTo field if non-nil, zero value otherwise. - -### GetLimitDateRangeToOk - -`func (o *EntitlementsRefresh) GetLimitDateRangeToOk() (*string, bool)` - -GetLimitDateRangeToOk returns a tuple with the LimitDateRangeTo field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetLimitDateRangeTo - -`func (o *EntitlementsRefresh) SetLimitDateRangeTo(v string)` - -SetLimitDateRangeTo sets LimitDateRangeTo field to given value. - -### HasLimitDateRangeTo - -`func (o *EntitlementsRefresh) HasLimitDateRangeTo() bool` - -HasLimitDateRangeTo returns a boolean if a field has been set. - -### GetLimitNumClients - -`func (o *EntitlementsRefresh) GetLimitNumClients() int64` - -GetLimitNumClients returns the LimitNumClients field if non-nil, zero value otherwise. - -### GetLimitNumClientsOk - -`func (o *EntitlementsRefresh) GetLimitNumClientsOk() (*int64, bool)` - -GetLimitNumClientsOk returns a tuple with the LimitNumClients field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetLimitNumClients - -`func (o *EntitlementsRefresh) SetLimitNumClients(v int64)` - -SetLimitNumClients sets LimitNumClients field to given value. - -### HasLimitNumClients - -`func (o *EntitlementsRefresh) HasLimitNumClients() bool` - -HasLimitNumClients returns a boolean if a field has been set. - -### GetLimitNumDownloads - -`func (o *EntitlementsRefresh) GetLimitNumDownloads() int64` - -GetLimitNumDownloads returns the LimitNumDownloads field if non-nil, zero value otherwise. - -### GetLimitNumDownloadsOk - -`func (o *EntitlementsRefresh) GetLimitNumDownloadsOk() (*int64, bool)` - -GetLimitNumDownloadsOk returns a tuple with the LimitNumDownloads field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetLimitNumDownloads - -`func (o *EntitlementsRefresh) SetLimitNumDownloads(v int64)` - -SetLimitNumDownloads sets LimitNumDownloads field to given value. - -### HasLimitNumDownloads - -`func (o *EntitlementsRefresh) HasLimitNumDownloads() bool` - -HasLimitNumDownloads returns a boolean if a field has been set. - -### GetLimitPackageQuery - -`func (o *EntitlementsRefresh) GetLimitPackageQuery() string` - -GetLimitPackageQuery returns the LimitPackageQuery field if non-nil, zero value otherwise. - -### GetLimitPackageQueryOk - -`func (o *EntitlementsRefresh) GetLimitPackageQueryOk() (*string, bool)` - -GetLimitPackageQueryOk returns a tuple with the LimitPackageQuery field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetLimitPackageQuery - -`func (o *EntitlementsRefresh) SetLimitPackageQuery(v string)` - -SetLimitPackageQuery sets LimitPackageQuery field to given value. - -### HasLimitPackageQuery - -`func (o *EntitlementsRefresh) HasLimitPackageQuery() bool` - -HasLimitPackageQuery returns a boolean if a field has been set. - -### GetLimitPathQuery - -`func (o *EntitlementsRefresh) GetLimitPathQuery() string` - -GetLimitPathQuery returns the LimitPathQuery field if non-nil, zero value otherwise. - -### GetLimitPathQueryOk - -`func (o *EntitlementsRefresh) GetLimitPathQueryOk() (*string, bool)` - -GetLimitPathQueryOk returns a tuple with the LimitPathQuery field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetLimitPathQuery - -`func (o *EntitlementsRefresh) SetLimitPathQuery(v string)` - -SetLimitPathQuery sets LimitPathQuery field to given value. - -### HasLimitPathQuery - -`func (o *EntitlementsRefresh) HasLimitPathQuery() bool` - -HasLimitPathQuery returns a boolean if a field has been set. - -### GetMetadata - -`func (o *EntitlementsRefresh) GetMetadata() map[string]interface{}` - -GetMetadata returns the Metadata field if non-nil, zero value otherwise. - -### GetMetadataOk - -`func (o *EntitlementsRefresh) GetMetadataOk() (*map[string]interface{}, bool)` - -GetMetadataOk returns a tuple with the Metadata field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetMetadata - -`func (o *EntitlementsRefresh) SetMetadata(v map[string]interface{})` - -SetMetadata sets Metadata field to given value. - -### HasMetadata - -`func (o *EntitlementsRefresh) HasMetadata() bool` - -HasMetadata returns a boolean if a field has been set. - -### GetScheduledResetAt - -`func (o *EntitlementsRefresh) GetScheduledResetAt() string` - -GetScheduledResetAt returns the ScheduledResetAt field if non-nil, zero value otherwise. - -### GetScheduledResetAtOk - -`func (o *EntitlementsRefresh) GetScheduledResetAtOk() (*string, bool)` - -GetScheduledResetAtOk returns a tuple with the ScheduledResetAt field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetScheduledResetAt - -`func (o *EntitlementsRefresh) SetScheduledResetAt(v string)` - -SetScheduledResetAt sets ScheduledResetAt field to given value. - -### HasScheduledResetAt - -`func (o *EntitlementsRefresh) HasScheduledResetAt() bool` - -HasScheduledResetAt returns a boolean if a field has been set. - -### GetScheduledResetPeriod - -`func (o *EntitlementsRefresh) GetScheduledResetPeriod() string` - -GetScheduledResetPeriod returns the ScheduledResetPeriod field if non-nil, zero value otherwise. - -### GetScheduledResetPeriodOk - -`func (o *EntitlementsRefresh) GetScheduledResetPeriodOk() (*string, bool)` - -GetScheduledResetPeriodOk returns a tuple with the ScheduledResetPeriod field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetScheduledResetPeriod - -`func (o *EntitlementsRefresh) SetScheduledResetPeriod(v string)` - -SetScheduledResetPeriod sets ScheduledResetPeriod field to given value. - -### HasScheduledResetPeriod - -`func (o *EntitlementsRefresh) HasScheduledResetPeriod() bool` - -HasScheduledResetPeriod returns a boolean if a field has been set. - -### GetToken - -`func (o *EntitlementsRefresh) GetToken() string` - -GetToken returns the Token field if non-nil, zero value otherwise. - -### GetTokenOk - -`func (o *EntitlementsRefresh) GetTokenOk() (*string, bool)` - -GetTokenOk returns a tuple with the Token field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetToken - -`func (o *EntitlementsRefresh) SetToken(v string)` - -SetToken sets Token field to given value. - -### HasToken - -`func (o *EntitlementsRefresh) HasToken() bool` - -HasToken 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/docs/Status.md b/docs/ErrorDetail.md similarity index 70% rename from docs/Status.md rename to docs/ErrorDetail.md index 44e74326..66e1ce8d 100644 --- a/docs/Status.md +++ b/docs/ErrorDetail.md @@ -1,4 +1,4 @@ -# Status +# ErrorDetail ## Properties @@ -8,39 +8,39 @@ Name | Type | Description | Notes ## Methods -### NewStatus +### NewErrorDetail -`func NewStatus(detail string, ) *Status` +`func NewErrorDetail(detail string, ) *ErrorDetail` -NewStatus instantiates a new Status object +NewErrorDetail instantiates a new ErrorDetail object 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 -### NewStatusWithDefaults +### NewErrorDetailWithDefaults -`func NewStatusWithDefaults() *Status` +`func NewErrorDetailWithDefaults() *ErrorDetail` -NewStatusWithDefaults instantiates a new Status object +NewErrorDetailWithDefaults instantiates a new ErrorDetail object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set ### GetDetail -`func (o *Status) GetDetail() string` +`func (o *ErrorDetail) GetDetail() string` GetDetail returns the Detail field if non-nil, zero value otherwise. ### GetDetailOk -`func (o *Status) GetDetailOk() (*string, bool)` +`func (o *ErrorDetail) GetDetailOk() (*string, bool)` GetDetailOk returns a tuple with the Detail field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetDetail -`func (o *Status) SetDetail(v string)` +`func (o *ErrorDetail) SetDetail(v string)` SetDetail sets Detail field to given value. diff --git a/docs/Eula.md b/docs/Eula.md new file mode 100644 index 00000000..1d76d67e --- /dev/null +++ b/docs/Eula.md @@ -0,0 +1,87 @@ +# Eula + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Identifier** | Pointer to **NullableString** | A unique identifier that you can use for your own EULA tracking purposes. This might be a date, or a semantic version, etc. The only requirement is that it is unique across multiple EULAs. | [optional] +**Number** | **int64** | A sequential identifier that increments by one for each new commit in a repository. | + +## Methods + +### NewEula + +`func NewEula(number int64, ) *Eula` + +NewEula instantiates a new Eula object +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 + +### NewEulaWithDefaults + +`func NewEulaWithDefaults() *Eula` + +NewEulaWithDefaults instantiates a new Eula object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetIdentifier + +`func (o *Eula) GetIdentifier() string` + +GetIdentifier returns the Identifier field if non-nil, zero value otherwise. + +### GetIdentifierOk + +`func (o *Eula) GetIdentifierOk() (*string, bool)` + +GetIdentifierOk returns a tuple with the Identifier field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetIdentifier + +`func (o *Eula) SetIdentifier(v string)` + +SetIdentifier sets Identifier field to given value. + +### HasIdentifier + +`func (o *Eula) HasIdentifier() bool` + +HasIdentifier returns a boolean if a field has been set. + +### SetIdentifierNil + +`func (o *Eula) SetIdentifierNil(b bool)` + + SetIdentifierNil sets the value for Identifier to be an explicit nil + +### UnsetIdentifier +`func (o *Eula) UnsetIdentifier()` + +UnsetIdentifier ensures that no value is present for Identifier, not even an explicit nil +### GetNumber + +`func (o *Eula) GetNumber() int64` + +GetNumber returns the Number field if non-nil, zero value otherwise. + +### GetNumberOk + +`func (o *Eula) GetNumberOk() (*int64, bool)` + +GetNumberOk returns a tuple with the Number field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetNumber + +`func (o *Eula) SetNumber(v int64)` + +SetNumber sets Number field to given value. + + + +[[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/docs/FilesAbort.md b/docs/FilesAbort.md deleted file mode 100644 index 3df7d094..00000000 --- a/docs/FilesAbort.md +++ /dev/null @@ -1,129 +0,0 @@ -# FilesAbort - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**Filename** | **string** | Filename for the package file upload. | -**Md5Checksum** | Pointer to **string** | MD5 checksum for a POST-based package file upload. | [optional] -**Method** | Pointer to **string** | The method to use for package file upload. | [optional] -**Sha256Checksum** | Pointer to **string** | SHA256 checksum for a PUT-based package file upload. | [optional] - -## Methods - -### NewFilesAbort - -`func NewFilesAbort(filename string, ) *FilesAbort` - -NewFilesAbort instantiates a new FilesAbort object -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 - -### NewFilesAbortWithDefaults - -`func NewFilesAbortWithDefaults() *FilesAbort` - -NewFilesAbortWithDefaults instantiates a new FilesAbort object -This constructor will only assign default values to properties that have it defined, -but it doesn't guarantee that properties required by API are set - -### GetFilename - -`func (o *FilesAbort) GetFilename() string` - -GetFilename returns the Filename field if non-nil, zero value otherwise. - -### GetFilenameOk - -`func (o *FilesAbort) GetFilenameOk() (*string, bool)` - -GetFilenameOk returns a tuple with the Filename field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetFilename - -`func (o *FilesAbort) SetFilename(v string)` - -SetFilename sets Filename field to given value. - - -### GetMd5Checksum - -`func (o *FilesAbort) GetMd5Checksum() string` - -GetMd5Checksum returns the Md5Checksum field if non-nil, zero value otherwise. - -### GetMd5ChecksumOk - -`func (o *FilesAbort) GetMd5ChecksumOk() (*string, bool)` - -GetMd5ChecksumOk returns a tuple with the Md5Checksum field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetMd5Checksum - -`func (o *FilesAbort) SetMd5Checksum(v string)` - -SetMd5Checksum sets Md5Checksum field to given value. - -### HasMd5Checksum - -`func (o *FilesAbort) HasMd5Checksum() bool` - -HasMd5Checksum returns a boolean if a field has been set. - -### GetMethod - -`func (o *FilesAbort) GetMethod() string` - -GetMethod returns the Method field if non-nil, zero value otherwise. - -### GetMethodOk - -`func (o *FilesAbort) GetMethodOk() (*string, bool)` - -GetMethodOk returns a tuple with the Method field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetMethod - -`func (o *FilesAbort) SetMethod(v string)` - -SetMethod sets Method field to given value. - -### HasMethod - -`func (o *FilesAbort) HasMethod() bool` - -HasMethod returns a boolean if a field has been set. - -### GetSha256Checksum - -`func (o *FilesAbort) GetSha256Checksum() string` - -GetSha256Checksum returns the Sha256Checksum field if non-nil, zero value otherwise. - -### GetSha256ChecksumOk - -`func (o *FilesAbort) GetSha256ChecksumOk() (*string, bool)` - -GetSha256ChecksumOk returns a tuple with the Sha256Checksum field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetSha256Checksum - -`func (o *FilesAbort) SetSha256Checksum(v string)` - -SetSha256Checksum sets Sha256Checksum field to given value. - -### HasSha256Checksum - -`func (o *FilesAbort) HasSha256Checksum() bool` - -HasSha256Checksum 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/docs/FilesApi.md b/docs/FilesApi.md index 861bf0aa..40dd6d35 100644 --- a/docs/FilesApi.md +++ b/docs/FilesApi.md @@ -36,7 +36,7 @@ func main() { owner := "owner_example" // string | repo := "repo_example" // string | identifier := "identifier_example" // string | - data := *openapiclient.NewFilesAbort("Filename_example") // FilesAbort | (optional) + data := *openapiclient.NewPackageFileUploadRequest("Filename_example") // PackageFileUploadRequest | (optional) configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) @@ -68,7 +68,7 @@ Name | Type | Description | Notes - **data** | [**FilesAbort**](FilesAbort.md) | | + **data** | [**PackageFileUploadRequest**](PackageFileUploadRequest.md) | | ### Return type @@ -81,7 +81,7 @@ Name | Type | Description | Notes ### HTTP request headers - **Content-Type**: application/json -- **Accept**: */* +- **Accept**: application/json [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) @@ -90,7 +90,7 @@ Name | Type | Description | Notes ## FilesComplete -> PackageFileUpload FilesComplete(ctx, owner, repo, identifier).Data(data).Execute() +> PackageFileUploadResponse FilesComplete(ctx, owner, repo, identifier).Data(data).Execute() Complete a multipart file upload. @@ -112,7 +112,7 @@ func main() { owner := "owner_example" // string | repo := "repo_example" // string | identifier := "identifier_example" // string | - data := *openapiclient.NewFilesComplete("Filename_example") // FilesComplete | (optional) + data := *openapiclient.NewPackageFileUploadRequest("Filename_example") // PackageFileUploadRequest | (optional) configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) @@ -121,7 +121,7 @@ func main() { fmt.Fprintf(os.Stderr, "Error when calling `FilesApi.FilesComplete``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } - // response from `FilesComplete`: PackageFileUpload + // response from `FilesComplete`: PackageFileUploadResponse fmt.Fprintf(os.Stdout, "Response from `FilesApi.FilesComplete`: %v\n", resp) } ``` @@ -146,11 +146,11 @@ Name | Type | Description | Notes - **data** | [**FilesComplete**](FilesComplete.md) | | + **data** | [**PackageFileUploadRequest**](PackageFileUploadRequest.md) | | ### Return type -[**PackageFileUpload**](PackageFileUpload.md) +[**PackageFileUploadResponse**](PackageFileUploadResponse.md) ### Authorization @@ -159,7 +159,7 @@ Name | Type | Description | Notes ### HTTP request headers - **Content-Type**: application/json -- **Accept**: */* +- **Accept**: application/json [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) @@ -168,7 +168,7 @@ Name | Type | Description | Notes ## FilesCreate -> PackageFileUpload FilesCreate(ctx, owner, repo).Data(data).Execute() +> PackageFileUploadResponse FilesCreate(ctx, owner, repo).Data(data).Execute() Request URL(s) to upload new package file upload(s) to. @@ -189,7 +189,7 @@ import ( func main() { owner := "owner_example" // string | repo := "repo_example" // string | - data := *openapiclient.NewFilesCreate("Filename_example") // FilesCreate | (optional) + data := *openapiclient.NewPackageFileUploadRequest("Filename_example") // PackageFileUploadRequest | (optional) configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) @@ -198,7 +198,7 @@ func main() { fmt.Fprintf(os.Stderr, "Error when calling `FilesApi.FilesCreate``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } - // response from `FilesCreate`: PackageFileUpload + // response from `FilesCreate`: PackageFileUploadResponse fmt.Fprintf(os.Stdout, "Response from `FilesApi.FilesCreate`: %v\n", resp) } ``` @@ -221,11 +221,11 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **data** | [**FilesCreate**](FilesCreate.md) | | + **data** | [**PackageFileUploadRequest**](PackageFileUploadRequest.md) | | ### Return type -[**PackageFileUpload**](PackageFileUpload.md) +[**PackageFileUploadResponse**](PackageFileUploadResponse.md) ### Authorization @@ -234,7 +234,7 @@ Name | Type | Description | Notes ### HTTP request headers - **Content-Type**: application/json -- **Accept**: */* +- **Accept**: application/json [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) @@ -243,7 +243,7 @@ Name | Type | Description | Notes ## FilesInfo -> PackageFilePartsUpload FilesInfo(ctx, owner, repo, identifier).Filename(filename).PartNumber(partNumber).Execute() +> PackageFilePartsUploadResponse FilesInfo(ctx, owner, repo, identifier).Filename(filename).PartNumber(partNumber).Execute() Get upload information to perform a multipart file upload. @@ -275,7 +275,7 @@ func main() { fmt.Fprintf(os.Stderr, "Error when calling `FilesApi.FilesInfo``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } - // response from `FilesInfo`: PackageFilePartsUpload + // response from `FilesInfo`: PackageFilePartsUploadResponse fmt.Fprintf(os.Stdout, "Response from `FilesApi.FilesInfo`: %v\n", resp) } ``` @@ -305,7 +305,7 @@ Name | Type | Description | Notes ### Return type -[**PackageFilePartsUpload**](PackageFilePartsUpload.md) +[**PackageFilePartsUploadResponse**](PackageFilePartsUploadResponse.md) ### Authorization @@ -314,7 +314,7 @@ Name | Type | Description | Notes ### HTTP request headers - **Content-Type**: Not defined -- **Accept**: */* +- **Accept**: application/json [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) @@ -344,7 +344,7 @@ import ( func main() { owner := "owner_example" // string | repo := "repo_example" // string | - data := *openapiclient.NewFilesValidate("Filename_example") // FilesValidate | (optional) + data := *openapiclient.NewPackageFileUploadRequest("Filename_example") // PackageFileUploadRequest | (optional) configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) @@ -374,7 +374,7 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **data** | [**FilesValidate**](FilesValidate.md) | | + **data** | [**PackageFileUploadRequest**](PackageFileUploadRequest.md) | | ### Return type @@ -387,7 +387,7 @@ Name | Type | Description | Notes ### HTTP request headers - **Content-Type**: application/json -- **Accept**: */* +- **Accept**: application/json [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) diff --git a/docs/FilesComplete.md b/docs/FilesComplete.md deleted file mode 100644 index cb7c23cf..00000000 --- a/docs/FilesComplete.md +++ /dev/null @@ -1,129 +0,0 @@ -# FilesComplete - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**Filename** | **string** | Filename for the package file upload. | -**Md5Checksum** | Pointer to **string** | MD5 checksum for a POST-based package file upload. | [optional] -**Method** | Pointer to **string** | The method to use for package file upload. | [optional] -**Sha256Checksum** | Pointer to **string** | SHA256 checksum for a PUT-based package file upload. | [optional] - -## Methods - -### NewFilesComplete - -`func NewFilesComplete(filename string, ) *FilesComplete` - -NewFilesComplete instantiates a new FilesComplete object -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 - -### NewFilesCompleteWithDefaults - -`func NewFilesCompleteWithDefaults() *FilesComplete` - -NewFilesCompleteWithDefaults instantiates a new FilesComplete object -This constructor will only assign default values to properties that have it defined, -but it doesn't guarantee that properties required by API are set - -### GetFilename - -`func (o *FilesComplete) GetFilename() string` - -GetFilename returns the Filename field if non-nil, zero value otherwise. - -### GetFilenameOk - -`func (o *FilesComplete) GetFilenameOk() (*string, bool)` - -GetFilenameOk returns a tuple with the Filename field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetFilename - -`func (o *FilesComplete) SetFilename(v string)` - -SetFilename sets Filename field to given value. - - -### GetMd5Checksum - -`func (o *FilesComplete) GetMd5Checksum() string` - -GetMd5Checksum returns the Md5Checksum field if non-nil, zero value otherwise. - -### GetMd5ChecksumOk - -`func (o *FilesComplete) GetMd5ChecksumOk() (*string, bool)` - -GetMd5ChecksumOk returns a tuple with the Md5Checksum field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetMd5Checksum - -`func (o *FilesComplete) SetMd5Checksum(v string)` - -SetMd5Checksum sets Md5Checksum field to given value. - -### HasMd5Checksum - -`func (o *FilesComplete) HasMd5Checksum() bool` - -HasMd5Checksum returns a boolean if a field has been set. - -### GetMethod - -`func (o *FilesComplete) GetMethod() string` - -GetMethod returns the Method field if non-nil, zero value otherwise. - -### GetMethodOk - -`func (o *FilesComplete) GetMethodOk() (*string, bool)` - -GetMethodOk returns a tuple with the Method field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetMethod - -`func (o *FilesComplete) SetMethod(v string)` - -SetMethod sets Method field to given value. - -### HasMethod - -`func (o *FilesComplete) HasMethod() bool` - -HasMethod returns a boolean if a field has been set. - -### GetSha256Checksum - -`func (o *FilesComplete) GetSha256Checksum() string` - -GetSha256Checksum returns the Sha256Checksum field if non-nil, zero value otherwise. - -### GetSha256ChecksumOk - -`func (o *FilesComplete) GetSha256ChecksumOk() (*string, bool)` - -GetSha256ChecksumOk returns a tuple with the Sha256Checksum field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetSha256Checksum - -`func (o *FilesComplete) SetSha256Checksum(v string)` - -SetSha256Checksum sets Sha256Checksum field to given value. - -### HasSha256Checksum - -`func (o *FilesComplete) HasSha256Checksum() bool` - -HasSha256Checksum 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/docs/FilesValidate.md b/docs/FilesValidate.md deleted file mode 100644 index c7063d21..00000000 --- a/docs/FilesValidate.md +++ /dev/null @@ -1,129 +0,0 @@ -# FilesValidate - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**Filename** | **string** | Filename for the package file upload. | -**Md5Checksum** | Pointer to **string** | MD5 checksum for a POST-based package file upload. | [optional] -**Method** | Pointer to **string** | The method to use for package file upload. | [optional] -**Sha256Checksum** | Pointer to **string** | SHA256 checksum for a PUT-based package file upload. | [optional] - -## Methods - -### NewFilesValidate - -`func NewFilesValidate(filename string, ) *FilesValidate` - -NewFilesValidate instantiates a new FilesValidate object -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 - -### NewFilesValidateWithDefaults - -`func NewFilesValidateWithDefaults() *FilesValidate` - -NewFilesValidateWithDefaults instantiates a new FilesValidate object -This constructor will only assign default values to properties that have it defined, -but it doesn't guarantee that properties required by API are set - -### GetFilename - -`func (o *FilesValidate) GetFilename() string` - -GetFilename returns the Filename field if non-nil, zero value otherwise. - -### GetFilenameOk - -`func (o *FilesValidate) GetFilenameOk() (*string, bool)` - -GetFilenameOk returns a tuple with the Filename field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetFilename - -`func (o *FilesValidate) SetFilename(v string)` - -SetFilename sets Filename field to given value. - - -### GetMd5Checksum - -`func (o *FilesValidate) GetMd5Checksum() string` - -GetMd5Checksum returns the Md5Checksum field if non-nil, zero value otherwise. - -### GetMd5ChecksumOk - -`func (o *FilesValidate) GetMd5ChecksumOk() (*string, bool)` - -GetMd5ChecksumOk returns a tuple with the Md5Checksum field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetMd5Checksum - -`func (o *FilesValidate) SetMd5Checksum(v string)` - -SetMd5Checksum sets Md5Checksum field to given value. - -### HasMd5Checksum - -`func (o *FilesValidate) HasMd5Checksum() bool` - -HasMd5Checksum returns a boolean if a field has been set. - -### GetMethod - -`func (o *FilesValidate) GetMethod() string` - -GetMethod returns the Method field if non-nil, zero value otherwise. - -### GetMethodOk - -`func (o *FilesValidate) GetMethodOk() (*string, bool)` - -GetMethodOk returns a tuple with the Method field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetMethod - -`func (o *FilesValidate) SetMethod(v string)` - -SetMethod sets Method field to given value. - -### HasMethod - -`func (o *FilesValidate) HasMethod() bool` - -HasMethod returns a boolean if a field has been set. - -### GetSha256Checksum - -`func (o *FilesValidate) GetSha256Checksum() string` - -GetSha256Checksum returns the Sha256Checksum field if non-nil, zero value otherwise. - -### GetSha256ChecksumOk - -`func (o *FilesValidate) GetSha256ChecksumOk() (*string, bool)` - -GetSha256ChecksumOk returns a tuple with the Sha256Checksum field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetSha256Checksum - -`func (o *FilesValidate) SetSha256Checksum(v string)` - -SetSha256Checksum sets Sha256Checksum field to given value. - -### HasSha256Checksum - -`func (o *FilesValidate) HasSha256Checksum() bool` - -HasSha256Checksum 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/docs/Format.md b/docs/FormatResponse.md similarity index 55% rename from docs/Format.md rename to docs/FormatResponse.md index e322e078..b15236e7 100644 --- a/docs/Format.md +++ b/docs/FormatResponse.md @@ -1,229 +1,259 @@ -# Format +# FormatResponse ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **Description** | **string** | Description of the package format | -**Distributions** | Pointer to [**[]FormatsDistributions**](FormatsDistributions.md) | The distributions supported by this package format | [optional] +**Distributions** | Pointer to [**[]Distribution**](Distribution.md) | The distributions supported by this package format | [optional] **Extensions** | **[]string** | A non-exhaustive list of extensions supported | **Name** | **string** | Name for the package format | **Premium** | **bool** | If true the package format is a premium-only feature | -**PremiumPlanId** | Pointer to **string** | The minimum plan id required for this package format | [optional] -**PremiumPlanName** | Pointer to **string** | The minimum plan name required for this package format | [optional] +**PremiumPlanId** | Pointer to **NullableString** | The minimum plan id required for this package format | [optional] +**PremiumPlanName** | Pointer to **NullableString** | The minimum plan name required for this package format | [optional] **Slug** | **string** | Slug for the package format | -**Supports** | **map[string]interface{}** | A set of what the package format supports | +**Supports** | [**FormatSupport**](FormatSupport.md) | | ## Methods -### NewFormat +### NewFormatResponse -`func NewFormat(description string, extensions []string, name string, premium bool, slug string, supports map[string]interface{}, ) *Format` +`func NewFormatResponse(description string, extensions []string, name string, premium bool, slug string, supports FormatSupport, ) *FormatResponse` -NewFormat instantiates a new Format object +NewFormatResponse instantiates a new FormatResponse object 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 -### NewFormatWithDefaults +### NewFormatResponseWithDefaults -`func NewFormatWithDefaults() *Format` +`func NewFormatResponseWithDefaults() *FormatResponse` -NewFormatWithDefaults instantiates a new Format object +NewFormatResponseWithDefaults instantiates a new FormatResponse object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set ### GetDescription -`func (o *Format) GetDescription() string` +`func (o *FormatResponse) GetDescription() string` GetDescription returns the Description field if non-nil, zero value otherwise. ### GetDescriptionOk -`func (o *Format) GetDescriptionOk() (*string, bool)` +`func (o *FormatResponse) GetDescriptionOk() (*string, bool)` GetDescriptionOk returns a tuple with the Description field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetDescription -`func (o *Format) SetDescription(v string)` +`func (o *FormatResponse) SetDescription(v string)` SetDescription sets Description field to given value. ### GetDistributions -`func (o *Format) GetDistributions() []FormatsDistributions` +`func (o *FormatResponse) GetDistributions() []Distribution` GetDistributions returns the Distributions field if non-nil, zero value otherwise. ### GetDistributionsOk -`func (o *Format) GetDistributionsOk() (*[]FormatsDistributions, bool)` +`func (o *FormatResponse) GetDistributionsOk() (*[]Distribution, bool)` GetDistributionsOk returns a tuple with the Distributions field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetDistributions -`func (o *Format) SetDistributions(v []FormatsDistributions)` +`func (o *FormatResponse) SetDistributions(v []Distribution)` SetDistributions sets Distributions field to given value. ### HasDistributions -`func (o *Format) HasDistributions() bool` +`func (o *FormatResponse) HasDistributions() bool` HasDistributions returns a boolean if a field has been set. +### SetDistributionsNil + +`func (o *FormatResponse) SetDistributionsNil(b bool)` + + SetDistributionsNil sets the value for Distributions to be an explicit nil + +### UnsetDistributions +`func (o *FormatResponse) UnsetDistributions()` + +UnsetDistributions ensures that no value is present for Distributions, not even an explicit nil ### GetExtensions -`func (o *Format) GetExtensions() []string` +`func (o *FormatResponse) GetExtensions() []string` GetExtensions returns the Extensions field if non-nil, zero value otherwise. ### GetExtensionsOk -`func (o *Format) GetExtensionsOk() (*[]string, bool)` +`func (o *FormatResponse) GetExtensionsOk() (*[]string, bool)` GetExtensionsOk returns a tuple with the Extensions field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetExtensions -`func (o *Format) SetExtensions(v []string)` +`func (o *FormatResponse) SetExtensions(v []string)` SetExtensions sets Extensions field to given value. ### GetName -`func (o *Format) GetName() string` +`func (o *FormatResponse) GetName() string` GetName returns the Name field if non-nil, zero value otherwise. ### GetNameOk -`func (o *Format) GetNameOk() (*string, bool)` +`func (o *FormatResponse) GetNameOk() (*string, bool)` 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. ### SetName -`func (o *Format) SetName(v string)` +`func (o *FormatResponse) SetName(v string)` SetName sets Name field to given value. ### GetPremium -`func (o *Format) GetPremium() bool` +`func (o *FormatResponse) GetPremium() bool` GetPremium returns the Premium field if non-nil, zero value otherwise. ### GetPremiumOk -`func (o *Format) GetPremiumOk() (*bool, bool)` +`func (o *FormatResponse) GetPremiumOk() (*bool, bool)` GetPremiumOk returns a tuple with the Premium field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetPremium -`func (o *Format) SetPremium(v bool)` +`func (o *FormatResponse) SetPremium(v bool)` SetPremium sets Premium field to given value. ### GetPremiumPlanId -`func (o *Format) GetPremiumPlanId() string` +`func (o *FormatResponse) GetPremiumPlanId() string` GetPremiumPlanId returns the PremiumPlanId field if non-nil, zero value otherwise. ### GetPremiumPlanIdOk -`func (o *Format) GetPremiumPlanIdOk() (*string, bool)` +`func (o *FormatResponse) GetPremiumPlanIdOk() (*string, bool)` GetPremiumPlanIdOk returns a tuple with the PremiumPlanId field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetPremiumPlanId -`func (o *Format) SetPremiumPlanId(v string)` +`func (o *FormatResponse) SetPremiumPlanId(v string)` SetPremiumPlanId sets PremiumPlanId field to given value. ### HasPremiumPlanId -`func (o *Format) HasPremiumPlanId() bool` +`func (o *FormatResponse) HasPremiumPlanId() bool` HasPremiumPlanId returns a boolean if a field has been set. +### SetPremiumPlanIdNil + +`func (o *FormatResponse) SetPremiumPlanIdNil(b bool)` + + SetPremiumPlanIdNil sets the value for PremiumPlanId to be an explicit nil + +### UnsetPremiumPlanId +`func (o *FormatResponse) UnsetPremiumPlanId()` + +UnsetPremiumPlanId ensures that no value is present for PremiumPlanId, not even an explicit nil ### GetPremiumPlanName -`func (o *Format) GetPremiumPlanName() string` +`func (o *FormatResponse) GetPremiumPlanName() string` GetPremiumPlanName returns the PremiumPlanName field if non-nil, zero value otherwise. ### GetPremiumPlanNameOk -`func (o *Format) GetPremiumPlanNameOk() (*string, bool)` +`func (o *FormatResponse) GetPremiumPlanNameOk() (*string, bool)` GetPremiumPlanNameOk returns a tuple with the PremiumPlanName field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetPremiumPlanName -`func (o *Format) SetPremiumPlanName(v string)` +`func (o *FormatResponse) SetPremiumPlanName(v string)` SetPremiumPlanName sets PremiumPlanName field to given value. ### HasPremiumPlanName -`func (o *Format) HasPremiumPlanName() bool` +`func (o *FormatResponse) HasPremiumPlanName() bool` HasPremiumPlanName returns a boolean if a field has been set. +### SetPremiumPlanNameNil + +`func (o *FormatResponse) SetPremiumPlanNameNil(b bool)` + + SetPremiumPlanNameNil sets the value for PremiumPlanName to be an explicit nil + +### UnsetPremiumPlanName +`func (o *FormatResponse) UnsetPremiumPlanName()` + +UnsetPremiumPlanName ensures that no value is present for PremiumPlanName, not even an explicit nil ### GetSlug -`func (o *Format) GetSlug() string` +`func (o *FormatResponse) GetSlug() string` GetSlug returns the Slug field if non-nil, zero value otherwise. ### GetSlugOk -`func (o *Format) GetSlugOk() (*string, bool)` +`func (o *FormatResponse) GetSlugOk() (*string, bool)` GetSlugOk returns a tuple with the Slug field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetSlug -`func (o *Format) SetSlug(v string)` +`func (o *FormatResponse) SetSlug(v string)` SetSlug sets Slug field to given value. ### GetSupports -`func (o *Format) GetSupports() map[string]interface{}` +`func (o *FormatResponse) GetSupports() FormatSupport` GetSupports returns the Supports field if non-nil, zero value otherwise. ### GetSupportsOk -`func (o *Format) GetSupportsOk() (*map[string]interface{}, bool)` +`func (o *FormatResponse) GetSupportsOk() (*FormatSupport, bool)` GetSupportsOk returns a tuple with the Supports field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetSupports -`func (o *Format) SetSupports(v map[string]interface{})` +`func (o *FormatResponse) SetSupports(v FormatSupport)` SetSupports sets Supports field to given value. diff --git a/docs/FormatSupport.md b/docs/FormatSupport.md new file mode 100644 index 00000000..ffb8b926 --- /dev/null +++ b/docs/FormatSupport.md @@ -0,0 +1,135 @@ +# FormatSupport + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Dependencies** | **bool** | If true the package format supports dependencies | +**Distributions** | **bool** | If true the package format supports distributions | +**FileLists** | **bool** | If true the package format supports file lists | +**Metadata** | **bool** | If true the package format supports metadata | +**Versioning** | **bool** | If true the package format supports versioning | + +## Methods + +### NewFormatSupport + +`func NewFormatSupport(dependencies bool, distributions bool, fileLists bool, metadata bool, versioning bool, ) *FormatSupport` + +NewFormatSupport instantiates a new FormatSupport object +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 + +### NewFormatSupportWithDefaults + +`func NewFormatSupportWithDefaults() *FormatSupport` + +NewFormatSupportWithDefaults instantiates a new FormatSupport object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetDependencies + +`func (o *FormatSupport) GetDependencies() bool` + +GetDependencies returns the Dependencies field if non-nil, zero value otherwise. + +### GetDependenciesOk + +`func (o *FormatSupport) GetDependenciesOk() (*bool, 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 *FormatSupport) SetDependencies(v bool)` + +SetDependencies sets Dependencies field to given value. + + +### GetDistributions + +`func (o *FormatSupport) GetDistributions() bool` + +GetDistributions returns the Distributions field if non-nil, zero value otherwise. + +### GetDistributionsOk + +`func (o *FormatSupport) GetDistributionsOk() (*bool, bool)` + +GetDistributionsOk returns a tuple with the Distributions field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetDistributions + +`func (o *FormatSupport) SetDistributions(v bool)` + +SetDistributions sets Distributions field to given value. + + +### GetFileLists + +`func (o *FormatSupport) GetFileLists() bool` + +GetFileLists returns the FileLists field if non-nil, zero value otherwise. + +### GetFileListsOk + +`func (o *FormatSupport) GetFileListsOk() (*bool, bool)` + +GetFileListsOk returns a tuple with the FileLists field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetFileLists + +`func (o *FormatSupport) SetFileLists(v bool)` + +SetFileLists sets FileLists field to given value. + + +### GetMetadata + +`func (o *FormatSupport) GetMetadata() bool` + +GetMetadata returns the Metadata field if non-nil, zero value otherwise. + +### GetMetadataOk + +`func (o *FormatSupport) GetMetadataOk() (*bool, bool)` + +GetMetadataOk returns a tuple with the Metadata field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetMetadata + +`func (o *FormatSupport) SetMetadata(v bool)` + +SetMetadata sets Metadata field to given value. + + +### GetVersioning + +`func (o *FormatSupport) GetVersioning() bool` + +GetVersioning returns the Versioning field if non-nil, zero value otherwise. + +### GetVersioningOk + +`func (o *FormatSupport) GetVersioningOk() (*bool, bool)` + +GetVersioningOk returns a tuple with the Versioning field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetVersioning + +`func (o *FormatSupport) SetVersioning(v bool)` + +SetVersioning sets Versioning field to given value. + + + +[[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/docs/FormatsApi.md b/docs/FormatsApi.md index 851ddd0b..d0019249 100644 --- a/docs/FormatsApi.md +++ b/docs/FormatsApi.md @@ -11,7 +11,7 @@ Method | HTTP request | Description ## FormatsList -> []Format FormatsList(ctx).Execute() +> []FormatResponse FormatsList(ctx).Execute() Get a list of all supported package formats. @@ -38,7 +38,7 @@ func main() { fmt.Fprintf(os.Stderr, "Error when calling `FormatsApi.FormatsList``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } - // response from `FormatsList`: []Format + // response from `FormatsList`: []FormatResponse fmt.Fprintf(os.Stdout, "Response from `FormatsApi.FormatsList`: %v\n", resp) } ``` @@ -54,7 +54,7 @@ Other parameters are passed through a pointer to a apiFormatsListRequest struct ### Return type -[**[]Format**](Format.md) +[**[]FormatResponse**](FormatResponse.md) ### Authorization @@ -63,7 +63,7 @@ Other parameters are passed through a pointer to a apiFormatsListRequest struct ### HTTP request headers - **Content-Type**: Not defined -- **Accept**: */* +- **Accept**: application/json [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) @@ -72,7 +72,7 @@ Other parameters are passed through a pointer to a apiFormatsListRequest struct ## FormatsRead -> Format FormatsRead(ctx, slug).Execute() +> FormatResponse FormatsRead(ctx, slug).Execute() Get a specific supported package format. @@ -100,7 +100,7 @@ func main() { fmt.Fprintf(os.Stderr, "Error when calling `FormatsApi.FormatsRead``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } - // response from `FormatsRead`: Format + // response from `FormatsRead`: FormatResponse fmt.Fprintf(os.Stdout, "Response from `FormatsApi.FormatsRead`: %v\n", resp) } ``` @@ -124,7 +124,7 @@ Name | Type | Description | Notes ### Return type -[**Format**](Format.md) +[**FormatResponse**](FormatResponse.md) ### Authorization @@ -133,7 +133,7 @@ Name | Type | Description | Notes ### HTTP request headers - **Content-Type**: Not defined -- **Accept**: */* +- **Accept**: application/json [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) diff --git a/docs/FormatsDistributions.md b/docs/FormatsDistributions.md deleted file mode 100644 index 4d2a4b1c..00000000 --- a/docs/FormatsDistributions.md +++ /dev/null @@ -1,134 +0,0 @@ -# FormatsDistributions - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**Name** | Pointer to **string** | | [optional] -**SelfUrl** | Pointer to **string** | | [optional] -**Slug** | Pointer to **string** | The slug identifier for this distribution | [optional] -**Variants** | Pointer to **string** | | [optional] - -## Methods - -### NewFormatsDistributions - -`func NewFormatsDistributions() *FormatsDistributions` - -NewFormatsDistributions instantiates a new FormatsDistributions object -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 - -### NewFormatsDistributionsWithDefaults - -`func NewFormatsDistributionsWithDefaults() *FormatsDistributions` - -NewFormatsDistributionsWithDefaults instantiates a new FormatsDistributions object -This constructor will only assign default values to properties that have it defined, -but it doesn't guarantee that properties required by API are set - -### GetName - -`func (o *FormatsDistributions) GetName() string` - -GetName returns the Name field if non-nil, zero value otherwise. - -### GetNameOk - -`func (o *FormatsDistributions) GetNameOk() (*string, bool)` - -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. - -### SetName - -`func (o *FormatsDistributions) SetName(v string)` - -SetName sets Name field to given value. - -### HasName - -`func (o *FormatsDistributions) HasName() bool` - -HasName returns a boolean if a field has been set. - -### GetSelfUrl - -`func (o *FormatsDistributions) GetSelfUrl() string` - -GetSelfUrl returns the SelfUrl field if non-nil, zero value otherwise. - -### GetSelfUrlOk - -`func (o *FormatsDistributions) GetSelfUrlOk() (*string, bool)` - -GetSelfUrlOk returns a tuple with the SelfUrl field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetSelfUrl - -`func (o *FormatsDistributions) SetSelfUrl(v string)` - -SetSelfUrl sets SelfUrl field to given value. - -### HasSelfUrl - -`func (o *FormatsDistributions) HasSelfUrl() bool` - -HasSelfUrl returns a boolean if a field has been set. - -### GetSlug - -`func (o *FormatsDistributions) GetSlug() string` - -GetSlug returns the Slug field if non-nil, zero value otherwise. - -### GetSlugOk - -`func (o *FormatsDistributions) GetSlugOk() (*string, bool)` - -GetSlugOk returns a tuple with the Slug field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetSlug - -`func (o *FormatsDistributions) SetSlug(v string)` - -SetSlug sets Slug field to given value. - -### HasSlug - -`func (o *FormatsDistributions) HasSlug() bool` - -HasSlug returns a boolean if a field has been set. - -### GetVariants - -`func (o *FormatsDistributions) GetVariants() string` - -GetVariants returns the Variants field if non-nil, zero value otherwise. - -### GetVariantsOk - -`func (o *FormatsDistributions) GetVariantsOk() (*string, bool)` - -GetVariantsOk returns a tuple with the Variants field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetVariants - -`func (o *FormatsDistributions) SetVariants(v string)` - -SetVariants sets Variants field to given value. - -### HasVariants - -`func (o *FormatsDistributions) HasVariants() bool` - -HasVariants 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/docs/GeoIpLocation.md b/docs/GeoIpLocation.md new file mode 100644 index 00000000..9330a2b2 --- /dev/null +++ b/docs/GeoIpLocation.md @@ -0,0 +1,252 @@ +# GeoIpLocation + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**City** | **NullableString** | | +**Continent** | **NullableString** | | +**Country** | **NullableString** | | +**CountryCode** | Pointer to **string** | | [optional] [readonly] +**Latitude** | Pointer to **NullableFloat64** | | [optional] +**Longitude** | Pointer to **NullableFloat64** | | [optional] +**PostalCode** | **NullableString** | | + +## Methods + +### NewGeoIpLocation + +`func NewGeoIpLocation(city NullableString, continent NullableString, country NullableString, postalCode NullableString, ) *GeoIpLocation` + +NewGeoIpLocation instantiates a new GeoIpLocation object +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 + +### NewGeoIpLocationWithDefaults + +`func NewGeoIpLocationWithDefaults() *GeoIpLocation` + +NewGeoIpLocationWithDefaults instantiates a new GeoIpLocation object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetCity + +`func (o *GeoIpLocation) GetCity() string` + +GetCity returns the City field if non-nil, zero value otherwise. + +### GetCityOk + +`func (o *GeoIpLocation) GetCityOk() (*string, bool)` + +GetCityOk returns a tuple with the City field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetCity + +`func (o *GeoIpLocation) SetCity(v string)` + +SetCity sets City field to given value. + + +### SetCityNil + +`func (o *GeoIpLocation) SetCityNil(b bool)` + + SetCityNil sets the value for City to be an explicit nil + +### UnsetCity +`func (o *GeoIpLocation) UnsetCity()` + +UnsetCity ensures that no value is present for City, not even an explicit nil +### GetContinent + +`func (o *GeoIpLocation) GetContinent() string` + +GetContinent returns the Continent field if non-nil, zero value otherwise. + +### GetContinentOk + +`func (o *GeoIpLocation) GetContinentOk() (*string, bool)` + +GetContinentOk returns a tuple with the Continent field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetContinent + +`func (o *GeoIpLocation) SetContinent(v string)` + +SetContinent sets Continent field to given value. + + +### SetContinentNil + +`func (o *GeoIpLocation) SetContinentNil(b bool)` + + SetContinentNil sets the value for Continent to be an explicit nil + +### UnsetContinent +`func (o *GeoIpLocation) UnsetContinent()` + +UnsetContinent ensures that no value is present for Continent, not even an explicit nil +### GetCountry + +`func (o *GeoIpLocation) GetCountry() string` + +GetCountry returns the Country field if non-nil, zero value otherwise. + +### GetCountryOk + +`func (o *GeoIpLocation) GetCountryOk() (*string, bool)` + +GetCountryOk returns a tuple with the Country field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetCountry + +`func (o *GeoIpLocation) SetCountry(v string)` + +SetCountry sets Country field to given value. + + +### SetCountryNil + +`func (o *GeoIpLocation) SetCountryNil(b bool)` + + SetCountryNil sets the value for Country to be an explicit nil + +### UnsetCountry +`func (o *GeoIpLocation) UnsetCountry()` + +UnsetCountry ensures that no value is present for Country, not even an explicit nil +### GetCountryCode + +`func (o *GeoIpLocation) GetCountryCode() string` + +GetCountryCode returns the CountryCode field if non-nil, zero value otherwise. + +### GetCountryCodeOk + +`func (o *GeoIpLocation) GetCountryCodeOk() (*string, bool)` + +GetCountryCodeOk returns a tuple with the CountryCode field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetCountryCode + +`func (o *GeoIpLocation) SetCountryCode(v string)` + +SetCountryCode sets CountryCode field to given value. + +### HasCountryCode + +`func (o *GeoIpLocation) HasCountryCode() bool` + +HasCountryCode returns a boolean if a field has been set. + +### GetLatitude + +`func (o *GeoIpLocation) GetLatitude() float64` + +GetLatitude returns the Latitude field if non-nil, zero value otherwise. + +### GetLatitudeOk + +`func (o *GeoIpLocation) GetLatitudeOk() (*float64, bool)` + +GetLatitudeOk returns a tuple with the Latitude field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetLatitude + +`func (o *GeoIpLocation) SetLatitude(v float64)` + +SetLatitude sets Latitude field to given value. + +### HasLatitude + +`func (o *GeoIpLocation) HasLatitude() bool` + +HasLatitude returns a boolean if a field has been set. + +### SetLatitudeNil + +`func (o *GeoIpLocation) SetLatitudeNil(b bool)` + + SetLatitudeNil sets the value for Latitude to be an explicit nil + +### UnsetLatitude +`func (o *GeoIpLocation) UnsetLatitude()` + +UnsetLatitude ensures that no value is present for Latitude, not even an explicit nil +### GetLongitude + +`func (o *GeoIpLocation) GetLongitude() float64` + +GetLongitude returns the Longitude field if non-nil, zero value otherwise. + +### GetLongitudeOk + +`func (o *GeoIpLocation) GetLongitudeOk() (*float64, bool)` + +GetLongitudeOk returns a tuple with the Longitude field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetLongitude + +`func (o *GeoIpLocation) SetLongitude(v float64)` + +SetLongitude sets Longitude field to given value. + +### HasLongitude + +`func (o *GeoIpLocation) HasLongitude() bool` + +HasLongitude returns a boolean if a field has been set. + +### SetLongitudeNil + +`func (o *GeoIpLocation) SetLongitudeNil(b bool)` + + SetLongitudeNil sets the value for Longitude to be an explicit nil + +### UnsetLongitude +`func (o *GeoIpLocation) UnsetLongitude()` + +UnsetLongitude ensures that no value is present for Longitude, not even an explicit nil +### GetPostalCode + +`func (o *GeoIpLocation) GetPostalCode() string` + +GetPostalCode returns the PostalCode field if non-nil, zero value otherwise. + +### GetPostalCodeOk + +`func (o *GeoIpLocation) GetPostalCodeOk() (*string, bool)` + +GetPostalCodeOk returns a tuple with the PostalCode field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetPostalCode + +`func (o *GeoIpLocation) SetPostalCode(v string)` + +SetPostalCode sets PostalCode field to given value. + + +### SetPostalCodeNil + +`func (o *GeoIpLocation) SetPostalCodeNil(b bool)` + + SetPostalCodeNil sets the value for PostalCode to be an explicit nil + +### UnsetPostalCode +`func (o *GeoIpLocation) UnsetPostalCode()` + +UnsetPostalCode ensures that no value is present for PostalCode, 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/docs/GoPackageUpload.md b/docs/GoPackageUpload.md deleted file mode 100644 index 2144489b..00000000 --- a/docs/GoPackageUpload.md +++ /dev/null @@ -1,1746 +0,0 @@ -# GoPackageUpload - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**Architectures** | Pointer to [**[]PackagesOwnerRepoArchitectures**](PackagesOwnerRepoArchitectures.md) | | [optional] -**CdnUrl** | Pointer to **string** | | [optional] -**ChecksumMd5** | Pointer to **string** | | [optional] -**ChecksumSha1** | Pointer to **string** | | [optional] -**ChecksumSha256** | Pointer to **string** | | [optional] -**ChecksumSha512** | Pointer to **string** | | [optional] -**DependenciesChecksumMd5** | Pointer to **string** | A checksum of all of the package's dependencies. | [optional] -**DependenciesUrl** | Pointer to **string** | | [optional] -**Description** | Pointer to **string** | A textual description of this package. | [optional] -**Distro** | Pointer to **map[string]interface{}** | | [optional] -**DistroVersion** | Pointer to **map[string]interface{}** | | [optional] -**Downloads** | Pointer to **int64** | | [optional] -**Epoch** | Pointer to **int64** | The epoch of the package version (if any). | [optional] -**Extension** | Pointer to **string** | | [optional] -**Filename** | Pointer to **string** | | [optional] -**Files** | Pointer to [**[]PackagesOwnerRepoFiles**](PackagesOwnerRepoFiles.md) | | [optional] -**Format** | Pointer to **string** | | [optional] -**FormatUrl** | Pointer to **string** | | [optional] -**IdentifierPerm** | Pointer to **string** | Unique and permanent identifier for the package. | [optional] -**Indexed** | Pointer to **bool** | | [optional] -**IsDownloadable** | Pointer to **bool** | | [optional] -**IsQuarantined** | Pointer to **bool** | | [optional] -**IsSyncAwaiting** | Pointer to **bool** | | [optional] -**IsSyncCompleted** | Pointer to **bool** | | [optional] -**IsSyncFailed** | Pointer to **bool** | | [optional] -**IsSyncInFlight** | Pointer to **bool** | | [optional] -**IsSyncInProgress** | Pointer to **bool** | | [optional] -**License** | Pointer to **string** | The license of this package. | [optional] -**Name** | Pointer to **string** | The name of this package. | [optional] -**Namespace** | Pointer to **string** | | [optional] -**NamespaceUrl** | Pointer to **string** | | [optional] -**NumFiles** | Pointer to **int64** | | [optional] -**PackageType** | Pointer to **int64** | The type of package contents. | [optional] -**Release** | Pointer to **string** | The release of the package version (if any). | [optional] -**Repository** | Pointer to **string** | | [optional] -**RepositoryUrl** | Pointer to **string** | | [optional] -**SecurityScanCompletedAt** | Pointer to **string** | The datetime the security scanning was completed. | [optional] -**SecurityScanStartedAt** | Pointer to **string** | The datetime the security scanning was started. | [optional] -**SecurityScanStatus** | Pointer to **string** | | [optional] -**SecurityScanStatusUpdatedAt** | Pointer to **string** | The datetime the security scanning status was updated. | [optional] -**SelfHtmlUrl** | Pointer to **string** | | [optional] -**SelfUrl** | Pointer to **string** | | [optional] -**SignatureUrl** | Pointer to **string** | | [optional] -**Size** | Pointer to **int64** | The calculated size of the package. | [optional] -**Slug** | Pointer to **string** | The public unique identifier for the package. | [optional] -**SlugPerm** | Pointer to **string** | | [optional] -**Stage** | Pointer to **int64** | The synchronisation (in progress) stage of the package. | [optional] -**StageStr** | Pointer to **string** | | [optional] -**StageUpdatedAt** | Pointer to **string** | The datetime the package stage was updated at. | [optional] -**Status** | Pointer to **int64** | The synchronisation status of the package. | [optional] -**StatusReason** | Pointer to **string** | A textual description for the synchronous status reason (if any | [optional] -**StatusStr** | Pointer to **string** | | [optional] -**StatusUpdatedAt** | Pointer to **string** | The datetime the package status was updated at. | [optional] -**StatusUrl** | Pointer to **string** | | [optional] -**Subtype** | Pointer to **string** | | [optional] -**Summary** | Pointer to **string** | A one-liner synopsis of this package. | [optional] -**SyncFinishedAt** | Pointer to **string** | The datetime the package sync was finished at. | [optional] -**SyncProgress** | Pointer to **int64** | Synchronisation progress (from 0-100) | [optional] -**TagsImmutable** | Pointer to **map[string]interface{}** | All immutable tags on the package, grouped by tag type. Immutable tags cannot be (easily) deleted. | [optional] -**TypeDisplay** | Pointer to **string** | | [optional] -**UploadedAt** | Pointer to **string** | The date this package was uploaded. | [optional] -**Uploader** | Pointer to **string** | | [optional] -**UploaderUrl** | Pointer to **string** | | [optional] -**Version** | Pointer to **string** | The raw version for this package. | [optional] -**VersionOrig** | Pointer to **string** | | [optional] -**VulnerabilityScanResultsUrl** | Pointer to **string** | | [optional] - -## Methods - -### NewGoPackageUpload - -`func NewGoPackageUpload() *GoPackageUpload` - -NewGoPackageUpload instantiates a new GoPackageUpload object -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 - -### NewGoPackageUploadWithDefaults - -`func NewGoPackageUploadWithDefaults() *GoPackageUpload` - -NewGoPackageUploadWithDefaults instantiates a new GoPackageUpload object -This constructor will only assign default values to properties that have it defined, -but it doesn't guarantee that properties required by API are set - -### GetArchitectures - -`func (o *GoPackageUpload) GetArchitectures() []PackagesOwnerRepoArchitectures` - -GetArchitectures returns the Architectures field if non-nil, zero value otherwise. - -### GetArchitecturesOk - -`func (o *GoPackageUpload) GetArchitecturesOk() (*[]PackagesOwnerRepoArchitectures, bool)` - -GetArchitecturesOk returns a tuple with the Architectures field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetArchitectures - -`func (o *GoPackageUpload) SetArchitectures(v []PackagesOwnerRepoArchitectures)` - -SetArchitectures sets Architectures field to given value. - -### HasArchitectures - -`func (o *GoPackageUpload) HasArchitectures() bool` - -HasArchitectures returns a boolean if a field has been set. - -### GetCdnUrl - -`func (o *GoPackageUpload) GetCdnUrl() string` - -GetCdnUrl returns the CdnUrl field if non-nil, zero value otherwise. - -### GetCdnUrlOk - -`func (o *GoPackageUpload) GetCdnUrlOk() (*string, bool)` - -GetCdnUrlOk returns a tuple with the CdnUrl field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetCdnUrl - -`func (o *GoPackageUpload) SetCdnUrl(v string)` - -SetCdnUrl sets CdnUrl field to given value. - -### HasCdnUrl - -`func (o *GoPackageUpload) HasCdnUrl() bool` - -HasCdnUrl returns a boolean if a field has been set. - -### GetChecksumMd5 - -`func (o *GoPackageUpload) GetChecksumMd5() string` - -GetChecksumMd5 returns the ChecksumMd5 field if non-nil, zero value otherwise. - -### GetChecksumMd5Ok - -`func (o *GoPackageUpload) GetChecksumMd5Ok() (*string, bool)` - -GetChecksumMd5Ok returns a tuple with the ChecksumMd5 field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetChecksumMd5 - -`func (o *GoPackageUpload) SetChecksumMd5(v string)` - -SetChecksumMd5 sets ChecksumMd5 field to given value. - -### HasChecksumMd5 - -`func (o *GoPackageUpload) HasChecksumMd5() bool` - -HasChecksumMd5 returns a boolean if a field has been set. - -### GetChecksumSha1 - -`func (o *GoPackageUpload) GetChecksumSha1() string` - -GetChecksumSha1 returns the ChecksumSha1 field if non-nil, zero value otherwise. - -### GetChecksumSha1Ok - -`func (o *GoPackageUpload) GetChecksumSha1Ok() (*string, bool)` - -GetChecksumSha1Ok returns a tuple with the ChecksumSha1 field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetChecksumSha1 - -`func (o *GoPackageUpload) SetChecksumSha1(v string)` - -SetChecksumSha1 sets ChecksumSha1 field to given value. - -### HasChecksumSha1 - -`func (o *GoPackageUpload) HasChecksumSha1() bool` - -HasChecksumSha1 returns a boolean if a field has been set. - -### GetChecksumSha256 - -`func (o *GoPackageUpload) GetChecksumSha256() string` - -GetChecksumSha256 returns the ChecksumSha256 field if non-nil, zero value otherwise. - -### GetChecksumSha256Ok - -`func (o *GoPackageUpload) GetChecksumSha256Ok() (*string, bool)` - -GetChecksumSha256Ok returns a tuple with the ChecksumSha256 field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetChecksumSha256 - -`func (o *GoPackageUpload) SetChecksumSha256(v string)` - -SetChecksumSha256 sets ChecksumSha256 field to given value. - -### HasChecksumSha256 - -`func (o *GoPackageUpload) HasChecksumSha256() bool` - -HasChecksumSha256 returns a boolean if a field has been set. - -### GetChecksumSha512 - -`func (o *GoPackageUpload) GetChecksumSha512() string` - -GetChecksumSha512 returns the ChecksumSha512 field if non-nil, zero value otherwise. - -### GetChecksumSha512Ok - -`func (o *GoPackageUpload) GetChecksumSha512Ok() (*string, bool)` - -GetChecksumSha512Ok returns a tuple with the ChecksumSha512 field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetChecksumSha512 - -`func (o *GoPackageUpload) SetChecksumSha512(v string)` - -SetChecksumSha512 sets ChecksumSha512 field to given value. - -### HasChecksumSha512 - -`func (o *GoPackageUpload) HasChecksumSha512() bool` - -HasChecksumSha512 returns a boolean if a field has been set. - -### GetDependenciesChecksumMd5 - -`func (o *GoPackageUpload) GetDependenciesChecksumMd5() string` - -GetDependenciesChecksumMd5 returns the DependenciesChecksumMd5 field if non-nil, zero value otherwise. - -### GetDependenciesChecksumMd5Ok - -`func (o *GoPackageUpload) GetDependenciesChecksumMd5Ok() (*string, bool)` - -GetDependenciesChecksumMd5Ok returns a tuple with the DependenciesChecksumMd5 field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetDependenciesChecksumMd5 - -`func (o *GoPackageUpload) SetDependenciesChecksumMd5(v string)` - -SetDependenciesChecksumMd5 sets DependenciesChecksumMd5 field to given value. - -### HasDependenciesChecksumMd5 - -`func (o *GoPackageUpload) HasDependenciesChecksumMd5() bool` - -HasDependenciesChecksumMd5 returns a boolean if a field has been set. - -### GetDependenciesUrl - -`func (o *GoPackageUpload) GetDependenciesUrl() string` - -GetDependenciesUrl returns the DependenciesUrl field if non-nil, zero value otherwise. - -### GetDependenciesUrlOk - -`func (o *GoPackageUpload) GetDependenciesUrlOk() (*string, bool)` - -GetDependenciesUrlOk returns a tuple with the DependenciesUrl field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetDependenciesUrl - -`func (o *GoPackageUpload) SetDependenciesUrl(v string)` - -SetDependenciesUrl sets DependenciesUrl field to given value. - -### HasDependenciesUrl - -`func (o *GoPackageUpload) HasDependenciesUrl() bool` - -HasDependenciesUrl returns a boolean if a field has been set. - -### GetDescription - -`func (o *GoPackageUpload) GetDescription() string` - -GetDescription returns the Description field if non-nil, zero value otherwise. - -### GetDescriptionOk - -`func (o *GoPackageUpload) GetDescriptionOk() (*string, bool)` - -GetDescriptionOk returns a tuple with the Description field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetDescription - -`func (o *GoPackageUpload) SetDescription(v string)` - -SetDescription sets Description field to given value. - -### HasDescription - -`func (o *GoPackageUpload) HasDescription() bool` - -HasDescription returns a boolean if a field has been set. - -### GetDistro - -`func (o *GoPackageUpload) GetDistro() map[string]interface{}` - -GetDistro returns the Distro field if non-nil, zero value otherwise. - -### GetDistroOk - -`func (o *GoPackageUpload) GetDistroOk() (*map[string]interface{}, bool)` - -GetDistroOk returns a tuple with the Distro field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetDistro - -`func (o *GoPackageUpload) SetDistro(v map[string]interface{})` - -SetDistro sets Distro field to given value. - -### HasDistro - -`func (o *GoPackageUpload) HasDistro() bool` - -HasDistro returns a boolean if a field has been set. - -### GetDistroVersion - -`func (o *GoPackageUpload) GetDistroVersion() map[string]interface{}` - -GetDistroVersion returns the DistroVersion field if non-nil, zero value otherwise. - -### GetDistroVersionOk - -`func (o *GoPackageUpload) GetDistroVersionOk() (*map[string]interface{}, bool)` - -GetDistroVersionOk returns a tuple with the DistroVersion field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetDistroVersion - -`func (o *GoPackageUpload) SetDistroVersion(v map[string]interface{})` - -SetDistroVersion sets DistroVersion field to given value. - -### HasDistroVersion - -`func (o *GoPackageUpload) HasDistroVersion() bool` - -HasDistroVersion returns a boolean if a field has been set. - -### GetDownloads - -`func (o *GoPackageUpload) GetDownloads() int64` - -GetDownloads returns the Downloads field if non-nil, zero value otherwise. - -### GetDownloadsOk - -`func (o *GoPackageUpload) GetDownloadsOk() (*int64, bool)` - -GetDownloadsOk returns a tuple with the Downloads field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetDownloads - -`func (o *GoPackageUpload) SetDownloads(v int64)` - -SetDownloads sets Downloads field to given value. - -### HasDownloads - -`func (o *GoPackageUpload) HasDownloads() bool` - -HasDownloads returns a boolean if a field has been set. - -### GetEpoch - -`func (o *GoPackageUpload) GetEpoch() int64` - -GetEpoch returns the Epoch field if non-nil, zero value otherwise. - -### GetEpochOk - -`func (o *GoPackageUpload) GetEpochOk() (*int64, bool)` - -GetEpochOk returns a tuple with the Epoch field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetEpoch - -`func (o *GoPackageUpload) SetEpoch(v int64)` - -SetEpoch sets Epoch field to given value. - -### HasEpoch - -`func (o *GoPackageUpload) HasEpoch() bool` - -HasEpoch returns a boolean if a field has been set. - -### GetExtension - -`func (o *GoPackageUpload) GetExtension() string` - -GetExtension returns the Extension field if non-nil, zero value otherwise. - -### GetExtensionOk - -`func (o *GoPackageUpload) GetExtensionOk() (*string, bool)` - -GetExtensionOk returns a tuple with the Extension field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetExtension - -`func (o *GoPackageUpload) SetExtension(v string)` - -SetExtension sets Extension field to given value. - -### HasExtension - -`func (o *GoPackageUpload) HasExtension() bool` - -HasExtension returns a boolean if a field has been set. - -### GetFilename - -`func (o *GoPackageUpload) GetFilename() string` - -GetFilename returns the Filename field if non-nil, zero value otherwise. - -### GetFilenameOk - -`func (o *GoPackageUpload) GetFilenameOk() (*string, bool)` - -GetFilenameOk returns a tuple with the Filename field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetFilename - -`func (o *GoPackageUpload) SetFilename(v string)` - -SetFilename sets Filename field to given value. - -### HasFilename - -`func (o *GoPackageUpload) HasFilename() bool` - -HasFilename returns a boolean if a field has been set. - -### GetFiles - -`func (o *GoPackageUpload) GetFiles() []PackagesOwnerRepoFiles` - -GetFiles returns the Files field if non-nil, zero value otherwise. - -### GetFilesOk - -`func (o *GoPackageUpload) GetFilesOk() (*[]PackagesOwnerRepoFiles, 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 *GoPackageUpload) SetFiles(v []PackagesOwnerRepoFiles)` - -SetFiles sets Files field to given value. - -### HasFiles - -`func (o *GoPackageUpload) HasFiles() bool` - -HasFiles returns a boolean if a field has been set. - -### GetFormat - -`func (o *GoPackageUpload) GetFormat() string` - -GetFormat returns the Format field if non-nil, zero value otherwise. - -### GetFormatOk - -`func (o *GoPackageUpload) GetFormatOk() (*string, bool)` - -GetFormatOk returns a tuple with the Format field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetFormat - -`func (o *GoPackageUpload) SetFormat(v string)` - -SetFormat sets Format field to given value. - -### HasFormat - -`func (o *GoPackageUpload) HasFormat() bool` - -HasFormat returns a boolean if a field has been set. - -### GetFormatUrl - -`func (o *GoPackageUpload) GetFormatUrl() string` - -GetFormatUrl returns the FormatUrl field if non-nil, zero value otherwise. - -### GetFormatUrlOk - -`func (o *GoPackageUpload) GetFormatUrlOk() (*string, bool)` - -GetFormatUrlOk returns a tuple with the FormatUrl field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetFormatUrl - -`func (o *GoPackageUpload) SetFormatUrl(v string)` - -SetFormatUrl sets FormatUrl field to given value. - -### HasFormatUrl - -`func (o *GoPackageUpload) HasFormatUrl() bool` - -HasFormatUrl returns a boolean if a field has been set. - -### GetIdentifierPerm - -`func (o *GoPackageUpload) GetIdentifierPerm() string` - -GetIdentifierPerm returns the IdentifierPerm field if non-nil, zero value otherwise. - -### GetIdentifierPermOk - -`func (o *GoPackageUpload) GetIdentifierPermOk() (*string, bool)` - -GetIdentifierPermOk returns a tuple with the IdentifierPerm field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetIdentifierPerm - -`func (o *GoPackageUpload) SetIdentifierPerm(v string)` - -SetIdentifierPerm sets IdentifierPerm field to given value. - -### HasIdentifierPerm - -`func (o *GoPackageUpload) HasIdentifierPerm() bool` - -HasIdentifierPerm returns a boolean if a field has been set. - -### GetIndexed - -`func (o *GoPackageUpload) GetIndexed() bool` - -GetIndexed returns the Indexed field if non-nil, zero value otherwise. - -### GetIndexedOk - -`func (o *GoPackageUpload) GetIndexedOk() (*bool, bool)` - -GetIndexedOk returns a tuple with the Indexed field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetIndexed - -`func (o *GoPackageUpload) SetIndexed(v bool)` - -SetIndexed sets Indexed field to given value. - -### HasIndexed - -`func (o *GoPackageUpload) HasIndexed() bool` - -HasIndexed returns a boolean if a field has been set. - -### GetIsDownloadable - -`func (o *GoPackageUpload) GetIsDownloadable() bool` - -GetIsDownloadable returns the IsDownloadable field if non-nil, zero value otherwise. - -### GetIsDownloadableOk - -`func (o *GoPackageUpload) GetIsDownloadableOk() (*bool, bool)` - -GetIsDownloadableOk returns a tuple with the IsDownloadable field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetIsDownloadable - -`func (o *GoPackageUpload) SetIsDownloadable(v bool)` - -SetIsDownloadable sets IsDownloadable field to given value. - -### HasIsDownloadable - -`func (o *GoPackageUpload) HasIsDownloadable() bool` - -HasIsDownloadable returns a boolean if a field has been set. - -### GetIsQuarantined - -`func (o *GoPackageUpload) GetIsQuarantined() bool` - -GetIsQuarantined returns the IsQuarantined field if non-nil, zero value otherwise. - -### GetIsQuarantinedOk - -`func (o *GoPackageUpload) GetIsQuarantinedOk() (*bool, bool)` - -GetIsQuarantinedOk returns a tuple with the IsQuarantined field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetIsQuarantined - -`func (o *GoPackageUpload) SetIsQuarantined(v bool)` - -SetIsQuarantined sets IsQuarantined field to given value. - -### HasIsQuarantined - -`func (o *GoPackageUpload) HasIsQuarantined() bool` - -HasIsQuarantined returns a boolean if a field has been set. - -### GetIsSyncAwaiting - -`func (o *GoPackageUpload) GetIsSyncAwaiting() bool` - -GetIsSyncAwaiting returns the IsSyncAwaiting field if non-nil, zero value otherwise. - -### GetIsSyncAwaitingOk - -`func (o *GoPackageUpload) GetIsSyncAwaitingOk() (*bool, bool)` - -GetIsSyncAwaitingOk returns a tuple with the IsSyncAwaiting field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetIsSyncAwaiting - -`func (o *GoPackageUpload) SetIsSyncAwaiting(v bool)` - -SetIsSyncAwaiting sets IsSyncAwaiting field to given value. - -### HasIsSyncAwaiting - -`func (o *GoPackageUpload) HasIsSyncAwaiting() bool` - -HasIsSyncAwaiting returns a boolean if a field has been set. - -### GetIsSyncCompleted - -`func (o *GoPackageUpload) GetIsSyncCompleted() bool` - -GetIsSyncCompleted returns the IsSyncCompleted field if non-nil, zero value otherwise. - -### GetIsSyncCompletedOk - -`func (o *GoPackageUpload) GetIsSyncCompletedOk() (*bool, bool)` - -GetIsSyncCompletedOk returns a tuple with the IsSyncCompleted field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetIsSyncCompleted - -`func (o *GoPackageUpload) SetIsSyncCompleted(v bool)` - -SetIsSyncCompleted sets IsSyncCompleted field to given value. - -### HasIsSyncCompleted - -`func (o *GoPackageUpload) HasIsSyncCompleted() bool` - -HasIsSyncCompleted returns a boolean if a field has been set. - -### GetIsSyncFailed - -`func (o *GoPackageUpload) GetIsSyncFailed() bool` - -GetIsSyncFailed returns the IsSyncFailed field if non-nil, zero value otherwise. - -### GetIsSyncFailedOk - -`func (o *GoPackageUpload) GetIsSyncFailedOk() (*bool, bool)` - -GetIsSyncFailedOk returns a tuple with the IsSyncFailed field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetIsSyncFailed - -`func (o *GoPackageUpload) SetIsSyncFailed(v bool)` - -SetIsSyncFailed sets IsSyncFailed field to given value. - -### HasIsSyncFailed - -`func (o *GoPackageUpload) HasIsSyncFailed() bool` - -HasIsSyncFailed returns a boolean if a field has been set. - -### GetIsSyncInFlight - -`func (o *GoPackageUpload) GetIsSyncInFlight() bool` - -GetIsSyncInFlight returns the IsSyncInFlight field if non-nil, zero value otherwise. - -### GetIsSyncInFlightOk - -`func (o *GoPackageUpload) GetIsSyncInFlightOk() (*bool, bool)` - -GetIsSyncInFlightOk returns a tuple with the IsSyncInFlight field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetIsSyncInFlight - -`func (o *GoPackageUpload) SetIsSyncInFlight(v bool)` - -SetIsSyncInFlight sets IsSyncInFlight field to given value. - -### HasIsSyncInFlight - -`func (o *GoPackageUpload) HasIsSyncInFlight() bool` - -HasIsSyncInFlight returns a boolean if a field has been set. - -### GetIsSyncInProgress - -`func (o *GoPackageUpload) GetIsSyncInProgress() bool` - -GetIsSyncInProgress returns the IsSyncInProgress field if non-nil, zero value otherwise. - -### GetIsSyncInProgressOk - -`func (o *GoPackageUpload) GetIsSyncInProgressOk() (*bool, bool)` - -GetIsSyncInProgressOk returns a tuple with the IsSyncInProgress field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetIsSyncInProgress - -`func (o *GoPackageUpload) SetIsSyncInProgress(v bool)` - -SetIsSyncInProgress sets IsSyncInProgress field to given value. - -### HasIsSyncInProgress - -`func (o *GoPackageUpload) HasIsSyncInProgress() bool` - -HasIsSyncInProgress returns a boolean if a field has been set. - -### GetLicense - -`func (o *GoPackageUpload) GetLicense() string` - -GetLicense returns the License field if non-nil, zero value otherwise. - -### GetLicenseOk - -`func (o *GoPackageUpload) GetLicenseOk() (*string, bool)` - -GetLicenseOk returns a tuple with the License field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetLicense - -`func (o *GoPackageUpload) SetLicense(v string)` - -SetLicense sets License field to given value. - -### HasLicense - -`func (o *GoPackageUpload) HasLicense() bool` - -HasLicense returns a boolean if a field has been set. - -### GetName - -`func (o *GoPackageUpload) GetName() string` - -GetName returns the Name field if non-nil, zero value otherwise. - -### GetNameOk - -`func (o *GoPackageUpload) GetNameOk() (*string, bool)` - -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. - -### SetName - -`func (o *GoPackageUpload) SetName(v string)` - -SetName sets Name field to given value. - -### HasName - -`func (o *GoPackageUpload) HasName() bool` - -HasName returns a boolean if a field has been set. - -### GetNamespace - -`func (o *GoPackageUpload) GetNamespace() string` - -GetNamespace returns the Namespace field if non-nil, zero value otherwise. - -### GetNamespaceOk - -`func (o *GoPackageUpload) GetNamespaceOk() (*string, bool)` - -GetNamespaceOk returns a tuple with the Namespace field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetNamespace - -`func (o *GoPackageUpload) SetNamespace(v string)` - -SetNamespace sets Namespace field to given value. - -### HasNamespace - -`func (o *GoPackageUpload) HasNamespace() bool` - -HasNamespace returns a boolean if a field has been set. - -### GetNamespaceUrl - -`func (o *GoPackageUpload) GetNamespaceUrl() string` - -GetNamespaceUrl returns the NamespaceUrl field if non-nil, zero value otherwise. - -### GetNamespaceUrlOk - -`func (o *GoPackageUpload) GetNamespaceUrlOk() (*string, bool)` - -GetNamespaceUrlOk returns a tuple with the NamespaceUrl field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetNamespaceUrl - -`func (o *GoPackageUpload) SetNamespaceUrl(v string)` - -SetNamespaceUrl sets NamespaceUrl field to given value. - -### HasNamespaceUrl - -`func (o *GoPackageUpload) HasNamespaceUrl() bool` - -HasNamespaceUrl returns a boolean if a field has been set. - -### GetNumFiles - -`func (o *GoPackageUpload) GetNumFiles() int64` - -GetNumFiles returns the NumFiles field if non-nil, zero value otherwise. - -### GetNumFilesOk - -`func (o *GoPackageUpload) GetNumFilesOk() (*int64, bool)` - -GetNumFilesOk returns a tuple with the NumFiles field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetNumFiles - -`func (o *GoPackageUpload) SetNumFiles(v int64)` - -SetNumFiles sets NumFiles field to given value. - -### HasNumFiles - -`func (o *GoPackageUpload) HasNumFiles() bool` - -HasNumFiles returns a boolean if a field has been set. - -### GetPackageType - -`func (o *GoPackageUpload) GetPackageType() int64` - -GetPackageType returns the PackageType field if non-nil, zero value otherwise. - -### GetPackageTypeOk - -`func (o *GoPackageUpload) GetPackageTypeOk() (*int64, bool)` - -GetPackageTypeOk returns a tuple with the PackageType field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetPackageType - -`func (o *GoPackageUpload) SetPackageType(v int64)` - -SetPackageType sets PackageType field to given value. - -### HasPackageType - -`func (o *GoPackageUpload) HasPackageType() bool` - -HasPackageType returns a boolean if a field has been set. - -### GetRelease - -`func (o *GoPackageUpload) GetRelease() string` - -GetRelease returns the Release field if non-nil, zero value otherwise. - -### GetReleaseOk - -`func (o *GoPackageUpload) GetReleaseOk() (*string, bool)` - -GetReleaseOk returns a tuple with the Release field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetRelease - -`func (o *GoPackageUpload) SetRelease(v string)` - -SetRelease sets Release field to given value. - -### HasRelease - -`func (o *GoPackageUpload) HasRelease() bool` - -HasRelease returns a boolean if a field has been set. - -### GetRepository - -`func (o *GoPackageUpload) GetRepository() string` - -GetRepository returns the Repository field if non-nil, zero value otherwise. - -### GetRepositoryOk - -`func (o *GoPackageUpload) GetRepositoryOk() (*string, bool)` - -GetRepositoryOk returns a tuple with the Repository field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetRepository - -`func (o *GoPackageUpload) SetRepository(v string)` - -SetRepository sets Repository field to given value. - -### HasRepository - -`func (o *GoPackageUpload) HasRepository() bool` - -HasRepository returns a boolean if a field has been set. - -### GetRepositoryUrl - -`func (o *GoPackageUpload) GetRepositoryUrl() string` - -GetRepositoryUrl returns the RepositoryUrl field if non-nil, zero value otherwise. - -### GetRepositoryUrlOk - -`func (o *GoPackageUpload) GetRepositoryUrlOk() (*string, bool)` - -GetRepositoryUrlOk returns a tuple with the RepositoryUrl field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetRepositoryUrl - -`func (o *GoPackageUpload) SetRepositoryUrl(v string)` - -SetRepositoryUrl sets RepositoryUrl field to given value. - -### HasRepositoryUrl - -`func (o *GoPackageUpload) HasRepositoryUrl() bool` - -HasRepositoryUrl returns a boolean if a field has been set. - -### GetSecurityScanCompletedAt - -`func (o *GoPackageUpload) GetSecurityScanCompletedAt() string` - -GetSecurityScanCompletedAt returns the SecurityScanCompletedAt field if non-nil, zero value otherwise. - -### GetSecurityScanCompletedAtOk - -`func (o *GoPackageUpload) GetSecurityScanCompletedAtOk() (*string, bool)` - -GetSecurityScanCompletedAtOk returns a tuple with the SecurityScanCompletedAt field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetSecurityScanCompletedAt - -`func (o *GoPackageUpload) SetSecurityScanCompletedAt(v string)` - -SetSecurityScanCompletedAt sets SecurityScanCompletedAt field to given value. - -### HasSecurityScanCompletedAt - -`func (o *GoPackageUpload) HasSecurityScanCompletedAt() bool` - -HasSecurityScanCompletedAt returns a boolean if a field has been set. - -### GetSecurityScanStartedAt - -`func (o *GoPackageUpload) GetSecurityScanStartedAt() string` - -GetSecurityScanStartedAt returns the SecurityScanStartedAt field if non-nil, zero value otherwise. - -### GetSecurityScanStartedAtOk - -`func (o *GoPackageUpload) GetSecurityScanStartedAtOk() (*string, bool)` - -GetSecurityScanStartedAtOk returns a tuple with the SecurityScanStartedAt field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetSecurityScanStartedAt - -`func (o *GoPackageUpload) SetSecurityScanStartedAt(v string)` - -SetSecurityScanStartedAt sets SecurityScanStartedAt field to given value. - -### HasSecurityScanStartedAt - -`func (o *GoPackageUpload) HasSecurityScanStartedAt() bool` - -HasSecurityScanStartedAt returns a boolean if a field has been set. - -### GetSecurityScanStatus - -`func (o *GoPackageUpload) GetSecurityScanStatus() string` - -GetSecurityScanStatus returns the SecurityScanStatus field if non-nil, zero value otherwise. - -### GetSecurityScanStatusOk - -`func (o *GoPackageUpload) GetSecurityScanStatusOk() (*string, bool)` - -GetSecurityScanStatusOk returns a tuple with the SecurityScanStatus field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetSecurityScanStatus - -`func (o *GoPackageUpload) SetSecurityScanStatus(v string)` - -SetSecurityScanStatus sets SecurityScanStatus field to given value. - -### HasSecurityScanStatus - -`func (o *GoPackageUpload) HasSecurityScanStatus() bool` - -HasSecurityScanStatus returns a boolean if a field has been set. - -### GetSecurityScanStatusUpdatedAt - -`func (o *GoPackageUpload) GetSecurityScanStatusUpdatedAt() string` - -GetSecurityScanStatusUpdatedAt returns the SecurityScanStatusUpdatedAt field if non-nil, zero value otherwise. - -### GetSecurityScanStatusUpdatedAtOk - -`func (o *GoPackageUpload) GetSecurityScanStatusUpdatedAtOk() (*string, bool)` - -GetSecurityScanStatusUpdatedAtOk returns a tuple with the SecurityScanStatusUpdatedAt field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetSecurityScanStatusUpdatedAt - -`func (o *GoPackageUpload) SetSecurityScanStatusUpdatedAt(v string)` - -SetSecurityScanStatusUpdatedAt sets SecurityScanStatusUpdatedAt field to given value. - -### HasSecurityScanStatusUpdatedAt - -`func (o *GoPackageUpload) HasSecurityScanStatusUpdatedAt() bool` - -HasSecurityScanStatusUpdatedAt returns a boolean if a field has been set. - -### GetSelfHtmlUrl - -`func (o *GoPackageUpload) GetSelfHtmlUrl() string` - -GetSelfHtmlUrl returns the SelfHtmlUrl field if non-nil, zero value otherwise. - -### GetSelfHtmlUrlOk - -`func (o *GoPackageUpload) GetSelfHtmlUrlOk() (*string, bool)` - -GetSelfHtmlUrlOk returns a tuple with the SelfHtmlUrl field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetSelfHtmlUrl - -`func (o *GoPackageUpload) SetSelfHtmlUrl(v string)` - -SetSelfHtmlUrl sets SelfHtmlUrl field to given value. - -### HasSelfHtmlUrl - -`func (o *GoPackageUpload) HasSelfHtmlUrl() bool` - -HasSelfHtmlUrl returns a boolean if a field has been set. - -### GetSelfUrl - -`func (o *GoPackageUpload) GetSelfUrl() string` - -GetSelfUrl returns the SelfUrl field if non-nil, zero value otherwise. - -### GetSelfUrlOk - -`func (o *GoPackageUpload) GetSelfUrlOk() (*string, bool)` - -GetSelfUrlOk returns a tuple with the SelfUrl field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetSelfUrl - -`func (o *GoPackageUpload) SetSelfUrl(v string)` - -SetSelfUrl sets SelfUrl field to given value. - -### HasSelfUrl - -`func (o *GoPackageUpload) HasSelfUrl() bool` - -HasSelfUrl returns a boolean if a field has been set. - -### GetSignatureUrl - -`func (o *GoPackageUpload) GetSignatureUrl() string` - -GetSignatureUrl returns the SignatureUrl field if non-nil, zero value otherwise. - -### GetSignatureUrlOk - -`func (o *GoPackageUpload) GetSignatureUrlOk() (*string, bool)` - -GetSignatureUrlOk returns a tuple with the SignatureUrl field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetSignatureUrl - -`func (o *GoPackageUpload) SetSignatureUrl(v string)` - -SetSignatureUrl sets SignatureUrl field to given value. - -### HasSignatureUrl - -`func (o *GoPackageUpload) HasSignatureUrl() bool` - -HasSignatureUrl returns a boolean if a field has been set. - -### GetSize - -`func (o *GoPackageUpload) GetSize() int64` - -GetSize returns the Size field if non-nil, zero value otherwise. - -### GetSizeOk - -`func (o *GoPackageUpload) GetSizeOk() (*int64, bool)` - -GetSizeOk returns a tuple with the Size field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetSize - -`func (o *GoPackageUpload) SetSize(v int64)` - -SetSize sets Size field to given value. - -### HasSize - -`func (o *GoPackageUpload) HasSize() bool` - -HasSize returns a boolean if a field has been set. - -### GetSlug - -`func (o *GoPackageUpload) GetSlug() string` - -GetSlug returns the Slug field if non-nil, zero value otherwise. - -### GetSlugOk - -`func (o *GoPackageUpload) GetSlugOk() (*string, bool)` - -GetSlugOk returns a tuple with the Slug field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetSlug - -`func (o *GoPackageUpload) SetSlug(v string)` - -SetSlug sets Slug field to given value. - -### HasSlug - -`func (o *GoPackageUpload) HasSlug() bool` - -HasSlug returns a boolean if a field has been set. - -### GetSlugPerm - -`func (o *GoPackageUpload) GetSlugPerm() string` - -GetSlugPerm returns the SlugPerm field if non-nil, zero value otherwise. - -### GetSlugPermOk - -`func (o *GoPackageUpload) GetSlugPermOk() (*string, bool)` - -GetSlugPermOk returns a tuple with the SlugPerm field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetSlugPerm - -`func (o *GoPackageUpload) SetSlugPerm(v string)` - -SetSlugPerm sets SlugPerm field to given value. - -### HasSlugPerm - -`func (o *GoPackageUpload) HasSlugPerm() bool` - -HasSlugPerm returns a boolean if a field has been set. - -### GetStage - -`func (o *GoPackageUpload) GetStage() int64` - -GetStage returns the Stage field if non-nil, zero value otherwise. - -### GetStageOk - -`func (o *GoPackageUpload) GetStageOk() (*int64, bool)` - -GetStageOk returns a tuple with the Stage field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetStage - -`func (o *GoPackageUpload) SetStage(v int64)` - -SetStage sets Stage field to given value. - -### HasStage - -`func (o *GoPackageUpload) HasStage() bool` - -HasStage returns a boolean if a field has been set. - -### GetStageStr - -`func (o *GoPackageUpload) GetStageStr() string` - -GetStageStr returns the StageStr field if non-nil, zero value otherwise. - -### GetStageStrOk - -`func (o *GoPackageUpload) GetStageStrOk() (*string, bool)` - -GetStageStrOk returns a tuple with the StageStr field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetStageStr - -`func (o *GoPackageUpload) SetStageStr(v string)` - -SetStageStr sets StageStr field to given value. - -### HasStageStr - -`func (o *GoPackageUpload) HasStageStr() bool` - -HasStageStr returns a boolean if a field has been set. - -### GetStageUpdatedAt - -`func (o *GoPackageUpload) GetStageUpdatedAt() string` - -GetStageUpdatedAt returns the StageUpdatedAt field if non-nil, zero value otherwise. - -### GetStageUpdatedAtOk - -`func (o *GoPackageUpload) GetStageUpdatedAtOk() (*string, bool)` - -GetStageUpdatedAtOk returns a tuple with the StageUpdatedAt field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetStageUpdatedAt - -`func (o *GoPackageUpload) SetStageUpdatedAt(v string)` - -SetStageUpdatedAt sets StageUpdatedAt field to given value. - -### HasStageUpdatedAt - -`func (o *GoPackageUpload) HasStageUpdatedAt() bool` - -HasStageUpdatedAt returns a boolean if a field has been set. - -### GetStatus - -`func (o *GoPackageUpload) GetStatus() int64` - -GetStatus returns the Status field if non-nil, zero value otherwise. - -### GetStatusOk - -`func (o *GoPackageUpload) GetStatusOk() (*int64, bool)` - -GetStatusOk returns a tuple with the Status field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetStatus - -`func (o *GoPackageUpload) SetStatus(v int64)` - -SetStatus sets Status field to given value. - -### HasStatus - -`func (o *GoPackageUpload) HasStatus() bool` - -HasStatus returns a boolean if a field has been set. - -### GetStatusReason - -`func (o *GoPackageUpload) GetStatusReason() string` - -GetStatusReason returns the StatusReason field if non-nil, zero value otherwise. - -### GetStatusReasonOk - -`func (o *GoPackageUpload) GetStatusReasonOk() (*string, bool)` - -GetStatusReasonOk returns a tuple with the StatusReason field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetStatusReason - -`func (o *GoPackageUpload) SetStatusReason(v string)` - -SetStatusReason sets StatusReason field to given value. - -### HasStatusReason - -`func (o *GoPackageUpload) HasStatusReason() bool` - -HasStatusReason returns a boolean if a field has been set. - -### GetStatusStr - -`func (o *GoPackageUpload) GetStatusStr() string` - -GetStatusStr returns the StatusStr field if non-nil, zero value otherwise. - -### GetStatusStrOk - -`func (o *GoPackageUpload) GetStatusStrOk() (*string, bool)` - -GetStatusStrOk returns a tuple with the StatusStr field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetStatusStr - -`func (o *GoPackageUpload) SetStatusStr(v string)` - -SetStatusStr sets StatusStr field to given value. - -### HasStatusStr - -`func (o *GoPackageUpload) HasStatusStr() bool` - -HasStatusStr returns a boolean if a field has been set. - -### GetStatusUpdatedAt - -`func (o *GoPackageUpload) GetStatusUpdatedAt() string` - -GetStatusUpdatedAt returns the StatusUpdatedAt field if non-nil, zero value otherwise. - -### GetStatusUpdatedAtOk - -`func (o *GoPackageUpload) GetStatusUpdatedAtOk() (*string, bool)` - -GetStatusUpdatedAtOk returns a tuple with the StatusUpdatedAt field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetStatusUpdatedAt - -`func (o *GoPackageUpload) SetStatusUpdatedAt(v string)` - -SetStatusUpdatedAt sets StatusUpdatedAt field to given value. - -### HasStatusUpdatedAt - -`func (o *GoPackageUpload) HasStatusUpdatedAt() bool` - -HasStatusUpdatedAt returns a boolean if a field has been set. - -### GetStatusUrl - -`func (o *GoPackageUpload) GetStatusUrl() string` - -GetStatusUrl returns the StatusUrl field if non-nil, zero value otherwise. - -### GetStatusUrlOk - -`func (o *GoPackageUpload) GetStatusUrlOk() (*string, bool)` - -GetStatusUrlOk returns a tuple with the StatusUrl field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetStatusUrl - -`func (o *GoPackageUpload) SetStatusUrl(v string)` - -SetStatusUrl sets StatusUrl field to given value. - -### HasStatusUrl - -`func (o *GoPackageUpload) HasStatusUrl() bool` - -HasStatusUrl returns a boolean if a field has been set. - -### GetSubtype - -`func (o *GoPackageUpload) GetSubtype() string` - -GetSubtype returns the Subtype field if non-nil, zero value otherwise. - -### GetSubtypeOk - -`func (o *GoPackageUpload) GetSubtypeOk() (*string, bool)` - -GetSubtypeOk returns a tuple with the Subtype field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetSubtype - -`func (o *GoPackageUpload) SetSubtype(v string)` - -SetSubtype sets Subtype field to given value. - -### HasSubtype - -`func (o *GoPackageUpload) HasSubtype() bool` - -HasSubtype returns a boolean if a field has been set. - -### GetSummary - -`func (o *GoPackageUpload) GetSummary() string` - -GetSummary returns the Summary field if non-nil, zero value otherwise. - -### GetSummaryOk - -`func (o *GoPackageUpload) GetSummaryOk() (*string, bool)` - -GetSummaryOk returns a tuple with the Summary field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetSummary - -`func (o *GoPackageUpload) SetSummary(v string)` - -SetSummary sets Summary field to given value. - -### HasSummary - -`func (o *GoPackageUpload) HasSummary() bool` - -HasSummary returns a boolean if a field has been set. - -### GetSyncFinishedAt - -`func (o *GoPackageUpload) GetSyncFinishedAt() string` - -GetSyncFinishedAt returns the SyncFinishedAt field if non-nil, zero value otherwise. - -### GetSyncFinishedAtOk - -`func (o *GoPackageUpload) GetSyncFinishedAtOk() (*string, bool)` - -GetSyncFinishedAtOk returns a tuple with the SyncFinishedAt field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetSyncFinishedAt - -`func (o *GoPackageUpload) SetSyncFinishedAt(v string)` - -SetSyncFinishedAt sets SyncFinishedAt field to given value. - -### HasSyncFinishedAt - -`func (o *GoPackageUpload) HasSyncFinishedAt() bool` - -HasSyncFinishedAt returns a boolean if a field has been set. - -### GetSyncProgress - -`func (o *GoPackageUpload) GetSyncProgress() int64` - -GetSyncProgress returns the SyncProgress field if non-nil, zero value otherwise. - -### GetSyncProgressOk - -`func (o *GoPackageUpload) GetSyncProgressOk() (*int64, bool)` - -GetSyncProgressOk returns a tuple with the SyncProgress field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetSyncProgress - -`func (o *GoPackageUpload) SetSyncProgress(v int64)` - -SetSyncProgress sets SyncProgress field to given value. - -### HasSyncProgress - -`func (o *GoPackageUpload) HasSyncProgress() bool` - -HasSyncProgress returns a boolean if a field has been set. - -### GetTagsImmutable - -`func (o *GoPackageUpload) GetTagsImmutable() map[string]interface{}` - -GetTagsImmutable returns the TagsImmutable field if non-nil, zero value otherwise. - -### GetTagsImmutableOk - -`func (o *GoPackageUpload) GetTagsImmutableOk() (*map[string]interface{}, bool)` - -GetTagsImmutableOk returns a tuple with the TagsImmutable field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetTagsImmutable - -`func (o *GoPackageUpload) SetTagsImmutable(v map[string]interface{})` - -SetTagsImmutable sets TagsImmutable field to given value. - -### HasTagsImmutable - -`func (o *GoPackageUpload) HasTagsImmutable() bool` - -HasTagsImmutable returns a boolean if a field has been set. - -### GetTypeDisplay - -`func (o *GoPackageUpload) GetTypeDisplay() string` - -GetTypeDisplay returns the TypeDisplay field if non-nil, zero value otherwise. - -### GetTypeDisplayOk - -`func (o *GoPackageUpload) GetTypeDisplayOk() (*string, bool)` - -GetTypeDisplayOk returns a tuple with the TypeDisplay field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetTypeDisplay - -`func (o *GoPackageUpload) SetTypeDisplay(v string)` - -SetTypeDisplay sets TypeDisplay field to given value. - -### HasTypeDisplay - -`func (o *GoPackageUpload) HasTypeDisplay() bool` - -HasTypeDisplay returns a boolean if a field has been set. - -### GetUploadedAt - -`func (o *GoPackageUpload) GetUploadedAt() string` - -GetUploadedAt returns the UploadedAt field if non-nil, zero value otherwise. - -### GetUploadedAtOk - -`func (o *GoPackageUpload) GetUploadedAtOk() (*string, bool)` - -GetUploadedAtOk returns a tuple with the UploadedAt field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetUploadedAt - -`func (o *GoPackageUpload) SetUploadedAt(v string)` - -SetUploadedAt sets UploadedAt field to given value. - -### HasUploadedAt - -`func (o *GoPackageUpload) HasUploadedAt() bool` - -HasUploadedAt returns a boolean if a field has been set. - -### GetUploader - -`func (o *GoPackageUpload) GetUploader() string` - -GetUploader returns the Uploader field if non-nil, zero value otherwise. - -### GetUploaderOk - -`func (o *GoPackageUpload) GetUploaderOk() (*string, bool)` - -GetUploaderOk returns a tuple with the Uploader field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetUploader - -`func (o *GoPackageUpload) SetUploader(v string)` - -SetUploader sets Uploader field to given value. - -### HasUploader - -`func (o *GoPackageUpload) HasUploader() bool` - -HasUploader returns a boolean if a field has been set. - -### GetUploaderUrl - -`func (o *GoPackageUpload) GetUploaderUrl() string` - -GetUploaderUrl returns the UploaderUrl field if non-nil, zero value otherwise. - -### GetUploaderUrlOk - -`func (o *GoPackageUpload) GetUploaderUrlOk() (*string, bool)` - -GetUploaderUrlOk returns a tuple with the UploaderUrl field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetUploaderUrl - -`func (o *GoPackageUpload) SetUploaderUrl(v string)` - -SetUploaderUrl sets UploaderUrl field to given value. - -### HasUploaderUrl - -`func (o *GoPackageUpload) HasUploaderUrl() bool` - -HasUploaderUrl returns a boolean if a field has been set. - -### GetVersion - -`func (o *GoPackageUpload) GetVersion() string` - -GetVersion returns the Version field if non-nil, zero value otherwise. - -### GetVersionOk - -`func (o *GoPackageUpload) GetVersionOk() (*string, bool)` - -GetVersionOk returns a tuple with the Version field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetVersion - -`func (o *GoPackageUpload) SetVersion(v string)` - -SetVersion sets Version field to given value. - -### HasVersion - -`func (o *GoPackageUpload) HasVersion() bool` - -HasVersion returns a boolean if a field has been set. - -### GetVersionOrig - -`func (o *GoPackageUpload) GetVersionOrig() string` - -GetVersionOrig returns the VersionOrig field if non-nil, zero value otherwise. - -### GetVersionOrigOk - -`func (o *GoPackageUpload) GetVersionOrigOk() (*string, bool)` - -GetVersionOrigOk returns a tuple with the VersionOrig field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetVersionOrig - -`func (o *GoPackageUpload) SetVersionOrig(v string)` - -SetVersionOrig sets VersionOrig field to given value. - -### HasVersionOrig - -`func (o *GoPackageUpload) HasVersionOrig() bool` - -HasVersionOrig returns a boolean if a field has been set. - -### GetVulnerabilityScanResultsUrl - -`func (o *GoPackageUpload) GetVulnerabilityScanResultsUrl() string` - -GetVulnerabilityScanResultsUrl returns the VulnerabilityScanResultsUrl field if non-nil, zero value otherwise. - -### GetVulnerabilityScanResultsUrlOk - -`func (o *GoPackageUpload) GetVulnerabilityScanResultsUrlOk() (*string, bool)` - -GetVulnerabilityScanResultsUrlOk returns a tuple with the VulnerabilityScanResultsUrl field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetVulnerabilityScanResultsUrl - -`func (o *GoPackageUpload) SetVulnerabilityScanResultsUrl(v string)` - -SetVulnerabilityScanResultsUrl sets VulnerabilityScanResultsUrl field to given value. - -### HasVulnerabilityScanResultsUrl - -`func (o *GoPackageUpload) HasVulnerabilityScanResultsUrl() bool` - -HasVulnerabilityScanResultsUrl 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/docs/PackagesValidateUploadDart.md b/docs/GoPackageUploadRequest.md similarity index 59% rename from docs/PackagesValidateUploadDart.md rename to docs/GoPackageUploadRequest.md index 4af102c5..16fb097e 100644 --- a/docs/PackagesValidateUploadDart.md +++ b/docs/GoPackageUploadRequest.md @@ -1,4 +1,4 @@ -# PackagesValidateUploadDart +# GoPackageUploadRequest ## Properties @@ -6,97 +6,107 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **PackageFile** | **string** | The primary file for the package. | **Republish** | Pointer to **bool** | If true, the uploaded package will overwrite any others with the same attributes (e.g. same version); otherwise, it will be flagged as a duplicate. | [optional] -**Tags** | Pointer to **string** | A comma-separated values list of tags to add to the package. | [optional] +**Tags** | Pointer to **NullableString** | A comma-separated values list of tags to add to the package. | [optional] ## Methods -### NewPackagesValidateUploadDart +### NewGoPackageUploadRequest -`func NewPackagesValidateUploadDart(packageFile string, ) *PackagesValidateUploadDart` +`func NewGoPackageUploadRequest(packageFile string, ) *GoPackageUploadRequest` -NewPackagesValidateUploadDart instantiates a new PackagesValidateUploadDart object +NewGoPackageUploadRequest instantiates a new GoPackageUploadRequest object 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 -### NewPackagesValidateUploadDartWithDefaults +### NewGoPackageUploadRequestWithDefaults -`func NewPackagesValidateUploadDartWithDefaults() *PackagesValidateUploadDart` +`func NewGoPackageUploadRequestWithDefaults() *GoPackageUploadRequest` -NewPackagesValidateUploadDartWithDefaults instantiates a new PackagesValidateUploadDart object +NewGoPackageUploadRequestWithDefaults instantiates a new GoPackageUploadRequest object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set ### GetPackageFile -`func (o *PackagesValidateUploadDart) GetPackageFile() string` +`func (o *GoPackageUploadRequest) GetPackageFile() string` GetPackageFile returns the PackageFile field if non-nil, zero value otherwise. ### GetPackageFileOk -`func (o *PackagesValidateUploadDart) GetPackageFileOk() (*string, bool)` +`func (o *GoPackageUploadRequest) GetPackageFileOk() (*string, bool)` GetPackageFileOk returns a tuple with the PackageFile field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetPackageFile -`func (o *PackagesValidateUploadDart) SetPackageFile(v string)` +`func (o *GoPackageUploadRequest) SetPackageFile(v string)` SetPackageFile sets PackageFile field to given value. ### GetRepublish -`func (o *PackagesValidateUploadDart) GetRepublish() bool` +`func (o *GoPackageUploadRequest) GetRepublish() bool` GetRepublish returns the Republish field if non-nil, zero value otherwise. ### GetRepublishOk -`func (o *PackagesValidateUploadDart) GetRepublishOk() (*bool, bool)` +`func (o *GoPackageUploadRequest) GetRepublishOk() (*bool, bool)` GetRepublishOk returns a tuple with the Republish field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetRepublish -`func (o *PackagesValidateUploadDart) SetRepublish(v bool)` +`func (o *GoPackageUploadRequest) SetRepublish(v bool)` SetRepublish sets Republish field to given value. ### HasRepublish -`func (o *PackagesValidateUploadDart) HasRepublish() bool` +`func (o *GoPackageUploadRequest) HasRepublish() bool` HasRepublish returns a boolean if a field has been set. ### GetTags -`func (o *PackagesValidateUploadDart) GetTags() string` +`func (o *GoPackageUploadRequest) GetTags() string` GetTags returns the Tags field if non-nil, zero value otherwise. ### GetTagsOk -`func (o *PackagesValidateUploadDart) GetTagsOk() (*string, bool)` +`func (o *GoPackageUploadRequest) GetTagsOk() (*string, bool)` GetTagsOk returns a tuple with the Tags field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetTags -`func (o *PackagesValidateUploadDart) SetTags(v string)` +`func (o *GoPackageUploadRequest) SetTags(v string)` SetTags sets Tags field to given value. ### HasTags -`func (o *PackagesValidateUploadDart) HasTags() bool` +`func (o *GoPackageUploadRequest) HasTags() bool` HasTags returns a boolean if a field has been set. +### SetTagsNil + +`func (o *GoPackageUploadRequest) SetTagsNil(b bool)` + + SetTagsNil sets the value for Tags to be an explicit nil + +### UnsetTags +`func (o *GoPackageUploadRequest) UnsetTags()` + +UnsetTags ensures that no value is present for Tags, 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/docs/TerraformPackageUpload.md b/docs/GoPackageUploadResponse.md similarity index 55% rename from docs/TerraformPackageUpload.md rename to docs/GoPackageUploadResponse.md index 8d1e9f2b..7f2044c9 100644 --- a/docs/TerraformPackageUpload.md +++ b/docs/GoPackageUploadResponse.md @@ -1,1742 +1,1834 @@ -# TerraformPackageUpload +# GoPackageUploadResponse ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**Architectures** | Pointer to [**[]PackagesOwnerRepoArchitectures**](PackagesOwnerRepoArchitectures.md) | | [optional] -**CdnUrl** | Pointer to **string** | | [optional] -**ChecksumMd5** | Pointer to **string** | | [optional] -**ChecksumSha1** | Pointer to **string** | | [optional] -**ChecksumSha256** | Pointer to **string** | | [optional] -**ChecksumSha512** | Pointer to **string** | | [optional] -**DependenciesChecksumMd5** | Pointer to **string** | A checksum of all of the package's dependencies. | [optional] -**DependenciesUrl** | Pointer to **string** | | [optional] -**Description** | Pointer to **string** | A textual description of this package. | [optional] -**Distro** | Pointer to **map[string]interface{}** | | [optional] -**DistroVersion** | Pointer to **map[string]interface{}** | | [optional] -**Downloads** | Pointer to **int64** | | [optional] -**Epoch** | Pointer to **int64** | The epoch of the package version (if any). | [optional] -**Extension** | Pointer to **string** | | [optional] -**Filename** | Pointer to **string** | | [optional] -**Files** | Pointer to [**[]PackagesOwnerRepoFiles**](PackagesOwnerRepoFiles.md) | | [optional] -**Format** | Pointer to **string** | | [optional] -**FormatUrl** | Pointer to **string** | | [optional] -**IdentifierPerm** | Pointer to **string** | Unique and permanent identifier for the package. | [optional] -**Indexed** | Pointer to **bool** | | [optional] -**IsDownloadable** | Pointer to **bool** | | [optional] -**IsQuarantined** | Pointer to **bool** | | [optional] -**IsSyncAwaiting** | Pointer to **bool** | | [optional] -**IsSyncCompleted** | Pointer to **bool** | | [optional] -**IsSyncFailed** | Pointer to **bool** | | [optional] -**IsSyncInFlight** | Pointer to **bool** | | [optional] -**IsSyncInProgress** | Pointer to **bool** | | [optional] -**License** | Pointer to **string** | The license of this package. | [optional] -**Name** | Pointer to **string** | The name of this package. | [optional] -**Namespace** | Pointer to **string** | | [optional] -**NamespaceUrl** | Pointer to **string** | | [optional] -**NumFiles** | Pointer to **int64** | | [optional] -**PackageType** | Pointer to **int64** | The type of package contents. | [optional] -**Release** | Pointer to **string** | The release of the package version (if any). | [optional] -**Repository** | Pointer to **string** | | [optional] -**RepositoryUrl** | Pointer to **string** | | [optional] -**SecurityScanCompletedAt** | Pointer to **string** | The datetime the security scanning was completed. | [optional] -**SecurityScanStartedAt** | Pointer to **string** | The datetime the security scanning was started. | [optional] -**SecurityScanStatus** | Pointer to **string** | | [optional] -**SecurityScanStatusUpdatedAt** | Pointer to **string** | The datetime the security scanning status was updated. | [optional] -**SelfHtmlUrl** | Pointer to **string** | | [optional] -**SelfUrl** | Pointer to **string** | | [optional] -**SignatureUrl** | Pointer to **string** | | [optional] -**Size** | Pointer to **int64** | The calculated size of the package. | [optional] -**Slug** | Pointer to **string** | The public unique identifier for the package. | [optional] -**SlugPerm** | Pointer to **string** | | [optional] -**Stage** | Pointer to **int64** | The synchronisation (in progress) stage of the package. | [optional] -**StageStr** | Pointer to **string** | | [optional] -**StageUpdatedAt** | Pointer to **string** | The datetime the package stage was updated at. | [optional] -**Status** | Pointer to **int64** | The synchronisation status of the package. | [optional] -**StatusReason** | Pointer to **string** | A textual description for the synchronous status reason (if any | [optional] -**StatusStr** | Pointer to **string** | | [optional] -**StatusUpdatedAt** | Pointer to **string** | The datetime the package status was updated at. | [optional] -**StatusUrl** | Pointer to **string** | | [optional] -**Subtype** | Pointer to **string** | | [optional] -**Summary** | Pointer to **string** | A one-liner synopsis of this package. | [optional] -**SyncFinishedAt** | Pointer to **string** | The datetime the package sync was finished at. | [optional] -**SyncProgress** | Pointer to **int64** | Synchronisation progress (from 0-100) | [optional] -**TagsImmutable** | Pointer to **map[string]interface{}** | All immutable tags on the package, grouped by tag type. Immutable tags cannot be (easily) deleted. | [optional] -**TypeDisplay** | Pointer to **string** | | [optional] -**UploadedAt** | Pointer to **string** | The date this package was uploaded. | [optional] -**Uploader** | Pointer to **string** | | [optional] -**UploaderUrl** | Pointer to **string** | | [optional] -**Version** | Pointer to **string** | The raw version for this package. | [optional] -**VersionOrig** | Pointer to **string** | | [optional] -**VulnerabilityScanResultsUrl** | Pointer to **string** | | [optional] +**Architectures** | Pointer to [**[]Architecture**](Architecture.md) | | [optional] [readonly] +**CdnUrl** | Pointer to **NullableString** | | [optional] [readonly] +**ChecksumMd5** | Pointer to **string** | | [optional] [readonly] +**ChecksumSha1** | Pointer to **string** | | [optional] [readonly] +**ChecksumSha256** | Pointer to **string** | | [optional] [readonly] +**ChecksumSha512** | Pointer to **string** | | [optional] [readonly] +**DependenciesChecksumMd5** | Pointer to **string** | A checksum of all of the package's dependencies. | [optional] [readonly] +**DependenciesUrl** | Pointer to **string** | | [optional] [readonly] +**Description** | Pointer to **string** | A textual description of this package. | [optional] [readonly] +**Distro** | Pointer to [**NullableDistribution**](Distribution.md) | | [optional] +**DistroVersion** | Pointer to [**DistributionVersion**](DistributionVersion.md) | | [optional] +**Downloads** | Pointer to **int64** | | [optional] [readonly] +**Epoch** | Pointer to **int64** | The epoch of the package version (if any). | [optional] [readonly] +**Extension** | Pointer to **string** | | [optional] [readonly] +**Filename** | Pointer to **string** | | [optional] [readonly] +**Files** | Pointer to [**[]PackageFile**](PackageFile.md) | | [optional] [readonly] +**Format** | Pointer to **string** | | [optional] [readonly] +**FormatUrl** | Pointer to **string** | | [optional] [readonly] +**IdentifierPerm** | Pointer to **string** | Unique and permanent identifier for the package. | [optional] [readonly] +**Indexed** | Pointer to **bool** | | [optional] [readonly] +**IsDownloadable** | Pointer to **bool** | | [optional] [readonly] +**IsQuarantined** | Pointer to **bool** | | [optional] [readonly] +**IsSyncAwaiting** | Pointer to **bool** | | [optional] [readonly] +**IsSyncCompleted** | Pointer to **bool** | | [optional] [readonly] +**IsSyncFailed** | Pointer to **bool** | | [optional] [readonly] +**IsSyncInFlight** | Pointer to **bool** | | [optional] [readonly] +**IsSyncInProgress** | Pointer to **bool** | | [optional] [readonly] +**License** | Pointer to **string** | The license of this package. | [optional] [readonly] +**Name** | Pointer to **string** | The name of this package. | [optional] [readonly] +**Namespace** | Pointer to **string** | | [optional] [readonly] +**NamespaceUrl** | Pointer to **string** | | [optional] [readonly] +**NumFiles** | Pointer to **int64** | | [optional] [readonly] +**OriginRepository** | Pointer to **string** | | [optional] [readonly] +**OriginRepositoryUrl** | Pointer to **string** | | [optional] [readonly] +**PackageType** | Pointer to **int64** | The type of package contents. | [optional] [readonly] +**Release** | Pointer to **string** | The release of the package version (if any). | [optional] [readonly] +**Repository** | Pointer to **string** | | [optional] [readonly] +**RepositoryUrl** | Pointer to **string** | | [optional] [readonly] +**SecurityScanCompletedAt** | Pointer to **time.Time** | The datetime the security scanning was completed. | [optional] [readonly] +**SecurityScanStartedAt** | Pointer to **time.Time** | The datetime the security scanning was started. | [optional] [readonly] +**SecurityScanStatus** | Pointer to **NullableString** | | [optional] [readonly] [default to "Awaiting Security Scan"] +**SecurityScanStatusUpdatedAt** | Pointer to **time.Time** | The datetime the security scanning status was updated. | [optional] [readonly] +**SelfHtmlUrl** | Pointer to **string** | | [optional] [readonly] +**SelfUrl** | Pointer to **string** | | [optional] [readonly] +**SignatureUrl** | Pointer to **NullableString** | | [optional] [readonly] +**Size** | Pointer to **int64** | The calculated size of the package. | [optional] [readonly] +**Slug** | Pointer to **string** | The public unique identifier for the package. | [optional] [readonly] +**SlugPerm** | Pointer to **string** | | [optional] [readonly] +**Stage** | Pointer to **int64** | The synchronisation (in progress) stage of the package. | [optional] [readonly] +**StageStr** | Pointer to **string** | | [optional] [readonly] +**StageUpdatedAt** | Pointer to **time.Time** | The datetime the package stage was updated at. | [optional] [readonly] +**Status** | Pointer to **int64** | The synchronisation status of the package. | [optional] [readonly] +**StatusReason** | Pointer to **string** | A textual description for the synchronous status reason (if any | [optional] [readonly] +**StatusStr** | Pointer to **string** | | [optional] [readonly] +**StatusUpdatedAt** | Pointer to **time.Time** | The datetime the package status was updated at. | [optional] [readonly] +**StatusUrl** | Pointer to **string** | | [optional] [readonly] +**Subtype** | Pointer to **string** | | [optional] [readonly] +**Summary** | Pointer to **string** | A one-liner synopsis of this package. | [optional] [readonly] +**SyncFinishedAt** | Pointer to **time.Time** | The datetime the package sync was finished at. | [optional] [readonly] +**SyncProgress** | Pointer to **int64** | Synchronisation progress (from 0-100) | [optional] [readonly] +**TagsImmutable** | Pointer to **map[string]interface{}** | All tags on the package, grouped by tag type. This includes immutable tags, but doesn't distinguish them from mutable. To see which tags are immutable specifically, see the tags_immutable field. | [optional] +**TypeDisplay** | Pointer to **string** | | [optional] [readonly] +**UploadedAt** | Pointer to **time.Time** | The date this package was uploaded. | [optional] [readonly] +**Uploader** | Pointer to **string** | | [optional] [readonly] +**UploaderUrl** | Pointer to **string** | | [optional] [readonly] +**Version** | Pointer to **string** | The raw version for this package. | [optional] [readonly] +**VersionOrig** | Pointer to **string** | | [optional] [readonly] +**VulnerabilityScanResultsUrl** | Pointer to **string** | | [optional] [readonly] ## Methods -### NewTerraformPackageUpload +### NewGoPackageUploadResponse -`func NewTerraformPackageUpload() *TerraformPackageUpload` +`func NewGoPackageUploadResponse() *GoPackageUploadResponse` -NewTerraformPackageUpload instantiates a new TerraformPackageUpload object +NewGoPackageUploadResponse instantiates a new GoPackageUploadResponse object 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 -### NewTerraformPackageUploadWithDefaults +### NewGoPackageUploadResponseWithDefaults -`func NewTerraformPackageUploadWithDefaults() *TerraformPackageUpload` +`func NewGoPackageUploadResponseWithDefaults() *GoPackageUploadResponse` -NewTerraformPackageUploadWithDefaults instantiates a new TerraformPackageUpload object +NewGoPackageUploadResponseWithDefaults instantiates a new GoPackageUploadResponse object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set ### GetArchitectures -`func (o *TerraformPackageUpload) GetArchitectures() []PackagesOwnerRepoArchitectures` +`func (o *GoPackageUploadResponse) GetArchitectures() []Architecture` GetArchitectures returns the Architectures field if non-nil, zero value otherwise. ### GetArchitecturesOk -`func (o *TerraformPackageUpload) GetArchitecturesOk() (*[]PackagesOwnerRepoArchitectures, bool)` +`func (o *GoPackageUploadResponse) GetArchitecturesOk() (*[]Architecture, bool)` GetArchitecturesOk returns a tuple with the Architectures field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetArchitectures -`func (o *TerraformPackageUpload) SetArchitectures(v []PackagesOwnerRepoArchitectures)` +`func (o *GoPackageUploadResponse) SetArchitectures(v []Architecture)` SetArchitectures sets Architectures field to given value. ### HasArchitectures -`func (o *TerraformPackageUpload) HasArchitectures() bool` +`func (o *GoPackageUploadResponse) HasArchitectures() bool` HasArchitectures returns a boolean if a field has been set. ### GetCdnUrl -`func (o *TerraformPackageUpload) GetCdnUrl() string` +`func (o *GoPackageUploadResponse) GetCdnUrl() string` GetCdnUrl returns the CdnUrl field if non-nil, zero value otherwise. ### GetCdnUrlOk -`func (o *TerraformPackageUpload) GetCdnUrlOk() (*string, bool)` +`func (o *GoPackageUploadResponse) GetCdnUrlOk() (*string, bool)` GetCdnUrlOk returns a tuple with the CdnUrl field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetCdnUrl -`func (o *TerraformPackageUpload) SetCdnUrl(v string)` +`func (o *GoPackageUploadResponse) SetCdnUrl(v string)` SetCdnUrl sets CdnUrl field to given value. ### HasCdnUrl -`func (o *TerraformPackageUpload) HasCdnUrl() bool` +`func (o *GoPackageUploadResponse) HasCdnUrl() bool` HasCdnUrl returns a boolean if a field has been set. +### SetCdnUrlNil + +`func (o *GoPackageUploadResponse) SetCdnUrlNil(b bool)` + + SetCdnUrlNil sets the value for CdnUrl to be an explicit nil + +### UnsetCdnUrl +`func (o *GoPackageUploadResponse) UnsetCdnUrl()` + +UnsetCdnUrl ensures that no value is present for CdnUrl, not even an explicit nil ### GetChecksumMd5 -`func (o *TerraformPackageUpload) GetChecksumMd5() string` +`func (o *GoPackageUploadResponse) GetChecksumMd5() string` GetChecksumMd5 returns the ChecksumMd5 field if non-nil, zero value otherwise. ### GetChecksumMd5Ok -`func (o *TerraformPackageUpload) GetChecksumMd5Ok() (*string, bool)` +`func (o *GoPackageUploadResponse) GetChecksumMd5Ok() (*string, bool)` GetChecksumMd5Ok returns a tuple with the ChecksumMd5 field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetChecksumMd5 -`func (o *TerraformPackageUpload) SetChecksumMd5(v string)` +`func (o *GoPackageUploadResponse) SetChecksumMd5(v string)` SetChecksumMd5 sets ChecksumMd5 field to given value. ### HasChecksumMd5 -`func (o *TerraformPackageUpload) HasChecksumMd5() bool` +`func (o *GoPackageUploadResponse) HasChecksumMd5() bool` HasChecksumMd5 returns a boolean if a field has been set. ### GetChecksumSha1 -`func (o *TerraformPackageUpload) GetChecksumSha1() string` +`func (o *GoPackageUploadResponse) GetChecksumSha1() string` GetChecksumSha1 returns the ChecksumSha1 field if non-nil, zero value otherwise. ### GetChecksumSha1Ok -`func (o *TerraformPackageUpload) GetChecksumSha1Ok() (*string, bool)` +`func (o *GoPackageUploadResponse) GetChecksumSha1Ok() (*string, bool)` GetChecksumSha1Ok returns a tuple with the ChecksumSha1 field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetChecksumSha1 -`func (o *TerraformPackageUpload) SetChecksumSha1(v string)` +`func (o *GoPackageUploadResponse) SetChecksumSha1(v string)` SetChecksumSha1 sets ChecksumSha1 field to given value. ### HasChecksumSha1 -`func (o *TerraformPackageUpload) HasChecksumSha1() bool` +`func (o *GoPackageUploadResponse) HasChecksumSha1() bool` HasChecksumSha1 returns a boolean if a field has been set. ### GetChecksumSha256 -`func (o *TerraformPackageUpload) GetChecksumSha256() string` +`func (o *GoPackageUploadResponse) GetChecksumSha256() string` GetChecksumSha256 returns the ChecksumSha256 field if non-nil, zero value otherwise. ### GetChecksumSha256Ok -`func (o *TerraformPackageUpload) GetChecksumSha256Ok() (*string, bool)` +`func (o *GoPackageUploadResponse) GetChecksumSha256Ok() (*string, bool)` GetChecksumSha256Ok returns a tuple with the ChecksumSha256 field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetChecksumSha256 -`func (o *TerraformPackageUpload) SetChecksumSha256(v string)` +`func (o *GoPackageUploadResponse) SetChecksumSha256(v string)` SetChecksumSha256 sets ChecksumSha256 field to given value. ### HasChecksumSha256 -`func (o *TerraformPackageUpload) HasChecksumSha256() bool` +`func (o *GoPackageUploadResponse) HasChecksumSha256() bool` HasChecksumSha256 returns a boolean if a field has been set. ### GetChecksumSha512 -`func (o *TerraformPackageUpload) GetChecksumSha512() string` +`func (o *GoPackageUploadResponse) GetChecksumSha512() string` GetChecksumSha512 returns the ChecksumSha512 field if non-nil, zero value otherwise. ### GetChecksumSha512Ok -`func (o *TerraformPackageUpload) GetChecksumSha512Ok() (*string, bool)` +`func (o *GoPackageUploadResponse) GetChecksumSha512Ok() (*string, bool)` GetChecksumSha512Ok returns a tuple with the ChecksumSha512 field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetChecksumSha512 -`func (o *TerraformPackageUpload) SetChecksumSha512(v string)` +`func (o *GoPackageUploadResponse) SetChecksumSha512(v string)` SetChecksumSha512 sets ChecksumSha512 field to given value. ### HasChecksumSha512 -`func (o *TerraformPackageUpload) HasChecksumSha512() bool` +`func (o *GoPackageUploadResponse) HasChecksumSha512() bool` HasChecksumSha512 returns a boolean if a field has been set. ### GetDependenciesChecksumMd5 -`func (o *TerraformPackageUpload) GetDependenciesChecksumMd5() string` +`func (o *GoPackageUploadResponse) GetDependenciesChecksumMd5() string` GetDependenciesChecksumMd5 returns the DependenciesChecksumMd5 field if non-nil, zero value otherwise. ### GetDependenciesChecksumMd5Ok -`func (o *TerraformPackageUpload) GetDependenciesChecksumMd5Ok() (*string, bool)` +`func (o *GoPackageUploadResponse) GetDependenciesChecksumMd5Ok() (*string, bool)` GetDependenciesChecksumMd5Ok returns a tuple with the DependenciesChecksumMd5 field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetDependenciesChecksumMd5 -`func (o *TerraformPackageUpload) SetDependenciesChecksumMd5(v string)` +`func (o *GoPackageUploadResponse) SetDependenciesChecksumMd5(v string)` SetDependenciesChecksumMd5 sets DependenciesChecksumMd5 field to given value. ### HasDependenciesChecksumMd5 -`func (o *TerraformPackageUpload) HasDependenciesChecksumMd5() bool` +`func (o *GoPackageUploadResponse) HasDependenciesChecksumMd5() bool` HasDependenciesChecksumMd5 returns a boolean if a field has been set. ### GetDependenciesUrl -`func (o *TerraformPackageUpload) GetDependenciesUrl() string` +`func (o *GoPackageUploadResponse) GetDependenciesUrl() string` GetDependenciesUrl returns the DependenciesUrl field if non-nil, zero value otherwise. ### GetDependenciesUrlOk -`func (o *TerraformPackageUpload) GetDependenciesUrlOk() (*string, bool)` +`func (o *GoPackageUploadResponse) GetDependenciesUrlOk() (*string, bool)` GetDependenciesUrlOk returns a tuple with the DependenciesUrl field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetDependenciesUrl -`func (o *TerraformPackageUpload) SetDependenciesUrl(v string)` +`func (o *GoPackageUploadResponse) SetDependenciesUrl(v string)` SetDependenciesUrl sets DependenciesUrl field to given value. ### HasDependenciesUrl -`func (o *TerraformPackageUpload) HasDependenciesUrl() bool` +`func (o *GoPackageUploadResponse) HasDependenciesUrl() bool` HasDependenciesUrl returns a boolean if a field has been set. ### GetDescription -`func (o *TerraformPackageUpload) GetDescription() string` +`func (o *GoPackageUploadResponse) GetDescription() string` GetDescription returns the Description field if non-nil, zero value otherwise. ### GetDescriptionOk -`func (o *TerraformPackageUpload) GetDescriptionOk() (*string, bool)` +`func (o *GoPackageUploadResponse) GetDescriptionOk() (*string, bool)` GetDescriptionOk returns a tuple with the Description field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetDescription -`func (o *TerraformPackageUpload) SetDescription(v string)` +`func (o *GoPackageUploadResponse) SetDescription(v string)` SetDescription sets Description field to given value. ### HasDescription -`func (o *TerraformPackageUpload) HasDescription() bool` +`func (o *GoPackageUploadResponse) HasDescription() bool` HasDescription returns a boolean if a field has been set. ### GetDistro -`func (o *TerraformPackageUpload) GetDistro() map[string]interface{}` +`func (o *GoPackageUploadResponse) GetDistro() Distribution` GetDistro returns the Distro field if non-nil, zero value otherwise. ### GetDistroOk -`func (o *TerraformPackageUpload) GetDistroOk() (*map[string]interface{}, bool)` +`func (o *GoPackageUploadResponse) GetDistroOk() (*Distribution, bool)` GetDistroOk returns a tuple with the Distro field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetDistro -`func (o *TerraformPackageUpload) SetDistro(v map[string]interface{})` +`func (o *GoPackageUploadResponse) SetDistro(v Distribution)` SetDistro sets Distro field to given value. ### HasDistro -`func (o *TerraformPackageUpload) HasDistro() bool` +`func (o *GoPackageUploadResponse) HasDistro() bool` HasDistro returns a boolean if a field has been set. +### SetDistroNil + +`func (o *GoPackageUploadResponse) SetDistroNil(b bool)` + + SetDistroNil sets the value for Distro to be an explicit nil + +### UnsetDistro +`func (o *GoPackageUploadResponse) UnsetDistro()` + +UnsetDistro ensures that no value is present for Distro, not even an explicit nil ### GetDistroVersion -`func (o *TerraformPackageUpload) GetDistroVersion() map[string]interface{}` +`func (o *GoPackageUploadResponse) GetDistroVersion() DistributionVersion` GetDistroVersion returns the DistroVersion field if non-nil, zero value otherwise. ### GetDistroVersionOk -`func (o *TerraformPackageUpload) GetDistroVersionOk() (*map[string]interface{}, bool)` +`func (o *GoPackageUploadResponse) GetDistroVersionOk() (*DistributionVersion, bool)` GetDistroVersionOk returns a tuple with the DistroVersion field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetDistroVersion -`func (o *TerraformPackageUpload) SetDistroVersion(v map[string]interface{})` +`func (o *GoPackageUploadResponse) SetDistroVersion(v DistributionVersion)` SetDistroVersion sets DistroVersion field to given value. ### HasDistroVersion -`func (o *TerraformPackageUpload) HasDistroVersion() bool` +`func (o *GoPackageUploadResponse) HasDistroVersion() bool` HasDistroVersion returns a boolean if a field has been set. ### GetDownloads -`func (o *TerraformPackageUpload) GetDownloads() int64` +`func (o *GoPackageUploadResponse) GetDownloads() int64` GetDownloads returns the Downloads field if non-nil, zero value otherwise. ### GetDownloadsOk -`func (o *TerraformPackageUpload) GetDownloadsOk() (*int64, bool)` +`func (o *GoPackageUploadResponse) GetDownloadsOk() (*int64, bool)` GetDownloadsOk returns a tuple with the Downloads field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetDownloads -`func (o *TerraformPackageUpload) SetDownloads(v int64)` +`func (o *GoPackageUploadResponse) SetDownloads(v int64)` SetDownloads sets Downloads field to given value. ### HasDownloads -`func (o *TerraformPackageUpload) HasDownloads() bool` +`func (o *GoPackageUploadResponse) HasDownloads() bool` HasDownloads returns a boolean if a field has been set. ### GetEpoch -`func (o *TerraformPackageUpload) GetEpoch() int64` +`func (o *GoPackageUploadResponse) GetEpoch() int64` GetEpoch returns the Epoch field if non-nil, zero value otherwise. ### GetEpochOk -`func (o *TerraformPackageUpload) GetEpochOk() (*int64, bool)` +`func (o *GoPackageUploadResponse) GetEpochOk() (*int64, bool)` GetEpochOk returns a tuple with the Epoch field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetEpoch -`func (o *TerraformPackageUpload) SetEpoch(v int64)` +`func (o *GoPackageUploadResponse) SetEpoch(v int64)` SetEpoch sets Epoch field to given value. ### HasEpoch -`func (o *TerraformPackageUpload) HasEpoch() bool` +`func (o *GoPackageUploadResponse) HasEpoch() bool` HasEpoch returns a boolean if a field has been set. ### GetExtension -`func (o *TerraformPackageUpload) GetExtension() string` +`func (o *GoPackageUploadResponse) GetExtension() string` GetExtension returns the Extension field if non-nil, zero value otherwise. ### GetExtensionOk -`func (o *TerraformPackageUpload) GetExtensionOk() (*string, bool)` +`func (o *GoPackageUploadResponse) GetExtensionOk() (*string, bool)` GetExtensionOk returns a tuple with the Extension field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetExtension -`func (o *TerraformPackageUpload) SetExtension(v string)` +`func (o *GoPackageUploadResponse) SetExtension(v string)` SetExtension sets Extension field to given value. ### HasExtension -`func (o *TerraformPackageUpload) HasExtension() bool` +`func (o *GoPackageUploadResponse) HasExtension() bool` HasExtension returns a boolean if a field has been set. ### GetFilename -`func (o *TerraformPackageUpload) GetFilename() string` +`func (o *GoPackageUploadResponse) GetFilename() string` GetFilename returns the Filename field if non-nil, zero value otherwise. ### GetFilenameOk -`func (o *TerraformPackageUpload) GetFilenameOk() (*string, bool)` +`func (o *GoPackageUploadResponse) GetFilenameOk() (*string, bool)` GetFilenameOk returns a tuple with the Filename field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetFilename -`func (o *TerraformPackageUpload) SetFilename(v string)` +`func (o *GoPackageUploadResponse) SetFilename(v string)` SetFilename sets Filename field to given value. ### HasFilename -`func (o *TerraformPackageUpload) HasFilename() bool` +`func (o *GoPackageUploadResponse) HasFilename() bool` HasFilename returns a boolean if a field has been set. ### GetFiles -`func (o *TerraformPackageUpload) GetFiles() []PackagesOwnerRepoFiles` +`func (o *GoPackageUploadResponse) GetFiles() []PackageFile` GetFiles returns the Files field if non-nil, zero value otherwise. ### GetFilesOk -`func (o *TerraformPackageUpload) GetFilesOk() (*[]PackagesOwnerRepoFiles, bool)` +`func (o *GoPackageUploadResponse) GetFilesOk() (*[]PackageFile, 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 *TerraformPackageUpload) SetFiles(v []PackagesOwnerRepoFiles)` +`func (o *GoPackageUploadResponse) SetFiles(v []PackageFile)` SetFiles sets Files field to given value. ### HasFiles -`func (o *TerraformPackageUpload) HasFiles() bool` +`func (o *GoPackageUploadResponse) HasFiles() bool` HasFiles returns a boolean if a field has been set. ### GetFormat -`func (o *TerraformPackageUpload) GetFormat() string` +`func (o *GoPackageUploadResponse) GetFormat() string` GetFormat returns the Format field if non-nil, zero value otherwise. ### GetFormatOk -`func (o *TerraformPackageUpload) GetFormatOk() (*string, bool)` +`func (o *GoPackageUploadResponse) GetFormatOk() (*string, bool)` GetFormatOk returns a tuple with the Format field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetFormat -`func (o *TerraformPackageUpload) SetFormat(v string)` +`func (o *GoPackageUploadResponse) SetFormat(v string)` SetFormat sets Format field to given value. ### HasFormat -`func (o *TerraformPackageUpload) HasFormat() bool` +`func (o *GoPackageUploadResponse) HasFormat() bool` HasFormat returns a boolean if a field has been set. ### GetFormatUrl -`func (o *TerraformPackageUpload) GetFormatUrl() string` +`func (o *GoPackageUploadResponse) GetFormatUrl() string` GetFormatUrl returns the FormatUrl field if non-nil, zero value otherwise. ### GetFormatUrlOk -`func (o *TerraformPackageUpload) GetFormatUrlOk() (*string, bool)` +`func (o *GoPackageUploadResponse) GetFormatUrlOk() (*string, bool)` GetFormatUrlOk returns a tuple with the FormatUrl field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetFormatUrl -`func (o *TerraformPackageUpload) SetFormatUrl(v string)` +`func (o *GoPackageUploadResponse) SetFormatUrl(v string)` SetFormatUrl sets FormatUrl field to given value. ### HasFormatUrl -`func (o *TerraformPackageUpload) HasFormatUrl() bool` +`func (o *GoPackageUploadResponse) HasFormatUrl() bool` HasFormatUrl returns a boolean if a field has been set. ### GetIdentifierPerm -`func (o *TerraformPackageUpload) GetIdentifierPerm() string` +`func (o *GoPackageUploadResponse) GetIdentifierPerm() string` GetIdentifierPerm returns the IdentifierPerm field if non-nil, zero value otherwise. ### GetIdentifierPermOk -`func (o *TerraformPackageUpload) GetIdentifierPermOk() (*string, bool)` +`func (o *GoPackageUploadResponse) GetIdentifierPermOk() (*string, bool)` GetIdentifierPermOk returns a tuple with the IdentifierPerm field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetIdentifierPerm -`func (o *TerraformPackageUpload) SetIdentifierPerm(v string)` +`func (o *GoPackageUploadResponse) SetIdentifierPerm(v string)` SetIdentifierPerm sets IdentifierPerm field to given value. ### HasIdentifierPerm -`func (o *TerraformPackageUpload) HasIdentifierPerm() bool` +`func (o *GoPackageUploadResponse) HasIdentifierPerm() bool` HasIdentifierPerm returns a boolean if a field has been set. ### GetIndexed -`func (o *TerraformPackageUpload) GetIndexed() bool` +`func (o *GoPackageUploadResponse) GetIndexed() bool` GetIndexed returns the Indexed field if non-nil, zero value otherwise. ### GetIndexedOk -`func (o *TerraformPackageUpload) GetIndexedOk() (*bool, bool)` +`func (o *GoPackageUploadResponse) GetIndexedOk() (*bool, bool)` GetIndexedOk returns a tuple with the Indexed field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetIndexed -`func (o *TerraformPackageUpload) SetIndexed(v bool)` +`func (o *GoPackageUploadResponse) SetIndexed(v bool)` SetIndexed sets Indexed field to given value. ### HasIndexed -`func (o *TerraformPackageUpload) HasIndexed() bool` +`func (o *GoPackageUploadResponse) HasIndexed() bool` HasIndexed returns a boolean if a field has been set. ### GetIsDownloadable -`func (o *TerraformPackageUpload) GetIsDownloadable() bool` +`func (o *GoPackageUploadResponse) GetIsDownloadable() bool` GetIsDownloadable returns the IsDownloadable field if non-nil, zero value otherwise. ### GetIsDownloadableOk -`func (o *TerraformPackageUpload) GetIsDownloadableOk() (*bool, bool)` +`func (o *GoPackageUploadResponse) GetIsDownloadableOk() (*bool, bool)` GetIsDownloadableOk returns a tuple with the IsDownloadable field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetIsDownloadable -`func (o *TerraformPackageUpload) SetIsDownloadable(v bool)` +`func (o *GoPackageUploadResponse) SetIsDownloadable(v bool)` SetIsDownloadable sets IsDownloadable field to given value. ### HasIsDownloadable -`func (o *TerraformPackageUpload) HasIsDownloadable() bool` +`func (o *GoPackageUploadResponse) HasIsDownloadable() bool` HasIsDownloadable returns a boolean if a field has been set. ### GetIsQuarantined -`func (o *TerraformPackageUpload) GetIsQuarantined() bool` +`func (o *GoPackageUploadResponse) GetIsQuarantined() bool` GetIsQuarantined returns the IsQuarantined field if non-nil, zero value otherwise. ### GetIsQuarantinedOk -`func (o *TerraformPackageUpload) GetIsQuarantinedOk() (*bool, bool)` +`func (o *GoPackageUploadResponse) GetIsQuarantinedOk() (*bool, bool)` GetIsQuarantinedOk returns a tuple with the IsQuarantined field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetIsQuarantined -`func (o *TerraformPackageUpload) SetIsQuarantined(v bool)` +`func (o *GoPackageUploadResponse) SetIsQuarantined(v bool)` SetIsQuarantined sets IsQuarantined field to given value. ### HasIsQuarantined -`func (o *TerraformPackageUpload) HasIsQuarantined() bool` +`func (o *GoPackageUploadResponse) HasIsQuarantined() bool` HasIsQuarantined returns a boolean if a field has been set. ### GetIsSyncAwaiting -`func (o *TerraformPackageUpload) GetIsSyncAwaiting() bool` +`func (o *GoPackageUploadResponse) GetIsSyncAwaiting() bool` GetIsSyncAwaiting returns the IsSyncAwaiting field if non-nil, zero value otherwise. ### GetIsSyncAwaitingOk -`func (o *TerraformPackageUpload) GetIsSyncAwaitingOk() (*bool, bool)` +`func (o *GoPackageUploadResponse) GetIsSyncAwaitingOk() (*bool, bool)` GetIsSyncAwaitingOk returns a tuple with the IsSyncAwaiting field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetIsSyncAwaiting -`func (o *TerraformPackageUpload) SetIsSyncAwaiting(v bool)` +`func (o *GoPackageUploadResponse) SetIsSyncAwaiting(v bool)` SetIsSyncAwaiting sets IsSyncAwaiting field to given value. ### HasIsSyncAwaiting -`func (o *TerraformPackageUpload) HasIsSyncAwaiting() bool` +`func (o *GoPackageUploadResponse) HasIsSyncAwaiting() bool` HasIsSyncAwaiting returns a boolean if a field has been set. ### GetIsSyncCompleted -`func (o *TerraformPackageUpload) GetIsSyncCompleted() bool` +`func (o *GoPackageUploadResponse) GetIsSyncCompleted() bool` GetIsSyncCompleted returns the IsSyncCompleted field if non-nil, zero value otherwise. ### GetIsSyncCompletedOk -`func (o *TerraformPackageUpload) GetIsSyncCompletedOk() (*bool, bool)` +`func (o *GoPackageUploadResponse) GetIsSyncCompletedOk() (*bool, bool)` GetIsSyncCompletedOk returns a tuple with the IsSyncCompleted field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetIsSyncCompleted -`func (o *TerraformPackageUpload) SetIsSyncCompleted(v bool)` +`func (o *GoPackageUploadResponse) SetIsSyncCompleted(v bool)` SetIsSyncCompleted sets IsSyncCompleted field to given value. ### HasIsSyncCompleted -`func (o *TerraformPackageUpload) HasIsSyncCompleted() bool` +`func (o *GoPackageUploadResponse) HasIsSyncCompleted() bool` HasIsSyncCompleted returns a boolean if a field has been set. ### GetIsSyncFailed -`func (o *TerraformPackageUpload) GetIsSyncFailed() bool` +`func (o *GoPackageUploadResponse) GetIsSyncFailed() bool` GetIsSyncFailed returns the IsSyncFailed field if non-nil, zero value otherwise. ### GetIsSyncFailedOk -`func (o *TerraformPackageUpload) GetIsSyncFailedOk() (*bool, bool)` +`func (o *GoPackageUploadResponse) GetIsSyncFailedOk() (*bool, bool)` GetIsSyncFailedOk returns a tuple with the IsSyncFailed field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetIsSyncFailed -`func (o *TerraformPackageUpload) SetIsSyncFailed(v bool)` +`func (o *GoPackageUploadResponse) SetIsSyncFailed(v bool)` SetIsSyncFailed sets IsSyncFailed field to given value. ### HasIsSyncFailed -`func (o *TerraformPackageUpload) HasIsSyncFailed() bool` +`func (o *GoPackageUploadResponse) HasIsSyncFailed() bool` HasIsSyncFailed returns a boolean if a field has been set. ### GetIsSyncInFlight -`func (o *TerraformPackageUpload) GetIsSyncInFlight() bool` +`func (o *GoPackageUploadResponse) GetIsSyncInFlight() bool` GetIsSyncInFlight returns the IsSyncInFlight field if non-nil, zero value otherwise. ### GetIsSyncInFlightOk -`func (o *TerraformPackageUpload) GetIsSyncInFlightOk() (*bool, bool)` +`func (o *GoPackageUploadResponse) GetIsSyncInFlightOk() (*bool, bool)` GetIsSyncInFlightOk returns a tuple with the IsSyncInFlight field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetIsSyncInFlight -`func (o *TerraformPackageUpload) SetIsSyncInFlight(v bool)` +`func (o *GoPackageUploadResponse) SetIsSyncInFlight(v bool)` SetIsSyncInFlight sets IsSyncInFlight field to given value. ### HasIsSyncInFlight -`func (o *TerraformPackageUpload) HasIsSyncInFlight() bool` +`func (o *GoPackageUploadResponse) HasIsSyncInFlight() bool` HasIsSyncInFlight returns a boolean if a field has been set. ### GetIsSyncInProgress -`func (o *TerraformPackageUpload) GetIsSyncInProgress() bool` +`func (o *GoPackageUploadResponse) GetIsSyncInProgress() bool` GetIsSyncInProgress returns the IsSyncInProgress field if non-nil, zero value otherwise. ### GetIsSyncInProgressOk -`func (o *TerraformPackageUpload) GetIsSyncInProgressOk() (*bool, bool)` +`func (o *GoPackageUploadResponse) GetIsSyncInProgressOk() (*bool, bool)` GetIsSyncInProgressOk returns a tuple with the IsSyncInProgress field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetIsSyncInProgress -`func (o *TerraformPackageUpload) SetIsSyncInProgress(v bool)` +`func (o *GoPackageUploadResponse) SetIsSyncInProgress(v bool)` SetIsSyncInProgress sets IsSyncInProgress field to given value. ### HasIsSyncInProgress -`func (o *TerraformPackageUpload) HasIsSyncInProgress() bool` +`func (o *GoPackageUploadResponse) HasIsSyncInProgress() bool` HasIsSyncInProgress returns a boolean if a field has been set. ### GetLicense -`func (o *TerraformPackageUpload) GetLicense() string` +`func (o *GoPackageUploadResponse) GetLicense() string` GetLicense returns the License field if non-nil, zero value otherwise. ### GetLicenseOk -`func (o *TerraformPackageUpload) GetLicenseOk() (*string, bool)` +`func (o *GoPackageUploadResponse) GetLicenseOk() (*string, bool)` GetLicenseOk returns a tuple with the License field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetLicense -`func (o *TerraformPackageUpload) SetLicense(v string)` +`func (o *GoPackageUploadResponse) SetLicense(v string)` SetLicense sets License field to given value. ### HasLicense -`func (o *TerraformPackageUpload) HasLicense() bool` +`func (o *GoPackageUploadResponse) HasLicense() bool` HasLicense returns a boolean if a field has been set. ### GetName -`func (o *TerraformPackageUpload) GetName() string` +`func (o *GoPackageUploadResponse) GetName() string` GetName returns the Name field if non-nil, zero value otherwise. ### GetNameOk -`func (o *TerraformPackageUpload) GetNameOk() (*string, bool)` +`func (o *GoPackageUploadResponse) GetNameOk() (*string, bool)` 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. ### SetName -`func (o *TerraformPackageUpload) SetName(v string)` +`func (o *GoPackageUploadResponse) SetName(v string)` SetName sets Name field to given value. ### HasName -`func (o *TerraformPackageUpload) HasName() bool` +`func (o *GoPackageUploadResponse) HasName() bool` HasName returns a boolean if a field has been set. ### GetNamespace -`func (o *TerraformPackageUpload) GetNamespace() string` +`func (o *GoPackageUploadResponse) GetNamespace() string` GetNamespace returns the Namespace field if non-nil, zero value otherwise. ### GetNamespaceOk -`func (o *TerraformPackageUpload) GetNamespaceOk() (*string, bool)` +`func (o *GoPackageUploadResponse) GetNamespaceOk() (*string, bool)` GetNamespaceOk returns a tuple with the Namespace field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetNamespace -`func (o *TerraformPackageUpload) SetNamespace(v string)` +`func (o *GoPackageUploadResponse) SetNamespace(v string)` SetNamespace sets Namespace field to given value. ### HasNamespace -`func (o *TerraformPackageUpload) HasNamespace() bool` +`func (o *GoPackageUploadResponse) HasNamespace() bool` HasNamespace returns a boolean if a field has been set. ### GetNamespaceUrl -`func (o *TerraformPackageUpload) GetNamespaceUrl() string` +`func (o *GoPackageUploadResponse) GetNamespaceUrl() string` GetNamespaceUrl returns the NamespaceUrl field if non-nil, zero value otherwise. ### GetNamespaceUrlOk -`func (o *TerraformPackageUpload) GetNamespaceUrlOk() (*string, bool)` +`func (o *GoPackageUploadResponse) GetNamespaceUrlOk() (*string, bool)` GetNamespaceUrlOk returns a tuple with the NamespaceUrl field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetNamespaceUrl -`func (o *TerraformPackageUpload) SetNamespaceUrl(v string)` +`func (o *GoPackageUploadResponse) SetNamespaceUrl(v string)` SetNamespaceUrl sets NamespaceUrl field to given value. ### HasNamespaceUrl -`func (o *TerraformPackageUpload) HasNamespaceUrl() bool` +`func (o *GoPackageUploadResponse) HasNamespaceUrl() bool` HasNamespaceUrl returns a boolean if a field has been set. ### GetNumFiles -`func (o *TerraformPackageUpload) GetNumFiles() int64` +`func (o *GoPackageUploadResponse) GetNumFiles() int64` GetNumFiles returns the NumFiles field if non-nil, zero value otherwise. ### GetNumFilesOk -`func (o *TerraformPackageUpload) GetNumFilesOk() (*int64, bool)` +`func (o *GoPackageUploadResponse) GetNumFilesOk() (*int64, bool)` GetNumFilesOk returns a tuple with the NumFiles field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetNumFiles -`func (o *TerraformPackageUpload) SetNumFiles(v int64)` +`func (o *GoPackageUploadResponse) SetNumFiles(v int64)` SetNumFiles sets NumFiles field to given value. ### HasNumFiles -`func (o *TerraformPackageUpload) HasNumFiles() bool` +`func (o *GoPackageUploadResponse) HasNumFiles() bool` HasNumFiles returns a boolean if a field has been set. +### GetOriginRepository + +`func (o *GoPackageUploadResponse) GetOriginRepository() string` + +GetOriginRepository returns the OriginRepository field if non-nil, zero value otherwise. + +### GetOriginRepositoryOk + +`func (o *GoPackageUploadResponse) GetOriginRepositoryOk() (*string, bool)` + +GetOriginRepositoryOk returns a tuple with the OriginRepository field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetOriginRepository + +`func (o *GoPackageUploadResponse) SetOriginRepository(v string)` + +SetOriginRepository sets OriginRepository field to given value. + +### HasOriginRepository + +`func (o *GoPackageUploadResponse) HasOriginRepository() bool` + +HasOriginRepository returns a boolean if a field has been set. + +### GetOriginRepositoryUrl + +`func (o *GoPackageUploadResponse) GetOriginRepositoryUrl() string` + +GetOriginRepositoryUrl returns the OriginRepositoryUrl field if non-nil, zero value otherwise. + +### GetOriginRepositoryUrlOk + +`func (o *GoPackageUploadResponse) GetOriginRepositoryUrlOk() (*string, bool)` + +GetOriginRepositoryUrlOk returns a tuple with the OriginRepositoryUrl field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetOriginRepositoryUrl + +`func (o *GoPackageUploadResponse) SetOriginRepositoryUrl(v string)` + +SetOriginRepositoryUrl sets OriginRepositoryUrl field to given value. + +### HasOriginRepositoryUrl + +`func (o *GoPackageUploadResponse) HasOriginRepositoryUrl() bool` + +HasOriginRepositoryUrl returns a boolean if a field has been set. + ### GetPackageType -`func (o *TerraformPackageUpload) GetPackageType() int64` +`func (o *GoPackageUploadResponse) GetPackageType() int64` GetPackageType returns the PackageType field if non-nil, zero value otherwise. ### GetPackageTypeOk -`func (o *TerraformPackageUpload) GetPackageTypeOk() (*int64, bool)` +`func (o *GoPackageUploadResponse) GetPackageTypeOk() (*int64, bool)` GetPackageTypeOk returns a tuple with the PackageType field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetPackageType -`func (o *TerraformPackageUpload) SetPackageType(v int64)` +`func (o *GoPackageUploadResponse) SetPackageType(v int64)` SetPackageType sets PackageType field to given value. ### HasPackageType -`func (o *TerraformPackageUpload) HasPackageType() bool` +`func (o *GoPackageUploadResponse) HasPackageType() bool` HasPackageType returns a boolean if a field has been set. ### GetRelease -`func (o *TerraformPackageUpload) GetRelease() string` +`func (o *GoPackageUploadResponse) GetRelease() string` GetRelease returns the Release field if non-nil, zero value otherwise. ### GetReleaseOk -`func (o *TerraformPackageUpload) GetReleaseOk() (*string, bool)` +`func (o *GoPackageUploadResponse) GetReleaseOk() (*string, bool)` GetReleaseOk returns a tuple with the Release field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetRelease -`func (o *TerraformPackageUpload) SetRelease(v string)` +`func (o *GoPackageUploadResponse) SetRelease(v string)` SetRelease sets Release field to given value. ### HasRelease -`func (o *TerraformPackageUpload) HasRelease() bool` +`func (o *GoPackageUploadResponse) HasRelease() bool` HasRelease returns a boolean if a field has been set. ### GetRepository -`func (o *TerraformPackageUpload) GetRepository() string` +`func (o *GoPackageUploadResponse) GetRepository() string` GetRepository returns the Repository field if non-nil, zero value otherwise. ### GetRepositoryOk -`func (o *TerraformPackageUpload) GetRepositoryOk() (*string, bool)` +`func (o *GoPackageUploadResponse) GetRepositoryOk() (*string, bool)` GetRepositoryOk returns a tuple with the Repository field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetRepository -`func (o *TerraformPackageUpload) SetRepository(v string)` +`func (o *GoPackageUploadResponse) SetRepository(v string)` SetRepository sets Repository field to given value. ### HasRepository -`func (o *TerraformPackageUpload) HasRepository() bool` +`func (o *GoPackageUploadResponse) HasRepository() bool` HasRepository returns a boolean if a field has been set. ### GetRepositoryUrl -`func (o *TerraformPackageUpload) GetRepositoryUrl() string` +`func (o *GoPackageUploadResponse) GetRepositoryUrl() string` GetRepositoryUrl returns the RepositoryUrl field if non-nil, zero value otherwise. ### GetRepositoryUrlOk -`func (o *TerraformPackageUpload) GetRepositoryUrlOk() (*string, bool)` +`func (o *GoPackageUploadResponse) GetRepositoryUrlOk() (*string, bool)` GetRepositoryUrlOk returns a tuple with the RepositoryUrl field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetRepositoryUrl -`func (o *TerraformPackageUpload) SetRepositoryUrl(v string)` +`func (o *GoPackageUploadResponse) SetRepositoryUrl(v string)` SetRepositoryUrl sets RepositoryUrl field to given value. ### HasRepositoryUrl -`func (o *TerraformPackageUpload) HasRepositoryUrl() bool` +`func (o *GoPackageUploadResponse) HasRepositoryUrl() bool` HasRepositoryUrl returns a boolean if a field has been set. ### GetSecurityScanCompletedAt -`func (o *TerraformPackageUpload) GetSecurityScanCompletedAt() string` +`func (o *GoPackageUploadResponse) GetSecurityScanCompletedAt() time.Time` GetSecurityScanCompletedAt returns the SecurityScanCompletedAt field if non-nil, zero value otherwise. ### GetSecurityScanCompletedAtOk -`func (o *TerraformPackageUpload) GetSecurityScanCompletedAtOk() (*string, bool)` +`func (o *GoPackageUploadResponse) GetSecurityScanCompletedAtOk() (*time.Time, bool)` GetSecurityScanCompletedAtOk returns a tuple with the SecurityScanCompletedAt field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetSecurityScanCompletedAt -`func (o *TerraformPackageUpload) SetSecurityScanCompletedAt(v string)` +`func (o *GoPackageUploadResponse) SetSecurityScanCompletedAt(v time.Time)` SetSecurityScanCompletedAt sets SecurityScanCompletedAt field to given value. ### HasSecurityScanCompletedAt -`func (o *TerraformPackageUpload) HasSecurityScanCompletedAt() bool` +`func (o *GoPackageUploadResponse) HasSecurityScanCompletedAt() bool` HasSecurityScanCompletedAt returns a boolean if a field has been set. ### GetSecurityScanStartedAt -`func (o *TerraformPackageUpload) GetSecurityScanStartedAt() string` +`func (o *GoPackageUploadResponse) GetSecurityScanStartedAt() time.Time` GetSecurityScanStartedAt returns the SecurityScanStartedAt field if non-nil, zero value otherwise. ### GetSecurityScanStartedAtOk -`func (o *TerraformPackageUpload) GetSecurityScanStartedAtOk() (*string, bool)` +`func (o *GoPackageUploadResponse) GetSecurityScanStartedAtOk() (*time.Time, bool)` GetSecurityScanStartedAtOk returns a tuple with the SecurityScanStartedAt field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetSecurityScanStartedAt -`func (o *TerraformPackageUpload) SetSecurityScanStartedAt(v string)` +`func (o *GoPackageUploadResponse) SetSecurityScanStartedAt(v time.Time)` SetSecurityScanStartedAt sets SecurityScanStartedAt field to given value. ### HasSecurityScanStartedAt -`func (o *TerraformPackageUpload) HasSecurityScanStartedAt() bool` +`func (o *GoPackageUploadResponse) HasSecurityScanStartedAt() bool` HasSecurityScanStartedAt returns a boolean if a field has been set. ### GetSecurityScanStatus -`func (o *TerraformPackageUpload) GetSecurityScanStatus() string` +`func (o *GoPackageUploadResponse) GetSecurityScanStatus() string` GetSecurityScanStatus returns the SecurityScanStatus field if non-nil, zero value otherwise. ### GetSecurityScanStatusOk -`func (o *TerraformPackageUpload) GetSecurityScanStatusOk() (*string, bool)` +`func (o *GoPackageUploadResponse) GetSecurityScanStatusOk() (*string, bool)` GetSecurityScanStatusOk returns a tuple with the SecurityScanStatus field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetSecurityScanStatus -`func (o *TerraformPackageUpload) SetSecurityScanStatus(v string)` +`func (o *GoPackageUploadResponse) SetSecurityScanStatus(v string)` SetSecurityScanStatus sets SecurityScanStatus field to given value. ### HasSecurityScanStatus -`func (o *TerraformPackageUpload) HasSecurityScanStatus() bool` +`func (o *GoPackageUploadResponse) HasSecurityScanStatus() bool` HasSecurityScanStatus returns a boolean if a field has been set. +### SetSecurityScanStatusNil + +`func (o *GoPackageUploadResponse) SetSecurityScanStatusNil(b bool)` + + SetSecurityScanStatusNil sets the value for SecurityScanStatus to be an explicit nil + +### UnsetSecurityScanStatus +`func (o *GoPackageUploadResponse) UnsetSecurityScanStatus()` + +UnsetSecurityScanStatus ensures that no value is present for SecurityScanStatus, not even an explicit nil ### GetSecurityScanStatusUpdatedAt -`func (o *TerraformPackageUpload) GetSecurityScanStatusUpdatedAt() string` +`func (o *GoPackageUploadResponse) GetSecurityScanStatusUpdatedAt() time.Time` GetSecurityScanStatusUpdatedAt returns the SecurityScanStatusUpdatedAt field if non-nil, zero value otherwise. ### GetSecurityScanStatusUpdatedAtOk -`func (o *TerraformPackageUpload) GetSecurityScanStatusUpdatedAtOk() (*string, bool)` +`func (o *GoPackageUploadResponse) GetSecurityScanStatusUpdatedAtOk() (*time.Time, bool)` GetSecurityScanStatusUpdatedAtOk returns a tuple with the SecurityScanStatusUpdatedAt field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetSecurityScanStatusUpdatedAt -`func (o *TerraformPackageUpload) SetSecurityScanStatusUpdatedAt(v string)` +`func (o *GoPackageUploadResponse) SetSecurityScanStatusUpdatedAt(v time.Time)` SetSecurityScanStatusUpdatedAt sets SecurityScanStatusUpdatedAt field to given value. ### HasSecurityScanStatusUpdatedAt -`func (o *TerraformPackageUpload) HasSecurityScanStatusUpdatedAt() bool` +`func (o *GoPackageUploadResponse) HasSecurityScanStatusUpdatedAt() bool` HasSecurityScanStatusUpdatedAt returns a boolean if a field has been set. ### GetSelfHtmlUrl -`func (o *TerraformPackageUpload) GetSelfHtmlUrl() string` +`func (o *GoPackageUploadResponse) GetSelfHtmlUrl() string` GetSelfHtmlUrl returns the SelfHtmlUrl field if non-nil, zero value otherwise. ### GetSelfHtmlUrlOk -`func (o *TerraformPackageUpload) GetSelfHtmlUrlOk() (*string, bool)` +`func (o *GoPackageUploadResponse) GetSelfHtmlUrlOk() (*string, bool)` GetSelfHtmlUrlOk returns a tuple with the SelfHtmlUrl field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetSelfHtmlUrl -`func (o *TerraformPackageUpload) SetSelfHtmlUrl(v string)` +`func (o *GoPackageUploadResponse) SetSelfHtmlUrl(v string)` SetSelfHtmlUrl sets SelfHtmlUrl field to given value. ### HasSelfHtmlUrl -`func (o *TerraformPackageUpload) HasSelfHtmlUrl() bool` +`func (o *GoPackageUploadResponse) HasSelfHtmlUrl() bool` HasSelfHtmlUrl returns a boolean if a field has been set. ### GetSelfUrl -`func (o *TerraformPackageUpload) GetSelfUrl() string` +`func (o *GoPackageUploadResponse) GetSelfUrl() string` GetSelfUrl returns the SelfUrl field if non-nil, zero value otherwise. ### GetSelfUrlOk -`func (o *TerraformPackageUpload) GetSelfUrlOk() (*string, bool)` +`func (o *GoPackageUploadResponse) GetSelfUrlOk() (*string, bool)` GetSelfUrlOk returns a tuple with the SelfUrl field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetSelfUrl -`func (o *TerraformPackageUpload) SetSelfUrl(v string)` +`func (o *GoPackageUploadResponse) SetSelfUrl(v string)` SetSelfUrl sets SelfUrl field to given value. ### HasSelfUrl -`func (o *TerraformPackageUpload) HasSelfUrl() bool` +`func (o *GoPackageUploadResponse) HasSelfUrl() bool` HasSelfUrl returns a boolean if a field has been set. ### GetSignatureUrl -`func (o *TerraformPackageUpload) GetSignatureUrl() string` +`func (o *GoPackageUploadResponse) GetSignatureUrl() string` GetSignatureUrl returns the SignatureUrl field if non-nil, zero value otherwise. ### GetSignatureUrlOk -`func (o *TerraformPackageUpload) GetSignatureUrlOk() (*string, bool)` +`func (o *GoPackageUploadResponse) GetSignatureUrlOk() (*string, bool)` GetSignatureUrlOk returns a tuple with the SignatureUrl field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetSignatureUrl -`func (o *TerraformPackageUpload) SetSignatureUrl(v string)` +`func (o *GoPackageUploadResponse) SetSignatureUrl(v string)` SetSignatureUrl sets SignatureUrl field to given value. ### HasSignatureUrl -`func (o *TerraformPackageUpload) HasSignatureUrl() bool` +`func (o *GoPackageUploadResponse) HasSignatureUrl() bool` HasSignatureUrl returns a boolean if a field has been set. +### SetSignatureUrlNil + +`func (o *GoPackageUploadResponse) SetSignatureUrlNil(b bool)` + + SetSignatureUrlNil sets the value for SignatureUrl to be an explicit nil + +### UnsetSignatureUrl +`func (o *GoPackageUploadResponse) UnsetSignatureUrl()` + +UnsetSignatureUrl ensures that no value is present for SignatureUrl, not even an explicit nil ### GetSize -`func (o *TerraformPackageUpload) GetSize() int64` +`func (o *GoPackageUploadResponse) GetSize() int64` GetSize returns the Size field if non-nil, zero value otherwise. ### GetSizeOk -`func (o *TerraformPackageUpload) GetSizeOk() (*int64, bool)` +`func (o *GoPackageUploadResponse) GetSizeOk() (*int64, bool)` GetSizeOk returns a tuple with the Size field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetSize -`func (o *TerraformPackageUpload) SetSize(v int64)` +`func (o *GoPackageUploadResponse) SetSize(v int64)` SetSize sets Size field to given value. ### HasSize -`func (o *TerraformPackageUpload) HasSize() bool` +`func (o *GoPackageUploadResponse) HasSize() bool` HasSize returns a boolean if a field has been set. ### GetSlug -`func (o *TerraformPackageUpload) GetSlug() string` +`func (o *GoPackageUploadResponse) GetSlug() string` GetSlug returns the Slug field if non-nil, zero value otherwise. ### GetSlugOk -`func (o *TerraformPackageUpload) GetSlugOk() (*string, bool)` +`func (o *GoPackageUploadResponse) GetSlugOk() (*string, bool)` GetSlugOk returns a tuple with the Slug field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetSlug -`func (o *TerraformPackageUpload) SetSlug(v string)` +`func (o *GoPackageUploadResponse) SetSlug(v string)` SetSlug sets Slug field to given value. ### HasSlug -`func (o *TerraformPackageUpload) HasSlug() bool` +`func (o *GoPackageUploadResponse) HasSlug() bool` HasSlug returns a boolean if a field has been set. ### GetSlugPerm -`func (o *TerraformPackageUpload) GetSlugPerm() string` +`func (o *GoPackageUploadResponse) GetSlugPerm() string` GetSlugPerm returns the SlugPerm field if non-nil, zero value otherwise. ### GetSlugPermOk -`func (o *TerraformPackageUpload) GetSlugPermOk() (*string, bool)` +`func (o *GoPackageUploadResponse) GetSlugPermOk() (*string, bool)` GetSlugPermOk returns a tuple with the SlugPerm field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetSlugPerm -`func (o *TerraformPackageUpload) SetSlugPerm(v string)` +`func (o *GoPackageUploadResponse) SetSlugPerm(v string)` SetSlugPerm sets SlugPerm field to given value. ### HasSlugPerm -`func (o *TerraformPackageUpload) HasSlugPerm() bool` +`func (o *GoPackageUploadResponse) HasSlugPerm() bool` HasSlugPerm returns a boolean if a field has been set. ### GetStage -`func (o *TerraformPackageUpload) GetStage() int64` +`func (o *GoPackageUploadResponse) GetStage() int64` GetStage returns the Stage field if non-nil, zero value otherwise. ### GetStageOk -`func (o *TerraformPackageUpload) GetStageOk() (*int64, bool)` +`func (o *GoPackageUploadResponse) GetStageOk() (*int64, bool)` GetStageOk returns a tuple with the Stage field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetStage -`func (o *TerraformPackageUpload) SetStage(v int64)` +`func (o *GoPackageUploadResponse) SetStage(v int64)` SetStage sets Stage field to given value. ### HasStage -`func (o *TerraformPackageUpload) HasStage() bool` +`func (o *GoPackageUploadResponse) HasStage() bool` HasStage returns a boolean if a field has been set. ### GetStageStr -`func (o *TerraformPackageUpload) GetStageStr() string` +`func (o *GoPackageUploadResponse) GetStageStr() string` GetStageStr returns the StageStr field if non-nil, zero value otherwise. ### GetStageStrOk -`func (o *TerraformPackageUpload) GetStageStrOk() (*string, bool)` +`func (o *GoPackageUploadResponse) GetStageStrOk() (*string, bool)` GetStageStrOk returns a tuple with the StageStr field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetStageStr -`func (o *TerraformPackageUpload) SetStageStr(v string)` +`func (o *GoPackageUploadResponse) SetStageStr(v string)` SetStageStr sets StageStr field to given value. ### HasStageStr -`func (o *TerraformPackageUpload) HasStageStr() bool` +`func (o *GoPackageUploadResponse) HasStageStr() bool` HasStageStr returns a boolean if a field has been set. ### GetStageUpdatedAt -`func (o *TerraformPackageUpload) GetStageUpdatedAt() string` +`func (o *GoPackageUploadResponse) GetStageUpdatedAt() time.Time` GetStageUpdatedAt returns the StageUpdatedAt field if non-nil, zero value otherwise. ### GetStageUpdatedAtOk -`func (o *TerraformPackageUpload) GetStageUpdatedAtOk() (*string, bool)` +`func (o *GoPackageUploadResponse) GetStageUpdatedAtOk() (*time.Time, bool)` GetStageUpdatedAtOk returns a tuple with the StageUpdatedAt field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetStageUpdatedAt -`func (o *TerraformPackageUpload) SetStageUpdatedAt(v string)` +`func (o *GoPackageUploadResponse) SetStageUpdatedAt(v time.Time)` SetStageUpdatedAt sets StageUpdatedAt field to given value. ### HasStageUpdatedAt -`func (o *TerraformPackageUpload) HasStageUpdatedAt() bool` +`func (o *GoPackageUploadResponse) HasStageUpdatedAt() bool` HasStageUpdatedAt returns a boolean if a field has been set. ### GetStatus -`func (o *TerraformPackageUpload) GetStatus() int64` +`func (o *GoPackageUploadResponse) GetStatus() int64` GetStatus returns the Status field if non-nil, zero value otherwise. ### GetStatusOk -`func (o *TerraformPackageUpload) GetStatusOk() (*int64, bool)` +`func (o *GoPackageUploadResponse) GetStatusOk() (*int64, bool)` GetStatusOk returns a tuple with the Status field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetStatus -`func (o *TerraformPackageUpload) SetStatus(v int64)` +`func (o *GoPackageUploadResponse) SetStatus(v int64)` SetStatus sets Status field to given value. ### HasStatus -`func (o *TerraformPackageUpload) HasStatus() bool` +`func (o *GoPackageUploadResponse) HasStatus() bool` HasStatus returns a boolean if a field has been set. ### GetStatusReason -`func (o *TerraformPackageUpload) GetStatusReason() string` +`func (o *GoPackageUploadResponse) GetStatusReason() string` GetStatusReason returns the StatusReason field if non-nil, zero value otherwise. ### GetStatusReasonOk -`func (o *TerraformPackageUpload) GetStatusReasonOk() (*string, bool)` +`func (o *GoPackageUploadResponse) GetStatusReasonOk() (*string, bool)` GetStatusReasonOk returns a tuple with the StatusReason field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetStatusReason -`func (o *TerraformPackageUpload) SetStatusReason(v string)` +`func (o *GoPackageUploadResponse) SetStatusReason(v string)` SetStatusReason sets StatusReason field to given value. ### HasStatusReason -`func (o *TerraformPackageUpload) HasStatusReason() bool` +`func (o *GoPackageUploadResponse) HasStatusReason() bool` HasStatusReason returns a boolean if a field has been set. ### GetStatusStr -`func (o *TerraformPackageUpload) GetStatusStr() string` +`func (o *GoPackageUploadResponse) GetStatusStr() string` GetStatusStr returns the StatusStr field if non-nil, zero value otherwise. ### GetStatusStrOk -`func (o *TerraformPackageUpload) GetStatusStrOk() (*string, bool)` +`func (o *GoPackageUploadResponse) GetStatusStrOk() (*string, bool)` GetStatusStrOk returns a tuple with the StatusStr field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetStatusStr -`func (o *TerraformPackageUpload) SetStatusStr(v string)` +`func (o *GoPackageUploadResponse) SetStatusStr(v string)` SetStatusStr sets StatusStr field to given value. ### HasStatusStr -`func (o *TerraformPackageUpload) HasStatusStr() bool` +`func (o *GoPackageUploadResponse) HasStatusStr() bool` HasStatusStr returns a boolean if a field has been set. ### GetStatusUpdatedAt -`func (o *TerraformPackageUpload) GetStatusUpdatedAt() string` +`func (o *GoPackageUploadResponse) GetStatusUpdatedAt() time.Time` GetStatusUpdatedAt returns the StatusUpdatedAt field if non-nil, zero value otherwise. ### GetStatusUpdatedAtOk -`func (o *TerraformPackageUpload) GetStatusUpdatedAtOk() (*string, bool)` +`func (o *GoPackageUploadResponse) GetStatusUpdatedAtOk() (*time.Time, bool)` GetStatusUpdatedAtOk returns a tuple with the StatusUpdatedAt field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetStatusUpdatedAt -`func (o *TerraformPackageUpload) SetStatusUpdatedAt(v string)` +`func (o *GoPackageUploadResponse) SetStatusUpdatedAt(v time.Time)` SetStatusUpdatedAt sets StatusUpdatedAt field to given value. ### HasStatusUpdatedAt -`func (o *TerraformPackageUpload) HasStatusUpdatedAt() bool` +`func (o *GoPackageUploadResponse) HasStatusUpdatedAt() bool` HasStatusUpdatedAt returns a boolean if a field has been set. ### GetStatusUrl -`func (o *TerraformPackageUpload) GetStatusUrl() string` +`func (o *GoPackageUploadResponse) GetStatusUrl() string` GetStatusUrl returns the StatusUrl field if non-nil, zero value otherwise. ### GetStatusUrlOk -`func (o *TerraformPackageUpload) GetStatusUrlOk() (*string, bool)` +`func (o *GoPackageUploadResponse) GetStatusUrlOk() (*string, bool)` GetStatusUrlOk returns a tuple with the StatusUrl field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetStatusUrl -`func (o *TerraformPackageUpload) SetStatusUrl(v string)` +`func (o *GoPackageUploadResponse) SetStatusUrl(v string)` SetStatusUrl sets StatusUrl field to given value. ### HasStatusUrl -`func (o *TerraformPackageUpload) HasStatusUrl() bool` +`func (o *GoPackageUploadResponse) HasStatusUrl() bool` HasStatusUrl returns a boolean if a field has been set. ### GetSubtype -`func (o *TerraformPackageUpload) GetSubtype() string` +`func (o *GoPackageUploadResponse) GetSubtype() string` GetSubtype returns the Subtype field if non-nil, zero value otherwise. ### GetSubtypeOk -`func (o *TerraformPackageUpload) GetSubtypeOk() (*string, bool)` +`func (o *GoPackageUploadResponse) GetSubtypeOk() (*string, bool)` GetSubtypeOk returns a tuple with the Subtype field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetSubtype -`func (o *TerraformPackageUpload) SetSubtype(v string)` +`func (o *GoPackageUploadResponse) SetSubtype(v string)` SetSubtype sets Subtype field to given value. ### HasSubtype -`func (o *TerraformPackageUpload) HasSubtype() bool` +`func (o *GoPackageUploadResponse) HasSubtype() bool` HasSubtype returns a boolean if a field has been set. ### GetSummary -`func (o *TerraformPackageUpload) GetSummary() string` +`func (o *GoPackageUploadResponse) GetSummary() string` GetSummary returns the Summary field if non-nil, zero value otherwise. ### GetSummaryOk -`func (o *TerraformPackageUpload) GetSummaryOk() (*string, bool)` +`func (o *GoPackageUploadResponse) GetSummaryOk() (*string, bool)` GetSummaryOk returns a tuple with the Summary field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetSummary -`func (o *TerraformPackageUpload) SetSummary(v string)` +`func (o *GoPackageUploadResponse) SetSummary(v string)` SetSummary sets Summary field to given value. ### HasSummary -`func (o *TerraformPackageUpload) HasSummary() bool` +`func (o *GoPackageUploadResponse) HasSummary() bool` HasSummary returns a boolean if a field has been set. ### GetSyncFinishedAt -`func (o *TerraformPackageUpload) GetSyncFinishedAt() string` +`func (o *GoPackageUploadResponse) GetSyncFinishedAt() time.Time` GetSyncFinishedAt returns the SyncFinishedAt field if non-nil, zero value otherwise. ### GetSyncFinishedAtOk -`func (o *TerraformPackageUpload) GetSyncFinishedAtOk() (*string, bool)` +`func (o *GoPackageUploadResponse) GetSyncFinishedAtOk() (*time.Time, bool)` GetSyncFinishedAtOk returns a tuple with the SyncFinishedAt field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetSyncFinishedAt -`func (o *TerraformPackageUpload) SetSyncFinishedAt(v string)` +`func (o *GoPackageUploadResponse) SetSyncFinishedAt(v time.Time)` SetSyncFinishedAt sets SyncFinishedAt field to given value. ### HasSyncFinishedAt -`func (o *TerraformPackageUpload) HasSyncFinishedAt() bool` +`func (o *GoPackageUploadResponse) HasSyncFinishedAt() bool` HasSyncFinishedAt returns a boolean if a field has been set. ### GetSyncProgress -`func (o *TerraformPackageUpload) GetSyncProgress() int64` +`func (o *GoPackageUploadResponse) GetSyncProgress() int64` GetSyncProgress returns the SyncProgress field if non-nil, zero value otherwise. ### GetSyncProgressOk -`func (o *TerraformPackageUpload) GetSyncProgressOk() (*int64, bool)` +`func (o *GoPackageUploadResponse) GetSyncProgressOk() (*int64, bool)` GetSyncProgressOk returns a tuple with the SyncProgress field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetSyncProgress -`func (o *TerraformPackageUpload) SetSyncProgress(v int64)` +`func (o *GoPackageUploadResponse) SetSyncProgress(v int64)` SetSyncProgress sets SyncProgress field to given value. ### HasSyncProgress -`func (o *TerraformPackageUpload) HasSyncProgress() bool` +`func (o *GoPackageUploadResponse) HasSyncProgress() bool` HasSyncProgress returns a boolean if a field has been set. ### GetTagsImmutable -`func (o *TerraformPackageUpload) GetTagsImmutable() map[string]interface{}` +`func (o *GoPackageUploadResponse) GetTagsImmutable() map[string]interface{}` GetTagsImmutable returns the TagsImmutable field if non-nil, zero value otherwise. ### GetTagsImmutableOk -`func (o *TerraformPackageUpload) GetTagsImmutableOk() (*map[string]interface{}, bool)` +`func (o *GoPackageUploadResponse) GetTagsImmutableOk() (*map[string]interface{}, bool)` GetTagsImmutableOk returns a tuple with the TagsImmutable field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetTagsImmutable -`func (o *TerraformPackageUpload) SetTagsImmutable(v map[string]interface{})` +`func (o *GoPackageUploadResponse) SetTagsImmutable(v map[string]interface{})` SetTagsImmutable sets TagsImmutable field to given value. ### HasTagsImmutable -`func (o *TerraformPackageUpload) HasTagsImmutable() bool` +`func (o *GoPackageUploadResponse) HasTagsImmutable() bool` HasTagsImmutable returns a boolean if a field has been set. ### GetTypeDisplay -`func (o *TerraformPackageUpload) GetTypeDisplay() string` +`func (o *GoPackageUploadResponse) GetTypeDisplay() string` GetTypeDisplay returns the TypeDisplay field if non-nil, zero value otherwise. ### GetTypeDisplayOk -`func (o *TerraformPackageUpload) GetTypeDisplayOk() (*string, bool)` +`func (o *GoPackageUploadResponse) GetTypeDisplayOk() (*string, bool)` GetTypeDisplayOk returns a tuple with the TypeDisplay field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetTypeDisplay -`func (o *TerraformPackageUpload) SetTypeDisplay(v string)` +`func (o *GoPackageUploadResponse) SetTypeDisplay(v string)` SetTypeDisplay sets TypeDisplay field to given value. ### HasTypeDisplay -`func (o *TerraformPackageUpload) HasTypeDisplay() bool` +`func (o *GoPackageUploadResponse) HasTypeDisplay() bool` HasTypeDisplay returns a boolean if a field has been set. ### GetUploadedAt -`func (o *TerraformPackageUpload) GetUploadedAt() string` +`func (o *GoPackageUploadResponse) GetUploadedAt() time.Time` GetUploadedAt returns the UploadedAt field if non-nil, zero value otherwise. ### GetUploadedAtOk -`func (o *TerraformPackageUpload) GetUploadedAtOk() (*string, bool)` +`func (o *GoPackageUploadResponse) GetUploadedAtOk() (*time.Time, bool)` GetUploadedAtOk returns a tuple with the UploadedAt field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetUploadedAt -`func (o *TerraformPackageUpload) SetUploadedAt(v string)` +`func (o *GoPackageUploadResponse) SetUploadedAt(v time.Time)` SetUploadedAt sets UploadedAt field to given value. ### HasUploadedAt -`func (o *TerraformPackageUpload) HasUploadedAt() bool` +`func (o *GoPackageUploadResponse) HasUploadedAt() bool` HasUploadedAt returns a boolean if a field has been set. ### GetUploader -`func (o *TerraformPackageUpload) GetUploader() string` +`func (o *GoPackageUploadResponse) GetUploader() string` GetUploader returns the Uploader field if non-nil, zero value otherwise. ### GetUploaderOk -`func (o *TerraformPackageUpload) GetUploaderOk() (*string, bool)` +`func (o *GoPackageUploadResponse) GetUploaderOk() (*string, bool)` GetUploaderOk returns a tuple with the Uploader field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetUploader -`func (o *TerraformPackageUpload) SetUploader(v string)` +`func (o *GoPackageUploadResponse) SetUploader(v string)` SetUploader sets Uploader field to given value. ### HasUploader -`func (o *TerraformPackageUpload) HasUploader() bool` +`func (o *GoPackageUploadResponse) HasUploader() bool` HasUploader returns a boolean if a field has been set. ### GetUploaderUrl -`func (o *TerraformPackageUpload) GetUploaderUrl() string` +`func (o *GoPackageUploadResponse) GetUploaderUrl() string` GetUploaderUrl returns the UploaderUrl field if non-nil, zero value otherwise. ### GetUploaderUrlOk -`func (o *TerraformPackageUpload) GetUploaderUrlOk() (*string, bool)` +`func (o *GoPackageUploadResponse) GetUploaderUrlOk() (*string, bool)` GetUploaderUrlOk returns a tuple with the UploaderUrl field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetUploaderUrl -`func (o *TerraformPackageUpload) SetUploaderUrl(v string)` +`func (o *GoPackageUploadResponse) SetUploaderUrl(v string)` SetUploaderUrl sets UploaderUrl field to given value. ### HasUploaderUrl -`func (o *TerraformPackageUpload) HasUploaderUrl() bool` +`func (o *GoPackageUploadResponse) HasUploaderUrl() bool` HasUploaderUrl returns a boolean if a field has been set. ### GetVersion -`func (o *TerraformPackageUpload) GetVersion() string` +`func (o *GoPackageUploadResponse) GetVersion() string` GetVersion returns the Version field if non-nil, zero value otherwise. ### GetVersionOk -`func (o *TerraformPackageUpload) GetVersionOk() (*string, bool)` +`func (o *GoPackageUploadResponse) GetVersionOk() (*string, bool)` GetVersionOk returns a tuple with the Version field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetVersion -`func (o *TerraformPackageUpload) SetVersion(v string)` +`func (o *GoPackageUploadResponse) SetVersion(v string)` SetVersion sets Version field to given value. ### HasVersion -`func (o *TerraformPackageUpload) HasVersion() bool` +`func (o *GoPackageUploadResponse) HasVersion() bool` HasVersion returns a boolean if a field has been set. ### GetVersionOrig -`func (o *TerraformPackageUpload) GetVersionOrig() string` +`func (o *GoPackageUploadResponse) GetVersionOrig() string` GetVersionOrig returns the VersionOrig field if non-nil, zero value otherwise. ### GetVersionOrigOk -`func (o *TerraformPackageUpload) GetVersionOrigOk() (*string, bool)` +`func (o *GoPackageUploadResponse) GetVersionOrigOk() (*string, bool)` GetVersionOrigOk returns a tuple with the VersionOrig field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetVersionOrig -`func (o *TerraformPackageUpload) SetVersionOrig(v string)` +`func (o *GoPackageUploadResponse) SetVersionOrig(v string)` SetVersionOrig sets VersionOrig field to given value. ### HasVersionOrig -`func (o *TerraformPackageUpload) HasVersionOrig() bool` +`func (o *GoPackageUploadResponse) HasVersionOrig() bool` HasVersionOrig returns a boolean if a field has been set. ### GetVulnerabilityScanResultsUrl -`func (o *TerraformPackageUpload) GetVulnerabilityScanResultsUrl() string` +`func (o *GoPackageUploadResponse) GetVulnerabilityScanResultsUrl() string` GetVulnerabilityScanResultsUrl returns the VulnerabilityScanResultsUrl field if non-nil, zero value otherwise. ### GetVulnerabilityScanResultsUrlOk -`func (o *TerraformPackageUpload) GetVulnerabilityScanResultsUrlOk() (*string, bool)` +`func (o *GoPackageUploadResponse) GetVulnerabilityScanResultsUrlOk() (*string, bool)` GetVulnerabilityScanResultsUrlOk returns a tuple with the VulnerabilityScanResultsUrl field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetVulnerabilityScanResultsUrl -`func (o *TerraformPackageUpload) SetVulnerabilityScanResultsUrl(v string)` +`func (o *GoPackageUploadResponse) SetVulnerabilityScanResultsUrl(v string)` SetVulnerabilityScanResultsUrl sets VulnerabilityScanResultsUrl field to given value. ### HasVulnerabilityScanResultsUrl -`func (o *TerraformPackageUpload) HasVulnerabilityScanResultsUrl() bool` +`func (o *GoPackageUploadResponse) HasVulnerabilityScanResultsUrl() bool` HasVulnerabilityScanResultsUrl returns a boolean if a field has been set. diff --git a/docs/HelmPackageUpload.md b/docs/HelmPackageUpload.md deleted file mode 100644 index aa3062f3..00000000 --- a/docs/HelmPackageUpload.md +++ /dev/null @@ -1,1746 +0,0 @@ -# HelmPackageUpload - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**Architectures** | Pointer to [**[]PackagesOwnerRepoArchitectures**](PackagesOwnerRepoArchitectures.md) | | [optional] -**CdnUrl** | Pointer to **string** | | [optional] -**ChecksumMd5** | Pointer to **string** | | [optional] -**ChecksumSha1** | Pointer to **string** | | [optional] -**ChecksumSha256** | Pointer to **string** | | [optional] -**ChecksumSha512** | Pointer to **string** | | [optional] -**DependenciesChecksumMd5** | Pointer to **string** | A checksum of all of the package's dependencies. | [optional] -**DependenciesUrl** | Pointer to **string** | | [optional] -**Description** | Pointer to **string** | A textual description of this package. | [optional] -**Distro** | Pointer to **map[string]interface{}** | | [optional] -**DistroVersion** | Pointer to **map[string]interface{}** | | [optional] -**Downloads** | Pointer to **int64** | | [optional] -**Epoch** | Pointer to **int64** | The epoch of the package version (if any). | [optional] -**Extension** | Pointer to **string** | | [optional] -**Filename** | Pointer to **string** | | [optional] -**Files** | Pointer to [**[]PackagesOwnerRepoFiles**](PackagesOwnerRepoFiles.md) | | [optional] -**Format** | Pointer to **string** | | [optional] -**FormatUrl** | Pointer to **string** | | [optional] -**IdentifierPerm** | Pointer to **string** | Unique and permanent identifier for the package. | [optional] -**Indexed** | Pointer to **bool** | | [optional] -**IsDownloadable** | Pointer to **bool** | | [optional] -**IsQuarantined** | Pointer to **bool** | | [optional] -**IsSyncAwaiting** | Pointer to **bool** | | [optional] -**IsSyncCompleted** | Pointer to **bool** | | [optional] -**IsSyncFailed** | Pointer to **bool** | | [optional] -**IsSyncInFlight** | Pointer to **bool** | | [optional] -**IsSyncInProgress** | Pointer to **bool** | | [optional] -**License** | Pointer to **string** | The license of this package. | [optional] -**Name** | Pointer to **string** | The name of this package. | [optional] -**Namespace** | Pointer to **string** | | [optional] -**NamespaceUrl** | Pointer to **string** | | [optional] -**NumFiles** | Pointer to **int64** | | [optional] -**PackageType** | Pointer to **int64** | The type of package contents. | [optional] -**Release** | Pointer to **string** | The release of the package version (if any). | [optional] -**Repository** | Pointer to **string** | | [optional] -**RepositoryUrl** | Pointer to **string** | | [optional] -**SecurityScanCompletedAt** | Pointer to **string** | The datetime the security scanning was completed. | [optional] -**SecurityScanStartedAt** | Pointer to **string** | The datetime the security scanning was started. | [optional] -**SecurityScanStatus** | Pointer to **string** | | [optional] -**SecurityScanStatusUpdatedAt** | Pointer to **string** | The datetime the security scanning status was updated. | [optional] -**SelfHtmlUrl** | Pointer to **string** | | [optional] -**SelfUrl** | Pointer to **string** | | [optional] -**SignatureUrl** | Pointer to **string** | | [optional] -**Size** | Pointer to **int64** | The calculated size of the package. | [optional] -**Slug** | Pointer to **string** | The public unique identifier for the package. | [optional] -**SlugPerm** | Pointer to **string** | | [optional] -**Stage** | Pointer to **int64** | The synchronisation (in progress) stage of the package. | [optional] -**StageStr** | Pointer to **string** | | [optional] -**StageUpdatedAt** | Pointer to **string** | The datetime the package stage was updated at. | [optional] -**Status** | Pointer to **int64** | The synchronisation status of the package. | [optional] -**StatusReason** | Pointer to **string** | A textual description for the synchronous status reason (if any | [optional] -**StatusStr** | Pointer to **string** | | [optional] -**StatusUpdatedAt** | Pointer to **string** | The datetime the package status was updated at. | [optional] -**StatusUrl** | Pointer to **string** | | [optional] -**Subtype** | Pointer to **string** | | [optional] -**Summary** | Pointer to **string** | A one-liner synopsis of this package. | [optional] -**SyncFinishedAt** | Pointer to **string** | The datetime the package sync was finished at. | [optional] -**SyncProgress** | Pointer to **int64** | Synchronisation progress (from 0-100) | [optional] -**TagsImmutable** | Pointer to **map[string]interface{}** | All immutable tags on the package, grouped by tag type. Immutable tags cannot be (easily) deleted. | [optional] -**TypeDisplay** | Pointer to **string** | | [optional] -**UploadedAt** | Pointer to **string** | The date this package was uploaded. | [optional] -**Uploader** | Pointer to **string** | | [optional] -**UploaderUrl** | Pointer to **string** | | [optional] -**Version** | Pointer to **string** | The raw version for this package. | [optional] -**VersionOrig** | Pointer to **string** | | [optional] -**VulnerabilityScanResultsUrl** | Pointer to **string** | | [optional] - -## Methods - -### NewHelmPackageUpload - -`func NewHelmPackageUpload() *HelmPackageUpload` - -NewHelmPackageUpload instantiates a new HelmPackageUpload object -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 - -### NewHelmPackageUploadWithDefaults - -`func NewHelmPackageUploadWithDefaults() *HelmPackageUpload` - -NewHelmPackageUploadWithDefaults instantiates a new HelmPackageUpload object -This constructor will only assign default values to properties that have it defined, -but it doesn't guarantee that properties required by API are set - -### GetArchitectures - -`func (o *HelmPackageUpload) GetArchitectures() []PackagesOwnerRepoArchitectures` - -GetArchitectures returns the Architectures field if non-nil, zero value otherwise. - -### GetArchitecturesOk - -`func (o *HelmPackageUpload) GetArchitecturesOk() (*[]PackagesOwnerRepoArchitectures, bool)` - -GetArchitecturesOk returns a tuple with the Architectures field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetArchitectures - -`func (o *HelmPackageUpload) SetArchitectures(v []PackagesOwnerRepoArchitectures)` - -SetArchitectures sets Architectures field to given value. - -### HasArchitectures - -`func (o *HelmPackageUpload) HasArchitectures() bool` - -HasArchitectures returns a boolean if a field has been set. - -### GetCdnUrl - -`func (o *HelmPackageUpload) GetCdnUrl() string` - -GetCdnUrl returns the CdnUrl field if non-nil, zero value otherwise. - -### GetCdnUrlOk - -`func (o *HelmPackageUpload) GetCdnUrlOk() (*string, bool)` - -GetCdnUrlOk returns a tuple with the CdnUrl field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetCdnUrl - -`func (o *HelmPackageUpload) SetCdnUrl(v string)` - -SetCdnUrl sets CdnUrl field to given value. - -### HasCdnUrl - -`func (o *HelmPackageUpload) HasCdnUrl() bool` - -HasCdnUrl returns a boolean if a field has been set. - -### GetChecksumMd5 - -`func (o *HelmPackageUpload) GetChecksumMd5() string` - -GetChecksumMd5 returns the ChecksumMd5 field if non-nil, zero value otherwise. - -### GetChecksumMd5Ok - -`func (o *HelmPackageUpload) GetChecksumMd5Ok() (*string, bool)` - -GetChecksumMd5Ok returns a tuple with the ChecksumMd5 field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetChecksumMd5 - -`func (o *HelmPackageUpload) SetChecksumMd5(v string)` - -SetChecksumMd5 sets ChecksumMd5 field to given value. - -### HasChecksumMd5 - -`func (o *HelmPackageUpload) HasChecksumMd5() bool` - -HasChecksumMd5 returns a boolean if a field has been set. - -### GetChecksumSha1 - -`func (o *HelmPackageUpload) GetChecksumSha1() string` - -GetChecksumSha1 returns the ChecksumSha1 field if non-nil, zero value otherwise. - -### GetChecksumSha1Ok - -`func (o *HelmPackageUpload) GetChecksumSha1Ok() (*string, bool)` - -GetChecksumSha1Ok returns a tuple with the ChecksumSha1 field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetChecksumSha1 - -`func (o *HelmPackageUpload) SetChecksumSha1(v string)` - -SetChecksumSha1 sets ChecksumSha1 field to given value. - -### HasChecksumSha1 - -`func (o *HelmPackageUpload) HasChecksumSha1() bool` - -HasChecksumSha1 returns a boolean if a field has been set. - -### GetChecksumSha256 - -`func (o *HelmPackageUpload) GetChecksumSha256() string` - -GetChecksumSha256 returns the ChecksumSha256 field if non-nil, zero value otherwise. - -### GetChecksumSha256Ok - -`func (o *HelmPackageUpload) GetChecksumSha256Ok() (*string, bool)` - -GetChecksumSha256Ok returns a tuple with the ChecksumSha256 field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetChecksumSha256 - -`func (o *HelmPackageUpload) SetChecksumSha256(v string)` - -SetChecksumSha256 sets ChecksumSha256 field to given value. - -### HasChecksumSha256 - -`func (o *HelmPackageUpload) HasChecksumSha256() bool` - -HasChecksumSha256 returns a boolean if a field has been set. - -### GetChecksumSha512 - -`func (o *HelmPackageUpload) GetChecksumSha512() string` - -GetChecksumSha512 returns the ChecksumSha512 field if non-nil, zero value otherwise. - -### GetChecksumSha512Ok - -`func (o *HelmPackageUpload) GetChecksumSha512Ok() (*string, bool)` - -GetChecksumSha512Ok returns a tuple with the ChecksumSha512 field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetChecksumSha512 - -`func (o *HelmPackageUpload) SetChecksumSha512(v string)` - -SetChecksumSha512 sets ChecksumSha512 field to given value. - -### HasChecksumSha512 - -`func (o *HelmPackageUpload) HasChecksumSha512() bool` - -HasChecksumSha512 returns a boolean if a field has been set. - -### GetDependenciesChecksumMd5 - -`func (o *HelmPackageUpload) GetDependenciesChecksumMd5() string` - -GetDependenciesChecksumMd5 returns the DependenciesChecksumMd5 field if non-nil, zero value otherwise. - -### GetDependenciesChecksumMd5Ok - -`func (o *HelmPackageUpload) GetDependenciesChecksumMd5Ok() (*string, bool)` - -GetDependenciesChecksumMd5Ok returns a tuple with the DependenciesChecksumMd5 field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetDependenciesChecksumMd5 - -`func (o *HelmPackageUpload) SetDependenciesChecksumMd5(v string)` - -SetDependenciesChecksumMd5 sets DependenciesChecksumMd5 field to given value. - -### HasDependenciesChecksumMd5 - -`func (o *HelmPackageUpload) HasDependenciesChecksumMd5() bool` - -HasDependenciesChecksumMd5 returns a boolean if a field has been set. - -### GetDependenciesUrl - -`func (o *HelmPackageUpload) GetDependenciesUrl() string` - -GetDependenciesUrl returns the DependenciesUrl field if non-nil, zero value otherwise. - -### GetDependenciesUrlOk - -`func (o *HelmPackageUpload) GetDependenciesUrlOk() (*string, bool)` - -GetDependenciesUrlOk returns a tuple with the DependenciesUrl field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetDependenciesUrl - -`func (o *HelmPackageUpload) SetDependenciesUrl(v string)` - -SetDependenciesUrl sets DependenciesUrl field to given value. - -### HasDependenciesUrl - -`func (o *HelmPackageUpload) HasDependenciesUrl() bool` - -HasDependenciesUrl returns a boolean if a field has been set. - -### GetDescription - -`func (o *HelmPackageUpload) GetDescription() string` - -GetDescription returns the Description field if non-nil, zero value otherwise. - -### GetDescriptionOk - -`func (o *HelmPackageUpload) GetDescriptionOk() (*string, bool)` - -GetDescriptionOk returns a tuple with the Description field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetDescription - -`func (o *HelmPackageUpload) SetDescription(v string)` - -SetDescription sets Description field to given value. - -### HasDescription - -`func (o *HelmPackageUpload) HasDescription() bool` - -HasDescription returns a boolean if a field has been set. - -### GetDistro - -`func (o *HelmPackageUpload) GetDistro() map[string]interface{}` - -GetDistro returns the Distro field if non-nil, zero value otherwise. - -### GetDistroOk - -`func (o *HelmPackageUpload) GetDistroOk() (*map[string]interface{}, bool)` - -GetDistroOk returns a tuple with the Distro field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetDistro - -`func (o *HelmPackageUpload) SetDistro(v map[string]interface{})` - -SetDistro sets Distro field to given value. - -### HasDistro - -`func (o *HelmPackageUpload) HasDistro() bool` - -HasDistro returns a boolean if a field has been set. - -### GetDistroVersion - -`func (o *HelmPackageUpload) GetDistroVersion() map[string]interface{}` - -GetDistroVersion returns the DistroVersion field if non-nil, zero value otherwise. - -### GetDistroVersionOk - -`func (o *HelmPackageUpload) GetDistroVersionOk() (*map[string]interface{}, bool)` - -GetDistroVersionOk returns a tuple with the DistroVersion field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetDistroVersion - -`func (o *HelmPackageUpload) SetDistroVersion(v map[string]interface{})` - -SetDistroVersion sets DistroVersion field to given value. - -### HasDistroVersion - -`func (o *HelmPackageUpload) HasDistroVersion() bool` - -HasDistroVersion returns a boolean if a field has been set. - -### GetDownloads - -`func (o *HelmPackageUpload) GetDownloads() int64` - -GetDownloads returns the Downloads field if non-nil, zero value otherwise. - -### GetDownloadsOk - -`func (o *HelmPackageUpload) GetDownloadsOk() (*int64, bool)` - -GetDownloadsOk returns a tuple with the Downloads field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetDownloads - -`func (o *HelmPackageUpload) SetDownloads(v int64)` - -SetDownloads sets Downloads field to given value. - -### HasDownloads - -`func (o *HelmPackageUpload) HasDownloads() bool` - -HasDownloads returns a boolean if a field has been set. - -### GetEpoch - -`func (o *HelmPackageUpload) GetEpoch() int64` - -GetEpoch returns the Epoch field if non-nil, zero value otherwise. - -### GetEpochOk - -`func (o *HelmPackageUpload) GetEpochOk() (*int64, bool)` - -GetEpochOk returns a tuple with the Epoch field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetEpoch - -`func (o *HelmPackageUpload) SetEpoch(v int64)` - -SetEpoch sets Epoch field to given value. - -### HasEpoch - -`func (o *HelmPackageUpload) HasEpoch() bool` - -HasEpoch returns a boolean if a field has been set. - -### GetExtension - -`func (o *HelmPackageUpload) GetExtension() string` - -GetExtension returns the Extension field if non-nil, zero value otherwise. - -### GetExtensionOk - -`func (o *HelmPackageUpload) GetExtensionOk() (*string, bool)` - -GetExtensionOk returns a tuple with the Extension field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetExtension - -`func (o *HelmPackageUpload) SetExtension(v string)` - -SetExtension sets Extension field to given value. - -### HasExtension - -`func (o *HelmPackageUpload) HasExtension() bool` - -HasExtension returns a boolean if a field has been set. - -### GetFilename - -`func (o *HelmPackageUpload) GetFilename() string` - -GetFilename returns the Filename field if non-nil, zero value otherwise. - -### GetFilenameOk - -`func (o *HelmPackageUpload) GetFilenameOk() (*string, bool)` - -GetFilenameOk returns a tuple with the Filename field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetFilename - -`func (o *HelmPackageUpload) SetFilename(v string)` - -SetFilename sets Filename field to given value. - -### HasFilename - -`func (o *HelmPackageUpload) HasFilename() bool` - -HasFilename returns a boolean if a field has been set. - -### GetFiles - -`func (o *HelmPackageUpload) GetFiles() []PackagesOwnerRepoFiles` - -GetFiles returns the Files field if non-nil, zero value otherwise. - -### GetFilesOk - -`func (o *HelmPackageUpload) GetFilesOk() (*[]PackagesOwnerRepoFiles, 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 *HelmPackageUpload) SetFiles(v []PackagesOwnerRepoFiles)` - -SetFiles sets Files field to given value. - -### HasFiles - -`func (o *HelmPackageUpload) HasFiles() bool` - -HasFiles returns a boolean if a field has been set. - -### GetFormat - -`func (o *HelmPackageUpload) GetFormat() string` - -GetFormat returns the Format field if non-nil, zero value otherwise. - -### GetFormatOk - -`func (o *HelmPackageUpload) GetFormatOk() (*string, bool)` - -GetFormatOk returns a tuple with the Format field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetFormat - -`func (o *HelmPackageUpload) SetFormat(v string)` - -SetFormat sets Format field to given value. - -### HasFormat - -`func (o *HelmPackageUpload) HasFormat() bool` - -HasFormat returns a boolean if a field has been set. - -### GetFormatUrl - -`func (o *HelmPackageUpload) GetFormatUrl() string` - -GetFormatUrl returns the FormatUrl field if non-nil, zero value otherwise. - -### GetFormatUrlOk - -`func (o *HelmPackageUpload) GetFormatUrlOk() (*string, bool)` - -GetFormatUrlOk returns a tuple with the FormatUrl field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetFormatUrl - -`func (o *HelmPackageUpload) SetFormatUrl(v string)` - -SetFormatUrl sets FormatUrl field to given value. - -### HasFormatUrl - -`func (o *HelmPackageUpload) HasFormatUrl() bool` - -HasFormatUrl returns a boolean if a field has been set. - -### GetIdentifierPerm - -`func (o *HelmPackageUpload) GetIdentifierPerm() string` - -GetIdentifierPerm returns the IdentifierPerm field if non-nil, zero value otherwise. - -### GetIdentifierPermOk - -`func (o *HelmPackageUpload) GetIdentifierPermOk() (*string, bool)` - -GetIdentifierPermOk returns a tuple with the IdentifierPerm field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetIdentifierPerm - -`func (o *HelmPackageUpload) SetIdentifierPerm(v string)` - -SetIdentifierPerm sets IdentifierPerm field to given value. - -### HasIdentifierPerm - -`func (o *HelmPackageUpload) HasIdentifierPerm() bool` - -HasIdentifierPerm returns a boolean if a field has been set. - -### GetIndexed - -`func (o *HelmPackageUpload) GetIndexed() bool` - -GetIndexed returns the Indexed field if non-nil, zero value otherwise. - -### GetIndexedOk - -`func (o *HelmPackageUpload) GetIndexedOk() (*bool, bool)` - -GetIndexedOk returns a tuple with the Indexed field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetIndexed - -`func (o *HelmPackageUpload) SetIndexed(v bool)` - -SetIndexed sets Indexed field to given value. - -### HasIndexed - -`func (o *HelmPackageUpload) HasIndexed() bool` - -HasIndexed returns a boolean if a field has been set. - -### GetIsDownloadable - -`func (o *HelmPackageUpload) GetIsDownloadable() bool` - -GetIsDownloadable returns the IsDownloadable field if non-nil, zero value otherwise. - -### GetIsDownloadableOk - -`func (o *HelmPackageUpload) GetIsDownloadableOk() (*bool, bool)` - -GetIsDownloadableOk returns a tuple with the IsDownloadable field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetIsDownloadable - -`func (o *HelmPackageUpload) SetIsDownloadable(v bool)` - -SetIsDownloadable sets IsDownloadable field to given value. - -### HasIsDownloadable - -`func (o *HelmPackageUpload) HasIsDownloadable() bool` - -HasIsDownloadable returns a boolean if a field has been set. - -### GetIsQuarantined - -`func (o *HelmPackageUpload) GetIsQuarantined() bool` - -GetIsQuarantined returns the IsQuarantined field if non-nil, zero value otherwise. - -### GetIsQuarantinedOk - -`func (o *HelmPackageUpload) GetIsQuarantinedOk() (*bool, bool)` - -GetIsQuarantinedOk returns a tuple with the IsQuarantined field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetIsQuarantined - -`func (o *HelmPackageUpload) SetIsQuarantined(v bool)` - -SetIsQuarantined sets IsQuarantined field to given value. - -### HasIsQuarantined - -`func (o *HelmPackageUpload) HasIsQuarantined() bool` - -HasIsQuarantined returns a boolean if a field has been set. - -### GetIsSyncAwaiting - -`func (o *HelmPackageUpload) GetIsSyncAwaiting() bool` - -GetIsSyncAwaiting returns the IsSyncAwaiting field if non-nil, zero value otherwise. - -### GetIsSyncAwaitingOk - -`func (o *HelmPackageUpload) GetIsSyncAwaitingOk() (*bool, bool)` - -GetIsSyncAwaitingOk returns a tuple with the IsSyncAwaiting field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetIsSyncAwaiting - -`func (o *HelmPackageUpload) SetIsSyncAwaiting(v bool)` - -SetIsSyncAwaiting sets IsSyncAwaiting field to given value. - -### HasIsSyncAwaiting - -`func (o *HelmPackageUpload) HasIsSyncAwaiting() bool` - -HasIsSyncAwaiting returns a boolean if a field has been set. - -### GetIsSyncCompleted - -`func (o *HelmPackageUpload) GetIsSyncCompleted() bool` - -GetIsSyncCompleted returns the IsSyncCompleted field if non-nil, zero value otherwise. - -### GetIsSyncCompletedOk - -`func (o *HelmPackageUpload) GetIsSyncCompletedOk() (*bool, bool)` - -GetIsSyncCompletedOk returns a tuple with the IsSyncCompleted field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetIsSyncCompleted - -`func (o *HelmPackageUpload) SetIsSyncCompleted(v bool)` - -SetIsSyncCompleted sets IsSyncCompleted field to given value. - -### HasIsSyncCompleted - -`func (o *HelmPackageUpload) HasIsSyncCompleted() bool` - -HasIsSyncCompleted returns a boolean if a field has been set. - -### GetIsSyncFailed - -`func (o *HelmPackageUpload) GetIsSyncFailed() bool` - -GetIsSyncFailed returns the IsSyncFailed field if non-nil, zero value otherwise. - -### GetIsSyncFailedOk - -`func (o *HelmPackageUpload) GetIsSyncFailedOk() (*bool, bool)` - -GetIsSyncFailedOk returns a tuple with the IsSyncFailed field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetIsSyncFailed - -`func (o *HelmPackageUpload) SetIsSyncFailed(v bool)` - -SetIsSyncFailed sets IsSyncFailed field to given value. - -### HasIsSyncFailed - -`func (o *HelmPackageUpload) HasIsSyncFailed() bool` - -HasIsSyncFailed returns a boolean if a field has been set. - -### GetIsSyncInFlight - -`func (o *HelmPackageUpload) GetIsSyncInFlight() bool` - -GetIsSyncInFlight returns the IsSyncInFlight field if non-nil, zero value otherwise. - -### GetIsSyncInFlightOk - -`func (o *HelmPackageUpload) GetIsSyncInFlightOk() (*bool, bool)` - -GetIsSyncInFlightOk returns a tuple with the IsSyncInFlight field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetIsSyncInFlight - -`func (o *HelmPackageUpload) SetIsSyncInFlight(v bool)` - -SetIsSyncInFlight sets IsSyncInFlight field to given value. - -### HasIsSyncInFlight - -`func (o *HelmPackageUpload) HasIsSyncInFlight() bool` - -HasIsSyncInFlight returns a boolean if a field has been set. - -### GetIsSyncInProgress - -`func (o *HelmPackageUpload) GetIsSyncInProgress() bool` - -GetIsSyncInProgress returns the IsSyncInProgress field if non-nil, zero value otherwise. - -### GetIsSyncInProgressOk - -`func (o *HelmPackageUpload) GetIsSyncInProgressOk() (*bool, bool)` - -GetIsSyncInProgressOk returns a tuple with the IsSyncInProgress field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetIsSyncInProgress - -`func (o *HelmPackageUpload) SetIsSyncInProgress(v bool)` - -SetIsSyncInProgress sets IsSyncInProgress field to given value. - -### HasIsSyncInProgress - -`func (o *HelmPackageUpload) HasIsSyncInProgress() bool` - -HasIsSyncInProgress returns a boolean if a field has been set. - -### GetLicense - -`func (o *HelmPackageUpload) GetLicense() string` - -GetLicense returns the License field if non-nil, zero value otherwise. - -### GetLicenseOk - -`func (o *HelmPackageUpload) GetLicenseOk() (*string, bool)` - -GetLicenseOk returns a tuple with the License field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetLicense - -`func (o *HelmPackageUpload) SetLicense(v string)` - -SetLicense sets License field to given value. - -### HasLicense - -`func (o *HelmPackageUpload) HasLicense() bool` - -HasLicense returns a boolean if a field has been set. - -### GetName - -`func (o *HelmPackageUpload) GetName() string` - -GetName returns the Name field if non-nil, zero value otherwise. - -### GetNameOk - -`func (o *HelmPackageUpload) GetNameOk() (*string, bool)` - -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. - -### SetName - -`func (o *HelmPackageUpload) SetName(v string)` - -SetName sets Name field to given value. - -### HasName - -`func (o *HelmPackageUpload) HasName() bool` - -HasName returns a boolean if a field has been set. - -### GetNamespace - -`func (o *HelmPackageUpload) GetNamespace() string` - -GetNamespace returns the Namespace field if non-nil, zero value otherwise. - -### GetNamespaceOk - -`func (o *HelmPackageUpload) GetNamespaceOk() (*string, bool)` - -GetNamespaceOk returns a tuple with the Namespace field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetNamespace - -`func (o *HelmPackageUpload) SetNamespace(v string)` - -SetNamespace sets Namespace field to given value. - -### HasNamespace - -`func (o *HelmPackageUpload) HasNamespace() bool` - -HasNamespace returns a boolean if a field has been set. - -### GetNamespaceUrl - -`func (o *HelmPackageUpload) GetNamespaceUrl() string` - -GetNamespaceUrl returns the NamespaceUrl field if non-nil, zero value otherwise. - -### GetNamespaceUrlOk - -`func (o *HelmPackageUpload) GetNamespaceUrlOk() (*string, bool)` - -GetNamespaceUrlOk returns a tuple with the NamespaceUrl field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetNamespaceUrl - -`func (o *HelmPackageUpload) SetNamespaceUrl(v string)` - -SetNamespaceUrl sets NamespaceUrl field to given value. - -### HasNamespaceUrl - -`func (o *HelmPackageUpload) HasNamespaceUrl() bool` - -HasNamespaceUrl returns a boolean if a field has been set. - -### GetNumFiles - -`func (o *HelmPackageUpload) GetNumFiles() int64` - -GetNumFiles returns the NumFiles field if non-nil, zero value otherwise. - -### GetNumFilesOk - -`func (o *HelmPackageUpload) GetNumFilesOk() (*int64, bool)` - -GetNumFilesOk returns a tuple with the NumFiles field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetNumFiles - -`func (o *HelmPackageUpload) SetNumFiles(v int64)` - -SetNumFiles sets NumFiles field to given value. - -### HasNumFiles - -`func (o *HelmPackageUpload) HasNumFiles() bool` - -HasNumFiles returns a boolean if a field has been set. - -### GetPackageType - -`func (o *HelmPackageUpload) GetPackageType() int64` - -GetPackageType returns the PackageType field if non-nil, zero value otherwise. - -### GetPackageTypeOk - -`func (o *HelmPackageUpload) GetPackageTypeOk() (*int64, bool)` - -GetPackageTypeOk returns a tuple with the PackageType field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetPackageType - -`func (o *HelmPackageUpload) SetPackageType(v int64)` - -SetPackageType sets PackageType field to given value. - -### HasPackageType - -`func (o *HelmPackageUpload) HasPackageType() bool` - -HasPackageType returns a boolean if a field has been set. - -### GetRelease - -`func (o *HelmPackageUpload) GetRelease() string` - -GetRelease returns the Release field if non-nil, zero value otherwise. - -### GetReleaseOk - -`func (o *HelmPackageUpload) GetReleaseOk() (*string, bool)` - -GetReleaseOk returns a tuple with the Release field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetRelease - -`func (o *HelmPackageUpload) SetRelease(v string)` - -SetRelease sets Release field to given value. - -### HasRelease - -`func (o *HelmPackageUpload) HasRelease() bool` - -HasRelease returns a boolean if a field has been set. - -### GetRepository - -`func (o *HelmPackageUpload) GetRepository() string` - -GetRepository returns the Repository field if non-nil, zero value otherwise. - -### GetRepositoryOk - -`func (o *HelmPackageUpload) GetRepositoryOk() (*string, bool)` - -GetRepositoryOk returns a tuple with the Repository field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetRepository - -`func (o *HelmPackageUpload) SetRepository(v string)` - -SetRepository sets Repository field to given value. - -### HasRepository - -`func (o *HelmPackageUpload) HasRepository() bool` - -HasRepository returns a boolean if a field has been set. - -### GetRepositoryUrl - -`func (o *HelmPackageUpload) GetRepositoryUrl() string` - -GetRepositoryUrl returns the RepositoryUrl field if non-nil, zero value otherwise. - -### GetRepositoryUrlOk - -`func (o *HelmPackageUpload) GetRepositoryUrlOk() (*string, bool)` - -GetRepositoryUrlOk returns a tuple with the RepositoryUrl field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetRepositoryUrl - -`func (o *HelmPackageUpload) SetRepositoryUrl(v string)` - -SetRepositoryUrl sets RepositoryUrl field to given value. - -### HasRepositoryUrl - -`func (o *HelmPackageUpload) HasRepositoryUrl() bool` - -HasRepositoryUrl returns a boolean if a field has been set. - -### GetSecurityScanCompletedAt - -`func (o *HelmPackageUpload) GetSecurityScanCompletedAt() string` - -GetSecurityScanCompletedAt returns the SecurityScanCompletedAt field if non-nil, zero value otherwise. - -### GetSecurityScanCompletedAtOk - -`func (o *HelmPackageUpload) GetSecurityScanCompletedAtOk() (*string, bool)` - -GetSecurityScanCompletedAtOk returns a tuple with the SecurityScanCompletedAt field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetSecurityScanCompletedAt - -`func (o *HelmPackageUpload) SetSecurityScanCompletedAt(v string)` - -SetSecurityScanCompletedAt sets SecurityScanCompletedAt field to given value. - -### HasSecurityScanCompletedAt - -`func (o *HelmPackageUpload) HasSecurityScanCompletedAt() bool` - -HasSecurityScanCompletedAt returns a boolean if a field has been set. - -### GetSecurityScanStartedAt - -`func (o *HelmPackageUpload) GetSecurityScanStartedAt() string` - -GetSecurityScanStartedAt returns the SecurityScanStartedAt field if non-nil, zero value otherwise. - -### GetSecurityScanStartedAtOk - -`func (o *HelmPackageUpload) GetSecurityScanStartedAtOk() (*string, bool)` - -GetSecurityScanStartedAtOk returns a tuple with the SecurityScanStartedAt field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetSecurityScanStartedAt - -`func (o *HelmPackageUpload) SetSecurityScanStartedAt(v string)` - -SetSecurityScanStartedAt sets SecurityScanStartedAt field to given value. - -### HasSecurityScanStartedAt - -`func (o *HelmPackageUpload) HasSecurityScanStartedAt() bool` - -HasSecurityScanStartedAt returns a boolean if a field has been set. - -### GetSecurityScanStatus - -`func (o *HelmPackageUpload) GetSecurityScanStatus() string` - -GetSecurityScanStatus returns the SecurityScanStatus field if non-nil, zero value otherwise. - -### GetSecurityScanStatusOk - -`func (o *HelmPackageUpload) GetSecurityScanStatusOk() (*string, bool)` - -GetSecurityScanStatusOk returns a tuple with the SecurityScanStatus field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetSecurityScanStatus - -`func (o *HelmPackageUpload) SetSecurityScanStatus(v string)` - -SetSecurityScanStatus sets SecurityScanStatus field to given value. - -### HasSecurityScanStatus - -`func (o *HelmPackageUpload) HasSecurityScanStatus() bool` - -HasSecurityScanStatus returns a boolean if a field has been set. - -### GetSecurityScanStatusUpdatedAt - -`func (o *HelmPackageUpload) GetSecurityScanStatusUpdatedAt() string` - -GetSecurityScanStatusUpdatedAt returns the SecurityScanStatusUpdatedAt field if non-nil, zero value otherwise. - -### GetSecurityScanStatusUpdatedAtOk - -`func (o *HelmPackageUpload) GetSecurityScanStatusUpdatedAtOk() (*string, bool)` - -GetSecurityScanStatusUpdatedAtOk returns a tuple with the SecurityScanStatusUpdatedAt field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetSecurityScanStatusUpdatedAt - -`func (o *HelmPackageUpload) SetSecurityScanStatusUpdatedAt(v string)` - -SetSecurityScanStatusUpdatedAt sets SecurityScanStatusUpdatedAt field to given value. - -### HasSecurityScanStatusUpdatedAt - -`func (o *HelmPackageUpload) HasSecurityScanStatusUpdatedAt() bool` - -HasSecurityScanStatusUpdatedAt returns a boolean if a field has been set. - -### GetSelfHtmlUrl - -`func (o *HelmPackageUpload) GetSelfHtmlUrl() string` - -GetSelfHtmlUrl returns the SelfHtmlUrl field if non-nil, zero value otherwise. - -### GetSelfHtmlUrlOk - -`func (o *HelmPackageUpload) GetSelfHtmlUrlOk() (*string, bool)` - -GetSelfHtmlUrlOk returns a tuple with the SelfHtmlUrl field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetSelfHtmlUrl - -`func (o *HelmPackageUpload) SetSelfHtmlUrl(v string)` - -SetSelfHtmlUrl sets SelfHtmlUrl field to given value. - -### HasSelfHtmlUrl - -`func (o *HelmPackageUpload) HasSelfHtmlUrl() bool` - -HasSelfHtmlUrl returns a boolean if a field has been set. - -### GetSelfUrl - -`func (o *HelmPackageUpload) GetSelfUrl() string` - -GetSelfUrl returns the SelfUrl field if non-nil, zero value otherwise. - -### GetSelfUrlOk - -`func (o *HelmPackageUpload) GetSelfUrlOk() (*string, bool)` - -GetSelfUrlOk returns a tuple with the SelfUrl field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetSelfUrl - -`func (o *HelmPackageUpload) SetSelfUrl(v string)` - -SetSelfUrl sets SelfUrl field to given value. - -### HasSelfUrl - -`func (o *HelmPackageUpload) HasSelfUrl() bool` - -HasSelfUrl returns a boolean if a field has been set. - -### GetSignatureUrl - -`func (o *HelmPackageUpload) GetSignatureUrl() string` - -GetSignatureUrl returns the SignatureUrl field if non-nil, zero value otherwise. - -### GetSignatureUrlOk - -`func (o *HelmPackageUpload) GetSignatureUrlOk() (*string, bool)` - -GetSignatureUrlOk returns a tuple with the SignatureUrl field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetSignatureUrl - -`func (o *HelmPackageUpload) SetSignatureUrl(v string)` - -SetSignatureUrl sets SignatureUrl field to given value. - -### HasSignatureUrl - -`func (o *HelmPackageUpload) HasSignatureUrl() bool` - -HasSignatureUrl returns a boolean if a field has been set. - -### GetSize - -`func (o *HelmPackageUpload) GetSize() int64` - -GetSize returns the Size field if non-nil, zero value otherwise. - -### GetSizeOk - -`func (o *HelmPackageUpload) GetSizeOk() (*int64, bool)` - -GetSizeOk returns a tuple with the Size field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetSize - -`func (o *HelmPackageUpload) SetSize(v int64)` - -SetSize sets Size field to given value. - -### HasSize - -`func (o *HelmPackageUpload) HasSize() bool` - -HasSize returns a boolean if a field has been set. - -### GetSlug - -`func (o *HelmPackageUpload) GetSlug() string` - -GetSlug returns the Slug field if non-nil, zero value otherwise. - -### GetSlugOk - -`func (o *HelmPackageUpload) GetSlugOk() (*string, bool)` - -GetSlugOk returns a tuple with the Slug field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetSlug - -`func (o *HelmPackageUpload) SetSlug(v string)` - -SetSlug sets Slug field to given value. - -### HasSlug - -`func (o *HelmPackageUpload) HasSlug() bool` - -HasSlug returns a boolean if a field has been set. - -### GetSlugPerm - -`func (o *HelmPackageUpload) GetSlugPerm() string` - -GetSlugPerm returns the SlugPerm field if non-nil, zero value otherwise. - -### GetSlugPermOk - -`func (o *HelmPackageUpload) GetSlugPermOk() (*string, bool)` - -GetSlugPermOk returns a tuple with the SlugPerm field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetSlugPerm - -`func (o *HelmPackageUpload) SetSlugPerm(v string)` - -SetSlugPerm sets SlugPerm field to given value. - -### HasSlugPerm - -`func (o *HelmPackageUpload) HasSlugPerm() bool` - -HasSlugPerm returns a boolean if a field has been set. - -### GetStage - -`func (o *HelmPackageUpload) GetStage() int64` - -GetStage returns the Stage field if non-nil, zero value otherwise. - -### GetStageOk - -`func (o *HelmPackageUpload) GetStageOk() (*int64, bool)` - -GetStageOk returns a tuple with the Stage field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetStage - -`func (o *HelmPackageUpload) SetStage(v int64)` - -SetStage sets Stage field to given value. - -### HasStage - -`func (o *HelmPackageUpload) HasStage() bool` - -HasStage returns a boolean if a field has been set. - -### GetStageStr - -`func (o *HelmPackageUpload) GetStageStr() string` - -GetStageStr returns the StageStr field if non-nil, zero value otherwise. - -### GetStageStrOk - -`func (o *HelmPackageUpload) GetStageStrOk() (*string, bool)` - -GetStageStrOk returns a tuple with the StageStr field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetStageStr - -`func (o *HelmPackageUpload) SetStageStr(v string)` - -SetStageStr sets StageStr field to given value. - -### HasStageStr - -`func (o *HelmPackageUpload) HasStageStr() bool` - -HasStageStr returns a boolean if a field has been set. - -### GetStageUpdatedAt - -`func (o *HelmPackageUpload) GetStageUpdatedAt() string` - -GetStageUpdatedAt returns the StageUpdatedAt field if non-nil, zero value otherwise. - -### GetStageUpdatedAtOk - -`func (o *HelmPackageUpload) GetStageUpdatedAtOk() (*string, bool)` - -GetStageUpdatedAtOk returns a tuple with the StageUpdatedAt field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetStageUpdatedAt - -`func (o *HelmPackageUpload) SetStageUpdatedAt(v string)` - -SetStageUpdatedAt sets StageUpdatedAt field to given value. - -### HasStageUpdatedAt - -`func (o *HelmPackageUpload) HasStageUpdatedAt() bool` - -HasStageUpdatedAt returns a boolean if a field has been set. - -### GetStatus - -`func (o *HelmPackageUpload) GetStatus() int64` - -GetStatus returns the Status field if non-nil, zero value otherwise. - -### GetStatusOk - -`func (o *HelmPackageUpload) GetStatusOk() (*int64, bool)` - -GetStatusOk returns a tuple with the Status field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetStatus - -`func (o *HelmPackageUpload) SetStatus(v int64)` - -SetStatus sets Status field to given value. - -### HasStatus - -`func (o *HelmPackageUpload) HasStatus() bool` - -HasStatus returns a boolean if a field has been set. - -### GetStatusReason - -`func (o *HelmPackageUpload) GetStatusReason() string` - -GetStatusReason returns the StatusReason field if non-nil, zero value otherwise. - -### GetStatusReasonOk - -`func (o *HelmPackageUpload) GetStatusReasonOk() (*string, bool)` - -GetStatusReasonOk returns a tuple with the StatusReason field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetStatusReason - -`func (o *HelmPackageUpload) SetStatusReason(v string)` - -SetStatusReason sets StatusReason field to given value. - -### HasStatusReason - -`func (o *HelmPackageUpload) HasStatusReason() bool` - -HasStatusReason returns a boolean if a field has been set. - -### GetStatusStr - -`func (o *HelmPackageUpload) GetStatusStr() string` - -GetStatusStr returns the StatusStr field if non-nil, zero value otherwise. - -### GetStatusStrOk - -`func (o *HelmPackageUpload) GetStatusStrOk() (*string, bool)` - -GetStatusStrOk returns a tuple with the StatusStr field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetStatusStr - -`func (o *HelmPackageUpload) SetStatusStr(v string)` - -SetStatusStr sets StatusStr field to given value. - -### HasStatusStr - -`func (o *HelmPackageUpload) HasStatusStr() bool` - -HasStatusStr returns a boolean if a field has been set. - -### GetStatusUpdatedAt - -`func (o *HelmPackageUpload) GetStatusUpdatedAt() string` - -GetStatusUpdatedAt returns the StatusUpdatedAt field if non-nil, zero value otherwise. - -### GetStatusUpdatedAtOk - -`func (o *HelmPackageUpload) GetStatusUpdatedAtOk() (*string, bool)` - -GetStatusUpdatedAtOk returns a tuple with the StatusUpdatedAt field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetStatusUpdatedAt - -`func (o *HelmPackageUpload) SetStatusUpdatedAt(v string)` - -SetStatusUpdatedAt sets StatusUpdatedAt field to given value. - -### HasStatusUpdatedAt - -`func (o *HelmPackageUpload) HasStatusUpdatedAt() bool` - -HasStatusUpdatedAt returns a boolean if a field has been set. - -### GetStatusUrl - -`func (o *HelmPackageUpload) GetStatusUrl() string` - -GetStatusUrl returns the StatusUrl field if non-nil, zero value otherwise. - -### GetStatusUrlOk - -`func (o *HelmPackageUpload) GetStatusUrlOk() (*string, bool)` - -GetStatusUrlOk returns a tuple with the StatusUrl field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetStatusUrl - -`func (o *HelmPackageUpload) SetStatusUrl(v string)` - -SetStatusUrl sets StatusUrl field to given value. - -### HasStatusUrl - -`func (o *HelmPackageUpload) HasStatusUrl() bool` - -HasStatusUrl returns a boolean if a field has been set. - -### GetSubtype - -`func (o *HelmPackageUpload) GetSubtype() string` - -GetSubtype returns the Subtype field if non-nil, zero value otherwise. - -### GetSubtypeOk - -`func (o *HelmPackageUpload) GetSubtypeOk() (*string, bool)` - -GetSubtypeOk returns a tuple with the Subtype field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetSubtype - -`func (o *HelmPackageUpload) SetSubtype(v string)` - -SetSubtype sets Subtype field to given value. - -### HasSubtype - -`func (o *HelmPackageUpload) HasSubtype() bool` - -HasSubtype returns a boolean if a field has been set. - -### GetSummary - -`func (o *HelmPackageUpload) GetSummary() string` - -GetSummary returns the Summary field if non-nil, zero value otherwise. - -### GetSummaryOk - -`func (o *HelmPackageUpload) GetSummaryOk() (*string, bool)` - -GetSummaryOk returns a tuple with the Summary field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetSummary - -`func (o *HelmPackageUpload) SetSummary(v string)` - -SetSummary sets Summary field to given value. - -### HasSummary - -`func (o *HelmPackageUpload) HasSummary() bool` - -HasSummary returns a boolean if a field has been set. - -### GetSyncFinishedAt - -`func (o *HelmPackageUpload) GetSyncFinishedAt() string` - -GetSyncFinishedAt returns the SyncFinishedAt field if non-nil, zero value otherwise. - -### GetSyncFinishedAtOk - -`func (o *HelmPackageUpload) GetSyncFinishedAtOk() (*string, bool)` - -GetSyncFinishedAtOk returns a tuple with the SyncFinishedAt field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetSyncFinishedAt - -`func (o *HelmPackageUpload) SetSyncFinishedAt(v string)` - -SetSyncFinishedAt sets SyncFinishedAt field to given value. - -### HasSyncFinishedAt - -`func (o *HelmPackageUpload) HasSyncFinishedAt() bool` - -HasSyncFinishedAt returns a boolean if a field has been set. - -### GetSyncProgress - -`func (o *HelmPackageUpload) GetSyncProgress() int64` - -GetSyncProgress returns the SyncProgress field if non-nil, zero value otherwise. - -### GetSyncProgressOk - -`func (o *HelmPackageUpload) GetSyncProgressOk() (*int64, bool)` - -GetSyncProgressOk returns a tuple with the SyncProgress field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetSyncProgress - -`func (o *HelmPackageUpload) SetSyncProgress(v int64)` - -SetSyncProgress sets SyncProgress field to given value. - -### HasSyncProgress - -`func (o *HelmPackageUpload) HasSyncProgress() bool` - -HasSyncProgress returns a boolean if a field has been set. - -### GetTagsImmutable - -`func (o *HelmPackageUpload) GetTagsImmutable() map[string]interface{}` - -GetTagsImmutable returns the TagsImmutable field if non-nil, zero value otherwise. - -### GetTagsImmutableOk - -`func (o *HelmPackageUpload) GetTagsImmutableOk() (*map[string]interface{}, bool)` - -GetTagsImmutableOk returns a tuple with the TagsImmutable field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetTagsImmutable - -`func (o *HelmPackageUpload) SetTagsImmutable(v map[string]interface{})` - -SetTagsImmutable sets TagsImmutable field to given value. - -### HasTagsImmutable - -`func (o *HelmPackageUpload) HasTagsImmutable() bool` - -HasTagsImmutable returns a boolean if a field has been set. - -### GetTypeDisplay - -`func (o *HelmPackageUpload) GetTypeDisplay() string` - -GetTypeDisplay returns the TypeDisplay field if non-nil, zero value otherwise. - -### GetTypeDisplayOk - -`func (o *HelmPackageUpload) GetTypeDisplayOk() (*string, bool)` - -GetTypeDisplayOk returns a tuple with the TypeDisplay field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetTypeDisplay - -`func (o *HelmPackageUpload) SetTypeDisplay(v string)` - -SetTypeDisplay sets TypeDisplay field to given value. - -### HasTypeDisplay - -`func (o *HelmPackageUpload) HasTypeDisplay() bool` - -HasTypeDisplay returns a boolean if a field has been set. - -### GetUploadedAt - -`func (o *HelmPackageUpload) GetUploadedAt() string` - -GetUploadedAt returns the UploadedAt field if non-nil, zero value otherwise. - -### GetUploadedAtOk - -`func (o *HelmPackageUpload) GetUploadedAtOk() (*string, bool)` - -GetUploadedAtOk returns a tuple with the UploadedAt field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetUploadedAt - -`func (o *HelmPackageUpload) SetUploadedAt(v string)` - -SetUploadedAt sets UploadedAt field to given value. - -### HasUploadedAt - -`func (o *HelmPackageUpload) HasUploadedAt() bool` - -HasUploadedAt returns a boolean if a field has been set. - -### GetUploader - -`func (o *HelmPackageUpload) GetUploader() string` - -GetUploader returns the Uploader field if non-nil, zero value otherwise. - -### GetUploaderOk - -`func (o *HelmPackageUpload) GetUploaderOk() (*string, bool)` - -GetUploaderOk returns a tuple with the Uploader field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetUploader - -`func (o *HelmPackageUpload) SetUploader(v string)` - -SetUploader sets Uploader field to given value. - -### HasUploader - -`func (o *HelmPackageUpload) HasUploader() bool` - -HasUploader returns a boolean if a field has been set. - -### GetUploaderUrl - -`func (o *HelmPackageUpload) GetUploaderUrl() string` - -GetUploaderUrl returns the UploaderUrl field if non-nil, zero value otherwise. - -### GetUploaderUrlOk - -`func (o *HelmPackageUpload) GetUploaderUrlOk() (*string, bool)` - -GetUploaderUrlOk returns a tuple with the UploaderUrl field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetUploaderUrl - -`func (o *HelmPackageUpload) SetUploaderUrl(v string)` - -SetUploaderUrl sets UploaderUrl field to given value. - -### HasUploaderUrl - -`func (o *HelmPackageUpload) HasUploaderUrl() bool` - -HasUploaderUrl returns a boolean if a field has been set. - -### GetVersion - -`func (o *HelmPackageUpload) GetVersion() string` - -GetVersion returns the Version field if non-nil, zero value otherwise. - -### GetVersionOk - -`func (o *HelmPackageUpload) GetVersionOk() (*string, bool)` - -GetVersionOk returns a tuple with the Version field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetVersion - -`func (o *HelmPackageUpload) SetVersion(v string)` - -SetVersion sets Version field to given value. - -### HasVersion - -`func (o *HelmPackageUpload) HasVersion() bool` - -HasVersion returns a boolean if a field has been set. - -### GetVersionOrig - -`func (o *HelmPackageUpload) GetVersionOrig() string` - -GetVersionOrig returns the VersionOrig field if non-nil, zero value otherwise. - -### GetVersionOrigOk - -`func (o *HelmPackageUpload) GetVersionOrigOk() (*string, bool)` - -GetVersionOrigOk returns a tuple with the VersionOrig field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetVersionOrig - -`func (o *HelmPackageUpload) SetVersionOrig(v string)` - -SetVersionOrig sets VersionOrig field to given value. - -### HasVersionOrig - -`func (o *HelmPackageUpload) HasVersionOrig() bool` - -HasVersionOrig returns a boolean if a field has been set. - -### GetVulnerabilityScanResultsUrl - -`func (o *HelmPackageUpload) GetVulnerabilityScanResultsUrl() string` - -GetVulnerabilityScanResultsUrl returns the VulnerabilityScanResultsUrl field if non-nil, zero value otherwise. - -### GetVulnerabilityScanResultsUrlOk - -`func (o *HelmPackageUpload) GetVulnerabilityScanResultsUrlOk() (*string, bool)` - -GetVulnerabilityScanResultsUrlOk returns a tuple with the VulnerabilityScanResultsUrl field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetVulnerabilityScanResultsUrl - -`func (o *HelmPackageUpload) SetVulnerabilityScanResultsUrl(v string)` - -SetVulnerabilityScanResultsUrl sets VulnerabilityScanResultsUrl field to given value. - -### HasVulnerabilityScanResultsUrl - -`func (o *HelmPackageUpload) HasVulnerabilityScanResultsUrl() bool` - -HasVulnerabilityScanResultsUrl 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/docs/PackagesValidateUploadDocker.md b/docs/HelmPackageUploadRequest.md similarity index 58% rename from docs/PackagesValidateUploadDocker.md rename to docs/HelmPackageUploadRequest.md index dd9e52c4..ca36d717 100644 --- a/docs/PackagesValidateUploadDocker.md +++ b/docs/HelmPackageUploadRequest.md @@ -1,4 +1,4 @@ -# PackagesValidateUploadDocker +# HelmPackageUploadRequest ## Properties @@ -6,97 +6,107 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **PackageFile** | **string** | The primary file for the package. | **Republish** | Pointer to **bool** | If true, the uploaded package will overwrite any others with the same attributes (e.g. same version); otherwise, it will be flagged as a duplicate. | [optional] -**Tags** | Pointer to **string** | A comma-separated values list of tags to add to the package. | [optional] +**Tags** | Pointer to **NullableString** | A comma-separated values list of tags to add to the package. | [optional] ## Methods -### NewPackagesValidateUploadDocker +### NewHelmPackageUploadRequest -`func NewPackagesValidateUploadDocker(packageFile string, ) *PackagesValidateUploadDocker` +`func NewHelmPackageUploadRequest(packageFile string, ) *HelmPackageUploadRequest` -NewPackagesValidateUploadDocker instantiates a new PackagesValidateUploadDocker object +NewHelmPackageUploadRequest instantiates a new HelmPackageUploadRequest object 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 -### NewPackagesValidateUploadDockerWithDefaults +### NewHelmPackageUploadRequestWithDefaults -`func NewPackagesValidateUploadDockerWithDefaults() *PackagesValidateUploadDocker` +`func NewHelmPackageUploadRequestWithDefaults() *HelmPackageUploadRequest` -NewPackagesValidateUploadDockerWithDefaults instantiates a new PackagesValidateUploadDocker object +NewHelmPackageUploadRequestWithDefaults instantiates a new HelmPackageUploadRequest object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set ### GetPackageFile -`func (o *PackagesValidateUploadDocker) GetPackageFile() string` +`func (o *HelmPackageUploadRequest) GetPackageFile() string` GetPackageFile returns the PackageFile field if non-nil, zero value otherwise. ### GetPackageFileOk -`func (o *PackagesValidateUploadDocker) GetPackageFileOk() (*string, bool)` +`func (o *HelmPackageUploadRequest) GetPackageFileOk() (*string, bool)` GetPackageFileOk returns a tuple with the PackageFile field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetPackageFile -`func (o *PackagesValidateUploadDocker) SetPackageFile(v string)` +`func (o *HelmPackageUploadRequest) SetPackageFile(v string)` SetPackageFile sets PackageFile field to given value. ### GetRepublish -`func (o *PackagesValidateUploadDocker) GetRepublish() bool` +`func (o *HelmPackageUploadRequest) GetRepublish() bool` GetRepublish returns the Republish field if non-nil, zero value otherwise. ### GetRepublishOk -`func (o *PackagesValidateUploadDocker) GetRepublishOk() (*bool, bool)` +`func (o *HelmPackageUploadRequest) GetRepublishOk() (*bool, bool)` GetRepublishOk returns a tuple with the Republish field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetRepublish -`func (o *PackagesValidateUploadDocker) SetRepublish(v bool)` +`func (o *HelmPackageUploadRequest) SetRepublish(v bool)` SetRepublish sets Republish field to given value. ### HasRepublish -`func (o *PackagesValidateUploadDocker) HasRepublish() bool` +`func (o *HelmPackageUploadRequest) HasRepublish() bool` HasRepublish returns a boolean if a field has been set. ### GetTags -`func (o *PackagesValidateUploadDocker) GetTags() string` +`func (o *HelmPackageUploadRequest) GetTags() string` GetTags returns the Tags field if non-nil, zero value otherwise. ### GetTagsOk -`func (o *PackagesValidateUploadDocker) GetTagsOk() (*string, bool)` +`func (o *HelmPackageUploadRequest) GetTagsOk() (*string, bool)` GetTagsOk returns a tuple with the Tags field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetTags -`func (o *PackagesValidateUploadDocker) SetTags(v string)` +`func (o *HelmPackageUploadRequest) SetTags(v string)` SetTags sets Tags field to given value. ### HasTags -`func (o *PackagesValidateUploadDocker) HasTags() bool` +`func (o *HelmPackageUploadRequest) HasTags() bool` HasTags returns a boolean if a field has been set. +### SetTagsNil + +`func (o *HelmPackageUploadRequest) SetTagsNil(b bool)` + + SetTagsNil sets the value for Tags to be an explicit nil + +### UnsetTags +`func (o *HelmPackageUploadRequest) UnsetTags()` + +UnsetTags ensures that no value is present for Tags, 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/docs/HelmPackageUploadResponse.md b/docs/HelmPackageUploadResponse.md new file mode 100644 index 00000000..b96b5ccc --- /dev/null +++ b/docs/HelmPackageUploadResponse.md @@ -0,0 +1,1838 @@ +# HelmPackageUploadResponse + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Architectures** | Pointer to [**[]Architecture**](Architecture.md) | | [optional] [readonly] +**CdnUrl** | Pointer to **NullableString** | | [optional] [readonly] +**ChecksumMd5** | Pointer to **string** | | [optional] [readonly] +**ChecksumSha1** | Pointer to **string** | | [optional] [readonly] +**ChecksumSha256** | Pointer to **string** | | [optional] [readonly] +**ChecksumSha512** | Pointer to **string** | | [optional] [readonly] +**DependenciesChecksumMd5** | Pointer to **string** | A checksum of all of the package's dependencies. | [optional] [readonly] +**DependenciesUrl** | Pointer to **string** | | [optional] [readonly] +**Description** | Pointer to **string** | A textual description of this package. | [optional] [readonly] +**Distro** | Pointer to [**NullableDistribution**](Distribution.md) | | [optional] +**DistroVersion** | Pointer to [**DistributionVersion**](DistributionVersion.md) | | [optional] +**Downloads** | Pointer to **int64** | | [optional] [readonly] +**Epoch** | Pointer to **int64** | The epoch of the package version (if any). | [optional] [readonly] +**Extension** | Pointer to **string** | | [optional] [readonly] +**Filename** | Pointer to **string** | | [optional] [readonly] +**Files** | Pointer to [**[]PackageFile**](PackageFile.md) | | [optional] [readonly] +**Format** | Pointer to **string** | | [optional] [readonly] +**FormatUrl** | Pointer to **string** | | [optional] [readonly] +**IdentifierPerm** | Pointer to **string** | Unique and permanent identifier for the package. | [optional] [readonly] +**Indexed** | Pointer to **bool** | | [optional] [readonly] +**IsDownloadable** | Pointer to **bool** | | [optional] [readonly] +**IsQuarantined** | Pointer to **bool** | | [optional] [readonly] +**IsSyncAwaiting** | Pointer to **bool** | | [optional] [readonly] +**IsSyncCompleted** | Pointer to **bool** | | [optional] [readonly] +**IsSyncFailed** | Pointer to **bool** | | [optional] [readonly] +**IsSyncInFlight** | Pointer to **bool** | | [optional] [readonly] +**IsSyncInProgress** | Pointer to **bool** | | [optional] [readonly] +**License** | Pointer to **string** | The license of this package. | [optional] [readonly] +**Name** | Pointer to **string** | The name of this package. | [optional] [readonly] +**Namespace** | Pointer to **string** | | [optional] [readonly] +**NamespaceUrl** | Pointer to **string** | | [optional] [readonly] +**NumFiles** | Pointer to **int64** | | [optional] [readonly] +**OriginRepository** | Pointer to **string** | | [optional] [readonly] +**OriginRepositoryUrl** | Pointer to **string** | | [optional] [readonly] +**PackageType** | Pointer to **int64** | The type of package contents. | [optional] [readonly] +**Release** | Pointer to **string** | The release of the package version (if any). | [optional] [readonly] +**Repository** | Pointer to **string** | | [optional] [readonly] +**RepositoryUrl** | Pointer to **string** | | [optional] [readonly] +**SecurityScanCompletedAt** | Pointer to **time.Time** | The datetime the security scanning was completed. | [optional] [readonly] +**SecurityScanStartedAt** | Pointer to **time.Time** | The datetime the security scanning was started. | [optional] [readonly] +**SecurityScanStatus** | Pointer to **NullableString** | | [optional] [readonly] [default to "Awaiting Security Scan"] +**SecurityScanStatusUpdatedAt** | Pointer to **time.Time** | The datetime the security scanning status was updated. | [optional] [readonly] +**SelfHtmlUrl** | Pointer to **string** | | [optional] [readonly] +**SelfUrl** | Pointer to **string** | | [optional] [readonly] +**SignatureUrl** | Pointer to **NullableString** | | [optional] [readonly] +**Size** | Pointer to **int64** | The calculated size of the package. | [optional] [readonly] +**Slug** | Pointer to **string** | The public unique identifier for the package. | [optional] [readonly] +**SlugPerm** | Pointer to **string** | | [optional] [readonly] +**Stage** | Pointer to **int64** | The synchronisation (in progress) stage of the package. | [optional] [readonly] +**StageStr** | Pointer to **string** | | [optional] [readonly] +**StageUpdatedAt** | Pointer to **time.Time** | The datetime the package stage was updated at. | [optional] [readonly] +**Status** | Pointer to **int64** | The synchronisation status of the package. | [optional] [readonly] +**StatusReason** | Pointer to **string** | A textual description for the synchronous status reason (if any | [optional] [readonly] +**StatusStr** | Pointer to **string** | | [optional] [readonly] +**StatusUpdatedAt** | Pointer to **time.Time** | The datetime the package status was updated at. | [optional] [readonly] +**StatusUrl** | Pointer to **string** | | [optional] [readonly] +**Subtype** | Pointer to **string** | | [optional] [readonly] +**Summary** | Pointer to **string** | A one-liner synopsis of this package. | [optional] [readonly] +**SyncFinishedAt** | Pointer to **time.Time** | The datetime the package sync was finished at. | [optional] [readonly] +**SyncProgress** | Pointer to **int64** | Synchronisation progress (from 0-100) | [optional] [readonly] +**TagsImmutable** | Pointer to **map[string]interface{}** | All tags on the package, grouped by tag type. This includes immutable tags, but doesn't distinguish them from mutable. To see which tags are immutable specifically, see the tags_immutable field. | [optional] +**TypeDisplay** | Pointer to **string** | | [optional] [readonly] +**UploadedAt** | Pointer to **time.Time** | The date this package was uploaded. | [optional] [readonly] +**Uploader** | Pointer to **string** | | [optional] [readonly] +**UploaderUrl** | Pointer to **string** | | [optional] [readonly] +**Version** | Pointer to **string** | The raw version for this package. | [optional] [readonly] +**VersionOrig** | Pointer to **string** | | [optional] [readonly] +**VulnerabilityScanResultsUrl** | Pointer to **string** | | [optional] [readonly] + +## Methods + +### NewHelmPackageUploadResponse + +`func NewHelmPackageUploadResponse() *HelmPackageUploadResponse` + +NewHelmPackageUploadResponse instantiates a new HelmPackageUploadResponse object +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 + +### NewHelmPackageUploadResponseWithDefaults + +`func NewHelmPackageUploadResponseWithDefaults() *HelmPackageUploadResponse` + +NewHelmPackageUploadResponseWithDefaults instantiates a new HelmPackageUploadResponse object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetArchitectures + +`func (o *HelmPackageUploadResponse) GetArchitectures() []Architecture` + +GetArchitectures returns the Architectures field if non-nil, zero value otherwise. + +### GetArchitecturesOk + +`func (o *HelmPackageUploadResponse) GetArchitecturesOk() (*[]Architecture, bool)` + +GetArchitecturesOk returns a tuple with the Architectures field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetArchitectures + +`func (o *HelmPackageUploadResponse) SetArchitectures(v []Architecture)` + +SetArchitectures sets Architectures field to given value. + +### HasArchitectures + +`func (o *HelmPackageUploadResponse) HasArchitectures() bool` + +HasArchitectures returns a boolean if a field has been set. + +### GetCdnUrl + +`func (o *HelmPackageUploadResponse) GetCdnUrl() string` + +GetCdnUrl returns the CdnUrl field if non-nil, zero value otherwise. + +### GetCdnUrlOk + +`func (o *HelmPackageUploadResponse) GetCdnUrlOk() (*string, bool)` + +GetCdnUrlOk returns a tuple with the CdnUrl field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetCdnUrl + +`func (o *HelmPackageUploadResponse) SetCdnUrl(v string)` + +SetCdnUrl sets CdnUrl field to given value. + +### HasCdnUrl + +`func (o *HelmPackageUploadResponse) HasCdnUrl() bool` + +HasCdnUrl returns a boolean if a field has been set. + +### SetCdnUrlNil + +`func (o *HelmPackageUploadResponse) SetCdnUrlNil(b bool)` + + SetCdnUrlNil sets the value for CdnUrl to be an explicit nil + +### UnsetCdnUrl +`func (o *HelmPackageUploadResponse) UnsetCdnUrl()` + +UnsetCdnUrl ensures that no value is present for CdnUrl, not even an explicit nil +### GetChecksumMd5 + +`func (o *HelmPackageUploadResponse) GetChecksumMd5() string` + +GetChecksumMd5 returns the ChecksumMd5 field if non-nil, zero value otherwise. + +### GetChecksumMd5Ok + +`func (o *HelmPackageUploadResponse) GetChecksumMd5Ok() (*string, bool)` + +GetChecksumMd5Ok returns a tuple with the ChecksumMd5 field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetChecksumMd5 + +`func (o *HelmPackageUploadResponse) SetChecksumMd5(v string)` + +SetChecksumMd5 sets ChecksumMd5 field to given value. + +### HasChecksumMd5 + +`func (o *HelmPackageUploadResponse) HasChecksumMd5() bool` + +HasChecksumMd5 returns a boolean if a field has been set. + +### GetChecksumSha1 + +`func (o *HelmPackageUploadResponse) GetChecksumSha1() string` + +GetChecksumSha1 returns the ChecksumSha1 field if non-nil, zero value otherwise. + +### GetChecksumSha1Ok + +`func (o *HelmPackageUploadResponse) GetChecksumSha1Ok() (*string, bool)` + +GetChecksumSha1Ok returns a tuple with the ChecksumSha1 field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetChecksumSha1 + +`func (o *HelmPackageUploadResponse) SetChecksumSha1(v string)` + +SetChecksumSha1 sets ChecksumSha1 field to given value. + +### HasChecksumSha1 + +`func (o *HelmPackageUploadResponse) HasChecksumSha1() bool` + +HasChecksumSha1 returns a boolean if a field has been set. + +### GetChecksumSha256 + +`func (o *HelmPackageUploadResponse) GetChecksumSha256() string` + +GetChecksumSha256 returns the ChecksumSha256 field if non-nil, zero value otherwise. + +### GetChecksumSha256Ok + +`func (o *HelmPackageUploadResponse) GetChecksumSha256Ok() (*string, bool)` + +GetChecksumSha256Ok returns a tuple with the ChecksumSha256 field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetChecksumSha256 + +`func (o *HelmPackageUploadResponse) SetChecksumSha256(v string)` + +SetChecksumSha256 sets ChecksumSha256 field to given value. + +### HasChecksumSha256 + +`func (o *HelmPackageUploadResponse) HasChecksumSha256() bool` + +HasChecksumSha256 returns a boolean if a field has been set. + +### GetChecksumSha512 + +`func (o *HelmPackageUploadResponse) GetChecksumSha512() string` + +GetChecksumSha512 returns the ChecksumSha512 field if non-nil, zero value otherwise. + +### GetChecksumSha512Ok + +`func (o *HelmPackageUploadResponse) GetChecksumSha512Ok() (*string, bool)` + +GetChecksumSha512Ok returns a tuple with the ChecksumSha512 field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetChecksumSha512 + +`func (o *HelmPackageUploadResponse) SetChecksumSha512(v string)` + +SetChecksumSha512 sets ChecksumSha512 field to given value. + +### HasChecksumSha512 + +`func (o *HelmPackageUploadResponse) HasChecksumSha512() bool` + +HasChecksumSha512 returns a boolean if a field has been set. + +### GetDependenciesChecksumMd5 + +`func (o *HelmPackageUploadResponse) GetDependenciesChecksumMd5() string` + +GetDependenciesChecksumMd5 returns the DependenciesChecksumMd5 field if non-nil, zero value otherwise. + +### GetDependenciesChecksumMd5Ok + +`func (o *HelmPackageUploadResponse) GetDependenciesChecksumMd5Ok() (*string, bool)` + +GetDependenciesChecksumMd5Ok returns a tuple with the DependenciesChecksumMd5 field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetDependenciesChecksumMd5 + +`func (o *HelmPackageUploadResponse) SetDependenciesChecksumMd5(v string)` + +SetDependenciesChecksumMd5 sets DependenciesChecksumMd5 field to given value. + +### HasDependenciesChecksumMd5 + +`func (o *HelmPackageUploadResponse) HasDependenciesChecksumMd5() bool` + +HasDependenciesChecksumMd5 returns a boolean if a field has been set. + +### GetDependenciesUrl + +`func (o *HelmPackageUploadResponse) GetDependenciesUrl() string` + +GetDependenciesUrl returns the DependenciesUrl field if non-nil, zero value otherwise. + +### GetDependenciesUrlOk + +`func (o *HelmPackageUploadResponse) GetDependenciesUrlOk() (*string, bool)` + +GetDependenciesUrlOk returns a tuple with the DependenciesUrl field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetDependenciesUrl + +`func (o *HelmPackageUploadResponse) SetDependenciesUrl(v string)` + +SetDependenciesUrl sets DependenciesUrl field to given value. + +### HasDependenciesUrl + +`func (o *HelmPackageUploadResponse) HasDependenciesUrl() bool` + +HasDependenciesUrl returns a boolean if a field has been set. + +### GetDescription + +`func (o *HelmPackageUploadResponse) GetDescription() string` + +GetDescription returns the Description field if non-nil, zero value otherwise. + +### GetDescriptionOk + +`func (o *HelmPackageUploadResponse) GetDescriptionOk() (*string, bool)` + +GetDescriptionOk returns a tuple with the Description field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetDescription + +`func (o *HelmPackageUploadResponse) SetDescription(v string)` + +SetDescription sets Description field to given value. + +### HasDescription + +`func (o *HelmPackageUploadResponse) HasDescription() bool` + +HasDescription returns a boolean if a field has been set. + +### GetDistro + +`func (o *HelmPackageUploadResponse) GetDistro() Distribution` + +GetDistro returns the Distro field if non-nil, zero value otherwise. + +### GetDistroOk + +`func (o *HelmPackageUploadResponse) GetDistroOk() (*Distribution, bool)` + +GetDistroOk returns a tuple with the Distro field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetDistro + +`func (o *HelmPackageUploadResponse) SetDistro(v Distribution)` + +SetDistro sets Distro field to given value. + +### HasDistro + +`func (o *HelmPackageUploadResponse) HasDistro() bool` + +HasDistro returns a boolean if a field has been set. + +### SetDistroNil + +`func (o *HelmPackageUploadResponse) SetDistroNil(b bool)` + + SetDistroNil sets the value for Distro to be an explicit nil + +### UnsetDistro +`func (o *HelmPackageUploadResponse) UnsetDistro()` + +UnsetDistro ensures that no value is present for Distro, not even an explicit nil +### GetDistroVersion + +`func (o *HelmPackageUploadResponse) GetDistroVersion() DistributionVersion` + +GetDistroVersion returns the DistroVersion field if non-nil, zero value otherwise. + +### GetDistroVersionOk + +`func (o *HelmPackageUploadResponse) GetDistroVersionOk() (*DistributionVersion, bool)` + +GetDistroVersionOk returns a tuple with the DistroVersion field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetDistroVersion + +`func (o *HelmPackageUploadResponse) SetDistroVersion(v DistributionVersion)` + +SetDistroVersion sets DistroVersion field to given value. + +### HasDistroVersion + +`func (o *HelmPackageUploadResponse) HasDistroVersion() bool` + +HasDistroVersion returns a boolean if a field has been set. + +### GetDownloads + +`func (o *HelmPackageUploadResponse) GetDownloads() int64` + +GetDownloads returns the Downloads field if non-nil, zero value otherwise. + +### GetDownloadsOk + +`func (o *HelmPackageUploadResponse) GetDownloadsOk() (*int64, bool)` + +GetDownloadsOk returns a tuple with the Downloads field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetDownloads + +`func (o *HelmPackageUploadResponse) SetDownloads(v int64)` + +SetDownloads sets Downloads field to given value. + +### HasDownloads + +`func (o *HelmPackageUploadResponse) HasDownloads() bool` + +HasDownloads returns a boolean if a field has been set. + +### GetEpoch + +`func (o *HelmPackageUploadResponse) GetEpoch() int64` + +GetEpoch returns the Epoch field if non-nil, zero value otherwise. + +### GetEpochOk + +`func (o *HelmPackageUploadResponse) GetEpochOk() (*int64, bool)` + +GetEpochOk returns a tuple with the Epoch field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetEpoch + +`func (o *HelmPackageUploadResponse) SetEpoch(v int64)` + +SetEpoch sets Epoch field to given value. + +### HasEpoch + +`func (o *HelmPackageUploadResponse) HasEpoch() bool` + +HasEpoch returns a boolean if a field has been set. + +### GetExtension + +`func (o *HelmPackageUploadResponse) GetExtension() string` + +GetExtension returns the Extension field if non-nil, zero value otherwise. + +### GetExtensionOk + +`func (o *HelmPackageUploadResponse) GetExtensionOk() (*string, bool)` + +GetExtensionOk returns a tuple with the Extension field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetExtension + +`func (o *HelmPackageUploadResponse) SetExtension(v string)` + +SetExtension sets Extension field to given value. + +### HasExtension + +`func (o *HelmPackageUploadResponse) HasExtension() bool` + +HasExtension returns a boolean if a field has been set. + +### GetFilename + +`func (o *HelmPackageUploadResponse) GetFilename() string` + +GetFilename returns the Filename field if non-nil, zero value otherwise. + +### GetFilenameOk + +`func (o *HelmPackageUploadResponse) GetFilenameOk() (*string, bool)` + +GetFilenameOk returns a tuple with the Filename field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetFilename + +`func (o *HelmPackageUploadResponse) SetFilename(v string)` + +SetFilename sets Filename field to given value. + +### HasFilename + +`func (o *HelmPackageUploadResponse) HasFilename() bool` + +HasFilename returns a boolean if a field has been set. + +### GetFiles + +`func (o *HelmPackageUploadResponse) GetFiles() []PackageFile` + +GetFiles returns the Files field if non-nil, zero value otherwise. + +### GetFilesOk + +`func (o *HelmPackageUploadResponse) GetFilesOk() (*[]PackageFile, 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 *HelmPackageUploadResponse) SetFiles(v []PackageFile)` + +SetFiles sets Files field to given value. + +### HasFiles + +`func (o *HelmPackageUploadResponse) HasFiles() bool` + +HasFiles returns a boolean if a field has been set. + +### GetFormat + +`func (o *HelmPackageUploadResponse) GetFormat() string` + +GetFormat returns the Format field if non-nil, zero value otherwise. + +### GetFormatOk + +`func (o *HelmPackageUploadResponse) GetFormatOk() (*string, bool)` + +GetFormatOk returns a tuple with the Format field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetFormat + +`func (o *HelmPackageUploadResponse) SetFormat(v string)` + +SetFormat sets Format field to given value. + +### HasFormat + +`func (o *HelmPackageUploadResponse) HasFormat() bool` + +HasFormat returns a boolean if a field has been set. + +### GetFormatUrl + +`func (o *HelmPackageUploadResponse) GetFormatUrl() string` + +GetFormatUrl returns the FormatUrl field if non-nil, zero value otherwise. + +### GetFormatUrlOk + +`func (o *HelmPackageUploadResponse) GetFormatUrlOk() (*string, bool)` + +GetFormatUrlOk returns a tuple with the FormatUrl field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetFormatUrl + +`func (o *HelmPackageUploadResponse) SetFormatUrl(v string)` + +SetFormatUrl sets FormatUrl field to given value. + +### HasFormatUrl + +`func (o *HelmPackageUploadResponse) HasFormatUrl() bool` + +HasFormatUrl returns a boolean if a field has been set. + +### GetIdentifierPerm + +`func (o *HelmPackageUploadResponse) GetIdentifierPerm() string` + +GetIdentifierPerm returns the IdentifierPerm field if non-nil, zero value otherwise. + +### GetIdentifierPermOk + +`func (o *HelmPackageUploadResponse) GetIdentifierPermOk() (*string, bool)` + +GetIdentifierPermOk returns a tuple with the IdentifierPerm field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetIdentifierPerm + +`func (o *HelmPackageUploadResponse) SetIdentifierPerm(v string)` + +SetIdentifierPerm sets IdentifierPerm field to given value. + +### HasIdentifierPerm + +`func (o *HelmPackageUploadResponse) HasIdentifierPerm() bool` + +HasIdentifierPerm returns a boolean if a field has been set. + +### GetIndexed + +`func (o *HelmPackageUploadResponse) GetIndexed() bool` + +GetIndexed returns the Indexed field if non-nil, zero value otherwise. + +### GetIndexedOk + +`func (o *HelmPackageUploadResponse) GetIndexedOk() (*bool, bool)` + +GetIndexedOk returns a tuple with the Indexed field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetIndexed + +`func (o *HelmPackageUploadResponse) SetIndexed(v bool)` + +SetIndexed sets Indexed field to given value. + +### HasIndexed + +`func (o *HelmPackageUploadResponse) HasIndexed() bool` + +HasIndexed returns a boolean if a field has been set. + +### GetIsDownloadable + +`func (o *HelmPackageUploadResponse) GetIsDownloadable() bool` + +GetIsDownloadable returns the IsDownloadable field if non-nil, zero value otherwise. + +### GetIsDownloadableOk + +`func (o *HelmPackageUploadResponse) GetIsDownloadableOk() (*bool, bool)` + +GetIsDownloadableOk returns a tuple with the IsDownloadable field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetIsDownloadable + +`func (o *HelmPackageUploadResponse) SetIsDownloadable(v bool)` + +SetIsDownloadable sets IsDownloadable field to given value. + +### HasIsDownloadable + +`func (o *HelmPackageUploadResponse) HasIsDownloadable() bool` + +HasIsDownloadable returns a boolean if a field has been set. + +### GetIsQuarantined + +`func (o *HelmPackageUploadResponse) GetIsQuarantined() bool` + +GetIsQuarantined returns the IsQuarantined field if non-nil, zero value otherwise. + +### GetIsQuarantinedOk + +`func (o *HelmPackageUploadResponse) GetIsQuarantinedOk() (*bool, bool)` + +GetIsQuarantinedOk returns a tuple with the IsQuarantined field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetIsQuarantined + +`func (o *HelmPackageUploadResponse) SetIsQuarantined(v bool)` + +SetIsQuarantined sets IsQuarantined field to given value. + +### HasIsQuarantined + +`func (o *HelmPackageUploadResponse) HasIsQuarantined() bool` + +HasIsQuarantined returns a boolean if a field has been set. + +### GetIsSyncAwaiting + +`func (o *HelmPackageUploadResponse) GetIsSyncAwaiting() bool` + +GetIsSyncAwaiting returns the IsSyncAwaiting field if non-nil, zero value otherwise. + +### GetIsSyncAwaitingOk + +`func (o *HelmPackageUploadResponse) GetIsSyncAwaitingOk() (*bool, bool)` + +GetIsSyncAwaitingOk returns a tuple with the IsSyncAwaiting field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetIsSyncAwaiting + +`func (o *HelmPackageUploadResponse) SetIsSyncAwaiting(v bool)` + +SetIsSyncAwaiting sets IsSyncAwaiting field to given value. + +### HasIsSyncAwaiting + +`func (o *HelmPackageUploadResponse) HasIsSyncAwaiting() bool` + +HasIsSyncAwaiting returns a boolean if a field has been set. + +### GetIsSyncCompleted + +`func (o *HelmPackageUploadResponse) GetIsSyncCompleted() bool` + +GetIsSyncCompleted returns the IsSyncCompleted field if non-nil, zero value otherwise. + +### GetIsSyncCompletedOk + +`func (o *HelmPackageUploadResponse) GetIsSyncCompletedOk() (*bool, bool)` + +GetIsSyncCompletedOk returns a tuple with the IsSyncCompleted field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetIsSyncCompleted + +`func (o *HelmPackageUploadResponse) SetIsSyncCompleted(v bool)` + +SetIsSyncCompleted sets IsSyncCompleted field to given value. + +### HasIsSyncCompleted + +`func (o *HelmPackageUploadResponse) HasIsSyncCompleted() bool` + +HasIsSyncCompleted returns a boolean if a field has been set. + +### GetIsSyncFailed + +`func (o *HelmPackageUploadResponse) GetIsSyncFailed() bool` + +GetIsSyncFailed returns the IsSyncFailed field if non-nil, zero value otherwise. + +### GetIsSyncFailedOk + +`func (o *HelmPackageUploadResponse) GetIsSyncFailedOk() (*bool, bool)` + +GetIsSyncFailedOk returns a tuple with the IsSyncFailed field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetIsSyncFailed + +`func (o *HelmPackageUploadResponse) SetIsSyncFailed(v bool)` + +SetIsSyncFailed sets IsSyncFailed field to given value. + +### HasIsSyncFailed + +`func (o *HelmPackageUploadResponse) HasIsSyncFailed() bool` + +HasIsSyncFailed returns a boolean if a field has been set. + +### GetIsSyncInFlight + +`func (o *HelmPackageUploadResponse) GetIsSyncInFlight() bool` + +GetIsSyncInFlight returns the IsSyncInFlight field if non-nil, zero value otherwise. + +### GetIsSyncInFlightOk + +`func (o *HelmPackageUploadResponse) GetIsSyncInFlightOk() (*bool, bool)` + +GetIsSyncInFlightOk returns a tuple with the IsSyncInFlight field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetIsSyncInFlight + +`func (o *HelmPackageUploadResponse) SetIsSyncInFlight(v bool)` + +SetIsSyncInFlight sets IsSyncInFlight field to given value. + +### HasIsSyncInFlight + +`func (o *HelmPackageUploadResponse) HasIsSyncInFlight() bool` + +HasIsSyncInFlight returns a boolean if a field has been set. + +### GetIsSyncInProgress + +`func (o *HelmPackageUploadResponse) GetIsSyncInProgress() bool` + +GetIsSyncInProgress returns the IsSyncInProgress field if non-nil, zero value otherwise. + +### GetIsSyncInProgressOk + +`func (o *HelmPackageUploadResponse) GetIsSyncInProgressOk() (*bool, bool)` + +GetIsSyncInProgressOk returns a tuple with the IsSyncInProgress field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetIsSyncInProgress + +`func (o *HelmPackageUploadResponse) SetIsSyncInProgress(v bool)` + +SetIsSyncInProgress sets IsSyncInProgress field to given value. + +### HasIsSyncInProgress + +`func (o *HelmPackageUploadResponse) HasIsSyncInProgress() bool` + +HasIsSyncInProgress returns a boolean if a field has been set. + +### GetLicense + +`func (o *HelmPackageUploadResponse) GetLicense() string` + +GetLicense returns the License field if non-nil, zero value otherwise. + +### GetLicenseOk + +`func (o *HelmPackageUploadResponse) GetLicenseOk() (*string, bool)` + +GetLicenseOk returns a tuple with the License field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetLicense + +`func (o *HelmPackageUploadResponse) SetLicense(v string)` + +SetLicense sets License field to given value. + +### HasLicense + +`func (o *HelmPackageUploadResponse) HasLicense() bool` + +HasLicense returns a boolean if a field has been set. + +### GetName + +`func (o *HelmPackageUploadResponse) GetName() string` + +GetName returns the Name field if non-nil, zero value otherwise. + +### GetNameOk + +`func (o *HelmPackageUploadResponse) GetNameOk() (*string, bool)` + +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. + +### SetName + +`func (o *HelmPackageUploadResponse) SetName(v string)` + +SetName sets Name field to given value. + +### HasName + +`func (o *HelmPackageUploadResponse) HasName() bool` + +HasName returns a boolean if a field has been set. + +### GetNamespace + +`func (o *HelmPackageUploadResponse) GetNamespace() string` + +GetNamespace returns the Namespace field if non-nil, zero value otherwise. + +### GetNamespaceOk + +`func (o *HelmPackageUploadResponse) GetNamespaceOk() (*string, bool)` + +GetNamespaceOk returns a tuple with the Namespace field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetNamespace + +`func (o *HelmPackageUploadResponse) SetNamespace(v string)` + +SetNamespace sets Namespace field to given value. + +### HasNamespace + +`func (o *HelmPackageUploadResponse) HasNamespace() bool` + +HasNamespace returns a boolean if a field has been set. + +### GetNamespaceUrl + +`func (o *HelmPackageUploadResponse) GetNamespaceUrl() string` + +GetNamespaceUrl returns the NamespaceUrl field if non-nil, zero value otherwise. + +### GetNamespaceUrlOk + +`func (o *HelmPackageUploadResponse) GetNamespaceUrlOk() (*string, bool)` + +GetNamespaceUrlOk returns a tuple with the NamespaceUrl field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetNamespaceUrl + +`func (o *HelmPackageUploadResponse) SetNamespaceUrl(v string)` + +SetNamespaceUrl sets NamespaceUrl field to given value. + +### HasNamespaceUrl + +`func (o *HelmPackageUploadResponse) HasNamespaceUrl() bool` + +HasNamespaceUrl returns a boolean if a field has been set. + +### GetNumFiles + +`func (o *HelmPackageUploadResponse) GetNumFiles() int64` + +GetNumFiles returns the NumFiles field if non-nil, zero value otherwise. + +### GetNumFilesOk + +`func (o *HelmPackageUploadResponse) GetNumFilesOk() (*int64, bool)` + +GetNumFilesOk returns a tuple with the NumFiles field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetNumFiles + +`func (o *HelmPackageUploadResponse) SetNumFiles(v int64)` + +SetNumFiles sets NumFiles field to given value. + +### HasNumFiles + +`func (o *HelmPackageUploadResponse) HasNumFiles() bool` + +HasNumFiles returns a boolean if a field has been set. + +### GetOriginRepository + +`func (o *HelmPackageUploadResponse) GetOriginRepository() string` + +GetOriginRepository returns the OriginRepository field if non-nil, zero value otherwise. + +### GetOriginRepositoryOk + +`func (o *HelmPackageUploadResponse) GetOriginRepositoryOk() (*string, bool)` + +GetOriginRepositoryOk returns a tuple with the OriginRepository field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetOriginRepository + +`func (o *HelmPackageUploadResponse) SetOriginRepository(v string)` + +SetOriginRepository sets OriginRepository field to given value. + +### HasOriginRepository + +`func (o *HelmPackageUploadResponse) HasOriginRepository() bool` + +HasOriginRepository returns a boolean if a field has been set. + +### GetOriginRepositoryUrl + +`func (o *HelmPackageUploadResponse) GetOriginRepositoryUrl() string` + +GetOriginRepositoryUrl returns the OriginRepositoryUrl field if non-nil, zero value otherwise. + +### GetOriginRepositoryUrlOk + +`func (o *HelmPackageUploadResponse) GetOriginRepositoryUrlOk() (*string, bool)` + +GetOriginRepositoryUrlOk returns a tuple with the OriginRepositoryUrl field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetOriginRepositoryUrl + +`func (o *HelmPackageUploadResponse) SetOriginRepositoryUrl(v string)` + +SetOriginRepositoryUrl sets OriginRepositoryUrl field to given value. + +### HasOriginRepositoryUrl + +`func (o *HelmPackageUploadResponse) HasOriginRepositoryUrl() bool` + +HasOriginRepositoryUrl returns a boolean if a field has been set. + +### GetPackageType + +`func (o *HelmPackageUploadResponse) GetPackageType() int64` + +GetPackageType returns the PackageType field if non-nil, zero value otherwise. + +### GetPackageTypeOk + +`func (o *HelmPackageUploadResponse) GetPackageTypeOk() (*int64, bool)` + +GetPackageTypeOk returns a tuple with the PackageType field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetPackageType + +`func (o *HelmPackageUploadResponse) SetPackageType(v int64)` + +SetPackageType sets PackageType field to given value. + +### HasPackageType + +`func (o *HelmPackageUploadResponse) HasPackageType() bool` + +HasPackageType returns a boolean if a field has been set. + +### GetRelease + +`func (o *HelmPackageUploadResponse) GetRelease() string` + +GetRelease returns the Release field if non-nil, zero value otherwise. + +### GetReleaseOk + +`func (o *HelmPackageUploadResponse) GetReleaseOk() (*string, bool)` + +GetReleaseOk returns a tuple with the Release field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetRelease + +`func (o *HelmPackageUploadResponse) SetRelease(v string)` + +SetRelease sets Release field to given value. + +### HasRelease + +`func (o *HelmPackageUploadResponse) HasRelease() bool` + +HasRelease returns a boolean if a field has been set. + +### GetRepository + +`func (o *HelmPackageUploadResponse) GetRepository() string` + +GetRepository returns the Repository field if non-nil, zero value otherwise. + +### GetRepositoryOk + +`func (o *HelmPackageUploadResponse) GetRepositoryOk() (*string, bool)` + +GetRepositoryOk returns a tuple with the Repository field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetRepository + +`func (o *HelmPackageUploadResponse) SetRepository(v string)` + +SetRepository sets Repository field to given value. + +### HasRepository + +`func (o *HelmPackageUploadResponse) HasRepository() bool` + +HasRepository returns a boolean if a field has been set. + +### GetRepositoryUrl + +`func (o *HelmPackageUploadResponse) GetRepositoryUrl() string` + +GetRepositoryUrl returns the RepositoryUrl field if non-nil, zero value otherwise. + +### GetRepositoryUrlOk + +`func (o *HelmPackageUploadResponse) GetRepositoryUrlOk() (*string, bool)` + +GetRepositoryUrlOk returns a tuple with the RepositoryUrl field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetRepositoryUrl + +`func (o *HelmPackageUploadResponse) SetRepositoryUrl(v string)` + +SetRepositoryUrl sets RepositoryUrl field to given value. + +### HasRepositoryUrl + +`func (o *HelmPackageUploadResponse) HasRepositoryUrl() bool` + +HasRepositoryUrl returns a boolean if a field has been set. + +### GetSecurityScanCompletedAt + +`func (o *HelmPackageUploadResponse) GetSecurityScanCompletedAt() time.Time` + +GetSecurityScanCompletedAt returns the SecurityScanCompletedAt field if non-nil, zero value otherwise. + +### GetSecurityScanCompletedAtOk + +`func (o *HelmPackageUploadResponse) GetSecurityScanCompletedAtOk() (*time.Time, bool)` + +GetSecurityScanCompletedAtOk returns a tuple with the SecurityScanCompletedAt field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetSecurityScanCompletedAt + +`func (o *HelmPackageUploadResponse) SetSecurityScanCompletedAt(v time.Time)` + +SetSecurityScanCompletedAt sets SecurityScanCompletedAt field to given value. + +### HasSecurityScanCompletedAt + +`func (o *HelmPackageUploadResponse) HasSecurityScanCompletedAt() bool` + +HasSecurityScanCompletedAt returns a boolean if a field has been set. + +### GetSecurityScanStartedAt + +`func (o *HelmPackageUploadResponse) GetSecurityScanStartedAt() time.Time` + +GetSecurityScanStartedAt returns the SecurityScanStartedAt field if non-nil, zero value otherwise. + +### GetSecurityScanStartedAtOk + +`func (o *HelmPackageUploadResponse) GetSecurityScanStartedAtOk() (*time.Time, bool)` + +GetSecurityScanStartedAtOk returns a tuple with the SecurityScanStartedAt field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetSecurityScanStartedAt + +`func (o *HelmPackageUploadResponse) SetSecurityScanStartedAt(v time.Time)` + +SetSecurityScanStartedAt sets SecurityScanStartedAt field to given value. + +### HasSecurityScanStartedAt + +`func (o *HelmPackageUploadResponse) HasSecurityScanStartedAt() bool` + +HasSecurityScanStartedAt returns a boolean if a field has been set. + +### GetSecurityScanStatus + +`func (o *HelmPackageUploadResponse) GetSecurityScanStatus() string` + +GetSecurityScanStatus returns the SecurityScanStatus field if non-nil, zero value otherwise. + +### GetSecurityScanStatusOk + +`func (o *HelmPackageUploadResponse) GetSecurityScanStatusOk() (*string, bool)` + +GetSecurityScanStatusOk returns a tuple with the SecurityScanStatus field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetSecurityScanStatus + +`func (o *HelmPackageUploadResponse) SetSecurityScanStatus(v string)` + +SetSecurityScanStatus sets SecurityScanStatus field to given value. + +### HasSecurityScanStatus + +`func (o *HelmPackageUploadResponse) HasSecurityScanStatus() bool` + +HasSecurityScanStatus returns a boolean if a field has been set. + +### SetSecurityScanStatusNil + +`func (o *HelmPackageUploadResponse) SetSecurityScanStatusNil(b bool)` + + SetSecurityScanStatusNil sets the value for SecurityScanStatus to be an explicit nil + +### UnsetSecurityScanStatus +`func (o *HelmPackageUploadResponse) UnsetSecurityScanStatus()` + +UnsetSecurityScanStatus ensures that no value is present for SecurityScanStatus, not even an explicit nil +### GetSecurityScanStatusUpdatedAt + +`func (o *HelmPackageUploadResponse) GetSecurityScanStatusUpdatedAt() time.Time` + +GetSecurityScanStatusUpdatedAt returns the SecurityScanStatusUpdatedAt field if non-nil, zero value otherwise. + +### GetSecurityScanStatusUpdatedAtOk + +`func (o *HelmPackageUploadResponse) GetSecurityScanStatusUpdatedAtOk() (*time.Time, bool)` + +GetSecurityScanStatusUpdatedAtOk returns a tuple with the SecurityScanStatusUpdatedAt field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetSecurityScanStatusUpdatedAt + +`func (o *HelmPackageUploadResponse) SetSecurityScanStatusUpdatedAt(v time.Time)` + +SetSecurityScanStatusUpdatedAt sets SecurityScanStatusUpdatedAt field to given value. + +### HasSecurityScanStatusUpdatedAt + +`func (o *HelmPackageUploadResponse) HasSecurityScanStatusUpdatedAt() bool` + +HasSecurityScanStatusUpdatedAt returns a boolean if a field has been set. + +### GetSelfHtmlUrl + +`func (o *HelmPackageUploadResponse) GetSelfHtmlUrl() string` + +GetSelfHtmlUrl returns the SelfHtmlUrl field if non-nil, zero value otherwise. + +### GetSelfHtmlUrlOk + +`func (o *HelmPackageUploadResponse) GetSelfHtmlUrlOk() (*string, bool)` + +GetSelfHtmlUrlOk returns a tuple with the SelfHtmlUrl field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetSelfHtmlUrl + +`func (o *HelmPackageUploadResponse) SetSelfHtmlUrl(v string)` + +SetSelfHtmlUrl sets SelfHtmlUrl field to given value. + +### HasSelfHtmlUrl + +`func (o *HelmPackageUploadResponse) HasSelfHtmlUrl() bool` + +HasSelfHtmlUrl returns a boolean if a field has been set. + +### GetSelfUrl + +`func (o *HelmPackageUploadResponse) GetSelfUrl() string` + +GetSelfUrl returns the SelfUrl field if non-nil, zero value otherwise. + +### GetSelfUrlOk + +`func (o *HelmPackageUploadResponse) GetSelfUrlOk() (*string, bool)` + +GetSelfUrlOk returns a tuple with the SelfUrl field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetSelfUrl + +`func (o *HelmPackageUploadResponse) SetSelfUrl(v string)` + +SetSelfUrl sets SelfUrl field to given value. + +### HasSelfUrl + +`func (o *HelmPackageUploadResponse) HasSelfUrl() bool` + +HasSelfUrl returns a boolean if a field has been set. + +### GetSignatureUrl + +`func (o *HelmPackageUploadResponse) GetSignatureUrl() string` + +GetSignatureUrl returns the SignatureUrl field if non-nil, zero value otherwise. + +### GetSignatureUrlOk + +`func (o *HelmPackageUploadResponse) GetSignatureUrlOk() (*string, bool)` + +GetSignatureUrlOk returns a tuple with the SignatureUrl field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetSignatureUrl + +`func (o *HelmPackageUploadResponse) SetSignatureUrl(v string)` + +SetSignatureUrl sets SignatureUrl field to given value. + +### HasSignatureUrl + +`func (o *HelmPackageUploadResponse) HasSignatureUrl() bool` + +HasSignatureUrl returns a boolean if a field has been set. + +### SetSignatureUrlNil + +`func (o *HelmPackageUploadResponse) SetSignatureUrlNil(b bool)` + + SetSignatureUrlNil sets the value for SignatureUrl to be an explicit nil + +### UnsetSignatureUrl +`func (o *HelmPackageUploadResponse) UnsetSignatureUrl()` + +UnsetSignatureUrl ensures that no value is present for SignatureUrl, not even an explicit nil +### GetSize + +`func (o *HelmPackageUploadResponse) GetSize() int64` + +GetSize returns the Size field if non-nil, zero value otherwise. + +### GetSizeOk + +`func (o *HelmPackageUploadResponse) GetSizeOk() (*int64, bool)` + +GetSizeOk returns a tuple with the Size field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetSize + +`func (o *HelmPackageUploadResponse) SetSize(v int64)` + +SetSize sets Size field to given value. + +### HasSize + +`func (o *HelmPackageUploadResponse) HasSize() bool` + +HasSize returns a boolean if a field has been set. + +### GetSlug + +`func (o *HelmPackageUploadResponse) GetSlug() string` + +GetSlug returns the Slug field if non-nil, zero value otherwise. + +### GetSlugOk + +`func (o *HelmPackageUploadResponse) GetSlugOk() (*string, bool)` + +GetSlugOk returns a tuple with the Slug field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetSlug + +`func (o *HelmPackageUploadResponse) SetSlug(v string)` + +SetSlug sets Slug field to given value. + +### HasSlug + +`func (o *HelmPackageUploadResponse) HasSlug() bool` + +HasSlug returns a boolean if a field has been set. + +### GetSlugPerm + +`func (o *HelmPackageUploadResponse) GetSlugPerm() string` + +GetSlugPerm returns the SlugPerm field if non-nil, zero value otherwise. + +### GetSlugPermOk + +`func (o *HelmPackageUploadResponse) GetSlugPermOk() (*string, bool)` + +GetSlugPermOk returns a tuple with the SlugPerm field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetSlugPerm + +`func (o *HelmPackageUploadResponse) SetSlugPerm(v string)` + +SetSlugPerm sets SlugPerm field to given value. + +### HasSlugPerm + +`func (o *HelmPackageUploadResponse) HasSlugPerm() bool` + +HasSlugPerm returns a boolean if a field has been set. + +### GetStage + +`func (o *HelmPackageUploadResponse) GetStage() int64` + +GetStage returns the Stage field if non-nil, zero value otherwise. + +### GetStageOk + +`func (o *HelmPackageUploadResponse) GetStageOk() (*int64, bool)` + +GetStageOk returns a tuple with the Stage field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetStage + +`func (o *HelmPackageUploadResponse) SetStage(v int64)` + +SetStage sets Stage field to given value. + +### HasStage + +`func (o *HelmPackageUploadResponse) HasStage() bool` + +HasStage returns a boolean if a field has been set. + +### GetStageStr + +`func (o *HelmPackageUploadResponse) GetStageStr() string` + +GetStageStr returns the StageStr field if non-nil, zero value otherwise. + +### GetStageStrOk + +`func (o *HelmPackageUploadResponse) GetStageStrOk() (*string, bool)` + +GetStageStrOk returns a tuple with the StageStr field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetStageStr + +`func (o *HelmPackageUploadResponse) SetStageStr(v string)` + +SetStageStr sets StageStr field to given value. + +### HasStageStr + +`func (o *HelmPackageUploadResponse) HasStageStr() bool` + +HasStageStr returns a boolean if a field has been set. + +### GetStageUpdatedAt + +`func (o *HelmPackageUploadResponse) GetStageUpdatedAt() time.Time` + +GetStageUpdatedAt returns the StageUpdatedAt field if non-nil, zero value otherwise. + +### GetStageUpdatedAtOk + +`func (o *HelmPackageUploadResponse) GetStageUpdatedAtOk() (*time.Time, bool)` + +GetStageUpdatedAtOk returns a tuple with the StageUpdatedAt field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetStageUpdatedAt + +`func (o *HelmPackageUploadResponse) SetStageUpdatedAt(v time.Time)` + +SetStageUpdatedAt sets StageUpdatedAt field to given value. + +### HasStageUpdatedAt + +`func (o *HelmPackageUploadResponse) HasStageUpdatedAt() bool` + +HasStageUpdatedAt returns a boolean if a field has been set. + +### GetStatus + +`func (o *HelmPackageUploadResponse) GetStatus() int64` + +GetStatus returns the Status field if non-nil, zero value otherwise. + +### GetStatusOk + +`func (o *HelmPackageUploadResponse) GetStatusOk() (*int64, bool)` + +GetStatusOk returns a tuple with the Status field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetStatus + +`func (o *HelmPackageUploadResponse) SetStatus(v int64)` + +SetStatus sets Status field to given value. + +### HasStatus + +`func (o *HelmPackageUploadResponse) HasStatus() bool` + +HasStatus returns a boolean if a field has been set. + +### GetStatusReason + +`func (o *HelmPackageUploadResponse) GetStatusReason() string` + +GetStatusReason returns the StatusReason field if non-nil, zero value otherwise. + +### GetStatusReasonOk + +`func (o *HelmPackageUploadResponse) GetStatusReasonOk() (*string, bool)` + +GetStatusReasonOk returns a tuple with the StatusReason field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetStatusReason + +`func (o *HelmPackageUploadResponse) SetStatusReason(v string)` + +SetStatusReason sets StatusReason field to given value. + +### HasStatusReason + +`func (o *HelmPackageUploadResponse) HasStatusReason() bool` + +HasStatusReason returns a boolean if a field has been set. + +### GetStatusStr + +`func (o *HelmPackageUploadResponse) GetStatusStr() string` + +GetStatusStr returns the StatusStr field if non-nil, zero value otherwise. + +### GetStatusStrOk + +`func (o *HelmPackageUploadResponse) GetStatusStrOk() (*string, bool)` + +GetStatusStrOk returns a tuple with the StatusStr field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetStatusStr + +`func (o *HelmPackageUploadResponse) SetStatusStr(v string)` + +SetStatusStr sets StatusStr field to given value. + +### HasStatusStr + +`func (o *HelmPackageUploadResponse) HasStatusStr() bool` + +HasStatusStr returns a boolean if a field has been set. + +### GetStatusUpdatedAt + +`func (o *HelmPackageUploadResponse) GetStatusUpdatedAt() time.Time` + +GetStatusUpdatedAt returns the StatusUpdatedAt field if non-nil, zero value otherwise. + +### GetStatusUpdatedAtOk + +`func (o *HelmPackageUploadResponse) GetStatusUpdatedAtOk() (*time.Time, bool)` + +GetStatusUpdatedAtOk returns a tuple with the StatusUpdatedAt field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetStatusUpdatedAt + +`func (o *HelmPackageUploadResponse) SetStatusUpdatedAt(v time.Time)` + +SetStatusUpdatedAt sets StatusUpdatedAt field to given value. + +### HasStatusUpdatedAt + +`func (o *HelmPackageUploadResponse) HasStatusUpdatedAt() bool` + +HasStatusUpdatedAt returns a boolean if a field has been set. + +### GetStatusUrl + +`func (o *HelmPackageUploadResponse) GetStatusUrl() string` + +GetStatusUrl returns the StatusUrl field if non-nil, zero value otherwise. + +### GetStatusUrlOk + +`func (o *HelmPackageUploadResponse) GetStatusUrlOk() (*string, bool)` + +GetStatusUrlOk returns a tuple with the StatusUrl field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetStatusUrl + +`func (o *HelmPackageUploadResponse) SetStatusUrl(v string)` + +SetStatusUrl sets StatusUrl field to given value. + +### HasStatusUrl + +`func (o *HelmPackageUploadResponse) HasStatusUrl() bool` + +HasStatusUrl returns a boolean if a field has been set. + +### GetSubtype + +`func (o *HelmPackageUploadResponse) GetSubtype() string` + +GetSubtype returns the Subtype field if non-nil, zero value otherwise. + +### GetSubtypeOk + +`func (o *HelmPackageUploadResponse) GetSubtypeOk() (*string, bool)` + +GetSubtypeOk returns a tuple with the Subtype field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetSubtype + +`func (o *HelmPackageUploadResponse) SetSubtype(v string)` + +SetSubtype sets Subtype field to given value. + +### HasSubtype + +`func (o *HelmPackageUploadResponse) HasSubtype() bool` + +HasSubtype returns a boolean if a field has been set. + +### GetSummary + +`func (o *HelmPackageUploadResponse) GetSummary() string` + +GetSummary returns the Summary field if non-nil, zero value otherwise. + +### GetSummaryOk + +`func (o *HelmPackageUploadResponse) GetSummaryOk() (*string, bool)` + +GetSummaryOk returns a tuple with the Summary field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetSummary + +`func (o *HelmPackageUploadResponse) SetSummary(v string)` + +SetSummary sets Summary field to given value. + +### HasSummary + +`func (o *HelmPackageUploadResponse) HasSummary() bool` + +HasSummary returns a boolean if a field has been set. + +### GetSyncFinishedAt + +`func (o *HelmPackageUploadResponse) GetSyncFinishedAt() time.Time` + +GetSyncFinishedAt returns the SyncFinishedAt field if non-nil, zero value otherwise. + +### GetSyncFinishedAtOk + +`func (o *HelmPackageUploadResponse) GetSyncFinishedAtOk() (*time.Time, bool)` + +GetSyncFinishedAtOk returns a tuple with the SyncFinishedAt field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetSyncFinishedAt + +`func (o *HelmPackageUploadResponse) SetSyncFinishedAt(v time.Time)` + +SetSyncFinishedAt sets SyncFinishedAt field to given value. + +### HasSyncFinishedAt + +`func (o *HelmPackageUploadResponse) HasSyncFinishedAt() bool` + +HasSyncFinishedAt returns a boolean if a field has been set. + +### GetSyncProgress + +`func (o *HelmPackageUploadResponse) GetSyncProgress() int64` + +GetSyncProgress returns the SyncProgress field if non-nil, zero value otherwise. + +### GetSyncProgressOk + +`func (o *HelmPackageUploadResponse) GetSyncProgressOk() (*int64, bool)` + +GetSyncProgressOk returns a tuple with the SyncProgress field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetSyncProgress + +`func (o *HelmPackageUploadResponse) SetSyncProgress(v int64)` + +SetSyncProgress sets SyncProgress field to given value. + +### HasSyncProgress + +`func (o *HelmPackageUploadResponse) HasSyncProgress() bool` + +HasSyncProgress returns a boolean if a field has been set. + +### GetTagsImmutable + +`func (o *HelmPackageUploadResponse) GetTagsImmutable() map[string]interface{}` + +GetTagsImmutable returns the TagsImmutable field if non-nil, zero value otherwise. + +### GetTagsImmutableOk + +`func (o *HelmPackageUploadResponse) GetTagsImmutableOk() (*map[string]interface{}, bool)` + +GetTagsImmutableOk returns a tuple with the TagsImmutable field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetTagsImmutable + +`func (o *HelmPackageUploadResponse) SetTagsImmutable(v map[string]interface{})` + +SetTagsImmutable sets TagsImmutable field to given value. + +### HasTagsImmutable + +`func (o *HelmPackageUploadResponse) HasTagsImmutable() bool` + +HasTagsImmutable returns a boolean if a field has been set. + +### GetTypeDisplay + +`func (o *HelmPackageUploadResponse) GetTypeDisplay() string` + +GetTypeDisplay returns the TypeDisplay field if non-nil, zero value otherwise. + +### GetTypeDisplayOk + +`func (o *HelmPackageUploadResponse) GetTypeDisplayOk() (*string, bool)` + +GetTypeDisplayOk returns a tuple with the TypeDisplay field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetTypeDisplay + +`func (o *HelmPackageUploadResponse) SetTypeDisplay(v string)` + +SetTypeDisplay sets TypeDisplay field to given value. + +### HasTypeDisplay + +`func (o *HelmPackageUploadResponse) HasTypeDisplay() bool` + +HasTypeDisplay returns a boolean if a field has been set. + +### GetUploadedAt + +`func (o *HelmPackageUploadResponse) GetUploadedAt() time.Time` + +GetUploadedAt returns the UploadedAt field if non-nil, zero value otherwise. + +### GetUploadedAtOk + +`func (o *HelmPackageUploadResponse) GetUploadedAtOk() (*time.Time, bool)` + +GetUploadedAtOk returns a tuple with the UploadedAt field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetUploadedAt + +`func (o *HelmPackageUploadResponse) SetUploadedAt(v time.Time)` + +SetUploadedAt sets UploadedAt field to given value. + +### HasUploadedAt + +`func (o *HelmPackageUploadResponse) HasUploadedAt() bool` + +HasUploadedAt returns a boolean if a field has been set. + +### GetUploader + +`func (o *HelmPackageUploadResponse) GetUploader() string` + +GetUploader returns the Uploader field if non-nil, zero value otherwise. + +### GetUploaderOk + +`func (o *HelmPackageUploadResponse) GetUploaderOk() (*string, bool)` + +GetUploaderOk returns a tuple with the Uploader field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetUploader + +`func (o *HelmPackageUploadResponse) SetUploader(v string)` + +SetUploader sets Uploader field to given value. + +### HasUploader + +`func (o *HelmPackageUploadResponse) HasUploader() bool` + +HasUploader returns a boolean if a field has been set. + +### GetUploaderUrl + +`func (o *HelmPackageUploadResponse) GetUploaderUrl() string` + +GetUploaderUrl returns the UploaderUrl field if non-nil, zero value otherwise. + +### GetUploaderUrlOk + +`func (o *HelmPackageUploadResponse) GetUploaderUrlOk() (*string, bool)` + +GetUploaderUrlOk returns a tuple with the UploaderUrl field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetUploaderUrl + +`func (o *HelmPackageUploadResponse) SetUploaderUrl(v string)` + +SetUploaderUrl sets UploaderUrl field to given value. + +### HasUploaderUrl + +`func (o *HelmPackageUploadResponse) HasUploaderUrl() bool` + +HasUploaderUrl returns a boolean if a field has been set. + +### GetVersion + +`func (o *HelmPackageUploadResponse) GetVersion() string` + +GetVersion returns the Version field if non-nil, zero value otherwise. + +### GetVersionOk + +`func (o *HelmPackageUploadResponse) GetVersionOk() (*string, bool)` + +GetVersionOk returns a tuple with the Version field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetVersion + +`func (o *HelmPackageUploadResponse) SetVersion(v string)` + +SetVersion sets Version field to given value. + +### HasVersion + +`func (o *HelmPackageUploadResponse) HasVersion() bool` + +HasVersion returns a boolean if a field has been set. + +### GetVersionOrig + +`func (o *HelmPackageUploadResponse) GetVersionOrig() string` + +GetVersionOrig returns the VersionOrig field if non-nil, zero value otherwise. + +### GetVersionOrigOk + +`func (o *HelmPackageUploadResponse) GetVersionOrigOk() (*string, bool)` + +GetVersionOrigOk returns a tuple with the VersionOrig field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetVersionOrig + +`func (o *HelmPackageUploadResponse) SetVersionOrig(v string)` + +SetVersionOrig sets VersionOrig field to given value. + +### HasVersionOrig + +`func (o *HelmPackageUploadResponse) HasVersionOrig() bool` + +HasVersionOrig returns a boolean if a field has been set. + +### GetVulnerabilityScanResultsUrl + +`func (o *HelmPackageUploadResponse) GetVulnerabilityScanResultsUrl() string` + +GetVulnerabilityScanResultsUrl returns the VulnerabilityScanResultsUrl field if non-nil, zero value otherwise. + +### GetVulnerabilityScanResultsUrlOk + +`func (o *HelmPackageUploadResponse) GetVulnerabilityScanResultsUrlOk() (*string, bool)` + +GetVulnerabilityScanResultsUrlOk returns a tuple with the VulnerabilityScanResultsUrl field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetVulnerabilityScanResultsUrl + +`func (o *HelmPackageUploadResponse) SetVulnerabilityScanResultsUrl(v string)` + +SetVulnerabilityScanResultsUrl sets VulnerabilityScanResultsUrl field to given value. + +### HasVulnerabilityScanResultsUrl + +`func (o *HelmPackageUploadResponse) HasVulnerabilityScanResultsUrl() bool` + +HasVulnerabilityScanResultsUrl 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/docs/QuotaHistoryHistory.md b/docs/History.md similarity index 52% rename from docs/QuotaHistoryHistory.md rename to docs/History.md index ea17d284..4a099939 100644 --- a/docs/QuotaHistoryHistory.md +++ b/docs/History.md @@ -1,184 +1,159 @@ -# QuotaHistoryHistory +# History ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **Days** | Pointer to **int64** | | [optional] -**Display** | Pointer to **map[string]interface{}** | | [optional] -**End** | Pointer to **string** | | [optional] -**Plan** | Pointer to **string** | | [optional] -**Raw** | Pointer to **map[string]interface{}** | | [optional] -**Start** | Pointer to **string** | | [optional] +**Display** | [**HistoryFieldset**](HistoryFieldset.md) | | +**End** | **time.Time** | | +**Plan** | **string** | | +**Raw** | [**HistoryFieldset**](HistoryFieldset.md) | | +**Start** | **time.Time** | | ## Methods -### NewQuotaHistoryHistory +### NewHistory -`func NewQuotaHistoryHistory() *QuotaHistoryHistory` +`func NewHistory(display HistoryFieldset, end time.Time, plan string, raw HistoryFieldset, start time.Time, ) *History` -NewQuotaHistoryHistory instantiates a new QuotaHistoryHistory object +NewHistory instantiates a new History object 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 -### NewQuotaHistoryHistoryWithDefaults +### NewHistoryWithDefaults -`func NewQuotaHistoryHistoryWithDefaults() *QuotaHistoryHistory` +`func NewHistoryWithDefaults() *History` -NewQuotaHistoryHistoryWithDefaults instantiates a new QuotaHistoryHistory object +NewHistoryWithDefaults instantiates a new History object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set ### GetDays -`func (o *QuotaHistoryHistory) GetDays() int64` +`func (o *History) GetDays() int64` GetDays returns the Days field if non-nil, zero value otherwise. ### GetDaysOk -`func (o *QuotaHistoryHistory) GetDaysOk() (*int64, bool)` +`func (o *History) GetDaysOk() (*int64, bool)` GetDaysOk returns a tuple with the Days field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetDays -`func (o *QuotaHistoryHistory) SetDays(v int64)` +`func (o *History) SetDays(v int64)` SetDays sets Days field to given value. ### HasDays -`func (o *QuotaHistoryHistory) HasDays() bool` +`func (o *History) HasDays() bool` HasDays returns a boolean if a field has been set. ### GetDisplay -`func (o *QuotaHistoryHistory) GetDisplay() map[string]interface{}` +`func (o *History) GetDisplay() HistoryFieldset` GetDisplay returns the Display field if non-nil, zero value otherwise. ### GetDisplayOk -`func (o *QuotaHistoryHistory) GetDisplayOk() (*map[string]interface{}, bool)` +`func (o *History) GetDisplayOk() (*HistoryFieldset, bool)` GetDisplayOk returns a tuple with the Display field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetDisplay -`func (o *QuotaHistoryHistory) SetDisplay(v map[string]interface{})` +`func (o *History) SetDisplay(v HistoryFieldset)` SetDisplay sets Display field to given value. -### HasDisplay - -`func (o *QuotaHistoryHistory) HasDisplay() bool` - -HasDisplay returns a boolean if a field has been set. ### GetEnd -`func (o *QuotaHistoryHistory) GetEnd() string` +`func (o *History) GetEnd() time.Time` GetEnd returns the End field if non-nil, zero value otherwise. ### GetEndOk -`func (o *QuotaHistoryHistory) GetEndOk() (*string, bool)` +`func (o *History) GetEndOk() (*time.Time, bool)` GetEndOk returns a tuple with the End field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetEnd -`func (o *QuotaHistoryHistory) SetEnd(v string)` +`func (o *History) SetEnd(v time.Time)` SetEnd sets End field to given value. -### HasEnd - -`func (o *QuotaHistoryHistory) HasEnd() bool` - -HasEnd returns a boolean if a field has been set. ### GetPlan -`func (o *QuotaHistoryHistory) GetPlan() string` +`func (o *History) GetPlan() string` GetPlan returns the Plan field if non-nil, zero value otherwise. ### GetPlanOk -`func (o *QuotaHistoryHistory) GetPlanOk() (*string, bool)` +`func (o *History) GetPlanOk() (*string, bool)` GetPlanOk returns a tuple with the Plan field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetPlan -`func (o *QuotaHistoryHistory) SetPlan(v string)` +`func (o *History) SetPlan(v string)` SetPlan sets Plan field to given value. -### HasPlan - -`func (o *QuotaHistoryHistory) HasPlan() bool` - -HasPlan returns a boolean if a field has been set. ### GetRaw -`func (o *QuotaHistoryHistory) GetRaw() map[string]interface{}` +`func (o *History) GetRaw() HistoryFieldset` GetRaw returns the Raw field if non-nil, zero value otherwise. ### GetRawOk -`func (o *QuotaHistoryHistory) GetRawOk() (*map[string]interface{}, bool)` +`func (o *History) GetRawOk() (*HistoryFieldset, bool)` GetRawOk returns a tuple with the Raw field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetRaw -`func (o *QuotaHistoryHistory) SetRaw(v map[string]interface{})` +`func (o *History) SetRaw(v HistoryFieldset)` SetRaw sets Raw field to given value. -### HasRaw - -`func (o *QuotaHistoryHistory) HasRaw() bool` - -HasRaw returns a boolean if a field has been set. ### GetStart -`func (o *QuotaHistoryHistory) GetStart() string` +`func (o *History) GetStart() time.Time` GetStart returns the Start field if non-nil, zero value otherwise. ### GetStartOk -`func (o *QuotaHistoryHistory) GetStartOk() (*string, bool)` +`func (o *History) GetStartOk() (*time.Time, bool)` GetStartOk returns a tuple with the Start field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetStart -`func (o *QuotaHistoryHistory) SetStart(v string)` +`func (o *History) SetStart(v time.Time)` SetStart sets Start field to given value. -### HasStart - -`func (o *QuotaHistoryHistory) HasStart() bool` - -HasStart 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/docs/HistoryFieldset.md b/docs/HistoryFieldset.md new file mode 100644 index 00000000..f198b181 --- /dev/null +++ b/docs/HistoryFieldset.md @@ -0,0 +1,93 @@ +# HistoryFieldset + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Downloaded** | [**Usage**](Usage.md) | | +**StorageUsed** | [**Usage**](Usage.md) | | +**Uploaded** | [**Usage**](Usage.md) | | + +## Methods + +### NewHistoryFieldset + +`func NewHistoryFieldset(downloaded Usage, storageUsed Usage, uploaded Usage, ) *HistoryFieldset` + +NewHistoryFieldset instantiates a new HistoryFieldset object +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 + +### NewHistoryFieldsetWithDefaults + +`func NewHistoryFieldsetWithDefaults() *HistoryFieldset` + +NewHistoryFieldsetWithDefaults instantiates a new HistoryFieldset object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetDownloaded + +`func (o *HistoryFieldset) GetDownloaded() Usage` + +GetDownloaded returns the Downloaded field if non-nil, zero value otherwise. + +### GetDownloadedOk + +`func (o *HistoryFieldset) GetDownloadedOk() (*Usage, bool)` + +GetDownloadedOk returns a tuple with the Downloaded field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetDownloaded + +`func (o *HistoryFieldset) SetDownloaded(v Usage)` + +SetDownloaded sets Downloaded field to given value. + + +### GetStorageUsed + +`func (o *HistoryFieldset) GetStorageUsed() Usage` + +GetStorageUsed returns the StorageUsed field if non-nil, zero value otherwise. + +### GetStorageUsedOk + +`func (o *HistoryFieldset) GetStorageUsedOk() (*Usage, bool)` + +GetStorageUsedOk returns a tuple with the StorageUsed field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetStorageUsed + +`func (o *HistoryFieldset) SetStorageUsed(v Usage)` + +SetStorageUsed sets StorageUsed field to given value. + + +### GetUploaded + +`func (o *HistoryFieldset) GetUploaded() Usage` + +GetUploaded returns the Uploaded field if non-nil, zero value otherwise. + +### GetUploadedOk + +`func (o *HistoryFieldset) GetUploadedOk() (*Usage, bool)` + +GetUploadedOk returns a tuple with the Uploaded field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetUploaded + +`func (o *HistoryFieldset) SetUploaded(v Usage)` + +SetUploaded sets Uploaded field to given value. + + + +[[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/docs/LuarocksPackageUploadRequest.md b/docs/LuarocksPackageUploadRequest.md new file mode 100644 index 00000000..537ea03e --- /dev/null +++ b/docs/LuarocksPackageUploadRequest.md @@ -0,0 +1,113 @@ +# LuarocksPackageUploadRequest + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**PackageFile** | **string** | The primary file for the package. | +**Republish** | Pointer to **bool** | If true, the uploaded package will overwrite any others with the same attributes (e.g. same version); otherwise, it will be flagged as a duplicate. | [optional] +**Tags** | Pointer to **NullableString** | A comma-separated values list of tags to add to the package. | [optional] + +## Methods + +### NewLuarocksPackageUploadRequest + +`func NewLuarocksPackageUploadRequest(packageFile string, ) *LuarocksPackageUploadRequest` + +NewLuarocksPackageUploadRequest instantiates a new LuarocksPackageUploadRequest object +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 + +### NewLuarocksPackageUploadRequestWithDefaults + +`func NewLuarocksPackageUploadRequestWithDefaults() *LuarocksPackageUploadRequest` + +NewLuarocksPackageUploadRequestWithDefaults instantiates a new LuarocksPackageUploadRequest object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetPackageFile + +`func (o *LuarocksPackageUploadRequest) GetPackageFile() string` + +GetPackageFile returns the PackageFile field if non-nil, zero value otherwise. + +### GetPackageFileOk + +`func (o *LuarocksPackageUploadRequest) GetPackageFileOk() (*string, bool)` + +GetPackageFileOk returns a tuple with the PackageFile field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetPackageFile + +`func (o *LuarocksPackageUploadRequest) SetPackageFile(v string)` + +SetPackageFile sets PackageFile field to given value. + + +### GetRepublish + +`func (o *LuarocksPackageUploadRequest) GetRepublish() bool` + +GetRepublish returns the Republish field if non-nil, zero value otherwise. + +### GetRepublishOk + +`func (o *LuarocksPackageUploadRequest) GetRepublishOk() (*bool, bool)` + +GetRepublishOk returns a tuple with the Republish field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetRepublish + +`func (o *LuarocksPackageUploadRequest) SetRepublish(v bool)` + +SetRepublish sets Republish field to given value. + +### HasRepublish + +`func (o *LuarocksPackageUploadRequest) HasRepublish() bool` + +HasRepublish returns a boolean if a field has been set. + +### GetTags + +`func (o *LuarocksPackageUploadRequest) GetTags() string` + +GetTags returns the Tags field if non-nil, zero value otherwise. + +### GetTagsOk + +`func (o *LuarocksPackageUploadRequest) GetTagsOk() (*string, bool)` + +GetTagsOk returns a tuple with the Tags field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetTags + +`func (o *LuarocksPackageUploadRequest) SetTags(v string)` + +SetTags sets Tags field to given value. + +### HasTags + +`func (o *LuarocksPackageUploadRequest) HasTags() bool` + +HasTags returns a boolean if a field has been set. + +### SetTagsNil + +`func (o *LuarocksPackageUploadRequest) SetTagsNil(b bool)` + + SetTagsNil sets the value for Tags to be an explicit nil + +### UnsetTags +`func (o *LuarocksPackageUploadRequest) UnsetTags()` + +UnsetTags ensures that no value is present for Tags, 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/docs/LuarocksPackageUploadResponse.md b/docs/LuarocksPackageUploadResponse.md new file mode 100644 index 00000000..f35b6a0c --- /dev/null +++ b/docs/LuarocksPackageUploadResponse.md @@ -0,0 +1,1838 @@ +# LuarocksPackageUploadResponse + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Architectures** | Pointer to [**[]Architecture**](Architecture.md) | | [optional] [readonly] +**CdnUrl** | Pointer to **NullableString** | | [optional] [readonly] +**ChecksumMd5** | Pointer to **string** | | [optional] [readonly] +**ChecksumSha1** | Pointer to **string** | | [optional] [readonly] +**ChecksumSha256** | Pointer to **string** | | [optional] [readonly] +**ChecksumSha512** | Pointer to **string** | | [optional] [readonly] +**DependenciesChecksumMd5** | Pointer to **string** | A checksum of all of the package's dependencies. | [optional] [readonly] +**DependenciesUrl** | Pointer to **string** | | [optional] [readonly] +**Description** | Pointer to **string** | A textual description of this package. | [optional] [readonly] +**Distro** | Pointer to [**NullableDistribution**](Distribution.md) | | [optional] +**DistroVersion** | Pointer to [**DistributionVersion**](DistributionVersion.md) | | [optional] +**Downloads** | Pointer to **int64** | | [optional] [readonly] +**Epoch** | Pointer to **int64** | The epoch of the package version (if any). | [optional] [readonly] +**Extension** | Pointer to **string** | | [optional] [readonly] +**Filename** | Pointer to **string** | | [optional] [readonly] +**Files** | Pointer to [**[]PackageFile**](PackageFile.md) | | [optional] [readonly] +**Format** | Pointer to **string** | | [optional] [readonly] +**FormatUrl** | Pointer to **string** | | [optional] [readonly] +**IdentifierPerm** | Pointer to **string** | Unique and permanent identifier for the package. | [optional] [readonly] +**Indexed** | Pointer to **bool** | | [optional] [readonly] +**IsDownloadable** | Pointer to **bool** | | [optional] [readonly] +**IsQuarantined** | Pointer to **bool** | | [optional] [readonly] +**IsSyncAwaiting** | Pointer to **bool** | | [optional] [readonly] +**IsSyncCompleted** | Pointer to **bool** | | [optional] [readonly] +**IsSyncFailed** | Pointer to **bool** | | [optional] [readonly] +**IsSyncInFlight** | Pointer to **bool** | | [optional] [readonly] +**IsSyncInProgress** | Pointer to **bool** | | [optional] [readonly] +**License** | Pointer to **string** | The license of this package. | [optional] [readonly] +**Name** | Pointer to **string** | The name of this package. | [optional] [readonly] +**Namespace** | Pointer to **string** | | [optional] [readonly] +**NamespaceUrl** | Pointer to **string** | | [optional] [readonly] +**NumFiles** | Pointer to **int64** | | [optional] [readonly] +**OriginRepository** | Pointer to **string** | | [optional] [readonly] +**OriginRepositoryUrl** | Pointer to **string** | | [optional] [readonly] +**PackageType** | Pointer to **int64** | The type of package contents. | [optional] [readonly] +**Release** | Pointer to **string** | The release of the package version (if any). | [optional] [readonly] +**Repository** | Pointer to **string** | | [optional] [readonly] +**RepositoryUrl** | Pointer to **string** | | [optional] [readonly] +**SecurityScanCompletedAt** | Pointer to **time.Time** | The datetime the security scanning was completed. | [optional] [readonly] +**SecurityScanStartedAt** | Pointer to **time.Time** | The datetime the security scanning was started. | [optional] [readonly] +**SecurityScanStatus** | Pointer to **NullableString** | | [optional] [readonly] [default to "Awaiting Security Scan"] +**SecurityScanStatusUpdatedAt** | Pointer to **time.Time** | The datetime the security scanning status was updated. | [optional] [readonly] +**SelfHtmlUrl** | Pointer to **string** | | [optional] [readonly] +**SelfUrl** | Pointer to **string** | | [optional] [readonly] +**SignatureUrl** | Pointer to **NullableString** | | [optional] [readonly] +**Size** | Pointer to **int64** | The calculated size of the package. | [optional] [readonly] +**Slug** | Pointer to **string** | The public unique identifier for the package. | [optional] [readonly] +**SlugPerm** | Pointer to **string** | | [optional] [readonly] +**Stage** | Pointer to **int64** | The synchronisation (in progress) stage of the package. | [optional] [readonly] +**StageStr** | Pointer to **string** | | [optional] [readonly] +**StageUpdatedAt** | Pointer to **time.Time** | The datetime the package stage was updated at. | [optional] [readonly] +**Status** | Pointer to **int64** | The synchronisation status of the package. | [optional] [readonly] +**StatusReason** | Pointer to **string** | A textual description for the synchronous status reason (if any | [optional] [readonly] +**StatusStr** | Pointer to **string** | | [optional] [readonly] +**StatusUpdatedAt** | Pointer to **time.Time** | The datetime the package status was updated at. | [optional] [readonly] +**StatusUrl** | Pointer to **string** | | [optional] [readonly] +**Subtype** | Pointer to **string** | | [optional] [readonly] +**Summary** | Pointer to **string** | A one-liner synopsis of this package. | [optional] [readonly] +**SyncFinishedAt** | Pointer to **time.Time** | The datetime the package sync was finished at. | [optional] [readonly] +**SyncProgress** | Pointer to **int64** | Synchronisation progress (from 0-100) | [optional] [readonly] +**TagsImmutable** | Pointer to **map[string]interface{}** | All tags on the package, grouped by tag type. This includes immutable tags, but doesn't distinguish them from mutable. To see which tags are immutable specifically, see the tags_immutable field. | [optional] +**TypeDisplay** | Pointer to **string** | | [optional] [readonly] +**UploadedAt** | Pointer to **time.Time** | The date this package was uploaded. | [optional] [readonly] +**Uploader** | Pointer to **string** | | [optional] [readonly] +**UploaderUrl** | Pointer to **string** | | [optional] [readonly] +**Version** | Pointer to **string** | The raw version for this package. | [optional] [readonly] +**VersionOrig** | Pointer to **string** | | [optional] [readonly] +**VulnerabilityScanResultsUrl** | Pointer to **string** | | [optional] [readonly] + +## Methods + +### NewLuarocksPackageUploadResponse + +`func NewLuarocksPackageUploadResponse() *LuarocksPackageUploadResponse` + +NewLuarocksPackageUploadResponse instantiates a new LuarocksPackageUploadResponse object +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 + +### NewLuarocksPackageUploadResponseWithDefaults + +`func NewLuarocksPackageUploadResponseWithDefaults() *LuarocksPackageUploadResponse` + +NewLuarocksPackageUploadResponseWithDefaults instantiates a new LuarocksPackageUploadResponse object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetArchitectures + +`func (o *LuarocksPackageUploadResponse) GetArchitectures() []Architecture` + +GetArchitectures returns the Architectures field if non-nil, zero value otherwise. + +### GetArchitecturesOk + +`func (o *LuarocksPackageUploadResponse) GetArchitecturesOk() (*[]Architecture, bool)` + +GetArchitecturesOk returns a tuple with the Architectures field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetArchitectures + +`func (o *LuarocksPackageUploadResponse) SetArchitectures(v []Architecture)` + +SetArchitectures sets Architectures field to given value. + +### HasArchitectures + +`func (o *LuarocksPackageUploadResponse) HasArchitectures() bool` + +HasArchitectures returns a boolean if a field has been set. + +### GetCdnUrl + +`func (o *LuarocksPackageUploadResponse) GetCdnUrl() string` + +GetCdnUrl returns the CdnUrl field if non-nil, zero value otherwise. + +### GetCdnUrlOk + +`func (o *LuarocksPackageUploadResponse) GetCdnUrlOk() (*string, bool)` + +GetCdnUrlOk returns a tuple with the CdnUrl field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetCdnUrl + +`func (o *LuarocksPackageUploadResponse) SetCdnUrl(v string)` + +SetCdnUrl sets CdnUrl field to given value. + +### HasCdnUrl + +`func (o *LuarocksPackageUploadResponse) HasCdnUrl() bool` + +HasCdnUrl returns a boolean if a field has been set. + +### SetCdnUrlNil + +`func (o *LuarocksPackageUploadResponse) SetCdnUrlNil(b bool)` + + SetCdnUrlNil sets the value for CdnUrl to be an explicit nil + +### UnsetCdnUrl +`func (o *LuarocksPackageUploadResponse) UnsetCdnUrl()` + +UnsetCdnUrl ensures that no value is present for CdnUrl, not even an explicit nil +### GetChecksumMd5 + +`func (o *LuarocksPackageUploadResponse) GetChecksumMd5() string` + +GetChecksumMd5 returns the ChecksumMd5 field if non-nil, zero value otherwise. + +### GetChecksumMd5Ok + +`func (o *LuarocksPackageUploadResponse) GetChecksumMd5Ok() (*string, bool)` + +GetChecksumMd5Ok returns a tuple with the ChecksumMd5 field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetChecksumMd5 + +`func (o *LuarocksPackageUploadResponse) SetChecksumMd5(v string)` + +SetChecksumMd5 sets ChecksumMd5 field to given value. + +### HasChecksumMd5 + +`func (o *LuarocksPackageUploadResponse) HasChecksumMd5() bool` + +HasChecksumMd5 returns a boolean if a field has been set. + +### GetChecksumSha1 + +`func (o *LuarocksPackageUploadResponse) GetChecksumSha1() string` + +GetChecksumSha1 returns the ChecksumSha1 field if non-nil, zero value otherwise. + +### GetChecksumSha1Ok + +`func (o *LuarocksPackageUploadResponse) GetChecksumSha1Ok() (*string, bool)` + +GetChecksumSha1Ok returns a tuple with the ChecksumSha1 field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetChecksumSha1 + +`func (o *LuarocksPackageUploadResponse) SetChecksumSha1(v string)` + +SetChecksumSha1 sets ChecksumSha1 field to given value. + +### HasChecksumSha1 + +`func (o *LuarocksPackageUploadResponse) HasChecksumSha1() bool` + +HasChecksumSha1 returns a boolean if a field has been set. + +### GetChecksumSha256 + +`func (o *LuarocksPackageUploadResponse) GetChecksumSha256() string` + +GetChecksumSha256 returns the ChecksumSha256 field if non-nil, zero value otherwise. + +### GetChecksumSha256Ok + +`func (o *LuarocksPackageUploadResponse) GetChecksumSha256Ok() (*string, bool)` + +GetChecksumSha256Ok returns a tuple with the ChecksumSha256 field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetChecksumSha256 + +`func (o *LuarocksPackageUploadResponse) SetChecksumSha256(v string)` + +SetChecksumSha256 sets ChecksumSha256 field to given value. + +### HasChecksumSha256 + +`func (o *LuarocksPackageUploadResponse) HasChecksumSha256() bool` + +HasChecksumSha256 returns a boolean if a field has been set. + +### GetChecksumSha512 + +`func (o *LuarocksPackageUploadResponse) GetChecksumSha512() string` + +GetChecksumSha512 returns the ChecksumSha512 field if non-nil, zero value otherwise. + +### GetChecksumSha512Ok + +`func (o *LuarocksPackageUploadResponse) GetChecksumSha512Ok() (*string, bool)` + +GetChecksumSha512Ok returns a tuple with the ChecksumSha512 field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetChecksumSha512 + +`func (o *LuarocksPackageUploadResponse) SetChecksumSha512(v string)` + +SetChecksumSha512 sets ChecksumSha512 field to given value. + +### HasChecksumSha512 + +`func (o *LuarocksPackageUploadResponse) HasChecksumSha512() bool` + +HasChecksumSha512 returns a boolean if a field has been set. + +### GetDependenciesChecksumMd5 + +`func (o *LuarocksPackageUploadResponse) GetDependenciesChecksumMd5() string` + +GetDependenciesChecksumMd5 returns the DependenciesChecksumMd5 field if non-nil, zero value otherwise. + +### GetDependenciesChecksumMd5Ok + +`func (o *LuarocksPackageUploadResponse) GetDependenciesChecksumMd5Ok() (*string, bool)` + +GetDependenciesChecksumMd5Ok returns a tuple with the DependenciesChecksumMd5 field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetDependenciesChecksumMd5 + +`func (o *LuarocksPackageUploadResponse) SetDependenciesChecksumMd5(v string)` + +SetDependenciesChecksumMd5 sets DependenciesChecksumMd5 field to given value. + +### HasDependenciesChecksumMd5 + +`func (o *LuarocksPackageUploadResponse) HasDependenciesChecksumMd5() bool` + +HasDependenciesChecksumMd5 returns a boolean if a field has been set. + +### GetDependenciesUrl + +`func (o *LuarocksPackageUploadResponse) GetDependenciesUrl() string` + +GetDependenciesUrl returns the DependenciesUrl field if non-nil, zero value otherwise. + +### GetDependenciesUrlOk + +`func (o *LuarocksPackageUploadResponse) GetDependenciesUrlOk() (*string, bool)` + +GetDependenciesUrlOk returns a tuple with the DependenciesUrl field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetDependenciesUrl + +`func (o *LuarocksPackageUploadResponse) SetDependenciesUrl(v string)` + +SetDependenciesUrl sets DependenciesUrl field to given value. + +### HasDependenciesUrl + +`func (o *LuarocksPackageUploadResponse) HasDependenciesUrl() bool` + +HasDependenciesUrl returns a boolean if a field has been set. + +### GetDescription + +`func (o *LuarocksPackageUploadResponse) GetDescription() string` + +GetDescription returns the Description field if non-nil, zero value otherwise. + +### GetDescriptionOk + +`func (o *LuarocksPackageUploadResponse) GetDescriptionOk() (*string, bool)` + +GetDescriptionOk returns a tuple with the Description field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetDescription + +`func (o *LuarocksPackageUploadResponse) SetDescription(v string)` + +SetDescription sets Description field to given value. + +### HasDescription + +`func (o *LuarocksPackageUploadResponse) HasDescription() bool` + +HasDescription returns a boolean if a field has been set. + +### GetDistro + +`func (o *LuarocksPackageUploadResponse) GetDistro() Distribution` + +GetDistro returns the Distro field if non-nil, zero value otherwise. + +### GetDistroOk + +`func (o *LuarocksPackageUploadResponse) GetDistroOk() (*Distribution, bool)` + +GetDistroOk returns a tuple with the Distro field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetDistro + +`func (o *LuarocksPackageUploadResponse) SetDistro(v Distribution)` + +SetDistro sets Distro field to given value. + +### HasDistro + +`func (o *LuarocksPackageUploadResponse) HasDistro() bool` + +HasDistro returns a boolean if a field has been set. + +### SetDistroNil + +`func (o *LuarocksPackageUploadResponse) SetDistroNil(b bool)` + + SetDistroNil sets the value for Distro to be an explicit nil + +### UnsetDistro +`func (o *LuarocksPackageUploadResponse) UnsetDistro()` + +UnsetDistro ensures that no value is present for Distro, not even an explicit nil +### GetDistroVersion + +`func (o *LuarocksPackageUploadResponse) GetDistroVersion() DistributionVersion` + +GetDistroVersion returns the DistroVersion field if non-nil, zero value otherwise. + +### GetDistroVersionOk + +`func (o *LuarocksPackageUploadResponse) GetDistroVersionOk() (*DistributionVersion, bool)` + +GetDistroVersionOk returns a tuple with the DistroVersion field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetDistroVersion + +`func (o *LuarocksPackageUploadResponse) SetDistroVersion(v DistributionVersion)` + +SetDistroVersion sets DistroVersion field to given value. + +### HasDistroVersion + +`func (o *LuarocksPackageUploadResponse) HasDistroVersion() bool` + +HasDistroVersion returns a boolean if a field has been set. + +### GetDownloads + +`func (o *LuarocksPackageUploadResponse) GetDownloads() int64` + +GetDownloads returns the Downloads field if non-nil, zero value otherwise. + +### GetDownloadsOk + +`func (o *LuarocksPackageUploadResponse) GetDownloadsOk() (*int64, bool)` + +GetDownloadsOk returns a tuple with the Downloads field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetDownloads + +`func (o *LuarocksPackageUploadResponse) SetDownloads(v int64)` + +SetDownloads sets Downloads field to given value. + +### HasDownloads + +`func (o *LuarocksPackageUploadResponse) HasDownloads() bool` + +HasDownloads returns a boolean if a field has been set. + +### GetEpoch + +`func (o *LuarocksPackageUploadResponse) GetEpoch() int64` + +GetEpoch returns the Epoch field if non-nil, zero value otherwise. + +### GetEpochOk + +`func (o *LuarocksPackageUploadResponse) GetEpochOk() (*int64, bool)` + +GetEpochOk returns a tuple with the Epoch field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetEpoch + +`func (o *LuarocksPackageUploadResponse) SetEpoch(v int64)` + +SetEpoch sets Epoch field to given value. + +### HasEpoch + +`func (o *LuarocksPackageUploadResponse) HasEpoch() bool` + +HasEpoch returns a boolean if a field has been set. + +### GetExtension + +`func (o *LuarocksPackageUploadResponse) GetExtension() string` + +GetExtension returns the Extension field if non-nil, zero value otherwise. + +### GetExtensionOk + +`func (o *LuarocksPackageUploadResponse) GetExtensionOk() (*string, bool)` + +GetExtensionOk returns a tuple with the Extension field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetExtension + +`func (o *LuarocksPackageUploadResponse) SetExtension(v string)` + +SetExtension sets Extension field to given value. + +### HasExtension + +`func (o *LuarocksPackageUploadResponse) HasExtension() bool` + +HasExtension returns a boolean if a field has been set. + +### GetFilename + +`func (o *LuarocksPackageUploadResponse) GetFilename() string` + +GetFilename returns the Filename field if non-nil, zero value otherwise. + +### GetFilenameOk + +`func (o *LuarocksPackageUploadResponse) GetFilenameOk() (*string, bool)` + +GetFilenameOk returns a tuple with the Filename field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetFilename + +`func (o *LuarocksPackageUploadResponse) SetFilename(v string)` + +SetFilename sets Filename field to given value. + +### HasFilename + +`func (o *LuarocksPackageUploadResponse) HasFilename() bool` + +HasFilename returns a boolean if a field has been set. + +### GetFiles + +`func (o *LuarocksPackageUploadResponse) GetFiles() []PackageFile` + +GetFiles returns the Files field if non-nil, zero value otherwise. + +### GetFilesOk + +`func (o *LuarocksPackageUploadResponse) GetFilesOk() (*[]PackageFile, 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 *LuarocksPackageUploadResponse) SetFiles(v []PackageFile)` + +SetFiles sets Files field to given value. + +### HasFiles + +`func (o *LuarocksPackageUploadResponse) HasFiles() bool` + +HasFiles returns a boolean if a field has been set. + +### GetFormat + +`func (o *LuarocksPackageUploadResponse) GetFormat() string` + +GetFormat returns the Format field if non-nil, zero value otherwise. + +### GetFormatOk + +`func (o *LuarocksPackageUploadResponse) GetFormatOk() (*string, bool)` + +GetFormatOk returns a tuple with the Format field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetFormat + +`func (o *LuarocksPackageUploadResponse) SetFormat(v string)` + +SetFormat sets Format field to given value. + +### HasFormat + +`func (o *LuarocksPackageUploadResponse) HasFormat() bool` + +HasFormat returns a boolean if a field has been set. + +### GetFormatUrl + +`func (o *LuarocksPackageUploadResponse) GetFormatUrl() string` + +GetFormatUrl returns the FormatUrl field if non-nil, zero value otherwise. + +### GetFormatUrlOk + +`func (o *LuarocksPackageUploadResponse) GetFormatUrlOk() (*string, bool)` + +GetFormatUrlOk returns a tuple with the FormatUrl field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetFormatUrl + +`func (o *LuarocksPackageUploadResponse) SetFormatUrl(v string)` + +SetFormatUrl sets FormatUrl field to given value. + +### HasFormatUrl + +`func (o *LuarocksPackageUploadResponse) HasFormatUrl() bool` + +HasFormatUrl returns a boolean if a field has been set. + +### GetIdentifierPerm + +`func (o *LuarocksPackageUploadResponse) GetIdentifierPerm() string` + +GetIdentifierPerm returns the IdentifierPerm field if non-nil, zero value otherwise. + +### GetIdentifierPermOk + +`func (o *LuarocksPackageUploadResponse) GetIdentifierPermOk() (*string, bool)` + +GetIdentifierPermOk returns a tuple with the IdentifierPerm field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetIdentifierPerm + +`func (o *LuarocksPackageUploadResponse) SetIdentifierPerm(v string)` + +SetIdentifierPerm sets IdentifierPerm field to given value. + +### HasIdentifierPerm + +`func (o *LuarocksPackageUploadResponse) HasIdentifierPerm() bool` + +HasIdentifierPerm returns a boolean if a field has been set. + +### GetIndexed + +`func (o *LuarocksPackageUploadResponse) GetIndexed() bool` + +GetIndexed returns the Indexed field if non-nil, zero value otherwise. + +### GetIndexedOk + +`func (o *LuarocksPackageUploadResponse) GetIndexedOk() (*bool, bool)` + +GetIndexedOk returns a tuple with the Indexed field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetIndexed + +`func (o *LuarocksPackageUploadResponse) SetIndexed(v bool)` + +SetIndexed sets Indexed field to given value. + +### HasIndexed + +`func (o *LuarocksPackageUploadResponse) HasIndexed() bool` + +HasIndexed returns a boolean if a field has been set. + +### GetIsDownloadable + +`func (o *LuarocksPackageUploadResponse) GetIsDownloadable() bool` + +GetIsDownloadable returns the IsDownloadable field if non-nil, zero value otherwise. + +### GetIsDownloadableOk + +`func (o *LuarocksPackageUploadResponse) GetIsDownloadableOk() (*bool, bool)` + +GetIsDownloadableOk returns a tuple with the IsDownloadable field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetIsDownloadable + +`func (o *LuarocksPackageUploadResponse) SetIsDownloadable(v bool)` + +SetIsDownloadable sets IsDownloadable field to given value. + +### HasIsDownloadable + +`func (o *LuarocksPackageUploadResponse) HasIsDownloadable() bool` + +HasIsDownloadable returns a boolean if a field has been set. + +### GetIsQuarantined + +`func (o *LuarocksPackageUploadResponse) GetIsQuarantined() bool` + +GetIsQuarantined returns the IsQuarantined field if non-nil, zero value otherwise. + +### GetIsQuarantinedOk + +`func (o *LuarocksPackageUploadResponse) GetIsQuarantinedOk() (*bool, bool)` + +GetIsQuarantinedOk returns a tuple with the IsQuarantined field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetIsQuarantined + +`func (o *LuarocksPackageUploadResponse) SetIsQuarantined(v bool)` + +SetIsQuarantined sets IsQuarantined field to given value. + +### HasIsQuarantined + +`func (o *LuarocksPackageUploadResponse) HasIsQuarantined() bool` + +HasIsQuarantined returns a boolean if a field has been set. + +### GetIsSyncAwaiting + +`func (o *LuarocksPackageUploadResponse) GetIsSyncAwaiting() bool` + +GetIsSyncAwaiting returns the IsSyncAwaiting field if non-nil, zero value otherwise. + +### GetIsSyncAwaitingOk + +`func (o *LuarocksPackageUploadResponse) GetIsSyncAwaitingOk() (*bool, bool)` + +GetIsSyncAwaitingOk returns a tuple with the IsSyncAwaiting field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetIsSyncAwaiting + +`func (o *LuarocksPackageUploadResponse) SetIsSyncAwaiting(v bool)` + +SetIsSyncAwaiting sets IsSyncAwaiting field to given value. + +### HasIsSyncAwaiting + +`func (o *LuarocksPackageUploadResponse) HasIsSyncAwaiting() bool` + +HasIsSyncAwaiting returns a boolean if a field has been set. + +### GetIsSyncCompleted + +`func (o *LuarocksPackageUploadResponse) GetIsSyncCompleted() bool` + +GetIsSyncCompleted returns the IsSyncCompleted field if non-nil, zero value otherwise. + +### GetIsSyncCompletedOk + +`func (o *LuarocksPackageUploadResponse) GetIsSyncCompletedOk() (*bool, bool)` + +GetIsSyncCompletedOk returns a tuple with the IsSyncCompleted field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetIsSyncCompleted + +`func (o *LuarocksPackageUploadResponse) SetIsSyncCompleted(v bool)` + +SetIsSyncCompleted sets IsSyncCompleted field to given value. + +### HasIsSyncCompleted + +`func (o *LuarocksPackageUploadResponse) HasIsSyncCompleted() bool` + +HasIsSyncCompleted returns a boolean if a field has been set. + +### GetIsSyncFailed + +`func (o *LuarocksPackageUploadResponse) GetIsSyncFailed() bool` + +GetIsSyncFailed returns the IsSyncFailed field if non-nil, zero value otherwise. + +### GetIsSyncFailedOk + +`func (o *LuarocksPackageUploadResponse) GetIsSyncFailedOk() (*bool, bool)` + +GetIsSyncFailedOk returns a tuple with the IsSyncFailed field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetIsSyncFailed + +`func (o *LuarocksPackageUploadResponse) SetIsSyncFailed(v bool)` + +SetIsSyncFailed sets IsSyncFailed field to given value. + +### HasIsSyncFailed + +`func (o *LuarocksPackageUploadResponse) HasIsSyncFailed() bool` + +HasIsSyncFailed returns a boolean if a field has been set. + +### GetIsSyncInFlight + +`func (o *LuarocksPackageUploadResponse) GetIsSyncInFlight() bool` + +GetIsSyncInFlight returns the IsSyncInFlight field if non-nil, zero value otherwise. + +### GetIsSyncInFlightOk + +`func (o *LuarocksPackageUploadResponse) GetIsSyncInFlightOk() (*bool, bool)` + +GetIsSyncInFlightOk returns a tuple with the IsSyncInFlight field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetIsSyncInFlight + +`func (o *LuarocksPackageUploadResponse) SetIsSyncInFlight(v bool)` + +SetIsSyncInFlight sets IsSyncInFlight field to given value. + +### HasIsSyncInFlight + +`func (o *LuarocksPackageUploadResponse) HasIsSyncInFlight() bool` + +HasIsSyncInFlight returns a boolean if a field has been set. + +### GetIsSyncInProgress + +`func (o *LuarocksPackageUploadResponse) GetIsSyncInProgress() bool` + +GetIsSyncInProgress returns the IsSyncInProgress field if non-nil, zero value otherwise. + +### GetIsSyncInProgressOk + +`func (o *LuarocksPackageUploadResponse) GetIsSyncInProgressOk() (*bool, bool)` + +GetIsSyncInProgressOk returns a tuple with the IsSyncInProgress field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetIsSyncInProgress + +`func (o *LuarocksPackageUploadResponse) SetIsSyncInProgress(v bool)` + +SetIsSyncInProgress sets IsSyncInProgress field to given value. + +### HasIsSyncInProgress + +`func (o *LuarocksPackageUploadResponse) HasIsSyncInProgress() bool` + +HasIsSyncInProgress returns a boolean if a field has been set. + +### GetLicense + +`func (o *LuarocksPackageUploadResponse) GetLicense() string` + +GetLicense returns the License field if non-nil, zero value otherwise. + +### GetLicenseOk + +`func (o *LuarocksPackageUploadResponse) GetLicenseOk() (*string, bool)` + +GetLicenseOk returns a tuple with the License field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetLicense + +`func (o *LuarocksPackageUploadResponse) SetLicense(v string)` + +SetLicense sets License field to given value. + +### HasLicense + +`func (o *LuarocksPackageUploadResponse) HasLicense() bool` + +HasLicense returns a boolean if a field has been set. + +### GetName + +`func (o *LuarocksPackageUploadResponse) GetName() string` + +GetName returns the Name field if non-nil, zero value otherwise. + +### GetNameOk + +`func (o *LuarocksPackageUploadResponse) GetNameOk() (*string, bool)` + +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. + +### SetName + +`func (o *LuarocksPackageUploadResponse) SetName(v string)` + +SetName sets Name field to given value. + +### HasName + +`func (o *LuarocksPackageUploadResponse) HasName() bool` + +HasName returns a boolean if a field has been set. + +### GetNamespace + +`func (o *LuarocksPackageUploadResponse) GetNamespace() string` + +GetNamespace returns the Namespace field if non-nil, zero value otherwise. + +### GetNamespaceOk + +`func (o *LuarocksPackageUploadResponse) GetNamespaceOk() (*string, bool)` + +GetNamespaceOk returns a tuple with the Namespace field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetNamespace + +`func (o *LuarocksPackageUploadResponse) SetNamespace(v string)` + +SetNamespace sets Namespace field to given value. + +### HasNamespace + +`func (o *LuarocksPackageUploadResponse) HasNamespace() bool` + +HasNamespace returns a boolean if a field has been set. + +### GetNamespaceUrl + +`func (o *LuarocksPackageUploadResponse) GetNamespaceUrl() string` + +GetNamespaceUrl returns the NamespaceUrl field if non-nil, zero value otherwise. + +### GetNamespaceUrlOk + +`func (o *LuarocksPackageUploadResponse) GetNamespaceUrlOk() (*string, bool)` + +GetNamespaceUrlOk returns a tuple with the NamespaceUrl field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetNamespaceUrl + +`func (o *LuarocksPackageUploadResponse) SetNamespaceUrl(v string)` + +SetNamespaceUrl sets NamespaceUrl field to given value. + +### HasNamespaceUrl + +`func (o *LuarocksPackageUploadResponse) HasNamespaceUrl() bool` + +HasNamespaceUrl returns a boolean if a field has been set. + +### GetNumFiles + +`func (o *LuarocksPackageUploadResponse) GetNumFiles() int64` + +GetNumFiles returns the NumFiles field if non-nil, zero value otherwise. + +### GetNumFilesOk + +`func (o *LuarocksPackageUploadResponse) GetNumFilesOk() (*int64, bool)` + +GetNumFilesOk returns a tuple with the NumFiles field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetNumFiles + +`func (o *LuarocksPackageUploadResponse) SetNumFiles(v int64)` + +SetNumFiles sets NumFiles field to given value. + +### HasNumFiles + +`func (o *LuarocksPackageUploadResponse) HasNumFiles() bool` + +HasNumFiles returns a boolean if a field has been set. + +### GetOriginRepository + +`func (o *LuarocksPackageUploadResponse) GetOriginRepository() string` + +GetOriginRepository returns the OriginRepository field if non-nil, zero value otherwise. + +### GetOriginRepositoryOk + +`func (o *LuarocksPackageUploadResponse) GetOriginRepositoryOk() (*string, bool)` + +GetOriginRepositoryOk returns a tuple with the OriginRepository field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetOriginRepository + +`func (o *LuarocksPackageUploadResponse) SetOriginRepository(v string)` + +SetOriginRepository sets OriginRepository field to given value. + +### HasOriginRepository + +`func (o *LuarocksPackageUploadResponse) HasOriginRepository() bool` + +HasOriginRepository returns a boolean if a field has been set. + +### GetOriginRepositoryUrl + +`func (o *LuarocksPackageUploadResponse) GetOriginRepositoryUrl() string` + +GetOriginRepositoryUrl returns the OriginRepositoryUrl field if non-nil, zero value otherwise. + +### GetOriginRepositoryUrlOk + +`func (o *LuarocksPackageUploadResponse) GetOriginRepositoryUrlOk() (*string, bool)` + +GetOriginRepositoryUrlOk returns a tuple with the OriginRepositoryUrl field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetOriginRepositoryUrl + +`func (o *LuarocksPackageUploadResponse) SetOriginRepositoryUrl(v string)` + +SetOriginRepositoryUrl sets OriginRepositoryUrl field to given value. + +### HasOriginRepositoryUrl + +`func (o *LuarocksPackageUploadResponse) HasOriginRepositoryUrl() bool` + +HasOriginRepositoryUrl returns a boolean if a field has been set. + +### GetPackageType + +`func (o *LuarocksPackageUploadResponse) GetPackageType() int64` + +GetPackageType returns the PackageType field if non-nil, zero value otherwise. + +### GetPackageTypeOk + +`func (o *LuarocksPackageUploadResponse) GetPackageTypeOk() (*int64, bool)` + +GetPackageTypeOk returns a tuple with the PackageType field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetPackageType + +`func (o *LuarocksPackageUploadResponse) SetPackageType(v int64)` + +SetPackageType sets PackageType field to given value. + +### HasPackageType + +`func (o *LuarocksPackageUploadResponse) HasPackageType() bool` + +HasPackageType returns a boolean if a field has been set. + +### GetRelease + +`func (o *LuarocksPackageUploadResponse) GetRelease() string` + +GetRelease returns the Release field if non-nil, zero value otherwise. + +### GetReleaseOk + +`func (o *LuarocksPackageUploadResponse) GetReleaseOk() (*string, bool)` + +GetReleaseOk returns a tuple with the Release field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetRelease + +`func (o *LuarocksPackageUploadResponse) SetRelease(v string)` + +SetRelease sets Release field to given value. + +### HasRelease + +`func (o *LuarocksPackageUploadResponse) HasRelease() bool` + +HasRelease returns a boolean if a field has been set. + +### GetRepository + +`func (o *LuarocksPackageUploadResponse) GetRepository() string` + +GetRepository returns the Repository field if non-nil, zero value otherwise. + +### GetRepositoryOk + +`func (o *LuarocksPackageUploadResponse) GetRepositoryOk() (*string, bool)` + +GetRepositoryOk returns a tuple with the Repository field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetRepository + +`func (o *LuarocksPackageUploadResponse) SetRepository(v string)` + +SetRepository sets Repository field to given value. + +### HasRepository + +`func (o *LuarocksPackageUploadResponse) HasRepository() bool` + +HasRepository returns a boolean if a field has been set. + +### GetRepositoryUrl + +`func (o *LuarocksPackageUploadResponse) GetRepositoryUrl() string` + +GetRepositoryUrl returns the RepositoryUrl field if non-nil, zero value otherwise. + +### GetRepositoryUrlOk + +`func (o *LuarocksPackageUploadResponse) GetRepositoryUrlOk() (*string, bool)` + +GetRepositoryUrlOk returns a tuple with the RepositoryUrl field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetRepositoryUrl + +`func (o *LuarocksPackageUploadResponse) SetRepositoryUrl(v string)` + +SetRepositoryUrl sets RepositoryUrl field to given value. + +### HasRepositoryUrl + +`func (o *LuarocksPackageUploadResponse) HasRepositoryUrl() bool` + +HasRepositoryUrl returns a boolean if a field has been set. + +### GetSecurityScanCompletedAt + +`func (o *LuarocksPackageUploadResponse) GetSecurityScanCompletedAt() time.Time` + +GetSecurityScanCompletedAt returns the SecurityScanCompletedAt field if non-nil, zero value otherwise. + +### GetSecurityScanCompletedAtOk + +`func (o *LuarocksPackageUploadResponse) GetSecurityScanCompletedAtOk() (*time.Time, bool)` + +GetSecurityScanCompletedAtOk returns a tuple with the SecurityScanCompletedAt field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetSecurityScanCompletedAt + +`func (o *LuarocksPackageUploadResponse) SetSecurityScanCompletedAt(v time.Time)` + +SetSecurityScanCompletedAt sets SecurityScanCompletedAt field to given value. + +### HasSecurityScanCompletedAt + +`func (o *LuarocksPackageUploadResponse) HasSecurityScanCompletedAt() bool` + +HasSecurityScanCompletedAt returns a boolean if a field has been set. + +### GetSecurityScanStartedAt + +`func (o *LuarocksPackageUploadResponse) GetSecurityScanStartedAt() time.Time` + +GetSecurityScanStartedAt returns the SecurityScanStartedAt field if non-nil, zero value otherwise. + +### GetSecurityScanStartedAtOk + +`func (o *LuarocksPackageUploadResponse) GetSecurityScanStartedAtOk() (*time.Time, bool)` + +GetSecurityScanStartedAtOk returns a tuple with the SecurityScanStartedAt field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetSecurityScanStartedAt + +`func (o *LuarocksPackageUploadResponse) SetSecurityScanStartedAt(v time.Time)` + +SetSecurityScanStartedAt sets SecurityScanStartedAt field to given value. + +### HasSecurityScanStartedAt + +`func (o *LuarocksPackageUploadResponse) HasSecurityScanStartedAt() bool` + +HasSecurityScanStartedAt returns a boolean if a field has been set. + +### GetSecurityScanStatus + +`func (o *LuarocksPackageUploadResponse) GetSecurityScanStatus() string` + +GetSecurityScanStatus returns the SecurityScanStatus field if non-nil, zero value otherwise. + +### GetSecurityScanStatusOk + +`func (o *LuarocksPackageUploadResponse) GetSecurityScanStatusOk() (*string, bool)` + +GetSecurityScanStatusOk returns a tuple with the SecurityScanStatus field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetSecurityScanStatus + +`func (o *LuarocksPackageUploadResponse) SetSecurityScanStatus(v string)` + +SetSecurityScanStatus sets SecurityScanStatus field to given value. + +### HasSecurityScanStatus + +`func (o *LuarocksPackageUploadResponse) HasSecurityScanStatus() bool` + +HasSecurityScanStatus returns a boolean if a field has been set. + +### SetSecurityScanStatusNil + +`func (o *LuarocksPackageUploadResponse) SetSecurityScanStatusNil(b bool)` + + SetSecurityScanStatusNil sets the value for SecurityScanStatus to be an explicit nil + +### UnsetSecurityScanStatus +`func (o *LuarocksPackageUploadResponse) UnsetSecurityScanStatus()` + +UnsetSecurityScanStatus ensures that no value is present for SecurityScanStatus, not even an explicit nil +### GetSecurityScanStatusUpdatedAt + +`func (o *LuarocksPackageUploadResponse) GetSecurityScanStatusUpdatedAt() time.Time` + +GetSecurityScanStatusUpdatedAt returns the SecurityScanStatusUpdatedAt field if non-nil, zero value otherwise. + +### GetSecurityScanStatusUpdatedAtOk + +`func (o *LuarocksPackageUploadResponse) GetSecurityScanStatusUpdatedAtOk() (*time.Time, bool)` + +GetSecurityScanStatusUpdatedAtOk returns a tuple with the SecurityScanStatusUpdatedAt field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetSecurityScanStatusUpdatedAt + +`func (o *LuarocksPackageUploadResponse) SetSecurityScanStatusUpdatedAt(v time.Time)` + +SetSecurityScanStatusUpdatedAt sets SecurityScanStatusUpdatedAt field to given value. + +### HasSecurityScanStatusUpdatedAt + +`func (o *LuarocksPackageUploadResponse) HasSecurityScanStatusUpdatedAt() bool` + +HasSecurityScanStatusUpdatedAt returns a boolean if a field has been set. + +### GetSelfHtmlUrl + +`func (o *LuarocksPackageUploadResponse) GetSelfHtmlUrl() string` + +GetSelfHtmlUrl returns the SelfHtmlUrl field if non-nil, zero value otherwise. + +### GetSelfHtmlUrlOk + +`func (o *LuarocksPackageUploadResponse) GetSelfHtmlUrlOk() (*string, bool)` + +GetSelfHtmlUrlOk returns a tuple with the SelfHtmlUrl field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetSelfHtmlUrl + +`func (o *LuarocksPackageUploadResponse) SetSelfHtmlUrl(v string)` + +SetSelfHtmlUrl sets SelfHtmlUrl field to given value. + +### HasSelfHtmlUrl + +`func (o *LuarocksPackageUploadResponse) HasSelfHtmlUrl() bool` + +HasSelfHtmlUrl returns a boolean if a field has been set. + +### GetSelfUrl + +`func (o *LuarocksPackageUploadResponse) GetSelfUrl() string` + +GetSelfUrl returns the SelfUrl field if non-nil, zero value otherwise. + +### GetSelfUrlOk + +`func (o *LuarocksPackageUploadResponse) GetSelfUrlOk() (*string, bool)` + +GetSelfUrlOk returns a tuple with the SelfUrl field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetSelfUrl + +`func (o *LuarocksPackageUploadResponse) SetSelfUrl(v string)` + +SetSelfUrl sets SelfUrl field to given value. + +### HasSelfUrl + +`func (o *LuarocksPackageUploadResponse) HasSelfUrl() bool` + +HasSelfUrl returns a boolean if a field has been set. + +### GetSignatureUrl + +`func (o *LuarocksPackageUploadResponse) GetSignatureUrl() string` + +GetSignatureUrl returns the SignatureUrl field if non-nil, zero value otherwise. + +### GetSignatureUrlOk + +`func (o *LuarocksPackageUploadResponse) GetSignatureUrlOk() (*string, bool)` + +GetSignatureUrlOk returns a tuple with the SignatureUrl field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetSignatureUrl + +`func (o *LuarocksPackageUploadResponse) SetSignatureUrl(v string)` + +SetSignatureUrl sets SignatureUrl field to given value. + +### HasSignatureUrl + +`func (o *LuarocksPackageUploadResponse) HasSignatureUrl() bool` + +HasSignatureUrl returns a boolean if a field has been set. + +### SetSignatureUrlNil + +`func (o *LuarocksPackageUploadResponse) SetSignatureUrlNil(b bool)` + + SetSignatureUrlNil sets the value for SignatureUrl to be an explicit nil + +### UnsetSignatureUrl +`func (o *LuarocksPackageUploadResponse) UnsetSignatureUrl()` + +UnsetSignatureUrl ensures that no value is present for SignatureUrl, not even an explicit nil +### GetSize + +`func (o *LuarocksPackageUploadResponse) GetSize() int64` + +GetSize returns the Size field if non-nil, zero value otherwise. + +### GetSizeOk + +`func (o *LuarocksPackageUploadResponse) GetSizeOk() (*int64, bool)` + +GetSizeOk returns a tuple with the Size field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetSize + +`func (o *LuarocksPackageUploadResponse) SetSize(v int64)` + +SetSize sets Size field to given value. + +### HasSize + +`func (o *LuarocksPackageUploadResponse) HasSize() bool` + +HasSize returns a boolean if a field has been set. + +### GetSlug + +`func (o *LuarocksPackageUploadResponse) GetSlug() string` + +GetSlug returns the Slug field if non-nil, zero value otherwise. + +### GetSlugOk + +`func (o *LuarocksPackageUploadResponse) GetSlugOk() (*string, bool)` + +GetSlugOk returns a tuple with the Slug field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetSlug + +`func (o *LuarocksPackageUploadResponse) SetSlug(v string)` + +SetSlug sets Slug field to given value. + +### HasSlug + +`func (o *LuarocksPackageUploadResponse) HasSlug() bool` + +HasSlug returns a boolean if a field has been set. + +### GetSlugPerm + +`func (o *LuarocksPackageUploadResponse) GetSlugPerm() string` + +GetSlugPerm returns the SlugPerm field if non-nil, zero value otherwise. + +### GetSlugPermOk + +`func (o *LuarocksPackageUploadResponse) GetSlugPermOk() (*string, bool)` + +GetSlugPermOk returns a tuple with the SlugPerm field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetSlugPerm + +`func (o *LuarocksPackageUploadResponse) SetSlugPerm(v string)` + +SetSlugPerm sets SlugPerm field to given value. + +### HasSlugPerm + +`func (o *LuarocksPackageUploadResponse) HasSlugPerm() bool` + +HasSlugPerm returns a boolean if a field has been set. + +### GetStage + +`func (o *LuarocksPackageUploadResponse) GetStage() int64` + +GetStage returns the Stage field if non-nil, zero value otherwise. + +### GetStageOk + +`func (o *LuarocksPackageUploadResponse) GetStageOk() (*int64, bool)` + +GetStageOk returns a tuple with the Stage field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetStage + +`func (o *LuarocksPackageUploadResponse) SetStage(v int64)` + +SetStage sets Stage field to given value. + +### HasStage + +`func (o *LuarocksPackageUploadResponse) HasStage() bool` + +HasStage returns a boolean if a field has been set. + +### GetStageStr + +`func (o *LuarocksPackageUploadResponse) GetStageStr() string` + +GetStageStr returns the StageStr field if non-nil, zero value otherwise. + +### GetStageStrOk + +`func (o *LuarocksPackageUploadResponse) GetStageStrOk() (*string, bool)` + +GetStageStrOk returns a tuple with the StageStr field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetStageStr + +`func (o *LuarocksPackageUploadResponse) SetStageStr(v string)` + +SetStageStr sets StageStr field to given value. + +### HasStageStr + +`func (o *LuarocksPackageUploadResponse) HasStageStr() bool` + +HasStageStr returns a boolean if a field has been set. + +### GetStageUpdatedAt + +`func (o *LuarocksPackageUploadResponse) GetStageUpdatedAt() time.Time` + +GetStageUpdatedAt returns the StageUpdatedAt field if non-nil, zero value otherwise. + +### GetStageUpdatedAtOk + +`func (o *LuarocksPackageUploadResponse) GetStageUpdatedAtOk() (*time.Time, bool)` + +GetStageUpdatedAtOk returns a tuple with the StageUpdatedAt field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetStageUpdatedAt + +`func (o *LuarocksPackageUploadResponse) SetStageUpdatedAt(v time.Time)` + +SetStageUpdatedAt sets StageUpdatedAt field to given value. + +### HasStageUpdatedAt + +`func (o *LuarocksPackageUploadResponse) HasStageUpdatedAt() bool` + +HasStageUpdatedAt returns a boolean if a field has been set. + +### GetStatus + +`func (o *LuarocksPackageUploadResponse) GetStatus() int64` + +GetStatus returns the Status field if non-nil, zero value otherwise. + +### GetStatusOk + +`func (o *LuarocksPackageUploadResponse) GetStatusOk() (*int64, bool)` + +GetStatusOk returns a tuple with the Status field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetStatus + +`func (o *LuarocksPackageUploadResponse) SetStatus(v int64)` + +SetStatus sets Status field to given value. + +### HasStatus + +`func (o *LuarocksPackageUploadResponse) HasStatus() bool` + +HasStatus returns a boolean if a field has been set. + +### GetStatusReason + +`func (o *LuarocksPackageUploadResponse) GetStatusReason() string` + +GetStatusReason returns the StatusReason field if non-nil, zero value otherwise. + +### GetStatusReasonOk + +`func (o *LuarocksPackageUploadResponse) GetStatusReasonOk() (*string, bool)` + +GetStatusReasonOk returns a tuple with the StatusReason field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetStatusReason + +`func (o *LuarocksPackageUploadResponse) SetStatusReason(v string)` + +SetStatusReason sets StatusReason field to given value. + +### HasStatusReason + +`func (o *LuarocksPackageUploadResponse) HasStatusReason() bool` + +HasStatusReason returns a boolean if a field has been set. + +### GetStatusStr + +`func (o *LuarocksPackageUploadResponse) GetStatusStr() string` + +GetStatusStr returns the StatusStr field if non-nil, zero value otherwise. + +### GetStatusStrOk + +`func (o *LuarocksPackageUploadResponse) GetStatusStrOk() (*string, bool)` + +GetStatusStrOk returns a tuple with the StatusStr field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetStatusStr + +`func (o *LuarocksPackageUploadResponse) SetStatusStr(v string)` + +SetStatusStr sets StatusStr field to given value. + +### HasStatusStr + +`func (o *LuarocksPackageUploadResponse) HasStatusStr() bool` + +HasStatusStr returns a boolean if a field has been set. + +### GetStatusUpdatedAt + +`func (o *LuarocksPackageUploadResponse) GetStatusUpdatedAt() time.Time` + +GetStatusUpdatedAt returns the StatusUpdatedAt field if non-nil, zero value otherwise. + +### GetStatusUpdatedAtOk + +`func (o *LuarocksPackageUploadResponse) GetStatusUpdatedAtOk() (*time.Time, bool)` + +GetStatusUpdatedAtOk returns a tuple with the StatusUpdatedAt field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetStatusUpdatedAt + +`func (o *LuarocksPackageUploadResponse) SetStatusUpdatedAt(v time.Time)` + +SetStatusUpdatedAt sets StatusUpdatedAt field to given value. + +### HasStatusUpdatedAt + +`func (o *LuarocksPackageUploadResponse) HasStatusUpdatedAt() bool` + +HasStatusUpdatedAt returns a boolean if a field has been set. + +### GetStatusUrl + +`func (o *LuarocksPackageUploadResponse) GetStatusUrl() string` + +GetStatusUrl returns the StatusUrl field if non-nil, zero value otherwise. + +### GetStatusUrlOk + +`func (o *LuarocksPackageUploadResponse) GetStatusUrlOk() (*string, bool)` + +GetStatusUrlOk returns a tuple with the StatusUrl field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetStatusUrl + +`func (o *LuarocksPackageUploadResponse) SetStatusUrl(v string)` + +SetStatusUrl sets StatusUrl field to given value. + +### HasStatusUrl + +`func (o *LuarocksPackageUploadResponse) HasStatusUrl() bool` + +HasStatusUrl returns a boolean if a field has been set. + +### GetSubtype + +`func (o *LuarocksPackageUploadResponse) GetSubtype() string` + +GetSubtype returns the Subtype field if non-nil, zero value otherwise. + +### GetSubtypeOk + +`func (o *LuarocksPackageUploadResponse) GetSubtypeOk() (*string, bool)` + +GetSubtypeOk returns a tuple with the Subtype field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetSubtype + +`func (o *LuarocksPackageUploadResponse) SetSubtype(v string)` + +SetSubtype sets Subtype field to given value. + +### HasSubtype + +`func (o *LuarocksPackageUploadResponse) HasSubtype() bool` + +HasSubtype returns a boolean if a field has been set. + +### GetSummary + +`func (o *LuarocksPackageUploadResponse) GetSummary() string` + +GetSummary returns the Summary field if non-nil, zero value otherwise. + +### GetSummaryOk + +`func (o *LuarocksPackageUploadResponse) GetSummaryOk() (*string, bool)` + +GetSummaryOk returns a tuple with the Summary field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetSummary + +`func (o *LuarocksPackageUploadResponse) SetSummary(v string)` + +SetSummary sets Summary field to given value. + +### HasSummary + +`func (o *LuarocksPackageUploadResponse) HasSummary() bool` + +HasSummary returns a boolean if a field has been set. + +### GetSyncFinishedAt + +`func (o *LuarocksPackageUploadResponse) GetSyncFinishedAt() time.Time` + +GetSyncFinishedAt returns the SyncFinishedAt field if non-nil, zero value otherwise. + +### GetSyncFinishedAtOk + +`func (o *LuarocksPackageUploadResponse) GetSyncFinishedAtOk() (*time.Time, bool)` + +GetSyncFinishedAtOk returns a tuple with the SyncFinishedAt field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetSyncFinishedAt + +`func (o *LuarocksPackageUploadResponse) SetSyncFinishedAt(v time.Time)` + +SetSyncFinishedAt sets SyncFinishedAt field to given value. + +### HasSyncFinishedAt + +`func (o *LuarocksPackageUploadResponse) HasSyncFinishedAt() bool` + +HasSyncFinishedAt returns a boolean if a field has been set. + +### GetSyncProgress + +`func (o *LuarocksPackageUploadResponse) GetSyncProgress() int64` + +GetSyncProgress returns the SyncProgress field if non-nil, zero value otherwise. + +### GetSyncProgressOk + +`func (o *LuarocksPackageUploadResponse) GetSyncProgressOk() (*int64, bool)` + +GetSyncProgressOk returns a tuple with the SyncProgress field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetSyncProgress + +`func (o *LuarocksPackageUploadResponse) SetSyncProgress(v int64)` + +SetSyncProgress sets SyncProgress field to given value. + +### HasSyncProgress + +`func (o *LuarocksPackageUploadResponse) HasSyncProgress() bool` + +HasSyncProgress returns a boolean if a field has been set. + +### GetTagsImmutable + +`func (o *LuarocksPackageUploadResponse) GetTagsImmutable() map[string]interface{}` + +GetTagsImmutable returns the TagsImmutable field if non-nil, zero value otherwise. + +### GetTagsImmutableOk + +`func (o *LuarocksPackageUploadResponse) GetTagsImmutableOk() (*map[string]interface{}, bool)` + +GetTagsImmutableOk returns a tuple with the TagsImmutable field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetTagsImmutable + +`func (o *LuarocksPackageUploadResponse) SetTagsImmutable(v map[string]interface{})` + +SetTagsImmutable sets TagsImmutable field to given value. + +### HasTagsImmutable + +`func (o *LuarocksPackageUploadResponse) HasTagsImmutable() bool` + +HasTagsImmutable returns a boolean if a field has been set. + +### GetTypeDisplay + +`func (o *LuarocksPackageUploadResponse) GetTypeDisplay() string` + +GetTypeDisplay returns the TypeDisplay field if non-nil, zero value otherwise. + +### GetTypeDisplayOk + +`func (o *LuarocksPackageUploadResponse) GetTypeDisplayOk() (*string, bool)` + +GetTypeDisplayOk returns a tuple with the TypeDisplay field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetTypeDisplay + +`func (o *LuarocksPackageUploadResponse) SetTypeDisplay(v string)` + +SetTypeDisplay sets TypeDisplay field to given value. + +### HasTypeDisplay + +`func (o *LuarocksPackageUploadResponse) HasTypeDisplay() bool` + +HasTypeDisplay returns a boolean if a field has been set. + +### GetUploadedAt + +`func (o *LuarocksPackageUploadResponse) GetUploadedAt() time.Time` + +GetUploadedAt returns the UploadedAt field if non-nil, zero value otherwise. + +### GetUploadedAtOk + +`func (o *LuarocksPackageUploadResponse) GetUploadedAtOk() (*time.Time, bool)` + +GetUploadedAtOk returns a tuple with the UploadedAt field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetUploadedAt + +`func (o *LuarocksPackageUploadResponse) SetUploadedAt(v time.Time)` + +SetUploadedAt sets UploadedAt field to given value. + +### HasUploadedAt + +`func (o *LuarocksPackageUploadResponse) HasUploadedAt() bool` + +HasUploadedAt returns a boolean if a field has been set. + +### GetUploader + +`func (o *LuarocksPackageUploadResponse) GetUploader() string` + +GetUploader returns the Uploader field if non-nil, zero value otherwise. + +### GetUploaderOk + +`func (o *LuarocksPackageUploadResponse) GetUploaderOk() (*string, bool)` + +GetUploaderOk returns a tuple with the Uploader field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetUploader + +`func (o *LuarocksPackageUploadResponse) SetUploader(v string)` + +SetUploader sets Uploader field to given value. + +### HasUploader + +`func (o *LuarocksPackageUploadResponse) HasUploader() bool` + +HasUploader returns a boolean if a field has been set. + +### GetUploaderUrl + +`func (o *LuarocksPackageUploadResponse) GetUploaderUrl() string` + +GetUploaderUrl returns the UploaderUrl field if non-nil, zero value otherwise. + +### GetUploaderUrlOk + +`func (o *LuarocksPackageUploadResponse) GetUploaderUrlOk() (*string, bool)` + +GetUploaderUrlOk returns a tuple with the UploaderUrl field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetUploaderUrl + +`func (o *LuarocksPackageUploadResponse) SetUploaderUrl(v string)` + +SetUploaderUrl sets UploaderUrl field to given value. + +### HasUploaderUrl + +`func (o *LuarocksPackageUploadResponse) HasUploaderUrl() bool` + +HasUploaderUrl returns a boolean if a field has been set. + +### GetVersion + +`func (o *LuarocksPackageUploadResponse) GetVersion() string` + +GetVersion returns the Version field if non-nil, zero value otherwise. + +### GetVersionOk + +`func (o *LuarocksPackageUploadResponse) GetVersionOk() (*string, bool)` + +GetVersionOk returns a tuple with the Version field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetVersion + +`func (o *LuarocksPackageUploadResponse) SetVersion(v string)` + +SetVersion sets Version field to given value. + +### HasVersion + +`func (o *LuarocksPackageUploadResponse) HasVersion() bool` + +HasVersion returns a boolean if a field has been set. + +### GetVersionOrig + +`func (o *LuarocksPackageUploadResponse) GetVersionOrig() string` + +GetVersionOrig returns the VersionOrig field if non-nil, zero value otherwise. + +### GetVersionOrigOk + +`func (o *LuarocksPackageUploadResponse) GetVersionOrigOk() (*string, bool)` + +GetVersionOrigOk returns a tuple with the VersionOrig field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetVersionOrig + +`func (o *LuarocksPackageUploadResponse) SetVersionOrig(v string)` + +SetVersionOrig sets VersionOrig field to given value. + +### HasVersionOrig + +`func (o *LuarocksPackageUploadResponse) HasVersionOrig() bool` + +HasVersionOrig returns a boolean if a field has been set. + +### GetVulnerabilityScanResultsUrl + +`func (o *LuarocksPackageUploadResponse) GetVulnerabilityScanResultsUrl() string` + +GetVulnerabilityScanResultsUrl returns the VulnerabilityScanResultsUrl field if non-nil, zero value otherwise. + +### GetVulnerabilityScanResultsUrlOk + +`func (o *LuarocksPackageUploadResponse) GetVulnerabilityScanResultsUrlOk() (*string, bool)` + +GetVulnerabilityScanResultsUrlOk returns a tuple with the VulnerabilityScanResultsUrl field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetVulnerabilityScanResultsUrl + +`func (o *LuarocksPackageUploadResponse) SetVulnerabilityScanResultsUrl(v string)` + +SetVulnerabilityScanResultsUrl sets VulnerabilityScanResultsUrl field to given value. + +### HasVulnerabilityScanResultsUrl + +`func (o *LuarocksPackageUploadResponse) HasVulnerabilityScanResultsUrl() bool` + +HasVulnerabilityScanResultsUrl 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/docs/MavenPackageUploadRequest.md b/docs/MavenPackageUploadRequest.md new file mode 100644 index 00000000..16fb4c7c --- /dev/null +++ b/docs/MavenPackageUploadRequest.md @@ -0,0 +1,401 @@ +# MavenPackageUploadRequest + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**ArtifactId** | Pointer to **NullableString** | The ID of the artifact. | [optional] +**GroupId** | Pointer to **NullableString** | Artifact's group ID. | [optional] +**JavadocFile** | Pointer to **NullableString** | Adds bundled Java documentation to the Maven package | [optional] +**PackageFile** | **string** | The primary file for the package. | +**Packaging** | Pointer to **NullableString** | Artifact's Maven packaging type. | [optional] +**PomFile** | Pointer to **NullableString** | The POM file is an XML file containing the Maven coordinates. | [optional] +**Republish** | Pointer to **bool** | If true, the uploaded package will overwrite any others with the same attributes (e.g. same version); otherwise, it will be flagged as a duplicate. | [optional] +**SourcesFile** | Pointer to **NullableString** | Adds bundled Java source code to the Maven package. | [optional] +**Tags** | Pointer to **NullableString** | A comma-separated values list of tags to add to the package. | [optional] +**TestsFile** | Pointer to **NullableString** | Adds bundled Java tests to the Maven package. | [optional] +**Version** | Pointer to **NullableString** | The raw version for this package. | [optional] + +## Methods + +### NewMavenPackageUploadRequest + +`func NewMavenPackageUploadRequest(packageFile string, ) *MavenPackageUploadRequest` + +NewMavenPackageUploadRequest instantiates a new MavenPackageUploadRequest object +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 + +### NewMavenPackageUploadRequestWithDefaults + +`func NewMavenPackageUploadRequestWithDefaults() *MavenPackageUploadRequest` + +NewMavenPackageUploadRequestWithDefaults instantiates a new MavenPackageUploadRequest object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetArtifactId + +`func (o *MavenPackageUploadRequest) GetArtifactId() string` + +GetArtifactId returns the ArtifactId field if non-nil, zero value otherwise. + +### GetArtifactIdOk + +`func (o *MavenPackageUploadRequest) GetArtifactIdOk() (*string, bool)` + +GetArtifactIdOk returns a tuple with the ArtifactId field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetArtifactId + +`func (o *MavenPackageUploadRequest) SetArtifactId(v string)` + +SetArtifactId sets ArtifactId field to given value. + +### HasArtifactId + +`func (o *MavenPackageUploadRequest) HasArtifactId() bool` + +HasArtifactId returns a boolean if a field has been set. + +### SetArtifactIdNil + +`func (o *MavenPackageUploadRequest) SetArtifactIdNil(b bool)` + + SetArtifactIdNil sets the value for ArtifactId to be an explicit nil + +### UnsetArtifactId +`func (o *MavenPackageUploadRequest) UnsetArtifactId()` + +UnsetArtifactId ensures that no value is present for ArtifactId, not even an explicit nil +### GetGroupId + +`func (o *MavenPackageUploadRequest) GetGroupId() string` + +GetGroupId returns the GroupId field if non-nil, zero value otherwise. + +### GetGroupIdOk + +`func (o *MavenPackageUploadRequest) GetGroupIdOk() (*string, bool)` + +GetGroupIdOk returns a tuple with the GroupId field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetGroupId + +`func (o *MavenPackageUploadRequest) SetGroupId(v string)` + +SetGroupId sets GroupId field to given value. + +### HasGroupId + +`func (o *MavenPackageUploadRequest) HasGroupId() bool` + +HasGroupId returns a boolean if a field has been set. + +### SetGroupIdNil + +`func (o *MavenPackageUploadRequest) SetGroupIdNil(b bool)` + + SetGroupIdNil sets the value for GroupId to be an explicit nil + +### UnsetGroupId +`func (o *MavenPackageUploadRequest) UnsetGroupId()` + +UnsetGroupId ensures that no value is present for GroupId, not even an explicit nil +### GetJavadocFile + +`func (o *MavenPackageUploadRequest) GetJavadocFile() string` + +GetJavadocFile returns the JavadocFile field if non-nil, zero value otherwise. + +### GetJavadocFileOk + +`func (o *MavenPackageUploadRequest) GetJavadocFileOk() (*string, bool)` + +GetJavadocFileOk returns a tuple with the JavadocFile field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetJavadocFile + +`func (o *MavenPackageUploadRequest) SetJavadocFile(v string)` + +SetJavadocFile sets JavadocFile field to given value. + +### HasJavadocFile + +`func (o *MavenPackageUploadRequest) HasJavadocFile() bool` + +HasJavadocFile returns a boolean if a field has been set. + +### SetJavadocFileNil + +`func (o *MavenPackageUploadRequest) SetJavadocFileNil(b bool)` + + SetJavadocFileNil sets the value for JavadocFile to be an explicit nil + +### UnsetJavadocFile +`func (o *MavenPackageUploadRequest) UnsetJavadocFile()` + +UnsetJavadocFile ensures that no value is present for JavadocFile, not even an explicit nil +### GetPackageFile + +`func (o *MavenPackageUploadRequest) GetPackageFile() string` + +GetPackageFile returns the PackageFile field if non-nil, zero value otherwise. + +### GetPackageFileOk + +`func (o *MavenPackageUploadRequest) GetPackageFileOk() (*string, bool)` + +GetPackageFileOk returns a tuple with the PackageFile field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetPackageFile + +`func (o *MavenPackageUploadRequest) SetPackageFile(v string)` + +SetPackageFile sets PackageFile field to given value. + + +### GetPackaging + +`func (o *MavenPackageUploadRequest) GetPackaging() string` + +GetPackaging returns the Packaging field if non-nil, zero value otherwise. + +### GetPackagingOk + +`func (o *MavenPackageUploadRequest) GetPackagingOk() (*string, bool)` + +GetPackagingOk returns a tuple with the Packaging field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetPackaging + +`func (o *MavenPackageUploadRequest) SetPackaging(v string)` + +SetPackaging sets Packaging field to given value. + +### HasPackaging + +`func (o *MavenPackageUploadRequest) HasPackaging() bool` + +HasPackaging returns a boolean if a field has been set. + +### SetPackagingNil + +`func (o *MavenPackageUploadRequest) SetPackagingNil(b bool)` + + SetPackagingNil sets the value for Packaging to be an explicit nil + +### UnsetPackaging +`func (o *MavenPackageUploadRequest) UnsetPackaging()` + +UnsetPackaging ensures that no value is present for Packaging, not even an explicit nil +### GetPomFile + +`func (o *MavenPackageUploadRequest) GetPomFile() string` + +GetPomFile returns the PomFile field if non-nil, zero value otherwise. + +### GetPomFileOk + +`func (o *MavenPackageUploadRequest) GetPomFileOk() (*string, bool)` + +GetPomFileOk returns a tuple with the PomFile field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetPomFile + +`func (o *MavenPackageUploadRequest) SetPomFile(v string)` + +SetPomFile sets PomFile field to given value. + +### HasPomFile + +`func (o *MavenPackageUploadRequest) HasPomFile() bool` + +HasPomFile returns a boolean if a field has been set. + +### SetPomFileNil + +`func (o *MavenPackageUploadRequest) SetPomFileNil(b bool)` + + SetPomFileNil sets the value for PomFile to be an explicit nil + +### UnsetPomFile +`func (o *MavenPackageUploadRequest) UnsetPomFile()` + +UnsetPomFile ensures that no value is present for PomFile, not even an explicit nil +### GetRepublish + +`func (o *MavenPackageUploadRequest) GetRepublish() bool` + +GetRepublish returns the Republish field if non-nil, zero value otherwise. + +### GetRepublishOk + +`func (o *MavenPackageUploadRequest) GetRepublishOk() (*bool, bool)` + +GetRepublishOk returns a tuple with the Republish field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetRepublish + +`func (o *MavenPackageUploadRequest) SetRepublish(v bool)` + +SetRepublish sets Republish field to given value. + +### HasRepublish + +`func (o *MavenPackageUploadRequest) HasRepublish() bool` + +HasRepublish returns a boolean if a field has been set. + +### GetSourcesFile + +`func (o *MavenPackageUploadRequest) GetSourcesFile() string` + +GetSourcesFile returns the SourcesFile field if non-nil, zero value otherwise. + +### GetSourcesFileOk + +`func (o *MavenPackageUploadRequest) GetSourcesFileOk() (*string, bool)` + +GetSourcesFileOk returns a tuple with the SourcesFile field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetSourcesFile + +`func (o *MavenPackageUploadRequest) SetSourcesFile(v string)` + +SetSourcesFile sets SourcesFile field to given value. + +### HasSourcesFile + +`func (o *MavenPackageUploadRequest) HasSourcesFile() bool` + +HasSourcesFile returns a boolean if a field has been set. + +### SetSourcesFileNil + +`func (o *MavenPackageUploadRequest) SetSourcesFileNil(b bool)` + + SetSourcesFileNil sets the value for SourcesFile to be an explicit nil + +### UnsetSourcesFile +`func (o *MavenPackageUploadRequest) UnsetSourcesFile()` + +UnsetSourcesFile ensures that no value is present for SourcesFile, not even an explicit nil +### GetTags + +`func (o *MavenPackageUploadRequest) GetTags() string` + +GetTags returns the Tags field if non-nil, zero value otherwise. + +### GetTagsOk + +`func (o *MavenPackageUploadRequest) GetTagsOk() (*string, bool)` + +GetTagsOk returns a tuple with the Tags field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetTags + +`func (o *MavenPackageUploadRequest) SetTags(v string)` + +SetTags sets Tags field to given value. + +### HasTags + +`func (o *MavenPackageUploadRequest) HasTags() bool` + +HasTags returns a boolean if a field has been set. + +### SetTagsNil + +`func (o *MavenPackageUploadRequest) SetTagsNil(b bool)` + + SetTagsNil sets the value for Tags to be an explicit nil + +### UnsetTags +`func (o *MavenPackageUploadRequest) UnsetTags()` + +UnsetTags ensures that no value is present for Tags, not even an explicit nil +### GetTestsFile + +`func (o *MavenPackageUploadRequest) GetTestsFile() string` + +GetTestsFile returns the TestsFile field if non-nil, zero value otherwise. + +### GetTestsFileOk + +`func (o *MavenPackageUploadRequest) GetTestsFileOk() (*string, bool)` + +GetTestsFileOk returns a tuple with the TestsFile field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetTestsFile + +`func (o *MavenPackageUploadRequest) SetTestsFile(v string)` + +SetTestsFile sets TestsFile field to given value. + +### HasTestsFile + +`func (o *MavenPackageUploadRequest) HasTestsFile() bool` + +HasTestsFile returns a boolean if a field has been set. + +### SetTestsFileNil + +`func (o *MavenPackageUploadRequest) SetTestsFileNil(b bool)` + + SetTestsFileNil sets the value for TestsFile to be an explicit nil + +### UnsetTestsFile +`func (o *MavenPackageUploadRequest) UnsetTestsFile()` + +UnsetTestsFile ensures that no value is present for TestsFile, not even an explicit nil +### GetVersion + +`func (o *MavenPackageUploadRequest) GetVersion() string` + +GetVersion returns the Version field if non-nil, zero value otherwise. + +### GetVersionOk + +`func (o *MavenPackageUploadRequest) GetVersionOk() (*string, bool)` + +GetVersionOk returns a tuple with the Version field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetVersion + +`func (o *MavenPackageUploadRequest) SetVersion(v string)` + +SetVersion sets Version field to given value. + +### HasVersion + +`func (o *MavenPackageUploadRequest) HasVersion() bool` + +HasVersion returns a boolean if a field has been set. + +### SetVersionNil + +`func (o *MavenPackageUploadRequest) SetVersionNil(b bool)` + + SetVersionNil sets the value for Version to be an explicit nil + +### UnsetVersion +`func (o *MavenPackageUploadRequest) UnsetVersion()` + +UnsetVersion ensures that no value is present for Version, 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/docs/MavenPackageUploadResponse.md b/docs/MavenPackageUploadResponse.md new file mode 100644 index 00000000..443d544d --- /dev/null +++ b/docs/MavenPackageUploadResponse.md @@ -0,0 +1,1956 @@ +# MavenPackageUploadResponse + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Architectures** | Pointer to [**[]Architecture**](Architecture.md) | | [optional] [readonly] +**ArtifactId** | Pointer to **NullableString** | The ID of the artifact. | [optional] +**CdnUrl** | Pointer to **NullableString** | | [optional] [readonly] +**ChecksumMd5** | Pointer to **string** | | [optional] [readonly] +**ChecksumSha1** | Pointer to **string** | | [optional] [readonly] +**ChecksumSha256** | Pointer to **string** | | [optional] [readonly] +**ChecksumSha512** | Pointer to **string** | | [optional] [readonly] +**DependenciesChecksumMd5** | Pointer to **string** | A checksum of all of the package's dependencies. | [optional] [readonly] +**DependenciesUrl** | Pointer to **string** | | [optional] [readonly] +**Description** | Pointer to **string** | A textual description of this package. | [optional] [readonly] +**Distro** | Pointer to [**NullableDistribution**](Distribution.md) | | [optional] +**DistroVersion** | Pointer to [**DistributionVersion**](DistributionVersion.md) | | [optional] +**Downloads** | Pointer to **int64** | | [optional] [readonly] +**Epoch** | Pointer to **int64** | The epoch of the package version (if any). | [optional] [readonly] +**Extension** | Pointer to **string** | | [optional] [readonly] +**Filename** | Pointer to **string** | | [optional] [readonly] +**Files** | Pointer to [**[]PackageFile**](PackageFile.md) | | [optional] [readonly] +**Format** | Pointer to **string** | | [optional] [readonly] +**FormatUrl** | Pointer to **string** | | [optional] [readonly] +**GroupId** | Pointer to **NullableString** | Artifact's group ID. | [optional] +**IdentifierPerm** | Pointer to **string** | Unique and permanent identifier for the package. | [optional] [readonly] +**Indexed** | Pointer to **bool** | | [optional] [readonly] +**IsDownloadable** | Pointer to **bool** | | [optional] [readonly] +**IsQuarantined** | Pointer to **bool** | | [optional] [readonly] +**IsSyncAwaiting** | Pointer to **bool** | | [optional] [readonly] +**IsSyncCompleted** | Pointer to **bool** | | [optional] [readonly] +**IsSyncFailed** | Pointer to **bool** | | [optional] [readonly] +**IsSyncInFlight** | Pointer to **bool** | | [optional] [readonly] +**IsSyncInProgress** | Pointer to **bool** | | [optional] [readonly] +**License** | Pointer to **string** | The license of this package. | [optional] [readonly] +**Name** | Pointer to **string** | The name of this package. | [optional] [readonly] +**Namespace** | Pointer to **string** | | [optional] [readonly] +**NamespaceUrl** | Pointer to **string** | | [optional] [readonly] +**NumFiles** | Pointer to **int64** | | [optional] [readonly] +**OriginRepository** | Pointer to **string** | | [optional] [readonly] +**OriginRepositoryUrl** | Pointer to **string** | | [optional] [readonly] +**PackageType** | Pointer to **int64** | The type of package contents. | [optional] [readonly] +**Packaging** | Pointer to **NullableString** | Artifact's Maven packaging type. | [optional] +**Release** | Pointer to **string** | The release of the package version (if any). | [optional] [readonly] +**Repository** | Pointer to **string** | | [optional] [readonly] +**RepositoryUrl** | Pointer to **string** | | [optional] [readonly] +**SecurityScanCompletedAt** | Pointer to **time.Time** | The datetime the security scanning was completed. | [optional] [readonly] +**SecurityScanStartedAt** | Pointer to **time.Time** | The datetime the security scanning was started. | [optional] [readonly] +**SecurityScanStatus** | Pointer to **NullableString** | | [optional] [readonly] [default to "Awaiting Security Scan"] +**SecurityScanStatusUpdatedAt** | Pointer to **time.Time** | The datetime the security scanning status was updated. | [optional] [readonly] +**SelfHtmlUrl** | Pointer to **string** | | [optional] [readonly] +**SelfUrl** | Pointer to **string** | | [optional] [readonly] +**SignatureUrl** | Pointer to **NullableString** | | [optional] [readonly] +**Size** | Pointer to **int64** | The calculated size of the package. | [optional] [readonly] +**Slug** | Pointer to **string** | The public unique identifier for the package. | [optional] [readonly] +**SlugPerm** | Pointer to **string** | | [optional] [readonly] +**Stage** | Pointer to **int64** | The synchronisation (in progress) stage of the package. | [optional] [readonly] +**StageStr** | Pointer to **string** | | [optional] [readonly] +**StageUpdatedAt** | Pointer to **time.Time** | The datetime the package stage was updated at. | [optional] [readonly] +**Status** | Pointer to **int64** | The synchronisation status of the package. | [optional] [readonly] +**StatusReason** | Pointer to **string** | A textual description for the synchronous status reason (if any | [optional] [readonly] +**StatusStr** | Pointer to **string** | | [optional] [readonly] +**StatusUpdatedAt** | Pointer to **time.Time** | The datetime the package status was updated at. | [optional] [readonly] +**StatusUrl** | Pointer to **string** | | [optional] [readonly] +**Subtype** | Pointer to **string** | | [optional] [readonly] +**Summary** | Pointer to **string** | A one-liner synopsis of this package. | [optional] [readonly] +**SyncFinishedAt** | Pointer to **time.Time** | The datetime the package sync was finished at. | [optional] [readonly] +**SyncProgress** | Pointer to **int64** | Synchronisation progress (from 0-100) | [optional] [readonly] +**TagsImmutable** | Pointer to **map[string]interface{}** | All tags on the package, grouped by tag type. This includes immutable tags, but doesn't distinguish them from mutable. To see which tags are immutable specifically, see the tags_immutable field. | [optional] +**TypeDisplay** | Pointer to **string** | | [optional] [readonly] +**UploadedAt** | Pointer to **time.Time** | The date this package was uploaded. | [optional] [readonly] +**Uploader** | Pointer to **string** | | [optional] [readonly] +**UploaderUrl** | Pointer to **string** | | [optional] [readonly] +**Version** | Pointer to **NullableString** | The raw version for this package. | [optional] +**VersionOrig** | Pointer to **string** | | [optional] [readonly] +**VulnerabilityScanResultsUrl** | Pointer to **string** | | [optional] [readonly] + +## Methods + +### NewMavenPackageUploadResponse + +`func NewMavenPackageUploadResponse() *MavenPackageUploadResponse` + +NewMavenPackageUploadResponse instantiates a new MavenPackageUploadResponse object +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 + +### NewMavenPackageUploadResponseWithDefaults + +`func NewMavenPackageUploadResponseWithDefaults() *MavenPackageUploadResponse` + +NewMavenPackageUploadResponseWithDefaults instantiates a new MavenPackageUploadResponse object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetArchitectures + +`func (o *MavenPackageUploadResponse) GetArchitectures() []Architecture` + +GetArchitectures returns the Architectures field if non-nil, zero value otherwise. + +### GetArchitecturesOk + +`func (o *MavenPackageUploadResponse) GetArchitecturesOk() (*[]Architecture, bool)` + +GetArchitecturesOk returns a tuple with the Architectures field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetArchitectures + +`func (o *MavenPackageUploadResponse) SetArchitectures(v []Architecture)` + +SetArchitectures sets Architectures field to given value. + +### HasArchitectures + +`func (o *MavenPackageUploadResponse) HasArchitectures() bool` + +HasArchitectures returns a boolean if a field has been set. + +### GetArtifactId + +`func (o *MavenPackageUploadResponse) GetArtifactId() string` + +GetArtifactId returns the ArtifactId field if non-nil, zero value otherwise. + +### GetArtifactIdOk + +`func (o *MavenPackageUploadResponse) GetArtifactIdOk() (*string, bool)` + +GetArtifactIdOk returns a tuple with the ArtifactId field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetArtifactId + +`func (o *MavenPackageUploadResponse) SetArtifactId(v string)` + +SetArtifactId sets ArtifactId field to given value. + +### HasArtifactId + +`func (o *MavenPackageUploadResponse) HasArtifactId() bool` + +HasArtifactId returns a boolean if a field has been set. + +### SetArtifactIdNil + +`func (o *MavenPackageUploadResponse) SetArtifactIdNil(b bool)` + + SetArtifactIdNil sets the value for ArtifactId to be an explicit nil + +### UnsetArtifactId +`func (o *MavenPackageUploadResponse) UnsetArtifactId()` + +UnsetArtifactId ensures that no value is present for ArtifactId, not even an explicit nil +### GetCdnUrl + +`func (o *MavenPackageUploadResponse) GetCdnUrl() string` + +GetCdnUrl returns the CdnUrl field if non-nil, zero value otherwise. + +### GetCdnUrlOk + +`func (o *MavenPackageUploadResponse) GetCdnUrlOk() (*string, bool)` + +GetCdnUrlOk returns a tuple with the CdnUrl field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetCdnUrl + +`func (o *MavenPackageUploadResponse) SetCdnUrl(v string)` + +SetCdnUrl sets CdnUrl field to given value. + +### HasCdnUrl + +`func (o *MavenPackageUploadResponse) HasCdnUrl() bool` + +HasCdnUrl returns a boolean if a field has been set. + +### SetCdnUrlNil + +`func (o *MavenPackageUploadResponse) SetCdnUrlNil(b bool)` + + SetCdnUrlNil sets the value for CdnUrl to be an explicit nil + +### UnsetCdnUrl +`func (o *MavenPackageUploadResponse) UnsetCdnUrl()` + +UnsetCdnUrl ensures that no value is present for CdnUrl, not even an explicit nil +### GetChecksumMd5 + +`func (o *MavenPackageUploadResponse) GetChecksumMd5() string` + +GetChecksumMd5 returns the ChecksumMd5 field if non-nil, zero value otherwise. + +### GetChecksumMd5Ok + +`func (o *MavenPackageUploadResponse) GetChecksumMd5Ok() (*string, bool)` + +GetChecksumMd5Ok returns a tuple with the ChecksumMd5 field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetChecksumMd5 + +`func (o *MavenPackageUploadResponse) SetChecksumMd5(v string)` + +SetChecksumMd5 sets ChecksumMd5 field to given value. + +### HasChecksumMd5 + +`func (o *MavenPackageUploadResponse) HasChecksumMd5() bool` + +HasChecksumMd5 returns a boolean if a field has been set. + +### GetChecksumSha1 + +`func (o *MavenPackageUploadResponse) GetChecksumSha1() string` + +GetChecksumSha1 returns the ChecksumSha1 field if non-nil, zero value otherwise. + +### GetChecksumSha1Ok + +`func (o *MavenPackageUploadResponse) GetChecksumSha1Ok() (*string, bool)` + +GetChecksumSha1Ok returns a tuple with the ChecksumSha1 field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetChecksumSha1 + +`func (o *MavenPackageUploadResponse) SetChecksumSha1(v string)` + +SetChecksumSha1 sets ChecksumSha1 field to given value. + +### HasChecksumSha1 + +`func (o *MavenPackageUploadResponse) HasChecksumSha1() bool` + +HasChecksumSha1 returns a boolean if a field has been set. + +### GetChecksumSha256 + +`func (o *MavenPackageUploadResponse) GetChecksumSha256() string` + +GetChecksumSha256 returns the ChecksumSha256 field if non-nil, zero value otherwise. + +### GetChecksumSha256Ok + +`func (o *MavenPackageUploadResponse) GetChecksumSha256Ok() (*string, bool)` + +GetChecksumSha256Ok returns a tuple with the ChecksumSha256 field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetChecksumSha256 + +`func (o *MavenPackageUploadResponse) SetChecksumSha256(v string)` + +SetChecksumSha256 sets ChecksumSha256 field to given value. + +### HasChecksumSha256 + +`func (o *MavenPackageUploadResponse) HasChecksumSha256() bool` + +HasChecksumSha256 returns a boolean if a field has been set. + +### GetChecksumSha512 + +`func (o *MavenPackageUploadResponse) GetChecksumSha512() string` + +GetChecksumSha512 returns the ChecksumSha512 field if non-nil, zero value otherwise. + +### GetChecksumSha512Ok + +`func (o *MavenPackageUploadResponse) GetChecksumSha512Ok() (*string, bool)` + +GetChecksumSha512Ok returns a tuple with the ChecksumSha512 field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetChecksumSha512 + +`func (o *MavenPackageUploadResponse) SetChecksumSha512(v string)` + +SetChecksumSha512 sets ChecksumSha512 field to given value. + +### HasChecksumSha512 + +`func (o *MavenPackageUploadResponse) HasChecksumSha512() bool` + +HasChecksumSha512 returns a boolean if a field has been set. + +### GetDependenciesChecksumMd5 + +`func (o *MavenPackageUploadResponse) GetDependenciesChecksumMd5() string` + +GetDependenciesChecksumMd5 returns the DependenciesChecksumMd5 field if non-nil, zero value otherwise. + +### GetDependenciesChecksumMd5Ok + +`func (o *MavenPackageUploadResponse) GetDependenciesChecksumMd5Ok() (*string, bool)` + +GetDependenciesChecksumMd5Ok returns a tuple with the DependenciesChecksumMd5 field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetDependenciesChecksumMd5 + +`func (o *MavenPackageUploadResponse) SetDependenciesChecksumMd5(v string)` + +SetDependenciesChecksumMd5 sets DependenciesChecksumMd5 field to given value. + +### HasDependenciesChecksumMd5 + +`func (o *MavenPackageUploadResponse) HasDependenciesChecksumMd5() bool` + +HasDependenciesChecksumMd5 returns a boolean if a field has been set. + +### GetDependenciesUrl + +`func (o *MavenPackageUploadResponse) GetDependenciesUrl() string` + +GetDependenciesUrl returns the DependenciesUrl field if non-nil, zero value otherwise. + +### GetDependenciesUrlOk + +`func (o *MavenPackageUploadResponse) GetDependenciesUrlOk() (*string, bool)` + +GetDependenciesUrlOk returns a tuple with the DependenciesUrl field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetDependenciesUrl + +`func (o *MavenPackageUploadResponse) SetDependenciesUrl(v string)` + +SetDependenciesUrl sets DependenciesUrl field to given value. + +### HasDependenciesUrl + +`func (o *MavenPackageUploadResponse) HasDependenciesUrl() bool` + +HasDependenciesUrl returns a boolean if a field has been set. + +### GetDescription + +`func (o *MavenPackageUploadResponse) GetDescription() string` + +GetDescription returns the Description field if non-nil, zero value otherwise. + +### GetDescriptionOk + +`func (o *MavenPackageUploadResponse) GetDescriptionOk() (*string, bool)` + +GetDescriptionOk returns a tuple with the Description field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetDescription + +`func (o *MavenPackageUploadResponse) SetDescription(v string)` + +SetDescription sets Description field to given value. + +### HasDescription + +`func (o *MavenPackageUploadResponse) HasDescription() bool` + +HasDescription returns a boolean if a field has been set. + +### GetDistro + +`func (o *MavenPackageUploadResponse) GetDistro() Distribution` + +GetDistro returns the Distro field if non-nil, zero value otherwise. + +### GetDistroOk + +`func (o *MavenPackageUploadResponse) GetDistroOk() (*Distribution, bool)` + +GetDistroOk returns a tuple with the Distro field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetDistro + +`func (o *MavenPackageUploadResponse) SetDistro(v Distribution)` + +SetDistro sets Distro field to given value. + +### HasDistro + +`func (o *MavenPackageUploadResponse) HasDistro() bool` + +HasDistro returns a boolean if a field has been set. + +### SetDistroNil + +`func (o *MavenPackageUploadResponse) SetDistroNil(b bool)` + + SetDistroNil sets the value for Distro to be an explicit nil + +### UnsetDistro +`func (o *MavenPackageUploadResponse) UnsetDistro()` + +UnsetDistro ensures that no value is present for Distro, not even an explicit nil +### GetDistroVersion + +`func (o *MavenPackageUploadResponse) GetDistroVersion() DistributionVersion` + +GetDistroVersion returns the DistroVersion field if non-nil, zero value otherwise. + +### GetDistroVersionOk + +`func (o *MavenPackageUploadResponse) GetDistroVersionOk() (*DistributionVersion, bool)` + +GetDistroVersionOk returns a tuple with the DistroVersion field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetDistroVersion + +`func (o *MavenPackageUploadResponse) SetDistroVersion(v DistributionVersion)` + +SetDistroVersion sets DistroVersion field to given value. + +### HasDistroVersion + +`func (o *MavenPackageUploadResponse) HasDistroVersion() bool` + +HasDistroVersion returns a boolean if a field has been set. + +### GetDownloads + +`func (o *MavenPackageUploadResponse) GetDownloads() int64` + +GetDownloads returns the Downloads field if non-nil, zero value otherwise. + +### GetDownloadsOk + +`func (o *MavenPackageUploadResponse) GetDownloadsOk() (*int64, bool)` + +GetDownloadsOk returns a tuple with the Downloads field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetDownloads + +`func (o *MavenPackageUploadResponse) SetDownloads(v int64)` + +SetDownloads sets Downloads field to given value. + +### HasDownloads + +`func (o *MavenPackageUploadResponse) HasDownloads() bool` + +HasDownloads returns a boolean if a field has been set. + +### GetEpoch + +`func (o *MavenPackageUploadResponse) GetEpoch() int64` + +GetEpoch returns the Epoch field if non-nil, zero value otherwise. + +### GetEpochOk + +`func (o *MavenPackageUploadResponse) GetEpochOk() (*int64, bool)` + +GetEpochOk returns a tuple with the Epoch field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetEpoch + +`func (o *MavenPackageUploadResponse) SetEpoch(v int64)` + +SetEpoch sets Epoch field to given value. + +### HasEpoch + +`func (o *MavenPackageUploadResponse) HasEpoch() bool` + +HasEpoch returns a boolean if a field has been set. + +### GetExtension + +`func (o *MavenPackageUploadResponse) GetExtension() string` + +GetExtension returns the Extension field if non-nil, zero value otherwise. + +### GetExtensionOk + +`func (o *MavenPackageUploadResponse) GetExtensionOk() (*string, bool)` + +GetExtensionOk returns a tuple with the Extension field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetExtension + +`func (o *MavenPackageUploadResponse) SetExtension(v string)` + +SetExtension sets Extension field to given value. + +### HasExtension + +`func (o *MavenPackageUploadResponse) HasExtension() bool` + +HasExtension returns a boolean if a field has been set. + +### GetFilename + +`func (o *MavenPackageUploadResponse) GetFilename() string` + +GetFilename returns the Filename field if non-nil, zero value otherwise. + +### GetFilenameOk + +`func (o *MavenPackageUploadResponse) GetFilenameOk() (*string, bool)` + +GetFilenameOk returns a tuple with the Filename field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetFilename + +`func (o *MavenPackageUploadResponse) SetFilename(v string)` + +SetFilename sets Filename field to given value. + +### HasFilename + +`func (o *MavenPackageUploadResponse) HasFilename() bool` + +HasFilename returns a boolean if a field has been set. + +### GetFiles + +`func (o *MavenPackageUploadResponse) GetFiles() []PackageFile` + +GetFiles returns the Files field if non-nil, zero value otherwise. + +### GetFilesOk + +`func (o *MavenPackageUploadResponse) GetFilesOk() (*[]PackageFile, 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 *MavenPackageUploadResponse) SetFiles(v []PackageFile)` + +SetFiles sets Files field to given value. + +### HasFiles + +`func (o *MavenPackageUploadResponse) HasFiles() bool` + +HasFiles returns a boolean if a field has been set. + +### GetFormat + +`func (o *MavenPackageUploadResponse) GetFormat() string` + +GetFormat returns the Format field if non-nil, zero value otherwise. + +### GetFormatOk + +`func (o *MavenPackageUploadResponse) GetFormatOk() (*string, bool)` + +GetFormatOk returns a tuple with the Format field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetFormat + +`func (o *MavenPackageUploadResponse) SetFormat(v string)` + +SetFormat sets Format field to given value. + +### HasFormat + +`func (o *MavenPackageUploadResponse) HasFormat() bool` + +HasFormat returns a boolean if a field has been set. + +### GetFormatUrl + +`func (o *MavenPackageUploadResponse) GetFormatUrl() string` + +GetFormatUrl returns the FormatUrl field if non-nil, zero value otherwise. + +### GetFormatUrlOk + +`func (o *MavenPackageUploadResponse) GetFormatUrlOk() (*string, bool)` + +GetFormatUrlOk returns a tuple with the FormatUrl field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetFormatUrl + +`func (o *MavenPackageUploadResponse) SetFormatUrl(v string)` + +SetFormatUrl sets FormatUrl field to given value. + +### HasFormatUrl + +`func (o *MavenPackageUploadResponse) HasFormatUrl() bool` + +HasFormatUrl returns a boolean if a field has been set. + +### GetGroupId + +`func (o *MavenPackageUploadResponse) GetGroupId() string` + +GetGroupId returns the GroupId field if non-nil, zero value otherwise. + +### GetGroupIdOk + +`func (o *MavenPackageUploadResponse) GetGroupIdOk() (*string, bool)` + +GetGroupIdOk returns a tuple with the GroupId field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetGroupId + +`func (o *MavenPackageUploadResponse) SetGroupId(v string)` + +SetGroupId sets GroupId field to given value. + +### HasGroupId + +`func (o *MavenPackageUploadResponse) HasGroupId() bool` + +HasGroupId returns a boolean if a field has been set. + +### SetGroupIdNil + +`func (o *MavenPackageUploadResponse) SetGroupIdNil(b bool)` + + SetGroupIdNil sets the value for GroupId to be an explicit nil + +### UnsetGroupId +`func (o *MavenPackageUploadResponse) UnsetGroupId()` + +UnsetGroupId ensures that no value is present for GroupId, not even an explicit nil +### GetIdentifierPerm + +`func (o *MavenPackageUploadResponse) GetIdentifierPerm() string` + +GetIdentifierPerm returns the IdentifierPerm field if non-nil, zero value otherwise. + +### GetIdentifierPermOk + +`func (o *MavenPackageUploadResponse) GetIdentifierPermOk() (*string, bool)` + +GetIdentifierPermOk returns a tuple with the IdentifierPerm field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetIdentifierPerm + +`func (o *MavenPackageUploadResponse) SetIdentifierPerm(v string)` + +SetIdentifierPerm sets IdentifierPerm field to given value. + +### HasIdentifierPerm + +`func (o *MavenPackageUploadResponse) HasIdentifierPerm() bool` + +HasIdentifierPerm returns a boolean if a field has been set. + +### GetIndexed + +`func (o *MavenPackageUploadResponse) GetIndexed() bool` + +GetIndexed returns the Indexed field if non-nil, zero value otherwise. + +### GetIndexedOk + +`func (o *MavenPackageUploadResponse) GetIndexedOk() (*bool, bool)` + +GetIndexedOk returns a tuple with the Indexed field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetIndexed + +`func (o *MavenPackageUploadResponse) SetIndexed(v bool)` + +SetIndexed sets Indexed field to given value. + +### HasIndexed + +`func (o *MavenPackageUploadResponse) HasIndexed() bool` + +HasIndexed returns a boolean if a field has been set. + +### GetIsDownloadable + +`func (o *MavenPackageUploadResponse) GetIsDownloadable() bool` + +GetIsDownloadable returns the IsDownloadable field if non-nil, zero value otherwise. + +### GetIsDownloadableOk + +`func (o *MavenPackageUploadResponse) GetIsDownloadableOk() (*bool, bool)` + +GetIsDownloadableOk returns a tuple with the IsDownloadable field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetIsDownloadable + +`func (o *MavenPackageUploadResponse) SetIsDownloadable(v bool)` + +SetIsDownloadable sets IsDownloadable field to given value. + +### HasIsDownloadable + +`func (o *MavenPackageUploadResponse) HasIsDownloadable() bool` + +HasIsDownloadable returns a boolean if a field has been set. + +### GetIsQuarantined + +`func (o *MavenPackageUploadResponse) GetIsQuarantined() bool` + +GetIsQuarantined returns the IsQuarantined field if non-nil, zero value otherwise. + +### GetIsQuarantinedOk + +`func (o *MavenPackageUploadResponse) GetIsQuarantinedOk() (*bool, bool)` + +GetIsQuarantinedOk returns a tuple with the IsQuarantined field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetIsQuarantined + +`func (o *MavenPackageUploadResponse) SetIsQuarantined(v bool)` + +SetIsQuarantined sets IsQuarantined field to given value. + +### HasIsQuarantined + +`func (o *MavenPackageUploadResponse) HasIsQuarantined() bool` + +HasIsQuarantined returns a boolean if a field has been set. + +### GetIsSyncAwaiting + +`func (o *MavenPackageUploadResponse) GetIsSyncAwaiting() bool` + +GetIsSyncAwaiting returns the IsSyncAwaiting field if non-nil, zero value otherwise. + +### GetIsSyncAwaitingOk + +`func (o *MavenPackageUploadResponse) GetIsSyncAwaitingOk() (*bool, bool)` + +GetIsSyncAwaitingOk returns a tuple with the IsSyncAwaiting field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetIsSyncAwaiting + +`func (o *MavenPackageUploadResponse) SetIsSyncAwaiting(v bool)` + +SetIsSyncAwaiting sets IsSyncAwaiting field to given value. + +### HasIsSyncAwaiting + +`func (o *MavenPackageUploadResponse) HasIsSyncAwaiting() bool` + +HasIsSyncAwaiting returns a boolean if a field has been set. + +### GetIsSyncCompleted + +`func (o *MavenPackageUploadResponse) GetIsSyncCompleted() bool` + +GetIsSyncCompleted returns the IsSyncCompleted field if non-nil, zero value otherwise. + +### GetIsSyncCompletedOk + +`func (o *MavenPackageUploadResponse) GetIsSyncCompletedOk() (*bool, bool)` + +GetIsSyncCompletedOk returns a tuple with the IsSyncCompleted field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetIsSyncCompleted + +`func (o *MavenPackageUploadResponse) SetIsSyncCompleted(v bool)` + +SetIsSyncCompleted sets IsSyncCompleted field to given value. + +### HasIsSyncCompleted + +`func (o *MavenPackageUploadResponse) HasIsSyncCompleted() bool` + +HasIsSyncCompleted returns a boolean if a field has been set. + +### GetIsSyncFailed + +`func (o *MavenPackageUploadResponse) GetIsSyncFailed() bool` + +GetIsSyncFailed returns the IsSyncFailed field if non-nil, zero value otherwise. + +### GetIsSyncFailedOk + +`func (o *MavenPackageUploadResponse) GetIsSyncFailedOk() (*bool, bool)` + +GetIsSyncFailedOk returns a tuple with the IsSyncFailed field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetIsSyncFailed + +`func (o *MavenPackageUploadResponse) SetIsSyncFailed(v bool)` + +SetIsSyncFailed sets IsSyncFailed field to given value. + +### HasIsSyncFailed + +`func (o *MavenPackageUploadResponse) HasIsSyncFailed() bool` + +HasIsSyncFailed returns a boolean if a field has been set. + +### GetIsSyncInFlight + +`func (o *MavenPackageUploadResponse) GetIsSyncInFlight() bool` + +GetIsSyncInFlight returns the IsSyncInFlight field if non-nil, zero value otherwise. + +### GetIsSyncInFlightOk + +`func (o *MavenPackageUploadResponse) GetIsSyncInFlightOk() (*bool, bool)` + +GetIsSyncInFlightOk returns a tuple with the IsSyncInFlight field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetIsSyncInFlight + +`func (o *MavenPackageUploadResponse) SetIsSyncInFlight(v bool)` + +SetIsSyncInFlight sets IsSyncInFlight field to given value. + +### HasIsSyncInFlight + +`func (o *MavenPackageUploadResponse) HasIsSyncInFlight() bool` + +HasIsSyncInFlight returns a boolean if a field has been set. + +### GetIsSyncInProgress + +`func (o *MavenPackageUploadResponse) GetIsSyncInProgress() bool` + +GetIsSyncInProgress returns the IsSyncInProgress field if non-nil, zero value otherwise. + +### GetIsSyncInProgressOk + +`func (o *MavenPackageUploadResponse) GetIsSyncInProgressOk() (*bool, bool)` + +GetIsSyncInProgressOk returns a tuple with the IsSyncInProgress field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetIsSyncInProgress + +`func (o *MavenPackageUploadResponse) SetIsSyncInProgress(v bool)` + +SetIsSyncInProgress sets IsSyncInProgress field to given value. + +### HasIsSyncInProgress + +`func (o *MavenPackageUploadResponse) HasIsSyncInProgress() bool` + +HasIsSyncInProgress returns a boolean if a field has been set. + +### GetLicense + +`func (o *MavenPackageUploadResponse) GetLicense() string` + +GetLicense returns the License field if non-nil, zero value otherwise. + +### GetLicenseOk + +`func (o *MavenPackageUploadResponse) GetLicenseOk() (*string, bool)` + +GetLicenseOk returns a tuple with the License field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetLicense + +`func (o *MavenPackageUploadResponse) SetLicense(v string)` + +SetLicense sets License field to given value. + +### HasLicense + +`func (o *MavenPackageUploadResponse) HasLicense() bool` + +HasLicense returns a boolean if a field has been set. + +### GetName + +`func (o *MavenPackageUploadResponse) GetName() string` + +GetName returns the Name field if non-nil, zero value otherwise. + +### GetNameOk + +`func (o *MavenPackageUploadResponse) GetNameOk() (*string, bool)` + +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. + +### SetName + +`func (o *MavenPackageUploadResponse) SetName(v string)` + +SetName sets Name field to given value. + +### HasName + +`func (o *MavenPackageUploadResponse) HasName() bool` + +HasName returns a boolean if a field has been set. + +### GetNamespace + +`func (o *MavenPackageUploadResponse) GetNamespace() string` + +GetNamespace returns the Namespace field if non-nil, zero value otherwise. + +### GetNamespaceOk + +`func (o *MavenPackageUploadResponse) GetNamespaceOk() (*string, bool)` + +GetNamespaceOk returns a tuple with the Namespace field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetNamespace + +`func (o *MavenPackageUploadResponse) SetNamespace(v string)` + +SetNamespace sets Namespace field to given value. + +### HasNamespace + +`func (o *MavenPackageUploadResponse) HasNamespace() bool` + +HasNamespace returns a boolean if a field has been set. + +### GetNamespaceUrl + +`func (o *MavenPackageUploadResponse) GetNamespaceUrl() string` + +GetNamespaceUrl returns the NamespaceUrl field if non-nil, zero value otherwise. + +### GetNamespaceUrlOk + +`func (o *MavenPackageUploadResponse) GetNamespaceUrlOk() (*string, bool)` + +GetNamespaceUrlOk returns a tuple with the NamespaceUrl field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetNamespaceUrl + +`func (o *MavenPackageUploadResponse) SetNamespaceUrl(v string)` + +SetNamespaceUrl sets NamespaceUrl field to given value. + +### HasNamespaceUrl + +`func (o *MavenPackageUploadResponse) HasNamespaceUrl() bool` + +HasNamespaceUrl returns a boolean if a field has been set. + +### GetNumFiles + +`func (o *MavenPackageUploadResponse) GetNumFiles() int64` + +GetNumFiles returns the NumFiles field if non-nil, zero value otherwise. + +### GetNumFilesOk + +`func (o *MavenPackageUploadResponse) GetNumFilesOk() (*int64, bool)` + +GetNumFilesOk returns a tuple with the NumFiles field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetNumFiles + +`func (o *MavenPackageUploadResponse) SetNumFiles(v int64)` + +SetNumFiles sets NumFiles field to given value. + +### HasNumFiles + +`func (o *MavenPackageUploadResponse) HasNumFiles() bool` + +HasNumFiles returns a boolean if a field has been set. + +### GetOriginRepository + +`func (o *MavenPackageUploadResponse) GetOriginRepository() string` + +GetOriginRepository returns the OriginRepository field if non-nil, zero value otherwise. + +### GetOriginRepositoryOk + +`func (o *MavenPackageUploadResponse) GetOriginRepositoryOk() (*string, bool)` + +GetOriginRepositoryOk returns a tuple with the OriginRepository field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetOriginRepository + +`func (o *MavenPackageUploadResponse) SetOriginRepository(v string)` + +SetOriginRepository sets OriginRepository field to given value. + +### HasOriginRepository + +`func (o *MavenPackageUploadResponse) HasOriginRepository() bool` + +HasOriginRepository returns a boolean if a field has been set. + +### GetOriginRepositoryUrl + +`func (o *MavenPackageUploadResponse) GetOriginRepositoryUrl() string` + +GetOriginRepositoryUrl returns the OriginRepositoryUrl field if non-nil, zero value otherwise. + +### GetOriginRepositoryUrlOk + +`func (o *MavenPackageUploadResponse) GetOriginRepositoryUrlOk() (*string, bool)` + +GetOriginRepositoryUrlOk returns a tuple with the OriginRepositoryUrl field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetOriginRepositoryUrl + +`func (o *MavenPackageUploadResponse) SetOriginRepositoryUrl(v string)` + +SetOriginRepositoryUrl sets OriginRepositoryUrl field to given value. + +### HasOriginRepositoryUrl + +`func (o *MavenPackageUploadResponse) HasOriginRepositoryUrl() bool` + +HasOriginRepositoryUrl returns a boolean if a field has been set. + +### GetPackageType + +`func (o *MavenPackageUploadResponse) GetPackageType() int64` + +GetPackageType returns the PackageType field if non-nil, zero value otherwise. + +### GetPackageTypeOk + +`func (o *MavenPackageUploadResponse) GetPackageTypeOk() (*int64, bool)` + +GetPackageTypeOk returns a tuple with the PackageType field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetPackageType + +`func (o *MavenPackageUploadResponse) SetPackageType(v int64)` + +SetPackageType sets PackageType field to given value. + +### HasPackageType + +`func (o *MavenPackageUploadResponse) HasPackageType() bool` + +HasPackageType returns a boolean if a field has been set. + +### GetPackaging + +`func (o *MavenPackageUploadResponse) GetPackaging() string` + +GetPackaging returns the Packaging field if non-nil, zero value otherwise. + +### GetPackagingOk + +`func (o *MavenPackageUploadResponse) GetPackagingOk() (*string, bool)` + +GetPackagingOk returns a tuple with the Packaging field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetPackaging + +`func (o *MavenPackageUploadResponse) SetPackaging(v string)` + +SetPackaging sets Packaging field to given value. + +### HasPackaging + +`func (o *MavenPackageUploadResponse) HasPackaging() bool` + +HasPackaging returns a boolean if a field has been set. + +### SetPackagingNil + +`func (o *MavenPackageUploadResponse) SetPackagingNil(b bool)` + + SetPackagingNil sets the value for Packaging to be an explicit nil + +### UnsetPackaging +`func (o *MavenPackageUploadResponse) UnsetPackaging()` + +UnsetPackaging ensures that no value is present for Packaging, not even an explicit nil +### GetRelease + +`func (o *MavenPackageUploadResponse) GetRelease() string` + +GetRelease returns the Release field if non-nil, zero value otherwise. + +### GetReleaseOk + +`func (o *MavenPackageUploadResponse) GetReleaseOk() (*string, bool)` + +GetReleaseOk returns a tuple with the Release field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetRelease + +`func (o *MavenPackageUploadResponse) SetRelease(v string)` + +SetRelease sets Release field to given value. + +### HasRelease + +`func (o *MavenPackageUploadResponse) HasRelease() bool` + +HasRelease returns a boolean if a field has been set. + +### GetRepository + +`func (o *MavenPackageUploadResponse) GetRepository() string` + +GetRepository returns the Repository field if non-nil, zero value otherwise. + +### GetRepositoryOk + +`func (o *MavenPackageUploadResponse) GetRepositoryOk() (*string, bool)` + +GetRepositoryOk returns a tuple with the Repository field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetRepository + +`func (o *MavenPackageUploadResponse) SetRepository(v string)` + +SetRepository sets Repository field to given value. + +### HasRepository + +`func (o *MavenPackageUploadResponse) HasRepository() bool` + +HasRepository returns a boolean if a field has been set. + +### GetRepositoryUrl + +`func (o *MavenPackageUploadResponse) GetRepositoryUrl() string` + +GetRepositoryUrl returns the RepositoryUrl field if non-nil, zero value otherwise. + +### GetRepositoryUrlOk + +`func (o *MavenPackageUploadResponse) GetRepositoryUrlOk() (*string, bool)` + +GetRepositoryUrlOk returns a tuple with the RepositoryUrl field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetRepositoryUrl + +`func (o *MavenPackageUploadResponse) SetRepositoryUrl(v string)` + +SetRepositoryUrl sets RepositoryUrl field to given value. + +### HasRepositoryUrl + +`func (o *MavenPackageUploadResponse) HasRepositoryUrl() bool` + +HasRepositoryUrl returns a boolean if a field has been set. + +### GetSecurityScanCompletedAt + +`func (o *MavenPackageUploadResponse) GetSecurityScanCompletedAt() time.Time` + +GetSecurityScanCompletedAt returns the SecurityScanCompletedAt field if non-nil, zero value otherwise. + +### GetSecurityScanCompletedAtOk + +`func (o *MavenPackageUploadResponse) GetSecurityScanCompletedAtOk() (*time.Time, bool)` + +GetSecurityScanCompletedAtOk returns a tuple with the SecurityScanCompletedAt field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetSecurityScanCompletedAt + +`func (o *MavenPackageUploadResponse) SetSecurityScanCompletedAt(v time.Time)` + +SetSecurityScanCompletedAt sets SecurityScanCompletedAt field to given value. + +### HasSecurityScanCompletedAt + +`func (o *MavenPackageUploadResponse) HasSecurityScanCompletedAt() bool` + +HasSecurityScanCompletedAt returns a boolean if a field has been set. + +### GetSecurityScanStartedAt + +`func (o *MavenPackageUploadResponse) GetSecurityScanStartedAt() time.Time` + +GetSecurityScanStartedAt returns the SecurityScanStartedAt field if non-nil, zero value otherwise. + +### GetSecurityScanStartedAtOk + +`func (o *MavenPackageUploadResponse) GetSecurityScanStartedAtOk() (*time.Time, bool)` + +GetSecurityScanStartedAtOk returns a tuple with the SecurityScanStartedAt field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetSecurityScanStartedAt + +`func (o *MavenPackageUploadResponse) SetSecurityScanStartedAt(v time.Time)` + +SetSecurityScanStartedAt sets SecurityScanStartedAt field to given value. + +### HasSecurityScanStartedAt + +`func (o *MavenPackageUploadResponse) HasSecurityScanStartedAt() bool` + +HasSecurityScanStartedAt returns a boolean if a field has been set. + +### GetSecurityScanStatus + +`func (o *MavenPackageUploadResponse) GetSecurityScanStatus() string` + +GetSecurityScanStatus returns the SecurityScanStatus field if non-nil, zero value otherwise. + +### GetSecurityScanStatusOk + +`func (o *MavenPackageUploadResponse) GetSecurityScanStatusOk() (*string, bool)` + +GetSecurityScanStatusOk returns a tuple with the SecurityScanStatus field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetSecurityScanStatus + +`func (o *MavenPackageUploadResponse) SetSecurityScanStatus(v string)` + +SetSecurityScanStatus sets SecurityScanStatus field to given value. + +### HasSecurityScanStatus + +`func (o *MavenPackageUploadResponse) HasSecurityScanStatus() bool` + +HasSecurityScanStatus returns a boolean if a field has been set. + +### SetSecurityScanStatusNil + +`func (o *MavenPackageUploadResponse) SetSecurityScanStatusNil(b bool)` + + SetSecurityScanStatusNil sets the value for SecurityScanStatus to be an explicit nil + +### UnsetSecurityScanStatus +`func (o *MavenPackageUploadResponse) UnsetSecurityScanStatus()` + +UnsetSecurityScanStatus ensures that no value is present for SecurityScanStatus, not even an explicit nil +### GetSecurityScanStatusUpdatedAt + +`func (o *MavenPackageUploadResponse) GetSecurityScanStatusUpdatedAt() time.Time` + +GetSecurityScanStatusUpdatedAt returns the SecurityScanStatusUpdatedAt field if non-nil, zero value otherwise. + +### GetSecurityScanStatusUpdatedAtOk + +`func (o *MavenPackageUploadResponse) GetSecurityScanStatusUpdatedAtOk() (*time.Time, bool)` + +GetSecurityScanStatusUpdatedAtOk returns a tuple with the SecurityScanStatusUpdatedAt field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetSecurityScanStatusUpdatedAt + +`func (o *MavenPackageUploadResponse) SetSecurityScanStatusUpdatedAt(v time.Time)` + +SetSecurityScanStatusUpdatedAt sets SecurityScanStatusUpdatedAt field to given value. + +### HasSecurityScanStatusUpdatedAt + +`func (o *MavenPackageUploadResponse) HasSecurityScanStatusUpdatedAt() bool` + +HasSecurityScanStatusUpdatedAt returns a boolean if a field has been set. + +### GetSelfHtmlUrl + +`func (o *MavenPackageUploadResponse) GetSelfHtmlUrl() string` + +GetSelfHtmlUrl returns the SelfHtmlUrl field if non-nil, zero value otherwise. + +### GetSelfHtmlUrlOk + +`func (o *MavenPackageUploadResponse) GetSelfHtmlUrlOk() (*string, bool)` + +GetSelfHtmlUrlOk returns a tuple with the SelfHtmlUrl field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetSelfHtmlUrl + +`func (o *MavenPackageUploadResponse) SetSelfHtmlUrl(v string)` + +SetSelfHtmlUrl sets SelfHtmlUrl field to given value. + +### HasSelfHtmlUrl + +`func (o *MavenPackageUploadResponse) HasSelfHtmlUrl() bool` + +HasSelfHtmlUrl returns a boolean if a field has been set. + +### GetSelfUrl + +`func (o *MavenPackageUploadResponse) GetSelfUrl() string` + +GetSelfUrl returns the SelfUrl field if non-nil, zero value otherwise. + +### GetSelfUrlOk + +`func (o *MavenPackageUploadResponse) GetSelfUrlOk() (*string, bool)` + +GetSelfUrlOk returns a tuple with the SelfUrl field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetSelfUrl + +`func (o *MavenPackageUploadResponse) SetSelfUrl(v string)` + +SetSelfUrl sets SelfUrl field to given value. + +### HasSelfUrl + +`func (o *MavenPackageUploadResponse) HasSelfUrl() bool` + +HasSelfUrl returns a boolean if a field has been set. + +### GetSignatureUrl + +`func (o *MavenPackageUploadResponse) GetSignatureUrl() string` + +GetSignatureUrl returns the SignatureUrl field if non-nil, zero value otherwise. + +### GetSignatureUrlOk + +`func (o *MavenPackageUploadResponse) GetSignatureUrlOk() (*string, bool)` + +GetSignatureUrlOk returns a tuple with the SignatureUrl field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetSignatureUrl + +`func (o *MavenPackageUploadResponse) SetSignatureUrl(v string)` + +SetSignatureUrl sets SignatureUrl field to given value. + +### HasSignatureUrl + +`func (o *MavenPackageUploadResponse) HasSignatureUrl() bool` + +HasSignatureUrl returns a boolean if a field has been set. + +### SetSignatureUrlNil + +`func (o *MavenPackageUploadResponse) SetSignatureUrlNil(b bool)` + + SetSignatureUrlNil sets the value for SignatureUrl to be an explicit nil + +### UnsetSignatureUrl +`func (o *MavenPackageUploadResponse) UnsetSignatureUrl()` + +UnsetSignatureUrl ensures that no value is present for SignatureUrl, not even an explicit nil +### GetSize + +`func (o *MavenPackageUploadResponse) GetSize() int64` + +GetSize returns the Size field if non-nil, zero value otherwise. + +### GetSizeOk + +`func (o *MavenPackageUploadResponse) GetSizeOk() (*int64, bool)` + +GetSizeOk returns a tuple with the Size field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetSize + +`func (o *MavenPackageUploadResponse) SetSize(v int64)` + +SetSize sets Size field to given value. + +### HasSize + +`func (o *MavenPackageUploadResponse) HasSize() bool` + +HasSize returns a boolean if a field has been set. + +### GetSlug + +`func (o *MavenPackageUploadResponse) GetSlug() string` + +GetSlug returns the Slug field if non-nil, zero value otherwise. + +### GetSlugOk + +`func (o *MavenPackageUploadResponse) GetSlugOk() (*string, bool)` + +GetSlugOk returns a tuple with the Slug field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetSlug + +`func (o *MavenPackageUploadResponse) SetSlug(v string)` + +SetSlug sets Slug field to given value. + +### HasSlug + +`func (o *MavenPackageUploadResponse) HasSlug() bool` + +HasSlug returns a boolean if a field has been set. + +### GetSlugPerm + +`func (o *MavenPackageUploadResponse) GetSlugPerm() string` + +GetSlugPerm returns the SlugPerm field if non-nil, zero value otherwise. + +### GetSlugPermOk + +`func (o *MavenPackageUploadResponse) GetSlugPermOk() (*string, bool)` + +GetSlugPermOk returns a tuple with the SlugPerm field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetSlugPerm + +`func (o *MavenPackageUploadResponse) SetSlugPerm(v string)` + +SetSlugPerm sets SlugPerm field to given value. + +### HasSlugPerm + +`func (o *MavenPackageUploadResponse) HasSlugPerm() bool` + +HasSlugPerm returns a boolean if a field has been set. + +### GetStage + +`func (o *MavenPackageUploadResponse) GetStage() int64` + +GetStage returns the Stage field if non-nil, zero value otherwise. + +### GetStageOk + +`func (o *MavenPackageUploadResponse) GetStageOk() (*int64, bool)` + +GetStageOk returns a tuple with the Stage field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetStage + +`func (o *MavenPackageUploadResponse) SetStage(v int64)` + +SetStage sets Stage field to given value. + +### HasStage + +`func (o *MavenPackageUploadResponse) HasStage() bool` + +HasStage returns a boolean if a field has been set. + +### GetStageStr + +`func (o *MavenPackageUploadResponse) GetStageStr() string` + +GetStageStr returns the StageStr field if non-nil, zero value otherwise. + +### GetStageStrOk + +`func (o *MavenPackageUploadResponse) GetStageStrOk() (*string, bool)` + +GetStageStrOk returns a tuple with the StageStr field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetStageStr + +`func (o *MavenPackageUploadResponse) SetStageStr(v string)` + +SetStageStr sets StageStr field to given value. + +### HasStageStr + +`func (o *MavenPackageUploadResponse) HasStageStr() bool` + +HasStageStr returns a boolean if a field has been set. + +### GetStageUpdatedAt + +`func (o *MavenPackageUploadResponse) GetStageUpdatedAt() time.Time` + +GetStageUpdatedAt returns the StageUpdatedAt field if non-nil, zero value otherwise. + +### GetStageUpdatedAtOk + +`func (o *MavenPackageUploadResponse) GetStageUpdatedAtOk() (*time.Time, bool)` + +GetStageUpdatedAtOk returns a tuple with the StageUpdatedAt field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetStageUpdatedAt + +`func (o *MavenPackageUploadResponse) SetStageUpdatedAt(v time.Time)` + +SetStageUpdatedAt sets StageUpdatedAt field to given value. + +### HasStageUpdatedAt + +`func (o *MavenPackageUploadResponse) HasStageUpdatedAt() bool` + +HasStageUpdatedAt returns a boolean if a field has been set. + +### GetStatus + +`func (o *MavenPackageUploadResponse) GetStatus() int64` + +GetStatus returns the Status field if non-nil, zero value otherwise. + +### GetStatusOk + +`func (o *MavenPackageUploadResponse) GetStatusOk() (*int64, bool)` + +GetStatusOk returns a tuple with the Status field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetStatus + +`func (o *MavenPackageUploadResponse) SetStatus(v int64)` + +SetStatus sets Status field to given value. + +### HasStatus + +`func (o *MavenPackageUploadResponse) HasStatus() bool` + +HasStatus returns a boolean if a field has been set. + +### GetStatusReason + +`func (o *MavenPackageUploadResponse) GetStatusReason() string` + +GetStatusReason returns the StatusReason field if non-nil, zero value otherwise. + +### GetStatusReasonOk + +`func (o *MavenPackageUploadResponse) GetStatusReasonOk() (*string, bool)` + +GetStatusReasonOk returns a tuple with the StatusReason field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetStatusReason + +`func (o *MavenPackageUploadResponse) SetStatusReason(v string)` + +SetStatusReason sets StatusReason field to given value. + +### HasStatusReason + +`func (o *MavenPackageUploadResponse) HasStatusReason() bool` + +HasStatusReason returns a boolean if a field has been set. + +### GetStatusStr + +`func (o *MavenPackageUploadResponse) GetStatusStr() string` + +GetStatusStr returns the StatusStr field if non-nil, zero value otherwise. + +### GetStatusStrOk + +`func (o *MavenPackageUploadResponse) GetStatusStrOk() (*string, bool)` + +GetStatusStrOk returns a tuple with the StatusStr field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetStatusStr + +`func (o *MavenPackageUploadResponse) SetStatusStr(v string)` + +SetStatusStr sets StatusStr field to given value. + +### HasStatusStr + +`func (o *MavenPackageUploadResponse) HasStatusStr() bool` + +HasStatusStr returns a boolean if a field has been set. + +### GetStatusUpdatedAt + +`func (o *MavenPackageUploadResponse) GetStatusUpdatedAt() time.Time` + +GetStatusUpdatedAt returns the StatusUpdatedAt field if non-nil, zero value otherwise. + +### GetStatusUpdatedAtOk + +`func (o *MavenPackageUploadResponse) GetStatusUpdatedAtOk() (*time.Time, bool)` + +GetStatusUpdatedAtOk returns a tuple with the StatusUpdatedAt field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetStatusUpdatedAt + +`func (o *MavenPackageUploadResponse) SetStatusUpdatedAt(v time.Time)` + +SetStatusUpdatedAt sets StatusUpdatedAt field to given value. + +### HasStatusUpdatedAt + +`func (o *MavenPackageUploadResponse) HasStatusUpdatedAt() bool` + +HasStatusUpdatedAt returns a boolean if a field has been set. + +### GetStatusUrl + +`func (o *MavenPackageUploadResponse) GetStatusUrl() string` + +GetStatusUrl returns the StatusUrl field if non-nil, zero value otherwise. + +### GetStatusUrlOk + +`func (o *MavenPackageUploadResponse) GetStatusUrlOk() (*string, bool)` + +GetStatusUrlOk returns a tuple with the StatusUrl field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetStatusUrl + +`func (o *MavenPackageUploadResponse) SetStatusUrl(v string)` + +SetStatusUrl sets StatusUrl field to given value. + +### HasStatusUrl + +`func (o *MavenPackageUploadResponse) HasStatusUrl() bool` + +HasStatusUrl returns a boolean if a field has been set. + +### GetSubtype + +`func (o *MavenPackageUploadResponse) GetSubtype() string` + +GetSubtype returns the Subtype field if non-nil, zero value otherwise. + +### GetSubtypeOk + +`func (o *MavenPackageUploadResponse) GetSubtypeOk() (*string, bool)` + +GetSubtypeOk returns a tuple with the Subtype field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetSubtype + +`func (o *MavenPackageUploadResponse) SetSubtype(v string)` + +SetSubtype sets Subtype field to given value. + +### HasSubtype + +`func (o *MavenPackageUploadResponse) HasSubtype() bool` + +HasSubtype returns a boolean if a field has been set. + +### GetSummary + +`func (o *MavenPackageUploadResponse) GetSummary() string` + +GetSummary returns the Summary field if non-nil, zero value otherwise. + +### GetSummaryOk + +`func (o *MavenPackageUploadResponse) GetSummaryOk() (*string, bool)` + +GetSummaryOk returns a tuple with the Summary field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetSummary + +`func (o *MavenPackageUploadResponse) SetSummary(v string)` + +SetSummary sets Summary field to given value. + +### HasSummary + +`func (o *MavenPackageUploadResponse) HasSummary() bool` + +HasSummary returns a boolean if a field has been set. + +### GetSyncFinishedAt + +`func (o *MavenPackageUploadResponse) GetSyncFinishedAt() time.Time` + +GetSyncFinishedAt returns the SyncFinishedAt field if non-nil, zero value otherwise. + +### GetSyncFinishedAtOk + +`func (o *MavenPackageUploadResponse) GetSyncFinishedAtOk() (*time.Time, bool)` + +GetSyncFinishedAtOk returns a tuple with the SyncFinishedAt field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetSyncFinishedAt + +`func (o *MavenPackageUploadResponse) SetSyncFinishedAt(v time.Time)` + +SetSyncFinishedAt sets SyncFinishedAt field to given value. + +### HasSyncFinishedAt + +`func (o *MavenPackageUploadResponse) HasSyncFinishedAt() bool` + +HasSyncFinishedAt returns a boolean if a field has been set. + +### GetSyncProgress + +`func (o *MavenPackageUploadResponse) GetSyncProgress() int64` + +GetSyncProgress returns the SyncProgress field if non-nil, zero value otherwise. + +### GetSyncProgressOk + +`func (o *MavenPackageUploadResponse) GetSyncProgressOk() (*int64, bool)` + +GetSyncProgressOk returns a tuple with the SyncProgress field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetSyncProgress + +`func (o *MavenPackageUploadResponse) SetSyncProgress(v int64)` + +SetSyncProgress sets SyncProgress field to given value. + +### HasSyncProgress + +`func (o *MavenPackageUploadResponse) HasSyncProgress() bool` + +HasSyncProgress returns a boolean if a field has been set. + +### GetTagsImmutable + +`func (o *MavenPackageUploadResponse) GetTagsImmutable() map[string]interface{}` + +GetTagsImmutable returns the TagsImmutable field if non-nil, zero value otherwise. + +### GetTagsImmutableOk + +`func (o *MavenPackageUploadResponse) GetTagsImmutableOk() (*map[string]interface{}, bool)` + +GetTagsImmutableOk returns a tuple with the TagsImmutable field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetTagsImmutable + +`func (o *MavenPackageUploadResponse) SetTagsImmutable(v map[string]interface{})` + +SetTagsImmutable sets TagsImmutable field to given value. + +### HasTagsImmutable + +`func (o *MavenPackageUploadResponse) HasTagsImmutable() bool` + +HasTagsImmutable returns a boolean if a field has been set. + +### GetTypeDisplay + +`func (o *MavenPackageUploadResponse) GetTypeDisplay() string` + +GetTypeDisplay returns the TypeDisplay field if non-nil, zero value otherwise. + +### GetTypeDisplayOk + +`func (o *MavenPackageUploadResponse) GetTypeDisplayOk() (*string, bool)` + +GetTypeDisplayOk returns a tuple with the TypeDisplay field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetTypeDisplay + +`func (o *MavenPackageUploadResponse) SetTypeDisplay(v string)` + +SetTypeDisplay sets TypeDisplay field to given value. + +### HasTypeDisplay + +`func (o *MavenPackageUploadResponse) HasTypeDisplay() bool` + +HasTypeDisplay returns a boolean if a field has been set. + +### GetUploadedAt + +`func (o *MavenPackageUploadResponse) GetUploadedAt() time.Time` + +GetUploadedAt returns the UploadedAt field if non-nil, zero value otherwise. + +### GetUploadedAtOk + +`func (o *MavenPackageUploadResponse) GetUploadedAtOk() (*time.Time, bool)` + +GetUploadedAtOk returns a tuple with the UploadedAt field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetUploadedAt + +`func (o *MavenPackageUploadResponse) SetUploadedAt(v time.Time)` + +SetUploadedAt sets UploadedAt field to given value. + +### HasUploadedAt + +`func (o *MavenPackageUploadResponse) HasUploadedAt() bool` + +HasUploadedAt returns a boolean if a field has been set. + +### GetUploader + +`func (o *MavenPackageUploadResponse) GetUploader() string` + +GetUploader returns the Uploader field if non-nil, zero value otherwise. + +### GetUploaderOk + +`func (o *MavenPackageUploadResponse) GetUploaderOk() (*string, bool)` + +GetUploaderOk returns a tuple with the Uploader field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetUploader + +`func (o *MavenPackageUploadResponse) SetUploader(v string)` + +SetUploader sets Uploader field to given value. + +### HasUploader + +`func (o *MavenPackageUploadResponse) HasUploader() bool` + +HasUploader returns a boolean if a field has been set. + +### GetUploaderUrl + +`func (o *MavenPackageUploadResponse) GetUploaderUrl() string` + +GetUploaderUrl returns the UploaderUrl field if non-nil, zero value otherwise. + +### GetUploaderUrlOk + +`func (o *MavenPackageUploadResponse) GetUploaderUrlOk() (*string, bool)` + +GetUploaderUrlOk returns a tuple with the UploaderUrl field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetUploaderUrl + +`func (o *MavenPackageUploadResponse) SetUploaderUrl(v string)` + +SetUploaderUrl sets UploaderUrl field to given value. + +### HasUploaderUrl + +`func (o *MavenPackageUploadResponse) HasUploaderUrl() bool` + +HasUploaderUrl returns a boolean if a field has been set. + +### GetVersion + +`func (o *MavenPackageUploadResponse) GetVersion() string` + +GetVersion returns the Version field if non-nil, zero value otherwise. + +### GetVersionOk + +`func (o *MavenPackageUploadResponse) GetVersionOk() (*string, bool)` + +GetVersionOk returns a tuple with the Version field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetVersion + +`func (o *MavenPackageUploadResponse) SetVersion(v string)` + +SetVersion sets Version field to given value. + +### HasVersion + +`func (o *MavenPackageUploadResponse) HasVersion() bool` + +HasVersion returns a boolean if a field has been set. + +### SetVersionNil + +`func (o *MavenPackageUploadResponse) SetVersionNil(b bool)` + + SetVersionNil sets the value for Version to be an explicit nil + +### UnsetVersion +`func (o *MavenPackageUploadResponse) UnsetVersion()` + +UnsetVersion ensures that no value is present for Version, not even an explicit nil +### GetVersionOrig + +`func (o *MavenPackageUploadResponse) GetVersionOrig() string` + +GetVersionOrig returns the VersionOrig field if non-nil, zero value otherwise. + +### GetVersionOrigOk + +`func (o *MavenPackageUploadResponse) GetVersionOrigOk() (*string, bool)` + +GetVersionOrigOk returns a tuple with the VersionOrig field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetVersionOrig + +`func (o *MavenPackageUploadResponse) SetVersionOrig(v string)` + +SetVersionOrig sets VersionOrig field to given value. + +### HasVersionOrig + +`func (o *MavenPackageUploadResponse) HasVersionOrig() bool` + +HasVersionOrig returns a boolean if a field has been set. + +### GetVulnerabilityScanResultsUrl + +`func (o *MavenPackageUploadResponse) GetVulnerabilityScanResultsUrl() string` + +GetVulnerabilityScanResultsUrl returns the VulnerabilityScanResultsUrl field if non-nil, zero value otherwise. + +### GetVulnerabilityScanResultsUrlOk + +`func (o *MavenPackageUploadResponse) GetVulnerabilityScanResultsUrlOk() (*string, bool)` + +GetVulnerabilityScanResultsUrlOk returns a tuple with the VulnerabilityScanResultsUrl field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetVulnerabilityScanResultsUrl + +`func (o *MavenPackageUploadResponse) SetVulnerabilityScanResultsUrl(v string)` + +SetVulnerabilityScanResultsUrl sets VulnerabilityScanResultsUrl field to given value. + +### HasVulnerabilityScanResultsUrl + +`func (o *MavenPackageUploadResponse) HasVulnerabilityScanResultsUrl() bool` + +HasVulnerabilityScanResultsUrl 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/docs/MetricsApi.md b/docs/MetricsApi.md index 2cf50ef6..d6c29140 100644 --- a/docs/MetricsApi.md +++ b/docs/MetricsApi.md @@ -4,15 +4,15 @@ All URIs are relative to *https://api.cloudsmith.io/v1* Method | HTTP request | Description ------------- | ------------- | ------------- -[**MetricsEntitlementsList**](MetricsApi.md#MetricsEntitlementsList) | **Get** /metrics/entitlements/{owner}/ | View for listing entitlement token metrics, across an account. -[**MetricsEntitlementsList0**](MetricsApi.md#MetricsEntitlementsList0) | **Get** /metrics/entitlements/{owner}/{repo}/ | View for listing entitlement token metrics, for a repository. +[**MetricsEntitlementsAccountList**](MetricsApi.md#MetricsEntitlementsAccountList) | **Get** /metrics/entitlements/{owner}/ | View for listing entitlement token metrics, across an account. +[**MetricsEntitlementsRepoList**](MetricsApi.md#MetricsEntitlementsRepoList) | **Get** /metrics/entitlements/{owner}/{repo}/ | View for listing entitlement token metrics, for a repository. [**MetricsPackagesList**](MetricsApi.md#MetricsPackagesList) | **Get** /metrics/packages/{owner}/{repo}/ | View for listing package usage metrics, for a repository. -## MetricsEntitlementsList +## MetricsEntitlementsAccountList -> EntitlementUsageMetrics MetricsEntitlementsList(ctx, owner).Page(page).PageSize(pageSize).Finish(finish).Start(start).Tokens(tokens).Execute() +> EntitlementUsageMetricsResponse MetricsEntitlementsAccountList(ctx, owner).Page(page).PageSize(pageSize).Finish(finish).Start(start).Tokens(tokens).Execute() View for listing entitlement token metrics, across an account. @@ -40,13 +40,13 @@ func main() { configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) - resp, r, err := apiClient.MetricsApi.MetricsEntitlementsList(context.Background(), owner).Page(page).PageSize(pageSize).Finish(finish).Start(start).Tokens(tokens).Execute() + resp, r, err := apiClient.MetricsApi.MetricsEntitlementsAccountList(context.Background(), owner).Page(page).PageSize(pageSize).Finish(finish).Start(start).Tokens(tokens).Execute() if err != nil { - fmt.Fprintf(os.Stderr, "Error when calling `MetricsApi.MetricsEntitlementsList``: %v\n", err) + fmt.Fprintf(os.Stderr, "Error when calling `MetricsApi.MetricsEntitlementsAccountList``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } - // response from `MetricsEntitlementsList`: EntitlementUsageMetrics - fmt.Fprintf(os.Stdout, "Response from `MetricsApi.MetricsEntitlementsList`: %v\n", resp) + // response from `MetricsEntitlementsAccountList`: EntitlementUsageMetricsResponse + fmt.Fprintf(os.Stdout, "Response from `MetricsApi.MetricsEntitlementsAccountList`: %v\n", resp) } ``` @@ -60,7 +60,7 @@ Name | Type | Description | Notes ### Other Parameters -Other parameters are passed through a pointer to a apiMetricsEntitlementsListRequest struct via the builder pattern +Other parameters are passed through a pointer to a apiMetricsEntitlementsAccountListRequest struct via the builder pattern Name | Type | Description | Notes @@ -74,7 +74,7 @@ Name | Type | Description | Notes ### Return type -[**EntitlementUsageMetrics**](EntitlementUsageMetrics.md) +[**EntitlementUsageMetricsResponse**](EntitlementUsageMetricsResponse.md) ### Authorization @@ -83,16 +83,16 @@ Name | Type | Description | Notes ### HTTP request headers - **Content-Type**: Not defined -- **Accept**: */* +- **Accept**: application/json [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -## MetricsEntitlementsList0 +## MetricsEntitlementsRepoList -> EntitlementUsageMetrics MetricsEntitlementsList0(ctx, owner, repo).Page(page).PageSize(pageSize).Finish(finish).Start(start).Tokens(tokens).Execute() +> EntitlementUsageMetricsResponse MetricsEntitlementsRepoList(ctx, owner, repo).Page(page).PageSize(pageSize).Finish(finish).Start(start).Tokens(tokens).Execute() View for listing entitlement token metrics, for a repository. @@ -121,13 +121,13 @@ func main() { configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) - resp, r, err := apiClient.MetricsApi.MetricsEntitlementsList0(context.Background(), owner, repo).Page(page).PageSize(pageSize).Finish(finish).Start(start).Tokens(tokens).Execute() + resp, r, err := apiClient.MetricsApi.MetricsEntitlementsRepoList(context.Background(), owner, repo).Page(page).PageSize(pageSize).Finish(finish).Start(start).Tokens(tokens).Execute() if err != nil { - fmt.Fprintf(os.Stderr, "Error when calling `MetricsApi.MetricsEntitlementsList0``: %v\n", err) + fmt.Fprintf(os.Stderr, "Error when calling `MetricsApi.MetricsEntitlementsRepoList``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } - // response from `MetricsEntitlementsList0`: EntitlementUsageMetrics - fmt.Fprintf(os.Stdout, "Response from `MetricsApi.MetricsEntitlementsList0`: %v\n", resp) + // response from `MetricsEntitlementsRepoList`: EntitlementUsageMetricsResponse + fmt.Fprintf(os.Stdout, "Response from `MetricsApi.MetricsEntitlementsRepoList`: %v\n", resp) } ``` @@ -142,7 +142,7 @@ Name | Type | Description | Notes ### Other Parameters -Other parameters are passed through a pointer to a apiMetricsEntitlementsList0Request struct via the builder pattern +Other parameters are passed through a pointer to a apiMetricsEntitlementsRepoListRequest struct via the builder pattern Name | Type | Description | Notes @@ -157,7 +157,7 @@ Name | Type | Description | Notes ### Return type -[**EntitlementUsageMetrics**](EntitlementUsageMetrics.md) +[**EntitlementUsageMetricsResponse**](EntitlementUsageMetricsResponse.md) ### Authorization @@ -166,7 +166,7 @@ Name | Type | Description | Notes ### HTTP request headers - **Content-Type**: Not defined -- **Accept**: */* +- **Accept**: application/json [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) @@ -175,7 +175,7 @@ Name | Type | Description | Notes ## MetricsPackagesList -> PackageUsageMetrics MetricsPackagesList(ctx, owner, repo).Page(page).PageSize(pageSize).Finish(finish).Packages(packages).Start(start).Execute() +> PackageUsageMetricsResponse MetricsPackagesList(ctx, owner, repo).Page(page).PageSize(pageSize).Finish(finish).Packages(packages).Start(start).Execute() View for listing package usage metrics, for a repository. @@ -209,7 +209,7 @@ func main() { fmt.Fprintf(os.Stderr, "Error when calling `MetricsApi.MetricsPackagesList``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } - // response from `MetricsPackagesList`: PackageUsageMetrics + // response from `MetricsPackagesList`: PackageUsageMetricsResponse fmt.Fprintf(os.Stdout, "Response from `MetricsApi.MetricsPackagesList`: %v\n", resp) } ``` @@ -240,7 +240,7 @@ Name | Type | Description | Notes ### Return type -[**PackageUsageMetrics**](PackageUsageMetrics.md) +[**PackageUsageMetricsResponse**](PackageUsageMetricsResponse.md) ### Authorization @@ -249,7 +249,7 @@ Name | Type | Description | Notes ### HTTP request headers - **Content-Type**: Not defined -- **Accept**: */* +- **Accept**: application/json [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) diff --git a/docs/NamespaceAuditLog.md b/docs/NamespaceAuditLogResponse.md similarity index 51% rename from docs/NamespaceAuditLog.md rename to docs/NamespaceAuditLogResponse.md index 899f5714..79211d29 100644 --- a/docs/NamespaceAuditLog.md +++ b/docs/NamespaceAuditLogResponse.md @@ -1,382 +1,432 @@ -# NamespaceAuditLog +# NamespaceAuditLogResponse ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**Actor** | **string** | | -**ActorIpAddress** | **string** | | -**ActorKind** | Pointer to **string** | | [optional] -**ActorLocation** | **map[string]interface{}** | | -**ActorSlugPerm** | **string** | | -**ActorUrl** | Pointer to **string** | | [optional] +**Actor** | **NullableString** | | +**ActorIpAddress** | **NullableString** | | +**ActorKind** | Pointer to **string** | | [optional] [readonly] +**ActorLocation** | [**GeoIpLocation**](GeoIpLocation.md) | | +**ActorSlugPerm** | **NullableString** | | +**ActorUrl** | Pointer to **NullableString** | | [optional] [readonly] **Context** | **string** | | **Event** | **string** | | -**EventAt** | **string** | | +**EventAt** | **time.Time** | | **Object** | **string** | | **ObjectKind** | **string** | | **ObjectSlugPerm** | **string** | | **Target** | **string** | | **TargetKind** | **string** | | -**TargetSlugPerm** | Pointer to **string** | | [optional] -**Uuid** | Pointer to **string** | | [optional] +**TargetSlugPerm** | Pointer to **NullableString** | | [optional] +**Uuid** | Pointer to **string** | | [optional] [readonly] ## Methods -### NewNamespaceAuditLog +### NewNamespaceAuditLogResponse -`func NewNamespaceAuditLog(actor string, actorIpAddress string, actorLocation map[string]interface{}, actorSlugPerm string, context string, event string, eventAt string, object string, objectKind string, objectSlugPerm string, target string, targetKind string, ) *NamespaceAuditLog` +`func NewNamespaceAuditLogResponse(actor NullableString, actorIpAddress NullableString, actorLocation GeoIpLocation, actorSlugPerm NullableString, context string, event string, eventAt time.Time, object string, objectKind string, objectSlugPerm string, target string, targetKind string, ) *NamespaceAuditLogResponse` -NewNamespaceAuditLog instantiates a new NamespaceAuditLog object +NewNamespaceAuditLogResponse instantiates a new NamespaceAuditLogResponse object 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 -### NewNamespaceAuditLogWithDefaults +### NewNamespaceAuditLogResponseWithDefaults -`func NewNamespaceAuditLogWithDefaults() *NamespaceAuditLog` +`func NewNamespaceAuditLogResponseWithDefaults() *NamespaceAuditLogResponse` -NewNamespaceAuditLogWithDefaults instantiates a new NamespaceAuditLog object +NewNamespaceAuditLogResponseWithDefaults instantiates a new NamespaceAuditLogResponse object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set ### GetActor -`func (o *NamespaceAuditLog) GetActor() string` +`func (o *NamespaceAuditLogResponse) GetActor() string` GetActor returns the Actor field if non-nil, zero value otherwise. ### GetActorOk -`func (o *NamespaceAuditLog) GetActorOk() (*string, bool)` +`func (o *NamespaceAuditLogResponse) GetActorOk() (*string, bool)` GetActorOk returns a tuple with the Actor field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetActor -`func (o *NamespaceAuditLog) SetActor(v string)` +`func (o *NamespaceAuditLogResponse) SetActor(v string)` SetActor sets Actor field to given value. +### SetActorNil + +`func (o *NamespaceAuditLogResponse) SetActorNil(b bool)` + + SetActorNil sets the value for Actor to be an explicit nil + +### UnsetActor +`func (o *NamespaceAuditLogResponse) UnsetActor()` + +UnsetActor ensures that no value is present for Actor, not even an explicit nil ### GetActorIpAddress -`func (o *NamespaceAuditLog) GetActorIpAddress() string` +`func (o *NamespaceAuditLogResponse) GetActorIpAddress() string` GetActorIpAddress returns the ActorIpAddress field if non-nil, zero value otherwise. ### GetActorIpAddressOk -`func (o *NamespaceAuditLog) GetActorIpAddressOk() (*string, bool)` +`func (o *NamespaceAuditLogResponse) GetActorIpAddressOk() (*string, bool)` GetActorIpAddressOk returns a tuple with the ActorIpAddress field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetActorIpAddress -`func (o *NamespaceAuditLog) SetActorIpAddress(v string)` +`func (o *NamespaceAuditLogResponse) SetActorIpAddress(v string)` SetActorIpAddress sets ActorIpAddress field to given value. +### SetActorIpAddressNil + +`func (o *NamespaceAuditLogResponse) SetActorIpAddressNil(b bool)` + + SetActorIpAddressNil sets the value for ActorIpAddress to be an explicit nil + +### UnsetActorIpAddress +`func (o *NamespaceAuditLogResponse) UnsetActorIpAddress()` + +UnsetActorIpAddress ensures that no value is present for ActorIpAddress, not even an explicit nil ### GetActorKind -`func (o *NamespaceAuditLog) GetActorKind() string` +`func (o *NamespaceAuditLogResponse) GetActorKind() string` GetActorKind returns the ActorKind field if non-nil, zero value otherwise. ### GetActorKindOk -`func (o *NamespaceAuditLog) GetActorKindOk() (*string, bool)` +`func (o *NamespaceAuditLogResponse) GetActorKindOk() (*string, bool)` GetActorKindOk returns a tuple with the ActorKind field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetActorKind -`func (o *NamespaceAuditLog) SetActorKind(v string)` +`func (o *NamespaceAuditLogResponse) SetActorKind(v string)` SetActorKind sets ActorKind field to given value. ### HasActorKind -`func (o *NamespaceAuditLog) HasActorKind() bool` +`func (o *NamespaceAuditLogResponse) HasActorKind() bool` HasActorKind returns a boolean if a field has been set. ### GetActorLocation -`func (o *NamespaceAuditLog) GetActorLocation() map[string]interface{}` +`func (o *NamespaceAuditLogResponse) GetActorLocation() GeoIpLocation` GetActorLocation returns the ActorLocation field if non-nil, zero value otherwise. ### GetActorLocationOk -`func (o *NamespaceAuditLog) GetActorLocationOk() (*map[string]interface{}, bool)` +`func (o *NamespaceAuditLogResponse) GetActorLocationOk() (*GeoIpLocation, bool)` GetActorLocationOk returns a tuple with the ActorLocation field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetActorLocation -`func (o *NamespaceAuditLog) SetActorLocation(v map[string]interface{})` +`func (o *NamespaceAuditLogResponse) SetActorLocation(v GeoIpLocation)` SetActorLocation sets ActorLocation field to given value. ### GetActorSlugPerm -`func (o *NamespaceAuditLog) GetActorSlugPerm() string` +`func (o *NamespaceAuditLogResponse) GetActorSlugPerm() string` GetActorSlugPerm returns the ActorSlugPerm field if non-nil, zero value otherwise. ### GetActorSlugPermOk -`func (o *NamespaceAuditLog) GetActorSlugPermOk() (*string, bool)` +`func (o *NamespaceAuditLogResponse) GetActorSlugPermOk() (*string, bool)` GetActorSlugPermOk returns a tuple with the ActorSlugPerm field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetActorSlugPerm -`func (o *NamespaceAuditLog) SetActorSlugPerm(v string)` +`func (o *NamespaceAuditLogResponse) SetActorSlugPerm(v string)` SetActorSlugPerm sets ActorSlugPerm field to given value. +### SetActorSlugPermNil + +`func (o *NamespaceAuditLogResponse) SetActorSlugPermNil(b bool)` + + SetActorSlugPermNil sets the value for ActorSlugPerm to be an explicit nil + +### UnsetActorSlugPerm +`func (o *NamespaceAuditLogResponse) UnsetActorSlugPerm()` + +UnsetActorSlugPerm ensures that no value is present for ActorSlugPerm, not even an explicit nil ### GetActorUrl -`func (o *NamespaceAuditLog) GetActorUrl() string` +`func (o *NamespaceAuditLogResponse) GetActorUrl() string` GetActorUrl returns the ActorUrl field if non-nil, zero value otherwise. ### GetActorUrlOk -`func (o *NamespaceAuditLog) GetActorUrlOk() (*string, bool)` +`func (o *NamespaceAuditLogResponse) GetActorUrlOk() (*string, bool)` GetActorUrlOk returns a tuple with the ActorUrl field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetActorUrl -`func (o *NamespaceAuditLog) SetActorUrl(v string)` +`func (o *NamespaceAuditLogResponse) SetActorUrl(v string)` SetActorUrl sets ActorUrl field to given value. ### HasActorUrl -`func (o *NamespaceAuditLog) HasActorUrl() bool` +`func (o *NamespaceAuditLogResponse) HasActorUrl() bool` HasActorUrl returns a boolean if a field has been set. +### SetActorUrlNil + +`func (o *NamespaceAuditLogResponse) SetActorUrlNil(b bool)` + + SetActorUrlNil sets the value for ActorUrl to be an explicit nil + +### UnsetActorUrl +`func (o *NamespaceAuditLogResponse) UnsetActorUrl()` + +UnsetActorUrl ensures that no value is present for ActorUrl, not even an explicit nil ### GetContext -`func (o *NamespaceAuditLog) GetContext() string` +`func (o *NamespaceAuditLogResponse) GetContext() string` GetContext returns the Context field if non-nil, zero value otherwise. ### GetContextOk -`func (o *NamespaceAuditLog) GetContextOk() (*string, bool)` +`func (o *NamespaceAuditLogResponse) GetContextOk() (*string, bool)` GetContextOk returns a tuple with the Context field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetContext -`func (o *NamespaceAuditLog) SetContext(v string)` +`func (o *NamespaceAuditLogResponse) SetContext(v string)` SetContext sets Context field to given value. ### GetEvent -`func (o *NamespaceAuditLog) GetEvent() string` +`func (o *NamespaceAuditLogResponse) GetEvent() string` GetEvent returns the Event field if non-nil, zero value otherwise. ### GetEventOk -`func (o *NamespaceAuditLog) GetEventOk() (*string, bool)` +`func (o *NamespaceAuditLogResponse) GetEventOk() (*string, bool)` GetEventOk returns a tuple with the Event field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetEvent -`func (o *NamespaceAuditLog) SetEvent(v string)` +`func (o *NamespaceAuditLogResponse) SetEvent(v string)` SetEvent sets Event field to given value. ### GetEventAt -`func (o *NamespaceAuditLog) GetEventAt() string` +`func (o *NamespaceAuditLogResponse) GetEventAt() time.Time` GetEventAt returns the EventAt field if non-nil, zero value otherwise. ### GetEventAtOk -`func (o *NamespaceAuditLog) GetEventAtOk() (*string, bool)` +`func (o *NamespaceAuditLogResponse) GetEventAtOk() (*time.Time, bool)` GetEventAtOk returns a tuple with the EventAt field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetEventAt -`func (o *NamespaceAuditLog) SetEventAt(v string)` +`func (o *NamespaceAuditLogResponse) SetEventAt(v time.Time)` SetEventAt sets EventAt field to given value. ### GetObject -`func (o *NamespaceAuditLog) GetObject() string` +`func (o *NamespaceAuditLogResponse) GetObject() string` GetObject returns the Object field if non-nil, zero value otherwise. ### GetObjectOk -`func (o *NamespaceAuditLog) GetObjectOk() (*string, bool)` +`func (o *NamespaceAuditLogResponse) GetObjectOk() (*string, bool)` GetObjectOk returns a tuple with the Object field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetObject -`func (o *NamespaceAuditLog) SetObject(v string)` +`func (o *NamespaceAuditLogResponse) SetObject(v string)` SetObject sets Object field to given value. ### GetObjectKind -`func (o *NamespaceAuditLog) GetObjectKind() string` +`func (o *NamespaceAuditLogResponse) GetObjectKind() string` GetObjectKind returns the ObjectKind field if non-nil, zero value otherwise. ### GetObjectKindOk -`func (o *NamespaceAuditLog) GetObjectKindOk() (*string, bool)` +`func (o *NamespaceAuditLogResponse) GetObjectKindOk() (*string, bool)` GetObjectKindOk returns a tuple with the ObjectKind field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetObjectKind -`func (o *NamespaceAuditLog) SetObjectKind(v string)` +`func (o *NamespaceAuditLogResponse) SetObjectKind(v string)` SetObjectKind sets ObjectKind field to given value. ### GetObjectSlugPerm -`func (o *NamespaceAuditLog) GetObjectSlugPerm() string` +`func (o *NamespaceAuditLogResponse) GetObjectSlugPerm() string` GetObjectSlugPerm returns the ObjectSlugPerm field if non-nil, zero value otherwise. ### GetObjectSlugPermOk -`func (o *NamespaceAuditLog) GetObjectSlugPermOk() (*string, bool)` +`func (o *NamespaceAuditLogResponse) GetObjectSlugPermOk() (*string, bool)` GetObjectSlugPermOk returns a tuple with the ObjectSlugPerm field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetObjectSlugPerm -`func (o *NamespaceAuditLog) SetObjectSlugPerm(v string)` +`func (o *NamespaceAuditLogResponse) SetObjectSlugPerm(v string)` SetObjectSlugPerm sets ObjectSlugPerm field to given value. ### GetTarget -`func (o *NamespaceAuditLog) GetTarget() string` +`func (o *NamespaceAuditLogResponse) GetTarget() string` GetTarget returns the Target field if non-nil, zero value otherwise. ### GetTargetOk -`func (o *NamespaceAuditLog) GetTargetOk() (*string, bool)` +`func (o *NamespaceAuditLogResponse) GetTargetOk() (*string, bool)` GetTargetOk returns a tuple with the Target field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetTarget -`func (o *NamespaceAuditLog) SetTarget(v string)` +`func (o *NamespaceAuditLogResponse) SetTarget(v string)` SetTarget sets Target field to given value. ### GetTargetKind -`func (o *NamespaceAuditLog) GetTargetKind() string` +`func (o *NamespaceAuditLogResponse) GetTargetKind() string` GetTargetKind returns the TargetKind field if non-nil, zero value otherwise. ### GetTargetKindOk -`func (o *NamespaceAuditLog) GetTargetKindOk() (*string, bool)` +`func (o *NamespaceAuditLogResponse) GetTargetKindOk() (*string, bool)` GetTargetKindOk returns a tuple with the TargetKind field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetTargetKind -`func (o *NamespaceAuditLog) SetTargetKind(v string)` +`func (o *NamespaceAuditLogResponse) SetTargetKind(v string)` SetTargetKind sets TargetKind field to given value. ### GetTargetSlugPerm -`func (o *NamespaceAuditLog) GetTargetSlugPerm() string` +`func (o *NamespaceAuditLogResponse) GetTargetSlugPerm() string` GetTargetSlugPerm returns the TargetSlugPerm field if non-nil, zero value otherwise. ### GetTargetSlugPermOk -`func (o *NamespaceAuditLog) GetTargetSlugPermOk() (*string, bool)` +`func (o *NamespaceAuditLogResponse) GetTargetSlugPermOk() (*string, bool)` GetTargetSlugPermOk returns a tuple with the TargetSlugPerm field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetTargetSlugPerm -`func (o *NamespaceAuditLog) SetTargetSlugPerm(v string)` +`func (o *NamespaceAuditLogResponse) SetTargetSlugPerm(v string)` SetTargetSlugPerm sets TargetSlugPerm field to given value. ### HasTargetSlugPerm -`func (o *NamespaceAuditLog) HasTargetSlugPerm() bool` +`func (o *NamespaceAuditLogResponse) HasTargetSlugPerm() bool` HasTargetSlugPerm returns a boolean if a field has been set. +### SetTargetSlugPermNil + +`func (o *NamespaceAuditLogResponse) SetTargetSlugPermNil(b bool)` + + SetTargetSlugPermNil sets the value for TargetSlugPerm to be an explicit nil + +### UnsetTargetSlugPerm +`func (o *NamespaceAuditLogResponse) UnsetTargetSlugPerm()` + +UnsetTargetSlugPerm ensures that no value is present for TargetSlugPerm, not even an explicit nil ### GetUuid -`func (o *NamespaceAuditLog) GetUuid() string` +`func (o *NamespaceAuditLogResponse) GetUuid() string` GetUuid returns the Uuid field if non-nil, zero value otherwise. ### GetUuidOk -`func (o *NamespaceAuditLog) GetUuidOk() (*string, bool)` +`func (o *NamespaceAuditLogResponse) GetUuidOk() (*string, bool)` GetUuidOk returns a tuple with the Uuid field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetUuid -`func (o *NamespaceAuditLog) SetUuid(v string)` +`func (o *NamespaceAuditLogResponse) SetUuid(v string)` SetUuid sets Uuid field to given value. ### HasUuid -`func (o *NamespaceAuditLog) HasUuid() bool` +`func (o *NamespaceAuditLogResponse) HasUuid() bool` HasUuid returns a boolean if a field has been set. diff --git a/docs/Namespace.md b/docs/NamespaceResponse.md similarity index 60% rename from docs/Namespace.md rename to docs/NamespaceResponse.md index 002db24e..f8c69ab7 100644 --- a/docs/Namespace.md +++ b/docs/NamespaceResponse.md @@ -1,130 +1,130 @@ -# Namespace +# NamespaceResponse ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**Name** | Pointer to **string** | | [optional] -**Slug** | Pointer to **string** | | [optional] -**SlugPerm** | Pointer to **string** | | [optional] -**TypeName** | Pointer to **string** | | [optional] +**Name** | Pointer to **string** | | [optional] [readonly] +**Slug** | Pointer to **string** | | [optional] [readonly] +**SlugPerm** | Pointer to **string** | | [optional] [readonly] +**TypeName** | Pointer to **string** | | [optional] [readonly] ## Methods -### NewNamespace +### NewNamespaceResponse -`func NewNamespace() *Namespace` +`func NewNamespaceResponse() *NamespaceResponse` -NewNamespace instantiates a new Namespace object +NewNamespaceResponse instantiates a new NamespaceResponse object 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 -### NewNamespaceWithDefaults +### NewNamespaceResponseWithDefaults -`func NewNamespaceWithDefaults() *Namespace` +`func NewNamespaceResponseWithDefaults() *NamespaceResponse` -NewNamespaceWithDefaults instantiates a new Namespace object +NewNamespaceResponseWithDefaults instantiates a new NamespaceResponse object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set ### GetName -`func (o *Namespace) GetName() string` +`func (o *NamespaceResponse) GetName() string` GetName returns the Name field if non-nil, zero value otherwise. ### GetNameOk -`func (o *Namespace) GetNameOk() (*string, bool)` +`func (o *NamespaceResponse) GetNameOk() (*string, bool)` 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. ### SetName -`func (o *Namespace) SetName(v string)` +`func (o *NamespaceResponse) SetName(v string)` SetName sets Name field to given value. ### HasName -`func (o *Namespace) HasName() bool` +`func (o *NamespaceResponse) HasName() bool` HasName returns a boolean if a field has been set. ### GetSlug -`func (o *Namespace) GetSlug() string` +`func (o *NamespaceResponse) GetSlug() string` GetSlug returns the Slug field if non-nil, zero value otherwise. ### GetSlugOk -`func (o *Namespace) GetSlugOk() (*string, bool)` +`func (o *NamespaceResponse) GetSlugOk() (*string, bool)` GetSlugOk returns a tuple with the Slug field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetSlug -`func (o *Namespace) SetSlug(v string)` +`func (o *NamespaceResponse) SetSlug(v string)` SetSlug sets Slug field to given value. ### HasSlug -`func (o *Namespace) HasSlug() bool` +`func (o *NamespaceResponse) HasSlug() bool` HasSlug returns a boolean if a field has been set. ### GetSlugPerm -`func (o *Namespace) GetSlugPerm() string` +`func (o *NamespaceResponse) GetSlugPerm() string` GetSlugPerm returns the SlugPerm field if non-nil, zero value otherwise. ### GetSlugPermOk -`func (o *Namespace) GetSlugPermOk() (*string, bool)` +`func (o *NamespaceResponse) GetSlugPermOk() (*string, bool)` GetSlugPermOk returns a tuple with the SlugPerm field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetSlugPerm -`func (o *Namespace) SetSlugPerm(v string)` +`func (o *NamespaceResponse) SetSlugPerm(v string)` SetSlugPerm sets SlugPerm field to given value. ### HasSlugPerm -`func (o *Namespace) HasSlugPerm() bool` +`func (o *NamespaceResponse) HasSlugPerm() bool` HasSlugPerm returns a boolean if a field has been set. ### GetTypeName -`func (o *Namespace) GetTypeName() string` +`func (o *NamespaceResponse) GetTypeName() string` GetTypeName returns the TypeName field if non-nil, zero value otherwise. ### GetTypeNameOk -`func (o *Namespace) GetTypeNameOk() (*string, bool)` +`func (o *NamespaceResponse) GetTypeNameOk() (*string, bool)` GetTypeNameOk returns a tuple with the TypeName field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetTypeName -`func (o *Namespace) SetTypeName(v string)` +`func (o *NamespaceResponse) SetTypeName(v string)` SetTypeName sets TypeName field to given value. ### HasTypeName -`func (o *Namespace) HasTypeName() bool` +`func (o *NamespaceResponse) HasTypeName() bool` HasTypeName returns a boolean if a field has been set. diff --git a/docs/NamespacesApi.md b/docs/NamespacesApi.md index 3f060d22..82a96be7 100644 --- a/docs/NamespacesApi.md +++ b/docs/NamespacesApi.md @@ -11,7 +11,7 @@ Method | HTTP request | Description ## NamespacesList -> []Namespace NamespacesList(ctx).Page(page).PageSize(pageSize).Execute() +> []NamespaceResponse NamespacesList(ctx).Page(page).PageSize(pageSize).Execute() Get a list of all namespaces the user belongs to. @@ -40,7 +40,7 @@ func main() { fmt.Fprintf(os.Stderr, "Error when calling `NamespacesApi.NamespacesList``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } - // response from `NamespacesList`: []Namespace + // response from `NamespacesList`: []NamespaceResponse fmt.Fprintf(os.Stdout, "Response from `NamespacesApi.NamespacesList`: %v\n", resp) } ``` @@ -61,7 +61,7 @@ Name | Type | Description | Notes ### Return type -[**[]Namespace**](Namespace.md) +[**[]NamespaceResponse**](NamespaceResponse.md) ### Authorization @@ -70,7 +70,7 @@ Name | Type | Description | Notes ### HTTP request headers - **Content-Type**: Not defined -- **Accept**: */* +- **Accept**: application/json [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) @@ -79,7 +79,7 @@ Name | Type | Description | Notes ## NamespacesRead -> Namespace NamespacesRead(ctx, slug).Execute() +> NamespaceResponse NamespacesRead(ctx, slug).Execute() Views for working with namespaces. @@ -107,7 +107,7 @@ func main() { fmt.Fprintf(os.Stderr, "Error when calling `NamespacesApi.NamespacesRead``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } - // response from `NamespacesRead`: Namespace + // response from `NamespacesRead`: NamespaceResponse fmt.Fprintf(os.Stdout, "Response from `NamespacesApi.NamespacesRead`: %v\n", resp) } ``` @@ -131,7 +131,7 @@ Name | Type | Description | Notes ### Return type -[**Namespace**](Namespace.md) +[**NamespaceResponse**](NamespaceResponse.md) ### Authorization @@ -140,7 +140,7 @@ Name | Type | Description | Notes ### HTTP request headers - **Content-Type**: Not defined -- **Accept**: */* +- **Accept**: application/json [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) diff --git a/docs/PackagesUploadNpm.md b/docs/NpmPackageUploadRequest.md similarity index 59% rename from docs/PackagesUploadNpm.md rename to docs/NpmPackageUploadRequest.md index 5c6fc9f0..31b1994b 100644 --- a/docs/PackagesUploadNpm.md +++ b/docs/NpmPackageUploadRequest.md @@ -1,128 +1,138 @@ -# PackagesUploadNpm +# NpmPackageUploadRequest ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**NpmDistTag** | Pointer to **string** | The default npm dist-tag for this package/version - This will replace any other package/version if they are using the same tag. | [optional] +**NpmDistTag** | Pointer to **string** | The default npm dist-tag for this package/version - This will replace any other package/version if they are using the same tag. | [optional] [default to "latest"] **PackageFile** | **string** | The primary file for the package. | **Republish** | Pointer to **bool** | If true, the uploaded package will overwrite any others with the same attributes (e.g. same version); otherwise, it will be flagged as a duplicate. | [optional] -**Tags** | Pointer to **string** | A comma-separated values list of tags to add to the package. | [optional] +**Tags** | Pointer to **NullableString** | A comma-separated values list of tags to add to the package. | [optional] ## Methods -### NewPackagesUploadNpm +### NewNpmPackageUploadRequest -`func NewPackagesUploadNpm(packageFile string, ) *PackagesUploadNpm` +`func NewNpmPackageUploadRequest(packageFile string, ) *NpmPackageUploadRequest` -NewPackagesUploadNpm instantiates a new PackagesUploadNpm object +NewNpmPackageUploadRequest instantiates a new NpmPackageUploadRequest object 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 -### NewPackagesUploadNpmWithDefaults +### NewNpmPackageUploadRequestWithDefaults -`func NewPackagesUploadNpmWithDefaults() *PackagesUploadNpm` +`func NewNpmPackageUploadRequestWithDefaults() *NpmPackageUploadRequest` -NewPackagesUploadNpmWithDefaults instantiates a new PackagesUploadNpm object +NewNpmPackageUploadRequestWithDefaults instantiates a new NpmPackageUploadRequest object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set ### GetNpmDistTag -`func (o *PackagesUploadNpm) GetNpmDistTag() string` +`func (o *NpmPackageUploadRequest) GetNpmDistTag() string` GetNpmDistTag returns the NpmDistTag field if non-nil, zero value otherwise. ### GetNpmDistTagOk -`func (o *PackagesUploadNpm) GetNpmDistTagOk() (*string, bool)` +`func (o *NpmPackageUploadRequest) GetNpmDistTagOk() (*string, bool)` GetNpmDistTagOk returns a tuple with the NpmDistTag field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetNpmDistTag -`func (o *PackagesUploadNpm) SetNpmDistTag(v string)` +`func (o *NpmPackageUploadRequest) SetNpmDistTag(v string)` SetNpmDistTag sets NpmDistTag field to given value. ### HasNpmDistTag -`func (o *PackagesUploadNpm) HasNpmDistTag() bool` +`func (o *NpmPackageUploadRequest) HasNpmDistTag() bool` HasNpmDistTag returns a boolean if a field has been set. ### GetPackageFile -`func (o *PackagesUploadNpm) GetPackageFile() string` +`func (o *NpmPackageUploadRequest) GetPackageFile() string` GetPackageFile returns the PackageFile field if non-nil, zero value otherwise. ### GetPackageFileOk -`func (o *PackagesUploadNpm) GetPackageFileOk() (*string, bool)` +`func (o *NpmPackageUploadRequest) GetPackageFileOk() (*string, bool)` GetPackageFileOk returns a tuple with the PackageFile field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetPackageFile -`func (o *PackagesUploadNpm) SetPackageFile(v string)` +`func (o *NpmPackageUploadRequest) SetPackageFile(v string)` SetPackageFile sets PackageFile field to given value. ### GetRepublish -`func (o *PackagesUploadNpm) GetRepublish() bool` +`func (o *NpmPackageUploadRequest) GetRepublish() bool` GetRepublish returns the Republish field if non-nil, zero value otherwise. ### GetRepublishOk -`func (o *PackagesUploadNpm) GetRepublishOk() (*bool, bool)` +`func (o *NpmPackageUploadRequest) GetRepublishOk() (*bool, bool)` GetRepublishOk returns a tuple with the Republish field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetRepublish -`func (o *PackagesUploadNpm) SetRepublish(v bool)` +`func (o *NpmPackageUploadRequest) SetRepublish(v bool)` SetRepublish sets Republish field to given value. ### HasRepublish -`func (o *PackagesUploadNpm) HasRepublish() bool` +`func (o *NpmPackageUploadRequest) HasRepublish() bool` HasRepublish returns a boolean if a field has been set. ### GetTags -`func (o *PackagesUploadNpm) GetTags() string` +`func (o *NpmPackageUploadRequest) GetTags() string` GetTags returns the Tags field if non-nil, zero value otherwise. ### GetTagsOk -`func (o *PackagesUploadNpm) GetTagsOk() (*string, bool)` +`func (o *NpmPackageUploadRequest) GetTagsOk() (*string, bool)` GetTagsOk returns a tuple with the Tags field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetTags -`func (o *PackagesUploadNpm) SetTags(v string)` +`func (o *NpmPackageUploadRequest) SetTags(v string)` SetTags sets Tags field to given value. ### HasTags -`func (o *PackagesUploadNpm) HasTags() bool` +`func (o *NpmPackageUploadRequest) HasTags() bool` HasTags returns a boolean if a field has been set. +### SetTagsNil + +`func (o *NpmPackageUploadRequest) SetTagsNil(b bool)` + + SetTagsNil sets the value for Tags to be an explicit nil + +### UnsetTags +`func (o *NpmPackageUploadRequest) UnsetTags()` + +UnsetTags ensures that no value is present for Tags, 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/docs/LuarocksPackageUpload.md b/docs/NpmPackageUploadResponse.md similarity index 55% rename from docs/LuarocksPackageUpload.md rename to docs/NpmPackageUploadResponse.md index 92f9e2b1..d4a5edf7 100644 --- a/docs/LuarocksPackageUpload.md +++ b/docs/NpmPackageUploadResponse.md @@ -1,1742 +1,1834 @@ -# LuarocksPackageUpload +# NpmPackageUploadResponse ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**Architectures** | Pointer to [**[]PackagesOwnerRepoArchitectures**](PackagesOwnerRepoArchitectures.md) | | [optional] -**CdnUrl** | Pointer to **string** | | [optional] -**ChecksumMd5** | Pointer to **string** | | [optional] -**ChecksumSha1** | Pointer to **string** | | [optional] -**ChecksumSha256** | Pointer to **string** | | [optional] -**ChecksumSha512** | Pointer to **string** | | [optional] -**DependenciesChecksumMd5** | Pointer to **string** | A checksum of all of the package's dependencies. | [optional] -**DependenciesUrl** | Pointer to **string** | | [optional] -**Description** | Pointer to **string** | A textual description of this package. | [optional] -**Distro** | Pointer to **map[string]interface{}** | | [optional] -**DistroVersion** | Pointer to **map[string]interface{}** | | [optional] -**Downloads** | Pointer to **int64** | | [optional] -**Epoch** | Pointer to **int64** | The epoch of the package version (if any). | [optional] -**Extension** | Pointer to **string** | | [optional] -**Filename** | Pointer to **string** | | [optional] -**Files** | Pointer to [**[]PackagesOwnerRepoFiles**](PackagesOwnerRepoFiles.md) | | [optional] -**Format** | Pointer to **string** | | [optional] -**FormatUrl** | Pointer to **string** | | [optional] -**IdentifierPerm** | Pointer to **string** | Unique and permanent identifier for the package. | [optional] -**Indexed** | Pointer to **bool** | | [optional] -**IsDownloadable** | Pointer to **bool** | | [optional] -**IsQuarantined** | Pointer to **bool** | | [optional] -**IsSyncAwaiting** | Pointer to **bool** | | [optional] -**IsSyncCompleted** | Pointer to **bool** | | [optional] -**IsSyncFailed** | Pointer to **bool** | | [optional] -**IsSyncInFlight** | Pointer to **bool** | | [optional] -**IsSyncInProgress** | Pointer to **bool** | | [optional] -**License** | Pointer to **string** | The license of this package. | [optional] -**Name** | Pointer to **string** | The name of this package. | [optional] -**Namespace** | Pointer to **string** | | [optional] -**NamespaceUrl** | Pointer to **string** | | [optional] -**NumFiles** | Pointer to **int64** | | [optional] -**PackageType** | Pointer to **int64** | The type of package contents. | [optional] -**Release** | Pointer to **string** | The release of the package version (if any). | [optional] -**Repository** | Pointer to **string** | | [optional] -**RepositoryUrl** | Pointer to **string** | | [optional] -**SecurityScanCompletedAt** | Pointer to **string** | The datetime the security scanning was completed. | [optional] -**SecurityScanStartedAt** | Pointer to **string** | The datetime the security scanning was started. | [optional] -**SecurityScanStatus** | Pointer to **string** | | [optional] -**SecurityScanStatusUpdatedAt** | Pointer to **string** | The datetime the security scanning status was updated. | [optional] -**SelfHtmlUrl** | Pointer to **string** | | [optional] -**SelfUrl** | Pointer to **string** | | [optional] -**SignatureUrl** | Pointer to **string** | | [optional] -**Size** | Pointer to **int64** | The calculated size of the package. | [optional] -**Slug** | Pointer to **string** | The public unique identifier for the package. | [optional] -**SlugPerm** | Pointer to **string** | | [optional] -**Stage** | Pointer to **int64** | The synchronisation (in progress) stage of the package. | [optional] -**StageStr** | Pointer to **string** | | [optional] -**StageUpdatedAt** | Pointer to **string** | The datetime the package stage was updated at. | [optional] -**Status** | Pointer to **int64** | The synchronisation status of the package. | [optional] -**StatusReason** | Pointer to **string** | A textual description for the synchronous status reason (if any | [optional] -**StatusStr** | Pointer to **string** | | [optional] -**StatusUpdatedAt** | Pointer to **string** | The datetime the package status was updated at. | [optional] -**StatusUrl** | Pointer to **string** | | [optional] -**Subtype** | Pointer to **string** | | [optional] -**Summary** | Pointer to **string** | A one-liner synopsis of this package. | [optional] -**SyncFinishedAt** | Pointer to **string** | The datetime the package sync was finished at. | [optional] -**SyncProgress** | Pointer to **int64** | Synchronisation progress (from 0-100) | [optional] -**TagsImmutable** | Pointer to **map[string]interface{}** | All immutable tags on the package, grouped by tag type. Immutable tags cannot be (easily) deleted. | [optional] -**TypeDisplay** | Pointer to **string** | | [optional] -**UploadedAt** | Pointer to **string** | The date this package was uploaded. | [optional] -**Uploader** | Pointer to **string** | | [optional] -**UploaderUrl** | Pointer to **string** | | [optional] -**Version** | Pointer to **string** | The raw version for this package. | [optional] -**VersionOrig** | Pointer to **string** | | [optional] -**VulnerabilityScanResultsUrl** | Pointer to **string** | | [optional] +**Architectures** | Pointer to [**[]Architecture**](Architecture.md) | | [optional] [readonly] +**CdnUrl** | Pointer to **NullableString** | | [optional] [readonly] +**ChecksumMd5** | Pointer to **string** | | [optional] [readonly] +**ChecksumSha1** | Pointer to **string** | | [optional] [readonly] +**ChecksumSha256** | Pointer to **string** | | [optional] [readonly] +**ChecksumSha512** | Pointer to **string** | | [optional] [readonly] +**DependenciesChecksumMd5** | Pointer to **string** | A checksum of all of the package's dependencies. | [optional] [readonly] +**DependenciesUrl** | Pointer to **string** | | [optional] [readonly] +**Description** | Pointer to **string** | A textual description of this package. | [optional] [readonly] +**Distro** | Pointer to [**NullableDistribution**](Distribution.md) | | [optional] +**DistroVersion** | Pointer to [**DistributionVersion**](DistributionVersion.md) | | [optional] +**Downloads** | Pointer to **int64** | | [optional] [readonly] +**Epoch** | Pointer to **int64** | The epoch of the package version (if any). | [optional] [readonly] +**Extension** | Pointer to **string** | | [optional] [readonly] +**Filename** | Pointer to **string** | | [optional] [readonly] +**Files** | Pointer to [**[]PackageFile**](PackageFile.md) | | [optional] [readonly] +**Format** | Pointer to **string** | | [optional] [readonly] +**FormatUrl** | Pointer to **string** | | [optional] [readonly] +**IdentifierPerm** | Pointer to **string** | Unique and permanent identifier for the package. | [optional] [readonly] +**Indexed** | Pointer to **bool** | | [optional] [readonly] +**IsDownloadable** | Pointer to **bool** | | [optional] [readonly] +**IsQuarantined** | Pointer to **bool** | | [optional] [readonly] +**IsSyncAwaiting** | Pointer to **bool** | | [optional] [readonly] +**IsSyncCompleted** | Pointer to **bool** | | [optional] [readonly] +**IsSyncFailed** | Pointer to **bool** | | [optional] [readonly] +**IsSyncInFlight** | Pointer to **bool** | | [optional] [readonly] +**IsSyncInProgress** | Pointer to **bool** | | [optional] [readonly] +**License** | Pointer to **string** | The license of this package. | [optional] [readonly] +**Name** | Pointer to **string** | The name of this package. | [optional] [readonly] +**Namespace** | Pointer to **string** | | [optional] [readonly] +**NamespaceUrl** | Pointer to **string** | | [optional] [readonly] +**NumFiles** | Pointer to **int64** | | [optional] [readonly] +**OriginRepository** | Pointer to **string** | | [optional] [readonly] +**OriginRepositoryUrl** | Pointer to **string** | | [optional] [readonly] +**PackageType** | Pointer to **int64** | The type of package contents. | [optional] [readonly] +**Release** | Pointer to **string** | The release of the package version (if any). | [optional] [readonly] +**Repository** | Pointer to **string** | | [optional] [readonly] +**RepositoryUrl** | Pointer to **string** | | [optional] [readonly] +**SecurityScanCompletedAt** | Pointer to **time.Time** | The datetime the security scanning was completed. | [optional] [readonly] +**SecurityScanStartedAt** | Pointer to **time.Time** | The datetime the security scanning was started. | [optional] [readonly] +**SecurityScanStatus** | Pointer to **NullableString** | | [optional] [readonly] [default to "Awaiting Security Scan"] +**SecurityScanStatusUpdatedAt** | Pointer to **time.Time** | The datetime the security scanning status was updated. | [optional] [readonly] +**SelfHtmlUrl** | Pointer to **string** | | [optional] [readonly] +**SelfUrl** | Pointer to **string** | | [optional] [readonly] +**SignatureUrl** | Pointer to **NullableString** | | [optional] [readonly] +**Size** | Pointer to **int64** | The calculated size of the package. | [optional] [readonly] +**Slug** | Pointer to **string** | The public unique identifier for the package. | [optional] [readonly] +**SlugPerm** | Pointer to **string** | | [optional] [readonly] +**Stage** | Pointer to **int64** | The synchronisation (in progress) stage of the package. | [optional] [readonly] +**StageStr** | Pointer to **string** | | [optional] [readonly] +**StageUpdatedAt** | Pointer to **time.Time** | The datetime the package stage was updated at. | [optional] [readonly] +**Status** | Pointer to **int64** | The synchronisation status of the package. | [optional] [readonly] +**StatusReason** | Pointer to **string** | A textual description for the synchronous status reason (if any | [optional] [readonly] +**StatusStr** | Pointer to **string** | | [optional] [readonly] +**StatusUpdatedAt** | Pointer to **time.Time** | The datetime the package status was updated at. | [optional] [readonly] +**StatusUrl** | Pointer to **string** | | [optional] [readonly] +**Subtype** | Pointer to **string** | | [optional] [readonly] +**Summary** | Pointer to **string** | A one-liner synopsis of this package. | [optional] [readonly] +**SyncFinishedAt** | Pointer to **time.Time** | The datetime the package sync was finished at. | [optional] [readonly] +**SyncProgress** | Pointer to **int64** | Synchronisation progress (from 0-100) | [optional] [readonly] +**TagsImmutable** | Pointer to **map[string]interface{}** | All tags on the package, grouped by tag type. This includes immutable tags, but doesn't distinguish them from mutable. To see which tags are immutable specifically, see the tags_immutable field. | [optional] +**TypeDisplay** | Pointer to **string** | | [optional] [readonly] +**UploadedAt** | Pointer to **time.Time** | The date this package was uploaded. | [optional] [readonly] +**Uploader** | Pointer to **string** | | [optional] [readonly] +**UploaderUrl** | Pointer to **string** | | [optional] [readonly] +**Version** | Pointer to **string** | The raw version for this package. | [optional] [readonly] +**VersionOrig** | Pointer to **string** | | [optional] [readonly] +**VulnerabilityScanResultsUrl** | Pointer to **string** | | [optional] [readonly] ## Methods -### NewLuarocksPackageUpload +### NewNpmPackageUploadResponse -`func NewLuarocksPackageUpload() *LuarocksPackageUpload` +`func NewNpmPackageUploadResponse() *NpmPackageUploadResponse` -NewLuarocksPackageUpload instantiates a new LuarocksPackageUpload object +NewNpmPackageUploadResponse instantiates a new NpmPackageUploadResponse object 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 -### NewLuarocksPackageUploadWithDefaults +### NewNpmPackageUploadResponseWithDefaults -`func NewLuarocksPackageUploadWithDefaults() *LuarocksPackageUpload` +`func NewNpmPackageUploadResponseWithDefaults() *NpmPackageUploadResponse` -NewLuarocksPackageUploadWithDefaults instantiates a new LuarocksPackageUpload object +NewNpmPackageUploadResponseWithDefaults instantiates a new NpmPackageUploadResponse object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set ### GetArchitectures -`func (o *LuarocksPackageUpload) GetArchitectures() []PackagesOwnerRepoArchitectures` +`func (o *NpmPackageUploadResponse) GetArchitectures() []Architecture` GetArchitectures returns the Architectures field if non-nil, zero value otherwise. ### GetArchitecturesOk -`func (o *LuarocksPackageUpload) GetArchitecturesOk() (*[]PackagesOwnerRepoArchitectures, bool)` +`func (o *NpmPackageUploadResponse) GetArchitecturesOk() (*[]Architecture, bool)` GetArchitecturesOk returns a tuple with the Architectures field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetArchitectures -`func (o *LuarocksPackageUpload) SetArchitectures(v []PackagesOwnerRepoArchitectures)` +`func (o *NpmPackageUploadResponse) SetArchitectures(v []Architecture)` SetArchitectures sets Architectures field to given value. ### HasArchitectures -`func (o *LuarocksPackageUpload) HasArchitectures() bool` +`func (o *NpmPackageUploadResponse) HasArchitectures() bool` HasArchitectures returns a boolean if a field has been set. ### GetCdnUrl -`func (o *LuarocksPackageUpload) GetCdnUrl() string` +`func (o *NpmPackageUploadResponse) GetCdnUrl() string` GetCdnUrl returns the CdnUrl field if non-nil, zero value otherwise. ### GetCdnUrlOk -`func (o *LuarocksPackageUpload) GetCdnUrlOk() (*string, bool)` +`func (o *NpmPackageUploadResponse) GetCdnUrlOk() (*string, bool)` GetCdnUrlOk returns a tuple with the CdnUrl field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetCdnUrl -`func (o *LuarocksPackageUpload) SetCdnUrl(v string)` +`func (o *NpmPackageUploadResponse) SetCdnUrl(v string)` SetCdnUrl sets CdnUrl field to given value. ### HasCdnUrl -`func (o *LuarocksPackageUpload) HasCdnUrl() bool` +`func (o *NpmPackageUploadResponse) HasCdnUrl() bool` HasCdnUrl returns a boolean if a field has been set. +### SetCdnUrlNil + +`func (o *NpmPackageUploadResponse) SetCdnUrlNil(b bool)` + + SetCdnUrlNil sets the value for CdnUrl to be an explicit nil + +### UnsetCdnUrl +`func (o *NpmPackageUploadResponse) UnsetCdnUrl()` + +UnsetCdnUrl ensures that no value is present for CdnUrl, not even an explicit nil ### GetChecksumMd5 -`func (o *LuarocksPackageUpload) GetChecksumMd5() string` +`func (o *NpmPackageUploadResponse) GetChecksumMd5() string` GetChecksumMd5 returns the ChecksumMd5 field if non-nil, zero value otherwise. ### GetChecksumMd5Ok -`func (o *LuarocksPackageUpload) GetChecksumMd5Ok() (*string, bool)` +`func (o *NpmPackageUploadResponse) GetChecksumMd5Ok() (*string, bool)` GetChecksumMd5Ok returns a tuple with the ChecksumMd5 field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetChecksumMd5 -`func (o *LuarocksPackageUpload) SetChecksumMd5(v string)` +`func (o *NpmPackageUploadResponse) SetChecksumMd5(v string)` SetChecksumMd5 sets ChecksumMd5 field to given value. ### HasChecksumMd5 -`func (o *LuarocksPackageUpload) HasChecksumMd5() bool` +`func (o *NpmPackageUploadResponse) HasChecksumMd5() bool` HasChecksumMd5 returns a boolean if a field has been set. ### GetChecksumSha1 -`func (o *LuarocksPackageUpload) GetChecksumSha1() string` +`func (o *NpmPackageUploadResponse) GetChecksumSha1() string` GetChecksumSha1 returns the ChecksumSha1 field if non-nil, zero value otherwise. ### GetChecksumSha1Ok -`func (o *LuarocksPackageUpload) GetChecksumSha1Ok() (*string, bool)` +`func (o *NpmPackageUploadResponse) GetChecksumSha1Ok() (*string, bool)` GetChecksumSha1Ok returns a tuple with the ChecksumSha1 field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetChecksumSha1 -`func (o *LuarocksPackageUpload) SetChecksumSha1(v string)` +`func (o *NpmPackageUploadResponse) SetChecksumSha1(v string)` SetChecksumSha1 sets ChecksumSha1 field to given value. ### HasChecksumSha1 -`func (o *LuarocksPackageUpload) HasChecksumSha1() bool` +`func (o *NpmPackageUploadResponse) HasChecksumSha1() bool` HasChecksumSha1 returns a boolean if a field has been set. ### GetChecksumSha256 -`func (o *LuarocksPackageUpload) GetChecksumSha256() string` +`func (o *NpmPackageUploadResponse) GetChecksumSha256() string` GetChecksumSha256 returns the ChecksumSha256 field if non-nil, zero value otherwise. ### GetChecksumSha256Ok -`func (o *LuarocksPackageUpload) GetChecksumSha256Ok() (*string, bool)` +`func (o *NpmPackageUploadResponse) GetChecksumSha256Ok() (*string, bool)` GetChecksumSha256Ok returns a tuple with the ChecksumSha256 field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetChecksumSha256 -`func (o *LuarocksPackageUpload) SetChecksumSha256(v string)` +`func (o *NpmPackageUploadResponse) SetChecksumSha256(v string)` SetChecksumSha256 sets ChecksumSha256 field to given value. ### HasChecksumSha256 -`func (o *LuarocksPackageUpload) HasChecksumSha256() bool` +`func (o *NpmPackageUploadResponse) HasChecksumSha256() bool` HasChecksumSha256 returns a boolean if a field has been set. ### GetChecksumSha512 -`func (o *LuarocksPackageUpload) GetChecksumSha512() string` +`func (o *NpmPackageUploadResponse) GetChecksumSha512() string` GetChecksumSha512 returns the ChecksumSha512 field if non-nil, zero value otherwise. ### GetChecksumSha512Ok -`func (o *LuarocksPackageUpload) GetChecksumSha512Ok() (*string, bool)` +`func (o *NpmPackageUploadResponse) GetChecksumSha512Ok() (*string, bool)` GetChecksumSha512Ok returns a tuple with the ChecksumSha512 field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetChecksumSha512 -`func (o *LuarocksPackageUpload) SetChecksumSha512(v string)` +`func (o *NpmPackageUploadResponse) SetChecksumSha512(v string)` SetChecksumSha512 sets ChecksumSha512 field to given value. ### HasChecksumSha512 -`func (o *LuarocksPackageUpload) HasChecksumSha512() bool` +`func (o *NpmPackageUploadResponse) HasChecksumSha512() bool` HasChecksumSha512 returns a boolean if a field has been set. ### GetDependenciesChecksumMd5 -`func (o *LuarocksPackageUpload) GetDependenciesChecksumMd5() string` +`func (o *NpmPackageUploadResponse) GetDependenciesChecksumMd5() string` GetDependenciesChecksumMd5 returns the DependenciesChecksumMd5 field if non-nil, zero value otherwise. ### GetDependenciesChecksumMd5Ok -`func (o *LuarocksPackageUpload) GetDependenciesChecksumMd5Ok() (*string, bool)` +`func (o *NpmPackageUploadResponse) GetDependenciesChecksumMd5Ok() (*string, bool)` GetDependenciesChecksumMd5Ok returns a tuple with the DependenciesChecksumMd5 field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetDependenciesChecksumMd5 -`func (o *LuarocksPackageUpload) SetDependenciesChecksumMd5(v string)` +`func (o *NpmPackageUploadResponse) SetDependenciesChecksumMd5(v string)` SetDependenciesChecksumMd5 sets DependenciesChecksumMd5 field to given value. ### HasDependenciesChecksumMd5 -`func (o *LuarocksPackageUpload) HasDependenciesChecksumMd5() bool` +`func (o *NpmPackageUploadResponse) HasDependenciesChecksumMd5() bool` HasDependenciesChecksumMd5 returns a boolean if a field has been set. ### GetDependenciesUrl -`func (o *LuarocksPackageUpload) GetDependenciesUrl() string` +`func (o *NpmPackageUploadResponse) GetDependenciesUrl() string` GetDependenciesUrl returns the DependenciesUrl field if non-nil, zero value otherwise. ### GetDependenciesUrlOk -`func (o *LuarocksPackageUpload) GetDependenciesUrlOk() (*string, bool)` +`func (o *NpmPackageUploadResponse) GetDependenciesUrlOk() (*string, bool)` GetDependenciesUrlOk returns a tuple with the DependenciesUrl field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetDependenciesUrl -`func (o *LuarocksPackageUpload) SetDependenciesUrl(v string)` +`func (o *NpmPackageUploadResponse) SetDependenciesUrl(v string)` SetDependenciesUrl sets DependenciesUrl field to given value. ### HasDependenciesUrl -`func (o *LuarocksPackageUpload) HasDependenciesUrl() bool` +`func (o *NpmPackageUploadResponse) HasDependenciesUrl() bool` HasDependenciesUrl returns a boolean if a field has been set. ### GetDescription -`func (o *LuarocksPackageUpload) GetDescription() string` +`func (o *NpmPackageUploadResponse) GetDescription() string` GetDescription returns the Description field if non-nil, zero value otherwise. ### GetDescriptionOk -`func (o *LuarocksPackageUpload) GetDescriptionOk() (*string, bool)` +`func (o *NpmPackageUploadResponse) GetDescriptionOk() (*string, bool)` GetDescriptionOk returns a tuple with the Description field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetDescription -`func (o *LuarocksPackageUpload) SetDescription(v string)` +`func (o *NpmPackageUploadResponse) SetDescription(v string)` SetDescription sets Description field to given value. ### HasDescription -`func (o *LuarocksPackageUpload) HasDescription() bool` +`func (o *NpmPackageUploadResponse) HasDescription() bool` HasDescription returns a boolean if a field has been set. ### GetDistro -`func (o *LuarocksPackageUpload) GetDistro() map[string]interface{}` +`func (o *NpmPackageUploadResponse) GetDistro() Distribution` GetDistro returns the Distro field if non-nil, zero value otherwise. ### GetDistroOk -`func (o *LuarocksPackageUpload) GetDistroOk() (*map[string]interface{}, bool)` +`func (o *NpmPackageUploadResponse) GetDistroOk() (*Distribution, bool)` GetDistroOk returns a tuple with the Distro field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetDistro -`func (o *LuarocksPackageUpload) SetDistro(v map[string]interface{})` +`func (o *NpmPackageUploadResponse) SetDistro(v Distribution)` SetDistro sets Distro field to given value. ### HasDistro -`func (o *LuarocksPackageUpload) HasDistro() bool` +`func (o *NpmPackageUploadResponse) HasDistro() bool` HasDistro returns a boolean if a field has been set. +### SetDistroNil + +`func (o *NpmPackageUploadResponse) SetDistroNil(b bool)` + + SetDistroNil sets the value for Distro to be an explicit nil + +### UnsetDistro +`func (o *NpmPackageUploadResponse) UnsetDistro()` + +UnsetDistro ensures that no value is present for Distro, not even an explicit nil ### GetDistroVersion -`func (o *LuarocksPackageUpload) GetDistroVersion() map[string]interface{}` +`func (o *NpmPackageUploadResponse) GetDistroVersion() DistributionVersion` GetDistroVersion returns the DistroVersion field if non-nil, zero value otherwise. ### GetDistroVersionOk -`func (o *LuarocksPackageUpload) GetDistroVersionOk() (*map[string]interface{}, bool)` +`func (o *NpmPackageUploadResponse) GetDistroVersionOk() (*DistributionVersion, bool)` GetDistroVersionOk returns a tuple with the DistroVersion field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetDistroVersion -`func (o *LuarocksPackageUpload) SetDistroVersion(v map[string]interface{})` +`func (o *NpmPackageUploadResponse) SetDistroVersion(v DistributionVersion)` SetDistroVersion sets DistroVersion field to given value. ### HasDistroVersion -`func (o *LuarocksPackageUpload) HasDistroVersion() bool` +`func (o *NpmPackageUploadResponse) HasDistroVersion() bool` HasDistroVersion returns a boolean if a field has been set. ### GetDownloads -`func (o *LuarocksPackageUpload) GetDownloads() int64` +`func (o *NpmPackageUploadResponse) GetDownloads() int64` GetDownloads returns the Downloads field if non-nil, zero value otherwise. ### GetDownloadsOk -`func (o *LuarocksPackageUpload) GetDownloadsOk() (*int64, bool)` +`func (o *NpmPackageUploadResponse) GetDownloadsOk() (*int64, bool)` GetDownloadsOk returns a tuple with the Downloads field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetDownloads -`func (o *LuarocksPackageUpload) SetDownloads(v int64)` +`func (o *NpmPackageUploadResponse) SetDownloads(v int64)` SetDownloads sets Downloads field to given value. ### HasDownloads -`func (o *LuarocksPackageUpload) HasDownloads() bool` +`func (o *NpmPackageUploadResponse) HasDownloads() bool` HasDownloads returns a boolean if a field has been set. ### GetEpoch -`func (o *LuarocksPackageUpload) GetEpoch() int64` +`func (o *NpmPackageUploadResponse) GetEpoch() int64` GetEpoch returns the Epoch field if non-nil, zero value otherwise. ### GetEpochOk -`func (o *LuarocksPackageUpload) GetEpochOk() (*int64, bool)` +`func (o *NpmPackageUploadResponse) GetEpochOk() (*int64, bool)` GetEpochOk returns a tuple with the Epoch field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetEpoch -`func (o *LuarocksPackageUpload) SetEpoch(v int64)` +`func (o *NpmPackageUploadResponse) SetEpoch(v int64)` SetEpoch sets Epoch field to given value. ### HasEpoch -`func (o *LuarocksPackageUpload) HasEpoch() bool` +`func (o *NpmPackageUploadResponse) HasEpoch() bool` HasEpoch returns a boolean if a field has been set. ### GetExtension -`func (o *LuarocksPackageUpload) GetExtension() string` +`func (o *NpmPackageUploadResponse) GetExtension() string` GetExtension returns the Extension field if non-nil, zero value otherwise. ### GetExtensionOk -`func (o *LuarocksPackageUpload) GetExtensionOk() (*string, bool)` +`func (o *NpmPackageUploadResponse) GetExtensionOk() (*string, bool)` GetExtensionOk returns a tuple with the Extension field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetExtension -`func (o *LuarocksPackageUpload) SetExtension(v string)` +`func (o *NpmPackageUploadResponse) SetExtension(v string)` SetExtension sets Extension field to given value. ### HasExtension -`func (o *LuarocksPackageUpload) HasExtension() bool` +`func (o *NpmPackageUploadResponse) HasExtension() bool` HasExtension returns a boolean if a field has been set. ### GetFilename -`func (o *LuarocksPackageUpload) GetFilename() string` +`func (o *NpmPackageUploadResponse) GetFilename() string` GetFilename returns the Filename field if non-nil, zero value otherwise. ### GetFilenameOk -`func (o *LuarocksPackageUpload) GetFilenameOk() (*string, bool)` +`func (o *NpmPackageUploadResponse) GetFilenameOk() (*string, bool)` GetFilenameOk returns a tuple with the Filename field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetFilename -`func (o *LuarocksPackageUpload) SetFilename(v string)` +`func (o *NpmPackageUploadResponse) SetFilename(v string)` SetFilename sets Filename field to given value. ### HasFilename -`func (o *LuarocksPackageUpload) HasFilename() bool` +`func (o *NpmPackageUploadResponse) HasFilename() bool` HasFilename returns a boolean if a field has been set. ### GetFiles -`func (o *LuarocksPackageUpload) GetFiles() []PackagesOwnerRepoFiles` +`func (o *NpmPackageUploadResponse) GetFiles() []PackageFile` GetFiles returns the Files field if non-nil, zero value otherwise. ### GetFilesOk -`func (o *LuarocksPackageUpload) GetFilesOk() (*[]PackagesOwnerRepoFiles, bool)` +`func (o *NpmPackageUploadResponse) GetFilesOk() (*[]PackageFile, 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 *LuarocksPackageUpload) SetFiles(v []PackagesOwnerRepoFiles)` +`func (o *NpmPackageUploadResponse) SetFiles(v []PackageFile)` SetFiles sets Files field to given value. ### HasFiles -`func (o *LuarocksPackageUpload) HasFiles() bool` +`func (o *NpmPackageUploadResponse) HasFiles() bool` HasFiles returns a boolean if a field has been set. ### GetFormat -`func (o *LuarocksPackageUpload) GetFormat() string` +`func (o *NpmPackageUploadResponse) GetFormat() string` GetFormat returns the Format field if non-nil, zero value otherwise. ### GetFormatOk -`func (o *LuarocksPackageUpload) GetFormatOk() (*string, bool)` +`func (o *NpmPackageUploadResponse) GetFormatOk() (*string, bool)` GetFormatOk returns a tuple with the Format field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetFormat -`func (o *LuarocksPackageUpload) SetFormat(v string)` +`func (o *NpmPackageUploadResponse) SetFormat(v string)` SetFormat sets Format field to given value. ### HasFormat -`func (o *LuarocksPackageUpload) HasFormat() bool` +`func (o *NpmPackageUploadResponse) HasFormat() bool` HasFormat returns a boolean if a field has been set. ### GetFormatUrl -`func (o *LuarocksPackageUpload) GetFormatUrl() string` +`func (o *NpmPackageUploadResponse) GetFormatUrl() string` GetFormatUrl returns the FormatUrl field if non-nil, zero value otherwise. ### GetFormatUrlOk -`func (o *LuarocksPackageUpload) GetFormatUrlOk() (*string, bool)` +`func (o *NpmPackageUploadResponse) GetFormatUrlOk() (*string, bool)` GetFormatUrlOk returns a tuple with the FormatUrl field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetFormatUrl -`func (o *LuarocksPackageUpload) SetFormatUrl(v string)` +`func (o *NpmPackageUploadResponse) SetFormatUrl(v string)` SetFormatUrl sets FormatUrl field to given value. ### HasFormatUrl -`func (o *LuarocksPackageUpload) HasFormatUrl() bool` +`func (o *NpmPackageUploadResponse) HasFormatUrl() bool` HasFormatUrl returns a boolean if a field has been set. ### GetIdentifierPerm -`func (o *LuarocksPackageUpload) GetIdentifierPerm() string` +`func (o *NpmPackageUploadResponse) GetIdentifierPerm() string` GetIdentifierPerm returns the IdentifierPerm field if non-nil, zero value otherwise. ### GetIdentifierPermOk -`func (o *LuarocksPackageUpload) GetIdentifierPermOk() (*string, bool)` +`func (o *NpmPackageUploadResponse) GetIdentifierPermOk() (*string, bool)` GetIdentifierPermOk returns a tuple with the IdentifierPerm field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetIdentifierPerm -`func (o *LuarocksPackageUpload) SetIdentifierPerm(v string)` +`func (o *NpmPackageUploadResponse) SetIdentifierPerm(v string)` SetIdentifierPerm sets IdentifierPerm field to given value. ### HasIdentifierPerm -`func (o *LuarocksPackageUpload) HasIdentifierPerm() bool` +`func (o *NpmPackageUploadResponse) HasIdentifierPerm() bool` HasIdentifierPerm returns a boolean if a field has been set. ### GetIndexed -`func (o *LuarocksPackageUpload) GetIndexed() bool` +`func (o *NpmPackageUploadResponse) GetIndexed() bool` GetIndexed returns the Indexed field if non-nil, zero value otherwise. ### GetIndexedOk -`func (o *LuarocksPackageUpload) GetIndexedOk() (*bool, bool)` +`func (o *NpmPackageUploadResponse) GetIndexedOk() (*bool, bool)` GetIndexedOk returns a tuple with the Indexed field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetIndexed -`func (o *LuarocksPackageUpload) SetIndexed(v bool)` +`func (o *NpmPackageUploadResponse) SetIndexed(v bool)` SetIndexed sets Indexed field to given value. ### HasIndexed -`func (o *LuarocksPackageUpload) HasIndexed() bool` +`func (o *NpmPackageUploadResponse) HasIndexed() bool` HasIndexed returns a boolean if a field has been set. ### GetIsDownloadable -`func (o *LuarocksPackageUpload) GetIsDownloadable() bool` +`func (o *NpmPackageUploadResponse) GetIsDownloadable() bool` GetIsDownloadable returns the IsDownloadable field if non-nil, zero value otherwise. ### GetIsDownloadableOk -`func (o *LuarocksPackageUpload) GetIsDownloadableOk() (*bool, bool)` +`func (o *NpmPackageUploadResponse) GetIsDownloadableOk() (*bool, bool)` GetIsDownloadableOk returns a tuple with the IsDownloadable field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetIsDownloadable -`func (o *LuarocksPackageUpload) SetIsDownloadable(v bool)` +`func (o *NpmPackageUploadResponse) SetIsDownloadable(v bool)` SetIsDownloadable sets IsDownloadable field to given value. ### HasIsDownloadable -`func (o *LuarocksPackageUpload) HasIsDownloadable() bool` +`func (o *NpmPackageUploadResponse) HasIsDownloadable() bool` HasIsDownloadable returns a boolean if a field has been set. ### GetIsQuarantined -`func (o *LuarocksPackageUpload) GetIsQuarantined() bool` +`func (o *NpmPackageUploadResponse) GetIsQuarantined() bool` GetIsQuarantined returns the IsQuarantined field if non-nil, zero value otherwise. ### GetIsQuarantinedOk -`func (o *LuarocksPackageUpload) GetIsQuarantinedOk() (*bool, bool)` +`func (o *NpmPackageUploadResponse) GetIsQuarantinedOk() (*bool, bool)` GetIsQuarantinedOk returns a tuple with the IsQuarantined field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetIsQuarantined -`func (o *LuarocksPackageUpload) SetIsQuarantined(v bool)` +`func (o *NpmPackageUploadResponse) SetIsQuarantined(v bool)` SetIsQuarantined sets IsQuarantined field to given value. ### HasIsQuarantined -`func (o *LuarocksPackageUpload) HasIsQuarantined() bool` +`func (o *NpmPackageUploadResponse) HasIsQuarantined() bool` HasIsQuarantined returns a boolean if a field has been set. ### GetIsSyncAwaiting -`func (o *LuarocksPackageUpload) GetIsSyncAwaiting() bool` +`func (o *NpmPackageUploadResponse) GetIsSyncAwaiting() bool` GetIsSyncAwaiting returns the IsSyncAwaiting field if non-nil, zero value otherwise. ### GetIsSyncAwaitingOk -`func (o *LuarocksPackageUpload) GetIsSyncAwaitingOk() (*bool, bool)` +`func (o *NpmPackageUploadResponse) GetIsSyncAwaitingOk() (*bool, bool)` GetIsSyncAwaitingOk returns a tuple with the IsSyncAwaiting field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetIsSyncAwaiting -`func (o *LuarocksPackageUpload) SetIsSyncAwaiting(v bool)` +`func (o *NpmPackageUploadResponse) SetIsSyncAwaiting(v bool)` SetIsSyncAwaiting sets IsSyncAwaiting field to given value. ### HasIsSyncAwaiting -`func (o *LuarocksPackageUpload) HasIsSyncAwaiting() bool` +`func (o *NpmPackageUploadResponse) HasIsSyncAwaiting() bool` HasIsSyncAwaiting returns a boolean if a field has been set. ### GetIsSyncCompleted -`func (o *LuarocksPackageUpload) GetIsSyncCompleted() bool` +`func (o *NpmPackageUploadResponse) GetIsSyncCompleted() bool` GetIsSyncCompleted returns the IsSyncCompleted field if non-nil, zero value otherwise. ### GetIsSyncCompletedOk -`func (o *LuarocksPackageUpload) GetIsSyncCompletedOk() (*bool, bool)` +`func (o *NpmPackageUploadResponse) GetIsSyncCompletedOk() (*bool, bool)` GetIsSyncCompletedOk returns a tuple with the IsSyncCompleted field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetIsSyncCompleted -`func (o *LuarocksPackageUpload) SetIsSyncCompleted(v bool)` +`func (o *NpmPackageUploadResponse) SetIsSyncCompleted(v bool)` SetIsSyncCompleted sets IsSyncCompleted field to given value. ### HasIsSyncCompleted -`func (o *LuarocksPackageUpload) HasIsSyncCompleted() bool` +`func (o *NpmPackageUploadResponse) HasIsSyncCompleted() bool` HasIsSyncCompleted returns a boolean if a field has been set. ### GetIsSyncFailed -`func (o *LuarocksPackageUpload) GetIsSyncFailed() bool` +`func (o *NpmPackageUploadResponse) GetIsSyncFailed() bool` GetIsSyncFailed returns the IsSyncFailed field if non-nil, zero value otherwise. ### GetIsSyncFailedOk -`func (o *LuarocksPackageUpload) GetIsSyncFailedOk() (*bool, bool)` +`func (o *NpmPackageUploadResponse) GetIsSyncFailedOk() (*bool, bool)` GetIsSyncFailedOk returns a tuple with the IsSyncFailed field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetIsSyncFailed -`func (o *LuarocksPackageUpload) SetIsSyncFailed(v bool)` +`func (o *NpmPackageUploadResponse) SetIsSyncFailed(v bool)` SetIsSyncFailed sets IsSyncFailed field to given value. ### HasIsSyncFailed -`func (o *LuarocksPackageUpload) HasIsSyncFailed() bool` +`func (o *NpmPackageUploadResponse) HasIsSyncFailed() bool` HasIsSyncFailed returns a boolean if a field has been set. ### GetIsSyncInFlight -`func (o *LuarocksPackageUpload) GetIsSyncInFlight() bool` +`func (o *NpmPackageUploadResponse) GetIsSyncInFlight() bool` GetIsSyncInFlight returns the IsSyncInFlight field if non-nil, zero value otherwise. ### GetIsSyncInFlightOk -`func (o *LuarocksPackageUpload) GetIsSyncInFlightOk() (*bool, bool)` +`func (o *NpmPackageUploadResponse) GetIsSyncInFlightOk() (*bool, bool)` GetIsSyncInFlightOk returns a tuple with the IsSyncInFlight field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetIsSyncInFlight -`func (o *LuarocksPackageUpload) SetIsSyncInFlight(v bool)` +`func (o *NpmPackageUploadResponse) SetIsSyncInFlight(v bool)` SetIsSyncInFlight sets IsSyncInFlight field to given value. ### HasIsSyncInFlight -`func (o *LuarocksPackageUpload) HasIsSyncInFlight() bool` +`func (o *NpmPackageUploadResponse) HasIsSyncInFlight() bool` HasIsSyncInFlight returns a boolean if a field has been set. ### GetIsSyncInProgress -`func (o *LuarocksPackageUpload) GetIsSyncInProgress() bool` +`func (o *NpmPackageUploadResponse) GetIsSyncInProgress() bool` GetIsSyncInProgress returns the IsSyncInProgress field if non-nil, zero value otherwise. ### GetIsSyncInProgressOk -`func (o *LuarocksPackageUpload) GetIsSyncInProgressOk() (*bool, bool)` +`func (o *NpmPackageUploadResponse) GetIsSyncInProgressOk() (*bool, bool)` GetIsSyncInProgressOk returns a tuple with the IsSyncInProgress field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetIsSyncInProgress -`func (o *LuarocksPackageUpload) SetIsSyncInProgress(v bool)` +`func (o *NpmPackageUploadResponse) SetIsSyncInProgress(v bool)` SetIsSyncInProgress sets IsSyncInProgress field to given value. ### HasIsSyncInProgress -`func (o *LuarocksPackageUpload) HasIsSyncInProgress() bool` +`func (o *NpmPackageUploadResponse) HasIsSyncInProgress() bool` HasIsSyncInProgress returns a boolean if a field has been set. ### GetLicense -`func (o *LuarocksPackageUpload) GetLicense() string` +`func (o *NpmPackageUploadResponse) GetLicense() string` GetLicense returns the License field if non-nil, zero value otherwise. ### GetLicenseOk -`func (o *LuarocksPackageUpload) GetLicenseOk() (*string, bool)` +`func (o *NpmPackageUploadResponse) GetLicenseOk() (*string, bool)` GetLicenseOk returns a tuple with the License field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetLicense -`func (o *LuarocksPackageUpload) SetLicense(v string)` +`func (o *NpmPackageUploadResponse) SetLicense(v string)` SetLicense sets License field to given value. ### HasLicense -`func (o *LuarocksPackageUpload) HasLicense() bool` +`func (o *NpmPackageUploadResponse) HasLicense() bool` HasLicense returns a boolean if a field has been set. ### GetName -`func (o *LuarocksPackageUpload) GetName() string` +`func (o *NpmPackageUploadResponse) GetName() string` GetName returns the Name field if non-nil, zero value otherwise. ### GetNameOk -`func (o *LuarocksPackageUpload) GetNameOk() (*string, bool)` +`func (o *NpmPackageUploadResponse) GetNameOk() (*string, bool)` 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. ### SetName -`func (o *LuarocksPackageUpload) SetName(v string)` +`func (o *NpmPackageUploadResponse) SetName(v string)` SetName sets Name field to given value. ### HasName -`func (o *LuarocksPackageUpload) HasName() bool` +`func (o *NpmPackageUploadResponse) HasName() bool` HasName returns a boolean if a field has been set. ### GetNamespace -`func (o *LuarocksPackageUpload) GetNamespace() string` +`func (o *NpmPackageUploadResponse) GetNamespace() string` GetNamespace returns the Namespace field if non-nil, zero value otherwise. ### GetNamespaceOk -`func (o *LuarocksPackageUpload) GetNamespaceOk() (*string, bool)` +`func (o *NpmPackageUploadResponse) GetNamespaceOk() (*string, bool)` GetNamespaceOk returns a tuple with the Namespace field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetNamespace -`func (o *LuarocksPackageUpload) SetNamespace(v string)` +`func (o *NpmPackageUploadResponse) SetNamespace(v string)` SetNamespace sets Namespace field to given value. ### HasNamespace -`func (o *LuarocksPackageUpload) HasNamespace() bool` +`func (o *NpmPackageUploadResponse) HasNamespace() bool` HasNamespace returns a boolean if a field has been set. ### GetNamespaceUrl -`func (o *LuarocksPackageUpload) GetNamespaceUrl() string` +`func (o *NpmPackageUploadResponse) GetNamespaceUrl() string` GetNamespaceUrl returns the NamespaceUrl field if non-nil, zero value otherwise. ### GetNamespaceUrlOk -`func (o *LuarocksPackageUpload) GetNamespaceUrlOk() (*string, bool)` +`func (o *NpmPackageUploadResponse) GetNamespaceUrlOk() (*string, bool)` GetNamespaceUrlOk returns a tuple with the NamespaceUrl field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetNamespaceUrl -`func (o *LuarocksPackageUpload) SetNamespaceUrl(v string)` +`func (o *NpmPackageUploadResponse) SetNamespaceUrl(v string)` SetNamespaceUrl sets NamespaceUrl field to given value. ### HasNamespaceUrl -`func (o *LuarocksPackageUpload) HasNamespaceUrl() bool` +`func (o *NpmPackageUploadResponse) HasNamespaceUrl() bool` HasNamespaceUrl returns a boolean if a field has been set. ### GetNumFiles -`func (o *LuarocksPackageUpload) GetNumFiles() int64` +`func (o *NpmPackageUploadResponse) GetNumFiles() int64` GetNumFiles returns the NumFiles field if non-nil, zero value otherwise. ### GetNumFilesOk -`func (o *LuarocksPackageUpload) GetNumFilesOk() (*int64, bool)` +`func (o *NpmPackageUploadResponse) GetNumFilesOk() (*int64, bool)` GetNumFilesOk returns a tuple with the NumFiles field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetNumFiles -`func (o *LuarocksPackageUpload) SetNumFiles(v int64)` +`func (o *NpmPackageUploadResponse) SetNumFiles(v int64)` SetNumFiles sets NumFiles field to given value. ### HasNumFiles -`func (o *LuarocksPackageUpload) HasNumFiles() bool` +`func (o *NpmPackageUploadResponse) HasNumFiles() bool` HasNumFiles returns a boolean if a field has been set. +### GetOriginRepository + +`func (o *NpmPackageUploadResponse) GetOriginRepository() string` + +GetOriginRepository returns the OriginRepository field if non-nil, zero value otherwise. + +### GetOriginRepositoryOk + +`func (o *NpmPackageUploadResponse) GetOriginRepositoryOk() (*string, bool)` + +GetOriginRepositoryOk returns a tuple with the OriginRepository field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetOriginRepository + +`func (o *NpmPackageUploadResponse) SetOriginRepository(v string)` + +SetOriginRepository sets OriginRepository field to given value. + +### HasOriginRepository + +`func (o *NpmPackageUploadResponse) HasOriginRepository() bool` + +HasOriginRepository returns a boolean if a field has been set. + +### GetOriginRepositoryUrl + +`func (o *NpmPackageUploadResponse) GetOriginRepositoryUrl() string` + +GetOriginRepositoryUrl returns the OriginRepositoryUrl field if non-nil, zero value otherwise. + +### GetOriginRepositoryUrlOk + +`func (o *NpmPackageUploadResponse) GetOriginRepositoryUrlOk() (*string, bool)` + +GetOriginRepositoryUrlOk returns a tuple with the OriginRepositoryUrl field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetOriginRepositoryUrl + +`func (o *NpmPackageUploadResponse) SetOriginRepositoryUrl(v string)` + +SetOriginRepositoryUrl sets OriginRepositoryUrl field to given value. + +### HasOriginRepositoryUrl + +`func (o *NpmPackageUploadResponse) HasOriginRepositoryUrl() bool` + +HasOriginRepositoryUrl returns a boolean if a field has been set. + ### GetPackageType -`func (o *LuarocksPackageUpload) GetPackageType() int64` +`func (o *NpmPackageUploadResponse) GetPackageType() int64` GetPackageType returns the PackageType field if non-nil, zero value otherwise. ### GetPackageTypeOk -`func (o *LuarocksPackageUpload) GetPackageTypeOk() (*int64, bool)` +`func (o *NpmPackageUploadResponse) GetPackageTypeOk() (*int64, bool)` GetPackageTypeOk returns a tuple with the PackageType field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetPackageType -`func (o *LuarocksPackageUpload) SetPackageType(v int64)` +`func (o *NpmPackageUploadResponse) SetPackageType(v int64)` SetPackageType sets PackageType field to given value. ### HasPackageType -`func (o *LuarocksPackageUpload) HasPackageType() bool` +`func (o *NpmPackageUploadResponse) HasPackageType() bool` HasPackageType returns a boolean if a field has been set. ### GetRelease -`func (o *LuarocksPackageUpload) GetRelease() string` +`func (o *NpmPackageUploadResponse) GetRelease() string` GetRelease returns the Release field if non-nil, zero value otherwise. ### GetReleaseOk -`func (o *LuarocksPackageUpload) GetReleaseOk() (*string, bool)` +`func (o *NpmPackageUploadResponse) GetReleaseOk() (*string, bool)` GetReleaseOk returns a tuple with the Release field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetRelease -`func (o *LuarocksPackageUpload) SetRelease(v string)` +`func (o *NpmPackageUploadResponse) SetRelease(v string)` SetRelease sets Release field to given value. ### HasRelease -`func (o *LuarocksPackageUpload) HasRelease() bool` +`func (o *NpmPackageUploadResponse) HasRelease() bool` HasRelease returns a boolean if a field has been set. ### GetRepository -`func (o *LuarocksPackageUpload) GetRepository() string` +`func (o *NpmPackageUploadResponse) GetRepository() string` GetRepository returns the Repository field if non-nil, zero value otherwise. ### GetRepositoryOk -`func (o *LuarocksPackageUpload) GetRepositoryOk() (*string, bool)` +`func (o *NpmPackageUploadResponse) GetRepositoryOk() (*string, bool)` GetRepositoryOk returns a tuple with the Repository field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetRepository -`func (o *LuarocksPackageUpload) SetRepository(v string)` +`func (o *NpmPackageUploadResponse) SetRepository(v string)` SetRepository sets Repository field to given value. ### HasRepository -`func (o *LuarocksPackageUpload) HasRepository() bool` +`func (o *NpmPackageUploadResponse) HasRepository() bool` HasRepository returns a boolean if a field has been set. ### GetRepositoryUrl -`func (o *LuarocksPackageUpload) GetRepositoryUrl() string` +`func (o *NpmPackageUploadResponse) GetRepositoryUrl() string` GetRepositoryUrl returns the RepositoryUrl field if non-nil, zero value otherwise. ### GetRepositoryUrlOk -`func (o *LuarocksPackageUpload) GetRepositoryUrlOk() (*string, bool)` +`func (o *NpmPackageUploadResponse) GetRepositoryUrlOk() (*string, bool)` GetRepositoryUrlOk returns a tuple with the RepositoryUrl field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetRepositoryUrl -`func (o *LuarocksPackageUpload) SetRepositoryUrl(v string)` +`func (o *NpmPackageUploadResponse) SetRepositoryUrl(v string)` SetRepositoryUrl sets RepositoryUrl field to given value. ### HasRepositoryUrl -`func (o *LuarocksPackageUpload) HasRepositoryUrl() bool` +`func (o *NpmPackageUploadResponse) HasRepositoryUrl() bool` HasRepositoryUrl returns a boolean if a field has been set. ### GetSecurityScanCompletedAt -`func (o *LuarocksPackageUpload) GetSecurityScanCompletedAt() string` +`func (o *NpmPackageUploadResponse) GetSecurityScanCompletedAt() time.Time` GetSecurityScanCompletedAt returns the SecurityScanCompletedAt field if non-nil, zero value otherwise. ### GetSecurityScanCompletedAtOk -`func (o *LuarocksPackageUpload) GetSecurityScanCompletedAtOk() (*string, bool)` +`func (o *NpmPackageUploadResponse) GetSecurityScanCompletedAtOk() (*time.Time, bool)` GetSecurityScanCompletedAtOk returns a tuple with the SecurityScanCompletedAt field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetSecurityScanCompletedAt -`func (o *LuarocksPackageUpload) SetSecurityScanCompletedAt(v string)` +`func (o *NpmPackageUploadResponse) SetSecurityScanCompletedAt(v time.Time)` SetSecurityScanCompletedAt sets SecurityScanCompletedAt field to given value. ### HasSecurityScanCompletedAt -`func (o *LuarocksPackageUpload) HasSecurityScanCompletedAt() bool` +`func (o *NpmPackageUploadResponse) HasSecurityScanCompletedAt() bool` HasSecurityScanCompletedAt returns a boolean if a field has been set. ### GetSecurityScanStartedAt -`func (o *LuarocksPackageUpload) GetSecurityScanStartedAt() string` +`func (o *NpmPackageUploadResponse) GetSecurityScanStartedAt() time.Time` GetSecurityScanStartedAt returns the SecurityScanStartedAt field if non-nil, zero value otherwise. ### GetSecurityScanStartedAtOk -`func (o *LuarocksPackageUpload) GetSecurityScanStartedAtOk() (*string, bool)` +`func (o *NpmPackageUploadResponse) GetSecurityScanStartedAtOk() (*time.Time, bool)` GetSecurityScanStartedAtOk returns a tuple with the SecurityScanStartedAt field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetSecurityScanStartedAt -`func (o *LuarocksPackageUpload) SetSecurityScanStartedAt(v string)` +`func (o *NpmPackageUploadResponse) SetSecurityScanStartedAt(v time.Time)` SetSecurityScanStartedAt sets SecurityScanStartedAt field to given value. ### HasSecurityScanStartedAt -`func (o *LuarocksPackageUpload) HasSecurityScanStartedAt() bool` +`func (o *NpmPackageUploadResponse) HasSecurityScanStartedAt() bool` HasSecurityScanStartedAt returns a boolean if a field has been set. ### GetSecurityScanStatus -`func (o *LuarocksPackageUpload) GetSecurityScanStatus() string` +`func (o *NpmPackageUploadResponse) GetSecurityScanStatus() string` GetSecurityScanStatus returns the SecurityScanStatus field if non-nil, zero value otherwise. ### GetSecurityScanStatusOk -`func (o *LuarocksPackageUpload) GetSecurityScanStatusOk() (*string, bool)` +`func (o *NpmPackageUploadResponse) GetSecurityScanStatusOk() (*string, bool)` GetSecurityScanStatusOk returns a tuple with the SecurityScanStatus field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetSecurityScanStatus -`func (o *LuarocksPackageUpload) SetSecurityScanStatus(v string)` +`func (o *NpmPackageUploadResponse) SetSecurityScanStatus(v string)` SetSecurityScanStatus sets SecurityScanStatus field to given value. ### HasSecurityScanStatus -`func (o *LuarocksPackageUpload) HasSecurityScanStatus() bool` +`func (o *NpmPackageUploadResponse) HasSecurityScanStatus() bool` HasSecurityScanStatus returns a boolean if a field has been set. +### SetSecurityScanStatusNil + +`func (o *NpmPackageUploadResponse) SetSecurityScanStatusNil(b bool)` + + SetSecurityScanStatusNil sets the value for SecurityScanStatus to be an explicit nil + +### UnsetSecurityScanStatus +`func (o *NpmPackageUploadResponse) UnsetSecurityScanStatus()` + +UnsetSecurityScanStatus ensures that no value is present for SecurityScanStatus, not even an explicit nil ### GetSecurityScanStatusUpdatedAt -`func (o *LuarocksPackageUpload) GetSecurityScanStatusUpdatedAt() string` +`func (o *NpmPackageUploadResponse) GetSecurityScanStatusUpdatedAt() time.Time` GetSecurityScanStatusUpdatedAt returns the SecurityScanStatusUpdatedAt field if non-nil, zero value otherwise. ### GetSecurityScanStatusUpdatedAtOk -`func (o *LuarocksPackageUpload) GetSecurityScanStatusUpdatedAtOk() (*string, bool)` +`func (o *NpmPackageUploadResponse) GetSecurityScanStatusUpdatedAtOk() (*time.Time, bool)` GetSecurityScanStatusUpdatedAtOk returns a tuple with the SecurityScanStatusUpdatedAt field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetSecurityScanStatusUpdatedAt -`func (o *LuarocksPackageUpload) SetSecurityScanStatusUpdatedAt(v string)` +`func (o *NpmPackageUploadResponse) SetSecurityScanStatusUpdatedAt(v time.Time)` SetSecurityScanStatusUpdatedAt sets SecurityScanStatusUpdatedAt field to given value. ### HasSecurityScanStatusUpdatedAt -`func (o *LuarocksPackageUpload) HasSecurityScanStatusUpdatedAt() bool` +`func (o *NpmPackageUploadResponse) HasSecurityScanStatusUpdatedAt() bool` HasSecurityScanStatusUpdatedAt returns a boolean if a field has been set. ### GetSelfHtmlUrl -`func (o *LuarocksPackageUpload) GetSelfHtmlUrl() string` +`func (o *NpmPackageUploadResponse) GetSelfHtmlUrl() string` GetSelfHtmlUrl returns the SelfHtmlUrl field if non-nil, zero value otherwise. ### GetSelfHtmlUrlOk -`func (o *LuarocksPackageUpload) GetSelfHtmlUrlOk() (*string, bool)` +`func (o *NpmPackageUploadResponse) GetSelfHtmlUrlOk() (*string, bool)` GetSelfHtmlUrlOk returns a tuple with the SelfHtmlUrl field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetSelfHtmlUrl -`func (o *LuarocksPackageUpload) SetSelfHtmlUrl(v string)` +`func (o *NpmPackageUploadResponse) SetSelfHtmlUrl(v string)` SetSelfHtmlUrl sets SelfHtmlUrl field to given value. ### HasSelfHtmlUrl -`func (o *LuarocksPackageUpload) HasSelfHtmlUrl() bool` +`func (o *NpmPackageUploadResponse) HasSelfHtmlUrl() bool` HasSelfHtmlUrl returns a boolean if a field has been set. ### GetSelfUrl -`func (o *LuarocksPackageUpload) GetSelfUrl() string` +`func (o *NpmPackageUploadResponse) GetSelfUrl() string` GetSelfUrl returns the SelfUrl field if non-nil, zero value otherwise. ### GetSelfUrlOk -`func (o *LuarocksPackageUpload) GetSelfUrlOk() (*string, bool)` +`func (o *NpmPackageUploadResponse) GetSelfUrlOk() (*string, bool)` GetSelfUrlOk returns a tuple with the SelfUrl field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetSelfUrl -`func (o *LuarocksPackageUpload) SetSelfUrl(v string)` +`func (o *NpmPackageUploadResponse) SetSelfUrl(v string)` SetSelfUrl sets SelfUrl field to given value. ### HasSelfUrl -`func (o *LuarocksPackageUpload) HasSelfUrl() bool` +`func (o *NpmPackageUploadResponse) HasSelfUrl() bool` HasSelfUrl returns a boolean if a field has been set. ### GetSignatureUrl -`func (o *LuarocksPackageUpload) GetSignatureUrl() string` +`func (o *NpmPackageUploadResponse) GetSignatureUrl() string` GetSignatureUrl returns the SignatureUrl field if non-nil, zero value otherwise. ### GetSignatureUrlOk -`func (o *LuarocksPackageUpload) GetSignatureUrlOk() (*string, bool)` +`func (o *NpmPackageUploadResponse) GetSignatureUrlOk() (*string, bool)` GetSignatureUrlOk returns a tuple with the SignatureUrl field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetSignatureUrl -`func (o *LuarocksPackageUpload) SetSignatureUrl(v string)` +`func (o *NpmPackageUploadResponse) SetSignatureUrl(v string)` SetSignatureUrl sets SignatureUrl field to given value. ### HasSignatureUrl -`func (o *LuarocksPackageUpload) HasSignatureUrl() bool` +`func (o *NpmPackageUploadResponse) HasSignatureUrl() bool` HasSignatureUrl returns a boolean if a field has been set. +### SetSignatureUrlNil + +`func (o *NpmPackageUploadResponse) SetSignatureUrlNil(b bool)` + + SetSignatureUrlNil sets the value for SignatureUrl to be an explicit nil + +### UnsetSignatureUrl +`func (o *NpmPackageUploadResponse) UnsetSignatureUrl()` + +UnsetSignatureUrl ensures that no value is present for SignatureUrl, not even an explicit nil ### GetSize -`func (o *LuarocksPackageUpload) GetSize() int64` +`func (o *NpmPackageUploadResponse) GetSize() int64` GetSize returns the Size field if non-nil, zero value otherwise. ### GetSizeOk -`func (o *LuarocksPackageUpload) GetSizeOk() (*int64, bool)` +`func (o *NpmPackageUploadResponse) GetSizeOk() (*int64, bool)` GetSizeOk returns a tuple with the Size field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetSize -`func (o *LuarocksPackageUpload) SetSize(v int64)` +`func (o *NpmPackageUploadResponse) SetSize(v int64)` SetSize sets Size field to given value. ### HasSize -`func (o *LuarocksPackageUpload) HasSize() bool` +`func (o *NpmPackageUploadResponse) HasSize() bool` HasSize returns a boolean if a field has been set. ### GetSlug -`func (o *LuarocksPackageUpload) GetSlug() string` +`func (o *NpmPackageUploadResponse) GetSlug() string` GetSlug returns the Slug field if non-nil, zero value otherwise. ### GetSlugOk -`func (o *LuarocksPackageUpload) GetSlugOk() (*string, bool)` +`func (o *NpmPackageUploadResponse) GetSlugOk() (*string, bool)` GetSlugOk returns a tuple with the Slug field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetSlug -`func (o *LuarocksPackageUpload) SetSlug(v string)` +`func (o *NpmPackageUploadResponse) SetSlug(v string)` SetSlug sets Slug field to given value. ### HasSlug -`func (o *LuarocksPackageUpload) HasSlug() bool` +`func (o *NpmPackageUploadResponse) HasSlug() bool` HasSlug returns a boolean if a field has been set. ### GetSlugPerm -`func (o *LuarocksPackageUpload) GetSlugPerm() string` +`func (o *NpmPackageUploadResponse) GetSlugPerm() string` GetSlugPerm returns the SlugPerm field if non-nil, zero value otherwise. ### GetSlugPermOk -`func (o *LuarocksPackageUpload) GetSlugPermOk() (*string, bool)` +`func (o *NpmPackageUploadResponse) GetSlugPermOk() (*string, bool)` GetSlugPermOk returns a tuple with the SlugPerm field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetSlugPerm -`func (o *LuarocksPackageUpload) SetSlugPerm(v string)` +`func (o *NpmPackageUploadResponse) SetSlugPerm(v string)` SetSlugPerm sets SlugPerm field to given value. ### HasSlugPerm -`func (o *LuarocksPackageUpload) HasSlugPerm() bool` +`func (o *NpmPackageUploadResponse) HasSlugPerm() bool` HasSlugPerm returns a boolean if a field has been set. ### GetStage -`func (o *LuarocksPackageUpload) GetStage() int64` +`func (o *NpmPackageUploadResponse) GetStage() int64` GetStage returns the Stage field if non-nil, zero value otherwise. ### GetStageOk -`func (o *LuarocksPackageUpload) GetStageOk() (*int64, bool)` +`func (o *NpmPackageUploadResponse) GetStageOk() (*int64, bool)` GetStageOk returns a tuple with the Stage field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetStage -`func (o *LuarocksPackageUpload) SetStage(v int64)` +`func (o *NpmPackageUploadResponse) SetStage(v int64)` SetStage sets Stage field to given value. ### HasStage -`func (o *LuarocksPackageUpload) HasStage() bool` +`func (o *NpmPackageUploadResponse) HasStage() bool` HasStage returns a boolean if a field has been set. ### GetStageStr -`func (o *LuarocksPackageUpload) GetStageStr() string` +`func (o *NpmPackageUploadResponse) GetStageStr() string` GetStageStr returns the StageStr field if non-nil, zero value otherwise. ### GetStageStrOk -`func (o *LuarocksPackageUpload) GetStageStrOk() (*string, bool)` +`func (o *NpmPackageUploadResponse) GetStageStrOk() (*string, bool)` GetStageStrOk returns a tuple with the StageStr field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetStageStr -`func (o *LuarocksPackageUpload) SetStageStr(v string)` +`func (o *NpmPackageUploadResponse) SetStageStr(v string)` SetStageStr sets StageStr field to given value. ### HasStageStr -`func (o *LuarocksPackageUpload) HasStageStr() bool` +`func (o *NpmPackageUploadResponse) HasStageStr() bool` HasStageStr returns a boolean if a field has been set. ### GetStageUpdatedAt -`func (o *LuarocksPackageUpload) GetStageUpdatedAt() string` +`func (o *NpmPackageUploadResponse) GetStageUpdatedAt() time.Time` GetStageUpdatedAt returns the StageUpdatedAt field if non-nil, zero value otherwise. ### GetStageUpdatedAtOk -`func (o *LuarocksPackageUpload) GetStageUpdatedAtOk() (*string, bool)` +`func (o *NpmPackageUploadResponse) GetStageUpdatedAtOk() (*time.Time, bool)` GetStageUpdatedAtOk returns a tuple with the StageUpdatedAt field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetStageUpdatedAt -`func (o *LuarocksPackageUpload) SetStageUpdatedAt(v string)` +`func (o *NpmPackageUploadResponse) SetStageUpdatedAt(v time.Time)` SetStageUpdatedAt sets StageUpdatedAt field to given value. ### HasStageUpdatedAt -`func (o *LuarocksPackageUpload) HasStageUpdatedAt() bool` +`func (o *NpmPackageUploadResponse) HasStageUpdatedAt() bool` HasStageUpdatedAt returns a boolean if a field has been set. ### GetStatus -`func (o *LuarocksPackageUpload) GetStatus() int64` +`func (o *NpmPackageUploadResponse) GetStatus() int64` GetStatus returns the Status field if non-nil, zero value otherwise. ### GetStatusOk -`func (o *LuarocksPackageUpload) GetStatusOk() (*int64, bool)` +`func (o *NpmPackageUploadResponse) GetStatusOk() (*int64, bool)` GetStatusOk returns a tuple with the Status field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetStatus -`func (o *LuarocksPackageUpload) SetStatus(v int64)` +`func (o *NpmPackageUploadResponse) SetStatus(v int64)` SetStatus sets Status field to given value. ### HasStatus -`func (o *LuarocksPackageUpload) HasStatus() bool` +`func (o *NpmPackageUploadResponse) HasStatus() bool` HasStatus returns a boolean if a field has been set. ### GetStatusReason -`func (o *LuarocksPackageUpload) GetStatusReason() string` +`func (o *NpmPackageUploadResponse) GetStatusReason() string` GetStatusReason returns the StatusReason field if non-nil, zero value otherwise. ### GetStatusReasonOk -`func (o *LuarocksPackageUpload) GetStatusReasonOk() (*string, bool)` +`func (o *NpmPackageUploadResponse) GetStatusReasonOk() (*string, bool)` GetStatusReasonOk returns a tuple with the StatusReason field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetStatusReason -`func (o *LuarocksPackageUpload) SetStatusReason(v string)` +`func (o *NpmPackageUploadResponse) SetStatusReason(v string)` SetStatusReason sets StatusReason field to given value. ### HasStatusReason -`func (o *LuarocksPackageUpload) HasStatusReason() bool` +`func (o *NpmPackageUploadResponse) HasStatusReason() bool` HasStatusReason returns a boolean if a field has been set. ### GetStatusStr -`func (o *LuarocksPackageUpload) GetStatusStr() string` +`func (o *NpmPackageUploadResponse) GetStatusStr() string` GetStatusStr returns the StatusStr field if non-nil, zero value otherwise. ### GetStatusStrOk -`func (o *LuarocksPackageUpload) GetStatusStrOk() (*string, bool)` +`func (o *NpmPackageUploadResponse) GetStatusStrOk() (*string, bool)` GetStatusStrOk returns a tuple with the StatusStr field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetStatusStr -`func (o *LuarocksPackageUpload) SetStatusStr(v string)` +`func (o *NpmPackageUploadResponse) SetStatusStr(v string)` SetStatusStr sets StatusStr field to given value. ### HasStatusStr -`func (o *LuarocksPackageUpload) HasStatusStr() bool` +`func (o *NpmPackageUploadResponse) HasStatusStr() bool` HasStatusStr returns a boolean if a field has been set. ### GetStatusUpdatedAt -`func (o *LuarocksPackageUpload) GetStatusUpdatedAt() string` +`func (o *NpmPackageUploadResponse) GetStatusUpdatedAt() time.Time` GetStatusUpdatedAt returns the StatusUpdatedAt field if non-nil, zero value otherwise. ### GetStatusUpdatedAtOk -`func (o *LuarocksPackageUpload) GetStatusUpdatedAtOk() (*string, bool)` +`func (o *NpmPackageUploadResponse) GetStatusUpdatedAtOk() (*time.Time, bool)` GetStatusUpdatedAtOk returns a tuple with the StatusUpdatedAt field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetStatusUpdatedAt -`func (o *LuarocksPackageUpload) SetStatusUpdatedAt(v string)` +`func (o *NpmPackageUploadResponse) SetStatusUpdatedAt(v time.Time)` SetStatusUpdatedAt sets StatusUpdatedAt field to given value. ### HasStatusUpdatedAt -`func (o *LuarocksPackageUpload) HasStatusUpdatedAt() bool` +`func (o *NpmPackageUploadResponse) HasStatusUpdatedAt() bool` HasStatusUpdatedAt returns a boolean if a field has been set. ### GetStatusUrl -`func (o *LuarocksPackageUpload) GetStatusUrl() string` +`func (o *NpmPackageUploadResponse) GetStatusUrl() string` GetStatusUrl returns the StatusUrl field if non-nil, zero value otherwise. ### GetStatusUrlOk -`func (o *LuarocksPackageUpload) GetStatusUrlOk() (*string, bool)` +`func (o *NpmPackageUploadResponse) GetStatusUrlOk() (*string, bool)` GetStatusUrlOk returns a tuple with the StatusUrl field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetStatusUrl -`func (o *LuarocksPackageUpload) SetStatusUrl(v string)` +`func (o *NpmPackageUploadResponse) SetStatusUrl(v string)` SetStatusUrl sets StatusUrl field to given value. ### HasStatusUrl -`func (o *LuarocksPackageUpload) HasStatusUrl() bool` +`func (o *NpmPackageUploadResponse) HasStatusUrl() bool` HasStatusUrl returns a boolean if a field has been set. ### GetSubtype -`func (o *LuarocksPackageUpload) GetSubtype() string` +`func (o *NpmPackageUploadResponse) GetSubtype() string` GetSubtype returns the Subtype field if non-nil, zero value otherwise. ### GetSubtypeOk -`func (o *LuarocksPackageUpload) GetSubtypeOk() (*string, bool)` +`func (o *NpmPackageUploadResponse) GetSubtypeOk() (*string, bool)` GetSubtypeOk returns a tuple with the Subtype field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetSubtype -`func (o *LuarocksPackageUpload) SetSubtype(v string)` +`func (o *NpmPackageUploadResponse) SetSubtype(v string)` SetSubtype sets Subtype field to given value. ### HasSubtype -`func (o *LuarocksPackageUpload) HasSubtype() bool` +`func (o *NpmPackageUploadResponse) HasSubtype() bool` HasSubtype returns a boolean if a field has been set. ### GetSummary -`func (o *LuarocksPackageUpload) GetSummary() string` +`func (o *NpmPackageUploadResponse) GetSummary() string` GetSummary returns the Summary field if non-nil, zero value otherwise. ### GetSummaryOk -`func (o *LuarocksPackageUpload) GetSummaryOk() (*string, bool)` +`func (o *NpmPackageUploadResponse) GetSummaryOk() (*string, bool)` GetSummaryOk returns a tuple with the Summary field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetSummary -`func (o *LuarocksPackageUpload) SetSummary(v string)` +`func (o *NpmPackageUploadResponse) SetSummary(v string)` SetSummary sets Summary field to given value. ### HasSummary -`func (o *LuarocksPackageUpload) HasSummary() bool` +`func (o *NpmPackageUploadResponse) HasSummary() bool` HasSummary returns a boolean if a field has been set. ### GetSyncFinishedAt -`func (o *LuarocksPackageUpload) GetSyncFinishedAt() string` +`func (o *NpmPackageUploadResponse) GetSyncFinishedAt() time.Time` GetSyncFinishedAt returns the SyncFinishedAt field if non-nil, zero value otherwise. ### GetSyncFinishedAtOk -`func (o *LuarocksPackageUpload) GetSyncFinishedAtOk() (*string, bool)` +`func (o *NpmPackageUploadResponse) GetSyncFinishedAtOk() (*time.Time, bool)` GetSyncFinishedAtOk returns a tuple with the SyncFinishedAt field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetSyncFinishedAt -`func (o *LuarocksPackageUpload) SetSyncFinishedAt(v string)` +`func (o *NpmPackageUploadResponse) SetSyncFinishedAt(v time.Time)` SetSyncFinishedAt sets SyncFinishedAt field to given value. ### HasSyncFinishedAt -`func (o *LuarocksPackageUpload) HasSyncFinishedAt() bool` +`func (o *NpmPackageUploadResponse) HasSyncFinishedAt() bool` HasSyncFinishedAt returns a boolean if a field has been set. ### GetSyncProgress -`func (o *LuarocksPackageUpload) GetSyncProgress() int64` +`func (o *NpmPackageUploadResponse) GetSyncProgress() int64` GetSyncProgress returns the SyncProgress field if non-nil, zero value otherwise. ### GetSyncProgressOk -`func (o *LuarocksPackageUpload) GetSyncProgressOk() (*int64, bool)` +`func (o *NpmPackageUploadResponse) GetSyncProgressOk() (*int64, bool)` GetSyncProgressOk returns a tuple with the SyncProgress field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetSyncProgress -`func (o *LuarocksPackageUpload) SetSyncProgress(v int64)` +`func (o *NpmPackageUploadResponse) SetSyncProgress(v int64)` SetSyncProgress sets SyncProgress field to given value. ### HasSyncProgress -`func (o *LuarocksPackageUpload) HasSyncProgress() bool` +`func (o *NpmPackageUploadResponse) HasSyncProgress() bool` HasSyncProgress returns a boolean if a field has been set. ### GetTagsImmutable -`func (o *LuarocksPackageUpload) GetTagsImmutable() map[string]interface{}` +`func (o *NpmPackageUploadResponse) GetTagsImmutable() map[string]interface{}` GetTagsImmutable returns the TagsImmutable field if non-nil, zero value otherwise. ### GetTagsImmutableOk -`func (o *LuarocksPackageUpload) GetTagsImmutableOk() (*map[string]interface{}, bool)` +`func (o *NpmPackageUploadResponse) GetTagsImmutableOk() (*map[string]interface{}, bool)` GetTagsImmutableOk returns a tuple with the TagsImmutable field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetTagsImmutable -`func (o *LuarocksPackageUpload) SetTagsImmutable(v map[string]interface{})` +`func (o *NpmPackageUploadResponse) SetTagsImmutable(v map[string]interface{})` SetTagsImmutable sets TagsImmutable field to given value. ### HasTagsImmutable -`func (o *LuarocksPackageUpload) HasTagsImmutable() bool` +`func (o *NpmPackageUploadResponse) HasTagsImmutable() bool` HasTagsImmutable returns a boolean if a field has been set. ### GetTypeDisplay -`func (o *LuarocksPackageUpload) GetTypeDisplay() string` +`func (o *NpmPackageUploadResponse) GetTypeDisplay() string` GetTypeDisplay returns the TypeDisplay field if non-nil, zero value otherwise. ### GetTypeDisplayOk -`func (o *LuarocksPackageUpload) GetTypeDisplayOk() (*string, bool)` +`func (o *NpmPackageUploadResponse) GetTypeDisplayOk() (*string, bool)` GetTypeDisplayOk returns a tuple with the TypeDisplay field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetTypeDisplay -`func (o *LuarocksPackageUpload) SetTypeDisplay(v string)` +`func (o *NpmPackageUploadResponse) SetTypeDisplay(v string)` SetTypeDisplay sets TypeDisplay field to given value. ### HasTypeDisplay -`func (o *LuarocksPackageUpload) HasTypeDisplay() bool` +`func (o *NpmPackageUploadResponse) HasTypeDisplay() bool` HasTypeDisplay returns a boolean if a field has been set. ### GetUploadedAt -`func (o *LuarocksPackageUpload) GetUploadedAt() string` +`func (o *NpmPackageUploadResponse) GetUploadedAt() time.Time` GetUploadedAt returns the UploadedAt field if non-nil, zero value otherwise. ### GetUploadedAtOk -`func (o *LuarocksPackageUpload) GetUploadedAtOk() (*string, bool)` +`func (o *NpmPackageUploadResponse) GetUploadedAtOk() (*time.Time, bool)` GetUploadedAtOk returns a tuple with the UploadedAt field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetUploadedAt -`func (o *LuarocksPackageUpload) SetUploadedAt(v string)` +`func (o *NpmPackageUploadResponse) SetUploadedAt(v time.Time)` SetUploadedAt sets UploadedAt field to given value. ### HasUploadedAt -`func (o *LuarocksPackageUpload) HasUploadedAt() bool` +`func (o *NpmPackageUploadResponse) HasUploadedAt() bool` HasUploadedAt returns a boolean if a field has been set. ### GetUploader -`func (o *LuarocksPackageUpload) GetUploader() string` +`func (o *NpmPackageUploadResponse) GetUploader() string` GetUploader returns the Uploader field if non-nil, zero value otherwise. ### GetUploaderOk -`func (o *LuarocksPackageUpload) GetUploaderOk() (*string, bool)` +`func (o *NpmPackageUploadResponse) GetUploaderOk() (*string, bool)` GetUploaderOk returns a tuple with the Uploader field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetUploader -`func (o *LuarocksPackageUpload) SetUploader(v string)` +`func (o *NpmPackageUploadResponse) SetUploader(v string)` SetUploader sets Uploader field to given value. ### HasUploader -`func (o *LuarocksPackageUpload) HasUploader() bool` +`func (o *NpmPackageUploadResponse) HasUploader() bool` HasUploader returns a boolean if a field has been set. ### GetUploaderUrl -`func (o *LuarocksPackageUpload) GetUploaderUrl() string` +`func (o *NpmPackageUploadResponse) GetUploaderUrl() string` GetUploaderUrl returns the UploaderUrl field if non-nil, zero value otherwise. ### GetUploaderUrlOk -`func (o *LuarocksPackageUpload) GetUploaderUrlOk() (*string, bool)` +`func (o *NpmPackageUploadResponse) GetUploaderUrlOk() (*string, bool)` GetUploaderUrlOk returns a tuple with the UploaderUrl field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetUploaderUrl -`func (o *LuarocksPackageUpload) SetUploaderUrl(v string)` +`func (o *NpmPackageUploadResponse) SetUploaderUrl(v string)` SetUploaderUrl sets UploaderUrl field to given value. ### HasUploaderUrl -`func (o *LuarocksPackageUpload) HasUploaderUrl() bool` +`func (o *NpmPackageUploadResponse) HasUploaderUrl() bool` HasUploaderUrl returns a boolean if a field has been set. ### GetVersion -`func (o *LuarocksPackageUpload) GetVersion() string` +`func (o *NpmPackageUploadResponse) GetVersion() string` GetVersion returns the Version field if non-nil, zero value otherwise. ### GetVersionOk -`func (o *LuarocksPackageUpload) GetVersionOk() (*string, bool)` +`func (o *NpmPackageUploadResponse) GetVersionOk() (*string, bool)` GetVersionOk returns a tuple with the Version field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetVersion -`func (o *LuarocksPackageUpload) SetVersion(v string)` +`func (o *NpmPackageUploadResponse) SetVersion(v string)` SetVersion sets Version field to given value. ### HasVersion -`func (o *LuarocksPackageUpload) HasVersion() bool` +`func (o *NpmPackageUploadResponse) HasVersion() bool` HasVersion returns a boolean if a field has been set. ### GetVersionOrig -`func (o *LuarocksPackageUpload) GetVersionOrig() string` +`func (o *NpmPackageUploadResponse) GetVersionOrig() string` GetVersionOrig returns the VersionOrig field if non-nil, zero value otherwise. ### GetVersionOrigOk -`func (o *LuarocksPackageUpload) GetVersionOrigOk() (*string, bool)` +`func (o *NpmPackageUploadResponse) GetVersionOrigOk() (*string, bool)` GetVersionOrigOk returns a tuple with the VersionOrig field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetVersionOrig -`func (o *LuarocksPackageUpload) SetVersionOrig(v string)` +`func (o *NpmPackageUploadResponse) SetVersionOrig(v string)` SetVersionOrig sets VersionOrig field to given value. ### HasVersionOrig -`func (o *LuarocksPackageUpload) HasVersionOrig() bool` +`func (o *NpmPackageUploadResponse) HasVersionOrig() bool` HasVersionOrig returns a boolean if a field has been set. ### GetVulnerabilityScanResultsUrl -`func (o *LuarocksPackageUpload) GetVulnerabilityScanResultsUrl() string` +`func (o *NpmPackageUploadResponse) GetVulnerabilityScanResultsUrl() string` GetVulnerabilityScanResultsUrl returns the VulnerabilityScanResultsUrl field if non-nil, zero value otherwise. ### GetVulnerabilityScanResultsUrlOk -`func (o *LuarocksPackageUpload) GetVulnerabilityScanResultsUrlOk() (*string, bool)` +`func (o *NpmPackageUploadResponse) GetVulnerabilityScanResultsUrlOk() (*string, bool)` GetVulnerabilityScanResultsUrlOk returns a tuple with the VulnerabilityScanResultsUrl field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetVulnerabilityScanResultsUrl -`func (o *LuarocksPackageUpload) SetVulnerabilityScanResultsUrl(v string)` +`func (o *NpmPackageUploadResponse) SetVulnerabilityScanResultsUrl(v string)` SetVulnerabilityScanResultsUrl sets VulnerabilityScanResultsUrl field to given value. ### HasVulnerabilityScanResultsUrl -`func (o *LuarocksPackageUpload) HasVulnerabilityScanResultsUrl() bool` +`func (o *NpmPackageUploadResponse) HasVulnerabilityScanResultsUrl() bool` HasVulnerabilityScanResultsUrl returns a boolean if a field has been set. diff --git a/docs/PackagesValidateUploadNuget.md b/docs/NugetPackageUploadRequest.md similarity index 52% rename from docs/PackagesValidateUploadNuget.md rename to docs/NugetPackageUploadRequest.md index 59325a71..1e5049cf 100644 --- a/docs/PackagesValidateUploadNuget.md +++ b/docs/NugetPackageUploadRequest.md @@ -1,4 +1,4 @@ -# PackagesValidateUploadNuget +# NugetPackageUploadRequest ## Properties @@ -6,123 +6,143 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **PackageFile** | **string** | The primary file for the package. | **Republish** | Pointer to **bool** | If true, the uploaded package will overwrite any others with the same attributes (e.g. same version); otherwise, it will be flagged as a duplicate. | [optional] -**SymbolsFile** | Pointer to **string** | Attaches a symbols file to the package. | [optional] -**Tags** | Pointer to **string** | A comma-separated values list of tags to add to the package. | [optional] +**SymbolsFile** | Pointer to **NullableString** | Attaches a symbols file to the package. | [optional] +**Tags** | Pointer to **NullableString** | A comma-separated values list of tags to add to the package. | [optional] ## Methods -### NewPackagesValidateUploadNuget +### NewNugetPackageUploadRequest -`func NewPackagesValidateUploadNuget(packageFile string, ) *PackagesValidateUploadNuget` +`func NewNugetPackageUploadRequest(packageFile string, ) *NugetPackageUploadRequest` -NewPackagesValidateUploadNuget instantiates a new PackagesValidateUploadNuget object +NewNugetPackageUploadRequest instantiates a new NugetPackageUploadRequest object 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 -### NewPackagesValidateUploadNugetWithDefaults +### NewNugetPackageUploadRequestWithDefaults -`func NewPackagesValidateUploadNugetWithDefaults() *PackagesValidateUploadNuget` +`func NewNugetPackageUploadRequestWithDefaults() *NugetPackageUploadRequest` -NewPackagesValidateUploadNugetWithDefaults instantiates a new PackagesValidateUploadNuget object +NewNugetPackageUploadRequestWithDefaults instantiates a new NugetPackageUploadRequest object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set ### GetPackageFile -`func (o *PackagesValidateUploadNuget) GetPackageFile() string` +`func (o *NugetPackageUploadRequest) GetPackageFile() string` GetPackageFile returns the PackageFile field if non-nil, zero value otherwise. ### GetPackageFileOk -`func (o *PackagesValidateUploadNuget) GetPackageFileOk() (*string, bool)` +`func (o *NugetPackageUploadRequest) GetPackageFileOk() (*string, bool)` GetPackageFileOk returns a tuple with the PackageFile field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetPackageFile -`func (o *PackagesValidateUploadNuget) SetPackageFile(v string)` +`func (o *NugetPackageUploadRequest) SetPackageFile(v string)` SetPackageFile sets PackageFile field to given value. ### GetRepublish -`func (o *PackagesValidateUploadNuget) GetRepublish() bool` +`func (o *NugetPackageUploadRequest) GetRepublish() bool` GetRepublish returns the Republish field if non-nil, zero value otherwise. ### GetRepublishOk -`func (o *PackagesValidateUploadNuget) GetRepublishOk() (*bool, bool)` +`func (o *NugetPackageUploadRequest) GetRepublishOk() (*bool, bool)` GetRepublishOk returns a tuple with the Republish field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetRepublish -`func (o *PackagesValidateUploadNuget) SetRepublish(v bool)` +`func (o *NugetPackageUploadRequest) SetRepublish(v bool)` SetRepublish sets Republish field to given value. ### HasRepublish -`func (o *PackagesValidateUploadNuget) HasRepublish() bool` +`func (o *NugetPackageUploadRequest) HasRepublish() bool` HasRepublish returns a boolean if a field has been set. ### GetSymbolsFile -`func (o *PackagesValidateUploadNuget) GetSymbolsFile() string` +`func (o *NugetPackageUploadRequest) GetSymbolsFile() string` GetSymbolsFile returns the SymbolsFile field if non-nil, zero value otherwise. ### GetSymbolsFileOk -`func (o *PackagesValidateUploadNuget) GetSymbolsFileOk() (*string, bool)` +`func (o *NugetPackageUploadRequest) GetSymbolsFileOk() (*string, bool)` GetSymbolsFileOk returns a tuple with the SymbolsFile field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetSymbolsFile -`func (o *PackagesValidateUploadNuget) SetSymbolsFile(v string)` +`func (o *NugetPackageUploadRequest) SetSymbolsFile(v string)` SetSymbolsFile sets SymbolsFile field to given value. ### HasSymbolsFile -`func (o *PackagesValidateUploadNuget) HasSymbolsFile() bool` +`func (o *NugetPackageUploadRequest) HasSymbolsFile() bool` HasSymbolsFile returns a boolean if a field has been set. +### SetSymbolsFileNil + +`func (o *NugetPackageUploadRequest) SetSymbolsFileNil(b bool)` + + SetSymbolsFileNil sets the value for SymbolsFile to be an explicit nil + +### UnsetSymbolsFile +`func (o *NugetPackageUploadRequest) UnsetSymbolsFile()` + +UnsetSymbolsFile ensures that no value is present for SymbolsFile, not even an explicit nil ### GetTags -`func (o *PackagesValidateUploadNuget) GetTags() string` +`func (o *NugetPackageUploadRequest) GetTags() string` GetTags returns the Tags field if non-nil, zero value otherwise. ### GetTagsOk -`func (o *PackagesValidateUploadNuget) GetTagsOk() (*string, bool)` +`func (o *NugetPackageUploadRequest) GetTagsOk() (*string, bool)` GetTagsOk returns a tuple with the Tags field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetTags -`func (o *PackagesValidateUploadNuget) SetTags(v string)` +`func (o *NugetPackageUploadRequest) SetTags(v string)` SetTags sets Tags field to given value. ### HasTags -`func (o *PackagesValidateUploadNuget) HasTags() bool` +`func (o *NugetPackageUploadRequest) HasTags() bool` HasTags returns a boolean if a field has been set. +### SetTagsNil + +`func (o *NugetPackageUploadRequest) SetTagsNil(b bool)` + + SetTagsNil sets the value for Tags to be an explicit nil + +### UnsetTags +`func (o *NugetPackageUploadRequest) UnsetTags()` + +UnsetTags ensures that no value is present for Tags, 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/docs/NugetPackageUploadResponse.md b/docs/NugetPackageUploadResponse.md new file mode 100644 index 00000000..ce52bd09 --- /dev/null +++ b/docs/NugetPackageUploadResponse.md @@ -0,0 +1,1838 @@ +# NugetPackageUploadResponse + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Architectures** | Pointer to [**[]Architecture**](Architecture.md) | | [optional] [readonly] +**CdnUrl** | Pointer to **NullableString** | | [optional] [readonly] +**ChecksumMd5** | Pointer to **string** | | [optional] [readonly] +**ChecksumSha1** | Pointer to **string** | | [optional] [readonly] +**ChecksumSha256** | Pointer to **string** | | [optional] [readonly] +**ChecksumSha512** | Pointer to **string** | | [optional] [readonly] +**DependenciesChecksumMd5** | Pointer to **string** | A checksum of all of the package's dependencies. | [optional] [readonly] +**DependenciesUrl** | Pointer to **string** | | [optional] [readonly] +**Description** | Pointer to **string** | A textual description of this package. | [optional] [readonly] +**Distro** | Pointer to [**NullableDistribution**](Distribution.md) | | [optional] +**DistroVersion** | Pointer to [**DistributionVersion**](DistributionVersion.md) | | [optional] +**Downloads** | Pointer to **int64** | | [optional] [readonly] +**Epoch** | Pointer to **int64** | The epoch of the package version (if any). | [optional] [readonly] +**Extension** | Pointer to **string** | | [optional] [readonly] +**Filename** | Pointer to **string** | | [optional] [readonly] +**Files** | Pointer to [**[]PackageFile**](PackageFile.md) | | [optional] [readonly] +**Format** | Pointer to **string** | | [optional] [readonly] +**FormatUrl** | Pointer to **string** | | [optional] [readonly] +**IdentifierPerm** | Pointer to **string** | Unique and permanent identifier for the package. | [optional] [readonly] +**Indexed** | Pointer to **bool** | | [optional] [readonly] +**IsDownloadable** | Pointer to **bool** | | [optional] [readonly] +**IsQuarantined** | Pointer to **bool** | | [optional] [readonly] +**IsSyncAwaiting** | Pointer to **bool** | | [optional] [readonly] +**IsSyncCompleted** | Pointer to **bool** | | [optional] [readonly] +**IsSyncFailed** | Pointer to **bool** | | [optional] [readonly] +**IsSyncInFlight** | Pointer to **bool** | | [optional] [readonly] +**IsSyncInProgress** | Pointer to **bool** | | [optional] [readonly] +**License** | Pointer to **string** | The license of this package. | [optional] [readonly] +**Name** | Pointer to **string** | The name of this package. | [optional] [readonly] +**Namespace** | Pointer to **string** | | [optional] [readonly] +**NamespaceUrl** | Pointer to **string** | | [optional] [readonly] +**NumFiles** | Pointer to **int64** | | [optional] [readonly] +**OriginRepository** | Pointer to **string** | | [optional] [readonly] +**OriginRepositoryUrl** | Pointer to **string** | | [optional] [readonly] +**PackageType** | Pointer to **int64** | The type of package contents. | [optional] [readonly] +**Release** | Pointer to **string** | The release of the package version (if any). | [optional] [readonly] +**Repository** | Pointer to **string** | | [optional] [readonly] +**RepositoryUrl** | Pointer to **string** | | [optional] [readonly] +**SecurityScanCompletedAt** | Pointer to **time.Time** | The datetime the security scanning was completed. | [optional] [readonly] +**SecurityScanStartedAt** | Pointer to **time.Time** | The datetime the security scanning was started. | [optional] [readonly] +**SecurityScanStatus** | Pointer to **NullableString** | | [optional] [readonly] [default to "Awaiting Security Scan"] +**SecurityScanStatusUpdatedAt** | Pointer to **time.Time** | The datetime the security scanning status was updated. | [optional] [readonly] +**SelfHtmlUrl** | Pointer to **string** | | [optional] [readonly] +**SelfUrl** | Pointer to **string** | | [optional] [readonly] +**SignatureUrl** | Pointer to **NullableString** | | [optional] [readonly] +**Size** | Pointer to **int64** | The calculated size of the package. | [optional] [readonly] +**Slug** | Pointer to **string** | The public unique identifier for the package. | [optional] [readonly] +**SlugPerm** | Pointer to **string** | | [optional] [readonly] +**Stage** | Pointer to **int64** | The synchronisation (in progress) stage of the package. | [optional] [readonly] +**StageStr** | Pointer to **string** | | [optional] [readonly] +**StageUpdatedAt** | Pointer to **time.Time** | The datetime the package stage was updated at. | [optional] [readonly] +**Status** | Pointer to **int64** | The synchronisation status of the package. | [optional] [readonly] +**StatusReason** | Pointer to **string** | A textual description for the synchronous status reason (if any | [optional] [readonly] +**StatusStr** | Pointer to **string** | | [optional] [readonly] +**StatusUpdatedAt** | Pointer to **time.Time** | The datetime the package status was updated at. | [optional] [readonly] +**StatusUrl** | Pointer to **string** | | [optional] [readonly] +**Subtype** | Pointer to **string** | | [optional] [readonly] +**Summary** | Pointer to **string** | A one-liner synopsis of this package. | [optional] [readonly] +**SyncFinishedAt** | Pointer to **time.Time** | The datetime the package sync was finished at. | [optional] [readonly] +**SyncProgress** | Pointer to **int64** | Synchronisation progress (from 0-100) | [optional] [readonly] +**TagsImmutable** | Pointer to **map[string]interface{}** | All tags on the package, grouped by tag type. This includes immutable tags, but doesn't distinguish them from mutable. To see which tags are immutable specifically, see the tags_immutable field. | [optional] +**TypeDisplay** | Pointer to **string** | | [optional] [readonly] +**UploadedAt** | Pointer to **time.Time** | The date this package was uploaded. | [optional] [readonly] +**Uploader** | Pointer to **string** | | [optional] [readonly] +**UploaderUrl** | Pointer to **string** | | [optional] [readonly] +**Version** | Pointer to **string** | The raw version for this package. | [optional] [readonly] +**VersionOrig** | Pointer to **string** | | [optional] [readonly] +**VulnerabilityScanResultsUrl** | Pointer to **string** | | [optional] [readonly] + +## Methods + +### NewNugetPackageUploadResponse + +`func NewNugetPackageUploadResponse() *NugetPackageUploadResponse` + +NewNugetPackageUploadResponse instantiates a new NugetPackageUploadResponse object +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 + +### NewNugetPackageUploadResponseWithDefaults + +`func NewNugetPackageUploadResponseWithDefaults() *NugetPackageUploadResponse` + +NewNugetPackageUploadResponseWithDefaults instantiates a new NugetPackageUploadResponse object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetArchitectures + +`func (o *NugetPackageUploadResponse) GetArchitectures() []Architecture` + +GetArchitectures returns the Architectures field if non-nil, zero value otherwise. + +### GetArchitecturesOk + +`func (o *NugetPackageUploadResponse) GetArchitecturesOk() (*[]Architecture, bool)` + +GetArchitecturesOk returns a tuple with the Architectures field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetArchitectures + +`func (o *NugetPackageUploadResponse) SetArchitectures(v []Architecture)` + +SetArchitectures sets Architectures field to given value. + +### HasArchitectures + +`func (o *NugetPackageUploadResponse) HasArchitectures() bool` + +HasArchitectures returns a boolean if a field has been set. + +### GetCdnUrl + +`func (o *NugetPackageUploadResponse) GetCdnUrl() string` + +GetCdnUrl returns the CdnUrl field if non-nil, zero value otherwise. + +### GetCdnUrlOk + +`func (o *NugetPackageUploadResponse) GetCdnUrlOk() (*string, bool)` + +GetCdnUrlOk returns a tuple with the CdnUrl field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetCdnUrl + +`func (o *NugetPackageUploadResponse) SetCdnUrl(v string)` + +SetCdnUrl sets CdnUrl field to given value. + +### HasCdnUrl + +`func (o *NugetPackageUploadResponse) HasCdnUrl() bool` + +HasCdnUrl returns a boolean if a field has been set. + +### SetCdnUrlNil + +`func (o *NugetPackageUploadResponse) SetCdnUrlNil(b bool)` + + SetCdnUrlNil sets the value for CdnUrl to be an explicit nil + +### UnsetCdnUrl +`func (o *NugetPackageUploadResponse) UnsetCdnUrl()` + +UnsetCdnUrl ensures that no value is present for CdnUrl, not even an explicit nil +### GetChecksumMd5 + +`func (o *NugetPackageUploadResponse) GetChecksumMd5() string` + +GetChecksumMd5 returns the ChecksumMd5 field if non-nil, zero value otherwise. + +### GetChecksumMd5Ok + +`func (o *NugetPackageUploadResponse) GetChecksumMd5Ok() (*string, bool)` + +GetChecksumMd5Ok returns a tuple with the ChecksumMd5 field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetChecksumMd5 + +`func (o *NugetPackageUploadResponse) SetChecksumMd5(v string)` + +SetChecksumMd5 sets ChecksumMd5 field to given value. + +### HasChecksumMd5 + +`func (o *NugetPackageUploadResponse) HasChecksumMd5() bool` + +HasChecksumMd5 returns a boolean if a field has been set. + +### GetChecksumSha1 + +`func (o *NugetPackageUploadResponse) GetChecksumSha1() string` + +GetChecksumSha1 returns the ChecksumSha1 field if non-nil, zero value otherwise. + +### GetChecksumSha1Ok + +`func (o *NugetPackageUploadResponse) GetChecksumSha1Ok() (*string, bool)` + +GetChecksumSha1Ok returns a tuple with the ChecksumSha1 field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetChecksumSha1 + +`func (o *NugetPackageUploadResponse) SetChecksumSha1(v string)` + +SetChecksumSha1 sets ChecksumSha1 field to given value. + +### HasChecksumSha1 + +`func (o *NugetPackageUploadResponse) HasChecksumSha1() bool` + +HasChecksumSha1 returns a boolean if a field has been set. + +### GetChecksumSha256 + +`func (o *NugetPackageUploadResponse) GetChecksumSha256() string` + +GetChecksumSha256 returns the ChecksumSha256 field if non-nil, zero value otherwise. + +### GetChecksumSha256Ok + +`func (o *NugetPackageUploadResponse) GetChecksumSha256Ok() (*string, bool)` + +GetChecksumSha256Ok returns a tuple with the ChecksumSha256 field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetChecksumSha256 + +`func (o *NugetPackageUploadResponse) SetChecksumSha256(v string)` + +SetChecksumSha256 sets ChecksumSha256 field to given value. + +### HasChecksumSha256 + +`func (o *NugetPackageUploadResponse) HasChecksumSha256() bool` + +HasChecksumSha256 returns a boolean if a field has been set. + +### GetChecksumSha512 + +`func (o *NugetPackageUploadResponse) GetChecksumSha512() string` + +GetChecksumSha512 returns the ChecksumSha512 field if non-nil, zero value otherwise. + +### GetChecksumSha512Ok + +`func (o *NugetPackageUploadResponse) GetChecksumSha512Ok() (*string, bool)` + +GetChecksumSha512Ok returns a tuple with the ChecksumSha512 field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetChecksumSha512 + +`func (o *NugetPackageUploadResponse) SetChecksumSha512(v string)` + +SetChecksumSha512 sets ChecksumSha512 field to given value. + +### HasChecksumSha512 + +`func (o *NugetPackageUploadResponse) HasChecksumSha512() bool` + +HasChecksumSha512 returns a boolean if a field has been set. + +### GetDependenciesChecksumMd5 + +`func (o *NugetPackageUploadResponse) GetDependenciesChecksumMd5() string` + +GetDependenciesChecksumMd5 returns the DependenciesChecksumMd5 field if non-nil, zero value otherwise. + +### GetDependenciesChecksumMd5Ok + +`func (o *NugetPackageUploadResponse) GetDependenciesChecksumMd5Ok() (*string, bool)` + +GetDependenciesChecksumMd5Ok returns a tuple with the DependenciesChecksumMd5 field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetDependenciesChecksumMd5 + +`func (o *NugetPackageUploadResponse) SetDependenciesChecksumMd5(v string)` + +SetDependenciesChecksumMd5 sets DependenciesChecksumMd5 field to given value. + +### HasDependenciesChecksumMd5 + +`func (o *NugetPackageUploadResponse) HasDependenciesChecksumMd5() bool` + +HasDependenciesChecksumMd5 returns a boolean if a field has been set. + +### GetDependenciesUrl + +`func (o *NugetPackageUploadResponse) GetDependenciesUrl() string` + +GetDependenciesUrl returns the DependenciesUrl field if non-nil, zero value otherwise. + +### GetDependenciesUrlOk + +`func (o *NugetPackageUploadResponse) GetDependenciesUrlOk() (*string, bool)` + +GetDependenciesUrlOk returns a tuple with the DependenciesUrl field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetDependenciesUrl + +`func (o *NugetPackageUploadResponse) SetDependenciesUrl(v string)` + +SetDependenciesUrl sets DependenciesUrl field to given value. + +### HasDependenciesUrl + +`func (o *NugetPackageUploadResponse) HasDependenciesUrl() bool` + +HasDependenciesUrl returns a boolean if a field has been set. + +### GetDescription + +`func (o *NugetPackageUploadResponse) GetDescription() string` + +GetDescription returns the Description field if non-nil, zero value otherwise. + +### GetDescriptionOk + +`func (o *NugetPackageUploadResponse) GetDescriptionOk() (*string, bool)` + +GetDescriptionOk returns a tuple with the Description field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetDescription + +`func (o *NugetPackageUploadResponse) SetDescription(v string)` + +SetDescription sets Description field to given value. + +### HasDescription + +`func (o *NugetPackageUploadResponse) HasDescription() bool` + +HasDescription returns a boolean if a field has been set. + +### GetDistro + +`func (o *NugetPackageUploadResponse) GetDistro() Distribution` + +GetDistro returns the Distro field if non-nil, zero value otherwise. + +### GetDistroOk + +`func (o *NugetPackageUploadResponse) GetDistroOk() (*Distribution, bool)` + +GetDistroOk returns a tuple with the Distro field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetDistro + +`func (o *NugetPackageUploadResponse) SetDistro(v Distribution)` + +SetDistro sets Distro field to given value. + +### HasDistro + +`func (o *NugetPackageUploadResponse) HasDistro() bool` + +HasDistro returns a boolean if a field has been set. + +### SetDistroNil + +`func (o *NugetPackageUploadResponse) SetDistroNil(b bool)` + + SetDistroNil sets the value for Distro to be an explicit nil + +### UnsetDistro +`func (o *NugetPackageUploadResponse) UnsetDistro()` + +UnsetDistro ensures that no value is present for Distro, not even an explicit nil +### GetDistroVersion + +`func (o *NugetPackageUploadResponse) GetDistroVersion() DistributionVersion` + +GetDistroVersion returns the DistroVersion field if non-nil, zero value otherwise. + +### GetDistroVersionOk + +`func (o *NugetPackageUploadResponse) GetDistroVersionOk() (*DistributionVersion, bool)` + +GetDistroVersionOk returns a tuple with the DistroVersion field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetDistroVersion + +`func (o *NugetPackageUploadResponse) SetDistroVersion(v DistributionVersion)` + +SetDistroVersion sets DistroVersion field to given value. + +### HasDistroVersion + +`func (o *NugetPackageUploadResponse) HasDistroVersion() bool` + +HasDistroVersion returns a boolean if a field has been set. + +### GetDownloads + +`func (o *NugetPackageUploadResponse) GetDownloads() int64` + +GetDownloads returns the Downloads field if non-nil, zero value otherwise. + +### GetDownloadsOk + +`func (o *NugetPackageUploadResponse) GetDownloadsOk() (*int64, bool)` + +GetDownloadsOk returns a tuple with the Downloads field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetDownloads + +`func (o *NugetPackageUploadResponse) SetDownloads(v int64)` + +SetDownloads sets Downloads field to given value. + +### HasDownloads + +`func (o *NugetPackageUploadResponse) HasDownloads() bool` + +HasDownloads returns a boolean if a field has been set. + +### GetEpoch + +`func (o *NugetPackageUploadResponse) GetEpoch() int64` + +GetEpoch returns the Epoch field if non-nil, zero value otherwise. + +### GetEpochOk + +`func (o *NugetPackageUploadResponse) GetEpochOk() (*int64, bool)` + +GetEpochOk returns a tuple with the Epoch field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetEpoch + +`func (o *NugetPackageUploadResponse) SetEpoch(v int64)` + +SetEpoch sets Epoch field to given value. + +### HasEpoch + +`func (o *NugetPackageUploadResponse) HasEpoch() bool` + +HasEpoch returns a boolean if a field has been set. + +### GetExtension + +`func (o *NugetPackageUploadResponse) GetExtension() string` + +GetExtension returns the Extension field if non-nil, zero value otherwise. + +### GetExtensionOk + +`func (o *NugetPackageUploadResponse) GetExtensionOk() (*string, bool)` + +GetExtensionOk returns a tuple with the Extension field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetExtension + +`func (o *NugetPackageUploadResponse) SetExtension(v string)` + +SetExtension sets Extension field to given value. + +### HasExtension + +`func (o *NugetPackageUploadResponse) HasExtension() bool` + +HasExtension returns a boolean if a field has been set. + +### GetFilename + +`func (o *NugetPackageUploadResponse) GetFilename() string` + +GetFilename returns the Filename field if non-nil, zero value otherwise. + +### GetFilenameOk + +`func (o *NugetPackageUploadResponse) GetFilenameOk() (*string, bool)` + +GetFilenameOk returns a tuple with the Filename field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetFilename + +`func (o *NugetPackageUploadResponse) SetFilename(v string)` + +SetFilename sets Filename field to given value. + +### HasFilename + +`func (o *NugetPackageUploadResponse) HasFilename() bool` + +HasFilename returns a boolean if a field has been set. + +### GetFiles + +`func (o *NugetPackageUploadResponse) GetFiles() []PackageFile` + +GetFiles returns the Files field if non-nil, zero value otherwise. + +### GetFilesOk + +`func (o *NugetPackageUploadResponse) GetFilesOk() (*[]PackageFile, 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 *NugetPackageUploadResponse) SetFiles(v []PackageFile)` + +SetFiles sets Files field to given value. + +### HasFiles + +`func (o *NugetPackageUploadResponse) HasFiles() bool` + +HasFiles returns a boolean if a field has been set. + +### GetFormat + +`func (o *NugetPackageUploadResponse) GetFormat() string` + +GetFormat returns the Format field if non-nil, zero value otherwise. + +### GetFormatOk + +`func (o *NugetPackageUploadResponse) GetFormatOk() (*string, bool)` + +GetFormatOk returns a tuple with the Format field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetFormat + +`func (o *NugetPackageUploadResponse) SetFormat(v string)` + +SetFormat sets Format field to given value. + +### HasFormat + +`func (o *NugetPackageUploadResponse) HasFormat() bool` + +HasFormat returns a boolean if a field has been set. + +### GetFormatUrl + +`func (o *NugetPackageUploadResponse) GetFormatUrl() string` + +GetFormatUrl returns the FormatUrl field if non-nil, zero value otherwise. + +### GetFormatUrlOk + +`func (o *NugetPackageUploadResponse) GetFormatUrlOk() (*string, bool)` + +GetFormatUrlOk returns a tuple with the FormatUrl field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetFormatUrl + +`func (o *NugetPackageUploadResponse) SetFormatUrl(v string)` + +SetFormatUrl sets FormatUrl field to given value. + +### HasFormatUrl + +`func (o *NugetPackageUploadResponse) HasFormatUrl() bool` + +HasFormatUrl returns a boolean if a field has been set. + +### GetIdentifierPerm + +`func (o *NugetPackageUploadResponse) GetIdentifierPerm() string` + +GetIdentifierPerm returns the IdentifierPerm field if non-nil, zero value otherwise. + +### GetIdentifierPermOk + +`func (o *NugetPackageUploadResponse) GetIdentifierPermOk() (*string, bool)` + +GetIdentifierPermOk returns a tuple with the IdentifierPerm field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetIdentifierPerm + +`func (o *NugetPackageUploadResponse) SetIdentifierPerm(v string)` + +SetIdentifierPerm sets IdentifierPerm field to given value. + +### HasIdentifierPerm + +`func (o *NugetPackageUploadResponse) HasIdentifierPerm() bool` + +HasIdentifierPerm returns a boolean if a field has been set. + +### GetIndexed + +`func (o *NugetPackageUploadResponse) GetIndexed() bool` + +GetIndexed returns the Indexed field if non-nil, zero value otherwise. + +### GetIndexedOk + +`func (o *NugetPackageUploadResponse) GetIndexedOk() (*bool, bool)` + +GetIndexedOk returns a tuple with the Indexed field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetIndexed + +`func (o *NugetPackageUploadResponse) SetIndexed(v bool)` + +SetIndexed sets Indexed field to given value. + +### HasIndexed + +`func (o *NugetPackageUploadResponse) HasIndexed() bool` + +HasIndexed returns a boolean if a field has been set. + +### GetIsDownloadable + +`func (o *NugetPackageUploadResponse) GetIsDownloadable() bool` + +GetIsDownloadable returns the IsDownloadable field if non-nil, zero value otherwise. + +### GetIsDownloadableOk + +`func (o *NugetPackageUploadResponse) GetIsDownloadableOk() (*bool, bool)` + +GetIsDownloadableOk returns a tuple with the IsDownloadable field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetIsDownloadable + +`func (o *NugetPackageUploadResponse) SetIsDownloadable(v bool)` + +SetIsDownloadable sets IsDownloadable field to given value. + +### HasIsDownloadable + +`func (o *NugetPackageUploadResponse) HasIsDownloadable() bool` + +HasIsDownloadable returns a boolean if a field has been set. + +### GetIsQuarantined + +`func (o *NugetPackageUploadResponse) GetIsQuarantined() bool` + +GetIsQuarantined returns the IsQuarantined field if non-nil, zero value otherwise. + +### GetIsQuarantinedOk + +`func (o *NugetPackageUploadResponse) GetIsQuarantinedOk() (*bool, bool)` + +GetIsQuarantinedOk returns a tuple with the IsQuarantined field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetIsQuarantined + +`func (o *NugetPackageUploadResponse) SetIsQuarantined(v bool)` + +SetIsQuarantined sets IsQuarantined field to given value. + +### HasIsQuarantined + +`func (o *NugetPackageUploadResponse) HasIsQuarantined() bool` + +HasIsQuarantined returns a boolean if a field has been set. + +### GetIsSyncAwaiting + +`func (o *NugetPackageUploadResponse) GetIsSyncAwaiting() bool` + +GetIsSyncAwaiting returns the IsSyncAwaiting field if non-nil, zero value otherwise. + +### GetIsSyncAwaitingOk + +`func (o *NugetPackageUploadResponse) GetIsSyncAwaitingOk() (*bool, bool)` + +GetIsSyncAwaitingOk returns a tuple with the IsSyncAwaiting field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetIsSyncAwaiting + +`func (o *NugetPackageUploadResponse) SetIsSyncAwaiting(v bool)` + +SetIsSyncAwaiting sets IsSyncAwaiting field to given value. + +### HasIsSyncAwaiting + +`func (o *NugetPackageUploadResponse) HasIsSyncAwaiting() bool` + +HasIsSyncAwaiting returns a boolean if a field has been set. + +### GetIsSyncCompleted + +`func (o *NugetPackageUploadResponse) GetIsSyncCompleted() bool` + +GetIsSyncCompleted returns the IsSyncCompleted field if non-nil, zero value otherwise. + +### GetIsSyncCompletedOk + +`func (o *NugetPackageUploadResponse) GetIsSyncCompletedOk() (*bool, bool)` + +GetIsSyncCompletedOk returns a tuple with the IsSyncCompleted field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetIsSyncCompleted + +`func (o *NugetPackageUploadResponse) SetIsSyncCompleted(v bool)` + +SetIsSyncCompleted sets IsSyncCompleted field to given value. + +### HasIsSyncCompleted + +`func (o *NugetPackageUploadResponse) HasIsSyncCompleted() bool` + +HasIsSyncCompleted returns a boolean if a field has been set. + +### GetIsSyncFailed + +`func (o *NugetPackageUploadResponse) GetIsSyncFailed() bool` + +GetIsSyncFailed returns the IsSyncFailed field if non-nil, zero value otherwise. + +### GetIsSyncFailedOk + +`func (o *NugetPackageUploadResponse) GetIsSyncFailedOk() (*bool, bool)` + +GetIsSyncFailedOk returns a tuple with the IsSyncFailed field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetIsSyncFailed + +`func (o *NugetPackageUploadResponse) SetIsSyncFailed(v bool)` + +SetIsSyncFailed sets IsSyncFailed field to given value. + +### HasIsSyncFailed + +`func (o *NugetPackageUploadResponse) HasIsSyncFailed() bool` + +HasIsSyncFailed returns a boolean if a field has been set. + +### GetIsSyncInFlight + +`func (o *NugetPackageUploadResponse) GetIsSyncInFlight() bool` + +GetIsSyncInFlight returns the IsSyncInFlight field if non-nil, zero value otherwise. + +### GetIsSyncInFlightOk + +`func (o *NugetPackageUploadResponse) GetIsSyncInFlightOk() (*bool, bool)` + +GetIsSyncInFlightOk returns a tuple with the IsSyncInFlight field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetIsSyncInFlight + +`func (o *NugetPackageUploadResponse) SetIsSyncInFlight(v bool)` + +SetIsSyncInFlight sets IsSyncInFlight field to given value. + +### HasIsSyncInFlight + +`func (o *NugetPackageUploadResponse) HasIsSyncInFlight() bool` + +HasIsSyncInFlight returns a boolean if a field has been set. + +### GetIsSyncInProgress + +`func (o *NugetPackageUploadResponse) GetIsSyncInProgress() bool` + +GetIsSyncInProgress returns the IsSyncInProgress field if non-nil, zero value otherwise. + +### GetIsSyncInProgressOk + +`func (o *NugetPackageUploadResponse) GetIsSyncInProgressOk() (*bool, bool)` + +GetIsSyncInProgressOk returns a tuple with the IsSyncInProgress field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetIsSyncInProgress + +`func (o *NugetPackageUploadResponse) SetIsSyncInProgress(v bool)` + +SetIsSyncInProgress sets IsSyncInProgress field to given value. + +### HasIsSyncInProgress + +`func (o *NugetPackageUploadResponse) HasIsSyncInProgress() bool` + +HasIsSyncInProgress returns a boolean if a field has been set. + +### GetLicense + +`func (o *NugetPackageUploadResponse) GetLicense() string` + +GetLicense returns the License field if non-nil, zero value otherwise. + +### GetLicenseOk + +`func (o *NugetPackageUploadResponse) GetLicenseOk() (*string, bool)` + +GetLicenseOk returns a tuple with the License field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetLicense + +`func (o *NugetPackageUploadResponse) SetLicense(v string)` + +SetLicense sets License field to given value. + +### HasLicense + +`func (o *NugetPackageUploadResponse) HasLicense() bool` + +HasLicense returns a boolean if a field has been set. + +### GetName + +`func (o *NugetPackageUploadResponse) GetName() string` + +GetName returns the Name field if non-nil, zero value otherwise. + +### GetNameOk + +`func (o *NugetPackageUploadResponse) GetNameOk() (*string, bool)` + +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. + +### SetName + +`func (o *NugetPackageUploadResponse) SetName(v string)` + +SetName sets Name field to given value. + +### HasName + +`func (o *NugetPackageUploadResponse) HasName() bool` + +HasName returns a boolean if a field has been set. + +### GetNamespace + +`func (o *NugetPackageUploadResponse) GetNamespace() string` + +GetNamespace returns the Namespace field if non-nil, zero value otherwise. + +### GetNamespaceOk + +`func (o *NugetPackageUploadResponse) GetNamespaceOk() (*string, bool)` + +GetNamespaceOk returns a tuple with the Namespace field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetNamespace + +`func (o *NugetPackageUploadResponse) SetNamespace(v string)` + +SetNamespace sets Namespace field to given value. + +### HasNamespace + +`func (o *NugetPackageUploadResponse) HasNamespace() bool` + +HasNamespace returns a boolean if a field has been set. + +### GetNamespaceUrl + +`func (o *NugetPackageUploadResponse) GetNamespaceUrl() string` + +GetNamespaceUrl returns the NamespaceUrl field if non-nil, zero value otherwise. + +### GetNamespaceUrlOk + +`func (o *NugetPackageUploadResponse) GetNamespaceUrlOk() (*string, bool)` + +GetNamespaceUrlOk returns a tuple with the NamespaceUrl field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetNamespaceUrl + +`func (o *NugetPackageUploadResponse) SetNamespaceUrl(v string)` + +SetNamespaceUrl sets NamespaceUrl field to given value. + +### HasNamespaceUrl + +`func (o *NugetPackageUploadResponse) HasNamespaceUrl() bool` + +HasNamespaceUrl returns a boolean if a field has been set. + +### GetNumFiles + +`func (o *NugetPackageUploadResponse) GetNumFiles() int64` + +GetNumFiles returns the NumFiles field if non-nil, zero value otherwise. + +### GetNumFilesOk + +`func (o *NugetPackageUploadResponse) GetNumFilesOk() (*int64, bool)` + +GetNumFilesOk returns a tuple with the NumFiles field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetNumFiles + +`func (o *NugetPackageUploadResponse) SetNumFiles(v int64)` + +SetNumFiles sets NumFiles field to given value. + +### HasNumFiles + +`func (o *NugetPackageUploadResponse) HasNumFiles() bool` + +HasNumFiles returns a boolean if a field has been set. + +### GetOriginRepository + +`func (o *NugetPackageUploadResponse) GetOriginRepository() string` + +GetOriginRepository returns the OriginRepository field if non-nil, zero value otherwise. + +### GetOriginRepositoryOk + +`func (o *NugetPackageUploadResponse) GetOriginRepositoryOk() (*string, bool)` + +GetOriginRepositoryOk returns a tuple with the OriginRepository field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetOriginRepository + +`func (o *NugetPackageUploadResponse) SetOriginRepository(v string)` + +SetOriginRepository sets OriginRepository field to given value. + +### HasOriginRepository + +`func (o *NugetPackageUploadResponse) HasOriginRepository() bool` + +HasOriginRepository returns a boolean if a field has been set. + +### GetOriginRepositoryUrl + +`func (o *NugetPackageUploadResponse) GetOriginRepositoryUrl() string` + +GetOriginRepositoryUrl returns the OriginRepositoryUrl field if non-nil, zero value otherwise. + +### GetOriginRepositoryUrlOk + +`func (o *NugetPackageUploadResponse) GetOriginRepositoryUrlOk() (*string, bool)` + +GetOriginRepositoryUrlOk returns a tuple with the OriginRepositoryUrl field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetOriginRepositoryUrl + +`func (o *NugetPackageUploadResponse) SetOriginRepositoryUrl(v string)` + +SetOriginRepositoryUrl sets OriginRepositoryUrl field to given value. + +### HasOriginRepositoryUrl + +`func (o *NugetPackageUploadResponse) HasOriginRepositoryUrl() bool` + +HasOriginRepositoryUrl returns a boolean if a field has been set. + +### GetPackageType + +`func (o *NugetPackageUploadResponse) GetPackageType() int64` + +GetPackageType returns the PackageType field if non-nil, zero value otherwise. + +### GetPackageTypeOk + +`func (o *NugetPackageUploadResponse) GetPackageTypeOk() (*int64, bool)` + +GetPackageTypeOk returns a tuple with the PackageType field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetPackageType + +`func (o *NugetPackageUploadResponse) SetPackageType(v int64)` + +SetPackageType sets PackageType field to given value. + +### HasPackageType + +`func (o *NugetPackageUploadResponse) HasPackageType() bool` + +HasPackageType returns a boolean if a field has been set. + +### GetRelease + +`func (o *NugetPackageUploadResponse) GetRelease() string` + +GetRelease returns the Release field if non-nil, zero value otherwise. + +### GetReleaseOk + +`func (o *NugetPackageUploadResponse) GetReleaseOk() (*string, bool)` + +GetReleaseOk returns a tuple with the Release field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetRelease + +`func (o *NugetPackageUploadResponse) SetRelease(v string)` + +SetRelease sets Release field to given value. + +### HasRelease + +`func (o *NugetPackageUploadResponse) HasRelease() bool` + +HasRelease returns a boolean if a field has been set. + +### GetRepository + +`func (o *NugetPackageUploadResponse) GetRepository() string` + +GetRepository returns the Repository field if non-nil, zero value otherwise. + +### GetRepositoryOk + +`func (o *NugetPackageUploadResponse) GetRepositoryOk() (*string, bool)` + +GetRepositoryOk returns a tuple with the Repository field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetRepository + +`func (o *NugetPackageUploadResponse) SetRepository(v string)` + +SetRepository sets Repository field to given value. + +### HasRepository + +`func (o *NugetPackageUploadResponse) HasRepository() bool` + +HasRepository returns a boolean if a field has been set. + +### GetRepositoryUrl + +`func (o *NugetPackageUploadResponse) GetRepositoryUrl() string` + +GetRepositoryUrl returns the RepositoryUrl field if non-nil, zero value otherwise. + +### GetRepositoryUrlOk + +`func (o *NugetPackageUploadResponse) GetRepositoryUrlOk() (*string, bool)` + +GetRepositoryUrlOk returns a tuple with the RepositoryUrl field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetRepositoryUrl + +`func (o *NugetPackageUploadResponse) SetRepositoryUrl(v string)` + +SetRepositoryUrl sets RepositoryUrl field to given value. + +### HasRepositoryUrl + +`func (o *NugetPackageUploadResponse) HasRepositoryUrl() bool` + +HasRepositoryUrl returns a boolean if a field has been set. + +### GetSecurityScanCompletedAt + +`func (o *NugetPackageUploadResponse) GetSecurityScanCompletedAt() time.Time` + +GetSecurityScanCompletedAt returns the SecurityScanCompletedAt field if non-nil, zero value otherwise. + +### GetSecurityScanCompletedAtOk + +`func (o *NugetPackageUploadResponse) GetSecurityScanCompletedAtOk() (*time.Time, bool)` + +GetSecurityScanCompletedAtOk returns a tuple with the SecurityScanCompletedAt field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetSecurityScanCompletedAt + +`func (o *NugetPackageUploadResponse) SetSecurityScanCompletedAt(v time.Time)` + +SetSecurityScanCompletedAt sets SecurityScanCompletedAt field to given value. + +### HasSecurityScanCompletedAt + +`func (o *NugetPackageUploadResponse) HasSecurityScanCompletedAt() bool` + +HasSecurityScanCompletedAt returns a boolean if a field has been set. + +### GetSecurityScanStartedAt + +`func (o *NugetPackageUploadResponse) GetSecurityScanStartedAt() time.Time` + +GetSecurityScanStartedAt returns the SecurityScanStartedAt field if non-nil, zero value otherwise. + +### GetSecurityScanStartedAtOk + +`func (o *NugetPackageUploadResponse) GetSecurityScanStartedAtOk() (*time.Time, bool)` + +GetSecurityScanStartedAtOk returns a tuple with the SecurityScanStartedAt field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetSecurityScanStartedAt + +`func (o *NugetPackageUploadResponse) SetSecurityScanStartedAt(v time.Time)` + +SetSecurityScanStartedAt sets SecurityScanStartedAt field to given value. + +### HasSecurityScanStartedAt + +`func (o *NugetPackageUploadResponse) HasSecurityScanStartedAt() bool` + +HasSecurityScanStartedAt returns a boolean if a field has been set. + +### GetSecurityScanStatus + +`func (o *NugetPackageUploadResponse) GetSecurityScanStatus() string` + +GetSecurityScanStatus returns the SecurityScanStatus field if non-nil, zero value otherwise. + +### GetSecurityScanStatusOk + +`func (o *NugetPackageUploadResponse) GetSecurityScanStatusOk() (*string, bool)` + +GetSecurityScanStatusOk returns a tuple with the SecurityScanStatus field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetSecurityScanStatus + +`func (o *NugetPackageUploadResponse) SetSecurityScanStatus(v string)` + +SetSecurityScanStatus sets SecurityScanStatus field to given value. + +### HasSecurityScanStatus + +`func (o *NugetPackageUploadResponse) HasSecurityScanStatus() bool` + +HasSecurityScanStatus returns a boolean if a field has been set. + +### SetSecurityScanStatusNil + +`func (o *NugetPackageUploadResponse) SetSecurityScanStatusNil(b bool)` + + SetSecurityScanStatusNil sets the value for SecurityScanStatus to be an explicit nil + +### UnsetSecurityScanStatus +`func (o *NugetPackageUploadResponse) UnsetSecurityScanStatus()` + +UnsetSecurityScanStatus ensures that no value is present for SecurityScanStatus, not even an explicit nil +### GetSecurityScanStatusUpdatedAt + +`func (o *NugetPackageUploadResponse) GetSecurityScanStatusUpdatedAt() time.Time` + +GetSecurityScanStatusUpdatedAt returns the SecurityScanStatusUpdatedAt field if non-nil, zero value otherwise. + +### GetSecurityScanStatusUpdatedAtOk + +`func (o *NugetPackageUploadResponse) GetSecurityScanStatusUpdatedAtOk() (*time.Time, bool)` + +GetSecurityScanStatusUpdatedAtOk returns a tuple with the SecurityScanStatusUpdatedAt field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetSecurityScanStatusUpdatedAt + +`func (o *NugetPackageUploadResponse) SetSecurityScanStatusUpdatedAt(v time.Time)` + +SetSecurityScanStatusUpdatedAt sets SecurityScanStatusUpdatedAt field to given value. + +### HasSecurityScanStatusUpdatedAt + +`func (o *NugetPackageUploadResponse) HasSecurityScanStatusUpdatedAt() bool` + +HasSecurityScanStatusUpdatedAt returns a boolean if a field has been set. + +### GetSelfHtmlUrl + +`func (o *NugetPackageUploadResponse) GetSelfHtmlUrl() string` + +GetSelfHtmlUrl returns the SelfHtmlUrl field if non-nil, zero value otherwise. + +### GetSelfHtmlUrlOk + +`func (o *NugetPackageUploadResponse) GetSelfHtmlUrlOk() (*string, bool)` + +GetSelfHtmlUrlOk returns a tuple with the SelfHtmlUrl field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetSelfHtmlUrl + +`func (o *NugetPackageUploadResponse) SetSelfHtmlUrl(v string)` + +SetSelfHtmlUrl sets SelfHtmlUrl field to given value. + +### HasSelfHtmlUrl + +`func (o *NugetPackageUploadResponse) HasSelfHtmlUrl() bool` + +HasSelfHtmlUrl returns a boolean if a field has been set. + +### GetSelfUrl + +`func (o *NugetPackageUploadResponse) GetSelfUrl() string` + +GetSelfUrl returns the SelfUrl field if non-nil, zero value otherwise. + +### GetSelfUrlOk + +`func (o *NugetPackageUploadResponse) GetSelfUrlOk() (*string, bool)` + +GetSelfUrlOk returns a tuple with the SelfUrl field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetSelfUrl + +`func (o *NugetPackageUploadResponse) SetSelfUrl(v string)` + +SetSelfUrl sets SelfUrl field to given value. + +### HasSelfUrl + +`func (o *NugetPackageUploadResponse) HasSelfUrl() bool` + +HasSelfUrl returns a boolean if a field has been set. + +### GetSignatureUrl + +`func (o *NugetPackageUploadResponse) GetSignatureUrl() string` + +GetSignatureUrl returns the SignatureUrl field if non-nil, zero value otherwise. + +### GetSignatureUrlOk + +`func (o *NugetPackageUploadResponse) GetSignatureUrlOk() (*string, bool)` + +GetSignatureUrlOk returns a tuple with the SignatureUrl field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetSignatureUrl + +`func (o *NugetPackageUploadResponse) SetSignatureUrl(v string)` + +SetSignatureUrl sets SignatureUrl field to given value. + +### HasSignatureUrl + +`func (o *NugetPackageUploadResponse) HasSignatureUrl() bool` + +HasSignatureUrl returns a boolean if a field has been set. + +### SetSignatureUrlNil + +`func (o *NugetPackageUploadResponse) SetSignatureUrlNil(b bool)` + + SetSignatureUrlNil sets the value for SignatureUrl to be an explicit nil + +### UnsetSignatureUrl +`func (o *NugetPackageUploadResponse) UnsetSignatureUrl()` + +UnsetSignatureUrl ensures that no value is present for SignatureUrl, not even an explicit nil +### GetSize + +`func (o *NugetPackageUploadResponse) GetSize() int64` + +GetSize returns the Size field if non-nil, zero value otherwise. + +### GetSizeOk + +`func (o *NugetPackageUploadResponse) GetSizeOk() (*int64, bool)` + +GetSizeOk returns a tuple with the Size field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetSize + +`func (o *NugetPackageUploadResponse) SetSize(v int64)` + +SetSize sets Size field to given value. + +### HasSize + +`func (o *NugetPackageUploadResponse) HasSize() bool` + +HasSize returns a boolean if a field has been set. + +### GetSlug + +`func (o *NugetPackageUploadResponse) GetSlug() string` + +GetSlug returns the Slug field if non-nil, zero value otherwise. + +### GetSlugOk + +`func (o *NugetPackageUploadResponse) GetSlugOk() (*string, bool)` + +GetSlugOk returns a tuple with the Slug field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetSlug + +`func (o *NugetPackageUploadResponse) SetSlug(v string)` + +SetSlug sets Slug field to given value. + +### HasSlug + +`func (o *NugetPackageUploadResponse) HasSlug() bool` + +HasSlug returns a boolean if a field has been set. + +### GetSlugPerm + +`func (o *NugetPackageUploadResponse) GetSlugPerm() string` + +GetSlugPerm returns the SlugPerm field if non-nil, zero value otherwise. + +### GetSlugPermOk + +`func (o *NugetPackageUploadResponse) GetSlugPermOk() (*string, bool)` + +GetSlugPermOk returns a tuple with the SlugPerm field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetSlugPerm + +`func (o *NugetPackageUploadResponse) SetSlugPerm(v string)` + +SetSlugPerm sets SlugPerm field to given value. + +### HasSlugPerm + +`func (o *NugetPackageUploadResponse) HasSlugPerm() bool` + +HasSlugPerm returns a boolean if a field has been set. + +### GetStage + +`func (o *NugetPackageUploadResponse) GetStage() int64` + +GetStage returns the Stage field if non-nil, zero value otherwise. + +### GetStageOk + +`func (o *NugetPackageUploadResponse) GetStageOk() (*int64, bool)` + +GetStageOk returns a tuple with the Stage field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetStage + +`func (o *NugetPackageUploadResponse) SetStage(v int64)` + +SetStage sets Stage field to given value. + +### HasStage + +`func (o *NugetPackageUploadResponse) HasStage() bool` + +HasStage returns a boolean if a field has been set. + +### GetStageStr + +`func (o *NugetPackageUploadResponse) GetStageStr() string` + +GetStageStr returns the StageStr field if non-nil, zero value otherwise. + +### GetStageStrOk + +`func (o *NugetPackageUploadResponse) GetStageStrOk() (*string, bool)` + +GetStageStrOk returns a tuple with the StageStr field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetStageStr + +`func (o *NugetPackageUploadResponse) SetStageStr(v string)` + +SetStageStr sets StageStr field to given value. + +### HasStageStr + +`func (o *NugetPackageUploadResponse) HasStageStr() bool` + +HasStageStr returns a boolean if a field has been set. + +### GetStageUpdatedAt + +`func (o *NugetPackageUploadResponse) GetStageUpdatedAt() time.Time` + +GetStageUpdatedAt returns the StageUpdatedAt field if non-nil, zero value otherwise. + +### GetStageUpdatedAtOk + +`func (o *NugetPackageUploadResponse) GetStageUpdatedAtOk() (*time.Time, bool)` + +GetStageUpdatedAtOk returns a tuple with the StageUpdatedAt field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetStageUpdatedAt + +`func (o *NugetPackageUploadResponse) SetStageUpdatedAt(v time.Time)` + +SetStageUpdatedAt sets StageUpdatedAt field to given value. + +### HasStageUpdatedAt + +`func (o *NugetPackageUploadResponse) HasStageUpdatedAt() bool` + +HasStageUpdatedAt returns a boolean if a field has been set. + +### GetStatus + +`func (o *NugetPackageUploadResponse) GetStatus() int64` + +GetStatus returns the Status field if non-nil, zero value otherwise. + +### GetStatusOk + +`func (o *NugetPackageUploadResponse) GetStatusOk() (*int64, bool)` + +GetStatusOk returns a tuple with the Status field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetStatus + +`func (o *NugetPackageUploadResponse) SetStatus(v int64)` + +SetStatus sets Status field to given value. + +### HasStatus + +`func (o *NugetPackageUploadResponse) HasStatus() bool` + +HasStatus returns a boolean if a field has been set. + +### GetStatusReason + +`func (o *NugetPackageUploadResponse) GetStatusReason() string` + +GetStatusReason returns the StatusReason field if non-nil, zero value otherwise. + +### GetStatusReasonOk + +`func (o *NugetPackageUploadResponse) GetStatusReasonOk() (*string, bool)` + +GetStatusReasonOk returns a tuple with the StatusReason field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetStatusReason + +`func (o *NugetPackageUploadResponse) SetStatusReason(v string)` + +SetStatusReason sets StatusReason field to given value. + +### HasStatusReason + +`func (o *NugetPackageUploadResponse) HasStatusReason() bool` + +HasStatusReason returns a boolean if a field has been set. + +### GetStatusStr + +`func (o *NugetPackageUploadResponse) GetStatusStr() string` + +GetStatusStr returns the StatusStr field if non-nil, zero value otherwise. + +### GetStatusStrOk + +`func (o *NugetPackageUploadResponse) GetStatusStrOk() (*string, bool)` + +GetStatusStrOk returns a tuple with the StatusStr field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetStatusStr + +`func (o *NugetPackageUploadResponse) SetStatusStr(v string)` + +SetStatusStr sets StatusStr field to given value. + +### HasStatusStr + +`func (o *NugetPackageUploadResponse) HasStatusStr() bool` + +HasStatusStr returns a boolean if a field has been set. + +### GetStatusUpdatedAt + +`func (o *NugetPackageUploadResponse) GetStatusUpdatedAt() time.Time` + +GetStatusUpdatedAt returns the StatusUpdatedAt field if non-nil, zero value otherwise. + +### GetStatusUpdatedAtOk + +`func (o *NugetPackageUploadResponse) GetStatusUpdatedAtOk() (*time.Time, bool)` + +GetStatusUpdatedAtOk returns a tuple with the StatusUpdatedAt field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetStatusUpdatedAt + +`func (o *NugetPackageUploadResponse) SetStatusUpdatedAt(v time.Time)` + +SetStatusUpdatedAt sets StatusUpdatedAt field to given value. + +### HasStatusUpdatedAt + +`func (o *NugetPackageUploadResponse) HasStatusUpdatedAt() bool` + +HasStatusUpdatedAt returns a boolean if a field has been set. + +### GetStatusUrl + +`func (o *NugetPackageUploadResponse) GetStatusUrl() string` + +GetStatusUrl returns the StatusUrl field if non-nil, zero value otherwise. + +### GetStatusUrlOk + +`func (o *NugetPackageUploadResponse) GetStatusUrlOk() (*string, bool)` + +GetStatusUrlOk returns a tuple with the StatusUrl field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetStatusUrl + +`func (o *NugetPackageUploadResponse) SetStatusUrl(v string)` + +SetStatusUrl sets StatusUrl field to given value. + +### HasStatusUrl + +`func (o *NugetPackageUploadResponse) HasStatusUrl() bool` + +HasStatusUrl returns a boolean if a field has been set. + +### GetSubtype + +`func (o *NugetPackageUploadResponse) GetSubtype() string` + +GetSubtype returns the Subtype field if non-nil, zero value otherwise. + +### GetSubtypeOk + +`func (o *NugetPackageUploadResponse) GetSubtypeOk() (*string, bool)` + +GetSubtypeOk returns a tuple with the Subtype field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetSubtype + +`func (o *NugetPackageUploadResponse) SetSubtype(v string)` + +SetSubtype sets Subtype field to given value. + +### HasSubtype + +`func (o *NugetPackageUploadResponse) HasSubtype() bool` + +HasSubtype returns a boolean if a field has been set. + +### GetSummary + +`func (o *NugetPackageUploadResponse) GetSummary() string` + +GetSummary returns the Summary field if non-nil, zero value otherwise. + +### GetSummaryOk + +`func (o *NugetPackageUploadResponse) GetSummaryOk() (*string, bool)` + +GetSummaryOk returns a tuple with the Summary field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetSummary + +`func (o *NugetPackageUploadResponse) SetSummary(v string)` + +SetSummary sets Summary field to given value. + +### HasSummary + +`func (o *NugetPackageUploadResponse) HasSummary() bool` + +HasSummary returns a boolean if a field has been set. + +### GetSyncFinishedAt + +`func (o *NugetPackageUploadResponse) GetSyncFinishedAt() time.Time` + +GetSyncFinishedAt returns the SyncFinishedAt field if non-nil, zero value otherwise. + +### GetSyncFinishedAtOk + +`func (o *NugetPackageUploadResponse) GetSyncFinishedAtOk() (*time.Time, bool)` + +GetSyncFinishedAtOk returns a tuple with the SyncFinishedAt field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetSyncFinishedAt + +`func (o *NugetPackageUploadResponse) SetSyncFinishedAt(v time.Time)` + +SetSyncFinishedAt sets SyncFinishedAt field to given value. + +### HasSyncFinishedAt + +`func (o *NugetPackageUploadResponse) HasSyncFinishedAt() bool` + +HasSyncFinishedAt returns a boolean if a field has been set. + +### GetSyncProgress + +`func (o *NugetPackageUploadResponse) GetSyncProgress() int64` + +GetSyncProgress returns the SyncProgress field if non-nil, zero value otherwise. + +### GetSyncProgressOk + +`func (o *NugetPackageUploadResponse) GetSyncProgressOk() (*int64, bool)` + +GetSyncProgressOk returns a tuple with the SyncProgress field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetSyncProgress + +`func (o *NugetPackageUploadResponse) SetSyncProgress(v int64)` + +SetSyncProgress sets SyncProgress field to given value. + +### HasSyncProgress + +`func (o *NugetPackageUploadResponse) HasSyncProgress() bool` + +HasSyncProgress returns a boolean if a field has been set. + +### GetTagsImmutable + +`func (o *NugetPackageUploadResponse) GetTagsImmutable() map[string]interface{}` + +GetTagsImmutable returns the TagsImmutable field if non-nil, zero value otherwise. + +### GetTagsImmutableOk + +`func (o *NugetPackageUploadResponse) GetTagsImmutableOk() (*map[string]interface{}, bool)` + +GetTagsImmutableOk returns a tuple with the TagsImmutable field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetTagsImmutable + +`func (o *NugetPackageUploadResponse) SetTagsImmutable(v map[string]interface{})` + +SetTagsImmutable sets TagsImmutable field to given value. + +### HasTagsImmutable + +`func (o *NugetPackageUploadResponse) HasTagsImmutable() bool` + +HasTagsImmutable returns a boolean if a field has been set. + +### GetTypeDisplay + +`func (o *NugetPackageUploadResponse) GetTypeDisplay() string` + +GetTypeDisplay returns the TypeDisplay field if non-nil, zero value otherwise. + +### GetTypeDisplayOk + +`func (o *NugetPackageUploadResponse) GetTypeDisplayOk() (*string, bool)` + +GetTypeDisplayOk returns a tuple with the TypeDisplay field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetTypeDisplay + +`func (o *NugetPackageUploadResponse) SetTypeDisplay(v string)` + +SetTypeDisplay sets TypeDisplay field to given value. + +### HasTypeDisplay + +`func (o *NugetPackageUploadResponse) HasTypeDisplay() bool` + +HasTypeDisplay returns a boolean if a field has been set. + +### GetUploadedAt + +`func (o *NugetPackageUploadResponse) GetUploadedAt() time.Time` + +GetUploadedAt returns the UploadedAt field if non-nil, zero value otherwise. + +### GetUploadedAtOk + +`func (o *NugetPackageUploadResponse) GetUploadedAtOk() (*time.Time, bool)` + +GetUploadedAtOk returns a tuple with the UploadedAt field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetUploadedAt + +`func (o *NugetPackageUploadResponse) SetUploadedAt(v time.Time)` + +SetUploadedAt sets UploadedAt field to given value. + +### HasUploadedAt + +`func (o *NugetPackageUploadResponse) HasUploadedAt() bool` + +HasUploadedAt returns a boolean if a field has been set. + +### GetUploader + +`func (o *NugetPackageUploadResponse) GetUploader() string` + +GetUploader returns the Uploader field if non-nil, zero value otherwise. + +### GetUploaderOk + +`func (o *NugetPackageUploadResponse) GetUploaderOk() (*string, bool)` + +GetUploaderOk returns a tuple with the Uploader field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetUploader + +`func (o *NugetPackageUploadResponse) SetUploader(v string)` + +SetUploader sets Uploader field to given value. + +### HasUploader + +`func (o *NugetPackageUploadResponse) HasUploader() bool` + +HasUploader returns a boolean if a field has been set. + +### GetUploaderUrl + +`func (o *NugetPackageUploadResponse) GetUploaderUrl() string` + +GetUploaderUrl returns the UploaderUrl field if non-nil, zero value otherwise. + +### GetUploaderUrlOk + +`func (o *NugetPackageUploadResponse) GetUploaderUrlOk() (*string, bool)` + +GetUploaderUrlOk returns a tuple with the UploaderUrl field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetUploaderUrl + +`func (o *NugetPackageUploadResponse) SetUploaderUrl(v string)` + +SetUploaderUrl sets UploaderUrl field to given value. + +### HasUploaderUrl + +`func (o *NugetPackageUploadResponse) HasUploaderUrl() bool` + +HasUploaderUrl returns a boolean if a field has been set. + +### GetVersion + +`func (o *NugetPackageUploadResponse) GetVersion() string` + +GetVersion returns the Version field if non-nil, zero value otherwise. + +### GetVersionOk + +`func (o *NugetPackageUploadResponse) GetVersionOk() (*string, bool)` + +GetVersionOk returns a tuple with the Version field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetVersion + +`func (o *NugetPackageUploadResponse) SetVersion(v string)` + +SetVersion sets Version field to given value. + +### HasVersion + +`func (o *NugetPackageUploadResponse) HasVersion() bool` + +HasVersion returns a boolean if a field has been set. + +### GetVersionOrig + +`func (o *NugetPackageUploadResponse) GetVersionOrig() string` + +GetVersionOrig returns the VersionOrig field if non-nil, zero value otherwise. + +### GetVersionOrigOk + +`func (o *NugetPackageUploadResponse) GetVersionOrigOk() (*string, bool)` + +GetVersionOrigOk returns a tuple with the VersionOrig field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetVersionOrig + +`func (o *NugetPackageUploadResponse) SetVersionOrig(v string)` + +SetVersionOrig sets VersionOrig field to given value. + +### HasVersionOrig + +`func (o *NugetPackageUploadResponse) HasVersionOrig() bool` + +HasVersionOrig returns a boolean if a field has been set. + +### GetVulnerabilityScanResultsUrl + +`func (o *NugetPackageUploadResponse) GetVulnerabilityScanResultsUrl() string` + +GetVulnerabilityScanResultsUrl returns the VulnerabilityScanResultsUrl field if non-nil, zero value otherwise. + +### GetVulnerabilityScanResultsUrlOk + +`func (o *NugetPackageUploadResponse) GetVulnerabilityScanResultsUrlOk() (*string, bool)` + +GetVulnerabilityScanResultsUrlOk returns a tuple with the VulnerabilityScanResultsUrl field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetVulnerabilityScanResultsUrl + +`func (o *NugetPackageUploadResponse) SetVulnerabilityScanResultsUrl(v string)` + +SetVulnerabilityScanResultsUrl sets VulnerabilityScanResultsUrl field to given value. + +### HasVulnerabilityScanResultsUrl + +`func (o *NugetPackageUploadResponse) HasVulnerabilityScanResultsUrl() bool` + +HasVulnerabilityScanResultsUrl 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/docs/OrgsSamlGroupSyncCreate.md b/docs/OrganizationGroupSyncRequest.md similarity index 52% rename from docs/OrgsSamlGroupSyncCreate.md rename to docs/OrganizationGroupSyncRequest.md index 6ddabfc9..6cf46d57 100644 --- a/docs/OrgsSamlGroupSyncCreate.md +++ b/docs/OrganizationGroupSyncRequest.md @@ -1,135 +1,135 @@ -# OrgsSamlGroupSyncCreate +# OrganizationGroupSyncRequest ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**IdpKey** | **string** | None | -**IdpValue** | **string** | None | -**Organization** | **string** | None | -**Role** | Pointer to **string** | User role within the team. A `manager` is capable of adding/removing others to/from the team, and can set the role of other users and other settings pertaining to the team. A 'member' is a normal user that inherits the settings and privileges assigned to the team. | [optional] -**Team** | **string** | None | +**IdpKey** | **string** | | +**IdpValue** | **string** | | +**Organization** | **string** | | +**Role** | Pointer to **string** | User role within the team. A `manager` is capable of adding/removing others to/from the team, and can set the role of other users and other settings pertaining to the team. A 'member' is a normal user that inherits the settings and privileges assigned to the team. | [optional] [default to "Member"] +**Team** | **string** | | ## Methods -### NewOrgsSamlGroupSyncCreate +### NewOrganizationGroupSyncRequest -`func NewOrgsSamlGroupSyncCreate(idpKey string, idpValue string, organization string, team string, ) *OrgsSamlGroupSyncCreate` +`func NewOrganizationGroupSyncRequest(idpKey string, idpValue string, organization string, team string, ) *OrganizationGroupSyncRequest` -NewOrgsSamlGroupSyncCreate instantiates a new OrgsSamlGroupSyncCreate object +NewOrganizationGroupSyncRequest instantiates a new OrganizationGroupSyncRequest object 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 -### NewOrgsSamlGroupSyncCreateWithDefaults +### NewOrganizationGroupSyncRequestWithDefaults -`func NewOrgsSamlGroupSyncCreateWithDefaults() *OrgsSamlGroupSyncCreate` +`func NewOrganizationGroupSyncRequestWithDefaults() *OrganizationGroupSyncRequest` -NewOrgsSamlGroupSyncCreateWithDefaults instantiates a new OrgsSamlGroupSyncCreate object +NewOrganizationGroupSyncRequestWithDefaults instantiates a new OrganizationGroupSyncRequest object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set ### GetIdpKey -`func (o *OrgsSamlGroupSyncCreate) GetIdpKey() string` +`func (o *OrganizationGroupSyncRequest) GetIdpKey() string` GetIdpKey returns the IdpKey field if non-nil, zero value otherwise. ### GetIdpKeyOk -`func (o *OrgsSamlGroupSyncCreate) GetIdpKeyOk() (*string, bool)` +`func (o *OrganizationGroupSyncRequest) GetIdpKeyOk() (*string, bool)` GetIdpKeyOk returns a tuple with the IdpKey field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetIdpKey -`func (o *OrgsSamlGroupSyncCreate) SetIdpKey(v string)` +`func (o *OrganizationGroupSyncRequest) SetIdpKey(v string)` SetIdpKey sets IdpKey field to given value. ### GetIdpValue -`func (o *OrgsSamlGroupSyncCreate) GetIdpValue() string` +`func (o *OrganizationGroupSyncRequest) GetIdpValue() string` GetIdpValue returns the IdpValue field if non-nil, zero value otherwise. ### GetIdpValueOk -`func (o *OrgsSamlGroupSyncCreate) GetIdpValueOk() (*string, bool)` +`func (o *OrganizationGroupSyncRequest) GetIdpValueOk() (*string, bool)` GetIdpValueOk returns a tuple with the IdpValue field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetIdpValue -`func (o *OrgsSamlGroupSyncCreate) SetIdpValue(v string)` +`func (o *OrganizationGroupSyncRequest) SetIdpValue(v string)` SetIdpValue sets IdpValue field to given value. ### GetOrganization -`func (o *OrgsSamlGroupSyncCreate) GetOrganization() string` +`func (o *OrganizationGroupSyncRequest) GetOrganization() string` GetOrganization returns the Organization field if non-nil, zero value otherwise. ### GetOrganizationOk -`func (o *OrgsSamlGroupSyncCreate) GetOrganizationOk() (*string, bool)` +`func (o *OrganizationGroupSyncRequest) GetOrganizationOk() (*string, bool)` GetOrganizationOk returns a tuple with the Organization field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetOrganization -`func (o *OrgsSamlGroupSyncCreate) SetOrganization(v string)` +`func (o *OrganizationGroupSyncRequest) SetOrganization(v string)` SetOrganization sets Organization field to given value. ### GetRole -`func (o *OrgsSamlGroupSyncCreate) GetRole() string` +`func (o *OrganizationGroupSyncRequest) GetRole() string` GetRole returns the Role field if non-nil, zero value otherwise. ### GetRoleOk -`func (o *OrgsSamlGroupSyncCreate) GetRoleOk() (*string, bool)` +`func (o *OrganizationGroupSyncRequest) GetRoleOk() (*string, bool)` GetRoleOk returns a tuple with the Role field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetRole -`func (o *OrgsSamlGroupSyncCreate) SetRole(v string)` +`func (o *OrganizationGroupSyncRequest) SetRole(v string)` SetRole sets Role field to given value. ### HasRole -`func (o *OrgsSamlGroupSyncCreate) HasRole() bool` +`func (o *OrganizationGroupSyncRequest) HasRole() bool` HasRole returns a boolean if a field has been set. ### GetTeam -`func (o *OrgsSamlGroupSyncCreate) GetTeam() string` +`func (o *OrganizationGroupSyncRequest) GetTeam() string` GetTeam returns the Team field if non-nil, zero value otherwise. ### GetTeamOk -`func (o *OrgsSamlGroupSyncCreate) GetTeamOk() (*string, bool)` +`func (o *OrganizationGroupSyncRequest) GetTeamOk() (*string, bool)` GetTeamOk returns a tuple with the Team field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetTeam -`func (o *OrgsSamlGroupSyncCreate) SetTeam(v string)` +`func (o *OrganizationGroupSyncRequest) SetTeam(v string)` SetTeam sets Team field to given value. diff --git a/docs/OrganizationGroupSync.md b/docs/OrganizationGroupSyncResponse.md similarity index 54% rename from docs/OrganizationGroupSync.md rename to docs/OrganizationGroupSyncResponse.md index cbcd27e9..ffd3fa0c 100644 --- a/docs/OrganizationGroupSync.md +++ b/docs/OrganizationGroupSyncResponse.md @@ -1,4 +1,4 @@ -# OrganizationGroupSync +# OrganizationGroupSyncResponse ## Properties @@ -6,135 +6,135 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **IdpKey** | **string** | | **IdpValue** | **string** | | -**Role** | Pointer to **string** | User role within the team. A `manager` is capable of adding/removing others to/from the team, and can set the role of other users and other settings pertaining to the team. A 'member' is a normal user that inherits the settings and privileges assigned to the team. | [optional] -**SlugPerm** | Pointer to **string** | | [optional] +**Role** | Pointer to **string** | User role within the team. A `manager` is capable of adding/removing others to/from the team, and can set the role of other users and other settings pertaining to the team. A 'member' is a normal user that inherits the settings and privileges assigned to the team. | [optional] [default to "Member"] +**SlugPerm** | Pointer to **string** | | [optional] [readonly] **Team** | **string** | | ## Methods -### NewOrganizationGroupSync +### NewOrganizationGroupSyncResponse -`func NewOrganizationGroupSync(idpKey string, idpValue string, team string, ) *OrganizationGroupSync` +`func NewOrganizationGroupSyncResponse(idpKey string, idpValue string, team string, ) *OrganizationGroupSyncResponse` -NewOrganizationGroupSync instantiates a new OrganizationGroupSync object +NewOrganizationGroupSyncResponse instantiates a new OrganizationGroupSyncResponse object 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 -### NewOrganizationGroupSyncWithDefaults +### NewOrganizationGroupSyncResponseWithDefaults -`func NewOrganizationGroupSyncWithDefaults() *OrganizationGroupSync` +`func NewOrganizationGroupSyncResponseWithDefaults() *OrganizationGroupSyncResponse` -NewOrganizationGroupSyncWithDefaults instantiates a new OrganizationGroupSync object +NewOrganizationGroupSyncResponseWithDefaults instantiates a new OrganizationGroupSyncResponse object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set ### GetIdpKey -`func (o *OrganizationGroupSync) GetIdpKey() string` +`func (o *OrganizationGroupSyncResponse) GetIdpKey() string` GetIdpKey returns the IdpKey field if non-nil, zero value otherwise. ### GetIdpKeyOk -`func (o *OrganizationGroupSync) GetIdpKeyOk() (*string, bool)` +`func (o *OrganizationGroupSyncResponse) GetIdpKeyOk() (*string, bool)` GetIdpKeyOk returns a tuple with the IdpKey field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetIdpKey -`func (o *OrganizationGroupSync) SetIdpKey(v string)` +`func (o *OrganizationGroupSyncResponse) SetIdpKey(v string)` SetIdpKey sets IdpKey field to given value. ### GetIdpValue -`func (o *OrganizationGroupSync) GetIdpValue() string` +`func (o *OrganizationGroupSyncResponse) GetIdpValue() string` GetIdpValue returns the IdpValue field if non-nil, zero value otherwise. ### GetIdpValueOk -`func (o *OrganizationGroupSync) GetIdpValueOk() (*string, bool)` +`func (o *OrganizationGroupSyncResponse) GetIdpValueOk() (*string, bool)` GetIdpValueOk returns a tuple with the IdpValue field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetIdpValue -`func (o *OrganizationGroupSync) SetIdpValue(v string)` +`func (o *OrganizationGroupSyncResponse) SetIdpValue(v string)` SetIdpValue sets IdpValue field to given value. ### GetRole -`func (o *OrganizationGroupSync) GetRole() string` +`func (o *OrganizationGroupSyncResponse) GetRole() string` GetRole returns the Role field if non-nil, zero value otherwise. ### GetRoleOk -`func (o *OrganizationGroupSync) GetRoleOk() (*string, bool)` +`func (o *OrganizationGroupSyncResponse) GetRoleOk() (*string, bool)` GetRoleOk returns a tuple with the Role field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetRole -`func (o *OrganizationGroupSync) SetRole(v string)` +`func (o *OrganizationGroupSyncResponse) SetRole(v string)` SetRole sets Role field to given value. ### HasRole -`func (o *OrganizationGroupSync) HasRole() bool` +`func (o *OrganizationGroupSyncResponse) HasRole() bool` HasRole returns a boolean if a field has been set. ### GetSlugPerm -`func (o *OrganizationGroupSync) GetSlugPerm() string` +`func (o *OrganizationGroupSyncResponse) GetSlugPerm() string` GetSlugPerm returns the SlugPerm field if non-nil, zero value otherwise. ### GetSlugPermOk -`func (o *OrganizationGroupSync) GetSlugPermOk() (*string, bool)` +`func (o *OrganizationGroupSyncResponse) GetSlugPermOk() (*string, bool)` GetSlugPermOk returns a tuple with the SlugPerm field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetSlugPerm -`func (o *OrganizationGroupSync) SetSlugPerm(v string)` +`func (o *OrganizationGroupSyncResponse) SetSlugPerm(v string)` SetSlugPerm sets SlugPerm field to given value. ### HasSlugPerm -`func (o *OrganizationGroupSync) HasSlugPerm() bool` +`func (o *OrganizationGroupSyncResponse) HasSlugPerm() bool` HasSlugPerm returns a boolean if a field has been set. ### GetTeam -`func (o *OrganizationGroupSync) GetTeam() string` +`func (o *OrganizationGroupSyncResponse) GetTeam() string` GetTeam returns the Team field if non-nil, zero value otherwise. ### GetTeamOk -`func (o *OrganizationGroupSync) GetTeamOk() (*string, bool)` +`func (o *OrganizationGroupSyncResponse) GetTeamOk() (*string, bool)` GetTeamOk returns a tuple with the Team field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetTeam -`func (o *OrganizationGroupSync) SetTeam(v string)` +`func (o *OrganizationGroupSyncResponse) SetTeam(v string)` SetTeam sets Team field to given value. diff --git a/docs/OrganizationInvite.md b/docs/OrganizationInvite.md deleted file mode 100644 index fb9fe821..00000000 --- a/docs/OrganizationInvite.md +++ /dev/null @@ -1,264 +0,0 @@ -# OrganizationInvite - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**Email** | Pointer to **string** | | [optional] -**ExpiresAt** | Pointer to **string** | | [optional] -**Inviter** | Pointer to **string** | | [optional] -**InviterUrl** | Pointer to **string** | | [optional] -**Org** | Pointer to **string** | | [optional] -**Role** | Pointer to **string** | | [optional] -**SlugPerm** | Pointer to **string** | | [optional] -**User** | Pointer to **string** | | [optional] -**UserUrl** | Pointer to **string** | | [optional] - -## Methods - -### NewOrganizationInvite - -`func NewOrganizationInvite() *OrganizationInvite` - -NewOrganizationInvite instantiates a new OrganizationInvite object -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 - -### NewOrganizationInviteWithDefaults - -`func NewOrganizationInviteWithDefaults() *OrganizationInvite` - -NewOrganizationInviteWithDefaults instantiates a new OrganizationInvite object -This constructor will only assign default values to properties that have it defined, -but it doesn't guarantee that properties required by API are set - -### GetEmail - -`func (o *OrganizationInvite) GetEmail() string` - -GetEmail returns the Email field if non-nil, zero value otherwise. - -### GetEmailOk - -`func (o *OrganizationInvite) GetEmailOk() (*string, bool)` - -GetEmailOk returns a tuple with the Email field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetEmail - -`func (o *OrganizationInvite) SetEmail(v string)` - -SetEmail sets Email field to given value. - -### HasEmail - -`func (o *OrganizationInvite) HasEmail() bool` - -HasEmail returns a boolean if a field has been set. - -### GetExpiresAt - -`func (o *OrganizationInvite) GetExpiresAt() string` - -GetExpiresAt returns the ExpiresAt field if non-nil, zero value otherwise. - -### GetExpiresAtOk - -`func (o *OrganizationInvite) GetExpiresAtOk() (*string, bool)` - -GetExpiresAtOk returns a tuple with the ExpiresAt field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetExpiresAt - -`func (o *OrganizationInvite) SetExpiresAt(v string)` - -SetExpiresAt sets ExpiresAt field to given value. - -### HasExpiresAt - -`func (o *OrganizationInvite) HasExpiresAt() bool` - -HasExpiresAt returns a boolean if a field has been set. - -### GetInviter - -`func (o *OrganizationInvite) GetInviter() string` - -GetInviter returns the Inviter field if non-nil, zero value otherwise. - -### GetInviterOk - -`func (o *OrganizationInvite) GetInviterOk() (*string, bool)` - -GetInviterOk returns a tuple with the Inviter field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetInviter - -`func (o *OrganizationInvite) SetInviter(v string)` - -SetInviter sets Inviter field to given value. - -### HasInviter - -`func (o *OrganizationInvite) HasInviter() bool` - -HasInviter returns a boolean if a field has been set. - -### GetInviterUrl - -`func (o *OrganizationInvite) GetInviterUrl() string` - -GetInviterUrl returns the InviterUrl field if non-nil, zero value otherwise. - -### GetInviterUrlOk - -`func (o *OrganizationInvite) GetInviterUrlOk() (*string, bool)` - -GetInviterUrlOk returns a tuple with the InviterUrl field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetInviterUrl - -`func (o *OrganizationInvite) SetInviterUrl(v string)` - -SetInviterUrl sets InviterUrl field to given value. - -### HasInviterUrl - -`func (o *OrganizationInvite) HasInviterUrl() bool` - -HasInviterUrl returns a boolean if a field has been set. - -### GetOrg - -`func (o *OrganizationInvite) GetOrg() string` - -GetOrg returns the Org field if non-nil, zero value otherwise. - -### GetOrgOk - -`func (o *OrganizationInvite) GetOrgOk() (*string, bool)` - -GetOrgOk returns a tuple with the Org field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetOrg - -`func (o *OrganizationInvite) SetOrg(v string)` - -SetOrg sets Org field to given value. - -### HasOrg - -`func (o *OrganizationInvite) HasOrg() bool` - -HasOrg returns a boolean if a field has been set. - -### GetRole - -`func (o *OrganizationInvite) GetRole() string` - -GetRole returns the Role field if non-nil, zero value otherwise. - -### GetRoleOk - -`func (o *OrganizationInvite) GetRoleOk() (*string, bool)` - -GetRoleOk returns a tuple with the Role field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetRole - -`func (o *OrganizationInvite) SetRole(v string)` - -SetRole sets Role field to given value. - -### HasRole - -`func (o *OrganizationInvite) HasRole() bool` - -HasRole returns a boolean if a field has been set. - -### GetSlugPerm - -`func (o *OrganizationInvite) GetSlugPerm() string` - -GetSlugPerm returns the SlugPerm field if non-nil, zero value otherwise. - -### GetSlugPermOk - -`func (o *OrganizationInvite) GetSlugPermOk() (*string, bool)` - -GetSlugPermOk returns a tuple with the SlugPerm field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetSlugPerm - -`func (o *OrganizationInvite) SetSlugPerm(v string)` - -SetSlugPerm sets SlugPerm field to given value. - -### HasSlugPerm - -`func (o *OrganizationInvite) HasSlugPerm() bool` - -HasSlugPerm returns a boolean if a field has been set. - -### GetUser - -`func (o *OrganizationInvite) GetUser() string` - -GetUser returns the User field if non-nil, zero value otherwise. - -### GetUserOk - -`func (o *OrganizationInvite) GetUserOk() (*string, bool)` - -GetUserOk returns a tuple with the User field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetUser - -`func (o *OrganizationInvite) SetUser(v string)` - -SetUser sets User field to given value. - -### HasUser - -`func (o *OrganizationInvite) HasUser() bool` - -HasUser returns a boolean if a field has been set. - -### GetUserUrl - -`func (o *OrganizationInvite) GetUserUrl() string` - -GetUserUrl returns the UserUrl field if non-nil, zero value otherwise. - -### GetUserUrlOk - -`func (o *OrganizationInvite) GetUserUrlOk() (*string, bool)` - -GetUserUrlOk returns a tuple with the UserUrl field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetUserUrl - -`func (o *OrganizationInvite) SetUserUrl(v string)` - -SetUserUrl sets UserUrl field to given value. - -### HasUserUrl - -`func (o *OrganizationInvite) HasUserUrl() bool` - -HasUserUrl 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/docs/OrganizationInviteExtendResponse.md b/docs/OrganizationInviteExtendResponse.md new file mode 100644 index 00000000..a57d2966 --- /dev/null +++ b/docs/OrganizationInviteExtendResponse.md @@ -0,0 +1,284 @@ +# OrganizationInviteExtendResponse + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Email** | Pointer to **string** | The email of the user to be invited. | [optional] +**ExpiresAt** | Pointer to **time.Time** | | [optional] [readonly] +**Inviter** | Pointer to **string** | | [optional] [readonly] +**InviterUrl** | Pointer to **NullableString** | | [optional] [readonly] +**Org** | Pointer to **string** | | [optional] [readonly] +**Role** | Pointer to **string** | The role to be assigned to the invited user. | [optional] [default to "Member"] +**SlugPerm** | Pointer to **string** | The slug_perm of the invite to be extended. | [optional] [readonly] +**User** | Pointer to **string** | The slug of the user to be invited. | [optional] +**UserUrl** | Pointer to **NullableString** | | [optional] [readonly] + +## Methods + +### NewOrganizationInviteExtendResponse + +`func NewOrganizationInviteExtendResponse() *OrganizationInviteExtendResponse` + +NewOrganizationInviteExtendResponse instantiates a new OrganizationInviteExtendResponse object +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 + +### NewOrganizationInviteExtendResponseWithDefaults + +`func NewOrganizationInviteExtendResponseWithDefaults() *OrganizationInviteExtendResponse` + +NewOrganizationInviteExtendResponseWithDefaults instantiates a new OrganizationInviteExtendResponse object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetEmail + +`func (o *OrganizationInviteExtendResponse) GetEmail() string` + +GetEmail returns the Email field if non-nil, zero value otherwise. + +### GetEmailOk + +`func (o *OrganizationInviteExtendResponse) GetEmailOk() (*string, bool)` + +GetEmailOk returns a tuple with the Email field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetEmail + +`func (o *OrganizationInviteExtendResponse) SetEmail(v string)` + +SetEmail sets Email field to given value. + +### HasEmail + +`func (o *OrganizationInviteExtendResponse) HasEmail() bool` + +HasEmail returns a boolean if a field has been set. + +### GetExpiresAt + +`func (o *OrganizationInviteExtendResponse) GetExpiresAt() time.Time` + +GetExpiresAt returns the ExpiresAt field if non-nil, zero value otherwise. + +### GetExpiresAtOk + +`func (o *OrganizationInviteExtendResponse) GetExpiresAtOk() (*time.Time, bool)` + +GetExpiresAtOk returns a tuple with the ExpiresAt field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetExpiresAt + +`func (o *OrganizationInviteExtendResponse) SetExpiresAt(v time.Time)` + +SetExpiresAt sets ExpiresAt field to given value. + +### HasExpiresAt + +`func (o *OrganizationInviteExtendResponse) HasExpiresAt() bool` + +HasExpiresAt returns a boolean if a field has been set. + +### GetInviter + +`func (o *OrganizationInviteExtendResponse) GetInviter() string` + +GetInviter returns the Inviter field if non-nil, zero value otherwise. + +### GetInviterOk + +`func (o *OrganizationInviteExtendResponse) GetInviterOk() (*string, bool)` + +GetInviterOk returns a tuple with the Inviter field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetInviter + +`func (o *OrganizationInviteExtendResponse) SetInviter(v string)` + +SetInviter sets Inviter field to given value. + +### HasInviter + +`func (o *OrganizationInviteExtendResponse) HasInviter() bool` + +HasInviter returns a boolean if a field has been set. + +### GetInviterUrl + +`func (o *OrganizationInviteExtendResponse) GetInviterUrl() string` + +GetInviterUrl returns the InviterUrl field if non-nil, zero value otherwise. + +### GetInviterUrlOk + +`func (o *OrganizationInviteExtendResponse) GetInviterUrlOk() (*string, bool)` + +GetInviterUrlOk returns a tuple with the InviterUrl field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetInviterUrl + +`func (o *OrganizationInviteExtendResponse) SetInviterUrl(v string)` + +SetInviterUrl sets InviterUrl field to given value. + +### HasInviterUrl + +`func (o *OrganizationInviteExtendResponse) HasInviterUrl() bool` + +HasInviterUrl returns a boolean if a field has been set. + +### SetInviterUrlNil + +`func (o *OrganizationInviteExtendResponse) SetInviterUrlNil(b bool)` + + SetInviterUrlNil sets the value for InviterUrl to be an explicit nil + +### UnsetInviterUrl +`func (o *OrganizationInviteExtendResponse) UnsetInviterUrl()` + +UnsetInviterUrl ensures that no value is present for InviterUrl, not even an explicit nil +### GetOrg + +`func (o *OrganizationInviteExtendResponse) GetOrg() string` + +GetOrg returns the Org field if non-nil, zero value otherwise. + +### GetOrgOk + +`func (o *OrganizationInviteExtendResponse) GetOrgOk() (*string, bool)` + +GetOrgOk returns a tuple with the Org field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetOrg + +`func (o *OrganizationInviteExtendResponse) SetOrg(v string)` + +SetOrg sets Org field to given value. + +### HasOrg + +`func (o *OrganizationInviteExtendResponse) HasOrg() bool` + +HasOrg returns a boolean if a field has been set. + +### GetRole + +`func (o *OrganizationInviteExtendResponse) GetRole() string` + +GetRole returns the Role field if non-nil, zero value otherwise. + +### GetRoleOk + +`func (o *OrganizationInviteExtendResponse) GetRoleOk() (*string, bool)` + +GetRoleOk returns a tuple with the Role field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetRole + +`func (o *OrganizationInviteExtendResponse) SetRole(v string)` + +SetRole sets Role field to given value. + +### HasRole + +`func (o *OrganizationInviteExtendResponse) HasRole() bool` + +HasRole returns a boolean if a field has been set. + +### GetSlugPerm + +`func (o *OrganizationInviteExtendResponse) GetSlugPerm() string` + +GetSlugPerm returns the SlugPerm field if non-nil, zero value otherwise. + +### GetSlugPermOk + +`func (o *OrganizationInviteExtendResponse) GetSlugPermOk() (*string, bool)` + +GetSlugPermOk returns a tuple with the SlugPerm field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetSlugPerm + +`func (o *OrganizationInviteExtendResponse) SetSlugPerm(v string)` + +SetSlugPerm sets SlugPerm field to given value. + +### HasSlugPerm + +`func (o *OrganizationInviteExtendResponse) HasSlugPerm() bool` + +HasSlugPerm returns a boolean if a field has been set. + +### GetUser + +`func (o *OrganizationInviteExtendResponse) GetUser() string` + +GetUser returns the User field if non-nil, zero value otherwise. + +### GetUserOk + +`func (o *OrganizationInviteExtendResponse) GetUserOk() (*string, bool)` + +GetUserOk returns a tuple with the User field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetUser + +`func (o *OrganizationInviteExtendResponse) SetUser(v string)` + +SetUser sets User field to given value. + +### HasUser + +`func (o *OrganizationInviteExtendResponse) HasUser() bool` + +HasUser returns a boolean if a field has been set. + +### GetUserUrl + +`func (o *OrganizationInviteExtendResponse) GetUserUrl() string` + +GetUserUrl returns the UserUrl field if non-nil, zero value otherwise. + +### GetUserUrlOk + +`func (o *OrganizationInviteExtendResponse) GetUserUrlOk() (*string, bool)` + +GetUserUrlOk returns a tuple with the UserUrl field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetUserUrl + +`func (o *OrganizationInviteExtendResponse) SetUserUrl(v string)` + +SetUserUrl sets UserUrl field to given value. + +### HasUserUrl + +`func (o *OrganizationInviteExtendResponse) HasUserUrl() bool` + +HasUserUrl returns a boolean if a field has been set. + +### SetUserUrlNil + +`func (o *OrganizationInviteExtendResponse) SetUserUrlNil(b bool)` + + SetUserUrlNil sets the value for UserUrl to be an explicit nil + +### UnsetUserUrl +`func (o *OrganizationInviteExtendResponse) UnsetUserUrl()` + +UnsetUserUrl ensures that no value is present for UserUrl, 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/docs/OrganizationInviteRequest.md b/docs/OrganizationInviteRequest.md new file mode 100644 index 00000000..7533ba2c --- /dev/null +++ b/docs/OrganizationInviteRequest.md @@ -0,0 +1,108 @@ +# OrganizationInviteRequest + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Email** | Pointer to **string** | The email of the user to be invited. | [optional] +**Role** | Pointer to **string** | The role to be assigned to the invited user. | [optional] [default to "Member"] +**User** | Pointer to **string** | The slug of the user to be invited. | [optional] + +## Methods + +### NewOrganizationInviteRequest + +`func NewOrganizationInviteRequest() *OrganizationInviteRequest` + +NewOrganizationInviteRequest instantiates a new OrganizationInviteRequest object +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 + +### NewOrganizationInviteRequestWithDefaults + +`func NewOrganizationInviteRequestWithDefaults() *OrganizationInviteRequest` + +NewOrganizationInviteRequestWithDefaults instantiates a new OrganizationInviteRequest object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetEmail + +`func (o *OrganizationInviteRequest) GetEmail() string` + +GetEmail returns the Email field if non-nil, zero value otherwise. + +### GetEmailOk + +`func (o *OrganizationInviteRequest) GetEmailOk() (*string, bool)` + +GetEmailOk returns a tuple with the Email field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetEmail + +`func (o *OrganizationInviteRequest) SetEmail(v string)` + +SetEmail sets Email field to given value. + +### HasEmail + +`func (o *OrganizationInviteRequest) HasEmail() bool` + +HasEmail returns a boolean if a field has been set. + +### GetRole + +`func (o *OrganizationInviteRequest) GetRole() string` + +GetRole returns the Role field if non-nil, zero value otherwise. + +### GetRoleOk + +`func (o *OrganizationInviteRequest) GetRoleOk() (*string, bool)` + +GetRoleOk returns a tuple with the Role field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetRole + +`func (o *OrganizationInviteRequest) SetRole(v string)` + +SetRole sets Role field to given value. + +### HasRole + +`func (o *OrganizationInviteRequest) HasRole() bool` + +HasRole returns a boolean if a field has been set. + +### GetUser + +`func (o *OrganizationInviteRequest) GetUser() string` + +GetUser returns the User field if non-nil, zero value otherwise. + +### GetUserOk + +`func (o *OrganizationInviteRequest) GetUserOk() (*string, bool)` + +GetUserOk returns a tuple with the User field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetUser + +`func (o *OrganizationInviteRequest) SetUser(v string)` + +SetUser sets User field to given value. + +### HasUser + +`func (o *OrganizationInviteRequest) HasUser() bool` + +HasUser 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/docs/OrganizationInviteExtend.md b/docs/OrganizationInviteResponse.md similarity index 50% rename from docs/OrganizationInviteExtend.md rename to docs/OrganizationInviteResponse.md index 18fb89b2..58db6f4f 100644 --- a/docs/OrganizationInviteExtend.md +++ b/docs/OrganizationInviteResponse.md @@ -1,263 +1,283 @@ -# OrganizationInviteExtend +# OrganizationInviteResponse ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**Email** | Pointer to **string** | | [optional] -**ExpiresAt** | Pointer to **string** | | [optional] -**Inviter** | Pointer to **string** | | [optional] -**InviterUrl** | Pointer to **string** | | [optional] -**Org** | Pointer to **string** | | [optional] -**Role** | Pointer to **string** | | [optional] -**SlugPerm** | Pointer to **string** | | [optional] -**User** | Pointer to **string** | | [optional] -**UserUrl** | Pointer to **string** | | [optional] +**Email** | Pointer to **string** | The email of the user to be invited. | [optional] +**ExpiresAt** | Pointer to **time.Time** | | [optional] [readonly] +**Inviter** | Pointer to **string** | | [optional] [readonly] +**InviterUrl** | Pointer to **NullableString** | | [optional] [readonly] +**Org** | Pointer to **string** | | [optional] [readonly] +**Role** | Pointer to **string** | The role to be assigned to the invited user. | [optional] [default to "Member"] +**SlugPerm** | Pointer to **string** | | [optional] [readonly] +**User** | Pointer to **string** | The slug of the user to be invited. | [optional] +**UserUrl** | Pointer to **NullableString** | | [optional] [readonly] ## Methods -### NewOrganizationInviteExtend +### NewOrganizationInviteResponse -`func NewOrganizationInviteExtend() *OrganizationInviteExtend` +`func NewOrganizationInviteResponse() *OrganizationInviteResponse` -NewOrganizationInviteExtend instantiates a new OrganizationInviteExtend object +NewOrganizationInviteResponse instantiates a new OrganizationInviteResponse object 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 -### NewOrganizationInviteExtendWithDefaults +### NewOrganizationInviteResponseWithDefaults -`func NewOrganizationInviteExtendWithDefaults() *OrganizationInviteExtend` +`func NewOrganizationInviteResponseWithDefaults() *OrganizationInviteResponse` -NewOrganizationInviteExtendWithDefaults instantiates a new OrganizationInviteExtend object +NewOrganizationInviteResponseWithDefaults instantiates a new OrganizationInviteResponse object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set ### GetEmail -`func (o *OrganizationInviteExtend) GetEmail() string` +`func (o *OrganizationInviteResponse) GetEmail() string` GetEmail returns the Email field if non-nil, zero value otherwise. ### GetEmailOk -`func (o *OrganizationInviteExtend) GetEmailOk() (*string, bool)` +`func (o *OrganizationInviteResponse) GetEmailOk() (*string, bool)` GetEmailOk returns a tuple with the Email field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetEmail -`func (o *OrganizationInviteExtend) SetEmail(v string)` +`func (o *OrganizationInviteResponse) SetEmail(v string)` SetEmail sets Email field to given value. ### HasEmail -`func (o *OrganizationInviteExtend) HasEmail() bool` +`func (o *OrganizationInviteResponse) HasEmail() bool` HasEmail returns a boolean if a field has been set. ### GetExpiresAt -`func (o *OrganizationInviteExtend) GetExpiresAt() string` +`func (o *OrganizationInviteResponse) GetExpiresAt() time.Time` GetExpiresAt returns the ExpiresAt field if non-nil, zero value otherwise. ### GetExpiresAtOk -`func (o *OrganizationInviteExtend) GetExpiresAtOk() (*string, bool)` +`func (o *OrganizationInviteResponse) GetExpiresAtOk() (*time.Time, bool)` GetExpiresAtOk returns a tuple with the ExpiresAt field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetExpiresAt -`func (o *OrganizationInviteExtend) SetExpiresAt(v string)` +`func (o *OrganizationInviteResponse) SetExpiresAt(v time.Time)` SetExpiresAt sets ExpiresAt field to given value. ### HasExpiresAt -`func (o *OrganizationInviteExtend) HasExpiresAt() bool` +`func (o *OrganizationInviteResponse) HasExpiresAt() bool` HasExpiresAt returns a boolean if a field has been set. ### GetInviter -`func (o *OrganizationInviteExtend) GetInviter() string` +`func (o *OrganizationInviteResponse) GetInviter() string` GetInviter returns the Inviter field if non-nil, zero value otherwise. ### GetInviterOk -`func (o *OrganizationInviteExtend) GetInviterOk() (*string, bool)` +`func (o *OrganizationInviteResponse) GetInviterOk() (*string, bool)` GetInviterOk returns a tuple with the Inviter field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetInviter -`func (o *OrganizationInviteExtend) SetInviter(v string)` +`func (o *OrganizationInviteResponse) SetInviter(v string)` SetInviter sets Inviter field to given value. ### HasInviter -`func (o *OrganizationInviteExtend) HasInviter() bool` +`func (o *OrganizationInviteResponse) HasInviter() bool` HasInviter returns a boolean if a field has been set. ### GetInviterUrl -`func (o *OrganizationInviteExtend) GetInviterUrl() string` +`func (o *OrganizationInviteResponse) GetInviterUrl() string` GetInviterUrl returns the InviterUrl field if non-nil, zero value otherwise. ### GetInviterUrlOk -`func (o *OrganizationInviteExtend) GetInviterUrlOk() (*string, bool)` +`func (o *OrganizationInviteResponse) GetInviterUrlOk() (*string, bool)` GetInviterUrlOk returns a tuple with the InviterUrl field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetInviterUrl -`func (o *OrganizationInviteExtend) SetInviterUrl(v string)` +`func (o *OrganizationInviteResponse) SetInviterUrl(v string)` SetInviterUrl sets InviterUrl field to given value. ### HasInviterUrl -`func (o *OrganizationInviteExtend) HasInviterUrl() bool` +`func (o *OrganizationInviteResponse) HasInviterUrl() bool` HasInviterUrl returns a boolean if a field has been set. +### SetInviterUrlNil + +`func (o *OrganizationInviteResponse) SetInviterUrlNil(b bool)` + + SetInviterUrlNil sets the value for InviterUrl to be an explicit nil + +### UnsetInviterUrl +`func (o *OrganizationInviteResponse) UnsetInviterUrl()` + +UnsetInviterUrl ensures that no value is present for InviterUrl, not even an explicit nil ### GetOrg -`func (o *OrganizationInviteExtend) GetOrg() string` +`func (o *OrganizationInviteResponse) GetOrg() string` GetOrg returns the Org field if non-nil, zero value otherwise. ### GetOrgOk -`func (o *OrganizationInviteExtend) GetOrgOk() (*string, bool)` +`func (o *OrganizationInviteResponse) GetOrgOk() (*string, bool)` GetOrgOk returns a tuple with the Org field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetOrg -`func (o *OrganizationInviteExtend) SetOrg(v string)` +`func (o *OrganizationInviteResponse) SetOrg(v string)` SetOrg sets Org field to given value. ### HasOrg -`func (o *OrganizationInviteExtend) HasOrg() bool` +`func (o *OrganizationInviteResponse) HasOrg() bool` HasOrg returns a boolean if a field has been set. ### GetRole -`func (o *OrganizationInviteExtend) GetRole() string` +`func (o *OrganizationInviteResponse) GetRole() string` GetRole returns the Role field if non-nil, zero value otherwise. ### GetRoleOk -`func (o *OrganizationInviteExtend) GetRoleOk() (*string, bool)` +`func (o *OrganizationInviteResponse) GetRoleOk() (*string, bool)` GetRoleOk returns a tuple with the Role field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetRole -`func (o *OrganizationInviteExtend) SetRole(v string)` +`func (o *OrganizationInviteResponse) SetRole(v string)` SetRole sets Role field to given value. ### HasRole -`func (o *OrganizationInviteExtend) HasRole() bool` +`func (o *OrganizationInviteResponse) HasRole() bool` HasRole returns a boolean if a field has been set. ### GetSlugPerm -`func (o *OrganizationInviteExtend) GetSlugPerm() string` +`func (o *OrganizationInviteResponse) GetSlugPerm() string` GetSlugPerm returns the SlugPerm field if non-nil, zero value otherwise. ### GetSlugPermOk -`func (o *OrganizationInviteExtend) GetSlugPermOk() (*string, bool)` +`func (o *OrganizationInviteResponse) GetSlugPermOk() (*string, bool)` GetSlugPermOk returns a tuple with the SlugPerm field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetSlugPerm -`func (o *OrganizationInviteExtend) SetSlugPerm(v string)` +`func (o *OrganizationInviteResponse) SetSlugPerm(v string)` SetSlugPerm sets SlugPerm field to given value. ### HasSlugPerm -`func (o *OrganizationInviteExtend) HasSlugPerm() bool` +`func (o *OrganizationInviteResponse) HasSlugPerm() bool` HasSlugPerm returns a boolean if a field has been set. ### GetUser -`func (o *OrganizationInviteExtend) GetUser() string` +`func (o *OrganizationInviteResponse) GetUser() string` GetUser returns the User field if non-nil, zero value otherwise. ### GetUserOk -`func (o *OrganizationInviteExtend) GetUserOk() (*string, bool)` +`func (o *OrganizationInviteResponse) GetUserOk() (*string, bool)` GetUserOk returns a tuple with the User field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetUser -`func (o *OrganizationInviteExtend) SetUser(v string)` +`func (o *OrganizationInviteResponse) SetUser(v string)` SetUser sets User field to given value. ### HasUser -`func (o *OrganizationInviteExtend) HasUser() bool` +`func (o *OrganizationInviteResponse) HasUser() bool` HasUser returns a boolean if a field has been set. ### GetUserUrl -`func (o *OrganizationInviteExtend) GetUserUrl() string` +`func (o *OrganizationInviteResponse) GetUserUrl() string` GetUserUrl returns the UserUrl field if non-nil, zero value otherwise. ### GetUserUrlOk -`func (o *OrganizationInviteExtend) GetUserUrlOk() (*string, bool)` +`func (o *OrganizationInviteResponse) GetUserUrlOk() (*string, bool)` GetUserUrlOk returns a tuple with the UserUrl field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetUserUrl -`func (o *OrganizationInviteExtend) SetUserUrl(v string)` +`func (o *OrganizationInviteResponse) SetUserUrl(v string)` SetUserUrl sets UserUrl field to given value. ### HasUserUrl -`func (o *OrganizationInviteExtend) HasUserUrl() bool` +`func (o *OrganizationInviteResponse) HasUserUrl() bool` HasUserUrl returns a boolean if a field has been set. +### SetUserUrlNil + +`func (o *OrganizationInviteResponse) SetUserUrlNil(b bool)` + + SetUserUrlNil sets the value for UserUrl to be an explicit nil + +### UnsetUserUrl +`func (o *OrganizationInviteResponse) UnsetUserUrl()` + +UnsetUserUrl ensures that no value is present for UserUrl, 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/docs/OrganizationInviteUpdateRequestPatch.md b/docs/OrganizationInviteUpdateRequestPatch.md new file mode 100644 index 00000000..471876e9 --- /dev/null +++ b/docs/OrganizationInviteUpdateRequestPatch.md @@ -0,0 +1,56 @@ +# OrganizationInviteUpdateRequestPatch + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Role** | Pointer to **string** | The role to be assigned to the invited user. | [optional] [default to "Member"] + +## Methods + +### NewOrganizationInviteUpdateRequestPatch + +`func NewOrganizationInviteUpdateRequestPatch() *OrganizationInviteUpdateRequestPatch` + +NewOrganizationInviteUpdateRequestPatch instantiates a new OrganizationInviteUpdateRequestPatch object +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 + +### NewOrganizationInviteUpdateRequestPatchWithDefaults + +`func NewOrganizationInviteUpdateRequestPatchWithDefaults() *OrganizationInviteUpdateRequestPatch` + +NewOrganizationInviteUpdateRequestPatchWithDefaults instantiates a new OrganizationInviteUpdateRequestPatch object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetRole + +`func (o *OrganizationInviteUpdateRequestPatch) GetRole() string` + +GetRole returns the Role field if non-nil, zero value otherwise. + +### GetRoleOk + +`func (o *OrganizationInviteUpdateRequestPatch) GetRoleOk() (*string, bool)` + +GetRoleOk returns a tuple with the Role field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetRole + +`func (o *OrganizationInviteUpdateRequestPatch) SetRole(v string)` + +SetRole sets Role field to given value. + +### HasRole + +`func (o *OrganizationInviteUpdateRequestPatch) HasRole() bool` + +HasRole 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/docs/OrganizationInviteUpdateResponse.md b/docs/OrganizationInviteUpdateResponse.md new file mode 100644 index 00000000..0e2fe46b --- /dev/null +++ b/docs/OrganizationInviteUpdateResponse.md @@ -0,0 +1,56 @@ +# OrganizationInviteUpdateResponse + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Role** | Pointer to **string** | The role to be assigned to the invited user. | [optional] [default to "Member"] + +## Methods + +### NewOrganizationInviteUpdateResponse + +`func NewOrganizationInviteUpdateResponse() *OrganizationInviteUpdateResponse` + +NewOrganizationInviteUpdateResponse instantiates a new OrganizationInviteUpdateResponse object +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 + +### NewOrganizationInviteUpdateResponseWithDefaults + +`func NewOrganizationInviteUpdateResponseWithDefaults() *OrganizationInviteUpdateResponse` + +NewOrganizationInviteUpdateResponseWithDefaults instantiates a new OrganizationInviteUpdateResponse object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetRole + +`func (o *OrganizationInviteUpdateResponse) GetRole() string` + +GetRole returns the Role field if non-nil, zero value otherwise. + +### GetRoleOk + +`func (o *OrganizationInviteUpdateResponse) GetRoleOk() (*string, bool)` + +GetRoleOk returns a tuple with the Role field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetRole + +`func (o *OrganizationInviteUpdateResponse) SetRole(v string)` + +SetRole sets Role field to given value. + +### HasRole + +`func (o *OrganizationInviteUpdateResponse) HasRole() bool` + +HasRole 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/docs/OrganizationMembership.md b/docs/OrganizationMembership.md deleted file mode 100644 index 63c2a72f..00000000 --- a/docs/OrganizationMembership.md +++ /dev/null @@ -1,290 +0,0 @@ -# OrganizationMembership - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**Email** | Pointer to **string** | | [optional] -**HasTwoFactor** | Pointer to **bool** | | [optional] -**JoinedAt** | Pointer to **string** | | [optional] -**LastLoginAt** | Pointer to **string** | | [optional] -**Role** | Pointer to **string** | | [optional] -**User** | Pointer to **string** | | [optional] -**UserId** | Pointer to **string** | | [optional] -**UserName** | Pointer to **string** | | [optional] -**UserUrl** | Pointer to **string** | | [optional] -**Visibility** | Pointer to **string** | | [optional] - -## Methods - -### NewOrganizationMembership - -`func NewOrganizationMembership() *OrganizationMembership` - -NewOrganizationMembership instantiates a new OrganizationMembership object -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 - -### NewOrganizationMembershipWithDefaults - -`func NewOrganizationMembershipWithDefaults() *OrganizationMembership` - -NewOrganizationMembershipWithDefaults instantiates a new OrganizationMembership object -This constructor will only assign default values to properties that have it defined, -but it doesn't guarantee that properties required by API are set - -### GetEmail - -`func (o *OrganizationMembership) GetEmail() string` - -GetEmail returns the Email field if non-nil, zero value otherwise. - -### GetEmailOk - -`func (o *OrganizationMembership) GetEmailOk() (*string, bool)` - -GetEmailOk returns a tuple with the Email field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetEmail - -`func (o *OrganizationMembership) SetEmail(v string)` - -SetEmail sets Email field to given value. - -### HasEmail - -`func (o *OrganizationMembership) HasEmail() bool` - -HasEmail returns a boolean if a field has been set. - -### GetHasTwoFactor - -`func (o *OrganizationMembership) GetHasTwoFactor() bool` - -GetHasTwoFactor returns the HasTwoFactor field if non-nil, zero value otherwise. - -### GetHasTwoFactorOk - -`func (o *OrganizationMembership) GetHasTwoFactorOk() (*bool, bool)` - -GetHasTwoFactorOk returns a tuple with the HasTwoFactor field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetHasTwoFactor - -`func (o *OrganizationMembership) SetHasTwoFactor(v bool)` - -SetHasTwoFactor sets HasTwoFactor field to given value. - -### HasHasTwoFactor - -`func (o *OrganizationMembership) HasHasTwoFactor() bool` - -HasHasTwoFactor returns a boolean if a field has been set. - -### GetJoinedAt - -`func (o *OrganizationMembership) GetJoinedAt() string` - -GetJoinedAt returns the JoinedAt field if non-nil, zero value otherwise. - -### GetJoinedAtOk - -`func (o *OrganizationMembership) GetJoinedAtOk() (*string, bool)` - -GetJoinedAtOk returns a tuple with the JoinedAt field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetJoinedAt - -`func (o *OrganizationMembership) SetJoinedAt(v string)` - -SetJoinedAt sets JoinedAt field to given value. - -### HasJoinedAt - -`func (o *OrganizationMembership) HasJoinedAt() bool` - -HasJoinedAt returns a boolean if a field has been set. - -### GetLastLoginAt - -`func (o *OrganizationMembership) GetLastLoginAt() string` - -GetLastLoginAt returns the LastLoginAt field if non-nil, zero value otherwise. - -### GetLastLoginAtOk - -`func (o *OrganizationMembership) GetLastLoginAtOk() (*string, bool)` - -GetLastLoginAtOk returns a tuple with the LastLoginAt field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetLastLoginAt - -`func (o *OrganizationMembership) SetLastLoginAt(v string)` - -SetLastLoginAt sets LastLoginAt field to given value. - -### HasLastLoginAt - -`func (o *OrganizationMembership) HasLastLoginAt() bool` - -HasLastLoginAt returns a boolean if a field has been set. - -### GetRole - -`func (o *OrganizationMembership) GetRole() string` - -GetRole returns the Role field if non-nil, zero value otherwise. - -### GetRoleOk - -`func (o *OrganizationMembership) GetRoleOk() (*string, bool)` - -GetRoleOk returns a tuple with the Role field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetRole - -`func (o *OrganizationMembership) SetRole(v string)` - -SetRole sets Role field to given value. - -### HasRole - -`func (o *OrganizationMembership) HasRole() bool` - -HasRole returns a boolean if a field has been set. - -### GetUser - -`func (o *OrganizationMembership) GetUser() string` - -GetUser returns the User field if non-nil, zero value otherwise. - -### GetUserOk - -`func (o *OrganizationMembership) GetUserOk() (*string, bool)` - -GetUserOk returns a tuple with the User field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetUser - -`func (o *OrganizationMembership) SetUser(v string)` - -SetUser sets User field to given value. - -### HasUser - -`func (o *OrganizationMembership) HasUser() bool` - -HasUser returns a boolean if a field has been set. - -### GetUserId - -`func (o *OrganizationMembership) GetUserId() string` - -GetUserId returns the UserId field if non-nil, zero value otherwise. - -### GetUserIdOk - -`func (o *OrganizationMembership) GetUserIdOk() (*string, bool)` - -GetUserIdOk returns a tuple with the UserId field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetUserId - -`func (o *OrganizationMembership) SetUserId(v string)` - -SetUserId sets UserId field to given value. - -### HasUserId - -`func (o *OrganizationMembership) HasUserId() bool` - -HasUserId returns a boolean if a field has been set. - -### GetUserName - -`func (o *OrganizationMembership) GetUserName() string` - -GetUserName returns the UserName field if non-nil, zero value otherwise. - -### GetUserNameOk - -`func (o *OrganizationMembership) GetUserNameOk() (*string, bool)` - -GetUserNameOk returns a tuple with the UserName field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetUserName - -`func (o *OrganizationMembership) SetUserName(v string)` - -SetUserName sets UserName field to given value. - -### HasUserName - -`func (o *OrganizationMembership) HasUserName() bool` - -HasUserName returns a boolean if a field has been set. - -### GetUserUrl - -`func (o *OrganizationMembership) GetUserUrl() string` - -GetUserUrl returns the UserUrl field if non-nil, zero value otherwise. - -### GetUserUrlOk - -`func (o *OrganizationMembership) GetUserUrlOk() (*string, bool)` - -GetUserUrlOk returns a tuple with the UserUrl field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetUserUrl - -`func (o *OrganizationMembership) SetUserUrl(v string)` - -SetUserUrl sets UserUrl field to given value. - -### HasUserUrl - -`func (o *OrganizationMembership) HasUserUrl() bool` - -HasUserUrl returns a boolean if a field has been set. - -### GetVisibility - -`func (o *OrganizationMembership) GetVisibility() string` - -GetVisibility returns the Visibility field if non-nil, zero value otherwise. - -### GetVisibilityOk - -`func (o *OrganizationMembership) GetVisibilityOk() (*string, bool)` - -GetVisibilityOk returns a tuple with the Visibility field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetVisibility - -`func (o *OrganizationMembership) SetVisibility(v string)` - -SetVisibility sets Visibility field to given value. - -### HasVisibility - -`func (o *OrganizationMembership) HasVisibility() bool` - -HasVisibility 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/docs/OrganizationMembershipResponse.md b/docs/OrganizationMembershipResponse.md new file mode 100644 index 00000000..f034a216 --- /dev/null +++ b/docs/OrganizationMembershipResponse.md @@ -0,0 +1,326 @@ +# OrganizationMembershipResponse + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Email** | Pointer to **string** | | [optional] [readonly] +**HasTwoFactor** | Pointer to **bool** | | [optional] [readonly] +**JoinedAt** | Pointer to **time.Time** | | [optional] [readonly] +**LastLoginAt** | Pointer to **NullableTime** | | [optional] [readonly] +**LastLoginMethod** | Pointer to **string** | | [optional] [readonly] [default to "Unknown"] +**Role** | Pointer to **string** | | [optional] [readonly] [default to "Owner"] +**User** | Pointer to **string** | | [optional] [readonly] +**UserId** | Pointer to **string** | | [optional] [readonly] +**UserName** | Pointer to **string** | | [optional] [readonly] +**UserUrl** | Pointer to **string** | | [optional] [readonly] +**Visibility** | Pointer to **string** | | [optional] [readonly] [default to "Public"] + +## Methods + +### NewOrganizationMembershipResponse + +`func NewOrganizationMembershipResponse() *OrganizationMembershipResponse` + +NewOrganizationMembershipResponse instantiates a new OrganizationMembershipResponse object +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 + +### NewOrganizationMembershipResponseWithDefaults + +`func NewOrganizationMembershipResponseWithDefaults() *OrganizationMembershipResponse` + +NewOrganizationMembershipResponseWithDefaults instantiates a new OrganizationMembershipResponse object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetEmail + +`func (o *OrganizationMembershipResponse) GetEmail() string` + +GetEmail returns the Email field if non-nil, zero value otherwise. + +### GetEmailOk + +`func (o *OrganizationMembershipResponse) GetEmailOk() (*string, bool)` + +GetEmailOk returns a tuple with the Email field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetEmail + +`func (o *OrganizationMembershipResponse) SetEmail(v string)` + +SetEmail sets Email field to given value. + +### HasEmail + +`func (o *OrganizationMembershipResponse) HasEmail() bool` + +HasEmail returns a boolean if a field has been set. + +### GetHasTwoFactor + +`func (o *OrganizationMembershipResponse) GetHasTwoFactor() bool` + +GetHasTwoFactor returns the HasTwoFactor field if non-nil, zero value otherwise. + +### GetHasTwoFactorOk + +`func (o *OrganizationMembershipResponse) GetHasTwoFactorOk() (*bool, bool)` + +GetHasTwoFactorOk returns a tuple with the HasTwoFactor field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetHasTwoFactor + +`func (o *OrganizationMembershipResponse) SetHasTwoFactor(v bool)` + +SetHasTwoFactor sets HasTwoFactor field to given value. + +### HasHasTwoFactor + +`func (o *OrganizationMembershipResponse) HasHasTwoFactor() bool` + +HasHasTwoFactor returns a boolean if a field has been set. + +### GetJoinedAt + +`func (o *OrganizationMembershipResponse) GetJoinedAt() time.Time` + +GetJoinedAt returns the JoinedAt field if non-nil, zero value otherwise. + +### GetJoinedAtOk + +`func (o *OrganizationMembershipResponse) GetJoinedAtOk() (*time.Time, bool)` + +GetJoinedAtOk returns a tuple with the JoinedAt field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetJoinedAt + +`func (o *OrganizationMembershipResponse) SetJoinedAt(v time.Time)` + +SetJoinedAt sets JoinedAt field to given value. + +### HasJoinedAt + +`func (o *OrganizationMembershipResponse) HasJoinedAt() bool` + +HasJoinedAt returns a boolean if a field has been set. + +### GetLastLoginAt + +`func (o *OrganizationMembershipResponse) GetLastLoginAt() time.Time` + +GetLastLoginAt returns the LastLoginAt field if non-nil, zero value otherwise. + +### GetLastLoginAtOk + +`func (o *OrganizationMembershipResponse) GetLastLoginAtOk() (*time.Time, bool)` + +GetLastLoginAtOk returns a tuple with the LastLoginAt field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetLastLoginAt + +`func (o *OrganizationMembershipResponse) SetLastLoginAt(v time.Time)` + +SetLastLoginAt sets LastLoginAt field to given value. + +### HasLastLoginAt + +`func (o *OrganizationMembershipResponse) HasLastLoginAt() bool` + +HasLastLoginAt returns a boolean if a field has been set. + +### SetLastLoginAtNil + +`func (o *OrganizationMembershipResponse) SetLastLoginAtNil(b bool)` + + SetLastLoginAtNil sets the value for LastLoginAt to be an explicit nil + +### UnsetLastLoginAt +`func (o *OrganizationMembershipResponse) UnsetLastLoginAt()` + +UnsetLastLoginAt ensures that no value is present for LastLoginAt, not even an explicit nil +### GetLastLoginMethod + +`func (o *OrganizationMembershipResponse) GetLastLoginMethod() string` + +GetLastLoginMethod returns the LastLoginMethod field if non-nil, zero value otherwise. + +### GetLastLoginMethodOk + +`func (o *OrganizationMembershipResponse) GetLastLoginMethodOk() (*string, bool)` + +GetLastLoginMethodOk returns a tuple with the LastLoginMethod field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetLastLoginMethod + +`func (o *OrganizationMembershipResponse) SetLastLoginMethod(v string)` + +SetLastLoginMethod sets LastLoginMethod field to given value. + +### HasLastLoginMethod + +`func (o *OrganizationMembershipResponse) HasLastLoginMethod() bool` + +HasLastLoginMethod returns a boolean if a field has been set. + +### GetRole + +`func (o *OrganizationMembershipResponse) GetRole() string` + +GetRole returns the Role field if non-nil, zero value otherwise. + +### GetRoleOk + +`func (o *OrganizationMembershipResponse) GetRoleOk() (*string, bool)` + +GetRoleOk returns a tuple with the Role field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetRole + +`func (o *OrganizationMembershipResponse) SetRole(v string)` + +SetRole sets Role field to given value. + +### HasRole + +`func (o *OrganizationMembershipResponse) HasRole() bool` + +HasRole returns a boolean if a field has been set. + +### GetUser + +`func (o *OrganizationMembershipResponse) GetUser() string` + +GetUser returns the User field if non-nil, zero value otherwise. + +### GetUserOk + +`func (o *OrganizationMembershipResponse) GetUserOk() (*string, bool)` + +GetUserOk returns a tuple with the User field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetUser + +`func (o *OrganizationMembershipResponse) SetUser(v string)` + +SetUser sets User field to given value. + +### HasUser + +`func (o *OrganizationMembershipResponse) HasUser() bool` + +HasUser returns a boolean if a field has been set. + +### GetUserId + +`func (o *OrganizationMembershipResponse) GetUserId() string` + +GetUserId returns the UserId field if non-nil, zero value otherwise. + +### GetUserIdOk + +`func (o *OrganizationMembershipResponse) GetUserIdOk() (*string, bool)` + +GetUserIdOk returns a tuple with the UserId field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetUserId + +`func (o *OrganizationMembershipResponse) SetUserId(v string)` + +SetUserId sets UserId field to given value. + +### HasUserId + +`func (o *OrganizationMembershipResponse) HasUserId() bool` + +HasUserId returns a boolean if a field has been set. + +### GetUserName + +`func (o *OrganizationMembershipResponse) GetUserName() string` + +GetUserName returns the UserName field if non-nil, zero value otherwise. + +### GetUserNameOk + +`func (o *OrganizationMembershipResponse) GetUserNameOk() (*string, bool)` + +GetUserNameOk returns a tuple with the UserName field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetUserName + +`func (o *OrganizationMembershipResponse) SetUserName(v string)` + +SetUserName sets UserName field to given value. + +### HasUserName + +`func (o *OrganizationMembershipResponse) HasUserName() bool` + +HasUserName returns a boolean if a field has been set. + +### GetUserUrl + +`func (o *OrganizationMembershipResponse) GetUserUrl() string` + +GetUserUrl returns the UserUrl field if non-nil, zero value otherwise. + +### GetUserUrlOk + +`func (o *OrganizationMembershipResponse) GetUserUrlOk() (*string, bool)` + +GetUserUrlOk returns a tuple with the UserUrl field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetUserUrl + +`func (o *OrganizationMembershipResponse) SetUserUrl(v string)` + +SetUserUrl sets UserUrl field to given value. + +### HasUserUrl + +`func (o *OrganizationMembershipResponse) HasUserUrl() bool` + +HasUserUrl returns a boolean if a field has been set. + +### GetVisibility + +`func (o *OrganizationMembershipResponse) GetVisibility() string` + +GetVisibility returns the Visibility field if non-nil, zero value otherwise. + +### GetVisibilityOk + +`func (o *OrganizationMembershipResponse) GetVisibilityOk() (*string, bool)` + +GetVisibilityOk returns a tuple with the Visibility field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetVisibility + +`func (o *OrganizationMembershipResponse) SetVisibility(v string)` + +SetVisibility sets Visibility field to given value. + +### HasVisibility + +`func (o *OrganizationMembershipResponse) HasVisibility() bool` + +HasVisibility 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/docs/Organization.md b/docs/OrganizationResponse.md similarity index 57% rename from docs/Organization.md rename to docs/OrganizationResponse.md index 03244c8a..3921b11d 100644 --- a/docs/Organization.md +++ b/docs/OrganizationResponse.md @@ -1,208 +1,218 @@ -# Organization +# OrganizationResponse ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**Country** | Pointer to **string** | | [optional] -**CreatedAt** | Pointer to **string** | | [optional] -**Location** | Pointer to **string** | The city/town/area your organization is based in. | [optional] -**Name** | Pointer to **string** | A descriptive name for your organization. | [optional] -**Slug** | Pointer to **string** | | [optional] -**SlugPerm** | Pointer to **string** | | [optional] -**Tagline** | Pointer to **string** | A short public descriptive for your organization. | [optional] +**Country** | Pointer to **NullableString** | | [optional] [readonly] +**CreatedAt** | Pointer to **time.Time** | | [optional] [readonly] +**Location** | Pointer to **string** | The city/town/area your organization is based in. | [optional] [readonly] +**Name** | Pointer to **string** | A descriptive name for your organization. | [optional] [readonly] +**Slug** | Pointer to **string** | | [optional] [readonly] +**SlugPerm** | Pointer to **string** | | [optional] [readonly] +**Tagline** | Pointer to **string** | A short public descriptive for your organization. | [optional] [readonly] ## Methods -### NewOrganization +### NewOrganizationResponse -`func NewOrganization() *Organization` +`func NewOrganizationResponse() *OrganizationResponse` -NewOrganization instantiates a new Organization object +NewOrganizationResponse instantiates a new OrganizationResponse object 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 -### NewOrganizationWithDefaults +### NewOrganizationResponseWithDefaults -`func NewOrganizationWithDefaults() *Organization` +`func NewOrganizationResponseWithDefaults() *OrganizationResponse` -NewOrganizationWithDefaults instantiates a new Organization object +NewOrganizationResponseWithDefaults instantiates a new OrganizationResponse object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set ### GetCountry -`func (o *Organization) GetCountry() string` +`func (o *OrganizationResponse) GetCountry() string` GetCountry returns the Country field if non-nil, zero value otherwise. ### GetCountryOk -`func (o *Organization) GetCountryOk() (*string, bool)` +`func (o *OrganizationResponse) GetCountryOk() (*string, bool)` GetCountryOk returns a tuple with the Country field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetCountry -`func (o *Organization) SetCountry(v string)` +`func (o *OrganizationResponse) SetCountry(v string)` SetCountry sets Country field to given value. ### HasCountry -`func (o *Organization) HasCountry() bool` +`func (o *OrganizationResponse) HasCountry() bool` HasCountry returns a boolean if a field has been set. +### SetCountryNil + +`func (o *OrganizationResponse) SetCountryNil(b bool)` + + SetCountryNil sets the value for Country to be an explicit nil + +### UnsetCountry +`func (o *OrganizationResponse) UnsetCountry()` + +UnsetCountry ensures that no value is present for Country, not even an explicit nil ### GetCreatedAt -`func (o *Organization) GetCreatedAt() string` +`func (o *OrganizationResponse) GetCreatedAt() time.Time` GetCreatedAt returns the CreatedAt field if non-nil, zero value otherwise. ### GetCreatedAtOk -`func (o *Organization) GetCreatedAtOk() (*string, bool)` +`func (o *OrganizationResponse) GetCreatedAtOk() (*time.Time, bool)` GetCreatedAtOk returns a tuple with the CreatedAt field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetCreatedAt -`func (o *Organization) SetCreatedAt(v string)` +`func (o *OrganizationResponse) SetCreatedAt(v time.Time)` SetCreatedAt sets CreatedAt field to given value. ### HasCreatedAt -`func (o *Organization) HasCreatedAt() bool` +`func (o *OrganizationResponse) HasCreatedAt() bool` HasCreatedAt returns a boolean if a field has been set. ### GetLocation -`func (o *Organization) GetLocation() string` +`func (o *OrganizationResponse) GetLocation() string` GetLocation returns the Location field if non-nil, zero value otherwise. ### GetLocationOk -`func (o *Organization) GetLocationOk() (*string, bool)` +`func (o *OrganizationResponse) GetLocationOk() (*string, bool)` GetLocationOk returns a tuple with the Location field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetLocation -`func (o *Organization) SetLocation(v string)` +`func (o *OrganizationResponse) SetLocation(v string)` SetLocation sets Location field to given value. ### HasLocation -`func (o *Organization) HasLocation() bool` +`func (o *OrganizationResponse) HasLocation() bool` HasLocation returns a boolean if a field has been set. ### GetName -`func (o *Organization) GetName() string` +`func (o *OrganizationResponse) GetName() string` GetName returns the Name field if non-nil, zero value otherwise. ### GetNameOk -`func (o *Organization) GetNameOk() (*string, bool)` +`func (o *OrganizationResponse) GetNameOk() (*string, bool)` 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. ### SetName -`func (o *Organization) SetName(v string)` +`func (o *OrganizationResponse) SetName(v string)` SetName sets Name field to given value. ### HasName -`func (o *Organization) HasName() bool` +`func (o *OrganizationResponse) HasName() bool` HasName returns a boolean if a field has been set. ### GetSlug -`func (o *Organization) GetSlug() string` +`func (o *OrganizationResponse) GetSlug() string` GetSlug returns the Slug field if non-nil, zero value otherwise. ### GetSlugOk -`func (o *Organization) GetSlugOk() (*string, bool)` +`func (o *OrganizationResponse) GetSlugOk() (*string, bool)` GetSlugOk returns a tuple with the Slug field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetSlug -`func (o *Organization) SetSlug(v string)` +`func (o *OrganizationResponse) SetSlug(v string)` SetSlug sets Slug field to given value. ### HasSlug -`func (o *Organization) HasSlug() bool` +`func (o *OrganizationResponse) HasSlug() bool` HasSlug returns a boolean if a field has been set. ### GetSlugPerm -`func (o *Organization) GetSlugPerm() string` +`func (o *OrganizationResponse) GetSlugPerm() string` GetSlugPerm returns the SlugPerm field if non-nil, zero value otherwise. ### GetSlugPermOk -`func (o *Organization) GetSlugPermOk() (*string, bool)` +`func (o *OrganizationResponse) GetSlugPermOk() (*string, bool)` GetSlugPermOk returns a tuple with the SlugPerm field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetSlugPerm -`func (o *Organization) SetSlugPerm(v string)` +`func (o *OrganizationResponse) SetSlugPerm(v string)` SetSlugPerm sets SlugPerm field to given value. ### HasSlugPerm -`func (o *Organization) HasSlugPerm() bool` +`func (o *OrganizationResponse) HasSlugPerm() bool` HasSlugPerm returns a boolean if a field has been set. ### GetTagline -`func (o *Organization) GetTagline() string` +`func (o *OrganizationResponse) GetTagline() string` GetTagline returns the Tagline field if non-nil, zero value otherwise. ### GetTaglineOk -`func (o *Organization) GetTaglineOk() (*string, bool)` +`func (o *OrganizationResponse) GetTaglineOk() (*string, bool)` GetTaglineOk returns a tuple with the Tagline field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetTagline -`func (o *Organization) SetTagline(v string)` +`func (o *OrganizationResponse) SetTagline(v string)` SetTagline sets Tagline field to given value. ### HasTagline -`func (o *Organization) HasTagline() bool` +`func (o *OrganizationResponse) HasTagline() bool` HasTagline returns a boolean if a field has been set. diff --git a/docs/OrganizationTeamMembers.md b/docs/OrganizationTeamMembers.md index 9af62eeb..6a70f58b 100644 --- a/docs/OrganizationTeamMembers.md +++ b/docs/OrganizationTeamMembers.md @@ -4,13 +4,13 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**Members** | [**[]OrganizationTeamMembersMembers**](OrganizationTeamMembersMembers.md) | | +**Members** | [**[]OrganizationTeamMembership**](OrganizationTeamMembership.md) | The team members | ## Methods ### NewOrganizationTeamMembers -`func NewOrganizationTeamMembers(members []OrganizationTeamMembersMembers, ) *OrganizationTeamMembers` +`func NewOrganizationTeamMembers(members []OrganizationTeamMembership, ) *OrganizationTeamMembers` NewOrganizationTeamMembers instantiates a new OrganizationTeamMembers object This constructor will assign default values to properties that have it defined, @@ -27,20 +27,20 @@ but it doesn't guarantee that properties required by API are set ### GetMembers -`func (o *OrganizationTeamMembers) GetMembers() []OrganizationTeamMembersMembers` +`func (o *OrganizationTeamMembers) GetMembers() []OrganizationTeamMembership` GetMembers returns the Members field if non-nil, zero value otherwise. ### GetMembersOk -`func (o *OrganizationTeamMembers) GetMembersOk() (*[]OrganizationTeamMembersMembers, bool)` +`func (o *OrganizationTeamMembers) GetMembersOk() (*[]OrganizationTeamMembership, bool)` GetMembersOk returns a tuple with the Members field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetMembers -`func (o *OrganizationTeamMembers) SetMembers(v []OrganizationTeamMembersMembers)` +`func (o *OrganizationTeamMembers) SetMembers(v []OrganizationTeamMembership)` SetMembers sets Members field to given value. diff --git a/docs/OrganizationTeamMembersResponse.md b/docs/OrganizationTeamMembersResponse.md new file mode 100644 index 00000000..14514a49 --- /dev/null +++ b/docs/OrganizationTeamMembersResponse.md @@ -0,0 +1,51 @@ +# OrganizationTeamMembersResponse + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Members** | [**[]OrganizationTeamMembership**](OrganizationTeamMembership.md) | The team members | + +## Methods + +### NewOrganizationTeamMembersResponse + +`func NewOrganizationTeamMembersResponse(members []OrganizationTeamMembership, ) *OrganizationTeamMembersResponse` + +NewOrganizationTeamMembersResponse instantiates a new OrganizationTeamMembersResponse object +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 + +### NewOrganizationTeamMembersResponseWithDefaults + +`func NewOrganizationTeamMembersResponseWithDefaults() *OrganizationTeamMembersResponse` + +NewOrganizationTeamMembersResponseWithDefaults instantiates a new OrganizationTeamMembersResponse object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetMembers + +`func (o *OrganizationTeamMembersResponse) GetMembers() []OrganizationTeamMembership` + +GetMembers returns the Members field if non-nil, zero value otherwise. + +### GetMembersOk + +`func (o *OrganizationTeamMembersResponse) GetMembersOk() (*[]OrganizationTeamMembership, bool)` + +GetMembersOk returns a tuple with the Members field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetMembers + +`func (o *OrganizationTeamMembersResponse) SetMembers(v []OrganizationTeamMembership)` + +SetMembers sets Members field to given value. + + + +[[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/docs/OrganizationTeamMembersMembers.md b/docs/OrganizationTeamMembership.md similarity index 50% rename from docs/OrganizationTeamMembersMembers.md rename to docs/OrganizationTeamMembership.md index 7f5ee871..e786309e 100644 --- a/docs/OrganizationTeamMembersMembers.md +++ b/docs/OrganizationTeamMembership.md @@ -1,80 +1,70 @@ -# OrganizationTeamMembersMembers +# OrganizationTeamMembership ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**Role** | Pointer to **string** | | [optional] -**User** | Pointer to **string** | | [optional] +**Role** | **string** | | +**User** | **string** | | ## Methods -### NewOrganizationTeamMembersMembers +### NewOrganizationTeamMembership -`func NewOrganizationTeamMembersMembers() *OrganizationTeamMembersMembers` +`func NewOrganizationTeamMembership(role string, user string, ) *OrganizationTeamMembership` -NewOrganizationTeamMembersMembers instantiates a new OrganizationTeamMembersMembers object +NewOrganizationTeamMembership instantiates a new OrganizationTeamMembership object 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 -### NewOrganizationTeamMembersMembersWithDefaults +### NewOrganizationTeamMembershipWithDefaults -`func NewOrganizationTeamMembersMembersWithDefaults() *OrganizationTeamMembersMembers` +`func NewOrganizationTeamMembershipWithDefaults() *OrganizationTeamMembership` -NewOrganizationTeamMembersMembersWithDefaults instantiates a new OrganizationTeamMembersMembers object +NewOrganizationTeamMembershipWithDefaults instantiates a new OrganizationTeamMembership object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set ### GetRole -`func (o *OrganizationTeamMembersMembers) GetRole() string` +`func (o *OrganizationTeamMembership) GetRole() string` GetRole returns the Role field if non-nil, zero value otherwise. ### GetRoleOk -`func (o *OrganizationTeamMembersMembers) GetRoleOk() (*string, bool)` +`func (o *OrganizationTeamMembership) GetRoleOk() (*string, bool)` GetRoleOk returns a tuple with the Role field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetRole -`func (o *OrganizationTeamMembersMembers) SetRole(v string)` +`func (o *OrganizationTeamMembership) SetRole(v string)` SetRole sets Role field to given value. -### HasRole - -`func (o *OrganizationTeamMembersMembers) HasRole() bool` - -HasRole returns a boolean if a field has been set. ### GetUser -`func (o *OrganizationTeamMembersMembers) GetUser() string` +`func (o *OrganizationTeamMembership) GetUser() string` GetUser returns the User field if non-nil, zero value otherwise. ### GetUserOk -`func (o *OrganizationTeamMembersMembers) GetUserOk() (*string, bool)` +`func (o *OrganizationTeamMembership) GetUserOk() (*string, bool)` GetUserOk returns a tuple with the User field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetUser -`func (o *OrganizationTeamMembersMembers) SetUser(v string)` +`func (o *OrganizationTeamMembership) SetUser(v string)` SetUser sets User field to given value. -### HasUser - -`func (o *OrganizationTeamMembersMembers) HasUser() bool` - -HasUser 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/docs/OrgsTeamsCreate.md b/docs/OrganizationTeamRequest.md similarity index 58% rename from docs/OrgsTeamsCreate.md rename to docs/OrganizationTeamRequest.md index 76a24a1f..443c99c9 100644 --- a/docs/OrgsTeamsCreate.md +++ b/docs/OrganizationTeamRequest.md @@ -1,125 +1,125 @@ -# OrgsTeamsCreate +# OrganizationTeamRequest ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**Description** | Pointer to **string** | None | [optional] -**Name** | **string** | None | -**Slug** | Pointer to **string** | None | [optional] -**Visibility** | Pointer to **string** | None | [optional] +**Description** | Pointer to **string** | | [optional] +**Name** | **string** | | +**Slug** | Pointer to **string** | | [optional] +**Visibility** | Pointer to **string** | | [optional] [default to "Visible"] ## Methods -### NewOrgsTeamsCreate +### NewOrganizationTeamRequest -`func NewOrgsTeamsCreate(name string, ) *OrgsTeamsCreate` +`func NewOrganizationTeamRequest(name string, ) *OrganizationTeamRequest` -NewOrgsTeamsCreate instantiates a new OrgsTeamsCreate object +NewOrganizationTeamRequest instantiates a new OrganizationTeamRequest object 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 -### NewOrgsTeamsCreateWithDefaults +### NewOrganizationTeamRequestWithDefaults -`func NewOrgsTeamsCreateWithDefaults() *OrgsTeamsCreate` +`func NewOrganizationTeamRequestWithDefaults() *OrganizationTeamRequest` -NewOrgsTeamsCreateWithDefaults instantiates a new OrgsTeamsCreate object +NewOrganizationTeamRequestWithDefaults instantiates a new OrganizationTeamRequest object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set ### GetDescription -`func (o *OrgsTeamsCreate) GetDescription() string` +`func (o *OrganizationTeamRequest) GetDescription() string` GetDescription returns the Description field if non-nil, zero value otherwise. ### GetDescriptionOk -`func (o *OrgsTeamsCreate) GetDescriptionOk() (*string, bool)` +`func (o *OrganizationTeamRequest) GetDescriptionOk() (*string, bool)` GetDescriptionOk returns a tuple with the Description field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetDescription -`func (o *OrgsTeamsCreate) SetDescription(v string)` +`func (o *OrganizationTeamRequest) SetDescription(v string)` SetDescription sets Description field to given value. ### HasDescription -`func (o *OrgsTeamsCreate) HasDescription() bool` +`func (o *OrganizationTeamRequest) HasDescription() bool` HasDescription returns a boolean if a field has been set. ### GetName -`func (o *OrgsTeamsCreate) GetName() string` +`func (o *OrganizationTeamRequest) GetName() string` GetName returns the Name field if non-nil, zero value otherwise. ### GetNameOk -`func (o *OrgsTeamsCreate) GetNameOk() (*string, bool)` +`func (o *OrganizationTeamRequest) GetNameOk() (*string, bool)` 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. ### SetName -`func (o *OrgsTeamsCreate) SetName(v string)` +`func (o *OrganizationTeamRequest) SetName(v string)` SetName sets Name field to given value. ### GetSlug -`func (o *OrgsTeamsCreate) GetSlug() string` +`func (o *OrganizationTeamRequest) GetSlug() string` GetSlug returns the Slug field if non-nil, zero value otherwise. ### GetSlugOk -`func (o *OrgsTeamsCreate) GetSlugOk() (*string, bool)` +`func (o *OrganizationTeamRequest) GetSlugOk() (*string, bool)` GetSlugOk returns a tuple with the Slug field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetSlug -`func (o *OrgsTeamsCreate) SetSlug(v string)` +`func (o *OrganizationTeamRequest) SetSlug(v string)` SetSlug sets Slug field to given value. ### HasSlug -`func (o *OrgsTeamsCreate) HasSlug() bool` +`func (o *OrganizationTeamRequest) HasSlug() bool` HasSlug returns a boolean if a field has been set. ### GetVisibility -`func (o *OrgsTeamsCreate) GetVisibility() string` +`func (o *OrganizationTeamRequest) GetVisibility() string` GetVisibility returns the Visibility field if non-nil, zero value otherwise. ### GetVisibilityOk -`func (o *OrgsTeamsCreate) GetVisibilityOk() (*string, bool)` +`func (o *OrganizationTeamRequest) GetVisibilityOk() (*string, bool)` GetVisibilityOk returns a tuple with the Visibility field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetVisibility -`func (o *OrgsTeamsCreate) SetVisibility(v string)` +`func (o *OrganizationTeamRequest) SetVisibility(v string)` SetVisibility sets Visibility field to given value. ### HasVisibility -`func (o *OrgsTeamsCreate) HasVisibility() bool` +`func (o *OrganizationTeamRequest) HasVisibility() bool` HasVisibility returns a boolean if a field has been set. diff --git a/docs/OrgsTeamsPartialUpdate.md b/docs/OrganizationTeamRequestPatch.md similarity index 56% rename from docs/OrgsTeamsPartialUpdate.md rename to docs/OrganizationTeamRequestPatch.md index 57652439..d69facc2 100644 --- a/docs/OrgsTeamsPartialUpdate.md +++ b/docs/OrganizationTeamRequestPatch.md @@ -1,130 +1,130 @@ -# OrgsTeamsPartialUpdate +# OrganizationTeamRequestPatch ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**Description** | Pointer to **string** | None | [optional] -**Name** | Pointer to **string** | None | [optional] -**Slug** | Pointer to **string** | None | [optional] -**Visibility** | Pointer to **string** | None | [optional] +**Description** | Pointer to **string** | | [optional] +**Name** | Pointer to **string** | | [optional] +**Slug** | Pointer to **string** | | [optional] +**Visibility** | Pointer to **string** | | [optional] [default to "Visible"] ## Methods -### NewOrgsTeamsPartialUpdate +### NewOrganizationTeamRequestPatch -`func NewOrgsTeamsPartialUpdate() *OrgsTeamsPartialUpdate` +`func NewOrganizationTeamRequestPatch() *OrganizationTeamRequestPatch` -NewOrgsTeamsPartialUpdate instantiates a new OrgsTeamsPartialUpdate object +NewOrganizationTeamRequestPatch instantiates a new OrganizationTeamRequestPatch object 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 -### NewOrgsTeamsPartialUpdateWithDefaults +### NewOrganizationTeamRequestPatchWithDefaults -`func NewOrgsTeamsPartialUpdateWithDefaults() *OrgsTeamsPartialUpdate` +`func NewOrganizationTeamRequestPatchWithDefaults() *OrganizationTeamRequestPatch` -NewOrgsTeamsPartialUpdateWithDefaults instantiates a new OrgsTeamsPartialUpdate object +NewOrganizationTeamRequestPatchWithDefaults instantiates a new OrganizationTeamRequestPatch object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set ### GetDescription -`func (o *OrgsTeamsPartialUpdate) GetDescription() string` +`func (o *OrganizationTeamRequestPatch) GetDescription() string` GetDescription returns the Description field if non-nil, zero value otherwise. ### GetDescriptionOk -`func (o *OrgsTeamsPartialUpdate) GetDescriptionOk() (*string, bool)` +`func (o *OrganizationTeamRequestPatch) GetDescriptionOk() (*string, bool)` GetDescriptionOk returns a tuple with the Description field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetDescription -`func (o *OrgsTeamsPartialUpdate) SetDescription(v string)` +`func (o *OrganizationTeamRequestPatch) SetDescription(v string)` SetDescription sets Description field to given value. ### HasDescription -`func (o *OrgsTeamsPartialUpdate) HasDescription() bool` +`func (o *OrganizationTeamRequestPatch) HasDescription() bool` HasDescription returns a boolean if a field has been set. ### GetName -`func (o *OrgsTeamsPartialUpdate) GetName() string` +`func (o *OrganizationTeamRequestPatch) GetName() string` GetName returns the Name field if non-nil, zero value otherwise. ### GetNameOk -`func (o *OrgsTeamsPartialUpdate) GetNameOk() (*string, bool)` +`func (o *OrganizationTeamRequestPatch) GetNameOk() (*string, bool)` 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. ### SetName -`func (o *OrgsTeamsPartialUpdate) SetName(v string)` +`func (o *OrganizationTeamRequestPatch) SetName(v string)` SetName sets Name field to given value. ### HasName -`func (o *OrgsTeamsPartialUpdate) HasName() bool` +`func (o *OrganizationTeamRequestPatch) HasName() bool` HasName returns a boolean if a field has been set. ### GetSlug -`func (o *OrgsTeamsPartialUpdate) GetSlug() string` +`func (o *OrganizationTeamRequestPatch) GetSlug() string` GetSlug returns the Slug field if non-nil, zero value otherwise. ### GetSlugOk -`func (o *OrgsTeamsPartialUpdate) GetSlugOk() (*string, bool)` +`func (o *OrganizationTeamRequestPatch) GetSlugOk() (*string, bool)` GetSlugOk returns a tuple with the Slug field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetSlug -`func (o *OrgsTeamsPartialUpdate) SetSlug(v string)` +`func (o *OrganizationTeamRequestPatch) SetSlug(v string)` SetSlug sets Slug field to given value. ### HasSlug -`func (o *OrgsTeamsPartialUpdate) HasSlug() bool` +`func (o *OrganizationTeamRequestPatch) HasSlug() bool` HasSlug returns a boolean if a field has been set. ### GetVisibility -`func (o *OrgsTeamsPartialUpdate) GetVisibility() string` +`func (o *OrganizationTeamRequestPatch) GetVisibility() string` GetVisibility returns the Visibility field if non-nil, zero value otherwise. ### GetVisibilityOk -`func (o *OrgsTeamsPartialUpdate) GetVisibilityOk() (*string, bool)` +`func (o *OrganizationTeamRequestPatch) GetVisibilityOk() (*string, bool)` GetVisibilityOk returns a tuple with the Visibility field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetVisibility -`func (o *OrgsTeamsPartialUpdate) SetVisibility(v string)` +`func (o *OrganizationTeamRequestPatch) SetVisibility(v string)` SetVisibility sets Visibility field to given value. ### HasVisibility -`func (o *OrgsTeamsPartialUpdate) HasVisibility() bool` +`func (o *OrganizationTeamRequestPatch) HasVisibility() bool` HasVisibility returns a boolean if a field has been set. diff --git a/docs/OrganizationTeam.md b/docs/OrganizationTeamResponse.md similarity index 60% rename from docs/OrganizationTeam.md rename to docs/OrganizationTeamResponse.md index cd18d378..7e1f9660 100644 --- a/docs/OrganizationTeam.md +++ b/docs/OrganizationTeamResponse.md @@ -1,4 +1,4 @@ -# OrganizationTeam +# OrganizationTeamResponse ## Properties @@ -7,145 +7,145 @@ Name | Type | Description | Notes **Description** | Pointer to **string** | | [optional] **Name** | **string** | | **Slug** | Pointer to **string** | | [optional] -**SlugPerm** | Pointer to **string** | | [optional] -**Visibility** | Pointer to **string** | | [optional] +**SlugPerm** | Pointer to **string** | | [optional] [readonly] +**Visibility** | Pointer to **string** | | [optional] [default to "Visible"] ## Methods -### NewOrganizationTeam +### NewOrganizationTeamResponse -`func NewOrganizationTeam(name string, ) *OrganizationTeam` +`func NewOrganizationTeamResponse(name string, ) *OrganizationTeamResponse` -NewOrganizationTeam instantiates a new OrganizationTeam object +NewOrganizationTeamResponse instantiates a new OrganizationTeamResponse object 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 -### NewOrganizationTeamWithDefaults +### NewOrganizationTeamResponseWithDefaults -`func NewOrganizationTeamWithDefaults() *OrganizationTeam` +`func NewOrganizationTeamResponseWithDefaults() *OrganizationTeamResponse` -NewOrganizationTeamWithDefaults instantiates a new OrganizationTeam object +NewOrganizationTeamResponseWithDefaults instantiates a new OrganizationTeamResponse object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set ### GetDescription -`func (o *OrganizationTeam) GetDescription() string` +`func (o *OrganizationTeamResponse) GetDescription() string` GetDescription returns the Description field if non-nil, zero value otherwise. ### GetDescriptionOk -`func (o *OrganizationTeam) GetDescriptionOk() (*string, bool)` +`func (o *OrganizationTeamResponse) GetDescriptionOk() (*string, bool)` GetDescriptionOk returns a tuple with the Description field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetDescription -`func (o *OrganizationTeam) SetDescription(v string)` +`func (o *OrganizationTeamResponse) SetDescription(v string)` SetDescription sets Description field to given value. ### HasDescription -`func (o *OrganizationTeam) HasDescription() bool` +`func (o *OrganizationTeamResponse) HasDescription() bool` HasDescription returns a boolean if a field has been set. ### GetName -`func (o *OrganizationTeam) GetName() string` +`func (o *OrganizationTeamResponse) GetName() string` GetName returns the Name field if non-nil, zero value otherwise. ### GetNameOk -`func (o *OrganizationTeam) GetNameOk() (*string, bool)` +`func (o *OrganizationTeamResponse) GetNameOk() (*string, bool)` 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. ### SetName -`func (o *OrganizationTeam) SetName(v string)` +`func (o *OrganizationTeamResponse) SetName(v string)` SetName sets Name field to given value. ### GetSlug -`func (o *OrganizationTeam) GetSlug() string` +`func (o *OrganizationTeamResponse) GetSlug() string` GetSlug returns the Slug field if non-nil, zero value otherwise. ### GetSlugOk -`func (o *OrganizationTeam) GetSlugOk() (*string, bool)` +`func (o *OrganizationTeamResponse) GetSlugOk() (*string, bool)` GetSlugOk returns a tuple with the Slug field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetSlug -`func (o *OrganizationTeam) SetSlug(v string)` +`func (o *OrganizationTeamResponse) SetSlug(v string)` SetSlug sets Slug field to given value. ### HasSlug -`func (o *OrganizationTeam) HasSlug() bool` +`func (o *OrganizationTeamResponse) HasSlug() bool` HasSlug returns a boolean if a field has been set. ### GetSlugPerm -`func (o *OrganizationTeam) GetSlugPerm() string` +`func (o *OrganizationTeamResponse) GetSlugPerm() string` GetSlugPerm returns the SlugPerm field if non-nil, zero value otherwise. ### GetSlugPermOk -`func (o *OrganizationTeam) GetSlugPermOk() (*string, bool)` +`func (o *OrganizationTeamResponse) GetSlugPermOk() (*string, bool)` GetSlugPermOk returns a tuple with the SlugPerm field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetSlugPerm -`func (o *OrganizationTeam) SetSlugPerm(v string)` +`func (o *OrganizationTeamResponse) SetSlugPerm(v string)` SetSlugPerm sets SlugPerm field to given value. ### HasSlugPerm -`func (o *OrganizationTeam) HasSlugPerm() bool` +`func (o *OrganizationTeamResponse) HasSlugPerm() bool` HasSlugPerm returns a boolean if a field has been set. ### GetVisibility -`func (o *OrganizationTeam) GetVisibility() string` +`func (o *OrganizationTeamResponse) GetVisibility() string` GetVisibility returns the Visibility field if non-nil, zero value otherwise. ### GetVisibilityOk -`func (o *OrganizationTeam) GetVisibilityOk() (*string, bool)` +`func (o *OrganizationTeamResponse) GetVisibilityOk() (*string, bool)` GetVisibilityOk returns a tuple with the Visibility field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetVisibility -`func (o *OrganizationTeam) SetVisibility(v string)` +`func (o *OrganizationTeamResponse) SetVisibility(v string)` SetVisibility sets Visibility field to given value. ### HasVisibility -`func (o *OrganizationTeam) HasVisibility() bool` +`func (o *OrganizationTeamResponse) HasVisibility() bool` HasVisibility returns a boolean if a field has been set. diff --git a/docs/OrgsApi.md b/docs/OrgsApi.md index a626e337..605cb919 100644 --- a/docs/OrgsApi.md +++ b/docs/OrgsApi.md @@ -8,26 +8,37 @@ Method | HTTP request | Description [**OrgsInvitesDelete**](OrgsApi.md#OrgsInvitesDelete) | **Delete** /orgs/{org}/invites/{slug_perm}/ | Delete a specific organization invite [**OrgsInvitesExtend**](OrgsApi.md#OrgsInvitesExtend) | **Post** /orgs/{org}/invites/{slug_perm}/extend/ | Extend an organization invite. [**OrgsInvitesList**](OrgsApi.md#OrgsInvitesList) | **Get** /orgs/{org}/invites/ | Get a list of all invites for an organization. +[**OrgsInvitesPartialUpdate**](OrgsApi.md#OrgsInvitesPartialUpdate) | **Patch** /orgs/{org}/invites/{slug_perm}/ | Update a specific organization invite. +[**OrgsInvitesResend**](OrgsApi.md#OrgsInvitesResend) | **Post** /orgs/{org}/invites/{slug_perm}/resend/ | Resend an organization invite. [**OrgsList**](OrgsApi.md#OrgsList) | **Get** /orgs/ | Get a list of all the organizations you are associated with. +[**OrgsMembersDelete**](OrgsApi.md#OrgsMembersDelete) | **Delete** /orgs/{org}/members/{member}/ | Removes a member from the organization. [**OrgsMembersList**](OrgsApi.md#OrgsMembersList) | **Get** /orgs/{org}/members/ | Get the details for all organization members. [**OrgsMembersRead**](OrgsApi.md#OrgsMembersRead) | **Get** /orgs/{org}/members/{member}/ | Get the details for a specific organization member. -[**OrgsMembersRemove**](OrgsApi.md#OrgsMembersRemove) | **Get** /orgs/{org}/members/{member}/remove/ | Removes a member from the organization. +[**OrgsMembersRemove**](OrgsApi.md#OrgsMembersRemove) | **Get** /orgs/{org}/members/{member}/remove/ | Removes a member from the organization (deprecated, use DELETE instead). [**OrgsRead**](OrgsApi.md#OrgsRead) | **Get** /orgs/{org}/ | Get the details for the specific organization. [**OrgsSamlGroupSyncCreate**](OrgsApi.md#OrgsSamlGroupSyncCreate) | **Post** /orgs/{org}/saml-group-sync/ | Create a new SAML Group Sync mapping within an organization. [**OrgsSamlGroupSyncDelete**](OrgsApi.md#OrgsSamlGroupSyncDelete) | **Delete** /orgs/{org}/saml-group-sync/{slug_perm}/ | Delete a SAML Group Sync mapping from an organization. [**OrgsSamlGroupSyncList**](OrgsApi.md#OrgsSamlGroupSyncList) | **Get** /orgs/{org}/saml-group-sync/ | Get the details of all SAML Group Sync mapping within an organization. +[**OrgsServicesCreate**](OrgsApi.md#OrgsServicesCreate) | **Post** /orgs/{org}/services/ | Create a service within an organization. +[**OrgsServicesDelete**](OrgsApi.md#OrgsServicesDelete) | **Delete** /orgs/{org}/services/{service}/ | Delete a specific service +[**OrgsServicesList**](OrgsApi.md#OrgsServicesList) | **Get** /orgs/{org}/services/ | Get a list of all services within an organization. +[**OrgsServicesPartialUpdate**](OrgsApi.md#OrgsServicesPartialUpdate) | **Patch** /orgs/{org}/services/{service}/ | Update a service within an organization. +[**OrgsServicesRead**](OrgsApi.md#OrgsServicesRead) | **Get** /orgs/{org}/services/{service}/ | Retrieve details of a single service within an organization. +[**OrgsServicesRefresh**](OrgsApi.md#OrgsServicesRefresh) | **Post** /orgs/{org}/services/{service}/refresh/ | Refresh service API token. [**OrgsTeamsCreate**](OrgsApi.md#OrgsTeamsCreate) | **Post** /orgs/{org}/teams/ | Create a team for this organization. -[**OrgsTeamsDelete**](OrgsApi.md#OrgsTeamsDelete) | **Delete** /orgs/{org}/teams/{slug_perm}/ | Delete a specific team in a organization. +[**OrgsTeamsDelete**](OrgsApi.md#OrgsTeamsDelete) | **Delete** /orgs/{org}/teams/{team}/ | Delete a specific team in a organization. [**OrgsTeamsList**](OrgsApi.md#OrgsTeamsList) | **Get** /orgs/{org}/teams/ | Get the details of all teams within an organization. +[**OrgsTeamsMembersCreate**](OrgsApi.md#OrgsTeamsMembersCreate) | **Post** /orgs/{org}/teams/{team}/members | Add users to a team. [**OrgsTeamsMembersList**](OrgsApi.md#OrgsTeamsMembersList) | **Get** /orgs/{org}/teams/{team}/members | List all members for the team. -[**OrgsTeamsPartialUpdate**](OrgsApi.md#OrgsTeamsPartialUpdate) | **Patch** /orgs/{org}/teams/{slug_perm}/ | Update a specific team in a organization. -[**OrgsTeamsRead**](OrgsApi.md#OrgsTeamsRead) | **Get** /orgs/{org}/teams/{slug_perm}/ | Viewset for working with Organization teams. +[**OrgsTeamsMembersUpdate**](OrgsApi.md#OrgsTeamsMembersUpdate) | **Put** /orgs/{org}/teams/{team}/members | Replace all team members. +[**OrgsTeamsPartialUpdate**](OrgsApi.md#OrgsTeamsPartialUpdate) | **Patch** /orgs/{org}/teams/{team}/ | Update a specific team in a organization. +[**OrgsTeamsRead**](OrgsApi.md#OrgsTeamsRead) | **Get** /orgs/{org}/teams/{team}/ | Get the details of a specific team within an organization. ## OrgsInvitesCreate -> OrganizationInvite OrgsInvitesCreate(ctx, org).Data(data).Execute() +> OrganizationInviteResponse OrgsInvitesCreate(ctx, org).Data(data).Execute() Create an organization invite for a specific user @@ -47,7 +58,7 @@ import ( func main() { org := "org_example" // string | - data := *openapiclient.NewOrgsInvitesCreate() // OrgsInvitesCreate | (optional) + data := *openapiclient.NewOrganizationInviteRequest() // OrganizationInviteRequest | (optional) configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) @@ -56,7 +67,7 @@ func main() { fmt.Fprintf(os.Stderr, "Error when calling `OrgsApi.OrgsInvitesCreate``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } - // response from `OrgsInvitesCreate`: OrganizationInvite + // response from `OrgsInvitesCreate`: OrganizationInviteResponse fmt.Fprintf(os.Stdout, "Response from `OrgsApi.OrgsInvitesCreate`: %v\n", resp) } ``` @@ -77,11 +88,11 @@ Other parameters are passed through a pointer to a apiOrgsInvitesCreateRequest s Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **data** | [**OrgsInvitesCreate**](OrgsInvitesCreate.md) | | + **data** | [**OrganizationInviteRequest**](OrganizationInviteRequest.md) | | ### Return type -[**OrganizationInvite**](OrganizationInvite.md) +[**OrganizationInviteResponse**](OrganizationInviteResponse.md) ### Authorization @@ -90,7 +101,7 @@ Name | Type | Description | Notes ### HTTP request headers - **Content-Type**: application/json -- **Accept**: */* +- **Accept**: application/json [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) @@ -161,7 +172,7 @@ Name | Type | Description | Notes ### HTTP request headers - **Content-Type**: Not defined -- **Accept**: */* +- **Accept**: application/json [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) @@ -170,7 +181,7 @@ Name | Type | Description | Notes ## OrgsInvitesExtend -> OrganizationInviteExtend OrgsInvitesExtend(ctx, org, slugPerm).Data(data).Execute() +> OrganizationInviteExtendResponse OrgsInvitesExtend(ctx, org, slugPerm).Execute() Extend an organization invite. @@ -191,16 +202,15 @@ import ( func main() { org := "org_example" // string | slugPerm := "slugPerm_example" // string | - data := *openapiclient.NewOrgsInvitesExtend() // OrgsInvitesExtend | (optional) configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) - resp, r, err := apiClient.OrgsApi.OrgsInvitesExtend(context.Background(), org, slugPerm).Data(data).Execute() + resp, r, err := apiClient.OrgsApi.OrgsInvitesExtend(context.Background(), org, slugPerm).Execute() if err != nil { fmt.Fprintf(os.Stderr, "Error when calling `OrgsApi.OrgsInvitesExtend``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } - // response from `OrgsInvitesExtend`: OrganizationInviteExtend + // response from `OrgsInvitesExtend`: OrganizationInviteExtendResponse fmt.Fprintf(os.Stdout, "Response from `OrgsApi.OrgsInvitesExtend`: %v\n", resp) } ``` @@ -223,11 +233,10 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **data** | [**OrgsInvitesExtend**](OrgsInvitesExtend.md) | | ### Return type -[**OrganizationInviteExtend**](OrganizationInviteExtend.md) +[**OrganizationInviteExtendResponse**](OrganizationInviteExtendResponse.md) ### Authorization @@ -235,8 +244,8 @@ Name | Type | Description | Notes ### HTTP request headers -- **Content-Type**: application/json -- **Accept**: */* +- **Content-Type**: Not defined +- **Accept**: application/json [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) @@ -245,7 +254,7 @@ Name | Type | Description | Notes ## OrgsInvitesList -> []OrganizationInvite OrgsInvitesList(ctx, org).Page(page).PageSize(pageSize).Execute() +> []OrganizationInviteResponse OrgsInvitesList(ctx, org).Page(page).PageSize(pageSize).Execute() Get a list of all invites for an organization. @@ -275,7 +284,7 @@ func main() { fmt.Fprintf(os.Stderr, "Error when calling `OrgsApi.OrgsInvitesList``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } - // response from `OrgsInvitesList`: []OrganizationInvite + // response from `OrgsInvitesList`: []OrganizationInviteResponse fmt.Fprintf(os.Stdout, "Response from `OrgsApi.OrgsInvitesList`: %v\n", resp) } ``` @@ -301,7 +310,155 @@ Name | Type | Description | Notes ### Return type -[**[]OrganizationInvite**](OrganizationInvite.md) +[**[]OrganizationInviteResponse**](OrganizationInviteResponse.md) + +### Authorization + +[apikey](../README.md#apikey) + +### HTTP request headers + +- **Content-Type**: Not defined +- **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) +[[Back to Model list]](../README.md#documentation-for-models) +[[Back to README]](../README.md) + + +## OrgsInvitesPartialUpdate + +> OrganizationInviteResponse OrgsInvitesPartialUpdate(ctx, org, slugPerm).Data(data).Execute() + +Update a specific organization invite. + + + +### Example + +```go +package main + +import ( + "context" + "fmt" + "os" + openapiclient "./openapi" +) + +func main() { + org := "org_example" // string | + slugPerm := "slugPerm_example" // string | + data := *openapiclient.NewOrganizationInviteUpdateRequestPatch() // OrganizationInviteUpdateRequestPatch | (optional) + + configuration := openapiclient.NewConfiguration() + apiClient := openapiclient.NewAPIClient(configuration) + resp, r, err := apiClient.OrgsApi.OrgsInvitesPartialUpdate(context.Background(), org, slugPerm).Data(data).Execute() + if err != nil { + fmt.Fprintf(os.Stderr, "Error when calling `OrgsApi.OrgsInvitesPartialUpdate``: %v\n", err) + fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) + } + // response from `OrgsInvitesPartialUpdate`: OrganizationInviteResponse + fmt.Fprintf(os.Stdout, "Response from `OrgsApi.OrgsInvitesPartialUpdate`: %v\n", resp) +} +``` + +### Path Parameters + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- +**ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc. +**org** | **string** | | +**slugPerm** | **string** | | + +### Other Parameters + +Other parameters are passed through a pointer to a apiOrgsInvitesPartialUpdateRequest struct via the builder pattern + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + + + **data** | [**OrganizationInviteUpdateRequestPatch**](OrganizationInviteUpdateRequestPatch.md) | | + +### Return type + +[**OrganizationInviteResponse**](OrganizationInviteResponse.md) + +### Authorization + +[apikey](../README.md#apikey) + +### HTTP request headers + +- **Content-Type**: application/json +- **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) +[[Back to Model list]](../README.md#documentation-for-models) +[[Back to README]](../README.md) + + +## OrgsInvitesResend + +> OrganizationInviteExtendResponse OrgsInvitesResend(ctx, org, slugPerm).Execute() + +Resend an organization invite. + + + +### Example + +```go +package main + +import ( + "context" + "fmt" + "os" + openapiclient "./openapi" +) + +func main() { + org := "org_example" // string | + slugPerm := "slugPerm_example" // string | + + configuration := openapiclient.NewConfiguration() + apiClient := openapiclient.NewAPIClient(configuration) + resp, r, err := apiClient.OrgsApi.OrgsInvitesResend(context.Background(), org, slugPerm).Execute() + if err != nil { + fmt.Fprintf(os.Stderr, "Error when calling `OrgsApi.OrgsInvitesResend``: %v\n", err) + fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) + } + // response from `OrgsInvitesResend`: OrganizationInviteExtendResponse + fmt.Fprintf(os.Stdout, "Response from `OrgsApi.OrgsInvitesResend`: %v\n", resp) +} +``` + +### Path Parameters + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- +**ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc. +**org** | **string** | | +**slugPerm** | **string** | | + +### Other Parameters + +Other parameters are passed through a pointer to a apiOrgsInvitesResendRequest struct via the builder pattern + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + + + +### Return type + +[**OrganizationInviteExtendResponse**](OrganizationInviteExtendResponse.md) ### Authorization @@ -310,7 +467,7 @@ Name | Type | Description | Notes ### HTTP request headers - **Content-Type**: Not defined -- **Accept**: */* +- **Accept**: application/json [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) @@ -319,7 +476,7 @@ Name | Type | Description | Notes ## OrgsList -> []Organization OrgsList(ctx).Page(page).PageSize(pageSize).Execute() +> []OrganizationResponse OrgsList(ctx).Page(page).PageSize(pageSize).Execute() Get a list of all the organizations you are associated with. @@ -348,7 +505,7 @@ func main() { fmt.Fprintf(os.Stderr, "Error when calling `OrgsApi.OrgsList``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } - // response from `OrgsList`: []Organization + // response from `OrgsList`: []OrganizationResponse fmt.Fprintf(os.Stdout, "Response from `OrgsApi.OrgsList`: %v\n", resp) } ``` @@ -369,7 +526,7 @@ Name | Type | Description | Notes ### Return type -[**[]Organization**](Organization.md) +[**[]OrganizationResponse**](OrganizationResponse.md) ### Authorization @@ -378,7 +535,78 @@ Name | Type | Description | Notes ### HTTP request headers - **Content-Type**: Not defined -- **Accept**: */* +- **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) +[[Back to Model list]](../README.md#documentation-for-models) +[[Back to README]](../README.md) + + +## OrgsMembersDelete + +> OrgsMembersDelete(ctx, org, member).Execute() + +Removes a member from the organization. + + + +### Example + +```go +package main + +import ( + "context" + "fmt" + "os" + openapiclient "./openapi" +) + +func main() { + org := "org_example" // string | + member := "member_example" // string | + + configuration := openapiclient.NewConfiguration() + apiClient := openapiclient.NewAPIClient(configuration) + resp, r, err := apiClient.OrgsApi.OrgsMembersDelete(context.Background(), org, member).Execute() + if err != nil { + fmt.Fprintf(os.Stderr, "Error when calling `OrgsApi.OrgsMembersDelete``: %v\n", err) + fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) + } +} +``` + +### Path Parameters + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- +**ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc. +**org** | **string** | | +**member** | **string** | | + +### Other Parameters + +Other parameters are passed through a pointer to a apiOrgsMembersDeleteRequest struct via the builder pattern + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + + + +### Return type + + (empty response body) + +### Authorization + +[apikey](../README.md#apikey) + +### HTTP request headers + +- **Content-Type**: Not defined +- **Accept**: application/json [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) @@ -387,7 +615,7 @@ Name | Type | Description | Notes ## OrgsMembersList -> []OrganizationMembership OrgsMembersList(ctx, org).Page(page).PageSize(pageSize).Execute() +> []OrganizationMembershipResponse OrgsMembersList(ctx, org).Page(page).PageSize(pageSize).Execute() Get the details for all organization members. @@ -417,7 +645,7 @@ func main() { fmt.Fprintf(os.Stderr, "Error when calling `OrgsApi.OrgsMembersList``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } - // response from `OrgsMembersList`: []OrganizationMembership + // response from `OrgsMembersList`: []OrganizationMembershipResponse fmt.Fprintf(os.Stdout, "Response from `OrgsApi.OrgsMembersList`: %v\n", resp) } ``` @@ -443,7 +671,7 @@ Name | Type | Description | Notes ### Return type -[**[]OrganizationMembership**](OrganizationMembership.md) +[**[]OrganizationMembershipResponse**](OrganizationMembershipResponse.md) ### Authorization @@ -452,7 +680,7 @@ Name | Type | Description | Notes ### HTTP request headers - **Content-Type**: Not defined -- **Accept**: */* +- **Accept**: application/json [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) @@ -461,7 +689,7 @@ Name | Type | Description | Notes ## OrgsMembersRead -> OrganizationMembership OrgsMembersRead(ctx, org, member).Execute() +> OrganizationMembershipResponse OrgsMembersRead(ctx, org, member).Execute() Get the details for a specific organization member. @@ -490,7 +718,7 @@ func main() { fmt.Fprintf(os.Stderr, "Error when calling `OrgsApi.OrgsMembersRead``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } - // response from `OrgsMembersRead`: OrganizationMembership + // response from `OrgsMembersRead`: OrganizationMembershipResponse fmt.Fprintf(os.Stdout, "Response from `OrgsApi.OrgsMembersRead`: %v\n", resp) } ``` @@ -516,7 +744,7 @@ Name | Type | Description | Notes ### Return type -[**OrganizationMembership**](OrganizationMembership.md) +[**OrganizationMembershipResponse**](OrganizationMembershipResponse.md) ### Authorization @@ -525,7 +753,7 @@ Name | Type | Description | Notes ### HTTP request headers - **Content-Type**: Not defined -- **Accept**: */* +- **Accept**: application/json [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) @@ -534,9 +762,9 @@ Name | Type | Description | Notes ## OrgsMembersRemove -> OrganizationMembership OrgsMembersRemove(ctx, org, member).Execute() +> OrgsMembersRemove(ctx, org, member).Execute() -Removes a member from the organization. +Removes a member from the organization (deprecated, use DELETE instead). @@ -563,8 +791,6 @@ func main() { fmt.Fprintf(os.Stderr, "Error when calling `OrgsApi.OrgsMembersRemove``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } - // response from `OrgsMembersRemove`: OrganizationMembership - fmt.Fprintf(os.Stdout, "Response from `OrgsApi.OrgsMembersRemove`: %v\n", resp) } ``` @@ -589,7 +815,7 @@ Name | Type | Description | Notes ### Return type -[**OrganizationMembership**](OrganizationMembership.md) + (empty response body) ### Authorization @@ -598,7 +824,7 @@ Name | Type | Description | Notes ### HTTP request headers - **Content-Type**: Not defined -- **Accept**: */* +- **Accept**: application/json [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) @@ -607,7 +833,7 @@ Name | Type | Description | Notes ## OrgsRead -> Organization OrgsRead(ctx, org).Execute() +> OrganizationResponse OrgsRead(ctx, org).Execute() Get the details for the specific organization. @@ -635,7 +861,7 @@ func main() { fmt.Fprintf(os.Stderr, "Error when calling `OrgsApi.OrgsRead``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } - // response from `OrgsRead`: Organization + // response from `OrgsRead`: OrganizationResponse fmt.Fprintf(os.Stdout, "Response from `OrgsApi.OrgsRead`: %v\n", resp) } ``` @@ -659,7 +885,7 @@ Name | Type | Description | Notes ### Return type -[**Organization**](Organization.md) +[**OrganizationResponse**](OrganizationResponse.md) ### Authorization @@ -668,7 +894,7 @@ Name | Type | Description | Notes ### HTTP request headers - **Content-Type**: Not defined -- **Accept**: */* +- **Accept**: application/json [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) @@ -677,7 +903,7 @@ Name | Type | Description | Notes ## OrgsSamlGroupSyncCreate -> OrganizationGroupSync OrgsSamlGroupSyncCreate(ctx, org).Data(data).Execute() +> OrganizationGroupSyncResponse OrgsSamlGroupSyncCreate(ctx, org).Data(data).Execute() Create a new SAML Group Sync mapping within an organization. @@ -697,7 +923,7 @@ import ( func main() { org := "org_example" // string | - data := *openapiclient.NewOrgsSamlGroupSyncCreate("IdpKey_example", "IdpValue_example", "Organization_example", "Team_example") // OrgsSamlGroupSyncCreate | (optional) + data := *openapiclient.NewOrganizationGroupSyncRequest("IdpKey_example", "IdpValue_example", "Organization_example", "Team_example") // OrganizationGroupSyncRequest | (optional) configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) @@ -706,7 +932,7 @@ func main() { fmt.Fprintf(os.Stderr, "Error when calling `OrgsApi.OrgsSamlGroupSyncCreate``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } - // response from `OrgsSamlGroupSyncCreate`: OrganizationGroupSync + // response from `OrgsSamlGroupSyncCreate`: OrganizationGroupSyncResponse fmt.Fprintf(os.Stdout, "Response from `OrgsApi.OrgsSamlGroupSyncCreate`: %v\n", resp) } ``` @@ -727,11 +953,11 @@ Other parameters are passed through a pointer to a apiOrgsSamlGroupSyncCreateReq Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **data** | [**OrgsSamlGroupSyncCreate**](OrgsSamlGroupSyncCreate.md) | | + **data** | [**OrganizationGroupSyncRequest**](OrganizationGroupSyncRequest.md) | | ### Return type -[**OrganizationGroupSync**](OrganizationGroupSync.md) +[**OrganizationGroupSyncResponse**](OrganizationGroupSyncResponse.md) ### Authorization @@ -740,7 +966,7 @@ Name | Type | Description | Notes ### HTTP request headers - **Content-Type**: application/json -- **Accept**: */* +- **Accept**: application/json [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) @@ -811,7 +1037,7 @@ Name | Type | Description | Notes ### HTTP request headers - **Content-Type**: Not defined -- **Accept**: */* +- **Accept**: application/json [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) @@ -820,7 +1046,7 @@ Name | Type | Description | Notes ## OrgsSamlGroupSyncList -> []OrganizationGroupSync OrgsSamlGroupSyncList(ctx, org).Page(page).PageSize(pageSize).Execute() +> []OrganizationGroupSyncResponse OrgsSamlGroupSyncList(ctx, org).Page(page).PageSize(pageSize).Execute() Get the details of all SAML Group Sync mapping within an organization. @@ -850,7 +1076,7 @@ func main() { fmt.Fprintf(os.Stderr, "Error when calling `OrgsApi.OrgsSamlGroupSyncList``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } - // response from `OrgsSamlGroupSyncList`: []OrganizationGroupSync + // response from `OrgsSamlGroupSyncList`: []OrganizationGroupSyncResponse fmt.Fprintf(os.Stdout, "Response from `OrgsApi.OrgsSamlGroupSyncList`: %v\n", resp) } ``` @@ -876,7 +1102,7 @@ Name | Type | Description | Notes ### Return type -[**[]OrganizationGroupSync**](OrganizationGroupSync.md) +[**[]OrganizationGroupSyncResponse**](OrganizationGroupSyncResponse.md) ### Authorization @@ -885,18 +1111,18 @@ Name | Type | Description | Notes ### HTTP request headers - **Content-Type**: Not defined -- **Accept**: */* +- **Accept**: application/json [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -## OrgsTeamsCreate +## OrgsServicesCreate -> OrganizationTeam OrgsTeamsCreate(ctx, org).Data(data).Execute() +> ServiceResponse OrgsServicesCreate(ctx, org).Data(data).Execute() -Create a team for this organization. +Create a service within an organization. @@ -914,17 +1140,17 @@ import ( func main() { org := "org_example" // string | - data := *openapiclient.NewOrgsTeamsCreate("Name_example") // OrgsTeamsCreate | (optional) + data := *openapiclient.NewServiceRequest("Name_example") // ServiceRequest | (optional) configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) - resp, r, err := apiClient.OrgsApi.OrgsTeamsCreate(context.Background(), org).Data(data).Execute() + resp, r, err := apiClient.OrgsApi.OrgsServicesCreate(context.Background(), org).Data(data).Execute() if err != nil { - fmt.Fprintf(os.Stderr, "Error when calling `OrgsApi.OrgsTeamsCreate``: %v\n", err) + fmt.Fprintf(os.Stderr, "Error when calling `OrgsApi.OrgsServicesCreate``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } - // response from `OrgsTeamsCreate`: OrganizationTeam - fmt.Fprintf(os.Stdout, "Response from `OrgsApi.OrgsTeamsCreate`: %v\n", resp) + // response from `OrgsServicesCreate`: ServiceResponse + fmt.Fprintf(os.Stdout, "Response from `OrgsApi.OrgsServicesCreate`: %v\n", resp) } ``` @@ -938,17 +1164,17 @@ Name | Type | Description | Notes ### Other Parameters -Other parameters are passed through a pointer to a apiOrgsTeamsCreateRequest struct via the builder pattern +Other parameters are passed through a pointer to a apiOrgsServicesCreateRequest struct via the builder pattern Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **data** | [**OrgsTeamsCreate**](OrgsTeamsCreate.md) | | + **data** | [**ServiceRequest**](ServiceRequest.md) | | ### Return type -[**OrganizationTeam**](OrganizationTeam.md) +[**ServiceResponse**](ServiceResponse.md) ### Authorization @@ -957,18 +1183,18 @@ Name | Type | Description | Notes ### HTTP request headers - **Content-Type**: application/json -- **Accept**: */* +- **Accept**: application/json [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -## OrgsTeamsDelete +## OrgsServicesDelete -> OrgsTeamsDelete(ctx, org, slugPerm).Execute() +> OrgsServicesDelete(ctx, org, service).Execute() -Delete a specific team in a organization. +Delete a specific service @@ -986,13 +1212,13 @@ import ( func main() { org := "org_example" // string | - slugPerm := "slugPerm_example" // string | + service := "service_example" // string | configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) - resp, r, err := apiClient.OrgsApi.OrgsTeamsDelete(context.Background(), org, slugPerm).Execute() + resp, r, err := apiClient.OrgsApi.OrgsServicesDelete(context.Background(), org, service).Execute() if err != nil { - fmt.Fprintf(os.Stderr, "Error when calling `OrgsApi.OrgsTeamsDelete``: %v\n", err) + fmt.Fprintf(os.Stderr, "Error when calling `OrgsApi.OrgsServicesDelete``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } } @@ -1005,11 +1231,11 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc. **org** | **string** | | -**slugPerm** | **string** | | +**service** | **string** | | ### Other Parameters -Other parameters are passed through a pointer to a apiOrgsTeamsDeleteRequest struct via the builder pattern +Other parameters are passed through a pointer to a apiOrgsServicesDeleteRequest struct via the builder pattern Name | Type | Description | Notes @@ -1028,18 +1254,18 @@ Name | Type | Description | Notes ### HTTP request headers - **Content-Type**: Not defined -- **Accept**: */* +- **Accept**: application/json [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -## OrgsTeamsList +## OrgsServicesList -> []OrganizationTeam OrgsTeamsList(ctx, org).Page(page).PageSize(pageSize).Execute() +> []ServiceResponse OrgsServicesList(ctx, org).Page(page).PageSize(pageSize).Execute() -Get the details of all teams within an organization. +Get a list of all services within an organization. @@ -1062,13 +1288,13 @@ func main() { configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) - resp, r, err := apiClient.OrgsApi.OrgsTeamsList(context.Background(), org).Page(page).PageSize(pageSize).Execute() + resp, r, err := apiClient.OrgsApi.OrgsServicesList(context.Background(), org).Page(page).PageSize(pageSize).Execute() if err != nil { - fmt.Fprintf(os.Stderr, "Error when calling `OrgsApi.OrgsTeamsList``: %v\n", err) + fmt.Fprintf(os.Stderr, "Error when calling `OrgsApi.OrgsServicesList``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } - // response from `OrgsTeamsList`: []OrganizationTeam - fmt.Fprintf(os.Stdout, "Response from `OrgsApi.OrgsTeamsList`: %v\n", resp) + // response from `OrgsServicesList`: []ServiceResponse + fmt.Fprintf(os.Stdout, "Response from `OrgsApi.OrgsServicesList`: %v\n", resp) } ``` @@ -1082,7 +1308,7 @@ Name | Type | Description | Notes ### Other Parameters -Other parameters are passed through a pointer to a apiOrgsTeamsListRequest struct via the builder pattern +Other parameters are passed through a pointer to a apiOrgsServicesListRequest struct via the builder pattern Name | Type | Description | Notes @@ -1093,7 +1319,7 @@ Name | Type | Description | Notes ### Return type -[**[]OrganizationTeam**](OrganizationTeam.md) +[**[]ServiceResponse**](ServiceResponse.md) ### Authorization @@ -1102,18 +1328,18 @@ Name | Type | Description | Notes ### HTTP request headers - **Content-Type**: Not defined -- **Accept**: */* +- **Accept**: application/json [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -## OrgsTeamsMembersList +## OrgsServicesPartialUpdate -> OrganizationTeamMembers OrgsTeamsMembersList(ctx, org, team).Execute() +> ServiceResponse OrgsServicesPartialUpdate(ctx, org, service).Data(data).Execute() -List all members for the team. +Update a service within an organization. @@ -1131,17 +1357,18 @@ import ( func main() { org := "org_example" // string | - team := "team_example" // string | + service := "service_example" // string | + data := *openapiclient.NewServiceRequestPatch() // ServiceRequestPatch | (optional) configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) - resp, r, err := apiClient.OrgsApi.OrgsTeamsMembersList(context.Background(), org, team).Execute() + resp, r, err := apiClient.OrgsApi.OrgsServicesPartialUpdate(context.Background(), org, service).Data(data).Execute() if err != nil { - fmt.Fprintf(os.Stderr, "Error when calling `OrgsApi.OrgsTeamsMembersList``: %v\n", err) + fmt.Fprintf(os.Stderr, "Error when calling `OrgsApi.OrgsServicesPartialUpdate``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } - // response from `OrgsTeamsMembersList`: OrganizationTeamMembers - fmt.Fprintf(os.Stdout, "Response from `OrgsApi.OrgsTeamsMembersList`: %v\n", resp) + // response from `OrgsServicesPartialUpdate`: ServiceResponse + fmt.Fprintf(os.Stdout, "Response from `OrgsApi.OrgsServicesPartialUpdate`: %v\n", resp) } ``` @@ -1152,21 +1379,22 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc. **org** | **string** | | -**team** | **string** | | +**service** | **string** | | ### Other Parameters -Other parameters are passed through a pointer to a apiOrgsTeamsMembersListRequest struct via the builder pattern +Other parameters are passed through a pointer to a apiOrgsServicesPartialUpdateRequest struct via the builder pattern Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- + **data** | [**ServiceRequestPatch**](ServiceRequestPatch.md) | | ### Return type -[**OrganizationTeamMembers**](OrganizationTeamMembers.md) +[**ServiceResponse**](ServiceResponse.md) ### Authorization @@ -1174,19 +1402,19 @@ Name | Type | Description | Notes ### HTTP request headers -- **Content-Type**: Not defined -- **Accept**: */* +- **Content-Type**: application/json +- **Accept**: application/json [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -## OrgsTeamsPartialUpdate +## OrgsServicesRead -> OrganizationTeam OrgsTeamsPartialUpdate(ctx, org, slugPerm).Data(data).Execute() +> ServiceResponse OrgsServicesRead(ctx, org, service).Execute() -Update a specific team in a organization. +Retrieve details of a single service within an organization. @@ -1204,18 +1432,17 @@ import ( func main() { org := "org_example" // string | - slugPerm := "slugPerm_example" // string | - data := *openapiclient.NewOrgsTeamsPartialUpdate() // OrgsTeamsPartialUpdate | (optional) + service := "service_example" // string | configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) - resp, r, err := apiClient.OrgsApi.OrgsTeamsPartialUpdate(context.Background(), org, slugPerm).Data(data).Execute() + resp, r, err := apiClient.OrgsApi.OrgsServicesRead(context.Background(), org, service).Execute() if err != nil { - fmt.Fprintf(os.Stderr, "Error when calling `OrgsApi.OrgsTeamsPartialUpdate``: %v\n", err) + fmt.Fprintf(os.Stderr, "Error when calling `OrgsApi.OrgsServicesRead``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } - // response from `OrgsTeamsPartialUpdate`: OrganizationTeam - fmt.Fprintf(os.Stdout, "Response from `OrgsApi.OrgsTeamsPartialUpdate`: %v\n", resp) + // response from `OrgsServicesRead`: ServiceResponse + fmt.Fprintf(os.Stdout, "Response from `OrgsApi.OrgsServicesRead`: %v\n", resp) } ``` @@ -1226,22 +1453,21 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc. **org** | **string** | | -**slugPerm** | **string** | | +**service** | **string** | | ### Other Parameters -Other parameters are passed through a pointer to a apiOrgsTeamsPartialUpdateRequest struct via the builder pattern +Other parameters are passed through a pointer to a apiOrgsServicesReadRequest struct via the builder pattern Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **data** | [**OrgsTeamsPartialUpdate**](OrgsTeamsPartialUpdate.md) | | ### Return type -[**OrganizationTeam**](OrganizationTeam.md) +[**ServiceResponse**](ServiceResponse.md) ### Authorization @@ -1249,19 +1475,19 @@ Name | Type | Description | Notes ### HTTP request headers -- **Content-Type**: application/json -- **Accept**: */* +- **Content-Type**: Not defined +- **Accept**: application/json [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -## OrgsTeamsRead +## OrgsServicesRefresh -> OrganizationTeam OrgsTeamsRead(ctx, org, slugPerm).Execute() +> ServiceResponse OrgsServicesRefresh(ctx, org, service).Execute() -Viewset for working with Organization teams. +Refresh service API token. @@ -1279,17 +1505,17 @@ import ( func main() { org := "org_example" // string | - slugPerm := "slugPerm_example" // string | + service := "service_example" // string | configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) - resp, r, err := apiClient.OrgsApi.OrgsTeamsRead(context.Background(), org, slugPerm).Execute() + resp, r, err := apiClient.OrgsApi.OrgsServicesRefresh(context.Background(), org, service).Execute() if err != nil { - fmt.Fprintf(os.Stderr, "Error when calling `OrgsApi.OrgsTeamsRead``: %v\n", err) + fmt.Fprintf(os.Stderr, "Error when calling `OrgsApi.OrgsServicesRefresh``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } - // response from `OrgsTeamsRead`: OrganizationTeam - fmt.Fprintf(os.Stdout, "Response from `OrgsApi.OrgsTeamsRead`: %v\n", resp) + // response from `OrgsServicesRefresh`: ServiceResponse + fmt.Fprintf(os.Stdout, "Response from `OrgsApi.OrgsServicesRefresh`: %v\n", resp) } ``` @@ -1300,7 +1526,593 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc. **org** | **string** | | -**slugPerm** | **string** | | +**service** | **string** | | + +### Other Parameters + +Other parameters are passed through a pointer to a apiOrgsServicesRefreshRequest struct via the builder pattern + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + + + +### Return type + +[**ServiceResponse**](ServiceResponse.md) + +### Authorization + +[apikey](../README.md#apikey) + +### HTTP request headers + +- **Content-Type**: Not defined +- **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) +[[Back to Model list]](../README.md#documentation-for-models) +[[Back to README]](../README.md) + + +## OrgsTeamsCreate + +> OrganizationTeamResponse OrgsTeamsCreate(ctx, org).Data(data).Execute() + +Create a team for this organization. + + + +### Example + +```go +package main + +import ( + "context" + "fmt" + "os" + openapiclient "./openapi" +) + +func main() { + org := "org_example" // string | + data := *openapiclient.NewOrganizationTeamRequest("Name_example") // OrganizationTeamRequest | (optional) + + configuration := openapiclient.NewConfiguration() + apiClient := openapiclient.NewAPIClient(configuration) + resp, r, err := apiClient.OrgsApi.OrgsTeamsCreate(context.Background(), org).Data(data).Execute() + if err != nil { + fmt.Fprintf(os.Stderr, "Error when calling `OrgsApi.OrgsTeamsCreate``: %v\n", err) + fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) + } + // response from `OrgsTeamsCreate`: OrganizationTeamResponse + fmt.Fprintf(os.Stdout, "Response from `OrgsApi.OrgsTeamsCreate`: %v\n", resp) +} +``` + +### Path Parameters + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- +**ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc. +**org** | **string** | | + +### Other Parameters + +Other parameters are passed through a pointer to a apiOrgsTeamsCreateRequest struct via the builder pattern + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + + **data** | [**OrganizationTeamRequest**](OrganizationTeamRequest.md) | | + +### Return type + +[**OrganizationTeamResponse**](OrganizationTeamResponse.md) + +### Authorization + +[apikey](../README.md#apikey) + +### HTTP request headers + +- **Content-Type**: application/json +- **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) +[[Back to Model list]](../README.md#documentation-for-models) +[[Back to README]](../README.md) + + +## OrgsTeamsDelete + +> OrgsTeamsDelete(ctx, org, team).Execute() + +Delete a specific team in a organization. + + + +### Example + +```go +package main + +import ( + "context" + "fmt" + "os" + openapiclient "./openapi" +) + +func main() { + org := "org_example" // string | + team := "team_example" // string | + + configuration := openapiclient.NewConfiguration() + apiClient := openapiclient.NewAPIClient(configuration) + resp, r, err := apiClient.OrgsApi.OrgsTeamsDelete(context.Background(), org, team).Execute() + if err != nil { + fmt.Fprintf(os.Stderr, "Error when calling `OrgsApi.OrgsTeamsDelete``: %v\n", err) + fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) + } +} +``` + +### Path Parameters + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- +**ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc. +**org** | **string** | | +**team** | **string** | | + +### Other Parameters + +Other parameters are passed through a pointer to a apiOrgsTeamsDeleteRequest struct via the builder pattern + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + + + +### Return type + + (empty response body) + +### Authorization + +[apikey](../README.md#apikey) + +### HTTP request headers + +- **Content-Type**: Not defined +- **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) +[[Back to Model list]](../README.md#documentation-for-models) +[[Back to README]](../README.md) + + +## OrgsTeamsList + +> []OrganizationTeamResponse OrgsTeamsList(ctx, org).Page(page).PageSize(pageSize).Execute() + +Get the details of all teams within an organization. + + + +### Example + +```go +package main + +import ( + "context" + "fmt" + "os" + openapiclient "./openapi" +) + +func main() { + org := "org_example" // string | + page := int64(56) // int64 | A page number within the paginated result set. (optional) + pageSize := int64(56) // int64 | Number of results to return per page. (optional) + + configuration := openapiclient.NewConfiguration() + apiClient := openapiclient.NewAPIClient(configuration) + resp, r, err := apiClient.OrgsApi.OrgsTeamsList(context.Background(), org).Page(page).PageSize(pageSize).Execute() + if err != nil { + fmt.Fprintf(os.Stderr, "Error when calling `OrgsApi.OrgsTeamsList``: %v\n", err) + fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) + } + // response from `OrgsTeamsList`: []OrganizationTeamResponse + fmt.Fprintf(os.Stdout, "Response from `OrgsApi.OrgsTeamsList`: %v\n", resp) +} +``` + +### Path Parameters + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- +**ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc. +**org** | **string** | | + +### Other Parameters + +Other parameters are passed through a pointer to a apiOrgsTeamsListRequest struct via the builder pattern + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + + **page** | **int64** | A page number within the paginated result set. | + **pageSize** | **int64** | Number of results to return per page. | + +### Return type + +[**[]OrganizationTeamResponse**](OrganizationTeamResponse.md) + +### Authorization + +[apikey](../README.md#apikey) + +### HTTP request headers + +- **Content-Type**: Not defined +- **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) +[[Back to Model list]](../README.md#documentation-for-models) +[[Back to README]](../README.md) + + +## OrgsTeamsMembersCreate + +> OrganizationTeamMembersResponse OrgsTeamsMembersCreate(ctx, org, team).Data(data).Execute() + +Add users to a team. + + + +### Example + +```go +package main + +import ( + "context" + "fmt" + "os" + openapiclient "./openapi" +) + +func main() { + org := "org_example" // string | + team := "team_example" // string | + data := *openapiclient.NewOrganizationTeamMembers([]openapiclient.OrganizationTeamMembership{*openapiclient.NewOrganizationTeamMembership("Role_example", "User_example")}) // OrganizationTeamMembers | (optional) + + configuration := openapiclient.NewConfiguration() + apiClient := openapiclient.NewAPIClient(configuration) + resp, r, err := apiClient.OrgsApi.OrgsTeamsMembersCreate(context.Background(), org, team).Data(data).Execute() + if err != nil { + fmt.Fprintf(os.Stderr, "Error when calling `OrgsApi.OrgsTeamsMembersCreate``: %v\n", err) + fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) + } + // response from `OrgsTeamsMembersCreate`: OrganizationTeamMembersResponse + fmt.Fprintf(os.Stdout, "Response from `OrgsApi.OrgsTeamsMembersCreate`: %v\n", resp) +} +``` + +### Path Parameters + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- +**ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc. +**org** | **string** | | +**team** | **string** | | + +### Other Parameters + +Other parameters are passed through a pointer to a apiOrgsTeamsMembersCreateRequest struct via the builder pattern + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + + + **data** | [**OrganizationTeamMembers**](OrganizationTeamMembers.md) | | + +### Return type + +[**OrganizationTeamMembersResponse**](OrganizationTeamMembersResponse.md) + +### Authorization + +[apikey](../README.md#apikey) + +### HTTP request headers + +- **Content-Type**: application/json +- **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) +[[Back to Model list]](../README.md#documentation-for-models) +[[Back to README]](../README.md) + + +## OrgsTeamsMembersList + +> OrganizationTeamMembersResponse OrgsTeamsMembersList(ctx, org, team).Execute() + +List all members for the team. + + + +### Example + +```go +package main + +import ( + "context" + "fmt" + "os" + openapiclient "./openapi" +) + +func main() { + org := "org_example" // string | + team := "team_example" // string | + + configuration := openapiclient.NewConfiguration() + apiClient := openapiclient.NewAPIClient(configuration) + resp, r, err := apiClient.OrgsApi.OrgsTeamsMembersList(context.Background(), org, team).Execute() + if err != nil { + fmt.Fprintf(os.Stderr, "Error when calling `OrgsApi.OrgsTeamsMembersList``: %v\n", err) + fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) + } + // response from `OrgsTeamsMembersList`: OrganizationTeamMembersResponse + fmt.Fprintf(os.Stdout, "Response from `OrgsApi.OrgsTeamsMembersList`: %v\n", resp) +} +``` + +### Path Parameters + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- +**ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc. +**org** | **string** | | +**team** | **string** | | + +### Other Parameters + +Other parameters are passed through a pointer to a apiOrgsTeamsMembersListRequest struct via the builder pattern + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + + + +### Return type + +[**OrganizationTeamMembersResponse**](OrganizationTeamMembersResponse.md) + +### Authorization + +[apikey](../README.md#apikey) + +### HTTP request headers + +- **Content-Type**: Not defined +- **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) +[[Back to Model list]](../README.md#documentation-for-models) +[[Back to README]](../README.md) + + +## OrgsTeamsMembersUpdate + +> OrganizationTeamMembersResponse OrgsTeamsMembersUpdate(ctx, org, team).Execute() + +Replace all team members. + + + +### Example + +```go +package main + +import ( + "context" + "fmt" + "os" + openapiclient "./openapi" +) + +func main() { + org := "org_example" // string | + team := "team_example" // string | + + configuration := openapiclient.NewConfiguration() + apiClient := openapiclient.NewAPIClient(configuration) + resp, r, err := apiClient.OrgsApi.OrgsTeamsMembersUpdate(context.Background(), org, team).Execute() + if err != nil { + fmt.Fprintf(os.Stderr, "Error when calling `OrgsApi.OrgsTeamsMembersUpdate``: %v\n", err) + fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) + } + // response from `OrgsTeamsMembersUpdate`: OrganizationTeamMembersResponse + fmt.Fprintf(os.Stdout, "Response from `OrgsApi.OrgsTeamsMembersUpdate`: %v\n", resp) +} +``` + +### Path Parameters + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- +**ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc. +**org** | **string** | | +**team** | **string** | | + +### Other Parameters + +Other parameters are passed through a pointer to a apiOrgsTeamsMembersUpdateRequest struct via the builder pattern + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + + + +### Return type + +[**OrganizationTeamMembersResponse**](OrganizationTeamMembersResponse.md) + +### Authorization + +[apikey](../README.md#apikey) + +### HTTP request headers + +- **Content-Type**: Not defined +- **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) +[[Back to Model list]](../README.md#documentation-for-models) +[[Back to README]](../README.md) + + +## OrgsTeamsPartialUpdate + +> OrganizationTeamResponse OrgsTeamsPartialUpdate(ctx, org, team).Data(data).Execute() + +Update a specific team in a organization. + + + +### Example + +```go +package main + +import ( + "context" + "fmt" + "os" + openapiclient "./openapi" +) + +func main() { + org := "org_example" // string | + team := "team_example" // string | + data := *openapiclient.NewOrganizationTeamRequestPatch() // OrganizationTeamRequestPatch | (optional) + + configuration := openapiclient.NewConfiguration() + apiClient := openapiclient.NewAPIClient(configuration) + resp, r, err := apiClient.OrgsApi.OrgsTeamsPartialUpdate(context.Background(), org, team).Data(data).Execute() + if err != nil { + fmt.Fprintf(os.Stderr, "Error when calling `OrgsApi.OrgsTeamsPartialUpdate``: %v\n", err) + fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) + } + // response from `OrgsTeamsPartialUpdate`: OrganizationTeamResponse + fmt.Fprintf(os.Stdout, "Response from `OrgsApi.OrgsTeamsPartialUpdate`: %v\n", resp) +} +``` + +### Path Parameters + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- +**ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc. +**org** | **string** | | +**team** | **string** | | + +### Other Parameters + +Other parameters are passed through a pointer to a apiOrgsTeamsPartialUpdateRequest struct via the builder pattern + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + + + **data** | [**OrganizationTeamRequestPatch**](OrganizationTeamRequestPatch.md) | | + +### Return type + +[**OrganizationTeamResponse**](OrganizationTeamResponse.md) + +### Authorization + +[apikey](../README.md#apikey) + +### HTTP request headers + +- **Content-Type**: application/json +- **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) +[[Back to Model list]](../README.md#documentation-for-models) +[[Back to README]](../README.md) + + +## OrgsTeamsRead + +> OrganizationTeamResponse OrgsTeamsRead(ctx, org, team).Execute() + +Get the details of a specific team within an organization. + + + +### Example + +```go +package main + +import ( + "context" + "fmt" + "os" + openapiclient "./openapi" +) + +func main() { + org := "org_example" // string | + team := "team_example" // string | + + configuration := openapiclient.NewConfiguration() + apiClient := openapiclient.NewAPIClient(configuration) + resp, r, err := apiClient.OrgsApi.OrgsTeamsRead(context.Background(), org, team).Execute() + if err != nil { + fmt.Fprintf(os.Stderr, "Error when calling `OrgsApi.OrgsTeamsRead``: %v\n", err) + fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) + } + // response from `OrgsTeamsRead`: OrganizationTeamResponse + fmt.Fprintf(os.Stdout, "Response from `OrgsApi.OrgsTeamsRead`: %v\n", resp) +} +``` + +### Path Parameters + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- +**ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc. +**org** | **string** | | +**team** | **string** | | ### Other Parameters @@ -1314,7 +2126,7 @@ Name | Type | Description | Notes ### Return type -[**OrganizationTeam**](OrganizationTeam.md) +[**OrganizationTeamResponse**](OrganizationTeamResponse.md) ### Authorization @@ -1323,7 +2135,7 @@ Name | Type | Description | Notes ### HTTP request headers - **Content-Type**: Not defined -- **Accept**: */* +- **Accept**: application/json [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) diff --git a/docs/OrgsInvitesCreate.md b/docs/OrgsInvitesCreate.md deleted file mode 100644 index 402c49bb..00000000 --- a/docs/OrgsInvitesCreate.md +++ /dev/null @@ -1,160 +0,0 @@ -# OrgsInvitesCreate - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**Email** | Pointer to **string** | None | [optional] -**Inviter** | Pointer to **string** | None | [optional] -**Role** | Pointer to **string** | None | [optional] -**SlugPerm** | Pointer to **string** | None | [optional] -**User** | Pointer to **string** | None | [optional] - -## Methods - -### NewOrgsInvitesCreate - -`func NewOrgsInvitesCreate() *OrgsInvitesCreate` - -NewOrgsInvitesCreate instantiates a new OrgsInvitesCreate object -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 - -### NewOrgsInvitesCreateWithDefaults - -`func NewOrgsInvitesCreateWithDefaults() *OrgsInvitesCreate` - -NewOrgsInvitesCreateWithDefaults instantiates a new OrgsInvitesCreate object -This constructor will only assign default values to properties that have it defined, -but it doesn't guarantee that properties required by API are set - -### GetEmail - -`func (o *OrgsInvitesCreate) GetEmail() string` - -GetEmail returns the Email field if non-nil, zero value otherwise. - -### GetEmailOk - -`func (o *OrgsInvitesCreate) GetEmailOk() (*string, bool)` - -GetEmailOk returns a tuple with the Email field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetEmail - -`func (o *OrgsInvitesCreate) SetEmail(v string)` - -SetEmail sets Email field to given value. - -### HasEmail - -`func (o *OrgsInvitesCreate) HasEmail() bool` - -HasEmail returns a boolean if a field has been set. - -### GetInviter - -`func (o *OrgsInvitesCreate) GetInviter() string` - -GetInviter returns the Inviter field if non-nil, zero value otherwise. - -### GetInviterOk - -`func (o *OrgsInvitesCreate) GetInviterOk() (*string, bool)` - -GetInviterOk returns a tuple with the Inviter field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetInviter - -`func (o *OrgsInvitesCreate) SetInviter(v string)` - -SetInviter sets Inviter field to given value. - -### HasInviter - -`func (o *OrgsInvitesCreate) HasInviter() bool` - -HasInviter returns a boolean if a field has been set. - -### GetRole - -`func (o *OrgsInvitesCreate) GetRole() string` - -GetRole returns the Role field if non-nil, zero value otherwise. - -### GetRoleOk - -`func (o *OrgsInvitesCreate) GetRoleOk() (*string, bool)` - -GetRoleOk returns a tuple with the Role field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetRole - -`func (o *OrgsInvitesCreate) SetRole(v string)` - -SetRole sets Role field to given value. - -### HasRole - -`func (o *OrgsInvitesCreate) HasRole() bool` - -HasRole returns a boolean if a field has been set. - -### GetSlugPerm - -`func (o *OrgsInvitesCreate) GetSlugPerm() string` - -GetSlugPerm returns the SlugPerm field if non-nil, zero value otherwise. - -### GetSlugPermOk - -`func (o *OrgsInvitesCreate) GetSlugPermOk() (*string, bool)` - -GetSlugPermOk returns a tuple with the SlugPerm field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetSlugPerm - -`func (o *OrgsInvitesCreate) SetSlugPerm(v string)` - -SetSlugPerm sets SlugPerm field to given value. - -### HasSlugPerm - -`func (o *OrgsInvitesCreate) HasSlugPerm() bool` - -HasSlugPerm returns a boolean if a field has been set. - -### GetUser - -`func (o *OrgsInvitesCreate) GetUser() string` - -GetUser returns the User field if non-nil, zero value otherwise. - -### GetUserOk - -`func (o *OrgsInvitesCreate) GetUserOk() (*string, bool)` - -GetUserOk returns a tuple with the User field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetUser - -`func (o *OrgsInvitesCreate) SetUser(v string)` - -SetUser sets User field to given value. - -### HasUser - -`func (o *OrgsInvitesCreate) HasUser() bool` - -HasUser 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/docs/OrgsInvitesExtend.md b/docs/OrgsInvitesExtend.md deleted file mode 100644 index 225e1abd..00000000 --- a/docs/OrgsInvitesExtend.md +++ /dev/null @@ -1,134 +0,0 @@ -# OrgsInvitesExtend - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**Email** | Pointer to **string** | None | [optional] -**Inviter** | Pointer to **string** | None | [optional] -**Role** | Pointer to **string** | None | [optional] -**User** | Pointer to **string** | None | [optional] - -## Methods - -### NewOrgsInvitesExtend - -`func NewOrgsInvitesExtend() *OrgsInvitesExtend` - -NewOrgsInvitesExtend instantiates a new OrgsInvitesExtend object -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 - -### NewOrgsInvitesExtendWithDefaults - -`func NewOrgsInvitesExtendWithDefaults() *OrgsInvitesExtend` - -NewOrgsInvitesExtendWithDefaults instantiates a new OrgsInvitesExtend object -This constructor will only assign default values to properties that have it defined, -but it doesn't guarantee that properties required by API are set - -### GetEmail - -`func (o *OrgsInvitesExtend) GetEmail() string` - -GetEmail returns the Email field if non-nil, zero value otherwise. - -### GetEmailOk - -`func (o *OrgsInvitesExtend) GetEmailOk() (*string, bool)` - -GetEmailOk returns a tuple with the Email field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetEmail - -`func (o *OrgsInvitesExtend) SetEmail(v string)` - -SetEmail sets Email field to given value. - -### HasEmail - -`func (o *OrgsInvitesExtend) HasEmail() bool` - -HasEmail returns a boolean if a field has been set. - -### GetInviter - -`func (o *OrgsInvitesExtend) GetInviter() string` - -GetInviter returns the Inviter field if non-nil, zero value otherwise. - -### GetInviterOk - -`func (o *OrgsInvitesExtend) GetInviterOk() (*string, bool)` - -GetInviterOk returns a tuple with the Inviter field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetInviter - -`func (o *OrgsInvitesExtend) SetInviter(v string)` - -SetInviter sets Inviter field to given value. - -### HasInviter - -`func (o *OrgsInvitesExtend) HasInviter() bool` - -HasInviter returns a boolean if a field has been set. - -### GetRole - -`func (o *OrgsInvitesExtend) GetRole() string` - -GetRole returns the Role field if non-nil, zero value otherwise. - -### GetRoleOk - -`func (o *OrgsInvitesExtend) GetRoleOk() (*string, bool)` - -GetRoleOk returns a tuple with the Role field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetRole - -`func (o *OrgsInvitesExtend) SetRole(v string)` - -SetRole sets Role field to given value. - -### HasRole - -`func (o *OrgsInvitesExtend) HasRole() bool` - -HasRole returns a boolean if a field has been set. - -### GetUser - -`func (o *OrgsInvitesExtend) GetUser() string` - -GetUser returns the User field if non-nil, zero value otherwise. - -### GetUserOk - -`func (o *OrgsInvitesExtend) GetUserOk() (*string, bool)` - -GetUserOk returns a tuple with the User field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetUser - -`func (o *OrgsInvitesExtend) SetUser(v string)` - -SetUser sets User field to given value. - -### HasUser - -`func (o *OrgsInvitesExtend) HasUser() bool` - -HasUser 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/docs/P2PackageUpload.md b/docs/P2PackageUpload.md deleted file mode 100644 index be6607d6..00000000 --- a/docs/P2PackageUpload.md +++ /dev/null @@ -1,1746 +0,0 @@ -# P2PackageUpload - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**Architectures** | Pointer to [**[]PackagesOwnerRepoArchitectures**](PackagesOwnerRepoArchitectures.md) | | [optional] -**CdnUrl** | Pointer to **string** | | [optional] -**ChecksumMd5** | Pointer to **string** | | [optional] -**ChecksumSha1** | Pointer to **string** | | [optional] -**ChecksumSha256** | Pointer to **string** | | [optional] -**ChecksumSha512** | Pointer to **string** | | [optional] -**DependenciesChecksumMd5** | Pointer to **string** | A checksum of all of the package's dependencies. | [optional] -**DependenciesUrl** | Pointer to **string** | | [optional] -**Description** | Pointer to **string** | A textual description of this package. | [optional] -**Distro** | Pointer to **map[string]interface{}** | | [optional] -**DistroVersion** | Pointer to **map[string]interface{}** | | [optional] -**Downloads** | Pointer to **int64** | | [optional] -**Epoch** | Pointer to **int64** | The epoch of the package version (if any). | [optional] -**Extension** | Pointer to **string** | | [optional] -**Filename** | Pointer to **string** | | [optional] -**Files** | Pointer to [**[]PackagesOwnerRepoFiles**](PackagesOwnerRepoFiles.md) | | [optional] -**Format** | Pointer to **string** | | [optional] -**FormatUrl** | Pointer to **string** | | [optional] -**IdentifierPerm** | Pointer to **string** | Unique and permanent identifier for the package. | [optional] -**Indexed** | Pointer to **bool** | | [optional] -**IsDownloadable** | Pointer to **bool** | | [optional] -**IsQuarantined** | Pointer to **bool** | | [optional] -**IsSyncAwaiting** | Pointer to **bool** | | [optional] -**IsSyncCompleted** | Pointer to **bool** | | [optional] -**IsSyncFailed** | Pointer to **bool** | | [optional] -**IsSyncInFlight** | Pointer to **bool** | | [optional] -**IsSyncInProgress** | Pointer to **bool** | | [optional] -**License** | Pointer to **string** | The license of this package. | [optional] -**Name** | Pointer to **string** | The name of this package. | [optional] -**Namespace** | Pointer to **string** | | [optional] -**NamespaceUrl** | Pointer to **string** | | [optional] -**NumFiles** | Pointer to **int64** | | [optional] -**PackageType** | Pointer to **int64** | The type of package contents. | [optional] -**Release** | Pointer to **string** | The release of the package version (if any). | [optional] -**Repository** | Pointer to **string** | | [optional] -**RepositoryUrl** | Pointer to **string** | | [optional] -**SecurityScanCompletedAt** | Pointer to **string** | The datetime the security scanning was completed. | [optional] -**SecurityScanStartedAt** | Pointer to **string** | The datetime the security scanning was started. | [optional] -**SecurityScanStatus** | Pointer to **string** | | [optional] -**SecurityScanStatusUpdatedAt** | Pointer to **string** | The datetime the security scanning status was updated. | [optional] -**SelfHtmlUrl** | Pointer to **string** | | [optional] -**SelfUrl** | Pointer to **string** | | [optional] -**SignatureUrl** | Pointer to **string** | | [optional] -**Size** | Pointer to **int64** | The calculated size of the package. | [optional] -**Slug** | Pointer to **string** | The public unique identifier for the package. | [optional] -**SlugPerm** | Pointer to **string** | | [optional] -**Stage** | Pointer to **int64** | The synchronisation (in progress) stage of the package. | [optional] -**StageStr** | Pointer to **string** | | [optional] -**StageUpdatedAt** | Pointer to **string** | The datetime the package stage was updated at. | [optional] -**Status** | Pointer to **int64** | The synchronisation status of the package. | [optional] -**StatusReason** | Pointer to **string** | A textual description for the synchronous status reason (if any | [optional] -**StatusStr** | Pointer to **string** | | [optional] -**StatusUpdatedAt** | Pointer to **string** | The datetime the package status was updated at. | [optional] -**StatusUrl** | Pointer to **string** | | [optional] -**Subtype** | Pointer to **string** | | [optional] -**Summary** | Pointer to **string** | A one-liner synopsis of this package. | [optional] -**SyncFinishedAt** | Pointer to **string** | The datetime the package sync was finished at. | [optional] -**SyncProgress** | Pointer to **int64** | Synchronisation progress (from 0-100) | [optional] -**TagsImmutable** | Pointer to **map[string]interface{}** | All immutable tags on the package, grouped by tag type. Immutable tags cannot be (easily) deleted. | [optional] -**TypeDisplay** | Pointer to **string** | | [optional] -**UploadedAt** | Pointer to **string** | The date this package was uploaded. | [optional] -**Uploader** | Pointer to **string** | | [optional] -**UploaderUrl** | Pointer to **string** | | [optional] -**Version** | Pointer to **string** | The raw version for this package. | [optional] -**VersionOrig** | Pointer to **string** | | [optional] -**VulnerabilityScanResultsUrl** | Pointer to **string** | | [optional] - -## Methods - -### NewP2PackageUpload - -`func NewP2PackageUpload() *P2PackageUpload` - -NewP2PackageUpload instantiates a new P2PackageUpload object -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 - -### NewP2PackageUploadWithDefaults - -`func NewP2PackageUploadWithDefaults() *P2PackageUpload` - -NewP2PackageUploadWithDefaults instantiates a new P2PackageUpload object -This constructor will only assign default values to properties that have it defined, -but it doesn't guarantee that properties required by API are set - -### GetArchitectures - -`func (o *P2PackageUpload) GetArchitectures() []PackagesOwnerRepoArchitectures` - -GetArchitectures returns the Architectures field if non-nil, zero value otherwise. - -### GetArchitecturesOk - -`func (o *P2PackageUpload) GetArchitecturesOk() (*[]PackagesOwnerRepoArchitectures, bool)` - -GetArchitecturesOk returns a tuple with the Architectures field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetArchitectures - -`func (o *P2PackageUpload) SetArchitectures(v []PackagesOwnerRepoArchitectures)` - -SetArchitectures sets Architectures field to given value. - -### HasArchitectures - -`func (o *P2PackageUpload) HasArchitectures() bool` - -HasArchitectures returns a boolean if a field has been set. - -### GetCdnUrl - -`func (o *P2PackageUpload) GetCdnUrl() string` - -GetCdnUrl returns the CdnUrl field if non-nil, zero value otherwise. - -### GetCdnUrlOk - -`func (o *P2PackageUpload) GetCdnUrlOk() (*string, bool)` - -GetCdnUrlOk returns a tuple with the CdnUrl field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetCdnUrl - -`func (o *P2PackageUpload) SetCdnUrl(v string)` - -SetCdnUrl sets CdnUrl field to given value. - -### HasCdnUrl - -`func (o *P2PackageUpload) HasCdnUrl() bool` - -HasCdnUrl returns a boolean if a field has been set. - -### GetChecksumMd5 - -`func (o *P2PackageUpload) GetChecksumMd5() string` - -GetChecksumMd5 returns the ChecksumMd5 field if non-nil, zero value otherwise. - -### GetChecksumMd5Ok - -`func (o *P2PackageUpload) GetChecksumMd5Ok() (*string, bool)` - -GetChecksumMd5Ok returns a tuple with the ChecksumMd5 field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetChecksumMd5 - -`func (o *P2PackageUpload) SetChecksumMd5(v string)` - -SetChecksumMd5 sets ChecksumMd5 field to given value. - -### HasChecksumMd5 - -`func (o *P2PackageUpload) HasChecksumMd5() bool` - -HasChecksumMd5 returns a boolean if a field has been set. - -### GetChecksumSha1 - -`func (o *P2PackageUpload) GetChecksumSha1() string` - -GetChecksumSha1 returns the ChecksumSha1 field if non-nil, zero value otherwise. - -### GetChecksumSha1Ok - -`func (o *P2PackageUpload) GetChecksumSha1Ok() (*string, bool)` - -GetChecksumSha1Ok returns a tuple with the ChecksumSha1 field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetChecksumSha1 - -`func (o *P2PackageUpload) SetChecksumSha1(v string)` - -SetChecksumSha1 sets ChecksumSha1 field to given value. - -### HasChecksumSha1 - -`func (o *P2PackageUpload) HasChecksumSha1() bool` - -HasChecksumSha1 returns a boolean if a field has been set. - -### GetChecksumSha256 - -`func (o *P2PackageUpload) GetChecksumSha256() string` - -GetChecksumSha256 returns the ChecksumSha256 field if non-nil, zero value otherwise. - -### GetChecksumSha256Ok - -`func (o *P2PackageUpload) GetChecksumSha256Ok() (*string, bool)` - -GetChecksumSha256Ok returns a tuple with the ChecksumSha256 field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetChecksumSha256 - -`func (o *P2PackageUpload) SetChecksumSha256(v string)` - -SetChecksumSha256 sets ChecksumSha256 field to given value. - -### HasChecksumSha256 - -`func (o *P2PackageUpload) HasChecksumSha256() bool` - -HasChecksumSha256 returns a boolean if a field has been set. - -### GetChecksumSha512 - -`func (o *P2PackageUpload) GetChecksumSha512() string` - -GetChecksumSha512 returns the ChecksumSha512 field if non-nil, zero value otherwise. - -### GetChecksumSha512Ok - -`func (o *P2PackageUpload) GetChecksumSha512Ok() (*string, bool)` - -GetChecksumSha512Ok returns a tuple with the ChecksumSha512 field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetChecksumSha512 - -`func (o *P2PackageUpload) SetChecksumSha512(v string)` - -SetChecksumSha512 sets ChecksumSha512 field to given value. - -### HasChecksumSha512 - -`func (o *P2PackageUpload) HasChecksumSha512() bool` - -HasChecksumSha512 returns a boolean if a field has been set. - -### GetDependenciesChecksumMd5 - -`func (o *P2PackageUpload) GetDependenciesChecksumMd5() string` - -GetDependenciesChecksumMd5 returns the DependenciesChecksumMd5 field if non-nil, zero value otherwise. - -### GetDependenciesChecksumMd5Ok - -`func (o *P2PackageUpload) GetDependenciesChecksumMd5Ok() (*string, bool)` - -GetDependenciesChecksumMd5Ok returns a tuple with the DependenciesChecksumMd5 field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetDependenciesChecksumMd5 - -`func (o *P2PackageUpload) SetDependenciesChecksumMd5(v string)` - -SetDependenciesChecksumMd5 sets DependenciesChecksumMd5 field to given value. - -### HasDependenciesChecksumMd5 - -`func (o *P2PackageUpload) HasDependenciesChecksumMd5() bool` - -HasDependenciesChecksumMd5 returns a boolean if a field has been set. - -### GetDependenciesUrl - -`func (o *P2PackageUpload) GetDependenciesUrl() string` - -GetDependenciesUrl returns the DependenciesUrl field if non-nil, zero value otherwise. - -### GetDependenciesUrlOk - -`func (o *P2PackageUpload) GetDependenciesUrlOk() (*string, bool)` - -GetDependenciesUrlOk returns a tuple with the DependenciesUrl field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetDependenciesUrl - -`func (o *P2PackageUpload) SetDependenciesUrl(v string)` - -SetDependenciesUrl sets DependenciesUrl field to given value. - -### HasDependenciesUrl - -`func (o *P2PackageUpload) HasDependenciesUrl() bool` - -HasDependenciesUrl returns a boolean if a field has been set. - -### GetDescription - -`func (o *P2PackageUpload) GetDescription() string` - -GetDescription returns the Description field if non-nil, zero value otherwise. - -### GetDescriptionOk - -`func (o *P2PackageUpload) GetDescriptionOk() (*string, bool)` - -GetDescriptionOk returns a tuple with the Description field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetDescription - -`func (o *P2PackageUpload) SetDescription(v string)` - -SetDescription sets Description field to given value. - -### HasDescription - -`func (o *P2PackageUpload) HasDescription() bool` - -HasDescription returns a boolean if a field has been set. - -### GetDistro - -`func (o *P2PackageUpload) GetDistro() map[string]interface{}` - -GetDistro returns the Distro field if non-nil, zero value otherwise. - -### GetDistroOk - -`func (o *P2PackageUpload) GetDistroOk() (*map[string]interface{}, bool)` - -GetDistroOk returns a tuple with the Distro field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetDistro - -`func (o *P2PackageUpload) SetDistro(v map[string]interface{})` - -SetDistro sets Distro field to given value. - -### HasDistro - -`func (o *P2PackageUpload) HasDistro() bool` - -HasDistro returns a boolean if a field has been set. - -### GetDistroVersion - -`func (o *P2PackageUpload) GetDistroVersion() map[string]interface{}` - -GetDistroVersion returns the DistroVersion field if non-nil, zero value otherwise. - -### GetDistroVersionOk - -`func (o *P2PackageUpload) GetDistroVersionOk() (*map[string]interface{}, bool)` - -GetDistroVersionOk returns a tuple with the DistroVersion field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetDistroVersion - -`func (o *P2PackageUpload) SetDistroVersion(v map[string]interface{})` - -SetDistroVersion sets DistroVersion field to given value. - -### HasDistroVersion - -`func (o *P2PackageUpload) HasDistroVersion() bool` - -HasDistroVersion returns a boolean if a field has been set. - -### GetDownloads - -`func (o *P2PackageUpload) GetDownloads() int64` - -GetDownloads returns the Downloads field if non-nil, zero value otherwise. - -### GetDownloadsOk - -`func (o *P2PackageUpload) GetDownloadsOk() (*int64, bool)` - -GetDownloadsOk returns a tuple with the Downloads field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetDownloads - -`func (o *P2PackageUpload) SetDownloads(v int64)` - -SetDownloads sets Downloads field to given value. - -### HasDownloads - -`func (o *P2PackageUpload) HasDownloads() bool` - -HasDownloads returns a boolean if a field has been set. - -### GetEpoch - -`func (o *P2PackageUpload) GetEpoch() int64` - -GetEpoch returns the Epoch field if non-nil, zero value otherwise. - -### GetEpochOk - -`func (o *P2PackageUpload) GetEpochOk() (*int64, bool)` - -GetEpochOk returns a tuple with the Epoch field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetEpoch - -`func (o *P2PackageUpload) SetEpoch(v int64)` - -SetEpoch sets Epoch field to given value. - -### HasEpoch - -`func (o *P2PackageUpload) HasEpoch() bool` - -HasEpoch returns a boolean if a field has been set. - -### GetExtension - -`func (o *P2PackageUpload) GetExtension() string` - -GetExtension returns the Extension field if non-nil, zero value otherwise. - -### GetExtensionOk - -`func (o *P2PackageUpload) GetExtensionOk() (*string, bool)` - -GetExtensionOk returns a tuple with the Extension field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetExtension - -`func (o *P2PackageUpload) SetExtension(v string)` - -SetExtension sets Extension field to given value. - -### HasExtension - -`func (o *P2PackageUpload) HasExtension() bool` - -HasExtension returns a boolean if a field has been set. - -### GetFilename - -`func (o *P2PackageUpload) GetFilename() string` - -GetFilename returns the Filename field if non-nil, zero value otherwise. - -### GetFilenameOk - -`func (o *P2PackageUpload) GetFilenameOk() (*string, bool)` - -GetFilenameOk returns a tuple with the Filename field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetFilename - -`func (o *P2PackageUpload) SetFilename(v string)` - -SetFilename sets Filename field to given value. - -### HasFilename - -`func (o *P2PackageUpload) HasFilename() bool` - -HasFilename returns a boolean if a field has been set. - -### GetFiles - -`func (o *P2PackageUpload) GetFiles() []PackagesOwnerRepoFiles` - -GetFiles returns the Files field if non-nil, zero value otherwise. - -### GetFilesOk - -`func (o *P2PackageUpload) GetFilesOk() (*[]PackagesOwnerRepoFiles, 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 *P2PackageUpload) SetFiles(v []PackagesOwnerRepoFiles)` - -SetFiles sets Files field to given value. - -### HasFiles - -`func (o *P2PackageUpload) HasFiles() bool` - -HasFiles returns a boolean if a field has been set. - -### GetFormat - -`func (o *P2PackageUpload) GetFormat() string` - -GetFormat returns the Format field if non-nil, zero value otherwise. - -### GetFormatOk - -`func (o *P2PackageUpload) GetFormatOk() (*string, bool)` - -GetFormatOk returns a tuple with the Format field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetFormat - -`func (o *P2PackageUpload) SetFormat(v string)` - -SetFormat sets Format field to given value. - -### HasFormat - -`func (o *P2PackageUpload) HasFormat() bool` - -HasFormat returns a boolean if a field has been set. - -### GetFormatUrl - -`func (o *P2PackageUpload) GetFormatUrl() string` - -GetFormatUrl returns the FormatUrl field if non-nil, zero value otherwise. - -### GetFormatUrlOk - -`func (o *P2PackageUpload) GetFormatUrlOk() (*string, bool)` - -GetFormatUrlOk returns a tuple with the FormatUrl field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetFormatUrl - -`func (o *P2PackageUpload) SetFormatUrl(v string)` - -SetFormatUrl sets FormatUrl field to given value. - -### HasFormatUrl - -`func (o *P2PackageUpload) HasFormatUrl() bool` - -HasFormatUrl returns a boolean if a field has been set. - -### GetIdentifierPerm - -`func (o *P2PackageUpload) GetIdentifierPerm() string` - -GetIdentifierPerm returns the IdentifierPerm field if non-nil, zero value otherwise. - -### GetIdentifierPermOk - -`func (o *P2PackageUpload) GetIdentifierPermOk() (*string, bool)` - -GetIdentifierPermOk returns a tuple with the IdentifierPerm field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetIdentifierPerm - -`func (o *P2PackageUpload) SetIdentifierPerm(v string)` - -SetIdentifierPerm sets IdentifierPerm field to given value. - -### HasIdentifierPerm - -`func (o *P2PackageUpload) HasIdentifierPerm() bool` - -HasIdentifierPerm returns a boolean if a field has been set. - -### GetIndexed - -`func (o *P2PackageUpload) GetIndexed() bool` - -GetIndexed returns the Indexed field if non-nil, zero value otherwise. - -### GetIndexedOk - -`func (o *P2PackageUpload) GetIndexedOk() (*bool, bool)` - -GetIndexedOk returns a tuple with the Indexed field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetIndexed - -`func (o *P2PackageUpload) SetIndexed(v bool)` - -SetIndexed sets Indexed field to given value. - -### HasIndexed - -`func (o *P2PackageUpload) HasIndexed() bool` - -HasIndexed returns a boolean if a field has been set. - -### GetIsDownloadable - -`func (o *P2PackageUpload) GetIsDownloadable() bool` - -GetIsDownloadable returns the IsDownloadable field if non-nil, zero value otherwise. - -### GetIsDownloadableOk - -`func (o *P2PackageUpload) GetIsDownloadableOk() (*bool, bool)` - -GetIsDownloadableOk returns a tuple with the IsDownloadable field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetIsDownloadable - -`func (o *P2PackageUpload) SetIsDownloadable(v bool)` - -SetIsDownloadable sets IsDownloadable field to given value. - -### HasIsDownloadable - -`func (o *P2PackageUpload) HasIsDownloadable() bool` - -HasIsDownloadable returns a boolean if a field has been set. - -### GetIsQuarantined - -`func (o *P2PackageUpload) GetIsQuarantined() bool` - -GetIsQuarantined returns the IsQuarantined field if non-nil, zero value otherwise. - -### GetIsQuarantinedOk - -`func (o *P2PackageUpload) GetIsQuarantinedOk() (*bool, bool)` - -GetIsQuarantinedOk returns a tuple with the IsQuarantined field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetIsQuarantined - -`func (o *P2PackageUpload) SetIsQuarantined(v bool)` - -SetIsQuarantined sets IsQuarantined field to given value. - -### HasIsQuarantined - -`func (o *P2PackageUpload) HasIsQuarantined() bool` - -HasIsQuarantined returns a boolean if a field has been set. - -### GetIsSyncAwaiting - -`func (o *P2PackageUpload) GetIsSyncAwaiting() bool` - -GetIsSyncAwaiting returns the IsSyncAwaiting field if non-nil, zero value otherwise. - -### GetIsSyncAwaitingOk - -`func (o *P2PackageUpload) GetIsSyncAwaitingOk() (*bool, bool)` - -GetIsSyncAwaitingOk returns a tuple with the IsSyncAwaiting field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetIsSyncAwaiting - -`func (o *P2PackageUpload) SetIsSyncAwaiting(v bool)` - -SetIsSyncAwaiting sets IsSyncAwaiting field to given value. - -### HasIsSyncAwaiting - -`func (o *P2PackageUpload) HasIsSyncAwaiting() bool` - -HasIsSyncAwaiting returns a boolean if a field has been set. - -### GetIsSyncCompleted - -`func (o *P2PackageUpload) GetIsSyncCompleted() bool` - -GetIsSyncCompleted returns the IsSyncCompleted field if non-nil, zero value otherwise. - -### GetIsSyncCompletedOk - -`func (o *P2PackageUpload) GetIsSyncCompletedOk() (*bool, bool)` - -GetIsSyncCompletedOk returns a tuple with the IsSyncCompleted field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetIsSyncCompleted - -`func (o *P2PackageUpload) SetIsSyncCompleted(v bool)` - -SetIsSyncCompleted sets IsSyncCompleted field to given value. - -### HasIsSyncCompleted - -`func (o *P2PackageUpload) HasIsSyncCompleted() bool` - -HasIsSyncCompleted returns a boolean if a field has been set. - -### GetIsSyncFailed - -`func (o *P2PackageUpload) GetIsSyncFailed() bool` - -GetIsSyncFailed returns the IsSyncFailed field if non-nil, zero value otherwise. - -### GetIsSyncFailedOk - -`func (o *P2PackageUpload) GetIsSyncFailedOk() (*bool, bool)` - -GetIsSyncFailedOk returns a tuple with the IsSyncFailed field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetIsSyncFailed - -`func (o *P2PackageUpload) SetIsSyncFailed(v bool)` - -SetIsSyncFailed sets IsSyncFailed field to given value. - -### HasIsSyncFailed - -`func (o *P2PackageUpload) HasIsSyncFailed() bool` - -HasIsSyncFailed returns a boolean if a field has been set. - -### GetIsSyncInFlight - -`func (o *P2PackageUpload) GetIsSyncInFlight() bool` - -GetIsSyncInFlight returns the IsSyncInFlight field if non-nil, zero value otherwise. - -### GetIsSyncInFlightOk - -`func (o *P2PackageUpload) GetIsSyncInFlightOk() (*bool, bool)` - -GetIsSyncInFlightOk returns a tuple with the IsSyncInFlight field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetIsSyncInFlight - -`func (o *P2PackageUpload) SetIsSyncInFlight(v bool)` - -SetIsSyncInFlight sets IsSyncInFlight field to given value. - -### HasIsSyncInFlight - -`func (o *P2PackageUpload) HasIsSyncInFlight() bool` - -HasIsSyncInFlight returns a boolean if a field has been set. - -### GetIsSyncInProgress - -`func (o *P2PackageUpload) GetIsSyncInProgress() bool` - -GetIsSyncInProgress returns the IsSyncInProgress field if non-nil, zero value otherwise. - -### GetIsSyncInProgressOk - -`func (o *P2PackageUpload) GetIsSyncInProgressOk() (*bool, bool)` - -GetIsSyncInProgressOk returns a tuple with the IsSyncInProgress field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetIsSyncInProgress - -`func (o *P2PackageUpload) SetIsSyncInProgress(v bool)` - -SetIsSyncInProgress sets IsSyncInProgress field to given value. - -### HasIsSyncInProgress - -`func (o *P2PackageUpload) HasIsSyncInProgress() bool` - -HasIsSyncInProgress returns a boolean if a field has been set. - -### GetLicense - -`func (o *P2PackageUpload) GetLicense() string` - -GetLicense returns the License field if non-nil, zero value otherwise. - -### GetLicenseOk - -`func (o *P2PackageUpload) GetLicenseOk() (*string, bool)` - -GetLicenseOk returns a tuple with the License field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetLicense - -`func (o *P2PackageUpload) SetLicense(v string)` - -SetLicense sets License field to given value. - -### HasLicense - -`func (o *P2PackageUpload) HasLicense() bool` - -HasLicense returns a boolean if a field has been set. - -### GetName - -`func (o *P2PackageUpload) GetName() string` - -GetName returns the Name field if non-nil, zero value otherwise. - -### GetNameOk - -`func (o *P2PackageUpload) GetNameOk() (*string, bool)` - -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. - -### SetName - -`func (o *P2PackageUpload) SetName(v string)` - -SetName sets Name field to given value. - -### HasName - -`func (o *P2PackageUpload) HasName() bool` - -HasName returns a boolean if a field has been set. - -### GetNamespace - -`func (o *P2PackageUpload) GetNamespace() string` - -GetNamespace returns the Namespace field if non-nil, zero value otherwise. - -### GetNamespaceOk - -`func (o *P2PackageUpload) GetNamespaceOk() (*string, bool)` - -GetNamespaceOk returns a tuple with the Namespace field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetNamespace - -`func (o *P2PackageUpload) SetNamespace(v string)` - -SetNamespace sets Namespace field to given value. - -### HasNamespace - -`func (o *P2PackageUpload) HasNamespace() bool` - -HasNamespace returns a boolean if a field has been set. - -### GetNamespaceUrl - -`func (o *P2PackageUpload) GetNamespaceUrl() string` - -GetNamespaceUrl returns the NamespaceUrl field if non-nil, zero value otherwise. - -### GetNamespaceUrlOk - -`func (o *P2PackageUpload) GetNamespaceUrlOk() (*string, bool)` - -GetNamespaceUrlOk returns a tuple with the NamespaceUrl field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetNamespaceUrl - -`func (o *P2PackageUpload) SetNamespaceUrl(v string)` - -SetNamespaceUrl sets NamespaceUrl field to given value. - -### HasNamespaceUrl - -`func (o *P2PackageUpload) HasNamespaceUrl() bool` - -HasNamespaceUrl returns a boolean if a field has been set. - -### GetNumFiles - -`func (o *P2PackageUpload) GetNumFiles() int64` - -GetNumFiles returns the NumFiles field if non-nil, zero value otherwise. - -### GetNumFilesOk - -`func (o *P2PackageUpload) GetNumFilesOk() (*int64, bool)` - -GetNumFilesOk returns a tuple with the NumFiles field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetNumFiles - -`func (o *P2PackageUpload) SetNumFiles(v int64)` - -SetNumFiles sets NumFiles field to given value. - -### HasNumFiles - -`func (o *P2PackageUpload) HasNumFiles() bool` - -HasNumFiles returns a boolean if a field has been set. - -### GetPackageType - -`func (o *P2PackageUpload) GetPackageType() int64` - -GetPackageType returns the PackageType field if non-nil, zero value otherwise. - -### GetPackageTypeOk - -`func (o *P2PackageUpload) GetPackageTypeOk() (*int64, bool)` - -GetPackageTypeOk returns a tuple with the PackageType field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetPackageType - -`func (o *P2PackageUpload) SetPackageType(v int64)` - -SetPackageType sets PackageType field to given value. - -### HasPackageType - -`func (o *P2PackageUpload) HasPackageType() bool` - -HasPackageType returns a boolean if a field has been set. - -### GetRelease - -`func (o *P2PackageUpload) GetRelease() string` - -GetRelease returns the Release field if non-nil, zero value otherwise. - -### GetReleaseOk - -`func (o *P2PackageUpload) GetReleaseOk() (*string, bool)` - -GetReleaseOk returns a tuple with the Release field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetRelease - -`func (o *P2PackageUpload) SetRelease(v string)` - -SetRelease sets Release field to given value. - -### HasRelease - -`func (o *P2PackageUpload) HasRelease() bool` - -HasRelease returns a boolean if a field has been set. - -### GetRepository - -`func (o *P2PackageUpload) GetRepository() string` - -GetRepository returns the Repository field if non-nil, zero value otherwise. - -### GetRepositoryOk - -`func (o *P2PackageUpload) GetRepositoryOk() (*string, bool)` - -GetRepositoryOk returns a tuple with the Repository field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetRepository - -`func (o *P2PackageUpload) SetRepository(v string)` - -SetRepository sets Repository field to given value. - -### HasRepository - -`func (o *P2PackageUpload) HasRepository() bool` - -HasRepository returns a boolean if a field has been set. - -### GetRepositoryUrl - -`func (o *P2PackageUpload) GetRepositoryUrl() string` - -GetRepositoryUrl returns the RepositoryUrl field if non-nil, zero value otherwise. - -### GetRepositoryUrlOk - -`func (o *P2PackageUpload) GetRepositoryUrlOk() (*string, bool)` - -GetRepositoryUrlOk returns a tuple with the RepositoryUrl field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetRepositoryUrl - -`func (o *P2PackageUpload) SetRepositoryUrl(v string)` - -SetRepositoryUrl sets RepositoryUrl field to given value. - -### HasRepositoryUrl - -`func (o *P2PackageUpload) HasRepositoryUrl() bool` - -HasRepositoryUrl returns a boolean if a field has been set. - -### GetSecurityScanCompletedAt - -`func (o *P2PackageUpload) GetSecurityScanCompletedAt() string` - -GetSecurityScanCompletedAt returns the SecurityScanCompletedAt field if non-nil, zero value otherwise. - -### GetSecurityScanCompletedAtOk - -`func (o *P2PackageUpload) GetSecurityScanCompletedAtOk() (*string, bool)` - -GetSecurityScanCompletedAtOk returns a tuple with the SecurityScanCompletedAt field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetSecurityScanCompletedAt - -`func (o *P2PackageUpload) SetSecurityScanCompletedAt(v string)` - -SetSecurityScanCompletedAt sets SecurityScanCompletedAt field to given value. - -### HasSecurityScanCompletedAt - -`func (o *P2PackageUpload) HasSecurityScanCompletedAt() bool` - -HasSecurityScanCompletedAt returns a boolean if a field has been set. - -### GetSecurityScanStartedAt - -`func (o *P2PackageUpload) GetSecurityScanStartedAt() string` - -GetSecurityScanStartedAt returns the SecurityScanStartedAt field if non-nil, zero value otherwise. - -### GetSecurityScanStartedAtOk - -`func (o *P2PackageUpload) GetSecurityScanStartedAtOk() (*string, bool)` - -GetSecurityScanStartedAtOk returns a tuple with the SecurityScanStartedAt field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetSecurityScanStartedAt - -`func (o *P2PackageUpload) SetSecurityScanStartedAt(v string)` - -SetSecurityScanStartedAt sets SecurityScanStartedAt field to given value. - -### HasSecurityScanStartedAt - -`func (o *P2PackageUpload) HasSecurityScanStartedAt() bool` - -HasSecurityScanStartedAt returns a boolean if a field has been set. - -### GetSecurityScanStatus - -`func (o *P2PackageUpload) GetSecurityScanStatus() string` - -GetSecurityScanStatus returns the SecurityScanStatus field if non-nil, zero value otherwise. - -### GetSecurityScanStatusOk - -`func (o *P2PackageUpload) GetSecurityScanStatusOk() (*string, bool)` - -GetSecurityScanStatusOk returns a tuple with the SecurityScanStatus field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetSecurityScanStatus - -`func (o *P2PackageUpload) SetSecurityScanStatus(v string)` - -SetSecurityScanStatus sets SecurityScanStatus field to given value. - -### HasSecurityScanStatus - -`func (o *P2PackageUpload) HasSecurityScanStatus() bool` - -HasSecurityScanStatus returns a boolean if a field has been set. - -### GetSecurityScanStatusUpdatedAt - -`func (o *P2PackageUpload) GetSecurityScanStatusUpdatedAt() string` - -GetSecurityScanStatusUpdatedAt returns the SecurityScanStatusUpdatedAt field if non-nil, zero value otherwise. - -### GetSecurityScanStatusUpdatedAtOk - -`func (o *P2PackageUpload) GetSecurityScanStatusUpdatedAtOk() (*string, bool)` - -GetSecurityScanStatusUpdatedAtOk returns a tuple with the SecurityScanStatusUpdatedAt field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetSecurityScanStatusUpdatedAt - -`func (o *P2PackageUpload) SetSecurityScanStatusUpdatedAt(v string)` - -SetSecurityScanStatusUpdatedAt sets SecurityScanStatusUpdatedAt field to given value. - -### HasSecurityScanStatusUpdatedAt - -`func (o *P2PackageUpload) HasSecurityScanStatusUpdatedAt() bool` - -HasSecurityScanStatusUpdatedAt returns a boolean if a field has been set. - -### GetSelfHtmlUrl - -`func (o *P2PackageUpload) GetSelfHtmlUrl() string` - -GetSelfHtmlUrl returns the SelfHtmlUrl field if non-nil, zero value otherwise. - -### GetSelfHtmlUrlOk - -`func (o *P2PackageUpload) GetSelfHtmlUrlOk() (*string, bool)` - -GetSelfHtmlUrlOk returns a tuple with the SelfHtmlUrl field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetSelfHtmlUrl - -`func (o *P2PackageUpload) SetSelfHtmlUrl(v string)` - -SetSelfHtmlUrl sets SelfHtmlUrl field to given value. - -### HasSelfHtmlUrl - -`func (o *P2PackageUpload) HasSelfHtmlUrl() bool` - -HasSelfHtmlUrl returns a boolean if a field has been set. - -### GetSelfUrl - -`func (o *P2PackageUpload) GetSelfUrl() string` - -GetSelfUrl returns the SelfUrl field if non-nil, zero value otherwise. - -### GetSelfUrlOk - -`func (o *P2PackageUpload) GetSelfUrlOk() (*string, bool)` - -GetSelfUrlOk returns a tuple with the SelfUrl field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetSelfUrl - -`func (o *P2PackageUpload) SetSelfUrl(v string)` - -SetSelfUrl sets SelfUrl field to given value. - -### HasSelfUrl - -`func (o *P2PackageUpload) HasSelfUrl() bool` - -HasSelfUrl returns a boolean if a field has been set. - -### GetSignatureUrl - -`func (o *P2PackageUpload) GetSignatureUrl() string` - -GetSignatureUrl returns the SignatureUrl field if non-nil, zero value otherwise. - -### GetSignatureUrlOk - -`func (o *P2PackageUpload) GetSignatureUrlOk() (*string, bool)` - -GetSignatureUrlOk returns a tuple with the SignatureUrl field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetSignatureUrl - -`func (o *P2PackageUpload) SetSignatureUrl(v string)` - -SetSignatureUrl sets SignatureUrl field to given value. - -### HasSignatureUrl - -`func (o *P2PackageUpload) HasSignatureUrl() bool` - -HasSignatureUrl returns a boolean if a field has been set. - -### GetSize - -`func (o *P2PackageUpload) GetSize() int64` - -GetSize returns the Size field if non-nil, zero value otherwise. - -### GetSizeOk - -`func (o *P2PackageUpload) GetSizeOk() (*int64, bool)` - -GetSizeOk returns a tuple with the Size field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetSize - -`func (o *P2PackageUpload) SetSize(v int64)` - -SetSize sets Size field to given value. - -### HasSize - -`func (o *P2PackageUpload) HasSize() bool` - -HasSize returns a boolean if a field has been set. - -### GetSlug - -`func (o *P2PackageUpload) GetSlug() string` - -GetSlug returns the Slug field if non-nil, zero value otherwise. - -### GetSlugOk - -`func (o *P2PackageUpload) GetSlugOk() (*string, bool)` - -GetSlugOk returns a tuple with the Slug field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetSlug - -`func (o *P2PackageUpload) SetSlug(v string)` - -SetSlug sets Slug field to given value. - -### HasSlug - -`func (o *P2PackageUpload) HasSlug() bool` - -HasSlug returns a boolean if a field has been set. - -### GetSlugPerm - -`func (o *P2PackageUpload) GetSlugPerm() string` - -GetSlugPerm returns the SlugPerm field if non-nil, zero value otherwise. - -### GetSlugPermOk - -`func (o *P2PackageUpload) GetSlugPermOk() (*string, bool)` - -GetSlugPermOk returns a tuple with the SlugPerm field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetSlugPerm - -`func (o *P2PackageUpload) SetSlugPerm(v string)` - -SetSlugPerm sets SlugPerm field to given value. - -### HasSlugPerm - -`func (o *P2PackageUpload) HasSlugPerm() bool` - -HasSlugPerm returns a boolean if a field has been set. - -### GetStage - -`func (o *P2PackageUpload) GetStage() int64` - -GetStage returns the Stage field if non-nil, zero value otherwise. - -### GetStageOk - -`func (o *P2PackageUpload) GetStageOk() (*int64, bool)` - -GetStageOk returns a tuple with the Stage field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetStage - -`func (o *P2PackageUpload) SetStage(v int64)` - -SetStage sets Stage field to given value. - -### HasStage - -`func (o *P2PackageUpload) HasStage() bool` - -HasStage returns a boolean if a field has been set. - -### GetStageStr - -`func (o *P2PackageUpload) GetStageStr() string` - -GetStageStr returns the StageStr field if non-nil, zero value otherwise. - -### GetStageStrOk - -`func (o *P2PackageUpload) GetStageStrOk() (*string, bool)` - -GetStageStrOk returns a tuple with the StageStr field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetStageStr - -`func (o *P2PackageUpload) SetStageStr(v string)` - -SetStageStr sets StageStr field to given value. - -### HasStageStr - -`func (o *P2PackageUpload) HasStageStr() bool` - -HasStageStr returns a boolean if a field has been set. - -### GetStageUpdatedAt - -`func (o *P2PackageUpload) GetStageUpdatedAt() string` - -GetStageUpdatedAt returns the StageUpdatedAt field if non-nil, zero value otherwise. - -### GetStageUpdatedAtOk - -`func (o *P2PackageUpload) GetStageUpdatedAtOk() (*string, bool)` - -GetStageUpdatedAtOk returns a tuple with the StageUpdatedAt field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetStageUpdatedAt - -`func (o *P2PackageUpload) SetStageUpdatedAt(v string)` - -SetStageUpdatedAt sets StageUpdatedAt field to given value. - -### HasStageUpdatedAt - -`func (o *P2PackageUpload) HasStageUpdatedAt() bool` - -HasStageUpdatedAt returns a boolean if a field has been set. - -### GetStatus - -`func (o *P2PackageUpload) GetStatus() int64` - -GetStatus returns the Status field if non-nil, zero value otherwise. - -### GetStatusOk - -`func (o *P2PackageUpload) GetStatusOk() (*int64, bool)` - -GetStatusOk returns a tuple with the Status field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetStatus - -`func (o *P2PackageUpload) SetStatus(v int64)` - -SetStatus sets Status field to given value. - -### HasStatus - -`func (o *P2PackageUpload) HasStatus() bool` - -HasStatus returns a boolean if a field has been set. - -### GetStatusReason - -`func (o *P2PackageUpload) GetStatusReason() string` - -GetStatusReason returns the StatusReason field if non-nil, zero value otherwise. - -### GetStatusReasonOk - -`func (o *P2PackageUpload) GetStatusReasonOk() (*string, bool)` - -GetStatusReasonOk returns a tuple with the StatusReason field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetStatusReason - -`func (o *P2PackageUpload) SetStatusReason(v string)` - -SetStatusReason sets StatusReason field to given value. - -### HasStatusReason - -`func (o *P2PackageUpload) HasStatusReason() bool` - -HasStatusReason returns a boolean if a field has been set. - -### GetStatusStr - -`func (o *P2PackageUpload) GetStatusStr() string` - -GetStatusStr returns the StatusStr field if non-nil, zero value otherwise. - -### GetStatusStrOk - -`func (o *P2PackageUpload) GetStatusStrOk() (*string, bool)` - -GetStatusStrOk returns a tuple with the StatusStr field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetStatusStr - -`func (o *P2PackageUpload) SetStatusStr(v string)` - -SetStatusStr sets StatusStr field to given value. - -### HasStatusStr - -`func (o *P2PackageUpload) HasStatusStr() bool` - -HasStatusStr returns a boolean if a field has been set. - -### GetStatusUpdatedAt - -`func (o *P2PackageUpload) GetStatusUpdatedAt() string` - -GetStatusUpdatedAt returns the StatusUpdatedAt field if non-nil, zero value otherwise. - -### GetStatusUpdatedAtOk - -`func (o *P2PackageUpload) GetStatusUpdatedAtOk() (*string, bool)` - -GetStatusUpdatedAtOk returns a tuple with the StatusUpdatedAt field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetStatusUpdatedAt - -`func (o *P2PackageUpload) SetStatusUpdatedAt(v string)` - -SetStatusUpdatedAt sets StatusUpdatedAt field to given value. - -### HasStatusUpdatedAt - -`func (o *P2PackageUpload) HasStatusUpdatedAt() bool` - -HasStatusUpdatedAt returns a boolean if a field has been set. - -### GetStatusUrl - -`func (o *P2PackageUpload) GetStatusUrl() string` - -GetStatusUrl returns the StatusUrl field if non-nil, zero value otherwise. - -### GetStatusUrlOk - -`func (o *P2PackageUpload) GetStatusUrlOk() (*string, bool)` - -GetStatusUrlOk returns a tuple with the StatusUrl field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetStatusUrl - -`func (o *P2PackageUpload) SetStatusUrl(v string)` - -SetStatusUrl sets StatusUrl field to given value. - -### HasStatusUrl - -`func (o *P2PackageUpload) HasStatusUrl() bool` - -HasStatusUrl returns a boolean if a field has been set. - -### GetSubtype - -`func (o *P2PackageUpload) GetSubtype() string` - -GetSubtype returns the Subtype field if non-nil, zero value otherwise. - -### GetSubtypeOk - -`func (o *P2PackageUpload) GetSubtypeOk() (*string, bool)` - -GetSubtypeOk returns a tuple with the Subtype field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetSubtype - -`func (o *P2PackageUpload) SetSubtype(v string)` - -SetSubtype sets Subtype field to given value. - -### HasSubtype - -`func (o *P2PackageUpload) HasSubtype() bool` - -HasSubtype returns a boolean if a field has been set. - -### GetSummary - -`func (o *P2PackageUpload) GetSummary() string` - -GetSummary returns the Summary field if non-nil, zero value otherwise. - -### GetSummaryOk - -`func (o *P2PackageUpload) GetSummaryOk() (*string, bool)` - -GetSummaryOk returns a tuple with the Summary field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetSummary - -`func (o *P2PackageUpload) SetSummary(v string)` - -SetSummary sets Summary field to given value. - -### HasSummary - -`func (o *P2PackageUpload) HasSummary() bool` - -HasSummary returns a boolean if a field has been set. - -### GetSyncFinishedAt - -`func (o *P2PackageUpload) GetSyncFinishedAt() string` - -GetSyncFinishedAt returns the SyncFinishedAt field if non-nil, zero value otherwise. - -### GetSyncFinishedAtOk - -`func (o *P2PackageUpload) GetSyncFinishedAtOk() (*string, bool)` - -GetSyncFinishedAtOk returns a tuple with the SyncFinishedAt field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetSyncFinishedAt - -`func (o *P2PackageUpload) SetSyncFinishedAt(v string)` - -SetSyncFinishedAt sets SyncFinishedAt field to given value. - -### HasSyncFinishedAt - -`func (o *P2PackageUpload) HasSyncFinishedAt() bool` - -HasSyncFinishedAt returns a boolean if a field has been set. - -### GetSyncProgress - -`func (o *P2PackageUpload) GetSyncProgress() int64` - -GetSyncProgress returns the SyncProgress field if non-nil, zero value otherwise. - -### GetSyncProgressOk - -`func (o *P2PackageUpload) GetSyncProgressOk() (*int64, bool)` - -GetSyncProgressOk returns a tuple with the SyncProgress field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetSyncProgress - -`func (o *P2PackageUpload) SetSyncProgress(v int64)` - -SetSyncProgress sets SyncProgress field to given value. - -### HasSyncProgress - -`func (o *P2PackageUpload) HasSyncProgress() bool` - -HasSyncProgress returns a boolean if a field has been set. - -### GetTagsImmutable - -`func (o *P2PackageUpload) GetTagsImmutable() map[string]interface{}` - -GetTagsImmutable returns the TagsImmutable field if non-nil, zero value otherwise. - -### GetTagsImmutableOk - -`func (o *P2PackageUpload) GetTagsImmutableOk() (*map[string]interface{}, bool)` - -GetTagsImmutableOk returns a tuple with the TagsImmutable field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetTagsImmutable - -`func (o *P2PackageUpload) SetTagsImmutable(v map[string]interface{})` - -SetTagsImmutable sets TagsImmutable field to given value. - -### HasTagsImmutable - -`func (o *P2PackageUpload) HasTagsImmutable() bool` - -HasTagsImmutable returns a boolean if a field has been set. - -### GetTypeDisplay - -`func (o *P2PackageUpload) GetTypeDisplay() string` - -GetTypeDisplay returns the TypeDisplay field if non-nil, zero value otherwise. - -### GetTypeDisplayOk - -`func (o *P2PackageUpload) GetTypeDisplayOk() (*string, bool)` - -GetTypeDisplayOk returns a tuple with the TypeDisplay field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetTypeDisplay - -`func (o *P2PackageUpload) SetTypeDisplay(v string)` - -SetTypeDisplay sets TypeDisplay field to given value. - -### HasTypeDisplay - -`func (o *P2PackageUpload) HasTypeDisplay() bool` - -HasTypeDisplay returns a boolean if a field has been set. - -### GetUploadedAt - -`func (o *P2PackageUpload) GetUploadedAt() string` - -GetUploadedAt returns the UploadedAt field if non-nil, zero value otherwise. - -### GetUploadedAtOk - -`func (o *P2PackageUpload) GetUploadedAtOk() (*string, bool)` - -GetUploadedAtOk returns a tuple with the UploadedAt field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetUploadedAt - -`func (o *P2PackageUpload) SetUploadedAt(v string)` - -SetUploadedAt sets UploadedAt field to given value. - -### HasUploadedAt - -`func (o *P2PackageUpload) HasUploadedAt() bool` - -HasUploadedAt returns a boolean if a field has been set. - -### GetUploader - -`func (o *P2PackageUpload) GetUploader() string` - -GetUploader returns the Uploader field if non-nil, zero value otherwise. - -### GetUploaderOk - -`func (o *P2PackageUpload) GetUploaderOk() (*string, bool)` - -GetUploaderOk returns a tuple with the Uploader field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetUploader - -`func (o *P2PackageUpload) SetUploader(v string)` - -SetUploader sets Uploader field to given value. - -### HasUploader - -`func (o *P2PackageUpload) HasUploader() bool` - -HasUploader returns a boolean if a field has been set. - -### GetUploaderUrl - -`func (o *P2PackageUpload) GetUploaderUrl() string` - -GetUploaderUrl returns the UploaderUrl field if non-nil, zero value otherwise. - -### GetUploaderUrlOk - -`func (o *P2PackageUpload) GetUploaderUrlOk() (*string, bool)` - -GetUploaderUrlOk returns a tuple with the UploaderUrl field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetUploaderUrl - -`func (o *P2PackageUpload) SetUploaderUrl(v string)` - -SetUploaderUrl sets UploaderUrl field to given value. - -### HasUploaderUrl - -`func (o *P2PackageUpload) HasUploaderUrl() bool` - -HasUploaderUrl returns a boolean if a field has been set. - -### GetVersion - -`func (o *P2PackageUpload) GetVersion() string` - -GetVersion returns the Version field if non-nil, zero value otherwise. - -### GetVersionOk - -`func (o *P2PackageUpload) GetVersionOk() (*string, bool)` - -GetVersionOk returns a tuple with the Version field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetVersion - -`func (o *P2PackageUpload) SetVersion(v string)` - -SetVersion sets Version field to given value. - -### HasVersion - -`func (o *P2PackageUpload) HasVersion() bool` - -HasVersion returns a boolean if a field has been set. - -### GetVersionOrig - -`func (o *P2PackageUpload) GetVersionOrig() string` - -GetVersionOrig returns the VersionOrig field if non-nil, zero value otherwise. - -### GetVersionOrigOk - -`func (o *P2PackageUpload) GetVersionOrigOk() (*string, bool)` - -GetVersionOrigOk returns a tuple with the VersionOrig field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetVersionOrig - -`func (o *P2PackageUpload) SetVersionOrig(v string)` - -SetVersionOrig sets VersionOrig field to given value. - -### HasVersionOrig - -`func (o *P2PackageUpload) HasVersionOrig() bool` - -HasVersionOrig returns a boolean if a field has been set. - -### GetVulnerabilityScanResultsUrl - -`func (o *P2PackageUpload) GetVulnerabilityScanResultsUrl() string` - -GetVulnerabilityScanResultsUrl returns the VulnerabilityScanResultsUrl field if non-nil, zero value otherwise. - -### GetVulnerabilityScanResultsUrlOk - -`func (o *P2PackageUpload) GetVulnerabilityScanResultsUrlOk() (*string, bool)` - -GetVulnerabilityScanResultsUrlOk returns a tuple with the VulnerabilityScanResultsUrl field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetVulnerabilityScanResultsUrl - -`func (o *P2PackageUpload) SetVulnerabilityScanResultsUrl(v string)` - -SetVulnerabilityScanResultsUrl sets VulnerabilityScanResultsUrl field to given value. - -### HasVulnerabilityScanResultsUrl - -`func (o *P2PackageUpload) HasVulnerabilityScanResultsUrl() bool` - -HasVulnerabilityScanResultsUrl 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/docs/PackagesUploadComposer.md b/docs/P2PackageUploadRequest.md similarity index 58% rename from docs/PackagesUploadComposer.md rename to docs/P2PackageUploadRequest.md index f24c23a4..bfab5428 100644 --- a/docs/PackagesUploadComposer.md +++ b/docs/P2PackageUploadRequest.md @@ -1,4 +1,4 @@ -# PackagesUploadComposer +# P2PackageUploadRequest ## Properties @@ -6,97 +6,107 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **PackageFile** | **string** | The primary file for the package. | **Republish** | Pointer to **bool** | If true, the uploaded package will overwrite any others with the same attributes (e.g. same version); otherwise, it will be flagged as a duplicate. | [optional] -**Tags** | Pointer to **string** | A comma-separated values list of tags to add to the package. | [optional] +**Tags** | Pointer to **NullableString** | A comma-separated values list of tags to add to the package. | [optional] ## Methods -### NewPackagesUploadComposer +### NewP2PackageUploadRequest -`func NewPackagesUploadComposer(packageFile string, ) *PackagesUploadComposer` +`func NewP2PackageUploadRequest(packageFile string, ) *P2PackageUploadRequest` -NewPackagesUploadComposer instantiates a new PackagesUploadComposer object +NewP2PackageUploadRequest instantiates a new P2PackageUploadRequest object 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 -### NewPackagesUploadComposerWithDefaults +### NewP2PackageUploadRequestWithDefaults -`func NewPackagesUploadComposerWithDefaults() *PackagesUploadComposer` +`func NewP2PackageUploadRequestWithDefaults() *P2PackageUploadRequest` -NewPackagesUploadComposerWithDefaults instantiates a new PackagesUploadComposer object +NewP2PackageUploadRequestWithDefaults instantiates a new P2PackageUploadRequest object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set ### GetPackageFile -`func (o *PackagesUploadComposer) GetPackageFile() string` +`func (o *P2PackageUploadRequest) GetPackageFile() string` GetPackageFile returns the PackageFile field if non-nil, zero value otherwise. ### GetPackageFileOk -`func (o *PackagesUploadComposer) GetPackageFileOk() (*string, bool)` +`func (o *P2PackageUploadRequest) GetPackageFileOk() (*string, bool)` GetPackageFileOk returns a tuple with the PackageFile field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetPackageFile -`func (o *PackagesUploadComposer) SetPackageFile(v string)` +`func (o *P2PackageUploadRequest) SetPackageFile(v string)` SetPackageFile sets PackageFile field to given value. ### GetRepublish -`func (o *PackagesUploadComposer) GetRepublish() bool` +`func (o *P2PackageUploadRequest) GetRepublish() bool` GetRepublish returns the Republish field if non-nil, zero value otherwise. ### GetRepublishOk -`func (o *PackagesUploadComposer) GetRepublishOk() (*bool, bool)` +`func (o *P2PackageUploadRequest) GetRepublishOk() (*bool, bool)` GetRepublishOk returns a tuple with the Republish field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetRepublish -`func (o *PackagesUploadComposer) SetRepublish(v bool)` +`func (o *P2PackageUploadRequest) SetRepublish(v bool)` SetRepublish sets Republish field to given value. ### HasRepublish -`func (o *PackagesUploadComposer) HasRepublish() bool` +`func (o *P2PackageUploadRequest) HasRepublish() bool` HasRepublish returns a boolean if a field has been set. ### GetTags -`func (o *PackagesUploadComposer) GetTags() string` +`func (o *P2PackageUploadRequest) GetTags() string` GetTags returns the Tags field if non-nil, zero value otherwise. ### GetTagsOk -`func (o *PackagesUploadComposer) GetTagsOk() (*string, bool)` +`func (o *P2PackageUploadRequest) GetTagsOk() (*string, bool)` GetTagsOk returns a tuple with the Tags field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetTags -`func (o *PackagesUploadComposer) SetTags(v string)` +`func (o *P2PackageUploadRequest) SetTags(v string)` SetTags sets Tags field to given value. ### HasTags -`func (o *PackagesUploadComposer) HasTags() bool` +`func (o *P2PackageUploadRequest) HasTags() bool` HasTags returns a boolean if a field has been set. +### SetTagsNil + +`func (o *P2PackageUploadRequest) SetTagsNil(b bool)` + + SetTagsNil sets the value for Tags to be an explicit nil + +### UnsetTags +`func (o *P2PackageUploadRequest) UnsetTags()` + +UnsetTags ensures that no value is present for Tags, 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/docs/PythonPackageUpload.md b/docs/P2PackageUploadResponse.md similarity index 55% rename from docs/PythonPackageUpload.md rename to docs/P2PackageUploadResponse.md index 47bac7ec..beab35c6 100644 --- a/docs/PythonPackageUpload.md +++ b/docs/P2PackageUploadResponse.md @@ -1,1742 +1,1834 @@ -# PythonPackageUpload +# P2PackageUploadResponse ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**Architectures** | Pointer to [**[]PackagesOwnerRepoArchitectures**](PackagesOwnerRepoArchitectures.md) | | [optional] -**CdnUrl** | Pointer to **string** | | [optional] -**ChecksumMd5** | Pointer to **string** | | [optional] -**ChecksumSha1** | Pointer to **string** | | [optional] -**ChecksumSha256** | Pointer to **string** | | [optional] -**ChecksumSha512** | Pointer to **string** | | [optional] -**DependenciesChecksumMd5** | Pointer to **string** | A checksum of all of the package's dependencies. | [optional] -**DependenciesUrl** | Pointer to **string** | | [optional] -**Description** | Pointer to **string** | A textual description of this package. | [optional] -**Distro** | Pointer to **map[string]interface{}** | | [optional] -**DistroVersion** | Pointer to **map[string]interface{}** | | [optional] -**Downloads** | Pointer to **int64** | | [optional] -**Epoch** | Pointer to **int64** | The epoch of the package version (if any). | [optional] -**Extension** | Pointer to **string** | | [optional] -**Filename** | Pointer to **string** | | [optional] -**Files** | Pointer to [**[]PackagesOwnerRepoFiles**](PackagesOwnerRepoFiles.md) | | [optional] -**Format** | Pointer to **string** | | [optional] -**FormatUrl** | Pointer to **string** | | [optional] -**IdentifierPerm** | Pointer to **string** | Unique and permanent identifier for the package. | [optional] -**Indexed** | Pointer to **bool** | | [optional] -**IsDownloadable** | Pointer to **bool** | | [optional] -**IsQuarantined** | Pointer to **bool** | | [optional] -**IsSyncAwaiting** | Pointer to **bool** | | [optional] -**IsSyncCompleted** | Pointer to **bool** | | [optional] -**IsSyncFailed** | Pointer to **bool** | | [optional] -**IsSyncInFlight** | Pointer to **bool** | | [optional] -**IsSyncInProgress** | Pointer to **bool** | | [optional] -**License** | Pointer to **string** | The license of this package. | [optional] -**Name** | Pointer to **string** | The name of this package. | [optional] -**Namespace** | Pointer to **string** | | [optional] -**NamespaceUrl** | Pointer to **string** | | [optional] -**NumFiles** | Pointer to **int64** | | [optional] -**PackageType** | Pointer to **int64** | The type of package contents. | [optional] -**Release** | Pointer to **string** | The release of the package version (if any). | [optional] -**Repository** | Pointer to **string** | | [optional] -**RepositoryUrl** | Pointer to **string** | | [optional] -**SecurityScanCompletedAt** | Pointer to **string** | The datetime the security scanning was completed. | [optional] -**SecurityScanStartedAt** | Pointer to **string** | The datetime the security scanning was started. | [optional] -**SecurityScanStatus** | Pointer to **string** | | [optional] -**SecurityScanStatusUpdatedAt** | Pointer to **string** | The datetime the security scanning status was updated. | [optional] -**SelfHtmlUrl** | Pointer to **string** | | [optional] -**SelfUrl** | Pointer to **string** | | [optional] -**SignatureUrl** | Pointer to **string** | | [optional] -**Size** | Pointer to **int64** | The calculated size of the package. | [optional] -**Slug** | Pointer to **string** | The public unique identifier for the package. | [optional] -**SlugPerm** | Pointer to **string** | | [optional] -**Stage** | Pointer to **int64** | The synchronisation (in progress) stage of the package. | [optional] -**StageStr** | Pointer to **string** | | [optional] -**StageUpdatedAt** | Pointer to **string** | The datetime the package stage was updated at. | [optional] -**Status** | Pointer to **int64** | The synchronisation status of the package. | [optional] -**StatusReason** | Pointer to **string** | A textual description for the synchronous status reason (if any | [optional] -**StatusStr** | Pointer to **string** | | [optional] -**StatusUpdatedAt** | Pointer to **string** | The datetime the package status was updated at. | [optional] -**StatusUrl** | Pointer to **string** | | [optional] -**Subtype** | Pointer to **string** | | [optional] -**Summary** | Pointer to **string** | A one-liner synopsis of this package. | [optional] -**SyncFinishedAt** | Pointer to **string** | The datetime the package sync was finished at. | [optional] -**SyncProgress** | Pointer to **int64** | Synchronisation progress (from 0-100) | [optional] -**TagsImmutable** | Pointer to **map[string]interface{}** | All immutable tags on the package, grouped by tag type. Immutable tags cannot be (easily) deleted. | [optional] -**TypeDisplay** | Pointer to **string** | | [optional] -**UploadedAt** | Pointer to **string** | The date this package was uploaded. | [optional] -**Uploader** | Pointer to **string** | | [optional] -**UploaderUrl** | Pointer to **string** | | [optional] -**Version** | Pointer to **string** | The raw version for this package. | [optional] -**VersionOrig** | Pointer to **string** | | [optional] -**VulnerabilityScanResultsUrl** | Pointer to **string** | | [optional] +**Architectures** | Pointer to [**[]Architecture**](Architecture.md) | | [optional] [readonly] +**CdnUrl** | Pointer to **NullableString** | | [optional] [readonly] +**ChecksumMd5** | Pointer to **string** | | [optional] [readonly] +**ChecksumSha1** | Pointer to **string** | | [optional] [readonly] +**ChecksumSha256** | Pointer to **string** | | [optional] [readonly] +**ChecksumSha512** | Pointer to **string** | | [optional] [readonly] +**DependenciesChecksumMd5** | Pointer to **string** | A checksum of all of the package's dependencies. | [optional] [readonly] +**DependenciesUrl** | Pointer to **string** | | [optional] [readonly] +**Description** | Pointer to **string** | A textual description of this package. | [optional] [readonly] +**Distro** | Pointer to [**NullableDistribution**](Distribution.md) | | [optional] +**DistroVersion** | Pointer to [**DistributionVersion**](DistributionVersion.md) | | [optional] +**Downloads** | Pointer to **int64** | | [optional] [readonly] +**Epoch** | Pointer to **int64** | The epoch of the package version (if any). | [optional] [readonly] +**Extension** | Pointer to **string** | | [optional] [readonly] +**Filename** | Pointer to **string** | | [optional] [readonly] +**Files** | Pointer to [**[]PackageFile**](PackageFile.md) | | [optional] [readonly] +**Format** | Pointer to **string** | | [optional] [readonly] +**FormatUrl** | Pointer to **string** | | [optional] [readonly] +**IdentifierPerm** | Pointer to **string** | Unique and permanent identifier for the package. | [optional] [readonly] +**Indexed** | Pointer to **bool** | | [optional] [readonly] +**IsDownloadable** | Pointer to **bool** | | [optional] [readonly] +**IsQuarantined** | Pointer to **bool** | | [optional] [readonly] +**IsSyncAwaiting** | Pointer to **bool** | | [optional] [readonly] +**IsSyncCompleted** | Pointer to **bool** | | [optional] [readonly] +**IsSyncFailed** | Pointer to **bool** | | [optional] [readonly] +**IsSyncInFlight** | Pointer to **bool** | | [optional] [readonly] +**IsSyncInProgress** | Pointer to **bool** | | [optional] [readonly] +**License** | Pointer to **string** | The license of this package. | [optional] [readonly] +**Name** | Pointer to **string** | The name of this package. | [optional] [readonly] +**Namespace** | Pointer to **string** | | [optional] [readonly] +**NamespaceUrl** | Pointer to **string** | | [optional] [readonly] +**NumFiles** | Pointer to **int64** | | [optional] [readonly] +**OriginRepository** | Pointer to **string** | | [optional] [readonly] +**OriginRepositoryUrl** | Pointer to **string** | | [optional] [readonly] +**PackageType** | Pointer to **int64** | The type of package contents. | [optional] [readonly] +**Release** | Pointer to **string** | The release of the package version (if any). | [optional] [readonly] +**Repository** | Pointer to **string** | | [optional] [readonly] +**RepositoryUrl** | Pointer to **string** | | [optional] [readonly] +**SecurityScanCompletedAt** | Pointer to **time.Time** | The datetime the security scanning was completed. | [optional] [readonly] +**SecurityScanStartedAt** | Pointer to **time.Time** | The datetime the security scanning was started. | [optional] [readonly] +**SecurityScanStatus** | Pointer to **NullableString** | | [optional] [readonly] [default to "Awaiting Security Scan"] +**SecurityScanStatusUpdatedAt** | Pointer to **time.Time** | The datetime the security scanning status was updated. | [optional] [readonly] +**SelfHtmlUrl** | Pointer to **string** | | [optional] [readonly] +**SelfUrl** | Pointer to **string** | | [optional] [readonly] +**SignatureUrl** | Pointer to **NullableString** | | [optional] [readonly] +**Size** | Pointer to **int64** | The calculated size of the package. | [optional] [readonly] +**Slug** | Pointer to **string** | The public unique identifier for the package. | [optional] [readonly] +**SlugPerm** | Pointer to **string** | | [optional] [readonly] +**Stage** | Pointer to **int64** | The synchronisation (in progress) stage of the package. | [optional] [readonly] +**StageStr** | Pointer to **string** | | [optional] [readonly] +**StageUpdatedAt** | Pointer to **time.Time** | The datetime the package stage was updated at. | [optional] [readonly] +**Status** | Pointer to **int64** | The synchronisation status of the package. | [optional] [readonly] +**StatusReason** | Pointer to **string** | A textual description for the synchronous status reason (if any | [optional] [readonly] +**StatusStr** | Pointer to **string** | | [optional] [readonly] +**StatusUpdatedAt** | Pointer to **time.Time** | The datetime the package status was updated at. | [optional] [readonly] +**StatusUrl** | Pointer to **string** | | [optional] [readonly] +**Subtype** | Pointer to **string** | | [optional] [readonly] +**Summary** | Pointer to **string** | A one-liner synopsis of this package. | [optional] [readonly] +**SyncFinishedAt** | Pointer to **time.Time** | The datetime the package sync was finished at. | [optional] [readonly] +**SyncProgress** | Pointer to **int64** | Synchronisation progress (from 0-100) | [optional] [readonly] +**TagsImmutable** | Pointer to **map[string]interface{}** | All tags on the package, grouped by tag type. This includes immutable tags, but doesn't distinguish them from mutable. To see which tags are immutable specifically, see the tags_immutable field. | [optional] +**TypeDisplay** | Pointer to **string** | | [optional] [readonly] +**UploadedAt** | Pointer to **time.Time** | The date this package was uploaded. | [optional] [readonly] +**Uploader** | Pointer to **string** | | [optional] [readonly] +**UploaderUrl** | Pointer to **string** | | [optional] [readonly] +**Version** | Pointer to **string** | The raw version for this package. | [optional] [readonly] +**VersionOrig** | Pointer to **string** | | [optional] [readonly] +**VulnerabilityScanResultsUrl** | Pointer to **string** | | [optional] [readonly] ## Methods -### NewPythonPackageUpload +### NewP2PackageUploadResponse -`func NewPythonPackageUpload() *PythonPackageUpload` +`func NewP2PackageUploadResponse() *P2PackageUploadResponse` -NewPythonPackageUpload instantiates a new PythonPackageUpload object +NewP2PackageUploadResponse instantiates a new P2PackageUploadResponse object 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 -### NewPythonPackageUploadWithDefaults +### NewP2PackageUploadResponseWithDefaults -`func NewPythonPackageUploadWithDefaults() *PythonPackageUpload` +`func NewP2PackageUploadResponseWithDefaults() *P2PackageUploadResponse` -NewPythonPackageUploadWithDefaults instantiates a new PythonPackageUpload object +NewP2PackageUploadResponseWithDefaults instantiates a new P2PackageUploadResponse object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set ### GetArchitectures -`func (o *PythonPackageUpload) GetArchitectures() []PackagesOwnerRepoArchitectures` +`func (o *P2PackageUploadResponse) GetArchitectures() []Architecture` GetArchitectures returns the Architectures field if non-nil, zero value otherwise. ### GetArchitecturesOk -`func (o *PythonPackageUpload) GetArchitecturesOk() (*[]PackagesOwnerRepoArchitectures, bool)` +`func (o *P2PackageUploadResponse) GetArchitecturesOk() (*[]Architecture, bool)` GetArchitecturesOk returns a tuple with the Architectures field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetArchitectures -`func (o *PythonPackageUpload) SetArchitectures(v []PackagesOwnerRepoArchitectures)` +`func (o *P2PackageUploadResponse) SetArchitectures(v []Architecture)` SetArchitectures sets Architectures field to given value. ### HasArchitectures -`func (o *PythonPackageUpload) HasArchitectures() bool` +`func (o *P2PackageUploadResponse) HasArchitectures() bool` HasArchitectures returns a boolean if a field has been set. ### GetCdnUrl -`func (o *PythonPackageUpload) GetCdnUrl() string` +`func (o *P2PackageUploadResponse) GetCdnUrl() string` GetCdnUrl returns the CdnUrl field if non-nil, zero value otherwise. ### GetCdnUrlOk -`func (o *PythonPackageUpload) GetCdnUrlOk() (*string, bool)` +`func (o *P2PackageUploadResponse) GetCdnUrlOk() (*string, bool)` GetCdnUrlOk returns a tuple with the CdnUrl field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetCdnUrl -`func (o *PythonPackageUpload) SetCdnUrl(v string)` +`func (o *P2PackageUploadResponse) SetCdnUrl(v string)` SetCdnUrl sets CdnUrl field to given value. ### HasCdnUrl -`func (o *PythonPackageUpload) HasCdnUrl() bool` +`func (o *P2PackageUploadResponse) HasCdnUrl() bool` HasCdnUrl returns a boolean if a field has been set. +### SetCdnUrlNil + +`func (o *P2PackageUploadResponse) SetCdnUrlNil(b bool)` + + SetCdnUrlNil sets the value for CdnUrl to be an explicit nil + +### UnsetCdnUrl +`func (o *P2PackageUploadResponse) UnsetCdnUrl()` + +UnsetCdnUrl ensures that no value is present for CdnUrl, not even an explicit nil ### GetChecksumMd5 -`func (o *PythonPackageUpload) GetChecksumMd5() string` +`func (o *P2PackageUploadResponse) GetChecksumMd5() string` GetChecksumMd5 returns the ChecksumMd5 field if non-nil, zero value otherwise. ### GetChecksumMd5Ok -`func (o *PythonPackageUpload) GetChecksumMd5Ok() (*string, bool)` +`func (o *P2PackageUploadResponse) GetChecksumMd5Ok() (*string, bool)` GetChecksumMd5Ok returns a tuple with the ChecksumMd5 field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetChecksumMd5 -`func (o *PythonPackageUpload) SetChecksumMd5(v string)` +`func (o *P2PackageUploadResponse) SetChecksumMd5(v string)` SetChecksumMd5 sets ChecksumMd5 field to given value. ### HasChecksumMd5 -`func (o *PythonPackageUpload) HasChecksumMd5() bool` +`func (o *P2PackageUploadResponse) HasChecksumMd5() bool` HasChecksumMd5 returns a boolean if a field has been set. ### GetChecksumSha1 -`func (o *PythonPackageUpload) GetChecksumSha1() string` +`func (o *P2PackageUploadResponse) GetChecksumSha1() string` GetChecksumSha1 returns the ChecksumSha1 field if non-nil, zero value otherwise. ### GetChecksumSha1Ok -`func (o *PythonPackageUpload) GetChecksumSha1Ok() (*string, bool)` +`func (o *P2PackageUploadResponse) GetChecksumSha1Ok() (*string, bool)` GetChecksumSha1Ok returns a tuple with the ChecksumSha1 field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetChecksumSha1 -`func (o *PythonPackageUpload) SetChecksumSha1(v string)` +`func (o *P2PackageUploadResponse) SetChecksumSha1(v string)` SetChecksumSha1 sets ChecksumSha1 field to given value. ### HasChecksumSha1 -`func (o *PythonPackageUpload) HasChecksumSha1() bool` +`func (o *P2PackageUploadResponse) HasChecksumSha1() bool` HasChecksumSha1 returns a boolean if a field has been set. ### GetChecksumSha256 -`func (o *PythonPackageUpload) GetChecksumSha256() string` +`func (o *P2PackageUploadResponse) GetChecksumSha256() string` GetChecksumSha256 returns the ChecksumSha256 field if non-nil, zero value otherwise. ### GetChecksumSha256Ok -`func (o *PythonPackageUpload) GetChecksumSha256Ok() (*string, bool)` +`func (o *P2PackageUploadResponse) GetChecksumSha256Ok() (*string, bool)` GetChecksumSha256Ok returns a tuple with the ChecksumSha256 field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetChecksumSha256 -`func (o *PythonPackageUpload) SetChecksumSha256(v string)` +`func (o *P2PackageUploadResponse) SetChecksumSha256(v string)` SetChecksumSha256 sets ChecksumSha256 field to given value. ### HasChecksumSha256 -`func (o *PythonPackageUpload) HasChecksumSha256() bool` +`func (o *P2PackageUploadResponse) HasChecksumSha256() bool` HasChecksumSha256 returns a boolean if a field has been set. ### GetChecksumSha512 -`func (o *PythonPackageUpload) GetChecksumSha512() string` +`func (o *P2PackageUploadResponse) GetChecksumSha512() string` GetChecksumSha512 returns the ChecksumSha512 field if non-nil, zero value otherwise. ### GetChecksumSha512Ok -`func (o *PythonPackageUpload) GetChecksumSha512Ok() (*string, bool)` +`func (o *P2PackageUploadResponse) GetChecksumSha512Ok() (*string, bool)` GetChecksumSha512Ok returns a tuple with the ChecksumSha512 field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetChecksumSha512 -`func (o *PythonPackageUpload) SetChecksumSha512(v string)` +`func (o *P2PackageUploadResponse) SetChecksumSha512(v string)` SetChecksumSha512 sets ChecksumSha512 field to given value. ### HasChecksumSha512 -`func (o *PythonPackageUpload) HasChecksumSha512() bool` +`func (o *P2PackageUploadResponse) HasChecksumSha512() bool` HasChecksumSha512 returns a boolean if a field has been set. ### GetDependenciesChecksumMd5 -`func (o *PythonPackageUpload) GetDependenciesChecksumMd5() string` +`func (o *P2PackageUploadResponse) GetDependenciesChecksumMd5() string` GetDependenciesChecksumMd5 returns the DependenciesChecksumMd5 field if non-nil, zero value otherwise. ### GetDependenciesChecksumMd5Ok -`func (o *PythonPackageUpload) GetDependenciesChecksumMd5Ok() (*string, bool)` +`func (o *P2PackageUploadResponse) GetDependenciesChecksumMd5Ok() (*string, bool)` GetDependenciesChecksumMd5Ok returns a tuple with the DependenciesChecksumMd5 field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetDependenciesChecksumMd5 -`func (o *PythonPackageUpload) SetDependenciesChecksumMd5(v string)` +`func (o *P2PackageUploadResponse) SetDependenciesChecksumMd5(v string)` SetDependenciesChecksumMd5 sets DependenciesChecksumMd5 field to given value. ### HasDependenciesChecksumMd5 -`func (o *PythonPackageUpload) HasDependenciesChecksumMd5() bool` +`func (o *P2PackageUploadResponse) HasDependenciesChecksumMd5() bool` HasDependenciesChecksumMd5 returns a boolean if a field has been set. ### GetDependenciesUrl -`func (o *PythonPackageUpload) GetDependenciesUrl() string` +`func (o *P2PackageUploadResponse) GetDependenciesUrl() string` GetDependenciesUrl returns the DependenciesUrl field if non-nil, zero value otherwise. ### GetDependenciesUrlOk -`func (o *PythonPackageUpload) GetDependenciesUrlOk() (*string, bool)` +`func (o *P2PackageUploadResponse) GetDependenciesUrlOk() (*string, bool)` GetDependenciesUrlOk returns a tuple with the DependenciesUrl field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetDependenciesUrl -`func (o *PythonPackageUpload) SetDependenciesUrl(v string)` +`func (o *P2PackageUploadResponse) SetDependenciesUrl(v string)` SetDependenciesUrl sets DependenciesUrl field to given value. ### HasDependenciesUrl -`func (o *PythonPackageUpload) HasDependenciesUrl() bool` +`func (o *P2PackageUploadResponse) HasDependenciesUrl() bool` HasDependenciesUrl returns a boolean if a field has been set. ### GetDescription -`func (o *PythonPackageUpload) GetDescription() string` +`func (o *P2PackageUploadResponse) GetDescription() string` GetDescription returns the Description field if non-nil, zero value otherwise. ### GetDescriptionOk -`func (o *PythonPackageUpload) GetDescriptionOk() (*string, bool)` +`func (o *P2PackageUploadResponse) GetDescriptionOk() (*string, bool)` GetDescriptionOk returns a tuple with the Description field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetDescription -`func (o *PythonPackageUpload) SetDescription(v string)` +`func (o *P2PackageUploadResponse) SetDescription(v string)` SetDescription sets Description field to given value. ### HasDescription -`func (o *PythonPackageUpload) HasDescription() bool` +`func (o *P2PackageUploadResponse) HasDescription() bool` HasDescription returns a boolean if a field has been set. ### GetDistro -`func (o *PythonPackageUpload) GetDistro() map[string]interface{}` +`func (o *P2PackageUploadResponse) GetDistro() Distribution` GetDistro returns the Distro field if non-nil, zero value otherwise. ### GetDistroOk -`func (o *PythonPackageUpload) GetDistroOk() (*map[string]interface{}, bool)` +`func (o *P2PackageUploadResponse) GetDistroOk() (*Distribution, bool)` GetDistroOk returns a tuple with the Distro field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetDistro -`func (o *PythonPackageUpload) SetDistro(v map[string]interface{})` +`func (o *P2PackageUploadResponse) SetDistro(v Distribution)` SetDistro sets Distro field to given value. ### HasDistro -`func (o *PythonPackageUpload) HasDistro() bool` +`func (o *P2PackageUploadResponse) HasDistro() bool` HasDistro returns a boolean if a field has been set. +### SetDistroNil + +`func (o *P2PackageUploadResponse) SetDistroNil(b bool)` + + SetDistroNil sets the value for Distro to be an explicit nil + +### UnsetDistro +`func (o *P2PackageUploadResponse) UnsetDistro()` + +UnsetDistro ensures that no value is present for Distro, not even an explicit nil ### GetDistroVersion -`func (o *PythonPackageUpload) GetDistroVersion() map[string]interface{}` +`func (o *P2PackageUploadResponse) GetDistroVersion() DistributionVersion` GetDistroVersion returns the DistroVersion field if non-nil, zero value otherwise. ### GetDistroVersionOk -`func (o *PythonPackageUpload) GetDistroVersionOk() (*map[string]interface{}, bool)` +`func (o *P2PackageUploadResponse) GetDistroVersionOk() (*DistributionVersion, bool)` GetDistroVersionOk returns a tuple with the DistroVersion field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetDistroVersion -`func (o *PythonPackageUpload) SetDistroVersion(v map[string]interface{})` +`func (o *P2PackageUploadResponse) SetDistroVersion(v DistributionVersion)` SetDistroVersion sets DistroVersion field to given value. ### HasDistroVersion -`func (o *PythonPackageUpload) HasDistroVersion() bool` +`func (o *P2PackageUploadResponse) HasDistroVersion() bool` HasDistroVersion returns a boolean if a field has been set. ### GetDownloads -`func (o *PythonPackageUpload) GetDownloads() int64` +`func (o *P2PackageUploadResponse) GetDownloads() int64` GetDownloads returns the Downloads field if non-nil, zero value otherwise. ### GetDownloadsOk -`func (o *PythonPackageUpload) GetDownloadsOk() (*int64, bool)` +`func (o *P2PackageUploadResponse) GetDownloadsOk() (*int64, bool)` GetDownloadsOk returns a tuple with the Downloads field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetDownloads -`func (o *PythonPackageUpload) SetDownloads(v int64)` +`func (o *P2PackageUploadResponse) SetDownloads(v int64)` SetDownloads sets Downloads field to given value. ### HasDownloads -`func (o *PythonPackageUpload) HasDownloads() bool` +`func (o *P2PackageUploadResponse) HasDownloads() bool` HasDownloads returns a boolean if a field has been set. ### GetEpoch -`func (o *PythonPackageUpload) GetEpoch() int64` +`func (o *P2PackageUploadResponse) GetEpoch() int64` GetEpoch returns the Epoch field if non-nil, zero value otherwise. ### GetEpochOk -`func (o *PythonPackageUpload) GetEpochOk() (*int64, bool)` +`func (o *P2PackageUploadResponse) GetEpochOk() (*int64, bool)` GetEpochOk returns a tuple with the Epoch field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetEpoch -`func (o *PythonPackageUpload) SetEpoch(v int64)` +`func (o *P2PackageUploadResponse) SetEpoch(v int64)` SetEpoch sets Epoch field to given value. ### HasEpoch -`func (o *PythonPackageUpload) HasEpoch() bool` +`func (o *P2PackageUploadResponse) HasEpoch() bool` HasEpoch returns a boolean if a field has been set. ### GetExtension -`func (o *PythonPackageUpload) GetExtension() string` +`func (o *P2PackageUploadResponse) GetExtension() string` GetExtension returns the Extension field if non-nil, zero value otherwise. ### GetExtensionOk -`func (o *PythonPackageUpload) GetExtensionOk() (*string, bool)` +`func (o *P2PackageUploadResponse) GetExtensionOk() (*string, bool)` GetExtensionOk returns a tuple with the Extension field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetExtension -`func (o *PythonPackageUpload) SetExtension(v string)` +`func (o *P2PackageUploadResponse) SetExtension(v string)` SetExtension sets Extension field to given value. ### HasExtension -`func (o *PythonPackageUpload) HasExtension() bool` +`func (o *P2PackageUploadResponse) HasExtension() bool` HasExtension returns a boolean if a field has been set. ### GetFilename -`func (o *PythonPackageUpload) GetFilename() string` +`func (o *P2PackageUploadResponse) GetFilename() string` GetFilename returns the Filename field if non-nil, zero value otherwise. ### GetFilenameOk -`func (o *PythonPackageUpload) GetFilenameOk() (*string, bool)` +`func (o *P2PackageUploadResponse) GetFilenameOk() (*string, bool)` GetFilenameOk returns a tuple with the Filename field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetFilename -`func (o *PythonPackageUpload) SetFilename(v string)` +`func (o *P2PackageUploadResponse) SetFilename(v string)` SetFilename sets Filename field to given value. ### HasFilename -`func (o *PythonPackageUpload) HasFilename() bool` +`func (o *P2PackageUploadResponse) HasFilename() bool` HasFilename returns a boolean if a field has been set. ### GetFiles -`func (o *PythonPackageUpload) GetFiles() []PackagesOwnerRepoFiles` +`func (o *P2PackageUploadResponse) GetFiles() []PackageFile` GetFiles returns the Files field if non-nil, zero value otherwise. ### GetFilesOk -`func (o *PythonPackageUpload) GetFilesOk() (*[]PackagesOwnerRepoFiles, bool)` +`func (o *P2PackageUploadResponse) GetFilesOk() (*[]PackageFile, 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 *PythonPackageUpload) SetFiles(v []PackagesOwnerRepoFiles)` +`func (o *P2PackageUploadResponse) SetFiles(v []PackageFile)` SetFiles sets Files field to given value. ### HasFiles -`func (o *PythonPackageUpload) HasFiles() bool` +`func (o *P2PackageUploadResponse) HasFiles() bool` HasFiles returns a boolean if a field has been set. ### GetFormat -`func (o *PythonPackageUpload) GetFormat() string` +`func (o *P2PackageUploadResponse) GetFormat() string` GetFormat returns the Format field if non-nil, zero value otherwise. ### GetFormatOk -`func (o *PythonPackageUpload) GetFormatOk() (*string, bool)` +`func (o *P2PackageUploadResponse) GetFormatOk() (*string, bool)` GetFormatOk returns a tuple with the Format field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetFormat -`func (o *PythonPackageUpload) SetFormat(v string)` +`func (o *P2PackageUploadResponse) SetFormat(v string)` SetFormat sets Format field to given value. ### HasFormat -`func (o *PythonPackageUpload) HasFormat() bool` +`func (o *P2PackageUploadResponse) HasFormat() bool` HasFormat returns a boolean if a field has been set. ### GetFormatUrl -`func (o *PythonPackageUpload) GetFormatUrl() string` +`func (o *P2PackageUploadResponse) GetFormatUrl() string` GetFormatUrl returns the FormatUrl field if non-nil, zero value otherwise. ### GetFormatUrlOk -`func (o *PythonPackageUpload) GetFormatUrlOk() (*string, bool)` +`func (o *P2PackageUploadResponse) GetFormatUrlOk() (*string, bool)` GetFormatUrlOk returns a tuple with the FormatUrl field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetFormatUrl -`func (o *PythonPackageUpload) SetFormatUrl(v string)` +`func (o *P2PackageUploadResponse) SetFormatUrl(v string)` SetFormatUrl sets FormatUrl field to given value. ### HasFormatUrl -`func (o *PythonPackageUpload) HasFormatUrl() bool` +`func (o *P2PackageUploadResponse) HasFormatUrl() bool` HasFormatUrl returns a boolean if a field has been set. ### GetIdentifierPerm -`func (o *PythonPackageUpload) GetIdentifierPerm() string` +`func (o *P2PackageUploadResponse) GetIdentifierPerm() string` GetIdentifierPerm returns the IdentifierPerm field if non-nil, zero value otherwise. ### GetIdentifierPermOk -`func (o *PythonPackageUpload) GetIdentifierPermOk() (*string, bool)` +`func (o *P2PackageUploadResponse) GetIdentifierPermOk() (*string, bool)` GetIdentifierPermOk returns a tuple with the IdentifierPerm field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetIdentifierPerm -`func (o *PythonPackageUpload) SetIdentifierPerm(v string)` +`func (o *P2PackageUploadResponse) SetIdentifierPerm(v string)` SetIdentifierPerm sets IdentifierPerm field to given value. ### HasIdentifierPerm -`func (o *PythonPackageUpload) HasIdentifierPerm() bool` +`func (o *P2PackageUploadResponse) HasIdentifierPerm() bool` HasIdentifierPerm returns a boolean if a field has been set. ### GetIndexed -`func (o *PythonPackageUpload) GetIndexed() bool` +`func (o *P2PackageUploadResponse) GetIndexed() bool` GetIndexed returns the Indexed field if non-nil, zero value otherwise. ### GetIndexedOk -`func (o *PythonPackageUpload) GetIndexedOk() (*bool, bool)` +`func (o *P2PackageUploadResponse) GetIndexedOk() (*bool, bool)` GetIndexedOk returns a tuple with the Indexed field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetIndexed -`func (o *PythonPackageUpload) SetIndexed(v bool)` +`func (o *P2PackageUploadResponse) SetIndexed(v bool)` SetIndexed sets Indexed field to given value. ### HasIndexed -`func (o *PythonPackageUpload) HasIndexed() bool` +`func (o *P2PackageUploadResponse) HasIndexed() bool` HasIndexed returns a boolean if a field has been set. ### GetIsDownloadable -`func (o *PythonPackageUpload) GetIsDownloadable() bool` +`func (o *P2PackageUploadResponse) GetIsDownloadable() bool` GetIsDownloadable returns the IsDownloadable field if non-nil, zero value otherwise. ### GetIsDownloadableOk -`func (o *PythonPackageUpload) GetIsDownloadableOk() (*bool, bool)` +`func (o *P2PackageUploadResponse) GetIsDownloadableOk() (*bool, bool)` GetIsDownloadableOk returns a tuple with the IsDownloadable field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetIsDownloadable -`func (o *PythonPackageUpload) SetIsDownloadable(v bool)` +`func (o *P2PackageUploadResponse) SetIsDownloadable(v bool)` SetIsDownloadable sets IsDownloadable field to given value. ### HasIsDownloadable -`func (o *PythonPackageUpload) HasIsDownloadable() bool` +`func (o *P2PackageUploadResponse) HasIsDownloadable() bool` HasIsDownloadable returns a boolean if a field has been set. ### GetIsQuarantined -`func (o *PythonPackageUpload) GetIsQuarantined() bool` +`func (o *P2PackageUploadResponse) GetIsQuarantined() bool` GetIsQuarantined returns the IsQuarantined field if non-nil, zero value otherwise. ### GetIsQuarantinedOk -`func (o *PythonPackageUpload) GetIsQuarantinedOk() (*bool, bool)` +`func (o *P2PackageUploadResponse) GetIsQuarantinedOk() (*bool, bool)` GetIsQuarantinedOk returns a tuple with the IsQuarantined field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetIsQuarantined -`func (o *PythonPackageUpload) SetIsQuarantined(v bool)` +`func (o *P2PackageUploadResponse) SetIsQuarantined(v bool)` SetIsQuarantined sets IsQuarantined field to given value. ### HasIsQuarantined -`func (o *PythonPackageUpload) HasIsQuarantined() bool` +`func (o *P2PackageUploadResponse) HasIsQuarantined() bool` HasIsQuarantined returns a boolean if a field has been set. ### GetIsSyncAwaiting -`func (o *PythonPackageUpload) GetIsSyncAwaiting() bool` +`func (o *P2PackageUploadResponse) GetIsSyncAwaiting() bool` GetIsSyncAwaiting returns the IsSyncAwaiting field if non-nil, zero value otherwise. ### GetIsSyncAwaitingOk -`func (o *PythonPackageUpload) GetIsSyncAwaitingOk() (*bool, bool)` +`func (o *P2PackageUploadResponse) GetIsSyncAwaitingOk() (*bool, bool)` GetIsSyncAwaitingOk returns a tuple with the IsSyncAwaiting field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetIsSyncAwaiting -`func (o *PythonPackageUpload) SetIsSyncAwaiting(v bool)` +`func (o *P2PackageUploadResponse) SetIsSyncAwaiting(v bool)` SetIsSyncAwaiting sets IsSyncAwaiting field to given value. ### HasIsSyncAwaiting -`func (o *PythonPackageUpload) HasIsSyncAwaiting() bool` +`func (o *P2PackageUploadResponse) HasIsSyncAwaiting() bool` HasIsSyncAwaiting returns a boolean if a field has been set. ### GetIsSyncCompleted -`func (o *PythonPackageUpload) GetIsSyncCompleted() bool` +`func (o *P2PackageUploadResponse) GetIsSyncCompleted() bool` GetIsSyncCompleted returns the IsSyncCompleted field if non-nil, zero value otherwise. ### GetIsSyncCompletedOk -`func (o *PythonPackageUpload) GetIsSyncCompletedOk() (*bool, bool)` +`func (o *P2PackageUploadResponse) GetIsSyncCompletedOk() (*bool, bool)` GetIsSyncCompletedOk returns a tuple with the IsSyncCompleted field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetIsSyncCompleted -`func (o *PythonPackageUpload) SetIsSyncCompleted(v bool)` +`func (o *P2PackageUploadResponse) SetIsSyncCompleted(v bool)` SetIsSyncCompleted sets IsSyncCompleted field to given value. ### HasIsSyncCompleted -`func (o *PythonPackageUpload) HasIsSyncCompleted() bool` +`func (o *P2PackageUploadResponse) HasIsSyncCompleted() bool` HasIsSyncCompleted returns a boolean if a field has been set. ### GetIsSyncFailed -`func (o *PythonPackageUpload) GetIsSyncFailed() bool` +`func (o *P2PackageUploadResponse) GetIsSyncFailed() bool` GetIsSyncFailed returns the IsSyncFailed field if non-nil, zero value otherwise. ### GetIsSyncFailedOk -`func (o *PythonPackageUpload) GetIsSyncFailedOk() (*bool, bool)` +`func (o *P2PackageUploadResponse) GetIsSyncFailedOk() (*bool, bool)` GetIsSyncFailedOk returns a tuple with the IsSyncFailed field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetIsSyncFailed -`func (o *PythonPackageUpload) SetIsSyncFailed(v bool)` +`func (o *P2PackageUploadResponse) SetIsSyncFailed(v bool)` SetIsSyncFailed sets IsSyncFailed field to given value. ### HasIsSyncFailed -`func (o *PythonPackageUpload) HasIsSyncFailed() bool` +`func (o *P2PackageUploadResponse) HasIsSyncFailed() bool` HasIsSyncFailed returns a boolean if a field has been set. ### GetIsSyncInFlight -`func (o *PythonPackageUpload) GetIsSyncInFlight() bool` +`func (o *P2PackageUploadResponse) GetIsSyncInFlight() bool` GetIsSyncInFlight returns the IsSyncInFlight field if non-nil, zero value otherwise. ### GetIsSyncInFlightOk -`func (o *PythonPackageUpload) GetIsSyncInFlightOk() (*bool, bool)` +`func (o *P2PackageUploadResponse) GetIsSyncInFlightOk() (*bool, bool)` GetIsSyncInFlightOk returns a tuple with the IsSyncInFlight field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetIsSyncInFlight -`func (o *PythonPackageUpload) SetIsSyncInFlight(v bool)` +`func (o *P2PackageUploadResponse) SetIsSyncInFlight(v bool)` SetIsSyncInFlight sets IsSyncInFlight field to given value. ### HasIsSyncInFlight -`func (o *PythonPackageUpload) HasIsSyncInFlight() bool` +`func (o *P2PackageUploadResponse) HasIsSyncInFlight() bool` HasIsSyncInFlight returns a boolean if a field has been set. ### GetIsSyncInProgress -`func (o *PythonPackageUpload) GetIsSyncInProgress() bool` +`func (o *P2PackageUploadResponse) GetIsSyncInProgress() bool` GetIsSyncInProgress returns the IsSyncInProgress field if non-nil, zero value otherwise. ### GetIsSyncInProgressOk -`func (o *PythonPackageUpload) GetIsSyncInProgressOk() (*bool, bool)` +`func (o *P2PackageUploadResponse) GetIsSyncInProgressOk() (*bool, bool)` GetIsSyncInProgressOk returns a tuple with the IsSyncInProgress field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetIsSyncInProgress -`func (o *PythonPackageUpload) SetIsSyncInProgress(v bool)` +`func (o *P2PackageUploadResponse) SetIsSyncInProgress(v bool)` SetIsSyncInProgress sets IsSyncInProgress field to given value. ### HasIsSyncInProgress -`func (o *PythonPackageUpload) HasIsSyncInProgress() bool` +`func (o *P2PackageUploadResponse) HasIsSyncInProgress() bool` HasIsSyncInProgress returns a boolean if a field has been set. ### GetLicense -`func (o *PythonPackageUpload) GetLicense() string` +`func (o *P2PackageUploadResponse) GetLicense() string` GetLicense returns the License field if non-nil, zero value otherwise. ### GetLicenseOk -`func (o *PythonPackageUpload) GetLicenseOk() (*string, bool)` +`func (o *P2PackageUploadResponse) GetLicenseOk() (*string, bool)` GetLicenseOk returns a tuple with the License field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetLicense -`func (o *PythonPackageUpload) SetLicense(v string)` +`func (o *P2PackageUploadResponse) SetLicense(v string)` SetLicense sets License field to given value. ### HasLicense -`func (o *PythonPackageUpload) HasLicense() bool` +`func (o *P2PackageUploadResponse) HasLicense() bool` HasLicense returns a boolean if a field has been set. ### GetName -`func (o *PythonPackageUpload) GetName() string` +`func (o *P2PackageUploadResponse) GetName() string` GetName returns the Name field if non-nil, zero value otherwise. ### GetNameOk -`func (o *PythonPackageUpload) GetNameOk() (*string, bool)` +`func (o *P2PackageUploadResponse) GetNameOk() (*string, bool)` 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. ### SetName -`func (o *PythonPackageUpload) SetName(v string)` +`func (o *P2PackageUploadResponse) SetName(v string)` SetName sets Name field to given value. ### HasName -`func (o *PythonPackageUpload) HasName() bool` +`func (o *P2PackageUploadResponse) HasName() bool` HasName returns a boolean if a field has been set. ### GetNamespace -`func (o *PythonPackageUpload) GetNamespace() string` +`func (o *P2PackageUploadResponse) GetNamespace() string` GetNamespace returns the Namespace field if non-nil, zero value otherwise. ### GetNamespaceOk -`func (o *PythonPackageUpload) GetNamespaceOk() (*string, bool)` +`func (o *P2PackageUploadResponse) GetNamespaceOk() (*string, bool)` GetNamespaceOk returns a tuple with the Namespace field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetNamespace -`func (o *PythonPackageUpload) SetNamespace(v string)` +`func (o *P2PackageUploadResponse) SetNamespace(v string)` SetNamespace sets Namespace field to given value. ### HasNamespace -`func (o *PythonPackageUpload) HasNamespace() bool` +`func (o *P2PackageUploadResponse) HasNamespace() bool` HasNamespace returns a boolean if a field has been set. ### GetNamespaceUrl -`func (o *PythonPackageUpload) GetNamespaceUrl() string` +`func (o *P2PackageUploadResponse) GetNamespaceUrl() string` GetNamespaceUrl returns the NamespaceUrl field if non-nil, zero value otherwise. ### GetNamespaceUrlOk -`func (o *PythonPackageUpload) GetNamespaceUrlOk() (*string, bool)` +`func (o *P2PackageUploadResponse) GetNamespaceUrlOk() (*string, bool)` GetNamespaceUrlOk returns a tuple with the NamespaceUrl field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetNamespaceUrl -`func (o *PythonPackageUpload) SetNamespaceUrl(v string)` +`func (o *P2PackageUploadResponse) SetNamespaceUrl(v string)` SetNamespaceUrl sets NamespaceUrl field to given value. ### HasNamespaceUrl -`func (o *PythonPackageUpload) HasNamespaceUrl() bool` +`func (o *P2PackageUploadResponse) HasNamespaceUrl() bool` HasNamespaceUrl returns a boolean if a field has been set. ### GetNumFiles -`func (o *PythonPackageUpload) GetNumFiles() int64` +`func (o *P2PackageUploadResponse) GetNumFiles() int64` GetNumFiles returns the NumFiles field if non-nil, zero value otherwise. ### GetNumFilesOk -`func (o *PythonPackageUpload) GetNumFilesOk() (*int64, bool)` +`func (o *P2PackageUploadResponse) GetNumFilesOk() (*int64, bool)` GetNumFilesOk returns a tuple with the NumFiles field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetNumFiles -`func (o *PythonPackageUpload) SetNumFiles(v int64)` +`func (o *P2PackageUploadResponse) SetNumFiles(v int64)` SetNumFiles sets NumFiles field to given value. ### HasNumFiles -`func (o *PythonPackageUpload) HasNumFiles() bool` +`func (o *P2PackageUploadResponse) HasNumFiles() bool` HasNumFiles returns a boolean if a field has been set. +### GetOriginRepository + +`func (o *P2PackageUploadResponse) GetOriginRepository() string` + +GetOriginRepository returns the OriginRepository field if non-nil, zero value otherwise. + +### GetOriginRepositoryOk + +`func (o *P2PackageUploadResponse) GetOriginRepositoryOk() (*string, bool)` + +GetOriginRepositoryOk returns a tuple with the OriginRepository field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetOriginRepository + +`func (o *P2PackageUploadResponse) SetOriginRepository(v string)` + +SetOriginRepository sets OriginRepository field to given value. + +### HasOriginRepository + +`func (o *P2PackageUploadResponse) HasOriginRepository() bool` + +HasOriginRepository returns a boolean if a field has been set. + +### GetOriginRepositoryUrl + +`func (o *P2PackageUploadResponse) GetOriginRepositoryUrl() string` + +GetOriginRepositoryUrl returns the OriginRepositoryUrl field if non-nil, zero value otherwise. + +### GetOriginRepositoryUrlOk + +`func (o *P2PackageUploadResponse) GetOriginRepositoryUrlOk() (*string, bool)` + +GetOriginRepositoryUrlOk returns a tuple with the OriginRepositoryUrl field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetOriginRepositoryUrl + +`func (o *P2PackageUploadResponse) SetOriginRepositoryUrl(v string)` + +SetOriginRepositoryUrl sets OriginRepositoryUrl field to given value. + +### HasOriginRepositoryUrl + +`func (o *P2PackageUploadResponse) HasOriginRepositoryUrl() bool` + +HasOriginRepositoryUrl returns a boolean if a field has been set. + ### GetPackageType -`func (o *PythonPackageUpload) GetPackageType() int64` +`func (o *P2PackageUploadResponse) GetPackageType() int64` GetPackageType returns the PackageType field if non-nil, zero value otherwise. ### GetPackageTypeOk -`func (o *PythonPackageUpload) GetPackageTypeOk() (*int64, bool)` +`func (o *P2PackageUploadResponse) GetPackageTypeOk() (*int64, bool)` GetPackageTypeOk returns a tuple with the PackageType field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetPackageType -`func (o *PythonPackageUpload) SetPackageType(v int64)` +`func (o *P2PackageUploadResponse) SetPackageType(v int64)` SetPackageType sets PackageType field to given value. ### HasPackageType -`func (o *PythonPackageUpload) HasPackageType() bool` +`func (o *P2PackageUploadResponse) HasPackageType() bool` HasPackageType returns a boolean if a field has been set. ### GetRelease -`func (o *PythonPackageUpload) GetRelease() string` +`func (o *P2PackageUploadResponse) GetRelease() string` GetRelease returns the Release field if non-nil, zero value otherwise. ### GetReleaseOk -`func (o *PythonPackageUpload) GetReleaseOk() (*string, bool)` +`func (o *P2PackageUploadResponse) GetReleaseOk() (*string, bool)` GetReleaseOk returns a tuple with the Release field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetRelease -`func (o *PythonPackageUpload) SetRelease(v string)` +`func (o *P2PackageUploadResponse) SetRelease(v string)` SetRelease sets Release field to given value. ### HasRelease -`func (o *PythonPackageUpload) HasRelease() bool` +`func (o *P2PackageUploadResponse) HasRelease() bool` HasRelease returns a boolean if a field has been set. ### GetRepository -`func (o *PythonPackageUpload) GetRepository() string` +`func (o *P2PackageUploadResponse) GetRepository() string` GetRepository returns the Repository field if non-nil, zero value otherwise. ### GetRepositoryOk -`func (o *PythonPackageUpload) GetRepositoryOk() (*string, bool)` +`func (o *P2PackageUploadResponse) GetRepositoryOk() (*string, bool)` GetRepositoryOk returns a tuple with the Repository field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetRepository -`func (o *PythonPackageUpload) SetRepository(v string)` +`func (o *P2PackageUploadResponse) SetRepository(v string)` SetRepository sets Repository field to given value. ### HasRepository -`func (o *PythonPackageUpload) HasRepository() bool` +`func (o *P2PackageUploadResponse) HasRepository() bool` HasRepository returns a boolean if a field has been set. ### GetRepositoryUrl -`func (o *PythonPackageUpload) GetRepositoryUrl() string` +`func (o *P2PackageUploadResponse) GetRepositoryUrl() string` GetRepositoryUrl returns the RepositoryUrl field if non-nil, zero value otherwise. ### GetRepositoryUrlOk -`func (o *PythonPackageUpload) GetRepositoryUrlOk() (*string, bool)` +`func (o *P2PackageUploadResponse) GetRepositoryUrlOk() (*string, bool)` GetRepositoryUrlOk returns a tuple with the RepositoryUrl field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetRepositoryUrl -`func (o *PythonPackageUpload) SetRepositoryUrl(v string)` +`func (o *P2PackageUploadResponse) SetRepositoryUrl(v string)` SetRepositoryUrl sets RepositoryUrl field to given value. ### HasRepositoryUrl -`func (o *PythonPackageUpload) HasRepositoryUrl() bool` +`func (o *P2PackageUploadResponse) HasRepositoryUrl() bool` HasRepositoryUrl returns a boolean if a field has been set. ### GetSecurityScanCompletedAt -`func (o *PythonPackageUpload) GetSecurityScanCompletedAt() string` +`func (o *P2PackageUploadResponse) GetSecurityScanCompletedAt() time.Time` GetSecurityScanCompletedAt returns the SecurityScanCompletedAt field if non-nil, zero value otherwise. ### GetSecurityScanCompletedAtOk -`func (o *PythonPackageUpload) GetSecurityScanCompletedAtOk() (*string, bool)` +`func (o *P2PackageUploadResponse) GetSecurityScanCompletedAtOk() (*time.Time, bool)` GetSecurityScanCompletedAtOk returns a tuple with the SecurityScanCompletedAt field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetSecurityScanCompletedAt -`func (o *PythonPackageUpload) SetSecurityScanCompletedAt(v string)` +`func (o *P2PackageUploadResponse) SetSecurityScanCompletedAt(v time.Time)` SetSecurityScanCompletedAt sets SecurityScanCompletedAt field to given value. ### HasSecurityScanCompletedAt -`func (o *PythonPackageUpload) HasSecurityScanCompletedAt() bool` +`func (o *P2PackageUploadResponse) HasSecurityScanCompletedAt() bool` HasSecurityScanCompletedAt returns a boolean if a field has been set. ### GetSecurityScanStartedAt -`func (o *PythonPackageUpload) GetSecurityScanStartedAt() string` +`func (o *P2PackageUploadResponse) GetSecurityScanStartedAt() time.Time` GetSecurityScanStartedAt returns the SecurityScanStartedAt field if non-nil, zero value otherwise. ### GetSecurityScanStartedAtOk -`func (o *PythonPackageUpload) GetSecurityScanStartedAtOk() (*string, bool)` +`func (o *P2PackageUploadResponse) GetSecurityScanStartedAtOk() (*time.Time, bool)` GetSecurityScanStartedAtOk returns a tuple with the SecurityScanStartedAt field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetSecurityScanStartedAt -`func (o *PythonPackageUpload) SetSecurityScanStartedAt(v string)` +`func (o *P2PackageUploadResponse) SetSecurityScanStartedAt(v time.Time)` SetSecurityScanStartedAt sets SecurityScanStartedAt field to given value. ### HasSecurityScanStartedAt -`func (o *PythonPackageUpload) HasSecurityScanStartedAt() bool` +`func (o *P2PackageUploadResponse) HasSecurityScanStartedAt() bool` HasSecurityScanStartedAt returns a boolean if a field has been set. ### GetSecurityScanStatus -`func (o *PythonPackageUpload) GetSecurityScanStatus() string` +`func (o *P2PackageUploadResponse) GetSecurityScanStatus() string` GetSecurityScanStatus returns the SecurityScanStatus field if non-nil, zero value otherwise. ### GetSecurityScanStatusOk -`func (o *PythonPackageUpload) GetSecurityScanStatusOk() (*string, bool)` +`func (o *P2PackageUploadResponse) GetSecurityScanStatusOk() (*string, bool)` GetSecurityScanStatusOk returns a tuple with the SecurityScanStatus field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetSecurityScanStatus -`func (o *PythonPackageUpload) SetSecurityScanStatus(v string)` +`func (o *P2PackageUploadResponse) SetSecurityScanStatus(v string)` SetSecurityScanStatus sets SecurityScanStatus field to given value. ### HasSecurityScanStatus -`func (o *PythonPackageUpload) HasSecurityScanStatus() bool` +`func (o *P2PackageUploadResponse) HasSecurityScanStatus() bool` HasSecurityScanStatus returns a boolean if a field has been set. +### SetSecurityScanStatusNil + +`func (o *P2PackageUploadResponse) SetSecurityScanStatusNil(b bool)` + + SetSecurityScanStatusNil sets the value for SecurityScanStatus to be an explicit nil + +### UnsetSecurityScanStatus +`func (o *P2PackageUploadResponse) UnsetSecurityScanStatus()` + +UnsetSecurityScanStatus ensures that no value is present for SecurityScanStatus, not even an explicit nil ### GetSecurityScanStatusUpdatedAt -`func (o *PythonPackageUpload) GetSecurityScanStatusUpdatedAt() string` +`func (o *P2PackageUploadResponse) GetSecurityScanStatusUpdatedAt() time.Time` GetSecurityScanStatusUpdatedAt returns the SecurityScanStatusUpdatedAt field if non-nil, zero value otherwise. ### GetSecurityScanStatusUpdatedAtOk -`func (o *PythonPackageUpload) GetSecurityScanStatusUpdatedAtOk() (*string, bool)` +`func (o *P2PackageUploadResponse) GetSecurityScanStatusUpdatedAtOk() (*time.Time, bool)` GetSecurityScanStatusUpdatedAtOk returns a tuple with the SecurityScanStatusUpdatedAt field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetSecurityScanStatusUpdatedAt -`func (o *PythonPackageUpload) SetSecurityScanStatusUpdatedAt(v string)` +`func (o *P2PackageUploadResponse) SetSecurityScanStatusUpdatedAt(v time.Time)` SetSecurityScanStatusUpdatedAt sets SecurityScanStatusUpdatedAt field to given value. ### HasSecurityScanStatusUpdatedAt -`func (o *PythonPackageUpload) HasSecurityScanStatusUpdatedAt() bool` +`func (o *P2PackageUploadResponse) HasSecurityScanStatusUpdatedAt() bool` HasSecurityScanStatusUpdatedAt returns a boolean if a field has been set. ### GetSelfHtmlUrl -`func (o *PythonPackageUpload) GetSelfHtmlUrl() string` +`func (o *P2PackageUploadResponse) GetSelfHtmlUrl() string` GetSelfHtmlUrl returns the SelfHtmlUrl field if non-nil, zero value otherwise. ### GetSelfHtmlUrlOk -`func (o *PythonPackageUpload) GetSelfHtmlUrlOk() (*string, bool)` +`func (o *P2PackageUploadResponse) GetSelfHtmlUrlOk() (*string, bool)` GetSelfHtmlUrlOk returns a tuple with the SelfHtmlUrl field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetSelfHtmlUrl -`func (o *PythonPackageUpload) SetSelfHtmlUrl(v string)` +`func (o *P2PackageUploadResponse) SetSelfHtmlUrl(v string)` SetSelfHtmlUrl sets SelfHtmlUrl field to given value. ### HasSelfHtmlUrl -`func (o *PythonPackageUpload) HasSelfHtmlUrl() bool` +`func (o *P2PackageUploadResponse) HasSelfHtmlUrl() bool` HasSelfHtmlUrl returns a boolean if a field has been set. ### GetSelfUrl -`func (o *PythonPackageUpload) GetSelfUrl() string` +`func (o *P2PackageUploadResponse) GetSelfUrl() string` GetSelfUrl returns the SelfUrl field if non-nil, zero value otherwise. ### GetSelfUrlOk -`func (o *PythonPackageUpload) GetSelfUrlOk() (*string, bool)` +`func (o *P2PackageUploadResponse) GetSelfUrlOk() (*string, bool)` GetSelfUrlOk returns a tuple with the SelfUrl field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetSelfUrl -`func (o *PythonPackageUpload) SetSelfUrl(v string)` +`func (o *P2PackageUploadResponse) SetSelfUrl(v string)` SetSelfUrl sets SelfUrl field to given value. ### HasSelfUrl -`func (o *PythonPackageUpload) HasSelfUrl() bool` +`func (o *P2PackageUploadResponse) HasSelfUrl() bool` HasSelfUrl returns a boolean if a field has been set. ### GetSignatureUrl -`func (o *PythonPackageUpload) GetSignatureUrl() string` +`func (o *P2PackageUploadResponse) GetSignatureUrl() string` GetSignatureUrl returns the SignatureUrl field if non-nil, zero value otherwise. ### GetSignatureUrlOk -`func (o *PythonPackageUpload) GetSignatureUrlOk() (*string, bool)` +`func (o *P2PackageUploadResponse) GetSignatureUrlOk() (*string, bool)` GetSignatureUrlOk returns a tuple with the SignatureUrl field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetSignatureUrl -`func (o *PythonPackageUpload) SetSignatureUrl(v string)` +`func (o *P2PackageUploadResponse) SetSignatureUrl(v string)` SetSignatureUrl sets SignatureUrl field to given value. ### HasSignatureUrl -`func (o *PythonPackageUpload) HasSignatureUrl() bool` +`func (o *P2PackageUploadResponse) HasSignatureUrl() bool` HasSignatureUrl returns a boolean if a field has been set. +### SetSignatureUrlNil + +`func (o *P2PackageUploadResponse) SetSignatureUrlNil(b bool)` + + SetSignatureUrlNil sets the value for SignatureUrl to be an explicit nil + +### UnsetSignatureUrl +`func (o *P2PackageUploadResponse) UnsetSignatureUrl()` + +UnsetSignatureUrl ensures that no value is present for SignatureUrl, not even an explicit nil ### GetSize -`func (o *PythonPackageUpload) GetSize() int64` +`func (o *P2PackageUploadResponse) GetSize() int64` GetSize returns the Size field if non-nil, zero value otherwise. ### GetSizeOk -`func (o *PythonPackageUpload) GetSizeOk() (*int64, bool)` +`func (o *P2PackageUploadResponse) GetSizeOk() (*int64, bool)` GetSizeOk returns a tuple with the Size field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetSize -`func (o *PythonPackageUpload) SetSize(v int64)` +`func (o *P2PackageUploadResponse) SetSize(v int64)` SetSize sets Size field to given value. ### HasSize -`func (o *PythonPackageUpload) HasSize() bool` +`func (o *P2PackageUploadResponse) HasSize() bool` HasSize returns a boolean if a field has been set. ### GetSlug -`func (o *PythonPackageUpload) GetSlug() string` +`func (o *P2PackageUploadResponse) GetSlug() string` GetSlug returns the Slug field if non-nil, zero value otherwise. ### GetSlugOk -`func (o *PythonPackageUpload) GetSlugOk() (*string, bool)` +`func (o *P2PackageUploadResponse) GetSlugOk() (*string, bool)` GetSlugOk returns a tuple with the Slug field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetSlug -`func (o *PythonPackageUpload) SetSlug(v string)` +`func (o *P2PackageUploadResponse) SetSlug(v string)` SetSlug sets Slug field to given value. ### HasSlug -`func (o *PythonPackageUpload) HasSlug() bool` +`func (o *P2PackageUploadResponse) HasSlug() bool` HasSlug returns a boolean if a field has been set. ### GetSlugPerm -`func (o *PythonPackageUpload) GetSlugPerm() string` +`func (o *P2PackageUploadResponse) GetSlugPerm() string` GetSlugPerm returns the SlugPerm field if non-nil, zero value otherwise. ### GetSlugPermOk -`func (o *PythonPackageUpload) GetSlugPermOk() (*string, bool)` +`func (o *P2PackageUploadResponse) GetSlugPermOk() (*string, bool)` GetSlugPermOk returns a tuple with the SlugPerm field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetSlugPerm -`func (o *PythonPackageUpload) SetSlugPerm(v string)` +`func (o *P2PackageUploadResponse) SetSlugPerm(v string)` SetSlugPerm sets SlugPerm field to given value. ### HasSlugPerm -`func (o *PythonPackageUpload) HasSlugPerm() bool` +`func (o *P2PackageUploadResponse) HasSlugPerm() bool` HasSlugPerm returns a boolean if a field has been set. ### GetStage -`func (o *PythonPackageUpload) GetStage() int64` +`func (o *P2PackageUploadResponse) GetStage() int64` GetStage returns the Stage field if non-nil, zero value otherwise. ### GetStageOk -`func (o *PythonPackageUpload) GetStageOk() (*int64, bool)` +`func (o *P2PackageUploadResponse) GetStageOk() (*int64, bool)` GetStageOk returns a tuple with the Stage field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetStage -`func (o *PythonPackageUpload) SetStage(v int64)` +`func (o *P2PackageUploadResponse) SetStage(v int64)` SetStage sets Stage field to given value. ### HasStage -`func (o *PythonPackageUpload) HasStage() bool` +`func (o *P2PackageUploadResponse) HasStage() bool` HasStage returns a boolean if a field has been set. ### GetStageStr -`func (o *PythonPackageUpload) GetStageStr() string` +`func (o *P2PackageUploadResponse) GetStageStr() string` GetStageStr returns the StageStr field if non-nil, zero value otherwise. ### GetStageStrOk -`func (o *PythonPackageUpload) GetStageStrOk() (*string, bool)` +`func (o *P2PackageUploadResponse) GetStageStrOk() (*string, bool)` GetStageStrOk returns a tuple with the StageStr field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetStageStr -`func (o *PythonPackageUpload) SetStageStr(v string)` +`func (o *P2PackageUploadResponse) SetStageStr(v string)` SetStageStr sets StageStr field to given value. ### HasStageStr -`func (o *PythonPackageUpload) HasStageStr() bool` +`func (o *P2PackageUploadResponse) HasStageStr() bool` HasStageStr returns a boolean if a field has been set. ### GetStageUpdatedAt -`func (o *PythonPackageUpload) GetStageUpdatedAt() string` +`func (o *P2PackageUploadResponse) GetStageUpdatedAt() time.Time` GetStageUpdatedAt returns the StageUpdatedAt field if non-nil, zero value otherwise. ### GetStageUpdatedAtOk -`func (o *PythonPackageUpload) GetStageUpdatedAtOk() (*string, bool)` +`func (o *P2PackageUploadResponse) GetStageUpdatedAtOk() (*time.Time, bool)` GetStageUpdatedAtOk returns a tuple with the StageUpdatedAt field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetStageUpdatedAt -`func (o *PythonPackageUpload) SetStageUpdatedAt(v string)` +`func (o *P2PackageUploadResponse) SetStageUpdatedAt(v time.Time)` SetStageUpdatedAt sets StageUpdatedAt field to given value. ### HasStageUpdatedAt -`func (o *PythonPackageUpload) HasStageUpdatedAt() bool` +`func (o *P2PackageUploadResponse) HasStageUpdatedAt() bool` HasStageUpdatedAt returns a boolean if a field has been set. ### GetStatus -`func (o *PythonPackageUpload) GetStatus() int64` +`func (o *P2PackageUploadResponse) GetStatus() int64` GetStatus returns the Status field if non-nil, zero value otherwise. ### GetStatusOk -`func (o *PythonPackageUpload) GetStatusOk() (*int64, bool)` +`func (o *P2PackageUploadResponse) GetStatusOk() (*int64, bool)` GetStatusOk returns a tuple with the Status field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetStatus -`func (o *PythonPackageUpload) SetStatus(v int64)` +`func (o *P2PackageUploadResponse) SetStatus(v int64)` SetStatus sets Status field to given value. ### HasStatus -`func (o *PythonPackageUpload) HasStatus() bool` +`func (o *P2PackageUploadResponse) HasStatus() bool` HasStatus returns a boolean if a field has been set. ### GetStatusReason -`func (o *PythonPackageUpload) GetStatusReason() string` +`func (o *P2PackageUploadResponse) GetStatusReason() string` GetStatusReason returns the StatusReason field if non-nil, zero value otherwise. ### GetStatusReasonOk -`func (o *PythonPackageUpload) GetStatusReasonOk() (*string, bool)` +`func (o *P2PackageUploadResponse) GetStatusReasonOk() (*string, bool)` GetStatusReasonOk returns a tuple with the StatusReason field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetStatusReason -`func (o *PythonPackageUpload) SetStatusReason(v string)` +`func (o *P2PackageUploadResponse) SetStatusReason(v string)` SetStatusReason sets StatusReason field to given value. ### HasStatusReason -`func (o *PythonPackageUpload) HasStatusReason() bool` +`func (o *P2PackageUploadResponse) HasStatusReason() bool` HasStatusReason returns a boolean if a field has been set. ### GetStatusStr -`func (o *PythonPackageUpload) GetStatusStr() string` +`func (o *P2PackageUploadResponse) GetStatusStr() string` GetStatusStr returns the StatusStr field if non-nil, zero value otherwise. ### GetStatusStrOk -`func (o *PythonPackageUpload) GetStatusStrOk() (*string, bool)` +`func (o *P2PackageUploadResponse) GetStatusStrOk() (*string, bool)` GetStatusStrOk returns a tuple with the StatusStr field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetStatusStr -`func (o *PythonPackageUpload) SetStatusStr(v string)` +`func (o *P2PackageUploadResponse) SetStatusStr(v string)` SetStatusStr sets StatusStr field to given value. ### HasStatusStr -`func (o *PythonPackageUpload) HasStatusStr() bool` +`func (o *P2PackageUploadResponse) HasStatusStr() bool` HasStatusStr returns a boolean if a field has been set. ### GetStatusUpdatedAt -`func (o *PythonPackageUpload) GetStatusUpdatedAt() string` +`func (o *P2PackageUploadResponse) GetStatusUpdatedAt() time.Time` GetStatusUpdatedAt returns the StatusUpdatedAt field if non-nil, zero value otherwise. ### GetStatusUpdatedAtOk -`func (o *PythonPackageUpload) GetStatusUpdatedAtOk() (*string, bool)` +`func (o *P2PackageUploadResponse) GetStatusUpdatedAtOk() (*time.Time, bool)` GetStatusUpdatedAtOk returns a tuple with the StatusUpdatedAt field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetStatusUpdatedAt -`func (o *PythonPackageUpload) SetStatusUpdatedAt(v string)` +`func (o *P2PackageUploadResponse) SetStatusUpdatedAt(v time.Time)` SetStatusUpdatedAt sets StatusUpdatedAt field to given value. ### HasStatusUpdatedAt -`func (o *PythonPackageUpload) HasStatusUpdatedAt() bool` +`func (o *P2PackageUploadResponse) HasStatusUpdatedAt() bool` HasStatusUpdatedAt returns a boolean if a field has been set. ### GetStatusUrl -`func (o *PythonPackageUpload) GetStatusUrl() string` +`func (o *P2PackageUploadResponse) GetStatusUrl() string` GetStatusUrl returns the StatusUrl field if non-nil, zero value otherwise. ### GetStatusUrlOk -`func (o *PythonPackageUpload) GetStatusUrlOk() (*string, bool)` +`func (o *P2PackageUploadResponse) GetStatusUrlOk() (*string, bool)` GetStatusUrlOk returns a tuple with the StatusUrl field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetStatusUrl -`func (o *PythonPackageUpload) SetStatusUrl(v string)` +`func (o *P2PackageUploadResponse) SetStatusUrl(v string)` SetStatusUrl sets StatusUrl field to given value. ### HasStatusUrl -`func (o *PythonPackageUpload) HasStatusUrl() bool` +`func (o *P2PackageUploadResponse) HasStatusUrl() bool` HasStatusUrl returns a boolean if a field has been set. ### GetSubtype -`func (o *PythonPackageUpload) GetSubtype() string` +`func (o *P2PackageUploadResponse) GetSubtype() string` GetSubtype returns the Subtype field if non-nil, zero value otherwise. ### GetSubtypeOk -`func (o *PythonPackageUpload) GetSubtypeOk() (*string, bool)` +`func (o *P2PackageUploadResponse) GetSubtypeOk() (*string, bool)` GetSubtypeOk returns a tuple with the Subtype field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetSubtype -`func (o *PythonPackageUpload) SetSubtype(v string)` +`func (o *P2PackageUploadResponse) SetSubtype(v string)` SetSubtype sets Subtype field to given value. ### HasSubtype -`func (o *PythonPackageUpload) HasSubtype() bool` +`func (o *P2PackageUploadResponse) HasSubtype() bool` HasSubtype returns a boolean if a field has been set. ### GetSummary -`func (o *PythonPackageUpload) GetSummary() string` +`func (o *P2PackageUploadResponse) GetSummary() string` GetSummary returns the Summary field if non-nil, zero value otherwise. ### GetSummaryOk -`func (o *PythonPackageUpload) GetSummaryOk() (*string, bool)` +`func (o *P2PackageUploadResponse) GetSummaryOk() (*string, bool)` GetSummaryOk returns a tuple with the Summary field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetSummary -`func (o *PythonPackageUpload) SetSummary(v string)` +`func (o *P2PackageUploadResponse) SetSummary(v string)` SetSummary sets Summary field to given value. ### HasSummary -`func (o *PythonPackageUpload) HasSummary() bool` +`func (o *P2PackageUploadResponse) HasSummary() bool` HasSummary returns a boolean if a field has been set. ### GetSyncFinishedAt -`func (o *PythonPackageUpload) GetSyncFinishedAt() string` +`func (o *P2PackageUploadResponse) GetSyncFinishedAt() time.Time` GetSyncFinishedAt returns the SyncFinishedAt field if non-nil, zero value otherwise. ### GetSyncFinishedAtOk -`func (o *PythonPackageUpload) GetSyncFinishedAtOk() (*string, bool)` +`func (o *P2PackageUploadResponse) GetSyncFinishedAtOk() (*time.Time, bool)` GetSyncFinishedAtOk returns a tuple with the SyncFinishedAt field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetSyncFinishedAt -`func (o *PythonPackageUpload) SetSyncFinishedAt(v string)` +`func (o *P2PackageUploadResponse) SetSyncFinishedAt(v time.Time)` SetSyncFinishedAt sets SyncFinishedAt field to given value. ### HasSyncFinishedAt -`func (o *PythonPackageUpload) HasSyncFinishedAt() bool` +`func (o *P2PackageUploadResponse) HasSyncFinishedAt() bool` HasSyncFinishedAt returns a boolean if a field has been set. ### GetSyncProgress -`func (o *PythonPackageUpload) GetSyncProgress() int64` +`func (o *P2PackageUploadResponse) GetSyncProgress() int64` GetSyncProgress returns the SyncProgress field if non-nil, zero value otherwise. ### GetSyncProgressOk -`func (o *PythonPackageUpload) GetSyncProgressOk() (*int64, bool)` +`func (o *P2PackageUploadResponse) GetSyncProgressOk() (*int64, bool)` GetSyncProgressOk returns a tuple with the SyncProgress field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetSyncProgress -`func (o *PythonPackageUpload) SetSyncProgress(v int64)` +`func (o *P2PackageUploadResponse) SetSyncProgress(v int64)` SetSyncProgress sets SyncProgress field to given value. ### HasSyncProgress -`func (o *PythonPackageUpload) HasSyncProgress() bool` +`func (o *P2PackageUploadResponse) HasSyncProgress() bool` HasSyncProgress returns a boolean if a field has been set. ### GetTagsImmutable -`func (o *PythonPackageUpload) GetTagsImmutable() map[string]interface{}` +`func (o *P2PackageUploadResponse) GetTagsImmutable() map[string]interface{}` GetTagsImmutable returns the TagsImmutable field if non-nil, zero value otherwise. ### GetTagsImmutableOk -`func (o *PythonPackageUpload) GetTagsImmutableOk() (*map[string]interface{}, bool)` +`func (o *P2PackageUploadResponse) GetTagsImmutableOk() (*map[string]interface{}, bool)` GetTagsImmutableOk returns a tuple with the TagsImmutable field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetTagsImmutable -`func (o *PythonPackageUpload) SetTagsImmutable(v map[string]interface{})` +`func (o *P2PackageUploadResponse) SetTagsImmutable(v map[string]interface{})` SetTagsImmutable sets TagsImmutable field to given value. ### HasTagsImmutable -`func (o *PythonPackageUpload) HasTagsImmutable() bool` +`func (o *P2PackageUploadResponse) HasTagsImmutable() bool` HasTagsImmutable returns a boolean if a field has been set. ### GetTypeDisplay -`func (o *PythonPackageUpload) GetTypeDisplay() string` +`func (o *P2PackageUploadResponse) GetTypeDisplay() string` GetTypeDisplay returns the TypeDisplay field if non-nil, zero value otherwise. ### GetTypeDisplayOk -`func (o *PythonPackageUpload) GetTypeDisplayOk() (*string, bool)` +`func (o *P2PackageUploadResponse) GetTypeDisplayOk() (*string, bool)` GetTypeDisplayOk returns a tuple with the TypeDisplay field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetTypeDisplay -`func (o *PythonPackageUpload) SetTypeDisplay(v string)` +`func (o *P2PackageUploadResponse) SetTypeDisplay(v string)` SetTypeDisplay sets TypeDisplay field to given value. ### HasTypeDisplay -`func (o *PythonPackageUpload) HasTypeDisplay() bool` +`func (o *P2PackageUploadResponse) HasTypeDisplay() bool` HasTypeDisplay returns a boolean if a field has been set. ### GetUploadedAt -`func (o *PythonPackageUpload) GetUploadedAt() string` +`func (o *P2PackageUploadResponse) GetUploadedAt() time.Time` GetUploadedAt returns the UploadedAt field if non-nil, zero value otherwise. ### GetUploadedAtOk -`func (o *PythonPackageUpload) GetUploadedAtOk() (*string, bool)` +`func (o *P2PackageUploadResponse) GetUploadedAtOk() (*time.Time, bool)` GetUploadedAtOk returns a tuple with the UploadedAt field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetUploadedAt -`func (o *PythonPackageUpload) SetUploadedAt(v string)` +`func (o *P2PackageUploadResponse) SetUploadedAt(v time.Time)` SetUploadedAt sets UploadedAt field to given value. ### HasUploadedAt -`func (o *PythonPackageUpload) HasUploadedAt() bool` +`func (o *P2PackageUploadResponse) HasUploadedAt() bool` HasUploadedAt returns a boolean if a field has been set. ### GetUploader -`func (o *PythonPackageUpload) GetUploader() string` +`func (o *P2PackageUploadResponse) GetUploader() string` GetUploader returns the Uploader field if non-nil, zero value otherwise. ### GetUploaderOk -`func (o *PythonPackageUpload) GetUploaderOk() (*string, bool)` +`func (o *P2PackageUploadResponse) GetUploaderOk() (*string, bool)` GetUploaderOk returns a tuple with the Uploader field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetUploader -`func (o *PythonPackageUpload) SetUploader(v string)` +`func (o *P2PackageUploadResponse) SetUploader(v string)` SetUploader sets Uploader field to given value. ### HasUploader -`func (o *PythonPackageUpload) HasUploader() bool` +`func (o *P2PackageUploadResponse) HasUploader() bool` HasUploader returns a boolean if a field has been set. ### GetUploaderUrl -`func (o *PythonPackageUpload) GetUploaderUrl() string` +`func (o *P2PackageUploadResponse) GetUploaderUrl() string` GetUploaderUrl returns the UploaderUrl field if non-nil, zero value otherwise. ### GetUploaderUrlOk -`func (o *PythonPackageUpload) GetUploaderUrlOk() (*string, bool)` +`func (o *P2PackageUploadResponse) GetUploaderUrlOk() (*string, bool)` GetUploaderUrlOk returns a tuple with the UploaderUrl field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetUploaderUrl -`func (o *PythonPackageUpload) SetUploaderUrl(v string)` +`func (o *P2PackageUploadResponse) SetUploaderUrl(v string)` SetUploaderUrl sets UploaderUrl field to given value. ### HasUploaderUrl -`func (o *PythonPackageUpload) HasUploaderUrl() bool` +`func (o *P2PackageUploadResponse) HasUploaderUrl() bool` HasUploaderUrl returns a boolean if a field has been set. ### GetVersion -`func (o *PythonPackageUpload) GetVersion() string` +`func (o *P2PackageUploadResponse) GetVersion() string` GetVersion returns the Version field if non-nil, zero value otherwise. ### GetVersionOk -`func (o *PythonPackageUpload) GetVersionOk() (*string, bool)` +`func (o *P2PackageUploadResponse) GetVersionOk() (*string, bool)` GetVersionOk returns a tuple with the Version field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetVersion -`func (o *PythonPackageUpload) SetVersion(v string)` +`func (o *P2PackageUploadResponse) SetVersion(v string)` SetVersion sets Version field to given value. ### HasVersion -`func (o *PythonPackageUpload) HasVersion() bool` +`func (o *P2PackageUploadResponse) HasVersion() bool` HasVersion returns a boolean if a field has been set. ### GetVersionOrig -`func (o *PythonPackageUpload) GetVersionOrig() string` +`func (o *P2PackageUploadResponse) GetVersionOrig() string` GetVersionOrig returns the VersionOrig field if non-nil, zero value otherwise. ### GetVersionOrigOk -`func (o *PythonPackageUpload) GetVersionOrigOk() (*string, bool)` +`func (o *P2PackageUploadResponse) GetVersionOrigOk() (*string, bool)` GetVersionOrigOk returns a tuple with the VersionOrig field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetVersionOrig -`func (o *PythonPackageUpload) SetVersionOrig(v string)` +`func (o *P2PackageUploadResponse) SetVersionOrig(v string)` SetVersionOrig sets VersionOrig field to given value. ### HasVersionOrig -`func (o *PythonPackageUpload) HasVersionOrig() bool` +`func (o *P2PackageUploadResponse) HasVersionOrig() bool` HasVersionOrig returns a boolean if a field has been set. ### GetVulnerabilityScanResultsUrl -`func (o *PythonPackageUpload) GetVulnerabilityScanResultsUrl() string` +`func (o *P2PackageUploadResponse) GetVulnerabilityScanResultsUrl() string` GetVulnerabilityScanResultsUrl returns the VulnerabilityScanResultsUrl field if non-nil, zero value otherwise. ### GetVulnerabilityScanResultsUrlOk -`func (o *PythonPackageUpload) GetVulnerabilityScanResultsUrlOk() (*string, bool)` +`func (o *P2PackageUploadResponse) GetVulnerabilityScanResultsUrlOk() (*string, bool)` GetVulnerabilityScanResultsUrlOk returns a tuple with the VulnerabilityScanResultsUrl field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetVulnerabilityScanResultsUrl -`func (o *PythonPackageUpload) SetVulnerabilityScanResultsUrl(v string)` +`func (o *P2PackageUploadResponse) SetVulnerabilityScanResultsUrl(v string)` SetVulnerabilityScanResultsUrl sets VulnerabilityScanResultsUrl field to given value. ### HasVulnerabilityScanResultsUrl -`func (o *PythonPackageUpload) HasVulnerabilityScanResultsUrl() bool` +`func (o *P2PackageUploadResponse) HasVulnerabilityScanResultsUrl() bool` HasVulnerabilityScanResultsUrl returns a boolean if a field has been set. diff --git a/docs/Package.md b/docs/Package.md deleted file mode 100644 index d698d7b6..00000000 --- a/docs/Package.md +++ /dev/null @@ -1,1772 +0,0 @@ -# Package - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**Architectures** | Pointer to [**[]PackagesOwnerRepoArchitectures**](PackagesOwnerRepoArchitectures.md) | | [optional] -**CdnUrl** | Pointer to **string** | | [optional] -**ChecksumMd5** | Pointer to **string** | | [optional] -**ChecksumSha1** | Pointer to **string** | | [optional] -**ChecksumSha256** | Pointer to **string** | | [optional] -**ChecksumSha512** | Pointer to **string** | | [optional] -**DependenciesChecksumMd5** | Pointer to **string** | A checksum of all of the package's dependencies. | [optional] -**DependenciesUrl** | Pointer to **string** | | [optional] -**Description** | Pointer to **string** | A textual description of this package. | [optional] -**Distro** | Pointer to **map[string]interface{}** | | [optional] -**DistroVersion** | Pointer to **map[string]interface{}** | | [optional] -**Downloads** | Pointer to **int64** | | [optional] -**Epoch** | Pointer to **int64** | The epoch of the package version (if any). | [optional] -**Extension** | Pointer to **string** | | [optional] -**Filename** | Pointer to **string** | | [optional] -**Files** | Pointer to [**[]PackagesOwnerRepoFiles**](PackagesOwnerRepoFiles.md) | | [optional] -**Format** | Pointer to **string** | | [optional] -**FormatUrl** | Pointer to **string** | | [optional] -**IdentifierPerm** | Pointer to **string** | Unique and permanent identifier for the package. | [optional] -**Indexed** | Pointer to **bool** | | [optional] -**IsDownloadable** | Pointer to **bool** | | [optional] -**IsQuarantined** | Pointer to **bool** | | [optional] -**IsSyncAwaiting** | Pointer to **bool** | | [optional] -**IsSyncCompleted** | Pointer to **bool** | | [optional] -**IsSyncFailed** | Pointer to **bool** | | [optional] -**IsSyncInFlight** | Pointer to **bool** | | [optional] -**IsSyncInProgress** | Pointer to **bool** | | [optional] -**License** | Pointer to **string** | The license of this package. | [optional] -**Name** | Pointer to **string** | The name of this package. | [optional] -**Namespace** | Pointer to **string** | | [optional] -**NamespaceUrl** | Pointer to **string** | | [optional] -**NumFiles** | Pointer to **int64** | | [optional] -**PackageType** | Pointer to **int64** | The type of package contents. | [optional] -**Release** | Pointer to **string** | The release of the package version (if any). | [optional] -**Repository** | Pointer to **string** | | [optional] -**RepositoryUrl** | Pointer to **string** | | [optional] -**SecurityScanCompletedAt** | Pointer to **string** | The datetime the security scanning was completed. | [optional] -**SecurityScanStartedAt** | Pointer to **string** | The datetime the security scanning was started. | [optional] -**SecurityScanStatus** | Pointer to **string** | | [optional] -**SecurityScanStatusUpdatedAt** | Pointer to **string** | The datetime the security scanning status was updated. | [optional] -**SelfHtmlUrl** | Pointer to **string** | | [optional] -**SelfUrl** | Pointer to **string** | | [optional] -**SignatureUrl** | Pointer to **string** | | [optional] -**Size** | Pointer to **int64** | The calculated size of the package. | [optional] -**Slug** | Pointer to **string** | The public unique identifier for the package. | [optional] -**SlugPerm** | Pointer to **string** | | [optional] -**Stage** | Pointer to **int64** | The synchronisation (in progress) stage of the package. | [optional] -**StageStr** | Pointer to **string** | | [optional] -**StageUpdatedAt** | Pointer to **string** | The datetime the package stage was updated at. | [optional] -**Status** | Pointer to **int64** | The synchronisation status of the package. | [optional] -**StatusReason** | Pointer to **string** | A textual description for the synchronous status reason (if any | [optional] -**StatusStr** | Pointer to **string** | | [optional] -**StatusUpdatedAt** | Pointer to **string** | The datetime the package status was updated at. | [optional] -**StatusUrl** | Pointer to **string** | | [optional] -**Subtype** | Pointer to **string** | | [optional] -**Summary** | Pointer to **string** | A one-liner synopsis of this package. | [optional] -**SyncFinishedAt** | Pointer to **string** | The datetime the package sync was finished at. | [optional] -**SyncProgress** | Pointer to **int64** | Synchronisation progress (from 0-100) | [optional] -**Tags** | Pointer to **map[string]interface{}** | All tags on the package, grouped by tag type. This includes immutable tags, but doesn't distinguish them from mutable. To see which tags are immutable specifically, see the tags_immutable field. | [optional] -**TagsImmutable** | Pointer to **map[string]interface{}** | All immutable tags on the package, grouped by tag type. Immutable tags cannot be (easily) deleted. | [optional] -**TypeDisplay** | Pointer to **string** | | [optional] -**UploadedAt** | Pointer to **string** | The date this package was uploaded. | [optional] -**Uploader** | Pointer to **string** | | [optional] -**UploaderUrl** | Pointer to **string** | | [optional] -**Version** | Pointer to **string** | The raw version for this package. | [optional] -**VersionOrig** | Pointer to **string** | | [optional] -**VulnerabilityScanResultsUrl** | Pointer to **string** | | [optional] - -## Methods - -### NewPackage - -`func NewPackage() *Package` - -NewPackage instantiates a new Package object -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 - -### NewPackageWithDefaults - -`func NewPackageWithDefaults() *Package` - -NewPackageWithDefaults instantiates a new Package object -This constructor will only assign default values to properties that have it defined, -but it doesn't guarantee that properties required by API are set - -### GetArchitectures - -`func (o *Package) GetArchitectures() []PackagesOwnerRepoArchitectures` - -GetArchitectures returns the Architectures field if non-nil, zero value otherwise. - -### GetArchitecturesOk - -`func (o *Package) GetArchitecturesOk() (*[]PackagesOwnerRepoArchitectures, bool)` - -GetArchitecturesOk returns a tuple with the Architectures field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetArchitectures - -`func (o *Package) SetArchitectures(v []PackagesOwnerRepoArchitectures)` - -SetArchitectures sets Architectures field to given value. - -### HasArchitectures - -`func (o *Package) HasArchitectures() bool` - -HasArchitectures returns a boolean if a field has been set. - -### GetCdnUrl - -`func (o *Package) GetCdnUrl() string` - -GetCdnUrl returns the CdnUrl field if non-nil, zero value otherwise. - -### GetCdnUrlOk - -`func (o *Package) GetCdnUrlOk() (*string, bool)` - -GetCdnUrlOk returns a tuple with the CdnUrl field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetCdnUrl - -`func (o *Package) SetCdnUrl(v string)` - -SetCdnUrl sets CdnUrl field to given value. - -### HasCdnUrl - -`func (o *Package) HasCdnUrl() bool` - -HasCdnUrl returns a boolean if a field has been set. - -### GetChecksumMd5 - -`func (o *Package) GetChecksumMd5() string` - -GetChecksumMd5 returns the ChecksumMd5 field if non-nil, zero value otherwise. - -### GetChecksumMd5Ok - -`func (o *Package) GetChecksumMd5Ok() (*string, bool)` - -GetChecksumMd5Ok returns a tuple with the ChecksumMd5 field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetChecksumMd5 - -`func (o *Package) SetChecksumMd5(v string)` - -SetChecksumMd5 sets ChecksumMd5 field to given value. - -### HasChecksumMd5 - -`func (o *Package) HasChecksumMd5() bool` - -HasChecksumMd5 returns a boolean if a field has been set. - -### GetChecksumSha1 - -`func (o *Package) GetChecksumSha1() string` - -GetChecksumSha1 returns the ChecksumSha1 field if non-nil, zero value otherwise. - -### GetChecksumSha1Ok - -`func (o *Package) GetChecksumSha1Ok() (*string, bool)` - -GetChecksumSha1Ok returns a tuple with the ChecksumSha1 field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetChecksumSha1 - -`func (o *Package) SetChecksumSha1(v string)` - -SetChecksumSha1 sets ChecksumSha1 field to given value. - -### HasChecksumSha1 - -`func (o *Package) HasChecksumSha1() bool` - -HasChecksumSha1 returns a boolean if a field has been set. - -### GetChecksumSha256 - -`func (o *Package) GetChecksumSha256() string` - -GetChecksumSha256 returns the ChecksumSha256 field if non-nil, zero value otherwise. - -### GetChecksumSha256Ok - -`func (o *Package) GetChecksumSha256Ok() (*string, bool)` - -GetChecksumSha256Ok returns a tuple with the ChecksumSha256 field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetChecksumSha256 - -`func (o *Package) SetChecksumSha256(v string)` - -SetChecksumSha256 sets ChecksumSha256 field to given value. - -### HasChecksumSha256 - -`func (o *Package) HasChecksumSha256() bool` - -HasChecksumSha256 returns a boolean if a field has been set. - -### GetChecksumSha512 - -`func (o *Package) GetChecksumSha512() string` - -GetChecksumSha512 returns the ChecksumSha512 field if non-nil, zero value otherwise. - -### GetChecksumSha512Ok - -`func (o *Package) GetChecksumSha512Ok() (*string, bool)` - -GetChecksumSha512Ok returns a tuple with the ChecksumSha512 field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetChecksumSha512 - -`func (o *Package) SetChecksumSha512(v string)` - -SetChecksumSha512 sets ChecksumSha512 field to given value. - -### HasChecksumSha512 - -`func (o *Package) HasChecksumSha512() bool` - -HasChecksumSha512 returns a boolean if a field has been set. - -### GetDependenciesChecksumMd5 - -`func (o *Package) GetDependenciesChecksumMd5() string` - -GetDependenciesChecksumMd5 returns the DependenciesChecksumMd5 field if non-nil, zero value otherwise. - -### GetDependenciesChecksumMd5Ok - -`func (o *Package) GetDependenciesChecksumMd5Ok() (*string, bool)` - -GetDependenciesChecksumMd5Ok returns a tuple with the DependenciesChecksumMd5 field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetDependenciesChecksumMd5 - -`func (o *Package) SetDependenciesChecksumMd5(v string)` - -SetDependenciesChecksumMd5 sets DependenciesChecksumMd5 field to given value. - -### HasDependenciesChecksumMd5 - -`func (o *Package) HasDependenciesChecksumMd5() bool` - -HasDependenciesChecksumMd5 returns a boolean if a field has been set. - -### GetDependenciesUrl - -`func (o *Package) GetDependenciesUrl() string` - -GetDependenciesUrl returns the DependenciesUrl field if non-nil, zero value otherwise. - -### GetDependenciesUrlOk - -`func (o *Package) GetDependenciesUrlOk() (*string, bool)` - -GetDependenciesUrlOk returns a tuple with the DependenciesUrl field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetDependenciesUrl - -`func (o *Package) SetDependenciesUrl(v string)` - -SetDependenciesUrl sets DependenciesUrl field to given value. - -### HasDependenciesUrl - -`func (o *Package) HasDependenciesUrl() bool` - -HasDependenciesUrl returns a boolean if a field has been set. - -### GetDescription - -`func (o *Package) GetDescription() string` - -GetDescription returns the Description field if non-nil, zero value otherwise. - -### GetDescriptionOk - -`func (o *Package) GetDescriptionOk() (*string, bool)` - -GetDescriptionOk returns a tuple with the Description field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetDescription - -`func (o *Package) SetDescription(v string)` - -SetDescription sets Description field to given value. - -### HasDescription - -`func (o *Package) HasDescription() bool` - -HasDescription returns a boolean if a field has been set. - -### GetDistro - -`func (o *Package) GetDistro() map[string]interface{}` - -GetDistro returns the Distro field if non-nil, zero value otherwise. - -### GetDistroOk - -`func (o *Package) GetDistroOk() (*map[string]interface{}, bool)` - -GetDistroOk returns a tuple with the Distro field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetDistro - -`func (o *Package) SetDistro(v map[string]interface{})` - -SetDistro sets Distro field to given value. - -### HasDistro - -`func (o *Package) HasDistro() bool` - -HasDistro returns a boolean if a field has been set. - -### GetDistroVersion - -`func (o *Package) GetDistroVersion() map[string]interface{}` - -GetDistroVersion returns the DistroVersion field if non-nil, zero value otherwise. - -### GetDistroVersionOk - -`func (o *Package) GetDistroVersionOk() (*map[string]interface{}, bool)` - -GetDistroVersionOk returns a tuple with the DistroVersion field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetDistroVersion - -`func (o *Package) SetDistroVersion(v map[string]interface{})` - -SetDistroVersion sets DistroVersion field to given value. - -### HasDistroVersion - -`func (o *Package) HasDistroVersion() bool` - -HasDistroVersion returns a boolean if a field has been set. - -### GetDownloads - -`func (o *Package) GetDownloads() int64` - -GetDownloads returns the Downloads field if non-nil, zero value otherwise. - -### GetDownloadsOk - -`func (o *Package) GetDownloadsOk() (*int64, bool)` - -GetDownloadsOk returns a tuple with the Downloads field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetDownloads - -`func (o *Package) SetDownloads(v int64)` - -SetDownloads sets Downloads field to given value. - -### HasDownloads - -`func (o *Package) HasDownloads() bool` - -HasDownloads returns a boolean if a field has been set. - -### GetEpoch - -`func (o *Package) GetEpoch() int64` - -GetEpoch returns the Epoch field if non-nil, zero value otherwise. - -### GetEpochOk - -`func (o *Package) GetEpochOk() (*int64, bool)` - -GetEpochOk returns a tuple with the Epoch field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetEpoch - -`func (o *Package) SetEpoch(v int64)` - -SetEpoch sets Epoch field to given value. - -### HasEpoch - -`func (o *Package) HasEpoch() bool` - -HasEpoch returns a boolean if a field has been set. - -### GetExtension - -`func (o *Package) GetExtension() string` - -GetExtension returns the Extension field if non-nil, zero value otherwise. - -### GetExtensionOk - -`func (o *Package) GetExtensionOk() (*string, bool)` - -GetExtensionOk returns a tuple with the Extension field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetExtension - -`func (o *Package) SetExtension(v string)` - -SetExtension sets Extension field to given value. - -### HasExtension - -`func (o *Package) HasExtension() bool` - -HasExtension returns a boolean if a field has been set. - -### GetFilename - -`func (o *Package) GetFilename() string` - -GetFilename returns the Filename field if non-nil, zero value otherwise. - -### GetFilenameOk - -`func (o *Package) GetFilenameOk() (*string, bool)` - -GetFilenameOk returns a tuple with the Filename field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetFilename - -`func (o *Package) SetFilename(v string)` - -SetFilename sets Filename field to given value. - -### HasFilename - -`func (o *Package) HasFilename() bool` - -HasFilename returns a boolean if a field has been set. - -### GetFiles - -`func (o *Package) GetFiles() []PackagesOwnerRepoFiles` - -GetFiles returns the Files field if non-nil, zero value otherwise. - -### GetFilesOk - -`func (o *Package) GetFilesOk() (*[]PackagesOwnerRepoFiles, 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 *Package) SetFiles(v []PackagesOwnerRepoFiles)` - -SetFiles sets Files field to given value. - -### HasFiles - -`func (o *Package) HasFiles() bool` - -HasFiles returns a boolean if a field has been set. - -### GetFormat - -`func (o *Package) GetFormat() string` - -GetFormat returns the Format field if non-nil, zero value otherwise. - -### GetFormatOk - -`func (o *Package) GetFormatOk() (*string, bool)` - -GetFormatOk returns a tuple with the Format field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetFormat - -`func (o *Package) SetFormat(v string)` - -SetFormat sets Format field to given value. - -### HasFormat - -`func (o *Package) HasFormat() bool` - -HasFormat returns a boolean if a field has been set. - -### GetFormatUrl - -`func (o *Package) GetFormatUrl() string` - -GetFormatUrl returns the FormatUrl field if non-nil, zero value otherwise. - -### GetFormatUrlOk - -`func (o *Package) GetFormatUrlOk() (*string, bool)` - -GetFormatUrlOk returns a tuple with the FormatUrl field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetFormatUrl - -`func (o *Package) SetFormatUrl(v string)` - -SetFormatUrl sets FormatUrl field to given value. - -### HasFormatUrl - -`func (o *Package) HasFormatUrl() bool` - -HasFormatUrl returns a boolean if a field has been set. - -### GetIdentifierPerm - -`func (o *Package) GetIdentifierPerm() string` - -GetIdentifierPerm returns the IdentifierPerm field if non-nil, zero value otherwise. - -### GetIdentifierPermOk - -`func (o *Package) GetIdentifierPermOk() (*string, bool)` - -GetIdentifierPermOk returns a tuple with the IdentifierPerm field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetIdentifierPerm - -`func (o *Package) SetIdentifierPerm(v string)` - -SetIdentifierPerm sets IdentifierPerm field to given value. - -### HasIdentifierPerm - -`func (o *Package) HasIdentifierPerm() bool` - -HasIdentifierPerm returns a boolean if a field has been set. - -### GetIndexed - -`func (o *Package) GetIndexed() bool` - -GetIndexed returns the Indexed field if non-nil, zero value otherwise. - -### GetIndexedOk - -`func (o *Package) GetIndexedOk() (*bool, bool)` - -GetIndexedOk returns a tuple with the Indexed field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetIndexed - -`func (o *Package) SetIndexed(v bool)` - -SetIndexed sets Indexed field to given value. - -### HasIndexed - -`func (o *Package) HasIndexed() bool` - -HasIndexed returns a boolean if a field has been set. - -### GetIsDownloadable - -`func (o *Package) GetIsDownloadable() bool` - -GetIsDownloadable returns the IsDownloadable field if non-nil, zero value otherwise. - -### GetIsDownloadableOk - -`func (o *Package) GetIsDownloadableOk() (*bool, bool)` - -GetIsDownloadableOk returns a tuple with the IsDownloadable field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetIsDownloadable - -`func (o *Package) SetIsDownloadable(v bool)` - -SetIsDownloadable sets IsDownloadable field to given value. - -### HasIsDownloadable - -`func (o *Package) HasIsDownloadable() bool` - -HasIsDownloadable returns a boolean if a field has been set. - -### GetIsQuarantined - -`func (o *Package) GetIsQuarantined() bool` - -GetIsQuarantined returns the IsQuarantined field if non-nil, zero value otherwise. - -### GetIsQuarantinedOk - -`func (o *Package) GetIsQuarantinedOk() (*bool, bool)` - -GetIsQuarantinedOk returns a tuple with the IsQuarantined field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetIsQuarantined - -`func (o *Package) SetIsQuarantined(v bool)` - -SetIsQuarantined sets IsQuarantined field to given value. - -### HasIsQuarantined - -`func (o *Package) HasIsQuarantined() bool` - -HasIsQuarantined returns a boolean if a field has been set. - -### GetIsSyncAwaiting - -`func (o *Package) GetIsSyncAwaiting() bool` - -GetIsSyncAwaiting returns the IsSyncAwaiting field if non-nil, zero value otherwise. - -### GetIsSyncAwaitingOk - -`func (o *Package) GetIsSyncAwaitingOk() (*bool, bool)` - -GetIsSyncAwaitingOk returns a tuple with the IsSyncAwaiting field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetIsSyncAwaiting - -`func (o *Package) SetIsSyncAwaiting(v bool)` - -SetIsSyncAwaiting sets IsSyncAwaiting field to given value. - -### HasIsSyncAwaiting - -`func (o *Package) HasIsSyncAwaiting() bool` - -HasIsSyncAwaiting returns a boolean if a field has been set. - -### GetIsSyncCompleted - -`func (o *Package) GetIsSyncCompleted() bool` - -GetIsSyncCompleted returns the IsSyncCompleted field if non-nil, zero value otherwise. - -### GetIsSyncCompletedOk - -`func (o *Package) GetIsSyncCompletedOk() (*bool, bool)` - -GetIsSyncCompletedOk returns a tuple with the IsSyncCompleted field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetIsSyncCompleted - -`func (o *Package) SetIsSyncCompleted(v bool)` - -SetIsSyncCompleted sets IsSyncCompleted field to given value. - -### HasIsSyncCompleted - -`func (o *Package) HasIsSyncCompleted() bool` - -HasIsSyncCompleted returns a boolean if a field has been set. - -### GetIsSyncFailed - -`func (o *Package) GetIsSyncFailed() bool` - -GetIsSyncFailed returns the IsSyncFailed field if non-nil, zero value otherwise. - -### GetIsSyncFailedOk - -`func (o *Package) GetIsSyncFailedOk() (*bool, bool)` - -GetIsSyncFailedOk returns a tuple with the IsSyncFailed field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetIsSyncFailed - -`func (o *Package) SetIsSyncFailed(v bool)` - -SetIsSyncFailed sets IsSyncFailed field to given value. - -### HasIsSyncFailed - -`func (o *Package) HasIsSyncFailed() bool` - -HasIsSyncFailed returns a boolean if a field has been set. - -### GetIsSyncInFlight - -`func (o *Package) GetIsSyncInFlight() bool` - -GetIsSyncInFlight returns the IsSyncInFlight field if non-nil, zero value otherwise. - -### GetIsSyncInFlightOk - -`func (o *Package) GetIsSyncInFlightOk() (*bool, bool)` - -GetIsSyncInFlightOk returns a tuple with the IsSyncInFlight field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetIsSyncInFlight - -`func (o *Package) SetIsSyncInFlight(v bool)` - -SetIsSyncInFlight sets IsSyncInFlight field to given value. - -### HasIsSyncInFlight - -`func (o *Package) HasIsSyncInFlight() bool` - -HasIsSyncInFlight returns a boolean if a field has been set. - -### GetIsSyncInProgress - -`func (o *Package) GetIsSyncInProgress() bool` - -GetIsSyncInProgress returns the IsSyncInProgress field if non-nil, zero value otherwise. - -### GetIsSyncInProgressOk - -`func (o *Package) GetIsSyncInProgressOk() (*bool, bool)` - -GetIsSyncInProgressOk returns a tuple with the IsSyncInProgress field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetIsSyncInProgress - -`func (o *Package) SetIsSyncInProgress(v bool)` - -SetIsSyncInProgress sets IsSyncInProgress field to given value. - -### HasIsSyncInProgress - -`func (o *Package) HasIsSyncInProgress() bool` - -HasIsSyncInProgress returns a boolean if a field has been set. - -### GetLicense - -`func (o *Package) GetLicense() string` - -GetLicense returns the License field if non-nil, zero value otherwise. - -### GetLicenseOk - -`func (o *Package) GetLicenseOk() (*string, bool)` - -GetLicenseOk returns a tuple with the License field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetLicense - -`func (o *Package) SetLicense(v string)` - -SetLicense sets License field to given value. - -### HasLicense - -`func (o *Package) HasLicense() bool` - -HasLicense returns a boolean if a field has been set. - -### GetName - -`func (o *Package) GetName() string` - -GetName returns the Name field if non-nil, zero value otherwise. - -### GetNameOk - -`func (o *Package) GetNameOk() (*string, bool)` - -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. - -### SetName - -`func (o *Package) SetName(v string)` - -SetName sets Name field to given value. - -### HasName - -`func (o *Package) HasName() bool` - -HasName returns a boolean if a field has been set. - -### GetNamespace - -`func (o *Package) GetNamespace() string` - -GetNamespace returns the Namespace field if non-nil, zero value otherwise. - -### GetNamespaceOk - -`func (o *Package) GetNamespaceOk() (*string, bool)` - -GetNamespaceOk returns a tuple with the Namespace field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetNamespace - -`func (o *Package) SetNamespace(v string)` - -SetNamespace sets Namespace field to given value. - -### HasNamespace - -`func (o *Package) HasNamespace() bool` - -HasNamespace returns a boolean if a field has been set. - -### GetNamespaceUrl - -`func (o *Package) GetNamespaceUrl() string` - -GetNamespaceUrl returns the NamespaceUrl field if non-nil, zero value otherwise. - -### GetNamespaceUrlOk - -`func (o *Package) GetNamespaceUrlOk() (*string, bool)` - -GetNamespaceUrlOk returns a tuple with the NamespaceUrl field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetNamespaceUrl - -`func (o *Package) SetNamespaceUrl(v string)` - -SetNamespaceUrl sets NamespaceUrl field to given value. - -### HasNamespaceUrl - -`func (o *Package) HasNamespaceUrl() bool` - -HasNamespaceUrl returns a boolean if a field has been set. - -### GetNumFiles - -`func (o *Package) GetNumFiles() int64` - -GetNumFiles returns the NumFiles field if non-nil, zero value otherwise. - -### GetNumFilesOk - -`func (o *Package) GetNumFilesOk() (*int64, bool)` - -GetNumFilesOk returns a tuple with the NumFiles field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetNumFiles - -`func (o *Package) SetNumFiles(v int64)` - -SetNumFiles sets NumFiles field to given value. - -### HasNumFiles - -`func (o *Package) HasNumFiles() bool` - -HasNumFiles returns a boolean if a field has been set. - -### GetPackageType - -`func (o *Package) GetPackageType() int64` - -GetPackageType returns the PackageType field if non-nil, zero value otherwise. - -### GetPackageTypeOk - -`func (o *Package) GetPackageTypeOk() (*int64, bool)` - -GetPackageTypeOk returns a tuple with the PackageType field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetPackageType - -`func (o *Package) SetPackageType(v int64)` - -SetPackageType sets PackageType field to given value. - -### HasPackageType - -`func (o *Package) HasPackageType() bool` - -HasPackageType returns a boolean if a field has been set. - -### GetRelease - -`func (o *Package) GetRelease() string` - -GetRelease returns the Release field if non-nil, zero value otherwise. - -### GetReleaseOk - -`func (o *Package) GetReleaseOk() (*string, bool)` - -GetReleaseOk returns a tuple with the Release field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetRelease - -`func (o *Package) SetRelease(v string)` - -SetRelease sets Release field to given value. - -### HasRelease - -`func (o *Package) HasRelease() bool` - -HasRelease returns a boolean if a field has been set. - -### GetRepository - -`func (o *Package) GetRepository() string` - -GetRepository returns the Repository field if non-nil, zero value otherwise. - -### GetRepositoryOk - -`func (o *Package) GetRepositoryOk() (*string, bool)` - -GetRepositoryOk returns a tuple with the Repository field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetRepository - -`func (o *Package) SetRepository(v string)` - -SetRepository sets Repository field to given value. - -### HasRepository - -`func (o *Package) HasRepository() bool` - -HasRepository returns a boolean if a field has been set. - -### GetRepositoryUrl - -`func (o *Package) GetRepositoryUrl() string` - -GetRepositoryUrl returns the RepositoryUrl field if non-nil, zero value otherwise. - -### GetRepositoryUrlOk - -`func (o *Package) GetRepositoryUrlOk() (*string, bool)` - -GetRepositoryUrlOk returns a tuple with the RepositoryUrl field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetRepositoryUrl - -`func (o *Package) SetRepositoryUrl(v string)` - -SetRepositoryUrl sets RepositoryUrl field to given value. - -### HasRepositoryUrl - -`func (o *Package) HasRepositoryUrl() bool` - -HasRepositoryUrl returns a boolean if a field has been set. - -### GetSecurityScanCompletedAt - -`func (o *Package) GetSecurityScanCompletedAt() string` - -GetSecurityScanCompletedAt returns the SecurityScanCompletedAt field if non-nil, zero value otherwise. - -### GetSecurityScanCompletedAtOk - -`func (o *Package) GetSecurityScanCompletedAtOk() (*string, bool)` - -GetSecurityScanCompletedAtOk returns a tuple with the SecurityScanCompletedAt field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetSecurityScanCompletedAt - -`func (o *Package) SetSecurityScanCompletedAt(v string)` - -SetSecurityScanCompletedAt sets SecurityScanCompletedAt field to given value. - -### HasSecurityScanCompletedAt - -`func (o *Package) HasSecurityScanCompletedAt() bool` - -HasSecurityScanCompletedAt returns a boolean if a field has been set. - -### GetSecurityScanStartedAt - -`func (o *Package) GetSecurityScanStartedAt() string` - -GetSecurityScanStartedAt returns the SecurityScanStartedAt field if non-nil, zero value otherwise. - -### GetSecurityScanStartedAtOk - -`func (o *Package) GetSecurityScanStartedAtOk() (*string, bool)` - -GetSecurityScanStartedAtOk returns a tuple with the SecurityScanStartedAt field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetSecurityScanStartedAt - -`func (o *Package) SetSecurityScanStartedAt(v string)` - -SetSecurityScanStartedAt sets SecurityScanStartedAt field to given value. - -### HasSecurityScanStartedAt - -`func (o *Package) HasSecurityScanStartedAt() bool` - -HasSecurityScanStartedAt returns a boolean if a field has been set. - -### GetSecurityScanStatus - -`func (o *Package) GetSecurityScanStatus() string` - -GetSecurityScanStatus returns the SecurityScanStatus field if non-nil, zero value otherwise. - -### GetSecurityScanStatusOk - -`func (o *Package) GetSecurityScanStatusOk() (*string, bool)` - -GetSecurityScanStatusOk returns a tuple with the SecurityScanStatus field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetSecurityScanStatus - -`func (o *Package) SetSecurityScanStatus(v string)` - -SetSecurityScanStatus sets SecurityScanStatus field to given value. - -### HasSecurityScanStatus - -`func (o *Package) HasSecurityScanStatus() bool` - -HasSecurityScanStatus returns a boolean if a field has been set. - -### GetSecurityScanStatusUpdatedAt - -`func (o *Package) GetSecurityScanStatusUpdatedAt() string` - -GetSecurityScanStatusUpdatedAt returns the SecurityScanStatusUpdatedAt field if non-nil, zero value otherwise. - -### GetSecurityScanStatusUpdatedAtOk - -`func (o *Package) GetSecurityScanStatusUpdatedAtOk() (*string, bool)` - -GetSecurityScanStatusUpdatedAtOk returns a tuple with the SecurityScanStatusUpdatedAt field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetSecurityScanStatusUpdatedAt - -`func (o *Package) SetSecurityScanStatusUpdatedAt(v string)` - -SetSecurityScanStatusUpdatedAt sets SecurityScanStatusUpdatedAt field to given value. - -### HasSecurityScanStatusUpdatedAt - -`func (o *Package) HasSecurityScanStatusUpdatedAt() bool` - -HasSecurityScanStatusUpdatedAt returns a boolean if a field has been set. - -### GetSelfHtmlUrl - -`func (o *Package) GetSelfHtmlUrl() string` - -GetSelfHtmlUrl returns the SelfHtmlUrl field if non-nil, zero value otherwise. - -### GetSelfHtmlUrlOk - -`func (o *Package) GetSelfHtmlUrlOk() (*string, bool)` - -GetSelfHtmlUrlOk returns a tuple with the SelfHtmlUrl field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetSelfHtmlUrl - -`func (o *Package) SetSelfHtmlUrl(v string)` - -SetSelfHtmlUrl sets SelfHtmlUrl field to given value. - -### HasSelfHtmlUrl - -`func (o *Package) HasSelfHtmlUrl() bool` - -HasSelfHtmlUrl returns a boolean if a field has been set. - -### GetSelfUrl - -`func (o *Package) GetSelfUrl() string` - -GetSelfUrl returns the SelfUrl field if non-nil, zero value otherwise. - -### GetSelfUrlOk - -`func (o *Package) GetSelfUrlOk() (*string, bool)` - -GetSelfUrlOk returns a tuple with the SelfUrl field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetSelfUrl - -`func (o *Package) SetSelfUrl(v string)` - -SetSelfUrl sets SelfUrl field to given value. - -### HasSelfUrl - -`func (o *Package) HasSelfUrl() bool` - -HasSelfUrl returns a boolean if a field has been set. - -### GetSignatureUrl - -`func (o *Package) GetSignatureUrl() string` - -GetSignatureUrl returns the SignatureUrl field if non-nil, zero value otherwise. - -### GetSignatureUrlOk - -`func (o *Package) GetSignatureUrlOk() (*string, bool)` - -GetSignatureUrlOk returns a tuple with the SignatureUrl field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetSignatureUrl - -`func (o *Package) SetSignatureUrl(v string)` - -SetSignatureUrl sets SignatureUrl field to given value. - -### HasSignatureUrl - -`func (o *Package) HasSignatureUrl() bool` - -HasSignatureUrl returns a boolean if a field has been set. - -### GetSize - -`func (o *Package) GetSize() int64` - -GetSize returns the Size field if non-nil, zero value otherwise. - -### GetSizeOk - -`func (o *Package) GetSizeOk() (*int64, bool)` - -GetSizeOk returns a tuple with the Size field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetSize - -`func (o *Package) SetSize(v int64)` - -SetSize sets Size field to given value. - -### HasSize - -`func (o *Package) HasSize() bool` - -HasSize returns a boolean if a field has been set. - -### GetSlug - -`func (o *Package) GetSlug() string` - -GetSlug returns the Slug field if non-nil, zero value otherwise. - -### GetSlugOk - -`func (o *Package) GetSlugOk() (*string, bool)` - -GetSlugOk returns a tuple with the Slug field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetSlug - -`func (o *Package) SetSlug(v string)` - -SetSlug sets Slug field to given value. - -### HasSlug - -`func (o *Package) HasSlug() bool` - -HasSlug returns a boolean if a field has been set. - -### GetSlugPerm - -`func (o *Package) GetSlugPerm() string` - -GetSlugPerm returns the SlugPerm field if non-nil, zero value otherwise. - -### GetSlugPermOk - -`func (o *Package) GetSlugPermOk() (*string, bool)` - -GetSlugPermOk returns a tuple with the SlugPerm field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetSlugPerm - -`func (o *Package) SetSlugPerm(v string)` - -SetSlugPerm sets SlugPerm field to given value. - -### HasSlugPerm - -`func (o *Package) HasSlugPerm() bool` - -HasSlugPerm returns a boolean if a field has been set. - -### GetStage - -`func (o *Package) GetStage() int64` - -GetStage returns the Stage field if non-nil, zero value otherwise. - -### GetStageOk - -`func (o *Package) GetStageOk() (*int64, bool)` - -GetStageOk returns a tuple with the Stage field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetStage - -`func (o *Package) SetStage(v int64)` - -SetStage sets Stage field to given value. - -### HasStage - -`func (o *Package) HasStage() bool` - -HasStage returns a boolean if a field has been set. - -### GetStageStr - -`func (o *Package) GetStageStr() string` - -GetStageStr returns the StageStr field if non-nil, zero value otherwise. - -### GetStageStrOk - -`func (o *Package) GetStageStrOk() (*string, bool)` - -GetStageStrOk returns a tuple with the StageStr field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetStageStr - -`func (o *Package) SetStageStr(v string)` - -SetStageStr sets StageStr field to given value. - -### HasStageStr - -`func (o *Package) HasStageStr() bool` - -HasStageStr returns a boolean if a field has been set. - -### GetStageUpdatedAt - -`func (o *Package) GetStageUpdatedAt() string` - -GetStageUpdatedAt returns the StageUpdatedAt field if non-nil, zero value otherwise. - -### GetStageUpdatedAtOk - -`func (o *Package) GetStageUpdatedAtOk() (*string, bool)` - -GetStageUpdatedAtOk returns a tuple with the StageUpdatedAt field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetStageUpdatedAt - -`func (o *Package) SetStageUpdatedAt(v string)` - -SetStageUpdatedAt sets StageUpdatedAt field to given value. - -### HasStageUpdatedAt - -`func (o *Package) HasStageUpdatedAt() bool` - -HasStageUpdatedAt returns a boolean if a field has been set. - -### GetStatus - -`func (o *Package) GetStatus() int64` - -GetStatus returns the Status field if non-nil, zero value otherwise. - -### GetStatusOk - -`func (o *Package) GetStatusOk() (*int64, bool)` - -GetStatusOk returns a tuple with the Status field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetStatus - -`func (o *Package) SetStatus(v int64)` - -SetStatus sets Status field to given value. - -### HasStatus - -`func (o *Package) HasStatus() bool` - -HasStatus returns a boolean if a field has been set. - -### GetStatusReason - -`func (o *Package) GetStatusReason() string` - -GetStatusReason returns the StatusReason field if non-nil, zero value otherwise. - -### GetStatusReasonOk - -`func (o *Package) GetStatusReasonOk() (*string, bool)` - -GetStatusReasonOk returns a tuple with the StatusReason field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetStatusReason - -`func (o *Package) SetStatusReason(v string)` - -SetStatusReason sets StatusReason field to given value. - -### HasStatusReason - -`func (o *Package) HasStatusReason() bool` - -HasStatusReason returns a boolean if a field has been set. - -### GetStatusStr - -`func (o *Package) GetStatusStr() string` - -GetStatusStr returns the StatusStr field if non-nil, zero value otherwise. - -### GetStatusStrOk - -`func (o *Package) GetStatusStrOk() (*string, bool)` - -GetStatusStrOk returns a tuple with the StatusStr field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetStatusStr - -`func (o *Package) SetStatusStr(v string)` - -SetStatusStr sets StatusStr field to given value. - -### HasStatusStr - -`func (o *Package) HasStatusStr() bool` - -HasStatusStr returns a boolean if a field has been set. - -### GetStatusUpdatedAt - -`func (o *Package) GetStatusUpdatedAt() string` - -GetStatusUpdatedAt returns the StatusUpdatedAt field if non-nil, zero value otherwise. - -### GetStatusUpdatedAtOk - -`func (o *Package) GetStatusUpdatedAtOk() (*string, bool)` - -GetStatusUpdatedAtOk returns a tuple with the StatusUpdatedAt field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetStatusUpdatedAt - -`func (o *Package) SetStatusUpdatedAt(v string)` - -SetStatusUpdatedAt sets StatusUpdatedAt field to given value. - -### HasStatusUpdatedAt - -`func (o *Package) HasStatusUpdatedAt() bool` - -HasStatusUpdatedAt returns a boolean if a field has been set. - -### GetStatusUrl - -`func (o *Package) GetStatusUrl() string` - -GetStatusUrl returns the StatusUrl field if non-nil, zero value otherwise. - -### GetStatusUrlOk - -`func (o *Package) GetStatusUrlOk() (*string, bool)` - -GetStatusUrlOk returns a tuple with the StatusUrl field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetStatusUrl - -`func (o *Package) SetStatusUrl(v string)` - -SetStatusUrl sets StatusUrl field to given value. - -### HasStatusUrl - -`func (o *Package) HasStatusUrl() bool` - -HasStatusUrl returns a boolean if a field has been set. - -### GetSubtype - -`func (o *Package) GetSubtype() string` - -GetSubtype returns the Subtype field if non-nil, zero value otherwise. - -### GetSubtypeOk - -`func (o *Package) GetSubtypeOk() (*string, bool)` - -GetSubtypeOk returns a tuple with the Subtype field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetSubtype - -`func (o *Package) SetSubtype(v string)` - -SetSubtype sets Subtype field to given value. - -### HasSubtype - -`func (o *Package) HasSubtype() bool` - -HasSubtype returns a boolean if a field has been set. - -### GetSummary - -`func (o *Package) GetSummary() string` - -GetSummary returns the Summary field if non-nil, zero value otherwise. - -### GetSummaryOk - -`func (o *Package) GetSummaryOk() (*string, bool)` - -GetSummaryOk returns a tuple with the Summary field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetSummary - -`func (o *Package) SetSummary(v string)` - -SetSummary sets Summary field to given value. - -### HasSummary - -`func (o *Package) HasSummary() bool` - -HasSummary returns a boolean if a field has been set. - -### GetSyncFinishedAt - -`func (o *Package) GetSyncFinishedAt() string` - -GetSyncFinishedAt returns the SyncFinishedAt field if non-nil, zero value otherwise. - -### GetSyncFinishedAtOk - -`func (o *Package) GetSyncFinishedAtOk() (*string, bool)` - -GetSyncFinishedAtOk returns a tuple with the SyncFinishedAt field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetSyncFinishedAt - -`func (o *Package) SetSyncFinishedAt(v string)` - -SetSyncFinishedAt sets SyncFinishedAt field to given value. - -### HasSyncFinishedAt - -`func (o *Package) HasSyncFinishedAt() bool` - -HasSyncFinishedAt returns a boolean if a field has been set. - -### GetSyncProgress - -`func (o *Package) GetSyncProgress() int64` - -GetSyncProgress returns the SyncProgress field if non-nil, zero value otherwise. - -### GetSyncProgressOk - -`func (o *Package) GetSyncProgressOk() (*int64, bool)` - -GetSyncProgressOk returns a tuple with the SyncProgress field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetSyncProgress - -`func (o *Package) SetSyncProgress(v int64)` - -SetSyncProgress sets SyncProgress field to given value. - -### HasSyncProgress - -`func (o *Package) HasSyncProgress() bool` - -HasSyncProgress returns a boolean if a field has been set. - -### GetTags - -`func (o *Package) GetTags() map[string]interface{}` - -GetTags returns the Tags field if non-nil, zero value otherwise. - -### GetTagsOk - -`func (o *Package) GetTagsOk() (*map[string]interface{}, bool)` - -GetTagsOk returns a tuple with the Tags field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetTags - -`func (o *Package) SetTags(v map[string]interface{})` - -SetTags sets Tags field to given value. - -### HasTags - -`func (o *Package) HasTags() bool` - -HasTags returns a boolean if a field has been set. - -### GetTagsImmutable - -`func (o *Package) GetTagsImmutable() map[string]interface{}` - -GetTagsImmutable returns the TagsImmutable field if non-nil, zero value otherwise. - -### GetTagsImmutableOk - -`func (o *Package) GetTagsImmutableOk() (*map[string]interface{}, bool)` - -GetTagsImmutableOk returns a tuple with the TagsImmutable field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetTagsImmutable - -`func (o *Package) SetTagsImmutable(v map[string]interface{})` - -SetTagsImmutable sets TagsImmutable field to given value. - -### HasTagsImmutable - -`func (o *Package) HasTagsImmutable() bool` - -HasTagsImmutable returns a boolean if a field has been set. - -### GetTypeDisplay - -`func (o *Package) GetTypeDisplay() string` - -GetTypeDisplay returns the TypeDisplay field if non-nil, zero value otherwise. - -### GetTypeDisplayOk - -`func (o *Package) GetTypeDisplayOk() (*string, bool)` - -GetTypeDisplayOk returns a tuple with the TypeDisplay field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetTypeDisplay - -`func (o *Package) SetTypeDisplay(v string)` - -SetTypeDisplay sets TypeDisplay field to given value. - -### HasTypeDisplay - -`func (o *Package) HasTypeDisplay() bool` - -HasTypeDisplay returns a boolean if a field has been set. - -### GetUploadedAt - -`func (o *Package) GetUploadedAt() string` - -GetUploadedAt returns the UploadedAt field if non-nil, zero value otherwise. - -### GetUploadedAtOk - -`func (o *Package) GetUploadedAtOk() (*string, bool)` - -GetUploadedAtOk returns a tuple with the UploadedAt field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetUploadedAt - -`func (o *Package) SetUploadedAt(v string)` - -SetUploadedAt sets UploadedAt field to given value. - -### HasUploadedAt - -`func (o *Package) HasUploadedAt() bool` - -HasUploadedAt returns a boolean if a field has been set. - -### GetUploader - -`func (o *Package) GetUploader() string` - -GetUploader returns the Uploader field if non-nil, zero value otherwise. - -### GetUploaderOk - -`func (o *Package) GetUploaderOk() (*string, bool)` - -GetUploaderOk returns a tuple with the Uploader field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetUploader - -`func (o *Package) SetUploader(v string)` - -SetUploader sets Uploader field to given value. - -### HasUploader - -`func (o *Package) HasUploader() bool` - -HasUploader returns a boolean if a field has been set. - -### GetUploaderUrl - -`func (o *Package) GetUploaderUrl() string` - -GetUploaderUrl returns the UploaderUrl field if non-nil, zero value otherwise. - -### GetUploaderUrlOk - -`func (o *Package) GetUploaderUrlOk() (*string, bool)` - -GetUploaderUrlOk returns a tuple with the UploaderUrl field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetUploaderUrl - -`func (o *Package) SetUploaderUrl(v string)` - -SetUploaderUrl sets UploaderUrl field to given value. - -### HasUploaderUrl - -`func (o *Package) HasUploaderUrl() bool` - -HasUploaderUrl returns a boolean if a field has been set. - -### GetVersion - -`func (o *Package) GetVersion() string` - -GetVersion returns the Version field if non-nil, zero value otherwise. - -### GetVersionOk - -`func (o *Package) GetVersionOk() (*string, bool)` - -GetVersionOk returns a tuple with the Version field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetVersion - -`func (o *Package) SetVersion(v string)` - -SetVersion sets Version field to given value. - -### HasVersion - -`func (o *Package) HasVersion() bool` - -HasVersion returns a boolean if a field has been set. - -### GetVersionOrig - -`func (o *Package) GetVersionOrig() string` - -GetVersionOrig returns the VersionOrig field if non-nil, zero value otherwise. - -### GetVersionOrigOk - -`func (o *Package) GetVersionOrigOk() (*string, bool)` - -GetVersionOrigOk returns a tuple with the VersionOrig field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetVersionOrig - -`func (o *Package) SetVersionOrig(v string)` - -SetVersionOrig sets VersionOrig field to given value. - -### HasVersionOrig - -`func (o *Package) HasVersionOrig() bool` - -HasVersionOrig returns a boolean if a field has been set. - -### GetVulnerabilityScanResultsUrl - -`func (o *Package) GetVulnerabilityScanResultsUrl() string` - -GetVulnerabilityScanResultsUrl returns the VulnerabilityScanResultsUrl field if non-nil, zero value otherwise. - -### GetVulnerabilityScanResultsUrlOk - -`func (o *Package) GetVulnerabilityScanResultsUrlOk() (*string, bool)` - -GetVulnerabilityScanResultsUrlOk returns a tuple with the VulnerabilityScanResultsUrl field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetVulnerabilityScanResultsUrl - -`func (o *Package) SetVulnerabilityScanResultsUrl(v string)` - -SetVulnerabilityScanResultsUrl sets VulnerabilityScanResultsUrl field to given value. - -### HasVulnerabilityScanResultsUrl - -`func (o *Package) HasVulnerabilityScanResultsUrl() bool` - -HasVulnerabilityScanResultsUrl 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/docs/PackagesCopy.md b/docs/PackageCopyRequest.md similarity index 67% rename from docs/PackagesCopy.md rename to docs/PackageCopyRequest.md index 4d77aef2..1193844a 100644 --- a/docs/PackagesCopy.md +++ b/docs/PackageCopyRequest.md @@ -1,73 +1,73 @@ -# PackagesCopy +# PackageCopyRequest ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**Destination** | **string** | None | +**Destination** | **string** | | **Republish** | Pointer to **bool** | If true, the package will overwrite any others with the same attributes (e.g. same version); otherwise, it will be flagged as a duplicate. | [optional] ## Methods -### NewPackagesCopy +### NewPackageCopyRequest -`func NewPackagesCopy(destination string, ) *PackagesCopy` +`func NewPackageCopyRequest(destination string, ) *PackageCopyRequest` -NewPackagesCopy instantiates a new PackagesCopy object +NewPackageCopyRequest instantiates a new PackageCopyRequest object 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 -### NewPackagesCopyWithDefaults +### NewPackageCopyRequestWithDefaults -`func NewPackagesCopyWithDefaults() *PackagesCopy` +`func NewPackageCopyRequestWithDefaults() *PackageCopyRequest` -NewPackagesCopyWithDefaults instantiates a new PackagesCopy object +NewPackageCopyRequestWithDefaults instantiates a new PackageCopyRequest object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set ### GetDestination -`func (o *PackagesCopy) GetDestination() string` +`func (o *PackageCopyRequest) GetDestination() string` GetDestination returns the Destination field if non-nil, zero value otherwise. ### GetDestinationOk -`func (o *PackagesCopy) GetDestinationOk() (*string, bool)` +`func (o *PackageCopyRequest) GetDestinationOk() (*string, bool)` GetDestinationOk returns a tuple with the Destination field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetDestination -`func (o *PackagesCopy) SetDestination(v string)` +`func (o *PackageCopyRequest) SetDestination(v string)` SetDestination sets Destination field to given value. ### GetRepublish -`func (o *PackagesCopy) GetRepublish() bool` +`func (o *PackageCopyRequest) GetRepublish() bool` GetRepublish returns the Republish field if non-nil, zero value otherwise. ### GetRepublishOk -`func (o *PackagesCopy) GetRepublishOk() (*bool, bool)` +`func (o *PackageCopyRequest) GetRepublishOk() (*bool, bool)` GetRepublishOk returns a tuple with the Republish field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetRepublish -`func (o *PackagesCopy) SetRepublish(v bool)` +`func (o *PackageCopyRequest) SetRepublish(v bool)` SetRepublish sets Republish field to given value. ### HasRepublish -`func (o *PackagesCopy) HasRepublish() bool` +`func (o *PackageCopyRequest) HasRepublish() bool` HasRepublish returns a boolean if a field has been set. diff --git a/docs/PackageMove.md b/docs/PackageCopyResponse.md similarity index 56% rename from docs/PackageMove.md rename to docs/PackageCopyResponse.md index df8d2acb..701b4320 100644 --- a/docs/PackageMove.md +++ b/docs/PackageCopyResponse.md @@ -1,1768 +1,1860 @@ -# PackageMove +# PackageCopyResponse ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**Architectures** | Pointer to [**[]PackagesOwnerRepoArchitectures**](PackagesOwnerRepoArchitectures.md) | | [optional] -**CdnUrl** | Pointer to **string** | | [optional] -**ChecksumMd5** | Pointer to **string** | | [optional] -**ChecksumSha1** | Pointer to **string** | | [optional] -**ChecksumSha256** | Pointer to **string** | | [optional] -**ChecksumSha512** | Pointer to **string** | | [optional] -**DependenciesChecksumMd5** | Pointer to **string** | A checksum of all of the package's dependencies. | [optional] -**DependenciesUrl** | Pointer to **string** | | [optional] -**Description** | Pointer to **string** | A textual description of this package. | [optional] -**Distro** | Pointer to **map[string]interface{}** | | [optional] -**DistroVersion** | Pointer to **map[string]interface{}** | | [optional] -**Downloads** | Pointer to **int64** | | [optional] -**Epoch** | Pointer to **int64** | The epoch of the package version (if any). | [optional] -**Extension** | Pointer to **string** | | [optional] -**Filename** | Pointer to **string** | | [optional] -**Files** | Pointer to [**[]PackagesOwnerRepoFiles**](PackagesOwnerRepoFiles.md) | | [optional] -**Format** | Pointer to **string** | | [optional] -**FormatUrl** | Pointer to **string** | | [optional] -**IdentifierPerm** | Pointer to **string** | Unique and permanent identifier for the package. | [optional] -**Indexed** | Pointer to **bool** | | [optional] -**IsDownloadable** | Pointer to **bool** | | [optional] -**IsQuarantined** | Pointer to **bool** | | [optional] -**IsSyncAwaiting** | Pointer to **bool** | | [optional] -**IsSyncCompleted** | Pointer to **bool** | | [optional] -**IsSyncFailed** | Pointer to **bool** | | [optional] -**IsSyncInFlight** | Pointer to **bool** | | [optional] -**IsSyncInProgress** | Pointer to **bool** | | [optional] -**License** | Pointer to **string** | The license of this package. | [optional] -**Name** | Pointer to **string** | The name of this package. | [optional] -**Namespace** | Pointer to **string** | | [optional] -**NamespaceUrl** | Pointer to **string** | | [optional] -**NumFiles** | Pointer to **int64** | | [optional] -**PackageType** | Pointer to **int64** | The type of package contents. | [optional] -**Release** | Pointer to **string** | The release of the package version (if any). | [optional] -**Repository** | Pointer to **string** | The repository the package will be moved to. | [optional] -**RepositoryUrl** | Pointer to **string** | | [optional] -**SecurityScanCompletedAt** | Pointer to **string** | The datetime the security scanning was completed. | [optional] -**SecurityScanStartedAt** | Pointer to **string** | The datetime the security scanning was started. | [optional] -**SecurityScanStatus** | Pointer to **string** | | [optional] -**SecurityScanStatusUpdatedAt** | Pointer to **string** | The datetime the security scanning status was updated. | [optional] -**SelfHtmlUrl** | Pointer to **string** | | [optional] -**SelfUrl** | Pointer to **string** | | [optional] -**SignatureUrl** | Pointer to **string** | | [optional] -**Size** | Pointer to **int64** | The calculated size of the package. | [optional] -**Slug** | Pointer to **string** | The public unique identifier for the package. | [optional] -**SlugPerm** | Pointer to **string** | | [optional] -**Stage** | Pointer to **int64** | The synchronisation (in progress) stage of the package. | [optional] -**StageStr** | Pointer to **string** | | [optional] -**StageUpdatedAt** | Pointer to **string** | The datetime the package stage was updated at. | [optional] -**Status** | Pointer to **int64** | The synchronisation status of the package. | [optional] -**StatusReason** | Pointer to **string** | A textual description for the synchronous status reason (if any | [optional] -**StatusStr** | Pointer to **string** | | [optional] -**StatusUpdatedAt** | Pointer to **string** | The datetime the package status was updated at. | [optional] -**StatusUrl** | Pointer to **string** | | [optional] -**Subtype** | Pointer to **string** | | [optional] -**Summary** | Pointer to **string** | A one-liner synopsis of this package. | [optional] -**SyncFinishedAt** | Pointer to **string** | The datetime the package sync was finished at. | [optional] -**SyncProgress** | Pointer to **int64** | Synchronisation progress (from 0-100) | [optional] +**Architectures** | Pointer to [**[]Architecture**](Architecture.md) | | [optional] [readonly] +**CdnUrl** | Pointer to **NullableString** | | [optional] [readonly] +**ChecksumMd5** | Pointer to **string** | | [optional] [readonly] +**ChecksumSha1** | Pointer to **string** | | [optional] [readonly] +**ChecksumSha256** | Pointer to **string** | | [optional] [readonly] +**ChecksumSha512** | Pointer to **string** | | [optional] [readonly] +**DependenciesChecksumMd5** | Pointer to **string** | A checksum of all of the package's dependencies. | [optional] [readonly] +**DependenciesUrl** | Pointer to **string** | | [optional] [readonly] +**Description** | Pointer to **string** | A textual description of this package. | [optional] [readonly] +**Distro** | Pointer to [**NullableDistribution**](Distribution.md) | | [optional] +**DistroVersion** | Pointer to [**DistributionVersion**](DistributionVersion.md) | | [optional] +**Downloads** | Pointer to **int64** | | [optional] [readonly] +**Epoch** | Pointer to **int64** | The epoch of the package version (if any). | [optional] [readonly] +**Extension** | Pointer to **string** | | [optional] [readonly] +**Filename** | Pointer to **string** | | [optional] [readonly] +**Files** | Pointer to [**[]PackageFile**](PackageFile.md) | | [optional] [readonly] +**Format** | Pointer to **string** | | [optional] [readonly] +**FormatUrl** | Pointer to **string** | | [optional] [readonly] +**IdentifierPerm** | Pointer to **string** | Unique and permanent identifier for the package. | [optional] [readonly] +**Indexed** | Pointer to **bool** | | [optional] [readonly] +**IsDownloadable** | Pointer to **bool** | | [optional] [readonly] +**IsQuarantined** | Pointer to **bool** | | [optional] [readonly] +**IsSyncAwaiting** | Pointer to **bool** | | [optional] [readonly] +**IsSyncCompleted** | Pointer to **bool** | | [optional] [readonly] +**IsSyncFailed** | Pointer to **bool** | | [optional] [readonly] +**IsSyncInFlight** | Pointer to **bool** | | [optional] [readonly] +**IsSyncInProgress** | Pointer to **bool** | | [optional] [readonly] +**License** | Pointer to **string** | The license of this package. | [optional] [readonly] +**Name** | Pointer to **string** | The name of this package. | [optional] [readonly] +**Namespace** | Pointer to **string** | | [optional] [readonly] +**NamespaceUrl** | Pointer to **string** | | [optional] [readonly] +**NumFiles** | Pointer to **int64** | | [optional] [readonly] +**OriginRepository** | Pointer to **string** | | [optional] [readonly] +**OriginRepositoryUrl** | Pointer to **string** | | [optional] [readonly] +**PackageType** | Pointer to **int64** | The type of package contents. | [optional] [readonly] +**Release** | Pointer to **string** | The release of the package version (if any). | [optional] [readonly] +**Repository** | Pointer to **string** | The repository the package will be copied to. | [optional] [readonly] +**RepositoryUrl** | Pointer to **string** | | [optional] [readonly] +**SecurityScanCompletedAt** | Pointer to **time.Time** | The datetime the security scanning was completed. | [optional] [readonly] +**SecurityScanStartedAt** | Pointer to **time.Time** | The datetime the security scanning was started. | [optional] [readonly] +**SecurityScanStatus** | Pointer to **NullableString** | | [optional] [readonly] [default to "Awaiting Security Scan"] +**SecurityScanStatusUpdatedAt** | Pointer to **time.Time** | The datetime the security scanning status was updated. | [optional] [readonly] +**SelfHtmlUrl** | Pointer to **string** | | [optional] [readonly] +**SelfUrl** | Pointer to **string** | | [optional] [readonly] +**SignatureUrl** | Pointer to **NullableString** | | [optional] [readonly] +**Size** | Pointer to **int64** | The calculated size of the package. | [optional] [readonly] +**Slug** | Pointer to **string** | The public unique identifier for the package. | [optional] [readonly] +**SlugPerm** | Pointer to **string** | | [optional] [readonly] +**Stage** | Pointer to **int64** | The synchronisation (in progress) stage of the package. | [optional] [readonly] +**StageStr** | Pointer to **string** | | [optional] [readonly] +**StageUpdatedAt** | Pointer to **time.Time** | The datetime the package stage was updated at. | [optional] [readonly] +**Status** | Pointer to **int64** | The synchronisation status of the package. | [optional] [readonly] +**StatusReason** | Pointer to **string** | A textual description for the synchronous status reason (if any | [optional] [readonly] +**StatusStr** | Pointer to **string** | | [optional] [readonly] +**StatusUpdatedAt** | Pointer to **time.Time** | The datetime the package status was updated at. | [optional] [readonly] +**StatusUrl** | Pointer to **string** | | [optional] [readonly] +**Subtype** | Pointer to **string** | | [optional] [readonly] +**Summary** | Pointer to **string** | A one-liner synopsis of this package. | [optional] [readonly] +**SyncFinishedAt** | Pointer to **time.Time** | The datetime the package sync was finished at. | [optional] [readonly] +**SyncProgress** | Pointer to **int64** | Synchronisation progress (from 0-100) | [optional] [readonly] **Tags** | Pointer to **map[string]interface{}** | All tags on the package, grouped by tag type. This includes immutable tags, but doesn't distinguish them from mutable. To see which tags are immutable specifically, see the tags_immutable field. | [optional] -**TagsImmutable** | Pointer to **map[string]interface{}** | All immutable tags on the package, grouped by tag type. Immutable tags cannot be (easily) deleted. | [optional] -**TypeDisplay** | Pointer to **string** | | [optional] -**UploadedAt** | Pointer to **string** | The date this package was uploaded. | [optional] -**Uploader** | Pointer to **string** | | [optional] -**UploaderUrl** | Pointer to **string** | | [optional] -**Version** | Pointer to **string** | The raw version for this package. | [optional] -**VersionOrig** | Pointer to **string** | | [optional] -**VulnerabilityScanResultsUrl** | Pointer to **string** | | [optional] +**TagsImmutable** | Pointer to **map[string]interface{}** | All tags on the package, grouped by tag type. This includes immutable tags, but doesn't distinguish them from mutable. To see which tags are immutable specifically, see the tags_immutable field. | [optional] +**TypeDisplay** | Pointer to **string** | | [optional] [readonly] +**UploadedAt** | Pointer to **time.Time** | The date this package was uploaded. | [optional] [readonly] +**Uploader** | Pointer to **string** | | [optional] [readonly] +**UploaderUrl** | Pointer to **string** | | [optional] [readonly] +**Version** | Pointer to **string** | The raw version for this package. | [optional] [readonly] +**VersionOrig** | Pointer to **string** | | [optional] [readonly] +**VulnerabilityScanResultsUrl** | Pointer to **string** | | [optional] [readonly] ## Methods -### NewPackageMove +### NewPackageCopyResponse -`func NewPackageMove() *PackageMove` +`func NewPackageCopyResponse() *PackageCopyResponse` -NewPackageMove instantiates a new PackageMove object +NewPackageCopyResponse instantiates a new PackageCopyResponse object 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 -### NewPackageMoveWithDefaults +### NewPackageCopyResponseWithDefaults -`func NewPackageMoveWithDefaults() *PackageMove` +`func NewPackageCopyResponseWithDefaults() *PackageCopyResponse` -NewPackageMoveWithDefaults instantiates a new PackageMove object +NewPackageCopyResponseWithDefaults instantiates a new PackageCopyResponse object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set ### GetArchitectures -`func (o *PackageMove) GetArchitectures() []PackagesOwnerRepoArchitectures` +`func (o *PackageCopyResponse) GetArchitectures() []Architecture` GetArchitectures returns the Architectures field if non-nil, zero value otherwise. ### GetArchitecturesOk -`func (o *PackageMove) GetArchitecturesOk() (*[]PackagesOwnerRepoArchitectures, bool)` +`func (o *PackageCopyResponse) GetArchitecturesOk() (*[]Architecture, bool)` GetArchitecturesOk returns a tuple with the Architectures field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetArchitectures -`func (o *PackageMove) SetArchitectures(v []PackagesOwnerRepoArchitectures)` +`func (o *PackageCopyResponse) SetArchitectures(v []Architecture)` SetArchitectures sets Architectures field to given value. ### HasArchitectures -`func (o *PackageMove) HasArchitectures() bool` +`func (o *PackageCopyResponse) HasArchitectures() bool` HasArchitectures returns a boolean if a field has been set. ### GetCdnUrl -`func (o *PackageMove) GetCdnUrl() string` +`func (o *PackageCopyResponse) GetCdnUrl() string` GetCdnUrl returns the CdnUrl field if non-nil, zero value otherwise. ### GetCdnUrlOk -`func (o *PackageMove) GetCdnUrlOk() (*string, bool)` +`func (o *PackageCopyResponse) GetCdnUrlOk() (*string, bool)` GetCdnUrlOk returns a tuple with the CdnUrl field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetCdnUrl -`func (o *PackageMove) SetCdnUrl(v string)` +`func (o *PackageCopyResponse) SetCdnUrl(v string)` SetCdnUrl sets CdnUrl field to given value. ### HasCdnUrl -`func (o *PackageMove) HasCdnUrl() bool` +`func (o *PackageCopyResponse) HasCdnUrl() bool` HasCdnUrl returns a boolean if a field has been set. +### SetCdnUrlNil + +`func (o *PackageCopyResponse) SetCdnUrlNil(b bool)` + + SetCdnUrlNil sets the value for CdnUrl to be an explicit nil + +### UnsetCdnUrl +`func (o *PackageCopyResponse) UnsetCdnUrl()` + +UnsetCdnUrl ensures that no value is present for CdnUrl, not even an explicit nil ### GetChecksumMd5 -`func (o *PackageMove) GetChecksumMd5() string` +`func (o *PackageCopyResponse) GetChecksumMd5() string` GetChecksumMd5 returns the ChecksumMd5 field if non-nil, zero value otherwise. ### GetChecksumMd5Ok -`func (o *PackageMove) GetChecksumMd5Ok() (*string, bool)` +`func (o *PackageCopyResponse) GetChecksumMd5Ok() (*string, bool)` GetChecksumMd5Ok returns a tuple with the ChecksumMd5 field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetChecksumMd5 -`func (o *PackageMove) SetChecksumMd5(v string)` +`func (o *PackageCopyResponse) SetChecksumMd5(v string)` SetChecksumMd5 sets ChecksumMd5 field to given value. ### HasChecksumMd5 -`func (o *PackageMove) HasChecksumMd5() bool` +`func (o *PackageCopyResponse) HasChecksumMd5() bool` HasChecksumMd5 returns a boolean if a field has been set. ### GetChecksumSha1 -`func (o *PackageMove) GetChecksumSha1() string` +`func (o *PackageCopyResponse) GetChecksumSha1() string` GetChecksumSha1 returns the ChecksumSha1 field if non-nil, zero value otherwise. ### GetChecksumSha1Ok -`func (o *PackageMove) GetChecksumSha1Ok() (*string, bool)` +`func (o *PackageCopyResponse) GetChecksumSha1Ok() (*string, bool)` GetChecksumSha1Ok returns a tuple with the ChecksumSha1 field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetChecksumSha1 -`func (o *PackageMove) SetChecksumSha1(v string)` +`func (o *PackageCopyResponse) SetChecksumSha1(v string)` SetChecksumSha1 sets ChecksumSha1 field to given value. ### HasChecksumSha1 -`func (o *PackageMove) HasChecksumSha1() bool` +`func (o *PackageCopyResponse) HasChecksumSha1() bool` HasChecksumSha1 returns a boolean if a field has been set. ### GetChecksumSha256 -`func (o *PackageMove) GetChecksumSha256() string` +`func (o *PackageCopyResponse) GetChecksumSha256() string` GetChecksumSha256 returns the ChecksumSha256 field if non-nil, zero value otherwise. ### GetChecksumSha256Ok -`func (o *PackageMove) GetChecksumSha256Ok() (*string, bool)` +`func (o *PackageCopyResponse) GetChecksumSha256Ok() (*string, bool)` GetChecksumSha256Ok returns a tuple with the ChecksumSha256 field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetChecksumSha256 -`func (o *PackageMove) SetChecksumSha256(v string)` +`func (o *PackageCopyResponse) SetChecksumSha256(v string)` SetChecksumSha256 sets ChecksumSha256 field to given value. ### HasChecksumSha256 -`func (o *PackageMove) HasChecksumSha256() bool` +`func (o *PackageCopyResponse) HasChecksumSha256() bool` HasChecksumSha256 returns a boolean if a field has been set. ### GetChecksumSha512 -`func (o *PackageMove) GetChecksumSha512() string` +`func (o *PackageCopyResponse) GetChecksumSha512() string` GetChecksumSha512 returns the ChecksumSha512 field if non-nil, zero value otherwise. ### GetChecksumSha512Ok -`func (o *PackageMove) GetChecksumSha512Ok() (*string, bool)` +`func (o *PackageCopyResponse) GetChecksumSha512Ok() (*string, bool)` GetChecksumSha512Ok returns a tuple with the ChecksumSha512 field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetChecksumSha512 -`func (o *PackageMove) SetChecksumSha512(v string)` +`func (o *PackageCopyResponse) SetChecksumSha512(v string)` SetChecksumSha512 sets ChecksumSha512 field to given value. ### HasChecksumSha512 -`func (o *PackageMove) HasChecksumSha512() bool` +`func (o *PackageCopyResponse) HasChecksumSha512() bool` HasChecksumSha512 returns a boolean if a field has been set. ### GetDependenciesChecksumMd5 -`func (o *PackageMove) GetDependenciesChecksumMd5() string` +`func (o *PackageCopyResponse) GetDependenciesChecksumMd5() string` GetDependenciesChecksumMd5 returns the DependenciesChecksumMd5 field if non-nil, zero value otherwise. ### GetDependenciesChecksumMd5Ok -`func (o *PackageMove) GetDependenciesChecksumMd5Ok() (*string, bool)` +`func (o *PackageCopyResponse) GetDependenciesChecksumMd5Ok() (*string, bool)` GetDependenciesChecksumMd5Ok returns a tuple with the DependenciesChecksumMd5 field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetDependenciesChecksumMd5 -`func (o *PackageMove) SetDependenciesChecksumMd5(v string)` +`func (o *PackageCopyResponse) SetDependenciesChecksumMd5(v string)` SetDependenciesChecksumMd5 sets DependenciesChecksumMd5 field to given value. ### HasDependenciesChecksumMd5 -`func (o *PackageMove) HasDependenciesChecksumMd5() bool` +`func (o *PackageCopyResponse) HasDependenciesChecksumMd5() bool` HasDependenciesChecksumMd5 returns a boolean if a field has been set. ### GetDependenciesUrl -`func (o *PackageMove) GetDependenciesUrl() string` +`func (o *PackageCopyResponse) GetDependenciesUrl() string` GetDependenciesUrl returns the DependenciesUrl field if non-nil, zero value otherwise. ### GetDependenciesUrlOk -`func (o *PackageMove) GetDependenciesUrlOk() (*string, bool)` +`func (o *PackageCopyResponse) GetDependenciesUrlOk() (*string, bool)` GetDependenciesUrlOk returns a tuple with the DependenciesUrl field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetDependenciesUrl -`func (o *PackageMove) SetDependenciesUrl(v string)` +`func (o *PackageCopyResponse) SetDependenciesUrl(v string)` SetDependenciesUrl sets DependenciesUrl field to given value. ### HasDependenciesUrl -`func (o *PackageMove) HasDependenciesUrl() bool` +`func (o *PackageCopyResponse) HasDependenciesUrl() bool` HasDependenciesUrl returns a boolean if a field has been set. ### GetDescription -`func (o *PackageMove) GetDescription() string` +`func (o *PackageCopyResponse) GetDescription() string` GetDescription returns the Description field if non-nil, zero value otherwise. ### GetDescriptionOk -`func (o *PackageMove) GetDescriptionOk() (*string, bool)` +`func (o *PackageCopyResponse) GetDescriptionOk() (*string, bool)` GetDescriptionOk returns a tuple with the Description field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetDescription -`func (o *PackageMove) SetDescription(v string)` +`func (o *PackageCopyResponse) SetDescription(v string)` SetDescription sets Description field to given value. ### HasDescription -`func (o *PackageMove) HasDescription() bool` +`func (o *PackageCopyResponse) HasDescription() bool` HasDescription returns a boolean if a field has been set. ### GetDistro -`func (o *PackageMove) GetDistro() map[string]interface{}` +`func (o *PackageCopyResponse) GetDistro() Distribution` GetDistro returns the Distro field if non-nil, zero value otherwise. ### GetDistroOk -`func (o *PackageMove) GetDistroOk() (*map[string]interface{}, bool)` +`func (o *PackageCopyResponse) GetDistroOk() (*Distribution, bool)` GetDistroOk returns a tuple with the Distro field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetDistro -`func (o *PackageMove) SetDistro(v map[string]interface{})` +`func (o *PackageCopyResponse) SetDistro(v Distribution)` SetDistro sets Distro field to given value. ### HasDistro -`func (o *PackageMove) HasDistro() bool` +`func (o *PackageCopyResponse) HasDistro() bool` HasDistro returns a boolean if a field has been set. +### SetDistroNil + +`func (o *PackageCopyResponse) SetDistroNil(b bool)` + + SetDistroNil sets the value for Distro to be an explicit nil + +### UnsetDistro +`func (o *PackageCopyResponse) UnsetDistro()` + +UnsetDistro ensures that no value is present for Distro, not even an explicit nil ### GetDistroVersion -`func (o *PackageMove) GetDistroVersion() map[string]interface{}` +`func (o *PackageCopyResponse) GetDistroVersion() DistributionVersion` GetDistroVersion returns the DistroVersion field if non-nil, zero value otherwise. ### GetDistroVersionOk -`func (o *PackageMove) GetDistroVersionOk() (*map[string]interface{}, bool)` +`func (o *PackageCopyResponse) GetDistroVersionOk() (*DistributionVersion, bool)` GetDistroVersionOk returns a tuple with the DistroVersion field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetDistroVersion -`func (o *PackageMove) SetDistroVersion(v map[string]interface{})` +`func (o *PackageCopyResponse) SetDistroVersion(v DistributionVersion)` SetDistroVersion sets DistroVersion field to given value. ### HasDistroVersion -`func (o *PackageMove) HasDistroVersion() bool` +`func (o *PackageCopyResponse) HasDistroVersion() bool` HasDistroVersion returns a boolean if a field has been set. ### GetDownloads -`func (o *PackageMove) GetDownloads() int64` +`func (o *PackageCopyResponse) GetDownloads() int64` GetDownloads returns the Downloads field if non-nil, zero value otherwise. ### GetDownloadsOk -`func (o *PackageMove) GetDownloadsOk() (*int64, bool)` +`func (o *PackageCopyResponse) GetDownloadsOk() (*int64, bool)` GetDownloadsOk returns a tuple with the Downloads field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetDownloads -`func (o *PackageMove) SetDownloads(v int64)` +`func (o *PackageCopyResponse) SetDownloads(v int64)` SetDownloads sets Downloads field to given value. ### HasDownloads -`func (o *PackageMove) HasDownloads() bool` +`func (o *PackageCopyResponse) HasDownloads() bool` HasDownloads returns a boolean if a field has been set. ### GetEpoch -`func (o *PackageMove) GetEpoch() int64` +`func (o *PackageCopyResponse) GetEpoch() int64` GetEpoch returns the Epoch field if non-nil, zero value otherwise. ### GetEpochOk -`func (o *PackageMove) GetEpochOk() (*int64, bool)` +`func (o *PackageCopyResponse) GetEpochOk() (*int64, bool)` GetEpochOk returns a tuple with the Epoch field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetEpoch -`func (o *PackageMove) SetEpoch(v int64)` +`func (o *PackageCopyResponse) SetEpoch(v int64)` SetEpoch sets Epoch field to given value. ### HasEpoch -`func (o *PackageMove) HasEpoch() bool` +`func (o *PackageCopyResponse) HasEpoch() bool` HasEpoch returns a boolean if a field has been set. ### GetExtension -`func (o *PackageMove) GetExtension() string` +`func (o *PackageCopyResponse) GetExtension() string` GetExtension returns the Extension field if non-nil, zero value otherwise. ### GetExtensionOk -`func (o *PackageMove) GetExtensionOk() (*string, bool)` +`func (o *PackageCopyResponse) GetExtensionOk() (*string, bool)` GetExtensionOk returns a tuple with the Extension field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetExtension -`func (o *PackageMove) SetExtension(v string)` +`func (o *PackageCopyResponse) SetExtension(v string)` SetExtension sets Extension field to given value. ### HasExtension -`func (o *PackageMove) HasExtension() bool` +`func (o *PackageCopyResponse) HasExtension() bool` HasExtension returns a boolean if a field has been set. ### GetFilename -`func (o *PackageMove) GetFilename() string` +`func (o *PackageCopyResponse) GetFilename() string` GetFilename returns the Filename field if non-nil, zero value otherwise. ### GetFilenameOk -`func (o *PackageMove) GetFilenameOk() (*string, bool)` +`func (o *PackageCopyResponse) GetFilenameOk() (*string, bool)` GetFilenameOk returns a tuple with the Filename field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetFilename -`func (o *PackageMove) SetFilename(v string)` +`func (o *PackageCopyResponse) SetFilename(v string)` SetFilename sets Filename field to given value. ### HasFilename -`func (o *PackageMove) HasFilename() bool` +`func (o *PackageCopyResponse) HasFilename() bool` HasFilename returns a boolean if a field has been set. ### GetFiles -`func (o *PackageMove) GetFiles() []PackagesOwnerRepoFiles` +`func (o *PackageCopyResponse) GetFiles() []PackageFile` GetFiles returns the Files field if non-nil, zero value otherwise. ### GetFilesOk -`func (o *PackageMove) GetFilesOk() (*[]PackagesOwnerRepoFiles, bool)` +`func (o *PackageCopyResponse) GetFilesOk() (*[]PackageFile, 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 *PackageMove) SetFiles(v []PackagesOwnerRepoFiles)` +`func (o *PackageCopyResponse) SetFiles(v []PackageFile)` SetFiles sets Files field to given value. ### HasFiles -`func (o *PackageMove) HasFiles() bool` +`func (o *PackageCopyResponse) HasFiles() bool` HasFiles returns a boolean if a field has been set. ### GetFormat -`func (o *PackageMove) GetFormat() string` +`func (o *PackageCopyResponse) GetFormat() string` GetFormat returns the Format field if non-nil, zero value otherwise. ### GetFormatOk -`func (o *PackageMove) GetFormatOk() (*string, bool)` +`func (o *PackageCopyResponse) GetFormatOk() (*string, bool)` GetFormatOk returns a tuple with the Format field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetFormat -`func (o *PackageMove) SetFormat(v string)` +`func (o *PackageCopyResponse) SetFormat(v string)` SetFormat sets Format field to given value. ### HasFormat -`func (o *PackageMove) HasFormat() bool` +`func (o *PackageCopyResponse) HasFormat() bool` HasFormat returns a boolean if a field has been set. ### GetFormatUrl -`func (o *PackageMove) GetFormatUrl() string` +`func (o *PackageCopyResponse) GetFormatUrl() string` GetFormatUrl returns the FormatUrl field if non-nil, zero value otherwise. ### GetFormatUrlOk -`func (o *PackageMove) GetFormatUrlOk() (*string, bool)` +`func (o *PackageCopyResponse) GetFormatUrlOk() (*string, bool)` GetFormatUrlOk returns a tuple with the FormatUrl field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetFormatUrl -`func (o *PackageMove) SetFormatUrl(v string)` +`func (o *PackageCopyResponse) SetFormatUrl(v string)` SetFormatUrl sets FormatUrl field to given value. ### HasFormatUrl -`func (o *PackageMove) HasFormatUrl() bool` +`func (o *PackageCopyResponse) HasFormatUrl() bool` HasFormatUrl returns a boolean if a field has been set. ### GetIdentifierPerm -`func (o *PackageMove) GetIdentifierPerm() string` +`func (o *PackageCopyResponse) GetIdentifierPerm() string` GetIdentifierPerm returns the IdentifierPerm field if non-nil, zero value otherwise. ### GetIdentifierPermOk -`func (o *PackageMove) GetIdentifierPermOk() (*string, bool)` +`func (o *PackageCopyResponse) GetIdentifierPermOk() (*string, bool)` GetIdentifierPermOk returns a tuple with the IdentifierPerm field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetIdentifierPerm -`func (o *PackageMove) SetIdentifierPerm(v string)` +`func (o *PackageCopyResponse) SetIdentifierPerm(v string)` SetIdentifierPerm sets IdentifierPerm field to given value. ### HasIdentifierPerm -`func (o *PackageMove) HasIdentifierPerm() bool` +`func (o *PackageCopyResponse) HasIdentifierPerm() bool` HasIdentifierPerm returns a boolean if a field has been set. ### GetIndexed -`func (o *PackageMove) GetIndexed() bool` +`func (o *PackageCopyResponse) GetIndexed() bool` GetIndexed returns the Indexed field if non-nil, zero value otherwise. ### GetIndexedOk -`func (o *PackageMove) GetIndexedOk() (*bool, bool)` +`func (o *PackageCopyResponse) GetIndexedOk() (*bool, bool)` GetIndexedOk returns a tuple with the Indexed field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetIndexed -`func (o *PackageMove) SetIndexed(v bool)` +`func (o *PackageCopyResponse) SetIndexed(v bool)` SetIndexed sets Indexed field to given value. ### HasIndexed -`func (o *PackageMove) HasIndexed() bool` +`func (o *PackageCopyResponse) HasIndexed() bool` HasIndexed returns a boolean if a field has been set. ### GetIsDownloadable -`func (o *PackageMove) GetIsDownloadable() bool` +`func (o *PackageCopyResponse) GetIsDownloadable() bool` GetIsDownloadable returns the IsDownloadable field if non-nil, zero value otherwise. ### GetIsDownloadableOk -`func (o *PackageMove) GetIsDownloadableOk() (*bool, bool)` +`func (o *PackageCopyResponse) GetIsDownloadableOk() (*bool, bool)` GetIsDownloadableOk returns a tuple with the IsDownloadable field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetIsDownloadable -`func (o *PackageMove) SetIsDownloadable(v bool)` +`func (o *PackageCopyResponse) SetIsDownloadable(v bool)` SetIsDownloadable sets IsDownloadable field to given value. ### HasIsDownloadable -`func (o *PackageMove) HasIsDownloadable() bool` +`func (o *PackageCopyResponse) HasIsDownloadable() bool` HasIsDownloadable returns a boolean if a field has been set. ### GetIsQuarantined -`func (o *PackageMove) GetIsQuarantined() bool` +`func (o *PackageCopyResponse) GetIsQuarantined() bool` GetIsQuarantined returns the IsQuarantined field if non-nil, zero value otherwise. ### GetIsQuarantinedOk -`func (o *PackageMove) GetIsQuarantinedOk() (*bool, bool)` +`func (o *PackageCopyResponse) GetIsQuarantinedOk() (*bool, bool)` GetIsQuarantinedOk returns a tuple with the IsQuarantined field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetIsQuarantined -`func (o *PackageMove) SetIsQuarantined(v bool)` +`func (o *PackageCopyResponse) SetIsQuarantined(v bool)` SetIsQuarantined sets IsQuarantined field to given value. ### HasIsQuarantined -`func (o *PackageMove) HasIsQuarantined() bool` +`func (o *PackageCopyResponse) HasIsQuarantined() bool` HasIsQuarantined returns a boolean if a field has been set. ### GetIsSyncAwaiting -`func (o *PackageMove) GetIsSyncAwaiting() bool` +`func (o *PackageCopyResponse) GetIsSyncAwaiting() bool` GetIsSyncAwaiting returns the IsSyncAwaiting field if non-nil, zero value otherwise. ### GetIsSyncAwaitingOk -`func (o *PackageMove) GetIsSyncAwaitingOk() (*bool, bool)` +`func (o *PackageCopyResponse) GetIsSyncAwaitingOk() (*bool, bool)` GetIsSyncAwaitingOk returns a tuple with the IsSyncAwaiting field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetIsSyncAwaiting -`func (o *PackageMove) SetIsSyncAwaiting(v bool)` +`func (o *PackageCopyResponse) SetIsSyncAwaiting(v bool)` SetIsSyncAwaiting sets IsSyncAwaiting field to given value. ### HasIsSyncAwaiting -`func (o *PackageMove) HasIsSyncAwaiting() bool` +`func (o *PackageCopyResponse) HasIsSyncAwaiting() bool` HasIsSyncAwaiting returns a boolean if a field has been set. ### GetIsSyncCompleted -`func (o *PackageMove) GetIsSyncCompleted() bool` +`func (o *PackageCopyResponse) GetIsSyncCompleted() bool` GetIsSyncCompleted returns the IsSyncCompleted field if non-nil, zero value otherwise. ### GetIsSyncCompletedOk -`func (o *PackageMove) GetIsSyncCompletedOk() (*bool, bool)` +`func (o *PackageCopyResponse) GetIsSyncCompletedOk() (*bool, bool)` GetIsSyncCompletedOk returns a tuple with the IsSyncCompleted field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetIsSyncCompleted -`func (o *PackageMove) SetIsSyncCompleted(v bool)` +`func (o *PackageCopyResponse) SetIsSyncCompleted(v bool)` SetIsSyncCompleted sets IsSyncCompleted field to given value. ### HasIsSyncCompleted -`func (o *PackageMove) HasIsSyncCompleted() bool` +`func (o *PackageCopyResponse) HasIsSyncCompleted() bool` HasIsSyncCompleted returns a boolean if a field has been set. ### GetIsSyncFailed -`func (o *PackageMove) GetIsSyncFailed() bool` +`func (o *PackageCopyResponse) GetIsSyncFailed() bool` GetIsSyncFailed returns the IsSyncFailed field if non-nil, zero value otherwise. ### GetIsSyncFailedOk -`func (o *PackageMove) GetIsSyncFailedOk() (*bool, bool)` +`func (o *PackageCopyResponse) GetIsSyncFailedOk() (*bool, bool)` GetIsSyncFailedOk returns a tuple with the IsSyncFailed field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetIsSyncFailed -`func (o *PackageMove) SetIsSyncFailed(v bool)` +`func (o *PackageCopyResponse) SetIsSyncFailed(v bool)` SetIsSyncFailed sets IsSyncFailed field to given value. ### HasIsSyncFailed -`func (o *PackageMove) HasIsSyncFailed() bool` +`func (o *PackageCopyResponse) HasIsSyncFailed() bool` HasIsSyncFailed returns a boolean if a field has been set. ### GetIsSyncInFlight -`func (o *PackageMove) GetIsSyncInFlight() bool` +`func (o *PackageCopyResponse) GetIsSyncInFlight() bool` GetIsSyncInFlight returns the IsSyncInFlight field if non-nil, zero value otherwise. ### GetIsSyncInFlightOk -`func (o *PackageMove) GetIsSyncInFlightOk() (*bool, bool)` +`func (o *PackageCopyResponse) GetIsSyncInFlightOk() (*bool, bool)` GetIsSyncInFlightOk returns a tuple with the IsSyncInFlight field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetIsSyncInFlight -`func (o *PackageMove) SetIsSyncInFlight(v bool)` +`func (o *PackageCopyResponse) SetIsSyncInFlight(v bool)` SetIsSyncInFlight sets IsSyncInFlight field to given value. ### HasIsSyncInFlight -`func (o *PackageMove) HasIsSyncInFlight() bool` +`func (o *PackageCopyResponse) HasIsSyncInFlight() bool` HasIsSyncInFlight returns a boolean if a field has been set. ### GetIsSyncInProgress -`func (o *PackageMove) GetIsSyncInProgress() bool` +`func (o *PackageCopyResponse) GetIsSyncInProgress() bool` GetIsSyncInProgress returns the IsSyncInProgress field if non-nil, zero value otherwise. ### GetIsSyncInProgressOk -`func (o *PackageMove) GetIsSyncInProgressOk() (*bool, bool)` +`func (o *PackageCopyResponse) GetIsSyncInProgressOk() (*bool, bool)` GetIsSyncInProgressOk returns a tuple with the IsSyncInProgress field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetIsSyncInProgress -`func (o *PackageMove) SetIsSyncInProgress(v bool)` +`func (o *PackageCopyResponse) SetIsSyncInProgress(v bool)` SetIsSyncInProgress sets IsSyncInProgress field to given value. ### HasIsSyncInProgress -`func (o *PackageMove) HasIsSyncInProgress() bool` +`func (o *PackageCopyResponse) HasIsSyncInProgress() bool` HasIsSyncInProgress returns a boolean if a field has been set. ### GetLicense -`func (o *PackageMove) GetLicense() string` +`func (o *PackageCopyResponse) GetLicense() string` GetLicense returns the License field if non-nil, zero value otherwise. ### GetLicenseOk -`func (o *PackageMove) GetLicenseOk() (*string, bool)` +`func (o *PackageCopyResponse) GetLicenseOk() (*string, bool)` GetLicenseOk returns a tuple with the License field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetLicense -`func (o *PackageMove) SetLicense(v string)` +`func (o *PackageCopyResponse) SetLicense(v string)` SetLicense sets License field to given value. ### HasLicense -`func (o *PackageMove) HasLicense() bool` +`func (o *PackageCopyResponse) HasLicense() bool` HasLicense returns a boolean if a field has been set. ### GetName -`func (o *PackageMove) GetName() string` +`func (o *PackageCopyResponse) GetName() string` GetName returns the Name field if non-nil, zero value otherwise. ### GetNameOk -`func (o *PackageMove) GetNameOk() (*string, bool)` +`func (o *PackageCopyResponse) GetNameOk() (*string, bool)` 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. ### SetName -`func (o *PackageMove) SetName(v string)` +`func (o *PackageCopyResponse) SetName(v string)` SetName sets Name field to given value. ### HasName -`func (o *PackageMove) HasName() bool` +`func (o *PackageCopyResponse) HasName() bool` HasName returns a boolean if a field has been set. ### GetNamespace -`func (o *PackageMove) GetNamespace() string` +`func (o *PackageCopyResponse) GetNamespace() string` GetNamespace returns the Namespace field if non-nil, zero value otherwise. ### GetNamespaceOk -`func (o *PackageMove) GetNamespaceOk() (*string, bool)` +`func (o *PackageCopyResponse) GetNamespaceOk() (*string, bool)` GetNamespaceOk returns a tuple with the Namespace field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetNamespace -`func (o *PackageMove) SetNamespace(v string)` +`func (o *PackageCopyResponse) SetNamespace(v string)` SetNamespace sets Namespace field to given value. ### HasNamespace -`func (o *PackageMove) HasNamespace() bool` +`func (o *PackageCopyResponse) HasNamespace() bool` HasNamespace returns a boolean if a field has been set. ### GetNamespaceUrl -`func (o *PackageMove) GetNamespaceUrl() string` +`func (o *PackageCopyResponse) GetNamespaceUrl() string` GetNamespaceUrl returns the NamespaceUrl field if non-nil, zero value otherwise. ### GetNamespaceUrlOk -`func (o *PackageMove) GetNamespaceUrlOk() (*string, bool)` +`func (o *PackageCopyResponse) GetNamespaceUrlOk() (*string, bool)` GetNamespaceUrlOk returns a tuple with the NamespaceUrl field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetNamespaceUrl -`func (o *PackageMove) SetNamespaceUrl(v string)` +`func (o *PackageCopyResponse) SetNamespaceUrl(v string)` SetNamespaceUrl sets NamespaceUrl field to given value. ### HasNamespaceUrl -`func (o *PackageMove) HasNamespaceUrl() bool` +`func (o *PackageCopyResponse) HasNamespaceUrl() bool` HasNamespaceUrl returns a boolean if a field has been set. ### GetNumFiles -`func (o *PackageMove) GetNumFiles() int64` +`func (o *PackageCopyResponse) GetNumFiles() int64` GetNumFiles returns the NumFiles field if non-nil, zero value otherwise. ### GetNumFilesOk -`func (o *PackageMove) GetNumFilesOk() (*int64, bool)` +`func (o *PackageCopyResponse) GetNumFilesOk() (*int64, bool)` GetNumFilesOk returns a tuple with the NumFiles field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetNumFiles -`func (o *PackageMove) SetNumFiles(v int64)` +`func (o *PackageCopyResponse) SetNumFiles(v int64)` SetNumFiles sets NumFiles field to given value. ### HasNumFiles -`func (o *PackageMove) HasNumFiles() bool` +`func (o *PackageCopyResponse) HasNumFiles() bool` HasNumFiles returns a boolean if a field has been set. +### GetOriginRepository + +`func (o *PackageCopyResponse) GetOriginRepository() string` + +GetOriginRepository returns the OriginRepository field if non-nil, zero value otherwise. + +### GetOriginRepositoryOk + +`func (o *PackageCopyResponse) GetOriginRepositoryOk() (*string, bool)` + +GetOriginRepositoryOk returns a tuple with the OriginRepository field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetOriginRepository + +`func (o *PackageCopyResponse) SetOriginRepository(v string)` + +SetOriginRepository sets OriginRepository field to given value. + +### HasOriginRepository + +`func (o *PackageCopyResponse) HasOriginRepository() bool` + +HasOriginRepository returns a boolean if a field has been set. + +### GetOriginRepositoryUrl + +`func (o *PackageCopyResponse) GetOriginRepositoryUrl() string` + +GetOriginRepositoryUrl returns the OriginRepositoryUrl field if non-nil, zero value otherwise. + +### GetOriginRepositoryUrlOk + +`func (o *PackageCopyResponse) GetOriginRepositoryUrlOk() (*string, bool)` + +GetOriginRepositoryUrlOk returns a tuple with the OriginRepositoryUrl field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetOriginRepositoryUrl + +`func (o *PackageCopyResponse) SetOriginRepositoryUrl(v string)` + +SetOriginRepositoryUrl sets OriginRepositoryUrl field to given value. + +### HasOriginRepositoryUrl + +`func (o *PackageCopyResponse) HasOriginRepositoryUrl() bool` + +HasOriginRepositoryUrl returns a boolean if a field has been set. + ### GetPackageType -`func (o *PackageMove) GetPackageType() int64` +`func (o *PackageCopyResponse) GetPackageType() int64` GetPackageType returns the PackageType field if non-nil, zero value otherwise. ### GetPackageTypeOk -`func (o *PackageMove) GetPackageTypeOk() (*int64, bool)` +`func (o *PackageCopyResponse) GetPackageTypeOk() (*int64, bool)` GetPackageTypeOk returns a tuple with the PackageType field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetPackageType -`func (o *PackageMove) SetPackageType(v int64)` +`func (o *PackageCopyResponse) SetPackageType(v int64)` SetPackageType sets PackageType field to given value. ### HasPackageType -`func (o *PackageMove) HasPackageType() bool` +`func (o *PackageCopyResponse) HasPackageType() bool` HasPackageType returns a boolean if a field has been set. ### GetRelease -`func (o *PackageMove) GetRelease() string` +`func (o *PackageCopyResponse) GetRelease() string` GetRelease returns the Release field if non-nil, zero value otherwise. ### GetReleaseOk -`func (o *PackageMove) GetReleaseOk() (*string, bool)` +`func (o *PackageCopyResponse) GetReleaseOk() (*string, bool)` GetReleaseOk returns a tuple with the Release field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetRelease -`func (o *PackageMove) SetRelease(v string)` +`func (o *PackageCopyResponse) SetRelease(v string)` SetRelease sets Release field to given value. ### HasRelease -`func (o *PackageMove) HasRelease() bool` +`func (o *PackageCopyResponse) HasRelease() bool` HasRelease returns a boolean if a field has been set. ### GetRepository -`func (o *PackageMove) GetRepository() string` +`func (o *PackageCopyResponse) GetRepository() string` GetRepository returns the Repository field if non-nil, zero value otherwise. ### GetRepositoryOk -`func (o *PackageMove) GetRepositoryOk() (*string, bool)` +`func (o *PackageCopyResponse) GetRepositoryOk() (*string, bool)` GetRepositoryOk returns a tuple with the Repository field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetRepository -`func (o *PackageMove) SetRepository(v string)` +`func (o *PackageCopyResponse) SetRepository(v string)` SetRepository sets Repository field to given value. ### HasRepository -`func (o *PackageMove) HasRepository() bool` +`func (o *PackageCopyResponse) HasRepository() bool` HasRepository returns a boolean if a field has been set. ### GetRepositoryUrl -`func (o *PackageMove) GetRepositoryUrl() string` +`func (o *PackageCopyResponse) GetRepositoryUrl() string` GetRepositoryUrl returns the RepositoryUrl field if non-nil, zero value otherwise. ### GetRepositoryUrlOk -`func (o *PackageMove) GetRepositoryUrlOk() (*string, bool)` +`func (o *PackageCopyResponse) GetRepositoryUrlOk() (*string, bool)` GetRepositoryUrlOk returns a tuple with the RepositoryUrl field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetRepositoryUrl -`func (o *PackageMove) SetRepositoryUrl(v string)` +`func (o *PackageCopyResponse) SetRepositoryUrl(v string)` SetRepositoryUrl sets RepositoryUrl field to given value. ### HasRepositoryUrl -`func (o *PackageMove) HasRepositoryUrl() bool` +`func (o *PackageCopyResponse) HasRepositoryUrl() bool` HasRepositoryUrl returns a boolean if a field has been set. ### GetSecurityScanCompletedAt -`func (o *PackageMove) GetSecurityScanCompletedAt() string` +`func (o *PackageCopyResponse) GetSecurityScanCompletedAt() time.Time` GetSecurityScanCompletedAt returns the SecurityScanCompletedAt field if non-nil, zero value otherwise. ### GetSecurityScanCompletedAtOk -`func (o *PackageMove) GetSecurityScanCompletedAtOk() (*string, bool)` +`func (o *PackageCopyResponse) GetSecurityScanCompletedAtOk() (*time.Time, bool)` GetSecurityScanCompletedAtOk returns a tuple with the SecurityScanCompletedAt field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetSecurityScanCompletedAt -`func (o *PackageMove) SetSecurityScanCompletedAt(v string)` +`func (o *PackageCopyResponse) SetSecurityScanCompletedAt(v time.Time)` SetSecurityScanCompletedAt sets SecurityScanCompletedAt field to given value. ### HasSecurityScanCompletedAt -`func (o *PackageMove) HasSecurityScanCompletedAt() bool` +`func (o *PackageCopyResponse) HasSecurityScanCompletedAt() bool` HasSecurityScanCompletedAt returns a boolean if a field has been set. ### GetSecurityScanStartedAt -`func (o *PackageMove) GetSecurityScanStartedAt() string` +`func (o *PackageCopyResponse) GetSecurityScanStartedAt() time.Time` GetSecurityScanStartedAt returns the SecurityScanStartedAt field if non-nil, zero value otherwise. ### GetSecurityScanStartedAtOk -`func (o *PackageMove) GetSecurityScanStartedAtOk() (*string, bool)` +`func (o *PackageCopyResponse) GetSecurityScanStartedAtOk() (*time.Time, bool)` GetSecurityScanStartedAtOk returns a tuple with the SecurityScanStartedAt field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetSecurityScanStartedAt -`func (o *PackageMove) SetSecurityScanStartedAt(v string)` +`func (o *PackageCopyResponse) SetSecurityScanStartedAt(v time.Time)` SetSecurityScanStartedAt sets SecurityScanStartedAt field to given value. ### HasSecurityScanStartedAt -`func (o *PackageMove) HasSecurityScanStartedAt() bool` +`func (o *PackageCopyResponse) HasSecurityScanStartedAt() bool` HasSecurityScanStartedAt returns a boolean if a field has been set. ### GetSecurityScanStatus -`func (o *PackageMove) GetSecurityScanStatus() string` +`func (o *PackageCopyResponse) GetSecurityScanStatus() string` GetSecurityScanStatus returns the SecurityScanStatus field if non-nil, zero value otherwise. ### GetSecurityScanStatusOk -`func (o *PackageMove) GetSecurityScanStatusOk() (*string, bool)` +`func (o *PackageCopyResponse) GetSecurityScanStatusOk() (*string, bool)` GetSecurityScanStatusOk returns a tuple with the SecurityScanStatus field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetSecurityScanStatus -`func (o *PackageMove) SetSecurityScanStatus(v string)` +`func (o *PackageCopyResponse) SetSecurityScanStatus(v string)` SetSecurityScanStatus sets SecurityScanStatus field to given value. ### HasSecurityScanStatus -`func (o *PackageMove) HasSecurityScanStatus() bool` +`func (o *PackageCopyResponse) HasSecurityScanStatus() bool` HasSecurityScanStatus returns a boolean if a field has been set. +### SetSecurityScanStatusNil + +`func (o *PackageCopyResponse) SetSecurityScanStatusNil(b bool)` + + SetSecurityScanStatusNil sets the value for SecurityScanStatus to be an explicit nil + +### UnsetSecurityScanStatus +`func (o *PackageCopyResponse) UnsetSecurityScanStatus()` + +UnsetSecurityScanStatus ensures that no value is present for SecurityScanStatus, not even an explicit nil ### GetSecurityScanStatusUpdatedAt -`func (o *PackageMove) GetSecurityScanStatusUpdatedAt() string` +`func (o *PackageCopyResponse) GetSecurityScanStatusUpdatedAt() time.Time` GetSecurityScanStatusUpdatedAt returns the SecurityScanStatusUpdatedAt field if non-nil, zero value otherwise. ### GetSecurityScanStatusUpdatedAtOk -`func (o *PackageMove) GetSecurityScanStatusUpdatedAtOk() (*string, bool)` +`func (o *PackageCopyResponse) GetSecurityScanStatusUpdatedAtOk() (*time.Time, bool)` GetSecurityScanStatusUpdatedAtOk returns a tuple with the SecurityScanStatusUpdatedAt field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetSecurityScanStatusUpdatedAt -`func (o *PackageMove) SetSecurityScanStatusUpdatedAt(v string)` +`func (o *PackageCopyResponse) SetSecurityScanStatusUpdatedAt(v time.Time)` SetSecurityScanStatusUpdatedAt sets SecurityScanStatusUpdatedAt field to given value. ### HasSecurityScanStatusUpdatedAt -`func (o *PackageMove) HasSecurityScanStatusUpdatedAt() bool` +`func (o *PackageCopyResponse) HasSecurityScanStatusUpdatedAt() bool` HasSecurityScanStatusUpdatedAt returns a boolean if a field has been set. ### GetSelfHtmlUrl -`func (o *PackageMove) GetSelfHtmlUrl() string` +`func (o *PackageCopyResponse) GetSelfHtmlUrl() string` GetSelfHtmlUrl returns the SelfHtmlUrl field if non-nil, zero value otherwise. ### GetSelfHtmlUrlOk -`func (o *PackageMove) GetSelfHtmlUrlOk() (*string, bool)` +`func (o *PackageCopyResponse) GetSelfHtmlUrlOk() (*string, bool)` GetSelfHtmlUrlOk returns a tuple with the SelfHtmlUrl field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetSelfHtmlUrl -`func (o *PackageMove) SetSelfHtmlUrl(v string)` +`func (o *PackageCopyResponse) SetSelfHtmlUrl(v string)` SetSelfHtmlUrl sets SelfHtmlUrl field to given value. ### HasSelfHtmlUrl -`func (o *PackageMove) HasSelfHtmlUrl() bool` +`func (o *PackageCopyResponse) HasSelfHtmlUrl() bool` HasSelfHtmlUrl returns a boolean if a field has been set. ### GetSelfUrl -`func (o *PackageMove) GetSelfUrl() string` +`func (o *PackageCopyResponse) GetSelfUrl() string` GetSelfUrl returns the SelfUrl field if non-nil, zero value otherwise. ### GetSelfUrlOk -`func (o *PackageMove) GetSelfUrlOk() (*string, bool)` +`func (o *PackageCopyResponse) GetSelfUrlOk() (*string, bool)` GetSelfUrlOk returns a tuple with the SelfUrl field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetSelfUrl -`func (o *PackageMove) SetSelfUrl(v string)` +`func (o *PackageCopyResponse) SetSelfUrl(v string)` SetSelfUrl sets SelfUrl field to given value. ### HasSelfUrl -`func (o *PackageMove) HasSelfUrl() bool` +`func (o *PackageCopyResponse) HasSelfUrl() bool` HasSelfUrl returns a boolean if a field has been set. ### GetSignatureUrl -`func (o *PackageMove) GetSignatureUrl() string` +`func (o *PackageCopyResponse) GetSignatureUrl() string` GetSignatureUrl returns the SignatureUrl field if non-nil, zero value otherwise. ### GetSignatureUrlOk -`func (o *PackageMove) GetSignatureUrlOk() (*string, bool)` +`func (o *PackageCopyResponse) GetSignatureUrlOk() (*string, bool)` GetSignatureUrlOk returns a tuple with the SignatureUrl field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetSignatureUrl -`func (o *PackageMove) SetSignatureUrl(v string)` +`func (o *PackageCopyResponse) SetSignatureUrl(v string)` SetSignatureUrl sets SignatureUrl field to given value. ### HasSignatureUrl -`func (o *PackageMove) HasSignatureUrl() bool` +`func (o *PackageCopyResponse) HasSignatureUrl() bool` HasSignatureUrl returns a boolean if a field has been set. +### SetSignatureUrlNil + +`func (o *PackageCopyResponse) SetSignatureUrlNil(b bool)` + + SetSignatureUrlNil sets the value for SignatureUrl to be an explicit nil + +### UnsetSignatureUrl +`func (o *PackageCopyResponse) UnsetSignatureUrl()` + +UnsetSignatureUrl ensures that no value is present for SignatureUrl, not even an explicit nil ### GetSize -`func (o *PackageMove) GetSize() int64` +`func (o *PackageCopyResponse) GetSize() int64` GetSize returns the Size field if non-nil, zero value otherwise. ### GetSizeOk -`func (o *PackageMove) GetSizeOk() (*int64, bool)` +`func (o *PackageCopyResponse) GetSizeOk() (*int64, bool)` GetSizeOk returns a tuple with the Size field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetSize -`func (o *PackageMove) SetSize(v int64)` +`func (o *PackageCopyResponse) SetSize(v int64)` SetSize sets Size field to given value. ### HasSize -`func (o *PackageMove) HasSize() bool` +`func (o *PackageCopyResponse) HasSize() bool` HasSize returns a boolean if a field has been set. ### GetSlug -`func (o *PackageMove) GetSlug() string` +`func (o *PackageCopyResponse) GetSlug() string` GetSlug returns the Slug field if non-nil, zero value otherwise. ### GetSlugOk -`func (o *PackageMove) GetSlugOk() (*string, bool)` +`func (o *PackageCopyResponse) GetSlugOk() (*string, bool)` GetSlugOk returns a tuple with the Slug field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetSlug -`func (o *PackageMove) SetSlug(v string)` +`func (o *PackageCopyResponse) SetSlug(v string)` SetSlug sets Slug field to given value. ### HasSlug -`func (o *PackageMove) HasSlug() bool` +`func (o *PackageCopyResponse) HasSlug() bool` HasSlug returns a boolean if a field has been set. ### GetSlugPerm -`func (o *PackageMove) GetSlugPerm() string` +`func (o *PackageCopyResponse) GetSlugPerm() string` GetSlugPerm returns the SlugPerm field if non-nil, zero value otherwise. ### GetSlugPermOk -`func (o *PackageMove) GetSlugPermOk() (*string, bool)` +`func (o *PackageCopyResponse) GetSlugPermOk() (*string, bool)` GetSlugPermOk returns a tuple with the SlugPerm field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetSlugPerm -`func (o *PackageMove) SetSlugPerm(v string)` +`func (o *PackageCopyResponse) SetSlugPerm(v string)` SetSlugPerm sets SlugPerm field to given value. ### HasSlugPerm -`func (o *PackageMove) HasSlugPerm() bool` +`func (o *PackageCopyResponse) HasSlugPerm() bool` HasSlugPerm returns a boolean if a field has been set. ### GetStage -`func (o *PackageMove) GetStage() int64` +`func (o *PackageCopyResponse) GetStage() int64` GetStage returns the Stage field if non-nil, zero value otherwise. ### GetStageOk -`func (o *PackageMove) GetStageOk() (*int64, bool)` +`func (o *PackageCopyResponse) GetStageOk() (*int64, bool)` GetStageOk returns a tuple with the Stage field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetStage -`func (o *PackageMove) SetStage(v int64)` +`func (o *PackageCopyResponse) SetStage(v int64)` SetStage sets Stage field to given value. ### HasStage -`func (o *PackageMove) HasStage() bool` +`func (o *PackageCopyResponse) HasStage() bool` HasStage returns a boolean if a field has been set. ### GetStageStr -`func (o *PackageMove) GetStageStr() string` +`func (o *PackageCopyResponse) GetStageStr() string` GetStageStr returns the StageStr field if non-nil, zero value otherwise. ### GetStageStrOk -`func (o *PackageMove) GetStageStrOk() (*string, bool)` +`func (o *PackageCopyResponse) GetStageStrOk() (*string, bool)` GetStageStrOk returns a tuple with the StageStr field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetStageStr -`func (o *PackageMove) SetStageStr(v string)` +`func (o *PackageCopyResponse) SetStageStr(v string)` SetStageStr sets StageStr field to given value. ### HasStageStr -`func (o *PackageMove) HasStageStr() bool` +`func (o *PackageCopyResponse) HasStageStr() bool` HasStageStr returns a boolean if a field has been set. ### GetStageUpdatedAt -`func (o *PackageMove) GetStageUpdatedAt() string` +`func (o *PackageCopyResponse) GetStageUpdatedAt() time.Time` GetStageUpdatedAt returns the StageUpdatedAt field if non-nil, zero value otherwise. ### GetStageUpdatedAtOk -`func (o *PackageMove) GetStageUpdatedAtOk() (*string, bool)` +`func (o *PackageCopyResponse) GetStageUpdatedAtOk() (*time.Time, bool)` GetStageUpdatedAtOk returns a tuple with the StageUpdatedAt field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetStageUpdatedAt -`func (o *PackageMove) SetStageUpdatedAt(v string)` +`func (o *PackageCopyResponse) SetStageUpdatedAt(v time.Time)` SetStageUpdatedAt sets StageUpdatedAt field to given value. ### HasStageUpdatedAt -`func (o *PackageMove) HasStageUpdatedAt() bool` +`func (o *PackageCopyResponse) HasStageUpdatedAt() bool` HasStageUpdatedAt returns a boolean if a field has been set. ### GetStatus -`func (o *PackageMove) GetStatus() int64` +`func (o *PackageCopyResponse) GetStatus() int64` GetStatus returns the Status field if non-nil, zero value otherwise. ### GetStatusOk -`func (o *PackageMove) GetStatusOk() (*int64, bool)` +`func (o *PackageCopyResponse) GetStatusOk() (*int64, bool)` GetStatusOk returns a tuple with the Status field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetStatus -`func (o *PackageMove) SetStatus(v int64)` +`func (o *PackageCopyResponse) SetStatus(v int64)` SetStatus sets Status field to given value. ### HasStatus -`func (o *PackageMove) HasStatus() bool` +`func (o *PackageCopyResponse) HasStatus() bool` HasStatus returns a boolean if a field has been set. ### GetStatusReason -`func (o *PackageMove) GetStatusReason() string` +`func (o *PackageCopyResponse) GetStatusReason() string` GetStatusReason returns the StatusReason field if non-nil, zero value otherwise. ### GetStatusReasonOk -`func (o *PackageMove) GetStatusReasonOk() (*string, bool)` +`func (o *PackageCopyResponse) GetStatusReasonOk() (*string, bool)` GetStatusReasonOk returns a tuple with the StatusReason field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetStatusReason -`func (o *PackageMove) SetStatusReason(v string)` +`func (o *PackageCopyResponse) SetStatusReason(v string)` SetStatusReason sets StatusReason field to given value. ### HasStatusReason -`func (o *PackageMove) HasStatusReason() bool` +`func (o *PackageCopyResponse) HasStatusReason() bool` HasStatusReason returns a boolean if a field has been set. ### GetStatusStr -`func (o *PackageMove) GetStatusStr() string` +`func (o *PackageCopyResponse) GetStatusStr() string` GetStatusStr returns the StatusStr field if non-nil, zero value otherwise. ### GetStatusStrOk -`func (o *PackageMove) GetStatusStrOk() (*string, bool)` +`func (o *PackageCopyResponse) GetStatusStrOk() (*string, bool)` GetStatusStrOk returns a tuple with the StatusStr field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetStatusStr -`func (o *PackageMove) SetStatusStr(v string)` +`func (o *PackageCopyResponse) SetStatusStr(v string)` SetStatusStr sets StatusStr field to given value. ### HasStatusStr -`func (o *PackageMove) HasStatusStr() bool` +`func (o *PackageCopyResponse) HasStatusStr() bool` HasStatusStr returns a boolean if a field has been set. ### GetStatusUpdatedAt -`func (o *PackageMove) GetStatusUpdatedAt() string` +`func (o *PackageCopyResponse) GetStatusUpdatedAt() time.Time` GetStatusUpdatedAt returns the StatusUpdatedAt field if non-nil, zero value otherwise. ### GetStatusUpdatedAtOk -`func (o *PackageMove) GetStatusUpdatedAtOk() (*string, bool)` +`func (o *PackageCopyResponse) GetStatusUpdatedAtOk() (*time.Time, bool)` GetStatusUpdatedAtOk returns a tuple with the StatusUpdatedAt field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetStatusUpdatedAt -`func (o *PackageMove) SetStatusUpdatedAt(v string)` +`func (o *PackageCopyResponse) SetStatusUpdatedAt(v time.Time)` SetStatusUpdatedAt sets StatusUpdatedAt field to given value. ### HasStatusUpdatedAt -`func (o *PackageMove) HasStatusUpdatedAt() bool` +`func (o *PackageCopyResponse) HasStatusUpdatedAt() bool` HasStatusUpdatedAt returns a boolean if a field has been set. ### GetStatusUrl -`func (o *PackageMove) GetStatusUrl() string` +`func (o *PackageCopyResponse) GetStatusUrl() string` GetStatusUrl returns the StatusUrl field if non-nil, zero value otherwise. ### GetStatusUrlOk -`func (o *PackageMove) GetStatusUrlOk() (*string, bool)` +`func (o *PackageCopyResponse) GetStatusUrlOk() (*string, bool)` GetStatusUrlOk returns a tuple with the StatusUrl field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetStatusUrl -`func (o *PackageMove) SetStatusUrl(v string)` +`func (o *PackageCopyResponse) SetStatusUrl(v string)` SetStatusUrl sets StatusUrl field to given value. ### HasStatusUrl -`func (o *PackageMove) HasStatusUrl() bool` +`func (o *PackageCopyResponse) HasStatusUrl() bool` HasStatusUrl returns a boolean if a field has been set. ### GetSubtype -`func (o *PackageMove) GetSubtype() string` +`func (o *PackageCopyResponse) GetSubtype() string` GetSubtype returns the Subtype field if non-nil, zero value otherwise. ### GetSubtypeOk -`func (o *PackageMove) GetSubtypeOk() (*string, bool)` +`func (o *PackageCopyResponse) GetSubtypeOk() (*string, bool)` GetSubtypeOk returns a tuple with the Subtype field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetSubtype -`func (o *PackageMove) SetSubtype(v string)` +`func (o *PackageCopyResponse) SetSubtype(v string)` SetSubtype sets Subtype field to given value. ### HasSubtype -`func (o *PackageMove) HasSubtype() bool` +`func (o *PackageCopyResponse) HasSubtype() bool` HasSubtype returns a boolean if a field has been set. ### GetSummary -`func (o *PackageMove) GetSummary() string` +`func (o *PackageCopyResponse) GetSummary() string` GetSummary returns the Summary field if non-nil, zero value otherwise. ### GetSummaryOk -`func (o *PackageMove) GetSummaryOk() (*string, bool)` +`func (o *PackageCopyResponse) GetSummaryOk() (*string, bool)` GetSummaryOk returns a tuple with the Summary field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetSummary -`func (o *PackageMove) SetSummary(v string)` +`func (o *PackageCopyResponse) SetSummary(v string)` SetSummary sets Summary field to given value. ### HasSummary -`func (o *PackageMove) HasSummary() bool` +`func (o *PackageCopyResponse) HasSummary() bool` HasSummary returns a boolean if a field has been set. ### GetSyncFinishedAt -`func (o *PackageMove) GetSyncFinishedAt() string` +`func (o *PackageCopyResponse) GetSyncFinishedAt() time.Time` GetSyncFinishedAt returns the SyncFinishedAt field if non-nil, zero value otherwise. ### GetSyncFinishedAtOk -`func (o *PackageMove) GetSyncFinishedAtOk() (*string, bool)` +`func (o *PackageCopyResponse) GetSyncFinishedAtOk() (*time.Time, bool)` GetSyncFinishedAtOk returns a tuple with the SyncFinishedAt field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetSyncFinishedAt -`func (o *PackageMove) SetSyncFinishedAt(v string)` +`func (o *PackageCopyResponse) SetSyncFinishedAt(v time.Time)` SetSyncFinishedAt sets SyncFinishedAt field to given value. ### HasSyncFinishedAt -`func (o *PackageMove) HasSyncFinishedAt() bool` +`func (o *PackageCopyResponse) HasSyncFinishedAt() bool` HasSyncFinishedAt returns a boolean if a field has been set. ### GetSyncProgress -`func (o *PackageMove) GetSyncProgress() int64` +`func (o *PackageCopyResponse) GetSyncProgress() int64` GetSyncProgress returns the SyncProgress field if non-nil, zero value otherwise. ### GetSyncProgressOk -`func (o *PackageMove) GetSyncProgressOk() (*int64, bool)` +`func (o *PackageCopyResponse) GetSyncProgressOk() (*int64, bool)` GetSyncProgressOk returns a tuple with the SyncProgress field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetSyncProgress -`func (o *PackageMove) SetSyncProgress(v int64)` +`func (o *PackageCopyResponse) SetSyncProgress(v int64)` SetSyncProgress sets SyncProgress field to given value. ### HasSyncProgress -`func (o *PackageMove) HasSyncProgress() bool` +`func (o *PackageCopyResponse) HasSyncProgress() bool` HasSyncProgress returns a boolean if a field has been set. ### GetTags -`func (o *PackageMove) GetTags() map[string]interface{}` +`func (o *PackageCopyResponse) GetTags() map[string]interface{}` GetTags returns the Tags field if non-nil, zero value otherwise. ### GetTagsOk -`func (o *PackageMove) GetTagsOk() (*map[string]interface{}, bool)` +`func (o *PackageCopyResponse) GetTagsOk() (*map[string]interface{}, bool)` GetTagsOk returns a tuple with the Tags field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetTags -`func (o *PackageMove) SetTags(v map[string]interface{})` +`func (o *PackageCopyResponse) SetTags(v map[string]interface{})` SetTags sets Tags field to given value. ### HasTags -`func (o *PackageMove) HasTags() bool` +`func (o *PackageCopyResponse) HasTags() bool` HasTags returns a boolean if a field has been set. ### GetTagsImmutable -`func (o *PackageMove) GetTagsImmutable() map[string]interface{}` +`func (o *PackageCopyResponse) GetTagsImmutable() map[string]interface{}` GetTagsImmutable returns the TagsImmutable field if non-nil, zero value otherwise. ### GetTagsImmutableOk -`func (o *PackageMove) GetTagsImmutableOk() (*map[string]interface{}, bool)` +`func (o *PackageCopyResponse) GetTagsImmutableOk() (*map[string]interface{}, bool)` GetTagsImmutableOk returns a tuple with the TagsImmutable field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetTagsImmutable -`func (o *PackageMove) SetTagsImmutable(v map[string]interface{})` +`func (o *PackageCopyResponse) SetTagsImmutable(v map[string]interface{})` SetTagsImmutable sets TagsImmutable field to given value. ### HasTagsImmutable -`func (o *PackageMove) HasTagsImmutable() bool` +`func (o *PackageCopyResponse) HasTagsImmutable() bool` HasTagsImmutable returns a boolean if a field has been set. ### GetTypeDisplay -`func (o *PackageMove) GetTypeDisplay() string` +`func (o *PackageCopyResponse) GetTypeDisplay() string` GetTypeDisplay returns the TypeDisplay field if non-nil, zero value otherwise. ### GetTypeDisplayOk -`func (o *PackageMove) GetTypeDisplayOk() (*string, bool)` +`func (o *PackageCopyResponse) GetTypeDisplayOk() (*string, bool)` GetTypeDisplayOk returns a tuple with the TypeDisplay field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetTypeDisplay -`func (o *PackageMove) SetTypeDisplay(v string)` +`func (o *PackageCopyResponse) SetTypeDisplay(v string)` SetTypeDisplay sets TypeDisplay field to given value. ### HasTypeDisplay -`func (o *PackageMove) HasTypeDisplay() bool` +`func (o *PackageCopyResponse) HasTypeDisplay() bool` HasTypeDisplay returns a boolean if a field has been set. ### GetUploadedAt -`func (o *PackageMove) GetUploadedAt() string` +`func (o *PackageCopyResponse) GetUploadedAt() time.Time` GetUploadedAt returns the UploadedAt field if non-nil, zero value otherwise. ### GetUploadedAtOk -`func (o *PackageMove) GetUploadedAtOk() (*string, bool)` +`func (o *PackageCopyResponse) GetUploadedAtOk() (*time.Time, bool)` GetUploadedAtOk returns a tuple with the UploadedAt field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetUploadedAt -`func (o *PackageMove) SetUploadedAt(v string)` +`func (o *PackageCopyResponse) SetUploadedAt(v time.Time)` SetUploadedAt sets UploadedAt field to given value. ### HasUploadedAt -`func (o *PackageMove) HasUploadedAt() bool` +`func (o *PackageCopyResponse) HasUploadedAt() bool` HasUploadedAt returns a boolean if a field has been set. ### GetUploader -`func (o *PackageMove) GetUploader() string` +`func (o *PackageCopyResponse) GetUploader() string` GetUploader returns the Uploader field if non-nil, zero value otherwise. ### GetUploaderOk -`func (o *PackageMove) GetUploaderOk() (*string, bool)` +`func (o *PackageCopyResponse) GetUploaderOk() (*string, bool)` GetUploaderOk returns a tuple with the Uploader field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetUploader -`func (o *PackageMove) SetUploader(v string)` +`func (o *PackageCopyResponse) SetUploader(v string)` SetUploader sets Uploader field to given value. ### HasUploader -`func (o *PackageMove) HasUploader() bool` +`func (o *PackageCopyResponse) HasUploader() bool` HasUploader returns a boolean if a field has been set. ### GetUploaderUrl -`func (o *PackageMove) GetUploaderUrl() string` +`func (o *PackageCopyResponse) GetUploaderUrl() string` GetUploaderUrl returns the UploaderUrl field if non-nil, zero value otherwise. ### GetUploaderUrlOk -`func (o *PackageMove) GetUploaderUrlOk() (*string, bool)` +`func (o *PackageCopyResponse) GetUploaderUrlOk() (*string, bool)` GetUploaderUrlOk returns a tuple with the UploaderUrl field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetUploaderUrl -`func (o *PackageMove) SetUploaderUrl(v string)` +`func (o *PackageCopyResponse) SetUploaderUrl(v string)` SetUploaderUrl sets UploaderUrl field to given value. ### HasUploaderUrl -`func (o *PackageMove) HasUploaderUrl() bool` +`func (o *PackageCopyResponse) HasUploaderUrl() bool` HasUploaderUrl returns a boolean if a field has been set. ### GetVersion -`func (o *PackageMove) GetVersion() string` +`func (o *PackageCopyResponse) GetVersion() string` GetVersion returns the Version field if non-nil, zero value otherwise. ### GetVersionOk -`func (o *PackageMove) GetVersionOk() (*string, bool)` +`func (o *PackageCopyResponse) GetVersionOk() (*string, bool)` GetVersionOk returns a tuple with the Version field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetVersion -`func (o *PackageMove) SetVersion(v string)` +`func (o *PackageCopyResponse) SetVersion(v string)` SetVersion sets Version field to given value. ### HasVersion -`func (o *PackageMove) HasVersion() bool` +`func (o *PackageCopyResponse) HasVersion() bool` HasVersion returns a boolean if a field has been set. ### GetVersionOrig -`func (o *PackageMove) GetVersionOrig() string` +`func (o *PackageCopyResponse) GetVersionOrig() string` GetVersionOrig returns the VersionOrig field if non-nil, zero value otherwise. ### GetVersionOrigOk -`func (o *PackageMove) GetVersionOrigOk() (*string, bool)` +`func (o *PackageCopyResponse) GetVersionOrigOk() (*string, bool)` GetVersionOrigOk returns a tuple with the VersionOrig field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetVersionOrig -`func (o *PackageMove) SetVersionOrig(v string)` +`func (o *PackageCopyResponse) SetVersionOrig(v string)` SetVersionOrig sets VersionOrig field to given value. ### HasVersionOrig -`func (o *PackageMove) HasVersionOrig() bool` +`func (o *PackageCopyResponse) HasVersionOrig() bool` HasVersionOrig returns a boolean if a field has been set. ### GetVulnerabilityScanResultsUrl -`func (o *PackageMove) GetVulnerabilityScanResultsUrl() string` +`func (o *PackageCopyResponse) GetVulnerabilityScanResultsUrl() string` GetVulnerabilityScanResultsUrl returns the VulnerabilityScanResultsUrl field if non-nil, zero value otherwise. ### GetVulnerabilityScanResultsUrlOk -`func (o *PackageMove) GetVulnerabilityScanResultsUrlOk() (*string, bool)` +`func (o *PackageCopyResponse) GetVulnerabilityScanResultsUrlOk() (*string, bool)` GetVulnerabilityScanResultsUrlOk returns a tuple with the VulnerabilityScanResultsUrl field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetVulnerabilityScanResultsUrl -`func (o *PackageMove) SetVulnerabilityScanResultsUrl(v string)` +`func (o *PackageCopyResponse) SetVulnerabilityScanResultsUrl(v string)` SetVulnerabilityScanResultsUrl sets VulnerabilityScanResultsUrl field to given value. ### HasVulnerabilityScanResultsUrl -`func (o *PackageMove) HasVulnerabilityScanResultsUrl() bool` +`func (o *PackageCopyResponse) HasVulnerabilityScanResultsUrl() bool` HasVulnerabilityScanResultsUrl returns a boolean if a field has been set. diff --git a/docs/PackageDependencies.md b/docs/PackageDependenciesResponse.md similarity index 56% rename from docs/PackageDependencies.md rename to docs/PackageDependenciesResponse.md index a7c1369b..587b3de7 100644 --- a/docs/PackageDependencies.md +++ b/docs/PackageDependenciesResponse.md @@ -1,46 +1,46 @@ -# PackageDependencies +# PackageDependenciesResponse ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**Dependencies** | [**[]PackageDependenciesDependencies**](PackageDependenciesDependencies.md) | | +**Dependencies** | [**[]PackageDependency**](PackageDependency.md) | | ## Methods -### NewPackageDependencies +### NewPackageDependenciesResponse -`func NewPackageDependencies(dependencies []PackageDependenciesDependencies, ) *PackageDependencies` +`func NewPackageDependenciesResponse(dependencies []PackageDependency, ) *PackageDependenciesResponse` -NewPackageDependencies instantiates a new PackageDependencies object +NewPackageDependenciesResponse instantiates a new PackageDependenciesResponse object 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 -### NewPackageDependenciesWithDefaults +### NewPackageDependenciesResponseWithDefaults -`func NewPackageDependenciesWithDefaults() *PackageDependencies` +`func NewPackageDependenciesResponseWithDefaults() *PackageDependenciesResponse` -NewPackageDependenciesWithDefaults instantiates a new PackageDependencies object +NewPackageDependenciesResponseWithDefaults instantiates a new PackageDependenciesResponse object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set ### GetDependencies -`func (o *PackageDependencies) GetDependencies() []PackageDependenciesDependencies` +`func (o *PackageDependenciesResponse) GetDependencies() []PackageDependency` GetDependencies returns the Dependencies field if non-nil, zero value otherwise. ### GetDependenciesOk -`func (o *PackageDependencies) GetDependenciesOk() (*[]PackageDependenciesDependencies, bool)` +`func (o *PackageDependenciesResponse) GetDependenciesOk() (*[]PackageDependency, 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 *PackageDependencies) SetDependencies(v []PackageDependenciesDependencies)` +`func (o *PackageDependenciesResponse) SetDependencies(v []PackageDependency)` SetDependencies sets Dependencies field to given value. diff --git a/docs/PackageDependenciesDependencies.md b/docs/PackageDependency.md similarity index 50% rename from docs/PackageDependenciesDependencies.md rename to docs/PackageDependency.md index 2bca718f..65e1da0a 100644 --- a/docs/PackageDependenciesDependencies.md +++ b/docs/PackageDependency.md @@ -1,133 +1,148 @@ -# PackageDependenciesDependencies +# PackageDependency ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**DepType** | Pointer to **string** | | [optional] -**Name** | Pointer to **string** | The name of the package dependency. | [optional] -**Operator** | Pointer to **string** | | [optional] -**Version** | Pointer to **string** | The raw dependency version (if any). | [optional] +**DepType** | Pointer to **string** | | [optional] [readonly] [default to "Depends"] +**Name** | **string** | The name of the package dependency. | +**Operator** | Pointer to **NullableString** | | [optional] [readonly] [default to "="] +**Version** | Pointer to **NullableString** | The raw dependency version (if any). | [optional] ## Methods -### NewPackageDependenciesDependencies +### NewPackageDependency -`func NewPackageDependenciesDependencies() *PackageDependenciesDependencies` +`func NewPackageDependency(name string, ) *PackageDependency` -NewPackageDependenciesDependencies instantiates a new PackageDependenciesDependencies object +NewPackageDependency instantiates a new PackageDependency object 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 -### NewPackageDependenciesDependenciesWithDefaults +### NewPackageDependencyWithDefaults -`func NewPackageDependenciesDependenciesWithDefaults() *PackageDependenciesDependencies` +`func NewPackageDependencyWithDefaults() *PackageDependency` -NewPackageDependenciesDependenciesWithDefaults instantiates a new PackageDependenciesDependencies object +NewPackageDependencyWithDefaults instantiates a new PackageDependency object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set ### GetDepType -`func (o *PackageDependenciesDependencies) GetDepType() string` +`func (o *PackageDependency) GetDepType() string` GetDepType returns the DepType field if non-nil, zero value otherwise. ### GetDepTypeOk -`func (o *PackageDependenciesDependencies) GetDepTypeOk() (*string, bool)` +`func (o *PackageDependency) GetDepTypeOk() (*string, bool)` GetDepTypeOk returns a tuple with the DepType field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetDepType -`func (o *PackageDependenciesDependencies) SetDepType(v string)` +`func (o *PackageDependency) SetDepType(v string)` SetDepType sets DepType field to given value. ### HasDepType -`func (o *PackageDependenciesDependencies) HasDepType() bool` +`func (o *PackageDependency) HasDepType() bool` HasDepType returns a boolean if a field has been set. ### GetName -`func (o *PackageDependenciesDependencies) GetName() string` +`func (o *PackageDependency) GetName() string` GetName returns the Name field if non-nil, zero value otherwise. ### GetNameOk -`func (o *PackageDependenciesDependencies) GetNameOk() (*string, bool)` +`func (o *PackageDependency) GetNameOk() (*string, bool)` 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. ### SetName -`func (o *PackageDependenciesDependencies) SetName(v string)` +`func (o *PackageDependency) SetName(v string)` SetName sets Name field to given value. -### HasName - -`func (o *PackageDependenciesDependencies) HasName() bool` - -HasName returns a boolean if a field has been set. ### GetOperator -`func (o *PackageDependenciesDependencies) GetOperator() string` +`func (o *PackageDependency) GetOperator() string` GetOperator returns the Operator field if non-nil, zero value otherwise. ### GetOperatorOk -`func (o *PackageDependenciesDependencies) GetOperatorOk() (*string, bool)` +`func (o *PackageDependency) GetOperatorOk() (*string, bool)` GetOperatorOk returns a tuple with the Operator field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetOperator -`func (o *PackageDependenciesDependencies) SetOperator(v string)` +`func (o *PackageDependency) SetOperator(v string)` SetOperator sets Operator field to given value. ### HasOperator -`func (o *PackageDependenciesDependencies) HasOperator() bool` +`func (o *PackageDependency) HasOperator() bool` HasOperator returns a boolean if a field has been set. +### SetOperatorNil + +`func (o *PackageDependency) SetOperatorNil(b bool)` + + SetOperatorNil sets the value for Operator to be an explicit nil + +### UnsetOperator +`func (o *PackageDependency) UnsetOperator()` + +UnsetOperator ensures that no value is present for Operator, not even an explicit nil ### GetVersion -`func (o *PackageDependenciesDependencies) GetVersion() string` +`func (o *PackageDependency) GetVersion() string` GetVersion returns the Version field if non-nil, zero value otherwise. ### GetVersionOk -`func (o *PackageDependenciesDependencies) GetVersionOk() (*string, bool)` +`func (o *PackageDependency) GetVersionOk() (*string, bool)` GetVersionOk returns a tuple with the Version field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetVersion -`func (o *PackageDependenciesDependencies) SetVersion(v string)` +`func (o *PackageDependency) SetVersion(v string)` SetVersion sets Version field to given value. ### HasVersion -`func (o *PackageDependenciesDependencies) HasVersion() bool` +`func (o *PackageDependency) HasVersion() bool` HasVersion returns a boolean if a field has been set. +### SetVersionNil + +`func (o *PackageDependency) SetVersionNil(b bool)` + + SetVersionNil sets the value for Version to be an explicit nil + +### UnsetVersion +`func (o *PackageDependency) UnsetVersion()` + +UnsetVersion ensures that no value is present for Version, 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/docs/PackagesOwnerRepoFiles.md b/docs/PackageFile.md similarity index 60% rename from docs/PackagesOwnerRepoFiles.md rename to docs/PackageFile.md index 2e6bb40b..6692c2d9 100644 --- a/docs/PackagesOwnerRepoFiles.md +++ b/docs/PackageFile.md @@ -1,390 +1,410 @@ -# PackagesOwnerRepoFiles +# PackageFile ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**CdnUrl** | Pointer to **string** | | [optional] -**ChecksumMd5** | Pointer to **string** | | [optional] -**ChecksumSha1** | Pointer to **string** | | [optional] -**ChecksumSha256** | Pointer to **string** | | [optional] -**ChecksumSha512** | Pointer to **string** | | [optional] -**Downloads** | Pointer to **int64** | | [optional] -**Filename** | Pointer to **string** | | [optional] -**IsDownloadable** | Pointer to **bool** | | [optional] -**IsPrimary** | Pointer to **bool** | | [optional] -**IsSynchronised** | Pointer to **bool** | | [optional] -**SignatureUrl** | Pointer to **string** | | [optional] -**Size** | Pointer to **int64** | The calculated size of the file. | [optional] -**SlugPerm** | Pointer to **string** | | [optional] -**Tag** | Pointer to **string** | Freeform descriptor that describes what the file is. | [optional] +**CdnUrl** | Pointer to **NullableString** | | [optional] [readonly] +**ChecksumMd5** | Pointer to **string** | | [optional] [readonly] +**ChecksumSha1** | Pointer to **string** | | [optional] [readonly] +**ChecksumSha256** | Pointer to **string** | | [optional] [readonly] +**ChecksumSha512** | Pointer to **string** | | [optional] [readonly] +**Downloads** | Pointer to **int64** | | [optional] [readonly] +**Filename** | Pointer to **string** | | [optional] [readonly] +**IsDownloadable** | Pointer to **bool** | | [optional] [readonly] +**IsPrimary** | Pointer to **bool** | | [optional] [readonly] +**IsSynchronised** | Pointer to **bool** | | [optional] [readonly] +**SignatureUrl** | Pointer to **NullableString** | | [optional] [readonly] +**Size** | Pointer to **int64** | The calculated size of the file. | [optional] [readonly] +**SlugPerm** | Pointer to **string** | | [optional] [readonly] +**Tag** | Pointer to **string** | Freeform descriptor that describes what the file is. | [optional] [readonly] ## Methods -### NewPackagesOwnerRepoFiles +### NewPackageFile -`func NewPackagesOwnerRepoFiles() *PackagesOwnerRepoFiles` +`func NewPackageFile() *PackageFile` -NewPackagesOwnerRepoFiles instantiates a new PackagesOwnerRepoFiles object +NewPackageFile instantiates a new PackageFile object 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 -### NewPackagesOwnerRepoFilesWithDefaults +### NewPackageFileWithDefaults -`func NewPackagesOwnerRepoFilesWithDefaults() *PackagesOwnerRepoFiles` +`func NewPackageFileWithDefaults() *PackageFile` -NewPackagesOwnerRepoFilesWithDefaults instantiates a new PackagesOwnerRepoFiles object +NewPackageFileWithDefaults instantiates a new PackageFile object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set ### GetCdnUrl -`func (o *PackagesOwnerRepoFiles) GetCdnUrl() string` +`func (o *PackageFile) GetCdnUrl() string` GetCdnUrl returns the CdnUrl field if non-nil, zero value otherwise. ### GetCdnUrlOk -`func (o *PackagesOwnerRepoFiles) GetCdnUrlOk() (*string, bool)` +`func (o *PackageFile) GetCdnUrlOk() (*string, bool)` GetCdnUrlOk returns a tuple with the CdnUrl field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetCdnUrl -`func (o *PackagesOwnerRepoFiles) SetCdnUrl(v string)` +`func (o *PackageFile) SetCdnUrl(v string)` SetCdnUrl sets CdnUrl field to given value. ### HasCdnUrl -`func (o *PackagesOwnerRepoFiles) HasCdnUrl() bool` +`func (o *PackageFile) HasCdnUrl() bool` HasCdnUrl returns a boolean if a field has been set. +### SetCdnUrlNil + +`func (o *PackageFile) SetCdnUrlNil(b bool)` + + SetCdnUrlNil sets the value for CdnUrl to be an explicit nil + +### UnsetCdnUrl +`func (o *PackageFile) UnsetCdnUrl()` + +UnsetCdnUrl ensures that no value is present for CdnUrl, not even an explicit nil ### GetChecksumMd5 -`func (o *PackagesOwnerRepoFiles) GetChecksumMd5() string` +`func (o *PackageFile) GetChecksumMd5() string` GetChecksumMd5 returns the ChecksumMd5 field if non-nil, zero value otherwise. ### GetChecksumMd5Ok -`func (o *PackagesOwnerRepoFiles) GetChecksumMd5Ok() (*string, bool)` +`func (o *PackageFile) GetChecksumMd5Ok() (*string, bool)` GetChecksumMd5Ok returns a tuple with the ChecksumMd5 field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetChecksumMd5 -`func (o *PackagesOwnerRepoFiles) SetChecksumMd5(v string)` +`func (o *PackageFile) SetChecksumMd5(v string)` SetChecksumMd5 sets ChecksumMd5 field to given value. ### HasChecksumMd5 -`func (o *PackagesOwnerRepoFiles) HasChecksumMd5() bool` +`func (o *PackageFile) HasChecksumMd5() bool` HasChecksumMd5 returns a boolean if a field has been set. ### GetChecksumSha1 -`func (o *PackagesOwnerRepoFiles) GetChecksumSha1() string` +`func (o *PackageFile) GetChecksumSha1() string` GetChecksumSha1 returns the ChecksumSha1 field if non-nil, zero value otherwise. ### GetChecksumSha1Ok -`func (o *PackagesOwnerRepoFiles) GetChecksumSha1Ok() (*string, bool)` +`func (o *PackageFile) GetChecksumSha1Ok() (*string, bool)` GetChecksumSha1Ok returns a tuple with the ChecksumSha1 field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetChecksumSha1 -`func (o *PackagesOwnerRepoFiles) SetChecksumSha1(v string)` +`func (o *PackageFile) SetChecksumSha1(v string)` SetChecksumSha1 sets ChecksumSha1 field to given value. ### HasChecksumSha1 -`func (o *PackagesOwnerRepoFiles) HasChecksumSha1() bool` +`func (o *PackageFile) HasChecksumSha1() bool` HasChecksumSha1 returns a boolean if a field has been set. ### GetChecksumSha256 -`func (o *PackagesOwnerRepoFiles) GetChecksumSha256() string` +`func (o *PackageFile) GetChecksumSha256() string` GetChecksumSha256 returns the ChecksumSha256 field if non-nil, zero value otherwise. ### GetChecksumSha256Ok -`func (o *PackagesOwnerRepoFiles) GetChecksumSha256Ok() (*string, bool)` +`func (o *PackageFile) GetChecksumSha256Ok() (*string, bool)` GetChecksumSha256Ok returns a tuple with the ChecksumSha256 field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetChecksumSha256 -`func (o *PackagesOwnerRepoFiles) SetChecksumSha256(v string)` +`func (o *PackageFile) SetChecksumSha256(v string)` SetChecksumSha256 sets ChecksumSha256 field to given value. ### HasChecksumSha256 -`func (o *PackagesOwnerRepoFiles) HasChecksumSha256() bool` +`func (o *PackageFile) HasChecksumSha256() bool` HasChecksumSha256 returns a boolean if a field has been set. ### GetChecksumSha512 -`func (o *PackagesOwnerRepoFiles) GetChecksumSha512() string` +`func (o *PackageFile) GetChecksumSha512() string` GetChecksumSha512 returns the ChecksumSha512 field if non-nil, zero value otherwise. ### GetChecksumSha512Ok -`func (o *PackagesOwnerRepoFiles) GetChecksumSha512Ok() (*string, bool)` +`func (o *PackageFile) GetChecksumSha512Ok() (*string, bool)` GetChecksumSha512Ok returns a tuple with the ChecksumSha512 field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetChecksumSha512 -`func (o *PackagesOwnerRepoFiles) SetChecksumSha512(v string)` +`func (o *PackageFile) SetChecksumSha512(v string)` SetChecksumSha512 sets ChecksumSha512 field to given value. ### HasChecksumSha512 -`func (o *PackagesOwnerRepoFiles) HasChecksumSha512() bool` +`func (o *PackageFile) HasChecksumSha512() bool` HasChecksumSha512 returns a boolean if a field has been set. ### GetDownloads -`func (o *PackagesOwnerRepoFiles) GetDownloads() int64` +`func (o *PackageFile) GetDownloads() int64` GetDownloads returns the Downloads field if non-nil, zero value otherwise. ### GetDownloadsOk -`func (o *PackagesOwnerRepoFiles) GetDownloadsOk() (*int64, bool)` +`func (o *PackageFile) GetDownloadsOk() (*int64, bool)` GetDownloadsOk returns a tuple with the Downloads field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetDownloads -`func (o *PackagesOwnerRepoFiles) SetDownloads(v int64)` +`func (o *PackageFile) SetDownloads(v int64)` SetDownloads sets Downloads field to given value. ### HasDownloads -`func (o *PackagesOwnerRepoFiles) HasDownloads() bool` +`func (o *PackageFile) HasDownloads() bool` HasDownloads returns a boolean if a field has been set. ### GetFilename -`func (o *PackagesOwnerRepoFiles) GetFilename() string` +`func (o *PackageFile) GetFilename() string` GetFilename returns the Filename field if non-nil, zero value otherwise. ### GetFilenameOk -`func (o *PackagesOwnerRepoFiles) GetFilenameOk() (*string, bool)` +`func (o *PackageFile) GetFilenameOk() (*string, bool)` GetFilenameOk returns a tuple with the Filename field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetFilename -`func (o *PackagesOwnerRepoFiles) SetFilename(v string)` +`func (o *PackageFile) SetFilename(v string)` SetFilename sets Filename field to given value. ### HasFilename -`func (o *PackagesOwnerRepoFiles) HasFilename() bool` +`func (o *PackageFile) HasFilename() bool` HasFilename returns a boolean if a field has been set. ### GetIsDownloadable -`func (o *PackagesOwnerRepoFiles) GetIsDownloadable() bool` +`func (o *PackageFile) GetIsDownloadable() bool` GetIsDownloadable returns the IsDownloadable field if non-nil, zero value otherwise. ### GetIsDownloadableOk -`func (o *PackagesOwnerRepoFiles) GetIsDownloadableOk() (*bool, bool)` +`func (o *PackageFile) GetIsDownloadableOk() (*bool, bool)` GetIsDownloadableOk returns a tuple with the IsDownloadable field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetIsDownloadable -`func (o *PackagesOwnerRepoFiles) SetIsDownloadable(v bool)` +`func (o *PackageFile) SetIsDownloadable(v bool)` SetIsDownloadable sets IsDownloadable field to given value. ### HasIsDownloadable -`func (o *PackagesOwnerRepoFiles) HasIsDownloadable() bool` +`func (o *PackageFile) HasIsDownloadable() bool` HasIsDownloadable returns a boolean if a field has been set. ### GetIsPrimary -`func (o *PackagesOwnerRepoFiles) GetIsPrimary() bool` +`func (o *PackageFile) GetIsPrimary() bool` GetIsPrimary returns the IsPrimary field if non-nil, zero value otherwise. ### GetIsPrimaryOk -`func (o *PackagesOwnerRepoFiles) GetIsPrimaryOk() (*bool, bool)` +`func (o *PackageFile) GetIsPrimaryOk() (*bool, bool)` GetIsPrimaryOk returns a tuple with the IsPrimary field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetIsPrimary -`func (o *PackagesOwnerRepoFiles) SetIsPrimary(v bool)` +`func (o *PackageFile) SetIsPrimary(v bool)` SetIsPrimary sets IsPrimary field to given value. ### HasIsPrimary -`func (o *PackagesOwnerRepoFiles) HasIsPrimary() bool` +`func (o *PackageFile) HasIsPrimary() bool` HasIsPrimary returns a boolean if a field has been set. ### GetIsSynchronised -`func (o *PackagesOwnerRepoFiles) GetIsSynchronised() bool` +`func (o *PackageFile) GetIsSynchronised() bool` GetIsSynchronised returns the IsSynchronised field if non-nil, zero value otherwise. ### GetIsSynchronisedOk -`func (o *PackagesOwnerRepoFiles) GetIsSynchronisedOk() (*bool, bool)` +`func (o *PackageFile) GetIsSynchronisedOk() (*bool, bool)` GetIsSynchronisedOk returns a tuple with the IsSynchronised field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetIsSynchronised -`func (o *PackagesOwnerRepoFiles) SetIsSynchronised(v bool)` +`func (o *PackageFile) SetIsSynchronised(v bool)` SetIsSynchronised sets IsSynchronised field to given value. ### HasIsSynchronised -`func (o *PackagesOwnerRepoFiles) HasIsSynchronised() bool` +`func (o *PackageFile) HasIsSynchronised() bool` HasIsSynchronised returns a boolean if a field has been set. ### GetSignatureUrl -`func (o *PackagesOwnerRepoFiles) GetSignatureUrl() string` +`func (o *PackageFile) GetSignatureUrl() string` GetSignatureUrl returns the SignatureUrl field if non-nil, zero value otherwise. ### GetSignatureUrlOk -`func (o *PackagesOwnerRepoFiles) GetSignatureUrlOk() (*string, bool)` +`func (o *PackageFile) GetSignatureUrlOk() (*string, bool)` GetSignatureUrlOk returns a tuple with the SignatureUrl field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetSignatureUrl -`func (o *PackagesOwnerRepoFiles) SetSignatureUrl(v string)` +`func (o *PackageFile) SetSignatureUrl(v string)` SetSignatureUrl sets SignatureUrl field to given value. ### HasSignatureUrl -`func (o *PackagesOwnerRepoFiles) HasSignatureUrl() bool` +`func (o *PackageFile) HasSignatureUrl() bool` HasSignatureUrl returns a boolean if a field has been set. +### SetSignatureUrlNil + +`func (o *PackageFile) SetSignatureUrlNil(b bool)` + + SetSignatureUrlNil sets the value for SignatureUrl to be an explicit nil + +### UnsetSignatureUrl +`func (o *PackageFile) UnsetSignatureUrl()` + +UnsetSignatureUrl ensures that no value is present for SignatureUrl, not even an explicit nil ### GetSize -`func (o *PackagesOwnerRepoFiles) GetSize() int64` +`func (o *PackageFile) GetSize() int64` GetSize returns the Size field if non-nil, zero value otherwise. ### GetSizeOk -`func (o *PackagesOwnerRepoFiles) GetSizeOk() (*int64, bool)` +`func (o *PackageFile) GetSizeOk() (*int64, bool)` GetSizeOk returns a tuple with the Size field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetSize -`func (o *PackagesOwnerRepoFiles) SetSize(v int64)` +`func (o *PackageFile) SetSize(v int64)` SetSize sets Size field to given value. ### HasSize -`func (o *PackagesOwnerRepoFiles) HasSize() bool` +`func (o *PackageFile) HasSize() bool` HasSize returns a boolean if a field has been set. ### GetSlugPerm -`func (o *PackagesOwnerRepoFiles) GetSlugPerm() string` +`func (o *PackageFile) GetSlugPerm() string` GetSlugPerm returns the SlugPerm field if non-nil, zero value otherwise. ### GetSlugPermOk -`func (o *PackagesOwnerRepoFiles) GetSlugPermOk() (*string, bool)` +`func (o *PackageFile) GetSlugPermOk() (*string, bool)` GetSlugPermOk returns a tuple with the SlugPerm field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetSlugPerm -`func (o *PackagesOwnerRepoFiles) SetSlugPerm(v string)` +`func (o *PackageFile) SetSlugPerm(v string)` SetSlugPerm sets SlugPerm field to given value. ### HasSlugPerm -`func (o *PackagesOwnerRepoFiles) HasSlugPerm() bool` +`func (o *PackageFile) HasSlugPerm() bool` HasSlugPerm returns a boolean if a field has been set. ### GetTag -`func (o *PackagesOwnerRepoFiles) GetTag() string` +`func (o *PackageFile) GetTag() string` GetTag returns the Tag field if non-nil, zero value otherwise. ### GetTagOk -`func (o *PackagesOwnerRepoFiles) GetTagOk() (*string, bool)` +`func (o *PackageFile) GetTagOk() (*string, bool)` GetTagOk returns a tuple with the Tag field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetTag -`func (o *PackagesOwnerRepoFiles) SetTag(v string)` +`func (o *PackageFile) SetTag(v string)` SetTag sets Tag field to given value. ### HasTag -`func (o *PackagesOwnerRepoFiles) HasTag() bool` +`func (o *PackageFile) HasTag() bool` HasTag returns a boolean if a field has been set. diff --git a/docs/PackageFilePartsUpload.md b/docs/PackageFilePartsUploadResponse.md similarity index 52% rename from docs/PackageFilePartsUpload.md rename to docs/PackageFilePartsUploadResponse.md index 919a8b54..62632539 100644 --- a/docs/PackageFilePartsUpload.md +++ b/docs/PackageFilePartsUploadResponse.md @@ -1,104 +1,114 @@ -# PackageFilePartsUpload +# PackageFilePartsUploadResponse ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**Identifier** | Pointer to **string** | The identifier for the file to use uploading parts. | [optional] -**UploadQuerystring** | Pointer to **string** | The querystring to use for the next-step PUT upload. | [optional] -**UploadUrl** | Pointer to **string** | The URL to use for the next-step PUT upload | [optional] +**Identifier** | Pointer to **string** | The identifier for the file to use uploading parts. | [optional] [readonly] +**UploadQuerystring** | Pointer to **NullableString** | The querystring to use for the next-step PUT upload. | [optional] [readonly] +**UploadUrl** | Pointer to **string** | The URL to use for the next-step PUT upload | [optional] [readonly] ## Methods -### NewPackageFilePartsUpload +### NewPackageFilePartsUploadResponse -`func NewPackageFilePartsUpload() *PackageFilePartsUpload` +`func NewPackageFilePartsUploadResponse() *PackageFilePartsUploadResponse` -NewPackageFilePartsUpload instantiates a new PackageFilePartsUpload object +NewPackageFilePartsUploadResponse instantiates a new PackageFilePartsUploadResponse object 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 -### NewPackageFilePartsUploadWithDefaults +### NewPackageFilePartsUploadResponseWithDefaults -`func NewPackageFilePartsUploadWithDefaults() *PackageFilePartsUpload` +`func NewPackageFilePartsUploadResponseWithDefaults() *PackageFilePartsUploadResponse` -NewPackageFilePartsUploadWithDefaults instantiates a new PackageFilePartsUpload object +NewPackageFilePartsUploadResponseWithDefaults instantiates a new PackageFilePartsUploadResponse object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set ### GetIdentifier -`func (o *PackageFilePartsUpload) GetIdentifier() string` +`func (o *PackageFilePartsUploadResponse) GetIdentifier() string` GetIdentifier returns the Identifier field if non-nil, zero value otherwise. ### GetIdentifierOk -`func (o *PackageFilePartsUpload) GetIdentifierOk() (*string, bool)` +`func (o *PackageFilePartsUploadResponse) GetIdentifierOk() (*string, bool)` GetIdentifierOk returns a tuple with the Identifier field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetIdentifier -`func (o *PackageFilePartsUpload) SetIdentifier(v string)` +`func (o *PackageFilePartsUploadResponse) SetIdentifier(v string)` SetIdentifier sets Identifier field to given value. ### HasIdentifier -`func (o *PackageFilePartsUpload) HasIdentifier() bool` +`func (o *PackageFilePartsUploadResponse) HasIdentifier() bool` HasIdentifier returns a boolean if a field has been set. ### GetUploadQuerystring -`func (o *PackageFilePartsUpload) GetUploadQuerystring() string` +`func (o *PackageFilePartsUploadResponse) GetUploadQuerystring() string` GetUploadQuerystring returns the UploadQuerystring field if non-nil, zero value otherwise. ### GetUploadQuerystringOk -`func (o *PackageFilePartsUpload) GetUploadQuerystringOk() (*string, bool)` +`func (o *PackageFilePartsUploadResponse) GetUploadQuerystringOk() (*string, bool)` GetUploadQuerystringOk returns a tuple with the UploadQuerystring field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetUploadQuerystring -`func (o *PackageFilePartsUpload) SetUploadQuerystring(v string)` +`func (o *PackageFilePartsUploadResponse) SetUploadQuerystring(v string)` SetUploadQuerystring sets UploadQuerystring field to given value. ### HasUploadQuerystring -`func (o *PackageFilePartsUpload) HasUploadQuerystring() bool` +`func (o *PackageFilePartsUploadResponse) HasUploadQuerystring() bool` HasUploadQuerystring returns a boolean if a field has been set. +### SetUploadQuerystringNil + +`func (o *PackageFilePartsUploadResponse) SetUploadQuerystringNil(b bool)` + + SetUploadQuerystringNil sets the value for UploadQuerystring to be an explicit nil + +### UnsetUploadQuerystring +`func (o *PackageFilePartsUploadResponse) UnsetUploadQuerystring()` + +UnsetUploadQuerystring ensures that no value is present for UploadQuerystring, not even an explicit nil ### GetUploadUrl -`func (o *PackageFilePartsUpload) GetUploadUrl() string` +`func (o *PackageFilePartsUploadResponse) GetUploadUrl() string` GetUploadUrl returns the UploadUrl field if non-nil, zero value otherwise. ### GetUploadUrlOk -`func (o *PackageFilePartsUpload) GetUploadUrlOk() (*string, bool)` +`func (o *PackageFilePartsUploadResponse) GetUploadUrlOk() (*string, bool)` GetUploadUrlOk returns a tuple with the UploadUrl field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetUploadUrl -`func (o *PackageFilePartsUpload) SetUploadUrl(v string)` +`func (o *PackageFilePartsUploadResponse) SetUploadUrl(v string)` SetUploadUrl sets UploadUrl field to given value. ### HasUploadUrl -`func (o *PackageFilePartsUpload) HasUploadUrl() bool` +`func (o *PackageFilePartsUploadResponse) HasUploadUrl() bool` HasUploadUrl returns a boolean if a field has been set. diff --git a/docs/FilesCreate.md b/docs/PackageFileUploadRequest.md similarity index 64% rename from docs/FilesCreate.md rename to docs/PackageFileUploadRequest.md index a91b5f62..07305f68 100644 --- a/docs/FilesCreate.md +++ b/docs/PackageFileUploadRequest.md @@ -1,4 +1,4 @@ -# FilesCreate +# PackageFileUploadRequest ## Properties @@ -6,120 +6,120 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **Filename** | **string** | Filename for the package file upload. | **Md5Checksum** | Pointer to **string** | MD5 checksum for a POST-based package file upload. | [optional] -**Method** | Pointer to **string** | The method to use for package file upload. | [optional] +**Method** | Pointer to **string** | The method to use for package file upload. | [optional] [default to "post"] **Sha256Checksum** | Pointer to **string** | SHA256 checksum for a PUT-based package file upload. | [optional] ## Methods -### NewFilesCreate +### NewPackageFileUploadRequest -`func NewFilesCreate(filename string, ) *FilesCreate` +`func NewPackageFileUploadRequest(filename string, ) *PackageFileUploadRequest` -NewFilesCreate instantiates a new FilesCreate object +NewPackageFileUploadRequest instantiates a new PackageFileUploadRequest object 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 -### NewFilesCreateWithDefaults +### NewPackageFileUploadRequestWithDefaults -`func NewFilesCreateWithDefaults() *FilesCreate` +`func NewPackageFileUploadRequestWithDefaults() *PackageFileUploadRequest` -NewFilesCreateWithDefaults instantiates a new FilesCreate object +NewPackageFileUploadRequestWithDefaults instantiates a new PackageFileUploadRequest object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set ### GetFilename -`func (o *FilesCreate) GetFilename() string` +`func (o *PackageFileUploadRequest) GetFilename() string` GetFilename returns the Filename field if non-nil, zero value otherwise. ### GetFilenameOk -`func (o *FilesCreate) GetFilenameOk() (*string, bool)` +`func (o *PackageFileUploadRequest) GetFilenameOk() (*string, bool)` GetFilenameOk returns a tuple with the Filename field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetFilename -`func (o *FilesCreate) SetFilename(v string)` +`func (o *PackageFileUploadRequest) SetFilename(v string)` SetFilename sets Filename field to given value. ### GetMd5Checksum -`func (o *FilesCreate) GetMd5Checksum() string` +`func (o *PackageFileUploadRequest) GetMd5Checksum() string` GetMd5Checksum returns the Md5Checksum field if non-nil, zero value otherwise. ### GetMd5ChecksumOk -`func (o *FilesCreate) GetMd5ChecksumOk() (*string, bool)` +`func (o *PackageFileUploadRequest) GetMd5ChecksumOk() (*string, bool)` GetMd5ChecksumOk returns a tuple with the Md5Checksum field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetMd5Checksum -`func (o *FilesCreate) SetMd5Checksum(v string)` +`func (o *PackageFileUploadRequest) SetMd5Checksum(v string)` SetMd5Checksum sets Md5Checksum field to given value. ### HasMd5Checksum -`func (o *FilesCreate) HasMd5Checksum() bool` +`func (o *PackageFileUploadRequest) HasMd5Checksum() bool` HasMd5Checksum returns a boolean if a field has been set. ### GetMethod -`func (o *FilesCreate) GetMethod() string` +`func (o *PackageFileUploadRequest) GetMethod() string` GetMethod returns the Method field if non-nil, zero value otherwise. ### GetMethodOk -`func (o *FilesCreate) GetMethodOk() (*string, bool)` +`func (o *PackageFileUploadRequest) GetMethodOk() (*string, bool)` GetMethodOk returns a tuple with the Method field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetMethod -`func (o *FilesCreate) SetMethod(v string)` +`func (o *PackageFileUploadRequest) SetMethod(v string)` SetMethod sets Method field to given value. ### HasMethod -`func (o *FilesCreate) HasMethod() bool` +`func (o *PackageFileUploadRequest) HasMethod() bool` HasMethod returns a boolean if a field has been set. ### GetSha256Checksum -`func (o *FilesCreate) GetSha256Checksum() string` +`func (o *PackageFileUploadRequest) GetSha256Checksum() string` GetSha256Checksum returns the Sha256Checksum field if non-nil, zero value otherwise. ### GetSha256ChecksumOk -`func (o *FilesCreate) GetSha256ChecksumOk() (*string, bool)` +`func (o *PackageFileUploadRequest) GetSha256ChecksumOk() (*string, bool)` GetSha256ChecksumOk returns a tuple with the Sha256Checksum field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetSha256Checksum -`func (o *FilesCreate) SetSha256Checksum(v string)` +`func (o *PackageFileUploadRequest) SetSha256Checksum(v string)` SetSha256Checksum sets Sha256Checksum field to given value. ### HasSha256Checksum -`func (o *FilesCreate) HasSha256Checksum() bool` +`func (o *PackageFileUploadRequest) HasSha256Checksum() bool` HasSha256Checksum returns a boolean if a field has been set. diff --git a/docs/PackageFileUpload.md b/docs/PackageFileUploadResponse.md similarity index 50% rename from docs/PackageFileUpload.md rename to docs/PackageFileUploadResponse.md index 6ba0bc6d..bb4fe532 100644 --- a/docs/PackageFileUpload.md +++ b/docs/PackageFileUploadResponse.md @@ -1,156 +1,186 @@ -# PackageFileUpload +# PackageFileUploadResponse ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**Identifier** | Pointer to **string** | The identifier for the file to use when creating packages | [optional] -**UploadFields** | Pointer to **map[string]interface{}** | The dictionary of fields that must be sent with POST uploads | [optional] -**UploadHeaders** | Pointer to **map[string]interface{}** | The dictionary of headers that must be sent with uploads | [optional] -**UploadQuerystring** | Pointer to **string** | The querystring to use for the next-step POST or PUT upload | [optional] -**UploadUrl** | Pointer to **string** | The URL to use for the next-step POST or PUT upload | [optional] +**Identifier** | Pointer to **string** | The identifier for the file to use when creating packages | [optional] [readonly] +**UploadFields** | Pointer to **map[string]interface{}** | The dictionary of fields that must be sent with POST uploads | [optional] [readonly] +**UploadHeaders** | Pointer to **map[string]interface{}** | The dictionary of headers that must be sent with uploads | [optional] [readonly] +**UploadQuerystring** | Pointer to **NullableString** | The querystring to use for the next-step POST or PUT upload | [optional] [readonly] +**UploadUrl** | Pointer to **string** | The URL to use for the next-step POST or PUT upload | [optional] [readonly] ## Methods -### NewPackageFileUpload +### NewPackageFileUploadResponse -`func NewPackageFileUpload() *PackageFileUpload` +`func NewPackageFileUploadResponse() *PackageFileUploadResponse` -NewPackageFileUpload instantiates a new PackageFileUpload object +NewPackageFileUploadResponse instantiates a new PackageFileUploadResponse object 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 -### NewPackageFileUploadWithDefaults +### NewPackageFileUploadResponseWithDefaults -`func NewPackageFileUploadWithDefaults() *PackageFileUpload` +`func NewPackageFileUploadResponseWithDefaults() *PackageFileUploadResponse` -NewPackageFileUploadWithDefaults instantiates a new PackageFileUpload object +NewPackageFileUploadResponseWithDefaults instantiates a new PackageFileUploadResponse object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set ### GetIdentifier -`func (o *PackageFileUpload) GetIdentifier() string` +`func (o *PackageFileUploadResponse) GetIdentifier() string` GetIdentifier returns the Identifier field if non-nil, zero value otherwise. ### GetIdentifierOk -`func (o *PackageFileUpload) GetIdentifierOk() (*string, bool)` +`func (o *PackageFileUploadResponse) GetIdentifierOk() (*string, bool)` GetIdentifierOk returns a tuple with the Identifier field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetIdentifier -`func (o *PackageFileUpload) SetIdentifier(v string)` +`func (o *PackageFileUploadResponse) SetIdentifier(v string)` SetIdentifier sets Identifier field to given value. ### HasIdentifier -`func (o *PackageFileUpload) HasIdentifier() bool` +`func (o *PackageFileUploadResponse) HasIdentifier() bool` HasIdentifier returns a boolean if a field has been set. ### GetUploadFields -`func (o *PackageFileUpload) GetUploadFields() map[string]interface{}` +`func (o *PackageFileUploadResponse) GetUploadFields() map[string]interface{}` GetUploadFields returns the UploadFields field if non-nil, zero value otherwise. ### GetUploadFieldsOk -`func (o *PackageFileUpload) GetUploadFieldsOk() (*map[string]interface{}, bool)` +`func (o *PackageFileUploadResponse) GetUploadFieldsOk() (*map[string]interface{}, bool)` GetUploadFieldsOk returns a tuple with the UploadFields field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetUploadFields -`func (o *PackageFileUpload) SetUploadFields(v map[string]interface{})` +`func (o *PackageFileUploadResponse) SetUploadFields(v map[string]interface{})` SetUploadFields sets UploadFields field to given value. ### HasUploadFields -`func (o *PackageFileUpload) HasUploadFields() bool` +`func (o *PackageFileUploadResponse) HasUploadFields() bool` HasUploadFields returns a boolean if a field has been set. +### SetUploadFieldsNil + +`func (o *PackageFileUploadResponse) SetUploadFieldsNil(b bool)` + + SetUploadFieldsNil sets the value for UploadFields to be an explicit nil + +### UnsetUploadFields +`func (o *PackageFileUploadResponse) UnsetUploadFields()` + +UnsetUploadFields ensures that no value is present for UploadFields, not even an explicit nil ### GetUploadHeaders -`func (o *PackageFileUpload) GetUploadHeaders() map[string]interface{}` +`func (o *PackageFileUploadResponse) GetUploadHeaders() map[string]interface{}` GetUploadHeaders returns the UploadHeaders field if non-nil, zero value otherwise. ### GetUploadHeadersOk -`func (o *PackageFileUpload) GetUploadHeadersOk() (*map[string]interface{}, bool)` +`func (o *PackageFileUploadResponse) GetUploadHeadersOk() (*map[string]interface{}, bool)` GetUploadHeadersOk returns a tuple with the UploadHeaders field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetUploadHeaders -`func (o *PackageFileUpload) SetUploadHeaders(v map[string]interface{})` +`func (o *PackageFileUploadResponse) SetUploadHeaders(v map[string]interface{})` SetUploadHeaders sets UploadHeaders field to given value. ### HasUploadHeaders -`func (o *PackageFileUpload) HasUploadHeaders() bool` +`func (o *PackageFileUploadResponse) HasUploadHeaders() bool` HasUploadHeaders returns a boolean if a field has been set. +### SetUploadHeadersNil + +`func (o *PackageFileUploadResponse) SetUploadHeadersNil(b bool)` + + SetUploadHeadersNil sets the value for UploadHeaders to be an explicit nil + +### UnsetUploadHeaders +`func (o *PackageFileUploadResponse) UnsetUploadHeaders()` + +UnsetUploadHeaders ensures that no value is present for UploadHeaders, not even an explicit nil ### GetUploadQuerystring -`func (o *PackageFileUpload) GetUploadQuerystring() string` +`func (o *PackageFileUploadResponse) GetUploadQuerystring() string` GetUploadQuerystring returns the UploadQuerystring field if non-nil, zero value otherwise. ### GetUploadQuerystringOk -`func (o *PackageFileUpload) GetUploadQuerystringOk() (*string, bool)` +`func (o *PackageFileUploadResponse) GetUploadQuerystringOk() (*string, bool)` GetUploadQuerystringOk returns a tuple with the UploadQuerystring field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetUploadQuerystring -`func (o *PackageFileUpload) SetUploadQuerystring(v string)` +`func (o *PackageFileUploadResponse) SetUploadQuerystring(v string)` SetUploadQuerystring sets UploadQuerystring field to given value. ### HasUploadQuerystring -`func (o *PackageFileUpload) HasUploadQuerystring() bool` +`func (o *PackageFileUploadResponse) HasUploadQuerystring() bool` HasUploadQuerystring returns a boolean if a field has been set. +### SetUploadQuerystringNil + +`func (o *PackageFileUploadResponse) SetUploadQuerystringNil(b bool)` + + SetUploadQuerystringNil sets the value for UploadQuerystring to be an explicit nil + +### UnsetUploadQuerystring +`func (o *PackageFileUploadResponse) UnsetUploadQuerystring()` + +UnsetUploadQuerystring ensures that no value is present for UploadQuerystring, not even an explicit nil ### GetUploadUrl -`func (o *PackageFileUpload) GetUploadUrl() string` +`func (o *PackageFileUploadResponse) GetUploadUrl() string` GetUploadUrl returns the UploadUrl field if non-nil, zero value otherwise. ### GetUploadUrlOk -`func (o *PackageFileUpload) GetUploadUrlOk() (*string, bool)` +`func (o *PackageFileUploadResponse) GetUploadUrlOk() (*string, bool)` GetUploadUrlOk returns a tuple with the UploadUrl field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetUploadUrl -`func (o *PackageFileUpload) SetUploadUrl(v string)` +`func (o *PackageFileUploadResponse) SetUploadUrl(v string)` SetUploadUrl sets UploadUrl field to given value. ### HasUploadUrl -`func (o *PackageFileUpload) HasUploadUrl() bool` +`func (o *PackageFileUploadResponse) HasUploadUrl() bool` HasUploadUrl returns a boolean if a field has been set. diff --git a/docs/PackagesMove.md b/docs/PackageMoveRequest.md similarity index 63% rename from docs/PackagesMove.md rename to docs/PackageMoveRequest.md index e68184cc..edf57b32 100644 --- a/docs/PackagesMove.md +++ b/docs/PackageMoveRequest.md @@ -1,46 +1,46 @@ -# PackagesMove +# PackageMoveRequest ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**Destination** | **string** | None | +**Destination** | **string** | | ## Methods -### NewPackagesMove +### NewPackageMoveRequest -`func NewPackagesMove(destination string, ) *PackagesMove` +`func NewPackageMoveRequest(destination string, ) *PackageMoveRequest` -NewPackagesMove instantiates a new PackagesMove object +NewPackageMoveRequest instantiates a new PackageMoveRequest object 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 -### NewPackagesMoveWithDefaults +### NewPackageMoveRequestWithDefaults -`func NewPackagesMoveWithDefaults() *PackagesMove` +`func NewPackageMoveRequestWithDefaults() *PackageMoveRequest` -NewPackagesMoveWithDefaults instantiates a new PackagesMove object +NewPackageMoveRequestWithDefaults instantiates a new PackageMoveRequest object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set ### GetDestination -`func (o *PackagesMove) GetDestination() string` +`func (o *PackageMoveRequest) GetDestination() string` GetDestination returns the Destination field if non-nil, zero value otherwise. ### GetDestinationOk -`func (o *PackagesMove) GetDestinationOk() (*string, bool)` +`func (o *PackageMoveRequest) GetDestinationOk() (*string, bool)` GetDestinationOk returns a tuple with the Destination field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetDestination -`func (o *PackagesMove) SetDestination(v string)` +`func (o *PackageMoveRequest) SetDestination(v string)` SetDestination sets Destination field to given value. diff --git a/docs/PackageResync.md b/docs/PackageMoveResponse.md similarity index 56% rename from docs/PackageResync.md rename to docs/PackageMoveResponse.md index 02359626..fc47c68f 100644 --- a/docs/PackageResync.md +++ b/docs/PackageMoveResponse.md @@ -1,1768 +1,1860 @@ -# PackageResync +# PackageMoveResponse ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**Architectures** | Pointer to [**[]PackagesOwnerRepoArchitectures**](PackagesOwnerRepoArchitectures.md) | | [optional] -**CdnUrl** | Pointer to **string** | | [optional] -**ChecksumMd5** | Pointer to **string** | | [optional] -**ChecksumSha1** | Pointer to **string** | | [optional] -**ChecksumSha256** | Pointer to **string** | | [optional] -**ChecksumSha512** | Pointer to **string** | | [optional] -**DependenciesChecksumMd5** | Pointer to **string** | A checksum of all of the package's dependencies. | [optional] -**DependenciesUrl** | Pointer to **string** | | [optional] -**Description** | Pointer to **string** | A textual description of this package. | [optional] -**Distro** | Pointer to **map[string]interface{}** | | [optional] -**DistroVersion** | Pointer to **map[string]interface{}** | | [optional] -**Downloads** | Pointer to **int64** | | [optional] -**Epoch** | Pointer to **int64** | The epoch of the package version (if any). | [optional] -**Extension** | Pointer to **string** | | [optional] -**Filename** | Pointer to **string** | | [optional] -**Files** | Pointer to [**[]PackagesOwnerRepoFiles**](PackagesOwnerRepoFiles.md) | | [optional] -**Format** | Pointer to **string** | | [optional] -**FormatUrl** | Pointer to **string** | | [optional] -**IdentifierPerm** | Pointer to **string** | Unique and permanent identifier for the package. | [optional] -**Indexed** | Pointer to **bool** | | [optional] -**IsDownloadable** | Pointer to **bool** | | [optional] -**IsQuarantined** | Pointer to **bool** | | [optional] -**IsSyncAwaiting** | Pointer to **bool** | | [optional] -**IsSyncCompleted** | Pointer to **bool** | | [optional] -**IsSyncFailed** | Pointer to **bool** | | [optional] -**IsSyncInFlight** | Pointer to **bool** | | [optional] -**IsSyncInProgress** | Pointer to **bool** | | [optional] -**License** | Pointer to **string** | The license of this package. | [optional] -**Name** | Pointer to **string** | The name of this package. | [optional] -**Namespace** | Pointer to **string** | | [optional] -**NamespaceUrl** | Pointer to **string** | | [optional] -**NumFiles** | Pointer to **int64** | | [optional] -**PackageType** | Pointer to **int64** | The type of package contents. | [optional] -**Release** | Pointer to **string** | The release of the package version (if any). | [optional] -**Repository** | Pointer to **string** | | [optional] -**RepositoryUrl** | Pointer to **string** | | [optional] -**SecurityScanCompletedAt** | Pointer to **string** | The datetime the security scanning was completed. | [optional] -**SecurityScanStartedAt** | Pointer to **string** | The datetime the security scanning was started. | [optional] -**SecurityScanStatus** | Pointer to **string** | | [optional] -**SecurityScanStatusUpdatedAt** | Pointer to **string** | The datetime the security scanning status was updated. | [optional] -**SelfHtmlUrl** | Pointer to **string** | | [optional] -**SelfUrl** | Pointer to **string** | | [optional] -**SignatureUrl** | Pointer to **string** | | [optional] -**Size** | Pointer to **int64** | The calculated size of the package. | [optional] -**Slug** | Pointer to **string** | The public unique identifier for the package. | [optional] -**SlugPerm** | Pointer to **string** | | [optional] -**Stage** | Pointer to **int64** | The synchronisation (in progress) stage of the package. | [optional] -**StageStr** | Pointer to **string** | | [optional] -**StageUpdatedAt** | Pointer to **string** | The datetime the package stage was updated at. | [optional] -**Status** | Pointer to **int64** | The synchronisation status of the package. | [optional] -**StatusReason** | Pointer to **string** | A textual description for the synchronous status reason (if any | [optional] -**StatusStr** | Pointer to **string** | | [optional] -**StatusUpdatedAt** | Pointer to **string** | The datetime the package status was updated at. | [optional] -**StatusUrl** | Pointer to **string** | | [optional] -**Subtype** | Pointer to **string** | | [optional] -**Summary** | Pointer to **string** | A one-liner synopsis of this package. | [optional] -**SyncFinishedAt** | Pointer to **string** | The datetime the package sync was finished at. | [optional] -**SyncProgress** | Pointer to **int64** | Synchronisation progress (from 0-100) | [optional] +**Architectures** | Pointer to [**[]Architecture**](Architecture.md) | | [optional] [readonly] +**CdnUrl** | Pointer to **NullableString** | | [optional] [readonly] +**ChecksumMd5** | Pointer to **string** | | [optional] [readonly] +**ChecksumSha1** | Pointer to **string** | | [optional] [readonly] +**ChecksumSha256** | Pointer to **string** | | [optional] [readonly] +**ChecksumSha512** | Pointer to **string** | | [optional] [readonly] +**DependenciesChecksumMd5** | Pointer to **string** | A checksum of all of the package's dependencies. | [optional] [readonly] +**DependenciesUrl** | Pointer to **string** | | [optional] [readonly] +**Description** | Pointer to **string** | A textual description of this package. | [optional] [readonly] +**Distro** | Pointer to [**NullableDistribution**](Distribution.md) | | [optional] +**DistroVersion** | Pointer to [**DistributionVersion**](DistributionVersion.md) | | [optional] +**Downloads** | Pointer to **int64** | | [optional] [readonly] +**Epoch** | Pointer to **int64** | The epoch of the package version (if any). | [optional] [readonly] +**Extension** | Pointer to **string** | | [optional] [readonly] +**Filename** | Pointer to **string** | | [optional] [readonly] +**Files** | Pointer to [**[]PackageFile**](PackageFile.md) | | [optional] [readonly] +**Format** | Pointer to **string** | | [optional] [readonly] +**FormatUrl** | Pointer to **string** | | [optional] [readonly] +**IdentifierPerm** | Pointer to **string** | Unique and permanent identifier for the package. | [optional] [readonly] +**Indexed** | Pointer to **bool** | | [optional] [readonly] +**IsDownloadable** | Pointer to **bool** | | [optional] [readonly] +**IsQuarantined** | Pointer to **bool** | | [optional] [readonly] +**IsSyncAwaiting** | Pointer to **bool** | | [optional] [readonly] +**IsSyncCompleted** | Pointer to **bool** | | [optional] [readonly] +**IsSyncFailed** | Pointer to **bool** | | [optional] [readonly] +**IsSyncInFlight** | Pointer to **bool** | | [optional] [readonly] +**IsSyncInProgress** | Pointer to **bool** | | [optional] [readonly] +**License** | Pointer to **string** | The license of this package. | [optional] [readonly] +**Name** | Pointer to **string** | The name of this package. | [optional] [readonly] +**Namespace** | Pointer to **string** | | [optional] [readonly] +**NamespaceUrl** | Pointer to **string** | | [optional] [readonly] +**NumFiles** | Pointer to **int64** | | [optional] [readonly] +**OriginRepository** | Pointer to **string** | | [optional] [readonly] +**OriginRepositoryUrl** | Pointer to **string** | | [optional] [readonly] +**PackageType** | Pointer to **int64** | The type of package contents. | [optional] [readonly] +**Release** | Pointer to **string** | The release of the package version (if any). | [optional] [readonly] +**Repository** | Pointer to **string** | The repository the package will be moved to. | [optional] [readonly] +**RepositoryUrl** | Pointer to **string** | | [optional] [readonly] +**SecurityScanCompletedAt** | Pointer to **time.Time** | The datetime the security scanning was completed. | [optional] [readonly] +**SecurityScanStartedAt** | Pointer to **time.Time** | The datetime the security scanning was started. | [optional] [readonly] +**SecurityScanStatus** | Pointer to **NullableString** | | [optional] [readonly] [default to "Awaiting Security Scan"] +**SecurityScanStatusUpdatedAt** | Pointer to **time.Time** | The datetime the security scanning status was updated. | [optional] [readonly] +**SelfHtmlUrl** | Pointer to **string** | | [optional] [readonly] +**SelfUrl** | Pointer to **string** | | [optional] [readonly] +**SignatureUrl** | Pointer to **NullableString** | | [optional] [readonly] +**Size** | Pointer to **int64** | The calculated size of the package. | [optional] [readonly] +**Slug** | Pointer to **string** | The public unique identifier for the package. | [optional] [readonly] +**SlugPerm** | Pointer to **string** | | [optional] [readonly] +**Stage** | Pointer to **int64** | The synchronisation (in progress) stage of the package. | [optional] [readonly] +**StageStr** | Pointer to **string** | | [optional] [readonly] +**StageUpdatedAt** | Pointer to **time.Time** | The datetime the package stage was updated at. | [optional] [readonly] +**Status** | Pointer to **int64** | The synchronisation status of the package. | [optional] [readonly] +**StatusReason** | Pointer to **string** | A textual description for the synchronous status reason (if any | [optional] [readonly] +**StatusStr** | Pointer to **string** | | [optional] [readonly] +**StatusUpdatedAt** | Pointer to **time.Time** | The datetime the package status was updated at. | [optional] [readonly] +**StatusUrl** | Pointer to **string** | | [optional] [readonly] +**Subtype** | Pointer to **string** | | [optional] [readonly] +**Summary** | Pointer to **string** | A one-liner synopsis of this package. | [optional] [readonly] +**SyncFinishedAt** | Pointer to **time.Time** | The datetime the package sync was finished at. | [optional] [readonly] +**SyncProgress** | Pointer to **int64** | Synchronisation progress (from 0-100) | [optional] [readonly] **Tags** | Pointer to **map[string]interface{}** | All tags on the package, grouped by tag type. This includes immutable tags, but doesn't distinguish them from mutable. To see which tags are immutable specifically, see the tags_immutable field. | [optional] -**TagsImmutable** | Pointer to **map[string]interface{}** | All immutable tags on the package, grouped by tag type. Immutable tags cannot be (easily) deleted. | [optional] -**TypeDisplay** | Pointer to **string** | | [optional] -**UploadedAt** | Pointer to **string** | The date this package was uploaded. | [optional] -**Uploader** | Pointer to **string** | | [optional] -**UploaderUrl** | Pointer to **string** | | [optional] -**Version** | Pointer to **string** | The raw version for this package. | [optional] -**VersionOrig** | Pointer to **string** | | [optional] -**VulnerabilityScanResultsUrl** | Pointer to **string** | | [optional] +**TagsImmutable** | Pointer to **map[string]interface{}** | All tags on the package, grouped by tag type. This includes immutable tags, but doesn't distinguish them from mutable. To see which tags are immutable specifically, see the tags_immutable field. | [optional] +**TypeDisplay** | Pointer to **string** | | [optional] [readonly] +**UploadedAt** | Pointer to **time.Time** | The date this package was uploaded. | [optional] [readonly] +**Uploader** | Pointer to **string** | | [optional] [readonly] +**UploaderUrl** | Pointer to **string** | | [optional] [readonly] +**Version** | Pointer to **string** | The raw version for this package. | [optional] [readonly] +**VersionOrig** | Pointer to **string** | | [optional] [readonly] +**VulnerabilityScanResultsUrl** | Pointer to **string** | | [optional] [readonly] ## Methods -### NewPackageResync +### NewPackageMoveResponse -`func NewPackageResync() *PackageResync` +`func NewPackageMoveResponse() *PackageMoveResponse` -NewPackageResync instantiates a new PackageResync object +NewPackageMoveResponse instantiates a new PackageMoveResponse object 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 -### NewPackageResyncWithDefaults +### NewPackageMoveResponseWithDefaults -`func NewPackageResyncWithDefaults() *PackageResync` +`func NewPackageMoveResponseWithDefaults() *PackageMoveResponse` -NewPackageResyncWithDefaults instantiates a new PackageResync object +NewPackageMoveResponseWithDefaults instantiates a new PackageMoveResponse object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set ### GetArchitectures -`func (o *PackageResync) GetArchitectures() []PackagesOwnerRepoArchitectures` +`func (o *PackageMoveResponse) GetArchitectures() []Architecture` GetArchitectures returns the Architectures field if non-nil, zero value otherwise. ### GetArchitecturesOk -`func (o *PackageResync) GetArchitecturesOk() (*[]PackagesOwnerRepoArchitectures, bool)` +`func (o *PackageMoveResponse) GetArchitecturesOk() (*[]Architecture, bool)` GetArchitecturesOk returns a tuple with the Architectures field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetArchitectures -`func (o *PackageResync) SetArchitectures(v []PackagesOwnerRepoArchitectures)` +`func (o *PackageMoveResponse) SetArchitectures(v []Architecture)` SetArchitectures sets Architectures field to given value. ### HasArchitectures -`func (o *PackageResync) HasArchitectures() bool` +`func (o *PackageMoveResponse) HasArchitectures() bool` HasArchitectures returns a boolean if a field has been set. ### GetCdnUrl -`func (o *PackageResync) GetCdnUrl() string` +`func (o *PackageMoveResponse) GetCdnUrl() string` GetCdnUrl returns the CdnUrl field if non-nil, zero value otherwise. ### GetCdnUrlOk -`func (o *PackageResync) GetCdnUrlOk() (*string, bool)` +`func (o *PackageMoveResponse) GetCdnUrlOk() (*string, bool)` GetCdnUrlOk returns a tuple with the CdnUrl field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetCdnUrl -`func (o *PackageResync) SetCdnUrl(v string)` +`func (o *PackageMoveResponse) SetCdnUrl(v string)` SetCdnUrl sets CdnUrl field to given value. ### HasCdnUrl -`func (o *PackageResync) HasCdnUrl() bool` +`func (o *PackageMoveResponse) HasCdnUrl() bool` HasCdnUrl returns a boolean if a field has been set. +### SetCdnUrlNil + +`func (o *PackageMoveResponse) SetCdnUrlNil(b bool)` + + SetCdnUrlNil sets the value for CdnUrl to be an explicit nil + +### UnsetCdnUrl +`func (o *PackageMoveResponse) UnsetCdnUrl()` + +UnsetCdnUrl ensures that no value is present for CdnUrl, not even an explicit nil ### GetChecksumMd5 -`func (o *PackageResync) GetChecksumMd5() string` +`func (o *PackageMoveResponse) GetChecksumMd5() string` GetChecksumMd5 returns the ChecksumMd5 field if non-nil, zero value otherwise. ### GetChecksumMd5Ok -`func (o *PackageResync) GetChecksumMd5Ok() (*string, bool)` +`func (o *PackageMoveResponse) GetChecksumMd5Ok() (*string, bool)` GetChecksumMd5Ok returns a tuple with the ChecksumMd5 field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetChecksumMd5 -`func (o *PackageResync) SetChecksumMd5(v string)` +`func (o *PackageMoveResponse) SetChecksumMd5(v string)` SetChecksumMd5 sets ChecksumMd5 field to given value. ### HasChecksumMd5 -`func (o *PackageResync) HasChecksumMd5() bool` +`func (o *PackageMoveResponse) HasChecksumMd5() bool` HasChecksumMd5 returns a boolean if a field has been set. ### GetChecksumSha1 -`func (o *PackageResync) GetChecksumSha1() string` +`func (o *PackageMoveResponse) GetChecksumSha1() string` GetChecksumSha1 returns the ChecksumSha1 field if non-nil, zero value otherwise. ### GetChecksumSha1Ok -`func (o *PackageResync) GetChecksumSha1Ok() (*string, bool)` +`func (o *PackageMoveResponse) GetChecksumSha1Ok() (*string, bool)` GetChecksumSha1Ok returns a tuple with the ChecksumSha1 field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetChecksumSha1 -`func (o *PackageResync) SetChecksumSha1(v string)` +`func (o *PackageMoveResponse) SetChecksumSha1(v string)` SetChecksumSha1 sets ChecksumSha1 field to given value. ### HasChecksumSha1 -`func (o *PackageResync) HasChecksumSha1() bool` +`func (o *PackageMoveResponse) HasChecksumSha1() bool` HasChecksumSha1 returns a boolean if a field has been set. ### GetChecksumSha256 -`func (o *PackageResync) GetChecksumSha256() string` +`func (o *PackageMoveResponse) GetChecksumSha256() string` GetChecksumSha256 returns the ChecksumSha256 field if non-nil, zero value otherwise. ### GetChecksumSha256Ok -`func (o *PackageResync) GetChecksumSha256Ok() (*string, bool)` +`func (o *PackageMoveResponse) GetChecksumSha256Ok() (*string, bool)` GetChecksumSha256Ok returns a tuple with the ChecksumSha256 field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetChecksumSha256 -`func (o *PackageResync) SetChecksumSha256(v string)` +`func (o *PackageMoveResponse) SetChecksumSha256(v string)` SetChecksumSha256 sets ChecksumSha256 field to given value. ### HasChecksumSha256 -`func (o *PackageResync) HasChecksumSha256() bool` +`func (o *PackageMoveResponse) HasChecksumSha256() bool` HasChecksumSha256 returns a boolean if a field has been set. ### GetChecksumSha512 -`func (o *PackageResync) GetChecksumSha512() string` +`func (o *PackageMoveResponse) GetChecksumSha512() string` GetChecksumSha512 returns the ChecksumSha512 field if non-nil, zero value otherwise. ### GetChecksumSha512Ok -`func (o *PackageResync) GetChecksumSha512Ok() (*string, bool)` +`func (o *PackageMoveResponse) GetChecksumSha512Ok() (*string, bool)` GetChecksumSha512Ok returns a tuple with the ChecksumSha512 field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetChecksumSha512 -`func (o *PackageResync) SetChecksumSha512(v string)` +`func (o *PackageMoveResponse) SetChecksumSha512(v string)` SetChecksumSha512 sets ChecksumSha512 field to given value. ### HasChecksumSha512 -`func (o *PackageResync) HasChecksumSha512() bool` +`func (o *PackageMoveResponse) HasChecksumSha512() bool` HasChecksumSha512 returns a boolean if a field has been set. ### GetDependenciesChecksumMd5 -`func (o *PackageResync) GetDependenciesChecksumMd5() string` +`func (o *PackageMoveResponse) GetDependenciesChecksumMd5() string` GetDependenciesChecksumMd5 returns the DependenciesChecksumMd5 field if non-nil, zero value otherwise. ### GetDependenciesChecksumMd5Ok -`func (o *PackageResync) GetDependenciesChecksumMd5Ok() (*string, bool)` +`func (o *PackageMoveResponse) GetDependenciesChecksumMd5Ok() (*string, bool)` GetDependenciesChecksumMd5Ok returns a tuple with the DependenciesChecksumMd5 field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetDependenciesChecksumMd5 -`func (o *PackageResync) SetDependenciesChecksumMd5(v string)` +`func (o *PackageMoveResponse) SetDependenciesChecksumMd5(v string)` SetDependenciesChecksumMd5 sets DependenciesChecksumMd5 field to given value. ### HasDependenciesChecksumMd5 -`func (o *PackageResync) HasDependenciesChecksumMd5() bool` +`func (o *PackageMoveResponse) HasDependenciesChecksumMd5() bool` HasDependenciesChecksumMd5 returns a boolean if a field has been set. ### GetDependenciesUrl -`func (o *PackageResync) GetDependenciesUrl() string` +`func (o *PackageMoveResponse) GetDependenciesUrl() string` GetDependenciesUrl returns the DependenciesUrl field if non-nil, zero value otherwise. ### GetDependenciesUrlOk -`func (o *PackageResync) GetDependenciesUrlOk() (*string, bool)` +`func (o *PackageMoveResponse) GetDependenciesUrlOk() (*string, bool)` GetDependenciesUrlOk returns a tuple with the DependenciesUrl field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetDependenciesUrl -`func (o *PackageResync) SetDependenciesUrl(v string)` +`func (o *PackageMoveResponse) SetDependenciesUrl(v string)` SetDependenciesUrl sets DependenciesUrl field to given value. ### HasDependenciesUrl -`func (o *PackageResync) HasDependenciesUrl() bool` +`func (o *PackageMoveResponse) HasDependenciesUrl() bool` HasDependenciesUrl returns a boolean if a field has been set. ### GetDescription -`func (o *PackageResync) GetDescription() string` +`func (o *PackageMoveResponse) GetDescription() string` GetDescription returns the Description field if non-nil, zero value otherwise. ### GetDescriptionOk -`func (o *PackageResync) GetDescriptionOk() (*string, bool)` +`func (o *PackageMoveResponse) GetDescriptionOk() (*string, bool)` GetDescriptionOk returns a tuple with the Description field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetDescription -`func (o *PackageResync) SetDescription(v string)` +`func (o *PackageMoveResponse) SetDescription(v string)` SetDescription sets Description field to given value. ### HasDescription -`func (o *PackageResync) HasDescription() bool` +`func (o *PackageMoveResponse) HasDescription() bool` HasDescription returns a boolean if a field has been set. ### GetDistro -`func (o *PackageResync) GetDistro() map[string]interface{}` +`func (o *PackageMoveResponse) GetDistro() Distribution` GetDistro returns the Distro field if non-nil, zero value otherwise. ### GetDistroOk -`func (o *PackageResync) GetDistroOk() (*map[string]interface{}, bool)` +`func (o *PackageMoveResponse) GetDistroOk() (*Distribution, bool)` GetDistroOk returns a tuple with the Distro field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetDistro -`func (o *PackageResync) SetDistro(v map[string]interface{})` +`func (o *PackageMoveResponse) SetDistro(v Distribution)` SetDistro sets Distro field to given value. ### HasDistro -`func (o *PackageResync) HasDistro() bool` +`func (o *PackageMoveResponse) HasDistro() bool` HasDistro returns a boolean if a field has been set. +### SetDistroNil + +`func (o *PackageMoveResponse) SetDistroNil(b bool)` + + SetDistroNil sets the value for Distro to be an explicit nil + +### UnsetDistro +`func (o *PackageMoveResponse) UnsetDistro()` + +UnsetDistro ensures that no value is present for Distro, not even an explicit nil ### GetDistroVersion -`func (o *PackageResync) GetDistroVersion() map[string]interface{}` +`func (o *PackageMoveResponse) GetDistroVersion() DistributionVersion` GetDistroVersion returns the DistroVersion field if non-nil, zero value otherwise. ### GetDistroVersionOk -`func (o *PackageResync) GetDistroVersionOk() (*map[string]interface{}, bool)` +`func (o *PackageMoveResponse) GetDistroVersionOk() (*DistributionVersion, bool)` GetDistroVersionOk returns a tuple with the DistroVersion field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetDistroVersion -`func (o *PackageResync) SetDistroVersion(v map[string]interface{})` +`func (o *PackageMoveResponse) SetDistroVersion(v DistributionVersion)` SetDistroVersion sets DistroVersion field to given value. ### HasDistroVersion -`func (o *PackageResync) HasDistroVersion() bool` +`func (o *PackageMoveResponse) HasDistroVersion() bool` HasDistroVersion returns a boolean if a field has been set. ### GetDownloads -`func (o *PackageResync) GetDownloads() int64` +`func (o *PackageMoveResponse) GetDownloads() int64` GetDownloads returns the Downloads field if non-nil, zero value otherwise. ### GetDownloadsOk -`func (o *PackageResync) GetDownloadsOk() (*int64, bool)` +`func (o *PackageMoveResponse) GetDownloadsOk() (*int64, bool)` GetDownloadsOk returns a tuple with the Downloads field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetDownloads -`func (o *PackageResync) SetDownloads(v int64)` +`func (o *PackageMoveResponse) SetDownloads(v int64)` SetDownloads sets Downloads field to given value. ### HasDownloads -`func (o *PackageResync) HasDownloads() bool` +`func (o *PackageMoveResponse) HasDownloads() bool` HasDownloads returns a boolean if a field has been set. ### GetEpoch -`func (o *PackageResync) GetEpoch() int64` +`func (o *PackageMoveResponse) GetEpoch() int64` GetEpoch returns the Epoch field if non-nil, zero value otherwise. ### GetEpochOk -`func (o *PackageResync) GetEpochOk() (*int64, bool)` +`func (o *PackageMoveResponse) GetEpochOk() (*int64, bool)` GetEpochOk returns a tuple with the Epoch field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetEpoch -`func (o *PackageResync) SetEpoch(v int64)` +`func (o *PackageMoveResponse) SetEpoch(v int64)` SetEpoch sets Epoch field to given value. ### HasEpoch -`func (o *PackageResync) HasEpoch() bool` +`func (o *PackageMoveResponse) HasEpoch() bool` HasEpoch returns a boolean if a field has been set. ### GetExtension -`func (o *PackageResync) GetExtension() string` +`func (o *PackageMoveResponse) GetExtension() string` GetExtension returns the Extension field if non-nil, zero value otherwise. ### GetExtensionOk -`func (o *PackageResync) GetExtensionOk() (*string, bool)` +`func (o *PackageMoveResponse) GetExtensionOk() (*string, bool)` GetExtensionOk returns a tuple with the Extension field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetExtension -`func (o *PackageResync) SetExtension(v string)` +`func (o *PackageMoveResponse) SetExtension(v string)` SetExtension sets Extension field to given value. ### HasExtension -`func (o *PackageResync) HasExtension() bool` +`func (o *PackageMoveResponse) HasExtension() bool` HasExtension returns a boolean if a field has been set. ### GetFilename -`func (o *PackageResync) GetFilename() string` +`func (o *PackageMoveResponse) GetFilename() string` GetFilename returns the Filename field if non-nil, zero value otherwise. ### GetFilenameOk -`func (o *PackageResync) GetFilenameOk() (*string, bool)` +`func (o *PackageMoveResponse) GetFilenameOk() (*string, bool)` GetFilenameOk returns a tuple with the Filename field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetFilename -`func (o *PackageResync) SetFilename(v string)` +`func (o *PackageMoveResponse) SetFilename(v string)` SetFilename sets Filename field to given value. ### HasFilename -`func (o *PackageResync) HasFilename() bool` +`func (o *PackageMoveResponse) HasFilename() bool` HasFilename returns a boolean if a field has been set. ### GetFiles -`func (o *PackageResync) GetFiles() []PackagesOwnerRepoFiles` +`func (o *PackageMoveResponse) GetFiles() []PackageFile` GetFiles returns the Files field if non-nil, zero value otherwise. ### GetFilesOk -`func (o *PackageResync) GetFilesOk() (*[]PackagesOwnerRepoFiles, bool)` +`func (o *PackageMoveResponse) GetFilesOk() (*[]PackageFile, 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 *PackageResync) SetFiles(v []PackagesOwnerRepoFiles)` +`func (o *PackageMoveResponse) SetFiles(v []PackageFile)` SetFiles sets Files field to given value. ### HasFiles -`func (o *PackageResync) HasFiles() bool` +`func (o *PackageMoveResponse) HasFiles() bool` HasFiles returns a boolean if a field has been set. ### GetFormat -`func (o *PackageResync) GetFormat() string` +`func (o *PackageMoveResponse) GetFormat() string` GetFormat returns the Format field if non-nil, zero value otherwise. ### GetFormatOk -`func (o *PackageResync) GetFormatOk() (*string, bool)` +`func (o *PackageMoveResponse) GetFormatOk() (*string, bool)` GetFormatOk returns a tuple with the Format field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetFormat -`func (o *PackageResync) SetFormat(v string)` +`func (o *PackageMoveResponse) SetFormat(v string)` SetFormat sets Format field to given value. ### HasFormat -`func (o *PackageResync) HasFormat() bool` +`func (o *PackageMoveResponse) HasFormat() bool` HasFormat returns a boolean if a field has been set. ### GetFormatUrl -`func (o *PackageResync) GetFormatUrl() string` +`func (o *PackageMoveResponse) GetFormatUrl() string` GetFormatUrl returns the FormatUrl field if non-nil, zero value otherwise. ### GetFormatUrlOk -`func (o *PackageResync) GetFormatUrlOk() (*string, bool)` +`func (o *PackageMoveResponse) GetFormatUrlOk() (*string, bool)` GetFormatUrlOk returns a tuple with the FormatUrl field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetFormatUrl -`func (o *PackageResync) SetFormatUrl(v string)` +`func (o *PackageMoveResponse) SetFormatUrl(v string)` SetFormatUrl sets FormatUrl field to given value. ### HasFormatUrl -`func (o *PackageResync) HasFormatUrl() bool` +`func (o *PackageMoveResponse) HasFormatUrl() bool` HasFormatUrl returns a boolean if a field has been set. ### GetIdentifierPerm -`func (o *PackageResync) GetIdentifierPerm() string` +`func (o *PackageMoveResponse) GetIdentifierPerm() string` GetIdentifierPerm returns the IdentifierPerm field if non-nil, zero value otherwise. ### GetIdentifierPermOk -`func (o *PackageResync) GetIdentifierPermOk() (*string, bool)` +`func (o *PackageMoveResponse) GetIdentifierPermOk() (*string, bool)` GetIdentifierPermOk returns a tuple with the IdentifierPerm field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetIdentifierPerm -`func (o *PackageResync) SetIdentifierPerm(v string)` +`func (o *PackageMoveResponse) SetIdentifierPerm(v string)` SetIdentifierPerm sets IdentifierPerm field to given value. ### HasIdentifierPerm -`func (o *PackageResync) HasIdentifierPerm() bool` +`func (o *PackageMoveResponse) HasIdentifierPerm() bool` HasIdentifierPerm returns a boolean if a field has been set. ### GetIndexed -`func (o *PackageResync) GetIndexed() bool` +`func (o *PackageMoveResponse) GetIndexed() bool` GetIndexed returns the Indexed field if non-nil, zero value otherwise. ### GetIndexedOk -`func (o *PackageResync) GetIndexedOk() (*bool, bool)` +`func (o *PackageMoveResponse) GetIndexedOk() (*bool, bool)` GetIndexedOk returns a tuple with the Indexed field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetIndexed -`func (o *PackageResync) SetIndexed(v bool)` +`func (o *PackageMoveResponse) SetIndexed(v bool)` SetIndexed sets Indexed field to given value. ### HasIndexed -`func (o *PackageResync) HasIndexed() bool` +`func (o *PackageMoveResponse) HasIndexed() bool` HasIndexed returns a boolean if a field has been set. ### GetIsDownloadable -`func (o *PackageResync) GetIsDownloadable() bool` +`func (o *PackageMoveResponse) GetIsDownloadable() bool` GetIsDownloadable returns the IsDownloadable field if non-nil, zero value otherwise. ### GetIsDownloadableOk -`func (o *PackageResync) GetIsDownloadableOk() (*bool, bool)` +`func (o *PackageMoveResponse) GetIsDownloadableOk() (*bool, bool)` GetIsDownloadableOk returns a tuple with the IsDownloadable field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetIsDownloadable -`func (o *PackageResync) SetIsDownloadable(v bool)` +`func (o *PackageMoveResponse) SetIsDownloadable(v bool)` SetIsDownloadable sets IsDownloadable field to given value. ### HasIsDownloadable -`func (o *PackageResync) HasIsDownloadable() bool` +`func (o *PackageMoveResponse) HasIsDownloadable() bool` HasIsDownloadable returns a boolean if a field has been set. ### GetIsQuarantined -`func (o *PackageResync) GetIsQuarantined() bool` +`func (o *PackageMoveResponse) GetIsQuarantined() bool` GetIsQuarantined returns the IsQuarantined field if non-nil, zero value otherwise. ### GetIsQuarantinedOk -`func (o *PackageResync) GetIsQuarantinedOk() (*bool, bool)` +`func (o *PackageMoveResponse) GetIsQuarantinedOk() (*bool, bool)` GetIsQuarantinedOk returns a tuple with the IsQuarantined field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetIsQuarantined -`func (o *PackageResync) SetIsQuarantined(v bool)` +`func (o *PackageMoveResponse) SetIsQuarantined(v bool)` SetIsQuarantined sets IsQuarantined field to given value. ### HasIsQuarantined -`func (o *PackageResync) HasIsQuarantined() bool` +`func (o *PackageMoveResponse) HasIsQuarantined() bool` HasIsQuarantined returns a boolean if a field has been set. ### GetIsSyncAwaiting -`func (o *PackageResync) GetIsSyncAwaiting() bool` +`func (o *PackageMoveResponse) GetIsSyncAwaiting() bool` GetIsSyncAwaiting returns the IsSyncAwaiting field if non-nil, zero value otherwise. ### GetIsSyncAwaitingOk -`func (o *PackageResync) GetIsSyncAwaitingOk() (*bool, bool)` +`func (o *PackageMoveResponse) GetIsSyncAwaitingOk() (*bool, bool)` GetIsSyncAwaitingOk returns a tuple with the IsSyncAwaiting field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetIsSyncAwaiting -`func (o *PackageResync) SetIsSyncAwaiting(v bool)` +`func (o *PackageMoveResponse) SetIsSyncAwaiting(v bool)` SetIsSyncAwaiting sets IsSyncAwaiting field to given value. ### HasIsSyncAwaiting -`func (o *PackageResync) HasIsSyncAwaiting() bool` +`func (o *PackageMoveResponse) HasIsSyncAwaiting() bool` HasIsSyncAwaiting returns a boolean if a field has been set. ### GetIsSyncCompleted -`func (o *PackageResync) GetIsSyncCompleted() bool` +`func (o *PackageMoveResponse) GetIsSyncCompleted() bool` GetIsSyncCompleted returns the IsSyncCompleted field if non-nil, zero value otherwise. ### GetIsSyncCompletedOk -`func (o *PackageResync) GetIsSyncCompletedOk() (*bool, bool)` +`func (o *PackageMoveResponse) GetIsSyncCompletedOk() (*bool, bool)` GetIsSyncCompletedOk returns a tuple with the IsSyncCompleted field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetIsSyncCompleted -`func (o *PackageResync) SetIsSyncCompleted(v bool)` +`func (o *PackageMoveResponse) SetIsSyncCompleted(v bool)` SetIsSyncCompleted sets IsSyncCompleted field to given value. ### HasIsSyncCompleted -`func (o *PackageResync) HasIsSyncCompleted() bool` +`func (o *PackageMoveResponse) HasIsSyncCompleted() bool` HasIsSyncCompleted returns a boolean if a field has been set. ### GetIsSyncFailed -`func (o *PackageResync) GetIsSyncFailed() bool` +`func (o *PackageMoveResponse) GetIsSyncFailed() bool` GetIsSyncFailed returns the IsSyncFailed field if non-nil, zero value otherwise. ### GetIsSyncFailedOk -`func (o *PackageResync) GetIsSyncFailedOk() (*bool, bool)` +`func (o *PackageMoveResponse) GetIsSyncFailedOk() (*bool, bool)` GetIsSyncFailedOk returns a tuple with the IsSyncFailed field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetIsSyncFailed -`func (o *PackageResync) SetIsSyncFailed(v bool)` +`func (o *PackageMoveResponse) SetIsSyncFailed(v bool)` SetIsSyncFailed sets IsSyncFailed field to given value. ### HasIsSyncFailed -`func (o *PackageResync) HasIsSyncFailed() bool` +`func (o *PackageMoveResponse) HasIsSyncFailed() bool` HasIsSyncFailed returns a boolean if a field has been set. ### GetIsSyncInFlight -`func (o *PackageResync) GetIsSyncInFlight() bool` +`func (o *PackageMoveResponse) GetIsSyncInFlight() bool` GetIsSyncInFlight returns the IsSyncInFlight field if non-nil, zero value otherwise. ### GetIsSyncInFlightOk -`func (o *PackageResync) GetIsSyncInFlightOk() (*bool, bool)` +`func (o *PackageMoveResponse) GetIsSyncInFlightOk() (*bool, bool)` GetIsSyncInFlightOk returns a tuple with the IsSyncInFlight field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetIsSyncInFlight -`func (o *PackageResync) SetIsSyncInFlight(v bool)` +`func (o *PackageMoveResponse) SetIsSyncInFlight(v bool)` SetIsSyncInFlight sets IsSyncInFlight field to given value. ### HasIsSyncInFlight -`func (o *PackageResync) HasIsSyncInFlight() bool` +`func (o *PackageMoveResponse) HasIsSyncInFlight() bool` HasIsSyncInFlight returns a boolean if a field has been set. ### GetIsSyncInProgress -`func (o *PackageResync) GetIsSyncInProgress() bool` +`func (o *PackageMoveResponse) GetIsSyncInProgress() bool` GetIsSyncInProgress returns the IsSyncInProgress field if non-nil, zero value otherwise. ### GetIsSyncInProgressOk -`func (o *PackageResync) GetIsSyncInProgressOk() (*bool, bool)` +`func (o *PackageMoveResponse) GetIsSyncInProgressOk() (*bool, bool)` GetIsSyncInProgressOk returns a tuple with the IsSyncInProgress field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetIsSyncInProgress -`func (o *PackageResync) SetIsSyncInProgress(v bool)` +`func (o *PackageMoveResponse) SetIsSyncInProgress(v bool)` SetIsSyncInProgress sets IsSyncInProgress field to given value. ### HasIsSyncInProgress -`func (o *PackageResync) HasIsSyncInProgress() bool` +`func (o *PackageMoveResponse) HasIsSyncInProgress() bool` HasIsSyncInProgress returns a boolean if a field has been set. ### GetLicense -`func (o *PackageResync) GetLicense() string` +`func (o *PackageMoveResponse) GetLicense() string` GetLicense returns the License field if non-nil, zero value otherwise. ### GetLicenseOk -`func (o *PackageResync) GetLicenseOk() (*string, bool)` +`func (o *PackageMoveResponse) GetLicenseOk() (*string, bool)` GetLicenseOk returns a tuple with the License field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetLicense -`func (o *PackageResync) SetLicense(v string)` +`func (o *PackageMoveResponse) SetLicense(v string)` SetLicense sets License field to given value. ### HasLicense -`func (o *PackageResync) HasLicense() bool` +`func (o *PackageMoveResponse) HasLicense() bool` HasLicense returns a boolean if a field has been set. ### GetName -`func (o *PackageResync) GetName() string` +`func (o *PackageMoveResponse) GetName() string` GetName returns the Name field if non-nil, zero value otherwise. ### GetNameOk -`func (o *PackageResync) GetNameOk() (*string, bool)` +`func (o *PackageMoveResponse) GetNameOk() (*string, bool)` 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. ### SetName -`func (o *PackageResync) SetName(v string)` +`func (o *PackageMoveResponse) SetName(v string)` SetName sets Name field to given value. ### HasName -`func (o *PackageResync) HasName() bool` +`func (o *PackageMoveResponse) HasName() bool` HasName returns a boolean if a field has been set. ### GetNamespace -`func (o *PackageResync) GetNamespace() string` +`func (o *PackageMoveResponse) GetNamespace() string` GetNamespace returns the Namespace field if non-nil, zero value otherwise. ### GetNamespaceOk -`func (o *PackageResync) GetNamespaceOk() (*string, bool)` +`func (o *PackageMoveResponse) GetNamespaceOk() (*string, bool)` GetNamespaceOk returns a tuple with the Namespace field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetNamespace -`func (o *PackageResync) SetNamespace(v string)` +`func (o *PackageMoveResponse) SetNamespace(v string)` SetNamespace sets Namespace field to given value. ### HasNamespace -`func (o *PackageResync) HasNamespace() bool` +`func (o *PackageMoveResponse) HasNamespace() bool` HasNamespace returns a boolean if a field has been set. ### GetNamespaceUrl -`func (o *PackageResync) GetNamespaceUrl() string` +`func (o *PackageMoveResponse) GetNamespaceUrl() string` GetNamespaceUrl returns the NamespaceUrl field if non-nil, zero value otherwise. ### GetNamespaceUrlOk -`func (o *PackageResync) GetNamespaceUrlOk() (*string, bool)` +`func (o *PackageMoveResponse) GetNamespaceUrlOk() (*string, bool)` GetNamespaceUrlOk returns a tuple with the NamespaceUrl field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetNamespaceUrl -`func (o *PackageResync) SetNamespaceUrl(v string)` +`func (o *PackageMoveResponse) SetNamespaceUrl(v string)` SetNamespaceUrl sets NamespaceUrl field to given value. ### HasNamespaceUrl -`func (o *PackageResync) HasNamespaceUrl() bool` +`func (o *PackageMoveResponse) HasNamespaceUrl() bool` HasNamespaceUrl returns a boolean if a field has been set. ### GetNumFiles -`func (o *PackageResync) GetNumFiles() int64` +`func (o *PackageMoveResponse) GetNumFiles() int64` GetNumFiles returns the NumFiles field if non-nil, zero value otherwise. ### GetNumFilesOk -`func (o *PackageResync) GetNumFilesOk() (*int64, bool)` +`func (o *PackageMoveResponse) GetNumFilesOk() (*int64, bool)` GetNumFilesOk returns a tuple with the NumFiles field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetNumFiles -`func (o *PackageResync) SetNumFiles(v int64)` +`func (o *PackageMoveResponse) SetNumFiles(v int64)` SetNumFiles sets NumFiles field to given value. ### HasNumFiles -`func (o *PackageResync) HasNumFiles() bool` +`func (o *PackageMoveResponse) HasNumFiles() bool` HasNumFiles returns a boolean if a field has been set. +### GetOriginRepository + +`func (o *PackageMoveResponse) GetOriginRepository() string` + +GetOriginRepository returns the OriginRepository field if non-nil, zero value otherwise. + +### GetOriginRepositoryOk + +`func (o *PackageMoveResponse) GetOriginRepositoryOk() (*string, bool)` + +GetOriginRepositoryOk returns a tuple with the OriginRepository field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetOriginRepository + +`func (o *PackageMoveResponse) SetOriginRepository(v string)` + +SetOriginRepository sets OriginRepository field to given value. + +### HasOriginRepository + +`func (o *PackageMoveResponse) HasOriginRepository() bool` + +HasOriginRepository returns a boolean if a field has been set. + +### GetOriginRepositoryUrl + +`func (o *PackageMoveResponse) GetOriginRepositoryUrl() string` + +GetOriginRepositoryUrl returns the OriginRepositoryUrl field if non-nil, zero value otherwise. + +### GetOriginRepositoryUrlOk + +`func (o *PackageMoveResponse) GetOriginRepositoryUrlOk() (*string, bool)` + +GetOriginRepositoryUrlOk returns a tuple with the OriginRepositoryUrl field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetOriginRepositoryUrl + +`func (o *PackageMoveResponse) SetOriginRepositoryUrl(v string)` + +SetOriginRepositoryUrl sets OriginRepositoryUrl field to given value. + +### HasOriginRepositoryUrl + +`func (o *PackageMoveResponse) HasOriginRepositoryUrl() bool` + +HasOriginRepositoryUrl returns a boolean if a field has been set. + ### GetPackageType -`func (o *PackageResync) GetPackageType() int64` +`func (o *PackageMoveResponse) GetPackageType() int64` GetPackageType returns the PackageType field if non-nil, zero value otherwise. ### GetPackageTypeOk -`func (o *PackageResync) GetPackageTypeOk() (*int64, bool)` +`func (o *PackageMoveResponse) GetPackageTypeOk() (*int64, bool)` GetPackageTypeOk returns a tuple with the PackageType field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetPackageType -`func (o *PackageResync) SetPackageType(v int64)` +`func (o *PackageMoveResponse) SetPackageType(v int64)` SetPackageType sets PackageType field to given value. ### HasPackageType -`func (o *PackageResync) HasPackageType() bool` +`func (o *PackageMoveResponse) HasPackageType() bool` HasPackageType returns a boolean if a field has been set. ### GetRelease -`func (o *PackageResync) GetRelease() string` +`func (o *PackageMoveResponse) GetRelease() string` GetRelease returns the Release field if non-nil, zero value otherwise. ### GetReleaseOk -`func (o *PackageResync) GetReleaseOk() (*string, bool)` +`func (o *PackageMoveResponse) GetReleaseOk() (*string, bool)` GetReleaseOk returns a tuple with the Release field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetRelease -`func (o *PackageResync) SetRelease(v string)` +`func (o *PackageMoveResponse) SetRelease(v string)` SetRelease sets Release field to given value. ### HasRelease -`func (o *PackageResync) HasRelease() bool` +`func (o *PackageMoveResponse) HasRelease() bool` HasRelease returns a boolean if a field has been set. ### GetRepository -`func (o *PackageResync) GetRepository() string` +`func (o *PackageMoveResponse) GetRepository() string` GetRepository returns the Repository field if non-nil, zero value otherwise. ### GetRepositoryOk -`func (o *PackageResync) GetRepositoryOk() (*string, bool)` +`func (o *PackageMoveResponse) GetRepositoryOk() (*string, bool)` GetRepositoryOk returns a tuple with the Repository field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetRepository -`func (o *PackageResync) SetRepository(v string)` +`func (o *PackageMoveResponse) SetRepository(v string)` SetRepository sets Repository field to given value. ### HasRepository -`func (o *PackageResync) HasRepository() bool` +`func (o *PackageMoveResponse) HasRepository() bool` HasRepository returns a boolean if a field has been set. ### GetRepositoryUrl -`func (o *PackageResync) GetRepositoryUrl() string` +`func (o *PackageMoveResponse) GetRepositoryUrl() string` GetRepositoryUrl returns the RepositoryUrl field if non-nil, zero value otherwise. ### GetRepositoryUrlOk -`func (o *PackageResync) GetRepositoryUrlOk() (*string, bool)` +`func (o *PackageMoveResponse) GetRepositoryUrlOk() (*string, bool)` GetRepositoryUrlOk returns a tuple with the RepositoryUrl field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetRepositoryUrl -`func (o *PackageResync) SetRepositoryUrl(v string)` +`func (o *PackageMoveResponse) SetRepositoryUrl(v string)` SetRepositoryUrl sets RepositoryUrl field to given value. ### HasRepositoryUrl -`func (o *PackageResync) HasRepositoryUrl() bool` +`func (o *PackageMoveResponse) HasRepositoryUrl() bool` HasRepositoryUrl returns a boolean if a field has been set. ### GetSecurityScanCompletedAt -`func (o *PackageResync) GetSecurityScanCompletedAt() string` +`func (o *PackageMoveResponse) GetSecurityScanCompletedAt() time.Time` GetSecurityScanCompletedAt returns the SecurityScanCompletedAt field if non-nil, zero value otherwise. ### GetSecurityScanCompletedAtOk -`func (o *PackageResync) GetSecurityScanCompletedAtOk() (*string, bool)` +`func (o *PackageMoveResponse) GetSecurityScanCompletedAtOk() (*time.Time, bool)` GetSecurityScanCompletedAtOk returns a tuple with the SecurityScanCompletedAt field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetSecurityScanCompletedAt -`func (o *PackageResync) SetSecurityScanCompletedAt(v string)` +`func (o *PackageMoveResponse) SetSecurityScanCompletedAt(v time.Time)` SetSecurityScanCompletedAt sets SecurityScanCompletedAt field to given value. ### HasSecurityScanCompletedAt -`func (o *PackageResync) HasSecurityScanCompletedAt() bool` +`func (o *PackageMoveResponse) HasSecurityScanCompletedAt() bool` HasSecurityScanCompletedAt returns a boolean if a field has been set. ### GetSecurityScanStartedAt -`func (o *PackageResync) GetSecurityScanStartedAt() string` +`func (o *PackageMoveResponse) GetSecurityScanStartedAt() time.Time` GetSecurityScanStartedAt returns the SecurityScanStartedAt field if non-nil, zero value otherwise. ### GetSecurityScanStartedAtOk -`func (o *PackageResync) GetSecurityScanStartedAtOk() (*string, bool)` +`func (o *PackageMoveResponse) GetSecurityScanStartedAtOk() (*time.Time, bool)` GetSecurityScanStartedAtOk returns a tuple with the SecurityScanStartedAt field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetSecurityScanStartedAt -`func (o *PackageResync) SetSecurityScanStartedAt(v string)` +`func (o *PackageMoveResponse) SetSecurityScanStartedAt(v time.Time)` SetSecurityScanStartedAt sets SecurityScanStartedAt field to given value. ### HasSecurityScanStartedAt -`func (o *PackageResync) HasSecurityScanStartedAt() bool` +`func (o *PackageMoveResponse) HasSecurityScanStartedAt() bool` HasSecurityScanStartedAt returns a boolean if a field has been set. ### GetSecurityScanStatus -`func (o *PackageResync) GetSecurityScanStatus() string` +`func (o *PackageMoveResponse) GetSecurityScanStatus() string` GetSecurityScanStatus returns the SecurityScanStatus field if non-nil, zero value otherwise. ### GetSecurityScanStatusOk -`func (o *PackageResync) GetSecurityScanStatusOk() (*string, bool)` +`func (o *PackageMoveResponse) GetSecurityScanStatusOk() (*string, bool)` GetSecurityScanStatusOk returns a tuple with the SecurityScanStatus field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetSecurityScanStatus -`func (o *PackageResync) SetSecurityScanStatus(v string)` +`func (o *PackageMoveResponse) SetSecurityScanStatus(v string)` SetSecurityScanStatus sets SecurityScanStatus field to given value. ### HasSecurityScanStatus -`func (o *PackageResync) HasSecurityScanStatus() bool` +`func (o *PackageMoveResponse) HasSecurityScanStatus() bool` HasSecurityScanStatus returns a boolean if a field has been set. +### SetSecurityScanStatusNil + +`func (o *PackageMoveResponse) SetSecurityScanStatusNil(b bool)` + + SetSecurityScanStatusNil sets the value for SecurityScanStatus to be an explicit nil + +### UnsetSecurityScanStatus +`func (o *PackageMoveResponse) UnsetSecurityScanStatus()` + +UnsetSecurityScanStatus ensures that no value is present for SecurityScanStatus, not even an explicit nil ### GetSecurityScanStatusUpdatedAt -`func (o *PackageResync) GetSecurityScanStatusUpdatedAt() string` +`func (o *PackageMoveResponse) GetSecurityScanStatusUpdatedAt() time.Time` GetSecurityScanStatusUpdatedAt returns the SecurityScanStatusUpdatedAt field if non-nil, zero value otherwise. ### GetSecurityScanStatusUpdatedAtOk -`func (o *PackageResync) GetSecurityScanStatusUpdatedAtOk() (*string, bool)` +`func (o *PackageMoveResponse) GetSecurityScanStatusUpdatedAtOk() (*time.Time, bool)` GetSecurityScanStatusUpdatedAtOk returns a tuple with the SecurityScanStatusUpdatedAt field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetSecurityScanStatusUpdatedAt -`func (o *PackageResync) SetSecurityScanStatusUpdatedAt(v string)` +`func (o *PackageMoveResponse) SetSecurityScanStatusUpdatedAt(v time.Time)` SetSecurityScanStatusUpdatedAt sets SecurityScanStatusUpdatedAt field to given value. ### HasSecurityScanStatusUpdatedAt -`func (o *PackageResync) HasSecurityScanStatusUpdatedAt() bool` +`func (o *PackageMoveResponse) HasSecurityScanStatusUpdatedAt() bool` HasSecurityScanStatusUpdatedAt returns a boolean if a field has been set. ### GetSelfHtmlUrl -`func (o *PackageResync) GetSelfHtmlUrl() string` +`func (o *PackageMoveResponse) GetSelfHtmlUrl() string` GetSelfHtmlUrl returns the SelfHtmlUrl field if non-nil, zero value otherwise. ### GetSelfHtmlUrlOk -`func (o *PackageResync) GetSelfHtmlUrlOk() (*string, bool)` +`func (o *PackageMoveResponse) GetSelfHtmlUrlOk() (*string, bool)` GetSelfHtmlUrlOk returns a tuple with the SelfHtmlUrl field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetSelfHtmlUrl -`func (o *PackageResync) SetSelfHtmlUrl(v string)` +`func (o *PackageMoveResponse) SetSelfHtmlUrl(v string)` SetSelfHtmlUrl sets SelfHtmlUrl field to given value. ### HasSelfHtmlUrl -`func (o *PackageResync) HasSelfHtmlUrl() bool` +`func (o *PackageMoveResponse) HasSelfHtmlUrl() bool` HasSelfHtmlUrl returns a boolean if a field has been set. ### GetSelfUrl -`func (o *PackageResync) GetSelfUrl() string` +`func (o *PackageMoveResponse) GetSelfUrl() string` GetSelfUrl returns the SelfUrl field if non-nil, zero value otherwise. ### GetSelfUrlOk -`func (o *PackageResync) GetSelfUrlOk() (*string, bool)` +`func (o *PackageMoveResponse) GetSelfUrlOk() (*string, bool)` GetSelfUrlOk returns a tuple with the SelfUrl field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetSelfUrl -`func (o *PackageResync) SetSelfUrl(v string)` +`func (o *PackageMoveResponse) SetSelfUrl(v string)` SetSelfUrl sets SelfUrl field to given value. ### HasSelfUrl -`func (o *PackageResync) HasSelfUrl() bool` +`func (o *PackageMoveResponse) HasSelfUrl() bool` HasSelfUrl returns a boolean if a field has been set. ### GetSignatureUrl -`func (o *PackageResync) GetSignatureUrl() string` +`func (o *PackageMoveResponse) GetSignatureUrl() string` GetSignatureUrl returns the SignatureUrl field if non-nil, zero value otherwise. ### GetSignatureUrlOk -`func (o *PackageResync) GetSignatureUrlOk() (*string, bool)` +`func (o *PackageMoveResponse) GetSignatureUrlOk() (*string, bool)` GetSignatureUrlOk returns a tuple with the SignatureUrl field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetSignatureUrl -`func (o *PackageResync) SetSignatureUrl(v string)` +`func (o *PackageMoveResponse) SetSignatureUrl(v string)` SetSignatureUrl sets SignatureUrl field to given value. ### HasSignatureUrl -`func (o *PackageResync) HasSignatureUrl() bool` +`func (o *PackageMoveResponse) HasSignatureUrl() bool` HasSignatureUrl returns a boolean if a field has been set. +### SetSignatureUrlNil + +`func (o *PackageMoveResponse) SetSignatureUrlNil(b bool)` + + SetSignatureUrlNil sets the value for SignatureUrl to be an explicit nil + +### UnsetSignatureUrl +`func (o *PackageMoveResponse) UnsetSignatureUrl()` + +UnsetSignatureUrl ensures that no value is present for SignatureUrl, not even an explicit nil ### GetSize -`func (o *PackageResync) GetSize() int64` +`func (o *PackageMoveResponse) GetSize() int64` GetSize returns the Size field if non-nil, zero value otherwise. ### GetSizeOk -`func (o *PackageResync) GetSizeOk() (*int64, bool)` +`func (o *PackageMoveResponse) GetSizeOk() (*int64, bool)` GetSizeOk returns a tuple with the Size field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetSize -`func (o *PackageResync) SetSize(v int64)` +`func (o *PackageMoveResponse) SetSize(v int64)` SetSize sets Size field to given value. ### HasSize -`func (o *PackageResync) HasSize() bool` +`func (o *PackageMoveResponse) HasSize() bool` HasSize returns a boolean if a field has been set. ### GetSlug -`func (o *PackageResync) GetSlug() string` +`func (o *PackageMoveResponse) GetSlug() string` GetSlug returns the Slug field if non-nil, zero value otherwise. ### GetSlugOk -`func (o *PackageResync) GetSlugOk() (*string, bool)` +`func (o *PackageMoveResponse) GetSlugOk() (*string, bool)` GetSlugOk returns a tuple with the Slug field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetSlug -`func (o *PackageResync) SetSlug(v string)` +`func (o *PackageMoveResponse) SetSlug(v string)` SetSlug sets Slug field to given value. ### HasSlug -`func (o *PackageResync) HasSlug() bool` +`func (o *PackageMoveResponse) HasSlug() bool` HasSlug returns a boolean if a field has been set. ### GetSlugPerm -`func (o *PackageResync) GetSlugPerm() string` +`func (o *PackageMoveResponse) GetSlugPerm() string` GetSlugPerm returns the SlugPerm field if non-nil, zero value otherwise. ### GetSlugPermOk -`func (o *PackageResync) GetSlugPermOk() (*string, bool)` +`func (o *PackageMoveResponse) GetSlugPermOk() (*string, bool)` GetSlugPermOk returns a tuple with the SlugPerm field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetSlugPerm -`func (o *PackageResync) SetSlugPerm(v string)` +`func (o *PackageMoveResponse) SetSlugPerm(v string)` SetSlugPerm sets SlugPerm field to given value. ### HasSlugPerm -`func (o *PackageResync) HasSlugPerm() bool` +`func (o *PackageMoveResponse) HasSlugPerm() bool` HasSlugPerm returns a boolean if a field has been set. ### GetStage -`func (o *PackageResync) GetStage() int64` +`func (o *PackageMoveResponse) GetStage() int64` GetStage returns the Stage field if non-nil, zero value otherwise. ### GetStageOk -`func (o *PackageResync) GetStageOk() (*int64, bool)` +`func (o *PackageMoveResponse) GetStageOk() (*int64, bool)` GetStageOk returns a tuple with the Stage field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetStage -`func (o *PackageResync) SetStage(v int64)` +`func (o *PackageMoveResponse) SetStage(v int64)` SetStage sets Stage field to given value. ### HasStage -`func (o *PackageResync) HasStage() bool` +`func (o *PackageMoveResponse) HasStage() bool` HasStage returns a boolean if a field has been set. ### GetStageStr -`func (o *PackageResync) GetStageStr() string` +`func (o *PackageMoveResponse) GetStageStr() string` GetStageStr returns the StageStr field if non-nil, zero value otherwise. ### GetStageStrOk -`func (o *PackageResync) GetStageStrOk() (*string, bool)` +`func (o *PackageMoveResponse) GetStageStrOk() (*string, bool)` GetStageStrOk returns a tuple with the StageStr field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetStageStr -`func (o *PackageResync) SetStageStr(v string)` +`func (o *PackageMoveResponse) SetStageStr(v string)` SetStageStr sets StageStr field to given value. ### HasStageStr -`func (o *PackageResync) HasStageStr() bool` +`func (o *PackageMoveResponse) HasStageStr() bool` HasStageStr returns a boolean if a field has been set. ### GetStageUpdatedAt -`func (o *PackageResync) GetStageUpdatedAt() string` +`func (o *PackageMoveResponse) GetStageUpdatedAt() time.Time` GetStageUpdatedAt returns the StageUpdatedAt field if non-nil, zero value otherwise. ### GetStageUpdatedAtOk -`func (o *PackageResync) GetStageUpdatedAtOk() (*string, bool)` +`func (o *PackageMoveResponse) GetStageUpdatedAtOk() (*time.Time, bool)` GetStageUpdatedAtOk returns a tuple with the StageUpdatedAt field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetStageUpdatedAt -`func (o *PackageResync) SetStageUpdatedAt(v string)` +`func (o *PackageMoveResponse) SetStageUpdatedAt(v time.Time)` SetStageUpdatedAt sets StageUpdatedAt field to given value. ### HasStageUpdatedAt -`func (o *PackageResync) HasStageUpdatedAt() bool` +`func (o *PackageMoveResponse) HasStageUpdatedAt() bool` HasStageUpdatedAt returns a boolean if a field has been set. ### GetStatus -`func (o *PackageResync) GetStatus() int64` +`func (o *PackageMoveResponse) GetStatus() int64` GetStatus returns the Status field if non-nil, zero value otherwise. ### GetStatusOk -`func (o *PackageResync) GetStatusOk() (*int64, bool)` +`func (o *PackageMoveResponse) GetStatusOk() (*int64, bool)` GetStatusOk returns a tuple with the Status field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetStatus -`func (o *PackageResync) SetStatus(v int64)` +`func (o *PackageMoveResponse) SetStatus(v int64)` SetStatus sets Status field to given value. ### HasStatus -`func (o *PackageResync) HasStatus() bool` +`func (o *PackageMoveResponse) HasStatus() bool` HasStatus returns a boolean if a field has been set. ### GetStatusReason -`func (o *PackageResync) GetStatusReason() string` +`func (o *PackageMoveResponse) GetStatusReason() string` GetStatusReason returns the StatusReason field if non-nil, zero value otherwise. ### GetStatusReasonOk -`func (o *PackageResync) GetStatusReasonOk() (*string, bool)` +`func (o *PackageMoveResponse) GetStatusReasonOk() (*string, bool)` GetStatusReasonOk returns a tuple with the StatusReason field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetStatusReason -`func (o *PackageResync) SetStatusReason(v string)` +`func (o *PackageMoveResponse) SetStatusReason(v string)` SetStatusReason sets StatusReason field to given value. ### HasStatusReason -`func (o *PackageResync) HasStatusReason() bool` +`func (o *PackageMoveResponse) HasStatusReason() bool` HasStatusReason returns a boolean if a field has been set. ### GetStatusStr -`func (o *PackageResync) GetStatusStr() string` +`func (o *PackageMoveResponse) GetStatusStr() string` GetStatusStr returns the StatusStr field if non-nil, zero value otherwise. ### GetStatusStrOk -`func (o *PackageResync) GetStatusStrOk() (*string, bool)` +`func (o *PackageMoveResponse) GetStatusStrOk() (*string, bool)` GetStatusStrOk returns a tuple with the StatusStr field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetStatusStr -`func (o *PackageResync) SetStatusStr(v string)` +`func (o *PackageMoveResponse) SetStatusStr(v string)` SetStatusStr sets StatusStr field to given value. ### HasStatusStr -`func (o *PackageResync) HasStatusStr() bool` +`func (o *PackageMoveResponse) HasStatusStr() bool` HasStatusStr returns a boolean if a field has been set. ### GetStatusUpdatedAt -`func (o *PackageResync) GetStatusUpdatedAt() string` +`func (o *PackageMoveResponse) GetStatusUpdatedAt() time.Time` GetStatusUpdatedAt returns the StatusUpdatedAt field if non-nil, zero value otherwise. ### GetStatusUpdatedAtOk -`func (o *PackageResync) GetStatusUpdatedAtOk() (*string, bool)` +`func (o *PackageMoveResponse) GetStatusUpdatedAtOk() (*time.Time, bool)` GetStatusUpdatedAtOk returns a tuple with the StatusUpdatedAt field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetStatusUpdatedAt -`func (o *PackageResync) SetStatusUpdatedAt(v string)` +`func (o *PackageMoveResponse) SetStatusUpdatedAt(v time.Time)` SetStatusUpdatedAt sets StatusUpdatedAt field to given value. ### HasStatusUpdatedAt -`func (o *PackageResync) HasStatusUpdatedAt() bool` +`func (o *PackageMoveResponse) HasStatusUpdatedAt() bool` HasStatusUpdatedAt returns a boolean if a field has been set. ### GetStatusUrl -`func (o *PackageResync) GetStatusUrl() string` +`func (o *PackageMoveResponse) GetStatusUrl() string` GetStatusUrl returns the StatusUrl field if non-nil, zero value otherwise. ### GetStatusUrlOk -`func (o *PackageResync) GetStatusUrlOk() (*string, bool)` +`func (o *PackageMoveResponse) GetStatusUrlOk() (*string, bool)` GetStatusUrlOk returns a tuple with the StatusUrl field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetStatusUrl -`func (o *PackageResync) SetStatusUrl(v string)` +`func (o *PackageMoveResponse) SetStatusUrl(v string)` SetStatusUrl sets StatusUrl field to given value. ### HasStatusUrl -`func (o *PackageResync) HasStatusUrl() bool` +`func (o *PackageMoveResponse) HasStatusUrl() bool` HasStatusUrl returns a boolean if a field has been set. ### GetSubtype -`func (o *PackageResync) GetSubtype() string` +`func (o *PackageMoveResponse) GetSubtype() string` GetSubtype returns the Subtype field if non-nil, zero value otherwise. ### GetSubtypeOk -`func (o *PackageResync) GetSubtypeOk() (*string, bool)` +`func (o *PackageMoveResponse) GetSubtypeOk() (*string, bool)` GetSubtypeOk returns a tuple with the Subtype field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetSubtype -`func (o *PackageResync) SetSubtype(v string)` +`func (o *PackageMoveResponse) SetSubtype(v string)` SetSubtype sets Subtype field to given value. ### HasSubtype -`func (o *PackageResync) HasSubtype() bool` +`func (o *PackageMoveResponse) HasSubtype() bool` HasSubtype returns a boolean if a field has been set. ### GetSummary -`func (o *PackageResync) GetSummary() string` +`func (o *PackageMoveResponse) GetSummary() string` GetSummary returns the Summary field if non-nil, zero value otherwise. ### GetSummaryOk -`func (o *PackageResync) GetSummaryOk() (*string, bool)` +`func (o *PackageMoveResponse) GetSummaryOk() (*string, bool)` GetSummaryOk returns a tuple with the Summary field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetSummary -`func (o *PackageResync) SetSummary(v string)` +`func (o *PackageMoveResponse) SetSummary(v string)` SetSummary sets Summary field to given value. ### HasSummary -`func (o *PackageResync) HasSummary() bool` +`func (o *PackageMoveResponse) HasSummary() bool` HasSummary returns a boolean if a field has been set. ### GetSyncFinishedAt -`func (o *PackageResync) GetSyncFinishedAt() string` +`func (o *PackageMoveResponse) GetSyncFinishedAt() time.Time` GetSyncFinishedAt returns the SyncFinishedAt field if non-nil, zero value otherwise. ### GetSyncFinishedAtOk -`func (o *PackageResync) GetSyncFinishedAtOk() (*string, bool)` +`func (o *PackageMoveResponse) GetSyncFinishedAtOk() (*time.Time, bool)` GetSyncFinishedAtOk returns a tuple with the SyncFinishedAt field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetSyncFinishedAt -`func (o *PackageResync) SetSyncFinishedAt(v string)` +`func (o *PackageMoveResponse) SetSyncFinishedAt(v time.Time)` SetSyncFinishedAt sets SyncFinishedAt field to given value. ### HasSyncFinishedAt -`func (o *PackageResync) HasSyncFinishedAt() bool` +`func (o *PackageMoveResponse) HasSyncFinishedAt() bool` HasSyncFinishedAt returns a boolean if a field has been set. ### GetSyncProgress -`func (o *PackageResync) GetSyncProgress() int64` +`func (o *PackageMoveResponse) GetSyncProgress() int64` GetSyncProgress returns the SyncProgress field if non-nil, zero value otherwise. ### GetSyncProgressOk -`func (o *PackageResync) GetSyncProgressOk() (*int64, bool)` +`func (o *PackageMoveResponse) GetSyncProgressOk() (*int64, bool)` GetSyncProgressOk returns a tuple with the SyncProgress field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetSyncProgress -`func (o *PackageResync) SetSyncProgress(v int64)` +`func (o *PackageMoveResponse) SetSyncProgress(v int64)` SetSyncProgress sets SyncProgress field to given value. ### HasSyncProgress -`func (o *PackageResync) HasSyncProgress() bool` +`func (o *PackageMoveResponse) HasSyncProgress() bool` HasSyncProgress returns a boolean if a field has been set. ### GetTags -`func (o *PackageResync) GetTags() map[string]interface{}` +`func (o *PackageMoveResponse) GetTags() map[string]interface{}` GetTags returns the Tags field if non-nil, zero value otherwise. ### GetTagsOk -`func (o *PackageResync) GetTagsOk() (*map[string]interface{}, bool)` +`func (o *PackageMoveResponse) GetTagsOk() (*map[string]interface{}, bool)` GetTagsOk returns a tuple with the Tags field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetTags -`func (o *PackageResync) SetTags(v map[string]interface{})` +`func (o *PackageMoveResponse) SetTags(v map[string]interface{})` SetTags sets Tags field to given value. ### HasTags -`func (o *PackageResync) HasTags() bool` +`func (o *PackageMoveResponse) HasTags() bool` HasTags returns a boolean if a field has been set. ### GetTagsImmutable -`func (o *PackageResync) GetTagsImmutable() map[string]interface{}` +`func (o *PackageMoveResponse) GetTagsImmutable() map[string]interface{}` GetTagsImmutable returns the TagsImmutable field if non-nil, zero value otherwise. ### GetTagsImmutableOk -`func (o *PackageResync) GetTagsImmutableOk() (*map[string]interface{}, bool)` +`func (o *PackageMoveResponse) GetTagsImmutableOk() (*map[string]interface{}, bool)` GetTagsImmutableOk returns a tuple with the TagsImmutable field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetTagsImmutable -`func (o *PackageResync) SetTagsImmutable(v map[string]interface{})` +`func (o *PackageMoveResponse) SetTagsImmutable(v map[string]interface{})` SetTagsImmutable sets TagsImmutable field to given value. ### HasTagsImmutable -`func (o *PackageResync) HasTagsImmutable() bool` +`func (o *PackageMoveResponse) HasTagsImmutable() bool` HasTagsImmutable returns a boolean if a field has been set. ### GetTypeDisplay -`func (o *PackageResync) GetTypeDisplay() string` +`func (o *PackageMoveResponse) GetTypeDisplay() string` GetTypeDisplay returns the TypeDisplay field if non-nil, zero value otherwise. ### GetTypeDisplayOk -`func (o *PackageResync) GetTypeDisplayOk() (*string, bool)` +`func (o *PackageMoveResponse) GetTypeDisplayOk() (*string, bool)` GetTypeDisplayOk returns a tuple with the TypeDisplay field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetTypeDisplay -`func (o *PackageResync) SetTypeDisplay(v string)` +`func (o *PackageMoveResponse) SetTypeDisplay(v string)` SetTypeDisplay sets TypeDisplay field to given value. ### HasTypeDisplay -`func (o *PackageResync) HasTypeDisplay() bool` +`func (o *PackageMoveResponse) HasTypeDisplay() bool` HasTypeDisplay returns a boolean if a field has been set. ### GetUploadedAt -`func (o *PackageResync) GetUploadedAt() string` +`func (o *PackageMoveResponse) GetUploadedAt() time.Time` GetUploadedAt returns the UploadedAt field if non-nil, zero value otherwise. ### GetUploadedAtOk -`func (o *PackageResync) GetUploadedAtOk() (*string, bool)` +`func (o *PackageMoveResponse) GetUploadedAtOk() (*time.Time, bool)` GetUploadedAtOk returns a tuple with the UploadedAt field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetUploadedAt -`func (o *PackageResync) SetUploadedAt(v string)` +`func (o *PackageMoveResponse) SetUploadedAt(v time.Time)` SetUploadedAt sets UploadedAt field to given value. ### HasUploadedAt -`func (o *PackageResync) HasUploadedAt() bool` +`func (o *PackageMoveResponse) HasUploadedAt() bool` HasUploadedAt returns a boolean if a field has been set. ### GetUploader -`func (o *PackageResync) GetUploader() string` +`func (o *PackageMoveResponse) GetUploader() string` GetUploader returns the Uploader field if non-nil, zero value otherwise. ### GetUploaderOk -`func (o *PackageResync) GetUploaderOk() (*string, bool)` +`func (o *PackageMoveResponse) GetUploaderOk() (*string, bool)` GetUploaderOk returns a tuple with the Uploader field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetUploader -`func (o *PackageResync) SetUploader(v string)` +`func (o *PackageMoveResponse) SetUploader(v string)` SetUploader sets Uploader field to given value. ### HasUploader -`func (o *PackageResync) HasUploader() bool` +`func (o *PackageMoveResponse) HasUploader() bool` HasUploader returns a boolean if a field has been set. ### GetUploaderUrl -`func (o *PackageResync) GetUploaderUrl() string` +`func (o *PackageMoveResponse) GetUploaderUrl() string` GetUploaderUrl returns the UploaderUrl field if non-nil, zero value otherwise. ### GetUploaderUrlOk -`func (o *PackageResync) GetUploaderUrlOk() (*string, bool)` +`func (o *PackageMoveResponse) GetUploaderUrlOk() (*string, bool)` GetUploaderUrlOk returns a tuple with the UploaderUrl field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetUploaderUrl -`func (o *PackageResync) SetUploaderUrl(v string)` +`func (o *PackageMoveResponse) SetUploaderUrl(v string)` SetUploaderUrl sets UploaderUrl field to given value. ### HasUploaderUrl -`func (o *PackageResync) HasUploaderUrl() bool` +`func (o *PackageMoveResponse) HasUploaderUrl() bool` HasUploaderUrl returns a boolean if a field has been set. ### GetVersion -`func (o *PackageResync) GetVersion() string` +`func (o *PackageMoveResponse) GetVersion() string` GetVersion returns the Version field if non-nil, zero value otherwise. ### GetVersionOk -`func (o *PackageResync) GetVersionOk() (*string, bool)` +`func (o *PackageMoveResponse) GetVersionOk() (*string, bool)` GetVersionOk returns a tuple with the Version field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetVersion -`func (o *PackageResync) SetVersion(v string)` +`func (o *PackageMoveResponse) SetVersion(v string)` SetVersion sets Version field to given value. ### HasVersion -`func (o *PackageResync) HasVersion() bool` +`func (o *PackageMoveResponse) HasVersion() bool` HasVersion returns a boolean if a field has been set. ### GetVersionOrig -`func (o *PackageResync) GetVersionOrig() string` +`func (o *PackageMoveResponse) GetVersionOrig() string` GetVersionOrig returns the VersionOrig field if non-nil, zero value otherwise. ### GetVersionOrigOk -`func (o *PackageResync) GetVersionOrigOk() (*string, bool)` +`func (o *PackageMoveResponse) GetVersionOrigOk() (*string, bool)` GetVersionOrigOk returns a tuple with the VersionOrig field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetVersionOrig -`func (o *PackageResync) SetVersionOrig(v string)` +`func (o *PackageMoveResponse) SetVersionOrig(v string)` SetVersionOrig sets VersionOrig field to given value. ### HasVersionOrig -`func (o *PackageResync) HasVersionOrig() bool` +`func (o *PackageMoveResponse) HasVersionOrig() bool` HasVersionOrig returns a boolean if a field has been set. ### GetVulnerabilityScanResultsUrl -`func (o *PackageResync) GetVulnerabilityScanResultsUrl() string` +`func (o *PackageMoveResponse) GetVulnerabilityScanResultsUrl() string` GetVulnerabilityScanResultsUrl returns the VulnerabilityScanResultsUrl field if non-nil, zero value otherwise. ### GetVulnerabilityScanResultsUrlOk -`func (o *PackageResync) GetVulnerabilityScanResultsUrlOk() (*string, bool)` +`func (o *PackageMoveResponse) GetVulnerabilityScanResultsUrlOk() (*string, bool)` GetVulnerabilityScanResultsUrlOk returns a tuple with the VulnerabilityScanResultsUrl field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetVulnerabilityScanResultsUrl -`func (o *PackageResync) SetVulnerabilityScanResultsUrl(v string)` +`func (o *PackageMoveResponse) SetVulnerabilityScanResultsUrl(v string)` SetVulnerabilityScanResultsUrl sets VulnerabilityScanResultsUrl field to given value. ### HasVulnerabilityScanResultsUrl -`func (o *PackageResync) HasVulnerabilityScanResultsUrl() bool` +`func (o *PackageMoveResponse) HasVulnerabilityScanResultsUrl() bool` HasVulnerabilityScanResultsUrl returns a boolean if a field has been set. diff --git a/docs/PackagesQuarantine.md b/docs/PackageQuarantineRequest.md similarity index 64% rename from docs/PackagesQuarantine.md rename to docs/PackageQuarantineRequest.md index 8501cb03..9d21a968 100644 --- a/docs/PackagesQuarantine.md +++ b/docs/PackageQuarantineRequest.md @@ -1,4 +1,4 @@ -# PackagesQuarantine +# PackageQuarantineRequest ## Properties @@ -8,45 +8,45 @@ Name | Type | Description | Notes ## Methods -### NewPackagesQuarantine +### NewPackageQuarantineRequest -`func NewPackagesQuarantine() *PackagesQuarantine` +`func NewPackageQuarantineRequest() *PackageQuarantineRequest` -NewPackagesQuarantine instantiates a new PackagesQuarantine object +NewPackageQuarantineRequest instantiates a new PackageQuarantineRequest object 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 -### NewPackagesQuarantineWithDefaults +### NewPackageQuarantineRequestWithDefaults -`func NewPackagesQuarantineWithDefaults() *PackagesQuarantine` +`func NewPackageQuarantineRequestWithDefaults() *PackageQuarantineRequest` -NewPackagesQuarantineWithDefaults instantiates a new PackagesQuarantine object +NewPackageQuarantineRequestWithDefaults instantiates a new PackageQuarantineRequest object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set ### GetRestore -`func (o *PackagesQuarantine) GetRestore() bool` +`func (o *PackageQuarantineRequest) GetRestore() bool` GetRestore returns the Restore field if non-nil, zero value otherwise. ### GetRestoreOk -`func (o *PackagesQuarantine) GetRestoreOk() (*bool, bool)` +`func (o *PackageQuarantineRequest) GetRestoreOk() (*bool, bool)` GetRestoreOk returns a tuple with the Restore field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetRestore -`func (o *PackagesQuarantine) SetRestore(v bool)` +`func (o *PackageQuarantineRequest) SetRestore(v bool)` SetRestore sets Restore field to given value. ### HasRestore -`func (o *PackagesQuarantine) HasRestore() bool` +`func (o *PackageQuarantineRequest) HasRestore() bool` HasRestore returns a boolean if a field has been set. diff --git a/docs/PackageQuarantineResponse.md b/docs/PackageQuarantineResponse.md new file mode 100644 index 00000000..2faaba37 --- /dev/null +++ b/docs/PackageQuarantineResponse.md @@ -0,0 +1,1864 @@ +# PackageQuarantineResponse + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Architectures** | Pointer to [**[]Architecture**](Architecture.md) | | [optional] [readonly] +**CdnUrl** | Pointer to **NullableString** | | [optional] [readonly] +**ChecksumMd5** | Pointer to **string** | | [optional] [readonly] +**ChecksumSha1** | Pointer to **string** | | [optional] [readonly] +**ChecksumSha256** | Pointer to **string** | | [optional] [readonly] +**ChecksumSha512** | Pointer to **string** | | [optional] [readonly] +**DependenciesChecksumMd5** | Pointer to **string** | A checksum of all of the package's dependencies. | [optional] [readonly] +**DependenciesUrl** | Pointer to **string** | | [optional] [readonly] +**Description** | Pointer to **string** | A textual description of this package. | [optional] [readonly] +**Distro** | Pointer to [**NullableDistribution**](Distribution.md) | | [optional] +**DistroVersion** | Pointer to [**DistributionVersion**](DistributionVersion.md) | | [optional] +**Downloads** | Pointer to **int64** | | [optional] [readonly] +**Epoch** | Pointer to **int64** | The epoch of the package version (if any). | [optional] [readonly] +**Extension** | Pointer to **string** | | [optional] [readonly] +**Filename** | Pointer to **string** | | [optional] [readonly] +**Files** | Pointer to [**[]PackageFile**](PackageFile.md) | | [optional] [readonly] +**Format** | Pointer to **string** | | [optional] [readonly] +**FormatUrl** | Pointer to **string** | | [optional] [readonly] +**IdentifierPerm** | Pointer to **string** | Unique and permanent identifier for the package. | [optional] [readonly] +**Indexed** | Pointer to **bool** | | [optional] [readonly] +**IsDownloadable** | Pointer to **bool** | | [optional] [readonly] +**IsQuarantined** | Pointer to **bool** | | [optional] [readonly] +**IsSyncAwaiting** | Pointer to **bool** | | [optional] [readonly] +**IsSyncCompleted** | Pointer to **bool** | | [optional] [readonly] +**IsSyncFailed** | Pointer to **bool** | | [optional] [readonly] +**IsSyncInFlight** | Pointer to **bool** | | [optional] [readonly] +**IsSyncInProgress** | Pointer to **bool** | | [optional] [readonly] +**License** | Pointer to **string** | The license of this package. | [optional] [readonly] +**Name** | Pointer to **string** | The name of this package. | [optional] [readonly] +**Namespace** | Pointer to **string** | | [optional] [readonly] +**NamespaceUrl** | Pointer to **string** | | [optional] [readonly] +**NumFiles** | Pointer to **int64** | | [optional] [readonly] +**OriginRepository** | Pointer to **string** | | [optional] [readonly] +**OriginRepositoryUrl** | Pointer to **string** | | [optional] [readonly] +**PackageType** | Pointer to **int64** | The type of package contents. | [optional] [readonly] +**Release** | Pointer to **string** | The release of the package version (if any). | [optional] [readonly] +**Repository** | Pointer to **string** | | [optional] [readonly] +**RepositoryUrl** | Pointer to **string** | | [optional] [readonly] +**SecurityScanCompletedAt** | Pointer to **time.Time** | The datetime the security scanning was completed. | [optional] [readonly] +**SecurityScanStartedAt** | Pointer to **time.Time** | The datetime the security scanning was started. | [optional] [readonly] +**SecurityScanStatus** | Pointer to **NullableString** | | [optional] [readonly] [default to "Awaiting Security Scan"] +**SecurityScanStatusUpdatedAt** | Pointer to **time.Time** | The datetime the security scanning status was updated. | [optional] [readonly] +**SelfHtmlUrl** | Pointer to **string** | | [optional] [readonly] +**SelfUrl** | Pointer to **string** | | [optional] [readonly] +**SignatureUrl** | Pointer to **NullableString** | | [optional] [readonly] +**Size** | Pointer to **int64** | The calculated size of the package. | [optional] [readonly] +**Slug** | Pointer to **string** | The public unique identifier for the package. | [optional] [readonly] +**SlugPerm** | Pointer to **string** | | [optional] [readonly] +**Stage** | Pointer to **int64** | The synchronisation (in progress) stage of the package. | [optional] [readonly] +**StageStr** | Pointer to **string** | | [optional] [readonly] +**StageUpdatedAt** | Pointer to **time.Time** | The datetime the package stage was updated at. | [optional] [readonly] +**Status** | Pointer to **int64** | The synchronisation status of the package. | [optional] [readonly] +**StatusReason** | Pointer to **string** | A textual description for the synchronous status reason (if any | [optional] [readonly] +**StatusStr** | Pointer to **string** | | [optional] [readonly] +**StatusUpdatedAt** | Pointer to **time.Time** | The datetime the package status was updated at. | [optional] [readonly] +**StatusUrl** | Pointer to **string** | | [optional] [readonly] +**Subtype** | Pointer to **string** | | [optional] [readonly] +**Summary** | Pointer to **string** | A one-liner synopsis of this package. | [optional] [readonly] +**SyncFinishedAt** | Pointer to **time.Time** | The datetime the package sync was finished at. | [optional] [readonly] +**SyncProgress** | Pointer to **int64** | Synchronisation progress (from 0-100) | [optional] [readonly] +**Tags** | Pointer to **map[string]interface{}** | All tags on the package, grouped by tag type. This includes immutable tags, but doesn't distinguish them from mutable. To see which tags are immutable specifically, see the tags_immutable field. | [optional] +**TagsImmutable** | Pointer to **map[string]interface{}** | All tags on the package, grouped by tag type. This includes immutable tags, but doesn't distinguish them from mutable. To see which tags are immutable specifically, see the tags_immutable field. | [optional] +**TypeDisplay** | Pointer to **string** | | [optional] [readonly] +**UploadedAt** | Pointer to **time.Time** | The date this package was uploaded. | [optional] [readonly] +**Uploader** | Pointer to **string** | | [optional] [readonly] +**UploaderUrl** | Pointer to **string** | | [optional] [readonly] +**Version** | Pointer to **string** | The raw version for this package. | [optional] [readonly] +**VersionOrig** | Pointer to **string** | | [optional] [readonly] +**VulnerabilityScanResultsUrl** | Pointer to **string** | | [optional] [readonly] + +## Methods + +### NewPackageQuarantineResponse + +`func NewPackageQuarantineResponse() *PackageQuarantineResponse` + +NewPackageQuarantineResponse instantiates a new PackageQuarantineResponse object +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 + +### NewPackageQuarantineResponseWithDefaults + +`func NewPackageQuarantineResponseWithDefaults() *PackageQuarantineResponse` + +NewPackageQuarantineResponseWithDefaults instantiates a new PackageQuarantineResponse object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetArchitectures + +`func (o *PackageQuarantineResponse) GetArchitectures() []Architecture` + +GetArchitectures returns the Architectures field if non-nil, zero value otherwise. + +### GetArchitecturesOk + +`func (o *PackageQuarantineResponse) GetArchitecturesOk() (*[]Architecture, bool)` + +GetArchitecturesOk returns a tuple with the Architectures field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetArchitectures + +`func (o *PackageQuarantineResponse) SetArchitectures(v []Architecture)` + +SetArchitectures sets Architectures field to given value. + +### HasArchitectures + +`func (o *PackageQuarantineResponse) HasArchitectures() bool` + +HasArchitectures returns a boolean if a field has been set. + +### GetCdnUrl + +`func (o *PackageQuarantineResponse) GetCdnUrl() string` + +GetCdnUrl returns the CdnUrl field if non-nil, zero value otherwise. + +### GetCdnUrlOk + +`func (o *PackageQuarantineResponse) GetCdnUrlOk() (*string, bool)` + +GetCdnUrlOk returns a tuple with the CdnUrl field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetCdnUrl + +`func (o *PackageQuarantineResponse) SetCdnUrl(v string)` + +SetCdnUrl sets CdnUrl field to given value. + +### HasCdnUrl + +`func (o *PackageQuarantineResponse) HasCdnUrl() bool` + +HasCdnUrl returns a boolean if a field has been set. + +### SetCdnUrlNil + +`func (o *PackageQuarantineResponse) SetCdnUrlNil(b bool)` + + SetCdnUrlNil sets the value for CdnUrl to be an explicit nil + +### UnsetCdnUrl +`func (o *PackageQuarantineResponse) UnsetCdnUrl()` + +UnsetCdnUrl ensures that no value is present for CdnUrl, not even an explicit nil +### GetChecksumMd5 + +`func (o *PackageQuarantineResponse) GetChecksumMd5() string` + +GetChecksumMd5 returns the ChecksumMd5 field if non-nil, zero value otherwise. + +### GetChecksumMd5Ok + +`func (o *PackageQuarantineResponse) GetChecksumMd5Ok() (*string, bool)` + +GetChecksumMd5Ok returns a tuple with the ChecksumMd5 field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetChecksumMd5 + +`func (o *PackageQuarantineResponse) SetChecksumMd5(v string)` + +SetChecksumMd5 sets ChecksumMd5 field to given value. + +### HasChecksumMd5 + +`func (o *PackageQuarantineResponse) HasChecksumMd5() bool` + +HasChecksumMd5 returns a boolean if a field has been set. + +### GetChecksumSha1 + +`func (o *PackageQuarantineResponse) GetChecksumSha1() string` + +GetChecksumSha1 returns the ChecksumSha1 field if non-nil, zero value otherwise. + +### GetChecksumSha1Ok + +`func (o *PackageQuarantineResponse) GetChecksumSha1Ok() (*string, bool)` + +GetChecksumSha1Ok returns a tuple with the ChecksumSha1 field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetChecksumSha1 + +`func (o *PackageQuarantineResponse) SetChecksumSha1(v string)` + +SetChecksumSha1 sets ChecksumSha1 field to given value. + +### HasChecksumSha1 + +`func (o *PackageQuarantineResponse) HasChecksumSha1() bool` + +HasChecksumSha1 returns a boolean if a field has been set. + +### GetChecksumSha256 + +`func (o *PackageQuarantineResponse) GetChecksumSha256() string` + +GetChecksumSha256 returns the ChecksumSha256 field if non-nil, zero value otherwise. + +### GetChecksumSha256Ok + +`func (o *PackageQuarantineResponse) GetChecksumSha256Ok() (*string, bool)` + +GetChecksumSha256Ok returns a tuple with the ChecksumSha256 field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetChecksumSha256 + +`func (o *PackageQuarantineResponse) SetChecksumSha256(v string)` + +SetChecksumSha256 sets ChecksumSha256 field to given value. + +### HasChecksumSha256 + +`func (o *PackageQuarantineResponse) HasChecksumSha256() bool` + +HasChecksumSha256 returns a boolean if a field has been set. + +### GetChecksumSha512 + +`func (o *PackageQuarantineResponse) GetChecksumSha512() string` + +GetChecksumSha512 returns the ChecksumSha512 field if non-nil, zero value otherwise. + +### GetChecksumSha512Ok + +`func (o *PackageQuarantineResponse) GetChecksumSha512Ok() (*string, bool)` + +GetChecksumSha512Ok returns a tuple with the ChecksumSha512 field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetChecksumSha512 + +`func (o *PackageQuarantineResponse) SetChecksumSha512(v string)` + +SetChecksumSha512 sets ChecksumSha512 field to given value. + +### HasChecksumSha512 + +`func (o *PackageQuarantineResponse) HasChecksumSha512() bool` + +HasChecksumSha512 returns a boolean if a field has been set. + +### GetDependenciesChecksumMd5 + +`func (o *PackageQuarantineResponse) GetDependenciesChecksumMd5() string` + +GetDependenciesChecksumMd5 returns the DependenciesChecksumMd5 field if non-nil, zero value otherwise. + +### GetDependenciesChecksumMd5Ok + +`func (o *PackageQuarantineResponse) GetDependenciesChecksumMd5Ok() (*string, bool)` + +GetDependenciesChecksumMd5Ok returns a tuple with the DependenciesChecksumMd5 field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetDependenciesChecksumMd5 + +`func (o *PackageQuarantineResponse) SetDependenciesChecksumMd5(v string)` + +SetDependenciesChecksumMd5 sets DependenciesChecksumMd5 field to given value. + +### HasDependenciesChecksumMd5 + +`func (o *PackageQuarantineResponse) HasDependenciesChecksumMd5() bool` + +HasDependenciesChecksumMd5 returns a boolean if a field has been set. + +### GetDependenciesUrl + +`func (o *PackageQuarantineResponse) GetDependenciesUrl() string` + +GetDependenciesUrl returns the DependenciesUrl field if non-nil, zero value otherwise. + +### GetDependenciesUrlOk + +`func (o *PackageQuarantineResponse) GetDependenciesUrlOk() (*string, bool)` + +GetDependenciesUrlOk returns a tuple with the DependenciesUrl field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetDependenciesUrl + +`func (o *PackageQuarantineResponse) SetDependenciesUrl(v string)` + +SetDependenciesUrl sets DependenciesUrl field to given value. + +### HasDependenciesUrl + +`func (o *PackageQuarantineResponse) HasDependenciesUrl() bool` + +HasDependenciesUrl returns a boolean if a field has been set. + +### GetDescription + +`func (o *PackageQuarantineResponse) GetDescription() string` + +GetDescription returns the Description field if non-nil, zero value otherwise. + +### GetDescriptionOk + +`func (o *PackageQuarantineResponse) GetDescriptionOk() (*string, bool)` + +GetDescriptionOk returns a tuple with the Description field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetDescription + +`func (o *PackageQuarantineResponse) SetDescription(v string)` + +SetDescription sets Description field to given value. + +### HasDescription + +`func (o *PackageQuarantineResponse) HasDescription() bool` + +HasDescription returns a boolean if a field has been set. + +### GetDistro + +`func (o *PackageQuarantineResponse) GetDistro() Distribution` + +GetDistro returns the Distro field if non-nil, zero value otherwise. + +### GetDistroOk + +`func (o *PackageQuarantineResponse) GetDistroOk() (*Distribution, bool)` + +GetDistroOk returns a tuple with the Distro field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetDistro + +`func (o *PackageQuarantineResponse) SetDistro(v Distribution)` + +SetDistro sets Distro field to given value. + +### HasDistro + +`func (o *PackageQuarantineResponse) HasDistro() bool` + +HasDistro returns a boolean if a field has been set. + +### SetDistroNil + +`func (o *PackageQuarantineResponse) SetDistroNil(b bool)` + + SetDistroNil sets the value for Distro to be an explicit nil + +### UnsetDistro +`func (o *PackageQuarantineResponse) UnsetDistro()` + +UnsetDistro ensures that no value is present for Distro, not even an explicit nil +### GetDistroVersion + +`func (o *PackageQuarantineResponse) GetDistroVersion() DistributionVersion` + +GetDistroVersion returns the DistroVersion field if non-nil, zero value otherwise. + +### GetDistroVersionOk + +`func (o *PackageQuarantineResponse) GetDistroVersionOk() (*DistributionVersion, bool)` + +GetDistroVersionOk returns a tuple with the DistroVersion field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetDistroVersion + +`func (o *PackageQuarantineResponse) SetDistroVersion(v DistributionVersion)` + +SetDistroVersion sets DistroVersion field to given value. + +### HasDistroVersion + +`func (o *PackageQuarantineResponse) HasDistroVersion() bool` + +HasDistroVersion returns a boolean if a field has been set. + +### GetDownloads + +`func (o *PackageQuarantineResponse) GetDownloads() int64` + +GetDownloads returns the Downloads field if non-nil, zero value otherwise. + +### GetDownloadsOk + +`func (o *PackageQuarantineResponse) GetDownloadsOk() (*int64, bool)` + +GetDownloadsOk returns a tuple with the Downloads field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetDownloads + +`func (o *PackageQuarantineResponse) SetDownloads(v int64)` + +SetDownloads sets Downloads field to given value. + +### HasDownloads + +`func (o *PackageQuarantineResponse) HasDownloads() bool` + +HasDownloads returns a boolean if a field has been set. + +### GetEpoch + +`func (o *PackageQuarantineResponse) GetEpoch() int64` + +GetEpoch returns the Epoch field if non-nil, zero value otherwise. + +### GetEpochOk + +`func (o *PackageQuarantineResponse) GetEpochOk() (*int64, bool)` + +GetEpochOk returns a tuple with the Epoch field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetEpoch + +`func (o *PackageQuarantineResponse) SetEpoch(v int64)` + +SetEpoch sets Epoch field to given value. + +### HasEpoch + +`func (o *PackageQuarantineResponse) HasEpoch() bool` + +HasEpoch returns a boolean if a field has been set. + +### GetExtension + +`func (o *PackageQuarantineResponse) GetExtension() string` + +GetExtension returns the Extension field if non-nil, zero value otherwise. + +### GetExtensionOk + +`func (o *PackageQuarantineResponse) GetExtensionOk() (*string, bool)` + +GetExtensionOk returns a tuple with the Extension field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetExtension + +`func (o *PackageQuarantineResponse) SetExtension(v string)` + +SetExtension sets Extension field to given value. + +### HasExtension + +`func (o *PackageQuarantineResponse) HasExtension() bool` + +HasExtension returns a boolean if a field has been set. + +### GetFilename + +`func (o *PackageQuarantineResponse) GetFilename() string` + +GetFilename returns the Filename field if non-nil, zero value otherwise. + +### GetFilenameOk + +`func (o *PackageQuarantineResponse) GetFilenameOk() (*string, bool)` + +GetFilenameOk returns a tuple with the Filename field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetFilename + +`func (o *PackageQuarantineResponse) SetFilename(v string)` + +SetFilename sets Filename field to given value. + +### HasFilename + +`func (o *PackageQuarantineResponse) HasFilename() bool` + +HasFilename returns a boolean if a field has been set. + +### GetFiles + +`func (o *PackageQuarantineResponse) GetFiles() []PackageFile` + +GetFiles returns the Files field if non-nil, zero value otherwise. + +### GetFilesOk + +`func (o *PackageQuarantineResponse) GetFilesOk() (*[]PackageFile, 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 *PackageQuarantineResponse) SetFiles(v []PackageFile)` + +SetFiles sets Files field to given value. + +### HasFiles + +`func (o *PackageQuarantineResponse) HasFiles() bool` + +HasFiles returns a boolean if a field has been set. + +### GetFormat + +`func (o *PackageQuarantineResponse) GetFormat() string` + +GetFormat returns the Format field if non-nil, zero value otherwise. + +### GetFormatOk + +`func (o *PackageQuarantineResponse) GetFormatOk() (*string, bool)` + +GetFormatOk returns a tuple with the Format field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetFormat + +`func (o *PackageQuarantineResponse) SetFormat(v string)` + +SetFormat sets Format field to given value. + +### HasFormat + +`func (o *PackageQuarantineResponse) HasFormat() bool` + +HasFormat returns a boolean if a field has been set. + +### GetFormatUrl + +`func (o *PackageQuarantineResponse) GetFormatUrl() string` + +GetFormatUrl returns the FormatUrl field if non-nil, zero value otherwise. + +### GetFormatUrlOk + +`func (o *PackageQuarantineResponse) GetFormatUrlOk() (*string, bool)` + +GetFormatUrlOk returns a tuple with the FormatUrl field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetFormatUrl + +`func (o *PackageQuarantineResponse) SetFormatUrl(v string)` + +SetFormatUrl sets FormatUrl field to given value. + +### HasFormatUrl + +`func (o *PackageQuarantineResponse) HasFormatUrl() bool` + +HasFormatUrl returns a boolean if a field has been set. + +### GetIdentifierPerm + +`func (o *PackageQuarantineResponse) GetIdentifierPerm() string` + +GetIdentifierPerm returns the IdentifierPerm field if non-nil, zero value otherwise. + +### GetIdentifierPermOk + +`func (o *PackageQuarantineResponse) GetIdentifierPermOk() (*string, bool)` + +GetIdentifierPermOk returns a tuple with the IdentifierPerm field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetIdentifierPerm + +`func (o *PackageQuarantineResponse) SetIdentifierPerm(v string)` + +SetIdentifierPerm sets IdentifierPerm field to given value. + +### HasIdentifierPerm + +`func (o *PackageQuarantineResponse) HasIdentifierPerm() bool` + +HasIdentifierPerm returns a boolean if a field has been set. + +### GetIndexed + +`func (o *PackageQuarantineResponse) GetIndexed() bool` + +GetIndexed returns the Indexed field if non-nil, zero value otherwise. + +### GetIndexedOk + +`func (o *PackageQuarantineResponse) GetIndexedOk() (*bool, bool)` + +GetIndexedOk returns a tuple with the Indexed field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetIndexed + +`func (o *PackageQuarantineResponse) SetIndexed(v bool)` + +SetIndexed sets Indexed field to given value. + +### HasIndexed + +`func (o *PackageQuarantineResponse) HasIndexed() bool` + +HasIndexed returns a boolean if a field has been set. + +### GetIsDownloadable + +`func (o *PackageQuarantineResponse) GetIsDownloadable() bool` + +GetIsDownloadable returns the IsDownloadable field if non-nil, zero value otherwise. + +### GetIsDownloadableOk + +`func (o *PackageQuarantineResponse) GetIsDownloadableOk() (*bool, bool)` + +GetIsDownloadableOk returns a tuple with the IsDownloadable field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetIsDownloadable + +`func (o *PackageQuarantineResponse) SetIsDownloadable(v bool)` + +SetIsDownloadable sets IsDownloadable field to given value. + +### HasIsDownloadable + +`func (o *PackageQuarantineResponse) HasIsDownloadable() bool` + +HasIsDownloadable returns a boolean if a field has been set. + +### GetIsQuarantined + +`func (o *PackageQuarantineResponse) GetIsQuarantined() bool` + +GetIsQuarantined returns the IsQuarantined field if non-nil, zero value otherwise. + +### GetIsQuarantinedOk + +`func (o *PackageQuarantineResponse) GetIsQuarantinedOk() (*bool, bool)` + +GetIsQuarantinedOk returns a tuple with the IsQuarantined field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetIsQuarantined + +`func (o *PackageQuarantineResponse) SetIsQuarantined(v bool)` + +SetIsQuarantined sets IsQuarantined field to given value. + +### HasIsQuarantined + +`func (o *PackageQuarantineResponse) HasIsQuarantined() bool` + +HasIsQuarantined returns a boolean if a field has been set. + +### GetIsSyncAwaiting + +`func (o *PackageQuarantineResponse) GetIsSyncAwaiting() bool` + +GetIsSyncAwaiting returns the IsSyncAwaiting field if non-nil, zero value otherwise. + +### GetIsSyncAwaitingOk + +`func (o *PackageQuarantineResponse) GetIsSyncAwaitingOk() (*bool, bool)` + +GetIsSyncAwaitingOk returns a tuple with the IsSyncAwaiting field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetIsSyncAwaiting + +`func (o *PackageQuarantineResponse) SetIsSyncAwaiting(v bool)` + +SetIsSyncAwaiting sets IsSyncAwaiting field to given value. + +### HasIsSyncAwaiting + +`func (o *PackageQuarantineResponse) HasIsSyncAwaiting() bool` + +HasIsSyncAwaiting returns a boolean if a field has been set. + +### GetIsSyncCompleted + +`func (o *PackageQuarantineResponse) GetIsSyncCompleted() bool` + +GetIsSyncCompleted returns the IsSyncCompleted field if non-nil, zero value otherwise. + +### GetIsSyncCompletedOk + +`func (o *PackageQuarantineResponse) GetIsSyncCompletedOk() (*bool, bool)` + +GetIsSyncCompletedOk returns a tuple with the IsSyncCompleted field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetIsSyncCompleted + +`func (o *PackageQuarantineResponse) SetIsSyncCompleted(v bool)` + +SetIsSyncCompleted sets IsSyncCompleted field to given value. + +### HasIsSyncCompleted + +`func (o *PackageQuarantineResponse) HasIsSyncCompleted() bool` + +HasIsSyncCompleted returns a boolean if a field has been set. + +### GetIsSyncFailed + +`func (o *PackageQuarantineResponse) GetIsSyncFailed() bool` + +GetIsSyncFailed returns the IsSyncFailed field if non-nil, zero value otherwise. + +### GetIsSyncFailedOk + +`func (o *PackageQuarantineResponse) GetIsSyncFailedOk() (*bool, bool)` + +GetIsSyncFailedOk returns a tuple with the IsSyncFailed field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetIsSyncFailed + +`func (o *PackageQuarantineResponse) SetIsSyncFailed(v bool)` + +SetIsSyncFailed sets IsSyncFailed field to given value. + +### HasIsSyncFailed + +`func (o *PackageQuarantineResponse) HasIsSyncFailed() bool` + +HasIsSyncFailed returns a boolean if a field has been set. + +### GetIsSyncInFlight + +`func (o *PackageQuarantineResponse) GetIsSyncInFlight() bool` + +GetIsSyncInFlight returns the IsSyncInFlight field if non-nil, zero value otherwise. + +### GetIsSyncInFlightOk + +`func (o *PackageQuarantineResponse) GetIsSyncInFlightOk() (*bool, bool)` + +GetIsSyncInFlightOk returns a tuple with the IsSyncInFlight field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetIsSyncInFlight + +`func (o *PackageQuarantineResponse) SetIsSyncInFlight(v bool)` + +SetIsSyncInFlight sets IsSyncInFlight field to given value. + +### HasIsSyncInFlight + +`func (o *PackageQuarantineResponse) HasIsSyncInFlight() bool` + +HasIsSyncInFlight returns a boolean if a field has been set. + +### GetIsSyncInProgress + +`func (o *PackageQuarantineResponse) GetIsSyncInProgress() bool` + +GetIsSyncInProgress returns the IsSyncInProgress field if non-nil, zero value otherwise. + +### GetIsSyncInProgressOk + +`func (o *PackageQuarantineResponse) GetIsSyncInProgressOk() (*bool, bool)` + +GetIsSyncInProgressOk returns a tuple with the IsSyncInProgress field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetIsSyncInProgress + +`func (o *PackageQuarantineResponse) SetIsSyncInProgress(v bool)` + +SetIsSyncInProgress sets IsSyncInProgress field to given value. + +### HasIsSyncInProgress + +`func (o *PackageQuarantineResponse) HasIsSyncInProgress() bool` + +HasIsSyncInProgress returns a boolean if a field has been set. + +### GetLicense + +`func (o *PackageQuarantineResponse) GetLicense() string` + +GetLicense returns the License field if non-nil, zero value otherwise. + +### GetLicenseOk + +`func (o *PackageQuarantineResponse) GetLicenseOk() (*string, bool)` + +GetLicenseOk returns a tuple with the License field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetLicense + +`func (o *PackageQuarantineResponse) SetLicense(v string)` + +SetLicense sets License field to given value. + +### HasLicense + +`func (o *PackageQuarantineResponse) HasLicense() bool` + +HasLicense returns a boolean if a field has been set. + +### GetName + +`func (o *PackageQuarantineResponse) GetName() string` + +GetName returns the Name field if non-nil, zero value otherwise. + +### GetNameOk + +`func (o *PackageQuarantineResponse) GetNameOk() (*string, bool)` + +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. + +### SetName + +`func (o *PackageQuarantineResponse) SetName(v string)` + +SetName sets Name field to given value. + +### HasName + +`func (o *PackageQuarantineResponse) HasName() bool` + +HasName returns a boolean if a field has been set. + +### GetNamespace + +`func (o *PackageQuarantineResponse) GetNamespace() string` + +GetNamespace returns the Namespace field if non-nil, zero value otherwise. + +### GetNamespaceOk + +`func (o *PackageQuarantineResponse) GetNamespaceOk() (*string, bool)` + +GetNamespaceOk returns a tuple with the Namespace field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetNamespace + +`func (o *PackageQuarantineResponse) SetNamespace(v string)` + +SetNamespace sets Namespace field to given value. + +### HasNamespace + +`func (o *PackageQuarantineResponse) HasNamespace() bool` + +HasNamespace returns a boolean if a field has been set. + +### GetNamespaceUrl + +`func (o *PackageQuarantineResponse) GetNamespaceUrl() string` + +GetNamespaceUrl returns the NamespaceUrl field if non-nil, zero value otherwise. + +### GetNamespaceUrlOk + +`func (o *PackageQuarantineResponse) GetNamespaceUrlOk() (*string, bool)` + +GetNamespaceUrlOk returns a tuple with the NamespaceUrl field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetNamespaceUrl + +`func (o *PackageQuarantineResponse) SetNamespaceUrl(v string)` + +SetNamespaceUrl sets NamespaceUrl field to given value. + +### HasNamespaceUrl + +`func (o *PackageQuarantineResponse) HasNamespaceUrl() bool` + +HasNamespaceUrl returns a boolean if a field has been set. + +### GetNumFiles + +`func (o *PackageQuarantineResponse) GetNumFiles() int64` + +GetNumFiles returns the NumFiles field if non-nil, zero value otherwise. + +### GetNumFilesOk + +`func (o *PackageQuarantineResponse) GetNumFilesOk() (*int64, bool)` + +GetNumFilesOk returns a tuple with the NumFiles field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetNumFiles + +`func (o *PackageQuarantineResponse) SetNumFiles(v int64)` + +SetNumFiles sets NumFiles field to given value. + +### HasNumFiles + +`func (o *PackageQuarantineResponse) HasNumFiles() bool` + +HasNumFiles returns a boolean if a field has been set. + +### GetOriginRepository + +`func (o *PackageQuarantineResponse) GetOriginRepository() string` + +GetOriginRepository returns the OriginRepository field if non-nil, zero value otherwise. + +### GetOriginRepositoryOk + +`func (o *PackageQuarantineResponse) GetOriginRepositoryOk() (*string, bool)` + +GetOriginRepositoryOk returns a tuple with the OriginRepository field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetOriginRepository + +`func (o *PackageQuarantineResponse) SetOriginRepository(v string)` + +SetOriginRepository sets OriginRepository field to given value. + +### HasOriginRepository + +`func (o *PackageQuarantineResponse) HasOriginRepository() bool` + +HasOriginRepository returns a boolean if a field has been set. + +### GetOriginRepositoryUrl + +`func (o *PackageQuarantineResponse) GetOriginRepositoryUrl() string` + +GetOriginRepositoryUrl returns the OriginRepositoryUrl field if non-nil, zero value otherwise. + +### GetOriginRepositoryUrlOk + +`func (o *PackageQuarantineResponse) GetOriginRepositoryUrlOk() (*string, bool)` + +GetOriginRepositoryUrlOk returns a tuple with the OriginRepositoryUrl field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetOriginRepositoryUrl + +`func (o *PackageQuarantineResponse) SetOriginRepositoryUrl(v string)` + +SetOriginRepositoryUrl sets OriginRepositoryUrl field to given value. + +### HasOriginRepositoryUrl + +`func (o *PackageQuarantineResponse) HasOriginRepositoryUrl() bool` + +HasOriginRepositoryUrl returns a boolean if a field has been set. + +### GetPackageType + +`func (o *PackageQuarantineResponse) GetPackageType() int64` + +GetPackageType returns the PackageType field if non-nil, zero value otherwise. + +### GetPackageTypeOk + +`func (o *PackageQuarantineResponse) GetPackageTypeOk() (*int64, bool)` + +GetPackageTypeOk returns a tuple with the PackageType field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetPackageType + +`func (o *PackageQuarantineResponse) SetPackageType(v int64)` + +SetPackageType sets PackageType field to given value. + +### HasPackageType + +`func (o *PackageQuarantineResponse) HasPackageType() bool` + +HasPackageType returns a boolean if a field has been set. + +### GetRelease + +`func (o *PackageQuarantineResponse) GetRelease() string` + +GetRelease returns the Release field if non-nil, zero value otherwise. + +### GetReleaseOk + +`func (o *PackageQuarantineResponse) GetReleaseOk() (*string, bool)` + +GetReleaseOk returns a tuple with the Release field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetRelease + +`func (o *PackageQuarantineResponse) SetRelease(v string)` + +SetRelease sets Release field to given value. + +### HasRelease + +`func (o *PackageQuarantineResponse) HasRelease() bool` + +HasRelease returns a boolean if a field has been set. + +### GetRepository + +`func (o *PackageQuarantineResponse) GetRepository() string` + +GetRepository returns the Repository field if non-nil, zero value otherwise. + +### GetRepositoryOk + +`func (o *PackageQuarantineResponse) GetRepositoryOk() (*string, bool)` + +GetRepositoryOk returns a tuple with the Repository field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetRepository + +`func (o *PackageQuarantineResponse) SetRepository(v string)` + +SetRepository sets Repository field to given value. + +### HasRepository + +`func (o *PackageQuarantineResponse) HasRepository() bool` + +HasRepository returns a boolean if a field has been set. + +### GetRepositoryUrl + +`func (o *PackageQuarantineResponse) GetRepositoryUrl() string` + +GetRepositoryUrl returns the RepositoryUrl field if non-nil, zero value otherwise. + +### GetRepositoryUrlOk + +`func (o *PackageQuarantineResponse) GetRepositoryUrlOk() (*string, bool)` + +GetRepositoryUrlOk returns a tuple with the RepositoryUrl field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetRepositoryUrl + +`func (o *PackageQuarantineResponse) SetRepositoryUrl(v string)` + +SetRepositoryUrl sets RepositoryUrl field to given value. + +### HasRepositoryUrl + +`func (o *PackageQuarantineResponse) HasRepositoryUrl() bool` + +HasRepositoryUrl returns a boolean if a field has been set. + +### GetSecurityScanCompletedAt + +`func (o *PackageQuarantineResponse) GetSecurityScanCompletedAt() time.Time` + +GetSecurityScanCompletedAt returns the SecurityScanCompletedAt field if non-nil, zero value otherwise. + +### GetSecurityScanCompletedAtOk + +`func (o *PackageQuarantineResponse) GetSecurityScanCompletedAtOk() (*time.Time, bool)` + +GetSecurityScanCompletedAtOk returns a tuple with the SecurityScanCompletedAt field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetSecurityScanCompletedAt + +`func (o *PackageQuarantineResponse) SetSecurityScanCompletedAt(v time.Time)` + +SetSecurityScanCompletedAt sets SecurityScanCompletedAt field to given value. + +### HasSecurityScanCompletedAt + +`func (o *PackageQuarantineResponse) HasSecurityScanCompletedAt() bool` + +HasSecurityScanCompletedAt returns a boolean if a field has been set. + +### GetSecurityScanStartedAt + +`func (o *PackageQuarantineResponse) GetSecurityScanStartedAt() time.Time` + +GetSecurityScanStartedAt returns the SecurityScanStartedAt field if non-nil, zero value otherwise. + +### GetSecurityScanStartedAtOk + +`func (o *PackageQuarantineResponse) GetSecurityScanStartedAtOk() (*time.Time, bool)` + +GetSecurityScanStartedAtOk returns a tuple with the SecurityScanStartedAt field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetSecurityScanStartedAt + +`func (o *PackageQuarantineResponse) SetSecurityScanStartedAt(v time.Time)` + +SetSecurityScanStartedAt sets SecurityScanStartedAt field to given value. + +### HasSecurityScanStartedAt + +`func (o *PackageQuarantineResponse) HasSecurityScanStartedAt() bool` + +HasSecurityScanStartedAt returns a boolean if a field has been set. + +### GetSecurityScanStatus + +`func (o *PackageQuarantineResponse) GetSecurityScanStatus() string` + +GetSecurityScanStatus returns the SecurityScanStatus field if non-nil, zero value otherwise. + +### GetSecurityScanStatusOk + +`func (o *PackageQuarantineResponse) GetSecurityScanStatusOk() (*string, bool)` + +GetSecurityScanStatusOk returns a tuple with the SecurityScanStatus field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetSecurityScanStatus + +`func (o *PackageQuarantineResponse) SetSecurityScanStatus(v string)` + +SetSecurityScanStatus sets SecurityScanStatus field to given value. + +### HasSecurityScanStatus + +`func (o *PackageQuarantineResponse) HasSecurityScanStatus() bool` + +HasSecurityScanStatus returns a boolean if a field has been set. + +### SetSecurityScanStatusNil + +`func (o *PackageQuarantineResponse) SetSecurityScanStatusNil(b bool)` + + SetSecurityScanStatusNil sets the value for SecurityScanStatus to be an explicit nil + +### UnsetSecurityScanStatus +`func (o *PackageQuarantineResponse) UnsetSecurityScanStatus()` + +UnsetSecurityScanStatus ensures that no value is present for SecurityScanStatus, not even an explicit nil +### GetSecurityScanStatusUpdatedAt + +`func (o *PackageQuarantineResponse) GetSecurityScanStatusUpdatedAt() time.Time` + +GetSecurityScanStatusUpdatedAt returns the SecurityScanStatusUpdatedAt field if non-nil, zero value otherwise. + +### GetSecurityScanStatusUpdatedAtOk + +`func (o *PackageQuarantineResponse) GetSecurityScanStatusUpdatedAtOk() (*time.Time, bool)` + +GetSecurityScanStatusUpdatedAtOk returns a tuple with the SecurityScanStatusUpdatedAt field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetSecurityScanStatusUpdatedAt + +`func (o *PackageQuarantineResponse) SetSecurityScanStatusUpdatedAt(v time.Time)` + +SetSecurityScanStatusUpdatedAt sets SecurityScanStatusUpdatedAt field to given value. + +### HasSecurityScanStatusUpdatedAt + +`func (o *PackageQuarantineResponse) HasSecurityScanStatusUpdatedAt() bool` + +HasSecurityScanStatusUpdatedAt returns a boolean if a field has been set. + +### GetSelfHtmlUrl + +`func (o *PackageQuarantineResponse) GetSelfHtmlUrl() string` + +GetSelfHtmlUrl returns the SelfHtmlUrl field if non-nil, zero value otherwise. + +### GetSelfHtmlUrlOk + +`func (o *PackageQuarantineResponse) GetSelfHtmlUrlOk() (*string, bool)` + +GetSelfHtmlUrlOk returns a tuple with the SelfHtmlUrl field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetSelfHtmlUrl + +`func (o *PackageQuarantineResponse) SetSelfHtmlUrl(v string)` + +SetSelfHtmlUrl sets SelfHtmlUrl field to given value. + +### HasSelfHtmlUrl + +`func (o *PackageQuarantineResponse) HasSelfHtmlUrl() bool` + +HasSelfHtmlUrl returns a boolean if a field has been set. + +### GetSelfUrl + +`func (o *PackageQuarantineResponse) GetSelfUrl() string` + +GetSelfUrl returns the SelfUrl field if non-nil, zero value otherwise. + +### GetSelfUrlOk + +`func (o *PackageQuarantineResponse) GetSelfUrlOk() (*string, bool)` + +GetSelfUrlOk returns a tuple with the SelfUrl field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetSelfUrl + +`func (o *PackageQuarantineResponse) SetSelfUrl(v string)` + +SetSelfUrl sets SelfUrl field to given value. + +### HasSelfUrl + +`func (o *PackageQuarantineResponse) HasSelfUrl() bool` + +HasSelfUrl returns a boolean if a field has been set. + +### GetSignatureUrl + +`func (o *PackageQuarantineResponse) GetSignatureUrl() string` + +GetSignatureUrl returns the SignatureUrl field if non-nil, zero value otherwise. + +### GetSignatureUrlOk + +`func (o *PackageQuarantineResponse) GetSignatureUrlOk() (*string, bool)` + +GetSignatureUrlOk returns a tuple with the SignatureUrl field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetSignatureUrl + +`func (o *PackageQuarantineResponse) SetSignatureUrl(v string)` + +SetSignatureUrl sets SignatureUrl field to given value. + +### HasSignatureUrl + +`func (o *PackageQuarantineResponse) HasSignatureUrl() bool` + +HasSignatureUrl returns a boolean if a field has been set. + +### SetSignatureUrlNil + +`func (o *PackageQuarantineResponse) SetSignatureUrlNil(b bool)` + + SetSignatureUrlNil sets the value for SignatureUrl to be an explicit nil + +### UnsetSignatureUrl +`func (o *PackageQuarantineResponse) UnsetSignatureUrl()` + +UnsetSignatureUrl ensures that no value is present for SignatureUrl, not even an explicit nil +### GetSize + +`func (o *PackageQuarantineResponse) GetSize() int64` + +GetSize returns the Size field if non-nil, zero value otherwise. + +### GetSizeOk + +`func (o *PackageQuarantineResponse) GetSizeOk() (*int64, bool)` + +GetSizeOk returns a tuple with the Size field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetSize + +`func (o *PackageQuarantineResponse) SetSize(v int64)` + +SetSize sets Size field to given value. + +### HasSize + +`func (o *PackageQuarantineResponse) HasSize() bool` + +HasSize returns a boolean if a field has been set. + +### GetSlug + +`func (o *PackageQuarantineResponse) GetSlug() string` + +GetSlug returns the Slug field if non-nil, zero value otherwise. + +### GetSlugOk + +`func (o *PackageQuarantineResponse) GetSlugOk() (*string, bool)` + +GetSlugOk returns a tuple with the Slug field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetSlug + +`func (o *PackageQuarantineResponse) SetSlug(v string)` + +SetSlug sets Slug field to given value. + +### HasSlug + +`func (o *PackageQuarantineResponse) HasSlug() bool` + +HasSlug returns a boolean if a field has been set. + +### GetSlugPerm + +`func (o *PackageQuarantineResponse) GetSlugPerm() string` + +GetSlugPerm returns the SlugPerm field if non-nil, zero value otherwise. + +### GetSlugPermOk + +`func (o *PackageQuarantineResponse) GetSlugPermOk() (*string, bool)` + +GetSlugPermOk returns a tuple with the SlugPerm field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetSlugPerm + +`func (o *PackageQuarantineResponse) SetSlugPerm(v string)` + +SetSlugPerm sets SlugPerm field to given value. + +### HasSlugPerm + +`func (o *PackageQuarantineResponse) HasSlugPerm() bool` + +HasSlugPerm returns a boolean if a field has been set. + +### GetStage + +`func (o *PackageQuarantineResponse) GetStage() int64` + +GetStage returns the Stage field if non-nil, zero value otherwise. + +### GetStageOk + +`func (o *PackageQuarantineResponse) GetStageOk() (*int64, bool)` + +GetStageOk returns a tuple with the Stage field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetStage + +`func (o *PackageQuarantineResponse) SetStage(v int64)` + +SetStage sets Stage field to given value. + +### HasStage + +`func (o *PackageQuarantineResponse) HasStage() bool` + +HasStage returns a boolean if a field has been set. + +### GetStageStr + +`func (o *PackageQuarantineResponse) GetStageStr() string` + +GetStageStr returns the StageStr field if non-nil, zero value otherwise. + +### GetStageStrOk + +`func (o *PackageQuarantineResponse) GetStageStrOk() (*string, bool)` + +GetStageStrOk returns a tuple with the StageStr field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetStageStr + +`func (o *PackageQuarantineResponse) SetStageStr(v string)` + +SetStageStr sets StageStr field to given value. + +### HasStageStr + +`func (o *PackageQuarantineResponse) HasStageStr() bool` + +HasStageStr returns a boolean if a field has been set. + +### GetStageUpdatedAt + +`func (o *PackageQuarantineResponse) GetStageUpdatedAt() time.Time` + +GetStageUpdatedAt returns the StageUpdatedAt field if non-nil, zero value otherwise. + +### GetStageUpdatedAtOk + +`func (o *PackageQuarantineResponse) GetStageUpdatedAtOk() (*time.Time, bool)` + +GetStageUpdatedAtOk returns a tuple with the StageUpdatedAt field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetStageUpdatedAt + +`func (o *PackageQuarantineResponse) SetStageUpdatedAt(v time.Time)` + +SetStageUpdatedAt sets StageUpdatedAt field to given value. + +### HasStageUpdatedAt + +`func (o *PackageQuarantineResponse) HasStageUpdatedAt() bool` + +HasStageUpdatedAt returns a boolean if a field has been set. + +### GetStatus + +`func (o *PackageQuarantineResponse) GetStatus() int64` + +GetStatus returns the Status field if non-nil, zero value otherwise. + +### GetStatusOk + +`func (o *PackageQuarantineResponse) GetStatusOk() (*int64, bool)` + +GetStatusOk returns a tuple with the Status field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetStatus + +`func (o *PackageQuarantineResponse) SetStatus(v int64)` + +SetStatus sets Status field to given value. + +### HasStatus + +`func (o *PackageQuarantineResponse) HasStatus() bool` + +HasStatus returns a boolean if a field has been set. + +### GetStatusReason + +`func (o *PackageQuarantineResponse) GetStatusReason() string` + +GetStatusReason returns the StatusReason field if non-nil, zero value otherwise. + +### GetStatusReasonOk + +`func (o *PackageQuarantineResponse) GetStatusReasonOk() (*string, bool)` + +GetStatusReasonOk returns a tuple with the StatusReason field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetStatusReason + +`func (o *PackageQuarantineResponse) SetStatusReason(v string)` + +SetStatusReason sets StatusReason field to given value. + +### HasStatusReason + +`func (o *PackageQuarantineResponse) HasStatusReason() bool` + +HasStatusReason returns a boolean if a field has been set. + +### GetStatusStr + +`func (o *PackageQuarantineResponse) GetStatusStr() string` + +GetStatusStr returns the StatusStr field if non-nil, zero value otherwise. + +### GetStatusStrOk + +`func (o *PackageQuarantineResponse) GetStatusStrOk() (*string, bool)` + +GetStatusStrOk returns a tuple with the StatusStr field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetStatusStr + +`func (o *PackageQuarantineResponse) SetStatusStr(v string)` + +SetStatusStr sets StatusStr field to given value. + +### HasStatusStr + +`func (o *PackageQuarantineResponse) HasStatusStr() bool` + +HasStatusStr returns a boolean if a field has been set. + +### GetStatusUpdatedAt + +`func (o *PackageQuarantineResponse) GetStatusUpdatedAt() time.Time` + +GetStatusUpdatedAt returns the StatusUpdatedAt field if non-nil, zero value otherwise. + +### GetStatusUpdatedAtOk + +`func (o *PackageQuarantineResponse) GetStatusUpdatedAtOk() (*time.Time, bool)` + +GetStatusUpdatedAtOk returns a tuple with the StatusUpdatedAt field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetStatusUpdatedAt + +`func (o *PackageQuarantineResponse) SetStatusUpdatedAt(v time.Time)` + +SetStatusUpdatedAt sets StatusUpdatedAt field to given value. + +### HasStatusUpdatedAt + +`func (o *PackageQuarantineResponse) HasStatusUpdatedAt() bool` + +HasStatusUpdatedAt returns a boolean if a field has been set. + +### GetStatusUrl + +`func (o *PackageQuarantineResponse) GetStatusUrl() string` + +GetStatusUrl returns the StatusUrl field if non-nil, zero value otherwise. + +### GetStatusUrlOk + +`func (o *PackageQuarantineResponse) GetStatusUrlOk() (*string, bool)` + +GetStatusUrlOk returns a tuple with the StatusUrl field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetStatusUrl + +`func (o *PackageQuarantineResponse) SetStatusUrl(v string)` + +SetStatusUrl sets StatusUrl field to given value. + +### HasStatusUrl + +`func (o *PackageQuarantineResponse) HasStatusUrl() bool` + +HasStatusUrl returns a boolean if a field has been set. + +### GetSubtype + +`func (o *PackageQuarantineResponse) GetSubtype() string` + +GetSubtype returns the Subtype field if non-nil, zero value otherwise. + +### GetSubtypeOk + +`func (o *PackageQuarantineResponse) GetSubtypeOk() (*string, bool)` + +GetSubtypeOk returns a tuple with the Subtype field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetSubtype + +`func (o *PackageQuarantineResponse) SetSubtype(v string)` + +SetSubtype sets Subtype field to given value. + +### HasSubtype + +`func (o *PackageQuarantineResponse) HasSubtype() bool` + +HasSubtype returns a boolean if a field has been set. + +### GetSummary + +`func (o *PackageQuarantineResponse) GetSummary() string` + +GetSummary returns the Summary field if non-nil, zero value otherwise. + +### GetSummaryOk + +`func (o *PackageQuarantineResponse) GetSummaryOk() (*string, bool)` + +GetSummaryOk returns a tuple with the Summary field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetSummary + +`func (o *PackageQuarantineResponse) SetSummary(v string)` + +SetSummary sets Summary field to given value. + +### HasSummary + +`func (o *PackageQuarantineResponse) HasSummary() bool` + +HasSummary returns a boolean if a field has been set. + +### GetSyncFinishedAt + +`func (o *PackageQuarantineResponse) GetSyncFinishedAt() time.Time` + +GetSyncFinishedAt returns the SyncFinishedAt field if non-nil, zero value otherwise. + +### GetSyncFinishedAtOk + +`func (o *PackageQuarantineResponse) GetSyncFinishedAtOk() (*time.Time, bool)` + +GetSyncFinishedAtOk returns a tuple with the SyncFinishedAt field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetSyncFinishedAt + +`func (o *PackageQuarantineResponse) SetSyncFinishedAt(v time.Time)` + +SetSyncFinishedAt sets SyncFinishedAt field to given value. + +### HasSyncFinishedAt + +`func (o *PackageQuarantineResponse) HasSyncFinishedAt() bool` + +HasSyncFinishedAt returns a boolean if a field has been set. + +### GetSyncProgress + +`func (o *PackageQuarantineResponse) GetSyncProgress() int64` + +GetSyncProgress returns the SyncProgress field if non-nil, zero value otherwise. + +### GetSyncProgressOk + +`func (o *PackageQuarantineResponse) GetSyncProgressOk() (*int64, bool)` + +GetSyncProgressOk returns a tuple with the SyncProgress field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetSyncProgress + +`func (o *PackageQuarantineResponse) SetSyncProgress(v int64)` + +SetSyncProgress sets SyncProgress field to given value. + +### HasSyncProgress + +`func (o *PackageQuarantineResponse) HasSyncProgress() bool` + +HasSyncProgress returns a boolean if a field has been set. + +### GetTags + +`func (o *PackageQuarantineResponse) GetTags() map[string]interface{}` + +GetTags returns the Tags field if non-nil, zero value otherwise. + +### GetTagsOk + +`func (o *PackageQuarantineResponse) GetTagsOk() (*map[string]interface{}, bool)` + +GetTagsOk returns a tuple with the Tags field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetTags + +`func (o *PackageQuarantineResponse) SetTags(v map[string]interface{})` + +SetTags sets Tags field to given value. + +### HasTags + +`func (o *PackageQuarantineResponse) HasTags() bool` + +HasTags returns a boolean if a field has been set. + +### GetTagsImmutable + +`func (o *PackageQuarantineResponse) GetTagsImmutable() map[string]interface{}` + +GetTagsImmutable returns the TagsImmutable field if non-nil, zero value otherwise. + +### GetTagsImmutableOk + +`func (o *PackageQuarantineResponse) GetTagsImmutableOk() (*map[string]interface{}, bool)` + +GetTagsImmutableOk returns a tuple with the TagsImmutable field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetTagsImmutable + +`func (o *PackageQuarantineResponse) SetTagsImmutable(v map[string]interface{})` + +SetTagsImmutable sets TagsImmutable field to given value. + +### HasTagsImmutable + +`func (o *PackageQuarantineResponse) HasTagsImmutable() bool` + +HasTagsImmutable returns a boolean if a field has been set. + +### GetTypeDisplay + +`func (o *PackageQuarantineResponse) GetTypeDisplay() string` + +GetTypeDisplay returns the TypeDisplay field if non-nil, zero value otherwise. + +### GetTypeDisplayOk + +`func (o *PackageQuarantineResponse) GetTypeDisplayOk() (*string, bool)` + +GetTypeDisplayOk returns a tuple with the TypeDisplay field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetTypeDisplay + +`func (o *PackageQuarantineResponse) SetTypeDisplay(v string)` + +SetTypeDisplay sets TypeDisplay field to given value. + +### HasTypeDisplay + +`func (o *PackageQuarantineResponse) HasTypeDisplay() bool` + +HasTypeDisplay returns a boolean if a field has been set. + +### GetUploadedAt + +`func (o *PackageQuarantineResponse) GetUploadedAt() time.Time` + +GetUploadedAt returns the UploadedAt field if non-nil, zero value otherwise. + +### GetUploadedAtOk + +`func (o *PackageQuarantineResponse) GetUploadedAtOk() (*time.Time, bool)` + +GetUploadedAtOk returns a tuple with the UploadedAt field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetUploadedAt + +`func (o *PackageQuarantineResponse) SetUploadedAt(v time.Time)` + +SetUploadedAt sets UploadedAt field to given value. + +### HasUploadedAt + +`func (o *PackageQuarantineResponse) HasUploadedAt() bool` + +HasUploadedAt returns a boolean if a field has been set. + +### GetUploader + +`func (o *PackageQuarantineResponse) GetUploader() string` + +GetUploader returns the Uploader field if non-nil, zero value otherwise. + +### GetUploaderOk + +`func (o *PackageQuarantineResponse) GetUploaderOk() (*string, bool)` + +GetUploaderOk returns a tuple with the Uploader field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetUploader + +`func (o *PackageQuarantineResponse) SetUploader(v string)` + +SetUploader sets Uploader field to given value. + +### HasUploader + +`func (o *PackageQuarantineResponse) HasUploader() bool` + +HasUploader returns a boolean if a field has been set. + +### GetUploaderUrl + +`func (o *PackageQuarantineResponse) GetUploaderUrl() string` + +GetUploaderUrl returns the UploaderUrl field if non-nil, zero value otherwise. + +### GetUploaderUrlOk + +`func (o *PackageQuarantineResponse) GetUploaderUrlOk() (*string, bool)` + +GetUploaderUrlOk returns a tuple with the UploaderUrl field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetUploaderUrl + +`func (o *PackageQuarantineResponse) SetUploaderUrl(v string)` + +SetUploaderUrl sets UploaderUrl field to given value. + +### HasUploaderUrl + +`func (o *PackageQuarantineResponse) HasUploaderUrl() bool` + +HasUploaderUrl returns a boolean if a field has been set. + +### GetVersion + +`func (o *PackageQuarantineResponse) GetVersion() string` + +GetVersion returns the Version field if non-nil, zero value otherwise. + +### GetVersionOk + +`func (o *PackageQuarantineResponse) GetVersionOk() (*string, bool)` + +GetVersionOk returns a tuple with the Version field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetVersion + +`func (o *PackageQuarantineResponse) SetVersion(v string)` + +SetVersion sets Version field to given value. + +### HasVersion + +`func (o *PackageQuarantineResponse) HasVersion() bool` + +HasVersion returns a boolean if a field has been set. + +### GetVersionOrig + +`func (o *PackageQuarantineResponse) GetVersionOrig() string` + +GetVersionOrig returns the VersionOrig field if non-nil, zero value otherwise. + +### GetVersionOrigOk + +`func (o *PackageQuarantineResponse) GetVersionOrigOk() (*string, bool)` + +GetVersionOrigOk returns a tuple with the VersionOrig field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetVersionOrig + +`func (o *PackageQuarantineResponse) SetVersionOrig(v string)` + +SetVersionOrig sets VersionOrig field to given value. + +### HasVersionOrig + +`func (o *PackageQuarantineResponse) HasVersionOrig() bool` + +HasVersionOrig returns a boolean if a field has been set. + +### GetVulnerabilityScanResultsUrl + +`func (o *PackageQuarantineResponse) GetVulnerabilityScanResultsUrl() string` + +GetVulnerabilityScanResultsUrl returns the VulnerabilityScanResultsUrl field if non-nil, zero value otherwise. + +### GetVulnerabilityScanResultsUrlOk + +`func (o *PackageQuarantineResponse) GetVulnerabilityScanResultsUrlOk() (*string, bool)` + +GetVulnerabilityScanResultsUrlOk returns a tuple with the VulnerabilityScanResultsUrl field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetVulnerabilityScanResultsUrl + +`func (o *PackageQuarantineResponse) SetVulnerabilityScanResultsUrl(v string)` + +SetVulnerabilityScanResultsUrl sets VulnerabilityScanResultsUrl field to given value. + +### HasVulnerabilityScanResultsUrl + +`func (o *PackageQuarantineResponse) HasVulnerabilityScanResultsUrl() bool` + +HasVulnerabilityScanResultsUrl 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/docs/PackageCopy.md b/docs/PackageResponse.md similarity index 57% rename from docs/PackageCopy.md rename to docs/PackageResponse.md index dd7b7994..c0e54bb1 100644 --- a/docs/PackageCopy.md +++ b/docs/PackageResponse.md @@ -1,1768 +1,1860 @@ -# PackageCopy +# PackageResponse ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**Architectures** | Pointer to [**[]PackagesOwnerRepoArchitectures**](PackagesOwnerRepoArchitectures.md) | | [optional] -**CdnUrl** | Pointer to **string** | | [optional] -**ChecksumMd5** | Pointer to **string** | | [optional] -**ChecksumSha1** | Pointer to **string** | | [optional] -**ChecksumSha256** | Pointer to **string** | | [optional] -**ChecksumSha512** | Pointer to **string** | | [optional] -**DependenciesChecksumMd5** | Pointer to **string** | A checksum of all of the package's dependencies. | [optional] -**DependenciesUrl** | Pointer to **string** | | [optional] -**Description** | Pointer to **string** | A textual description of this package. | [optional] -**Distro** | Pointer to **map[string]interface{}** | | [optional] -**DistroVersion** | Pointer to **map[string]interface{}** | | [optional] -**Downloads** | Pointer to **int64** | | [optional] -**Epoch** | Pointer to **int64** | The epoch of the package version (if any). | [optional] -**Extension** | Pointer to **string** | | [optional] -**Filename** | Pointer to **string** | | [optional] -**Files** | Pointer to [**[]PackagesOwnerRepoFiles**](PackagesOwnerRepoFiles.md) | | [optional] -**Format** | Pointer to **string** | | [optional] -**FormatUrl** | Pointer to **string** | | [optional] -**IdentifierPerm** | Pointer to **string** | Unique and permanent identifier for the package. | [optional] -**Indexed** | Pointer to **bool** | | [optional] -**IsDownloadable** | Pointer to **bool** | | [optional] -**IsQuarantined** | Pointer to **bool** | | [optional] -**IsSyncAwaiting** | Pointer to **bool** | | [optional] -**IsSyncCompleted** | Pointer to **bool** | | [optional] -**IsSyncFailed** | Pointer to **bool** | | [optional] -**IsSyncInFlight** | Pointer to **bool** | | [optional] -**IsSyncInProgress** | Pointer to **bool** | | [optional] -**License** | Pointer to **string** | The license of this package. | [optional] -**Name** | Pointer to **string** | The name of this package. | [optional] -**Namespace** | Pointer to **string** | | [optional] -**NamespaceUrl** | Pointer to **string** | | [optional] -**NumFiles** | Pointer to **int64** | | [optional] -**PackageType** | Pointer to **int64** | The type of package contents. | [optional] -**Release** | Pointer to **string** | The release of the package version (if any). | [optional] -**Repository** | Pointer to **string** | The repository the package will be copied to. | [optional] -**RepositoryUrl** | Pointer to **string** | | [optional] -**SecurityScanCompletedAt** | Pointer to **string** | The datetime the security scanning was completed. | [optional] -**SecurityScanStartedAt** | Pointer to **string** | The datetime the security scanning was started. | [optional] -**SecurityScanStatus** | Pointer to **string** | | [optional] -**SecurityScanStatusUpdatedAt** | Pointer to **string** | The datetime the security scanning status was updated. | [optional] -**SelfHtmlUrl** | Pointer to **string** | | [optional] -**SelfUrl** | Pointer to **string** | | [optional] -**SignatureUrl** | Pointer to **string** | | [optional] -**Size** | Pointer to **int64** | The calculated size of the package. | [optional] -**Slug** | Pointer to **string** | The public unique identifier for the package. | [optional] -**SlugPerm** | Pointer to **string** | | [optional] -**Stage** | Pointer to **int64** | The synchronisation (in progress) stage of the package. | [optional] -**StageStr** | Pointer to **string** | | [optional] -**StageUpdatedAt** | Pointer to **string** | The datetime the package stage was updated at. | [optional] -**Status** | Pointer to **int64** | The synchronisation status of the package. | [optional] -**StatusReason** | Pointer to **string** | A textual description for the synchronous status reason (if any | [optional] -**StatusStr** | Pointer to **string** | | [optional] -**StatusUpdatedAt** | Pointer to **string** | The datetime the package status was updated at. | [optional] -**StatusUrl** | Pointer to **string** | | [optional] -**Subtype** | Pointer to **string** | | [optional] -**Summary** | Pointer to **string** | A one-liner synopsis of this package. | [optional] -**SyncFinishedAt** | Pointer to **string** | The datetime the package sync was finished at. | [optional] -**SyncProgress** | Pointer to **int64** | Synchronisation progress (from 0-100) | [optional] +**Architectures** | Pointer to [**[]Architecture**](Architecture.md) | | [optional] [readonly] +**CdnUrl** | Pointer to **NullableString** | | [optional] [readonly] +**ChecksumMd5** | Pointer to **string** | | [optional] [readonly] +**ChecksumSha1** | Pointer to **string** | | [optional] [readonly] +**ChecksumSha256** | Pointer to **string** | | [optional] [readonly] +**ChecksumSha512** | Pointer to **string** | | [optional] [readonly] +**DependenciesChecksumMd5** | Pointer to **string** | A checksum of all of the package's dependencies. | [optional] [readonly] +**DependenciesUrl** | Pointer to **string** | | [optional] [readonly] +**Description** | Pointer to **string** | A textual description of this package. | [optional] [readonly] +**Distro** | Pointer to [**NullableDistribution**](Distribution.md) | | [optional] +**DistroVersion** | Pointer to [**DistributionVersion**](DistributionVersion.md) | | [optional] +**Downloads** | Pointer to **int64** | | [optional] [readonly] +**Epoch** | Pointer to **int64** | The epoch of the package version (if any). | [optional] [readonly] +**Extension** | Pointer to **string** | | [optional] [readonly] +**Filename** | Pointer to **string** | | [optional] [readonly] +**Files** | Pointer to [**[]PackageFile**](PackageFile.md) | | [optional] [readonly] +**Format** | Pointer to **string** | | [optional] [readonly] +**FormatUrl** | Pointer to **string** | | [optional] [readonly] +**IdentifierPerm** | Pointer to **string** | Unique and permanent identifier for the package. | [optional] [readonly] +**Indexed** | Pointer to **bool** | | [optional] [readonly] +**IsDownloadable** | Pointer to **bool** | | [optional] [readonly] +**IsQuarantined** | Pointer to **bool** | | [optional] [readonly] +**IsSyncAwaiting** | Pointer to **bool** | | [optional] [readonly] +**IsSyncCompleted** | Pointer to **bool** | | [optional] [readonly] +**IsSyncFailed** | Pointer to **bool** | | [optional] [readonly] +**IsSyncInFlight** | Pointer to **bool** | | [optional] [readonly] +**IsSyncInProgress** | Pointer to **bool** | | [optional] [readonly] +**License** | Pointer to **string** | The license of this package. | [optional] [readonly] +**Name** | Pointer to **string** | The name of this package. | [optional] [readonly] +**Namespace** | Pointer to **string** | | [optional] [readonly] +**NamespaceUrl** | Pointer to **string** | | [optional] [readonly] +**NumFiles** | Pointer to **int64** | | [optional] [readonly] +**OriginRepository** | Pointer to **string** | | [optional] [readonly] +**OriginRepositoryUrl** | Pointer to **string** | | [optional] [readonly] +**PackageType** | Pointer to **int64** | The type of package contents. | [optional] [readonly] +**Release** | Pointer to **string** | The release of the package version (if any). | [optional] [readonly] +**Repository** | Pointer to **string** | | [optional] [readonly] +**RepositoryUrl** | Pointer to **string** | | [optional] [readonly] +**SecurityScanCompletedAt** | Pointer to **time.Time** | The datetime the security scanning was completed. | [optional] [readonly] +**SecurityScanStartedAt** | Pointer to **time.Time** | The datetime the security scanning was started. | [optional] [readonly] +**SecurityScanStatus** | Pointer to **NullableString** | | [optional] [readonly] [default to "Awaiting Security Scan"] +**SecurityScanStatusUpdatedAt** | Pointer to **time.Time** | The datetime the security scanning status was updated. | [optional] [readonly] +**SelfHtmlUrl** | Pointer to **string** | | [optional] [readonly] +**SelfUrl** | Pointer to **string** | | [optional] [readonly] +**SignatureUrl** | Pointer to **NullableString** | | [optional] [readonly] +**Size** | Pointer to **int64** | The calculated size of the package. | [optional] [readonly] +**Slug** | Pointer to **string** | The public unique identifier for the package. | [optional] [readonly] +**SlugPerm** | Pointer to **string** | | [optional] [readonly] +**Stage** | Pointer to **int64** | The synchronisation (in progress) stage of the package. | [optional] [readonly] +**StageStr** | Pointer to **string** | | [optional] [readonly] +**StageUpdatedAt** | Pointer to **time.Time** | The datetime the package stage was updated at. | [optional] [readonly] +**Status** | Pointer to **int64** | The synchronisation status of the package. | [optional] [readonly] +**StatusReason** | Pointer to **string** | A textual description for the synchronous status reason (if any | [optional] [readonly] +**StatusStr** | Pointer to **string** | | [optional] [readonly] +**StatusUpdatedAt** | Pointer to **time.Time** | The datetime the package status was updated at. | [optional] [readonly] +**StatusUrl** | Pointer to **string** | | [optional] [readonly] +**Subtype** | Pointer to **string** | | [optional] [readonly] +**Summary** | Pointer to **string** | A one-liner synopsis of this package. | [optional] [readonly] +**SyncFinishedAt** | Pointer to **time.Time** | The datetime the package sync was finished at. | [optional] [readonly] +**SyncProgress** | Pointer to **int64** | Synchronisation progress (from 0-100) | [optional] [readonly] **Tags** | Pointer to **map[string]interface{}** | All tags on the package, grouped by tag type. This includes immutable tags, but doesn't distinguish them from mutable. To see which tags are immutable specifically, see the tags_immutable field. | [optional] -**TagsImmutable** | Pointer to **map[string]interface{}** | All immutable tags on the package, grouped by tag type. Immutable tags cannot be (easily) deleted. | [optional] -**TypeDisplay** | Pointer to **string** | | [optional] -**UploadedAt** | Pointer to **string** | The date this package was uploaded. | [optional] -**Uploader** | Pointer to **string** | | [optional] -**UploaderUrl** | Pointer to **string** | | [optional] -**Version** | Pointer to **string** | The raw version for this package. | [optional] -**VersionOrig** | Pointer to **string** | | [optional] -**VulnerabilityScanResultsUrl** | Pointer to **string** | | [optional] +**TagsImmutable** | Pointer to **map[string]interface{}** | All tags on the package, grouped by tag type. This includes immutable tags, but doesn't distinguish them from mutable. To see which tags are immutable specifically, see the tags_immutable field. | [optional] +**TypeDisplay** | Pointer to **string** | | [optional] [readonly] +**UploadedAt** | Pointer to **time.Time** | The date this package was uploaded. | [optional] [readonly] +**Uploader** | Pointer to **string** | | [optional] [readonly] +**UploaderUrl** | Pointer to **string** | | [optional] [readonly] +**Version** | Pointer to **string** | The raw version for this package. | [optional] [readonly] +**VersionOrig** | Pointer to **string** | | [optional] [readonly] +**VulnerabilityScanResultsUrl** | Pointer to **string** | | [optional] [readonly] ## Methods -### NewPackageCopy +### NewPackageResponse -`func NewPackageCopy() *PackageCopy` +`func NewPackageResponse() *PackageResponse` -NewPackageCopy instantiates a new PackageCopy object +NewPackageResponse instantiates a new PackageResponse object 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 -### NewPackageCopyWithDefaults +### NewPackageResponseWithDefaults -`func NewPackageCopyWithDefaults() *PackageCopy` +`func NewPackageResponseWithDefaults() *PackageResponse` -NewPackageCopyWithDefaults instantiates a new PackageCopy object +NewPackageResponseWithDefaults instantiates a new PackageResponse object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set ### GetArchitectures -`func (o *PackageCopy) GetArchitectures() []PackagesOwnerRepoArchitectures` +`func (o *PackageResponse) GetArchitectures() []Architecture` GetArchitectures returns the Architectures field if non-nil, zero value otherwise. ### GetArchitecturesOk -`func (o *PackageCopy) GetArchitecturesOk() (*[]PackagesOwnerRepoArchitectures, bool)` +`func (o *PackageResponse) GetArchitecturesOk() (*[]Architecture, bool)` GetArchitecturesOk returns a tuple with the Architectures field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetArchitectures -`func (o *PackageCopy) SetArchitectures(v []PackagesOwnerRepoArchitectures)` +`func (o *PackageResponse) SetArchitectures(v []Architecture)` SetArchitectures sets Architectures field to given value. ### HasArchitectures -`func (o *PackageCopy) HasArchitectures() bool` +`func (o *PackageResponse) HasArchitectures() bool` HasArchitectures returns a boolean if a field has been set. ### GetCdnUrl -`func (o *PackageCopy) GetCdnUrl() string` +`func (o *PackageResponse) GetCdnUrl() string` GetCdnUrl returns the CdnUrl field if non-nil, zero value otherwise. ### GetCdnUrlOk -`func (o *PackageCopy) GetCdnUrlOk() (*string, bool)` +`func (o *PackageResponse) GetCdnUrlOk() (*string, bool)` GetCdnUrlOk returns a tuple with the CdnUrl field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetCdnUrl -`func (o *PackageCopy) SetCdnUrl(v string)` +`func (o *PackageResponse) SetCdnUrl(v string)` SetCdnUrl sets CdnUrl field to given value. ### HasCdnUrl -`func (o *PackageCopy) HasCdnUrl() bool` +`func (o *PackageResponse) HasCdnUrl() bool` HasCdnUrl returns a boolean if a field has been set. +### SetCdnUrlNil + +`func (o *PackageResponse) SetCdnUrlNil(b bool)` + + SetCdnUrlNil sets the value for CdnUrl to be an explicit nil + +### UnsetCdnUrl +`func (o *PackageResponse) UnsetCdnUrl()` + +UnsetCdnUrl ensures that no value is present for CdnUrl, not even an explicit nil ### GetChecksumMd5 -`func (o *PackageCopy) GetChecksumMd5() string` +`func (o *PackageResponse) GetChecksumMd5() string` GetChecksumMd5 returns the ChecksumMd5 field if non-nil, zero value otherwise. ### GetChecksumMd5Ok -`func (o *PackageCopy) GetChecksumMd5Ok() (*string, bool)` +`func (o *PackageResponse) GetChecksumMd5Ok() (*string, bool)` GetChecksumMd5Ok returns a tuple with the ChecksumMd5 field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetChecksumMd5 -`func (o *PackageCopy) SetChecksumMd5(v string)` +`func (o *PackageResponse) SetChecksumMd5(v string)` SetChecksumMd5 sets ChecksumMd5 field to given value. ### HasChecksumMd5 -`func (o *PackageCopy) HasChecksumMd5() bool` +`func (o *PackageResponse) HasChecksumMd5() bool` HasChecksumMd5 returns a boolean if a field has been set. ### GetChecksumSha1 -`func (o *PackageCopy) GetChecksumSha1() string` +`func (o *PackageResponse) GetChecksumSha1() string` GetChecksumSha1 returns the ChecksumSha1 field if non-nil, zero value otherwise. ### GetChecksumSha1Ok -`func (o *PackageCopy) GetChecksumSha1Ok() (*string, bool)` +`func (o *PackageResponse) GetChecksumSha1Ok() (*string, bool)` GetChecksumSha1Ok returns a tuple with the ChecksumSha1 field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetChecksumSha1 -`func (o *PackageCopy) SetChecksumSha1(v string)` +`func (o *PackageResponse) SetChecksumSha1(v string)` SetChecksumSha1 sets ChecksumSha1 field to given value. ### HasChecksumSha1 -`func (o *PackageCopy) HasChecksumSha1() bool` +`func (o *PackageResponse) HasChecksumSha1() bool` HasChecksumSha1 returns a boolean if a field has been set. ### GetChecksumSha256 -`func (o *PackageCopy) GetChecksumSha256() string` +`func (o *PackageResponse) GetChecksumSha256() string` GetChecksumSha256 returns the ChecksumSha256 field if non-nil, zero value otherwise. ### GetChecksumSha256Ok -`func (o *PackageCopy) GetChecksumSha256Ok() (*string, bool)` +`func (o *PackageResponse) GetChecksumSha256Ok() (*string, bool)` GetChecksumSha256Ok returns a tuple with the ChecksumSha256 field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetChecksumSha256 -`func (o *PackageCopy) SetChecksumSha256(v string)` +`func (o *PackageResponse) SetChecksumSha256(v string)` SetChecksumSha256 sets ChecksumSha256 field to given value. ### HasChecksumSha256 -`func (o *PackageCopy) HasChecksumSha256() bool` +`func (o *PackageResponse) HasChecksumSha256() bool` HasChecksumSha256 returns a boolean if a field has been set. ### GetChecksumSha512 -`func (o *PackageCopy) GetChecksumSha512() string` +`func (o *PackageResponse) GetChecksumSha512() string` GetChecksumSha512 returns the ChecksumSha512 field if non-nil, zero value otherwise. ### GetChecksumSha512Ok -`func (o *PackageCopy) GetChecksumSha512Ok() (*string, bool)` +`func (o *PackageResponse) GetChecksumSha512Ok() (*string, bool)` GetChecksumSha512Ok returns a tuple with the ChecksumSha512 field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetChecksumSha512 -`func (o *PackageCopy) SetChecksumSha512(v string)` +`func (o *PackageResponse) SetChecksumSha512(v string)` SetChecksumSha512 sets ChecksumSha512 field to given value. ### HasChecksumSha512 -`func (o *PackageCopy) HasChecksumSha512() bool` +`func (o *PackageResponse) HasChecksumSha512() bool` HasChecksumSha512 returns a boolean if a field has been set. ### GetDependenciesChecksumMd5 -`func (o *PackageCopy) GetDependenciesChecksumMd5() string` +`func (o *PackageResponse) GetDependenciesChecksumMd5() string` GetDependenciesChecksumMd5 returns the DependenciesChecksumMd5 field if non-nil, zero value otherwise. ### GetDependenciesChecksumMd5Ok -`func (o *PackageCopy) GetDependenciesChecksumMd5Ok() (*string, bool)` +`func (o *PackageResponse) GetDependenciesChecksumMd5Ok() (*string, bool)` GetDependenciesChecksumMd5Ok returns a tuple with the DependenciesChecksumMd5 field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetDependenciesChecksumMd5 -`func (o *PackageCopy) SetDependenciesChecksumMd5(v string)` +`func (o *PackageResponse) SetDependenciesChecksumMd5(v string)` SetDependenciesChecksumMd5 sets DependenciesChecksumMd5 field to given value. ### HasDependenciesChecksumMd5 -`func (o *PackageCopy) HasDependenciesChecksumMd5() bool` +`func (o *PackageResponse) HasDependenciesChecksumMd5() bool` HasDependenciesChecksumMd5 returns a boolean if a field has been set. ### GetDependenciesUrl -`func (o *PackageCopy) GetDependenciesUrl() string` +`func (o *PackageResponse) GetDependenciesUrl() string` GetDependenciesUrl returns the DependenciesUrl field if non-nil, zero value otherwise. ### GetDependenciesUrlOk -`func (o *PackageCopy) GetDependenciesUrlOk() (*string, bool)` +`func (o *PackageResponse) GetDependenciesUrlOk() (*string, bool)` GetDependenciesUrlOk returns a tuple with the DependenciesUrl field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetDependenciesUrl -`func (o *PackageCopy) SetDependenciesUrl(v string)` +`func (o *PackageResponse) SetDependenciesUrl(v string)` SetDependenciesUrl sets DependenciesUrl field to given value. ### HasDependenciesUrl -`func (o *PackageCopy) HasDependenciesUrl() bool` +`func (o *PackageResponse) HasDependenciesUrl() bool` HasDependenciesUrl returns a boolean if a field has been set. ### GetDescription -`func (o *PackageCopy) GetDescription() string` +`func (o *PackageResponse) GetDescription() string` GetDescription returns the Description field if non-nil, zero value otherwise. ### GetDescriptionOk -`func (o *PackageCopy) GetDescriptionOk() (*string, bool)` +`func (o *PackageResponse) GetDescriptionOk() (*string, bool)` GetDescriptionOk returns a tuple with the Description field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetDescription -`func (o *PackageCopy) SetDescription(v string)` +`func (o *PackageResponse) SetDescription(v string)` SetDescription sets Description field to given value. ### HasDescription -`func (o *PackageCopy) HasDescription() bool` +`func (o *PackageResponse) HasDescription() bool` HasDescription returns a boolean if a field has been set. ### GetDistro -`func (o *PackageCopy) GetDistro() map[string]interface{}` +`func (o *PackageResponse) GetDistro() Distribution` GetDistro returns the Distro field if non-nil, zero value otherwise. ### GetDistroOk -`func (o *PackageCopy) GetDistroOk() (*map[string]interface{}, bool)` +`func (o *PackageResponse) GetDistroOk() (*Distribution, bool)` GetDistroOk returns a tuple with the Distro field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetDistro -`func (o *PackageCopy) SetDistro(v map[string]interface{})` +`func (o *PackageResponse) SetDistro(v Distribution)` SetDistro sets Distro field to given value. ### HasDistro -`func (o *PackageCopy) HasDistro() bool` +`func (o *PackageResponse) HasDistro() bool` HasDistro returns a boolean if a field has been set. +### SetDistroNil + +`func (o *PackageResponse) SetDistroNil(b bool)` + + SetDistroNil sets the value for Distro to be an explicit nil + +### UnsetDistro +`func (o *PackageResponse) UnsetDistro()` + +UnsetDistro ensures that no value is present for Distro, not even an explicit nil ### GetDistroVersion -`func (o *PackageCopy) GetDistroVersion() map[string]interface{}` +`func (o *PackageResponse) GetDistroVersion() DistributionVersion` GetDistroVersion returns the DistroVersion field if non-nil, zero value otherwise. ### GetDistroVersionOk -`func (o *PackageCopy) GetDistroVersionOk() (*map[string]interface{}, bool)` +`func (o *PackageResponse) GetDistroVersionOk() (*DistributionVersion, bool)` GetDistroVersionOk returns a tuple with the DistroVersion field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetDistroVersion -`func (o *PackageCopy) SetDistroVersion(v map[string]interface{})` +`func (o *PackageResponse) SetDistroVersion(v DistributionVersion)` SetDistroVersion sets DistroVersion field to given value. ### HasDistroVersion -`func (o *PackageCopy) HasDistroVersion() bool` +`func (o *PackageResponse) HasDistroVersion() bool` HasDistroVersion returns a boolean if a field has been set. ### GetDownloads -`func (o *PackageCopy) GetDownloads() int64` +`func (o *PackageResponse) GetDownloads() int64` GetDownloads returns the Downloads field if non-nil, zero value otherwise. ### GetDownloadsOk -`func (o *PackageCopy) GetDownloadsOk() (*int64, bool)` +`func (o *PackageResponse) GetDownloadsOk() (*int64, bool)` GetDownloadsOk returns a tuple with the Downloads field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetDownloads -`func (o *PackageCopy) SetDownloads(v int64)` +`func (o *PackageResponse) SetDownloads(v int64)` SetDownloads sets Downloads field to given value. ### HasDownloads -`func (o *PackageCopy) HasDownloads() bool` +`func (o *PackageResponse) HasDownloads() bool` HasDownloads returns a boolean if a field has been set. ### GetEpoch -`func (o *PackageCopy) GetEpoch() int64` +`func (o *PackageResponse) GetEpoch() int64` GetEpoch returns the Epoch field if non-nil, zero value otherwise. ### GetEpochOk -`func (o *PackageCopy) GetEpochOk() (*int64, bool)` +`func (o *PackageResponse) GetEpochOk() (*int64, bool)` GetEpochOk returns a tuple with the Epoch field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetEpoch -`func (o *PackageCopy) SetEpoch(v int64)` +`func (o *PackageResponse) SetEpoch(v int64)` SetEpoch sets Epoch field to given value. ### HasEpoch -`func (o *PackageCopy) HasEpoch() bool` +`func (o *PackageResponse) HasEpoch() bool` HasEpoch returns a boolean if a field has been set. ### GetExtension -`func (o *PackageCopy) GetExtension() string` +`func (o *PackageResponse) GetExtension() string` GetExtension returns the Extension field if non-nil, zero value otherwise. ### GetExtensionOk -`func (o *PackageCopy) GetExtensionOk() (*string, bool)` +`func (o *PackageResponse) GetExtensionOk() (*string, bool)` GetExtensionOk returns a tuple with the Extension field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetExtension -`func (o *PackageCopy) SetExtension(v string)` +`func (o *PackageResponse) SetExtension(v string)` SetExtension sets Extension field to given value. ### HasExtension -`func (o *PackageCopy) HasExtension() bool` +`func (o *PackageResponse) HasExtension() bool` HasExtension returns a boolean if a field has been set. ### GetFilename -`func (o *PackageCopy) GetFilename() string` +`func (o *PackageResponse) GetFilename() string` GetFilename returns the Filename field if non-nil, zero value otherwise. ### GetFilenameOk -`func (o *PackageCopy) GetFilenameOk() (*string, bool)` +`func (o *PackageResponse) GetFilenameOk() (*string, bool)` GetFilenameOk returns a tuple with the Filename field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetFilename -`func (o *PackageCopy) SetFilename(v string)` +`func (o *PackageResponse) SetFilename(v string)` SetFilename sets Filename field to given value. ### HasFilename -`func (o *PackageCopy) HasFilename() bool` +`func (o *PackageResponse) HasFilename() bool` HasFilename returns a boolean if a field has been set. ### GetFiles -`func (o *PackageCopy) GetFiles() []PackagesOwnerRepoFiles` +`func (o *PackageResponse) GetFiles() []PackageFile` GetFiles returns the Files field if non-nil, zero value otherwise. ### GetFilesOk -`func (o *PackageCopy) GetFilesOk() (*[]PackagesOwnerRepoFiles, bool)` +`func (o *PackageResponse) GetFilesOk() (*[]PackageFile, 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 *PackageCopy) SetFiles(v []PackagesOwnerRepoFiles)` +`func (o *PackageResponse) SetFiles(v []PackageFile)` SetFiles sets Files field to given value. ### HasFiles -`func (o *PackageCopy) HasFiles() bool` +`func (o *PackageResponse) HasFiles() bool` HasFiles returns a boolean if a field has been set. ### GetFormat -`func (o *PackageCopy) GetFormat() string` +`func (o *PackageResponse) GetFormat() string` GetFormat returns the Format field if non-nil, zero value otherwise. ### GetFormatOk -`func (o *PackageCopy) GetFormatOk() (*string, bool)` +`func (o *PackageResponse) GetFormatOk() (*string, bool)` GetFormatOk returns a tuple with the Format field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetFormat -`func (o *PackageCopy) SetFormat(v string)` +`func (o *PackageResponse) SetFormat(v string)` SetFormat sets Format field to given value. ### HasFormat -`func (o *PackageCopy) HasFormat() bool` +`func (o *PackageResponse) HasFormat() bool` HasFormat returns a boolean if a field has been set. ### GetFormatUrl -`func (o *PackageCopy) GetFormatUrl() string` +`func (o *PackageResponse) GetFormatUrl() string` GetFormatUrl returns the FormatUrl field if non-nil, zero value otherwise. ### GetFormatUrlOk -`func (o *PackageCopy) GetFormatUrlOk() (*string, bool)` +`func (o *PackageResponse) GetFormatUrlOk() (*string, bool)` GetFormatUrlOk returns a tuple with the FormatUrl field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetFormatUrl -`func (o *PackageCopy) SetFormatUrl(v string)` +`func (o *PackageResponse) SetFormatUrl(v string)` SetFormatUrl sets FormatUrl field to given value. ### HasFormatUrl -`func (o *PackageCopy) HasFormatUrl() bool` +`func (o *PackageResponse) HasFormatUrl() bool` HasFormatUrl returns a boolean if a field has been set. ### GetIdentifierPerm -`func (o *PackageCopy) GetIdentifierPerm() string` +`func (o *PackageResponse) GetIdentifierPerm() string` GetIdentifierPerm returns the IdentifierPerm field if non-nil, zero value otherwise. ### GetIdentifierPermOk -`func (o *PackageCopy) GetIdentifierPermOk() (*string, bool)` +`func (o *PackageResponse) GetIdentifierPermOk() (*string, bool)` GetIdentifierPermOk returns a tuple with the IdentifierPerm field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetIdentifierPerm -`func (o *PackageCopy) SetIdentifierPerm(v string)` +`func (o *PackageResponse) SetIdentifierPerm(v string)` SetIdentifierPerm sets IdentifierPerm field to given value. ### HasIdentifierPerm -`func (o *PackageCopy) HasIdentifierPerm() bool` +`func (o *PackageResponse) HasIdentifierPerm() bool` HasIdentifierPerm returns a boolean if a field has been set. ### GetIndexed -`func (o *PackageCopy) GetIndexed() bool` +`func (o *PackageResponse) GetIndexed() bool` GetIndexed returns the Indexed field if non-nil, zero value otherwise. ### GetIndexedOk -`func (o *PackageCopy) GetIndexedOk() (*bool, bool)` +`func (o *PackageResponse) GetIndexedOk() (*bool, bool)` GetIndexedOk returns a tuple with the Indexed field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetIndexed -`func (o *PackageCopy) SetIndexed(v bool)` +`func (o *PackageResponse) SetIndexed(v bool)` SetIndexed sets Indexed field to given value. ### HasIndexed -`func (o *PackageCopy) HasIndexed() bool` +`func (o *PackageResponse) HasIndexed() bool` HasIndexed returns a boolean if a field has been set. ### GetIsDownloadable -`func (o *PackageCopy) GetIsDownloadable() bool` +`func (o *PackageResponse) GetIsDownloadable() bool` GetIsDownloadable returns the IsDownloadable field if non-nil, zero value otherwise. ### GetIsDownloadableOk -`func (o *PackageCopy) GetIsDownloadableOk() (*bool, bool)` +`func (o *PackageResponse) GetIsDownloadableOk() (*bool, bool)` GetIsDownloadableOk returns a tuple with the IsDownloadable field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetIsDownloadable -`func (o *PackageCopy) SetIsDownloadable(v bool)` +`func (o *PackageResponse) SetIsDownloadable(v bool)` SetIsDownloadable sets IsDownloadable field to given value. ### HasIsDownloadable -`func (o *PackageCopy) HasIsDownloadable() bool` +`func (o *PackageResponse) HasIsDownloadable() bool` HasIsDownloadable returns a boolean if a field has been set. ### GetIsQuarantined -`func (o *PackageCopy) GetIsQuarantined() bool` +`func (o *PackageResponse) GetIsQuarantined() bool` GetIsQuarantined returns the IsQuarantined field if non-nil, zero value otherwise. ### GetIsQuarantinedOk -`func (o *PackageCopy) GetIsQuarantinedOk() (*bool, bool)` +`func (o *PackageResponse) GetIsQuarantinedOk() (*bool, bool)` GetIsQuarantinedOk returns a tuple with the IsQuarantined field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetIsQuarantined -`func (o *PackageCopy) SetIsQuarantined(v bool)` +`func (o *PackageResponse) SetIsQuarantined(v bool)` SetIsQuarantined sets IsQuarantined field to given value. ### HasIsQuarantined -`func (o *PackageCopy) HasIsQuarantined() bool` +`func (o *PackageResponse) HasIsQuarantined() bool` HasIsQuarantined returns a boolean if a field has been set. ### GetIsSyncAwaiting -`func (o *PackageCopy) GetIsSyncAwaiting() bool` +`func (o *PackageResponse) GetIsSyncAwaiting() bool` GetIsSyncAwaiting returns the IsSyncAwaiting field if non-nil, zero value otherwise. ### GetIsSyncAwaitingOk -`func (o *PackageCopy) GetIsSyncAwaitingOk() (*bool, bool)` +`func (o *PackageResponse) GetIsSyncAwaitingOk() (*bool, bool)` GetIsSyncAwaitingOk returns a tuple with the IsSyncAwaiting field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetIsSyncAwaiting -`func (o *PackageCopy) SetIsSyncAwaiting(v bool)` +`func (o *PackageResponse) SetIsSyncAwaiting(v bool)` SetIsSyncAwaiting sets IsSyncAwaiting field to given value. ### HasIsSyncAwaiting -`func (o *PackageCopy) HasIsSyncAwaiting() bool` +`func (o *PackageResponse) HasIsSyncAwaiting() bool` HasIsSyncAwaiting returns a boolean if a field has been set. ### GetIsSyncCompleted -`func (o *PackageCopy) GetIsSyncCompleted() bool` +`func (o *PackageResponse) GetIsSyncCompleted() bool` GetIsSyncCompleted returns the IsSyncCompleted field if non-nil, zero value otherwise. ### GetIsSyncCompletedOk -`func (o *PackageCopy) GetIsSyncCompletedOk() (*bool, bool)` +`func (o *PackageResponse) GetIsSyncCompletedOk() (*bool, bool)` GetIsSyncCompletedOk returns a tuple with the IsSyncCompleted field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetIsSyncCompleted -`func (o *PackageCopy) SetIsSyncCompleted(v bool)` +`func (o *PackageResponse) SetIsSyncCompleted(v bool)` SetIsSyncCompleted sets IsSyncCompleted field to given value. ### HasIsSyncCompleted -`func (o *PackageCopy) HasIsSyncCompleted() bool` +`func (o *PackageResponse) HasIsSyncCompleted() bool` HasIsSyncCompleted returns a boolean if a field has been set. ### GetIsSyncFailed -`func (o *PackageCopy) GetIsSyncFailed() bool` +`func (o *PackageResponse) GetIsSyncFailed() bool` GetIsSyncFailed returns the IsSyncFailed field if non-nil, zero value otherwise. ### GetIsSyncFailedOk -`func (o *PackageCopy) GetIsSyncFailedOk() (*bool, bool)` +`func (o *PackageResponse) GetIsSyncFailedOk() (*bool, bool)` GetIsSyncFailedOk returns a tuple with the IsSyncFailed field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetIsSyncFailed -`func (o *PackageCopy) SetIsSyncFailed(v bool)` +`func (o *PackageResponse) SetIsSyncFailed(v bool)` SetIsSyncFailed sets IsSyncFailed field to given value. ### HasIsSyncFailed -`func (o *PackageCopy) HasIsSyncFailed() bool` +`func (o *PackageResponse) HasIsSyncFailed() bool` HasIsSyncFailed returns a boolean if a field has been set. ### GetIsSyncInFlight -`func (o *PackageCopy) GetIsSyncInFlight() bool` +`func (o *PackageResponse) GetIsSyncInFlight() bool` GetIsSyncInFlight returns the IsSyncInFlight field if non-nil, zero value otherwise. ### GetIsSyncInFlightOk -`func (o *PackageCopy) GetIsSyncInFlightOk() (*bool, bool)` +`func (o *PackageResponse) GetIsSyncInFlightOk() (*bool, bool)` GetIsSyncInFlightOk returns a tuple with the IsSyncInFlight field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetIsSyncInFlight -`func (o *PackageCopy) SetIsSyncInFlight(v bool)` +`func (o *PackageResponse) SetIsSyncInFlight(v bool)` SetIsSyncInFlight sets IsSyncInFlight field to given value. ### HasIsSyncInFlight -`func (o *PackageCopy) HasIsSyncInFlight() bool` +`func (o *PackageResponse) HasIsSyncInFlight() bool` HasIsSyncInFlight returns a boolean if a field has been set. ### GetIsSyncInProgress -`func (o *PackageCopy) GetIsSyncInProgress() bool` +`func (o *PackageResponse) GetIsSyncInProgress() bool` GetIsSyncInProgress returns the IsSyncInProgress field if non-nil, zero value otherwise. ### GetIsSyncInProgressOk -`func (o *PackageCopy) GetIsSyncInProgressOk() (*bool, bool)` +`func (o *PackageResponse) GetIsSyncInProgressOk() (*bool, bool)` GetIsSyncInProgressOk returns a tuple with the IsSyncInProgress field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetIsSyncInProgress -`func (o *PackageCopy) SetIsSyncInProgress(v bool)` +`func (o *PackageResponse) SetIsSyncInProgress(v bool)` SetIsSyncInProgress sets IsSyncInProgress field to given value. ### HasIsSyncInProgress -`func (o *PackageCopy) HasIsSyncInProgress() bool` +`func (o *PackageResponse) HasIsSyncInProgress() bool` HasIsSyncInProgress returns a boolean if a field has been set. ### GetLicense -`func (o *PackageCopy) GetLicense() string` +`func (o *PackageResponse) GetLicense() string` GetLicense returns the License field if non-nil, zero value otherwise. ### GetLicenseOk -`func (o *PackageCopy) GetLicenseOk() (*string, bool)` +`func (o *PackageResponse) GetLicenseOk() (*string, bool)` GetLicenseOk returns a tuple with the License field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetLicense -`func (o *PackageCopy) SetLicense(v string)` +`func (o *PackageResponse) SetLicense(v string)` SetLicense sets License field to given value. ### HasLicense -`func (o *PackageCopy) HasLicense() bool` +`func (o *PackageResponse) HasLicense() bool` HasLicense returns a boolean if a field has been set. ### GetName -`func (o *PackageCopy) GetName() string` +`func (o *PackageResponse) GetName() string` GetName returns the Name field if non-nil, zero value otherwise. ### GetNameOk -`func (o *PackageCopy) GetNameOk() (*string, bool)` +`func (o *PackageResponse) GetNameOk() (*string, bool)` 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. ### SetName -`func (o *PackageCopy) SetName(v string)` +`func (o *PackageResponse) SetName(v string)` SetName sets Name field to given value. ### HasName -`func (o *PackageCopy) HasName() bool` +`func (o *PackageResponse) HasName() bool` HasName returns a boolean if a field has been set. ### GetNamespace -`func (o *PackageCopy) GetNamespace() string` +`func (o *PackageResponse) GetNamespace() string` GetNamespace returns the Namespace field if non-nil, zero value otherwise. ### GetNamespaceOk -`func (o *PackageCopy) GetNamespaceOk() (*string, bool)` +`func (o *PackageResponse) GetNamespaceOk() (*string, bool)` GetNamespaceOk returns a tuple with the Namespace field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetNamespace -`func (o *PackageCopy) SetNamespace(v string)` +`func (o *PackageResponse) SetNamespace(v string)` SetNamespace sets Namespace field to given value. ### HasNamespace -`func (o *PackageCopy) HasNamespace() bool` +`func (o *PackageResponse) HasNamespace() bool` HasNamespace returns a boolean if a field has been set. ### GetNamespaceUrl -`func (o *PackageCopy) GetNamespaceUrl() string` +`func (o *PackageResponse) GetNamespaceUrl() string` GetNamespaceUrl returns the NamespaceUrl field if non-nil, zero value otherwise. ### GetNamespaceUrlOk -`func (o *PackageCopy) GetNamespaceUrlOk() (*string, bool)` +`func (o *PackageResponse) GetNamespaceUrlOk() (*string, bool)` GetNamespaceUrlOk returns a tuple with the NamespaceUrl field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetNamespaceUrl -`func (o *PackageCopy) SetNamespaceUrl(v string)` +`func (o *PackageResponse) SetNamespaceUrl(v string)` SetNamespaceUrl sets NamespaceUrl field to given value. ### HasNamespaceUrl -`func (o *PackageCopy) HasNamespaceUrl() bool` +`func (o *PackageResponse) HasNamespaceUrl() bool` HasNamespaceUrl returns a boolean if a field has been set. ### GetNumFiles -`func (o *PackageCopy) GetNumFiles() int64` +`func (o *PackageResponse) GetNumFiles() int64` GetNumFiles returns the NumFiles field if non-nil, zero value otherwise. ### GetNumFilesOk -`func (o *PackageCopy) GetNumFilesOk() (*int64, bool)` +`func (o *PackageResponse) GetNumFilesOk() (*int64, bool)` GetNumFilesOk returns a tuple with the NumFiles field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetNumFiles -`func (o *PackageCopy) SetNumFiles(v int64)` +`func (o *PackageResponse) SetNumFiles(v int64)` SetNumFiles sets NumFiles field to given value. ### HasNumFiles -`func (o *PackageCopy) HasNumFiles() bool` +`func (o *PackageResponse) HasNumFiles() bool` HasNumFiles returns a boolean if a field has been set. +### GetOriginRepository + +`func (o *PackageResponse) GetOriginRepository() string` + +GetOriginRepository returns the OriginRepository field if non-nil, zero value otherwise. + +### GetOriginRepositoryOk + +`func (o *PackageResponse) GetOriginRepositoryOk() (*string, bool)` + +GetOriginRepositoryOk returns a tuple with the OriginRepository field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetOriginRepository + +`func (o *PackageResponse) SetOriginRepository(v string)` + +SetOriginRepository sets OriginRepository field to given value. + +### HasOriginRepository + +`func (o *PackageResponse) HasOriginRepository() bool` + +HasOriginRepository returns a boolean if a field has been set. + +### GetOriginRepositoryUrl + +`func (o *PackageResponse) GetOriginRepositoryUrl() string` + +GetOriginRepositoryUrl returns the OriginRepositoryUrl field if non-nil, zero value otherwise. + +### GetOriginRepositoryUrlOk + +`func (o *PackageResponse) GetOriginRepositoryUrlOk() (*string, bool)` + +GetOriginRepositoryUrlOk returns a tuple with the OriginRepositoryUrl field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetOriginRepositoryUrl + +`func (o *PackageResponse) SetOriginRepositoryUrl(v string)` + +SetOriginRepositoryUrl sets OriginRepositoryUrl field to given value. + +### HasOriginRepositoryUrl + +`func (o *PackageResponse) HasOriginRepositoryUrl() bool` + +HasOriginRepositoryUrl returns a boolean if a field has been set. + ### GetPackageType -`func (o *PackageCopy) GetPackageType() int64` +`func (o *PackageResponse) GetPackageType() int64` GetPackageType returns the PackageType field if non-nil, zero value otherwise. ### GetPackageTypeOk -`func (o *PackageCopy) GetPackageTypeOk() (*int64, bool)` +`func (o *PackageResponse) GetPackageTypeOk() (*int64, bool)` GetPackageTypeOk returns a tuple with the PackageType field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetPackageType -`func (o *PackageCopy) SetPackageType(v int64)` +`func (o *PackageResponse) SetPackageType(v int64)` SetPackageType sets PackageType field to given value. ### HasPackageType -`func (o *PackageCopy) HasPackageType() bool` +`func (o *PackageResponse) HasPackageType() bool` HasPackageType returns a boolean if a field has been set. ### GetRelease -`func (o *PackageCopy) GetRelease() string` +`func (o *PackageResponse) GetRelease() string` GetRelease returns the Release field if non-nil, zero value otherwise. ### GetReleaseOk -`func (o *PackageCopy) GetReleaseOk() (*string, bool)` +`func (o *PackageResponse) GetReleaseOk() (*string, bool)` GetReleaseOk returns a tuple with the Release field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetRelease -`func (o *PackageCopy) SetRelease(v string)` +`func (o *PackageResponse) SetRelease(v string)` SetRelease sets Release field to given value. ### HasRelease -`func (o *PackageCopy) HasRelease() bool` +`func (o *PackageResponse) HasRelease() bool` HasRelease returns a boolean if a field has been set. ### GetRepository -`func (o *PackageCopy) GetRepository() string` +`func (o *PackageResponse) GetRepository() string` GetRepository returns the Repository field if non-nil, zero value otherwise. ### GetRepositoryOk -`func (o *PackageCopy) GetRepositoryOk() (*string, bool)` +`func (o *PackageResponse) GetRepositoryOk() (*string, bool)` GetRepositoryOk returns a tuple with the Repository field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetRepository -`func (o *PackageCopy) SetRepository(v string)` +`func (o *PackageResponse) SetRepository(v string)` SetRepository sets Repository field to given value. ### HasRepository -`func (o *PackageCopy) HasRepository() bool` +`func (o *PackageResponse) HasRepository() bool` HasRepository returns a boolean if a field has been set. ### GetRepositoryUrl -`func (o *PackageCopy) GetRepositoryUrl() string` +`func (o *PackageResponse) GetRepositoryUrl() string` GetRepositoryUrl returns the RepositoryUrl field if non-nil, zero value otherwise. ### GetRepositoryUrlOk -`func (o *PackageCopy) GetRepositoryUrlOk() (*string, bool)` +`func (o *PackageResponse) GetRepositoryUrlOk() (*string, bool)` GetRepositoryUrlOk returns a tuple with the RepositoryUrl field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetRepositoryUrl -`func (o *PackageCopy) SetRepositoryUrl(v string)` +`func (o *PackageResponse) SetRepositoryUrl(v string)` SetRepositoryUrl sets RepositoryUrl field to given value. ### HasRepositoryUrl -`func (o *PackageCopy) HasRepositoryUrl() bool` +`func (o *PackageResponse) HasRepositoryUrl() bool` HasRepositoryUrl returns a boolean if a field has been set. ### GetSecurityScanCompletedAt -`func (o *PackageCopy) GetSecurityScanCompletedAt() string` +`func (o *PackageResponse) GetSecurityScanCompletedAt() time.Time` GetSecurityScanCompletedAt returns the SecurityScanCompletedAt field if non-nil, zero value otherwise. ### GetSecurityScanCompletedAtOk -`func (o *PackageCopy) GetSecurityScanCompletedAtOk() (*string, bool)` +`func (o *PackageResponse) GetSecurityScanCompletedAtOk() (*time.Time, bool)` GetSecurityScanCompletedAtOk returns a tuple with the SecurityScanCompletedAt field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetSecurityScanCompletedAt -`func (o *PackageCopy) SetSecurityScanCompletedAt(v string)` +`func (o *PackageResponse) SetSecurityScanCompletedAt(v time.Time)` SetSecurityScanCompletedAt sets SecurityScanCompletedAt field to given value. ### HasSecurityScanCompletedAt -`func (o *PackageCopy) HasSecurityScanCompletedAt() bool` +`func (o *PackageResponse) HasSecurityScanCompletedAt() bool` HasSecurityScanCompletedAt returns a boolean if a field has been set. ### GetSecurityScanStartedAt -`func (o *PackageCopy) GetSecurityScanStartedAt() string` +`func (o *PackageResponse) GetSecurityScanStartedAt() time.Time` GetSecurityScanStartedAt returns the SecurityScanStartedAt field if non-nil, zero value otherwise. ### GetSecurityScanStartedAtOk -`func (o *PackageCopy) GetSecurityScanStartedAtOk() (*string, bool)` +`func (o *PackageResponse) GetSecurityScanStartedAtOk() (*time.Time, bool)` GetSecurityScanStartedAtOk returns a tuple with the SecurityScanStartedAt field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetSecurityScanStartedAt -`func (o *PackageCopy) SetSecurityScanStartedAt(v string)` +`func (o *PackageResponse) SetSecurityScanStartedAt(v time.Time)` SetSecurityScanStartedAt sets SecurityScanStartedAt field to given value. ### HasSecurityScanStartedAt -`func (o *PackageCopy) HasSecurityScanStartedAt() bool` +`func (o *PackageResponse) HasSecurityScanStartedAt() bool` HasSecurityScanStartedAt returns a boolean if a field has been set. ### GetSecurityScanStatus -`func (o *PackageCopy) GetSecurityScanStatus() string` +`func (o *PackageResponse) GetSecurityScanStatus() string` GetSecurityScanStatus returns the SecurityScanStatus field if non-nil, zero value otherwise. ### GetSecurityScanStatusOk -`func (o *PackageCopy) GetSecurityScanStatusOk() (*string, bool)` +`func (o *PackageResponse) GetSecurityScanStatusOk() (*string, bool)` GetSecurityScanStatusOk returns a tuple with the SecurityScanStatus field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetSecurityScanStatus -`func (o *PackageCopy) SetSecurityScanStatus(v string)` +`func (o *PackageResponse) SetSecurityScanStatus(v string)` SetSecurityScanStatus sets SecurityScanStatus field to given value. ### HasSecurityScanStatus -`func (o *PackageCopy) HasSecurityScanStatus() bool` +`func (o *PackageResponse) HasSecurityScanStatus() bool` HasSecurityScanStatus returns a boolean if a field has been set. +### SetSecurityScanStatusNil + +`func (o *PackageResponse) SetSecurityScanStatusNil(b bool)` + + SetSecurityScanStatusNil sets the value for SecurityScanStatus to be an explicit nil + +### UnsetSecurityScanStatus +`func (o *PackageResponse) UnsetSecurityScanStatus()` + +UnsetSecurityScanStatus ensures that no value is present for SecurityScanStatus, not even an explicit nil ### GetSecurityScanStatusUpdatedAt -`func (o *PackageCopy) GetSecurityScanStatusUpdatedAt() string` +`func (o *PackageResponse) GetSecurityScanStatusUpdatedAt() time.Time` GetSecurityScanStatusUpdatedAt returns the SecurityScanStatusUpdatedAt field if non-nil, zero value otherwise. ### GetSecurityScanStatusUpdatedAtOk -`func (o *PackageCopy) GetSecurityScanStatusUpdatedAtOk() (*string, bool)` +`func (o *PackageResponse) GetSecurityScanStatusUpdatedAtOk() (*time.Time, bool)` GetSecurityScanStatusUpdatedAtOk returns a tuple with the SecurityScanStatusUpdatedAt field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetSecurityScanStatusUpdatedAt -`func (o *PackageCopy) SetSecurityScanStatusUpdatedAt(v string)` +`func (o *PackageResponse) SetSecurityScanStatusUpdatedAt(v time.Time)` SetSecurityScanStatusUpdatedAt sets SecurityScanStatusUpdatedAt field to given value. ### HasSecurityScanStatusUpdatedAt -`func (o *PackageCopy) HasSecurityScanStatusUpdatedAt() bool` +`func (o *PackageResponse) HasSecurityScanStatusUpdatedAt() bool` HasSecurityScanStatusUpdatedAt returns a boolean if a field has been set. ### GetSelfHtmlUrl -`func (o *PackageCopy) GetSelfHtmlUrl() string` +`func (o *PackageResponse) GetSelfHtmlUrl() string` GetSelfHtmlUrl returns the SelfHtmlUrl field if non-nil, zero value otherwise. ### GetSelfHtmlUrlOk -`func (o *PackageCopy) GetSelfHtmlUrlOk() (*string, bool)` +`func (o *PackageResponse) GetSelfHtmlUrlOk() (*string, bool)` GetSelfHtmlUrlOk returns a tuple with the SelfHtmlUrl field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetSelfHtmlUrl -`func (o *PackageCopy) SetSelfHtmlUrl(v string)` +`func (o *PackageResponse) SetSelfHtmlUrl(v string)` SetSelfHtmlUrl sets SelfHtmlUrl field to given value. ### HasSelfHtmlUrl -`func (o *PackageCopy) HasSelfHtmlUrl() bool` +`func (o *PackageResponse) HasSelfHtmlUrl() bool` HasSelfHtmlUrl returns a boolean if a field has been set. ### GetSelfUrl -`func (o *PackageCopy) GetSelfUrl() string` +`func (o *PackageResponse) GetSelfUrl() string` GetSelfUrl returns the SelfUrl field if non-nil, zero value otherwise. ### GetSelfUrlOk -`func (o *PackageCopy) GetSelfUrlOk() (*string, bool)` +`func (o *PackageResponse) GetSelfUrlOk() (*string, bool)` GetSelfUrlOk returns a tuple with the SelfUrl field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetSelfUrl -`func (o *PackageCopy) SetSelfUrl(v string)` +`func (o *PackageResponse) SetSelfUrl(v string)` SetSelfUrl sets SelfUrl field to given value. ### HasSelfUrl -`func (o *PackageCopy) HasSelfUrl() bool` +`func (o *PackageResponse) HasSelfUrl() bool` HasSelfUrl returns a boolean if a field has been set. ### GetSignatureUrl -`func (o *PackageCopy) GetSignatureUrl() string` +`func (o *PackageResponse) GetSignatureUrl() string` GetSignatureUrl returns the SignatureUrl field if non-nil, zero value otherwise. ### GetSignatureUrlOk -`func (o *PackageCopy) GetSignatureUrlOk() (*string, bool)` +`func (o *PackageResponse) GetSignatureUrlOk() (*string, bool)` GetSignatureUrlOk returns a tuple with the SignatureUrl field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetSignatureUrl -`func (o *PackageCopy) SetSignatureUrl(v string)` +`func (o *PackageResponse) SetSignatureUrl(v string)` SetSignatureUrl sets SignatureUrl field to given value. ### HasSignatureUrl -`func (o *PackageCopy) HasSignatureUrl() bool` +`func (o *PackageResponse) HasSignatureUrl() bool` HasSignatureUrl returns a boolean if a field has been set. +### SetSignatureUrlNil + +`func (o *PackageResponse) SetSignatureUrlNil(b bool)` + + SetSignatureUrlNil sets the value for SignatureUrl to be an explicit nil + +### UnsetSignatureUrl +`func (o *PackageResponse) UnsetSignatureUrl()` + +UnsetSignatureUrl ensures that no value is present for SignatureUrl, not even an explicit nil ### GetSize -`func (o *PackageCopy) GetSize() int64` +`func (o *PackageResponse) GetSize() int64` GetSize returns the Size field if non-nil, zero value otherwise. ### GetSizeOk -`func (o *PackageCopy) GetSizeOk() (*int64, bool)` +`func (o *PackageResponse) GetSizeOk() (*int64, bool)` GetSizeOk returns a tuple with the Size field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetSize -`func (o *PackageCopy) SetSize(v int64)` +`func (o *PackageResponse) SetSize(v int64)` SetSize sets Size field to given value. ### HasSize -`func (o *PackageCopy) HasSize() bool` +`func (o *PackageResponse) HasSize() bool` HasSize returns a boolean if a field has been set. ### GetSlug -`func (o *PackageCopy) GetSlug() string` +`func (o *PackageResponse) GetSlug() string` GetSlug returns the Slug field if non-nil, zero value otherwise. ### GetSlugOk -`func (o *PackageCopy) GetSlugOk() (*string, bool)` +`func (o *PackageResponse) GetSlugOk() (*string, bool)` GetSlugOk returns a tuple with the Slug field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetSlug -`func (o *PackageCopy) SetSlug(v string)` +`func (o *PackageResponse) SetSlug(v string)` SetSlug sets Slug field to given value. ### HasSlug -`func (o *PackageCopy) HasSlug() bool` +`func (o *PackageResponse) HasSlug() bool` HasSlug returns a boolean if a field has been set. ### GetSlugPerm -`func (o *PackageCopy) GetSlugPerm() string` +`func (o *PackageResponse) GetSlugPerm() string` GetSlugPerm returns the SlugPerm field if non-nil, zero value otherwise. ### GetSlugPermOk -`func (o *PackageCopy) GetSlugPermOk() (*string, bool)` +`func (o *PackageResponse) GetSlugPermOk() (*string, bool)` GetSlugPermOk returns a tuple with the SlugPerm field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetSlugPerm -`func (o *PackageCopy) SetSlugPerm(v string)` +`func (o *PackageResponse) SetSlugPerm(v string)` SetSlugPerm sets SlugPerm field to given value. ### HasSlugPerm -`func (o *PackageCopy) HasSlugPerm() bool` +`func (o *PackageResponse) HasSlugPerm() bool` HasSlugPerm returns a boolean if a field has been set. ### GetStage -`func (o *PackageCopy) GetStage() int64` +`func (o *PackageResponse) GetStage() int64` GetStage returns the Stage field if non-nil, zero value otherwise. ### GetStageOk -`func (o *PackageCopy) GetStageOk() (*int64, bool)` +`func (o *PackageResponse) GetStageOk() (*int64, bool)` GetStageOk returns a tuple with the Stage field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetStage -`func (o *PackageCopy) SetStage(v int64)` +`func (o *PackageResponse) SetStage(v int64)` SetStage sets Stage field to given value. ### HasStage -`func (o *PackageCopy) HasStage() bool` +`func (o *PackageResponse) HasStage() bool` HasStage returns a boolean if a field has been set. ### GetStageStr -`func (o *PackageCopy) GetStageStr() string` +`func (o *PackageResponse) GetStageStr() string` GetStageStr returns the StageStr field if non-nil, zero value otherwise. ### GetStageStrOk -`func (o *PackageCopy) GetStageStrOk() (*string, bool)` +`func (o *PackageResponse) GetStageStrOk() (*string, bool)` GetStageStrOk returns a tuple with the StageStr field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetStageStr -`func (o *PackageCopy) SetStageStr(v string)` +`func (o *PackageResponse) SetStageStr(v string)` SetStageStr sets StageStr field to given value. ### HasStageStr -`func (o *PackageCopy) HasStageStr() bool` +`func (o *PackageResponse) HasStageStr() bool` HasStageStr returns a boolean if a field has been set. ### GetStageUpdatedAt -`func (o *PackageCopy) GetStageUpdatedAt() string` +`func (o *PackageResponse) GetStageUpdatedAt() time.Time` GetStageUpdatedAt returns the StageUpdatedAt field if non-nil, zero value otherwise. ### GetStageUpdatedAtOk -`func (o *PackageCopy) GetStageUpdatedAtOk() (*string, bool)` +`func (o *PackageResponse) GetStageUpdatedAtOk() (*time.Time, bool)` GetStageUpdatedAtOk returns a tuple with the StageUpdatedAt field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetStageUpdatedAt -`func (o *PackageCopy) SetStageUpdatedAt(v string)` +`func (o *PackageResponse) SetStageUpdatedAt(v time.Time)` SetStageUpdatedAt sets StageUpdatedAt field to given value. ### HasStageUpdatedAt -`func (o *PackageCopy) HasStageUpdatedAt() bool` +`func (o *PackageResponse) HasStageUpdatedAt() bool` HasStageUpdatedAt returns a boolean if a field has been set. ### GetStatus -`func (o *PackageCopy) GetStatus() int64` +`func (o *PackageResponse) GetStatus() int64` GetStatus returns the Status field if non-nil, zero value otherwise. ### GetStatusOk -`func (o *PackageCopy) GetStatusOk() (*int64, bool)` +`func (o *PackageResponse) GetStatusOk() (*int64, bool)` GetStatusOk returns a tuple with the Status field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetStatus -`func (o *PackageCopy) SetStatus(v int64)` +`func (o *PackageResponse) SetStatus(v int64)` SetStatus sets Status field to given value. ### HasStatus -`func (o *PackageCopy) HasStatus() bool` +`func (o *PackageResponse) HasStatus() bool` HasStatus returns a boolean if a field has been set. ### GetStatusReason -`func (o *PackageCopy) GetStatusReason() string` +`func (o *PackageResponse) GetStatusReason() string` GetStatusReason returns the StatusReason field if non-nil, zero value otherwise. ### GetStatusReasonOk -`func (o *PackageCopy) GetStatusReasonOk() (*string, bool)` +`func (o *PackageResponse) GetStatusReasonOk() (*string, bool)` GetStatusReasonOk returns a tuple with the StatusReason field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetStatusReason -`func (o *PackageCopy) SetStatusReason(v string)` +`func (o *PackageResponse) SetStatusReason(v string)` SetStatusReason sets StatusReason field to given value. ### HasStatusReason -`func (o *PackageCopy) HasStatusReason() bool` +`func (o *PackageResponse) HasStatusReason() bool` HasStatusReason returns a boolean if a field has been set. ### GetStatusStr -`func (o *PackageCopy) GetStatusStr() string` +`func (o *PackageResponse) GetStatusStr() string` GetStatusStr returns the StatusStr field if non-nil, zero value otherwise. ### GetStatusStrOk -`func (o *PackageCopy) GetStatusStrOk() (*string, bool)` +`func (o *PackageResponse) GetStatusStrOk() (*string, bool)` GetStatusStrOk returns a tuple with the StatusStr field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetStatusStr -`func (o *PackageCopy) SetStatusStr(v string)` +`func (o *PackageResponse) SetStatusStr(v string)` SetStatusStr sets StatusStr field to given value. ### HasStatusStr -`func (o *PackageCopy) HasStatusStr() bool` +`func (o *PackageResponse) HasStatusStr() bool` HasStatusStr returns a boolean if a field has been set. ### GetStatusUpdatedAt -`func (o *PackageCopy) GetStatusUpdatedAt() string` +`func (o *PackageResponse) GetStatusUpdatedAt() time.Time` GetStatusUpdatedAt returns the StatusUpdatedAt field if non-nil, zero value otherwise. ### GetStatusUpdatedAtOk -`func (o *PackageCopy) GetStatusUpdatedAtOk() (*string, bool)` +`func (o *PackageResponse) GetStatusUpdatedAtOk() (*time.Time, bool)` GetStatusUpdatedAtOk returns a tuple with the StatusUpdatedAt field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetStatusUpdatedAt -`func (o *PackageCopy) SetStatusUpdatedAt(v string)` +`func (o *PackageResponse) SetStatusUpdatedAt(v time.Time)` SetStatusUpdatedAt sets StatusUpdatedAt field to given value. ### HasStatusUpdatedAt -`func (o *PackageCopy) HasStatusUpdatedAt() bool` +`func (o *PackageResponse) HasStatusUpdatedAt() bool` HasStatusUpdatedAt returns a boolean if a field has been set. ### GetStatusUrl -`func (o *PackageCopy) GetStatusUrl() string` +`func (o *PackageResponse) GetStatusUrl() string` GetStatusUrl returns the StatusUrl field if non-nil, zero value otherwise. ### GetStatusUrlOk -`func (o *PackageCopy) GetStatusUrlOk() (*string, bool)` +`func (o *PackageResponse) GetStatusUrlOk() (*string, bool)` GetStatusUrlOk returns a tuple with the StatusUrl field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetStatusUrl -`func (o *PackageCopy) SetStatusUrl(v string)` +`func (o *PackageResponse) SetStatusUrl(v string)` SetStatusUrl sets StatusUrl field to given value. ### HasStatusUrl -`func (o *PackageCopy) HasStatusUrl() bool` +`func (o *PackageResponse) HasStatusUrl() bool` HasStatusUrl returns a boolean if a field has been set. ### GetSubtype -`func (o *PackageCopy) GetSubtype() string` +`func (o *PackageResponse) GetSubtype() string` GetSubtype returns the Subtype field if non-nil, zero value otherwise. ### GetSubtypeOk -`func (o *PackageCopy) GetSubtypeOk() (*string, bool)` +`func (o *PackageResponse) GetSubtypeOk() (*string, bool)` GetSubtypeOk returns a tuple with the Subtype field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetSubtype -`func (o *PackageCopy) SetSubtype(v string)` +`func (o *PackageResponse) SetSubtype(v string)` SetSubtype sets Subtype field to given value. ### HasSubtype -`func (o *PackageCopy) HasSubtype() bool` +`func (o *PackageResponse) HasSubtype() bool` HasSubtype returns a boolean if a field has been set. ### GetSummary -`func (o *PackageCopy) GetSummary() string` +`func (o *PackageResponse) GetSummary() string` GetSummary returns the Summary field if non-nil, zero value otherwise. ### GetSummaryOk -`func (o *PackageCopy) GetSummaryOk() (*string, bool)` +`func (o *PackageResponse) GetSummaryOk() (*string, bool)` GetSummaryOk returns a tuple with the Summary field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetSummary -`func (o *PackageCopy) SetSummary(v string)` +`func (o *PackageResponse) SetSummary(v string)` SetSummary sets Summary field to given value. ### HasSummary -`func (o *PackageCopy) HasSummary() bool` +`func (o *PackageResponse) HasSummary() bool` HasSummary returns a boolean if a field has been set. ### GetSyncFinishedAt -`func (o *PackageCopy) GetSyncFinishedAt() string` +`func (o *PackageResponse) GetSyncFinishedAt() time.Time` GetSyncFinishedAt returns the SyncFinishedAt field if non-nil, zero value otherwise. ### GetSyncFinishedAtOk -`func (o *PackageCopy) GetSyncFinishedAtOk() (*string, bool)` +`func (o *PackageResponse) GetSyncFinishedAtOk() (*time.Time, bool)` GetSyncFinishedAtOk returns a tuple with the SyncFinishedAt field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetSyncFinishedAt -`func (o *PackageCopy) SetSyncFinishedAt(v string)` +`func (o *PackageResponse) SetSyncFinishedAt(v time.Time)` SetSyncFinishedAt sets SyncFinishedAt field to given value. ### HasSyncFinishedAt -`func (o *PackageCopy) HasSyncFinishedAt() bool` +`func (o *PackageResponse) HasSyncFinishedAt() bool` HasSyncFinishedAt returns a boolean if a field has been set. ### GetSyncProgress -`func (o *PackageCopy) GetSyncProgress() int64` +`func (o *PackageResponse) GetSyncProgress() int64` GetSyncProgress returns the SyncProgress field if non-nil, zero value otherwise. ### GetSyncProgressOk -`func (o *PackageCopy) GetSyncProgressOk() (*int64, bool)` +`func (o *PackageResponse) GetSyncProgressOk() (*int64, bool)` GetSyncProgressOk returns a tuple with the SyncProgress field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetSyncProgress -`func (o *PackageCopy) SetSyncProgress(v int64)` +`func (o *PackageResponse) SetSyncProgress(v int64)` SetSyncProgress sets SyncProgress field to given value. ### HasSyncProgress -`func (o *PackageCopy) HasSyncProgress() bool` +`func (o *PackageResponse) HasSyncProgress() bool` HasSyncProgress returns a boolean if a field has been set. ### GetTags -`func (o *PackageCopy) GetTags() map[string]interface{}` +`func (o *PackageResponse) GetTags() map[string]interface{}` GetTags returns the Tags field if non-nil, zero value otherwise. ### GetTagsOk -`func (o *PackageCopy) GetTagsOk() (*map[string]interface{}, bool)` +`func (o *PackageResponse) GetTagsOk() (*map[string]interface{}, bool)` GetTagsOk returns a tuple with the Tags field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetTags -`func (o *PackageCopy) SetTags(v map[string]interface{})` +`func (o *PackageResponse) SetTags(v map[string]interface{})` SetTags sets Tags field to given value. ### HasTags -`func (o *PackageCopy) HasTags() bool` +`func (o *PackageResponse) HasTags() bool` HasTags returns a boolean if a field has been set. ### GetTagsImmutable -`func (o *PackageCopy) GetTagsImmutable() map[string]interface{}` +`func (o *PackageResponse) GetTagsImmutable() map[string]interface{}` GetTagsImmutable returns the TagsImmutable field if non-nil, zero value otherwise. ### GetTagsImmutableOk -`func (o *PackageCopy) GetTagsImmutableOk() (*map[string]interface{}, bool)` +`func (o *PackageResponse) GetTagsImmutableOk() (*map[string]interface{}, bool)` GetTagsImmutableOk returns a tuple with the TagsImmutable field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetTagsImmutable -`func (o *PackageCopy) SetTagsImmutable(v map[string]interface{})` +`func (o *PackageResponse) SetTagsImmutable(v map[string]interface{})` SetTagsImmutable sets TagsImmutable field to given value. ### HasTagsImmutable -`func (o *PackageCopy) HasTagsImmutable() bool` +`func (o *PackageResponse) HasTagsImmutable() bool` HasTagsImmutable returns a boolean if a field has been set. ### GetTypeDisplay -`func (o *PackageCopy) GetTypeDisplay() string` +`func (o *PackageResponse) GetTypeDisplay() string` GetTypeDisplay returns the TypeDisplay field if non-nil, zero value otherwise. ### GetTypeDisplayOk -`func (o *PackageCopy) GetTypeDisplayOk() (*string, bool)` +`func (o *PackageResponse) GetTypeDisplayOk() (*string, bool)` GetTypeDisplayOk returns a tuple with the TypeDisplay field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetTypeDisplay -`func (o *PackageCopy) SetTypeDisplay(v string)` +`func (o *PackageResponse) SetTypeDisplay(v string)` SetTypeDisplay sets TypeDisplay field to given value. ### HasTypeDisplay -`func (o *PackageCopy) HasTypeDisplay() bool` +`func (o *PackageResponse) HasTypeDisplay() bool` HasTypeDisplay returns a boolean if a field has been set. ### GetUploadedAt -`func (o *PackageCopy) GetUploadedAt() string` +`func (o *PackageResponse) GetUploadedAt() time.Time` GetUploadedAt returns the UploadedAt field if non-nil, zero value otherwise. ### GetUploadedAtOk -`func (o *PackageCopy) GetUploadedAtOk() (*string, bool)` +`func (o *PackageResponse) GetUploadedAtOk() (*time.Time, bool)` GetUploadedAtOk returns a tuple with the UploadedAt field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetUploadedAt -`func (o *PackageCopy) SetUploadedAt(v string)` +`func (o *PackageResponse) SetUploadedAt(v time.Time)` SetUploadedAt sets UploadedAt field to given value. ### HasUploadedAt -`func (o *PackageCopy) HasUploadedAt() bool` +`func (o *PackageResponse) HasUploadedAt() bool` HasUploadedAt returns a boolean if a field has been set. ### GetUploader -`func (o *PackageCopy) GetUploader() string` +`func (o *PackageResponse) GetUploader() string` GetUploader returns the Uploader field if non-nil, zero value otherwise. ### GetUploaderOk -`func (o *PackageCopy) GetUploaderOk() (*string, bool)` +`func (o *PackageResponse) GetUploaderOk() (*string, bool)` GetUploaderOk returns a tuple with the Uploader field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetUploader -`func (o *PackageCopy) SetUploader(v string)` +`func (o *PackageResponse) SetUploader(v string)` SetUploader sets Uploader field to given value. ### HasUploader -`func (o *PackageCopy) HasUploader() bool` +`func (o *PackageResponse) HasUploader() bool` HasUploader returns a boolean if a field has been set. ### GetUploaderUrl -`func (o *PackageCopy) GetUploaderUrl() string` +`func (o *PackageResponse) GetUploaderUrl() string` GetUploaderUrl returns the UploaderUrl field if non-nil, zero value otherwise. ### GetUploaderUrlOk -`func (o *PackageCopy) GetUploaderUrlOk() (*string, bool)` +`func (o *PackageResponse) GetUploaderUrlOk() (*string, bool)` GetUploaderUrlOk returns a tuple with the UploaderUrl field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetUploaderUrl -`func (o *PackageCopy) SetUploaderUrl(v string)` +`func (o *PackageResponse) SetUploaderUrl(v string)` SetUploaderUrl sets UploaderUrl field to given value. ### HasUploaderUrl -`func (o *PackageCopy) HasUploaderUrl() bool` +`func (o *PackageResponse) HasUploaderUrl() bool` HasUploaderUrl returns a boolean if a field has been set. ### GetVersion -`func (o *PackageCopy) GetVersion() string` +`func (o *PackageResponse) GetVersion() string` GetVersion returns the Version field if non-nil, zero value otherwise. ### GetVersionOk -`func (o *PackageCopy) GetVersionOk() (*string, bool)` +`func (o *PackageResponse) GetVersionOk() (*string, bool)` GetVersionOk returns a tuple with the Version field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetVersion -`func (o *PackageCopy) SetVersion(v string)` +`func (o *PackageResponse) SetVersion(v string)` SetVersion sets Version field to given value. ### HasVersion -`func (o *PackageCopy) HasVersion() bool` +`func (o *PackageResponse) HasVersion() bool` HasVersion returns a boolean if a field has been set. ### GetVersionOrig -`func (o *PackageCopy) GetVersionOrig() string` +`func (o *PackageResponse) GetVersionOrig() string` GetVersionOrig returns the VersionOrig field if non-nil, zero value otherwise. ### GetVersionOrigOk -`func (o *PackageCopy) GetVersionOrigOk() (*string, bool)` +`func (o *PackageResponse) GetVersionOrigOk() (*string, bool)` GetVersionOrigOk returns a tuple with the VersionOrig field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetVersionOrig -`func (o *PackageCopy) SetVersionOrig(v string)` +`func (o *PackageResponse) SetVersionOrig(v string)` SetVersionOrig sets VersionOrig field to given value. ### HasVersionOrig -`func (o *PackageCopy) HasVersionOrig() bool` +`func (o *PackageResponse) HasVersionOrig() bool` HasVersionOrig returns a boolean if a field has been set. ### GetVulnerabilityScanResultsUrl -`func (o *PackageCopy) GetVulnerabilityScanResultsUrl() string` +`func (o *PackageResponse) GetVulnerabilityScanResultsUrl() string` GetVulnerabilityScanResultsUrl returns the VulnerabilityScanResultsUrl field if non-nil, zero value otherwise. ### GetVulnerabilityScanResultsUrlOk -`func (o *PackageCopy) GetVulnerabilityScanResultsUrlOk() (*string, bool)` +`func (o *PackageResponse) GetVulnerabilityScanResultsUrlOk() (*string, bool)` GetVulnerabilityScanResultsUrlOk returns a tuple with the VulnerabilityScanResultsUrl field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetVulnerabilityScanResultsUrl -`func (o *PackageCopy) SetVulnerabilityScanResultsUrl(v string)` +`func (o *PackageResponse) SetVulnerabilityScanResultsUrl(v string)` SetVulnerabilityScanResultsUrl sets VulnerabilityScanResultsUrl field to given value. ### HasVulnerabilityScanResultsUrl -`func (o *PackageCopy) HasVulnerabilityScanResultsUrl() bool` +`func (o *PackageResponse) HasVulnerabilityScanResultsUrl() bool` HasVulnerabilityScanResultsUrl returns a boolean if a field has been set. diff --git a/docs/PackageQuarantine.md b/docs/PackageResyncResponse.md similarity index 56% rename from docs/PackageQuarantine.md rename to docs/PackageResyncResponse.md index bf33e9cf..886ab425 100644 --- a/docs/PackageQuarantine.md +++ b/docs/PackageResyncResponse.md @@ -1,1768 +1,1860 @@ -# PackageQuarantine +# PackageResyncResponse ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**Architectures** | Pointer to [**[]PackagesOwnerRepoArchitectures**](PackagesOwnerRepoArchitectures.md) | | [optional] -**CdnUrl** | Pointer to **string** | | [optional] -**ChecksumMd5** | Pointer to **string** | | [optional] -**ChecksumSha1** | Pointer to **string** | | [optional] -**ChecksumSha256** | Pointer to **string** | | [optional] -**ChecksumSha512** | Pointer to **string** | | [optional] -**DependenciesChecksumMd5** | Pointer to **string** | A checksum of all of the package's dependencies. | [optional] -**DependenciesUrl** | Pointer to **string** | | [optional] -**Description** | Pointer to **string** | A textual description of this package. | [optional] -**Distro** | Pointer to **map[string]interface{}** | | [optional] -**DistroVersion** | Pointer to **map[string]interface{}** | | [optional] -**Downloads** | Pointer to **int64** | | [optional] -**Epoch** | Pointer to **int64** | The epoch of the package version (if any). | [optional] -**Extension** | Pointer to **string** | | [optional] -**Filename** | Pointer to **string** | | [optional] -**Files** | Pointer to [**[]PackagesOwnerRepoFiles**](PackagesOwnerRepoFiles.md) | | [optional] -**Format** | Pointer to **string** | | [optional] -**FormatUrl** | Pointer to **string** | | [optional] -**IdentifierPerm** | Pointer to **string** | Unique and permanent identifier for the package. | [optional] -**Indexed** | Pointer to **bool** | | [optional] -**IsDownloadable** | Pointer to **bool** | | [optional] -**IsQuarantined** | Pointer to **bool** | | [optional] -**IsSyncAwaiting** | Pointer to **bool** | | [optional] -**IsSyncCompleted** | Pointer to **bool** | | [optional] -**IsSyncFailed** | Pointer to **bool** | | [optional] -**IsSyncInFlight** | Pointer to **bool** | | [optional] -**IsSyncInProgress** | Pointer to **bool** | | [optional] -**License** | Pointer to **string** | The license of this package. | [optional] -**Name** | Pointer to **string** | The name of this package. | [optional] -**Namespace** | Pointer to **string** | | [optional] -**NamespaceUrl** | Pointer to **string** | | [optional] -**NumFiles** | Pointer to **int64** | | [optional] -**PackageType** | Pointer to **int64** | The type of package contents. | [optional] -**Release** | Pointer to **string** | The release of the package version (if any). | [optional] -**Repository** | Pointer to **string** | | [optional] -**RepositoryUrl** | Pointer to **string** | | [optional] -**SecurityScanCompletedAt** | Pointer to **string** | The datetime the security scanning was completed. | [optional] -**SecurityScanStartedAt** | Pointer to **string** | The datetime the security scanning was started. | [optional] -**SecurityScanStatus** | Pointer to **string** | | [optional] -**SecurityScanStatusUpdatedAt** | Pointer to **string** | The datetime the security scanning status was updated. | [optional] -**SelfHtmlUrl** | Pointer to **string** | | [optional] -**SelfUrl** | Pointer to **string** | | [optional] -**SignatureUrl** | Pointer to **string** | | [optional] -**Size** | Pointer to **int64** | The calculated size of the package. | [optional] -**Slug** | Pointer to **string** | The public unique identifier for the package. | [optional] -**SlugPerm** | Pointer to **string** | | [optional] -**Stage** | Pointer to **int64** | The synchronisation (in progress) stage of the package. | [optional] -**StageStr** | Pointer to **string** | | [optional] -**StageUpdatedAt** | Pointer to **string** | The datetime the package stage was updated at. | [optional] -**Status** | Pointer to **int64** | The synchronisation status of the package. | [optional] -**StatusReason** | Pointer to **string** | A textual description for the synchronous status reason (if any | [optional] -**StatusStr** | Pointer to **string** | | [optional] -**StatusUpdatedAt** | Pointer to **string** | The datetime the package status was updated at. | [optional] -**StatusUrl** | Pointer to **string** | | [optional] -**Subtype** | Pointer to **string** | | [optional] -**Summary** | Pointer to **string** | A one-liner synopsis of this package. | [optional] -**SyncFinishedAt** | Pointer to **string** | The datetime the package sync was finished at. | [optional] -**SyncProgress** | Pointer to **int64** | Synchronisation progress (from 0-100) | [optional] +**Architectures** | Pointer to [**[]Architecture**](Architecture.md) | | [optional] [readonly] +**CdnUrl** | Pointer to **NullableString** | | [optional] [readonly] +**ChecksumMd5** | Pointer to **string** | | [optional] [readonly] +**ChecksumSha1** | Pointer to **string** | | [optional] [readonly] +**ChecksumSha256** | Pointer to **string** | | [optional] [readonly] +**ChecksumSha512** | Pointer to **string** | | [optional] [readonly] +**DependenciesChecksumMd5** | Pointer to **string** | A checksum of all of the package's dependencies. | [optional] [readonly] +**DependenciesUrl** | Pointer to **string** | | [optional] [readonly] +**Description** | Pointer to **string** | A textual description of this package. | [optional] [readonly] +**Distro** | Pointer to [**NullableDistribution**](Distribution.md) | | [optional] +**DistroVersion** | Pointer to [**DistributionVersion**](DistributionVersion.md) | | [optional] +**Downloads** | Pointer to **int64** | | [optional] [readonly] +**Epoch** | Pointer to **int64** | The epoch of the package version (if any). | [optional] [readonly] +**Extension** | Pointer to **string** | | [optional] [readonly] +**Filename** | Pointer to **string** | | [optional] [readonly] +**Files** | Pointer to [**[]PackageFile**](PackageFile.md) | | [optional] [readonly] +**Format** | Pointer to **string** | | [optional] [readonly] +**FormatUrl** | Pointer to **string** | | [optional] [readonly] +**IdentifierPerm** | Pointer to **string** | Unique and permanent identifier for the package. | [optional] [readonly] +**Indexed** | Pointer to **bool** | | [optional] [readonly] +**IsDownloadable** | Pointer to **bool** | | [optional] [readonly] +**IsQuarantined** | Pointer to **bool** | | [optional] [readonly] +**IsSyncAwaiting** | Pointer to **bool** | | [optional] [readonly] +**IsSyncCompleted** | Pointer to **bool** | | [optional] [readonly] +**IsSyncFailed** | Pointer to **bool** | | [optional] [readonly] +**IsSyncInFlight** | Pointer to **bool** | | [optional] [readonly] +**IsSyncInProgress** | Pointer to **bool** | | [optional] [readonly] +**License** | Pointer to **string** | The license of this package. | [optional] [readonly] +**Name** | Pointer to **string** | The name of this package. | [optional] [readonly] +**Namespace** | Pointer to **string** | | [optional] [readonly] +**NamespaceUrl** | Pointer to **string** | | [optional] [readonly] +**NumFiles** | Pointer to **int64** | | [optional] [readonly] +**OriginRepository** | Pointer to **string** | | [optional] [readonly] +**OriginRepositoryUrl** | Pointer to **string** | | [optional] [readonly] +**PackageType** | Pointer to **int64** | The type of package contents. | [optional] [readonly] +**Release** | Pointer to **string** | The release of the package version (if any). | [optional] [readonly] +**Repository** | Pointer to **string** | | [optional] [readonly] +**RepositoryUrl** | Pointer to **string** | | [optional] [readonly] +**SecurityScanCompletedAt** | Pointer to **time.Time** | The datetime the security scanning was completed. | [optional] [readonly] +**SecurityScanStartedAt** | Pointer to **time.Time** | The datetime the security scanning was started. | [optional] [readonly] +**SecurityScanStatus** | Pointer to **NullableString** | | [optional] [readonly] [default to "Awaiting Security Scan"] +**SecurityScanStatusUpdatedAt** | Pointer to **time.Time** | The datetime the security scanning status was updated. | [optional] [readonly] +**SelfHtmlUrl** | Pointer to **string** | | [optional] [readonly] +**SelfUrl** | Pointer to **string** | | [optional] [readonly] +**SignatureUrl** | Pointer to **NullableString** | | [optional] [readonly] +**Size** | Pointer to **int64** | The calculated size of the package. | [optional] [readonly] +**Slug** | Pointer to **string** | The public unique identifier for the package. | [optional] [readonly] +**SlugPerm** | Pointer to **string** | | [optional] [readonly] +**Stage** | Pointer to **int64** | The synchronisation (in progress) stage of the package. | [optional] [readonly] +**StageStr** | Pointer to **string** | | [optional] [readonly] +**StageUpdatedAt** | Pointer to **time.Time** | The datetime the package stage was updated at. | [optional] [readonly] +**Status** | Pointer to **int64** | The synchronisation status of the package. | [optional] [readonly] +**StatusReason** | Pointer to **string** | A textual description for the synchronous status reason (if any | [optional] [readonly] +**StatusStr** | Pointer to **string** | | [optional] [readonly] +**StatusUpdatedAt** | Pointer to **time.Time** | The datetime the package status was updated at. | [optional] [readonly] +**StatusUrl** | Pointer to **string** | | [optional] [readonly] +**Subtype** | Pointer to **string** | | [optional] [readonly] +**Summary** | Pointer to **string** | A one-liner synopsis of this package. | [optional] [readonly] +**SyncFinishedAt** | Pointer to **time.Time** | The datetime the package sync was finished at. | [optional] [readonly] +**SyncProgress** | Pointer to **int64** | Synchronisation progress (from 0-100) | [optional] [readonly] **Tags** | Pointer to **map[string]interface{}** | All tags on the package, grouped by tag type. This includes immutable tags, but doesn't distinguish them from mutable. To see which tags are immutable specifically, see the tags_immutable field. | [optional] -**TagsImmutable** | Pointer to **map[string]interface{}** | All immutable tags on the package, grouped by tag type. Immutable tags cannot be (easily) deleted. | [optional] -**TypeDisplay** | Pointer to **string** | | [optional] -**UploadedAt** | Pointer to **string** | The date this package was uploaded. | [optional] -**Uploader** | Pointer to **string** | | [optional] -**UploaderUrl** | Pointer to **string** | | [optional] -**Version** | Pointer to **string** | The raw version for this package. | [optional] -**VersionOrig** | Pointer to **string** | | [optional] -**VulnerabilityScanResultsUrl** | Pointer to **string** | | [optional] +**TagsImmutable** | Pointer to **map[string]interface{}** | All tags on the package, grouped by tag type. This includes immutable tags, but doesn't distinguish them from mutable. To see which tags are immutable specifically, see the tags_immutable field. | [optional] +**TypeDisplay** | Pointer to **string** | | [optional] [readonly] +**UploadedAt** | Pointer to **time.Time** | The date this package was uploaded. | [optional] [readonly] +**Uploader** | Pointer to **string** | | [optional] [readonly] +**UploaderUrl** | Pointer to **string** | | [optional] [readonly] +**Version** | Pointer to **string** | The raw version for this package. | [optional] [readonly] +**VersionOrig** | Pointer to **string** | | [optional] [readonly] +**VulnerabilityScanResultsUrl** | Pointer to **string** | | [optional] [readonly] ## Methods -### NewPackageQuarantine +### NewPackageResyncResponse -`func NewPackageQuarantine() *PackageQuarantine` +`func NewPackageResyncResponse() *PackageResyncResponse` -NewPackageQuarantine instantiates a new PackageQuarantine object +NewPackageResyncResponse instantiates a new PackageResyncResponse object 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 -### NewPackageQuarantineWithDefaults +### NewPackageResyncResponseWithDefaults -`func NewPackageQuarantineWithDefaults() *PackageQuarantine` +`func NewPackageResyncResponseWithDefaults() *PackageResyncResponse` -NewPackageQuarantineWithDefaults instantiates a new PackageQuarantine object +NewPackageResyncResponseWithDefaults instantiates a new PackageResyncResponse object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set ### GetArchitectures -`func (o *PackageQuarantine) GetArchitectures() []PackagesOwnerRepoArchitectures` +`func (o *PackageResyncResponse) GetArchitectures() []Architecture` GetArchitectures returns the Architectures field if non-nil, zero value otherwise. ### GetArchitecturesOk -`func (o *PackageQuarantine) GetArchitecturesOk() (*[]PackagesOwnerRepoArchitectures, bool)` +`func (o *PackageResyncResponse) GetArchitecturesOk() (*[]Architecture, bool)` GetArchitecturesOk returns a tuple with the Architectures field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetArchitectures -`func (o *PackageQuarantine) SetArchitectures(v []PackagesOwnerRepoArchitectures)` +`func (o *PackageResyncResponse) SetArchitectures(v []Architecture)` SetArchitectures sets Architectures field to given value. ### HasArchitectures -`func (o *PackageQuarantine) HasArchitectures() bool` +`func (o *PackageResyncResponse) HasArchitectures() bool` HasArchitectures returns a boolean if a field has been set. ### GetCdnUrl -`func (o *PackageQuarantine) GetCdnUrl() string` +`func (o *PackageResyncResponse) GetCdnUrl() string` GetCdnUrl returns the CdnUrl field if non-nil, zero value otherwise. ### GetCdnUrlOk -`func (o *PackageQuarantine) GetCdnUrlOk() (*string, bool)` +`func (o *PackageResyncResponse) GetCdnUrlOk() (*string, bool)` GetCdnUrlOk returns a tuple with the CdnUrl field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetCdnUrl -`func (o *PackageQuarantine) SetCdnUrl(v string)` +`func (o *PackageResyncResponse) SetCdnUrl(v string)` SetCdnUrl sets CdnUrl field to given value. ### HasCdnUrl -`func (o *PackageQuarantine) HasCdnUrl() bool` +`func (o *PackageResyncResponse) HasCdnUrl() bool` HasCdnUrl returns a boolean if a field has been set. +### SetCdnUrlNil + +`func (o *PackageResyncResponse) SetCdnUrlNil(b bool)` + + SetCdnUrlNil sets the value for CdnUrl to be an explicit nil + +### UnsetCdnUrl +`func (o *PackageResyncResponse) UnsetCdnUrl()` + +UnsetCdnUrl ensures that no value is present for CdnUrl, not even an explicit nil ### GetChecksumMd5 -`func (o *PackageQuarantine) GetChecksumMd5() string` +`func (o *PackageResyncResponse) GetChecksumMd5() string` GetChecksumMd5 returns the ChecksumMd5 field if non-nil, zero value otherwise. ### GetChecksumMd5Ok -`func (o *PackageQuarantine) GetChecksumMd5Ok() (*string, bool)` +`func (o *PackageResyncResponse) GetChecksumMd5Ok() (*string, bool)` GetChecksumMd5Ok returns a tuple with the ChecksumMd5 field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetChecksumMd5 -`func (o *PackageQuarantine) SetChecksumMd5(v string)` +`func (o *PackageResyncResponse) SetChecksumMd5(v string)` SetChecksumMd5 sets ChecksumMd5 field to given value. ### HasChecksumMd5 -`func (o *PackageQuarantine) HasChecksumMd5() bool` +`func (o *PackageResyncResponse) HasChecksumMd5() bool` HasChecksumMd5 returns a boolean if a field has been set. ### GetChecksumSha1 -`func (o *PackageQuarantine) GetChecksumSha1() string` +`func (o *PackageResyncResponse) GetChecksumSha1() string` GetChecksumSha1 returns the ChecksumSha1 field if non-nil, zero value otherwise. ### GetChecksumSha1Ok -`func (o *PackageQuarantine) GetChecksumSha1Ok() (*string, bool)` +`func (o *PackageResyncResponse) GetChecksumSha1Ok() (*string, bool)` GetChecksumSha1Ok returns a tuple with the ChecksumSha1 field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetChecksumSha1 -`func (o *PackageQuarantine) SetChecksumSha1(v string)` +`func (o *PackageResyncResponse) SetChecksumSha1(v string)` SetChecksumSha1 sets ChecksumSha1 field to given value. ### HasChecksumSha1 -`func (o *PackageQuarantine) HasChecksumSha1() bool` +`func (o *PackageResyncResponse) HasChecksumSha1() bool` HasChecksumSha1 returns a boolean if a field has been set. ### GetChecksumSha256 -`func (o *PackageQuarantine) GetChecksumSha256() string` +`func (o *PackageResyncResponse) GetChecksumSha256() string` GetChecksumSha256 returns the ChecksumSha256 field if non-nil, zero value otherwise. ### GetChecksumSha256Ok -`func (o *PackageQuarantine) GetChecksumSha256Ok() (*string, bool)` +`func (o *PackageResyncResponse) GetChecksumSha256Ok() (*string, bool)` GetChecksumSha256Ok returns a tuple with the ChecksumSha256 field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetChecksumSha256 -`func (o *PackageQuarantine) SetChecksumSha256(v string)` +`func (o *PackageResyncResponse) SetChecksumSha256(v string)` SetChecksumSha256 sets ChecksumSha256 field to given value. ### HasChecksumSha256 -`func (o *PackageQuarantine) HasChecksumSha256() bool` +`func (o *PackageResyncResponse) HasChecksumSha256() bool` HasChecksumSha256 returns a boolean if a field has been set. ### GetChecksumSha512 -`func (o *PackageQuarantine) GetChecksumSha512() string` +`func (o *PackageResyncResponse) GetChecksumSha512() string` GetChecksumSha512 returns the ChecksumSha512 field if non-nil, zero value otherwise. ### GetChecksumSha512Ok -`func (o *PackageQuarantine) GetChecksumSha512Ok() (*string, bool)` +`func (o *PackageResyncResponse) GetChecksumSha512Ok() (*string, bool)` GetChecksumSha512Ok returns a tuple with the ChecksumSha512 field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetChecksumSha512 -`func (o *PackageQuarantine) SetChecksumSha512(v string)` +`func (o *PackageResyncResponse) SetChecksumSha512(v string)` SetChecksumSha512 sets ChecksumSha512 field to given value. ### HasChecksumSha512 -`func (o *PackageQuarantine) HasChecksumSha512() bool` +`func (o *PackageResyncResponse) HasChecksumSha512() bool` HasChecksumSha512 returns a boolean if a field has been set. ### GetDependenciesChecksumMd5 -`func (o *PackageQuarantine) GetDependenciesChecksumMd5() string` +`func (o *PackageResyncResponse) GetDependenciesChecksumMd5() string` GetDependenciesChecksumMd5 returns the DependenciesChecksumMd5 field if non-nil, zero value otherwise. ### GetDependenciesChecksumMd5Ok -`func (o *PackageQuarantine) GetDependenciesChecksumMd5Ok() (*string, bool)` +`func (o *PackageResyncResponse) GetDependenciesChecksumMd5Ok() (*string, bool)` GetDependenciesChecksumMd5Ok returns a tuple with the DependenciesChecksumMd5 field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetDependenciesChecksumMd5 -`func (o *PackageQuarantine) SetDependenciesChecksumMd5(v string)` +`func (o *PackageResyncResponse) SetDependenciesChecksumMd5(v string)` SetDependenciesChecksumMd5 sets DependenciesChecksumMd5 field to given value. ### HasDependenciesChecksumMd5 -`func (o *PackageQuarantine) HasDependenciesChecksumMd5() bool` +`func (o *PackageResyncResponse) HasDependenciesChecksumMd5() bool` HasDependenciesChecksumMd5 returns a boolean if a field has been set. ### GetDependenciesUrl -`func (o *PackageQuarantine) GetDependenciesUrl() string` +`func (o *PackageResyncResponse) GetDependenciesUrl() string` GetDependenciesUrl returns the DependenciesUrl field if non-nil, zero value otherwise. ### GetDependenciesUrlOk -`func (o *PackageQuarantine) GetDependenciesUrlOk() (*string, bool)` +`func (o *PackageResyncResponse) GetDependenciesUrlOk() (*string, bool)` GetDependenciesUrlOk returns a tuple with the DependenciesUrl field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetDependenciesUrl -`func (o *PackageQuarantine) SetDependenciesUrl(v string)` +`func (o *PackageResyncResponse) SetDependenciesUrl(v string)` SetDependenciesUrl sets DependenciesUrl field to given value. ### HasDependenciesUrl -`func (o *PackageQuarantine) HasDependenciesUrl() bool` +`func (o *PackageResyncResponse) HasDependenciesUrl() bool` HasDependenciesUrl returns a boolean if a field has been set. ### GetDescription -`func (o *PackageQuarantine) GetDescription() string` +`func (o *PackageResyncResponse) GetDescription() string` GetDescription returns the Description field if non-nil, zero value otherwise. ### GetDescriptionOk -`func (o *PackageQuarantine) GetDescriptionOk() (*string, bool)` +`func (o *PackageResyncResponse) GetDescriptionOk() (*string, bool)` GetDescriptionOk returns a tuple with the Description field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetDescription -`func (o *PackageQuarantine) SetDescription(v string)` +`func (o *PackageResyncResponse) SetDescription(v string)` SetDescription sets Description field to given value. ### HasDescription -`func (o *PackageQuarantine) HasDescription() bool` +`func (o *PackageResyncResponse) HasDescription() bool` HasDescription returns a boolean if a field has been set. ### GetDistro -`func (o *PackageQuarantine) GetDistro() map[string]interface{}` +`func (o *PackageResyncResponse) GetDistro() Distribution` GetDistro returns the Distro field if non-nil, zero value otherwise. ### GetDistroOk -`func (o *PackageQuarantine) GetDistroOk() (*map[string]interface{}, bool)` +`func (o *PackageResyncResponse) GetDistroOk() (*Distribution, bool)` GetDistroOk returns a tuple with the Distro field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetDistro -`func (o *PackageQuarantine) SetDistro(v map[string]interface{})` +`func (o *PackageResyncResponse) SetDistro(v Distribution)` SetDistro sets Distro field to given value. ### HasDistro -`func (o *PackageQuarantine) HasDistro() bool` +`func (o *PackageResyncResponse) HasDistro() bool` HasDistro returns a boolean if a field has been set. +### SetDistroNil + +`func (o *PackageResyncResponse) SetDistroNil(b bool)` + + SetDistroNil sets the value for Distro to be an explicit nil + +### UnsetDistro +`func (o *PackageResyncResponse) UnsetDistro()` + +UnsetDistro ensures that no value is present for Distro, not even an explicit nil ### GetDistroVersion -`func (o *PackageQuarantine) GetDistroVersion() map[string]interface{}` +`func (o *PackageResyncResponse) GetDistroVersion() DistributionVersion` GetDistroVersion returns the DistroVersion field if non-nil, zero value otherwise. ### GetDistroVersionOk -`func (o *PackageQuarantine) GetDistroVersionOk() (*map[string]interface{}, bool)` +`func (o *PackageResyncResponse) GetDistroVersionOk() (*DistributionVersion, bool)` GetDistroVersionOk returns a tuple with the DistroVersion field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetDistroVersion -`func (o *PackageQuarantine) SetDistroVersion(v map[string]interface{})` +`func (o *PackageResyncResponse) SetDistroVersion(v DistributionVersion)` SetDistroVersion sets DistroVersion field to given value. ### HasDistroVersion -`func (o *PackageQuarantine) HasDistroVersion() bool` +`func (o *PackageResyncResponse) HasDistroVersion() bool` HasDistroVersion returns a boolean if a field has been set. ### GetDownloads -`func (o *PackageQuarantine) GetDownloads() int64` +`func (o *PackageResyncResponse) GetDownloads() int64` GetDownloads returns the Downloads field if non-nil, zero value otherwise. ### GetDownloadsOk -`func (o *PackageQuarantine) GetDownloadsOk() (*int64, bool)` +`func (o *PackageResyncResponse) GetDownloadsOk() (*int64, bool)` GetDownloadsOk returns a tuple with the Downloads field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetDownloads -`func (o *PackageQuarantine) SetDownloads(v int64)` +`func (o *PackageResyncResponse) SetDownloads(v int64)` SetDownloads sets Downloads field to given value. ### HasDownloads -`func (o *PackageQuarantine) HasDownloads() bool` +`func (o *PackageResyncResponse) HasDownloads() bool` HasDownloads returns a boolean if a field has been set. ### GetEpoch -`func (o *PackageQuarantine) GetEpoch() int64` +`func (o *PackageResyncResponse) GetEpoch() int64` GetEpoch returns the Epoch field if non-nil, zero value otherwise. ### GetEpochOk -`func (o *PackageQuarantine) GetEpochOk() (*int64, bool)` +`func (o *PackageResyncResponse) GetEpochOk() (*int64, bool)` GetEpochOk returns a tuple with the Epoch field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetEpoch -`func (o *PackageQuarantine) SetEpoch(v int64)` +`func (o *PackageResyncResponse) SetEpoch(v int64)` SetEpoch sets Epoch field to given value. ### HasEpoch -`func (o *PackageQuarantine) HasEpoch() bool` +`func (o *PackageResyncResponse) HasEpoch() bool` HasEpoch returns a boolean if a field has been set. ### GetExtension -`func (o *PackageQuarantine) GetExtension() string` +`func (o *PackageResyncResponse) GetExtension() string` GetExtension returns the Extension field if non-nil, zero value otherwise. ### GetExtensionOk -`func (o *PackageQuarantine) GetExtensionOk() (*string, bool)` +`func (o *PackageResyncResponse) GetExtensionOk() (*string, bool)` GetExtensionOk returns a tuple with the Extension field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetExtension -`func (o *PackageQuarantine) SetExtension(v string)` +`func (o *PackageResyncResponse) SetExtension(v string)` SetExtension sets Extension field to given value. ### HasExtension -`func (o *PackageQuarantine) HasExtension() bool` +`func (o *PackageResyncResponse) HasExtension() bool` HasExtension returns a boolean if a field has been set. ### GetFilename -`func (o *PackageQuarantine) GetFilename() string` +`func (o *PackageResyncResponse) GetFilename() string` GetFilename returns the Filename field if non-nil, zero value otherwise. ### GetFilenameOk -`func (o *PackageQuarantine) GetFilenameOk() (*string, bool)` +`func (o *PackageResyncResponse) GetFilenameOk() (*string, bool)` GetFilenameOk returns a tuple with the Filename field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetFilename -`func (o *PackageQuarantine) SetFilename(v string)` +`func (o *PackageResyncResponse) SetFilename(v string)` SetFilename sets Filename field to given value. ### HasFilename -`func (o *PackageQuarantine) HasFilename() bool` +`func (o *PackageResyncResponse) HasFilename() bool` HasFilename returns a boolean if a field has been set. ### GetFiles -`func (o *PackageQuarantine) GetFiles() []PackagesOwnerRepoFiles` +`func (o *PackageResyncResponse) GetFiles() []PackageFile` GetFiles returns the Files field if non-nil, zero value otherwise. ### GetFilesOk -`func (o *PackageQuarantine) GetFilesOk() (*[]PackagesOwnerRepoFiles, bool)` +`func (o *PackageResyncResponse) GetFilesOk() (*[]PackageFile, 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 *PackageQuarantine) SetFiles(v []PackagesOwnerRepoFiles)` +`func (o *PackageResyncResponse) SetFiles(v []PackageFile)` SetFiles sets Files field to given value. ### HasFiles -`func (o *PackageQuarantine) HasFiles() bool` +`func (o *PackageResyncResponse) HasFiles() bool` HasFiles returns a boolean if a field has been set. ### GetFormat -`func (o *PackageQuarantine) GetFormat() string` +`func (o *PackageResyncResponse) GetFormat() string` GetFormat returns the Format field if non-nil, zero value otherwise. ### GetFormatOk -`func (o *PackageQuarantine) GetFormatOk() (*string, bool)` +`func (o *PackageResyncResponse) GetFormatOk() (*string, bool)` GetFormatOk returns a tuple with the Format field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetFormat -`func (o *PackageQuarantine) SetFormat(v string)` +`func (o *PackageResyncResponse) SetFormat(v string)` SetFormat sets Format field to given value. ### HasFormat -`func (o *PackageQuarantine) HasFormat() bool` +`func (o *PackageResyncResponse) HasFormat() bool` HasFormat returns a boolean if a field has been set. ### GetFormatUrl -`func (o *PackageQuarantine) GetFormatUrl() string` +`func (o *PackageResyncResponse) GetFormatUrl() string` GetFormatUrl returns the FormatUrl field if non-nil, zero value otherwise. ### GetFormatUrlOk -`func (o *PackageQuarantine) GetFormatUrlOk() (*string, bool)` +`func (o *PackageResyncResponse) GetFormatUrlOk() (*string, bool)` GetFormatUrlOk returns a tuple with the FormatUrl field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetFormatUrl -`func (o *PackageQuarantine) SetFormatUrl(v string)` +`func (o *PackageResyncResponse) SetFormatUrl(v string)` SetFormatUrl sets FormatUrl field to given value. ### HasFormatUrl -`func (o *PackageQuarantine) HasFormatUrl() bool` +`func (o *PackageResyncResponse) HasFormatUrl() bool` HasFormatUrl returns a boolean if a field has been set. ### GetIdentifierPerm -`func (o *PackageQuarantine) GetIdentifierPerm() string` +`func (o *PackageResyncResponse) GetIdentifierPerm() string` GetIdentifierPerm returns the IdentifierPerm field if non-nil, zero value otherwise. ### GetIdentifierPermOk -`func (o *PackageQuarantine) GetIdentifierPermOk() (*string, bool)` +`func (o *PackageResyncResponse) GetIdentifierPermOk() (*string, bool)` GetIdentifierPermOk returns a tuple with the IdentifierPerm field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetIdentifierPerm -`func (o *PackageQuarantine) SetIdentifierPerm(v string)` +`func (o *PackageResyncResponse) SetIdentifierPerm(v string)` SetIdentifierPerm sets IdentifierPerm field to given value. ### HasIdentifierPerm -`func (o *PackageQuarantine) HasIdentifierPerm() bool` +`func (o *PackageResyncResponse) HasIdentifierPerm() bool` HasIdentifierPerm returns a boolean if a field has been set. ### GetIndexed -`func (o *PackageQuarantine) GetIndexed() bool` +`func (o *PackageResyncResponse) GetIndexed() bool` GetIndexed returns the Indexed field if non-nil, zero value otherwise. ### GetIndexedOk -`func (o *PackageQuarantine) GetIndexedOk() (*bool, bool)` +`func (o *PackageResyncResponse) GetIndexedOk() (*bool, bool)` GetIndexedOk returns a tuple with the Indexed field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetIndexed -`func (o *PackageQuarantine) SetIndexed(v bool)` +`func (o *PackageResyncResponse) SetIndexed(v bool)` SetIndexed sets Indexed field to given value. ### HasIndexed -`func (o *PackageQuarantine) HasIndexed() bool` +`func (o *PackageResyncResponse) HasIndexed() bool` HasIndexed returns a boolean if a field has been set. ### GetIsDownloadable -`func (o *PackageQuarantine) GetIsDownloadable() bool` +`func (o *PackageResyncResponse) GetIsDownloadable() bool` GetIsDownloadable returns the IsDownloadable field if non-nil, zero value otherwise. ### GetIsDownloadableOk -`func (o *PackageQuarantine) GetIsDownloadableOk() (*bool, bool)` +`func (o *PackageResyncResponse) GetIsDownloadableOk() (*bool, bool)` GetIsDownloadableOk returns a tuple with the IsDownloadable field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetIsDownloadable -`func (o *PackageQuarantine) SetIsDownloadable(v bool)` +`func (o *PackageResyncResponse) SetIsDownloadable(v bool)` SetIsDownloadable sets IsDownloadable field to given value. ### HasIsDownloadable -`func (o *PackageQuarantine) HasIsDownloadable() bool` +`func (o *PackageResyncResponse) HasIsDownloadable() bool` HasIsDownloadable returns a boolean if a field has been set. ### GetIsQuarantined -`func (o *PackageQuarantine) GetIsQuarantined() bool` +`func (o *PackageResyncResponse) GetIsQuarantined() bool` GetIsQuarantined returns the IsQuarantined field if non-nil, zero value otherwise. ### GetIsQuarantinedOk -`func (o *PackageQuarantine) GetIsQuarantinedOk() (*bool, bool)` +`func (o *PackageResyncResponse) GetIsQuarantinedOk() (*bool, bool)` GetIsQuarantinedOk returns a tuple with the IsQuarantined field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetIsQuarantined -`func (o *PackageQuarantine) SetIsQuarantined(v bool)` +`func (o *PackageResyncResponse) SetIsQuarantined(v bool)` SetIsQuarantined sets IsQuarantined field to given value. ### HasIsQuarantined -`func (o *PackageQuarantine) HasIsQuarantined() bool` +`func (o *PackageResyncResponse) HasIsQuarantined() bool` HasIsQuarantined returns a boolean if a field has been set. ### GetIsSyncAwaiting -`func (o *PackageQuarantine) GetIsSyncAwaiting() bool` +`func (o *PackageResyncResponse) GetIsSyncAwaiting() bool` GetIsSyncAwaiting returns the IsSyncAwaiting field if non-nil, zero value otherwise. ### GetIsSyncAwaitingOk -`func (o *PackageQuarantine) GetIsSyncAwaitingOk() (*bool, bool)` +`func (o *PackageResyncResponse) GetIsSyncAwaitingOk() (*bool, bool)` GetIsSyncAwaitingOk returns a tuple with the IsSyncAwaiting field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetIsSyncAwaiting -`func (o *PackageQuarantine) SetIsSyncAwaiting(v bool)` +`func (o *PackageResyncResponse) SetIsSyncAwaiting(v bool)` SetIsSyncAwaiting sets IsSyncAwaiting field to given value. ### HasIsSyncAwaiting -`func (o *PackageQuarantine) HasIsSyncAwaiting() bool` +`func (o *PackageResyncResponse) HasIsSyncAwaiting() bool` HasIsSyncAwaiting returns a boolean if a field has been set. ### GetIsSyncCompleted -`func (o *PackageQuarantine) GetIsSyncCompleted() bool` +`func (o *PackageResyncResponse) GetIsSyncCompleted() bool` GetIsSyncCompleted returns the IsSyncCompleted field if non-nil, zero value otherwise. ### GetIsSyncCompletedOk -`func (o *PackageQuarantine) GetIsSyncCompletedOk() (*bool, bool)` +`func (o *PackageResyncResponse) GetIsSyncCompletedOk() (*bool, bool)` GetIsSyncCompletedOk returns a tuple with the IsSyncCompleted field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetIsSyncCompleted -`func (o *PackageQuarantine) SetIsSyncCompleted(v bool)` +`func (o *PackageResyncResponse) SetIsSyncCompleted(v bool)` SetIsSyncCompleted sets IsSyncCompleted field to given value. ### HasIsSyncCompleted -`func (o *PackageQuarantine) HasIsSyncCompleted() bool` +`func (o *PackageResyncResponse) HasIsSyncCompleted() bool` HasIsSyncCompleted returns a boolean if a field has been set. ### GetIsSyncFailed -`func (o *PackageQuarantine) GetIsSyncFailed() bool` +`func (o *PackageResyncResponse) GetIsSyncFailed() bool` GetIsSyncFailed returns the IsSyncFailed field if non-nil, zero value otherwise. ### GetIsSyncFailedOk -`func (o *PackageQuarantine) GetIsSyncFailedOk() (*bool, bool)` +`func (o *PackageResyncResponse) GetIsSyncFailedOk() (*bool, bool)` GetIsSyncFailedOk returns a tuple with the IsSyncFailed field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetIsSyncFailed -`func (o *PackageQuarantine) SetIsSyncFailed(v bool)` +`func (o *PackageResyncResponse) SetIsSyncFailed(v bool)` SetIsSyncFailed sets IsSyncFailed field to given value. ### HasIsSyncFailed -`func (o *PackageQuarantine) HasIsSyncFailed() bool` +`func (o *PackageResyncResponse) HasIsSyncFailed() bool` HasIsSyncFailed returns a boolean if a field has been set. ### GetIsSyncInFlight -`func (o *PackageQuarantine) GetIsSyncInFlight() bool` +`func (o *PackageResyncResponse) GetIsSyncInFlight() bool` GetIsSyncInFlight returns the IsSyncInFlight field if non-nil, zero value otherwise. ### GetIsSyncInFlightOk -`func (o *PackageQuarantine) GetIsSyncInFlightOk() (*bool, bool)` +`func (o *PackageResyncResponse) GetIsSyncInFlightOk() (*bool, bool)` GetIsSyncInFlightOk returns a tuple with the IsSyncInFlight field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetIsSyncInFlight -`func (o *PackageQuarantine) SetIsSyncInFlight(v bool)` +`func (o *PackageResyncResponse) SetIsSyncInFlight(v bool)` SetIsSyncInFlight sets IsSyncInFlight field to given value. ### HasIsSyncInFlight -`func (o *PackageQuarantine) HasIsSyncInFlight() bool` +`func (o *PackageResyncResponse) HasIsSyncInFlight() bool` HasIsSyncInFlight returns a boolean if a field has been set. ### GetIsSyncInProgress -`func (o *PackageQuarantine) GetIsSyncInProgress() bool` +`func (o *PackageResyncResponse) GetIsSyncInProgress() bool` GetIsSyncInProgress returns the IsSyncInProgress field if non-nil, zero value otherwise. ### GetIsSyncInProgressOk -`func (o *PackageQuarantine) GetIsSyncInProgressOk() (*bool, bool)` +`func (o *PackageResyncResponse) GetIsSyncInProgressOk() (*bool, bool)` GetIsSyncInProgressOk returns a tuple with the IsSyncInProgress field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetIsSyncInProgress -`func (o *PackageQuarantine) SetIsSyncInProgress(v bool)` +`func (o *PackageResyncResponse) SetIsSyncInProgress(v bool)` SetIsSyncInProgress sets IsSyncInProgress field to given value. ### HasIsSyncInProgress -`func (o *PackageQuarantine) HasIsSyncInProgress() bool` +`func (o *PackageResyncResponse) HasIsSyncInProgress() bool` HasIsSyncInProgress returns a boolean if a field has been set. ### GetLicense -`func (o *PackageQuarantine) GetLicense() string` +`func (o *PackageResyncResponse) GetLicense() string` GetLicense returns the License field if non-nil, zero value otherwise. ### GetLicenseOk -`func (o *PackageQuarantine) GetLicenseOk() (*string, bool)` +`func (o *PackageResyncResponse) GetLicenseOk() (*string, bool)` GetLicenseOk returns a tuple with the License field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetLicense -`func (o *PackageQuarantine) SetLicense(v string)` +`func (o *PackageResyncResponse) SetLicense(v string)` SetLicense sets License field to given value. ### HasLicense -`func (o *PackageQuarantine) HasLicense() bool` +`func (o *PackageResyncResponse) HasLicense() bool` HasLicense returns a boolean if a field has been set. ### GetName -`func (o *PackageQuarantine) GetName() string` +`func (o *PackageResyncResponse) GetName() string` GetName returns the Name field if non-nil, zero value otherwise. ### GetNameOk -`func (o *PackageQuarantine) GetNameOk() (*string, bool)` +`func (o *PackageResyncResponse) GetNameOk() (*string, bool)` 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. ### SetName -`func (o *PackageQuarantine) SetName(v string)` +`func (o *PackageResyncResponse) SetName(v string)` SetName sets Name field to given value. ### HasName -`func (o *PackageQuarantine) HasName() bool` +`func (o *PackageResyncResponse) HasName() bool` HasName returns a boolean if a field has been set. ### GetNamespace -`func (o *PackageQuarantine) GetNamespace() string` +`func (o *PackageResyncResponse) GetNamespace() string` GetNamespace returns the Namespace field if non-nil, zero value otherwise. ### GetNamespaceOk -`func (o *PackageQuarantine) GetNamespaceOk() (*string, bool)` +`func (o *PackageResyncResponse) GetNamespaceOk() (*string, bool)` GetNamespaceOk returns a tuple with the Namespace field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetNamespace -`func (o *PackageQuarantine) SetNamespace(v string)` +`func (o *PackageResyncResponse) SetNamespace(v string)` SetNamespace sets Namespace field to given value. ### HasNamespace -`func (o *PackageQuarantine) HasNamespace() bool` +`func (o *PackageResyncResponse) HasNamespace() bool` HasNamespace returns a boolean if a field has been set. ### GetNamespaceUrl -`func (o *PackageQuarantine) GetNamespaceUrl() string` +`func (o *PackageResyncResponse) GetNamespaceUrl() string` GetNamespaceUrl returns the NamespaceUrl field if non-nil, zero value otherwise. ### GetNamespaceUrlOk -`func (o *PackageQuarantine) GetNamespaceUrlOk() (*string, bool)` +`func (o *PackageResyncResponse) GetNamespaceUrlOk() (*string, bool)` GetNamespaceUrlOk returns a tuple with the NamespaceUrl field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetNamespaceUrl -`func (o *PackageQuarantine) SetNamespaceUrl(v string)` +`func (o *PackageResyncResponse) SetNamespaceUrl(v string)` SetNamespaceUrl sets NamespaceUrl field to given value. ### HasNamespaceUrl -`func (o *PackageQuarantine) HasNamespaceUrl() bool` +`func (o *PackageResyncResponse) HasNamespaceUrl() bool` HasNamespaceUrl returns a boolean if a field has been set. ### GetNumFiles -`func (o *PackageQuarantine) GetNumFiles() int64` +`func (o *PackageResyncResponse) GetNumFiles() int64` GetNumFiles returns the NumFiles field if non-nil, zero value otherwise. ### GetNumFilesOk -`func (o *PackageQuarantine) GetNumFilesOk() (*int64, bool)` +`func (o *PackageResyncResponse) GetNumFilesOk() (*int64, bool)` GetNumFilesOk returns a tuple with the NumFiles field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetNumFiles -`func (o *PackageQuarantine) SetNumFiles(v int64)` +`func (o *PackageResyncResponse) SetNumFiles(v int64)` SetNumFiles sets NumFiles field to given value. ### HasNumFiles -`func (o *PackageQuarantine) HasNumFiles() bool` +`func (o *PackageResyncResponse) HasNumFiles() bool` HasNumFiles returns a boolean if a field has been set. +### GetOriginRepository + +`func (o *PackageResyncResponse) GetOriginRepository() string` + +GetOriginRepository returns the OriginRepository field if non-nil, zero value otherwise. + +### GetOriginRepositoryOk + +`func (o *PackageResyncResponse) GetOriginRepositoryOk() (*string, bool)` + +GetOriginRepositoryOk returns a tuple with the OriginRepository field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetOriginRepository + +`func (o *PackageResyncResponse) SetOriginRepository(v string)` + +SetOriginRepository sets OriginRepository field to given value. + +### HasOriginRepository + +`func (o *PackageResyncResponse) HasOriginRepository() bool` + +HasOriginRepository returns a boolean if a field has been set. + +### GetOriginRepositoryUrl + +`func (o *PackageResyncResponse) GetOriginRepositoryUrl() string` + +GetOriginRepositoryUrl returns the OriginRepositoryUrl field if non-nil, zero value otherwise. + +### GetOriginRepositoryUrlOk + +`func (o *PackageResyncResponse) GetOriginRepositoryUrlOk() (*string, bool)` + +GetOriginRepositoryUrlOk returns a tuple with the OriginRepositoryUrl field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetOriginRepositoryUrl + +`func (o *PackageResyncResponse) SetOriginRepositoryUrl(v string)` + +SetOriginRepositoryUrl sets OriginRepositoryUrl field to given value. + +### HasOriginRepositoryUrl + +`func (o *PackageResyncResponse) HasOriginRepositoryUrl() bool` + +HasOriginRepositoryUrl returns a boolean if a field has been set. + ### GetPackageType -`func (o *PackageQuarantine) GetPackageType() int64` +`func (o *PackageResyncResponse) GetPackageType() int64` GetPackageType returns the PackageType field if non-nil, zero value otherwise. ### GetPackageTypeOk -`func (o *PackageQuarantine) GetPackageTypeOk() (*int64, bool)` +`func (o *PackageResyncResponse) GetPackageTypeOk() (*int64, bool)` GetPackageTypeOk returns a tuple with the PackageType field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetPackageType -`func (o *PackageQuarantine) SetPackageType(v int64)` +`func (o *PackageResyncResponse) SetPackageType(v int64)` SetPackageType sets PackageType field to given value. ### HasPackageType -`func (o *PackageQuarantine) HasPackageType() bool` +`func (o *PackageResyncResponse) HasPackageType() bool` HasPackageType returns a boolean if a field has been set. ### GetRelease -`func (o *PackageQuarantine) GetRelease() string` +`func (o *PackageResyncResponse) GetRelease() string` GetRelease returns the Release field if non-nil, zero value otherwise. ### GetReleaseOk -`func (o *PackageQuarantine) GetReleaseOk() (*string, bool)` +`func (o *PackageResyncResponse) GetReleaseOk() (*string, bool)` GetReleaseOk returns a tuple with the Release field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetRelease -`func (o *PackageQuarantine) SetRelease(v string)` +`func (o *PackageResyncResponse) SetRelease(v string)` SetRelease sets Release field to given value. ### HasRelease -`func (o *PackageQuarantine) HasRelease() bool` +`func (o *PackageResyncResponse) HasRelease() bool` HasRelease returns a boolean if a field has been set. ### GetRepository -`func (o *PackageQuarantine) GetRepository() string` +`func (o *PackageResyncResponse) GetRepository() string` GetRepository returns the Repository field if non-nil, zero value otherwise. ### GetRepositoryOk -`func (o *PackageQuarantine) GetRepositoryOk() (*string, bool)` +`func (o *PackageResyncResponse) GetRepositoryOk() (*string, bool)` GetRepositoryOk returns a tuple with the Repository field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetRepository -`func (o *PackageQuarantine) SetRepository(v string)` +`func (o *PackageResyncResponse) SetRepository(v string)` SetRepository sets Repository field to given value. ### HasRepository -`func (o *PackageQuarantine) HasRepository() bool` +`func (o *PackageResyncResponse) HasRepository() bool` HasRepository returns a boolean if a field has been set. ### GetRepositoryUrl -`func (o *PackageQuarantine) GetRepositoryUrl() string` +`func (o *PackageResyncResponse) GetRepositoryUrl() string` GetRepositoryUrl returns the RepositoryUrl field if non-nil, zero value otherwise. ### GetRepositoryUrlOk -`func (o *PackageQuarantine) GetRepositoryUrlOk() (*string, bool)` +`func (o *PackageResyncResponse) GetRepositoryUrlOk() (*string, bool)` GetRepositoryUrlOk returns a tuple with the RepositoryUrl field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetRepositoryUrl -`func (o *PackageQuarantine) SetRepositoryUrl(v string)` +`func (o *PackageResyncResponse) SetRepositoryUrl(v string)` SetRepositoryUrl sets RepositoryUrl field to given value. ### HasRepositoryUrl -`func (o *PackageQuarantine) HasRepositoryUrl() bool` +`func (o *PackageResyncResponse) HasRepositoryUrl() bool` HasRepositoryUrl returns a boolean if a field has been set. ### GetSecurityScanCompletedAt -`func (o *PackageQuarantine) GetSecurityScanCompletedAt() string` +`func (o *PackageResyncResponse) GetSecurityScanCompletedAt() time.Time` GetSecurityScanCompletedAt returns the SecurityScanCompletedAt field if non-nil, zero value otherwise. ### GetSecurityScanCompletedAtOk -`func (o *PackageQuarantine) GetSecurityScanCompletedAtOk() (*string, bool)` +`func (o *PackageResyncResponse) GetSecurityScanCompletedAtOk() (*time.Time, bool)` GetSecurityScanCompletedAtOk returns a tuple with the SecurityScanCompletedAt field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetSecurityScanCompletedAt -`func (o *PackageQuarantine) SetSecurityScanCompletedAt(v string)` +`func (o *PackageResyncResponse) SetSecurityScanCompletedAt(v time.Time)` SetSecurityScanCompletedAt sets SecurityScanCompletedAt field to given value. ### HasSecurityScanCompletedAt -`func (o *PackageQuarantine) HasSecurityScanCompletedAt() bool` +`func (o *PackageResyncResponse) HasSecurityScanCompletedAt() bool` HasSecurityScanCompletedAt returns a boolean if a field has been set. ### GetSecurityScanStartedAt -`func (o *PackageQuarantine) GetSecurityScanStartedAt() string` +`func (o *PackageResyncResponse) GetSecurityScanStartedAt() time.Time` GetSecurityScanStartedAt returns the SecurityScanStartedAt field if non-nil, zero value otherwise. ### GetSecurityScanStartedAtOk -`func (o *PackageQuarantine) GetSecurityScanStartedAtOk() (*string, bool)` +`func (o *PackageResyncResponse) GetSecurityScanStartedAtOk() (*time.Time, bool)` GetSecurityScanStartedAtOk returns a tuple with the SecurityScanStartedAt field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetSecurityScanStartedAt -`func (o *PackageQuarantine) SetSecurityScanStartedAt(v string)` +`func (o *PackageResyncResponse) SetSecurityScanStartedAt(v time.Time)` SetSecurityScanStartedAt sets SecurityScanStartedAt field to given value. ### HasSecurityScanStartedAt -`func (o *PackageQuarantine) HasSecurityScanStartedAt() bool` +`func (o *PackageResyncResponse) HasSecurityScanStartedAt() bool` HasSecurityScanStartedAt returns a boolean if a field has been set. ### GetSecurityScanStatus -`func (o *PackageQuarantine) GetSecurityScanStatus() string` +`func (o *PackageResyncResponse) GetSecurityScanStatus() string` GetSecurityScanStatus returns the SecurityScanStatus field if non-nil, zero value otherwise. ### GetSecurityScanStatusOk -`func (o *PackageQuarantine) GetSecurityScanStatusOk() (*string, bool)` +`func (o *PackageResyncResponse) GetSecurityScanStatusOk() (*string, bool)` GetSecurityScanStatusOk returns a tuple with the SecurityScanStatus field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetSecurityScanStatus -`func (o *PackageQuarantine) SetSecurityScanStatus(v string)` +`func (o *PackageResyncResponse) SetSecurityScanStatus(v string)` SetSecurityScanStatus sets SecurityScanStatus field to given value. ### HasSecurityScanStatus -`func (o *PackageQuarantine) HasSecurityScanStatus() bool` +`func (o *PackageResyncResponse) HasSecurityScanStatus() bool` HasSecurityScanStatus returns a boolean if a field has been set. +### SetSecurityScanStatusNil + +`func (o *PackageResyncResponse) SetSecurityScanStatusNil(b bool)` + + SetSecurityScanStatusNil sets the value for SecurityScanStatus to be an explicit nil + +### UnsetSecurityScanStatus +`func (o *PackageResyncResponse) UnsetSecurityScanStatus()` + +UnsetSecurityScanStatus ensures that no value is present for SecurityScanStatus, not even an explicit nil ### GetSecurityScanStatusUpdatedAt -`func (o *PackageQuarantine) GetSecurityScanStatusUpdatedAt() string` +`func (o *PackageResyncResponse) GetSecurityScanStatusUpdatedAt() time.Time` GetSecurityScanStatusUpdatedAt returns the SecurityScanStatusUpdatedAt field if non-nil, zero value otherwise. ### GetSecurityScanStatusUpdatedAtOk -`func (o *PackageQuarantine) GetSecurityScanStatusUpdatedAtOk() (*string, bool)` +`func (o *PackageResyncResponse) GetSecurityScanStatusUpdatedAtOk() (*time.Time, bool)` GetSecurityScanStatusUpdatedAtOk returns a tuple with the SecurityScanStatusUpdatedAt field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetSecurityScanStatusUpdatedAt -`func (o *PackageQuarantine) SetSecurityScanStatusUpdatedAt(v string)` +`func (o *PackageResyncResponse) SetSecurityScanStatusUpdatedAt(v time.Time)` SetSecurityScanStatusUpdatedAt sets SecurityScanStatusUpdatedAt field to given value. ### HasSecurityScanStatusUpdatedAt -`func (o *PackageQuarantine) HasSecurityScanStatusUpdatedAt() bool` +`func (o *PackageResyncResponse) HasSecurityScanStatusUpdatedAt() bool` HasSecurityScanStatusUpdatedAt returns a boolean if a field has been set. ### GetSelfHtmlUrl -`func (o *PackageQuarantine) GetSelfHtmlUrl() string` +`func (o *PackageResyncResponse) GetSelfHtmlUrl() string` GetSelfHtmlUrl returns the SelfHtmlUrl field if non-nil, zero value otherwise. ### GetSelfHtmlUrlOk -`func (o *PackageQuarantine) GetSelfHtmlUrlOk() (*string, bool)` +`func (o *PackageResyncResponse) GetSelfHtmlUrlOk() (*string, bool)` GetSelfHtmlUrlOk returns a tuple with the SelfHtmlUrl field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetSelfHtmlUrl -`func (o *PackageQuarantine) SetSelfHtmlUrl(v string)` +`func (o *PackageResyncResponse) SetSelfHtmlUrl(v string)` SetSelfHtmlUrl sets SelfHtmlUrl field to given value. ### HasSelfHtmlUrl -`func (o *PackageQuarantine) HasSelfHtmlUrl() bool` +`func (o *PackageResyncResponse) HasSelfHtmlUrl() bool` HasSelfHtmlUrl returns a boolean if a field has been set. ### GetSelfUrl -`func (o *PackageQuarantine) GetSelfUrl() string` +`func (o *PackageResyncResponse) GetSelfUrl() string` GetSelfUrl returns the SelfUrl field if non-nil, zero value otherwise. ### GetSelfUrlOk -`func (o *PackageQuarantine) GetSelfUrlOk() (*string, bool)` +`func (o *PackageResyncResponse) GetSelfUrlOk() (*string, bool)` GetSelfUrlOk returns a tuple with the SelfUrl field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetSelfUrl -`func (o *PackageQuarantine) SetSelfUrl(v string)` +`func (o *PackageResyncResponse) SetSelfUrl(v string)` SetSelfUrl sets SelfUrl field to given value. ### HasSelfUrl -`func (o *PackageQuarantine) HasSelfUrl() bool` +`func (o *PackageResyncResponse) HasSelfUrl() bool` HasSelfUrl returns a boolean if a field has been set. ### GetSignatureUrl -`func (o *PackageQuarantine) GetSignatureUrl() string` +`func (o *PackageResyncResponse) GetSignatureUrl() string` GetSignatureUrl returns the SignatureUrl field if non-nil, zero value otherwise. ### GetSignatureUrlOk -`func (o *PackageQuarantine) GetSignatureUrlOk() (*string, bool)` +`func (o *PackageResyncResponse) GetSignatureUrlOk() (*string, bool)` GetSignatureUrlOk returns a tuple with the SignatureUrl field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetSignatureUrl -`func (o *PackageQuarantine) SetSignatureUrl(v string)` +`func (o *PackageResyncResponse) SetSignatureUrl(v string)` SetSignatureUrl sets SignatureUrl field to given value. ### HasSignatureUrl -`func (o *PackageQuarantine) HasSignatureUrl() bool` +`func (o *PackageResyncResponse) HasSignatureUrl() bool` HasSignatureUrl returns a boolean if a field has been set. +### SetSignatureUrlNil + +`func (o *PackageResyncResponse) SetSignatureUrlNil(b bool)` + + SetSignatureUrlNil sets the value for SignatureUrl to be an explicit nil + +### UnsetSignatureUrl +`func (o *PackageResyncResponse) UnsetSignatureUrl()` + +UnsetSignatureUrl ensures that no value is present for SignatureUrl, not even an explicit nil ### GetSize -`func (o *PackageQuarantine) GetSize() int64` +`func (o *PackageResyncResponse) GetSize() int64` GetSize returns the Size field if non-nil, zero value otherwise. ### GetSizeOk -`func (o *PackageQuarantine) GetSizeOk() (*int64, bool)` +`func (o *PackageResyncResponse) GetSizeOk() (*int64, bool)` GetSizeOk returns a tuple with the Size field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetSize -`func (o *PackageQuarantine) SetSize(v int64)` +`func (o *PackageResyncResponse) SetSize(v int64)` SetSize sets Size field to given value. ### HasSize -`func (o *PackageQuarantine) HasSize() bool` +`func (o *PackageResyncResponse) HasSize() bool` HasSize returns a boolean if a field has been set. ### GetSlug -`func (o *PackageQuarantine) GetSlug() string` +`func (o *PackageResyncResponse) GetSlug() string` GetSlug returns the Slug field if non-nil, zero value otherwise. ### GetSlugOk -`func (o *PackageQuarantine) GetSlugOk() (*string, bool)` +`func (o *PackageResyncResponse) GetSlugOk() (*string, bool)` GetSlugOk returns a tuple with the Slug field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetSlug -`func (o *PackageQuarantine) SetSlug(v string)` +`func (o *PackageResyncResponse) SetSlug(v string)` SetSlug sets Slug field to given value. ### HasSlug -`func (o *PackageQuarantine) HasSlug() bool` +`func (o *PackageResyncResponse) HasSlug() bool` HasSlug returns a boolean if a field has been set. ### GetSlugPerm -`func (o *PackageQuarantine) GetSlugPerm() string` +`func (o *PackageResyncResponse) GetSlugPerm() string` GetSlugPerm returns the SlugPerm field if non-nil, zero value otherwise. ### GetSlugPermOk -`func (o *PackageQuarantine) GetSlugPermOk() (*string, bool)` +`func (o *PackageResyncResponse) GetSlugPermOk() (*string, bool)` GetSlugPermOk returns a tuple with the SlugPerm field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetSlugPerm -`func (o *PackageQuarantine) SetSlugPerm(v string)` +`func (o *PackageResyncResponse) SetSlugPerm(v string)` SetSlugPerm sets SlugPerm field to given value. ### HasSlugPerm -`func (o *PackageQuarantine) HasSlugPerm() bool` +`func (o *PackageResyncResponse) HasSlugPerm() bool` HasSlugPerm returns a boolean if a field has been set. ### GetStage -`func (o *PackageQuarantine) GetStage() int64` +`func (o *PackageResyncResponse) GetStage() int64` GetStage returns the Stage field if non-nil, zero value otherwise. ### GetStageOk -`func (o *PackageQuarantine) GetStageOk() (*int64, bool)` +`func (o *PackageResyncResponse) GetStageOk() (*int64, bool)` GetStageOk returns a tuple with the Stage field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetStage -`func (o *PackageQuarantine) SetStage(v int64)` +`func (o *PackageResyncResponse) SetStage(v int64)` SetStage sets Stage field to given value. ### HasStage -`func (o *PackageQuarantine) HasStage() bool` +`func (o *PackageResyncResponse) HasStage() bool` HasStage returns a boolean if a field has been set. ### GetStageStr -`func (o *PackageQuarantine) GetStageStr() string` +`func (o *PackageResyncResponse) GetStageStr() string` GetStageStr returns the StageStr field if non-nil, zero value otherwise. ### GetStageStrOk -`func (o *PackageQuarantine) GetStageStrOk() (*string, bool)` +`func (o *PackageResyncResponse) GetStageStrOk() (*string, bool)` GetStageStrOk returns a tuple with the StageStr field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetStageStr -`func (o *PackageQuarantine) SetStageStr(v string)` +`func (o *PackageResyncResponse) SetStageStr(v string)` SetStageStr sets StageStr field to given value. ### HasStageStr -`func (o *PackageQuarantine) HasStageStr() bool` +`func (o *PackageResyncResponse) HasStageStr() bool` HasStageStr returns a boolean if a field has been set. ### GetStageUpdatedAt -`func (o *PackageQuarantine) GetStageUpdatedAt() string` +`func (o *PackageResyncResponse) GetStageUpdatedAt() time.Time` GetStageUpdatedAt returns the StageUpdatedAt field if non-nil, zero value otherwise. ### GetStageUpdatedAtOk -`func (o *PackageQuarantine) GetStageUpdatedAtOk() (*string, bool)` +`func (o *PackageResyncResponse) GetStageUpdatedAtOk() (*time.Time, bool)` GetStageUpdatedAtOk returns a tuple with the StageUpdatedAt field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetStageUpdatedAt -`func (o *PackageQuarantine) SetStageUpdatedAt(v string)` +`func (o *PackageResyncResponse) SetStageUpdatedAt(v time.Time)` SetStageUpdatedAt sets StageUpdatedAt field to given value. ### HasStageUpdatedAt -`func (o *PackageQuarantine) HasStageUpdatedAt() bool` +`func (o *PackageResyncResponse) HasStageUpdatedAt() bool` HasStageUpdatedAt returns a boolean if a field has been set. ### GetStatus -`func (o *PackageQuarantine) GetStatus() int64` +`func (o *PackageResyncResponse) GetStatus() int64` GetStatus returns the Status field if non-nil, zero value otherwise. ### GetStatusOk -`func (o *PackageQuarantine) GetStatusOk() (*int64, bool)` +`func (o *PackageResyncResponse) GetStatusOk() (*int64, bool)` GetStatusOk returns a tuple with the Status field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetStatus -`func (o *PackageQuarantine) SetStatus(v int64)` +`func (o *PackageResyncResponse) SetStatus(v int64)` SetStatus sets Status field to given value. ### HasStatus -`func (o *PackageQuarantine) HasStatus() bool` +`func (o *PackageResyncResponse) HasStatus() bool` HasStatus returns a boolean if a field has been set. ### GetStatusReason -`func (o *PackageQuarantine) GetStatusReason() string` +`func (o *PackageResyncResponse) GetStatusReason() string` GetStatusReason returns the StatusReason field if non-nil, zero value otherwise. ### GetStatusReasonOk -`func (o *PackageQuarantine) GetStatusReasonOk() (*string, bool)` +`func (o *PackageResyncResponse) GetStatusReasonOk() (*string, bool)` GetStatusReasonOk returns a tuple with the StatusReason field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetStatusReason -`func (o *PackageQuarantine) SetStatusReason(v string)` +`func (o *PackageResyncResponse) SetStatusReason(v string)` SetStatusReason sets StatusReason field to given value. ### HasStatusReason -`func (o *PackageQuarantine) HasStatusReason() bool` +`func (o *PackageResyncResponse) HasStatusReason() bool` HasStatusReason returns a boolean if a field has been set. ### GetStatusStr -`func (o *PackageQuarantine) GetStatusStr() string` +`func (o *PackageResyncResponse) GetStatusStr() string` GetStatusStr returns the StatusStr field if non-nil, zero value otherwise. ### GetStatusStrOk -`func (o *PackageQuarantine) GetStatusStrOk() (*string, bool)` +`func (o *PackageResyncResponse) GetStatusStrOk() (*string, bool)` GetStatusStrOk returns a tuple with the StatusStr field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetStatusStr -`func (o *PackageQuarantine) SetStatusStr(v string)` +`func (o *PackageResyncResponse) SetStatusStr(v string)` SetStatusStr sets StatusStr field to given value. ### HasStatusStr -`func (o *PackageQuarantine) HasStatusStr() bool` +`func (o *PackageResyncResponse) HasStatusStr() bool` HasStatusStr returns a boolean if a field has been set. ### GetStatusUpdatedAt -`func (o *PackageQuarantine) GetStatusUpdatedAt() string` +`func (o *PackageResyncResponse) GetStatusUpdatedAt() time.Time` GetStatusUpdatedAt returns the StatusUpdatedAt field if non-nil, zero value otherwise. ### GetStatusUpdatedAtOk -`func (o *PackageQuarantine) GetStatusUpdatedAtOk() (*string, bool)` +`func (o *PackageResyncResponse) GetStatusUpdatedAtOk() (*time.Time, bool)` GetStatusUpdatedAtOk returns a tuple with the StatusUpdatedAt field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetStatusUpdatedAt -`func (o *PackageQuarantine) SetStatusUpdatedAt(v string)` +`func (o *PackageResyncResponse) SetStatusUpdatedAt(v time.Time)` SetStatusUpdatedAt sets StatusUpdatedAt field to given value. ### HasStatusUpdatedAt -`func (o *PackageQuarantine) HasStatusUpdatedAt() bool` +`func (o *PackageResyncResponse) HasStatusUpdatedAt() bool` HasStatusUpdatedAt returns a boolean if a field has been set. ### GetStatusUrl -`func (o *PackageQuarantine) GetStatusUrl() string` +`func (o *PackageResyncResponse) GetStatusUrl() string` GetStatusUrl returns the StatusUrl field if non-nil, zero value otherwise. ### GetStatusUrlOk -`func (o *PackageQuarantine) GetStatusUrlOk() (*string, bool)` +`func (o *PackageResyncResponse) GetStatusUrlOk() (*string, bool)` GetStatusUrlOk returns a tuple with the StatusUrl field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetStatusUrl -`func (o *PackageQuarantine) SetStatusUrl(v string)` +`func (o *PackageResyncResponse) SetStatusUrl(v string)` SetStatusUrl sets StatusUrl field to given value. ### HasStatusUrl -`func (o *PackageQuarantine) HasStatusUrl() bool` +`func (o *PackageResyncResponse) HasStatusUrl() bool` HasStatusUrl returns a boolean if a field has been set. ### GetSubtype -`func (o *PackageQuarantine) GetSubtype() string` +`func (o *PackageResyncResponse) GetSubtype() string` GetSubtype returns the Subtype field if non-nil, zero value otherwise. ### GetSubtypeOk -`func (o *PackageQuarantine) GetSubtypeOk() (*string, bool)` +`func (o *PackageResyncResponse) GetSubtypeOk() (*string, bool)` GetSubtypeOk returns a tuple with the Subtype field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetSubtype -`func (o *PackageQuarantine) SetSubtype(v string)` +`func (o *PackageResyncResponse) SetSubtype(v string)` SetSubtype sets Subtype field to given value. ### HasSubtype -`func (o *PackageQuarantine) HasSubtype() bool` +`func (o *PackageResyncResponse) HasSubtype() bool` HasSubtype returns a boolean if a field has been set. ### GetSummary -`func (o *PackageQuarantine) GetSummary() string` +`func (o *PackageResyncResponse) GetSummary() string` GetSummary returns the Summary field if non-nil, zero value otherwise. ### GetSummaryOk -`func (o *PackageQuarantine) GetSummaryOk() (*string, bool)` +`func (o *PackageResyncResponse) GetSummaryOk() (*string, bool)` GetSummaryOk returns a tuple with the Summary field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetSummary -`func (o *PackageQuarantine) SetSummary(v string)` +`func (o *PackageResyncResponse) SetSummary(v string)` SetSummary sets Summary field to given value. ### HasSummary -`func (o *PackageQuarantine) HasSummary() bool` +`func (o *PackageResyncResponse) HasSummary() bool` HasSummary returns a boolean if a field has been set. ### GetSyncFinishedAt -`func (o *PackageQuarantine) GetSyncFinishedAt() string` +`func (o *PackageResyncResponse) GetSyncFinishedAt() time.Time` GetSyncFinishedAt returns the SyncFinishedAt field if non-nil, zero value otherwise. ### GetSyncFinishedAtOk -`func (o *PackageQuarantine) GetSyncFinishedAtOk() (*string, bool)` +`func (o *PackageResyncResponse) GetSyncFinishedAtOk() (*time.Time, bool)` GetSyncFinishedAtOk returns a tuple with the SyncFinishedAt field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetSyncFinishedAt -`func (o *PackageQuarantine) SetSyncFinishedAt(v string)` +`func (o *PackageResyncResponse) SetSyncFinishedAt(v time.Time)` SetSyncFinishedAt sets SyncFinishedAt field to given value. ### HasSyncFinishedAt -`func (o *PackageQuarantine) HasSyncFinishedAt() bool` +`func (o *PackageResyncResponse) HasSyncFinishedAt() bool` HasSyncFinishedAt returns a boolean if a field has been set. ### GetSyncProgress -`func (o *PackageQuarantine) GetSyncProgress() int64` +`func (o *PackageResyncResponse) GetSyncProgress() int64` GetSyncProgress returns the SyncProgress field if non-nil, zero value otherwise. ### GetSyncProgressOk -`func (o *PackageQuarantine) GetSyncProgressOk() (*int64, bool)` +`func (o *PackageResyncResponse) GetSyncProgressOk() (*int64, bool)` GetSyncProgressOk returns a tuple with the SyncProgress field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetSyncProgress -`func (o *PackageQuarantine) SetSyncProgress(v int64)` +`func (o *PackageResyncResponse) SetSyncProgress(v int64)` SetSyncProgress sets SyncProgress field to given value. ### HasSyncProgress -`func (o *PackageQuarantine) HasSyncProgress() bool` +`func (o *PackageResyncResponse) HasSyncProgress() bool` HasSyncProgress returns a boolean if a field has been set. ### GetTags -`func (o *PackageQuarantine) GetTags() map[string]interface{}` +`func (o *PackageResyncResponse) GetTags() map[string]interface{}` GetTags returns the Tags field if non-nil, zero value otherwise. ### GetTagsOk -`func (o *PackageQuarantine) GetTagsOk() (*map[string]interface{}, bool)` +`func (o *PackageResyncResponse) GetTagsOk() (*map[string]interface{}, bool)` GetTagsOk returns a tuple with the Tags field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetTags -`func (o *PackageQuarantine) SetTags(v map[string]interface{})` +`func (o *PackageResyncResponse) SetTags(v map[string]interface{})` SetTags sets Tags field to given value. ### HasTags -`func (o *PackageQuarantine) HasTags() bool` +`func (o *PackageResyncResponse) HasTags() bool` HasTags returns a boolean if a field has been set. ### GetTagsImmutable -`func (o *PackageQuarantine) GetTagsImmutable() map[string]interface{}` +`func (o *PackageResyncResponse) GetTagsImmutable() map[string]interface{}` GetTagsImmutable returns the TagsImmutable field if non-nil, zero value otherwise. ### GetTagsImmutableOk -`func (o *PackageQuarantine) GetTagsImmutableOk() (*map[string]interface{}, bool)` +`func (o *PackageResyncResponse) GetTagsImmutableOk() (*map[string]interface{}, bool)` GetTagsImmutableOk returns a tuple with the TagsImmutable field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetTagsImmutable -`func (o *PackageQuarantine) SetTagsImmutable(v map[string]interface{})` +`func (o *PackageResyncResponse) SetTagsImmutable(v map[string]interface{})` SetTagsImmutable sets TagsImmutable field to given value. ### HasTagsImmutable -`func (o *PackageQuarantine) HasTagsImmutable() bool` +`func (o *PackageResyncResponse) HasTagsImmutable() bool` HasTagsImmutable returns a boolean if a field has been set. ### GetTypeDisplay -`func (o *PackageQuarantine) GetTypeDisplay() string` +`func (o *PackageResyncResponse) GetTypeDisplay() string` GetTypeDisplay returns the TypeDisplay field if non-nil, zero value otherwise. ### GetTypeDisplayOk -`func (o *PackageQuarantine) GetTypeDisplayOk() (*string, bool)` +`func (o *PackageResyncResponse) GetTypeDisplayOk() (*string, bool)` GetTypeDisplayOk returns a tuple with the TypeDisplay field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetTypeDisplay -`func (o *PackageQuarantine) SetTypeDisplay(v string)` +`func (o *PackageResyncResponse) SetTypeDisplay(v string)` SetTypeDisplay sets TypeDisplay field to given value. ### HasTypeDisplay -`func (o *PackageQuarantine) HasTypeDisplay() bool` +`func (o *PackageResyncResponse) HasTypeDisplay() bool` HasTypeDisplay returns a boolean if a field has been set. ### GetUploadedAt -`func (o *PackageQuarantine) GetUploadedAt() string` +`func (o *PackageResyncResponse) GetUploadedAt() time.Time` GetUploadedAt returns the UploadedAt field if non-nil, zero value otherwise. ### GetUploadedAtOk -`func (o *PackageQuarantine) GetUploadedAtOk() (*string, bool)` +`func (o *PackageResyncResponse) GetUploadedAtOk() (*time.Time, bool)` GetUploadedAtOk returns a tuple with the UploadedAt field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetUploadedAt -`func (o *PackageQuarantine) SetUploadedAt(v string)` +`func (o *PackageResyncResponse) SetUploadedAt(v time.Time)` SetUploadedAt sets UploadedAt field to given value. ### HasUploadedAt -`func (o *PackageQuarantine) HasUploadedAt() bool` +`func (o *PackageResyncResponse) HasUploadedAt() bool` HasUploadedAt returns a boolean if a field has been set. ### GetUploader -`func (o *PackageQuarantine) GetUploader() string` +`func (o *PackageResyncResponse) GetUploader() string` GetUploader returns the Uploader field if non-nil, zero value otherwise. ### GetUploaderOk -`func (o *PackageQuarantine) GetUploaderOk() (*string, bool)` +`func (o *PackageResyncResponse) GetUploaderOk() (*string, bool)` GetUploaderOk returns a tuple with the Uploader field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetUploader -`func (o *PackageQuarantine) SetUploader(v string)` +`func (o *PackageResyncResponse) SetUploader(v string)` SetUploader sets Uploader field to given value. ### HasUploader -`func (o *PackageQuarantine) HasUploader() bool` +`func (o *PackageResyncResponse) HasUploader() bool` HasUploader returns a boolean if a field has been set. ### GetUploaderUrl -`func (o *PackageQuarantine) GetUploaderUrl() string` +`func (o *PackageResyncResponse) GetUploaderUrl() string` GetUploaderUrl returns the UploaderUrl field if non-nil, zero value otherwise. ### GetUploaderUrlOk -`func (o *PackageQuarantine) GetUploaderUrlOk() (*string, bool)` +`func (o *PackageResyncResponse) GetUploaderUrlOk() (*string, bool)` GetUploaderUrlOk returns a tuple with the UploaderUrl field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetUploaderUrl -`func (o *PackageQuarantine) SetUploaderUrl(v string)` +`func (o *PackageResyncResponse) SetUploaderUrl(v string)` SetUploaderUrl sets UploaderUrl field to given value. ### HasUploaderUrl -`func (o *PackageQuarantine) HasUploaderUrl() bool` +`func (o *PackageResyncResponse) HasUploaderUrl() bool` HasUploaderUrl returns a boolean if a field has been set. ### GetVersion -`func (o *PackageQuarantine) GetVersion() string` +`func (o *PackageResyncResponse) GetVersion() string` GetVersion returns the Version field if non-nil, zero value otherwise. ### GetVersionOk -`func (o *PackageQuarantine) GetVersionOk() (*string, bool)` +`func (o *PackageResyncResponse) GetVersionOk() (*string, bool)` GetVersionOk returns a tuple with the Version field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetVersion -`func (o *PackageQuarantine) SetVersion(v string)` +`func (o *PackageResyncResponse) SetVersion(v string)` SetVersion sets Version field to given value. ### HasVersion -`func (o *PackageQuarantine) HasVersion() bool` +`func (o *PackageResyncResponse) HasVersion() bool` HasVersion returns a boolean if a field has been set. ### GetVersionOrig -`func (o *PackageQuarantine) GetVersionOrig() string` +`func (o *PackageResyncResponse) GetVersionOrig() string` GetVersionOrig returns the VersionOrig field if non-nil, zero value otherwise. ### GetVersionOrigOk -`func (o *PackageQuarantine) GetVersionOrigOk() (*string, bool)` +`func (o *PackageResyncResponse) GetVersionOrigOk() (*string, bool)` GetVersionOrigOk returns a tuple with the VersionOrig field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetVersionOrig -`func (o *PackageQuarantine) SetVersionOrig(v string)` +`func (o *PackageResyncResponse) SetVersionOrig(v string)` SetVersionOrig sets VersionOrig field to given value. ### HasVersionOrig -`func (o *PackageQuarantine) HasVersionOrig() bool` +`func (o *PackageResyncResponse) HasVersionOrig() bool` HasVersionOrig returns a boolean if a field has been set. ### GetVulnerabilityScanResultsUrl -`func (o *PackageQuarantine) GetVulnerabilityScanResultsUrl() string` +`func (o *PackageResyncResponse) GetVulnerabilityScanResultsUrl() string` GetVulnerabilityScanResultsUrl returns the VulnerabilityScanResultsUrl field if non-nil, zero value otherwise. ### GetVulnerabilityScanResultsUrlOk -`func (o *PackageQuarantine) GetVulnerabilityScanResultsUrlOk() (*string, bool)` +`func (o *PackageResyncResponse) GetVulnerabilityScanResultsUrlOk() (*string, bool)` GetVulnerabilityScanResultsUrlOk returns a tuple with the VulnerabilityScanResultsUrl field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetVulnerabilityScanResultsUrl -`func (o *PackageQuarantine) SetVulnerabilityScanResultsUrl(v string)` +`func (o *PackageResyncResponse) SetVulnerabilityScanResultsUrl(v string)` SetVulnerabilityScanResultsUrl sets VulnerabilityScanResultsUrl field to given value. ### HasVulnerabilityScanResultsUrl -`func (o *PackageQuarantine) HasVulnerabilityScanResultsUrl() bool` +`func (o *PackageResyncResponse) HasVulnerabilityScanResultsUrl() bool` HasVulnerabilityScanResultsUrl returns a boolean if a field has been set. diff --git a/docs/PackageStatus.md b/docs/PackageStatusResponse.md similarity index 59% rename from docs/PackageStatus.md rename to docs/PackageStatusResponse.md index 53bcb746..ef0ea05b 100644 --- a/docs/PackageStatus.md +++ b/docs/PackageStatusResponse.md @@ -1,468 +1,468 @@ -# PackageStatus +# PackageStatusResponse ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**IsDownloadable** | Pointer to **bool** | | [optional] -**IsQuarantined** | Pointer to **bool** | | [optional] -**IsSyncAwaiting** | Pointer to **bool** | | [optional] -**IsSyncCompleted** | Pointer to **bool** | | [optional] -**IsSyncFailed** | Pointer to **bool** | | [optional] -**IsSyncInFlight** | Pointer to **bool** | | [optional] -**IsSyncInProgress** | Pointer to **bool** | | [optional] -**SelfUrl** | Pointer to **string** | | [optional] -**Stage** | Pointer to **int64** | The synchronisation (in progress) stage of the package. | [optional] -**StageStr** | Pointer to **string** | | [optional] -**StageUpdatedAt** | Pointer to **string** | The datetime the package stage was updated at. | [optional] -**Status** | Pointer to **int64** | The synchronisation status of the package. | [optional] -**StatusReason** | Pointer to **string** | A textual description for the synchronous status reason (if any | [optional] -**StatusStr** | Pointer to **string** | | [optional] -**StatusUpdatedAt** | Pointer to **string** | The datetime the package status was updated at. | [optional] -**SyncFinishedAt** | Pointer to **string** | The datetime the package sync was finished at. | [optional] -**SyncProgress** | Pointer to **int64** | Synchronisation progress (from 0-100) | [optional] +**IsDownloadable** | Pointer to **bool** | | [optional] [readonly] +**IsQuarantined** | Pointer to **bool** | | [optional] [readonly] +**IsSyncAwaiting** | Pointer to **bool** | | [optional] [readonly] +**IsSyncCompleted** | Pointer to **bool** | | [optional] [readonly] +**IsSyncFailed** | Pointer to **bool** | | [optional] [readonly] +**IsSyncInFlight** | Pointer to **bool** | | [optional] [readonly] +**IsSyncInProgress** | Pointer to **bool** | | [optional] [readonly] +**SelfUrl** | Pointer to **string** | | [optional] [readonly] +**Stage** | Pointer to **int64** | The synchronisation (in progress) stage of the package. | [optional] [readonly] +**StageStr** | Pointer to **string** | | [optional] [readonly] +**StageUpdatedAt** | Pointer to **time.Time** | The datetime the package stage was updated at. | [optional] [readonly] +**Status** | Pointer to **int64** | The synchronisation status of the package. | [optional] [readonly] +**StatusReason** | Pointer to **string** | A textual description for the synchronous status reason (if any | [optional] [readonly] +**StatusStr** | Pointer to **string** | | [optional] [readonly] +**StatusUpdatedAt** | Pointer to **time.Time** | The datetime the package status was updated at. | [optional] [readonly] +**SyncFinishedAt** | Pointer to **time.Time** | The datetime the package sync was finished at. | [optional] [readonly] +**SyncProgress** | Pointer to **int64** | Synchronisation progress (from 0-100) | [optional] [readonly] ## Methods -### NewPackageStatus +### NewPackageStatusResponse -`func NewPackageStatus() *PackageStatus` +`func NewPackageStatusResponse() *PackageStatusResponse` -NewPackageStatus instantiates a new PackageStatus object +NewPackageStatusResponse instantiates a new PackageStatusResponse object 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 -### NewPackageStatusWithDefaults +### NewPackageStatusResponseWithDefaults -`func NewPackageStatusWithDefaults() *PackageStatus` +`func NewPackageStatusResponseWithDefaults() *PackageStatusResponse` -NewPackageStatusWithDefaults instantiates a new PackageStatus object +NewPackageStatusResponseWithDefaults instantiates a new PackageStatusResponse object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set ### GetIsDownloadable -`func (o *PackageStatus) GetIsDownloadable() bool` +`func (o *PackageStatusResponse) GetIsDownloadable() bool` GetIsDownloadable returns the IsDownloadable field if non-nil, zero value otherwise. ### GetIsDownloadableOk -`func (o *PackageStatus) GetIsDownloadableOk() (*bool, bool)` +`func (o *PackageStatusResponse) GetIsDownloadableOk() (*bool, bool)` GetIsDownloadableOk returns a tuple with the IsDownloadable field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetIsDownloadable -`func (o *PackageStatus) SetIsDownloadable(v bool)` +`func (o *PackageStatusResponse) SetIsDownloadable(v bool)` SetIsDownloadable sets IsDownloadable field to given value. ### HasIsDownloadable -`func (o *PackageStatus) HasIsDownloadable() bool` +`func (o *PackageStatusResponse) HasIsDownloadable() bool` HasIsDownloadable returns a boolean if a field has been set. ### GetIsQuarantined -`func (o *PackageStatus) GetIsQuarantined() bool` +`func (o *PackageStatusResponse) GetIsQuarantined() bool` GetIsQuarantined returns the IsQuarantined field if non-nil, zero value otherwise. ### GetIsQuarantinedOk -`func (o *PackageStatus) GetIsQuarantinedOk() (*bool, bool)` +`func (o *PackageStatusResponse) GetIsQuarantinedOk() (*bool, bool)` GetIsQuarantinedOk returns a tuple with the IsQuarantined field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetIsQuarantined -`func (o *PackageStatus) SetIsQuarantined(v bool)` +`func (o *PackageStatusResponse) SetIsQuarantined(v bool)` SetIsQuarantined sets IsQuarantined field to given value. ### HasIsQuarantined -`func (o *PackageStatus) HasIsQuarantined() bool` +`func (o *PackageStatusResponse) HasIsQuarantined() bool` HasIsQuarantined returns a boolean if a field has been set. ### GetIsSyncAwaiting -`func (o *PackageStatus) GetIsSyncAwaiting() bool` +`func (o *PackageStatusResponse) GetIsSyncAwaiting() bool` GetIsSyncAwaiting returns the IsSyncAwaiting field if non-nil, zero value otherwise. ### GetIsSyncAwaitingOk -`func (o *PackageStatus) GetIsSyncAwaitingOk() (*bool, bool)` +`func (o *PackageStatusResponse) GetIsSyncAwaitingOk() (*bool, bool)` GetIsSyncAwaitingOk returns a tuple with the IsSyncAwaiting field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetIsSyncAwaiting -`func (o *PackageStatus) SetIsSyncAwaiting(v bool)` +`func (o *PackageStatusResponse) SetIsSyncAwaiting(v bool)` SetIsSyncAwaiting sets IsSyncAwaiting field to given value. ### HasIsSyncAwaiting -`func (o *PackageStatus) HasIsSyncAwaiting() bool` +`func (o *PackageStatusResponse) HasIsSyncAwaiting() bool` HasIsSyncAwaiting returns a boolean if a field has been set. ### GetIsSyncCompleted -`func (o *PackageStatus) GetIsSyncCompleted() bool` +`func (o *PackageStatusResponse) GetIsSyncCompleted() bool` GetIsSyncCompleted returns the IsSyncCompleted field if non-nil, zero value otherwise. ### GetIsSyncCompletedOk -`func (o *PackageStatus) GetIsSyncCompletedOk() (*bool, bool)` +`func (o *PackageStatusResponse) GetIsSyncCompletedOk() (*bool, bool)` GetIsSyncCompletedOk returns a tuple with the IsSyncCompleted field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetIsSyncCompleted -`func (o *PackageStatus) SetIsSyncCompleted(v bool)` +`func (o *PackageStatusResponse) SetIsSyncCompleted(v bool)` SetIsSyncCompleted sets IsSyncCompleted field to given value. ### HasIsSyncCompleted -`func (o *PackageStatus) HasIsSyncCompleted() bool` +`func (o *PackageStatusResponse) HasIsSyncCompleted() bool` HasIsSyncCompleted returns a boolean if a field has been set. ### GetIsSyncFailed -`func (o *PackageStatus) GetIsSyncFailed() bool` +`func (o *PackageStatusResponse) GetIsSyncFailed() bool` GetIsSyncFailed returns the IsSyncFailed field if non-nil, zero value otherwise. ### GetIsSyncFailedOk -`func (o *PackageStatus) GetIsSyncFailedOk() (*bool, bool)` +`func (o *PackageStatusResponse) GetIsSyncFailedOk() (*bool, bool)` GetIsSyncFailedOk returns a tuple with the IsSyncFailed field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetIsSyncFailed -`func (o *PackageStatus) SetIsSyncFailed(v bool)` +`func (o *PackageStatusResponse) SetIsSyncFailed(v bool)` SetIsSyncFailed sets IsSyncFailed field to given value. ### HasIsSyncFailed -`func (o *PackageStatus) HasIsSyncFailed() bool` +`func (o *PackageStatusResponse) HasIsSyncFailed() bool` HasIsSyncFailed returns a boolean if a field has been set. ### GetIsSyncInFlight -`func (o *PackageStatus) GetIsSyncInFlight() bool` +`func (o *PackageStatusResponse) GetIsSyncInFlight() bool` GetIsSyncInFlight returns the IsSyncInFlight field if non-nil, zero value otherwise. ### GetIsSyncInFlightOk -`func (o *PackageStatus) GetIsSyncInFlightOk() (*bool, bool)` +`func (o *PackageStatusResponse) GetIsSyncInFlightOk() (*bool, bool)` GetIsSyncInFlightOk returns a tuple with the IsSyncInFlight field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetIsSyncInFlight -`func (o *PackageStatus) SetIsSyncInFlight(v bool)` +`func (o *PackageStatusResponse) SetIsSyncInFlight(v bool)` SetIsSyncInFlight sets IsSyncInFlight field to given value. ### HasIsSyncInFlight -`func (o *PackageStatus) HasIsSyncInFlight() bool` +`func (o *PackageStatusResponse) HasIsSyncInFlight() bool` HasIsSyncInFlight returns a boolean if a field has been set. ### GetIsSyncInProgress -`func (o *PackageStatus) GetIsSyncInProgress() bool` +`func (o *PackageStatusResponse) GetIsSyncInProgress() bool` GetIsSyncInProgress returns the IsSyncInProgress field if non-nil, zero value otherwise. ### GetIsSyncInProgressOk -`func (o *PackageStatus) GetIsSyncInProgressOk() (*bool, bool)` +`func (o *PackageStatusResponse) GetIsSyncInProgressOk() (*bool, bool)` GetIsSyncInProgressOk returns a tuple with the IsSyncInProgress field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetIsSyncInProgress -`func (o *PackageStatus) SetIsSyncInProgress(v bool)` +`func (o *PackageStatusResponse) SetIsSyncInProgress(v bool)` SetIsSyncInProgress sets IsSyncInProgress field to given value. ### HasIsSyncInProgress -`func (o *PackageStatus) HasIsSyncInProgress() bool` +`func (o *PackageStatusResponse) HasIsSyncInProgress() bool` HasIsSyncInProgress returns a boolean if a field has been set. ### GetSelfUrl -`func (o *PackageStatus) GetSelfUrl() string` +`func (o *PackageStatusResponse) GetSelfUrl() string` GetSelfUrl returns the SelfUrl field if non-nil, zero value otherwise. ### GetSelfUrlOk -`func (o *PackageStatus) GetSelfUrlOk() (*string, bool)` +`func (o *PackageStatusResponse) GetSelfUrlOk() (*string, bool)` GetSelfUrlOk returns a tuple with the SelfUrl field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetSelfUrl -`func (o *PackageStatus) SetSelfUrl(v string)` +`func (o *PackageStatusResponse) SetSelfUrl(v string)` SetSelfUrl sets SelfUrl field to given value. ### HasSelfUrl -`func (o *PackageStatus) HasSelfUrl() bool` +`func (o *PackageStatusResponse) HasSelfUrl() bool` HasSelfUrl returns a boolean if a field has been set. ### GetStage -`func (o *PackageStatus) GetStage() int64` +`func (o *PackageStatusResponse) GetStage() int64` GetStage returns the Stage field if non-nil, zero value otherwise. ### GetStageOk -`func (o *PackageStatus) GetStageOk() (*int64, bool)` +`func (o *PackageStatusResponse) GetStageOk() (*int64, bool)` GetStageOk returns a tuple with the Stage field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetStage -`func (o *PackageStatus) SetStage(v int64)` +`func (o *PackageStatusResponse) SetStage(v int64)` SetStage sets Stage field to given value. ### HasStage -`func (o *PackageStatus) HasStage() bool` +`func (o *PackageStatusResponse) HasStage() bool` HasStage returns a boolean if a field has been set. ### GetStageStr -`func (o *PackageStatus) GetStageStr() string` +`func (o *PackageStatusResponse) GetStageStr() string` GetStageStr returns the StageStr field if non-nil, zero value otherwise. ### GetStageStrOk -`func (o *PackageStatus) GetStageStrOk() (*string, bool)` +`func (o *PackageStatusResponse) GetStageStrOk() (*string, bool)` GetStageStrOk returns a tuple with the StageStr field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetStageStr -`func (o *PackageStatus) SetStageStr(v string)` +`func (o *PackageStatusResponse) SetStageStr(v string)` SetStageStr sets StageStr field to given value. ### HasStageStr -`func (o *PackageStatus) HasStageStr() bool` +`func (o *PackageStatusResponse) HasStageStr() bool` HasStageStr returns a boolean if a field has been set. ### GetStageUpdatedAt -`func (o *PackageStatus) GetStageUpdatedAt() string` +`func (o *PackageStatusResponse) GetStageUpdatedAt() time.Time` GetStageUpdatedAt returns the StageUpdatedAt field if non-nil, zero value otherwise. ### GetStageUpdatedAtOk -`func (o *PackageStatus) GetStageUpdatedAtOk() (*string, bool)` +`func (o *PackageStatusResponse) GetStageUpdatedAtOk() (*time.Time, bool)` GetStageUpdatedAtOk returns a tuple with the StageUpdatedAt field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetStageUpdatedAt -`func (o *PackageStatus) SetStageUpdatedAt(v string)` +`func (o *PackageStatusResponse) SetStageUpdatedAt(v time.Time)` SetStageUpdatedAt sets StageUpdatedAt field to given value. ### HasStageUpdatedAt -`func (o *PackageStatus) HasStageUpdatedAt() bool` +`func (o *PackageStatusResponse) HasStageUpdatedAt() bool` HasStageUpdatedAt returns a boolean if a field has been set. ### GetStatus -`func (o *PackageStatus) GetStatus() int64` +`func (o *PackageStatusResponse) GetStatus() int64` GetStatus returns the Status field if non-nil, zero value otherwise. ### GetStatusOk -`func (o *PackageStatus) GetStatusOk() (*int64, bool)` +`func (o *PackageStatusResponse) GetStatusOk() (*int64, bool)` GetStatusOk returns a tuple with the Status field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetStatus -`func (o *PackageStatus) SetStatus(v int64)` +`func (o *PackageStatusResponse) SetStatus(v int64)` SetStatus sets Status field to given value. ### HasStatus -`func (o *PackageStatus) HasStatus() bool` +`func (o *PackageStatusResponse) HasStatus() bool` HasStatus returns a boolean if a field has been set. ### GetStatusReason -`func (o *PackageStatus) GetStatusReason() string` +`func (o *PackageStatusResponse) GetStatusReason() string` GetStatusReason returns the StatusReason field if non-nil, zero value otherwise. ### GetStatusReasonOk -`func (o *PackageStatus) GetStatusReasonOk() (*string, bool)` +`func (o *PackageStatusResponse) GetStatusReasonOk() (*string, bool)` GetStatusReasonOk returns a tuple with the StatusReason field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetStatusReason -`func (o *PackageStatus) SetStatusReason(v string)` +`func (o *PackageStatusResponse) SetStatusReason(v string)` SetStatusReason sets StatusReason field to given value. ### HasStatusReason -`func (o *PackageStatus) HasStatusReason() bool` +`func (o *PackageStatusResponse) HasStatusReason() bool` HasStatusReason returns a boolean if a field has been set. ### GetStatusStr -`func (o *PackageStatus) GetStatusStr() string` +`func (o *PackageStatusResponse) GetStatusStr() string` GetStatusStr returns the StatusStr field if non-nil, zero value otherwise. ### GetStatusStrOk -`func (o *PackageStatus) GetStatusStrOk() (*string, bool)` +`func (o *PackageStatusResponse) GetStatusStrOk() (*string, bool)` GetStatusStrOk returns a tuple with the StatusStr field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetStatusStr -`func (o *PackageStatus) SetStatusStr(v string)` +`func (o *PackageStatusResponse) SetStatusStr(v string)` SetStatusStr sets StatusStr field to given value. ### HasStatusStr -`func (o *PackageStatus) HasStatusStr() bool` +`func (o *PackageStatusResponse) HasStatusStr() bool` HasStatusStr returns a boolean if a field has been set. ### GetStatusUpdatedAt -`func (o *PackageStatus) GetStatusUpdatedAt() string` +`func (o *PackageStatusResponse) GetStatusUpdatedAt() time.Time` GetStatusUpdatedAt returns the StatusUpdatedAt field if non-nil, zero value otherwise. ### GetStatusUpdatedAtOk -`func (o *PackageStatus) GetStatusUpdatedAtOk() (*string, bool)` +`func (o *PackageStatusResponse) GetStatusUpdatedAtOk() (*time.Time, bool)` GetStatusUpdatedAtOk returns a tuple with the StatusUpdatedAt field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetStatusUpdatedAt -`func (o *PackageStatus) SetStatusUpdatedAt(v string)` +`func (o *PackageStatusResponse) SetStatusUpdatedAt(v time.Time)` SetStatusUpdatedAt sets StatusUpdatedAt field to given value. ### HasStatusUpdatedAt -`func (o *PackageStatus) HasStatusUpdatedAt() bool` +`func (o *PackageStatusResponse) HasStatusUpdatedAt() bool` HasStatusUpdatedAt returns a boolean if a field has been set. ### GetSyncFinishedAt -`func (o *PackageStatus) GetSyncFinishedAt() string` +`func (o *PackageStatusResponse) GetSyncFinishedAt() time.Time` GetSyncFinishedAt returns the SyncFinishedAt field if non-nil, zero value otherwise. ### GetSyncFinishedAtOk -`func (o *PackageStatus) GetSyncFinishedAtOk() (*string, bool)` +`func (o *PackageStatusResponse) GetSyncFinishedAtOk() (*time.Time, bool)` GetSyncFinishedAtOk returns a tuple with the SyncFinishedAt field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetSyncFinishedAt -`func (o *PackageStatus) SetSyncFinishedAt(v string)` +`func (o *PackageStatusResponse) SetSyncFinishedAt(v time.Time)` SetSyncFinishedAt sets SyncFinishedAt field to given value. ### HasSyncFinishedAt -`func (o *PackageStatus) HasSyncFinishedAt() bool` +`func (o *PackageStatusResponse) HasSyncFinishedAt() bool` HasSyncFinishedAt returns a boolean if a field has been set. ### GetSyncProgress -`func (o *PackageStatus) GetSyncProgress() int64` +`func (o *PackageStatusResponse) GetSyncProgress() int64` GetSyncProgress returns the SyncProgress field if non-nil, zero value otherwise. ### GetSyncProgressOk -`func (o *PackageStatus) GetSyncProgressOk() (*int64, bool)` +`func (o *PackageStatusResponse) GetSyncProgressOk() (*int64, bool)` GetSyncProgressOk returns a tuple with the SyncProgress field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetSyncProgress -`func (o *PackageStatus) SetSyncProgress(v int64)` +`func (o *PackageStatusResponse) SetSyncProgress(v int64)` SetSyncProgress sets SyncProgress field to given value. ### HasSyncProgress -`func (o *PackageStatus) HasSyncProgress() bool` +`func (o *PackageStatusResponse) HasSyncProgress() bool` HasSyncProgress returns a boolean if a field has been set. diff --git a/docs/PackagesTag.md b/docs/PackageTagRequest.md similarity index 60% rename from docs/PackagesTag.md rename to docs/PackageTagRequest.md index 47ca4415..75571bc2 100644 --- a/docs/PackagesTag.md +++ b/docs/PackageTagRequest.md @@ -1,107 +1,117 @@ -# PackagesTag +# PackageTagRequest ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**Action** | Pointer to **string** | None | [optional] -**IsImmutable** | Pointer to **bool** | If true, created tags will be immutable. An immutable flag is a tag that cannot be removed from a package. | [optional] +**Action** | Pointer to **int64** | | [optional] +**IsImmutable** | Pointer to **bool** | If true, created tags will be immutable. An immutable flag is a tag that cannot be removed from a package. | [optional] [default to false] **Tags** | Pointer to **[]string** | A list of tags to apply the action to. Not required for clears. | [optional] ## Methods -### NewPackagesTag +### NewPackageTagRequest -`func NewPackagesTag() *PackagesTag` +`func NewPackageTagRequest() *PackageTagRequest` -NewPackagesTag instantiates a new PackagesTag object +NewPackageTagRequest instantiates a new PackageTagRequest object 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 -### NewPackagesTagWithDefaults +### NewPackageTagRequestWithDefaults -`func NewPackagesTagWithDefaults() *PackagesTag` +`func NewPackageTagRequestWithDefaults() *PackageTagRequest` -NewPackagesTagWithDefaults instantiates a new PackagesTag object +NewPackageTagRequestWithDefaults instantiates a new PackageTagRequest object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set ### GetAction -`func (o *PackagesTag) GetAction() string` +`func (o *PackageTagRequest) GetAction() int64` GetAction returns the Action field if non-nil, zero value otherwise. ### GetActionOk -`func (o *PackagesTag) GetActionOk() (*string, bool)` +`func (o *PackageTagRequest) GetActionOk() (*int64, bool)` GetActionOk returns a tuple with the Action field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetAction -`func (o *PackagesTag) SetAction(v string)` +`func (o *PackageTagRequest) SetAction(v int64)` SetAction sets Action field to given value. ### HasAction -`func (o *PackagesTag) HasAction() bool` +`func (o *PackageTagRequest) HasAction() bool` HasAction returns a boolean if a field has been set. ### GetIsImmutable -`func (o *PackagesTag) GetIsImmutable() bool` +`func (o *PackageTagRequest) GetIsImmutable() bool` GetIsImmutable returns the IsImmutable field if non-nil, zero value otherwise. ### GetIsImmutableOk -`func (o *PackagesTag) GetIsImmutableOk() (*bool, bool)` +`func (o *PackageTagRequest) GetIsImmutableOk() (*bool, bool)` GetIsImmutableOk returns a tuple with the IsImmutable field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetIsImmutable -`func (o *PackagesTag) SetIsImmutable(v bool)` +`func (o *PackageTagRequest) SetIsImmutable(v bool)` SetIsImmutable sets IsImmutable field to given value. ### HasIsImmutable -`func (o *PackagesTag) HasIsImmutable() bool` +`func (o *PackageTagRequest) HasIsImmutable() bool` HasIsImmutable returns a boolean if a field has been set. ### GetTags -`func (o *PackagesTag) GetTags() []string` +`func (o *PackageTagRequest) GetTags() []string` GetTags returns the Tags field if non-nil, zero value otherwise. ### GetTagsOk -`func (o *PackagesTag) GetTagsOk() (*[]string, bool)` +`func (o *PackageTagRequest) GetTagsOk() (*[]string, bool)` GetTagsOk returns a tuple with the Tags field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetTags -`func (o *PackagesTag) SetTags(v []string)` +`func (o *PackageTagRequest) SetTags(v []string)` SetTags sets Tags field to given value. ### HasTags -`func (o *PackagesTag) HasTags() bool` +`func (o *PackageTagRequest) HasTags() bool` HasTags returns a boolean if a field has been set. +### SetTagsNil + +`func (o *PackageTagRequest) SetTagsNil(b bool)` + + SetTagsNil sets the value for Tags to be an explicit nil + +### UnsetTags +`func (o *PackageTagRequest) UnsetTags()` + +UnsetTags ensures that no value is present for Tags, 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/docs/ConanPackageUpload.md b/docs/PackageTagResponse.md similarity index 56% rename from docs/ConanPackageUpload.md rename to docs/PackageTagResponse.md index 1f509151..05e82973 100644 --- a/docs/ConanPackageUpload.md +++ b/docs/PackageTagResponse.md @@ -1,1794 +1,1860 @@ -# ConanPackageUpload +# PackageTagResponse ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**Architectures** | Pointer to [**[]PackagesOwnerRepoArchitectures**](PackagesOwnerRepoArchitectures.md) | | [optional] -**CdnUrl** | Pointer to **string** | | [optional] -**ChecksumMd5** | Pointer to **string** | | [optional] -**ChecksumSha1** | Pointer to **string** | | [optional] -**ChecksumSha256** | Pointer to **string** | | [optional] -**ChecksumSha512** | Pointer to **string** | | [optional] -**ConanChannel** | Pointer to **string** | Conan channel. | [optional] -**ConanPrefix** | Pointer to **string** | Conan prefix (User). | [optional] -**DependenciesChecksumMd5** | Pointer to **string** | A checksum of all of the package's dependencies. | [optional] -**DependenciesUrl** | Pointer to **string** | | [optional] -**Description** | Pointer to **string** | A textual description of this package. | [optional] -**Distro** | Pointer to **map[string]interface{}** | | [optional] -**DistroVersion** | Pointer to **map[string]interface{}** | | [optional] -**Downloads** | Pointer to **int64** | | [optional] -**Epoch** | Pointer to **int64** | The epoch of the package version (if any). | [optional] -**Extension** | Pointer to **string** | | [optional] -**Filename** | Pointer to **string** | | [optional] -**Files** | Pointer to [**[]PackagesOwnerRepoFiles**](PackagesOwnerRepoFiles.md) | | [optional] -**Format** | Pointer to **string** | | [optional] -**FormatUrl** | Pointer to **string** | | [optional] -**IdentifierPerm** | Pointer to **string** | Unique and permanent identifier for the package. | [optional] -**Indexed** | Pointer to **bool** | | [optional] -**IsDownloadable** | Pointer to **bool** | | [optional] -**IsQuarantined** | Pointer to **bool** | | [optional] -**IsSyncAwaiting** | Pointer to **bool** | | [optional] -**IsSyncCompleted** | Pointer to **bool** | | [optional] -**IsSyncFailed** | Pointer to **bool** | | [optional] -**IsSyncInFlight** | Pointer to **bool** | | [optional] -**IsSyncInProgress** | Pointer to **bool** | | [optional] -**License** | Pointer to **string** | The license of this package. | [optional] -**Name** | Pointer to **string** | The name of this package. | [optional] -**Namespace** | Pointer to **string** | | [optional] -**NamespaceUrl** | Pointer to **string** | | [optional] -**NumFiles** | Pointer to **int64** | | [optional] -**PackageType** | Pointer to **int64** | The type of package contents. | [optional] -**Release** | Pointer to **string** | The release of the package version (if any). | [optional] -**Repository** | Pointer to **string** | | [optional] -**RepositoryUrl** | Pointer to **string** | | [optional] -**SecurityScanCompletedAt** | Pointer to **string** | The datetime the security scanning was completed. | [optional] -**SecurityScanStartedAt** | Pointer to **string** | The datetime the security scanning was started. | [optional] -**SecurityScanStatus** | Pointer to **string** | | [optional] -**SecurityScanStatusUpdatedAt** | Pointer to **string** | The datetime the security scanning status was updated. | [optional] -**SelfHtmlUrl** | Pointer to **string** | | [optional] -**SelfUrl** | Pointer to **string** | | [optional] -**SignatureUrl** | Pointer to **string** | | [optional] -**Size** | Pointer to **int64** | The calculated size of the package. | [optional] -**Slug** | Pointer to **string** | The public unique identifier for the package. | [optional] -**SlugPerm** | Pointer to **string** | | [optional] -**Stage** | Pointer to **int64** | The synchronisation (in progress) stage of the package. | [optional] -**StageStr** | Pointer to **string** | | [optional] -**StageUpdatedAt** | Pointer to **string** | The datetime the package stage was updated at. | [optional] -**Status** | Pointer to **int64** | The synchronisation status of the package. | [optional] -**StatusReason** | Pointer to **string** | A textual description for the synchronous status reason (if any | [optional] -**StatusStr** | Pointer to **string** | | [optional] -**StatusUpdatedAt** | Pointer to **string** | The datetime the package status was updated at. | [optional] -**StatusUrl** | Pointer to **string** | | [optional] -**Subtype** | Pointer to **string** | | [optional] -**Summary** | Pointer to **string** | A one-liner synopsis of this package. | [optional] -**SyncFinishedAt** | Pointer to **string** | The datetime the package sync was finished at. | [optional] -**SyncProgress** | Pointer to **int64** | Synchronisation progress (from 0-100) | [optional] -**TagsImmutable** | Pointer to **map[string]interface{}** | All immutable tags on the package, grouped by tag type. Immutable tags cannot be (easily) deleted. | [optional] -**TypeDisplay** | Pointer to **string** | | [optional] -**UploadedAt** | Pointer to **string** | The date this package was uploaded. | [optional] -**Uploader** | Pointer to **string** | | [optional] -**UploaderUrl** | Pointer to **string** | | [optional] -**Version** | Pointer to **string** | The raw version for this package. | [optional] -**VersionOrig** | Pointer to **string** | | [optional] -**VulnerabilityScanResultsUrl** | Pointer to **string** | | [optional] +**Architectures** | Pointer to [**[]Architecture**](Architecture.md) | | [optional] [readonly] +**CdnUrl** | Pointer to **NullableString** | | [optional] [readonly] +**ChecksumMd5** | Pointer to **string** | | [optional] [readonly] +**ChecksumSha1** | Pointer to **string** | | [optional] [readonly] +**ChecksumSha256** | Pointer to **string** | | [optional] [readonly] +**ChecksumSha512** | Pointer to **string** | | [optional] [readonly] +**DependenciesChecksumMd5** | Pointer to **string** | A checksum of all of the package's dependencies. | [optional] [readonly] +**DependenciesUrl** | Pointer to **string** | | [optional] [readonly] +**Description** | Pointer to **string** | A textual description of this package. | [optional] [readonly] +**Distro** | Pointer to [**NullableDistribution**](Distribution.md) | | [optional] +**DistroVersion** | Pointer to [**DistributionVersion**](DistributionVersion.md) | | [optional] +**Downloads** | Pointer to **int64** | | [optional] [readonly] +**Epoch** | Pointer to **int64** | The epoch of the package version (if any). | [optional] [readonly] +**Extension** | Pointer to **string** | | [optional] [readonly] +**Filename** | Pointer to **string** | | [optional] [readonly] +**Files** | Pointer to [**[]PackageFile**](PackageFile.md) | | [optional] [readonly] +**Format** | Pointer to **string** | | [optional] [readonly] +**FormatUrl** | Pointer to **string** | | [optional] [readonly] +**IdentifierPerm** | Pointer to **string** | Unique and permanent identifier for the package. | [optional] [readonly] +**Indexed** | Pointer to **bool** | | [optional] [readonly] +**IsDownloadable** | Pointer to **bool** | | [optional] [readonly] +**IsImmutable** | Pointer to **bool** | If true, created tags will be immutable. An immutable flag is a tag that cannot be removed from a package. | [optional] [default to false] +**IsQuarantined** | Pointer to **bool** | | [optional] [readonly] +**IsSyncAwaiting** | Pointer to **bool** | | [optional] [readonly] +**IsSyncCompleted** | Pointer to **bool** | | [optional] [readonly] +**IsSyncFailed** | Pointer to **bool** | | [optional] [readonly] +**IsSyncInFlight** | Pointer to **bool** | | [optional] [readonly] +**IsSyncInProgress** | Pointer to **bool** | | [optional] [readonly] +**License** | Pointer to **string** | The license of this package. | [optional] [readonly] +**Name** | Pointer to **string** | The name of this package. | [optional] [readonly] +**Namespace** | Pointer to **string** | | [optional] [readonly] +**NamespaceUrl** | Pointer to **string** | | [optional] [readonly] +**NumFiles** | Pointer to **int64** | | [optional] [readonly] +**OriginRepository** | Pointer to **string** | | [optional] [readonly] +**OriginRepositoryUrl** | Pointer to **string** | | [optional] [readonly] +**PackageType** | Pointer to **int64** | The type of package contents. | [optional] [readonly] +**Release** | Pointer to **string** | The release of the package version (if any). | [optional] [readonly] +**Repository** | Pointer to **string** | | [optional] [readonly] +**RepositoryUrl** | Pointer to **string** | | [optional] [readonly] +**SecurityScanCompletedAt** | Pointer to **time.Time** | The datetime the security scanning was completed. | [optional] [readonly] +**SecurityScanStartedAt** | Pointer to **time.Time** | The datetime the security scanning was started. | [optional] [readonly] +**SecurityScanStatus** | Pointer to **NullableString** | | [optional] [readonly] [default to "Awaiting Security Scan"] +**SecurityScanStatusUpdatedAt** | Pointer to **time.Time** | The datetime the security scanning status was updated. | [optional] [readonly] +**SelfHtmlUrl** | Pointer to **string** | | [optional] [readonly] +**SelfUrl** | Pointer to **string** | | [optional] [readonly] +**SignatureUrl** | Pointer to **NullableString** | | [optional] [readonly] +**Size** | Pointer to **int64** | The calculated size of the package. | [optional] [readonly] +**Slug** | Pointer to **string** | The public unique identifier for the package. | [optional] [readonly] +**SlugPerm** | Pointer to **string** | | [optional] [readonly] +**Stage** | Pointer to **int64** | The synchronisation (in progress) stage of the package. | [optional] [readonly] +**StageStr** | Pointer to **string** | | [optional] [readonly] +**StageUpdatedAt** | Pointer to **time.Time** | The datetime the package stage was updated at. | [optional] [readonly] +**Status** | Pointer to **int64** | The synchronisation status of the package. | [optional] [readonly] +**StatusReason** | Pointer to **string** | A textual description for the synchronous status reason (if any | [optional] [readonly] +**StatusStr** | Pointer to **string** | | [optional] [readonly] +**StatusUpdatedAt** | Pointer to **time.Time** | The datetime the package status was updated at. | [optional] [readonly] +**StatusUrl** | Pointer to **string** | | [optional] [readonly] +**Subtype** | Pointer to **string** | | [optional] [readonly] +**Summary** | Pointer to **string** | A one-liner synopsis of this package. | [optional] [readonly] +**SyncFinishedAt** | Pointer to **time.Time** | The datetime the package sync was finished at. | [optional] [readonly] +**SyncProgress** | Pointer to **int64** | Synchronisation progress (from 0-100) | [optional] [readonly] +**TagsImmutable** | Pointer to **map[string]interface{}** | All tags on the package, grouped by tag type. This includes immutable tags, but doesn't distinguish them from mutable. To see which tags are immutable specifically, see the tags_immutable field. | [optional] +**TypeDisplay** | Pointer to **string** | | [optional] [readonly] +**UploadedAt** | Pointer to **time.Time** | The date this package was uploaded. | [optional] [readonly] +**Uploader** | Pointer to **string** | | [optional] [readonly] +**UploaderUrl** | Pointer to **string** | | [optional] [readonly] +**Version** | Pointer to **string** | The raw version for this package. | [optional] [readonly] +**VersionOrig** | Pointer to **string** | | [optional] [readonly] +**VulnerabilityScanResultsUrl** | Pointer to **string** | | [optional] [readonly] ## Methods -### NewConanPackageUpload +### NewPackageTagResponse -`func NewConanPackageUpload() *ConanPackageUpload` +`func NewPackageTagResponse() *PackageTagResponse` -NewConanPackageUpload instantiates a new ConanPackageUpload object +NewPackageTagResponse instantiates a new PackageTagResponse object 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 -### NewConanPackageUploadWithDefaults +### NewPackageTagResponseWithDefaults -`func NewConanPackageUploadWithDefaults() *ConanPackageUpload` +`func NewPackageTagResponseWithDefaults() *PackageTagResponse` -NewConanPackageUploadWithDefaults instantiates a new ConanPackageUpload object +NewPackageTagResponseWithDefaults instantiates a new PackageTagResponse object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set ### GetArchitectures -`func (o *ConanPackageUpload) GetArchitectures() []PackagesOwnerRepoArchitectures` +`func (o *PackageTagResponse) GetArchitectures() []Architecture` GetArchitectures returns the Architectures field if non-nil, zero value otherwise. ### GetArchitecturesOk -`func (o *ConanPackageUpload) GetArchitecturesOk() (*[]PackagesOwnerRepoArchitectures, bool)` +`func (o *PackageTagResponse) GetArchitecturesOk() (*[]Architecture, bool)` GetArchitecturesOk returns a tuple with the Architectures field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetArchitectures -`func (o *ConanPackageUpload) SetArchitectures(v []PackagesOwnerRepoArchitectures)` +`func (o *PackageTagResponse) SetArchitectures(v []Architecture)` SetArchitectures sets Architectures field to given value. ### HasArchitectures -`func (o *ConanPackageUpload) HasArchitectures() bool` +`func (o *PackageTagResponse) HasArchitectures() bool` HasArchitectures returns a boolean if a field has been set. ### GetCdnUrl -`func (o *ConanPackageUpload) GetCdnUrl() string` +`func (o *PackageTagResponse) GetCdnUrl() string` GetCdnUrl returns the CdnUrl field if non-nil, zero value otherwise. ### GetCdnUrlOk -`func (o *ConanPackageUpload) GetCdnUrlOk() (*string, bool)` +`func (o *PackageTagResponse) GetCdnUrlOk() (*string, bool)` GetCdnUrlOk returns a tuple with the CdnUrl field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetCdnUrl -`func (o *ConanPackageUpload) SetCdnUrl(v string)` +`func (o *PackageTagResponse) SetCdnUrl(v string)` SetCdnUrl sets CdnUrl field to given value. ### HasCdnUrl -`func (o *ConanPackageUpload) HasCdnUrl() bool` +`func (o *PackageTagResponse) HasCdnUrl() bool` HasCdnUrl returns a boolean if a field has been set. +### SetCdnUrlNil + +`func (o *PackageTagResponse) SetCdnUrlNil(b bool)` + + SetCdnUrlNil sets the value for CdnUrl to be an explicit nil + +### UnsetCdnUrl +`func (o *PackageTagResponse) UnsetCdnUrl()` + +UnsetCdnUrl ensures that no value is present for CdnUrl, not even an explicit nil ### GetChecksumMd5 -`func (o *ConanPackageUpload) GetChecksumMd5() string` +`func (o *PackageTagResponse) GetChecksumMd5() string` GetChecksumMd5 returns the ChecksumMd5 field if non-nil, zero value otherwise. ### GetChecksumMd5Ok -`func (o *ConanPackageUpload) GetChecksumMd5Ok() (*string, bool)` +`func (o *PackageTagResponse) GetChecksumMd5Ok() (*string, bool)` GetChecksumMd5Ok returns a tuple with the ChecksumMd5 field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetChecksumMd5 -`func (o *ConanPackageUpload) SetChecksumMd5(v string)` +`func (o *PackageTagResponse) SetChecksumMd5(v string)` SetChecksumMd5 sets ChecksumMd5 field to given value. ### HasChecksumMd5 -`func (o *ConanPackageUpload) HasChecksumMd5() bool` +`func (o *PackageTagResponse) HasChecksumMd5() bool` HasChecksumMd5 returns a boolean if a field has been set. ### GetChecksumSha1 -`func (o *ConanPackageUpload) GetChecksumSha1() string` +`func (o *PackageTagResponse) GetChecksumSha1() string` GetChecksumSha1 returns the ChecksumSha1 field if non-nil, zero value otherwise. ### GetChecksumSha1Ok -`func (o *ConanPackageUpload) GetChecksumSha1Ok() (*string, bool)` +`func (o *PackageTagResponse) GetChecksumSha1Ok() (*string, bool)` GetChecksumSha1Ok returns a tuple with the ChecksumSha1 field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetChecksumSha1 -`func (o *ConanPackageUpload) SetChecksumSha1(v string)` +`func (o *PackageTagResponse) SetChecksumSha1(v string)` SetChecksumSha1 sets ChecksumSha1 field to given value. ### HasChecksumSha1 -`func (o *ConanPackageUpload) HasChecksumSha1() bool` +`func (o *PackageTagResponse) HasChecksumSha1() bool` HasChecksumSha1 returns a boolean if a field has been set. ### GetChecksumSha256 -`func (o *ConanPackageUpload) GetChecksumSha256() string` +`func (o *PackageTagResponse) GetChecksumSha256() string` GetChecksumSha256 returns the ChecksumSha256 field if non-nil, zero value otherwise. ### GetChecksumSha256Ok -`func (o *ConanPackageUpload) GetChecksumSha256Ok() (*string, bool)` +`func (o *PackageTagResponse) GetChecksumSha256Ok() (*string, bool)` GetChecksumSha256Ok returns a tuple with the ChecksumSha256 field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetChecksumSha256 -`func (o *ConanPackageUpload) SetChecksumSha256(v string)` +`func (o *PackageTagResponse) SetChecksumSha256(v string)` SetChecksumSha256 sets ChecksumSha256 field to given value. ### HasChecksumSha256 -`func (o *ConanPackageUpload) HasChecksumSha256() bool` +`func (o *PackageTagResponse) HasChecksumSha256() bool` HasChecksumSha256 returns a boolean if a field has been set. ### GetChecksumSha512 -`func (o *ConanPackageUpload) GetChecksumSha512() string` +`func (o *PackageTagResponse) GetChecksumSha512() string` GetChecksumSha512 returns the ChecksumSha512 field if non-nil, zero value otherwise. ### GetChecksumSha512Ok -`func (o *ConanPackageUpload) GetChecksumSha512Ok() (*string, bool)` +`func (o *PackageTagResponse) GetChecksumSha512Ok() (*string, bool)` GetChecksumSha512Ok returns a tuple with the ChecksumSha512 field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetChecksumSha512 -`func (o *ConanPackageUpload) SetChecksumSha512(v string)` +`func (o *PackageTagResponse) SetChecksumSha512(v string)` SetChecksumSha512 sets ChecksumSha512 field to given value. ### HasChecksumSha512 -`func (o *ConanPackageUpload) HasChecksumSha512() bool` +`func (o *PackageTagResponse) HasChecksumSha512() bool` HasChecksumSha512 returns a boolean if a field has been set. -### GetConanChannel - -`func (o *ConanPackageUpload) GetConanChannel() string` - -GetConanChannel returns the ConanChannel field if non-nil, zero value otherwise. - -### GetConanChannelOk - -`func (o *ConanPackageUpload) GetConanChannelOk() (*string, bool)` - -GetConanChannelOk returns a tuple with the ConanChannel field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetConanChannel - -`func (o *ConanPackageUpload) SetConanChannel(v string)` - -SetConanChannel sets ConanChannel field to given value. - -### HasConanChannel - -`func (o *ConanPackageUpload) HasConanChannel() bool` - -HasConanChannel returns a boolean if a field has been set. - -### GetConanPrefix - -`func (o *ConanPackageUpload) GetConanPrefix() string` - -GetConanPrefix returns the ConanPrefix field if non-nil, zero value otherwise. - -### GetConanPrefixOk - -`func (o *ConanPackageUpload) GetConanPrefixOk() (*string, bool)` - -GetConanPrefixOk returns a tuple with the ConanPrefix field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetConanPrefix - -`func (o *ConanPackageUpload) SetConanPrefix(v string)` - -SetConanPrefix sets ConanPrefix field to given value. - -### HasConanPrefix - -`func (o *ConanPackageUpload) HasConanPrefix() bool` - -HasConanPrefix returns a boolean if a field has been set. - ### GetDependenciesChecksumMd5 -`func (o *ConanPackageUpload) GetDependenciesChecksumMd5() string` +`func (o *PackageTagResponse) GetDependenciesChecksumMd5() string` GetDependenciesChecksumMd5 returns the DependenciesChecksumMd5 field if non-nil, zero value otherwise. ### GetDependenciesChecksumMd5Ok -`func (o *ConanPackageUpload) GetDependenciesChecksumMd5Ok() (*string, bool)` +`func (o *PackageTagResponse) GetDependenciesChecksumMd5Ok() (*string, bool)` GetDependenciesChecksumMd5Ok returns a tuple with the DependenciesChecksumMd5 field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetDependenciesChecksumMd5 -`func (o *ConanPackageUpload) SetDependenciesChecksumMd5(v string)` +`func (o *PackageTagResponse) SetDependenciesChecksumMd5(v string)` SetDependenciesChecksumMd5 sets DependenciesChecksumMd5 field to given value. ### HasDependenciesChecksumMd5 -`func (o *ConanPackageUpload) HasDependenciesChecksumMd5() bool` +`func (o *PackageTagResponse) HasDependenciesChecksumMd5() bool` HasDependenciesChecksumMd5 returns a boolean if a field has been set. ### GetDependenciesUrl -`func (o *ConanPackageUpload) GetDependenciesUrl() string` +`func (o *PackageTagResponse) GetDependenciesUrl() string` GetDependenciesUrl returns the DependenciesUrl field if non-nil, zero value otherwise. ### GetDependenciesUrlOk -`func (o *ConanPackageUpload) GetDependenciesUrlOk() (*string, bool)` +`func (o *PackageTagResponse) GetDependenciesUrlOk() (*string, bool)` GetDependenciesUrlOk returns a tuple with the DependenciesUrl field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetDependenciesUrl -`func (o *ConanPackageUpload) SetDependenciesUrl(v string)` +`func (o *PackageTagResponse) SetDependenciesUrl(v string)` SetDependenciesUrl sets DependenciesUrl field to given value. ### HasDependenciesUrl -`func (o *ConanPackageUpload) HasDependenciesUrl() bool` +`func (o *PackageTagResponse) HasDependenciesUrl() bool` HasDependenciesUrl returns a boolean if a field has been set. ### GetDescription -`func (o *ConanPackageUpload) GetDescription() string` +`func (o *PackageTagResponse) GetDescription() string` GetDescription returns the Description field if non-nil, zero value otherwise. ### GetDescriptionOk -`func (o *ConanPackageUpload) GetDescriptionOk() (*string, bool)` +`func (o *PackageTagResponse) GetDescriptionOk() (*string, bool)` GetDescriptionOk returns a tuple with the Description field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetDescription -`func (o *ConanPackageUpload) SetDescription(v string)` +`func (o *PackageTagResponse) SetDescription(v string)` SetDescription sets Description field to given value. ### HasDescription -`func (o *ConanPackageUpload) HasDescription() bool` +`func (o *PackageTagResponse) HasDescription() bool` HasDescription returns a boolean if a field has been set. ### GetDistro -`func (o *ConanPackageUpload) GetDistro() map[string]interface{}` +`func (o *PackageTagResponse) GetDistro() Distribution` GetDistro returns the Distro field if non-nil, zero value otherwise. ### GetDistroOk -`func (o *ConanPackageUpload) GetDistroOk() (*map[string]interface{}, bool)` +`func (o *PackageTagResponse) GetDistroOk() (*Distribution, bool)` GetDistroOk returns a tuple with the Distro field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetDistro -`func (o *ConanPackageUpload) SetDistro(v map[string]interface{})` +`func (o *PackageTagResponse) SetDistro(v Distribution)` SetDistro sets Distro field to given value. ### HasDistro -`func (o *ConanPackageUpload) HasDistro() bool` +`func (o *PackageTagResponse) HasDistro() bool` HasDistro returns a boolean if a field has been set. +### SetDistroNil + +`func (o *PackageTagResponse) SetDistroNil(b bool)` + + SetDistroNil sets the value for Distro to be an explicit nil + +### UnsetDistro +`func (o *PackageTagResponse) UnsetDistro()` + +UnsetDistro ensures that no value is present for Distro, not even an explicit nil ### GetDistroVersion -`func (o *ConanPackageUpload) GetDistroVersion() map[string]interface{}` +`func (o *PackageTagResponse) GetDistroVersion() DistributionVersion` GetDistroVersion returns the DistroVersion field if non-nil, zero value otherwise. ### GetDistroVersionOk -`func (o *ConanPackageUpload) GetDistroVersionOk() (*map[string]interface{}, bool)` +`func (o *PackageTagResponse) GetDistroVersionOk() (*DistributionVersion, bool)` GetDistroVersionOk returns a tuple with the DistroVersion field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetDistroVersion -`func (o *ConanPackageUpload) SetDistroVersion(v map[string]interface{})` +`func (o *PackageTagResponse) SetDistroVersion(v DistributionVersion)` SetDistroVersion sets DistroVersion field to given value. ### HasDistroVersion -`func (o *ConanPackageUpload) HasDistroVersion() bool` +`func (o *PackageTagResponse) HasDistroVersion() bool` HasDistroVersion returns a boolean if a field has been set. ### GetDownloads -`func (o *ConanPackageUpload) GetDownloads() int64` +`func (o *PackageTagResponse) GetDownloads() int64` GetDownloads returns the Downloads field if non-nil, zero value otherwise. ### GetDownloadsOk -`func (o *ConanPackageUpload) GetDownloadsOk() (*int64, bool)` +`func (o *PackageTagResponse) GetDownloadsOk() (*int64, bool)` GetDownloadsOk returns a tuple with the Downloads field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetDownloads -`func (o *ConanPackageUpload) SetDownloads(v int64)` +`func (o *PackageTagResponse) SetDownloads(v int64)` SetDownloads sets Downloads field to given value. ### HasDownloads -`func (o *ConanPackageUpload) HasDownloads() bool` +`func (o *PackageTagResponse) HasDownloads() bool` HasDownloads returns a boolean if a field has been set. ### GetEpoch -`func (o *ConanPackageUpload) GetEpoch() int64` +`func (o *PackageTagResponse) GetEpoch() int64` GetEpoch returns the Epoch field if non-nil, zero value otherwise. ### GetEpochOk -`func (o *ConanPackageUpload) GetEpochOk() (*int64, bool)` +`func (o *PackageTagResponse) GetEpochOk() (*int64, bool)` GetEpochOk returns a tuple with the Epoch field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetEpoch -`func (o *ConanPackageUpload) SetEpoch(v int64)` +`func (o *PackageTagResponse) SetEpoch(v int64)` SetEpoch sets Epoch field to given value. ### HasEpoch -`func (o *ConanPackageUpload) HasEpoch() bool` +`func (o *PackageTagResponse) HasEpoch() bool` HasEpoch returns a boolean if a field has been set. ### GetExtension -`func (o *ConanPackageUpload) GetExtension() string` +`func (o *PackageTagResponse) GetExtension() string` GetExtension returns the Extension field if non-nil, zero value otherwise. ### GetExtensionOk -`func (o *ConanPackageUpload) GetExtensionOk() (*string, bool)` +`func (o *PackageTagResponse) GetExtensionOk() (*string, bool)` GetExtensionOk returns a tuple with the Extension field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetExtension -`func (o *ConanPackageUpload) SetExtension(v string)` +`func (o *PackageTagResponse) SetExtension(v string)` SetExtension sets Extension field to given value. ### HasExtension -`func (o *ConanPackageUpload) HasExtension() bool` +`func (o *PackageTagResponse) HasExtension() bool` HasExtension returns a boolean if a field has been set. ### GetFilename -`func (o *ConanPackageUpload) GetFilename() string` +`func (o *PackageTagResponse) GetFilename() string` GetFilename returns the Filename field if non-nil, zero value otherwise. ### GetFilenameOk -`func (o *ConanPackageUpload) GetFilenameOk() (*string, bool)` +`func (o *PackageTagResponse) GetFilenameOk() (*string, bool)` GetFilenameOk returns a tuple with the Filename field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetFilename -`func (o *ConanPackageUpload) SetFilename(v string)` +`func (o *PackageTagResponse) SetFilename(v string)` SetFilename sets Filename field to given value. ### HasFilename -`func (o *ConanPackageUpload) HasFilename() bool` +`func (o *PackageTagResponse) HasFilename() bool` HasFilename returns a boolean if a field has been set. ### GetFiles -`func (o *ConanPackageUpload) GetFiles() []PackagesOwnerRepoFiles` +`func (o *PackageTagResponse) GetFiles() []PackageFile` GetFiles returns the Files field if non-nil, zero value otherwise. ### GetFilesOk -`func (o *ConanPackageUpload) GetFilesOk() (*[]PackagesOwnerRepoFiles, bool)` +`func (o *PackageTagResponse) GetFilesOk() (*[]PackageFile, 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 *ConanPackageUpload) SetFiles(v []PackagesOwnerRepoFiles)` +`func (o *PackageTagResponse) SetFiles(v []PackageFile)` SetFiles sets Files field to given value. ### HasFiles -`func (o *ConanPackageUpload) HasFiles() bool` +`func (o *PackageTagResponse) HasFiles() bool` HasFiles returns a boolean if a field has been set. ### GetFormat -`func (o *ConanPackageUpload) GetFormat() string` +`func (o *PackageTagResponse) GetFormat() string` GetFormat returns the Format field if non-nil, zero value otherwise. ### GetFormatOk -`func (o *ConanPackageUpload) GetFormatOk() (*string, bool)` +`func (o *PackageTagResponse) GetFormatOk() (*string, bool)` GetFormatOk returns a tuple with the Format field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetFormat -`func (o *ConanPackageUpload) SetFormat(v string)` +`func (o *PackageTagResponse) SetFormat(v string)` SetFormat sets Format field to given value. ### HasFormat -`func (o *ConanPackageUpload) HasFormat() bool` +`func (o *PackageTagResponse) HasFormat() bool` HasFormat returns a boolean if a field has been set. ### GetFormatUrl -`func (o *ConanPackageUpload) GetFormatUrl() string` +`func (o *PackageTagResponse) GetFormatUrl() string` GetFormatUrl returns the FormatUrl field if non-nil, zero value otherwise. ### GetFormatUrlOk -`func (o *ConanPackageUpload) GetFormatUrlOk() (*string, bool)` +`func (o *PackageTagResponse) GetFormatUrlOk() (*string, bool)` GetFormatUrlOk returns a tuple with the FormatUrl field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetFormatUrl -`func (o *ConanPackageUpload) SetFormatUrl(v string)` +`func (o *PackageTagResponse) SetFormatUrl(v string)` SetFormatUrl sets FormatUrl field to given value. ### HasFormatUrl -`func (o *ConanPackageUpload) HasFormatUrl() bool` +`func (o *PackageTagResponse) HasFormatUrl() bool` HasFormatUrl returns a boolean if a field has been set. ### GetIdentifierPerm -`func (o *ConanPackageUpload) GetIdentifierPerm() string` +`func (o *PackageTagResponse) GetIdentifierPerm() string` GetIdentifierPerm returns the IdentifierPerm field if non-nil, zero value otherwise. ### GetIdentifierPermOk -`func (o *ConanPackageUpload) GetIdentifierPermOk() (*string, bool)` +`func (o *PackageTagResponse) GetIdentifierPermOk() (*string, bool)` GetIdentifierPermOk returns a tuple with the IdentifierPerm field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetIdentifierPerm -`func (o *ConanPackageUpload) SetIdentifierPerm(v string)` +`func (o *PackageTagResponse) SetIdentifierPerm(v string)` SetIdentifierPerm sets IdentifierPerm field to given value. ### HasIdentifierPerm -`func (o *ConanPackageUpload) HasIdentifierPerm() bool` +`func (o *PackageTagResponse) HasIdentifierPerm() bool` HasIdentifierPerm returns a boolean if a field has been set. ### GetIndexed -`func (o *ConanPackageUpload) GetIndexed() bool` +`func (o *PackageTagResponse) GetIndexed() bool` GetIndexed returns the Indexed field if non-nil, zero value otherwise. ### GetIndexedOk -`func (o *ConanPackageUpload) GetIndexedOk() (*bool, bool)` +`func (o *PackageTagResponse) GetIndexedOk() (*bool, bool)` GetIndexedOk returns a tuple with the Indexed field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetIndexed -`func (o *ConanPackageUpload) SetIndexed(v bool)` +`func (o *PackageTagResponse) SetIndexed(v bool)` SetIndexed sets Indexed field to given value. ### HasIndexed -`func (o *ConanPackageUpload) HasIndexed() bool` +`func (o *PackageTagResponse) HasIndexed() bool` HasIndexed returns a boolean if a field has been set. ### GetIsDownloadable -`func (o *ConanPackageUpload) GetIsDownloadable() bool` +`func (o *PackageTagResponse) GetIsDownloadable() bool` GetIsDownloadable returns the IsDownloadable field if non-nil, zero value otherwise. ### GetIsDownloadableOk -`func (o *ConanPackageUpload) GetIsDownloadableOk() (*bool, bool)` +`func (o *PackageTagResponse) GetIsDownloadableOk() (*bool, bool)` GetIsDownloadableOk returns a tuple with the IsDownloadable field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetIsDownloadable -`func (o *ConanPackageUpload) SetIsDownloadable(v bool)` +`func (o *PackageTagResponse) SetIsDownloadable(v bool)` SetIsDownloadable sets IsDownloadable field to given value. ### HasIsDownloadable -`func (o *ConanPackageUpload) HasIsDownloadable() bool` +`func (o *PackageTagResponse) HasIsDownloadable() bool` HasIsDownloadable returns a boolean if a field has been set. +### GetIsImmutable + +`func (o *PackageTagResponse) GetIsImmutable() bool` + +GetIsImmutable returns the IsImmutable field if non-nil, zero value otherwise. + +### GetIsImmutableOk + +`func (o *PackageTagResponse) GetIsImmutableOk() (*bool, bool)` + +GetIsImmutableOk returns a tuple with the IsImmutable field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetIsImmutable + +`func (o *PackageTagResponse) SetIsImmutable(v bool)` + +SetIsImmutable sets IsImmutable field to given value. + +### HasIsImmutable + +`func (o *PackageTagResponse) HasIsImmutable() bool` + +HasIsImmutable returns a boolean if a field has been set. + ### GetIsQuarantined -`func (o *ConanPackageUpload) GetIsQuarantined() bool` +`func (o *PackageTagResponse) GetIsQuarantined() bool` GetIsQuarantined returns the IsQuarantined field if non-nil, zero value otherwise. ### GetIsQuarantinedOk -`func (o *ConanPackageUpload) GetIsQuarantinedOk() (*bool, bool)` +`func (o *PackageTagResponse) GetIsQuarantinedOk() (*bool, bool)` GetIsQuarantinedOk returns a tuple with the IsQuarantined field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetIsQuarantined -`func (o *ConanPackageUpload) SetIsQuarantined(v bool)` +`func (o *PackageTagResponse) SetIsQuarantined(v bool)` SetIsQuarantined sets IsQuarantined field to given value. ### HasIsQuarantined -`func (o *ConanPackageUpload) HasIsQuarantined() bool` +`func (o *PackageTagResponse) HasIsQuarantined() bool` HasIsQuarantined returns a boolean if a field has been set. ### GetIsSyncAwaiting -`func (o *ConanPackageUpload) GetIsSyncAwaiting() bool` +`func (o *PackageTagResponse) GetIsSyncAwaiting() bool` GetIsSyncAwaiting returns the IsSyncAwaiting field if non-nil, zero value otherwise. ### GetIsSyncAwaitingOk -`func (o *ConanPackageUpload) GetIsSyncAwaitingOk() (*bool, bool)` +`func (o *PackageTagResponse) GetIsSyncAwaitingOk() (*bool, bool)` GetIsSyncAwaitingOk returns a tuple with the IsSyncAwaiting field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetIsSyncAwaiting -`func (o *ConanPackageUpload) SetIsSyncAwaiting(v bool)` +`func (o *PackageTagResponse) SetIsSyncAwaiting(v bool)` SetIsSyncAwaiting sets IsSyncAwaiting field to given value. ### HasIsSyncAwaiting -`func (o *ConanPackageUpload) HasIsSyncAwaiting() bool` +`func (o *PackageTagResponse) HasIsSyncAwaiting() bool` HasIsSyncAwaiting returns a boolean if a field has been set. ### GetIsSyncCompleted -`func (o *ConanPackageUpload) GetIsSyncCompleted() bool` +`func (o *PackageTagResponse) GetIsSyncCompleted() bool` GetIsSyncCompleted returns the IsSyncCompleted field if non-nil, zero value otherwise. ### GetIsSyncCompletedOk -`func (o *ConanPackageUpload) GetIsSyncCompletedOk() (*bool, bool)` +`func (o *PackageTagResponse) GetIsSyncCompletedOk() (*bool, bool)` GetIsSyncCompletedOk returns a tuple with the IsSyncCompleted field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetIsSyncCompleted -`func (o *ConanPackageUpload) SetIsSyncCompleted(v bool)` +`func (o *PackageTagResponse) SetIsSyncCompleted(v bool)` SetIsSyncCompleted sets IsSyncCompleted field to given value. ### HasIsSyncCompleted -`func (o *ConanPackageUpload) HasIsSyncCompleted() bool` +`func (o *PackageTagResponse) HasIsSyncCompleted() bool` HasIsSyncCompleted returns a boolean if a field has been set. ### GetIsSyncFailed -`func (o *ConanPackageUpload) GetIsSyncFailed() bool` +`func (o *PackageTagResponse) GetIsSyncFailed() bool` GetIsSyncFailed returns the IsSyncFailed field if non-nil, zero value otherwise. ### GetIsSyncFailedOk -`func (o *ConanPackageUpload) GetIsSyncFailedOk() (*bool, bool)` +`func (o *PackageTagResponse) GetIsSyncFailedOk() (*bool, bool)` GetIsSyncFailedOk returns a tuple with the IsSyncFailed field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetIsSyncFailed -`func (o *ConanPackageUpload) SetIsSyncFailed(v bool)` +`func (o *PackageTagResponse) SetIsSyncFailed(v bool)` SetIsSyncFailed sets IsSyncFailed field to given value. ### HasIsSyncFailed -`func (o *ConanPackageUpload) HasIsSyncFailed() bool` +`func (o *PackageTagResponse) HasIsSyncFailed() bool` HasIsSyncFailed returns a boolean if a field has been set. ### GetIsSyncInFlight -`func (o *ConanPackageUpload) GetIsSyncInFlight() bool` +`func (o *PackageTagResponse) GetIsSyncInFlight() bool` GetIsSyncInFlight returns the IsSyncInFlight field if non-nil, zero value otherwise. ### GetIsSyncInFlightOk -`func (o *ConanPackageUpload) GetIsSyncInFlightOk() (*bool, bool)` +`func (o *PackageTagResponse) GetIsSyncInFlightOk() (*bool, bool)` GetIsSyncInFlightOk returns a tuple with the IsSyncInFlight field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetIsSyncInFlight -`func (o *ConanPackageUpload) SetIsSyncInFlight(v bool)` +`func (o *PackageTagResponse) SetIsSyncInFlight(v bool)` SetIsSyncInFlight sets IsSyncInFlight field to given value. ### HasIsSyncInFlight -`func (o *ConanPackageUpload) HasIsSyncInFlight() bool` +`func (o *PackageTagResponse) HasIsSyncInFlight() bool` HasIsSyncInFlight returns a boolean if a field has been set. ### GetIsSyncInProgress -`func (o *ConanPackageUpload) GetIsSyncInProgress() bool` +`func (o *PackageTagResponse) GetIsSyncInProgress() bool` GetIsSyncInProgress returns the IsSyncInProgress field if non-nil, zero value otherwise. ### GetIsSyncInProgressOk -`func (o *ConanPackageUpload) GetIsSyncInProgressOk() (*bool, bool)` +`func (o *PackageTagResponse) GetIsSyncInProgressOk() (*bool, bool)` GetIsSyncInProgressOk returns a tuple with the IsSyncInProgress field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetIsSyncInProgress -`func (o *ConanPackageUpload) SetIsSyncInProgress(v bool)` +`func (o *PackageTagResponse) SetIsSyncInProgress(v bool)` SetIsSyncInProgress sets IsSyncInProgress field to given value. ### HasIsSyncInProgress -`func (o *ConanPackageUpload) HasIsSyncInProgress() bool` +`func (o *PackageTagResponse) HasIsSyncInProgress() bool` HasIsSyncInProgress returns a boolean if a field has been set. ### GetLicense -`func (o *ConanPackageUpload) GetLicense() string` +`func (o *PackageTagResponse) GetLicense() string` GetLicense returns the License field if non-nil, zero value otherwise. ### GetLicenseOk -`func (o *ConanPackageUpload) GetLicenseOk() (*string, bool)` +`func (o *PackageTagResponse) GetLicenseOk() (*string, bool)` GetLicenseOk returns a tuple with the License field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetLicense -`func (o *ConanPackageUpload) SetLicense(v string)` +`func (o *PackageTagResponse) SetLicense(v string)` SetLicense sets License field to given value. ### HasLicense -`func (o *ConanPackageUpload) HasLicense() bool` +`func (o *PackageTagResponse) HasLicense() bool` HasLicense returns a boolean if a field has been set. ### GetName -`func (o *ConanPackageUpload) GetName() string` +`func (o *PackageTagResponse) GetName() string` GetName returns the Name field if non-nil, zero value otherwise. ### GetNameOk -`func (o *ConanPackageUpload) GetNameOk() (*string, bool)` +`func (o *PackageTagResponse) GetNameOk() (*string, bool)` 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. ### SetName -`func (o *ConanPackageUpload) SetName(v string)` +`func (o *PackageTagResponse) SetName(v string)` SetName sets Name field to given value. ### HasName -`func (o *ConanPackageUpload) HasName() bool` +`func (o *PackageTagResponse) HasName() bool` HasName returns a boolean if a field has been set. ### GetNamespace -`func (o *ConanPackageUpload) GetNamespace() string` +`func (o *PackageTagResponse) GetNamespace() string` GetNamespace returns the Namespace field if non-nil, zero value otherwise. ### GetNamespaceOk -`func (o *ConanPackageUpload) GetNamespaceOk() (*string, bool)` +`func (o *PackageTagResponse) GetNamespaceOk() (*string, bool)` GetNamespaceOk returns a tuple with the Namespace field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetNamespace -`func (o *ConanPackageUpload) SetNamespace(v string)` +`func (o *PackageTagResponse) SetNamespace(v string)` SetNamespace sets Namespace field to given value. ### HasNamespace -`func (o *ConanPackageUpload) HasNamespace() bool` +`func (o *PackageTagResponse) HasNamespace() bool` HasNamespace returns a boolean if a field has been set. ### GetNamespaceUrl -`func (o *ConanPackageUpload) GetNamespaceUrl() string` +`func (o *PackageTagResponse) GetNamespaceUrl() string` GetNamespaceUrl returns the NamespaceUrl field if non-nil, zero value otherwise. ### GetNamespaceUrlOk -`func (o *ConanPackageUpload) GetNamespaceUrlOk() (*string, bool)` +`func (o *PackageTagResponse) GetNamespaceUrlOk() (*string, bool)` GetNamespaceUrlOk returns a tuple with the NamespaceUrl field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetNamespaceUrl -`func (o *ConanPackageUpload) SetNamespaceUrl(v string)` +`func (o *PackageTagResponse) SetNamespaceUrl(v string)` SetNamespaceUrl sets NamespaceUrl field to given value. ### HasNamespaceUrl -`func (o *ConanPackageUpload) HasNamespaceUrl() bool` +`func (o *PackageTagResponse) HasNamespaceUrl() bool` HasNamespaceUrl returns a boolean if a field has been set. ### GetNumFiles -`func (o *ConanPackageUpload) GetNumFiles() int64` +`func (o *PackageTagResponse) GetNumFiles() int64` GetNumFiles returns the NumFiles field if non-nil, zero value otherwise. ### GetNumFilesOk -`func (o *ConanPackageUpload) GetNumFilesOk() (*int64, bool)` +`func (o *PackageTagResponse) GetNumFilesOk() (*int64, bool)` GetNumFilesOk returns a tuple with the NumFiles field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetNumFiles -`func (o *ConanPackageUpload) SetNumFiles(v int64)` +`func (o *PackageTagResponse) SetNumFiles(v int64)` SetNumFiles sets NumFiles field to given value. ### HasNumFiles -`func (o *ConanPackageUpload) HasNumFiles() bool` +`func (o *PackageTagResponse) HasNumFiles() bool` HasNumFiles returns a boolean if a field has been set. +### GetOriginRepository + +`func (o *PackageTagResponse) GetOriginRepository() string` + +GetOriginRepository returns the OriginRepository field if non-nil, zero value otherwise. + +### GetOriginRepositoryOk + +`func (o *PackageTagResponse) GetOriginRepositoryOk() (*string, bool)` + +GetOriginRepositoryOk returns a tuple with the OriginRepository field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetOriginRepository + +`func (o *PackageTagResponse) SetOriginRepository(v string)` + +SetOriginRepository sets OriginRepository field to given value. + +### HasOriginRepository + +`func (o *PackageTagResponse) HasOriginRepository() bool` + +HasOriginRepository returns a boolean if a field has been set. + +### GetOriginRepositoryUrl + +`func (o *PackageTagResponse) GetOriginRepositoryUrl() string` + +GetOriginRepositoryUrl returns the OriginRepositoryUrl field if non-nil, zero value otherwise. + +### GetOriginRepositoryUrlOk + +`func (o *PackageTagResponse) GetOriginRepositoryUrlOk() (*string, bool)` + +GetOriginRepositoryUrlOk returns a tuple with the OriginRepositoryUrl field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetOriginRepositoryUrl + +`func (o *PackageTagResponse) SetOriginRepositoryUrl(v string)` + +SetOriginRepositoryUrl sets OriginRepositoryUrl field to given value. + +### HasOriginRepositoryUrl + +`func (o *PackageTagResponse) HasOriginRepositoryUrl() bool` + +HasOriginRepositoryUrl returns a boolean if a field has been set. + ### GetPackageType -`func (o *ConanPackageUpload) GetPackageType() int64` +`func (o *PackageTagResponse) GetPackageType() int64` GetPackageType returns the PackageType field if non-nil, zero value otherwise. ### GetPackageTypeOk -`func (o *ConanPackageUpload) GetPackageTypeOk() (*int64, bool)` +`func (o *PackageTagResponse) GetPackageTypeOk() (*int64, bool)` GetPackageTypeOk returns a tuple with the PackageType field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetPackageType -`func (o *ConanPackageUpload) SetPackageType(v int64)` +`func (o *PackageTagResponse) SetPackageType(v int64)` SetPackageType sets PackageType field to given value. ### HasPackageType -`func (o *ConanPackageUpload) HasPackageType() bool` +`func (o *PackageTagResponse) HasPackageType() bool` HasPackageType returns a boolean if a field has been set. ### GetRelease -`func (o *ConanPackageUpload) GetRelease() string` +`func (o *PackageTagResponse) GetRelease() string` GetRelease returns the Release field if non-nil, zero value otherwise. ### GetReleaseOk -`func (o *ConanPackageUpload) GetReleaseOk() (*string, bool)` +`func (o *PackageTagResponse) GetReleaseOk() (*string, bool)` GetReleaseOk returns a tuple with the Release field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetRelease -`func (o *ConanPackageUpload) SetRelease(v string)` +`func (o *PackageTagResponse) SetRelease(v string)` SetRelease sets Release field to given value. ### HasRelease -`func (o *ConanPackageUpload) HasRelease() bool` +`func (o *PackageTagResponse) HasRelease() bool` HasRelease returns a boolean if a field has been set. ### GetRepository -`func (o *ConanPackageUpload) GetRepository() string` +`func (o *PackageTagResponse) GetRepository() string` GetRepository returns the Repository field if non-nil, zero value otherwise. ### GetRepositoryOk -`func (o *ConanPackageUpload) GetRepositoryOk() (*string, bool)` +`func (o *PackageTagResponse) GetRepositoryOk() (*string, bool)` GetRepositoryOk returns a tuple with the Repository field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetRepository -`func (o *ConanPackageUpload) SetRepository(v string)` +`func (o *PackageTagResponse) SetRepository(v string)` SetRepository sets Repository field to given value. ### HasRepository -`func (o *ConanPackageUpload) HasRepository() bool` +`func (o *PackageTagResponse) HasRepository() bool` HasRepository returns a boolean if a field has been set. ### GetRepositoryUrl -`func (o *ConanPackageUpload) GetRepositoryUrl() string` +`func (o *PackageTagResponse) GetRepositoryUrl() string` GetRepositoryUrl returns the RepositoryUrl field if non-nil, zero value otherwise. ### GetRepositoryUrlOk -`func (o *ConanPackageUpload) GetRepositoryUrlOk() (*string, bool)` +`func (o *PackageTagResponse) GetRepositoryUrlOk() (*string, bool)` GetRepositoryUrlOk returns a tuple with the RepositoryUrl field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetRepositoryUrl -`func (o *ConanPackageUpload) SetRepositoryUrl(v string)` +`func (o *PackageTagResponse) SetRepositoryUrl(v string)` SetRepositoryUrl sets RepositoryUrl field to given value. ### HasRepositoryUrl -`func (o *ConanPackageUpload) HasRepositoryUrl() bool` +`func (o *PackageTagResponse) HasRepositoryUrl() bool` HasRepositoryUrl returns a boolean if a field has been set. ### GetSecurityScanCompletedAt -`func (o *ConanPackageUpload) GetSecurityScanCompletedAt() string` +`func (o *PackageTagResponse) GetSecurityScanCompletedAt() time.Time` GetSecurityScanCompletedAt returns the SecurityScanCompletedAt field if non-nil, zero value otherwise. ### GetSecurityScanCompletedAtOk -`func (o *ConanPackageUpload) GetSecurityScanCompletedAtOk() (*string, bool)` +`func (o *PackageTagResponse) GetSecurityScanCompletedAtOk() (*time.Time, bool)` GetSecurityScanCompletedAtOk returns a tuple with the SecurityScanCompletedAt field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetSecurityScanCompletedAt -`func (o *ConanPackageUpload) SetSecurityScanCompletedAt(v string)` +`func (o *PackageTagResponse) SetSecurityScanCompletedAt(v time.Time)` SetSecurityScanCompletedAt sets SecurityScanCompletedAt field to given value. ### HasSecurityScanCompletedAt -`func (o *ConanPackageUpload) HasSecurityScanCompletedAt() bool` +`func (o *PackageTagResponse) HasSecurityScanCompletedAt() bool` HasSecurityScanCompletedAt returns a boolean if a field has been set. ### GetSecurityScanStartedAt -`func (o *ConanPackageUpload) GetSecurityScanStartedAt() string` +`func (o *PackageTagResponse) GetSecurityScanStartedAt() time.Time` GetSecurityScanStartedAt returns the SecurityScanStartedAt field if non-nil, zero value otherwise. ### GetSecurityScanStartedAtOk -`func (o *ConanPackageUpload) GetSecurityScanStartedAtOk() (*string, bool)` +`func (o *PackageTagResponse) GetSecurityScanStartedAtOk() (*time.Time, bool)` GetSecurityScanStartedAtOk returns a tuple with the SecurityScanStartedAt field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetSecurityScanStartedAt -`func (o *ConanPackageUpload) SetSecurityScanStartedAt(v string)` +`func (o *PackageTagResponse) SetSecurityScanStartedAt(v time.Time)` SetSecurityScanStartedAt sets SecurityScanStartedAt field to given value. ### HasSecurityScanStartedAt -`func (o *ConanPackageUpload) HasSecurityScanStartedAt() bool` +`func (o *PackageTagResponse) HasSecurityScanStartedAt() bool` HasSecurityScanStartedAt returns a boolean if a field has been set. ### GetSecurityScanStatus -`func (o *ConanPackageUpload) GetSecurityScanStatus() string` +`func (o *PackageTagResponse) GetSecurityScanStatus() string` GetSecurityScanStatus returns the SecurityScanStatus field if non-nil, zero value otherwise. ### GetSecurityScanStatusOk -`func (o *ConanPackageUpload) GetSecurityScanStatusOk() (*string, bool)` +`func (o *PackageTagResponse) GetSecurityScanStatusOk() (*string, bool)` GetSecurityScanStatusOk returns a tuple with the SecurityScanStatus field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetSecurityScanStatus -`func (o *ConanPackageUpload) SetSecurityScanStatus(v string)` +`func (o *PackageTagResponse) SetSecurityScanStatus(v string)` SetSecurityScanStatus sets SecurityScanStatus field to given value. ### HasSecurityScanStatus -`func (o *ConanPackageUpload) HasSecurityScanStatus() bool` +`func (o *PackageTagResponse) HasSecurityScanStatus() bool` HasSecurityScanStatus returns a boolean if a field has been set. +### SetSecurityScanStatusNil + +`func (o *PackageTagResponse) SetSecurityScanStatusNil(b bool)` + + SetSecurityScanStatusNil sets the value for SecurityScanStatus to be an explicit nil + +### UnsetSecurityScanStatus +`func (o *PackageTagResponse) UnsetSecurityScanStatus()` + +UnsetSecurityScanStatus ensures that no value is present for SecurityScanStatus, not even an explicit nil ### GetSecurityScanStatusUpdatedAt -`func (o *ConanPackageUpload) GetSecurityScanStatusUpdatedAt() string` +`func (o *PackageTagResponse) GetSecurityScanStatusUpdatedAt() time.Time` GetSecurityScanStatusUpdatedAt returns the SecurityScanStatusUpdatedAt field if non-nil, zero value otherwise. ### GetSecurityScanStatusUpdatedAtOk -`func (o *ConanPackageUpload) GetSecurityScanStatusUpdatedAtOk() (*string, bool)` +`func (o *PackageTagResponse) GetSecurityScanStatusUpdatedAtOk() (*time.Time, bool)` GetSecurityScanStatusUpdatedAtOk returns a tuple with the SecurityScanStatusUpdatedAt field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetSecurityScanStatusUpdatedAt -`func (o *ConanPackageUpload) SetSecurityScanStatusUpdatedAt(v string)` +`func (o *PackageTagResponse) SetSecurityScanStatusUpdatedAt(v time.Time)` SetSecurityScanStatusUpdatedAt sets SecurityScanStatusUpdatedAt field to given value. ### HasSecurityScanStatusUpdatedAt -`func (o *ConanPackageUpload) HasSecurityScanStatusUpdatedAt() bool` +`func (o *PackageTagResponse) HasSecurityScanStatusUpdatedAt() bool` HasSecurityScanStatusUpdatedAt returns a boolean if a field has been set. ### GetSelfHtmlUrl -`func (o *ConanPackageUpload) GetSelfHtmlUrl() string` +`func (o *PackageTagResponse) GetSelfHtmlUrl() string` GetSelfHtmlUrl returns the SelfHtmlUrl field if non-nil, zero value otherwise. ### GetSelfHtmlUrlOk -`func (o *ConanPackageUpload) GetSelfHtmlUrlOk() (*string, bool)` +`func (o *PackageTagResponse) GetSelfHtmlUrlOk() (*string, bool)` GetSelfHtmlUrlOk returns a tuple with the SelfHtmlUrl field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetSelfHtmlUrl -`func (o *ConanPackageUpload) SetSelfHtmlUrl(v string)` +`func (o *PackageTagResponse) SetSelfHtmlUrl(v string)` SetSelfHtmlUrl sets SelfHtmlUrl field to given value. ### HasSelfHtmlUrl -`func (o *ConanPackageUpload) HasSelfHtmlUrl() bool` +`func (o *PackageTagResponse) HasSelfHtmlUrl() bool` HasSelfHtmlUrl returns a boolean if a field has been set. ### GetSelfUrl -`func (o *ConanPackageUpload) GetSelfUrl() string` +`func (o *PackageTagResponse) GetSelfUrl() string` GetSelfUrl returns the SelfUrl field if non-nil, zero value otherwise. ### GetSelfUrlOk -`func (o *ConanPackageUpload) GetSelfUrlOk() (*string, bool)` +`func (o *PackageTagResponse) GetSelfUrlOk() (*string, bool)` GetSelfUrlOk returns a tuple with the SelfUrl field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetSelfUrl -`func (o *ConanPackageUpload) SetSelfUrl(v string)` +`func (o *PackageTagResponse) SetSelfUrl(v string)` SetSelfUrl sets SelfUrl field to given value. ### HasSelfUrl -`func (o *ConanPackageUpload) HasSelfUrl() bool` +`func (o *PackageTagResponse) HasSelfUrl() bool` HasSelfUrl returns a boolean if a field has been set. ### GetSignatureUrl -`func (o *ConanPackageUpload) GetSignatureUrl() string` +`func (o *PackageTagResponse) GetSignatureUrl() string` GetSignatureUrl returns the SignatureUrl field if non-nil, zero value otherwise. ### GetSignatureUrlOk -`func (o *ConanPackageUpload) GetSignatureUrlOk() (*string, bool)` +`func (o *PackageTagResponse) GetSignatureUrlOk() (*string, bool)` GetSignatureUrlOk returns a tuple with the SignatureUrl field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetSignatureUrl -`func (o *ConanPackageUpload) SetSignatureUrl(v string)` +`func (o *PackageTagResponse) SetSignatureUrl(v string)` SetSignatureUrl sets SignatureUrl field to given value. ### HasSignatureUrl -`func (o *ConanPackageUpload) HasSignatureUrl() bool` +`func (o *PackageTagResponse) HasSignatureUrl() bool` HasSignatureUrl returns a boolean if a field has been set. +### SetSignatureUrlNil + +`func (o *PackageTagResponse) SetSignatureUrlNil(b bool)` + + SetSignatureUrlNil sets the value for SignatureUrl to be an explicit nil + +### UnsetSignatureUrl +`func (o *PackageTagResponse) UnsetSignatureUrl()` + +UnsetSignatureUrl ensures that no value is present for SignatureUrl, not even an explicit nil ### GetSize -`func (o *ConanPackageUpload) GetSize() int64` +`func (o *PackageTagResponse) GetSize() int64` GetSize returns the Size field if non-nil, zero value otherwise. ### GetSizeOk -`func (o *ConanPackageUpload) GetSizeOk() (*int64, bool)` +`func (o *PackageTagResponse) GetSizeOk() (*int64, bool)` GetSizeOk returns a tuple with the Size field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetSize -`func (o *ConanPackageUpload) SetSize(v int64)` +`func (o *PackageTagResponse) SetSize(v int64)` SetSize sets Size field to given value. ### HasSize -`func (o *ConanPackageUpload) HasSize() bool` +`func (o *PackageTagResponse) HasSize() bool` HasSize returns a boolean if a field has been set. ### GetSlug -`func (o *ConanPackageUpload) GetSlug() string` +`func (o *PackageTagResponse) GetSlug() string` GetSlug returns the Slug field if non-nil, zero value otherwise. ### GetSlugOk -`func (o *ConanPackageUpload) GetSlugOk() (*string, bool)` +`func (o *PackageTagResponse) GetSlugOk() (*string, bool)` GetSlugOk returns a tuple with the Slug field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetSlug -`func (o *ConanPackageUpload) SetSlug(v string)` +`func (o *PackageTagResponse) SetSlug(v string)` SetSlug sets Slug field to given value. ### HasSlug -`func (o *ConanPackageUpload) HasSlug() bool` +`func (o *PackageTagResponse) HasSlug() bool` HasSlug returns a boolean if a field has been set. ### GetSlugPerm -`func (o *ConanPackageUpload) GetSlugPerm() string` +`func (o *PackageTagResponse) GetSlugPerm() string` GetSlugPerm returns the SlugPerm field if non-nil, zero value otherwise. ### GetSlugPermOk -`func (o *ConanPackageUpload) GetSlugPermOk() (*string, bool)` +`func (o *PackageTagResponse) GetSlugPermOk() (*string, bool)` GetSlugPermOk returns a tuple with the SlugPerm field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetSlugPerm -`func (o *ConanPackageUpload) SetSlugPerm(v string)` +`func (o *PackageTagResponse) SetSlugPerm(v string)` SetSlugPerm sets SlugPerm field to given value. ### HasSlugPerm -`func (o *ConanPackageUpload) HasSlugPerm() bool` +`func (o *PackageTagResponse) HasSlugPerm() bool` HasSlugPerm returns a boolean if a field has been set. ### GetStage -`func (o *ConanPackageUpload) GetStage() int64` +`func (o *PackageTagResponse) GetStage() int64` GetStage returns the Stage field if non-nil, zero value otherwise. ### GetStageOk -`func (o *ConanPackageUpload) GetStageOk() (*int64, bool)` +`func (o *PackageTagResponse) GetStageOk() (*int64, bool)` GetStageOk returns a tuple with the Stage field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetStage -`func (o *ConanPackageUpload) SetStage(v int64)` +`func (o *PackageTagResponse) SetStage(v int64)` SetStage sets Stage field to given value. ### HasStage -`func (o *ConanPackageUpload) HasStage() bool` +`func (o *PackageTagResponse) HasStage() bool` HasStage returns a boolean if a field has been set. ### GetStageStr -`func (o *ConanPackageUpload) GetStageStr() string` +`func (o *PackageTagResponse) GetStageStr() string` GetStageStr returns the StageStr field if non-nil, zero value otherwise. ### GetStageStrOk -`func (o *ConanPackageUpload) GetStageStrOk() (*string, bool)` +`func (o *PackageTagResponse) GetStageStrOk() (*string, bool)` GetStageStrOk returns a tuple with the StageStr field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetStageStr -`func (o *ConanPackageUpload) SetStageStr(v string)` +`func (o *PackageTagResponse) SetStageStr(v string)` SetStageStr sets StageStr field to given value. ### HasStageStr -`func (o *ConanPackageUpload) HasStageStr() bool` +`func (o *PackageTagResponse) HasStageStr() bool` HasStageStr returns a boolean if a field has been set. ### GetStageUpdatedAt -`func (o *ConanPackageUpload) GetStageUpdatedAt() string` +`func (o *PackageTagResponse) GetStageUpdatedAt() time.Time` GetStageUpdatedAt returns the StageUpdatedAt field if non-nil, zero value otherwise. ### GetStageUpdatedAtOk -`func (o *ConanPackageUpload) GetStageUpdatedAtOk() (*string, bool)` +`func (o *PackageTagResponse) GetStageUpdatedAtOk() (*time.Time, bool)` GetStageUpdatedAtOk returns a tuple with the StageUpdatedAt field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetStageUpdatedAt -`func (o *ConanPackageUpload) SetStageUpdatedAt(v string)` +`func (o *PackageTagResponse) SetStageUpdatedAt(v time.Time)` SetStageUpdatedAt sets StageUpdatedAt field to given value. ### HasStageUpdatedAt -`func (o *ConanPackageUpload) HasStageUpdatedAt() bool` +`func (o *PackageTagResponse) HasStageUpdatedAt() bool` HasStageUpdatedAt returns a boolean if a field has been set. ### GetStatus -`func (o *ConanPackageUpload) GetStatus() int64` +`func (o *PackageTagResponse) GetStatus() int64` GetStatus returns the Status field if non-nil, zero value otherwise. ### GetStatusOk -`func (o *ConanPackageUpload) GetStatusOk() (*int64, bool)` +`func (o *PackageTagResponse) GetStatusOk() (*int64, bool)` GetStatusOk returns a tuple with the Status field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetStatus -`func (o *ConanPackageUpload) SetStatus(v int64)` +`func (o *PackageTagResponse) SetStatus(v int64)` SetStatus sets Status field to given value. ### HasStatus -`func (o *ConanPackageUpload) HasStatus() bool` +`func (o *PackageTagResponse) HasStatus() bool` HasStatus returns a boolean if a field has been set. ### GetStatusReason -`func (o *ConanPackageUpload) GetStatusReason() string` +`func (o *PackageTagResponse) GetStatusReason() string` GetStatusReason returns the StatusReason field if non-nil, zero value otherwise. ### GetStatusReasonOk -`func (o *ConanPackageUpload) GetStatusReasonOk() (*string, bool)` +`func (o *PackageTagResponse) GetStatusReasonOk() (*string, bool)` GetStatusReasonOk returns a tuple with the StatusReason field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetStatusReason -`func (o *ConanPackageUpload) SetStatusReason(v string)` +`func (o *PackageTagResponse) SetStatusReason(v string)` SetStatusReason sets StatusReason field to given value. ### HasStatusReason -`func (o *ConanPackageUpload) HasStatusReason() bool` +`func (o *PackageTagResponse) HasStatusReason() bool` HasStatusReason returns a boolean if a field has been set. ### GetStatusStr -`func (o *ConanPackageUpload) GetStatusStr() string` +`func (o *PackageTagResponse) GetStatusStr() string` GetStatusStr returns the StatusStr field if non-nil, zero value otherwise. ### GetStatusStrOk -`func (o *ConanPackageUpload) GetStatusStrOk() (*string, bool)` +`func (o *PackageTagResponse) GetStatusStrOk() (*string, bool)` GetStatusStrOk returns a tuple with the StatusStr field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetStatusStr -`func (o *ConanPackageUpload) SetStatusStr(v string)` +`func (o *PackageTagResponse) SetStatusStr(v string)` SetStatusStr sets StatusStr field to given value. ### HasStatusStr -`func (o *ConanPackageUpload) HasStatusStr() bool` +`func (o *PackageTagResponse) HasStatusStr() bool` HasStatusStr returns a boolean if a field has been set. ### GetStatusUpdatedAt -`func (o *ConanPackageUpload) GetStatusUpdatedAt() string` +`func (o *PackageTagResponse) GetStatusUpdatedAt() time.Time` GetStatusUpdatedAt returns the StatusUpdatedAt field if non-nil, zero value otherwise. ### GetStatusUpdatedAtOk -`func (o *ConanPackageUpload) GetStatusUpdatedAtOk() (*string, bool)` +`func (o *PackageTagResponse) GetStatusUpdatedAtOk() (*time.Time, bool)` GetStatusUpdatedAtOk returns a tuple with the StatusUpdatedAt field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetStatusUpdatedAt -`func (o *ConanPackageUpload) SetStatusUpdatedAt(v string)` +`func (o *PackageTagResponse) SetStatusUpdatedAt(v time.Time)` SetStatusUpdatedAt sets StatusUpdatedAt field to given value. ### HasStatusUpdatedAt -`func (o *ConanPackageUpload) HasStatusUpdatedAt() bool` +`func (o *PackageTagResponse) HasStatusUpdatedAt() bool` HasStatusUpdatedAt returns a boolean if a field has been set. ### GetStatusUrl -`func (o *ConanPackageUpload) GetStatusUrl() string` +`func (o *PackageTagResponse) GetStatusUrl() string` GetStatusUrl returns the StatusUrl field if non-nil, zero value otherwise. ### GetStatusUrlOk -`func (o *ConanPackageUpload) GetStatusUrlOk() (*string, bool)` +`func (o *PackageTagResponse) GetStatusUrlOk() (*string, bool)` GetStatusUrlOk returns a tuple with the StatusUrl field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetStatusUrl -`func (o *ConanPackageUpload) SetStatusUrl(v string)` +`func (o *PackageTagResponse) SetStatusUrl(v string)` SetStatusUrl sets StatusUrl field to given value. ### HasStatusUrl -`func (o *ConanPackageUpload) HasStatusUrl() bool` +`func (o *PackageTagResponse) HasStatusUrl() bool` HasStatusUrl returns a boolean if a field has been set. ### GetSubtype -`func (o *ConanPackageUpload) GetSubtype() string` +`func (o *PackageTagResponse) GetSubtype() string` GetSubtype returns the Subtype field if non-nil, zero value otherwise. ### GetSubtypeOk -`func (o *ConanPackageUpload) GetSubtypeOk() (*string, bool)` +`func (o *PackageTagResponse) GetSubtypeOk() (*string, bool)` GetSubtypeOk returns a tuple with the Subtype field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetSubtype -`func (o *ConanPackageUpload) SetSubtype(v string)` +`func (o *PackageTagResponse) SetSubtype(v string)` SetSubtype sets Subtype field to given value. ### HasSubtype -`func (o *ConanPackageUpload) HasSubtype() bool` +`func (o *PackageTagResponse) HasSubtype() bool` HasSubtype returns a boolean if a field has been set. ### GetSummary -`func (o *ConanPackageUpload) GetSummary() string` +`func (o *PackageTagResponse) GetSummary() string` GetSummary returns the Summary field if non-nil, zero value otherwise. ### GetSummaryOk -`func (o *ConanPackageUpload) GetSummaryOk() (*string, bool)` +`func (o *PackageTagResponse) GetSummaryOk() (*string, bool)` GetSummaryOk returns a tuple with the Summary field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetSummary -`func (o *ConanPackageUpload) SetSummary(v string)` +`func (o *PackageTagResponse) SetSummary(v string)` SetSummary sets Summary field to given value. ### HasSummary -`func (o *ConanPackageUpload) HasSummary() bool` +`func (o *PackageTagResponse) HasSummary() bool` HasSummary returns a boolean if a field has been set. ### GetSyncFinishedAt -`func (o *ConanPackageUpload) GetSyncFinishedAt() string` +`func (o *PackageTagResponse) GetSyncFinishedAt() time.Time` GetSyncFinishedAt returns the SyncFinishedAt field if non-nil, zero value otherwise. ### GetSyncFinishedAtOk -`func (o *ConanPackageUpload) GetSyncFinishedAtOk() (*string, bool)` +`func (o *PackageTagResponse) GetSyncFinishedAtOk() (*time.Time, bool)` GetSyncFinishedAtOk returns a tuple with the SyncFinishedAt field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetSyncFinishedAt -`func (o *ConanPackageUpload) SetSyncFinishedAt(v string)` +`func (o *PackageTagResponse) SetSyncFinishedAt(v time.Time)` SetSyncFinishedAt sets SyncFinishedAt field to given value. ### HasSyncFinishedAt -`func (o *ConanPackageUpload) HasSyncFinishedAt() bool` +`func (o *PackageTagResponse) HasSyncFinishedAt() bool` HasSyncFinishedAt returns a boolean if a field has been set. ### GetSyncProgress -`func (o *ConanPackageUpload) GetSyncProgress() int64` +`func (o *PackageTagResponse) GetSyncProgress() int64` GetSyncProgress returns the SyncProgress field if non-nil, zero value otherwise. ### GetSyncProgressOk -`func (o *ConanPackageUpload) GetSyncProgressOk() (*int64, bool)` +`func (o *PackageTagResponse) GetSyncProgressOk() (*int64, bool)` GetSyncProgressOk returns a tuple with the SyncProgress field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetSyncProgress -`func (o *ConanPackageUpload) SetSyncProgress(v int64)` +`func (o *PackageTagResponse) SetSyncProgress(v int64)` SetSyncProgress sets SyncProgress field to given value. ### HasSyncProgress -`func (o *ConanPackageUpload) HasSyncProgress() bool` +`func (o *PackageTagResponse) HasSyncProgress() bool` HasSyncProgress returns a boolean if a field has been set. ### GetTagsImmutable -`func (o *ConanPackageUpload) GetTagsImmutable() map[string]interface{}` +`func (o *PackageTagResponse) GetTagsImmutable() map[string]interface{}` GetTagsImmutable returns the TagsImmutable field if non-nil, zero value otherwise. ### GetTagsImmutableOk -`func (o *ConanPackageUpload) GetTagsImmutableOk() (*map[string]interface{}, bool)` +`func (o *PackageTagResponse) GetTagsImmutableOk() (*map[string]interface{}, bool)` GetTagsImmutableOk returns a tuple with the TagsImmutable field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetTagsImmutable -`func (o *ConanPackageUpload) SetTagsImmutable(v map[string]interface{})` +`func (o *PackageTagResponse) SetTagsImmutable(v map[string]interface{})` SetTagsImmutable sets TagsImmutable field to given value. ### HasTagsImmutable -`func (o *ConanPackageUpload) HasTagsImmutable() bool` +`func (o *PackageTagResponse) HasTagsImmutable() bool` HasTagsImmutable returns a boolean if a field has been set. ### GetTypeDisplay -`func (o *ConanPackageUpload) GetTypeDisplay() string` +`func (o *PackageTagResponse) GetTypeDisplay() string` GetTypeDisplay returns the TypeDisplay field if non-nil, zero value otherwise. ### GetTypeDisplayOk -`func (o *ConanPackageUpload) GetTypeDisplayOk() (*string, bool)` +`func (o *PackageTagResponse) GetTypeDisplayOk() (*string, bool)` GetTypeDisplayOk returns a tuple with the TypeDisplay field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetTypeDisplay -`func (o *ConanPackageUpload) SetTypeDisplay(v string)` +`func (o *PackageTagResponse) SetTypeDisplay(v string)` SetTypeDisplay sets TypeDisplay field to given value. ### HasTypeDisplay -`func (o *ConanPackageUpload) HasTypeDisplay() bool` +`func (o *PackageTagResponse) HasTypeDisplay() bool` HasTypeDisplay returns a boolean if a field has been set. ### GetUploadedAt -`func (o *ConanPackageUpload) GetUploadedAt() string` +`func (o *PackageTagResponse) GetUploadedAt() time.Time` GetUploadedAt returns the UploadedAt field if non-nil, zero value otherwise. ### GetUploadedAtOk -`func (o *ConanPackageUpload) GetUploadedAtOk() (*string, bool)` +`func (o *PackageTagResponse) GetUploadedAtOk() (*time.Time, bool)` GetUploadedAtOk returns a tuple with the UploadedAt field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetUploadedAt -`func (o *ConanPackageUpload) SetUploadedAt(v string)` +`func (o *PackageTagResponse) SetUploadedAt(v time.Time)` SetUploadedAt sets UploadedAt field to given value. ### HasUploadedAt -`func (o *ConanPackageUpload) HasUploadedAt() bool` +`func (o *PackageTagResponse) HasUploadedAt() bool` HasUploadedAt returns a boolean if a field has been set. ### GetUploader -`func (o *ConanPackageUpload) GetUploader() string` +`func (o *PackageTagResponse) GetUploader() string` GetUploader returns the Uploader field if non-nil, zero value otherwise. ### GetUploaderOk -`func (o *ConanPackageUpload) GetUploaderOk() (*string, bool)` +`func (o *PackageTagResponse) GetUploaderOk() (*string, bool)` GetUploaderOk returns a tuple with the Uploader field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetUploader -`func (o *ConanPackageUpload) SetUploader(v string)` +`func (o *PackageTagResponse) SetUploader(v string)` SetUploader sets Uploader field to given value. ### HasUploader -`func (o *ConanPackageUpload) HasUploader() bool` +`func (o *PackageTagResponse) HasUploader() bool` HasUploader returns a boolean if a field has been set. ### GetUploaderUrl -`func (o *ConanPackageUpload) GetUploaderUrl() string` +`func (o *PackageTagResponse) GetUploaderUrl() string` GetUploaderUrl returns the UploaderUrl field if non-nil, zero value otherwise. ### GetUploaderUrlOk -`func (o *ConanPackageUpload) GetUploaderUrlOk() (*string, bool)` +`func (o *PackageTagResponse) GetUploaderUrlOk() (*string, bool)` GetUploaderUrlOk returns a tuple with the UploaderUrl field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetUploaderUrl -`func (o *ConanPackageUpload) SetUploaderUrl(v string)` +`func (o *PackageTagResponse) SetUploaderUrl(v string)` SetUploaderUrl sets UploaderUrl field to given value. ### HasUploaderUrl -`func (o *ConanPackageUpload) HasUploaderUrl() bool` +`func (o *PackageTagResponse) HasUploaderUrl() bool` HasUploaderUrl returns a boolean if a field has been set. ### GetVersion -`func (o *ConanPackageUpload) GetVersion() string` +`func (o *PackageTagResponse) GetVersion() string` GetVersion returns the Version field if non-nil, zero value otherwise. ### GetVersionOk -`func (o *ConanPackageUpload) GetVersionOk() (*string, bool)` +`func (o *PackageTagResponse) GetVersionOk() (*string, bool)` GetVersionOk returns a tuple with the Version field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetVersion -`func (o *ConanPackageUpload) SetVersion(v string)` +`func (o *PackageTagResponse) SetVersion(v string)` SetVersion sets Version field to given value. ### HasVersion -`func (o *ConanPackageUpload) HasVersion() bool` +`func (o *PackageTagResponse) HasVersion() bool` HasVersion returns a boolean if a field has been set. ### GetVersionOrig -`func (o *ConanPackageUpload) GetVersionOrig() string` +`func (o *PackageTagResponse) GetVersionOrig() string` GetVersionOrig returns the VersionOrig field if non-nil, zero value otherwise. ### GetVersionOrigOk -`func (o *ConanPackageUpload) GetVersionOrigOk() (*string, bool)` +`func (o *PackageTagResponse) GetVersionOrigOk() (*string, bool)` GetVersionOrigOk returns a tuple with the VersionOrig field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetVersionOrig -`func (o *ConanPackageUpload) SetVersionOrig(v string)` +`func (o *PackageTagResponse) SetVersionOrig(v string)` SetVersionOrig sets VersionOrig field to given value. ### HasVersionOrig -`func (o *ConanPackageUpload) HasVersionOrig() bool` +`func (o *PackageTagResponse) HasVersionOrig() bool` HasVersionOrig returns a boolean if a field has been set. ### GetVulnerabilityScanResultsUrl -`func (o *ConanPackageUpload) GetVulnerabilityScanResultsUrl() string` +`func (o *PackageTagResponse) GetVulnerabilityScanResultsUrl() string` GetVulnerabilityScanResultsUrl returns the VulnerabilityScanResultsUrl field if non-nil, zero value otherwise. ### GetVulnerabilityScanResultsUrlOk -`func (o *ConanPackageUpload) GetVulnerabilityScanResultsUrlOk() (*string, bool)` +`func (o *PackageTagResponse) GetVulnerabilityScanResultsUrlOk() (*string, bool)` GetVulnerabilityScanResultsUrlOk returns a tuple with the VulnerabilityScanResultsUrl field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetVulnerabilityScanResultsUrl -`func (o *ConanPackageUpload) SetVulnerabilityScanResultsUrl(v string)` +`func (o *PackageTagResponse) SetVulnerabilityScanResultsUrl(v string)` SetVulnerabilityScanResultsUrl sets VulnerabilityScanResultsUrl field to given value. ### HasVulnerabilityScanResultsUrl -`func (o *ConanPackageUpload) HasVulnerabilityScanResultsUrl() bool` +`func (o *PackageTagResponse) HasVulnerabilityScanResultsUrl() bool` HasVulnerabilityScanResultsUrl returns a boolean if a field has been set. diff --git a/docs/PackageUsageMetrics.md b/docs/PackageUsageMetricsResponse.md similarity index 56% rename from docs/PackageUsageMetrics.md rename to docs/PackageUsageMetricsResponse.md index a265c877..db52b77e 100644 --- a/docs/PackageUsageMetrics.md +++ b/docs/PackageUsageMetricsResponse.md @@ -1,46 +1,46 @@ -# PackageUsageMetrics +# PackageUsageMetricsResponse ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**Packages** | **map[string]interface{}** | | +**Packages** | [**CommonMetrics**](CommonMetrics.md) | | ## Methods -### NewPackageUsageMetrics +### NewPackageUsageMetricsResponse -`func NewPackageUsageMetrics(packages map[string]interface{}, ) *PackageUsageMetrics` +`func NewPackageUsageMetricsResponse(packages CommonMetrics, ) *PackageUsageMetricsResponse` -NewPackageUsageMetrics instantiates a new PackageUsageMetrics object +NewPackageUsageMetricsResponse instantiates a new PackageUsageMetricsResponse object 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 -### NewPackageUsageMetricsWithDefaults +### NewPackageUsageMetricsResponseWithDefaults -`func NewPackageUsageMetricsWithDefaults() *PackageUsageMetrics` +`func NewPackageUsageMetricsResponseWithDefaults() *PackageUsageMetricsResponse` -NewPackageUsageMetricsWithDefaults instantiates a new PackageUsageMetrics object +NewPackageUsageMetricsResponseWithDefaults instantiates a new PackageUsageMetricsResponse object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set ### GetPackages -`func (o *PackageUsageMetrics) GetPackages() map[string]interface{}` +`func (o *PackageUsageMetricsResponse) GetPackages() CommonMetrics` GetPackages returns the Packages field if non-nil, zero value otherwise. ### GetPackagesOk -`func (o *PackageUsageMetrics) GetPackagesOk() (*map[string]interface{}, bool)` +`func (o *PackageUsageMetricsResponse) GetPackagesOk() (*CommonMetrics, 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 *PackageUsageMetrics) SetPackages(v map[string]interface{})` +`func (o *PackageUsageMetricsResponse) SetPackages(v CommonMetrics)` SetPackages sets Packages field to given value. diff --git a/docs/PackageVulnerability.md b/docs/PackageVulnerability.md new file mode 100644 index 00000000..ca048d57 --- /dev/null +++ b/docs/PackageVulnerability.md @@ -0,0 +1,129 @@ +# PackageVulnerability + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Identifier** | **string** | | +**Name** | Pointer to **string** | The name of this package. | [optional] [readonly] +**Url** | Pointer to **string** | | [optional] [readonly] +**Version** | Pointer to **string** | The raw version for this package. | [optional] [readonly] + +## Methods + +### NewPackageVulnerability + +`func NewPackageVulnerability(identifier string, ) *PackageVulnerability` + +NewPackageVulnerability instantiates a new PackageVulnerability object +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 + +### NewPackageVulnerabilityWithDefaults + +`func NewPackageVulnerabilityWithDefaults() *PackageVulnerability` + +NewPackageVulnerabilityWithDefaults instantiates a new PackageVulnerability object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetIdentifier + +`func (o *PackageVulnerability) GetIdentifier() string` + +GetIdentifier returns the Identifier field if non-nil, zero value otherwise. + +### GetIdentifierOk + +`func (o *PackageVulnerability) GetIdentifierOk() (*string, bool)` + +GetIdentifierOk returns a tuple with the Identifier field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetIdentifier + +`func (o *PackageVulnerability) SetIdentifier(v string)` + +SetIdentifier sets Identifier field to given value. + + +### GetName + +`func (o *PackageVulnerability) GetName() string` + +GetName returns the Name field if non-nil, zero value otherwise. + +### GetNameOk + +`func (o *PackageVulnerability) GetNameOk() (*string, bool)` + +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. + +### SetName + +`func (o *PackageVulnerability) SetName(v string)` + +SetName sets Name field to given value. + +### HasName + +`func (o *PackageVulnerability) HasName() bool` + +HasName returns a boolean if a field has been set. + +### GetUrl + +`func (o *PackageVulnerability) GetUrl() string` + +GetUrl returns the Url field if non-nil, zero value otherwise. + +### GetUrlOk + +`func (o *PackageVulnerability) GetUrlOk() (*string, bool)` + +GetUrlOk returns a tuple with the Url field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetUrl + +`func (o *PackageVulnerability) SetUrl(v string)` + +SetUrl sets Url field to given value. + +### HasUrl + +`func (o *PackageVulnerability) HasUrl() bool` + +HasUrl returns a boolean if a field has been set. + +### GetVersion + +`func (o *PackageVulnerability) GetVersion() string` + +GetVersion returns the Version field if non-nil, zero value otherwise. + +### GetVersionOk + +`func (o *PackageVulnerability) GetVersionOk() (*string, bool)` + +GetVersionOk returns a tuple with the Version field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetVersion + +`func (o *PackageVulnerability) SetVersion(v string)` + +SetVersion sets Version field to given value. + +### HasVersion + +`func (o *PackageVulnerability) HasVersion() bool` + +HasVersion 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/docs/PackagesApi.md b/docs/PackagesApi.md index 6fa53912..18d87ce2 100644 --- a/docs/PackagesApi.md +++ b/docs/PackagesApi.md @@ -66,7 +66,7 @@ Method | HTTP request | Description ## PackagesCopy -> PackageCopy PackagesCopy(ctx, owner, repo, identifier).Data(data).Execute() +> PackageCopyResponse PackagesCopy(ctx, owner, repo, identifier).Data(data).Execute() Copy a package to another repository. @@ -88,7 +88,7 @@ func main() { owner := "owner_example" // string | repo := "repo_example" // string | identifier := "identifier_example" // string | - data := *openapiclient.NewPackagesCopy("Destination_example") // PackagesCopy | (optional) + data := *openapiclient.NewPackageCopyRequest("Destination_example") // PackageCopyRequest | (optional) configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) @@ -97,7 +97,7 @@ func main() { fmt.Fprintf(os.Stderr, "Error when calling `PackagesApi.PackagesCopy``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } - // response from `PackagesCopy`: PackageCopy + // response from `PackagesCopy`: PackageCopyResponse fmt.Fprintf(os.Stdout, "Response from `PackagesApi.PackagesCopy`: %v\n", resp) } ``` @@ -122,11 +122,11 @@ Name | Type | Description | Notes - **data** | [**PackagesCopy**](PackagesCopy.md) | | + **data** | [**PackageCopyRequest**](PackageCopyRequest.md) | | ### Return type -[**PackageCopy**](PackageCopy.md) +[**PackageCopyResponse**](PackageCopyResponse.md) ### Authorization @@ -135,7 +135,7 @@ Name | Type | Description | Notes ### HTTP request headers - **Content-Type**: application/json -- **Accept**: */* +- **Accept**: application/json [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) @@ -209,7 +209,7 @@ Name | Type | Description | Notes ### HTTP request headers - **Content-Type**: Not defined -- **Accept**: */* +- **Accept**: application/json [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) @@ -218,7 +218,7 @@ Name | Type | Description | Notes ## PackagesDependencies -> PackageDependencies PackagesDependencies(ctx, owner, repo, identifier).Execute() +> PackageDependenciesResponse PackagesDependencies(ctx, owner, repo, identifier).Execute() Get the direct (non-transitive) dependencies list for a package. @@ -248,7 +248,7 @@ func main() { fmt.Fprintf(os.Stderr, "Error when calling `PackagesApi.PackagesDependencies``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } - // response from `PackagesDependencies`: PackageDependencies + // response from `PackagesDependencies`: PackageDependenciesResponse fmt.Fprintf(os.Stdout, "Response from `PackagesApi.PackagesDependencies`: %v\n", resp) } ``` @@ -276,7 +276,7 @@ Name | Type | Description | Notes ### Return type -[**PackageDependencies**](PackageDependencies.md) +[**PackageDependenciesResponse**](PackageDependenciesResponse.md) ### Authorization @@ -285,7 +285,7 @@ Name | Type | Description | Notes ### HTTP request headers - **Content-Type**: Not defined -- **Accept**: */* +- **Accept**: application/json [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) @@ -294,7 +294,7 @@ Name | Type | Description | Notes ## PackagesList -> []Package PackagesList(ctx, owner, repo).Page(page).PageSize(pageSize).Query(query).Sort(sort).Execute() +> []PackageResponse PackagesList(ctx, owner, repo).Page(page).PageSize(pageSize).Query(query).Sort(sort).Execute() Get a list of all packages associated with repository. @@ -318,7 +318,7 @@ func main() { page := int64(56) // int64 | A page number within the paginated result set. (optional) pageSize := int64(56) // int64 | Number of results to return per page. (optional) query := "query_example" // string | A search term for querying names, filenames, versions, distributions, architectures, formats or statuses of packages. (optional) - sort := "sort_example" // string | A field for sorting objects in ascending or descending order. (optional) + sort := "sort_example" // string | A field for sorting objects in ascending or descending order. (optional) (default to "-date") configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) @@ -327,7 +327,7 @@ func main() { fmt.Fprintf(os.Stderr, "Error when calling `PackagesApi.PackagesList``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } - // response from `PackagesList`: []Package + // response from `PackagesList`: []PackageResponse fmt.Fprintf(os.Stdout, "Response from `PackagesApi.PackagesList`: %v\n", resp) } ``` @@ -353,11 +353,11 @@ Name | Type | Description | Notes **page** | **int64** | A page number within the paginated result set. | **pageSize** | **int64** | Number of results to return per page. | **query** | **string** | A search term for querying names, filenames, versions, distributions, architectures, formats or statuses of packages. | - **sort** | **string** | A field for sorting objects in ascending or descending order. | + **sort** | **string** | A field for sorting objects in ascending or descending order. | [default to "-date"] ### Return type -[**[]Package**](Package.md) +[**[]PackageResponse**](PackageResponse.md) ### Authorization @@ -366,7 +366,7 @@ Name | Type | Description | Notes ### HTTP request headers - **Content-Type**: Not defined -- **Accept**: */* +- **Accept**: application/json [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) @@ -375,7 +375,7 @@ Name | Type | Description | Notes ## PackagesMove -> PackageMove PackagesMove(ctx, owner, repo, identifier).Data(data).Execute() +> PackageMoveResponse PackagesMove(ctx, owner, repo, identifier).Data(data).Execute() Move a package to another repository. @@ -397,7 +397,7 @@ func main() { owner := "owner_example" // string | repo := "repo_example" // string | identifier := "identifier_example" // string | - data := *openapiclient.NewPackagesMove("Destination_example") // PackagesMove | (optional) + data := *openapiclient.NewPackageMoveRequest("Destination_example") // PackageMoveRequest | (optional) configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) @@ -406,7 +406,7 @@ func main() { fmt.Fprintf(os.Stderr, "Error when calling `PackagesApi.PackagesMove``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } - // response from `PackagesMove`: PackageMove + // response from `PackagesMove`: PackageMoveResponse fmt.Fprintf(os.Stdout, "Response from `PackagesApi.PackagesMove`: %v\n", resp) } ``` @@ -431,11 +431,11 @@ Name | Type | Description | Notes - **data** | [**PackagesMove**](PackagesMove.md) | | + **data** | [**PackageMoveRequest**](PackageMoveRequest.md) | | ### Return type -[**PackageMove**](PackageMove.md) +[**PackageMoveResponse**](PackageMoveResponse.md) ### Authorization @@ -444,7 +444,7 @@ Name | Type | Description | Notes ### HTTP request headers - **Content-Type**: application/json -- **Accept**: */* +- **Accept**: application/json [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) @@ -453,7 +453,7 @@ Name | Type | Description | Notes ## PackagesQuarantine -> PackageQuarantine PackagesQuarantine(ctx, owner, repo, identifier).Data(data).Execute() +> PackageQuarantineResponse PackagesQuarantine(ctx, owner, repo, identifier).Data(data).Execute() Quarantine or restore a package. @@ -475,7 +475,7 @@ func main() { owner := "owner_example" // string | repo := "repo_example" // string | identifier := "identifier_example" // string | - data := *openapiclient.NewPackagesQuarantine() // PackagesQuarantine | (optional) + data := *openapiclient.NewPackageQuarantineRequest() // PackageQuarantineRequest | (optional) configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) @@ -484,7 +484,7 @@ func main() { fmt.Fprintf(os.Stderr, "Error when calling `PackagesApi.PackagesQuarantine``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } - // response from `PackagesQuarantine`: PackageQuarantine + // response from `PackagesQuarantine`: PackageQuarantineResponse fmt.Fprintf(os.Stdout, "Response from `PackagesApi.PackagesQuarantine`: %v\n", resp) } ``` @@ -509,11 +509,11 @@ Name | Type | Description | Notes - **data** | [**PackagesQuarantine**](PackagesQuarantine.md) | | + **data** | [**PackageQuarantineRequest**](PackageQuarantineRequest.md) | | ### Return type -[**PackageQuarantine**](PackageQuarantine.md) +[**PackageQuarantineResponse**](PackageQuarantineResponse.md) ### Authorization @@ -522,7 +522,7 @@ Name | Type | Description | Notes ### HTTP request headers - **Content-Type**: application/json -- **Accept**: */* +- **Accept**: application/json [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) @@ -531,7 +531,7 @@ Name | Type | Description | Notes ## PackagesRead -> Package PackagesRead(ctx, owner, repo, identifier).Execute() +> PackageResponse PackagesRead(ctx, owner, repo, identifier).Execute() Get a specific package in a repository. @@ -561,7 +561,7 @@ func main() { fmt.Fprintf(os.Stderr, "Error when calling `PackagesApi.PackagesRead``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } - // response from `PackagesRead`: Package + // response from `PackagesRead`: PackageResponse fmt.Fprintf(os.Stdout, "Response from `PackagesApi.PackagesRead`: %v\n", resp) } ``` @@ -589,7 +589,7 @@ Name | Type | Description | Notes ### Return type -[**Package**](Package.md) +[**PackageResponse**](PackageResponse.md) ### Authorization @@ -598,7 +598,7 @@ Name | Type | Description | Notes ### HTTP request headers - **Content-Type**: Not defined -- **Accept**: */* +- **Accept**: application/json [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) @@ -607,7 +607,7 @@ Name | Type | Description | Notes ## PackagesResync -> PackageResync PackagesResync(ctx, owner, repo, identifier).Execute() +> PackageResyncResponse PackagesResync(ctx, owner, repo, identifier).Execute() Schedule a package for resynchronisation. @@ -637,7 +637,7 @@ func main() { fmt.Fprintf(os.Stderr, "Error when calling `PackagesApi.PackagesResync``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } - // response from `PackagesResync`: PackageResync + // response from `PackagesResync`: PackageResyncResponse fmt.Fprintf(os.Stdout, "Response from `PackagesApi.PackagesResync`: %v\n", resp) } ``` @@ -665,7 +665,7 @@ Name | Type | Description | Notes ### Return type -[**PackageResync**](PackageResync.md) +[**PackageResyncResponse**](PackageResyncResponse.md) ### Authorization @@ -674,7 +674,7 @@ Name | Type | Description | Notes ### HTTP request headers - **Content-Type**: Not defined -- **Accept**: */* +- **Accept**: application/json [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) @@ -683,7 +683,7 @@ Name | Type | Description | Notes ## PackagesScan -> Package PackagesScan(ctx, owner, repo, identifier).Execute() +> PackageResponse PackagesScan(ctx, owner, repo, identifier).Execute() Schedule a package for scanning. @@ -713,7 +713,7 @@ func main() { fmt.Fprintf(os.Stderr, "Error when calling `PackagesApi.PackagesScan``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } - // response from `PackagesScan`: Package + // response from `PackagesScan`: PackageResponse fmt.Fprintf(os.Stdout, "Response from `PackagesApi.PackagesScan`: %v\n", resp) } ``` @@ -741,7 +741,7 @@ Name | Type | Description | Notes ### Return type -[**Package**](Package.md) +[**PackageResponse**](PackageResponse.md) ### Authorization @@ -750,7 +750,7 @@ Name | Type | Description | Notes ### HTTP request headers - **Content-Type**: Not defined -- **Accept**: */* +- **Accept**: application/json [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) @@ -759,7 +759,7 @@ Name | Type | Description | Notes ## PackagesStatus -> PackageStatus PackagesStatus(ctx, owner, repo, identifier).Execute() +> PackageStatusResponse PackagesStatus(ctx, owner, repo, identifier).Execute() Get the synchronisation status for a package. @@ -789,7 +789,7 @@ func main() { fmt.Fprintf(os.Stderr, "Error when calling `PackagesApi.PackagesStatus``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } - // response from `PackagesStatus`: PackageStatus + // response from `PackagesStatus`: PackageStatusResponse fmt.Fprintf(os.Stdout, "Response from `PackagesApi.PackagesStatus`: %v\n", resp) } ``` @@ -817,7 +817,7 @@ Name | Type | Description | Notes ### Return type -[**PackageStatus**](PackageStatus.md) +[**PackageStatusResponse**](PackageStatusResponse.md) ### Authorization @@ -826,7 +826,7 @@ Name | Type | Description | Notes ### HTTP request headers - **Content-Type**: Not defined -- **Accept**: */* +- **Accept**: application/json [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) @@ -835,7 +835,7 @@ Name | Type | Description | Notes ## PackagesTag -> Package PackagesTag(ctx, owner, repo, identifier).Data(data).Execute() +> PackageResponse PackagesTag(ctx, owner, repo, identifier).Data(data).Execute() Add/Replace/Remove tags for a package. @@ -857,7 +857,7 @@ func main() { owner := "owner_example" // string | repo := "repo_example" // string | identifier := "identifier_example" // string | - data := *openapiclient.NewPackagesTag() // PackagesTag | (optional) + data := *openapiclient.NewPackageTagRequest() // PackageTagRequest | (optional) configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) @@ -866,7 +866,7 @@ func main() { fmt.Fprintf(os.Stderr, "Error when calling `PackagesApi.PackagesTag``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } - // response from `PackagesTag`: Package + // response from `PackagesTag`: PackageResponse fmt.Fprintf(os.Stdout, "Response from `PackagesApi.PackagesTag`: %v\n", resp) } ``` @@ -891,11 +891,11 @@ Name | Type | Description | Notes - **data** | [**PackagesTag**](PackagesTag.md) | | + **data** | [**PackageTagRequest**](PackageTagRequest.md) | | ### Return type -[**Package**](Package.md) +[**PackageResponse**](PackageResponse.md) ### Authorization @@ -904,7 +904,7 @@ Name | Type | Description | Notes ### HTTP request headers - **Content-Type**: application/json -- **Accept**: */* +- **Accept**: application/json [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) @@ -913,7 +913,7 @@ Name | Type | Description | Notes ## PackagesUploadAlpine -> AlpinePackageUpload PackagesUploadAlpine(ctx, owner, repo).Data(data).Execute() +> AlpinePackageUploadResponse PackagesUploadAlpine(ctx, owner, repo).Data(data).Execute() Create a new Alpine package @@ -934,7 +934,7 @@ import ( func main() { owner := "owner_example" // string | repo := "repo_example" // string | - data := *openapiclient.NewPackagesUploadAlpine("alpine/v3.8", "a123456789") // PackagesUploadAlpine | (optional) + data := *openapiclient.NewAlpinePackageUploadRequest("Distribution_example", "PackageFile_example") // AlpinePackageUploadRequest | (optional) configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) @@ -943,7 +943,7 @@ func main() { fmt.Fprintf(os.Stderr, "Error when calling `PackagesApi.PackagesUploadAlpine``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } - // response from `PackagesUploadAlpine`: AlpinePackageUpload + // response from `PackagesUploadAlpine`: AlpinePackageUploadResponse fmt.Fprintf(os.Stdout, "Response from `PackagesApi.PackagesUploadAlpine`: %v\n", resp) } ``` @@ -966,11 +966,11 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **data** | [**PackagesUploadAlpine**](PackagesUploadAlpine.md) | | + **data** | [**AlpinePackageUploadRequest**](AlpinePackageUploadRequest.md) | | ### Return type -[**AlpinePackageUpload**](AlpinePackageUpload.md) +[**AlpinePackageUploadResponse**](AlpinePackageUploadResponse.md) ### Authorization @@ -979,7 +979,7 @@ Name | Type | Description | Notes ### HTTP request headers - **Content-Type**: application/json -- **Accept**: */* +- **Accept**: application/json [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) @@ -988,7 +988,7 @@ Name | Type | Description | Notes ## PackagesUploadCargo -> CargoPackageUpload PackagesUploadCargo(ctx, owner, repo).Data(data).Execute() +> CargoPackageUploadResponse PackagesUploadCargo(ctx, owner, repo).Data(data).Execute() Create a new Cargo package @@ -1009,7 +1009,7 @@ import ( func main() { owner := "owner_example" // string | repo := "repo_example" // string | - data := *openapiclient.NewPackagesUploadCargo("x123456789a") // PackagesUploadCargo | (optional) + data := *openapiclient.NewCargoPackageUploadRequest("PackageFile_example") // CargoPackageUploadRequest | (optional) configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) @@ -1018,7 +1018,7 @@ func main() { fmt.Fprintf(os.Stderr, "Error when calling `PackagesApi.PackagesUploadCargo``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } - // response from `PackagesUploadCargo`: CargoPackageUpload + // response from `PackagesUploadCargo`: CargoPackageUploadResponse fmt.Fprintf(os.Stdout, "Response from `PackagesApi.PackagesUploadCargo`: %v\n", resp) } ``` @@ -1041,11 +1041,11 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **data** | [**PackagesUploadCargo**](PackagesUploadCargo.md) | | + **data** | [**CargoPackageUploadRequest**](CargoPackageUploadRequest.md) | | ### Return type -[**CargoPackageUpload**](CargoPackageUpload.md) +[**CargoPackageUploadResponse**](CargoPackageUploadResponse.md) ### Authorization @@ -1054,7 +1054,7 @@ Name | Type | Description | Notes ### HTTP request headers - **Content-Type**: application/json -- **Accept**: */* +- **Accept**: application/json [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) @@ -1063,7 +1063,7 @@ Name | Type | Description | Notes ## PackagesUploadCocoapods -> CocoapodsPackageUpload PackagesUploadCocoapods(ctx, owner, repo).Data(data).Execute() +> CocoapodsPackageUploadResponse PackagesUploadCocoapods(ctx, owner, repo).Data(data).Execute() Create a new CocoaPods package @@ -1084,7 +1084,7 @@ import ( func main() { owner := "owner_example" // string | repo := "repo_example" // string | - data := *openapiclient.NewPackagesUploadCocoapods("z123456789") // PackagesUploadCocoapods | (optional) + data := *openapiclient.NewCocoapodsPackageUploadRequest("PackageFile_example") // CocoapodsPackageUploadRequest | (optional) configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) @@ -1093,7 +1093,7 @@ func main() { fmt.Fprintf(os.Stderr, "Error when calling `PackagesApi.PackagesUploadCocoapods``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } - // response from `PackagesUploadCocoapods`: CocoapodsPackageUpload + // response from `PackagesUploadCocoapods`: CocoapodsPackageUploadResponse fmt.Fprintf(os.Stdout, "Response from `PackagesApi.PackagesUploadCocoapods`: %v\n", resp) } ``` @@ -1116,11 +1116,11 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **data** | [**PackagesUploadCocoapods**](PackagesUploadCocoapods.md) | | + **data** | [**CocoapodsPackageUploadRequest**](CocoapodsPackageUploadRequest.md) | | ### Return type -[**CocoapodsPackageUpload**](CocoapodsPackageUpload.md) +[**CocoapodsPackageUploadResponse**](CocoapodsPackageUploadResponse.md) ### Authorization @@ -1129,7 +1129,7 @@ Name | Type | Description | Notes ### HTTP request headers - **Content-Type**: application/json -- **Accept**: */* +- **Accept**: application/json [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) @@ -1138,7 +1138,7 @@ Name | Type | Description | Notes ## PackagesUploadComposer -> ComposerPackageUpload PackagesUploadComposer(ctx, owner, repo).Data(data).Execute() +> ComposerPackageUploadResponse PackagesUploadComposer(ctx, owner, repo).Data(data).Execute() Create a new Composer package @@ -1159,7 +1159,7 @@ import ( func main() { owner := "owner_example" // string | repo := "repo_example" // string | - data := *openapiclient.NewPackagesUploadComposer("y123456789") // PackagesUploadComposer | (optional) + data := *openapiclient.NewComposerPackageUploadRequest("PackageFile_example") // ComposerPackageUploadRequest | (optional) configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) @@ -1168,7 +1168,7 @@ func main() { fmt.Fprintf(os.Stderr, "Error when calling `PackagesApi.PackagesUploadComposer``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } - // response from `PackagesUploadComposer`: ComposerPackageUpload + // response from `PackagesUploadComposer`: ComposerPackageUploadResponse fmt.Fprintf(os.Stdout, "Response from `PackagesApi.PackagesUploadComposer`: %v\n", resp) } ``` @@ -1191,11 +1191,11 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **data** | [**PackagesUploadComposer**](PackagesUploadComposer.md) | | + **data** | [**ComposerPackageUploadRequest**](ComposerPackageUploadRequest.md) | | ### Return type -[**ComposerPackageUpload**](ComposerPackageUpload.md) +[**ComposerPackageUploadResponse**](ComposerPackageUploadResponse.md) ### Authorization @@ -1204,7 +1204,7 @@ Name | Type | Description | Notes ### HTTP request headers - **Content-Type**: application/json -- **Accept**: */* +- **Accept**: application/json [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) @@ -1213,7 +1213,7 @@ Name | Type | Description | Notes ## PackagesUploadConan -> ConanPackageUpload PackagesUploadConan(ctx, owner, repo).Data(data).Execute() +> ConanPackageUploadResponse PackagesUploadConan(ctx, owner, repo).Data(data).Execute() Create a new Conan package @@ -1234,7 +1234,7 @@ import ( func main() { owner := "owner_example" // string | repo := "repo_example" // string | - data := *openapiclient.NewPackagesUploadConan("y1234456789b", "y1234456789c", "y1234456789a", "x123456789a") // PackagesUploadConan | (optional) + data := *openapiclient.NewConanPackageUploadRequest("InfoFile_example", "ManifestFile_example", "MetadataFile_example", "PackageFile_example") // ConanPackageUploadRequest | (optional) configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) @@ -1243,7 +1243,7 @@ func main() { fmt.Fprintf(os.Stderr, "Error when calling `PackagesApi.PackagesUploadConan``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } - // response from `PackagesUploadConan`: ConanPackageUpload + // response from `PackagesUploadConan`: ConanPackageUploadResponse fmt.Fprintf(os.Stdout, "Response from `PackagesApi.PackagesUploadConan`: %v\n", resp) } ``` @@ -1266,11 +1266,11 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **data** | [**PackagesUploadConan**](PackagesUploadConan.md) | | + **data** | [**ConanPackageUploadRequest**](ConanPackageUploadRequest.md) | | ### Return type -[**ConanPackageUpload**](ConanPackageUpload.md) +[**ConanPackageUploadResponse**](ConanPackageUploadResponse.md) ### Authorization @@ -1279,7 +1279,7 @@ Name | Type | Description | Notes ### HTTP request headers - **Content-Type**: application/json -- **Accept**: */* +- **Accept**: application/json [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) @@ -1288,7 +1288,7 @@ Name | Type | Description | Notes ## PackagesUploadConda -> CondaPackageUpload PackagesUploadConda(ctx, owner, repo).Data(data).Execute() +> CondaPackageUploadResponse PackagesUploadConda(ctx, owner, repo).Data(data).Execute() Create a new Conda package @@ -1309,7 +1309,7 @@ import ( func main() { owner := "owner_example" // string | repo := "repo_example" // string | - data := *openapiclient.NewPackagesUploadConda("x123456789a") // PackagesUploadConda | (optional) + data := *openapiclient.NewCondaPackageUploadRequest("PackageFile_example") // CondaPackageUploadRequest | (optional) configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) @@ -1318,7 +1318,7 @@ func main() { fmt.Fprintf(os.Stderr, "Error when calling `PackagesApi.PackagesUploadConda``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } - // response from `PackagesUploadConda`: CondaPackageUpload + // response from `PackagesUploadConda`: CondaPackageUploadResponse fmt.Fprintf(os.Stdout, "Response from `PackagesApi.PackagesUploadConda`: %v\n", resp) } ``` @@ -1341,11 +1341,11 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **data** | [**PackagesUploadConda**](PackagesUploadConda.md) | | + **data** | [**CondaPackageUploadRequest**](CondaPackageUploadRequest.md) | | ### Return type -[**CondaPackageUpload**](CondaPackageUpload.md) +[**CondaPackageUploadResponse**](CondaPackageUploadResponse.md) ### Authorization @@ -1354,7 +1354,7 @@ Name | Type | Description | Notes ### HTTP request headers - **Content-Type**: application/json -- **Accept**: */* +- **Accept**: application/json [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) @@ -1363,7 +1363,7 @@ Name | Type | Description | Notes ## PackagesUploadCran -> CranPackageUpload PackagesUploadCran(ctx, owner, repo).Data(data).Execute() +> CranPackageUploadResponse PackagesUploadCran(ctx, owner, repo).Data(data).Execute() Create a new CRAN package @@ -1384,7 +1384,7 @@ import ( func main() { owner := "owner_example" // string | repo := "repo_example" // string | - data := *openapiclient.NewPackagesUploadCran("x123456789a") // PackagesUploadCran | (optional) + data := *openapiclient.NewCranPackageUploadRequest("PackageFile_example") // CranPackageUploadRequest | (optional) configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) @@ -1393,7 +1393,7 @@ func main() { fmt.Fprintf(os.Stderr, "Error when calling `PackagesApi.PackagesUploadCran``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } - // response from `PackagesUploadCran`: CranPackageUpload + // response from `PackagesUploadCran`: CranPackageUploadResponse fmt.Fprintf(os.Stdout, "Response from `PackagesApi.PackagesUploadCran`: %v\n", resp) } ``` @@ -1416,11 +1416,11 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **data** | [**PackagesUploadCran**](PackagesUploadCran.md) | | + **data** | [**CranPackageUploadRequest**](CranPackageUploadRequest.md) | | ### Return type -[**CranPackageUpload**](CranPackageUpload.md) +[**CranPackageUploadResponse**](CranPackageUploadResponse.md) ### Authorization @@ -1429,7 +1429,7 @@ Name | Type | Description | Notes ### HTTP request headers - **Content-Type**: application/json -- **Accept**: */* +- **Accept**: application/json [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) @@ -1438,7 +1438,7 @@ Name | Type | Description | Notes ## PackagesUploadDart -> DartPackageUpload PackagesUploadDart(ctx, owner, repo).Data(data).Execute() +> DartPackageUploadResponse PackagesUploadDart(ctx, owner, repo).Data(data).Execute() Create a new Dart package @@ -1459,7 +1459,7 @@ import ( func main() { owner := "owner_example" // string | repo := "repo_example" // string | - data := *openapiclient.NewPackagesUploadDart("x123456789a") // PackagesUploadDart | (optional) + data := *openapiclient.NewDartPackageUploadRequest("PackageFile_example") // DartPackageUploadRequest | (optional) configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) @@ -1468,7 +1468,7 @@ func main() { fmt.Fprintf(os.Stderr, "Error when calling `PackagesApi.PackagesUploadDart``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } - // response from `PackagesUploadDart`: DartPackageUpload + // response from `PackagesUploadDart`: DartPackageUploadResponse fmt.Fprintf(os.Stdout, "Response from `PackagesApi.PackagesUploadDart`: %v\n", resp) } ``` @@ -1491,11 +1491,11 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **data** | [**PackagesUploadDart**](PackagesUploadDart.md) | | + **data** | [**DartPackageUploadRequest**](DartPackageUploadRequest.md) | | ### Return type -[**DartPackageUpload**](DartPackageUpload.md) +[**DartPackageUploadResponse**](DartPackageUploadResponse.md) ### Authorization @@ -1504,7 +1504,7 @@ Name | Type | Description | Notes ### HTTP request headers - **Content-Type**: application/json -- **Accept**: */* +- **Accept**: application/json [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) @@ -1513,7 +1513,7 @@ Name | Type | Description | Notes ## PackagesUploadDeb -> DebPackageUpload PackagesUploadDeb(ctx, owner, repo).Data(data).Execute() +> DebPackageUploadResponse PackagesUploadDeb(ctx, owner, repo).Data(data).Execute() Create a new Debian package @@ -1534,7 +1534,7 @@ import ( func main() { owner := "owner_example" // string | repo := "repo_example" // string | - data := *openapiclient.NewPackagesUploadDeb("ubuntu/xenial", "y123456789") // PackagesUploadDeb | (optional) + data := *openapiclient.NewDebPackageUploadRequest("Distribution_example", "PackageFile_example") // DebPackageUploadRequest | (optional) configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) @@ -1543,7 +1543,7 @@ func main() { fmt.Fprintf(os.Stderr, "Error when calling `PackagesApi.PackagesUploadDeb``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } - // response from `PackagesUploadDeb`: DebPackageUpload + // response from `PackagesUploadDeb`: DebPackageUploadResponse fmt.Fprintf(os.Stdout, "Response from `PackagesApi.PackagesUploadDeb`: %v\n", resp) } ``` @@ -1566,11 +1566,11 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **data** | [**PackagesUploadDeb**](PackagesUploadDeb.md) | | + **data** | [**DebPackageUploadRequest**](DebPackageUploadRequest.md) | | ### Return type -[**DebPackageUpload**](DebPackageUpload.md) +[**DebPackageUploadResponse**](DebPackageUploadResponse.md) ### Authorization @@ -1579,7 +1579,7 @@ Name | Type | Description | Notes ### HTTP request headers - **Content-Type**: application/json -- **Accept**: */* +- **Accept**: application/json [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) @@ -1588,7 +1588,7 @@ Name | Type | Description | Notes ## PackagesUploadDocker -> DockerPackageUpload PackagesUploadDocker(ctx, owner, repo).Data(data).Execute() +> DockerPackageUploadResponse PackagesUploadDocker(ctx, owner, repo).Data(data).Execute() Create a new Docker package @@ -1609,7 +1609,7 @@ import ( func main() { owner := "owner_example" // string | repo := "repo_example" // string | - data := *openapiclient.NewPackagesUploadDocker("y123456789") // PackagesUploadDocker | (optional) + data := *openapiclient.NewDockerPackageUploadRequest("PackageFile_example") // DockerPackageUploadRequest | (optional) configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) @@ -1618,7 +1618,7 @@ func main() { fmt.Fprintf(os.Stderr, "Error when calling `PackagesApi.PackagesUploadDocker``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } - // response from `PackagesUploadDocker`: DockerPackageUpload + // response from `PackagesUploadDocker`: DockerPackageUploadResponse fmt.Fprintf(os.Stdout, "Response from `PackagesApi.PackagesUploadDocker`: %v\n", resp) } ``` @@ -1641,11 +1641,11 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **data** | [**PackagesUploadDocker**](PackagesUploadDocker.md) | | + **data** | [**DockerPackageUploadRequest**](DockerPackageUploadRequest.md) | | ### Return type -[**DockerPackageUpload**](DockerPackageUpload.md) +[**DockerPackageUploadResponse**](DockerPackageUploadResponse.md) ### Authorization @@ -1654,7 +1654,7 @@ Name | Type | Description | Notes ### HTTP request headers - **Content-Type**: application/json -- **Accept**: */* +- **Accept**: application/json [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) @@ -1663,7 +1663,7 @@ Name | Type | Description | Notes ## PackagesUploadGo -> GoPackageUpload PackagesUploadGo(ctx, owner, repo).Data(data).Execute() +> GoPackageUploadResponse PackagesUploadGo(ctx, owner, repo).Data(data).Execute() Create a new Go package @@ -1684,7 +1684,7 @@ import ( func main() { owner := "owner_example" // string | repo := "repo_example" // string | - data := *openapiclient.NewPackagesUploadGo("x123456789a") // PackagesUploadGo | (optional) + data := *openapiclient.NewGoPackageUploadRequest("PackageFile_example") // GoPackageUploadRequest | (optional) configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) @@ -1693,7 +1693,7 @@ func main() { fmt.Fprintf(os.Stderr, "Error when calling `PackagesApi.PackagesUploadGo``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } - // response from `PackagesUploadGo`: GoPackageUpload + // response from `PackagesUploadGo`: GoPackageUploadResponse fmt.Fprintf(os.Stdout, "Response from `PackagesApi.PackagesUploadGo`: %v\n", resp) } ``` @@ -1716,11 +1716,11 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **data** | [**PackagesUploadGo**](PackagesUploadGo.md) | | + **data** | [**GoPackageUploadRequest**](GoPackageUploadRequest.md) | | ### Return type -[**GoPackageUpload**](GoPackageUpload.md) +[**GoPackageUploadResponse**](GoPackageUploadResponse.md) ### Authorization @@ -1729,7 +1729,7 @@ Name | Type | Description | Notes ### HTTP request headers - **Content-Type**: application/json -- **Accept**: */* +- **Accept**: application/json [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) @@ -1738,7 +1738,7 @@ Name | Type | Description | Notes ## PackagesUploadHelm -> HelmPackageUpload PackagesUploadHelm(ctx, owner, repo).Data(data).Execute() +> HelmPackageUploadResponse PackagesUploadHelm(ctx, owner, repo).Data(data).Execute() Create a new Helm package @@ -1759,7 +1759,7 @@ import ( func main() { owner := "owner_example" // string | repo := "repo_example" // string | - data := *openapiclient.NewPackagesUploadHelm("x123456789a") // PackagesUploadHelm | (optional) + data := *openapiclient.NewHelmPackageUploadRequest("PackageFile_example") // HelmPackageUploadRequest | (optional) configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) @@ -1768,7 +1768,7 @@ func main() { fmt.Fprintf(os.Stderr, "Error when calling `PackagesApi.PackagesUploadHelm``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } - // response from `PackagesUploadHelm`: HelmPackageUpload + // response from `PackagesUploadHelm`: HelmPackageUploadResponse fmt.Fprintf(os.Stdout, "Response from `PackagesApi.PackagesUploadHelm`: %v\n", resp) } ``` @@ -1791,11 +1791,11 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **data** | [**PackagesUploadHelm**](PackagesUploadHelm.md) | | + **data** | [**HelmPackageUploadRequest**](HelmPackageUploadRequest.md) | | ### Return type -[**HelmPackageUpload**](HelmPackageUpload.md) +[**HelmPackageUploadResponse**](HelmPackageUploadResponse.md) ### Authorization @@ -1804,7 +1804,7 @@ Name | Type | Description | Notes ### HTTP request headers - **Content-Type**: application/json -- **Accept**: */* +- **Accept**: application/json [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) @@ -1813,7 +1813,7 @@ Name | Type | Description | Notes ## PackagesUploadLuarocks -> LuarocksPackageUpload PackagesUploadLuarocks(ctx, owner, repo).Data(data).Execute() +> LuarocksPackageUploadResponse PackagesUploadLuarocks(ctx, owner, repo).Data(data).Execute() Create a new LuaRocks package @@ -1834,7 +1834,7 @@ import ( func main() { owner := "owner_example" // string | repo := "repo_example" // string | - data := *openapiclient.NewPackagesUploadLuarocks("x123456789a") // PackagesUploadLuarocks | (optional) + data := *openapiclient.NewLuarocksPackageUploadRequest("PackageFile_example") // LuarocksPackageUploadRequest | (optional) configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) @@ -1843,7 +1843,7 @@ func main() { fmt.Fprintf(os.Stderr, "Error when calling `PackagesApi.PackagesUploadLuarocks``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } - // response from `PackagesUploadLuarocks`: LuarocksPackageUpload + // response from `PackagesUploadLuarocks`: LuarocksPackageUploadResponse fmt.Fprintf(os.Stdout, "Response from `PackagesApi.PackagesUploadLuarocks`: %v\n", resp) } ``` @@ -1866,11 +1866,11 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **data** | [**PackagesUploadLuarocks**](PackagesUploadLuarocks.md) | | + **data** | [**LuarocksPackageUploadRequest**](LuarocksPackageUploadRequest.md) | | ### Return type -[**LuarocksPackageUpload**](LuarocksPackageUpload.md) +[**LuarocksPackageUploadResponse**](LuarocksPackageUploadResponse.md) ### Authorization @@ -1879,7 +1879,7 @@ Name | Type | Description | Notes ### HTTP request headers - **Content-Type**: application/json -- **Accept**: */* +- **Accept**: application/json [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) @@ -1888,7 +1888,7 @@ Name | Type | Description | Notes ## PackagesUploadMaven -> MavenPackageUpload PackagesUploadMaven(ctx, owner, repo).Data(data).Execute() +> MavenPackageUploadResponse PackagesUploadMaven(ctx, owner, repo).Data(data).Execute() Create a new Maven package @@ -1909,7 +1909,7 @@ import ( func main() { owner := "owner_example" // string | repo := "repo_example" // string | - data := *openapiclient.NewPackagesUploadMaven("y1234456789a") // PackagesUploadMaven | (optional) + data := *openapiclient.NewMavenPackageUploadRequest("PackageFile_example") // MavenPackageUploadRequest | (optional) configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) @@ -1918,7 +1918,7 @@ func main() { fmt.Fprintf(os.Stderr, "Error when calling `PackagesApi.PackagesUploadMaven``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } - // response from `PackagesUploadMaven`: MavenPackageUpload + // response from `PackagesUploadMaven`: MavenPackageUploadResponse fmt.Fprintf(os.Stdout, "Response from `PackagesApi.PackagesUploadMaven`: %v\n", resp) } ``` @@ -1941,11 +1941,11 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **data** | [**PackagesUploadMaven**](PackagesUploadMaven.md) | | + **data** | [**MavenPackageUploadRequest**](MavenPackageUploadRequest.md) | | ### Return type -[**MavenPackageUpload**](MavenPackageUpload.md) +[**MavenPackageUploadResponse**](MavenPackageUploadResponse.md) ### Authorization @@ -1954,7 +1954,7 @@ Name | Type | Description | Notes ### HTTP request headers - **Content-Type**: application/json -- **Accept**: */* +- **Accept**: application/json [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) @@ -1963,7 +1963,7 @@ Name | Type | Description | Notes ## PackagesUploadNpm -> NpmPackageUpload PackagesUploadNpm(ctx, owner, repo).Data(data).Execute() +> NpmPackageUploadResponse PackagesUploadNpm(ctx, owner, repo).Data(data).Execute() Create a new npm package @@ -1984,7 +1984,7 @@ import ( func main() { owner := "owner_example" // string | repo := "repo_example" // string | - data := *openapiclient.NewPackagesUploadNpm("y123456789") // PackagesUploadNpm | (optional) + data := *openapiclient.NewNpmPackageUploadRequest("PackageFile_example") // NpmPackageUploadRequest | (optional) configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) @@ -1993,7 +1993,7 @@ func main() { fmt.Fprintf(os.Stderr, "Error when calling `PackagesApi.PackagesUploadNpm``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } - // response from `PackagesUploadNpm`: NpmPackageUpload + // response from `PackagesUploadNpm`: NpmPackageUploadResponse fmt.Fprintf(os.Stdout, "Response from `PackagesApi.PackagesUploadNpm`: %v\n", resp) } ``` @@ -2016,11 +2016,11 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **data** | [**PackagesUploadNpm**](PackagesUploadNpm.md) | | + **data** | [**NpmPackageUploadRequest**](NpmPackageUploadRequest.md) | | ### Return type -[**NpmPackageUpload**](NpmPackageUpload.md) +[**NpmPackageUploadResponse**](NpmPackageUploadResponse.md) ### Authorization @@ -2029,7 +2029,7 @@ Name | Type | Description | Notes ### HTTP request headers - **Content-Type**: application/json -- **Accept**: */* +- **Accept**: application/json [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) @@ -2038,7 +2038,7 @@ Name | Type | Description | Notes ## PackagesUploadNuget -> NugetPackageUpload PackagesUploadNuget(ctx, owner, repo).Data(data).Execute() +> NugetPackageUploadResponse PackagesUploadNuget(ctx, owner, repo).Data(data).Execute() Create a new NuGet package @@ -2059,7 +2059,7 @@ import ( func main() { owner := "owner_example" // string | repo := "repo_example" // string | - data := *openapiclient.NewPackagesUploadNuget("y1234456789a") // PackagesUploadNuget | (optional) + data := *openapiclient.NewNugetPackageUploadRequest("PackageFile_example") // NugetPackageUploadRequest | (optional) configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) @@ -2068,7 +2068,7 @@ func main() { fmt.Fprintf(os.Stderr, "Error when calling `PackagesApi.PackagesUploadNuget``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } - // response from `PackagesUploadNuget`: NugetPackageUpload + // response from `PackagesUploadNuget`: NugetPackageUploadResponse fmt.Fprintf(os.Stdout, "Response from `PackagesApi.PackagesUploadNuget`: %v\n", resp) } ``` @@ -2091,11 +2091,11 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **data** | [**PackagesUploadNuget**](PackagesUploadNuget.md) | | + **data** | [**NugetPackageUploadRequest**](NugetPackageUploadRequest.md) | | ### Return type -[**NugetPackageUpload**](NugetPackageUpload.md) +[**NugetPackageUploadResponse**](NugetPackageUploadResponse.md) ### Authorization @@ -2104,7 +2104,7 @@ Name | Type | Description | Notes ### HTTP request headers - **Content-Type**: application/json -- **Accept**: */* +- **Accept**: application/json [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) @@ -2113,7 +2113,7 @@ Name | Type | Description | Notes ## PackagesUploadP2 -> P2PackageUpload PackagesUploadP2(ctx, owner, repo).Data(data).Execute() +> P2PackageUploadResponse PackagesUploadP2(ctx, owner, repo).Data(data).Execute() Create a new P2 package @@ -2134,7 +2134,7 @@ import ( func main() { owner := "owner_example" // string | repo := "repo_example" // string | - data := *openapiclient.NewPackagesUploadP2("PackageFile_example") // PackagesUploadP2 | (optional) + data := *openapiclient.NewP2PackageUploadRequest("PackageFile_example") // P2PackageUploadRequest | (optional) configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) @@ -2143,7 +2143,7 @@ func main() { fmt.Fprintf(os.Stderr, "Error when calling `PackagesApi.PackagesUploadP2``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } - // response from `PackagesUploadP2`: P2PackageUpload + // response from `PackagesUploadP2`: P2PackageUploadResponse fmt.Fprintf(os.Stdout, "Response from `PackagesApi.PackagesUploadP2`: %v\n", resp) } ``` @@ -2166,11 +2166,11 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **data** | [**PackagesUploadP2**](PackagesUploadP2.md) | | + **data** | [**P2PackageUploadRequest**](P2PackageUploadRequest.md) | | ### Return type -[**P2PackageUpload**](P2PackageUpload.md) +[**P2PackageUploadResponse**](P2PackageUploadResponse.md) ### Authorization @@ -2179,7 +2179,7 @@ Name | Type | Description | Notes ### HTTP request headers - **Content-Type**: application/json -- **Accept**: */* +- **Accept**: application/json [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) @@ -2188,7 +2188,7 @@ Name | Type | Description | Notes ## PackagesUploadPython -> PythonPackageUpload PackagesUploadPython(ctx, owner, repo).Data(data).Execute() +> PythonPackageUploadResponse PackagesUploadPython(ctx, owner, repo).Data(data).Execute() Create a new Python package @@ -2209,7 +2209,7 @@ import ( func main() { owner := "owner_example" // string | repo := "repo_example" // string | - data := *openapiclient.NewPackagesUploadPython("y123456789") // PackagesUploadPython | (optional) + data := *openapiclient.NewPythonPackageUploadRequest("PackageFile_example") // PythonPackageUploadRequest | (optional) configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) @@ -2218,7 +2218,7 @@ func main() { fmt.Fprintf(os.Stderr, "Error when calling `PackagesApi.PackagesUploadPython``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } - // response from `PackagesUploadPython`: PythonPackageUpload + // response from `PackagesUploadPython`: PythonPackageUploadResponse fmt.Fprintf(os.Stdout, "Response from `PackagesApi.PackagesUploadPython`: %v\n", resp) } ``` @@ -2241,11 +2241,11 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **data** | [**PackagesUploadPython**](PackagesUploadPython.md) | | + **data** | [**PythonPackageUploadRequest**](PythonPackageUploadRequest.md) | | ### Return type -[**PythonPackageUpload**](PythonPackageUpload.md) +[**PythonPackageUploadResponse**](PythonPackageUploadResponse.md) ### Authorization @@ -2254,7 +2254,7 @@ Name | Type | Description | Notes ### HTTP request headers - **Content-Type**: application/json -- **Accept**: */* +- **Accept**: application/json [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) @@ -2263,7 +2263,7 @@ Name | Type | Description | Notes ## PackagesUploadRaw -> RawPackageUpload PackagesUploadRaw(ctx, owner, repo).Data(data).Execute() +> RawPackageUploadResponse PackagesUploadRaw(ctx, owner, repo).Data(data).Execute() Create a new Raw package @@ -2284,7 +2284,7 @@ import ( func main() { owner := "owner_example" // string | repo := "repo_example" // string | - data := *openapiclient.NewPackagesUploadRaw("y123456789") // PackagesUploadRaw | (optional) + data := *openapiclient.NewRawPackageUploadRequest("PackageFile_example") // RawPackageUploadRequest | (optional) configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) @@ -2293,7 +2293,7 @@ func main() { fmt.Fprintf(os.Stderr, "Error when calling `PackagesApi.PackagesUploadRaw``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } - // response from `PackagesUploadRaw`: RawPackageUpload + // response from `PackagesUploadRaw`: RawPackageUploadResponse fmt.Fprintf(os.Stdout, "Response from `PackagesApi.PackagesUploadRaw`: %v\n", resp) } ``` @@ -2316,11 +2316,11 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **data** | [**PackagesUploadRaw**](PackagesUploadRaw.md) | | + **data** | [**RawPackageUploadRequest**](RawPackageUploadRequest.md) | | ### Return type -[**RawPackageUpload**](RawPackageUpload.md) +[**RawPackageUploadResponse**](RawPackageUploadResponse.md) ### Authorization @@ -2329,7 +2329,7 @@ Name | Type | Description | Notes ### HTTP request headers - **Content-Type**: application/json -- **Accept**: */* +- **Accept**: application/json [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) @@ -2338,7 +2338,7 @@ Name | Type | Description | Notes ## PackagesUploadRpm -> RpmPackageUpload PackagesUploadRpm(ctx, owner, repo).Data(data).Execute() +> RpmPackageUploadResponse PackagesUploadRpm(ctx, owner, repo).Data(data).Execute() Create a new RedHat package @@ -2359,7 +2359,7 @@ import ( func main() { owner := "owner_example" // string | repo := "repo_example" // string | - data := *openapiclient.NewPackagesUploadRpm("el/7", "y123456789") // PackagesUploadRpm | (optional) + data := *openapiclient.NewRpmPackageUploadRequest("Distribution_example", "PackageFile_example") // RpmPackageUploadRequest | (optional) configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) @@ -2368,7 +2368,7 @@ func main() { fmt.Fprintf(os.Stderr, "Error when calling `PackagesApi.PackagesUploadRpm``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } - // response from `PackagesUploadRpm`: RpmPackageUpload + // response from `PackagesUploadRpm`: RpmPackageUploadResponse fmt.Fprintf(os.Stdout, "Response from `PackagesApi.PackagesUploadRpm`: %v\n", resp) } ``` @@ -2391,11 +2391,11 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **data** | [**PackagesUploadRpm**](PackagesUploadRpm.md) | | + **data** | [**RpmPackageUploadRequest**](RpmPackageUploadRequest.md) | | ### Return type -[**RpmPackageUpload**](RpmPackageUpload.md) +[**RpmPackageUploadResponse**](RpmPackageUploadResponse.md) ### Authorization @@ -2404,7 +2404,7 @@ Name | Type | Description | Notes ### HTTP request headers - **Content-Type**: application/json -- **Accept**: */* +- **Accept**: application/json [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) @@ -2413,7 +2413,7 @@ Name | Type | Description | Notes ## PackagesUploadRuby -> RubyPackageUpload PackagesUploadRuby(ctx, owner, repo).Data(data).Execute() +> RubyPackageUploadResponse PackagesUploadRuby(ctx, owner, repo).Data(data).Execute() Create a new Ruby package @@ -2434,7 +2434,7 @@ import ( func main() { owner := "owner_example" // string | repo := "repo_example" // string | - data := *openapiclient.NewPackagesUploadRuby("y123456789") // PackagesUploadRuby | (optional) + data := *openapiclient.NewRubyPackageUploadRequest("PackageFile_example") // RubyPackageUploadRequest | (optional) configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) @@ -2443,7 +2443,7 @@ func main() { fmt.Fprintf(os.Stderr, "Error when calling `PackagesApi.PackagesUploadRuby``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } - // response from `PackagesUploadRuby`: RubyPackageUpload + // response from `PackagesUploadRuby`: RubyPackageUploadResponse fmt.Fprintf(os.Stdout, "Response from `PackagesApi.PackagesUploadRuby`: %v\n", resp) } ``` @@ -2466,11 +2466,11 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **data** | [**PackagesUploadRuby**](PackagesUploadRuby.md) | | + **data** | [**RubyPackageUploadRequest**](RubyPackageUploadRequest.md) | | ### Return type -[**RubyPackageUpload**](RubyPackageUpload.md) +[**RubyPackageUploadResponse**](RubyPackageUploadResponse.md) ### Authorization @@ -2479,7 +2479,7 @@ Name | Type | Description | Notes ### HTTP request headers - **Content-Type**: application/json -- **Accept**: */* +- **Accept**: application/json [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) @@ -2488,7 +2488,7 @@ Name | Type | Description | Notes ## PackagesUploadTerraform -> TerraformPackageUpload PackagesUploadTerraform(ctx, owner, repo).Data(data).Execute() +> TerraformPackageUploadResponse PackagesUploadTerraform(ctx, owner, repo).Data(data).Execute() Create a new Terraform package @@ -2509,7 +2509,7 @@ import ( func main() { owner := "owner_example" // string | repo := "repo_example" // string | - data := *openapiclient.NewPackagesUploadTerraform("z123456789a") // PackagesUploadTerraform | (optional) + data := *openapiclient.NewTerraformPackageUploadRequest("PackageFile_example") // TerraformPackageUploadRequest | (optional) configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) @@ -2518,7 +2518,7 @@ func main() { fmt.Fprintf(os.Stderr, "Error when calling `PackagesApi.PackagesUploadTerraform``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } - // response from `PackagesUploadTerraform`: TerraformPackageUpload + // response from `PackagesUploadTerraform`: TerraformPackageUploadResponse fmt.Fprintf(os.Stdout, "Response from `PackagesApi.PackagesUploadTerraform`: %v\n", resp) } ``` @@ -2541,11 +2541,11 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **data** | [**PackagesUploadTerraform**](PackagesUploadTerraform.md) | | + **data** | [**TerraformPackageUploadRequest**](TerraformPackageUploadRequest.md) | | ### Return type -[**TerraformPackageUpload**](TerraformPackageUpload.md) +[**TerraformPackageUploadResponse**](TerraformPackageUploadResponse.md) ### Authorization @@ -2554,7 +2554,7 @@ Name | Type | Description | Notes ### HTTP request headers - **Content-Type**: application/json -- **Accept**: */* +- **Accept**: application/json [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) @@ -2563,7 +2563,7 @@ Name | Type | Description | Notes ## PackagesUploadVagrant -> VagrantPackageUpload PackagesUploadVagrant(ctx, owner, repo).Data(data).Execute() +> VagrantPackageUploadResponse PackagesUploadVagrant(ctx, owner, repo).Data(data).Execute() Create a new Vagrant package @@ -2584,7 +2584,7 @@ import ( func main() { owner := "owner_example" // string | repo := "repo_example" // string | - data := *openapiclient.NewPackagesUploadVagrant("tcl", "y123456789x", "virtualbox", "1.0") // PackagesUploadVagrant | (optional) + data := *openapiclient.NewVagrantPackageUploadRequest("Name_example", "PackageFile_example", "Provider_example", "Version_example") // VagrantPackageUploadRequest | (optional) configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) @@ -2593,7 +2593,7 @@ func main() { fmt.Fprintf(os.Stderr, "Error when calling `PackagesApi.PackagesUploadVagrant``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } - // response from `PackagesUploadVagrant`: VagrantPackageUpload + // response from `PackagesUploadVagrant`: VagrantPackageUploadResponse fmt.Fprintf(os.Stdout, "Response from `PackagesApi.PackagesUploadVagrant`: %v\n", resp) } ``` @@ -2616,11 +2616,11 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **data** | [**PackagesUploadVagrant**](PackagesUploadVagrant.md) | | + **data** | [**VagrantPackageUploadRequest**](VagrantPackageUploadRequest.md) | | ### Return type -[**VagrantPackageUpload**](VagrantPackageUpload.md) +[**VagrantPackageUploadResponse**](VagrantPackageUploadResponse.md) ### Authorization @@ -2629,7 +2629,7 @@ Name | Type | Description | Notes ### HTTP request headers - **Content-Type**: application/json -- **Accept**: */* +- **Accept**: application/json [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) @@ -2659,7 +2659,7 @@ import ( func main() { owner := "owner_example" // string | repo := "repo_example" // string | - data := *openapiclient.NewPackagesValidateUploadAlpine("alpine/v3.8", "a123456789") // PackagesValidateUploadAlpine | (optional) + data := *openapiclient.NewAlpinePackageUploadRequest("Distribution_example", "PackageFile_example") // AlpinePackageUploadRequest | (optional) configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) @@ -2689,7 +2689,7 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **data** | [**PackagesValidateUploadAlpine**](PackagesValidateUploadAlpine.md) | | + **data** | [**AlpinePackageUploadRequest**](AlpinePackageUploadRequest.md) | | ### Return type @@ -2702,7 +2702,7 @@ Name | Type | Description | Notes ### HTTP request headers - **Content-Type**: application/json -- **Accept**: */* +- **Accept**: application/json [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) @@ -2732,7 +2732,7 @@ import ( func main() { owner := "owner_example" // string | repo := "repo_example" // string | - data := *openapiclient.NewPackagesValidateUploadCargo("x123456789a") // PackagesValidateUploadCargo | (optional) + data := *openapiclient.NewCargoPackageUploadRequest("PackageFile_example") // CargoPackageUploadRequest | (optional) configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) @@ -2762,7 +2762,7 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **data** | [**PackagesValidateUploadCargo**](PackagesValidateUploadCargo.md) | | + **data** | [**CargoPackageUploadRequest**](CargoPackageUploadRequest.md) | | ### Return type @@ -2775,7 +2775,7 @@ Name | Type | Description | Notes ### HTTP request headers - **Content-Type**: application/json -- **Accept**: */* +- **Accept**: application/json [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) @@ -2805,7 +2805,7 @@ import ( func main() { owner := "owner_example" // string | repo := "repo_example" // string | - data := *openapiclient.NewPackagesValidateUploadCocoapods("z123456789") // PackagesValidateUploadCocoapods | (optional) + data := *openapiclient.NewCocoapodsPackageUploadRequest("PackageFile_example") // CocoapodsPackageUploadRequest | (optional) configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) @@ -2835,7 +2835,7 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **data** | [**PackagesValidateUploadCocoapods**](PackagesValidateUploadCocoapods.md) | | + **data** | [**CocoapodsPackageUploadRequest**](CocoapodsPackageUploadRequest.md) | | ### Return type @@ -2848,7 +2848,7 @@ Name | Type | Description | Notes ### HTTP request headers - **Content-Type**: application/json -- **Accept**: */* +- **Accept**: application/json [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) @@ -2878,7 +2878,7 @@ import ( func main() { owner := "owner_example" // string | repo := "repo_example" // string | - data := *openapiclient.NewPackagesValidateUploadComposer("y123456789") // PackagesValidateUploadComposer | (optional) + data := *openapiclient.NewComposerPackageUploadRequest("PackageFile_example") // ComposerPackageUploadRequest | (optional) configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) @@ -2908,7 +2908,7 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **data** | [**PackagesValidateUploadComposer**](PackagesValidateUploadComposer.md) | | + **data** | [**ComposerPackageUploadRequest**](ComposerPackageUploadRequest.md) | | ### Return type @@ -2921,7 +2921,7 @@ Name | Type | Description | Notes ### HTTP request headers - **Content-Type**: application/json -- **Accept**: */* +- **Accept**: application/json [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) @@ -2951,7 +2951,7 @@ import ( func main() { owner := "owner_example" // string | repo := "repo_example" // string | - data := *openapiclient.NewPackagesValidateUploadConan("y1234456789b", "y1234456789c", "y1234456789a", "x123456789a") // PackagesValidateUploadConan | (optional) + data := *openapiclient.NewConanPackageUploadRequest("InfoFile_example", "ManifestFile_example", "MetadataFile_example", "PackageFile_example") // ConanPackageUploadRequest | (optional) configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) @@ -2981,7 +2981,7 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **data** | [**PackagesValidateUploadConan**](PackagesValidateUploadConan.md) | | + **data** | [**ConanPackageUploadRequest**](ConanPackageUploadRequest.md) | | ### Return type @@ -2994,7 +2994,7 @@ Name | Type | Description | Notes ### HTTP request headers - **Content-Type**: application/json -- **Accept**: */* +- **Accept**: application/json [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) @@ -3024,7 +3024,7 @@ import ( func main() { owner := "owner_example" // string | repo := "repo_example" // string | - data := *openapiclient.NewPackagesValidateUploadConda("x123456789a") // PackagesValidateUploadConda | (optional) + data := *openapiclient.NewCondaPackageUploadRequest("PackageFile_example") // CondaPackageUploadRequest | (optional) configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) @@ -3054,7 +3054,7 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **data** | [**PackagesValidateUploadConda**](PackagesValidateUploadConda.md) | | + **data** | [**CondaPackageUploadRequest**](CondaPackageUploadRequest.md) | | ### Return type @@ -3067,7 +3067,7 @@ Name | Type | Description | Notes ### HTTP request headers - **Content-Type**: application/json -- **Accept**: */* +- **Accept**: application/json [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) @@ -3097,7 +3097,7 @@ import ( func main() { owner := "owner_example" // string | repo := "repo_example" // string | - data := *openapiclient.NewPackagesValidateUploadCran("x123456789a") // PackagesValidateUploadCran | (optional) + data := *openapiclient.NewCranPackageUploadRequest("PackageFile_example") // CranPackageUploadRequest | (optional) configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) @@ -3127,7 +3127,7 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **data** | [**PackagesValidateUploadCran**](PackagesValidateUploadCran.md) | | + **data** | [**CranPackageUploadRequest**](CranPackageUploadRequest.md) | | ### Return type @@ -3140,7 +3140,7 @@ Name | Type | Description | Notes ### HTTP request headers - **Content-Type**: application/json -- **Accept**: */* +- **Accept**: application/json [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) @@ -3170,7 +3170,7 @@ import ( func main() { owner := "owner_example" // string | repo := "repo_example" // string | - data := *openapiclient.NewPackagesValidateUploadDart("x123456789a") // PackagesValidateUploadDart | (optional) + data := *openapiclient.NewDartPackageUploadRequest("PackageFile_example") // DartPackageUploadRequest | (optional) configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) @@ -3200,7 +3200,7 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **data** | [**PackagesValidateUploadDart**](PackagesValidateUploadDart.md) | | + **data** | [**DartPackageUploadRequest**](DartPackageUploadRequest.md) | | ### Return type @@ -3213,7 +3213,7 @@ Name | Type | Description | Notes ### HTTP request headers - **Content-Type**: application/json -- **Accept**: */* +- **Accept**: application/json [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) @@ -3243,7 +3243,7 @@ import ( func main() { owner := "owner_example" // string | repo := "repo_example" // string | - data := *openapiclient.NewPackagesValidateUploadDeb("ubuntu/xenial", "y123456789") // PackagesValidateUploadDeb | (optional) + data := *openapiclient.NewDebPackageUploadRequest("Distribution_example", "PackageFile_example") // DebPackageUploadRequest | (optional) configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) @@ -3273,7 +3273,7 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **data** | [**PackagesValidateUploadDeb**](PackagesValidateUploadDeb.md) | | + **data** | [**DebPackageUploadRequest**](DebPackageUploadRequest.md) | | ### Return type @@ -3286,7 +3286,7 @@ Name | Type | Description | Notes ### HTTP request headers - **Content-Type**: application/json -- **Accept**: */* +- **Accept**: application/json [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) @@ -3316,7 +3316,7 @@ import ( func main() { owner := "owner_example" // string | repo := "repo_example" // string | - data := *openapiclient.NewPackagesValidateUploadDocker("y123456789") // PackagesValidateUploadDocker | (optional) + data := *openapiclient.NewDockerPackageUploadRequest("PackageFile_example") // DockerPackageUploadRequest | (optional) configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) @@ -3346,7 +3346,7 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **data** | [**PackagesValidateUploadDocker**](PackagesValidateUploadDocker.md) | | + **data** | [**DockerPackageUploadRequest**](DockerPackageUploadRequest.md) | | ### Return type @@ -3359,7 +3359,7 @@ Name | Type | Description | Notes ### HTTP request headers - **Content-Type**: application/json -- **Accept**: */* +- **Accept**: application/json [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) @@ -3389,7 +3389,7 @@ import ( func main() { owner := "owner_example" // string | repo := "repo_example" // string | - data := *openapiclient.NewPackagesValidateUploadGo("x123456789a") // PackagesValidateUploadGo | (optional) + data := *openapiclient.NewGoPackageUploadRequest("PackageFile_example") // GoPackageUploadRequest | (optional) configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) @@ -3419,7 +3419,7 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **data** | [**PackagesValidateUploadGo**](PackagesValidateUploadGo.md) | | + **data** | [**GoPackageUploadRequest**](GoPackageUploadRequest.md) | | ### Return type @@ -3432,7 +3432,7 @@ Name | Type | Description | Notes ### HTTP request headers - **Content-Type**: application/json -- **Accept**: */* +- **Accept**: application/json [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) @@ -3462,7 +3462,7 @@ import ( func main() { owner := "owner_example" // string | repo := "repo_example" // string | - data := *openapiclient.NewPackagesValidateUploadHelm("x123456789a") // PackagesValidateUploadHelm | (optional) + data := *openapiclient.NewHelmPackageUploadRequest("PackageFile_example") // HelmPackageUploadRequest | (optional) configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) @@ -3492,7 +3492,7 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **data** | [**PackagesValidateUploadHelm**](PackagesValidateUploadHelm.md) | | + **data** | [**HelmPackageUploadRequest**](HelmPackageUploadRequest.md) | | ### Return type @@ -3505,7 +3505,7 @@ Name | Type | Description | Notes ### HTTP request headers - **Content-Type**: application/json -- **Accept**: */* +- **Accept**: application/json [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) @@ -3535,7 +3535,7 @@ import ( func main() { owner := "owner_example" // string | repo := "repo_example" // string | - data := *openapiclient.NewPackagesValidateUploadLuarocks("x123456789a") // PackagesValidateUploadLuarocks | (optional) + data := *openapiclient.NewLuarocksPackageUploadRequest("PackageFile_example") // LuarocksPackageUploadRequest | (optional) configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) @@ -3565,7 +3565,7 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **data** | [**PackagesValidateUploadLuarocks**](PackagesValidateUploadLuarocks.md) | | + **data** | [**LuarocksPackageUploadRequest**](LuarocksPackageUploadRequest.md) | | ### Return type @@ -3578,7 +3578,7 @@ Name | Type | Description | Notes ### HTTP request headers - **Content-Type**: application/json -- **Accept**: */* +- **Accept**: application/json [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) @@ -3608,7 +3608,7 @@ import ( func main() { owner := "owner_example" // string | repo := "repo_example" // string | - data := *openapiclient.NewPackagesValidateUploadMaven("y1234456789a") // PackagesValidateUploadMaven | (optional) + data := *openapiclient.NewMavenPackageUploadRequest("PackageFile_example") // MavenPackageUploadRequest | (optional) configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) @@ -3638,7 +3638,7 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **data** | [**PackagesValidateUploadMaven**](PackagesValidateUploadMaven.md) | | + **data** | [**MavenPackageUploadRequest**](MavenPackageUploadRequest.md) | | ### Return type @@ -3651,7 +3651,7 @@ Name | Type | Description | Notes ### HTTP request headers - **Content-Type**: application/json -- **Accept**: */* +- **Accept**: application/json [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) @@ -3681,7 +3681,7 @@ import ( func main() { owner := "owner_example" // string | repo := "repo_example" // string | - data := *openapiclient.NewPackagesValidateUploadNpm("y123456789") // PackagesValidateUploadNpm | (optional) + data := *openapiclient.NewNpmPackageUploadRequest("PackageFile_example") // NpmPackageUploadRequest | (optional) configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) @@ -3711,7 +3711,7 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **data** | [**PackagesValidateUploadNpm**](PackagesValidateUploadNpm.md) | | + **data** | [**NpmPackageUploadRequest**](NpmPackageUploadRequest.md) | | ### Return type @@ -3724,7 +3724,7 @@ Name | Type | Description | Notes ### HTTP request headers - **Content-Type**: application/json -- **Accept**: */* +- **Accept**: application/json [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) @@ -3754,7 +3754,7 @@ import ( func main() { owner := "owner_example" // string | repo := "repo_example" // string | - data := *openapiclient.NewPackagesValidateUploadNuget("y1234456789a") // PackagesValidateUploadNuget | (optional) + data := *openapiclient.NewNugetPackageUploadRequest("PackageFile_example") // NugetPackageUploadRequest | (optional) configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) @@ -3784,7 +3784,7 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **data** | [**PackagesValidateUploadNuget**](PackagesValidateUploadNuget.md) | | + **data** | [**NugetPackageUploadRequest**](NugetPackageUploadRequest.md) | | ### Return type @@ -3797,7 +3797,7 @@ Name | Type | Description | Notes ### HTTP request headers - **Content-Type**: application/json -- **Accept**: */* +- **Accept**: application/json [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) @@ -3827,7 +3827,7 @@ import ( func main() { owner := "owner_example" // string | repo := "repo_example" // string | - data := *openapiclient.NewPackagesValidateUploadP2("PackageFile_example") // PackagesValidateUploadP2 | (optional) + data := *openapiclient.NewP2PackageUploadRequest("PackageFile_example") // P2PackageUploadRequest | (optional) configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) @@ -3857,7 +3857,7 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **data** | [**PackagesValidateUploadP2**](PackagesValidateUploadP2.md) | | + **data** | [**P2PackageUploadRequest**](P2PackageUploadRequest.md) | | ### Return type @@ -3870,7 +3870,7 @@ Name | Type | Description | Notes ### HTTP request headers - **Content-Type**: application/json -- **Accept**: */* +- **Accept**: application/json [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) @@ -3900,7 +3900,7 @@ import ( func main() { owner := "owner_example" // string | repo := "repo_example" // string | - data := *openapiclient.NewPackagesValidateUploadPython("y123456789") // PackagesValidateUploadPython | (optional) + data := *openapiclient.NewPythonPackageUploadRequest("PackageFile_example") // PythonPackageUploadRequest | (optional) configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) @@ -3930,7 +3930,7 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **data** | [**PackagesValidateUploadPython**](PackagesValidateUploadPython.md) | | + **data** | [**PythonPackageUploadRequest**](PythonPackageUploadRequest.md) | | ### Return type @@ -3943,7 +3943,7 @@ Name | Type | Description | Notes ### HTTP request headers - **Content-Type**: application/json -- **Accept**: */* +- **Accept**: application/json [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) @@ -3973,7 +3973,7 @@ import ( func main() { owner := "owner_example" // string | repo := "repo_example" // string | - data := *openapiclient.NewPackagesValidateUploadRaw("y123456789") // PackagesValidateUploadRaw | (optional) + data := *openapiclient.NewRawPackageUploadRequest("PackageFile_example") // RawPackageUploadRequest | (optional) configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) @@ -4003,7 +4003,7 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **data** | [**PackagesValidateUploadRaw**](PackagesValidateUploadRaw.md) | | + **data** | [**RawPackageUploadRequest**](RawPackageUploadRequest.md) | | ### Return type @@ -4016,7 +4016,7 @@ Name | Type | Description | Notes ### HTTP request headers - **Content-Type**: application/json -- **Accept**: */* +- **Accept**: application/json [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) @@ -4046,7 +4046,7 @@ import ( func main() { owner := "owner_example" // string | repo := "repo_example" // string | - data := *openapiclient.NewPackagesValidateUploadRpm("el/7", "y123456789") // PackagesValidateUploadRpm | (optional) + data := *openapiclient.NewRpmPackageUploadRequest("Distribution_example", "PackageFile_example") // RpmPackageUploadRequest | (optional) configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) @@ -4076,7 +4076,7 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **data** | [**PackagesValidateUploadRpm**](PackagesValidateUploadRpm.md) | | + **data** | [**RpmPackageUploadRequest**](RpmPackageUploadRequest.md) | | ### Return type @@ -4089,7 +4089,7 @@ Name | Type | Description | Notes ### HTTP request headers - **Content-Type**: application/json -- **Accept**: */* +- **Accept**: application/json [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) @@ -4119,7 +4119,7 @@ import ( func main() { owner := "owner_example" // string | repo := "repo_example" // string | - data := *openapiclient.NewPackagesValidateUploadRuby("y123456789") // PackagesValidateUploadRuby | (optional) + data := *openapiclient.NewRubyPackageUploadRequest("PackageFile_example") // RubyPackageUploadRequest | (optional) configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) @@ -4149,7 +4149,7 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **data** | [**PackagesValidateUploadRuby**](PackagesValidateUploadRuby.md) | | + **data** | [**RubyPackageUploadRequest**](RubyPackageUploadRequest.md) | | ### Return type @@ -4162,7 +4162,7 @@ Name | Type | Description | Notes ### HTTP request headers - **Content-Type**: application/json -- **Accept**: */* +- **Accept**: application/json [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) @@ -4192,7 +4192,7 @@ import ( func main() { owner := "owner_example" // string | repo := "repo_example" // string | - data := *openapiclient.NewPackagesValidateUploadTerraform("z123456789a") // PackagesValidateUploadTerraform | (optional) + data := *openapiclient.NewTerraformPackageUploadRequest("PackageFile_example") // TerraformPackageUploadRequest | (optional) configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) @@ -4222,7 +4222,7 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **data** | [**PackagesValidateUploadTerraform**](PackagesValidateUploadTerraform.md) | | + **data** | [**TerraformPackageUploadRequest**](TerraformPackageUploadRequest.md) | | ### Return type @@ -4235,7 +4235,7 @@ Name | Type | Description | Notes ### HTTP request headers - **Content-Type**: application/json -- **Accept**: */* +- **Accept**: application/json [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) @@ -4265,7 +4265,7 @@ import ( func main() { owner := "owner_example" // string | repo := "repo_example" // string | - data := *openapiclient.NewPackagesValidateUploadVagrant("tcl", "y123456789x", "virtualbox", "1.0") // PackagesValidateUploadVagrant | (optional) + data := *openapiclient.NewVagrantPackageUploadRequest("Name_example", "PackageFile_example", "Provider_example", "Version_example") // VagrantPackageUploadRequest | (optional) configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) @@ -4295,7 +4295,7 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **data** | [**PackagesValidateUploadVagrant**](PackagesValidateUploadVagrant.md) | | + **data** | [**VagrantPackageUploadRequest**](VagrantPackageUploadRequest.md) | | ### Return type @@ -4308,7 +4308,7 @@ Name | Type | Description | Notes ### HTTP request headers - **Content-Type**: application/json -- **Accept**: */* +- **Accept**: application/json [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) diff --git a/docs/PackagesUploadAlpine.md b/docs/PackagesUploadAlpine.md deleted file mode 100644 index beedf2a1..00000000 --- a/docs/PackagesUploadAlpine.md +++ /dev/null @@ -1,124 +0,0 @@ -# PackagesUploadAlpine - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**Distribution** | **string** | The distribution to store the package for. | -**PackageFile** | **string** | The primary file for the package. | -**Republish** | Pointer to **bool** | If true, the uploaded package will overwrite any others with the same attributes (e.g. same version); otherwise, it will be flagged as a duplicate. | [optional] -**Tags** | Pointer to **string** | A comma-separated values list of tags to add to the package. | [optional] - -## Methods - -### NewPackagesUploadAlpine - -`func NewPackagesUploadAlpine(distribution string, packageFile string, ) *PackagesUploadAlpine` - -NewPackagesUploadAlpine instantiates a new PackagesUploadAlpine object -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 - -### NewPackagesUploadAlpineWithDefaults - -`func NewPackagesUploadAlpineWithDefaults() *PackagesUploadAlpine` - -NewPackagesUploadAlpineWithDefaults instantiates a new PackagesUploadAlpine object -This constructor will only assign default values to properties that have it defined, -but it doesn't guarantee that properties required by API are set - -### GetDistribution - -`func (o *PackagesUploadAlpine) GetDistribution() string` - -GetDistribution returns the Distribution field if non-nil, zero value otherwise. - -### GetDistributionOk - -`func (o *PackagesUploadAlpine) GetDistributionOk() (*string, bool)` - -GetDistributionOk returns a tuple with the Distribution field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetDistribution - -`func (o *PackagesUploadAlpine) SetDistribution(v string)` - -SetDistribution sets Distribution field to given value. - - -### GetPackageFile - -`func (o *PackagesUploadAlpine) GetPackageFile() string` - -GetPackageFile returns the PackageFile field if non-nil, zero value otherwise. - -### GetPackageFileOk - -`func (o *PackagesUploadAlpine) GetPackageFileOk() (*string, bool)` - -GetPackageFileOk returns a tuple with the PackageFile field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetPackageFile - -`func (o *PackagesUploadAlpine) SetPackageFile(v string)` - -SetPackageFile sets PackageFile field to given value. - - -### GetRepublish - -`func (o *PackagesUploadAlpine) GetRepublish() bool` - -GetRepublish returns the Republish field if non-nil, zero value otherwise. - -### GetRepublishOk - -`func (o *PackagesUploadAlpine) GetRepublishOk() (*bool, bool)` - -GetRepublishOk returns a tuple with the Republish field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetRepublish - -`func (o *PackagesUploadAlpine) SetRepublish(v bool)` - -SetRepublish sets Republish field to given value. - -### HasRepublish - -`func (o *PackagesUploadAlpine) HasRepublish() bool` - -HasRepublish returns a boolean if a field has been set. - -### GetTags - -`func (o *PackagesUploadAlpine) GetTags() string` - -GetTags returns the Tags field if non-nil, zero value otherwise. - -### GetTagsOk - -`func (o *PackagesUploadAlpine) GetTagsOk() (*string, bool)` - -GetTagsOk returns a tuple with the Tags field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetTags - -`func (o *PackagesUploadAlpine) SetTags(v string)` - -SetTags sets Tags field to given value. - -### HasTags - -`func (o *PackagesUploadAlpine) HasTags() bool` - -HasTags 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/docs/PackagesUploadCargo.md b/docs/PackagesUploadCargo.md deleted file mode 100644 index 1d6cb683..00000000 --- a/docs/PackagesUploadCargo.md +++ /dev/null @@ -1,103 +0,0 @@ -# PackagesUploadCargo - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**PackageFile** | **string** | The primary file for the package. | -**Republish** | Pointer to **bool** | If true, the uploaded package will overwrite any others with the same attributes (e.g. same version); otherwise, it will be flagged as a duplicate. | [optional] -**Tags** | Pointer to **string** | A comma-separated values list of tags to add to the package. | [optional] - -## Methods - -### NewPackagesUploadCargo - -`func NewPackagesUploadCargo(packageFile string, ) *PackagesUploadCargo` - -NewPackagesUploadCargo instantiates a new PackagesUploadCargo object -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 - -### NewPackagesUploadCargoWithDefaults - -`func NewPackagesUploadCargoWithDefaults() *PackagesUploadCargo` - -NewPackagesUploadCargoWithDefaults instantiates a new PackagesUploadCargo object -This constructor will only assign default values to properties that have it defined, -but it doesn't guarantee that properties required by API are set - -### GetPackageFile - -`func (o *PackagesUploadCargo) GetPackageFile() string` - -GetPackageFile returns the PackageFile field if non-nil, zero value otherwise. - -### GetPackageFileOk - -`func (o *PackagesUploadCargo) GetPackageFileOk() (*string, bool)` - -GetPackageFileOk returns a tuple with the PackageFile field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetPackageFile - -`func (o *PackagesUploadCargo) SetPackageFile(v string)` - -SetPackageFile sets PackageFile field to given value. - - -### GetRepublish - -`func (o *PackagesUploadCargo) GetRepublish() bool` - -GetRepublish returns the Republish field if non-nil, zero value otherwise. - -### GetRepublishOk - -`func (o *PackagesUploadCargo) GetRepublishOk() (*bool, bool)` - -GetRepublishOk returns a tuple with the Republish field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetRepublish - -`func (o *PackagesUploadCargo) SetRepublish(v bool)` - -SetRepublish sets Republish field to given value. - -### HasRepublish - -`func (o *PackagesUploadCargo) HasRepublish() bool` - -HasRepublish returns a boolean if a field has been set. - -### GetTags - -`func (o *PackagesUploadCargo) GetTags() string` - -GetTags returns the Tags field if non-nil, zero value otherwise. - -### GetTagsOk - -`func (o *PackagesUploadCargo) GetTagsOk() (*string, bool)` - -GetTagsOk returns a tuple with the Tags field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetTags - -`func (o *PackagesUploadCargo) SetTags(v string)` - -SetTags sets Tags field to given value. - -### HasTags - -`func (o *PackagesUploadCargo) HasTags() bool` - -HasTags 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/docs/PackagesUploadCocoapods.md b/docs/PackagesUploadCocoapods.md deleted file mode 100644 index 77cb1b01..00000000 --- a/docs/PackagesUploadCocoapods.md +++ /dev/null @@ -1,103 +0,0 @@ -# PackagesUploadCocoapods - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**PackageFile** | **string** | The primary file for the package. | -**Republish** | Pointer to **bool** | If true, the uploaded package will overwrite any others with the same attributes (e.g. same version); otherwise, it will be flagged as a duplicate. | [optional] -**Tags** | Pointer to **string** | A comma-separated values list of tags to add to the package. | [optional] - -## Methods - -### NewPackagesUploadCocoapods - -`func NewPackagesUploadCocoapods(packageFile string, ) *PackagesUploadCocoapods` - -NewPackagesUploadCocoapods instantiates a new PackagesUploadCocoapods object -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 - -### NewPackagesUploadCocoapodsWithDefaults - -`func NewPackagesUploadCocoapodsWithDefaults() *PackagesUploadCocoapods` - -NewPackagesUploadCocoapodsWithDefaults instantiates a new PackagesUploadCocoapods object -This constructor will only assign default values to properties that have it defined, -but it doesn't guarantee that properties required by API are set - -### GetPackageFile - -`func (o *PackagesUploadCocoapods) GetPackageFile() string` - -GetPackageFile returns the PackageFile field if non-nil, zero value otherwise. - -### GetPackageFileOk - -`func (o *PackagesUploadCocoapods) GetPackageFileOk() (*string, bool)` - -GetPackageFileOk returns a tuple with the PackageFile field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetPackageFile - -`func (o *PackagesUploadCocoapods) SetPackageFile(v string)` - -SetPackageFile sets PackageFile field to given value. - - -### GetRepublish - -`func (o *PackagesUploadCocoapods) GetRepublish() bool` - -GetRepublish returns the Republish field if non-nil, zero value otherwise. - -### GetRepublishOk - -`func (o *PackagesUploadCocoapods) GetRepublishOk() (*bool, bool)` - -GetRepublishOk returns a tuple with the Republish field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetRepublish - -`func (o *PackagesUploadCocoapods) SetRepublish(v bool)` - -SetRepublish sets Republish field to given value. - -### HasRepublish - -`func (o *PackagesUploadCocoapods) HasRepublish() bool` - -HasRepublish returns a boolean if a field has been set. - -### GetTags - -`func (o *PackagesUploadCocoapods) GetTags() string` - -GetTags returns the Tags field if non-nil, zero value otherwise. - -### GetTagsOk - -`func (o *PackagesUploadCocoapods) GetTagsOk() (*string, bool)` - -GetTagsOk returns a tuple with the Tags field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetTags - -`func (o *PackagesUploadCocoapods) SetTags(v string)` - -SetTags sets Tags field to given value. - -### HasTags - -`func (o *PackagesUploadCocoapods) HasTags() bool` - -HasTags 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/docs/PackagesUploadConan.md b/docs/PackagesUploadConan.md deleted file mode 100644 index b3c4c7b5..00000000 --- a/docs/PackagesUploadConan.md +++ /dev/null @@ -1,270 +0,0 @@ -# PackagesUploadConan - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**ConanChannel** | Pointer to **string** | Conan channel. | [optional] -**ConanPrefix** | Pointer to **string** | Conan prefix (User). | [optional] -**InfoFile** | **string** | The info file is an python file containing the package metadata. | -**ManifestFile** | **string** | The info file is an python file containing the package metadata. | -**MetadataFile** | **string** | The conan file is an python file containing the package metadata. | -**Name** | Pointer to **string** | The name of this package. | [optional] -**PackageFile** | **string** | The primary file for the package. | -**Republish** | Pointer to **bool** | If true, the uploaded package will overwrite any others with the same attributes (e.g. same version); otherwise, it will be flagged as a duplicate. | [optional] -**Tags** | Pointer to **string** | A comma-separated values list of tags to add to the package. | [optional] -**Version** | Pointer to **string** | The raw version for this package. | [optional] - -## Methods - -### NewPackagesUploadConan - -`func NewPackagesUploadConan(infoFile string, manifestFile string, metadataFile string, packageFile string, ) *PackagesUploadConan` - -NewPackagesUploadConan instantiates a new PackagesUploadConan object -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 - -### NewPackagesUploadConanWithDefaults - -`func NewPackagesUploadConanWithDefaults() *PackagesUploadConan` - -NewPackagesUploadConanWithDefaults instantiates a new PackagesUploadConan object -This constructor will only assign default values to properties that have it defined, -but it doesn't guarantee that properties required by API are set - -### GetConanChannel - -`func (o *PackagesUploadConan) GetConanChannel() string` - -GetConanChannel returns the ConanChannel field if non-nil, zero value otherwise. - -### GetConanChannelOk - -`func (o *PackagesUploadConan) GetConanChannelOk() (*string, bool)` - -GetConanChannelOk returns a tuple with the ConanChannel field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetConanChannel - -`func (o *PackagesUploadConan) SetConanChannel(v string)` - -SetConanChannel sets ConanChannel field to given value. - -### HasConanChannel - -`func (o *PackagesUploadConan) HasConanChannel() bool` - -HasConanChannel returns a boolean if a field has been set. - -### GetConanPrefix - -`func (o *PackagesUploadConan) GetConanPrefix() string` - -GetConanPrefix returns the ConanPrefix field if non-nil, zero value otherwise. - -### GetConanPrefixOk - -`func (o *PackagesUploadConan) GetConanPrefixOk() (*string, bool)` - -GetConanPrefixOk returns a tuple with the ConanPrefix field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetConanPrefix - -`func (o *PackagesUploadConan) SetConanPrefix(v string)` - -SetConanPrefix sets ConanPrefix field to given value. - -### HasConanPrefix - -`func (o *PackagesUploadConan) HasConanPrefix() bool` - -HasConanPrefix returns a boolean if a field has been set. - -### GetInfoFile - -`func (o *PackagesUploadConan) GetInfoFile() string` - -GetInfoFile returns the InfoFile field if non-nil, zero value otherwise. - -### GetInfoFileOk - -`func (o *PackagesUploadConan) GetInfoFileOk() (*string, bool)` - -GetInfoFileOk returns a tuple with the InfoFile field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetInfoFile - -`func (o *PackagesUploadConan) SetInfoFile(v string)` - -SetInfoFile sets InfoFile field to given value. - - -### GetManifestFile - -`func (o *PackagesUploadConan) GetManifestFile() string` - -GetManifestFile returns the ManifestFile field if non-nil, zero value otherwise. - -### GetManifestFileOk - -`func (o *PackagesUploadConan) GetManifestFileOk() (*string, bool)` - -GetManifestFileOk returns a tuple with the ManifestFile field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetManifestFile - -`func (o *PackagesUploadConan) SetManifestFile(v string)` - -SetManifestFile sets ManifestFile field to given value. - - -### GetMetadataFile - -`func (o *PackagesUploadConan) GetMetadataFile() string` - -GetMetadataFile returns the MetadataFile field if non-nil, zero value otherwise. - -### GetMetadataFileOk - -`func (o *PackagesUploadConan) GetMetadataFileOk() (*string, bool)` - -GetMetadataFileOk returns a tuple with the MetadataFile field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetMetadataFile - -`func (o *PackagesUploadConan) SetMetadataFile(v string)` - -SetMetadataFile sets MetadataFile field to given value. - - -### GetName - -`func (o *PackagesUploadConan) GetName() string` - -GetName returns the Name field if non-nil, zero value otherwise. - -### GetNameOk - -`func (o *PackagesUploadConan) GetNameOk() (*string, bool)` - -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. - -### SetName - -`func (o *PackagesUploadConan) SetName(v string)` - -SetName sets Name field to given value. - -### HasName - -`func (o *PackagesUploadConan) HasName() bool` - -HasName returns a boolean if a field has been set. - -### GetPackageFile - -`func (o *PackagesUploadConan) GetPackageFile() string` - -GetPackageFile returns the PackageFile field if non-nil, zero value otherwise. - -### GetPackageFileOk - -`func (o *PackagesUploadConan) GetPackageFileOk() (*string, bool)` - -GetPackageFileOk returns a tuple with the PackageFile field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetPackageFile - -`func (o *PackagesUploadConan) SetPackageFile(v string)` - -SetPackageFile sets PackageFile field to given value. - - -### GetRepublish - -`func (o *PackagesUploadConan) GetRepublish() bool` - -GetRepublish returns the Republish field if non-nil, zero value otherwise. - -### GetRepublishOk - -`func (o *PackagesUploadConan) GetRepublishOk() (*bool, bool)` - -GetRepublishOk returns a tuple with the Republish field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetRepublish - -`func (o *PackagesUploadConan) SetRepublish(v bool)` - -SetRepublish sets Republish field to given value. - -### HasRepublish - -`func (o *PackagesUploadConan) HasRepublish() bool` - -HasRepublish returns a boolean if a field has been set. - -### GetTags - -`func (o *PackagesUploadConan) GetTags() string` - -GetTags returns the Tags field if non-nil, zero value otherwise. - -### GetTagsOk - -`func (o *PackagesUploadConan) GetTagsOk() (*string, bool)` - -GetTagsOk returns a tuple with the Tags field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetTags - -`func (o *PackagesUploadConan) SetTags(v string)` - -SetTags sets Tags field to given value. - -### HasTags - -`func (o *PackagesUploadConan) HasTags() bool` - -HasTags returns a boolean if a field has been set. - -### GetVersion - -`func (o *PackagesUploadConan) GetVersion() string` - -GetVersion returns the Version field if non-nil, zero value otherwise. - -### GetVersionOk - -`func (o *PackagesUploadConan) GetVersionOk() (*string, bool)` - -GetVersionOk returns a tuple with the Version field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetVersion - -`func (o *PackagesUploadConan) SetVersion(v string)` - -SetVersion sets Version field to given value. - -### HasVersion - -`func (o *PackagesUploadConan) HasVersion() bool` - -HasVersion 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/docs/PackagesUploadConda.md b/docs/PackagesUploadConda.md deleted file mode 100644 index 7f024f0f..00000000 --- a/docs/PackagesUploadConda.md +++ /dev/null @@ -1,103 +0,0 @@ -# PackagesUploadConda - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**PackageFile** | **string** | The primary file for the package. | -**Republish** | Pointer to **bool** | If true, the uploaded package will overwrite any others with the same attributes (e.g. same version); otherwise, it will be flagged as a duplicate. | [optional] -**Tags** | Pointer to **string** | A comma-separated values list of tags to add to the package. | [optional] - -## Methods - -### NewPackagesUploadConda - -`func NewPackagesUploadConda(packageFile string, ) *PackagesUploadConda` - -NewPackagesUploadConda instantiates a new PackagesUploadConda object -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 - -### NewPackagesUploadCondaWithDefaults - -`func NewPackagesUploadCondaWithDefaults() *PackagesUploadConda` - -NewPackagesUploadCondaWithDefaults instantiates a new PackagesUploadConda object -This constructor will only assign default values to properties that have it defined, -but it doesn't guarantee that properties required by API are set - -### GetPackageFile - -`func (o *PackagesUploadConda) GetPackageFile() string` - -GetPackageFile returns the PackageFile field if non-nil, zero value otherwise. - -### GetPackageFileOk - -`func (o *PackagesUploadConda) GetPackageFileOk() (*string, bool)` - -GetPackageFileOk returns a tuple with the PackageFile field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetPackageFile - -`func (o *PackagesUploadConda) SetPackageFile(v string)` - -SetPackageFile sets PackageFile field to given value. - - -### GetRepublish - -`func (o *PackagesUploadConda) GetRepublish() bool` - -GetRepublish returns the Republish field if non-nil, zero value otherwise. - -### GetRepublishOk - -`func (o *PackagesUploadConda) GetRepublishOk() (*bool, bool)` - -GetRepublishOk returns a tuple with the Republish field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetRepublish - -`func (o *PackagesUploadConda) SetRepublish(v bool)` - -SetRepublish sets Republish field to given value. - -### HasRepublish - -`func (o *PackagesUploadConda) HasRepublish() bool` - -HasRepublish returns a boolean if a field has been set. - -### GetTags - -`func (o *PackagesUploadConda) GetTags() string` - -GetTags returns the Tags field if non-nil, zero value otherwise. - -### GetTagsOk - -`func (o *PackagesUploadConda) GetTagsOk() (*string, bool)` - -GetTagsOk returns a tuple with the Tags field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetTags - -`func (o *PackagesUploadConda) SetTags(v string)` - -SetTags sets Tags field to given value. - -### HasTags - -`func (o *PackagesUploadConda) HasTags() bool` - -HasTags 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/docs/PackagesUploadDart.md b/docs/PackagesUploadDart.md deleted file mode 100644 index d6d313c3..00000000 --- a/docs/PackagesUploadDart.md +++ /dev/null @@ -1,103 +0,0 @@ -# PackagesUploadDart - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**PackageFile** | **string** | The primary file for the package. | -**Republish** | Pointer to **bool** | If true, the uploaded package will overwrite any others with the same attributes (e.g. same version); otherwise, it will be flagged as a duplicate. | [optional] -**Tags** | Pointer to **string** | A comma-separated values list of tags to add to the package. | [optional] - -## Methods - -### NewPackagesUploadDart - -`func NewPackagesUploadDart(packageFile string, ) *PackagesUploadDart` - -NewPackagesUploadDart instantiates a new PackagesUploadDart object -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 - -### NewPackagesUploadDartWithDefaults - -`func NewPackagesUploadDartWithDefaults() *PackagesUploadDart` - -NewPackagesUploadDartWithDefaults instantiates a new PackagesUploadDart object -This constructor will only assign default values to properties that have it defined, -but it doesn't guarantee that properties required by API are set - -### GetPackageFile - -`func (o *PackagesUploadDart) GetPackageFile() string` - -GetPackageFile returns the PackageFile field if non-nil, zero value otherwise. - -### GetPackageFileOk - -`func (o *PackagesUploadDart) GetPackageFileOk() (*string, bool)` - -GetPackageFileOk returns a tuple with the PackageFile field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetPackageFile - -`func (o *PackagesUploadDart) SetPackageFile(v string)` - -SetPackageFile sets PackageFile field to given value. - - -### GetRepublish - -`func (o *PackagesUploadDart) GetRepublish() bool` - -GetRepublish returns the Republish field if non-nil, zero value otherwise. - -### GetRepublishOk - -`func (o *PackagesUploadDart) GetRepublishOk() (*bool, bool)` - -GetRepublishOk returns a tuple with the Republish field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetRepublish - -`func (o *PackagesUploadDart) SetRepublish(v bool)` - -SetRepublish sets Republish field to given value. - -### HasRepublish - -`func (o *PackagesUploadDart) HasRepublish() bool` - -HasRepublish returns a boolean if a field has been set. - -### GetTags - -`func (o *PackagesUploadDart) GetTags() string` - -GetTags returns the Tags field if non-nil, zero value otherwise. - -### GetTagsOk - -`func (o *PackagesUploadDart) GetTagsOk() (*string, bool)` - -GetTagsOk returns a tuple with the Tags field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetTags - -`func (o *PackagesUploadDart) SetTags(v string)` - -SetTags sets Tags field to given value. - -### HasTags - -`func (o *PackagesUploadDart) HasTags() bool` - -HasTags 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/docs/PackagesUploadDocker.md b/docs/PackagesUploadDocker.md deleted file mode 100644 index 27099aa5..00000000 --- a/docs/PackagesUploadDocker.md +++ /dev/null @@ -1,103 +0,0 @@ -# PackagesUploadDocker - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**PackageFile** | **string** | The primary file for the package. | -**Republish** | Pointer to **bool** | If true, the uploaded package will overwrite any others with the same attributes (e.g. same version); otherwise, it will be flagged as a duplicate. | [optional] -**Tags** | Pointer to **string** | A comma-separated values list of tags to add to the package. | [optional] - -## Methods - -### NewPackagesUploadDocker - -`func NewPackagesUploadDocker(packageFile string, ) *PackagesUploadDocker` - -NewPackagesUploadDocker instantiates a new PackagesUploadDocker object -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 - -### NewPackagesUploadDockerWithDefaults - -`func NewPackagesUploadDockerWithDefaults() *PackagesUploadDocker` - -NewPackagesUploadDockerWithDefaults instantiates a new PackagesUploadDocker object -This constructor will only assign default values to properties that have it defined, -but it doesn't guarantee that properties required by API are set - -### GetPackageFile - -`func (o *PackagesUploadDocker) GetPackageFile() string` - -GetPackageFile returns the PackageFile field if non-nil, zero value otherwise. - -### GetPackageFileOk - -`func (o *PackagesUploadDocker) GetPackageFileOk() (*string, bool)` - -GetPackageFileOk returns a tuple with the PackageFile field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetPackageFile - -`func (o *PackagesUploadDocker) SetPackageFile(v string)` - -SetPackageFile sets PackageFile field to given value. - - -### GetRepublish - -`func (o *PackagesUploadDocker) GetRepublish() bool` - -GetRepublish returns the Republish field if non-nil, zero value otherwise. - -### GetRepublishOk - -`func (o *PackagesUploadDocker) GetRepublishOk() (*bool, bool)` - -GetRepublishOk returns a tuple with the Republish field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetRepublish - -`func (o *PackagesUploadDocker) SetRepublish(v bool)` - -SetRepublish sets Republish field to given value. - -### HasRepublish - -`func (o *PackagesUploadDocker) HasRepublish() bool` - -HasRepublish returns a boolean if a field has been set. - -### GetTags - -`func (o *PackagesUploadDocker) GetTags() string` - -GetTags returns the Tags field if non-nil, zero value otherwise. - -### GetTagsOk - -`func (o *PackagesUploadDocker) GetTagsOk() (*string, bool)` - -GetTagsOk returns a tuple with the Tags field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetTags - -`func (o *PackagesUploadDocker) SetTags(v string)` - -SetTags sets Tags field to given value. - -### HasTags - -`func (o *PackagesUploadDocker) HasTags() bool` - -HasTags 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/docs/PackagesUploadGo.md b/docs/PackagesUploadGo.md deleted file mode 100644 index d5ac4ab5..00000000 --- a/docs/PackagesUploadGo.md +++ /dev/null @@ -1,103 +0,0 @@ -# PackagesUploadGo - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**PackageFile** | **string** | The primary file for the package. | -**Republish** | Pointer to **bool** | If true, the uploaded package will overwrite any others with the same attributes (e.g. same version); otherwise, it will be flagged as a duplicate. | [optional] -**Tags** | Pointer to **string** | A comma-separated values list of tags to add to the package. | [optional] - -## Methods - -### NewPackagesUploadGo - -`func NewPackagesUploadGo(packageFile string, ) *PackagesUploadGo` - -NewPackagesUploadGo instantiates a new PackagesUploadGo object -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 - -### NewPackagesUploadGoWithDefaults - -`func NewPackagesUploadGoWithDefaults() *PackagesUploadGo` - -NewPackagesUploadGoWithDefaults instantiates a new PackagesUploadGo object -This constructor will only assign default values to properties that have it defined, -but it doesn't guarantee that properties required by API are set - -### GetPackageFile - -`func (o *PackagesUploadGo) GetPackageFile() string` - -GetPackageFile returns the PackageFile field if non-nil, zero value otherwise. - -### GetPackageFileOk - -`func (o *PackagesUploadGo) GetPackageFileOk() (*string, bool)` - -GetPackageFileOk returns a tuple with the PackageFile field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetPackageFile - -`func (o *PackagesUploadGo) SetPackageFile(v string)` - -SetPackageFile sets PackageFile field to given value. - - -### GetRepublish - -`func (o *PackagesUploadGo) GetRepublish() bool` - -GetRepublish returns the Republish field if non-nil, zero value otherwise. - -### GetRepublishOk - -`func (o *PackagesUploadGo) GetRepublishOk() (*bool, bool)` - -GetRepublishOk returns a tuple with the Republish field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetRepublish - -`func (o *PackagesUploadGo) SetRepublish(v bool)` - -SetRepublish sets Republish field to given value. - -### HasRepublish - -`func (o *PackagesUploadGo) HasRepublish() bool` - -HasRepublish returns a boolean if a field has been set. - -### GetTags - -`func (o *PackagesUploadGo) GetTags() string` - -GetTags returns the Tags field if non-nil, zero value otherwise. - -### GetTagsOk - -`func (o *PackagesUploadGo) GetTagsOk() (*string, bool)` - -GetTagsOk returns a tuple with the Tags field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetTags - -`func (o *PackagesUploadGo) SetTags(v string)` - -SetTags sets Tags field to given value. - -### HasTags - -`func (o *PackagesUploadGo) HasTags() bool` - -HasTags 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/docs/PackagesUploadHelm.md b/docs/PackagesUploadHelm.md deleted file mode 100644 index 0dbb4ed2..00000000 --- a/docs/PackagesUploadHelm.md +++ /dev/null @@ -1,103 +0,0 @@ -# PackagesUploadHelm - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**PackageFile** | **string** | The primary file for the package. | -**Republish** | Pointer to **bool** | If true, the uploaded package will overwrite any others with the same attributes (e.g. same version); otherwise, it will be flagged as a duplicate. | [optional] -**Tags** | Pointer to **string** | A comma-separated values list of tags to add to the package. | [optional] - -## Methods - -### NewPackagesUploadHelm - -`func NewPackagesUploadHelm(packageFile string, ) *PackagesUploadHelm` - -NewPackagesUploadHelm instantiates a new PackagesUploadHelm object -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 - -### NewPackagesUploadHelmWithDefaults - -`func NewPackagesUploadHelmWithDefaults() *PackagesUploadHelm` - -NewPackagesUploadHelmWithDefaults instantiates a new PackagesUploadHelm object -This constructor will only assign default values to properties that have it defined, -but it doesn't guarantee that properties required by API are set - -### GetPackageFile - -`func (o *PackagesUploadHelm) GetPackageFile() string` - -GetPackageFile returns the PackageFile field if non-nil, zero value otherwise. - -### GetPackageFileOk - -`func (o *PackagesUploadHelm) GetPackageFileOk() (*string, bool)` - -GetPackageFileOk returns a tuple with the PackageFile field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetPackageFile - -`func (o *PackagesUploadHelm) SetPackageFile(v string)` - -SetPackageFile sets PackageFile field to given value. - - -### GetRepublish - -`func (o *PackagesUploadHelm) GetRepublish() bool` - -GetRepublish returns the Republish field if non-nil, zero value otherwise. - -### GetRepublishOk - -`func (o *PackagesUploadHelm) GetRepublishOk() (*bool, bool)` - -GetRepublishOk returns a tuple with the Republish field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetRepublish - -`func (o *PackagesUploadHelm) SetRepublish(v bool)` - -SetRepublish sets Republish field to given value. - -### HasRepublish - -`func (o *PackagesUploadHelm) HasRepublish() bool` - -HasRepublish returns a boolean if a field has been set. - -### GetTags - -`func (o *PackagesUploadHelm) GetTags() string` - -GetTags returns the Tags field if non-nil, zero value otherwise. - -### GetTagsOk - -`func (o *PackagesUploadHelm) GetTagsOk() (*string, bool)` - -GetTagsOk returns a tuple with the Tags field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetTags - -`func (o *PackagesUploadHelm) SetTags(v string)` - -SetTags sets Tags field to given value. - -### HasTags - -`func (o *PackagesUploadHelm) HasTags() bool` - -HasTags 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/docs/PackagesUploadLuarocks.md b/docs/PackagesUploadLuarocks.md deleted file mode 100644 index e99d9994..00000000 --- a/docs/PackagesUploadLuarocks.md +++ /dev/null @@ -1,103 +0,0 @@ -# PackagesUploadLuarocks - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**PackageFile** | **string** | The primary file for the package. | -**Republish** | Pointer to **bool** | If true, the uploaded package will overwrite any others with the same attributes (e.g. same version); otherwise, it will be flagged as a duplicate. | [optional] -**Tags** | Pointer to **string** | A comma-separated values list of tags to add to the package. | [optional] - -## Methods - -### NewPackagesUploadLuarocks - -`func NewPackagesUploadLuarocks(packageFile string, ) *PackagesUploadLuarocks` - -NewPackagesUploadLuarocks instantiates a new PackagesUploadLuarocks object -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 - -### NewPackagesUploadLuarocksWithDefaults - -`func NewPackagesUploadLuarocksWithDefaults() *PackagesUploadLuarocks` - -NewPackagesUploadLuarocksWithDefaults instantiates a new PackagesUploadLuarocks object -This constructor will only assign default values to properties that have it defined, -but it doesn't guarantee that properties required by API are set - -### GetPackageFile - -`func (o *PackagesUploadLuarocks) GetPackageFile() string` - -GetPackageFile returns the PackageFile field if non-nil, zero value otherwise. - -### GetPackageFileOk - -`func (o *PackagesUploadLuarocks) GetPackageFileOk() (*string, bool)` - -GetPackageFileOk returns a tuple with the PackageFile field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetPackageFile - -`func (o *PackagesUploadLuarocks) SetPackageFile(v string)` - -SetPackageFile sets PackageFile field to given value. - - -### GetRepublish - -`func (o *PackagesUploadLuarocks) GetRepublish() bool` - -GetRepublish returns the Republish field if non-nil, zero value otherwise. - -### GetRepublishOk - -`func (o *PackagesUploadLuarocks) GetRepublishOk() (*bool, bool)` - -GetRepublishOk returns a tuple with the Republish field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetRepublish - -`func (o *PackagesUploadLuarocks) SetRepublish(v bool)` - -SetRepublish sets Republish field to given value. - -### HasRepublish - -`func (o *PackagesUploadLuarocks) HasRepublish() bool` - -HasRepublish returns a boolean if a field has been set. - -### GetTags - -`func (o *PackagesUploadLuarocks) GetTags() string` - -GetTags returns the Tags field if non-nil, zero value otherwise. - -### GetTagsOk - -`func (o *PackagesUploadLuarocks) GetTagsOk() (*string, bool)` - -GetTagsOk returns a tuple with the Tags field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetTags - -`func (o *PackagesUploadLuarocks) SetTags(v string)` - -SetTags sets Tags field to given value. - -### HasTags - -`func (o *PackagesUploadLuarocks) HasTags() bool` - -HasTags 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/docs/PackagesUploadMaven.md b/docs/PackagesUploadMaven.md deleted file mode 100644 index aaa6e9d1..00000000 --- a/docs/PackagesUploadMaven.md +++ /dev/null @@ -1,311 +0,0 @@ -# PackagesUploadMaven - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**ArtifactId** | Pointer to **string** | The ID of the artifact. | [optional] -**GroupId** | Pointer to **string** | Artifact's group ID. | [optional] -**JavadocFile** | Pointer to **string** | Adds bundled Java documentation to the Maven package | [optional] -**PackageFile** | **string** | The primary file for the package. | -**Packaging** | Pointer to **string** | Artifact's Maven packaging type. | [optional] -**PomFile** | Pointer to **string** | The POM file is an XML file containing the Maven coordinates. | [optional] -**Republish** | Pointer to **bool** | If true, the uploaded package will overwrite any others with the same attributes (e.g. same version); otherwise, it will be flagged as a duplicate. | [optional] -**SourcesFile** | Pointer to **string** | Adds bundled Java source code to the Maven package. | [optional] -**Tags** | Pointer to **string** | A comma-separated values list of tags to add to the package. | [optional] -**TestsFile** | Pointer to **string** | Adds bundled Java tests to the Maven package. | [optional] -**Version** | Pointer to **string** | The raw version for this package. | [optional] - -## Methods - -### NewPackagesUploadMaven - -`func NewPackagesUploadMaven(packageFile string, ) *PackagesUploadMaven` - -NewPackagesUploadMaven instantiates a new PackagesUploadMaven object -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 - -### NewPackagesUploadMavenWithDefaults - -`func NewPackagesUploadMavenWithDefaults() *PackagesUploadMaven` - -NewPackagesUploadMavenWithDefaults instantiates a new PackagesUploadMaven object -This constructor will only assign default values to properties that have it defined, -but it doesn't guarantee that properties required by API are set - -### GetArtifactId - -`func (o *PackagesUploadMaven) GetArtifactId() string` - -GetArtifactId returns the ArtifactId field if non-nil, zero value otherwise. - -### GetArtifactIdOk - -`func (o *PackagesUploadMaven) GetArtifactIdOk() (*string, bool)` - -GetArtifactIdOk returns a tuple with the ArtifactId field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetArtifactId - -`func (o *PackagesUploadMaven) SetArtifactId(v string)` - -SetArtifactId sets ArtifactId field to given value. - -### HasArtifactId - -`func (o *PackagesUploadMaven) HasArtifactId() bool` - -HasArtifactId returns a boolean if a field has been set. - -### GetGroupId - -`func (o *PackagesUploadMaven) GetGroupId() string` - -GetGroupId returns the GroupId field if non-nil, zero value otherwise. - -### GetGroupIdOk - -`func (o *PackagesUploadMaven) GetGroupIdOk() (*string, bool)` - -GetGroupIdOk returns a tuple with the GroupId field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetGroupId - -`func (o *PackagesUploadMaven) SetGroupId(v string)` - -SetGroupId sets GroupId field to given value. - -### HasGroupId - -`func (o *PackagesUploadMaven) HasGroupId() bool` - -HasGroupId returns a boolean if a field has been set. - -### GetJavadocFile - -`func (o *PackagesUploadMaven) GetJavadocFile() string` - -GetJavadocFile returns the JavadocFile field if non-nil, zero value otherwise. - -### GetJavadocFileOk - -`func (o *PackagesUploadMaven) GetJavadocFileOk() (*string, bool)` - -GetJavadocFileOk returns a tuple with the JavadocFile field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetJavadocFile - -`func (o *PackagesUploadMaven) SetJavadocFile(v string)` - -SetJavadocFile sets JavadocFile field to given value. - -### HasJavadocFile - -`func (o *PackagesUploadMaven) HasJavadocFile() bool` - -HasJavadocFile returns a boolean if a field has been set. - -### GetPackageFile - -`func (o *PackagesUploadMaven) GetPackageFile() string` - -GetPackageFile returns the PackageFile field if non-nil, zero value otherwise. - -### GetPackageFileOk - -`func (o *PackagesUploadMaven) GetPackageFileOk() (*string, bool)` - -GetPackageFileOk returns a tuple with the PackageFile field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetPackageFile - -`func (o *PackagesUploadMaven) SetPackageFile(v string)` - -SetPackageFile sets PackageFile field to given value. - - -### GetPackaging - -`func (o *PackagesUploadMaven) GetPackaging() string` - -GetPackaging returns the Packaging field if non-nil, zero value otherwise. - -### GetPackagingOk - -`func (o *PackagesUploadMaven) GetPackagingOk() (*string, bool)` - -GetPackagingOk returns a tuple with the Packaging field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetPackaging - -`func (o *PackagesUploadMaven) SetPackaging(v string)` - -SetPackaging sets Packaging field to given value. - -### HasPackaging - -`func (o *PackagesUploadMaven) HasPackaging() bool` - -HasPackaging returns a boolean if a field has been set. - -### GetPomFile - -`func (o *PackagesUploadMaven) GetPomFile() string` - -GetPomFile returns the PomFile field if non-nil, zero value otherwise. - -### GetPomFileOk - -`func (o *PackagesUploadMaven) GetPomFileOk() (*string, bool)` - -GetPomFileOk returns a tuple with the PomFile field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetPomFile - -`func (o *PackagesUploadMaven) SetPomFile(v string)` - -SetPomFile sets PomFile field to given value. - -### HasPomFile - -`func (o *PackagesUploadMaven) HasPomFile() bool` - -HasPomFile returns a boolean if a field has been set. - -### GetRepublish - -`func (o *PackagesUploadMaven) GetRepublish() bool` - -GetRepublish returns the Republish field if non-nil, zero value otherwise. - -### GetRepublishOk - -`func (o *PackagesUploadMaven) GetRepublishOk() (*bool, bool)` - -GetRepublishOk returns a tuple with the Republish field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetRepublish - -`func (o *PackagesUploadMaven) SetRepublish(v bool)` - -SetRepublish sets Republish field to given value. - -### HasRepublish - -`func (o *PackagesUploadMaven) HasRepublish() bool` - -HasRepublish returns a boolean if a field has been set. - -### GetSourcesFile - -`func (o *PackagesUploadMaven) GetSourcesFile() string` - -GetSourcesFile returns the SourcesFile field if non-nil, zero value otherwise. - -### GetSourcesFileOk - -`func (o *PackagesUploadMaven) GetSourcesFileOk() (*string, bool)` - -GetSourcesFileOk returns a tuple with the SourcesFile field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetSourcesFile - -`func (o *PackagesUploadMaven) SetSourcesFile(v string)` - -SetSourcesFile sets SourcesFile field to given value. - -### HasSourcesFile - -`func (o *PackagesUploadMaven) HasSourcesFile() bool` - -HasSourcesFile returns a boolean if a field has been set. - -### GetTags - -`func (o *PackagesUploadMaven) GetTags() string` - -GetTags returns the Tags field if non-nil, zero value otherwise. - -### GetTagsOk - -`func (o *PackagesUploadMaven) GetTagsOk() (*string, bool)` - -GetTagsOk returns a tuple with the Tags field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetTags - -`func (o *PackagesUploadMaven) SetTags(v string)` - -SetTags sets Tags field to given value. - -### HasTags - -`func (o *PackagesUploadMaven) HasTags() bool` - -HasTags returns a boolean if a field has been set. - -### GetTestsFile - -`func (o *PackagesUploadMaven) GetTestsFile() string` - -GetTestsFile returns the TestsFile field if non-nil, zero value otherwise. - -### GetTestsFileOk - -`func (o *PackagesUploadMaven) GetTestsFileOk() (*string, bool)` - -GetTestsFileOk returns a tuple with the TestsFile field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetTestsFile - -`func (o *PackagesUploadMaven) SetTestsFile(v string)` - -SetTestsFile sets TestsFile field to given value. - -### HasTestsFile - -`func (o *PackagesUploadMaven) HasTestsFile() bool` - -HasTestsFile returns a boolean if a field has been set. - -### GetVersion - -`func (o *PackagesUploadMaven) GetVersion() string` - -GetVersion returns the Version field if non-nil, zero value otherwise. - -### GetVersionOk - -`func (o *PackagesUploadMaven) GetVersionOk() (*string, bool)` - -GetVersionOk returns a tuple with the Version field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetVersion - -`func (o *PackagesUploadMaven) SetVersion(v string)` - -SetVersion sets Version field to given value. - -### HasVersion - -`func (o *PackagesUploadMaven) HasVersion() bool` - -HasVersion 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/docs/PackagesUploadNuget.md b/docs/PackagesUploadNuget.md deleted file mode 100644 index b9094826..00000000 --- a/docs/PackagesUploadNuget.md +++ /dev/null @@ -1,129 +0,0 @@ -# PackagesUploadNuget - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**PackageFile** | **string** | The primary file for the package. | -**Republish** | Pointer to **bool** | If true, the uploaded package will overwrite any others with the same attributes (e.g. same version); otherwise, it will be flagged as a duplicate. | [optional] -**SymbolsFile** | Pointer to **string** | Attaches a symbols file to the package. | [optional] -**Tags** | Pointer to **string** | A comma-separated values list of tags to add to the package. | [optional] - -## Methods - -### NewPackagesUploadNuget - -`func NewPackagesUploadNuget(packageFile string, ) *PackagesUploadNuget` - -NewPackagesUploadNuget instantiates a new PackagesUploadNuget object -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 - -### NewPackagesUploadNugetWithDefaults - -`func NewPackagesUploadNugetWithDefaults() *PackagesUploadNuget` - -NewPackagesUploadNugetWithDefaults instantiates a new PackagesUploadNuget object -This constructor will only assign default values to properties that have it defined, -but it doesn't guarantee that properties required by API are set - -### GetPackageFile - -`func (o *PackagesUploadNuget) GetPackageFile() string` - -GetPackageFile returns the PackageFile field if non-nil, zero value otherwise. - -### GetPackageFileOk - -`func (o *PackagesUploadNuget) GetPackageFileOk() (*string, bool)` - -GetPackageFileOk returns a tuple with the PackageFile field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetPackageFile - -`func (o *PackagesUploadNuget) SetPackageFile(v string)` - -SetPackageFile sets PackageFile field to given value. - - -### GetRepublish - -`func (o *PackagesUploadNuget) GetRepublish() bool` - -GetRepublish returns the Republish field if non-nil, zero value otherwise. - -### GetRepublishOk - -`func (o *PackagesUploadNuget) GetRepublishOk() (*bool, bool)` - -GetRepublishOk returns a tuple with the Republish field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetRepublish - -`func (o *PackagesUploadNuget) SetRepublish(v bool)` - -SetRepublish sets Republish field to given value. - -### HasRepublish - -`func (o *PackagesUploadNuget) HasRepublish() bool` - -HasRepublish returns a boolean if a field has been set. - -### GetSymbolsFile - -`func (o *PackagesUploadNuget) GetSymbolsFile() string` - -GetSymbolsFile returns the SymbolsFile field if non-nil, zero value otherwise. - -### GetSymbolsFileOk - -`func (o *PackagesUploadNuget) GetSymbolsFileOk() (*string, bool)` - -GetSymbolsFileOk returns a tuple with the SymbolsFile field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetSymbolsFile - -`func (o *PackagesUploadNuget) SetSymbolsFile(v string)` - -SetSymbolsFile sets SymbolsFile field to given value. - -### HasSymbolsFile - -`func (o *PackagesUploadNuget) HasSymbolsFile() bool` - -HasSymbolsFile returns a boolean if a field has been set. - -### GetTags - -`func (o *PackagesUploadNuget) GetTags() string` - -GetTags returns the Tags field if non-nil, zero value otherwise. - -### GetTagsOk - -`func (o *PackagesUploadNuget) GetTagsOk() (*string, bool)` - -GetTagsOk returns a tuple with the Tags field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetTags - -`func (o *PackagesUploadNuget) SetTags(v string)` - -SetTags sets Tags field to given value. - -### HasTags - -`func (o *PackagesUploadNuget) HasTags() bool` - -HasTags 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/docs/PackagesUploadP2.md b/docs/PackagesUploadP2.md deleted file mode 100644 index f3d1e532..00000000 --- a/docs/PackagesUploadP2.md +++ /dev/null @@ -1,103 +0,0 @@ -# PackagesUploadP2 - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**PackageFile** | **string** | The primary file for the package. | -**Republish** | Pointer to **bool** | If true, the uploaded package will overwrite any others with the same attributes (e.g. same version); otherwise, it will be flagged as a duplicate. | [optional] -**Tags** | Pointer to **string** | A comma-separated values list of tags to add to the package. | [optional] - -## Methods - -### NewPackagesUploadP2 - -`func NewPackagesUploadP2(packageFile string, ) *PackagesUploadP2` - -NewPackagesUploadP2 instantiates a new PackagesUploadP2 object -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 - -### NewPackagesUploadP2WithDefaults - -`func NewPackagesUploadP2WithDefaults() *PackagesUploadP2` - -NewPackagesUploadP2WithDefaults instantiates a new PackagesUploadP2 object -This constructor will only assign default values to properties that have it defined, -but it doesn't guarantee that properties required by API are set - -### GetPackageFile - -`func (o *PackagesUploadP2) GetPackageFile() string` - -GetPackageFile returns the PackageFile field if non-nil, zero value otherwise. - -### GetPackageFileOk - -`func (o *PackagesUploadP2) GetPackageFileOk() (*string, bool)` - -GetPackageFileOk returns a tuple with the PackageFile field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetPackageFile - -`func (o *PackagesUploadP2) SetPackageFile(v string)` - -SetPackageFile sets PackageFile field to given value. - - -### GetRepublish - -`func (o *PackagesUploadP2) GetRepublish() bool` - -GetRepublish returns the Republish field if non-nil, zero value otherwise. - -### GetRepublishOk - -`func (o *PackagesUploadP2) GetRepublishOk() (*bool, bool)` - -GetRepublishOk returns a tuple with the Republish field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetRepublish - -`func (o *PackagesUploadP2) SetRepublish(v bool)` - -SetRepublish sets Republish field to given value. - -### HasRepublish - -`func (o *PackagesUploadP2) HasRepublish() bool` - -HasRepublish returns a boolean if a field has been set. - -### GetTags - -`func (o *PackagesUploadP2) GetTags() string` - -GetTags returns the Tags field if non-nil, zero value otherwise. - -### GetTagsOk - -`func (o *PackagesUploadP2) GetTagsOk() (*string, bool)` - -GetTagsOk returns a tuple with the Tags field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetTags - -`func (o *PackagesUploadP2) SetTags(v string)` - -SetTags sets Tags field to given value. - -### HasTags - -`func (o *PackagesUploadP2) HasTags() bool` - -HasTags 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/docs/PackagesUploadPython.md b/docs/PackagesUploadPython.md deleted file mode 100644 index 64f8fa0c..00000000 --- a/docs/PackagesUploadPython.md +++ /dev/null @@ -1,103 +0,0 @@ -# PackagesUploadPython - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**PackageFile** | **string** | The primary file for the package. | -**Republish** | Pointer to **bool** | If true, the uploaded package will overwrite any others with the same attributes (e.g. same version); otherwise, it will be flagged as a duplicate. | [optional] -**Tags** | Pointer to **string** | A comma-separated values list of tags to add to the package. | [optional] - -## Methods - -### NewPackagesUploadPython - -`func NewPackagesUploadPython(packageFile string, ) *PackagesUploadPython` - -NewPackagesUploadPython instantiates a new PackagesUploadPython object -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 - -### NewPackagesUploadPythonWithDefaults - -`func NewPackagesUploadPythonWithDefaults() *PackagesUploadPython` - -NewPackagesUploadPythonWithDefaults instantiates a new PackagesUploadPython object -This constructor will only assign default values to properties that have it defined, -but it doesn't guarantee that properties required by API are set - -### GetPackageFile - -`func (o *PackagesUploadPython) GetPackageFile() string` - -GetPackageFile returns the PackageFile field if non-nil, zero value otherwise. - -### GetPackageFileOk - -`func (o *PackagesUploadPython) GetPackageFileOk() (*string, bool)` - -GetPackageFileOk returns a tuple with the PackageFile field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetPackageFile - -`func (o *PackagesUploadPython) SetPackageFile(v string)` - -SetPackageFile sets PackageFile field to given value. - - -### GetRepublish - -`func (o *PackagesUploadPython) GetRepublish() bool` - -GetRepublish returns the Republish field if non-nil, zero value otherwise. - -### GetRepublishOk - -`func (o *PackagesUploadPython) GetRepublishOk() (*bool, bool)` - -GetRepublishOk returns a tuple with the Republish field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetRepublish - -`func (o *PackagesUploadPython) SetRepublish(v bool)` - -SetRepublish sets Republish field to given value. - -### HasRepublish - -`func (o *PackagesUploadPython) HasRepublish() bool` - -HasRepublish returns a boolean if a field has been set. - -### GetTags - -`func (o *PackagesUploadPython) GetTags() string` - -GetTags returns the Tags field if non-nil, zero value otherwise. - -### GetTagsOk - -`func (o *PackagesUploadPython) GetTagsOk() (*string, bool)` - -GetTagsOk returns a tuple with the Tags field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetTags - -`func (o *PackagesUploadPython) SetTags(v string)` - -SetTags sets Tags field to given value. - -### HasTags - -`func (o *PackagesUploadPython) HasTags() bool` - -HasTags 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/docs/PackagesUploadRaw.md b/docs/PackagesUploadRaw.md deleted file mode 100644 index e2d71409..00000000 --- a/docs/PackagesUploadRaw.md +++ /dev/null @@ -1,233 +0,0 @@ -# PackagesUploadRaw - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**ContentType** | Pointer to **string** | A custom content/media (also known as MIME) type to be sent when downloading this file. By default Cloudsmith will attempt to detect the type, but if you need to override it, you can specify it here. | [optional] -**Description** | Pointer to **string** | A textual description of this package. | [optional] -**Name** | Pointer to **string** | The name of this package. | [optional] -**PackageFile** | **string** | The primary file for the package. | -**Republish** | Pointer to **bool** | If true, the uploaded package will overwrite any others with the same attributes (e.g. same version); otherwise, it will be flagged as a duplicate. | [optional] -**Summary** | Pointer to **string** | A one-liner synopsis of this package. | [optional] -**Tags** | Pointer to **string** | A comma-separated values list of tags to add to the package. | [optional] -**Version** | Pointer to **string** | The raw version for this package. | [optional] - -## Methods - -### NewPackagesUploadRaw - -`func NewPackagesUploadRaw(packageFile string, ) *PackagesUploadRaw` - -NewPackagesUploadRaw instantiates a new PackagesUploadRaw object -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 - -### NewPackagesUploadRawWithDefaults - -`func NewPackagesUploadRawWithDefaults() *PackagesUploadRaw` - -NewPackagesUploadRawWithDefaults instantiates a new PackagesUploadRaw object -This constructor will only assign default values to properties that have it defined, -but it doesn't guarantee that properties required by API are set - -### GetContentType - -`func (o *PackagesUploadRaw) GetContentType() string` - -GetContentType returns the ContentType field if non-nil, zero value otherwise. - -### GetContentTypeOk - -`func (o *PackagesUploadRaw) GetContentTypeOk() (*string, bool)` - -GetContentTypeOk returns a tuple with the ContentType field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetContentType - -`func (o *PackagesUploadRaw) SetContentType(v string)` - -SetContentType sets ContentType field to given value. - -### HasContentType - -`func (o *PackagesUploadRaw) HasContentType() bool` - -HasContentType returns a boolean if a field has been set. - -### GetDescription - -`func (o *PackagesUploadRaw) GetDescription() string` - -GetDescription returns the Description field if non-nil, zero value otherwise. - -### GetDescriptionOk - -`func (o *PackagesUploadRaw) GetDescriptionOk() (*string, bool)` - -GetDescriptionOk returns a tuple with the Description field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetDescription - -`func (o *PackagesUploadRaw) SetDescription(v string)` - -SetDescription sets Description field to given value. - -### HasDescription - -`func (o *PackagesUploadRaw) HasDescription() bool` - -HasDescription returns a boolean if a field has been set. - -### GetName - -`func (o *PackagesUploadRaw) GetName() string` - -GetName returns the Name field if non-nil, zero value otherwise. - -### GetNameOk - -`func (o *PackagesUploadRaw) GetNameOk() (*string, bool)` - -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. - -### SetName - -`func (o *PackagesUploadRaw) SetName(v string)` - -SetName sets Name field to given value. - -### HasName - -`func (o *PackagesUploadRaw) HasName() bool` - -HasName returns a boolean if a field has been set. - -### GetPackageFile - -`func (o *PackagesUploadRaw) GetPackageFile() string` - -GetPackageFile returns the PackageFile field if non-nil, zero value otherwise. - -### GetPackageFileOk - -`func (o *PackagesUploadRaw) GetPackageFileOk() (*string, bool)` - -GetPackageFileOk returns a tuple with the PackageFile field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetPackageFile - -`func (o *PackagesUploadRaw) SetPackageFile(v string)` - -SetPackageFile sets PackageFile field to given value. - - -### GetRepublish - -`func (o *PackagesUploadRaw) GetRepublish() bool` - -GetRepublish returns the Republish field if non-nil, zero value otherwise. - -### GetRepublishOk - -`func (o *PackagesUploadRaw) GetRepublishOk() (*bool, bool)` - -GetRepublishOk returns a tuple with the Republish field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetRepublish - -`func (o *PackagesUploadRaw) SetRepublish(v bool)` - -SetRepublish sets Republish field to given value. - -### HasRepublish - -`func (o *PackagesUploadRaw) HasRepublish() bool` - -HasRepublish returns a boolean if a field has been set. - -### GetSummary - -`func (o *PackagesUploadRaw) GetSummary() string` - -GetSummary returns the Summary field if non-nil, zero value otherwise. - -### GetSummaryOk - -`func (o *PackagesUploadRaw) GetSummaryOk() (*string, bool)` - -GetSummaryOk returns a tuple with the Summary field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetSummary - -`func (o *PackagesUploadRaw) SetSummary(v string)` - -SetSummary sets Summary field to given value. - -### HasSummary - -`func (o *PackagesUploadRaw) HasSummary() bool` - -HasSummary returns a boolean if a field has been set. - -### GetTags - -`func (o *PackagesUploadRaw) GetTags() string` - -GetTags returns the Tags field if non-nil, zero value otherwise. - -### GetTagsOk - -`func (o *PackagesUploadRaw) GetTagsOk() (*string, bool)` - -GetTagsOk returns a tuple with the Tags field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetTags - -`func (o *PackagesUploadRaw) SetTags(v string)` - -SetTags sets Tags field to given value. - -### HasTags - -`func (o *PackagesUploadRaw) HasTags() bool` - -HasTags returns a boolean if a field has been set. - -### GetVersion - -`func (o *PackagesUploadRaw) GetVersion() string` - -GetVersion returns the Version field if non-nil, zero value otherwise. - -### GetVersionOk - -`func (o *PackagesUploadRaw) GetVersionOk() (*string, bool)` - -GetVersionOk returns a tuple with the Version field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetVersion - -`func (o *PackagesUploadRaw) SetVersion(v string)` - -SetVersion sets Version field to given value. - -### HasVersion - -`func (o *PackagesUploadRaw) HasVersion() bool` - -HasVersion 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/docs/PackagesUploadRpm.md b/docs/PackagesUploadRpm.md deleted file mode 100644 index 5a253689..00000000 --- a/docs/PackagesUploadRpm.md +++ /dev/null @@ -1,124 +0,0 @@ -# PackagesUploadRpm - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**Distribution** | **string** | The distribution to store the package for. | -**PackageFile** | **string** | The primary file for the package. | -**Republish** | Pointer to **bool** | If true, the uploaded package will overwrite any others with the same attributes (e.g. same version); otherwise, it will be flagged as a duplicate. | [optional] -**Tags** | Pointer to **string** | A comma-separated values list of tags to add to the package. | [optional] - -## Methods - -### NewPackagesUploadRpm - -`func NewPackagesUploadRpm(distribution string, packageFile string, ) *PackagesUploadRpm` - -NewPackagesUploadRpm instantiates a new PackagesUploadRpm object -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 - -### NewPackagesUploadRpmWithDefaults - -`func NewPackagesUploadRpmWithDefaults() *PackagesUploadRpm` - -NewPackagesUploadRpmWithDefaults instantiates a new PackagesUploadRpm object -This constructor will only assign default values to properties that have it defined, -but it doesn't guarantee that properties required by API are set - -### GetDistribution - -`func (o *PackagesUploadRpm) GetDistribution() string` - -GetDistribution returns the Distribution field if non-nil, zero value otherwise. - -### GetDistributionOk - -`func (o *PackagesUploadRpm) GetDistributionOk() (*string, bool)` - -GetDistributionOk returns a tuple with the Distribution field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetDistribution - -`func (o *PackagesUploadRpm) SetDistribution(v string)` - -SetDistribution sets Distribution field to given value. - - -### GetPackageFile - -`func (o *PackagesUploadRpm) GetPackageFile() string` - -GetPackageFile returns the PackageFile field if non-nil, zero value otherwise. - -### GetPackageFileOk - -`func (o *PackagesUploadRpm) GetPackageFileOk() (*string, bool)` - -GetPackageFileOk returns a tuple with the PackageFile field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetPackageFile - -`func (o *PackagesUploadRpm) SetPackageFile(v string)` - -SetPackageFile sets PackageFile field to given value. - - -### GetRepublish - -`func (o *PackagesUploadRpm) GetRepublish() bool` - -GetRepublish returns the Republish field if non-nil, zero value otherwise. - -### GetRepublishOk - -`func (o *PackagesUploadRpm) GetRepublishOk() (*bool, bool)` - -GetRepublishOk returns a tuple with the Republish field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetRepublish - -`func (o *PackagesUploadRpm) SetRepublish(v bool)` - -SetRepublish sets Republish field to given value. - -### HasRepublish - -`func (o *PackagesUploadRpm) HasRepublish() bool` - -HasRepublish returns a boolean if a field has been set. - -### GetTags - -`func (o *PackagesUploadRpm) GetTags() string` - -GetTags returns the Tags field if non-nil, zero value otherwise. - -### GetTagsOk - -`func (o *PackagesUploadRpm) GetTagsOk() (*string, bool)` - -GetTagsOk returns a tuple with the Tags field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetTags - -`func (o *PackagesUploadRpm) SetTags(v string)` - -SetTags sets Tags field to given value. - -### HasTags - -`func (o *PackagesUploadRpm) HasTags() bool` - -HasTags 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/docs/PackagesUploadRuby.md b/docs/PackagesUploadRuby.md deleted file mode 100644 index 72ae9138..00000000 --- a/docs/PackagesUploadRuby.md +++ /dev/null @@ -1,103 +0,0 @@ -# PackagesUploadRuby - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**PackageFile** | **string** | The primary file for the package. | -**Republish** | Pointer to **bool** | If true, the uploaded package will overwrite any others with the same attributes (e.g. same version); otherwise, it will be flagged as a duplicate. | [optional] -**Tags** | Pointer to **string** | A comma-separated values list of tags to add to the package. | [optional] - -## Methods - -### NewPackagesUploadRuby - -`func NewPackagesUploadRuby(packageFile string, ) *PackagesUploadRuby` - -NewPackagesUploadRuby instantiates a new PackagesUploadRuby object -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 - -### NewPackagesUploadRubyWithDefaults - -`func NewPackagesUploadRubyWithDefaults() *PackagesUploadRuby` - -NewPackagesUploadRubyWithDefaults instantiates a new PackagesUploadRuby object -This constructor will only assign default values to properties that have it defined, -but it doesn't guarantee that properties required by API are set - -### GetPackageFile - -`func (o *PackagesUploadRuby) GetPackageFile() string` - -GetPackageFile returns the PackageFile field if non-nil, zero value otherwise. - -### GetPackageFileOk - -`func (o *PackagesUploadRuby) GetPackageFileOk() (*string, bool)` - -GetPackageFileOk returns a tuple with the PackageFile field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetPackageFile - -`func (o *PackagesUploadRuby) SetPackageFile(v string)` - -SetPackageFile sets PackageFile field to given value. - - -### GetRepublish - -`func (o *PackagesUploadRuby) GetRepublish() bool` - -GetRepublish returns the Republish field if non-nil, zero value otherwise. - -### GetRepublishOk - -`func (o *PackagesUploadRuby) GetRepublishOk() (*bool, bool)` - -GetRepublishOk returns a tuple with the Republish field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetRepublish - -`func (o *PackagesUploadRuby) SetRepublish(v bool)` - -SetRepublish sets Republish field to given value. - -### HasRepublish - -`func (o *PackagesUploadRuby) HasRepublish() bool` - -HasRepublish returns a boolean if a field has been set. - -### GetTags - -`func (o *PackagesUploadRuby) GetTags() string` - -GetTags returns the Tags field if non-nil, zero value otherwise. - -### GetTagsOk - -`func (o *PackagesUploadRuby) GetTagsOk() (*string, bool)` - -GetTagsOk returns a tuple with the Tags field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetTags - -`func (o *PackagesUploadRuby) SetTags(v string)` - -SetTags sets Tags field to given value. - -### HasTags - -`func (o *PackagesUploadRuby) HasTags() bool` - -HasTags 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/docs/PackagesUploadTerraform.md b/docs/PackagesUploadTerraform.md deleted file mode 100644 index c8eec5b8..00000000 --- a/docs/PackagesUploadTerraform.md +++ /dev/null @@ -1,103 +0,0 @@ -# PackagesUploadTerraform - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**PackageFile** | **string** | The primary file for the package. | -**Republish** | Pointer to **bool** | If true, the uploaded package will overwrite any others with the same attributes (e.g. same version); otherwise, it will be flagged as a duplicate. | [optional] -**Tags** | Pointer to **string** | A comma-separated values list of tags to add to the package. | [optional] - -## Methods - -### NewPackagesUploadTerraform - -`func NewPackagesUploadTerraform(packageFile string, ) *PackagesUploadTerraform` - -NewPackagesUploadTerraform instantiates a new PackagesUploadTerraform object -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 - -### NewPackagesUploadTerraformWithDefaults - -`func NewPackagesUploadTerraformWithDefaults() *PackagesUploadTerraform` - -NewPackagesUploadTerraformWithDefaults instantiates a new PackagesUploadTerraform object -This constructor will only assign default values to properties that have it defined, -but it doesn't guarantee that properties required by API are set - -### GetPackageFile - -`func (o *PackagesUploadTerraform) GetPackageFile() string` - -GetPackageFile returns the PackageFile field if non-nil, zero value otherwise. - -### GetPackageFileOk - -`func (o *PackagesUploadTerraform) GetPackageFileOk() (*string, bool)` - -GetPackageFileOk returns a tuple with the PackageFile field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetPackageFile - -`func (o *PackagesUploadTerraform) SetPackageFile(v string)` - -SetPackageFile sets PackageFile field to given value. - - -### GetRepublish - -`func (o *PackagesUploadTerraform) GetRepublish() bool` - -GetRepublish returns the Republish field if non-nil, zero value otherwise. - -### GetRepublishOk - -`func (o *PackagesUploadTerraform) GetRepublishOk() (*bool, bool)` - -GetRepublishOk returns a tuple with the Republish field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetRepublish - -`func (o *PackagesUploadTerraform) SetRepublish(v bool)` - -SetRepublish sets Republish field to given value. - -### HasRepublish - -`func (o *PackagesUploadTerraform) HasRepublish() bool` - -HasRepublish returns a boolean if a field has been set. - -### GetTags - -`func (o *PackagesUploadTerraform) GetTags() string` - -GetTags returns the Tags field if non-nil, zero value otherwise. - -### GetTagsOk - -`func (o *PackagesUploadTerraform) GetTagsOk() (*string, bool)` - -GetTagsOk returns a tuple with the Tags field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetTags - -`func (o *PackagesUploadTerraform) SetTags(v string)` - -SetTags sets Tags field to given value. - -### HasTags - -`func (o *PackagesUploadTerraform) HasTags() bool` - -HasTags 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/docs/PackagesValidateUploadCargo.md b/docs/PackagesValidateUploadCargo.md deleted file mode 100644 index 7341fd99..00000000 --- a/docs/PackagesValidateUploadCargo.md +++ /dev/null @@ -1,103 +0,0 @@ -# PackagesValidateUploadCargo - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**PackageFile** | **string** | The primary file for the package. | -**Republish** | Pointer to **bool** | If true, the uploaded package will overwrite any others with the same attributes (e.g. same version); otherwise, it will be flagged as a duplicate. | [optional] -**Tags** | Pointer to **string** | A comma-separated values list of tags to add to the package. | [optional] - -## Methods - -### NewPackagesValidateUploadCargo - -`func NewPackagesValidateUploadCargo(packageFile string, ) *PackagesValidateUploadCargo` - -NewPackagesValidateUploadCargo instantiates a new PackagesValidateUploadCargo object -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 - -### NewPackagesValidateUploadCargoWithDefaults - -`func NewPackagesValidateUploadCargoWithDefaults() *PackagesValidateUploadCargo` - -NewPackagesValidateUploadCargoWithDefaults instantiates a new PackagesValidateUploadCargo object -This constructor will only assign default values to properties that have it defined, -but it doesn't guarantee that properties required by API are set - -### GetPackageFile - -`func (o *PackagesValidateUploadCargo) GetPackageFile() string` - -GetPackageFile returns the PackageFile field if non-nil, zero value otherwise. - -### GetPackageFileOk - -`func (o *PackagesValidateUploadCargo) GetPackageFileOk() (*string, bool)` - -GetPackageFileOk returns a tuple with the PackageFile field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetPackageFile - -`func (o *PackagesValidateUploadCargo) SetPackageFile(v string)` - -SetPackageFile sets PackageFile field to given value. - - -### GetRepublish - -`func (o *PackagesValidateUploadCargo) GetRepublish() bool` - -GetRepublish returns the Republish field if non-nil, zero value otherwise. - -### GetRepublishOk - -`func (o *PackagesValidateUploadCargo) GetRepublishOk() (*bool, bool)` - -GetRepublishOk returns a tuple with the Republish field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetRepublish - -`func (o *PackagesValidateUploadCargo) SetRepublish(v bool)` - -SetRepublish sets Republish field to given value. - -### HasRepublish - -`func (o *PackagesValidateUploadCargo) HasRepublish() bool` - -HasRepublish returns a boolean if a field has been set. - -### GetTags - -`func (o *PackagesValidateUploadCargo) GetTags() string` - -GetTags returns the Tags field if non-nil, zero value otherwise. - -### GetTagsOk - -`func (o *PackagesValidateUploadCargo) GetTagsOk() (*string, bool)` - -GetTagsOk returns a tuple with the Tags field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetTags - -`func (o *PackagesValidateUploadCargo) SetTags(v string)` - -SetTags sets Tags field to given value. - -### HasTags - -`func (o *PackagesValidateUploadCargo) HasTags() bool` - -HasTags 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/docs/PackagesValidateUploadComposer.md b/docs/PackagesValidateUploadComposer.md deleted file mode 100644 index 44f171f2..00000000 --- a/docs/PackagesValidateUploadComposer.md +++ /dev/null @@ -1,103 +0,0 @@ -# PackagesValidateUploadComposer - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**PackageFile** | **string** | The primary file for the package. | -**Republish** | Pointer to **bool** | If true, the uploaded package will overwrite any others with the same attributes (e.g. same version); otherwise, it will be flagged as a duplicate. | [optional] -**Tags** | Pointer to **string** | A comma-separated values list of tags to add to the package. | [optional] - -## Methods - -### NewPackagesValidateUploadComposer - -`func NewPackagesValidateUploadComposer(packageFile string, ) *PackagesValidateUploadComposer` - -NewPackagesValidateUploadComposer instantiates a new PackagesValidateUploadComposer object -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 - -### NewPackagesValidateUploadComposerWithDefaults - -`func NewPackagesValidateUploadComposerWithDefaults() *PackagesValidateUploadComposer` - -NewPackagesValidateUploadComposerWithDefaults instantiates a new PackagesValidateUploadComposer object -This constructor will only assign default values to properties that have it defined, -but it doesn't guarantee that properties required by API are set - -### GetPackageFile - -`func (o *PackagesValidateUploadComposer) GetPackageFile() string` - -GetPackageFile returns the PackageFile field if non-nil, zero value otherwise. - -### GetPackageFileOk - -`func (o *PackagesValidateUploadComposer) GetPackageFileOk() (*string, bool)` - -GetPackageFileOk returns a tuple with the PackageFile field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetPackageFile - -`func (o *PackagesValidateUploadComposer) SetPackageFile(v string)` - -SetPackageFile sets PackageFile field to given value. - - -### GetRepublish - -`func (o *PackagesValidateUploadComposer) GetRepublish() bool` - -GetRepublish returns the Republish field if non-nil, zero value otherwise. - -### GetRepublishOk - -`func (o *PackagesValidateUploadComposer) GetRepublishOk() (*bool, bool)` - -GetRepublishOk returns a tuple with the Republish field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetRepublish - -`func (o *PackagesValidateUploadComposer) SetRepublish(v bool)` - -SetRepublish sets Republish field to given value. - -### HasRepublish - -`func (o *PackagesValidateUploadComposer) HasRepublish() bool` - -HasRepublish returns a boolean if a field has been set. - -### GetTags - -`func (o *PackagesValidateUploadComposer) GetTags() string` - -GetTags returns the Tags field if non-nil, zero value otherwise. - -### GetTagsOk - -`func (o *PackagesValidateUploadComposer) GetTagsOk() (*string, bool)` - -GetTagsOk returns a tuple with the Tags field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetTags - -`func (o *PackagesValidateUploadComposer) SetTags(v string)` - -SetTags sets Tags field to given value. - -### HasTags - -`func (o *PackagesValidateUploadComposer) HasTags() bool` - -HasTags 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/docs/PackagesValidateUploadConda.md b/docs/PackagesValidateUploadConda.md deleted file mode 100644 index 72b65a7f..00000000 --- a/docs/PackagesValidateUploadConda.md +++ /dev/null @@ -1,103 +0,0 @@ -# PackagesValidateUploadConda - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**PackageFile** | **string** | The primary file for the package. | -**Republish** | Pointer to **bool** | If true, the uploaded package will overwrite any others with the same attributes (e.g. same version); otherwise, it will be flagged as a duplicate. | [optional] -**Tags** | Pointer to **string** | A comma-separated values list of tags to add to the package. | [optional] - -## Methods - -### NewPackagesValidateUploadConda - -`func NewPackagesValidateUploadConda(packageFile string, ) *PackagesValidateUploadConda` - -NewPackagesValidateUploadConda instantiates a new PackagesValidateUploadConda object -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 - -### NewPackagesValidateUploadCondaWithDefaults - -`func NewPackagesValidateUploadCondaWithDefaults() *PackagesValidateUploadConda` - -NewPackagesValidateUploadCondaWithDefaults instantiates a new PackagesValidateUploadConda object -This constructor will only assign default values to properties that have it defined, -but it doesn't guarantee that properties required by API are set - -### GetPackageFile - -`func (o *PackagesValidateUploadConda) GetPackageFile() string` - -GetPackageFile returns the PackageFile field if non-nil, zero value otherwise. - -### GetPackageFileOk - -`func (o *PackagesValidateUploadConda) GetPackageFileOk() (*string, bool)` - -GetPackageFileOk returns a tuple with the PackageFile field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetPackageFile - -`func (o *PackagesValidateUploadConda) SetPackageFile(v string)` - -SetPackageFile sets PackageFile field to given value. - - -### GetRepublish - -`func (o *PackagesValidateUploadConda) GetRepublish() bool` - -GetRepublish returns the Republish field if non-nil, zero value otherwise. - -### GetRepublishOk - -`func (o *PackagesValidateUploadConda) GetRepublishOk() (*bool, bool)` - -GetRepublishOk returns a tuple with the Republish field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetRepublish - -`func (o *PackagesValidateUploadConda) SetRepublish(v bool)` - -SetRepublish sets Republish field to given value. - -### HasRepublish - -`func (o *PackagesValidateUploadConda) HasRepublish() bool` - -HasRepublish returns a boolean if a field has been set. - -### GetTags - -`func (o *PackagesValidateUploadConda) GetTags() string` - -GetTags returns the Tags field if non-nil, zero value otherwise. - -### GetTagsOk - -`func (o *PackagesValidateUploadConda) GetTagsOk() (*string, bool)` - -GetTagsOk returns a tuple with the Tags field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetTags - -`func (o *PackagesValidateUploadConda) SetTags(v string)` - -SetTags sets Tags field to given value. - -### HasTags - -`func (o *PackagesValidateUploadConda) HasTags() bool` - -HasTags 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/docs/PackagesValidateUploadDeb.md b/docs/PackagesValidateUploadDeb.md deleted file mode 100644 index d7ed5990..00000000 --- a/docs/PackagesValidateUploadDeb.md +++ /dev/null @@ -1,176 +0,0 @@ -# PackagesValidateUploadDeb - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**ChangesFile** | Pointer to **string** | The changes archive containing the changes made to the source and debian packaging files | [optional] -**Distribution** | **string** | The distribution to store the package for. | -**PackageFile** | **string** | The primary file for the package. | -**Republish** | Pointer to **bool** | If true, the uploaded package will overwrite any others with the same attributes (e.g. same version); otherwise, it will be flagged as a duplicate. | [optional] -**SourcesFile** | Pointer to **string** | The sources archive containing the source code for the binary | [optional] -**Tags** | Pointer to **string** | A comma-separated values list of tags to add to the package. | [optional] - -## Methods - -### NewPackagesValidateUploadDeb - -`func NewPackagesValidateUploadDeb(distribution string, packageFile string, ) *PackagesValidateUploadDeb` - -NewPackagesValidateUploadDeb instantiates a new PackagesValidateUploadDeb object -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 - -### NewPackagesValidateUploadDebWithDefaults - -`func NewPackagesValidateUploadDebWithDefaults() *PackagesValidateUploadDeb` - -NewPackagesValidateUploadDebWithDefaults instantiates a new PackagesValidateUploadDeb object -This constructor will only assign default values to properties that have it defined, -but it doesn't guarantee that properties required by API are set - -### GetChangesFile - -`func (o *PackagesValidateUploadDeb) GetChangesFile() string` - -GetChangesFile returns the ChangesFile field if non-nil, zero value otherwise. - -### GetChangesFileOk - -`func (o *PackagesValidateUploadDeb) GetChangesFileOk() (*string, bool)` - -GetChangesFileOk returns a tuple with the ChangesFile field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetChangesFile - -`func (o *PackagesValidateUploadDeb) SetChangesFile(v string)` - -SetChangesFile sets ChangesFile field to given value. - -### HasChangesFile - -`func (o *PackagesValidateUploadDeb) HasChangesFile() bool` - -HasChangesFile returns a boolean if a field has been set. - -### GetDistribution - -`func (o *PackagesValidateUploadDeb) GetDistribution() string` - -GetDistribution returns the Distribution field if non-nil, zero value otherwise. - -### GetDistributionOk - -`func (o *PackagesValidateUploadDeb) GetDistributionOk() (*string, bool)` - -GetDistributionOk returns a tuple with the Distribution field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetDistribution - -`func (o *PackagesValidateUploadDeb) SetDistribution(v string)` - -SetDistribution sets Distribution field to given value. - - -### GetPackageFile - -`func (o *PackagesValidateUploadDeb) GetPackageFile() string` - -GetPackageFile returns the PackageFile field if non-nil, zero value otherwise. - -### GetPackageFileOk - -`func (o *PackagesValidateUploadDeb) GetPackageFileOk() (*string, bool)` - -GetPackageFileOk returns a tuple with the PackageFile field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetPackageFile - -`func (o *PackagesValidateUploadDeb) SetPackageFile(v string)` - -SetPackageFile sets PackageFile field to given value. - - -### GetRepublish - -`func (o *PackagesValidateUploadDeb) GetRepublish() bool` - -GetRepublish returns the Republish field if non-nil, zero value otherwise. - -### GetRepublishOk - -`func (o *PackagesValidateUploadDeb) GetRepublishOk() (*bool, bool)` - -GetRepublishOk returns a tuple with the Republish field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetRepublish - -`func (o *PackagesValidateUploadDeb) SetRepublish(v bool)` - -SetRepublish sets Republish field to given value. - -### HasRepublish - -`func (o *PackagesValidateUploadDeb) HasRepublish() bool` - -HasRepublish returns a boolean if a field has been set. - -### GetSourcesFile - -`func (o *PackagesValidateUploadDeb) GetSourcesFile() string` - -GetSourcesFile returns the SourcesFile field if non-nil, zero value otherwise. - -### GetSourcesFileOk - -`func (o *PackagesValidateUploadDeb) GetSourcesFileOk() (*string, bool)` - -GetSourcesFileOk returns a tuple with the SourcesFile field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetSourcesFile - -`func (o *PackagesValidateUploadDeb) SetSourcesFile(v string)` - -SetSourcesFile sets SourcesFile field to given value. - -### HasSourcesFile - -`func (o *PackagesValidateUploadDeb) HasSourcesFile() bool` - -HasSourcesFile returns a boolean if a field has been set. - -### GetTags - -`func (o *PackagesValidateUploadDeb) GetTags() string` - -GetTags returns the Tags field if non-nil, zero value otherwise. - -### GetTagsOk - -`func (o *PackagesValidateUploadDeb) GetTagsOk() (*string, bool)` - -GetTagsOk returns a tuple with the Tags field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetTags - -`func (o *PackagesValidateUploadDeb) SetTags(v string)` - -SetTags sets Tags field to given value. - -### HasTags - -`func (o *PackagesValidateUploadDeb) HasTags() bool` - -HasTags 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/docs/PackagesValidateUploadLuarocks.md b/docs/PackagesValidateUploadLuarocks.md deleted file mode 100644 index d02356ff..00000000 --- a/docs/PackagesValidateUploadLuarocks.md +++ /dev/null @@ -1,103 +0,0 @@ -# PackagesValidateUploadLuarocks - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**PackageFile** | **string** | The primary file for the package. | -**Republish** | Pointer to **bool** | If true, the uploaded package will overwrite any others with the same attributes (e.g. same version); otherwise, it will be flagged as a duplicate. | [optional] -**Tags** | Pointer to **string** | A comma-separated values list of tags to add to the package. | [optional] - -## Methods - -### NewPackagesValidateUploadLuarocks - -`func NewPackagesValidateUploadLuarocks(packageFile string, ) *PackagesValidateUploadLuarocks` - -NewPackagesValidateUploadLuarocks instantiates a new PackagesValidateUploadLuarocks object -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 - -### NewPackagesValidateUploadLuarocksWithDefaults - -`func NewPackagesValidateUploadLuarocksWithDefaults() *PackagesValidateUploadLuarocks` - -NewPackagesValidateUploadLuarocksWithDefaults instantiates a new PackagesValidateUploadLuarocks object -This constructor will only assign default values to properties that have it defined, -but it doesn't guarantee that properties required by API are set - -### GetPackageFile - -`func (o *PackagesValidateUploadLuarocks) GetPackageFile() string` - -GetPackageFile returns the PackageFile field if non-nil, zero value otherwise. - -### GetPackageFileOk - -`func (o *PackagesValidateUploadLuarocks) GetPackageFileOk() (*string, bool)` - -GetPackageFileOk returns a tuple with the PackageFile field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetPackageFile - -`func (o *PackagesValidateUploadLuarocks) SetPackageFile(v string)` - -SetPackageFile sets PackageFile field to given value. - - -### GetRepublish - -`func (o *PackagesValidateUploadLuarocks) GetRepublish() bool` - -GetRepublish returns the Republish field if non-nil, zero value otherwise. - -### GetRepublishOk - -`func (o *PackagesValidateUploadLuarocks) GetRepublishOk() (*bool, bool)` - -GetRepublishOk returns a tuple with the Republish field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetRepublish - -`func (o *PackagesValidateUploadLuarocks) SetRepublish(v bool)` - -SetRepublish sets Republish field to given value. - -### HasRepublish - -`func (o *PackagesValidateUploadLuarocks) HasRepublish() bool` - -HasRepublish returns a boolean if a field has been set. - -### GetTags - -`func (o *PackagesValidateUploadLuarocks) GetTags() string` - -GetTags returns the Tags field if non-nil, zero value otherwise. - -### GetTagsOk - -`func (o *PackagesValidateUploadLuarocks) GetTagsOk() (*string, bool)` - -GetTagsOk returns a tuple with the Tags field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetTags - -`func (o *PackagesValidateUploadLuarocks) SetTags(v string)` - -SetTags sets Tags field to given value. - -### HasTags - -`func (o *PackagesValidateUploadLuarocks) HasTags() bool` - -HasTags 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/docs/PackagesValidateUploadMaven.md b/docs/PackagesValidateUploadMaven.md deleted file mode 100644 index 4597fcc2..00000000 --- a/docs/PackagesValidateUploadMaven.md +++ /dev/null @@ -1,311 +0,0 @@ -# PackagesValidateUploadMaven - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**ArtifactId** | Pointer to **string** | The ID of the artifact. | [optional] -**GroupId** | Pointer to **string** | Artifact's group ID. | [optional] -**JavadocFile** | Pointer to **string** | Adds bundled Java documentation to the Maven package | [optional] -**PackageFile** | **string** | The primary file for the package. | -**Packaging** | Pointer to **string** | Artifact's Maven packaging type. | [optional] -**PomFile** | Pointer to **string** | The POM file is an XML file containing the Maven coordinates. | [optional] -**Republish** | Pointer to **bool** | If true, the uploaded package will overwrite any others with the same attributes (e.g. same version); otherwise, it will be flagged as a duplicate. | [optional] -**SourcesFile** | Pointer to **string** | Adds bundled Java source code to the Maven package. | [optional] -**Tags** | Pointer to **string** | A comma-separated values list of tags to add to the package. | [optional] -**TestsFile** | Pointer to **string** | Adds bundled Java tests to the Maven package. | [optional] -**Version** | Pointer to **string** | The raw version for this package. | [optional] - -## Methods - -### NewPackagesValidateUploadMaven - -`func NewPackagesValidateUploadMaven(packageFile string, ) *PackagesValidateUploadMaven` - -NewPackagesValidateUploadMaven instantiates a new PackagesValidateUploadMaven object -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 - -### NewPackagesValidateUploadMavenWithDefaults - -`func NewPackagesValidateUploadMavenWithDefaults() *PackagesValidateUploadMaven` - -NewPackagesValidateUploadMavenWithDefaults instantiates a new PackagesValidateUploadMaven object -This constructor will only assign default values to properties that have it defined, -but it doesn't guarantee that properties required by API are set - -### GetArtifactId - -`func (o *PackagesValidateUploadMaven) GetArtifactId() string` - -GetArtifactId returns the ArtifactId field if non-nil, zero value otherwise. - -### GetArtifactIdOk - -`func (o *PackagesValidateUploadMaven) GetArtifactIdOk() (*string, bool)` - -GetArtifactIdOk returns a tuple with the ArtifactId field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetArtifactId - -`func (o *PackagesValidateUploadMaven) SetArtifactId(v string)` - -SetArtifactId sets ArtifactId field to given value. - -### HasArtifactId - -`func (o *PackagesValidateUploadMaven) HasArtifactId() bool` - -HasArtifactId returns a boolean if a field has been set. - -### GetGroupId - -`func (o *PackagesValidateUploadMaven) GetGroupId() string` - -GetGroupId returns the GroupId field if non-nil, zero value otherwise. - -### GetGroupIdOk - -`func (o *PackagesValidateUploadMaven) GetGroupIdOk() (*string, bool)` - -GetGroupIdOk returns a tuple with the GroupId field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetGroupId - -`func (o *PackagesValidateUploadMaven) SetGroupId(v string)` - -SetGroupId sets GroupId field to given value. - -### HasGroupId - -`func (o *PackagesValidateUploadMaven) HasGroupId() bool` - -HasGroupId returns a boolean if a field has been set. - -### GetJavadocFile - -`func (o *PackagesValidateUploadMaven) GetJavadocFile() string` - -GetJavadocFile returns the JavadocFile field if non-nil, zero value otherwise. - -### GetJavadocFileOk - -`func (o *PackagesValidateUploadMaven) GetJavadocFileOk() (*string, bool)` - -GetJavadocFileOk returns a tuple with the JavadocFile field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetJavadocFile - -`func (o *PackagesValidateUploadMaven) SetJavadocFile(v string)` - -SetJavadocFile sets JavadocFile field to given value. - -### HasJavadocFile - -`func (o *PackagesValidateUploadMaven) HasJavadocFile() bool` - -HasJavadocFile returns a boolean if a field has been set. - -### GetPackageFile - -`func (o *PackagesValidateUploadMaven) GetPackageFile() string` - -GetPackageFile returns the PackageFile field if non-nil, zero value otherwise. - -### GetPackageFileOk - -`func (o *PackagesValidateUploadMaven) GetPackageFileOk() (*string, bool)` - -GetPackageFileOk returns a tuple with the PackageFile field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetPackageFile - -`func (o *PackagesValidateUploadMaven) SetPackageFile(v string)` - -SetPackageFile sets PackageFile field to given value. - - -### GetPackaging - -`func (o *PackagesValidateUploadMaven) GetPackaging() string` - -GetPackaging returns the Packaging field if non-nil, zero value otherwise. - -### GetPackagingOk - -`func (o *PackagesValidateUploadMaven) GetPackagingOk() (*string, bool)` - -GetPackagingOk returns a tuple with the Packaging field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetPackaging - -`func (o *PackagesValidateUploadMaven) SetPackaging(v string)` - -SetPackaging sets Packaging field to given value. - -### HasPackaging - -`func (o *PackagesValidateUploadMaven) HasPackaging() bool` - -HasPackaging returns a boolean if a field has been set. - -### GetPomFile - -`func (o *PackagesValidateUploadMaven) GetPomFile() string` - -GetPomFile returns the PomFile field if non-nil, zero value otherwise. - -### GetPomFileOk - -`func (o *PackagesValidateUploadMaven) GetPomFileOk() (*string, bool)` - -GetPomFileOk returns a tuple with the PomFile field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetPomFile - -`func (o *PackagesValidateUploadMaven) SetPomFile(v string)` - -SetPomFile sets PomFile field to given value. - -### HasPomFile - -`func (o *PackagesValidateUploadMaven) HasPomFile() bool` - -HasPomFile returns a boolean if a field has been set. - -### GetRepublish - -`func (o *PackagesValidateUploadMaven) GetRepublish() bool` - -GetRepublish returns the Republish field if non-nil, zero value otherwise. - -### GetRepublishOk - -`func (o *PackagesValidateUploadMaven) GetRepublishOk() (*bool, bool)` - -GetRepublishOk returns a tuple with the Republish field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetRepublish - -`func (o *PackagesValidateUploadMaven) SetRepublish(v bool)` - -SetRepublish sets Republish field to given value. - -### HasRepublish - -`func (o *PackagesValidateUploadMaven) HasRepublish() bool` - -HasRepublish returns a boolean if a field has been set. - -### GetSourcesFile - -`func (o *PackagesValidateUploadMaven) GetSourcesFile() string` - -GetSourcesFile returns the SourcesFile field if non-nil, zero value otherwise. - -### GetSourcesFileOk - -`func (o *PackagesValidateUploadMaven) GetSourcesFileOk() (*string, bool)` - -GetSourcesFileOk returns a tuple with the SourcesFile field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetSourcesFile - -`func (o *PackagesValidateUploadMaven) SetSourcesFile(v string)` - -SetSourcesFile sets SourcesFile field to given value. - -### HasSourcesFile - -`func (o *PackagesValidateUploadMaven) HasSourcesFile() bool` - -HasSourcesFile returns a boolean if a field has been set. - -### GetTags - -`func (o *PackagesValidateUploadMaven) GetTags() string` - -GetTags returns the Tags field if non-nil, zero value otherwise. - -### GetTagsOk - -`func (o *PackagesValidateUploadMaven) GetTagsOk() (*string, bool)` - -GetTagsOk returns a tuple with the Tags field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetTags - -`func (o *PackagesValidateUploadMaven) SetTags(v string)` - -SetTags sets Tags field to given value. - -### HasTags - -`func (o *PackagesValidateUploadMaven) HasTags() bool` - -HasTags returns a boolean if a field has been set. - -### GetTestsFile - -`func (o *PackagesValidateUploadMaven) GetTestsFile() string` - -GetTestsFile returns the TestsFile field if non-nil, zero value otherwise. - -### GetTestsFileOk - -`func (o *PackagesValidateUploadMaven) GetTestsFileOk() (*string, bool)` - -GetTestsFileOk returns a tuple with the TestsFile field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetTestsFile - -`func (o *PackagesValidateUploadMaven) SetTestsFile(v string)` - -SetTestsFile sets TestsFile field to given value. - -### HasTestsFile - -`func (o *PackagesValidateUploadMaven) HasTestsFile() bool` - -HasTestsFile returns a boolean if a field has been set. - -### GetVersion - -`func (o *PackagesValidateUploadMaven) GetVersion() string` - -GetVersion returns the Version field if non-nil, zero value otherwise. - -### GetVersionOk - -`func (o *PackagesValidateUploadMaven) GetVersionOk() (*string, bool)` - -GetVersionOk returns a tuple with the Version field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetVersion - -`func (o *PackagesValidateUploadMaven) SetVersion(v string)` - -SetVersion sets Version field to given value. - -### HasVersion - -`func (o *PackagesValidateUploadMaven) HasVersion() bool` - -HasVersion 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/docs/PackagesValidateUploadNpm.md b/docs/PackagesValidateUploadNpm.md deleted file mode 100644 index cdb617d5..00000000 --- a/docs/PackagesValidateUploadNpm.md +++ /dev/null @@ -1,129 +0,0 @@ -# PackagesValidateUploadNpm - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**NpmDistTag** | Pointer to **string** | The default npm dist-tag for this package/version - This will replace any other package/version if they are using the same tag. | [optional] -**PackageFile** | **string** | The primary file for the package. | -**Republish** | Pointer to **bool** | If true, the uploaded package will overwrite any others with the same attributes (e.g. same version); otherwise, it will be flagged as a duplicate. | [optional] -**Tags** | Pointer to **string** | A comma-separated values list of tags to add to the package. | [optional] - -## Methods - -### NewPackagesValidateUploadNpm - -`func NewPackagesValidateUploadNpm(packageFile string, ) *PackagesValidateUploadNpm` - -NewPackagesValidateUploadNpm instantiates a new PackagesValidateUploadNpm object -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 - -### NewPackagesValidateUploadNpmWithDefaults - -`func NewPackagesValidateUploadNpmWithDefaults() *PackagesValidateUploadNpm` - -NewPackagesValidateUploadNpmWithDefaults instantiates a new PackagesValidateUploadNpm object -This constructor will only assign default values to properties that have it defined, -but it doesn't guarantee that properties required by API are set - -### GetNpmDistTag - -`func (o *PackagesValidateUploadNpm) GetNpmDistTag() string` - -GetNpmDistTag returns the NpmDistTag field if non-nil, zero value otherwise. - -### GetNpmDistTagOk - -`func (o *PackagesValidateUploadNpm) GetNpmDistTagOk() (*string, bool)` - -GetNpmDistTagOk returns a tuple with the NpmDistTag field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetNpmDistTag - -`func (o *PackagesValidateUploadNpm) SetNpmDistTag(v string)` - -SetNpmDistTag sets NpmDistTag field to given value. - -### HasNpmDistTag - -`func (o *PackagesValidateUploadNpm) HasNpmDistTag() bool` - -HasNpmDistTag returns a boolean if a field has been set. - -### GetPackageFile - -`func (o *PackagesValidateUploadNpm) GetPackageFile() string` - -GetPackageFile returns the PackageFile field if non-nil, zero value otherwise. - -### GetPackageFileOk - -`func (o *PackagesValidateUploadNpm) GetPackageFileOk() (*string, bool)` - -GetPackageFileOk returns a tuple with the PackageFile field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetPackageFile - -`func (o *PackagesValidateUploadNpm) SetPackageFile(v string)` - -SetPackageFile sets PackageFile field to given value. - - -### GetRepublish - -`func (o *PackagesValidateUploadNpm) GetRepublish() bool` - -GetRepublish returns the Republish field if non-nil, zero value otherwise. - -### GetRepublishOk - -`func (o *PackagesValidateUploadNpm) GetRepublishOk() (*bool, bool)` - -GetRepublishOk returns a tuple with the Republish field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetRepublish - -`func (o *PackagesValidateUploadNpm) SetRepublish(v bool)` - -SetRepublish sets Republish field to given value. - -### HasRepublish - -`func (o *PackagesValidateUploadNpm) HasRepublish() bool` - -HasRepublish returns a boolean if a field has been set. - -### GetTags - -`func (o *PackagesValidateUploadNpm) GetTags() string` - -GetTags returns the Tags field if non-nil, zero value otherwise. - -### GetTagsOk - -`func (o *PackagesValidateUploadNpm) GetTagsOk() (*string, bool)` - -GetTagsOk returns a tuple with the Tags field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetTags - -`func (o *PackagesValidateUploadNpm) SetTags(v string)` - -SetTags sets Tags field to given value. - -### HasTags - -`func (o *PackagesValidateUploadNpm) HasTags() bool` - -HasTags 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/docs/PackagesValidateUploadRaw.md b/docs/PackagesValidateUploadRaw.md deleted file mode 100644 index 5c99cdcc..00000000 --- a/docs/PackagesValidateUploadRaw.md +++ /dev/null @@ -1,233 +0,0 @@ -# PackagesValidateUploadRaw - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**ContentType** | Pointer to **string** | A custom content/media (also known as MIME) type to be sent when downloading this file. By default Cloudsmith will attempt to detect the type, but if you need to override it, you can specify it here. | [optional] -**Description** | Pointer to **string** | A textual description of this package. | [optional] -**Name** | Pointer to **string** | The name of this package. | [optional] -**PackageFile** | **string** | The primary file for the package. | -**Republish** | Pointer to **bool** | If true, the uploaded package will overwrite any others with the same attributes (e.g. same version); otherwise, it will be flagged as a duplicate. | [optional] -**Summary** | Pointer to **string** | A one-liner synopsis of this package. | [optional] -**Tags** | Pointer to **string** | A comma-separated values list of tags to add to the package. | [optional] -**Version** | Pointer to **string** | The raw version for this package. | [optional] - -## Methods - -### NewPackagesValidateUploadRaw - -`func NewPackagesValidateUploadRaw(packageFile string, ) *PackagesValidateUploadRaw` - -NewPackagesValidateUploadRaw instantiates a new PackagesValidateUploadRaw object -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 - -### NewPackagesValidateUploadRawWithDefaults - -`func NewPackagesValidateUploadRawWithDefaults() *PackagesValidateUploadRaw` - -NewPackagesValidateUploadRawWithDefaults instantiates a new PackagesValidateUploadRaw object -This constructor will only assign default values to properties that have it defined, -but it doesn't guarantee that properties required by API are set - -### GetContentType - -`func (o *PackagesValidateUploadRaw) GetContentType() string` - -GetContentType returns the ContentType field if non-nil, zero value otherwise. - -### GetContentTypeOk - -`func (o *PackagesValidateUploadRaw) GetContentTypeOk() (*string, bool)` - -GetContentTypeOk returns a tuple with the ContentType field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetContentType - -`func (o *PackagesValidateUploadRaw) SetContentType(v string)` - -SetContentType sets ContentType field to given value. - -### HasContentType - -`func (o *PackagesValidateUploadRaw) HasContentType() bool` - -HasContentType returns a boolean if a field has been set. - -### GetDescription - -`func (o *PackagesValidateUploadRaw) GetDescription() string` - -GetDescription returns the Description field if non-nil, zero value otherwise. - -### GetDescriptionOk - -`func (o *PackagesValidateUploadRaw) GetDescriptionOk() (*string, bool)` - -GetDescriptionOk returns a tuple with the Description field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetDescription - -`func (o *PackagesValidateUploadRaw) SetDescription(v string)` - -SetDescription sets Description field to given value. - -### HasDescription - -`func (o *PackagesValidateUploadRaw) HasDescription() bool` - -HasDescription returns a boolean if a field has been set. - -### GetName - -`func (o *PackagesValidateUploadRaw) GetName() string` - -GetName returns the Name field if non-nil, zero value otherwise. - -### GetNameOk - -`func (o *PackagesValidateUploadRaw) GetNameOk() (*string, bool)` - -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. - -### SetName - -`func (o *PackagesValidateUploadRaw) SetName(v string)` - -SetName sets Name field to given value. - -### HasName - -`func (o *PackagesValidateUploadRaw) HasName() bool` - -HasName returns a boolean if a field has been set. - -### GetPackageFile - -`func (o *PackagesValidateUploadRaw) GetPackageFile() string` - -GetPackageFile returns the PackageFile field if non-nil, zero value otherwise. - -### GetPackageFileOk - -`func (o *PackagesValidateUploadRaw) GetPackageFileOk() (*string, bool)` - -GetPackageFileOk returns a tuple with the PackageFile field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetPackageFile - -`func (o *PackagesValidateUploadRaw) SetPackageFile(v string)` - -SetPackageFile sets PackageFile field to given value. - - -### GetRepublish - -`func (o *PackagesValidateUploadRaw) GetRepublish() bool` - -GetRepublish returns the Republish field if non-nil, zero value otherwise. - -### GetRepublishOk - -`func (o *PackagesValidateUploadRaw) GetRepublishOk() (*bool, bool)` - -GetRepublishOk returns a tuple with the Republish field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetRepublish - -`func (o *PackagesValidateUploadRaw) SetRepublish(v bool)` - -SetRepublish sets Republish field to given value. - -### HasRepublish - -`func (o *PackagesValidateUploadRaw) HasRepublish() bool` - -HasRepublish returns a boolean if a field has been set. - -### GetSummary - -`func (o *PackagesValidateUploadRaw) GetSummary() string` - -GetSummary returns the Summary field if non-nil, zero value otherwise. - -### GetSummaryOk - -`func (o *PackagesValidateUploadRaw) GetSummaryOk() (*string, bool)` - -GetSummaryOk returns a tuple with the Summary field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetSummary - -`func (o *PackagesValidateUploadRaw) SetSummary(v string)` - -SetSummary sets Summary field to given value. - -### HasSummary - -`func (o *PackagesValidateUploadRaw) HasSummary() bool` - -HasSummary returns a boolean if a field has been set. - -### GetTags - -`func (o *PackagesValidateUploadRaw) GetTags() string` - -GetTags returns the Tags field if non-nil, zero value otherwise. - -### GetTagsOk - -`func (o *PackagesValidateUploadRaw) GetTagsOk() (*string, bool)` - -GetTagsOk returns a tuple with the Tags field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetTags - -`func (o *PackagesValidateUploadRaw) SetTags(v string)` - -SetTags sets Tags field to given value. - -### HasTags - -`func (o *PackagesValidateUploadRaw) HasTags() bool` - -HasTags returns a boolean if a field has been set. - -### GetVersion - -`func (o *PackagesValidateUploadRaw) GetVersion() string` - -GetVersion returns the Version field if non-nil, zero value otherwise. - -### GetVersionOk - -`func (o *PackagesValidateUploadRaw) GetVersionOk() (*string, bool)` - -GetVersionOk returns a tuple with the Version field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetVersion - -`func (o *PackagesValidateUploadRaw) SetVersion(v string)` - -SetVersion sets Version field to given value. - -### HasVersion - -`func (o *PackagesValidateUploadRaw) HasVersion() bool` - -HasVersion 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/docs/PackagesValidateUploadTerraform.md b/docs/PackagesValidateUploadTerraform.md deleted file mode 100644 index ddd2f689..00000000 --- a/docs/PackagesValidateUploadTerraform.md +++ /dev/null @@ -1,103 +0,0 @@ -# PackagesValidateUploadTerraform - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**PackageFile** | **string** | The primary file for the package. | -**Republish** | Pointer to **bool** | If true, the uploaded package will overwrite any others with the same attributes (e.g. same version); otherwise, it will be flagged as a duplicate. | [optional] -**Tags** | Pointer to **string** | A comma-separated values list of tags to add to the package. | [optional] - -## Methods - -### NewPackagesValidateUploadTerraform - -`func NewPackagesValidateUploadTerraform(packageFile string, ) *PackagesValidateUploadTerraform` - -NewPackagesValidateUploadTerraform instantiates a new PackagesValidateUploadTerraform object -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 - -### NewPackagesValidateUploadTerraformWithDefaults - -`func NewPackagesValidateUploadTerraformWithDefaults() *PackagesValidateUploadTerraform` - -NewPackagesValidateUploadTerraformWithDefaults instantiates a new PackagesValidateUploadTerraform object -This constructor will only assign default values to properties that have it defined, -but it doesn't guarantee that properties required by API are set - -### GetPackageFile - -`func (o *PackagesValidateUploadTerraform) GetPackageFile() string` - -GetPackageFile returns the PackageFile field if non-nil, zero value otherwise. - -### GetPackageFileOk - -`func (o *PackagesValidateUploadTerraform) GetPackageFileOk() (*string, bool)` - -GetPackageFileOk returns a tuple with the PackageFile field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetPackageFile - -`func (o *PackagesValidateUploadTerraform) SetPackageFile(v string)` - -SetPackageFile sets PackageFile field to given value. - - -### GetRepublish - -`func (o *PackagesValidateUploadTerraform) GetRepublish() bool` - -GetRepublish returns the Republish field if non-nil, zero value otherwise. - -### GetRepublishOk - -`func (o *PackagesValidateUploadTerraform) GetRepublishOk() (*bool, bool)` - -GetRepublishOk returns a tuple with the Republish field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetRepublish - -`func (o *PackagesValidateUploadTerraform) SetRepublish(v bool)` - -SetRepublish sets Republish field to given value. - -### HasRepublish - -`func (o *PackagesValidateUploadTerraform) HasRepublish() bool` - -HasRepublish returns a boolean if a field has been set. - -### GetTags - -`func (o *PackagesValidateUploadTerraform) GetTags() string` - -GetTags returns the Tags field if non-nil, zero value otherwise. - -### GetTagsOk - -`func (o *PackagesValidateUploadTerraform) GetTagsOk() (*string, bool)` - -GetTagsOk returns a tuple with the Tags field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetTags - -`func (o *PackagesValidateUploadTerraform) SetTags(v string)` - -SetTags sets Tags field to given value. - -### HasTags - -`func (o *PackagesValidateUploadTerraform) HasTags() bool` - -HasTags 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/docs/PackagesValidateUploadVagrant.md b/docs/PackagesValidateUploadVagrant.md deleted file mode 100644 index bc98dc28..00000000 --- a/docs/PackagesValidateUploadVagrant.md +++ /dev/null @@ -1,166 +0,0 @@ -# PackagesValidateUploadVagrant - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**Name** | **string** | The name of this package. | -**PackageFile** | **string** | The primary file for the package. | -**Provider** | **string** | The virtual machine provider for the box. | -**Republish** | Pointer to **bool** | If true, the uploaded package will overwrite any others with the same attributes (e.g. same version); otherwise, it will be flagged as a duplicate. | [optional] -**Tags** | Pointer to **string** | A comma-separated values list of tags to add to the package. | [optional] -**Version** | **string** | The raw version for this package. | - -## Methods - -### NewPackagesValidateUploadVagrant - -`func NewPackagesValidateUploadVagrant(name string, packageFile string, provider string, version string, ) *PackagesValidateUploadVagrant` - -NewPackagesValidateUploadVagrant instantiates a new PackagesValidateUploadVagrant object -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 - -### NewPackagesValidateUploadVagrantWithDefaults - -`func NewPackagesValidateUploadVagrantWithDefaults() *PackagesValidateUploadVagrant` - -NewPackagesValidateUploadVagrantWithDefaults instantiates a new PackagesValidateUploadVagrant object -This constructor will only assign default values to properties that have it defined, -but it doesn't guarantee that properties required by API are set - -### GetName - -`func (o *PackagesValidateUploadVagrant) GetName() string` - -GetName returns the Name field if non-nil, zero value otherwise. - -### GetNameOk - -`func (o *PackagesValidateUploadVagrant) GetNameOk() (*string, bool)` - -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. - -### SetName - -`func (o *PackagesValidateUploadVagrant) SetName(v string)` - -SetName sets Name field to given value. - - -### GetPackageFile - -`func (o *PackagesValidateUploadVagrant) GetPackageFile() string` - -GetPackageFile returns the PackageFile field if non-nil, zero value otherwise. - -### GetPackageFileOk - -`func (o *PackagesValidateUploadVagrant) GetPackageFileOk() (*string, bool)` - -GetPackageFileOk returns a tuple with the PackageFile field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetPackageFile - -`func (o *PackagesValidateUploadVagrant) SetPackageFile(v string)` - -SetPackageFile sets PackageFile field to given value. - - -### GetProvider - -`func (o *PackagesValidateUploadVagrant) GetProvider() string` - -GetProvider returns the Provider field if non-nil, zero value otherwise. - -### GetProviderOk - -`func (o *PackagesValidateUploadVagrant) GetProviderOk() (*string, bool)` - -GetProviderOk returns a tuple with the Provider field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetProvider - -`func (o *PackagesValidateUploadVagrant) SetProvider(v string)` - -SetProvider sets Provider field to given value. - - -### GetRepublish - -`func (o *PackagesValidateUploadVagrant) GetRepublish() bool` - -GetRepublish returns the Republish field if non-nil, zero value otherwise. - -### GetRepublishOk - -`func (o *PackagesValidateUploadVagrant) GetRepublishOk() (*bool, bool)` - -GetRepublishOk returns a tuple with the Republish field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetRepublish - -`func (o *PackagesValidateUploadVagrant) SetRepublish(v bool)` - -SetRepublish sets Republish field to given value. - -### HasRepublish - -`func (o *PackagesValidateUploadVagrant) HasRepublish() bool` - -HasRepublish returns a boolean if a field has been set. - -### GetTags - -`func (o *PackagesValidateUploadVagrant) GetTags() string` - -GetTags returns the Tags field if non-nil, zero value otherwise. - -### GetTagsOk - -`func (o *PackagesValidateUploadVagrant) GetTagsOk() (*string, bool)` - -GetTagsOk returns a tuple with the Tags field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetTags - -`func (o *PackagesValidateUploadVagrant) SetTags(v string)` - -SetTags sets Tags field to given value. - -### HasTags - -`func (o *PackagesValidateUploadVagrant) HasTags() bool` - -HasTags returns a boolean if a field has been set. - -### GetVersion - -`func (o *PackagesValidateUploadVagrant) GetVersion() string` - -GetVersion returns the Version field if non-nil, zero value otherwise. - -### GetVersionOk - -`func (o *PackagesValidateUploadVagrant) GetVersionOk() (*string, bool)` - -GetVersionOk returns a tuple with the Version field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetVersion - -`func (o *PackagesValidateUploadVagrant) SetVersion(v string)` - -SetVersion sets Version field to given value. - - - -[[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/docs/PackagesValidateUploadHelm.md b/docs/PythonPackageUploadRequest.md similarity index 57% rename from docs/PackagesValidateUploadHelm.md rename to docs/PythonPackageUploadRequest.md index b1ae0b04..3ef67bfe 100644 --- a/docs/PackagesValidateUploadHelm.md +++ b/docs/PythonPackageUploadRequest.md @@ -1,4 +1,4 @@ -# PackagesValidateUploadHelm +# PythonPackageUploadRequest ## Properties @@ -6,97 +6,107 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **PackageFile** | **string** | The primary file for the package. | **Republish** | Pointer to **bool** | If true, the uploaded package will overwrite any others with the same attributes (e.g. same version); otherwise, it will be flagged as a duplicate. | [optional] -**Tags** | Pointer to **string** | A comma-separated values list of tags to add to the package. | [optional] +**Tags** | Pointer to **NullableString** | A comma-separated values list of tags to add to the package. | [optional] ## Methods -### NewPackagesValidateUploadHelm +### NewPythonPackageUploadRequest -`func NewPackagesValidateUploadHelm(packageFile string, ) *PackagesValidateUploadHelm` +`func NewPythonPackageUploadRequest(packageFile string, ) *PythonPackageUploadRequest` -NewPackagesValidateUploadHelm instantiates a new PackagesValidateUploadHelm object +NewPythonPackageUploadRequest instantiates a new PythonPackageUploadRequest object 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 -### NewPackagesValidateUploadHelmWithDefaults +### NewPythonPackageUploadRequestWithDefaults -`func NewPackagesValidateUploadHelmWithDefaults() *PackagesValidateUploadHelm` +`func NewPythonPackageUploadRequestWithDefaults() *PythonPackageUploadRequest` -NewPackagesValidateUploadHelmWithDefaults instantiates a new PackagesValidateUploadHelm object +NewPythonPackageUploadRequestWithDefaults instantiates a new PythonPackageUploadRequest object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set ### GetPackageFile -`func (o *PackagesValidateUploadHelm) GetPackageFile() string` +`func (o *PythonPackageUploadRequest) GetPackageFile() string` GetPackageFile returns the PackageFile field if non-nil, zero value otherwise. ### GetPackageFileOk -`func (o *PackagesValidateUploadHelm) GetPackageFileOk() (*string, bool)` +`func (o *PythonPackageUploadRequest) GetPackageFileOk() (*string, bool)` GetPackageFileOk returns a tuple with the PackageFile field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetPackageFile -`func (o *PackagesValidateUploadHelm) SetPackageFile(v string)` +`func (o *PythonPackageUploadRequest) SetPackageFile(v string)` SetPackageFile sets PackageFile field to given value. ### GetRepublish -`func (o *PackagesValidateUploadHelm) GetRepublish() bool` +`func (o *PythonPackageUploadRequest) GetRepublish() bool` GetRepublish returns the Republish field if non-nil, zero value otherwise. ### GetRepublishOk -`func (o *PackagesValidateUploadHelm) GetRepublishOk() (*bool, bool)` +`func (o *PythonPackageUploadRequest) GetRepublishOk() (*bool, bool)` GetRepublishOk returns a tuple with the Republish field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetRepublish -`func (o *PackagesValidateUploadHelm) SetRepublish(v bool)` +`func (o *PythonPackageUploadRequest) SetRepublish(v bool)` SetRepublish sets Republish field to given value. ### HasRepublish -`func (o *PackagesValidateUploadHelm) HasRepublish() bool` +`func (o *PythonPackageUploadRequest) HasRepublish() bool` HasRepublish returns a boolean if a field has been set. ### GetTags -`func (o *PackagesValidateUploadHelm) GetTags() string` +`func (o *PythonPackageUploadRequest) GetTags() string` GetTags returns the Tags field if non-nil, zero value otherwise. ### GetTagsOk -`func (o *PackagesValidateUploadHelm) GetTagsOk() (*string, bool)` +`func (o *PythonPackageUploadRequest) GetTagsOk() (*string, bool)` GetTagsOk returns a tuple with the Tags field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetTags -`func (o *PackagesValidateUploadHelm) SetTags(v string)` +`func (o *PythonPackageUploadRequest) SetTags(v string)` SetTags sets Tags field to given value. ### HasTags -`func (o *PackagesValidateUploadHelm) HasTags() bool` +`func (o *PythonPackageUploadRequest) HasTags() bool` HasTags returns a boolean if a field has been set. +### SetTagsNil + +`func (o *PythonPackageUploadRequest) SetTagsNil(b bool)` + + SetTagsNil sets the value for Tags to be an explicit nil + +### UnsetTags +`func (o *PythonPackageUploadRequest) UnsetTags()` + +UnsetTags ensures that no value is present for Tags, 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/docs/PythonPackageUploadResponse.md b/docs/PythonPackageUploadResponse.md new file mode 100644 index 00000000..b0c07ead --- /dev/null +++ b/docs/PythonPackageUploadResponse.md @@ -0,0 +1,1838 @@ +# PythonPackageUploadResponse + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Architectures** | Pointer to [**[]Architecture**](Architecture.md) | | [optional] [readonly] +**CdnUrl** | Pointer to **NullableString** | | [optional] [readonly] +**ChecksumMd5** | Pointer to **string** | | [optional] [readonly] +**ChecksumSha1** | Pointer to **string** | | [optional] [readonly] +**ChecksumSha256** | Pointer to **string** | | [optional] [readonly] +**ChecksumSha512** | Pointer to **string** | | [optional] [readonly] +**DependenciesChecksumMd5** | Pointer to **string** | A checksum of all of the package's dependencies. | [optional] [readonly] +**DependenciesUrl** | Pointer to **string** | | [optional] [readonly] +**Description** | Pointer to **string** | A textual description of this package. | [optional] [readonly] +**Distro** | Pointer to [**NullableDistribution**](Distribution.md) | | [optional] +**DistroVersion** | Pointer to [**DistributionVersion**](DistributionVersion.md) | | [optional] +**Downloads** | Pointer to **int64** | | [optional] [readonly] +**Epoch** | Pointer to **int64** | The epoch of the package version (if any). | [optional] [readonly] +**Extension** | Pointer to **string** | | [optional] [readonly] +**Filename** | Pointer to **string** | | [optional] [readonly] +**Files** | Pointer to [**[]PackageFile**](PackageFile.md) | | [optional] [readonly] +**Format** | Pointer to **string** | | [optional] [readonly] +**FormatUrl** | Pointer to **string** | | [optional] [readonly] +**IdentifierPerm** | Pointer to **string** | Unique and permanent identifier for the package. | [optional] [readonly] +**Indexed** | Pointer to **bool** | | [optional] [readonly] +**IsDownloadable** | Pointer to **bool** | | [optional] [readonly] +**IsQuarantined** | Pointer to **bool** | | [optional] [readonly] +**IsSyncAwaiting** | Pointer to **bool** | | [optional] [readonly] +**IsSyncCompleted** | Pointer to **bool** | | [optional] [readonly] +**IsSyncFailed** | Pointer to **bool** | | [optional] [readonly] +**IsSyncInFlight** | Pointer to **bool** | | [optional] [readonly] +**IsSyncInProgress** | Pointer to **bool** | | [optional] [readonly] +**License** | Pointer to **string** | The license of this package. | [optional] [readonly] +**Name** | Pointer to **string** | The name of this package. | [optional] [readonly] +**Namespace** | Pointer to **string** | | [optional] [readonly] +**NamespaceUrl** | Pointer to **string** | | [optional] [readonly] +**NumFiles** | Pointer to **int64** | | [optional] [readonly] +**OriginRepository** | Pointer to **string** | | [optional] [readonly] +**OriginRepositoryUrl** | Pointer to **string** | | [optional] [readonly] +**PackageType** | Pointer to **int64** | The type of package contents. | [optional] [readonly] +**Release** | Pointer to **string** | The release of the package version (if any). | [optional] [readonly] +**Repository** | Pointer to **string** | | [optional] [readonly] +**RepositoryUrl** | Pointer to **string** | | [optional] [readonly] +**SecurityScanCompletedAt** | Pointer to **time.Time** | The datetime the security scanning was completed. | [optional] [readonly] +**SecurityScanStartedAt** | Pointer to **time.Time** | The datetime the security scanning was started. | [optional] [readonly] +**SecurityScanStatus** | Pointer to **NullableString** | | [optional] [readonly] [default to "Awaiting Security Scan"] +**SecurityScanStatusUpdatedAt** | Pointer to **time.Time** | The datetime the security scanning status was updated. | [optional] [readonly] +**SelfHtmlUrl** | Pointer to **string** | | [optional] [readonly] +**SelfUrl** | Pointer to **string** | | [optional] [readonly] +**SignatureUrl** | Pointer to **NullableString** | | [optional] [readonly] +**Size** | Pointer to **int64** | The calculated size of the package. | [optional] [readonly] +**Slug** | Pointer to **string** | The public unique identifier for the package. | [optional] [readonly] +**SlugPerm** | Pointer to **string** | | [optional] [readonly] +**Stage** | Pointer to **int64** | The synchronisation (in progress) stage of the package. | [optional] [readonly] +**StageStr** | Pointer to **string** | | [optional] [readonly] +**StageUpdatedAt** | Pointer to **time.Time** | The datetime the package stage was updated at. | [optional] [readonly] +**Status** | Pointer to **int64** | The synchronisation status of the package. | [optional] [readonly] +**StatusReason** | Pointer to **string** | A textual description for the synchronous status reason (if any | [optional] [readonly] +**StatusStr** | Pointer to **string** | | [optional] [readonly] +**StatusUpdatedAt** | Pointer to **time.Time** | The datetime the package status was updated at. | [optional] [readonly] +**StatusUrl** | Pointer to **string** | | [optional] [readonly] +**Subtype** | Pointer to **string** | | [optional] [readonly] +**Summary** | Pointer to **string** | A one-liner synopsis of this package. | [optional] [readonly] +**SyncFinishedAt** | Pointer to **time.Time** | The datetime the package sync was finished at. | [optional] [readonly] +**SyncProgress** | Pointer to **int64** | Synchronisation progress (from 0-100) | [optional] [readonly] +**TagsImmutable** | Pointer to **map[string]interface{}** | All tags on the package, grouped by tag type. This includes immutable tags, but doesn't distinguish them from mutable. To see which tags are immutable specifically, see the tags_immutable field. | [optional] +**TypeDisplay** | Pointer to **string** | | [optional] [readonly] +**UploadedAt** | Pointer to **time.Time** | The date this package was uploaded. | [optional] [readonly] +**Uploader** | Pointer to **string** | | [optional] [readonly] +**UploaderUrl** | Pointer to **string** | | [optional] [readonly] +**Version** | Pointer to **string** | The raw version for this package. | [optional] [readonly] +**VersionOrig** | Pointer to **string** | | [optional] [readonly] +**VulnerabilityScanResultsUrl** | Pointer to **string** | | [optional] [readonly] + +## Methods + +### NewPythonPackageUploadResponse + +`func NewPythonPackageUploadResponse() *PythonPackageUploadResponse` + +NewPythonPackageUploadResponse instantiates a new PythonPackageUploadResponse object +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 + +### NewPythonPackageUploadResponseWithDefaults + +`func NewPythonPackageUploadResponseWithDefaults() *PythonPackageUploadResponse` + +NewPythonPackageUploadResponseWithDefaults instantiates a new PythonPackageUploadResponse object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetArchitectures + +`func (o *PythonPackageUploadResponse) GetArchitectures() []Architecture` + +GetArchitectures returns the Architectures field if non-nil, zero value otherwise. + +### GetArchitecturesOk + +`func (o *PythonPackageUploadResponse) GetArchitecturesOk() (*[]Architecture, bool)` + +GetArchitecturesOk returns a tuple with the Architectures field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetArchitectures + +`func (o *PythonPackageUploadResponse) SetArchitectures(v []Architecture)` + +SetArchitectures sets Architectures field to given value. + +### HasArchitectures + +`func (o *PythonPackageUploadResponse) HasArchitectures() bool` + +HasArchitectures returns a boolean if a field has been set. + +### GetCdnUrl + +`func (o *PythonPackageUploadResponse) GetCdnUrl() string` + +GetCdnUrl returns the CdnUrl field if non-nil, zero value otherwise. + +### GetCdnUrlOk + +`func (o *PythonPackageUploadResponse) GetCdnUrlOk() (*string, bool)` + +GetCdnUrlOk returns a tuple with the CdnUrl field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetCdnUrl + +`func (o *PythonPackageUploadResponse) SetCdnUrl(v string)` + +SetCdnUrl sets CdnUrl field to given value. + +### HasCdnUrl + +`func (o *PythonPackageUploadResponse) HasCdnUrl() bool` + +HasCdnUrl returns a boolean if a field has been set. + +### SetCdnUrlNil + +`func (o *PythonPackageUploadResponse) SetCdnUrlNil(b bool)` + + SetCdnUrlNil sets the value for CdnUrl to be an explicit nil + +### UnsetCdnUrl +`func (o *PythonPackageUploadResponse) UnsetCdnUrl()` + +UnsetCdnUrl ensures that no value is present for CdnUrl, not even an explicit nil +### GetChecksumMd5 + +`func (o *PythonPackageUploadResponse) GetChecksumMd5() string` + +GetChecksumMd5 returns the ChecksumMd5 field if non-nil, zero value otherwise. + +### GetChecksumMd5Ok + +`func (o *PythonPackageUploadResponse) GetChecksumMd5Ok() (*string, bool)` + +GetChecksumMd5Ok returns a tuple with the ChecksumMd5 field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetChecksumMd5 + +`func (o *PythonPackageUploadResponse) SetChecksumMd5(v string)` + +SetChecksumMd5 sets ChecksumMd5 field to given value. + +### HasChecksumMd5 + +`func (o *PythonPackageUploadResponse) HasChecksumMd5() bool` + +HasChecksumMd5 returns a boolean if a field has been set. + +### GetChecksumSha1 + +`func (o *PythonPackageUploadResponse) GetChecksumSha1() string` + +GetChecksumSha1 returns the ChecksumSha1 field if non-nil, zero value otherwise. + +### GetChecksumSha1Ok + +`func (o *PythonPackageUploadResponse) GetChecksumSha1Ok() (*string, bool)` + +GetChecksumSha1Ok returns a tuple with the ChecksumSha1 field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetChecksumSha1 + +`func (o *PythonPackageUploadResponse) SetChecksumSha1(v string)` + +SetChecksumSha1 sets ChecksumSha1 field to given value. + +### HasChecksumSha1 + +`func (o *PythonPackageUploadResponse) HasChecksumSha1() bool` + +HasChecksumSha1 returns a boolean if a field has been set. + +### GetChecksumSha256 + +`func (o *PythonPackageUploadResponse) GetChecksumSha256() string` + +GetChecksumSha256 returns the ChecksumSha256 field if non-nil, zero value otherwise. + +### GetChecksumSha256Ok + +`func (o *PythonPackageUploadResponse) GetChecksumSha256Ok() (*string, bool)` + +GetChecksumSha256Ok returns a tuple with the ChecksumSha256 field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetChecksumSha256 + +`func (o *PythonPackageUploadResponse) SetChecksumSha256(v string)` + +SetChecksumSha256 sets ChecksumSha256 field to given value. + +### HasChecksumSha256 + +`func (o *PythonPackageUploadResponse) HasChecksumSha256() bool` + +HasChecksumSha256 returns a boolean if a field has been set. + +### GetChecksumSha512 + +`func (o *PythonPackageUploadResponse) GetChecksumSha512() string` + +GetChecksumSha512 returns the ChecksumSha512 field if non-nil, zero value otherwise. + +### GetChecksumSha512Ok + +`func (o *PythonPackageUploadResponse) GetChecksumSha512Ok() (*string, bool)` + +GetChecksumSha512Ok returns a tuple with the ChecksumSha512 field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetChecksumSha512 + +`func (o *PythonPackageUploadResponse) SetChecksumSha512(v string)` + +SetChecksumSha512 sets ChecksumSha512 field to given value. + +### HasChecksumSha512 + +`func (o *PythonPackageUploadResponse) HasChecksumSha512() bool` + +HasChecksumSha512 returns a boolean if a field has been set. + +### GetDependenciesChecksumMd5 + +`func (o *PythonPackageUploadResponse) GetDependenciesChecksumMd5() string` + +GetDependenciesChecksumMd5 returns the DependenciesChecksumMd5 field if non-nil, zero value otherwise. + +### GetDependenciesChecksumMd5Ok + +`func (o *PythonPackageUploadResponse) GetDependenciesChecksumMd5Ok() (*string, bool)` + +GetDependenciesChecksumMd5Ok returns a tuple with the DependenciesChecksumMd5 field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetDependenciesChecksumMd5 + +`func (o *PythonPackageUploadResponse) SetDependenciesChecksumMd5(v string)` + +SetDependenciesChecksumMd5 sets DependenciesChecksumMd5 field to given value. + +### HasDependenciesChecksumMd5 + +`func (o *PythonPackageUploadResponse) HasDependenciesChecksumMd5() bool` + +HasDependenciesChecksumMd5 returns a boolean if a field has been set. + +### GetDependenciesUrl + +`func (o *PythonPackageUploadResponse) GetDependenciesUrl() string` + +GetDependenciesUrl returns the DependenciesUrl field if non-nil, zero value otherwise. + +### GetDependenciesUrlOk + +`func (o *PythonPackageUploadResponse) GetDependenciesUrlOk() (*string, bool)` + +GetDependenciesUrlOk returns a tuple with the DependenciesUrl field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetDependenciesUrl + +`func (o *PythonPackageUploadResponse) SetDependenciesUrl(v string)` + +SetDependenciesUrl sets DependenciesUrl field to given value. + +### HasDependenciesUrl + +`func (o *PythonPackageUploadResponse) HasDependenciesUrl() bool` + +HasDependenciesUrl returns a boolean if a field has been set. + +### GetDescription + +`func (o *PythonPackageUploadResponse) GetDescription() string` + +GetDescription returns the Description field if non-nil, zero value otherwise. + +### GetDescriptionOk + +`func (o *PythonPackageUploadResponse) GetDescriptionOk() (*string, bool)` + +GetDescriptionOk returns a tuple with the Description field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetDescription + +`func (o *PythonPackageUploadResponse) SetDescription(v string)` + +SetDescription sets Description field to given value. + +### HasDescription + +`func (o *PythonPackageUploadResponse) HasDescription() bool` + +HasDescription returns a boolean if a field has been set. + +### GetDistro + +`func (o *PythonPackageUploadResponse) GetDistro() Distribution` + +GetDistro returns the Distro field if non-nil, zero value otherwise. + +### GetDistroOk + +`func (o *PythonPackageUploadResponse) GetDistroOk() (*Distribution, bool)` + +GetDistroOk returns a tuple with the Distro field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetDistro + +`func (o *PythonPackageUploadResponse) SetDistro(v Distribution)` + +SetDistro sets Distro field to given value. + +### HasDistro + +`func (o *PythonPackageUploadResponse) HasDistro() bool` + +HasDistro returns a boolean if a field has been set. + +### SetDistroNil + +`func (o *PythonPackageUploadResponse) SetDistroNil(b bool)` + + SetDistroNil sets the value for Distro to be an explicit nil + +### UnsetDistro +`func (o *PythonPackageUploadResponse) UnsetDistro()` + +UnsetDistro ensures that no value is present for Distro, not even an explicit nil +### GetDistroVersion + +`func (o *PythonPackageUploadResponse) GetDistroVersion() DistributionVersion` + +GetDistroVersion returns the DistroVersion field if non-nil, zero value otherwise. + +### GetDistroVersionOk + +`func (o *PythonPackageUploadResponse) GetDistroVersionOk() (*DistributionVersion, bool)` + +GetDistroVersionOk returns a tuple with the DistroVersion field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetDistroVersion + +`func (o *PythonPackageUploadResponse) SetDistroVersion(v DistributionVersion)` + +SetDistroVersion sets DistroVersion field to given value. + +### HasDistroVersion + +`func (o *PythonPackageUploadResponse) HasDistroVersion() bool` + +HasDistroVersion returns a boolean if a field has been set. + +### GetDownloads + +`func (o *PythonPackageUploadResponse) GetDownloads() int64` + +GetDownloads returns the Downloads field if non-nil, zero value otherwise. + +### GetDownloadsOk + +`func (o *PythonPackageUploadResponse) GetDownloadsOk() (*int64, bool)` + +GetDownloadsOk returns a tuple with the Downloads field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetDownloads + +`func (o *PythonPackageUploadResponse) SetDownloads(v int64)` + +SetDownloads sets Downloads field to given value. + +### HasDownloads + +`func (o *PythonPackageUploadResponse) HasDownloads() bool` + +HasDownloads returns a boolean if a field has been set. + +### GetEpoch + +`func (o *PythonPackageUploadResponse) GetEpoch() int64` + +GetEpoch returns the Epoch field if non-nil, zero value otherwise. + +### GetEpochOk + +`func (o *PythonPackageUploadResponse) GetEpochOk() (*int64, bool)` + +GetEpochOk returns a tuple with the Epoch field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetEpoch + +`func (o *PythonPackageUploadResponse) SetEpoch(v int64)` + +SetEpoch sets Epoch field to given value. + +### HasEpoch + +`func (o *PythonPackageUploadResponse) HasEpoch() bool` + +HasEpoch returns a boolean if a field has been set. + +### GetExtension + +`func (o *PythonPackageUploadResponse) GetExtension() string` + +GetExtension returns the Extension field if non-nil, zero value otherwise. + +### GetExtensionOk + +`func (o *PythonPackageUploadResponse) GetExtensionOk() (*string, bool)` + +GetExtensionOk returns a tuple with the Extension field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetExtension + +`func (o *PythonPackageUploadResponse) SetExtension(v string)` + +SetExtension sets Extension field to given value. + +### HasExtension + +`func (o *PythonPackageUploadResponse) HasExtension() bool` + +HasExtension returns a boolean if a field has been set. + +### GetFilename + +`func (o *PythonPackageUploadResponse) GetFilename() string` + +GetFilename returns the Filename field if non-nil, zero value otherwise. + +### GetFilenameOk + +`func (o *PythonPackageUploadResponse) GetFilenameOk() (*string, bool)` + +GetFilenameOk returns a tuple with the Filename field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetFilename + +`func (o *PythonPackageUploadResponse) SetFilename(v string)` + +SetFilename sets Filename field to given value. + +### HasFilename + +`func (o *PythonPackageUploadResponse) HasFilename() bool` + +HasFilename returns a boolean if a field has been set. + +### GetFiles + +`func (o *PythonPackageUploadResponse) GetFiles() []PackageFile` + +GetFiles returns the Files field if non-nil, zero value otherwise. + +### GetFilesOk + +`func (o *PythonPackageUploadResponse) GetFilesOk() (*[]PackageFile, 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 *PythonPackageUploadResponse) SetFiles(v []PackageFile)` + +SetFiles sets Files field to given value. + +### HasFiles + +`func (o *PythonPackageUploadResponse) HasFiles() bool` + +HasFiles returns a boolean if a field has been set. + +### GetFormat + +`func (o *PythonPackageUploadResponse) GetFormat() string` + +GetFormat returns the Format field if non-nil, zero value otherwise. + +### GetFormatOk + +`func (o *PythonPackageUploadResponse) GetFormatOk() (*string, bool)` + +GetFormatOk returns a tuple with the Format field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetFormat + +`func (o *PythonPackageUploadResponse) SetFormat(v string)` + +SetFormat sets Format field to given value. + +### HasFormat + +`func (o *PythonPackageUploadResponse) HasFormat() bool` + +HasFormat returns a boolean if a field has been set. + +### GetFormatUrl + +`func (o *PythonPackageUploadResponse) GetFormatUrl() string` + +GetFormatUrl returns the FormatUrl field if non-nil, zero value otherwise. + +### GetFormatUrlOk + +`func (o *PythonPackageUploadResponse) GetFormatUrlOk() (*string, bool)` + +GetFormatUrlOk returns a tuple with the FormatUrl field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetFormatUrl + +`func (o *PythonPackageUploadResponse) SetFormatUrl(v string)` + +SetFormatUrl sets FormatUrl field to given value. + +### HasFormatUrl + +`func (o *PythonPackageUploadResponse) HasFormatUrl() bool` + +HasFormatUrl returns a boolean if a field has been set. + +### GetIdentifierPerm + +`func (o *PythonPackageUploadResponse) GetIdentifierPerm() string` + +GetIdentifierPerm returns the IdentifierPerm field if non-nil, zero value otherwise. + +### GetIdentifierPermOk + +`func (o *PythonPackageUploadResponse) GetIdentifierPermOk() (*string, bool)` + +GetIdentifierPermOk returns a tuple with the IdentifierPerm field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetIdentifierPerm + +`func (o *PythonPackageUploadResponse) SetIdentifierPerm(v string)` + +SetIdentifierPerm sets IdentifierPerm field to given value. + +### HasIdentifierPerm + +`func (o *PythonPackageUploadResponse) HasIdentifierPerm() bool` + +HasIdentifierPerm returns a boolean if a field has been set. + +### GetIndexed + +`func (o *PythonPackageUploadResponse) GetIndexed() bool` + +GetIndexed returns the Indexed field if non-nil, zero value otherwise. + +### GetIndexedOk + +`func (o *PythonPackageUploadResponse) GetIndexedOk() (*bool, bool)` + +GetIndexedOk returns a tuple with the Indexed field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetIndexed + +`func (o *PythonPackageUploadResponse) SetIndexed(v bool)` + +SetIndexed sets Indexed field to given value. + +### HasIndexed + +`func (o *PythonPackageUploadResponse) HasIndexed() bool` + +HasIndexed returns a boolean if a field has been set. + +### GetIsDownloadable + +`func (o *PythonPackageUploadResponse) GetIsDownloadable() bool` + +GetIsDownloadable returns the IsDownloadable field if non-nil, zero value otherwise. + +### GetIsDownloadableOk + +`func (o *PythonPackageUploadResponse) GetIsDownloadableOk() (*bool, bool)` + +GetIsDownloadableOk returns a tuple with the IsDownloadable field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetIsDownloadable + +`func (o *PythonPackageUploadResponse) SetIsDownloadable(v bool)` + +SetIsDownloadable sets IsDownloadable field to given value. + +### HasIsDownloadable + +`func (o *PythonPackageUploadResponse) HasIsDownloadable() bool` + +HasIsDownloadable returns a boolean if a field has been set. + +### GetIsQuarantined + +`func (o *PythonPackageUploadResponse) GetIsQuarantined() bool` + +GetIsQuarantined returns the IsQuarantined field if non-nil, zero value otherwise. + +### GetIsQuarantinedOk + +`func (o *PythonPackageUploadResponse) GetIsQuarantinedOk() (*bool, bool)` + +GetIsQuarantinedOk returns a tuple with the IsQuarantined field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetIsQuarantined + +`func (o *PythonPackageUploadResponse) SetIsQuarantined(v bool)` + +SetIsQuarantined sets IsQuarantined field to given value. + +### HasIsQuarantined + +`func (o *PythonPackageUploadResponse) HasIsQuarantined() bool` + +HasIsQuarantined returns a boolean if a field has been set. + +### GetIsSyncAwaiting + +`func (o *PythonPackageUploadResponse) GetIsSyncAwaiting() bool` + +GetIsSyncAwaiting returns the IsSyncAwaiting field if non-nil, zero value otherwise. + +### GetIsSyncAwaitingOk + +`func (o *PythonPackageUploadResponse) GetIsSyncAwaitingOk() (*bool, bool)` + +GetIsSyncAwaitingOk returns a tuple with the IsSyncAwaiting field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetIsSyncAwaiting + +`func (o *PythonPackageUploadResponse) SetIsSyncAwaiting(v bool)` + +SetIsSyncAwaiting sets IsSyncAwaiting field to given value. + +### HasIsSyncAwaiting + +`func (o *PythonPackageUploadResponse) HasIsSyncAwaiting() bool` + +HasIsSyncAwaiting returns a boolean if a field has been set. + +### GetIsSyncCompleted + +`func (o *PythonPackageUploadResponse) GetIsSyncCompleted() bool` + +GetIsSyncCompleted returns the IsSyncCompleted field if non-nil, zero value otherwise. + +### GetIsSyncCompletedOk + +`func (o *PythonPackageUploadResponse) GetIsSyncCompletedOk() (*bool, bool)` + +GetIsSyncCompletedOk returns a tuple with the IsSyncCompleted field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetIsSyncCompleted + +`func (o *PythonPackageUploadResponse) SetIsSyncCompleted(v bool)` + +SetIsSyncCompleted sets IsSyncCompleted field to given value. + +### HasIsSyncCompleted + +`func (o *PythonPackageUploadResponse) HasIsSyncCompleted() bool` + +HasIsSyncCompleted returns a boolean if a field has been set. + +### GetIsSyncFailed + +`func (o *PythonPackageUploadResponse) GetIsSyncFailed() bool` + +GetIsSyncFailed returns the IsSyncFailed field if non-nil, zero value otherwise. + +### GetIsSyncFailedOk + +`func (o *PythonPackageUploadResponse) GetIsSyncFailedOk() (*bool, bool)` + +GetIsSyncFailedOk returns a tuple with the IsSyncFailed field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetIsSyncFailed + +`func (o *PythonPackageUploadResponse) SetIsSyncFailed(v bool)` + +SetIsSyncFailed sets IsSyncFailed field to given value. + +### HasIsSyncFailed + +`func (o *PythonPackageUploadResponse) HasIsSyncFailed() bool` + +HasIsSyncFailed returns a boolean if a field has been set. + +### GetIsSyncInFlight + +`func (o *PythonPackageUploadResponse) GetIsSyncInFlight() bool` + +GetIsSyncInFlight returns the IsSyncInFlight field if non-nil, zero value otherwise. + +### GetIsSyncInFlightOk + +`func (o *PythonPackageUploadResponse) GetIsSyncInFlightOk() (*bool, bool)` + +GetIsSyncInFlightOk returns a tuple with the IsSyncInFlight field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetIsSyncInFlight + +`func (o *PythonPackageUploadResponse) SetIsSyncInFlight(v bool)` + +SetIsSyncInFlight sets IsSyncInFlight field to given value. + +### HasIsSyncInFlight + +`func (o *PythonPackageUploadResponse) HasIsSyncInFlight() bool` + +HasIsSyncInFlight returns a boolean if a field has been set. + +### GetIsSyncInProgress + +`func (o *PythonPackageUploadResponse) GetIsSyncInProgress() bool` + +GetIsSyncInProgress returns the IsSyncInProgress field if non-nil, zero value otherwise. + +### GetIsSyncInProgressOk + +`func (o *PythonPackageUploadResponse) GetIsSyncInProgressOk() (*bool, bool)` + +GetIsSyncInProgressOk returns a tuple with the IsSyncInProgress field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetIsSyncInProgress + +`func (o *PythonPackageUploadResponse) SetIsSyncInProgress(v bool)` + +SetIsSyncInProgress sets IsSyncInProgress field to given value. + +### HasIsSyncInProgress + +`func (o *PythonPackageUploadResponse) HasIsSyncInProgress() bool` + +HasIsSyncInProgress returns a boolean if a field has been set. + +### GetLicense + +`func (o *PythonPackageUploadResponse) GetLicense() string` + +GetLicense returns the License field if non-nil, zero value otherwise. + +### GetLicenseOk + +`func (o *PythonPackageUploadResponse) GetLicenseOk() (*string, bool)` + +GetLicenseOk returns a tuple with the License field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetLicense + +`func (o *PythonPackageUploadResponse) SetLicense(v string)` + +SetLicense sets License field to given value. + +### HasLicense + +`func (o *PythonPackageUploadResponse) HasLicense() bool` + +HasLicense returns a boolean if a field has been set. + +### GetName + +`func (o *PythonPackageUploadResponse) GetName() string` + +GetName returns the Name field if non-nil, zero value otherwise. + +### GetNameOk + +`func (o *PythonPackageUploadResponse) GetNameOk() (*string, bool)` + +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. + +### SetName + +`func (o *PythonPackageUploadResponse) SetName(v string)` + +SetName sets Name field to given value. + +### HasName + +`func (o *PythonPackageUploadResponse) HasName() bool` + +HasName returns a boolean if a field has been set. + +### GetNamespace + +`func (o *PythonPackageUploadResponse) GetNamespace() string` + +GetNamespace returns the Namespace field if non-nil, zero value otherwise. + +### GetNamespaceOk + +`func (o *PythonPackageUploadResponse) GetNamespaceOk() (*string, bool)` + +GetNamespaceOk returns a tuple with the Namespace field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetNamespace + +`func (o *PythonPackageUploadResponse) SetNamespace(v string)` + +SetNamespace sets Namespace field to given value. + +### HasNamespace + +`func (o *PythonPackageUploadResponse) HasNamespace() bool` + +HasNamespace returns a boolean if a field has been set. + +### GetNamespaceUrl + +`func (o *PythonPackageUploadResponse) GetNamespaceUrl() string` + +GetNamespaceUrl returns the NamespaceUrl field if non-nil, zero value otherwise. + +### GetNamespaceUrlOk + +`func (o *PythonPackageUploadResponse) GetNamespaceUrlOk() (*string, bool)` + +GetNamespaceUrlOk returns a tuple with the NamespaceUrl field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetNamespaceUrl + +`func (o *PythonPackageUploadResponse) SetNamespaceUrl(v string)` + +SetNamespaceUrl sets NamespaceUrl field to given value. + +### HasNamespaceUrl + +`func (o *PythonPackageUploadResponse) HasNamespaceUrl() bool` + +HasNamespaceUrl returns a boolean if a field has been set. + +### GetNumFiles + +`func (o *PythonPackageUploadResponse) GetNumFiles() int64` + +GetNumFiles returns the NumFiles field if non-nil, zero value otherwise. + +### GetNumFilesOk + +`func (o *PythonPackageUploadResponse) GetNumFilesOk() (*int64, bool)` + +GetNumFilesOk returns a tuple with the NumFiles field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetNumFiles + +`func (o *PythonPackageUploadResponse) SetNumFiles(v int64)` + +SetNumFiles sets NumFiles field to given value. + +### HasNumFiles + +`func (o *PythonPackageUploadResponse) HasNumFiles() bool` + +HasNumFiles returns a boolean if a field has been set. + +### GetOriginRepository + +`func (o *PythonPackageUploadResponse) GetOriginRepository() string` + +GetOriginRepository returns the OriginRepository field if non-nil, zero value otherwise. + +### GetOriginRepositoryOk + +`func (o *PythonPackageUploadResponse) GetOriginRepositoryOk() (*string, bool)` + +GetOriginRepositoryOk returns a tuple with the OriginRepository field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetOriginRepository + +`func (o *PythonPackageUploadResponse) SetOriginRepository(v string)` + +SetOriginRepository sets OriginRepository field to given value. + +### HasOriginRepository + +`func (o *PythonPackageUploadResponse) HasOriginRepository() bool` + +HasOriginRepository returns a boolean if a field has been set. + +### GetOriginRepositoryUrl + +`func (o *PythonPackageUploadResponse) GetOriginRepositoryUrl() string` + +GetOriginRepositoryUrl returns the OriginRepositoryUrl field if non-nil, zero value otherwise. + +### GetOriginRepositoryUrlOk + +`func (o *PythonPackageUploadResponse) GetOriginRepositoryUrlOk() (*string, bool)` + +GetOriginRepositoryUrlOk returns a tuple with the OriginRepositoryUrl field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetOriginRepositoryUrl + +`func (o *PythonPackageUploadResponse) SetOriginRepositoryUrl(v string)` + +SetOriginRepositoryUrl sets OriginRepositoryUrl field to given value. + +### HasOriginRepositoryUrl + +`func (o *PythonPackageUploadResponse) HasOriginRepositoryUrl() bool` + +HasOriginRepositoryUrl returns a boolean if a field has been set. + +### GetPackageType + +`func (o *PythonPackageUploadResponse) GetPackageType() int64` + +GetPackageType returns the PackageType field if non-nil, zero value otherwise. + +### GetPackageTypeOk + +`func (o *PythonPackageUploadResponse) GetPackageTypeOk() (*int64, bool)` + +GetPackageTypeOk returns a tuple with the PackageType field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetPackageType + +`func (o *PythonPackageUploadResponse) SetPackageType(v int64)` + +SetPackageType sets PackageType field to given value. + +### HasPackageType + +`func (o *PythonPackageUploadResponse) HasPackageType() bool` + +HasPackageType returns a boolean if a field has been set. + +### GetRelease + +`func (o *PythonPackageUploadResponse) GetRelease() string` + +GetRelease returns the Release field if non-nil, zero value otherwise. + +### GetReleaseOk + +`func (o *PythonPackageUploadResponse) GetReleaseOk() (*string, bool)` + +GetReleaseOk returns a tuple with the Release field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetRelease + +`func (o *PythonPackageUploadResponse) SetRelease(v string)` + +SetRelease sets Release field to given value. + +### HasRelease + +`func (o *PythonPackageUploadResponse) HasRelease() bool` + +HasRelease returns a boolean if a field has been set. + +### GetRepository + +`func (o *PythonPackageUploadResponse) GetRepository() string` + +GetRepository returns the Repository field if non-nil, zero value otherwise. + +### GetRepositoryOk + +`func (o *PythonPackageUploadResponse) GetRepositoryOk() (*string, bool)` + +GetRepositoryOk returns a tuple with the Repository field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetRepository + +`func (o *PythonPackageUploadResponse) SetRepository(v string)` + +SetRepository sets Repository field to given value. + +### HasRepository + +`func (o *PythonPackageUploadResponse) HasRepository() bool` + +HasRepository returns a boolean if a field has been set. + +### GetRepositoryUrl + +`func (o *PythonPackageUploadResponse) GetRepositoryUrl() string` + +GetRepositoryUrl returns the RepositoryUrl field if non-nil, zero value otherwise. + +### GetRepositoryUrlOk + +`func (o *PythonPackageUploadResponse) GetRepositoryUrlOk() (*string, bool)` + +GetRepositoryUrlOk returns a tuple with the RepositoryUrl field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetRepositoryUrl + +`func (o *PythonPackageUploadResponse) SetRepositoryUrl(v string)` + +SetRepositoryUrl sets RepositoryUrl field to given value. + +### HasRepositoryUrl + +`func (o *PythonPackageUploadResponse) HasRepositoryUrl() bool` + +HasRepositoryUrl returns a boolean if a field has been set. + +### GetSecurityScanCompletedAt + +`func (o *PythonPackageUploadResponse) GetSecurityScanCompletedAt() time.Time` + +GetSecurityScanCompletedAt returns the SecurityScanCompletedAt field if non-nil, zero value otherwise. + +### GetSecurityScanCompletedAtOk + +`func (o *PythonPackageUploadResponse) GetSecurityScanCompletedAtOk() (*time.Time, bool)` + +GetSecurityScanCompletedAtOk returns a tuple with the SecurityScanCompletedAt field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetSecurityScanCompletedAt + +`func (o *PythonPackageUploadResponse) SetSecurityScanCompletedAt(v time.Time)` + +SetSecurityScanCompletedAt sets SecurityScanCompletedAt field to given value. + +### HasSecurityScanCompletedAt + +`func (o *PythonPackageUploadResponse) HasSecurityScanCompletedAt() bool` + +HasSecurityScanCompletedAt returns a boolean if a field has been set. + +### GetSecurityScanStartedAt + +`func (o *PythonPackageUploadResponse) GetSecurityScanStartedAt() time.Time` + +GetSecurityScanStartedAt returns the SecurityScanStartedAt field if non-nil, zero value otherwise. + +### GetSecurityScanStartedAtOk + +`func (o *PythonPackageUploadResponse) GetSecurityScanStartedAtOk() (*time.Time, bool)` + +GetSecurityScanStartedAtOk returns a tuple with the SecurityScanStartedAt field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetSecurityScanStartedAt + +`func (o *PythonPackageUploadResponse) SetSecurityScanStartedAt(v time.Time)` + +SetSecurityScanStartedAt sets SecurityScanStartedAt field to given value. + +### HasSecurityScanStartedAt + +`func (o *PythonPackageUploadResponse) HasSecurityScanStartedAt() bool` + +HasSecurityScanStartedAt returns a boolean if a field has been set. + +### GetSecurityScanStatus + +`func (o *PythonPackageUploadResponse) GetSecurityScanStatus() string` + +GetSecurityScanStatus returns the SecurityScanStatus field if non-nil, zero value otherwise. + +### GetSecurityScanStatusOk + +`func (o *PythonPackageUploadResponse) GetSecurityScanStatusOk() (*string, bool)` + +GetSecurityScanStatusOk returns a tuple with the SecurityScanStatus field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetSecurityScanStatus + +`func (o *PythonPackageUploadResponse) SetSecurityScanStatus(v string)` + +SetSecurityScanStatus sets SecurityScanStatus field to given value. + +### HasSecurityScanStatus + +`func (o *PythonPackageUploadResponse) HasSecurityScanStatus() bool` + +HasSecurityScanStatus returns a boolean if a field has been set. + +### SetSecurityScanStatusNil + +`func (o *PythonPackageUploadResponse) SetSecurityScanStatusNil(b bool)` + + SetSecurityScanStatusNil sets the value for SecurityScanStatus to be an explicit nil + +### UnsetSecurityScanStatus +`func (o *PythonPackageUploadResponse) UnsetSecurityScanStatus()` + +UnsetSecurityScanStatus ensures that no value is present for SecurityScanStatus, not even an explicit nil +### GetSecurityScanStatusUpdatedAt + +`func (o *PythonPackageUploadResponse) GetSecurityScanStatusUpdatedAt() time.Time` + +GetSecurityScanStatusUpdatedAt returns the SecurityScanStatusUpdatedAt field if non-nil, zero value otherwise. + +### GetSecurityScanStatusUpdatedAtOk + +`func (o *PythonPackageUploadResponse) GetSecurityScanStatusUpdatedAtOk() (*time.Time, bool)` + +GetSecurityScanStatusUpdatedAtOk returns a tuple with the SecurityScanStatusUpdatedAt field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetSecurityScanStatusUpdatedAt + +`func (o *PythonPackageUploadResponse) SetSecurityScanStatusUpdatedAt(v time.Time)` + +SetSecurityScanStatusUpdatedAt sets SecurityScanStatusUpdatedAt field to given value. + +### HasSecurityScanStatusUpdatedAt + +`func (o *PythonPackageUploadResponse) HasSecurityScanStatusUpdatedAt() bool` + +HasSecurityScanStatusUpdatedAt returns a boolean if a field has been set. + +### GetSelfHtmlUrl + +`func (o *PythonPackageUploadResponse) GetSelfHtmlUrl() string` + +GetSelfHtmlUrl returns the SelfHtmlUrl field if non-nil, zero value otherwise. + +### GetSelfHtmlUrlOk + +`func (o *PythonPackageUploadResponse) GetSelfHtmlUrlOk() (*string, bool)` + +GetSelfHtmlUrlOk returns a tuple with the SelfHtmlUrl field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetSelfHtmlUrl + +`func (o *PythonPackageUploadResponse) SetSelfHtmlUrl(v string)` + +SetSelfHtmlUrl sets SelfHtmlUrl field to given value. + +### HasSelfHtmlUrl + +`func (o *PythonPackageUploadResponse) HasSelfHtmlUrl() bool` + +HasSelfHtmlUrl returns a boolean if a field has been set. + +### GetSelfUrl + +`func (o *PythonPackageUploadResponse) GetSelfUrl() string` + +GetSelfUrl returns the SelfUrl field if non-nil, zero value otherwise. + +### GetSelfUrlOk + +`func (o *PythonPackageUploadResponse) GetSelfUrlOk() (*string, bool)` + +GetSelfUrlOk returns a tuple with the SelfUrl field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetSelfUrl + +`func (o *PythonPackageUploadResponse) SetSelfUrl(v string)` + +SetSelfUrl sets SelfUrl field to given value. + +### HasSelfUrl + +`func (o *PythonPackageUploadResponse) HasSelfUrl() bool` + +HasSelfUrl returns a boolean if a field has been set. + +### GetSignatureUrl + +`func (o *PythonPackageUploadResponse) GetSignatureUrl() string` + +GetSignatureUrl returns the SignatureUrl field if non-nil, zero value otherwise. + +### GetSignatureUrlOk + +`func (o *PythonPackageUploadResponse) GetSignatureUrlOk() (*string, bool)` + +GetSignatureUrlOk returns a tuple with the SignatureUrl field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetSignatureUrl + +`func (o *PythonPackageUploadResponse) SetSignatureUrl(v string)` + +SetSignatureUrl sets SignatureUrl field to given value. + +### HasSignatureUrl + +`func (o *PythonPackageUploadResponse) HasSignatureUrl() bool` + +HasSignatureUrl returns a boolean if a field has been set. + +### SetSignatureUrlNil + +`func (o *PythonPackageUploadResponse) SetSignatureUrlNil(b bool)` + + SetSignatureUrlNil sets the value for SignatureUrl to be an explicit nil + +### UnsetSignatureUrl +`func (o *PythonPackageUploadResponse) UnsetSignatureUrl()` + +UnsetSignatureUrl ensures that no value is present for SignatureUrl, not even an explicit nil +### GetSize + +`func (o *PythonPackageUploadResponse) GetSize() int64` + +GetSize returns the Size field if non-nil, zero value otherwise. + +### GetSizeOk + +`func (o *PythonPackageUploadResponse) GetSizeOk() (*int64, bool)` + +GetSizeOk returns a tuple with the Size field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetSize + +`func (o *PythonPackageUploadResponse) SetSize(v int64)` + +SetSize sets Size field to given value. + +### HasSize + +`func (o *PythonPackageUploadResponse) HasSize() bool` + +HasSize returns a boolean if a field has been set. + +### GetSlug + +`func (o *PythonPackageUploadResponse) GetSlug() string` + +GetSlug returns the Slug field if non-nil, zero value otherwise. + +### GetSlugOk + +`func (o *PythonPackageUploadResponse) GetSlugOk() (*string, bool)` + +GetSlugOk returns a tuple with the Slug field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetSlug + +`func (o *PythonPackageUploadResponse) SetSlug(v string)` + +SetSlug sets Slug field to given value. + +### HasSlug + +`func (o *PythonPackageUploadResponse) HasSlug() bool` + +HasSlug returns a boolean if a field has been set. + +### GetSlugPerm + +`func (o *PythonPackageUploadResponse) GetSlugPerm() string` + +GetSlugPerm returns the SlugPerm field if non-nil, zero value otherwise. + +### GetSlugPermOk + +`func (o *PythonPackageUploadResponse) GetSlugPermOk() (*string, bool)` + +GetSlugPermOk returns a tuple with the SlugPerm field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetSlugPerm + +`func (o *PythonPackageUploadResponse) SetSlugPerm(v string)` + +SetSlugPerm sets SlugPerm field to given value. + +### HasSlugPerm + +`func (o *PythonPackageUploadResponse) HasSlugPerm() bool` + +HasSlugPerm returns a boolean if a field has been set. + +### GetStage + +`func (o *PythonPackageUploadResponse) GetStage() int64` + +GetStage returns the Stage field if non-nil, zero value otherwise. + +### GetStageOk + +`func (o *PythonPackageUploadResponse) GetStageOk() (*int64, bool)` + +GetStageOk returns a tuple with the Stage field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetStage + +`func (o *PythonPackageUploadResponse) SetStage(v int64)` + +SetStage sets Stage field to given value. + +### HasStage + +`func (o *PythonPackageUploadResponse) HasStage() bool` + +HasStage returns a boolean if a field has been set. + +### GetStageStr + +`func (o *PythonPackageUploadResponse) GetStageStr() string` + +GetStageStr returns the StageStr field if non-nil, zero value otherwise. + +### GetStageStrOk + +`func (o *PythonPackageUploadResponse) GetStageStrOk() (*string, bool)` + +GetStageStrOk returns a tuple with the StageStr field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetStageStr + +`func (o *PythonPackageUploadResponse) SetStageStr(v string)` + +SetStageStr sets StageStr field to given value. + +### HasStageStr + +`func (o *PythonPackageUploadResponse) HasStageStr() bool` + +HasStageStr returns a boolean if a field has been set. + +### GetStageUpdatedAt + +`func (o *PythonPackageUploadResponse) GetStageUpdatedAt() time.Time` + +GetStageUpdatedAt returns the StageUpdatedAt field if non-nil, zero value otherwise. + +### GetStageUpdatedAtOk + +`func (o *PythonPackageUploadResponse) GetStageUpdatedAtOk() (*time.Time, bool)` + +GetStageUpdatedAtOk returns a tuple with the StageUpdatedAt field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetStageUpdatedAt + +`func (o *PythonPackageUploadResponse) SetStageUpdatedAt(v time.Time)` + +SetStageUpdatedAt sets StageUpdatedAt field to given value. + +### HasStageUpdatedAt + +`func (o *PythonPackageUploadResponse) HasStageUpdatedAt() bool` + +HasStageUpdatedAt returns a boolean if a field has been set. + +### GetStatus + +`func (o *PythonPackageUploadResponse) GetStatus() int64` + +GetStatus returns the Status field if non-nil, zero value otherwise. + +### GetStatusOk + +`func (o *PythonPackageUploadResponse) GetStatusOk() (*int64, bool)` + +GetStatusOk returns a tuple with the Status field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetStatus + +`func (o *PythonPackageUploadResponse) SetStatus(v int64)` + +SetStatus sets Status field to given value. + +### HasStatus + +`func (o *PythonPackageUploadResponse) HasStatus() bool` + +HasStatus returns a boolean if a field has been set. + +### GetStatusReason + +`func (o *PythonPackageUploadResponse) GetStatusReason() string` + +GetStatusReason returns the StatusReason field if non-nil, zero value otherwise. + +### GetStatusReasonOk + +`func (o *PythonPackageUploadResponse) GetStatusReasonOk() (*string, bool)` + +GetStatusReasonOk returns a tuple with the StatusReason field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetStatusReason + +`func (o *PythonPackageUploadResponse) SetStatusReason(v string)` + +SetStatusReason sets StatusReason field to given value. + +### HasStatusReason + +`func (o *PythonPackageUploadResponse) HasStatusReason() bool` + +HasStatusReason returns a boolean if a field has been set. + +### GetStatusStr + +`func (o *PythonPackageUploadResponse) GetStatusStr() string` + +GetStatusStr returns the StatusStr field if non-nil, zero value otherwise. + +### GetStatusStrOk + +`func (o *PythonPackageUploadResponse) GetStatusStrOk() (*string, bool)` + +GetStatusStrOk returns a tuple with the StatusStr field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetStatusStr + +`func (o *PythonPackageUploadResponse) SetStatusStr(v string)` + +SetStatusStr sets StatusStr field to given value. + +### HasStatusStr + +`func (o *PythonPackageUploadResponse) HasStatusStr() bool` + +HasStatusStr returns a boolean if a field has been set. + +### GetStatusUpdatedAt + +`func (o *PythonPackageUploadResponse) GetStatusUpdatedAt() time.Time` + +GetStatusUpdatedAt returns the StatusUpdatedAt field if non-nil, zero value otherwise. + +### GetStatusUpdatedAtOk + +`func (o *PythonPackageUploadResponse) GetStatusUpdatedAtOk() (*time.Time, bool)` + +GetStatusUpdatedAtOk returns a tuple with the StatusUpdatedAt field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetStatusUpdatedAt + +`func (o *PythonPackageUploadResponse) SetStatusUpdatedAt(v time.Time)` + +SetStatusUpdatedAt sets StatusUpdatedAt field to given value. + +### HasStatusUpdatedAt + +`func (o *PythonPackageUploadResponse) HasStatusUpdatedAt() bool` + +HasStatusUpdatedAt returns a boolean if a field has been set. + +### GetStatusUrl + +`func (o *PythonPackageUploadResponse) GetStatusUrl() string` + +GetStatusUrl returns the StatusUrl field if non-nil, zero value otherwise. + +### GetStatusUrlOk + +`func (o *PythonPackageUploadResponse) GetStatusUrlOk() (*string, bool)` + +GetStatusUrlOk returns a tuple with the StatusUrl field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetStatusUrl + +`func (o *PythonPackageUploadResponse) SetStatusUrl(v string)` + +SetStatusUrl sets StatusUrl field to given value. + +### HasStatusUrl + +`func (o *PythonPackageUploadResponse) HasStatusUrl() bool` + +HasStatusUrl returns a boolean if a field has been set. + +### GetSubtype + +`func (o *PythonPackageUploadResponse) GetSubtype() string` + +GetSubtype returns the Subtype field if non-nil, zero value otherwise. + +### GetSubtypeOk + +`func (o *PythonPackageUploadResponse) GetSubtypeOk() (*string, bool)` + +GetSubtypeOk returns a tuple with the Subtype field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetSubtype + +`func (o *PythonPackageUploadResponse) SetSubtype(v string)` + +SetSubtype sets Subtype field to given value. + +### HasSubtype + +`func (o *PythonPackageUploadResponse) HasSubtype() bool` + +HasSubtype returns a boolean if a field has been set. + +### GetSummary + +`func (o *PythonPackageUploadResponse) GetSummary() string` + +GetSummary returns the Summary field if non-nil, zero value otherwise. + +### GetSummaryOk + +`func (o *PythonPackageUploadResponse) GetSummaryOk() (*string, bool)` + +GetSummaryOk returns a tuple with the Summary field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetSummary + +`func (o *PythonPackageUploadResponse) SetSummary(v string)` + +SetSummary sets Summary field to given value. + +### HasSummary + +`func (o *PythonPackageUploadResponse) HasSummary() bool` + +HasSummary returns a boolean if a field has been set. + +### GetSyncFinishedAt + +`func (o *PythonPackageUploadResponse) GetSyncFinishedAt() time.Time` + +GetSyncFinishedAt returns the SyncFinishedAt field if non-nil, zero value otherwise. + +### GetSyncFinishedAtOk + +`func (o *PythonPackageUploadResponse) GetSyncFinishedAtOk() (*time.Time, bool)` + +GetSyncFinishedAtOk returns a tuple with the SyncFinishedAt field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetSyncFinishedAt + +`func (o *PythonPackageUploadResponse) SetSyncFinishedAt(v time.Time)` + +SetSyncFinishedAt sets SyncFinishedAt field to given value. + +### HasSyncFinishedAt + +`func (o *PythonPackageUploadResponse) HasSyncFinishedAt() bool` + +HasSyncFinishedAt returns a boolean if a field has been set. + +### GetSyncProgress + +`func (o *PythonPackageUploadResponse) GetSyncProgress() int64` + +GetSyncProgress returns the SyncProgress field if non-nil, zero value otherwise. + +### GetSyncProgressOk + +`func (o *PythonPackageUploadResponse) GetSyncProgressOk() (*int64, bool)` + +GetSyncProgressOk returns a tuple with the SyncProgress field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetSyncProgress + +`func (o *PythonPackageUploadResponse) SetSyncProgress(v int64)` + +SetSyncProgress sets SyncProgress field to given value. + +### HasSyncProgress + +`func (o *PythonPackageUploadResponse) HasSyncProgress() bool` + +HasSyncProgress returns a boolean if a field has been set. + +### GetTagsImmutable + +`func (o *PythonPackageUploadResponse) GetTagsImmutable() map[string]interface{}` + +GetTagsImmutable returns the TagsImmutable field if non-nil, zero value otherwise. + +### GetTagsImmutableOk + +`func (o *PythonPackageUploadResponse) GetTagsImmutableOk() (*map[string]interface{}, bool)` + +GetTagsImmutableOk returns a tuple with the TagsImmutable field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetTagsImmutable + +`func (o *PythonPackageUploadResponse) SetTagsImmutable(v map[string]interface{})` + +SetTagsImmutable sets TagsImmutable field to given value. + +### HasTagsImmutable + +`func (o *PythonPackageUploadResponse) HasTagsImmutable() bool` + +HasTagsImmutable returns a boolean if a field has been set. + +### GetTypeDisplay + +`func (o *PythonPackageUploadResponse) GetTypeDisplay() string` + +GetTypeDisplay returns the TypeDisplay field if non-nil, zero value otherwise. + +### GetTypeDisplayOk + +`func (o *PythonPackageUploadResponse) GetTypeDisplayOk() (*string, bool)` + +GetTypeDisplayOk returns a tuple with the TypeDisplay field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetTypeDisplay + +`func (o *PythonPackageUploadResponse) SetTypeDisplay(v string)` + +SetTypeDisplay sets TypeDisplay field to given value. + +### HasTypeDisplay + +`func (o *PythonPackageUploadResponse) HasTypeDisplay() bool` + +HasTypeDisplay returns a boolean if a field has been set. + +### GetUploadedAt + +`func (o *PythonPackageUploadResponse) GetUploadedAt() time.Time` + +GetUploadedAt returns the UploadedAt field if non-nil, zero value otherwise. + +### GetUploadedAtOk + +`func (o *PythonPackageUploadResponse) GetUploadedAtOk() (*time.Time, bool)` + +GetUploadedAtOk returns a tuple with the UploadedAt field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetUploadedAt + +`func (o *PythonPackageUploadResponse) SetUploadedAt(v time.Time)` + +SetUploadedAt sets UploadedAt field to given value. + +### HasUploadedAt + +`func (o *PythonPackageUploadResponse) HasUploadedAt() bool` + +HasUploadedAt returns a boolean if a field has been set. + +### GetUploader + +`func (o *PythonPackageUploadResponse) GetUploader() string` + +GetUploader returns the Uploader field if non-nil, zero value otherwise. + +### GetUploaderOk + +`func (o *PythonPackageUploadResponse) GetUploaderOk() (*string, bool)` + +GetUploaderOk returns a tuple with the Uploader field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetUploader + +`func (o *PythonPackageUploadResponse) SetUploader(v string)` + +SetUploader sets Uploader field to given value. + +### HasUploader + +`func (o *PythonPackageUploadResponse) HasUploader() bool` + +HasUploader returns a boolean if a field has been set. + +### GetUploaderUrl + +`func (o *PythonPackageUploadResponse) GetUploaderUrl() string` + +GetUploaderUrl returns the UploaderUrl field if non-nil, zero value otherwise. + +### GetUploaderUrlOk + +`func (o *PythonPackageUploadResponse) GetUploaderUrlOk() (*string, bool)` + +GetUploaderUrlOk returns a tuple with the UploaderUrl field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetUploaderUrl + +`func (o *PythonPackageUploadResponse) SetUploaderUrl(v string)` + +SetUploaderUrl sets UploaderUrl field to given value. + +### HasUploaderUrl + +`func (o *PythonPackageUploadResponse) HasUploaderUrl() bool` + +HasUploaderUrl returns a boolean if a field has been set. + +### GetVersion + +`func (o *PythonPackageUploadResponse) GetVersion() string` + +GetVersion returns the Version field if non-nil, zero value otherwise. + +### GetVersionOk + +`func (o *PythonPackageUploadResponse) GetVersionOk() (*string, bool)` + +GetVersionOk returns a tuple with the Version field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetVersion + +`func (o *PythonPackageUploadResponse) SetVersion(v string)` + +SetVersion sets Version field to given value. + +### HasVersion + +`func (o *PythonPackageUploadResponse) HasVersion() bool` + +HasVersion returns a boolean if a field has been set. + +### GetVersionOrig + +`func (o *PythonPackageUploadResponse) GetVersionOrig() string` + +GetVersionOrig returns the VersionOrig field if non-nil, zero value otherwise. + +### GetVersionOrigOk + +`func (o *PythonPackageUploadResponse) GetVersionOrigOk() (*string, bool)` + +GetVersionOrigOk returns a tuple with the VersionOrig field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetVersionOrig + +`func (o *PythonPackageUploadResponse) SetVersionOrig(v string)` + +SetVersionOrig sets VersionOrig field to given value. + +### HasVersionOrig + +`func (o *PythonPackageUploadResponse) HasVersionOrig() bool` + +HasVersionOrig returns a boolean if a field has been set. + +### GetVulnerabilityScanResultsUrl + +`func (o *PythonPackageUploadResponse) GetVulnerabilityScanResultsUrl() string` + +GetVulnerabilityScanResultsUrl returns the VulnerabilityScanResultsUrl field if non-nil, zero value otherwise. + +### GetVulnerabilityScanResultsUrlOk + +`func (o *PythonPackageUploadResponse) GetVulnerabilityScanResultsUrlOk() (*string, bool)` + +GetVulnerabilityScanResultsUrlOk returns a tuple with the VulnerabilityScanResultsUrl field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetVulnerabilityScanResultsUrl + +`func (o *PythonPackageUploadResponse) SetVulnerabilityScanResultsUrl(v string)` + +SetVulnerabilityScanResultsUrl sets VulnerabilityScanResultsUrl field to given value. + +### HasVulnerabilityScanResultsUrl + +`func (o *PythonPackageUploadResponse) HasVulnerabilityScanResultsUrl() bool` + +HasVulnerabilityScanResultsUrl 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/docs/QuotaApi.md b/docs/QuotaApi.md index 3a2a4196..280525cc 100644 --- a/docs/QuotaApi.md +++ b/docs/QuotaApi.md @@ -13,7 +13,7 @@ Method | HTTP request | Description ## QuotaHistoryRead -> QuotaHistory QuotaHistoryRead(ctx, owner).Execute() +> QuotaHistoryResponse QuotaHistoryRead(ctx, owner).Execute() Quota history for a given namespace. @@ -41,7 +41,7 @@ func main() { fmt.Fprintf(os.Stderr, "Error when calling `QuotaApi.QuotaHistoryRead``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } - // response from `QuotaHistoryRead`: QuotaHistory + // response from `QuotaHistoryRead`: QuotaHistoryResponse fmt.Fprintf(os.Stdout, "Response from `QuotaApi.QuotaHistoryRead`: %v\n", resp) } ``` @@ -65,7 +65,7 @@ Name | Type | Description | Notes ### Return type -[**QuotaHistory**](QuotaHistory.md) +[**QuotaHistoryResponse**](QuotaHistoryResponse.md) ### Authorization @@ -74,7 +74,7 @@ Name | Type | Description | Notes ### HTTP request headers - **Content-Type**: Not defined -- **Accept**: */* +- **Accept**: application/json [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) @@ -83,7 +83,7 @@ Name | Type | Description | Notes ## QuotaOssHistoryRead -> QuotaHistory QuotaOssHistoryRead(ctx, owner).Execute() +> QuotaHistoryResponse QuotaOssHistoryRead(ctx, owner).Execute() Open-source Quota history for a given namespace. @@ -111,7 +111,7 @@ func main() { fmt.Fprintf(os.Stderr, "Error when calling `QuotaApi.QuotaOssHistoryRead``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } - // response from `QuotaOssHistoryRead`: QuotaHistory + // response from `QuotaOssHistoryRead`: QuotaHistoryResponse fmt.Fprintf(os.Stdout, "Response from `QuotaApi.QuotaOssHistoryRead`: %v\n", resp) } ``` @@ -135,7 +135,7 @@ Name | Type | Description | Notes ### Return type -[**QuotaHistory**](QuotaHistory.md) +[**QuotaHistoryResponse**](QuotaHistoryResponse.md) ### Authorization @@ -144,7 +144,7 @@ Name | Type | Description | Notes ### HTTP request headers - **Content-Type**: Not defined -- **Accept**: */* +- **Accept**: application/json [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) @@ -153,7 +153,7 @@ Name | Type | Description | Notes ## QuotaOssRead -> Quota QuotaOssRead(ctx, owner).Execute() +> QuotaResponse QuotaOssRead(ctx, owner).Execute() Open-source Quota usage for a given namespace. @@ -181,7 +181,7 @@ func main() { fmt.Fprintf(os.Stderr, "Error when calling `QuotaApi.QuotaOssRead``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } - // response from `QuotaOssRead`: Quota + // response from `QuotaOssRead`: QuotaResponse fmt.Fprintf(os.Stdout, "Response from `QuotaApi.QuotaOssRead`: %v\n", resp) } ``` @@ -205,7 +205,7 @@ Name | Type | Description | Notes ### Return type -[**Quota**](Quota.md) +[**QuotaResponse**](QuotaResponse.md) ### Authorization @@ -214,7 +214,7 @@ Name | Type | Description | Notes ### HTTP request headers - **Content-Type**: Not defined -- **Accept**: */* +- **Accept**: application/json [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) @@ -223,7 +223,7 @@ Name | Type | Description | Notes ## QuotaRead -> Quota QuotaRead(ctx, owner).Execute() +> QuotaResponse QuotaRead(ctx, owner).Execute() Quota usage for a given namespace. @@ -251,7 +251,7 @@ func main() { fmt.Fprintf(os.Stderr, "Error when calling `QuotaApi.QuotaRead``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } - // response from `QuotaRead`: Quota + // response from `QuotaRead`: QuotaResponse fmt.Fprintf(os.Stdout, "Response from `QuotaApi.QuotaRead`: %v\n", resp) } ``` @@ -275,7 +275,7 @@ Name | Type | Description | Notes ### Return type -[**Quota**](Quota.md) +[**QuotaResponse**](QuotaResponse.md) ### Authorization @@ -284,7 +284,7 @@ Name | Type | Description | Notes ### HTTP request headers - **Content-Type**: Not defined -- **Accept**: */* +- **Accept**: application/json [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) diff --git a/docs/QuotaHistory.md b/docs/QuotaHistoryResponse.md similarity index 61% rename from docs/QuotaHistory.md rename to docs/QuotaHistoryResponse.md index eeca61f8..a63465aa 100644 --- a/docs/QuotaHistory.md +++ b/docs/QuotaHistoryResponse.md @@ -1,46 +1,46 @@ -# QuotaHistory +# QuotaHistoryResponse ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**History** | [**[]QuotaHistoryHistory**](QuotaHistoryHistory.md) | | +**History** | [**[]History**](History.md) | | ## Methods -### NewQuotaHistory +### NewQuotaHistoryResponse -`func NewQuotaHistory(history []QuotaHistoryHistory, ) *QuotaHistory` +`func NewQuotaHistoryResponse(history []History, ) *QuotaHistoryResponse` -NewQuotaHistory instantiates a new QuotaHistory object +NewQuotaHistoryResponse instantiates a new QuotaHistoryResponse object 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 -### NewQuotaHistoryWithDefaults +### NewQuotaHistoryResponseWithDefaults -`func NewQuotaHistoryWithDefaults() *QuotaHistory` +`func NewQuotaHistoryResponseWithDefaults() *QuotaHistoryResponse` -NewQuotaHistoryWithDefaults instantiates a new QuotaHistory object +NewQuotaHistoryResponseWithDefaults instantiates a new QuotaHistoryResponse object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set ### GetHistory -`func (o *QuotaHistory) GetHistory() []QuotaHistoryHistory` +`func (o *QuotaHistoryResponse) GetHistory() []History` GetHistory returns the History field if non-nil, zero value otherwise. ### GetHistoryOk -`func (o *QuotaHistory) GetHistoryOk() (*[]QuotaHistoryHistory, bool)` +`func (o *QuotaHistoryResponse) GetHistoryOk() (*[]History, bool)` GetHistoryOk returns a tuple with the History field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetHistory -`func (o *QuotaHistory) SetHistory(v []QuotaHistoryHistory)` +`func (o *QuotaHistoryResponse) SetHistory(v []History)` SetHistory sets History field to given value. diff --git a/docs/Quota.md b/docs/QuotaResponse.md similarity index 64% rename from docs/Quota.md rename to docs/QuotaResponse.md index eadf9738..fe6113dc 100644 --- a/docs/Quota.md +++ b/docs/QuotaResponse.md @@ -1,46 +1,46 @@ -# Quota +# QuotaResponse ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**Usage** | **map[string]interface{}** | | +**Usage** | [**UsageFieldset**](UsageFieldset.md) | | ## Methods -### NewQuota +### NewQuotaResponse -`func NewQuota(usage map[string]interface{}, ) *Quota` +`func NewQuotaResponse(usage UsageFieldset, ) *QuotaResponse` -NewQuota instantiates a new Quota object +NewQuotaResponse instantiates a new QuotaResponse object 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 -### NewQuotaWithDefaults +### NewQuotaResponseWithDefaults -`func NewQuotaWithDefaults() *Quota` +`func NewQuotaResponseWithDefaults() *QuotaResponse` -NewQuotaWithDefaults instantiates a new Quota object +NewQuotaResponseWithDefaults instantiates a new QuotaResponse object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set ### GetUsage -`func (o *Quota) GetUsage() map[string]interface{}` +`func (o *QuotaResponse) GetUsage() UsageFieldset` GetUsage returns the Usage field if non-nil, zero value otherwise. ### GetUsageOk -`func (o *Quota) GetUsageOk() (*map[string]interface{}, bool)` +`func (o *QuotaResponse) GetUsageOk() (*UsageFieldset, bool)` GetUsageOk returns a tuple with the Usage field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetUsage -`func (o *Quota) SetUsage(v map[string]interface{})` +`func (o *QuotaResponse) SetUsage(v UsageFieldset)` SetUsage sets Usage field to given value. diff --git a/docs/RateCheck.md b/docs/RateCheck.md new file mode 100644 index 00000000..d8fca787 --- /dev/null +++ b/docs/RateCheck.md @@ -0,0 +1,186 @@ +# RateCheck + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Interval** | Pointer to **float64** | The time in seconds that you are suggested to wait until the next request in order to avoid consuming too much within the rate limit window. | [optional] [readonly] +**Limit** | Pointer to **int64** | The maximum number of requests that you are permitted to send per hour | [optional] [readonly] +**Remaining** | Pointer to **int64** | The number of requests that are remaining in the current rate limit window | [optional] [readonly] +**Reset** | Pointer to **int64** | The UTC epoch timestamp at which the current rate limit window will reset | [optional] [readonly] +**ResetIso8601** | Pointer to **string** | The ISO 8601 datetime at which the current rate limit window will reset | [optional] [readonly] +**Throttled** | Pointer to **bool** | If true, throttling is currently being enforced. | [optional] [readonly] + +## Methods + +### NewRateCheck + +`func NewRateCheck() *RateCheck` + +NewRateCheck instantiates a new RateCheck object +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 + +### NewRateCheckWithDefaults + +`func NewRateCheckWithDefaults() *RateCheck` + +NewRateCheckWithDefaults instantiates a new RateCheck object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetInterval + +`func (o *RateCheck) GetInterval() float64` + +GetInterval returns the Interval field if non-nil, zero value otherwise. + +### GetIntervalOk + +`func (o *RateCheck) GetIntervalOk() (*float64, bool)` + +GetIntervalOk returns a tuple with the Interval field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetInterval + +`func (o *RateCheck) SetInterval(v float64)` + +SetInterval sets Interval field to given value. + +### HasInterval + +`func (o *RateCheck) HasInterval() bool` + +HasInterval returns a boolean if a field has been set. + +### GetLimit + +`func (o *RateCheck) GetLimit() int64` + +GetLimit returns the Limit field if non-nil, zero value otherwise. + +### GetLimitOk + +`func (o *RateCheck) GetLimitOk() (*int64, bool)` + +GetLimitOk returns a tuple with the Limit field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetLimit + +`func (o *RateCheck) SetLimit(v int64)` + +SetLimit sets Limit field to given value. + +### HasLimit + +`func (o *RateCheck) HasLimit() bool` + +HasLimit returns a boolean if a field has been set. + +### GetRemaining + +`func (o *RateCheck) GetRemaining() int64` + +GetRemaining returns the Remaining field if non-nil, zero value otherwise. + +### GetRemainingOk + +`func (o *RateCheck) GetRemainingOk() (*int64, bool)` + +GetRemainingOk returns a tuple with the Remaining field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetRemaining + +`func (o *RateCheck) SetRemaining(v int64)` + +SetRemaining sets Remaining field to given value. + +### HasRemaining + +`func (o *RateCheck) HasRemaining() bool` + +HasRemaining returns a boolean if a field has been set. + +### GetReset + +`func (o *RateCheck) GetReset() int64` + +GetReset returns the Reset field if non-nil, zero value otherwise. + +### GetResetOk + +`func (o *RateCheck) GetResetOk() (*int64, bool)` + +GetResetOk returns a tuple with the Reset field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetReset + +`func (o *RateCheck) SetReset(v int64)` + +SetReset sets Reset field to given value. + +### HasReset + +`func (o *RateCheck) HasReset() bool` + +HasReset returns a boolean if a field has been set. + +### GetResetIso8601 + +`func (o *RateCheck) GetResetIso8601() string` + +GetResetIso8601 returns the ResetIso8601 field if non-nil, zero value otherwise. + +### GetResetIso8601Ok + +`func (o *RateCheck) GetResetIso8601Ok() (*string, bool)` + +GetResetIso8601Ok returns a tuple with the ResetIso8601 field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetResetIso8601 + +`func (o *RateCheck) SetResetIso8601(v string)` + +SetResetIso8601 sets ResetIso8601 field to given value. + +### HasResetIso8601 + +`func (o *RateCheck) HasResetIso8601() bool` + +HasResetIso8601 returns a boolean if a field has been set. + +### GetThrottled + +`func (o *RateCheck) GetThrottled() bool` + +GetThrottled returns the Throttled field if non-nil, zero value otherwise. + +### GetThrottledOk + +`func (o *RateCheck) GetThrottledOk() (*bool, bool)` + +GetThrottledOk returns a tuple with the Throttled field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetThrottled + +`func (o *RateCheck) SetThrottled(v bool)` + +SetThrottled sets Throttled field to given value. + +### HasThrottled + +`func (o *RateCheck) HasThrottled() bool` + +HasThrottled 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/docs/RatesApi.md b/docs/RatesApi.md index 22011d02..32816fda 100644 --- a/docs/RatesApi.md +++ b/docs/RatesApi.md @@ -10,7 +10,7 @@ Method | HTTP request | Description ## RatesLimitsList -> ResourcesRateCheck RatesLimitsList(ctx).Execute() +> ResourcesRateCheckResponse RatesLimitsList(ctx).Execute() Endpoint to check rate limits for current user. @@ -37,7 +37,7 @@ func main() { fmt.Fprintf(os.Stderr, "Error when calling `RatesApi.RatesLimitsList``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } - // response from `RatesLimitsList`: ResourcesRateCheck + // response from `RatesLimitsList`: ResourcesRateCheckResponse fmt.Fprintf(os.Stdout, "Response from `RatesApi.RatesLimitsList`: %v\n", resp) } ``` @@ -53,7 +53,7 @@ Other parameters are passed through a pointer to a apiRatesLimitsListRequest str ### Return type -[**ResourcesRateCheck**](ResourcesRateCheck.md) +[**ResourcesRateCheckResponse**](ResourcesRateCheckResponse.md) ### Authorization @@ -62,7 +62,7 @@ Other parameters are passed through a pointer to a apiRatesLimitsListRequest str ### HTTP request headers - **Content-Type**: Not defined -- **Accept**: */* +- **Accept**: application/json [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) diff --git a/docs/RawPackageUpload.md b/docs/RawPackageUpload.md deleted file mode 100644 index 1b6c2e90..00000000 --- a/docs/RawPackageUpload.md +++ /dev/null @@ -1,1746 +0,0 @@ -# RawPackageUpload - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**Architectures** | Pointer to [**[]PackagesOwnerRepoArchitectures**](PackagesOwnerRepoArchitectures.md) | | [optional] -**CdnUrl** | Pointer to **string** | | [optional] -**ChecksumMd5** | Pointer to **string** | | [optional] -**ChecksumSha1** | Pointer to **string** | | [optional] -**ChecksumSha256** | Pointer to **string** | | [optional] -**ChecksumSha512** | Pointer to **string** | | [optional] -**DependenciesChecksumMd5** | Pointer to **string** | A checksum of all of the package's dependencies. | [optional] -**DependenciesUrl** | Pointer to **string** | | [optional] -**Description** | Pointer to **string** | A textual description of this package. | [optional] -**Distro** | Pointer to **map[string]interface{}** | | [optional] -**DistroVersion** | Pointer to **map[string]interface{}** | | [optional] -**Downloads** | Pointer to **int64** | | [optional] -**Epoch** | Pointer to **int64** | The epoch of the package version (if any). | [optional] -**Extension** | Pointer to **string** | | [optional] -**Filename** | Pointer to **string** | | [optional] -**Files** | Pointer to [**[]PackagesOwnerRepoFiles**](PackagesOwnerRepoFiles.md) | | [optional] -**Format** | Pointer to **string** | | [optional] -**FormatUrl** | Pointer to **string** | | [optional] -**IdentifierPerm** | Pointer to **string** | Unique and permanent identifier for the package. | [optional] -**Indexed** | Pointer to **bool** | | [optional] -**IsDownloadable** | Pointer to **bool** | | [optional] -**IsQuarantined** | Pointer to **bool** | | [optional] -**IsSyncAwaiting** | Pointer to **bool** | | [optional] -**IsSyncCompleted** | Pointer to **bool** | | [optional] -**IsSyncFailed** | Pointer to **bool** | | [optional] -**IsSyncInFlight** | Pointer to **bool** | | [optional] -**IsSyncInProgress** | Pointer to **bool** | | [optional] -**License** | Pointer to **string** | The license of this package. | [optional] -**Name** | Pointer to **string** | The name of this package. | [optional] -**Namespace** | Pointer to **string** | | [optional] -**NamespaceUrl** | Pointer to **string** | | [optional] -**NumFiles** | Pointer to **int64** | | [optional] -**PackageType** | Pointer to **int64** | The type of package contents. | [optional] -**Release** | Pointer to **string** | The release of the package version (if any). | [optional] -**Repository** | Pointer to **string** | | [optional] -**RepositoryUrl** | Pointer to **string** | | [optional] -**SecurityScanCompletedAt** | Pointer to **string** | The datetime the security scanning was completed. | [optional] -**SecurityScanStartedAt** | Pointer to **string** | The datetime the security scanning was started. | [optional] -**SecurityScanStatus** | Pointer to **string** | | [optional] -**SecurityScanStatusUpdatedAt** | Pointer to **string** | The datetime the security scanning status was updated. | [optional] -**SelfHtmlUrl** | Pointer to **string** | | [optional] -**SelfUrl** | Pointer to **string** | | [optional] -**SignatureUrl** | Pointer to **string** | | [optional] -**Size** | Pointer to **int64** | The calculated size of the package. | [optional] -**Slug** | Pointer to **string** | The public unique identifier for the package. | [optional] -**SlugPerm** | Pointer to **string** | | [optional] -**Stage** | Pointer to **int64** | The synchronisation (in progress) stage of the package. | [optional] -**StageStr** | Pointer to **string** | | [optional] -**StageUpdatedAt** | Pointer to **string** | The datetime the package stage was updated at. | [optional] -**Status** | Pointer to **int64** | The synchronisation status of the package. | [optional] -**StatusReason** | Pointer to **string** | A textual description for the synchronous status reason (if any | [optional] -**StatusStr** | Pointer to **string** | | [optional] -**StatusUpdatedAt** | Pointer to **string** | The datetime the package status was updated at. | [optional] -**StatusUrl** | Pointer to **string** | | [optional] -**Subtype** | Pointer to **string** | | [optional] -**Summary** | Pointer to **string** | A one-liner synopsis of this package. | [optional] -**SyncFinishedAt** | Pointer to **string** | The datetime the package sync was finished at. | [optional] -**SyncProgress** | Pointer to **int64** | Synchronisation progress (from 0-100) | [optional] -**TagsImmutable** | Pointer to **map[string]interface{}** | All immutable tags on the package, grouped by tag type. Immutable tags cannot be (easily) deleted. | [optional] -**TypeDisplay** | Pointer to **string** | | [optional] -**UploadedAt** | Pointer to **string** | The date this package was uploaded. | [optional] -**Uploader** | Pointer to **string** | | [optional] -**UploaderUrl** | Pointer to **string** | | [optional] -**Version** | Pointer to **string** | The raw version for this package. | [optional] -**VersionOrig** | Pointer to **string** | | [optional] -**VulnerabilityScanResultsUrl** | Pointer to **string** | | [optional] - -## Methods - -### NewRawPackageUpload - -`func NewRawPackageUpload() *RawPackageUpload` - -NewRawPackageUpload instantiates a new RawPackageUpload object -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 - -### NewRawPackageUploadWithDefaults - -`func NewRawPackageUploadWithDefaults() *RawPackageUpload` - -NewRawPackageUploadWithDefaults instantiates a new RawPackageUpload object -This constructor will only assign default values to properties that have it defined, -but it doesn't guarantee that properties required by API are set - -### GetArchitectures - -`func (o *RawPackageUpload) GetArchitectures() []PackagesOwnerRepoArchitectures` - -GetArchitectures returns the Architectures field if non-nil, zero value otherwise. - -### GetArchitecturesOk - -`func (o *RawPackageUpload) GetArchitecturesOk() (*[]PackagesOwnerRepoArchitectures, bool)` - -GetArchitecturesOk returns a tuple with the Architectures field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetArchitectures - -`func (o *RawPackageUpload) SetArchitectures(v []PackagesOwnerRepoArchitectures)` - -SetArchitectures sets Architectures field to given value. - -### HasArchitectures - -`func (o *RawPackageUpload) HasArchitectures() bool` - -HasArchitectures returns a boolean if a field has been set. - -### GetCdnUrl - -`func (o *RawPackageUpload) GetCdnUrl() string` - -GetCdnUrl returns the CdnUrl field if non-nil, zero value otherwise. - -### GetCdnUrlOk - -`func (o *RawPackageUpload) GetCdnUrlOk() (*string, bool)` - -GetCdnUrlOk returns a tuple with the CdnUrl field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetCdnUrl - -`func (o *RawPackageUpload) SetCdnUrl(v string)` - -SetCdnUrl sets CdnUrl field to given value. - -### HasCdnUrl - -`func (o *RawPackageUpload) HasCdnUrl() bool` - -HasCdnUrl returns a boolean if a field has been set. - -### GetChecksumMd5 - -`func (o *RawPackageUpload) GetChecksumMd5() string` - -GetChecksumMd5 returns the ChecksumMd5 field if non-nil, zero value otherwise. - -### GetChecksumMd5Ok - -`func (o *RawPackageUpload) GetChecksumMd5Ok() (*string, bool)` - -GetChecksumMd5Ok returns a tuple with the ChecksumMd5 field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetChecksumMd5 - -`func (o *RawPackageUpload) SetChecksumMd5(v string)` - -SetChecksumMd5 sets ChecksumMd5 field to given value. - -### HasChecksumMd5 - -`func (o *RawPackageUpload) HasChecksumMd5() bool` - -HasChecksumMd5 returns a boolean if a field has been set. - -### GetChecksumSha1 - -`func (o *RawPackageUpload) GetChecksumSha1() string` - -GetChecksumSha1 returns the ChecksumSha1 field if non-nil, zero value otherwise. - -### GetChecksumSha1Ok - -`func (o *RawPackageUpload) GetChecksumSha1Ok() (*string, bool)` - -GetChecksumSha1Ok returns a tuple with the ChecksumSha1 field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetChecksumSha1 - -`func (o *RawPackageUpload) SetChecksumSha1(v string)` - -SetChecksumSha1 sets ChecksumSha1 field to given value. - -### HasChecksumSha1 - -`func (o *RawPackageUpload) HasChecksumSha1() bool` - -HasChecksumSha1 returns a boolean if a field has been set. - -### GetChecksumSha256 - -`func (o *RawPackageUpload) GetChecksumSha256() string` - -GetChecksumSha256 returns the ChecksumSha256 field if non-nil, zero value otherwise. - -### GetChecksumSha256Ok - -`func (o *RawPackageUpload) GetChecksumSha256Ok() (*string, bool)` - -GetChecksumSha256Ok returns a tuple with the ChecksumSha256 field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetChecksumSha256 - -`func (o *RawPackageUpload) SetChecksumSha256(v string)` - -SetChecksumSha256 sets ChecksumSha256 field to given value. - -### HasChecksumSha256 - -`func (o *RawPackageUpload) HasChecksumSha256() bool` - -HasChecksumSha256 returns a boolean if a field has been set. - -### GetChecksumSha512 - -`func (o *RawPackageUpload) GetChecksumSha512() string` - -GetChecksumSha512 returns the ChecksumSha512 field if non-nil, zero value otherwise. - -### GetChecksumSha512Ok - -`func (o *RawPackageUpload) GetChecksumSha512Ok() (*string, bool)` - -GetChecksumSha512Ok returns a tuple with the ChecksumSha512 field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetChecksumSha512 - -`func (o *RawPackageUpload) SetChecksumSha512(v string)` - -SetChecksumSha512 sets ChecksumSha512 field to given value. - -### HasChecksumSha512 - -`func (o *RawPackageUpload) HasChecksumSha512() bool` - -HasChecksumSha512 returns a boolean if a field has been set. - -### GetDependenciesChecksumMd5 - -`func (o *RawPackageUpload) GetDependenciesChecksumMd5() string` - -GetDependenciesChecksumMd5 returns the DependenciesChecksumMd5 field if non-nil, zero value otherwise. - -### GetDependenciesChecksumMd5Ok - -`func (o *RawPackageUpload) GetDependenciesChecksumMd5Ok() (*string, bool)` - -GetDependenciesChecksumMd5Ok returns a tuple with the DependenciesChecksumMd5 field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetDependenciesChecksumMd5 - -`func (o *RawPackageUpload) SetDependenciesChecksumMd5(v string)` - -SetDependenciesChecksumMd5 sets DependenciesChecksumMd5 field to given value. - -### HasDependenciesChecksumMd5 - -`func (o *RawPackageUpload) HasDependenciesChecksumMd5() bool` - -HasDependenciesChecksumMd5 returns a boolean if a field has been set. - -### GetDependenciesUrl - -`func (o *RawPackageUpload) GetDependenciesUrl() string` - -GetDependenciesUrl returns the DependenciesUrl field if non-nil, zero value otherwise. - -### GetDependenciesUrlOk - -`func (o *RawPackageUpload) GetDependenciesUrlOk() (*string, bool)` - -GetDependenciesUrlOk returns a tuple with the DependenciesUrl field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetDependenciesUrl - -`func (o *RawPackageUpload) SetDependenciesUrl(v string)` - -SetDependenciesUrl sets DependenciesUrl field to given value. - -### HasDependenciesUrl - -`func (o *RawPackageUpload) HasDependenciesUrl() bool` - -HasDependenciesUrl returns a boolean if a field has been set. - -### GetDescription - -`func (o *RawPackageUpload) GetDescription() string` - -GetDescription returns the Description field if non-nil, zero value otherwise. - -### GetDescriptionOk - -`func (o *RawPackageUpload) GetDescriptionOk() (*string, bool)` - -GetDescriptionOk returns a tuple with the Description field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetDescription - -`func (o *RawPackageUpload) SetDescription(v string)` - -SetDescription sets Description field to given value. - -### HasDescription - -`func (o *RawPackageUpload) HasDescription() bool` - -HasDescription returns a boolean if a field has been set. - -### GetDistro - -`func (o *RawPackageUpload) GetDistro() map[string]interface{}` - -GetDistro returns the Distro field if non-nil, zero value otherwise. - -### GetDistroOk - -`func (o *RawPackageUpload) GetDistroOk() (*map[string]interface{}, bool)` - -GetDistroOk returns a tuple with the Distro field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetDistro - -`func (o *RawPackageUpload) SetDistro(v map[string]interface{})` - -SetDistro sets Distro field to given value. - -### HasDistro - -`func (o *RawPackageUpload) HasDistro() bool` - -HasDistro returns a boolean if a field has been set. - -### GetDistroVersion - -`func (o *RawPackageUpload) GetDistroVersion() map[string]interface{}` - -GetDistroVersion returns the DistroVersion field if non-nil, zero value otherwise. - -### GetDistroVersionOk - -`func (o *RawPackageUpload) GetDistroVersionOk() (*map[string]interface{}, bool)` - -GetDistroVersionOk returns a tuple with the DistroVersion field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetDistroVersion - -`func (o *RawPackageUpload) SetDistroVersion(v map[string]interface{})` - -SetDistroVersion sets DistroVersion field to given value. - -### HasDistroVersion - -`func (o *RawPackageUpload) HasDistroVersion() bool` - -HasDistroVersion returns a boolean if a field has been set. - -### GetDownloads - -`func (o *RawPackageUpload) GetDownloads() int64` - -GetDownloads returns the Downloads field if non-nil, zero value otherwise. - -### GetDownloadsOk - -`func (o *RawPackageUpload) GetDownloadsOk() (*int64, bool)` - -GetDownloadsOk returns a tuple with the Downloads field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetDownloads - -`func (o *RawPackageUpload) SetDownloads(v int64)` - -SetDownloads sets Downloads field to given value. - -### HasDownloads - -`func (o *RawPackageUpload) HasDownloads() bool` - -HasDownloads returns a boolean if a field has been set. - -### GetEpoch - -`func (o *RawPackageUpload) GetEpoch() int64` - -GetEpoch returns the Epoch field if non-nil, zero value otherwise. - -### GetEpochOk - -`func (o *RawPackageUpload) GetEpochOk() (*int64, bool)` - -GetEpochOk returns a tuple with the Epoch field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetEpoch - -`func (o *RawPackageUpload) SetEpoch(v int64)` - -SetEpoch sets Epoch field to given value. - -### HasEpoch - -`func (o *RawPackageUpload) HasEpoch() bool` - -HasEpoch returns a boolean if a field has been set. - -### GetExtension - -`func (o *RawPackageUpload) GetExtension() string` - -GetExtension returns the Extension field if non-nil, zero value otherwise. - -### GetExtensionOk - -`func (o *RawPackageUpload) GetExtensionOk() (*string, bool)` - -GetExtensionOk returns a tuple with the Extension field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetExtension - -`func (o *RawPackageUpload) SetExtension(v string)` - -SetExtension sets Extension field to given value. - -### HasExtension - -`func (o *RawPackageUpload) HasExtension() bool` - -HasExtension returns a boolean if a field has been set. - -### GetFilename - -`func (o *RawPackageUpload) GetFilename() string` - -GetFilename returns the Filename field if non-nil, zero value otherwise. - -### GetFilenameOk - -`func (o *RawPackageUpload) GetFilenameOk() (*string, bool)` - -GetFilenameOk returns a tuple with the Filename field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetFilename - -`func (o *RawPackageUpload) SetFilename(v string)` - -SetFilename sets Filename field to given value. - -### HasFilename - -`func (o *RawPackageUpload) HasFilename() bool` - -HasFilename returns a boolean if a field has been set. - -### GetFiles - -`func (o *RawPackageUpload) GetFiles() []PackagesOwnerRepoFiles` - -GetFiles returns the Files field if non-nil, zero value otherwise. - -### GetFilesOk - -`func (o *RawPackageUpload) GetFilesOk() (*[]PackagesOwnerRepoFiles, 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 *RawPackageUpload) SetFiles(v []PackagesOwnerRepoFiles)` - -SetFiles sets Files field to given value. - -### HasFiles - -`func (o *RawPackageUpload) HasFiles() bool` - -HasFiles returns a boolean if a field has been set. - -### GetFormat - -`func (o *RawPackageUpload) GetFormat() string` - -GetFormat returns the Format field if non-nil, zero value otherwise. - -### GetFormatOk - -`func (o *RawPackageUpload) GetFormatOk() (*string, bool)` - -GetFormatOk returns a tuple with the Format field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetFormat - -`func (o *RawPackageUpload) SetFormat(v string)` - -SetFormat sets Format field to given value. - -### HasFormat - -`func (o *RawPackageUpload) HasFormat() bool` - -HasFormat returns a boolean if a field has been set. - -### GetFormatUrl - -`func (o *RawPackageUpload) GetFormatUrl() string` - -GetFormatUrl returns the FormatUrl field if non-nil, zero value otherwise. - -### GetFormatUrlOk - -`func (o *RawPackageUpload) GetFormatUrlOk() (*string, bool)` - -GetFormatUrlOk returns a tuple with the FormatUrl field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetFormatUrl - -`func (o *RawPackageUpload) SetFormatUrl(v string)` - -SetFormatUrl sets FormatUrl field to given value. - -### HasFormatUrl - -`func (o *RawPackageUpload) HasFormatUrl() bool` - -HasFormatUrl returns a boolean if a field has been set. - -### GetIdentifierPerm - -`func (o *RawPackageUpload) GetIdentifierPerm() string` - -GetIdentifierPerm returns the IdentifierPerm field if non-nil, zero value otherwise. - -### GetIdentifierPermOk - -`func (o *RawPackageUpload) GetIdentifierPermOk() (*string, bool)` - -GetIdentifierPermOk returns a tuple with the IdentifierPerm field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetIdentifierPerm - -`func (o *RawPackageUpload) SetIdentifierPerm(v string)` - -SetIdentifierPerm sets IdentifierPerm field to given value. - -### HasIdentifierPerm - -`func (o *RawPackageUpload) HasIdentifierPerm() bool` - -HasIdentifierPerm returns a boolean if a field has been set. - -### GetIndexed - -`func (o *RawPackageUpload) GetIndexed() bool` - -GetIndexed returns the Indexed field if non-nil, zero value otherwise. - -### GetIndexedOk - -`func (o *RawPackageUpload) GetIndexedOk() (*bool, bool)` - -GetIndexedOk returns a tuple with the Indexed field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetIndexed - -`func (o *RawPackageUpload) SetIndexed(v bool)` - -SetIndexed sets Indexed field to given value. - -### HasIndexed - -`func (o *RawPackageUpload) HasIndexed() bool` - -HasIndexed returns a boolean if a field has been set. - -### GetIsDownloadable - -`func (o *RawPackageUpload) GetIsDownloadable() bool` - -GetIsDownloadable returns the IsDownloadable field if non-nil, zero value otherwise. - -### GetIsDownloadableOk - -`func (o *RawPackageUpload) GetIsDownloadableOk() (*bool, bool)` - -GetIsDownloadableOk returns a tuple with the IsDownloadable field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetIsDownloadable - -`func (o *RawPackageUpload) SetIsDownloadable(v bool)` - -SetIsDownloadable sets IsDownloadable field to given value. - -### HasIsDownloadable - -`func (o *RawPackageUpload) HasIsDownloadable() bool` - -HasIsDownloadable returns a boolean if a field has been set. - -### GetIsQuarantined - -`func (o *RawPackageUpload) GetIsQuarantined() bool` - -GetIsQuarantined returns the IsQuarantined field if non-nil, zero value otherwise. - -### GetIsQuarantinedOk - -`func (o *RawPackageUpload) GetIsQuarantinedOk() (*bool, bool)` - -GetIsQuarantinedOk returns a tuple with the IsQuarantined field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetIsQuarantined - -`func (o *RawPackageUpload) SetIsQuarantined(v bool)` - -SetIsQuarantined sets IsQuarantined field to given value. - -### HasIsQuarantined - -`func (o *RawPackageUpload) HasIsQuarantined() bool` - -HasIsQuarantined returns a boolean if a field has been set. - -### GetIsSyncAwaiting - -`func (o *RawPackageUpload) GetIsSyncAwaiting() bool` - -GetIsSyncAwaiting returns the IsSyncAwaiting field if non-nil, zero value otherwise. - -### GetIsSyncAwaitingOk - -`func (o *RawPackageUpload) GetIsSyncAwaitingOk() (*bool, bool)` - -GetIsSyncAwaitingOk returns a tuple with the IsSyncAwaiting field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetIsSyncAwaiting - -`func (o *RawPackageUpload) SetIsSyncAwaiting(v bool)` - -SetIsSyncAwaiting sets IsSyncAwaiting field to given value. - -### HasIsSyncAwaiting - -`func (o *RawPackageUpload) HasIsSyncAwaiting() bool` - -HasIsSyncAwaiting returns a boolean if a field has been set. - -### GetIsSyncCompleted - -`func (o *RawPackageUpload) GetIsSyncCompleted() bool` - -GetIsSyncCompleted returns the IsSyncCompleted field if non-nil, zero value otherwise. - -### GetIsSyncCompletedOk - -`func (o *RawPackageUpload) GetIsSyncCompletedOk() (*bool, bool)` - -GetIsSyncCompletedOk returns a tuple with the IsSyncCompleted field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetIsSyncCompleted - -`func (o *RawPackageUpload) SetIsSyncCompleted(v bool)` - -SetIsSyncCompleted sets IsSyncCompleted field to given value. - -### HasIsSyncCompleted - -`func (o *RawPackageUpload) HasIsSyncCompleted() bool` - -HasIsSyncCompleted returns a boolean if a field has been set. - -### GetIsSyncFailed - -`func (o *RawPackageUpload) GetIsSyncFailed() bool` - -GetIsSyncFailed returns the IsSyncFailed field if non-nil, zero value otherwise. - -### GetIsSyncFailedOk - -`func (o *RawPackageUpload) GetIsSyncFailedOk() (*bool, bool)` - -GetIsSyncFailedOk returns a tuple with the IsSyncFailed field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetIsSyncFailed - -`func (o *RawPackageUpload) SetIsSyncFailed(v bool)` - -SetIsSyncFailed sets IsSyncFailed field to given value. - -### HasIsSyncFailed - -`func (o *RawPackageUpload) HasIsSyncFailed() bool` - -HasIsSyncFailed returns a boolean if a field has been set. - -### GetIsSyncInFlight - -`func (o *RawPackageUpload) GetIsSyncInFlight() bool` - -GetIsSyncInFlight returns the IsSyncInFlight field if non-nil, zero value otherwise. - -### GetIsSyncInFlightOk - -`func (o *RawPackageUpload) GetIsSyncInFlightOk() (*bool, bool)` - -GetIsSyncInFlightOk returns a tuple with the IsSyncInFlight field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetIsSyncInFlight - -`func (o *RawPackageUpload) SetIsSyncInFlight(v bool)` - -SetIsSyncInFlight sets IsSyncInFlight field to given value. - -### HasIsSyncInFlight - -`func (o *RawPackageUpload) HasIsSyncInFlight() bool` - -HasIsSyncInFlight returns a boolean if a field has been set. - -### GetIsSyncInProgress - -`func (o *RawPackageUpload) GetIsSyncInProgress() bool` - -GetIsSyncInProgress returns the IsSyncInProgress field if non-nil, zero value otherwise. - -### GetIsSyncInProgressOk - -`func (o *RawPackageUpload) GetIsSyncInProgressOk() (*bool, bool)` - -GetIsSyncInProgressOk returns a tuple with the IsSyncInProgress field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetIsSyncInProgress - -`func (o *RawPackageUpload) SetIsSyncInProgress(v bool)` - -SetIsSyncInProgress sets IsSyncInProgress field to given value. - -### HasIsSyncInProgress - -`func (o *RawPackageUpload) HasIsSyncInProgress() bool` - -HasIsSyncInProgress returns a boolean if a field has been set. - -### GetLicense - -`func (o *RawPackageUpload) GetLicense() string` - -GetLicense returns the License field if non-nil, zero value otherwise. - -### GetLicenseOk - -`func (o *RawPackageUpload) GetLicenseOk() (*string, bool)` - -GetLicenseOk returns a tuple with the License field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetLicense - -`func (o *RawPackageUpload) SetLicense(v string)` - -SetLicense sets License field to given value. - -### HasLicense - -`func (o *RawPackageUpload) HasLicense() bool` - -HasLicense returns a boolean if a field has been set. - -### GetName - -`func (o *RawPackageUpload) GetName() string` - -GetName returns the Name field if non-nil, zero value otherwise. - -### GetNameOk - -`func (o *RawPackageUpload) GetNameOk() (*string, bool)` - -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. - -### SetName - -`func (o *RawPackageUpload) SetName(v string)` - -SetName sets Name field to given value. - -### HasName - -`func (o *RawPackageUpload) HasName() bool` - -HasName returns a boolean if a field has been set. - -### GetNamespace - -`func (o *RawPackageUpload) GetNamespace() string` - -GetNamespace returns the Namespace field if non-nil, zero value otherwise. - -### GetNamespaceOk - -`func (o *RawPackageUpload) GetNamespaceOk() (*string, bool)` - -GetNamespaceOk returns a tuple with the Namespace field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetNamespace - -`func (o *RawPackageUpload) SetNamespace(v string)` - -SetNamespace sets Namespace field to given value. - -### HasNamespace - -`func (o *RawPackageUpload) HasNamespace() bool` - -HasNamespace returns a boolean if a field has been set. - -### GetNamespaceUrl - -`func (o *RawPackageUpload) GetNamespaceUrl() string` - -GetNamespaceUrl returns the NamespaceUrl field if non-nil, zero value otherwise. - -### GetNamespaceUrlOk - -`func (o *RawPackageUpload) GetNamespaceUrlOk() (*string, bool)` - -GetNamespaceUrlOk returns a tuple with the NamespaceUrl field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetNamespaceUrl - -`func (o *RawPackageUpload) SetNamespaceUrl(v string)` - -SetNamespaceUrl sets NamespaceUrl field to given value. - -### HasNamespaceUrl - -`func (o *RawPackageUpload) HasNamespaceUrl() bool` - -HasNamespaceUrl returns a boolean if a field has been set. - -### GetNumFiles - -`func (o *RawPackageUpload) GetNumFiles() int64` - -GetNumFiles returns the NumFiles field if non-nil, zero value otherwise. - -### GetNumFilesOk - -`func (o *RawPackageUpload) GetNumFilesOk() (*int64, bool)` - -GetNumFilesOk returns a tuple with the NumFiles field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetNumFiles - -`func (o *RawPackageUpload) SetNumFiles(v int64)` - -SetNumFiles sets NumFiles field to given value. - -### HasNumFiles - -`func (o *RawPackageUpload) HasNumFiles() bool` - -HasNumFiles returns a boolean if a field has been set. - -### GetPackageType - -`func (o *RawPackageUpload) GetPackageType() int64` - -GetPackageType returns the PackageType field if non-nil, zero value otherwise. - -### GetPackageTypeOk - -`func (o *RawPackageUpload) GetPackageTypeOk() (*int64, bool)` - -GetPackageTypeOk returns a tuple with the PackageType field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetPackageType - -`func (o *RawPackageUpload) SetPackageType(v int64)` - -SetPackageType sets PackageType field to given value. - -### HasPackageType - -`func (o *RawPackageUpload) HasPackageType() bool` - -HasPackageType returns a boolean if a field has been set. - -### GetRelease - -`func (o *RawPackageUpload) GetRelease() string` - -GetRelease returns the Release field if non-nil, zero value otherwise. - -### GetReleaseOk - -`func (o *RawPackageUpload) GetReleaseOk() (*string, bool)` - -GetReleaseOk returns a tuple with the Release field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetRelease - -`func (o *RawPackageUpload) SetRelease(v string)` - -SetRelease sets Release field to given value. - -### HasRelease - -`func (o *RawPackageUpload) HasRelease() bool` - -HasRelease returns a boolean if a field has been set. - -### GetRepository - -`func (o *RawPackageUpload) GetRepository() string` - -GetRepository returns the Repository field if non-nil, zero value otherwise. - -### GetRepositoryOk - -`func (o *RawPackageUpload) GetRepositoryOk() (*string, bool)` - -GetRepositoryOk returns a tuple with the Repository field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetRepository - -`func (o *RawPackageUpload) SetRepository(v string)` - -SetRepository sets Repository field to given value. - -### HasRepository - -`func (o *RawPackageUpload) HasRepository() bool` - -HasRepository returns a boolean if a field has been set. - -### GetRepositoryUrl - -`func (o *RawPackageUpload) GetRepositoryUrl() string` - -GetRepositoryUrl returns the RepositoryUrl field if non-nil, zero value otherwise. - -### GetRepositoryUrlOk - -`func (o *RawPackageUpload) GetRepositoryUrlOk() (*string, bool)` - -GetRepositoryUrlOk returns a tuple with the RepositoryUrl field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetRepositoryUrl - -`func (o *RawPackageUpload) SetRepositoryUrl(v string)` - -SetRepositoryUrl sets RepositoryUrl field to given value. - -### HasRepositoryUrl - -`func (o *RawPackageUpload) HasRepositoryUrl() bool` - -HasRepositoryUrl returns a boolean if a field has been set. - -### GetSecurityScanCompletedAt - -`func (o *RawPackageUpload) GetSecurityScanCompletedAt() string` - -GetSecurityScanCompletedAt returns the SecurityScanCompletedAt field if non-nil, zero value otherwise. - -### GetSecurityScanCompletedAtOk - -`func (o *RawPackageUpload) GetSecurityScanCompletedAtOk() (*string, bool)` - -GetSecurityScanCompletedAtOk returns a tuple with the SecurityScanCompletedAt field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetSecurityScanCompletedAt - -`func (o *RawPackageUpload) SetSecurityScanCompletedAt(v string)` - -SetSecurityScanCompletedAt sets SecurityScanCompletedAt field to given value. - -### HasSecurityScanCompletedAt - -`func (o *RawPackageUpload) HasSecurityScanCompletedAt() bool` - -HasSecurityScanCompletedAt returns a boolean if a field has been set. - -### GetSecurityScanStartedAt - -`func (o *RawPackageUpload) GetSecurityScanStartedAt() string` - -GetSecurityScanStartedAt returns the SecurityScanStartedAt field if non-nil, zero value otherwise. - -### GetSecurityScanStartedAtOk - -`func (o *RawPackageUpload) GetSecurityScanStartedAtOk() (*string, bool)` - -GetSecurityScanStartedAtOk returns a tuple with the SecurityScanStartedAt field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetSecurityScanStartedAt - -`func (o *RawPackageUpload) SetSecurityScanStartedAt(v string)` - -SetSecurityScanStartedAt sets SecurityScanStartedAt field to given value. - -### HasSecurityScanStartedAt - -`func (o *RawPackageUpload) HasSecurityScanStartedAt() bool` - -HasSecurityScanStartedAt returns a boolean if a field has been set. - -### GetSecurityScanStatus - -`func (o *RawPackageUpload) GetSecurityScanStatus() string` - -GetSecurityScanStatus returns the SecurityScanStatus field if non-nil, zero value otherwise. - -### GetSecurityScanStatusOk - -`func (o *RawPackageUpload) GetSecurityScanStatusOk() (*string, bool)` - -GetSecurityScanStatusOk returns a tuple with the SecurityScanStatus field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetSecurityScanStatus - -`func (o *RawPackageUpload) SetSecurityScanStatus(v string)` - -SetSecurityScanStatus sets SecurityScanStatus field to given value. - -### HasSecurityScanStatus - -`func (o *RawPackageUpload) HasSecurityScanStatus() bool` - -HasSecurityScanStatus returns a boolean if a field has been set. - -### GetSecurityScanStatusUpdatedAt - -`func (o *RawPackageUpload) GetSecurityScanStatusUpdatedAt() string` - -GetSecurityScanStatusUpdatedAt returns the SecurityScanStatusUpdatedAt field if non-nil, zero value otherwise. - -### GetSecurityScanStatusUpdatedAtOk - -`func (o *RawPackageUpload) GetSecurityScanStatusUpdatedAtOk() (*string, bool)` - -GetSecurityScanStatusUpdatedAtOk returns a tuple with the SecurityScanStatusUpdatedAt field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetSecurityScanStatusUpdatedAt - -`func (o *RawPackageUpload) SetSecurityScanStatusUpdatedAt(v string)` - -SetSecurityScanStatusUpdatedAt sets SecurityScanStatusUpdatedAt field to given value. - -### HasSecurityScanStatusUpdatedAt - -`func (o *RawPackageUpload) HasSecurityScanStatusUpdatedAt() bool` - -HasSecurityScanStatusUpdatedAt returns a boolean if a field has been set. - -### GetSelfHtmlUrl - -`func (o *RawPackageUpload) GetSelfHtmlUrl() string` - -GetSelfHtmlUrl returns the SelfHtmlUrl field if non-nil, zero value otherwise. - -### GetSelfHtmlUrlOk - -`func (o *RawPackageUpload) GetSelfHtmlUrlOk() (*string, bool)` - -GetSelfHtmlUrlOk returns a tuple with the SelfHtmlUrl field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetSelfHtmlUrl - -`func (o *RawPackageUpload) SetSelfHtmlUrl(v string)` - -SetSelfHtmlUrl sets SelfHtmlUrl field to given value. - -### HasSelfHtmlUrl - -`func (o *RawPackageUpload) HasSelfHtmlUrl() bool` - -HasSelfHtmlUrl returns a boolean if a field has been set. - -### GetSelfUrl - -`func (o *RawPackageUpload) GetSelfUrl() string` - -GetSelfUrl returns the SelfUrl field if non-nil, zero value otherwise. - -### GetSelfUrlOk - -`func (o *RawPackageUpload) GetSelfUrlOk() (*string, bool)` - -GetSelfUrlOk returns a tuple with the SelfUrl field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetSelfUrl - -`func (o *RawPackageUpload) SetSelfUrl(v string)` - -SetSelfUrl sets SelfUrl field to given value. - -### HasSelfUrl - -`func (o *RawPackageUpload) HasSelfUrl() bool` - -HasSelfUrl returns a boolean if a field has been set. - -### GetSignatureUrl - -`func (o *RawPackageUpload) GetSignatureUrl() string` - -GetSignatureUrl returns the SignatureUrl field if non-nil, zero value otherwise. - -### GetSignatureUrlOk - -`func (o *RawPackageUpload) GetSignatureUrlOk() (*string, bool)` - -GetSignatureUrlOk returns a tuple with the SignatureUrl field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetSignatureUrl - -`func (o *RawPackageUpload) SetSignatureUrl(v string)` - -SetSignatureUrl sets SignatureUrl field to given value. - -### HasSignatureUrl - -`func (o *RawPackageUpload) HasSignatureUrl() bool` - -HasSignatureUrl returns a boolean if a field has been set. - -### GetSize - -`func (o *RawPackageUpload) GetSize() int64` - -GetSize returns the Size field if non-nil, zero value otherwise. - -### GetSizeOk - -`func (o *RawPackageUpload) GetSizeOk() (*int64, bool)` - -GetSizeOk returns a tuple with the Size field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetSize - -`func (o *RawPackageUpload) SetSize(v int64)` - -SetSize sets Size field to given value. - -### HasSize - -`func (o *RawPackageUpload) HasSize() bool` - -HasSize returns a boolean if a field has been set. - -### GetSlug - -`func (o *RawPackageUpload) GetSlug() string` - -GetSlug returns the Slug field if non-nil, zero value otherwise. - -### GetSlugOk - -`func (o *RawPackageUpload) GetSlugOk() (*string, bool)` - -GetSlugOk returns a tuple with the Slug field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetSlug - -`func (o *RawPackageUpload) SetSlug(v string)` - -SetSlug sets Slug field to given value. - -### HasSlug - -`func (o *RawPackageUpload) HasSlug() bool` - -HasSlug returns a boolean if a field has been set. - -### GetSlugPerm - -`func (o *RawPackageUpload) GetSlugPerm() string` - -GetSlugPerm returns the SlugPerm field if non-nil, zero value otherwise. - -### GetSlugPermOk - -`func (o *RawPackageUpload) GetSlugPermOk() (*string, bool)` - -GetSlugPermOk returns a tuple with the SlugPerm field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetSlugPerm - -`func (o *RawPackageUpload) SetSlugPerm(v string)` - -SetSlugPerm sets SlugPerm field to given value. - -### HasSlugPerm - -`func (o *RawPackageUpload) HasSlugPerm() bool` - -HasSlugPerm returns a boolean if a field has been set. - -### GetStage - -`func (o *RawPackageUpload) GetStage() int64` - -GetStage returns the Stage field if non-nil, zero value otherwise. - -### GetStageOk - -`func (o *RawPackageUpload) GetStageOk() (*int64, bool)` - -GetStageOk returns a tuple with the Stage field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetStage - -`func (o *RawPackageUpload) SetStage(v int64)` - -SetStage sets Stage field to given value. - -### HasStage - -`func (o *RawPackageUpload) HasStage() bool` - -HasStage returns a boolean if a field has been set. - -### GetStageStr - -`func (o *RawPackageUpload) GetStageStr() string` - -GetStageStr returns the StageStr field if non-nil, zero value otherwise. - -### GetStageStrOk - -`func (o *RawPackageUpload) GetStageStrOk() (*string, bool)` - -GetStageStrOk returns a tuple with the StageStr field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetStageStr - -`func (o *RawPackageUpload) SetStageStr(v string)` - -SetStageStr sets StageStr field to given value. - -### HasStageStr - -`func (o *RawPackageUpload) HasStageStr() bool` - -HasStageStr returns a boolean if a field has been set. - -### GetStageUpdatedAt - -`func (o *RawPackageUpload) GetStageUpdatedAt() string` - -GetStageUpdatedAt returns the StageUpdatedAt field if non-nil, zero value otherwise. - -### GetStageUpdatedAtOk - -`func (o *RawPackageUpload) GetStageUpdatedAtOk() (*string, bool)` - -GetStageUpdatedAtOk returns a tuple with the StageUpdatedAt field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetStageUpdatedAt - -`func (o *RawPackageUpload) SetStageUpdatedAt(v string)` - -SetStageUpdatedAt sets StageUpdatedAt field to given value. - -### HasStageUpdatedAt - -`func (o *RawPackageUpload) HasStageUpdatedAt() bool` - -HasStageUpdatedAt returns a boolean if a field has been set. - -### GetStatus - -`func (o *RawPackageUpload) GetStatus() int64` - -GetStatus returns the Status field if non-nil, zero value otherwise. - -### GetStatusOk - -`func (o *RawPackageUpload) GetStatusOk() (*int64, bool)` - -GetStatusOk returns a tuple with the Status field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetStatus - -`func (o *RawPackageUpload) SetStatus(v int64)` - -SetStatus sets Status field to given value. - -### HasStatus - -`func (o *RawPackageUpload) HasStatus() bool` - -HasStatus returns a boolean if a field has been set. - -### GetStatusReason - -`func (o *RawPackageUpload) GetStatusReason() string` - -GetStatusReason returns the StatusReason field if non-nil, zero value otherwise. - -### GetStatusReasonOk - -`func (o *RawPackageUpload) GetStatusReasonOk() (*string, bool)` - -GetStatusReasonOk returns a tuple with the StatusReason field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetStatusReason - -`func (o *RawPackageUpload) SetStatusReason(v string)` - -SetStatusReason sets StatusReason field to given value. - -### HasStatusReason - -`func (o *RawPackageUpload) HasStatusReason() bool` - -HasStatusReason returns a boolean if a field has been set. - -### GetStatusStr - -`func (o *RawPackageUpload) GetStatusStr() string` - -GetStatusStr returns the StatusStr field if non-nil, zero value otherwise. - -### GetStatusStrOk - -`func (o *RawPackageUpload) GetStatusStrOk() (*string, bool)` - -GetStatusStrOk returns a tuple with the StatusStr field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetStatusStr - -`func (o *RawPackageUpload) SetStatusStr(v string)` - -SetStatusStr sets StatusStr field to given value. - -### HasStatusStr - -`func (o *RawPackageUpload) HasStatusStr() bool` - -HasStatusStr returns a boolean if a field has been set. - -### GetStatusUpdatedAt - -`func (o *RawPackageUpload) GetStatusUpdatedAt() string` - -GetStatusUpdatedAt returns the StatusUpdatedAt field if non-nil, zero value otherwise. - -### GetStatusUpdatedAtOk - -`func (o *RawPackageUpload) GetStatusUpdatedAtOk() (*string, bool)` - -GetStatusUpdatedAtOk returns a tuple with the StatusUpdatedAt field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetStatusUpdatedAt - -`func (o *RawPackageUpload) SetStatusUpdatedAt(v string)` - -SetStatusUpdatedAt sets StatusUpdatedAt field to given value. - -### HasStatusUpdatedAt - -`func (o *RawPackageUpload) HasStatusUpdatedAt() bool` - -HasStatusUpdatedAt returns a boolean if a field has been set. - -### GetStatusUrl - -`func (o *RawPackageUpload) GetStatusUrl() string` - -GetStatusUrl returns the StatusUrl field if non-nil, zero value otherwise. - -### GetStatusUrlOk - -`func (o *RawPackageUpload) GetStatusUrlOk() (*string, bool)` - -GetStatusUrlOk returns a tuple with the StatusUrl field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetStatusUrl - -`func (o *RawPackageUpload) SetStatusUrl(v string)` - -SetStatusUrl sets StatusUrl field to given value. - -### HasStatusUrl - -`func (o *RawPackageUpload) HasStatusUrl() bool` - -HasStatusUrl returns a boolean if a field has been set. - -### GetSubtype - -`func (o *RawPackageUpload) GetSubtype() string` - -GetSubtype returns the Subtype field if non-nil, zero value otherwise. - -### GetSubtypeOk - -`func (o *RawPackageUpload) GetSubtypeOk() (*string, bool)` - -GetSubtypeOk returns a tuple with the Subtype field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetSubtype - -`func (o *RawPackageUpload) SetSubtype(v string)` - -SetSubtype sets Subtype field to given value. - -### HasSubtype - -`func (o *RawPackageUpload) HasSubtype() bool` - -HasSubtype returns a boolean if a field has been set. - -### GetSummary - -`func (o *RawPackageUpload) GetSummary() string` - -GetSummary returns the Summary field if non-nil, zero value otherwise. - -### GetSummaryOk - -`func (o *RawPackageUpload) GetSummaryOk() (*string, bool)` - -GetSummaryOk returns a tuple with the Summary field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetSummary - -`func (o *RawPackageUpload) SetSummary(v string)` - -SetSummary sets Summary field to given value. - -### HasSummary - -`func (o *RawPackageUpload) HasSummary() bool` - -HasSummary returns a boolean if a field has been set. - -### GetSyncFinishedAt - -`func (o *RawPackageUpload) GetSyncFinishedAt() string` - -GetSyncFinishedAt returns the SyncFinishedAt field if non-nil, zero value otherwise. - -### GetSyncFinishedAtOk - -`func (o *RawPackageUpload) GetSyncFinishedAtOk() (*string, bool)` - -GetSyncFinishedAtOk returns a tuple with the SyncFinishedAt field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetSyncFinishedAt - -`func (o *RawPackageUpload) SetSyncFinishedAt(v string)` - -SetSyncFinishedAt sets SyncFinishedAt field to given value. - -### HasSyncFinishedAt - -`func (o *RawPackageUpload) HasSyncFinishedAt() bool` - -HasSyncFinishedAt returns a boolean if a field has been set. - -### GetSyncProgress - -`func (o *RawPackageUpload) GetSyncProgress() int64` - -GetSyncProgress returns the SyncProgress field if non-nil, zero value otherwise. - -### GetSyncProgressOk - -`func (o *RawPackageUpload) GetSyncProgressOk() (*int64, bool)` - -GetSyncProgressOk returns a tuple with the SyncProgress field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetSyncProgress - -`func (o *RawPackageUpload) SetSyncProgress(v int64)` - -SetSyncProgress sets SyncProgress field to given value. - -### HasSyncProgress - -`func (o *RawPackageUpload) HasSyncProgress() bool` - -HasSyncProgress returns a boolean if a field has been set. - -### GetTagsImmutable - -`func (o *RawPackageUpload) GetTagsImmutable() map[string]interface{}` - -GetTagsImmutable returns the TagsImmutable field if non-nil, zero value otherwise. - -### GetTagsImmutableOk - -`func (o *RawPackageUpload) GetTagsImmutableOk() (*map[string]interface{}, bool)` - -GetTagsImmutableOk returns a tuple with the TagsImmutable field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetTagsImmutable - -`func (o *RawPackageUpload) SetTagsImmutable(v map[string]interface{})` - -SetTagsImmutable sets TagsImmutable field to given value. - -### HasTagsImmutable - -`func (o *RawPackageUpload) HasTagsImmutable() bool` - -HasTagsImmutable returns a boolean if a field has been set. - -### GetTypeDisplay - -`func (o *RawPackageUpload) GetTypeDisplay() string` - -GetTypeDisplay returns the TypeDisplay field if non-nil, zero value otherwise. - -### GetTypeDisplayOk - -`func (o *RawPackageUpload) GetTypeDisplayOk() (*string, bool)` - -GetTypeDisplayOk returns a tuple with the TypeDisplay field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetTypeDisplay - -`func (o *RawPackageUpload) SetTypeDisplay(v string)` - -SetTypeDisplay sets TypeDisplay field to given value. - -### HasTypeDisplay - -`func (o *RawPackageUpload) HasTypeDisplay() bool` - -HasTypeDisplay returns a boolean if a field has been set. - -### GetUploadedAt - -`func (o *RawPackageUpload) GetUploadedAt() string` - -GetUploadedAt returns the UploadedAt field if non-nil, zero value otherwise. - -### GetUploadedAtOk - -`func (o *RawPackageUpload) GetUploadedAtOk() (*string, bool)` - -GetUploadedAtOk returns a tuple with the UploadedAt field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetUploadedAt - -`func (o *RawPackageUpload) SetUploadedAt(v string)` - -SetUploadedAt sets UploadedAt field to given value. - -### HasUploadedAt - -`func (o *RawPackageUpload) HasUploadedAt() bool` - -HasUploadedAt returns a boolean if a field has been set. - -### GetUploader - -`func (o *RawPackageUpload) GetUploader() string` - -GetUploader returns the Uploader field if non-nil, zero value otherwise. - -### GetUploaderOk - -`func (o *RawPackageUpload) GetUploaderOk() (*string, bool)` - -GetUploaderOk returns a tuple with the Uploader field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetUploader - -`func (o *RawPackageUpload) SetUploader(v string)` - -SetUploader sets Uploader field to given value. - -### HasUploader - -`func (o *RawPackageUpload) HasUploader() bool` - -HasUploader returns a boolean if a field has been set. - -### GetUploaderUrl - -`func (o *RawPackageUpload) GetUploaderUrl() string` - -GetUploaderUrl returns the UploaderUrl field if non-nil, zero value otherwise. - -### GetUploaderUrlOk - -`func (o *RawPackageUpload) GetUploaderUrlOk() (*string, bool)` - -GetUploaderUrlOk returns a tuple with the UploaderUrl field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetUploaderUrl - -`func (o *RawPackageUpload) SetUploaderUrl(v string)` - -SetUploaderUrl sets UploaderUrl field to given value. - -### HasUploaderUrl - -`func (o *RawPackageUpload) HasUploaderUrl() bool` - -HasUploaderUrl returns a boolean if a field has been set. - -### GetVersion - -`func (o *RawPackageUpload) GetVersion() string` - -GetVersion returns the Version field if non-nil, zero value otherwise. - -### GetVersionOk - -`func (o *RawPackageUpload) GetVersionOk() (*string, bool)` - -GetVersionOk returns a tuple with the Version field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetVersion - -`func (o *RawPackageUpload) SetVersion(v string)` - -SetVersion sets Version field to given value. - -### HasVersion - -`func (o *RawPackageUpload) HasVersion() bool` - -HasVersion returns a boolean if a field has been set. - -### GetVersionOrig - -`func (o *RawPackageUpload) GetVersionOrig() string` - -GetVersionOrig returns the VersionOrig field if non-nil, zero value otherwise. - -### GetVersionOrigOk - -`func (o *RawPackageUpload) GetVersionOrigOk() (*string, bool)` - -GetVersionOrigOk returns a tuple with the VersionOrig field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetVersionOrig - -`func (o *RawPackageUpload) SetVersionOrig(v string)` - -SetVersionOrig sets VersionOrig field to given value. - -### HasVersionOrig - -`func (o *RawPackageUpload) HasVersionOrig() bool` - -HasVersionOrig returns a boolean if a field has been set. - -### GetVulnerabilityScanResultsUrl - -`func (o *RawPackageUpload) GetVulnerabilityScanResultsUrl() string` - -GetVulnerabilityScanResultsUrl returns the VulnerabilityScanResultsUrl field if non-nil, zero value otherwise. - -### GetVulnerabilityScanResultsUrlOk - -`func (o *RawPackageUpload) GetVulnerabilityScanResultsUrlOk() (*string, bool)` - -GetVulnerabilityScanResultsUrlOk returns a tuple with the VulnerabilityScanResultsUrl field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetVulnerabilityScanResultsUrl - -`func (o *RawPackageUpload) SetVulnerabilityScanResultsUrl(v string)` - -SetVulnerabilityScanResultsUrl sets VulnerabilityScanResultsUrl field to given value. - -### HasVulnerabilityScanResultsUrl - -`func (o *RawPackageUpload) HasVulnerabilityScanResultsUrl() bool` - -HasVulnerabilityScanResultsUrl 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/docs/RawPackageUploadRequest.md b/docs/RawPackageUploadRequest.md new file mode 100644 index 00000000..4a28c847 --- /dev/null +++ b/docs/RawPackageUploadRequest.md @@ -0,0 +1,293 @@ +# RawPackageUploadRequest + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**ContentType** | Pointer to **NullableString** | A custom content/media (also known as MIME) type to be sent when downloading this file. By default Cloudsmith will attempt to detect the type, but if you need to override it, you can specify it here. | [optional] +**Description** | Pointer to **NullableString** | A textual description of this package. | [optional] +**Name** | Pointer to **NullableString** | The name of this package. | [optional] +**PackageFile** | **string** | The primary file for the package. | +**Republish** | Pointer to **bool** | If true, the uploaded package will overwrite any others with the same attributes (e.g. same version); otherwise, it will be flagged as a duplicate. | [optional] +**Summary** | Pointer to **NullableString** | A one-liner synopsis of this package. | [optional] +**Tags** | Pointer to **NullableString** | A comma-separated values list of tags to add to the package. | [optional] +**Version** | Pointer to **NullableString** | The raw version for this package. | [optional] + +## Methods + +### NewRawPackageUploadRequest + +`func NewRawPackageUploadRequest(packageFile string, ) *RawPackageUploadRequest` + +NewRawPackageUploadRequest instantiates a new RawPackageUploadRequest object +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 + +### NewRawPackageUploadRequestWithDefaults + +`func NewRawPackageUploadRequestWithDefaults() *RawPackageUploadRequest` + +NewRawPackageUploadRequestWithDefaults instantiates a new RawPackageUploadRequest object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetContentType + +`func (o *RawPackageUploadRequest) GetContentType() string` + +GetContentType returns the ContentType field if non-nil, zero value otherwise. + +### GetContentTypeOk + +`func (o *RawPackageUploadRequest) GetContentTypeOk() (*string, bool)` + +GetContentTypeOk returns a tuple with the ContentType field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetContentType + +`func (o *RawPackageUploadRequest) SetContentType(v string)` + +SetContentType sets ContentType field to given value. + +### HasContentType + +`func (o *RawPackageUploadRequest) HasContentType() bool` + +HasContentType returns a boolean if a field has been set. + +### SetContentTypeNil + +`func (o *RawPackageUploadRequest) SetContentTypeNil(b bool)` + + SetContentTypeNil sets the value for ContentType to be an explicit nil + +### UnsetContentType +`func (o *RawPackageUploadRequest) UnsetContentType()` + +UnsetContentType ensures that no value is present for ContentType, not even an explicit nil +### GetDescription + +`func (o *RawPackageUploadRequest) GetDescription() string` + +GetDescription returns the Description field if non-nil, zero value otherwise. + +### GetDescriptionOk + +`func (o *RawPackageUploadRequest) GetDescriptionOk() (*string, bool)` + +GetDescriptionOk returns a tuple with the Description field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetDescription + +`func (o *RawPackageUploadRequest) SetDescription(v string)` + +SetDescription sets Description field to given value. + +### HasDescription + +`func (o *RawPackageUploadRequest) HasDescription() bool` + +HasDescription returns a boolean if a field has been set. + +### SetDescriptionNil + +`func (o *RawPackageUploadRequest) SetDescriptionNil(b bool)` + + SetDescriptionNil sets the value for Description to be an explicit nil + +### UnsetDescription +`func (o *RawPackageUploadRequest) UnsetDescription()` + +UnsetDescription ensures that no value is present for Description, not even an explicit nil +### GetName + +`func (o *RawPackageUploadRequest) GetName() string` + +GetName returns the Name field if non-nil, zero value otherwise. + +### GetNameOk + +`func (o *RawPackageUploadRequest) GetNameOk() (*string, bool)` + +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. + +### SetName + +`func (o *RawPackageUploadRequest) SetName(v string)` + +SetName sets Name field to given value. + +### HasName + +`func (o *RawPackageUploadRequest) HasName() bool` + +HasName returns a boolean if a field has been set. + +### SetNameNil + +`func (o *RawPackageUploadRequest) SetNameNil(b bool)` + + SetNameNil sets the value for Name to be an explicit nil + +### UnsetName +`func (o *RawPackageUploadRequest) UnsetName()` + +UnsetName ensures that no value is present for Name, not even an explicit nil +### GetPackageFile + +`func (o *RawPackageUploadRequest) GetPackageFile() string` + +GetPackageFile returns the PackageFile field if non-nil, zero value otherwise. + +### GetPackageFileOk + +`func (o *RawPackageUploadRequest) GetPackageFileOk() (*string, bool)` + +GetPackageFileOk returns a tuple with the PackageFile field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetPackageFile + +`func (o *RawPackageUploadRequest) SetPackageFile(v string)` + +SetPackageFile sets PackageFile field to given value. + + +### GetRepublish + +`func (o *RawPackageUploadRequest) GetRepublish() bool` + +GetRepublish returns the Republish field if non-nil, zero value otherwise. + +### GetRepublishOk + +`func (o *RawPackageUploadRequest) GetRepublishOk() (*bool, bool)` + +GetRepublishOk returns a tuple with the Republish field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetRepublish + +`func (o *RawPackageUploadRequest) SetRepublish(v bool)` + +SetRepublish sets Republish field to given value. + +### HasRepublish + +`func (o *RawPackageUploadRequest) HasRepublish() bool` + +HasRepublish returns a boolean if a field has been set. + +### GetSummary + +`func (o *RawPackageUploadRequest) GetSummary() string` + +GetSummary returns the Summary field if non-nil, zero value otherwise. + +### GetSummaryOk + +`func (o *RawPackageUploadRequest) GetSummaryOk() (*string, bool)` + +GetSummaryOk returns a tuple with the Summary field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetSummary + +`func (o *RawPackageUploadRequest) SetSummary(v string)` + +SetSummary sets Summary field to given value. + +### HasSummary + +`func (o *RawPackageUploadRequest) HasSummary() bool` + +HasSummary returns a boolean if a field has been set. + +### SetSummaryNil + +`func (o *RawPackageUploadRequest) SetSummaryNil(b bool)` + + SetSummaryNil sets the value for Summary to be an explicit nil + +### UnsetSummary +`func (o *RawPackageUploadRequest) UnsetSummary()` + +UnsetSummary ensures that no value is present for Summary, not even an explicit nil +### GetTags + +`func (o *RawPackageUploadRequest) GetTags() string` + +GetTags returns the Tags field if non-nil, zero value otherwise. + +### GetTagsOk + +`func (o *RawPackageUploadRequest) GetTagsOk() (*string, bool)` + +GetTagsOk returns a tuple with the Tags field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetTags + +`func (o *RawPackageUploadRequest) SetTags(v string)` + +SetTags sets Tags field to given value. + +### HasTags + +`func (o *RawPackageUploadRequest) HasTags() bool` + +HasTags returns a boolean if a field has been set. + +### SetTagsNil + +`func (o *RawPackageUploadRequest) SetTagsNil(b bool)` + + SetTagsNil sets the value for Tags to be an explicit nil + +### UnsetTags +`func (o *RawPackageUploadRequest) UnsetTags()` + +UnsetTags ensures that no value is present for Tags, not even an explicit nil +### GetVersion + +`func (o *RawPackageUploadRequest) GetVersion() string` + +GetVersion returns the Version field if non-nil, zero value otherwise. + +### GetVersionOk + +`func (o *RawPackageUploadRequest) GetVersionOk() (*string, bool)` + +GetVersionOk returns a tuple with the Version field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetVersion + +`func (o *RawPackageUploadRequest) SetVersion(v string)` + +SetVersion sets Version field to given value. + +### HasVersion + +`func (o *RawPackageUploadRequest) HasVersion() bool` + +HasVersion returns a boolean if a field has been set. + +### SetVersionNil + +`func (o *RawPackageUploadRequest) SetVersionNil(b bool)` + + SetVersionNil sets the value for Version to be an explicit nil + +### UnsetVersion +`func (o *RawPackageUploadRequest) UnsetVersion()` + +UnsetVersion ensures that no value is present for Version, 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/docs/RawPackageUploadResponse.md b/docs/RawPackageUploadResponse.md new file mode 100644 index 00000000..da57a583 --- /dev/null +++ b/docs/RawPackageUploadResponse.md @@ -0,0 +1,1878 @@ +# RawPackageUploadResponse + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Architectures** | Pointer to [**[]Architecture**](Architecture.md) | | [optional] [readonly] +**CdnUrl** | Pointer to **NullableString** | | [optional] [readonly] +**ChecksumMd5** | Pointer to **string** | | [optional] [readonly] +**ChecksumSha1** | Pointer to **string** | | [optional] [readonly] +**ChecksumSha256** | Pointer to **string** | | [optional] [readonly] +**ChecksumSha512** | Pointer to **string** | | [optional] [readonly] +**DependenciesChecksumMd5** | Pointer to **string** | A checksum of all of the package's dependencies. | [optional] [readonly] +**DependenciesUrl** | Pointer to **string** | | [optional] [readonly] +**Description** | Pointer to **NullableString** | A textual description of this package. | [optional] +**Distro** | Pointer to [**NullableDistribution**](Distribution.md) | | [optional] +**DistroVersion** | Pointer to [**DistributionVersion**](DistributionVersion.md) | | [optional] +**Downloads** | Pointer to **int64** | | [optional] [readonly] +**Epoch** | Pointer to **int64** | The epoch of the package version (if any). | [optional] [readonly] +**Extension** | Pointer to **string** | | [optional] [readonly] +**Filename** | Pointer to **string** | | [optional] [readonly] +**Files** | Pointer to [**[]PackageFile**](PackageFile.md) | | [optional] [readonly] +**Format** | Pointer to **string** | | [optional] [readonly] +**FormatUrl** | Pointer to **string** | | [optional] [readonly] +**IdentifierPerm** | Pointer to **string** | Unique and permanent identifier for the package. | [optional] [readonly] +**Indexed** | Pointer to **bool** | | [optional] [readonly] +**IsDownloadable** | Pointer to **bool** | | [optional] [readonly] +**IsQuarantined** | Pointer to **bool** | | [optional] [readonly] +**IsSyncAwaiting** | Pointer to **bool** | | [optional] [readonly] +**IsSyncCompleted** | Pointer to **bool** | | [optional] [readonly] +**IsSyncFailed** | Pointer to **bool** | | [optional] [readonly] +**IsSyncInFlight** | Pointer to **bool** | | [optional] [readonly] +**IsSyncInProgress** | Pointer to **bool** | | [optional] [readonly] +**License** | Pointer to **string** | The license of this package. | [optional] [readonly] +**Name** | Pointer to **NullableString** | The name of this package. | [optional] +**Namespace** | Pointer to **string** | | [optional] [readonly] +**NamespaceUrl** | Pointer to **string** | | [optional] [readonly] +**NumFiles** | Pointer to **int64** | | [optional] [readonly] +**OriginRepository** | Pointer to **string** | | [optional] [readonly] +**OriginRepositoryUrl** | Pointer to **string** | | [optional] [readonly] +**PackageType** | Pointer to **int64** | The type of package contents. | [optional] [readonly] +**Release** | Pointer to **string** | The release of the package version (if any). | [optional] [readonly] +**Repository** | Pointer to **string** | | [optional] [readonly] +**RepositoryUrl** | Pointer to **string** | | [optional] [readonly] +**SecurityScanCompletedAt** | Pointer to **time.Time** | The datetime the security scanning was completed. | [optional] [readonly] +**SecurityScanStartedAt** | Pointer to **time.Time** | The datetime the security scanning was started. | [optional] [readonly] +**SecurityScanStatus** | Pointer to **NullableString** | | [optional] [readonly] [default to "Awaiting Security Scan"] +**SecurityScanStatusUpdatedAt** | Pointer to **time.Time** | The datetime the security scanning status was updated. | [optional] [readonly] +**SelfHtmlUrl** | Pointer to **string** | | [optional] [readonly] +**SelfUrl** | Pointer to **string** | | [optional] [readonly] +**SignatureUrl** | Pointer to **NullableString** | | [optional] [readonly] +**Size** | Pointer to **int64** | The calculated size of the package. | [optional] [readonly] +**Slug** | Pointer to **string** | The public unique identifier for the package. | [optional] [readonly] +**SlugPerm** | Pointer to **string** | | [optional] [readonly] +**Stage** | Pointer to **int64** | The synchronisation (in progress) stage of the package. | [optional] [readonly] +**StageStr** | Pointer to **string** | | [optional] [readonly] +**StageUpdatedAt** | Pointer to **time.Time** | The datetime the package stage was updated at. | [optional] [readonly] +**Status** | Pointer to **int64** | The synchronisation status of the package. | [optional] [readonly] +**StatusReason** | Pointer to **string** | A textual description for the synchronous status reason (if any | [optional] [readonly] +**StatusStr** | Pointer to **string** | | [optional] [readonly] +**StatusUpdatedAt** | Pointer to **time.Time** | The datetime the package status was updated at. | [optional] [readonly] +**StatusUrl** | Pointer to **string** | | [optional] [readonly] +**Subtype** | Pointer to **string** | | [optional] [readonly] +**Summary** | Pointer to **NullableString** | A one-liner synopsis of this package. | [optional] +**SyncFinishedAt** | Pointer to **time.Time** | The datetime the package sync was finished at. | [optional] [readonly] +**SyncProgress** | Pointer to **int64** | Synchronisation progress (from 0-100) | [optional] [readonly] +**TagsImmutable** | Pointer to **map[string]interface{}** | All tags on the package, grouped by tag type. This includes immutable tags, but doesn't distinguish them from mutable. To see which tags are immutable specifically, see the tags_immutable field. | [optional] +**TypeDisplay** | Pointer to **string** | | [optional] [readonly] +**UploadedAt** | Pointer to **time.Time** | The date this package was uploaded. | [optional] [readonly] +**Uploader** | Pointer to **string** | | [optional] [readonly] +**UploaderUrl** | Pointer to **string** | | [optional] [readonly] +**Version** | Pointer to **NullableString** | The raw version for this package. | [optional] +**VersionOrig** | Pointer to **string** | | [optional] [readonly] +**VulnerabilityScanResultsUrl** | Pointer to **string** | | [optional] [readonly] + +## Methods + +### NewRawPackageUploadResponse + +`func NewRawPackageUploadResponse() *RawPackageUploadResponse` + +NewRawPackageUploadResponse instantiates a new RawPackageUploadResponse object +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 + +### NewRawPackageUploadResponseWithDefaults + +`func NewRawPackageUploadResponseWithDefaults() *RawPackageUploadResponse` + +NewRawPackageUploadResponseWithDefaults instantiates a new RawPackageUploadResponse object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetArchitectures + +`func (o *RawPackageUploadResponse) GetArchitectures() []Architecture` + +GetArchitectures returns the Architectures field if non-nil, zero value otherwise. + +### GetArchitecturesOk + +`func (o *RawPackageUploadResponse) GetArchitecturesOk() (*[]Architecture, bool)` + +GetArchitecturesOk returns a tuple with the Architectures field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetArchitectures + +`func (o *RawPackageUploadResponse) SetArchitectures(v []Architecture)` + +SetArchitectures sets Architectures field to given value. + +### HasArchitectures + +`func (o *RawPackageUploadResponse) HasArchitectures() bool` + +HasArchitectures returns a boolean if a field has been set. + +### GetCdnUrl + +`func (o *RawPackageUploadResponse) GetCdnUrl() string` + +GetCdnUrl returns the CdnUrl field if non-nil, zero value otherwise. + +### GetCdnUrlOk + +`func (o *RawPackageUploadResponse) GetCdnUrlOk() (*string, bool)` + +GetCdnUrlOk returns a tuple with the CdnUrl field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetCdnUrl + +`func (o *RawPackageUploadResponse) SetCdnUrl(v string)` + +SetCdnUrl sets CdnUrl field to given value. + +### HasCdnUrl + +`func (o *RawPackageUploadResponse) HasCdnUrl() bool` + +HasCdnUrl returns a boolean if a field has been set. + +### SetCdnUrlNil + +`func (o *RawPackageUploadResponse) SetCdnUrlNil(b bool)` + + SetCdnUrlNil sets the value for CdnUrl to be an explicit nil + +### UnsetCdnUrl +`func (o *RawPackageUploadResponse) UnsetCdnUrl()` + +UnsetCdnUrl ensures that no value is present for CdnUrl, not even an explicit nil +### GetChecksumMd5 + +`func (o *RawPackageUploadResponse) GetChecksumMd5() string` + +GetChecksumMd5 returns the ChecksumMd5 field if non-nil, zero value otherwise. + +### GetChecksumMd5Ok + +`func (o *RawPackageUploadResponse) GetChecksumMd5Ok() (*string, bool)` + +GetChecksumMd5Ok returns a tuple with the ChecksumMd5 field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetChecksumMd5 + +`func (o *RawPackageUploadResponse) SetChecksumMd5(v string)` + +SetChecksumMd5 sets ChecksumMd5 field to given value. + +### HasChecksumMd5 + +`func (o *RawPackageUploadResponse) HasChecksumMd5() bool` + +HasChecksumMd5 returns a boolean if a field has been set. + +### GetChecksumSha1 + +`func (o *RawPackageUploadResponse) GetChecksumSha1() string` + +GetChecksumSha1 returns the ChecksumSha1 field if non-nil, zero value otherwise. + +### GetChecksumSha1Ok + +`func (o *RawPackageUploadResponse) GetChecksumSha1Ok() (*string, bool)` + +GetChecksumSha1Ok returns a tuple with the ChecksumSha1 field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetChecksumSha1 + +`func (o *RawPackageUploadResponse) SetChecksumSha1(v string)` + +SetChecksumSha1 sets ChecksumSha1 field to given value. + +### HasChecksumSha1 + +`func (o *RawPackageUploadResponse) HasChecksumSha1() bool` + +HasChecksumSha1 returns a boolean if a field has been set. + +### GetChecksumSha256 + +`func (o *RawPackageUploadResponse) GetChecksumSha256() string` + +GetChecksumSha256 returns the ChecksumSha256 field if non-nil, zero value otherwise. + +### GetChecksumSha256Ok + +`func (o *RawPackageUploadResponse) GetChecksumSha256Ok() (*string, bool)` + +GetChecksumSha256Ok returns a tuple with the ChecksumSha256 field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetChecksumSha256 + +`func (o *RawPackageUploadResponse) SetChecksumSha256(v string)` + +SetChecksumSha256 sets ChecksumSha256 field to given value. + +### HasChecksumSha256 + +`func (o *RawPackageUploadResponse) HasChecksumSha256() bool` + +HasChecksumSha256 returns a boolean if a field has been set. + +### GetChecksumSha512 + +`func (o *RawPackageUploadResponse) GetChecksumSha512() string` + +GetChecksumSha512 returns the ChecksumSha512 field if non-nil, zero value otherwise. + +### GetChecksumSha512Ok + +`func (o *RawPackageUploadResponse) GetChecksumSha512Ok() (*string, bool)` + +GetChecksumSha512Ok returns a tuple with the ChecksumSha512 field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetChecksumSha512 + +`func (o *RawPackageUploadResponse) SetChecksumSha512(v string)` + +SetChecksumSha512 sets ChecksumSha512 field to given value. + +### HasChecksumSha512 + +`func (o *RawPackageUploadResponse) HasChecksumSha512() bool` + +HasChecksumSha512 returns a boolean if a field has been set. + +### GetDependenciesChecksumMd5 + +`func (o *RawPackageUploadResponse) GetDependenciesChecksumMd5() string` + +GetDependenciesChecksumMd5 returns the DependenciesChecksumMd5 field if non-nil, zero value otherwise. + +### GetDependenciesChecksumMd5Ok + +`func (o *RawPackageUploadResponse) GetDependenciesChecksumMd5Ok() (*string, bool)` + +GetDependenciesChecksumMd5Ok returns a tuple with the DependenciesChecksumMd5 field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetDependenciesChecksumMd5 + +`func (o *RawPackageUploadResponse) SetDependenciesChecksumMd5(v string)` + +SetDependenciesChecksumMd5 sets DependenciesChecksumMd5 field to given value. + +### HasDependenciesChecksumMd5 + +`func (o *RawPackageUploadResponse) HasDependenciesChecksumMd5() bool` + +HasDependenciesChecksumMd5 returns a boolean if a field has been set. + +### GetDependenciesUrl + +`func (o *RawPackageUploadResponse) GetDependenciesUrl() string` + +GetDependenciesUrl returns the DependenciesUrl field if non-nil, zero value otherwise. + +### GetDependenciesUrlOk + +`func (o *RawPackageUploadResponse) GetDependenciesUrlOk() (*string, bool)` + +GetDependenciesUrlOk returns a tuple with the DependenciesUrl field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetDependenciesUrl + +`func (o *RawPackageUploadResponse) SetDependenciesUrl(v string)` + +SetDependenciesUrl sets DependenciesUrl field to given value. + +### HasDependenciesUrl + +`func (o *RawPackageUploadResponse) HasDependenciesUrl() bool` + +HasDependenciesUrl returns a boolean if a field has been set. + +### GetDescription + +`func (o *RawPackageUploadResponse) GetDescription() string` + +GetDescription returns the Description field if non-nil, zero value otherwise. + +### GetDescriptionOk + +`func (o *RawPackageUploadResponse) GetDescriptionOk() (*string, bool)` + +GetDescriptionOk returns a tuple with the Description field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetDescription + +`func (o *RawPackageUploadResponse) SetDescription(v string)` + +SetDescription sets Description field to given value. + +### HasDescription + +`func (o *RawPackageUploadResponse) HasDescription() bool` + +HasDescription returns a boolean if a field has been set. + +### SetDescriptionNil + +`func (o *RawPackageUploadResponse) SetDescriptionNil(b bool)` + + SetDescriptionNil sets the value for Description to be an explicit nil + +### UnsetDescription +`func (o *RawPackageUploadResponse) UnsetDescription()` + +UnsetDescription ensures that no value is present for Description, not even an explicit nil +### GetDistro + +`func (o *RawPackageUploadResponse) GetDistro() Distribution` + +GetDistro returns the Distro field if non-nil, zero value otherwise. + +### GetDistroOk + +`func (o *RawPackageUploadResponse) GetDistroOk() (*Distribution, bool)` + +GetDistroOk returns a tuple with the Distro field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetDistro + +`func (o *RawPackageUploadResponse) SetDistro(v Distribution)` + +SetDistro sets Distro field to given value. + +### HasDistro + +`func (o *RawPackageUploadResponse) HasDistro() bool` + +HasDistro returns a boolean if a field has been set. + +### SetDistroNil + +`func (o *RawPackageUploadResponse) SetDistroNil(b bool)` + + SetDistroNil sets the value for Distro to be an explicit nil + +### UnsetDistro +`func (o *RawPackageUploadResponse) UnsetDistro()` + +UnsetDistro ensures that no value is present for Distro, not even an explicit nil +### GetDistroVersion + +`func (o *RawPackageUploadResponse) GetDistroVersion() DistributionVersion` + +GetDistroVersion returns the DistroVersion field if non-nil, zero value otherwise. + +### GetDistroVersionOk + +`func (o *RawPackageUploadResponse) GetDistroVersionOk() (*DistributionVersion, bool)` + +GetDistroVersionOk returns a tuple with the DistroVersion field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetDistroVersion + +`func (o *RawPackageUploadResponse) SetDistroVersion(v DistributionVersion)` + +SetDistroVersion sets DistroVersion field to given value. + +### HasDistroVersion + +`func (o *RawPackageUploadResponse) HasDistroVersion() bool` + +HasDistroVersion returns a boolean if a field has been set. + +### GetDownloads + +`func (o *RawPackageUploadResponse) GetDownloads() int64` + +GetDownloads returns the Downloads field if non-nil, zero value otherwise. + +### GetDownloadsOk + +`func (o *RawPackageUploadResponse) GetDownloadsOk() (*int64, bool)` + +GetDownloadsOk returns a tuple with the Downloads field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetDownloads + +`func (o *RawPackageUploadResponse) SetDownloads(v int64)` + +SetDownloads sets Downloads field to given value. + +### HasDownloads + +`func (o *RawPackageUploadResponse) HasDownloads() bool` + +HasDownloads returns a boolean if a field has been set. + +### GetEpoch + +`func (o *RawPackageUploadResponse) GetEpoch() int64` + +GetEpoch returns the Epoch field if non-nil, zero value otherwise. + +### GetEpochOk + +`func (o *RawPackageUploadResponse) GetEpochOk() (*int64, bool)` + +GetEpochOk returns a tuple with the Epoch field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetEpoch + +`func (o *RawPackageUploadResponse) SetEpoch(v int64)` + +SetEpoch sets Epoch field to given value. + +### HasEpoch + +`func (o *RawPackageUploadResponse) HasEpoch() bool` + +HasEpoch returns a boolean if a field has been set. + +### GetExtension + +`func (o *RawPackageUploadResponse) GetExtension() string` + +GetExtension returns the Extension field if non-nil, zero value otherwise. + +### GetExtensionOk + +`func (o *RawPackageUploadResponse) GetExtensionOk() (*string, bool)` + +GetExtensionOk returns a tuple with the Extension field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetExtension + +`func (o *RawPackageUploadResponse) SetExtension(v string)` + +SetExtension sets Extension field to given value. + +### HasExtension + +`func (o *RawPackageUploadResponse) HasExtension() bool` + +HasExtension returns a boolean if a field has been set. + +### GetFilename + +`func (o *RawPackageUploadResponse) GetFilename() string` + +GetFilename returns the Filename field if non-nil, zero value otherwise. + +### GetFilenameOk + +`func (o *RawPackageUploadResponse) GetFilenameOk() (*string, bool)` + +GetFilenameOk returns a tuple with the Filename field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetFilename + +`func (o *RawPackageUploadResponse) SetFilename(v string)` + +SetFilename sets Filename field to given value. + +### HasFilename + +`func (o *RawPackageUploadResponse) HasFilename() bool` + +HasFilename returns a boolean if a field has been set. + +### GetFiles + +`func (o *RawPackageUploadResponse) GetFiles() []PackageFile` + +GetFiles returns the Files field if non-nil, zero value otherwise. + +### GetFilesOk + +`func (o *RawPackageUploadResponse) GetFilesOk() (*[]PackageFile, 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 *RawPackageUploadResponse) SetFiles(v []PackageFile)` + +SetFiles sets Files field to given value. + +### HasFiles + +`func (o *RawPackageUploadResponse) HasFiles() bool` + +HasFiles returns a boolean if a field has been set. + +### GetFormat + +`func (o *RawPackageUploadResponse) GetFormat() string` + +GetFormat returns the Format field if non-nil, zero value otherwise. + +### GetFormatOk + +`func (o *RawPackageUploadResponse) GetFormatOk() (*string, bool)` + +GetFormatOk returns a tuple with the Format field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetFormat + +`func (o *RawPackageUploadResponse) SetFormat(v string)` + +SetFormat sets Format field to given value. + +### HasFormat + +`func (o *RawPackageUploadResponse) HasFormat() bool` + +HasFormat returns a boolean if a field has been set. + +### GetFormatUrl + +`func (o *RawPackageUploadResponse) GetFormatUrl() string` + +GetFormatUrl returns the FormatUrl field if non-nil, zero value otherwise. + +### GetFormatUrlOk + +`func (o *RawPackageUploadResponse) GetFormatUrlOk() (*string, bool)` + +GetFormatUrlOk returns a tuple with the FormatUrl field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetFormatUrl + +`func (o *RawPackageUploadResponse) SetFormatUrl(v string)` + +SetFormatUrl sets FormatUrl field to given value. + +### HasFormatUrl + +`func (o *RawPackageUploadResponse) HasFormatUrl() bool` + +HasFormatUrl returns a boolean if a field has been set. + +### GetIdentifierPerm + +`func (o *RawPackageUploadResponse) GetIdentifierPerm() string` + +GetIdentifierPerm returns the IdentifierPerm field if non-nil, zero value otherwise. + +### GetIdentifierPermOk + +`func (o *RawPackageUploadResponse) GetIdentifierPermOk() (*string, bool)` + +GetIdentifierPermOk returns a tuple with the IdentifierPerm field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetIdentifierPerm + +`func (o *RawPackageUploadResponse) SetIdentifierPerm(v string)` + +SetIdentifierPerm sets IdentifierPerm field to given value. + +### HasIdentifierPerm + +`func (o *RawPackageUploadResponse) HasIdentifierPerm() bool` + +HasIdentifierPerm returns a boolean if a field has been set. + +### GetIndexed + +`func (o *RawPackageUploadResponse) GetIndexed() bool` + +GetIndexed returns the Indexed field if non-nil, zero value otherwise. + +### GetIndexedOk + +`func (o *RawPackageUploadResponse) GetIndexedOk() (*bool, bool)` + +GetIndexedOk returns a tuple with the Indexed field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetIndexed + +`func (o *RawPackageUploadResponse) SetIndexed(v bool)` + +SetIndexed sets Indexed field to given value. + +### HasIndexed + +`func (o *RawPackageUploadResponse) HasIndexed() bool` + +HasIndexed returns a boolean if a field has been set. + +### GetIsDownloadable + +`func (o *RawPackageUploadResponse) GetIsDownloadable() bool` + +GetIsDownloadable returns the IsDownloadable field if non-nil, zero value otherwise. + +### GetIsDownloadableOk + +`func (o *RawPackageUploadResponse) GetIsDownloadableOk() (*bool, bool)` + +GetIsDownloadableOk returns a tuple with the IsDownloadable field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetIsDownloadable + +`func (o *RawPackageUploadResponse) SetIsDownloadable(v bool)` + +SetIsDownloadable sets IsDownloadable field to given value. + +### HasIsDownloadable + +`func (o *RawPackageUploadResponse) HasIsDownloadable() bool` + +HasIsDownloadable returns a boolean if a field has been set. + +### GetIsQuarantined + +`func (o *RawPackageUploadResponse) GetIsQuarantined() bool` + +GetIsQuarantined returns the IsQuarantined field if non-nil, zero value otherwise. + +### GetIsQuarantinedOk + +`func (o *RawPackageUploadResponse) GetIsQuarantinedOk() (*bool, bool)` + +GetIsQuarantinedOk returns a tuple with the IsQuarantined field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetIsQuarantined + +`func (o *RawPackageUploadResponse) SetIsQuarantined(v bool)` + +SetIsQuarantined sets IsQuarantined field to given value. + +### HasIsQuarantined + +`func (o *RawPackageUploadResponse) HasIsQuarantined() bool` + +HasIsQuarantined returns a boolean if a field has been set. + +### GetIsSyncAwaiting + +`func (o *RawPackageUploadResponse) GetIsSyncAwaiting() bool` + +GetIsSyncAwaiting returns the IsSyncAwaiting field if non-nil, zero value otherwise. + +### GetIsSyncAwaitingOk + +`func (o *RawPackageUploadResponse) GetIsSyncAwaitingOk() (*bool, bool)` + +GetIsSyncAwaitingOk returns a tuple with the IsSyncAwaiting field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetIsSyncAwaiting + +`func (o *RawPackageUploadResponse) SetIsSyncAwaiting(v bool)` + +SetIsSyncAwaiting sets IsSyncAwaiting field to given value. + +### HasIsSyncAwaiting + +`func (o *RawPackageUploadResponse) HasIsSyncAwaiting() bool` + +HasIsSyncAwaiting returns a boolean if a field has been set. + +### GetIsSyncCompleted + +`func (o *RawPackageUploadResponse) GetIsSyncCompleted() bool` + +GetIsSyncCompleted returns the IsSyncCompleted field if non-nil, zero value otherwise. + +### GetIsSyncCompletedOk + +`func (o *RawPackageUploadResponse) GetIsSyncCompletedOk() (*bool, bool)` + +GetIsSyncCompletedOk returns a tuple with the IsSyncCompleted field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetIsSyncCompleted + +`func (o *RawPackageUploadResponse) SetIsSyncCompleted(v bool)` + +SetIsSyncCompleted sets IsSyncCompleted field to given value. + +### HasIsSyncCompleted + +`func (o *RawPackageUploadResponse) HasIsSyncCompleted() bool` + +HasIsSyncCompleted returns a boolean if a field has been set. + +### GetIsSyncFailed + +`func (o *RawPackageUploadResponse) GetIsSyncFailed() bool` + +GetIsSyncFailed returns the IsSyncFailed field if non-nil, zero value otherwise. + +### GetIsSyncFailedOk + +`func (o *RawPackageUploadResponse) GetIsSyncFailedOk() (*bool, bool)` + +GetIsSyncFailedOk returns a tuple with the IsSyncFailed field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetIsSyncFailed + +`func (o *RawPackageUploadResponse) SetIsSyncFailed(v bool)` + +SetIsSyncFailed sets IsSyncFailed field to given value. + +### HasIsSyncFailed + +`func (o *RawPackageUploadResponse) HasIsSyncFailed() bool` + +HasIsSyncFailed returns a boolean if a field has been set. + +### GetIsSyncInFlight + +`func (o *RawPackageUploadResponse) GetIsSyncInFlight() bool` + +GetIsSyncInFlight returns the IsSyncInFlight field if non-nil, zero value otherwise. + +### GetIsSyncInFlightOk + +`func (o *RawPackageUploadResponse) GetIsSyncInFlightOk() (*bool, bool)` + +GetIsSyncInFlightOk returns a tuple with the IsSyncInFlight field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetIsSyncInFlight + +`func (o *RawPackageUploadResponse) SetIsSyncInFlight(v bool)` + +SetIsSyncInFlight sets IsSyncInFlight field to given value. + +### HasIsSyncInFlight + +`func (o *RawPackageUploadResponse) HasIsSyncInFlight() bool` + +HasIsSyncInFlight returns a boolean if a field has been set. + +### GetIsSyncInProgress + +`func (o *RawPackageUploadResponse) GetIsSyncInProgress() bool` + +GetIsSyncInProgress returns the IsSyncInProgress field if non-nil, zero value otherwise. + +### GetIsSyncInProgressOk + +`func (o *RawPackageUploadResponse) GetIsSyncInProgressOk() (*bool, bool)` + +GetIsSyncInProgressOk returns a tuple with the IsSyncInProgress field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetIsSyncInProgress + +`func (o *RawPackageUploadResponse) SetIsSyncInProgress(v bool)` + +SetIsSyncInProgress sets IsSyncInProgress field to given value. + +### HasIsSyncInProgress + +`func (o *RawPackageUploadResponse) HasIsSyncInProgress() bool` + +HasIsSyncInProgress returns a boolean if a field has been set. + +### GetLicense + +`func (o *RawPackageUploadResponse) GetLicense() string` + +GetLicense returns the License field if non-nil, zero value otherwise. + +### GetLicenseOk + +`func (o *RawPackageUploadResponse) GetLicenseOk() (*string, bool)` + +GetLicenseOk returns a tuple with the License field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetLicense + +`func (o *RawPackageUploadResponse) SetLicense(v string)` + +SetLicense sets License field to given value. + +### HasLicense + +`func (o *RawPackageUploadResponse) HasLicense() bool` + +HasLicense returns a boolean if a field has been set. + +### GetName + +`func (o *RawPackageUploadResponse) GetName() string` + +GetName returns the Name field if non-nil, zero value otherwise. + +### GetNameOk + +`func (o *RawPackageUploadResponse) GetNameOk() (*string, bool)` + +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. + +### SetName + +`func (o *RawPackageUploadResponse) SetName(v string)` + +SetName sets Name field to given value. + +### HasName + +`func (o *RawPackageUploadResponse) HasName() bool` + +HasName returns a boolean if a field has been set. + +### SetNameNil + +`func (o *RawPackageUploadResponse) SetNameNil(b bool)` + + SetNameNil sets the value for Name to be an explicit nil + +### UnsetName +`func (o *RawPackageUploadResponse) UnsetName()` + +UnsetName ensures that no value is present for Name, not even an explicit nil +### GetNamespace + +`func (o *RawPackageUploadResponse) GetNamespace() string` + +GetNamespace returns the Namespace field if non-nil, zero value otherwise. + +### GetNamespaceOk + +`func (o *RawPackageUploadResponse) GetNamespaceOk() (*string, bool)` + +GetNamespaceOk returns a tuple with the Namespace field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetNamespace + +`func (o *RawPackageUploadResponse) SetNamespace(v string)` + +SetNamespace sets Namespace field to given value. + +### HasNamespace + +`func (o *RawPackageUploadResponse) HasNamespace() bool` + +HasNamespace returns a boolean if a field has been set. + +### GetNamespaceUrl + +`func (o *RawPackageUploadResponse) GetNamespaceUrl() string` + +GetNamespaceUrl returns the NamespaceUrl field if non-nil, zero value otherwise. + +### GetNamespaceUrlOk + +`func (o *RawPackageUploadResponse) GetNamespaceUrlOk() (*string, bool)` + +GetNamespaceUrlOk returns a tuple with the NamespaceUrl field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetNamespaceUrl + +`func (o *RawPackageUploadResponse) SetNamespaceUrl(v string)` + +SetNamespaceUrl sets NamespaceUrl field to given value. + +### HasNamespaceUrl + +`func (o *RawPackageUploadResponse) HasNamespaceUrl() bool` + +HasNamespaceUrl returns a boolean if a field has been set. + +### GetNumFiles + +`func (o *RawPackageUploadResponse) GetNumFiles() int64` + +GetNumFiles returns the NumFiles field if non-nil, zero value otherwise. + +### GetNumFilesOk + +`func (o *RawPackageUploadResponse) GetNumFilesOk() (*int64, bool)` + +GetNumFilesOk returns a tuple with the NumFiles field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetNumFiles + +`func (o *RawPackageUploadResponse) SetNumFiles(v int64)` + +SetNumFiles sets NumFiles field to given value. + +### HasNumFiles + +`func (o *RawPackageUploadResponse) HasNumFiles() bool` + +HasNumFiles returns a boolean if a field has been set. + +### GetOriginRepository + +`func (o *RawPackageUploadResponse) GetOriginRepository() string` + +GetOriginRepository returns the OriginRepository field if non-nil, zero value otherwise. + +### GetOriginRepositoryOk + +`func (o *RawPackageUploadResponse) GetOriginRepositoryOk() (*string, bool)` + +GetOriginRepositoryOk returns a tuple with the OriginRepository field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetOriginRepository + +`func (o *RawPackageUploadResponse) SetOriginRepository(v string)` + +SetOriginRepository sets OriginRepository field to given value. + +### HasOriginRepository + +`func (o *RawPackageUploadResponse) HasOriginRepository() bool` + +HasOriginRepository returns a boolean if a field has been set. + +### GetOriginRepositoryUrl + +`func (o *RawPackageUploadResponse) GetOriginRepositoryUrl() string` + +GetOriginRepositoryUrl returns the OriginRepositoryUrl field if non-nil, zero value otherwise. + +### GetOriginRepositoryUrlOk + +`func (o *RawPackageUploadResponse) GetOriginRepositoryUrlOk() (*string, bool)` + +GetOriginRepositoryUrlOk returns a tuple with the OriginRepositoryUrl field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetOriginRepositoryUrl + +`func (o *RawPackageUploadResponse) SetOriginRepositoryUrl(v string)` + +SetOriginRepositoryUrl sets OriginRepositoryUrl field to given value. + +### HasOriginRepositoryUrl + +`func (o *RawPackageUploadResponse) HasOriginRepositoryUrl() bool` + +HasOriginRepositoryUrl returns a boolean if a field has been set. + +### GetPackageType + +`func (o *RawPackageUploadResponse) GetPackageType() int64` + +GetPackageType returns the PackageType field if non-nil, zero value otherwise. + +### GetPackageTypeOk + +`func (o *RawPackageUploadResponse) GetPackageTypeOk() (*int64, bool)` + +GetPackageTypeOk returns a tuple with the PackageType field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetPackageType + +`func (o *RawPackageUploadResponse) SetPackageType(v int64)` + +SetPackageType sets PackageType field to given value. + +### HasPackageType + +`func (o *RawPackageUploadResponse) HasPackageType() bool` + +HasPackageType returns a boolean if a field has been set. + +### GetRelease + +`func (o *RawPackageUploadResponse) GetRelease() string` + +GetRelease returns the Release field if non-nil, zero value otherwise. + +### GetReleaseOk + +`func (o *RawPackageUploadResponse) GetReleaseOk() (*string, bool)` + +GetReleaseOk returns a tuple with the Release field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetRelease + +`func (o *RawPackageUploadResponse) SetRelease(v string)` + +SetRelease sets Release field to given value. + +### HasRelease + +`func (o *RawPackageUploadResponse) HasRelease() bool` + +HasRelease returns a boolean if a field has been set. + +### GetRepository + +`func (o *RawPackageUploadResponse) GetRepository() string` + +GetRepository returns the Repository field if non-nil, zero value otherwise. + +### GetRepositoryOk + +`func (o *RawPackageUploadResponse) GetRepositoryOk() (*string, bool)` + +GetRepositoryOk returns a tuple with the Repository field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetRepository + +`func (o *RawPackageUploadResponse) SetRepository(v string)` + +SetRepository sets Repository field to given value. + +### HasRepository + +`func (o *RawPackageUploadResponse) HasRepository() bool` + +HasRepository returns a boolean if a field has been set. + +### GetRepositoryUrl + +`func (o *RawPackageUploadResponse) GetRepositoryUrl() string` + +GetRepositoryUrl returns the RepositoryUrl field if non-nil, zero value otherwise. + +### GetRepositoryUrlOk + +`func (o *RawPackageUploadResponse) GetRepositoryUrlOk() (*string, bool)` + +GetRepositoryUrlOk returns a tuple with the RepositoryUrl field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetRepositoryUrl + +`func (o *RawPackageUploadResponse) SetRepositoryUrl(v string)` + +SetRepositoryUrl sets RepositoryUrl field to given value. + +### HasRepositoryUrl + +`func (o *RawPackageUploadResponse) HasRepositoryUrl() bool` + +HasRepositoryUrl returns a boolean if a field has been set. + +### GetSecurityScanCompletedAt + +`func (o *RawPackageUploadResponse) GetSecurityScanCompletedAt() time.Time` + +GetSecurityScanCompletedAt returns the SecurityScanCompletedAt field if non-nil, zero value otherwise. + +### GetSecurityScanCompletedAtOk + +`func (o *RawPackageUploadResponse) GetSecurityScanCompletedAtOk() (*time.Time, bool)` + +GetSecurityScanCompletedAtOk returns a tuple with the SecurityScanCompletedAt field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetSecurityScanCompletedAt + +`func (o *RawPackageUploadResponse) SetSecurityScanCompletedAt(v time.Time)` + +SetSecurityScanCompletedAt sets SecurityScanCompletedAt field to given value. + +### HasSecurityScanCompletedAt + +`func (o *RawPackageUploadResponse) HasSecurityScanCompletedAt() bool` + +HasSecurityScanCompletedAt returns a boolean if a field has been set. + +### GetSecurityScanStartedAt + +`func (o *RawPackageUploadResponse) GetSecurityScanStartedAt() time.Time` + +GetSecurityScanStartedAt returns the SecurityScanStartedAt field if non-nil, zero value otherwise. + +### GetSecurityScanStartedAtOk + +`func (o *RawPackageUploadResponse) GetSecurityScanStartedAtOk() (*time.Time, bool)` + +GetSecurityScanStartedAtOk returns a tuple with the SecurityScanStartedAt field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetSecurityScanStartedAt + +`func (o *RawPackageUploadResponse) SetSecurityScanStartedAt(v time.Time)` + +SetSecurityScanStartedAt sets SecurityScanStartedAt field to given value. + +### HasSecurityScanStartedAt + +`func (o *RawPackageUploadResponse) HasSecurityScanStartedAt() bool` + +HasSecurityScanStartedAt returns a boolean if a field has been set. + +### GetSecurityScanStatus + +`func (o *RawPackageUploadResponse) GetSecurityScanStatus() string` + +GetSecurityScanStatus returns the SecurityScanStatus field if non-nil, zero value otherwise. + +### GetSecurityScanStatusOk + +`func (o *RawPackageUploadResponse) GetSecurityScanStatusOk() (*string, bool)` + +GetSecurityScanStatusOk returns a tuple with the SecurityScanStatus field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetSecurityScanStatus + +`func (o *RawPackageUploadResponse) SetSecurityScanStatus(v string)` + +SetSecurityScanStatus sets SecurityScanStatus field to given value. + +### HasSecurityScanStatus + +`func (o *RawPackageUploadResponse) HasSecurityScanStatus() bool` + +HasSecurityScanStatus returns a boolean if a field has been set. + +### SetSecurityScanStatusNil + +`func (o *RawPackageUploadResponse) SetSecurityScanStatusNil(b bool)` + + SetSecurityScanStatusNil sets the value for SecurityScanStatus to be an explicit nil + +### UnsetSecurityScanStatus +`func (o *RawPackageUploadResponse) UnsetSecurityScanStatus()` + +UnsetSecurityScanStatus ensures that no value is present for SecurityScanStatus, not even an explicit nil +### GetSecurityScanStatusUpdatedAt + +`func (o *RawPackageUploadResponse) GetSecurityScanStatusUpdatedAt() time.Time` + +GetSecurityScanStatusUpdatedAt returns the SecurityScanStatusUpdatedAt field if non-nil, zero value otherwise. + +### GetSecurityScanStatusUpdatedAtOk + +`func (o *RawPackageUploadResponse) GetSecurityScanStatusUpdatedAtOk() (*time.Time, bool)` + +GetSecurityScanStatusUpdatedAtOk returns a tuple with the SecurityScanStatusUpdatedAt field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetSecurityScanStatusUpdatedAt + +`func (o *RawPackageUploadResponse) SetSecurityScanStatusUpdatedAt(v time.Time)` + +SetSecurityScanStatusUpdatedAt sets SecurityScanStatusUpdatedAt field to given value. + +### HasSecurityScanStatusUpdatedAt + +`func (o *RawPackageUploadResponse) HasSecurityScanStatusUpdatedAt() bool` + +HasSecurityScanStatusUpdatedAt returns a boolean if a field has been set. + +### GetSelfHtmlUrl + +`func (o *RawPackageUploadResponse) GetSelfHtmlUrl() string` + +GetSelfHtmlUrl returns the SelfHtmlUrl field if non-nil, zero value otherwise. + +### GetSelfHtmlUrlOk + +`func (o *RawPackageUploadResponse) GetSelfHtmlUrlOk() (*string, bool)` + +GetSelfHtmlUrlOk returns a tuple with the SelfHtmlUrl field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetSelfHtmlUrl + +`func (o *RawPackageUploadResponse) SetSelfHtmlUrl(v string)` + +SetSelfHtmlUrl sets SelfHtmlUrl field to given value. + +### HasSelfHtmlUrl + +`func (o *RawPackageUploadResponse) HasSelfHtmlUrl() bool` + +HasSelfHtmlUrl returns a boolean if a field has been set. + +### GetSelfUrl + +`func (o *RawPackageUploadResponse) GetSelfUrl() string` + +GetSelfUrl returns the SelfUrl field if non-nil, zero value otherwise. + +### GetSelfUrlOk + +`func (o *RawPackageUploadResponse) GetSelfUrlOk() (*string, bool)` + +GetSelfUrlOk returns a tuple with the SelfUrl field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetSelfUrl + +`func (o *RawPackageUploadResponse) SetSelfUrl(v string)` + +SetSelfUrl sets SelfUrl field to given value. + +### HasSelfUrl + +`func (o *RawPackageUploadResponse) HasSelfUrl() bool` + +HasSelfUrl returns a boolean if a field has been set. + +### GetSignatureUrl + +`func (o *RawPackageUploadResponse) GetSignatureUrl() string` + +GetSignatureUrl returns the SignatureUrl field if non-nil, zero value otherwise. + +### GetSignatureUrlOk + +`func (o *RawPackageUploadResponse) GetSignatureUrlOk() (*string, bool)` + +GetSignatureUrlOk returns a tuple with the SignatureUrl field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetSignatureUrl + +`func (o *RawPackageUploadResponse) SetSignatureUrl(v string)` + +SetSignatureUrl sets SignatureUrl field to given value. + +### HasSignatureUrl + +`func (o *RawPackageUploadResponse) HasSignatureUrl() bool` + +HasSignatureUrl returns a boolean if a field has been set. + +### SetSignatureUrlNil + +`func (o *RawPackageUploadResponse) SetSignatureUrlNil(b bool)` + + SetSignatureUrlNil sets the value for SignatureUrl to be an explicit nil + +### UnsetSignatureUrl +`func (o *RawPackageUploadResponse) UnsetSignatureUrl()` + +UnsetSignatureUrl ensures that no value is present for SignatureUrl, not even an explicit nil +### GetSize + +`func (o *RawPackageUploadResponse) GetSize() int64` + +GetSize returns the Size field if non-nil, zero value otherwise. + +### GetSizeOk + +`func (o *RawPackageUploadResponse) GetSizeOk() (*int64, bool)` + +GetSizeOk returns a tuple with the Size field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetSize + +`func (o *RawPackageUploadResponse) SetSize(v int64)` + +SetSize sets Size field to given value. + +### HasSize + +`func (o *RawPackageUploadResponse) HasSize() bool` + +HasSize returns a boolean if a field has been set. + +### GetSlug + +`func (o *RawPackageUploadResponse) GetSlug() string` + +GetSlug returns the Slug field if non-nil, zero value otherwise. + +### GetSlugOk + +`func (o *RawPackageUploadResponse) GetSlugOk() (*string, bool)` + +GetSlugOk returns a tuple with the Slug field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetSlug + +`func (o *RawPackageUploadResponse) SetSlug(v string)` + +SetSlug sets Slug field to given value. + +### HasSlug + +`func (o *RawPackageUploadResponse) HasSlug() bool` + +HasSlug returns a boolean if a field has been set. + +### GetSlugPerm + +`func (o *RawPackageUploadResponse) GetSlugPerm() string` + +GetSlugPerm returns the SlugPerm field if non-nil, zero value otherwise. + +### GetSlugPermOk + +`func (o *RawPackageUploadResponse) GetSlugPermOk() (*string, bool)` + +GetSlugPermOk returns a tuple with the SlugPerm field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetSlugPerm + +`func (o *RawPackageUploadResponse) SetSlugPerm(v string)` + +SetSlugPerm sets SlugPerm field to given value. + +### HasSlugPerm + +`func (o *RawPackageUploadResponse) HasSlugPerm() bool` + +HasSlugPerm returns a boolean if a field has been set. + +### GetStage + +`func (o *RawPackageUploadResponse) GetStage() int64` + +GetStage returns the Stage field if non-nil, zero value otherwise. + +### GetStageOk + +`func (o *RawPackageUploadResponse) GetStageOk() (*int64, bool)` + +GetStageOk returns a tuple with the Stage field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetStage + +`func (o *RawPackageUploadResponse) SetStage(v int64)` + +SetStage sets Stage field to given value. + +### HasStage + +`func (o *RawPackageUploadResponse) HasStage() bool` + +HasStage returns a boolean if a field has been set. + +### GetStageStr + +`func (o *RawPackageUploadResponse) GetStageStr() string` + +GetStageStr returns the StageStr field if non-nil, zero value otherwise. + +### GetStageStrOk + +`func (o *RawPackageUploadResponse) GetStageStrOk() (*string, bool)` + +GetStageStrOk returns a tuple with the StageStr field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetStageStr + +`func (o *RawPackageUploadResponse) SetStageStr(v string)` + +SetStageStr sets StageStr field to given value. + +### HasStageStr + +`func (o *RawPackageUploadResponse) HasStageStr() bool` + +HasStageStr returns a boolean if a field has been set. + +### GetStageUpdatedAt + +`func (o *RawPackageUploadResponse) GetStageUpdatedAt() time.Time` + +GetStageUpdatedAt returns the StageUpdatedAt field if non-nil, zero value otherwise. + +### GetStageUpdatedAtOk + +`func (o *RawPackageUploadResponse) GetStageUpdatedAtOk() (*time.Time, bool)` + +GetStageUpdatedAtOk returns a tuple with the StageUpdatedAt field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetStageUpdatedAt + +`func (o *RawPackageUploadResponse) SetStageUpdatedAt(v time.Time)` + +SetStageUpdatedAt sets StageUpdatedAt field to given value. + +### HasStageUpdatedAt + +`func (o *RawPackageUploadResponse) HasStageUpdatedAt() bool` + +HasStageUpdatedAt returns a boolean if a field has been set. + +### GetStatus + +`func (o *RawPackageUploadResponse) GetStatus() int64` + +GetStatus returns the Status field if non-nil, zero value otherwise. + +### GetStatusOk + +`func (o *RawPackageUploadResponse) GetStatusOk() (*int64, bool)` + +GetStatusOk returns a tuple with the Status field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetStatus + +`func (o *RawPackageUploadResponse) SetStatus(v int64)` + +SetStatus sets Status field to given value. + +### HasStatus + +`func (o *RawPackageUploadResponse) HasStatus() bool` + +HasStatus returns a boolean if a field has been set. + +### GetStatusReason + +`func (o *RawPackageUploadResponse) GetStatusReason() string` + +GetStatusReason returns the StatusReason field if non-nil, zero value otherwise. + +### GetStatusReasonOk + +`func (o *RawPackageUploadResponse) GetStatusReasonOk() (*string, bool)` + +GetStatusReasonOk returns a tuple with the StatusReason field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetStatusReason + +`func (o *RawPackageUploadResponse) SetStatusReason(v string)` + +SetStatusReason sets StatusReason field to given value. + +### HasStatusReason + +`func (o *RawPackageUploadResponse) HasStatusReason() bool` + +HasStatusReason returns a boolean if a field has been set. + +### GetStatusStr + +`func (o *RawPackageUploadResponse) GetStatusStr() string` + +GetStatusStr returns the StatusStr field if non-nil, zero value otherwise. + +### GetStatusStrOk + +`func (o *RawPackageUploadResponse) GetStatusStrOk() (*string, bool)` + +GetStatusStrOk returns a tuple with the StatusStr field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetStatusStr + +`func (o *RawPackageUploadResponse) SetStatusStr(v string)` + +SetStatusStr sets StatusStr field to given value. + +### HasStatusStr + +`func (o *RawPackageUploadResponse) HasStatusStr() bool` + +HasStatusStr returns a boolean if a field has been set. + +### GetStatusUpdatedAt + +`func (o *RawPackageUploadResponse) GetStatusUpdatedAt() time.Time` + +GetStatusUpdatedAt returns the StatusUpdatedAt field if non-nil, zero value otherwise. + +### GetStatusUpdatedAtOk + +`func (o *RawPackageUploadResponse) GetStatusUpdatedAtOk() (*time.Time, bool)` + +GetStatusUpdatedAtOk returns a tuple with the StatusUpdatedAt field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetStatusUpdatedAt + +`func (o *RawPackageUploadResponse) SetStatusUpdatedAt(v time.Time)` + +SetStatusUpdatedAt sets StatusUpdatedAt field to given value. + +### HasStatusUpdatedAt + +`func (o *RawPackageUploadResponse) HasStatusUpdatedAt() bool` + +HasStatusUpdatedAt returns a boolean if a field has been set. + +### GetStatusUrl + +`func (o *RawPackageUploadResponse) GetStatusUrl() string` + +GetStatusUrl returns the StatusUrl field if non-nil, zero value otherwise. + +### GetStatusUrlOk + +`func (o *RawPackageUploadResponse) GetStatusUrlOk() (*string, bool)` + +GetStatusUrlOk returns a tuple with the StatusUrl field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetStatusUrl + +`func (o *RawPackageUploadResponse) SetStatusUrl(v string)` + +SetStatusUrl sets StatusUrl field to given value. + +### HasStatusUrl + +`func (o *RawPackageUploadResponse) HasStatusUrl() bool` + +HasStatusUrl returns a boolean if a field has been set. + +### GetSubtype + +`func (o *RawPackageUploadResponse) GetSubtype() string` + +GetSubtype returns the Subtype field if non-nil, zero value otherwise. + +### GetSubtypeOk + +`func (o *RawPackageUploadResponse) GetSubtypeOk() (*string, bool)` + +GetSubtypeOk returns a tuple with the Subtype field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetSubtype + +`func (o *RawPackageUploadResponse) SetSubtype(v string)` + +SetSubtype sets Subtype field to given value. + +### HasSubtype + +`func (o *RawPackageUploadResponse) HasSubtype() bool` + +HasSubtype returns a boolean if a field has been set. + +### GetSummary + +`func (o *RawPackageUploadResponse) GetSummary() string` + +GetSummary returns the Summary field if non-nil, zero value otherwise. + +### GetSummaryOk + +`func (o *RawPackageUploadResponse) GetSummaryOk() (*string, bool)` + +GetSummaryOk returns a tuple with the Summary field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetSummary + +`func (o *RawPackageUploadResponse) SetSummary(v string)` + +SetSummary sets Summary field to given value. + +### HasSummary + +`func (o *RawPackageUploadResponse) HasSummary() bool` + +HasSummary returns a boolean if a field has been set. + +### SetSummaryNil + +`func (o *RawPackageUploadResponse) SetSummaryNil(b bool)` + + SetSummaryNil sets the value for Summary to be an explicit nil + +### UnsetSummary +`func (o *RawPackageUploadResponse) UnsetSummary()` + +UnsetSummary ensures that no value is present for Summary, not even an explicit nil +### GetSyncFinishedAt + +`func (o *RawPackageUploadResponse) GetSyncFinishedAt() time.Time` + +GetSyncFinishedAt returns the SyncFinishedAt field if non-nil, zero value otherwise. + +### GetSyncFinishedAtOk + +`func (o *RawPackageUploadResponse) GetSyncFinishedAtOk() (*time.Time, bool)` + +GetSyncFinishedAtOk returns a tuple with the SyncFinishedAt field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetSyncFinishedAt + +`func (o *RawPackageUploadResponse) SetSyncFinishedAt(v time.Time)` + +SetSyncFinishedAt sets SyncFinishedAt field to given value. + +### HasSyncFinishedAt + +`func (o *RawPackageUploadResponse) HasSyncFinishedAt() bool` + +HasSyncFinishedAt returns a boolean if a field has been set. + +### GetSyncProgress + +`func (o *RawPackageUploadResponse) GetSyncProgress() int64` + +GetSyncProgress returns the SyncProgress field if non-nil, zero value otherwise. + +### GetSyncProgressOk + +`func (o *RawPackageUploadResponse) GetSyncProgressOk() (*int64, bool)` + +GetSyncProgressOk returns a tuple with the SyncProgress field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetSyncProgress + +`func (o *RawPackageUploadResponse) SetSyncProgress(v int64)` + +SetSyncProgress sets SyncProgress field to given value. + +### HasSyncProgress + +`func (o *RawPackageUploadResponse) HasSyncProgress() bool` + +HasSyncProgress returns a boolean if a field has been set. + +### GetTagsImmutable + +`func (o *RawPackageUploadResponse) GetTagsImmutable() map[string]interface{}` + +GetTagsImmutable returns the TagsImmutable field if non-nil, zero value otherwise. + +### GetTagsImmutableOk + +`func (o *RawPackageUploadResponse) GetTagsImmutableOk() (*map[string]interface{}, bool)` + +GetTagsImmutableOk returns a tuple with the TagsImmutable field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetTagsImmutable + +`func (o *RawPackageUploadResponse) SetTagsImmutable(v map[string]interface{})` + +SetTagsImmutable sets TagsImmutable field to given value. + +### HasTagsImmutable + +`func (o *RawPackageUploadResponse) HasTagsImmutable() bool` + +HasTagsImmutable returns a boolean if a field has been set. + +### GetTypeDisplay + +`func (o *RawPackageUploadResponse) GetTypeDisplay() string` + +GetTypeDisplay returns the TypeDisplay field if non-nil, zero value otherwise. + +### GetTypeDisplayOk + +`func (o *RawPackageUploadResponse) GetTypeDisplayOk() (*string, bool)` + +GetTypeDisplayOk returns a tuple with the TypeDisplay field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetTypeDisplay + +`func (o *RawPackageUploadResponse) SetTypeDisplay(v string)` + +SetTypeDisplay sets TypeDisplay field to given value. + +### HasTypeDisplay + +`func (o *RawPackageUploadResponse) HasTypeDisplay() bool` + +HasTypeDisplay returns a boolean if a field has been set. + +### GetUploadedAt + +`func (o *RawPackageUploadResponse) GetUploadedAt() time.Time` + +GetUploadedAt returns the UploadedAt field if non-nil, zero value otherwise. + +### GetUploadedAtOk + +`func (o *RawPackageUploadResponse) GetUploadedAtOk() (*time.Time, bool)` + +GetUploadedAtOk returns a tuple with the UploadedAt field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetUploadedAt + +`func (o *RawPackageUploadResponse) SetUploadedAt(v time.Time)` + +SetUploadedAt sets UploadedAt field to given value. + +### HasUploadedAt + +`func (o *RawPackageUploadResponse) HasUploadedAt() bool` + +HasUploadedAt returns a boolean if a field has been set. + +### GetUploader + +`func (o *RawPackageUploadResponse) GetUploader() string` + +GetUploader returns the Uploader field if non-nil, zero value otherwise. + +### GetUploaderOk + +`func (o *RawPackageUploadResponse) GetUploaderOk() (*string, bool)` + +GetUploaderOk returns a tuple with the Uploader field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetUploader + +`func (o *RawPackageUploadResponse) SetUploader(v string)` + +SetUploader sets Uploader field to given value. + +### HasUploader + +`func (o *RawPackageUploadResponse) HasUploader() bool` + +HasUploader returns a boolean if a field has been set. + +### GetUploaderUrl + +`func (o *RawPackageUploadResponse) GetUploaderUrl() string` + +GetUploaderUrl returns the UploaderUrl field if non-nil, zero value otherwise. + +### GetUploaderUrlOk + +`func (o *RawPackageUploadResponse) GetUploaderUrlOk() (*string, bool)` + +GetUploaderUrlOk returns a tuple with the UploaderUrl field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetUploaderUrl + +`func (o *RawPackageUploadResponse) SetUploaderUrl(v string)` + +SetUploaderUrl sets UploaderUrl field to given value. + +### HasUploaderUrl + +`func (o *RawPackageUploadResponse) HasUploaderUrl() bool` + +HasUploaderUrl returns a boolean if a field has been set. + +### GetVersion + +`func (o *RawPackageUploadResponse) GetVersion() string` + +GetVersion returns the Version field if non-nil, zero value otherwise. + +### GetVersionOk + +`func (o *RawPackageUploadResponse) GetVersionOk() (*string, bool)` + +GetVersionOk returns a tuple with the Version field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetVersion + +`func (o *RawPackageUploadResponse) SetVersion(v string)` + +SetVersion sets Version field to given value. + +### HasVersion + +`func (o *RawPackageUploadResponse) HasVersion() bool` + +HasVersion returns a boolean if a field has been set. + +### SetVersionNil + +`func (o *RawPackageUploadResponse) SetVersionNil(b bool)` + + SetVersionNil sets the value for Version to be an explicit nil + +### UnsetVersion +`func (o *RawPackageUploadResponse) UnsetVersion()` + +UnsetVersion ensures that no value is present for Version, not even an explicit nil +### GetVersionOrig + +`func (o *RawPackageUploadResponse) GetVersionOrig() string` + +GetVersionOrig returns the VersionOrig field if non-nil, zero value otherwise. + +### GetVersionOrigOk + +`func (o *RawPackageUploadResponse) GetVersionOrigOk() (*string, bool)` + +GetVersionOrigOk returns a tuple with the VersionOrig field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetVersionOrig + +`func (o *RawPackageUploadResponse) SetVersionOrig(v string)` + +SetVersionOrig sets VersionOrig field to given value. + +### HasVersionOrig + +`func (o *RawPackageUploadResponse) HasVersionOrig() bool` + +HasVersionOrig returns a boolean if a field has been set. + +### GetVulnerabilityScanResultsUrl + +`func (o *RawPackageUploadResponse) GetVulnerabilityScanResultsUrl() string` + +GetVulnerabilityScanResultsUrl returns the VulnerabilityScanResultsUrl field if non-nil, zero value otherwise. + +### GetVulnerabilityScanResultsUrlOk + +`func (o *RawPackageUploadResponse) GetVulnerabilityScanResultsUrlOk() (*string, bool)` + +GetVulnerabilityScanResultsUrlOk returns a tuple with the VulnerabilityScanResultsUrl field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetVulnerabilityScanResultsUrl + +`func (o *RawPackageUploadResponse) SetVulnerabilityScanResultsUrl(v string)` + +SetVulnerabilityScanResultsUrl sets VulnerabilityScanResultsUrl field to given value. + +### HasVulnerabilityScanResultsUrl + +`func (o *RawPackageUploadResponse) HasVulnerabilityScanResultsUrl() bool` + +HasVulnerabilityScanResultsUrl 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/docs/ReposApi.md b/docs/ReposApi.md index 984b559b..fb045964 100644 --- a/docs/ReposApi.md +++ b/docs/ReposApi.md @@ -4,96 +4,27 @@ All URIs are relative to *https://api.cloudsmith.io/v1* Method | HTTP request | Description ------------- | ------------- | ------------- -[**ReposAllList**](ReposApi.md#ReposAllList) | **Get** /repos/ | Get a list of all repositories associated with current user. [**ReposCreate**](ReposApi.md#ReposCreate) | **Post** /repos/{owner}/ | Create a new repository in a given namespace. [**ReposDelete**](ReposApi.md#ReposDelete) | **Delete** /repos/{owner}/{identifier}/ | Delete a repository in a given namespace. [**ReposGpgCreate**](ReposApi.md#ReposGpgCreate) | **Post** /repos/{owner}/{identifier}/gpg/ | Set the active GPG key for the Repository. [**ReposGpgList**](ReposApi.md#ReposGpgList) | **Get** /repos/{owner}/{identifier}/gpg/ | Retrieve the active GPG key for the Repository. [**ReposGpgRegenerate**](ReposApi.md#ReposGpgRegenerate) | **Post** /repos/{owner}/{identifier}/gpg/regenerate/ | Regenerate GPG Key for the Repository. -[**ReposList**](ReposApi.md#ReposList) | **Get** /repos/{owner}/ | Get a list of all repositories within a namespace. +[**ReposNamespaceList**](ReposApi.md#ReposNamespaceList) | **Get** /repos/{owner}/ | Get a list of all repositories within a namespace. [**ReposPartialUpdate**](ReposApi.md#ReposPartialUpdate) | **Patch** /repos/{owner}/{identifier}/ | Update details about a repository in a given namespace. -[**ReposPrivilegesDelete**](ReposApi.md#ReposPrivilegesDelete) | **Delete** /repos/{owner}/{identifier}/privileges | Remove the specified repository privileges. [**ReposPrivilegesList**](ReposApi.md#ReposPrivilegesList) | **Get** /repos/{owner}/{identifier}/privileges | List all explicity created privileges for the repository. -[**ReposPrivilegesPartialUpdate**](ReposApi.md#ReposPrivilegesPartialUpdate) | **Patch** /repos/{owner}/{identifier}/privileges | Update the specified repository privileges. +[**ReposPrivilegesPartialUpdate**](ReposApi.md#ReposPrivilegesPartialUpdate) | **Patch** /repos/{owner}/{identifier}/privileges | Modify privileges for the repository. [**ReposPrivilegesUpdate**](ReposApi.md#ReposPrivilegesUpdate) | **Put** /repos/{owner}/{identifier}/privileges | Replace all existing repository privileges with those specified. [**ReposRead**](ReposApi.md#ReposRead) | **Get** /repos/{owner}/{identifier}/ | Get a specific repository. [**ReposRsaCreate**](ReposApi.md#ReposRsaCreate) | **Post** /repos/{owner}/{identifier}/rsa/ | Set the active RSA key for the Repository. [**ReposRsaList**](ReposApi.md#ReposRsaList) | **Get** /repos/{owner}/{identifier}/rsa/ | Retrieve the active RSA key for the Repository. [**ReposRsaRegenerate**](ReposApi.md#ReposRsaRegenerate) | **Post** /repos/{owner}/{identifier}/rsa/regenerate/ | Regenerate RSA Key for the Repository. +[**ReposUserList**](ReposApi.md#ReposUserList) | **Get** /repos/ | Get a list of all repositories associated with current user. -## ReposAllList - -> []Repository ReposAllList(ctx).Page(page).PageSize(pageSize).Execute() - -Get a list of all repositories associated with current user. - - - -### Example - -```go -package main - -import ( - "context" - "fmt" - "os" - openapiclient "./openapi" -) - -func main() { - page := int64(56) // int64 | A page number within the paginated result set. (optional) - pageSize := int64(56) // int64 | Number of results to return per page. (optional) - - configuration := openapiclient.NewConfiguration() - apiClient := openapiclient.NewAPIClient(configuration) - resp, r, err := apiClient.ReposApi.ReposAllList(context.Background()).Page(page).PageSize(pageSize).Execute() - if err != nil { - fmt.Fprintf(os.Stderr, "Error when calling `ReposApi.ReposAllList``: %v\n", err) - fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) - } - // response from `ReposAllList`: []Repository - fmt.Fprintf(os.Stdout, "Response from `ReposApi.ReposAllList`: %v\n", resp) -} -``` - -### Path Parameters - - - -### Other Parameters - -Other parameters are passed through a pointer to a apiReposAllListRequest struct via the builder pattern - - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **page** | **int64** | A page number within the paginated result set. | - **pageSize** | **int64** | Number of results to return per page. | - -### Return type - -[**[]Repository**](Repository.md) - -### Authorization - -[apikey](../README.md#apikey) - -### HTTP request headers - -- **Content-Type**: Not defined -- **Accept**: */* - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) -[[Back to Model list]](../README.md#documentation-for-models) -[[Back to README]](../README.md) - - ## ReposCreate -> RepositoryCreate ReposCreate(ctx, owner).Data(data).Execute() +> RepositoryCreateResponse ReposCreate(ctx, owner).Data(data).Execute() Create a new repository in a given namespace. @@ -113,7 +44,7 @@ import ( func main() { owner := "owner_example" // string | - data := *openapiclient.NewReposCreate("Name_example") // ReposCreate | (optional) + data := *openapiclient.NewRepositoryCreateRequest("Name_example") // RepositoryCreateRequest | (optional) configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) @@ -122,7 +53,7 @@ func main() { fmt.Fprintf(os.Stderr, "Error when calling `ReposApi.ReposCreate``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } - // response from `ReposCreate`: RepositoryCreate + // response from `ReposCreate`: RepositoryCreateResponse fmt.Fprintf(os.Stdout, "Response from `ReposApi.ReposCreate`: %v\n", resp) } ``` @@ -143,11 +74,11 @@ Other parameters are passed through a pointer to a apiReposCreateRequest struct Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **data** | [**ReposCreate**](ReposCreate.md) | | + **data** | [**RepositoryCreateRequest**](RepositoryCreateRequest.md) | | ### Return type -[**RepositoryCreate**](RepositoryCreate.md) +[**RepositoryCreateResponse**](RepositoryCreateResponse.md) ### Authorization @@ -156,7 +87,7 @@ Name | Type | Description | Notes ### HTTP request headers - **Content-Type**: application/json -- **Accept**: */* +- **Accept**: application/json [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) @@ -227,7 +158,7 @@ Name | Type | Description | Notes ### HTTP request headers - **Content-Type**: Not defined -- **Accept**: */* +- **Accept**: application/json [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) @@ -236,7 +167,7 @@ Name | Type | Description | Notes ## ReposGpgCreate -> RepositoryGpgKey ReposGpgCreate(ctx, owner, identifier).Data(data).Execute() +> RepositoryGpgKeyResponse ReposGpgCreate(ctx, owner, identifier).Data(data).Execute() Set the active GPG key for the Repository. @@ -257,7 +188,7 @@ import ( func main() { owner := "owner_example" // string | identifier := "identifier_example" // string | - data := *openapiclient.NewReposGpgCreate("GpgPrivateKey_example") // ReposGpgCreate | (optional) + data := *openapiclient.NewRepositoryGpgKeyCreate("GpgPrivateKey_example") // RepositoryGpgKeyCreate | (optional) configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) @@ -266,7 +197,7 @@ func main() { fmt.Fprintf(os.Stderr, "Error when calling `ReposApi.ReposGpgCreate``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } - // response from `ReposGpgCreate`: RepositoryGpgKey + // response from `ReposGpgCreate`: RepositoryGpgKeyResponse fmt.Fprintf(os.Stdout, "Response from `ReposApi.ReposGpgCreate`: %v\n", resp) } ``` @@ -289,11 +220,11 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **data** | [**ReposGpgCreate**](ReposGpgCreate.md) | | + **data** | [**RepositoryGpgKeyCreate**](RepositoryGpgKeyCreate.md) | | ### Return type -[**RepositoryGpgKey**](RepositoryGpgKey.md) +[**RepositoryGpgKeyResponse**](RepositoryGpgKeyResponse.md) ### Authorization @@ -302,7 +233,7 @@ Name | Type | Description | Notes ### HTTP request headers - **Content-Type**: application/json -- **Accept**: */* +- **Accept**: application/json [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) @@ -311,7 +242,7 @@ Name | Type | Description | Notes ## ReposGpgList -> RepositoryGpgKey ReposGpgList(ctx, owner, identifier).Execute() +> RepositoryGpgKeyResponse ReposGpgList(ctx, owner, identifier).Execute() Retrieve the active GPG key for the Repository. @@ -340,7 +271,7 @@ func main() { fmt.Fprintf(os.Stderr, "Error when calling `ReposApi.ReposGpgList``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } - // response from `ReposGpgList`: RepositoryGpgKey + // response from `ReposGpgList`: RepositoryGpgKeyResponse fmt.Fprintf(os.Stdout, "Response from `ReposApi.ReposGpgList`: %v\n", resp) } ``` @@ -366,7 +297,7 @@ Name | Type | Description | Notes ### Return type -[**RepositoryGpgKey**](RepositoryGpgKey.md) +[**RepositoryGpgKeyResponse**](RepositoryGpgKeyResponse.md) ### Authorization @@ -375,7 +306,7 @@ Name | Type | Description | Notes ### HTTP request headers - **Content-Type**: Not defined -- **Accept**: */* +- **Accept**: application/json [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) @@ -384,7 +315,7 @@ Name | Type | Description | Notes ## ReposGpgRegenerate -> RepositoryGpgKey ReposGpgRegenerate(ctx, owner, identifier).Execute() +> RepositoryGpgKeyResponse ReposGpgRegenerate(ctx, owner, identifier).Execute() Regenerate GPG Key for the Repository. @@ -413,7 +344,7 @@ func main() { fmt.Fprintf(os.Stderr, "Error when calling `ReposApi.ReposGpgRegenerate``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } - // response from `ReposGpgRegenerate`: RepositoryGpgKey + // response from `ReposGpgRegenerate`: RepositoryGpgKeyResponse fmt.Fprintf(os.Stdout, "Response from `ReposApi.ReposGpgRegenerate`: %v\n", resp) } ``` @@ -439,7 +370,7 @@ Name | Type | Description | Notes ### Return type -[**RepositoryGpgKey**](RepositoryGpgKey.md) +[**RepositoryGpgKeyResponse**](RepositoryGpgKeyResponse.md) ### Authorization @@ -448,16 +379,16 @@ Name | Type | Description | Notes ### HTTP request headers - **Content-Type**: Not defined -- **Accept**: */* +- **Accept**: application/json [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -## ReposList +## ReposNamespaceList -> []Repository ReposList(ctx, owner).Page(page).PageSize(pageSize).Execute() +> []RepositoryResponse ReposNamespaceList(ctx, owner).Page(page).PageSize(pageSize).Execute() Get a list of all repositories within a namespace. @@ -482,13 +413,13 @@ func main() { configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) - resp, r, err := apiClient.ReposApi.ReposList(context.Background(), owner).Page(page).PageSize(pageSize).Execute() + resp, r, err := apiClient.ReposApi.ReposNamespaceList(context.Background(), owner).Page(page).PageSize(pageSize).Execute() if err != nil { - fmt.Fprintf(os.Stderr, "Error when calling `ReposApi.ReposList``: %v\n", err) + fmt.Fprintf(os.Stderr, "Error when calling `ReposApi.ReposNamespaceList``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } - // response from `ReposList`: []Repository - fmt.Fprintf(os.Stdout, "Response from `ReposApi.ReposList`: %v\n", resp) + // response from `ReposNamespaceList`: []RepositoryResponse + fmt.Fprintf(os.Stdout, "Response from `ReposApi.ReposNamespaceList`: %v\n", resp) } ``` @@ -502,7 +433,7 @@ Name | Type | Description | Notes ### Other Parameters -Other parameters are passed through a pointer to a apiReposListRequest struct via the builder pattern +Other parameters are passed through a pointer to a apiReposNamespaceListRequest struct via the builder pattern Name | Type | Description | Notes @@ -513,7 +444,7 @@ Name | Type | Description | Notes ### Return type -[**[]Repository**](Repository.md) +[**[]RepositoryResponse**](RepositoryResponse.md) ### Authorization @@ -522,7 +453,7 @@ Name | Type | Description | Notes ### HTTP request headers - **Content-Type**: Not defined -- **Accept**: */* +- **Accept**: application/json [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) @@ -531,7 +462,7 @@ Name | Type | Description | Notes ## ReposPartialUpdate -> Repository ReposPartialUpdate(ctx, owner, identifier).Data(data).Execute() +> RepositoryResponse ReposPartialUpdate(ctx, owner, identifier).Data(data).Execute() Update details about a repository in a given namespace. @@ -552,7 +483,7 @@ import ( func main() { owner := "owner_example" // string | identifier := "identifier_example" // string | - data := *openapiclient.NewReposPartialUpdate() // ReposPartialUpdate | (optional) + data := *openapiclient.NewRepositoryRequestPatch() // RepositoryRequestPatch | (optional) configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) @@ -561,7 +492,7 @@ func main() { fmt.Fprintf(os.Stderr, "Error when calling `ReposApi.ReposPartialUpdate``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } - // response from `ReposPartialUpdate`: Repository + // response from `ReposPartialUpdate`: RepositoryResponse fmt.Fprintf(os.Stdout, "Response from `ReposApi.ReposPartialUpdate`: %v\n", resp) } ``` @@ -584,11 +515,11 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **data** | [**ReposPartialUpdate**](ReposPartialUpdate.md) | | + **data** | [**RepositoryRequestPatch**](RepositoryRequestPatch.md) | | ### Return type -[**Repository**](Repository.md) +[**RepositoryResponse**](RepositoryResponse.md) ### Authorization @@ -597,18 +528,18 @@ Name | Type | Description | Notes ### HTTP request headers - **Content-Type**: application/json -- **Accept**: */* +- **Accept**: application/json [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -## ReposPrivilegesDelete +## ReposPrivilegesList -> ReposPrivilegesDelete(ctx, owner, identifier).Execute() +> RepositoryPrivilegeInputResponse ReposPrivilegesList(ctx, owner, identifier).Page(page).PageSize(pageSize).Execute() -Remove the specified repository privileges. +List all explicity created privileges for the repository. @@ -627,14 +558,18 @@ import ( func main() { owner := "owner_example" // string | identifier := "identifier_example" // string | + page := int64(56) // int64 | A page number within the paginated result set. (optional) + pageSize := int64(56) // int64 | Number of results to return per page. (optional) configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) - resp, r, err := apiClient.ReposApi.ReposPrivilegesDelete(context.Background(), owner, identifier).Execute() + resp, r, err := apiClient.ReposApi.ReposPrivilegesList(context.Background(), owner, identifier).Page(page).PageSize(pageSize).Execute() if err != nil { - fmt.Fprintf(os.Stderr, "Error when calling `ReposApi.ReposPrivilegesDelete``: %v\n", err) + fmt.Fprintf(os.Stderr, "Error when calling `ReposApi.ReposPrivilegesList``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } + // response from `ReposPrivilegesList`: RepositoryPrivilegeInputResponse + fmt.Fprintf(os.Stdout, "Response from `ReposApi.ReposPrivilegesList`: %v\n", resp) } ``` @@ -649,17 +584,19 @@ Name | Type | Description | Notes ### Other Parameters -Other parameters are passed through a pointer to a apiReposPrivilegesDeleteRequest struct via the builder pattern +Other parameters are passed through a pointer to a apiReposPrivilegesListRequest struct via the builder pattern Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- + **page** | **int64** | A page number within the paginated result set. | + **pageSize** | **int64** | Number of results to return per page. | ### Return type - (empty response body) +[**RepositoryPrivilegeInputResponse**](RepositoryPrivilegeInputResponse.md) ### Authorization @@ -668,18 +605,18 @@ Name | Type | Description | Notes ### HTTP request headers - **Content-Type**: Not defined -- **Accept**: */* +- **Accept**: application/json [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -## ReposPrivilegesList +## ReposPrivilegesPartialUpdate -> []RepositoryPrivilegeList ReposPrivilegesList(ctx, owner, identifier).Execute() +> ReposPrivilegesPartialUpdate(ctx, owner, identifier).Data(data).Execute() -List all explicity created privileges for the repository. +Modify privileges for the repository. @@ -698,16 +635,15 @@ import ( func main() { owner := "owner_example" // string | identifier := "identifier_example" // string | + data := *openapiclient.NewRepositoryPrivilegeInputRequestPatch() // RepositoryPrivilegeInputRequestPatch | (optional) configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) - resp, r, err := apiClient.ReposApi.ReposPrivilegesList(context.Background(), owner, identifier).Execute() + resp, r, err := apiClient.ReposApi.ReposPrivilegesPartialUpdate(context.Background(), owner, identifier).Data(data).Execute() if err != nil { - fmt.Fprintf(os.Stderr, "Error when calling `ReposApi.ReposPrivilegesList``: %v\n", err) + fmt.Fprintf(os.Stderr, "Error when calling `ReposApi.ReposPrivilegesPartialUpdate``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } - // response from `ReposPrivilegesList`: []RepositoryPrivilegeList - fmt.Fprintf(os.Stdout, "Response from `ReposApi.ReposPrivilegesList`: %v\n", resp) } ``` @@ -722,17 +658,18 @@ Name | Type | Description | Notes ### Other Parameters -Other parameters are passed through a pointer to a apiReposPrivilegesListRequest struct via the builder pattern +Other parameters are passed through a pointer to a apiReposPrivilegesPartialUpdateRequest struct via the builder pattern Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- + **data** | [**RepositoryPrivilegeInputRequestPatch**](RepositoryPrivilegeInputRequestPatch.md) | | ### Return type -[**[]RepositoryPrivilegeList**](RepositoryPrivilegeList.md) + (empty response body) ### Authorization @@ -740,19 +677,19 @@ Name | Type | Description | Notes ### HTTP request headers -- **Content-Type**: Not defined -- **Accept**: */* +- **Content-Type**: application/json +- **Accept**: application/json [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -## ReposPrivilegesPartialUpdate +## ReposPrivilegesUpdate -> ReposPrivilegesPartialUpdate(ctx, owner, identifier).Execute() +> ReposPrivilegesUpdate(ctx, owner, identifier).Data(data).Execute() -Update the specified repository privileges. +Replace all existing repository privileges with those specified. @@ -771,12 +708,13 @@ import ( func main() { owner := "owner_example" // string | identifier := "identifier_example" // string | + data := *openapiclient.NewRepositoryPrivilegeInputRequest([]openapiclient.RepositoryPrivilegeDict{*openapiclient.NewRepositoryPrivilegeDict("Privilege_example")}) // RepositoryPrivilegeInputRequest | (optional) configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) - resp, r, err := apiClient.ReposApi.ReposPrivilegesPartialUpdate(context.Background(), owner, identifier).Execute() + resp, r, err := apiClient.ReposApi.ReposPrivilegesUpdate(context.Background(), owner, identifier).Data(data).Execute() if err != nil { - fmt.Fprintf(os.Stderr, "Error when calling `ReposApi.ReposPrivilegesPartialUpdate``: %v\n", err) + fmt.Fprintf(os.Stderr, "Error when calling `ReposApi.ReposPrivilegesUpdate``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } } @@ -793,13 +731,14 @@ Name | Type | Description | Notes ### Other Parameters -Other parameters are passed through a pointer to a apiReposPrivilegesPartialUpdateRequest struct via the builder pattern +Other parameters are passed through a pointer to a apiReposPrivilegesUpdateRequest struct via the builder pattern Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- + **data** | [**RepositoryPrivilegeInputRequest**](RepositoryPrivilegeInputRequest.md) | | ### Return type @@ -811,19 +750,19 @@ Name | Type | Description | Notes ### HTTP request headers -- **Content-Type**: Not defined -- **Accept**: */* +- **Content-Type**: application/json +- **Accept**: application/json [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -## ReposPrivilegesUpdate +## ReposRead -> RepositoryPrivilegeList ReposPrivilegesUpdate(ctx, owner, identifier).Execute() +> RepositoryResponse ReposRead(ctx, owner, identifier).Execute() -Replace all existing repository privileges with those specified. +Get a specific repository. @@ -845,13 +784,13 @@ func main() { configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) - resp, r, err := apiClient.ReposApi.ReposPrivilegesUpdate(context.Background(), owner, identifier).Execute() + resp, r, err := apiClient.ReposApi.ReposRead(context.Background(), owner, identifier).Execute() if err != nil { - fmt.Fprintf(os.Stderr, "Error when calling `ReposApi.ReposPrivilegesUpdate``: %v\n", err) + fmt.Fprintf(os.Stderr, "Error when calling `ReposApi.ReposRead``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } - // response from `ReposPrivilegesUpdate`: RepositoryPrivilegeList - fmt.Fprintf(os.Stdout, "Response from `ReposApi.ReposPrivilegesUpdate`: %v\n", resp) + // response from `ReposRead`: RepositoryResponse + fmt.Fprintf(os.Stdout, "Response from `ReposApi.ReposRead`: %v\n", resp) } ``` @@ -866,7 +805,7 @@ Name | Type | Description | Notes ### Other Parameters -Other parameters are passed through a pointer to a apiReposPrivilegesUpdateRequest struct via the builder pattern +Other parameters are passed through a pointer to a apiReposReadRequest struct via the builder pattern Name | Type | Description | Notes @@ -876,7 +815,7 @@ Name | Type | Description | Notes ### Return type -[**RepositoryPrivilegeList**](RepositoryPrivilegeList.md) +[**RepositoryResponse**](RepositoryResponse.md) ### Authorization @@ -885,18 +824,18 @@ Name | Type | Description | Notes ### HTTP request headers - **Content-Type**: Not defined -- **Accept**: */* +- **Accept**: application/json [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -## ReposRead +## ReposRsaCreate -> Repository ReposRead(ctx, owner, identifier).Execute() +> RepositoryRsaKeyResponse ReposRsaCreate(ctx, owner, identifier).Data(data).Execute() -Get a specific repository. +Set the active RSA key for the Repository. @@ -915,16 +854,17 @@ import ( func main() { owner := "owner_example" // string | identifier := "identifier_example" // string | + data := *openapiclient.NewRepositoryRsaKeyCreate("RsaPrivateKey_example") // RepositoryRsaKeyCreate | (optional) configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) - resp, r, err := apiClient.ReposApi.ReposRead(context.Background(), owner, identifier).Execute() + resp, r, err := apiClient.ReposApi.ReposRsaCreate(context.Background(), owner, identifier).Data(data).Execute() if err != nil { - fmt.Fprintf(os.Stderr, "Error when calling `ReposApi.ReposRead``: %v\n", err) + fmt.Fprintf(os.Stderr, "Error when calling `ReposApi.ReposRsaCreate``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } - // response from `ReposRead`: Repository - fmt.Fprintf(os.Stdout, "Response from `ReposApi.ReposRead`: %v\n", resp) + // response from `ReposRsaCreate`: RepositoryRsaKeyResponse + fmt.Fprintf(os.Stdout, "Response from `ReposApi.ReposRsaCreate`: %v\n", resp) } ``` @@ -939,17 +879,18 @@ Name | Type | Description | Notes ### Other Parameters -Other parameters are passed through a pointer to a apiReposReadRequest struct via the builder pattern +Other parameters are passed through a pointer to a apiReposRsaCreateRequest struct via the builder pattern Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- + **data** | [**RepositoryRsaKeyCreate**](RepositoryRsaKeyCreate.md) | | ### Return type -[**Repository**](Repository.md) +[**RepositoryRsaKeyResponse**](RepositoryRsaKeyResponse.md) ### Authorization @@ -957,19 +898,19 @@ Name | Type | Description | Notes ### HTTP request headers -- **Content-Type**: Not defined -- **Accept**: */* +- **Content-Type**: application/json +- **Accept**: application/json [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -## ReposRsaCreate +## ReposRsaList -> RepositoryRsaKey ReposRsaCreate(ctx, owner, identifier).Data(data).Execute() +> RepositoryRsaKeyResponse ReposRsaList(ctx, owner, identifier).Execute() -Set the active RSA key for the Repository. +Retrieve the active RSA key for the Repository. @@ -988,17 +929,16 @@ import ( func main() { owner := "owner_example" // string | identifier := "identifier_example" // string | - data := *openapiclient.NewReposRsaCreate("RsaPrivateKey_example") // ReposRsaCreate | (optional) configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) - resp, r, err := apiClient.ReposApi.ReposRsaCreate(context.Background(), owner, identifier).Data(data).Execute() + resp, r, err := apiClient.ReposApi.ReposRsaList(context.Background(), owner, identifier).Execute() if err != nil { - fmt.Fprintf(os.Stderr, "Error when calling `ReposApi.ReposRsaCreate``: %v\n", err) + fmt.Fprintf(os.Stderr, "Error when calling `ReposApi.ReposRsaList``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } - // response from `ReposRsaCreate`: RepositoryRsaKey - fmt.Fprintf(os.Stdout, "Response from `ReposApi.ReposRsaCreate`: %v\n", resp) + // response from `ReposRsaList`: RepositoryRsaKeyResponse + fmt.Fprintf(os.Stdout, "Response from `ReposApi.ReposRsaList`: %v\n", resp) } ``` @@ -1013,18 +953,17 @@ Name | Type | Description | Notes ### Other Parameters -Other parameters are passed through a pointer to a apiReposRsaCreateRequest struct via the builder pattern +Other parameters are passed through a pointer to a apiReposRsaListRequest struct via the builder pattern Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **data** | [**ReposRsaCreate**](ReposRsaCreate.md) | | ### Return type -[**RepositoryRsaKey**](RepositoryRsaKey.md) +[**RepositoryRsaKeyResponse**](RepositoryRsaKeyResponse.md) ### Authorization @@ -1032,19 +971,19 @@ Name | Type | Description | Notes ### HTTP request headers -- **Content-Type**: application/json -- **Accept**: */* +- **Content-Type**: Not defined +- **Accept**: application/json [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -## ReposRsaList +## ReposRsaRegenerate -> RepositoryRsaKey ReposRsaList(ctx, owner, identifier).Execute() +> RepositoryRsaKeyResponse ReposRsaRegenerate(ctx, owner, identifier).Execute() -Retrieve the active RSA key for the Repository. +Regenerate RSA Key for the Repository. @@ -1066,13 +1005,13 @@ func main() { configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) - resp, r, err := apiClient.ReposApi.ReposRsaList(context.Background(), owner, identifier).Execute() + resp, r, err := apiClient.ReposApi.ReposRsaRegenerate(context.Background(), owner, identifier).Execute() if err != nil { - fmt.Fprintf(os.Stderr, "Error when calling `ReposApi.ReposRsaList``: %v\n", err) + fmt.Fprintf(os.Stderr, "Error when calling `ReposApi.ReposRsaRegenerate``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } - // response from `ReposRsaList`: RepositoryRsaKey - fmt.Fprintf(os.Stdout, "Response from `ReposApi.ReposRsaList`: %v\n", resp) + // response from `ReposRsaRegenerate`: RepositoryRsaKeyResponse + fmt.Fprintf(os.Stdout, "Response from `ReposApi.ReposRsaRegenerate`: %v\n", resp) } ``` @@ -1087,7 +1026,7 @@ Name | Type | Description | Notes ### Other Parameters -Other parameters are passed through a pointer to a apiReposRsaListRequest struct via the builder pattern +Other parameters are passed through a pointer to a apiReposRsaRegenerateRequest struct via the builder pattern Name | Type | Description | Notes @@ -1097,7 +1036,7 @@ Name | Type | Description | Notes ### Return type -[**RepositoryRsaKey**](RepositoryRsaKey.md) +[**RepositoryRsaKeyResponse**](RepositoryRsaKeyResponse.md) ### Authorization @@ -1106,18 +1045,18 @@ Name | Type | Description | Notes ### HTTP request headers - **Content-Type**: Not defined -- **Accept**: */* +- **Accept**: application/json [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -## ReposRsaRegenerate +## ReposUserList -> RepositoryRsaKey ReposRsaRegenerate(ctx, owner, identifier).Execute() +> []RepositoryResponse ReposUserList(ctx).Page(page).PageSize(pageSize).Execute() -Regenerate RSA Key for the Repository. +Get a list of all repositories associated with current user. @@ -1134,43 +1073,38 @@ import ( ) func main() { - owner := "owner_example" // string | - identifier := "identifier_example" // string | + page := int64(56) // int64 | A page number within the paginated result set. (optional) + pageSize := int64(56) // int64 | Number of results to return per page. (optional) configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) - resp, r, err := apiClient.ReposApi.ReposRsaRegenerate(context.Background(), owner, identifier).Execute() + resp, r, err := apiClient.ReposApi.ReposUserList(context.Background()).Page(page).PageSize(pageSize).Execute() if err != nil { - fmt.Fprintf(os.Stderr, "Error when calling `ReposApi.ReposRsaRegenerate``: %v\n", err) + fmt.Fprintf(os.Stderr, "Error when calling `ReposApi.ReposUserList``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } - // response from `ReposRsaRegenerate`: RepositoryRsaKey - fmt.Fprintf(os.Stdout, "Response from `ReposApi.ReposRsaRegenerate`: %v\n", resp) + // response from `ReposUserList`: []RepositoryResponse + fmt.Fprintf(os.Stdout, "Response from `ReposApi.ReposUserList`: %v\n", resp) } ``` ### Path Parameters -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- -**ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc. -**owner** | **string** | | -**identifier** | **string** | | ### Other Parameters -Other parameters are passed through a pointer to a apiReposRsaRegenerateRequest struct via the builder pattern +Other parameters are passed through a pointer to a apiReposUserListRequest struct via the builder pattern Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - - + **page** | **int64** | A page number within the paginated result set. | + **pageSize** | **int64** | Number of results to return per page. | ### Return type -[**RepositoryRsaKey**](RepositoryRsaKey.md) +[**[]RepositoryResponse**](RepositoryResponse.md) ### Authorization @@ -1179,7 +1113,7 @@ Name | Type | Description | Notes ### HTTP request headers - **Content-Type**: Not defined -- **Accept**: */* +- **Accept**: application/json [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) diff --git a/docs/RepositoryAuditLog.md b/docs/RepositoryAuditLogResponse.md similarity index 51% rename from docs/RepositoryAuditLog.md rename to docs/RepositoryAuditLogResponse.md index 485007d4..c4a2b69d 100644 --- a/docs/RepositoryAuditLog.md +++ b/docs/RepositoryAuditLogResponse.md @@ -1,314 +1,354 @@ -# RepositoryAuditLog +# RepositoryAuditLogResponse ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**Actor** | **string** | | -**ActorIpAddress** | **string** | | -**ActorKind** | Pointer to **string** | | [optional] -**ActorLocation** | **map[string]interface{}** | | -**ActorSlugPerm** | **string** | | -**ActorUrl** | Pointer to **string** | | [optional] +**Actor** | **NullableString** | | +**ActorIpAddress** | **NullableString** | | +**ActorKind** | Pointer to **string** | | [optional] [readonly] +**ActorLocation** | [**GeoIpLocation**](GeoIpLocation.md) | | +**ActorSlugPerm** | **NullableString** | | +**ActorUrl** | Pointer to **NullableString** | | [optional] [readonly] **Context** | **string** | | **Event** | **string** | | -**EventAt** | **string** | | +**EventAt** | **time.Time** | | **Object** | **string** | | **ObjectKind** | **string** | | **ObjectSlugPerm** | **string** | | -**Uuid** | Pointer to **string** | | [optional] +**Uuid** | Pointer to **string** | | [optional] [readonly] ## Methods -### NewRepositoryAuditLog +### NewRepositoryAuditLogResponse -`func NewRepositoryAuditLog(actor string, actorIpAddress string, actorLocation map[string]interface{}, actorSlugPerm string, context string, event string, eventAt string, object string, objectKind string, objectSlugPerm string, ) *RepositoryAuditLog` +`func NewRepositoryAuditLogResponse(actor NullableString, actorIpAddress NullableString, actorLocation GeoIpLocation, actorSlugPerm NullableString, context string, event string, eventAt time.Time, object string, objectKind string, objectSlugPerm string, ) *RepositoryAuditLogResponse` -NewRepositoryAuditLog instantiates a new RepositoryAuditLog object +NewRepositoryAuditLogResponse instantiates a new RepositoryAuditLogResponse object 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 -### NewRepositoryAuditLogWithDefaults +### NewRepositoryAuditLogResponseWithDefaults -`func NewRepositoryAuditLogWithDefaults() *RepositoryAuditLog` +`func NewRepositoryAuditLogResponseWithDefaults() *RepositoryAuditLogResponse` -NewRepositoryAuditLogWithDefaults instantiates a new RepositoryAuditLog object +NewRepositoryAuditLogResponseWithDefaults instantiates a new RepositoryAuditLogResponse object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set ### GetActor -`func (o *RepositoryAuditLog) GetActor() string` +`func (o *RepositoryAuditLogResponse) GetActor() string` GetActor returns the Actor field if non-nil, zero value otherwise. ### GetActorOk -`func (o *RepositoryAuditLog) GetActorOk() (*string, bool)` +`func (o *RepositoryAuditLogResponse) GetActorOk() (*string, bool)` GetActorOk returns a tuple with the Actor field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetActor -`func (o *RepositoryAuditLog) SetActor(v string)` +`func (o *RepositoryAuditLogResponse) SetActor(v string)` SetActor sets Actor field to given value. +### SetActorNil + +`func (o *RepositoryAuditLogResponse) SetActorNil(b bool)` + + SetActorNil sets the value for Actor to be an explicit nil + +### UnsetActor +`func (o *RepositoryAuditLogResponse) UnsetActor()` + +UnsetActor ensures that no value is present for Actor, not even an explicit nil ### GetActorIpAddress -`func (o *RepositoryAuditLog) GetActorIpAddress() string` +`func (o *RepositoryAuditLogResponse) GetActorIpAddress() string` GetActorIpAddress returns the ActorIpAddress field if non-nil, zero value otherwise. ### GetActorIpAddressOk -`func (o *RepositoryAuditLog) GetActorIpAddressOk() (*string, bool)` +`func (o *RepositoryAuditLogResponse) GetActorIpAddressOk() (*string, bool)` GetActorIpAddressOk returns a tuple with the ActorIpAddress field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetActorIpAddress -`func (o *RepositoryAuditLog) SetActorIpAddress(v string)` +`func (o *RepositoryAuditLogResponse) SetActorIpAddress(v string)` SetActorIpAddress sets ActorIpAddress field to given value. +### SetActorIpAddressNil + +`func (o *RepositoryAuditLogResponse) SetActorIpAddressNil(b bool)` + + SetActorIpAddressNil sets the value for ActorIpAddress to be an explicit nil + +### UnsetActorIpAddress +`func (o *RepositoryAuditLogResponse) UnsetActorIpAddress()` + +UnsetActorIpAddress ensures that no value is present for ActorIpAddress, not even an explicit nil ### GetActorKind -`func (o *RepositoryAuditLog) GetActorKind() string` +`func (o *RepositoryAuditLogResponse) GetActorKind() string` GetActorKind returns the ActorKind field if non-nil, zero value otherwise. ### GetActorKindOk -`func (o *RepositoryAuditLog) GetActorKindOk() (*string, bool)` +`func (o *RepositoryAuditLogResponse) GetActorKindOk() (*string, bool)` GetActorKindOk returns a tuple with the ActorKind field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetActorKind -`func (o *RepositoryAuditLog) SetActorKind(v string)` +`func (o *RepositoryAuditLogResponse) SetActorKind(v string)` SetActorKind sets ActorKind field to given value. ### HasActorKind -`func (o *RepositoryAuditLog) HasActorKind() bool` +`func (o *RepositoryAuditLogResponse) HasActorKind() bool` HasActorKind returns a boolean if a field has been set. ### GetActorLocation -`func (o *RepositoryAuditLog) GetActorLocation() map[string]interface{}` +`func (o *RepositoryAuditLogResponse) GetActorLocation() GeoIpLocation` GetActorLocation returns the ActorLocation field if non-nil, zero value otherwise. ### GetActorLocationOk -`func (o *RepositoryAuditLog) GetActorLocationOk() (*map[string]interface{}, bool)` +`func (o *RepositoryAuditLogResponse) GetActorLocationOk() (*GeoIpLocation, bool)` GetActorLocationOk returns a tuple with the ActorLocation field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetActorLocation -`func (o *RepositoryAuditLog) SetActorLocation(v map[string]interface{})` +`func (o *RepositoryAuditLogResponse) SetActorLocation(v GeoIpLocation)` SetActorLocation sets ActorLocation field to given value. ### GetActorSlugPerm -`func (o *RepositoryAuditLog) GetActorSlugPerm() string` +`func (o *RepositoryAuditLogResponse) GetActorSlugPerm() string` GetActorSlugPerm returns the ActorSlugPerm field if non-nil, zero value otherwise. ### GetActorSlugPermOk -`func (o *RepositoryAuditLog) GetActorSlugPermOk() (*string, bool)` +`func (o *RepositoryAuditLogResponse) GetActorSlugPermOk() (*string, bool)` GetActorSlugPermOk returns a tuple with the ActorSlugPerm field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetActorSlugPerm -`func (o *RepositoryAuditLog) SetActorSlugPerm(v string)` +`func (o *RepositoryAuditLogResponse) SetActorSlugPerm(v string)` SetActorSlugPerm sets ActorSlugPerm field to given value. +### SetActorSlugPermNil + +`func (o *RepositoryAuditLogResponse) SetActorSlugPermNil(b bool)` + + SetActorSlugPermNil sets the value for ActorSlugPerm to be an explicit nil + +### UnsetActorSlugPerm +`func (o *RepositoryAuditLogResponse) UnsetActorSlugPerm()` + +UnsetActorSlugPerm ensures that no value is present for ActorSlugPerm, not even an explicit nil ### GetActorUrl -`func (o *RepositoryAuditLog) GetActorUrl() string` +`func (o *RepositoryAuditLogResponse) GetActorUrl() string` GetActorUrl returns the ActorUrl field if non-nil, zero value otherwise. ### GetActorUrlOk -`func (o *RepositoryAuditLog) GetActorUrlOk() (*string, bool)` +`func (o *RepositoryAuditLogResponse) GetActorUrlOk() (*string, bool)` GetActorUrlOk returns a tuple with the ActorUrl field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetActorUrl -`func (o *RepositoryAuditLog) SetActorUrl(v string)` +`func (o *RepositoryAuditLogResponse) SetActorUrl(v string)` SetActorUrl sets ActorUrl field to given value. ### HasActorUrl -`func (o *RepositoryAuditLog) HasActorUrl() bool` +`func (o *RepositoryAuditLogResponse) HasActorUrl() bool` HasActorUrl returns a boolean if a field has been set. +### SetActorUrlNil + +`func (o *RepositoryAuditLogResponse) SetActorUrlNil(b bool)` + + SetActorUrlNil sets the value for ActorUrl to be an explicit nil + +### UnsetActorUrl +`func (o *RepositoryAuditLogResponse) UnsetActorUrl()` + +UnsetActorUrl ensures that no value is present for ActorUrl, not even an explicit nil ### GetContext -`func (o *RepositoryAuditLog) GetContext() string` +`func (o *RepositoryAuditLogResponse) GetContext() string` GetContext returns the Context field if non-nil, zero value otherwise. ### GetContextOk -`func (o *RepositoryAuditLog) GetContextOk() (*string, bool)` +`func (o *RepositoryAuditLogResponse) GetContextOk() (*string, bool)` GetContextOk returns a tuple with the Context field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetContext -`func (o *RepositoryAuditLog) SetContext(v string)` +`func (o *RepositoryAuditLogResponse) SetContext(v string)` SetContext sets Context field to given value. ### GetEvent -`func (o *RepositoryAuditLog) GetEvent() string` +`func (o *RepositoryAuditLogResponse) GetEvent() string` GetEvent returns the Event field if non-nil, zero value otherwise. ### GetEventOk -`func (o *RepositoryAuditLog) GetEventOk() (*string, bool)` +`func (o *RepositoryAuditLogResponse) GetEventOk() (*string, bool)` GetEventOk returns a tuple with the Event field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetEvent -`func (o *RepositoryAuditLog) SetEvent(v string)` +`func (o *RepositoryAuditLogResponse) SetEvent(v string)` SetEvent sets Event field to given value. ### GetEventAt -`func (o *RepositoryAuditLog) GetEventAt() string` +`func (o *RepositoryAuditLogResponse) GetEventAt() time.Time` GetEventAt returns the EventAt field if non-nil, zero value otherwise. ### GetEventAtOk -`func (o *RepositoryAuditLog) GetEventAtOk() (*string, bool)` +`func (o *RepositoryAuditLogResponse) GetEventAtOk() (*time.Time, bool)` GetEventAtOk returns a tuple with the EventAt field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetEventAt -`func (o *RepositoryAuditLog) SetEventAt(v string)` +`func (o *RepositoryAuditLogResponse) SetEventAt(v time.Time)` SetEventAt sets EventAt field to given value. ### GetObject -`func (o *RepositoryAuditLog) GetObject() string` +`func (o *RepositoryAuditLogResponse) GetObject() string` GetObject returns the Object field if non-nil, zero value otherwise. ### GetObjectOk -`func (o *RepositoryAuditLog) GetObjectOk() (*string, bool)` +`func (o *RepositoryAuditLogResponse) GetObjectOk() (*string, bool)` GetObjectOk returns a tuple with the Object field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetObject -`func (o *RepositoryAuditLog) SetObject(v string)` +`func (o *RepositoryAuditLogResponse) SetObject(v string)` SetObject sets Object field to given value. ### GetObjectKind -`func (o *RepositoryAuditLog) GetObjectKind() string` +`func (o *RepositoryAuditLogResponse) GetObjectKind() string` GetObjectKind returns the ObjectKind field if non-nil, zero value otherwise. ### GetObjectKindOk -`func (o *RepositoryAuditLog) GetObjectKindOk() (*string, bool)` +`func (o *RepositoryAuditLogResponse) GetObjectKindOk() (*string, bool)` GetObjectKindOk returns a tuple with the ObjectKind field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetObjectKind -`func (o *RepositoryAuditLog) SetObjectKind(v string)` +`func (o *RepositoryAuditLogResponse) SetObjectKind(v string)` SetObjectKind sets ObjectKind field to given value. ### GetObjectSlugPerm -`func (o *RepositoryAuditLog) GetObjectSlugPerm() string` +`func (o *RepositoryAuditLogResponse) GetObjectSlugPerm() string` GetObjectSlugPerm returns the ObjectSlugPerm field if non-nil, zero value otherwise. ### GetObjectSlugPermOk -`func (o *RepositoryAuditLog) GetObjectSlugPermOk() (*string, bool)` +`func (o *RepositoryAuditLogResponse) GetObjectSlugPermOk() (*string, bool)` GetObjectSlugPermOk returns a tuple with the ObjectSlugPerm field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetObjectSlugPerm -`func (o *RepositoryAuditLog) SetObjectSlugPerm(v string)` +`func (o *RepositoryAuditLogResponse) SetObjectSlugPerm(v string)` SetObjectSlugPerm sets ObjectSlugPerm field to given value. ### GetUuid -`func (o *RepositoryAuditLog) GetUuid() string` +`func (o *RepositoryAuditLogResponse) GetUuid() string` GetUuid returns the Uuid field if non-nil, zero value otherwise. ### GetUuidOk -`func (o *RepositoryAuditLog) GetUuidOk() (*string, bool)` +`func (o *RepositoryAuditLogResponse) GetUuidOk() (*string, bool)` GetUuidOk returns a tuple with the Uuid field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetUuid -`func (o *RepositoryAuditLog) SetUuid(v string)` +`func (o *RepositoryAuditLogResponse) SetUuid(v string)` SetUuid sets Uuid field to given value. ### HasUuid -`func (o *RepositoryAuditLog) HasUuid() bool` +`func (o *RepositoryAuditLogResponse) HasUuid() bool` HasUuid returns a boolean if a field has been set. diff --git a/docs/ReposCreate.md b/docs/RepositoryCreateRequest.md similarity index 68% rename from docs/ReposCreate.md rename to docs/RepositoryCreateRequest.md index b73f2316..7caf306f 100644 --- a/docs/ReposCreate.md +++ b/docs/RepositoryCreateRequest.md @@ -1,35 +1,37 @@ -# ReposCreate +# RepositoryCreateRequest ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**ContentKind** | Pointer to **string** | The repository content kind determines whether this repository contains packages, or provides a distribution of packages from other repositories. You can only select the content kind at repository creation time. | [optional] [default to "Standard"] **ContextualAuthRealm** | Pointer to **bool** | If checked, missing credentials for this repository where basic authentication is required shall present an enriched value in the 'WWW-Authenticate' header containing the namespace and repository. This can be useful for tooling such as SBT where the authentication realm is used to distinguish and disambiguate credentials. | [optional] **CopyOwn** | Pointer to **bool** | If checked, users can copy any of their own packages that they have uploaded, assuming that they still have write privilege for the repository. This takes precedence over privileges configured in the 'Access Controls' section of the repository, and any inherited from the org. | [optional] -**CopyPackages** | Pointer to **string** | This defines the minimum level of privilege required for a user to copy packages. Unless the package was uploaded by that user, in which the permission may be overridden by the user-specific copy setting. | [optional] -**DefaultPrivilege** | Pointer to **string** | This defines the default level of privilege that all of your organization members have for this repository. This does not include collaborators, but applies to any member of the org regardless of their own membership role (i.e. it applies to owners, managers and members). Be careful if setting this to admin, because any member will be able to change settings. | [optional] +**CopyPackages** | Pointer to **string** | This defines the minimum level of privilege required for a user to copy packages. Unless the package was uploaded by that user, in which the permission may be overridden by the user-specific copy setting. | [optional] [default to "Read"] +**DefaultPrivilege** | Pointer to **string** | This defines the default level of privilege that all of your organization members have for this repository. This does not include collaborators, but applies to any member of the org regardless of their own membership role (i.e. it applies to owners, managers and members). Be careful if setting this to admin, because any member will be able to change settings. | [optional] [default to "None"] **DeleteOwn** | Pointer to **bool** | If checked, users can delete any of their own packages that they have uploaded, assuming that they still have write privilege for the repository. This takes precedence over privileges configured in the 'Access Controls' section of the repository, and any inherited from the org. | [optional] -**DeletePackages** | Pointer to **string** | This defines the minimum level of privilege required for a user to delete packages. Unless the package was uploaded by that user, in which the permission may be overridden by the user-specific delete setting. | [optional] +**DeletePackages** | Pointer to **string** | This defines the minimum level of privilege required for a user to delete packages. Unless the package was uploaded by that user, in which the permission may be overridden by the user-specific delete setting. | [optional] [default to "Admin"] **Description** | Pointer to **string** | A description of the repository's purpose/contents. | [optional] +**Distributes** | Pointer to **[]string** | The repositories distributed through this repo. Adding repos here is only valid if the content_kind is DISTRIBUTION. | [optional] **DockerRefreshTokensEnabled** | Pointer to **bool** | If checked, refresh tokens will be issued in addition to access tokens for Docker authentication. This allows unlimited extension of the lifetime of access tokens. | [optional] **IndexFiles** | Pointer to **bool** | If checked, files contained in packages will be indexed, which increase the synchronisation time required for packages. Note that it is recommended you keep this enabled unless the synchronisation time is significantly impacted. | [optional] **MoveOwn** | Pointer to **bool** | If checked, users can move any of their own packages that they have uploaded, assuming that they still have write privilege for the repository. This takes precedence over privileges configured in the 'Access Controls' section of the repository, and any inherited from the org. | [optional] -**MovePackages** | Pointer to **string** | This defines the minimum level of privilege required for a user to move packages. Unless the package was uploaded by that user, in which the permission may be overridden by the user-specific move setting. | [optional] +**MovePackages** | Pointer to **string** | This defines the minimum level of privilege required for a user to move packages. Unless the package was uploaded by that user, in which the permission may be overridden by the user-specific move setting. | [optional] [default to "Admin"] **Name** | **string** | A descriptive name for the repository. | **ProxyNpmjs** | Pointer to **bool** | If checked, Npm packages that are not in the repository when requested by clients will automatically be proxied from the public npmjs.org registry. If there is at least one version for a package, others will not be proxied. | [optional] **ProxyPypi** | Pointer to **bool** | If checked, Python packages that are not in the repository when requested by clients will automatically be proxied from the public pypi.python.org registry. If there is at least one version for a package, others will not be proxied. | [optional] **RawPackageIndexEnabled** | Pointer to **bool** | If checked, HTML and JSON indexes will be generated that list all available raw packages in the repository. | [optional] **RawPackageIndexSignaturesEnabled** | Pointer to **bool** | If checked, the HTML and JSON indexes will display raw package GPG signatures alongside the index packages. | [optional] -**ReplacePackages** | Pointer to **string** | This defines the minimum level of privilege required for a user to republish packages. Unless the package was uploaded by that user, in which the permission may be overridden by the user-specific republish setting. Please note that the user still requires the privilege to delete packages that will be replaced by the new package; otherwise the republish will fail. | [optional] +**ReplacePackages** | Pointer to **string** | This defines the minimum level of privilege required for a user to republish packages. Unless the package was uploaded by that user, in which the permission may be overridden by the user-specific republish setting. Please note that the user still requires the privilege to delete packages that will be replaced by the new package; otherwise the republish will fail. | [optional] [default to "Write"] **ReplacePackagesByDefault** | Pointer to **bool** | If checked, uploaded packages will overwrite/replace any others with the same attributes (e.g. same version) by default. This only applies if the user has the required privilege for the republishing AND has the required privilege to delete existing packages that they don't own. | [optional] -**RepositoryTypeStr** | Pointer to **string** | The repository type changes how it is accessed and billed. Private repositories can only be used on paid plans, but are visible only to you or authorised delegates. Public repositories are free to use on all plans and visible to all Cloudsmith users. | [optional] +**RepositoryTypeStr** | Pointer to **string** | The repository type changes how it is accessed and billed. Private repositories are visible only to you or authorized delegates. Public repositories are visible to all Cloudsmith users. | [optional] [default to "Public"] **ResyncOwn** | Pointer to **bool** | If checked, users can resync any of their own packages that they have uploaded, assuming that they still have write privilege for the repository. This takes precedence over privileges configured in the 'Access Controls' section of the repository, and any inherited from the org. | [optional] -**ResyncPackages** | Pointer to **string** | This defines the minimum level of privilege required for a user to resync packages. Unless the package was uploaded by that user, in which the permission may be overridden by the user-specific resync setting. | [optional] +**ResyncPackages** | Pointer to **string** | This defines the minimum level of privilege required for a user to resync packages. Unless the package was uploaded by that user, in which the permission may be overridden by the user-specific resync setting. | [optional] [default to "Admin"] **ScanOwn** | Pointer to **bool** | If checked, users can scan any of their own packages that they have uploaded, assuming that they still have write privilege for the repository. This takes precedence over privileges configured in the 'Access Controls' section of the repository, and any inherited from the org. | [optional] -**ScanPackages** | Pointer to **string** | This defines the minimum level of privilege required for a user to scan packages. Unless the package was uploaded by that user, in which the permission may be overridden by the user-specific scan setting. | [optional] +**ScanPackages** | Pointer to **string** | This defines the minimum level of privilege required for a user to scan packages. Unless the package was uploaded by that user, in which the permission may be overridden by the user-specific scan setting. | [optional] [default to "Read"] **ShowSetupAll** | Pointer to **bool** | If checked, the Set Me Up help for all formats will always be shown, even if you don't have packages of that type uploaded. Otherwise, help will only be shown for packages that are in the repository. For example, if you have uploaded only NuGet packages, then the Set Me Up help for NuGet packages will be shown only. | [optional] **Slug** | Pointer to **string** | The slug identifies the repository in URIs. | [optional] -**StorageRegion** | Pointer to **string** | The Cloudsmith region in which package files are stored. | [optional] +**StorageRegion** | Pointer to **string** | The Cloudsmith region in which package files are stored. | [optional] [default to "default"] **StrictNpmValidation** | Pointer to **bool** | If checked, npm packages will be validated strictly to ensure the package matches specifcation. You can turn this off if you have packages that are old or otherwise mildly off-spec, but we can't guarantee the packages will work with npm-cli or other tooling correctly. Turn off at your own risk! | [optional] **UseDebianLabels** | Pointer to **bool** | If checked, a 'Label' field will be present in Debian-based repositories. It will contain a string that identifies the entitlement token used to authenticate the repository, in the form of 'source=t-<identifier>'; or 'source=none' if no token was used. You can use this to help with pinning. | [optional] **UseDefaultCargoUpstream** | Pointer to **bool** | If checked, dependencies of uploaded Cargo crates which do not set an explicit value for \"registry\" will be assumed to be available from crates.io. If unchecked, dependencies with unspecified \"registry\" values will be assumed to be available in the registry being uploaded to. Uncheck this if you want to ensure that dependencies are only ever installed from Cloudsmith unless explicitly specified as belong to another registry. | [optional] @@ -37,869 +39,919 @@ Name | Type | Description | Notes **UseSourcePackages** | Pointer to **bool** | If checked, source packages (if supported) are enabled in installations/configurations. A source package is one that contains source code rather than built binaries. | [optional] **UseVulnerabilityScanning** | Pointer to **bool** | If checked, vulnerability scanning will be enabled for all supported packages within this repository. | [optional] **UserEntitlementsEnabled** | Pointer to **bool** | If checked, users can use and manage their own user-specific entitlement token for the repository (if private). Otherwise, user-specific entitlements are disabled for all users. | [optional] -**ViewStatistics** | Pointer to **string** | This defines the minimum level of privilege required for a user to view repository statistics, to include entitlement-based usage, if applciable. If a user does not have the permission, they won't be able to view any statistics, either via the UI, API or CLI. | [optional] +**ViewStatistics** | Pointer to **string** | This defines the minimum level of privilege required for a user to view repository statistics, to include entitlement-based usage, if applicable. If a user does not have the permission, they won't be able to view any statistics, either via the UI, API or CLI. | [optional] [default to "Read"] ## Methods -### NewReposCreate +### NewRepositoryCreateRequest -`func NewReposCreate(name string, ) *ReposCreate` +`func NewRepositoryCreateRequest(name string, ) *RepositoryCreateRequest` -NewReposCreate instantiates a new ReposCreate object +NewRepositoryCreateRequest instantiates a new RepositoryCreateRequest object 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 -### NewReposCreateWithDefaults +### NewRepositoryCreateRequestWithDefaults -`func NewReposCreateWithDefaults() *ReposCreate` +`func NewRepositoryCreateRequestWithDefaults() *RepositoryCreateRequest` -NewReposCreateWithDefaults instantiates a new ReposCreate object +NewRepositoryCreateRequestWithDefaults instantiates a new RepositoryCreateRequest object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set +### GetContentKind + +`func (o *RepositoryCreateRequest) GetContentKind() string` + +GetContentKind returns the ContentKind field if non-nil, zero value otherwise. + +### GetContentKindOk + +`func (o *RepositoryCreateRequest) GetContentKindOk() (*string, bool)` + +GetContentKindOk returns a tuple with the ContentKind field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetContentKind + +`func (o *RepositoryCreateRequest) SetContentKind(v string)` + +SetContentKind sets ContentKind field to given value. + +### HasContentKind + +`func (o *RepositoryCreateRequest) HasContentKind() bool` + +HasContentKind returns a boolean if a field has been set. + ### GetContextualAuthRealm -`func (o *ReposCreate) GetContextualAuthRealm() bool` +`func (o *RepositoryCreateRequest) GetContextualAuthRealm() bool` GetContextualAuthRealm returns the ContextualAuthRealm field if non-nil, zero value otherwise. ### GetContextualAuthRealmOk -`func (o *ReposCreate) GetContextualAuthRealmOk() (*bool, bool)` +`func (o *RepositoryCreateRequest) GetContextualAuthRealmOk() (*bool, bool)` GetContextualAuthRealmOk returns a tuple with the ContextualAuthRealm field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetContextualAuthRealm -`func (o *ReposCreate) SetContextualAuthRealm(v bool)` +`func (o *RepositoryCreateRequest) SetContextualAuthRealm(v bool)` SetContextualAuthRealm sets ContextualAuthRealm field to given value. ### HasContextualAuthRealm -`func (o *ReposCreate) HasContextualAuthRealm() bool` +`func (o *RepositoryCreateRequest) HasContextualAuthRealm() bool` HasContextualAuthRealm returns a boolean if a field has been set. ### GetCopyOwn -`func (o *ReposCreate) GetCopyOwn() bool` +`func (o *RepositoryCreateRequest) GetCopyOwn() bool` GetCopyOwn returns the CopyOwn field if non-nil, zero value otherwise. ### GetCopyOwnOk -`func (o *ReposCreate) GetCopyOwnOk() (*bool, bool)` +`func (o *RepositoryCreateRequest) GetCopyOwnOk() (*bool, bool)` GetCopyOwnOk returns a tuple with the CopyOwn field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetCopyOwn -`func (o *ReposCreate) SetCopyOwn(v bool)` +`func (o *RepositoryCreateRequest) SetCopyOwn(v bool)` SetCopyOwn sets CopyOwn field to given value. ### HasCopyOwn -`func (o *ReposCreate) HasCopyOwn() bool` +`func (o *RepositoryCreateRequest) HasCopyOwn() bool` HasCopyOwn returns a boolean if a field has been set. ### GetCopyPackages -`func (o *ReposCreate) GetCopyPackages() string` +`func (o *RepositoryCreateRequest) GetCopyPackages() string` GetCopyPackages returns the CopyPackages field if non-nil, zero value otherwise. ### GetCopyPackagesOk -`func (o *ReposCreate) GetCopyPackagesOk() (*string, bool)` +`func (o *RepositoryCreateRequest) GetCopyPackagesOk() (*string, bool)` GetCopyPackagesOk returns a tuple with the CopyPackages field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetCopyPackages -`func (o *ReposCreate) SetCopyPackages(v string)` +`func (o *RepositoryCreateRequest) SetCopyPackages(v string)` SetCopyPackages sets CopyPackages field to given value. ### HasCopyPackages -`func (o *ReposCreate) HasCopyPackages() bool` +`func (o *RepositoryCreateRequest) HasCopyPackages() bool` HasCopyPackages returns a boolean if a field has been set. ### GetDefaultPrivilege -`func (o *ReposCreate) GetDefaultPrivilege() string` +`func (o *RepositoryCreateRequest) GetDefaultPrivilege() string` GetDefaultPrivilege returns the DefaultPrivilege field if non-nil, zero value otherwise. ### GetDefaultPrivilegeOk -`func (o *ReposCreate) GetDefaultPrivilegeOk() (*string, bool)` +`func (o *RepositoryCreateRequest) GetDefaultPrivilegeOk() (*string, bool)` GetDefaultPrivilegeOk returns a tuple with the DefaultPrivilege field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetDefaultPrivilege -`func (o *ReposCreate) SetDefaultPrivilege(v string)` +`func (o *RepositoryCreateRequest) SetDefaultPrivilege(v string)` SetDefaultPrivilege sets DefaultPrivilege field to given value. ### HasDefaultPrivilege -`func (o *ReposCreate) HasDefaultPrivilege() bool` +`func (o *RepositoryCreateRequest) HasDefaultPrivilege() bool` HasDefaultPrivilege returns a boolean if a field has been set. ### GetDeleteOwn -`func (o *ReposCreate) GetDeleteOwn() bool` +`func (o *RepositoryCreateRequest) GetDeleteOwn() bool` GetDeleteOwn returns the DeleteOwn field if non-nil, zero value otherwise. ### GetDeleteOwnOk -`func (o *ReposCreate) GetDeleteOwnOk() (*bool, bool)` +`func (o *RepositoryCreateRequest) GetDeleteOwnOk() (*bool, bool)` GetDeleteOwnOk returns a tuple with the DeleteOwn field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetDeleteOwn -`func (o *ReposCreate) SetDeleteOwn(v bool)` +`func (o *RepositoryCreateRequest) SetDeleteOwn(v bool)` SetDeleteOwn sets DeleteOwn field to given value. ### HasDeleteOwn -`func (o *ReposCreate) HasDeleteOwn() bool` +`func (o *RepositoryCreateRequest) HasDeleteOwn() bool` HasDeleteOwn returns a boolean if a field has been set. ### GetDeletePackages -`func (o *ReposCreate) GetDeletePackages() string` +`func (o *RepositoryCreateRequest) GetDeletePackages() string` GetDeletePackages returns the DeletePackages field if non-nil, zero value otherwise. ### GetDeletePackagesOk -`func (o *ReposCreate) GetDeletePackagesOk() (*string, bool)` +`func (o *RepositoryCreateRequest) GetDeletePackagesOk() (*string, bool)` GetDeletePackagesOk returns a tuple with the DeletePackages field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetDeletePackages -`func (o *ReposCreate) SetDeletePackages(v string)` +`func (o *RepositoryCreateRequest) SetDeletePackages(v string)` SetDeletePackages sets DeletePackages field to given value. ### HasDeletePackages -`func (o *ReposCreate) HasDeletePackages() bool` +`func (o *RepositoryCreateRequest) HasDeletePackages() bool` HasDeletePackages returns a boolean if a field has been set. ### GetDescription -`func (o *ReposCreate) GetDescription() string` +`func (o *RepositoryCreateRequest) GetDescription() string` GetDescription returns the Description field if non-nil, zero value otherwise. ### GetDescriptionOk -`func (o *ReposCreate) GetDescriptionOk() (*string, bool)` +`func (o *RepositoryCreateRequest) GetDescriptionOk() (*string, bool)` GetDescriptionOk returns a tuple with the Description field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetDescription -`func (o *ReposCreate) SetDescription(v string)` +`func (o *RepositoryCreateRequest) SetDescription(v string)` SetDescription sets Description field to given value. ### HasDescription -`func (o *ReposCreate) HasDescription() bool` +`func (o *RepositoryCreateRequest) HasDescription() bool` HasDescription returns a boolean if a field has been set. +### GetDistributes + +`func (o *RepositoryCreateRequest) GetDistributes() []string` + +GetDistributes returns the Distributes field if non-nil, zero value otherwise. + +### GetDistributesOk + +`func (o *RepositoryCreateRequest) GetDistributesOk() (*[]string, bool)` + +GetDistributesOk returns a tuple with the Distributes field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetDistributes + +`func (o *RepositoryCreateRequest) SetDistributes(v []string)` + +SetDistributes sets Distributes field to given value. + +### HasDistributes + +`func (o *RepositoryCreateRequest) HasDistributes() bool` + +HasDistributes returns a boolean if a field has been set. + ### GetDockerRefreshTokensEnabled -`func (o *ReposCreate) GetDockerRefreshTokensEnabled() bool` +`func (o *RepositoryCreateRequest) GetDockerRefreshTokensEnabled() bool` GetDockerRefreshTokensEnabled returns the DockerRefreshTokensEnabled field if non-nil, zero value otherwise. ### GetDockerRefreshTokensEnabledOk -`func (o *ReposCreate) GetDockerRefreshTokensEnabledOk() (*bool, bool)` +`func (o *RepositoryCreateRequest) GetDockerRefreshTokensEnabledOk() (*bool, bool)` GetDockerRefreshTokensEnabledOk returns a tuple with the DockerRefreshTokensEnabled field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetDockerRefreshTokensEnabled -`func (o *ReposCreate) SetDockerRefreshTokensEnabled(v bool)` +`func (o *RepositoryCreateRequest) SetDockerRefreshTokensEnabled(v bool)` SetDockerRefreshTokensEnabled sets DockerRefreshTokensEnabled field to given value. ### HasDockerRefreshTokensEnabled -`func (o *ReposCreate) HasDockerRefreshTokensEnabled() bool` +`func (o *RepositoryCreateRequest) HasDockerRefreshTokensEnabled() bool` HasDockerRefreshTokensEnabled returns a boolean if a field has been set. ### GetIndexFiles -`func (o *ReposCreate) GetIndexFiles() bool` +`func (o *RepositoryCreateRequest) GetIndexFiles() bool` GetIndexFiles returns the IndexFiles field if non-nil, zero value otherwise. ### GetIndexFilesOk -`func (o *ReposCreate) GetIndexFilesOk() (*bool, bool)` +`func (o *RepositoryCreateRequest) GetIndexFilesOk() (*bool, bool)` GetIndexFilesOk returns a tuple with the IndexFiles field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetIndexFiles -`func (o *ReposCreate) SetIndexFiles(v bool)` +`func (o *RepositoryCreateRequest) SetIndexFiles(v bool)` SetIndexFiles sets IndexFiles field to given value. ### HasIndexFiles -`func (o *ReposCreate) HasIndexFiles() bool` +`func (o *RepositoryCreateRequest) HasIndexFiles() bool` HasIndexFiles returns a boolean if a field has been set. ### GetMoveOwn -`func (o *ReposCreate) GetMoveOwn() bool` +`func (o *RepositoryCreateRequest) GetMoveOwn() bool` GetMoveOwn returns the MoveOwn field if non-nil, zero value otherwise. ### GetMoveOwnOk -`func (o *ReposCreate) GetMoveOwnOk() (*bool, bool)` +`func (o *RepositoryCreateRequest) GetMoveOwnOk() (*bool, bool)` GetMoveOwnOk returns a tuple with the MoveOwn field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetMoveOwn -`func (o *ReposCreate) SetMoveOwn(v bool)` +`func (o *RepositoryCreateRequest) SetMoveOwn(v bool)` SetMoveOwn sets MoveOwn field to given value. ### HasMoveOwn -`func (o *ReposCreate) HasMoveOwn() bool` +`func (o *RepositoryCreateRequest) HasMoveOwn() bool` HasMoveOwn returns a boolean if a field has been set. ### GetMovePackages -`func (o *ReposCreate) GetMovePackages() string` +`func (o *RepositoryCreateRequest) GetMovePackages() string` GetMovePackages returns the MovePackages field if non-nil, zero value otherwise. ### GetMovePackagesOk -`func (o *ReposCreate) GetMovePackagesOk() (*string, bool)` +`func (o *RepositoryCreateRequest) GetMovePackagesOk() (*string, bool)` GetMovePackagesOk returns a tuple with the MovePackages field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetMovePackages -`func (o *ReposCreate) SetMovePackages(v string)` +`func (o *RepositoryCreateRequest) SetMovePackages(v string)` SetMovePackages sets MovePackages field to given value. ### HasMovePackages -`func (o *ReposCreate) HasMovePackages() bool` +`func (o *RepositoryCreateRequest) HasMovePackages() bool` HasMovePackages returns a boolean if a field has been set. ### GetName -`func (o *ReposCreate) GetName() string` +`func (o *RepositoryCreateRequest) GetName() string` GetName returns the Name field if non-nil, zero value otherwise. ### GetNameOk -`func (o *ReposCreate) GetNameOk() (*string, bool)` +`func (o *RepositoryCreateRequest) GetNameOk() (*string, bool)` 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. ### SetName -`func (o *ReposCreate) SetName(v string)` +`func (o *RepositoryCreateRequest) SetName(v string)` SetName sets Name field to given value. ### GetProxyNpmjs -`func (o *ReposCreate) GetProxyNpmjs() bool` +`func (o *RepositoryCreateRequest) GetProxyNpmjs() bool` GetProxyNpmjs returns the ProxyNpmjs field if non-nil, zero value otherwise. ### GetProxyNpmjsOk -`func (o *ReposCreate) GetProxyNpmjsOk() (*bool, bool)` +`func (o *RepositoryCreateRequest) GetProxyNpmjsOk() (*bool, bool)` GetProxyNpmjsOk returns a tuple with the ProxyNpmjs field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetProxyNpmjs -`func (o *ReposCreate) SetProxyNpmjs(v bool)` +`func (o *RepositoryCreateRequest) SetProxyNpmjs(v bool)` SetProxyNpmjs sets ProxyNpmjs field to given value. ### HasProxyNpmjs -`func (o *ReposCreate) HasProxyNpmjs() bool` +`func (o *RepositoryCreateRequest) HasProxyNpmjs() bool` HasProxyNpmjs returns a boolean if a field has been set. ### GetProxyPypi -`func (o *ReposCreate) GetProxyPypi() bool` +`func (o *RepositoryCreateRequest) GetProxyPypi() bool` GetProxyPypi returns the ProxyPypi field if non-nil, zero value otherwise. ### GetProxyPypiOk -`func (o *ReposCreate) GetProxyPypiOk() (*bool, bool)` +`func (o *RepositoryCreateRequest) GetProxyPypiOk() (*bool, bool)` GetProxyPypiOk returns a tuple with the ProxyPypi field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetProxyPypi -`func (o *ReposCreate) SetProxyPypi(v bool)` +`func (o *RepositoryCreateRequest) SetProxyPypi(v bool)` SetProxyPypi sets ProxyPypi field to given value. ### HasProxyPypi -`func (o *ReposCreate) HasProxyPypi() bool` +`func (o *RepositoryCreateRequest) HasProxyPypi() bool` HasProxyPypi returns a boolean if a field has been set. ### GetRawPackageIndexEnabled -`func (o *ReposCreate) GetRawPackageIndexEnabled() bool` +`func (o *RepositoryCreateRequest) GetRawPackageIndexEnabled() bool` GetRawPackageIndexEnabled returns the RawPackageIndexEnabled field if non-nil, zero value otherwise. ### GetRawPackageIndexEnabledOk -`func (o *ReposCreate) GetRawPackageIndexEnabledOk() (*bool, bool)` +`func (o *RepositoryCreateRequest) GetRawPackageIndexEnabledOk() (*bool, bool)` GetRawPackageIndexEnabledOk returns a tuple with the RawPackageIndexEnabled field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetRawPackageIndexEnabled -`func (o *ReposCreate) SetRawPackageIndexEnabled(v bool)` +`func (o *RepositoryCreateRequest) SetRawPackageIndexEnabled(v bool)` SetRawPackageIndexEnabled sets RawPackageIndexEnabled field to given value. ### HasRawPackageIndexEnabled -`func (o *ReposCreate) HasRawPackageIndexEnabled() bool` +`func (o *RepositoryCreateRequest) HasRawPackageIndexEnabled() bool` HasRawPackageIndexEnabled returns a boolean if a field has been set. ### GetRawPackageIndexSignaturesEnabled -`func (o *ReposCreate) GetRawPackageIndexSignaturesEnabled() bool` +`func (o *RepositoryCreateRequest) GetRawPackageIndexSignaturesEnabled() bool` GetRawPackageIndexSignaturesEnabled returns the RawPackageIndexSignaturesEnabled field if non-nil, zero value otherwise. ### GetRawPackageIndexSignaturesEnabledOk -`func (o *ReposCreate) GetRawPackageIndexSignaturesEnabledOk() (*bool, bool)` +`func (o *RepositoryCreateRequest) GetRawPackageIndexSignaturesEnabledOk() (*bool, bool)` GetRawPackageIndexSignaturesEnabledOk returns a tuple with the RawPackageIndexSignaturesEnabled field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetRawPackageIndexSignaturesEnabled -`func (o *ReposCreate) SetRawPackageIndexSignaturesEnabled(v bool)` +`func (o *RepositoryCreateRequest) SetRawPackageIndexSignaturesEnabled(v bool)` SetRawPackageIndexSignaturesEnabled sets RawPackageIndexSignaturesEnabled field to given value. ### HasRawPackageIndexSignaturesEnabled -`func (o *ReposCreate) HasRawPackageIndexSignaturesEnabled() bool` +`func (o *RepositoryCreateRequest) HasRawPackageIndexSignaturesEnabled() bool` HasRawPackageIndexSignaturesEnabled returns a boolean if a field has been set. ### GetReplacePackages -`func (o *ReposCreate) GetReplacePackages() string` +`func (o *RepositoryCreateRequest) GetReplacePackages() string` GetReplacePackages returns the ReplacePackages field if non-nil, zero value otherwise. ### GetReplacePackagesOk -`func (o *ReposCreate) GetReplacePackagesOk() (*string, bool)` +`func (o *RepositoryCreateRequest) GetReplacePackagesOk() (*string, bool)` GetReplacePackagesOk returns a tuple with the ReplacePackages field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetReplacePackages -`func (o *ReposCreate) SetReplacePackages(v string)` +`func (o *RepositoryCreateRequest) SetReplacePackages(v string)` SetReplacePackages sets ReplacePackages field to given value. ### HasReplacePackages -`func (o *ReposCreate) HasReplacePackages() bool` +`func (o *RepositoryCreateRequest) HasReplacePackages() bool` HasReplacePackages returns a boolean if a field has been set. ### GetReplacePackagesByDefault -`func (o *ReposCreate) GetReplacePackagesByDefault() bool` +`func (o *RepositoryCreateRequest) GetReplacePackagesByDefault() bool` GetReplacePackagesByDefault returns the ReplacePackagesByDefault field if non-nil, zero value otherwise. ### GetReplacePackagesByDefaultOk -`func (o *ReposCreate) GetReplacePackagesByDefaultOk() (*bool, bool)` +`func (o *RepositoryCreateRequest) GetReplacePackagesByDefaultOk() (*bool, bool)` GetReplacePackagesByDefaultOk returns a tuple with the ReplacePackagesByDefault field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetReplacePackagesByDefault -`func (o *ReposCreate) SetReplacePackagesByDefault(v bool)` +`func (o *RepositoryCreateRequest) SetReplacePackagesByDefault(v bool)` SetReplacePackagesByDefault sets ReplacePackagesByDefault field to given value. ### HasReplacePackagesByDefault -`func (o *ReposCreate) HasReplacePackagesByDefault() bool` +`func (o *RepositoryCreateRequest) HasReplacePackagesByDefault() bool` HasReplacePackagesByDefault returns a boolean if a field has been set. ### GetRepositoryTypeStr -`func (o *ReposCreate) GetRepositoryTypeStr() string` +`func (o *RepositoryCreateRequest) GetRepositoryTypeStr() string` GetRepositoryTypeStr returns the RepositoryTypeStr field if non-nil, zero value otherwise. ### GetRepositoryTypeStrOk -`func (o *ReposCreate) GetRepositoryTypeStrOk() (*string, bool)` +`func (o *RepositoryCreateRequest) GetRepositoryTypeStrOk() (*string, bool)` GetRepositoryTypeStrOk returns a tuple with the RepositoryTypeStr field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetRepositoryTypeStr -`func (o *ReposCreate) SetRepositoryTypeStr(v string)` +`func (o *RepositoryCreateRequest) SetRepositoryTypeStr(v string)` SetRepositoryTypeStr sets RepositoryTypeStr field to given value. ### HasRepositoryTypeStr -`func (o *ReposCreate) HasRepositoryTypeStr() bool` +`func (o *RepositoryCreateRequest) HasRepositoryTypeStr() bool` HasRepositoryTypeStr returns a boolean if a field has been set. ### GetResyncOwn -`func (o *ReposCreate) GetResyncOwn() bool` +`func (o *RepositoryCreateRequest) GetResyncOwn() bool` GetResyncOwn returns the ResyncOwn field if non-nil, zero value otherwise. ### GetResyncOwnOk -`func (o *ReposCreate) GetResyncOwnOk() (*bool, bool)` +`func (o *RepositoryCreateRequest) GetResyncOwnOk() (*bool, bool)` GetResyncOwnOk returns a tuple with the ResyncOwn field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetResyncOwn -`func (o *ReposCreate) SetResyncOwn(v bool)` +`func (o *RepositoryCreateRequest) SetResyncOwn(v bool)` SetResyncOwn sets ResyncOwn field to given value. ### HasResyncOwn -`func (o *ReposCreate) HasResyncOwn() bool` +`func (o *RepositoryCreateRequest) HasResyncOwn() bool` HasResyncOwn returns a boolean if a field has been set. ### GetResyncPackages -`func (o *ReposCreate) GetResyncPackages() string` +`func (o *RepositoryCreateRequest) GetResyncPackages() string` GetResyncPackages returns the ResyncPackages field if non-nil, zero value otherwise. ### GetResyncPackagesOk -`func (o *ReposCreate) GetResyncPackagesOk() (*string, bool)` +`func (o *RepositoryCreateRequest) GetResyncPackagesOk() (*string, bool)` GetResyncPackagesOk returns a tuple with the ResyncPackages field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetResyncPackages -`func (o *ReposCreate) SetResyncPackages(v string)` +`func (o *RepositoryCreateRequest) SetResyncPackages(v string)` SetResyncPackages sets ResyncPackages field to given value. ### HasResyncPackages -`func (o *ReposCreate) HasResyncPackages() bool` +`func (o *RepositoryCreateRequest) HasResyncPackages() bool` HasResyncPackages returns a boolean if a field has been set. ### GetScanOwn -`func (o *ReposCreate) GetScanOwn() bool` +`func (o *RepositoryCreateRequest) GetScanOwn() bool` GetScanOwn returns the ScanOwn field if non-nil, zero value otherwise. ### GetScanOwnOk -`func (o *ReposCreate) GetScanOwnOk() (*bool, bool)` +`func (o *RepositoryCreateRequest) GetScanOwnOk() (*bool, bool)` GetScanOwnOk returns a tuple with the ScanOwn field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetScanOwn -`func (o *ReposCreate) SetScanOwn(v bool)` +`func (o *RepositoryCreateRequest) SetScanOwn(v bool)` SetScanOwn sets ScanOwn field to given value. ### HasScanOwn -`func (o *ReposCreate) HasScanOwn() bool` +`func (o *RepositoryCreateRequest) HasScanOwn() bool` HasScanOwn returns a boolean if a field has been set. ### GetScanPackages -`func (o *ReposCreate) GetScanPackages() string` +`func (o *RepositoryCreateRequest) GetScanPackages() string` GetScanPackages returns the ScanPackages field if non-nil, zero value otherwise. ### GetScanPackagesOk -`func (o *ReposCreate) GetScanPackagesOk() (*string, bool)` +`func (o *RepositoryCreateRequest) GetScanPackagesOk() (*string, bool)` GetScanPackagesOk returns a tuple with the ScanPackages field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetScanPackages -`func (o *ReposCreate) SetScanPackages(v string)` +`func (o *RepositoryCreateRequest) SetScanPackages(v string)` SetScanPackages sets ScanPackages field to given value. ### HasScanPackages -`func (o *ReposCreate) HasScanPackages() bool` +`func (o *RepositoryCreateRequest) HasScanPackages() bool` HasScanPackages returns a boolean if a field has been set. ### GetShowSetupAll -`func (o *ReposCreate) GetShowSetupAll() bool` +`func (o *RepositoryCreateRequest) GetShowSetupAll() bool` GetShowSetupAll returns the ShowSetupAll field if non-nil, zero value otherwise. ### GetShowSetupAllOk -`func (o *ReposCreate) GetShowSetupAllOk() (*bool, bool)` +`func (o *RepositoryCreateRequest) GetShowSetupAllOk() (*bool, bool)` GetShowSetupAllOk returns a tuple with the ShowSetupAll field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetShowSetupAll -`func (o *ReposCreate) SetShowSetupAll(v bool)` +`func (o *RepositoryCreateRequest) SetShowSetupAll(v bool)` SetShowSetupAll sets ShowSetupAll field to given value. ### HasShowSetupAll -`func (o *ReposCreate) HasShowSetupAll() bool` +`func (o *RepositoryCreateRequest) HasShowSetupAll() bool` HasShowSetupAll returns a boolean if a field has been set. ### GetSlug -`func (o *ReposCreate) GetSlug() string` +`func (o *RepositoryCreateRequest) GetSlug() string` GetSlug returns the Slug field if non-nil, zero value otherwise. ### GetSlugOk -`func (o *ReposCreate) GetSlugOk() (*string, bool)` +`func (o *RepositoryCreateRequest) GetSlugOk() (*string, bool)` GetSlugOk returns a tuple with the Slug field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetSlug -`func (o *ReposCreate) SetSlug(v string)` +`func (o *RepositoryCreateRequest) SetSlug(v string)` SetSlug sets Slug field to given value. ### HasSlug -`func (o *ReposCreate) HasSlug() bool` +`func (o *RepositoryCreateRequest) HasSlug() bool` HasSlug returns a boolean if a field has been set. ### GetStorageRegion -`func (o *ReposCreate) GetStorageRegion() string` +`func (o *RepositoryCreateRequest) GetStorageRegion() string` GetStorageRegion returns the StorageRegion field if non-nil, zero value otherwise. ### GetStorageRegionOk -`func (o *ReposCreate) GetStorageRegionOk() (*string, bool)` +`func (o *RepositoryCreateRequest) GetStorageRegionOk() (*string, bool)` GetStorageRegionOk returns a tuple with the StorageRegion field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetStorageRegion -`func (o *ReposCreate) SetStorageRegion(v string)` +`func (o *RepositoryCreateRequest) SetStorageRegion(v string)` SetStorageRegion sets StorageRegion field to given value. ### HasStorageRegion -`func (o *ReposCreate) HasStorageRegion() bool` +`func (o *RepositoryCreateRequest) HasStorageRegion() bool` HasStorageRegion returns a boolean if a field has been set. ### GetStrictNpmValidation -`func (o *ReposCreate) GetStrictNpmValidation() bool` +`func (o *RepositoryCreateRequest) GetStrictNpmValidation() bool` GetStrictNpmValidation returns the StrictNpmValidation field if non-nil, zero value otherwise. ### GetStrictNpmValidationOk -`func (o *ReposCreate) GetStrictNpmValidationOk() (*bool, bool)` +`func (o *RepositoryCreateRequest) GetStrictNpmValidationOk() (*bool, bool)` GetStrictNpmValidationOk returns a tuple with the StrictNpmValidation field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetStrictNpmValidation -`func (o *ReposCreate) SetStrictNpmValidation(v bool)` +`func (o *RepositoryCreateRequest) SetStrictNpmValidation(v bool)` SetStrictNpmValidation sets StrictNpmValidation field to given value. ### HasStrictNpmValidation -`func (o *ReposCreate) HasStrictNpmValidation() bool` +`func (o *RepositoryCreateRequest) HasStrictNpmValidation() bool` HasStrictNpmValidation returns a boolean if a field has been set. ### GetUseDebianLabels -`func (o *ReposCreate) GetUseDebianLabels() bool` +`func (o *RepositoryCreateRequest) GetUseDebianLabels() bool` GetUseDebianLabels returns the UseDebianLabels field if non-nil, zero value otherwise. ### GetUseDebianLabelsOk -`func (o *ReposCreate) GetUseDebianLabelsOk() (*bool, bool)` +`func (o *RepositoryCreateRequest) GetUseDebianLabelsOk() (*bool, bool)` GetUseDebianLabelsOk returns a tuple with the UseDebianLabels field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetUseDebianLabels -`func (o *ReposCreate) SetUseDebianLabels(v bool)` +`func (o *RepositoryCreateRequest) SetUseDebianLabels(v bool)` SetUseDebianLabels sets UseDebianLabels field to given value. ### HasUseDebianLabels -`func (o *ReposCreate) HasUseDebianLabels() bool` +`func (o *RepositoryCreateRequest) HasUseDebianLabels() bool` HasUseDebianLabels returns a boolean if a field has been set. ### GetUseDefaultCargoUpstream -`func (o *ReposCreate) GetUseDefaultCargoUpstream() bool` +`func (o *RepositoryCreateRequest) GetUseDefaultCargoUpstream() bool` GetUseDefaultCargoUpstream returns the UseDefaultCargoUpstream field if non-nil, zero value otherwise. ### GetUseDefaultCargoUpstreamOk -`func (o *ReposCreate) GetUseDefaultCargoUpstreamOk() (*bool, bool)` +`func (o *RepositoryCreateRequest) GetUseDefaultCargoUpstreamOk() (*bool, bool)` GetUseDefaultCargoUpstreamOk returns a tuple with the UseDefaultCargoUpstream field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetUseDefaultCargoUpstream -`func (o *ReposCreate) SetUseDefaultCargoUpstream(v bool)` +`func (o *RepositoryCreateRequest) SetUseDefaultCargoUpstream(v bool)` SetUseDefaultCargoUpstream sets UseDefaultCargoUpstream field to given value. ### HasUseDefaultCargoUpstream -`func (o *ReposCreate) HasUseDefaultCargoUpstream() bool` +`func (o *RepositoryCreateRequest) HasUseDefaultCargoUpstream() bool` HasUseDefaultCargoUpstream returns a boolean if a field has been set. ### GetUseNoarchPackages -`func (o *ReposCreate) GetUseNoarchPackages() bool` +`func (o *RepositoryCreateRequest) GetUseNoarchPackages() bool` GetUseNoarchPackages returns the UseNoarchPackages field if non-nil, zero value otherwise. ### GetUseNoarchPackagesOk -`func (o *ReposCreate) GetUseNoarchPackagesOk() (*bool, bool)` +`func (o *RepositoryCreateRequest) GetUseNoarchPackagesOk() (*bool, bool)` GetUseNoarchPackagesOk returns a tuple with the UseNoarchPackages field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetUseNoarchPackages -`func (o *ReposCreate) SetUseNoarchPackages(v bool)` +`func (o *RepositoryCreateRequest) SetUseNoarchPackages(v bool)` SetUseNoarchPackages sets UseNoarchPackages field to given value. ### HasUseNoarchPackages -`func (o *ReposCreate) HasUseNoarchPackages() bool` +`func (o *RepositoryCreateRequest) HasUseNoarchPackages() bool` HasUseNoarchPackages returns a boolean if a field has been set. ### GetUseSourcePackages -`func (o *ReposCreate) GetUseSourcePackages() bool` +`func (o *RepositoryCreateRequest) GetUseSourcePackages() bool` GetUseSourcePackages returns the UseSourcePackages field if non-nil, zero value otherwise. ### GetUseSourcePackagesOk -`func (o *ReposCreate) GetUseSourcePackagesOk() (*bool, bool)` +`func (o *RepositoryCreateRequest) GetUseSourcePackagesOk() (*bool, bool)` GetUseSourcePackagesOk returns a tuple with the UseSourcePackages field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetUseSourcePackages -`func (o *ReposCreate) SetUseSourcePackages(v bool)` +`func (o *RepositoryCreateRequest) SetUseSourcePackages(v bool)` SetUseSourcePackages sets UseSourcePackages field to given value. ### HasUseSourcePackages -`func (o *ReposCreate) HasUseSourcePackages() bool` +`func (o *RepositoryCreateRequest) HasUseSourcePackages() bool` HasUseSourcePackages returns a boolean if a field has been set. ### GetUseVulnerabilityScanning -`func (o *ReposCreate) GetUseVulnerabilityScanning() bool` +`func (o *RepositoryCreateRequest) GetUseVulnerabilityScanning() bool` GetUseVulnerabilityScanning returns the UseVulnerabilityScanning field if non-nil, zero value otherwise. ### GetUseVulnerabilityScanningOk -`func (o *ReposCreate) GetUseVulnerabilityScanningOk() (*bool, bool)` +`func (o *RepositoryCreateRequest) GetUseVulnerabilityScanningOk() (*bool, bool)` GetUseVulnerabilityScanningOk returns a tuple with the UseVulnerabilityScanning field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetUseVulnerabilityScanning -`func (o *ReposCreate) SetUseVulnerabilityScanning(v bool)` +`func (o *RepositoryCreateRequest) SetUseVulnerabilityScanning(v bool)` SetUseVulnerabilityScanning sets UseVulnerabilityScanning field to given value. ### HasUseVulnerabilityScanning -`func (o *ReposCreate) HasUseVulnerabilityScanning() bool` +`func (o *RepositoryCreateRequest) HasUseVulnerabilityScanning() bool` HasUseVulnerabilityScanning returns a boolean if a field has been set. ### GetUserEntitlementsEnabled -`func (o *ReposCreate) GetUserEntitlementsEnabled() bool` +`func (o *RepositoryCreateRequest) GetUserEntitlementsEnabled() bool` GetUserEntitlementsEnabled returns the UserEntitlementsEnabled field if non-nil, zero value otherwise. ### GetUserEntitlementsEnabledOk -`func (o *ReposCreate) GetUserEntitlementsEnabledOk() (*bool, bool)` +`func (o *RepositoryCreateRequest) GetUserEntitlementsEnabledOk() (*bool, bool)` GetUserEntitlementsEnabledOk returns a tuple with the UserEntitlementsEnabled field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetUserEntitlementsEnabled -`func (o *ReposCreate) SetUserEntitlementsEnabled(v bool)` +`func (o *RepositoryCreateRequest) SetUserEntitlementsEnabled(v bool)` SetUserEntitlementsEnabled sets UserEntitlementsEnabled field to given value. ### HasUserEntitlementsEnabled -`func (o *ReposCreate) HasUserEntitlementsEnabled() bool` +`func (o *RepositoryCreateRequest) HasUserEntitlementsEnabled() bool` HasUserEntitlementsEnabled returns a boolean if a field has been set. ### GetViewStatistics -`func (o *ReposCreate) GetViewStatistics() string` +`func (o *RepositoryCreateRequest) GetViewStatistics() string` GetViewStatistics returns the ViewStatistics field if non-nil, zero value otherwise. ### GetViewStatisticsOk -`func (o *ReposCreate) GetViewStatisticsOk() (*string, bool)` +`func (o *RepositoryCreateRequest) GetViewStatisticsOk() (*string, bool)` GetViewStatisticsOk returns a tuple with the ViewStatistics field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetViewStatistics -`func (o *ReposCreate) SetViewStatistics(v string)` +`func (o *RepositoryCreateRequest) SetViewStatistics(v string)` SetViewStatistics sets ViewStatistics field to given value. ### HasViewStatistics -`func (o *ReposCreate) HasViewStatistics() bool` +`func (o *RepositoryCreateRequest) HasViewStatistics() bool` HasViewStatistics returns a boolean if a field has been set. diff --git a/docs/Repository.md b/docs/RepositoryCreateResponse.md similarity index 65% rename from docs/Repository.md rename to docs/RepositoryCreateResponse.md index 164cb4bd..94a71e98 100644 --- a/docs/Repository.md +++ b/docs/RepositoryCreateResponse.md @@ -1,53 +1,55 @@ -# Repository +# RepositoryCreateResponse ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**CdnUrl** | Pointer to **string** | Base URL from which packages and other artifacts are downloaded. | [optional] +**CdnUrl** | Pointer to **NullableString** | Base URL from which packages and other artifacts are downloaded. | [optional] [readonly] +**ContentKind** | Pointer to **string** | The repository content kind determines whether this repository contains packages, or provides a distribution of packages from other repositories. You can only select the content kind at repository creation time. | [optional] [default to "Standard"] **ContextualAuthRealm** | Pointer to **bool** | If checked, missing credentials for this repository where basic authentication is required shall present an enriched value in the 'WWW-Authenticate' header containing the namespace and repository. This can be useful for tooling such as SBT where the authentication realm is used to distinguish and disambiguate credentials. | [optional] **CopyOwn** | Pointer to **bool** | If checked, users can copy any of their own packages that they have uploaded, assuming that they still have write privilege for the repository. This takes precedence over privileges configured in the 'Access Controls' section of the repository, and any inherited from the org. | [optional] -**CopyPackages** | Pointer to **string** | This defines the minimum level of privilege required for a user to copy packages. Unless the package was uploaded by that user, in which the permission may be overridden by the user-specific copy setting. | [optional] -**CreatedAt** | Pointer to **string** | | [optional] -**DefaultPrivilege** | Pointer to **string** | This defines the default level of privilege that all of your organization members have for this repository. This does not include collaborators, but applies to any member of the org regardless of their own membership role (i.e. it applies to owners, managers and members). Be careful if setting this to admin, because any member will be able to change settings. | [optional] +**CopyPackages** | Pointer to **string** | This defines the minimum level of privilege required for a user to copy packages. Unless the package was uploaded by that user, in which the permission may be overridden by the user-specific copy setting. | [optional] [default to "Read"] +**CreatedAt** | Pointer to **time.Time** | | [optional] [readonly] +**DefaultPrivilege** | Pointer to **string** | This defines the default level of privilege that all of your organization members have for this repository. This does not include collaborators, but applies to any member of the org regardless of their own membership role (i.e. it applies to owners, managers and members). Be careful if setting this to admin, because any member will be able to change settings. | [optional] [default to "None"] **DeleteOwn** | Pointer to **bool** | If checked, users can delete any of their own packages that they have uploaded, assuming that they still have write privilege for the repository. This takes precedence over privileges configured in the 'Access Controls' section of the repository, and any inherited from the org. | [optional] -**DeletePackages** | Pointer to **string** | This defines the minimum level of privilege required for a user to delete packages. Unless the package was uploaded by that user, in which the permission may be overridden by the user-specific delete setting. | [optional] -**DeletedAt** | Pointer to **string** | | [optional] +**DeletePackages** | Pointer to **string** | This defines the minimum level of privilege required for a user to delete packages. Unless the package was uploaded by that user, in which the permission may be overridden by the user-specific delete setting. | [optional] [default to "Admin"] +**DeletedAt** | Pointer to **time.Time** | | [optional] [readonly] **Description** | Pointer to **string** | A description of the repository's purpose/contents. | [optional] +**Distributes** | Pointer to **[]string** | The repositories distributed through this repo. Adding repos here is only valid if the content_kind is DISTRIBUTION. | [optional] **DockerRefreshTokensEnabled** | Pointer to **bool** | If checked, refresh tokens will be issued in addition to access tokens for Docker authentication. This allows unlimited extension of the lifetime of access tokens. | [optional] -**GpgKeys** | Pointer to [**[]ReposGpgKeys**](ReposGpgKeys.md) | | [optional] +**GpgKeys** | Pointer to [**[]RepositoryGpgKey**](RepositoryGpgKey.md) | | [optional] [readonly] **IndexFiles** | Pointer to **bool** | If checked, files contained in packages will be indexed, which increase the synchronisation time required for packages. Note that it is recommended you keep this enabled unless the synchronisation time is significantly impacted. | [optional] -**IsOpenSource** | Pointer to **bool** | | [optional] -**IsPrivate** | Pointer to **bool** | | [optional] -**IsPublic** | Pointer to **bool** | | [optional] +**IsOpenSource** | Pointer to **bool** | | [optional] [readonly] +**IsPrivate** | Pointer to **bool** | | [optional] [readonly] +**IsPublic** | Pointer to **bool** | | [optional] [readonly] **MoveOwn** | Pointer to **bool** | If checked, users can move any of their own packages that they have uploaded, assuming that they still have write privilege for the repository. This takes precedence over privileges configured in the 'Access Controls' section of the repository, and any inherited from the org. | [optional] -**MovePackages** | Pointer to **string** | This defines the minimum level of privilege required for a user to move packages. Unless the package was uploaded by that user, in which the permission may be overridden by the user-specific move setting. | [optional] +**MovePackages** | Pointer to **string** | This defines the minimum level of privilege required for a user to move packages. Unless the package was uploaded by that user, in which the permission may be overridden by the user-specific move setting. | [optional] [default to "Admin"] **Name** | **string** | A descriptive name for the repository. | -**Namespace** | Pointer to **string** | Namespace to which this repository belongs. | [optional] -**NamespaceUrl** | Pointer to **string** | API endpoint where data about this namespace can be retrieved. | [optional] -**NumDownloads** | Pointer to **int64** | The number of downloads for packages in the repository. | [optional] -**PackageCount** | Pointer to **int64** | The number of packages in the repository. | [optional] -**PackageGroupCount** | Pointer to **int64** | The number of groups in the repository. | [optional] +**Namespace** | Pointer to **string** | Namespace to which this repository belongs. | [optional] [readonly] +**NamespaceUrl** | Pointer to **string** | API endpoint where data about this namespace can be retrieved. | [optional] [readonly] +**NumDownloads** | Pointer to **int64** | The number of downloads for packages in the repository. | [optional] [readonly] +**PackageCount** | Pointer to **int64** | The number of packages in the repository. | [optional] [readonly] +**PackageGroupCount** | Pointer to **int64** | The number of groups in the repository. | [optional] [readonly] **ProxyNpmjs** | Pointer to **bool** | If checked, Npm packages that are not in the repository when requested by clients will automatically be proxied from the public npmjs.org registry. If there is at least one version for a package, others will not be proxied. | [optional] **ProxyPypi** | Pointer to **bool** | If checked, Python packages that are not in the repository when requested by clients will automatically be proxied from the public pypi.python.org registry. If there is at least one version for a package, others will not be proxied. | [optional] **RawPackageIndexEnabled** | Pointer to **bool** | If checked, HTML and JSON indexes will be generated that list all available raw packages in the repository. | [optional] **RawPackageIndexSignaturesEnabled** | Pointer to **bool** | If checked, the HTML and JSON indexes will display raw package GPG signatures alongside the index packages. | [optional] -**ReplacePackages** | Pointer to **string** | This defines the minimum level of privilege required for a user to republish packages. Unless the package was uploaded by that user, in which the permission may be overridden by the user-specific republish setting. Please note that the user still requires the privilege to delete packages that will be replaced by the new package; otherwise the republish will fail. | [optional] +**ReplacePackages** | Pointer to **string** | This defines the minimum level of privilege required for a user to republish packages. Unless the package was uploaded by that user, in which the permission may be overridden by the user-specific republish setting. Please note that the user still requires the privilege to delete packages that will be replaced by the new package; otherwise the republish will fail. | [optional] [default to "Write"] **ReplacePackagesByDefault** | Pointer to **bool** | If checked, uploaded packages will overwrite/replace any others with the same attributes (e.g. same version) by default. This only applies if the user has the required privilege for the republishing AND has the required privilege to delete existing packages that they don't own. | [optional] -**RepositoryType** | Pointer to **int64** | The repository type changes how it is accessed and billed. Private repositories can only be used on paid plans, but are visible only to you or authorised delegates. Open-Source repositories are always visible to everyone and are restricted by licensing, but are free to use and come with generous bandwidth/storage. You can only select Open-Source at repository creation time. | [optional] -**RepositoryTypeStr** | Pointer to **string** | The repository type changes how it is accessed and billed. Private repositories can only be used on paid plans, but are visible only to you or authorised delegates. Public repositories are free to use on all plans and visible to all Cloudsmith users. | [optional] +**RepositoryType** | Pointer to **int64** | The repository type changes how it is accessed and billed. Private repositories are visible only to you or authorized delegates. Open-Source repositories are always visible to everyone and are restricted by licensing, but are free to use and come with generous bandwidth/storage. You can only select Open-Source at repository creation time. | [optional] [readonly] +**RepositoryTypeStr** | Pointer to **string** | The repository type changes how it is accessed and billed. Private repositories are visible only to you or authorized delegates. Public repositories are visible to all Cloudsmith users. | [optional] [default to "Public"] **ResyncOwn** | Pointer to **bool** | If checked, users can resync any of their own packages that they have uploaded, assuming that they still have write privilege for the repository. This takes precedence over privileges configured in the 'Access Controls' section of the repository, and any inherited from the org. | [optional] -**ResyncPackages** | Pointer to **string** | This defines the minimum level of privilege required for a user to resync packages. Unless the package was uploaded by that user, in which the permission may be overridden by the user-specific resync setting. | [optional] +**ResyncPackages** | Pointer to **string** | This defines the minimum level of privilege required for a user to resync packages. Unless the package was uploaded by that user, in which the permission may be overridden by the user-specific resync setting. | [optional] [default to "Admin"] **ScanOwn** | Pointer to **bool** | If checked, users can scan any of their own packages that they have uploaded, assuming that they still have write privilege for the repository. This takes precedence over privileges configured in the 'Access Controls' section of the repository, and any inherited from the org. | [optional] -**ScanPackages** | Pointer to **string** | This defines the minimum level of privilege required for a user to scan packages. Unless the package was uploaded by that user, in which the permission may be overridden by the user-specific scan setting. | [optional] -**SelfHtmlUrl** | Pointer to **string** | Website URL for this repository. | [optional] -**SelfUrl** | Pointer to **string** | API endpoint where data about this repository can be retrieved. | [optional] +**ScanPackages** | Pointer to **string** | This defines the minimum level of privilege required for a user to scan packages. Unless the package was uploaded by that user, in which the permission may be overridden by the user-specific scan setting. | [optional] [default to "Read"] +**SelfHtmlUrl** | Pointer to **string** | Website URL for this repository. | [optional] [readonly] +**SelfUrl** | Pointer to **string** | API endpoint where data about this repository can be retrieved. | [optional] [readonly] **ShowSetupAll** | Pointer to **bool** | If checked, the Set Me Up help for all formats will always be shown, even if you don't have packages of that type uploaded. Otherwise, help will only be shown for packages that are in the repository. For example, if you have uploaded only NuGet packages, then the Set Me Up help for NuGet packages will be shown only. | [optional] -**Size** | Pointer to **int64** | The calculated size of the repository. | [optional] -**SizeStr** | Pointer to **string** | The calculated size of the repository (human readable). | [optional] +**Size** | Pointer to **int64** | The calculated size of the repository. | [optional] [readonly] +**SizeStr** | Pointer to **string** | The calculated size of the repository (human readable). | [optional] [readonly] **Slug** | Pointer to **string** | The slug identifies the repository in URIs. | [optional] -**SlugPerm** | Pointer to **string** | The slug_perm immutably identifies the repository. It will never change once a repository has been created. | [optional] -**StorageRegion** | Pointer to **string** | The Cloudsmith region in which package files are stored. | [optional] +**SlugPerm** | Pointer to **string** | The slug_perm immutably identifies the repository. It will never change once a repository has been created. | [optional] [readonly] +**StorageRegion** | Pointer to **string** | The Cloudsmith region in which package files are stored. | [optional] [default to "default"] **StrictNpmValidation** | Pointer to **bool** | If checked, npm packages will be validated strictly to ensure the package matches specifcation. You can turn this off if you have packages that are old or otherwise mildly off-spec, but we can't guarantee the packages will work with npm-cli or other tooling correctly. Turn off at your own risk! | [optional] **UseDebianLabels** | Pointer to **bool** | If checked, a 'Label' field will be present in Debian-based repositories. It will contain a string that identifies the entitlement token used to authenticate the repository, in the form of 'source=t-<identifier>'; or 'source=none' if no token was used. You can use this to help with pinning. | [optional] **UseDefaultCargoUpstream** | Pointer to **bool** | If checked, dependencies of uploaded Cargo crates which do not set an explicit value for \"registry\" will be assumed to be available from crates.io. If unchecked, dependencies with unspecified \"registry\" values will be assumed to be available in the registry being uploaded to. Uncheck this if you want to ensure that dependencies are only ever installed from Cloudsmith unless explicitly specified as belong to another registry. | [optional] @@ -55,1319 +57,1379 @@ Name | Type | Description | Notes **UseSourcePackages** | Pointer to **bool** | If checked, source packages (if supported) are enabled in installations/configurations. A source package is one that contains source code rather than built binaries. | [optional] **UseVulnerabilityScanning** | Pointer to **bool** | If checked, vulnerability scanning will be enabled for all supported packages within this repository. | [optional] **UserEntitlementsEnabled** | Pointer to **bool** | If checked, users can use and manage their own user-specific entitlement token for the repository (if private). Otherwise, user-specific entitlements are disabled for all users. | [optional] -**ViewStatistics** | Pointer to **string** | This defines the minimum level of privilege required for a user to view repository statistics, to include entitlement-based usage, if applciable. If a user does not have the permission, they won't be able to view any statistics, either via the UI, API or CLI. | [optional] +**ViewStatistics** | Pointer to **string** | This defines the minimum level of privilege required for a user to view repository statistics, to include entitlement-based usage, if applicable. If a user does not have the permission, they won't be able to view any statistics, either via the UI, API or CLI. | [optional] [default to "Read"] ## Methods -### NewRepository +### NewRepositoryCreateResponse -`func NewRepository(name string, ) *Repository` +`func NewRepositoryCreateResponse(name string, ) *RepositoryCreateResponse` -NewRepository instantiates a new Repository object +NewRepositoryCreateResponse instantiates a new RepositoryCreateResponse object 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 -### NewRepositoryWithDefaults +### NewRepositoryCreateResponseWithDefaults -`func NewRepositoryWithDefaults() *Repository` +`func NewRepositoryCreateResponseWithDefaults() *RepositoryCreateResponse` -NewRepositoryWithDefaults instantiates a new Repository object +NewRepositoryCreateResponseWithDefaults instantiates a new RepositoryCreateResponse object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set ### GetCdnUrl -`func (o *Repository) GetCdnUrl() string` +`func (o *RepositoryCreateResponse) GetCdnUrl() string` GetCdnUrl returns the CdnUrl field if non-nil, zero value otherwise. ### GetCdnUrlOk -`func (o *Repository) GetCdnUrlOk() (*string, bool)` +`func (o *RepositoryCreateResponse) GetCdnUrlOk() (*string, bool)` GetCdnUrlOk returns a tuple with the CdnUrl field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetCdnUrl -`func (o *Repository) SetCdnUrl(v string)` +`func (o *RepositoryCreateResponse) SetCdnUrl(v string)` SetCdnUrl sets CdnUrl field to given value. ### HasCdnUrl -`func (o *Repository) HasCdnUrl() bool` +`func (o *RepositoryCreateResponse) HasCdnUrl() bool` HasCdnUrl returns a boolean if a field has been set. +### SetCdnUrlNil + +`func (o *RepositoryCreateResponse) SetCdnUrlNil(b bool)` + + SetCdnUrlNil sets the value for CdnUrl to be an explicit nil + +### UnsetCdnUrl +`func (o *RepositoryCreateResponse) UnsetCdnUrl()` + +UnsetCdnUrl ensures that no value is present for CdnUrl, not even an explicit nil +### GetContentKind + +`func (o *RepositoryCreateResponse) GetContentKind() string` + +GetContentKind returns the ContentKind field if non-nil, zero value otherwise. + +### GetContentKindOk + +`func (o *RepositoryCreateResponse) GetContentKindOk() (*string, bool)` + +GetContentKindOk returns a tuple with the ContentKind field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetContentKind + +`func (o *RepositoryCreateResponse) SetContentKind(v string)` + +SetContentKind sets ContentKind field to given value. + +### HasContentKind + +`func (o *RepositoryCreateResponse) HasContentKind() bool` + +HasContentKind returns a boolean if a field has been set. + ### GetContextualAuthRealm -`func (o *Repository) GetContextualAuthRealm() bool` +`func (o *RepositoryCreateResponse) GetContextualAuthRealm() bool` GetContextualAuthRealm returns the ContextualAuthRealm field if non-nil, zero value otherwise. ### GetContextualAuthRealmOk -`func (o *Repository) GetContextualAuthRealmOk() (*bool, bool)` +`func (o *RepositoryCreateResponse) GetContextualAuthRealmOk() (*bool, bool)` GetContextualAuthRealmOk returns a tuple with the ContextualAuthRealm field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetContextualAuthRealm -`func (o *Repository) SetContextualAuthRealm(v bool)` +`func (o *RepositoryCreateResponse) SetContextualAuthRealm(v bool)` SetContextualAuthRealm sets ContextualAuthRealm field to given value. ### HasContextualAuthRealm -`func (o *Repository) HasContextualAuthRealm() bool` +`func (o *RepositoryCreateResponse) HasContextualAuthRealm() bool` HasContextualAuthRealm returns a boolean if a field has been set. ### GetCopyOwn -`func (o *Repository) GetCopyOwn() bool` +`func (o *RepositoryCreateResponse) GetCopyOwn() bool` GetCopyOwn returns the CopyOwn field if non-nil, zero value otherwise. ### GetCopyOwnOk -`func (o *Repository) GetCopyOwnOk() (*bool, bool)` +`func (o *RepositoryCreateResponse) GetCopyOwnOk() (*bool, bool)` GetCopyOwnOk returns a tuple with the CopyOwn field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetCopyOwn -`func (o *Repository) SetCopyOwn(v bool)` +`func (o *RepositoryCreateResponse) SetCopyOwn(v bool)` SetCopyOwn sets CopyOwn field to given value. ### HasCopyOwn -`func (o *Repository) HasCopyOwn() bool` +`func (o *RepositoryCreateResponse) HasCopyOwn() bool` HasCopyOwn returns a boolean if a field has been set. ### GetCopyPackages -`func (o *Repository) GetCopyPackages() string` +`func (o *RepositoryCreateResponse) GetCopyPackages() string` GetCopyPackages returns the CopyPackages field if non-nil, zero value otherwise. ### GetCopyPackagesOk -`func (o *Repository) GetCopyPackagesOk() (*string, bool)` +`func (o *RepositoryCreateResponse) GetCopyPackagesOk() (*string, bool)` GetCopyPackagesOk returns a tuple with the CopyPackages field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetCopyPackages -`func (o *Repository) SetCopyPackages(v string)` +`func (o *RepositoryCreateResponse) SetCopyPackages(v string)` SetCopyPackages sets CopyPackages field to given value. ### HasCopyPackages -`func (o *Repository) HasCopyPackages() bool` +`func (o *RepositoryCreateResponse) HasCopyPackages() bool` HasCopyPackages returns a boolean if a field has been set. ### GetCreatedAt -`func (o *Repository) GetCreatedAt() string` +`func (o *RepositoryCreateResponse) GetCreatedAt() time.Time` GetCreatedAt returns the CreatedAt field if non-nil, zero value otherwise. ### GetCreatedAtOk -`func (o *Repository) GetCreatedAtOk() (*string, bool)` +`func (o *RepositoryCreateResponse) GetCreatedAtOk() (*time.Time, bool)` GetCreatedAtOk returns a tuple with the CreatedAt field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetCreatedAt -`func (o *Repository) SetCreatedAt(v string)` +`func (o *RepositoryCreateResponse) SetCreatedAt(v time.Time)` SetCreatedAt sets CreatedAt field to given value. ### HasCreatedAt -`func (o *Repository) HasCreatedAt() bool` +`func (o *RepositoryCreateResponse) HasCreatedAt() bool` HasCreatedAt returns a boolean if a field has been set. ### GetDefaultPrivilege -`func (o *Repository) GetDefaultPrivilege() string` +`func (o *RepositoryCreateResponse) GetDefaultPrivilege() string` GetDefaultPrivilege returns the DefaultPrivilege field if non-nil, zero value otherwise. ### GetDefaultPrivilegeOk -`func (o *Repository) GetDefaultPrivilegeOk() (*string, bool)` +`func (o *RepositoryCreateResponse) GetDefaultPrivilegeOk() (*string, bool)` GetDefaultPrivilegeOk returns a tuple with the DefaultPrivilege field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetDefaultPrivilege -`func (o *Repository) SetDefaultPrivilege(v string)` +`func (o *RepositoryCreateResponse) SetDefaultPrivilege(v string)` SetDefaultPrivilege sets DefaultPrivilege field to given value. ### HasDefaultPrivilege -`func (o *Repository) HasDefaultPrivilege() bool` +`func (o *RepositoryCreateResponse) HasDefaultPrivilege() bool` HasDefaultPrivilege returns a boolean if a field has been set. ### GetDeleteOwn -`func (o *Repository) GetDeleteOwn() bool` +`func (o *RepositoryCreateResponse) GetDeleteOwn() bool` GetDeleteOwn returns the DeleteOwn field if non-nil, zero value otherwise. ### GetDeleteOwnOk -`func (o *Repository) GetDeleteOwnOk() (*bool, bool)` +`func (o *RepositoryCreateResponse) GetDeleteOwnOk() (*bool, bool)` GetDeleteOwnOk returns a tuple with the DeleteOwn field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetDeleteOwn -`func (o *Repository) SetDeleteOwn(v bool)` +`func (o *RepositoryCreateResponse) SetDeleteOwn(v bool)` SetDeleteOwn sets DeleteOwn field to given value. ### HasDeleteOwn -`func (o *Repository) HasDeleteOwn() bool` +`func (o *RepositoryCreateResponse) HasDeleteOwn() bool` HasDeleteOwn returns a boolean if a field has been set. ### GetDeletePackages -`func (o *Repository) GetDeletePackages() string` +`func (o *RepositoryCreateResponse) GetDeletePackages() string` GetDeletePackages returns the DeletePackages field if non-nil, zero value otherwise. ### GetDeletePackagesOk -`func (o *Repository) GetDeletePackagesOk() (*string, bool)` +`func (o *RepositoryCreateResponse) GetDeletePackagesOk() (*string, bool)` GetDeletePackagesOk returns a tuple with the DeletePackages field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetDeletePackages -`func (o *Repository) SetDeletePackages(v string)` +`func (o *RepositoryCreateResponse) SetDeletePackages(v string)` SetDeletePackages sets DeletePackages field to given value. ### HasDeletePackages -`func (o *Repository) HasDeletePackages() bool` +`func (o *RepositoryCreateResponse) HasDeletePackages() bool` HasDeletePackages returns a boolean if a field has been set. ### GetDeletedAt -`func (o *Repository) GetDeletedAt() string` +`func (o *RepositoryCreateResponse) GetDeletedAt() time.Time` GetDeletedAt returns the DeletedAt field if non-nil, zero value otherwise. ### GetDeletedAtOk -`func (o *Repository) GetDeletedAtOk() (*string, bool)` +`func (o *RepositoryCreateResponse) GetDeletedAtOk() (*time.Time, bool)` GetDeletedAtOk returns a tuple with the DeletedAt field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetDeletedAt -`func (o *Repository) SetDeletedAt(v string)` +`func (o *RepositoryCreateResponse) SetDeletedAt(v time.Time)` SetDeletedAt sets DeletedAt field to given value. ### HasDeletedAt -`func (o *Repository) HasDeletedAt() bool` +`func (o *RepositoryCreateResponse) HasDeletedAt() bool` HasDeletedAt returns a boolean if a field has been set. ### GetDescription -`func (o *Repository) GetDescription() string` +`func (o *RepositoryCreateResponse) GetDescription() string` GetDescription returns the Description field if non-nil, zero value otherwise. ### GetDescriptionOk -`func (o *Repository) GetDescriptionOk() (*string, bool)` +`func (o *RepositoryCreateResponse) GetDescriptionOk() (*string, bool)` GetDescriptionOk returns a tuple with the Description field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetDescription -`func (o *Repository) SetDescription(v string)` +`func (o *RepositoryCreateResponse) SetDescription(v string)` SetDescription sets Description field to given value. ### HasDescription -`func (o *Repository) HasDescription() bool` +`func (o *RepositoryCreateResponse) HasDescription() bool` HasDescription returns a boolean if a field has been set. +### GetDistributes + +`func (o *RepositoryCreateResponse) GetDistributes() []string` + +GetDistributes returns the Distributes field if non-nil, zero value otherwise. + +### GetDistributesOk + +`func (o *RepositoryCreateResponse) GetDistributesOk() (*[]string, bool)` + +GetDistributesOk returns a tuple with the Distributes field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetDistributes + +`func (o *RepositoryCreateResponse) SetDistributes(v []string)` + +SetDistributes sets Distributes field to given value. + +### HasDistributes + +`func (o *RepositoryCreateResponse) HasDistributes() bool` + +HasDistributes returns a boolean if a field has been set. + ### GetDockerRefreshTokensEnabled -`func (o *Repository) GetDockerRefreshTokensEnabled() bool` +`func (o *RepositoryCreateResponse) GetDockerRefreshTokensEnabled() bool` GetDockerRefreshTokensEnabled returns the DockerRefreshTokensEnabled field if non-nil, zero value otherwise. ### GetDockerRefreshTokensEnabledOk -`func (o *Repository) GetDockerRefreshTokensEnabledOk() (*bool, bool)` +`func (o *RepositoryCreateResponse) GetDockerRefreshTokensEnabledOk() (*bool, bool)` GetDockerRefreshTokensEnabledOk returns a tuple with the DockerRefreshTokensEnabled field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetDockerRefreshTokensEnabled -`func (o *Repository) SetDockerRefreshTokensEnabled(v bool)` +`func (o *RepositoryCreateResponse) SetDockerRefreshTokensEnabled(v bool)` SetDockerRefreshTokensEnabled sets DockerRefreshTokensEnabled field to given value. ### HasDockerRefreshTokensEnabled -`func (o *Repository) HasDockerRefreshTokensEnabled() bool` +`func (o *RepositoryCreateResponse) HasDockerRefreshTokensEnabled() bool` HasDockerRefreshTokensEnabled returns a boolean if a field has been set. ### GetGpgKeys -`func (o *Repository) GetGpgKeys() []ReposGpgKeys` +`func (o *RepositoryCreateResponse) GetGpgKeys() []RepositoryGpgKey` GetGpgKeys returns the GpgKeys field if non-nil, zero value otherwise. ### GetGpgKeysOk -`func (o *Repository) GetGpgKeysOk() (*[]ReposGpgKeys, bool)` +`func (o *RepositoryCreateResponse) GetGpgKeysOk() (*[]RepositoryGpgKey, bool)` GetGpgKeysOk returns a tuple with the GpgKeys field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetGpgKeys -`func (o *Repository) SetGpgKeys(v []ReposGpgKeys)` +`func (o *RepositoryCreateResponse) SetGpgKeys(v []RepositoryGpgKey)` SetGpgKeys sets GpgKeys field to given value. ### HasGpgKeys -`func (o *Repository) HasGpgKeys() bool` +`func (o *RepositoryCreateResponse) HasGpgKeys() bool` HasGpgKeys returns a boolean if a field has been set. ### GetIndexFiles -`func (o *Repository) GetIndexFiles() bool` +`func (o *RepositoryCreateResponse) GetIndexFiles() bool` GetIndexFiles returns the IndexFiles field if non-nil, zero value otherwise. ### GetIndexFilesOk -`func (o *Repository) GetIndexFilesOk() (*bool, bool)` +`func (o *RepositoryCreateResponse) GetIndexFilesOk() (*bool, bool)` GetIndexFilesOk returns a tuple with the IndexFiles field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetIndexFiles -`func (o *Repository) SetIndexFiles(v bool)` +`func (o *RepositoryCreateResponse) SetIndexFiles(v bool)` SetIndexFiles sets IndexFiles field to given value. ### HasIndexFiles -`func (o *Repository) HasIndexFiles() bool` +`func (o *RepositoryCreateResponse) HasIndexFiles() bool` HasIndexFiles returns a boolean if a field has been set. ### GetIsOpenSource -`func (o *Repository) GetIsOpenSource() bool` +`func (o *RepositoryCreateResponse) GetIsOpenSource() bool` GetIsOpenSource returns the IsOpenSource field if non-nil, zero value otherwise. ### GetIsOpenSourceOk -`func (o *Repository) GetIsOpenSourceOk() (*bool, bool)` +`func (o *RepositoryCreateResponse) GetIsOpenSourceOk() (*bool, bool)` GetIsOpenSourceOk returns a tuple with the IsOpenSource field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetIsOpenSource -`func (o *Repository) SetIsOpenSource(v bool)` +`func (o *RepositoryCreateResponse) SetIsOpenSource(v bool)` SetIsOpenSource sets IsOpenSource field to given value. ### HasIsOpenSource -`func (o *Repository) HasIsOpenSource() bool` +`func (o *RepositoryCreateResponse) HasIsOpenSource() bool` HasIsOpenSource returns a boolean if a field has been set. ### GetIsPrivate -`func (o *Repository) GetIsPrivate() bool` +`func (o *RepositoryCreateResponse) GetIsPrivate() bool` GetIsPrivate returns the IsPrivate field if non-nil, zero value otherwise. ### GetIsPrivateOk -`func (o *Repository) GetIsPrivateOk() (*bool, bool)` +`func (o *RepositoryCreateResponse) GetIsPrivateOk() (*bool, bool)` GetIsPrivateOk returns a tuple with the IsPrivate field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetIsPrivate -`func (o *Repository) SetIsPrivate(v bool)` +`func (o *RepositoryCreateResponse) SetIsPrivate(v bool)` SetIsPrivate sets IsPrivate field to given value. ### HasIsPrivate -`func (o *Repository) HasIsPrivate() bool` +`func (o *RepositoryCreateResponse) HasIsPrivate() bool` HasIsPrivate returns a boolean if a field has been set. ### GetIsPublic -`func (o *Repository) GetIsPublic() bool` +`func (o *RepositoryCreateResponse) GetIsPublic() bool` GetIsPublic returns the IsPublic field if non-nil, zero value otherwise. ### GetIsPublicOk -`func (o *Repository) GetIsPublicOk() (*bool, bool)` +`func (o *RepositoryCreateResponse) GetIsPublicOk() (*bool, bool)` GetIsPublicOk returns a tuple with the IsPublic field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetIsPublic -`func (o *Repository) SetIsPublic(v bool)` +`func (o *RepositoryCreateResponse) SetIsPublic(v bool)` SetIsPublic sets IsPublic field to given value. ### HasIsPublic -`func (o *Repository) HasIsPublic() bool` +`func (o *RepositoryCreateResponse) HasIsPublic() bool` HasIsPublic returns a boolean if a field has been set. ### GetMoveOwn -`func (o *Repository) GetMoveOwn() bool` +`func (o *RepositoryCreateResponse) GetMoveOwn() bool` GetMoveOwn returns the MoveOwn field if non-nil, zero value otherwise. ### GetMoveOwnOk -`func (o *Repository) GetMoveOwnOk() (*bool, bool)` +`func (o *RepositoryCreateResponse) GetMoveOwnOk() (*bool, bool)` GetMoveOwnOk returns a tuple with the MoveOwn field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetMoveOwn -`func (o *Repository) SetMoveOwn(v bool)` +`func (o *RepositoryCreateResponse) SetMoveOwn(v bool)` SetMoveOwn sets MoveOwn field to given value. ### HasMoveOwn -`func (o *Repository) HasMoveOwn() bool` +`func (o *RepositoryCreateResponse) HasMoveOwn() bool` HasMoveOwn returns a boolean if a field has been set. ### GetMovePackages -`func (o *Repository) GetMovePackages() string` +`func (o *RepositoryCreateResponse) GetMovePackages() string` GetMovePackages returns the MovePackages field if non-nil, zero value otherwise. ### GetMovePackagesOk -`func (o *Repository) GetMovePackagesOk() (*string, bool)` +`func (o *RepositoryCreateResponse) GetMovePackagesOk() (*string, bool)` GetMovePackagesOk returns a tuple with the MovePackages field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetMovePackages -`func (o *Repository) SetMovePackages(v string)` +`func (o *RepositoryCreateResponse) SetMovePackages(v string)` SetMovePackages sets MovePackages field to given value. ### HasMovePackages -`func (o *Repository) HasMovePackages() bool` +`func (o *RepositoryCreateResponse) HasMovePackages() bool` HasMovePackages returns a boolean if a field has been set. ### GetName -`func (o *Repository) GetName() string` +`func (o *RepositoryCreateResponse) GetName() string` GetName returns the Name field if non-nil, zero value otherwise. ### GetNameOk -`func (o *Repository) GetNameOk() (*string, bool)` +`func (o *RepositoryCreateResponse) GetNameOk() (*string, bool)` 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. ### SetName -`func (o *Repository) SetName(v string)` +`func (o *RepositoryCreateResponse) SetName(v string)` SetName sets Name field to given value. ### GetNamespace -`func (o *Repository) GetNamespace() string` +`func (o *RepositoryCreateResponse) GetNamespace() string` GetNamespace returns the Namespace field if non-nil, zero value otherwise. ### GetNamespaceOk -`func (o *Repository) GetNamespaceOk() (*string, bool)` +`func (o *RepositoryCreateResponse) GetNamespaceOk() (*string, bool)` GetNamespaceOk returns a tuple with the Namespace field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetNamespace -`func (o *Repository) SetNamespace(v string)` +`func (o *RepositoryCreateResponse) SetNamespace(v string)` SetNamespace sets Namespace field to given value. ### HasNamespace -`func (o *Repository) HasNamespace() bool` +`func (o *RepositoryCreateResponse) HasNamespace() bool` HasNamespace returns a boolean if a field has been set. ### GetNamespaceUrl -`func (o *Repository) GetNamespaceUrl() string` +`func (o *RepositoryCreateResponse) GetNamespaceUrl() string` GetNamespaceUrl returns the NamespaceUrl field if non-nil, zero value otherwise. ### GetNamespaceUrlOk -`func (o *Repository) GetNamespaceUrlOk() (*string, bool)` +`func (o *RepositoryCreateResponse) GetNamespaceUrlOk() (*string, bool)` GetNamespaceUrlOk returns a tuple with the NamespaceUrl field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetNamespaceUrl -`func (o *Repository) SetNamespaceUrl(v string)` +`func (o *RepositoryCreateResponse) SetNamespaceUrl(v string)` SetNamespaceUrl sets NamespaceUrl field to given value. ### HasNamespaceUrl -`func (o *Repository) HasNamespaceUrl() bool` +`func (o *RepositoryCreateResponse) HasNamespaceUrl() bool` HasNamespaceUrl returns a boolean if a field has been set. ### GetNumDownloads -`func (o *Repository) GetNumDownloads() int64` +`func (o *RepositoryCreateResponse) GetNumDownloads() int64` GetNumDownloads returns the NumDownloads field if non-nil, zero value otherwise. ### GetNumDownloadsOk -`func (o *Repository) GetNumDownloadsOk() (*int64, bool)` +`func (o *RepositoryCreateResponse) GetNumDownloadsOk() (*int64, bool)` GetNumDownloadsOk returns a tuple with the NumDownloads field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetNumDownloads -`func (o *Repository) SetNumDownloads(v int64)` +`func (o *RepositoryCreateResponse) SetNumDownloads(v int64)` SetNumDownloads sets NumDownloads field to given value. ### HasNumDownloads -`func (o *Repository) HasNumDownloads() bool` +`func (o *RepositoryCreateResponse) HasNumDownloads() bool` HasNumDownloads returns a boolean if a field has been set. ### GetPackageCount -`func (o *Repository) GetPackageCount() int64` +`func (o *RepositoryCreateResponse) GetPackageCount() int64` GetPackageCount returns the PackageCount field if non-nil, zero value otherwise. ### GetPackageCountOk -`func (o *Repository) GetPackageCountOk() (*int64, bool)` +`func (o *RepositoryCreateResponse) GetPackageCountOk() (*int64, bool)` GetPackageCountOk returns a tuple with the PackageCount field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetPackageCount -`func (o *Repository) SetPackageCount(v int64)` +`func (o *RepositoryCreateResponse) SetPackageCount(v int64)` SetPackageCount sets PackageCount field to given value. ### HasPackageCount -`func (o *Repository) HasPackageCount() bool` +`func (o *RepositoryCreateResponse) HasPackageCount() bool` HasPackageCount returns a boolean if a field has been set. ### GetPackageGroupCount -`func (o *Repository) GetPackageGroupCount() int64` +`func (o *RepositoryCreateResponse) GetPackageGroupCount() int64` GetPackageGroupCount returns the PackageGroupCount field if non-nil, zero value otherwise. ### GetPackageGroupCountOk -`func (o *Repository) GetPackageGroupCountOk() (*int64, bool)` +`func (o *RepositoryCreateResponse) GetPackageGroupCountOk() (*int64, bool)` GetPackageGroupCountOk returns a tuple with the PackageGroupCount field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetPackageGroupCount -`func (o *Repository) SetPackageGroupCount(v int64)` +`func (o *RepositoryCreateResponse) SetPackageGroupCount(v int64)` SetPackageGroupCount sets PackageGroupCount field to given value. ### HasPackageGroupCount -`func (o *Repository) HasPackageGroupCount() bool` +`func (o *RepositoryCreateResponse) HasPackageGroupCount() bool` HasPackageGroupCount returns a boolean if a field has been set. ### GetProxyNpmjs -`func (o *Repository) GetProxyNpmjs() bool` +`func (o *RepositoryCreateResponse) GetProxyNpmjs() bool` GetProxyNpmjs returns the ProxyNpmjs field if non-nil, zero value otherwise. ### GetProxyNpmjsOk -`func (o *Repository) GetProxyNpmjsOk() (*bool, bool)` +`func (o *RepositoryCreateResponse) GetProxyNpmjsOk() (*bool, bool)` GetProxyNpmjsOk returns a tuple with the ProxyNpmjs field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetProxyNpmjs -`func (o *Repository) SetProxyNpmjs(v bool)` +`func (o *RepositoryCreateResponse) SetProxyNpmjs(v bool)` SetProxyNpmjs sets ProxyNpmjs field to given value. ### HasProxyNpmjs -`func (o *Repository) HasProxyNpmjs() bool` +`func (o *RepositoryCreateResponse) HasProxyNpmjs() bool` HasProxyNpmjs returns a boolean if a field has been set. ### GetProxyPypi -`func (o *Repository) GetProxyPypi() bool` +`func (o *RepositoryCreateResponse) GetProxyPypi() bool` GetProxyPypi returns the ProxyPypi field if non-nil, zero value otherwise. ### GetProxyPypiOk -`func (o *Repository) GetProxyPypiOk() (*bool, bool)` +`func (o *RepositoryCreateResponse) GetProxyPypiOk() (*bool, bool)` GetProxyPypiOk returns a tuple with the ProxyPypi field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetProxyPypi -`func (o *Repository) SetProxyPypi(v bool)` +`func (o *RepositoryCreateResponse) SetProxyPypi(v bool)` SetProxyPypi sets ProxyPypi field to given value. ### HasProxyPypi -`func (o *Repository) HasProxyPypi() bool` +`func (o *RepositoryCreateResponse) HasProxyPypi() bool` HasProxyPypi returns a boolean if a field has been set. ### GetRawPackageIndexEnabled -`func (o *Repository) GetRawPackageIndexEnabled() bool` +`func (o *RepositoryCreateResponse) GetRawPackageIndexEnabled() bool` GetRawPackageIndexEnabled returns the RawPackageIndexEnabled field if non-nil, zero value otherwise. ### GetRawPackageIndexEnabledOk -`func (o *Repository) GetRawPackageIndexEnabledOk() (*bool, bool)` +`func (o *RepositoryCreateResponse) GetRawPackageIndexEnabledOk() (*bool, bool)` GetRawPackageIndexEnabledOk returns a tuple with the RawPackageIndexEnabled field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetRawPackageIndexEnabled -`func (o *Repository) SetRawPackageIndexEnabled(v bool)` +`func (o *RepositoryCreateResponse) SetRawPackageIndexEnabled(v bool)` SetRawPackageIndexEnabled sets RawPackageIndexEnabled field to given value. ### HasRawPackageIndexEnabled -`func (o *Repository) HasRawPackageIndexEnabled() bool` +`func (o *RepositoryCreateResponse) HasRawPackageIndexEnabled() bool` HasRawPackageIndexEnabled returns a boolean if a field has been set. ### GetRawPackageIndexSignaturesEnabled -`func (o *Repository) GetRawPackageIndexSignaturesEnabled() bool` +`func (o *RepositoryCreateResponse) GetRawPackageIndexSignaturesEnabled() bool` GetRawPackageIndexSignaturesEnabled returns the RawPackageIndexSignaturesEnabled field if non-nil, zero value otherwise. ### GetRawPackageIndexSignaturesEnabledOk -`func (o *Repository) GetRawPackageIndexSignaturesEnabledOk() (*bool, bool)` +`func (o *RepositoryCreateResponse) GetRawPackageIndexSignaturesEnabledOk() (*bool, bool)` GetRawPackageIndexSignaturesEnabledOk returns a tuple with the RawPackageIndexSignaturesEnabled field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetRawPackageIndexSignaturesEnabled -`func (o *Repository) SetRawPackageIndexSignaturesEnabled(v bool)` +`func (o *RepositoryCreateResponse) SetRawPackageIndexSignaturesEnabled(v bool)` SetRawPackageIndexSignaturesEnabled sets RawPackageIndexSignaturesEnabled field to given value. ### HasRawPackageIndexSignaturesEnabled -`func (o *Repository) HasRawPackageIndexSignaturesEnabled() bool` +`func (o *RepositoryCreateResponse) HasRawPackageIndexSignaturesEnabled() bool` HasRawPackageIndexSignaturesEnabled returns a boolean if a field has been set. ### GetReplacePackages -`func (o *Repository) GetReplacePackages() string` +`func (o *RepositoryCreateResponse) GetReplacePackages() string` GetReplacePackages returns the ReplacePackages field if non-nil, zero value otherwise. ### GetReplacePackagesOk -`func (o *Repository) GetReplacePackagesOk() (*string, bool)` +`func (o *RepositoryCreateResponse) GetReplacePackagesOk() (*string, bool)` GetReplacePackagesOk returns a tuple with the ReplacePackages field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetReplacePackages -`func (o *Repository) SetReplacePackages(v string)` +`func (o *RepositoryCreateResponse) SetReplacePackages(v string)` SetReplacePackages sets ReplacePackages field to given value. ### HasReplacePackages -`func (o *Repository) HasReplacePackages() bool` +`func (o *RepositoryCreateResponse) HasReplacePackages() bool` HasReplacePackages returns a boolean if a field has been set. ### GetReplacePackagesByDefault -`func (o *Repository) GetReplacePackagesByDefault() bool` +`func (o *RepositoryCreateResponse) GetReplacePackagesByDefault() bool` GetReplacePackagesByDefault returns the ReplacePackagesByDefault field if non-nil, zero value otherwise. ### GetReplacePackagesByDefaultOk -`func (o *Repository) GetReplacePackagesByDefaultOk() (*bool, bool)` +`func (o *RepositoryCreateResponse) GetReplacePackagesByDefaultOk() (*bool, bool)` GetReplacePackagesByDefaultOk returns a tuple with the ReplacePackagesByDefault field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetReplacePackagesByDefault -`func (o *Repository) SetReplacePackagesByDefault(v bool)` +`func (o *RepositoryCreateResponse) SetReplacePackagesByDefault(v bool)` SetReplacePackagesByDefault sets ReplacePackagesByDefault field to given value. ### HasReplacePackagesByDefault -`func (o *Repository) HasReplacePackagesByDefault() bool` +`func (o *RepositoryCreateResponse) HasReplacePackagesByDefault() bool` HasReplacePackagesByDefault returns a boolean if a field has been set. ### GetRepositoryType -`func (o *Repository) GetRepositoryType() int64` +`func (o *RepositoryCreateResponse) GetRepositoryType() int64` GetRepositoryType returns the RepositoryType field if non-nil, zero value otherwise. ### GetRepositoryTypeOk -`func (o *Repository) GetRepositoryTypeOk() (*int64, bool)` +`func (o *RepositoryCreateResponse) GetRepositoryTypeOk() (*int64, bool)` GetRepositoryTypeOk returns a tuple with the RepositoryType field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetRepositoryType -`func (o *Repository) SetRepositoryType(v int64)` +`func (o *RepositoryCreateResponse) SetRepositoryType(v int64)` SetRepositoryType sets RepositoryType field to given value. ### HasRepositoryType -`func (o *Repository) HasRepositoryType() bool` +`func (o *RepositoryCreateResponse) HasRepositoryType() bool` HasRepositoryType returns a boolean if a field has been set. ### GetRepositoryTypeStr -`func (o *Repository) GetRepositoryTypeStr() string` +`func (o *RepositoryCreateResponse) GetRepositoryTypeStr() string` GetRepositoryTypeStr returns the RepositoryTypeStr field if non-nil, zero value otherwise. ### GetRepositoryTypeStrOk -`func (o *Repository) GetRepositoryTypeStrOk() (*string, bool)` +`func (o *RepositoryCreateResponse) GetRepositoryTypeStrOk() (*string, bool)` GetRepositoryTypeStrOk returns a tuple with the RepositoryTypeStr field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetRepositoryTypeStr -`func (o *Repository) SetRepositoryTypeStr(v string)` +`func (o *RepositoryCreateResponse) SetRepositoryTypeStr(v string)` SetRepositoryTypeStr sets RepositoryTypeStr field to given value. ### HasRepositoryTypeStr -`func (o *Repository) HasRepositoryTypeStr() bool` +`func (o *RepositoryCreateResponse) HasRepositoryTypeStr() bool` HasRepositoryTypeStr returns a boolean if a field has been set. ### GetResyncOwn -`func (o *Repository) GetResyncOwn() bool` +`func (o *RepositoryCreateResponse) GetResyncOwn() bool` GetResyncOwn returns the ResyncOwn field if non-nil, zero value otherwise. ### GetResyncOwnOk -`func (o *Repository) GetResyncOwnOk() (*bool, bool)` +`func (o *RepositoryCreateResponse) GetResyncOwnOk() (*bool, bool)` GetResyncOwnOk returns a tuple with the ResyncOwn field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetResyncOwn -`func (o *Repository) SetResyncOwn(v bool)` +`func (o *RepositoryCreateResponse) SetResyncOwn(v bool)` SetResyncOwn sets ResyncOwn field to given value. ### HasResyncOwn -`func (o *Repository) HasResyncOwn() bool` +`func (o *RepositoryCreateResponse) HasResyncOwn() bool` HasResyncOwn returns a boolean if a field has been set. ### GetResyncPackages -`func (o *Repository) GetResyncPackages() string` +`func (o *RepositoryCreateResponse) GetResyncPackages() string` GetResyncPackages returns the ResyncPackages field if non-nil, zero value otherwise. ### GetResyncPackagesOk -`func (o *Repository) GetResyncPackagesOk() (*string, bool)` +`func (o *RepositoryCreateResponse) GetResyncPackagesOk() (*string, bool)` GetResyncPackagesOk returns a tuple with the ResyncPackages field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetResyncPackages -`func (o *Repository) SetResyncPackages(v string)` +`func (o *RepositoryCreateResponse) SetResyncPackages(v string)` SetResyncPackages sets ResyncPackages field to given value. ### HasResyncPackages -`func (o *Repository) HasResyncPackages() bool` +`func (o *RepositoryCreateResponse) HasResyncPackages() bool` HasResyncPackages returns a boolean if a field has been set. ### GetScanOwn -`func (o *Repository) GetScanOwn() bool` +`func (o *RepositoryCreateResponse) GetScanOwn() bool` GetScanOwn returns the ScanOwn field if non-nil, zero value otherwise. ### GetScanOwnOk -`func (o *Repository) GetScanOwnOk() (*bool, bool)` +`func (o *RepositoryCreateResponse) GetScanOwnOk() (*bool, bool)` GetScanOwnOk returns a tuple with the ScanOwn field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetScanOwn -`func (o *Repository) SetScanOwn(v bool)` +`func (o *RepositoryCreateResponse) SetScanOwn(v bool)` SetScanOwn sets ScanOwn field to given value. ### HasScanOwn -`func (o *Repository) HasScanOwn() bool` +`func (o *RepositoryCreateResponse) HasScanOwn() bool` HasScanOwn returns a boolean if a field has been set. ### GetScanPackages -`func (o *Repository) GetScanPackages() string` +`func (o *RepositoryCreateResponse) GetScanPackages() string` GetScanPackages returns the ScanPackages field if non-nil, zero value otherwise. ### GetScanPackagesOk -`func (o *Repository) GetScanPackagesOk() (*string, bool)` +`func (o *RepositoryCreateResponse) GetScanPackagesOk() (*string, bool)` GetScanPackagesOk returns a tuple with the ScanPackages field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetScanPackages -`func (o *Repository) SetScanPackages(v string)` +`func (o *RepositoryCreateResponse) SetScanPackages(v string)` SetScanPackages sets ScanPackages field to given value. ### HasScanPackages -`func (o *Repository) HasScanPackages() bool` +`func (o *RepositoryCreateResponse) HasScanPackages() bool` HasScanPackages returns a boolean if a field has been set. ### GetSelfHtmlUrl -`func (o *Repository) GetSelfHtmlUrl() string` +`func (o *RepositoryCreateResponse) GetSelfHtmlUrl() string` GetSelfHtmlUrl returns the SelfHtmlUrl field if non-nil, zero value otherwise. ### GetSelfHtmlUrlOk -`func (o *Repository) GetSelfHtmlUrlOk() (*string, bool)` +`func (o *RepositoryCreateResponse) GetSelfHtmlUrlOk() (*string, bool)` GetSelfHtmlUrlOk returns a tuple with the SelfHtmlUrl field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetSelfHtmlUrl -`func (o *Repository) SetSelfHtmlUrl(v string)` +`func (o *RepositoryCreateResponse) SetSelfHtmlUrl(v string)` SetSelfHtmlUrl sets SelfHtmlUrl field to given value. ### HasSelfHtmlUrl -`func (o *Repository) HasSelfHtmlUrl() bool` +`func (o *RepositoryCreateResponse) HasSelfHtmlUrl() bool` HasSelfHtmlUrl returns a boolean if a field has been set. ### GetSelfUrl -`func (o *Repository) GetSelfUrl() string` +`func (o *RepositoryCreateResponse) GetSelfUrl() string` GetSelfUrl returns the SelfUrl field if non-nil, zero value otherwise. ### GetSelfUrlOk -`func (o *Repository) GetSelfUrlOk() (*string, bool)` +`func (o *RepositoryCreateResponse) GetSelfUrlOk() (*string, bool)` GetSelfUrlOk returns a tuple with the SelfUrl field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetSelfUrl -`func (o *Repository) SetSelfUrl(v string)` +`func (o *RepositoryCreateResponse) SetSelfUrl(v string)` SetSelfUrl sets SelfUrl field to given value. ### HasSelfUrl -`func (o *Repository) HasSelfUrl() bool` +`func (o *RepositoryCreateResponse) HasSelfUrl() bool` HasSelfUrl returns a boolean if a field has been set. ### GetShowSetupAll -`func (o *Repository) GetShowSetupAll() bool` +`func (o *RepositoryCreateResponse) GetShowSetupAll() bool` GetShowSetupAll returns the ShowSetupAll field if non-nil, zero value otherwise. ### GetShowSetupAllOk -`func (o *Repository) GetShowSetupAllOk() (*bool, bool)` +`func (o *RepositoryCreateResponse) GetShowSetupAllOk() (*bool, bool)` GetShowSetupAllOk returns a tuple with the ShowSetupAll field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetShowSetupAll -`func (o *Repository) SetShowSetupAll(v bool)` +`func (o *RepositoryCreateResponse) SetShowSetupAll(v bool)` SetShowSetupAll sets ShowSetupAll field to given value. ### HasShowSetupAll -`func (o *Repository) HasShowSetupAll() bool` +`func (o *RepositoryCreateResponse) HasShowSetupAll() bool` HasShowSetupAll returns a boolean if a field has been set. ### GetSize -`func (o *Repository) GetSize() int64` +`func (o *RepositoryCreateResponse) GetSize() int64` GetSize returns the Size field if non-nil, zero value otherwise. ### GetSizeOk -`func (o *Repository) GetSizeOk() (*int64, bool)` +`func (o *RepositoryCreateResponse) GetSizeOk() (*int64, bool)` GetSizeOk returns a tuple with the Size field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetSize -`func (o *Repository) SetSize(v int64)` +`func (o *RepositoryCreateResponse) SetSize(v int64)` SetSize sets Size field to given value. ### HasSize -`func (o *Repository) HasSize() bool` +`func (o *RepositoryCreateResponse) HasSize() bool` HasSize returns a boolean if a field has been set. ### GetSizeStr -`func (o *Repository) GetSizeStr() string` +`func (o *RepositoryCreateResponse) GetSizeStr() string` GetSizeStr returns the SizeStr field if non-nil, zero value otherwise. ### GetSizeStrOk -`func (o *Repository) GetSizeStrOk() (*string, bool)` +`func (o *RepositoryCreateResponse) GetSizeStrOk() (*string, bool)` GetSizeStrOk returns a tuple with the SizeStr field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetSizeStr -`func (o *Repository) SetSizeStr(v string)` +`func (o *RepositoryCreateResponse) SetSizeStr(v string)` SetSizeStr sets SizeStr field to given value. ### HasSizeStr -`func (o *Repository) HasSizeStr() bool` +`func (o *RepositoryCreateResponse) HasSizeStr() bool` HasSizeStr returns a boolean if a field has been set. ### GetSlug -`func (o *Repository) GetSlug() string` +`func (o *RepositoryCreateResponse) GetSlug() string` GetSlug returns the Slug field if non-nil, zero value otherwise. ### GetSlugOk -`func (o *Repository) GetSlugOk() (*string, bool)` +`func (o *RepositoryCreateResponse) GetSlugOk() (*string, bool)` GetSlugOk returns a tuple with the Slug field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetSlug -`func (o *Repository) SetSlug(v string)` +`func (o *RepositoryCreateResponse) SetSlug(v string)` SetSlug sets Slug field to given value. ### HasSlug -`func (o *Repository) HasSlug() bool` +`func (o *RepositoryCreateResponse) HasSlug() bool` HasSlug returns a boolean if a field has been set. ### GetSlugPerm -`func (o *Repository) GetSlugPerm() string` +`func (o *RepositoryCreateResponse) GetSlugPerm() string` GetSlugPerm returns the SlugPerm field if non-nil, zero value otherwise. ### GetSlugPermOk -`func (o *Repository) GetSlugPermOk() (*string, bool)` +`func (o *RepositoryCreateResponse) GetSlugPermOk() (*string, bool)` GetSlugPermOk returns a tuple with the SlugPerm field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetSlugPerm -`func (o *Repository) SetSlugPerm(v string)` +`func (o *RepositoryCreateResponse) SetSlugPerm(v string)` SetSlugPerm sets SlugPerm field to given value. ### HasSlugPerm -`func (o *Repository) HasSlugPerm() bool` +`func (o *RepositoryCreateResponse) HasSlugPerm() bool` HasSlugPerm returns a boolean if a field has been set. ### GetStorageRegion -`func (o *Repository) GetStorageRegion() string` +`func (o *RepositoryCreateResponse) GetStorageRegion() string` GetStorageRegion returns the StorageRegion field if non-nil, zero value otherwise. ### GetStorageRegionOk -`func (o *Repository) GetStorageRegionOk() (*string, bool)` +`func (o *RepositoryCreateResponse) GetStorageRegionOk() (*string, bool)` GetStorageRegionOk returns a tuple with the StorageRegion field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetStorageRegion -`func (o *Repository) SetStorageRegion(v string)` +`func (o *RepositoryCreateResponse) SetStorageRegion(v string)` SetStorageRegion sets StorageRegion field to given value. ### HasStorageRegion -`func (o *Repository) HasStorageRegion() bool` +`func (o *RepositoryCreateResponse) HasStorageRegion() bool` HasStorageRegion returns a boolean if a field has been set. ### GetStrictNpmValidation -`func (o *Repository) GetStrictNpmValidation() bool` +`func (o *RepositoryCreateResponse) GetStrictNpmValidation() bool` GetStrictNpmValidation returns the StrictNpmValidation field if non-nil, zero value otherwise. ### GetStrictNpmValidationOk -`func (o *Repository) GetStrictNpmValidationOk() (*bool, bool)` +`func (o *RepositoryCreateResponse) GetStrictNpmValidationOk() (*bool, bool)` GetStrictNpmValidationOk returns a tuple with the StrictNpmValidation field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetStrictNpmValidation -`func (o *Repository) SetStrictNpmValidation(v bool)` +`func (o *RepositoryCreateResponse) SetStrictNpmValidation(v bool)` SetStrictNpmValidation sets StrictNpmValidation field to given value. ### HasStrictNpmValidation -`func (o *Repository) HasStrictNpmValidation() bool` +`func (o *RepositoryCreateResponse) HasStrictNpmValidation() bool` HasStrictNpmValidation returns a boolean if a field has been set. ### GetUseDebianLabels -`func (o *Repository) GetUseDebianLabels() bool` +`func (o *RepositoryCreateResponse) GetUseDebianLabels() bool` GetUseDebianLabels returns the UseDebianLabels field if non-nil, zero value otherwise. ### GetUseDebianLabelsOk -`func (o *Repository) GetUseDebianLabelsOk() (*bool, bool)` +`func (o *RepositoryCreateResponse) GetUseDebianLabelsOk() (*bool, bool)` GetUseDebianLabelsOk returns a tuple with the UseDebianLabels field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetUseDebianLabels -`func (o *Repository) SetUseDebianLabels(v bool)` +`func (o *RepositoryCreateResponse) SetUseDebianLabels(v bool)` SetUseDebianLabels sets UseDebianLabels field to given value. ### HasUseDebianLabels -`func (o *Repository) HasUseDebianLabels() bool` +`func (o *RepositoryCreateResponse) HasUseDebianLabels() bool` HasUseDebianLabels returns a boolean if a field has been set. ### GetUseDefaultCargoUpstream -`func (o *Repository) GetUseDefaultCargoUpstream() bool` +`func (o *RepositoryCreateResponse) GetUseDefaultCargoUpstream() bool` GetUseDefaultCargoUpstream returns the UseDefaultCargoUpstream field if non-nil, zero value otherwise. ### GetUseDefaultCargoUpstreamOk -`func (o *Repository) GetUseDefaultCargoUpstreamOk() (*bool, bool)` +`func (o *RepositoryCreateResponse) GetUseDefaultCargoUpstreamOk() (*bool, bool)` GetUseDefaultCargoUpstreamOk returns a tuple with the UseDefaultCargoUpstream field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetUseDefaultCargoUpstream -`func (o *Repository) SetUseDefaultCargoUpstream(v bool)` +`func (o *RepositoryCreateResponse) SetUseDefaultCargoUpstream(v bool)` SetUseDefaultCargoUpstream sets UseDefaultCargoUpstream field to given value. ### HasUseDefaultCargoUpstream -`func (o *Repository) HasUseDefaultCargoUpstream() bool` +`func (o *RepositoryCreateResponse) HasUseDefaultCargoUpstream() bool` HasUseDefaultCargoUpstream returns a boolean if a field has been set. ### GetUseNoarchPackages -`func (o *Repository) GetUseNoarchPackages() bool` +`func (o *RepositoryCreateResponse) GetUseNoarchPackages() bool` GetUseNoarchPackages returns the UseNoarchPackages field if non-nil, zero value otherwise. ### GetUseNoarchPackagesOk -`func (o *Repository) GetUseNoarchPackagesOk() (*bool, bool)` +`func (o *RepositoryCreateResponse) GetUseNoarchPackagesOk() (*bool, bool)` GetUseNoarchPackagesOk returns a tuple with the UseNoarchPackages field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetUseNoarchPackages -`func (o *Repository) SetUseNoarchPackages(v bool)` +`func (o *RepositoryCreateResponse) SetUseNoarchPackages(v bool)` SetUseNoarchPackages sets UseNoarchPackages field to given value. ### HasUseNoarchPackages -`func (o *Repository) HasUseNoarchPackages() bool` +`func (o *RepositoryCreateResponse) HasUseNoarchPackages() bool` HasUseNoarchPackages returns a boolean if a field has been set. ### GetUseSourcePackages -`func (o *Repository) GetUseSourcePackages() bool` +`func (o *RepositoryCreateResponse) GetUseSourcePackages() bool` GetUseSourcePackages returns the UseSourcePackages field if non-nil, zero value otherwise. ### GetUseSourcePackagesOk -`func (o *Repository) GetUseSourcePackagesOk() (*bool, bool)` +`func (o *RepositoryCreateResponse) GetUseSourcePackagesOk() (*bool, bool)` GetUseSourcePackagesOk returns a tuple with the UseSourcePackages field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetUseSourcePackages -`func (o *Repository) SetUseSourcePackages(v bool)` +`func (o *RepositoryCreateResponse) SetUseSourcePackages(v bool)` SetUseSourcePackages sets UseSourcePackages field to given value. ### HasUseSourcePackages -`func (o *Repository) HasUseSourcePackages() bool` +`func (o *RepositoryCreateResponse) HasUseSourcePackages() bool` HasUseSourcePackages returns a boolean if a field has been set. ### GetUseVulnerabilityScanning -`func (o *Repository) GetUseVulnerabilityScanning() bool` +`func (o *RepositoryCreateResponse) GetUseVulnerabilityScanning() bool` GetUseVulnerabilityScanning returns the UseVulnerabilityScanning field if non-nil, zero value otherwise. ### GetUseVulnerabilityScanningOk -`func (o *Repository) GetUseVulnerabilityScanningOk() (*bool, bool)` +`func (o *RepositoryCreateResponse) GetUseVulnerabilityScanningOk() (*bool, bool)` GetUseVulnerabilityScanningOk returns a tuple with the UseVulnerabilityScanning field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetUseVulnerabilityScanning -`func (o *Repository) SetUseVulnerabilityScanning(v bool)` +`func (o *RepositoryCreateResponse) SetUseVulnerabilityScanning(v bool)` SetUseVulnerabilityScanning sets UseVulnerabilityScanning field to given value. ### HasUseVulnerabilityScanning -`func (o *Repository) HasUseVulnerabilityScanning() bool` +`func (o *RepositoryCreateResponse) HasUseVulnerabilityScanning() bool` HasUseVulnerabilityScanning returns a boolean if a field has been set. ### GetUserEntitlementsEnabled -`func (o *Repository) GetUserEntitlementsEnabled() bool` +`func (o *RepositoryCreateResponse) GetUserEntitlementsEnabled() bool` GetUserEntitlementsEnabled returns the UserEntitlementsEnabled field if non-nil, zero value otherwise. ### GetUserEntitlementsEnabledOk -`func (o *Repository) GetUserEntitlementsEnabledOk() (*bool, bool)` +`func (o *RepositoryCreateResponse) GetUserEntitlementsEnabledOk() (*bool, bool)` GetUserEntitlementsEnabledOk returns a tuple with the UserEntitlementsEnabled field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetUserEntitlementsEnabled -`func (o *Repository) SetUserEntitlementsEnabled(v bool)` +`func (o *RepositoryCreateResponse) SetUserEntitlementsEnabled(v bool)` SetUserEntitlementsEnabled sets UserEntitlementsEnabled field to given value. ### HasUserEntitlementsEnabled -`func (o *Repository) HasUserEntitlementsEnabled() bool` +`func (o *RepositoryCreateResponse) HasUserEntitlementsEnabled() bool` HasUserEntitlementsEnabled returns a boolean if a field has been set. ### GetViewStatistics -`func (o *Repository) GetViewStatistics() string` +`func (o *RepositoryCreateResponse) GetViewStatistics() string` GetViewStatistics returns the ViewStatistics field if non-nil, zero value otherwise. ### GetViewStatisticsOk -`func (o *Repository) GetViewStatisticsOk() (*string, bool)` +`func (o *RepositoryCreateResponse) GetViewStatisticsOk() (*string, bool)` GetViewStatisticsOk returns a tuple with the ViewStatistics field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetViewStatistics -`func (o *Repository) SetViewStatistics(v string)` +`func (o *RepositoryCreateResponse) SetViewStatistics(v string)` SetViewStatistics sets ViewStatistics field to given value. ### HasViewStatistics -`func (o *Repository) HasViewStatistics() bool` +`func (o *RepositoryCreateResponse) HasViewStatistics() bool` HasViewStatistics returns a boolean if a field has been set. diff --git a/docs/RepositoryGpgKey.md b/docs/RepositoryGpgKey.md index 52958a76..82d42a61 100644 --- a/docs/RepositoryGpgKey.md +++ b/docs/RepositoryGpgKey.md @@ -4,13 +4,13 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**Active** | Pointer to **bool** | If selected this is the active key for this repository. | [optional] +**Active** | Pointer to **bool** | If selected this is the active key for this repository. | [optional] [readonly] **Comment** | **string** | | -**CreatedAt** | Pointer to **string** | | [optional] -**Default** | Pointer to **bool** | If selected this is the default key for this repository. | [optional] -**Fingerprint** | Pointer to **string** | The long identifier used by GPG for this key. | [optional] -**FingerprintShort** | Pointer to **string** | | [optional] -**PublicKey** | Pointer to **string** | The public key given to repository users. | [optional] +**CreatedAt** | Pointer to **time.Time** | | [optional] [readonly] +**Default** | Pointer to **bool** | If selected this is the default key for this repository. | [optional] [readonly] +**Fingerprint** | Pointer to **string** | The long identifier used by GPG for this key. | [optional] [readonly] +**FingerprintShort** | Pointer to **string** | | [optional] [readonly] +**PublicKey** | Pointer to **string** | The public key given to repository users. | [optional] [readonly] ## Methods @@ -78,20 +78,20 @@ SetComment sets Comment field to given value. ### GetCreatedAt -`func (o *RepositoryGpgKey) GetCreatedAt() string` +`func (o *RepositoryGpgKey) GetCreatedAt() time.Time` GetCreatedAt returns the CreatedAt field if non-nil, zero value otherwise. ### GetCreatedAtOk -`func (o *RepositoryGpgKey) GetCreatedAtOk() (*string, bool)` +`func (o *RepositoryGpgKey) GetCreatedAtOk() (*time.Time, bool)` GetCreatedAtOk returns a tuple with the CreatedAt field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetCreatedAt -`func (o *RepositoryGpgKey) SetCreatedAt(v string)` +`func (o *RepositoryGpgKey) SetCreatedAt(v time.Time)` SetCreatedAt sets CreatedAt field to given value. diff --git a/docs/ReposGpgCreate.md b/docs/RepositoryGpgKeyCreate.md similarity index 65% rename from docs/ReposGpgCreate.md rename to docs/RepositoryGpgKeyCreate.md index 42085b1f..b877903c 100644 --- a/docs/ReposGpgCreate.md +++ b/docs/RepositoryGpgKeyCreate.md @@ -1,4 +1,4 @@ -# ReposGpgCreate +# RepositoryGpgKeyCreate ## Properties @@ -9,64 +9,64 @@ Name | Type | Description | Notes ## Methods -### NewReposGpgCreate +### NewRepositoryGpgKeyCreate -`func NewReposGpgCreate(gpgPrivateKey string, ) *ReposGpgCreate` +`func NewRepositoryGpgKeyCreate(gpgPrivateKey string, ) *RepositoryGpgKeyCreate` -NewReposGpgCreate instantiates a new ReposGpgCreate object +NewRepositoryGpgKeyCreate instantiates a new RepositoryGpgKeyCreate object 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 -### NewReposGpgCreateWithDefaults +### NewRepositoryGpgKeyCreateWithDefaults -`func NewReposGpgCreateWithDefaults() *ReposGpgCreate` +`func NewRepositoryGpgKeyCreateWithDefaults() *RepositoryGpgKeyCreate` -NewReposGpgCreateWithDefaults instantiates a new ReposGpgCreate object +NewRepositoryGpgKeyCreateWithDefaults instantiates a new RepositoryGpgKeyCreate object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set ### GetGpgPassphrase -`func (o *ReposGpgCreate) GetGpgPassphrase() string` +`func (o *RepositoryGpgKeyCreate) GetGpgPassphrase() string` GetGpgPassphrase returns the GpgPassphrase field if non-nil, zero value otherwise. ### GetGpgPassphraseOk -`func (o *ReposGpgCreate) GetGpgPassphraseOk() (*string, bool)` +`func (o *RepositoryGpgKeyCreate) GetGpgPassphraseOk() (*string, bool)` GetGpgPassphraseOk returns a tuple with the GpgPassphrase field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetGpgPassphrase -`func (o *ReposGpgCreate) SetGpgPassphrase(v string)` +`func (o *RepositoryGpgKeyCreate) SetGpgPassphrase(v string)` SetGpgPassphrase sets GpgPassphrase field to given value. ### HasGpgPassphrase -`func (o *ReposGpgCreate) HasGpgPassphrase() bool` +`func (o *RepositoryGpgKeyCreate) HasGpgPassphrase() bool` HasGpgPassphrase returns a boolean if a field has been set. ### GetGpgPrivateKey -`func (o *ReposGpgCreate) GetGpgPrivateKey() string` +`func (o *RepositoryGpgKeyCreate) GetGpgPrivateKey() string` GetGpgPrivateKey returns the GpgPrivateKey field if non-nil, zero value otherwise. ### GetGpgPrivateKeyOk -`func (o *ReposGpgCreate) GetGpgPrivateKeyOk() (*string, bool)` +`func (o *RepositoryGpgKeyCreate) GetGpgPrivateKeyOk() (*string, bool)` GetGpgPrivateKeyOk returns a tuple with the GpgPrivateKey field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetGpgPrivateKey -`func (o *ReposGpgCreate) SetGpgPrivateKey(v string)` +`func (o *RepositoryGpgKeyCreate) SetGpgPrivateKey(v string)` SetGpgPrivateKey sets GpgPrivateKey field to given value. diff --git a/docs/ReposGpgKeys.md b/docs/RepositoryGpgKeyResponse.md similarity index 60% rename from docs/ReposGpgKeys.md rename to docs/RepositoryGpgKeyResponse.md index 7c179daa..256ab4db 100644 --- a/docs/ReposGpgKeys.md +++ b/docs/RepositoryGpgKeyResponse.md @@ -1,208 +1,203 @@ -# ReposGpgKeys +# RepositoryGpgKeyResponse ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**Active** | Pointer to **bool** | If selected this is the active key for this repository. | [optional] -**Comment** | Pointer to **string** | | [optional] -**CreatedAt** | Pointer to **string** | | [optional] -**Default** | Pointer to **bool** | If selected this is the default key for this repository. | [optional] -**Fingerprint** | Pointer to **string** | The long identifier used by GPG for this key. | [optional] -**FingerprintShort** | Pointer to **string** | | [optional] -**PublicKey** | Pointer to **string** | The public key given to repository users. | [optional] +**Active** | Pointer to **bool** | If selected this is the active key for this repository. | [optional] [readonly] +**Comment** | **string** | | +**CreatedAt** | Pointer to **time.Time** | | [optional] [readonly] +**Default** | Pointer to **bool** | If selected this is the default key for this repository. | [optional] [readonly] +**Fingerprint** | Pointer to **string** | The long identifier used by GPG for this key. | [optional] [readonly] +**FingerprintShort** | Pointer to **string** | | [optional] [readonly] +**PublicKey** | Pointer to **string** | The public key given to repository users. | [optional] [readonly] ## Methods -### NewReposGpgKeys +### NewRepositoryGpgKeyResponse -`func NewReposGpgKeys() *ReposGpgKeys` +`func NewRepositoryGpgKeyResponse(comment string, ) *RepositoryGpgKeyResponse` -NewReposGpgKeys instantiates a new ReposGpgKeys object +NewRepositoryGpgKeyResponse instantiates a new RepositoryGpgKeyResponse object 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 -### NewReposGpgKeysWithDefaults +### NewRepositoryGpgKeyResponseWithDefaults -`func NewReposGpgKeysWithDefaults() *ReposGpgKeys` +`func NewRepositoryGpgKeyResponseWithDefaults() *RepositoryGpgKeyResponse` -NewReposGpgKeysWithDefaults instantiates a new ReposGpgKeys object +NewRepositoryGpgKeyResponseWithDefaults instantiates a new RepositoryGpgKeyResponse object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set ### GetActive -`func (o *ReposGpgKeys) GetActive() bool` +`func (o *RepositoryGpgKeyResponse) GetActive() bool` GetActive returns the Active field if non-nil, zero value otherwise. ### GetActiveOk -`func (o *ReposGpgKeys) GetActiveOk() (*bool, bool)` +`func (o *RepositoryGpgKeyResponse) GetActiveOk() (*bool, bool)` GetActiveOk returns a tuple with the Active field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetActive -`func (o *ReposGpgKeys) SetActive(v bool)` +`func (o *RepositoryGpgKeyResponse) SetActive(v bool)` SetActive sets Active field to given value. ### HasActive -`func (o *ReposGpgKeys) HasActive() bool` +`func (o *RepositoryGpgKeyResponse) HasActive() bool` HasActive returns a boolean if a field has been set. ### GetComment -`func (o *ReposGpgKeys) GetComment() string` +`func (o *RepositoryGpgKeyResponse) GetComment() string` GetComment returns the Comment field if non-nil, zero value otherwise. ### GetCommentOk -`func (o *ReposGpgKeys) GetCommentOk() (*string, bool)` +`func (o *RepositoryGpgKeyResponse) GetCommentOk() (*string, bool)` GetCommentOk returns a tuple with the Comment field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetComment -`func (o *ReposGpgKeys) SetComment(v string)` +`func (o *RepositoryGpgKeyResponse) SetComment(v string)` SetComment sets Comment field to given value. -### HasComment - -`func (o *ReposGpgKeys) HasComment() bool` - -HasComment returns a boolean if a field has been set. ### GetCreatedAt -`func (o *ReposGpgKeys) GetCreatedAt() string` +`func (o *RepositoryGpgKeyResponse) GetCreatedAt() time.Time` GetCreatedAt returns the CreatedAt field if non-nil, zero value otherwise. ### GetCreatedAtOk -`func (o *ReposGpgKeys) GetCreatedAtOk() (*string, bool)` +`func (o *RepositoryGpgKeyResponse) GetCreatedAtOk() (*time.Time, bool)` GetCreatedAtOk returns a tuple with the CreatedAt field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetCreatedAt -`func (o *ReposGpgKeys) SetCreatedAt(v string)` +`func (o *RepositoryGpgKeyResponse) SetCreatedAt(v time.Time)` SetCreatedAt sets CreatedAt field to given value. ### HasCreatedAt -`func (o *ReposGpgKeys) HasCreatedAt() bool` +`func (o *RepositoryGpgKeyResponse) HasCreatedAt() bool` HasCreatedAt returns a boolean if a field has been set. ### GetDefault -`func (o *ReposGpgKeys) GetDefault() bool` +`func (o *RepositoryGpgKeyResponse) GetDefault() bool` GetDefault returns the Default field if non-nil, zero value otherwise. ### GetDefaultOk -`func (o *ReposGpgKeys) GetDefaultOk() (*bool, bool)` +`func (o *RepositoryGpgKeyResponse) GetDefaultOk() (*bool, bool)` GetDefaultOk returns a tuple with the Default field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetDefault -`func (o *ReposGpgKeys) SetDefault(v bool)` +`func (o *RepositoryGpgKeyResponse) SetDefault(v bool)` SetDefault sets Default field to given value. ### HasDefault -`func (o *ReposGpgKeys) HasDefault() bool` +`func (o *RepositoryGpgKeyResponse) HasDefault() bool` HasDefault returns a boolean if a field has been set. ### GetFingerprint -`func (o *ReposGpgKeys) GetFingerprint() string` +`func (o *RepositoryGpgKeyResponse) GetFingerprint() string` GetFingerprint returns the Fingerprint field if non-nil, zero value otherwise. ### GetFingerprintOk -`func (o *ReposGpgKeys) GetFingerprintOk() (*string, bool)` +`func (o *RepositoryGpgKeyResponse) GetFingerprintOk() (*string, bool)` GetFingerprintOk returns a tuple with the Fingerprint field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetFingerprint -`func (o *ReposGpgKeys) SetFingerprint(v string)` +`func (o *RepositoryGpgKeyResponse) SetFingerprint(v string)` SetFingerprint sets Fingerprint field to given value. ### HasFingerprint -`func (o *ReposGpgKeys) HasFingerprint() bool` +`func (o *RepositoryGpgKeyResponse) HasFingerprint() bool` HasFingerprint returns a boolean if a field has been set. ### GetFingerprintShort -`func (o *ReposGpgKeys) GetFingerprintShort() string` +`func (o *RepositoryGpgKeyResponse) GetFingerprintShort() string` GetFingerprintShort returns the FingerprintShort field if non-nil, zero value otherwise. ### GetFingerprintShortOk -`func (o *ReposGpgKeys) GetFingerprintShortOk() (*string, bool)` +`func (o *RepositoryGpgKeyResponse) GetFingerprintShortOk() (*string, bool)` GetFingerprintShortOk returns a tuple with the FingerprintShort field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetFingerprintShort -`func (o *ReposGpgKeys) SetFingerprintShort(v string)` +`func (o *RepositoryGpgKeyResponse) SetFingerprintShort(v string)` SetFingerprintShort sets FingerprintShort field to given value. ### HasFingerprintShort -`func (o *ReposGpgKeys) HasFingerprintShort() bool` +`func (o *RepositoryGpgKeyResponse) HasFingerprintShort() bool` HasFingerprintShort returns a boolean if a field has been set. ### GetPublicKey -`func (o *ReposGpgKeys) GetPublicKey() string` +`func (o *RepositoryGpgKeyResponse) GetPublicKey() string` GetPublicKey returns the PublicKey field if non-nil, zero value otherwise. ### GetPublicKeyOk -`func (o *ReposGpgKeys) GetPublicKeyOk() (*string, bool)` +`func (o *RepositoryGpgKeyResponse) GetPublicKeyOk() (*string, bool)` GetPublicKeyOk returns a tuple with the PublicKey field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetPublicKey -`func (o *ReposGpgKeys) SetPublicKey(v string)` +`func (o *RepositoryGpgKeyResponse) SetPublicKey(v string)` SetPublicKey sets PublicKey field to given value. ### HasPublicKey -`func (o *ReposGpgKeys) HasPublicKey() bool` +`func (o *RepositoryGpgKeyResponse) HasPublicKey() bool` HasPublicKey returns a boolean if a field has been set. diff --git a/docs/RepositoryPrivilegeDict.md b/docs/RepositoryPrivilegeDict.md new file mode 100644 index 00000000..3cc9ecff --- /dev/null +++ b/docs/RepositoryPrivilegeDict.md @@ -0,0 +1,129 @@ +# RepositoryPrivilegeDict + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Privilege** | **string** | The level of privilege that the user or team should be granted to the specified repository. | +**Service** | Pointer to **string** | The service identifier (slug). | [optional] +**Team** | Pointer to **string** | The team identifier (slug). | [optional] +**User** | Pointer to **string** | The user identifier (slug). | [optional] + +## Methods + +### NewRepositoryPrivilegeDict + +`func NewRepositoryPrivilegeDict(privilege string, ) *RepositoryPrivilegeDict` + +NewRepositoryPrivilegeDict instantiates a new RepositoryPrivilegeDict object +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 + +### NewRepositoryPrivilegeDictWithDefaults + +`func NewRepositoryPrivilegeDictWithDefaults() *RepositoryPrivilegeDict` + +NewRepositoryPrivilegeDictWithDefaults instantiates a new RepositoryPrivilegeDict object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetPrivilege + +`func (o *RepositoryPrivilegeDict) GetPrivilege() string` + +GetPrivilege returns the Privilege field if non-nil, zero value otherwise. + +### GetPrivilegeOk + +`func (o *RepositoryPrivilegeDict) GetPrivilegeOk() (*string, bool)` + +GetPrivilegeOk returns a tuple with the Privilege field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetPrivilege + +`func (o *RepositoryPrivilegeDict) SetPrivilege(v string)` + +SetPrivilege sets Privilege field to given value. + + +### GetService + +`func (o *RepositoryPrivilegeDict) GetService() string` + +GetService returns the Service field if non-nil, zero value otherwise. + +### GetServiceOk + +`func (o *RepositoryPrivilegeDict) GetServiceOk() (*string, bool)` + +GetServiceOk returns a tuple with the Service field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetService + +`func (o *RepositoryPrivilegeDict) SetService(v string)` + +SetService sets Service field to given value. + +### HasService + +`func (o *RepositoryPrivilegeDict) HasService() bool` + +HasService returns a boolean if a field has been set. + +### GetTeam + +`func (o *RepositoryPrivilegeDict) GetTeam() string` + +GetTeam returns the Team field if non-nil, zero value otherwise. + +### GetTeamOk + +`func (o *RepositoryPrivilegeDict) GetTeamOk() (*string, bool)` + +GetTeamOk returns a tuple with the Team field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetTeam + +`func (o *RepositoryPrivilegeDict) SetTeam(v string)` + +SetTeam sets Team field to given value. + +### HasTeam + +`func (o *RepositoryPrivilegeDict) HasTeam() bool` + +HasTeam returns a boolean if a field has been set. + +### GetUser + +`func (o *RepositoryPrivilegeDict) GetUser() string` + +GetUser returns the User field if non-nil, zero value otherwise. + +### GetUserOk + +`func (o *RepositoryPrivilegeDict) GetUserOk() (*string, bool)` + +GetUserOk returns a tuple with the User field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetUser + +`func (o *RepositoryPrivilegeDict) SetUser(v string)` + +SetUser sets User field to given value. + +### HasUser + +`func (o *RepositoryPrivilegeDict) HasUser() bool` + +HasUser 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/docs/RepositoryPrivilegeList.md b/docs/RepositoryPrivilegeInputRequest.md similarity index 51% rename from docs/RepositoryPrivilegeList.md rename to docs/RepositoryPrivilegeInputRequest.md index 0f5ab139..105cfb03 100644 --- a/docs/RepositoryPrivilegeList.md +++ b/docs/RepositoryPrivilegeInputRequest.md @@ -1,54 +1,49 @@ -# RepositoryPrivilegeList +# RepositoryPrivilegeInputRequest ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**Privileges** | Pointer to **string** | List of objects with explicit privileges to the repository. | [optional] +**Privileges** | [**[]RepositoryPrivilegeDict**](RepositoryPrivilegeDict.md) | List of objects with explicit privileges to the repository. | ## Methods -### NewRepositoryPrivilegeList +### NewRepositoryPrivilegeInputRequest -`func NewRepositoryPrivilegeList() *RepositoryPrivilegeList` +`func NewRepositoryPrivilegeInputRequest(privileges []RepositoryPrivilegeDict, ) *RepositoryPrivilegeInputRequest` -NewRepositoryPrivilegeList instantiates a new RepositoryPrivilegeList object +NewRepositoryPrivilegeInputRequest instantiates a new RepositoryPrivilegeInputRequest object 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 -### NewRepositoryPrivilegeListWithDefaults +### NewRepositoryPrivilegeInputRequestWithDefaults -`func NewRepositoryPrivilegeListWithDefaults() *RepositoryPrivilegeList` +`func NewRepositoryPrivilegeInputRequestWithDefaults() *RepositoryPrivilegeInputRequest` -NewRepositoryPrivilegeListWithDefaults instantiates a new RepositoryPrivilegeList object +NewRepositoryPrivilegeInputRequestWithDefaults instantiates a new RepositoryPrivilegeInputRequest object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set ### GetPrivileges -`func (o *RepositoryPrivilegeList) GetPrivileges() string` +`func (o *RepositoryPrivilegeInputRequest) GetPrivileges() []RepositoryPrivilegeDict` GetPrivileges returns the Privileges field if non-nil, zero value otherwise. ### GetPrivilegesOk -`func (o *RepositoryPrivilegeList) GetPrivilegesOk() (*string, bool)` +`func (o *RepositoryPrivilegeInputRequest) GetPrivilegesOk() (*[]RepositoryPrivilegeDict, bool)` GetPrivilegesOk returns a tuple with the Privileges field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetPrivileges -`func (o *RepositoryPrivilegeList) SetPrivileges(v string)` +`func (o *RepositoryPrivilegeInputRequest) SetPrivileges(v []RepositoryPrivilegeDict)` SetPrivileges sets Privileges field to given value. -### HasPrivileges - -`func (o *RepositoryPrivilegeList) HasPrivileges() bool` - -HasPrivileges 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/docs/RepositoryPrivilegeInputRequestPatch.md b/docs/RepositoryPrivilegeInputRequestPatch.md new file mode 100644 index 00000000..8bf8e64e --- /dev/null +++ b/docs/RepositoryPrivilegeInputRequestPatch.md @@ -0,0 +1,56 @@ +# RepositoryPrivilegeInputRequestPatch + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Privileges** | Pointer to [**[]RepositoryPrivilegeDict**](RepositoryPrivilegeDict.md) | List of objects with explicit privileges to the repository. | [optional] + +## Methods + +### NewRepositoryPrivilegeInputRequestPatch + +`func NewRepositoryPrivilegeInputRequestPatch() *RepositoryPrivilegeInputRequestPatch` + +NewRepositoryPrivilegeInputRequestPatch instantiates a new RepositoryPrivilegeInputRequestPatch object +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 + +### NewRepositoryPrivilegeInputRequestPatchWithDefaults + +`func NewRepositoryPrivilegeInputRequestPatchWithDefaults() *RepositoryPrivilegeInputRequestPatch` + +NewRepositoryPrivilegeInputRequestPatchWithDefaults instantiates a new RepositoryPrivilegeInputRequestPatch object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetPrivileges + +`func (o *RepositoryPrivilegeInputRequestPatch) GetPrivileges() []RepositoryPrivilegeDict` + +GetPrivileges returns the Privileges field if non-nil, zero value otherwise. + +### GetPrivilegesOk + +`func (o *RepositoryPrivilegeInputRequestPatch) GetPrivilegesOk() (*[]RepositoryPrivilegeDict, bool)` + +GetPrivilegesOk returns a tuple with the Privileges field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetPrivileges + +`func (o *RepositoryPrivilegeInputRequestPatch) SetPrivileges(v []RepositoryPrivilegeDict)` + +SetPrivileges sets Privileges field to given value. + +### HasPrivileges + +`func (o *RepositoryPrivilegeInputRequestPatch) HasPrivileges() bool` + +HasPrivileges 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/docs/RepositoryPrivilegeInputResponse.md b/docs/RepositoryPrivilegeInputResponse.md new file mode 100644 index 00000000..ebc5fb24 --- /dev/null +++ b/docs/RepositoryPrivilegeInputResponse.md @@ -0,0 +1,51 @@ +# RepositoryPrivilegeInputResponse + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Privileges** | [**[]RepositoryPrivilegeDict**](RepositoryPrivilegeDict.md) | List of objects with explicit privileges to the repository. | + +## Methods + +### NewRepositoryPrivilegeInputResponse + +`func NewRepositoryPrivilegeInputResponse(privileges []RepositoryPrivilegeDict, ) *RepositoryPrivilegeInputResponse` + +NewRepositoryPrivilegeInputResponse instantiates a new RepositoryPrivilegeInputResponse object +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 + +### NewRepositoryPrivilegeInputResponseWithDefaults + +`func NewRepositoryPrivilegeInputResponseWithDefaults() *RepositoryPrivilegeInputResponse` + +NewRepositoryPrivilegeInputResponseWithDefaults instantiates a new RepositoryPrivilegeInputResponse object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetPrivileges + +`func (o *RepositoryPrivilegeInputResponse) GetPrivileges() []RepositoryPrivilegeDict` + +GetPrivileges returns the Privileges field if non-nil, zero value otherwise. + +### GetPrivilegesOk + +`func (o *RepositoryPrivilegeInputResponse) GetPrivilegesOk() (*[]RepositoryPrivilegeDict, bool)` + +GetPrivilegesOk returns a tuple with the Privileges field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetPrivileges + +`func (o *RepositoryPrivilegeInputResponse) SetPrivileges(v []RepositoryPrivilegeDict)` + +SetPrivileges sets Privileges field to given value. + + + +[[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/docs/ReposPartialUpdate.md b/docs/RepositoryRequestPatch.md similarity index 69% rename from docs/ReposPartialUpdate.md rename to docs/RepositoryRequestPatch.md index 057efae5..9110419b 100644 --- a/docs/ReposPartialUpdate.md +++ b/docs/RepositoryRequestPatch.md @@ -1,32 +1,34 @@ -# ReposPartialUpdate +# RepositoryRequestPatch ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**ContentKind** | Pointer to **string** | The repository content kind determines whether this repository contains packages, or provides a distribution of packages from other repositories. You can only select the content kind at repository creation time. | [optional] [default to "Standard"] **ContextualAuthRealm** | Pointer to **bool** | If checked, missing credentials for this repository where basic authentication is required shall present an enriched value in the 'WWW-Authenticate' header containing the namespace and repository. This can be useful for tooling such as SBT where the authentication realm is used to distinguish and disambiguate credentials. | [optional] **CopyOwn** | Pointer to **bool** | If checked, users can copy any of their own packages that they have uploaded, assuming that they still have write privilege for the repository. This takes precedence over privileges configured in the 'Access Controls' section of the repository, and any inherited from the org. | [optional] -**CopyPackages** | Pointer to **string** | This defines the minimum level of privilege required for a user to copy packages. Unless the package was uploaded by that user, in which the permission may be overridden by the user-specific copy setting. | [optional] -**DefaultPrivilege** | Pointer to **string** | This defines the default level of privilege that all of your organization members have for this repository. This does not include collaborators, but applies to any member of the org regardless of their own membership role (i.e. it applies to owners, managers and members). Be careful if setting this to admin, because any member will be able to change settings. | [optional] +**CopyPackages** | Pointer to **string** | This defines the minimum level of privilege required for a user to copy packages. Unless the package was uploaded by that user, in which the permission may be overridden by the user-specific copy setting. | [optional] [default to "Read"] +**DefaultPrivilege** | Pointer to **string** | This defines the default level of privilege that all of your organization members have for this repository. This does not include collaborators, but applies to any member of the org regardless of their own membership role (i.e. it applies to owners, managers and members). Be careful if setting this to admin, because any member will be able to change settings. | [optional] [default to "None"] **DeleteOwn** | Pointer to **bool** | If checked, users can delete any of their own packages that they have uploaded, assuming that they still have write privilege for the repository. This takes precedence over privileges configured in the 'Access Controls' section of the repository, and any inherited from the org. | [optional] -**DeletePackages** | Pointer to **string** | This defines the minimum level of privilege required for a user to delete packages. Unless the package was uploaded by that user, in which the permission may be overridden by the user-specific delete setting. | [optional] +**DeletePackages** | Pointer to **string** | This defines the minimum level of privilege required for a user to delete packages. Unless the package was uploaded by that user, in which the permission may be overridden by the user-specific delete setting. | [optional] [default to "Admin"] **Description** | Pointer to **string** | A description of the repository's purpose/contents. | [optional] +**Distributes** | Pointer to **[]string** | The repositories distributed through this repo. Adding repos here is only valid if the content_kind is DISTRIBUTION. | [optional] **DockerRefreshTokensEnabled** | Pointer to **bool** | If checked, refresh tokens will be issued in addition to access tokens for Docker authentication. This allows unlimited extension of the lifetime of access tokens. | [optional] **IndexFiles** | Pointer to **bool** | If checked, files contained in packages will be indexed, which increase the synchronisation time required for packages. Note that it is recommended you keep this enabled unless the synchronisation time is significantly impacted. | [optional] **MoveOwn** | Pointer to **bool** | If checked, users can move any of their own packages that they have uploaded, assuming that they still have write privilege for the repository. This takes precedence over privileges configured in the 'Access Controls' section of the repository, and any inherited from the org. | [optional] -**MovePackages** | Pointer to **string** | This defines the minimum level of privilege required for a user to move packages. Unless the package was uploaded by that user, in which the permission may be overridden by the user-specific move setting. | [optional] +**MovePackages** | Pointer to **string** | This defines the minimum level of privilege required for a user to move packages. Unless the package was uploaded by that user, in which the permission may be overridden by the user-specific move setting. | [optional] [default to "Admin"] **Name** | Pointer to **string** | A descriptive name for the repository. | [optional] **ProxyNpmjs** | Pointer to **bool** | If checked, Npm packages that are not in the repository when requested by clients will automatically be proxied from the public npmjs.org registry. If there is at least one version for a package, others will not be proxied. | [optional] **ProxyPypi** | Pointer to **bool** | If checked, Python packages that are not in the repository when requested by clients will automatically be proxied from the public pypi.python.org registry. If there is at least one version for a package, others will not be proxied. | [optional] **RawPackageIndexEnabled** | Pointer to **bool** | If checked, HTML and JSON indexes will be generated that list all available raw packages in the repository. | [optional] **RawPackageIndexSignaturesEnabled** | Pointer to **bool** | If checked, the HTML and JSON indexes will display raw package GPG signatures alongside the index packages. | [optional] -**ReplacePackages** | Pointer to **string** | This defines the minimum level of privilege required for a user to republish packages. Unless the package was uploaded by that user, in which the permission may be overridden by the user-specific republish setting. Please note that the user still requires the privilege to delete packages that will be replaced by the new package; otherwise the republish will fail. | [optional] +**ReplacePackages** | Pointer to **string** | This defines the minimum level of privilege required for a user to republish packages. Unless the package was uploaded by that user, in which the permission may be overridden by the user-specific republish setting. Please note that the user still requires the privilege to delete packages that will be replaced by the new package; otherwise the republish will fail. | [optional] [default to "Write"] **ReplacePackagesByDefault** | Pointer to **bool** | If checked, uploaded packages will overwrite/replace any others with the same attributes (e.g. same version) by default. This only applies if the user has the required privilege for the republishing AND has the required privilege to delete existing packages that they don't own. | [optional] -**RepositoryTypeStr** | Pointer to **string** | The repository type changes how it is accessed and billed. Private repositories can only be used on paid plans, but are visible only to you or authorised delegates. Public repositories are free to use on all plans and visible to all Cloudsmith users. | [optional] +**RepositoryTypeStr** | Pointer to **string** | The repository type changes how it is accessed and billed. Private repositories are visible only to you or authorized delegates. Public repositories are visible to all Cloudsmith users. | [optional] [default to "Public"] **ResyncOwn** | Pointer to **bool** | If checked, users can resync any of their own packages that they have uploaded, assuming that they still have write privilege for the repository. This takes precedence over privileges configured in the 'Access Controls' section of the repository, and any inherited from the org. | [optional] -**ResyncPackages** | Pointer to **string** | This defines the minimum level of privilege required for a user to resync packages. Unless the package was uploaded by that user, in which the permission may be overridden by the user-specific resync setting. | [optional] +**ResyncPackages** | Pointer to **string** | This defines the minimum level of privilege required for a user to resync packages. Unless the package was uploaded by that user, in which the permission may be overridden by the user-specific resync setting. | [optional] [default to "Admin"] **ScanOwn** | Pointer to **bool** | If checked, users can scan any of their own packages that they have uploaded, assuming that they still have write privilege for the repository. This takes precedence over privileges configured in the 'Access Controls' section of the repository, and any inherited from the org. | [optional] -**ScanPackages** | Pointer to **string** | This defines the minimum level of privilege required for a user to scan packages. Unless the package was uploaded by that user, in which the permission may be overridden by the user-specific scan setting. | [optional] +**ScanPackages** | Pointer to **string** | This defines the minimum level of privilege required for a user to scan packages. Unless the package was uploaded by that user, in which the permission may be overridden by the user-specific scan setting. | [optional] [default to "Read"] **ShowSetupAll** | Pointer to **bool** | If checked, the Set Me Up help for all formats will always be shown, even if you don't have packages of that type uploaded. Otherwise, help will only be shown for packages that are in the repository. For example, if you have uploaded only NuGet packages, then the Set Me Up help for NuGet packages will be shown only. | [optional] **Slug** | Pointer to **string** | The slug identifies the repository in URIs. | [optional] **StrictNpmValidation** | Pointer to **bool** | If checked, npm packages will be validated strictly to ensure the package matches specifcation. You can turn this off if you have packages that are old or otherwise mildly off-spec, but we can't guarantee the packages will work with npm-cli or other tooling correctly. Turn off at your own risk! | [optional] @@ -36,849 +38,899 @@ Name | Type | Description | Notes **UseSourcePackages** | Pointer to **bool** | If checked, source packages (if supported) are enabled in installations/configurations. A source package is one that contains source code rather than built binaries. | [optional] **UseVulnerabilityScanning** | Pointer to **bool** | If checked, vulnerability scanning will be enabled for all supported packages within this repository. | [optional] **UserEntitlementsEnabled** | Pointer to **bool** | If checked, users can use and manage their own user-specific entitlement token for the repository (if private). Otherwise, user-specific entitlements are disabled for all users. | [optional] -**ViewStatistics** | Pointer to **string** | This defines the minimum level of privilege required for a user to view repository statistics, to include entitlement-based usage, if applciable. If a user does not have the permission, they won't be able to view any statistics, either via the UI, API or CLI. | [optional] +**ViewStatistics** | Pointer to **string** | This defines the minimum level of privilege required for a user to view repository statistics, to include entitlement-based usage, if applicable. If a user does not have the permission, they won't be able to view any statistics, either via the UI, API or CLI. | [optional] [default to "Read"] ## Methods -### NewReposPartialUpdate +### NewRepositoryRequestPatch -`func NewReposPartialUpdate() *ReposPartialUpdate` +`func NewRepositoryRequestPatch() *RepositoryRequestPatch` -NewReposPartialUpdate instantiates a new ReposPartialUpdate object +NewRepositoryRequestPatch instantiates a new RepositoryRequestPatch object 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 -### NewReposPartialUpdateWithDefaults +### NewRepositoryRequestPatchWithDefaults -`func NewReposPartialUpdateWithDefaults() *ReposPartialUpdate` +`func NewRepositoryRequestPatchWithDefaults() *RepositoryRequestPatch` -NewReposPartialUpdateWithDefaults instantiates a new ReposPartialUpdate object +NewRepositoryRequestPatchWithDefaults instantiates a new RepositoryRequestPatch object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set +### GetContentKind + +`func (o *RepositoryRequestPatch) GetContentKind() string` + +GetContentKind returns the ContentKind field if non-nil, zero value otherwise. + +### GetContentKindOk + +`func (o *RepositoryRequestPatch) GetContentKindOk() (*string, bool)` + +GetContentKindOk returns a tuple with the ContentKind field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetContentKind + +`func (o *RepositoryRequestPatch) SetContentKind(v string)` + +SetContentKind sets ContentKind field to given value. + +### HasContentKind + +`func (o *RepositoryRequestPatch) HasContentKind() bool` + +HasContentKind returns a boolean if a field has been set. + ### GetContextualAuthRealm -`func (o *ReposPartialUpdate) GetContextualAuthRealm() bool` +`func (o *RepositoryRequestPatch) GetContextualAuthRealm() bool` GetContextualAuthRealm returns the ContextualAuthRealm field if non-nil, zero value otherwise. ### GetContextualAuthRealmOk -`func (o *ReposPartialUpdate) GetContextualAuthRealmOk() (*bool, bool)` +`func (o *RepositoryRequestPatch) GetContextualAuthRealmOk() (*bool, bool)` GetContextualAuthRealmOk returns a tuple with the ContextualAuthRealm field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetContextualAuthRealm -`func (o *ReposPartialUpdate) SetContextualAuthRealm(v bool)` +`func (o *RepositoryRequestPatch) SetContextualAuthRealm(v bool)` SetContextualAuthRealm sets ContextualAuthRealm field to given value. ### HasContextualAuthRealm -`func (o *ReposPartialUpdate) HasContextualAuthRealm() bool` +`func (o *RepositoryRequestPatch) HasContextualAuthRealm() bool` HasContextualAuthRealm returns a boolean if a field has been set. ### GetCopyOwn -`func (o *ReposPartialUpdate) GetCopyOwn() bool` +`func (o *RepositoryRequestPatch) GetCopyOwn() bool` GetCopyOwn returns the CopyOwn field if non-nil, zero value otherwise. ### GetCopyOwnOk -`func (o *ReposPartialUpdate) GetCopyOwnOk() (*bool, bool)` +`func (o *RepositoryRequestPatch) GetCopyOwnOk() (*bool, bool)` GetCopyOwnOk returns a tuple with the CopyOwn field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetCopyOwn -`func (o *ReposPartialUpdate) SetCopyOwn(v bool)` +`func (o *RepositoryRequestPatch) SetCopyOwn(v bool)` SetCopyOwn sets CopyOwn field to given value. ### HasCopyOwn -`func (o *ReposPartialUpdate) HasCopyOwn() bool` +`func (o *RepositoryRequestPatch) HasCopyOwn() bool` HasCopyOwn returns a boolean if a field has been set. ### GetCopyPackages -`func (o *ReposPartialUpdate) GetCopyPackages() string` +`func (o *RepositoryRequestPatch) GetCopyPackages() string` GetCopyPackages returns the CopyPackages field if non-nil, zero value otherwise. ### GetCopyPackagesOk -`func (o *ReposPartialUpdate) GetCopyPackagesOk() (*string, bool)` +`func (o *RepositoryRequestPatch) GetCopyPackagesOk() (*string, bool)` GetCopyPackagesOk returns a tuple with the CopyPackages field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetCopyPackages -`func (o *ReposPartialUpdate) SetCopyPackages(v string)` +`func (o *RepositoryRequestPatch) SetCopyPackages(v string)` SetCopyPackages sets CopyPackages field to given value. ### HasCopyPackages -`func (o *ReposPartialUpdate) HasCopyPackages() bool` +`func (o *RepositoryRequestPatch) HasCopyPackages() bool` HasCopyPackages returns a boolean if a field has been set. ### GetDefaultPrivilege -`func (o *ReposPartialUpdate) GetDefaultPrivilege() string` +`func (o *RepositoryRequestPatch) GetDefaultPrivilege() string` GetDefaultPrivilege returns the DefaultPrivilege field if non-nil, zero value otherwise. ### GetDefaultPrivilegeOk -`func (o *ReposPartialUpdate) GetDefaultPrivilegeOk() (*string, bool)` +`func (o *RepositoryRequestPatch) GetDefaultPrivilegeOk() (*string, bool)` GetDefaultPrivilegeOk returns a tuple with the DefaultPrivilege field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetDefaultPrivilege -`func (o *ReposPartialUpdate) SetDefaultPrivilege(v string)` +`func (o *RepositoryRequestPatch) SetDefaultPrivilege(v string)` SetDefaultPrivilege sets DefaultPrivilege field to given value. ### HasDefaultPrivilege -`func (o *ReposPartialUpdate) HasDefaultPrivilege() bool` +`func (o *RepositoryRequestPatch) HasDefaultPrivilege() bool` HasDefaultPrivilege returns a boolean if a field has been set. ### GetDeleteOwn -`func (o *ReposPartialUpdate) GetDeleteOwn() bool` +`func (o *RepositoryRequestPatch) GetDeleteOwn() bool` GetDeleteOwn returns the DeleteOwn field if non-nil, zero value otherwise. ### GetDeleteOwnOk -`func (o *ReposPartialUpdate) GetDeleteOwnOk() (*bool, bool)` +`func (o *RepositoryRequestPatch) GetDeleteOwnOk() (*bool, bool)` GetDeleteOwnOk returns a tuple with the DeleteOwn field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetDeleteOwn -`func (o *ReposPartialUpdate) SetDeleteOwn(v bool)` +`func (o *RepositoryRequestPatch) SetDeleteOwn(v bool)` SetDeleteOwn sets DeleteOwn field to given value. ### HasDeleteOwn -`func (o *ReposPartialUpdate) HasDeleteOwn() bool` +`func (o *RepositoryRequestPatch) HasDeleteOwn() bool` HasDeleteOwn returns a boolean if a field has been set. ### GetDeletePackages -`func (o *ReposPartialUpdate) GetDeletePackages() string` +`func (o *RepositoryRequestPatch) GetDeletePackages() string` GetDeletePackages returns the DeletePackages field if non-nil, zero value otherwise. ### GetDeletePackagesOk -`func (o *ReposPartialUpdate) GetDeletePackagesOk() (*string, bool)` +`func (o *RepositoryRequestPatch) GetDeletePackagesOk() (*string, bool)` GetDeletePackagesOk returns a tuple with the DeletePackages field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetDeletePackages -`func (o *ReposPartialUpdate) SetDeletePackages(v string)` +`func (o *RepositoryRequestPatch) SetDeletePackages(v string)` SetDeletePackages sets DeletePackages field to given value. ### HasDeletePackages -`func (o *ReposPartialUpdate) HasDeletePackages() bool` +`func (o *RepositoryRequestPatch) HasDeletePackages() bool` HasDeletePackages returns a boolean if a field has been set. ### GetDescription -`func (o *ReposPartialUpdate) GetDescription() string` +`func (o *RepositoryRequestPatch) GetDescription() string` GetDescription returns the Description field if non-nil, zero value otherwise. ### GetDescriptionOk -`func (o *ReposPartialUpdate) GetDescriptionOk() (*string, bool)` +`func (o *RepositoryRequestPatch) GetDescriptionOk() (*string, bool)` GetDescriptionOk returns a tuple with the Description field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetDescription -`func (o *ReposPartialUpdate) SetDescription(v string)` +`func (o *RepositoryRequestPatch) SetDescription(v string)` SetDescription sets Description field to given value. ### HasDescription -`func (o *ReposPartialUpdate) HasDescription() bool` +`func (o *RepositoryRequestPatch) HasDescription() bool` HasDescription returns a boolean if a field has been set. +### GetDistributes + +`func (o *RepositoryRequestPatch) GetDistributes() []string` + +GetDistributes returns the Distributes field if non-nil, zero value otherwise. + +### GetDistributesOk + +`func (o *RepositoryRequestPatch) GetDistributesOk() (*[]string, bool)` + +GetDistributesOk returns a tuple with the Distributes field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetDistributes + +`func (o *RepositoryRequestPatch) SetDistributes(v []string)` + +SetDistributes sets Distributes field to given value. + +### HasDistributes + +`func (o *RepositoryRequestPatch) HasDistributes() bool` + +HasDistributes returns a boolean if a field has been set. + ### GetDockerRefreshTokensEnabled -`func (o *ReposPartialUpdate) GetDockerRefreshTokensEnabled() bool` +`func (o *RepositoryRequestPatch) GetDockerRefreshTokensEnabled() bool` GetDockerRefreshTokensEnabled returns the DockerRefreshTokensEnabled field if non-nil, zero value otherwise. ### GetDockerRefreshTokensEnabledOk -`func (o *ReposPartialUpdate) GetDockerRefreshTokensEnabledOk() (*bool, bool)` +`func (o *RepositoryRequestPatch) GetDockerRefreshTokensEnabledOk() (*bool, bool)` GetDockerRefreshTokensEnabledOk returns a tuple with the DockerRefreshTokensEnabled field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetDockerRefreshTokensEnabled -`func (o *ReposPartialUpdate) SetDockerRefreshTokensEnabled(v bool)` +`func (o *RepositoryRequestPatch) SetDockerRefreshTokensEnabled(v bool)` SetDockerRefreshTokensEnabled sets DockerRefreshTokensEnabled field to given value. ### HasDockerRefreshTokensEnabled -`func (o *ReposPartialUpdate) HasDockerRefreshTokensEnabled() bool` +`func (o *RepositoryRequestPatch) HasDockerRefreshTokensEnabled() bool` HasDockerRefreshTokensEnabled returns a boolean if a field has been set. ### GetIndexFiles -`func (o *ReposPartialUpdate) GetIndexFiles() bool` +`func (o *RepositoryRequestPatch) GetIndexFiles() bool` GetIndexFiles returns the IndexFiles field if non-nil, zero value otherwise. ### GetIndexFilesOk -`func (o *ReposPartialUpdate) GetIndexFilesOk() (*bool, bool)` +`func (o *RepositoryRequestPatch) GetIndexFilesOk() (*bool, bool)` GetIndexFilesOk returns a tuple with the IndexFiles field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetIndexFiles -`func (o *ReposPartialUpdate) SetIndexFiles(v bool)` +`func (o *RepositoryRequestPatch) SetIndexFiles(v bool)` SetIndexFiles sets IndexFiles field to given value. ### HasIndexFiles -`func (o *ReposPartialUpdate) HasIndexFiles() bool` +`func (o *RepositoryRequestPatch) HasIndexFiles() bool` HasIndexFiles returns a boolean if a field has been set. ### GetMoveOwn -`func (o *ReposPartialUpdate) GetMoveOwn() bool` +`func (o *RepositoryRequestPatch) GetMoveOwn() bool` GetMoveOwn returns the MoveOwn field if non-nil, zero value otherwise. ### GetMoveOwnOk -`func (o *ReposPartialUpdate) GetMoveOwnOk() (*bool, bool)` +`func (o *RepositoryRequestPatch) GetMoveOwnOk() (*bool, bool)` GetMoveOwnOk returns a tuple with the MoveOwn field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetMoveOwn -`func (o *ReposPartialUpdate) SetMoveOwn(v bool)` +`func (o *RepositoryRequestPatch) SetMoveOwn(v bool)` SetMoveOwn sets MoveOwn field to given value. ### HasMoveOwn -`func (o *ReposPartialUpdate) HasMoveOwn() bool` +`func (o *RepositoryRequestPatch) HasMoveOwn() bool` HasMoveOwn returns a boolean if a field has been set. ### GetMovePackages -`func (o *ReposPartialUpdate) GetMovePackages() string` +`func (o *RepositoryRequestPatch) GetMovePackages() string` GetMovePackages returns the MovePackages field if non-nil, zero value otherwise. ### GetMovePackagesOk -`func (o *ReposPartialUpdate) GetMovePackagesOk() (*string, bool)` +`func (o *RepositoryRequestPatch) GetMovePackagesOk() (*string, bool)` GetMovePackagesOk returns a tuple with the MovePackages field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetMovePackages -`func (o *ReposPartialUpdate) SetMovePackages(v string)` +`func (o *RepositoryRequestPatch) SetMovePackages(v string)` SetMovePackages sets MovePackages field to given value. ### HasMovePackages -`func (o *ReposPartialUpdate) HasMovePackages() bool` +`func (o *RepositoryRequestPatch) HasMovePackages() bool` HasMovePackages returns a boolean if a field has been set. ### GetName -`func (o *ReposPartialUpdate) GetName() string` +`func (o *RepositoryRequestPatch) GetName() string` GetName returns the Name field if non-nil, zero value otherwise. ### GetNameOk -`func (o *ReposPartialUpdate) GetNameOk() (*string, bool)` +`func (o *RepositoryRequestPatch) GetNameOk() (*string, bool)` 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. ### SetName -`func (o *ReposPartialUpdate) SetName(v string)` +`func (o *RepositoryRequestPatch) SetName(v string)` SetName sets Name field to given value. ### HasName -`func (o *ReposPartialUpdate) HasName() bool` +`func (o *RepositoryRequestPatch) HasName() bool` HasName returns a boolean if a field has been set. ### GetProxyNpmjs -`func (o *ReposPartialUpdate) GetProxyNpmjs() bool` +`func (o *RepositoryRequestPatch) GetProxyNpmjs() bool` GetProxyNpmjs returns the ProxyNpmjs field if non-nil, zero value otherwise. ### GetProxyNpmjsOk -`func (o *ReposPartialUpdate) GetProxyNpmjsOk() (*bool, bool)` +`func (o *RepositoryRequestPatch) GetProxyNpmjsOk() (*bool, bool)` GetProxyNpmjsOk returns a tuple with the ProxyNpmjs field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetProxyNpmjs -`func (o *ReposPartialUpdate) SetProxyNpmjs(v bool)` +`func (o *RepositoryRequestPatch) SetProxyNpmjs(v bool)` SetProxyNpmjs sets ProxyNpmjs field to given value. ### HasProxyNpmjs -`func (o *ReposPartialUpdate) HasProxyNpmjs() bool` +`func (o *RepositoryRequestPatch) HasProxyNpmjs() bool` HasProxyNpmjs returns a boolean if a field has been set. ### GetProxyPypi -`func (o *ReposPartialUpdate) GetProxyPypi() bool` +`func (o *RepositoryRequestPatch) GetProxyPypi() bool` GetProxyPypi returns the ProxyPypi field if non-nil, zero value otherwise. ### GetProxyPypiOk -`func (o *ReposPartialUpdate) GetProxyPypiOk() (*bool, bool)` +`func (o *RepositoryRequestPatch) GetProxyPypiOk() (*bool, bool)` GetProxyPypiOk returns a tuple with the ProxyPypi field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetProxyPypi -`func (o *ReposPartialUpdate) SetProxyPypi(v bool)` +`func (o *RepositoryRequestPatch) SetProxyPypi(v bool)` SetProxyPypi sets ProxyPypi field to given value. ### HasProxyPypi -`func (o *ReposPartialUpdate) HasProxyPypi() bool` +`func (o *RepositoryRequestPatch) HasProxyPypi() bool` HasProxyPypi returns a boolean if a field has been set. ### GetRawPackageIndexEnabled -`func (o *ReposPartialUpdate) GetRawPackageIndexEnabled() bool` +`func (o *RepositoryRequestPatch) GetRawPackageIndexEnabled() bool` GetRawPackageIndexEnabled returns the RawPackageIndexEnabled field if non-nil, zero value otherwise. ### GetRawPackageIndexEnabledOk -`func (o *ReposPartialUpdate) GetRawPackageIndexEnabledOk() (*bool, bool)` +`func (o *RepositoryRequestPatch) GetRawPackageIndexEnabledOk() (*bool, bool)` GetRawPackageIndexEnabledOk returns a tuple with the RawPackageIndexEnabled field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetRawPackageIndexEnabled -`func (o *ReposPartialUpdate) SetRawPackageIndexEnabled(v bool)` +`func (o *RepositoryRequestPatch) SetRawPackageIndexEnabled(v bool)` SetRawPackageIndexEnabled sets RawPackageIndexEnabled field to given value. ### HasRawPackageIndexEnabled -`func (o *ReposPartialUpdate) HasRawPackageIndexEnabled() bool` +`func (o *RepositoryRequestPatch) HasRawPackageIndexEnabled() bool` HasRawPackageIndexEnabled returns a boolean if a field has been set. ### GetRawPackageIndexSignaturesEnabled -`func (o *ReposPartialUpdate) GetRawPackageIndexSignaturesEnabled() bool` +`func (o *RepositoryRequestPatch) GetRawPackageIndexSignaturesEnabled() bool` GetRawPackageIndexSignaturesEnabled returns the RawPackageIndexSignaturesEnabled field if non-nil, zero value otherwise. ### GetRawPackageIndexSignaturesEnabledOk -`func (o *ReposPartialUpdate) GetRawPackageIndexSignaturesEnabledOk() (*bool, bool)` +`func (o *RepositoryRequestPatch) GetRawPackageIndexSignaturesEnabledOk() (*bool, bool)` GetRawPackageIndexSignaturesEnabledOk returns a tuple with the RawPackageIndexSignaturesEnabled field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetRawPackageIndexSignaturesEnabled -`func (o *ReposPartialUpdate) SetRawPackageIndexSignaturesEnabled(v bool)` +`func (o *RepositoryRequestPatch) SetRawPackageIndexSignaturesEnabled(v bool)` SetRawPackageIndexSignaturesEnabled sets RawPackageIndexSignaturesEnabled field to given value. ### HasRawPackageIndexSignaturesEnabled -`func (o *ReposPartialUpdate) HasRawPackageIndexSignaturesEnabled() bool` +`func (o *RepositoryRequestPatch) HasRawPackageIndexSignaturesEnabled() bool` HasRawPackageIndexSignaturesEnabled returns a boolean if a field has been set. ### GetReplacePackages -`func (o *ReposPartialUpdate) GetReplacePackages() string` +`func (o *RepositoryRequestPatch) GetReplacePackages() string` GetReplacePackages returns the ReplacePackages field if non-nil, zero value otherwise. ### GetReplacePackagesOk -`func (o *ReposPartialUpdate) GetReplacePackagesOk() (*string, bool)` +`func (o *RepositoryRequestPatch) GetReplacePackagesOk() (*string, bool)` GetReplacePackagesOk returns a tuple with the ReplacePackages field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetReplacePackages -`func (o *ReposPartialUpdate) SetReplacePackages(v string)` +`func (o *RepositoryRequestPatch) SetReplacePackages(v string)` SetReplacePackages sets ReplacePackages field to given value. ### HasReplacePackages -`func (o *ReposPartialUpdate) HasReplacePackages() bool` +`func (o *RepositoryRequestPatch) HasReplacePackages() bool` HasReplacePackages returns a boolean if a field has been set. ### GetReplacePackagesByDefault -`func (o *ReposPartialUpdate) GetReplacePackagesByDefault() bool` +`func (o *RepositoryRequestPatch) GetReplacePackagesByDefault() bool` GetReplacePackagesByDefault returns the ReplacePackagesByDefault field if non-nil, zero value otherwise. ### GetReplacePackagesByDefaultOk -`func (o *ReposPartialUpdate) GetReplacePackagesByDefaultOk() (*bool, bool)` +`func (o *RepositoryRequestPatch) GetReplacePackagesByDefaultOk() (*bool, bool)` GetReplacePackagesByDefaultOk returns a tuple with the ReplacePackagesByDefault field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetReplacePackagesByDefault -`func (o *ReposPartialUpdate) SetReplacePackagesByDefault(v bool)` +`func (o *RepositoryRequestPatch) SetReplacePackagesByDefault(v bool)` SetReplacePackagesByDefault sets ReplacePackagesByDefault field to given value. ### HasReplacePackagesByDefault -`func (o *ReposPartialUpdate) HasReplacePackagesByDefault() bool` +`func (o *RepositoryRequestPatch) HasReplacePackagesByDefault() bool` HasReplacePackagesByDefault returns a boolean if a field has been set. ### GetRepositoryTypeStr -`func (o *ReposPartialUpdate) GetRepositoryTypeStr() string` +`func (o *RepositoryRequestPatch) GetRepositoryTypeStr() string` GetRepositoryTypeStr returns the RepositoryTypeStr field if non-nil, zero value otherwise. ### GetRepositoryTypeStrOk -`func (o *ReposPartialUpdate) GetRepositoryTypeStrOk() (*string, bool)` +`func (o *RepositoryRequestPatch) GetRepositoryTypeStrOk() (*string, bool)` GetRepositoryTypeStrOk returns a tuple with the RepositoryTypeStr field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetRepositoryTypeStr -`func (o *ReposPartialUpdate) SetRepositoryTypeStr(v string)` +`func (o *RepositoryRequestPatch) SetRepositoryTypeStr(v string)` SetRepositoryTypeStr sets RepositoryTypeStr field to given value. ### HasRepositoryTypeStr -`func (o *ReposPartialUpdate) HasRepositoryTypeStr() bool` +`func (o *RepositoryRequestPatch) HasRepositoryTypeStr() bool` HasRepositoryTypeStr returns a boolean if a field has been set. ### GetResyncOwn -`func (o *ReposPartialUpdate) GetResyncOwn() bool` +`func (o *RepositoryRequestPatch) GetResyncOwn() bool` GetResyncOwn returns the ResyncOwn field if non-nil, zero value otherwise. ### GetResyncOwnOk -`func (o *ReposPartialUpdate) GetResyncOwnOk() (*bool, bool)` +`func (o *RepositoryRequestPatch) GetResyncOwnOk() (*bool, bool)` GetResyncOwnOk returns a tuple with the ResyncOwn field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetResyncOwn -`func (o *ReposPartialUpdate) SetResyncOwn(v bool)` +`func (o *RepositoryRequestPatch) SetResyncOwn(v bool)` SetResyncOwn sets ResyncOwn field to given value. ### HasResyncOwn -`func (o *ReposPartialUpdate) HasResyncOwn() bool` +`func (o *RepositoryRequestPatch) HasResyncOwn() bool` HasResyncOwn returns a boolean if a field has been set. ### GetResyncPackages -`func (o *ReposPartialUpdate) GetResyncPackages() string` +`func (o *RepositoryRequestPatch) GetResyncPackages() string` GetResyncPackages returns the ResyncPackages field if non-nil, zero value otherwise. ### GetResyncPackagesOk -`func (o *ReposPartialUpdate) GetResyncPackagesOk() (*string, bool)` +`func (o *RepositoryRequestPatch) GetResyncPackagesOk() (*string, bool)` GetResyncPackagesOk returns a tuple with the ResyncPackages field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetResyncPackages -`func (o *ReposPartialUpdate) SetResyncPackages(v string)` +`func (o *RepositoryRequestPatch) SetResyncPackages(v string)` SetResyncPackages sets ResyncPackages field to given value. ### HasResyncPackages -`func (o *ReposPartialUpdate) HasResyncPackages() bool` +`func (o *RepositoryRequestPatch) HasResyncPackages() bool` HasResyncPackages returns a boolean if a field has been set. ### GetScanOwn -`func (o *ReposPartialUpdate) GetScanOwn() bool` +`func (o *RepositoryRequestPatch) GetScanOwn() bool` GetScanOwn returns the ScanOwn field if non-nil, zero value otherwise. ### GetScanOwnOk -`func (o *ReposPartialUpdate) GetScanOwnOk() (*bool, bool)` +`func (o *RepositoryRequestPatch) GetScanOwnOk() (*bool, bool)` GetScanOwnOk returns a tuple with the ScanOwn field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetScanOwn -`func (o *ReposPartialUpdate) SetScanOwn(v bool)` +`func (o *RepositoryRequestPatch) SetScanOwn(v bool)` SetScanOwn sets ScanOwn field to given value. ### HasScanOwn -`func (o *ReposPartialUpdate) HasScanOwn() bool` +`func (o *RepositoryRequestPatch) HasScanOwn() bool` HasScanOwn returns a boolean if a field has been set. ### GetScanPackages -`func (o *ReposPartialUpdate) GetScanPackages() string` +`func (o *RepositoryRequestPatch) GetScanPackages() string` GetScanPackages returns the ScanPackages field if non-nil, zero value otherwise. ### GetScanPackagesOk -`func (o *ReposPartialUpdate) GetScanPackagesOk() (*string, bool)` +`func (o *RepositoryRequestPatch) GetScanPackagesOk() (*string, bool)` GetScanPackagesOk returns a tuple with the ScanPackages field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetScanPackages -`func (o *ReposPartialUpdate) SetScanPackages(v string)` +`func (o *RepositoryRequestPatch) SetScanPackages(v string)` SetScanPackages sets ScanPackages field to given value. ### HasScanPackages -`func (o *ReposPartialUpdate) HasScanPackages() bool` +`func (o *RepositoryRequestPatch) HasScanPackages() bool` HasScanPackages returns a boolean if a field has been set. ### GetShowSetupAll -`func (o *ReposPartialUpdate) GetShowSetupAll() bool` +`func (o *RepositoryRequestPatch) GetShowSetupAll() bool` GetShowSetupAll returns the ShowSetupAll field if non-nil, zero value otherwise. ### GetShowSetupAllOk -`func (o *ReposPartialUpdate) GetShowSetupAllOk() (*bool, bool)` +`func (o *RepositoryRequestPatch) GetShowSetupAllOk() (*bool, bool)` GetShowSetupAllOk returns a tuple with the ShowSetupAll field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetShowSetupAll -`func (o *ReposPartialUpdate) SetShowSetupAll(v bool)` +`func (o *RepositoryRequestPatch) SetShowSetupAll(v bool)` SetShowSetupAll sets ShowSetupAll field to given value. ### HasShowSetupAll -`func (o *ReposPartialUpdate) HasShowSetupAll() bool` +`func (o *RepositoryRequestPatch) HasShowSetupAll() bool` HasShowSetupAll returns a boolean if a field has been set. ### GetSlug -`func (o *ReposPartialUpdate) GetSlug() string` +`func (o *RepositoryRequestPatch) GetSlug() string` GetSlug returns the Slug field if non-nil, zero value otherwise. ### GetSlugOk -`func (o *ReposPartialUpdate) GetSlugOk() (*string, bool)` +`func (o *RepositoryRequestPatch) GetSlugOk() (*string, bool)` GetSlugOk returns a tuple with the Slug field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetSlug -`func (o *ReposPartialUpdate) SetSlug(v string)` +`func (o *RepositoryRequestPatch) SetSlug(v string)` SetSlug sets Slug field to given value. ### HasSlug -`func (o *ReposPartialUpdate) HasSlug() bool` +`func (o *RepositoryRequestPatch) HasSlug() bool` HasSlug returns a boolean if a field has been set. ### GetStrictNpmValidation -`func (o *ReposPartialUpdate) GetStrictNpmValidation() bool` +`func (o *RepositoryRequestPatch) GetStrictNpmValidation() bool` GetStrictNpmValidation returns the StrictNpmValidation field if non-nil, zero value otherwise. ### GetStrictNpmValidationOk -`func (o *ReposPartialUpdate) GetStrictNpmValidationOk() (*bool, bool)` +`func (o *RepositoryRequestPatch) GetStrictNpmValidationOk() (*bool, bool)` GetStrictNpmValidationOk returns a tuple with the StrictNpmValidation field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetStrictNpmValidation -`func (o *ReposPartialUpdate) SetStrictNpmValidation(v bool)` +`func (o *RepositoryRequestPatch) SetStrictNpmValidation(v bool)` SetStrictNpmValidation sets StrictNpmValidation field to given value. ### HasStrictNpmValidation -`func (o *ReposPartialUpdate) HasStrictNpmValidation() bool` +`func (o *RepositoryRequestPatch) HasStrictNpmValidation() bool` HasStrictNpmValidation returns a boolean if a field has been set. ### GetUseDebianLabels -`func (o *ReposPartialUpdate) GetUseDebianLabels() bool` +`func (o *RepositoryRequestPatch) GetUseDebianLabels() bool` GetUseDebianLabels returns the UseDebianLabels field if non-nil, zero value otherwise. ### GetUseDebianLabelsOk -`func (o *ReposPartialUpdate) GetUseDebianLabelsOk() (*bool, bool)` +`func (o *RepositoryRequestPatch) GetUseDebianLabelsOk() (*bool, bool)` GetUseDebianLabelsOk returns a tuple with the UseDebianLabels field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetUseDebianLabels -`func (o *ReposPartialUpdate) SetUseDebianLabels(v bool)` +`func (o *RepositoryRequestPatch) SetUseDebianLabels(v bool)` SetUseDebianLabels sets UseDebianLabels field to given value. ### HasUseDebianLabels -`func (o *ReposPartialUpdate) HasUseDebianLabels() bool` +`func (o *RepositoryRequestPatch) HasUseDebianLabels() bool` HasUseDebianLabels returns a boolean if a field has been set. ### GetUseDefaultCargoUpstream -`func (o *ReposPartialUpdate) GetUseDefaultCargoUpstream() bool` +`func (o *RepositoryRequestPatch) GetUseDefaultCargoUpstream() bool` GetUseDefaultCargoUpstream returns the UseDefaultCargoUpstream field if non-nil, zero value otherwise. ### GetUseDefaultCargoUpstreamOk -`func (o *ReposPartialUpdate) GetUseDefaultCargoUpstreamOk() (*bool, bool)` +`func (o *RepositoryRequestPatch) GetUseDefaultCargoUpstreamOk() (*bool, bool)` GetUseDefaultCargoUpstreamOk returns a tuple with the UseDefaultCargoUpstream field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetUseDefaultCargoUpstream -`func (o *ReposPartialUpdate) SetUseDefaultCargoUpstream(v bool)` +`func (o *RepositoryRequestPatch) SetUseDefaultCargoUpstream(v bool)` SetUseDefaultCargoUpstream sets UseDefaultCargoUpstream field to given value. ### HasUseDefaultCargoUpstream -`func (o *ReposPartialUpdate) HasUseDefaultCargoUpstream() bool` +`func (o *RepositoryRequestPatch) HasUseDefaultCargoUpstream() bool` HasUseDefaultCargoUpstream returns a boolean if a field has been set. ### GetUseNoarchPackages -`func (o *ReposPartialUpdate) GetUseNoarchPackages() bool` +`func (o *RepositoryRequestPatch) GetUseNoarchPackages() bool` GetUseNoarchPackages returns the UseNoarchPackages field if non-nil, zero value otherwise. ### GetUseNoarchPackagesOk -`func (o *ReposPartialUpdate) GetUseNoarchPackagesOk() (*bool, bool)` +`func (o *RepositoryRequestPatch) GetUseNoarchPackagesOk() (*bool, bool)` GetUseNoarchPackagesOk returns a tuple with the UseNoarchPackages field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetUseNoarchPackages -`func (o *ReposPartialUpdate) SetUseNoarchPackages(v bool)` +`func (o *RepositoryRequestPatch) SetUseNoarchPackages(v bool)` SetUseNoarchPackages sets UseNoarchPackages field to given value. ### HasUseNoarchPackages -`func (o *ReposPartialUpdate) HasUseNoarchPackages() bool` +`func (o *RepositoryRequestPatch) HasUseNoarchPackages() bool` HasUseNoarchPackages returns a boolean if a field has been set. ### GetUseSourcePackages -`func (o *ReposPartialUpdate) GetUseSourcePackages() bool` +`func (o *RepositoryRequestPatch) GetUseSourcePackages() bool` GetUseSourcePackages returns the UseSourcePackages field if non-nil, zero value otherwise. ### GetUseSourcePackagesOk -`func (o *ReposPartialUpdate) GetUseSourcePackagesOk() (*bool, bool)` +`func (o *RepositoryRequestPatch) GetUseSourcePackagesOk() (*bool, bool)` GetUseSourcePackagesOk returns a tuple with the UseSourcePackages field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetUseSourcePackages -`func (o *ReposPartialUpdate) SetUseSourcePackages(v bool)` +`func (o *RepositoryRequestPatch) SetUseSourcePackages(v bool)` SetUseSourcePackages sets UseSourcePackages field to given value. ### HasUseSourcePackages -`func (o *ReposPartialUpdate) HasUseSourcePackages() bool` +`func (o *RepositoryRequestPatch) HasUseSourcePackages() bool` HasUseSourcePackages returns a boolean if a field has been set. ### GetUseVulnerabilityScanning -`func (o *ReposPartialUpdate) GetUseVulnerabilityScanning() bool` +`func (o *RepositoryRequestPatch) GetUseVulnerabilityScanning() bool` GetUseVulnerabilityScanning returns the UseVulnerabilityScanning field if non-nil, zero value otherwise. ### GetUseVulnerabilityScanningOk -`func (o *ReposPartialUpdate) GetUseVulnerabilityScanningOk() (*bool, bool)` +`func (o *RepositoryRequestPatch) GetUseVulnerabilityScanningOk() (*bool, bool)` GetUseVulnerabilityScanningOk returns a tuple with the UseVulnerabilityScanning field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetUseVulnerabilityScanning -`func (o *ReposPartialUpdate) SetUseVulnerabilityScanning(v bool)` +`func (o *RepositoryRequestPatch) SetUseVulnerabilityScanning(v bool)` SetUseVulnerabilityScanning sets UseVulnerabilityScanning field to given value. ### HasUseVulnerabilityScanning -`func (o *ReposPartialUpdate) HasUseVulnerabilityScanning() bool` +`func (o *RepositoryRequestPatch) HasUseVulnerabilityScanning() bool` HasUseVulnerabilityScanning returns a boolean if a field has been set. ### GetUserEntitlementsEnabled -`func (o *ReposPartialUpdate) GetUserEntitlementsEnabled() bool` +`func (o *RepositoryRequestPatch) GetUserEntitlementsEnabled() bool` GetUserEntitlementsEnabled returns the UserEntitlementsEnabled field if non-nil, zero value otherwise. ### GetUserEntitlementsEnabledOk -`func (o *ReposPartialUpdate) GetUserEntitlementsEnabledOk() (*bool, bool)` +`func (o *RepositoryRequestPatch) GetUserEntitlementsEnabledOk() (*bool, bool)` GetUserEntitlementsEnabledOk returns a tuple with the UserEntitlementsEnabled field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetUserEntitlementsEnabled -`func (o *ReposPartialUpdate) SetUserEntitlementsEnabled(v bool)` +`func (o *RepositoryRequestPatch) SetUserEntitlementsEnabled(v bool)` SetUserEntitlementsEnabled sets UserEntitlementsEnabled field to given value. ### HasUserEntitlementsEnabled -`func (o *ReposPartialUpdate) HasUserEntitlementsEnabled() bool` +`func (o *RepositoryRequestPatch) HasUserEntitlementsEnabled() bool` HasUserEntitlementsEnabled returns a boolean if a field has been set. ### GetViewStatistics -`func (o *ReposPartialUpdate) GetViewStatistics() string` +`func (o *RepositoryRequestPatch) GetViewStatistics() string` GetViewStatistics returns the ViewStatistics field if non-nil, zero value otherwise. ### GetViewStatisticsOk -`func (o *ReposPartialUpdate) GetViewStatisticsOk() (*string, bool)` +`func (o *RepositoryRequestPatch) GetViewStatisticsOk() (*string, bool)` GetViewStatisticsOk returns a tuple with the ViewStatistics field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetViewStatistics -`func (o *ReposPartialUpdate) SetViewStatistics(v string)` +`func (o *RepositoryRequestPatch) SetViewStatistics(v string)` SetViewStatistics sets ViewStatistics field to given value. ### HasViewStatistics -`func (o *ReposPartialUpdate) HasViewStatistics() bool` +`func (o *RepositoryRequestPatch) HasViewStatistics() bool` HasViewStatistics returns a boolean if a field has been set. diff --git a/docs/RepositoryCreate.md b/docs/RepositoryResponse.md similarity index 67% rename from docs/RepositoryCreate.md rename to docs/RepositoryResponse.md index 444673bc..2166c6ff 100644 --- a/docs/RepositoryCreate.md +++ b/docs/RepositoryResponse.md @@ -1,53 +1,55 @@ -# RepositoryCreate +# RepositoryResponse ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**CdnUrl** | Pointer to **string** | Base URL from which packages and other artifacts are downloaded. | [optional] +**CdnUrl** | Pointer to **NullableString** | Base URL from which packages and other artifacts are downloaded. | [optional] [readonly] +**ContentKind** | Pointer to **string** | The repository content kind determines whether this repository contains packages, or provides a distribution of packages from other repositories. You can only select the content kind at repository creation time. | [optional] [default to "Standard"] **ContextualAuthRealm** | Pointer to **bool** | If checked, missing credentials for this repository where basic authentication is required shall present an enriched value in the 'WWW-Authenticate' header containing the namespace and repository. This can be useful for tooling such as SBT where the authentication realm is used to distinguish and disambiguate credentials. | [optional] **CopyOwn** | Pointer to **bool** | If checked, users can copy any of their own packages that they have uploaded, assuming that they still have write privilege for the repository. This takes precedence over privileges configured in the 'Access Controls' section of the repository, and any inherited from the org. | [optional] -**CopyPackages** | Pointer to **string** | This defines the minimum level of privilege required for a user to copy packages. Unless the package was uploaded by that user, in which the permission may be overridden by the user-specific copy setting. | [optional] -**CreatedAt** | Pointer to **string** | | [optional] -**DefaultPrivilege** | Pointer to **string** | This defines the default level of privilege that all of your organization members have for this repository. This does not include collaborators, but applies to any member of the org regardless of their own membership role (i.e. it applies to owners, managers and members). Be careful if setting this to admin, because any member will be able to change settings. | [optional] +**CopyPackages** | Pointer to **string** | This defines the minimum level of privilege required for a user to copy packages. Unless the package was uploaded by that user, in which the permission may be overridden by the user-specific copy setting. | [optional] [default to "Read"] +**CreatedAt** | Pointer to **time.Time** | | [optional] [readonly] +**DefaultPrivilege** | Pointer to **string** | This defines the default level of privilege that all of your organization members have for this repository. This does not include collaborators, but applies to any member of the org regardless of their own membership role (i.e. it applies to owners, managers and members). Be careful if setting this to admin, because any member will be able to change settings. | [optional] [default to "None"] **DeleteOwn** | Pointer to **bool** | If checked, users can delete any of their own packages that they have uploaded, assuming that they still have write privilege for the repository. This takes precedence over privileges configured in the 'Access Controls' section of the repository, and any inherited from the org. | [optional] -**DeletePackages** | Pointer to **string** | This defines the minimum level of privilege required for a user to delete packages. Unless the package was uploaded by that user, in which the permission may be overridden by the user-specific delete setting. | [optional] -**DeletedAt** | Pointer to **string** | | [optional] +**DeletePackages** | Pointer to **string** | This defines the minimum level of privilege required for a user to delete packages. Unless the package was uploaded by that user, in which the permission may be overridden by the user-specific delete setting. | [optional] [default to "Admin"] +**DeletedAt** | Pointer to **time.Time** | | [optional] [readonly] **Description** | Pointer to **string** | A description of the repository's purpose/contents. | [optional] +**Distributes** | Pointer to **[]string** | The repositories distributed through this repo. Adding repos here is only valid if the content_kind is DISTRIBUTION. | [optional] **DockerRefreshTokensEnabled** | Pointer to **bool** | If checked, refresh tokens will be issued in addition to access tokens for Docker authentication. This allows unlimited extension of the lifetime of access tokens. | [optional] -**GpgKeys** | Pointer to [**[]ReposGpgKeys**](ReposGpgKeys.md) | | [optional] +**GpgKeys** | Pointer to [**[]RepositoryGpgKey**](RepositoryGpgKey.md) | | [optional] [readonly] **IndexFiles** | Pointer to **bool** | If checked, files contained in packages will be indexed, which increase the synchronisation time required for packages. Note that it is recommended you keep this enabled unless the synchronisation time is significantly impacted. | [optional] -**IsOpenSource** | Pointer to **bool** | | [optional] -**IsPrivate** | Pointer to **bool** | | [optional] -**IsPublic** | Pointer to **bool** | | [optional] +**IsOpenSource** | Pointer to **bool** | | [optional] [readonly] +**IsPrivate** | Pointer to **bool** | | [optional] [readonly] +**IsPublic** | Pointer to **bool** | | [optional] [readonly] **MoveOwn** | Pointer to **bool** | If checked, users can move any of their own packages that they have uploaded, assuming that they still have write privilege for the repository. This takes precedence over privileges configured in the 'Access Controls' section of the repository, and any inherited from the org. | [optional] -**MovePackages** | Pointer to **string** | This defines the minimum level of privilege required for a user to move packages. Unless the package was uploaded by that user, in which the permission may be overridden by the user-specific move setting. | [optional] +**MovePackages** | Pointer to **string** | This defines the minimum level of privilege required for a user to move packages. Unless the package was uploaded by that user, in which the permission may be overridden by the user-specific move setting. | [optional] [default to "Admin"] **Name** | **string** | A descriptive name for the repository. | -**Namespace** | Pointer to **string** | Namespace to which this repository belongs. | [optional] -**NamespaceUrl** | Pointer to **string** | API endpoint where data about this namespace can be retrieved. | [optional] -**NumDownloads** | Pointer to **int64** | The number of downloads for packages in the repository. | [optional] -**PackageCount** | Pointer to **int64** | The number of packages in the repository. | [optional] -**PackageGroupCount** | Pointer to **int64** | The number of groups in the repository. | [optional] +**Namespace** | Pointer to **string** | Namespace to which this repository belongs. | [optional] [readonly] +**NamespaceUrl** | Pointer to **string** | API endpoint where data about this namespace can be retrieved. | [optional] [readonly] +**NumDownloads** | Pointer to **int64** | The number of downloads for packages in the repository. | [optional] [readonly] +**PackageCount** | Pointer to **int64** | The number of packages in the repository. | [optional] [readonly] +**PackageGroupCount** | Pointer to **int64** | The number of groups in the repository. | [optional] [readonly] **ProxyNpmjs** | Pointer to **bool** | If checked, Npm packages that are not in the repository when requested by clients will automatically be proxied from the public npmjs.org registry. If there is at least one version for a package, others will not be proxied. | [optional] **ProxyPypi** | Pointer to **bool** | If checked, Python packages that are not in the repository when requested by clients will automatically be proxied from the public pypi.python.org registry. If there is at least one version for a package, others will not be proxied. | [optional] **RawPackageIndexEnabled** | Pointer to **bool** | If checked, HTML and JSON indexes will be generated that list all available raw packages in the repository. | [optional] **RawPackageIndexSignaturesEnabled** | Pointer to **bool** | If checked, the HTML and JSON indexes will display raw package GPG signatures alongside the index packages. | [optional] -**ReplacePackages** | Pointer to **string** | This defines the minimum level of privilege required for a user to republish packages. Unless the package was uploaded by that user, in which the permission may be overridden by the user-specific republish setting. Please note that the user still requires the privilege to delete packages that will be replaced by the new package; otherwise the republish will fail. | [optional] +**ReplacePackages** | Pointer to **string** | This defines the minimum level of privilege required for a user to republish packages. Unless the package was uploaded by that user, in which the permission may be overridden by the user-specific republish setting. Please note that the user still requires the privilege to delete packages that will be replaced by the new package; otherwise the republish will fail. | [optional] [default to "Write"] **ReplacePackagesByDefault** | Pointer to **bool** | If checked, uploaded packages will overwrite/replace any others with the same attributes (e.g. same version) by default. This only applies if the user has the required privilege for the republishing AND has the required privilege to delete existing packages that they don't own. | [optional] -**RepositoryType** | Pointer to **int64** | The repository type changes how it is accessed and billed. Private repositories can only be used on paid plans, but are visible only to you or authorised delegates. Open-Source repositories are always visible to everyone and are restricted by licensing, but are free to use and come with generous bandwidth/storage. You can only select Open-Source at repository creation time. | [optional] -**RepositoryTypeStr** | Pointer to **string** | The repository type changes how it is accessed and billed. Private repositories can only be used on paid plans, but are visible only to you or authorised delegates. Public repositories are free to use on all plans and visible to all Cloudsmith users. | [optional] +**RepositoryType** | Pointer to **int64** | The repository type changes how it is accessed and billed. Private repositories are visible only to you or authorized delegates. Open-Source repositories are always visible to everyone and are restricted by licensing, but are free to use and come with generous bandwidth/storage. You can only select Open-Source at repository creation time. | [optional] [readonly] +**RepositoryTypeStr** | Pointer to **string** | The repository type changes how it is accessed and billed. Private repositories are visible only to you or authorized delegates. Public repositories are visible to all Cloudsmith users. | [optional] [default to "Public"] **ResyncOwn** | Pointer to **bool** | If checked, users can resync any of their own packages that they have uploaded, assuming that they still have write privilege for the repository. This takes precedence over privileges configured in the 'Access Controls' section of the repository, and any inherited from the org. | [optional] -**ResyncPackages** | Pointer to **string** | This defines the minimum level of privilege required for a user to resync packages. Unless the package was uploaded by that user, in which the permission may be overridden by the user-specific resync setting. | [optional] +**ResyncPackages** | Pointer to **string** | This defines the minimum level of privilege required for a user to resync packages. Unless the package was uploaded by that user, in which the permission may be overridden by the user-specific resync setting. | [optional] [default to "Admin"] **ScanOwn** | Pointer to **bool** | If checked, users can scan any of their own packages that they have uploaded, assuming that they still have write privilege for the repository. This takes precedence over privileges configured in the 'Access Controls' section of the repository, and any inherited from the org. | [optional] -**ScanPackages** | Pointer to **string** | This defines the minimum level of privilege required for a user to scan packages. Unless the package was uploaded by that user, in which the permission may be overridden by the user-specific scan setting. | [optional] -**SelfHtmlUrl** | Pointer to **string** | Website URL for this repository. | [optional] -**SelfUrl** | Pointer to **string** | API endpoint where data about this repository can be retrieved. | [optional] +**ScanPackages** | Pointer to **string** | This defines the minimum level of privilege required for a user to scan packages. Unless the package was uploaded by that user, in which the permission may be overridden by the user-specific scan setting. | [optional] [default to "Read"] +**SelfHtmlUrl** | Pointer to **string** | Website URL for this repository. | [optional] [readonly] +**SelfUrl** | Pointer to **string** | API endpoint where data about this repository can be retrieved. | [optional] [readonly] **ShowSetupAll** | Pointer to **bool** | If checked, the Set Me Up help for all formats will always be shown, even if you don't have packages of that type uploaded. Otherwise, help will only be shown for packages that are in the repository. For example, if you have uploaded only NuGet packages, then the Set Me Up help for NuGet packages will be shown only. | [optional] -**Size** | Pointer to **int64** | The calculated size of the repository. | [optional] -**SizeStr** | Pointer to **string** | The calculated size of the repository (human readable). | [optional] +**Size** | Pointer to **int64** | The calculated size of the repository. | [optional] [readonly] +**SizeStr** | Pointer to **string** | The calculated size of the repository (human readable). | [optional] [readonly] **Slug** | Pointer to **string** | The slug identifies the repository in URIs. | [optional] -**SlugPerm** | Pointer to **string** | The slug_perm immutably identifies the repository. It will never change once a repository has been created. | [optional] -**StorageRegion** | Pointer to **string** | The Cloudsmith region in which package files are stored. | [optional] +**SlugPerm** | Pointer to **string** | The slug_perm immutably identifies the repository. It will never change once a repository has been created. | [optional] [readonly] +**StorageRegion** | Pointer to **string** | The Cloudsmith region in which package files are stored. | [optional] [readonly] [default to "default"] **StrictNpmValidation** | Pointer to **bool** | If checked, npm packages will be validated strictly to ensure the package matches specifcation. You can turn this off if you have packages that are old or otherwise mildly off-spec, but we can't guarantee the packages will work with npm-cli or other tooling correctly. Turn off at your own risk! | [optional] **UseDebianLabels** | Pointer to **bool** | If checked, a 'Label' field will be present in Debian-based repositories. It will contain a string that identifies the entitlement token used to authenticate the repository, in the form of 'source=t-<identifier>'; or 'source=none' if no token was used. You can use this to help with pinning. | [optional] **UseDefaultCargoUpstream** | Pointer to **bool** | If checked, dependencies of uploaded Cargo crates which do not set an explicit value for \"registry\" will be assumed to be available from crates.io. If unchecked, dependencies with unspecified \"registry\" values will be assumed to be available in the registry being uploaded to. Uncheck this if you want to ensure that dependencies are only ever installed from Cloudsmith unless explicitly specified as belong to another registry. | [optional] @@ -55,1319 +57,1379 @@ Name | Type | Description | Notes **UseSourcePackages** | Pointer to **bool** | If checked, source packages (if supported) are enabled in installations/configurations. A source package is one that contains source code rather than built binaries. | [optional] **UseVulnerabilityScanning** | Pointer to **bool** | If checked, vulnerability scanning will be enabled for all supported packages within this repository. | [optional] **UserEntitlementsEnabled** | Pointer to **bool** | If checked, users can use and manage their own user-specific entitlement token for the repository (if private). Otherwise, user-specific entitlements are disabled for all users. | [optional] -**ViewStatistics** | Pointer to **string** | This defines the minimum level of privilege required for a user to view repository statistics, to include entitlement-based usage, if applciable. If a user does not have the permission, they won't be able to view any statistics, either via the UI, API or CLI. | [optional] +**ViewStatistics** | Pointer to **string** | This defines the minimum level of privilege required for a user to view repository statistics, to include entitlement-based usage, if applicable. If a user does not have the permission, they won't be able to view any statistics, either via the UI, API or CLI. | [optional] [default to "Read"] ## Methods -### NewRepositoryCreate +### NewRepositoryResponse -`func NewRepositoryCreate(name string, ) *RepositoryCreate` +`func NewRepositoryResponse(name string, ) *RepositoryResponse` -NewRepositoryCreate instantiates a new RepositoryCreate object +NewRepositoryResponse instantiates a new RepositoryResponse object 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 -### NewRepositoryCreateWithDefaults +### NewRepositoryResponseWithDefaults -`func NewRepositoryCreateWithDefaults() *RepositoryCreate` +`func NewRepositoryResponseWithDefaults() *RepositoryResponse` -NewRepositoryCreateWithDefaults instantiates a new RepositoryCreate object +NewRepositoryResponseWithDefaults instantiates a new RepositoryResponse object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set ### GetCdnUrl -`func (o *RepositoryCreate) GetCdnUrl() string` +`func (o *RepositoryResponse) GetCdnUrl() string` GetCdnUrl returns the CdnUrl field if non-nil, zero value otherwise. ### GetCdnUrlOk -`func (o *RepositoryCreate) GetCdnUrlOk() (*string, bool)` +`func (o *RepositoryResponse) GetCdnUrlOk() (*string, bool)` GetCdnUrlOk returns a tuple with the CdnUrl field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetCdnUrl -`func (o *RepositoryCreate) SetCdnUrl(v string)` +`func (o *RepositoryResponse) SetCdnUrl(v string)` SetCdnUrl sets CdnUrl field to given value. ### HasCdnUrl -`func (o *RepositoryCreate) HasCdnUrl() bool` +`func (o *RepositoryResponse) HasCdnUrl() bool` HasCdnUrl returns a boolean if a field has been set. +### SetCdnUrlNil + +`func (o *RepositoryResponse) SetCdnUrlNil(b bool)` + + SetCdnUrlNil sets the value for CdnUrl to be an explicit nil + +### UnsetCdnUrl +`func (o *RepositoryResponse) UnsetCdnUrl()` + +UnsetCdnUrl ensures that no value is present for CdnUrl, not even an explicit nil +### GetContentKind + +`func (o *RepositoryResponse) GetContentKind() string` + +GetContentKind returns the ContentKind field if non-nil, zero value otherwise. + +### GetContentKindOk + +`func (o *RepositoryResponse) GetContentKindOk() (*string, bool)` + +GetContentKindOk returns a tuple with the ContentKind field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetContentKind + +`func (o *RepositoryResponse) SetContentKind(v string)` + +SetContentKind sets ContentKind field to given value. + +### HasContentKind + +`func (o *RepositoryResponse) HasContentKind() bool` + +HasContentKind returns a boolean if a field has been set. + ### GetContextualAuthRealm -`func (o *RepositoryCreate) GetContextualAuthRealm() bool` +`func (o *RepositoryResponse) GetContextualAuthRealm() bool` GetContextualAuthRealm returns the ContextualAuthRealm field if non-nil, zero value otherwise. ### GetContextualAuthRealmOk -`func (o *RepositoryCreate) GetContextualAuthRealmOk() (*bool, bool)` +`func (o *RepositoryResponse) GetContextualAuthRealmOk() (*bool, bool)` GetContextualAuthRealmOk returns a tuple with the ContextualAuthRealm field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetContextualAuthRealm -`func (o *RepositoryCreate) SetContextualAuthRealm(v bool)` +`func (o *RepositoryResponse) SetContextualAuthRealm(v bool)` SetContextualAuthRealm sets ContextualAuthRealm field to given value. ### HasContextualAuthRealm -`func (o *RepositoryCreate) HasContextualAuthRealm() bool` +`func (o *RepositoryResponse) HasContextualAuthRealm() bool` HasContextualAuthRealm returns a boolean if a field has been set. ### GetCopyOwn -`func (o *RepositoryCreate) GetCopyOwn() bool` +`func (o *RepositoryResponse) GetCopyOwn() bool` GetCopyOwn returns the CopyOwn field if non-nil, zero value otherwise. ### GetCopyOwnOk -`func (o *RepositoryCreate) GetCopyOwnOk() (*bool, bool)` +`func (o *RepositoryResponse) GetCopyOwnOk() (*bool, bool)` GetCopyOwnOk returns a tuple with the CopyOwn field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetCopyOwn -`func (o *RepositoryCreate) SetCopyOwn(v bool)` +`func (o *RepositoryResponse) SetCopyOwn(v bool)` SetCopyOwn sets CopyOwn field to given value. ### HasCopyOwn -`func (o *RepositoryCreate) HasCopyOwn() bool` +`func (o *RepositoryResponse) HasCopyOwn() bool` HasCopyOwn returns a boolean if a field has been set. ### GetCopyPackages -`func (o *RepositoryCreate) GetCopyPackages() string` +`func (o *RepositoryResponse) GetCopyPackages() string` GetCopyPackages returns the CopyPackages field if non-nil, zero value otherwise. ### GetCopyPackagesOk -`func (o *RepositoryCreate) GetCopyPackagesOk() (*string, bool)` +`func (o *RepositoryResponse) GetCopyPackagesOk() (*string, bool)` GetCopyPackagesOk returns a tuple with the CopyPackages field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetCopyPackages -`func (o *RepositoryCreate) SetCopyPackages(v string)` +`func (o *RepositoryResponse) SetCopyPackages(v string)` SetCopyPackages sets CopyPackages field to given value. ### HasCopyPackages -`func (o *RepositoryCreate) HasCopyPackages() bool` +`func (o *RepositoryResponse) HasCopyPackages() bool` HasCopyPackages returns a boolean if a field has been set. ### GetCreatedAt -`func (o *RepositoryCreate) GetCreatedAt() string` +`func (o *RepositoryResponse) GetCreatedAt() time.Time` GetCreatedAt returns the CreatedAt field if non-nil, zero value otherwise. ### GetCreatedAtOk -`func (o *RepositoryCreate) GetCreatedAtOk() (*string, bool)` +`func (o *RepositoryResponse) GetCreatedAtOk() (*time.Time, bool)` GetCreatedAtOk returns a tuple with the CreatedAt field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetCreatedAt -`func (o *RepositoryCreate) SetCreatedAt(v string)` +`func (o *RepositoryResponse) SetCreatedAt(v time.Time)` SetCreatedAt sets CreatedAt field to given value. ### HasCreatedAt -`func (o *RepositoryCreate) HasCreatedAt() bool` +`func (o *RepositoryResponse) HasCreatedAt() bool` HasCreatedAt returns a boolean if a field has been set. ### GetDefaultPrivilege -`func (o *RepositoryCreate) GetDefaultPrivilege() string` +`func (o *RepositoryResponse) GetDefaultPrivilege() string` GetDefaultPrivilege returns the DefaultPrivilege field if non-nil, zero value otherwise. ### GetDefaultPrivilegeOk -`func (o *RepositoryCreate) GetDefaultPrivilegeOk() (*string, bool)` +`func (o *RepositoryResponse) GetDefaultPrivilegeOk() (*string, bool)` GetDefaultPrivilegeOk returns a tuple with the DefaultPrivilege field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetDefaultPrivilege -`func (o *RepositoryCreate) SetDefaultPrivilege(v string)` +`func (o *RepositoryResponse) SetDefaultPrivilege(v string)` SetDefaultPrivilege sets DefaultPrivilege field to given value. ### HasDefaultPrivilege -`func (o *RepositoryCreate) HasDefaultPrivilege() bool` +`func (o *RepositoryResponse) HasDefaultPrivilege() bool` HasDefaultPrivilege returns a boolean if a field has been set. ### GetDeleteOwn -`func (o *RepositoryCreate) GetDeleteOwn() bool` +`func (o *RepositoryResponse) GetDeleteOwn() bool` GetDeleteOwn returns the DeleteOwn field if non-nil, zero value otherwise. ### GetDeleteOwnOk -`func (o *RepositoryCreate) GetDeleteOwnOk() (*bool, bool)` +`func (o *RepositoryResponse) GetDeleteOwnOk() (*bool, bool)` GetDeleteOwnOk returns a tuple with the DeleteOwn field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetDeleteOwn -`func (o *RepositoryCreate) SetDeleteOwn(v bool)` +`func (o *RepositoryResponse) SetDeleteOwn(v bool)` SetDeleteOwn sets DeleteOwn field to given value. ### HasDeleteOwn -`func (o *RepositoryCreate) HasDeleteOwn() bool` +`func (o *RepositoryResponse) HasDeleteOwn() bool` HasDeleteOwn returns a boolean if a field has been set. ### GetDeletePackages -`func (o *RepositoryCreate) GetDeletePackages() string` +`func (o *RepositoryResponse) GetDeletePackages() string` GetDeletePackages returns the DeletePackages field if non-nil, zero value otherwise. ### GetDeletePackagesOk -`func (o *RepositoryCreate) GetDeletePackagesOk() (*string, bool)` +`func (o *RepositoryResponse) GetDeletePackagesOk() (*string, bool)` GetDeletePackagesOk returns a tuple with the DeletePackages field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetDeletePackages -`func (o *RepositoryCreate) SetDeletePackages(v string)` +`func (o *RepositoryResponse) SetDeletePackages(v string)` SetDeletePackages sets DeletePackages field to given value. ### HasDeletePackages -`func (o *RepositoryCreate) HasDeletePackages() bool` +`func (o *RepositoryResponse) HasDeletePackages() bool` HasDeletePackages returns a boolean if a field has been set. ### GetDeletedAt -`func (o *RepositoryCreate) GetDeletedAt() string` +`func (o *RepositoryResponse) GetDeletedAt() time.Time` GetDeletedAt returns the DeletedAt field if non-nil, zero value otherwise. ### GetDeletedAtOk -`func (o *RepositoryCreate) GetDeletedAtOk() (*string, bool)` +`func (o *RepositoryResponse) GetDeletedAtOk() (*time.Time, bool)` GetDeletedAtOk returns a tuple with the DeletedAt field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetDeletedAt -`func (o *RepositoryCreate) SetDeletedAt(v string)` +`func (o *RepositoryResponse) SetDeletedAt(v time.Time)` SetDeletedAt sets DeletedAt field to given value. ### HasDeletedAt -`func (o *RepositoryCreate) HasDeletedAt() bool` +`func (o *RepositoryResponse) HasDeletedAt() bool` HasDeletedAt returns a boolean if a field has been set. ### GetDescription -`func (o *RepositoryCreate) GetDescription() string` +`func (o *RepositoryResponse) GetDescription() string` GetDescription returns the Description field if non-nil, zero value otherwise. ### GetDescriptionOk -`func (o *RepositoryCreate) GetDescriptionOk() (*string, bool)` +`func (o *RepositoryResponse) GetDescriptionOk() (*string, bool)` GetDescriptionOk returns a tuple with the Description field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetDescription -`func (o *RepositoryCreate) SetDescription(v string)` +`func (o *RepositoryResponse) SetDescription(v string)` SetDescription sets Description field to given value. ### HasDescription -`func (o *RepositoryCreate) HasDescription() bool` +`func (o *RepositoryResponse) HasDescription() bool` HasDescription returns a boolean if a field has been set. +### GetDistributes + +`func (o *RepositoryResponse) GetDistributes() []string` + +GetDistributes returns the Distributes field if non-nil, zero value otherwise. + +### GetDistributesOk + +`func (o *RepositoryResponse) GetDistributesOk() (*[]string, bool)` + +GetDistributesOk returns a tuple with the Distributes field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetDistributes + +`func (o *RepositoryResponse) SetDistributes(v []string)` + +SetDistributes sets Distributes field to given value. + +### HasDistributes + +`func (o *RepositoryResponse) HasDistributes() bool` + +HasDistributes returns a boolean if a field has been set. + ### GetDockerRefreshTokensEnabled -`func (o *RepositoryCreate) GetDockerRefreshTokensEnabled() bool` +`func (o *RepositoryResponse) GetDockerRefreshTokensEnabled() bool` GetDockerRefreshTokensEnabled returns the DockerRefreshTokensEnabled field if non-nil, zero value otherwise. ### GetDockerRefreshTokensEnabledOk -`func (o *RepositoryCreate) GetDockerRefreshTokensEnabledOk() (*bool, bool)` +`func (o *RepositoryResponse) GetDockerRefreshTokensEnabledOk() (*bool, bool)` GetDockerRefreshTokensEnabledOk returns a tuple with the DockerRefreshTokensEnabled field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetDockerRefreshTokensEnabled -`func (o *RepositoryCreate) SetDockerRefreshTokensEnabled(v bool)` +`func (o *RepositoryResponse) SetDockerRefreshTokensEnabled(v bool)` SetDockerRefreshTokensEnabled sets DockerRefreshTokensEnabled field to given value. ### HasDockerRefreshTokensEnabled -`func (o *RepositoryCreate) HasDockerRefreshTokensEnabled() bool` +`func (o *RepositoryResponse) HasDockerRefreshTokensEnabled() bool` HasDockerRefreshTokensEnabled returns a boolean if a field has been set. ### GetGpgKeys -`func (o *RepositoryCreate) GetGpgKeys() []ReposGpgKeys` +`func (o *RepositoryResponse) GetGpgKeys() []RepositoryGpgKey` GetGpgKeys returns the GpgKeys field if non-nil, zero value otherwise. ### GetGpgKeysOk -`func (o *RepositoryCreate) GetGpgKeysOk() (*[]ReposGpgKeys, bool)` +`func (o *RepositoryResponse) GetGpgKeysOk() (*[]RepositoryGpgKey, bool)` GetGpgKeysOk returns a tuple with the GpgKeys field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetGpgKeys -`func (o *RepositoryCreate) SetGpgKeys(v []ReposGpgKeys)` +`func (o *RepositoryResponse) SetGpgKeys(v []RepositoryGpgKey)` SetGpgKeys sets GpgKeys field to given value. ### HasGpgKeys -`func (o *RepositoryCreate) HasGpgKeys() bool` +`func (o *RepositoryResponse) HasGpgKeys() bool` HasGpgKeys returns a boolean if a field has been set. ### GetIndexFiles -`func (o *RepositoryCreate) GetIndexFiles() bool` +`func (o *RepositoryResponse) GetIndexFiles() bool` GetIndexFiles returns the IndexFiles field if non-nil, zero value otherwise. ### GetIndexFilesOk -`func (o *RepositoryCreate) GetIndexFilesOk() (*bool, bool)` +`func (o *RepositoryResponse) GetIndexFilesOk() (*bool, bool)` GetIndexFilesOk returns a tuple with the IndexFiles field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetIndexFiles -`func (o *RepositoryCreate) SetIndexFiles(v bool)` +`func (o *RepositoryResponse) SetIndexFiles(v bool)` SetIndexFiles sets IndexFiles field to given value. ### HasIndexFiles -`func (o *RepositoryCreate) HasIndexFiles() bool` +`func (o *RepositoryResponse) HasIndexFiles() bool` HasIndexFiles returns a boolean if a field has been set. ### GetIsOpenSource -`func (o *RepositoryCreate) GetIsOpenSource() bool` +`func (o *RepositoryResponse) GetIsOpenSource() bool` GetIsOpenSource returns the IsOpenSource field if non-nil, zero value otherwise. ### GetIsOpenSourceOk -`func (o *RepositoryCreate) GetIsOpenSourceOk() (*bool, bool)` +`func (o *RepositoryResponse) GetIsOpenSourceOk() (*bool, bool)` GetIsOpenSourceOk returns a tuple with the IsOpenSource field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetIsOpenSource -`func (o *RepositoryCreate) SetIsOpenSource(v bool)` +`func (o *RepositoryResponse) SetIsOpenSource(v bool)` SetIsOpenSource sets IsOpenSource field to given value. ### HasIsOpenSource -`func (o *RepositoryCreate) HasIsOpenSource() bool` +`func (o *RepositoryResponse) HasIsOpenSource() bool` HasIsOpenSource returns a boolean if a field has been set. ### GetIsPrivate -`func (o *RepositoryCreate) GetIsPrivate() bool` +`func (o *RepositoryResponse) GetIsPrivate() bool` GetIsPrivate returns the IsPrivate field if non-nil, zero value otherwise. ### GetIsPrivateOk -`func (o *RepositoryCreate) GetIsPrivateOk() (*bool, bool)` +`func (o *RepositoryResponse) GetIsPrivateOk() (*bool, bool)` GetIsPrivateOk returns a tuple with the IsPrivate field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetIsPrivate -`func (o *RepositoryCreate) SetIsPrivate(v bool)` +`func (o *RepositoryResponse) SetIsPrivate(v bool)` SetIsPrivate sets IsPrivate field to given value. ### HasIsPrivate -`func (o *RepositoryCreate) HasIsPrivate() bool` +`func (o *RepositoryResponse) HasIsPrivate() bool` HasIsPrivate returns a boolean if a field has been set. ### GetIsPublic -`func (o *RepositoryCreate) GetIsPublic() bool` +`func (o *RepositoryResponse) GetIsPublic() bool` GetIsPublic returns the IsPublic field if non-nil, zero value otherwise. ### GetIsPublicOk -`func (o *RepositoryCreate) GetIsPublicOk() (*bool, bool)` +`func (o *RepositoryResponse) GetIsPublicOk() (*bool, bool)` GetIsPublicOk returns a tuple with the IsPublic field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetIsPublic -`func (o *RepositoryCreate) SetIsPublic(v bool)` +`func (o *RepositoryResponse) SetIsPublic(v bool)` SetIsPublic sets IsPublic field to given value. ### HasIsPublic -`func (o *RepositoryCreate) HasIsPublic() bool` +`func (o *RepositoryResponse) HasIsPublic() bool` HasIsPublic returns a boolean if a field has been set. ### GetMoveOwn -`func (o *RepositoryCreate) GetMoveOwn() bool` +`func (o *RepositoryResponse) GetMoveOwn() bool` GetMoveOwn returns the MoveOwn field if non-nil, zero value otherwise. ### GetMoveOwnOk -`func (o *RepositoryCreate) GetMoveOwnOk() (*bool, bool)` +`func (o *RepositoryResponse) GetMoveOwnOk() (*bool, bool)` GetMoveOwnOk returns a tuple with the MoveOwn field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetMoveOwn -`func (o *RepositoryCreate) SetMoveOwn(v bool)` +`func (o *RepositoryResponse) SetMoveOwn(v bool)` SetMoveOwn sets MoveOwn field to given value. ### HasMoveOwn -`func (o *RepositoryCreate) HasMoveOwn() bool` +`func (o *RepositoryResponse) HasMoveOwn() bool` HasMoveOwn returns a boolean if a field has been set. ### GetMovePackages -`func (o *RepositoryCreate) GetMovePackages() string` +`func (o *RepositoryResponse) GetMovePackages() string` GetMovePackages returns the MovePackages field if non-nil, zero value otherwise. ### GetMovePackagesOk -`func (o *RepositoryCreate) GetMovePackagesOk() (*string, bool)` +`func (o *RepositoryResponse) GetMovePackagesOk() (*string, bool)` GetMovePackagesOk returns a tuple with the MovePackages field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetMovePackages -`func (o *RepositoryCreate) SetMovePackages(v string)` +`func (o *RepositoryResponse) SetMovePackages(v string)` SetMovePackages sets MovePackages field to given value. ### HasMovePackages -`func (o *RepositoryCreate) HasMovePackages() bool` +`func (o *RepositoryResponse) HasMovePackages() bool` HasMovePackages returns a boolean if a field has been set. ### GetName -`func (o *RepositoryCreate) GetName() string` +`func (o *RepositoryResponse) GetName() string` GetName returns the Name field if non-nil, zero value otherwise. ### GetNameOk -`func (o *RepositoryCreate) GetNameOk() (*string, bool)` +`func (o *RepositoryResponse) GetNameOk() (*string, bool)` 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. ### SetName -`func (o *RepositoryCreate) SetName(v string)` +`func (o *RepositoryResponse) SetName(v string)` SetName sets Name field to given value. ### GetNamespace -`func (o *RepositoryCreate) GetNamespace() string` +`func (o *RepositoryResponse) GetNamespace() string` GetNamespace returns the Namespace field if non-nil, zero value otherwise. ### GetNamespaceOk -`func (o *RepositoryCreate) GetNamespaceOk() (*string, bool)` +`func (o *RepositoryResponse) GetNamespaceOk() (*string, bool)` GetNamespaceOk returns a tuple with the Namespace field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetNamespace -`func (o *RepositoryCreate) SetNamespace(v string)` +`func (o *RepositoryResponse) SetNamespace(v string)` SetNamespace sets Namespace field to given value. ### HasNamespace -`func (o *RepositoryCreate) HasNamespace() bool` +`func (o *RepositoryResponse) HasNamespace() bool` HasNamespace returns a boolean if a field has been set. ### GetNamespaceUrl -`func (o *RepositoryCreate) GetNamespaceUrl() string` +`func (o *RepositoryResponse) GetNamespaceUrl() string` GetNamespaceUrl returns the NamespaceUrl field if non-nil, zero value otherwise. ### GetNamespaceUrlOk -`func (o *RepositoryCreate) GetNamespaceUrlOk() (*string, bool)` +`func (o *RepositoryResponse) GetNamespaceUrlOk() (*string, bool)` GetNamespaceUrlOk returns a tuple with the NamespaceUrl field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetNamespaceUrl -`func (o *RepositoryCreate) SetNamespaceUrl(v string)` +`func (o *RepositoryResponse) SetNamespaceUrl(v string)` SetNamespaceUrl sets NamespaceUrl field to given value. ### HasNamespaceUrl -`func (o *RepositoryCreate) HasNamespaceUrl() bool` +`func (o *RepositoryResponse) HasNamespaceUrl() bool` HasNamespaceUrl returns a boolean if a field has been set. ### GetNumDownloads -`func (o *RepositoryCreate) GetNumDownloads() int64` +`func (o *RepositoryResponse) GetNumDownloads() int64` GetNumDownloads returns the NumDownloads field if non-nil, zero value otherwise. ### GetNumDownloadsOk -`func (o *RepositoryCreate) GetNumDownloadsOk() (*int64, bool)` +`func (o *RepositoryResponse) GetNumDownloadsOk() (*int64, bool)` GetNumDownloadsOk returns a tuple with the NumDownloads field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetNumDownloads -`func (o *RepositoryCreate) SetNumDownloads(v int64)` +`func (o *RepositoryResponse) SetNumDownloads(v int64)` SetNumDownloads sets NumDownloads field to given value. ### HasNumDownloads -`func (o *RepositoryCreate) HasNumDownloads() bool` +`func (o *RepositoryResponse) HasNumDownloads() bool` HasNumDownloads returns a boolean if a field has been set. ### GetPackageCount -`func (o *RepositoryCreate) GetPackageCount() int64` +`func (o *RepositoryResponse) GetPackageCount() int64` GetPackageCount returns the PackageCount field if non-nil, zero value otherwise. ### GetPackageCountOk -`func (o *RepositoryCreate) GetPackageCountOk() (*int64, bool)` +`func (o *RepositoryResponse) GetPackageCountOk() (*int64, bool)` GetPackageCountOk returns a tuple with the PackageCount field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetPackageCount -`func (o *RepositoryCreate) SetPackageCount(v int64)` +`func (o *RepositoryResponse) SetPackageCount(v int64)` SetPackageCount sets PackageCount field to given value. ### HasPackageCount -`func (o *RepositoryCreate) HasPackageCount() bool` +`func (o *RepositoryResponse) HasPackageCount() bool` HasPackageCount returns a boolean if a field has been set. ### GetPackageGroupCount -`func (o *RepositoryCreate) GetPackageGroupCount() int64` +`func (o *RepositoryResponse) GetPackageGroupCount() int64` GetPackageGroupCount returns the PackageGroupCount field if non-nil, zero value otherwise. ### GetPackageGroupCountOk -`func (o *RepositoryCreate) GetPackageGroupCountOk() (*int64, bool)` +`func (o *RepositoryResponse) GetPackageGroupCountOk() (*int64, bool)` GetPackageGroupCountOk returns a tuple with the PackageGroupCount field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetPackageGroupCount -`func (o *RepositoryCreate) SetPackageGroupCount(v int64)` +`func (o *RepositoryResponse) SetPackageGroupCount(v int64)` SetPackageGroupCount sets PackageGroupCount field to given value. ### HasPackageGroupCount -`func (o *RepositoryCreate) HasPackageGroupCount() bool` +`func (o *RepositoryResponse) HasPackageGroupCount() bool` HasPackageGroupCount returns a boolean if a field has been set. ### GetProxyNpmjs -`func (o *RepositoryCreate) GetProxyNpmjs() bool` +`func (o *RepositoryResponse) GetProxyNpmjs() bool` GetProxyNpmjs returns the ProxyNpmjs field if non-nil, zero value otherwise. ### GetProxyNpmjsOk -`func (o *RepositoryCreate) GetProxyNpmjsOk() (*bool, bool)` +`func (o *RepositoryResponse) GetProxyNpmjsOk() (*bool, bool)` GetProxyNpmjsOk returns a tuple with the ProxyNpmjs field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetProxyNpmjs -`func (o *RepositoryCreate) SetProxyNpmjs(v bool)` +`func (o *RepositoryResponse) SetProxyNpmjs(v bool)` SetProxyNpmjs sets ProxyNpmjs field to given value. ### HasProxyNpmjs -`func (o *RepositoryCreate) HasProxyNpmjs() bool` +`func (o *RepositoryResponse) HasProxyNpmjs() bool` HasProxyNpmjs returns a boolean if a field has been set. ### GetProxyPypi -`func (o *RepositoryCreate) GetProxyPypi() bool` +`func (o *RepositoryResponse) GetProxyPypi() bool` GetProxyPypi returns the ProxyPypi field if non-nil, zero value otherwise. ### GetProxyPypiOk -`func (o *RepositoryCreate) GetProxyPypiOk() (*bool, bool)` +`func (o *RepositoryResponse) GetProxyPypiOk() (*bool, bool)` GetProxyPypiOk returns a tuple with the ProxyPypi field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetProxyPypi -`func (o *RepositoryCreate) SetProxyPypi(v bool)` +`func (o *RepositoryResponse) SetProxyPypi(v bool)` SetProxyPypi sets ProxyPypi field to given value. ### HasProxyPypi -`func (o *RepositoryCreate) HasProxyPypi() bool` +`func (o *RepositoryResponse) HasProxyPypi() bool` HasProxyPypi returns a boolean if a field has been set. ### GetRawPackageIndexEnabled -`func (o *RepositoryCreate) GetRawPackageIndexEnabled() bool` +`func (o *RepositoryResponse) GetRawPackageIndexEnabled() bool` GetRawPackageIndexEnabled returns the RawPackageIndexEnabled field if non-nil, zero value otherwise. ### GetRawPackageIndexEnabledOk -`func (o *RepositoryCreate) GetRawPackageIndexEnabledOk() (*bool, bool)` +`func (o *RepositoryResponse) GetRawPackageIndexEnabledOk() (*bool, bool)` GetRawPackageIndexEnabledOk returns a tuple with the RawPackageIndexEnabled field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetRawPackageIndexEnabled -`func (o *RepositoryCreate) SetRawPackageIndexEnabled(v bool)` +`func (o *RepositoryResponse) SetRawPackageIndexEnabled(v bool)` SetRawPackageIndexEnabled sets RawPackageIndexEnabled field to given value. ### HasRawPackageIndexEnabled -`func (o *RepositoryCreate) HasRawPackageIndexEnabled() bool` +`func (o *RepositoryResponse) HasRawPackageIndexEnabled() bool` HasRawPackageIndexEnabled returns a boolean if a field has been set. ### GetRawPackageIndexSignaturesEnabled -`func (o *RepositoryCreate) GetRawPackageIndexSignaturesEnabled() bool` +`func (o *RepositoryResponse) GetRawPackageIndexSignaturesEnabled() bool` GetRawPackageIndexSignaturesEnabled returns the RawPackageIndexSignaturesEnabled field if non-nil, zero value otherwise. ### GetRawPackageIndexSignaturesEnabledOk -`func (o *RepositoryCreate) GetRawPackageIndexSignaturesEnabledOk() (*bool, bool)` +`func (o *RepositoryResponse) GetRawPackageIndexSignaturesEnabledOk() (*bool, bool)` GetRawPackageIndexSignaturesEnabledOk returns a tuple with the RawPackageIndexSignaturesEnabled field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetRawPackageIndexSignaturesEnabled -`func (o *RepositoryCreate) SetRawPackageIndexSignaturesEnabled(v bool)` +`func (o *RepositoryResponse) SetRawPackageIndexSignaturesEnabled(v bool)` SetRawPackageIndexSignaturesEnabled sets RawPackageIndexSignaturesEnabled field to given value. ### HasRawPackageIndexSignaturesEnabled -`func (o *RepositoryCreate) HasRawPackageIndexSignaturesEnabled() bool` +`func (o *RepositoryResponse) HasRawPackageIndexSignaturesEnabled() bool` HasRawPackageIndexSignaturesEnabled returns a boolean if a field has been set. ### GetReplacePackages -`func (o *RepositoryCreate) GetReplacePackages() string` +`func (o *RepositoryResponse) GetReplacePackages() string` GetReplacePackages returns the ReplacePackages field if non-nil, zero value otherwise. ### GetReplacePackagesOk -`func (o *RepositoryCreate) GetReplacePackagesOk() (*string, bool)` +`func (o *RepositoryResponse) GetReplacePackagesOk() (*string, bool)` GetReplacePackagesOk returns a tuple with the ReplacePackages field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetReplacePackages -`func (o *RepositoryCreate) SetReplacePackages(v string)` +`func (o *RepositoryResponse) SetReplacePackages(v string)` SetReplacePackages sets ReplacePackages field to given value. ### HasReplacePackages -`func (o *RepositoryCreate) HasReplacePackages() bool` +`func (o *RepositoryResponse) HasReplacePackages() bool` HasReplacePackages returns a boolean if a field has been set. ### GetReplacePackagesByDefault -`func (o *RepositoryCreate) GetReplacePackagesByDefault() bool` +`func (o *RepositoryResponse) GetReplacePackagesByDefault() bool` GetReplacePackagesByDefault returns the ReplacePackagesByDefault field if non-nil, zero value otherwise. ### GetReplacePackagesByDefaultOk -`func (o *RepositoryCreate) GetReplacePackagesByDefaultOk() (*bool, bool)` +`func (o *RepositoryResponse) GetReplacePackagesByDefaultOk() (*bool, bool)` GetReplacePackagesByDefaultOk returns a tuple with the ReplacePackagesByDefault field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetReplacePackagesByDefault -`func (o *RepositoryCreate) SetReplacePackagesByDefault(v bool)` +`func (o *RepositoryResponse) SetReplacePackagesByDefault(v bool)` SetReplacePackagesByDefault sets ReplacePackagesByDefault field to given value. ### HasReplacePackagesByDefault -`func (o *RepositoryCreate) HasReplacePackagesByDefault() bool` +`func (o *RepositoryResponse) HasReplacePackagesByDefault() bool` HasReplacePackagesByDefault returns a boolean if a field has been set. ### GetRepositoryType -`func (o *RepositoryCreate) GetRepositoryType() int64` +`func (o *RepositoryResponse) GetRepositoryType() int64` GetRepositoryType returns the RepositoryType field if non-nil, zero value otherwise. ### GetRepositoryTypeOk -`func (o *RepositoryCreate) GetRepositoryTypeOk() (*int64, bool)` +`func (o *RepositoryResponse) GetRepositoryTypeOk() (*int64, bool)` GetRepositoryTypeOk returns a tuple with the RepositoryType field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetRepositoryType -`func (o *RepositoryCreate) SetRepositoryType(v int64)` +`func (o *RepositoryResponse) SetRepositoryType(v int64)` SetRepositoryType sets RepositoryType field to given value. ### HasRepositoryType -`func (o *RepositoryCreate) HasRepositoryType() bool` +`func (o *RepositoryResponse) HasRepositoryType() bool` HasRepositoryType returns a boolean if a field has been set. ### GetRepositoryTypeStr -`func (o *RepositoryCreate) GetRepositoryTypeStr() string` +`func (o *RepositoryResponse) GetRepositoryTypeStr() string` GetRepositoryTypeStr returns the RepositoryTypeStr field if non-nil, zero value otherwise. ### GetRepositoryTypeStrOk -`func (o *RepositoryCreate) GetRepositoryTypeStrOk() (*string, bool)` +`func (o *RepositoryResponse) GetRepositoryTypeStrOk() (*string, bool)` GetRepositoryTypeStrOk returns a tuple with the RepositoryTypeStr field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetRepositoryTypeStr -`func (o *RepositoryCreate) SetRepositoryTypeStr(v string)` +`func (o *RepositoryResponse) SetRepositoryTypeStr(v string)` SetRepositoryTypeStr sets RepositoryTypeStr field to given value. ### HasRepositoryTypeStr -`func (o *RepositoryCreate) HasRepositoryTypeStr() bool` +`func (o *RepositoryResponse) HasRepositoryTypeStr() bool` HasRepositoryTypeStr returns a boolean if a field has been set. ### GetResyncOwn -`func (o *RepositoryCreate) GetResyncOwn() bool` +`func (o *RepositoryResponse) GetResyncOwn() bool` GetResyncOwn returns the ResyncOwn field if non-nil, zero value otherwise. ### GetResyncOwnOk -`func (o *RepositoryCreate) GetResyncOwnOk() (*bool, bool)` +`func (o *RepositoryResponse) GetResyncOwnOk() (*bool, bool)` GetResyncOwnOk returns a tuple with the ResyncOwn field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetResyncOwn -`func (o *RepositoryCreate) SetResyncOwn(v bool)` +`func (o *RepositoryResponse) SetResyncOwn(v bool)` SetResyncOwn sets ResyncOwn field to given value. ### HasResyncOwn -`func (o *RepositoryCreate) HasResyncOwn() bool` +`func (o *RepositoryResponse) HasResyncOwn() bool` HasResyncOwn returns a boolean if a field has been set. ### GetResyncPackages -`func (o *RepositoryCreate) GetResyncPackages() string` +`func (o *RepositoryResponse) GetResyncPackages() string` GetResyncPackages returns the ResyncPackages field if non-nil, zero value otherwise. ### GetResyncPackagesOk -`func (o *RepositoryCreate) GetResyncPackagesOk() (*string, bool)` +`func (o *RepositoryResponse) GetResyncPackagesOk() (*string, bool)` GetResyncPackagesOk returns a tuple with the ResyncPackages field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetResyncPackages -`func (o *RepositoryCreate) SetResyncPackages(v string)` +`func (o *RepositoryResponse) SetResyncPackages(v string)` SetResyncPackages sets ResyncPackages field to given value. ### HasResyncPackages -`func (o *RepositoryCreate) HasResyncPackages() bool` +`func (o *RepositoryResponse) HasResyncPackages() bool` HasResyncPackages returns a boolean if a field has been set. ### GetScanOwn -`func (o *RepositoryCreate) GetScanOwn() bool` +`func (o *RepositoryResponse) GetScanOwn() bool` GetScanOwn returns the ScanOwn field if non-nil, zero value otherwise. ### GetScanOwnOk -`func (o *RepositoryCreate) GetScanOwnOk() (*bool, bool)` +`func (o *RepositoryResponse) GetScanOwnOk() (*bool, bool)` GetScanOwnOk returns a tuple with the ScanOwn field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetScanOwn -`func (o *RepositoryCreate) SetScanOwn(v bool)` +`func (o *RepositoryResponse) SetScanOwn(v bool)` SetScanOwn sets ScanOwn field to given value. ### HasScanOwn -`func (o *RepositoryCreate) HasScanOwn() bool` +`func (o *RepositoryResponse) HasScanOwn() bool` HasScanOwn returns a boolean if a field has been set. ### GetScanPackages -`func (o *RepositoryCreate) GetScanPackages() string` +`func (o *RepositoryResponse) GetScanPackages() string` GetScanPackages returns the ScanPackages field if non-nil, zero value otherwise. ### GetScanPackagesOk -`func (o *RepositoryCreate) GetScanPackagesOk() (*string, bool)` +`func (o *RepositoryResponse) GetScanPackagesOk() (*string, bool)` GetScanPackagesOk returns a tuple with the ScanPackages field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetScanPackages -`func (o *RepositoryCreate) SetScanPackages(v string)` +`func (o *RepositoryResponse) SetScanPackages(v string)` SetScanPackages sets ScanPackages field to given value. ### HasScanPackages -`func (o *RepositoryCreate) HasScanPackages() bool` +`func (o *RepositoryResponse) HasScanPackages() bool` HasScanPackages returns a boolean if a field has been set. ### GetSelfHtmlUrl -`func (o *RepositoryCreate) GetSelfHtmlUrl() string` +`func (o *RepositoryResponse) GetSelfHtmlUrl() string` GetSelfHtmlUrl returns the SelfHtmlUrl field if non-nil, zero value otherwise. ### GetSelfHtmlUrlOk -`func (o *RepositoryCreate) GetSelfHtmlUrlOk() (*string, bool)` +`func (o *RepositoryResponse) GetSelfHtmlUrlOk() (*string, bool)` GetSelfHtmlUrlOk returns a tuple with the SelfHtmlUrl field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetSelfHtmlUrl -`func (o *RepositoryCreate) SetSelfHtmlUrl(v string)` +`func (o *RepositoryResponse) SetSelfHtmlUrl(v string)` SetSelfHtmlUrl sets SelfHtmlUrl field to given value. ### HasSelfHtmlUrl -`func (o *RepositoryCreate) HasSelfHtmlUrl() bool` +`func (o *RepositoryResponse) HasSelfHtmlUrl() bool` HasSelfHtmlUrl returns a boolean if a field has been set. ### GetSelfUrl -`func (o *RepositoryCreate) GetSelfUrl() string` +`func (o *RepositoryResponse) GetSelfUrl() string` GetSelfUrl returns the SelfUrl field if non-nil, zero value otherwise. ### GetSelfUrlOk -`func (o *RepositoryCreate) GetSelfUrlOk() (*string, bool)` +`func (o *RepositoryResponse) GetSelfUrlOk() (*string, bool)` GetSelfUrlOk returns a tuple with the SelfUrl field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetSelfUrl -`func (o *RepositoryCreate) SetSelfUrl(v string)` +`func (o *RepositoryResponse) SetSelfUrl(v string)` SetSelfUrl sets SelfUrl field to given value. ### HasSelfUrl -`func (o *RepositoryCreate) HasSelfUrl() bool` +`func (o *RepositoryResponse) HasSelfUrl() bool` HasSelfUrl returns a boolean if a field has been set. ### GetShowSetupAll -`func (o *RepositoryCreate) GetShowSetupAll() bool` +`func (o *RepositoryResponse) GetShowSetupAll() bool` GetShowSetupAll returns the ShowSetupAll field if non-nil, zero value otherwise. ### GetShowSetupAllOk -`func (o *RepositoryCreate) GetShowSetupAllOk() (*bool, bool)` +`func (o *RepositoryResponse) GetShowSetupAllOk() (*bool, bool)` GetShowSetupAllOk returns a tuple with the ShowSetupAll field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetShowSetupAll -`func (o *RepositoryCreate) SetShowSetupAll(v bool)` +`func (o *RepositoryResponse) SetShowSetupAll(v bool)` SetShowSetupAll sets ShowSetupAll field to given value. ### HasShowSetupAll -`func (o *RepositoryCreate) HasShowSetupAll() bool` +`func (o *RepositoryResponse) HasShowSetupAll() bool` HasShowSetupAll returns a boolean if a field has been set. ### GetSize -`func (o *RepositoryCreate) GetSize() int64` +`func (o *RepositoryResponse) GetSize() int64` GetSize returns the Size field if non-nil, zero value otherwise. ### GetSizeOk -`func (o *RepositoryCreate) GetSizeOk() (*int64, bool)` +`func (o *RepositoryResponse) GetSizeOk() (*int64, bool)` GetSizeOk returns a tuple with the Size field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetSize -`func (o *RepositoryCreate) SetSize(v int64)` +`func (o *RepositoryResponse) SetSize(v int64)` SetSize sets Size field to given value. ### HasSize -`func (o *RepositoryCreate) HasSize() bool` +`func (o *RepositoryResponse) HasSize() bool` HasSize returns a boolean if a field has been set. ### GetSizeStr -`func (o *RepositoryCreate) GetSizeStr() string` +`func (o *RepositoryResponse) GetSizeStr() string` GetSizeStr returns the SizeStr field if non-nil, zero value otherwise. ### GetSizeStrOk -`func (o *RepositoryCreate) GetSizeStrOk() (*string, bool)` +`func (o *RepositoryResponse) GetSizeStrOk() (*string, bool)` GetSizeStrOk returns a tuple with the SizeStr field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetSizeStr -`func (o *RepositoryCreate) SetSizeStr(v string)` +`func (o *RepositoryResponse) SetSizeStr(v string)` SetSizeStr sets SizeStr field to given value. ### HasSizeStr -`func (o *RepositoryCreate) HasSizeStr() bool` +`func (o *RepositoryResponse) HasSizeStr() bool` HasSizeStr returns a boolean if a field has been set. ### GetSlug -`func (o *RepositoryCreate) GetSlug() string` +`func (o *RepositoryResponse) GetSlug() string` GetSlug returns the Slug field if non-nil, zero value otherwise. ### GetSlugOk -`func (o *RepositoryCreate) GetSlugOk() (*string, bool)` +`func (o *RepositoryResponse) GetSlugOk() (*string, bool)` GetSlugOk returns a tuple with the Slug field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetSlug -`func (o *RepositoryCreate) SetSlug(v string)` +`func (o *RepositoryResponse) SetSlug(v string)` SetSlug sets Slug field to given value. ### HasSlug -`func (o *RepositoryCreate) HasSlug() bool` +`func (o *RepositoryResponse) HasSlug() bool` HasSlug returns a boolean if a field has been set. ### GetSlugPerm -`func (o *RepositoryCreate) GetSlugPerm() string` +`func (o *RepositoryResponse) GetSlugPerm() string` GetSlugPerm returns the SlugPerm field if non-nil, zero value otherwise. ### GetSlugPermOk -`func (o *RepositoryCreate) GetSlugPermOk() (*string, bool)` +`func (o *RepositoryResponse) GetSlugPermOk() (*string, bool)` GetSlugPermOk returns a tuple with the SlugPerm field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetSlugPerm -`func (o *RepositoryCreate) SetSlugPerm(v string)` +`func (o *RepositoryResponse) SetSlugPerm(v string)` SetSlugPerm sets SlugPerm field to given value. ### HasSlugPerm -`func (o *RepositoryCreate) HasSlugPerm() bool` +`func (o *RepositoryResponse) HasSlugPerm() bool` HasSlugPerm returns a boolean if a field has been set. ### GetStorageRegion -`func (o *RepositoryCreate) GetStorageRegion() string` +`func (o *RepositoryResponse) GetStorageRegion() string` GetStorageRegion returns the StorageRegion field if non-nil, zero value otherwise. ### GetStorageRegionOk -`func (o *RepositoryCreate) GetStorageRegionOk() (*string, bool)` +`func (o *RepositoryResponse) GetStorageRegionOk() (*string, bool)` GetStorageRegionOk returns a tuple with the StorageRegion field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetStorageRegion -`func (o *RepositoryCreate) SetStorageRegion(v string)` +`func (o *RepositoryResponse) SetStorageRegion(v string)` SetStorageRegion sets StorageRegion field to given value. ### HasStorageRegion -`func (o *RepositoryCreate) HasStorageRegion() bool` +`func (o *RepositoryResponse) HasStorageRegion() bool` HasStorageRegion returns a boolean if a field has been set. ### GetStrictNpmValidation -`func (o *RepositoryCreate) GetStrictNpmValidation() bool` +`func (o *RepositoryResponse) GetStrictNpmValidation() bool` GetStrictNpmValidation returns the StrictNpmValidation field if non-nil, zero value otherwise. ### GetStrictNpmValidationOk -`func (o *RepositoryCreate) GetStrictNpmValidationOk() (*bool, bool)` +`func (o *RepositoryResponse) GetStrictNpmValidationOk() (*bool, bool)` GetStrictNpmValidationOk returns a tuple with the StrictNpmValidation field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetStrictNpmValidation -`func (o *RepositoryCreate) SetStrictNpmValidation(v bool)` +`func (o *RepositoryResponse) SetStrictNpmValidation(v bool)` SetStrictNpmValidation sets StrictNpmValidation field to given value. ### HasStrictNpmValidation -`func (o *RepositoryCreate) HasStrictNpmValidation() bool` +`func (o *RepositoryResponse) HasStrictNpmValidation() bool` HasStrictNpmValidation returns a boolean if a field has been set. ### GetUseDebianLabels -`func (o *RepositoryCreate) GetUseDebianLabels() bool` +`func (o *RepositoryResponse) GetUseDebianLabels() bool` GetUseDebianLabels returns the UseDebianLabels field if non-nil, zero value otherwise. ### GetUseDebianLabelsOk -`func (o *RepositoryCreate) GetUseDebianLabelsOk() (*bool, bool)` +`func (o *RepositoryResponse) GetUseDebianLabelsOk() (*bool, bool)` GetUseDebianLabelsOk returns a tuple with the UseDebianLabels field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetUseDebianLabels -`func (o *RepositoryCreate) SetUseDebianLabels(v bool)` +`func (o *RepositoryResponse) SetUseDebianLabels(v bool)` SetUseDebianLabels sets UseDebianLabels field to given value. ### HasUseDebianLabels -`func (o *RepositoryCreate) HasUseDebianLabels() bool` +`func (o *RepositoryResponse) HasUseDebianLabels() bool` HasUseDebianLabels returns a boolean if a field has been set. ### GetUseDefaultCargoUpstream -`func (o *RepositoryCreate) GetUseDefaultCargoUpstream() bool` +`func (o *RepositoryResponse) GetUseDefaultCargoUpstream() bool` GetUseDefaultCargoUpstream returns the UseDefaultCargoUpstream field if non-nil, zero value otherwise. ### GetUseDefaultCargoUpstreamOk -`func (o *RepositoryCreate) GetUseDefaultCargoUpstreamOk() (*bool, bool)` +`func (o *RepositoryResponse) GetUseDefaultCargoUpstreamOk() (*bool, bool)` GetUseDefaultCargoUpstreamOk returns a tuple with the UseDefaultCargoUpstream field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetUseDefaultCargoUpstream -`func (o *RepositoryCreate) SetUseDefaultCargoUpstream(v bool)` +`func (o *RepositoryResponse) SetUseDefaultCargoUpstream(v bool)` SetUseDefaultCargoUpstream sets UseDefaultCargoUpstream field to given value. ### HasUseDefaultCargoUpstream -`func (o *RepositoryCreate) HasUseDefaultCargoUpstream() bool` +`func (o *RepositoryResponse) HasUseDefaultCargoUpstream() bool` HasUseDefaultCargoUpstream returns a boolean if a field has been set. ### GetUseNoarchPackages -`func (o *RepositoryCreate) GetUseNoarchPackages() bool` +`func (o *RepositoryResponse) GetUseNoarchPackages() bool` GetUseNoarchPackages returns the UseNoarchPackages field if non-nil, zero value otherwise. ### GetUseNoarchPackagesOk -`func (o *RepositoryCreate) GetUseNoarchPackagesOk() (*bool, bool)` +`func (o *RepositoryResponse) GetUseNoarchPackagesOk() (*bool, bool)` GetUseNoarchPackagesOk returns a tuple with the UseNoarchPackages field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetUseNoarchPackages -`func (o *RepositoryCreate) SetUseNoarchPackages(v bool)` +`func (o *RepositoryResponse) SetUseNoarchPackages(v bool)` SetUseNoarchPackages sets UseNoarchPackages field to given value. ### HasUseNoarchPackages -`func (o *RepositoryCreate) HasUseNoarchPackages() bool` +`func (o *RepositoryResponse) HasUseNoarchPackages() bool` HasUseNoarchPackages returns a boolean if a field has been set. ### GetUseSourcePackages -`func (o *RepositoryCreate) GetUseSourcePackages() bool` +`func (o *RepositoryResponse) GetUseSourcePackages() bool` GetUseSourcePackages returns the UseSourcePackages field if non-nil, zero value otherwise. ### GetUseSourcePackagesOk -`func (o *RepositoryCreate) GetUseSourcePackagesOk() (*bool, bool)` +`func (o *RepositoryResponse) GetUseSourcePackagesOk() (*bool, bool)` GetUseSourcePackagesOk returns a tuple with the UseSourcePackages field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetUseSourcePackages -`func (o *RepositoryCreate) SetUseSourcePackages(v bool)` +`func (o *RepositoryResponse) SetUseSourcePackages(v bool)` SetUseSourcePackages sets UseSourcePackages field to given value. ### HasUseSourcePackages -`func (o *RepositoryCreate) HasUseSourcePackages() bool` +`func (o *RepositoryResponse) HasUseSourcePackages() bool` HasUseSourcePackages returns a boolean if a field has been set. ### GetUseVulnerabilityScanning -`func (o *RepositoryCreate) GetUseVulnerabilityScanning() bool` +`func (o *RepositoryResponse) GetUseVulnerabilityScanning() bool` GetUseVulnerabilityScanning returns the UseVulnerabilityScanning field if non-nil, zero value otherwise. ### GetUseVulnerabilityScanningOk -`func (o *RepositoryCreate) GetUseVulnerabilityScanningOk() (*bool, bool)` +`func (o *RepositoryResponse) GetUseVulnerabilityScanningOk() (*bool, bool)` GetUseVulnerabilityScanningOk returns a tuple with the UseVulnerabilityScanning field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetUseVulnerabilityScanning -`func (o *RepositoryCreate) SetUseVulnerabilityScanning(v bool)` +`func (o *RepositoryResponse) SetUseVulnerabilityScanning(v bool)` SetUseVulnerabilityScanning sets UseVulnerabilityScanning field to given value. ### HasUseVulnerabilityScanning -`func (o *RepositoryCreate) HasUseVulnerabilityScanning() bool` +`func (o *RepositoryResponse) HasUseVulnerabilityScanning() bool` HasUseVulnerabilityScanning returns a boolean if a field has been set. ### GetUserEntitlementsEnabled -`func (o *RepositoryCreate) GetUserEntitlementsEnabled() bool` +`func (o *RepositoryResponse) GetUserEntitlementsEnabled() bool` GetUserEntitlementsEnabled returns the UserEntitlementsEnabled field if non-nil, zero value otherwise. ### GetUserEntitlementsEnabledOk -`func (o *RepositoryCreate) GetUserEntitlementsEnabledOk() (*bool, bool)` +`func (o *RepositoryResponse) GetUserEntitlementsEnabledOk() (*bool, bool)` GetUserEntitlementsEnabledOk returns a tuple with the UserEntitlementsEnabled field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetUserEntitlementsEnabled -`func (o *RepositoryCreate) SetUserEntitlementsEnabled(v bool)` +`func (o *RepositoryResponse) SetUserEntitlementsEnabled(v bool)` SetUserEntitlementsEnabled sets UserEntitlementsEnabled field to given value. ### HasUserEntitlementsEnabled -`func (o *RepositoryCreate) HasUserEntitlementsEnabled() bool` +`func (o *RepositoryResponse) HasUserEntitlementsEnabled() bool` HasUserEntitlementsEnabled returns a boolean if a field has been set. ### GetViewStatistics -`func (o *RepositoryCreate) GetViewStatistics() string` +`func (o *RepositoryResponse) GetViewStatistics() string` GetViewStatistics returns the ViewStatistics field if non-nil, zero value otherwise. ### GetViewStatisticsOk -`func (o *RepositoryCreate) GetViewStatisticsOk() (*string, bool)` +`func (o *RepositoryResponse) GetViewStatisticsOk() (*string, bool)` GetViewStatisticsOk returns a tuple with the ViewStatistics field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetViewStatistics -`func (o *RepositoryCreate) SetViewStatistics(v string)` +`func (o *RepositoryResponse) SetViewStatistics(v string)` SetViewStatistics sets ViewStatistics field to given value. ### HasViewStatistics -`func (o *RepositoryCreate) HasViewStatistics() bool` +`func (o *RepositoryResponse) HasViewStatistics() bool` HasViewStatistics returns a boolean if a field has been set. diff --git a/docs/ReposRsaCreate.md b/docs/RepositoryRsaKeyCreate.md similarity index 65% rename from docs/ReposRsaCreate.md rename to docs/RepositoryRsaKeyCreate.md index 414cc1b7..40d73ee6 100644 --- a/docs/ReposRsaCreate.md +++ b/docs/RepositoryRsaKeyCreate.md @@ -1,4 +1,4 @@ -# ReposRsaCreate +# RepositoryRsaKeyCreate ## Properties @@ -9,64 +9,64 @@ Name | Type | Description | Notes ## Methods -### NewReposRsaCreate +### NewRepositoryRsaKeyCreate -`func NewReposRsaCreate(rsaPrivateKey string, ) *ReposRsaCreate` +`func NewRepositoryRsaKeyCreate(rsaPrivateKey string, ) *RepositoryRsaKeyCreate` -NewReposRsaCreate instantiates a new ReposRsaCreate object +NewRepositoryRsaKeyCreate instantiates a new RepositoryRsaKeyCreate object 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 -### NewReposRsaCreateWithDefaults +### NewRepositoryRsaKeyCreateWithDefaults -`func NewReposRsaCreateWithDefaults() *ReposRsaCreate` +`func NewRepositoryRsaKeyCreateWithDefaults() *RepositoryRsaKeyCreate` -NewReposRsaCreateWithDefaults instantiates a new ReposRsaCreate object +NewRepositoryRsaKeyCreateWithDefaults instantiates a new RepositoryRsaKeyCreate object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set ### GetRsaPassphrase -`func (o *ReposRsaCreate) GetRsaPassphrase() string` +`func (o *RepositoryRsaKeyCreate) GetRsaPassphrase() string` GetRsaPassphrase returns the RsaPassphrase field if non-nil, zero value otherwise. ### GetRsaPassphraseOk -`func (o *ReposRsaCreate) GetRsaPassphraseOk() (*string, bool)` +`func (o *RepositoryRsaKeyCreate) GetRsaPassphraseOk() (*string, bool)` GetRsaPassphraseOk returns a tuple with the RsaPassphrase field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetRsaPassphrase -`func (o *ReposRsaCreate) SetRsaPassphrase(v string)` +`func (o *RepositoryRsaKeyCreate) SetRsaPassphrase(v string)` SetRsaPassphrase sets RsaPassphrase field to given value. ### HasRsaPassphrase -`func (o *ReposRsaCreate) HasRsaPassphrase() bool` +`func (o *RepositoryRsaKeyCreate) HasRsaPassphrase() bool` HasRsaPassphrase returns a boolean if a field has been set. ### GetRsaPrivateKey -`func (o *ReposRsaCreate) GetRsaPrivateKey() string` +`func (o *RepositoryRsaKeyCreate) GetRsaPrivateKey() string` GetRsaPrivateKey returns the RsaPrivateKey field if non-nil, zero value otherwise. ### GetRsaPrivateKeyOk -`func (o *ReposRsaCreate) GetRsaPrivateKeyOk() (*string, bool)` +`func (o *RepositoryRsaKeyCreate) GetRsaPrivateKeyOk() (*string, bool)` GetRsaPrivateKeyOk returns a tuple with the RsaPrivateKey field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetRsaPrivateKey -`func (o *ReposRsaCreate) SetRsaPrivateKey(v string)` +`func (o *RepositoryRsaKeyCreate) SetRsaPrivateKey(v string)` SetRsaPrivateKey sets RsaPrivateKey field to given value. diff --git a/docs/RepositoryRsaKey.md b/docs/RepositoryRsaKeyResponse.md similarity index 60% rename from docs/RepositoryRsaKey.md rename to docs/RepositoryRsaKeyResponse.md index 9d27546c..9690de3a 100644 --- a/docs/RepositoryRsaKey.md +++ b/docs/RepositoryRsaKeyResponse.md @@ -1,182 +1,182 @@ -# RepositoryRsaKey +# RepositoryRsaKeyResponse ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**Active** | Pointer to **bool** | If selected this is the active key for this repository. | [optional] -**CreatedAt** | Pointer to **string** | | [optional] -**Default** | Pointer to **bool** | If selected this is the default key for this repository. | [optional] -**Fingerprint** | Pointer to **string** | The long identifier used by RSA for this key. | [optional] -**FingerprintShort** | Pointer to **string** | | [optional] -**PublicKey** | Pointer to **string** | The public key given to repository users. | [optional] +**Active** | Pointer to **bool** | If selected this is the active key for this repository. | [optional] [readonly] +**CreatedAt** | Pointer to **time.Time** | | [optional] [readonly] +**Default** | Pointer to **bool** | If selected this is the default key for this repository. | [optional] [readonly] +**Fingerprint** | Pointer to **string** | The long identifier used by RSA for this key. | [optional] [readonly] +**FingerprintShort** | Pointer to **string** | | [optional] [readonly] +**PublicKey** | Pointer to **string** | The public key given to repository users. | [optional] [readonly] ## Methods -### NewRepositoryRsaKey +### NewRepositoryRsaKeyResponse -`func NewRepositoryRsaKey() *RepositoryRsaKey` +`func NewRepositoryRsaKeyResponse() *RepositoryRsaKeyResponse` -NewRepositoryRsaKey instantiates a new RepositoryRsaKey object +NewRepositoryRsaKeyResponse instantiates a new RepositoryRsaKeyResponse object 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 -### NewRepositoryRsaKeyWithDefaults +### NewRepositoryRsaKeyResponseWithDefaults -`func NewRepositoryRsaKeyWithDefaults() *RepositoryRsaKey` +`func NewRepositoryRsaKeyResponseWithDefaults() *RepositoryRsaKeyResponse` -NewRepositoryRsaKeyWithDefaults instantiates a new RepositoryRsaKey object +NewRepositoryRsaKeyResponseWithDefaults instantiates a new RepositoryRsaKeyResponse object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set ### GetActive -`func (o *RepositoryRsaKey) GetActive() bool` +`func (o *RepositoryRsaKeyResponse) GetActive() bool` GetActive returns the Active field if non-nil, zero value otherwise. ### GetActiveOk -`func (o *RepositoryRsaKey) GetActiveOk() (*bool, bool)` +`func (o *RepositoryRsaKeyResponse) GetActiveOk() (*bool, bool)` GetActiveOk returns a tuple with the Active field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetActive -`func (o *RepositoryRsaKey) SetActive(v bool)` +`func (o *RepositoryRsaKeyResponse) SetActive(v bool)` SetActive sets Active field to given value. ### HasActive -`func (o *RepositoryRsaKey) HasActive() bool` +`func (o *RepositoryRsaKeyResponse) HasActive() bool` HasActive returns a boolean if a field has been set. ### GetCreatedAt -`func (o *RepositoryRsaKey) GetCreatedAt() string` +`func (o *RepositoryRsaKeyResponse) GetCreatedAt() time.Time` GetCreatedAt returns the CreatedAt field if non-nil, zero value otherwise. ### GetCreatedAtOk -`func (o *RepositoryRsaKey) GetCreatedAtOk() (*string, bool)` +`func (o *RepositoryRsaKeyResponse) GetCreatedAtOk() (*time.Time, bool)` GetCreatedAtOk returns a tuple with the CreatedAt field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetCreatedAt -`func (o *RepositoryRsaKey) SetCreatedAt(v string)` +`func (o *RepositoryRsaKeyResponse) SetCreatedAt(v time.Time)` SetCreatedAt sets CreatedAt field to given value. ### HasCreatedAt -`func (o *RepositoryRsaKey) HasCreatedAt() bool` +`func (o *RepositoryRsaKeyResponse) HasCreatedAt() bool` HasCreatedAt returns a boolean if a field has been set. ### GetDefault -`func (o *RepositoryRsaKey) GetDefault() bool` +`func (o *RepositoryRsaKeyResponse) GetDefault() bool` GetDefault returns the Default field if non-nil, zero value otherwise. ### GetDefaultOk -`func (o *RepositoryRsaKey) GetDefaultOk() (*bool, bool)` +`func (o *RepositoryRsaKeyResponse) GetDefaultOk() (*bool, bool)` GetDefaultOk returns a tuple with the Default field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetDefault -`func (o *RepositoryRsaKey) SetDefault(v bool)` +`func (o *RepositoryRsaKeyResponse) SetDefault(v bool)` SetDefault sets Default field to given value. ### HasDefault -`func (o *RepositoryRsaKey) HasDefault() bool` +`func (o *RepositoryRsaKeyResponse) HasDefault() bool` HasDefault returns a boolean if a field has been set. ### GetFingerprint -`func (o *RepositoryRsaKey) GetFingerprint() string` +`func (o *RepositoryRsaKeyResponse) GetFingerprint() string` GetFingerprint returns the Fingerprint field if non-nil, zero value otherwise. ### GetFingerprintOk -`func (o *RepositoryRsaKey) GetFingerprintOk() (*string, bool)` +`func (o *RepositoryRsaKeyResponse) GetFingerprintOk() (*string, bool)` GetFingerprintOk returns a tuple with the Fingerprint field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetFingerprint -`func (o *RepositoryRsaKey) SetFingerprint(v string)` +`func (o *RepositoryRsaKeyResponse) SetFingerprint(v string)` SetFingerprint sets Fingerprint field to given value. ### HasFingerprint -`func (o *RepositoryRsaKey) HasFingerprint() bool` +`func (o *RepositoryRsaKeyResponse) HasFingerprint() bool` HasFingerprint returns a boolean if a field has been set. ### GetFingerprintShort -`func (o *RepositoryRsaKey) GetFingerprintShort() string` +`func (o *RepositoryRsaKeyResponse) GetFingerprintShort() string` GetFingerprintShort returns the FingerprintShort field if non-nil, zero value otherwise. ### GetFingerprintShortOk -`func (o *RepositoryRsaKey) GetFingerprintShortOk() (*string, bool)` +`func (o *RepositoryRsaKeyResponse) GetFingerprintShortOk() (*string, bool)` GetFingerprintShortOk returns a tuple with the FingerprintShort field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetFingerprintShort -`func (o *RepositoryRsaKey) SetFingerprintShort(v string)` +`func (o *RepositoryRsaKeyResponse) SetFingerprintShort(v string)` SetFingerprintShort sets FingerprintShort field to given value. ### HasFingerprintShort -`func (o *RepositoryRsaKey) HasFingerprintShort() bool` +`func (o *RepositoryRsaKeyResponse) HasFingerprintShort() bool` HasFingerprintShort returns a boolean if a field has been set. ### GetPublicKey -`func (o *RepositoryRsaKey) GetPublicKey() string` +`func (o *RepositoryRsaKeyResponse) GetPublicKey() string` GetPublicKey returns the PublicKey field if non-nil, zero value otherwise. ### GetPublicKeyOk -`func (o *RepositoryRsaKey) GetPublicKeyOk() (*string, bool)` +`func (o *RepositoryRsaKeyResponse) GetPublicKeyOk() (*string, bool)` GetPublicKeyOk returns a tuple with the PublicKey field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetPublicKey -`func (o *RepositoryRsaKey) SetPublicKey(v string)` +`func (o *RepositoryRsaKeyResponse) SetPublicKey(v string)` SetPublicKey sets PublicKey field to given value. ### HasPublicKey -`func (o *RepositoryRsaKey) HasPublicKey() bool` +`func (o *RepositoryRsaKeyResponse) HasPublicKey() bool` HasPublicKey returns a boolean if a field has been set. diff --git a/docs/RepositoryToken.md b/docs/RepositoryToken.md index 483eae1f..60f09b96 100644 --- a/docs/RepositoryToken.md +++ b/docs/RepositoryToken.md @@ -4,45 +4,45 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**Clients** | Pointer to **int64** | | [optional] -**CreatedAt** | Pointer to **string** | The datetime the token was updated at. | [optional] -**CreatedBy** | Pointer to **string** | | [optional] -**CreatedByUrl** | Pointer to **string** | | [optional] -**Default** | Pointer to **bool** | If selected this is the default token for this repository. | [optional] -**DisableUrl** | Pointer to **string** | | [optional] -**Downloads** | Pointer to **int64** | | [optional] -**EnableUrl** | Pointer to **string** | | [optional] -**EulaAccepted** | Pointer to **map[string]interface{}** | | [optional] -**EulaAcceptedAt** | Pointer to **string** | The datetime the EULA was accepted at. | [optional] -**EulaAcceptedFrom** | Pointer to **string** | | [optional] +**Clients** | Pointer to **int64** | | [optional] [readonly] +**CreatedAt** | Pointer to **time.Time** | The datetime the token was updated at. | [optional] [readonly] +**CreatedBy** | Pointer to **string** | | [optional] [readonly] +**CreatedByUrl** | Pointer to **string** | | [optional] [readonly] +**Default** | Pointer to **bool** | If selected this is the default token for this repository. | [optional] [readonly] +**DisableUrl** | Pointer to **string** | | [optional] [readonly] +**Downloads** | Pointer to **int64** | | [optional] [readonly] +**EnableUrl** | Pointer to **string** | | [optional] [readonly] +**EulaAccepted** | Pointer to [**NullableEula**](Eula.md) | | [optional] +**EulaAcceptedAt** | Pointer to **time.Time** | The datetime the EULA was accepted at. | [optional] [readonly] +**EulaAcceptedFrom** | Pointer to **NullableString** | | [optional] [readonly] **EulaRequired** | Pointer to **bool** | If checked, a EULA acceptance is required for this token. | [optional] -**HasLimits** | Pointer to **bool** | | [optional] -**Identifier** | Pointer to **int64** | | [optional] +**HasLimits** | Pointer to **bool** | | [optional] [readonly] +**Identifier** | Pointer to **int64** | | [optional] [readonly] **IsActive** | Pointer to **bool** | If enabled, the token will allow downloads based on configured restrictions (if any). | [optional] -**IsLimited** | Pointer to **bool** | | [optional] -**LimitBandwidth** | Pointer to **int64** | The maximum download bandwidth allowed for the token. Values are expressed as the selected unit of bandwidth. Please note that since downloads are calculated asynchronously (after the download happens), the limit may not be imposed immediately but at a later point. | [optional] -**LimitBandwidthUnit** | Pointer to **string** | | [optional] -**LimitDateRangeFrom** | Pointer to **string** | The starting date/time the token is allowed to be used from. | [optional] -**LimitDateRangeTo** | Pointer to **string** | The ending date/time the token is allowed to be used until. | [optional] -**LimitNumClients** | Pointer to **int64** | The maximum number of unique clients allowed for the token. Please note that since clients are calculated asynchronously (after the download happens), the limit may not be imposed immediately but at a later point. | [optional] -**LimitNumDownloads** | Pointer to **int64** | The maximum number of downloads allowed for the token. Please note that since downloads are calculated asynchronously (after the download happens), the limit may not be imposed immediately but at a later point. | [optional] -**LimitPackageQuery** | Pointer to **string** | The package-based search query to apply to restrict downloads to. This uses the same syntax as the standard search used for repositories, and also supports boolean logic operators such as OR/AND/NOT and parentheses for grouping. This will still allow access to non-package files, such as metadata. | [optional] -**LimitPathQuery** | Pointer to **string** | The path-based search query to apply to restrict downloads to. This supports boolean logic operators such as OR/AND/NOT and parentheses for grouping. The path evaluated does not include the domain name, the namespace, the entitlement code used, the package format, etc. and it always starts with a forward slash. | [optional] +**IsLimited** | Pointer to **bool** | | [optional] [readonly] +**LimitBandwidth** | Pointer to **NullableInt64** | The maximum download bandwidth allowed for the token. Values are expressed as the selected unit of bandwidth. Please note that since downloads are calculated asynchronously (after the download happens), the limit may not be imposed immediately but at a later point. | [optional] +**LimitBandwidthUnit** | Pointer to **NullableString** | | [optional] [default to "Byte"] +**LimitDateRangeFrom** | Pointer to **NullableTime** | The starting date/time the token is allowed to be used from. | [optional] +**LimitDateRangeTo** | Pointer to **NullableTime** | The ending date/time the token is allowed to be used until. | [optional] +**LimitNumClients** | Pointer to **NullableInt64** | The maximum number of unique clients allowed for the token. Please note that since clients are calculated asynchronously (after the download happens), the limit may not be imposed immediately but at a later point. | [optional] +**LimitNumDownloads** | Pointer to **NullableInt64** | The maximum number of downloads allowed for the token. Please note that since downloads are calculated asynchronously (after the download happens), the limit may not be imposed immediately but at a later point. | [optional] +**LimitPackageQuery** | Pointer to **NullableString** | The package-based search query to apply to restrict downloads to. This uses the same syntax as the standard search used for repositories, and also supports boolean logic operators such as OR/AND/NOT and parentheses for grouping. This will still allow access to non-package files, such as metadata. | [optional] +**LimitPathQuery** | Pointer to **NullableString** | The path-based search query to apply to restrict downloads to. This supports boolean logic operators such as OR/AND/NOT and parentheses for grouping. The path evaluated does not include the domain name, the namespace, the entitlement code used, the package format, etc. and it always starts with a forward slash. | [optional] **Metadata** | Pointer to **map[string]interface{}** | | [optional] **Name** | **string** | | -**RefreshUrl** | Pointer to **string** | | [optional] -**ResetUrl** | Pointer to **string** | | [optional] -**ScheduledResetAt** | Pointer to **string** | The time at which the scheduled reset period has elapsed and the token limits were automatically reset to zero. | [optional] -**ScheduledResetPeriod** | Pointer to **string** | | [optional] -**SelfUrl** | Pointer to **string** | | [optional] -**SlugPerm** | Pointer to **string** | | [optional] +**RefreshUrl** | Pointer to **string** | | [optional] [readonly] +**ResetUrl** | Pointer to **string** | | [optional] [readonly] +**ScheduledResetAt** | Pointer to **NullableTime** | The time at which the scheduled reset period has elapsed and the token limits were automatically reset to zero. | [optional] +**ScheduledResetPeriod** | Pointer to **NullableString** | | [optional] [default to "Never Reset"] +**SelfUrl** | Pointer to **string** | | [optional] [readonly] +**SlugPerm** | Pointer to **string** | | [optional] [readonly] **Token** | Pointer to **string** | | [optional] -**UpdatedAt** | Pointer to **string** | The datetime the token was updated at. | [optional] -**UpdatedBy** | Pointer to **string** | | [optional] -**UpdatedByUrl** | Pointer to **string** | | [optional] -**Usage** | Pointer to **string** | | [optional] -**User** | Pointer to **string** | | [optional] -**UserUrl** | Pointer to **string** | | [optional] +**UpdatedAt** | Pointer to **time.Time** | The datetime the token was updated at. | [optional] [readonly] +**UpdatedBy** | Pointer to **NullableString** | | [optional] [readonly] +**UpdatedByUrl** | Pointer to **NullableString** | | [optional] [readonly] +**Usage** | Pointer to **string** | | [optional] [readonly] +**User** | Pointer to **NullableString** | | [optional] [readonly] +**UserUrl** | Pointer to **NullableString** | | [optional] [readonly] ## Methods @@ -90,20 +90,20 @@ HasClients returns a boolean if a field has been set. ### GetCreatedAt -`func (o *RepositoryToken) GetCreatedAt() string` +`func (o *RepositoryToken) GetCreatedAt() time.Time` GetCreatedAt returns the CreatedAt field if non-nil, zero value otherwise. ### GetCreatedAtOk -`func (o *RepositoryToken) GetCreatedAtOk() (*string, bool)` +`func (o *RepositoryToken) GetCreatedAtOk() (*time.Time, bool)` GetCreatedAtOk returns a tuple with the CreatedAt field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetCreatedAt -`func (o *RepositoryToken) SetCreatedAt(v string)` +`func (o *RepositoryToken) SetCreatedAt(v time.Time)` SetCreatedAt sets CreatedAt field to given value. @@ -265,20 +265,20 @@ HasEnableUrl returns a boolean if a field has been set. ### GetEulaAccepted -`func (o *RepositoryToken) GetEulaAccepted() map[string]interface{}` +`func (o *RepositoryToken) GetEulaAccepted() Eula` GetEulaAccepted returns the EulaAccepted field if non-nil, zero value otherwise. ### GetEulaAcceptedOk -`func (o *RepositoryToken) GetEulaAcceptedOk() (*map[string]interface{}, bool)` +`func (o *RepositoryToken) GetEulaAcceptedOk() (*Eula, bool)` GetEulaAcceptedOk returns a tuple with the EulaAccepted field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetEulaAccepted -`func (o *RepositoryToken) SetEulaAccepted(v map[string]interface{})` +`func (o *RepositoryToken) SetEulaAccepted(v Eula)` SetEulaAccepted sets EulaAccepted field to given value. @@ -288,22 +288,32 @@ SetEulaAccepted sets EulaAccepted field to given value. HasEulaAccepted returns a boolean if a field has been set. +### SetEulaAcceptedNil + +`func (o *RepositoryToken) SetEulaAcceptedNil(b bool)` + + SetEulaAcceptedNil sets the value for EulaAccepted to be an explicit nil + +### UnsetEulaAccepted +`func (o *RepositoryToken) UnsetEulaAccepted()` + +UnsetEulaAccepted ensures that no value is present for EulaAccepted, not even an explicit nil ### GetEulaAcceptedAt -`func (o *RepositoryToken) GetEulaAcceptedAt() string` +`func (o *RepositoryToken) GetEulaAcceptedAt() time.Time` GetEulaAcceptedAt returns the EulaAcceptedAt field if non-nil, zero value otherwise. ### GetEulaAcceptedAtOk -`func (o *RepositoryToken) GetEulaAcceptedAtOk() (*string, bool)` +`func (o *RepositoryToken) GetEulaAcceptedAtOk() (*time.Time, bool)` GetEulaAcceptedAtOk returns a tuple with the EulaAcceptedAt field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetEulaAcceptedAt -`func (o *RepositoryToken) SetEulaAcceptedAt(v string)` +`func (o *RepositoryToken) SetEulaAcceptedAt(v time.Time)` SetEulaAcceptedAt sets EulaAcceptedAt field to given value. @@ -338,6 +348,16 @@ SetEulaAcceptedFrom sets EulaAcceptedFrom field to given value. HasEulaAcceptedFrom returns a boolean if a field has been set. +### SetEulaAcceptedFromNil + +`func (o *RepositoryToken) SetEulaAcceptedFromNil(b bool)` + + SetEulaAcceptedFromNil sets the value for EulaAcceptedFrom to be an explicit nil + +### UnsetEulaAcceptedFrom +`func (o *RepositoryToken) UnsetEulaAcceptedFrom()` + +UnsetEulaAcceptedFrom ensures that no value is present for EulaAcceptedFrom, not even an explicit nil ### GetEulaRequired `func (o *RepositoryToken) GetEulaRequired() bool` @@ -488,6 +508,16 @@ SetLimitBandwidth sets LimitBandwidth field to given value. HasLimitBandwidth returns a boolean if a field has been set. +### SetLimitBandwidthNil + +`func (o *RepositoryToken) SetLimitBandwidthNil(b bool)` + + SetLimitBandwidthNil sets the value for LimitBandwidth to be an explicit nil + +### UnsetLimitBandwidth +`func (o *RepositoryToken) UnsetLimitBandwidth()` + +UnsetLimitBandwidth ensures that no value is present for LimitBandwidth, not even an explicit nil ### GetLimitBandwidthUnit `func (o *RepositoryToken) GetLimitBandwidthUnit() string` @@ -513,22 +543,32 @@ SetLimitBandwidthUnit sets LimitBandwidthUnit field to given value. HasLimitBandwidthUnit returns a boolean if a field has been set. +### SetLimitBandwidthUnitNil + +`func (o *RepositoryToken) SetLimitBandwidthUnitNil(b bool)` + + SetLimitBandwidthUnitNil sets the value for LimitBandwidthUnit to be an explicit nil + +### UnsetLimitBandwidthUnit +`func (o *RepositoryToken) UnsetLimitBandwidthUnit()` + +UnsetLimitBandwidthUnit ensures that no value is present for LimitBandwidthUnit, not even an explicit nil ### GetLimitDateRangeFrom -`func (o *RepositoryToken) GetLimitDateRangeFrom() string` +`func (o *RepositoryToken) GetLimitDateRangeFrom() time.Time` GetLimitDateRangeFrom returns the LimitDateRangeFrom field if non-nil, zero value otherwise. ### GetLimitDateRangeFromOk -`func (o *RepositoryToken) GetLimitDateRangeFromOk() (*string, bool)` +`func (o *RepositoryToken) GetLimitDateRangeFromOk() (*time.Time, bool)` GetLimitDateRangeFromOk returns a tuple with the LimitDateRangeFrom field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetLimitDateRangeFrom -`func (o *RepositoryToken) SetLimitDateRangeFrom(v string)` +`func (o *RepositoryToken) SetLimitDateRangeFrom(v time.Time)` SetLimitDateRangeFrom sets LimitDateRangeFrom field to given value. @@ -538,22 +578,32 @@ SetLimitDateRangeFrom sets LimitDateRangeFrom field to given value. HasLimitDateRangeFrom returns a boolean if a field has been set. +### SetLimitDateRangeFromNil + +`func (o *RepositoryToken) SetLimitDateRangeFromNil(b bool)` + + SetLimitDateRangeFromNil sets the value for LimitDateRangeFrom to be an explicit nil + +### UnsetLimitDateRangeFrom +`func (o *RepositoryToken) UnsetLimitDateRangeFrom()` + +UnsetLimitDateRangeFrom ensures that no value is present for LimitDateRangeFrom, not even an explicit nil ### GetLimitDateRangeTo -`func (o *RepositoryToken) GetLimitDateRangeTo() string` +`func (o *RepositoryToken) GetLimitDateRangeTo() time.Time` GetLimitDateRangeTo returns the LimitDateRangeTo field if non-nil, zero value otherwise. ### GetLimitDateRangeToOk -`func (o *RepositoryToken) GetLimitDateRangeToOk() (*string, bool)` +`func (o *RepositoryToken) GetLimitDateRangeToOk() (*time.Time, bool)` GetLimitDateRangeToOk returns a tuple with the LimitDateRangeTo field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetLimitDateRangeTo -`func (o *RepositoryToken) SetLimitDateRangeTo(v string)` +`func (o *RepositoryToken) SetLimitDateRangeTo(v time.Time)` SetLimitDateRangeTo sets LimitDateRangeTo field to given value. @@ -563,6 +613,16 @@ SetLimitDateRangeTo sets LimitDateRangeTo field to given value. HasLimitDateRangeTo returns a boolean if a field has been set. +### SetLimitDateRangeToNil + +`func (o *RepositoryToken) SetLimitDateRangeToNil(b bool)` + + SetLimitDateRangeToNil sets the value for LimitDateRangeTo to be an explicit nil + +### UnsetLimitDateRangeTo +`func (o *RepositoryToken) UnsetLimitDateRangeTo()` + +UnsetLimitDateRangeTo ensures that no value is present for LimitDateRangeTo, not even an explicit nil ### GetLimitNumClients `func (o *RepositoryToken) GetLimitNumClients() int64` @@ -588,6 +648,16 @@ SetLimitNumClients sets LimitNumClients field to given value. HasLimitNumClients returns a boolean if a field has been set. +### SetLimitNumClientsNil + +`func (o *RepositoryToken) SetLimitNumClientsNil(b bool)` + + SetLimitNumClientsNil sets the value for LimitNumClients to be an explicit nil + +### UnsetLimitNumClients +`func (o *RepositoryToken) UnsetLimitNumClients()` + +UnsetLimitNumClients ensures that no value is present for LimitNumClients, not even an explicit nil ### GetLimitNumDownloads `func (o *RepositoryToken) GetLimitNumDownloads() int64` @@ -613,6 +683,16 @@ SetLimitNumDownloads sets LimitNumDownloads field to given value. HasLimitNumDownloads returns a boolean if a field has been set. +### SetLimitNumDownloadsNil + +`func (o *RepositoryToken) SetLimitNumDownloadsNil(b bool)` + + SetLimitNumDownloadsNil sets the value for LimitNumDownloads to be an explicit nil + +### UnsetLimitNumDownloads +`func (o *RepositoryToken) UnsetLimitNumDownloads()` + +UnsetLimitNumDownloads ensures that no value is present for LimitNumDownloads, not even an explicit nil ### GetLimitPackageQuery `func (o *RepositoryToken) GetLimitPackageQuery() string` @@ -638,6 +718,16 @@ SetLimitPackageQuery sets LimitPackageQuery field to given value. HasLimitPackageQuery returns a boolean if a field has been set. +### SetLimitPackageQueryNil + +`func (o *RepositoryToken) SetLimitPackageQueryNil(b bool)` + + SetLimitPackageQueryNil sets the value for LimitPackageQuery to be an explicit nil + +### UnsetLimitPackageQuery +`func (o *RepositoryToken) UnsetLimitPackageQuery()` + +UnsetLimitPackageQuery ensures that no value is present for LimitPackageQuery, not even an explicit nil ### GetLimitPathQuery `func (o *RepositoryToken) GetLimitPathQuery() string` @@ -663,6 +753,16 @@ SetLimitPathQuery sets LimitPathQuery field to given value. HasLimitPathQuery returns a boolean if a field has been set. +### SetLimitPathQueryNil + +`func (o *RepositoryToken) SetLimitPathQueryNil(b bool)` + + SetLimitPathQueryNil sets the value for LimitPathQuery to be an explicit nil + +### UnsetLimitPathQuery +`func (o *RepositoryToken) UnsetLimitPathQuery()` + +UnsetLimitPathQuery ensures that no value is present for LimitPathQuery, not even an explicit nil ### GetMetadata `func (o *RepositoryToken) GetMetadata() map[string]interface{}` @@ -688,6 +788,16 @@ SetMetadata sets Metadata field to given value. HasMetadata returns a boolean if a field has been set. +### SetMetadataNil + +`func (o *RepositoryToken) SetMetadataNil(b bool)` + + SetMetadataNil sets the value for Metadata to be an explicit nil + +### UnsetMetadata +`func (o *RepositoryToken) UnsetMetadata()` + +UnsetMetadata ensures that no value is present for Metadata, not even an explicit nil ### GetName `func (o *RepositoryToken) GetName() string` @@ -760,20 +870,20 @@ HasResetUrl returns a boolean if a field has been set. ### GetScheduledResetAt -`func (o *RepositoryToken) GetScheduledResetAt() string` +`func (o *RepositoryToken) GetScheduledResetAt() time.Time` GetScheduledResetAt returns the ScheduledResetAt field if non-nil, zero value otherwise. ### GetScheduledResetAtOk -`func (o *RepositoryToken) GetScheduledResetAtOk() (*string, bool)` +`func (o *RepositoryToken) GetScheduledResetAtOk() (*time.Time, bool)` GetScheduledResetAtOk returns a tuple with the ScheduledResetAt field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetScheduledResetAt -`func (o *RepositoryToken) SetScheduledResetAt(v string)` +`func (o *RepositoryToken) SetScheduledResetAt(v time.Time)` SetScheduledResetAt sets ScheduledResetAt field to given value. @@ -783,6 +893,16 @@ SetScheduledResetAt sets ScheduledResetAt field to given value. HasScheduledResetAt returns a boolean if a field has been set. +### SetScheduledResetAtNil + +`func (o *RepositoryToken) SetScheduledResetAtNil(b bool)` + + SetScheduledResetAtNil sets the value for ScheduledResetAt to be an explicit nil + +### UnsetScheduledResetAt +`func (o *RepositoryToken) UnsetScheduledResetAt()` + +UnsetScheduledResetAt ensures that no value is present for ScheduledResetAt, not even an explicit nil ### GetScheduledResetPeriod `func (o *RepositoryToken) GetScheduledResetPeriod() string` @@ -808,6 +928,16 @@ SetScheduledResetPeriod sets ScheduledResetPeriod field to given value. HasScheduledResetPeriod returns a boolean if a field has been set. +### SetScheduledResetPeriodNil + +`func (o *RepositoryToken) SetScheduledResetPeriodNil(b bool)` + + SetScheduledResetPeriodNil sets the value for ScheduledResetPeriod to be an explicit nil + +### UnsetScheduledResetPeriod +`func (o *RepositoryToken) UnsetScheduledResetPeriod()` + +UnsetScheduledResetPeriod ensures that no value is present for ScheduledResetPeriod, not even an explicit nil ### GetSelfUrl `func (o *RepositoryToken) GetSelfUrl() string` @@ -885,20 +1015,20 @@ HasToken returns a boolean if a field has been set. ### GetUpdatedAt -`func (o *RepositoryToken) GetUpdatedAt() string` +`func (o *RepositoryToken) GetUpdatedAt() time.Time` GetUpdatedAt returns the UpdatedAt field if non-nil, zero value otherwise. ### GetUpdatedAtOk -`func (o *RepositoryToken) GetUpdatedAtOk() (*string, bool)` +`func (o *RepositoryToken) GetUpdatedAtOk() (*time.Time, bool)` GetUpdatedAtOk returns a tuple with the UpdatedAt field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetUpdatedAt -`func (o *RepositoryToken) SetUpdatedAt(v string)` +`func (o *RepositoryToken) SetUpdatedAt(v time.Time)` SetUpdatedAt sets UpdatedAt field to given value. @@ -933,6 +1063,16 @@ SetUpdatedBy sets UpdatedBy field to given value. HasUpdatedBy returns a boolean if a field has been set. +### SetUpdatedByNil + +`func (o *RepositoryToken) SetUpdatedByNil(b bool)` + + SetUpdatedByNil sets the value for UpdatedBy to be an explicit nil + +### UnsetUpdatedBy +`func (o *RepositoryToken) UnsetUpdatedBy()` + +UnsetUpdatedBy ensures that no value is present for UpdatedBy, not even an explicit nil ### GetUpdatedByUrl `func (o *RepositoryToken) GetUpdatedByUrl() string` @@ -958,6 +1098,16 @@ SetUpdatedByUrl sets UpdatedByUrl field to given value. HasUpdatedByUrl returns a boolean if a field has been set. +### SetUpdatedByUrlNil + +`func (o *RepositoryToken) SetUpdatedByUrlNil(b bool)` + + SetUpdatedByUrlNil sets the value for UpdatedByUrl to be an explicit nil + +### UnsetUpdatedByUrl +`func (o *RepositoryToken) UnsetUpdatedByUrl()` + +UnsetUpdatedByUrl ensures that no value is present for UpdatedByUrl, not even an explicit nil ### GetUsage `func (o *RepositoryToken) GetUsage() string` @@ -1008,6 +1158,16 @@ SetUser sets User field to given value. HasUser returns a boolean if a field has been set. +### SetUserNil + +`func (o *RepositoryToken) SetUserNil(b bool)` + + SetUserNil sets the value for User to be an explicit nil + +### UnsetUser +`func (o *RepositoryToken) UnsetUser()` + +UnsetUser ensures that no value is present for User, not even an explicit nil ### GetUserUrl `func (o *RepositoryToken) GetUserUrl() string` @@ -1033,6 +1193,16 @@ SetUserUrl sets UserUrl field to given value. HasUserUrl returns a boolean if a field has been set. +### SetUserUrlNil + +`func (o *RepositoryToken) SetUserUrlNil(b bool)` + + SetUserUrlNil sets the value for UserUrl to be an explicit nil + +### UnsetUserUrl +`func (o *RepositoryToken) UnsetUserUrl()` + +UnsetUserUrl ensures that no value is present for UserUrl, 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/docs/RepositoryTokenRefresh.md b/docs/RepositoryTokenRefresh.md deleted file mode 100644 index 40955449..00000000 --- a/docs/RepositoryTokenRefresh.md +++ /dev/null @@ -1,1044 +0,0 @@ -# RepositoryTokenRefresh - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**Clients** | Pointer to **int64** | | [optional] -**CreatedAt** | Pointer to **string** | The datetime the token was updated at. | [optional] -**CreatedBy** | Pointer to **string** | | [optional] -**CreatedByUrl** | Pointer to **string** | | [optional] -**Default** | Pointer to **bool** | If selected this is the default token for this repository. | [optional] -**DisableUrl** | Pointer to **string** | | [optional] -**Downloads** | Pointer to **int64** | | [optional] -**EnableUrl** | Pointer to **string** | | [optional] -**EulaAccepted** | Pointer to **map[string]interface{}** | | [optional] -**EulaAcceptedAt** | Pointer to **string** | The datetime the EULA was accepted at. | [optional] -**EulaAcceptedFrom** | Pointer to **string** | | [optional] -**EulaRequired** | Pointer to **bool** | If checked, a EULA acceptance is required for this token. | [optional] -**HasLimits** | Pointer to **bool** | | [optional] -**Identifier** | Pointer to **int64** | | [optional] -**IsActive** | Pointer to **bool** | If enabled, the token will allow downloads based on configured restrictions (if any). | [optional] -**IsLimited** | Pointer to **bool** | | [optional] -**LimitBandwidth** | Pointer to **int64** | The maximum download bandwidth allowed for the token. Values are expressed as the selected unit of bandwidth. Please note that since downloads are calculated asynchronously (after the download happens), the limit may not be imposed immediately but at a later point. | [optional] -**LimitBandwidthUnit** | Pointer to **string** | | [optional] -**LimitDateRangeFrom** | Pointer to **string** | The starting date/time the token is allowed to be used from. | [optional] -**LimitDateRangeTo** | Pointer to **string** | The ending date/time the token is allowed to be used until. | [optional] -**LimitNumClients** | Pointer to **int64** | The maximum number of unique clients allowed for the token. Please note that since clients are calculated asynchronously (after the download happens), the limit may not be imposed immediately but at a later point. | [optional] -**LimitNumDownloads** | Pointer to **int64** | The maximum number of downloads allowed for the token. Please note that since downloads are calculated asynchronously (after the download happens), the limit may not be imposed immediately but at a later point. | [optional] -**LimitPackageQuery** | Pointer to **string** | The package-based search query to apply to restrict downloads to. This uses the same syntax as the standard search used for repositories, and also supports boolean logic operators such as OR/AND/NOT and parentheses for grouping. This will still allow access to non-package files, such as metadata. | [optional] -**LimitPathQuery** | Pointer to **string** | The path-based search query to apply to restrict downloads to. This supports boolean logic operators such as OR/AND/NOT and parentheses for grouping. The path evaluated does not include the domain name, the namespace, the entitlement code used, the package format, etc. and it always starts with a forward slash. | [optional] -**Metadata** | Pointer to **map[string]interface{}** | | [optional] -**Name** | Pointer to **string** | | [optional] -**RefreshUrl** | Pointer to **string** | | [optional] -**ResetUrl** | Pointer to **string** | | [optional] -**ScheduledResetAt** | Pointer to **string** | The time at which the scheduled reset period has elapsed and the token limits were automatically reset to zero. | [optional] -**ScheduledResetPeriod** | Pointer to **string** | | [optional] -**SelfUrl** | Pointer to **string** | | [optional] -**SlugPerm** | Pointer to **string** | | [optional] -**Token** | Pointer to **string** | | [optional] -**UpdatedAt** | Pointer to **string** | The datetime the token was updated at. | [optional] -**UpdatedBy** | Pointer to **string** | | [optional] -**UpdatedByUrl** | Pointer to **string** | | [optional] -**Usage** | Pointer to **string** | | [optional] -**User** | Pointer to **string** | | [optional] -**UserUrl** | Pointer to **string** | | [optional] - -## Methods - -### NewRepositoryTokenRefresh - -`func NewRepositoryTokenRefresh() *RepositoryTokenRefresh` - -NewRepositoryTokenRefresh instantiates a new RepositoryTokenRefresh object -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 - -### NewRepositoryTokenRefreshWithDefaults - -`func NewRepositoryTokenRefreshWithDefaults() *RepositoryTokenRefresh` - -NewRepositoryTokenRefreshWithDefaults instantiates a new RepositoryTokenRefresh object -This constructor will only assign default values to properties that have it defined, -but it doesn't guarantee that properties required by API are set - -### GetClients - -`func (o *RepositoryTokenRefresh) GetClients() int64` - -GetClients returns the Clients field if non-nil, zero value otherwise. - -### GetClientsOk - -`func (o *RepositoryTokenRefresh) GetClientsOk() (*int64, bool)` - -GetClientsOk returns a tuple with the Clients field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetClients - -`func (o *RepositoryTokenRefresh) SetClients(v int64)` - -SetClients sets Clients field to given value. - -### HasClients - -`func (o *RepositoryTokenRefresh) HasClients() bool` - -HasClients returns a boolean if a field has been set. - -### GetCreatedAt - -`func (o *RepositoryTokenRefresh) GetCreatedAt() string` - -GetCreatedAt returns the CreatedAt field if non-nil, zero value otherwise. - -### GetCreatedAtOk - -`func (o *RepositoryTokenRefresh) GetCreatedAtOk() (*string, bool)` - -GetCreatedAtOk returns a tuple with the CreatedAt field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetCreatedAt - -`func (o *RepositoryTokenRefresh) SetCreatedAt(v string)` - -SetCreatedAt sets CreatedAt field to given value. - -### HasCreatedAt - -`func (o *RepositoryTokenRefresh) HasCreatedAt() bool` - -HasCreatedAt returns a boolean if a field has been set. - -### GetCreatedBy - -`func (o *RepositoryTokenRefresh) GetCreatedBy() string` - -GetCreatedBy returns the CreatedBy field if non-nil, zero value otherwise. - -### GetCreatedByOk - -`func (o *RepositoryTokenRefresh) GetCreatedByOk() (*string, bool)` - -GetCreatedByOk returns a tuple with the CreatedBy field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetCreatedBy - -`func (o *RepositoryTokenRefresh) SetCreatedBy(v string)` - -SetCreatedBy sets CreatedBy field to given value. - -### HasCreatedBy - -`func (o *RepositoryTokenRefresh) HasCreatedBy() bool` - -HasCreatedBy returns a boolean if a field has been set. - -### GetCreatedByUrl - -`func (o *RepositoryTokenRefresh) GetCreatedByUrl() string` - -GetCreatedByUrl returns the CreatedByUrl field if non-nil, zero value otherwise. - -### GetCreatedByUrlOk - -`func (o *RepositoryTokenRefresh) GetCreatedByUrlOk() (*string, bool)` - -GetCreatedByUrlOk returns a tuple with the CreatedByUrl field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetCreatedByUrl - -`func (o *RepositoryTokenRefresh) SetCreatedByUrl(v string)` - -SetCreatedByUrl sets CreatedByUrl field to given value. - -### HasCreatedByUrl - -`func (o *RepositoryTokenRefresh) HasCreatedByUrl() bool` - -HasCreatedByUrl returns a boolean if a field has been set. - -### GetDefault - -`func (o *RepositoryTokenRefresh) GetDefault() bool` - -GetDefault returns the Default field if non-nil, zero value otherwise. - -### GetDefaultOk - -`func (o *RepositoryTokenRefresh) GetDefaultOk() (*bool, bool)` - -GetDefaultOk returns a tuple with the Default field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetDefault - -`func (o *RepositoryTokenRefresh) SetDefault(v bool)` - -SetDefault sets Default field to given value. - -### HasDefault - -`func (o *RepositoryTokenRefresh) HasDefault() bool` - -HasDefault returns a boolean if a field has been set. - -### GetDisableUrl - -`func (o *RepositoryTokenRefresh) GetDisableUrl() string` - -GetDisableUrl returns the DisableUrl field if non-nil, zero value otherwise. - -### GetDisableUrlOk - -`func (o *RepositoryTokenRefresh) GetDisableUrlOk() (*string, bool)` - -GetDisableUrlOk returns a tuple with the DisableUrl field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetDisableUrl - -`func (o *RepositoryTokenRefresh) SetDisableUrl(v string)` - -SetDisableUrl sets DisableUrl field to given value. - -### HasDisableUrl - -`func (o *RepositoryTokenRefresh) HasDisableUrl() bool` - -HasDisableUrl returns a boolean if a field has been set. - -### GetDownloads - -`func (o *RepositoryTokenRefresh) GetDownloads() int64` - -GetDownloads returns the Downloads field if non-nil, zero value otherwise. - -### GetDownloadsOk - -`func (o *RepositoryTokenRefresh) GetDownloadsOk() (*int64, bool)` - -GetDownloadsOk returns a tuple with the Downloads field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetDownloads - -`func (o *RepositoryTokenRefresh) SetDownloads(v int64)` - -SetDownloads sets Downloads field to given value. - -### HasDownloads - -`func (o *RepositoryTokenRefresh) HasDownloads() bool` - -HasDownloads returns a boolean if a field has been set. - -### GetEnableUrl - -`func (o *RepositoryTokenRefresh) GetEnableUrl() string` - -GetEnableUrl returns the EnableUrl field if non-nil, zero value otherwise. - -### GetEnableUrlOk - -`func (o *RepositoryTokenRefresh) GetEnableUrlOk() (*string, bool)` - -GetEnableUrlOk returns a tuple with the EnableUrl field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetEnableUrl - -`func (o *RepositoryTokenRefresh) SetEnableUrl(v string)` - -SetEnableUrl sets EnableUrl field to given value. - -### HasEnableUrl - -`func (o *RepositoryTokenRefresh) HasEnableUrl() bool` - -HasEnableUrl returns a boolean if a field has been set. - -### GetEulaAccepted - -`func (o *RepositoryTokenRefresh) GetEulaAccepted() map[string]interface{}` - -GetEulaAccepted returns the EulaAccepted field if non-nil, zero value otherwise. - -### GetEulaAcceptedOk - -`func (o *RepositoryTokenRefresh) GetEulaAcceptedOk() (*map[string]interface{}, bool)` - -GetEulaAcceptedOk returns a tuple with the EulaAccepted field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetEulaAccepted - -`func (o *RepositoryTokenRefresh) SetEulaAccepted(v map[string]interface{})` - -SetEulaAccepted sets EulaAccepted field to given value. - -### HasEulaAccepted - -`func (o *RepositoryTokenRefresh) HasEulaAccepted() bool` - -HasEulaAccepted returns a boolean if a field has been set. - -### GetEulaAcceptedAt - -`func (o *RepositoryTokenRefresh) GetEulaAcceptedAt() string` - -GetEulaAcceptedAt returns the EulaAcceptedAt field if non-nil, zero value otherwise. - -### GetEulaAcceptedAtOk - -`func (o *RepositoryTokenRefresh) GetEulaAcceptedAtOk() (*string, bool)` - -GetEulaAcceptedAtOk returns a tuple with the EulaAcceptedAt field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetEulaAcceptedAt - -`func (o *RepositoryTokenRefresh) SetEulaAcceptedAt(v string)` - -SetEulaAcceptedAt sets EulaAcceptedAt field to given value. - -### HasEulaAcceptedAt - -`func (o *RepositoryTokenRefresh) HasEulaAcceptedAt() bool` - -HasEulaAcceptedAt returns a boolean if a field has been set. - -### GetEulaAcceptedFrom - -`func (o *RepositoryTokenRefresh) GetEulaAcceptedFrom() string` - -GetEulaAcceptedFrom returns the EulaAcceptedFrom field if non-nil, zero value otherwise. - -### GetEulaAcceptedFromOk - -`func (o *RepositoryTokenRefresh) GetEulaAcceptedFromOk() (*string, bool)` - -GetEulaAcceptedFromOk returns a tuple with the EulaAcceptedFrom field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetEulaAcceptedFrom - -`func (o *RepositoryTokenRefresh) SetEulaAcceptedFrom(v string)` - -SetEulaAcceptedFrom sets EulaAcceptedFrom field to given value. - -### HasEulaAcceptedFrom - -`func (o *RepositoryTokenRefresh) HasEulaAcceptedFrom() bool` - -HasEulaAcceptedFrom returns a boolean if a field has been set. - -### GetEulaRequired - -`func (o *RepositoryTokenRefresh) GetEulaRequired() bool` - -GetEulaRequired returns the EulaRequired field if non-nil, zero value otherwise. - -### GetEulaRequiredOk - -`func (o *RepositoryTokenRefresh) GetEulaRequiredOk() (*bool, bool)` - -GetEulaRequiredOk returns a tuple with the EulaRequired field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetEulaRequired - -`func (o *RepositoryTokenRefresh) SetEulaRequired(v bool)` - -SetEulaRequired sets EulaRequired field to given value. - -### HasEulaRequired - -`func (o *RepositoryTokenRefresh) HasEulaRequired() bool` - -HasEulaRequired returns a boolean if a field has been set. - -### GetHasLimits - -`func (o *RepositoryTokenRefresh) GetHasLimits() bool` - -GetHasLimits returns the HasLimits field if non-nil, zero value otherwise. - -### GetHasLimitsOk - -`func (o *RepositoryTokenRefresh) GetHasLimitsOk() (*bool, bool)` - -GetHasLimitsOk returns a tuple with the HasLimits field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetHasLimits - -`func (o *RepositoryTokenRefresh) SetHasLimits(v bool)` - -SetHasLimits sets HasLimits field to given value. - -### HasHasLimits - -`func (o *RepositoryTokenRefresh) HasHasLimits() bool` - -HasHasLimits returns a boolean if a field has been set. - -### GetIdentifier - -`func (o *RepositoryTokenRefresh) GetIdentifier() int64` - -GetIdentifier returns the Identifier field if non-nil, zero value otherwise. - -### GetIdentifierOk - -`func (o *RepositoryTokenRefresh) GetIdentifierOk() (*int64, bool)` - -GetIdentifierOk returns a tuple with the Identifier field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetIdentifier - -`func (o *RepositoryTokenRefresh) SetIdentifier(v int64)` - -SetIdentifier sets Identifier field to given value. - -### HasIdentifier - -`func (o *RepositoryTokenRefresh) HasIdentifier() bool` - -HasIdentifier returns a boolean if a field has been set. - -### GetIsActive - -`func (o *RepositoryTokenRefresh) GetIsActive() bool` - -GetIsActive returns the IsActive field if non-nil, zero value otherwise. - -### GetIsActiveOk - -`func (o *RepositoryTokenRefresh) GetIsActiveOk() (*bool, bool)` - -GetIsActiveOk returns a tuple with the IsActive field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetIsActive - -`func (o *RepositoryTokenRefresh) SetIsActive(v bool)` - -SetIsActive sets IsActive field to given value. - -### HasIsActive - -`func (o *RepositoryTokenRefresh) HasIsActive() bool` - -HasIsActive returns a boolean if a field has been set. - -### GetIsLimited - -`func (o *RepositoryTokenRefresh) GetIsLimited() bool` - -GetIsLimited returns the IsLimited field if non-nil, zero value otherwise. - -### GetIsLimitedOk - -`func (o *RepositoryTokenRefresh) GetIsLimitedOk() (*bool, bool)` - -GetIsLimitedOk returns a tuple with the IsLimited field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetIsLimited - -`func (o *RepositoryTokenRefresh) SetIsLimited(v bool)` - -SetIsLimited sets IsLimited field to given value. - -### HasIsLimited - -`func (o *RepositoryTokenRefresh) HasIsLimited() bool` - -HasIsLimited returns a boolean if a field has been set. - -### GetLimitBandwidth - -`func (o *RepositoryTokenRefresh) GetLimitBandwidth() int64` - -GetLimitBandwidth returns the LimitBandwidth field if non-nil, zero value otherwise. - -### GetLimitBandwidthOk - -`func (o *RepositoryTokenRefresh) GetLimitBandwidthOk() (*int64, bool)` - -GetLimitBandwidthOk returns a tuple with the LimitBandwidth field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetLimitBandwidth - -`func (o *RepositoryTokenRefresh) SetLimitBandwidth(v int64)` - -SetLimitBandwidth sets LimitBandwidth field to given value. - -### HasLimitBandwidth - -`func (o *RepositoryTokenRefresh) HasLimitBandwidth() bool` - -HasLimitBandwidth returns a boolean if a field has been set. - -### GetLimitBandwidthUnit - -`func (o *RepositoryTokenRefresh) GetLimitBandwidthUnit() string` - -GetLimitBandwidthUnit returns the LimitBandwidthUnit field if non-nil, zero value otherwise. - -### GetLimitBandwidthUnitOk - -`func (o *RepositoryTokenRefresh) GetLimitBandwidthUnitOk() (*string, bool)` - -GetLimitBandwidthUnitOk returns a tuple with the LimitBandwidthUnit field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetLimitBandwidthUnit - -`func (o *RepositoryTokenRefresh) SetLimitBandwidthUnit(v string)` - -SetLimitBandwidthUnit sets LimitBandwidthUnit field to given value. - -### HasLimitBandwidthUnit - -`func (o *RepositoryTokenRefresh) HasLimitBandwidthUnit() bool` - -HasLimitBandwidthUnit returns a boolean if a field has been set. - -### GetLimitDateRangeFrom - -`func (o *RepositoryTokenRefresh) GetLimitDateRangeFrom() string` - -GetLimitDateRangeFrom returns the LimitDateRangeFrom field if non-nil, zero value otherwise. - -### GetLimitDateRangeFromOk - -`func (o *RepositoryTokenRefresh) GetLimitDateRangeFromOk() (*string, bool)` - -GetLimitDateRangeFromOk returns a tuple with the LimitDateRangeFrom field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetLimitDateRangeFrom - -`func (o *RepositoryTokenRefresh) SetLimitDateRangeFrom(v string)` - -SetLimitDateRangeFrom sets LimitDateRangeFrom field to given value. - -### HasLimitDateRangeFrom - -`func (o *RepositoryTokenRefresh) HasLimitDateRangeFrom() bool` - -HasLimitDateRangeFrom returns a boolean if a field has been set. - -### GetLimitDateRangeTo - -`func (o *RepositoryTokenRefresh) GetLimitDateRangeTo() string` - -GetLimitDateRangeTo returns the LimitDateRangeTo field if non-nil, zero value otherwise. - -### GetLimitDateRangeToOk - -`func (o *RepositoryTokenRefresh) GetLimitDateRangeToOk() (*string, bool)` - -GetLimitDateRangeToOk returns a tuple with the LimitDateRangeTo field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetLimitDateRangeTo - -`func (o *RepositoryTokenRefresh) SetLimitDateRangeTo(v string)` - -SetLimitDateRangeTo sets LimitDateRangeTo field to given value. - -### HasLimitDateRangeTo - -`func (o *RepositoryTokenRefresh) HasLimitDateRangeTo() bool` - -HasLimitDateRangeTo returns a boolean if a field has been set. - -### GetLimitNumClients - -`func (o *RepositoryTokenRefresh) GetLimitNumClients() int64` - -GetLimitNumClients returns the LimitNumClients field if non-nil, zero value otherwise. - -### GetLimitNumClientsOk - -`func (o *RepositoryTokenRefresh) GetLimitNumClientsOk() (*int64, bool)` - -GetLimitNumClientsOk returns a tuple with the LimitNumClients field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetLimitNumClients - -`func (o *RepositoryTokenRefresh) SetLimitNumClients(v int64)` - -SetLimitNumClients sets LimitNumClients field to given value. - -### HasLimitNumClients - -`func (o *RepositoryTokenRefresh) HasLimitNumClients() bool` - -HasLimitNumClients returns a boolean if a field has been set. - -### GetLimitNumDownloads - -`func (o *RepositoryTokenRefresh) GetLimitNumDownloads() int64` - -GetLimitNumDownloads returns the LimitNumDownloads field if non-nil, zero value otherwise. - -### GetLimitNumDownloadsOk - -`func (o *RepositoryTokenRefresh) GetLimitNumDownloadsOk() (*int64, bool)` - -GetLimitNumDownloadsOk returns a tuple with the LimitNumDownloads field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetLimitNumDownloads - -`func (o *RepositoryTokenRefresh) SetLimitNumDownloads(v int64)` - -SetLimitNumDownloads sets LimitNumDownloads field to given value. - -### HasLimitNumDownloads - -`func (o *RepositoryTokenRefresh) HasLimitNumDownloads() bool` - -HasLimitNumDownloads returns a boolean if a field has been set. - -### GetLimitPackageQuery - -`func (o *RepositoryTokenRefresh) GetLimitPackageQuery() string` - -GetLimitPackageQuery returns the LimitPackageQuery field if non-nil, zero value otherwise. - -### GetLimitPackageQueryOk - -`func (o *RepositoryTokenRefresh) GetLimitPackageQueryOk() (*string, bool)` - -GetLimitPackageQueryOk returns a tuple with the LimitPackageQuery field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetLimitPackageQuery - -`func (o *RepositoryTokenRefresh) SetLimitPackageQuery(v string)` - -SetLimitPackageQuery sets LimitPackageQuery field to given value. - -### HasLimitPackageQuery - -`func (o *RepositoryTokenRefresh) HasLimitPackageQuery() bool` - -HasLimitPackageQuery returns a boolean if a field has been set. - -### GetLimitPathQuery - -`func (o *RepositoryTokenRefresh) GetLimitPathQuery() string` - -GetLimitPathQuery returns the LimitPathQuery field if non-nil, zero value otherwise. - -### GetLimitPathQueryOk - -`func (o *RepositoryTokenRefresh) GetLimitPathQueryOk() (*string, bool)` - -GetLimitPathQueryOk returns a tuple with the LimitPathQuery field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetLimitPathQuery - -`func (o *RepositoryTokenRefresh) SetLimitPathQuery(v string)` - -SetLimitPathQuery sets LimitPathQuery field to given value. - -### HasLimitPathQuery - -`func (o *RepositoryTokenRefresh) HasLimitPathQuery() bool` - -HasLimitPathQuery returns a boolean if a field has been set. - -### GetMetadata - -`func (o *RepositoryTokenRefresh) GetMetadata() map[string]interface{}` - -GetMetadata returns the Metadata field if non-nil, zero value otherwise. - -### GetMetadataOk - -`func (o *RepositoryTokenRefresh) GetMetadataOk() (*map[string]interface{}, bool)` - -GetMetadataOk returns a tuple with the Metadata field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetMetadata - -`func (o *RepositoryTokenRefresh) SetMetadata(v map[string]interface{})` - -SetMetadata sets Metadata field to given value. - -### HasMetadata - -`func (o *RepositoryTokenRefresh) HasMetadata() bool` - -HasMetadata returns a boolean if a field has been set. - -### GetName - -`func (o *RepositoryTokenRefresh) GetName() string` - -GetName returns the Name field if non-nil, zero value otherwise. - -### GetNameOk - -`func (o *RepositoryTokenRefresh) GetNameOk() (*string, bool)` - -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. - -### SetName - -`func (o *RepositoryTokenRefresh) SetName(v string)` - -SetName sets Name field to given value. - -### HasName - -`func (o *RepositoryTokenRefresh) HasName() bool` - -HasName returns a boolean if a field has been set. - -### GetRefreshUrl - -`func (o *RepositoryTokenRefresh) GetRefreshUrl() string` - -GetRefreshUrl returns the RefreshUrl field if non-nil, zero value otherwise. - -### GetRefreshUrlOk - -`func (o *RepositoryTokenRefresh) GetRefreshUrlOk() (*string, bool)` - -GetRefreshUrlOk returns a tuple with the RefreshUrl field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetRefreshUrl - -`func (o *RepositoryTokenRefresh) SetRefreshUrl(v string)` - -SetRefreshUrl sets RefreshUrl field to given value. - -### HasRefreshUrl - -`func (o *RepositoryTokenRefresh) HasRefreshUrl() bool` - -HasRefreshUrl returns a boolean if a field has been set. - -### GetResetUrl - -`func (o *RepositoryTokenRefresh) GetResetUrl() string` - -GetResetUrl returns the ResetUrl field if non-nil, zero value otherwise. - -### GetResetUrlOk - -`func (o *RepositoryTokenRefresh) GetResetUrlOk() (*string, bool)` - -GetResetUrlOk returns a tuple with the ResetUrl field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetResetUrl - -`func (o *RepositoryTokenRefresh) SetResetUrl(v string)` - -SetResetUrl sets ResetUrl field to given value. - -### HasResetUrl - -`func (o *RepositoryTokenRefresh) HasResetUrl() bool` - -HasResetUrl returns a boolean if a field has been set. - -### GetScheduledResetAt - -`func (o *RepositoryTokenRefresh) GetScheduledResetAt() string` - -GetScheduledResetAt returns the ScheduledResetAt field if non-nil, zero value otherwise. - -### GetScheduledResetAtOk - -`func (o *RepositoryTokenRefresh) GetScheduledResetAtOk() (*string, bool)` - -GetScheduledResetAtOk returns a tuple with the ScheduledResetAt field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetScheduledResetAt - -`func (o *RepositoryTokenRefresh) SetScheduledResetAt(v string)` - -SetScheduledResetAt sets ScheduledResetAt field to given value. - -### HasScheduledResetAt - -`func (o *RepositoryTokenRefresh) HasScheduledResetAt() bool` - -HasScheduledResetAt returns a boolean if a field has been set. - -### GetScheduledResetPeriod - -`func (o *RepositoryTokenRefresh) GetScheduledResetPeriod() string` - -GetScheduledResetPeriod returns the ScheduledResetPeriod field if non-nil, zero value otherwise. - -### GetScheduledResetPeriodOk - -`func (o *RepositoryTokenRefresh) GetScheduledResetPeriodOk() (*string, bool)` - -GetScheduledResetPeriodOk returns a tuple with the ScheduledResetPeriod field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetScheduledResetPeriod - -`func (o *RepositoryTokenRefresh) SetScheduledResetPeriod(v string)` - -SetScheduledResetPeriod sets ScheduledResetPeriod field to given value. - -### HasScheduledResetPeriod - -`func (o *RepositoryTokenRefresh) HasScheduledResetPeriod() bool` - -HasScheduledResetPeriod returns a boolean if a field has been set. - -### GetSelfUrl - -`func (o *RepositoryTokenRefresh) GetSelfUrl() string` - -GetSelfUrl returns the SelfUrl field if non-nil, zero value otherwise. - -### GetSelfUrlOk - -`func (o *RepositoryTokenRefresh) GetSelfUrlOk() (*string, bool)` - -GetSelfUrlOk returns a tuple with the SelfUrl field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetSelfUrl - -`func (o *RepositoryTokenRefresh) SetSelfUrl(v string)` - -SetSelfUrl sets SelfUrl field to given value. - -### HasSelfUrl - -`func (o *RepositoryTokenRefresh) HasSelfUrl() bool` - -HasSelfUrl returns a boolean if a field has been set. - -### GetSlugPerm - -`func (o *RepositoryTokenRefresh) GetSlugPerm() string` - -GetSlugPerm returns the SlugPerm field if non-nil, zero value otherwise. - -### GetSlugPermOk - -`func (o *RepositoryTokenRefresh) GetSlugPermOk() (*string, bool)` - -GetSlugPermOk returns a tuple with the SlugPerm field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetSlugPerm - -`func (o *RepositoryTokenRefresh) SetSlugPerm(v string)` - -SetSlugPerm sets SlugPerm field to given value. - -### HasSlugPerm - -`func (o *RepositoryTokenRefresh) HasSlugPerm() bool` - -HasSlugPerm returns a boolean if a field has been set. - -### GetToken - -`func (o *RepositoryTokenRefresh) GetToken() string` - -GetToken returns the Token field if non-nil, zero value otherwise. - -### GetTokenOk - -`func (o *RepositoryTokenRefresh) GetTokenOk() (*string, bool)` - -GetTokenOk returns a tuple with the Token field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetToken - -`func (o *RepositoryTokenRefresh) SetToken(v string)` - -SetToken sets Token field to given value. - -### HasToken - -`func (o *RepositoryTokenRefresh) HasToken() bool` - -HasToken returns a boolean if a field has been set. - -### GetUpdatedAt - -`func (o *RepositoryTokenRefresh) GetUpdatedAt() string` - -GetUpdatedAt returns the UpdatedAt field if non-nil, zero value otherwise. - -### GetUpdatedAtOk - -`func (o *RepositoryTokenRefresh) GetUpdatedAtOk() (*string, bool)` - -GetUpdatedAtOk returns a tuple with the UpdatedAt field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetUpdatedAt - -`func (o *RepositoryTokenRefresh) SetUpdatedAt(v string)` - -SetUpdatedAt sets UpdatedAt field to given value. - -### HasUpdatedAt - -`func (o *RepositoryTokenRefresh) HasUpdatedAt() bool` - -HasUpdatedAt returns a boolean if a field has been set. - -### GetUpdatedBy - -`func (o *RepositoryTokenRefresh) GetUpdatedBy() string` - -GetUpdatedBy returns the UpdatedBy field if non-nil, zero value otherwise. - -### GetUpdatedByOk - -`func (o *RepositoryTokenRefresh) GetUpdatedByOk() (*string, bool)` - -GetUpdatedByOk returns a tuple with the UpdatedBy field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetUpdatedBy - -`func (o *RepositoryTokenRefresh) SetUpdatedBy(v string)` - -SetUpdatedBy sets UpdatedBy field to given value. - -### HasUpdatedBy - -`func (o *RepositoryTokenRefresh) HasUpdatedBy() bool` - -HasUpdatedBy returns a boolean if a field has been set. - -### GetUpdatedByUrl - -`func (o *RepositoryTokenRefresh) GetUpdatedByUrl() string` - -GetUpdatedByUrl returns the UpdatedByUrl field if non-nil, zero value otherwise. - -### GetUpdatedByUrlOk - -`func (o *RepositoryTokenRefresh) GetUpdatedByUrlOk() (*string, bool)` - -GetUpdatedByUrlOk returns a tuple with the UpdatedByUrl field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetUpdatedByUrl - -`func (o *RepositoryTokenRefresh) SetUpdatedByUrl(v string)` - -SetUpdatedByUrl sets UpdatedByUrl field to given value. - -### HasUpdatedByUrl - -`func (o *RepositoryTokenRefresh) HasUpdatedByUrl() bool` - -HasUpdatedByUrl returns a boolean if a field has been set. - -### GetUsage - -`func (o *RepositoryTokenRefresh) GetUsage() string` - -GetUsage returns the Usage field if non-nil, zero value otherwise. - -### GetUsageOk - -`func (o *RepositoryTokenRefresh) GetUsageOk() (*string, bool)` - -GetUsageOk returns a tuple with the Usage field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetUsage - -`func (o *RepositoryTokenRefresh) SetUsage(v string)` - -SetUsage sets Usage field to given value. - -### HasUsage - -`func (o *RepositoryTokenRefresh) HasUsage() bool` - -HasUsage returns a boolean if a field has been set. - -### GetUser - -`func (o *RepositoryTokenRefresh) GetUser() string` - -GetUser returns the User field if non-nil, zero value otherwise. - -### GetUserOk - -`func (o *RepositoryTokenRefresh) GetUserOk() (*string, bool)` - -GetUserOk returns a tuple with the User field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetUser - -`func (o *RepositoryTokenRefresh) SetUser(v string)` - -SetUser sets User field to given value. - -### HasUser - -`func (o *RepositoryTokenRefresh) HasUser() bool` - -HasUser returns a boolean if a field has been set. - -### GetUserUrl - -`func (o *RepositoryTokenRefresh) GetUserUrl() string` - -GetUserUrl returns the UserUrl field if non-nil, zero value otherwise. - -### GetUserUrlOk - -`func (o *RepositoryTokenRefresh) GetUserUrlOk() (*string, bool)` - -GetUserUrlOk returns a tuple with the UserUrl field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetUserUrl - -`func (o *RepositoryTokenRefresh) SetUserUrl(v string)` - -SetUserUrl sets UserUrl field to given value. - -### HasUserUrl - -`func (o *RepositoryTokenRefresh) HasUserUrl() bool` - -HasUserUrl 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/docs/RepositoryTokenRefreshRequest.md b/docs/RepositoryTokenRefreshRequest.md new file mode 100644 index 00000000..26afd658 --- /dev/null +++ b/docs/RepositoryTokenRefreshRequest.md @@ -0,0 +1,504 @@ +# RepositoryTokenRefreshRequest + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**EulaRequired** | Pointer to **bool** | If checked, a EULA acceptance is required for this token. | [optional] +**IsActive** | Pointer to **bool** | If enabled, the token will allow downloads based on configured restrictions (if any). | [optional] +**LimitBandwidth** | Pointer to **NullableInt64** | The maximum download bandwidth allowed for the token. Values are expressed as the selected unit of bandwidth. Please note that since downloads are calculated asynchronously (after the download happens), the limit may not be imposed immediately but at a later point. | [optional] +**LimitBandwidthUnit** | Pointer to **NullableString** | | [optional] [default to "Byte"] +**LimitDateRangeFrom** | Pointer to **NullableTime** | The starting date/time the token is allowed to be used from. | [optional] +**LimitDateRangeTo** | Pointer to **NullableTime** | The ending date/time the token is allowed to be used until. | [optional] +**LimitNumClients** | Pointer to **NullableInt64** | The maximum number of unique clients allowed for the token. Please note that since clients are calculated asynchronously (after the download happens), the limit may not be imposed immediately but at a later point. | [optional] +**LimitNumDownloads** | Pointer to **NullableInt64** | The maximum number of downloads allowed for the token. Please note that since downloads are calculated asynchronously (after the download happens), the limit may not be imposed immediately but at a later point. | [optional] +**LimitPackageQuery** | Pointer to **NullableString** | The package-based search query to apply to restrict downloads to. This uses the same syntax as the standard search used for repositories, and also supports boolean logic operators such as OR/AND/NOT and parentheses for grouping. This will still allow access to non-package files, such as metadata. | [optional] +**LimitPathQuery** | Pointer to **NullableString** | The path-based search query to apply to restrict downloads to. This supports boolean logic operators such as OR/AND/NOT and parentheses for grouping. The path evaluated does not include the domain name, the namespace, the entitlement code used, the package format, etc. and it always starts with a forward slash. | [optional] +**Metadata** | Pointer to **map[string]interface{}** | | [optional] +**ScheduledResetAt** | Pointer to **NullableTime** | The time at which the scheduled reset period has elapsed and the token limits were automatically reset to zero. | [optional] +**ScheduledResetPeriod** | Pointer to **NullableString** | | [optional] [default to "Never Reset"] +**Token** | Pointer to **string** | | [optional] + +## Methods + +### NewRepositoryTokenRefreshRequest + +`func NewRepositoryTokenRefreshRequest() *RepositoryTokenRefreshRequest` + +NewRepositoryTokenRefreshRequest instantiates a new RepositoryTokenRefreshRequest object +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 + +### NewRepositoryTokenRefreshRequestWithDefaults + +`func NewRepositoryTokenRefreshRequestWithDefaults() *RepositoryTokenRefreshRequest` + +NewRepositoryTokenRefreshRequestWithDefaults instantiates a new RepositoryTokenRefreshRequest object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetEulaRequired + +`func (o *RepositoryTokenRefreshRequest) GetEulaRequired() bool` + +GetEulaRequired returns the EulaRequired field if non-nil, zero value otherwise. + +### GetEulaRequiredOk + +`func (o *RepositoryTokenRefreshRequest) GetEulaRequiredOk() (*bool, bool)` + +GetEulaRequiredOk returns a tuple with the EulaRequired field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetEulaRequired + +`func (o *RepositoryTokenRefreshRequest) SetEulaRequired(v bool)` + +SetEulaRequired sets EulaRequired field to given value. + +### HasEulaRequired + +`func (o *RepositoryTokenRefreshRequest) HasEulaRequired() bool` + +HasEulaRequired returns a boolean if a field has been set. + +### GetIsActive + +`func (o *RepositoryTokenRefreshRequest) GetIsActive() bool` + +GetIsActive returns the IsActive field if non-nil, zero value otherwise. + +### GetIsActiveOk + +`func (o *RepositoryTokenRefreshRequest) GetIsActiveOk() (*bool, bool)` + +GetIsActiveOk returns a tuple with the IsActive field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetIsActive + +`func (o *RepositoryTokenRefreshRequest) SetIsActive(v bool)` + +SetIsActive sets IsActive field to given value. + +### HasIsActive + +`func (o *RepositoryTokenRefreshRequest) HasIsActive() bool` + +HasIsActive returns a boolean if a field has been set. + +### GetLimitBandwidth + +`func (o *RepositoryTokenRefreshRequest) GetLimitBandwidth() int64` + +GetLimitBandwidth returns the LimitBandwidth field if non-nil, zero value otherwise. + +### GetLimitBandwidthOk + +`func (o *RepositoryTokenRefreshRequest) GetLimitBandwidthOk() (*int64, bool)` + +GetLimitBandwidthOk returns a tuple with the LimitBandwidth field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetLimitBandwidth + +`func (o *RepositoryTokenRefreshRequest) SetLimitBandwidth(v int64)` + +SetLimitBandwidth sets LimitBandwidth field to given value. + +### HasLimitBandwidth + +`func (o *RepositoryTokenRefreshRequest) HasLimitBandwidth() bool` + +HasLimitBandwidth returns a boolean if a field has been set. + +### SetLimitBandwidthNil + +`func (o *RepositoryTokenRefreshRequest) SetLimitBandwidthNil(b bool)` + + SetLimitBandwidthNil sets the value for LimitBandwidth to be an explicit nil + +### UnsetLimitBandwidth +`func (o *RepositoryTokenRefreshRequest) UnsetLimitBandwidth()` + +UnsetLimitBandwidth ensures that no value is present for LimitBandwidth, not even an explicit nil +### GetLimitBandwidthUnit + +`func (o *RepositoryTokenRefreshRequest) GetLimitBandwidthUnit() string` + +GetLimitBandwidthUnit returns the LimitBandwidthUnit field if non-nil, zero value otherwise. + +### GetLimitBandwidthUnitOk + +`func (o *RepositoryTokenRefreshRequest) GetLimitBandwidthUnitOk() (*string, bool)` + +GetLimitBandwidthUnitOk returns a tuple with the LimitBandwidthUnit field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetLimitBandwidthUnit + +`func (o *RepositoryTokenRefreshRequest) SetLimitBandwidthUnit(v string)` + +SetLimitBandwidthUnit sets LimitBandwidthUnit field to given value. + +### HasLimitBandwidthUnit + +`func (o *RepositoryTokenRefreshRequest) HasLimitBandwidthUnit() bool` + +HasLimitBandwidthUnit returns a boolean if a field has been set. + +### SetLimitBandwidthUnitNil + +`func (o *RepositoryTokenRefreshRequest) SetLimitBandwidthUnitNil(b bool)` + + SetLimitBandwidthUnitNil sets the value for LimitBandwidthUnit to be an explicit nil + +### UnsetLimitBandwidthUnit +`func (o *RepositoryTokenRefreshRequest) UnsetLimitBandwidthUnit()` + +UnsetLimitBandwidthUnit ensures that no value is present for LimitBandwidthUnit, not even an explicit nil +### GetLimitDateRangeFrom + +`func (o *RepositoryTokenRefreshRequest) GetLimitDateRangeFrom() time.Time` + +GetLimitDateRangeFrom returns the LimitDateRangeFrom field if non-nil, zero value otherwise. + +### GetLimitDateRangeFromOk + +`func (o *RepositoryTokenRefreshRequest) GetLimitDateRangeFromOk() (*time.Time, bool)` + +GetLimitDateRangeFromOk returns a tuple with the LimitDateRangeFrom field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetLimitDateRangeFrom + +`func (o *RepositoryTokenRefreshRequest) SetLimitDateRangeFrom(v time.Time)` + +SetLimitDateRangeFrom sets LimitDateRangeFrom field to given value. + +### HasLimitDateRangeFrom + +`func (o *RepositoryTokenRefreshRequest) HasLimitDateRangeFrom() bool` + +HasLimitDateRangeFrom returns a boolean if a field has been set. + +### SetLimitDateRangeFromNil + +`func (o *RepositoryTokenRefreshRequest) SetLimitDateRangeFromNil(b bool)` + + SetLimitDateRangeFromNil sets the value for LimitDateRangeFrom to be an explicit nil + +### UnsetLimitDateRangeFrom +`func (o *RepositoryTokenRefreshRequest) UnsetLimitDateRangeFrom()` + +UnsetLimitDateRangeFrom ensures that no value is present for LimitDateRangeFrom, not even an explicit nil +### GetLimitDateRangeTo + +`func (o *RepositoryTokenRefreshRequest) GetLimitDateRangeTo() time.Time` + +GetLimitDateRangeTo returns the LimitDateRangeTo field if non-nil, zero value otherwise. + +### GetLimitDateRangeToOk + +`func (o *RepositoryTokenRefreshRequest) GetLimitDateRangeToOk() (*time.Time, bool)` + +GetLimitDateRangeToOk returns a tuple with the LimitDateRangeTo field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetLimitDateRangeTo + +`func (o *RepositoryTokenRefreshRequest) SetLimitDateRangeTo(v time.Time)` + +SetLimitDateRangeTo sets LimitDateRangeTo field to given value. + +### HasLimitDateRangeTo + +`func (o *RepositoryTokenRefreshRequest) HasLimitDateRangeTo() bool` + +HasLimitDateRangeTo returns a boolean if a field has been set. + +### SetLimitDateRangeToNil + +`func (o *RepositoryTokenRefreshRequest) SetLimitDateRangeToNil(b bool)` + + SetLimitDateRangeToNil sets the value for LimitDateRangeTo to be an explicit nil + +### UnsetLimitDateRangeTo +`func (o *RepositoryTokenRefreshRequest) UnsetLimitDateRangeTo()` + +UnsetLimitDateRangeTo ensures that no value is present for LimitDateRangeTo, not even an explicit nil +### GetLimitNumClients + +`func (o *RepositoryTokenRefreshRequest) GetLimitNumClients() int64` + +GetLimitNumClients returns the LimitNumClients field if non-nil, zero value otherwise. + +### GetLimitNumClientsOk + +`func (o *RepositoryTokenRefreshRequest) GetLimitNumClientsOk() (*int64, bool)` + +GetLimitNumClientsOk returns a tuple with the LimitNumClients field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetLimitNumClients + +`func (o *RepositoryTokenRefreshRequest) SetLimitNumClients(v int64)` + +SetLimitNumClients sets LimitNumClients field to given value. + +### HasLimitNumClients + +`func (o *RepositoryTokenRefreshRequest) HasLimitNumClients() bool` + +HasLimitNumClients returns a boolean if a field has been set. + +### SetLimitNumClientsNil + +`func (o *RepositoryTokenRefreshRequest) SetLimitNumClientsNil(b bool)` + + SetLimitNumClientsNil sets the value for LimitNumClients to be an explicit nil + +### UnsetLimitNumClients +`func (o *RepositoryTokenRefreshRequest) UnsetLimitNumClients()` + +UnsetLimitNumClients ensures that no value is present for LimitNumClients, not even an explicit nil +### GetLimitNumDownloads + +`func (o *RepositoryTokenRefreshRequest) GetLimitNumDownloads() int64` + +GetLimitNumDownloads returns the LimitNumDownloads field if non-nil, zero value otherwise. + +### GetLimitNumDownloadsOk + +`func (o *RepositoryTokenRefreshRequest) GetLimitNumDownloadsOk() (*int64, bool)` + +GetLimitNumDownloadsOk returns a tuple with the LimitNumDownloads field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetLimitNumDownloads + +`func (o *RepositoryTokenRefreshRequest) SetLimitNumDownloads(v int64)` + +SetLimitNumDownloads sets LimitNumDownloads field to given value. + +### HasLimitNumDownloads + +`func (o *RepositoryTokenRefreshRequest) HasLimitNumDownloads() bool` + +HasLimitNumDownloads returns a boolean if a field has been set. + +### SetLimitNumDownloadsNil + +`func (o *RepositoryTokenRefreshRequest) SetLimitNumDownloadsNil(b bool)` + + SetLimitNumDownloadsNil sets the value for LimitNumDownloads to be an explicit nil + +### UnsetLimitNumDownloads +`func (o *RepositoryTokenRefreshRequest) UnsetLimitNumDownloads()` + +UnsetLimitNumDownloads ensures that no value is present for LimitNumDownloads, not even an explicit nil +### GetLimitPackageQuery + +`func (o *RepositoryTokenRefreshRequest) GetLimitPackageQuery() string` + +GetLimitPackageQuery returns the LimitPackageQuery field if non-nil, zero value otherwise. + +### GetLimitPackageQueryOk + +`func (o *RepositoryTokenRefreshRequest) GetLimitPackageQueryOk() (*string, bool)` + +GetLimitPackageQueryOk returns a tuple with the LimitPackageQuery field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetLimitPackageQuery + +`func (o *RepositoryTokenRefreshRequest) SetLimitPackageQuery(v string)` + +SetLimitPackageQuery sets LimitPackageQuery field to given value. + +### HasLimitPackageQuery + +`func (o *RepositoryTokenRefreshRequest) HasLimitPackageQuery() bool` + +HasLimitPackageQuery returns a boolean if a field has been set. + +### SetLimitPackageQueryNil + +`func (o *RepositoryTokenRefreshRequest) SetLimitPackageQueryNil(b bool)` + + SetLimitPackageQueryNil sets the value for LimitPackageQuery to be an explicit nil + +### UnsetLimitPackageQuery +`func (o *RepositoryTokenRefreshRequest) UnsetLimitPackageQuery()` + +UnsetLimitPackageQuery ensures that no value is present for LimitPackageQuery, not even an explicit nil +### GetLimitPathQuery + +`func (o *RepositoryTokenRefreshRequest) GetLimitPathQuery() string` + +GetLimitPathQuery returns the LimitPathQuery field if non-nil, zero value otherwise. + +### GetLimitPathQueryOk + +`func (o *RepositoryTokenRefreshRequest) GetLimitPathQueryOk() (*string, bool)` + +GetLimitPathQueryOk returns a tuple with the LimitPathQuery field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetLimitPathQuery + +`func (o *RepositoryTokenRefreshRequest) SetLimitPathQuery(v string)` + +SetLimitPathQuery sets LimitPathQuery field to given value. + +### HasLimitPathQuery + +`func (o *RepositoryTokenRefreshRequest) HasLimitPathQuery() bool` + +HasLimitPathQuery returns a boolean if a field has been set. + +### SetLimitPathQueryNil + +`func (o *RepositoryTokenRefreshRequest) SetLimitPathQueryNil(b bool)` + + SetLimitPathQueryNil sets the value for LimitPathQuery to be an explicit nil + +### UnsetLimitPathQuery +`func (o *RepositoryTokenRefreshRequest) UnsetLimitPathQuery()` + +UnsetLimitPathQuery ensures that no value is present for LimitPathQuery, not even an explicit nil +### GetMetadata + +`func (o *RepositoryTokenRefreshRequest) GetMetadata() map[string]interface{}` + +GetMetadata returns the Metadata field if non-nil, zero value otherwise. + +### GetMetadataOk + +`func (o *RepositoryTokenRefreshRequest) GetMetadataOk() (*map[string]interface{}, bool)` + +GetMetadataOk returns a tuple with the Metadata field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetMetadata + +`func (o *RepositoryTokenRefreshRequest) SetMetadata(v map[string]interface{})` + +SetMetadata sets Metadata field to given value. + +### HasMetadata + +`func (o *RepositoryTokenRefreshRequest) HasMetadata() bool` + +HasMetadata returns a boolean if a field has been set. + +### SetMetadataNil + +`func (o *RepositoryTokenRefreshRequest) SetMetadataNil(b bool)` + + SetMetadataNil sets the value for Metadata to be an explicit nil + +### UnsetMetadata +`func (o *RepositoryTokenRefreshRequest) UnsetMetadata()` + +UnsetMetadata ensures that no value is present for Metadata, not even an explicit nil +### GetScheduledResetAt + +`func (o *RepositoryTokenRefreshRequest) GetScheduledResetAt() time.Time` + +GetScheduledResetAt returns the ScheduledResetAt field if non-nil, zero value otherwise. + +### GetScheduledResetAtOk + +`func (o *RepositoryTokenRefreshRequest) GetScheduledResetAtOk() (*time.Time, bool)` + +GetScheduledResetAtOk returns a tuple with the ScheduledResetAt field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetScheduledResetAt + +`func (o *RepositoryTokenRefreshRequest) SetScheduledResetAt(v time.Time)` + +SetScheduledResetAt sets ScheduledResetAt field to given value. + +### HasScheduledResetAt + +`func (o *RepositoryTokenRefreshRequest) HasScheduledResetAt() bool` + +HasScheduledResetAt returns a boolean if a field has been set. + +### SetScheduledResetAtNil + +`func (o *RepositoryTokenRefreshRequest) SetScheduledResetAtNil(b bool)` + + SetScheduledResetAtNil sets the value for ScheduledResetAt to be an explicit nil + +### UnsetScheduledResetAt +`func (o *RepositoryTokenRefreshRequest) UnsetScheduledResetAt()` + +UnsetScheduledResetAt ensures that no value is present for ScheduledResetAt, not even an explicit nil +### GetScheduledResetPeriod + +`func (o *RepositoryTokenRefreshRequest) GetScheduledResetPeriod() string` + +GetScheduledResetPeriod returns the ScheduledResetPeriod field if non-nil, zero value otherwise. + +### GetScheduledResetPeriodOk + +`func (o *RepositoryTokenRefreshRequest) GetScheduledResetPeriodOk() (*string, bool)` + +GetScheduledResetPeriodOk returns a tuple with the ScheduledResetPeriod field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetScheduledResetPeriod + +`func (o *RepositoryTokenRefreshRequest) SetScheduledResetPeriod(v string)` + +SetScheduledResetPeriod sets ScheduledResetPeriod field to given value. + +### HasScheduledResetPeriod + +`func (o *RepositoryTokenRefreshRequest) HasScheduledResetPeriod() bool` + +HasScheduledResetPeriod returns a boolean if a field has been set. + +### SetScheduledResetPeriodNil + +`func (o *RepositoryTokenRefreshRequest) SetScheduledResetPeriodNil(b bool)` + + SetScheduledResetPeriodNil sets the value for ScheduledResetPeriod to be an explicit nil + +### UnsetScheduledResetPeriod +`func (o *RepositoryTokenRefreshRequest) UnsetScheduledResetPeriod()` + +UnsetScheduledResetPeriod ensures that no value is present for ScheduledResetPeriod, not even an explicit nil +### GetToken + +`func (o *RepositoryTokenRefreshRequest) GetToken() string` + +GetToken returns the Token field if non-nil, zero value otherwise. + +### GetTokenOk + +`func (o *RepositoryTokenRefreshRequest) GetTokenOk() (*string, bool)` + +GetTokenOk returns a tuple with the Token field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetToken + +`func (o *RepositoryTokenRefreshRequest) SetToken(v string)` + +SetToken sets Token field to given value. + +### HasToken + +`func (o *RepositoryTokenRefreshRequest) HasToken() bool` + +HasToken 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/docs/RepositoryTokenRefreshResponse.md b/docs/RepositoryTokenRefreshResponse.md new file mode 100644 index 00000000..2221dc0d --- /dev/null +++ b/docs/RepositoryTokenRefreshResponse.md @@ -0,0 +1,1214 @@ +# RepositoryTokenRefreshResponse + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Clients** | Pointer to **int64** | | [optional] [readonly] +**CreatedAt** | Pointer to **time.Time** | The datetime the token was updated at. | [optional] [readonly] +**CreatedBy** | Pointer to **string** | | [optional] [readonly] +**CreatedByUrl** | Pointer to **string** | | [optional] [readonly] +**Default** | Pointer to **bool** | If selected this is the default token for this repository. | [optional] [readonly] +**DisableUrl** | Pointer to **string** | | [optional] [readonly] +**Downloads** | Pointer to **int64** | | [optional] [readonly] +**EnableUrl** | Pointer to **string** | | [optional] [readonly] +**EulaAccepted** | Pointer to [**NullableEula**](Eula.md) | | [optional] +**EulaAcceptedAt** | Pointer to **time.Time** | The datetime the EULA was accepted at. | [optional] [readonly] +**EulaAcceptedFrom** | Pointer to **NullableString** | | [optional] [readonly] +**EulaRequired** | Pointer to **bool** | If checked, a EULA acceptance is required for this token. | [optional] +**HasLimits** | Pointer to **bool** | | [optional] [readonly] +**Identifier** | Pointer to **int64** | | [optional] [readonly] +**IsActive** | Pointer to **bool** | If enabled, the token will allow downloads based on configured restrictions (if any). | [optional] +**IsLimited** | Pointer to **bool** | | [optional] [readonly] +**LimitBandwidth** | Pointer to **NullableInt64** | The maximum download bandwidth allowed for the token. Values are expressed as the selected unit of bandwidth. Please note that since downloads are calculated asynchronously (after the download happens), the limit may not be imposed immediately but at a later point. | [optional] +**LimitBandwidthUnit** | Pointer to **NullableString** | | [optional] [default to "Byte"] +**LimitDateRangeFrom** | Pointer to **NullableTime** | The starting date/time the token is allowed to be used from. | [optional] +**LimitDateRangeTo** | Pointer to **NullableTime** | The ending date/time the token is allowed to be used until. | [optional] +**LimitNumClients** | Pointer to **NullableInt64** | The maximum number of unique clients allowed for the token. Please note that since clients are calculated asynchronously (after the download happens), the limit may not be imposed immediately but at a later point. | [optional] +**LimitNumDownloads** | Pointer to **NullableInt64** | The maximum number of downloads allowed for the token. Please note that since downloads are calculated asynchronously (after the download happens), the limit may not be imposed immediately but at a later point. | [optional] +**LimitPackageQuery** | Pointer to **NullableString** | The package-based search query to apply to restrict downloads to. This uses the same syntax as the standard search used for repositories, and also supports boolean logic operators such as OR/AND/NOT and parentheses for grouping. This will still allow access to non-package files, such as metadata. | [optional] +**LimitPathQuery** | Pointer to **NullableString** | The path-based search query to apply to restrict downloads to. This supports boolean logic operators such as OR/AND/NOT and parentheses for grouping. The path evaluated does not include the domain name, the namespace, the entitlement code used, the package format, etc. and it always starts with a forward slash. | [optional] +**Metadata** | Pointer to **map[string]interface{}** | | [optional] +**Name** | Pointer to **string** | | [optional] [readonly] +**RefreshUrl** | Pointer to **string** | | [optional] [readonly] +**ResetUrl** | Pointer to **string** | | [optional] [readonly] +**ScheduledResetAt** | Pointer to **NullableTime** | The time at which the scheduled reset period has elapsed and the token limits were automatically reset to zero. | [optional] +**ScheduledResetPeriod** | Pointer to **NullableString** | | [optional] [default to "Never Reset"] +**SelfUrl** | Pointer to **string** | | [optional] [readonly] +**SlugPerm** | Pointer to **string** | | [optional] [readonly] +**Token** | Pointer to **string** | | [optional] +**UpdatedAt** | Pointer to **time.Time** | The datetime the token was updated at. | [optional] [readonly] +**UpdatedBy** | Pointer to **NullableString** | | [optional] [readonly] +**UpdatedByUrl** | Pointer to **NullableString** | | [optional] [readonly] +**Usage** | Pointer to **string** | | [optional] [readonly] +**User** | Pointer to **NullableString** | | [optional] [readonly] +**UserUrl** | Pointer to **NullableString** | | [optional] [readonly] + +## Methods + +### NewRepositoryTokenRefreshResponse + +`func NewRepositoryTokenRefreshResponse() *RepositoryTokenRefreshResponse` + +NewRepositoryTokenRefreshResponse instantiates a new RepositoryTokenRefreshResponse object +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 + +### NewRepositoryTokenRefreshResponseWithDefaults + +`func NewRepositoryTokenRefreshResponseWithDefaults() *RepositoryTokenRefreshResponse` + +NewRepositoryTokenRefreshResponseWithDefaults instantiates a new RepositoryTokenRefreshResponse object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetClients + +`func (o *RepositoryTokenRefreshResponse) GetClients() int64` + +GetClients returns the Clients field if non-nil, zero value otherwise. + +### GetClientsOk + +`func (o *RepositoryTokenRefreshResponse) GetClientsOk() (*int64, bool)` + +GetClientsOk returns a tuple with the Clients field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetClients + +`func (o *RepositoryTokenRefreshResponse) SetClients(v int64)` + +SetClients sets Clients field to given value. + +### HasClients + +`func (o *RepositoryTokenRefreshResponse) HasClients() bool` + +HasClients returns a boolean if a field has been set. + +### GetCreatedAt + +`func (o *RepositoryTokenRefreshResponse) GetCreatedAt() time.Time` + +GetCreatedAt returns the CreatedAt field if non-nil, zero value otherwise. + +### GetCreatedAtOk + +`func (o *RepositoryTokenRefreshResponse) GetCreatedAtOk() (*time.Time, bool)` + +GetCreatedAtOk returns a tuple with the CreatedAt field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetCreatedAt + +`func (o *RepositoryTokenRefreshResponse) SetCreatedAt(v time.Time)` + +SetCreatedAt sets CreatedAt field to given value. + +### HasCreatedAt + +`func (o *RepositoryTokenRefreshResponse) HasCreatedAt() bool` + +HasCreatedAt returns a boolean if a field has been set. + +### GetCreatedBy + +`func (o *RepositoryTokenRefreshResponse) GetCreatedBy() string` + +GetCreatedBy returns the CreatedBy field if non-nil, zero value otherwise. + +### GetCreatedByOk + +`func (o *RepositoryTokenRefreshResponse) GetCreatedByOk() (*string, bool)` + +GetCreatedByOk returns a tuple with the CreatedBy field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetCreatedBy + +`func (o *RepositoryTokenRefreshResponse) SetCreatedBy(v string)` + +SetCreatedBy sets CreatedBy field to given value. + +### HasCreatedBy + +`func (o *RepositoryTokenRefreshResponse) HasCreatedBy() bool` + +HasCreatedBy returns a boolean if a field has been set. + +### GetCreatedByUrl + +`func (o *RepositoryTokenRefreshResponse) GetCreatedByUrl() string` + +GetCreatedByUrl returns the CreatedByUrl field if non-nil, zero value otherwise. + +### GetCreatedByUrlOk + +`func (o *RepositoryTokenRefreshResponse) GetCreatedByUrlOk() (*string, bool)` + +GetCreatedByUrlOk returns a tuple with the CreatedByUrl field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetCreatedByUrl + +`func (o *RepositoryTokenRefreshResponse) SetCreatedByUrl(v string)` + +SetCreatedByUrl sets CreatedByUrl field to given value. + +### HasCreatedByUrl + +`func (o *RepositoryTokenRefreshResponse) HasCreatedByUrl() bool` + +HasCreatedByUrl returns a boolean if a field has been set. + +### GetDefault + +`func (o *RepositoryTokenRefreshResponse) GetDefault() bool` + +GetDefault returns the Default field if non-nil, zero value otherwise. + +### GetDefaultOk + +`func (o *RepositoryTokenRefreshResponse) GetDefaultOk() (*bool, bool)` + +GetDefaultOk returns a tuple with the Default field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetDefault + +`func (o *RepositoryTokenRefreshResponse) SetDefault(v bool)` + +SetDefault sets Default field to given value. + +### HasDefault + +`func (o *RepositoryTokenRefreshResponse) HasDefault() bool` + +HasDefault returns a boolean if a field has been set. + +### GetDisableUrl + +`func (o *RepositoryTokenRefreshResponse) GetDisableUrl() string` + +GetDisableUrl returns the DisableUrl field if non-nil, zero value otherwise. + +### GetDisableUrlOk + +`func (o *RepositoryTokenRefreshResponse) GetDisableUrlOk() (*string, bool)` + +GetDisableUrlOk returns a tuple with the DisableUrl field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetDisableUrl + +`func (o *RepositoryTokenRefreshResponse) SetDisableUrl(v string)` + +SetDisableUrl sets DisableUrl field to given value. + +### HasDisableUrl + +`func (o *RepositoryTokenRefreshResponse) HasDisableUrl() bool` + +HasDisableUrl returns a boolean if a field has been set. + +### GetDownloads + +`func (o *RepositoryTokenRefreshResponse) GetDownloads() int64` + +GetDownloads returns the Downloads field if non-nil, zero value otherwise. + +### GetDownloadsOk + +`func (o *RepositoryTokenRefreshResponse) GetDownloadsOk() (*int64, bool)` + +GetDownloadsOk returns a tuple with the Downloads field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetDownloads + +`func (o *RepositoryTokenRefreshResponse) SetDownloads(v int64)` + +SetDownloads sets Downloads field to given value. + +### HasDownloads + +`func (o *RepositoryTokenRefreshResponse) HasDownloads() bool` + +HasDownloads returns a boolean if a field has been set. + +### GetEnableUrl + +`func (o *RepositoryTokenRefreshResponse) GetEnableUrl() string` + +GetEnableUrl returns the EnableUrl field if non-nil, zero value otherwise. + +### GetEnableUrlOk + +`func (o *RepositoryTokenRefreshResponse) GetEnableUrlOk() (*string, bool)` + +GetEnableUrlOk returns a tuple with the EnableUrl field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetEnableUrl + +`func (o *RepositoryTokenRefreshResponse) SetEnableUrl(v string)` + +SetEnableUrl sets EnableUrl field to given value. + +### HasEnableUrl + +`func (o *RepositoryTokenRefreshResponse) HasEnableUrl() bool` + +HasEnableUrl returns a boolean if a field has been set. + +### GetEulaAccepted + +`func (o *RepositoryTokenRefreshResponse) GetEulaAccepted() Eula` + +GetEulaAccepted returns the EulaAccepted field if non-nil, zero value otherwise. + +### GetEulaAcceptedOk + +`func (o *RepositoryTokenRefreshResponse) GetEulaAcceptedOk() (*Eula, bool)` + +GetEulaAcceptedOk returns a tuple with the EulaAccepted field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetEulaAccepted + +`func (o *RepositoryTokenRefreshResponse) SetEulaAccepted(v Eula)` + +SetEulaAccepted sets EulaAccepted field to given value. + +### HasEulaAccepted + +`func (o *RepositoryTokenRefreshResponse) HasEulaAccepted() bool` + +HasEulaAccepted returns a boolean if a field has been set. + +### SetEulaAcceptedNil + +`func (o *RepositoryTokenRefreshResponse) SetEulaAcceptedNil(b bool)` + + SetEulaAcceptedNil sets the value for EulaAccepted to be an explicit nil + +### UnsetEulaAccepted +`func (o *RepositoryTokenRefreshResponse) UnsetEulaAccepted()` + +UnsetEulaAccepted ensures that no value is present for EulaAccepted, not even an explicit nil +### GetEulaAcceptedAt + +`func (o *RepositoryTokenRefreshResponse) GetEulaAcceptedAt() time.Time` + +GetEulaAcceptedAt returns the EulaAcceptedAt field if non-nil, zero value otherwise. + +### GetEulaAcceptedAtOk + +`func (o *RepositoryTokenRefreshResponse) GetEulaAcceptedAtOk() (*time.Time, bool)` + +GetEulaAcceptedAtOk returns a tuple with the EulaAcceptedAt field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetEulaAcceptedAt + +`func (o *RepositoryTokenRefreshResponse) SetEulaAcceptedAt(v time.Time)` + +SetEulaAcceptedAt sets EulaAcceptedAt field to given value. + +### HasEulaAcceptedAt + +`func (o *RepositoryTokenRefreshResponse) HasEulaAcceptedAt() bool` + +HasEulaAcceptedAt returns a boolean if a field has been set. + +### GetEulaAcceptedFrom + +`func (o *RepositoryTokenRefreshResponse) GetEulaAcceptedFrom() string` + +GetEulaAcceptedFrom returns the EulaAcceptedFrom field if non-nil, zero value otherwise. + +### GetEulaAcceptedFromOk + +`func (o *RepositoryTokenRefreshResponse) GetEulaAcceptedFromOk() (*string, bool)` + +GetEulaAcceptedFromOk returns a tuple with the EulaAcceptedFrom field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetEulaAcceptedFrom + +`func (o *RepositoryTokenRefreshResponse) SetEulaAcceptedFrom(v string)` + +SetEulaAcceptedFrom sets EulaAcceptedFrom field to given value. + +### HasEulaAcceptedFrom + +`func (o *RepositoryTokenRefreshResponse) HasEulaAcceptedFrom() bool` + +HasEulaAcceptedFrom returns a boolean if a field has been set. + +### SetEulaAcceptedFromNil + +`func (o *RepositoryTokenRefreshResponse) SetEulaAcceptedFromNil(b bool)` + + SetEulaAcceptedFromNil sets the value for EulaAcceptedFrom to be an explicit nil + +### UnsetEulaAcceptedFrom +`func (o *RepositoryTokenRefreshResponse) UnsetEulaAcceptedFrom()` + +UnsetEulaAcceptedFrom ensures that no value is present for EulaAcceptedFrom, not even an explicit nil +### GetEulaRequired + +`func (o *RepositoryTokenRefreshResponse) GetEulaRequired() bool` + +GetEulaRequired returns the EulaRequired field if non-nil, zero value otherwise. + +### GetEulaRequiredOk + +`func (o *RepositoryTokenRefreshResponse) GetEulaRequiredOk() (*bool, bool)` + +GetEulaRequiredOk returns a tuple with the EulaRequired field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetEulaRequired + +`func (o *RepositoryTokenRefreshResponse) SetEulaRequired(v bool)` + +SetEulaRequired sets EulaRequired field to given value. + +### HasEulaRequired + +`func (o *RepositoryTokenRefreshResponse) HasEulaRequired() bool` + +HasEulaRequired returns a boolean if a field has been set. + +### GetHasLimits + +`func (o *RepositoryTokenRefreshResponse) GetHasLimits() bool` + +GetHasLimits returns the HasLimits field if non-nil, zero value otherwise. + +### GetHasLimitsOk + +`func (o *RepositoryTokenRefreshResponse) GetHasLimitsOk() (*bool, bool)` + +GetHasLimitsOk returns a tuple with the HasLimits field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetHasLimits + +`func (o *RepositoryTokenRefreshResponse) SetHasLimits(v bool)` + +SetHasLimits sets HasLimits field to given value. + +### HasHasLimits + +`func (o *RepositoryTokenRefreshResponse) HasHasLimits() bool` + +HasHasLimits returns a boolean if a field has been set. + +### GetIdentifier + +`func (o *RepositoryTokenRefreshResponse) GetIdentifier() int64` + +GetIdentifier returns the Identifier field if non-nil, zero value otherwise. + +### GetIdentifierOk + +`func (o *RepositoryTokenRefreshResponse) GetIdentifierOk() (*int64, bool)` + +GetIdentifierOk returns a tuple with the Identifier field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetIdentifier + +`func (o *RepositoryTokenRefreshResponse) SetIdentifier(v int64)` + +SetIdentifier sets Identifier field to given value. + +### HasIdentifier + +`func (o *RepositoryTokenRefreshResponse) HasIdentifier() bool` + +HasIdentifier returns a boolean if a field has been set. + +### GetIsActive + +`func (o *RepositoryTokenRefreshResponse) GetIsActive() bool` + +GetIsActive returns the IsActive field if non-nil, zero value otherwise. + +### GetIsActiveOk + +`func (o *RepositoryTokenRefreshResponse) GetIsActiveOk() (*bool, bool)` + +GetIsActiveOk returns a tuple with the IsActive field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetIsActive + +`func (o *RepositoryTokenRefreshResponse) SetIsActive(v bool)` + +SetIsActive sets IsActive field to given value. + +### HasIsActive + +`func (o *RepositoryTokenRefreshResponse) HasIsActive() bool` + +HasIsActive returns a boolean if a field has been set. + +### GetIsLimited + +`func (o *RepositoryTokenRefreshResponse) GetIsLimited() bool` + +GetIsLimited returns the IsLimited field if non-nil, zero value otherwise. + +### GetIsLimitedOk + +`func (o *RepositoryTokenRefreshResponse) GetIsLimitedOk() (*bool, bool)` + +GetIsLimitedOk returns a tuple with the IsLimited field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetIsLimited + +`func (o *RepositoryTokenRefreshResponse) SetIsLimited(v bool)` + +SetIsLimited sets IsLimited field to given value. + +### HasIsLimited + +`func (o *RepositoryTokenRefreshResponse) HasIsLimited() bool` + +HasIsLimited returns a boolean if a field has been set. + +### GetLimitBandwidth + +`func (o *RepositoryTokenRefreshResponse) GetLimitBandwidth() int64` + +GetLimitBandwidth returns the LimitBandwidth field if non-nil, zero value otherwise. + +### GetLimitBandwidthOk + +`func (o *RepositoryTokenRefreshResponse) GetLimitBandwidthOk() (*int64, bool)` + +GetLimitBandwidthOk returns a tuple with the LimitBandwidth field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetLimitBandwidth + +`func (o *RepositoryTokenRefreshResponse) SetLimitBandwidth(v int64)` + +SetLimitBandwidth sets LimitBandwidth field to given value. + +### HasLimitBandwidth + +`func (o *RepositoryTokenRefreshResponse) HasLimitBandwidth() bool` + +HasLimitBandwidth returns a boolean if a field has been set. + +### SetLimitBandwidthNil + +`func (o *RepositoryTokenRefreshResponse) SetLimitBandwidthNil(b bool)` + + SetLimitBandwidthNil sets the value for LimitBandwidth to be an explicit nil + +### UnsetLimitBandwidth +`func (o *RepositoryTokenRefreshResponse) UnsetLimitBandwidth()` + +UnsetLimitBandwidth ensures that no value is present for LimitBandwidth, not even an explicit nil +### GetLimitBandwidthUnit + +`func (o *RepositoryTokenRefreshResponse) GetLimitBandwidthUnit() string` + +GetLimitBandwidthUnit returns the LimitBandwidthUnit field if non-nil, zero value otherwise. + +### GetLimitBandwidthUnitOk + +`func (o *RepositoryTokenRefreshResponse) GetLimitBandwidthUnitOk() (*string, bool)` + +GetLimitBandwidthUnitOk returns a tuple with the LimitBandwidthUnit field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetLimitBandwidthUnit + +`func (o *RepositoryTokenRefreshResponse) SetLimitBandwidthUnit(v string)` + +SetLimitBandwidthUnit sets LimitBandwidthUnit field to given value. + +### HasLimitBandwidthUnit + +`func (o *RepositoryTokenRefreshResponse) HasLimitBandwidthUnit() bool` + +HasLimitBandwidthUnit returns a boolean if a field has been set. + +### SetLimitBandwidthUnitNil + +`func (o *RepositoryTokenRefreshResponse) SetLimitBandwidthUnitNil(b bool)` + + SetLimitBandwidthUnitNil sets the value for LimitBandwidthUnit to be an explicit nil + +### UnsetLimitBandwidthUnit +`func (o *RepositoryTokenRefreshResponse) UnsetLimitBandwidthUnit()` + +UnsetLimitBandwidthUnit ensures that no value is present for LimitBandwidthUnit, not even an explicit nil +### GetLimitDateRangeFrom + +`func (o *RepositoryTokenRefreshResponse) GetLimitDateRangeFrom() time.Time` + +GetLimitDateRangeFrom returns the LimitDateRangeFrom field if non-nil, zero value otherwise. + +### GetLimitDateRangeFromOk + +`func (o *RepositoryTokenRefreshResponse) GetLimitDateRangeFromOk() (*time.Time, bool)` + +GetLimitDateRangeFromOk returns a tuple with the LimitDateRangeFrom field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetLimitDateRangeFrom + +`func (o *RepositoryTokenRefreshResponse) SetLimitDateRangeFrom(v time.Time)` + +SetLimitDateRangeFrom sets LimitDateRangeFrom field to given value. + +### HasLimitDateRangeFrom + +`func (o *RepositoryTokenRefreshResponse) HasLimitDateRangeFrom() bool` + +HasLimitDateRangeFrom returns a boolean if a field has been set. + +### SetLimitDateRangeFromNil + +`func (o *RepositoryTokenRefreshResponse) SetLimitDateRangeFromNil(b bool)` + + SetLimitDateRangeFromNil sets the value for LimitDateRangeFrom to be an explicit nil + +### UnsetLimitDateRangeFrom +`func (o *RepositoryTokenRefreshResponse) UnsetLimitDateRangeFrom()` + +UnsetLimitDateRangeFrom ensures that no value is present for LimitDateRangeFrom, not even an explicit nil +### GetLimitDateRangeTo + +`func (o *RepositoryTokenRefreshResponse) GetLimitDateRangeTo() time.Time` + +GetLimitDateRangeTo returns the LimitDateRangeTo field if non-nil, zero value otherwise. + +### GetLimitDateRangeToOk + +`func (o *RepositoryTokenRefreshResponse) GetLimitDateRangeToOk() (*time.Time, bool)` + +GetLimitDateRangeToOk returns a tuple with the LimitDateRangeTo field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetLimitDateRangeTo + +`func (o *RepositoryTokenRefreshResponse) SetLimitDateRangeTo(v time.Time)` + +SetLimitDateRangeTo sets LimitDateRangeTo field to given value. + +### HasLimitDateRangeTo + +`func (o *RepositoryTokenRefreshResponse) HasLimitDateRangeTo() bool` + +HasLimitDateRangeTo returns a boolean if a field has been set. + +### SetLimitDateRangeToNil + +`func (o *RepositoryTokenRefreshResponse) SetLimitDateRangeToNil(b bool)` + + SetLimitDateRangeToNil sets the value for LimitDateRangeTo to be an explicit nil + +### UnsetLimitDateRangeTo +`func (o *RepositoryTokenRefreshResponse) UnsetLimitDateRangeTo()` + +UnsetLimitDateRangeTo ensures that no value is present for LimitDateRangeTo, not even an explicit nil +### GetLimitNumClients + +`func (o *RepositoryTokenRefreshResponse) GetLimitNumClients() int64` + +GetLimitNumClients returns the LimitNumClients field if non-nil, zero value otherwise. + +### GetLimitNumClientsOk + +`func (o *RepositoryTokenRefreshResponse) GetLimitNumClientsOk() (*int64, bool)` + +GetLimitNumClientsOk returns a tuple with the LimitNumClients field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetLimitNumClients + +`func (o *RepositoryTokenRefreshResponse) SetLimitNumClients(v int64)` + +SetLimitNumClients sets LimitNumClients field to given value. + +### HasLimitNumClients + +`func (o *RepositoryTokenRefreshResponse) HasLimitNumClients() bool` + +HasLimitNumClients returns a boolean if a field has been set. + +### SetLimitNumClientsNil + +`func (o *RepositoryTokenRefreshResponse) SetLimitNumClientsNil(b bool)` + + SetLimitNumClientsNil sets the value for LimitNumClients to be an explicit nil + +### UnsetLimitNumClients +`func (o *RepositoryTokenRefreshResponse) UnsetLimitNumClients()` + +UnsetLimitNumClients ensures that no value is present for LimitNumClients, not even an explicit nil +### GetLimitNumDownloads + +`func (o *RepositoryTokenRefreshResponse) GetLimitNumDownloads() int64` + +GetLimitNumDownloads returns the LimitNumDownloads field if non-nil, zero value otherwise. + +### GetLimitNumDownloadsOk + +`func (o *RepositoryTokenRefreshResponse) GetLimitNumDownloadsOk() (*int64, bool)` + +GetLimitNumDownloadsOk returns a tuple with the LimitNumDownloads field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetLimitNumDownloads + +`func (o *RepositoryTokenRefreshResponse) SetLimitNumDownloads(v int64)` + +SetLimitNumDownloads sets LimitNumDownloads field to given value. + +### HasLimitNumDownloads + +`func (o *RepositoryTokenRefreshResponse) HasLimitNumDownloads() bool` + +HasLimitNumDownloads returns a boolean if a field has been set. + +### SetLimitNumDownloadsNil + +`func (o *RepositoryTokenRefreshResponse) SetLimitNumDownloadsNil(b bool)` + + SetLimitNumDownloadsNil sets the value for LimitNumDownloads to be an explicit nil + +### UnsetLimitNumDownloads +`func (o *RepositoryTokenRefreshResponse) UnsetLimitNumDownloads()` + +UnsetLimitNumDownloads ensures that no value is present for LimitNumDownloads, not even an explicit nil +### GetLimitPackageQuery + +`func (o *RepositoryTokenRefreshResponse) GetLimitPackageQuery() string` + +GetLimitPackageQuery returns the LimitPackageQuery field if non-nil, zero value otherwise. + +### GetLimitPackageQueryOk + +`func (o *RepositoryTokenRefreshResponse) GetLimitPackageQueryOk() (*string, bool)` + +GetLimitPackageQueryOk returns a tuple with the LimitPackageQuery field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetLimitPackageQuery + +`func (o *RepositoryTokenRefreshResponse) SetLimitPackageQuery(v string)` + +SetLimitPackageQuery sets LimitPackageQuery field to given value. + +### HasLimitPackageQuery + +`func (o *RepositoryTokenRefreshResponse) HasLimitPackageQuery() bool` + +HasLimitPackageQuery returns a boolean if a field has been set. + +### SetLimitPackageQueryNil + +`func (o *RepositoryTokenRefreshResponse) SetLimitPackageQueryNil(b bool)` + + SetLimitPackageQueryNil sets the value for LimitPackageQuery to be an explicit nil + +### UnsetLimitPackageQuery +`func (o *RepositoryTokenRefreshResponse) UnsetLimitPackageQuery()` + +UnsetLimitPackageQuery ensures that no value is present for LimitPackageQuery, not even an explicit nil +### GetLimitPathQuery + +`func (o *RepositoryTokenRefreshResponse) GetLimitPathQuery() string` + +GetLimitPathQuery returns the LimitPathQuery field if non-nil, zero value otherwise. + +### GetLimitPathQueryOk + +`func (o *RepositoryTokenRefreshResponse) GetLimitPathQueryOk() (*string, bool)` + +GetLimitPathQueryOk returns a tuple with the LimitPathQuery field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetLimitPathQuery + +`func (o *RepositoryTokenRefreshResponse) SetLimitPathQuery(v string)` + +SetLimitPathQuery sets LimitPathQuery field to given value. + +### HasLimitPathQuery + +`func (o *RepositoryTokenRefreshResponse) HasLimitPathQuery() bool` + +HasLimitPathQuery returns a boolean if a field has been set. + +### SetLimitPathQueryNil + +`func (o *RepositoryTokenRefreshResponse) SetLimitPathQueryNil(b bool)` + + SetLimitPathQueryNil sets the value for LimitPathQuery to be an explicit nil + +### UnsetLimitPathQuery +`func (o *RepositoryTokenRefreshResponse) UnsetLimitPathQuery()` + +UnsetLimitPathQuery ensures that no value is present for LimitPathQuery, not even an explicit nil +### GetMetadata + +`func (o *RepositoryTokenRefreshResponse) GetMetadata() map[string]interface{}` + +GetMetadata returns the Metadata field if non-nil, zero value otherwise. + +### GetMetadataOk + +`func (o *RepositoryTokenRefreshResponse) GetMetadataOk() (*map[string]interface{}, bool)` + +GetMetadataOk returns a tuple with the Metadata field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetMetadata + +`func (o *RepositoryTokenRefreshResponse) SetMetadata(v map[string]interface{})` + +SetMetadata sets Metadata field to given value. + +### HasMetadata + +`func (o *RepositoryTokenRefreshResponse) HasMetadata() bool` + +HasMetadata returns a boolean if a field has been set. + +### SetMetadataNil + +`func (o *RepositoryTokenRefreshResponse) SetMetadataNil(b bool)` + + SetMetadataNil sets the value for Metadata to be an explicit nil + +### UnsetMetadata +`func (o *RepositoryTokenRefreshResponse) UnsetMetadata()` + +UnsetMetadata ensures that no value is present for Metadata, not even an explicit nil +### GetName + +`func (o *RepositoryTokenRefreshResponse) GetName() string` + +GetName returns the Name field if non-nil, zero value otherwise. + +### GetNameOk + +`func (o *RepositoryTokenRefreshResponse) GetNameOk() (*string, bool)` + +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. + +### SetName + +`func (o *RepositoryTokenRefreshResponse) SetName(v string)` + +SetName sets Name field to given value. + +### HasName + +`func (o *RepositoryTokenRefreshResponse) HasName() bool` + +HasName returns a boolean if a field has been set. + +### GetRefreshUrl + +`func (o *RepositoryTokenRefreshResponse) GetRefreshUrl() string` + +GetRefreshUrl returns the RefreshUrl field if non-nil, zero value otherwise. + +### GetRefreshUrlOk + +`func (o *RepositoryTokenRefreshResponse) GetRefreshUrlOk() (*string, bool)` + +GetRefreshUrlOk returns a tuple with the RefreshUrl field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetRefreshUrl + +`func (o *RepositoryTokenRefreshResponse) SetRefreshUrl(v string)` + +SetRefreshUrl sets RefreshUrl field to given value. + +### HasRefreshUrl + +`func (o *RepositoryTokenRefreshResponse) HasRefreshUrl() bool` + +HasRefreshUrl returns a boolean if a field has been set. + +### GetResetUrl + +`func (o *RepositoryTokenRefreshResponse) GetResetUrl() string` + +GetResetUrl returns the ResetUrl field if non-nil, zero value otherwise. + +### GetResetUrlOk + +`func (o *RepositoryTokenRefreshResponse) GetResetUrlOk() (*string, bool)` + +GetResetUrlOk returns a tuple with the ResetUrl field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetResetUrl + +`func (o *RepositoryTokenRefreshResponse) SetResetUrl(v string)` + +SetResetUrl sets ResetUrl field to given value. + +### HasResetUrl + +`func (o *RepositoryTokenRefreshResponse) HasResetUrl() bool` + +HasResetUrl returns a boolean if a field has been set. + +### GetScheduledResetAt + +`func (o *RepositoryTokenRefreshResponse) GetScheduledResetAt() time.Time` + +GetScheduledResetAt returns the ScheduledResetAt field if non-nil, zero value otherwise. + +### GetScheduledResetAtOk + +`func (o *RepositoryTokenRefreshResponse) GetScheduledResetAtOk() (*time.Time, bool)` + +GetScheduledResetAtOk returns a tuple with the ScheduledResetAt field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetScheduledResetAt + +`func (o *RepositoryTokenRefreshResponse) SetScheduledResetAt(v time.Time)` + +SetScheduledResetAt sets ScheduledResetAt field to given value. + +### HasScheduledResetAt + +`func (o *RepositoryTokenRefreshResponse) HasScheduledResetAt() bool` + +HasScheduledResetAt returns a boolean if a field has been set. + +### SetScheduledResetAtNil + +`func (o *RepositoryTokenRefreshResponse) SetScheduledResetAtNil(b bool)` + + SetScheduledResetAtNil sets the value for ScheduledResetAt to be an explicit nil + +### UnsetScheduledResetAt +`func (o *RepositoryTokenRefreshResponse) UnsetScheduledResetAt()` + +UnsetScheduledResetAt ensures that no value is present for ScheduledResetAt, not even an explicit nil +### GetScheduledResetPeriod + +`func (o *RepositoryTokenRefreshResponse) GetScheduledResetPeriod() string` + +GetScheduledResetPeriod returns the ScheduledResetPeriod field if non-nil, zero value otherwise. + +### GetScheduledResetPeriodOk + +`func (o *RepositoryTokenRefreshResponse) GetScheduledResetPeriodOk() (*string, bool)` + +GetScheduledResetPeriodOk returns a tuple with the ScheduledResetPeriod field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetScheduledResetPeriod + +`func (o *RepositoryTokenRefreshResponse) SetScheduledResetPeriod(v string)` + +SetScheduledResetPeriod sets ScheduledResetPeriod field to given value. + +### HasScheduledResetPeriod + +`func (o *RepositoryTokenRefreshResponse) HasScheduledResetPeriod() bool` + +HasScheduledResetPeriod returns a boolean if a field has been set. + +### SetScheduledResetPeriodNil + +`func (o *RepositoryTokenRefreshResponse) SetScheduledResetPeriodNil(b bool)` + + SetScheduledResetPeriodNil sets the value for ScheduledResetPeriod to be an explicit nil + +### UnsetScheduledResetPeriod +`func (o *RepositoryTokenRefreshResponse) UnsetScheduledResetPeriod()` + +UnsetScheduledResetPeriod ensures that no value is present for ScheduledResetPeriod, not even an explicit nil +### GetSelfUrl + +`func (o *RepositoryTokenRefreshResponse) GetSelfUrl() string` + +GetSelfUrl returns the SelfUrl field if non-nil, zero value otherwise. + +### GetSelfUrlOk + +`func (o *RepositoryTokenRefreshResponse) GetSelfUrlOk() (*string, bool)` + +GetSelfUrlOk returns a tuple with the SelfUrl field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetSelfUrl + +`func (o *RepositoryTokenRefreshResponse) SetSelfUrl(v string)` + +SetSelfUrl sets SelfUrl field to given value. + +### HasSelfUrl + +`func (o *RepositoryTokenRefreshResponse) HasSelfUrl() bool` + +HasSelfUrl returns a boolean if a field has been set. + +### GetSlugPerm + +`func (o *RepositoryTokenRefreshResponse) GetSlugPerm() string` + +GetSlugPerm returns the SlugPerm field if non-nil, zero value otherwise. + +### GetSlugPermOk + +`func (o *RepositoryTokenRefreshResponse) GetSlugPermOk() (*string, bool)` + +GetSlugPermOk returns a tuple with the SlugPerm field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetSlugPerm + +`func (o *RepositoryTokenRefreshResponse) SetSlugPerm(v string)` + +SetSlugPerm sets SlugPerm field to given value. + +### HasSlugPerm + +`func (o *RepositoryTokenRefreshResponse) HasSlugPerm() bool` + +HasSlugPerm returns a boolean if a field has been set. + +### GetToken + +`func (o *RepositoryTokenRefreshResponse) GetToken() string` + +GetToken returns the Token field if non-nil, zero value otherwise. + +### GetTokenOk + +`func (o *RepositoryTokenRefreshResponse) GetTokenOk() (*string, bool)` + +GetTokenOk returns a tuple with the Token field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetToken + +`func (o *RepositoryTokenRefreshResponse) SetToken(v string)` + +SetToken sets Token field to given value. + +### HasToken + +`func (o *RepositoryTokenRefreshResponse) HasToken() bool` + +HasToken returns a boolean if a field has been set. + +### GetUpdatedAt + +`func (o *RepositoryTokenRefreshResponse) GetUpdatedAt() time.Time` + +GetUpdatedAt returns the UpdatedAt field if non-nil, zero value otherwise. + +### GetUpdatedAtOk + +`func (o *RepositoryTokenRefreshResponse) GetUpdatedAtOk() (*time.Time, bool)` + +GetUpdatedAtOk returns a tuple with the UpdatedAt field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetUpdatedAt + +`func (o *RepositoryTokenRefreshResponse) SetUpdatedAt(v time.Time)` + +SetUpdatedAt sets UpdatedAt field to given value. + +### HasUpdatedAt + +`func (o *RepositoryTokenRefreshResponse) HasUpdatedAt() bool` + +HasUpdatedAt returns a boolean if a field has been set. + +### GetUpdatedBy + +`func (o *RepositoryTokenRefreshResponse) GetUpdatedBy() string` + +GetUpdatedBy returns the UpdatedBy field if non-nil, zero value otherwise. + +### GetUpdatedByOk + +`func (o *RepositoryTokenRefreshResponse) GetUpdatedByOk() (*string, bool)` + +GetUpdatedByOk returns a tuple with the UpdatedBy field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetUpdatedBy + +`func (o *RepositoryTokenRefreshResponse) SetUpdatedBy(v string)` + +SetUpdatedBy sets UpdatedBy field to given value. + +### HasUpdatedBy + +`func (o *RepositoryTokenRefreshResponse) HasUpdatedBy() bool` + +HasUpdatedBy returns a boolean if a field has been set. + +### SetUpdatedByNil + +`func (o *RepositoryTokenRefreshResponse) SetUpdatedByNil(b bool)` + + SetUpdatedByNil sets the value for UpdatedBy to be an explicit nil + +### UnsetUpdatedBy +`func (o *RepositoryTokenRefreshResponse) UnsetUpdatedBy()` + +UnsetUpdatedBy ensures that no value is present for UpdatedBy, not even an explicit nil +### GetUpdatedByUrl + +`func (o *RepositoryTokenRefreshResponse) GetUpdatedByUrl() string` + +GetUpdatedByUrl returns the UpdatedByUrl field if non-nil, zero value otherwise. + +### GetUpdatedByUrlOk + +`func (o *RepositoryTokenRefreshResponse) GetUpdatedByUrlOk() (*string, bool)` + +GetUpdatedByUrlOk returns a tuple with the UpdatedByUrl field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetUpdatedByUrl + +`func (o *RepositoryTokenRefreshResponse) SetUpdatedByUrl(v string)` + +SetUpdatedByUrl sets UpdatedByUrl field to given value. + +### HasUpdatedByUrl + +`func (o *RepositoryTokenRefreshResponse) HasUpdatedByUrl() bool` + +HasUpdatedByUrl returns a boolean if a field has been set. + +### SetUpdatedByUrlNil + +`func (o *RepositoryTokenRefreshResponse) SetUpdatedByUrlNil(b bool)` + + SetUpdatedByUrlNil sets the value for UpdatedByUrl to be an explicit nil + +### UnsetUpdatedByUrl +`func (o *RepositoryTokenRefreshResponse) UnsetUpdatedByUrl()` + +UnsetUpdatedByUrl ensures that no value is present for UpdatedByUrl, not even an explicit nil +### GetUsage + +`func (o *RepositoryTokenRefreshResponse) GetUsage() string` + +GetUsage returns the Usage field if non-nil, zero value otherwise. + +### GetUsageOk + +`func (o *RepositoryTokenRefreshResponse) GetUsageOk() (*string, bool)` + +GetUsageOk returns a tuple with the Usage field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetUsage + +`func (o *RepositoryTokenRefreshResponse) SetUsage(v string)` + +SetUsage sets Usage field to given value. + +### HasUsage + +`func (o *RepositoryTokenRefreshResponse) HasUsage() bool` + +HasUsage returns a boolean if a field has been set. + +### GetUser + +`func (o *RepositoryTokenRefreshResponse) GetUser() string` + +GetUser returns the User field if non-nil, zero value otherwise. + +### GetUserOk + +`func (o *RepositoryTokenRefreshResponse) GetUserOk() (*string, bool)` + +GetUserOk returns a tuple with the User field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetUser + +`func (o *RepositoryTokenRefreshResponse) SetUser(v string)` + +SetUser sets User field to given value. + +### HasUser + +`func (o *RepositoryTokenRefreshResponse) HasUser() bool` + +HasUser returns a boolean if a field has been set. + +### SetUserNil + +`func (o *RepositoryTokenRefreshResponse) SetUserNil(b bool)` + + SetUserNil sets the value for User to be an explicit nil + +### UnsetUser +`func (o *RepositoryTokenRefreshResponse) UnsetUser()` + +UnsetUser ensures that no value is present for User, not even an explicit nil +### GetUserUrl + +`func (o *RepositoryTokenRefreshResponse) GetUserUrl() string` + +GetUserUrl returns the UserUrl field if non-nil, zero value otherwise. + +### GetUserUrlOk + +`func (o *RepositoryTokenRefreshResponse) GetUserUrlOk() (*string, bool)` + +GetUserUrlOk returns a tuple with the UserUrl field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetUserUrl + +`func (o *RepositoryTokenRefreshResponse) SetUserUrl(v string)` + +SetUserUrl sets UserUrl field to given value. + +### HasUserUrl + +`func (o *RepositoryTokenRefreshResponse) HasUserUrl() bool` + +HasUserUrl returns a boolean if a field has been set. + +### SetUserUrlNil + +`func (o *RepositoryTokenRefreshResponse) SetUserUrlNil(b bool)` + + SetUserUrlNil sets the value for UserUrl to be an explicit nil + +### UnsetUserUrl +`func (o *RepositoryTokenRefreshResponse) UnsetUserUrl()` + +UnsetUserUrl ensures that no value is present for UserUrl, 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/docs/RepositoryTokenRequest.md b/docs/RepositoryTokenRequest.md new file mode 100644 index 00000000..e7bbc163 --- /dev/null +++ b/docs/RepositoryTokenRequest.md @@ -0,0 +1,525 @@ +# RepositoryTokenRequest + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**EulaRequired** | Pointer to **bool** | If checked, a EULA acceptance is required for this token. | [optional] +**IsActive** | Pointer to **bool** | If enabled, the token will allow downloads based on configured restrictions (if any). | [optional] +**LimitBandwidth** | Pointer to **NullableInt64** | The maximum download bandwidth allowed for the token. Values are expressed as the selected unit of bandwidth. Please note that since downloads are calculated asynchronously (after the download happens), the limit may not be imposed immediately but at a later point. | [optional] +**LimitBandwidthUnit** | Pointer to **NullableString** | | [optional] [default to "Byte"] +**LimitDateRangeFrom** | Pointer to **NullableTime** | The starting date/time the token is allowed to be used from. | [optional] +**LimitDateRangeTo** | Pointer to **NullableTime** | The ending date/time the token is allowed to be used until. | [optional] +**LimitNumClients** | Pointer to **NullableInt64** | The maximum number of unique clients allowed for the token. Please note that since clients are calculated asynchronously (after the download happens), the limit may not be imposed immediately but at a later point. | [optional] +**LimitNumDownloads** | Pointer to **NullableInt64** | The maximum number of downloads allowed for the token. Please note that since downloads are calculated asynchronously (after the download happens), the limit may not be imposed immediately but at a later point. | [optional] +**LimitPackageQuery** | Pointer to **NullableString** | The package-based search query to apply to restrict downloads to. This uses the same syntax as the standard search used for repositories, and also supports boolean logic operators such as OR/AND/NOT and parentheses for grouping. This will still allow access to non-package files, such as metadata. | [optional] +**LimitPathQuery** | Pointer to **NullableString** | The path-based search query to apply to restrict downloads to. This supports boolean logic operators such as OR/AND/NOT and parentheses for grouping. The path evaluated does not include the domain name, the namespace, the entitlement code used, the package format, etc. and it always starts with a forward slash. | [optional] +**Metadata** | Pointer to **map[string]interface{}** | | [optional] +**Name** | **string** | | +**ScheduledResetAt** | Pointer to **NullableTime** | The time at which the scheduled reset period has elapsed and the token limits were automatically reset to zero. | [optional] +**ScheduledResetPeriod** | Pointer to **NullableString** | | [optional] [default to "Never Reset"] +**Token** | Pointer to **string** | | [optional] + +## Methods + +### NewRepositoryTokenRequest + +`func NewRepositoryTokenRequest(name string, ) *RepositoryTokenRequest` + +NewRepositoryTokenRequest instantiates a new RepositoryTokenRequest object +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 + +### NewRepositoryTokenRequestWithDefaults + +`func NewRepositoryTokenRequestWithDefaults() *RepositoryTokenRequest` + +NewRepositoryTokenRequestWithDefaults instantiates a new RepositoryTokenRequest object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetEulaRequired + +`func (o *RepositoryTokenRequest) GetEulaRequired() bool` + +GetEulaRequired returns the EulaRequired field if non-nil, zero value otherwise. + +### GetEulaRequiredOk + +`func (o *RepositoryTokenRequest) GetEulaRequiredOk() (*bool, bool)` + +GetEulaRequiredOk returns a tuple with the EulaRequired field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetEulaRequired + +`func (o *RepositoryTokenRequest) SetEulaRequired(v bool)` + +SetEulaRequired sets EulaRequired field to given value. + +### HasEulaRequired + +`func (o *RepositoryTokenRequest) HasEulaRequired() bool` + +HasEulaRequired returns a boolean if a field has been set. + +### GetIsActive + +`func (o *RepositoryTokenRequest) GetIsActive() bool` + +GetIsActive returns the IsActive field if non-nil, zero value otherwise. + +### GetIsActiveOk + +`func (o *RepositoryTokenRequest) GetIsActiveOk() (*bool, bool)` + +GetIsActiveOk returns a tuple with the IsActive field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetIsActive + +`func (o *RepositoryTokenRequest) SetIsActive(v bool)` + +SetIsActive sets IsActive field to given value. + +### HasIsActive + +`func (o *RepositoryTokenRequest) HasIsActive() bool` + +HasIsActive returns a boolean if a field has been set. + +### GetLimitBandwidth + +`func (o *RepositoryTokenRequest) GetLimitBandwidth() int64` + +GetLimitBandwidth returns the LimitBandwidth field if non-nil, zero value otherwise. + +### GetLimitBandwidthOk + +`func (o *RepositoryTokenRequest) GetLimitBandwidthOk() (*int64, bool)` + +GetLimitBandwidthOk returns a tuple with the LimitBandwidth field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetLimitBandwidth + +`func (o *RepositoryTokenRequest) SetLimitBandwidth(v int64)` + +SetLimitBandwidth sets LimitBandwidth field to given value. + +### HasLimitBandwidth + +`func (o *RepositoryTokenRequest) HasLimitBandwidth() bool` + +HasLimitBandwidth returns a boolean if a field has been set. + +### SetLimitBandwidthNil + +`func (o *RepositoryTokenRequest) SetLimitBandwidthNil(b bool)` + + SetLimitBandwidthNil sets the value for LimitBandwidth to be an explicit nil + +### UnsetLimitBandwidth +`func (o *RepositoryTokenRequest) UnsetLimitBandwidth()` + +UnsetLimitBandwidth ensures that no value is present for LimitBandwidth, not even an explicit nil +### GetLimitBandwidthUnit + +`func (o *RepositoryTokenRequest) GetLimitBandwidthUnit() string` + +GetLimitBandwidthUnit returns the LimitBandwidthUnit field if non-nil, zero value otherwise. + +### GetLimitBandwidthUnitOk + +`func (o *RepositoryTokenRequest) GetLimitBandwidthUnitOk() (*string, bool)` + +GetLimitBandwidthUnitOk returns a tuple with the LimitBandwidthUnit field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetLimitBandwidthUnit + +`func (o *RepositoryTokenRequest) SetLimitBandwidthUnit(v string)` + +SetLimitBandwidthUnit sets LimitBandwidthUnit field to given value. + +### HasLimitBandwidthUnit + +`func (o *RepositoryTokenRequest) HasLimitBandwidthUnit() bool` + +HasLimitBandwidthUnit returns a boolean if a field has been set. + +### SetLimitBandwidthUnitNil + +`func (o *RepositoryTokenRequest) SetLimitBandwidthUnitNil(b bool)` + + SetLimitBandwidthUnitNil sets the value for LimitBandwidthUnit to be an explicit nil + +### UnsetLimitBandwidthUnit +`func (o *RepositoryTokenRequest) UnsetLimitBandwidthUnit()` + +UnsetLimitBandwidthUnit ensures that no value is present for LimitBandwidthUnit, not even an explicit nil +### GetLimitDateRangeFrom + +`func (o *RepositoryTokenRequest) GetLimitDateRangeFrom() time.Time` + +GetLimitDateRangeFrom returns the LimitDateRangeFrom field if non-nil, zero value otherwise. + +### GetLimitDateRangeFromOk + +`func (o *RepositoryTokenRequest) GetLimitDateRangeFromOk() (*time.Time, bool)` + +GetLimitDateRangeFromOk returns a tuple with the LimitDateRangeFrom field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetLimitDateRangeFrom + +`func (o *RepositoryTokenRequest) SetLimitDateRangeFrom(v time.Time)` + +SetLimitDateRangeFrom sets LimitDateRangeFrom field to given value. + +### HasLimitDateRangeFrom + +`func (o *RepositoryTokenRequest) HasLimitDateRangeFrom() bool` + +HasLimitDateRangeFrom returns a boolean if a field has been set. + +### SetLimitDateRangeFromNil + +`func (o *RepositoryTokenRequest) SetLimitDateRangeFromNil(b bool)` + + SetLimitDateRangeFromNil sets the value for LimitDateRangeFrom to be an explicit nil + +### UnsetLimitDateRangeFrom +`func (o *RepositoryTokenRequest) UnsetLimitDateRangeFrom()` + +UnsetLimitDateRangeFrom ensures that no value is present for LimitDateRangeFrom, not even an explicit nil +### GetLimitDateRangeTo + +`func (o *RepositoryTokenRequest) GetLimitDateRangeTo() time.Time` + +GetLimitDateRangeTo returns the LimitDateRangeTo field if non-nil, zero value otherwise. + +### GetLimitDateRangeToOk + +`func (o *RepositoryTokenRequest) GetLimitDateRangeToOk() (*time.Time, bool)` + +GetLimitDateRangeToOk returns a tuple with the LimitDateRangeTo field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetLimitDateRangeTo + +`func (o *RepositoryTokenRequest) SetLimitDateRangeTo(v time.Time)` + +SetLimitDateRangeTo sets LimitDateRangeTo field to given value. + +### HasLimitDateRangeTo + +`func (o *RepositoryTokenRequest) HasLimitDateRangeTo() bool` + +HasLimitDateRangeTo returns a boolean if a field has been set. + +### SetLimitDateRangeToNil + +`func (o *RepositoryTokenRequest) SetLimitDateRangeToNil(b bool)` + + SetLimitDateRangeToNil sets the value for LimitDateRangeTo to be an explicit nil + +### UnsetLimitDateRangeTo +`func (o *RepositoryTokenRequest) UnsetLimitDateRangeTo()` + +UnsetLimitDateRangeTo ensures that no value is present for LimitDateRangeTo, not even an explicit nil +### GetLimitNumClients + +`func (o *RepositoryTokenRequest) GetLimitNumClients() int64` + +GetLimitNumClients returns the LimitNumClients field if non-nil, zero value otherwise. + +### GetLimitNumClientsOk + +`func (o *RepositoryTokenRequest) GetLimitNumClientsOk() (*int64, bool)` + +GetLimitNumClientsOk returns a tuple with the LimitNumClients field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetLimitNumClients + +`func (o *RepositoryTokenRequest) SetLimitNumClients(v int64)` + +SetLimitNumClients sets LimitNumClients field to given value. + +### HasLimitNumClients + +`func (o *RepositoryTokenRequest) HasLimitNumClients() bool` + +HasLimitNumClients returns a boolean if a field has been set. + +### SetLimitNumClientsNil + +`func (o *RepositoryTokenRequest) SetLimitNumClientsNil(b bool)` + + SetLimitNumClientsNil sets the value for LimitNumClients to be an explicit nil + +### UnsetLimitNumClients +`func (o *RepositoryTokenRequest) UnsetLimitNumClients()` + +UnsetLimitNumClients ensures that no value is present for LimitNumClients, not even an explicit nil +### GetLimitNumDownloads + +`func (o *RepositoryTokenRequest) GetLimitNumDownloads() int64` + +GetLimitNumDownloads returns the LimitNumDownloads field if non-nil, zero value otherwise. + +### GetLimitNumDownloadsOk + +`func (o *RepositoryTokenRequest) GetLimitNumDownloadsOk() (*int64, bool)` + +GetLimitNumDownloadsOk returns a tuple with the LimitNumDownloads field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetLimitNumDownloads + +`func (o *RepositoryTokenRequest) SetLimitNumDownloads(v int64)` + +SetLimitNumDownloads sets LimitNumDownloads field to given value. + +### HasLimitNumDownloads + +`func (o *RepositoryTokenRequest) HasLimitNumDownloads() bool` + +HasLimitNumDownloads returns a boolean if a field has been set. + +### SetLimitNumDownloadsNil + +`func (o *RepositoryTokenRequest) SetLimitNumDownloadsNil(b bool)` + + SetLimitNumDownloadsNil sets the value for LimitNumDownloads to be an explicit nil + +### UnsetLimitNumDownloads +`func (o *RepositoryTokenRequest) UnsetLimitNumDownloads()` + +UnsetLimitNumDownloads ensures that no value is present for LimitNumDownloads, not even an explicit nil +### GetLimitPackageQuery + +`func (o *RepositoryTokenRequest) GetLimitPackageQuery() string` + +GetLimitPackageQuery returns the LimitPackageQuery field if non-nil, zero value otherwise. + +### GetLimitPackageQueryOk + +`func (o *RepositoryTokenRequest) GetLimitPackageQueryOk() (*string, bool)` + +GetLimitPackageQueryOk returns a tuple with the LimitPackageQuery field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetLimitPackageQuery + +`func (o *RepositoryTokenRequest) SetLimitPackageQuery(v string)` + +SetLimitPackageQuery sets LimitPackageQuery field to given value. + +### HasLimitPackageQuery + +`func (o *RepositoryTokenRequest) HasLimitPackageQuery() bool` + +HasLimitPackageQuery returns a boolean if a field has been set. + +### SetLimitPackageQueryNil + +`func (o *RepositoryTokenRequest) SetLimitPackageQueryNil(b bool)` + + SetLimitPackageQueryNil sets the value for LimitPackageQuery to be an explicit nil + +### UnsetLimitPackageQuery +`func (o *RepositoryTokenRequest) UnsetLimitPackageQuery()` + +UnsetLimitPackageQuery ensures that no value is present for LimitPackageQuery, not even an explicit nil +### GetLimitPathQuery + +`func (o *RepositoryTokenRequest) GetLimitPathQuery() string` + +GetLimitPathQuery returns the LimitPathQuery field if non-nil, zero value otherwise. + +### GetLimitPathQueryOk + +`func (o *RepositoryTokenRequest) GetLimitPathQueryOk() (*string, bool)` + +GetLimitPathQueryOk returns a tuple with the LimitPathQuery field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetLimitPathQuery + +`func (o *RepositoryTokenRequest) SetLimitPathQuery(v string)` + +SetLimitPathQuery sets LimitPathQuery field to given value. + +### HasLimitPathQuery + +`func (o *RepositoryTokenRequest) HasLimitPathQuery() bool` + +HasLimitPathQuery returns a boolean if a field has been set. + +### SetLimitPathQueryNil + +`func (o *RepositoryTokenRequest) SetLimitPathQueryNil(b bool)` + + SetLimitPathQueryNil sets the value for LimitPathQuery to be an explicit nil + +### UnsetLimitPathQuery +`func (o *RepositoryTokenRequest) UnsetLimitPathQuery()` + +UnsetLimitPathQuery ensures that no value is present for LimitPathQuery, not even an explicit nil +### GetMetadata + +`func (o *RepositoryTokenRequest) GetMetadata() map[string]interface{}` + +GetMetadata returns the Metadata field if non-nil, zero value otherwise. + +### GetMetadataOk + +`func (o *RepositoryTokenRequest) GetMetadataOk() (*map[string]interface{}, bool)` + +GetMetadataOk returns a tuple with the Metadata field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetMetadata + +`func (o *RepositoryTokenRequest) SetMetadata(v map[string]interface{})` + +SetMetadata sets Metadata field to given value. + +### HasMetadata + +`func (o *RepositoryTokenRequest) HasMetadata() bool` + +HasMetadata returns a boolean if a field has been set. + +### SetMetadataNil + +`func (o *RepositoryTokenRequest) SetMetadataNil(b bool)` + + SetMetadataNil sets the value for Metadata to be an explicit nil + +### UnsetMetadata +`func (o *RepositoryTokenRequest) UnsetMetadata()` + +UnsetMetadata ensures that no value is present for Metadata, not even an explicit nil +### GetName + +`func (o *RepositoryTokenRequest) GetName() string` + +GetName returns the Name field if non-nil, zero value otherwise. + +### GetNameOk + +`func (o *RepositoryTokenRequest) GetNameOk() (*string, bool)` + +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. + +### SetName + +`func (o *RepositoryTokenRequest) SetName(v string)` + +SetName sets Name field to given value. + + +### GetScheduledResetAt + +`func (o *RepositoryTokenRequest) GetScheduledResetAt() time.Time` + +GetScheduledResetAt returns the ScheduledResetAt field if non-nil, zero value otherwise. + +### GetScheduledResetAtOk + +`func (o *RepositoryTokenRequest) GetScheduledResetAtOk() (*time.Time, bool)` + +GetScheduledResetAtOk returns a tuple with the ScheduledResetAt field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetScheduledResetAt + +`func (o *RepositoryTokenRequest) SetScheduledResetAt(v time.Time)` + +SetScheduledResetAt sets ScheduledResetAt field to given value. + +### HasScheduledResetAt + +`func (o *RepositoryTokenRequest) HasScheduledResetAt() bool` + +HasScheduledResetAt returns a boolean if a field has been set. + +### SetScheduledResetAtNil + +`func (o *RepositoryTokenRequest) SetScheduledResetAtNil(b bool)` + + SetScheduledResetAtNil sets the value for ScheduledResetAt to be an explicit nil + +### UnsetScheduledResetAt +`func (o *RepositoryTokenRequest) UnsetScheduledResetAt()` + +UnsetScheduledResetAt ensures that no value is present for ScheduledResetAt, not even an explicit nil +### GetScheduledResetPeriod + +`func (o *RepositoryTokenRequest) GetScheduledResetPeriod() string` + +GetScheduledResetPeriod returns the ScheduledResetPeriod field if non-nil, zero value otherwise. + +### GetScheduledResetPeriodOk + +`func (o *RepositoryTokenRequest) GetScheduledResetPeriodOk() (*string, bool)` + +GetScheduledResetPeriodOk returns a tuple with the ScheduledResetPeriod field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetScheduledResetPeriod + +`func (o *RepositoryTokenRequest) SetScheduledResetPeriod(v string)` + +SetScheduledResetPeriod sets ScheduledResetPeriod field to given value. + +### HasScheduledResetPeriod + +`func (o *RepositoryTokenRequest) HasScheduledResetPeriod() bool` + +HasScheduledResetPeriod returns a boolean if a field has been set. + +### SetScheduledResetPeriodNil + +`func (o *RepositoryTokenRequest) SetScheduledResetPeriodNil(b bool)` + + SetScheduledResetPeriodNil sets the value for ScheduledResetPeriod to be an explicit nil + +### UnsetScheduledResetPeriod +`func (o *RepositoryTokenRequest) UnsetScheduledResetPeriod()` + +UnsetScheduledResetPeriod ensures that no value is present for ScheduledResetPeriod, not even an explicit nil +### GetToken + +`func (o *RepositoryTokenRequest) GetToken() string` + +GetToken returns the Token field if non-nil, zero value otherwise. + +### GetTokenOk + +`func (o *RepositoryTokenRequest) GetTokenOk() (*string, bool)` + +GetTokenOk returns a tuple with the Token field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetToken + +`func (o *RepositoryTokenRequest) SetToken(v string)` + +SetToken sets Token field to given value. + +### HasToken + +`func (o *RepositoryTokenRequest) HasToken() bool` + +HasToken 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/docs/RepositoryTokenRequestPatch.md b/docs/RepositoryTokenRequestPatch.md new file mode 100644 index 00000000..742ca981 --- /dev/null +++ b/docs/RepositoryTokenRequestPatch.md @@ -0,0 +1,530 @@ +# RepositoryTokenRequestPatch + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**EulaRequired** | Pointer to **bool** | If checked, a EULA acceptance is required for this token. | [optional] +**IsActive** | Pointer to **bool** | If enabled, the token will allow downloads based on configured restrictions (if any). | [optional] +**LimitBandwidth** | Pointer to **NullableInt64** | The maximum download bandwidth allowed for the token. Values are expressed as the selected unit of bandwidth. Please note that since downloads are calculated asynchronously (after the download happens), the limit may not be imposed immediately but at a later point. | [optional] +**LimitBandwidthUnit** | Pointer to **NullableString** | | [optional] [default to "Byte"] +**LimitDateRangeFrom** | Pointer to **NullableTime** | The starting date/time the token is allowed to be used from. | [optional] +**LimitDateRangeTo** | Pointer to **NullableTime** | The ending date/time the token is allowed to be used until. | [optional] +**LimitNumClients** | Pointer to **NullableInt64** | The maximum number of unique clients allowed for the token. Please note that since clients are calculated asynchronously (after the download happens), the limit may not be imposed immediately but at a later point. | [optional] +**LimitNumDownloads** | Pointer to **NullableInt64** | The maximum number of downloads allowed for the token. Please note that since downloads are calculated asynchronously (after the download happens), the limit may not be imposed immediately but at a later point. | [optional] +**LimitPackageQuery** | Pointer to **NullableString** | The package-based search query to apply to restrict downloads to. This uses the same syntax as the standard search used for repositories, and also supports boolean logic operators such as OR/AND/NOT and parentheses for grouping. This will still allow access to non-package files, such as metadata. | [optional] +**LimitPathQuery** | Pointer to **NullableString** | The path-based search query to apply to restrict downloads to. This supports boolean logic operators such as OR/AND/NOT and parentheses for grouping. The path evaluated does not include the domain name, the namespace, the entitlement code used, the package format, etc. and it always starts with a forward slash. | [optional] +**Metadata** | Pointer to **map[string]interface{}** | | [optional] +**Name** | Pointer to **string** | | [optional] +**ScheduledResetAt** | Pointer to **NullableTime** | The time at which the scheduled reset period has elapsed and the token limits were automatically reset to zero. | [optional] +**ScheduledResetPeriod** | Pointer to **NullableString** | | [optional] [default to "Never Reset"] +**Token** | Pointer to **string** | | [optional] + +## Methods + +### NewRepositoryTokenRequestPatch + +`func NewRepositoryTokenRequestPatch() *RepositoryTokenRequestPatch` + +NewRepositoryTokenRequestPatch instantiates a new RepositoryTokenRequestPatch object +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 + +### NewRepositoryTokenRequestPatchWithDefaults + +`func NewRepositoryTokenRequestPatchWithDefaults() *RepositoryTokenRequestPatch` + +NewRepositoryTokenRequestPatchWithDefaults instantiates a new RepositoryTokenRequestPatch object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetEulaRequired + +`func (o *RepositoryTokenRequestPatch) GetEulaRequired() bool` + +GetEulaRequired returns the EulaRequired field if non-nil, zero value otherwise. + +### GetEulaRequiredOk + +`func (o *RepositoryTokenRequestPatch) GetEulaRequiredOk() (*bool, bool)` + +GetEulaRequiredOk returns a tuple with the EulaRequired field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetEulaRequired + +`func (o *RepositoryTokenRequestPatch) SetEulaRequired(v bool)` + +SetEulaRequired sets EulaRequired field to given value. + +### HasEulaRequired + +`func (o *RepositoryTokenRequestPatch) HasEulaRequired() bool` + +HasEulaRequired returns a boolean if a field has been set. + +### GetIsActive + +`func (o *RepositoryTokenRequestPatch) GetIsActive() bool` + +GetIsActive returns the IsActive field if non-nil, zero value otherwise. + +### GetIsActiveOk + +`func (o *RepositoryTokenRequestPatch) GetIsActiveOk() (*bool, bool)` + +GetIsActiveOk returns a tuple with the IsActive field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetIsActive + +`func (o *RepositoryTokenRequestPatch) SetIsActive(v bool)` + +SetIsActive sets IsActive field to given value. + +### HasIsActive + +`func (o *RepositoryTokenRequestPatch) HasIsActive() bool` + +HasIsActive returns a boolean if a field has been set. + +### GetLimitBandwidth + +`func (o *RepositoryTokenRequestPatch) GetLimitBandwidth() int64` + +GetLimitBandwidth returns the LimitBandwidth field if non-nil, zero value otherwise. + +### GetLimitBandwidthOk + +`func (o *RepositoryTokenRequestPatch) GetLimitBandwidthOk() (*int64, bool)` + +GetLimitBandwidthOk returns a tuple with the LimitBandwidth field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetLimitBandwidth + +`func (o *RepositoryTokenRequestPatch) SetLimitBandwidth(v int64)` + +SetLimitBandwidth sets LimitBandwidth field to given value. + +### HasLimitBandwidth + +`func (o *RepositoryTokenRequestPatch) HasLimitBandwidth() bool` + +HasLimitBandwidth returns a boolean if a field has been set. + +### SetLimitBandwidthNil + +`func (o *RepositoryTokenRequestPatch) SetLimitBandwidthNil(b bool)` + + SetLimitBandwidthNil sets the value for LimitBandwidth to be an explicit nil + +### UnsetLimitBandwidth +`func (o *RepositoryTokenRequestPatch) UnsetLimitBandwidth()` + +UnsetLimitBandwidth ensures that no value is present for LimitBandwidth, not even an explicit nil +### GetLimitBandwidthUnit + +`func (o *RepositoryTokenRequestPatch) GetLimitBandwidthUnit() string` + +GetLimitBandwidthUnit returns the LimitBandwidthUnit field if non-nil, zero value otherwise. + +### GetLimitBandwidthUnitOk + +`func (o *RepositoryTokenRequestPatch) GetLimitBandwidthUnitOk() (*string, bool)` + +GetLimitBandwidthUnitOk returns a tuple with the LimitBandwidthUnit field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetLimitBandwidthUnit + +`func (o *RepositoryTokenRequestPatch) SetLimitBandwidthUnit(v string)` + +SetLimitBandwidthUnit sets LimitBandwidthUnit field to given value. + +### HasLimitBandwidthUnit + +`func (o *RepositoryTokenRequestPatch) HasLimitBandwidthUnit() bool` + +HasLimitBandwidthUnit returns a boolean if a field has been set. + +### SetLimitBandwidthUnitNil + +`func (o *RepositoryTokenRequestPatch) SetLimitBandwidthUnitNil(b bool)` + + SetLimitBandwidthUnitNil sets the value for LimitBandwidthUnit to be an explicit nil + +### UnsetLimitBandwidthUnit +`func (o *RepositoryTokenRequestPatch) UnsetLimitBandwidthUnit()` + +UnsetLimitBandwidthUnit ensures that no value is present for LimitBandwidthUnit, not even an explicit nil +### GetLimitDateRangeFrom + +`func (o *RepositoryTokenRequestPatch) GetLimitDateRangeFrom() time.Time` + +GetLimitDateRangeFrom returns the LimitDateRangeFrom field if non-nil, zero value otherwise. + +### GetLimitDateRangeFromOk + +`func (o *RepositoryTokenRequestPatch) GetLimitDateRangeFromOk() (*time.Time, bool)` + +GetLimitDateRangeFromOk returns a tuple with the LimitDateRangeFrom field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetLimitDateRangeFrom + +`func (o *RepositoryTokenRequestPatch) SetLimitDateRangeFrom(v time.Time)` + +SetLimitDateRangeFrom sets LimitDateRangeFrom field to given value. + +### HasLimitDateRangeFrom + +`func (o *RepositoryTokenRequestPatch) HasLimitDateRangeFrom() bool` + +HasLimitDateRangeFrom returns a boolean if a field has been set. + +### SetLimitDateRangeFromNil + +`func (o *RepositoryTokenRequestPatch) SetLimitDateRangeFromNil(b bool)` + + SetLimitDateRangeFromNil sets the value for LimitDateRangeFrom to be an explicit nil + +### UnsetLimitDateRangeFrom +`func (o *RepositoryTokenRequestPatch) UnsetLimitDateRangeFrom()` + +UnsetLimitDateRangeFrom ensures that no value is present for LimitDateRangeFrom, not even an explicit nil +### GetLimitDateRangeTo + +`func (o *RepositoryTokenRequestPatch) GetLimitDateRangeTo() time.Time` + +GetLimitDateRangeTo returns the LimitDateRangeTo field if non-nil, zero value otherwise. + +### GetLimitDateRangeToOk + +`func (o *RepositoryTokenRequestPatch) GetLimitDateRangeToOk() (*time.Time, bool)` + +GetLimitDateRangeToOk returns a tuple with the LimitDateRangeTo field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetLimitDateRangeTo + +`func (o *RepositoryTokenRequestPatch) SetLimitDateRangeTo(v time.Time)` + +SetLimitDateRangeTo sets LimitDateRangeTo field to given value. + +### HasLimitDateRangeTo + +`func (o *RepositoryTokenRequestPatch) HasLimitDateRangeTo() bool` + +HasLimitDateRangeTo returns a boolean if a field has been set. + +### SetLimitDateRangeToNil + +`func (o *RepositoryTokenRequestPatch) SetLimitDateRangeToNil(b bool)` + + SetLimitDateRangeToNil sets the value for LimitDateRangeTo to be an explicit nil + +### UnsetLimitDateRangeTo +`func (o *RepositoryTokenRequestPatch) UnsetLimitDateRangeTo()` + +UnsetLimitDateRangeTo ensures that no value is present for LimitDateRangeTo, not even an explicit nil +### GetLimitNumClients + +`func (o *RepositoryTokenRequestPatch) GetLimitNumClients() int64` + +GetLimitNumClients returns the LimitNumClients field if non-nil, zero value otherwise. + +### GetLimitNumClientsOk + +`func (o *RepositoryTokenRequestPatch) GetLimitNumClientsOk() (*int64, bool)` + +GetLimitNumClientsOk returns a tuple with the LimitNumClients field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetLimitNumClients + +`func (o *RepositoryTokenRequestPatch) SetLimitNumClients(v int64)` + +SetLimitNumClients sets LimitNumClients field to given value. + +### HasLimitNumClients + +`func (o *RepositoryTokenRequestPatch) HasLimitNumClients() bool` + +HasLimitNumClients returns a boolean if a field has been set. + +### SetLimitNumClientsNil + +`func (o *RepositoryTokenRequestPatch) SetLimitNumClientsNil(b bool)` + + SetLimitNumClientsNil sets the value for LimitNumClients to be an explicit nil + +### UnsetLimitNumClients +`func (o *RepositoryTokenRequestPatch) UnsetLimitNumClients()` + +UnsetLimitNumClients ensures that no value is present for LimitNumClients, not even an explicit nil +### GetLimitNumDownloads + +`func (o *RepositoryTokenRequestPatch) GetLimitNumDownloads() int64` + +GetLimitNumDownloads returns the LimitNumDownloads field if non-nil, zero value otherwise. + +### GetLimitNumDownloadsOk + +`func (o *RepositoryTokenRequestPatch) GetLimitNumDownloadsOk() (*int64, bool)` + +GetLimitNumDownloadsOk returns a tuple with the LimitNumDownloads field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetLimitNumDownloads + +`func (o *RepositoryTokenRequestPatch) SetLimitNumDownloads(v int64)` + +SetLimitNumDownloads sets LimitNumDownloads field to given value. + +### HasLimitNumDownloads + +`func (o *RepositoryTokenRequestPatch) HasLimitNumDownloads() bool` + +HasLimitNumDownloads returns a boolean if a field has been set. + +### SetLimitNumDownloadsNil + +`func (o *RepositoryTokenRequestPatch) SetLimitNumDownloadsNil(b bool)` + + SetLimitNumDownloadsNil sets the value for LimitNumDownloads to be an explicit nil + +### UnsetLimitNumDownloads +`func (o *RepositoryTokenRequestPatch) UnsetLimitNumDownloads()` + +UnsetLimitNumDownloads ensures that no value is present for LimitNumDownloads, not even an explicit nil +### GetLimitPackageQuery + +`func (o *RepositoryTokenRequestPatch) GetLimitPackageQuery() string` + +GetLimitPackageQuery returns the LimitPackageQuery field if non-nil, zero value otherwise. + +### GetLimitPackageQueryOk + +`func (o *RepositoryTokenRequestPatch) GetLimitPackageQueryOk() (*string, bool)` + +GetLimitPackageQueryOk returns a tuple with the LimitPackageQuery field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetLimitPackageQuery + +`func (o *RepositoryTokenRequestPatch) SetLimitPackageQuery(v string)` + +SetLimitPackageQuery sets LimitPackageQuery field to given value. + +### HasLimitPackageQuery + +`func (o *RepositoryTokenRequestPatch) HasLimitPackageQuery() bool` + +HasLimitPackageQuery returns a boolean if a field has been set. + +### SetLimitPackageQueryNil + +`func (o *RepositoryTokenRequestPatch) SetLimitPackageQueryNil(b bool)` + + SetLimitPackageQueryNil sets the value for LimitPackageQuery to be an explicit nil + +### UnsetLimitPackageQuery +`func (o *RepositoryTokenRequestPatch) UnsetLimitPackageQuery()` + +UnsetLimitPackageQuery ensures that no value is present for LimitPackageQuery, not even an explicit nil +### GetLimitPathQuery + +`func (o *RepositoryTokenRequestPatch) GetLimitPathQuery() string` + +GetLimitPathQuery returns the LimitPathQuery field if non-nil, zero value otherwise. + +### GetLimitPathQueryOk + +`func (o *RepositoryTokenRequestPatch) GetLimitPathQueryOk() (*string, bool)` + +GetLimitPathQueryOk returns a tuple with the LimitPathQuery field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetLimitPathQuery + +`func (o *RepositoryTokenRequestPatch) SetLimitPathQuery(v string)` + +SetLimitPathQuery sets LimitPathQuery field to given value. + +### HasLimitPathQuery + +`func (o *RepositoryTokenRequestPatch) HasLimitPathQuery() bool` + +HasLimitPathQuery returns a boolean if a field has been set. + +### SetLimitPathQueryNil + +`func (o *RepositoryTokenRequestPatch) SetLimitPathQueryNil(b bool)` + + SetLimitPathQueryNil sets the value for LimitPathQuery to be an explicit nil + +### UnsetLimitPathQuery +`func (o *RepositoryTokenRequestPatch) UnsetLimitPathQuery()` + +UnsetLimitPathQuery ensures that no value is present for LimitPathQuery, not even an explicit nil +### GetMetadata + +`func (o *RepositoryTokenRequestPatch) GetMetadata() map[string]interface{}` + +GetMetadata returns the Metadata field if non-nil, zero value otherwise. + +### GetMetadataOk + +`func (o *RepositoryTokenRequestPatch) GetMetadataOk() (*map[string]interface{}, bool)` + +GetMetadataOk returns a tuple with the Metadata field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetMetadata + +`func (o *RepositoryTokenRequestPatch) SetMetadata(v map[string]interface{})` + +SetMetadata sets Metadata field to given value. + +### HasMetadata + +`func (o *RepositoryTokenRequestPatch) HasMetadata() bool` + +HasMetadata returns a boolean if a field has been set. + +### SetMetadataNil + +`func (o *RepositoryTokenRequestPatch) SetMetadataNil(b bool)` + + SetMetadataNil sets the value for Metadata to be an explicit nil + +### UnsetMetadata +`func (o *RepositoryTokenRequestPatch) UnsetMetadata()` + +UnsetMetadata ensures that no value is present for Metadata, not even an explicit nil +### GetName + +`func (o *RepositoryTokenRequestPatch) GetName() string` + +GetName returns the Name field if non-nil, zero value otherwise. + +### GetNameOk + +`func (o *RepositoryTokenRequestPatch) GetNameOk() (*string, bool)` + +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. + +### SetName + +`func (o *RepositoryTokenRequestPatch) SetName(v string)` + +SetName sets Name field to given value. + +### HasName + +`func (o *RepositoryTokenRequestPatch) HasName() bool` + +HasName returns a boolean if a field has been set. + +### GetScheduledResetAt + +`func (o *RepositoryTokenRequestPatch) GetScheduledResetAt() time.Time` + +GetScheduledResetAt returns the ScheduledResetAt field if non-nil, zero value otherwise. + +### GetScheduledResetAtOk + +`func (o *RepositoryTokenRequestPatch) GetScheduledResetAtOk() (*time.Time, bool)` + +GetScheduledResetAtOk returns a tuple with the ScheduledResetAt field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetScheduledResetAt + +`func (o *RepositoryTokenRequestPatch) SetScheduledResetAt(v time.Time)` + +SetScheduledResetAt sets ScheduledResetAt field to given value. + +### HasScheduledResetAt + +`func (o *RepositoryTokenRequestPatch) HasScheduledResetAt() bool` + +HasScheduledResetAt returns a boolean if a field has been set. + +### SetScheduledResetAtNil + +`func (o *RepositoryTokenRequestPatch) SetScheduledResetAtNil(b bool)` + + SetScheduledResetAtNil sets the value for ScheduledResetAt to be an explicit nil + +### UnsetScheduledResetAt +`func (o *RepositoryTokenRequestPatch) UnsetScheduledResetAt()` + +UnsetScheduledResetAt ensures that no value is present for ScheduledResetAt, not even an explicit nil +### GetScheduledResetPeriod + +`func (o *RepositoryTokenRequestPatch) GetScheduledResetPeriod() string` + +GetScheduledResetPeriod returns the ScheduledResetPeriod field if non-nil, zero value otherwise. + +### GetScheduledResetPeriodOk + +`func (o *RepositoryTokenRequestPatch) GetScheduledResetPeriodOk() (*string, bool)` + +GetScheduledResetPeriodOk returns a tuple with the ScheduledResetPeriod field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetScheduledResetPeriod + +`func (o *RepositoryTokenRequestPatch) SetScheduledResetPeriod(v string)` + +SetScheduledResetPeriod sets ScheduledResetPeriod field to given value. + +### HasScheduledResetPeriod + +`func (o *RepositoryTokenRequestPatch) HasScheduledResetPeriod() bool` + +HasScheduledResetPeriod returns a boolean if a field has been set. + +### SetScheduledResetPeriodNil + +`func (o *RepositoryTokenRequestPatch) SetScheduledResetPeriodNil(b bool)` + + SetScheduledResetPeriodNil sets the value for ScheduledResetPeriod to be an explicit nil + +### UnsetScheduledResetPeriod +`func (o *RepositoryTokenRequestPatch) UnsetScheduledResetPeriod()` + +UnsetScheduledResetPeriod ensures that no value is present for ScheduledResetPeriod, not even an explicit nil +### GetToken + +`func (o *RepositoryTokenRequestPatch) GetToken() string` + +GetToken returns the Token field if non-nil, zero value otherwise. + +### GetTokenOk + +`func (o *RepositoryTokenRequestPatch) GetTokenOk() (*string, bool)` + +GetTokenOk returns a tuple with the Token field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetToken + +`func (o *RepositoryTokenRequestPatch) SetToken(v string)` + +SetToken sets Token field to given value. + +### HasToken + +`func (o *RepositoryTokenRequestPatch) HasToken() bool` + +HasToken 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/docs/RepositoryTokenResponse.md b/docs/RepositoryTokenResponse.md new file mode 100644 index 00000000..3983fd07 --- /dev/null +++ b/docs/RepositoryTokenResponse.md @@ -0,0 +1,1209 @@ +# RepositoryTokenResponse + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Clients** | Pointer to **int64** | | [optional] [readonly] +**CreatedAt** | Pointer to **time.Time** | The datetime the token was updated at. | [optional] [readonly] +**CreatedBy** | Pointer to **string** | | [optional] [readonly] +**CreatedByUrl** | Pointer to **string** | | [optional] [readonly] +**Default** | Pointer to **bool** | If selected this is the default token for this repository. | [optional] [readonly] +**DisableUrl** | Pointer to **string** | | [optional] [readonly] +**Downloads** | Pointer to **int64** | | [optional] [readonly] +**EnableUrl** | Pointer to **string** | | [optional] [readonly] +**EulaAccepted** | Pointer to [**NullableEula**](Eula.md) | | [optional] +**EulaAcceptedAt** | Pointer to **time.Time** | The datetime the EULA was accepted at. | [optional] [readonly] +**EulaAcceptedFrom** | Pointer to **NullableString** | | [optional] [readonly] +**EulaRequired** | Pointer to **bool** | If checked, a EULA acceptance is required for this token. | [optional] +**HasLimits** | Pointer to **bool** | | [optional] [readonly] +**Identifier** | Pointer to **int64** | | [optional] [readonly] +**IsActive** | Pointer to **bool** | If enabled, the token will allow downloads based on configured restrictions (if any). | [optional] +**IsLimited** | Pointer to **bool** | | [optional] [readonly] +**LimitBandwidth** | Pointer to **NullableInt64** | The maximum download bandwidth allowed for the token. Values are expressed as the selected unit of bandwidth. Please note that since downloads are calculated asynchronously (after the download happens), the limit may not be imposed immediately but at a later point. | [optional] +**LimitBandwidthUnit** | Pointer to **NullableString** | | [optional] [default to "Byte"] +**LimitDateRangeFrom** | Pointer to **NullableTime** | The starting date/time the token is allowed to be used from. | [optional] +**LimitDateRangeTo** | Pointer to **NullableTime** | The ending date/time the token is allowed to be used until. | [optional] +**LimitNumClients** | Pointer to **NullableInt64** | The maximum number of unique clients allowed for the token. Please note that since clients are calculated asynchronously (after the download happens), the limit may not be imposed immediately but at a later point. | [optional] +**LimitNumDownloads** | Pointer to **NullableInt64** | The maximum number of downloads allowed for the token. Please note that since downloads are calculated asynchronously (after the download happens), the limit may not be imposed immediately but at a later point. | [optional] +**LimitPackageQuery** | Pointer to **NullableString** | The package-based search query to apply to restrict downloads to. This uses the same syntax as the standard search used for repositories, and also supports boolean logic operators such as OR/AND/NOT and parentheses for grouping. This will still allow access to non-package files, such as metadata. | [optional] +**LimitPathQuery** | Pointer to **NullableString** | The path-based search query to apply to restrict downloads to. This supports boolean logic operators such as OR/AND/NOT and parentheses for grouping. The path evaluated does not include the domain name, the namespace, the entitlement code used, the package format, etc. and it always starts with a forward slash. | [optional] +**Metadata** | Pointer to **map[string]interface{}** | | [optional] +**Name** | **string** | | +**RefreshUrl** | Pointer to **string** | | [optional] [readonly] +**ResetUrl** | Pointer to **string** | | [optional] [readonly] +**ScheduledResetAt** | Pointer to **NullableTime** | The time at which the scheduled reset period has elapsed and the token limits were automatically reset to zero. | [optional] +**ScheduledResetPeriod** | Pointer to **NullableString** | | [optional] [default to "Never Reset"] +**SelfUrl** | Pointer to **string** | | [optional] [readonly] +**SlugPerm** | Pointer to **string** | | [optional] [readonly] +**Token** | Pointer to **string** | | [optional] +**UpdatedAt** | Pointer to **time.Time** | The datetime the token was updated at. | [optional] [readonly] +**UpdatedBy** | Pointer to **NullableString** | | [optional] [readonly] +**UpdatedByUrl** | Pointer to **NullableString** | | [optional] [readonly] +**Usage** | Pointer to **string** | | [optional] [readonly] +**User** | Pointer to **NullableString** | | [optional] [readonly] +**UserUrl** | Pointer to **NullableString** | | [optional] [readonly] + +## Methods + +### NewRepositoryTokenResponse + +`func NewRepositoryTokenResponse(name string, ) *RepositoryTokenResponse` + +NewRepositoryTokenResponse instantiates a new RepositoryTokenResponse object +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 + +### NewRepositoryTokenResponseWithDefaults + +`func NewRepositoryTokenResponseWithDefaults() *RepositoryTokenResponse` + +NewRepositoryTokenResponseWithDefaults instantiates a new RepositoryTokenResponse object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetClients + +`func (o *RepositoryTokenResponse) GetClients() int64` + +GetClients returns the Clients field if non-nil, zero value otherwise. + +### GetClientsOk + +`func (o *RepositoryTokenResponse) GetClientsOk() (*int64, bool)` + +GetClientsOk returns a tuple with the Clients field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetClients + +`func (o *RepositoryTokenResponse) SetClients(v int64)` + +SetClients sets Clients field to given value. + +### HasClients + +`func (o *RepositoryTokenResponse) HasClients() bool` + +HasClients returns a boolean if a field has been set. + +### GetCreatedAt + +`func (o *RepositoryTokenResponse) GetCreatedAt() time.Time` + +GetCreatedAt returns the CreatedAt field if non-nil, zero value otherwise. + +### GetCreatedAtOk + +`func (o *RepositoryTokenResponse) GetCreatedAtOk() (*time.Time, bool)` + +GetCreatedAtOk returns a tuple with the CreatedAt field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetCreatedAt + +`func (o *RepositoryTokenResponse) SetCreatedAt(v time.Time)` + +SetCreatedAt sets CreatedAt field to given value. + +### HasCreatedAt + +`func (o *RepositoryTokenResponse) HasCreatedAt() bool` + +HasCreatedAt returns a boolean if a field has been set. + +### GetCreatedBy + +`func (o *RepositoryTokenResponse) GetCreatedBy() string` + +GetCreatedBy returns the CreatedBy field if non-nil, zero value otherwise. + +### GetCreatedByOk + +`func (o *RepositoryTokenResponse) GetCreatedByOk() (*string, bool)` + +GetCreatedByOk returns a tuple with the CreatedBy field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetCreatedBy + +`func (o *RepositoryTokenResponse) SetCreatedBy(v string)` + +SetCreatedBy sets CreatedBy field to given value. + +### HasCreatedBy + +`func (o *RepositoryTokenResponse) HasCreatedBy() bool` + +HasCreatedBy returns a boolean if a field has been set. + +### GetCreatedByUrl + +`func (o *RepositoryTokenResponse) GetCreatedByUrl() string` + +GetCreatedByUrl returns the CreatedByUrl field if non-nil, zero value otherwise. + +### GetCreatedByUrlOk + +`func (o *RepositoryTokenResponse) GetCreatedByUrlOk() (*string, bool)` + +GetCreatedByUrlOk returns a tuple with the CreatedByUrl field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetCreatedByUrl + +`func (o *RepositoryTokenResponse) SetCreatedByUrl(v string)` + +SetCreatedByUrl sets CreatedByUrl field to given value. + +### HasCreatedByUrl + +`func (o *RepositoryTokenResponse) HasCreatedByUrl() bool` + +HasCreatedByUrl returns a boolean if a field has been set. + +### GetDefault + +`func (o *RepositoryTokenResponse) GetDefault() bool` + +GetDefault returns the Default field if non-nil, zero value otherwise. + +### GetDefaultOk + +`func (o *RepositoryTokenResponse) GetDefaultOk() (*bool, bool)` + +GetDefaultOk returns a tuple with the Default field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetDefault + +`func (o *RepositoryTokenResponse) SetDefault(v bool)` + +SetDefault sets Default field to given value. + +### HasDefault + +`func (o *RepositoryTokenResponse) HasDefault() bool` + +HasDefault returns a boolean if a field has been set. + +### GetDisableUrl + +`func (o *RepositoryTokenResponse) GetDisableUrl() string` + +GetDisableUrl returns the DisableUrl field if non-nil, zero value otherwise. + +### GetDisableUrlOk + +`func (o *RepositoryTokenResponse) GetDisableUrlOk() (*string, bool)` + +GetDisableUrlOk returns a tuple with the DisableUrl field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetDisableUrl + +`func (o *RepositoryTokenResponse) SetDisableUrl(v string)` + +SetDisableUrl sets DisableUrl field to given value. + +### HasDisableUrl + +`func (o *RepositoryTokenResponse) HasDisableUrl() bool` + +HasDisableUrl returns a boolean if a field has been set. + +### GetDownloads + +`func (o *RepositoryTokenResponse) GetDownloads() int64` + +GetDownloads returns the Downloads field if non-nil, zero value otherwise. + +### GetDownloadsOk + +`func (o *RepositoryTokenResponse) GetDownloadsOk() (*int64, bool)` + +GetDownloadsOk returns a tuple with the Downloads field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetDownloads + +`func (o *RepositoryTokenResponse) SetDownloads(v int64)` + +SetDownloads sets Downloads field to given value. + +### HasDownloads + +`func (o *RepositoryTokenResponse) HasDownloads() bool` + +HasDownloads returns a boolean if a field has been set. + +### GetEnableUrl + +`func (o *RepositoryTokenResponse) GetEnableUrl() string` + +GetEnableUrl returns the EnableUrl field if non-nil, zero value otherwise. + +### GetEnableUrlOk + +`func (o *RepositoryTokenResponse) GetEnableUrlOk() (*string, bool)` + +GetEnableUrlOk returns a tuple with the EnableUrl field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetEnableUrl + +`func (o *RepositoryTokenResponse) SetEnableUrl(v string)` + +SetEnableUrl sets EnableUrl field to given value. + +### HasEnableUrl + +`func (o *RepositoryTokenResponse) HasEnableUrl() bool` + +HasEnableUrl returns a boolean if a field has been set. + +### GetEulaAccepted + +`func (o *RepositoryTokenResponse) GetEulaAccepted() Eula` + +GetEulaAccepted returns the EulaAccepted field if non-nil, zero value otherwise. + +### GetEulaAcceptedOk + +`func (o *RepositoryTokenResponse) GetEulaAcceptedOk() (*Eula, bool)` + +GetEulaAcceptedOk returns a tuple with the EulaAccepted field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetEulaAccepted + +`func (o *RepositoryTokenResponse) SetEulaAccepted(v Eula)` + +SetEulaAccepted sets EulaAccepted field to given value. + +### HasEulaAccepted + +`func (o *RepositoryTokenResponse) HasEulaAccepted() bool` + +HasEulaAccepted returns a boolean if a field has been set. + +### SetEulaAcceptedNil + +`func (o *RepositoryTokenResponse) SetEulaAcceptedNil(b bool)` + + SetEulaAcceptedNil sets the value for EulaAccepted to be an explicit nil + +### UnsetEulaAccepted +`func (o *RepositoryTokenResponse) UnsetEulaAccepted()` + +UnsetEulaAccepted ensures that no value is present for EulaAccepted, not even an explicit nil +### GetEulaAcceptedAt + +`func (o *RepositoryTokenResponse) GetEulaAcceptedAt() time.Time` + +GetEulaAcceptedAt returns the EulaAcceptedAt field if non-nil, zero value otherwise. + +### GetEulaAcceptedAtOk + +`func (o *RepositoryTokenResponse) GetEulaAcceptedAtOk() (*time.Time, bool)` + +GetEulaAcceptedAtOk returns a tuple with the EulaAcceptedAt field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetEulaAcceptedAt + +`func (o *RepositoryTokenResponse) SetEulaAcceptedAt(v time.Time)` + +SetEulaAcceptedAt sets EulaAcceptedAt field to given value. + +### HasEulaAcceptedAt + +`func (o *RepositoryTokenResponse) HasEulaAcceptedAt() bool` + +HasEulaAcceptedAt returns a boolean if a field has been set. + +### GetEulaAcceptedFrom + +`func (o *RepositoryTokenResponse) GetEulaAcceptedFrom() string` + +GetEulaAcceptedFrom returns the EulaAcceptedFrom field if non-nil, zero value otherwise. + +### GetEulaAcceptedFromOk + +`func (o *RepositoryTokenResponse) GetEulaAcceptedFromOk() (*string, bool)` + +GetEulaAcceptedFromOk returns a tuple with the EulaAcceptedFrom field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetEulaAcceptedFrom + +`func (o *RepositoryTokenResponse) SetEulaAcceptedFrom(v string)` + +SetEulaAcceptedFrom sets EulaAcceptedFrom field to given value. + +### HasEulaAcceptedFrom + +`func (o *RepositoryTokenResponse) HasEulaAcceptedFrom() bool` + +HasEulaAcceptedFrom returns a boolean if a field has been set. + +### SetEulaAcceptedFromNil + +`func (o *RepositoryTokenResponse) SetEulaAcceptedFromNil(b bool)` + + SetEulaAcceptedFromNil sets the value for EulaAcceptedFrom to be an explicit nil + +### UnsetEulaAcceptedFrom +`func (o *RepositoryTokenResponse) UnsetEulaAcceptedFrom()` + +UnsetEulaAcceptedFrom ensures that no value is present for EulaAcceptedFrom, not even an explicit nil +### GetEulaRequired + +`func (o *RepositoryTokenResponse) GetEulaRequired() bool` + +GetEulaRequired returns the EulaRequired field if non-nil, zero value otherwise. + +### GetEulaRequiredOk + +`func (o *RepositoryTokenResponse) GetEulaRequiredOk() (*bool, bool)` + +GetEulaRequiredOk returns a tuple with the EulaRequired field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetEulaRequired + +`func (o *RepositoryTokenResponse) SetEulaRequired(v bool)` + +SetEulaRequired sets EulaRequired field to given value. + +### HasEulaRequired + +`func (o *RepositoryTokenResponse) HasEulaRequired() bool` + +HasEulaRequired returns a boolean if a field has been set. + +### GetHasLimits + +`func (o *RepositoryTokenResponse) GetHasLimits() bool` + +GetHasLimits returns the HasLimits field if non-nil, zero value otherwise. + +### GetHasLimitsOk + +`func (o *RepositoryTokenResponse) GetHasLimitsOk() (*bool, bool)` + +GetHasLimitsOk returns a tuple with the HasLimits field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetHasLimits + +`func (o *RepositoryTokenResponse) SetHasLimits(v bool)` + +SetHasLimits sets HasLimits field to given value. + +### HasHasLimits + +`func (o *RepositoryTokenResponse) HasHasLimits() bool` + +HasHasLimits returns a boolean if a field has been set. + +### GetIdentifier + +`func (o *RepositoryTokenResponse) GetIdentifier() int64` + +GetIdentifier returns the Identifier field if non-nil, zero value otherwise. + +### GetIdentifierOk + +`func (o *RepositoryTokenResponse) GetIdentifierOk() (*int64, bool)` + +GetIdentifierOk returns a tuple with the Identifier field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetIdentifier + +`func (o *RepositoryTokenResponse) SetIdentifier(v int64)` + +SetIdentifier sets Identifier field to given value. + +### HasIdentifier + +`func (o *RepositoryTokenResponse) HasIdentifier() bool` + +HasIdentifier returns a boolean if a field has been set. + +### GetIsActive + +`func (o *RepositoryTokenResponse) GetIsActive() bool` + +GetIsActive returns the IsActive field if non-nil, zero value otherwise. + +### GetIsActiveOk + +`func (o *RepositoryTokenResponse) GetIsActiveOk() (*bool, bool)` + +GetIsActiveOk returns a tuple with the IsActive field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetIsActive + +`func (o *RepositoryTokenResponse) SetIsActive(v bool)` + +SetIsActive sets IsActive field to given value. + +### HasIsActive + +`func (o *RepositoryTokenResponse) HasIsActive() bool` + +HasIsActive returns a boolean if a field has been set. + +### GetIsLimited + +`func (o *RepositoryTokenResponse) GetIsLimited() bool` + +GetIsLimited returns the IsLimited field if non-nil, zero value otherwise. + +### GetIsLimitedOk + +`func (o *RepositoryTokenResponse) GetIsLimitedOk() (*bool, bool)` + +GetIsLimitedOk returns a tuple with the IsLimited field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetIsLimited + +`func (o *RepositoryTokenResponse) SetIsLimited(v bool)` + +SetIsLimited sets IsLimited field to given value. + +### HasIsLimited + +`func (o *RepositoryTokenResponse) HasIsLimited() bool` + +HasIsLimited returns a boolean if a field has been set. + +### GetLimitBandwidth + +`func (o *RepositoryTokenResponse) GetLimitBandwidth() int64` + +GetLimitBandwidth returns the LimitBandwidth field if non-nil, zero value otherwise. + +### GetLimitBandwidthOk + +`func (o *RepositoryTokenResponse) GetLimitBandwidthOk() (*int64, bool)` + +GetLimitBandwidthOk returns a tuple with the LimitBandwidth field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetLimitBandwidth + +`func (o *RepositoryTokenResponse) SetLimitBandwidth(v int64)` + +SetLimitBandwidth sets LimitBandwidth field to given value. + +### HasLimitBandwidth + +`func (o *RepositoryTokenResponse) HasLimitBandwidth() bool` + +HasLimitBandwidth returns a boolean if a field has been set. + +### SetLimitBandwidthNil + +`func (o *RepositoryTokenResponse) SetLimitBandwidthNil(b bool)` + + SetLimitBandwidthNil sets the value for LimitBandwidth to be an explicit nil + +### UnsetLimitBandwidth +`func (o *RepositoryTokenResponse) UnsetLimitBandwidth()` + +UnsetLimitBandwidth ensures that no value is present for LimitBandwidth, not even an explicit nil +### GetLimitBandwidthUnit + +`func (o *RepositoryTokenResponse) GetLimitBandwidthUnit() string` + +GetLimitBandwidthUnit returns the LimitBandwidthUnit field if non-nil, zero value otherwise. + +### GetLimitBandwidthUnitOk + +`func (o *RepositoryTokenResponse) GetLimitBandwidthUnitOk() (*string, bool)` + +GetLimitBandwidthUnitOk returns a tuple with the LimitBandwidthUnit field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetLimitBandwidthUnit + +`func (o *RepositoryTokenResponse) SetLimitBandwidthUnit(v string)` + +SetLimitBandwidthUnit sets LimitBandwidthUnit field to given value. + +### HasLimitBandwidthUnit + +`func (o *RepositoryTokenResponse) HasLimitBandwidthUnit() bool` + +HasLimitBandwidthUnit returns a boolean if a field has been set. + +### SetLimitBandwidthUnitNil + +`func (o *RepositoryTokenResponse) SetLimitBandwidthUnitNil(b bool)` + + SetLimitBandwidthUnitNil sets the value for LimitBandwidthUnit to be an explicit nil + +### UnsetLimitBandwidthUnit +`func (o *RepositoryTokenResponse) UnsetLimitBandwidthUnit()` + +UnsetLimitBandwidthUnit ensures that no value is present for LimitBandwidthUnit, not even an explicit nil +### GetLimitDateRangeFrom + +`func (o *RepositoryTokenResponse) GetLimitDateRangeFrom() time.Time` + +GetLimitDateRangeFrom returns the LimitDateRangeFrom field if non-nil, zero value otherwise. + +### GetLimitDateRangeFromOk + +`func (o *RepositoryTokenResponse) GetLimitDateRangeFromOk() (*time.Time, bool)` + +GetLimitDateRangeFromOk returns a tuple with the LimitDateRangeFrom field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetLimitDateRangeFrom + +`func (o *RepositoryTokenResponse) SetLimitDateRangeFrom(v time.Time)` + +SetLimitDateRangeFrom sets LimitDateRangeFrom field to given value. + +### HasLimitDateRangeFrom + +`func (o *RepositoryTokenResponse) HasLimitDateRangeFrom() bool` + +HasLimitDateRangeFrom returns a boolean if a field has been set. + +### SetLimitDateRangeFromNil + +`func (o *RepositoryTokenResponse) SetLimitDateRangeFromNil(b bool)` + + SetLimitDateRangeFromNil sets the value for LimitDateRangeFrom to be an explicit nil + +### UnsetLimitDateRangeFrom +`func (o *RepositoryTokenResponse) UnsetLimitDateRangeFrom()` + +UnsetLimitDateRangeFrom ensures that no value is present for LimitDateRangeFrom, not even an explicit nil +### GetLimitDateRangeTo + +`func (o *RepositoryTokenResponse) GetLimitDateRangeTo() time.Time` + +GetLimitDateRangeTo returns the LimitDateRangeTo field if non-nil, zero value otherwise. + +### GetLimitDateRangeToOk + +`func (o *RepositoryTokenResponse) GetLimitDateRangeToOk() (*time.Time, bool)` + +GetLimitDateRangeToOk returns a tuple with the LimitDateRangeTo field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetLimitDateRangeTo + +`func (o *RepositoryTokenResponse) SetLimitDateRangeTo(v time.Time)` + +SetLimitDateRangeTo sets LimitDateRangeTo field to given value. + +### HasLimitDateRangeTo + +`func (o *RepositoryTokenResponse) HasLimitDateRangeTo() bool` + +HasLimitDateRangeTo returns a boolean if a field has been set. + +### SetLimitDateRangeToNil + +`func (o *RepositoryTokenResponse) SetLimitDateRangeToNil(b bool)` + + SetLimitDateRangeToNil sets the value for LimitDateRangeTo to be an explicit nil + +### UnsetLimitDateRangeTo +`func (o *RepositoryTokenResponse) UnsetLimitDateRangeTo()` + +UnsetLimitDateRangeTo ensures that no value is present for LimitDateRangeTo, not even an explicit nil +### GetLimitNumClients + +`func (o *RepositoryTokenResponse) GetLimitNumClients() int64` + +GetLimitNumClients returns the LimitNumClients field if non-nil, zero value otherwise. + +### GetLimitNumClientsOk + +`func (o *RepositoryTokenResponse) GetLimitNumClientsOk() (*int64, bool)` + +GetLimitNumClientsOk returns a tuple with the LimitNumClients field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetLimitNumClients + +`func (o *RepositoryTokenResponse) SetLimitNumClients(v int64)` + +SetLimitNumClients sets LimitNumClients field to given value. + +### HasLimitNumClients + +`func (o *RepositoryTokenResponse) HasLimitNumClients() bool` + +HasLimitNumClients returns a boolean if a field has been set. + +### SetLimitNumClientsNil + +`func (o *RepositoryTokenResponse) SetLimitNumClientsNil(b bool)` + + SetLimitNumClientsNil sets the value for LimitNumClients to be an explicit nil + +### UnsetLimitNumClients +`func (o *RepositoryTokenResponse) UnsetLimitNumClients()` + +UnsetLimitNumClients ensures that no value is present for LimitNumClients, not even an explicit nil +### GetLimitNumDownloads + +`func (o *RepositoryTokenResponse) GetLimitNumDownloads() int64` + +GetLimitNumDownloads returns the LimitNumDownloads field if non-nil, zero value otherwise. + +### GetLimitNumDownloadsOk + +`func (o *RepositoryTokenResponse) GetLimitNumDownloadsOk() (*int64, bool)` + +GetLimitNumDownloadsOk returns a tuple with the LimitNumDownloads field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetLimitNumDownloads + +`func (o *RepositoryTokenResponse) SetLimitNumDownloads(v int64)` + +SetLimitNumDownloads sets LimitNumDownloads field to given value. + +### HasLimitNumDownloads + +`func (o *RepositoryTokenResponse) HasLimitNumDownloads() bool` + +HasLimitNumDownloads returns a boolean if a field has been set. + +### SetLimitNumDownloadsNil + +`func (o *RepositoryTokenResponse) SetLimitNumDownloadsNil(b bool)` + + SetLimitNumDownloadsNil sets the value for LimitNumDownloads to be an explicit nil + +### UnsetLimitNumDownloads +`func (o *RepositoryTokenResponse) UnsetLimitNumDownloads()` + +UnsetLimitNumDownloads ensures that no value is present for LimitNumDownloads, not even an explicit nil +### GetLimitPackageQuery + +`func (o *RepositoryTokenResponse) GetLimitPackageQuery() string` + +GetLimitPackageQuery returns the LimitPackageQuery field if non-nil, zero value otherwise. + +### GetLimitPackageQueryOk + +`func (o *RepositoryTokenResponse) GetLimitPackageQueryOk() (*string, bool)` + +GetLimitPackageQueryOk returns a tuple with the LimitPackageQuery field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetLimitPackageQuery + +`func (o *RepositoryTokenResponse) SetLimitPackageQuery(v string)` + +SetLimitPackageQuery sets LimitPackageQuery field to given value. + +### HasLimitPackageQuery + +`func (o *RepositoryTokenResponse) HasLimitPackageQuery() bool` + +HasLimitPackageQuery returns a boolean if a field has been set. + +### SetLimitPackageQueryNil + +`func (o *RepositoryTokenResponse) SetLimitPackageQueryNil(b bool)` + + SetLimitPackageQueryNil sets the value for LimitPackageQuery to be an explicit nil + +### UnsetLimitPackageQuery +`func (o *RepositoryTokenResponse) UnsetLimitPackageQuery()` + +UnsetLimitPackageQuery ensures that no value is present for LimitPackageQuery, not even an explicit nil +### GetLimitPathQuery + +`func (o *RepositoryTokenResponse) GetLimitPathQuery() string` + +GetLimitPathQuery returns the LimitPathQuery field if non-nil, zero value otherwise. + +### GetLimitPathQueryOk + +`func (o *RepositoryTokenResponse) GetLimitPathQueryOk() (*string, bool)` + +GetLimitPathQueryOk returns a tuple with the LimitPathQuery field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetLimitPathQuery + +`func (o *RepositoryTokenResponse) SetLimitPathQuery(v string)` + +SetLimitPathQuery sets LimitPathQuery field to given value. + +### HasLimitPathQuery + +`func (o *RepositoryTokenResponse) HasLimitPathQuery() bool` + +HasLimitPathQuery returns a boolean if a field has been set. + +### SetLimitPathQueryNil + +`func (o *RepositoryTokenResponse) SetLimitPathQueryNil(b bool)` + + SetLimitPathQueryNil sets the value for LimitPathQuery to be an explicit nil + +### UnsetLimitPathQuery +`func (o *RepositoryTokenResponse) UnsetLimitPathQuery()` + +UnsetLimitPathQuery ensures that no value is present for LimitPathQuery, not even an explicit nil +### GetMetadata + +`func (o *RepositoryTokenResponse) GetMetadata() map[string]interface{}` + +GetMetadata returns the Metadata field if non-nil, zero value otherwise. + +### GetMetadataOk + +`func (o *RepositoryTokenResponse) GetMetadataOk() (*map[string]interface{}, bool)` + +GetMetadataOk returns a tuple with the Metadata field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetMetadata + +`func (o *RepositoryTokenResponse) SetMetadata(v map[string]interface{})` + +SetMetadata sets Metadata field to given value. + +### HasMetadata + +`func (o *RepositoryTokenResponse) HasMetadata() bool` + +HasMetadata returns a boolean if a field has been set. + +### SetMetadataNil + +`func (o *RepositoryTokenResponse) SetMetadataNil(b bool)` + + SetMetadataNil sets the value for Metadata to be an explicit nil + +### UnsetMetadata +`func (o *RepositoryTokenResponse) UnsetMetadata()` + +UnsetMetadata ensures that no value is present for Metadata, not even an explicit nil +### GetName + +`func (o *RepositoryTokenResponse) GetName() string` + +GetName returns the Name field if non-nil, zero value otherwise. + +### GetNameOk + +`func (o *RepositoryTokenResponse) GetNameOk() (*string, bool)` + +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. + +### SetName + +`func (o *RepositoryTokenResponse) SetName(v string)` + +SetName sets Name field to given value. + + +### GetRefreshUrl + +`func (o *RepositoryTokenResponse) GetRefreshUrl() string` + +GetRefreshUrl returns the RefreshUrl field if non-nil, zero value otherwise. + +### GetRefreshUrlOk + +`func (o *RepositoryTokenResponse) GetRefreshUrlOk() (*string, bool)` + +GetRefreshUrlOk returns a tuple with the RefreshUrl field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetRefreshUrl + +`func (o *RepositoryTokenResponse) SetRefreshUrl(v string)` + +SetRefreshUrl sets RefreshUrl field to given value. + +### HasRefreshUrl + +`func (o *RepositoryTokenResponse) HasRefreshUrl() bool` + +HasRefreshUrl returns a boolean if a field has been set. + +### GetResetUrl + +`func (o *RepositoryTokenResponse) GetResetUrl() string` + +GetResetUrl returns the ResetUrl field if non-nil, zero value otherwise. + +### GetResetUrlOk + +`func (o *RepositoryTokenResponse) GetResetUrlOk() (*string, bool)` + +GetResetUrlOk returns a tuple with the ResetUrl field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetResetUrl + +`func (o *RepositoryTokenResponse) SetResetUrl(v string)` + +SetResetUrl sets ResetUrl field to given value. + +### HasResetUrl + +`func (o *RepositoryTokenResponse) HasResetUrl() bool` + +HasResetUrl returns a boolean if a field has been set. + +### GetScheduledResetAt + +`func (o *RepositoryTokenResponse) GetScheduledResetAt() time.Time` + +GetScheduledResetAt returns the ScheduledResetAt field if non-nil, zero value otherwise. + +### GetScheduledResetAtOk + +`func (o *RepositoryTokenResponse) GetScheduledResetAtOk() (*time.Time, bool)` + +GetScheduledResetAtOk returns a tuple with the ScheduledResetAt field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetScheduledResetAt + +`func (o *RepositoryTokenResponse) SetScheduledResetAt(v time.Time)` + +SetScheduledResetAt sets ScheduledResetAt field to given value. + +### HasScheduledResetAt + +`func (o *RepositoryTokenResponse) HasScheduledResetAt() bool` + +HasScheduledResetAt returns a boolean if a field has been set. + +### SetScheduledResetAtNil + +`func (o *RepositoryTokenResponse) SetScheduledResetAtNil(b bool)` + + SetScheduledResetAtNil sets the value for ScheduledResetAt to be an explicit nil + +### UnsetScheduledResetAt +`func (o *RepositoryTokenResponse) UnsetScheduledResetAt()` + +UnsetScheduledResetAt ensures that no value is present for ScheduledResetAt, not even an explicit nil +### GetScheduledResetPeriod + +`func (o *RepositoryTokenResponse) GetScheduledResetPeriod() string` + +GetScheduledResetPeriod returns the ScheduledResetPeriod field if non-nil, zero value otherwise. + +### GetScheduledResetPeriodOk + +`func (o *RepositoryTokenResponse) GetScheduledResetPeriodOk() (*string, bool)` + +GetScheduledResetPeriodOk returns a tuple with the ScheduledResetPeriod field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetScheduledResetPeriod + +`func (o *RepositoryTokenResponse) SetScheduledResetPeriod(v string)` + +SetScheduledResetPeriod sets ScheduledResetPeriod field to given value. + +### HasScheduledResetPeriod + +`func (o *RepositoryTokenResponse) HasScheduledResetPeriod() bool` + +HasScheduledResetPeriod returns a boolean if a field has been set. + +### SetScheduledResetPeriodNil + +`func (o *RepositoryTokenResponse) SetScheduledResetPeriodNil(b bool)` + + SetScheduledResetPeriodNil sets the value for ScheduledResetPeriod to be an explicit nil + +### UnsetScheduledResetPeriod +`func (o *RepositoryTokenResponse) UnsetScheduledResetPeriod()` + +UnsetScheduledResetPeriod ensures that no value is present for ScheduledResetPeriod, not even an explicit nil +### GetSelfUrl + +`func (o *RepositoryTokenResponse) GetSelfUrl() string` + +GetSelfUrl returns the SelfUrl field if non-nil, zero value otherwise. + +### GetSelfUrlOk + +`func (o *RepositoryTokenResponse) GetSelfUrlOk() (*string, bool)` + +GetSelfUrlOk returns a tuple with the SelfUrl field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetSelfUrl + +`func (o *RepositoryTokenResponse) SetSelfUrl(v string)` + +SetSelfUrl sets SelfUrl field to given value. + +### HasSelfUrl + +`func (o *RepositoryTokenResponse) HasSelfUrl() bool` + +HasSelfUrl returns a boolean if a field has been set. + +### GetSlugPerm + +`func (o *RepositoryTokenResponse) GetSlugPerm() string` + +GetSlugPerm returns the SlugPerm field if non-nil, zero value otherwise. + +### GetSlugPermOk + +`func (o *RepositoryTokenResponse) GetSlugPermOk() (*string, bool)` + +GetSlugPermOk returns a tuple with the SlugPerm field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetSlugPerm + +`func (o *RepositoryTokenResponse) SetSlugPerm(v string)` + +SetSlugPerm sets SlugPerm field to given value. + +### HasSlugPerm + +`func (o *RepositoryTokenResponse) HasSlugPerm() bool` + +HasSlugPerm returns a boolean if a field has been set. + +### GetToken + +`func (o *RepositoryTokenResponse) GetToken() string` + +GetToken returns the Token field if non-nil, zero value otherwise. + +### GetTokenOk + +`func (o *RepositoryTokenResponse) GetTokenOk() (*string, bool)` + +GetTokenOk returns a tuple with the Token field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetToken + +`func (o *RepositoryTokenResponse) SetToken(v string)` + +SetToken sets Token field to given value. + +### HasToken + +`func (o *RepositoryTokenResponse) HasToken() bool` + +HasToken returns a boolean if a field has been set. + +### GetUpdatedAt + +`func (o *RepositoryTokenResponse) GetUpdatedAt() time.Time` + +GetUpdatedAt returns the UpdatedAt field if non-nil, zero value otherwise. + +### GetUpdatedAtOk + +`func (o *RepositoryTokenResponse) GetUpdatedAtOk() (*time.Time, bool)` + +GetUpdatedAtOk returns a tuple with the UpdatedAt field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetUpdatedAt + +`func (o *RepositoryTokenResponse) SetUpdatedAt(v time.Time)` + +SetUpdatedAt sets UpdatedAt field to given value. + +### HasUpdatedAt + +`func (o *RepositoryTokenResponse) HasUpdatedAt() bool` + +HasUpdatedAt returns a boolean if a field has been set. + +### GetUpdatedBy + +`func (o *RepositoryTokenResponse) GetUpdatedBy() string` + +GetUpdatedBy returns the UpdatedBy field if non-nil, zero value otherwise. + +### GetUpdatedByOk + +`func (o *RepositoryTokenResponse) GetUpdatedByOk() (*string, bool)` + +GetUpdatedByOk returns a tuple with the UpdatedBy field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetUpdatedBy + +`func (o *RepositoryTokenResponse) SetUpdatedBy(v string)` + +SetUpdatedBy sets UpdatedBy field to given value. + +### HasUpdatedBy + +`func (o *RepositoryTokenResponse) HasUpdatedBy() bool` + +HasUpdatedBy returns a boolean if a field has been set. + +### SetUpdatedByNil + +`func (o *RepositoryTokenResponse) SetUpdatedByNil(b bool)` + + SetUpdatedByNil sets the value for UpdatedBy to be an explicit nil + +### UnsetUpdatedBy +`func (o *RepositoryTokenResponse) UnsetUpdatedBy()` + +UnsetUpdatedBy ensures that no value is present for UpdatedBy, not even an explicit nil +### GetUpdatedByUrl + +`func (o *RepositoryTokenResponse) GetUpdatedByUrl() string` + +GetUpdatedByUrl returns the UpdatedByUrl field if non-nil, zero value otherwise. + +### GetUpdatedByUrlOk + +`func (o *RepositoryTokenResponse) GetUpdatedByUrlOk() (*string, bool)` + +GetUpdatedByUrlOk returns a tuple with the UpdatedByUrl field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetUpdatedByUrl + +`func (o *RepositoryTokenResponse) SetUpdatedByUrl(v string)` + +SetUpdatedByUrl sets UpdatedByUrl field to given value. + +### HasUpdatedByUrl + +`func (o *RepositoryTokenResponse) HasUpdatedByUrl() bool` + +HasUpdatedByUrl returns a boolean if a field has been set. + +### SetUpdatedByUrlNil + +`func (o *RepositoryTokenResponse) SetUpdatedByUrlNil(b bool)` + + SetUpdatedByUrlNil sets the value for UpdatedByUrl to be an explicit nil + +### UnsetUpdatedByUrl +`func (o *RepositoryTokenResponse) UnsetUpdatedByUrl()` + +UnsetUpdatedByUrl ensures that no value is present for UpdatedByUrl, not even an explicit nil +### GetUsage + +`func (o *RepositoryTokenResponse) GetUsage() string` + +GetUsage returns the Usage field if non-nil, zero value otherwise. + +### GetUsageOk + +`func (o *RepositoryTokenResponse) GetUsageOk() (*string, bool)` + +GetUsageOk returns a tuple with the Usage field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetUsage + +`func (o *RepositoryTokenResponse) SetUsage(v string)` + +SetUsage sets Usage field to given value. + +### HasUsage + +`func (o *RepositoryTokenResponse) HasUsage() bool` + +HasUsage returns a boolean if a field has been set. + +### GetUser + +`func (o *RepositoryTokenResponse) GetUser() string` + +GetUser returns the User field if non-nil, zero value otherwise. + +### GetUserOk + +`func (o *RepositoryTokenResponse) GetUserOk() (*string, bool)` + +GetUserOk returns a tuple with the User field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetUser + +`func (o *RepositoryTokenResponse) SetUser(v string)` + +SetUser sets User field to given value. + +### HasUser + +`func (o *RepositoryTokenResponse) HasUser() bool` + +HasUser returns a boolean if a field has been set. + +### SetUserNil + +`func (o *RepositoryTokenResponse) SetUserNil(b bool)` + + SetUserNil sets the value for User to be an explicit nil + +### UnsetUser +`func (o *RepositoryTokenResponse) UnsetUser()` + +UnsetUser ensures that no value is present for User, not even an explicit nil +### GetUserUrl + +`func (o *RepositoryTokenResponse) GetUserUrl() string` + +GetUserUrl returns the UserUrl field if non-nil, zero value otherwise. + +### GetUserUrlOk + +`func (o *RepositoryTokenResponse) GetUserUrlOk() (*string, bool)` + +GetUserUrlOk returns a tuple with the UserUrl field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetUserUrl + +`func (o *RepositoryTokenResponse) SetUserUrl(v string)` + +SetUserUrl sets UserUrl field to given value. + +### HasUserUrl + +`func (o *RepositoryTokenResponse) HasUserUrl() bool` + +HasUserUrl returns a boolean if a field has been set. + +### SetUserUrlNil + +`func (o *RepositoryTokenResponse) SetUserUrlNil(b bool)` + + SetUserUrlNil sets the value for UserUrl to be an explicit nil + +### UnsetUserUrl +`func (o *RepositoryTokenResponse) UnsetUserUrl()` + +UnsetUserUrl ensures that no value is present for UserUrl, 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/docs/EntitlementsSync.md b/docs/RepositoryTokenSyncRequest.md similarity index 62% rename from docs/EntitlementsSync.md rename to docs/RepositoryTokenSyncRequest.md index 5bdb9bea..97faef1b 100644 --- a/docs/EntitlementsSync.md +++ b/docs/RepositoryTokenSyncRequest.md @@ -1,4 +1,4 @@ -# EntitlementsSync +# RepositoryTokenSyncRequest ## Properties @@ -8,39 +8,39 @@ Name | Type | Description | Notes ## Methods -### NewEntitlementsSync +### NewRepositoryTokenSyncRequest -`func NewEntitlementsSync(source string, ) *EntitlementsSync` +`func NewRepositoryTokenSyncRequest(source string, ) *RepositoryTokenSyncRequest` -NewEntitlementsSync instantiates a new EntitlementsSync object +NewRepositoryTokenSyncRequest instantiates a new RepositoryTokenSyncRequest object 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 -### NewEntitlementsSyncWithDefaults +### NewRepositoryTokenSyncRequestWithDefaults -`func NewEntitlementsSyncWithDefaults() *EntitlementsSync` +`func NewRepositoryTokenSyncRequestWithDefaults() *RepositoryTokenSyncRequest` -NewEntitlementsSyncWithDefaults instantiates a new EntitlementsSync object +NewRepositoryTokenSyncRequestWithDefaults instantiates a new RepositoryTokenSyncRequest object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set ### GetSource -`func (o *EntitlementsSync) GetSource() string` +`func (o *RepositoryTokenSyncRequest) GetSource() string` GetSource returns the Source field if non-nil, zero value otherwise. ### GetSourceOk -`func (o *EntitlementsSync) GetSourceOk() (*string, bool)` +`func (o *RepositoryTokenSyncRequest) GetSourceOk() (*string, bool)` GetSourceOk returns a tuple with the Source field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetSource -`func (o *EntitlementsSync) SetSource(v string)` +`func (o *RepositoryTokenSyncRequest) SetSource(v string)` SetSource sets Source field to given value. diff --git a/docs/RepositoryTokenSync.md b/docs/RepositoryTokenSyncResponse.md similarity index 54% rename from docs/RepositoryTokenSync.md rename to docs/RepositoryTokenSyncResponse.md index c11d9ab2..a2fa1f7a 100644 --- a/docs/RepositoryTokenSync.md +++ b/docs/RepositoryTokenSyncResponse.md @@ -1,52 +1,52 @@ -# RepositoryTokenSync +# RepositoryTokenSyncResponse ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**Tokens** | Pointer to [**[]RepositoryTokenSyncTokens**](RepositoryTokenSyncTokens.md) | The entitlements that have been synchronised. | [optional] +**Tokens** | Pointer to [**[]RepositoryToken**](RepositoryToken.md) | The entitlements that have been synchronised. | [optional] [readonly] ## Methods -### NewRepositoryTokenSync +### NewRepositoryTokenSyncResponse -`func NewRepositoryTokenSync() *RepositoryTokenSync` +`func NewRepositoryTokenSyncResponse() *RepositoryTokenSyncResponse` -NewRepositoryTokenSync instantiates a new RepositoryTokenSync object +NewRepositoryTokenSyncResponse instantiates a new RepositoryTokenSyncResponse object 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 -### NewRepositoryTokenSyncWithDefaults +### NewRepositoryTokenSyncResponseWithDefaults -`func NewRepositoryTokenSyncWithDefaults() *RepositoryTokenSync` +`func NewRepositoryTokenSyncResponseWithDefaults() *RepositoryTokenSyncResponse` -NewRepositoryTokenSyncWithDefaults instantiates a new RepositoryTokenSync object +NewRepositoryTokenSyncResponseWithDefaults instantiates a new RepositoryTokenSyncResponse object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set ### GetTokens -`func (o *RepositoryTokenSync) GetTokens() []RepositoryTokenSyncTokens` +`func (o *RepositoryTokenSyncResponse) GetTokens() []RepositoryToken` GetTokens returns the Tokens field if non-nil, zero value otherwise. ### GetTokensOk -`func (o *RepositoryTokenSync) GetTokensOk() (*[]RepositoryTokenSyncTokens, bool)` +`func (o *RepositoryTokenSyncResponse) GetTokensOk() (*[]RepositoryToken, bool)` GetTokensOk returns a tuple with the Tokens field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetTokens -`func (o *RepositoryTokenSync) SetTokens(v []RepositoryTokenSyncTokens)` +`func (o *RepositoryTokenSyncResponse) SetTokens(v []RepositoryToken)` SetTokens sets Tokens field to given value. ### HasTokens -`func (o *RepositoryTokenSync) HasTokens() bool` +`func (o *RepositoryTokenSyncResponse) HasTokens() bool` HasTokens returns a boolean if a field has been set. diff --git a/docs/RepositoryTokenSyncTokens.md b/docs/RepositoryTokenSyncTokens.md deleted file mode 100644 index 62608d7a..00000000 --- a/docs/RepositoryTokenSyncTokens.md +++ /dev/null @@ -1,1044 +0,0 @@ -# RepositoryTokenSyncTokens - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**Clients** | Pointer to **int64** | | [optional] -**CreatedAt** | Pointer to **string** | The datetime the token was updated at. | [optional] -**CreatedBy** | Pointer to **string** | | [optional] -**CreatedByUrl** | Pointer to **string** | | [optional] -**Default** | Pointer to **bool** | If selected this is the default token for this repository. | [optional] -**DisableUrl** | Pointer to **string** | | [optional] -**Downloads** | Pointer to **int64** | | [optional] -**EnableUrl** | Pointer to **string** | | [optional] -**EulaAccepted** | Pointer to **map[string]interface{}** | | [optional] -**EulaAcceptedAt** | Pointer to **string** | The datetime the EULA was accepted at. | [optional] -**EulaAcceptedFrom** | Pointer to **string** | | [optional] -**EulaRequired** | Pointer to **bool** | If checked, a EULA acceptance is required for this token. | [optional] -**HasLimits** | Pointer to **bool** | | [optional] -**Identifier** | Pointer to **int64** | | [optional] -**IsActive** | Pointer to **bool** | If enabled, the token will allow downloads based on configured restrictions (if any). | [optional] -**IsLimited** | Pointer to **bool** | | [optional] -**LimitBandwidth** | Pointer to **int64** | The maximum download bandwidth allowed for the token. Values are expressed as the selected unit of bandwidth. Please note that since downloads are calculated asynchronously (after the download happens), the limit may not be imposed immediately but at a later point. | [optional] -**LimitBandwidthUnit** | Pointer to **string** | | [optional] -**LimitDateRangeFrom** | Pointer to **string** | The starting date/time the token is allowed to be used from. | [optional] -**LimitDateRangeTo** | Pointer to **string** | The ending date/time the token is allowed to be used until. | [optional] -**LimitNumClients** | Pointer to **int64** | The maximum number of unique clients allowed for the token. Please note that since clients are calculated asynchronously (after the download happens), the limit may not be imposed immediately but at a later point. | [optional] -**LimitNumDownloads** | Pointer to **int64** | The maximum number of downloads allowed for the token. Please note that since downloads are calculated asynchronously (after the download happens), the limit may not be imposed immediately but at a later point. | [optional] -**LimitPackageQuery** | Pointer to **string** | The package-based search query to apply to restrict downloads to. This uses the same syntax as the standard search used for repositories, and also supports boolean logic operators such as OR/AND/NOT and parentheses for grouping. This will still allow access to non-package files, such as metadata. | [optional] -**LimitPathQuery** | Pointer to **string** | The path-based search query to apply to restrict downloads to. This supports boolean logic operators such as OR/AND/NOT and parentheses for grouping. The path evaluated does not include the domain name, the namespace, the entitlement code used, the package format, etc. and it always starts with a forward slash. | [optional] -**Metadata** | Pointer to **string** | | [optional] -**Name** | Pointer to **string** | | [optional] -**RefreshUrl** | Pointer to **string** | | [optional] -**ResetUrl** | Pointer to **string** | | [optional] -**ScheduledResetAt** | Pointer to **string** | The time at which the scheduled reset period has elapsed and the token limits were automatically reset to zero. | [optional] -**ScheduledResetPeriod** | Pointer to **string** | | [optional] -**SelfUrl** | Pointer to **string** | | [optional] -**SlugPerm** | Pointer to **string** | | [optional] -**Token** | Pointer to **string** | | [optional] -**UpdatedAt** | Pointer to **string** | The datetime the token was updated at. | [optional] -**UpdatedBy** | Pointer to **string** | | [optional] -**UpdatedByUrl** | Pointer to **string** | | [optional] -**Usage** | Pointer to **string** | | [optional] -**User** | Pointer to **string** | | [optional] -**UserUrl** | Pointer to **string** | | [optional] - -## Methods - -### NewRepositoryTokenSyncTokens - -`func NewRepositoryTokenSyncTokens() *RepositoryTokenSyncTokens` - -NewRepositoryTokenSyncTokens instantiates a new RepositoryTokenSyncTokens object -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 - -### NewRepositoryTokenSyncTokensWithDefaults - -`func NewRepositoryTokenSyncTokensWithDefaults() *RepositoryTokenSyncTokens` - -NewRepositoryTokenSyncTokensWithDefaults instantiates a new RepositoryTokenSyncTokens object -This constructor will only assign default values to properties that have it defined, -but it doesn't guarantee that properties required by API are set - -### GetClients - -`func (o *RepositoryTokenSyncTokens) GetClients() int64` - -GetClients returns the Clients field if non-nil, zero value otherwise. - -### GetClientsOk - -`func (o *RepositoryTokenSyncTokens) GetClientsOk() (*int64, bool)` - -GetClientsOk returns a tuple with the Clients field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetClients - -`func (o *RepositoryTokenSyncTokens) SetClients(v int64)` - -SetClients sets Clients field to given value. - -### HasClients - -`func (o *RepositoryTokenSyncTokens) HasClients() bool` - -HasClients returns a boolean if a field has been set. - -### GetCreatedAt - -`func (o *RepositoryTokenSyncTokens) GetCreatedAt() string` - -GetCreatedAt returns the CreatedAt field if non-nil, zero value otherwise. - -### GetCreatedAtOk - -`func (o *RepositoryTokenSyncTokens) GetCreatedAtOk() (*string, bool)` - -GetCreatedAtOk returns a tuple with the CreatedAt field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetCreatedAt - -`func (o *RepositoryTokenSyncTokens) SetCreatedAt(v string)` - -SetCreatedAt sets CreatedAt field to given value. - -### HasCreatedAt - -`func (o *RepositoryTokenSyncTokens) HasCreatedAt() bool` - -HasCreatedAt returns a boolean if a field has been set. - -### GetCreatedBy - -`func (o *RepositoryTokenSyncTokens) GetCreatedBy() string` - -GetCreatedBy returns the CreatedBy field if non-nil, zero value otherwise. - -### GetCreatedByOk - -`func (o *RepositoryTokenSyncTokens) GetCreatedByOk() (*string, bool)` - -GetCreatedByOk returns a tuple with the CreatedBy field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetCreatedBy - -`func (o *RepositoryTokenSyncTokens) SetCreatedBy(v string)` - -SetCreatedBy sets CreatedBy field to given value. - -### HasCreatedBy - -`func (o *RepositoryTokenSyncTokens) HasCreatedBy() bool` - -HasCreatedBy returns a boolean if a field has been set. - -### GetCreatedByUrl - -`func (o *RepositoryTokenSyncTokens) GetCreatedByUrl() string` - -GetCreatedByUrl returns the CreatedByUrl field if non-nil, zero value otherwise. - -### GetCreatedByUrlOk - -`func (o *RepositoryTokenSyncTokens) GetCreatedByUrlOk() (*string, bool)` - -GetCreatedByUrlOk returns a tuple with the CreatedByUrl field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetCreatedByUrl - -`func (o *RepositoryTokenSyncTokens) SetCreatedByUrl(v string)` - -SetCreatedByUrl sets CreatedByUrl field to given value. - -### HasCreatedByUrl - -`func (o *RepositoryTokenSyncTokens) HasCreatedByUrl() bool` - -HasCreatedByUrl returns a boolean if a field has been set. - -### GetDefault - -`func (o *RepositoryTokenSyncTokens) GetDefault() bool` - -GetDefault returns the Default field if non-nil, zero value otherwise. - -### GetDefaultOk - -`func (o *RepositoryTokenSyncTokens) GetDefaultOk() (*bool, bool)` - -GetDefaultOk returns a tuple with the Default field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetDefault - -`func (o *RepositoryTokenSyncTokens) SetDefault(v bool)` - -SetDefault sets Default field to given value. - -### HasDefault - -`func (o *RepositoryTokenSyncTokens) HasDefault() bool` - -HasDefault returns a boolean if a field has been set. - -### GetDisableUrl - -`func (o *RepositoryTokenSyncTokens) GetDisableUrl() string` - -GetDisableUrl returns the DisableUrl field if non-nil, zero value otherwise. - -### GetDisableUrlOk - -`func (o *RepositoryTokenSyncTokens) GetDisableUrlOk() (*string, bool)` - -GetDisableUrlOk returns a tuple with the DisableUrl field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetDisableUrl - -`func (o *RepositoryTokenSyncTokens) SetDisableUrl(v string)` - -SetDisableUrl sets DisableUrl field to given value. - -### HasDisableUrl - -`func (o *RepositoryTokenSyncTokens) HasDisableUrl() bool` - -HasDisableUrl returns a boolean if a field has been set. - -### GetDownloads - -`func (o *RepositoryTokenSyncTokens) GetDownloads() int64` - -GetDownloads returns the Downloads field if non-nil, zero value otherwise. - -### GetDownloadsOk - -`func (o *RepositoryTokenSyncTokens) GetDownloadsOk() (*int64, bool)` - -GetDownloadsOk returns a tuple with the Downloads field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetDownloads - -`func (o *RepositoryTokenSyncTokens) SetDownloads(v int64)` - -SetDownloads sets Downloads field to given value. - -### HasDownloads - -`func (o *RepositoryTokenSyncTokens) HasDownloads() bool` - -HasDownloads returns a boolean if a field has been set. - -### GetEnableUrl - -`func (o *RepositoryTokenSyncTokens) GetEnableUrl() string` - -GetEnableUrl returns the EnableUrl field if non-nil, zero value otherwise. - -### GetEnableUrlOk - -`func (o *RepositoryTokenSyncTokens) GetEnableUrlOk() (*string, bool)` - -GetEnableUrlOk returns a tuple with the EnableUrl field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetEnableUrl - -`func (o *RepositoryTokenSyncTokens) SetEnableUrl(v string)` - -SetEnableUrl sets EnableUrl field to given value. - -### HasEnableUrl - -`func (o *RepositoryTokenSyncTokens) HasEnableUrl() bool` - -HasEnableUrl returns a boolean if a field has been set. - -### GetEulaAccepted - -`func (o *RepositoryTokenSyncTokens) GetEulaAccepted() map[string]interface{}` - -GetEulaAccepted returns the EulaAccepted field if non-nil, zero value otherwise. - -### GetEulaAcceptedOk - -`func (o *RepositoryTokenSyncTokens) GetEulaAcceptedOk() (*map[string]interface{}, bool)` - -GetEulaAcceptedOk returns a tuple with the EulaAccepted field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetEulaAccepted - -`func (o *RepositoryTokenSyncTokens) SetEulaAccepted(v map[string]interface{})` - -SetEulaAccepted sets EulaAccepted field to given value. - -### HasEulaAccepted - -`func (o *RepositoryTokenSyncTokens) HasEulaAccepted() bool` - -HasEulaAccepted returns a boolean if a field has been set. - -### GetEulaAcceptedAt - -`func (o *RepositoryTokenSyncTokens) GetEulaAcceptedAt() string` - -GetEulaAcceptedAt returns the EulaAcceptedAt field if non-nil, zero value otherwise. - -### GetEulaAcceptedAtOk - -`func (o *RepositoryTokenSyncTokens) GetEulaAcceptedAtOk() (*string, bool)` - -GetEulaAcceptedAtOk returns a tuple with the EulaAcceptedAt field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetEulaAcceptedAt - -`func (o *RepositoryTokenSyncTokens) SetEulaAcceptedAt(v string)` - -SetEulaAcceptedAt sets EulaAcceptedAt field to given value. - -### HasEulaAcceptedAt - -`func (o *RepositoryTokenSyncTokens) HasEulaAcceptedAt() bool` - -HasEulaAcceptedAt returns a boolean if a field has been set. - -### GetEulaAcceptedFrom - -`func (o *RepositoryTokenSyncTokens) GetEulaAcceptedFrom() string` - -GetEulaAcceptedFrom returns the EulaAcceptedFrom field if non-nil, zero value otherwise. - -### GetEulaAcceptedFromOk - -`func (o *RepositoryTokenSyncTokens) GetEulaAcceptedFromOk() (*string, bool)` - -GetEulaAcceptedFromOk returns a tuple with the EulaAcceptedFrom field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetEulaAcceptedFrom - -`func (o *RepositoryTokenSyncTokens) SetEulaAcceptedFrom(v string)` - -SetEulaAcceptedFrom sets EulaAcceptedFrom field to given value. - -### HasEulaAcceptedFrom - -`func (o *RepositoryTokenSyncTokens) HasEulaAcceptedFrom() bool` - -HasEulaAcceptedFrom returns a boolean if a field has been set. - -### GetEulaRequired - -`func (o *RepositoryTokenSyncTokens) GetEulaRequired() bool` - -GetEulaRequired returns the EulaRequired field if non-nil, zero value otherwise. - -### GetEulaRequiredOk - -`func (o *RepositoryTokenSyncTokens) GetEulaRequiredOk() (*bool, bool)` - -GetEulaRequiredOk returns a tuple with the EulaRequired field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetEulaRequired - -`func (o *RepositoryTokenSyncTokens) SetEulaRequired(v bool)` - -SetEulaRequired sets EulaRequired field to given value. - -### HasEulaRequired - -`func (o *RepositoryTokenSyncTokens) HasEulaRequired() bool` - -HasEulaRequired returns a boolean if a field has been set. - -### GetHasLimits - -`func (o *RepositoryTokenSyncTokens) GetHasLimits() bool` - -GetHasLimits returns the HasLimits field if non-nil, zero value otherwise. - -### GetHasLimitsOk - -`func (o *RepositoryTokenSyncTokens) GetHasLimitsOk() (*bool, bool)` - -GetHasLimitsOk returns a tuple with the HasLimits field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetHasLimits - -`func (o *RepositoryTokenSyncTokens) SetHasLimits(v bool)` - -SetHasLimits sets HasLimits field to given value. - -### HasHasLimits - -`func (o *RepositoryTokenSyncTokens) HasHasLimits() bool` - -HasHasLimits returns a boolean if a field has been set. - -### GetIdentifier - -`func (o *RepositoryTokenSyncTokens) GetIdentifier() int64` - -GetIdentifier returns the Identifier field if non-nil, zero value otherwise. - -### GetIdentifierOk - -`func (o *RepositoryTokenSyncTokens) GetIdentifierOk() (*int64, bool)` - -GetIdentifierOk returns a tuple with the Identifier field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetIdentifier - -`func (o *RepositoryTokenSyncTokens) SetIdentifier(v int64)` - -SetIdentifier sets Identifier field to given value. - -### HasIdentifier - -`func (o *RepositoryTokenSyncTokens) HasIdentifier() bool` - -HasIdentifier returns a boolean if a field has been set. - -### GetIsActive - -`func (o *RepositoryTokenSyncTokens) GetIsActive() bool` - -GetIsActive returns the IsActive field if non-nil, zero value otherwise. - -### GetIsActiveOk - -`func (o *RepositoryTokenSyncTokens) GetIsActiveOk() (*bool, bool)` - -GetIsActiveOk returns a tuple with the IsActive field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetIsActive - -`func (o *RepositoryTokenSyncTokens) SetIsActive(v bool)` - -SetIsActive sets IsActive field to given value. - -### HasIsActive - -`func (o *RepositoryTokenSyncTokens) HasIsActive() bool` - -HasIsActive returns a boolean if a field has been set. - -### GetIsLimited - -`func (o *RepositoryTokenSyncTokens) GetIsLimited() bool` - -GetIsLimited returns the IsLimited field if non-nil, zero value otherwise. - -### GetIsLimitedOk - -`func (o *RepositoryTokenSyncTokens) GetIsLimitedOk() (*bool, bool)` - -GetIsLimitedOk returns a tuple with the IsLimited field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetIsLimited - -`func (o *RepositoryTokenSyncTokens) SetIsLimited(v bool)` - -SetIsLimited sets IsLimited field to given value. - -### HasIsLimited - -`func (o *RepositoryTokenSyncTokens) HasIsLimited() bool` - -HasIsLimited returns a boolean if a field has been set. - -### GetLimitBandwidth - -`func (o *RepositoryTokenSyncTokens) GetLimitBandwidth() int64` - -GetLimitBandwidth returns the LimitBandwidth field if non-nil, zero value otherwise. - -### GetLimitBandwidthOk - -`func (o *RepositoryTokenSyncTokens) GetLimitBandwidthOk() (*int64, bool)` - -GetLimitBandwidthOk returns a tuple with the LimitBandwidth field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetLimitBandwidth - -`func (o *RepositoryTokenSyncTokens) SetLimitBandwidth(v int64)` - -SetLimitBandwidth sets LimitBandwidth field to given value. - -### HasLimitBandwidth - -`func (o *RepositoryTokenSyncTokens) HasLimitBandwidth() bool` - -HasLimitBandwidth returns a boolean if a field has been set. - -### GetLimitBandwidthUnit - -`func (o *RepositoryTokenSyncTokens) GetLimitBandwidthUnit() string` - -GetLimitBandwidthUnit returns the LimitBandwidthUnit field if non-nil, zero value otherwise. - -### GetLimitBandwidthUnitOk - -`func (o *RepositoryTokenSyncTokens) GetLimitBandwidthUnitOk() (*string, bool)` - -GetLimitBandwidthUnitOk returns a tuple with the LimitBandwidthUnit field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetLimitBandwidthUnit - -`func (o *RepositoryTokenSyncTokens) SetLimitBandwidthUnit(v string)` - -SetLimitBandwidthUnit sets LimitBandwidthUnit field to given value. - -### HasLimitBandwidthUnit - -`func (o *RepositoryTokenSyncTokens) HasLimitBandwidthUnit() bool` - -HasLimitBandwidthUnit returns a boolean if a field has been set. - -### GetLimitDateRangeFrom - -`func (o *RepositoryTokenSyncTokens) GetLimitDateRangeFrom() string` - -GetLimitDateRangeFrom returns the LimitDateRangeFrom field if non-nil, zero value otherwise. - -### GetLimitDateRangeFromOk - -`func (o *RepositoryTokenSyncTokens) GetLimitDateRangeFromOk() (*string, bool)` - -GetLimitDateRangeFromOk returns a tuple with the LimitDateRangeFrom field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetLimitDateRangeFrom - -`func (o *RepositoryTokenSyncTokens) SetLimitDateRangeFrom(v string)` - -SetLimitDateRangeFrom sets LimitDateRangeFrom field to given value. - -### HasLimitDateRangeFrom - -`func (o *RepositoryTokenSyncTokens) HasLimitDateRangeFrom() bool` - -HasLimitDateRangeFrom returns a boolean if a field has been set. - -### GetLimitDateRangeTo - -`func (o *RepositoryTokenSyncTokens) GetLimitDateRangeTo() string` - -GetLimitDateRangeTo returns the LimitDateRangeTo field if non-nil, zero value otherwise. - -### GetLimitDateRangeToOk - -`func (o *RepositoryTokenSyncTokens) GetLimitDateRangeToOk() (*string, bool)` - -GetLimitDateRangeToOk returns a tuple with the LimitDateRangeTo field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetLimitDateRangeTo - -`func (o *RepositoryTokenSyncTokens) SetLimitDateRangeTo(v string)` - -SetLimitDateRangeTo sets LimitDateRangeTo field to given value. - -### HasLimitDateRangeTo - -`func (o *RepositoryTokenSyncTokens) HasLimitDateRangeTo() bool` - -HasLimitDateRangeTo returns a boolean if a field has been set. - -### GetLimitNumClients - -`func (o *RepositoryTokenSyncTokens) GetLimitNumClients() int64` - -GetLimitNumClients returns the LimitNumClients field if non-nil, zero value otherwise. - -### GetLimitNumClientsOk - -`func (o *RepositoryTokenSyncTokens) GetLimitNumClientsOk() (*int64, bool)` - -GetLimitNumClientsOk returns a tuple with the LimitNumClients field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetLimitNumClients - -`func (o *RepositoryTokenSyncTokens) SetLimitNumClients(v int64)` - -SetLimitNumClients sets LimitNumClients field to given value. - -### HasLimitNumClients - -`func (o *RepositoryTokenSyncTokens) HasLimitNumClients() bool` - -HasLimitNumClients returns a boolean if a field has been set. - -### GetLimitNumDownloads - -`func (o *RepositoryTokenSyncTokens) GetLimitNumDownloads() int64` - -GetLimitNumDownloads returns the LimitNumDownloads field if non-nil, zero value otherwise. - -### GetLimitNumDownloadsOk - -`func (o *RepositoryTokenSyncTokens) GetLimitNumDownloadsOk() (*int64, bool)` - -GetLimitNumDownloadsOk returns a tuple with the LimitNumDownloads field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetLimitNumDownloads - -`func (o *RepositoryTokenSyncTokens) SetLimitNumDownloads(v int64)` - -SetLimitNumDownloads sets LimitNumDownloads field to given value. - -### HasLimitNumDownloads - -`func (o *RepositoryTokenSyncTokens) HasLimitNumDownloads() bool` - -HasLimitNumDownloads returns a boolean if a field has been set. - -### GetLimitPackageQuery - -`func (o *RepositoryTokenSyncTokens) GetLimitPackageQuery() string` - -GetLimitPackageQuery returns the LimitPackageQuery field if non-nil, zero value otherwise. - -### GetLimitPackageQueryOk - -`func (o *RepositoryTokenSyncTokens) GetLimitPackageQueryOk() (*string, bool)` - -GetLimitPackageQueryOk returns a tuple with the LimitPackageQuery field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetLimitPackageQuery - -`func (o *RepositoryTokenSyncTokens) SetLimitPackageQuery(v string)` - -SetLimitPackageQuery sets LimitPackageQuery field to given value. - -### HasLimitPackageQuery - -`func (o *RepositoryTokenSyncTokens) HasLimitPackageQuery() bool` - -HasLimitPackageQuery returns a boolean if a field has been set. - -### GetLimitPathQuery - -`func (o *RepositoryTokenSyncTokens) GetLimitPathQuery() string` - -GetLimitPathQuery returns the LimitPathQuery field if non-nil, zero value otherwise. - -### GetLimitPathQueryOk - -`func (o *RepositoryTokenSyncTokens) GetLimitPathQueryOk() (*string, bool)` - -GetLimitPathQueryOk returns a tuple with the LimitPathQuery field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetLimitPathQuery - -`func (o *RepositoryTokenSyncTokens) SetLimitPathQuery(v string)` - -SetLimitPathQuery sets LimitPathQuery field to given value. - -### HasLimitPathQuery - -`func (o *RepositoryTokenSyncTokens) HasLimitPathQuery() bool` - -HasLimitPathQuery returns a boolean if a field has been set. - -### GetMetadata - -`func (o *RepositoryTokenSyncTokens) GetMetadata() string` - -GetMetadata returns the Metadata field if non-nil, zero value otherwise. - -### GetMetadataOk - -`func (o *RepositoryTokenSyncTokens) GetMetadataOk() (*string, bool)` - -GetMetadataOk returns a tuple with the Metadata field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetMetadata - -`func (o *RepositoryTokenSyncTokens) SetMetadata(v string)` - -SetMetadata sets Metadata field to given value. - -### HasMetadata - -`func (o *RepositoryTokenSyncTokens) HasMetadata() bool` - -HasMetadata returns a boolean if a field has been set. - -### GetName - -`func (o *RepositoryTokenSyncTokens) GetName() string` - -GetName returns the Name field if non-nil, zero value otherwise. - -### GetNameOk - -`func (o *RepositoryTokenSyncTokens) GetNameOk() (*string, bool)` - -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. - -### SetName - -`func (o *RepositoryTokenSyncTokens) SetName(v string)` - -SetName sets Name field to given value. - -### HasName - -`func (o *RepositoryTokenSyncTokens) HasName() bool` - -HasName returns a boolean if a field has been set. - -### GetRefreshUrl - -`func (o *RepositoryTokenSyncTokens) GetRefreshUrl() string` - -GetRefreshUrl returns the RefreshUrl field if non-nil, zero value otherwise. - -### GetRefreshUrlOk - -`func (o *RepositoryTokenSyncTokens) GetRefreshUrlOk() (*string, bool)` - -GetRefreshUrlOk returns a tuple with the RefreshUrl field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetRefreshUrl - -`func (o *RepositoryTokenSyncTokens) SetRefreshUrl(v string)` - -SetRefreshUrl sets RefreshUrl field to given value. - -### HasRefreshUrl - -`func (o *RepositoryTokenSyncTokens) HasRefreshUrl() bool` - -HasRefreshUrl returns a boolean if a field has been set. - -### GetResetUrl - -`func (o *RepositoryTokenSyncTokens) GetResetUrl() string` - -GetResetUrl returns the ResetUrl field if non-nil, zero value otherwise. - -### GetResetUrlOk - -`func (o *RepositoryTokenSyncTokens) GetResetUrlOk() (*string, bool)` - -GetResetUrlOk returns a tuple with the ResetUrl field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetResetUrl - -`func (o *RepositoryTokenSyncTokens) SetResetUrl(v string)` - -SetResetUrl sets ResetUrl field to given value. - -### HasResetUrl - -`func (o *RepositoryTokenSyncTokens) HasResetUrl() bool` - -HasResetUrl returns a boolean if a field has been set. - -### GetScheduledResetAt - -`func (o *RepositoryTokenSyncTokens) GetScheduledResetAt() string` - -GetScheduledResetAt returns the ScheduledResetAt field if non-nil, zero value otherwise. - -### GetScheduledResetAtOk - -`func (o *RepositoryTokenSyncTokens) GetScheduledResetAtOk() (*string, bool)` - -GetScheduledResetAtOk returns a tuple with the ScheduledResetAt field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetScheduledResetAt - -`func (o *RepositoryTokenSyncTokens) SetScheduledResetAt(v string)` - -SetScheduledResetAt sets ScheduledResetAt field to given value. - -### HasScheduledResetAt - -`func (o *RepositoryTokenSyncTokens) HasScheduledResetAt() bool` - -HasScheduledResetAt returns a boolean if a field has been set. - -### GetScheduledResetPeriod - -`func (o *RepositoryTokenSyncTokens) GetScheduledResetPeriod() string` - -GetScheduledResetPeriod returns the ScheduledResetPeriod field if non-nil, zero value otherwise. - -### GetScheduledResetPeriodOk - -`func (o *RepositoryTokenSyncTokens) GetScheduledResetPeriodOk() (*string, bool)` - -GetScheduledResetPeriodOk returns a tuple with the ScheduledResetPeriod field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetScheduledResetPeriod - -`func (o *RepositoryTokenSyncTokens) SetScheduledResetPeriod(v string)` - -SetScheduledResetPeriod sets ScheduledResetPeriod field to given value. - -### HasScheduledResetPeriod - -`func (o *RepositoryTokenSyncTokens) HasScheduledResetPeriod() bool` - -HasScheduledResetPeriod returns a boolean if a field has been set. - -### GetSelfUrl - -`func (o *RepositoryTokenSyncTokens) GetSelfUrl() string` - -GetSelfUrl returns the SelfUrl field if non-nil, zero value otherwise. - -### GetSelfUrlOk - -`func (o *RepositoryTokenSyncTokens) GetSelfUrlOk() (*string, bool)` - -GetSelfUrlOk returns a tuple with the SelfUrl field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetSelfUrl - -`func (o *RepositoryTokenSyncTokens) SetSelfUrl(v string)` - -SetSelfUrl sets SelfUrl field to given value. - -### HasSelfUrl - -`func (o *RepositoryTokenSyncTokens) HasSelfUrl() bool` - -HasSelfUrl returns a boolean if a field has been set. - -### GetSlugPerm - -`func (o *RepositoryTokenSyncTokens) GetSlugPerm() string` - -GetSlugPerm returns the SlugPerm field if non-nil, zero value otherwise. - -### GetSlugPermOk - -`func (o *RepositoryTokenSyncTokens) GetSlugPermOk() (*string, bool)` - -GetSlugPermOk returns a tuple with the SlugPerm field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetSlugPerm - -`func (o *RepositoryTokenSyncTokens) SetSlugPerm(v string)` - -SetSlugPerm sets SlugPerm field to given value. - -### HasSlugPerm - -`func (o *RepositoryTokenSyncTokens) HasSlugPerm() bool` - -HasSlugPerm returns a boolean if a field has been set. - -### GetToken - -`func (o *RepositoryTokenSyncTokens) GetToken() string` - -GetToken returns the Token field if non-nil, zero value otherwise. - -### GetTokenOk - -`func (o *RepositoryTokenSyncTokens) GetTokenOk() (*string, bool)` - -GetTokenOk returns a tuple with the Token field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetToken - -`func (o *RepositoryTokenSyncTokens) SetToken(v string)` - -SetToken sets Token field to given value. - -### HasToken - -`func (o *RepositoryTokenSyncTokens) HasToken() bool` - -HasToken returns a boolean if a field has been set. - -### GetUpdatedAt - -`func (o *RepositoryTokenSyncTokens) GetUpdatedAt() string` - -GetUpdatedAt returns the UpdatedAt field if non-nil, zero value otherwise. - -### GetUpdatedAtOk - -`func (o *RepositoryTokenSyncTokens) GetUpdatedAtOk() (*string, bool)` - -GetUpdatedAtOk returns a tuple with the UpdatedAt field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetUpdatedAt - -`func (o *RepositoryTokenSyncTokens) SetUpdatedAt(v string)` - -SetUpdatedAt sets UpdatedAt field to given value. - -### HasUpdatedAt - -`func (o *RepositoryTokenSyncTokens) HasUpdatedAt() bool` - -HasUpdatedAt returns a boolean if a field has been set. - -### GetUpdatedBy - -`func (o *RepositoryTokenSyncTokens) GetUpdatedBy() string` - -GetUpdatedBy returns the UpdatedBy field if non-nil, zero value otherwise. - -### GetUpdatedByOk - -`func (o *RepositoryTokenSyncTokens) GetUpdatedByOk() (*string, bool)` - -GetUpdatedByOk returns a tuple with the UpdatedBy field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetUpdatedBy - -`func (o *RepositoryTokenSyncTokens) SetUpdatedBy(v string)` - -SetUpdatedBy sets UpdatedBy field to given value. - -### HasUpdatedBy - -`func (o *RepositoryTokenSyncTokens) HasUpdatedBy() bool` - -HasUpdatedBy returns a boolean if a field has been set. - -### GetUpdatedByUrl - -`func (o *RepositoryTokenSyncTokens) GetUpdatedByUrl() string` - -GetUpdatedByUrl returns the UpdatedByUrl field if non-nil, zero value otherwise. - -### GetUpdatedByUrlOk - -`func (o *RepositoryTokenSyncTokens) GetUpdatedByUrlOk() (*string, bool)` - -GetUpdatedByUrlOk returns a tuple with the UpdatedByUrl field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetUpdatedByUrl - -`func (o *RepositoryTokenSyncTokens) SetUpdatedByUrl(v string)` - -SetUpdatedByUrl sets UpdatedByUrl field to given value. - -### HasUpdatedByUrl - -`func (o *RepositoryTokenSyncTokens) HasUpdatedByUrl() bool` - -HasUpdatedByUrl returns a boolean if a field has been set. - -### GetUsage - -`func (o *RepositoryTokenSyncTokens) GetUsage() string` - -GetUsage returns the Usage field if non-nil, zero value otherwise. - -### GetUsageOk - -`func (o *RepositoryTokenSyncTokens) GetUsageOk() (*string, bool)` - -GetUsageOk returns a tuple with the Usage field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetUsage - -`func (o *RepositoryTokenSyncTokens) SetUsage(v string)` - -SetUsage sets Usage field to given value. - -### HasUsage - -`func (o *RepositoryTokenSyncTokens) HasUsage() bool` - -HasUsage returns a boolean if a field has been set. - -### GetUser - -`func (o *RepositoryTokenSyncTokens) GetUser() string` - -GetUser returns the User field if non-nil, zero value otherwise. - -### GetUserOk - -`func (o *RepositoryTokenSyncTokens) GetUserOk() (*string, bool)` - -GetUserOk returns a tuple with the User field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetUser - -`func (o *RepositoryTokenSyncTokens) SetUser(v string)` - -SetUser sets User field to given value. - -### HasUser - -`func (o *RepositoryTokenSyncTokens) HasUser() bool` - -HasUser returns a boolean if a field has been set. - -### GetUserUrl - -`func (o *RepositoryTokenSyncTokens) GetUserUrl() string` - -GetUserUrl returns the UserUrl field if non-nil, zero value otherwise. - -### GetUserUrlOk - -`func (o *RepositoryTokenSyncTokens) GetUserUrlOk() (*string, bool)` - -GetUserUrlOk returns a tuple with the UserUrl field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetUserUrl - -`func (o *RepositoryTokenSyncTokens) SetUserUrl(v string)` - -SetUserUrl sets UserUrl field to given value. - -### HasUserUrl - -`func (o *RepositoryTokenSyncTokens) HasUserUrl() bool` - -HasUserUrl 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/docs/WebhooksCreate.md b/docs/RepositoryWebhookRequest.md similarity index 50% rename from docs/WebhooksCreate.md rename to docs/RepositoryWebhookRequest.md index 7a7698ba..f2e7af7c 100644 --- a/docs/WebhooksCreate.md +++ b/docs/RepositoryWebhookRequest.md @@ -1,323 +1,383 @@ -# WebhooksCreate +# RepositoryWebhookRequest ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**Events** | **[]string** | None | -**IsActive** | Pointer to **bool** | If enabled, the webhook will trigger on events and send payloads to the configured target URL. | [optional] -**PackageQuery** | Pointer to **string** | The package-based search query for webhooks to fire. This uses the same syntax as the standard search used for repositories, and also supports boolean logic operators such as OR/AND/NOT and parentheses for grouping. If a package does not match, the webhook will not fire. | [optional] +**Events** | **[]string** | | +**IsActive** | Pointer to **bool** | If enabled, the webhook will trigger on subscribed events and send payloads to the configured target URL. | [optional] +**PackageQuery** | Pointer to **NullableString** | The package-based search query for webhooks to fire. This uses the same syntax as the standard search used for repositories, and also supports boolean logic operators such as OR/AND/NOT and parentheses for grouping. If a package does not match, the webhook will not fire. | [optional] **RequestBodyFormat** | Pointer to **int64** | The format of the payloads for webhook requests. | [optional] **RequestBodyTemplateFormat** | Pointer to **int64** | The format of the payloads for webhook requests. | [optional] -**RequestContentType** | Pointer to **string** | The value that will be sent for the 'Content Type' header. | [optional] -**SecretHeader** | Pointer to **string** | The header to send the predefined secret in. This must be unique from existing headers or it won't be sent. You can use this as a form of authentication on the endpoint side. | [optional] -**SecretValue** | Pointer to **string** | The value for the predefined secret (note: this is treated as a passphrase and is encrypted when we store it). You can use this as a form of authentication on the endpoint side. | [optional] +**RequestContentType** | Pointer to **NullableString** | The value that will be sent for the 'Content Type' header. | [optional] +**SecretHeader** | Pointer to **NullableString** | The header to send the predefined secret in. This must be unique from existing headers or it won't be sent. You can use this as a form of authentication on the endpoint side. | [optional] +**SecretValue** | Pointer to **NullableString** | The value for the predefined secret (note: this is treated as a passphrase and is encrypted when we store it). You can use this as a form of authentication on the endpoint side. | [optional] **SignatureKey** | Pointer to **string** | The value for the signature key - This is used to generate an HMAC-based hex digest of the request body, which we send as the X-Cloudsmith-Signature header so that you can ensure that the request wasn't modified by a malicious party (note: this is treated as a passphrase and is encrypted when we store it). | [optional] **TargetUrl** | **string** | The destination URL that webhook payloads will be POST'ed to. | -**Templates** | [**[]WebhooksOwnerRepoTemplates**](WebhooksOwnerRepoTemplates.md) | None | +**Templates** | [**[]WebhookTemplate**](WebhookTemplate.md) | | **VerifySsl** | Pointer to **bool** | If enabled, SSL certificates is verified when webhooks are sent. It's recommended to leave this enabled as not verifying the integrity of SSL certificates leaves you susceptible to Man-in-the-Middle (MITM) attacks. | [optional] ## Methods -### NewWebhooksCreate +### NewRepositoryWebhookRequest -`func NewWebhooksCreate(events []string, targetUrl string, templates []WebhooksOwnerRepoTemplates, ) *WebhooksCreate` +`func NewRepositoryWebhookRequest(events []string, targetUrl string, templates []WebhookTemplate, ) *RepositoryWebhookRequest` -NewWebhooksCreate instantiates a new WebhooksCreate object +NewRepositoryWebhookRequest instantiates a new RepositoryWebhookRequest object 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 -### NewWebhooksCreateWithDefaults +### NewRepositoryWebhookRequestWithDefaults -`func NewWebhooksCreateWithDefaults() *WebhooksCreate` +`func NewRepositoryWebhookRequestWithDefaults() *RepositoryWebhookRequest` -NewWebhooksCreateWithDefaults instantiates a new WebhooksCreate object +NewRepositoryWebhookRequestWithDefaults instantiates a new RepositoryWebhookRequest object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set ### GetEvents -`func (o *WebhooksCreate) GetEvents() []string` +`func (o *RepositoryWebhookRequest) GetEvents() []string` GetEvents returns the Events field if non-nil, zero value otherwise. ### GetEventsOk -`func (o *WebhooksCreate) GetEventsOk() (*[]string, bool)` +`func (o *RepositoryWebhookRequest) GetEventsOk() (*[]string, bool)` GetEventsOk returns a tuple with the Events field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetEvents -`func (o *WebhooksCreate) SetEvents(v []string)` +`func (o *RepositoryWebhookRequest) SetEvents(v []string)` SetEvents sets Events field to given value. +### SetEventsNil + +`func (o *RepositoryWebhookRequest) SetEventsNil(b bool)` + + SetEventsNil sets the value for Events to be an explicit nil + +### UnsetEvents +`func (o *RepositoryWebhookRequest) UnsetEvents()` + +UnsetEvents ensures that no value is present for Events, not even an explicit nil ### GetIsActive -`func (o *WebhooksCreate) GetIsActive() bool` +`func (o *RepositoryWebhookRequest) GetIsActive() bool` GetIsActive returns the IsActive field if non-nil, zero value otherwise. ### GetIsActiveOk -`func (o *WebhooksCreate) GetIsActiveOk() (*bool, bool)` +`func (o *RepositoryWebhookRequest) GetIsActiveOk() (*bool, bool)` GetIsActiveOk returns a tuple with the IsActive field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetIsActive -`func (o *WebhooksCreate) SetIsActive(v bool)` +`func (o *RepositoryWebhookRequest) SetIsActive(v bool)` SetIsActive sets IsActive field to given value. ### HasIsActive -`func (o *WebhooksCreate) HasIsActive() bool` +`func (o *RepositoryWebhookRequest) HasIsActive() bool` HasIsActive returns a boolean if a field has been set. ### GetPackageQuery -`func (o *WebhooksCreate) GetPackageQuery() string` +`func (o *RepositoryWebhookRequest) GetPackageQuery() string` GetPackageQuery returns the PackageQuery field if non-nil, zero value otherwise. ### GetPackageQueryOk -`func (o *WebhooksCreate) GetPackageQueryOk() (*string, bool)` +`func (o *RepositoryWebhookRequest) GetPackageQueryOk() (*string, bool)` GetPackageQueryOk returns a tuple with the PackageQuery field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetPackageQuery -`func (o *WebhooksCreate) SetPackageQuery(v string)` +`func (o *RepositoryWebhookRequest) SetPackageQuery(v string)` SetPackageQuery sets PackageQuery field to given value. ### HasPackageQuery -`func (o *WebhooksCreate) HasPackageQuery() bool` +`func (o *RepositoryWebhookRequest) HasPackageQuery() bool` HasPackageQuery returns a boolean if a field has been set. +### SetPackageQueryNil + +`func (o *RepositoryWebhookRequest) SetPackageQueryNil(b bool)` + + SetPackageQueryNil sets the value for PackageQuery to be an explicit nil + +### UnsetPackageQuery +`func (o *RepositoryWebhookRequest) UnsetPackageQuery()` + +UnsetPackageQuery ensures that no value is present for PackageQuery, not even an explicit nil ### GetRequestBodyFormat -`func (o *WebhooksCreate) GetRequestBodyFormat() int64` +`func (o *RepositoryWebhookRequest) GetRequestBodyFormat() int64` GetRequestBodyFormat returns the RequestBodyFormat field if non-nil, zero value otherwise. ### GetRequestBodyFormatOk -`func (o *WebhooksCreate) GetRequestBodyFormatOk() (*int64, bool)` +`func (o *RepositoryWebhookRequest) GetRequestBodyFormatOk() (*int64, bool)` GetRequestBodyFormatOk returns a tuple with the RequestBodyFormat field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetRequestBodyFormat -`func (o *WebhooksCreate) SetRequestBodyFormat(v int64)` +`func (o *RepositoryWebhookRequest) SetRequestBodyFormat(v int64)` SetRequestBodyFormat sets RequestBodyFormat field to given value. ### HasRequestBodyFormat -`func (o *WebhooksCreate) HasRequestBodyFormat() bool` +`func (o *RepositoryWebhookRequest) HasRequestBodyFormat() bool` HasRequestBodyFormat returns a boolean if a field has been set. ### GetRequestBodyTemplateFormat -`func (o *WebhooksCreate) GetRequestBodyTemplateFormat() int64` +`func (o *RepositoryWebhookRequest) GetRequestBodyTemplateFormat() int64` GetRequestBodyTemplateFormat returns the RequestBodyTemplateFormat field if non-nil, zero value otherwise. ### GetRequestBodyTemplateFormatOk -`func (o *WebhooksCreate) GetRequestBodyTemplateFormatOk() (*int64, bool)` +`func (o *RepositoryWebhookRequest) GetRequestBodyTemplateFormatOk() (*int64, bool)` GetRequestBodyTemplateFormatOk returns a tuple with the RequestBodyTemplateFormat field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetRequestBodyTemplateFormat -`func (o *WebhooksCreate) SetRequestBodyTemplateFormat(v int64)` +`func (o *RepositoryWebhookRequest) SetRequestBodyTemplateFormat(v int64)` SetRequestBodyTemplateFormat sets RequestBodyTemplateFormat field to given value. ### HasRequestBodyTemplateFormat -`func (o *WebhooksCreate) HasRequestBodyTemplateFormat() bool` +`func (o *RepositoryWebhookRequest) HasRequestBodyTemplateFormat() bool` HasRequestBodyTemplateFormat returns a boolean if a field has been set. ### GetRequestContentType -`func (o *WebhooksCreate) GetRequestContentType() string` +`func (o *RepositoryWebhookRequest) GetRequestContentType() string` GetRequestContentType returns the RequestContentType field if non-nil, zero value otherwise. ### GetRequestContentTypeOk -`func (o *WebhooksCreate) GetRequestContentTypeOk() (*string, bool)` +`func (o *RepositoryWebhookRequest) GetRequestContentTypeOk() (*string, bool)` GetRequestContentTypeOk returns a tuple with the RequestContentType field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetRequestContentType -`func (o *WebhooksCreate) SetRequestContentType(v string)` +`func (o *RepositoryWebhookRequest) SetRequestContentType(v string)` SetRequestContentType sets RequestContentType field to given value. ### HasRequestContentType -`func (o *WebhooksCreate) HasRequestContentType() bool` +`func (o *RepositoryWebhookRequest) HasRequestContentType() bool` HasRequestContentType returns a boolean if a field has been set. +### SetRequestContentTypeNil + +`func (o *RepositoryWebhookRequest) SetRequestContentTypeNil(b bool)` + + SetRequestContentTypeNil sets the value for RequestContentType to be an explicit nil + +### UnsetRequestContentType +`func (o *RepositoryWebhookRequest) UnsetRequestContentType()` + +UnsetRequestContentType ensures that no value is present for RequestContentType, not even an explicit nil ### GetSecretHeader -`func (o *WebhooksCreate) GetSecretHeader() string` +`func (o *RepositoryWebhookRequest) GetSecretHeader() string` GetSecretHeader returns the SecretHeader field if non-nil, zero value otherwise. ### GetSecretHeaderOk -`func (o *WebhooksCreate) GetSecretHeaderOk() (*string, bool)` +`func (o *RepositoryWebhookRequest) GetSecretHeaderOk() (*string, bool)` GetSecretHeaderOk returns a tuple with the SecretHeader field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetSecretHeader -`func (o *WebhooksCreate) SetSecretHeader(v string)` +`func (o *RepositoryWebhookRequest) SetSecretHeader(v string)` SetSecretHeader sets SecretHeader field to given value. ### HasSecretHeader -`func (o *WebhooksCreate) HasSecretHeader() bool` +`func (o *RepositoryWebhookRequest) HasSecretHeader() bool` HasSecretHeader returns a boolean if a field has been set. +### SetSecretHeaderNil + +`func (o *RepositoryWebhookRequest) SetSecretHeaderNil(b bool)` + + SetSecretHeaderNil sets the value for SecretHeader to be an explicit nil + +### UnsetSecretHeader +`func (o *RepositoryWebhookRequest) UnsetSecretHeader()` + +UnsetSecretHeader ensures that no value is present for SecretHeader, not even an explicit nil ### GetSecretValue -`func (o *WebhooksCreate) GetSecretValue() string` +`func (o *RepositoryWebhookRequest) GetSecretValue() string` GetSecretValue returns the SecretValue field if non-nil, zero value otherwise. ### GetSecretValueOk -`func (o *WebhooksCreate) GetSecretValueOk() (*string, bool)` +`func (o *RepositoryWebhookRequest) GetSecretValueOk() (*string, bool)` GetSecretValueOk returns a tuple with the SecretValue field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetSecretValue -`func (o *WebhooksCreate) SetSecretValue(v string)` +`func (o *RepositoryWebhookRequest) SetSecretValue(v string)` SetSecretValue sets SecretValue field to given value. ### HasSecretValue -`func (o *WebhooksCreate) HasSecretValue() bool` +`func (o *RepositoryWebhookRequest) HasSecretValue() bool` HasSecretValue returns a boolean if a field has been set. +### SetSecretValueNil + +`func (o *RepositoryWebhookRequest) SetSecretValueNil(b bool)` + + SetSecretValueNil sets the value for SecretValue to be an explicit nil + +### UnsetSecretValue +`func (o *RepositoryWebhookRequest) UnsetSecretValue()` + +UnsetSecretValue ensures that no value is present for SecretValue, not even an explicit nil ### GetSignatureKey -`func (o *WebhooksCreate) GetSignatureKey() string` +`func (o *RepositoryWebhookRequest) GetSignatureKey() string` GetSignatureKey returns the SignatureKey field if non-nil, zero value otherwise. ### GetSignatureKeyOk -`func (o *WebhooksCreate) GetSignatureKeyOk() (*string, bool)` +`func (o *RepositoryWebhookRequest) GetSignatureKeyOk() (*string, bool)` GetSignatureKeyOk returns a tuple with the SignatureKey field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetSignatureKey -`func (o *WebhooksCreate) SetSignatureKey(v string)` +`func (o *RepositoryWebhookRequest) SetSignatureKey(v string)` SetSignatureKey sets SignatureKey field to given value. ### HasSignatureKey -`func (o *WebhooksCreate) HasSignatureKey() bool` +`func (o *RepositoryWebhookRequest) HasSignatureKey() bool` HasSignatureKey returns a boolean if a field has been set. ### GetTargetUrl -`func (o *WebhooksCreate) GetTargetUrl() string` +`func (o *RepositoryWebhookRequest) GetTargetUrl() string` GetTargetUrl returns the TargetUrl field if non-nil, zero value otherwise. ### GetTargetUrlOk -`func (o *WebhooksCreate) GetTargetUrlOk() (*string, bool)` +`func (o *RepositoryWebhookRequest) GetTargetUrlOk() (*string, bool)` GetTargetUrlOk returns a tuple with the TargetUrl field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetTargetUrl -`func (o *WebhooksCreate) SetTargetUrl(v string)` +`func (o *RepositoryWebhookRequest) SetTargetUrl(v string)` SetTargetUrl sets TargetUrl field to given value. ### GetTemplates -`func (o *WebhooksCreate) GetTemplates() []WebhooksOwnerRepoTemplates` +`func (o *RepositoryWebhookRequest) GetTemplates() []WebhookTemplate` GetTemplates returns the Templates field if non-nil, zero value otherwise. ### GetTemplatesOk -`func (o *WebhooksCreate) GetTemplatesOk() (*[]WebhooksOwnerRepoTemplates, bool)` +`func (o *RepositoryWebhookRequest) GetTemplatesOk() (*[]WebhookTemplate, bool)` GetTemplatesOk returns a tuple with the Templates field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetTemplates -`func (o *WebhooksCreate) SetTemplates(v []WebhooksOwnerRepoTemplates)` +`func (o *RepositoryWebhookRequest) SetTemplates(v []WebhookTemplate)` SetTemplates sets Templates field to given value. +### SetTemplatesNil + +`func (o *RepositoryWebhookRequest) SetTemplatesNil(b bool)` + + SetTemplatesNil sets the value for Templates to be an explicit nil + +### UnsetTemplates +`func (o *RepositoryWebhookRequest) UnsetTemplates()` + +UnsetTemplates ensures that no value is present for Templates, not even an explicit nil ### GetVerifySsl -`func (o *WebhooksCreate) GetVerifySsl() bool` +`func (o *RepositoryWebhookRequest) GetVerifySsl() bool` GetVerifySsl returns the VerifySsl field if non-nil, zero value otherwise. ### GetVerifySslOk -`func (o *WebhooksCreate) GetVerifySslOk() (*bool, bool)` +`func (o *RepositoryWebhookRequest) GetVerifySslOk() (*bool, bool)` GetVerifySslOk returns a tuple with the VerifySsl field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetVerifySsl -`func (o *WebhooksCreate) SetVerifySsl(v bool)` +`func (o *RepositoryWebhookRequest) SetVerifySsl(v bool)` SetVerifySsl sets VerifySsl field to given value. ### HasVerifySsl -`func (o *WebhooksCreate) HasVerifySsl() bool` +`func (o *RepositoryWebhookRequest) HasVerifySsl() bool` HasVerifySsl returns a boolean if a field has been set. diff --git a/docs/WebhooksPartialUpdate.md b/docs/RepositoryWebhookRequestPatch.md similarity index 50% rename from docs/WebhooksPartialUpdate.md rename to docs/RepositoryWebhookRequestPatch.md index 05c13334..bf26c5ca 100644 --- a/docs/WebhooksPartialUpdate.md +++ b/docs/RepositoryWebhookRequestPatch.md @@ -1,338 +1,398 @@ -# WebhooksPartialUpdate +# RepositoryWebhookRequestPatch ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**Events** | Pointer to **[]string** | None | [optional] -**IsActive** | Pointer to **bool** | If enabled, the webhook will trigger on events and send payloads to the configured target URL. | [optional] -**PackageQuery** | Pointer to **string** | The package-based search query for webhooks to fire. This uses the same syntax as the standard search used for repositories, and also supports boolean logic operators such as OR/AND/NOT and parentheses for grouping. If a package does not match, the webhook will not fire. | [optional] +**Events** | Pointer to **[]string** | | [optional] +**IsActive** | Pointer to **bool** | If enabled, the webhook will trigger on subscribed events and send payloads to the configured target URL. | [optional] +**PackageQuery** | Pointer to **NullableString** | The package-based search query for webhooks to fire. This uses the same syntax as the standard search used for repositories, and also supports boolean logic operators such as OR/AND/NOT and parentheses for grouping. If a package does not match, the webhook will not fire. | [optional] **RequestBodyFormat** | Pointer to **int64** | The format of the payloads for webhook requests. | [optional] **RequestBodyTemplateFormat** | Pointer to **int64** | The format of the payloads for webhook requests. | [optional] -**RequestContentType** | Pointer to **string** | The value that will be sent for the 'Content Type' header. | [optional] -**SecretHeader** | Pointer to **string** | The header to send the predefined secret in. This must be unique from existing headers or it won't be sent. You can use this as a form of authentication on the endpoint side. | [optional] -**SecretValue** | Pointer to **string** | The value for the predefined secret (note: this is treated as a passphrase and is encrypted when we store it). You can use this as a form of authentication on the endpoint side. | [optional] +**RequestContentType** | Pointer to **NullableString** | The value that will be sent for the 'Content Type' header. | [optional] +**SecretHeader** | Pointer to **NullableString** | The header to send the predefined secret in. This must be unique from existing headers or it won't be sent. You can use this as a form of authentication on the endpoint side. | [optional] +**SecretValue** | Pointer to **NullableString** | The value for the predefined secret (note: this is treated as a passphrase and is encrypted when we store it). You can use this as a form of authentication on the endpoint side. | [optional] **SignatureKey** | Pointer to **string** | The value for the signature key - This is used to generate an HMAC-based hex digest of the request body, which we send as the X-Cloudsmith-Signature header so that you can ensure that the request wasn't modified by a malicious party (note: this is treated as a passphrase and is encrypted when we store it). | [optional] **TargetUrl** | Pointer to **string** | The destination URL that webhook payloads will be POST'ed to. | [optional] -**Templates** | Pointer to [**[]WebhooksOwnerRepoTemplates**](WebhooksOwnerRepoTemplates.md) | None | [optional] +**Templates** | Pointer to [**[]WebhookTemplate**](WebhookTemplate.md) | | [optional] **VerifySsl** | Pointer to **bool** | If enabled, SSL certificates is verified when webhooks are sent. It's recommended to leave this enabled as not verifying the integrity of SSL certificates leaves you susceptible to Man-in-the-Middle (MITM) attacks. | [optional] ## Methods -### NewWebhooksPartialUpdate +### NewRepositoryWebhookRequestPatch -`func NewWebhooksPartialUpdate() *WebhooksPartialUpdate` +`func NewRepositoryWebhookRequestPatch() *RepositoryWebhookRequestPatch` -NewWebhooksPartialUpdate instantiates a new WebhooksPartialUpdate object +NewRepositoryWebhookRequestPatch instantiates a new RepositoryWebhookRequestPatch object 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 -### NewWebhooksPartialUpdateWithDefaults +### NewRepositoryWebhookRequestPatchWithDefaults -`func NewWebhooksPartialUpdateWithDefaults() *WebhooksPartialUpdate` +`func NewRepositoryWebhookRequestPatchWithDefaults() *RepositoryWebhookRequestPatch` -NewWebhooksPartialUpdateWithDefaults instantiates a new WebhooksPartialUpdate object +NewRepositoryWebhookRequestPatchWithDefaults instantiates a new RepositoryWebhookRequestPatch object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set ### GetEvents -`func (o *WebhooksPartialUpdate) GetEvents() []string` +`func (o *RepositoryWebhookRequestPatch) GetEvents() []string` GetEvents returns the Events field if non-nil, zero value otherwise. ### GetEventsOk -`func (o *WebhooksPartialUpdate) GetEventsOk() (*[]string, bool)` +`func (o *RepositoryWebhookRequestPatch) GetEventsOk() (*[]string, bool)` GetEventsOk returns a tuple with the Events field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetEvents -`func (o *WebhooksPartialUpdate) SetEvents(v []string)` +`func (o *RepositoryWebhookRequestPatch) SetEvents(v []string)` SetEvents sets Events field to given value. ### HasEvents -`func (o *WebhooksPartialUpdate) HasEvents() bool` +`func (o *RepositoryWebhookRequestPatch) HasEvents() bool` HasEvents returns a boolean if a field has been set. +### SetEventsNil + +`func (o *RepositoryWebhookRequestPatch) SetEventsNil(b bool)` + + SetEventsNil sets the value for Events to be an explicit nil + +### UnsetEvents +`func (o *RepositoryWebhookRequestPatch) UnsetEvents()` + +UnsetEvents ensures that no value is present for Events, not even an explicit nil ### GetIsActive -`func (o *WebhooksPartialUpdate) GetIsActive() bool` +`func (o *RepositoryWebhookRequestPatch) GetIsActive() bool` GetIsActive returns the IsActive field if non-nil, zero value otherwise. ### GetIsActiveOk -`func (o *WebhooksPartialUpdate) GetIsActiveOk() (*bool, bool)` +`func (o *RepositoryWebhookRequestPatch) GetIsActiveOk() (*bool, bool)` GetIsActiveOk returns a tuple with the IsActive field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetIsActive -`func (o *WebhooksPartialUpdate) SetIsActive(v bool)` +`func (o *RepositoryWebhookRequestPatch) SetIsActive(v bool)` SetIsActive sets IsActive field to given value. ### HasIsActive -`func (o *WebhooksPartialUpdate) HasIsActive() bool` +`func (o *RepositoryWebhookRequestPatch) HasIsActive() bool` HasIsActive returns a boolean if a field has been set. ### GetPackageQuery -`func (o *WebhooksPartialUpdate) GetPackageQuery() string` +`func (o *RepositoryWebhookRequestPatch) GetPackageQuery() string` GetPackageQuery returns the PackageQuery field if non-nil, zero value otherwise. ### GetPackageQueryOk -`func (o *WebhooksPartialUpdate) GetPackageQueryOk() (*string, bool)` +`func (o *RepositoryWebhookRequestPatch) GetPackageQueryOk() (*string, bool)` GetPackageQueryOk returns a tuple with the PackageQuery field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetPackageQuery -`func (o *WebhooksPartialUpdate) SetPackageQuery(v string)` +`func (o *RepositoryWebhookRequestPatch) SetPackageQuery(v string)` SetPackageQuery sets PackageQuery field to given value. ### HasPackageQuery -`func (o *WebhooksPartialUpdate) HasPackageQuery() bool` +`func (o *RepositoryWebhookRequestPatch) HasPackageQuery() bool` HasPackageQuery returns a boolean if a field has been set. +### SetPackageQueryNil + +`func (o *RepositoryWebhookRequestPatch) SetPackageQueryNil(b bool)` + + SetPackageQueryNil sets the value for PackageQuery to be an explicit nil + +### UnsetPackageQuery +`func (o *RepositoryWebhookRequestPatch) UnsetPackageQuery()` + +UnsetPackageQuery ensures that no value is present for PackageQuery, not even an explicit nil ### GetRequestBodyFormat -`func (o *WebhooksPartialUpdate) GetRequestBodyFormat() int64` +`func (o *RepositoryWebhookRequestPatch) GetRequestBodyFormat() int64` GetRequestBodyFormat returns the RequestBodyFormat field if non-nil, zero value otherwise. ### GetRequestBodyFormatOk -`func (o *WebhooksPartialUpdate) GetRequestBodyFormatOk() (*int64, bool)` +`func (o *RepositoryWebhookRequestPatch) GetRequestBodyFormatOk() (*int64, bool)` GetRequestBodyFormatOk returns a tuple with the RequestBodyFormat field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetRequestBodyFormat -`func (o *WebhooksPartialUpdate) SetRequestBodyFormat(v int64)` +`func (o *RepositoryWebhookRequestPatch) SetRequestBodyFormat(v int64)` SetRequestBodyFormat sets RequestBodyFormat field to given value. ### HasRequestBodyFormat -`func (o *WebhooksPartialUpdate) HasRequestBodyFormat() bool` +`func (o *RepositoryWebhookRequestPatch) HasRequestBodyFormat() bool` HasRequestBodyFormat returns a boolean if a field has been set. ### GetRequestBodyTemplateFormat -`func (o *WebhooksPartialUpdate) GetRequestBodyTemplateFormat() int64` +`func (o *RepositoryWebhookRequestPatch) GetRequestBodyTemplateFormat() int64` GetRequestBodyTemplateFormat returns the RequestBodyTemplateFormat field if non-nil, zero value otherwise. ### GetRequestBodyTemplateFormatOk -`func (o *WebhooksPartialUpdate) GetRequestBodyTemplateFormatOk() (*int64, bool)` +`func (o *RepositoryWebhookRequestPatch) GetRequestBodyTemplateFormatOk() (*int64, bool)` GetRequestBodyTemplateFormatOk returns a tuple with the RequestBodyTemplateFormat field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetRequestBodyTemplateFormat -`func (o *WebhooksPartialUpdate) SetRequestBodyTemplateFormat(v int64)` +`func (o *RepositoryWebhookRequestPatch) SetRequestBodyTemplateFormat(v int64)` SetRequestBodyTemplateFormat sets RequestBodyTemplateFormat field to given value. ### HasRequestBodyTemplateFormat -`func (o *WebhooksPartialUpdate) HasRequestBodyTemplateFormat() bool` +`func (o *RepositoryWebhookRequestPatch) HasRequestBodyTemplateFormat() bool` HasRequestBodyTemplateFormat returns a boolean if a field has been set. ### GetRequestContentType -`func (o *WebhooksPartialUpdate) GetRequestContentType() string` +`func (o *RepositoryWebhookRequestPatch) GetRequestContentType() string` GetRequestContentType returns the RequestContentType field if non-nil, zero value otherwise. ### GetRequestContentTypeOk -`func (o *WebhooksPartialUpdate) GetRequestContentTypeOk() (*string, bool)` +`func (o *RepositoryWebhookRequestPatch) GetRequestContentTypeOk() (*string, bool)` GetRequestContentTypeOk returns a tuple with the RequestContentType field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetRequestContentType -`func (o *WebhooksPartialUpdate) SetRequestContentType(v string)` +`func (o *RepositoryWebhookRequestPatch) SetRequestContentType(v string)` SetRequestContentType sets RequestContentType field to given value. ### HasRequestContentType -`func (o *WebhooksPartialUpdate) HasRequestContentType() bool` +`func (o *RepositoryWebhookRequestPatch) HasRequestContentType() bool` HasRequestContentType returns a boolean if a field has been set. +### SetRequestContentTypeNil + +`func (o *RepositoryWebhookRequestPatch) SetRequestContentTypeNil(b bool)` + + SetRequestContentTypeNil sets the value for RequestContentType to be an explicit nil + +### UnsetRequestContentType +`func (o *RepositoryWebhookRequestPatch) UnsetRequestContentType()` + +UnsetRequestContentType ensures that no value is present for RequestContentType, not even an explicit nil ### GetSecretHeader -`func (o *WebhooksPartialUpdate) GetSecretHeader() string` +`func (o *RepositoryWebhookRequestPatch) GetSecretHeader() string` GetSecretHeader returns the SecretHeader field if non-nil, zero value otherwise. ### GetSecretHeaderOk -`func (o *WebhooksPartialUpdate) GetSecretHeaderOk() (*string, bool)` +`func (o *RepositoryWebhookRequestPatch) GetSecretHeaderOk() (*string, bool)` GetSecretHeaderOk returns a tuple with the SecretHeader field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetSecretHeader -`func (o *WebhooksPartialUpdate) SetSecretHeader(v string)` +`func (o *RepositoryWebhookRequestPatch) SetSecretHeader(v string)` SetSecretHeader sets SecretHeader field to given value. ### HasSecretHeader -`func (o *WebhooksPartialUpdate) HasSecretHeader() bool` +`func (o *RepositoryWebhookRequestPatch) HasSecretHeader() bool` HasSecretHeader returns a boolean if a field has been set. +### SetSecretHeaderNil + +`func (o *RepositoryWebhookRequestPatch) SetSecretHeaderNil(b bool)` + + SetSecretHeaderNil sets the value for SecretHeader to be an explicit nil + +### UnsetSecretHeader +`func (o *RepositoryWebhookRequestPatch) UnsetSecretHeader()` + +UnsetSecretHeader ensures that no value is present for SecretHeader, not even an explicit nil ### GetSecretValue -`func (o *WebhooksPartialUpdate) GetSecretValue() string` +`func (o *RepositoryWebhookRequestPatch) GetSecretValue() string` GetSecretValue returns the SecretValue field if non-nil, zero value otherwise. ### GetSecretValueOk -`func (o *WebhooksPartialUpdate) GetSecretValueOk() (*string, bool)` +`func (o *RepositoryWebhookRequestPatch) GetSecretValueOk() (*string, bool)` GetSecretValueOk returns a tuple with the SecretValue field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetSecretValue -`func (o *WebhooksPartialUpdate) SetSecretValue(v string)` +`func (o *RepositoryWebhookRequestPatch) SetSecretValue(v string)` SetSecretValue sets SecretValue field to given value. ### HasSecretValue -`func (o *WebhooksPartialUpdate) HasSecretValue() bool` +`func (o *RepositoryWebhookRequestPatch) HasSecretValue() bool` HasSecretValue returns a boolean if a field has been set. +### SetSecretValueNil + +`func (o *RepositoryWebhookRequestPatch) SetSecretValueNil(b bool)` + + SetSecretValueNil sets the value for SecretValue to be an explicit nil + +### UnsetSecretValue +`func (o *RepositoryWebhookRequestPatch) UnsetSecretValue()` + +UnsetSecretValue ensures that no value is present for SecretValue, not even an explicit nil ### GetSignatureKey -`func (o *WebhooksPartialUpdate) GetSignatureKey() string` +`func (o *RepositoryWebhookRequestPatch) GetSignatureKey() string` GetSignatureKey returns the SignatureKey field if non-nil, zero value otherwise. ### GetSignatureKeyOk -`func (o *WebhooksPartialUpdate) GetSignatureKeyOk() (*string, bool)` +`func (o *RepositoryWebhookRequestPatch) GetSignatureKeyOk() (*string, bool)` GetSignatureKeyOk returns a tuple with the SignatureKey field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetSignatureKey -`func (o *WebhooksPartialUpdate) SetSignatureKey(v string)` +`func (o *RepositoryWebhookRequestPatch) SetSignatureKey(v string)` SetSignatureKey sets SignatureKey field to given value. ### HasSignatureKey -`func (o *WebhooksPartialUpdate) HasSignatureKey() bool` +`func (o *RepositoryWebhookRequestPatch) HasSignatureKey() bool` HasSignatureKey returns a boolean if a field has been set. ### GetTargetUrl -`func (o *WebhooksPartialUpdate) GetTargetUrl() string` +`func (o *RepositoryWebhookRequestPatch) GetTargetUrl() string` GetTargetUrl returns the TargetUrl field if non-nil, zero value otherwise. ### GetTargetUrlOk -`func (o *WebhooksPartialUpdate) GetTargetUrlOk() (*string, bool)` +`func (o *RepositoryWebhookRequestPatch) GetTargetUrlOk() (*string, bool)` GetTargetUrlOk returns a tuple with the TargetUrl field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetTargetUrl -`func (o *WebhooksPartialUpdate) SetTargetUrl(v string)` +`func (o *RepositoryWebhookRequestPatch) SetTargetUrl(v string)` SetTargetUrl sets TargetUrl field to given value. ### HasTargetUrl -`func (o *WebhooksPartialUpdate) HasTargetUrl() bool` +`func (o *RepositoryWebhookRequestPatch) HasTargetUrl() bool` HasTargetUrl returns a boolean if a field has been set. ### GetTemplates -`func (o *WebhooksPartialUpdate) GetTemplates() []WebhooksOwnerRepoTemplates` +`func (o *RepositoryWebhookRequestPatch) GetTemplates() []WebhookTemplate` GetTemplates returns the Templates field if non-nil, zero value otherwise. ### GetTemplatesOk -`func (o *WebhooksPartialUpdate) GetTemplatesOk() (*[]WebhooksOwnerRepoTemplates, bool)` +`func (o *RepositoryWebhookRequestPatch) GetTemplatesOk() (*[]WebhookTemplate, bool)` GetTemplatesOk returns a tuple with the Templates field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetTemplates -`func (o *WebhooksPartialUpdate) SetTemplates(v []WebhooksOwnerRepoTemplates)` +`func (o *RepositoryWebhookRequestPatch) SetTemplates(v []WebhookTemplate)` SetTemplates sets Templates field to given value. ### HasTemplates -`func (o *WebhooksPartialUpdate) HasTemplates() bool` +`func (o *RepositoryWebhookRequestPatch) HasTemplates() bool` HasTemplates returns a boolean if a field has been set. +### SetTemplatesNil + +`func (o *RepositoryWebhookRequestPatch) SetTemplatesNil(b bool)` + + SetTemplatesNil sets the value for Templates to be an explicit nil + +### UnsetTemplates +`func (o *RepositoryWebhookRequestPatch) UnsetTemplates()` + +UnsetTemplates ensures that no value is present for Templates, not even an explicit nil ### GetVerifySsl -`func (o *WebhooksPartialUpdate) GetVerifySsl() bool` +`func (o *RepositoryWebhookRequestPatch) GetVerifySsl() bool` GetVerifySsl returns the VerifySsl field if non-nil, zero value otherwise. ### GetVerifySslOk -`func (o *WebhooksPartialUpdate) GetVerifySslOk() (*bool, bool)` +`func (o *RepositoryWebhookRequestPatch) GetVerifySslOk() (*bool, bool)` GetVerifySslOk returns a tuple with the VerifySsl field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetVerifySsl -`func (o *WebhooksPartialUpdate) SetVerifySsl(v bool)` +`func (o *RepositoryWebhookRequestPatch) SetVerifySsl(v bool)` SetVerifySsl sets VerifySsl field to given value. ### HasVerifySsl -`func (o *WebhooksPartialUpdate) HasVerifySsl() bool` +`func (o *RepositoryWebhookRequestPatch) HasVerifySsl() bool` HasVerifySsl returns a boolean if a field has been set. diff --git a/docs/RepositoryWebhook.md b/docs/RepositoryWebhookResponse.md similarity index 55% rename from docs/RepositoryWebhook.md rename to docs/RepositoryWebhookResponse.md index 343040c8..df1b6d83 100644 --- a/docs/RepositoryWebhook.md +++ b/docs/RepositoryWebhookResponse.md @@ -1,713 +1,763 @@ -# RepositoryWebhook +# RepositoryWebhookResponse ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**CreatedAt** | Pointer to **string** | | [optional] -**CreatedBy** | Pointer to **string** | | [optional] -**CreatedByUrl** | Pointer to **string** | | [optional] -**DisableReason** | Pointer to **int64** | | [optional] -**DisableReasonStr** | Pointer to **string** | | [optional] +**CreatedAt** | Pointer to **time.Time** | | [optional] [readonly] +**CreatedBy** | Pointer to **string** | | [optional] [readonly] +**CreatedByUrl** | Pointer to **string** | | [optional] [readonly] +**DisableReason** | Pointer to **int64** | | [optional] [readonly] +**DisableReasonStr** | Pointer to **string** | | [optional] [readonly] **Events** | **[]string** | | -**Identifier** | Pointer to **int64** | | [optional] -**IsActive** | Pointer to **bool** | If enabled, the webhook will trigger on events and send payloads to the configured target URL. | [optional] -**IsLastResponseBad** | Pointer to **bool** | | [optional] -**LastResponseStatus** | Pointer to **int64** | | [optional] -**LastResponseStatusStr** | Pointer to **string** | | [optional] -**NumSent** | Pointer to **int64** | | [optional] -**PackageQuery** | Pointer to **string** | The package-based search query for webhooks to fire. This uses the same syntax as the standard search used for repositories, and also supports boolean logic operators such as OR/AND/NOT and parentheses for grouping. If a package does not match, the webhook will not fire. | [optional] +**Identifier** | Pointer to **int64** | | [optional] [readonly] +**IsActive** | Pointer to **bool** | If enabled, the webhook will trigger on subscribed events and send payloads to the configured target URL. | [optional] +**IsLastResponseBad** | Pointer to **bool** | | [optional] [readonly] +**LastResponseStatus** | Pointer to **int64** | | [optional] [readonly] +**LastResponseStatusStr** | Pointer to **string** | | [optional] [readonly] +**NumSent** | Pointer to **int64** | | [optional] [readonly] +**PackageQuery** | Pointer to **NullableString** | The package-based search query for webhooks to fire. This uses the same syntax as the standard search used for repositories, and also supports boolean logic operators such as OR/AND/NOT and parentheses for grouping. If a package does not match, the webhook will not fire. | [optional] **RequestBodyFormat** | Pointer to **int64** | The format of the payloads for webhook requests. | [optional] -**RequestBodyFormatStr** | Pointer to **string** | | [optional] +**RequestBodyFormatStr** | Pointer to **string** | | [optional] [readonly] **RequestBodyTemplateFormat** | Pointer to **int64** | The format of the payloads for webhook requests. | [optional] -**RequestBodyTemplateFormatStr** | Pointer to **string** | | [optional] -**RequestContentType** | Pointer to **string** | The value that will be sent for the 'Content Type' header. | [optional] -**SecretHeader** | Pointer to **string** | The header to send the predefined secret in. This must be unique from existing headers or it won't be sent. You can use this as a form of authentication on the endpoint side. | [optional] -**SelfUrl** | Pointer to **string** | | [optional] -**SlugPerm** | Pointer to **string** | | [optional] +**RequestBodyTemplateFormatStr** | Pointer to **string** | | [optional] [readonly] +**RequestContentType** | Pointer to **NullableString** | The value that will be sent for the 'Content Type' header. | [optional] +**SecretHeader** | Pointer to **NullableString** | The header to send the predefined secret in. This must be unique from existing headers or it won't be sent. You can use this as a form of authentication on the endpoint side. | [optional] +**SelfUrl** | Pointer to **string** | | [optional] [readonly] +**SlugPerm** | Pointer to **string** | | [optional] [readonly] **TargetUrl** | **string** | The destination URL that webhook payloads will be POST'ed to. | -**Templates** | [**[]WebhooksOwnerRepoTemplates**](WebhooksOwnerRepoTemplates.md) | | -**UpdatedAt** | Pointer to **string** | | [optional] -**UpdatedBy** | Pointer to **string** | | [optional] -**UpdatedByUrl** | Pointer to **string** | | [optional] +**Templates** | [**[]WebhookTemplate**](WebhookTemplate.md) | | +**UpdatedAt** | Pointer to **time.Time** | | [optional] [readonly] +**UpdatedBy** | Pointer to **string** | | [optional] [readonly] +**UpdatedByUrl** | Pointer to **string** | | [optional] [readonly] **VerifySsl** | Pointer to **bool** | If enabled, SSL certificates is verified when webhooks are sent. It's recommended to leave this enabled as not verifying the integrity of SSL certificates leaves you susceptible to Man-in-the-Middle (MITM) attacks. | [optional] ## Methods -### NewRepositoryWebhook +### NewRepositoryWebhookResponse -`func NewRepositoryWebhook(events []string, targetUrl string, templates []WebhooksOwnerRepoTemplates, ) *RepositoryWebhook` +`func NewRepositoryWebhookResponse(events []string, targetUrl string, templates []WebhookTemplate, ) *RepositoryWebhookResponse` -NewRepositoryWebhook instantiates a new RepositoryWebhook object +NewRepositoryWebhookResponse instantiates a new RepositoryWebhookResponse object 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 -### NewRepositoryWebhookWithDefaults +### NewRepositoryWebhookResponseWithDefaults -`func NewRepositoryWebhookWithDefaults() *RepositoryWebhook` +`func NewRepositoryWebhookResponseWithDefaults() *RepositoryWebhookResponse` -NewRepositoryWebhookWithDefaults instantiates a new RepositoryWebhook object +NewRepositoryWebhookResponseWithDefaults instantiates a new RepositoryWebhookResponse object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set ### GetCreatedAt -`func (o *RepositoryWebhook) GetCreatedAt() string` +`func (o *RepositoryWebhookResponse) GetCreatedAt() time.Time` GetCreatedAt returns the CreatedAt field if non-nil, zero value otherwise. ### GetCreatedAtOk -`func (o *RepositoryWebhook) GetCreatedAtOk() (*string, bool)` +`func (o *RepositoryWebhookResponse) GetCreatedAtOk() (*time.Time, bool)` GetCreatedAtOk returns a tuple with the CreatedAt field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetCreatedAt -`func (o *RepositoryWebhook) SetCreatedAt(v string)` +`func (o *RepositoryWebhookResponse) SetCreatedAt(v time.Time)` SetCreatedAt sets CreatedAt field to given value. ### HasCreatedAt -`func (o *RepositoryWebhook) HasCreatedAt() bool` +`func (o *RepositoryWebhookResponse) HasCreatedAt() bool` HasCreatedAt returns a boolean if a field has been set. ### GetCreatedBy -`func (o *RepositoryWebhook) GetCreatedBy() string` +`func (o *RepositoryWebhookResponse) GetCreatedBy() string` GetCreatedBy returns the CreatedBy field if non-nil, zero value otherwise. ### GetCreatedByOk -`func (o *RepositoryWebhook) GetCreatedByOk() (*string, bool)` +`func (o *RepositoryWebhookResponse) GetCreatedByOk() (*string, bool)` GetCreatedByOk returns a tuple with the CreatedBy field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetCreatedBy -`func (o *RepositoryWebhook) SetCreatedBy(v string)` +`func (o *RepositoryWebhookResponse) SetCreatedBy(v string)` SetCreatedBy sets CreatedBy field to given value. ### HasCreatedBy -`func (o *RepositoryWebhook) HasCreatedBy() bool` +`func (o *RepositoryWebhookResponse) HasCreatedBy() bool` HasCreatedBy returns a boolean if a field has been set. ### GetCreatedByUrl -`func (o *RepositoryWebhook) GetCreatedByUrl() string` +`func (o *RepositoryWebhookResponse) GetCreatedByUrl() string` GetCreatedByUrl returns the CreatedByUrl field if non-nil, zero value otherwise. ### GetCreatedByUrlOk -`func (o *RepositoryWebhook) GetCreatedByUrlOk() (*string, bool)` +`func (o *RepositoryWebhookResponse) GetCreatedByUrlOk() (*string, bool)` GetCreatedByUrlOk returns a tuple with the CreatedByUrl field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetCreatedByUrl -`func (o *RepositoryWebhook) SetCreatedByUrl(v string)` +`func (o *RepositoryWebhookResponse) SetCreatedByUrl(v string)` SetCreatedByUrl sets CreatedByUrl field to given value. ### HasCreatedByUrl -`func (o *RepositoryWebhook) HasCreatedByUrl() bool` +`func (o *RepositoryWebhookResponse) HasCreatedByUrl() bool` HasCreatedByUrl returns a boolean if a field has been set. ### GetDisableReason -`func (o *RepositoryWebhook) GetDisableReason() int64` +`func (o *RepositoryWebhookResponse) GetDisableReason() int64` GetDisableReason returns the DisableReason field if non-nil, zero value otherwise. ### GetDisableReasonOk -`func (o *RepositoryWebhook) GetDisableReasonOk() (*int64, bool)` +`func (o *RepositoryWebhookResponse) GetDisableReasonOk() (*int64, bool)` GetDisableReasonOk returns a tuple with the DisableReason field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetDisableReason -`func (o *RepositoryWebhook) SetDisableReason(v int64)` +`func (o *RepositoryWebhookResponse) SetDisableReason(v int64)` SetDisableReason sets DisableReason field to given value. ### HasDisableReason -`func (o *RepositoryWebhook) HasDisableReason() bool` +`func (o *RepositoryWebhookResponse) HasDisableReason() bool` HasDisableReason returns a boolean if a field has been set. ### GetDisableReasonStr -`func (o *RepositoryWebhook) GetDisableReasonStr() string` +`func (o *RepositoryWebhookResponse) GetDisableReasonStr() string` GetDisableReasonStr returns the DisableReasonStr field if non-nil, zero value otherwise. ### GetDisableReasonStrOk -`func (o *RepositoryWebhook) GetDisableReasonStrOk() (*string, bool)` +`func (o *RepositoryWebhookResponse) GetDisableReasonStrOk() (*string, bool)` GetDisableReasonStrOk returns a tuple with the DisableReasonStr field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetDisableReasonStr -`func (o *RepositoryWebhook) SetDisableReasonStr(v string)` +`func (o *RepositoryWebhookResponse) SetDisableReasonStr(v string)` SetDisableReasonStr sets DisableReasonStr field to given value. ### HasDisableReasonStr -`func (o *RepositoryWebhook) HasDisableReasonStr() bool` +`func (o *RepositoryWebhookResponse) HasDisableReasonStr() bool` HasDisableReasonStr returns a boolean if a field has been set. ### GetEvents -`func (o *RepositoryWebhook) GetEvents() []string` +`func (o *RepositoryWebhookResponse) GetEvents() []string` GetEvents returns the Events field if non-nil, zero value otherwise. ### GetEventsOk -`func (o *RepositoryWebhook) GetEventsOk() (*[]string, bool)` +`func (o *RepositoryWebhookResponse) GetEventsOk() (*[]string, bool)` GetEventsOk returns a tuple with the Events field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetEvents -`func (o *RepositoryWebhook) SetEvents(v []string)` +`func (o *RepositoryWebhookResponse) SetEvents(v []string)` SetEvents sets Events field to given value. +### SetEventsNil + +`func (o *RepositoryWebhookResponse) SetEventsNil(b bool)` + + SetEventsNil sets the value for Events to be an explicit nil + +### UnsetEvents +`func (o *RepositoryWebhookResponse) UnsetEvents()` + +UnsetEvents ensures that no value is present for Events, not even an explicit nil ### GetIdentifier -`func (o *RepositoryWebhook) GetIdentifier() int64` +`func (o *RepositoryWebhookResponse) GetIdentifier() int64` GetIdentifier returns the Identifier field if non-nil, zero value otherwise. ### GetIdentifierOk -`func (o *RepositoryWebhook) GetIdentifierOk() (*int64, bool)` +`func (o *RepositoryWebhookResponse) GetIdentifierOk() (*int64, bool)` GetIdentifierOk returns a tuple with the Identifier field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetIdentifier -`func (o *RepositoryWebhook) SetIdentifier(v int64)` +`func (o *RepositoryWebhookResponse) SetIdentifier(v int64)` SetIdentifier sets Identifier field to given value. ### HasIdentifier -`func (o *RepositoryWebhook) HasIdentifier() bool` +`func (o *RepositoryWebhookResponse) HasIdentifier() bool` HasIdentifier returns a boolean if a field has been set. ### GetIsActive -`func (o *RepositoryWebhook) GetIsActive() bool` +`func (o *RepositoryWebhookResponse) GetIsActive() bool` GetIsActive returns the IsActive field if non-nil, zero value otherwise. ### GetIsActiveOk -`func (o *RepositoryWebhook) GetIsActiveOk() (*bool, bool)` +`func (o *RepositoryWebhookResponse) GetIsActiveOk() (*bool, bool)` GetIsActiveOk returns a tuple with the IsActive field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetIsActive -`func (o *RepositoryWebhook) SetIsActive(v bool)` +`func (o *RepositoryWebhookResponse) SetIsActive(v bool)` SetIsActive sets IsActive field to given value. ### HasIsActive -`func (o *RepositoryWebhook) HasIsActive() bool` +`func (o *RepositoryWebhookResponse) HasIsActive() bool` HasIsActive returns a boolean if a field has been set. ### GetIsLastResponseBad -`func (o *RepositoryWebhook) GetIsLastResponseBad() bool` +`func (o *RepositoryWebhookResponse) GetIsLastResponseBad() bool` GetIsLastResponseBad returns the IsLastResponseBad field if non-nil, zero value otherwise. ### GetIsLastResponseBadOk -`func (o *RepositoryWebhook) GetIsLastResponseBadOk() (*bool, bool)` +`func (o *RepositoryWebhookResponse) GetIsLastResponseBadOk() (*bool, bool)` GetIsLastResponseBadOk returns a tuple with the IsLastResponseBad field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetIsLastResponseBad -`func (o *RepositoryWebhook) SetIsLastResponseBad(v bool)` +`func (o *RepositoryWebhookResponse) SetIsLastResponseBad(v bool)` SetIsLastResponseBad sets IsLastResponseBad field to given value. ### HasIsLastResponseBad -`func (o *RepositoryWebhook) HasIsLastResponseBad() bool` +`func (o *RepositoryWebhookResponse) HasIsLastResponseBad() bool` HasIsLastResponseBad returns a boolean if a field has been set. ### GetLastResponseStatus -`func (o *RepositoryWebhook) GetLastResponseStatus() int64` +`func (o *RepositoryWebhookResponse) GetLastResponseStatus() int64` GetLastResponseStatus returns the LastResponseStatus field if non-nil, zero value otherwise. ### GetLastResponseStatusOk -`func (o *RepositoryWebhook) GetLastResponseStatusOk() (*int64, bool)` +`func (o *RepositoryWebhookResponse) GetLastResponseStatusOk() (*int64, bool)` GetLastResponseStatusOk returns a tuple with the LastResponseStatus field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetLastResponseStatus -`func (o *RepositoryWebhook) SetLastResponseStatus(v int64)` +`func (o *RepositoryWebhookResponse) SetLastResponseStatus(v int64)` SetLastResponseStatus sets LastResponseStatus field to given value. ### HasLastResponseStatus -`func (o *RepositoryWebhook) HasLastResponseStatus() bool` +`func (o *RepositoryWebhookResponse) HasLastResponseStatus() bool` HasLastResponseStatus returns a boolean if a field has been set. ### GetLastResponseStatusStr -`func (o *RepositoryWebhook) GetLastResponseStatusStr() string` +`func (o *RepositoryWebhookResponse) GetLastResponseStatusStr() string` GetLastResponseStatusStr returns the LastResponseStatusStr field if non-nil, zero value otherwise. ### GetLastResponseStatusStrOk -`func (o *RepositoryWebhook) GetLastResponseStatusStrOk() (*string, bool)` +`func (o *RepositoryWebhookResponse) GetLastResponseStatusStrOk() (*string, bool)` GetLastResponseStatusStrOk returns a tuple with the LastResponseStatusStr field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetLastResponseStatusStr -`func (o *RepositoryWebhook) SetLastResponseStatusStr(v string)` +`func (o *RepositoryWebhookResponse) SetLastResponseStatusStr(v string)` SetLastResponseStatusStr sets LastResponseStatusStr field to given value. ### HasLastResponseStatusStr -`func (o *RepositoryWebhook) HasLastResponseStatusStr() bool` +`func (o *RepositoryWebhookResponse) HasLastResponseStatusStr() bool` HasLastResponseStatusStr returns a boolean if a field has been set. ### GetNumSent -`func (o *RepositoryWebhook) GetNumSent() int64` +`func (o *RepositoryWebhookResponse) GetNumSent() int64` GetNumSent returns the NumSent field if non-nil, zero value otherwise. ### GetNumSentOk -`func (o *RepositoryWebhook) GetNumSentOk() (*int64, bool)` +`func (o *RepositoryWebhookResponse) GetNumSentOk() (*int64, bool)` GetNumSentOk returns a tuple with the NumSent field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetNumSent -`func (o *RepositoryWebhook) SetNumSent(v int64)` +`func (o *RepositoryWebhookResponse) SetNumSent(v int64)` SetNumSent sets NumSent field to given value. ### HasNumSent -`func (o *RepositoryWebhook) HasNumSent() bool` +`func (o *RepositoryWebhookResponse) HasNumSent() bool` HasNumSent returns a boolean if a field has been set. ### GetPackageQuery -`func (o *RepositoryWebhook) GetPackageQuery() string` +`func (o *RepositoryWebhookResponse) GetPackageQuery() string` GetPackageQuery returns the PackageQuery field if non-nil, zero value otherwise. ### GetPackageQueryOk -`func (o *RepositoryWebhook) GetPackageQueryOk() (*string, bool)` +`func (o *RepositoryWebhookResponse) GetPackageQueryOk() (*string, bool)` GetPackageQueryOk returns a tuple with the PackageQuery field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetPackageQuery -`func (o *RepositoryWebhook) SetPackageQuery(v string)` +`func (o *RepositoryWebhookResponse) SetPackageQuery(v string)` SetPackageQuery sets PackageQuery field to given value. ### HasPackageQuery -`func (o *RepositoryWebhook) HasPackageQuery() bool` +`func (o *RepositoryWebhookResponse) HasPackageQuery() bool` HasPackageQuery returns a boolean if a field has been set. +### SetPackageQueryNil + +`func (o *RepositoryWebhookResponse) SetPackageQueryNil(b bool)` + + SetPackageQueryNil sets the value for PackageQuery to be an explicit nil + +### UnsetPackageQuery +`func (o *RepositoryWebhookResponse) UnsetPackageQuery()` + +UnsetPackageQuery ensures that no value is present for PackageQuery, not even an explicit nil ### GetRequestBodyFormat -`func (o *RepositoryWebhook) GetRequestBodyFormat() int64` +`func (o *RepositoryWebhookResponse) GetRequestBodyFormat() int64` GetRequestBodyFormat returns the RequestBodyFormat field if non-nil, zero value otherwise. ### GetRequestBodyFormatOk -`func (o *RepositoryWebhook) GetRequestBodyFormatOk() (*int64, bool)` +`func (o *RepositoryWebhookResponse) GetRequestBodyFormatOk() (*int64, bool)` GetRequestBodyFormatOk returns a tuple with the RequestBodyFormat field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetRequestBodyFormat -`func (o *RepositoryWebhook) SetRequestBodyFormat(v int64)` +`func (o *RepositoryWebhookResponse) SetRequestBodyFormat(v int64)` SetRequestBodyFormat sets RequestBodyFormat field to given value. ### HasRequestBodyFormat -`func (o *RepositoryWebhook) HasRequestBodyFormat() bool` +`func (o *RepositoryWebhookResponse) HasRequestBodyFormat() bool` HasRequestBodyFormat returns a boolean if a field has been set. ### GetRequestBodyFormatStr -`func (o *RepositoryWebhook) GetRequestBodyFormatStr() string` +`func (o *RepositoryWebhookResponse) GetRequestBodyFormatStr() string` GetRequestBodyFormatStr returns the RequestBodyFormatStr field if non-nil, zero value otherwise. ### GetRequestBodyFormatStrOk -`func (o *RepositoryWebhook) GetRequestBodyFormatStrOk() (*string, bool)` +`func (o *RepositoryWebhookResponse) GetRequestBodyFormatStrOk() (*string, bool)` GetRequestBodyFormatStrOk returns a tuple with the RequestBodyFormatStr field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetRequestBodyFormatStr -`func (o *RepositoryWebhook) SetRequestBodyFormatStr(v string)` +`func (o *RepositoryWebhookResponse) SetRequestBodyFormatStr(v string)` SetRequestBodyFormatStr sets RequestBodyFormatStr field to given value. ### HasRequestBodyFormatStr -`func (o *RepositoryWebhook) HasRequestBodyFormatStr() bool` +`func (o *RepositoryWebhookResponse) HasRequestBodyFormatStr() bool` HasRequestBodyFormatStr returns a boolean if a field has been set. ### GetRequestBodyTemplateFormat -`func (o *RepositoryWebhook) GetRequestBodyTemplateFormat() int64` +`func (o *RepositoryWebhookResponse) GetRequestBodyTemplateFormat() int64` GetRequestBodyTemplateFormat returns the RequestBodyTemplateFormat field if non-nil, zero value otherwise. ### GetRequestBodyTemplateFormatOk -`func (o *RepositoryWebhook) GetRequestBodyTemplateFormatOk() (*int64, bool)` +`func (o *RepositoryWebhookResponse) GetRequestBodyTemplateFormatOk() (*int64, bool)` GetRequestBodyTemplateFormatOk returns a tuple with the RequestBodyTemplateFormat field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetRequestBodyTemplateFormat -`func (o *RepositoryWebhook) SetRequestBodyTemplateFormat(v int64)` +`func (o *RepositoryWebhookResponse) SetRequestBodyTemplateFormat(v int64)` SetRequestBodyTemplateFormat sets RequestBodyTemplateFormat field to given value. ### HasRequestBodyTemplateFormat -`func (o *RepositoryWebhook) HasRequestBodyTemplateFormat() bool` +`func (o *RepositoryWebhookResponse) HasRequestBodyTemplateFormat() bool` HasRequestBodyTemplateFormat returns a boolean if a field has been set. ### GetRequestBodyTemplateFormatStr -`func (o *RepositoryWebhook) GetRequestBodyTemplateFormatStr() string` +`func (o *RepositoryWebhookResponse) GetRequestBodyTemplateFormatStr() string` GetRequestBodyTemplateFormatStr returns the RequestBodyTemplateFormatStr field if non-nil, zero value otherwise. ### GetRequestBodyTemplateFormatStrOk -`func (o *RepositoryWebhook) GetRequestBodyTemplateFormatStrOk() (*string, bool)` +`func (o *RepositoryWebhookResponse) GetRequestBodyTemplateFormatStrOk() (*string, bool)` GetRequestBodyTemplateFormatStrOk returns a tuple with the RequestBodyTemplateFormatStr field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetRequestBodyTemplateFormatStr -`func (o *RepositoryWebhook) SetRequestBodyTemplateFormatStr(v string)` +`func (o *RepositoryWebhookResponse) SetRequestBodyTemplateFormatStr(v string)` SetRequestBodyTemplateFormatStr sets RequestBodyTemplateFormatStr field to given value. ### HasRequestBodyTemplateFormatStr -`func (o *RepositoryWebhook) HasRequestBodyTemplateFormatStr() bool` +`func (o *RepositoryWebhookResponse) HasRequestBodyTemplateFormatStr() bool` HasRequestBodyTemplateFormatStr returns a boolean if a field has been set. ### GetRequestContentType -`func (o *RepositoryWebhook) GetRequestContentType() string` +`func (o *RepositoryWebhookResponse) GetRequestContentType() string` GetRequestContentType returns the RequestContentType field if non-nil, zero value otherwise. ### GetRequestContentTypeOk -`func (o *RepositoryWebhook) GetRequestContentTypeOk() (*string, bool)` +`func (o *RepositoryWebhookResponse) GetRequestContentTypeOk() (*string, bool)` GetRequestContentTypeOk returns a tuple with the RequestContentType field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetRequestContentType -`func (o *RepositoryWebhook) SetRequestContentType(v string)` +`func (o *RepositoryWebhookResponse) SetRequestContentType(v string)` SetRequestContentType sets RequestContentType field to given value. ### HasRequestContentType -`func (o *RepositoryWebhook) HasRequestContentType() bool` +`func (o *RepositoryWebhookResponse) HasRequestContentType() bool` HasRequestContentType returns a boolean if a field has been set. +### SetRequestContentTypeNil + +`func (o *RepositoryWebhookResponse) SetRequestContentTypeNil(b bool)` + + SetRequestContentTypeNil sets the value for RequestContentType to be an explicit nil + +### UnsetRequestContentType +`func (o *RepositoryWebhookResponse) UnsetRequestContentType()` + +UnsetRequestContentType ensures that no value is present for RequestContentType, not even an explicit nil ### GetSecretHeader -`func (o *RepositoryWebhook) GetSecretHeader() string` +`func (o *RepositoryWebhookResponse) GetSecretHeader() string` GetSecretHeader returns the SecretHeader field if non-nil, zero value otherwise. ### GetSecretHeaderOk -`func (o *RepositoryWebhook) GetSecretHeaderOk() (*string, bool)` +`func (o *RepositoryWebhookResponse) GetSecretHeaderOk() (*string, bool)` GetSecretHeaderOk returns a tuple with the SecretHeader field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetSecretHeader -`func (o *RepositoryWebhook) SetSecretHeader(v string)` +`func (o *RepositoryWebhookResponse) SetSecretHeader(v string)` SetSecretHeader sets SecretHeader field to given value. ### HasSecretHeader -`func (o *RepositoryWebhook) HasSecretHeader() bool` +`func (o *RepositoryWebhookResponse) HasSecretHeader() bool` HasSecretHeader returns a boolean if a field has been set. +### SetSecretHeaderNil + +`func (o *RepositoryWebhookResponse) SetSecretHeaderNil(b bool)` + + SetSecretHeaderNil sets the value for SecretHeader to be an explicit nil + +### UnsetSecretHeader +`func (o *RepositoryWebhookResponse) UnsetSecretHeader()` + +UnsetSecretHeader ensures that no value is present for SecretHeader, not even an explicit nil ### GetSelfUrl -`func (o *RepositoryWebhook) GetSelfUrl() string` +`func (o *RepositoryWebhookResponse) GetSelfUrl() string` GetSelfUrl returns the SelfUrl field if non-nil, zero value otherwise. ### GetSelfUrlOk -`func (o *RepositoryWebhook) GetSelfUrlOk() (*string, bool)` +`func (o *RepositoryWebhookResponse) GetSelfUrlOk() (*string, bool)` GetSelfUrlOk returns a tuple with the SelfUrl field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetSelfUrl -`func (o *RepositoryWebhook) SetSelfUrl(v string)` +`func (o *RepositoryWebhookResponse) SetSelfUrl(v string)` SetSelfUrl sets SelfUrl field to given value. ### HasSelfUrl -`func (o *RepositoryWebhook) HasSelfUrl() bool` +`func (o *RepositoryWebhookResponse) HasSelfUrl() bool` HasSelfUrl returns a boolean if a field has been set. ### GetSlugPerm -`func (o *RepositoryWebhook) GetSlugPerm() string` +`func (o *RepositoryWebhookResponse) GetSlugPerm() string` GetSlugPerm returns the SlugPerm field if non-nil, zero value otherwise. ### GetSlugPermOk -`func (o *RepositoryWebhook) GetSlugPermOk() (*string, bool)` +`func (o *RepositoryWebhookResponse) GetSlugPermOk() (*string, bool)` GetSlugPermOk returns a tuple with the SlugPerm field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetSlugPerm -`func (o *RepositoryWebhook) SetSlugPerm(v string)` +`func (o *RepositoryWebhookResponse) SetSlugPerm(v string)` SetSlugPerm sets SlugPerm field to given value. ### HasSlugPerm -`func (o *RepositoryWebhook) HasSlugPerm() bool` +`func (o *RepositoryWebhookResponse) HasSlugPerm() bool` HasSlugPerm returns a boolean if a field has been set. ### GetTargetUrl -`func (o *RepositoryWebhook) GetTargetUrl() string` +`func (o *RepositoryWebhookResponse) GetTargetUrl() string` GetTargetUrl returns the TargetUrl field if non-nil, zero value otherwise. ### GetTargetUrlOk -`func (o *RepositoryWebhook) GetTargetUrlOk() (*string, bool)` +`func (o *RepositoryWebhookResponse) GetTargetUrlOk() (*string, bool)` GetTargetUrlOk returns a tuple with the TargetUrl field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetTargetUrl -`func (o *RepositoryWebhook) SetTargetUrl(v string)` +`func (o *RepositoryWebhookResponse) SetTargetUrl(v string)` SetTargetUrl sets TargetUrl field to given value. ### GetTemplates -`func (o *RepositoryWebhook) GetTemplates() []WebhooksOwnerRepoTemplates` +`func (o *RepositoryWebhookResponse) GetTemplates() []WebhookTemplate` GetTemplates returns the Templates field if non-nil, zero value otherwise. ### GetTemplatesOk -`func (o *RepositoryWebhook) GetTemplatesOk() (*[]WebhooksOwnerRepoTemplates, bool)` +`func (o *RepositoryWebhookResponse) GetTemplatesOk() (*[]WebhookTemplate, bool)` GetTemplatesOk returns a tuple with the Templates field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetTemplates -`func (o *RepositoryWebhook) SetTemplates(v []WebhooksOwnerRepoTemplates)` +`func (o *RepositoryWebhookResponse) SetTemplates(v []WebhookTemplate)` SetTemplates sets Templates field to given value. +### SetTemplatesNil + +`func (o *RepositoryWebhookResponse) SetTemplatesNil(b bool)` + + SetTemplatesNil sets the value for Templates to be an explicit nil + +### UnsetTemplates +`func (o *RepositoryWebhookResponse) UnsetTemplates()` + +UnsetTemplates ensures that no value is present for Templates, not even an explicit nil ### GetUpdatedAt -`func (o *RepositoryWebhook) GetUpdatedAt() string` +`func (o *RepositoryWebhookResponse) GetUpdatedAt() time.Time` GetUpdatedAt returns the UpdatedAt field if non-nil, zero value otherwise. ### GetUpdatedAtOk -`func (o *RepositoryWebhook) GetUpdatedAtOk() (*string, bool)` +`func (o *RepositoryWebhookResponse) GetUpdatedAtOk() (*time.Time, bool)` GetUpdatedAtOk returns a tuple with the UpdatedAt field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetUpdatedAt -`func (o *RepositoryWebhook) SetUpdatedAt(v string)` +`func (o *RepositoryWebhookResponse) SetUpdatedAt(v time.Time)` SetUpdatedAt sets UpdatedAt field to given value. ### HasUpdatedAt -`func (o *RepositoryWebhook) HasUpdatedAt() bool` +`func (o *RepositoryWebhookResponse) HasUpdatedAt() bool` HasUpdatedAt returns a boolean if a field has been set. ### GetUpdatedBy -`func (o *RepositoryWebhook) GetUpdatedBy() string` +`func (o *RepositoryWebhookResponse) GetUpdatedBy() string` GetUpdatedBy returns the UpdatedBy field if non-nil, zero value otherwise. ### GetUpdatedByOk -`func (o *RepositoryWebhook) GetUpdatedByOk() (*string, bool)` +`func (o *RepositoryWebhookResponse) GetUpdatedByOk() (*string, bool)` GetUpdatedByOk returns a tuple with the UpdatedBy field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetUpdatedBy -`func (o *RepositoryWebhook) SetUpdatedBy(v string)` +`func (o *RepositoryWebhookResponse) SetUpdatedBy(v string)` SetUpdatedBy sets UpdatedBy field to given value. ### HasUpdatedBy -`func (o *RepositoryWebhook) HasUpdatedBy() bool` +`func (o *RepositoryWebhookResponse) HasUpdatedBy() bool` HasUpdatedBy returns a boolean if a field has been set. ### GetUpdatedByUrl -`func (o *RepositoryWebhook) GetUpdatedByUrl() string` +`func (o *RepositoryWebhookResponse) GetUpdatedByUrl() string` GetUpdatedByUrl returns the UpdatedByUrl field if non-nil, zero value otherwise. ### GetUpdatedByUrlOk -`func (o *RepositoryWebhook) GetUpdatedByUrlOk() (*string, bool)` +`func (o *RepositoryWebhookResponse) GetUpdatedByUrlOk() (*string, bool)` GetUpdatedByUrlOk returns a tuple with the UpdatedByUrl field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetUpdatedByUrl -`func (o *RepositoryWebhook) SetUpdatedByUrl(v string)` +`func (o *RepositoryWebhookResponse) SetUpdatedByUrl(v string)` SetUpdatedByUrl sets UpdatedByUrl field to given value. ### HasUpdatedByUrl -`func (o *RepositoryWebhook) HasUpdatedByUrl() bool` +`func (o *RepositoryWebhookResponse) HasUpdatedByUrl() bool` HasUpdatedByUrl returns a boolean if a field has been set. ### GetVerifySsl -`func (o *RepositoryWebhook) GetVerifySsl() bool` +`func (o *RepositoryWebhookResponse) GetVerifySsl() bool` GetVerifySsl returns the VerifySsl field if non-nil, zero value otherwise. ### GetVerifySslOk -`func (o *RepositoryWebhook) GetVerifySslOk() (*bool, bool)` +`func (o *RepositoryWebhookResponse) GetVerifySslOk() (*bool, bool)` GetVerifySslOk returns a tuple with the VerifySsl field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetVerifySsl -`func (o *RepositoryWebhook) SetVerifySsl(v bool)` +`func (o *RepositoryWebhookResponse) SetVerifySsl(v bool)` SetVerifySsl sets VerifySsl field to given value. ### HasVerifySsl -`func (o *RepositoryWebhook) HasVerifySsl() bool` +`func (o *RepositoryWebhookResponse) HasVerifySsl() bool` HasVerifySsl returns a boolean if a field has been set. diff --git a/docs/ResourcesRateCheck.md b/docs/ResourcesRateCheckResponse.md similarity index 55% rename from docs/ResourcesRateCheck.md rename to docs/ResourcesRateCheckResponse.md index 88b67010..7d19552d 100644 --- a/docs/ResourcesRateCheck.md +++ b/docs/ResourcesRateCheckResponse.md @@ -1,52 +1,52 @@ -# ResourcesRateCheck +# ResourcesRateCheckResponse ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**Resources** | Pointer to **map[string]interface{}** | Rate limit values per resource | [optional] +**Resources** | Pointer to [**map[string]RateCheck**](RateCheck.md) | Rate limit values per resource | [optional] [readonly] ## Methods -### NewResourcesRateCheck +### NewResourcesRateCheckResponse -`func NewResourcesRateCheck() *ResourcesRateCheck` +`func NewResourcesRateCheckResponse() *ResourcesRateCheckResponse` -NewResourcesRateCheck instantiates a new ResourcesRateCheck object +NewResourcesRateCheckResponse instantiates a new ResourcesRateCheckResponse object 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 -### NewResourcesRateCheckWithDefaults +### NewResourcesRateCheckResponseWithDefaults -`func NewResourcesRateCheckWithDefaults() *ResourcesRateCheck` +`func NewResourcesRateCheckResponseWithDefaults() *ResourcesRateCheckResponse` -NewResourcesRateCheckWithDefaults instantiates a new ResourcesRateCheck object +NewResourcesRateCheckResponseWithDefaults instantiates a new ResourcesRateCheckResponse object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set ### GetResources -`func (o *ResourcesRateCheck) GetResources() map[string]interface{}` +`func (o *ResourcesRateCheckResponse) GetResources() map[string]RateCheck` GetResources returns the Resources field if non-nil, zero value otherwise. ### GetResourcesOk -`func (o *ResourcesRateCheck) GetResourcesOk() (*map[string]interface{}, bool)` +`func (o *ResourcesRateCheckResponse) GetResourcesOk() (*map[string]RateCheck, bool)` GetResourcesOk returns a tuple with the Resources field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetResources -`func (o *ResourcesRateCheck) SetResources(v map[string]interface{})` +`func (o *ResourcesRateCheckResponse) SetResources(v map[string]RateCheck)` SetResources sets Resources field to given value. ### HasResources -`func (o *ResourcesRateCheck) HasResources() bool` +`func (o *ResourcesRateCheckResponse) HasResources() bool` HasResources returns a boolean if a field has been set. diff --git a/docs/RpmPackageUpload.md b/docs/RpmPackageUpload.md deleted file mode 100644 index e4b5ee2b..00000000 --- a/docs/RpmPackageUpload.md +++ /dev/null @@ -1,1746 +0,0 @@ -# RpmPackageUpload - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**Architectures** | Pointer to [**[]PackagesOwnerRepoArchitectures**](PackagesOwnerRepoArchitectures.md) | | [optional] -**CdnUrl** | Pointer to **string** | | [optional] -**ChecksumMd5** | Pointer to **string** | | [optional] -**ChecksumSha1** | Pointer to **string** | | [optional] -**ChecksumSha256** | Pointer to **string** | | [optional] -**ChecksumSha512** | Pointer to **string** | | [optional] -**DependenciesChecksumMd5** | Pointer to **string** | A checksum of all of the package's dependencies. | [optional] -**DependenciesUrl** | Pointer to **string** | | [optional] -**Description** | Pointer to **string** | A textual description of this package. | [optional] -**Distro** | Pointer to **map[string]interface{}** | | [optional] -**DistroVersion** | Pointer to **map[string]interface{}** | | [optional] -**Downloads** | Pointer to **int64** | | [optional] -**Epoch** | Pointer to **int64** | The epoch of the package version (if any). | [optional] -**Extension** | Pointer to **string** | | [optional] -**Filename** | Pointer to **string** | | [optional] -**Files** | Pointer to [**[]PackagesOwnerRepoFiles**](PackagesOwnerRepoFiles.md) | | [optional] -**Format** | Pointer to **string** | | [optional] -**FormatUrl** | Pointer to **string** | | [optional] -**IdentifierPerm** | Pointer to **string** | Unique and permanent identifier for the package. | [optional] -**Indexed** | Pointer to **bool** | | [optional] -**IsDownloadable** | Pointer to **bool** | | [optional] -**IsQuarantined** | Pointer to **bool** | | [optional] -**IsSyncAwaiting** | Pointer to **bool** | | [optional] -**IsSyncCompleted** | Pointer to **bool** | | [optional] -**IsSyncFailed** | Pointer to **bool** | | [optional] -**IsSyncInFlight** | Pointer to **bool** | | [optional] -**IsSyncInProgress** | Pointer to **bool** | | [optional] -**License** | Pointer to **string** | The license of this package. | [optional] -**Name** | Pointer to **string** | The name of this package. | [optional] -**Namespace** | Pointer to **string** | | [optional] -**NamespaceUrl** | Pointer to **string** | | [optional] -**NumFiles** | Pointer to **int64** | | [optional] -**PackageType** | Pointer to **int64** | The type of package contents. | [optional] -**Release** | Pointer to **string** | The release of the package version (if any). | [optional] -**Repository** | Pointer to **string** | | [optional] -**RepositoryUrl** | Pointer to **string** | | [optional] -**SecurityScanCompletedAt** | Pointer to **string** | The datetime the security scanning was completed. | [optional] -**SecurityScanStartedAt** | Pointer to **string** | The datetime the security scanning was started. | [optional] -**SecurityScanStatus** | Pointer to **string** | | [optional] -**SecurityScanStatusUpdatedAt** | Pointer to **string** | The datetime the security scanning status was updated. | [optional] -**SelfHtmlUrl** | Pointer to **string** | | [optional] -**SelfUrl** | Pointer to **string** | | [optional] -**SignatureUrl** | Pointer to **string** | | [optional] -**Size** | Pointer to **int64** | The calculated size of the package. | [optional] -**Slug** | Pointer to **string** | The public unique identifier for the package. | [optional] -**SlugPerm** | Pointer to **string** | | [optional] -**Stage** | Pointer to **int64** | The synchronisation (in progress) stage of the package. | [optional] -**StageStr** | Pointer to **string** | | [optional] -**StageUpdatedAt** | Pointer to **string** | The datetime the package stage was updated at. | [optional] -**Status** | Pointer to **int64** | The synchronisation status of the package. | [optional] -**StatusReason** | Pointer to **string** | A textual description for the synchronous status reason (if any | [optional] -**StatusStr** | Pointer to **string** | | [optional] -**StatusUpdatedAt** | Pointer to **string** | The datetime the package status was updated at. | [optional] -**StatusUrl** | Pointer to **string** | | [optional] -**Subtype** | Pointer to **string** | | [optional] -**Summary** | Pointer to **string** | A one-liner synopsis of this package. | [optional] -**SyncFinishedAt** | Pointer to **string** | The datetime the package sync was finished at. | [optional] -**SyncProgress** | Pointer to **int64** | Synchronisation progress (from 0-100) | [optional] -**TagsImmutable** | Pointer to **map[string]interface{}** | All immutable tags on the package, grouped by tag type. Immutable tags cannot be (easily) deleted. | [optional] -**TypeDisplay** | Pointer to **string** | | [optional] -**UploadedAt** | Pointer to **string** | The date this package was uploaded. | [optional] -**Uploader** | Pointer to **string** | | [optional] -**UploaderUrl** | Pointer to **string** | | [optional] -**Version** | Pointer to **string** | The raw version for this package. | [optional] -**VersionOrig** | Pointer to **string** | | [optional] -**VulnerabilityScanResultsUrl** | Pointer to **string** | | [optional] - -## Methods - -### NewRpmPackageUpload - -`func NewRpmPackageUpload() *RpmPackageUpload` - -NewRpmPackageUpload instantiates a new RpmPackageUpload object -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 - -### NewRpmPackageUploadWithDefaults - -`func NewRpmPackageUploadWithDefaults() *RpmPackageUpload` - -NewRpmPackageUploadWithDefaults instantiates a new RpmPackageUpload object -This constructor will only assign default values to properties that have it defined, -but it doesn't guarantee that properties required by API are set - -### GetArchitectures - -`func (o *RpmPackageUpload) GetArchitectures() []PackagesOwnerRepoArchitectures` - -GetArchitectures returns the Architectures field if non-nil, zero value otherwise. - -### GetArchitecturesOk - -`func (o *RpmPackageUpload) GetArchitecturesOk() (*[]PackagesOwnerRepoArchitectures, bool)` - -GetArchitecturesOk returns a tuple with the Architectures field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetArchitectures - -`func (o *RpmPackageUpload) SetArchitectures(v []PackagesOwnerRepoArchitectures)` - -SetArchitectures sets Architectures field to given value. - -### HasArchitectures - -`func (o *RpmPackageUpload) HasArchitectures() bool` - -HasArchitectures returns a boolean if a field has been set. - -### GetCdnUrl - -`func (o *RpmPackageUpload) GetCdnUrl() string` - -GetCdnUrl returns the CdnUrl field if non-nil, zero value otherwise. - -### GetCdnUrlOk - -`func (o *RpmPackageUpload) GetCdnUrlOk() (*string, bool)` - -GetCdnUrlOk returns a tuple with the CdnUrl field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetCdnUrl - -`func (o *RpmPackageUpload) SetCdnUrl(v string)` - -SetCdnUrl sets CdnUrl field to given value. - -### HasCdnUrl - -`func (o *RpmPackageUpload) HasCdnUrl() bool` - -HasCdnUrl returns a boolean if a field has been set. - -### GetChecksumMd5 - -`func (o *RpmPackageUpload) GetChecksumMd5() string` - -GetChecksumMd5 returns the ChecksumMd5 field if non-nil, zero value otherwise. - -### GetChecksumMd5Ok - -`func (o *RpmPackageUpload) GetChecksumMd5Ok() (*string, bool)` - -GetChecksumMd5Ok returns a tuple with the ChecksumMd5 field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetChecksumMd5 - -`func (o *RpmPackageUpload) SetChecksumMd5(v string)` - -SetChecksumMd5 sets ChecksumMd5 field to given value. - -### HasChecksumMd5 - -`func (o *RpmPackageUpload) HasChecksumMd5() bool` - -HasChecksumMd5 returns a boolean if a field has been set. - -### GetChecksumSha1 - -`func (o *RpmPackageUpload) GetChecksumSha1() string` - -GetChecksumSha1 returns the ChecksumSha1 field if non-nil, zero value otherwise. - -### GetChecksumSha1Ok - -`func (o *RpmPackageUpload) GetChecksumSha1Ok() (*string, bool)` - -GetChecksumSha1Ok returns a tuple with the ChecksumSha1 field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetChecksumSha1 - -`func (o *RpmPackageUpload) SetChecksumSha1(v string)` - -SetChecksumSha1 sets ChecksumSha1 field to given value. - -### HasChecksumSha1 - -`func (o *RpmPackageUpload) HasChecksumSha1() bool` - -HasChecksumSha1 returns a boolean if a field has been set. - -### GetChecksumSha256 - -`func (o *RpmPackageUpload) GetChecksumSha256() string` - -GetChecksumSha256 returns the ChecksumSha256 field if non-nil, zero value otherwise. - -### GetChecksumSha256Ok - -`func (o *RpmPackageUpload) GetChecksumSha256Ok() (*string, bool)` - -GetChecksumSha256Ok returns a tuple with the ChecksumSha256 field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetChecksumSha256 - -`func (o *RpmPackageUpload) SetChecksumSha256(v string)` - -SetChecksumSha256 sets ChecksumSha256 field to given value. - -### HasChecksumSha256 - -`func (o *RpmPackageUpload) HasChecksumSha256() bool` - -HasChecksumSha256 returns a boolean if a field has been set. - -### GetChecksumSha512 - -`func (o *RpmPackageUpload) GetChecksumSha512() string` - -GetChecksumSha512 returns the ChecksumSha512 field if non-nil, zero value otherwise. - -### GetChecksumSha512Ok - -`func (o *RpmPackageUpload) GetChecksumSha512Ok() (*string, bool)` - -GetChecksumSha512Ok returns a tuple with the ChecksumSha512 field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetChecksumSha512 - -`func (o *RpmPackageUpload) SetChecksumSha512(v string)` - -SetChecksumSha512 sets ChecksumSha512 field to given value. - -### HasChecksumSha512 - -`func (o *RpmPackageUpload) HasChecksumSha512() bool` - -HasChecksumSha512 returns a boolean if a field has been set. - -### GetDependenciesChecksumMd5 - -`func (o *RpmPackageUpload) GetDependenciesChecksumMd5() string` - -GetDependenciesChecksumMd5 returns the DependenciesChecksumMd5 field if non-nil, zero value otherwise. - -### GetDependenciesChecksumMd5Ok - -`func (o *RpmPackageUpload) GetDependenciesChecksumMd5Ok() (*string, bool)` - -GetDependenciesChecksumMd5Ok returns a tuple with the DependenciesChecksumMd5 field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetDependenciesChecksumMd5 - -`func (o *RpmPackageUpload) SetDependenciesChecksumMd5(v string)` - -SetDependenciesChecksumMd5 sets DependenciesChecksumMd5 field to given value. - -### HasDependenciesChecksumMd5 - -`func (o *RpmPackageUpload) HasDependenciesChecksumMd5() bool` - -HasDependenciesChecksumMd5 returns a boolean if a field has been set. - -### GetDependenciesUrl - -`func (o *RpmPackageUpload) GetDependenciesUrl() string` - -GetDependenciesUrl returns the DependenciesUrl field if non-nil, zero value otherwise. - -### GetDependenciesUrlOk - -`func (o *RpmPackageUpload) GetDependenciesUrlOk() (*string, bool)` - -GetDependenciesUrlOk returns a tuple with the DependenciesUrl field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetDependenciesUrl - -`func (o *RpmPackageUpload) SetDependenciesUrl(v string)` - -SetDependenciesUrl sets DependenciesUrl field to given value. - -### HasDependenciesUrl - -`func (o *RpmPackageUpload) HasDependenciesUrl() bool` - -HasDependenciesUrl returns a boolean if a field has been set. - -### GetDescription - -`func (o *RpmPackageUpload) GetDescription() string` - -GetDescription returns the Description field if non-nil, zero value otherwise. - -### GetDescriptionOk - -`func (o *RpmPackageUpload) GetDescriptionOk() (*string, bool)` - -GetDescriptionOk returns a tuple with the Description field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetDescription - -`func (o *RpmPackageUpload) SetDescription(v string)` - -SetDescription sets Description field to given value. - -### HasDescription - -`func (o *RpmPackageUpload) HasDescription() bool` - -HasDescription returns a boolean if a field has been set. - -### GetDistro - -`func (o *RpmPackageUpload) GetDistro() map[string]interface{}` - -GetDistro returns the Distro field if non-nil, zero value otherwise. - -### GetDistroOk - -`func (o *RpmPackageUpload) GetDistroOk() (*map[string]interface{}, bool)` - -GetDistroOk returns a tuple with the Distro field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetDistro - -`func (o *RpmPackageUpload) SetDistro(v map[string]interface{})` - -SetDistro sets Distro field to given value. - -### HasDistro - -`func (o *RpmPackageUpload) HasDistro() bool` - -HasDistro returns a boolean if a field has been set. - -### GetDistroVersion - -`func (o *RpmPackageUpload) GetDistroVersion() map[string]interface{}` - -GetDistroVersion returns the DistroVersion field if non-nil, zero value otherwise. - -### GetDistroVersionOk - -`func (o *RpmPackageUpload) GetDistroVersionOk() (*map[string]interface{}, bool)` - -GetDistroVersionOk returns a tuple with the DistroVersion field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetDistroVersion - -`func (o *RpmPackageUpload) SetDistroVersion(v map[string]interface{})` - -SetDistroVersion sets DistroVersion field to given value. - -### HasDistroVersion - -`func (o *RpmPackageUpload) HasDistroVersion() bool` - -HasDistroVersion returns a boolean if a field has been set. - -### GetDownloads - -`func (o *RpmPackageUpload) GetDownloads() int64` - -GetDownloads returns the Downloads field if non-nil, zero value otherwise. - -### GetDownloadsOk - -`func (o *RpmPackageUpload) GetDownloadsOk() (*int64, bool)` - -GetDownloadsOk returns a tuple with the Downloads field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetDownloads - -`func (o *RpmPackageUpload) SetDownloads(v int64)` - -SetDownloads sets Downloads field to given value. - -### HasDownloads - -`func (o *RpmPackageUpload) HasDownloads() bool` - -HasDownloads returns a boolean if a field has been set. - -### GetEpoch - -`func (o *RpmPackageUpload) GetEpoch() int64` - -GetEpoch returns the Epoch field if non-nil, zero value otherwise. - -### GetEpochOk - -`func (o *RpmPackageUpload) GetEpochOk() (*int64, bool)` - -GetEpochOk returns a tuple with the Epoch field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetEpoch - -`func (o *RpmPackageUpload) SetEpoch(v int64)` - -SetEpoch sets Epoch field to given value. - -### HasEpoch - -`func (o *RpmPackageUpload) HasEpoch() bool` - -HasEpoch returns a boolean if a field has been set. - -### GetExtension - -`func (o *RpmPackageUpload) GetExtension() string` - -GetExtension returns the Extension field if non-nil, zero value otherwise. - -### GetExtensionOk - -`func (o *RpmPackageUpload) GetExtensionOk() (*string, bool)` - -GetExtensionOk returns a tuple with the Extension field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetExtension - -`func (o *RpmPackageUpload) SetExtension(v string)` - -SetExtension sets Extension field to given value. - -### HasExtension - -`func (o *RpmPackageUpload) HasExtension() bool` - -HasExtension returns a boolean if a field has been set. - -### GetFilename - -`func (o *RpmPackageUpload) GetFilename() string` - -GetFilename returns the Filename field if non-nil, zero value otherwise. - -### GetFilenameOk - -`func (o *RpmPackageUpload) GetFilenameOk() (*string, bool)` - -GetFilenameOk returns a tuple with the Filename field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetFilename - -`func (o *RpmPackageUpload) SetFilename(v string)` - -SetFilename sets Filename field to given value. - -### HasFilename - -`func (o *RpmPackageUpload) HasFilename() bool` - -HasFilename returns a boolean if a field has been set. - -### GetFiles - -`func (o *RpmPackageUpload) GetFiles() []PackagesOwnerRepoFiles` - -GetFiles returns the Files field if non-nil, zero value otherwise. - -### GetFilesOk - -`func (o *RpmPackageUpload) GetFilesOk() (*[]PackagesOwnerRepoFiles, 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 *RpmPackageUpload) SetFiles(v []PackagesOwnerRepoFiles)` - -SetFiles sets Files field to given value. - -### HasFiles - -`func (o *RpmPackageUpload) HasFiles() bool` - -HasFiles returns a boolean if a field has been set. - -### GetFormat - -`func (o *RpmPackageUpload) GetFormat() string` - -GetFormat returns the Format field if non-nil, zero value otherwise. - -### GetFormatOk - -`func (o *RpmPackageUpload) GetFormatOk() (*string, bool)` - -GetFormatOk returns a tuple with the Format field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetFormat - -`func (o *RpmPackageUpload) SetFormat(v string)` - -SetFormat sets Format field to given value. - -### HasFormat - -`func (o *RpmPackageUpload) HasFormat() bool` - -HasFormat returns a boolean if a field has been set. - -### GetFormatUrl - -`func (o *RpmPackageUpload) GetFormatUrl() string` - -GetFormatUrl returns the FormatUrl field if non-nil, zero value otherwise. - -### GetFormatUrlOk - -`func (o *RpmPackageUpload) GetFormatUrlOk() (*string, bool)` - -GetFormatUrlOk returns a tuple with the FormatUrl field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetFormatUrl - -`func (o *RpmPackageUpload) SetFormatUrl(v string)` - -SetFormatUrl sets FormatUrl field to given value. - -### HasFormatUrl - -`func (o *RpmPackageUpload) HasFormatUrl() bool` - -HasFormatUrl returns a boolean if a field has been set. - -### GetIdentifierPerm - -`func (o *RpmPackageUpload) GetIdentifierPerm() string` - -GetIdentifierPerm returns the IdentifierPerm field if non-nil, zero value otherwise. - -### GetIdentifierPermOk - -`func (o *RpmPackageUpload) GetIdentifierPermOk() (*string, bool)` - -GetIdentifierPermOk returns a tuple with the IdentifierPerm field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetIdentifierPerm - -`func (o *RpmPackageUpload) SetIdentifierPerm(v string)` - -SetIdentifierPerm sets IdentifierPerm field to given value. - -### HasIdentifierPerm - -`func (o *RpmPackageUpload) HasIdentifierPerm() bool` - -HasIdentifierPerm returns a boolean if a field has been set. - -### GetIndexed - -`func (o *RpmPackageUpload) GetIndexed() bool` - -GetIndexed returns the Indexed field if non-nil, zero value otherwise. - -### GetIndexedOk - -`func (o *RpmPackageUpload) GetIndexedOk() (*bool, bool)` - -GetIndexedOk returns a tuple with the Indexed field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetIndexed - -`func (o *RpmPackageUpload) SetIndexed(v bool)` - -SetIndexed sets Indexed field to given value. - -### HasIndexed - -`func (o *RpmPackageUpload) HasIndexed() bool` - -HasIndexed returns a boolean if a field has been set. - -### GetIsDownloadable - -`func (o *RpmPackageUpload) GetIsDownloadable() bool` - -GetIsDownloadable returns the IsDownloadable field if non-nil, zero value otherwise. - -### GetIsDownloadableOk - -`func (o *RpmPackageUpload) GetIsDownloadableOk() (*bool, bool)` - -GetIsDownloadableOk returns a tuple with the IsDownloadable field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetIsDownloadable - -`func (o *RpmPackageUpload) SetIsDownloadable(v bool)` - -SetIsDownloadable sets IsDownloadable field to given value. - -### HasIsDownloadable - -`func (o *RpmPackageUpload) HasIsDownloadable() bool` - -HasIsDownloadable returns a boolean if a field has been set. - -### GetIsQuarantined - -`func (o *RpmPackageUpload) GetIsQuarantined() bool` - -GetIsQuarantined returns the IsQuarantined field if non-nil, zero value otherwise. - -### GetIsQuarantinedOk - -`func (o *RpmPackageUpload) GetIsQuarantinedOk() (*bool, bool)` - -GetIsQuarantinedOk returns a tuple with the IsQuarantined field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetIsQuarantined - -`func (o *RpmPackageUpload) SetIsQuarantined(v bool)` - -SetIsQuarantined sets IsQuarantined field to given value. - -### HasIsQuarantined - -`func (o *RpmPackageUpload) HasIsQuarantined() bool` - -HasIsQuarantined returns a boolean if a field has been set. - -### GetIsSyncAwaiting - -`func (o *RpmPackageUpload) GetIsSyncAwaiting() bool` - -GetIsSyncAwaiting returns the IsSyncAwaiting field if non-nil, zero value otherwise. - -### GetIsSyncAwaitingOk - -`func (o *RpmPackageUpload) GetIsSyncAwaitingOk() (*bool, bool)` - -GetIsSyncAwaitingOk returns a tuple with the IsSyncAwaiting field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetIsSyncAwaiting - -`func (o *RpmPackageUpload) SetIsSyncAwaiting(v bool)` - -SetIsSyncAwaiting sets IsSyncAwaiting field to given value. - -### HasIsSyncAwaiting - -`func (o *RpmPackageUpload) HasIsSyncAwaiting() bool` - -HasIsSyncAwaiting returns a boolean if a field has been set. - -### GetIsSyncCompleted - -`func (o *RpmPackageUpload) GetIsSyncCompleted() bool` - -GetIsSyncCompleted returns the IsSyncCompleted field if non-nil, zero value otherwise. - -### GetIsSyncCompletedOk - -`func (o *RpmPackageUpload) GetIsSyncCompletedOk() (*bool, bool)` - -GetIsSyncCompletedOk returns a tuple with the IsSyncCompleted field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetIsSyncCompleted - -`func (o *RpmPackageUpload) SetIsSyncCompleted(v bool)` - -SetIsSyncCompleted sets IsSyncCompleted field to given value. - -### HasIsSyncCompleted - -`func (o *RpmPackageUpload) HasIsSyncCompleted() bool` - -HasIsSyncCompleted returns a boolean if a field has been set. - -### GetIsSyncFailed - -`func (o *RpmPackageUpload) GetIsSyncFailed() bool` - -GetIsSyncFailed returns the IsSyncFailed field if non-nil, zero value otherwise. - -### GetIsSyncFailedOk - -`func (o *RpmPackageUpload) GetIsSyncFailedOk() (*bool, bool)` - -GetIsSyncFailedOk returns a tuple with the IsSyncFailed field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetIsSyncFailed - -`func (o *RpmPackageUpload) SetIsSyncFailed(v bool)` - -SetIsSyncFailed sets IsSyncFailed field to given value. - -### HasIsSyncFailed - -`func (o *RpmPackageUpload) HasIsSyncFailed() bool` - -HasIsSyncFailed returns a boolean if a field has been set. - -### GetIsSyncInFlight - -`func (o *RpmPackageUpload) GetIsSyncInFlight() bool` - -GetIsSyncInFlight returns the IsSyncInFlight field if non-nil, zero value otherwise. - -### GetIsSyncInFlightOk - -`func (o *RpmPackageUpload) GetIsSyncInFlightOk() (*bool, bool)` - -GetIsSyncInFlightOk returns a tuple with the IsSyncInFlight field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetIsSyncInFlight - -`func (o *RpmPackageUpload) SetIsSyncInFlight(v bool)` - -SetIsSyncInFlight sets IsSyncInFlight field to given value. - -### HasIsSyncInFlight - -`func (o *RpmPackageUpload) HasIsSyncInFlight() bool` - -HasIsSyncInFlight returns a boolean if a field has been set. - -### GetIsSyncInProgress - -`func (o *RpmPackageUpload) GetIsSyncInProgress() bool` - -GetIsSyncInProgress returns the IsSyncInProgress field if non-nil, zero value otherwise. - -### GetIsSyncInProgressOk - -`func (o *RpmPackageUpload) GetIsSyncInProgressOk() (*bool, bool)` - -GetIsSyncInProgressOk returns a tuple with the IsSyncInProgress field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetIsSyncInProgress - -`func (o *RpmPackageUpload) SetIsSyncInProgress(v bool)` - -SetIsSyncInProgress sets IsSyncInProgress field to given value. - -### HasIsSyncInProgress - -`func (o *RpmPackageUpload) HasIsSyncInProgress() bool` - -HasIsSyncInProgress returns a boolean if a field has been set. - -### GetLicense - -`func (o *RpmPackageUpload) GetLicense() string` - -GetLicense returns the License field if non-nil, zero value otherwise. - -### GetLicenseOk - -`func (o *RpmPackageUpload) GetLicenseOk() (*string, bool)` - -GetLicenseOk returns a tuple with the License field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetLicense - -`func (o *RpmPackageUpload) SetLicense(v string)` - -SetLicense sets License field to given value. - -### HasLicense - -`func (o *RpmPackageUpload) HasLicense() bool` - -HasLicense returns a boolean if a field has been set. - -### GetName - -`func (o *RpmPackageUpload) GetName() string` - -GetName returns the Name field if non-nil, zero value otherwise. - -### GetNameOk - -`func (o *RpmPackageUpload) GetNameOk() (*string, bool)` - -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. - -### SetName - -`func (o *RpmPackageUpload) SetName(v string)` - -SetName sets Name field to given value. - -### HasName - -`func (o *RpmPackageUpload) HasName() bool` - -HasName returns a boolean if a field has been set. - -### GetNamespace - -`func (o *RpmPackageUpload) GetNamespace() string` - -GetNamespace returns the Namespace field if non-nil, zero value otherwise. - -### GetNamespaceOk - -`func (o *RpmPackageUpload) GetNamespaceOk() (*string, bool)` - -GetNamespaceOk returns a tuple with the Namespace field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetNamespace - -`func (o *RpmPackageUpload) SetNamespace(v string)` - -SetNamespace sets Namespace field to given value. - -### HasNamespace - -`func (o *RpmPackageUpload) HasNamespace() bool` - -HasNamespace returns a boolean if a field has been set. - -### GetNamespaceUrl - -`func (o *RpmPackageUpload) GetNamespaceUrl() string` - -GetNamespaceUrl returns the NamespaceUrl field if non-nil, zero value otherwise. - -### GetNamespaceUrlOk - -`func (o *RpmPackageUpload) GetNamespaceUrlOk() (*string, bool)` - -GetNamespaceUrlOk returns a tuple with the NamespaceUrl field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetNamespaceUrl - -`func (o *RpmPackageUpload) SetNamespaceUrl(v string)` - -SetNamespaceUrl sets NamespaceUrl field to given value. - -### HasNamespaceUrl - -`func (o *RpmPackageUpload) HasNamespaceUrl() bool` - -HasNamespaceUrl returns a boolean if a field has been set. - -### GetNumFiles - -`func (o *RpmPackageUpload) GetNumFiles() int64` - -GetNumFiles returns the NumFiles field if non-nil, zero value otherwise. - -### GetNumFilesOk - -`func (o *RpmPackageUpload) GetNumFilesOk() (*int64, bool)` - -GetNumFilesOk returns a tuple with the NumFiles field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetNumFiles - -`func (o *RpmPackageUpload) SetNumFiles(v int64)` - -SetNumFiles sets NumFiles field to given value. - -### HasNumFiles - -`func (o *RpmPackageUpload) HasNumFiles() bool` - -HasNumFiles returns a boolean if a field has been set. - -### GetPackageType - -`func (o *RpmPackageUpload) GetPackageType() int64` - -GetPackageType returns the PackageType field if non-nil, zero value otherwise. - -### GetPackageTypeOk - -`func (o *RpmPackageUpload) GetPackageTypeOk() (*int64, bool)` - -GetPackageTypeOk returns a tuple with the PackageType field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetPackageType - -`func (o *RpmPackageUpload) SetPackageType(v int64)` - -SetPackageType sets PackageType field to given value. - -### HasPackageType - -`func (o *RpmPackageUpload) HasPackageType() bool` - -HasPackageType returns a boolean if a field has been set. - -### GetRelease - -`func (o *RpmPackageUpload) GetRelease() string` - -GetRelease returns the Release field if non-nil, zero value otherwise. - -### GetReleaseOk - -`func (o *RpmPackageUpload) GetReleaseOk() (*string, bool)` - -GetReleaseOk returns a tuple with the Release field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetRelease - -`func (o *RpmPackageUpload) SetRelease(v string)` - -SetRelease sets Release field to given value. - -### HasRelease - -`func (o *RpmPackageUpload) HasRelease() bool` - -HasRelease returns a boolean if a field has been set. - -### GetRepository - -`func (o *RpmPackageUpload) GetRepository() string` - -GetRepository returns the Repository field if non-nil, zero value otherwise. - -### GetRepositoryOk - -`func (o *RpmPackageUpload) GetRepositoryOk() (*string, bool)` - -GetRepositoryOk returns a tuple with the Repository field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetRepository - -`func (o *RpmPackageUpload) SetRepository(v string)` - -SetRepository sets Repository field to given value. - -### HasRepository - -`func (o *RpmPackageUpload) HasRepository() bool` - -HasRepository returns a boolean if a field has been set. - -### GetRepositoryUrl - -`func (o *RpmPackageUpload) GetRepositoryUrl() string` - -GetRepositoryUrl returns the RepositoryUrl field if non-nil, zero value otherwise. - -### GetRepositoryUrlOk - -`func (o *RpmPackageUpload) GetRepositoryUrlOk() (*string, bool)` - -GetRepositoryUrlOk returns a tuple with the RepositoryUrl field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetRepositoryUrl - -`func (o *RpmPackageUpload) SetRepositoryUrl(v string)` - -SetRepositoryUrl sets RepositoryUrl field to given value. - -### HasRepositoryUrl - -`func (o *RpmPackageUpload) HasRepositoryUrl() bool` - -HasRepositoryUrl returns a boolean if a field has been set. - -### GetSecurityScanCompletedAt - -`func (o *RpmPackageUpload) GetSecurityScanCompletedAt() string` - -GetSecurityScanCompletedAt returns the SecurityScanCompletedAt field if non-nil, zero value otherwise. - -### GetSecurityScanCompletedAtOk - -`func (o *RpmPackageUpload) GetSecurityScanCompletedAtOk() (*string, bool)` - -GetSecurityScanCompletedAtOk returns a tuple with the SecurityScanCompletedAt field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetSecurityScanCompletedAt - -`func (o *RpmPackageUpload) SetSecurityScanCompletedAt(v string)` - -SetSecurityScanCompletedAt sets SecurityScanCompletedAt field to given value. - -### HasSecurityScanCompletedAt - -`func (o *RpmPackageUpload) HasSecurityScanCompletedAt() bool` - -HasSecurityScanCompletedAt returns a boolean if a field has been set. - -### GetSecurityScanStartedAt - -`func (o *RpmPackageUpload) GetSecurityScanStartedAt() string` - -GetSecurityScanStartedAt returns the SecurityScanStartedAt field if non-nil, zero value otherwise. - -### GetSecurityScanStartedAtOk - -`func (o *RpmPackageUpload) GetSecurityScanStartedAtOk() (*string, bool)` - -GetSecurityScanStartedAtOk returns a tuple with the SecurityScanStartedAt field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetSecurityScanStartedAt - -`func (o *RpmPackageUpload) SetSecurityScanStartedAt(v string)` - -SetSecurityScanStartedAt sets SecurityScanStartedAt field to given value. - -### HasSecurityScanStartedAt - -`func (o *RpmPackageUpload) HasSecurityScanStartedAt() bool` - -HasSecurityScanStartedAt returns a boolean if a field has been set. - -### GetSecurityScanStatus - -`func (o *RpmPackageUpload) GetSecurityScanStatus() string` - -GetSecurityScanStatus returns the SecurityScanStatus field if non-nil, zero value otherwise. - -### GetSecurityScanStatusOk - -`func (o *RpmPackageUpload) GetSecurityScanStatusOk() (*string, bool)` - -GetSecurityScanStatusOk returns a tuple with the SecurityScanStatus field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetSecurityScanStatus - -`func (o *RpmPackageUpload) SetSecurityScanStatus(v string)` - -SetSecurityScanStatus sets SecurityScanStatus field to given value. - -### HasSecurityScanStatus - -`func (o *RpmPackageUpload) HasSecurityScanStatus() bool` - -HasSecurityScanStatus returns a boolean if a field has been set. - -### GetSecurityScanStatusUpdatedAt - -`func (o *RpmPackageUpload) GetSecurityScanStatusUpdatedAt() string` - -GetSecurityScanStatusUpdatedAt returns the SecurityScanStatusUpdatedAt field if non-nil, zero value otherwise. - -### GetSecurityScanStatusUpdatedAtOk - -`func (o *RpmPackageUpload) GetSecurityScanStatusUpdatedAtOk() (*string, bool)` - -GetSecurityScanStatusUpdatedAtOk returns a tuple with the SecurityScanStatusUpdatedAt field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetSecurityScanStatusUpdatedAt - -`func (o *RpmPackageUpload) SetSecurityScanStatusUpdatedAt(v string)` - -SetSecurityScanStatusUpdatedAt sets SecurityScanStatusUpdatedAt field to given value. - -### HasSecurityScanStatusUpdatedAt - -`func (o *RpmPackageUpload) HasSecurityScanStatusUpdatedAt() bool` - -HasSecurityScanStatusUpdatedAt returns a boolean if a field has been set. - -### GetSelfHtmlUrl - -`func (o *RpmPackageUpload) GetSelfHtmlUrl() string` - -GetSelfHtmlUrl returns the SelfHtmlUrl field if non-nil, zero value otherwise. - -### GetSelfHtmlUrlOk - -`func (o *RpmPackageUpload) GetSelfHtmlUrlOk() (*string, bool)` - -GetSelfHtmlUrlOk returns a tuple with the SelfHtmlUrl field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetSelfHtmlUrl - -`func (o *RpmPackageUpload) SetSelfHtmlUrl(v string)` - -SetSelfHtmlUrl sets SelfHtmlUrl field to given value. - -### HasSelfHtmlUrl - -`func (o *RpmPackageUpload) HasSelfHtmlUrl() bool` - -HasSelfHtmlUrl returns a boolean if a field has been set. - -### GetSelfUrl - -`func (o *RpmPackageUpload) GetSelfUrl() string` - -GetSelfUrl returns the SelfUrl field if non-nil, zero value otherwise. - -### GetSelfUrlOk - -`func (o *RpmPackageUpload) GetSelfUrlOk() (*string, bool)` - -GetSelfUrlOk returns a tuple with the SelfUrl field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetSelfUrl - -`func (o *RpmPackageUpload) SetSelfUrl(v string)` - -SetSelfUrl sets SelfUrl field to given value. - -### HasSelfUrl - -`func (o *RpmPackageUpload) HasSelfUrl() bool` - -HasSelfUrl returns a boolean if a field has been set. - -### GetSignatureUrl - -`func (o *RpmPackageUpload) GetSignatureUrl() string` - -GetSignatureUrl returns the SignatureUrl field if non-nil, zero value otherwise. - -### GetSignatureUrlOk - -`func (o *RpmPackageUpload) GetSignatureUrlOk() (*string, bool)` - -GetSignatureUrlOk returns a tuple with the SignatureUrl field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetSignatureUrl - -`func (o *RpmPackageUpload) SetSignatureUrl(v string)` - -SetSignatureUrl sets SignatureUrl field to given value. - -### HasSignatureUrl - -`func (o *RpmPackageUpload) HasSignatureUrl() bool` - -HasSignatureUrl returns a boolean if a field has been set. - -### GetSize - -`func (o *RpmPackageUpload) GetSize() int64` - -GetSize returns the Size field if non-nil, zero value otherwise. - -### GetSizeOk - -`func (o *RpmPackageUpload) GetSizeOk() (*int64, bool)` - -GetSizeOk returns a tuple with the Size field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetSize - -`func (o *RpmPackageUpload) SetSize(v int64)` - -SetSize sets Size field to given value. - -### HasSize - -`func (o *RpmPackageUpload) HasSize() bool` - -HasSize returns a boolean if a field has been set. - -### GetSlug - -`func (o *RpmPackageUpload) GetSlug() string` - -GetSlug returns the Slug field if non-nil, zero value otherwise. - -### GetSlugOk - -`func (o *RpmPackageUpload) GetSlugOk() (*string, bool)` - -GetSlugOk returns a tuple with the Slug field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetSlug - -`func (o *RpmPackageUpload) SetSlug(v string)` - -SetSlug sets Slug field to given value. - -### HasSlug - -`func (o *RpmPackageUpload) HasSlug() bool` - -HasSlug returns a boolean if a field has been set. - -### GetSlugPerm - -`func (o *RpmPackageUpload) GetSlugPerm() string` - -GetSlugPerm returns the SlugPerm field if non-nil, zero value otherwise. - -### GetSlugPermOk - -`func (o *RpmPackageUpload) GetSlugPermOk() (*string, bool)` - -GetSlugPermOk returns a tuple with the SlugPerm field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetSlugPerm - -`func (o *RpmPackageUpload) SetSlugPerm(v string)` - -SetSlugPerm sets SlugPerm field to given value. - -### HasSlugPerm - -`func (o *RpmPackageUpload) HasSlugPerm() bool` - -HasSlugPerm returns a boolean if a field has been set. - -### GetStage - -`func (o *RpmPackageUpload) GetStage() int64` - -GetStage returns the Stage field if non-nil, zero value otherwise. - -### GetStageOk - -`func (o *RpmPackageUpload) GetStageOk() (*int64, bool)` - -GetStageOk returns a tuple with the Stage field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetStage - -`func (o *RpmPackageUpload) SetStage(v int64)` - -SetStage sets Stage field to given value. - -### HasStage - -`func (o *RpmPackageUpload) HasStage() bool` - -HasStage returns a boolean if a field has been set. - -### GetStageStr - -`func (o *RpmPackageUpload) GetStageStr() string` - -GetStageStr returns the StageStr field if non-nil, zero value otherwise. - -### GetStageStrOk - -`func (o *RpmPackageUpload) GetStageStrOk() (*string, bool)` - -GetStageStrOk returns a tuple with the StageStr field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetStageStr - -`func (o *RpmPackageUpload) SetStageStr(v string)` - -SetStageStr sets StageStr field to given value. - -### HasStageStr - -`func (o *RpmPackageUpload) HasStageStr() bool` - -HasStageStr returns a boolean if a field has been set. - -### GetStageUpdatedAt - -`func (o *RpmPackageUpload) GetStageUpdatedAt() string` - -GetStageUpdatedAt returns the StageUpdatedAt field if non-nil, zero value otherwise. - -### GetStageUpdatedAtOk - -`func (o *RpmPackageUpload) GetStageUpdatedAtOk() (*string, bool)` - -GetStageUpdatedAtOk returns a tuple with the StageUpdatedAt field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetStageUpdatedAt - -`func (o *RpmPackageUpload) SetStageUpdatedAt(v string)` - -SetStageUpdatedAt sets StageUpdatedAt field to given value. - -### HasStageUpdatedAt - -`func (o *RpmPackageUpload) HasStageUpdatedAt() bool` - -HasStageUpdatedAt returns a boolean if a field has been set. - -### GetStatus - -`func (o *RpmPackageUpload) GetStatus() int64` - -GetStatus returns the Status field if non-nil, zero value otherwise. - -### GetStatusOk - -`func (o *RpmPackageUpload) GetStatusOk() (*int64, bool)` - -GetStatusOk returns a tuple with the Status field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetStatus - -`func (o *RpmPackageUpload) SetStatus(v int64)` - -SetStatus sets Status field to given value. - -### HasStatus - -`func (o *RpmPackageUpload) HasStatus() bool` - -HasStatus returns a boolean if a field has been set. - -### GetStatusReason - -`func (o *RpmPackageUpload) GetStatusReason() string` - -GetStatusReason returns the StatusReason field if non-nil, zero value otherwise. - -### GetStatusReasonOk - -`func (o *RpmPackageUpload) GetStatusReasonOk() (*string, bool)` - -GetStatusReasonOk returns a tuple with the StatusReason field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetStatusReason - -`func (o *RpmPackageUpload) SetStatusReason(v string)` - -SetStatusReason sets StatusReason field to given value. - -### HasStatusReason - -`func (o *RpmPackageUpload) HasStatusReason() bool` - -HasStatusReason returns a boolean if a field has been set. - -### GetStatusStr - -`func (o *RpmPackageUpload) GetStatusStr() string` - -GetStatusStr returns the StatusStr field if non-nil, zero value otherwise. - -### GetStatusStrOk - -`func (o *RpmPackageUpload) GetStatusStrOk() (*string, bool)` - -GetStatusStrOk returns a tuple with the StatusStr field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetStatusStr - -`func (o *RpmPackageUpload) SetStatusStr(v string)` - -SetStatusStr sets StatusStr field to given value. - -### HasStatusStr - -`func (o *RpmPackageUpload) HasStatusStr() bool` - -HasStatusStr returns a boolean if a field has been set. - -### GetStatusUpdatedAt - -`func (o *RpmPackageUpload) GetStatusUpdatedAt() string` - -GetStatusUpdatedAt returns the StatusUpdatedAt field if non-nil, zero value otherwise. - -### GetStatusUpdatedAtOk - -`func (o *RpmPackageUpload) GetStatusUpdatedAtOk() (*string, bool)` - -GetStatusUpdatedAtOk returns a tuple with the StatusUpdatedAt field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetStatusUpdatedAt - -`func (o *RpmPackageUpload) SetStatusUpdatedAt(v string)` - -SetStatusUpdatedAt sets StatusUpdatedAt field to given value. - -### HasStatusUpdatedAt - -`func (o *RpmPackageUpload) HasStatusUpdatedAt() bool` - -HasStatusUpdatedAt returns a boolean if a field has been set. - -### GetStatusUrl - -`func (o *RpmPackageUpload) GetStatusUrl() string` - -GetStatusUrl returns the StatusUrl field if non-nil, zero value otherwise. - -### GetStatusUrlOk - -`func (o *RpmPackageUpload) GetStatusUrlOk() (*string, bool)` - -GetStatusUrlOk returns a tuple with the StatusUrl field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetStatusUrl - -`func (o *RpmPackageUpload) SetStatusUrl(v string)` - -SetStatusUrl sets StatusUrl field to given value. - -### HasStatusUrl - -`func (o *RpmPackageUpload) HasStatusUrl() bool` - -HasStatusUrl returns a boolean if a field has been set. - -### GetSubtype - -`func (o *RpmPackageUpload) GetSubtype() string` - -GetSubtype returns the Subtype field if non-nil, zero value otherwise. - -### GetSubtypeOk - -`func (o *RpmPackageUpload) GetSubtypeOk() (*string, bool)` - -GetSubtypeOk returns a tuple with the Subtype field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetSubtype - -`func (o *RpmPackageUpload) SetSubtype(v string)` - -SetSubtype sets Subtype field to given value. - -### HasSubtype - -`func (o *RpmPackageUpload) HasSubtype() bool` - -HasSubtype returns a boolean if a field has been set. - -### GetSummary - -`func (o *RpmPackageUpload) GetSummary() string` - -GetSummary returns the Summary field if non-nil, zero value otherwise. - -### GetSummaryOk - -`func (o *RpmPackageUpload) GetSummaryOk() (*string, bool)` - -GetSummaryOk returns a tuple with the Summary field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetSummary - -`func (o *RpmPackageUpload) SetSummary(v string)` - -SetSummary sets Summary field to given value. - -### HasSummary - -`func (o *RpmPackageUpload) HasSummary() bool` - -HasSummary returns a boolean if a field has been set. - -### GetSyncFinishedAt - -`func (o *RpmPackageUpload) GetSyncFinishedAt() string` - -GetSyncFinishedAt returns the SyncFinishedAt field if non-nil, zero value otherwise. - -### GetSyncFinishedAtOk - -`func (o *RpmPackageUpload) GetSyncFinishedAtOk() (*string, bool)` - -GetSyncFinishedAtOk returns a tuple with the SyncFinishedAt field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetSyncFinishedAt - -`func (o *RpmPackageUpload) SetSyncFinishedAt(v string)` - -SetSyncFinishedAt sets SyncFinishedAt field to given value. - -### HasSyncFinishedAt - -`func (o *RpmPackageUpload) HasSyncFinishedAt() bool` - -HasSyncFinishedAt returns a boolean if a field has been set. - -### GetSyncProgress - -`func (o *RpmPackageUpload) GetSyncProgress() int64` - -GetSyncProgress returns the SyncProgress field if non-nil, zero value otherwise. - -### GetSyncProgressOk - -`func (o *RpmPackageUpload) GetSyncProgressOk() (*int64, bool)` - -GetSyncProgressOk returns a tuple with the SyncProgress field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetSyncProgress - -`func (o *RpmPackageUpload) SetSyncProgress(v int64)` - -SetSyncProgress sets SyncProgress field to given value. - -### HasSyncProgress - -`func (o *RpmPackageUpload) HasSyncProgress() bool` - -HasSyncProgress returns a boolean if a field has been set. - -### GetTagsImmutable - -`func (o *RpmPackageUpload) GetTagsImmutable() map[string]interface{}` - -GetTagsImmutable returns the TagsImmutable field if non-nil, zero value otherwise. - -### GetTagsImmutableOk - -`func (o *RpmPackageUpload) GetTagsImmutableOk() (*map[string]interface{}, bool)` - -GetTagsImmutableOk returns a tuple with the TagsImmutable field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetTagsImmutable - -`func (o *RpmPackageUpload) SetTagsImmutable(v map[string]interface{})` - -SetTagsImmutable sets TagsImmutable field to given value. - -### HasTagsImmutable - -`func (o *RpmPackageUpload) HasTagsImmutable() bool` - -HasTagsImmutable returns a boolean if a field has been set. - -### GetTypeDisplay - -`func (o *RpmPackageUpload) GetTypeDisplay() string` - -GetTypeDisplay returns the TypeDisplay field if non-nil, zero value otherwise. - -### GetTypeDisplayOk - -`func (o *RpmPackageUpload) GetTypeDisplayOk() (*string, bool)` - -GetTypeDisplayOk returns a tuple with the TypeDisplay field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetTypeDisplay - -`func (o *RpmPackageUpload) SetTypeDisplay(v string)` - -SetTypeDisplay sets TypeDisplay field to given value. - -### HasTypeDisplay - -`func (o *RpmPackageUpload) HasTypeDisplay() bool` - -HasTypeDisplay returns a boolean if a field has been set. - -### GetUploadedAt - -`func (o *RpmPackageUpload) GetUploadedAt() string` - -GetUploadedAt returns the UploadedAt field if non-nil, zero value otherwise. - -### GetUploadedAtOk - -`func (o *RpmPackageUpload) GetUploadedAtOk() (*string, bool)` - -GetUploadedAtOk returns a tuple with the UploadedAt field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetUploadedAt - -`func (o *RpmPackageUpload) SetUploadedAt(v string)` - -SetUploadedAt sets UploadedAt field to given value. - -### HasUploadedAt - -`func (o *RpmPackageUpload) HasUploadedAt() bool` - -HasUploadedAt returns a boolean if a field has been set. - -### GetUploader - -`func (o *RpmPackageUpload) GetUploader() string` - -GetUploader returns the Uploader field if non-nil, zero value otherwise. - -### GetUploaderOk - -`func (o *RpmPackageUpload) GetUploaderOk() (*string, bool)` - -GetUploaderOk returns a tuple with the Uploader field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetUploader - -`func (o *RpmPackageUpload) SetUploader(v string)` - -SetUploader sets Uploader field to given value. - -### HasUploader - -`func (o *RpmPackageUpload) HasUploader() bool` - -HasUploader returns a boolean if a field has been set. - -### GetUploaderUrl - -`func (o *RpmPackageUpload) GetUploaderUrl() string` - -GetUploaderUrl returns the UploaderUrl field if non-nil, zero value otherwise. - -### GetUploaderUrlOk - -`func (o *RpmPackageUpload) GetUploaderUrlOk() (*string, bool)` - -GetUploaderUrlOk returns a tuple with the UploaderUrl field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetUploaderUrl - -`func (o *RpmPackageUpload) SetUploaderUrl(v string)` - -SetUploaderUrl sets UploaderUrl field to given value. - -### HasUploaderUrl - -`func (o *RpmPackageUpload) HasUploaderUrl() bool` - -HasUploaderUrl returns a boolean if a field has been set. - -### GetVersion - -`func (o *RpmPackageUpload) GetVersion() string` - -GetVersion returns the Version field if non-nil, zero value otherwise. - -### GetVersionOk - -`func (o *RpmPackageUpload) GetVersionOk() (*string, bool)` - -GetVersionOk returns a tuple with the Version field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetVersion - -`func (o *RpmPackageUpload) SetVersion(v string)` - -SetVersion sets Version field to given value. - -### HasVersion - -`func (o *RpmPackageUpload) HasVersion() bool` - -HasVersion returns a boolean if a field has been set. - -### GetVersionOrig - -`func (o *RpmPackageUpload) GetVersionOrig() string` - -GetVersionOrig returns the VersionOrig field if non-nil, zero value otherwise. - -### GetVersionOrigOk - -`func (o *RpmPackageUpload) GetVersionOrigOk() (*string, bool)` - -GetVersionOrigOk returns a tuple with the VersionOrig field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetVersionOrig - -`func (o *RpmPackageUpload) SetVersionOrig(v string)` - -SetVersionOrig sets VersionOrig field to given value. - -### HasVersionOrig - -`func (o *RpmPackageUpload) HasVersionOrig() bool` - -HasVersionOrig returns a boolean if a field has been set. - -### GetVulnerabilityScanResultsUrl - -`func (o *RpmPackageUpload) GetVulnerabilityScanResultsUrl() string` - -GetVulnerabilityScanResultsUrl returns the VulnerabilityScanResultsUrl field if non-nil, zero value otherwise. - -### GetVulnerabilityScanResultsUrlOk - -`func (o *RpmPackageUpload) GetVulnerabilityScanResultsUrlOk() (*string, bool)` - -GetVulnerabilityScanResultsUrlOk returns a tuple with the VulnerabilityScanResultsUrl field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetVulnerabilityScanResultsUrl - -`func (o *RpmPackageUpload) SetVulnerabilityScanResultsUrl(v string)` - -SetVulnerabilityScanResultsUrl sets VulnerabilityScanResultsUrl field to given value. - -### HasVulnerabilityScanResultsUrl - -`func (o *RpmPackageUpload) HasVulnerabilityScanResultsUrl() bool` - -HasVulnerabilityScanResultsUrl 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/docs/PackagesValidateUploadAlpine.md b/docs/RpmPackageUploadRequest.md similarity index 59% rename from docs/PackagesValidateUploadAlpine.md rename to docs/RpmPackageUploadRequest.md index 02cb8e6c..c8289881 100644 --- a/docs/PackagesValidateUploadAlpine.md +++ b/docs/RpmPackageUploadRequest.md @@ -1,4 +1,4 @@ -# PackagesValidateUploadAlpine +# RpmPackageUploadRequest ## Properties @@ -7,117 +7,127 @@ Name | Type | Description | Notes **Distribution** | **string** | The distribution to store the package for. | **PackageFile** | **string** | The primary file for the package. | **Republish** | Pointer to **bool** | If true, the uploaded package will overwrite any others with the same attributes (e.g. same version); otherwise, it will be flagged as a duplicate. | [optional] -**Tags** | Pointer to **string** | A comma-separated values list of tags to add to the package. | [optional] +**Tags** | Pointer to **NullableString** | A comma-separated values list of tags to add to the package. | [optional] ## Methods -### NewPackagesValidateUploadAlpine +### NewRpmPackageUploadRequest -`func NewPackagesValidateUploadAlpine(distribution string, packageFile string, ) *PackagesValidateUploadAlpine` +`func NewRpmPackageUploadRequest(distribution string, packageFile string, ) *RpmPackageUploadRequest` -NewPackagesValidateUploadAlpine instantiates a new PackagesValidateUploadAlpine object +NewRpmPackageUploadRequest instantiates a new RpmPackageUploadRequest object 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 -### NewPackagesValidateUploadAlpineWithDefaults +### NewRpmPackageUploadRequestWithDefaults -`func NewPackagesValidateUploadAlpineWithDefaults() *PackagesValidateUploadAlpine` +`func NewRpmPackageUploadRequestWithDefaults() *RpmPackageUploadRequest` -NewPackagesValidateUploadAlpineWithDefaults instantiates a new PackagesValidateUploadAlpine object +NewRpmPackageUploadRequestWithDefaults instantiates a new RpmPackageUploadRequest object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set ### GetDistribution -`func (o *PackagesValidateUploadAlpine) GetDistribution() string` +`func (o *RpmPackageUploadRequest) GetDistribution() string` GetDistribution returns the Distribution field if non-nil, zero value otherwise. ### GetDistributionOk -`func (o *PackagesValidateUploadAlpine) GetDistributionOk() (*string, bool)` +`func (o *RpmPackageUploadRequest) GetDistributionOk() (*string, bool)` GetDistributionOk returns a tuple with the Distribution field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetDistribution -`func (o *PackagesValidateUploadAlpine) SetDistribution(v string)` +`func (o *RpmPackageUploadRequest) SetDistribution(v string)` SetDistribution sets Distribution field to given value. ### GetPackageFile -`func (o *PackagesValidateUploadAlpine) GetPackageFile() string` +`func (o *RpmPackageUploadRequest) GetPackageFile() string` GetPackageFile returns the PackageFile field if non-nil, zero value otherwise. ### GetPackageFileOk -`func (o *PackagesValidateUploadAlpine) GetPackageFileOk() (*string, bool)` +`func (o *RpmPackageUploadRequest) GetPackageFileOk() (*string, bool)` GetPackageFileOk returns a tuple with the PackageFile field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetPackageFile -`func (o *PackagesValidateUploadAlpine) SetPackageFile(v string)` +`func (o *RpmPackageUploadRequest) SetPackageFile(v string)` SetPackageFile sets PackageFile field to given value. ### GetRepublish -`func (o *PackagesValidateUploadAlpine) GetRepublish() bool` +`func (o *RpmPackageUploadRequest) GetRepublish() bool` GetRepublish returns the Republish field if non-nil, zero value otherwise. ### GetRepublishOk -`func (o *PackagesValidateUploadAlpine) GetRepublishOk() (*bool, bool)` +`func (o *RpmPackageUploadRequest) GetRepublishOk() (*bool, bool)` GetRepublishOk returns a tuple with the Republish field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetRepublish -`func (o *PackagesValidateUploadAlpine) SetRepublish(v bool)` +`func (o *RpmPackageUploadRequest) SetRepublish(v bool)` SetRepublish sets Republish field to given value. ### HasRepublish -`func (o *PackagesValidateUploadAlpine) HasRepublish() bool` +`func (o *RpmPackageUploadRequest) HasRepublish() bool` HasRepublish returns a boolean if a field has been set. ### GetTags -`func (o *PackagesValidateUploadAlpine) GetTags() string` +`func (o *RpmPackageUploadRequest) GetTags() string` GetTags returns the Tags field if non-nil, zero value otherwise. ### GetTagsOk -`func (o *PackagesValidateUploadAlpine) GetTagsOk() (*string, bool)` +`func (o *RpmPackageUploadRequest) GetTagsOk() (*string, bool)` GetTagsOk returns a tuple with the Tags field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetTags -`func (o *PackagesValidateUploadAlpine) SetTags(v string)` +`func (o *RpmPackageUploadRequest) SetTags(v string)` SetTags sets Tags field to given value. ### HasTags -`func (o *PackagesValidateUploadAlpine) HasTags() bool` +`func (o *RpmPackageUploadRequest) HasTags() bool` HasTags returns a boolean if a field has been set. +### SetTagsNil + +`func (o *RpmPackageUploadRequest) SetTagsNil(b bool)` + + SetTagsNil sets the value for Tags to be an explicit nil + +### UnsetTags +`func (o *RpmPackageUploadRequest) UnsetTags()` + +UnsetTags ensures that no value is present for Tags, 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/docs/CocoapodsPackageUpload.md b/docs/RpmPackageUploadResponse.md similarity index 55% rename from docs/CocoapodsPackageUpload.md rename to docs/RpmPackageUploadResponse.md index ad0ce278..619bf77b 100644 --- a/docs/CocoapodsPackageUpload.md +++ b/docs/RpmPackageUploadResponse.md @@ -1,1742 +1,1834 @@ -# CocoapodsPackageUpload +# RpmPackageUploadResponse ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**Architectures** | Pointer to [**[]PackagesOwnerRepoArchitectures**](PackagesOwnerRepoArchitectures.md) | | [optional] -**CdnUrl** | Pointer to **string** | | [optional] -**ChecksumMd5** | Pointer to **string** | | [optional] -**ChecksumSha1** | Pointer to **string** | | [optional] -**ChecksumSha256** | Pointer to **string** | | [optional] -**ChecksumSha512** | Pointer to **string** | | [optional] -**DependenciesChecksumMd5** | Pointer to **string** | A checksum of all of the package's dependencies. | [optional] -**DependenciesUrl** | Pointer to **string** | | [optional] -**Description** | Pointer to **string** | A textual description of this package. | [optional] -**Distro** | Pointer to **map[string]interface{}** | | [optional] -**DistroVersion** | Pointer to **map[string]interface{}** | | [optional] -**Downloads** | Pointer to **int64** | | [optional] -**Epoch** | Pointer to **int64** | The epoch of the package version (if any). | [optional] -**Extension** | Pointer to **string** | | [optional] -**Filename** | Pointer to **string** | | [optional] -**Files** | Pointer to [**[]PackagesOwnerRepoFiles**](PackagesOwnerRepoFiles.md) | | [optional] -**Format** | Pointer to **string** | | [optional] -**FormatUrl** | Pointer to **string** | | [optional] -**IdentifierPerm** | Pointer to **string** | Unique and permanent identifier for the package. | [optional] -**Indexed** | Pointer to **bool** | | [optional] -**IsDownloadable** | Pointer to **bool** | | [optional] -**IsQuarantined** | Pointer to **bool** | | [optional] -**IsSyncAwaiting** | Pointer to **bool** | | [optional] -**IsSyncCompleted** | Pointer to **bool** | | [optional] -**IsSyncFailed** | Pointer to **bool** | | [optional] -**IsSyncInFlight** | Pointer to **bool** | | [optional] -**IsSyncInProgress** | Pointer to **bool** | | [optional] -**License** | Pointer to **string** | The license of this package. | [optional] -**Name** | Pointer to **string** | The name of this package. | [optional] -**Namespace** | Pointer to **string** | | [optional] -**NamespaceUrl** | Pointer to **string** | | [optional] -**NumFiles** | Pointer to **int64** | | [optional] -**PackageType** | Pointer to **int64** | The type of package contents. | [optional] -**Release** | Pointer to **string** | The release of the package version (if any). | [optional] -**Repository** | Pointer to **string** | | [optional] -**RepositoryUrl** | Pointer to **string** | | [optional] -**SecurityScanCompletedAt** | Pointer to **string** | The datetime the security scanning was completed. | [optional] -**SecurityScanStartedAt** | Pointer to **string** | The datetime the security scanning was started. | [optional] -**SecurityScanStatus** | Pointer to **string** | | [optional] -**SecurityScanStatusUpdatedAt** | Pointer to **string** | The datetime the security scanning status was updated. | [optional] -**SelfHtmlUrl** | Pointer to **string** | | [optional] -**SelfUrl** | Pointer to **string** | | [optional] -**SignatureUrl** | Pointer to **string** | | [optional] -**Size** | Pointer to **int64** | The calculated size of the package. | [optional] -**Slug** | Pointer to **string** | The public unique identifier for the package. | [optional] -**SlugPerm** | Pointer to **string** | | [optional] -**Stage** | Pointer to **int64** | The synchronisation (in progress) stage of the package. | [optional] -**StageStr** | Pointer to **string** | | [optional] -**StageUpdatedAt** | Pointer to **string** | The datetime the package stage was updated at. | [optional] -**Status** | Pointer to **int64** | The synchronisation status of the package. | [optional] -**StatusReason** | Pointer to **string** | A textual description for the synchronous status reason (if any | [optional] -**StatusStr** | Pointer to **string** | | [optional] -**StatusUpdatedAt** | Pointer to **string** | The datetime the package status was updated at. | [optional] -**StatusUrl** | Pointer to **string** | | [optional] -**Subtype** | Pointer to **string** | | [optional] -**Summary** | Pointer to **string** | A one-liner synopsis of this package. | [optional] -**SyncFinishedAt** | Pointer to **string** | The datetime the package sync was finished at. | [optional] -**SyncProgress** | Pointer to **int64** | Synchronisation progress (from 0-100) | [optional] -**TagsImmutable** | Pointer to **map[string]interface{}** | All immutable tags on the package, grouped by tag type. Immutable tags cannot be (easily) deleted. | [optional] -**TypeDisplay** | Pointer to **string** | | [optional] -**UploadedAt** | Pointer to **string** | The date this package was uploaded. | [optional] -**Uploader** | Pointer to **string** | | [optional] -**UploaderUrl** | Pointer to **string** | | [optional] -**Version** | Pointer to **string** | The raw version for this package. | [optional] -**VersionOrig** | Pointer to **string** | | [optional] -**VulnerabilityScanResultsUrl** | Pointer to **string** | | [optional] +**Architectures** | Pointer to [**[]Architecture**](Architecture.md) | | [optional] [readonly] +**CdnUrl** | Pointer to **NullableString** | | [optional] [readonly] +**ChecksumMd5** | Pointer to **string** | | [optional] [readonly] +**ChecksumSha1** | Pointer to **string** | | [optional] [readonly] +**ChecksumSha256** | Pointer to **string** | | [optional] [readonly] +**ChecksumSha512** | Pointer to **string** | | [optional] [readonly] +**DependenciesChecksumMd5** | Pointer to **string** | A checksum of all of the package's dependencies. | [optional] [readonly] +**DependenciesUrl** | Pointer to **string** | | [optional] [readonly] +**Description** | Pointer to **string** | A textual description of this package. | [optional] [readonly] +**Distro** | Pointer to [**NullableDistribution**](Distribution.md) | | [optional] +**DistroVersion** | Pointer to [**DistributionVersion**](DistributionVersion.md) | | [optional] +**Downloads** | Pointer to **int64** | | [optional] [readonly] +**Epoch** | Pointer to **int64** | The epoch of the package version (if any). | [optional] [readonly] +**Extension** | Pointer to **string** | | [optional] [readonly] +**Filename** | Pointer to **string** | | [optional] [readonly] +**Files** | Pointer to [**[]PackageFile**](PackageFile.md) | | [optional] [readonly] +**Format** | Pointer to **string** | | [optional] [readonly] +**FormatUrl** | Pointer to **string** | | [optional] [readonly] +**IdentifierPerm** | Pointer to **string** | Unique and permanent identifier for the package. | [optional] [readonly] +**Indexed** | Pointer to **bool** | | [optional] [readonly] +**IsDownloadable** | Pointer to **bool** | | [optional] [readonly] +**IsQuarantined** | Pointer to **bool** | | [optional] [readonly] +**IsSyncAwaiting** | Pointer to **bool** | | [optional] [readonly] +**IsSyncCompleted** | Pointer to **bool** | | [optional] [readonly] +**IsSyncFailed** | Pointer to **bool** | | [optional] [readonly] +**IsSyncInFlight** | Pointer to **bool** | | [optional] [readonly] +**IsSyncInProgress** | Pointer to **bool** | | [optional] [readonly] +**License** | Pointer to **string** | The license of this package. | [optional] [readonly] +**Name** | Pointer to **string** | The name of this package. | [optional] [readonly] +**Namespace** | Pointer to **string** | | [optional] [readonly] +**NamespaceUrl** | Pointer to **string** | | [optional] [readonly] +**NumFiles** | Pointer to **int64** | | [optional] [readonly] +**OriginRepository** | Pointer to **string** | | [optional] [readonly] +**OriginRepositoryUrl** | Pointer to **string** | | [optional] [readonly] +**PackageType** | Pointer to **int64** | The type of package contents. | [optional] [readonly] +**Release** | Pointer to **string** | The release of the package version (if any). | [optional] [readonly] +**Repository** | Pointer to **string** | | [optional] [readonly] +**RepositoryUrl** | Pointer to **string** | | [optional] [readonly] +**SecurityScanCompletedAt** | Pointer to **time.Time** | The datetime the security scanning was completed. | [optional] [readonly] +**SecurityScanStartedAt** | Pointer to **time.Time** | The datetime the security scanning was started. | [optional] [readonly] +**SecurityScanStatus** | Pointer to **NullableString** | | [optional] [readonly] [default to "Awaiting Security Scan"] +**SecurityScanStatusUpdatedAt** | Pointer to **time.Time** | The datetime the security scanning status was updated. | [optional] [readonly] +**SelfHtmlUrl** | Pointer to **string** | | [optional] [readonly] +**SelfUrl** | Pointer to **string** | | [optional] [readonly] +**SignatureUrl** | Pointer to **NullableString** | | [optional] [readonly] +**Size** | Pointer to **int64** | The calculated size of the package. | [optional] [readonly] +**Slug** | Pointer to **string** | The public unique identifier for the package. | [optional] [readonly] +**SlugPerm** | Pointer to **string** | | [optional] [readonly] +**Stage** | Pointer to **int64** | The synchronisation (in progress) stage of the package. | [optional] [readonly] +**StageStr** | Pointer to **string** | | [optional] [readonly] +**StageUpdatedAt** | Pointer to **time.Time** | The datetime the package stage was updated at. | [optional] [readonly] +**Status** | Pointer to **int64** | The synchronisation status of the package. | [optional] [readonly] +**StatusReason** | Pointer to **string** | A textual description for the synchronous status reason (if any | [optional] [readonly] +**StatusStr** | Pointer to **string** | | [optional] [readonly] +**StatusUpdatedAt** | Pointer to **time.Time** | The datetime the package status was updated at. | [optional] [readonly] +**StatusUrl** | Pointer to **string** | | [optional] [readonly] +**Subtype** | Pointer to **string** | | [optional] [readonly] +**Summary** | Pointer to **string** | A one-liner synopsis of this package. | [optional] [readonly] +**SyncFinishedAt** | Pointer to **time.Time** | The datetime the package sync was finished at. | [optional] [readonly] +**SyncProgress** | Pointer to **int64** | Synchronisation progress (from 0-100) | [optional] [readonly] +**TagsImmutable** | Pointer to **map[string]interface{}** | All tags on the package, grouped by tag type. This includes immutable tags, but doesn't distinguish them from mutable. To see which tags are immutable specifically, see the tags_immutable field. | [optional] +**TypeDisplay** | Pointer to **string** | | [optional] [readonly] +**UploadedAt** | Pointer to **time.Time** | The date this package was uploaded. | [optional] [readonly] +**Uploader** | Pointer to **string** | | [optional] [readonly] +**UploaderUrl** | Pointer to **string** | | [optional] [readonly] +**Version** | Pointer to **string** | The raw version for this package. | [optional] [readonly] +**VersionOrig** | Pointer to **string** | | [optional] [readonly] +**VulnerabilityScanResultsUrl** | Pointer to **string** | | [optional] [readonly] ## Methods -### NewCocoapodsPackageUpload +### NewRpmPackageUploadResponse -`func NewCocoapodsPackageUpload() *CocoapodsPackageUpload` +`func NewRpmPackageUploadResponse() *RpmPackageUploadResponse` -NewCocoapodsPackageUpload instantiates a new CocoapodsPackageUpload object +NewRpmPackageUploadResponse instantiates a new RpmPackageUploadResponse object 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 -### NewCocoapodsPackageUploadWithDefaults +### NewRpmPackageUploadResponseWithDefaults -`func NewCocoapodsPackageUploadWithDefaults() *CocoapodsPackageUpload` +`func NewRpmPackageUploadResponseWithDefaults() *RpmPackageUploadResponse` -NewCocoapodsPackageUploadWithDefaults instantiates a new CocoapodsPackageUpload object +NewRpmPackageUploadResponseWithDefaults instantiates a new RpmPackageUploadResponse object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set ### GetArchitectures -`func (o *CocoapodsPackageUpload) GetArchitectures() []PackagesOwnerRepoArchitectures` +`func (o *RpmPackageUploadResponse) GetArchitectures() []Architecture` GetArchitectures returns the Architectures field if non-nil, zero value otherwise. ### GetArchitecturesOk -`func (o *CocoapodsPackageUpload) GetArchitecturesOk() (*[]PackagesOwnerRepoArchitectures, bool)` +`func (o *RpmPackageUploadResponse) GetArchitecturesOk() (*[]Architecture, bool)` GetArchitecturesOk returns a tuple with the Architectures field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetArchitectures -`func (o *CocoapodsPackageUpload) SetArchitectures(v []PackagesOwnerRepoArchitectures)` +`func (o *RpmPackageUploadResponse) SetArchitectures(v []Architecture)` SetArchitectures sets Architectures field to given value. ### HasArchitectures -`func (o *CocoapodsPackageUpload) HasArchitectures() bool` +`func (o *RpmPackageUploadResponse) HasArchitectures() bool` HasArchitectures returns a boolean if a field has been set. ### GetCdnUrl -`func (o *CocoapodsPackageUpload) GetCdnUrl() string` +`func (o *RpmPackageUploadResponse) GetCdnUrl() string` GetCdnUrl returns the CdnUrl field if non-nil, zero value otherwise. ### GetCdnUrlOk -`func (o *CocoapodsPackageUpload) GetCdnUrlOk() (*string, bool)` +`func (o *RpmPackageUploadResponse) GetCdnUrlOk() (*string, bool)` GetCdnUrlOk returns a tuple with the CdnUrl field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetCdnUrl -`func (o *CocoapodsPackageUpload) SetCdnUrl(v string)` +`func (o *RpmPackageUploadResponse) SetCdnUrl(v string)` SetCdnUrl sets CdnUrl field to given value. ### HasCdnUrl -`func (o *CocoapodsPackageUpload) HasCdnUrl() bool` +`func (o *RpmPackageUploadResponse) HasCdnUrl() bool` HasCdnUrl returns a boolean if a field has been set. +### SetCdnUrlNil + +`func (o *RpmPackageUploadResponse) SetCdnUrlNil(b bool)` + + SetCdnUrlNil sets the value for CdnUrl to be an explicit nil + +### UnsetCdnUrl +`func (o *RpmPackageUploadResponse) UnsetCdnUrl()` + +UnsetCdnUrl ensures that no value is present for CdnUrl, not even an explicit nil ### GetChecksumMd5 -`func (o *CocoapodsPackageUpload) GetChecksumMd5() string` +`func (o *RpmPackageUploadResponse) GetChecksumMd5() string` GetChecksumMd5 returns the ChecksumMd5 field if non-nil, zero value otherwise. ### GetChecksumMd5Ok -`func (o *CocoapodsPackageUpload) GetChecksumMd5Ok() (*string, bool)` +`func (o *RpmPackageUploadResponse) GetChecksumMd5Ok() (*string, bool)` GetChecksumMd5Ok returns a tuple with the ChecksumMd5 field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetChecksumMd5 -`func (o *CocoapodsPackageUpload) SetChecksumMd5(v string)` +`func (o *RpmPackageUploadResponse) SetChecksumMd5(v string)` SetChecksumMd5 sets ChecksumMd5 field to given value. ### HasChecksumMd5 -`func (o *CocoapodsPackageUpload) HasChecksumMd5() bool` +`func (o *RpmPackageUploadResponse) HasChecksumMd5() bool` HasChecksumMd5 returns a boolean if a field has been set. ### GetChecksumSha1 -`func (o *CocoapodsPackageUpload) GetChecksumSha1() string` +`func (o *RpmPackageUploadResponse) GetChecksumSha1() string` GetChecksumSha1 returns the ChecksumSha1 field if non-nil, zero value otherwise. ### GetChecksumSha1Ok -`func (o *CocoapodsPackageUpload) GetChecksumSha1Ok() (*string, bool)` +`func (o *RpmPackageUploadResponse) GetChecksumSha1Ok() (*string, bool)` GetChecksumSha1Ok returns a tuple with the ChecksumSha1 field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetChecksumSha1 -`func (o *CocoapodsPackageUpload) SetChecksumSha1(v string)` +`func (o *RpmPackageUploadResponse) SetChecksumSha1(v string)` SetChecksumSha1 sets ChecksumSha1 field to given value. ### HasChecksumSha1 -`func (o *CocoapodsPackageUpload) HasChecksumSha1() bool` +`func (o *RpmPackageUploadResponse) HasChecksumSha1() bool` HasChecksumSha1 returns a boolean if a field has been set. ### GetChecksumSha256 -`func (o *CocoapodsPackageUpload) GetChecksumSha256() string` +`func (o *RpmPackageUploadResponse) GetChecksumSha256() string` GetChecksumSha256 returns the ChecksumSha256 field if non-nil, zero value otherwise. ### GetChecksumSha256Ok -`func (o *CocoapodsPackageUpload) GetChecksumSha256Ok() (*string, bool)` +`func (o *RpmPackageUploadResponse) GetChecksumSha256Ok() (*string, bool)` GetChecksumSha256Ok returns a tuple with the ChecksumSha256 field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetChecksumSha256 -`func (o *CocoapodsPackageUpload) SetChecksumSha256(v string)` +`func (o *RpmPackageUploadResponse) SetChecksumSha256(v string)` SetChecksumSha256 sets ChecksumSha256 field to given value. ### HasChecksumSha256 -`func (o *CocoapodsPackageUpload) HasChecksumSha256() bool` +`func (o *RpmPackageUploadResponse) HasChecksumSha256() bool` HasChecksumSha256 returns a boolean if a field has been set. ### GetChecksumSha512 -`func (o *CocoapodsPackageUpload) GetChecksumSha512() string` +`func (o *RpmPackageUploadResponse) GetChecksumSha512() string` GetChecksumSha512 returns the ChecksumSha512 field if non-nil, zero value otherwise. ### GetChecksumSha512Ok -`func (o *CocoapodsPackageUpload) GetChecksumSha512Ok() (*string, bool)` +`func (o *RpmPackageUploadResponse) GetChecksumSha512Ok() (*string, bool)` GetChecksumSha512Ok returns a tuple with the ChecksumSha512 field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetChecksumSha512 -`func (o *CocoapodsPackageUpload) SetChecksumSha512(v string)` +`func (o *RpmPackageUploadResponse) SetChecksumSha512(v string)` SetChecksumSha512 sets ChecksumSha512 field to given value. ### HasChecksumSha512 -`func (o *CocoapodsPackageUpload) HasChecksumSha512() bool` +`func (o *RpmPackageUploadResponse) HasChecksumSha512() bool` HasChecksumSha512 returns a boolean if a field has been set. ### GetDependenciesChecksumMd5 -`func (o *CocoapodsPackageUpload) GetDependenciesChecksumMd5() string` +`func (o *RpmPackageUploadResponse) GetDependenciesChecksumMd5() string` GetDependenciesChecksumMd5 returns the DependenciesChecksumMd5 field if non-nil, zero value otherwise. ### GetDependenciesChecksumMd5Ok -`func (o *CocoapodsPackageUpload) GetDependenciesChecksumMd5Ok() (*string, bool)` +`func (o *RpmPackageUploadResponse) GetDependenciesChecksumMd5Ok() (*string, bool)` GetDependenciesChecksumMd5Ok returns a tuple with the DependenciesChecksumMd5 field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetDependenciesChecksumMd5 -`func (o *CocoapodsPackageUpload) SetDependenciesChecksumMd5(v string)` +`func (o *RpmPackageUploadResponse) SetDependenciesChecksumMd5(v string)` SetDependenciesChecksumMd5 sets DependenciesChecksumMd5 field to given value. ### HasDependenciesChecksumMd5 -`func (o *CocoapodsPackageUpload) HasDependenciesChecksumMd5() bool` +`func (o *RpmPackageUploadResponse) HasDependenciesChecksumMd5() bool` HasDependenciesChecksumMd5 returns a boolean if a field has been set. ### GetDependenciesUrl -`func (o *CocoapodsPackageUpload) GetDependenciesUrl() string` +`func (o *RpmPackageUploadResponse) GetDependenciesUrl() string` GetDependenciesUrl returns the DependenciesUrl field if non-nil, zero value otherwise. ### GetDependenciesUrlOk -`func (o *CocoapodsPackageUpload) GetDependenciesUrlOk() (*string, bool)` +`func (o *RpmPackageUploadResponse) GetDependenciesUrlOk() (*string, bool)` GetDependenciesUrlOk returns a tuple with the DependenciesUrl field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetDependenciesUrl -`func (o *CocoapodsPackageUpload) SetDependenciesUrl(v string)` +`func (o *RpmPackageUploadResponse) SetDependenciesUrl(v string)` SetDependenciesUrl sets DependenciesUrl field to given value. ### HasDependenciesUrl -`func (o *CocoapodsPackageUpload) HasDependenciesUrl() bool` +`func (o *RpmPackageUploadResponse) HasDependenciesUrl() bool` HasDependenciesUrl returns a boolean if a field has been set. ### GetDescription -`func (o *CocoapodsPackageUpload) GetDescription() string` +`func (o *RpmPackageUploadResponse) GetDescription() string` GetDescription returns the Description field if non-nil, zero value otherwise. ### GetDescriptionOk -`func (o *CocoapodsPackageUpload) GetDescriptionOk() (*string, bool)` +`func (o *RpmPackageUploadResponse) GetDescriptionOk() (*string, bool)` GetDescriptionOk returns a tuple with the Description field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetDescription -`func (o *CocoapodsPackageUpload) SetDescription(v string)` +`func (o *RpmPackageUploadResponse) SetDescription(v string)` SetDescription sets Description field to given value. ### HasDescription -`func (o *CocoapodsPackageUpload) HasDescription() bool` +`func (o *RpmPackageUploadResponse) HasDescription() bool` HasDescription returns a boolean if a field has been set. ### GetDistro -`func (o *CocoapodsPackageUpload) GetDistro() map[string]interface{}` +`func (o *RpmPackageUploadResponse) GetDistro() Distribution` GetDistro returns the Distro field if non-nil, zero value otherwise. ### GetDistroOk -`func (o *CocoapodsPackageUpload) GetDistroOk() (*map[string]interface{}, bool)` +`func (o *RpmPackageUploadResponse) GetDistroOk() (*Distribution, bool)` GetDistroOk returns a tuple with the Distro field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetDistro -`func (o *CocoapodsPackageUpload) SetDistro(v map[string]interface{})` +`func (o *RpmPackageUploadResponse) SetDistro(v Distribution)` SetDistro sets Distro field to given value. ### HasDistro -`func (o *CocoapodsPackageUpload) HasDistro() bool` +`func (o *RpmPackageUploadResponse) HasDistro() bool` HasDistro returns a boolean if a field has been set. +### SetDistroNil + +`func (o *RpmPackageUploadResponse) SetDistroNil(b bool)` + + SetDistroNil sets the value for Distro to be an explicit nil + +### UnsetDistro +`func (o *RpmPackageUploadResponse) UnsetDistro()` + +UnsetDistro ensures that no value is present for Distro, not even an explicit nil ### GetDistroVersion -`func (o *CocoapodsPackageUpload) GetDistroVersion() map[string]interface{}` +`func (o *RpmPackageUploadResponse) GetDistroVersion() DistributionVersion` GetDistroVersion returns the DistroVersion field if non-nil, zero value otherwise. ### GetDistroVersionOk -`func (o *CocoapodsPackageUpload) GetDistroVersionOk() (*map[string]interface{}, bool)` +`func (o *RpmPackageUploadResponse) GetDistroVersionOk() (*DistributionVersion, bool)` GetDistroVersionOk returns a tuple with the DistroVersion field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetDistroVersion -`func (o *CocoapodsPackageUpload) SetDistroVersion(v map[string]interface{})` +`func (o *RpmPackageUploadResponse) SetDistroVersion(v DistributionVersion)` SetDistroVersion sets DistroVersion field to given value. ### HasDistroVersion -`func (o *CocoapodsPackageUpload) HasDistroVersion() bool` +`func (o *RpmPackageUploadResponse) HasDistroVersion() bool` HasDistroVersion returns a boolean if a field has been set. ### GetDownloads -`func (o *CocoapodsPackageUpload) GetDownloads() int64` +`func (o *RpmPackageUploadResponse) GetDownloads() int64` GetDownloads returns the Downloads field if non-nil, zero value otherwise. ### GetDownloadsOk -`func (o *CocoapodsPackageUpload) GetDownloadsOk() (*int64, bool)` +`func (o *RpmPackageUploadResponse) GetDownloadsOk() (*int64, bool)` GetDownloadsOk returns a tuple with the Downloads field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetDownloads -`func (o *CocoapodsPackageUpload) SetDownloads(v int64)` +`func (o *RpmPackageUploadResponse) SetDownloads(v int64)` SetDownloads sets Downloads field to given value. ### HasDownloads -`func (o *CocoapodsPackageUpload) HasDownloads() bool` +`func (o *RpmPackageUploadResponse) HasDownloads() bool` HasDownloads returns a boolean if a field has been set. ### GetEpoch -`func (o *CocoapodsPackageUpload) GetEpoch() int64` +`func (o *RpmPackageUploadResponse) GetEpoch() int64` GetEpoch returns the Epoch field if non-nil, zero value otherwise. ### GetEpochOk -`func (o *CocoapodsPackageUpload) GetEpochOk() (*int64, bool)` +`func (o *RpmPackageUploadResponse) GetEpochOk() (*int64, bool)` GetEpochOk returns a tuple with the Epoch field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetEpoch -`func (o *CocoapodsPackageUpload) SetEpoch(v int64)` +`func (o *RpmPackageUploadResponse) SetEpoch(v int64)` SetEpoch sets Epoch field to given value. ### HasEpoch -`func (o *CocoapodsPackageUpload) HasEpoch() bool` +`func (o *RpmPackageUploadResponse) HasEpoch() bool` HasEpoch returns a boolean if a field has been set. ### GetExtension -`func (o *CocoapodsPackageUpload) GetExtension() string` +`func (o *RpmPackageUploadResponse) GetExtension() string` GetExtension returns the Extension field if non-nil, zero value otherwise. ### GetExtensionOk -`func (o *CocoapodsPackageUpload) GetExtensionOk() (*string, bool)` +`func (o *RpmPackageUploadResponse) GetExtensionOk() (*string, bool)` GetExtensionOk returns a tuple with the Extension field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetExtension -`func (o *CocoapodsPackageUpload) SetExtension(v string)` +`func (o *RpmPackageUploadResponse) SetExtension(v string)` SetExtension sets Extension field to given value. ### HasExtension -`func (o *CocoapodsPackageUpload) HasExtension() bool` +`func (o *RpmPackageUploadResponse) HasExtension() bool` HasExtension returns a boolean if a field has been set. ### GetFilename -`func (o *CocoapodsPackageUpload) GetFilename() string` +`func (o *RpmPackageUploadResponse) GetFilename() string` GetFilename returns the Filename field if non-nil, zero value otherwise. ### GetFilenameOk -`func (o *CocoapodsPackageUpload) GetFilenameOk() (*string, bool)` +`func (o *RpmPackageUploadResponse) GetFilenameOk() (*string, bool)` GetFilenameOk returns a tuple with the Filename field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetFilename -`func (o *CocoapodsPackageUpload) SetFilename(v string)` +`func (o *RpmPackageUploadResponse) SetFilename(v string)` SetFilename sets Filename field to given value. ### HasFilename -`func (o *CocoapodsPackageUpload) HasFilename() bool` +`func (o *RpmPackageUploadResponse) HasFilename() bool` HasFilename returns a boolean if a field has been set. ### GetFiles -`func (o *CocoapodsPackageUpload) GetFiles() []PackagesOwnerRepoFiles` +`func (o *RpmPackageUploadResponse) GetFiles() []PackageFile` GetFiles returns the Files field if non-nil, zero value otherwise. ### GetFilesOk -`func (o *CocoapodsPackageUpload) GetFilesOk() (*[]PackagesOwnerRepoFiles, bool)` +`func (o *RpmPackageUploadResponse) GetFilesOk() (*[]PackageFile, 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 *CocoapodsPackageUpload) SetFiles(v []PackagesOwnerRepoFiles)` +`func (o *RpmPackageUploadResponse) SetFiles(v []PackageFile)` SetFiles sets Files field to given value. ### HasFiles -`func (o *CocoapodsPackageUpload) HasFiles() bool` +`func (o *RpmPackageUploadResponse) HasFiles() bool` HasFiles returns a boolean if a field has been set. ### GetFormat -`func (o *CocoapodsPackageUpload) GetFormat() string` +`func (o *RpmPackageUploadResponse) GetFormat() string` GetFormat returns the Format field if non-nil, zero value otherwise. ### GetFormatOk -`func (o *CocoapodsPackageUpload) GetFormatOk() (*string, bool)` +`func (o *RpmPackageUploadResponse) GetFormatOk() (*string, bool)` GetFormatOk returns a tuple with the Format field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetFormat -`func (o *CocoapodsPackageUpload) SetFormat(v string)` +`func (o *RpmPackageUploadResponse) SetFormat(v string)` SetFormat sets Format field to given value. ### HasFormat -`func (o *CocoapodsPackageUpload) HasFormat() bool` +`func (o *RpmPackageUploadResponse) HasFormat() bool` HasFormat returns a boolean if a field has been set. ### GetFormatUrl -`func (o *CocoapodsPackageUpload) GetFormatUrl() string` +`func (o *RpmPackageUploadResponse) GetFormatUrl() string` GetFormatUrl returns the FormatUrl field if non-nil, zero value otherwise. ### GetFormatUrlOk -`func (o *CocoapodsPackageUpload) GetFormatUrlOk() (*string, bool)` +`func (o *RpmPackageUploadResponse) GetFormatUrlOk() (*string, bool)` GetFormatUrlOk returns a tuple with the FormatUrl field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetFormatUrl -`func (o *CocoapodsPackageUpload) SetFormatUrl(v string)` +`func (o *RpmPackageUploadResponse) SetFormatUrl(v string)` SetFormatUrl sets FormatUrl field to given value. ### HasFormatUrl -`func (o *CocoapodsPackageUpload) HasFormatUrl() bool` +`func (o *RpmPackageUploadResponse) HasFormatUrl() bool` HasFormatUrl returns a boolean if a field has been set. ### GetIdentifierPerm -`func (o *CocoapodsPackageUpload) GetIdentifierPerm() string` +`func (o *RpmPackageUploadResponse) GetIdentifierPerm() string` GetIdentifierPerm returns the IdentifierPerm field if non-nil, zero value otherwise. ### GetIdentifierPermOk -`func (o *CocoapodsPackageUpload) GetIdentifierPermOk() (*string, bool)` +`func (o *RpmPackageUploadResponse) GetIdentifierPermOk() (*string, bool)` GetIdentifierPermOk returns a tuple with the IdentifierPerm field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetIdentifierPerm -`func (o *CocoapodsPackageUpload) SetIdentifierPerm(v string)` +`func (o *RpmPackageUploadResponse) SetIdentifierPerm(v string)` SetIdentifierPerm sets IdentifierPerm field to given value. ### HasIdentifierPerm -`func (o *CocoapodsPackageUpload) HasIdentifierPerm() bool` +`func (o *RpmPackageUploadResponse) HasIdentifierPerm() bool` HasIdentifierPerm returns a boolean if a field has been set. ### GetIndexed -`func (o *CocoapodsPackageUpload) GetIndexed() bool` +`func (o *RpmPackageUploadResponse) GetIndexed() bool` GetIndexed returns the Indexed field if non-nil, zero value otherwise. ### GetIndexedOk -`func (o *CocoapodsPackageUpload) GetIndexedOk() (*bool, bool)` +`func (o *RpmPackageUploadResponse) GetIndexedOk() (*bool, bool)` GetIndexedOk returns a tuple with the Indexed field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetIndexed -`func (o *CocoapodsPackageUpload) SetIndexed(v bool)` +`func (o *RpmPackageUploadResponse) SetIndexed(v bool)` SetIndexed sets Indexed field to given value. ### HasIndexed -`func (o *CocoapodsPackageUpload) HasIndexed() bool` +`func (o *RpmPackageUploadResponse) HasIndexed() bool` HasIndexed returns a boolean if a field has been set. ### GetIsDownloadable -`func (o *CocoapodsPackageUpload) GetIsDownloadable() bool` +`func (o *RpmPackageUploadResponse) GetIsDownloadable() bool` GetIsDownloadable returns the IsDownloadable field if non-nil, zero value otherwise. ### GetIsDownloadableOk -`func (o *CocoapodsPackageUpload) GetIsDownloadableOk() (*bool, bool)` +`func (o *RpmPackageUploadResponse) GetIsDownloadableOk() (*bool, bool)` GetIsDownloadableOk returns a tuple with the IsDownloadable field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetIsDownloadable -`func (o *CocoapodsPackageUpload) SetIsDownloadable(v bool)` +`func (o *RpmPackageUploadResponse) SetIsDownloadable(v bool)` SetIsDownloadable sets IsDownloadable field to given value. ### HasIsDownloadable -`func (o *CocoapodsPackageUpload) HasIsDownloadable() bool` +`func (o *RpmPackageUploadResponse) HasIsDownloadable() bool` HasIsDownloadable returns a boolean if a field has been set. ### GetIsQuarantined -`func (o *CocoapodsPackageUpload) GetIsQuarantined() bool` +`func (o *RpmPackageUploadResponse) GetIsQuarantined() bool` GetIsQuarantined returns the IsQuarantined field if non-nil, zero value otherwise. ### GetIsQuarantinedOk -`func (o *CocoapodsPackageUpload) GetIsQuarantinedOk() (*bool, bool)` +`func (o *RpmPackageUploadResponse) GetIsQuarantinedOk() (*bool, bool)` GetIsQuarantinedOk returns a tuple with the IsQuarantined field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetIsQuarantined -`func (o *CocoapodsPackageUpload) SetIsQuarantined(v bool)` +`func (o *RpmPackageUploadResponse) SetIsQuarantined(v bool)` SetIsQuarantined sets IsQuarantined field to given value. ### HasIsQuarantined -`func (o *CocoapodsPackageUpload) HasIsQuarantined() bool` +`func (o *RpmPackageUploadResponse) HasIsQuarantined() bool` HasIsQuarantined returns a boolean if a field has been set. ### GetIsSyncAwaiting -`func (o *CocoapodsPackageUpload) GetIsSyncAwaiting() bool` +`func (o *RpmPackageUploadResponse) GetIsSyncAwaiting() bool` GetIsSyncAwaiting returns the IsSyncAwaiting field if non-nil, zero value otherwise. ### GetIsSyncAwaitingOk -`func (o *CocoapodsPackageUpload) GetIsSyncAwaitingOk() (*bool, bool)` +`func (o *RpmPackageUploadResponse) GetIsSyncAwaitingOk() (*bool, bool)` GetIsSyncAwaitingOk returns a tuple with the IsSyncAwaiting field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetIsSyncAwaiting -`func (o *CocoapodsPackageUpload) SetIsSyncAwaiting(v bool)` +`func (o *RpmPackageUploadResponse) SetIsSyncAwaiting(v bool)` SetIsSyncAwaiting sets IsSyncAwaiting field to given value. ### HasIsSyncAwaiting -`func (o *CocoapodsPackageUpload) HasIsSyncAwaiting() bool` +`func (o *RpmPackageUploadResponse) HasIsSyncAwaiting() bool` HasIsSyncAwaiting returns a boolean if a field has been set. ### GetIsSyncCompleted -`func (o *CocoapodsPackageUpload) GetIsSyncCompleted() bool` +`func (o *RpmPackageUploadResponse) GetIsSyncCompleted() bool` GetIsSyncCompleted returns the IsSyncCompleted field if non-nil, zero value otherwise. ### GetIsSyncCompletedOk -`func (o *CocoapodsPackageUpload) GetIsSyncCompletedOk() (*bool, bool)` +`func (o *RpmPackageUploadResponse) GetIsSyncCompletedOk() (*bool, bool)` GetIsSyncCompletedOk returns a tuple with the IsSyncCompleted field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetIsSyncCompleted -`func (o *CocoapodsPackageUpload) SetIsSyncCompleted(v bool)` +`func (o *RpmPackageUploadResponse) SetIsSyncCompleted(v bool)` SetIsSyncCompleted sets IsSyncCompleted field to given value. ### HasIsSyncCompleted -`func (o *CocoapodsPackageUpload) HasIsSyncCompleted() bool` +`func (o *RpmPackageUploadResponse) HasIsSyncCompleted() bool` HasIsSyncCompleted returns a boolean if a field has been set. ### GetIsSyncFailed -`func (o *CocoapodsPackageUpload) GetIsSyncFailed() bool` +`func (o *RpmPackageUploadResponse) GetIsSyncFailed() bool` GetIsSyncFailed returns the IsSyncFailed field if non-nil, zero value otherwise. ### GetIsSyncFailedOk -`func (o *CocoapodsPackageUpload) GetIsSyncFailedOk() (*bool, bool)` +`func (o *RpmPackageUploadResponse) GetIsSyncFailedOk() (*bool, bool)` GetIsSyncFailedOk returns a tuple with the IsSyncFailed field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetIsSyncFailed -`func (o *CocoapodsPackageUpload) SetIsSyncFailed(v bool)` +`func (o *RpmPackageUploadResponse) SetIsSyncFailed(v bool)` SetIsSyncFailed sets IsSyncFailed field to given value. ### HasIsSyncFailed -`func (o *CocoapodsPackageUpload) HasIsSyncFailed() bool` +`func (o *RpmPackageUploadResponse) HasIsSyncFailed() bool` HasIsSyncFailed returns a boolean if a field has been set. ### GetIsSyncInFlight -`func (o *CocoapodsPackageUpload) GetIsSyncInFlight() bool` +`func (o *RpmPackageUploadResponse) GetIsSyncInFlight() bool` GetIsSyncInFlight returns the IsSyncInFlight field if non-nil, zero value otherwise. ### GetIsSyncInFlightOk -`func (o *CocoapodsPackageUpload) GetIsSyncInFlightOk() (*bool, bool)` +`func (o *RpmPackageUploadResponse) GetIsSyncInFlightOk() (*bool, bool)` GetIsSyncInFlightOk returns a tuple with the IsSyncInFlight field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetIsSyncInFlight -`func (o *CocoapodsPackageUpload) SetIsSyncInFlight(v bool)` +`func (o *RpmPackageUploadResponse) SetIsSyncInFlight(v bool)` SetIsSyncInFlight sets IsSyncInFlight field to given value. ### HasIsSyncInFlight -`func (o *CocoapodsPackageUpload) HasIsSyncInFlight() bool` +`func (o *RpmPackageUploadResponse) HasIsSyncInFlight() bool` HasIsSyncInFlight returns a boolean if a field has been set. ### GetIsSyncInProgress -`func (o *CocoapodsPackageUpload) GetIsSyncInProgress() bool` +`func (o *RpmPackageUploadResponse) GetIsSyncInProgress() bool` GetIsSyncInProgress returns the IsSyncInProgress field if non-nil, zero value otherwise. ### GetIsSyncInProgressOk -`func (o *CocoapodsPackageUpload) GetIsSyncInProgressOk() (*bool, bool)` +`func (o *RpmPackageUploadResponse) GetIsSyncInProgressOk() (*bool, bool)` GetIsSyncInProgressOk returns a tuple with the IsSyncInProgress field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetIsSyncInProgress -`func (o *CocoapodsPackageUpload) SetIsSyncInProgress(v bool)` +`func (o *RpmPackageUploadResponse) SetIsSyncInProgress(v bool)` SetIsSyncInProgress sets IsSyncInProgress field to given value. ### HasIsSyncInProgress -`func (o *CocoapodsPackageUpload) HasIsSyncInProgress() bool` +`func (o *RpmPackageUploadResponse) HasIsSyncInProgress() bool` HasIsSyncInProgress returns a boolean if a field has been set. ### GetLicense -`func (o *CocoapodsPackageUpload) GetLicense() string` +`func (o *RpmPackageUploadResponse) GetLicense() string` GetLicense returns the License field if non-nil, zero value otherwise. ### GetLicenseOk -`func (o *CocoapodsPackageUpload) GetLicenseOk() (*string, bool)` +`func (o *RpmPackageUploadResponse) GetLicenseOk() (*string, bool)` GetLicenseOk returns a tuple with the License field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetLicense -`func (o *CocoapodsPackageUpload) SetLicense(v string)` +`func (o *RpmPackageUploadResponse) SetLicense(v string)` SetLicense sets License field to given value. ### HasLicense -`func (o *CocoapodsPackageUpload) HasLicense() bool` +`func (o *RpmPackageUploadResponse) HasLicense() bool` HasLicense returns a boolean if a field has been set. ### GetName -`func (o *CocoapodsPackageUpload) GetName() string` +`func (o *RpmPackageUploadResponse) GetName() string` GetName returns the Name field if non-nil, zero value otherwise. ### GetNameOk -`func (o *CocoapodsPackageUpload) GetNameOk() (*string, bool)` +`func (o *RpmPackageUploadResponse) GetNameOk() (*string, bool)` 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. ### SetName -`func (o *CocoapodsPackageUpload) SetName(v string)` +`func (o *RpmPackageUploadResponse) SetName(v string)` SetName sets Name field to given value. ### HasName -`func (o *CocoapodsPackageUpload) HasName() bool` +`func (o *RpmPackageUploadResponse) HasName() bool` HasName returns a boolean if a field has been set. ### GetNamespace -`func (o *CocoapodsPackageUpload) GetNamespace() string` +`func (o *RpmPackageUploadResponse) GetNamespace() string` GetNamespace returns the Namespace field if non-nil, zero value otherwise. ### GetNamespaceOk -`func (o *CocoapodsPackageUpload) GetNamespaceOk() (*string, bool)` +`func (o *RpmPackageUploadResponse) GetNamespaceOk() (*string, bool)` GetNamespaceOk returns a tuple with the Namespace field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetNamespace -`func (o *CocoapodsPackageUpload) SetNamespace(v string)` +`func (o *RpmPackageUploadResponse) SetNamespace(v string)` SetNamespace sets Namespace field to given value. ### HasNamespace -`func (o *CocoapodsPackageUpload) HasNamespace() bool` +`func (o *RpmPackageUploadResponse) HasNamespace() bool` HasNamespace returns a boolean if a field has been set. ### GetNamespaceUrl -`func (o *CocoapodsPackageUpload) GetNamespaceUrl() string` +`func (o *RpmPackageUploadResponse) GetNamespaceUrl() string` GetNamespaceUrl returns the NamespaceUrl field if non-nil, zero value otherwise. ### GetNamespaceUrlOk -`func (o *CocoapodsPackageUpload) GetNamespaceUrlOk() (*string, bool)` +`func (o *RpmPackageUploadResponse) GetNamespaceUrlOk() (*string, bool)` GetNamespaceUrlOk returns a tuple with the NamespaceUrl field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetNamespaceUrl -`func (o *CocoapodsPackageUpload) SetNamespaceUrl(v string)` +`func (o *RpmPackageUploadResponse) SetNamespaceUrl(v string)` SetNamespaceUrl sets NamespaceUrl field to given value. ### HasNamespaceUrl -`func (o *CocoapodsPackageUpload) HasNamespaceUrl() bool` +`func (o *RpmPackageUploadResponse) HasNamespaceUrl() bool` HasNamespaceUrl returns a boolean if a field has been set. ### GetNumFiles -`func (o *CocoapodsPackageUpload) GetNumFiles() int64` +`func (o *RpmPackageUploadResponse) GetNumFiles() int64` GetNumFiles returns the NumFiles field if non-nil, zero value otherwise. ### GetNumFilesOk -`func (o *CocoapodsPackageUpload) GetNumFilesOk() (*int64, bool)` +`func (o *RpmPackageUploadResponse) GetNumFilesOk() (*int64, bool)` GetNumFilesOk returns a tuple with the NumFiles field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetNumFiles -`func (o *CocoapodsPackageUpload) SetNumFiles(v int64)` +`func (o *RpmPackageUploadResponse) SetNumFiles(v int64)` SetNumFiles sets NumFiles field to given value. ### HasNumFiles -`func (o *CocoapodsPackageUpload) HasNumFiles() bool` +`func (o *RpmPackageUploadResponse) HasNumFiles() bool` HasNumFiles returns a boolean if a field has been set. +### GetOriginRepository + +`func (o *RpmPackageUploadResponse) GetOriginRepository() string` + +GetOriginRepository returns the OriginRepository field if non-nil, zero value otherwise. + +### GetOriginRepositoryOk + +`func (o *RpmPackageUploadResponse) GetOriginRepositoryOk() (*string, bool)` + +GetOriginRepositoryOk returns a tuple with the OriginRepository field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetOriginRepository + +`func (o *RpmPackageUploadResponse) SetOriginRepository(v string)` + +SetOriginRepository sets OriginRepository field to given value. + +### HasOriginRepository + +`func (o *RpmPackageUploadResponse) HasOriginRepository() bool` + +HasOriginRepository returns a boolean if a field has been set. + +### GetOriginRepositoryUrl + +`func (o *RpmPackageUploadResponse) GetOriginRepositoryUrl() string` + +GetOriginRepositoryUrl returns the OriginRepositoryUrl field if non-nil, zero value otherwise. + +### GetOriginRepositoryUrlOk + +`func (o *RpmPackageUploadResponse) GetOriginRepositoryUrlOk() (*string, bool)` + +GetOriginRepositoryUrlOk returns a tuple with the OriginRepositoryUrl field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetOriginRepositoryUrl + +`func (o *RpmPackageUploadResponse) SetOriginRepositoryUrl(v string)` + +SetOriginRepositoryUrl sets OriginRepositoryUrl field to given value. + +### HasOriginRepositoryUrl + +`func (o *RpmPackageUploadResponse) HasOriginRepositoryUrl() bool` + +HasOriginRepositoryUrl returns a boolean if a field has been set. + ### GetPackageType -`func (o *CocoapodsPackageUpload) GetPackageType() int64` +`func (o *RpmPackageUploadResponse) GetPackageType() int64` GetPackageType returns the PackageType field if non-nil, zero value otherwise. ### GetPackageTypeOk -`func (o *CocoapodsPackageUpload) GetPackageTypeOk() (*int64, bool)` +`func (o *RpmPackageUploadResponse) GetPackageTypeOk() (*int64, bool)` GetPackageTypeOk returns a tuple with the PackageType field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetPackageType -`func (o *CocoapodsPackageUpload) SetPackageType(v int64)` +`func (o *RpmPackageUploadResponse) SetPackageType(v int64)` SetPackageType sets PackageType field to given value. ### HasPackageType -`func (o *CocoapodsPackageUpload) HasPackageType() bool` +`func (o *RpmPackageUploadResponse) HasPackageType() bool` HasPackageType returns a boolean if a field has been set. ### GetRelease -`func (o *CocoapodsPackageUpload) GetRelease() string` +`func (o *RpmPackageUploadResponse) GetRelease() string` GetRelease returns the Release field if non-nil, zero value otherwise. ### GetReleaseOk -`func (o *CocoapodsPackageUpload) GetReleaseOk() (*string, bool)` +`func (o *RpmPackageUploadResponse) GetReleaseOk() (*string, bool)` GetReleaseOk returns a tuple with the Release field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetRelease -`func (o *CocoapodsPackageUpload) SetRelease(v string)` +`func (o *RpmPackageUploadResponse) SetRelease(v string)` SetRelease sets Release field to given value. ### HasRelease -`func (o *CocoapodsPackageUpload) HasRelease() bool` +`func (o *RpmPackageUploadResponse) HasRelease() bool` HasRelease returns a boolean if a field has been set. ### GetRepository -`func (o *CocoapodsPackageUpload) GetRepository() string` +`func (o *RpmPackageUploadResponse) GetRepository() string` GetRepository returns the Repository field if non-nil, zero value otherwise. ### GetRepositoryOk -`func (o *CocoapodsPackageUpload) GetRepositoryOk() (*string, bool)` +`func (o *RpmPackageUploadResponse) GetRepositoryOk() (*string, bool)` GetRepositoryOk returns a tuple with the Repository field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetRepository -`func (o *CocoapodsPackageUpload) SetRepository(v string)` +`func (o *RpmPackageUploadResponse) SetRepository(v string)` SetRepository sets Repository field to given value. ### HasRepository -`func (o *CocoapodsPackageUpload) HasRepository() bool` +`func (o *RpmPackageUploadResponse) HasRepository() bool` HasRepository returns a boolean if a field has been set. ### GetRepositoryUrl -`func (o *CocoapodsPackageUpload) GetRepositoryUrl() string` +`func (o *RpmPackageUploadResponse) GetRepositoryUrl() string` GetRepositoryUrl returns the RepositoryUrl field if non-nil, zero value otherwise. ### GetRepositoryUrlOk -`func (o *CocoapodsPackageUpload) GetRepositoryUrlOk() (*string, bool)` +`func (o *RpmPackageUploadResponse) GetRepositoryUrlOk() (*string, bool)` GetRepositoryUrlOk returns a tuple with the RepositoryUrl field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetRepositoryUrl -`func (o *CocoapodsPackageUpload) SetRepositoryUrl(v string)` +`func (o *RpmPackageUploadResponse) SetRepositoryUrl(v string)` SetRepositoryUrl sets RepositoryUrl field to given value. ### HasRepositoryUrl -`func (o *CocoapodsPackageUpload) HasRepositoryUrl() bool` +`func (o *RpmPackageUploadResponse) HasRepositoryUrl() bool` HasRepositoryUrl returns a boolean if a field has been set. ### GetSecurityScanCompletedAt -`func (o *CocoapodsPackageUpload) GetSecurityScanCompletedAt() string` +`func (o *RpmPackageUploadResponse) GetSecurityScanCompletedAt() time.Time` GetSecurityScanCompletedAt returns the SecurityScanCompletedAt field if non-nil, zero value otherwise. ### GetSecurityScanCompletedAtOk -`func (o *CocoapodsPackageUpload) GetSecurityScanCompletedAtOk() (*string, bool)` +`func (o *RpmPackageUploadResponse) GetSecurityScanCompletedAtOk() (*time.Time, bool)` GetSecurityScanCompletedAtOk returns a tuple with the SecurityScanCompletedAt field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetSecurityScanCompletedAt -`func (o *CocoapodsPackageUpload) SetSecurityScanCompletedAt(v string)` +`func (o *RpmPackageUploadResponse) SetSecurityScanCompletedAt(v time.Time)` SetSecurityScanCompletedAt sets SecurityScanCompletedAt field to given value. ### HasSecurityScanCompletedAt -`func (o *CocoapodsPackageUpload) HasSecurityScanCompletedAt() bool` +`func (o *RpmPackageUploadResponse) HasSecurityScanCompletedAt() bool` HasSecurityScanCompletedAt returns a boolean if a field has been set. ### GetSecurityScanStartedAt -`func (o *CocoapodsPackageUpload) GetSecurityScanStartedAt() string` +`func (o *RpmPackageUploadResponse) GetSecurityScanStartedAt() time.Time` GetSecurityScanStartedAt returns the SecurityScanStartedAt field if non-nil, zero value otherwise. ### GetSecurityScanStartedAtOk -`func (o *CocoapodsPackageUpload) GetSecurityScanStartedAtOk() (*string, bool)` +`func (o *RpmPackageUploadResponse) GetSecurityScanStartedAtOk() (*time.Time, bool)` GetSecurityScanStartedAtOk returns a tuple with the SecurityScanStartedAt field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetSecurityScanStartedAt -`func (o *CocoapodsPackageUpload) SetSecurityScanStartedAt(v string)` +`func (o *RpmPackageUploadResponse) SetSecurityScanStartedAt(v time.Time)` SetSecurityScanStartedAt sets SecurityScanStartedAt field to given value. ### HasSecurityScanStartedAt -`func (o *CocoapodsPackageUpload) HasSecurityScanStartedAt() bool` +`func (o *RpmPackageUploadResponse) HasSecurityScanStartedAt() bool` HasSecurityScanStartedAt returns a boolean if a field has been set. ### GetSecurityScanStatus -`func (o *CocoapodsPackageUpload) GetSecurityScanStatus() string` +`func (o *RpmPackageUploadResponse) GetSecurityScanStatus() string` GetSecurityScanStatus returns the SecurityScanStatus field if non-nil, zero value otherwise. ### GetSecurityScanStatusOk -`func (o *CocoapodsPackageUpload) GetSecurityScanStatusOk() (*string, bool)` +`func (o *RpmPackageUploadResponse) GetSecurityScanStatusOk() (*string, bool)` GetSecurityScanStatusOk returns a tuple with the SecurityScanStatus field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetSecurityScanStatus -`func (o *CocoapodsPackageUpload) SetSecurityScanStatus(v string)` +`func (o *RpmPackageUploadResponse) SetSecurityScanStatus(v string)` SetSecurityScanStatus sets SecurityScanStatus field to given value. ### HasSecurityScanStatus -`func (o *CocoapodsPackageUpload) HasSecurityScanStatus() bool` +`func (o *RpmPackageUploadResponse) HasSecurityScanStatus() bool` HasSecurityScanStatus returns a boolean if a field has been set. +### SetSecurityScanStatusNil + +`func (o *RpmPackageUploadResponse) SetSecurityScanStatusNil(b bool)` + + SetSecurityScanStatusNil sets the value for SecurityScanStatus to be an explicit nil + +### UnsetSecurityScanStatus +`func (o *RpmPackageUploadResponse) UnsetSecurityScanStatus()` + +UnsetSecurityScanStatus ensures that no value is present for SecurityScanStatus, not even an explicit nil ### GetSecurityScanStatusUpdatedAt -`func (o *CocoapodsPackageUpload) GetSecurityScanStatusUpdatedAt() string` +`func (o *RpmPackageUploadResponse) GetSecurityScanStatusUpdatedAt() time.Time` GetSecurityScanStatusUpdatedAt returns the SecurityScanStatusUpdatedAt field if non-nil, zero value otherwise. ### GetSecurityScanStatusUpdatedAtOk -`func (o *CocoapodsPackageUpload) GetSecurityScanStatusUpdatedAtOk() (*string, bool)` +`func (o *RpmPackageUploadResponse) GetSecurityScanStatusUpdatedAtOk() (*time.Time, bool)` GetSecurityScanStatusUpdatedAtOk returns a tuple with the SecurityScanStatusUpdatedAt field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetSecurityScanStatusUpdatedAt -`func (o *CocoapodsPackageUpload) SetSecurityScanStatusUpdatedAt(v string)` +`func (o *RpmPackageUploadResponse) SetSecurityScanStatusUpdatedAt(v time.Time)` SetSecurityScanStatusUpdatedAt sets SecurityScanStatusUpdatedAt field to given value. ### HasSecurityScanStatusUpdatedAt -`func (o *CocoapodsPackageUpload) HasSecurityScanStatusUpdatedAt() bool` +`func (o *RpmPackageUploadResponse) HasSecurityScanStatusUpdatedAt() bool` HasSecurityScanStatusUpdatedAt returns a boolean if a field has been set. ### GetSelfHtmlUrl -`func (o *CocoapodsPackageUpload) GetSelfHtmlUrl() string` +`func (o *RpmPackageUploadResponse) GetSelfHtmlUrl() string` GetSelfHtmlUrl returns the SelfHtmlUrl field if non-nil, zero value otherwise. ### GetSelfHtmlUrlOk -`func (o *CocoapodsPackageUpload) GetSelfHtmlUrlOk() (*string, bool)` +`func (o *RpmPackageUploadResponse) GetSelfHtmlUrlOk() (*string, bool)` GetSelfHtmlUrlOk returns a tuple with the SelfHtmlUrl field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetSelfHtmlUrl -`func (o *CocoapodsPackageUpload) SetSelfHtmlUrl(v string)` +`func (o *RpmPackageUploadResponse) SetSelfHtmlUrl(v string)` SetSelfHtmlUrl sets SelfHtmlUrl field to given value. ### HasSelfHtmlUrl -`func (o *CocoapodsPackageUpload) HasSelfHtmlUrl() bool` +`func (o *RpmPackageUploadResponse) HasSelfHtmlUrl() bool` HasSelfHtmlUrl returns a boolean if a field has been set. ### GetSelfUrl -`func (o *CocoapodsPackageUpload) GetSelfUrl() string` +`func (o *RpmPackageUploadResponse) GetSelfUrl() string` GetSelfUrl returns the SelfUrl field if non-nil, zero value otherwise. ### GetSelfUrlOk -`func (o *CocoapodsPackageUpload) GetSelfUrlOk() (*string, bool)` +`func (o *RpmPackageUploadResponse) GetSelfUrlOk() (*string, bool)` GetSelfUrlOk returns a tuple with the SelfUrl field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetSelfUrl -`func (o *CocoapodsPackageUpload) SetSelfUrl(v string)` +`func (o *RpmPackageUploadResponse) SetSelfUrl(v string)` SetSelfUrl sets SelfUrl field to given value. ### HasSelfUrl -`func (o *CocoapodsPackageUpload) HasSelfUrl() bool` +`func (o *RpmPackageUploadResponse) HasSelfUrl() bool` HasSelfUrl returns a boolean if a field has been set. ### GetSignatureUrl -`func (o *CocoapodsPackageUpload) GetSignatureUrl() string` +`func (o *RpmPackageUploadResponse) GetSignatureUrl() string` GetSignatureUrl returns the SignatureUrl field if non-nil, zero value otherwise. ### GetSignatureUrlOk -`func (o *CocoapodsPackageUpload) GetSignatureUrlOk() (*string, bool)` +`func (o *RpmPackageUploadResponse) GetSignatureUrlOk() (*string, bool)` GetSignatureUrlOk returns a tuple with the SignatureUrl field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetSignatureUrl -`func (o *CocoapodsPackageUpload) SetSignatureUrl(v string)` +`func (o *RpmPackageUploadResponse) SetSignatureUrl(v string)` SetSignatureUrl sets SignatureUrl field to given value. ### HasSignatureUrl -`func (o *CocoapodsPackageUpload) HasSignatureUrl() bool` +`func (o *RpmPackageUploadResponse) HasSignatureUrl() bool` HasSignatureUrl returns a boolean if a field has been set. +### SetSignatureUrlNil + +`func (o *RpmPackageUploadResponse) SetSignatureUrlNil(b bool)` + + SetSignatureUrlNil sets the value for SignatureUrl to be an explicit nil + +### UnsetSignatureUrl +`func (o *RpmPackageUploadResponse) UnsetSignatureUrl()` + +UnsetSignatureUrl ensures that no value is present for SignatureUrl, not even an explicit nil ### GetSize -`func (o *CocoapodsPackageUpload) GetSize() int64` +`func (o *RpmPackageUploadResponse) GetSize() int64` GetSize returns the Size field if non-nil, zero value otherwise. ### GetSizeOk -`func (o *CocoapodsPackageUpload) GetSizeOk() (*int64, bool)` +`func (o *RpmPackageUploadResponse) GetSizeOk() (*int64, bool)` GetSizeOk returns a tuple with the Size field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetSize -`func (o *CocoapodsPackageUpload) SetSize(v int64)` +`func (o *RpmPackageUploadResponse) SetSize(v int64)` SetSize sets Size field to given value. ### HasSize -`func (o *CocoapodsPackageUpload) HasSize() bool` +`func (o *RpmPackageUploadResponse) HasSize() bool` HasSize returns a boolean if a field has been set. ### GetSlug -`func (o *CocoapodsPackageUpload) GetSlug() string` +`func (o *RpmPackageUploadResponse) GetSlug() string` GetSlug returns the Slug field if non-nil, zero value otherwise. ### GetSlugOk -`func (o *CocoapodsPackageUpload) GetSlugOk() (*string, bool)` +`func (o *RpmPackageUploadResponse) GetSlugOk() (*string, bool)` GetSlugOk returns a tuple with the Slug field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetSlug -`func (o *CocoapodsPackageUpload) SetSlug(v string)` +`func (o *RpmPackageUploadResponse) SetSlug(v string)` SetSlug sets Slug field to given value. ### HasSlug -`func (o *CocoapodsPackageUpload) HasSlug() bool` +`func (o *RpmPackageUploadResponse) HasSlug() bool` HasSlug returns a boolean if a field has been set. ### GetSlugPerm -`func (o *CocoapodsPackageUpload) GetSlugPerm() string` +`func (o *RpmPackageUploadResponse) GetSlugPerm() string` GetSlugPerm returns the SlugPerm field if non-nil, zero value otherwise. ### GetSlugPermOk -`func (o *CocoapodsPackageUpload) GetSlugPermOk() (*string, bool)` +`func (o *RpmPackageUploadResponse) GetSlugPermOk() (*string, bool)` GetSlugPermOk returns a tuple with the SlugPerm field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetSlugPerm -`func (o *CocoapodsPackageUpload) SetSlugPerm(v string)` +`func (o *RpmPackageUploadResponse) SetSlugPerm(v string)` SetSlugPerm sets SlugPerm field to given value. ### HasSlugPerm -`func (o *CocoapodsPackageUpload) HasSlugPerm() bool` +`func (o *RpmPackageUploadResponse) HasSlugPerm() bool` HasSlugPerm returns a boolean if a field has been set. ### GetStage -`func (o *CocoapodsPackageUpload) GetStage() int64` +`func (o *RpmPackageUploadResponse) GetStage() int64` GetStage returns the Stage field if non-nil, zero value otherwise. ### GetStageOk -`func (o *CocoapodsPackageUpload) GetStageOk() (*int64, bool)` +`func (o *RpmPackageUploadResponse) GetStageOk() (*int64, bool)` GetStageOk returns a tuple with the Stage field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetStage -`func (o *CocoapodsPackageUpload) SetStage(v int64)` +`func (o *RpmPackageUploadResponse) SetStage(v int64)` SetStage sets Stage field to given value. ### HasStage -`func (o *CocoapodsPackageUpload) HasStage() bool` +`func (o *RpmPackageUploadResponse) HasStage() bool` HasStage returns a boolean if a field has been set. ### GetStageStr -`func (o *CocoapodsPackageUpload) GetStageStr() string` +`func (o *RpmPackageUploadResponse) GetStageStr() string` GetStageStr returns the StageStr field if non-nil, zero value otherwise. ### GetStageStrOk -`func (o *CocoapodsPackageUpload) GetStageStrOk() (*string, bool)` +`func (o *RpmPackageUploadResponse) GetStageStrOk() (*string, bool)` GetStageStrOk returns a tuple with the StageStr field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetStageStr -`func (o *CocoapodsPackageUpload) SetStageStr(v string)` +`func (o *RpmPackageUploadResponse) SetStageStr(v string)` SetStageStr sets StageStr field to given value. ### HasStageStr -`func (o *CocoapodsPackageUpload) HasStageStr() bool` +`func (o *RpmPackageUploadResponse) HasStageStr() bool` HasStageStr returns a boolean if a field has been set. ### GetStageUpdatedAt -`func (o *CocoapodsPackageUpload) GetStageUpdatedAt() string` +`func (o *RpmPackageUploadResponse) GetStageUpdatedAt() time.Time` GetStageUpdatedAt returns the StageUpdatedAt field if non-nil, zero value otherwise. ### GetStageUpdatedAtOk -`func (o *CocoapodsPackageUpload) GetStageUpdatedAtOk() (*string, bool)` +`func (o *RpmPackageUploadResponse) GetStageUpdatedAtOk() (*time.Time, bool)` GetStageUpdatedAtOk returns a tuple with the StageUpdatedAt field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetStageUpdatedAt -`func (o *CocoapodsPackageUpload) SetStageUpdatedAt(v string)` +`func (o *RpmPackageUploadResponse) SetStageUpdatedAt(v time.Time)` SetStageUpdatedAt sets StageUpdatedAt field to given value. ### HasStageUpdatedAt -`func (o *CocoapodsPackageUpload) HasStageUpdatedAt() bool` +`func (o *RpmPackageUploadResponse) HasStageUpdatedAt() bool` HasStageUpdatedAt returns a boolean if a field has been set. ### GetStatus -`func (o *CocoapodsPackageUpload) GetStatus() int64` +`func (o *RpmPackageUploadResponse) GetStatus() int64` GetStatus returns the Status field if non-nil, zero value otherwise. ### GetStatusOk -`func (o *CocoapodsPackageUpload) GetStatusOk() (*int64, bool)` +`func (o *RpmPackageUploadResponse) GetStatusOk() (*int64, bool)` GetStatusOk returns a tuple with the Status field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetStatus -`func (o *CocoapodsPackageUpload) SetStatus(v int64)` +`func (o *RpmPackageUploadResponse) SetStatus(v int64)` SetStatus sets Status field to given value. ### HasStatus -`func (o *CocoapodsPackageUpload) HasStatus() bool` +`func (o *RpmPackageUploadResponse) HasStatus() bool` HasStatus returns a boolean if a field has been set. ### GetStatusReason -`func (o *CocoapodsPackageUpload) GetStatusReason() string` +`func (o *RpmPackageUploadResponse) GetStatusReason() string` GetStatusReason returns the StatusReason field if non-nil, zero value otherwise. ### GetStatusReasonOk -`func (o *CocoapodsPackageUpload) GetStatusReasonOk() (*string, bool)` +`func (o *RpmPackageUploadResponse) GetStatusReasonOk() (*string, bool)` GetStatusReasonOk returns a tuple with the StatusReason field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetStatusReason -`func (o *CocoapodsPackageUpload) SetStatusReason(v string)` +`func (o *RpmPackageUploadResponse) SetStatusReason(v string)` SetStatusReason sets StatusReason field to given value. ### HasStatusReason -`func (o *CocoapodsPackageUpload) HasStatusReason() bool` +`func (o *RpmPackageUploadResponse) HasStatusReason() bool` HasStatusReason returns a boolean if a field has been set. ### GetStatusStr -`func (o *CocoapodsPackageUpload) GetStatusStr() string` +`func (o *RpmPackageUploadResponse) GetStatusStr() string` GetStatusStr returns the StatusStr field if non-nil, zero value otherwise. ### GetStatusStrOk -`func (o *CocoapodsPackageUpload) GetStatusStrOk() (*string, bool)` +`func (o *RpmPackageUploadResponse) GetStatusStrOk() (*string, bool)` GetStatusStrOk returns a tuple with the StatusStr field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetStatusStr -`func (o *CocoapodsPackageUpload) SetStatusStr(v string)` +`func (o *RpmPackageUploadResponse) SetStatusStr(v string)` SetStatusStr sets StatusStr field to given value. ### HasStatusStr -`func (o *CocoapodsPackageUpload) HasStatusStr() bool` +`func (o *RpmPackageUploadResponse) HasStatusStr() bool` HasStatusStr returns a boolean if a field has been set. ### GetStatusUpdatedAt -`func (o *CocoapodsPackageUpload) GetStatusUpdatedAt() string` +`func (o *RpmPackageUploadResponse) GetStatusUpdatedAt() time.Time` GetStatusUpdatedAt returns the StatusUpdatedAt field if non-nil, zero value otherwise. ### GetStatusUpdatedAtOk -`func (o *CocoapodsPackageUpload) GetStatusUpdatedAtOk() (*string, bool)` +`func (o *RpmPackageUploadResponse) GetStatusUpdatedAtOk() (*time.Time, bool)` GetStatusUpdatedAtOk returns a tuple with the StatusUpdatedAt field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetStatusUpdatedAt -`func (o *CocoapodsPackageUpload) SetStatusUpdatedAt(v string)` +`func (o *RpmPackageUploadResponse) SetStatusUpdatedAt(v time.Time)` SetStatusUpdatedAt sets StatusUpdatedAt field to given value. ### HasStatusUpdatedAt -`func (o *CocoapodsPackageUpload) HasStatusUpdatedAt() bool` +`func (o *RpmPackageUploadResponse) HasStatusUpdatedAt() bool` HasStatusUpdatedAt returns a boolean if a field has been set. ### GetStatusUrl -`func (o *CocoapodsPackageUpload) GetStatusUrl() string` +`func (o *RpmPackageUploadResponse) GetStatusUrl() string` GetStatusUrl returns the StatusUrl field if non-nil, zero value otherwise. ### GetStatusUrlOk -`func (o *CocoapodsPackageUpload) GetStatusUrlOk() (*string, bool)` +`func (o *RpmPackageUploadResponse) GetStatusUrlOk() (*string, bool)` GetStatusUrlOk returns a tuple with the StatusUrl field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetStatusUrl -`func (o *CocoapodsPackageUpload) SetStatusUrl(v string)` +`func (o *RpmPackageUploadResponse) SetStatusUrl(v string)` SetStatusUrl sets StatusUrl field to given value. ### HasStatusUrl -`func (o *CocoapodsPackageUpload) HasStatusUrl() bool` +`func (o *RpmPackageUploadResponse) HasStatusUrl() bool` HasStatusUrl returns a boolean if a field has been set. ### GetSubtype -`func (o *CocoapodsPackageUpload) GetSubtype() string` +`func (o *RpmPackageUploadResponse) GetSubtype() string` GetSubtype returns the Subtype field if non-nil, zero value otherwise. ### GetSubtypeOk -`func (o *CocoapodsPackageUpload) GetSubtypeOk() (*string, bool)` +`func (o *RpmPackageUploadResponse) GetSubtypeOk() (*string, bool)` GetSubtypeOk returns a tuple with the Subtype field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetSubtype -`func (o *CocoapodsPackageUpload) SetSubtype(v string)` +`func (o *RpmPackageUploadResponse) SetSubtype(v string)` SetSubtype sets Subtype field to given value. ### HasSubtype -`func (o *CocoapodsPackageUpload) HasSubtype() bool` +`func (o *RpmPackageUploadResponse) HasSubtype() bool` HasSubtype returns a boolean if a field has been set. ### GetSummary -`func (o *CocoapodsPackageUpload) GetSummary() string` +`func (o *RpmPackageUploadResponse) GetSummary() string` GetSummary returns the Summary field if non-nil, zero value otherwise. ### GetSummaryOk -`func (o *CocoapodsPackageUpload) GetSummaryOk() (*string, bool)` +`func (o *RpmPackageUploadResponse) GetSummaryOk() (*string, bool)` GetSummaryOk returns a tuple with the Summary field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetSummary -`func (o *CocoapodsPackageUpload) SetSummary(v string)` +`func (o *RpmPackageUploadResponse) SetSummary(v string)` SetSummary sets Summary field to given value. ### HasSummary -`func (o *CocoapodsPackageUpload) HasSummary() bool` +`func (o *RpmPackageUploadResponse) HasSummary() bool` HasSummary returns a boolean if a field has been set. ### GetSyncFinishedAt -`func (o *CocoapodsPackageUpload) GetSyncFinishedAt() string` +`func (o *RpmPackageUploadResponse) GetSyncFinishedAt() time.Time` GetSyncFinishedAt returns the SyncFinishedAt field if non-nil, zero value otherwise. ### GetSyncFinishedAtOk -`func (o *CocoapodsPackageUpload) GetSyncFinishedAtOk() (*string, bool)` +`func (o *RpmPackageUploadResponse) GetSyncFinishedAtOk() (*time.Time, bool)` GetSyncFinishedAtOk returns a tuple with the SyncFinishedAt field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetSyncFinishedAt -`func (o *CocoapodsPackageUpload) SetSyncFinishedAt(v string)` +`func (o *RpmPackageUploadResponse) SetSyncFinishedAt(v time.Time)` SetSyncFinishedAt sets SyncFinishedAt field to given value. ### HasSyncFinishedAt -`func (o *CocoapodsPackageUpload) HasSyncFinishedAt() bool` +`func (o *RpmPackageUploadResponse) HasSyncFinishedAt() bool` HasSyncFinishedAt returns a boolean if a field has been set. ### GetSyncProgress -`func (o *CocoapodsPackageUpload) GetSyncProgress() int64` +`func (o *RpmPackageUploadResponse) GetSyncProgress() int64` GetSyncProgress returns the SyncProgress field if non-nil, zero value otherwise. ### GetSyncProgressOk -`func (o *CocoapodsPackageUpload) GetSyncProgressOk() (*int64, bool)` +`func (o *RpmPackageUploadResponse) GetSyncProgressOk() (*int64, bool)` GetSyncProgressOk returns a tuple with the SyncProgress field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetSyncProgress -`func (o *CocoapodsPackageUpload) SetSyncProgress(v int64)` +`func (o *RpmPackageUploadResponse) SetSyncProgress(v int64)` SetSyncProgress sets SyncProgress field to given value. ### HasSyncProgress -`func (o *CocoapodsPackageUpload) HasSyncProgress() bool` +`func (o *RpmPackageUploadResponse) HasSyncProgress() bool` HasSyncProgress returns a boolean if a field has been set. ### GetTagsImmutable -`func (o *CocoapodsPackageUpload) GetTagsImmutable() map[string]interface{}` +`func (o *RpmPackageUploadResponse) GetTagsImmutable() map[string]interface{}` GetTagsImmutable returns the TagsImmutable field if non-nil, zero value otherwise. ### GetTagsImmutableOk -`func (o *CocoapodsPackageUpload) GetTagsImmutableOk() (*map[string]interface{}, bool)` +`func (o *RpmPackageUploadResponse) GetTagsImmutableOk() (*map[string]interface{}, bool)` GetTagsImmutableOk returns a tuple with the TagsImmutable field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetTagsImmutable -`func (o *CocoapodsPackageUpload) SetTagsImmutable(v map[string]interface{})` +`func (o *RpmPackageUploadResponse) SetTagsImmutable(v map[string]interface{})` SetTagsImmutable sets TagsImmutable field to given value. ### HasTagsImmutable -`func (o *CocoapodsPackageUpload) HasTagsImmutable() bool` +`func (o *RpmPackageUploadResponse) HasTagsImmutable() bool` HasTagsImmutable returns a boolean if a field has been set. ### GetTypeDisplay -`func (o *CocoapodsPackageUpload) GetTypeDisplay() string` +`func (o *RpmPackageUploadResponse) GetTypeDisplay() string` GetTypeDisplay returns the TypeDisplay field if non-nil, zero value otherwise. ### GetTypeDisplayOk -`func (o *CocoapodsPackageUpload) GetTypeDisplayOk() (*string, bool)` +`func (o *RpmPackageUploadResponse) GetTypeDisplayOk() (*string, bool)` GetTypeDisplayOk returns a tuple with the TypeDisplay field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetTypeDisplay -`func (o *CocoapodsPackageUpload) SetTypeDisplay(v string)` +`func (o *RpmPackageUploadResponse) SetTypeDisplay(v string)` SetTypeDisplay sets TypeDisplay field to given value. ### HasTypeDisplay -`func (o *CocoapodsPackageUpload) HasTypeDisplay() bool` +`func (o *RpmPackageUploadResponse) HasTypeDisplay() bool` HasTypeDisplay returns a boolean if a field has been set. ### GetUploadedAt -`func (o *CocoapodsPackageUpload) GetUploadedAt() string` +`func (o *RpmPackageUploadResponse) GetUploadedAt() time.Time` GetUploadedAt returns the UploadedAt field if non-nil, zero value otherwise. ### GetUploadedAtOk -`func (o *CocoapodsPackageUpload) GetUploadedAtOk() (*string, bool)` +`func (o *RpmPackageUploadResponse) GetUploadedAtOk() (*time.Time, bool)` GetUploadedAtOk returns a tuple with the UploadedAt field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetUploadedAt -`func (o *CocoapodsPackageUpload) SetUploadedAt(v string)` +`func (o *RpmPackageUploadResponse) SetUploadedAt(v time.Time)` SetUploadedAt sets UploadedAt field to given value. ### HasUploadedAt -`func (o *CocoapodsPackageUpload) HasUploadedAt() bool` +`func (o *RpmPackageUploadResponse) HasUploadedAt() bool` HasUploadedAt returns a boolean if a field has been set. ### GetUploader -`func (o *CocoapodsPackageUpload) GetUploader() string` +`func (o *RpmPackageUploadResponse) GetUploader() string` GetUploader returns the Uploader field if non-nil, zero value otherwise. ### GetUploaderOk -`func (o *CocoapodsPackageUpload) GetUploaderOk() (*string, bool)` +`func (o *RpmPackageUploadResponse) GetUploaderOk() (*string, bool)` GetUploaderOk returns a tuple with the Uploader field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetUploader -`func (o *CocoapodsPackageUpload) SetUploader(v string)` +`func (o *RpmPackageUploadResponse) SetUploader(v string)` SetUploader sets Uploader field to given value. ### HasUploader -`func (o *CocoapodsPackageUpload) HasUploader() bool` +`func (o *RpmPackageUploadResponse) HasUploader() bool` HasUploader returns a boolean if a field has been set. ### GetUploaderUrl -`func (o *CocoapodsPackageUpload) GetUploaderUrl() string` +`func (o *RpmPackageUploadResponse) GetUploaderUrl() string` GetUploaderUrl returns the UploaderUrl field if non-nil, zero value otherwise. ### GetUploaderUrlOk -`func (o *CocoapodsPackageUpload) GetUploaderUrlOk() (*string, bool)` +`func (o *RpmPackageUploadResponse) GetUploaderUrlOk() (*string, bool)` GetUploaderUrlOk returns a tuple with the UploaderUrl field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetUploaderUrl -`func (o *CocoapodsPackageUpload) SetUploaderUrl(v string)` +`func (o *RpmPackageUploadResponse) SetUploaderUrl(v string)` SetUploaderUrl sets UploaderUrl field to given value. ### HasUploaderUrl -`func (o *CocoapodsPackageUpload) HasUploaderUrl() bool` +`func (o *RpmPackageUploadResponse) HasUploaderUrl() bool` HasUploaderUrl returns a boolean if a field has been set. ### GetVersion -`func (o *CocoapodsPackageUpload) GetVersion() string` +`func (o *RpmPackageUploadResponse) GetVersion() string` GetVersion returns the Version field if non-nil, zero value otherwise. ### GetVersionOk -`func (o *CocoapodsPackageUpload) GetVersionOk() (*string, bool)` +`func (o *RpmPackageUploadResponse) GetVersionOk() (*string, bool)` GetVersionOk returns a tuple with the Version field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetVersion -`func (o *CocoapodsPackageUpload) SetVersion(v string)` +`func (o *RpmPackageUploadResponse) SetVersion(v string)` SetVersion sets Version field to given value. ### HasVersion -`func (o *CocoapodsPackageUpload) HasVersion() bool` +`func (o *RpmPackageUploadResponse) HasVersion() bool` HasVersion returns a boolean if a field has been set. ### GetVersionOrig -`func (o *CocoapodsPackageUpload) GetVersionOrig() string` +`func (o *RpmPackageUploadResponse) GetVersionOrig() string` GetVersionOrig returns the VersionOrig field if non-nil, zero value otherwise. ### GetVersionOrigOk -`func (o *CocoapodsPackageUpload) GetVersionOrigOk() (*string, bool)` +`func (o *RpmPackageUploadResponse) GetVersionOrigOk() (*string, bool)` GetVersionOrigOk returns a tuple with the VersionOrig field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetVersionOrig -`func (o *CocoapodsPackageUpload) SetVersionOrig(v string)` +`func (o *RpmPackageUploadResponse) SetVersionOrig(v string)` SetVersionOrig sets VersionOrig field to given value. ### HasVersionOrig -`func (o *CocoapodsPackageUpload) HasVersionOrig() bool` +`func (o *RpmPackageUploadResponse) HasVersionOrig() bool` HasVersionOrig returns a boolean if a field has been set. ### GetVulnerabilityScanResultsUrl -`func (o *CocoapodsPackageUpload) GetVulnerabilityScanResultsUrl() string` +`func (o *RpmPackageUploadResponse) GetVulnerabilityScanResultsUrl() string` GetVulnerabilityScanResultsUrl returns the VulnerabilityScanResultsUrl field if non-nil, zero value otherwise. ### GetVulnerabilityScanResultsUrlOk -`func (o *CocoapodsPackageUpload) GetVulnerabilityScanResultsUrlOk() (*string, bool)` +`func (o *RpmPackageUploadResponse) GetVulnerabilityScanResultsUrlOk() (*string, bool)` GetVulnerabilityScanResultsUrlOk returns a tuple with the VulnerabilityScanResultsUrl field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetVulnerabilityScanResultsUrl -`func (o *CocoapodsPackageUpload) SetVulnerabilityScanResultsUrl(v string)` +`func (o *RpmPackageUploadResponse) SetVulnerabilityScanResultsUrl(v string)` SetVulnerabilityScanResultsUrl sets VulnerabilityScanResultsUrl field to given value. ### HasVulnerabilityScanResultsUrl -`func (o *CocoapodsPackageUpload) HasVulnerabilityScanResultsUrl() bool` +`func (o *RpmPackageUploadResponse) HasVulnerabilityScanResultsUrl() bool` HasVulnerabilityScanResultsUrl returns a boolean if a field has been set. diff --git a/docs/RubyPackageUpload.md b/docs/RubyPackageUpload.md deleted file mode 100644 index 40e84e95..00000000 --- a/docs/RubyPackageUpload.md +++ /dev/null @@ -1,1746 +0,0 @@ -# RubyPackageUpload - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**Architectures** | Pointer to [**[]PackagesOwnerRepoArchitectures**](PackagesOwnerRepoArchitectures.md) | | [optional] -**CdnUrl** | Pointer to **string** | | [optional] -**ChecksumMd5** | Pointer to **string** | | [optional] -**ChecksumSha1** | Pointer to **string** | | [optional] -**ChecksumSha256** | Pointer to **string** | | [optional] -**ChecksumSha512** | Pointer to **string** | | [optional] -**DependenciesChecksumMd5** | Pointer to **string** | A checksum of all of the package's dependencies. | [optional] -**DependenciesUrl** | Pointer to **string** | | [optional] -**Description** | Pointer to **string** | A textual description of this package. | [optional] -**Distro** | Pointer to **map[string]interface{}** | | [optional] -**DistroVersion** | Pointer to **map[string]interface{}** | | [optional] -**Downloads** | Pointer to **int64** | | [optional] -**Epoch** | Pointer to **int64** | The epoch of the package version (if any). | [optional] -**Extension** | Pointer to **string** | | [optional] -**Filename** | Pointer to **string** | | [optional] -**Files** | Pointer to [**[]PackagesOwnerRepoFiles**](PackagesOwnerRepoFiles.md) | | [optional] -**Format** | Pointer to **string** | | [optional] -**FormatUrl** | Pointer to **string** | | [optional] -**IdentifierPerm** | Pointer to **string** | Unique and permanent identifier for the package. | [optional] -**Indexed** | Pointer to **bool** | | [optional] -**IsDownloadable** | Pointer to **bool** | | [optional] -**IsQuarantined** | Pointer to **bool** | | [optional] -**IsSyncAwaiting** | Pointer to **bool** | | [optional] -**IsSyncCompleted** | Pointer to **bool** | | [optional] -**IsSyncFailed** | Pointer to **bool** | | [optional] -**IsSyncInFlight** | Pointer to **bool** | | [optional] -**IsSyncInProgress** | Pointer to **bool** | | [optional] -**License** | Pointer to **string** | The license of this package. | [optional] -**Name** | Pointer to **string** | The name of this package. | [optional] -**Namespace** | Pointer to **string** | | [optional] -**NamespaceUrl** | Pointer to **string** | | [optional] -**NumFiles** | Pointer to **int64** | | [optional] -**PackageType** | Pointer to **int64** | The type of package contents. | [optional] -**Release** | Pointer to **string** | The release of the package version (if any). | [optional] -**Repository** | Pointer to **string** | | [optional] -**RepositoryUrl** | Pointer to **string** | | [optional] -**SecurityScanCompletedAt** | Pointer to **string** | The datetime the security scanning was completed. | [optional] -**SecurityScanStartedAt** | Pointer to **string** | The datetime the security scanning was started. | [optional] -**SecurityScanStatus** | Pointer to **string** | | [optional] -**SecurityScanStatusUpdatedAt** | Pointer to **string** | The datetime the security scanning status was updated. | [optional] -**SelfHtmlUrl** | Pointer to **string** | | [optional] -**SelfUrl** | Pointer to **string** | | [optional] -**SignatureUrl** | Pointer to **string** | | [optional] -**Size** | Pointer to **int64** | The calculated size of the package. | [optional] -**Slug** | Pointer to **string** | The public unique identifier for the package. | [optional] -**SlugPerm** | Pointer to **string** | | [optional] -**Stage** | Pointer to **int64** | The synchronisation (in progress) stage of the package. | [optional] -**StageStr** | Pointer to **string** | | [optional] -**StageUpdatedAt** | Pointer to **string** | The datetime the package stage was updated at. | [optional] -**Status** | Pointer to **int64** | The synchronisation status of the package. | [optional] -**StatusReason** | Pointer to **string** | A textual description for the synchronous status reason (if any | [optional] -**StatusStr** | Pointer to **string** | | [optional] -**StatusUpdatedAt** | Pointer to **string** | The datetime the package status was updated at. | [optional] -**StatusUrl** | Pointer to **string** | | [optional] -**Subtype** | Pointer to **string** | | [optional] -**Summary** | Pointer to **string** | A one-liner synopsis of this package. | [optional] -**SyncFinishedAt** | Pointer to **string** | The datetime the package sync was finished at. | [optional] -**SyncProgress** | Pointer to **int64** | Synchronisation progress (from 0-100) | [optional] -**TagsImmutable** | Pointer to **map[string]interface{}** | All immutable tags on the package, grouped by tag type. Immutable tags cannot be (easily) deleted. | [optional] -**TypeDisplay** | Pointer to **string** | | [optional] -**UploadedAt** | Pointer to **string** | The date this package was uploaded. | [optional] -**Uploader** | Pointer to **string** | | [optional] -**UploaderUrl** | Pointer to **string** | | [optional] -**Version** | Pointer to **string** | The raw version for this package. | [optional] -**VersionOrig** | Pointer to **string** | | [optional] -**VulnerabilityScanResultsUrl** | Pointer to **string** | | [optional] - -## Methods - -### NewRubyPackageUpload - -`func NewRubyPackageUpload() *RubyPackageUpload` - -NewRubyPackageUpload instantiates a new RubyPackageUpload object -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 - -### NewRubyPackageUploadWithDefaults - -`func NewRubyPackageUploadWithDefaults() *RubyPackageUpload` - -NewRubyPackageUploadWithDefaults instantiates a new RubyPackageUpload object -This constructor will only assign default values to properties that have it defined, -but it doesn't guarantee that properties required by API are set - -### GetArchitectures - -`func (o *RubyPackageUpload) GetArchitectures() []PackagesOwnerRepoArchitectures` - -GetArchitectures returns the Architectures field if non-nil, zero value otherwise. - -### GetArchitecturesOk - -`func (o *RubyPackageUpload) GetArchitecturesOk() (*[]PackagesOwnerRepoArchitectures, bool)` - -GetArchitecturesOk returns a tuple with the Architectures field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetArchitectures - -`func (o *RubyPackageUpload) SetArchitectures(v []PackagesOwnerRepoArchitectures)` - -SetArchitectures sets Architectures field to given value. - -### HasArchitectures - -`func (o *RubyPackageUpload) HasArchitectures() bool` - -HasArchitectures returns a boolean if a field has been set. - -### GetCdnUrl - -`func (o *RubyPackageUpload) GetCdnUrl() string` - -GetCdnUrl returns the CdnUrl field if non-nil, zero value otherwise. - -### GetCdnUrlOk - -`func (o *RubyPackageUpload) GetCdnUrlOk() (*string, bool)` - -GetCdnUrlOk returns a tuple with the CdnUrl field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetCdnUrl - -`func (o *RubyPackageUpload) SetCdnUrl(v string)` - -SetCdnUrl sets CdnUrl field to given value. - -### HasCdnUrl - -`func (o *RubyPackageUpload) HasCdnUrl() bool` - -HasCdnUrl returns a boolean if a field has been set. - -### GetChecksumMd5 - -`func (o *RubyPackageUpload) GetChecksumMd5() string` - -GetChecksumMd5 returns the ChecksumMd5 field if non-nil, zero value otherwise. - -### GetChecksumMd5Ok - -`func (o *RubyPackageUpload) GetChecksumMd5Ok() (*string, bool)` - -GetChecksumMd5Ok returns a tuple with the ChecksumMd5 field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetChecksumMd5 - -`func (o *RubyPackageUpload) SetChecksumMd5(v string)` - -SetChecksumMd5 sets ChecksumMd5 field to given value. - -### HasChecksumMd5 - -`func (o *RubyPackageUpload) HasChecksumMd5() bool` - -HasChecksumMd5 returns a boolean if a field has been set. - -### GetChecksumSha1 - -`func (o *RubyPackageUpload) GetChecksumSha1() string` - -GetChecksumSha1 returns the ChecksumSha1 field if non-nil, zero value otherwise. - -### GetChecksumSha1Ok - -`func (o *RubyPackageUpload) GetChecksumSha1Ok() (*string, bool)` - -GetChecksumSha1Ok returns a tuple with the ChecksumSha1 field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetChecksumSha1 - -`func (o *RubyPackageUpload) SetChecksumSha1(v string)` - -SetChecksumSha1 sets ChecksumSha1 field to given value. - -### HasChecksumSha1 - -`func (o *RubyPackageUpload) HasChecksumSha1() bool` - -HasChecksumSha1 returns a boolean if a field has been set. - -### GetChecksumSha256 - -`func (o *RubyPackageUpload) GetChecksumSha256() string` - -GetChecksumSha256 returns the ChecksumSha256 field if non-nil, zero value otherwise. - -### GetChecksumSha256Ok - -`func (o *RubyPackageUpload) GetChecksumSha256Ok() (*string, bool)` - -GetChecksumSha256Ok returns a tuple with the ChecksumSha256 field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetChecksumSha256 - -`func (o *RubyPackageUpload) SetChecksumSha256(v string)` - -SetChecksumSha256 sets ChecksumSha256 field to given value. - -### HasChecksumSha256 - -`func (o *RubyPackageUpload) HasChecksumSha256() bool` - -HasChecksumSha256 returns a boolean if a field has been set. - -### GetChecksumSha512 - -`func (o *RubyPackageUpload) GetChecksumSha512() string` - -GetChecksumSha512 returns the ChecksumSha512 field if non-nil, zero value otherwise. - -### GetChecksumSha512Ok - -`func (o *RubyPackageUpload) GetChecksumSha512Ok() (*string, bool)` - -GetChecksumSha512Ok returns a tuple with the ChecksumSha512 field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetChecksumSha512 - -`func (o *RubyPackageUpload) SetChecksumSha512(v string)` - -SetChecksumSha512 sets ChecksumSha512 field to given value. - -### HasChecksumSha512 - -`func (o *RubyPackageUpload) HasChecksumSha512() bool` - -HasChecksumSha512 returns a boolean if a field has been set. - -### GetDependenciesChecksumMd5 - -`func (o *RubyPackageUpload) GetDependenciesChecksumMd5() string` - -GetDependenciesChecksumMd5 returns the DependenciesChecksumMd5 field if non-nil, zero value otherwise. - -### GetDependenciesChecksumMd5Ok - -`func (o *RubyPackageUpload) GetDependenciesChecksumMd5Ok() (*string, bool)` - -GetDependenciesChecksumMd5Ok returns a tuple with the DependenciesChecksumMd5 field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetDependenciesChecksumMd5 - -`func (o *RubyPackageUpload) SetDependenciesChecksumMd5(v string)` - -SetDependenciesChecksumMd5 sets DependenciesChecksumMd5 field to given value. - -### HasDependenciesChecksumMd5 - -`func (o *RubyPackageUpload) HasDependenciesChecksumMd5() bool` - -HasDependenciesChecksumMd5 returns a boolean if a field has been set. - -### GetDependenciesUrl - -`func (o *RubyPackageUpload) GetDependenciesUrl() string` - -GetDependenciesUrl returns the DependenciesUrl field if non-nil, zero value otherwise. - -### GetDependenciesUrlOk - -`func (o *RubyPackageUpload) GetDependenciesUrlOk() (*string, bool)` - -GetDependenciesUrlOk returns a tuple with the DependenciesUrl field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetDependenciesUrl - -`func (o *RubyPackageUpload) SetDependenciesUrl(v string)` - -SetDependenciesUrl sets DependenciesUrl field to given value. - -### HasDependenciesUrl - -`func (o *RubyPackageUpload) HasDependenciesUrl() bool` - -HasDependenciesUrl returns a boolean if a field has been set. - -### GetDescription - -`func (o *RubyPackageUpload) GetDescription() string` - -GetDescription returns the Description field if non-nil, zero value otherwise. - -### GetDescriptionOk - -`func (o *RubyPackageUpload) GetDescriptionOk() (*string, bool)` - -GetDescriptionOk returns a tuple with the Description field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetDescription - -`func (o *RubyPackageUpload) SetDescription(v string)` - -SetDescription sets Description field to given value. - -### HasDescription - -`func (o *RubyPackageUpload) HasDescription() bool` - -HasDescription returns a boolean if a field has been set. - -### GetDistro - -`func (o *RubyPackageUpload) GetDistro() map[string]interface{}` - -GetDistro returns the Distro field if non-nil, zero value otherwise. - -### GetDistroOk - -`func (o *RubyPackageUpload) GetDistroOk() (*map[string]interface{}, bool)` - -GetDistroOk returns a tuple with the Distro field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetDistro - -`func (o *RubyPackageUpload) SetDistro(v map[string]interface{})` - -SetDistro sets Distro field to given value. - -### HasDistro - -`func (o *RubyPackageUpload) HasDistro() bool` - -HasDistro returns a boolean if a field has been set. - -### GetDistroVersion - -`func (o *RubyPackageUpload) GetDistroVersion() map[string]interface{}` - -GetDistroVersion returns the DistroVersion field if non-nil, zero value otherwise. - -### GetDistroVersionOk - -`func (o *RubyPackageUpload) GetDistroVersionOk() (*map[string]interface{}, bool)` - -GetDistroVersionOk returns a tuple with the DistroVersion field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetDistroVersion - -`func (o *RubyPackageUpload) SetDistroVersion(v map[string]interface{})` - -SetDistroVersion sets DistroVersion field to given value. - -### HasDistroVersion - -`func (o *RubyPackageUpload) HasDistroVersion() bool` - -HasDistroVersion returns a boolean if a field has been set. - -### GetDownloads - -`func (o *RubyPackageUpload) GetDownloads() int64` - -GetDownloads returns the Downloads field if non-nil, zero value otherwise. - -### GetDownloadsOk - -`func (o *RubyPackageUpload) GetDownloadsOk() (*int64, bool)` - -GetDownloadsOk returns a tuple with the Downloads field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetDownloads - -`func (o *RubyPackageUpload) SetDownloads(v int64)` - -SetDownloads sets Downloads field to given value. - -### HasDownloads - -`func (o *RubyPackageUpload) HasDownloads() bool` - -HasDownloads returns a boolean if a field has been set. - -### GetEpoch - -`func (o *RubyPackageUpload) GetEpoch() int64` - -GetEpoch returns the Epoch field if non-nil, zero value otherwise. - -### GetEpochOk - -`func (o *RubyPackageUpload) GetEpochOk() (*int64, bool)` - -GetEpochOk returns a tuple with the Epoch field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetEpoch - -`func (o *RubyPackageUpload) SetEpoch(v int64)` - -SetEpoch sets Epoch field to given value. - -### HasEpoch - -`func (o *RubyPackageUpload) HasEpoch() bool` - -HasEpoch returns a boolean if a field has been set. - -### GetExtension - -`func (o *RubyPackageUpload) GetExtension() string` - -GetExtension returns the Extension field if non-nil, zero value otherwise. - -### GetExtensionOk - -`func (o *RubyPackageUpload) GetExtensionOk() (*string, bool)` - -GetExtensionOk returns a tuple with the Extension field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetExtension - -`func (o *RubyPackageUpload) SetExtension(v string)` - -SetExtension sets Extension field to given value. - -### HasExtension - -`func (o *RubyPackageUpload) HasExtension() bool` - -HasExtension returns a boolean if a field has been set. - -### GetFilename - -`func (o *RubyPackageUpload) GetFilename() string` - -GetFilename returns the Filename field if non-nil, zero value otherwise. - -### GetFilenameOk - -`func (o *RubyPackageUpload) GetFilenameOk() (*string, bool)` - -GetFilenameOk returns a tuple with the Filename field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetFilename - -`func (o *RubyPackageUpload) SetFilename(v string)` - -SetFilename sets Filename field to given value. - -### HasFilename - -`func (o *RubyPackageUpload) HasFilename() bool` - -HasFilename returns a boolean if a field has been set. - -### GetFiles - -`func (o *RubyPackageUpload) GetFiles() []PackagesOwnerRepoFiles` - -GetFiles returns the Files field if non-nil, zero value otherwise. - -### GetFilesOk - -`func (o *RubyPackageUpload) GetFilesOk() (*[]PackagesOwnerRepoFiles, 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 *RubyPackageUpload) SetFiles(v []PackagesOwnerRepoFiles)` - -SetFiles sets Files field to given value. - -### HasFiles - -`func (o *RubyPackageUpload) HasFiles() bool` - -HasFiles returns a boolean if a field has been set. - -### GetFormat - -`func (o *RubyPackageUpload) GetFormat() string` - -GetFormat returns the Format field if non-nil, zero value otherwise. - -### GetFormatOk - -`func (o *RubyPackageUpload) GetFormatOk() (*string, bool)` - -GetFormatOk returns a tuple with the Format field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetFormat - -`func (o *RubyPackageUpload) SetFormat(v string)` - -SetFormat sets Format field to given value. - -### HasFormat - -`func (o *RubyPackageUpload) HasFormat() bool` - -HasFormat returns a boolean if a field has been set. - -### GetFormatUrl - -`func (o *RubyPackageUpload) GetFormatUrl() string` - -GetFormatUrl returns the FormatUrl field if non-nil, zero value otherwise. - -### GetFormatUrlOk - -`func (o *RubyPackageUpload) GetFormatUrlOk() (*string, bool)` - -GetFormatUrlOk returns a tuple with the FormatUrl field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetFormatUrl - -`func (o *RubyPackageUpload) SetFormatUrl(v string)` - -SetFormatUrl sets FormatUrl field to given value. - -### HasFormatUrl - -`func (o *RubyPackageUpload) HasFormatUrl() bool` - -HasFormatUrl returns a boolean if a field has been set. - -### GetIdentifierPerm - -`func (o *RubyPackageUpload) GetIdentifierPerm() string` - -GetIdentifierPerm returns the IdentifierPerm field if non-nil, zero value otherwise. - -### GetIdentifierPermOk - -`func (o *RubyPackageUpload) GetIdentifierPermOk() (*string, bool)` - -GetIdentifierPermOk returns a tuple with the IdentifierPerm field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetIdentifierPerm - -`func (o *RubyPackageUpload) SetIdentifierPerm(v string)` - -SetIdentifierPerm sets IdentifierPerm field to given value. - -### HasIdentifierPerm - -`func (o *RubyPackageUpload) HasIdentifierPerm() bool` - -HasIdentifierPerm returns a boolean if a field has been set. - -### GetIndexed - -`func (o *RubyPackageUpload) GetIndexed() bool` - -GetIndexed returns the Indexed field if non-nil, zero value otherwise. - -### GetIndexedOk - -`func (o *RubyPackageUpload) GetIndexedOk() (*bool, bool)` - -GetIndexedOk returns a tuple with the Indexed field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetIndexed - -`func (o *RubyPackageUpload) SetIndexed(v bool)` - -SetIndexed sets Indexed field to given value. - -### HasIndexed - -`func (o *RubyPackageUpload) HasIndexed() bool` - -HasIndexed returns a boolean if a field has been set. - -### GetIsDownloadable - -`func (o *RubyPackageUpload) GetIsDownloadable() bool` - -GetIsDownloadable returns the IsDownloadable field if non-nil, zero value otherwise. - -### GetIsDownloadableOk - -`func (o *RubyPackageUpload) GetIsDownloadableOk() (*bool, bool)` - -GetIsDownloadableOk returns a tuple with the IsDownloadable field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetIsDownloadable - -`func (o *RubyPackageUpload) SetIsDownloadable(v bool)` - -SetIsDownloadable sets IsDownloadable field to given value. - -### HasIsDownloadable - -`func (o *RubyPackageUpload) HasIsDownloadable() bool` - -HasIsDownloadable returns a boolean if a field has been set. - -### GetIsQuarantined - -`func (o *RubyPackageUpload) GetIsQuarantined() bool` - -GetIsQuarantined returns the IsQuarantined field if non-nil, zero value otherwise. - -### GetIsQuarantinedOk - -`func (o *RubyPackageUpload) GetIsQuarantinedOk() (*bool, bool)` - -GetIsQuarantinedOk returns a tuple with the IsQuarantined field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetIsQuarantined - -`func (o *RubyPackageUpload) SetIsQuarantined(v bool)` - -SetIsQuarantined sets IsQuarantined field to given value. - -### HasIsQuarantined - -`func (o *RubyPackageUpload) HasIsQuarantined() bool` - -HasIsQuarantined returns a boolean if a field has been set. - -### GetIsSyncAwaiting - -`func (o *RubyPackageUpload) GetIsSyncAwaiting() bool` - -GetIsSyncAwaiting returns the IsSyncAwaiting field if non-nil, zero value otherwise. - -### GetIsSyncAwaitingOk - -`func (o *RubyPackageUpload) GetIsSyncAwaitingOk() (*bool, bool)` - -GetIsSyncAwaitingOk returns a tuple with the IsSyncAwaiting field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetIsSyncAwaiting - -`func (o *RubyPackageUpload) SetIsSyncAwaiting(v bool)` - -SetIsSyncAwaiting sets IsSyncAwaiting field to given value. - -### HasIsSyncAwaiting - -`func (o *RubyPackageUpload) HasIsSyncAwaiting() bool` - -HasIsSyncAwaiting returns a boolean if a field has been set. - -### GetIsSyncCompleted - -`func (o *RubyPackageUpload) GetIsSyncCompleted() bool` - -GetIsSyncCompleted returns the IsSyncCompleted field if non-nil, zero value otherwise. - -### GetIsSyncCompletedOk - -`func (o *RubyPackageUpload) GetIsSyncCompletedOk() (*bool, bool)` - -GetIsSyncCompletedOk returns a tuple with the IsSyncCompleted field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetIsSyncCompleted - -`func (o *RubyPackageUpload) SetIsSyncCompleted(v bool)` - -SetIsSyncCompleted sets IsSyncCompleted field to given value. - -### HasIsSyncCompleted - -`func (o *RubyPackageUpload) HasIsSyncCompleted() bool` - -HasIsSyncCompleted returns a boolean if a field has been set. - -### GetIsSyncFailed - -`func (o *RubyPackageUpload) GetIsSyncFailed() bool` - -GetIsSyncFailed returns the IsSyncFailed field if non-nil, zero value otherwise. - -### GetIsSyncFailedOk - -`func (o *RubyPackageUpload) GetIsSyncFailedOk() (*bool, bool)` - -GetIsSyncFailedOk returns a tuple with the IsSyncFailed field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetIsSyncFailed - -`func (o *RubyPackageUpload) SetIsSyncFailed(v bool)` - -SetIsSyncFailed sets IsSyncFailed field to given value. - -### HasIsSyncFailed - -`func (o *RubyPackageUpload) HasIsSyncFailed() bool` - -HasIsSyncFailed returns a boolean if a field has been set. - -### GetIsSyncInFlight - -`func (o *RubyPackageUpload) GetIsSyncInFlight() bool` - -GetIsSyncInFlight returns the IsSyncInFlight field if non-nil, zero value otherwise. - -### GetIsSyncInFlightOk - -`func (o *RubyPackageUpload) GetIsSyncInFlightOk() (*bool, bool)` - -GetIsSyncInFlightOk returns a tuple with the IsSyncInFlight field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetIsSyncInFlight - -`func (o *RubyPackageUpload) SetIsSyncInFlight(v bool)` - -SetIsSyncInFlight sets IsSyncInFlight field to given value. - -### HasIsSyncInFlight - -`func (o *RubyPackageUpload) HasIsSyncInFlight() bool` - -HasIsSyncInFlight returns a boolean if a field has been set. - -### GetIsSyncInProgress - -`func (o *RubyPackageUpload) GetIsSyncInProgress() bool` - -GetIsSyncInProgress returns the IsSyncInProgress field if non-nil, zero value otherwise. - -### GetIsSyncInProgressOk - -`func (o *RubyPackageUpload) GetIsSyncInProgressOk() (*bool, bool)` - -GetIsSyncInProgressOk returns a tuple with the IsSyncInProgress field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetIsSyncInProgress - -`func (o *RubyPackageUpload) SetIsSyncInProgress(v bool)` - -SetIsSyncInProgress sets IsSyncInProgress field to given value. - -### HasIsSyncInProgress - -`func (o *RubyPackageUpload) HasIsSyncInProgress() bool` - -HasIsSyncInProgress returns a boolean if a field has been set. - -### GetLicense - -`func (o *RubyPackageUpload) GetLicense() string` - -GetLicense returns the License field if non-nil, zero value otherwise. - -### GetLicenseOk - -`func (o *RubyPackageUpload) GetLicenseOk() (*string, bool)` - -GetLicenseOk returns a tuple with the License field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetLicense - -`func (o *RubyPackageUpload) SetLicense(v string)` - -SetLicense sets License field to given value. - -### HasLicense - -`func (o *RubyPackageUpload) HasLicense() bool` - -HasLicense returns a boolean if a field has been set. - -### GetName - -`func (o *RubyPackageUpload) GetName() string` - -GetName returns the Name field if non-nil, zero value otherwise. - -### GetNameOk - -`func (o *RubyPackageUpload) GetNameOk() (*string, bool)` - -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. - -### SetName - -`func (o *RubyPackageUpload) SetName(v string)` - -SetName sets Name field to given value. - -### HasName - -`func (o *RubyPackageUpload) HasName() bool` - -HasName returns a boolean if a field has been set. - -### GetNamespace - -`func (o *RubyPackageUpload) GetNamespace() string` - -GetNamespace returns the Namespace field if non-nil, zero value otherwise. - -### GetNamespaceOk - -`func (o *RubyPackageUpload) GetNamespaceOk() (*string, bool)` - -GetNamespaceOk returns a tuple with the Namespace field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetNamespace - -`func (o *RubyPackageUpload) SetNamespace(v string)` - -SetNamespace sets Namespace field to given value. - -### HasNamespace - -`func (o *RubyPackageUpload) HasNamespace() bool` - -HasNamespace returns a boolean if a field has been set. - -### GetNamespaceUrl - -`func (o *RubyPackageUpload) GetNamespaceUrl() string` - -GetNamespaceUrl returns the NamespaceUrl field if non-nil, zero value otherwise. - -### GetNamespaceUrlOk - -`func (o *RubyPackageUpload) GetNamespaceUrlOk() (*string, bool)` - -GetNamespaceUrlOk returns a tuple with the NamespaceUrl field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetNamespaceUrl - -`func (o *RubyPackageUpload) SetNamespaceUrl(v string)` - -SetNamespaceUrl sets NamespaceUrl field to given value. - -### HasNamespaceUrl - -`func (o *RubyPackageUpload) HasNamespaceUrl() bool` - -HasNamespaceUrl returns a boolean if a field has been set. - -### GetNumFiles - -`func (o *RubyPackageUpload) GetNumFiles() int64` - -GetNumFiles returns the NumFiles field if non-nil, zero value otherwise. - -### GetNumFilesOk - -`func (o *RubyPackageUpload) GetNumFilesOk() (*int64, bool)` - -GetNumFilesOk returns a tuple with the NumFiles field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetNumFiles - -`func (o *RubyPackageUpload) SetNumFiles(v int64)` - -SetNumFiles sets NumFiles field to given value. - -### HasNumFiles - -`func (o *RubyPackageUpload) HasNumFiles() bool` - -HasNumFiles returns a boolean if a field has been set. - -### GetPackageType - -`func (o *RubyPackageUpload) GetPackageType() int64` - -GetPackageType returns the PackageType field if non-nil, zero value otherwise. - -### GetPackageTypeOk - -`func (o *RubyPackageUpload) GetPackageTypeOk() (*int64, bool)` - -GetPackageTypeOk returns a tuple with the PackageType field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetPackageType - -`func (o *RubyPackageUpload) SetPackageType(v int64)` - -SetPackageType sets PackageType field to given value. - -### HasPackageType - -`func (o *RubyPackageUpload) HasPackageType() bool` - -HasPackageType returns a boolean if a field has been set. - -### GetRelease - -`func (o *RubyPackageUpload) GetRelease() string` - -GetRelease returns the Release field if non-nil, zero value otherwise. - -### GetReleaseOk - -`func (o *RubyPackageUpload) GetReleaseOk() (*string, bool)` - -GetReleaseOk returns a tuple with the Release field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetRelease - -`func (o *RubyPackageUpload) SetRelease(v string)` - -SetRelease sets Release field to given value. - -### HasRelease - -`func (o *RubyPackageUpload) HasRelease() bool` - -HasRelease returns a boolean if a field has been set. - -### GetRepository - -`func (o *RubyPackageUpload) GetRepository() string` - -GetRepository returns the Repository field if non-nil, zero value otherwise. - -### GetRepositoryOk - -`func (o *RubyPackageUpload) GetRepositoryOk() (*string, bool)` - -GetRepositoryOk returns a tuple with the Repository field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetRepository - -`func (o *RubyPackageUpload) SetRepository(v string)` - -SetRepository sets Repository field to given value. - -### HasRepository - -`func (o *RubyPackageUpload) HasRepository() bool` - -HasRepository returns a boolean if a field has been set. - -### GetRepositoryUrl - -`func (o *RubyPackageUpload) GetRepositoryUrl() string` - -GetRepositoryUrl returns the RepositoryUrl field if non-nil, zero value otherwise. - -### GetRepositoryUrlOk - -`func (o *RubyPackageUpload) GetRepositoryUrlOk() (*string, bool)` - -GetRepositoryUrlOk returns a tuple with the RepositoryUrl field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetRepositoryUrl - -`func (o *RubyPackageUpload) SetRepositoryUrl(v string)` - -SetRepositoryUrl sets RepositoryUrl field to given value. - -### HasRepositoryUrl - -`func (o *RubyPackageUpload) HasRepositoryUrl() bool` - -HasRepositoryUrl returns a boolean if a field has been set. - -### GetSecurityScanCompletedAt - -`func (o *RubyPackageUpload) GetSecurityScanCompletedAt() string` - -GetSecurityScanCompletedAt returns the SecurityScanCompletedAt field if non-nil, zero value otherwise. - -### GetSecurityScanCompletedAtOk - -`func (o *RubyPackageUpload) GetSecurityScanCompletedAtOk() (*string, bool)` - -GetSecurityScanCompletedAtOk returns a tuple with the SecurityScanCompletedAt field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetSecurityScanCompletedAt - -`func (o *RubyPackageUpload) SetSecurityScanCompletedAt(v string)` - -SetSecurityScanCompletedAt sets SecurityScanCompletedAt field to given value. - -### HasSecurityScanCompletedAt - -`func (o *RubyPackageUpload) HasSecurityScanCompletedAt() bool` - -HasSecurityScanCompletedAt returns a boolean if a field has been set. - -### GetSecurityScanStartedAt - -`func (o *RubyPackageUpload) GetSecurityScanStartedAt() string` - -GetSecurityScanStartedAt returns the SecurityScanStartedAt field if non-nil, zero value otherwise. - -### GetSecurityScanStartedAtOk - -`func (o *RubyPackageUpload) GetSecurityScanStartedAtOk() (*string, bool)` - -GetSecurityScanStartedAtOk returns a tuple with the SecurityScanStartedAt field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetSecurityScanStartedAt - -`func (o *RubyPackageUpload) SetSecurityScanStartedAt(v string)` - -SetSecurityScanStartedAt sets SecurityScanStartedAt field to given value. - -### HasSecurityScanStartedAt - -`func (o *RubyPackageUpload) HasSecurityScanStartedAt() bool` - -HasSecurityScanStartedAt returns a boolean if a field has been set. - -### GetSecurityScanStatus - -`func (o *RubyPackageUpload) GetSecurityScanStatus() string` - -GetSecurityScanStatus returns the SecurityScanStatus field if non-nil, zero value otherwise. - -### GetSecurityScanStatusOk - -`func (o *RubyPackageUpload) GetSecurityScanStatusOk() (*string, bool)` - -GetSecurityScanStatusOk returns a tuple with the SecurityScanStatus field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetSecurityScanStatus - -`func (o *RubyPackageUpload) SetSecurityScanStatus(v string)` - -SetSecurityScanStatus sets SecurityScanStatus field to given value. - -### HasSecurityScanStatus - -`func (o *RubyPackageUpload) HasSecurityScanStatus() bool` - -HasSecurityScanStatus returns a boolean if a field has been set. - -### GetSecurityScanStatusUpdatedAt - -`func (o *RubyPackageUpload) GetSecurityScanStatusUpdatedAt() string` - -GetSecurityScanStatusUpdatedAt returns the SecurityScanStatusUpdatedAt field if non-nil, zero value otherwise. - -### GetSecurityScanStatusUpdatedAtOk - -`func (o *RubyPackageUpload) GetSecurityScanStatusUpdatedAtOk() (*string, bool)` - -GetSecurityScanStatusUpdatedAtOk returns a tuple with the SecurityScanStatusUpdatedAt field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetSecurityScanStatusUpdatedAt - -`func (o *RubyPackageUpload) SetSecurityScanStatusUpdatedAt(v string)` - -SetSecurityScanStatusUpdatedAt sets SecurityScanStatusUpdatedAt field to given value. - -### HasSecurityScanStatusUpdatedAt - -`func (o *RubyPackageUpload) HasSecurityScanStatusUpdatedAt() bool` - -HasSecurityScanStatusUpdatedAt returns a boolean if a field has been set. - -### GetSelfHtmlUrl - -`func (o *RubyPackageUpload) GetSelfHtmlUrl() string` - -GetSelfHtmlUrl returns the SelfHtmlUrl field if non-nil, zero value otherwise. - -### GetSelfHtmlUrlOk - -`func (o *RubyPackageUpload) GetSelfHtmlUrlOk() (*string, bool)` - -GetSelfHtmlUrlOk returns a tuple with the SelfHtmlUrl field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetSelfHtmlUrl - -`func (o *RubyPackageUpload) SetSelfHtmlUrl(v string)` - -SetSelfHtmlUrl sets SelfHtmlUrl field to given value. - -### HasSelfHtmlUrl - -`func (o *RubyPackageUpload) HasSelfHtmlUrl() bool` - -HasSelfHtmlUrl returns a boolean if a field has been set. - -### GetSelfUrl - -`func (o *RubyPackageUpload) GetSelfUrl() string` - -GetSelfUrl returns the SelfUrl field if non-nil, zero value otherwise. - -### GetSelfUrlOk - -`func (o *RubyPackageUpload) GetSelfUrlOk() (*string, bool)` - -GetSelfUrlOk returns a tuple with the SelfUrl field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetSelfUrl - -`func (o *RubyPackageUpload) SetSelfUrl(v string)` - -SetSelfUrl sets SelfUrl field to given value. - -### HasSelfUrl - -`func (o *RubyPackageUpload) HasSelfUrl() bool` - -HasSelfUrl returns a boolean if a field has been set. - -### GetSignatureUrl - -`func (o *RubyPackageUpload) GetSignatureUrl() string` - -GetSignatureUrl returns the SignatureUrl field if non-nil, zero value otherwise. - -### GetSignatureUrlOk - -`func (o *RubyPackageUpload) GetSignatureUrlOk() (*string, bool)` - -GetSignatureUrlOk returns a tuple with the SignatureUrl field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetSignatureUrl - -`func (o *RubyPackageUpload) SetSignatureUrl(v string)` - -SetSignatureUrl sets SignatureUrl field to given value. - -### HasSignatureUrl - -`func (o *RubyPackageUpload) HasSignatureUrl() bool` - -HasSignatureUrl returns a boolean if a field has been set. - -### GetSize - -`func (o *RubyPackageUpload) GetSize() int64` - -GetSize returns the Size field if non-nil, zero value otherwise. - -### GetSizeOk - -`func (o *RubyPackageUpload) GetSizeOk() (*int64, bool)` - -GetSizeOk returns a tuple with the Size field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetSize - -`func (o *RubyPackageUpload) SetSize(v int64)` - -SetSize sets Size field to given value. - -### HasSize - -`func (o *RubyPackageUpload) HasSize() bool` - -HasSize returns a boolean if a field has been set. - -### GetSlug - -`func (o *RubyPackageUpload) GetSlug() string` - -GetSlug returns the Slug field if non-nil, zero value otherwise. - -### GetSlugOk - -`func (o *RubyPackageUpload) GetSlugOk() (*string, bool)` - -GetSlugOk returns a tuple with the Slug field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetSlug - -`func (o *RubyPackageUpload) SetSlug(v string)` - -SetSlug sets Slug field to given value. - -### HasSlug - -`func (o *RubyPackageUpload) HasSlug() bool` - -HasSlug returns a boolean if a field has been set. - -### GetSlugPerm - -`func (o *RubyPackageUpload) GetSlugPerm() string` - -GetSlugPerm returns the SlugPerm field if non-nil, zero value otherwise. - -### GetSlugPermOk - -`func (o *RubyPackageUpload) GetSlugPermOk() (*string, bool)` - -GetSlugPermOk returns a tuple with the SlugPerm field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetSlugPerm - -`func (o *RubyPackageUpload) SetSlugPerm(v string)` - -SetSlugPerm sets SlugPerm field to given value. - -### HasSlugPerm - -`func (o *RubyPackageUpload) HasSlugPerm() bool` - -HasSlugPerm returns a boolean if a field has been set. - -### GetStage - -`func (o *RubyPackageUpload) GetStage() int64` - -GetStage returns the Stage field if non-nil, zero value otherwise. - -### GetStageOk - -`func (o *RubyPackageUpload) GetStageOk() (*int64, bool)` - -GetStageOk returns a tuple with the Stage field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetStage - -`func (o *RubyPackageUpload) SetStage(v int64)` - -SetStage sets Stage field to given value. - -### HasStage - -`func (o *RubyPackageUpload) HasStage() bool` - -HasStage returns a boolean if a field has been set. - -### GetStageStr - -`func (o *RubyPackageUpload) GetStageStr() string` - -GetStageStr returns the StageStr field if non-nil, zero value otherwise. - -### GetStageStrOk - -`func (o *RubyPackageUpload) GetStageStrOk() (*string, bool)` - -GetStageStrOk returns a tuple with the StageStr field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetStageStr - -`func (o *RubyPackageUpload) SetStageStr(v string)` - -SetStageStr sets StageStr field to given value. - -### HasStageStr - -`func (o *RubyPackageUpload) HasStageStr() bool` - -HasStageStr returns a boolean if a field has been set. - -### GetStageUpdatedAt - -`func (o *RubyPackageUpload) GetStageUpdatedAt() string` - -GetStageUpdatedAt returns the StageUpdatedAt field if non-nil, zero value otherwise. - -### GetStageUpdatedAtOk - -`func (o *RubyPackageUpload) GetStageUpdatedAtOk() (*string, bool)` - -GetStageUpdatedAtOk returns a tuple with the StageUpdatedAt field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetStageUpdatedAt - -`func (o *RubyPackageUpload) SetStageUpdatedAt(v string)` - -SetStageUpdatedAt sets StageUpdatedAt field to given value. - -### HasStageUpdatedAt - -`func (o *RubyPackageUpload) HasStageUpdatedAt() bool` - -HasStageUpdatedAt returns a boolean if a field has been set. - -### GetStatus - -`func (o *RubyPackageUpload) GetStatus() int64` - -GetStatus returns the Status field if non-nil, zero value otherwise. - -### GetStatusOk - -`func (o *RubyPackageUpload) GetStatusOk() (*int64, bool)` - -GetStatusOk returns a tuple with the Status field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetStatus - -`func (o *RubyPackageUpload) SetStatus(v int64)` - -SetStatus sets Status field to given value. - -### HasStatus - -`func (o *RubyPackageUpload) HasStatus() bool` - -HasStatus returns a boolean if a field has been set. - -### GetStatusReason - -`func (o *RubyPackageUpload) GetStatusReason() string` - -GetStatusReason returns the StatusReason field if non-nil, zero value otherwise. - -### GetStatusReasonOk - -`func (o *RubyPackageUpload) GetStatusReasonOk() (*string, bool)` - -GetStatusReasonOk returns a tuple with the StatusReason field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetStatusReason - -`func (o *RubyPackageUpload) SetStatusReason(v string)` - -SetStatusReason sets StatusReason field to given value. - -### HasStatusReason - -`func (o *RubyPackageUpload) HasStatusReason() bool` - -HasStatusReason returns a boolean if a field has been set. - -### GetStatusStr - -`func (o *RubyPackageUpload) GetStatusStr() string` - -GetStatusStr returns the StatusStr field if non-nil, zero value otherwise. - -### GetStatusStrOk - -`func (o *RubyPackageUpload) GetStatusStrOk() (*string, bool)` - -GetStatusStrOk returns a tuple with the StatusStr field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetStatusStr - -`func (o *RubyPackageUpload) SetStatusStr(v string)` - -SetStatusStr sets StatusStr field to given value. - -### HasStatusStr - -`func (o *RubyPackageUpload) HasStatusStr() bool` - -HasStatusStr returns a boolean if a field has been set. - -### GetStatusUpdatedAt - -`func (o *RubyPackageUpload) GetStatusUpdatedAt() string` - -GetStatusUpdatedAt returns the StatusUpdatedAt field if non-nil, zero value otherwise. - -### GetStatusUpdatedAtOk - -`func (o *RubyPackageUpload) GetStatusUpdatedAtOk() (*string, bool)` - -GetStatusUpdatedAtOk returns a tuple with the StatusUpdatedAt field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetStatusUpdatedAt - -`func (o *RubyPackageUpload) SetStatusUpdatedAt(v string)` - -SetStatusUpdatedAt sets StatusUpdatedAt field to given value. - -### HasStatusUpdatedAt - -`func (o *RubyPackageUpload) HasStatusUpdatedAt() bool` - -HasStatusUpdatedAt returns a boolean if a field has been set. - -### GetStatusUrl - -`func (o *RubyPackageUpload) GetStatusUrl() string` - -GetStatusUrl returns the StatusUrl field if non-nil, zero value otherwise. - -### GetStatusUrlOk - -`func (o *RubyPackageUpload) GetStatusUrlOk() (*string, bool)` - -GetStatusUrlOk returns a tuple with the StatusUrl field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetStatusUrl - -`func (o *RubyPackageUpload) SetStatusUrl(v string)` - -SetStatusUrl sets StatusUrl field to given value. - -### HasStatusUrl - -`func (o *RubyPackageUpload) HasStatusUrl() bool` - -HasStatusUrl returns a boolean if a field has been set. - -### GetSubtype - -`func (o *RubyPackageUpload) GetSubtype() string` - -GetSubtype returns the Subtype field if non-nil, zero value otherwise. - -### GetSubtypeOk - -`func (o *RubyPackageUpload) GetSubtypeOk() (*string, bool)` - -GetSubtypeOk returns a tuple with the Subtype field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetSubtype - -`func (o *RubyPackageUpload) SetSubtype(v string)` - -SetSubtype sets Subtype field to given value. - -### HasSubtype - -`func (o *RubyPackageUpload) HasSubtype() bool` - -HasSubtype returns a boolean if a field has been set. - -### GetSummary - -`func (o *RubyPackageUpload) GetSummary() string` - -GetSummary returns the Summary field if non-nil, zero value otherwise. - -### GetSummaryOk - -`func (o *RubyPackageUpload) GetSummaryOk() (*string, bool)` - -GetSummaryOk returns a tuple with the Summary field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetSummary - -`func (o *RubyPackageUpload) SetSummary(v string)` - -SetSummary sets Summary field to given value. - -### HasSummary - -`func (o *RubyPackageUpload) HasSummary() bool` - -HasSummary returns a boolean if a field has been set. - -### GetSyncFinishedAt - -`func (o *RubyPackageUpload) GetSyncFinishedAt() string` - -GetSyncFinishedAt returns the SyncFinishedAt field if non-nil, zero value otherwise. - -### GetSyncFinishedAtOk - -`func (o *RubyPackageUpload) GetSyncFinishedAtOk() (*string, bool)` - -GetSyncFinishedAtOk returns a tuple with the SyncFinishedAt field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetSyncFinishedAt - -`func (o *RubyPackageUpload) SetSyncFinishedAt(v string)` - -SetSyncFinishedAt sets SyncFinishedAt field to given value. - -### HasSyncFinishedAt - -`func (o *RubyPackageUpload) HasSyncFinishedAt() bool` - -HasSyncFinishedAt returns a boolean if a field has been set. - -### GetSyncProgress - -`func (o *RubyPackageUpload) GetSyncProgress() int64` - -GetSyncProgress returns the SyncProgress field if non-nil, zero value otherwise. - -### GetSyncProgressOk - -`func (o *RubyPackageUpload) GetSyncProgressOk() (*int64, bool)` - -GetSyncProgressOk returns a tuple with the SyncProgress field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetSyncProgress - -`func (o *RubyPackageUpload) SetSyncProgress(v int64)` - -SetSyncProgress sets SyncProgress field to given value. - -### HasSyncProgress - -`func (o *RubyPackageUpload) HasSyncProgress() bool` - -HasSyncProgress returns a boolean if a field has been set. - -### GetTagsImmutable - -`func (o *RubyPackageUpload) GetTagsImmutable() map[string]interface{}` - -GetTagsImmutable returns the TagsImmutable field if non-nil, zero value otherwise. - -### GetTagsImmutableOk - -`func (o *RubyPackageUpload) GetTagsImmutableOk() (*map[string]interface{}, bool)` - -GetTagsImmutableOk returns a tuple with the TagsImmutable field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetTagsImmutable - -`func (o *RubyPackageUpload) SetTagsImmutable(v map[string]interface{})` - -SetTagsImmutable sets TagsImmutable field to given value. - -### HasTagsImmutable - -`func (o *RubyPackageUpload) HasTagsImmutable() bool` - -HasTagsImmutable returns a boolean if a field has been set. - -### GetTypeDisplay - -`func (o *RubyPackageUpload) GetTypeDisplay() string` - -GetTypeDisplay returns the TypeDisplay field if non-nil, zero value otherwise. - -### GetTypeDisplayOk - -`func (o *RubyPackageUpload) GetTypeDisplayOk() (*string, bool)` - -GetTypeDisplayOk returns a tuple with the TypeDisplay field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetTypeDisplay - -`func (o *RubyPackageUpload) SetTypeDisplay(v string)` - -SetTypeDisplay sets TypeDisplay field to given value. - -### HasTypeDisplay - -`func (o *RubyPackageUpload) HasTypeDisplay() bool` - -HasTypeDisplay returns a boolean if a field has been set. - -### GetUploadedAt - -`func (o *RubyPackageUpload) GetUploadedAt() string` - -GetUploadedAt returns the UploadedAt field if non-nil, zero value otherwise. - -### GetUploadedAtOk - -`func (o *RubyPackageUpload) GetUploadedAtOk() (*string, bool)` - -GetUploadedAtOk returns a tuple with the UploadedAt field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetUploadedAt - -`func (o *RubyPackageUpload) SetUploadedAt(v string)` - -SetUploadedAt sets UploadedAt field to given value. - -### HasUploadedAt - -`func (o *RubyPackageUpload) HasUploadedAt() bool` - -HasUploadedAt returns a boolean if a field has been set. - -### GetUploader - -`func (o *RubyPackageUpload) GetUploader() string` - -GetUploader returns the Uploader field if non-nil, zero value otherwise. - -### GetUploaderOk - -`func (o *RubyPackageUpload) GetUploaderOk() (*string, bool)` - -GetUploaderOk returns a tuple with the Uploader field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetUploader - -`func (o *RubyPackageUpload) SetUploader(v string)` - -SetUploader sets Uploader field to given value. - -### HasUploader - -`func (o *RubyPackageUpload) HasUploader() bool` - -HasUploader returns a boolean if a field has been set. - -### GetUploaderUrl - -`func (o *RubyPackageUpload) GetUploaderUrl() string` - -GetUploaderUrl returns the UploaderUrl field if non-nil, zero value otherwise. - -### GetUploaderUrlOk - -`func (o *RubyPackageUpload) GetUploaderUrlOk() (*string, bool)` - -GetUploaderUrlOk returns a tuple with the UploaderUrl field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetUploaderUrl - -`func (o *RubyPackageUpload) SetUploaderUrl(v string)` - -SetUploaderUrl sets UploaderUrl field to given value. - -### HasUploaderUrl - -`func (o *RubyPackageUpload) HasUploaderUrl() bool` - -HasUploaderUrl returns a boolean if a field has been set. - -### GetVersion - -`func (o *RubyPackageUpload) GetVersion() string` - -GetVersion returns the Version field if non-nil, zero value otherwise. - -### GetVersionOk - -`func (o *RubyPackageUpload) GetVersionOk() (*string, bool)` - -GetVersionOk returns a tuple with the Version field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetVersion - -`func (o *RubyPackageUpload) SetVersion(v string)` - -SetVersion sets Version field to given value. - -### HasVersion - -`func (o *RubyPackageUpload) HasVersion() bool` - -HasVersion returns a boolean if a field has been set. - -### GetVersionOrig - -`func (o *RubyPackageUpload) GetVersionOrig() string` - -GetVersionOrig returns the VersionOrig field if non-nil, zero value otherwise. - -### GetVersionOrigOk - -`func (o *RubyPackageUpload) GetVersionOrigOk() (*string, bool)` - -GetVersionOrigOk returns a tuple with the VersionOrig field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetVersionOrig - -`func (o *RubyPackageUpload) SetVersionOrig(v string)` - -SetVersionOrig sets VersionOrig field to given value. - -### HasVersionOrig - -`func (o *RubyPackageUpload) HasVersionOrig() bool` - -HasVersionOrig returns a boolean if a field has been set. - -### GetVulnerabilityScanResultsUrl - -`func (o *RubyPackageUpload) GetVulnerabilityScanResultsUrl() string` - -GetVulnerabilityScanResultsUrl returns the VulnerabilityScanResultsUrl field if non-nil, zero value otherwise. - -### GetVulnerabilityScanResultsUrlOk - -`func (o *RubyPackageUpload) GetVulnerabilityScanResultsUrlOk() (*string, bool)` - -GetVulnerabilityScanResultsUrlOk returns a tuple with the VulnerabilityScanResultsUrl field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetVulnerabilityScanResultsUrl - -`func (o *RubyPackageUpload) SetVulnerabilityScanResultsUrl(v string)` - -SetVulnerabilityScanResultsUrl sets VulnerabilityScanResultsUrl field to given value. - -### HasVulnerabilityScanResultsUrl - -`func (o *RubyPackageUpload) HasVulnerabilityScanResultsUrl() bool` - -HasVulnerabilityScanResultsUrl 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/docs/PackagesValidateUploadCocoapods.md b/docs/RubyPackageUploadRequest.md similarity index 58% rename from docs/PackagesValidateUploadCocoapods.md rename to docs/RubyPackageUploadRequest.md index f18cc407..ebbc046d 100644 --- a/docs/PackagesValidateUploadCocoapods.md +++ b/docs/RubyPackageUploadRequest.md @@ -1,4 +1,4 @@ -# PackagesValidateUploadCocoapods +# RubyPackageUploadRequest ## Properties @@ -6,97 +6,107 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **PackageFile** | **string** | The primary file for the package. | **Republish** | Pointer to **bool** | If true, the uploaded package will overwrite any others with the same attributes (e.g. same version); otherwise, it will be flagged as a duplicate. | [optional] -**Tags** | Pointer to **string** | A comma-separated values list of tags to add to the package. | [optional] +**Tags** | Pointer to **NullableString** | A comma-separated values list of tags to add to the package. | [optional] ## Methods -### NewPackagesValidateUploadCocoapods +### NewRubyPackageUploadRequest -`func NewPackagesValidateUploadCocoapods(packageFile string, ) *PackagesValidateUploadCocoapods` +`func NewRubyPackageUploadRequest(packageFile string, ) *RubyPackageUploadRequest` -NewPackagesValidateUploadCocoapods instantiates a new PackagesValidateUploadCocoapods object +NewRubyPackageUploadRequest instantiates a new RubyPackageUploadRequest object 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 -### NewPackagesValidateUploadCocoapodsWithDefaults +### NewRubyPackageUploadRequestWithDefaults -`func NewPackagesValidateUploadCocoapodsWithDefaults() *PackagesValidateUploadCocoapods` +`func NewRubyPackageUploadRequestWithDefaults() *RubyPackageUploadRequest` -NewPackagesValidateUploadCocoapodsWithDefaults instantiates a new PackagesValidateUploadCocoapods object +NewRubyPackageUploadRequestWithDefaults instantiates a new RubyPackageUploadRequest object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set ### GetPackageFile -`func (o *PackagesValidateUploadCocoapods) GetPackageFile() string` +`func (o *RubyPackageUploadRequest) GetPackageFile() string` GetPackageFile returns the PackageFile field if non-nil, zero value otherwise. ### GetPackageFileOk -`func (o *PackagesValidateUploadCocoapods) GetPackageFileOk() (*string, bool)` +`func (o *RubyPackageUploadRequest) GetPackageFileOk() (*string, bool)` GetPackageFileOk returns a tuple with the PackageFile field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetPackageFile -`func (o *PackagesValidateUploadCocoapods) SetPackageFile(v string)` +`func (o *RubyPackageUploadRequest) SetPackageFile(v string)` SetPackageFile sets PackageFile field to given value. ### GetRepublish -`func (o *PackagesValidateUploadCocoapods) GetRepublish() bool` +`func (o *RubyPackageUploadRequest) GetRepublish() bool` GetRepublish returns the Republish field if non-nil, zero value otherwise. ### GetRepublishOk -`func (o *PackagesValidateUploadCocoapods) GetRepublishOk() (*bool, bool)` +`func (o *RubyPackageUploadRequest) GetRepublishOk() (*bool, bool)` GetRepublishOk returns a tuple with the Republish field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetRepublish -`func (o *PackagesValidateUploadCocoapods) SetRepublish(v bool)` +`func (o *RubyPackageUploadRequest) SetRepublish(v bool)` SetRepublish sets Republish field to given value. ### HasRepublish -`func (o *PackagesValidateUploadCocoapods) HasRepublish() bool` +`func (o *RubyPackageUploadRequest) HasRepublish() bool` HasRepublish returns a boolean if a field has been set. ### GetTags -`func (o *PackagesValidateUploadCocoapods) GetTags() string` +`func (o *RubyPackageUploadRequest) GetTags() string` GetTags returns the Tags field if non-nil, zero value otherwise. ### GetTagsOk -`func (o *PackagesValidateUploadCocoapods) GetTagsOk() (*string, bool)` +`func (o *RubyPackageUploadRequest) GetTagsOk() (*string, bool)` GetTagsOk returns a tuple with the Tags field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetTags -`func (o *PackagesValidateUploadCocoapods) SetTags(v string)` +`func (o *RubyPackageUploadRequest) SetTags(v string)` SetTags sets Tags field to given value. ### HasTags -`func (o *PackagesValidateUploadCocoapods) HasTags() bool` +`func (o *RubyPackageUploadRequest) HasTags() bool` HasTags returns a boolean if a field has been set. +### SetTagsNil + +`func (o *RubyPackageUploadRequest) SetTagsNil(b bool)` + + SetTagsNil sets the value for Tags to be an explicit nil + +### UnsetTags +`func (o *RubyPackageUploadRequest) UnsetTags()` + +UnsetTags ensures that no value is present for Tags, 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/docs/CargoPackageUpload.md b/docs/RubyPackageUploadResponse.md similarity index 55% rename from docs/CargoPackageUpload.md rename to docs/RubyPackageUploadResponse.md index da5c2e8c..1853b65d 100644 --- a/docs/CargoPackageUpload.md +++ b/docs/RubyPackageUploadResponse.md @@ -1,1742 +1,1834 @@ -# CargoPackageUpload +# RubyPackageUploadResponse ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**Architectures** | Pointer to [**[]PackagesOwnerRepoArchitectures**](PackagesOwnerRepoArchitectures.md) | | [optional] -**CdnUrl** | Pointer to **string** | | [optional] -**ChecksumMd5** | Pointer to **string** | | [optional] -**ChecksumSha1** | Pointer to **string** | | [optional] -**ChecksumSha256** | Pointer to **string** | | [optional] -**ChecksumSha512** | Pointer to **string** | | [optional] -**DependenciesChecksumMd5** | Pointer to **string** | A checksum of all of the package's dependencies. | [optional] -**DependenciesUrl** | Pointer to **string** | | [optional] -**Description** | Pointer to **string** | A textual description of this package. | [optional] -**Distro** | Pointer to **map[string]interface{}** | | [optional] -**DistroVersion** | Pointer to **map[string]interface{}** | | [optional] -**Downloads** | Pointer to **int64** | | [optional] -**Epoch** | Pointer to **int64** | The epoch of the package version (if any). | [optional] -**Extension** | Pointer to **string** | | [optional] -**Filename** | Pointer to **string** | | [optional] -**Files** | Pointer to [**[]PackagesOwnerRepoFiles**](PackagesOwnerRepoFiles.md) | | [optional] -**Format** | Pointer to **string** | | [optional] -**FormatUrl** | Pointer to **string** | | [optional] -**IdentifierPerm** | Pointer to **string** | Unique and permanent identifier for the package. | [optional] -**Indexed** | Pointer to **bool** | | [optional] -**IsDownloadable** | Pointer to **bool** | | [optional] -**IsQuarantined** | Pointer to **bool** | | [optional] -**IsSyncAwaiting** | Pointer to **bool** | | [optional] -**IsSyncCompleted** | Pointer to **bool** | | [optional] -**IsSyncFailed** | Pointer to **bool** | | [optional] -**IsSyncInFlight** | Pointer to **bool** | | [optional] -**IsSyncInProgress** | Pointer to **bool** | | [optional] -**License** | Pointer to **string** | The license of this package. | [optional] -**Name** | Pointer to **string** | The name of this package. | [optional] -**Namespace** | Pointer to **string** | | [optional] -**NamespaceUrl** | Pointer to **string** | | [optional] -**NumFiles** | Pointer to **int64** | | [optional] -**PackageType** | Pointer to **int64** | The type of package contents. | [optional] -**Release** | Pointer to **string** | The release of the package version (if any). | [optional] -**Repository** | Pointer to **string** | | [optional] -**RepositoryUrl** | Pointer to **string** | | [optional] -**SecurityScanCompletedAt** | Pointer to **string** | The datetime the security scanning was completed. | [optional] -**SecurityScanStartedAt** | Pointer to **string** | The datetime the security scanning was started. | [optional] -**SecurityScanStatus** | Pointer to **string** | | [optional] -**SecurityScanStatusUpdatedAt** | Pointer to **string** | The datetime the security scanning status was updated. | [optional] -**SelfHtmlUrl** | Pointer to **string** | | [optional] -**SelfUrl** | Pointer to **string** | | [optional] -**SignatureUrl** | Pointer to **string** | | [optional] -**Size** | Pointer to **int64** | The calculated size of the package. | [optional] -**Slug** | Pointer to **string** | The public unique identifier for the package. | [optional] -**SlugPerm** | Pointer to **string** | | [optional] -**Stage** | Pointer to **int64** | The synchronisation (in progress) stage of the package. | [optional] -**StageStr** | Pointer to **string** | | [optional] -**StageUpdatedAt** | Pointer to **string** | The datetime the package stage was updated at. | [optional] -**Status** | Pointer to **int64** | The synchronisation status of the package. | [optional] -**StatusReason** | Pointer to **string** | A textual description for the synchronous status reason (if any | [optional] -**StatusStr** | Pointer to **string** | | [optional] -**StatusUpdatedAt** | Pointer to **string** | The datetime the package status was updated at. | [optional] -**StatusUrl** | Pointer to **string** | | [optional] -**Subtype** | Pointer to **string** | | [optional] -**Summary** | Pointer to **string** | A one-liner synopsis of this package. | [optional] -**SyncFinishedAt** | Pointer to **string** | The datetime the package sync was finished at. | [optional] -**SyncProgress** | Pointer to **int64** | Synchronisation progress (from 0-100) | [optional] -**TagsImmutable** | Pointer to **map[string]interface{}** | All immutable tags on the package, grouped by tag type. Immutable tags cannot be (easily) deleted. | [optional] -**TypeDisplay** | Pointer to **string** | | [optional] -**UploadedAt** | Pointer to **string** | The date this package was uploaded. | [optional] -**Uploader** | Pointer to **string** | | [optional] -**UploaderUrl** | Pointer to **string** | | [optional] -**Version** | Pointer to **string** | The raw version for this package. | [optional] -**VersionOrig** | Pointer to **string** | | [optional] -**VulnerabilityScanResultsUrl** | Pointer to **string** | | [optional] +**Architectures** | Pointer to [**[]Architecture**](Architecture.md) | | [optional] [readonly] +**CdnUrl** | Pointer to **NullableString** | | [optional] [readonly] +**ChecksumMd5** | Pointer to **string** | | [optional] [readonly] +**ChecksumSha1** | Pointer to **string** | | [optional] [readonly] +**ChecksumSha256** | Pointer to **string** | | [optional] [readonly] +**ChecksumSha512** | Pointer to **string** | | [optional] [readonly] +**DependenciesChecksumMd5** | Pointer to **string** | A checksum of all of the package's dependencies. | [optional] [readonly] +**DependenciesUrl** | Pointer to **string** | | [optional] [readonly] +**Description** | Pointer to **string** | A textual description of this package. | [optional] [readonly] +**Distro** | Pointer to [**NullableDistribution**](Distribution.md) | | [optional] +**DistroVersion** | Pointer to [**DistributionVersion**](DistributionVersion.md) | | [optional] +**Downloads** | Pointer to **int64** | | [optional] [readonly] +**Epoch** | Pointer to **int64** | The epoch of the package version (if any). | [optional] [readonly] +**Extension** | Pointer to **string** | | [optional] [readonly] +**Filename** | Pointer to **string** | | [optional] [readonly] +**Files** | Pointer to [**[]PackageFile**](PackageFile.md) | | [optional] [readonly] +**Format** | Pointer to **string** | | [optional] [readonly] +**FormatUrl** | Pointer to **string** | | [optional] [readonly] +**IdentifierPerm** | Pointer to **string** | Unique and permanent identifier for the package. | [optional] [readonly] +**Indexed** | Pointer to **bool** | | [optional] [readonly] +**IsDownloadable** | Pointer to **bool** | | [optional] [readonly] +**IsQuarantined** | Pointer to **bool** | | [optional] [readonly] +**IsSyncAwaiting** | Pointer to **bool** | | [optional] [readonly] +**IsSyncCompleted** | Pointer to **bool** | | [optional] [readonly] +**IsSyncFailed** | Pointer to **bool** | | [optional] [readonly] +**IsSyncInFlight** | Pointer to **bool** | | [optional] [readonly] +**IsSyncInProgress** | Pointer to **bool** | | [optional] [readonly] +**License** | Pointer to **string** | The license of this package. | [optional] [readonly] +**Name** | Pointer to **string** | The name of this package. | [optional] [readonly] +**Namespace** | Pointer to **string** | | [optional] [readonly] +**NamespaceUrl** | Pointer to **string** | | [optional] [readonly] +**NumFiles** | Pointer to **int64** | | [optional] [readonly] +**OriginRepository** | Pointer to **string** | | [optional] [readonly] +**OriginRepositoryUrl** | Pointer to **string** | | [optional] [readonly] +**PackageType** | Pointer to **int64** | The type of package contents. | [optional] [readonly] +**Release** | Pointer to **string** | The release of the package version (if any). | [optional] [readonly] +**Repository** | Pointer to **string** | | [optional] [readonly] +**RepositoryUrl** | Pointer to **string** | | [optional] [readonly] +**SecurityScanCompletedAt** | Pointer to **time.Time** | The datetime the security scanning was completed. | [optional] [readonly] +**SecurityScanStartedAt** | Pointer to **time.Time** | The datetime the security scanning was started. | [optional] [readonly] +**SecurityScanStatus** | Pointer to **NullableString** | | [optional] [readonly] [default to "Awaiting Security Scan"] +**SecurityScanStatusUpdatedAt** | Pointer to **time.Time** | The datetime the security scanning status was updated. | [optional] [readonly] +**SelfHtmlUrl** | Pointer to **string** | | [optional] [readonly] +**SelfUrl** | Pointer to **string** | | [optional] [readonly] +**SignatureUrl** | Pointer to **NullableString** | | [optional] [readonly] +**Size** | Pointer to **int64** | The calculated size of the package. | [optional] [readonly] +**Slug** | Pointer to **string** | The public unique identifier for the package. | [optional] [readonly] +**SlugPerm** | Pointer to **string** | | [optional] [readonly] +**Stage** | Pointer to **int64** | The synchronisation (in progress) stage of the package. | [optional] [readonly] +**StageStr** | Pointer to **string** | | [optional] [readonly] +**StageUpdatedAt** | Pointer to **time.Time** | The datetime the package stage was updated at. | [optional] [readonly] +**Status** | Pointer to **int64** | The synchronisation status of the package. | [optional] [readonly] +**StatusReason** | Pointer to **string** | A textual description for the synchronous status reason (if any | [optional] [readonly] +**StatusStr** | Pointer to **string** | | [optional] [readonly] +**StatusUpdatedAt** | Pointer to **time.Time** | The datetime the package status was updated at. | [optional] [readonly] +**StatusUrl** | Pointer to **string** | | [optional] [readonly] +**Subtype** | Pointer to **string** | | [optional] [readonly] +**Summary** | Pointer to **string** | A one-liner synopsis of this package. | [optional] [readonly] +**SyncFinishedAt** | Pointer to **time.Time** | The datetime the package sync was finished at. | [optional] [readonly] +**SyncProgress** | Pointer to **int64** | Synchronisation progress (from 0-100) | [optional] [readonly] +**TagsImmutable** | Pointer to **map[string]interface{}** | All tags on the package, grouped by tag type. This includes immutable tags, but doesn't distinguish them from mutable. To see which tags are immutable specifically, see the tags_immutable field. | [optional] +**TypeDisplay** | Pointer to **string** | | [optional] [readonly] +**UploadedAt** | Pointer to **time.Time** | The date this package was uploaded. | [optional] [readonly] +**Uploader** | Pointer to **string** | | [optional] [readonly] +**UploaderUrl** | Pointer to **string** | | [optional] [readonly] +**Version** | Pointer to **string** | The raw version for this package. | [optional] [readonly] +**VersionOrig** | Pointer to **string** | | [optional] [readonly] +**VulnerabilityScanResultsUrl** | Pointer to **string** | | [optional] [readonly] ## Methods -### NewCargoPackageUpload +### NewRubyPackageUploadResponse -`func NewCargoPackageUpload() *CargoPackageUpload` +`func NewRubyPackageUploadResponse() *RubyPackageUploadResponse` -NewCargoPackageUpload instantiates a new CargoPackageUpload object +NewRubyPackageUploadResponse instantiates a new RubyPackageUploadResponse object 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 -### NewCargoPackageUploadWithDefaults +### NewRubyPackageUploadResponseWithDefaults -`func NewCargoPackageUploadWithDefaults() *CargoPackageUpload` +`func NewRubyPackageUploadResponseWithDefaults() *RubyPackageUploadResponse` -NewCargoPackageUploadWithDefaults instantiates a new CargoPackageUpload object +NewRubyPackageUploadResponseWithDefaults instantiates a new RubyPackageUploadResponse object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set ### GetArchitectures -`func (o *CargoPackageUpload) GetArchitectures() []PackagesOwnerRepoArchitectures` +`func (o *RubyPackageUploadResponse) GetArchitectures() []Architecture` GetArchitectures returns the Architectures field if non-nil, zero value otherwise. ### GetArchitecturesOk -`func (o *CargoPackageUpload) GetArchitecturesOk() (*[]PackagesOwnerRepoArchitectures, bool)` +`func (o *RubyPackageUploadResponse) GetArchitecturesOk() (*[]Architecture, bool)` GetArchitecturesOk returns a tuple with the Architectures field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetArchitectures -`func (o *CargoPackageUpload) SetArchitectures(v []PackagesOwnerRepoArchitectures)` +`func (o *RubyPackageUploadResponse) SetArchitectures(v []Architecture)` SetArchitectures sets Architectures field to given value. ### HasArchitectures -`func (o *CargoPackageUpload) HasArchitectures() bool` +`func (o *RubyPackageUploadResponse) HasArchitectures() bool` HasArchitectures returns a boolean if a field has been set. ### GetCdnUrl -`func (o *CargoPackageUpload) GetCdnUrl() string` +`func (o *RubyPackageUploadResponse) GetCdnUrl() string` GetCdnUrl returns the CdnUrl field if non-nil, zero value otherwise. ### GetCdnUrlOk -`func (o *CargoPackageUpload) GetCdnUrlOk() (*string, bool)` +`func (o *RubyPackageUploadResponse) GetCdnUrlOk() (*string, bool)` GetCdnUrlOk returns a tuple with the CdnUrl field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetCdnUrl -`func (o *CargoPackageUpload) SetCdnUrl(v string)` +`func (o *RubyPackageUploadResponse) SetCdnUrl(v string)` SetCdnUrl sets CdnUrl field to given value. ### HasCdnUrl -`func (o *CargoPackageUpload) HasCdnUrl() bool` +`func (o *RubyPackageUploadResponse) HasCdnUrl() bool` HasCdnUrl returns a boolean if a field has been set. +### SetCdnUrlNil + +`func (o *RubyPackageUploadResponse) SetCdnUrlNil(b bool)` + + SetCdnUrlNil sets the value for CdnUrl to be an explicit nil + +### UnsetCdnUrl +`func (o *RubyPackageUploadResponse) UnsetCdnUrl()` + +UnsetCdnUrl ensures that no value is present for CdnUrl, not even an explicit nil ### GetChecksumMd5 -`func (o *CargoPackageUpload) GetChecksumMd5() string` +`func (o *RubyPackageUploadResponse) GetChecksumMd5() string` GetChecksumMd5 returns the ChecksumMd5 field if non-nil, zero value otherwise. ### GetChecksumMd5Ok -`func (o *CargoPackageUpload) GetChecksumMd5Ok() (*string, bool)` +`func (o *RubyPackageUploadResponse) GetChecksumMd5Ok() (*string, bool)` GetChecksumMd5Ok returns a tuple with the ChecksumMd5 field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetChecksumMd5 -`func (o *CargoPackageUpload) SetChecksumMd5(v string)` +`func (o *RubyPackageUploadResponse) SetChecksumMd5(v string)` SetChecksumMd5 sets ChecksumMd5 field to given value. ### HasChecksumMd5 -`func (o *CargoPackageUpload) HasChecksumMd5() bool` +`func (o *RubyPackageUploadResponse) HasChecksumMd5() bool` HasChecksumMd5 returns a boolean if a field has been set. ### GetChecksumSha1 -`func (o *CargoPackageUpload) GetChecksumSha1() string` +`func (o *RubyPackageUploadResponse) GetChecksumSha1() string` GetChecksumSha1 returns the ChecksumSha1 field if non-nil, zero value otherwise. ### GetChecksumSha1Ok -`func (o *CargoPackageUpload) GetChecksumSha1Ok() (*string, bool)` +`func (o *RubyPackageUploadResponse) GetChecksumSha1Ok() (*string, bool)` GetChecksumSha1Ok returns a tuple with the ChecksumSha1 field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetChecksumSha1 -`func (o *CargoPackageUpload) SetChecksumSha1(v string)` +`func (o *RubyPackageUploadResponse) SetChecksumSha1(v string)` SetChecksumSha1 sets ChecksumSha1 field to given value. ### HasChecksumSha1 -`func (o *CargoPackageUpload) HasChecksumSha1() bool` +`func (o *RubyPackageUploadResponse) HasChecksumSha1() bool` HasChecksumSha1 returns a boolean if a field has been set. ### GetChecksumSha256 -`func (o *CargoPackageUpload) GetChecksumSha256() string` +`func (o *RubyPackageUploadResponse) GetChecksumSha256() string` GetChecksumSha256 returns the ChecksumSha256 field if non-nil, zero value otherwise. ### GetChecksumSha256Ok -`func (o *CargoPackageUpload) GetChecksumSha256Ok() (*string, bool)` +`func (o *RubyPackageUploadResponse) GetChecksumSha256Ok() (*string, bool)` GetChecksumSha256Ok returns a tuple with the ChecksumSha256 field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetChecksumSha256 -`func (o *CargoPackageUpload) SetChecksumSha256(v string)` +`func (o *RubyPackageUploadResponse) SetChecksumSha256(v string)` SetChecksumSha256 sets ChecksumSha256 field to given value. ### HasChecksumSha256 -`func (o *CargoPackageUpload) HasChecksumSha256() bool` +`func (o *RubyPackageUploadResponse) HasChecksumSha256() bool` HasChecksumSha256 returns a boolean if a field has been set. ### GetChecksumSha512 -`func (o *CargoPackageUpload) GetChecksumSha512() string` +`func (o *RubyPackageUploadResponse) GetChecksumSha512() string` GetChecksumSha512 returns the ChecksumSha512 field if non-nil, zero value otherwise. ### GetChecksumSha512Ok -`func (o *CargoPackageUpload) GetChecksumSha512Ok() (*string, bool)` +`func (o *RubyPackageUploadResponse) GetChecksumSha512Ok() (*string, bool)` GetChecksumSha512Ok returns a tuple with the ChecksumSha512 field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetChecksumSha512 -`func (o *CargoPackageUpload) SetChecksumSha512(v string)` +`func (o *RubyPackageUploadResponse) SetChecksumSha512(v string)` SetChecksumSha512 sets ChecksumSha512 field to given value. ### HasChecksumSha512 -`func (o *CargoPackageUpload) HasChecksumSha512() bool` +`func (o *RubyPackageUploadResponse) HasChecksumSha512() bool` HasChecksumSha512 returns a boolean if a field has been set. ### GetDependenciesChecksumMd5 -`func (o *CargoPackageUpload) GetDependenciesChecksumMd5() string` +`func (o *RubyPackageUploadResponse) GetDependenciesChecksumMd5() string` GetDependenciesChecksumMd5 returns the DependenciesChecksumMd5 field if non-nil, zero value otherwise. ### GetDependenciesChecksumMd5Ok -`func (o *CargoPackageUpload) GetDependenciesChecksumMd5Ok() (*string, bool)` +`func (o *RubyPackageUploadResponse) GetDependenciesChecksumMd5Ok() (*string, bool)` GetDependenciesChecksumMd5Ok returns a tuple with the DependenciesChecksumMd5 field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetDependenciesChecksumMd5 -`func (o *CargoPackageUpload) SetDependenciesChecksumMd5(v string)` +`func (o *RubyPackageUploadResponse) SetDependenciesChecksumMd5(v string)` SetDependenciesChecksumMd5 sets DependenciesChecksumMd5 field to given value. ### HasDependenciesChecksumMd5 -`func (o *CargoPackageUpload) HasDependenciesChecksumMd5() bool` +`func (o *RubyPackageUploadResponse) HasDependenciesChecksumMd5() bool` HasDependenciesChecksumMd5 returns a boolean if a field has been set. ### GetDependenciesUrl -`func (o *CargoPackageUpload) GetDependenciesUrl() string` +`func (o *RubyPackageUploadResponse) GetDependenciesUrl() string` GetDependenciesUrl returns the DependenciesUrl field if non-nil, zero value otherwise. ### GetDependenciesUrlOk -`func (o *CargoPackageUpload) GetDependenciesUrlOk() (*string, bool)` +`func (o *RubyPackageUploadResponse) GetDependenciesUrlOk() (*string, bool)` GetDependenciesUrlOk returns a tuple with the DependenciesUrl field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetDependenciesUrl -`func (o *CargoPackageUpload) SetDependenciesUrl(v string)` +`func (o *RubyPackageUploadResponse) SetDependenciesUrl(v string)` SetDependenciesUrl sets DependenciesUrl field to given value. ### HasDependenciesUrl -`func (o *CargoPackageUpload) HasDependenciesUrl() bool` +`func (o *RubyPackageUploadResponse) HasDependenciesUrl() bool` HasDependenciesUrl returns a boolean if a field has been set. ### GetDescription -`func (o *CargoPackageUpload) GetDescription() string` +`func (o *RubyPackageUploadResponse) GetDescription() string` GetDescription returns the Description field if non-nil, zero value otherwise. ### GetDescriptionOk -`func (o *CargoPackageUpload) GetDescriptionOk() (*string, bool)` +`func (o *RubyPackageUploadResponse) GetDescriptionOk() (*string, bool)` GetDescriptionOk returns a tuple with the Description field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetDescription -`func (o *CargoPackageUpload) SetDescription(v string)` +`func (o *RubyPackageUploadResponse) SetDescription(v string)` SetDescription sets Description field to given value. ### HasDescription -`func (o *CargoPackageUpload) HasDescription() bool` +`func (o *RubyPackageUploadResponse) HasDescription() bool` HasDescription returns a boolean if a field has been set. ### GetDistro -`func (o *CargoPackageUpload) GetDistro() map[string]interface{}` +`func (o *RubyPackageUploadResponse) GetDistro() Distribution` GetDistro returns the Distro field if non-nil, zero value otherwise. ### GetDistroOk -`func (o *CargoPackageUpload) GetDistroOk() (*map[string]interface{}, bool)` +`func (o *RubyPackageUploadResponse) GetDistroOk() (*Distribution, bool)` GetDistroOk returns a tuple with the Distro field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetDistro -`func (o *CargoPackageUpload) SetDistro(v map[string]interface{})` +`func (o *RubyPackageUploadResponse) SetDistro(v Distribution)` SetDistro sets Distro field to given value. ### HasDistro -`func (o *CargoPackageUpload) HasDistro() bool` +`func (o *RubyPackageUploadResponse) HasDistro() bool` HasDistro returns a boolean if a field has been set. +### SetDistroNil + +`func (o *RubyPackageUploadResponse) SetDistroNil(b bool)` + + SetDistroNil sets the value for Distro to be an explicit nil + +### UnsetDistro +`func (o *RubyPackageUploadResponse) UnsetDistro()` + +UnsetDistro ensures that no value is present for Distro, not even an explicit nil ### GetDistroVersion -`func (o *CargoPackageUpload) GetDistroVersion() map[string]interface{}` +`func (o *RubyPackageUploadResponse) GetDistroVersion() DistributionVersion` GetDistroVersion returns the DistroVersion field if non-nil, zero value otherwise. ### GetDistroVersionOk -`func (o *CargoPackageUpload) GetDistroVersionOk() (*map[string]interface{}, bool)` +`func (o *RubyPackageUploadResponse) GetDistroVersionOk() (*DistributionVersion, bool)` GetDistroVersionOk returns a tuple with the DistroVersion field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetDistroVersion -`func (o *CargoPackageUpload) SetDistroVersion(v map[string]interface{})` +`func (o *RubyPackageUploadResponse) SetDistroVersion(v DistributionVersion)` SetDistroVersion sets DistroVersion field to given value. ### HasDistroVersion -`func (o *CargoPackageUpload) HasDistroVersion() bool` +`func (o *RubyPackageUploadResponse) HasDistroVersion() bool` HasDistroVersion returns a boolean if a field has been set. ### GetDownloads -`func (o *CargoPackageUpload) GetDownloads() int64` +`func (o *RubyPackageUploadResponse) GetDownloads() int64` GetDownloads returns the Downloads field if non-nil, zero value otherwise. ### GetDownloadsOk -`func (o *CargoPackageUpload) GetDownloadsOk() (*int64, bool)` +`func (o *RubyPackageUploadResponse) GetDownloadsOk() (*int64, bool)` GetDownloadsOk returns a tuple with the Downloads field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetDownloads -`func (o *CargoPackageUpload) SetDownloads(v int64)` +`func (o *RubyPackageUploadResponse) SetDownloads(v int64)` SetDownloads sets Downloads field to given value. ### HasDownloads -`func (o *CargoPackageUpload) HasDownloads() bool` +`func (o *RubyPackageUploadResponse) HasDownloads() bool` HasDownloads returns a boolean if a field has been set. ### GetEpoch -`func (o *CargoPackageUpload) GetEpoch() int64` +`func (o *RubyPackageUploadResponse) GetEpoch() int64` GetEpoch returns the Epoch field if non-nil, zero value otherwise. ### GetEpochOk -`func (o *CargoPackageUpload) GetEpochOk() (*int64, bool)` +`func (o *RubyPackageUploadResponse) GetEpochOk() (*int64, bool)` GetEpochOk returns a tuple with the Epoch field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetEpoch -`func (o *CargoPackageUpload) SetEpoch(v int64)` +`func (o *RubyPackageUploadResponse) SetEpoch(v int64)` SetEpoch sets Epoch field to given value. ### HasEpoch -`func (o *CargoPackageUpload) HasEpoch() bool` +`func (o *RubyPackageUploadResponse) HasEpoch() bool` HasEpoch returns a boolean if a field has been set. ### GetExtension -`func (o *CargoPackageUpload) GetExtension() string` +`func (o *RubyPackageUploadResponse) GetExtension() string` GetExtension returns the Extension field if non-nil, zero value otherwise. ### GetExtensionOk -`func (o *CargoPackageUpload) GetExtensionOk() (*string, bool)` +`func (o *RubyPackageUploadResponse) GetExtensionOk() (*string, bool)` GetExtensionOk returns a tuple with the Extension field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetExtension -`func (o *CargoPackageUpload) SetExtension(v string)` +`func (o *RubyPackageUploadResponse) SetExtension(v string)` SetExtension sets Extension field to given value. ### HasExtension -`func (o *CargoPackageUpload) HasExtension() bool` +`func (o *RubyPackageUploadResponse) HasExtension() bool` HasExtension returns a boolean if a field has been set. ### GetFilename -`func (o *CargoPackageUpload) GetFilename() string` +`func (o *RubyPackageUploadResponse) GetFilename() string` GetFilename returns the Filename field if non-nil, zero value otherwise. ### GetFilenameOk -`func (o *CargoPackageUpload) GetFilenameOk() (*string, bool)` +`func (o *RubyPackageUploadResponse) GetFilenameOk() (*string, bool)` GetFilenameOk returns a tuple with the Filename field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetFilename -`func (o *CargoPackageUpload) SetFilename(v string)` +`func (o *RubyPackageUploadResponse) SetFilename(v string)` SetFilename sets Filename field to given value. ### HasFilename -`func (o *CargoPackageUpload) HasFilename() bool` +`func (o *RubyPackageUploadResponse) HasFilename() bool` HasFilename returns a boolean if a field has been set. ### GetFiles -`func (o *CargoPackageUpload) GetFiles() []PackagesOwnerRepoFiles` +`func (o *RubyPackageUploadResponse) GetFiles() []PackageFile` GetFiles returns the Files field if non-nil, zero value otherwise. ### GetFilesOk -`func (o *CargoPackageUpload) GetFilesOk() (*[]PackagesOwnerRepoFiles, bool)` +`func (o *RubyPackageUploadResponse) GetFilesOk() (*[]PackageFile, 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 *CargoPackageUpload) SetFiles(v []PackagesOwnerRepoFiles)` +`func (o *RubyPackageUploadResponse) SetFiles(v []PackageFile)` SetFiles sets Files field to given value. ### HasFiles -`func (o *CargoPackageUpload) HasFiles() bool` +`func (o *RubyPackageUploadResponse) HasFiles() bool` HasFiles returns a boolean if a field has been set. ### GetFormat -`func (o *CargoPackageUpload) GetFormat() string` +`func (o *RubyPackageUploadResponse) GetFormat() string` GetFormat returns the Format field if non-nil, zero value otherwise. ### GetFormatOk -`func (o *CargoPackageUpload) GetFormatOk() (*string, bool)` +`func (o *RubyPackageUploadResponse) GetFormatOk() (*string, bool)` GetFormatOk returns a tuple with the Format field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetFormat -`func (o *CargoPackageUpload) SetFormat(v string)` +`func (o *RubyPackageUploadResponse) SetFormat(v string)` SetFormat sets Format field to given value. ### HasFormat -`func (o *CargoPackageUpload) HasFormat() bool` +`func (o *RubyPackageUploadResponse) HasFormat() bool` HasFormat returns a boolean if a field has been set. ### GetFormatUrl -`func (o *CargoPackageUpload) GetFormatUrl() string` +`func (o *RubyPackageUploadResponse) GetFormatUrl() string` GetFormatUrl returns the FormatUrl field if non-nil, zero value otherwise. ### GetFormatUrlOk -`func (o *CargoPackageUpload) GetFormatUrlOk() (*string, bool)` +`func (o *RubyPackageUploadResponse) GetFormatUrlOk() (*string, bool)` GetFormatUrlOk returns a tuple with the FormatUrl field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetFormatUrl -`func (o *CargoPackageUpload) SetFormatUrl(v string)` +`func (o *RubyPackageUploadResponse) SetFormatUrl(v string)` SetFormatUrl sets FormatUrl field to given value. ### HasFormatUrl -`func (o *CargoPackageUpload) HasFormatUrl() bool` +`func (o *RubyPackageUploadResponse) HasFormatUrl() bool` HasFormatUrl returns a boolean if a field has been set. ### GetIdentifierPerm -`func (o *CargoPackageUpload) GetIdentifierPerm() string` +`func (o *RubyPackageUploadResponse) GetIdentifierPerm() string` GetIdentifierPerm returns the IdentifierPerm field if non-nil, zero value otherwise. ### GetIdentifierPermOk -`func (o *CargoPackageUpload) GetIdentifierPermOk() (*string, bool)` +`func (o *RubyPackageUploadResponse) GetIdentifierPermOk() (*string, bool)` GetIdentifierPermOk returns a tuple with the IdentifierPerm field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetIdentifierPerm -`func (o *CargoPackageUpload) SetIdentifierPerm(v string)` +`func (o *RubyPackageUploadResponse) SetIdentifierPerm(v string)` SetIdentifierPerm sets IdentifierPerm field to given value. ### HasIdentifierPerm -`func (o *CargoPackageUpload) HasIdentifierPerm() bool` +`func (o *RubyPackageUploadResponse) HasIdentifierPerm() bool` HasIdentifierPerm returns a boolean if a field has been set. ### GetIndexed -`func (o *CargoPackageUpload) GetIndexed() bool` +`func (o *RubyPackageUploadResponse) GetIndexed() bool` GetIndexed returns the Indexed field if non-nil, zero value otherwise. ### GetIndexedOk -`func (o *CargoPackageUpload) GetIndexedOk() (*bool, bool)` +`func (o *RubyPackageUploadResponse) GetIndexedOk() (*bool, bool)` GetIndexedOk returns a tuple with the Indexed field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetIndexed -`func (o *CargoPackageUpload) SetIndexed(v bool)` +`func (o *RubyPackageUploadResponse) SetIndexed(v bool)` SetIndexed sets Indexed field to given value. ### HasIndexed -`func (o *CargoPackageUpload) HasIndexed() bool` +`func (o *RubyPackageUploadResponse) HasIndexed() bool` HasIndexed returns a boolean if a field has been set. ### GetIsDownloadable -`func (o *CargoPackageUpload) GetIsDownloadable() bool` +`func (o *RubyPackageUploadResponse) GetIsDownloadable() bool` GetIsDownloadable returns the IsDownloadable field if non-nil, zero value otherwise. ### GetIsDownloadableOk -`func (o *CargoPackageUpload) GetIsDownloadableOk() (*bool, bool)` +`func (o *RubyPackageUploadResponse) GetIsDownloadableOk() (*bool, bool)` GetIsDownloadableOk returns a tuple with the IsDownloadable field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetIsDownloadable -`func (o *CargoPackageUpload) SetIsDownloadable(v bool)` +`func (o *RubyPackageUploadResponse) SetIsDownloadable(v bool)` SetIsDownloadable sets IsDownloadable field to given value. ### HasIsDownloadable -`func (o *CargoPackageUpload) HasIsDownloadable() bool` +`func (o *RubyPackageUploadResponse) HasIsDownloadable() bool` HasIsDownloadable returns a boolean if a field has been set. ### GetIsQuarantined -`func (o *CargoPackageUpload) GetIsQuarantined() bool` +`func (o *RubyPackageUploadResponse) GetIsQuarantined() bool` GetIsQuarantined returns the IsQuarantined field if non-nil, zero value otherwise. ### GetIsQuarantinedOk -`func (o *CargoPackageUpload) GetIsQuarantinedOk() (*bool, bool)` +`func (o *RubyPackageUploadResponse) GetIsQuarantinedOk() (*bool, bool)` GetIsQuarantinedOk returns a tuple with the IsQuarantined field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetIsQuarantined -`func (o *CargoPackageUpload) SetIsQuarantined(v bool)` +`func (o *RubyPackageUploadResponse) SetIsQuarantined(v bool)` SetIsQuarantined sets IsQuarantined field to given value. ### HasIsQuarantined -`func (o *CargoPackageUpload) HasIsQuarantined() bool` +`func (o *RubyPackageUploadResponse) HasIsQuarantined() bool` HasIsQuarantined returns a boolean if a field has been set. ### GetIsSyncAwaiting -`func (o *CargoPackageUpload) GetIsSyncAwaiting() bool` +`func (o *RubyPackageUploadResponse) GetIsSyncAwaiting() bool` GetIsSyncAwaiting returns the IsSyncAwaiting field if non-nil, zero value otherwise. ### GetIsSyncAwaitingOk -`func (o *CargoPackageUpload) GetIsSyncAwaitingOk() (*bool, bool)` +`func (o *RubyPackageUploadResponse) GetIsSyncAwaitingOk() (*bool, bool)` GetIsSyncAwaitingOk returns a tuple with the IsSyncAwaiting field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetIsSyncAwaiting -`func (o *CargoPackageUpload) SetIsSyncAwaiting(v bool)` +`func (o *RubyPackageUploadResponse) SetIsSyncAwaiting(v bool)` SetIsSyncAwaiting sets IsSyncAwaiting field to given value. ### HasIsSyncAwaiting -`func (o *CargoPackageUpload) HasIsSyncAwaiting() bool` +`func (o *RubyPackageUploadResponse) HasIsSyncAwaiting() bool` HasIsSyncAwaiting returns a boolean if a field has been set. ### GetIsSyncCompleted -`func (o *CargoPackageUpload) GetIsSyncCompleted() bool` +`func (o *RubyPackageUploadResponse) GetIsSyncCompleted() bool` GetIsSyncCompleted returns the IsSyncCompleted field if non-nil, zero value otherwise. ### GetIsSyncCompletedOk -`func (o *CargoPackageUpload) GetIsSyncCompletedOk() (*bool, bool)` +`func (o *RubyPackageUploadResponse) GetIsSyncCompletedOk() (*bool, bool)` GetIsSyncCompletedOk returns a tuple with the IsSyncCompleted field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetIsSyncCompleted -`func (o *CargoPackageUpload) SetIsSyncCompleted(v bool)` +`func (o *RubyPackageUploadResponse) SetIsSyncCompleted(v bool)` SetIsSyncCompleted sets IsSyncCompleted field to given value. ### HasIsSyncCompleted -`func (o *CargoPackageUpload) HasIsSyncCompleted() bool` +`func (o *RubyPackageUploadResponse) HasIsSyncCompleted() bool` HasIsSyncCompleted returns a boolean if a field has been set. ### GetIsSyncFailed -`func (o *CargoPackageUpload) GetIsSyncFailed() bool` +`func (o *RubyPackageUploadResponse) GetIsSyncFailed() bool` GetIsSyncFailed returns the IsSyncFailed field if non-nil, zero value otherwise. ### GetIsSyncFailedOk -`func (o *CargoPackageUpload) GetIsSyncFailedOk() (*bool, bool)` +`func (o *RubyPackageUploadResponse) GetIsSyncFailedOk() (*bool, bool)` GetIsSyncFailedOk returns a tuple with the IsSyncFailed field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetIsSyncFailed -`func (o *CargoPackageUpload) SetIsSyncFailed(v bool)` +`func (o *RubyPackageUploadResponse) SetIsSyncFailed(v bool)` SetIsSyncFailed sets IsSyncFailed field to given value. ### HasIsSyncFailed -`func (o *CargoPackageUpload) HasIsSyncFailed() bool` +`func (o *RubyPackageUploadResponse) HasIsSyncFailed() bool` HasIsSyncFailed returns a boolean if a field has been set. ### GetIsSyncInFlight -`func (o *CargoPackageUpload) GetIsSyncInFlight() bool` +`func (o *RubyPackageUploadResponse) GetIsSyncInFlight() bool` GetIsSyncInFlight returns the IsSyncInFlight field if non-nil, zero value otherwise. ### GetIsSyncInFlightOk -`func (o *CargoPackageUpload) GetIsSyncInFlightOk() (*bool, bool)` +`func (o *RubyPackageUploadResponse) GetIsSyncInFlightOk() (*bool, bool)` GetIsSyncInFlightOk returns a tuple with the IsSyncInFlight field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetIsSyncInFlight -`func (o *CargoPackageUpload) SetIsSyncInFlight(v bool)` +`func (o *RubyPackageUploadResponse) SetIsSyncInFlight(v bool)` SetIsSyncInFlight sets IsSyncInFlight field to given value. ### HasIsSyncInFlight -`func (o *CargoPackageUpload) HasIsSyncInFlight() bool` +`func (o *RubyPackageUploadResponse) HasIsSyncInFlight() bool` HasIsSyncInFlight returns a boolean if a field has been set. ### GetIsSyncInProgress -`func (o *CargoPackageUpload) GetIsSyncInProgress() bool` +`func (o *RubyPackageUploadResponse) GetIsSyncInProgress() bool` GetIsSyncInProgress returns the IsSyncInProgress field if non-nil, zero value otherwise. ### GetIsSyncInProgressOk -`func (o *CargoPackageUpload) GetIsSyncInProgressOk() (*bool, bool)` +`func (o *RubyPackageUploadResponse) GetIsSyncInProgressOk() (*bool, bool)` GetIsSyncInProgressOk returns a tuple with the IsSyncInProgress field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetIsSyncInProgress -`func (o *CargoPackageUpload) SetIsSyncInProgress(v bool)` +`func (o *RubyPackageUploadResponse) SetIsSyncInProgress(v bool)` SetIsSyncInProgress sets IsSyncInProgress field to given value. ### HasIsSyncInProgress -`func (o *CargoPackageUpload) HasIsSyncInProgress() bool` +`func (o *RubyPackageUploadResponse) HasIsSyncInProgress() bool` HasIsSyncInProgress returns a boolean if a field has been set. ### GetLicense -`func (o *CargoPackageUpload) GetLicense() string` +`func (o *RubyPackageUploadResponse) GetLicense() string` GetLicense returns the License field if non-nil, zero value otherwise. ### GetLicenseOk -`func (o *CargoPackageUpload) GetLicenseOk() (*string, bool)` +`func (o *RubyPackageUploadResponse) GetLicenseOk() (*string, bool)` GetLicenseOk returns a tuple with the License field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetLicense -`func (o *CargoPackageUpload) SetLicense(v string)` +`func (o *RubyPackageUploadResponse) SetLicense(v string)` SetLicense sets License field to given value. ### HasLicense -`func (o *CargoPackageUpload) HasLicense() bool` +`func (o *RubyPackageUploadResponse) HasLicense() bool` HasLicense returns a boolean if a field has been set. ### GetName -`func (o *CargoPackageUpload) GetName() string` +`func (o *RubyPackageUploadResponse) GetName() string` GetName returns the Name field if non-nil, zero value otherwise. ### GetNameOk -`func (o *CargoPackageUpload) GetNameOk() (*string, bool)` +`func (o *RubyPackageUploadResponse) GetNameOk() (*string, bool)` 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. ### SetName -`func (o *CargoPackageUpload) SetName(v string)` +`func (o *RubyPackageUploadResponse) SetName(v string)` SetName sets Name field to given value. ### HasName -`func (o *CargoPackageUpload) HasName() bool` +`func (o *RubyPackageUploadResponse) HasName() bool` HasName returns a boolean if a field has been set. ### GetNamespace -`func (o *CargoPackageUpload) GetNamespace() string` +`func (o *RubyPackageUploadResponse) GetNamespace() string` GetNamespace returns the Namespace field if non-nil, zero value otherwise. ### GetNamespaceOk -`func (o *CargoPackageUpload) GetNamespaceOk() (*string, bool)` +`func (o *RubyPackageUploadResponse) GetNamespaceOk() (*string, bool)` GetNamespaceOk returns a tuple with the Namespace field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetNamespace -`func (o *CargoPackageUpload) SetNamespace(v string)` +`func (o *RubyPackageUploadResponse) SetNamespace(v string)` SetNamespace sets Namespace field to given value. ### HasNamespace -`func (o *CargoPackageUpload) HasNamespace() bool` +`func (o *RubyPackageUploadResponse) HasNamespace() bool` HasNamespace returns a boolean if a field has been set. ### GetNamespaceUrl -`func (o *CargoPackageUpload) GetNamespaceUrl() string` +`func (o *RubyPackageUploadResponse) GetNamespaceUrl() string` GetNamespaceUrl returns the NamespaceUrl field if non-nil, zero value otherwise. ### GetNamespaceUrlOk -`func (o *CargoPackageUpload) GetNamespaceUrlOk() (*string, bool)` +`func (o *RubyPackageUploadResponse) GetNamespaceUrlOk() (*string, bool)` GetNamespaceUrlOk returns a tuple with the NamespaceUrl field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetNamespaceUrl -`func (o *CargoPackageUpload) SetNamespaceUrl(v string)` +`func (o *RubyPackageUploadResponse) SetNamespaceUrl(v string)` SetNamespaceUrl sets NamespaceUrl field to given value. ### HasNamespaceUrl -`func (o *CargoPackageUpload) HasNamespaceUrl() bool` +`func (o *RubyPackageUploadResponse) HasNamespaceUrl() bool` HasNamespaceUrl returns a boolean if a field has been set. ### GetNumFiles -`func (o *CargoPackageUpload) GetNumFiles() int64` +`func (o *RubyPackageUploadResponse) GetNumFiles() int64` GetNumFiles returns the NumFiles field if non-nil, zero value otherwise. ### GetNumFilesOk -`func (o *CargoPackageUpload) GetNumFilesOk() (*int64, bool)` +`func (o *RubyPackageUploadResponse) GetNumFilesOk() (*int64, bool)` GetNumFilesOk returns a tuple with the NumFiles field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetNumFiles -`func (o *CargoPackageUpload) SetNumFiles(v int64)` +`func (o *RubyPackageUploadResponse) SetNumFiles(v int64)` SetNumFiles sets NumFiles field to given value. ### HasNumFiles -`func (o *CargoPackageUpload) HasNumFiles() bool` +`func (o *RubyPackageUploadResponse) HasNumFiles() bool` HasNumFiles returns a boolean if a field has been set. +### GetOriginRepository + +`func (o *RubyPackageUploadResponse) GetOriginRepository() string` + +GetOriginRepository returns the OriginRepository field if non-nil, zero value otherwise. + +### GetOriginRepositoryOk + +`func (o *RubyPackageUploadResponse) GetOriginRepositoryOk() (*string, bool)` + +GetOriginRepositoryOk returns a tuple with the OriginRepository field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetOriginRepository + +`func (o *RubyPackageUploadResponse) SetOriginRepository(v string)` + +SetOriginRepository sets OriginRepository field to given value. + +### HasOriginRepository + +`func (o *RubyPackageUploadResponse) HasOriginRepository() bool` + +HasOriginRepository returns a boolean if a field has been set. + +### GetOriginRepositoryUrl + +`func (o *RubyPackageUploadResponse) GetOriginRepositoryUrl() string` + +GetOriginRepositoryUrl returns the OriginRepositoryUrl field if non-nil, zero value otherwise. + +### GetOriginRepositoryUrlOk + +`func (o *RubyPackageUploadResponse) GetOriginRepositoryUrlOk() (*string, bool)` + +GetOriginRepositoryUrlOk returns a tuple with the OriginRepositoryUrl field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetOriginRepositoryUrl + +`func (o *RubyPackageUploadResponse) SetOriginRepositoryUrl(v string)` + +SetOriginRepositoryUrl sets OriginRepositoryUrl field to given value. + +### HasOriginRepositoryUrl + +`func (o *RubyPackageUploadResponse) HasOriginRepositoryUrl() bool` + +HasOriginRepositoryUrl returns a boolean if a field has been set. + ### GetPackageType -`func (o *CargoPackageUpload) GetPackageType() int64` +`func (o *RubyPackageUploadResponse) GetPackageType() int64` GetPackageType returns the PackageType field if non-nil, zero value otherwise. ### GetPackageTypeOk -`func (o *CargoPackageUpload) GetPackageTypeOk() (*int64, bool)` +`func (o *RubyPackageUploadResponse) GetPackageTypeOk() (*int64, bool)` GetPackageTypeOk returns a tuple with the PackageType field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetPackageType -`func (o *CargoPackageUpload) SetPackageType(v int64)` +`func (o *RubyPackageUploadResponse) SetPackageType(v int64)` SetPackageType sets PackageType field to given value. ### HasPackageType -`func (o *CargoPackageUpload) HasPackageType() bool` +`func (o *RubyPackageUploadResponse) HasPackageType() bool` HasPackageType returns a boolean if a field has been set. ### GetRelease -`func (o *CargoPackageUpload) GetRelease() string` +`func (o *RubyPackageUploadResponse) GetRelease() string` GetRelease returns the Release field if non-nil, zero value otherwise. ### GetReleaseOk -`func (o *CargoPackageUpload) GetReleaseOk() (*string, bool)` +`func (o *RubyPackageUploadResponse) GetReleaseOk() (*string, bool)` GetReleaseOk returns a tuple with the Release field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetRelease -`func (o *CargoPackageUpload) SetRelease(v string)` +`func (o *RubyPackageUploadResponse) SetRelease(v string)` SetRelease sets Release field to given value. ### HasRelease -`func (o *CargoPackageUpload) HasRelease() bool` +`func (o *RubyPackageUploadResponse) HasRelease() bool` HasRelease returns a boolean if a field has been set. ### GetRepository -`func (o *CargoPackageUpload) GetRepository() string` +`func (o *RubyPackageUploadResponse) GetRepository() string` GetRepository returns the Repository field if non-nil, zero value otherwise. ### GetRepositoryOk -`func (o *CargoPackageUpload) GetRepositoryOk() (*string, bool)` +`func (o *RubyPackageUploadResponse) GetRepositoryOk() (*string, bool)` GetRepositoryOk returns a tuple with the Repository field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetRepository -`func (o *CargoPackageUpload) SetRepository(v string)` +`func (o *RubyPackageUploadResponse) SetRepository(v string)` SetRepository sets Repository field to given value. ### HasRepository -`func (o *CargoPackageUpload) HasRepository() bool` +`func (o *RubyPackageUploadResponse) HasRepository() bool` HasRepository returns a boolean if a field has been set. ### GetRepositoryUrl -`func (o *CargoPackageUpload) GetRepositoryUrl() string` +`func (o *RubyPackageUploadResponse) GetRepositoryUrl() string` GetRepositoryUrl returns the RepositoryUrl field if non-nil, zero value otherwise. ### GetRepositoryUrlOk -`func (o *CargoPackageUpload) GetRepositoryUrlOk() (*string, bool)` +`func (o *RubyPackageUploadResponse) GetRepositoryUrlOk() (*string, bool)` GetRepositoryUrlOk returns a tuple with the RepositoryUrl field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetRepositoryUrl -`func (o *CargoPackageUpload) SetRepositoryUrl(v string)` +`func (o *RubyPackageUploadResponse) SetRepositoryUrl(v string)` SetRepositoryUrl sets RepositoryUrl field to given value. ### HasRepositoryUrl -`func (o *CargoPackageUpload) HasRepositoryUrl() bool` +`func (o *RubyPackageUploadResponse) HasRepositoryUrl() bool` HasRepositoryUrl returns a boolean if a field has been set. ### GetSecurityScanCompletedAt -`func (o *CargoPackageUpload) GetSecurityScanCompletedAt() string` +`func (o *RubyPackageUploadResponse) GetSecurityScanCompletedAt() time.Time` GetSecurityScanCompletedAt returns the SecurityScanCompletedAt field if non-nil, zero value otherwise. ### GetSecurityScanCompletedAtOk -`func (o *CargoPackageUpload) GetSecurityScanCompletedAtOk() (*string, bool)` +`func (o *RubyPackageUploadResponse) GetSecurityScanCompletedAtOk() (*time.Time, bool)` GetSecurityScanCompletedAtOk returns a tuple with the SecurityScanCompletedAt field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetSecurityScanCompletedAt -`func (o *CargoPackageUpload) SetSecurityScanCompletedAt(v string)` +`func (o *RubyPackageUploadResponse) SetSecurityScanCompletedAt(v time.Time)` SetSecurityScanCompletedAt sets SecurityScanCompletedAt field to given value. ### HasSecurityScanCompletedAt -`func (o *CargoPackageUpload) HasSecurityScanCompletedAt() bool` +`func (o *RubyPackageUploadResponse) HasSecurityScanCompletedAt() bool` HasSecurityScanCompletedAt returns a boolean if a field has been set. ### GetSecurityScanStartedAt -`func (o *CargoPackageUpload) GetSecurityScanStartedAt() string` +`func (o *RubyPackageUploadResponse) GetSecurityScanStartedAt() time.Time` GetSecurityScanStartedAt returns the SecurityScanStartedAt field if non-nil, zero value otherwise. ### GetSecurityScanStartedAtOk -`func (o *CargoPackageUpload) GetSecurityScanStartedAtOk() (*string, bool)` +`func (o *RubyPackageUploadResponse) GetSecurityScanStartedAtOk() (*time.Time, bool)` GetSecurityScanStartedAtOk returns a tuple with the SecurityScanStartedAt field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetSecurityScanStartedAt -`func (o *CargoPackageUpload) SetSecurityScanStartedAt(v string)` +`func (o *RubyPackageUploadResponse) SetSecurityScanStartedAt(v time.Time)` SetSecurityScanStartedAt sets SecurityScanStartedAt field to given value. ### HasSecurityScanStartedAt -`func (o *CargoPackageUpload) HasSecurityScanStartedAt() bool` +`func (o *RubyPackageUploadResponse) HasSecurityScanStartedAt() bool` HasSecurityScanStartedAt returns a boolean if a field has been set. ### GetSecurityScanStatus -`func (o *CargoPackageUpload) GetSecurityScanStatus() string` +`func (o *RubyPackageUploadResponse) GetSecurityScanStatus() string` GetSecurityScanStatus returns the SecurityScanStatus field if non-nil, zero value otherwise. ### GetSecurityScanStatusOk -`func (o *CargoPackageUpload) GetSecurityScanStatusOk() (*string, bool)` +`func (o *RubyPackageUploadResponse) GetSecurityScanStatusOk() (*string, bool)` GetSecurityScanStatusOk returns a tuple with the SecurityScanStatus field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetSecurityScanStatus -`func (o *CargoPackageUpload) SetSecurityScanStatus(v string)` +`func (o *RubyPackageUploadResponse) SetSecurityScanStatus(v string)` SetSecurityScanStatus sets SecurityScanStatus field to given value. ### HasSecurityScanStatus -`func (o *CargoPackageUpload) HasSecurityScanStatus() bool` +`func (o *RubyPackageUploadResponse) HasSecurityScanStatus() bool` HasSecurityScanStatus returns a boolean if a field has been set. +### SetSecurityScanStatusNil + +`func (o *RubyPackageUploadResponse) SetSecurityScanStatusNil(b bool)` + + SetSecurityScanStatusNil sets the value for SecurityScanStatus to be an explicit nil + +### UnsetSecurityScanStatus +`func (o *RubyPackageUploadResponse) UnsetSecurityScanStatus()` + +UnsetSecurityScanStatus ensures that no value is present for SecurityScanStatus, not even an explicit nil ### GetSecurityScanStatusUpdatedAt -`func (o *CargoPackageUpload) GetSecurityScanStatusUpdatedAt() string` +`func (o *RubyPackageUploadResponse) GetSecurityScanStatusUpdatedAt() time.Time` GetSecurityScanStatusUpdatedAt returns the SecurityScanStatusUpdatedAt field if non-nil, zero value otherwise. ### GetSecurityScanStatusUpdatedAtOk -`func (o *CargoPackageUpload) GetSecurityScanStatusUpdatedAtOk() (*string, bool)` +`func (o *RubyPackageUploadResponse) GetSecurityScanStatusUpdatedAtOk() (*time.Time, bool)` GetSecurityScanStatusUpdatedAtOk returns a tuple with the SecurityScanStatusUpdatedAt field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetSecurityScanStatusUpdatedAt -`func (o *CargoPackageUpload) SetSecurityScanStatusUpdatedAt(v string)` +`func (o *RubyPackageUploadResponse) SetSecurityScanStatusUpdatedAt(v time.Time)` SetSecurityScanStatusUpdatedAt sets SecurityScanStatusUpdatedAt field to given value. ### HasSecurityScanStatusUpdatedAt -`func (o *CargoPackageUpload) HasSecurityScanStatusUpdatedAt() bool` +`func (o *RubyPackageUploadResponse) HasSecurityScanStatusUpdatedAt() bool` HasSecurityScanStatusUpdatedAt returns a boolean if a field has been set. ### GetSelfHtmlUrl -`func (o *CargoPackageUpload) GetSelfHtmlUrl() string` +`func (o *RubyPackageUploadResponse) GetSelfHtmlUrl() string` GetSelfHtmlUrl returns the SelfHtmlUrl field if non-nil, zero value otherwise. ### GetSelfHtmlUrlOk -`func (o *CargoPackageUpload) GetSelfHtmlUrlOk() (*string, bool)` +`func (o *RubyPackageUploadResponse) GetSelfHtmlUrlOk() (*string, bool)` GetSelfHtmlUrlOk returns a tuple with the SelfHtmlUrl field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetSelfHtmlUrl -`func (o *CargoPackageUpload) SetSelfHtmlUrl(v string)` +`func (o *RubyPackageUploadResponse) SetSelfHtmlUrl(v string)` SetSelfHtmlUrl sets SelfHtmlUrl field to given value. ### HasSelfHtmlUrl -`func (o *CargoPackageUpload) HasSelfHtmlUrl() bool` +`func (o *RubyPackageUploadResponse) HasSelfHtmlUrl() bool` HasSelfHtmlUrl returns a boolean if a field has been set. ### GetSelfUrl -`func (o *CargoPackageUpload) GetSelfUrl() string` +`func (o *RubyPackageUploadResponse) GetSelfUrl() string` GetSelfUrl returns the SelfUrl field if non-nil, zero value otherwise. ### GetSelfUrlOk -`func (o *CargoPackageUpload) GetSelfUrlOk() (*string, bool)` +`func (o *RubyPackageUploadResponse) GetSelfUrlOk() (*string, bool)` GetSelfUrlOk returns a tuple with the SelfUrl field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetSelfUrl -`func (o *CargoPackageUpload) SetSelfUrl(v string)` +`func (o *RubyPackageUploadResponse) SetSelfUrl(v string)` SetSelfUrl sets SelfUrl field to given value. ### HasSelfUrl -`func (o *CargoPackageUpload) HasSelfUrl() bool` +`func (o *RubyPackageUploadResponse) HasSelfUrl() bool` HasSelfUrl returns a boolean if a field has been set. ### GetSignatureUrl -`func (o *CargoPackageUpload) GetSignatureUrl() string` +`func (o *RubyPackageUploadResponse) GetSignatureUrl() string` GetSignatureUrl returns the SignatureUrl field if non-nil, zero value otherwise. ### GetSignatureUrlOk -`func (o *CargoPackageUpload) GetSignatureUrlOk() (*string, bool)` +`func (o *RubyPackageUploadResponse) GetSignatureUrlOk() (*string, bool)` GetSignatureUrlOk returns a tuple with the SignatureUrl field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetSignatureUrl -`func (o *CargoPackageUpload) SetSignatureUrl(v string)` +`func (o *RubyPackageUploadResponse) SetSignatureUrl(v string)` SetSignatureUrl sets SignatureUrl field to given value. ### HasSignatureUrl -`func (o *CargoPackageUpload) HasSignatureUrl() bool` +`func (o *RubyPackageUploadResponse) HasSignatureUrl() bool` HasSignatureUrl returns a boolean if a field has been set. +### SetSignatureUrlNil + +`func (o *RubyPackageUploadResponse) SetSignatureUrlNil(b bool)` + + SetSignatureUrlNil sets the value for SignatureUrl to be an explicit nil + +### UnsetSignatureUrl +`func (o *RubyPackageUploadResponse) UnsetSignatureUrl()` + +UnsetSignatureUrl ensures that no value is present for SignatureUrl, not even an explicit nil ### GetSize -`func (o *CargoPackageUpload) GetSize() int64` +`func (o *RubyPackageUploadResponse) GetSize() int64` GetSize returns the Size field if non-nil, zero value otherwise. ### GetSizeOk -`func (o *CargoPackageUpload) GetSizeOk() (*int64, bool)` +`func (o *RubyPackageUploadResponse) GetSizeOk() (*int64, bool)` GetSizeOk returns a tuple with the Size field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetSize -`func (o *CargoPackageUpload) SetSize(v int64)` +`func (o *RubyPackageUploadResponse) SetSize(v int64)` SetSize sets Size field to given value. ### HasSize -`func (o *CargoPackageUpload) HasSize() bool` +`func (o *RubyPackageUploadResponse) HasSize() bool` HasSize returns a boolean if a field has been set. ### GetSlug -`func (o *CargoPackageUpload) GetSlug() string` +`func (o *RubyPackageUploadResponse) GetSlug() string` GetSlug returns the Slug field if non-nil, zero value otherwise. ### GetSlugOk -`func (o *CargoPackageUpload) GetSlugOk() (*string, bool)` +`func (o *RubyPackageUploadResponse) GetSlugOk() (*string, bool)` GetSlugOk returns a tuple with the Slug field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetSlug -`func (o *CargoPackageUpload) SetSlug(v string)` +`func (o *RubyPackageUploadResponse) SetSlug(v string)` SetSlug sets Slug field to given value. ### HasSlug -`func (o *CargoPackageUpload) HasSlug() bool` +`func (o *RubyPackageUploadResponse) HasSlug() bool` HasSlug returns a boolean if a field has been set. ### GetSlugPerm -`func (o *CargoPackageUpload) GetSlugPerm() string` +`func (o *RubyPackageUploadResponse) GetSlugPerm() string` GetSlugPerm returns the SlugPerm field if non-nil, zero value otherwise. ### GetSlugPermOk -`func (o *CargoPackageUpload) GetSlugPermOk() (*string, bool)` +`func (o *RubyPackageUploadResponse) GetSlugPermOk() (*string, bool)` GetSlugPermOk returns a tuple with the SlugPerm field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetSlugPerm -`func (o *CargoPackageUpload) SetSlugPerm(v string)` +`func (o *RubyPackageUploadResponse) SetSlugPerm(v string)` SetSlugPerm sets SlugPerm field to given value. ### HasSlugPerm -`func (o *CargoPackageUpload) HasSlugPerm() bool` +`func (o *RubyPackageUploadResponse) HasSlugPerm() bool` HasSlugPerm returns a boolean if a field has been set. ### GetStage -`func (o *CargoPackageUpload) GetStage() int64` +`func (o *RubyPackageUploadResponse) GetStage() int64` GetStage returns the Stage field if non-nil, zero value otherwise. ### GetStageOk -`func (o *CargoPackageUpload) GetStageOk() (*int64, bool)` +`func (o *RubyPackageUploadResponse) GetStageOk() (*int64, bool)` GetStageOk returns a tuple with the Stage field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetStage -`func (o *CargoPackageUpload) SetStage(v int64)` +`func (o *RubyPackageUploadResponse) SetStage(v int64)` SetStage sets Stage field to given value. ### HasStage -`func (o *CargoPackageUpload) HasStage() bool` +`func (o *RubyPackageUploadResponse) HasStage() bool` HasStage returns a boolean if a field has been set. ### GetStageStr -`func (o *CargoPackageUpload) GetStageStr() string` +`func (o *RubyPackageUploadResponse) GetStageStr() string` GetStageStr returns the StageStr field if non-nil, zero value otherwise. ### GetStageStrOk -`func (o *CargoPackageUpload) GetStageStrOk() (*string, bool)` +`func (o *RubyPackageUploadResponse) GetStageStrOk() (*string, bool)` GetStageStrOk returns a tuple with the StageStr field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetStageStr -`func (o *CargoPackageUpload) SetStageStr(v string)` +`func (o *RubyPackageUploadResponse) SetStageStr(v string)` SetStageStr sets StageStr field to given value. ### HasStageStr -`func (o *CargoPackageUpload) HasStageStr() bool` +`func (o *RubyPackageUploadResponse) HasStageStr() bool` HasStageStr returns a boolean if a field has been set. ### GetStageUpdatedAt -`func (o *CargoPackageUpload) GetStageUpdatedAt() string` +`func (o *RubyPackageUploadResponse) GetStageUpdatedAt() time.Time` GetStageUpdatedAt returns the StageUpdatedAt field if non-nil, zero value otherwise. ### GetStageUpdatedAtOk -`func (o *CargoPackageUpload) GetStageUpdatedAtOk() (*string, bool)` +`func (o *RubyPackageUploadResponse) GetStageUpdatedAtOk() (*time.Time, bool)` GetStageUpdatedAtOk returns a tuple with the StageUpdatedAt field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetStageUpdatedAt -`func (o *CargoPackageUpload) SetStageUpdatedAt(v string)` +`func (o *RubyPackageUploadResponse) SetStageUpdatedAt(v time.Time)` SetStageUpdatedAt sets StageUpdatedAt field to given value. ### HasStageUpdatedAt -`func (o *CargoPackageUpload) HasStageUpdatedAt() bool` +`func (o *RubyPackageUploadResponse) HasStageUpdatedAt() bool` HasStageUpdatedAt returns a boolean if a field has been set. ### GetStatus -`func (o *CargoPackageUpload) GetStatus() int64` +`func (o *RubyPackageUploadResponse) GetStatus() int64` GetStatus returns the Status field if non-nil, zero value otherwise. ### GetStatusOk -`func (o *CargoPackageUpload) GetStatusOk() (*int64, bool)` +`func (o *RubyPackageUploadResponse) GetStatusOk() (*int64, bool)` GetStatusOk returns a tuple with the Status field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetStatus -`func (o *CargoPackageUpload) SetStatus(v int64)` +`func (o *RubyPackageUploadResponse) SetStatus(v int64)` SetStatus sets Status field to given value. ### HasStatus -`func (o *CargoPackageUpload) HasStatus() bool` +`func (o *RubyPackageUploadResponse) HasStatus() bool` HasStatus returns a boolean if a field has been set. ### GetStatusReason -`func (o *CargoPackageUpload) GetStatusReason() string` +`func (o *RubyPackageUploadResponse) GetStatusReason() string` GetStatusReason returns the StatusReason field if non-nil, zero value otherwise. ### GetStatusReasonOk -`func (o *CargoPackageUpload) GetStatusReasonOk() (*string, bool)` +`func (o *RubyPackageUploadResponse) GetStatusReasonOk() (*string, bool)` GetStatusReasonOk returns a tuple with the StatusReason field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetStatusReason -`func (o *CargoPackageUpload) SetStatusReason(v string)` +`func (o *RubyPackageUploadResponse) SetStatusReason(v string)` SetStatusReason sets StatusReason field to given value. ### HasStatusReason -`func (o *CargoPackageUpload) HasStatusReason() bool` +`func (o *RubyPackageUploadResponse) HasStatusReason() bool` HasStatusReason returns a boolean if a field has been set. ### GetStatusStr -`func (o *CargoPackageUpload) GetStatusStr() string` +`func (o *RubyPackageUploadResponse) GetStatusStr() string` GetStatusStr returns the StatusStr field if non-nil, zero value otherwise. ### GetStatusStrOk -`func (o *CargoPackageUpload) GetStatusStrOk() (*string, bool)` +`func (o *RubyPackageUploadResponse) GetStatusStrOk() (*string, bool)` GetStatusStrOk returns a tuple with the StatusStr field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetStatusStr -`func (o *CargoPackageUpload) SetStatusStr(v string)` +`func (o *RubyPackageUploadResponse) SetStatusStr(v string)` SetStatusStr sets StatusStr field to given value. ### HasStatusStr -`func (o *CargoPackageUpload) HasStatusStr() bool` +`func (o *RubyPackageUploadResponse) HasStatusStr() bool` HasStatusStr returns a boolean if a field has been set. ### GetStatusUpdatedAt -`func (o *CargoPackageUpload) GetStatusUpdatedAt() string` +`func (o *RubyPackageUploadResponse) GetStatusUpdatedAt() time.Time` GetStatusUpdatedAt returns the StatusUpdatedAt field if non-nil, zero value otherwise. ### GetStatusUpdatedAtOk -`func (o *CargoPackageUpload) GetStatusUpdatedAtOk() (*string, bool)` +`func (o *RubyPackageUploadResponse) GetStatusUpdatedAtOk() (*time.Time, bool)` GetStatusUpdatedAtOk returns a tuple with the StatusUpdatedAt field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetStatusUpdatedAt -`func (o *CargoPackageUpload) SetStatusUpdatedAt(v string)` +`func (o *RubyPackageUploadResponse) SetStatusUpdatedAt(v time.Time)` SetStatusUpdatedAt sets StatusUpdatedAt field to given value. ### HasStatusUpdatedAt -`func (o *CargoPackageUpload) HasStatusUpdatedAt() bool` +`func (o *RubyPackageUploadResponse) HasStatusUpdatedAt() bool` HasStatusUpdatedAt returns a boolean if a field has been set. ### GetStatusUrl -`func (o *CargoPackageUpload) GetStatusUrl() string` +`func (o *RubyPackageUploadResponse) GetStatusUrl() string` GetStatusUrl returns the StatusUrl field if non-nil, zero value otherwise. ### GetStatusUrlOk -`func (o *CargoPackageUpload) GetStatusUrlOk() (*string, bool)` +`func (o *RubyPackageUploadResponse) GetStatusUrlOk() (*string, bool)` GetStatusUrlOk returns a tuple with the StatusUrl field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetStatusUrl -`func (o *CargoPackageUpload) SetStatusUrl(v string)` +`func (o *RubyPackageUploadResponse) SetStatusUrl(v string)` SetStatusUrl sets StatusUrl field to given value. ### HasStatusUrl -`func (o *CargoPackageUpload) HasStatusUrl() bool` +`func (o *RubyPackageUploadResponse) HasStatusUrl() bool` HasStatusUrl returns a boolean if a field has been set. ### GetSubtype -`func (o *CargoPackageUpload) GetSubtype() string` +`func (o *RubyPackageUploadResponse) GetSubtype() string` GetSubtype returns the Subtype field if non-nil, zero value otherwise. ### GetSubtypeOk -`func (o *CargoPackageUpload) GetSubtypeOk() (*string, bool)` +`func (o *RubyPackageUploadResponse) GetSubtypeOk() (*string, bool)` GetSubtypeOk returns a tuple with the Subtype field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetSubtype -`func (o *CargoPackageUpload) SetSubtype(v string)` +`func (o *RubyPackageUploadResponse) SetSubtype(v string)` SetSubtype sets Subtype field to given value. ### HasSubtype -`func (o *CargoPackageUpload) HasSubtype() bool` +`func (o *RubyPackageUploadResponse) HasSubtype() bool` HasSubtype returns a boolean if a field has been set. ### GetSummary -`func (o *CargoPackageUpload) GetSummary() string` +`func (o *RubyPackageUploadResponse) GetSummary() string` GetSummary returns the Summary field if non-nil, zero value otherwise. ### GetSummaryOk -`func (o *CargoPackageUpload) GetSummaryOk() (*string, bool)` +`func (o *RubyPackageUploadResponse) GetSummaryOk() (*string, bool)` GetSummaryOk returns a tuple with the Summary field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetSummary -`func (o *CargoPackageUpload) SetSummary(v string)` +`func (o *RubyPackageUploadResponse) SetSummary(v string)` SetSummary sets Summary field to given value. ### HasSummary -`func (o *CargoPackageUpload) HasSummary() bool` +`func (o *RubyPackageUploadResponse) HasSummary() bool` HasSummary returns a boolean if a field has been set. ### GetSyncFinishedAt -`func (o *CargoPackageUpload) GetSyncFinishedAt() string` +`func (o *RubyPackageUploadResponse) GetSyncFinishedAt() time.Time` GetSyncFinishedAt returns the SyncFinishedAt field if non-nil, zero value otherwise. ### GetSyncFinishedAtOk -`func (o *CargoPackageUpload) GetSyncFinishedAtOk() (*string, bool)` +`func (o *RubyPackageUploadResponse) GetSyncFinishedAtOk() (*time.Time, bool)` GetSyncFinishedAtOk returns a tuple with the SyncFinishedAt field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetSyncFinishedAt -`func (o *CargoPackageUpload) SetSyncFinishedAt(v string)` +`func (o *RubyPackageUploadResponse) SetSyncFinishedAt(v time.Time)` SetSyncFinishedAt sets SyncFinishedAt field to given value. ### HasSyncFinishedAt -`func (o *CargoPackageUpload) HasSyncFinishedAt() bool` +`func (o *RubyPackageUploadResponse) HasSyncFinishedAt() bool` HasSyncFinishedAt returns a boolean if a field has been set. ### GetSyncProgress -`func (o *CargoPackageUpload) GetSyncProgress() int64` +`func (o *RubyPackageUploadResponse) GetSyncProgress() int64` GetSyncProgress returns the SyncProgress field if non-nil, zero value otherwise. ### GetSyncProgressOk -`func (o *CargoPackageUpload) GetSyncProgressOk() (*int64, bool)` +`func (o *RubyPackageUploadResponse) GetSyncProgressOk() (*int64, bool)` GetSyncProgressOk returns a tuple with the SyncProgress field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetSyncProgress -`func (o *CargoPackageUpload) SetSyncProgress(v int64)` +`func (o *RubyPackageUploadResponse) SetSyncProgress(v int64)` SetSyncProgress sets SyncProgress field to given value. ### HasSyncProgress -`func (o *CargoPackageUpload) HasSyncProgress() bool` +`func (o *RubyPackageUploadResponse) HasSyncProgress() bool` HasSyncProgress returns a boolean if a field has been set. ### GetTagsImmutable -`func (o *CargoPackageUpload) GetTagsImmutable() map[string]interface{}` +`func (o *RubyPackageUploadResponse) GetTagsImmutable() map[string]interface{}` GetTagsImmutable returns the TagsImmutable field if non-nil, zero value otherwise. ### GetTagsImmutableOk -`func (o *CargoPackageUpload) GetTagsImmutableOk() (*map[string]interface{}, bool)` +`func (o *RubyPackageUploadResponse) GetTagsImmutableOk() (*map[string]interface{}, bool)` GetTagsImmutableOk returns a tuple with the TagsImmutable field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetTagsImmutable -`func (o *CargoPackageUpload) SetTagsImmutable(v map[string]interface{})` +`func (o *RubyPackageUploadResponse) SetTagsImmutable(v map[string]interface{})` SetTagsImmutable sets TagsImmutable field to given value. ### HasTagsImmutable -`func (o *CargoPackageUpload) HasTagsImmutable() bool` +`func (o *RubyPackageUploadResponse) HasTagsImmutable() bool` HasTagsImmutable returns a boolean if a field has been set. ### GetTypeDisplay -`func (o *CargoPackageUpload) GetTypeDisplay() string` +`func (o *RubyPackageUploadResponse) GetTypeDisplay() string` GetTypeDisplay returns the TypeDisplay field if non-nil, zero value otherwise. ### GetTypeDisplayOk -`func (o *CargoPackageUpload) GetTypeDisplayOk() (*string, bool)` +`func (o *RubyPackageUploadResponse) GetTypeDisplayOk() (*string, bool)` GetTypeDisplayOk returns a tuple with the TypeDisplay field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetTypeDisplay -`func (o *CargoPackageUpload) SetTypeDisplay(v string)` +`func (o *RubyPackageUploadResponse) SetTypeDisplay(v string)` SetTypeDisplay sets TypeDisplay field to given value. ### HasTypeDisplay -`func (o *CargoPackageUpload) HasTypeDisplay() bool` +`func (o *RubyPackageUploadResponse) HasTypeDisplay() bool` HasTypeDisplay returns a boolean if a field has been set. ### GetUploadedAt -`func (o *CargoPackageUpload) GetUploadedAt() string` +`func (o *RubyPackageUploadResponse) GetUploadedAt() time.Time` GetUploadedAt returns the UploadedAt field if non-nil, zero value otherwise. ### GetUploadedAtOk -`func (o *CargoPackageUpload) GetUploadedAtOk() (*string, bool)` +`func (o *RubyPackageUploadResponse) GetUploadedAtOk() (*time.Time, bool)` GetUploadedAtOk returns a tuple with the UploadedAt field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetUploadedAt -`func (o *CargoPackageUpload) SetUploadedAt(v string)` +`func (o *RubyPackageUploadResponse) SetUploadedAt(v time.Time)` SetUploadedAt sets UploadedAt field to given value. ### HasUploadedAt -`func (o *CargoPackageUpload) HasUploadedAt() bool` +`func (o *RubyPackageUploadResponse) HasUploadedAt() bool` HasUploadedAt returns a boolean if a field has been set. ### GetUploader -`func (o *CargoPackageUpload) GetUploader() string` +`func (o *RubyPackageUploadResponse) GetUploader() string` GetUploader returns the Uploader field if non-nil, zero value otherwise. ### GetUploaderOk -`func (o *CargoPackageUpload) GetUploaderOk() (*string, bool)` +`func (o *RubyPackageUploadResponse) GetUploaderOk() (*string, bool)` GetUploaderOk returns a tuple with the Uploader field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetUploader -`func (o *CargoPackageUpload) SetUploader(v string)` +`func (o *RubyPackageUploadResponse) SetUploader(v string)` SetUploader sets Uploader field to given value. ### HasUploader -`func (o *CargoPackageUpload) HasUploader() bool` +`func (o *RubyPackageUploadResponse) HasUploader() bool` HasUploader returns a boolean if a field has been set. ### GetUploaderUrl -`func (o *CargoPackageUpload) GetUploaderUrl() string` +`func (o *RubyPackageUploadResponse) GetUploaderUrl() string` GetUploaderUrl returns the UploaderUrl field if non-nil, zero value otherwise. ### GetUploaderUrlOk -`func (o *CargoPackageUpload) GetUploaderUrlOk() (*string, bool)` +`func (o *RubyPackageUploadResponse) GetUploaderUrlOk() (*string, bool)` GetUploaderUrlOk returns a tuple with the UploaderUrl field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetUploaderUrl -`func (o *CargoPackageUpload) SetUploaderUrl(v string)` +`func (o *RubyPackageUploadResponse) SetUploaderUrl(v string)` SetUploaderUrl sets UploaderUrl field to given value. ### HasUploaderUrl -`func (o *CargoPackageUpload) HasUploaderUrl() bool` +`func (o *RubyPackageUploadResponse) HasUploaderUrl() bool` HasUploaderUrl returns a boolean if a field has been set. ### GetVersion -`func (o *CargoPackageUpload) GetVersion() string` +`func (o *RubyPackageUploadResponse) GetVersion() string` GetVersion returns the Version field if non-nil, zero value otherwise. ### GetVersionOk -`func (o *CargoPackageUpload) GetVersionOk() (*string, bool)` +`func (o *RubyPackageUploadResponse) GetVersionOk() (*string, bool)` GetVersionOk returns a tuple with the Version field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetVersion -`func (o *CargoPackageUpload) SetVersion(v string)` +`func (o *RubyPackageUploadResponse) SetVersion(v string)` SetVersion sets Version field to given value. ### HasVersion -`func (o *CargoPackageUpload) HasVersion() bool` +`func (o *RubyPackageUploadResponse) HasVersion() bool` HasVersion returns a boolean if a field has been set. ### GetVersionOrig -`func (o *CargoPackageUpload) GetVersionOrig() string` +`func (o *RubyPackageUploadResponse) GetVersionOrig() string` GetVersionOrig returns the VersionOrig field if non-nil, zero value otherwise. ### GetVersionOrigOk -`func (o *CargoPackageUpload) GetVersionOrigOk() (*string, bool)` +`func (o *RubyPackageUploadResponse) GetVersionOrigOk() (*string, bool)` GetVersionOrigOk returns a tuple with the VersionOrig field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetVersionOrig -`func (o *CargoPackageUpload) SetVersionOrig(v string)` +`func (o *RubyPackageUploadResponse) SetVersionOrig(v string)` SetVersionOrig sets VersionOrig field to given value. ### HasVersionOrig -`func (o *CargoPackageUpload) HasVersionOrig() bool` +`func (o *RubyPackageUploadResponse) HasVersionOrig() bool` HasVersionOrig returns a boolean if a field has been set. ### GetVulnerabilityScanResultsUrl -`func (o *CargoPackageUpload) GetVulnerabilityScanResultsUrl() string` +`func (o *RubyPackageUploadResponse) GetVulnerabilityScanResultsUrl() string` GetVulnerabilityScanResultsUrl returns the VulnerabilityScanResultsUrl field if non-nil, zero value otherwise. ### GetVulnerabilityScanResultsUrlOk -`func (o *CargoPackageUpload) GetVulnerabilityScanResultsUrlOk() (*string, bool)` +`func (o *RubyPackageUploadResponse) GetVulnerabilityScanResultsUrlOk() (*string, bool)` GetVulnerabilityScanResultsUrlOk returns a tuple with the VulnerabilityScanResultsUrl field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetVulnerabilityScanResultsUrl -`func (o *CargoPackageUpload) SetVulnerabilityScanResultsUrl(v string)` +`func (o *RubyPackageUploadResponse) SetVulnerabilityScanResultsUrl(v string)` SetVulnerabilityScanResultsUrl sets VulnerabilityScanResultsUrl field to given value. ### HasVulnerabilityScanResultsUrl -`func (o *CargoPackageUpload) HasVulnerabilityScanResultsUrl() bool` +`func (o *RubyPackageUploadResponse) HasVulnerabilityScanResultsUrl() bool` HasVulnerabilityScanResultsUrl returns a boolean if a field has been set. diff --git a/docs/ServiceRequest.md b/docs/ServiceRequest.md new file mode 100644 index 00000000..e61704a4 --- /dev/null +++ b/docs/ServiceRequest.md @@ -0,0 +1,129 @@ +# ServiceRequest + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Description** | Pointer to **string** | The description of the service | [optional] +**Name** | **string** | The name of the service | +**Role** | Pointer to **string** | The role of the service. | [optional] [default to "Member"] +**Teams** | Pointer to [**[]ServiceTeams**](ServiceTeams.md) | | [optional] + +## Methods + +### NewServiceRequest + +`func NewServiceRequest(name string, ) *ServiceRequest` + +NewServiceRequest instantiates a new ServiceRequest object +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 + +### NewServiceRequestWithDefaults + +`func NewServiceRequestWithDefaults() *ServiceRequest` + +NewServiceRequestWithDefaults instantiates a new ServiceRequest object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetDescription + +`func (o *ServiceRequest) GetDescription() string` + +GetDescription returns the Description field if non-nil, zero value otherwise. + +### GetDescriptionOk + +`func (o *ServiceRequest) GetDescriptionOk() (*string, bool)` + +GetDescriptionOk returns a tuple with the Description field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetDescription + +`func (o *ServiceRequest) SetDescription(v string)` + +SetDescription sets Description field to given value. + +### HasDescription + +`func (o *ServiceRequest) HasDescription() bool` + +HasDescription returns a boolean if a field has been set. + +### GetName + +`func (o *ServiceRequest) GetName() string` + +GetName returns the Name field if non-nil, zero value otherwise. + +### GetNameOk + +`func (o *ServiceRequest) GetNameOk() (*string, bool)` + +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. + +### SetName + +`func (o *ServiceRequest) SetName(v string)` + +SetName sets Name field to given value. + + +### GetRole + +`func (o *ServiceRequest) GetRole() string` + +GetRole returns the Role field if non-nil, zero value otherwise. + +### GetRoleOk + +`func (o *ServiceRequest) GetRoleOk() (*string, bool)` + +GetRoleOk returns a tuple with the Role field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetRole + +`func (o *ServiceRequest) SetRole(v string)` + +SetRole sets Role field to given value. + +### HasRole + +`func (o *ServiceRequest) HasRole() bool` + +HasRole returns a boolean if a field has been set. + +### GetTeams + +`func (o *ServiceRequest) GetTeams() []ServiceTeams` + +GetTeams returns the Teams field if non-nil, zero value otherwise. + +### GetTeamsOk + +`func (o *ServiceRequest) GetTeamsOk() (*[]ServiceTeams, bool)` + +GetTeamsOk returns a tuple with the Teams field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetTeams + +`func (o *ServiceRequest) SetTeams(v []ServiceTeams)` + +SetTeams sets Teams field to given value. + +### HasTeams + +`func (o *ServiceRequest) HasTeams() bool` + +HasTeams 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/docs/ServiceRequestPatch.md b/docs/ServiceRequestPatch.md new file mode 100644 index 00000000..a26034bf --- /dev/null +++ b/docs/ServiceRequestPatch.md @@ -0,0 +1,134 @@ +# ServiceRequestPatch + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Description** | Pointer to **string** | The description of the service | [optional] +**Name** | Pointer to **string** | The name of the service | [optional] +**Role** | Pointer to **string** | The role of the service. | [optional] [default to "Member"] +**Teams** | Pointer to [**[]ServiceTeams**](ServiceTeams.md) | | [optional] + +## Methods + +### NewServiceRequestPatch + +`func NewServiceRequestPatch() *ServiceRequestPatch` + +NewServiceRequestPatch instantiates a new ServiceRequestPatch object +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 + +### NewServiceRequestPatchWithDefaults + +`func NewServiceRequestPatchWithDefaults() *ServiceRequestPatch` + +NewServiceRequestPatchWithDefaults instantiates a new ServiceRequestPatch object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetDescription + +`func (o *ServiceRequestPatch) GetDescription() string` + +GetDescription returns the Description field if non-nil, zero value otherwise. + +### GetDescriptionOk + +`func (o *ServiceRequestPatch) GetDescriptionOk() (*string, bool)` + +GetDescriptionOk returns a tuple with the Description field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetDescription + +`func (o *ServiceRequestPatch) SetDescription(v string)` + +SetDescription sets Description field to given value. + +### HasDescription + +`func (o *ServiceRequestPatch) HasDescription() bool` + +HasDescription returns a boolean if a field has been set. + +### GetName + +`func (o *ServiceRequestPatch) GetName() string` + +GetName returns the Name field if non-nil, zero value otherwise. + +### GetNameOk + +`func (o *ServiceRequestPatch) GetNameOk() (*string, bool)` + +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. + +### SetName + +`func (o *ServiceRequestPatch) SetName(v string)` + +SetName sets Name field to given value. + +### HasName + +`func (o *ServiceRequestPatch) HasName() bool` + +HasName returns a boolean if a field has been set. + +### GetRole + +`func (o *ServiceRequestPatch) GetRole() string` + +GetRole returns the Role field if non-nil, zero value otherwise. + +### GetRoleOk + +`func (o *ServiceRequestPatch) GetRoleOk() (*string, bool)` + +GetRoleOk returns a tuple with the Role field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetRole + +`func (o *ServiceRequestPatch) SetRole(v string)` + +SetRole sets Role field to given value. + +### HasRole + +`func (o *ServiceRequestPatch) HasRole() bool` + +HasRole returns a boolean if a field has been set. + +### GetTeams + +`func (o *ServiceRequestPatch) GetTeams() []ServiceTeams` + +GetTeams returns the Teams field if non-nil, zero value otherwise. + +### GetTeamsOk + +`func (o *ServiceRequestPatch) GetTeamsOk() (*[]ServiceTeams, bool)` + +GetTeamsOk returns a tuple with the Teams field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetTeams + +`func (o *ServiceRequestPatch) SetTeams(v []ServiceTeams)` + +SetTeams sets Teams field to given value. + +### HasTeams + +`func (o *ServiceRequestPatch) HasTeams() bool` + +HasTeams 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/docs/ServiceResponse.md b/docs/ServiceResponse.md new file mode 100644 index 00000000..05e3c1b7 --- /dev/null +++ b/docs/ServiceResponse.md @@ -0,0 +1,181 @@ +# ServiceResponse + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Description** | Pointer to **string** | The description of the service | [optional] +**Key** | Pointer to **string** | The API key of the service | [optional] [readonly] +**Name** | **string** | The name of the service | +**Role** | Pointer to **string** | The role of the service. | [optional] [default to "Member"] +**Slug** | Pointer to **string** | The slug of the service | [optional] [readonly] +**Teams** | Pointer to [**[]ServiceTeams**](ServiceTeams.md) | | [optional] + +## Methods + +### NewServiceResponse + +`func NewServiceResponse(name string, ) *ServiceResponse` + +NewServiceResponse instantiates a new ServiceResponse object +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 + +### NewServiceResponseWithDefaults + +`func NewServiceResponseWithDefaults() *ServiceResponse` + +NewServiceResponseWithDefaults instantiates a new ServiceResponse object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetDescription + +`func (o *ServiceResponse) GetDescription() string` + +GetDescription returns the Description field if non-nil, zero value otherwise. + +### GetDescriptionOk + +`func (o *ServiceResponse) GetDescriptionOk() (*string, bool)` + +GetDescriptionOk returns a tuple with the Description field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetDescription + +`func (o *ServiceResponse) SetDescription(v string)` + +SetDescription sets Description field to given value. + +### HasDescription + +`func (o *ServiceResponse) HasDescription() bool` + +HasDescription returns a boolean if a field has been set. + +### GetKey + +`func (o *ServiceResponse) GetKey() string` + +GetKey returns the Key field if non-nil, zero value otherwise. + +### GetKeyOk + +`func (o *ServiceResponse) GetKeyOk() (*string, bool)` + +GetKeyOk returns a tuple with the Key field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetKey + +`func (o *ServiceResponse) SetKey(v string)` + +SetKey sets Key field to given value. + +### HasKey + +`func (o *ServiceResponse) HasKey() bool` + +HasKey returns a boolean if a field has been set. + +### GetName + +`func (o *ServiceResponse) GetName() string` + +GetName returns the Name field if non-nil, zero value otherwise. + +### GetNameOk + +`func (o *ServiceResponse) GetNameOk() (*string, bool)` + +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. + +### SetName + +`func (o *ServiceResponse) SetName(v string)` + +SetName sets Name field to given value. + + +### GetRole + +`func (o *ServiceResponse) GetRole() string` + +GetRole returns the Role field if non-nil, zero value otherwise. + +### GetRoleOk + +`func (o *ServiceResponse) GetRoleOk() (*string, bool)` + +GetRoleOk returns a tuple with the Role field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetRole + +`func (o *ServiceResponse) SetRole(v string)` + +SetRole sets Role field to given value. + +### HasRole + +`func (o *ServiceResponse) HasRole() bool` + +HasRole returns a boolean if a field has been set. + +### GetSlug + +`func (o *ServiceResponse) GetSlug() string` + +GetSlug returns the Slug field if non-nil, zero value otherwise. + +### GetSlugOk + +`func (o *ServiceResponse) GetSlugOk() (*string, bool)` + +GetSlugOk returns a tuple with the Slug field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetSlug + +`func (o *ServiceResponse) SetSlug(v string)` + +SetSlug sets Slug field to given value. + +### HasSlug + +`func (o *ServiceResponse) HasSlug() bool` + +HasSlug returns a boolean if a field has been set. + +### GetTeams + +`func (o *ServiceResponse) GetTeams() []ServiceTeams` + +GetTeams returns the Teams field if non-nil, zero value otherwise. + +### GetTeamsOk + +`func (o *ServiceResponse) GetTeamsOk() (*[]ServiceTeams, bool)` + +GetTeamsOk returns a tuple with the Teams field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetTeams + +`func (o *ServiceResponse) SetTeams(v []ServiceTeams)` + +SetTeams sets Teams field to given value. + +### HasTeams + +`func (o *ServiceResponse) HasTeams() bool` + +HasTeams 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/docs/ServiceTeams.md b/docs/ServiceTeams.md new file mode 100644 index 00000000..3cbc95c0 --- /dev/null +++ b/docs/ServiceTeams.md @@ -0,0 +1,82 @@ +# ServiceTeams + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Role** | Pointer to **string** | The team role associated with the service | [optional] [default to "Manager"] +**Slug** | Pointer to **string** | The teams associated with the service | [optional] + +## Methods + +### NewServiceTeams + +`func NewServiceTeams() *ServiceTeams` + +NewServiceTeams instantiates a new ServiceTeams object +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 + +### NewServiceTeamsWithDefaults + +`func NewServiceTeamsWithDefaults() *ServiceTeams` + +NewServiceTeamsWithDefaults instantiates a new ServiceTeams object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetRole + +`func (o *ServiceTeams) GetRole() string` + +GetRole returns the Role field if non-nil, zero value otherwise. + +### GetRoleOk + +`func (o *ServiceTeams) GetRoleOk() (*string, bool)` + +GetRoleOk returns a tuple with the Role field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetRole + +`func (o *ServiceTeams) SetRole(v string)` + +SetRole sets Role field to given value. + +### HasRole + +`func (o *ServiceTeams) HasRole() bool` + +HasRole returns a boolean if a field has been set. + +### GetSlug + +`func (o *ServiceTeams) GetSlug() string` + +GetSlug returns the Slug field if non-nil, zero value otherwise. + +### GetSlugOk + +`func (o *ServiceTeams) GetSlugOk() (*string, bool)` + +GetSlugOk returns a tuple with the Slug field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetSlug + +`func (o *ServiceTeams) SetSlug(v string)` + +SetSlug sets Slug field to given value. + +### HasSlug + +`func (o *ServiceTeams) HasSlug() bool` + +HasSlug 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/docs/StatusApi.md b/docs/StatusApi.md index 96ed0343..c3fcefb2 100644 --- a/docs/StatusApi.md +++ b/docs/StatusApi.md @@ -10,7 +10,7 @@ Method | HTTP request | Description ## StatusCheckBasic -> StatusBasic StatusCheckBasic(ctx).Execute() +> StatusBasicResponse StatusCheckBasic(ctx).Execute() Endpoint to check basic API connectivity. @@ -37,7 +37,7 @@ func main() { fmt.Fprintf(os.Stderr, "Error when calling `StatusApi.StatusCheckBasic``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } - // response from `StatusCheckBasic`: StatusBasic + // response from `StatusCheckBasic`: StatusBasicResponse fmt.Fprintf(os.Stdout, "Response from `StatusApi.StatusCheckBasic`: %v\n", resp) } ``` @@ -53,7 +53,7 @@ Other parameters are passed through a pointer to a apiStatusCheckBasicRequest st ### Return type -[**StatusBasic**](StatusBasic.md) +[**StatusBasicResponse**](StatusBasicResponse.md) ### Authorization @@ -62,7 +62,7 @@ No authorization required ### HTTP request headers - **Content-Type**: Not defined -- **Accept**: */* +- **Accept**: application/json [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) diff --git a/docs/StatusBasic.md b/docs/StatusBasicResponse.md similarity index 62% rename from docs/StatusBasic.md rename to docs/StatusBasicResponse.md index 3151872e..90919fb8 100644 --- a/docs/StatusBasic.md +++ b/docs/StatusBasicResponse.md @@ -1,78 +1,78 @@ -# StatusBasic +# StatusBasicResponse ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**Detail** | Pointer to **string** | The message describing the state of the API. | [optional] -**Version** | Pointer to **string** | The current version for the Cloudsmith service. | [optional] +**Detail** | Pointer to **string** | The message describing the state of the API. | [optional] [readonly] [default to "Cloudsmith API is operational."] +**Version** | Pointer to **string** | The current version for the Cloudsmith service. | [optional] [readonly] [default to "1.181.6"] ## Methods -### NewStatusBasic +### NewStatusBasicResponse -`func NewStatusBasic() *StatusBasic` +`func NewStatusBasicResponse() *StatusBasicResponse` -NewStatusBasic instantiates a new StatusBasic object +NewStatusBasicResponse instantiates a new StatusBasicResponse object 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 -### NewStatusBasicWithDefaults +### NewStatusBasicResponseWithDefaults -`func NewStatusBasicWithDefaults() *StatusBasic` +`func NewStatusBasicResponseWithDefaults() *StatusBasicResponse` -NewStatusBasicWithDefaults instantiates a new StatusBasic object +NewStatusBasicResponseWithDefaults instantiates a new StatusBasicResponse object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set ### GetDetail -`func (o *StatusBasic) GetDetail() string` +`func (o *StatusBasicResponse) GetDetail() string` GetDetail returns the Detail field if non-nil, zero value otherwise. ### GetDetailOk -`func (o *StatusBasic) GetDetailOk() (*string, bool)` +`func (o *StatusBasicResponse) GetDetailOk() (*string, bool)` GetDetailOk returns a tuple with the Detail field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetDetail -`func (o *StatusBasic) SetDetail(v string)` +`func (o *StatusBasicResponse) SetDetail(v string)` SetDetail sets Detail field to given value. ### HasDetail -`func (o *StatusBasic) HasDetail() bool` +`func (o *StatusBasicResponse) HasDetail() bool` HasDetail returns a boolean if a field has been set. ### GetVersion -`func (o *StatusBasic) GetVersion() string` +`func (o *StatusBasicResponse) GetVersion() string` GetVersion returns the Version field if non-nil, zero value otherwise. ### GetVersionOk -`func (o *StatusBasic) GetVersionOk() (*string, bool)` +`func (o *StatusBasicResponse) GetVersionOk() (*string, bool)` GetVersionOk returns a tuple with the Version field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetVersion -`func (o *StatusBasic) SetVersion(v string)` +`func (o *StatusBasicResponse) SetVersion(v string)` SetVersion sets Version field to given value. ### HasVersion -`func (o *StatusBasic) HasVersion() bool` +`func (o *StatusBasicResponse) HasVersion() bool` HasVersion returns a boolean if a field has been set. diff --git a/docs/StorageRegion.md b/docs/StorageRegionResponse.md similarity index 64% rename from docs/StorageRegion.md rename to docs/StorageRegionResponse.md index bc23ee12..2829d6fb 100644 --- a/docs/StorageRegion.md +++ b/docs/StorageRegionResponse.md @@ -1,4 +1,4 @@ -# StorageRegion +# StorageRegionResponse ## Properties @@ -9,59 +9,59 @@ Name | Type | Description | Notes ## Methods -### NewStorageRegion +### NewStorageRegionResponse -`func NewStorageRegion(label string, slug string, ) *StorageRegion` +`func NewStorageRegionResponse(label string, slug string, ) *StorageRegionResponse` -NewStorageRegion instantiates a new StorageRegion object +NewStorageRegionResponse instantiates a new StorageRegionResponse object 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 -### NewStorageRegionWithDefaults +### NewStorageRegionResponseWithDefaults -`func NewStorageRegionWithDefaults() *StorageRegion` +`func NewStorageRegionResponseWithDefaults() *StorageRegionResponse` -NewStorageRegionWithDefaults instantiates a new StorageRegion object +NewStorageRegionResponseWithDefaults instantiates a new StorageRegionResponse object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set ### GetLabel -`func (o *StorageRegion) GetLabel() string` +`func (o *StorageRegionResponse) GetLabel() string` GetLabel returns the Label field if non-nil, zero value otherwise. ### GetLabelOk -`func (o *StorageRegion) GetLabelOk() (*string, bool)` +`func (o *StorageRegionResponse) GetLabelOk() (*string, bool)` GetLabelOk returns a tuple with the Label field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetLabel -`func (o *StorageRegion) SetLabel(v string)` +`func (o *StorageRegionResponse) SetLabel(v string)` SetLabel sets Label field to given value. ### GetSlug -`func (o *StorageRegion) GetSlug() string` +`func (o *StorageRegionResponse) GetSlug() string` GetSlug returns the Slug field if non-nil, zero value otherwise. ### GetSlugOk -`func (o *StorageRegion) GetSlugOk() (*string, bool)` +`func (o *StorageRegionResponse) GetSlugOk() (*string, bool)` GetSlugOk returns a tuple with the Slug field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetSlug -`func (o *StorageRegion) SetSlug(v string)` +`func (o *StorageRegionResponse) SetSlug(v string)` SetSlug sets Slug field to given value. diff --git a/docs/StorageRegionsApi.md b/docs/StorageRegionsApi.md index 4a2a6da0..0e8c9358 100644 --- a/docs/StorageRegionsApi.md +++ b/docs/StorageRegionsApi.md @@ -11,7 +11,7 @@ Method | HTTP request | Description ## StorageRegionsList -> []StorageRegion StorageRegionsList(ctx).Execute() +> []StorageRegionResponse StorageRegionsList(ctx).Execute() Get a list of all available storage regions. @@ -38,7 +38,7 @@ func main() { fmt.Fprintf(os.Stderr, "Error when calling `StorageRegionsApi.StorageRegionsList``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } - // response from `StorageRegionsList`: []StorageRegion + // response from `StorageRegionsList`: []StorageRegionResponse fmt.Fprintf(os.Stdout, "Response from `StorageRegionsApi.StorageRegionsList`: %v\n", resp) } ``` @@ -54,7 +54,7 @@ Other parameters are passed through a pointer to a apiStorageRegionsListRequest ### Return type -[**[]StorageRegion**](StorageRegion.md) +[**[]StorageRegionResponse**](StorageRegionResponse.md) ### Authorization @@ -63,7 +63,7 @@ Other parameters are passed through a pointer to a apiStorageRegionsListRequest ### HTTP request headers - **Content-Type**: Not defined -- **Accept**: */* +- **Accept**: application/json [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) @@ -72,7 +72,7 @@ Other parameters are passed through a pointer to a apiStorageRegionsListRequest ## StorageRegionsRead -> StorageRegion StorageRegionsRead(ctx, slug).Execute() +> StorageRegionResponse StorageRegionsRead(ctx, slug).Execute() Get a specific storage region. @@ -100,7 +100,7 @@ func main() { fmt.Fprintf(os.Stderr, "Error when calling `StorageRegionsApi.StorageRegionsRead``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } - // response from `StorageRegionsRead`: StorageRegion + // response from `StorageRegionsRead`: StorageRegionResponse fmt.Fprintf(os.Stdout, "Response from `StorageRegionsApi.StorageRegionsRead`: %v\n", resp) } ``` @@ -124,7 +124,7 @@ Name | Type | Description | Notes ### Return type -[**StorageRegion**](StorageRegion.md) +[**StorageRegionResponse**](StorageRegionResponse.md) ### Authorization @@ -133,7 +133,7 @@ Name | Type | Description | Notes ### HTTP request headers - **Content-Type**: Not defined -- **Accept**: */* +- **Accept**: application/json [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) diff --git a/docs/TerraformPackageUploadRequest.md b/docs/TerraformPackageUploadRequest.md new file mode 100644 index 00000000..c9df61c3 --- /dev/null +++ b/docs/TerraformPackageUploadRequest.md @@ -0,0 +1,113 @@ +# TerraformPackageUploadRequest + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**PackageFile** | **string** | The primary file for the package. | +**Republish** | Pointer to **bool** | If true, the uploaded package will overwrite any others with the same attributes (e.g. same version); otherwise, it will be flagged as a duplicate. | [optional] +**Tags** | Pointer to **NullableString** | A comma-separated values list of tags to add to the package. | [optional] + +## Methods + +### NewTerraformPackageUploadRequest + +`func NewTerraformPackageUploadRequest(packageFile string, ) *TerraformPackageUploadRequest` + +NewTerraformPackageUploadRequest instantiates a new TerraformPackageUploadRequest object +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 + +### NewTerraformPackageUploadRequestWithDefaults + +`func NewTerraformPackageUploadRequestWithDefaults() *TerraformPackageUploadRequest` + +NewTerraformPackageUploadRequestWithDefaults instantiates a new TerraformPackageUploadRequest object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetPackageFile + +`func (o *TerraformPackageUploadRequest) GetPackageFile() string` + +GetPackageFile returns the PackageFile field if non-nil, zero value otherwise. + +### GetPackageFileOk + +`func (o *TerraformPackageUploadRequest) GetPackageFileOk() (*string, bool)` + +GetPackageFileOk returns a tuple with the PackageFile field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetPackageFile + +`func (o *TerraformPackageUploadRequest) SetPackageFile(v string)` + +SetPackageFile sets PackageFile field to given value. + + +### GetRepublish + +`func (o *TerraformPackageUploadRequest) GetRepublish() bool` + +GetRepublish returns the Republish field if non-nil, zero value otherwise. + +### GetRepublishOk + +`func (o *TerraformPackageUploadRequest) GetRepublishOk() (*bool, bool)` + +GetRepublishOk returns a tuple with the Republish field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetRepublish + +`func (o *TerraformPackageUploadRequest) SetRepublish(v bool)` + +SetRepublish sets Republish field to given value. + +### HasRepublish + +`func (o *TerraformPackageUploadRequest) HasRepublish() bool` + +HasRepublish returns a boolean if a field has been set. + +### GetTags + +`func (o *TerraformPackageUploadRequest) GetTags() string` + +GetTags returns the Tags field if non-nil, zero value otherwise. + +### GetTagsOk + +`func (o *TerraformPackageUploadRequest) GetTagsOk() (*string, bool)` + +GetTagsOk returns a tuple with the Tags field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetTags + +`func (o *TerraformPackageUploadRequest) SetTags(v string)` + +SetTags sets Tags field to given value. + +### HasTags + +`func (o *TerraformPackageUploadRequest) HasTags() bool` + +HasTags returns a boolean if a field has been set. + +### SetTagsNil + +`func (o *TerraformPackageUploadRequest) SetTagsNil(b bool)` + + SetTagsNil sets the value for Tags to be an explicit nil + +### UnsetTags +`func (o *TerraformPackageUploadRequest) UnsetTags()` + +UnsetTags ensures that no value is present for Tags, 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/docs/TerraformPackageUploadResponse.md b/docs/TerraformPackageUploadResponse.md new file mode 100644 index 00000000..4201b7fd --- /dev/null +++ b/docs/TerraformPackageUploadResponse.md @@ -0,0 +1,1838 @@ +# TerraformPackageUploadResponse + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Architectures** | Pointer to [**[]Architecture**](Architecture.md) | | [optional] [readonly] +**CdnUrl** | Pointer to **NullableString** | | [optional] [readonly] +**ChecksumMd5** | Pointer to **string** | | [optional] [readonly] +**ChecksumSha1** | Pointer to **string** | | [optional] [readonly] +**ChecksumSha256** | Pointer to **string** | | [optional] [readonly] +**ChecksumSha512** | Pointer to **string** | | [optional] [readonly] +**DependenciesChecksumMd5** | Pointer to **string** | A checksum of all of the package's dependencies. | [optional] [readonly] +**DependenciesUrl** | Pointer to **string** | | [optional] [readonly] +**Description** | Pointer to **string** | A textual description of this package. | [optional] [readonly] +**Distro** | Pointer to [**NullableDistribution**](Distribution.md) | | [optional] +**DistroVersion** | Pointer to [**DistributionVersion**](DistributionVersion.md) | | [optional] +**Downloads** | Pointer to **int64** | | [optional] [readonly] +**Epoch** | Pointer to **int64** | The epoch of the package version (if any). | [optional] [readonly] +**Extension** | Pointer to **string** | | [optional] [readonly] +**Filename** | Pointer to **string** | | [optional] [readonly] +**Files** | Pointer to [**[]PackageFile**](PackageFile.md) | | [optional] [readonly] +**Format** | Pointer to **string** | | [optional] [readonly] +**FormatUrl** | Pointer to **string** | | [optional] [readonly] +**IdentifierPerm** | Pointer to **string** | Unique and permanent identifier for the package. | [optional] [readonly] +**Indexed** | Pointer to **bool** | | [optional] [readonly] +**IsDownloadable** | Pointer to **bool** | | [optional] [readonly] +**IsQuarantined** | Pointer to **bool** | | [optional] [readonly] +**IsSyncAwaiting** | Pointer to **bool** | | [optional] [readonly] +**IsSyncCompleted** | Pointer to **bool** | | [optional] [readonly] +**IsSyncFailed** | Pointer to **bool** | | [optional] [readonly] +**IsSyncInFlight** | Pointer to **bool** | | [optional] [readonly] +**IsSyncInProgress** | Pointer to **bool** | | [optional] [readonly] +**License** | Pointer to **string** | The license of this package. | [optional] [readonly] +**Name** | Pointer to **string** | The name of this package. | [optional] [readonly] +**Namespace** | Pointer to **string** | | [optional] [readonly] +**NamespaceUrl** | Pointer to **string** | | [optional] [readonly] +**NumFiles** | Pointer to **int64** | | [optional] [readonly] +**OriginRepository** | Pointer to **string** | | [optional] [readonly] +**OriginRepositoryUrl** | Pointer to **string** | | [optional] [readonly] +**PackageType** | Pointer to **int64** | The type of package contents. | [optional] [readonly] +**Release** | Pointer to **string** | The release of the package version (if any). | [optional] [readonly] +**Repository** | Pointer to **string** | | [optional] [readonly] +**RepositoryUrl** | Pointer to **string** | | [optional] [readonly] +**SecurityScanCompletedAt** | Pointer to **time.Time** | The datetime the security scanning was completed. | [optional] [readonly] +**SecurityScanStartedAt** | Pointer to **time.Time** | The datetime the security scanning was started. | [optional] [readonly] +**SecurityScanStatus** | Pointer to **NullableString** | | [optional] [readonly] [default to "Awaiting Security Scan"] +**SecurityScanStatusUpdatedAt** | Pointer to **time.Time** | The datetime the security scanning status was updated. | [optional] [readonly] +**SelfHtmlUrl** | Pointer to **string** | | [optional] [readonly] +**SelfUrl** | Pointer to **string** | | [optional] [readonly] +**SignatureUrl** | Pointer to **NullableString** | | [optional] [readonly] +**Size** | Pointer to **int64** | The calculated size of the package. | [optional] [readonly] +**Slug** | Pointer to **string** | The public unique identifier for the package. | [optional] [readonly] +**SlugPerm** | Pointer to **string** | | [optional] [readonly] +**Stage** | Pointer to **int64** | The synchronisation (in progress) stage of the package. | [optional] [readonly] +**StageStr** | Pointer to **string** | | [optional] [readonly] +**StageUpdatedAt** | Pointer to **time.Time** | The datetime the package stage was updated at. | [optional] [readonly] +**Status** | Pointer to **int64** | The synchronisation status of the package. | [optional] [readonly] +**StatusReason** | Pointer to **string** | A textual description for the synchronous status reason (if any | [optional] [readonly] +**StatusStr** | Pointer to **string** | | [optional] [readonly] +**StatusUpdatedAt** | Pointer to **time.Time** | The datetime the package status was updated at. | [optional] [readonly] +**StatusUrl** | Pointer to **string** | | [optional] [readonly] +**Subtype** | Pointer to **string** | | [optional] [readonly] +**Summary** | Pointer to **string** | A one-liner synopsis of this package. | [optional] [readonly] +**SyncFinishedAt** | Pointer to **time.Time** | The datetime the package sync was finished at. | [optional] [readonly] +**SyncProgress** | Pointer to **int64** | Synchronisation progress (from 0-100) | [optional] [readonly] +**TagsImmutable** | Pointer to **map[string]interface{}** | All tags on the package, grouped by tag type. This includes immutable tags, but doesn't distinguish them from mutable. To see which tags are immutable specifically, see the tags_immutable field. | [optional] +**TypeDisplay** | Pointer to **string** | | [optional] [readonly] +**UploadedAt** | Pointer to **time.Time** | The date this package was uploaded. | [optional] [readonly] +**Uploader** | Pointer to **string** | | [optional] [readonly] +**UploaderUrl** | Pointer to **string** | | [optional] [readonly] +**Version** | Pointer to **string** | The raw version for this package. | [optional] [readonly] +**VersionOrig** | Pointer to **string** | | [optional] [readonly] +**VulnerabilityScanResultsUrl** | Pointer to **string** | | [optional] [readonly] + +## Methods + +### NewTerraformPackageUploadResponse + +`func NewTerraformPackageUploadResponse() *TerraformPackageUploadResponse` + +NewTerraformPackageUploadResponse instantiates a new TerraformPackageUploadResponse object +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 + +### NewTerraformPackageUploadResponseWithDefaults + +`func NewTerraformPackageUploadResponseWithDefaults() *TerraformPackageUploadResponse` + +NewTerraformPackageUploadResponseWithDefaults instantiates a new TerraformPackageUploadResponse object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetArchitectures + +`func (o *TerraformPackageUploadResponse) GetArchitectures() []Architecture` + +GetArchitectures returns the Architectures field if non-nil, zero value otherwise. + +### GetArchitecturesOk + +`func (o *TerraformPackageUploadResponse) GetArchitecturesOk() (*[]Architecture, bool)` + +GetArchitecturesOk returns a tuple with the Architectures field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetArchitectures + +`func (o *TerraformPackageUploadResponse) SetArchitectures(v []Architecture)` + +SetArchitectures sets Architectures field to given value. + +### HasArchitectures + +`func (o *TerraformPackageUploadResponse) HasArchitectures() bool` + +HasArchitectures returns a boolean if a field has been set. + +### GetCdnUrl + +`func (o *TerraformPackageUploadResponse) GetCdnUrl() string` + +GetCdnUrl returns the CdnUrl field if non-nil, zero value otherwise. + +### GetCdnUrlOk + +`func (o *TerraformPackageUploadResponse) GetCdnUrlOk() (*string, bool)` + +GetCdnUrlOk returns a tuple with the CdnUrl field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetCdnUrl + +`func (o *TerraformPackageUploadResponse) SetCdnUrl(v string)` + +SetCdnUrl sets CdnUrl field to given value. + +### HasCdnUrl + +`func (o *TerraformPackageUploadResponse) HasCdnUrl() bool` + +HasCdnUrl returns a boolean if a field has been set. + +### SetCdnUrlNil + +`func (o *TerraformPackageUploadResponse) SetCdnUrlNil(b bool)` + + SetCdnUrlNil sets the value for CdnUrl to be an explicit nil + +### UnsetCdnUrl +`func (o *TerraformPackageUploadResponse) UnsetCdnUrl()` + +UnsetCdnUrl ensures that no value is present for CdnUrl, not even an explicit nil +### GetChecksumMd5 + +`func (o *TerraformPackageUploadResponse) GetChecksumMd5() string` + +GetChecksumMd5 returns the ChecksumMd5 field if non-nil, zero value otherwise. + +### GetChecksumMd5Ok + +`func (o *TerraformPackageUploadResponse) GetChecksumMd5Ok() (*string, bool)` + +GetChecksumMd5Ok returns a tuple with the ChecksumMd5 field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetChecksumMd5 + +`func (o *TerraformPackageUploadResponse) SetChecksumMd5(v string)` + +SetChecksumMd5 sets ChecksumMd5 field to given value. + +### HasChecksumMd5 + +`func (o *TerraformPackageUploadResponse) HasChecksumMd5() bool` + +HasChecksumMd5 returns a boolean if a field has been set. + +### GetChecksumSha1 + +`func (o *TerraformPackageUploadResponse) GetChecksumSha1() string` + +GetChecksumSha1 returns the ChecksumSha1 field if non-nil, zero value otherwise. + +### GetChecksumSha1Ok + +`func (o *TerraformPackageUploadResponse) GetChecksumSha1Ok() (*string, bool)` + +GetChecksumSha1Ok returns a tuple with the ChecksumSha1 field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetChecksumSha1 + +`func (o *TerraformPackageUploadResponse) SetChecksumSha1(v string)` + +SetChecksumSha1 sets ChecksumSha1 field to given value. + +### HasChecksumSha1 + +`func (o *TerraformPackageUploadResponse) HasChecksumSha1() bool` + +HasChecksumSha1 returns a boolean if a field has been set. + +### GetChecksumSha256 + +`func (o *TerraformPackageUploadResponse) GetChecksumSha256() string` + +GetChecksumSha256 returns the ChecksumSha256 field if non-nil, zero value otherwise. + +### GetChecksumSha256Ok + +`func (o *TerraformPackageUploadResponse) GetChecksumSha256Ok() (*string, bool)` + +GetChecksumSha256Ok returns a tuple with the ChecksumSha256 field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetChecksumSha256 + +`func (o *TerraformPackageUploadResponse) SetChecksumSha256(v string)` + +SetChecksumSha256 sets ChecksumSha256 field to given value. + +### HasChecksumSha256 + +`func (o *TerraformPackageUploadResponse) HasChecksumSha256() bool` + +HasChecksumSha256 returns a boolean if a field has been set. + +### GetChecksumSha512 + +`func (o *TerraformPackageUploadResponse) GetChecksumSha512() string` + +GetChecksumSha512 returns the ChecksumSha512 field if non-nil, zero value otherwise. + +### GetChecksumSha512Ok + +`func (o *TerraformPackageUploadResponse) GetChecksumSha512Ok() (*string, bool)` + +GetChecksumSha512Ok returns a tuple with the ChecksumSha512 field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetChecksumSha512 + +`func (o *TerraformPackageUploadResponse) SetChecksumSha512(v string)` + +SetChecksumSha512 sets ChecksumSha512 field to given value. + +### HasChecksumSha512 + +`func (o *TerraformPackageUploadResponse) HasChecksumSha512() bool` + +HasChecksumSha512 returns a boolean if a field has been set. + +### GetDependenciesChecksumMd5 + +`func (o *TerraformPackageUploadResponse) GetDependenciesChecksumMd5() string` + +GetDependenciesChecksumMd5 returns the DependenciesChecksumMd5 field if non-nil, zero value otherwise. + +### GetDependenciesChecksumMd5Ok + +`func (o *TerraformPackageUploadResponse) GetDependenciesChecksumMd5Ok() (*string, bool)` + +GetDependenciesChecksumMd5Ok returns a tuple with the DependenciesChecksumMd5 field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetDependenciesChecksumMd5 + +`func (o *TerraformPackageUploadResponse) SetDependenciesChecksumMd5(v string)` + +SetDependenciesChecksumMd5 sets DependenciesChecksumMd5 field to given value. + +### HasDependenciesChecksumMd5 + +`func (o *TerraformPackageUploadResponse) HasDependenciesChecksumMd5() bool` + +HasDependenciesChecksumMd5 returns a boolean if a field has been set. + +### GetDependenciesUrl + +`func (o *TerraformPackageUploadResponse) GetDependenciesUrl() string` + +GetDependenciesUrl returns the DependenciesUrl field if non-nil, zero value otherwise. + +### GetDependenciesUrlOk + +`func (o *TerraformPackageUploadResponse) GetDependenciesUrlOk() (*string, bool)` + +GetDependenciesUrlOk returns a tuple with the DependenciesUrl field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetDependenciesUrl + +`func (o *TerraformPackageUploadResponse) SetDependenciesUrl(v string)` + +SetDependenciesUrl sets DependenciesUrl field to given value. + +### HasDependenciesUrl + +`func (o *TerraformPackageUploadResponse) HasDependenciesUrl() bool` + +HasDependenciesUrl returns a boolean if a field has been set. + +### GetDescription + +`func (o *TerraformPackageUploadResponse) GetDescription() string` + +GetDescription returns the Description field if non-nil, zero value otherwise. + +### GetDescriptionOk + +`func (o *TerraformPackageUploadResponse) GetDescriptionOk() (*string, bool)` + +GetDescriptionOk returns a tuple with the Description field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetDescription + +`func (o *TerraformPackageUploadResponse) SetDescription(v string)` + +SetDescription sets Description field to given value. + +### HasDescription + +`func (o *TerraformPackageUploadResponse) HasDescription() bool` + +HasDescription returns a boolean if a field has been set. + +### GetDistro + +`func (o *TerraformPackageUploadResponse) GetDistro() Distribution` + +GetDistro returns the Distro field if non-nil, zero value otherwise. + +### GetDistroOk + +`func (o *TerraformPackageUploadResponse) GetDistroOk() (*Distribution, bool)` + +GetDistroOk returns a tuple with the Distro field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetDistro + +`func (o *TerraformPackageUploadResponse) SetDistro(v Distribution)` + +SetDistro sets Distro field to given value. + +### HasDistro + +`func (o *TerraformPackageUploadResponse) HasDistro() bool` + +HasDistro returns a boolean if a field has been set. + +### SetDistroNil + +`func (o *TerraformPackageUploadResponse) SetDistroNil(b bool)` + + SetDistroNil sets the value for Distro to be an explicit nil + +### UnsetDistro +`func (o *TerraformPackageUploadResponse) UnsetDistro()` + +UnsetDistro ensures that no value is present for Distro, not even an explicit nil +### GetDistroVersion + +`func (o *TerraformPackageUploadResponse) GetDistroVersion() DistributionVersion` + +GetDistroVersion returns the DistroVersion field if non-nil, zero value otherwise. + +### GetDistroVersionOk + +`func (o *TerraformPackageUploadResponse) GetDistroVersionOk() (*DistributionVersion, bool)` + +GetDistroVersionOk returns a tuple with the DistroVersion field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetDistroVersion + +`func (o *TerraformPackageUploadResponse) SetDistroVersion(v DistributionVersion)` + +SetDistroVersion sets DistroVersion field to given value. + +### HasDistroVersion + +`func (o *TerraformPackageUploadResponse) HasDistroVersion() bool` + +HasDistroVersion returns a boolean if a field has been set. + +### GetDownloads + +`func (o *TerraformPackageUploadResponse) GetDownloads() int64` + +GetDownloads returns the Downloads field if non-nil, zero value otherwise. + +### GetDownloadsOk + +`func (o *TerraformPackageUploadResponse) GetDownloadsOk() (*int64, bool)` + +GetDownloadsOk returns a tuple with the Downloads field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetDownloads + +`func (o *TerraformPackageUploadResponse) SetDownloads(v int64)` + +SetDownloads sets Downloads field to given value. + +### HasDownloads + +`func (o *TerraformPackageUploadResponse) HasDownloads() bool` + +HasDownloads returns a boolean if a field has been set. + +### GetEpoch + +`func (o *TerraformPackageUploadResponse) GetEpoch() int64` + +GetEpoch returns the Epoch field if non-nil, zero value otherwise. + +### GetEpochOk + +`func (o *TerraformPackageUploadResponse) GetEpochOk() (*int64, bool)` + +GetEpochOk returns a tuple with the Epoch field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetEpoch + +`func (o *TerraformPackageUploadResponse) SetEpoch(v int64)` + +SetEpoch sets Epoch field to given value. + +### HasEpoch + +`func (o *TerraformPackageUploadResponse) HasEpoch() bool` + +HasEpoch returns a boolean if a field has been set. + +### GetExtension + +`func (o *TerraformPackageUploadResponse) GetExtension() string` + +GetExtension returns the Extension field if non-nil, zero value otherwise. + +### GetExtensionOk + +`func (o *TerraformPackageUploadResponse) GetExtensionOk() (*string, bool)` + +GetExtensionOk returns a tuple with the Extension field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetExtension + +`func (o *TerraformPackageUploadResponse) SetExtension(v string)` + +SetExtension sets Extension field to given value. + +### HasExtension + +`func (o *TerraformPackageUploadResponse) HasExtension() bool` + +HasExtension returns a boolean if a field has been set. + +### GetFilename + +`func (o *TerraformPackageUploadResponse) GetFilename() string` + +GetFilename returns the Filename field if non-nil, zero value otherwise. + +### GetFilenameOk + +`func (o *TerraformPackageUploadResponse) GetFilenameOk() (*string, bool)` + +GetFilenameOk returns a tuple with the Filename field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetFilename + +`func (o *TerraformPackageUploadResponse) SetFilename(v string)` + +SetFilename sets Filename field to given value. + +### HasFilename + +`func (o *TerraformPackageUploadResponse) HasFilename() bool` + +HasFilename returns a boolean if a field has been set. + +### GetFiles + +`func (o *TerraformPackageUploadResponse) GetFiles() []PackageFile` + +GetFiles returns the Files field if non-nil, zero value otherwise. + +### GetFilesOk + +`func (o *TerraformPackageUploadResponse) GetFilesOk() (*[]PackageFile, 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 *TerraformPackageUploadResponse) SetFiles(v []PackageFile)` + +SetFiles sets Files field to given value. + +### HasFiles + +`func (o *TerraformPackageUploadResponse) HasFiles() bool` + +HasFiles returns a boolean if a field has been set. + +### GetFormat + +`func (o *TerraformPackageUploadResponse) GetFormat() string` + +GetFormat returns the Format field if non-nil, zero value otherwise. + +### GetFormatOk + +`func (o *TerraformPackageUploadResponse) GetFormatOk() (*string, bool)` + +GetFormatOk returns a tuple with the Format field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetFormat + +`func (o *TerraformPackageUploadResponse) SetFormat(v string)` + +SetFormat sets Format field to given value. + +### HasFormat + +`func (o *TerraformPackageUploadResponse) HasFormat() bool` + +HasFormat returns a boolean if a field has been set. + +### GetFormatUrl + +`func (o *TerraformPackageUploadResponse) GetFormatUrl() string` + +GetFormatUrl returns the FormatUrl field if non-nil, zero value otherwise. + +### GetFormatUrlOk + +`func (o *TerraformPackageUploadResponse) GetFormatUrlOk() (*string, bool)` + +GetFormatUrlOk returns a tuple with the FormatUrl field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetFormatUrl + +`func (o *TerraformPackageUploadResponse) SetFormatUrl(v string)` + +SetFormatUrl sets FormatUrl field to given value. + +### HasFormatUrl + +`func (o *TerraformPackageUploadResponse) HasFormatUrl() bool` + +HasFormatUrl returns a boolean if a field has been set. + +### GetIdentifierPerm + +`func (o *TerraformPackageUploadResponse) GetIdentifierPerm() string` + +GetIdentifierPerm returns the IdentifierPerm field if non-nil, zero value otherwise. + +### GetIdentifierPermOk + +`func (o *TerraformPackageUploadResponse) GetIdentifierPermOk() (*string, bool)` + +GetIdentifierPermOk returns a tuple with the IdentifierPerm field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetIdentifierPerm + +`func (o *TerraformPackageUploadResponse) SetIdentifierPerm(v string)` + +SetIdentifierPerm sets IdentifierPerm field to given value. + +### HasIdentifierPerm + +`func (o *TerraformPackageUploadResponse) HasIdentifierPerm() bool` + +HasIdentifierPerm returns a boolean if a field has been set. + +### GetIndexed + +`func (o *TerraformPackageUploadResponse) GetIndexed() bool` + +GetIndexed returns the Indexed field if non-nil, zero value otherwise. + +### GetIndexedOk + +`func (o *TerraformPackageUploadResponse) GetIndexedOk() (*bool, bool)` + +GetIndexedOk returns a tuple with the Indexed field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetIndexed + +`func (o *TerraformPackageUploadResponse) SetIndexed(v bool)` + +SetIndexed sets Indexed field to given value. + +### HasIndexed + +`func (o *TerraformPackageUploadResponse) HasIndexed() bool` + +HasIndexed returns a boolean if a field has been set. + +### GetIsDownloadable + +`func (o *TerraformPackageUploadResponse) GetIsDownloadable() bool` + +GetIsDownloadable returns the IsDownloadable field if non-nil, zero value otherwise. + +### GetIsDownloadableOk + +`func (o *TerraformPackageUploadResponse) GetIsDownloadableOk() (*bool, bool)` + +GetIsDownloadableOk returns a tuple with the IsDownloadable field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetIsDownloadable + +`func (o *TerraformPackageUploadResponse) SetIsDownloadable(v bool)` + +SetIsDownloadable sets IsDownloadable field to given value. + +### HasIsDownloadable + +`func (o *TerraformPackageUploadResponse) HasIsDownloadable() bool` + +HasIsDownloadable returns a boolean if a field has been set. + +### GetIsQuarantined + +`func (o *TerraformPackageUploadResponse) GetIsQuarantined() bool` + +GetIsQuarantined returns the IsQuarantined field if non-nil, zero value otherwise. + +### GetIsQuarantinedOk + +`func (o *TerraformPackageUploadResponse) GetIsQuarantinedOk() (*bool, bool)` + +GetIsQuarantinedOk returns a tuple with the IsQuarantined field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetIsQuarantined + +`func (o *TerraformPackageUploadResponse) SetIsQuarantined(v bool)` + +SetIsQuarantined sets IsQuarantined field to given value. + +### HasIsQuarantined + +`func (o *TerraformPackageUploadResponse) HasIsQuarantined() bool` + +HasIsQuarantined returns a boolean if a field has been set. + +### GetIsSyncAwaiting + +`func (o *TerraformPackageUploadResponse) GetIsSyncAwaiting() bool` + +GetIsSyncAwaiting returns the IsSyncAwaiting field if non-nil, zero value otherwise. + +### GetIsSyncAwaitingOk + +`func (o *TerraformPackageUploadResponse) GetIsSyncAwaitingOk() (*bool, bool)` + +GetIsSyncAwaitingOk returns a tuple with the IsSyncAwaiting field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetIsSyncAwaiting + +`func (o *TerraformPackageUploadResponse) SetIsSyncAwaiting(v bool)` + +SetIsSyncAwaiting sets IsSyncAwaiting field to given value. + +### HasIsSyncAwaiting + +`func (o *TerraformPackageUploadResponse) HasIsSyncAwaiting() bool` + +HasIsSyncAwaiting returns a boolean if a field has been set. + +### GetIsSyncCompleted + +`func (o *TerraformPackageUploadResponse) GetIsSyncCompleted() bool` + +GetIsSyncCompleted returns the IsSyncCompleted field if non-nil, zero value otherwise. + +### GetIsSyncCompletedOk + +`func (o *TerraformPackageUploadResponse) GetIsSyncCompletedOk() (*bool, bool)` + +GetIsSyncCompletedOk returns a tuple with the IsSyncCompleted field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetIsSyncCompleted + +`func (o *TerraformPackageUploadResponse) SetIsSyncCompleted(v bool)` + +SetIsSyncCompleted sets IsSyncCompleted field to given value. + +### HasIsSyncCompleted + +`func (o *TerraformPackageUploadResponse) HasIsSyncCompleted() bool` + +HasIsSyncCompleted returns a boolean if a field has been set. + +### GetIsSyncFailed + +`func (o *TerraformPackageUploadResponse) GetIsSyncFailed() bool` + +GetIsSyncFailed returns the IsSyncFailed field if non-nil, zero value otherwise. + +### GetIsSyncFailedOk + +`func (o *TerraformPackageUploadResponse) GetIsSyncFailedOk() (*bool, bool)` + +GetIsSyncFailedOk returns a tuple with the IsSyncFailed field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetIsSyncFailed + +`func (o *TerraformPackageUploadResponse) SetIsSyncFailed(v bool)` + +SetIsSyncFailed sets IsSyncFailed field to given value. + +### HasIsSyncFailed + +`func (o *TerraformPackageUploadResponse) HasIsSyncFailed() bool` + +HasIsSyncFailed returns a boolean if a field has been set. + +### GetIsSyncInFlight + +`func (o *TerraformPackageUploadResponse) GetIsSyncInFlight() bool` + +GetIsSyncInFlight returns the IsSyncInFlight field if non-nil, zero value otherwise. + +### GetIsSyncInFlightOk + +`func (o *TerraformPackageUploadResponse) GetIsSyncInFlightOk() (*bool, bool)` + +GetIsSyncInFlightOk returns a tuple with the IsSyncInFlight field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetIsSyncInFlight + +`func (o *TerraformPackageUploadResponse) SetIsSyncInFlight(v bool)` + +SetIsSyncInFlight sets IsSyncInFlight field to given value. + +### HasIsSyncInFlight + +`func (o *TerraformPackageUploadResponse) HasIsSyncInFlight() bool` + +HasIsSyncInFlight returns a boolean if a field has been set. + +### GetIsSyncInProgress + +`func (o *TerraformPackageUploadResponse) GetIsSyncInProgress() bool` + +GetIsSyncInProgress returns the IsSyncInProgress field if non-nil, zero value otherwise. + +### GetIsSyncInProgressOk + +`func (o *TerraformPackageUploadResponse) GetIsSyncInProgressOk() (*bool, bool)` + +GetIsSyncInProgressOk returns a tuple with the IsSyncInProgress field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetIsSyncInProgress + +`func (o *TerraformPackageUploadResponse) SetIsSyncInProgress(v bool)` + +SetIsSyncInProgress sets IsSyncInProgress field to given value. + +### HasIsSyncInProgress + +`func (o *TerraformPackageUploadResponse) HasIsSyncInProgress() bool` + +HasIsSyncInProgress returns a boolean if a field has been set. + +### GetLicense + +`func (o *TerraformPackageUploadResponse) GetLicense() string` + +GetLicense returns the License field if non-nil, zero value otherwise. + +### GetLicenseOk + +`func (o *TerraformPackageUploadResponse) GetLicenseOk() (*string, bool)` + +GetLicenseOk returns a tuple with the License field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetLicense + +`func (o *TerraformPackageUploadResponse) SetLicense(v string)` + +SetLicense sets License field to given value. + +### HasLicense + +`func (o *TerraformPackageUploadResponse) HasLicense() bool` + +HasLicense returns a boolean if a field has been set. + +### GetName + +`func (o *TerraformPackageUploadResponse) GetName() string` + +GetName returns the Name field if non-nil, zero value otherwise. + +### GetNameOk + +`func (o *TerraformPackageUploadResponse) GetNameOk() (*string, bool)` + +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. + +### SetName + +`func (o *TerraformPackageUploadResponse) SetName(v string)` + +SetName sets Name field to given value. + +### HasName + +`func (o *TerraformPackageUploadResponse) HasName() bool` + +HasName returns a boolean if a field has been set. + +### GetNamespace + +`func (o *TerraformPackageUploadResponse) GetNamespace() string` + +GetNamespace returns the Namespace field if non-nil, zero value otherwise. + +### GetNamespaceOk + +`func (o *TerraformPackageUploadResponse) GetNamespaceOk() (*string, bool)` + +GetNamespaceOk returns a tuple with the Namespace field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetNamespace + +`func (o *TerraformPackageUploadResponse) SetNamespace(v string)` + +SetNamespace sets Namespace field to given value. + +### HasNamespace + +`func (o *TerraformPackageUploadResponse) HasNamespace() bool` + +HasNamespace returns a boolean if a field has been set. + +### GetNamespaceUrl + +`func (o *TerraformPackageUploadResponse) GetNamespaceUrl() string` + +GetNamespaceUrl returns the NamespaceUrl field if non-nil, zero value otherwise. + +### GetNamespaceUrlOk + +`func (o *TerraformPackageUploadResponse) GetNamespaceUrlOk() (*string, bool)` + +GetNamespaceUrlOk returns a tuple with the NamespaceUrl field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetNamespaceUrl + +`func (o *TerraformPackageUploadResponse) SetNamespaceUrl(v string)` + +SetNamespaceUrl sets NamespaceUrl field to given value. + +### HasNamespaceUrl + +`func (o *TerraformPackageUploadResponse) HasNamespaceUrl() bool` + +HasNamespaceUrl returns a boolean if a field has been set. + +### GetNumFiles + +`func (o *TerraformPackageUploadResponse) GetNumFiles() int64` + +GetNumFiles returns the NumFiles field if non-nil, zero value otherwise. + +### GetNumFilesOk + +`func (o *TerraformPackageUploadResponse) GetNumFilesOk() (*int64, bool)` + +GetNumFilesOk returns a tuple with the NumFiles field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetNumFiles + +`func (o *TerraformPackageUploadResponse) SetNumFiles(v int64)` + +SetNumFiles sets NumFiles field to given value. + +### HasNumFiles + +`func (o *TerraformPackageUploadResponse) HasNumFiles() bool` + +HasNumFiles returns a boolean if a field has been set. + +### GetOriginRepository + +`func (o *TerraformPackageUploadResponse) GetOriginRepository() string` + +GetOriginRepository returns the OriginRepository field if non-nil, zero value otherwise. + +### GetOriginRepositoryOk + +`func (o *TerraformPackageUploadResponse) GetOriginRepositoryOk() (*string, bool)` + +GetOriginRepositoryOk returns a tuple with the OriginRepository field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetOriginRepository + +`func (o *TerraformPackageUploadResponse) SetOriginRepository(v string)` + +SetOriginRepository sets OriginRepository field to given value. + +### HasOriginRepository + +`func (o *TerraformPackageUploadResponse) HasOriginRepository() bool` + +HasOriginRepository returns a boolean if a field has been set. + +### GetOriginRepositoryUrl + +`func (o *TerraformPackageUploadResponse) GetOriginRepositoryUrl() string` + +GetOriginRepositoryUrl returns the OriginRepositoryUrl field if non-nil, zero value otherwise. + +### GetOriginRepositoryUrlOk + +`func (o *TerraformPackageUploadResponse) GetOriginRepositoryUrlOk() (*string, bool)` + +GetOriginRepositoryUrlOk returns a tuple with the OriginRepositoryUrl field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetOriginRepositoryUrl + +`func (o *TerraformPackageUploadResponse) SetOriginRepositoryUrl(v string)` + +SetOriginRepositoryUrl sets OriginRepositoryUrl field to given value. + +### HasOriginRepositoryUrl + +`func (o *TerraformPackageUploadResponse) HasOriginRepositoryUrl() bool` + +HasOriginRepositoryUrl returns a boolean if a field has been set. + +### GetPackageType + +`func (o *TerraformPackageUploadResponse) GetPackageType() int64` + +GetPackageType returns the PackageType field if non-nil, zero value otherwise. + +### GetPackageTypeOk + +`func (o *TerraformPackageUploadResponse) GetPackageTypeOk() (*int64, bool)` + +GetPackageTypeOk returns a tuple with the PackageType field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetPackageType + +`func (o *TerraformPackageUploadResponse) SetPackageType(v int64)` + +SetPackageType sets PackageType field to given value. + +### HasPackageType + +`func (o *TerraformPackageUploadResponse) HasPackageType() bool` + +HasPackageType returns a boolean if a field has been set. + +### GetRelease + +`func (o *TerraformPackageUploadResponse) GetRelease() string` + +GetRelease returns the Release field if non-nil, zero value otherwise. + +### GetReleaseOk + +`func (o *TerraformPackageUploadResponse) GetReleaseOk() (*string, bool)` + +GetReleaseOk returns a tuple with the Release field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetRelease + +`func (o *TerraformPackageUploadResponse) SetRelease(v string)` + +SetRelease sets Release field to given value. + +### HasRelease + +`func (o *TerraformPackageUploadResponse) HasRelease() bool` + +HasRelease returns a boolean if a field has been set. + +### GetRepository + +`func (o *TerraformPackageUploadResponse) GetRepository() string` + +GetRepository returns the Repository field if non-nil, zero value otherwise. + +### GetRepositoryOk + +`func (o *TerraformPackageUploadResponse) GetRepositoryOk() (*string, bool)` + +GetRepositoryOk returns a tuple with the Repository field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetRepository + +`func (o *TerraformPackageUploadResponse) SetRepository(v string)` + +SetRepository sets Repository field to given value. + +### HasRepository + +`func (o *TerraformPackageUploadResponse) HasRepository() bool` + +HasRepository returns a boolean if a field has been set. + +### GetRepositoryUrl + +`func (o *TerraformPackageUploadResponse) GetRepositoryUrl() string` + +GetRepositoryUrl returns the RepositoryUrl field if non-nil, zero value otherwise. + +### GetRepositoryUrlOk + +`func (o *TerraformPackageUploadResponse) GetRepositoryUrlOk() (*string, bool)` + +GetRepositoryUrlOk returns a tuple with the RepositoryUrl field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetRepositoryUrl + +`func (o *TerraformPackageUploadResponse) SetRepositoryUrl(v string)` + +SetRepositoryUrl sets RepositoryUrl field to given value. + +### HasRepositoryUrl + +`func (o *TerraformPackageUploadResponse) HasRepositoryUrl() bool` + +HasRepositoryUrl returns a boolean if a field has been set. + +### GetSecurityScanCompletedAt + +`func (o *TerraformPackageUploadResponse) GetSecurityScanCompletedAt() time.Time` + +GetSecurityScanCompletedAt returns the SecurityScanCompletedAt field if non-nil, zero value otherwise. + +### GetSecurityScanCompletedAtOk + +`func (o *TerraformPackageUploadResponse) GetSecurityScanCompletedAtOk() (*time.Time, bool)` + +GetSecurityScanCompletedAtOk returns a tuple with the SecurityScanCompletedAt field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetSecurityScanCompletedAt + +`func (o *TerraformPackageUploadResponse) SetSecurityScanCompletedAt(v time.Time)` + +SetSecurityScanCompletedAt sets SecurityScanCompletedAt field to given value. + +### HasSecurityScanCompletedAt + +`func (o *TerraformPackageUploadResponse) HasSecurityScanCompletedAt() bool` + +HasSecurityScanCompletedAt returns a boolean if a field has been set. + +### GetSecurityScanStartedAt + +`func (o *TerraformPackageUploadResponse) GetSecurityScanStartedAt() time.Time` + +GetSecurityScanStartedAt returns the SecurityScanStartedAt field if non-nil, zero value otherwise. + +### GetSecurityScanStartedAtOk + +`func (o *TerraformPackageUploadResponse) GetSecurityScanStartedAtOk() (*time.Time, bool)` + +GetSecurityScanStartedAtOk returns a tuple with the SecurityScanStartedAt field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetSecurityScanStartedAt + +`func (o *TerraformPackageUploadResponse) SetSecurityScanStartedAt(v time.Time)` + +SetSecurityScanStartedAt sets SecurityScanStartedAt field to given value. + +### HasSecurityScanStartedAt + +`func (o *TerraformPackageUploadResponse) HasSecurityScanStartedAt() bool` + +HasSecurityScanStartedAt returns a boolean if a field has been set. + +### GetSecurityScanStatus + +`func (o *TerraformPackageUploadResponse) GetSecurityScanStatus() string` + +GetSecurityScanStatus returns the SecurityScanStatus field if non-nil, zero value otherwise. + +### GetSecurityScanStatusOk + +`func (o *TerraformPackageUploadResponse) GetSecurityScanStatusOk() (*string, bool)` + +GetSecurityScanStatusOk returns a tuple with the SecurityScanStatus field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetSecurityScanStatus + +`func (o *TerraformPackageUploadResponse) SetSecurityScanStatus(v string)` + +SetSecurityScanStatus sets SecurityScanStatus field to given value. + +### HasSecurityScanStatus + +`func (o *TerraformPackageUploadResponse) HasSecurityScanStatus() bool` + +HasSecurityScanStatus returns a boolean if a field has been set. + +### SetSecurityScanStatusNil + +`func (o *TerraformPackageUploadResponse) SetSecurityScanStatusNil(b bool)` + + SetSecurityScanStatusNil sets the value for SecurityScanStatus to be an explicit nil + +### UnsetSecurityScanStatus +`func (o *TerraformPackageUploadResponse) UnsetSecurityScanStatus()` + +UnsetSecurityScanStatus ensures that no value is present for SecurityScanStatus, not even an explicit nil +### GetSecurityScanStatusUpdatedAt + +`func (o *TerraformPackageUploadResponse) GetSecurityScanStatusUpdatedAt() time.Time` + +GetSecurityScanStatusUpdatedAt returns the SecurityScanStatusUpdatedAt field if non-nil, zero value otherwise. + +### GetSecurityScanStatusUpdatedAtOk + +`func (o *TerraformPackageUploadResponse) GetSecurityScanStatusUpdatedAtOk() (*time.Time, bool)` + +GetSecurityScanStatusUpdatedAtOk returns a tuple with the SecurityScanStatusUpdatedAt field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetSecurityScanStatusUpdatedAt + +`func (o *TerraformPackageUploadResponse) SetSecurityScanStatusUpdatedAt(v time.Time)` + +SetSecurityScanStatusUpdatedAt sets SecurityScanStatusUpdatedAt field to given value. + +### HasSecurityScanStatusUpdatedAt + +`func (o *TerraformPackageUploadResponse) HasSecurityScanStatusUpdatedAt() bool` + +HasSecurityScanStatusUpdatedAt returns a boolean if a field has been set. + +### GetSelfHtmlUrl + +`func (o *TerraformPackageUploadResponse) GetSelfHtmlUrl() string` + +GetSelfHtmlUrl returns the SelfHtmlUrl field if non-nil, zero value otherwise. + +### GetSelfHtmlUrlOk + +`func (o *TerraformPackageUploadResponse) GetSelfHtmlUrlOk() (*string, bool)` + +GetSelfHtmlUrlOk returns a tuple with the SelfHtmlUrl field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetSelfHtmlUrl + +`func (o *TerraformPackageUploadResponse) SetSelfHtmlUrl(v string)` + +SetSelfHtmlUrl sets SelfHtmlUrl field to given value. + +### HasSelfHtmlUrl + +`func (o *TerraformPackageUploadResponse) HasSelfHtmlUrl() bool` + +HasSelfHtmlUrl returns a boolean if a field has been set. + +### GetSelfUrl + +`func (o *TerraformPackageUploadResponse) GetSelfUrl() string` + +GetSelfUrl returns the SelfUrl field if non-nil, zero value otherwise. + +### GetSelfUrlOk + +`func (o *TerraformPackageUploadResponse) GetSelfUrlOk() (*string, bool)` + +GetSelfUrlOk returns a tuple with the SelfUrl field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetSelfUrl + +`func (o *TerraformPackageUploadResponse) SetSelfUrl(v string)` + +SetSelfUrl sets SelfUrl field to given value. + +### HasSelfUrl + +`func (o *TerraformPackageUploadResponse) HasSelfUrl() bool` + +HasSelfUrl returns a boolean if a field has been set. + +### GetSignatureUrl + +`func (o *TerraformPackageUploadResponse) GetSignatureUrl() string` + +GetSignatureUrl returns the SignatureUrl field if non-nil, zero value otherwise. + +### GetSignatureUrlOk + +`func (o *TerraformPackageUploadResponse) GetSignatureUrlOk() (*string, bool)` + +GetSignatureUrlOk returns a tuple with the SignatureUrl field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetSignatureUrl + +`func (o *TerraformPackageUploadResponse) SetSignatureUrl(v string)` + +SetSignatureUrl sets SignatureUrl field to given value. + +### HasSignatureUrl + +`func (o *TerraformPackageUploadResponse) HasSignatureUrl() bool` + +HasSignatureUrl returns a boolean if a field has been set. + +### SetSignatureUrlNil + +`func (o *TerraformPackageUploadResponse) SetSignatureUrlNil(b bool)` + + SetSignatureUrlNil sets the value for SignatureUrl to be an explicit nil + +### UnsetSignatureUrl +`func (o *TerraformPackageUploadResponse) UnsetSignatureUrl()` + +UnsetSignatureUrl ensures that no value is present for SignatureUrl, not even an explicit nil +### GetSize + +`func (o *TerraformPackageUploadResponse) GetSize() int64` + +GetSize returns the Size field if non-nil, zero value otherwise. + +### GetSizeOk + +`func (o *TerraformPackageUploadResponse) GetSizeOk() (*int64, bool)` + +GetSizeOk returns a tuple with the Size field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetSize + +`func (o *TerraformPackageUploadResponse) SetSize(v int64)` + +SetSize sets Size field to given value. + +### HasSize + +`func (o *TerraformPackageUploadResponse) HasSize() bool` + +HasSize returns a boolean if a field has been set. + +### GetSlug + +`func (o *TerraformPackageUploadResponse) GetSlug() string` + +GetSlug returns the Slug field if non-nil, zero value otherwise. + +### GetSlugOk + +`func (o *TerraformPackageUploadResponse) GetSlugOk() (*string, bool)` + +GetSlugOk returns a tuple with the Slug field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetSlug + +`func (o *TerraformPackageUploadResponse) SetSlug(v string)` + +SetSlug sets Slug field to given value. + +### HasSlug + +`func (o *TerraformPackageUploadResponse) HasSlug() bool` + +HasSlug returns a boolean if a field has been set. + +### GetSlugPerm + +`func (o *TerraformPackageUploadResponse) GetSlugPerm() string` + +GetSlugPerm returns the SlugPerm field if non-nil, zero value otherwise. + +### GetSlugPermOk + +`func (o *TerraformPackageUploadResponse) GetSlugPermOk() (*string, bool)` + +GetSlugPermOk returns a tuple with the SlugPerm field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetSlugPerm + +`func (o *TerraformPackageUploadResponse) SetSlugPerm(v string)` + +SetSlugPerm sets SlugPerm field to given value. + +### HasSlugPerm + +`func (o *TerraformPackageUploadResponse) HasSlugPerm() bool` + +HasSlugPerm returns a boolean if a field has been set. + +### GetStage + +`func (o *TerraformPackageUploadResponse) GetStage() int64` + +GetStage returns the Stage field if non-nil, zero value otherwise. + +### GetStageOk + +`func (o *TerraformPackageUploadResponse) GetStageOk() (*int64, bool)` + +GetStageOk returns a tuple with the Stage field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetStage + +`func (o *TerraformPackageUploadResponse) SetStage(v int64)` + +SetStage sets Stage field to given value. + +### HasStage + +`func (o *TerraformPackageUploadResponse) HasStage() bool` + +HasStage returns a boolean if a field has been set. + +### GetStageStr + +`func (o *TerraformPackageUploadResponse) GetStageStr() string` + +GetStageStr returns the StageStr field if non-nil, zero value otherwise. + +### GetStageStrOk + +`func (o *TerraformPackageUploadResponse) GetStageStrOk() (*string, bool)` + +GetStageStrOk returns a tuple with the StageStr field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetStageStr + +`func (o *TerraformPackageUploadResponse) SetStageStr(v string)` + +SetStageStr sets StageStr field to given value. + +### HasStageStr + +`func (o *TerraformPackageUploadResponse) HasStageStr() bool` + +HasStageStr returns a boolean if a field has been set. + +### GetStageUpdatedAt + +`func (o *TerraformPackageUploadResponse) GetStageUpdatedAt() time.Time` + +GetStageUpdatedAt returns the StageUpdatedAt field if non-nil, zero value otherwise. + +### GetStageUpdatedAtOk + +`func (o *TerraformPackageUploadResponse) GetStageUpdatedAtOk() (*time.Time, bool)` + +GetStageUpdatedAtOk returns a tuple with the StageUpdatedAt field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetStageUpdatedAt + +`func (o *TerraformPackageUploadResponse) SetStageUpdatedAt(v time.Time)` + +SetStageUpdatedAt sets StageUpdatedAt field to given value. + +### HasStageUpdatedAt + +`func (o *TerraformPackageUploadResponse) HasStageUpdatedAt() bool` + +HasStageUpdatedAt returns a boolean if a field has been set. + +### GetStatus + +`func (o *TerraformPackageUploadResponse) GetStatus() int64` + +GetStatus returns the Status field if non-nil, zero value otherwise. + +### GetStatusOk + +`func (o *TerraformPackageUploadResponse) GetStatusOk() (*int64, bool)` + +GetStatusOk returns a tuple with the Status field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetStatus + +`func (o *TerraformPackageUploadResponse) SetStatus(v int64)` + +SetStatus sets Status field to given value. + +### HasStatus + +`func (o *TerraformPackageUploadResponse) HasStatus() bool` + +HasStatus returns a boolean if a field has been set. + +### GetStatusReason + +`func (o *TerraformPackageUploadResponse) GetStatusReason() string` + +GetStatusReason returns the StatusReason field if non-nil, zero value otherwise. + +### GetStatusReasonOk + +`func (o *TerraformPackageUploadResponse) GetStatusReasonOk() (*string, bool)` + +GetStatusReasonOk returns a tuple with the StatusReason field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetStatusReason + +`func (o *TerraformPackageUploadResponse) SetStatusReason(v string)` + +SetStatusReason sets StatusReason field to given value. + +### HasStatusReason + +`func (o *TerraformPackageUploadResponse) HasStatusReason() bool` + +HasStatusReason returns a boolean if a field has been set. + +### GetStatusStr + +`func (o *TerraformPackageUploadResponse) GetStatusStr() string` + +GetStatusStr returns the StatusStr field if non-nil, zero value otherwise. + +### GetStatusStrOk + +`func (o *TerraformPackageUploadResponse) GetStatusStrOk() (*string, bool)` + +GetStatusStrOk returns a tuple with the StatusStr field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetStatusStr + +`func (o *TerraformPackageUploadResponse) SetStatusStr(v string)` + +SetStatusStr sets StatusStr field to given value. + +### HasStatusStr + +`func (o *TerraformPackageUploadResponse) HasStatusStr() bool` + +HasStatusStr returns a boolean if a field has been set. + +### GetStatusUpdatedAt + +`func (o *TerraformPackageUploadResponse) GetStatusUpdatedAt() time.Time` + +GetStatusUpdatedAt returns the StatusUpdatedAt field if non-nil, zero value otherwise. + +### GetStatusUpdatedAtOk + +`func (o *TerraformPackageUploadResponse) GetStatusUpdatedAtOk() (*time.Time, bool)` + +GetStatusUpdatedAtOk returns a tuple with the StatusUpdatedAt field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetStatusUpdatedAt + +`func (o *TerraformPackageUploadResponse) SetStatusUpdatedAt(v time.Time)` + +SetStatusUpdatedAt sets StatusUpdatedAt field to given value. + +### HasStatusUpdatedAt + +`func (o *TerraformPackageUploadResponse) HasStatusUpdatedAt() bool` + +HasStatusUpdatedAt returns a boolean if a field has been set. + +### GetStatusUrl + +`func (o *TerraformPackageUploadResponse) GetStatusUrl() string` + +GetStatusUrl returns the StatusUrl field if non-nil, zero value otherwise. + +### GetStatusUrlOk + +`func (o *TerraformPackageUploadResponse) GetStatusUrlOk() (*string, bool)` + +GetStatusUrlOk returns a tuple with the StatusUrl field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetStatusUrl + +`func (o *TerraformPackageUploadResponse) SetStatusUrl(v string)` + +SetStatusUrl sets StatusUrl field to given value. + +### HasStatusUrl + +`func (o *TerraformPackageUploadResponse) HasStatusUrl() bool` + +HasStatusUrl returns a boolean if a field has been set. + +### GetSubtype + +`func (o *TerraformPackageUploadResponse) GetSubtype() string` + +GetSubtype returns the Subtype field if non-nil, zero value otherwise. + +### GetSubtypeOk + +`func (o *TerraformPackageUploadResponse) GetSubtypeOk() (*string, bool)` + +GetSubtypeOk returns a tuple with the Subtype field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetSubtype + +`func (o *TerraformPackageUploadResponse) SetSubtype(v string)` + +SetSubtype sets Subtype field to given value. + +### HasSubtype + +`func (o *TerraformPackageUploadResponse) HasSubtype() bool` + +HasSubtype returns a boolean if a field has been set. + +### GetSummary + +`func (o *TerraformPackageUploadResponse) GetSummary() string` + +GetSummary returns the Summary field if non-nil, zero value otherwise. + +### GetSummaryOk + +`func (o *TerraformPackageUploadResponse) GetSummaryOk() (*string, bool)` + +GetSummaryOk returns a tuple with the Summary field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetSummary + +`func (o *TerraformPackageUploadResponse) SetSummary(v string)` + +SetSummary sets Summary field to given value. + +### HasSummary + +`func (o *TerraformPackageUploadResponse) HasSummary() bool` + +HasSummary returns a boolean if a field has been set. + +### GetSyncFinishedAt + +`func (o *TerraformPackageUploadResponse) GetSyncFinishedAt() time.Time` + +GetSyncFinishedAt returns the SyncFinishedAt field if non-nil, zero value otherwise. + +### GetSyncFinishedAtOk + +`func (o *TerraformPackageUploadResponse) GetSyncFinishedAtOk() (*time.Time, bool)` + +GetSyncFinishedAtOk returns a tuple with the SyncFinishedAt field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetSyncFinishedAt + +`func (o *TerraformPackageUploadResponse) SetSyncFinishedAt(v time.Time)` + +SetSyncFinishedAt sets SyncFinishedAt field to given value. + +### HasSyncFinishedAt + +`func (o *TerraformPackageUploadResponse) HasSyncFinishedAt() bool` + +HasSyncFinishedAt returns a boolean if a field has been set. + +### GetSyncProgress + +`func (o *TerraformPackageUploadResponse) GetSyncProgress() int64` + +GetSyncProgress returns the SyncProgress field if non-nil, zero value otherwise. + +### GetSyncProgressOk + +`func (o *TerraformPackageUploadResponse) GetSyncProgressOk() (*int64, bool)` + +GetSyncProgressOk returns a tuple with the SyncProgress field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetSyncProgress + +`func (o *TerraformPackageUploadResponse) SetSyncProgress(v int64)` + +SetSyncProgress sets SyncProgress field to given value. + +### HasSyncProgress + +`func (o *TerraformPackageUploadResponse) HasSyncProgress() bool` + +HasSyncProgress returns a boolean if a field has been set. + +### GetTagsImmutable + +`func (o *TerraformPackageUploadResponse) GetTagsImmutable() map[string]interface{}` + +GetTagsImmutable returns the TagsImmutable field if non-nil, zero value otherwise. + +### GetTagsImmutableOk + +`func (o *TerraformPackageUploadResponse) GetTagsImmutableOk() (*map[string]interface{}, bool)` + +GetTagsImmutableOk returns a tuple with the TagsImmutable field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetTagsImmutable + +`func (o *TerraformPackageUploadResponse) SetTagsImmutable(v map[string]interface{})` + +SetTagsImmutable sets TagsImmutable field to given value. + +### HasTagsImmutable + +`func (o *TerraformPackageUploadResponse) HasTagsImmutable() bool` + +HasTagsImmutable returns a boolean if a field has been set. + +### GetTypeDisplay + +`func (o *TerraformPackageUploadResponse) GetTypeDisplay() string` + +GetTypeDisplay returns the TypeDisplay field if non-nil, zero value otherwise. + +### GetTypeDisplayOk + +`func (o *TerraformPackageUploadResponse) GetTypeDisplayOk() (*string, bool)` + +GetTypeDisplayOk returns a tuple with the TypeDisplay field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetTypeDisplay + +`func (o *TerraformPackageUploadResponse) SetTypeDisplay(v string)` + +SetTypeDisplay sets TypeDisplay field to given value. + +### HasTypeDisplay + +`func (o *TerraformPackageUploadResponse) HasTypeDisplay() bool` + +HasTypeDisplay returns a boolean if a field has been set. + +### GetUploadedAt + +`func (o *TerraformPackageUploadResponse) GetUploadedAt() time.Time` + +GetUploadedAt returns the UploadedAt field if non-nil, zero value otherwise. + +### GetUploadedAtOk + +`func (o *TerraformPackageUploadResponse) GetUploadedAtOk() (*time.Time, bool)` + +GetUploadedAtOk returns a tuple with the UploadedAt field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetUploadedAt + +`func (o *TerraformPackageUploadResponse) SetUploadedAt(v time.Time)` + +SetUploadedAt sets UploadedAt field to given value. + +### HasUploadedAt + +`func (o *TerraformPackageUploadResponse) HasUploadedAt() bool` + +HasUploadedAt returns a boolean if a field has been set. + +### GetUploader + +`func (o *TerraformPackageUploadResponse) GetUploader() string` + +GetUploader returns the Uploader field if non-nil, zero value otherwise. + +### GetUploaderOk + +`func (o *TerraformPackageUploadResponse) GetUploaderOk() (*string, bool)` + +GetUploaderOk returns a tuple with the Uploader field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetUploader + +`func (o *TerraformPackageUploadResponse) SetUploader(v string)` + +SetUploader sets Uploader field to given value. + +### HasUploader + +`func (o *TerraformPackageUploadResponse) HasUploader() bool` + +HasUploader returns a boolean if a field has been set. + +### GetUploaderUrl + +`func (o *TerraformPackageUploadResponse) GetUploaderUrl() string` + +GetUploaderUrl returns the UploaderUrl field if non-nil, zero value otherwise. + +### GetUploaderUrlOk + +`func (o *TerraformPackageUploadResponse) GetUploaderUrlOk() (*string, bool)` + +GetUploaderUrlOk returns a tuple with the UploaderUrl field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetUploaderUrl + +`func (o *TerraformPackageUploadResponse) SetUploaderUrl(v string)` + +SetUploaderUrl sets UploaderUrl field to given value. + +### HasUploaderUrl + +`func (o *TerraformPackageUploadResponse) HasUploaderUrl() bool` + +HasUploaderUrl returns a boolean if a field has been set. + +### GetVersion + +`func (o *TerraformPackageUploadResponse) GetVersion() string` + +GetVersion returns the Version field if non-nil, zero value otherwise. + +### GetVersionOk + +`func (o *TerraformPackageUploadResponse) GetVersionOk() (*string, bool)` + +GetVersionOk returns a tuple with the Version field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetVersion + +`func (o *TerraformPackageUploadResponse) SetVersion(v string)` + +SetVersion sets Version field to given value. + +### HasVersion + +`func (o *TerraformPackageUploadResponse) HasVersion() bool` + +HasVersion returns a boolean if a field has been set. + +### GetVersionOrig + +`func (o *TerraformPackageUploadResponse) GetVersionOrig() string` + +GetVersionOrig returns the VersionOrig field if non-nil, zero value otherwise. + +### GetVersionOrigOk + +`func (o *TerraformPackageUploadResponse) GetVersionOrigOk() (*string, bool)` + +GetVersionOrigOk returns a tuple with the VersionOrig field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetVersionOrig + +`func (o *TerraformPackageUploadResponse) SetVersionOrig(v string)` + +SetVersionOrig sets VersionOrig field to given value. + +### HasVersionOrig + +`func (o *TerraformPackageUploadResponse) HasVersionOrig() bool` + +HasVersionOrig returns a boolean if a field has been set. + +### GetVulnerabilityScanResultsUrl + +`func (o *TerraformPackageUploadResponse) GetVulnerabilityScanResultsUrl() string` + +GetVulnerabilityScanResultsUrl returns the VulnerabilityScanResultsUrl field if non-nil, zero value otherwise. + +### GetVulnerabilityScanResultsUrlOk + +`func (o *TerraformPackageUploadResponse) GetVulnerabilityScanResultsUrlOk() (*string, bool)` + +GetVulnerabilityScanResultsUrlOk returns a tuple with the VulnerabilityScanResultsUrl field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetVulnerabilityScanResultsUrl + +`func (o *TerraformPackageUploadResponse) SetVulnerabilityScanResultsUrl(v string)` + +SetVulnerabilityScanResultsUrl sets VulnerabilityScanResultsUrl field to given value. + +### HasVulnerabilityScanResultsUrl + +`func (o *TerraformPackageUploadResponse) HasVulnerabilityScanResultsUrl() bool` + +HasVulnerabilityScanResultsUrl 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/docs/Usage.md b/docs/Usage.md new file mode 100644 index 00000000..511679fb --- /dev/null +++ b/docs/Usage.md @@ -0,0 +1,108 @@ +# Usage + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Limit** | Pointer to **string** | | [optional] +**Percentage** | Pointer to **string** | | [optional] +**Used** | Pointer to **string** | | [optional] + +## Methods + +### NewUsage + +`func NewUsage() *Usage` + +NewUsage instantiates a new Usage object +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 + +### NewUsageWithDefaults + +`func NewUsageWithDefaults() *Usage` + +NewUsageWithDefaults instantiates a new Usage object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetLimit + +`func (o *Usage) GetLimit() string` + +GetLimit returns the Limit field if non-nil, zero value otherwise. + +### GetLimitOk + +`func (o *Usage) GetLimitOk() (*string, bool)` + +GetLimitOk returns a tuple with the Limit field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetLimit + +`func (o *Usage) SetLimit(v string)` + +SetLimit sets Limit field to given value. + +### HasLimit + +`func (o *Usage) HasLimit() bool` + +HasLimit returns a boolean if a field has been set. + +### GetPercentage + +`func (o *Usage) GetPercentage() string` + +GetPercentage returns the Percentage field if non-nil, zero value otherwise. + +### GetPercentageOk + +`func (o *Usage) GetPercentageOk() (*string, bool)` + +GetPercentageOk returns a tuple with the Percentage field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetPercentage + +`func (o *Usage) SetPercentage(v string)` + +SetPercentage sets Percentage field to given value. + +### HasPercentage + +`func (o *Usage) HasPercentage() bool` + +HasPercentage returns a boolean if a field has been set. + +### GetUsed + +`func (o *Usage) GetUsed() string` + +GetUsed returns the Used field if non-nil, zero value otherwise. + +### GetUsedOk + +`func (o *Usage) GetUsedOk() (*string, bool)` + +GetUsedOk returns a tuple with the Used field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetUsed + +`func (o *Usage) SetUsed(v string)` + +SetUsed sets Used field to given value. + +### HasUsed + +`func (o *Usage) HasUsed() bool` + +HasUsed 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/docs/UsageFieldset.md b/docs/UsageFieldset.md new file mode 100644 index 00000000..f9f6aa0e --- /dev/null +++ b/docs/UsageFieldset.md @@ -0,0 +1,72 @@ +# UsageFieldset + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Display** | [**UsageLimits**](UsageLimits.md) | | +**Raw** | [**UsageLimits**](UsageLimits.md) | | + +## Methods + +### NewUsageFieldset + +`func NewUsageFieldset(display UsageLimits, raw UsageLimits, ) *UsageFieldset` + +NewUsageFieldset instantiates a new UsageFieldset object +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 + +### NewUsageFieldsetWithDefaults + +`func NewUsageFieldsetWithDefaults() *UsageFieldset` + +NewUsageFieldsetWithDefaults instantiates a new UsageFieldset object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetDisplay + +`func (o *UsageFieldset) GetDisplay() UsageLimits` + +GetDisplay returns the Display field if non-nil, zero value otherwise. + +### GetDisplayOk + +`func (o *UsageFieldset) GetDisplayOk() (*UsageLimits, bool)` + +GetDisplayOk returns a tuple with the Display field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetDisplay + +`func (o *UsageFieldset) SetDisplay(v UsageLimits)` + +SetDisplay sets Display field to given value. + + +### GetRaw + +`func (o *UsageFieldset) GetRaw() UsageLimits` + +GetRaw returns the Raw field if non-nil, zero value otherwise. + +### GetRawOk + +`func (o *UsageFieldset) GetRawOk() (*UsageLimits, bool)` + +GetRawOk returns a tuple with the Raw field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetRaw + +`func (o *UsageFieldset) SetRaw(v UsageLimits)` + +SetRaw sets Raw field to given value. + + + +[[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/docs/UsageLimits.md b/docs/UsageLimits.md new file mode 100644 index 00000000..30272d3d --- /dev/null +++ b/docs/UsageLimits.md @@ -0,0 +1,72 @@ +# UsageLimits + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Bandwidth** | [**AllocatedLimit**](AllocatedLimit.md) | | +**Storage** | [**AllocatedLimit**](AllocatedLimit.md) | | + +## Methods + +### NewUsageLimits + +`func NewUsageLimits(bandwidth AllocatedLimit, storage AllocatedLimit, ) *UsageLimits` + +NewUsageLimits instantiates a new UsageLimits object +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 + +### NewUsageLimitsWithDefaults + +`func NewUsageLimitsWithDefaults() *UsageLimits` + +NewUsageLimitsWithDefaults instantiates a new UsageLimits object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetBandwidth + +`func (o *UsageLimits) GetBandwidth() AllocatedLimit` + +GetBandwidth returns the Bandwidth field if non-nil, zero value otherwise. + +### GetBandwidthOk + +`func (o *UsageLimits) GetBandwidthOk() (*AllocatedLimit, bool)` + +GetBandwidthOk returns a tuple with the Bandwidth field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetBandwidth + +`func (o *UsageLimits) SetBandwidth(v AllocatedLimit)` + +SetBandwidth sets Bandwidth field to given value. + + +### GetStorage + +`func (o *UsageLimits) GetStorage() AllocatedLimit` + +GetStorage returns the Storage field if non-nil, zero value otherwise. + +### GetStorageOk + +`func (o *UsageLimits) GetStorageOk() (*AllocatedLimit, bool)` + +GetStorageOk returns a tuple with the Storage field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetStorage + +`func (o *UsageLimits) SetStorage(v AllocatedLimit)` + +SetStorage sets Storage field to given value. + + + +[[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/docs/UserApi.md b/docs/UserApi.md index 04c38d38..869cce01 100644 --- a/docs/UserApi.md +++ b/docs/UserApi.md @@ -11,7 +11,7 @@ Method | HTTP request | Description ## UserSelf -> UserBrief UserSelf(ctx).Execute() +> UserBriefResponse UserSelf(ctx).Execute() Provide a brief for the current user (if any). @@ -38,7 +38,7 @@ func main() { fmt.Fprintf(os.Stderr, "Error when calling `UserApi.UserSelf``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } - // response from `UserSelf`: UserBrief + // response from `UserSelf`: UserBriefResponse fmt.Fprintf(os.Stdout, "Response from `UserApi.UserSelf`: %v\n", resp) } ``` @@ -54,7 +54,7 @@ Other parameters are passed through a pointer to a apiUserSelfRequest struct via ### Return type -[**UserBrief**](UserBrief.md) +[**UserBriefResponse**](UserBriefResponse.md) ### Authorization @@ -63,7 +63,7 @@ Other parameters are passed through a pointer to a apiUserSelfRequest struct via ### HTTP request headers - **Content-Type**: Not defined -- **Accept**: */* +- **Accept**: application/json [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) @@ -72,7 +72,7 @@ Other parameters are passed through a pointer to a apiUserSelfRequest struct via ## UserTokenCreate -> UserAuthToken UserTokenCreate(ctx).Data(data).Execute() +> UserAuthTokenResponse UserTokenCreate(ctx).Data(data).Execute() Retrieve the API key/token for the authenticated user. @@ -91,7 +91,7 @@ import ( ) func main() { - data := *openapiclient.NewUserTokenCreate() // UserTokenCreate | (optional) + data := *openapiclient.NewUserAuthTokenRequest() // UserAuthTokenRequest | (optional) configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) @@ -100,7 +100,7 @@ func main() { fmt.Fprintf(os.Stderr, "Error when calling `UserApi.UserTokenCreate``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } - // response from `UserTokenCreate`: UserAuthToken + // response from `UserTokenCreate`: UserAuthTokenResponse fmt.Fprintf(os.Stdout, "Response from `UserApi.UserTokenCreate`: %v\n", resp) } ``` @@ -116,11 +116,11 @@ Other parameters are passed through a pointer to a apiUserTokenCreateRequest str Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **data** | [**UserTokenCreate**](UserTokenCreate.md) | | + **data** | [**UserAuthTokenRequest**](UserAuthTokenRequest.md) | | ### Return type -[**UserAuthToken**](UserAuthToken.md) +[**UserAuthTokenResponse**](UserAuthTokenResponse.md) ### Authorization @@ -129,7 +129,7 @@ Name | Type | Description | Notes ### HTTP request headers - **Content-Type**: application/json -- **Accept**: */* +- **Accept**: application/json [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) diff --git a/docs/UserTokenCreate.md b/docs/UserAuthTokenRequest.md similarity index 66% rename from docs/UserTokenCreate.md rename to docs/UserAuthTokenRequest.md index 925bdd69..574d2093 100644 --- a/docs/UserTokenCreate.md +++ b/docs/UserAuthTokenRequest.md @@ -1,4 +1,4 @@ -# UserTokenCreate +# UserAuthTokenRequest ## Properties @@ -9,70 +9,70 @@ Name | Type | Description | Notes ## Methods -### NewUserTokenCreate +### NewUserAuthTokenRequest -`func NewUserTokenCreate() *UserTokenCreate` +`func NewUserAuthTokenRequest() *UserAuthTokenRequest` -NewUserTokenCreate instantiates a new UserTokenCreate object +NewUserAuthTokenRequest instantiates a new UserAuthTokenRequest object 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 -### NewUserTokenCreateWithDefaults +### NewUserAuthTokenRequestWithDefaults -`func NewUserTokenCreateWithDefaults() *UserTokenCreate` +`func NewUserAuthTokenRequestWithDefaults() *UserAuthTokenRequest` -NewUserTokenCreateWithDefaults instantiates a new UserTokenCreate object +NewUserAuthTokenRequestWithDefaults instantiates a new UserAuthTokenRequest object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set ### GetEmail -`func (o *UserTokenCreate) GetEmail() string` +`func (o *UserAuthTokenRequest) GetEmail() string` GetEmail returns the Email field if non-nil, zero value otherwise. ### GetEmailOk -`func (o *UserTokenCreate) GetEmailOk() (*string, bool)` +`func (o *UserAuthTokenRequest) GetEmailOk() (*string, bool)` GetEmailOk returns a tuple with the Email field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetEmail -`func (o *UserTokenCreate) SetEmail(v string)` +`func (o *UserAuthTokenRequest) SetEmail(v string)` SetEmail sets Email field to given value. ### HasEmail -`func (o *UserTokenCreate) HasEmail() bool` +`func (o *UserAuthTokenRequest) HasEmail() bool` HasEmail returns a boolean if a field has been set. ### GetPassword -`func (o *UserTokenCreate) GetPassword() string` +`func (o *UserAuthTokenRequest) GetPassword() string` GetPassword returns the Password field if non-nil, zero value otherwise. ### GetPasswordOk -`func (o *UserTokenCreate) GetPasswordOk() (*string, bool)` +`func (o *UserAuthTokenRequest) GetPasswordOk() (*string, bool)` GetPasswordOk returns a tuple with the Password field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetPassword -`func (o *UserTokenCreate) SetPassword(v string)` +`func (o *UserAuthTokenRequest) SetPassword(v string)` SetPassword sets Password field to given value. ### HasPassword -`func (o *UserTokenCreate) HasPassword() bool` +`func (o *UserAuthTokenRequest) HasPassword() bool` HasPassword returns a boolean if a field has been set. diff --git a/docs/UserAuthToken.md b/docs/UserAuthTokenResponse.md similarity index 63% rename from docs/UserAuthToken.md rename to docs/UserAuthTokenResponse.md index 46269aae..eaca0ce5 100644 --- a/docs/UserAuthToken.md +++ b/docs/UserAuthTokenResponse.md @@ -1,52 +1,52 @@ -# UserAuthToken +# UserAuthTokenResponse ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**Token** | Pointer to **string** | API token for the authenticated user | [optional] +**Token** | Pointer to **string** | API token for the authenticated user | [optional] [readonly] ## Methods -### NewUserAuthToken +### NewUserAuthTokenResponse -`func NewUserAuthToken() *UserAuthToken` +`func NewUserAuthTokenResponse() *UserAuthTokenResponse` -NewUserAuthToken instantiates a new UserAuthToken object +NewUserAuthTokenResponse instantiates a new UserAuthTokenResponse object 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 -### NewUserAuthTokenWithDefaults +### NewUserAuthTokenResponseWithDefaults -`func NewUserAuthTokenWithDefaults() *UserAuthToken` +`func NewUserAuthTokenResponseWithDefaults() *UserAuthTokenResponse` -NewUserAuthTokenWithDefaults instantiates a new UserAuthToken object +NewUserAuthTokenResponseWithDefaults instantiates a new UserAuthTokenResponse object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set ### GetToken -`func (o *UserAuthToken) GetToken() string` +`func (o *UserAuthTokenResponse) GetToken() string` GetToken returns the Token field if non-nil, zero value otherwise. ### GetTokenOk -`func (o *UserAuthToken) GetTokenOk() (*string, bool)` +`func (o *UserAuthTokenResponse) GetTokenOk() (*string, bool)` GetTokenOk returns a tuple with the Token field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetToken -`func (o *UserAuthToken) SetToken(v string)` +`func (o *UserAuthTokenResponse) SetToken(v string)` SetToken sets Token field to given value. ### HasToken -`func (o *UserAuthToken) HasToken() bool` +`func (o *UserAuthTokenResponse) HasToken() bool` HasToken returns a boolean if a field has been set. diff --git a/docs/UserBrief.md b/docs/UserBrief.md deleted file mode 100644 index c3de9832..00000000 --- a/docs/UserBrief.md +++ /dev/null @@ -1,212 +0,0 @@ -# UserBrief - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**Authenticated** | Pointer to **bool** | If true then you're logged in as a user. | [optional] -**Email** | Pointer to **string** | Your email address that we use to contact you. This is only visible to you. | [optional] -**Name** | Pointer to **string** | The full name of the user (if any). | [optional] -**ProfileUrl** | Pointer to **string** | The URL for the full profile of the user. | [optional] -**SelfUrl** | Pointer to **string** | | [optional] -**Slug** | Pointer to **string** | | [optional] -**SlugPerm** | Pointer to **string** | | [optional] - -## Methods - -### NewUserBrief - -`func NewUserBrief() *UserBrief` - -NewUserBrief instantiates a new UserBrief object -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 - -### NewUserBriefWithDefaults - -`func NewUserBriefWithDefaults() *UserBrief` - -NewUserBriefWithDefaults instantiates a new UserBrief object -This constructor will only assign default values to properties that have it defined, -but it doesn't guarantee that properties required by API are set - -### GetAuthenticated - -`func (o *UserBrief) GetAuthenticated() bool` - -GetAuthenticated returns the Authenticated field if non-nil, zero value otherwise. - -### GetAuthenticatedOk - -`func (o *UserBrief) GetAuthenticatedOk() (*bool, bool)` - -GetAuthenticatedOk returns a tuple with the Authenticated field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetAuthenticated - -`func (o *UserBrief) SetAuthenticated(v bool)` - -SetAuthenticated sets Authenticated field to given value. - -### HasAuthenticated - -`func (o *UserBrief) HasAuthenticated() bool` - -HasAuthenticated returns a boolean if a field has been set. - -### GetEmail - -`func (o *UserBrief) GetEmail() string` - -GetEmail returns the Email field if non-nil, zero value otherwise. - -### GetEmailOk - -`func (o *UserBrief) GetEmailOk() (*string, bool)` - -GetEmailOk returns a tuple with the Email field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetEmail - -`func (o *UserBrief) SetEmail(v string)` - -SetEmail sets Email field to given value. - -### HasEmail - -`func (o *UserBrief) HasEmail() bool` - -HasEmail returns a boolean if a field has been set. - -### GetName - -`func (o *UserBrief) GetName() string` - -GetName returns the Name field if non-nil, zero value otherwise. - -### GetNameOk - -`func (o *UserBrief) GetNameOk() (*string, bool)` - -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. - -### SetName - -`func (o *UserBrief) SetName(v string)` - -SetName sets Name field to given value. - -### HasName - -`func (o *UserBrief) HasName() bool` - -HasName returns a boolean if a field has been set. - -### GetProfileUrl - -`func (o *UserBrief) GetProfileUrl() string` - -GetProfileUrl returns the ProfileUrl field if non-nil, zero value otherwise. - -### GetProfileUrlOk - -`func (o *UserBrief) GetProfileUrlOk() (*string, bool)` - -GetProfileUrlOk returns a tuple with the ProfileUrl field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetProfileUrl - -`func (o *UserBrief) SetProfileUrl(v string)` - -SetProfileUrl sets ProfileUrl field to given value. - -### HasProfileUrl - -`func (o *UserBrief) HasProfileUrl() bool` - -HasProfileUrl returns a boolean if a field has been set. - -### GetSelfUrl - -`func (o *UserBrief) GetSelfUrl() string` - -GetSelfUrl returns the SelfUrl field if non-nil, zero value otherwise. - -### GetSelfUrlOk - -`func (o *UserBrief) GetSelfUrlOk() (*string, bool)` - -GetSelfUrlOk returns a tuple with the SelfUrl field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetSelfUrl - -`func (o *UserBrief) SetSelfUrl(v string)` - -SetSelfUrl sets SelfUrl field to given value. - -### HasSelfUrl - -`func (o *UserBrief) HasSelfUrl() bool` - -HasSelfUrl returns a boolean if a field has been set. - -### GetSlug - -`func (o *UserBrief) GetSlug() string` - -GetSlug returns the Slug field if non-nil, zero value otherwise. - -### GetSlugOk - -`func (o *UserBrief) GetSlugOk() (*string, bool)` - -GetSlugOk returns a tuple with the Slug field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetSlug - -`func (o *UserBrief) SetSlug(v string)` - -SetSlug sets Slug field to given value. - -### HasSlug - -`func (o *UserBrief) HasSlug() bool` - -HasSlug returns a boolean if a field has been set. - -### GetSlugPerm - -`func (o *UserBrief) GetSlugPerm() string` - -GetSlugPerm returns the SlugPerm field if non-nil, zero value otherwise. - -### GetSlugPermOk - -`func (o *UserBrief) GetSlugPermOk() (*string, bool)` - -GetSlugPermOk returns a tuple with the SlugPerm field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetSlugPerm - -`func (o *UserBrief) SetSlugPerm(v string)` - -SetSlugPerm sets SlugPerm field to given value. - -### HasSlugPerm - -`func (o *UserBrief) HasSlugPerm() bool` - -HasSlugPerm 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/docs/UserBriefResponse.md b/docs/UserBriefResponse.md new file mode 100644 index 00000000..342b5883 --- /dev/null +++ b/docs/UserBriefResponse.md @@ -0,0 +1,262 @@ +# UserBriefResponse + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Authenticated** | Pointer to **bool** | If true then you're logged in as a user. | [optional] [readonly] +**Email** | Pointer to **NullableString** | Your email address that we use to contact you. This is only visible to you. | [optional] +**Name** | Pointer to **NullableString** | The full name of the user (if any). | [optional] [readonly] +**ProfileUrl** | Pointer to **NullableString** | The URL for the full profile of the user. | [optional] [readonly] +**SelfUrl** | Pointer to **string** | | [optional] [readonly] +**Slug** | Pointer to **NullableString** | | [optional] [readonly] +**SlugPerm** | Pointer to **NullableString** | | [optional] [readonly] + +## Methods + +### NewUserBriefResponse + +`func NewUserBriefResponse() *UserBriefResponse` + +NewUserBriefResponse instantiates a new UserBriefResponse object +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 + +### NewUserBriefResponseWithDefaults + +`func NewUserBriefResponseWithDefaults() *UserBriefResponse` + +NewUserBriefResponseWithDefaults instantiates a new UserBriefResponse object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetAuthenticated + +`func (o *UserBriefResponse) GetAuthenticated() bool` + +GetAuthenticated returns the Authenticated field if non-nil, zero value otherwise. + +### GetAuthenticatedOk + +`func (o *UserBriefResponse) GetAuthenticatedOk() (*bool, bool)` + +GetAuthenticatedOk returns a tuple with the Authenticated field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetAuthenticated + +`func (o *UserBriefResponse) SetAuthenticated(v bool)` + +SetAuthenticated sets Authenticated field to given value. + +### HasAuthenticated + +`func (o *UserBriefResponse) HasAuthenticated() bool` + +HasAuthenticated returns a boolean if a field has been set. + +### GetEmail + +`func (o *UserBriefResponse) GetEmail() string` + +GetEmail returns the Email field if non-nil, zero value otherwise. + +### GetEmailOk + +`func (o *UserBriefResponse) GetEmailOk() (*string, bool)` + +GetEmailOk returns a tuple with the Email field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetEmail + +`func (o *UserBriefResponse) SetEmail(v string)` + +SetEmail sets Email field to given value. + +### HasEmail + +`func (o *UserBriefResponse) HasEmail() bool` + +HasEmail returns a boolean if a field has been set. + +### SetEmailNil + +`func (o *UserBriefResponse) SetEmailNil(b bool)` + + SetEmailNil sets the value for Email to be an explicit nil + +### UnsetEmail +`func (o *UserBriefResponse) UnsetEmail()` + +UnsetEmail ensures that no value is present for Email, not even an explicit nil +### GetName + +`func (o *UserBriefResponse) GetName() string` + +GetName returns the Name field if non-nil, zero value otherwise. + +### GetNameOk + +`func (o *UserBriefResponse) GetNameOk() (*string, bool)` + +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. + +### SetName + +`func (o *UserBriefResponse) SetName(v string)` + +SetName sets Name field to given value. + +### HasName + +`func (o *UserBriefResponse) HasName() bool` + +HasName returns a boolean if a field has been set. + +### SetNameNil + +`func (o *UserBriefResponse) SetNameNil(b bool)` + + SetNameNil sets the value for Name to be an explicit nil + +### UnsetName +`func (o *UserBriefResponse) UnsetName()` + +UnsetName ensures that no value is present for Name, not even an explicit nil +### GetProfileUrl + +`func (o *UserBriefResponse) GetProfileUrl() string` + +GetProfileUrl returns the ProfileUrl field if non-nil, zero value otherwise. + +### GetProfileUrlOk + +`func (o *UserBriefResponse) GetProfileUrlOk() (*string, bool)` + +GetProfileUrlOk returns a tuple with the ProfileUrl field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetProfileUrl + +`func (o *UserBriefResponse) SetProfileUrl(v string)` + +SetProfileUrl sets ProfileUrl field to given value. + +### HasProfileUrl + +`func (o *UserBriefResponse) HasProfileUrl() bool` + +HasProfileUrl returns a boolean if a field has been set. + +### SetProfileUrlNil + +`func (o *UserBriefResponse) SetProfileUrlNil(b bool)` + + SetProfileUrlNil sets the value for ProfileUrl to be an explicit nil + +### UnsetProfileUrl +`func (o *UserBriefResponse) UnsetProfileUrl()` + +UnsetProfileUrl ensures that no value is present for ProfileUrl, not even an explicit nil +### GetSelfUrl + +`func (o *UserBriefResponse) GetSelfUrl() string` + +GetSelfUrl returns the SelfUrl field if non-nil, zero value otherwise. + +### GetSelfUrlOk + +`func (o *UserBriefResponse) GetSelfUrlOk() (*string, bool)` + +GetSelfUrlOk returns a tuple with the SelfUrl field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetSelfUrl + +`func (o *UserBriefResponse) SetSelfUrl(v string)` + +SetSelfUrl sets SelfUrl field to given value. + +### HasSelfUrl + +`func (o *UserBriefResponse) HasSelfUrl() bool` + +HasSelfUrl returns a boolean if a field has been set. + +### GetSlug + +`func (o *UserBriefResponse) GetSlug() string` + +GetSlug returns the Slug field if non-nil, zero value otherwise. + +### GetSlugOk + +`func (o *UserBriefResponse) GetSlugOk() (*string, bool)` + +GetSlugOk returns a tuple with the Slug field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetSlug + +`func (o *UserBriefResponse) SetSlug(v string)` + +SetSlug sets Slug field to given value. + +### HasSlug + +`func (o *UserBriefResponse) HasSlug() bool` + +HasSlug returns a boolean if a field has been set. + +### SetSlugNil + +`func (o *UserBriefResponse) SetSlugNil(b bool)` + + SetSlugNil sets the value for Slug to be an explicit nil + +### UnsetSlug +`func (o *UserBriefResponse) UnsetSlug()` + +UnsetSlug ensures that no value is present for Slug, not even an explicit nil +### GetSlugPerm + +`func (o *UserBriefResponse) GetSlugPerm() string` + +GetSlugPerm returns the SlugPerm field if non-nil, zero value otherwise. + +### GetSlugPermOk + +`func (o *UserBriefResponse) GetSlugPermOk() (*string, bool)` + +GetSlugPermOk returns a tuple with the SlugPerm field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetSlugPerm + +`func (o *UserBriefResponse) SetSlugPerm(v string)` + +SetSlugPerm sets SlugPerm field to given value. + +### HasSlugPerm + +`func (o *UserBriefResponse) HasSlugPerm() bool` + +HasSlugPerm returns a boolean if a field has been set. + +### SetSlugPermNil + +`func (o *UserBriefResponse) SetSlugPermNil(b bool)` + + SetSlugPermNil sets the value for SlugPerm to be an explicit nil + +### UnsetSlugPerm +`func (o *UserBriefResponse) UnsetSlugPerm()` + +UnsetSlugPerm ensures that no value is present for SlugPerm, 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/docs/UserProfile.md b/docs/UserProfileResponse.md similarity index 52% rename from docs/UserProfile.md rename to docs/UserProfileResponse.md index aa51dbcc..3a4d842c 100644 --- a/docs/UserProfile.md +++ b/docs/UserProfileResponse.md @@ -1,276 +1,306 @@ -# UserProfile +# UserProfileResponse ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**Company** | Pointer to **string** | | [optional] +**Company** | Pointer to **NullableString** | | [optional] **FirstName** | **string** | | -**JobTitle** | Pointer to **string** | | [optional] -**JoinedAt** | Pointer to **string** | | [optional] +**JobTitle** | Pointer to **NullableString** | | [optional] +**JoinedAt** | Pointer to **time.Time** | | [optional] **LastName** | **string** | | -**Name** | Pointer to **string** | | [optional] -**Slug** | Pointer to **string** | | [optional] -**SlugPerm** | Pointer to **string** | | [optional] -**Tagline** | Pointer to **string** | Your tagline is a sentence about you. Make it funny. Make it professional. Either way, it's public and it represents who you are. | [optional] -**Url** | Pointer to **string** | | [optional] +**Name** | Pointer to **string** | | [optional] [readonly] +**Slug** | Pointer to **string** | | [optional] [readonly] +**SlugPerm** | Pointer to **string** | | [optional] [readonly] +**Tagline** | Pointer to **NullableString** | Your tagline is a sentence about you. Make it funny. Make it professional. Either way, it's public and it represents who you are. | [optional] +**Url** | Pointer to **string** | | [optional] [readonly] ## Methods -### NewUserProfile +### NewUserProfileResponse -`func NewUserProfile(firstName string, lastName string, ) *UserProfile` +`func NewUserProfileResponse(firstName string, lastName string, ) *UserProfileResponse` -NewUserProfile instantiates a new UserProfile object +NewUserProfileResponse instantiates a new UserProfileResponse object 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 -### NewUserProfileWithDefaults +### NewUserProfileResponseWithDefaults -`func NewUserProfileWithDefaults() *UserProfile` +`func NewUserProfileResponseWithDefaults() *UserProfileResponse` -NewUserProfileWithDefaults instantiates a new UserProfile object +NewUserProfileResponseWithDefaults instantiates a new UserProfileResponse object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set ### GetCompany -`func (o *UserProfile) GetCompany() string` +`func (o *UserProfileResponse) GetCompany() string` GetCompany returns the Company field if non-nil, zero value otherwise. ### GetCompanyOk -`func (o *UserProfile) GetCompanyOk() (*string, bool)` +`func (o *UserProfileResponse) GetCompanyOk() (*string, bool)` GetCompanyOk returns a tuple with the Company field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetCompany -`func (o *UserProfile) SetCompany(v string)` +`func (o *UserProfileResponse) SetCompany(v string)` SetCompany sets Company field to given value. ### HasCompany -`func (o *UserProfile) HasCompany() bool` +`func (o *UserProfileResponse) HasCompany() bool` HasCompany returns a boolean if a field has been set. +### SetCompanyNil + +`func (o *UserProfileResponse) SetCompanyNil(b bool)` + + SetCompanyNil sets the value for Company to be an explicit nil + +### UnsetCompany +`func (o *UserProfileResponse) UnsetCompany()` + +UnsetCompany ensures that no value is present for Company, not even an explicit nil ### GetFirstName -`func (o *UserProfile) GetFirstName() string` +`func (o *UserProfileResponse) GetFirstName() string` GetFirstName returns the FirstName field if non-nil, zero value otherwise. ### GetFirstNameOk -`func (o *UserProfile) GetFirstNameOk() (*string, bool)` +`func (o *UserProfileResponse) GetFirstNameOk() (*string, bool)` GetFirstNameOk returns a tuple with the FirstName field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetFirstName -`func (o *UserProfile) SetFirstName(v string)` +`func (o *UserProfileResponse) SetFirstName(v string)` SetFirstName sets FirstName field to given value. ### GetJobTitle -`func (o *UserProfile) GetJobTitle() string` +`func (o *UserProfileResponse) GetJobTitle() string` GetJobTitle returns the JobTitle field if non-nil, zero value otherwise. ### GetJobTitleOk -`func (o *UserProfile) GetJobTitleOk() (*string, bool)` +`func (o *UserProfileResponse) GetJobTitleOk() (*string, bool)` GetJobTitleOk returns a tuple with the JobTitle field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetJobTitle -`func (o *UserProfile) SetJobTitle(v string)` +`func (o *UserProfileResponse) SetJobTitle(v string)` SetJobTitle sets JobTitle field to given value. ### HasJobTitle -`func (o *UserProfile) HasJobTitle() bool` +`func (o *UserProfileResponse) HasJobTitle() bool` HasJobTitle returns a boolean if a field has been set. +### SetJobTitleNil + +`func (o *UserProfileResponse) SetJobTitleNil(b bool)` + + SetJobTitleNil sets the value for JobTitle to be an explicit nil + +### UnsetJobTitle +`func (o *UserProfileResponse) UnsetJobTitle()` + +UnsetJobTitle ensures that no value is present for JobTitle, not even an explicit nil ### GetJoinedAt -`func (o *UserProfile) GetJoinedAt() string` +`func (o *UserProfileResponse) GetJoinedAt() time.Time` GetJoinedAt returns the JoinedAt field if non-nil, zero value otherwise. ### GetJoinedAtOk -`func (o *UserProfile) GetJoinedAtOk() (*string, bool)` +`func (o *UserProfileResponse) GetJoinedAtOk() (*time.Time, bool)` GetJoinedAtOk returns a tuple with the JoinedAt field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetJoinedAt -`func (o *UserProfile) SetJoinedAt(v string)` +`func (o *UserProfileResponse) SetJoinedAt(v time.Time)` SetJoinedAt sets JoinedAt field to given value. ### HasJoinedAt -`func (o *UserProfile) HasJoinedAt() bool` +`func (o *UserProfileResponse) HasJoinedAt() bool` HasJoinedAt returns a boolean if a field has been set. ### GetLastName -`func (o *UserProfile) GetLastName() string` +`func (o *UserProfileResponse) GetLastName() string` GetLastName returns the LastName field if non-nil, zero value otherwise. ### GetLastNameOk -`func (o *UserProfile) GetLastNameOk() (*string, bool)` +`func (o *UserProfileResponse) GetLastNameOk() (*string, bool)` GetLastNameOk returns a tuple with the LastName field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetLastName -`func (o *UserProfile) SetLastName(v string)` +`func (o *UserProfileResponse) SetLastName(v string)` SetLastName sets LastName field to given value. ### GetName -`func (o *UserProfile) GetName() string` +`func (o *UserProfileResponse) GetName() string` GetName returns the Name field if non-nil, zero value otherwise. ### GetNameOk -`func (o *UserProfile) GetNameOk() (*string, bool)` +`func (o *UserProfileResponse) GetNameOk() (*string, bool)` 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. ### SetName -`func (o *UserProfile) SetName(v string)` +`func (o *UserProfileResponse) SetName(v string)` SetName sets Name field to given value. ### HasName -`func (o *UserProfile) HasName() bool` +`func (o *UserProfileResponse) HasName() bool` HasName returns a boolean if a field has been set. ### GetSlug -`func (o *UserProfile) GetSlug() string` +`func (o *UserProfileResponse) GetSlug() string` GetSlug returns the Slug field if non-nil, zero value otherwise. ### GetSlugOk -`func (o *UserProfile) GetSlugOk() (*string, bool)` +`func (o *UserProfileResponse) GetSlugOk() (*string, bool)` GetSlugOk returns a tuple with the Slug field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetSlug -`func (o *UserProfile) SetSlug(v string)` +`func (o *UserProfileResponse) SetSlug(v string)` SetSlug sets Slug field to given value. ### HasSlug -`func (o *UserProfile) HasSlug() bool` +`func (o *UserProfileResponse) HasSlug() bool` HasSlug returns a boolean if a field has been set. ### GetSlugPerm -`func (o *UserProfile) GetSlugPerm() string` +`func (o *UserProfileResponse) GetSlugPerm() string` GetSlugPerm returns the SlugPerm field if non-nil, zero value otherwise. ### GetSlugPermOk -`func (o *UserProfile) GetSlugPermOk() (*string, bool)` +`func (o *UserProfileResponse) GetSlugPermOk() (*string, bool)` GetSlugPermOk returns a tuple with the SlugPerm field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetSlugPerm -`func (o *UserProfile) SetSlugPerm(v string)` +`func (o *UserProfileResponse) SetSlugPerm(v string)` SetSlugPerm sets SlugPerm field to given value. ### HasSlugPerm -`func (o *UserProfile) HasSlugPerm() bool` +`func (o *UserProfileResponse) HasSlugPerm() bool` HasSlugPerm returns a boolean if a field has been set. ### GetTagline -`func (o *UserProfile) GetTagline() string` +`func (o *UserProfileResponse) GetTagline() string` GetTagline returns the Tagline field if non-nil, zero value otherwise. ### GetTaglineOk -`func (o *UserProfile) GetTaglineOk() (*string, bool)` +`func (o *UserProfileResponse) GetTaglineOk() (*string, bool)` GetTaglineOk returns a tuple with the Tagline field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetTagline -`func (o *UserProfile) SetTagline(v string)` +`func (o *UserProfileResponse) SetTagline(v string)` SetTagline sets Tagline field to given value. ### HasTagline -`func (o *UserProfile) HasTagline() bool` +`func (o *UserProfileResponse) HasTagline() bool` HasTagline returns a boolean if a field has been set. +### SetTaglineNil + +`func (o *UserProfileResponse) SetTaglineNil(b bool)` + + SetTaglineNil sets the value for Tagline to be an explicit nil + +### UnsetTagline +`func (o *UserProfileResponse) UnsetTagline()` + +UnsetTagline ensures that no value is present for Tagline, not even an explicit nil ### GetUrl -`func (o *UserProfile) GetUrl() string` +`func (o *UserProfileResponse) GetUrl() string` GetUrl returns the Url field if non-nil, zero value otherwise. ### GetUrlOk -`func (o *UserProfile) GetUrlOk() (*string, bool)` +`func (o *UserProfileResponse) GetUrlOk() (*string, bool)` GetUrlOk returns a tuple with the Url field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetUrl -`func (o *UserProfile) SetUrl(v string)` +`func (o *UserProfileResponse) SetUrl(v string)` SetUrl sets Url field to given value. ### HasUrl -`func (o *UserProfile) HasUrl() bool` +`func (o *UserProfileResponse) HasUrl() bool` HasUrl returns a boolean if a field has been set. diff --git a/docs/UsersApi.md b/docs/UsersApi.md index f2166b2e..a1626bee 100644 --- a/docs/UsersApi.md +++ b/docs/UsersApi.md @@ -10,7 +10,7 @@ Method | HTTP request | Description ## UsersProfileRead -> UserProfile UsersProfileRead(ctx, slug).Execute() +> UserProfileResponse UsersProfileRead(ctx, slug).Execute() Provide a brief for the specified user (if any). @@ -38,7 +38,7 @@ func main() { fmt.Fprintf(os.Stderr, "Error when calling `UsersApi.UsersProfileRead``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } - // response from `UsersProfileRead`: UserProfile + // response from `UsersProfileRead`: UserProfileResponse fmt.Fprintf(os.Stdout, "Response from `UsersApi.UsersProfileRead`: %v\n", resp) } ``` @@ -62,7 +62,7 @@ Name | Type | Description | Notes ### Return type -[**UserProfile**](UserProfile.md) +[**UserProfileResponse**](UserProfileResponse.md) ### Authorization @@ -71,7 +71,7 @@ Name | Type | Description | Notes ### HTTP request headers - **Content-Type**: Not defined -- **Accept**: */* +- **Accept**: application/json [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) diff --git a/docs/PackagesUploadVagrant.md b/docs/VagrantPackageUploadRequest.md similarity index 60% rename from docs/PackagesUploadVagrant.md rename to docs/VagrantPackageUploadRequest.md index 6fbd1cd5..bc287ba8 100644 --- a/docs/PackagesUploadVagrant.md +++ b/docs/VagrantPackageUploadRequest.md @@ -1,4 +1,4 @@ -# PackagesUploadVagrant +# VagrantPackageUploadRequest ## Properties @@ -8,154 +8,164 @@ Name | Type | Description | Notes **PackageFile** | **string** | The primary file for the package. | **Provider** | **string** | The virtual machine provider for the box. | **Republish** | Pointer to **bool** | If true, the uploaded package will overwrite any others with the same attributes (e.g. same version); otherwise, it will be flagged as a duplicate. | [optional] -**Tags** | Pointer to **string** | A comma-separated values list of tags to add to the package. | [optional] +**Tags** | Pointer to **NullableString** | A comma-separated values list of tags to add to the package. | [optional] **Version** | **string** | The raw version for this package. | ## Methods -### NewPackagesUploadVagrant +### NewVagrantPackageUploadRequest -`func NewPackagesUploadVagrant(name string, packageFile string, provider string, version string, ) *PackagesUploadVagrant` +`func NewVagrantPackageUploadRequest(name string, packageFile string, provider string, version string, ) *VagrantPackageUploadRequest` -NewPackagesUploadVagrant instantiates a new PackagesUploadVagrant object +NewVagrantPackageUploadRequest instantiates a new VagrantPackageUploadRequest object 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 -### NewPackagesUploadVagrantWithDefaults +### NewVagrantPackageUploadRequestWithDefaults -`func NewPackagesUploadVagrantWithDefaults() *PackagesUploadVagrant` +`func NewVagrantPackageUploadRequestWithDefaults() *VagrantPackageUploadRequest` -NewPackagesUploadVagrantWithDefaults instantiates a new PackagesUploadVagrant object +NewVagrantPackageUploadRequestWithDefaults instantiates a new VagrantPackageUploadRequest object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set ### GetName -`func (o *PackagesUploadVagrant) GetName() string` +`func (o *VagrantPackageUploadRequest) GetName() string` GetName returns the Name field if non-nil, zero value otherwise. ### GetNameOk -`func (o *PackagesUploadVagrant) GetNameOk() (*string, bool)` +`func (o *VagrantPackageUploadRequest) GetNameOk() (*string, bool)` 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. ### SetName -`func (o *PackagesUploadVagrant) SetName(v string)` +`func (o *VagrantPackageUploadRequest) SetName(v string)` SetName sets Name field to given value. ### GetPackageFile -`func (o *PackagesUploadVagrant) GetPackageFile() string` +`func (o *VagrantPackageUploadRequest) GetPackageFile() string` GetPackageFile returns the PackageFile field if non-nil, zero value otherwise. ### GetPackageFileOk -`func (o *PackagesUploadVagrant) GetPackageFileOk() (*string, bool)` +`func (o *VagrantPackageUploadRequest) GetPackageFileOk() (*string, bool)` GetPackageFileOk returns a tuple with the PackageFile field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetPackageFile -`func (o *PackagesUploadVagrant) SetPackageFile(v string)` +`func (o *VagrantPackageUploadRequest) SetPackageFile(v string)` SetPackageFile sets PackageFile field to given value. ### GetProvider -`func (o *PackagesUploadVagrant) GetProvider() string` +`func (o *VagrantPackageUploadRequest) GetProvider() string` GetProvider returns the Provider field if non-nil, zero value otherwise. ### GetProviderOk -`func (o *PackagesUploadVagrant) GetProviderOk() (*string, bool)` +`func (o *VagrantPackageUploadRequest) GetProviderOk() (*string, bool)` GetProviderOk returns a tuple with the Provider field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetProvider -`func (o *PackagesUploadVagrant) SetProvider(v string)` +`func (o *VagrantPackageUploadRequest) SetProvider(v string)` SetProvider sets Provider field to given value. ### GetRepublish -`func (o *PackagesUploadVagrant) GetRepublish() bool` +`func (o *VagrantPackageUploadRequest) GetRepublish() bool` GetRepublish returns the Republish field if non-nil, zero value otherwise. ### GetRepublishOk -`func (o *PackagesUploadVagrant) GetRepublishOk() (*bool, bool)` +`func (o *VagrantPackageUploadRequest) GetRepublishOk() (*bool, bool)` GetRepublishOk returns a tuple with the Republish field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetRepublish -`func (o *PackagesUploadVagrant) SetRepublish(v bool)` +`func (o *VagrantPackageUploadRequest) SetRepublish(v bool)` SetRepublish sets Republish field to given value. ### HasRepublish -`func (o *PackagesUploadVagrant) HasRepublish() bool` +`func (o *VagrantPackageUploadRequest) HasRepublish() bool` HasRepublish returns a boolean if a field has been set. ### GetTags -`func (o *PackagesUploadVagrant) GetTags() string` +`func (o *VagrantPackageUploadRequest) GetTags() string` GetTags returns the Tags field if non-nil, zero value otherwise. ### GetTagsOk -`func (o *PackagesUploadVagrant) GetTagsOk() (*string, bool)` +`func (o *VagrantPackageUploadRequest) GetTagsOk() (*string, bool)` GetTagsOk returns a tuple with the Tags field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetTags -`func (o *PackagesUploadVagrant) SetTags(v string)` +`func (o *VagrantPackageUploadRequest) SetTags(v string)` SetTags sets Tags field to given value. ### HasTags -`func (o *PackagesUploadVagrant) HasTags() bool` +`func (o *VagrantPackageUploadRequest) HasTags() bool` HasTags returns a boolean if a field has been set. +### SetTagsNil + +`func (o *VagrantPackageUploadRequest) SetTagsNil(b bool)` + + SetTagsNil sets the value for Tags to be an explicit nil + +### UnsetTags +`func (o *VagrantPackageUploadRequest) UnsetTags()` + +UnsetTags ensures that no value is present for Tags, not even an explicit nil ### GetVersion -`func (o *PackagesUploadVagrant) GetVersion() string` +`func (o *VagrantPackageUploadRequest) GetVersion() string` GetVersion returns the Version field if non-nil, zero value otherwise. ### GetVersionOk -`func (o *PackagesUploadVagrant) GetVersionOk() (*string, bool)` +`func (o *VagrantPackageUploadRequest) GetVersionOk() (*string, bool)` GetVersionOk returns a tuple with the Version field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetVersion -`func (o *PackagesUploadVagrant) SetVersion(v string)` +`func (o *VagrantPackageUploadRequest) SetVersion(v string)` SetVersion sets Version field to given value. diff --git a/docs/VagrantPackageUpload.md b/docs/VagrantPackageUploadResponse.md similarity index 54% rename from docs/VagrantPackageUpload.md rename to docs/VagrantPackageUploadResponse.md index cd73fb60..18f53da1 100644 --- a/docs/VagrantPackageUpload.md +++ b/docs/VagrantPackageUploadResponse.md @@ -1,1753 +1,1845 @@ -# VagrantPackageUpload +# VagrantPackageUploadResponse ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**Architectures** | Pointer to [**[]PackagesOwnerRepoArchitectures**](PackagesOwnerRepoArchitectures.md) | | [optional] -**CdnUrl** | Pointer to **string** | | [optional] -**ChecksumMd5** | Pointer to **string** | | [optional] -**ChecksumSha1** | Pointer to **string** | | [optional] -**ChecksumSha256** | Pointer to **string** | | [optional] -**ChecksumSha512** | Pointer to **string** | | [optional] -**DependenciesChecksumMd5** | Pointer to **string** | A checksum of all of the package's dependencies. | [optional] -**DependenciesUrl** | Pointer to **string** | | [optional] -**Description** | Pointer to **string** | A textual description of this package. | [optional] -**Distro** | Pointer to **map[string]interface{}** | | [optional] -**DistroVersion** | Pointer to **map[string]interface{}** | | [optional] -**Downloads** | Pointer to **int64** | | [optional] -**Epoch** | Pointer to **int64** | The epoch of the package version (if any). | [optional] -**Extension** | Pointer to **string** | | [optional] -**Filename** | Pointer to **string** | | [optional] -**Files** | Pointer to [**[]PackagesOwnerRepoFiles**](PackagesOwnerRepoFiles.md) | | [optional] -**Format** | Pointer to **string** | | [optional] -**FormatUrl** | Pointer to **string** | | [optional] -**IdentifierPerm** | Pointer to **string** | Unique and permanent identifier for the package. | [optional] -**Indexed** | Pointer to **bool** | | [optional] -**IsDownloadable** | Pointer to **bool** | | [optional] -**IsQuarantined** | Pointer to **bool** | | [optional] -**IsSyncAwaiting** | Pointer to **bool** | | [optional] -**IsSyncCompleted** | Pointer to **bool** | | [optional] -**IsSyncFailed** | Pointer to **bool** | | [optional] -**IsSyncInFlight** | Pointer to **bool** | | [optional] -**IsSyncInProgress** | Pointer to **bool** | | [optional] -**License** | Pointer to **string** | The license of this package. | [optional] +**Architectures** | Pointer to [**[]Architecture**](Architecture.md) | | [optional] [readonly] +**CdnUrl** | Pointer to **NullableString** | | [optional] [readonly] +**ChecksumMd5** | Pointer to **string** | | [optional] [readonly] +**ChecksumSha1** | Pointer to **string** | | [optional] [readonly] +**ChecksumSha256** | Pointer to **string** | | [optional] [readonly] +**ChecksumSha512** | Pointer to **string** | | [optional] [readonly] +**DependenciesChecksumMd5** | Pointer to **string** | A checksum of all of the package's dependencies. | [optional] [readonly] +**DependenciesUrl** | Pointer to **string** | | [optional] [readonly] +**Description** | Pointer to **string** | A textual description of this package. | [optional] [readonly] +**Distro** | Pointer to [**NullableDistribution**](Distribution.md) | | [optional] +**DistroVersion** | Pointer to [**DistributionVersion**](DistributionVersion.md) | | [optional] +**Downloads** | Pointer to **int64** | | [optional] [readonly] +**Epoch** | Pointer to **int64** | The epoch of the package version (if any). | [optional] [readonly] +**Extension** | Pointer to **string** | | [optional] [readonly] +**Filename** | Pointer to **string** | | [optional] [readonly] +**Files** | Pointer to [**[]PackageFile**](PackageFile.md) | | [optional] [readonly] +**Format** | Pointer to **string** | | [optional] [readonly] +**FormatUrl** | Pointer to **string** | | [optional] [readonly] +**IdentifierPerm** | Pointer to **string** | Unique and permanent identifier for the package. | [optional] [readonly] +**Indexed** | Pointer to **bool** | | [optional] [readonly] +**IsDownloadable** | Pointer to **bool** | | [optional] [readonly] +**IsQuarantined** | Pointer to **bool** | | [optional] [readonly] +**IsSyncAwaiting** | Pointer to **bool** | | [optional] [readonly] +**IsSyncCompleted** | Pointer to **bool** | | [optional] [readonly] +**IsSyncFailed** | Pointer to **bool** | | [optional] [readonly] +**IsSyncInFlight** | Pointer to **bool** | | [optional] [readonly] +**IsSyncInProgress** | Pointer to **bool** | | [optional] [readonly] +**License** | Pointer to **string** | The license of this package. | [optional] [readonly] **Name** | **string** | The name of this package. | -**Namespace** | Pointer to **string** | | [optional] -**NamespaceUrl** | Pointer to **string** | | [optional] -**NumFiles** | Pointer to **int64** | | [optional] -**PackageType** | Pointer to **int64** | The type of package contents. | [optional] +**Namespace** | Pointer to **string** | | [optional] [readonly] +**NamespaceUrl** | Pointer to **string** | | [optional] [readonly] +**NumFiles** | Pointer to **int64** | | [optional] [readonly] +**OriginRepository** | Pointer to **string** | | [optional] [readonly] +**OriginRepositoryUrl** | Pointer to **string** | | [optional] [readonly] +**PackageType** | Pointer to **int64** | The type of package contents. | [optional] [readonly] **Provider** | **string** | The virtual machine provider for the box. | -**Release** | Pointer to **string** | The release of the package version (if any). | [optional] -**Repository** | Pointer to **string** | | [optional] -**RepositoryUrl** | Pointer to **string** | | [optional] -**SecurityScanCompletedAt** | Pointer to **string** | The datetime the security scanning was completed. | [optional] -**SecurityScanStartedAt** | Pointer to **string** | The datetime the security scanning was started. | [optional] -**SecurityScanStatus** | Pointer to **string** | | [optional] -**SecurityScanStatusUpdatedAt** | Pointer to **string** | The datetime the security scanning status was updated. | [optional] -**SelfHtmlUrl** | Pointer to **string** | | [optional] -**SelfUrl** | Pointer to **string** | | [optional] -**SignatureUrl** | Pointer to **string** | | [optional] -**Size** | Pointer to **int64** | The calculated size of the package. | [optional] -**Slug** | Pointer to **string** | The public unique identifier for the package. | [optional] -**SlugPerm** | Pointer to **string** | | [optional] -**Stage** | Pointer to **int64** | The synchronisation (in progress) stage of the package. | [optional] -**StageStr** | Pointer to **string** | | [optional] -**StageUpdatedAt** | Pointer to **string** | The datetime the package stage was updated at. | [optional] -**Status** | Pointer to **int64** | The synchronisation status of the package. | [optional] -**StatusReason** | Pointer to **string** | A textual description for the synchronous status reason (if any | [optional] -**StatusStr** | Pointer to **string** | | [optional] -**StatusUpdatedAt** | Pointer to **string** | The datetime the package status was updated at. | [optional] -**StatusUrl** | Pointer to **string** | | [optional] -**Subtype** | Pointer to **string** | | [optional] -**Summary** | Pointer to **string** | A one-liner synopsis of this package. | [optional] -**SyncFinishedAt** | Pointer to **string** | The datetime the package sync was finished at. | [optional] -**SyncProgress** | Pointer to **int64** | Synchronisation progress (from 0-100) | [optional] -**TagsImmutable** | Pointer to **map[string]interface{}** | All immutable tags on the package, grouped by tag type. Immutable tags cannot be (easily) deleted. | [optional] -**TypeDisplay** | Pointer to **string** | | [optional] -**UploadedAt** | Pointer to **string** | The date this package was uploaded. | [optional] -**Uploader** | Pointer to **string** | | [optional] -**UploaderUrl** | Pointer to **string** | | [optional] +**Release** | Pointer to **string** | The release of the package version (if any). | [optional] [readonly] +**Repository** | Pointer to **string** | | [optional] [readonly] +**RepositoryUrl** | Pointer to **string** | | [optional] [readonly] +**SecurityScanCompletedAt** | Pointer to **time.Time** | The datetime the security scanning was completed. | [optional] [readonly] +**SecurityScanStartedAt** | Pointer to **time.Time** | The datetime the security scanning was started. | [optional] [readonly] +**SecurityScanStatus** | Pointer to **NullableString** | | [optional] [readonly] [default to "Awaiting Security Scan"] +**SecurityScanStatusUpdatedAt** | Pointer to **time.Time** | The datetime the security scanning status was updated. | [optional] [readonly] +**SelfHtmlUrl** | Pointer to **string** | | [optional] [readonly] +**SelfUrl** | Pointer to **string** | | [optional] [readonly] +**SignatureUrl** | Pointer to **NullableString** | | [optional] [readonly] +**Size** | Pointer to **int64** | The calculated size of the package. | [optional] [readonly] +**Slug** | Pointer to **string** | The public unique identifier for the package. | [optional] [readonly] +**SlugPerm** | Pointer to **string** | | [optional] [readonly] +**Stage** | Pointer to **int64** | The synchronisation (in progress) stage of the package. | [optional] [readonly] +**StageStr** | Pointer to **string** | | [optional] [readonly] +**StageUpdatedAt** | Pointer to **time.Time** | The datetime the package stage was updated at. | [optional] [readonly] +**Status** | Pointer to **int64** | The synchronisation status of the package. | [optional] [readonly] +**StatusReason** | Pointer to **string** | A textual description for the synchronous status reason (if any | [optional] [readonly] +**StatusStr** | Pointer to **string** | | [optional] [readonly] +**StatusUpdatedAt** | Pointer to **time.Time** | The datetime the package status was updated at. | [optional] [readonly] +**StatusUrl** | Pointer to **string** | | [optional] [readonly] +**Subtype** | Pointer to **string** | | [optional] [readonly] +**Summary** | Pointer to **string** | A one-liner synopsis of this package. | [optional] [readonly] +**SyncFinishedAt** | Pointer to **time.Time** | The datetime the package sync was finished at. | [optional] [readonly] +**SyncProgress** | Pointer to **int64** | Synchronisation progress (from 0-100) | [optional] [readonly] +**TagsImmutable** | Pointer to **map[string]interface{}** | All tags on the package, grouped by tag type. This includes immutable tags, but doesn't distinguish them from mutable. To see which tags are immutable specifically, see the tags_immutable field. | [optional] +**TypeDisplay** | Pointer to **string** | | [optional] [readonly] +**UploadedAt** | Pointer to **time.Time** | The date this package was uploaded. | [optional] [readonly] +**Uploader** | Pointer to **string** | | [optional] [readonly] +**UploaderUrl** | Pointer to **string** | | [optional] [readonly] **Version** | **string** | The raw version for this package. | -**VersionOrig** | Pointer to **string** | | [optional] -**VulnerabilityScanResultsUrl** | Pointer to **string** | | [optional] +**VersionOrig** | Pointer to **string** | | [optional] [readonly] +**VulnerabilityScanResultsUrl** | Pointer to **string** | | [optional] [readonly] ## Methods -### NewVagrantPackageUpload +### NewVagrantPackageUploadResponse -`func NewVagrantPackageUpload(name string, provider string, version string, ) *VagrantPackageUpload` +`func NewVagrantPackageUploadResponse(name string, provider string, version string, ) *VagrantPackageUploadResponse` -NewVagrantPackageUpload instantiates a new VagrantPackageUpload object +NewVagrantPackageUploadResponse instantiates a new VagrantPackageUploadResponse object 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 -### NewVagrantPackageUploadWithDefaults +### NewVagrantPackageUploadResponseWithDefaults -`func NewVagrantPackageUploadWithDefaults() *VagrantPackageUpload` +`func NewVagrantPackageUploadResponseWithDefaults() *VagrantPackageUploadResponse` -NewVagrantPackageUploadWithDefaults instantiates a new VagrantPackageUpload object +NewVagrantPackageUploadResponseWithDefaults instantiates a new VagrantPackageUploadResponse object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set ### GetArchitectures -`func (o *VagrantPackageUpload) GetArchitectures() []PackagesOwnerRepoArchitectures` +`func (o *VagrantPackageUploadResponse) GetArchitectures() []Architecture` GetArchitectures returns the Architectures field if non-nil, zero value otherwise. ### GetArchitecturesOk -`func (o *VagrantPackageUpload) GetArchitecturesOk() (*[]PackagesOwnerRepoArchitectures, bool)` +`func (o *VagrantPackageUploadResponse) GetArchitecturesOk() (*[]Architecture, bool)` GetArchitecturesOk returns a tuple with the Architectures field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetArchitectures -`func (o *VagrantPackageUpload) SetArchitectures(v []PackagesOwnerRepoArchitectures)` +`func (o *VagrantPackageUploadResponse) SetArchitectures(v []Architecture)` SetArchitectures sets Architectures field to given value. ### HasArchitectures -`func (o *VagrantPackageUpload) HasArchitectures() bool` +`func (o *VagrantPackageUploadResponse) HasArchitectures() bool` HasArchitectures returns a boolean if a field has been set. ### GetCdnUrl -`func (o *VagrantPackageUpload) GetCdnUrl() string` +`func (o *VagrantPackageUploadResponse) GetCdnUrl() string` GetCdnUrl returns the CdnUrl field if non-nil, zero value otherwise. ### GetCdnUrlOk -`func (o *VagrantPackageUpload) GetCdnUrlOk() (*string, bool)` +`func (o *VagrantPackageUploadResponse) GetCdnUrlOk() (*string, bool)` GetCdnUrlOk returns a tuple with the CdnUrl field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetCdnUrl -`func (o *VagrantPackageUpload) SetCdnUrl(v string)` +`func (o *VagrantPackageUploadResponse) SetCdnUrl(v string)` SetCdnUrl sets CdnUrl field to given value. ### HasCdnUrl -`func (o *VagrantPackageUpload) HasCdnUrl() bool` +`func (o *VagrantPackageUploadResponse) HasCdnUrl() bool` HasCdnUrl returns a boolean if a field has been set. +### SetCdnUrlNil + +`func (o *VagrantPackageUploadResponse) SetCdnUrlNil(b bool)` + + SetCdnUrlNil sets the value for CdnUrl to be an explicit nil + +### UnsetCdnUrl +`func (o *VagrantPackageUploadResponse) UnsetCdnUrl()` + +UnsetCdnUrl ensures that no value is present for CdnUrl, not even an explicit nil ### GetChecksumMd5 -`func (o *VagrantPackageUpload) GetChecksumMd5() string` +`func (o *VagrantPackageUploadResponse) GetChecksumMd5() string` GetChecksumMd5 returns the ChecksumMd5 field if non-nil, zero value otherwise. ### GetChecksumMd5Ok -`func (o *VagrantPackageUpload) GetChecksumMd5Ok() (*string, bool)` +`func (o *VagrantPackageUploadResponse) GetChecksumMd5Ok() (*string, bool)` GetChecksumMd5Ok returns a tuple with the ChecksumMd5 field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetChecksumMd5 -`func (o *VagrantPackageUpload) SetChecksumMd5(v string)` +`func (o *VagrantPackageUploadResponse) SetChecksumMd5(v string)` SetChecksumMd5 sets ChecksumMd5 field to given value. ### HasChecksumMd5 -`func (o *VagrantPackageUpload) HasChecksumMd5() bool` +`func (o *VagrantPackageUploadResponse) HasChecksumMd5() bool` HasChecksumMd5 returns a boolean if a field has been set. ### GetChecksumSha1 -`func (o *VagrantPackageUpload) GetChecksumSha1() string` +`func (o *VagrantPackageUploadResponse) GetChecksumSha1() string` GetChecksumSha1 returns the ChecksumSha1 field if non-nil, zero value otherwise. ### GetChecksumSha1Ok -`func (o *VagrantPackageUpload) GetChecksumSha1Ok() (*string, bool)` +`func (o *VagrantPackageUploadResponse) GetChecksumSha1Ok() (*string, bool)` GetChecksumSha1Ok returns a tuple with the ChecksumSha1 field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetChecksumSha1 -`func (o *VagrantPackageUpload) SetChecksumSha1(v string)` +`func (o *VagrantPackageUploadResponse) SetChecksumSha1(v string)` SetChecksumSha1 sets ChecksumSha1 field to given value. ### HasChecksumSha1 -`func (o *VagrantPackageUpload) HasChecksumSha1() bool` +`func (o *VagrantPackageUploadResponse) HasChecksumSha1() bool` HasChecksumSha1 returns a boolean if a field has been set. ### GetChecksumSha256 -`func (o *VagrantPackageUpload) GetChecksumSha256() string` +`func (o *VagrantPackageUploadResponse) GetChecksumSha256() string` GetChecksumSha256 returns the ChecksumSha256 field if non-nil, zero value otherwise. ### GetChecksumSha256Ok -`func (o *VagrantPackageUpload) GetChecksumSha256Ok() (*string, bool)` +`func (o *VagrantPackageUploadResponse) GetChecksumSha256Ok() (*string, bool)` GetChecksumSha256Ok returns a tuple with the ChecksumSha256 field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetChecksumSha256 -`func (o *VagrantPackageUpload) SetChecksumSha256(v string)` +`func (o *VagrantPackageUploadResponse) SetChecksumSha256(v string)` SetChecksumSha256 sets ChecksumSha256 field to given value. ### HasChecksumSha256 -`func (o *VagrantPackageUpload) HasChecksumSha256() bool` +`func (o *VagrantPackageUploadResponse) HasChecksumSha256() bool` HasChecksumSha256 returns a boolean if a field has been set. ### GetChecksumSha512 -`func (o *VagrantPackageUpload) GetChecksumSha512() string` +`func (o *VagrantPackageUploadResponse) GetChecksumSha512() string` GetChecksumSha512 returns the ChecksumSha512 field if non-nil, zero value otherwise. ### GetChecksumSha512Ok -`func (o *VagrantPackageUpload) GetChecksumSha512Ok() (*string, bool)` +`func (o *VagrantPackageUploadResponse) GetChecksumSha512Ok() (*string, bool)` GetChecksumSha512Ok returns a tuple with the ChecksumSha512 field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetChecksumSha512 -`func (o *VagrantPackageUpload) SetChecksumSha512(v string)` +`func (o *VagrantPackageUploadResponse) SetChecksumSha512(v string)` SetChecksumSha512 sets ChecksumSha512 field to given value. ### HasChecksumSha512 -`func (o *VagrantPackageUpload) HasChecksumSha512() bool` +`func (o *VagrantPackageUploadResponse) HasChecksumSha512() bool` HasChecksumSha512 returns a boolean if a field has been set. ### GetDependenciesChecksumMd5 -`func (o *VagrantPackageUpload) GetDependenciesChecksumMd5() string` +`func (o *VagrantPackageUploadResponse) GetDependenciesChecksumMd5() string` GetDependenciesChecksumMd5 returns the DependenciesChecksumMd5 field if non-nil, zero value otherwise. ### GetDependenciesChecksumMd5Ok -`func (o *VagrantPackageUpload) GetDependenciesChecksumMd5Ok() (*string, bool)` +`func (o *VagrantPackageUploadResponse) GetDependenciesChecksumMd5Ok() (*string, bool)` GetDependenciesChecksumMd5Ok returns a tuple with the DependenciesChecksumMd5 field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetDependenciesChecksumMd5 -`func (o *VagrantPackageUpload) SetDependenciesChecksumMd5(v string)` +`func (o *VagrantPackageUploadResponse) SetDependenciesChecksumMd5(v string)` SetDependenciesChecksumMd5 sets DependenciesChecksumMd5 field to given value. ### HasDependenciesChecksumMd5 -`func (o *VagrantPackageUpload) HasDependenciesChecksumMd5() bool` +`func (o *VagrantPackageUploadResponse) HasDependenciesChecksumMd5() bool` HasDependenciesChecksumMd5 returns a boolean if a field has been set. ### GetDependenciesUrl -`func (o *VagrantPackageUpload) GetDependenciesUrl() string` +`func (o *VagrantPackageUploadResponse) GetDependenciesUrl() string` GetDependenciesUrl returns the DependenciesUrl field if non-nil, zero value otherwise. ### GetDependenciesUrlOk -`func (o *VagrantPackageUpload) GetDependenciesUrlOk() (*string, bool)` +`func (o *VagrantPackageUploadResponse) GetDependenciesUrlOk() (*string, bool)` GetDependenciesUrlOk returns a tuple with the DependenciesUrl field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetDependenciesUrl -`func (o *VagrantPackageUpload) SetDependenciesUrl(v string)` +`func (o *VagrantPackageUploadResponse) SetDependenciesUrl(v string)` SetDependenciesUrl sets DependenciesUrl field to given value. ### HasDependenciesUrl -`func (o *VagrantPackageUpload) HasDependenciesUrl() bool` +`func (o *VagrantPackageUploadResponse) HasDependenciesUrl() bool` HasDependenciesUrl returns a boolean if a field has been set. ### GetDescription -`func (o *VagrantPackageUpload) GetDescription() string` +`func (o *VagrantPackageUploadResponse) GetDescription() string` GetDescription returns the Description field if non-nil, zero value otherwise. ### GetDescriptionOk -`func (o *VagrantPackageUpload) GetDescriptionOk() (*string, bool)` +`func (o *VagrantPackageUploadResponse) GetDescriptionOk() (*string, bool)` GetDescriptionOk returns a tuple with the Description field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetDescription -`func (o *VagrantPackageUpload) SetDescription(v string)` +`func (o *VagrantPackageUploadResponse) SetDescription(v string)` SetDescription sets Description field to given value. ### HasDescription -`func (o *VagrantPackageUpload) HasDescription() bool` +`func (o *VagrantPackageUploadResponse) HasDescription() bool` HasDescription returns a boolean if a field has been set. ### GetDistro -`func (o *VagrantPackageUpload) GetDistro() map[string]interface{}` +`func (o *VagrantPackageUploadResponse) GetDistro() Distribution` GetDistro returns the Distro field if non-nil, zero value otherwise. ### GetDistroOk -`func (o *VagrantPackageUpload) GetDistroOk() (*map[string]interface{}, bool)` +`func (o *VagrantPackageUploadResponse) GetDistroOk() (*Distribution, bool)` GetDistroOk returns a tuple with the Distro field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetDistro -`func (o *VagrantPackageUpload) SetDistro(v map[string]interface{})` +`func (o *VagrantPackageUploadResponse) SetDistro(v Distribution)` SetDistro sets Distro field to given value. ### HasDistro -`func (o *VagrantPackageUpload) HasDistro() bool` +`func (o *VagrantPackageUploadResponse) HasDistro() bool` HasDistro returns a boolean if a field has been set. +### SetDistroNil + +`func (o *VagrantPackageUploadResponse) SetDistroNil(b bool)` + + SetDistroNil sets the value for Distro to be an explicit nil + +### UnsetDistro +`func (o *VagrantPackageUploadResponse) UnsetDistro()` + +UnsetDistro ensures that no value is present for Distro, not even an explicit nil ### GetDistroVersion -`func (o *VagrantPackageUpload) GetDistroVersion() map[string]interface{}` +`func (o *VagrantPackageUploadResponse) GetDistroVersion() DistributionVersion` GetDistroVersion returns the DistroVersion field if non-nil, zero value otherwise. ### GetDistroVersionOk -`func (o *VagrantPackageUpload) GetDistroVersionOk() (*map[string]interface{}, bool)` +`func (o *VagrantPackageUploadResponse) GetDistroVersionOk() (*DistributionVersion, bool)` GetDistroVersionOk returns a tuple with the DistroVersion field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetDistroVersion -`func (o *VagrantPackageUpload) SetDistroVersion(v map[string]interface{})` +`func (o *VagrantPackageUploadResponse) SetDistroVersion(v DistributionVersion)` SetDistroVersion sets DistroVersion field to given value. ### HasDistroVersion -`func (o *VagrantPackageUpload) HasDistroVersion() bool` +`func (o *VagrantPackageUploadResponse) HasDistroVersion() bool` HasDistroVersion returns a boolean if a field has been set. ### GetDownloads -`func (o *VagrantPackageUpload) GetDownloads() int64` +`func (o *VagrantPackageUploadResponse) GetDownloads() int64` GetDownloads returns the Downloads field if non-nil, zero value otherwise. ### GetDownloadsOk -`func (o *VagrantPackageUpload) GetDownloadsOk() (*int64, bool)` +`func (o *VagrantPackageUploadResponse) GetDownloadsOk() (*int64, bool)` GetDownloadsOk returns a tuple with the Downloads field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetDownloads -`func (o *VagrantPackageUpload) SetDownloads(v int64)` +`func (o *VagrantPackageUploadResponse) SetDownloads(v int64)` SetDownloads sets Downloads field to given value. ### HasDownloads -`func (o *VagrantPackageUpload) HasDownloads() bool` +`func (o *VagrantPackageUploadResponse) HasDownloads() bool` HasDownloads returns a boolean if a field has been set. ### GetEpoch -`func (o *VagrantPackageUpload) GetEpoch() int64` +`func (o *VagrantPackageUploadResponse) GetEpoch() int64` GetEpoch returns the Epoch field if non-nil, zero value otherwise. ### GetEpochOk -`func (o *VagrantPackageUpload) GetEpochOk() (*int64, bool)` +`func (o *VagrantPackageUploadResponse) GetEpochOk() (*int64, bool)` GetEpochOk returns a tuple with the Epoch field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetEpoch -`func (o *VagrantPackageUpload) SetEpoch(v int64)` +`func (o *VagrantPackageUploadResponse) SetEpoch(v int64)` SetEpoch sets Epoch field to given value. ### HasEpoch -`func (o *VagrantPackageUpload) HasEpoch() bool` +`func (o *VagrantPackageUploadResponse) HasEpoch() bool` HasEpoch returns a boolean if a field has been set. ### GetExtension -`func (o *VagrantPackageUpload) GetExtension() string` +`func (o *VagrantPackageUploadResponse) GetExtension() string` GetExtension returns the Extension field if non-nil, zero value otherwise. ### GetExtensionOk -`func (o *VagrantPackageUpload) GetExtensionOk() (*string, bool)` +`func (o *VagrantPackageUploadResponse) GetExtensionOk() (*string, bool)` GetExtensionOk returns a tuple with the Extension field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetExtension -`func (o *VagrantPackageUpload) SetExtension(v string)` +`func (o *VagrantPackageUploadResponse) SetExtension(v string)` SetExtension sets Extension field to given value. ### HasExtension -`func (o *VagrantPackageUpload) HasExtension() bool` +`func (o *VagrantPackageUploadResponse) HasExtension() bool` HasExtension returns a boolean if a field has been set. ### GetFilename -`func (o *VagrantPackageUpload) GetFilename() string` +`func (o *VagrantPackageUploadResponse) GetFilename() string` GetFilename returns the Filename field if non-nil, zero value otherwise. ### GetFilenameOk -`func (o *VagrantPackageUpload) GetFilenameOk() (*string, bool)` +`func (o *VagrantPackageUploadResponse) GetFilenameOk() (*string, bool)` GetFilenameOk returns a tuple with the Filename field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetFilename -`func (o *VagrantPackageUpload) SetFilename(v string)` +`func (o *VagrantPackageUploadResponse) SetFilename(v string)` SetFilename sets Filename field to given value. ### HasFilename -`func (o *VagrantPackageUpload) HasFilename() bool` +`func (o *VagrantPackageUploadResponse) HasFilename() bool` HasFilename returns a boolean if a field has been set. ### GetFiles -`func (o *VagrantPackageUpload) GetFiles() []PackagesOwnerRepoFiles` +`func (o *VagrantPackageUploadResponse) GetFiles() []PackageFile` GetFiles returns the Files field if non-nil, zero value otherwise. ### GetFilesOk -`func (o *VagrantPackageUpload) GetFilesOk() (*[]PackagesOwnerRepoFiles, bool)` +`func (o *VagrantPackageUploadResponse) GetFilesOk() (*[]PackageFile, 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 *VagrantPackageUpload) SetFiles(v []PackagesOwnerRepoFiles)` +`func (o *VagrantPackageUploadResponse) SetFiles(v []PackageFile)` SetFiles sets Files field to given value. ### HasFiles -`func (o *VagrantPackageUpload) HasFiles() bool` +`func (o *VagrantPackageUploadResponse) HasFiles() bool` HasFiles returns a boolean if a field has been set. ### GetFormat -`func (o *VagrantPackageUpload) GetFormat() string` +`func (o *VagrantPackageUploadResponse) GetFormat() string` GetFormat returns the Format field if non-nil, zero value otherwise. ### GetFormatOk -`func (o *VagrantPackageUpload) GetFormatOk() (*string, bool)` +`func (o *VagrantPackageUploadResponse) GetFormatOk() (*string, bool)` GetFormatOk returns a tuple with the Format field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetFormat -`func (o *VagrantPackageUpload) SetFormat(v string)` +`func (o *VagrantPackageUploadResponse) SetFormat(v string)` SetFormat sets Format field to given value. ### HasFormat -`func (o *VagrantPackageUpload) HasFormat() bool` +`func (o *VagrantPackageUploadResponse) HasFormat() bool` HasFormat returns a boolean if a field has been set. ### GetFormatUrl -`func (o *VagrantPackageUpload) GetFormatUrl() string` +`func (o *VagrantPackageUploadResponse) GetFormatUrl() string` GetFormatUrl returns the FormatUrl field if non-nil, zero value otherwise. ### GetFormatUrlOk -`func (o *VagrantPackageUpload) GetFormatUrlOk() (*string, bool)` +`func (o *VagrantPackageUploadResponse) GetFormatUrlOk() (*string, bool)` GetFormatUrlOk returns a tuple with the FormatUrl field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetFormatUrl -`func (o *VagrantPackageUpload) SetFormatUrl(v string)` +`func (o *VagrantPackageUploadResponse) SetFormatUrl(v string)` SetFormatUrl sets FormatUrl field to given value. ### HasFormatUrl -`func (o *VagrantPackageUpload) HasFormatUrl() bool` +`func (o *VagrantPackageUploadResponse) HasFormatUrl() bool` HasFormatUrl returns a boolean if a field has been set. ### GetIdentifierPerm -`func (o *VagrantPackageUpload) GetIdentifierPerm() string` +`func (o *VagrantPackageUploadResponse) GetIdentifierPerm() string` GetIdentifierPerm returns the IdentifierPerm field if non-nil, zero value otherwise. ### GetIdentifierPermOk -`func (o *VagrantPackageUpload) GetIdentifierPermOk() (*string, bool)` +`func (o *VagrantPackageUploadResponse) GetIdentifierPermOk() (*string, bool)` GetIdentifierPermOk returns a tuple with the IdentifierPerm field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetIdentifierPerm -`func (o *VagrantPackageUpload) SetIdentifierPerm(v string)` +`func (o *VagrantPackageUploadResponse) SetIdentifierPerm(v string)` SetIdentifierPerm sets IdentifierPerm field to given value. ### HasIdentifierPerm -`func (o *VagrantPackageUpload) HasIdentifierPerm() bool` +`func (o *VagrantPackageUploadResponse) HasIdentifierPerm() bool` HasIdentifierPerm returns a boolean if a field has been set. ### GetIndexed -`func (o *VagrantPackageUpload) GetIndexed() bool` +`func (o *VagrantPackageUploadResponse) GetIndexed() bool` GetIndexed returns the Indexed field if non-nil, zero value otherwise. ### GetIndexedOk -`func (o *VagrantPackageUpload) GetIndexedOk() (*bool, bool)` +`func (o *VagrantPackageUploadResponse) GetIndexedOk() (*bool, bool)` GetIndexedOk returns a tuple with the Indexed field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetIndexed -`func (o *VagrantPackageUpload) SetIndexed(v bool)` +`func (o *VagrantPackageUploadResponse) SetIndexed(v bool)` SetIndexed sets Indexed field to given value. ### HasIndexed -`func (o *VagrantPackageUpload) HasIndexed() bool` +`func (o *VagrantPackageUploadResponse) HasIndexed() bool` HasIndexed returns a boolean if a field has been set. ### GetIsDownloadable -`func (o *VagrantPackageUpload) GetIsDownloadable() bool` +`func (o *VagrantPackageUploadResponse) GetIsDownloadable() bool` GetIsDownloadable returns the IsDownloadable field if non-nil, zero value otherwise. ### GetIsDownloadableOk -`func (o *VagrantPackageUpload) GetIsDownloadableOk() (*bool, bool)` +`func (o *VagrantPackageUploadResponse) GetIsDownloadableOk() (*bool, bool)` GetIsDownloadableOk returns a tuple with the IsDownloadable field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetIsDownloadable -`func (o *VagrantPackageUpload) SetIsDownloadable(v bool)` +`func (o *VagrantPackageUploadResponse) SetIsDownloadable(v bool)` SetIsDownloadable sets IsDownloadable field to given value. ### HasIsDownloadable -`func (o *VagrantPackageUpload) HasIsDownloadable() bool` +`func (o *VagrantPackageUploadResponse) HasIsDownloadable() bool` HasIsDownloadable returns a boolean if a field has been set. ### GetIsQuarantined -`func (o *VagrantPackageUpload) GetIsQuarantined() bool` +`func (o *VagrantPackageUploadResponse) GetIsQuarantined() bool` GetIsQuarantined returns the IsQuarantined field if non-nil, zero value otherwise. ### GetIsQuarantinedOk -`func (o *VagrantPackageUpload) GetIsQuarantinedOk() (*bool, bool)` +`func (o *VagrantPackageUploadResponse) GetIsQuarantinedOk() (*bool, bool)` GetIsQuarantinedOk returns a tuple with the IsQuarantined field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetIsQuarantined -`func (o *VagrantPackageUpload) SetIsQuarantined(v bool)` +`func (o *VagrantPackageUploadResponse) SetIsQuarantined(v bool)` SetIsQuarantined sets IsQuarantined field to given value. ### HasIsQuarantined -`func (o *VagrantPackageUpload) HasIsQuarantined() bool` +`func (o *VagrantPackageUploadResponse) HasIsQuarantined() bool` HasIsQuarantined returns a boolean if a field has been set. ### GetIsSyncAwaiting -`func (o *VagrantPackageUpload) GetIsSyncAwaiting() bool` +`func (o *VagrantPackageUploadResponse) GetIsSyncAwaiting() bool` GetIsSyncAwaiting returns the IsSyncAwaiting field if non-nil, zero value otherwise. ### GetIsSyncAwaitingOk -`func (o *VagrantPackageUpload) GetIsSyncAwaitingOk() (*bool, bool)` +`func (o *VagrantPackageUploadResponse) GetIsSyncAwaitingOk() (*bool, bool)` GetIsSyncAwaitingOk returns a tuple with the IsSyncAwaiting field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetIsSyncAwaiting -`func (o *VagrantPackageUpload) SetIsSyncAwaiting(v bool)` +`func (o *VagrantPackageUploadResponse) SetIsSyncAwaiting(v bool)` SetIsSyncAwaiting sets IsSyncAwaiting field to given value. ### HasIsSyncAwaiting -`func (o *VagrantPackageUpload) HasIsSyncAwaiting() bool` +`func (o *VagrantPackageUploadResponse) HasIsSyncAwaiting() bool` HasIsSyncAwaiting returns a boolean if a field has been set. ### GetIsSyncCompleted -`func (o *VagrantPackageUpload) GetIsSyncCompleted() bool` +`func (o *VagrantPackageUploadResponse) GetIsSyncCompleted() bool` GetIsSyncCompleted returns the IsSyncCompleted field if non-nil, zero value otherwise. ### GetIsSyncCompletedOk -`func (o *VagrantPackageUpload) GetIsSyncCompletedOk() (*bool, bool)` +`func (o *VagrantPackageUploadResponse) GetIsSyncCompletedOk() (*bool, bool)` GetIsSyncCompletedOk returns a tuple with the IsSyncCompleted field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetIsSyncCompleted -`func (o *VagrantPackageUpload) SetIsSyncCompleted(v bool)` +`func (o *VagrantPackageUploadResponse) SetIsSyncCompleted(v bool)` SetIsSyncCompleted sets IsSyncCompleted field to given value. ### HasIsSyncCompleted -`func (o *VagrantPackageUpload) HasIsSyncCompleted() bool` +`func (o *VagrantPackageUploadResponse) HasIsSyncCompleted() bool` HasIsSyncCompleted returns a boolean if a field has been set. ### GetIsSyncFailed -`func (o *VagrantPackageUpload) GetIsSyncFailed() bool` +`func (o *VagrantPackageUploadResponse) GetIsSyncFailed() bool` GetIsSyncFailed returns the IsSyncFailed field if non-nil, zero value otherwise. ### GetIsSyncFailedOk -`func (o *VagrantPackageUpload) GetIsSyncFailedOk() (*bool, bool)` +`func (o *VagrantPackageUploadResponse) GetIsSyncFailedOk() (*bool, bool)` GetIsSyncFailedOk returns a tuple with the IsSyncFailed field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetIsSyncFailed -`func (o *VagrantPackageUpload) SetIsSyncFailed(v bool)` +`func (o *VagrantPackageUploadResponse) SetIsSyncFailed(v bool)` SetIsSyncFailed sets IsSyncFailed field to given value. ### HasIsSyncFailed -`func (o *VagrantPackageUpload) HasIsSyncFailed() bool` +`func (o *VagrantPackageUploadResponse) HasIsSyncFailed() bool` HasIsSyncFailed returns a boolean if a field has been set. ### GetIsSyncInFlight -`func (o *VagrantPackageUpload) GetIsSyncInFlight() bool` +`func (o *VagrantPackageUploadResponse) GetIsSyncInFlight() bool` GetIsSyncInFlight returns the IsSyncInFlight field if non-nil, zero value otherwise. ### GetIsSyncInFlightOk -`func (o *VagrantPackageUpload) GetIsSyncInFlightOk() (*bool, bool)` +`func (o *VagrantPackageUploadResponse) GetIsSyncInFlightOk() (*bool, bool)` GetIsSyncInFlightOk returns a tuple with the IsSyncInFlight field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetIsSyncInFlight -`func (o *VagrantPackageUpload) SetIsSyncInFlight(v bool)` +`func (o *VagrantPackageUploadResponse) SetIsSyncInFlight(v bool)` SetIsSyncInFlight sets IsSyncInFlight field to given value. ### HasIsSyncInFlight -`func (o *VagrantPackageUpload) HasIsSyncInFlight() bool` +`func (o *VagrantPackageUploadResponse) HasIsSyncInFlight() bool` HasIsSyncInFlight returns a boolean if a field has been set. ### GetIsSyncInProgress -`func (o *VagrantPackageUpload) GetIsSyncInProgress() bool` +`func (o *VagrantPackageUploadResponse) GetIsSyncInProgress() bool` GetIsSyncInProgress returns the IsSyncInProgress field if non-nil, zero value otherwise. ### GetIsSyncInProgressOk -`func (o *VagrantPackageUpload) GetIsSyncInProgressOk() (*bool, bool)` +`func (o *VagrantPackageUploadResponse) GetIsSyncInProgressOk() (*bool, bool)` GetIsSyncInProgressOk returns a tuple with the IsSyncInProgress field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetIsSyncInProgress -`func (o *VagrantPackageUpload) SetIsSyncInProgress(v bool)` +`func (o *VagrantPackageUploadResponse) SetIsSyncInProgress(v bool)` SetIsSyncInProgress sets IsSyncInProgress field to given value. ### HasIsSyncInProgress -`func (o *VagrantPackageUpload) HasIsSyncInProgress() bool` +`func (o *VagrantPackageUploadResponse) HasIsSyncInProgress() bool` HasIsSyncInProgress returns a boolean if a field has been set. ### GetLicense -`func (o *VagrantPackageUpload) GetLicense() string` +`func (o *VagrantPackageUploadResponse) GetLicense() string` GetLicense returns the License field if non-nil, zero value otherwise. ### GetLicenseOk -`func (o *VagrantPackageUpload) GetLicenseOk() (*string, bool)` +`func (o *VagrantPackageUploadResponse) GetLicenseOk() (*string, bool)` GetLicenseOk returns a tuple with the License field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetLicense -`func (o *VagrantPackageUpload) SetLicense(v string)` +`func (o *VagrantPackageUploadResponse) SetLicense(v string)` SetLicense sets License field to given value. ### HasLicense -`func (o *VagrantPackageUpload) HasLicense() bool` +`func (o *VagrantPackageUploadResponse) HasLicense() bool` HasLicense returns a boolean if a field has been set. ### GetName -`func (o *VagrantPackageUpload) GetName() string` +`func (o *VagrantPackageUploadResponse) GetName() string` GetName returns the Name field if non-nil, zero value otherwise. ### GetNameOk -`func (o *VagrantPackageUpload) GetNameOk() (*string, bool)` +`func (o *VagrantPackageUploadResponse) GetNameOk() (*string, bool)` 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. ### SetName -`func (o *VagrantPackageUpload) SetName(v string)` +`func (o *VagrantPackageUploadResponse) SetName(v string)` SetName sets Name field to given value. ### GetNamespace -`func (o *VagrantPackageUpload) GetNamespace() string` +`func (o *VagrantPackageUploadResponse) GetNamespace() string` GetNamespace returns the Namespace field if non-nil, zero value otherwise. ### GetNamespaceOk -`func (o *VagrantPackageUpload) GetNamespaceOk() (*string, bool)` +`func (o *VagrantPackageUploadResponse) GetNamespaceOk() (*string, bool)` GetNamespaceOk returns a tuple with the Namespace field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetNamespace -`func (o *VagrantPackageUpload) SetNamespace(v string)` +`func (o *VagrantPackageUploadResponse) SetNamespace(v string)` SetNamespace sets Namespace field to given value. ### HasNamespace -`func (o *VagrantPackageUpload) HasNamespace() bool` +`func (o *VagrantPackageUploadResponse) HasNamespace() bool` HasNamespace returns a boolean if a field has been set. ### GetNamespaceUrl -`func (o *VagrantPackageUpload) GetNamespaceUrl() string` +`func (o *VagrantPackageUploadResponse) GetNamespaceUrl() string` GetNamespaceUrl returns the NamespaceUrl field if non-nil, zero value otherwise. ### GetNamespaceUrlOk -`func (o *VagrantPackageUpload) GetNamespaceUrlOk() (*string, bool)` +`func (o *VagrantPackageUploadResponse) GetNamespaceUrlOk() (*string, bool)` GetNamespaceUrlOk returns a tuple with the NamespaceUrl field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetNamespaceUrl -`func (o *VagrantPackageUpload) SetNamespaceUrl(v string)` +`func (o *VagrantPackageUploadResponse) SetNamespaceUrl(v string)` SetNamespaceUrl sets NamespaceUrl field to given value. ### HasNamespaceUrl -`func (o *VagrantPackageUpload) HasNamespaceUrl() bool` +`func (o *VagrantPackageUploadResponse) HasNamespaceUrl() bool` HasNamespaceUrl returns a boolean if a field has been set. ### GetNumFiles -`func (o *VagrantPackageUpload) GetNumFiles() int64` +`func (o *VagrantPackageUploadResponse) GetNumFiles() int64` GetNumFiles returns the NumFiles field if non-nil, zero value otherwise. ### GetNumFilesOk -`func (o *VagrantPackageUpload) GetNumFilesOk() (*int64, bool)` +`func (o *VagrantPackageUploadResponse) GetNumFilesOk() (*int64, bool)` GetNumFilesOk returns a tuple with the NumFiles field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetNumFiles -`func (o *VagrantPackageUpload) SetNumFiles(v int64)` +`func (o *VagrantPackageUploadResponse) SetNumFiles(v int64)` SetNumFiles sets NumFiles field to given value. ### HasNumFiles -`func (o *VagrantPackageUpload) HasNumFiles() bool` +`func (o *VagrantPackageUploadResponse) HasNumFiles() bool` HasNumFiles returns a boolean if a field has been set. +### GetOriginRepository + +`func (o *VagrantPackageUploadResponse) GetOriginRepository() string` + +GetOriginRepository returns the OriginRepository field if non-nil, zero value otherwise. + +### GetOriginRepositoryOk + +`func (o *VagrantPackageUploadResponse) GetOriginRepositoryOk() (*string, bool)` + +GetOriginRepositoryOk returns a tuple with the OriginRepository field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetOriginRepository + +`func (o *VagrantPackageUploadResponse) SetOriginRepository(v string)` + +SetOriginRepository sets OriginRepository field to given value. + +### HasOriginRepository + +`func (o *VagrantPackageUploadResponse) HasOriginRepository() bool` + +HasOriginRepository returns a boolean if a field has been set. + +### GetOriginRepositoryUrl + +`func (o *VagrantPackageUploadResponse) GetOriginRepositoryUrl() string` + +GetOriginRepositoryUrl returns the OriginRepositoryUrl field if non-nil, zero value otherwise. + +### GetOriginRepositoryUrlOk + +`func (o *VagrantPackageUploadResponse) GetOriginRepositoryUrlOk() (*string, bool)` + +GetOriginRepositoryUrlOk returns a tuple with the OriginRepositoryUrl field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetOriginRepositoryUrl + +`func (o *VagrantPackageUploadResponse) SetOriginRepositoryUrl(v string)` + +SetOriginRepositoryUrl sets OriginRepositoryUrl field to given value. + +### HasOriginRepositoryUrl + +`func (o *VagrantPackageUploadResponse) HasOriginRepositoryUrl() bool` + +HasOriginRepositoryUrl returns a boolean if a field has been set. + ### GetPackageType -`func (o *VagrantPackageUpload) GetPackageType() int64` +`func (o *VagrantPackageUploadResponse) GetPackageType() int64` GetPackageType returns the PackageType field if non-nil, zero value otherwise. ### GetPackageTypeOk -`func (o *VagrantPackageUpload) GetPackageTypeOk() (*int64, bool)` +`func (o *VagrantPackageUploadResponse) GetPackageTypeOk() (*int64, bool)` GetPackageTypeOk returns a tuple with the PackageType field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetPackageType -`func (o *VagrantPackageUpload) SetPackageType(v int64)` +`func (o *VagrantPackageUploadResponse) SetPackageType(v int64)` SetPackageType sets PackageType field to given value. ### HasPackageType -`func (o *VagrantPackageUpload) HasPackageType() bool` +`func (o *VagrantPackageUploadResponse) HasPackageType() bool` HasPackageType returns a boolean if a field has been set. ### GetProvider -`func (o *VagrantPackageUpload) GetProvider() string` +`func (o *VagrantPackageUploadResponse) GetProvider() string` GetProvider returns the Provider field if non-nil, zero value otherwise. ### GetProviderOk -`func (o *VagrantPackageUpload) GetProviderOk() (*string, bool)` +`func (o *VagrantPackageUploadResponse) GetProviderOk() (*string, bool)` GetProviderOk returns a tuple with the Provider field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetProvider -`func (o *VagrantPackageUpload) SetProvider(v string)` +`func (o *VagrantPackageUploadResponse) SetProvider(v string)` SetProvider sets Provider field to given value. ### GetRelease -`func (o *VagrantPackageUpload) GetRelease() string` +`func (o *VagrantPackageUploadResponse) GetRelease() string` GetRelease returns the Release field if non-nil, zero value otherwise. ### GetReleaseOk -`func (o *VagrantPackageUpload) GetReleaseOk() (*string, bool)` +`func (o *VagrantPackageUploadResponse) GetReleaseOk() (*string, bool)` GetReleaseOk returns a tuple with the Release field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetRelease -`func (o *VagrantPackageUpload) SetRelease(v string)` +`func (o *VagrantPackageUploadResponse) SetRelease(v string)` SetRelease sets Release field to given value. ### HasRelease -`func (o *VagrantPackageUpload) HasRelease() bool` +`func (o *VagrantPackageUploadResponse) HasRelease() bool` HasRelease returns a boolean if a field has been set. ### GetRepository -`func (o *VagrantPackageUpload) GetRepository() string` +`func (o *VagrantPackageUploadResponse) GetRepository() string` GetRepository returns the Repository field if non-nil, zero value otherwise. ### GetRepositoryOk -`func (o *VagrantPackageUpload) GetRepositoryOk() (*string, bool)` +`func (o *VagrantPackageUploadResponse) GetRepositoryOk() (*string, bool)` GetRepositoryOk returns a tuple with the Repository field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetRepository -`func (o *VagrantPackageUpload) SetRepository(v string)` +`func (o *VagrantPackageUploadResponse) SetRepository(v string)` SetRepository sets Repository field to given value. ### HasRepository -`func (o *VagrantPackageUpload) HasRepository() bool` +`func (o *VagrantPackageUploadResponse) HasRepository() bool` HasRepository returns a boolean if a field has been set. ### GetRepositoryUrl -`func (o *VagrantPackageUpload) GetRepositoryUrl() string` +`func (o *VagrantPackageUploadResponse) GetRepositoryUrl() string` GetRepositoryUrl returns the RepositoryUrl field if non-nil, zero value otherwise. ### GetRepositoryUrlOk -`func (o *VagrantPackageUpload) GetRepositoryUrlOk() (*string, bool)` +`func (o *VagrantPackageUploadResponse) GetRepositoryUrlOk() (*string, bool)` GetRepositoryUrlOk returns a tuple with the RepositoryUrl field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetRepositoryUrl -`func (o *VagrantPackageUpload) SetRepositoryUrl(v string)` +`func (o *VagrantPackageUploadResponse) SetRepositoryUrl(v string)` SetRepositoryUrl sets RepositoryUrl field to given value. ### HasRepositoryUrl -`func (o *VagrantPackageUpload) HasRepositoryUrl() bool` +`func (o *VagrantPackageUploadResponse) HasRepositoryUrl() bool` HasRepositoryUrl returns a boolean if a field has been set. ### GetSecurityScanCompletedAt -`func (o *VagrantPackageUpload) GetSecurityScanCompletedAt() string` +`func (o *VagrantPackageUploadResponse) GetSecurityScanCompletedAt() time.Time` GetSecurityScanCompletedAt returns the SecurityScanCompletedAt field if non-nil, zero value otherwise. ### GetSecurityScanCompletedAtOk -`func (o *VagrantPackageUpload) GetSecurityScanCompletedAtOk() (*string, bool)` +`func (o *VagrantPackageUploadResponse) GetSecurityScanCompletedAtOk() (*time.Time, bool)` GetSecurityScanCompletedAtOk returns a tuple with the SecurityScanCompletedAt field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetSecurityScanCompletedAt -`func (o *VagrantPackageUpload) SetSecurityScanCompletedAt(v string)` +`func (o *VagrantPackageUploadResponse) SetSecurityScanCompletedAt(v time.Time)` SetSecurityScanCompletedAt sets SecurityScanCompletedAt field to given value. ### HasSecurityScanCompletedAt -`func (o *VagrantPackageUpload) HasSecurityScanCompletedAt() bool` +`func (o *VagrantPackageUploadResponse) HasSecurityScanCompletedAt() bool` HasSecurityScanCompletedAt returns a boolean if a field has been set. ### GetSecurityScanStartedAt -`func (o *VagrantPackageUpload) GetSecurityScanStartedAt() string` +`func (o *VagrantPackageUploadResponse) GetSecurityScanStartedAt() time.Time` GetSecurityScanStartedAt returns the SecurityScanStartedAt field if non-nil, zero value otherwise. ### GetSecurityScanStartedAtOk -`func (o *VagrantPackageUpload) GetSecurityScanStartedAtOk() (*string, bool)` +`func (o *VagrantPackageUploadResponse) GetSecurityScanStartedAtOk() (*time.Time, bool)` GetSecurityScanStartedAtOk returns a tuple with the SecurityScanStartedAt field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetSecurityScanStartedAt -`func (o *VagrantPackageUpload) SetSecurityScanStartedAt(v string)` +`func (o *VagrantPackageUploadResponse) SetSecurityScanStartedAt(v time.Time)` SetSecurityScanStartedAt sets SecurityScanStartedAt field to given value. ### HasSecurityScanStartedAt -`func (o *VagrantPackageUpload) HasSecurityScanStartedAt() bool` +`func (o *VagrantPackageUploadResponse) HasSecurityScanStartedAt() bool` HasSecurityScanStartedAt returns a boolean if a field has been set. ### GetSecurityScanStatus -`func (o *VagrantPackageUpload) GetSecurityScanStatus() string` +`func (o *VagrantPackageUploadResponse) GetSecurityScanStatus() string` GetSecurityScanStatus returns the SecurityScanStatus field if non-nil, zero value otherwise. ### GetSecurityScanStatusOk -`func (o *VagrantPackageUpload) GetSecurityScanStatusOk() (*string, bool)` +`func (o *VagrantPackageUploadResponse) GetSecurityScanStatusOk() (*string, bool)` GetSecurityScanStatusOk returns a tuple with the SecurityScanStatus field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetSecurityScanStatus -`func (o *VagrantPackageUpload) SetSecurityScanStatus(v string)` +`func (o *VagrantPackageUploadResponse) SetSecurityScanStatus(v string)` SetSecurityScanStatus sets SecurityScanStatus field to given value. ### HasSecurityScanStatus -`func (o *VagrantPackageUpload) HasSecurityScanStatus() bool` +`func (o *VagrantPackageUploadResponse) HasSecurityScanStatus() bool` HasSecurityScanStatus returns a boolean if a field has been set. +### SetSecurityScanStatusNil + +`func (o *VagrantPackageUploadResponse) SetSecurityScanStatusNil(b bool)` + + SetSecurityScanStatusNil sets the value for SecurityScanStatus to be an explicit nil + +### UnsetSecurityScanStatus +`func (o *VagrantPackageUploadResponse) UnsetSecurityScanStatus()` + +UnsetSecurityScanStatus ensures that no value is present for SecurityScanStatus, not even an explicit nil ### GetSecurityScanStatusUpdatedAt -`func (o *VagrantPackageUpload) GetSecurityScanStatusUpdatedAt() string` +`func (o *VagrantPackageUploadResponse) GetSecurityScanStatusUpdatedAt() time.Time` GetSecurityScanStatusUpdatedAt returns the SecurityScanStatusUpdatedAt field if non-nil, zero value otherwise. ### GetSecurityScanStatusUpdatedAtOk -`func (o *VagrantPackageUpload) GetSecurityScanStatusUpdatedAtOk() (*string, bool)` +`func (o *VagrantPackageUploadResponse) GetSecurityScanStatusUpdatedAtOk() (*time.Time, bool)` GetSecurityScanStatusUpdatedAtOk returns a tuple with the SecurityScanStatusUpdatedAt field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetSecurityScanStatusUpdatedAt -`func (o *VagrantPackageUpload) SetSecurityScanStatusUpdatedAt(v string)` +`func (o *VagrantPackageUploadResponse) SetSecurityScanStatusUpdatedAt(v time.Time)` SetSecurityScanStatusUpdatedAt sets SecurityScanStatusUpdatedAt field to given value. ### HasSecurityScanStatusUpdatedAt -`func (o *VagrantPackageUpload) HasSecurityScanStatusUpdatedAt() bool` +`func (o *VagrantPackageUploadResponse) HasSecurityScanStatusUpdatedAt() bool` HasSecurityScanStatusUpdatedAt returns a boolean if a field has been set. ### GetSelfHtmlUrl -`func (o *VagrantPackageUpload) GetSelfHtmlUrl() string` +`func (o *VagrantPackageUploadResponse) GetSelfHtmlUrl() string` GetSelfHtmlUrl returns the SelfHtmlUrl field if non-nil, zero value otherwise. ### GetSelfHtmlUrlOk -`func (o *VagrantPackageUpload) GetSelfHtmlUrlOk() (*string, bool)` +`func (o *VagrantPackageUploadResponse) GetSelfHtmlUrlOk() (*string, bool)` GetSelfHtmlUrlOk returns a tuple with the SelfHtmlUrl field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetSelfHtmlUrl -`func (o *VagrantPackageUpload) SetSelfHtmlUrl(v string)` +`func (o *VagrantPackageUploadResponse) SetSelfHtmlUrl(v string)` SetSelfHtmlUrl sets SelfHtmlUrl field to given value. ### HasSelfHtmlUrl -`func (o *VagrantPackageUpload) HasSelfHtmlUrl() bool` +`func (o *VagrantPackageUploadResponse) HasSelfHtmlUrl() bool` HasSelfHtmlUrl returns a boolean if a field has been set. ### GetSelfUrl -`func (o *VagrantPackageUpload) GetSelfUrl() string` +`func (o *VagrantPackageUploadResponse) GetSelfUrl() string` GetSelfUrl returns the SelfUrl field if non-nil, zero value otherwise. ### GetSelfUrlOk -`func (o *VagrantPackageUpload) GetSelfUrlOk() (*string, bool)` +`func (o *VagrantPackageUploadResponse) GetSelfUrlOk() (*string, bool)` GetSelfUrlOk returns a tuple with the SelfUrl field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetSelfUrl -`func (o *VagrantPackageUpload) SetSelfUrl(v string)` +`func (o *VagrantPackageUploadResponse) SetSelfUrl(v string)` SetSelfUrl sets SelfUrl field to given value. ### HasSelfUrl -`func (o *VagrantPackageUpload) HasSelfUrl() bool` +`func (o *VagrantPackageUploadResponse) HasSelfUrl() bool` HasSelfUrl returns a boolean if a field has been set. ### GetSignatureUrl -`func (o *VagrantPackageUpload) GetSignatureUrl() string` +`func (o *VagrantPackageUploadResponse) GetSignatureUrl() string` GetSignatureUrl returns the SignatureUrl field if non-nil, zero value otherwise. ### GetSignatureUrlOk -`func (o *VagrantPackageUpload) GetSignatureUrlOk() (*string, bool)` +`func (o *VagrantPackageUploadResponse) GetSignatureUrlOk() (*string, bool)` GetSignatureUrlOk returns a tuple with the SignatureUrl field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetSignatureUrl -`func (o *VagrantPackageUpload) SetSignatureUrl(v string)` +`func (o *VagrantPackageUploadResponse) SetSignatureUrl(v string)` SetSignatureUrl sets SignatureUrl field to given value. ### HasSignatureUrl -`func (o *VagrantPackageUpload) HasSignatureUrl() bool` +`func (o *VagrantPackageUploadResponse) HasSignatureUrl() bool` HasSignatureUrl returns a boolean if a field has been set. +### SetSignatureUrlNil + +`func (o *VagrantPackageUploadResponse) SetSignatureUrlNil(b bool)` + + SetSignatureUrlNil sets the value for SignatureUrl to be an explicit nil + +### UnsetSignatureUrl +`func (o *VagrantPackageUploadResponse) UnsetSignatureUrl()` + +UnsetSignatureUrl ensures that no value is present for SignatureUrl, not even an explicit nil ### GetSize -`func (o *VagrantPackageUpload) GetSize() int64` +`func (o *VagrantPackageUploadResponse) GetSize() int64` GetSize returns the Size field if non-nil, zero value otherwise. ### GetSizeOk -`func (o *VagrantPackageUpload) GetSizeOk() (*int64, bool)` +`func (o *VagrantPackageUploadResponse) GetSizeOk() (*int64, bool)` GetSizeOk returns a tuple with the Size field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetSize -`func (o *VagrantPackageUpload) SetSize(v int64)` +`func (o *VagrantPackageUploadResponse) SetSize(v int64)` SetSize sets Size field to given value. ### HasSize -`func (o *VagrantPackageUpload) HasSize() bool` +`func (o *VagrantPackageUploadResponse) HasSize() bool` HasSize returns a boolean if a field has been set. ### GetSlug -`func (o *VagrantPackageUpload) GetSlug() string` +`func (o *VagrantPackageUploadResponse) GetSlug() string` GetSlug returns the Slug field if non-nil, zero value otherwise. ### GetSlugOk -`func (o *VagrantPackageUpload) GetSlugOk() (*string, bool)` +`func (o *VagrantPackageUploadResponse) GetSlugOk() (*string, bool)` GetSlugOk returns a tuple with the Slug field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetSlug -`func (o *VagrantPackageUpload) SetSlug(v string)` +`func (o *VagrantPackageUploadResponse) SetSlug(v string)` SetSlug sets Slug field to given value. ### HasSlug -`func (o *VagrantPackageUpload) HasSlug() bool` +`func (o *VagrantPackageUploadResponse) HasSlug() bool` HasSlug returns a boolean if a field has been set. ### GetSlugPerm -`func (o *VagrantPackageUpload) GetSlugPerm() string` +`func (o *VagrantPackageUploadResponse) GetSlugPerm() string` GetSlugPerm returns the SlugPerm field if non-nil, zero value otherwise. ### GetSlugPermOk -`func (o *VagrantPackageUpload) GetSlugPermOk() (*string, bool)` +`func (o *VagrantPackageUploadResponse) GetSlugPermOk() (*string, bool)` GetSlugPermOk returns a tuple with the SlugPerm field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetSlugPerm -`func (o *VagrantPackageUpload) SetSlugPerm(v string)` +`func (o *VagrantPackageUploadResponse) SetSlugPerm(v string)` SetSlugPerm sets SlugPerm field to given value. ### HasSlugPerm -`func (o *VagrantPackageUpload) HasSlugPerm() bool` +`func (o *VagrantPackageUploadResponse) HasSlugPerm() bool` HasSlugPerm returns a boolean if a field has been set. ### GetStage -`func (o *VagrantPackageUpload) GetStage() int64` +`func (o *VagrantPackageUploadResponse) GetStage() int64` GetStage returns the Stage field if non-nil, zero value otherwise. ### GetStageOk -`func (o *VagrantPackageUpload) GetStageOk() (*int64, bool)` +`func (o *VagrantPackageUploadResponse) GetStageOk() (*int64, bool)` GetStageOk returns a tuple with the Stage field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetStage -`func (o *VagrantPackageUpload) SetStage(v int64)` +`func (o *VagrantPackageUploadResponse) SetStage(v int64)` SetStage sets Stage field to given value. ### HasStage -`func (o *VagrantPackageUpload) HasStage() bool` +`func (o *VagrantPackageUploadResponse) HasStage() bool` HasStage returns a boolean if a field has been set. ### GetStageStr -`func (o *VagrantPackageUpload) GetStageStr() string` +`func (o *VagrantPackageUploadResponse) GetStageStr() string` GetStageStr returns the StageStr field if non-nil, zero value otherwise. ### GetStageStrOk -`func (o *VagrantPackageUpload) GetStageStrOk() (*string, bool)` +`func (o *VagrantPackageUploadResponse) GetStageStrOk() (*string, bool)` GetStageStrOk returns a tuple with the StageStr field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetStageStr -`func (o *VagrantPackageUpload) SetStageStr(v string)` +`func (o *VagrantPackageUploadResponse) SetStageStr(v string)` SetStageStr sets StageStr field to given value. ### HasStageStr -`func (o *VagrantPackageUpload) HasStageStr() bool` +`func (o *VagrantPackageUploadResponse) HasStageStr() bool` HasStageStr returns a boolean if a field has been set. ### GetStageUpdatedAt -`func (o *VagrantPackageUpload) GetStageUpdatedAt() string` +`func (o *VagrantPackageUploadResponse) GetStageUpdatedAt() time.Time` GetStageUpdatedAt returns the StageUpdatedAt field if non-nil, zero value otherwise. ### GetStageUpdatedAtOk -`func (o *VagrantPackageUpload) GetStageUpdatedAtOk() (*string, bool)` +`func (o *VagrantPackageUploadResponse) GetStageUpdatedAtOk() (*time.Time, bool)` GetStageUpdatedAtOk returns a tuple with the StageUpdatedAt field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetStageUpdatedAt -`func (o *VagrantPackageUpload) SetStageUpdatedAt(v string)` +`func (o *VagrantPackageUploadResponse) SetStageUpdatedAt(v time.Time)` SetStageUpdatedAt sets StageUpdatedAt field to given value. ### HasStageUpdatedAt -`func (o *VagrantPackageUpload) HasStageUpdatedAt() bool` +`func (o *VagrantPackageUploadResponse) HasStageUpdatedAt() bool` HasStageUpdatedAt returns a boolean if a field has been set. ### GetStatus -`func (o *VagrantPackageUpload) GetStatus() int64` +`func (o *VagrantPackageUploadResponse) GetStatus() int64` GetStatus returns the Status field if non-nil, zero value otherwise. ### GetStatusOk -`func (o *VagrantPackageUpload) GetStatusOk() (*int64, bool)` +`func (o *VagrantPackageUploadResponse) GetStatusOk() (*int64, bool)` GetStatusOk returns a tuple with the Status field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetStatus -`func (o *VagrantPackageUpload) SetStatus(v int64)` +`func (o *VagrantPackageUploadResponse) SetStatus(v int64)` SetStatus sets Status field to given value. ### HasStatus -`func (o *VagrantPackageUpload) HasStatus() bool` +`func (o *VagrantPackageUploadResponse) HasStatus() bool` HasStatus returns a boolean if a field has been set. ### GetStatusReason -`func (o *VagrantPackageUpload) GetStatusReason() string` +`func (o *VagrantPackageUploadResponse) GetStatusReason() string` GetStatusReason returns the StatusReason field if non-nil, zero value otherwise. ### GetStatusReasonOk -`func (o *VagrantPackageUpload) GetStatusReasonOk() (*string, bool)` +`func (o *VagrantPackageUploadResponse) GetStatusReasonOk() (*string, bool)` GetStatusReasonOk returns a tuple with the StatusReason field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetStatusReason -`func (o *VagrantPackageUpload) SetStatusReason(v string)` +`func (o *VagrantPackageUploadResponse) SetStatusReason(v string)` SetStatusReason sets StatusReason field to given value. ### HasStatusReason -`func (o *VagrantPackageUpload) HasStatusReason() bool` +`func (o *VagrantPackageUploadResponse) HasStatusReason() bool` HasStatusReason returns a boolean if a field has been set. ### GetStatusStr -`func (o *VagrantPackageUpload) GetStatusStr() string` +`func (o *VagrantPackageUploadResponse) GetStatusStr() string` GetStatusStr returns the StatusStr field if non-nil, zero value otherwise. ### GetStatusStrOk -`func (o *VagrantPackageUpload) GetStatusStrOk() (*string, bool)` +`func (o *VagrantPackageUploadResponse) GetStatusStrOk() (*string, bool)` GetStatusStrOk returns a tuple with the StatusStr field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetStatusStr -`func (o *VagrantPackageUpload) SetStatusStr(v string)` +`func (o *VagrantPackageUploadResponse) SetStatusStr(v string)` SetStatusStr sets StatusStr field to given value. ### HasStatusStr -`func (o *VagrantPackageUpload) HasStatusStr() bool` +`func (o *VagrantPackageUploadResponse) HasStatusStr() bool` HasStatusStr returns a boolean if a field has been set. ### GetStatusUpdatedAt -`func (o *VagrantPackageUpload) GetStatusUpdatedAt() string` +`func (o *VagrantPackageUploadResponse) GetStatusUpdatedAt() time.Time` GetStatusUpdatedAt returns the StatusUpdatedAt field if non-nil, zero value otherwise. ### GetStatusUpdatedAtOk -`func (o *VagrantPackageUpload) GetStatusUpdatedAtOk() (*string, bool)` +`func (o *VagrantPackageUploadResponse) GetStatusUpdatedAtOk() (*time.Time, bool)` GetStatusUpdatedAtOk returns a tuple with the StatusUpdatedAt field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetStatusUpdatedAt -`func (o *VagrantPackageUpload) SetStatusUpdatedAt(v string)` +`func (o *VagrantPackageUploadResponse) SetStatusUpdatedAt(v time.Time)` SetStatusUpdatedAt sets StatusUpdatedAt field to given value. ### HasStatusUpdatedAt -`func (o *VagrantPackageUpload) HasStatusUpdatedAt() bool` +`func (o *VagrantPackageUploadResponse) HasStatusUpdatedAt() bool` HasStatusUpdatedAt returns a boolean if a field has been set. ### GetStatusUrl -`func (o *VagrantPackageUpload) GetStatusUrl() string` +`func (o *VagrantPackageUploadResponse) GetStatusUrl() string` GetStatusUrl returns the StatusUrl field if non-nil, zero value otherwise. ### GetStatusUrlOk -`func (o *VagrantPackageUpload) GetStatusUrlOk() (*string, bool)` +`func (o *VagrantPackageUploadResponse) GetStatusUrlOk() (*string, bool)` GetStatusUrlOk returns a tuple with the StatusUrl field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetStatusUrl -`func (o *VagrantPackageUpload) SetStatusUrl(v string)` +`func (o *VagrantPackageUploadResponse) SetStatusUrl(v string)` SetStatusUrl sets StatusUrl field to given value. ### HasStatusUrl -`func (o *VagrantPackageUpload) HasStatusUrl() bool` +`func (o *VagrantPackageUploadResponse) HasStatusUrl() bool` HasStatusUrl returns a boolean if a field has been set. ### GetSubtype -`func (o *VagrantPackageUpload) GetSubtype() string` +`func (o *VagrantPackageUploadResponse) GetSubtype() string` GetSubtype returns the Subtype field if non-nil, zero value otherwise. ### GetSubtypeOk -`func (o *VagrantPackageUpload) GetSubtypeOk() (*string, bool)` +`func (o *VagrantPackageUploadResponse) GetSubtypeOk() (*string, bool)` GetSubtypeOk returns a tuple with the Subtype field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetSubtype -`func (o *VagrantPackageUpload) SetSubtype(v string)` +`func (o *VagrantPackageUploadResponse) SetSubtype(v string)` SetSubtype sets Subtype field to given value. ### HasSubtype -`func (o *VagrantPackageUpload) HasSubtype() bool` +`func (o *VagrantPackageUploadResponse) HasSubtype() bool` HasSubtype returns a boolean if a field has been set. ### GetSummary -`func (o *VagrantPackageUpload) GetSummary() string` +`func (o *VagrantPackageUploadResponse) GetSummary() string` GetSummary returns the Summary field if non-nil, zero value otherwise. ### GetSummaryOk -`func (o *VagrantPackageUpload) GetSummaryOk() (*string, bool)` +`func (o *VagrantPackageUploadResponse) GetSummaryOk() (*string, bool)` GetSummaryOk returns a tuple with the Summary field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetSummary -`func (o *VagrantPackageUpload) SetSummary(v string)` +`func (o *VagrantPackageUploadResponse) SetSummary(v string)` SetSummary sets Summary field to given value. ### HasSummary -`func (o *VagrantPackageUpload) HasSummary() bool` +`func (o *VagrantPackageUploadResponse) HasSummary() bool` HasSummary returns a boolean if a field has been set. ### GetSyncFinishedAt -`func (o *VagrantPackageUpload) GetSyncFinishedAt() string` +`func (o *VagrantPackageUploadResponse) GetSyncFinishedAt() time.Time` GetSyncFinishedAt returns the SyncFinishedAt field if non-nil, zero value otherwise. ### GetSyncFinishedAtOk -`func (o *VagrantPackageUpload) GetSyncFinishedAtOk() (*string, bool)` +`func (o *VagrantPackageUploadResponse) GetSyncFinishedAtOk() (*time.Time, bool)` GetSyncFinishedAtOk returns a tuple with the SyncFinishedAt field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetSyncFinishedAt -`func (o *VagrantPackageUpload) SetSyncFinishedAt(v string)` +`func (o *VagrantPackageUploadResponse) SetSyncFinishedAt(v time.Time)` SetSyncFinishedAt sets SyncFinishedAt field to given value. ### HasSyncFinishedAt -`func (o *VagrantPackageUpload) HasSyncFinishedAt() bool` +`func (o *VagrantPackageUploadResponse) HasSyncFinishedAt() bool` HasSyncFinishedAt returns a boolean if a field has been set. ### GetSyncProgress -`func (o *VagrantPackageUpload) GetSyncProgress() int64` +`func (o *VagrantPackageUploadResponse) GetSyncProgress() int64` GetSyncProgress returns the SyncProgress field if non-nil, zero value otherwise. ### GetSyncProgressOk -`func (o *VagrantPackageUpload) GetSyncProgressOk() (*int64, bool)` +`func (o *VagrantPackageUploadResponse) GetSyncProgressOk() (*int64, bool)` GetSyncProgressOk returns a tuple with the SyncProgress field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetSyncProgress -`func (o *VagrantPackageUpload) SetSyncProgress(v int64)` +`func (o *VagrantPackageUploadResponse) SetSyncProgress(v int64)` SetSyncProgress sets SyncProgress field to given value. ### HasSyncProgress -`func (o *VagrantPackageUpload) HasSyncProgress() bool` +`func (o *VagrantPackageUploadResponse) HasSyncProgress() bool` HasSyncProgress returns a boolean if a field has been set. ### GetTagsImmutable -`func (o *VagrantPackageUpload) GetTagsImmutable() map[string]interface{}` +`func (o *VagrantPackageUploadResponse) GetTagsImmutable() map[string]interface{}` GetTagsImmutable returns the TagsImmutable field if non-nil, zero value otherwise. ### GetTagsImmutableOk -`func (o *VagrantPackageUpload) GetTagsImmutableOk() (*map[string]interface{}, bool)` +`func (o *VagrantPackageUploadResponse) GetTagsImmutableOk() (*map[string]interface{}, bool)` GetTagsImmutableOk returns a tuple with the TagsImmutable field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetTagsImmutable -`func (o *VagrantPackageUpload) SetTagsImmutable(v map[string]interface{})` +`func (o *VagrantPackageUploadResponse) SetTagsImmutable(v map[string]interface{})` SetTagsImmutable sets TagsImmutable field to given value. ### HasTagsImmutable -`func (o *VagrantPackageUpload) HasTagsImmutable() bool` +`func (o *VagrantPackageUploadResponse) HasTagsImmutable() bool` HasTagsImmutable returns a boolean if a field has been set. ### GetTypeDisplay -`func (o *VagrantPackageUpload) GetTypeDisplay() string` +`func (o *VagrantPackageUploadResponse) GetTypeDisplay() string` GetTypeDisplay returns the TypeDisplay field if non-nil, zero value otherwise. ### GetTypeDisplayOk -`func (o *VagrantPackageUpload) GetTypeDisplayOk() (*string, bool)` +`func (o *VagrantPackageUploadResponse) GetTypeDisplayOk() (*string, bool)` GetTypeDisplayOk returns a tuple with the TypeDisplay field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetTypeDisplay -`func (o *VagrantPackageUpload) SetTypeDisplay(v string)` +`func (o *VagrantPackageUploadResponse) SetTypeDisplay(v string)` SetTypeDisplay sets TypeDisplay field to given value. ### HasTypeDisplay -`func (o *VagrantPackageUpload) HasTypeDisplay() bool` +`func (o *VagrantPackageUploadResponse) HasTypeDisplay() bool` HasTypeDisplay returns a boolean if a field has been set. ### GetUploadedAt -`func (o *VagrantPackageUpload) GetUploadedAt() string` +`func (o *VagrantPackageUploadResponse) GetUploadedAt() time.Time` GetUploadedAt returns the UploadedAt field if non-nil, zero value otherwise. ### GetUploadedAtOk -`func (o *VagrantPackageUpload) GetUploadedAtOk() (*string, bool)` +`func (o *VagrantPackageUploadResponse) GetUploadedAtOk() (*time.Time, bool)` GetUploadedAtOk returns a tuple with the UploadedAt field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetUploadedAt -`func (o *VagrantPackageUpload) SetUploadedAt(v string)` +`func (o *VagrantPackageUploadResponse) SetUploadedAt(v time.Time)` SetUploadedAt sets UploadedAt field to given value. ### HasUploadedAt -`func (o *VagrantPackageUpload) HasUploadedAt() bool` +`func (o *VagrantPackageUploadResponse) HasUploadedAt() bool` HasUploadedAt returns a boolean if a field has been set. ### GetUploader -`func (o *VagrantPackageUpload) GetUploader() string` +`func (o *VagrantPackageUploadResponse) GetUploader() string` GetUploader returns the Uploader field if non-nil, zero value otherwise. ### GetUploaderOk -`func (o *VagrantPackageUpload) GetUploaderOk() (*string, bool)` +`func (o *VagrantPackageUploadResponse) GetUploaderOk() (*string, bool)` GetUploaderOk returns a tuple with the Uploader field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetUploader -`func (o *VagrantPackageUpload) SetUploader(v string)` +`func (o *VagrantPackageUploadResponse) SetUploader(v string)` SetUploader sets Uploader field to given value. ### HasUploader -`func (o *VagrantPackageUpload) HasUploader() bool` +`func (o *VagrantPackageUploadResponse) HasUploader() bool` HasUploader returns a boolean if a field has been set. ### GetUploaderUrl -`func (o *VagrantPackageUpload) GetUploaderUrl() string` +`func (o *VagrantPackageUploadResponse) GetUploaderUrl() string` GetUploaderUrl returns the UploaderUrl field if non-nil, zero value otherwise. ### GetUploaderUrlOk -`func (o *VagrantPackageUpload) GetUploaderUrlOk() (*string, bool)` +`func (o *VagrantPackageUploadResponse) GetUploaderUrlOk() (*string, bool)` GetUploaderUrlOk returns a tuple with the UploaderUrl field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetUploaderUrl -`func (o *VagrantPackageUpload) SetUploaderUrl(v string)` +`func (o *VagrantPackageUploadResponse) SetUploaderUrl(v string)` SetUploaderUrl sets UploaderUrl field to given value. ### HasUploaderUrl -`func (o *VagrantPackageUpload) HasUploaderUrl() bool` +`func (o *VagrantPackageUploadResponse) HasUploaderUrl() bool` HasUploaderUrl returns a boolean if a field has been set. ### GetVersion -`func (o *VagrantPackageUpload) GetVersion() string` +`func (o *VagrantPackageUploadResponse) GetVersion() string` GetVersion returns the Version field if non-nil, zero value otherwise. ### GetVersionOk -`func (o *VagrantPackageUpload) GetVersionOk() (*string, bool)` +`func (o *VagrantPackageUploadResponse) GetVersionOk() (*string, bool)` GetVersionOk returns a tuple with the Version field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetVersion -`func (o *VagrantPackageUpload) SetVersion(v string)` +`func (o *VagrantPackageUploadResponse) SetVersion(v string)` SetVersion sets Version field to given value. ### GetVersionOrig -`func (o *VagrantPackageUpload) GetVersionOrig() string` +`func (o *VagrantPackageUploadResponse) GetVersionOrig() string` GetVersionOrig returns the VersionOrig field if non-nil, zero value otherwise. ### GetVersionOrigOk -`func (o *VagrantPackageUpload) GetVersionOrigOk() (*string, bool)` +`func (o *VagrantPackageUploadResponse) GetVersionOrigOk() (*string, bool)` GetVersionOrigOk returns a tuple with the VersionOrig field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetVersionOrig -`func (o *VagrantPackageUpload) SetVersionOrig(v string)` +`func (o *VagrantPackageUploadResponse) SetVersionOrig(v string)` SetVersionOrig sets VersionOrig field to given value. ### HasVersionOrig -`func (o *VagrantPackageUpload) HasVersionOrig() bool` +`func (o *VagrantPackageUploadResponse) HasVersionOrig() bool` HasVersionOrig returns a boolean if a field has been set. ### GetVulnerabilityScanResultsUrl -`func (o *VagrantPackageUpload) GetVulnerabilityScanResultsUrl() string` +`func (o *VagrantPackageUploadResponse) GetVulnerabilityScanResultsUrl() string` GetVulnerabilityScanResultsUrl returns the VulnerabilityScanResultsUrl field if non-nil, zero value otherwise. ### GetVulnerabilityScanResultsUrlOk -`func (o *VagrantPackageUpload) GetVulnerabilityScanResultsUrlOk() (*string, bool)` +`func (o *VagrantPackageUploadResponse) GetVulnerabilityScanResultsUrlOk() (*string, bool)` GetVulnerabilityScanResultsUrlOk returns a tuple with the VulnerabilityScanResultsUrl field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetVulnerabilityScanResultsUrl -`func (o *VagrantPackageUpload) SetVulnerabilityScanResultsUrl(v string)` +`func (o *VagrantPackageUploadResponse) SetVulnerabilityScanResultsUrl(v string)` SetVulnerabilityScanResultsUrl sets VulnerabilityScanResultsUrl field to given value. ### HasVulnerabilityScanResultsUrl -`func (o *VagrantPackageUpload) HasVulnerabilityScanResultsUrl() bool` +`func (o *VagrantPackageUploadResponse) HasVulnerabilityScanResultsUrl() bool` HasVulnerabilityScanResultsUrl returns a boolean if a field has been set. diff --git a/docs/VulnerabilitiesApi.md b/docs/VulnerabilitiesApi.md index 3824e66f..1fffcfd4 100644 --- a/docs/VulnerabilitiesApi.md +++ b/docs/VulnerabilitiesApi.md @@ -4,16 +4,16 @@ All URIs are relative to *https://api.cloudsmith.io/v1* Method | HTTP request | Description ------------- | ------------- | ------------- -[**VulnerabilitiesList**](VulnerabilitiesApi.md#VulnerabilitiesList) | **Get** /vulnerabilities/{owner}/ | Lists scan results for a specific namespace. -[**VulnerabilitiesList0**](VulnerabilitiesApi.md#VulnerabilitiesList0) | **Get** /vulnerabilities/{owner}/{repo}/ | Lists scan results for a specific repository. -[**VulnerabilitiesList1**](VulnerabilitiesApi.md#VulnerabilitiesList1) | **Get** /vulnerabilities/{owner}/{repo}/{package}/ | Lists scan results for a specific package. +[**VulnerabilitiesNamespaceList**](VulnerabilitiesApi.md#VulnerabilitiesNamespaceList) | **Get** /vulnerabilities/{owner}/ | Lists scan results for a specific namespace. +[**VulnerabilitiesPackageList**](VulnerabilitiesApi.md#VulnerabilitiesPackageList) | **Get** /vulnerabilities/{owner}/{repo}/{package}/ | Lists scan results for a specific package. [**VulnerabilitiesRead**](VulnerabilitiesApi.md#VulnerabilitiesRead) | **Get** /vulnerabilities/{owner}/{repo}/{package}/{scan_id}/ | Returns a Scan Result. +[**VulnerabilitiesRepoList**](VulnerabilitiesApi.md#VulnerabilitiesRepoList) | **Get** /vulnerabilities/{owner}/{repo}/ | Lists scan results for a specific repository. -## VulnerabilitiesList +## VulnerabilitiesNamespaceList -> []VulnerabilityScanResultsList VulnerabilitiesList(ctx, owner).Page(page).PageSize(pageSize).Execute() +> []VulnerabilityScanResultsListResponse VulnerabilitiesNamespaceList(ctx, owner).Page(page).PageSize(pageSize).Execute() Lists scan results for a specific namespace. @@ -38,13 +38,13 @@ func main() { configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) - resp, r, err := apiClient.VulnerabilitiesApi.VulnerabilitiesList(context.Background(), owner).Page(page).PageSize(pageSize).Execute() + resp, r, err := apiClient.VulnerabilitiesApi.VulnerabilitiesNamespaceList(context.Background(), owner).Page(page).PageSize(pageSize).Execute() if err != nil { - fmt.Fprintf(os.Stderr, "Error when calling `VulnerabilitiesApi.VulnerabilitiesList``: %v\n", err) + fmt.Fprintf(os.Stderr, "Error when calling `VulnerabilitiesApi.VulnerabilitiesNamespaceList``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } - // response from `VulnerabilitiesList`: []VulnerabilityScanResultsList - fmt.Fprintf(os.Stdout, "Response from `VulnerabilitiesApi.VulnerabilitiesList`: %v\n", resp) + // response from `VulnerabilitiesNamespaceList`: []VulnerabilityScanResultsListResponse + fmt.Fprintf(os.Stdout, "Response from `VulnerabilitiesApi.VulnerabilitiesNamespaceList`: %v\n", resp) } ``` @@ -58,7 +58,7 @@ Name | Type | Description | Notes ### Other Parameters -Other parameters are passed through a pointer to a apiVulnerabilitiesListRequest struct via the builder pattern +Other parameters are passed through a pointer to a apiVulnerabilitiesNamespaceListRequest struct via the builder pattern Name | Type | Description | Notes @@ -69,7 +69,7 @@ Name | Type | Description | Notes ### Return type -[**[]VulnerabilityScanResultsList**](VulnerabilityScanResultsList.md) +[**[]VulnerabilityScanResultsListResponse**](VulnerabilityScanResultsListResponse.md) ### Authorization @@ -78,18 +78,18 @@ Name | Type | Description | Notes ### HTTP request headers - **Content-Type**: Not defined -- **Accept**: */* +- **Accept**: application/json [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -## VulnerabilitiesList0 +## VulnerabilitiesPackageList -> []VulnerabilityScanResultsList VulnerabilitiesList0(ctx, owner, repo).Page(page).PageSize(pageSize).Execute() +> []VulnerabilityScanResultsListResponse VulnerabilitiesPackageList(ctx, owner, repo, package_).Page(page).PageSize(pageSize).Execute() -Lists scan results for a specific repository. +Lists scan results for a specific package. @@ -108,18 +108,19 @@ import ( func main() { owner := "owner_example" // string | repo := "repo_example" // string | + package_ := "package__example" // string | page := int64(56) // int64 | A page number within the paginated result set. (optional) pageSize := int64(56) // int64 | Number of results to return per page. (optional) configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) - resp, r, err := apiClient.VulnerabilitiesApi.VulnerabilitiesList0(context.Background(), owner, repo).Page(page).PageSize(pageSize).Execute() + resp, r, err := apiClient.VulnerabilitiesApi.VulnerabilitiesPackageList(context.Background(), owner, repo, package_).Page(page).PageSize(pageSize).Execute() if err != nil { - fmt.Fprintf(os.Stderr, "Error when calling `VulnerabilitiesApi.VulnerabilitiesList0``: %v\n", err) + fmt.Fprintf(os.Stderr, "Error when calling `VulnerabilitiesApi.VulnerabilitiesPackageList``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } - // response from `VulnerabilitiesList0`: []VulnerabilityScanResultsList - fmt.Fprintf(os.Stdout, "Response from `VulnerabilitiesApi.VulnerabilitiesList0`: %v\n", resp) + // response from `VulnerabilitiesPackageList`: []VulnerabilityScanResultsListResponse + fmt.Fprintf(os.Stdout, "Response from `VulnerabilitiesApi.VulnerabilitiesPackageList`: %v\n", resp) } ``` @@ -131,22 +132,24 @@ Name | Type | Description | Notes **ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc. **owner** | **string** | | **repo** | **string** | | +**package_** | **string** | | ### Other Parameters -Other parameters are passed through a pointer to a apiVulnerabilitiesList0Request struct via the builder pattern +Other parameters are passed through a pointer to a apiVulnerabilitiesPackageListRequest struct via the builder pattern Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- + **page** | **int64** | A page number within the paginated result set. | **pageSize** | **int64** | Number of results to return per page. | ### Return type -[**[]VulnerabilityScanResultsList**](VulnerabilityScanResultsList.md) +[**[]VulnerabilityScanResultsListResponse**](VulnerabilityScanResultsListResponse.md) ### Authorization @@ -155,18 +158,18 @@ Name | Type | Description | Notes ### HTTP request headers - **Content-Type**: Not defined -- **Accept**: */* +- **Accept**: application/json [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -## VulnerabilitiesList1 +## VulnerabilitiesRead -> []VulnerabilityScanResultsList VulnerabilitiesList1(ctx, owner, repo, package_).Page(page).PageSize(pageSize).Execute() +> VulnerabilityScanResultsResponse VulnerabilitiesRead(ctx, owner, repo, package_, scanId).Execute() -Lists scan results for a specific package. +Returns a Scan Result. @@ -186,18 +189,17 @@ func main() { owner := "owner_example" // string | repo := "repo_example" // string | package_ := "package__example" // string | - page := int64(56) // int64 | A page number within the paginated result set. (optional) - pageSize := int64(56) // int64 | Number of results to return per page. (optional) + scanId := "scanId_example" // string | configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) - resp, r, err := apiClient.VulnerabilitiesApi.VulnerabilitiesList1(context.Background(), owner, repo, package_).Page(page).PageSize(pageSize).Execute() + resp, r, err := apiClient.VulnerabilitiesApi.VulnerabilitiesRead(context.Background(), owner, repo, package_, scanId).Execute() if err != nil { - fmt.Fprintf(os.Stderr, "Error when calling `VulnerabilitiesApi.VulnerabilitiesList1``: %v\n", err) + fmt.Fprintf(os.Stderr, "Error when calling `VulnerabilitiesApi.VulnerabilitiesRead``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } - // response from `VulnerabilitiesList1`: []VulnerabilityScanResultsList - fmt.Fprintf(os.Stdout, "Response from `VulnerabilitiesApi.VulnerabilitiesList1`: %v\n", resp) + // response from `VulnerabilitiesRead`: VulnerabilityScanResultsResponse + fmt.Fprintf(os.Stdout, "Response from `VulnerabilitiesApi.VulnerabilitiesRead`: %v\n", resp) } ``` @@ -210,10 +212,11 @@ Name | Type | Description | Notes **owner** | **string** | | **repo** | **string** | | **package_** | **string** | | +**scanId** | **string** | | ### Other Parameters -Other parameters are passed through a pointer to a apiVulnerabilitiesList1Request struct via the builder pattern +Other parameters are passed through a pointer to a apiVulnerabilitiesReadRequest struct via the builder pattern Name | Type | Description | Notes @@ -221,12 +224,11 @@ Name | Type | Description | Notes - **page** | **int64** | A page number within the paginated result set. | - **pageSize** | **int64** | Number of results to return per page. | + ### Return type -[**[]VulnerabilityScanResultsList**](VulnerabilityScanResultsList.md) +[**VulnerabilityScanResultsResponse**](VulnerabilityScanResultsResponse.md) ### Authorization @@ -235,18 +237,18 @@ Name | Type | Description | Notes ### HTTP request headers - **Content-Type**: Not defined -- **Accept**: */* +- **Accept**: application/json [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -## VulnerabilitiesRead +## VulnerabilitiesRepoList -> VulnerabilityScanResults VulnerabilitiesRead(ctx, owner, repo, package_, scanId).Execute() +> []VulnerabilityScanResultsListResponse VulnerabilitiesRepoList(ctx, owner, repo).Page(page).PageSize(pageSize).Execute() -Returns a Scan Result. +Lists scan results for a specific repository. @@ -265,18 +267,18 @@ import ( func main() { owner := "owner_example" // string | repo := "repo_example" // string | - package_ := "package__example" // string | - scanId := "scanId_example" // string | + page := int64(56) // int64 | A page number within the paginated result set. (optional) + pageSize := int64(56) // int64 | Number of results to return per page. (optional) configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) - resp, r, err := apiClient.VulnerabilitiesApi.VulnerabilitiesRead(context.Background(), owner, repo, package_, scanId).Execute() + resp, r, err := apiClient.VulnerabilitiesApi.VulnerabilitiesRepoList(context.Background(), owner, repo).Page(page).PageSize(pageSize).Execute() if err != nil { - fmt.Fprintf(os.Stderr, "Error when calling `VulnerabilitiesApi.VulnerabilitiesRead``: %v\n", err) + fmt.Fprintf(os.Stderr, "Error when calling `VulnerabilitiesApi.VulnerabilitiesRepoList``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } - // response from `VulnerabilitiesRead`: VulnerabilityScanResults - fmt.Fprintf(os.Stdout, "Response from `VulnerabilitiesApi.VulnerabilitiesRead`: %v\n", resp) + // response from `VulnerabilitiesRepoList`: []VulnerabilityScanResultsListResponse + fmt.Fprintf(os.Stdout, "Response from `VulnerabilitiesApi.VulnerabilitiesRepoList`: %v\n", resp) } ``` @@ -288,24 +290,22 @@ Name | Type | Description | Notes **ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc. **owner** | **string** | | **repo** | **string** | | -**package_** | **string** | | -**scanId** | **string** | | ### Other Parameters -Other parameters are passed through a pointer to a apiVulnerabilitiesReadRequest struct via the builder pattern +Other parameters are passed through a pointer to a apiVulnerabilitiesRepoListRequest struct via the builder pattern Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - - + **page** | **int64** | A page number within the paginated result set. | + **pageSize** | **int64** | Number of results to return per page. | ### Return type -[**VulnerabilityScanResults**](VulnerabilityScanResults.md) +[**[]VulnerabilityScanResultsListResponse**](VulnerabilityScanResultsListResponse.md) ### Authorization @@ -314,7 +314,7 @@ Name | Type | Description | Notes ### HTTP request headers - **Content-Type**: Not defined -- **Accept**: */* +- **Accept**: application/json [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) diff --git a/docs/Vulnerability.md b/docs/Vulnerability.md new file mode 100644 index 00000000..55bf8556 --- /dev/null +++ b/docs/Vulnerability.md @@ -0,0 +1,224 @@ +# Vulnerability + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**AffectedVersion** | [**VulnerabilityScanVersion**](VulnerabilityScanVersion.md) | | +**Description** | **string** | | +**FixedVersion** | [**VulnerabilityScanVersion**](VulnerabilityScanVersion.md) | | +**PackageName** | **string** | | +**References** | **[]string** | | +**Severity** | Pointer to **string** | | [optional] [default to "Unknown"] +**SeveritySource** | **string** | | +**Title** | **string** | | +**VulnerabilityId** | **string** | | + +## Methods + +### NewVulnerability + +`func NewVulnerability(affectedVersion VulnerabilityScanVersion, description string, fixedVersion VulnerabilityScanVersion, packageName string, references []string, severitySource string, title string, vulnerabilityId string, ) *Vulnerability` + +NewVulnerability instantiates a new Vulnerability object +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 + +### NewVulnerabilityWithDefaults + +`func NewVulnerabilityWithDefaults() *Vulnerability` + +NewVulnerabilityWithDefaults instantiates a new Vulnerability object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetAffectedVersion + +`func (o *Vulnerability) GetAffectedVersion() VulnerabilityScanVersion` + +GetAffectedVersion returns the AffectedVersion field if non-nil, zero value otherwise. + +### GetAffectedVersionOk + +`func (o *Vulnerability) GetAffectedVersionOk() (*VulnerabilityScanVersion, bool)` + +GetAffectedVersionOk returns a tuple with the AffectedVersion field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetAffectedVersion + +`func (o *Vulnerability) SetAffectedVersion(v VulnerabilityScanVersion)` + +SetAffectedVersion sets AffectedVersion field to given value. + + +### GetDescription + +`func (o *Vulnerability) GetDescription() string` + +GetDescription returns the Description field if non-nil, zero value otherwise. + +### GetDescriptionOk + +`func (o *Vulnerability) GetDescriptionOk() (*string, bool)` + +GetDescriptionOk returns a tuple with the Description field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetDescription + +`func (o *Vulnerability) SetDescription(v string)` + +SetDescription sets Description field to given value. + + +### GetFixedVersion + +`func (o *Vulnerability) GetFixedVersion() VulnerabilityScanVersion` + +GetFixedVersion returns the FixedVersion field if non-nil, zero value otherwise. + +### GetFixedVersionOk + +`func (o *Vulnerability) GetFixedVersionOk() (*VulnerabilityScanVersion, bool)` + +GetFixedVersionOk returns a tuple with the FixedVersion field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetFixedVersion + +`func (o *Vulnerability) SetFixedVersion(v VulnerabilityScanVersion)` + +SetFixedVersion sets FixedVersion field to given value. + + +### GetPackageName + +`func (o *Vulnerability) GetPackageName() string` + +GetPackageName returns the PackageName field if non-nil, zero value otherwise. + +### GetPackageNameOk + +`func (o *Vulnerability) GetPackageNameOk() (*string, bool)` + +GetPackageNameOk returns a tuple with the PackageName field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetPackageName + +`func (o *Vulnerability) SetPackageName(v string)` + +SetPackageName sets PackageName field to given value. + + +### GetReferences + +`func (o *Vulnerability) GetReferences() []string` + +GetReferences returns the References field if non-nil, zero value otherwise. + +### GetReferencesOk + +`func (o *Vulnerability) GetReferencesOk() (*[]string, bool)` + +GetReferencesOk returns a tuple with the References field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetReferences + +`func (o *Vulnerability) SetReferences(v []string)` + +SetReferences sets References field to given value. + + +### GetSeverity + +`func (o *Vulnerability) GetSeverity() string` + +GetSeverity returns the Severity field if non-nil, zero value otherwise. + +### GetSeverityOk + +`func (o *Vulnerability) GetSeverityOk() (*string, bool)` + +GetSeverityOk returns a tuple with the Severity field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetSeverity + +`func (o *Vulnerability) SetSeverity(v string)` + +SetSeverity sets Severity field to given value. + +### HasSeverity + +`func (o *Vulnerability) HasSeverity() bool` + +HasSeverity returns a boolean if a field has been set. + +### GetSeveritySource + +`func (o *Vulnerability) GetSeveritySource() string` + +GetSeveritySource returns the SeveritySource field if non-nil, zero value otherwise. + +### GetSeveritySourceOk + +`func (o *Vulnerability) GetSeveritySourceOk() (*string, bool)` + +GetSeveritySourceOk returns a tuple with the SeveritySource field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetSeveritySource + +`func (o *Vulnerability) SetSeveritySource(v string)` + +SetSeveritySource sets SeveritySource field to given value. + + +### GetTitle + +`func (o *Vulnerability) GetTitle() string` + +GetTitle returns the Title field if non-nil, zero value otherwise. + +### GetTitleOk + +`func (o *Vulnerability) GetTitleOk() (*string, bool)` + +GetTitleOk returns a tuple with the Title field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetTitle + +`func (o *Vulnerability) SetTitle(v string)` + +SetTitle sets Title field to given value. + + +### GetVulnerabilityId + +`func (o *Vulnerability) GetVulnerabilityId() string` + +GetVulnerabilityId returns the VulnerabilityId field if non-nil, zero value otherwise. + +### GetVulnerabilityIdOk + +`func (o *Vulnerability) GetVulnerabilityIdOk() (*string, bool)` + +GetVulnerabilityIdOk returns a tuple with the VulnerabilityId field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetVulnerabilityId + +`func (o *Vulnerability) SetVulnerabilityId(v string)` + +SetVulnerabilityId sets VulnerabilityId field to given value. + + + +[[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/docs/VulnerabilityScan.md b/docs/VulnerabilityScan.md new file mode 100644 index 00000000..d281cc0c --- /dev/null +++ b/docs/VulnerabilityScan.md @@ -0,0 +1,93 @@ +# VulnerabilityScan + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Results** | [**[]Vulnerability**](Vulnerability.md) | | +**Target** | **string** | | +**Type** | **string** | | + +## Methods + +### NewVulnerabilityScan + +`func NewVulnerabilityScan(results []Vulnerability, target string, type_ string, ) *VulnerabilityScan` + +NewVulnerabilityScan instantiates a new VulnerabilityScan object +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 + +### NewVulnerabilityScanWithDefaults + +`func NewVulnerabilityScanWithDefaults() *VulnerabilityScan` + +NewVulnerabilityScanWithDefaults instantiates a new VulnerabilityScan object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetResults + +`func (o *VulnerabilityScan) GetResults() []Vulnerability` + +GetResults returns the Results field if non-nil, zero value otherwise. + +### GetResultsOk + +`func (o *VulnerabilityScan) GetResultsOk() (*[]Vulnerability, bool)` + +GetResultsOk returns a tuple with the Results field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetResults + +`func (o *VulnerabilityScan) SetResults(v []Vulnerability)` + +SetResults sets Results field to given value. + + +### GetTarget + +`func (o *VulnerabilityScan) GetTarget() string` + +GetTarget returns the Target field if non-nil, zero value otherwise. + +### GetTargetOk + +`func (o *VulnerabilityScan) GetTargetOk() (*string, bool)` + +GetTargetOk returns a tuple with the Target field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetTarget + +`func (o *VulnerabilityScan) SetTarget(v string)` + +SetTarget sets Target field to given value. + + +### GetType + +`func (o *VulnerabilityScan) GetType() string` + +GetType returns the Type field if non-nil, zero value otherwise. + +### GetTypeOk + +`func (o *VulnerabilityScan) GetTypeOk() (*string, bool)` + +GetTypeOk returns a tuple with the Type field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetType + +`func (o *VulnerabilityScan) SetType(v string)` + +SetType sets Type field to given value. + + + +[[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/docs/VulnerabilityScanResultsList.md b/docs/VulnerabilityScanResultsListResponse.md similarity index 55% rename from docs/VulnerabilityScanResultsList.md rename to docs/VulnerabilityScanResultsListResponse.md index 7a2a1fae..59a828e5 100644 --- a/docs/VulnerabilityScanResultsList.md +++ b/docs/VulnerabilityScanResultsListResponse.md @@ -1,192 +1,192 @@ -# VulnerabilityScanResultsList +# VulnerabilityScanResultsListResponse ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**CreatedAt** | Pointer to **string** | The time this scan result was stored. | [optional] -**HasVulnerabilities** | Pointer to **bool** | Do the results contain any known vulnerabilities? | [optional] +**CreatedAt** | Pointer to **time.Time** | The time this scan result was stored. | [optional] [readonly] +**HasVulnerabilities** | Pointer to **bool** | Do the results contain any known vulnerabilities? | [optional] [readonly] **Identifier** | **string** | | -**MaxSeverity** | Pointer to **string** | | [optional] +**MaxSeverity** | Pointer to **string** | | [optional] [default to "Unknown"] **NumVulnerabilities** | Pointer to **int64** | | [optional] -**Package** | **map[string]interface{}** | | +**Package** | [**PackageVulnerability**](PackageVulnerability.md) | | **ScanId** | **int64** | | ## Methods -### NewVulnerabilityScanResultsList +### NewVulnerabilityScanResultsListResponse -`func NewVulnerabilityScanResultsList(identifier string, package_ map[string]interface{}, scanId int64, ) *VulnerabilityScanResultsList` +`func NewVulnerabilityScanResultsListResponse(identifier string, package_ PackageVulnerability, scanId int64, ) *VulnerabilityScanResultsListResponse` -NewVulnerabilityScanResultsList instantiates a new VulnerabilityScanResultsList object +NewVulnerabilityScanResultsListResponse instantiates a new VulnerabilityScanResultsListResponse object 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 -### NewVulnerabilityScanResultsListWithDefaults +### NewVulnerabilityScanResultsListResponseWithDefaults -`func NewVulnerabilityScanResultsListWithDefaults() *VulnerabilityScanResultsList` +`func NewVulnerabilityScanResultsListResponseWithDefaults() *VulnerabilityScanResultsListResponse` -NewVulnerabilityScanResultsListWithDefaults instantiates a new VulnerabilityScanResultsList object +NewVulnerabilityScanResultsListResponseWithDefaults instantiates a new VulnerabilityScanResultsListResponse object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set ### GetCreatedAt -`func (o *VulnerabilityScanResultsList) GetCreatedAt() string` +`func (o *VulnerabilityScanResultsListResponse) GetCreatedAt() time.Time` GetCreatedAt returns the CreatedAt field if non-nil, zero value otherwise. ### GetCreatedAtOk -`func (o *VulnerabilityScanResultsList) GetCreatedAtOk() (*string, bool)` +`func (o *VulnerabilityScanResultsListResponse) GetCreatedAtOk() (*time.Time, bool)` GetCreatedAtOk returns a tuple with the CreatedAt field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetCreatedAt -`func (o *VulnerabilityScanResultsList) SetCreatedAt(v string)` +`func (o *VulnerabilityScanResultsListResponse) SetCreatedAt(v time.Time)` SetCreatedAt sets CreatedAt field to given value. ### HasCreatedAt -`func (o *VulnerabilityScanResultsList) HasCreatedAt() bool` +`func (o *VulnerabilityScanResultsListResponse) HasCreatedAt() bool` HasCreatedAt returns a boolean if a field has been set. ### GetHasVulnerabilities -`func (o *VulnerabilityScanResultsList) GetHasVulnerabilities() bool` +`func (o *VulnerabilityScanResultsListResponse) GetHasVulnerabilities() bool` GetHasVulnerabilities returns the HasVulnerabilities field if non-nil, zero value otherwise. ### GetHasVulnerabilitiesOk -`func (o *VulnerabilityScanResultsList) GetHasVulnerabilitiesOk() (*bool, bool)` +`func (o *VulnerabilityScanResultsListResponse) GetHasVulnerabilitiesOk() (*bool, bool)` GetHasVulnerabilitiesOk returns a tuple with the HasVulnerabilities field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetHasVulnerabilities -`func (o *VulnerabilityScanResultsList) SetHasVulnerabilities(v bool)` +`func (o *VulnerabilityScanResultsListResponse) SetHasVulnerabilities(v bool)` SetHasVulnerabilities sets HasVulnerabilities field to given value. ### HasHasVulnerabilities -`func (o *VulnerabilityScanResultsList) HasHasVulnerabilities() bool` +`func (o *VulnerabilityScanResultsListResponse) HasHasVulnerabilities() bool` HasHasVulnerabilities returns a boolean if a field has been set. ### GetIdentifier -`func (o *VulnerabilityScanResultsList) GetIdentifier() string` +`func (o *VulnerabilityScanResultsListResponse) GetIdentifier() string` GetIdentifier returns the Identifier field if non-nil, zero value otherwise. ### GetIdentifierOk -`func (o *VulnerabilityScanResultsList) GetIdentifierOk() (*string, bool)` +`func (o *VulnerabilityScanResultsListResponse) GetIdentifierOk() (*string, bool)` GetIdentifierOk returns a tuple with the Identifier field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetIdentifier -`func (o *VulnerabilityScanResultsList) SetIdentifier(v string)` +`func (o *VulnerabilityScanResultsListResponse) SetIdentifier(v string)` SetIdentifier sets Identifier field to given value. ### GetMaxSeverity -`func (o *VulnerabilityScanResultsList) GetMaxSeverity() string` +`func (o *VulnerabilityScanResultsListResponse) GetMaxSeverity() string` GetMaxSeverity returns the MaxSeverity field if non-nil, zero value otherwise. ### GetMaxSeverityOk -`func (o *VulnerabilityScanResultsList) GetMaxSeverityOk() (*string, bool)` +`func (o *VulnerabilityScanResultsListResponse) GetMaxSeverityOk() (*string, bool)` GetMaxSeverityOk returns a tuple with the MaxSeverity field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetMaxSeverity -`func (o *VulnerabilityScanResultsList) SetMaxSeverity(v string)` +`func (o *VulnerabilityScanResultsListResponse) SetMaxSeverity(v string)` SetMaxSeverity sets MaxSeverity field to given value. ### HasMaxSeverity -`func (o *VulnerabilityScanResultsList) HasMaxSeverity() bool` +`func (o *VulnerabilityScanResultsListResponse) HasMaxSeverity() bool` HasMaxSeverity returns a boolean if a field has been set. ### GetNumVulnerabilities -`func (o *VulnerabilityScanResultsList) GetNumVulnerabilities() int64` +`func (o *VulnerabilityScanResultsListResponse) GetNumVulnerabilities() int64` GetNumVulnerabilities returns the NumVulnerabilities field if non-nil, zero value otherwise. ### GetNumVulnerabilitiesOk -`func (o *VulnerabilityScanResultsList) GetNumVulnerabilitiesOk() (*int64, bool)` +`func (o *VulnerabilityScanResultsListResponse) GetNumVulnerabilitiesOk() (*int64, bool)` GetNumVulnerabilitiesOk returns a tuple with the NumVulnerabilities field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetNumVulnerabilities -`func (o *VulnerabilityScanResultsList) SetNumVulnerabilities(v int64)` +`func (o *VulnerabilityScanResultsListResponse) SetNumVulnerabilities(v int64)` SetNumVulnerabilities sets NumVulnerabilities field to given value. ### HasNumVulnerabilities -`func (o *VulnerabilityScanResultsList) HasNumVulnerabilities() bool` +`func (o *VulnerabilityScanResultsListResponse) HasNumVulnerabilities() bool` HasNumVulnerabilities returns a boolean if a field has been set. ### GetPackage -`func (o *VulnerabilityScanResultsList) GetPackage() map[string]interface{}` +`func (o *VulnerabilityScanResultsListResponse) GetPackage() PackageVulnerability` GetPackage returns the Package field if non-nil, zero value otherwise. ### GetPackageOk -`func (o *VulnerabilityScanResultsList) GetPackageOk() (*map[string]interface{}, bool)` +`func (o *VulnerabilityScanResultsListResponse) GetPackageOk() (*PackageVulnerability, bool)` GetPackageOk returns a tuple with the Package field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetPackage -`func (o *VulnerabilityScanResultsList) SetPackage(v map[string]interface{})` +`func (o *VulnerabilityScanResultsListResponse) SetPackage(v PackageVulnerability)` SetPackage sets Package field to given value. ### GetScanId -`func (o *VulnerabilityScanResultsList) GetScanId() int64` +`func (o *VulnerabilityScanResultsListResponse) GetScanId() int64` GetScanId returns the ScanId field if non-nil, zero value otherwise. ### GetScanIdOk -`func (o *VulnerabilityScanResultsList) GetScanIdOk() (*int64, bool)` +`func (o *VulnerabilityScanResultsListResponse) GetScanIdOk() (*int64, bool)` GetScanIdOk returns a tuple with the ScanId field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetScanId -`func (o *VulnerabilityScanResultsList) SetScanId(v int64)` +`func (o *VulnerabilityScanResultsListResponse) SetScanId(v int64)` SetScanId sets ScanId field to given value. diff --git a/docs/VulnerabilityScanResults.md b/docs/VulnerabilityScanResultsResponse.md similarity index 56% rename from docs/VulnerabilityScanResults.md rename to docs/VulnerabilityScanResultsResponse.md index 9ea1271b..17e287d6 100644 --- a/docs/VulnerabilityScanResults.md +++ b/docs/VulnerabilityScanResultsResponse.md @@ -1,213 +1,213 @@ -# VulnerabilityScanResults +# VulnerabilityScanResultsResponse ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**CreatedAt** | Pointer to **string** | The time this scan result was stored. | [optional] -**HasVulnerabilities** | Pointer to **bool** | Do the results contain any known vulnerabilities? | [optional] +**CreatedAt** | Pointer to **time.Time** | The time this scan result was stored. | [optional] [readonly] +**HasVulnerabilities** | Pointer to **bool** | Do the results contain any known vulnerabilities? | [optional] [readonly] **Identifier** | **string** | | -**MaxSeverity** | Pointer to **string** | | [optional] +**MaxSeverity** | Pointer to **string** | | [optional] [default to "Unknown"] **NumVulnerabilities** | Pointer to **int64** | | [optional] -**Package** | **map[string]interface{}** | | -**Scan** | **map[string]interface{}** | | +**Package** | [**PackageVulnerability**](PackageVulnerability.md) | | +**Scan** | [**VulnerabilityScan**](VulnerabilityScan.md) | | **ScanId** | **int64** | | ## Methods -### NewVulnerabilityScanResults +### NewVulnerabilityScanResultsResponse -`func NewVulnerabilityScanResults(identifier string, package_ map[string]interface{}, scan map[string]interface{}, scanId int64, ) *VulnerabilityScanResults` +`func NewVulnerabilityScanResultsResponse(identifier string, package_ PackageVulnerability, scan VulnerabilityScan, scanId int64, ) *VulnerabilityScanResultsResponse` -NewVulnerabilityScanResults instantiates a new VulnerabilityScanResults object +NewVulnerabilityScanResultsResponse instantiates a new VulnerabilityScanResultsResponse object 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 -### NewVulnerabilityScanResultsWithDefaults +### NewVulnerabilityScanResultsResponseWithDefaults -`func NewVulnerabilityScanResultsWithDefaults() *VulnerabilityScanResults` +`func NewVulnerabilityScanResultsResponseWithDefaults() *VulnerabilityScanResultsResponse` -NewVulnerabilityScanResultsWithDefaults instantiates a new VulnerabilityScanResults object +NewVulnerabilityScanResultsResponseWithDefaults instantiates a new VulnerabilityScanResultsResponse object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set ### GetCreatedAt -`func (o *VulnerabilityScanResults) GetCreatedAt() string` +`func (o *VulnerabilityScanResultsResponse) GetCreatedAt() time.Time` GetCreatedAt returns the CreatedAt field if non-nil, zero value otherwise. ### GetCreatedAtOk -`func (o *VulnerabilityScanResults) GetCreatedAtOk() (*string, bool)` +`func (o *VulnerabilityScanResultsResponse) GetCreatedAtOk() (*time.Time, bool)` GetCreatedAtOk returns a tuple with the CreatedAt field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetCreatedAt -`func (o *VulnerabilityScanResults) SetCreatedAt(v string)` +`func (o *VulnerabilityScanResultsResponse) SetCreatedAt(v time.Time)` SetCreatedAt sets CreatedAt field to given value. ### HasCreatedAt -`func (o *VulnerabilityScanResults) HasCreatedAt() bool` +`func (o *VulnerabilityScanResultsResponse) HasCreatedAt() bool` HasCreatedAt returns a boolean if a field has been set. ### GetHasVulnerabilities -`func (o *VulnerabilityScanResults) GetHasVulnerabilities() bool` +`func (o *VulnerabilityScanResultsResponse) GetHasVulnerabilities() bool` GetHasVulnerabilities returns the HasVulnerabilities field if non-nil, zero value otherwise. ### GetHasVulnerabilitiesOk -`func (o *VulnerabilityScanResults) GetHasVulnerabilitiesOk() (*bool, bool)` +`func (o *VulnerabilityScanResultsResponse) GetHasVulnerabilitiesOk() (*bool, bool)` GetHasVulnerabilitiesOk returns a tuple with the HasVulnerabilities field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetHasVulnerabilities -`func (o *VulnerabilityScanResults) SetHasVulnerabilities(v bool)` +`func (o *VulnerabilityScanResultsResponse) SetHasVulnerabilities(v bool)` SetHasVulnerabilities sets HasVulnerabilities field to given value. ### HasHasVulnerabilities -`func (o *VulnerabilityScanResults) HasHasVulnerabilities() bool` +`func (o *VulnerabilityScanResultsResponse) HasHasVulnerabilities() bool` HasHasVulnerabilities returns a boolean if a field has been set. ### GetIdentifier -`func (o *VulnerabilityScanResults) GetIdentifier() string` +`func (o *VulnerabilityScanResultsResponse) GetIdentifier() string` GetIdentifier returns the Identifier field if non-nil, zero value otherwise. ### GetIdentifierOk -`func (o *VulnerabilityScanResults) GetIdentifierOk() (*string, bool)` +`func (o *VulnerabilityScanResultsResponse) GetIdentifierOk() (*string, bool)` GetIdentifierOk returns a tuple with the Identifier field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetIdentifier -`func (o *VulnerabilityScanResults) SetIdentifier(v string)` +`func (o *VulnerabilityScanResultsResponse) SetIdentifier(v string)` SetIdentifier sets Identifier field to given value. ### GetMaxSeverity -`func (o *VulnerabilityScanResults) GetMaxSeverity() string` +`func (o *VulnerabilityScanResultsResponse) GetMaxSeverity() string` GetMaxSeverity returns the MaxSeverity field if non-nil, zero value otherwise. ### GetMaxSeverityOk -`func (o *VulnerabilityScanResults) GetMaxSeverityOk() (*string, bool)` +`func (o *VulnerabilityScanResultsResponse) GetMaxSeverityOk() (*string, bool)` GetMaxSeverityOk returns a tuple with the MaxSeverity field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetMaxSeverity -`func (o *VulnerabilityScanResults) SetMaxSeverity(v string)` +`func (o *VulnerabilityScanResultsResponse) SetMaxSeverity(v string)` SetMaxSeverity sets MaxSeverity field to given value. ### HasMaxSeverity -`func (o *VulnerabilityScanResults) HasMaxSeverity() bool` +`func (o *VulnerabilityScanResultsResponse) HasMaxSeverity() bool` HasMaxSeverity returns a boolean if a field has been set. ### GetNumVulnerabilities -`func (o *VulnerabilityScanResults) GetNumVulnerabilities() int64` +`func (o *VulnerabilityScanResultsResponse) GetNumVulnerabilities() int64` GetNumVulnerabilities returns the NumVulnerabilities field if non-nil, zero value otherwise. ### GetNumVulnerabilitiesOk -`func (o *VulnerabilityScanResults) GetNumVulnerabilitiesOk() (*int64, bool)` +`func (o *VulnerabilityScanResultsResponse) GetNumVulnerabilitiesOk() (*int64, bool)` GetNumVulnerabilitiesOk returns a tuple with the NumVulnerabilities field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetNumVulnerabilities -`func (o *VulnerabilityScanResults) SetNumVulnerabilities(v int64)` +`func (o *VulnerabilityScanResultsResponse) SetNumVulnerabilities(v int64)` SetNumVulnerabilities sets NumVulnerabilities field to given value. ### HasNumVulnerabilities -`func (o *VulnerabilityScanResults) HasNumVulnerabilities() bool` +`func (o *VulnerabilityScanResultsResponse) HasNumVulnerabilities() bool` HasNumVulnerabilities returns a boolean if a field has been set. ### GetPackage -`func (o *VulnerabilityScanResults) GetPackage() map[string]interface{}` +`func (o *VulnerabilityScanResultsResponse) GetPackage() PackageVulnerability` GetPackage returns the Package field if non-nil, zero value otherwise. ### GetPackageOk -`func (o *VulnerabilityScanResults) GetPackageOk() (*map[string]interface{}, bool)` +`func (o *VulnerabilityScanResultsResponse) GetPackageOk() (*PackageVulnerability, bool)` GetPackageOk returns a tuple with the Package field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetPackage -`func (o *VulnerabilityScanResults) SetPackage(v map[string]interface{})` +`func (o *VulnerabilityScanResultsResponse) SetPackage(v PackageVulnerability)` SetPackage sets Package field to given value. ### GetScan -`func (o *VulnerabilityScanResults) GetScan() map[string]interface{}` +`func (o *VulnerabilityScanResultsResponse) GetScan() VulnerabilityScan` GetScan returns the Scan field if non-nil, zero value otherwise. ### GetScanOk -`func (o *VulnerabilityScanResults) GetScanOk() (*map[string]interface{}, bool)` +`func (o *VulnerabilityScanResultsResponse) GetScanOk() (*VulnerabilityScan, bool)` GetScanOk returns a tuple with the Scan field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetScan -`func (o *VulnerabilityScanResults) SetScan(v map[string]interface{})` +`func (o *VulnerabilityScanResultsResponse) SetScan(v VulnerabilityScan)` SetScan sets Scan field to given value. ### GetScanId -`func (o *VulnerabilityScanResults) GetScanId() int64` +`func (o *VulnerabilityScanResultsResponse) GetScanId() int64` GetScanId returns the ScanId field if non-nil, zero value otherwise. ### GetScanIdOk -`func (o *VulnerabilityScanResults) GetScanIdOk() (*int64, bool)` +`func (o *VulnerabilityScanResultsResponse) GetScanIdOk() (*int64, bool)` GetScanIdOk returns a tuple with the ScanId field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetScanId -`func (o *VulnerabilityScanResults) SetScanId(v int64)` +`func (o *VulnerabilityScanResultsResponse) SetScanId(v int64)` SetScanId sets ScanId field to given value. diff --git a/docs/VulnerabilityScanVersion.md b/docs/VulnerabilityScanVersion.md new file mode 100644 index 00000000..87ba4ebd --- /dev/null +++ b/docs/VulnerabilityScanVersion.md @@ -0,0 +1,171 @@ +# VulnerabilityScanVersion + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Major** | **int64** | | +**Minor** | **int64** | | +**Operator** | Pointer to **string** | | [optional] [default to ""] +**Patch** | **int64** | | +**RawVersion** | Pointer to **string** | | [optional] [default to ""] +**Version** | Pointer to **string** | | [optional] [default to ""] + +## Methods + +### NewVulnerabilityScanVersion + +`func NewVulnerabilityScanVersion(major int64, minor int64, patch int64, ) *VulnerabilityScanVersion` + +NewVulnerabilityScanVersion instantiates a new VulnerabilityScanVersion object +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 + +### NewVulnerabilityScanVersionWithDefaults + +`func NewVulnerabilityScanVersionWithDefaults() *VulnerabilityScanVersion` + +NewVulnerabilityScanVersionWithDefaults instantiates a new VulnerabilityScanVersion object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetMajor + +`func (o *VulnerabilityScanVersion) GetMajor() int64` + +GetMajor returns the Major field if non-nil, zero value otherwise. + +### GetMajorOk + +`func (o *VulnerabilityScanVersion) GetMajorOk() (*int64, bool)` + +GetMajorOk returns a tuple with the Major field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetMajor + +`func (o *VulnerabilityScanVersion) SetMajor(v int64)` + +SetMajor sets Major field to given value. + + +### GetMinor + +`func (o *VulnerabilityScanVersion) GetMinor() int64` + +GetMinor returns the Minor field if non-nil, zero value otherwise. + +### GetMinorOk + +`func (o *VulnerabilityScanVersion) GetMinorOk() (*int64, bool)` + +GetMinorOk returns a tuple with the Minor field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetMinor + +`func (o *VulnerabilityScanVersion) SetMinor(v int64)` + +SetMinor sets Minor field to given value. + + +### GetOperator + +`func (o *VulnerabilityScanVersion) GetOperator() string` + +GetOperator returns the Operator field if non-nil, zero value otherwise. + +### GetOperatorOk + +`func (o *VulnerabilityScanVersion) GetOperatorOk() (*string, bool)` + +GetOperatorOk returns a tuple with the Operator field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetOperator + +`func (o *VulnerabilityScanVersion) SetOperator(v string)` + +SetOperator sets Operator field to given value. + +### HasOperator + +`func (o *VulnerabilityScanVersion) HasOperator() bool` + +HasOperator returns a boolean if a field has been set. + +### GetPatch + +`func (o *VulnerabilityScanVersion) GetPatch() int64` + +GetPatch returns the Patch field if non-nil, zero value otherwise. + +### GetPatchOk + +`func (o *VulnerabilityScanVersion) GetPatchOk() (*int64, bool)` + +GetPatchOk returns a tuple with the Patch field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetPatch + +`func (o *VulnerabilityScanVersion) SetPatch(v int64)` + +SetPatch sets Patch field to given value. + + +### GetRawVersion + +`func (o *VulnerabilityScanVersion) GetRawVersion() string` + +GetRawVersion returns the RawVersion field if non-nil, zero value otherwise. + +### GetRawVersionOk + +`func (o *VulnerabilityScanVersion) GetRawVersionOk() (*string, bool)` + +GetRawVersionOk returns a tuple with the RawVersion field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetRawVersion + +`func (o *VulnerabilityScanVersion) SetRawVersion(v string)` + +SetRawVersion sets RawVersion field to given value. + +### HasRawVersion + +`func (o *VulnerabilityScanVersion) HasRawVersion() bool` + +HasRawVersion returns a boolean if a field has been set. + +### GetVersion + +`func (o *VulnerabilityScanVersion) GetVersion() string` + +GetVersion returns the Version field if non-nil, zero value otherwise. + +### GetVersionOk + +`func (o *VulnerabilityScanVersion) GetVersionOk() (*string, bool)` + +GetVersionOk returns a tuple with the Version field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetVersion + +`func (o *VulnerabilityScanVersion) SetVersion(v string)` + +SetVersion sets Version field to given value. + +### HasVersion + +`func (o *VulnerabilityScanVersion) HasVersion() bool` + +HasVersion 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/docs/WebhooksOwnerRepoTemplates.md b/docs/WebhookTemplate.md similarity index 55% rename from docs/WebhooksOwnerRepoTemplates.md rename to docs/WebhookTemplate.md index bc8df517..f8822cb4 100644 --- a/docs/WebhooksOwnerRepoTemplates.md +++ b/docs/WebhookTemplate.md @@ -1,81 +1,86 @@ -# WebhooksOwnerRepoTemplates +# WebhookTemplate ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**Event** | Pointer to **string** | | [optional] -**Template** | Pointer to **string** | | [optional] +**Event** | **string** | | +**Template** | Pointer to **NullableString** | | [optional] ## Methods -### NewWebhooksOwnerRepoTemplates +### NewWebhookTemplate -`func NewWebhooksOwnerRepoTemplates() *WebhooksOwnerRepoTemplates` +`func NewWebhookTemplate(event string, ) *WebhookTemplate` -NewWebhooksOwnerRepoTemplates instantiates a new WebhooksOwnerRepoTemplates object +NewWebhookTemplate instantiates a new WebhookTemplate object 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 -### NewWebhooksOwnerRepoTemplatesWithDefaults +### NewWebhookTemplateWithDefaults -`func NewWebhooksOwnerRepoTemplatesWithDefaults() *WebhooksOwnerRepoTemplates` +`func NewWebhookTemplateWithDefaults() *WebhookTemplate` -NewWebhooksOwnerRepoTemplatesWithDefaults instantiates a new WebhooksOwnerRepoTemplates object +NewWebhookTemplateWithDefaults instantiates a new WebhookTemplate object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set ### GetEvent -`func (o *WebhooksOwnerRepoTemplates) GetEvent() string` +`func (o *WebhookTemplate) GetEvent() string` GetEvent returns the Event field if non-nil, zero value otherwise. ### GetEventOk -`func (o *WebhooksOwnerRepoTemplates) GetEventOk() (*string, bool)` +`func (o *WebhookTemplate) GetEventOk() (*string, bool)` GetEventOk returns a tuple with the Event field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetEvent -`func (o *WebhooksOwnerRepoTemplates) SetEvent(v string)` +`func (o *WebhookTemplate) SetEvent(v string)` SetEvent sets Event field to given value. -### HasEvent - -`func (o *WebhooksOwnerRepoTemplates) HasEvent() bool` - -HasEvent returns a boolean if a field has been set. ### GetTemplate -`func (o *WebhooksOwnerRepoTemplates) GetTemplate() string` +`func (o *WebhookTemplate) GetTemplate() string` GetTemplate returns the Template field if non-nil, zero value otherwise. ### GetTemplateOk -`func (o *WebhooksOwnerRepoTemplates) GetTemplateOk() (*string, bool)` +`func (o *WebhookTemplate) GetTemplateOk() (*string, bool)` GetTemplateOk returns a tuple with the Template field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetTemplate -`func (o *WebhooksOwnerRepoTemplates) SetTemplate(v string)` +`func (o *WebhookTemplate) SetTemplate(v string)` SetTemplate sets Template field to given value. ### HasTemplate -`func (o *WebhooksOwnerRepoTemplates) HasTemplate() bool` +`func (o *WebhookTemplate) HasTemplate() bool` HasTemplate returns a boolean if a field has been set. +### SetTemplateNil + +`func (o *WebhookTemplate) SetTemplateNil(b bool)` + + SetTemplateNil sets the value for Template to be an explicit nil + +### UnsetTemplate +`func (o *WebhookTemplate) UnsetTemplate()` + +UnsetTemplate ensures that no value is present for Template, 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/docs/WebhooksApi.md b/docs/WebhooksApi.md index 6751f7f1..1cf7a3e4 100644 --- a/docs/WebhooksApi.md +++ b/docs/WebhooksApi.md @@ -14,7 +14,7 @@ Method | HTTP request | Description ## WebhooksCreate -> RepositoryWebhook WebhooksCreate(ctx, owner, repo).Data(data).Execute() +> RepositoryWebhookResponse WebhooksCreate(ctx, owner, repo).Data(data).Execute() Create a specific webhook in a repository. @@ -35,7 +35,7 @@ import ( func main() { owner := "owner_example" // string | repo := "repo_example" // string | - data := *openapiclient.NewWebhooksCreate([]string{"Events_example"}, "TargetUrl_example", []openapiclient.WebhooksOwnerRepoTemplates{*openapiclient.NewWebhooksOwnerRepoTemplates()}) // WebhooksCreate | (optional) + data := *openapiclient.NewRepositoryWebhookRequest([]string{"Events_example"}, "TargetUrl_example", []openapiclient.WebhookTemplate{nil}) // RepositoryWebhookRequest | (optional) configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) @@ -44,7 +44,7 @@ func main() { fmt.Fprintf(os.Stderr, "Error when calling `WebhooksApi.WebhooksCreate``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } - // response from `WebhooksCreate`: RepositoryWebhook + // response from `WebhooksCreate`: RepositoryWebhookResponse fmt.Fprintf(os.Stdout, "Response from `WebhooksApi.WebhooksCreate`: %v\n", resp) } ``` @@ -67,11 +67,11 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **data** | [**WebhooksCreate**](WebhooksCreate.md) | | + **data** | [**RepositoryWebhookRequest**](RepositoryWebhookRequest.md) | | ### Return type -[**RepositoryWebhook**](RepositoryWebhook.md) +[**RepositoryWebhookResponse**](RepositoryWebhookResponse.md) ### Authorization @@ -80,7 +80,7 @@ Name | Type | Description | Notes ### HTTP request headers - **Content-Type**: application/json -- **Accept**: */* +- **Accept**: application/json [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) @@ -154,7 +154,7 @@ Name | Type | Description | Notes ### HTTP request headers - **Content-Type**: Not defined -- **Accept**: */* +- **Accept**: application/json [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) @@ -163,7 +163,7 @@ Name | Type | Description | Notes ## WebhooksList -> []RepositoryWebhook WebhooksList(ctx, owner, repo).Page(page).PageSize(pageSize).Execute() +> []RepositoryWebhookResponse WebhooksList(ctx, owner, repo).Page(page).PageSize(pageSize).Execute() Get a list of all webhooks in a repository. @@ -194,7 +194,7 @@ func main() { fmt.Fprintf(os.Stderr, "Error when calling `WebhooksApi.WebhooksList``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } - // response from `WebhooksList`: []RepositoryWebhook + // response from `WebhooksList`: []RepositoryWebhookResponse fmt.Fprintf(os.Stdout, "Response from `WebhooksApi.WebhooksList`: %v\n", resp) } ``` @@ -222,7 +222,7 @@ Name | Type | Description | Notes ### Return type -[**[]RepositoryWebhook**](RepositoryWebhook.md) +[**[]RepositoryWebhookResponse**](RepositoryWebhookResponse.md) ### Authorization @@ -231,7 +231,7 @@ Name | Type | Description | Notes ### HTTP request headers - **Content-Type**: Not defined -- **Accept**: */* +- **Accept**: application/json [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) @@ -240,7 +240,7 @@ Name | Type | Description | Notes ## WebhooksPartialUpdate -> RepositoryWebhook WebhooksPartialUpdate(ctx, owner, repo, identifier).Data(data).Execute() +> RepositoryWebhookResponse WebhooksPartialUpdate(ctx, owner, repo, identifier).Data(data).Execute() Update a specific webhook in a repository. @@ -262,7 +262,7 @@ func main() { owner := "owner_example" // string | repo := "repo_example" // string | identifier := "identifier_example" // string | - data := *openapiclient.NewWebhooksPartialUpdate() // WebhooksPartialUpdate | (optional) + data := *openapiclient.NewRepositoryWebhookRequestPatch() // RepositoryWebhookRequestPatch | (optional) configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) @@ -271,7 +271,7 @@ func main() { fmt.Fprintf(os.Stderr, "Error when calling `WebhooksApi.WebhooksPartialUpdate``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } - // response from `WebhooksPartialUpdate`: RepositoryWebhook + // response from `WebhooksPartialUpdate`: RepositoryWebhookResponse fmt.Fprintf(os.Stdout, "Response from `WebhooksApi.WebhooksPartialUpdate`: %v\n", resp) } ``` @@ -296,11 +296,11 @@ Name | Type | Description | Notes - **data** | [**WebhooksPartialUpdate**](WebhooksPartialUpdate.md) | | + **data** | [**RepositoryWebhookRequestPatch**](RepositoryWebhookRequestPatch.md) | | ### Return type -[**RepositoryWebhook**](RepositoryWebhook.md) +[**RepositoryWebhookResponse**](RepositoryWebhookResponse.md) ### Authorization @@ -309,7 +309,7 @@ Name | Type | Description | Notes ### HTTP request headers - **Content-Type**: application/json -- **Accept**: */* +- **Accept**: application/json [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) @@ -318,7 +318,7 @@ Name | Type | Description | Notes ## WebhooksRead -> RepositoryWebhook WebhooksRead(ctx, owner, repo, identifier).Execute() +> RepositoryWebhookResponse WebhooksRead(ctx, owner, repo, identifier).Execute() Views for working with repository webhooks. @@ -348,7 +348,7 @@ func main() { fmt.Fprintf(os.Stderr, "Error when calling `WebhooksApi.WebhooksRead``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } - // response from `WebhooksRead`: RepositoryWebhook + // response from `WebhooksRead`: RepositoryWebhookResponse fmt.Fprintf(os.Stdout, "Response from `WebhooksApi.WebhooksRead`: %v\n", resp) } ``` @@ -376,7 +376,7 @@ Name | Type | Description | Notes ### Return type -[**RepositoryWebhook**](RepositoryWebhook.md) +[**RepositoryWebhookResponse**](RepositoryWebhookResponse.md) ### Authorization @@ -385,7 +385,7 @@ Name | Type | Description | Notes ### HTTP request headers - **Content-Type**: Not defined -- **Accept**: */* +- **Accept**: application/json [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) diff --git a/go.mod b/go.mod index e66f4633..216eae75 100644 --- a/go.mod +++ b/go.mod @@ -2,6 +2,4 @@ module github.com/cloudsmith-io/cloudsmith-api-go go 1.13 -require ( - golang.org/x/oauth2 v0.0.0-20210323180902-22b0adad7558 -) +require golang.org/x/oauth2 v0.0.0-20210323180902-22b0adad7558 diff --git a/go.sum b/go.sum index 734252e6..aca013a6 100644 --- a/go.sum +++ b/go.sum @@ -1,13 +1,362 @@ +cloud.google.com/go v0.26.0/go.mod h1:aQUYkXzVsufM+DwF1aE+0xfcU+56JwCaLick0ClmMTw= cloud.google.com/go v0.34.0/go.mod h1:aQUYkXzVsufM+DwF1aE+0xfcU+56JwCaLick0ClmMTw= -github.com/golang/protobuf v1.2.0 h1:P3YflyNX/ehuJFLhxviNdFxQPkGK5cDcApsge1SqnvM= +cloud.google.com/go v0.38.0/go.mod h1:990N+gfupTy94rShfmMCWGDn0LpTmnzTp2qbd1dvSRU= +cloud.google.com/go v0.44.1/go.mod h1:iSa0KzasP4Uvy3f1mN/7PiObzGgflwredwwASm/v6AU= +cloud.google.com/go v0.44.2/go.mod h1:60680Gw3Yr4ikxnPRS/oxxkBccT6SA1yMk63TGekxKY= +cloud.google.com/go v0.45.1/go.mod h1:RpBamKRgapWJb87xiFSdk4g1CME7QZg3uwTez+TSTjc= +cloud.google.com/go v0.46.3/go.mod h1:a6bKKbmY7er1mI7TEI4lsAkts/mkhTSZK8w33B4RAg0= +cloud.google.com/go v0.50.0/go.mod h1:r9sluTvynVuxRIOHXQEHMFffphuXHOMZMycpNR5e6To= +cloud.google.com/go v0.52.0/go.mod h1:pXajvRH/6o3+F9jDHZWQ5PbGhn+o8w9qiu/CffaVdO4= +cloud.google.com/go v0.53.0/go.mod h1:fp/UouUEsRkN6ryDKNW/Upv/JBKnv6WDthjR6+vze6M= +cloud.google.com/go v0.54.0/go.mod h1:1rq2OEkV3YMf6n/9ZvGWI3GWw0VoqH/1x2nd8Is/bPc= +cloud.google.com/go v0.56.0/go.mod h1:jr7tqZxxKOVYizybht9+26Z/gUq7tiRzu+ACVAMbKVk= +cloud.google.com/go v0.57.0/go.mod h1:oXiQ6Rzq3RAkkY7N6t3TcE6jE+CIBBbA36lwQ1JyzZs= +cloud.google.com/go v0.62.0/go.mod h1:jmCYTdRCQuc1PHIIJ/maLInMho30T/Y0M4hTdTShOYc= +cloud.google.com/go v0.65.0/go.mod h1:O5N8zS7uWy9vkA9vayVHs65eM1ubvY4h553ofrNHObY= +cloud.google.com/go/bigquery v1.0.1/go.mod h1:i/xbL2UlR5RvWAURpBYZTtm/cXjCha9lbfbpx4poX+o= +cloud.google.com/go/bigquery v1.3.0/go.mod h1:PjpwJnslEMmckchkHFfq+HTD2DmtT67aNFKH1/VBDHE= +cloud.google.com/go/bigquery v1.4.0/go.mod h1:S8dzgnTigyfTmLBfrtrhyYhwRxG72rYxvftPBK2Dvzc= +cloud.google.com/go/bigquery v1.5.0/go.mod h1:snEHRnqQbz117VIFhE8bmtwIDY80NLUZUMb4Nv6dBIg= +cloud.google.com/go/bigquery v1.7.0/go.mod h1://okPTzCYNXSlb24MZs83e2Do+h+VXtc4gLoIoXIAPc= +cloud.google.com/go/bigquery v1.8.0/go.mod h1:J5hqkt3O0uAFnINi6JXValWIb1v0goeZM77hZzJN/fQ= +cloud.google.com/go/datastore v1.0.0/go.mod h1:LXYbyblFSglQ5pkeyhO+Qmw7ukd3C+pD7TKLgZqpHYE= +cloud.google.com/go/datastore v1.1.0/go.mod h1:umbIZjpQpHh4hmRpGhH4tLFup+FVzqBi1b3c64qFpCk= +cloud.google.com/go/pubsub v1.0.1/go.mod h1:R0Gpsv3s54REJCy4fxDixWD93lHJMoZTyQ2kNxGRt3I= +cloud.google.com/go/pubsub v1.1.0/go.mod h1:EwwdRX2sKPjnvnqCa270oGRyludottCI76h+R3AArQw= +cloud.google.com/go/pubsub v1.2.0/go.mod h1:jhfEVHT8odbXTkndysNHCcx0awwzvfOlguIAii9o8iA= +cloud.google.com/go/pubsub v1.3.1/go.mod h1:i+ucay31+CNRpDW4Lu78I4xXG+O1r/MAHgjpRVR+TSU= +cloud.google.com/go/storage v1.0.0/go.mod h1:IhtSnM/ZTZV8YYJWCY8RULGVqBDmpoyjwiyrjsg+URw= +cloud.google.com/go/storage v1.5.0/go.mod h1:tpKbwo567HUNpVclU5sGELwQWBDZ8gh0ZeosJ0Rtdos= +cloud.google.com/go/storage v1.6.0/go.mod h1:N7U0C8pVQ/+NIKOBQyamJIeKQKkZ+mxpohlUTyfDhBk= +cloud.google.com/go/storage v1.8.0/go.mod h1:Wv1Oy7z6Yz3DshWRJFhqM/UCfaWIRTdp0RXyy7KQOVs= +cloud.google.com/go/storage v1.10.0/go.mod h1:FLPqc6j+Ki4BU591ie1oL6qBQGu2Bl/tZ9ullr3+Kg0= +dmitri.shuralyov.com/gpu/mtl v0.0.0-20190408044501-666a987793e9/go.mod h1:H6x//7gZCb22OMCxBHrMx7a5I7Hp++hsVxbQ4BYO7hU= +github.com/BurntSushi/toml v0.3.1/go.mod h1:xHWCNGjB5oqiDr8zfno3MHue2Ht5sIBksp03qcyfWMU= +github.com/BurntSushi/xgb v0.0.0-20160522181843-27f122750802/go.mod h1:IVnqGOEym/WlBOVXweHU+Q+/VP0lqqI8lqeDx9IjBqo= +github.com/census-instrumentation/opencensus-proto v0.2.1/go.mod h1:f6KPmirojxKA12rnyqOA5BBL4O983OfeGPqjHWSTneU= +github.com/chzyer/logex v1.1.10/go.mod h1:+Ywpsq7O8HXn0nuIou7OrIPyXbp3wmkHB+jjWRnGsAI= +github.com/chzyer/readline v0.0.0-20180603132655-2972be24d48e/go.mod h1:nSuG5e5PlCu98SY8svDHJxuZscDgtXS6KTTbou5AhLI= +github.com/chzyer/test v0.0.0-20180213035817-a1ea475d72b1/go.mod h1:Q3SI9o4m/ZMnBNeIyt5eFwwo7qiLfzFZmjNmxjkiQlU= +github.com/client9/misspell v0.3.4/go.mod h1:qj6jICC3Q7zFZvVWo7KLAzC3yx5G7kyvSDkc90ppPyw= +github.com/cncf/udpa/go v0.0.0-20191209042840-269d4d468f6f/go.mod h1:M8M6+tZqaGXZJjfX53e64911xZQV5JYwmTeXPW+k8Sc= +github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= +github.com/envoyproxy/go-control-plane v0.9.0/go.mod h1:YTl/9mNaCwkRvm6d1a2C3ymFceY/DCBVvsKhRF0iEA4= +github.com/envoyproxy/go-control-plane v0.9.1-0.20191026205805-5f8ba28d4473/go.mod h1:YTl/9mNaCwkRvm6d1a2C3ymFceY/DCBVvsKhRF0iEA4= +github.com/envoyproxy/go-control-plane v0.9.4/go.mod h1:6rpuAdCZL397s3pYoYcLgu1mIlRU8Am5FuJP05cCM98= +github.com/envoyproxy/protoc-gen-validate v0.1.0/go.mod h1:iSmxcyjqTsJpI2R4NaDN7+kN2VEUnK/pcBlmesArF7c= +github.com/go-gl/glfw v0.0.0-20190409004039-e6da0acd62b1/go.mod h1:vR7hzQXu2zJy9AVAgeJqvqgH9Q5CA+iKCZ2gyEVpxRU= +github.com/go-gl/glfw/v3.3/glfw v0.0.0-20191125211704-12ad95a8df72/go.mod h1:tQ2UAYgL5IevRw8kRxooKSPJfGvJ9fJQFa0TUsXzTg8= +github.com/go-gl/glfw/v3.3/glfw v0.0.0-20200222043503-6f7a984d4dc4/go.mod h1:tQ2UAYgL5IevRw8kRxooKSPJfGvJ9fJQFa0TUsXzTg8= +github.com/golang/glog v0.0.0-20160126235308-23def4e6c14b/go.mod h1:SBH7ygxi8pfUlaOkMMuAQtPIUF8ecWP5IEl/CR7VP2Q= +github.com/golang/groupcache v0.0.0-20190702054246-869f871628b6/go.mod h1:cIg4eruTrX1D+g88fzRXU5OdNfaM+9IcxsU14FzY7Hc= +github.com/golang/groupcache v0.0.0-20191227052852-215e87163ea7/go.mod h1:cIg4eruTrX1D+g88fzRXU5OdNfaM+9IcxsU14FzY7Hc= +github.com/golang/groupcache v0.0.0-20200121045136-8c9f03a8e57e/go.mod h1:cIg4eruTrX1D+g88fzRXU5OdNfaM+9IcxsU14FzY7Hc= +github.com/golang/mock v1.1.1/go.mod h1:oTYuIxOrZwtPieC+H1uAHpcLFnEyAGVDL/k47Jfbm0A= +github.com/golang/mock v1.2.0/go.mod h1:oTYuIxOrZwtPieC+H1uAHpcLFnEyAGVDL/k47Jfbm0A= +github.com/golang/mock v1.3.1/go.mod h1:sBzyDLLjw3U8JLTeZvSv8jJB+tU5PVekmnlKIyFUx0Y= +github.com/golang/mock v1.4.0/go.mod h1:UOMv5ysSaYNkG+OFQykRIcU/QvvxJf3p21QfJ2Bt3cw= +github.com/golang/mock v1.4.1/go.mod h1:UOMv5ysSaYNkG+OFQykRIcU/QvvxJf3p21QfJ2Bt3cw= +github.com/golang/mock v1.4.3/go.mod h1:UOMv5ysSaYNkG+OFQykRIcU/QvvxJf3p21QfJ2Bt3cw= +github.com/golang/mock v1.4.4/go.mod h1:l3mdAwkq5BuhzHwde/uurv3sEJeZMXNpwsxVWU71h+4= github.com/golang/protobuf v1.2.0/go.mod h1:6lQm79b+lXiMfvg/cZm0SGofjICqVBUtrP5yJMmIC1U= +github.com/golang/protobuf v1.3.1/go.mod h1:6lQm79b+lXiMfvg/cZm0SGofjICqVBUtrP5yJMmIC1U= +github.com/golang/protobuf v1.3.2/go.mod h1:6lQm79b+lXiMfvg/cZm0SGofjICqVBUtrP5yJMmIC1U= +github.com/golang/protobuf v1.3.3/go.mod h1:vzj43D7+SQXF/4pzW/hwtAqwc6iTitCiVSaWz5lYuqw= +github.com/golang/protobuf v1.3.4/go.mod h1:vzj43D7+SQXF/4pzW/hwtAqwc6iTitCiVSaWz5lYuqw= +github.com/golang/protobuf v1.3.5/go.mod h1:6O5/vntMXwX2lRkT1hjjk0nAC1IDOTvTlVgjlRvqsdk= +github.com/golang/protobuf v1.4.0-rc.1/go.mod h1:ceaxUfeHdC40wWswd/P6IGgMaK3YpKi5j83Wpe3EHw8= +github.com/golang/protobuf v1.4.0-rc.1.0.20200221234624-67d41d38c208/go.mod h1:xKAWHe0F5eneWXFV3EuXVDTCmh+JuBKY0li0aMyXATA= +github.com/golang/protobuf v1.4.0-rc.2/go.mod h1:LlEzMj4AhA7rCAGe4KMBDvJI+AwstrUpVNzEA03Pprs= +github.com/golang/protobuf v1.4.0-rc.4.0.20200313231945-b860323f09d0/go.mod h1:WU3c8KckQ9AFe+yFwt9sWVRKCVIyN9cPHBJSNnbL67w= +github.com/golang/protobuf v1.4.0/go.mod h1:jodUvKwWbYaEsadDk5Fwe5c77LiNKVO9IDvqG2KuDX0= +github.com/golang/protobuf v1.4.1/go.mod h1:U8fpvMrcmy5pZrNK1lt4xCsGvpyWQ/VVv6QDs8UjoX8= +github.com/golang/protobuf v1.4.2 h1:+Z5KGCizgyZCbGh1KZqA0fcLLkwbsjIzS4aV2v7wJX0= +github.com/golang/protobuf v1.4.2/go.mod h1:oDoupMAO8OvCJWAcko0GGGIgR6R6ocIYbsSw735rRwI= +github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c/go.mod h1:lNA+9X1NB3Zf8V7Ke586lFgjr2dZNuvo3lPJSGZ5JPQ= +github.com/google/btree v1.0.0/go.mod h1:lNA+9X1NB3Zf8V7Ke586lFgjr2dZNuvo3lPJSGZ5JPQ= +github.com/google/go-cmp v0.2.0/go.mod h1:oXzfMopK8JAjlY9xF4vHSVASa0yLyX7SntLO5aqRK0M= +github.com/google/go-cmp v0.3.0/go.mod h1:8QqcDgzrUqlUb/G2PQTWiueGozuR1884gddMywk6iLU= +github.com/google/go-cmp v0.3.1/go.mod h1:8QqcDgzrUqlUb/G2PQTWiueGozuR1884gddMywk6iLU= +github.com/google/go-cmp v0.4.0/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE= +github.com/google/go-cmp v0.4.1/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE= +github.com/google/go-cmp v0.5.0/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE= +github.com/google/go-cmp v0.5.1 h1:JFrFEBb2xKufg6XkJsJr+WbKb4FQlURi5RUcBveYu9k= +github.com/google/go-cmp v0.5.1/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE= +github.com/google/martian v2.1.0+incompatible/go.mod h1:9I4somxYTbIHy5NJKHRl3wXiIaQGbYVAs8BPL6v8lEs= +github.com/google/martian/v3 v3.0.0/go.mod h1:y5Zk1BBys9G+gd6Jrk0W3cC1+ELVxBWuIGO+w/tUAp0= +github.com/google/pprof v0.0.0-20181206194817-3ea8567a2e57/go.mod h1:zfwlbNMJ+OItoe0UupaVj+oy1omPYYDuagoSzA8v9mc= +github.com/google/pprof v0.0.0-20190515194954-54271f7e092f/go.mod h1:zfwlbNMJ+OItoe0UupaVj+oy1omPYYDuagoSzA8v9mc= +github.com/google/pprof v0.0.0-20191218002539-d4f498aebedc/go.mod h1:ZgVRPoUq/hfqzAqh7sHMqb3I9Rq5C59dIz2SbBwJ4eM= +github.com/google/pprof v0.0.0-20200212024743-f11f1df84d12/go.mod h1:ZgVRPoUq/hfqzAqh7sHMqb3I9Rq5C59dIz2SbBwJ4eM= +github.com/google/pprof v0.0.0-20200229191704-1ebb73c60ed3/go.mod h1:ZgVRPoUq/hfqzAqh7sHMqb3I9Rq5C59dIz2SbBwJ4eM= +github.com/google/pprof v0.0.0-20200430221834-fc25d7d30c6d/go.mod h1:ZgVRPoUq/hfqzAqh7sHMqb3I9Rq5C59dIz2SbBwJ4eM= +github.com/google/pprof v0.0.0-20200708004538-1a94d8640e99/go.mod h1:ZgVRPoUq/hfqzAqh7sHMqb3I9Rq5C59dIz2SbBwJ4eM= +github.com/google/renameio v0.1.0/go.mod h1:KWCgfxg9yswjAJkECMjeO8J8rahYeXnNhOm40UhjYkI= +github.com/googleapis/gax-go/v2 v2.0.4/go.mod h1:0Wqv26UfaUD9n4G6kQubkQ+KchISgw+vpHVxEJEs9eg= +github.com/googleapis/gax-go/v2 v2.0.5/go.mod h1:DWXyrwAJ9X0FpwwEdw+IPEYBICEFu5mhpdKc/us6bOk= +github.com/hashicorp/golang-lru v0.5.0/go.mod h1:/m3WP610KZHVQ1SGc6re/UDhFvYD7pJ4Ao+sR/qLZy8= +github.com/hashicorp/golang-lru v0.5.1/go.mod h1:/m3WP610KZHVQ1SGc6re/UDhFvYD7pJ4Ao+sR/qLZy8= +github.com/ianlancetaylor/demangle v0.0.0-20181102032728-5e5cf60278f6/go.mod h1:aSSvb/t6k1mPoxDqO4vJh6VOCGPwU4O0C2/Eqndh1Sc= +github.com/jstemmer/go-junit-report v0.0.0-20190106144839-af01ea7f8024/go.mod h1:6v2b51hI/fHJwM22ozAgKL4VKDeJcHhJFhtBdhmNjmU= +github.com/jstemmer/go-junit-report v0.9.1/go.mod h1:Brl9GWCQeLvo8nXZwPNNblvFj/XSXhF0NWZEnDohbsk= +github.com/kisielk/gotool v1.0.0/go.mod h1:XhKaO+MFFWcvkIS/tQcRk01m1F5IRFswLeQ+oQHNcck= +github.com/kr/pretty v0.1.0/go.mod h1:dAy3ld7l9f0ibDNOQOHHMYYIIbhfbHSm3C4ZsoJORNo= +github.com/kr/pty v1.1.1/go.mod h1:pFQYn66WHrOpPYNljwOMqo10TkYh1fy3cYio2l3bCsQ= +github.com/kr/text v0.1.0/go.mod h1:4Jbv+DJW3UT/LiOwJeYQe1efqtUx/iVham/4vfdArNI= +github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4= +github.com/prometheus/client_model v0.0.0-20190812154241-14fe0d1b01d4/go.mod h1:xMI15A0UPsDsEKsMN9yxemIoYk6Tm2C1GtYGdfGttqA= +github.com/rogpeppe/go-internal v1.3.0/go.mod h1:M8bDsm7K2OlrFYOpmOWEs/qY81heoFRclV5y23lUDJ4= +github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME= +github.com/stretchr/testify v1.4.0/go.mod h1:j7eGeouHqKxXV5pUuKE4zz7dFj8WfuZ+81PSLYec5m4= +github.com/yuin/goldmark v1.1.25/go.mod h1:3hX8gzYuyVAZsxl0MRgGTJEmQBFcNTphYh9decYSb74= +github.com/yuin/goldmark v1.1.27/go.mod h1:3hX8gzYuyVAZsxl0MRgGTJEmQBFcNTphYh9decYSb74= +github.com/yuin/goldmark v1.1.32/go.mod h1:3hX8gzYuyVAZsxl0MRgGTJEmQBFcNTphYh9decYSb74= +go.opencensus.io v0.21.0/go.mod h1:mSImk1erAIZhrmZN+AvHh14ztQfjbGwt4TtuofqLduU= +go.opencensus.io v0.22.0/go.mod h1:+kGneAE2xo2IficOXnaByMWTGM9T73dGwxeWcUqIpI8= +go.opencensus.io v0.22.2/go.mod h1:yxeiOL68Rb0Xd1ddK5vPZ/oVn4vY4Ynel7k9FzqtOIw= +go.opencensus.io v0.22.3/go.mod h1:yxeiOL68Rb0Xd1ddK5vPZ/oVn4vY4Ynel7k9FzqtOIw= +go.opencensus.io v0.22.4/go.mod h1:yxeiOL68Rb0Xd1ddK5vPZ/oVn4vY4Ynel7k9FzqtOIw= +golang.org/x/crypto v0.0.0-20190308221718-c2843e01d9a2/go.mod h1:djNgcEr1/C05ACkg1iLfiJU5Ep61QUkGW8qpdssI0+w= +golang.org/x/crypto v0.0.0-20190510104115-cbcb75029529/go.mod h1:yigFU9vqHzYiE8UmvKecakEJjdnWj3jj499lnFckfCI= +golang.org/x/crypto v0.0.0-20190605123033-f99c8df09eb5/go.mod h1:yigFU9vqHzYiE8UmvKecakEJjdnWj3jj499lnFckfCI= +golang.org/x/crypto v0.0.0-20191011191535-87dc89f01550/go.mod h1:yigFU9vqHzYiE8UmvKecakEJjdnWj3jj499lnFckfCI= +golang.org/x/crypto v0.0.0-20200622213623-75b288015ac9/go.mod h1:LzIPMQfyMNhhGPhUkYOs5KpL4U8rLKemX1yGLhDgUto= +golang.org/x/exp v0.0.0-20190121172915-509febef88a4/go.mod h1:CJ0aWSM057203Lf6IL+f9T1iT9GByDxfZKAQTCR3kQA= +golang.org/x/exp v0.0.0-20190306152737-a1d7652674e8/go.mod h1:CJ0aWSM057203Lf6IL+f9T1iT9GByDxfZKAQTCR3kQA= +golang.org/x/exp v0.0.0-20190510132918-efd6b22b2522/go.mod h1:ZjyILWgesfNpC6sMxTJOJm9Kp84zZh5NQWvqDGG3Qr8= +golang.org/x/exp v0.0.0-20190829153037-c13cbed26979/go.mod h1:86+5VVa7VpoJ4kLfm080zCjGlMRFzhUhsZKEZO7MGek= +golang.org/x/exp v0.0.0-20191030013958-a1ab85dbe136/go.mod h1:JXzH8nQsPlswgeRAPE3MuO9GYsAcnJvJ4vnMwN/5qkY= +golang.org/x/exp v0.0.0-20191129062945-2f5052295587/go.mod h1:2RIsYlXP63K8oxa1u096TMicItID8zy7Y6sNkU49FU4= +golang.org/x/exp v0.0.0-20191227195350-da58074b4299/go.mod h1:2RIsYlXP63K8oxa1u096TMicItID8zy7Y6sNkU49FU4= +golang.org/x/exp v0.0.0-20200119233911-0405dc783f0a/go.mod h1:2RIsYlXP63K8oxa1u096TMicItID8zy7Y6sNkU49FU4= +golang.org/x/exp v0.0.0-20200207192155-f17229e696bd/go.mod h1:J/WKrq2StrnmMY6+EHIKF9dgMWnmCNThgcyBT1FY9mM= +golang.org/x/exp v0.0.0-20200224162631-6cc2880d07d6/go.mod h1:3jZMyOhIsHpP37uCMkUooju7aAi5cS1Q23tOzKc+0MU= +golang.org/x/image v0.0.0-20190227222117-0694c2d4d067/go.mod h1:kZ7UVZpmo3dzQBMxlp+ypCbDeSB+sBbTgSJuh5dn5js= +golang.org/x/image v0.0.0-20190802002840-cff245a6509b/go.mod h1:FeLwcggjj3mMvU+oOTbSwawSJRM1uh48EjtB4UJZlP0= +golang.org/x/lint v0.0.0-20181026193005-c67002cb31c3/go.mod h1:UVdnD1Gm6xHRNCYTkRU2/jEulfH38KcIWyp/GAMgvoE= +golang.org/x/lint v0.0.0-20190227174305-5b3e6a55c961/go.mod h1:wehouNa3lNwaWXcvxsM5YxQ5yQlVC4a0KAMCusXpPoU= +golang.org/x/lint v0.0.0-20190301231843-5614ed5bae6f/go.mod h1:UVdnD1Gm6xHRNCYTkRU2/jEulfH38KcIWyp/GAMgvoE= +golang.org/x/lint v0.0.0-20190313153728-d0100b6bd8b3/go.mod h1:6SW0HCj/g11FgYtHlgUYUwCkIfeOF89ocIRzGO/8vkc= +golang.org/x/lint v0.0.0-20190409202823-959b441ac422/go.mod h1:6SW0HCj/g11FgYtHlgUYUwCkIfeOF89ocIRzGO/8vkc= +golang.org/x/lint v0.0.0-20190909230951-414d861bb4ac/go.mod h1:6SW0HCj/g11FgYtHlgUYUwCkIfeOF89ocIRzGO/8vkc= +golang.org/x/lint v0.0.0-20190930215403-16217165b5de/go.mod h1:6SW0HCj/g11FgYtHlgUYUwCkIfeOF89ocIRzGO/8vkc= +golang.org/x/lint v0.0.0-20191125180803-fdd1cda4f05f/go.mod h1:5qLYkcX4OjUUV8bRuDixDT3tpyyb+LUpUlRWLxfhWrs= +golang.org/x/lint v0.0.0-20200130185559-910be7a94367/go.mod h1:3xt1FjdF8hUf6vQPIChWIBhFzV8gjjsPE/fR3IyQdNY= +golang.org/x/lint v0.0.0-20200302205851-738671d3881b/go.mod h1:3xt1FjdF8hUf6vQPIChWIBhFzV8gjjsPE/fR3IyQdNY= +golang.org/x/mobile v0.0.0-20190312151609-d3739f865fa6/go.mod h1:z+o9i4GpDbdi3rU15maQ/Ox0txvL9dWGYEHz965HBQE= +golang.org/x/mobile v0.0.0-20190719004257-d2bd2a29d028/go.mod h1:E/iHnbuqvinMTCcRqshq8CkpyQDoeVncDDYHnLhea+o= +golang.org/x/mod v0.0.0-20190513183733-4bf6d317e70e/go.mod h1:mXi4GBBbnImb6dmsKGUJ2LatrhH/nqhxcFungHvyanc= +golang.org/x/mod v0.1.0/go.mod h1:0QHyrYULN0/3qlju5TqG8bIK38QM8yzMo5ekMj3DlcY= +golang.org/x/mod v0.1.1-0.20191105210325-c90efee705ee/go.mod h1:QqPTAvyqsEbceGzBzNggFXnrqF1CaUcvgkdR5Ot7KZg= +golang.org/x/mod v0.1.1-0.20191107180719-034126e5016b/go.mod h1:QqPTAvyqsEbceGzBzNggFXnrqF1CaUcvgkdR5Ot7KZg= +golang.org/x/mod v0.2.0/go.mod h1:s0Qsj1ACt9ePp/hMypM3fl4fZqREWJwdYDEqhRiZZUA= +golang.org/x/mod v0.3.0/go.mod h1:s0Qsj1ACt9ePp/hMypM3fl4fZqREWJwdYDEqhRiZZUA= golang.org/x/net v0.0.0-20180724234803-3673e40ba225/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= -golang.org/x/net v0.0.0-20190108225652-1e06a53dbb7e h1:bRhVy7zSSasaqNksaRZiA5EEI+Ei4I1nO5Jh72wfHlg= +golang.org/x/net v0.0.0-20180826012351-8a410e7b638d/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= golang.org/x/net v0.0.0-20190108225652-1e06a53dbb7e/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= -golang.org/x/oauth2 v0.0.0-20190604053449-0f29369cfe45 h1:SVwTIAaPC2U/AvvLNZ2a7OVsmBpC8L5BlwK1whH3hm0= +golang.org/x/net v0.0.0-20190213061140-3a22650c66bd/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= +golang.org/x/net v0.0.0-20190311183353-d8887717615a/go.mod h1:t9HGtf8HONx5eT2rtn7q6eTqICYqUVnKs3thJo3Qplg= +golang.org/x/net v0.0.0-20190404232315-eb5bcb51f2a3/go.mod h1:t9HGtf8HONx5eT2rtn7q6eTqICYqUVnKs3thJo3Qplg= +golang.org/x/net v0.0.0-20190501004415-9ce7a6920f09/go.mod h1:t9HGtf8HONx5eT2rtn7q6eTqICYqUVnKs3thJo3Qplg= +golang.org/x/net v0.0.0-20190503192946-f4e77d36d62c/go.mod h1:t9HGtf8HONx5eT2rtn7q6eTqICYqUVnKs3thJo3Qplg= +golang.org/x/net v0.0.0-20190603091049-60506f45cf65/go.mod h1:HSz+uSET+XFnRR8LxR5pz3Of3rY3CfYBVs4xY44aLks= +golang.org/x/net v0.0.0-20190620200207-3b0461eec859/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s= +golang.org/x/net v0.0.0-20190628185345-da137c7871d7/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s= +golang.org/x/net v0.0.0-20190724013045-ca1201d0de80/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s= +golang.org/x/net v0.0.0-20191209160850-c0dbc17a3553/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s= +golang.org/x/net v0.0.0-20200114155413-6afb5195e5aa/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s= +golang.org/x/net v0.0.0-20200202094626-16171245cfb2/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s= +golang.org/x/net v0.0.0-20200222125558-5a598a2470a0/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s= +golang.org/x/net v0.0.0-20200226121028-0de0cce0169b/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s= +golang.org/x/net v0.0.0-20200301022130-244492dfa37a/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s= +golang.org/x/net v0.0.0-20200324143707-d3edc9973b7e/go.mod h1:qpuaurCH72eLCgpAm/N6yyVIVM9cpaDIP3A8BGJEC5A= +golang.org/x/net v0.0.0-20200501053045-e0ff5e5a1de5/go.mod h1:qpuaurCH72eLCgpAm/N6yyVIVM9cpaDIP3A8BGJEC5A= +golang.org/x/net v0.0.0-20200506145744-7e3656a0809f/go.mod h1:qpuaurCH72eLCgpAm/N6yyVIVM9cpaDIP3A8BGJEC5A= +golang.org/x/net v0.0.0-20200513185701-a91f0712d120/go.mod h1:qpuaurCH72eLCgpAm/N6yyVIVM9cpaDIP3A8BGJEC5A= +golang.org/x/net v0.0.0-20200520182314-0ba52f642ac2/go.mod h1:qpuaurCH72eLCgpAm/N6yyVIVM9cpaDIP3A8BGJEC5A= +golang.org/x/net v0.0.0-20200625001655-4c5254603344/go.mod h1:/O7V0waA8r7cgGh81Ro3o1hOxt32SMVPicZroKQ2sZA= +golang.org/x/net v0.0.0-20200707034311-ab3426394381/go.mod h1:/O7V0waA8r7cgGh81Ro3o1hOxt32SMVPicZroKQ2sZA= +golang.org/x/net v0.0.0-20200822124328-c89045814202 h1:VvcQYSHwXgi7W+TpUR6A9g6Up98WAHf3f/ulnJ62IyA= +golang.org/x/net v0.0.0-20200822124328-c89045814202/go.mod h1:/O7V0waA8r7cgGh81Ro3o1hOxt32SMVPicZroKQ2sZA= +golang.org/x/oauth2 v0.0.0-20180821212333-d2e6202438be/go.mod h1:N/0e6XlmueqKjAGxoOufVs8QHGRruUQn6yWY3a++T0U= +golang.org/x/oauth2 v0.0.0-20190226205417-e64efc72b421/go.mod h1:gOpvHmFTYa4IltrdGE7lF6nIHvwfUNPOp7c8zoXwtLw= golang.org/x/oauth2 v0.0.0-20190604053449-0f29369cfe45/go.mod h1:gOpvHmFTYa4IltrdGE7lF6nIHvwfUNPOp7c8zoXwtLw= -golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 h1:YUO/7uOKsKeq9UokNS62b8FYywz3ker1l1vDZRCRefw= +golang.org/x/oauth2 v0.0.0-20191202225959-858c2ad4c8b6/go.mod h1:gOpvHmFTYa4IltrdGE7lF6nIHvwfUNPOp7c8zoXwtLw= +golang.org/x/oauth2 v0.0.0-20200107190931-bf48bf16ab8d/go.mod h1:gOpvHmFTYa4IltrdGE7lF6nIHvwfUNPOp7c8zoXwtLw= +golang.org/x/oauth2 v0.0.0-20210323180902-22b0adad7558 h1:D7nTwh4J0i+5mW4Zjzn5omvlr6YBcWywE6KOcatyNxY= +golang.org/x/oauth2 v0.0.0-20210323180902-22b0adad7558/go.mod h1:KelEdhl1UZF7XfJ4dDtk6s++YSgaE7mD/BuKKDLBl4A= +golang.org/x/sync v0.0.0-20180314180146-1d60e4601c6f/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= +golang.org/x/sync v0.0.0-20181108010431-42b317875d0f/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= +golang.org/x/sync v0.0.0-20190227155943-e225da77a7e6/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= +golang.org/x/sync v0.0.0-20190423024810-112230192c58/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= +golang.org/x/sync v0.0.0-20190911185100-cd5d95a43a6e/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= +golang.org/x/sync v0.0.0-20200317015054-43a5402ce75a/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= +golang.org/x/sync v0.0.0-20200625203802-6e8e738ad208/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= +golang.org/x/sys v0.0.0-20180830151530-49385e6e1522/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= +golang.org/x/sys v0.0.0-20190215142949-d0b11bdaac8a/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= +golang.org/x/sys v0.0.0-20190312061237-fead79001313/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20190412213103-97732733099d/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20190502145724-3ef323f4f1fd/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20190507160741-ecd444e8653b/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20190606165138-5da285871e9c/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20190624142023-c5567b49c5d0/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20190726091711-fc99dfbffb4e/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20191001151750-bb3f8db39f24/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20191204072324-ce4227a45e2e/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20191228213918-04cbcbbfeed8/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20200113162924-86b910548bc1/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20200122134326-e047566fdf82/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20200202164722-d101bd2416d5/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20200212091648-12a6c2dcc1e4/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20200223170610-d5e6a3e2c0ae/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20200302150141-5c8b2ff67527/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20200323222414-85ca7c5b95cd/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20200331124033-c3d80250170d/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20200501052902-10377860bb8e/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20200511232937-7e40ca221e25/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20200515095857-1151b9dac4a9/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20200523222454-059865788121/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20200803210538-64077c9b5642/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/text v0.0.0-20170915032832-14c0d48ead0c/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ= golang.org/x/text v0.3.0/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ= -google.golang.org/appengine v1.4.0 h1:/wp5JvzpHIxhs/dumFmF7BXTf3Z+dd4uXta4kVyO508= +golang.org/x/text v0.3.1-0.20180807135948-17ff2d5776d2/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ= +golang.org/x/text v0.3.2/go.mod h1:bEr9sfX3Q8Zfm5fL9x+3itogRgK3+ptLWKqgva+5dAk= +golang.org/x/text v0.3.3/go.mod h1:5Zoc/QRtKVWzQhOtBMvqHzDpF6irO9z98xDceosuGiQ= +golang.org/x/time v0.0.0-20181108054448-85acf8d2951c/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ= +golang.org/x/time v0.0.0-20190308202827-9d24e82272b4/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ= +golang.org/x/time v0.0.0-20191024005414-555d28b269f0/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ= +golang.org/x/tools v0.0.0-20180917221912-90fa682c2a6e/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ= +golang.org/x/tools v0.0.0-20190114222345-bf090417da8b/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ= +golang.org/x/tools v0.0.0-20190226205152-f727befe758c/go.mod h1:9Yl7xja0Znq3iFh3HoIrodX9oNMXvdceNzlUR8zjMvY= +golang.org/x/tools v0.0.0-20190311212946-11955173bddd/go.mod h1:LCzVGOaR6xXOjkQ3onu1FJEFr0SW1gC7cKk1uF8kGRs= +golang.org/x/tools v0.0.0-20190312151545-0bb0c0a6e846/go.mod h1:LCzVGOaR6xXOjkQ3onu1FJEFr0SW1gC7cKk1uF8kGRs= +golang.org/x/tools v0.0.0-20190312170243-e65039ee4138/go.mod h1:LCzVGOaR6xXOjkQ3onu1FJEFr0SW1gC7cKk1uF8kGRs= +golang.org/x/tools v0.0.0-20190425150028-36563e24a262/go.mod h1:RgjU9mgBXZiqYHBnxXauZ1Gv1EHHAz9KjViQ78xBX0Q= +golang.org/x/tools v0.0.0-20190506145303-2d16b83fe98c/go.mod h1:RgjU9mgBXZiqYHBnxXauZ1Gv1EHHAz9KjViQ78xBX0Q= +golang.org/x/tools v0.0.0-20190524140312-2c0ae7006135/go.mod h1:RgjU9mgBXZiqYHBnxXauZ1Gv1EHHAz9KjViQ78xBX0Q= +golang.org/x/tools v0.0.0-20190606124116-d0a3d012864b/go.mod h1:/rFqwRUd4F7ZHNgwSSTFct+R/Kf4OFW1sUzUTQQTgfc= +golang.org/x/tools v0.0.0-20190621195816-6e04913cbbac/go.mod h1:/rFqwRUd4F7ZHNgwSSTFct+R/Kf4OFW1sUzUTQQTgfc= +golang.org/x/tools v0.0.0-20190628153133-6cdbf07be9d0/go.mod h1:/rFqwRUd4F7ZHNgwSSTFct+R/Kf4OFW1sUzUTQQTgfc= +golang.org/x/tools v0.0.0-20190816200558-6889da9d5479/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo= +golang.org/x/tools v0.0.0-20190911174233-4f2ddba30aff/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo= +golang.org/x/tools v0.0.0-20191012152004-8de300cfc20a/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo= +golang.org/x/tools v0.0.0-20191113191852-77e3bb0ad9e7/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo= +golang.org/x/tools v0.0.0-20191115202509-3a792d9c32b2/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo= +golang.org/x/tools v0.0.0-20191119224855-298f0cb1881e/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo= +golang.org/x/tools v0.0.0-20191125144606-a911d9008d1f/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo= +golang.org/x/tools v0.0.0-20191130070609-6e064ea0cf2d/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo= +golang.org/x/tools v0.0.0-20191216173652-a0e659d51361/go.mod h1:TB2adYChydJhpapKDTa4BR/hXlZSLoq2Wpct/0txZ28= +golang.org/x/tools v0.0.0-20191227053925-7b8e75db28f4/go.mod h1:TB2adYChydJhpapKDTa4BR/hXlZSLoq2Wpct/0txZ28= +golang.org/x/tools v0.0.0-20200117161641-43d50277825c/go.mod h1:TB2adYChydJhpapKDTa4BR/hXlZSLoq2Wpct/0txZ28= +golang.org/x/tools v0.0.0-20200122220014-bf1340f18c4a/go.mod h1:TB2adYChydJhpapKDTa4BR/hXlZSLoq2Wpct/0txZ28= +golang.org/x/tools v0.0.0-20200130002326-2f3ba24bd6e7/go.mod h1:TB2adYChydJhpapKDTa4BR/hXlZSLoq2Wpct/0txZ28= +golang.org/x/tools v0.0.0-20200204074204-1cc6d1ef6c74/go.mod h1:TB2adYChydJhpapKDTa4BR/hXlZSLoq2Wpct/0txZ28= +golang.org/x/tools v0.0.0-20200207183749-b753a1ba74fa/go.mod h1:TB2adYChydJhpapKDTa4BR/hXlZSLoq2Wpct/0txZ28= +golang.org/x/tools v0.0.0-20200212150539-ea181f53ac56/go.mod h1:TB2adYChydJhpapKDTa4BR/hXlZSLoq2Wpct/0txZ28= +golang.org/x/tools v0.0.0-20200224181240-023911ca70b2/go.mod h1:TB2adYChydJhpapKDTa4BR/hXlZSLoq2Wpct/0txZ28= +golang.org/x/tools v0.0.0-20200227222343-706bc42d1f0d/go.mod h1:TB2adYChydJhpapKDTa4BR/hXlZSLoq2Wpct/0txZ28= +golang.org/x/tools v0.0.0-20200304193943-95d2e580d8eb/go.mod h1:o4KQGtdN14AW+yjsvvwRTJJuXz8XRtIHtEnmAXLyFUw= +golang.org/x/tools v0.0.0-20200312045724-11d5b4c81c7d/go.mod h1:o4KQGtdN14AW+yjsvvwRTJJuXz8XRtIHtEnmAXLyFUw= +golang.org/x/tools v0.0.0-20200331025713-a30bf2db82d4/go.mod h1:Sl4aGygMT6LrqrWclx+PTx3U+LnKx/seiNR+3G19Ar8= +golang.org/x/tools v0.0.0-20200501065659-ab2804fb9c9d/go.mod h1:EkVYQZoAsY45+roYkvgYkIh4xh/qjgUK9TdY2XT94GE= +golang.org/x/tools v0.0.0-20200512131952-2bc93b1c0c88/go.mod h1:EkVYQZoAsY45+roYkvgYkIh4xh/qjgUK9TdY2XT94GE= +golang.org/x/tools v0.0.0-20200515010526-7d3b6ebf133d/go.mod h1:EkVYQZoAsY45+roYkvgYkIh4xh/qjgUK9TdY2XT94GE= +golang.org/x/tools v0.0.0-20200618134242-20370b0cb4b2/go.mod h1:EkVYQZoAsY45+roYkvgYkIh4xh/qjgUK9TdY2XT94GE= +golang.org/x/tools v0.0.0-20200729194436-6467de6f59a7/go.mod h1:njjCfa9FT2d7l9Bc6FUM5FLjQPp3cFF28FI3qnDFljA= +golang.org/x/tools v0.0.0-20200804011535-6c149bb5ef0d/go.mod h1:njjCfa9FT2d7l9Bc6FUM5FLjQPp3cFF28FI3qnDFljA= +golang.org/x/tools v0.0.0-20200825202427-b303f430e36d/go.mod h1:njjCfa9FT2d7l9Bc6FUM5FLjQPp3cFF28FI3qnDFljA= +golang.org/x/xerrors v0.0.0-20190717185122-a985d3407aa7/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= +golang.org/x/xerrors v0.0.0-20191011141410-1b5146add898/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= +golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= +golang.org/x/xerrors v0.0.0-20200804184101-5ec99f83aff1 h1:go1bK/D/BFZV2I8cIQd1NKEZ+0owSTG1fDTci4IqFcE= +golang.org/x/xerrors v0.0.0-20200804184101-5ec99f83aff1/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= +google.golang.org/api v0.4.0/go.mod h1:8k5glujaEP+g9n7WNsDg8QP6cUVNI86fCNMcbazEtwE= +google.golang.org/api v0.7.0/go.mod h1:WtwebWUNSVBH/HAw79HIFXZNqEvBhG+Ra+ax0hx3E3M= +google.golang.org/api v0.8.0/go.mod h1:o4eAsZoiT+ibD93RtjEohWalFOjRDx6CVaqeizhEnKg= +google.golang.org/api v0.9.0/go.mod h1:o4eAsZoiT+ibD93RtjEohWalFOjRDx6CVaqeizhEnKg= +google.golang.org/api v0.13.0/go.mod h1:iLdEw5Ide6rF15KTC1Kkl0iskquN2gFfn9o9XIsbkAI= +google.golang.org/api v0.14.0/go.mod h1:iLdEw5Ide6rF15KTC1Kkl0iskquN2gFfn9o9XIsbkAI= +google.golang.org/api v0.15.0/go.mod h1:iLdEw5Ide6rF15KTC1Kkl0iskquN2gFfn9o9XIsbkAI= +google.golang.org/api v0.17.0/go.mod h1:BwFmGc8tA3vsd7r/7kR8DY7iEEGSU04BFxCo5jP/sfE= +google.golang.org/api v0.18.0/go.mod h1:BwFmGc8tA3vsd7r/7kR8DY7iEEGSU04BFxCo5jP/sfE= +google.golang.org/api v0.19.0/go.mod h1:BwFmGc8tA3vsd7r/7kR8DY7iEEGSU04BFxCo5jP/sfE= +google.golang.org/api v0.20.0/go.mod h1:BwFmGc8tA3vsd7r/7kR8DY7iEEGSU04BFxCo5jP/sfE= +google.golang.org/api v0.22.0/go.mod h1:BwFmGc8tA3vsd7r/7kR8DY7iEEGSU04BFxCo5jP/sfE= +google.golang.org/api v0.24.0/go.mod h1:lIXQywCXRcnZPGlsd8NbLnOjtAoL6em04bJ9+z0MncE= +google.golang.org/api v0.28.0/go.mod h1:lIXQywCXRcnZPGlsd8NbLnOjtAoL6em04bJ9+z0MncE= +google.golang.org/api v0.29.0/go.mod h1:Lcubydp8VUV7KeIHD9z2Bys/sm/vGKnG1UHuDBSrHWM= +google.golang.org/api v0.30.0/go.mod h1:QGmEvQ87FHZNiUVJkT14jQNYJ4ZJjdRF23ZXz5138Fc= +google.golang.org/appengine v1.1.0/go.mod h1:EbEs0AVv82hx2wNQdGPgUI5lhzA/G0D9YwlJXL52JkM= google.golang.org/appengine v1.4.0/go.mod h1:xpcJRLb0r/rnEns0DIKYYv+WjYCduHsrkT7/EB5XEv4= +google.golang.org/appengine v1.5.0/go.mod h1:xpcJRLb0r/rnEns0DIKYYv+WjYCduHsrkT7/EB5XEv4= +google.golang.org/appengine v1.6.1/go.mod h1:i06prIuMbXzDqacNJfV5OdTW448YApPu5ww/cMBSeb0= +google.golang.org/appengine v1.6.5/go.mod h1:8WjMMxjGQR8xUklV/ARdw2HLXBOI7O7uCIDZVag1xfc= +google.golang.org/appengine v1.6.6 h1:lMO5rYAqUxkmaj76jAkRUvt5JZgFymx/+Q5Mzfivuhc= +google.golang.org/appengine v1.6.6/go.mod h1:8WjMMxjGQR8xUklV/ARdw2HLXBOI7O7uCIDZVag1xfc= +google.golang.org/genproto v0.0.0-20180817151627-c66870c02cf8/go.mod h1:JiN7NxoALGmiZfu7CAH4rXhgtRTLTxftemlI0sWmxmc= +google.golang.org/genproto v0.0.0-20190307195333-5fe7a883aa19/go.mod h1:VzzqZJRnGkLBvHegQrXjBqPurQTc5/KpmUdxsrq26oE= +google.golang.org/genproto v0.0.0-20190418145605-e7d98fc518a7/go.mod h1:VzzqZJRnGkLBvHegQrXjBqPurQTc5/KpmUdxsrq26oE= +google.golang.org/genproto v0.0.0-20190425155659-357c62f0e4bb/go.mod h1:VzzqZJRnGkLBvHegQrXjBqPurQTc5/KpmUdxsrq26oE= +google.golang.org/genproto v0.0.0-20190502173448-54afdca5d873/go.mod h1:VzzqZJRnGkLBvHegQrXjBqPurQTc5/KpmUdxsrq26oE= +google.golang.org/genproto v0.0.0-20190801165951-fa694d86fc64/go.mod h1:DMBHOl98Agz4BDEuKkezgsaosCRResVns1a3J2ZsMNc= +google.golang.org/genproto v0.0.0-20190819201941-24fa4b261c55/go.mod h1:DMBHOl98Agz4BDEuKkezgsaosCRResVns1a3J2ZsMNc= +google.golang.org/genproto v0.0.0-20190911173649-1774047e7e51/go.mod h1:IbNlFCBrqXvoKpeg0TB2l7cyZUmoaFKYIwrEpbDKLA8= +google.golang.org/genproto v0.0.0-20191108220845-16a3f7862a1a/go.mod h1:n3cpQtvxv34hfy77yVDNjmbRyujviMdxYliBSkLhpCc= +google.golang.org/genproto v0.0.0-20191115194625-c23dd37a84c9/go.mod h1:n3cpQtvxv34hfy77yVDNjmbRyujviMdxYliBSkLhpCc= +google.golang.org/genproto v0.0.0-20191216164720-4f79533eabd1/go.mod h1:n3cpQtvxv34hfy77yVDNjmbRyujviMdxYliBSkLhpCc= +google.golang.org/genproto v0.0.0-20191230161307-f3c370f40bfb/go.mod h1:n3cpQtvxv34hfy77yVDNjmbRyujviMdxYliBSkLhpCc= +google.golang.org/genproto v0.0.0-20200115191322-ca5a22157cba/go.mod h1:n3cpQtvxv34hfy77yVDNjmbRyujviMdxYliBSkLhpCc= +google.golang.org/genproto v0.0.0-20200122232147-0452cf42e150/go.mod h1:n3cpQtvxv34hfy77yVDNjmbRyujviMdxYliBSkLhpCc= +google.golang.org/genproto v0.0.0-20200204135345-fa8e72b47b90/go.mod h1:GmwEX6Z4W5gMy59cAlVYjN9JhxgbQH6Gn+gFDQe2lzA= +google.golang.org/genproto v0.0.0-20200212174721-66ed5ce911ce/go.mod h1:55QSHmfGQM9UVYDPBsyGGes0y52j32PQ3BqQfXhyH3c= +google.golang.org/genproto v0.0.0-20200224152610-e50cd9704f63/go.mod h1:55QSHmfGQM9UVYDPBsyGGes0y52j32PQ3BqQfXhyH3c= +google.golang.org/genproto v0.0.0-20200228133532-8c2c7df3a383/go.mod h1:55QSHmfGQM9UVYDPBsyGGes0y52j32PQ3BqQfXhyH3c= +google.golang.org/genproto v0.0.0-20200305110556-506484158171/go.mod h1:55QSHmfGQM9UVYDPBsyGGes0y52j32PQ3BqQfXhyH3c= +google.golang.org/genproto v0.0.0-20200312145019-da6875a35672/go.mod h1:55QSHmfGQM9UVYDPBsyGGes0y52j32PQ3BqQfXhyH3c= +google.golang.org/genproto v0.0.0-20200331122359-1ee6d9798940/go.mod h1:55QSHmfGQM9UVYDPBsyGGes0y52j32PQ3BqQfXhyH3c= +google.golang.org/genproto v0.0.0-20200430143042-b979b6f78d84/go.mod h1:55QSHmfGQM9UVYDPBsyGGes0y52j32PQ3BqQfXhyH3c= +google.golang.org/genproto v0.0.0-20200511104702-f5ebc3bea380/go.mod h1:55QSHmfGQM9UVYDPBsyGGes0y52j32PQ3BqQfXhyH3c= +google.golang.org/genproto v0.0.0-20200515170657-fc4c6c6a6587/go.mod h1:YsZOwe1myG/8QRHRsmBRE1LrgQY60beZKjly0O1fX9U= +google.golang.org/genproto v0.0.0-20200526211855-cb27e3aa2013/go.mod h1:NbSheEEYHJ7i3ixzK3sjbqSGDJWnxyFXZblF3eUsNvo= +google.golang.org/genproto v0.0.0-20200618031413-b414f8b61790/go.mod h1:jDfRM7FcilCzHH/e9qn6dsT145K34l5v+OpcnNgKAAA= +google.golang.org/genproto v0.0.0-20200729003335-053ba62fc06f/go.mod h1:FWY/as6DDZQgahTzZj3fqbO1CbirC29ZNUFHwi0/+no= +google.golang.org/genproto v0.0.0-20200804131852-c06518451d9c/go.mod h1:FWY/as6DDZQgahTzZj3fqbO1CbirC29ZNUFHwi0/+no= +google.golang.org/genproto v0.0.0-20200825200019-8632dd797987/go.mod h1:FWY/as6DDZQgahTzZj3fqbO1CbirC29ZNUFHwi0/+no= +google.golang.org/grpc v1.19.0/go.mod h1:mqu4LbDTu4XGKhr4mRzUsmM4RtVoemTSY81AxZiDr8c= +google.golang.org/grpc v1.20.1/go.mod h1:10oTOabMzJvdu6/UiuZezV6QK5dSlG84ov/aaiqXj38= +google.golang.org/grpc v1.21.1/go.mod h1:oYelfM1adQP15Ek0mdvEgi9Df8B9CZIaU1084ijfRaM= +google.golang.org/grpc v1.23.0/go.mod h1:Y5yQAOtifL1yxbo5wqy6BxZv8vAUGQwXBOALyacEbxg= +google.golang.org/grpc v1.25.1/go.mod h1:c3i+UQWmh7LiEpx4sFZnkU36qjEYZ0imhYfXVyQciAY= +google.golang.org/grpc v1.26.0/go.mod h1:qbnxyOmOxrQa7FizSgH+ReBfzJrCY1pSN7KXBS8abTk= +google.golang.org/grpc v1.27.0/go.mod h1:qbnxyOmOxrQa7FizSgH+ReBfzJrCY1pSN7KXBS8abTk= +google.golang.org/grpc v1.27.1/go.mod h1:qbnxyOmOxrQa7FizSgH+ReBfzJrCY1pSN7KXBS8abTk= +google.golang.org/grpc v1.28.0/go.mod h1:rpkK4SK4GF4Ach/+MFLZUBavHOvF2JJB5uozKKal+60= +google.golang.org/grpc v1.29.1/go.mod h1:itym6AZVZYACWQqET3MqgPpjcuV5QH3BxFS3IjizoKk= +google.golang.org/grpc v1.30.0/go.mod h1:N36X2cJ7JwdamYAgDz+s+rVMFjt3numwzf/HckM8pak= +google.golang.org/grpc v1.31.0/go.mod h1:N36X2cJ7JwdamYAgDz+s+rVMFjt3numwzf/HckM8pak= +google.golang.org/protobuf v0.0.0-20200109180630-ec00e32a8dfd/go.mod h1:DFci5gLYBciE7Vtevhsrf46CRTquxDuWsQurQQe4oz8= +google.golang.org/protobuf v0.0.0-20200221191635-4d8936d0db64/go.mod h1:kwYJMbMJ01Woi6D6+Kah6886xMZcty6N08ah7+eCXa0= +google.golang.org/protobuf v0.0.0-20200228230310-ab0ca4ff8a60/go.mod h1:cfTl7dwQJ+fmap5saPgwCLgHXTUD7jkjRqWcaiX5VyM= +google.golang.org/protobuf v1.20.1-0.20200309200217-e05f789c0967/go.mod h1:A+miEFZTKqfCUM6K7xSMQL9OKL/b6hQv+e19PK+JZNE= +google.golang.org/protobuf v1.21.0/go.mod h1:47Nbq4nVaFHyn7ilMalzfO3qCViNmqZ2kzikPIcrTAo= +google.golang.org/protobuf v1.22.0/go.mod h1:EGpADcykh3NcUnDUJcl1+ZksZNG86OlYog2l/sGQquU= +google.golang.org/protobuf v1.23.0/go.mod h1:EGpADcykh3NcUnDUJcl1+ZksZNG86OlYog2l/sGQquU= +google.golang.org/protobuf v1.23.1-0.20200526195155-81db48ad09cc/go.mod h1:EGpADcykh3NcUnDUJcl1+ZksZNG86OlYog2l/sGQquU= +google.golang.org/protobuf v1.24.0/go.mod h1:r/3tXBNzIEhYS9I1OUVjXDlt8tc493IdKGjtUeSXeh4= +google.golang.org/protobuf v1.25.0 h1:Ejskq+SyPohKW+1uil0JJMtmHCgJPJ/qWTxr8qp+R4c= +google.golang.org/protobuf v1.25.0/go.mod h1:9JNX74DMeImyA3h4bdi1ymwjUzf21/xIlbajtzgsN7c= +gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= +gopkg.in/check.v1 v1.0.0-20180628173108-788fd7840127/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= +gopkg.in/errgo.v2 v2.1.0/go.mod h1:hNsd1EY+bozCKY1Ytp96fpM3vjJbqLJn88ws8XvfDNI= +gopkg.in/yaml.v2 v2.2.2/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= +honnef.co/go/tools v0.0.0-20190102054323-c2f93a96b099/go.mod h1:rf3lG4BRIbNafJWhAfAdb/ePZxsR/4RtNHQocxwk9r4= +honnef.co/go/tools v0.0.0-20190106161140-3f1c8253044a/go.mod h1:rf3lG4BRIbNafJWhAfAdb/ePZxsR/4RtNHQocxwk9r4= +honnef.co/go/tools v0.0.0-20190418001031-e561f6794a2a/go.mod h1:rf3lG4BRIbNafJWhAfAdb/ePZxsR/4RtNHQocxwk9r4= +honnef.co/go/tools v0.0.0-20190523083050-ea95bdfd59fc/go.mod h1:rf3lG4BRIbNafJWhAfAdb/ePZxsR/4RtNHQocxwk9r4= +honnef.co/go/tools v0.0.1-2019.2.3/go.mod h1:a3bituU0lyd329TUQxRnasdCoJDkEUEAqEt0JzvZhAg= +honnef.co/go/tools v0.0.1-2020.1.3/go.mod h1:X/FiERA/W4tHapMX5mGpAtMSVEeEUOyHaw9vFzvIQ3k= +honnef.co/go/tools v0.0.1-2020.1.4/go.mod h1:X/FiERA/W4tHapMX5mGpAtMSVEeEUOyHaw9vFzvIQ3k= +rsc.io/binaryregexp v0.2.0/go.mod h1:qTv7/COck+e2FymRvadv62gMdZztPaShugOCi3I+8D8= +rsc.io/quote/v3 v3.1.0/go.mod h1:yEA65RcK8LyAZtP9Kv3t0HmxON59tX3rD+tICJqUlj0= +rsc.io/sampler v1.3.0/go.mod h1:T1hPZKmBbMNahiBKFy5HrXp6adAjACjK9JXDnKaTXpA= diff --git a/model__formats__distributions.go b/model__formats__distributions.go deleted file mode 100644 index af033726..00000000 --- a/model__formats__distributions.go +++ /dev/null @@ -1,226 +0,0 @@ -/* -Cloudsmith API - -The API to the Cloudsmith Service - -API version: 1.121.3 -Contact: support@cloudsmith.io -*/ - -// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. - -package cloudsmith - -import ( - "encoding/json" -) - -// FormatsDistributions struct for FormatsDistributions -type FormatsDistributions struct { - // - Name *string `json:"name,omitempty"` - // - SelfUrl *string `json:"self_url,omitempty"` - // The slug identifier for this distribution - Slug *string `json:"slug,omitempty"` - // - Variants *string `json:"variants,omitempty"` -} - -// NewFormatsDistributions instantiates a new FormatsDistributions object -// 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 NewFormatsDistributions() *FormatsDistributions { - this := FormatsDistributions{} - return &this -} - -// NewFormatsDistributionsWithDefaults instantiates a new FormatsDistributions object -// This constructor will only assign default values to properties that have it defined, -// but it doesn't guarantee that properties required by API are set -func NewFormatsDistributionsWithDefaults() *FormatsDistributions { - this := FormatsDistributions{} - return &this -} - -// GetName returns the Name field value if set, zero value otherwise. -func (o *FormatsDistributions) GetName() string { - if o == nil || o.Name == nil { - var ret string - return ret - } - return *o.Name -} - -// GetNameOk returns a tuple with the Name field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *FormatsDistributions) GetNameOk() (*string, bool) { - if o == nil || o.Name == nil { - return nil, false - } - return o.Name, true -} - -// HasName returns a boolean if a field has been set. -func (o *FormatsDistributions) HasName() bool { - if o != nil && o.Name != nil { - return true - } - - return false -} - -// SetName gets a reference to the given string and assigns it to the Name field. -func (o *FormatsDistributions) SetName(v string) { - o.Name = &v -} - -// GetSelfUrl returns the SelfUrl field value if set, zero value otherwise. -func (o *FormatsDistributions) GetSelfUrl() string { - if o == nil || o.SelfUrl == nil { - var ret string - return ret - } - return *o.SelfUrl -} - -// GetSelfUrlOk returns a tuple with the SelfUrl field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *FormatsDistributions) GetSelfUrlOk() (*string, bool) { - if o == nil || o.SelfUrl == nil { - return nil, false - } - return o.SelfUrl, true -} - -// HasSelfUrl returns a boolean if a field has been set. -func (o *FormatsDistributions) HasSelfUrl() bool { - if o != nil && o.SelfUrl != nil { - return true - } - - return false -} - -// SetSelfUrl gets a reference to the given string and assigns it to the SelfUrl field. -func (o *FormatsDistributions) SetSelfUrl(v string) { - o.SelfUrl = &v -} - -// GetSlug returns the Slug field value if set, zero value otherwise. -func (o *FormatsDistributions) GetSlug() string { - if o == nil || o.Slug == nil { - var ret string - return ret - } - return *o.Slug -} - -// GetSlugOk returns a tuple with the Slug field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *FormatsDistributions) GetSlugOk() (*string, bool) { - if o == nil || o.Slug == nil { - return nil, false - } - return o.Slug, true -} - -// HasSlug returns a boolean if a field has been set. -func (o *FormatsDistributions) HasSlug() bool { - if o != nil && o.Slug != nil { - return true - } - - return false -} - -// SetSlug gets a reference to the given string and assigns it to the Slug field. -func (o *FormatsDistributions) SetSlug(v string) { - o.Slug = &v -} - -// GetVariants returns the Variants field value if set, zero value otherwise. -func (o *FormatsDistributions) GetVariants() string { - if o == nil || o.Variants == nil { - var ret string - return ret - } - return *o.Variants -} - -// GetVariantsOk returns a tuple with the Variants field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *FormatsDistributions) GetVariantsOk() (*string, bool) { - if o == nil || o.Variants == nil { - return nil, false - } - return o.Variants, true -} - -// HasVariants returns a boolean if a field has been set. -func (o *FormatsDistributions) HasVariants() bool { - if o != nil && o.Variants != nil { - return true - } - - return false -} - -// SetVariants gets a reference to the given string and assigns it to the Variants field. -func (o *FormatsDistributions) SetVariants(v string) { - o.Variants = &v -} - -func (o FormatsDistributions) MarshalJSON() ([]byte, error) { - toSerialize := map[string]interface{}{} - if o.Name != nil { - toSerialize["name"] = o.Name - } - if o.SelfUrl != nil { - toSerialize["self_url"] = o.SelfUrl - } - if o.Slug != nil { - toSerialize["slug"] = o.Slug - } - if o.Variants != nil { - toSerialize["variants"] = o.Variants - } - return json.Marshal(toSerialize) -} - -type NullableFormatsDistributions struct { - value *FormatsDistributions - isSet bool -} - -func (v NullableFormatsDistributions) Get() *FormatsDistributions { - return v.value -} - -func (v *NullableFormatsDistributions) Set(val *FormatsDistributions) { - v.value = val - v.isSet = true -} - -func (v NullableFormatsDistributions) IsSet() bool { - return v.isSet -} - -func (v *NullableFormatsDistributions) Unset() { - v.value = nil - v.isSet = false -} - -func NewNullableFormatsDistributions(val *FormatsDistributions) *NullableFormatsDistributions { - return &NullableFormatsDistributions{value: val, isSet: true} -} - -func (v NullableFormatsDistributions) MarshalJSON() ([]byte, error) { - return json.Marshal(v.value) -} - -func (v *NullableFormatsDistributions) UnmarshalJSON(src []byte) error { - v.isSet = true - return json.Unmarshal(src, &v.value) -} diff --git a/model__packages__owner___repo___architectures.go b/model__packages__owner___repo___architectures.go deleted file mode 100644 index 32f9c3ed..00000000 --- a/model__packages__owner___repo___architectures.go +++ /dev/null @@ -1,152 +0,0 @@ -/* -Cloudsmith API - -The API to the Cloudsmith Service - -API version: 1.121.3 -Contact: support@cloudsmith.io -*/ - -// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. - -package cloudsmith - -import ( - "encoding/json" -) - -// PackagesOwnerRepoArchitectures struct for PackagesOwnerRepoArchitectures -type PackagesOwnerRepoArchitectures struct { - // - Description *string `json:"description,omitempty"` - // - Name *string `json:"name,omitempty"` -} - -// NewPackagesOwnerRepoArchitectures instantiates a new PackagesOwnerRepoArchitectures object -// 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 NewPackagesOwnerRepoArchitectures() *PackagesOwnerRepoArchitectures { - this := PackagesOwnerRepoArchitectures{} - return &this -} - -// NewPackagesOwnerRepoArchitecturesWithDefaults instantiates a new PackagesOwnerRepoArchitectures object -// This constructor will only assign default values to properties that have it defined, -// but it doesn't guarantee that properties required by API are set -func NewPackagesOwnerRepoArchitecturesWithDefaults() *PackagesOwnerRepoArchitectures { - this := PackagesOwnerRepoArchitectures{} - return &this -} - -// GetDescription returns the Description field value if set, zero value otherwise. -func (o *PackagesOwnerRepoArchitectures) GetDescription() string { - if o == nil || o.Description == nil { - var ret string - return ret - } - return *o.Description -} - -// GetDescriptionOk returns a tuple with the Description field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *PackagesOwnerRepoArchitectures) GetDescriptionOk() (*string, bool) { - if o == nil || o.Description == nil { - return nil, false - } - return o.Description, true -} - -// HasDescription returns a boolean if a field has been set. -func (o *PackagesOwnerRepoArchitectures) HasDescription() bool { - if o != nil && o.Description != nil { - return true - } - - return false -} - -// SetDescription gets a reference to the given string and assigns it to the Description field. -func (o *PackagesOwnerRepoArchitectures) SetDescription(v string) { - o.Description = &v -} - -// GetName returns the Name field value if set, zero value otherwise. -func (o *PackagesOwnerRepoArchitectures) GetName() string { - if o == nil || o.Name == nil { - var ret string - return ret - } - return *o.Name -} - -// GetNameOk returns a tuple with the Name field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *PackagesOwnerRepoArchitectures) GetNameOk() (*string, bool) { - if o == nil || o.Name == nil { - return nil, false - } - return o.Name, true -} - -// HasName returns a boolean if a field has been set. -func (o *PackagesOwnerRepoArchitectures) HasName() bool { - if o != nil && o.Name != nil { - return true - } - - return false -} - -// SetName gets a reference to the given string and assigns it to the Name field. -func (o *PackagesOwnerRepoArchitectures) SetName(v string) { - o.Name = &v -} - -func (o PackagesOwnerRepoArchitectures) MarshalJSON() ([]byte, error) { - toSerialize := map[string]interface{}{} - if o.Description != nil { - toSerialize["description"] = o.Description - } - if o.Name != nil { - toSerialize["name"] = o.Name - } - return json.Marshal(toSerialize) -} - -type NullablePackagesOwnerRepoArchitectures struct { - value *PackagesOwnerRepoArchitectures - isSet bool -} - -func (v NullablePackagesOwnerRepoArchitectures) Get() *PackagesOwnerRepoArchitectures { - return v.value -} - -func (v *NullablePackagesOwnerRepoArchitectures) Set(val *PackagesOwnerRepoArchitectures) { - v.value = val - v.isSet = true -} - -func (v NullablePackagesOwnerRepoArchitectures) IsSet() bool { - return v.isSet -} - -func (v *NullablePackagesOwnerRepoArchitectures) Unset() { - v.value = nil - v.isSet = false -} - -func NewNullablePackagesOwnerRepoArchitectures(val *PackagesOwnerRepoArchitectures) *NullablePackagesOwnerRepoArchitectures { - return &NullablePackagesOwnerRepoArchitectures{value: val, isSet: true} -} - -func (v NullablePackagesOwnerRepoArchitectures) MarshalJSON() ([]byte, error) { - return json.Marshal(v.value) -} - -func (v *NullablePackagesOwnerRepoArchitectures) UnmarshalJSON(src []byte) error { - v.isSet = true - return json.Unmarshal(src, &v.value) -} diff --git a/model__webhooks__owner___repo___templates.go b/model__webhooks__owner___repo___templates.go deleted file mode 100644 index f6812ff0..00000000 --- a/model__webhooks__owner___repo___templates.go +++ /dev/null @@ -1,152 +0,0 @@ -/* -Cloudsmith API - -The API to the Cloudsmith Service - -API version: 1.121.3 -Contact: support@cloudsmith.io -*/ - -// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. - -package cloudsmith - -import ( - "encoding/json" -) - -// WebhooksOwnerRepoTemplates struct for WebhooksOwnerRepoTemplates -type WebhooksOwnerRepoTemplates struct { - // - Event *string `json:"event,omitempty"` - // - Template *string `json:"template,omitempty"` -} - -// NewWebhooksOwnerRepoTemplates instantiates a new WebhooksOwnerRepoTemplates object -// 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 NewWebhooksOwnerRepoTemplates() *WebhooksOwnerRepoTemplates { - this := WebhooksOwnerRepoTemplates{} - return &this -} - -// NewWebhooksOwnerRepoTemplatesWithDefaults instantiates a new WebhooksOwnerRepoTemplates object -// This constructor will only assign default values to properties that have it defined, -// but it doesn't guarantee that properties required by API are set -func NewWebhooksOwnerRepoTemplatesWithDefaults() *WebhooksOwnerRepoTemplates { - this := WebhooksOwnerRepoTemplates{} - return &this -} - -// GetEvent returns the Event field value if set, zero value otherwise. -func (o *WebhooksOwnerRepoTemplates) GetEvent() string { - if o == nil || o.Event == nil { - var ret string - return ret - } - return *o.Event -} - -// GetEventOk returns a tuple with the Event field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *WebhooksOwnerRepoTemplates) GetEventOk() (*string, bool) { - if o == nil || o.Event == nil { - return nil, false - } - return o.Event, true -} - -// HasEvent returns a boolean if a field has been set. -func (o *WebhooksOwnerRepoTemplates) HasEvent() bool { - if o != nil && o.Event != nil { - return true - } - - return false -} - -// SetEvent gets a reference to the given string and assigns it to the Event field. -func (o *WebhooksOwnerRepoTemplates) SetEvent(v string) { - o.Event = &v -} - -// GetTemplate returns the Template field value if set, zero value otherwise. -func (o *WebhooksOwnerRepoTemplates) GetTemplate() string { - if o == nil || o.Template == nil { - var ret string - return ret - } - return *o.Template -} - -// GetTemplateOk returns a tuple with the Template field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *WebhooksOwnerRepoTemplates) GetTemplateOk() (*string, bool) { - if o == nil || o.Template == nil { - return nil, false - } - return o.Template, true -} - -// HasTemplate returns a boolean if a field has been set. -func (o *WebhooksOwnerRepoTemplates) HasTemplate() bool { - if o != nil && o.Template != nil { - return true - } - - return false -} - -// SetTemplate gets a reference to the given string and assigns it to the Template field. -func (o *WebhooksOwnerRepoTemplates) SetTemplate(v string) { - o.Template = &v -} - -func (o WebhooksOwnerRepoTemplates) MarshalJSON() ([]byte, error) { - toSerialize := map[string]interface{}{} - if o.Event != nil { - toSerialize["event"] = o.Event - } - if o.Template != nil { - toSerialize["template"] = o.Template - } - return json.Marshal(toSerialize) -} - -type NullableWebhooksOwnerRepoTemplates struct { - value *WebhooksOwnerRepoTemplates - isSet bool -} - -func (v NullableWebhooksOwnerRepoTemplates) Get() *WebhooksOwnerRepoTemplates { - return v.value -} - -func (v *NullableWebhooksOwnerRepoTemplates) Set(val *WebhooksOwnerRepoTemplates) { - v.value = val - v.isSet = true -} - -func (v NullableWebhooksOwnerRepoTemplates) IsSet() bool { - return v.isSet -} - -func (v *NullableWebhooksOwnerRepoTemplates) Unset() { - v.value = nil - v.isSet = false -} - -func NewNullableWebhooksOwnerRepoTemplates(val *WebhooksOwnerRepoTemplates) *NullableWebhooksOwnerRepoTemplates { - return &NullableWebhooksOwnerRepoTemplates{value: val, isSet: true} -} - -func (v NullableWebhooksOwnerRepoTemplates) MarshalJSON() ([]byte, error) { - return json.Marshal(v.value) -} - -func (v *NullableWebhooksOwnerRepoTemplates) UnmarshalJSON(src []byte) error { - v.isSet = true - return json.Unmarshal(src, &v.value) -} diff --git a/model_allocated_limit.go b/model_allocated_limit.go new file mode 100644 index 00000000..16f6e0e1 --- /dev/null +++ b/model_allocated_limit.go @@ -0,0 +1,222 @@ +/* +Cloudsmith API (v1) + +The API to the Cloudsmith Service + +API version: 1.181.6 +Contact: support@cloudsmith.io +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cloudsmith + +import ( + "encoding/json" +) + +// AllocatedLimit struct for AllocatedLimit +type AllocatedLimit struct { + Configured *string `json:"configured,omitempty"` + PercentageUsed *string `json:"percentage_used,omitempty"` + PlanLimit *string `json:"plan_limit,omitempty"` + Used *string `json:"used,omitempty"` +} + +// NewAllocatedLimit instantiates a new AllocatedLimit object +// 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 NewAllocatedLimit() *AllocatedLimit { + this := AllocatedLimit{} + return &this +} + +// NewAllocatedLimitWithDefaults instantiates a new AllocatedLimit object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewAllocatedLimitWithDefaults() *AllocatedLimit { + this := AllocatedLimit{} + return &this +} + +// GetConfigured returns the Configured field value if set, zero value otherwise. +func (o *AllocatedLimit) GetConfigured() string { + if o == nil || isNil(o.Configured) { + var ret string + return ret + } + return *o.Configured +} + +// GetConfiguredOk returns a tuple with the Configured field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *AllocatedLimit) GetConfiguredOk() (*string, bool) { + if o == nil || isNil(o.Configured) { + return nil, false + } + return o.Configured, true +} + +// HasConfigured returns a boolean if a field has been set. +func (o *AllocatedLimit) HasConfigured() bool { + if o != nil && !isNil(o.Configured) { + return true + } + + return false +} + +// SetConfigured gets a reference to the given string and assigns it to the Configured field. +func (o *AllocatedLimit) SetConfigured(v string) { + o.Configured = &v +} + +// GetPercentageUsed returns the PercentageUsed field value if set, zero value otherwise. +func (o *AllocatedLimit) GetPercentageUsed() string { + if o == nil || isNil(o.PercentageUsed) { + var ret string + return ret + } + return *o.PercentageUsed +} + +// GetPercentageUsedOk returns a tuple with the PercentageUsed field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *AllocatedLimit) GetPercentageUsedOk() (*string, bool) { + if o == nil || isNil(o.PercentageUsed) { + return nil, false + } + return o.PercentageUsed, true +} + +// HasPercentageUsed returns a boolean if a field has been set. +func (o *AllocatedLimit) HasPercentageUsed() bool { + if o != nil && !isNil(o.PercentageUsed) { + return true + } + + return false +} + +// SetPercentageUsed gets a reference to the given string and assigns it to the PercentageUsed field. +func (o *AllocatedLimit) SetPercentageUsed(v string) { + o.PercentageUsed = &v +} + +// GetPlanLimit returns the PlanLimit field value if set, zero value otherwise. +func (o *AllocatedLimit) GetPlanLimit() string { + if o == nil || isNil(o.PlanLimit) { + var ret string + return ret + } + return *o.PlanLimit +} + +// GetPlanLimitOk returns a tuple with the PlanLimit field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *AllocatedLimit) GetPlanLimitOk() (*string, bool) { + if o == nil || isNil(o.PlanLimit) { + return nil, false + } + return o.PlanLimit, true +} + +// HasPlanLimit returns a boolean if a field has been set. +func (o *AllocatedLimit) HasPlanLimit() bool { + if o != nil && !isNil(o.PlanLimit) { + return true + } + + return false +} + +// SetPlanLimit gets a reference to the given string and assigns it to the PlanLimit field. +func (o *AllocatedLimit) SetPlanLimit(v string) { + o.PlanLimit = &v +} + +// GetUsed returns the Used field value if set, zero value otherwise. +func (o *AllocatedLimit) GetUsed() string { + if o == nil || isNil(o.Used) { + var ret string + return ret + } + return *o.Used +} + +// GetUsedOk returns a tuple with the Used field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *AllocatedLimit) GetUsedOk() (*string, bool) { + if o == nil || isNil(o.Used) { + return nil, false + } + return o.Used, true +} + +// HasUsed returns a boolean if a field has been set. +func (o *AllocatedLimit) HasUsed() bool { + if o != nil && !isNil(o.Used) { + return true + } + + return false +} + +// SetUsed gets a reference to the given string and assigns it to the Used field. +func (o *AllocatedLimit) SetUsed(v string) { + o.Used = &v +} + +func (o AllocatedLimit) MarshalJSON() ([]byte, error) { + toSerialize := map[string]interface{}{} + if !isNil(o.Configured) { + toSerialize["configured"] = o.Configured + } + if !isNil(o.PercentageUsed) { + toSerialize["percentage_used"] = o.PercentageUsed + } + if !isNil(o.PlanLimit) { + toSerialize["plan_limit"] = o.PlanLimit + } + if !isNil(o.Used) { + toSerialize["used"] = o.Used + } + return json.Marshal(toSerialize) +} + +type NullableAllocatedLimit struct { + value *AllocatedLimit + isSet bool +} + +func (v NullableAllocatedLimit) Get() *AllocatedLimit { + return v.value +} + +func (v *NullableAllocatedLimit) Set(val *AllocatedLimit) { + v.value = val + v.isSet = true +} + +func (v NullableAllocatedLimit) IsSet() bool { + return v.isSet +} + +func (v *NullableAllocatedLimit) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableAllocatedLimit(val *AllocatedLimit) *NullableAllocatedLimit { + return &NullableAllocatedLimit{value: val, isSet: true} +} + +func (v NullableAllocatedLimit) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableAllocatedLimit) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} diff --git a/model_alpine_package_upload.go b/model_alpine_package_upload.go deleted file mode 100644 index 175bc03d..00000000 --- a/model_alpine_package_upload.go +++ /dev/null @@ -1,2520 +0,0 @@ -/* -Cloudsmith API - -The API to the Cloudsmith Service - -API version: 1.121.3 -Contact: support@cloudsmith.io -*/ - -// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. - -package cloudsmith - -import ( - "encoding/json" -) - -// AlpinePackageUpload struct for AlpinePackageUpload -type AlpinePackageUpload struct { - // - Architectures []PackagesOwnerRepoArchitectures `json:"architectures,omitempty"` - // - CdnUrl *string `json:"cdn_url,omitempty"` - // - ChecksumMd5 *string `json:"checksum_md5,omitempty"` - // - ChecksumSha1 *string `json:"checksum_sha1,omitempty"` - // - ChecksumSha256 *string `json:"checksum_sha256,omitempty"` - // - ChecksumSha512 *string `json:"checksum_sha512,omitempty"` - // A checksum of all of the package's dependencies. - DependenciesChecksumMd5 *string `json:"dependencies_checksum_md5,omitempty"` - // - DependenciesUrl *string `json:"dependencies_url,omitempty"` - // A textual description of this package. - Description *string `json:"description,omitempty"` - // - Distro map[string]interface{} `json:"distro,omitempty"` - // - DistroVersion map[string]interface{} `json:"distro_version,omitempty"` - // - Downloads *int64 `json:"downloads,omitempty"` - // The epoch of the package version (if any). - Epoch *int64 `json:"epoch,omitempty"` - // - Extension *string `json:"extension,omitempty"` - // - Filename *string `json:"filename,omitempty"` - // - Files []PackagesOwnerRepoFiles `json:"files,omitempty"` - // - Format *string `json:"format,omitempty"` - // - FormatUrl *string `json:"format_url,omitempty"` - // Unique and permanent identifier for the package. - IdentifierPerm *string `json:"identifier_perm,omitempty"` - // - Indexed *bool `json:"indexed,omitempty"` - // - IsDownloadable *bool `json:"is_downloadable,omitempty"` - // - IsQuarantined *bool `json:"is_quarantined,omitempty"` - // - IsSyncAwaiting *bool `json:"is_sync_awaiting,omitempty"` - // - IsSyncCompleted *bool `json:"is_sync_completed,omitempty"` - // - IsSyncFailed *bool `json:"is_sync_failed,omitempty"` - // - IsSyncInFlight *bool `json:"is_sync_in_flight,omitempty"` - // - IsSyncInProgress *bool `json:"is_sync_in_progress,omitempty"` - // The license of this package. - License *string `json:"license,omitempty"` - // The name of this package. - Name *string `json:"name,omitempty"` - // - Namespace *string `json:"namespace,omitempty"` - // - NamespaceUrl *string `json:"namespace_url,omitempty"` - // - NumFiles *int64 `json:"num_files,omitempty"` - // The type of package contents. - PackageType *int64 `json:"package_type,omitempty"` - // The release of the package version (if any). - Release *string `json:"release,omitempty"` - // - Repository *string `json:"repository,omitempty"` - // - RepositoryUrl *string `json:"repository_url,omitempty"` - // The datetime the security scanning was completed. - SecurityScanCompletedAt *string `json:"security_scan_completed_at,omitempty"` - // The datetime the security scanning was started. - SecurityScanStartedAt *string `json:"security_scan_started_at,omitempty"` - // - SecurityScanStatus *string `json:"security_scan_status,omitempty"` - // The datetime the security scanning status was updated. - SecurityScanStatusUpdatedAt *string `json:"security_scan_status_updated_at,omitempty"` - // - SelfHtmlUrl *string `json:"self_html_url,omitempty"` - // - SelfUrl *string `json:"self_url,omitempty"` - // - SignatureUrl *string `json:"signature_url,omitempty"` - // The calculated size of the package. - Size *int64 `json:"size,omitempty"` - // The public unique identifier for the package. - Slug *string `json:"slug,omitempty"` - // - SlugPerm *string `json:"slug_perm,omitempty"` - // The synchronisation (in progress) stage of the package. - Stage *int64 `json:"stage,omitempty"` - // - StageStr *string `json:"stage_str,omitempty"` - // The datetime the package stage was updated at. - StageUpdatedAt *string `json:"stage_updated_at,omitempty"` - // The synchronisation status of the package. - Status *int64 `json:"status,omitempty"` - // A textual description for the synchronous status reason (if any - StatusReason *string `json:"status_reason,omitempty"` - // - StatusStr *string `json:"status_str,omitempty"` - // The datetime the package status was updated at. - StatusUpdatedAt *string `json:"status_updated_at,omitempty"` - // - StatusUrl *string `json:"status_url,omitempty"` - // - Subtype *string `json:"subtype,omitempty"` - // A one-liner synopsis of this package. - Summary *string `json:"summary,omitempty"` - // The datetime the package sync was finished at. - SyncFinishedAt *string `json:"sync_finished_at,omitempty"` - // Synchronisation progress (from 0-100) - SyncProgress *int64 `json:"sync_progress,omitempty"` - // All immutable tags on the package, grouped by tag type. Immutable tags cannot be (easily) deleted. - TagsImmutable map[string]interface{} `json:"tags_immutable,omitempty"` - // - TypeDisplay *string `json:"type_display,omitempty"` - // The date this package was uploaded. - UploadedAt *string `json:"uploaded_at,omitempty"` - // - Uploader *string `json:"uploader,omitempty"` - // - UploaderUrl *string `json:"uploader_url,omitempty"` - // The raw version for this package. - Version *string `json:"version,omitempty"` - // - VersionOrig *string `json:"version_orig,omitempty"` - // - VulnerabilityScanResultsUrl *string `json:"vulnerability_scan_results_url,omitempty"` -} - -// NewAlpinePackageUpload instantiates a new AlpinePackageUpload object -// 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 NewAlpinePackageUpload() *AlpinePackageUpload { - this := AlpinePackageUpload{} - return &this -} - -// NewAlpinePackageUploadWithDefaults instantiates a new AlpinePackageUpload object -// This constructor will only assign default values to properties that have it defined, -// but it doesn't guarantee that properties required by API are set -func NewAlpinePackageUploadWithDefaults() *AlpinePackageUpload { - this := AlpinePackageUpload{} - return &this -} - -// GetArchitectures returns the Architectures field value if set, zero value otherwise. -func (o *AlpinePackageUpload) GetArchitectures() []PackagesOwnerRepoArchitectures { - if o == nil || o.Architectures == nil { - var ret []PackagesOwnerRepoArchitectures - return ret - } - return o.Architectures -} - -// GetArchitecturesOk returns a tuple with the Architectures field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *AlpinePackageUpload) GetArchitecturesOk() ([]PackagesOwnerRepoArchitectures, bool) { - if o == nil || o.Architectures == nil { - return nil, false - } - return o.Architectures, true -} - -// HasArchitectures returns a boolean if a field has been set. -func (o *AlpinePackageUpload) HasArchitectures() bool { - if o != nil && o.Architectures != nil { - return true - } - - return false -} - -// SetArchitectures gets a reference to the given []PackagesOwnerRepoArchitectures and assigns it to the Architectures field. -func (o *AlpinePackageUpload) SetArchitectures(v []PackagesOwnerRepoArchitectures) { - o.Architectures = v -} - -// GetCdnUrl returns the CdnUrl field value if set, zero value otherwise. -func (o *AlpinePackageUpload) GetCdnUrl() string { - if o == nil || o.CdnUrl == nil { - var ret string - return ret - } - return *o.CdnUrl -} - -// GetCdnUrlOk returns a tuple with the CdnUrl field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *AlpinePackageUpload) GetCdnUrlOk() (*string, bool) { - if o == nil || o.CdnUrl == nil { - return nil, false - } - return o.CdnUrl, true -} - -// HasCdnUrl returns a boolean if a field has been set. -func (o *AlpinePackageUpload) HasCdnUrl() bool { - if o != nil && o.CdnUrl != nil { - return true - } - - return false -} - -// SetCdnUrl gets a reference to the given string and assigns it to the CdnUrl field. -func (o *AlpinePackageUpload) SetCdnUrl(v string) { - o.CdnUrl = &v -} - -// GetChecksumMd5 returns the ChecksumMd5 field value if set, zero value otherwise. -func (o *AlpinePackageUpload) GetChecksumMd5() string { - if o == nil || o.ChecksumMd5 == nil { - var ret string - return ret - } - return *o.ChecksumMd5 -} - -// GetChecksumMd5Ok returns a tuple with the ChecksumMd5 field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *AlpinePackageUpload) GetChecksumMd5Ok() (*string, bool) { - if o == nil || o.ChecksumMd5 == nil { - return nil, false - } - return o.ChecksumMd5, true -} - -// HasChecksumMd5 returns a boolean if a field has been set. -func (o *AlpinePackageUpload) HasChecksumMd5() bool { - if o != nil && o.ChecksumMd5 != nil { - return true - } - - return false -} - -// SetChecksumMd5 gets a reference to the given string and assigns it to the ChecksumMd5 field. -func (o *AlpinePackageUpload) SetChecksumMd5(v string) { - o.ChecksumMd5 = &v -} - -// GetChecksumSha1 returns the ChecksumSha1 field value if set, zero value otherwise. -func (o *AlpinePackageUpload) GetChecksumSha1() string { - if o == nil || o.ChecksumSha1 == nil { - var ret string - return ret - } - return *o.ChecksumSha1 -} - -// GetChecksumSha1Ok returns a tuple with the ChecksumSha1 field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *AlpinePackageUpload) GetChecksumSha1Ok() (*string, bool) { - if o == nil || o.ChecksumSha1 == nil { - return nil, false - } - return o.ChecksumSha1, true -} - -// HasChecksumSha1 returns a boolean if a field has been set. -func (o *AlpinePackageUpload) HasChecksumSha1() bool { - if o != nil && o.ChecksumSha1 != nil { - return true - } - - return false -} - -// SetChecksumSha1 gets a reference to the given string and assigns it to the ChecksumSha1 field. -func (o *AlpinePackageUpload) SetChecksumSha1(v string) { - o.ChecksumSha1 = &v -} - -// GetChecksumSha256 returns the ChecksumSha256 field value if set, zero value otherwise. -func (o *AlpinePackageUpload) GetChecksumSha256() string { - if o == nil || o.ChecksumSha256 == nil { - var ret string - return ret - } - return *o.ChecksumSha256 -} - -// GetChecksumSha256Ok returns a tuple with the ChecksumSha256 field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *AlpinePackageUpload) GetChecksumSha256Ok() (*string, bool) { - if o == nil || o.ChecksumSha256 == nil { - return nil, false - } - return o.ChecksumSha256, true -} - -// HasChecksumSha256 returns a boolean if a field has been set. -func (o *AlpinePackageUpload) HasChecksumSha256() bool { - if o != nil && o.ChecksumSha256 != nil { - return true - } - - return false -} - -// SetChecksumSha256 gets a reference to the given string and assigns it to the ChecksumSha256 field. -func (o *AlpinePackageUpload) SetChecksumSha256(v string) { - o.ChecksumSha256 = &v -} - -// GetChecksumSha512 returns the ChecksumSha512 field value if set, zero value otherwise. -func (o *AlpinePackageUpload) GetChecksumSha512() string { - if o == nil || o.ChecksumSha512 == nil { - var ret string - return ret - } - return *o.ChecksumSha512 -} - -// GetChecksumSha512Ok returns a tuple with the ChecksumSha512 field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *AlpinePackageUpload) GetChecksumSha512Ok() (*string, bool) { - if o == nil || o.ChecksumSha512 == nil { - return nil, false - } - return o.ChecksumSha512, true -} - -// HasChecksumSha512 returns a boolean if a field has been set. -func (o *AlpinePackageUpload) HasChecksumSha512() bool { - if o != nil && o.ChecksumSha512 != nil { - return true - } - - return false -} - -// SetChecksumSha512 gets a reference to the given string and assigns it to the ChecksumSha512 field. -func (o *AlpinePackageUpload) SetChecksumSha512(v string) { - o.ChecksumSha512 = &v -} - -// GetDependenciesChecksumMd5 returns the DependenciesChecksumMd5 field value if set, zero value otherwise. -func (o *AlpinePackageUpload) GetDependenciesChecksumMd5() string { - if o == nil || o.DependenciesChecksumMd5 == nil { - var ret string - return ret - } - return *o.DependenciesChecksumMd5 -} - -// GetDependenciesChecksumMd5Ok returns a tuple with the DependenciesChecksumMd5 field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *AlpinePackageUpload) GetDependenciesChecksumMd5Ok() (*string, bool) { - if o == nil || o.DependenciesChecksumMd5 == nil { - return nil, false - } - return o.DependenciesChecksumMd5, true -} - -// HasDependenciesChecksumMd5 returns a boolean if a field has been set. -func (o *AlpinePackageUpload) HasDependenciesChecksumMd5() bool { - if o != nil && o.DependenciesChecksumMd5 != nil { - return true - } - - return false -} - -// SetDependenciesChecksumMd5 gets a reference to the given string and assigns it to the DependenciesChecksumMd5 field. -func (o *AlpinePackageUpload) SetDependenciesChecksumMd5(v string) { - o.DependenciesChecksumMd5 = &v -} - -// GetDependenciesUrl returns the DependenciesUrl field value if set, zero value otherwise. -func (o *AlpinePackageUpload) GetDependenciesUrl() string { - if o == nil || o.DependenciesUrl == nil { - var ret string - return ret - } - return *o.DependenciesUrl -} - -// GetDependenciesUrlOk returns a tuple with the DependenciesUrl field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *AlpinePackageUpload) GetDependenciesUrlOk() (*string, bool) { - if o == nil || o.DependenciesUrl == nil { - return nil, false - } - return o.DependenciesUrl, true -} - -// HasDependenciesUrl returns a boolean if a field has been set. -func (o *AlpinePackageUpload) HasDependenciesUrl() bool { - if o != nil && o.DependenciesUrl != nil { - return true - } - - return false -} - -// SetDependenciesUrl gets a reference to the given string and assigns it to the DependenciesUrl field. -func (o *AlpinePackageUpload) SetDependenciesUrl(v string) { - o.DependenciesUrl = &v -} - -// GetDescription returns the Description field value if set, zero value otherwise. -func (o *AlpinePackageUpload) GetDescription() string { - if o == nil || o.Description == nil { - var ret string - return ret - } - return *o.Description -} - -// GetDescriptionOk returns a tuple with the Description field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *AlpinePackageUpload) GetDescriptionOk() (*string, bool) { - if o == nil || o.Description == nil { - return nil, false - } - return o.Description, true -} - -// HasDescription returns a boolean if a field has been set. -func (o *AlpinePackageUpload) HasDescription() bool { - if o != nil && o.Description != nil { - return true - } - - return false -} - -// SetDescription gets a reference to the given string and assigns it to the Description field. -func (o *AlpinePackageUpload) SetDescription(v string) { - o.Description = &v -} - -// GetDistro returns the Distro field value if set, zero value otherwise. -func (o *AlpinePackageUpload) GetDistro() map[string]interface{} { - if o == nil || o.Distro == nil { - var ret map[string]interface{} - return ret - } - return o.Distro -} - -// GetDistroOk returns a tuple with the Distro field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *AlpinePackageUpload) GetDistroOk() (map[string]interface{}, bool) { - if o == nil || o.Distro == nil { - return nil, false - } - return o.Distro, true -} - -// HasDistro returns a boolean if a field has been set. -func (o *AlpinePackageUpload) HasDistro() bool { - if o != nil && o.Distro != nil { - return true - } - - return false -} - -// SetDistro gets a reference to the given map[string]interface{} and assigns it to the Distro field. -func (o *AlpinePackageUpload) SetDistro(v map[string]interface{}) { - o.Distro = v -} - -// GetDistroVersion returns the DistroVersion field value if set, zero value otherwise. -func (o *AlpinePackageUpload) GetDistroVersion() map[string]interface{} { - if o == nil || o.DistroVersion == nil { - var ret map[string]interface{} - return ret - } - return o.DistroVersion -} - -// GetDistroVersionOk returns a tuple with the DistroVersion field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *AlpinePackageUpload) GetDistroVersionOk() (map[string]interface{}, bool) { - if o == nil || o.DistroVersion == nil { - return nil, false - } - return o.DistroVersion, true -} - -// HasDistroVersion returns a boolean if a field has been set. -func (o *AlpinePackageUpload) HasDistroVersion() bool { - if o != nil && o.DistroVersion != nil { - return true - } - - return false -} - -// SetDistroVersion gets a reference to the given map[string]interface{} and assigns it to the DistroVersion field. -func (o *AlpinePackageUpload) SetDistroVersion(v map[string]interface{}) { - o.DistroVersion = v -} - -// GetDownloads returns the Downloads field value if set, zero value otherwise. -func (o *AlpinePackageUpload) GetDownloads() int64 { - if o == nil || o.Downloads == nil { - var ret int64 - return ret - } - return *o.Downloads -} - -// GetDownloadsOk returns a tuple with the Downloads field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *AlpinePackageUpload) GetDownloadsOk() (*int64, bool) { - if o == nil || o.Downloads == nil { - return nil, false - } - return o.Downloads, true -} - -// HasDownloads returns a boolean if a field has been set. -func (o *AlpinePackageUpload) HasDownloads() bool { - if o != nil && o.Downloads != nil { - return true - } - - return false -} - -// SetDownloads gets a reference to the given int64 and assigns it to the Downloads field. -func (o *AlpinePackageUpload) SetDownloads(v int64) { - o.Downloads = &v -} - -// GetEpoch returns the Epoch field value if set, zero value otherwise. -func (o *AlpinePackageUpload) GetEpoch() int64 { - if o == nil || o.Epoch == nil { - var ret int64 - return ret - } - return *o.Epoch -} - -// GetEpochOk returns a tuple with the Epoch field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *AlpinePackageUpload) GetEpochOk() (*int64, bool) { - if o == nil || o.Epoch == nil { - return nil, false - } - return o.Epoch, true -} - -// HasEpoch returns a boolean if a field has been set. -func (o *AlpinePackageUpload) HasEpoch() bool { - if o != nil && o.Epoch != nil { - return true - } - - return false -} - -// SetEpoch gets a reference to the given int64 and assigns it to the Epoch field. -func (o *AlpinePackageUpload) SetEpoch(v int64) { - o.Epoch = &v -} - -// GetExtension returns the Extension field value if set, zero value otherwise. -func (o *AlpinePackageUpload) GetExtension() string { - if o == nil || o.Extension == nil { - var ret string - return ret - } - return *o.Extension -} - -// GetExtensionOk returns a tuple with the Extension field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *AlpinePackageUpload) GetExtensionOk() (*string, bool) { - if o == nil || o.Extension == nil { - return nil, false - } - return o.Extension, true -} - -// HasExtension returns a boolean if a field has been set. -func (o *AlpinePackageUpload) HasExtension() bool { - if o != nil && o.Extension != nil { - return true - } - - return false -} - -// SetExtension gets a reference to the given string and assigns it to the Extension field. -func (o *AlpinePackageUpload) SetExtension(v string) { - o.Extension = &v -} - -// GetFilename returns the Filename field value if set, zero value otherwise. -func (o *AlpinePackageUpload) GetFilename() string { - if o == nil || o.Filename == nil { - var ret string - return ret - } - return *o.Filename -} - -// GetFilenameOk returns a tuple with the Filename field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *AlpinePackageUpload) GetFilenameOk() (*string, bool) { - if o == nil || o.Filename == nil { - return nil, false - } - return o.Filename, true -} - -// HasFilename returns a boolean if a field has been set. -func (o *AlpinePackageUpload) HasFilename() bool { - if o != nil && o.Filename != nil { - return true - } - - return false -} - -// SetFilename gets a reference to the given string and assigns it to the Filename field. -func (o *AlpinePackageUpload) SetFilename(v string) { - o.Filename = &v -} - -// GetFiles returns the Files field value if set, zero value otherwise. -func (o *AlpinePackageUpload) GetFiles() []PackagesOwnerRepoFiles { - if o == nil || o.Files == nil { - var ret []PackagesOwnerRepoFiles - return ret - } - return o.Files -} - -// GetFilesOk returns a tuple with the Files field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *AlpinePackageUpload) GetFilesOk() ([]PackagesOwnerRepoFiles, bool) { - if o == nil || o.Files == nil { - return nil, false - } - return o.Files, true -} - -// HasFiles returns a boolean if a field has been set. -func (o *AlpinePackageUpload) HasFiles() bool { - if o != nil && o.Files != nil { - return true - } - - return false -} - -// SetFiles gets a reference to the given []PackagesOwnerRepoFiles and assigns it to the Files field. -func (o *AlpinePackageUpload) SetFiles(v []PackagesOwnerRepoFiles) { - o.Files = v -} - -// GetFormat returns the Format field value if set, zero value otherwise. -func (o *AlpinePackageUpload) GetFormat() string { - if o == nil || o.Format == nil { - var ret string - return ret - } - return *o.Format -} - -// GetFormatOk returns a tuple with the Format field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *AlpinePackageUpload) GetFormatOk() (*string, bool) { - if o == nil || o.Format == nil { - return nil, false - } - return o.Format, true -} - -// HasFormat returns a boolean if a field has been set. -func (o *AlpinePackageUpload) HasFormat() bool { - if o != nil && o.Format != nil { - return true - } - - return false -} - -// SetFormat gets a reference to the given string and assigns it to the Format field. -func (o *AlpinePackageUpload) SetFormat(v string) { - o.Format = &v -} - -// GetFormatUrl returns the FormatUrl field value if set, zero value otherwise. -func (o *AlpinePackageUpload) GetFormatUrl() string { - if o == nil || o.FormatUrl == nil { - var ret string - return ret - } - return *o.FormatUrl -} - -// GetFormatUrlOk returns a tuple with the FormatUrl field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *AlpinePackageUpload) GetFormatUrlOk() (*string, bool) { - if o == nil || o.FormatUrl == nil { - return nil, false - } - return o.FormatUrl, true -} - -// HasFormatUrl returns a boolean if a field has been set. -func (o *AlpinePackageUpload) HasFormatUrl() bool { - if o != nil && o.FormatUrl != nil { - return true - } - - return false -} - -// SetFormatUrl gets a reference to the given string and assigns it to the FormatUrl field. -func (o *AlpinePackageUpload) SetFormatUrl(v string) { - o.FormatUrl = &v -} - -// GetIdentifierPerm returns the IdentifierPerm field value if set, zero value otherwise. -func (o *AlpinePackageUpload) GetIdentifierPerm() string { - if o == nil || o.IdentifierPerm == nil { - var ret string - return ret - } - return *o.IdentifierPerm -} - -// GetIdentifierPermOk returns a tuple with the IdentifierPerm field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *AlpinePackageUpload) GetIdentifierPermOk() (*string, bool) { - if o == nil || o.IdentifierPerm == nil { - return nil, false - } - return o.IdentifierPerm, true -} - -// HasIdentifierPerm returns a boolean if a field has been set. -func (o *AlpinePackageUpload) HasIdentifierPerm() bool { - if o != nil && o.IdentifierPerm != nil { - return true - } - - return false -} - -// SetIdentifierPerm gets a reference to the given string and assigns it to the IdentifierPerm field. -func (o *AlpinePackageUpload) SetIdentifierPerm(v string) { - o.IdentifierPerm = &v -} - -// GetIndexed returns the Indexed field value if set, zero value otherwise. -func (o *AlpinePackageUpload) GetIndexed() bool { - if o == nil || o.Indexed == nil { - var ret bool - return ret - } - return *o.Indexed -} - -// GetIndexedOk returns a tuple with the Indexed field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *AlpinePackageUpload) GetIndexedOk() (*bool, bool) { - if o == nil || o.Indexed == nil { - return nil, false - } - return o.Indexed, true -} - -// HasIndexed returns a boolean if a field has been set. -func (o *AlpinePackageUpload) HasIndexed() bool { - if o != nil && o.Indexed != nil { - return true - } - - return false -} - -// SetIndexed gets a reference to the given bool and assigns it to the Indexed field. -func (o *AlpinePackageUpload) SetIndexed(v bool) { - o.Indexed = &v -} - -// GetIsDownloadable returns the IsDownloadable field value if set, zero value otherwise. -func (o *AlpinePackageUpload) GetIsDownloadable() bool { - if o == nil || o.IsDownloadable == nil { - var ret bool - return ret - } - return *o.IsDownloadable -} - -// GetIsDownloadableOk returns a tuple with the IsDownloadable field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *AlpinePackageUpload) GetIsDownloadableOk() (*bool, bool) { - if o == nil || o.IsDownloadable == nil { - return nil, false - } - return o.IsDownloadable, true -} - -// HasIsDownloadable returns a boolean if a field has been set. -func (o *AlpinePackageUpload) HasIsDownloadable() bool { - if o != nil && o.IsDownloadable != nil { - return true - } - - return false -} - -// SetIsDownloadable gets a reference to the given bool and assigns it to the IsDownloadable field. -func (o *AlpinePackageUpload) SetIsDownloadable(v bool) { - o.IsDownloadable = &v -} - -// GetIsQuarantined returns the IsQuarantined field value if set, zero value otherwise. -func (o *AlpinePackageUpload) GetIsQuarantined() bool { - if o == nil || o.IsQuarantined == nil { - var ret bool - return ret - } - return *o.IsQuarantined -} - -// GetIsQuarantinedOk returns a tuple with the IsQuarantined field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *AlpinePackageUpload) GetIsQuarantinedOk() (*bool, bool) { - if o == nil || o.IsQuarantined == nil { - return nil, false - } - return o.IsQuarantined, true -} - -// HasIsQuarantined returns a boolean if a field has been set. -func (o *AlpinePackageUpload) HasIsQuarantined() bool { - if o != nil && o.IsQuarantined != nil { - return true - } - - return false -} - -// SetIsQuarantined gets a reference to the given bool and assigns it to the IsQuarantined field. -func (o *AlpinePackageUpload) SetIsQuarantined(v bool) { - o.IsQuarantined = &v -} - -// GetIsSyncAwaiting returns the IsSyncAwaiting field value if set, zero value otherwise. -func (o *AlpinePackageUpload) GetIsSyncAwaiting() bool { - if o == nil || o.IsSyncAwaiting == nil { - var ret bool - return ret - } - return *o.IsSyncAwaiting -} - -// GetIsSyncAwaitingOk returns a tuple with the IsSyncAwaiting field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *AlpinePackageUpload) GetIsSyncAwaitingOk() (*bool, bool) { - if o == nil || o.IsSyncAwaiting == nil { - return nil, false - } - return o.IsSyncAwaiting, true -} - -// HasIsSyncAwaiting returns a boolean if a field has been set. -func (o *AlpinePackageUpload) HasIsSyncAwaiting() bool { - if o != nil && o.IsSyncAwaiting != nil { - return true - } - - return false -} - -// SetIsSyncAwaiting gets a reference to the given bool and assigns it to the IsSyncAwaiting field. -func (o *AlpinePackageUpload) SetIsSyncAwaiting(v bool) { - o.IsSyncAwaiting = &v -} - -// GetIsSyncCompleted returns the IsSyncCompleted field value if set, zero value otherwise. -func (o *AlpinePackageUpload) GetIsSyncCompleted() bool { - if o == nil || o.IsSyncCompleted == nil { - var ret bool - return ret - } - return *o.IsSyncCompleted -} - -// GetIsSyncCompletedOk returns a tuple with the IsSyncCompleted field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *AlpinePackageUpload) GetIsSyncCompletedOk() (*bool, bool) { - if o == nil || o.IsSyncCompleted == nil { - return nil, false - } - return o.IsSyncCompleted, true -} - -// HasIsSyncCompleted returns a boolean if a field has been set. -func (o *AlpinePackageUpload) HasIsSyncCompleted() bool { - if o != nil && o.IsSyncCompleted != nil { - return true - } - - return false -} - -// SetIsSyncCompleted gets a reference to the given bool and assigns it to the IsSyncCompleted field. -func (o *AlpinePackageUpload) SetIsSyncCompleted(v bool) { - o.IsSyncCompleted = &v -} - -// GetIsSyncFailed returns the IsSyncFailed field value if set, zero value otherwise. -func (o *AlpinePackageUpload) GetIsSyncFailed() bool { - if o == nil || o.IsSyncFailed == nil { - var ret bool - return ret - } - return *o.IsSyncFailed -} - -// GetIsSyncFailedOk returns a tuple with the IsSyncFailed field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *AlpinePackageUpload) GetIsSyncFailedOk() (*bool, bool) { - if o == nil || o.IsSyncFailed == nil { - return nil, false - } - return o.IsSyncFailed, true -} - -// HasIsSyncFailed returns a boolean if a field has been set. -func (o *AlpinePackageUpload) HasIsSyncFailed() bool { - if o != nil && o.IsSyncFailed != nil { - return true - } - - return false -} - -// SetIsSyncFailed gets a reference to the given bool and assigns it to the IsSyncFailed field. -func (o *AlpinePackageUpload) SetIsSyncFailed(v bool) { - o.IsSyncFailed = &v -} - -// GetIsSyncInFlight returns the IsSyncInFlight field value if set, zero value otherwise. -func (o *AlpinePackageUpload) GetIsSyncInFlight() bool { - if o == nil || o.IsSyncInFlight == nil { - var ret bool - return ret - } - return *o.IsSyncInFlight -} - -// GetIsSyncInFlightOk returns a tuple with the IsSyncInFlight field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *AlpinePackageUpload) GetIsSyncInFlightOk() (*bool, bool) { - if o == nil || o.IsSyncInFlight == nil { - return nil, false - } - return o.IsSyncInFlight, true -} - -// HasIsSyncInFlight returns a boolean if a field has been set. -func (o *AlpinePackageUpload) HasIsSyncInFlight() bool { - if o != nil && o.IsSyncInFlight != nil { - return true - } - - return false -} - -// SetIsSyncInFlight gets a reference to the given bool and assigns it to the IsSyncInFlight field. -func (o *AlpinePackageUpload) SetIsSyncInFlight(v bool) { - o.IsSyncInFlight = &v -} - -// GetIsSyncInProgress returns the IsSyncInProgress field value if set, zero value otherwise. -func (o *AlpinePackageUpload) GetIsSyncInProgress() bool { - if o == nil || o.IsSyncInProgress == nil { - var ret bool - return ret - } - return *o.IsSyncInProgress -} - -// GetIsSyncInProgressOk returns a tuple with the IsSyncInProgress field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *AlpinePackageUpload) GetIsSyncInProgressOk() (*bool, bool) { - if o == nil || o.IsSyncInProgress == nil { - return nil, false - } - return o.IsSyncInProgress, true -} - -// HasIsSyncInProgress returns a boolean if a field has been set. -func (o *AlpinePackageUpload) HasIsSyncInProgress() bool { - if o != nil && o.IsSyncInProgress != nil { - return true - } - - return false -} - -// SetIsSyncInProgress gets a reference to the given bool and assigns it to the IsSyncInProgress field. -func (o *AlpinePackageUpload) SetIsSyncInProgress(v bool) { - o.IsSyncInProgress = &v -} - -// GetLicense returns the License field value if set, zero value otherwise. -func (o *AlpinePackageUpload) GetLicense() string { - if o == nil || o.License == nil { - var ret string - return ret - } - return *o.License -} - -// GetLicenseOk returns a tuple with the License field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *AlpinePackageUpload) GetLicenseOk() (*string, bool) { - if o == nil || o.License == nil { - return nil, false - } - return o.License, true -} - -// HasLicense returns a boolean if a field has been set. -func (o *AlpinePackageUpload) HasLicense() bool { - if o != nil && o.License != nil { - return true - } - - return false -} - -// SetLicense gets a reference to the given string and assigns it to the License field. -func (o *AlpinePackageUpload) SetLicense(v string) { - o.License = &v -} - -// GetName returns the Name field value if set, zero value otherwise. -func (o *AlpinePackageUpload) GetName() string { - if o == nil || o.Name == nil { - var ret string - return ret - } - return *o.Name -} - -// GetNameOk returns a tuple with the Name field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *AlpinePackageUpload) GetNameOk() (*string, bool) { - if o == nil || o.Name == nil { - return nil, false - } - return o.Name, true -} - -// HasName returns a boolean if a field has been set. -func (o *AlpinePackageUpload) HasName() bool { - if o != nil && o.Name != nil { - return true - } - - return false -} - -// SetName gets a reference to the given string and assigns it to the Name field. -func (o *AlpinePackageUpload) SetName(v string) { - o.Name = &v -} - -// GetNamespace returns the Namespace field value if set, zero value otherwise. -func (o *AlpinePackageUpload) GetNamespace() string { - if o == nil || o.Namespace == nil { - var ret string - return ret - } - return *o.Namespace -} - -// GetNamespaceOk returns a tuple with the Namespace field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *AlpinePackageUpload) GetNamespaceOk() (*string, bool) { - if o == nil || o.Namespace == nil { - return nil, false - } - return o.Namespace, true -} - -// HasNamespace returns a boolean if a field has been set. -func (o *AlpinePackageUpload) HasNamespace() bool { - if o != nil && o.Namespace != nil { - return true - } - - return false -} - -// SetNamespace gets a reference to the given string and assigns it to the Namespace field. -func (o *AlpinePackageUpload) SetNamespace(v string) { - o.Namespace = &v -} - -// GetNamespaceUrl returns the NamespaceUrl field value if set, zero value otherwise. -func (o *AlpinePackageUpload) GetNamespaceUrl() string { - if o == nil || o.NamespaceUrl == nil { - var ret string - return ret - } - return *o.NamespaceUrl -} - -// GetNamespaceUrlOk returns a tuple with the NamespaceUrl field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *AlpinePackageUpload) GetNamespaceUrlOk() (*string, bool) { - if o == nil || o.NamespaceUrl == nil { - return nil, false - } - return o.NamespaceUrl, true -} - -// HasNamespaceUrl returns a boolean if a field has been set. -func (o *AlpinePackageUpload) HasNamespaceUrl() bool { - if o != nil && o.NamespaceUrl != nil { - return true - } - - return false -} - -// SetNamespaceUrl gets a reference to the given string and assigns it to the NamespaceUrl field. -func (o *AlpinePackageUpload) SetNamespaceUrl(v string) { - o.NamespaceUrl = &v -} - -// GetNumFiles returns the NumFiles field value if set, zero value otherwise. -func (o *AlpinePackageUpload) GetNumFiles() int64 { - if o == nil || o.NumFiles == nil { - var ret int64 - return ret - } - return *o.NumFiles -} - -// GetNumFilesOk returns a tuple with the NumFiles field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *AlpinePackageUpload) GetNumFilesOk() (*int64, bool) { - if o == nil || o.NumFiles == nil { - return nil, false - } - return o.NumFiles, true -} - -// HasNumFiles returns a boolean if a field has been set. -func (o *AlpinePackageUpload) HasNumFiles() bool { - if o != nil && o.NumFiles != nil { - return true - } - - return false -} - -// SetNumFiles gets a reference to the given int64 and assigns it to the NumFiles field. -func (o *AlpinePackageUpload) SetNumFiles(v int64) { - o.NumFiles = &v -} - -// GetPackageType returns the PackageType field value if set, zero value otherwise. -func (o *AlpinePackageUpload) GetPackageType() int64 { - if o == nil || o.PackageType == nil { - var ret int64 - return ret - } - return *o.PackageType -} - -// GetPackageTypeOk returns a tuple with the PackageType field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *AlpinePackageUpload) GetPackageTypeOk() (*int64, bool) { - if o == nil || o.PackageType == nil { - return nil, false - } - return o.PackageType, true -} - -// HasPackageType returns a boolean if a field has been set. -func (o *AlpinePackageUpload) HasPackageType() bool { - if o != nil && o.PackageType != nil { - return true - } - - return false -} - -// SetPackageType gets a reference to the given int64 and assigns it to the PackageType field. -func (o *AlpinePackageUpload) SetPackageType(v int64) { - o.PackageType = &v -} - -// GetRelease returns the Release field value if set, zero value otherwise. -func (o *AlpinePackageUpload) GetRelease() string { - if o == nil || o.Release == nil { - var ret string - return ret - } - return *o.Release -} - -// GetReleaseOk returns a tuple with the Release field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *AlpinePackageUpload) GetReleaseOk() (*string, bool) { - if o == nil || o.Release == nil { - return nil, false - } - return o.Release, true -} - -// HasRelease returns a boolean if a field has been set. -func (o *AlpinePackageUpload) HasRelease() bool { - if o != nil && o.Release != nil { - return true - } - - return false -} - -// SetRelease gets a reference to the given string and assigns it to the Release field. -func (o *AlpinePackageUpload) SetRelease(v string) { - o.Release = &v -} - -// GetRepository returns the Repository field value if set, zero value otherwise. -func (o *AlpinePackageUpload) GetRepository() string { - if o == nil || o.Repository == nil { - var ret string - return ret - } - return *o.Repository -} - -// GetRepositoryOk returns a tuple with the Repository field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *AlpinePackageUpload) GetRepositoryOk() (*string, bool) { - if o == nil || o.Repository == nil { - return nil, false - } - return o.Repository, true -} - -// HasRepository returns a boolean if a field has been set. -func (o *AlpinePackageUpload) HasRepository() bool { - if o != nil && o.Repository != nil { - return true - } - - return false -} - -// SetRepository gets a reference to the given string and assigns it to the Repository field. -func (o *AlpinePackageUpload) SetRepository(v string) { - o.Repository = &v -} - -// GetRepositoryUrl returns the RepositoryUrl field value if set, zero value otherwise. -func (o *AlpinePackageUpload) GetRepositoryUrl() string { - if o == nil || o.RepositoryUrl == nil { - var ret string - return ret - } - return *o.RepositoryUrl -} - -// GetRepositoryUrlOk returns a tuple with the RepositoryUrl field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *AlpinePackageUpload) GetRepositoryUrlOk() (*string, bool) { - if o == nil || o.RepositoryUrl == nil { - return nil, false - } - return o.RepositoryUrl, true -} - -// HasRepositoryUrl returns a boolean if a field has been set. -func (o *AlpinePackageUpload) HasRepositoryUrl() bool { - if o != nil && o.RepositoryUrl != nil { - return true - } - - return false -} - -// SetRepositoryUrl gets a reference to the given string and assigns it to the RepositoryUrl field. -func (o *AlpinePackageUpload) SetRepositoryUrl(v string) { - o.RepositoryUrl = &v -} - -// GetSecurityScanCompletedAt returns the SecurityScanCompletedAt field value if set, zero value otherwise. -func (o *AlpinePackageUpload) GetSecurityScanCompletedAt() string { - if o == nil || o.SecurityScanCompletedAt == nil { - var ret string - return ret - } - return *o.SecurityScanCompletedAt -} - -// GetSecurityScanCompletedAtOk returns a tuple with the SecurityScanCompletedAt field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *AlpinePackageUpload) GetSecurityScanCompletedAtOk() (*string, bool) { - if o == nil || o.SecurityScanCompletedAt == nil { - return nil, false - } - return o.SecurityScanCompletedAt, true -} - -// HasSecurityScanCompletedAt returns a boolean if a field has been set. -func (o *AlpinePackageUpload) HasSecurityScanCompletedAt() bool { - if o != nil && o.SecurityScanCompletedAt != nil { - return true - } - - return false -} - -// SetSecurityScanCompletedAt gets a reference to the given string and assigns it to the SecurityScanCompletedAt field. -func (o *AlpinePackageUpload) SetSecurityScanCompletedAt(v string) { - o.SecurityScanCompletedAt = &v -} - -// GetSecurityScanStartedAt returns the SecurityScanStartedAt field value if set, zero value otherwise. -func (o *AlpinePackageUpload) GetSecurityScanStartedAt() string { - if o == nil || o.SecurityScanStartedAt == nil { - var ret string - return ret - } - return *o.SecurityScanStartedAt -} - -// GetSecurityScanStartedAtOk returns a tuple with the SecurityScanStartedAt field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *AlpinePackageUpload) GetSecurityScanStartedAtOk() (*string, bool) { - if o == nil || o.SecurityScanStartedAt == nil { - return nil, false - } - return o.SecurityScanStartedAt, true -} - -// HasSecurityScanStartedAt returns a boolean if a field has been set. -func (o *AlpinePackageUpload) HasSecurityScanStartedAt() bool { - if o != nil && o.SecurityScanStartedAt != nil { - return true - } - - return false -} - -// SetSecurityScanStartedAt gets a reference to the given string and assigns it to the SecurityScanStartedAt field. -func (o *AlpinePackageUpload) SetSecurityScanStartedAt(v string) { - o.SecurityScanStartedAt = &v -} - -// GetSecurityScanStatus returns the SecurityScanStatus field value if set, zero value otherwise. -func (o *AlpinePackageUpload) GetSecurityScanStatus() string { - if o == nil || o.SecurityScanStatus == nil { - var ret string - return ret - } - return *o.SecurityScanStatus -} - -// GetSecurityScanStatusOk returns a tuple with the SecurityScanStatus field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *AlpinePackageUpload) GetSecurityScanStatusOk() (*string, bool) { - if o == nil || o.SecurityScanStatus == nil { - return nil, false - } - return o.SecurityScanStatus, true -} - -// HasSecurityScanStatus returns a boolean if a field has been set. -func (o *AlpinePackageUpload) HasSecurityScanStatus() bool { - if o != nil && o.SecurityScanStatus != nil { - return true - } - - return false -} - -// SetSecurityScanStatus gets a reference to the given string and assigns it to the SecurityScanStatus field. -func (o *AlpinePackageUpload) SetSecurityScanStatus(v string) { - o.SecurityScanStatus = &v -} - -// GetSecurityScanStatusUpdatedAt returns the SecurityScanStatusUpdatedAt field value if set, zero value otherwise. -func (o *AlpinePackageUpload) GetSecurityScanStatusUpdatedAt() string { - if o == nil || o.SecurityScanStatusUpdatedAt == nil { - var ret string - return ret - } - return *o.SecurityScanStatusUpdatedAt -} - -// GetSecurityScanStatusUpdatedAtOk returns a tuple with the SecurityScanStatusUpdatedAt field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *AlpinePackageUpload) GetSecurityScanStatusUpdatedAtOk() (*string, bool) { - if o == nil || o.SecurityScanStatusUpdatedAt == nil { - return nil, false - } - return o.SecurityScanStatusUpdatedAt, true -} - -// HasSecurityScanStatusUpdatedAt returns a boolean if a field has been set. -func (o *AlpinePackageUpload) HasSecurityScanStatusUpdatedAt() bool { - if o != nil && o.SecurityScanStatusUpdatedAt != nil { - return true - } - - return false -} - -// SetSecurityScanStatusUpdatedAt gets a reference to the given string and assigns it to the SecurityScanStatusUpdatedAt field. -func (o *AlpinePackageUpload) SetSecurityScanStatusUpdatedAt(v string) { - o.SecurityScanStatusUpdatedAt = &v -} - -// GetSelfHtmlUrl returns the SelfHtmlUrl field value if set, zero value otherwise. -func (o *AlpinePackageUpload) GetSelfHtmlUrl() string { - if o == nil || o.SelfHtmlUrl == nil { - var ret string - return ret - } - return *o.SelfHtmlUrl -} - -// GetSelfHtmlUrlOk returns a tuple with the SelfHtmlUrl field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *AlpinePackageUpload) GetSelfHtmlUrlOk() (*string, bool) { - if o == nil || o.SelfHtmlUrl == nil { - return nil, false - } - return o.SelfHtmlUrl, true -} - -// HasSelfHtmlUrl returns a boolean if a field has been set. -func (o *AlpinePackageUpload) HasSelfHtmlUrl() bool { - if o != nil && o.SelfHtmlUrl != nil { - return true - } - - return false -} - -// SetSelfHtmlUrl gets a reference to the given string and assigns it to the SelfHtmlUrl field. -func (o *AlpinePackageUpload) SetSelfHtmlUrl(v string) { - o.SelfHtmlUrl = &v -} - -// GetSelfUrl returns the SelfUrl field value if set, zero value otherwise. -func (o *AlpinePackageUpload) GetSelfUrl() string { - if o == nil || o.SelfUrl == nil { - var ret string - return ret - } - return *o.SelfUrl -} - -// GetSelfUrlOk returns a tuple with the SelfUrl field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *AlpinePackageUpload) GetSelfUrlOk() (*string, bool) { - if o == nil || o.SelfUrl == nil { - return nil, false - } - return o.SelfUrl, true -} - -// HasSelfUrl returns a boolean if a field has been set. -func (o *AlpinePackageUpload) HasSelfUrl() bool { - if o != nil && o.SelfUrl != nil { - return true - } - - return false -} - -// SetSelfUrl gets a reference to the given string and assigns it to the SelfUrl field. -func (o *AlpinePackageUpload) SetSelfUrl(v string) { - o.SelfUrl = &v -} - -// GetSignatureUrl returns the SignatureUrl field value if set, zero value otherwise. -func (o *AlpinePackageUpload) GetSignatureUrl() string { - if o == nil || o.SignatureUrl == nil { - var ret string - return ret - } - return *o.SignatureUrl -} - -// GetSignatureUrlOk returns a tuple with the SignatureUrl field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *AlpinePackageUpload) GetSignatureUrlOk() (*string, bool) { - if o == nil || o.SignatureUrl == nil { - return nil, false - } - return o.SignatureUrl, true -} - -// HasSignatureUrl returns a boolean if a field has been set. -func (o *AlpinePackageUpload) HasSignatureUrl() bool { - if o != nil && o.SignatureUrl != nil { - return true - } - - return false -} - -// SetSignatureUrl gets a reference to the given string and assigns it to the SignatureUrl field. -func (o *AlpinePackageUpload) SetSignatureUrl(v string) { - o.SignatureUrl = &v -} - -// GetSize returns the Size field value if set, zero value otherwise. -func (o *AlpinePackageUpload) GetSize() int64 { - if o == nil || o.Size == nil { - var ret int64 - return ret - } - return *o.Size -} - -// GetSizeOk returns a tuple with the Size field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *AlpinePackageUpload) GetSizeOk() (*int64, bool) { - if o == nil || o.Size == nil { - return nil, false - } - return o.Size, true -} - -// HasSize returns a boolean if a field has been set. -func (o *AlpinePackageUpload) HasSize() bool { - if o != nil && o.Size != nil { - return true - } - - return false -} - -// SetSize gets a reference to the given int64 and assigns it to the Size field. -func (o *AlpinePackageUpload) SetSize(v int64) { - o.Size = &v -} - -// GetSlug returns the Slug field value if set, zero value otherwise. -func (o *AlpinePackageUpload) GetSlug() string { - if o == nil || o.Slug == nil { - var ret string - return ret - } - return *o.Slug -} - -// GetSlugOk returns a tuple with the Slug field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *AlpinePackageUpload) GetSlugOk() (*string, bool) { - if o == nil || o.Slug == nil { - return nil, false - } - return o.Slug, true -} - -// HasSlug returns a boolean if a field has been set. -func (o *AlpinePackageUpload) HasSlug() bool { - if o != nil && o.Slug != nil { - return true - } - - return false -} - -// SetSlug gets a reference to the given string and assigns it to the Slug field. -func (o *AlpinePackageUpload) SetSlug(v string) { - o.Slug = &v -} - -// GetSlugPerm returns the SlugPerm field value if set, zero value otherwise. -func (o *AlpinePackageUpload) GetSlugPerm() string { - if o == nil || o.SlugPerm == nil { - var ret string - return ret - } - return *o.SlugPerm -} - -// GetSlugPermOk returns a tuple with the SlugPerm field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *AlpinePackageUpload) GetSlugPermOk() (*string, bool) { - if o == nil || o.SlugPerm == nil { - return nil, false - } - return o.SlugPerm, true -} - -// HasSlugPerm returns a boolean if a field has been set. -func (o *AlpinePackageUpload) HasSlugPerm() bool { - if o != nil && o.SlugPerm != nil { - return true - } - - return false -} - -// SetSlugPerm gets a reference to the given string and assigns it to the SlugPerm field. -func (o *AlpinePackageUpload) SetSlugPerm(v string) { - o.SlugPerm = &v -} - -// GetStage returns the Stage field value if set, zero value otherwise. -func (o *AlpinePackageUpload) GetStage() int64 { - if o == nil || o.Stage == nil { - var ret int64 - return ret - } - return *o.Stage -} - -// GetStageOk returns a tuple with the Stage field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *AlpinePackageUpload) GetStageOk() (*int64, bool) { - if o == nil || o.Stage == nil { - return nil, false - } - return o.Stage, true -} - -// HasStage returns a boolean if a field has been set. -func (o *AlpinePackageUpload) HasStage() bool { - if o != nil && o.Stage != nil { - return true - } - - return false -} - -// SetStage gets a reference to the given int64 and assigns it to the Stage field. -func (o *AlpinePackageUpload) SetStage(v int64) { - o.Stage = &v -} - -// GetStageStr returns the StageStr field value if set, zero value otherwise. -func (o *AlpinePackageUpload) GetStageStr() string { - if o == nil || o.StageStr == nil { - var ret string - return ret - } - return *o.StageStr -} - -// GetStageStrOk returns a tuple with the StageStr field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *AlpinePackageUpload) GetStageStrOk() (*string, bool) { - if o == nil || o.StageStr == nil { - return nil, false - } - return o.StageStr, true -} - -// HasStageStr returns a boolean if a field has been set. -func (o *AlpinePackageUpload) HasStageStr() bool { - if o != nil && o.StageStr != nil { - return true - } - - return false -} - -// SetStageStr gets a reference to the given string and assigns it to the StageStr field. -func (o *AlpinePackageUpload) SetStageStr(v string) { - o.StageStr = &v -} - -// GetStageUpdatedAt returns the StageUpdatedAt field value if set, zero value otherwise. -func (o *AlpinePackageUpload) GetStageUpdatedAt() string { - if o == nil || o.StageUpdatedAt == nil { - var ret string - return ret - } - return *o.StageUpdatedAt -} - -// GetStageUpdatedAtOk returns a tuple with the StageUpdatedAt field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *AlpinePackageUpload) GetStageUpdatedAtOk() (*string, bool) { - if o == nil || o.StageUpdatedAt == nil { - return nil, false - } - return o.StageUpdatedAt, true -} - -// HasStageUpdatedAt returns a boolean if a field has been set. -func (o *AlpinePackageUpload) HasStageUpdatedAt() bool { - if o != nil && o.StageUpdatedAt != nil { - return true - } - - return false -} - -// SetStageUpdatedAt gets a reference to the given string and assigns it to the StageUpdatedAt field. -func (o *AlpinePackageUpload) SetStageUpdatedAt(v string) { - o.StageUpdatedAt = &v -} - -// GetStatus returns the Status field value if set, zero value otherwise. -func (o *AlpinePackageUpload) GetStatus() int64 { - if o == nil || o.Status == nil { - var ret int64 - return ret - } - return *o.Status -} - -// GetStatusOk returns a tuple with the Status field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *AlpinePackageUpload) GetStatusOk() (*int64, bool) { - if o == nil || o.Status == nil { - return nil, false - } - return o.Status, true -} - -// HasStatus returns a boolean if a field has been set. -func (o *AlpinePackageUpload) HasStatus() bool { - if o != nil && o.Status != nil { - return true - } - - return false -} - -// SetStatus gets a reference to the given int64 and assigns it to the Status field. -func (o *AlpinePackageUpload) SetStatus(v int64) { - o.Status = &v -} - -// GetStatusReason returns the StatusReason field value if set, zero value otherwise. -func (o *AlpinePackageUpload) GetStatusReason() string { - if o == nil || o.StatusReason == nil { - var ret string - return ret - } - return *o.StatusReason -} - -// GetStatusReasonOk returns a tuple with the StatusReason field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *AlpinePackageUpload) GetStatusReasonOk() (*string, bool) { - if o == nil || o.StatusReason == nil { - return nil, false - } - return o.StatusReason, true -} - -// HasStatusReason returns a boolean if a field has been set. -func (o *AlpinePackageUpload) HasStatusReason() bool { - if o != nil && o.StatusReason != nil { - return true - } - - return false -} - -// SetStatusReason gets a reference to the given string and assigns it to the StatusReason field. -func (o *AlpinePackageUpload) SetStatusReason(v string) { - o.StatusReason = &v -} - -// GetStatusStr returns the StatusStr field value if set, zero value otherwise. -func (o *AlpinePackageUpload) GetStatusStr() string { - if o == nil || o.StatusStr == nil { - var ret string - return ret - } - return *o.StatusStr -} - -// GetStatusStrOk returns a tuple with the StatusStr field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *AlpinePackageUpload) GetStatusStrOk() (*string, bool) { - if o == nil || o.StatusStr == nil { - return nil, false - } - return o.StatusStr, true -} - -// HasStatusStr returns a boolean if a field has been set. -func (o *AlpinePackageUpload) HasStatusStr() bool { - if o != nil && o.StatusStr != nil { - return true - } - - return false -} - -// SetStatusStr gets a reference to the given string and assigns it to the StatusStr field. -func (o *AlpinePackageUpload) SetStatusStr(v string) { - o.StatusStr = &v -} - -// GetStatusUpdatedAt returns the StatusUpdatedAt field value if set, zero value otherwise. -func (o *AlpinePackageUpload) GetStatusUpdatedAt() string { - if o == nil || o.StatusUpdatedAt == nil { - var ret string - return ret - } - return *o.StatusUpdatedAt -} - -// GetStatusUpdatedAtOk returns a tuple with the StatusUpdatedAt field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *AlpinePackageUpload) GetStatusUpdatedAtOk() (*string, bool) { - if o == nil || o.StatusUpdatedAt == nil { - return nil, false - } - return o.StatusUpdatedAt, true -} - -// HasStatusUpdatedAt returns a boolean if a field has been set. -func (o *AlpinePackageUpload) HasStatusUpdatedAt() bool { - if o != nil && o.StatusUpdatedAt != nil { - return true - } - - return false -} - -// SetStatusUpdatedAt gets a reference to the given string and assigns it to the StatusUpdatedAt field. -func (o *AlpinePackageUpload) SetStatusUpdatedAt(v string) { - o.StatusUpdatedAt = &v -} - -// GetStatusUrl returns the StatusUrl field value if set, zero value otherwise. -func (o *AlpinePackageUpload) GetStatusUrl() string { - if o == nil || o.StatusUrl == nil { - var ret string - return ret - } - return *o.StatusUrl -} - -// GetStatusUrlOk returns a tuple with the StatusUrl field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *AlpinePackageUpload) GetStatusUrlOk() (*string, bool) { - if o == nil || o.StatusUrl == nil { - return nil, false - } - return o.StatusUrl, true -} - -// HasStatusUrl returns a boolean if a field has been set. -func (o *AlpinePackageUpload) HasStatusUrl() bool { - if o != nil && o.StatusUrl != nil { - return true - } - - return false -} - -// SetStatusUrl gets a reference to the given string and assigns it to the StatusUrl field. -func (o *AlpinePackageUpload) SetStatusUrl(v string) { - o.StatusUrl = &v -} - -// GetSubtype returns the Subtype field value if set, zero value otherwise. -func (o *AlpinePackageUpload) GetSubtype() string { - if o == nil || o.Subtype == nil { - var ret string - return ret - } - return *o.Subtype -} - -// GetSubtypeOk returns a tuple with the Subtype field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *AlpinePackageUpload) GetSubtypeOk() (*string, bool) { - if o == nil || o.Subtype == nil { - return nil, false - } - return o.Subtype, true -} - -// HasSubtype returns a boolean if a field has been set. -func (o *AlpinePackageUpload) HasSubtype() bool { - if o != nil && o.Subtype != nil { - return true - } - - return false -} - -// SetSubtype gets a reference to the given string and assigns it to the Subtype field. -func (o *AlpinePackageUpload) SetSubtype(v string) { - o.Subtype = &v -} - -// GetSummary returns the Summary field value if set, zero value otherwise. -func (o *AlpinePackageUpload) GetSummary() string { - if o == nil || o.Summary == nil { - var ret string - return ret - } - return *o.Summary -} - -// GetSummaryOk returns a tuple with the Summary field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *AlpinePackageUpload) GetSummaryOk() (*string, bool) { - if o == nil || o.Summary == nil { - return nil, false - } - return o.Summary, true -} - -// HasSummary returns a boolean if a field has been set. -func (o *AlpinePackageUpload) HasSummary() bool { - if o != nil && o.Summary != nil { - return true - } - - return false -} - -// SetSummary gets a reference to the given string and assigns it to the Summary field. -func (o *AlpinePackageUpload) SetSummary(v string) { - o.Summary = &v -} - -// GetSyncFinishedAt returns the SyncFinishedAt field value if set, zero value otherwise. -func (o *AlpinePackageUpload) GetSyncFinishedAt() string { - if o == nil || o.SyncFinishedAt == nil { - var ret string - return ret - } - return *o.SyncFinishedAt -} - -// GetSyncFinishedAtOk returns a tuple with the SyncFinishedAt field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *AlpinePackageUpload) GetSyncFinishedAtOk() (*string, bool) { - if o == nil || o.SyncFinishedAt == nil { - return nil, false - } - return o.SyncFinishedAt, true -} - -// HasSyncFinishedAt returns a boolean if a field has been set. -func (o *AlpinePackageUpload) HasSyncFinishedAt() bool { - if o != nil && o.SyncFinishedAt != nil { - return true - } - - return false -} - -// SetSyncFinishedAt gets a reference to the given string and assigns it to the SyncFinishedAt field. -func (o *AlpinePackageUpload) SetSyncFinishedAt(v string) { - o.SyncFinishedAt = &v -} - -// GetSyncProgress returns the SyncProgress field value if set, zero value otherwise. -func (o *AlpinePackageUpload) GetSyncProgress() int64 { - if o == nil || o.SyncProgress == nil { - var ret int64 - return ret - } - return *o.SyncProgress -} - -// GetSyncProgressOk returns a tuple with the SyncProgress field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *AlpinePackageUpload) GetSyncProgressOk() (*int64, bool) { - if o == nil || o.SyncProgress == nil { - return nil, false - } - return o.SyncProgress, true -} - -// HasSyncProgress returns a boolean if a field has been set. -func (o *AlpinePackageUpload) HasSyncProgress() bool { - if o != nil && o.SyncProgress != nil { - return true - } - - return false -} - -// SetSyncProgress gets a reference to the given int64 and assigns it to the SyncProgress field. -func (o *AlpinePackageUpload) SetSyncProgress(v int64) { - o.SyncProgress = &v -} - -// GetTagsImmutable returns the TagsImmutable field value if set, zero value otherwise. -func (o *AlpinePackageUpload) GetTagsImmutable() map[string]interface{} { - if o == nil || o.TagsImmutable == nil { - var ret map[string]interface{} - return ret - } - return o.TagsImmutable -} - -// GetTagsImmutableOk returns a tuple with the TagsImmutable field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *AlpinePackageUpload) GetTagsImmutableOk() (map[string]interface{}, bool) { - if o == nil || o.TagsImmutable == nil { - return nil, false - } - return o.TagsImmutable, true -} - -// HasTagsImmutable returns a boolean if a field has been set. -func (o *AlpinePackageUpload) HasTagsImmutable() bool { - if o != nil && o.TagsImmutable != nil { - return true - } - - return false -} - -// SetTagsImmutable gets a reference to the given map[string]interface{} and assigns it to the TagsImmutable field. -func (o *AlpinePackageUpload) SetTagsImmutable(v map[string]interface{}) { - o.TagsImmutable = v -} - -// GetTypeDisplay returns the TypeDisplay field value if set, zero value otherwise. -func (o *AlpinePackageUpload) GetTypeDisplay() string { - if o == nil || o.TypeDisplay == nil { - var ret string - return ret - } - return *o.TypeDisplay -} - -// GetTypeDisplayOk returns a tuple with the TypeDisplay field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *AlpinePackageUpload) GetTypeDisplayOk() (*string, bool) { - if o == nil || o.TypeDisplay == nil { - return nil, false - } - return o.TypeDisplay, true -} - -// HasTypeDisplay returns a boolean if a field has been set. -func (o *AlpinePackageUpload) HasTypeDisplay() bool { - if o != nil && o.TypeDisplay != nil { - return true - } - - return false -} - -// SetTypeDisplay gets a reference to the given string and assigns it to the TypeDisplay field. -func (o *AlpinePackageUpload) SetTypeDisplay(v string) { - o.TypeDisplay = &v -} - -// GetUploadedAt returns the UploadedAt field value if set, zero value otherwise. -func (o *AlpinePackageUpload) GetUploadedAt() string { - if o == nil || o.UploadedAt == nil { - var ret string - return ret - } - return *o.UploadedAt -} - -// GetUploadedAtOk returns a tuple with the UploadedAt field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *AlpinePackageUpload) GetUploadedAtOk() (*string, bool) { - if o == nil || o.UploadedAt == nil { - return nil, false - } - return o.UploadedAt, true -} - -// HasUploadedAt returns a boolean if a field has been set. -func (o *AlpinePackageUpload) HasUploadedAt() bool { - if o != nil && o.UploadedAt != nil { - return true - } - - return false -} - -// SetUploadedAt gets a reference to the given string and assigns it to the UploadedAt field. -func (o *AlpinePackageUpload) SetUploadedAt(v string) { - o.UploadedAt = &v -} - -// GetUploader returns the Uploader field value if set, zero value otherwise. -func (o *AlpinePackageUpload) GetUploader() string { - if o == nil || o.Uploader == nil { - var ret string - return ret - } - return *o.Uploader -} - -// GetUploaderOk returns a tuple with the Uploader field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *AlpinePackageUpload) GetUploaderOk() (*string, bool) { - if o == nil || o.Uploader == nil { - return nil, false - } - return o.Uploader, true -} - -// HasUploader returns a boolean if a field has been set. -func (o *AlpinePackageUpload) HasUploader() bool { - if o != nil && o.Uploader != nil { - return true - } - - return false -} - -// SetUploader gets a reference to the given string and assigns it to the Uploader field. -func (o *AlpinePackageUpload) SetUploader(v string) { - o.Uploader = &v -} - -// GetUploaderUrl returns the UploaderUrl field value if set, zero value otherwise. -func (o *AlpinePackageUpload) GetUploaderUrl() string { - if o == nil || o.UploaderUrl == nil { - var ret string - return ret - } - return *o.UploaderUrl -} - -// GetUploaderUrlOk returns a tuple with the UploaderUrl field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *AlpinePackageUpload) GetUploaderUrlOk() (*string, bool) { - if o == nil || o.UploaderUrl == nil { - return nil, false - } - return o.UploaderUrl, true -} - -// HasUploaderUrl returns a boolean if a field has been set. -func (o *AlpinePackageUpload) HasUploaderUrl() bool { - if o != nil && o.UploaderUrl != nil { - return true - } - - return false -} - -// SetUploaderUrl gets a reference to the given string and assigns it to the UploaderUrl field. -func (o *AlpinePackageUpload) SetUploaderUrl(v string) { - o.UploaderUrl = &v -} - -// GetVersion returns the Version field value if set, zero value otherwise. -func (o *AlpinePackageUpload) GetVersion() string { - if o == nil || o.Version == nil { - var ret string - return ret - } - return *o.Version -} - -// GetVersionOk returns a tuple with the Version field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *AlpinePackageUpload) GetVersionOk() (*string, bool) { - if o == nil || o.Version == nil { - return nil, false - } - return o.Version, true -} - -// HasVersion returns a boolean if a field has been set. -func (o *AlpinePackageUpload) HasVersion() bool { - if o != nil && o.Version != nil { - return true - } - - return false -} - -// SetVersion gets a reference to the given string and assigns it to the Version field. -func (o *AlpinePackageUpload) SetVersion(v string) { - o.Version = &v -} - -// GetVersionOrig returns the VersionOrig field value if set, zero value otherwise. -func (o *AlpinePackageUpload) GetVersionOrig() string { - if o == nil || o.VersionOrig == nil { - var ret string - return ret - } - return *o.VersionOrig -} - -// GetVersionOrigOk returns a tuple with the VersionOrig field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *AlpinePackageUpload) GetVersionOrigOk() (*string, bool) { - if o == nil || o.VersionOrig == nil { - return nil, false - } - return o.VersionOrig, true -} - -// HasVersionOrig returns a boolean if a field has been set. -func (o *AlpinePackageUpload) HasVersionOrig() bool { - if o != nil && o.VersionOrig != nil { - return true - } - - return false -} - -// SetVersionOrig gets a reference to the given string and assigns it to the VersionOrig field. -func (o *AlpinePackageUpload) SetVersionOrig(v string) { - o.VersionOrig = &v -} - -// GetVulnerabilityScanResultsUrl returns the VulnerabilityScanResultsUrl field value if set, zero value otherwise. -func (o *AlpinePackageUpload) GetVulnerabilityScanResultsUrl() string { - if o == nil || o.VulnerabilityScanResultsUrl == nil { - var ret string - return ret - } - return *o.VulnerabilityScanResultsUrl -} - -// GetVulnerabilityScanResultsUrlOk returns a tuple with the VulnerabilityScanResultsUrl field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *AlpinePackageUpload) GetVulnerabilityScanResultsUrlOk() (*string, bool) { - if o == nil || o.VulnerabilityScanResultsUrl == nil { - return nil, false - } - return o.VulnerabilityScanResultsUrl, true -} - -// HasVulnerabilityScanResultsUrl returns a boolean if a field has been set. -func (o *AlpinePackageUpload) HasVulnerabilityScanResultsUrl() bool { - if o != nil && o.VulnerabilityScanResultsUrl != nil { - return true - } - - return false -} - -// SetVulnerabilityScanResultsUrl gets a reference to the given string and assigns it to the VulnerabilityScanResultsUrl field. -func (o *AlpinePackageUpload) SetVulnerabilityScanResultsUrl(v string) { - o.VulnerabilityScanResultsUrl = &v -} - -func (o AlpinePackageUpload) MarshalJSON() ([]byte, error) { - toSerialize := map[string]interface{}{} - if o.Architectures != nil { - toSerialize["architectures"] = o.Architectures - } - if o.CdnUrl != nil { - toSerialize["cdn_url"] = o.CdnUrl - } - if o.ChecksumMd5 != nil { - toSerialize["checksum_md5"] = o.ChecksumMd5 - } - if o.ChecksumSha1 != nil { - toSerialize["checksum_sha1"] = o.ChecksumSha1 - } - if o.ChecksumSha256 != nil { - toSerialize["checksum_sha256"] = o.ChecksumSha256 - } - if o.ChecksumSha512 != nil { - toSerialize["checksum_sha512"] = o.ChecksumSha512 - } - if o.DependenciesChecksumMd5 != nil { - toSerialize["dependencies_checksum_md5"] = o.DependenciesChecksumMd5 - } - if o.DependenciesUrl != nil { - toSerialize["dependencies_url"] = o.DependenciesUrl - } - if o.Description != nil { - toSerialize["description"] = o.Description - } - if o.Distro != nil { - toSerialize["distro"] = o.Distro - } - if o.DistroVersion != nil { - toSerialize["distro_version"] = o.DistroVersion - } - if o.Downloads != nil { - toSerialize["downloads"] = o.Downloads - } - if o.Epoch != nil { - toSerialize["epoch"] = o.Epoch - } - if o.Extension != nil { - toSerialize["extension"] = o.Extension - } - if o.Filename != nil { - toSerialize["filename"] = o.Filename - } - if o.Files != nil { - toSerialize["files"] = o.Files - } - if o.Format != nil { - toSerialize["format"] = o.Format - } - if o.FormatUrl != nil { - toSerialize["format_url"] = o.FormatUrl - } - if o.IdentifierPerm != nil { - toSerialize["identifier_perm"] = o.IdentifierPerm - } - if o.Indexed != nil { - toSerialize["indexed"] = o.Indexed - } - if o.IsDownloadable != nil { - toSerialize["is_downloadable"] = o.IsDownloadable - } - if o.IsQuarantined != nil { - toSerialize["is_quarantined"] = o.IsQuarantined - } - if o.IsSyncAwaiting != nil { - toSerialize["is_sync_awaiting"] = o.IsSyncAwaiting - } - if o.IsSyncCompleted != nil { - toSerialize["is_sync_completed"] = o.IsSyncCompleted - } - if o.IsSyncFailed != nil { - toSerialize["is_sync_failed"] = o.IsSyncFailed - } - if o.IsSyncInFlight != nil { - toSerialize["is_sync_in_flight"] = o.IsSyncInFlight - } - if o.IsSyncInProgress != nil { - toSerialize["is_sync_in_progress"] = o.IsSyncInProgress - } - if o.License != nil { - toSerialize["license"] = o.License - } - if o.Name != nil { - toSerialize["name"] = o.Name - } - if o.Namespace != nil { - toSerialize["namespace"] = o.Namespace - } - if o.NamespaceUrl != nil { - toSerialize["namespace_url"] = o.NamespaceUrl - } - if o.NumFiles != nil { - toSerialize["num_files"] = o.NumFiles - } - if o.PackageType != nil { - toSerialize["package_type"] = o.PackageType - } - if o.Release != nil { - toSerialize["release"] = o.Release - } - if o.Repository != nil { - toSerialize["repository"] = o.Repository - } - if o.RepositoryUrl != nil { - toSerialize["repository_url"] = o.RepositoryUrl - } - if o.SecurityScanCompletedAt != nil { - toSerialize["security_scan_completed_at"] = o.SecurityScanCompletedAt - } - if o.SecurityScanStartedAt != nil { - toSerialize["security_scan_started_at"] = o.SecurityScanStartedAt - } - if o.SecurityScanStatus != nil { - toSerialize["security_scan_status"] = o.SecurityScanStatus - } - if o.SecurityScanStatusUpdatedAt != nil { - toSerialize["security_scan_status_updated_at"] = o.SecurityScanStatusUpdatedAt - } - if o.SelfHtmlUrl != nil { - toSerialize["self_html_url"] = o.SelfHtmlUrl - } - if o.SelfUrl != nil { - toSerialize["self_url"] = o.SelfUrl - } - if o.SignatureUrl != nil { - toSerialize["signature_url"] = o.SignatureUrl - } - if o.Size != nil { - toSerialize["size"] = o.Size - } - if o.Slug != nil { - toSerialize["slug"] = o.Slug - } - if o.SlugPerm != nil { - toSerialize["slug_perm"] = o.SlugPerm - } - if o.Stage != nil { - toSerialize["stage"] = o.Stage - } - if o.StageStr != nil { - toSerialize["stage_str"] = o.StageStr - } - if o.StageUpdatedAt != nil { - toSerialize["stage_updated_at"] = o.StageUpdatedAt - } - if o.Status != nil { - toSerialize["status"] = o.Status - } - if o.StatusReason != nil { - toSerialize["status_reason"] = o.StatusReason - } - if o.StatusStr != nil { - toSerialize["status_str"] = o.StatusStr - } - if o.StatusUpdatedAt != nil { - toSerialize["status_updated_at"] = o.StatusUpdatedAt - } - if o.StatusUrl != nil { - toSerialize["status_url"] = o.StatusUrl - } - if o.Subtype != nil { - toSerialize["subtype"] = o.Subtype - } - if o.Summary != nil { - toSerialize["summary"] = o.Summary - } - if o.SyncFinishedAt != nil { - toSerialize["sync_finished_at"] = o.SyncFinishedAt - } - if o.SyncProgress != nil { - toSerialize["sync_progress"] = o.SyncProgress - } - if o.TagsImmutable != nil { - toSerialize["tags_immutable"] = o.TagsImmutable - } - if o.TypeDisplay != nil { - toSerialize["type_display"] = o.TypeDisplay - } - if o.UploadedAt != nil { - toSerialize["uploaded_at"] = o.UploadedAt - } - if o.Uploader != nil { - toSerialize["uploader"] = o.Uploader - } - if o.UploaderUrl != nil { - toSerialize["uploader_url"] = o.UploaderUrl - } - if o.Version != nil { - toSerialize["version"] = o.Version - } - if o.VersionOrig != nil { - toSerialize["version_orig"] = o.VersionOrig - } - if o.VulnerabilityScanResultsUrl != nil { - toSerialize["vulnerability_scan_results_url"] = o.VulnerabilityScanResultsUrl - } - return json.Marshal(toSerialize) -} - -type NullableAlpinePackageUpload struct { - value *AlpinePackageUpload - isSet bool -} - -func (v NullableAlpinePackageUpload) Get() *AlpinePackageUpload { - return v.value -} - -func (v *NullableAlpinePackageUpload) Set(val *AlpinePackageUpload) { - v.value = val - v.isSet = true -} - -func (v NullableAlpinePackageUpload) IsSet() bool { - return v.isSet -} - -func (v *NullableAlpinePackageUpload) Unset() { - v.value = nil - v.isSet = false -} - -func NewNullableAlpinePackageUpload(val *AlpinePackageUpload) *NullableAlpinePackageUpload { - return &NullableAlpinePackageUpload{value: val, isSet: true} -} - -func (v NullableAlpinePackageUpload) MarshalJSON() ([]byte, error) { - return json.Marshal(v.value) -} - -func (v *NullableAlpinePackageUpload) UnmarshalJSON(src []byte) error { - v.isSet = true - return json.Unmarshal(src, &v.value) -} diff --git a/model_packages_validate_upload_rpm.go b/model_alpine_package_upload_request.go similarity index 50% rename from model_packages_validate_upload_rpm.go rename to model_alpine_package_upload_request.go index 5f867d6f..1cc92d13 100644 --- a/model_packages_validate_upload_rpm.go +++ b/model_alpine_package_upload_request.go @@ -1,9 +1,9 @@ /* -Cloudsmith API +Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.121.3 +API version: 1.181.6 Contact: support@cloudsmith.io */ @@ -15,8 +15,8 @@ import ( "encoding/json" ) -// PackagesValidateUploadRpm struct for PackagesValidateUploadRpm -type PackagesValidateUploadRpm struct { +// AlpinePackageUploadRequest struct for AlpinePackageUploadRequest +type AlpinePackageUploadRequest struct { // The distribution to store the package for. Distribution string `json:"distribution"` // The primary file for the package. @@ -24,30 +24,30 @@ type PackagesValidateUploadRpm struct { // If true, the uploaded package will overwrite any others with the same attributes (e.g. same version); otherwise, it will be flagged as a duplicate. Republish *bool `json:"republish,omitempty"` // A comma-separated values list of tags to add to the package. - Tags *string `json:"tags,omitempty"` + Tags NullableString `json:"tags,omitempty"` } -// NewPackagesValidateUploadRpm instantiates a new PackagesValidateUploadRpm object +// NewAlpinePackageUploadRequest instantiates a new AlpinePackageUploadRequest object // 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 NewPackagesValidateUploadRpm(distribution string, packageFile string) *PackagesValidateUploadRpm { - this := PackagesValidateUploadRpm{} +func NewAlpinePackageUploadRequest(distribution string, packageFile string) *AlpinePackageUploadRequest { + this := AlpinePackageUploadRequest{} this.Distribution = distribution this.PackageFile = packageFile return &this } -// NewPackagesValidateUploadRpmWithDefaults instantiates a new PackagesValidateUploadRpm object +// NewAlpinePackageUploadRequestWithDefaults instantiates a new AlpinePackageUploadRequest object // This constructor will only assign default values to properties that have it defined, // but it doesn't guarantee that properties required by API are set -func NewPackagesValidateUploadRpmWithDefaults() *PackagesValidateUploadRpm { - this := PackagesValidateUploadRpm{} +func NewAlpinePackageUploadRequestWithDefaults() *AlpinePackageUploadRequest { + this := AlpinePackageUploadRequest{} return &this } // GetDistribution returns the Distribution field value -func (o *PackagesValidateUploadRpm) GetDistribution() string { +func (o *AlpinePackageUploadRequest) GetDistribution() string { if o == nil { var ret string return ret @@ -58,7 +58,7 @@ func (o *PackagesValidateUploadRpm) GetDistribution() string { // GetDistributionOk returns a tuple with the Distribution field value // and a boolean to check if the value has been set. -func (o *PackagesValidateUploadRpm) GetDistributionOk() (*string, bool) { +func (o *AlpinePackageUploadRequest) GetDistributionOk() (*string, bool) { if o == nil { return nil, false } @@ -66,12 +66,12 @@ func (o *PackagesValidateUploadRpm) GetDistributionOk() (*string, bool) { } // SetDistribution sets field value -func (o *PackagesValidateUploadRpm) SetDistribution(v string) { +func (o *AlpinePackageUploadRequest) SetDistribution(v string) { o.Distribution = v } // GetPackageFile returns the PackageFile field value -func (o *PackagesValidateUploadRpm) GetPackageFile() string { +func (o *AlpinePackageUploadRequest) GetPackageFile() string { if o == nil { var ret string return ret @@ -82,7 +82,7 @@ func (o *PackagesValidateUploadRpm) GetPackageFile() string { // GetPackageFileOk returns a tuple with the PackageFile field value // and a boolean to check if the value has been set. -func (o *PackagesValidateUploadRpm) GetPackageFileOk() (*string, bool) { +func (o *AlpinePackageUploadRequest) GetPackageFileOk() (*string, bool) { if o == nil { return nil, false } @@ -90,13 +90,13 @@ func (o *PackagesValidateUploadRpm) GetPackageFileOk() (*string, bool) { } // SetPackageFile sets field value -func (o *PackagesValidateUploadRpm) SetPackageFile(v string) { +func (o *AlpinePackageUploadRequest) SetPackageFile(v string) { o.PackageFile = v } // GetRepublish returns the Republish field value if set, zero value otherwise. -func (o *PackagesValidateUploadRpm) GetRepublish() bool { - if o == nil || o.Republish == nil { +func (o *AlpinePackageUploadRequest) GetRepublish() bool { + if o == nil || isNil(o.Republish) { var ret bool return ret } @@ -105,16 +105,16 @@ func (o *PackagesValidateUploadRpm) GetRepublish() bool { // GetRepublishOk returns a tuple with the Republish field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *PackagesValidateUploadRpm) GetRepublishOk() (*bool, bool) { - if o == nil || o.Republish == nil { +func (o *AlpinePackageUploadRequest) GetRepublishOk() (*bool, bool) { + if o == nil || isNil(o.Republish) { return nil, false } return o.Republish, true } // HasRepublish returns a boolean if a field has been set. -func (o *PackagesValidateUploadRpm) HasRepublish() bool { - if o != nil && o.Republish != nil { +func (o *AlpinePackageUploadRequest) HasRepublish() bool { + if o != nil && !isNil(o.Republish) { return true } @@ -122,43 +122,54 @@ func (o *PackagesValidateUploadRpm) HasRepublish() bool { } // SetRepublish gets a reference to the given bool and assigns it to the Republish field. -func (o *PackagesValidateUploadRpm) SetRepublish(v bool) { +func (o *AlpinePackageUploadRequest) SetRepublish(v bool) { o.Republish = &v } -// GetTags returns the Tags field value if set, zero value otherwise. -func (o *PackagesValidateUploadRpm) GetTags() string { - if o == nil || o.Tags == nil { +// GetTags returns the Tags field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *AlpinePackageUploadRequest) GetTags() string { + if o == nil || isNil(o.Tags.Get()) { var ret string return ret } - return *o.Tags + return *o.Tags.Get() } // GetTagsOk returns a tuple with the Tags field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *PackagesValidateUploadRpm) GetTagsOk() (*string, bool) { - if o == nil || o.Tags == nil { +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *AlpinePackageUploadRequest) GetTagsOk() (*string, bool) { + if o == nil { return nil, false } - return o.Tags, true + return o.Tags.Get(), o.Tags.IsSet() } // HasTags returns a boolean if a field has been set. -func (o *PackagesValidateUploadRpm) HasTags() bool { - if o != nil && o.Tags != nil { +func (o *AlpinePackageUploadRequest) HasTags() bool { + if o != nil && o.Tags.IsSet() { return true } return false } -// SetTags gets a reference to the given string and assigns it to the Tags field. -func (o *PackagesValidateUploadRpm) SetTags(v string) { - o.Tags = &v +// SetTags gets a reference to the given NullableString and assigns it to the Tags field. +func (o *AlpinePackageUploadRequest) SetTags(v string) { + o.Tags.Set(&v) +} + +// SetTagsNil sets the value for Tags to be an explicit nil +func (o *AlpinePackageUploadRequest) SetTagsNil() { + o.Tags.Set(nil) +} + +// UnsetTags ensures that no value is present for Tags, not even an explicit nil +func (o *AlpinePackageUploadRequest) UnsetTags() { + o.Tags.Unset() } -func (o PackagesValidateUploadRpm) MarshalJSON() ([]byte, error) { +func (o AlpinePackageUploadRequest) MarshalJSON() ([]byte, error) { toSerialize := map[string]interface{}{} if true { toSerialize["distribution"] = o.Distribution @@ -166,47 +177,47 @@ func (o PackagesValidateUploadRpm) MarshalJSON() ([]byte, error) { if true { toSerialize["package_file"] = o.PackageFile } - if o.Republish != nil { + if !isNil(o.Republish) { toSerialize["republish"] = o.Republish } - if o.Tags != nil { - toSerialize["tags"] = o.Tags + if o.Tags.IsSet() { + toSerialize["tags"] = o.Tags.Get() } return json.Marshal(toSerialize) } -type NullablePackagesValidateUploadRpm struct { - value *PackagesValidateUploadRpm +type NullableAlpinePackageUploadRequest struct { + value *AlpinePackageUploadRequest isSet bool } -func (v NullablePackagesValidateUploadRpm) Get() *PackagesValidateUploadRpm { +func (v NullableAlpinePackageUploadRequest) Get() *AlpinePackageUploadRequest { return v.value } -func (v *NullablePackagesValidateUploadRpm) Set(val *PackagesValidateUploadRpm) { +func (v *NullableAlpinePackageUploadRequest) Set(val *AlpinePackageUploadRequest) { v.value = val v.isSet = true } -func (v NullablePackagesValidateUploadRpm) IsSet() bool { +func (v NullableAlpinePackageUploadRequest) IsSet() bool { return v.isSet } -func (v *NullablePackagesValidateUploadRpm) Unset() { +func (v *NullableAlpinePackageUploadRequest) Unset() { v.value = nil v.isSet = false } -func NewNullablePackagesValidateUploadRpm(val *PackagesValidateUploadRpm) *NullablePackagesValidateUploadRpm { - return &NullablePackagesValidateUploadRpm{value: val, isSet: true} +func NewNullableAlpinePackageUploadRequest(val *AlpinePackageUploadRequest) *NullableAlpinePackageUploadRequest { + return &NullableAlpinePackageUploadRequest{value: val, isSet: true} } -func (v NullablePackagesValidateUploadRpm) MarshalJSON() ([]byte, error) { +func (v NullableAlpinePackageUploadRequest) MarshalJSON() ([]byte, error) { return json.Marshal(v.value) } -func (v *NullablePackagesValidateUploadRpm) UnmarshalJSON(src []byte) error { +func (v *NullableAlpinePackageUploadRequest) UnmarshalJSON(src []byte) error { v.isSet = true return json.Unmarshal(src, &v.value) } diff --git a/model_conan_package_upload.go b/model_alpine_package_upload_response.go similarity index 52% rename from model_conan_package_upload.go rename to model_alpine_package_upload_response.go index ef1d995b..e67b6149 100644 --- a/model_conan_package_upload.go +++ b/model_alpine_package_upload_response.go @@ -1,9 +1,9 @@ /* -Cloudsmith API +Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.121.3 +API version: 1.181.6 Contact: support@cloudsmith.io */ @@ -13,169 +13,126 @@ package cloudsmith import ( "encoding/json" + "time" ) -// ConanPackageUpload struct for ConanPackageUpload -type ConanPackageUpload struct { - // - Architectures []PackagesOwnerRepoArchitectures `json:"architectures,omitempty"` - // - CdnUrl *string `json:"cdn_url,omitempty"` - // - ChecksumMd5 *string `json:"checksum_md5,omitempty"` - // - ChecksumSha1 *string `json:"checksum_sha1,omitempty"` - // - ChecksumSha256 *string `json:"checksum_sha256,omitempty"` - // - ChecksumSha512 *string `json:"checksum_sha512,omitempty"` - // Conan channel. - ConanChannel *string `json:"conan_channel,omitempty"` - // Conan prefix (User). - ConanPrefix *string `json:"conan_prefix,omitempty"` +// AlpinePackageUploadResponse struct for AlpinePackageUploadResponse +type AlpinePackageUploadResponse struct { + Architectures []Architecture `json:"architectures,omitempty"` + CdnUrl NullableString `json:"cdn_url,omitempty"` + ChecksumMd5 *string `json:"checksum_md5,omitempty"` + ChecksumSha1 *string `json:"checksum_sha1,omitempty"` + ChecksumSha256 *string `json:"checksum_sha256,omitempty"` + ChecksumSha512 *string `json:"checksum_sha512,omitempty"` // A checksum of all of the package's dependencies. DependenciesChecksumMd5 *string `json:"dependencies_checksum_md5,omitempty"` - // - DependenciesUrl *string `json:"dependencies_url,omitempty"` + DependenciesUrl *string `json:"dependencies_url,omitempty"` // A textual description of this package. - Description *string `json:"description,omitempty"` - // - Distro map[string]interface{} `json:"distro,omitempty"` - // - DistroVersion map[string]interface{} `json:"distro_version,omitempty"` - // - Downloads *int64 `json:"downloads,omitempty"` + Description *string `json:"description,omitempty"` + Distro NullableDistribution `json:"distro,omitempty"` + DistroVersion *DistributionVersion `json:"distro_version,omitempty"` + Downloads *int64 `json:"downloads,omitempty"` // The epoch of the package version (if any). - Epoch *int64 `json:"epoch,omitempty"` - // - Extension *string `json:"extension,omitempty"` - // - Filename *string `json:"filename,omitempty"` - // - Files []PackagesOwnerRepoFiles `json:"files,omitempty"` - // - Format *string `json:"format,omitempty"` - // - FormatUrl *string `json:"format_url,omitempty"` + Epoch *int64 `json:"epoch,omitempty"` + Extension *string `json:"extension,omitempty"` + Filename *string `json:"filename,omitempty"` + Files []PackageFile `json:"files,omitempty"` + Format *string `json:"format,omitempty"` + FormatUrl *string `json:"format_url,omitempty"` // Unique and permanent identifier for the package. - IdentifierPerm *string `json:"identifier_perm,omitempty"` - // - Indexed *bool `json:"indexed,omitempty"` - // - IsDownloadable *bool `json:"is_downloadable,omitempty"` - // - IsQuarantined *bool `json:"is_quarantined,omitempty"` - // - IsSyncAwaiting *bool `json:"is_sync_awaiting,omitempty"` - // - IsSyncCompleted *bool `json:"is_sync_completed,omitempty"` - // - IsSyncFailed *bool `json:"is_sync_failed,omitempty"` - // - IsSyncInFlight *bool `json:"is_sync_in_flight,omitempty"` - // - IsSyncInProgress *bool `json:"is_sync_in_progress,omitempty"` + IdentifierPerm *string `json:"identifier_perm,omitempty"` + Indexed *bool `json:"indexed,omitempty"` + IsDownloadable *bool `json:"is_downloadable,omitempty"` + IsQuarantined *bool `json:"is_quarantined,omitempty"` + IsSyncAwaiting *bool `json:"is_sync_awaiting,omitempty"` + IsSyncCompleted *bool `json:"is_sync_completed,omitempty"` + IsSyncFailed *bool `json:"is_sync_failed,omitempty"` + IsSyncInFlight *bool `json:"is_sync_in_flight,omitempty"` + IsSyncInProgress *bool `json:"is_sync_in_progress,omitempty"` // The license of this package. License *string `json:"license,omitempty"` // The name of this package. - Name *string `json:"name,omitempty"` - // - Namespace *string `json:"namespace,omitempty"` - // - NamespaceUrl *string `json:"namespace_url,omitempty"` - // - NumFiles *int64 `json:"num_files,omitempty"` + Name *string `json:"name,omitempty"` + Namespace *string `json:"namespace,omitempty"` + NamespaceUrl *string `json:"namespace_url,omitempty"` + NumFiles *int64 `json:"num_files,omitempty"` + OriginRepository *string `json:"origin_repository,omitempty"` + OriginRepositoryUrl *string `json:"origin_repository_url,omitempty"` // The type of package contents. PackageType *int64 `json:"package_type,omitempty"` // The release of the package version (if any). - Release *string `json:"release,omitempty"` - // - Repository *string `json:"repository,omitempty"` - // + Release *string `json:"release,omitempty"` + Repository *string `json:"repository,omitempty"` RepositoryUrl *string `json:"repository_url,omitempty"` // The datetime the security scanning was completed. - SecurityScanCompletedAt *string `json:"security_scan_completed_at,omitempty"` + SecurityScanCompletedAt *time.Time `json:"security_scan_completed_at,omitempty"` // The datetime the security scanning was started. - SecurityScanStartedAt *string `json:"security_scan_started_at,omitempty"` - // - SecurityScanStatus *string `json:"security_scan_status,omitempty"` + SecurityScanStartedAt *time.Time `json:"security_scan_started_at,omitempty"` + SecurityScanStatus NullableString `json:"security_scan_status,omitempty"` // The datetime the security scanning status was updated. - SecurityScanStatusUpdatedAt *string `json:"security_scan_status_updated_at,omitempty"` - // - SelfHtmlUrl *string `json:"self_html_url,omitempty"` - // - SelfUrl *string `json:"self_url,omitempty"` - // - SignatureUrl *string `json:"signature_url,omitempty"` + SecurityScanStatusUpdatedAt *time.Time `json:"security_scan_status_updated_at,omitempty"` + SelfHtmlUrl *string `json:"self_html_url,omitempty"` + SelfUrl *string `json:"self_url,omitempty"` + SignatureUrl NullableString `json:"signature_url,omitempty"` // The calculated size of the package. Size *int64 `json:"size,omitempty"` // The public unique identifier for the package. - Slug *string `json:"slug,omitempty"` - // + Slug *string `json:"slug,omitempty"` SlugPerm *string `json:"slug_perm,omitempty"` // The synchronisation (in progress) stage of the package. - Stage *int64 `json:"stage,omitempty"` - // + Stage *int64 `json:"stage,omitempty"` StageStr *string `json:"stage_str,omitempty"` // The datetime the package stage was updated at. - StageUpdatedAt *string `json:"stage_updated_at,omitempty"` + StageUpdatedAt *time.Time `json:"stage_updated_at,omitempty"` // The synchronisation status of the package. Status *int64 `json:"status,omitempty"` // A textual description for the synchronous status reason (if any StatusReason *string `json:"status_reason,omitempty"` - // - StatusStr *string `json:"status_str,omitempty"` + StatusStr *string `json:"status_str,omitempty"` // The datetime the package status was updated at. - StatusUpdatedAt *string `json:"status_updated_at,omitempty"` - // - StatusUrl *string `json:"status_url,omitempty"` - // - Subtype *string `json:"subtype,omitempty"` + StatusUpdatedAt *time.Time `json:"status_updated_at,omitempty"` + StatusUrl *string `json:"status_url,omitempty"` + Subtype *string `json:"subtype,omitempty"` // A one-liner synopsis of this package. Summary *string `json:"summary,omitempty"` // The datetime the package sync was finished at. - SyncFinishedAt *string `json:"sync_finished_at,omitempty"` + SyncFinishedAt *time.Time `json:"sync_finished_at,omitempty"` // Synchronisation progress (from 0-100) SyncProgress *int64 `json:"sync_progress,omitempty"` - // All immutable tags on the package, grouped by tag type. Immutable tags cannot be (easily) deleted. + // All tags on the package, grouped by tag type. This includes immutable tags, but doesn't distinguish them from mutable. To see which tags are immutable specifically, see the tags_immutable field. TagsImmutable map[string]interface{} `json:"tags_immutable,omitempty"` - // - TypeDisplay *string `json:"type_display,omitempty"` + TypeDisplay *string `json:"type_display,omitempty"` // The date this package was uploaded. - UploadedAt *string `json:"uploaded_at,omitempty"` - // - Uploader *string `json:"uploader,omitempty"` - // - UploaderUrl *string `json:"uploader_url,omitempty"` + UploadedAt *time.Time `json:"uploaded_at,omitempty"` + Uploader *string `json:"uploader,omitempty"` + UploaderUrl *string `json:"uploader_url,omitempty"` // The raw version for this package. - Version *string `json:"version,omitempty"` - // - VersionOrig *string `json:"version_orig,omitempty"` - // + Version *string `json:"version,omitempty"` + VersionOrig *string `json:"version_orig,omitempty"` VulnerabilityScanResultsUrl *string `json:"vulnerability_scan_results_url,omitempty"` } -// NewConanPackageUpload instantiates a new ConanPackageUpload object +// NewAlpinePackageUploadResponse instantiates a new AlpinePackageUploadResponse object // 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 NewConanPackageUpload() *ConanPackageUpload { - this := ConanPackageUpload{} +func NewAlpinePackageUploadResponse() *AlpinePackageUploadResponse { + this := AlpinePackageUploadResponse{} return &this } -// NewConanPackageUploadWithDefaults instantiates a new ConanPackageUpload object +// NewAlpinePackageUploadResponseWithDefaults instantiates a new AlpinePackageUploadResponse object // This constructor will only assign default values to properties that have it defined, // but it doesn't guarantee that properties required by API are set -func NewConanPackageUploadWithDefaults() *ConanPackageUpload { - this := ConanPackageUpload{} +func NewAlpinePackageUploadResponseWithDefaults() *AlpinePackageUploadResponse { + this := AlpinePackageUploadResponse{} return &this } // GetArchitectures returns the Architectures field value if set, zero value otherwise. -func (o *ConanPackageUpload) GetArchitectures() []PackagesOwnerRepoArchitectures { - if o == nil || o.Architectures == nil { - var ret []PackagesOwnerRepoArchitectures +func (o *AlpinePackageUploadResponse) GetArchitectures() []Architecture { + if o == nil || isNil(o.Architectures) { + var ret []Architecture return ret } return o.Architectures @@ -183,62 +140,73 @@ func (o *ConanPackageUpload) GetArchitectures() []PackagesOwnerRepoArchitectures // GetArchitecturesOk returns a tuple with the Architectures field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *ConanPackageUpload) GetArchitecturesOk() ([]PackagesOwnerRepoArchitectures, bool) { - if o == nil || o.Architectures == nil { +func (o *AlpinePackageUploadResponse) GetArchitecturesOk() ([]Architecture, bool) { + if o == nil || isNil(o.Architectures) { return nil, false } return o.Architectures, true } // HasArchitectures returns a boolean if a field has been set. -func (o *ConanPackageUpload) HasArchitectures() bool { - if o != nil && o.Architectures != nil { +func (o *AlpinePackageUploadResponse) HasArchitectures() bool { + if o != nil && !isNil(o.Architectures) { return true } return false } -// SetArchitectures gets a reference to the given []PackagesOwnerRepoArchitectures and assigns it to the Architectures field. -func (o *ConanPackageUpload) SetArchitectures(v []PackagesOwnerRepoArchitectures) { +// SetArchitectures gets a reference to the given []Architecture and assigns it to the Architectures field. +func (o *AlpinePackageUploadResponse) SetArchitectures(v []Architecture) { o.Architectures = v } -// GetCdnUrl returns the CdnUrl field value if set, zero value otherwise. -func (o *ConanPackageUpload) GetCdnUrl() string { - if o == nil || o.CdnUrl == nil { +// GetCdnUrl returns the CdnUrl field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *AlpinePackageUploadResponse) GetCdnUrl() string { + if o == nil || isNil(o.CdnUrl.Get()) { var ret string return ret } - return *o.CdnUrl + return *o.CdnUrl.Get() } // GetCdnUrlOk returns a tuple with the CdnUrl field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *ConanPackageUpload) GetCdnUrlOk() (*string, bool) { - if o == nil || o.CdnUrl == nil { +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *AlpinePackageUploadResponse) GetCdnUrlOk() (*string, bool) { + if o == nil { return nil, false } - return o.CdnUrl, true + return o.CdnUrl.Get(), o.CdnUrl.IsSet() } // HasCdnUrl returns a boolean if a field has been set. -func (o *ConanPackageUpload) HasCdnUrl() bool { - if o != nil && o.CdnUrl != nil { +func (o *AlpinePackageUploadResponse) HasCdnUrl() bool { + if o != nil && o.CdnUrl.IsSet() { return true } return false } -// SetCdnUrl gets a reference to the given string and assigns it to the CdnUrl field. -func (o *ConanPackageUpload) SetCdnUrl(v string) { - o.CdnUrl = &v +// SetCdnUrl gets a reference to the given NullableString and assigns it to the CdnUrl field. +func (o *AlpinePackageUploadResponse) SetCdnUrl(v string) { + o.CdnUrl.Set(&v) +} + +// SetCdnUrlNil sets the value for CdnUrl to be an explicit nil +func (o *AlpinePackageUploadResponse) SetCdnUrlNil() { + o.CdnUrl.Set(nil) +} + +// UnsetCdnUrl ensures that no value is present for CdnUrl, not even an explicit nil +func (o *AlpinePackageUploadResponse) UnsetCdnUrl() { + o.CdnUrl.Unset() } // GetChecksumMd5 returns the ChecksumMd5 field value if set, zero value otherwise. -func (o *ConanPackageUpload) GetChecksumMd5() string { - if o == nil || o.ChecksumMd5 == nil { +func (o *AlpinePackageUploadResponse) GetChecksumMd5() string { + if o == nil || isNil(o.ChecksumMd5) { var ret string return ret } @@ -247,16 +215,16 @@ func (o *ConanPackageUpload) GetChecksumMd5() string { // GetChecksumMd5Ok returns a tuple with the ChecksumMd5 field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *ConanPackageUpload) GetChecksumMd5Ok() (*string, bool) { - if o == nil || o.ChecksumMd5 == nil { +func (o *AlpinePackageUploadResponse) GetChecksumMd5Ok() (*string, bool) { + if o == nil || isNil(o.ChecksumMd5) { return nil, false } return o.ChecksumMd5, true } // HasChecksumMd5 returns a boolean if a field has been set. -func (o *ConanPackageUpload) HasChecksumMd5() bool { - if o != nil && o.ChecksumMd5 != nil { +func (o *AlpinePackageUploadResponse) HasChecksumMd5() bool { + if o != nil && !isNil(o.ChecksumMd5) { return true } @@ -264,13 +232,13 @@ func (o *ConanPackageUpload) HasChecksumMd5() bool { } // SetChecksumMd5 gets a reference to the given string and assigns it to the ChecksumMd5 field. -func (o *ConanPackageUpload) SetChecksumMd5(v string) { +func (o *AlpinePackageUploadResponse) SetChecksumMd5(v string) { o.ChecksumMd5 = &v } // GetChecksumSha1 returns the ChecksumSha1 field value if set, zero value otherwise. -func (o *ConanPackageUpload) GetChecksumSha1() string { - if o == nil || o.ChecksumSha1 == nil { +func (o *AlpinePackageUploadResponse) GetChecksumSha1() string { + if o == nil || isNil(o.ChecksumSha1) { var ret string return ret } @@ -279,16 +247,16 @@ func (o *ConanPackageUpload) GetChecksumSha1() string { // GetChecksumSha1Ok returns a tuple with the ChecksumSha1 field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *ConanPackageUpload) GetChecksumSha1Ok() (*string, bool) { - if o == nil || o.ChecksumSha1 == nil { +func (o *AlpinePackageUploadResponse) GetChecksumSha1Ok() (*string, bool) { + if o == nil || isNil(o.ChecksumSha1) { return nil, false } return o.ChecksumSha1, true } // HasChecksumSha1 returns a boolean if a field has been set. -func (o *ConanPackageUpload) HasChecksumSha1() bool { - if o != nil && o.ChecksumSha1 != nil { +func (o *AlpinePackageUploadResponse) HasChecksumSha1() bool { + if o != nil && !isNil(o.ChecksumSha1) { return true } @@ -296,13 +264,13 @@ func (o *ConanPackageUpload) HasChecksumSha1() bool { } // SetChecksumSha1 gets a reference to the given string and assigns it to the ChecksumSha1 field. -func (o *ConanPackageUpload) SetChecksumSha1(v string) { +func (o *AlpinePackageUploadResponse) SetChecksumSha1(v string) { o.ChecksumSha1 = &v } // GetChecksumSha256 returns the ChecksumSha256 field value if set, zero value otherwise. -func (o *ConanPackageUpload) GetChecksumSha256() string { - if o == nil || o.ChecksumSha256 == nil { +func (o *AlpinePackageUploadResponse) GetChecksumSha256() string { + if o == nil || isNil(o.ChecksumSha256) { var ret string return ret } @@ -311,16 +279,16 @@ func (o *ConanPackageUpload) GetChecksumSha256() string { // GetChecksumSha256Ok returns a tuple with the ChecksumSha256 field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *ConanPackageUpload) GetChecksumSha256Ok() (*string, bool) { - if o == nil || o.ChecksumSha256 == nil { +func (o *AlpinePackageUploadResponse) GetChecksumSha256Ok() (*string, bool) { + if o == nil || isNil(o.ChecksumSha256) { return nil, false } return o.ChecksumSha256, true } // HasChecksumSha256 returns a boolean if a field has been set. -func (o *ConanPackageUpload) HasChecksumSha256() bool { - if o != nil && o.ChecksumSha256 != nil { +func (o *AlpinePackageUploadResponse) HasChecksumSha256() bool { + if o != nil && !isNil(o.ChecksumSha256) { return true } @@ -328,13 +296,13 @@ func (o *ConanPackageUpload) HasChecksumSha256() bool { } // SetChecksumSha256 gets a reference to the given string and assigns it to the ChecksumSha256 field. -func (o *ConanPackageUpload) SetChecksumSha256(v string) { +func (o *AlpinePackageUploadResponse) SetChecksumSha256(v string) { o.ChecksumSha256 = &v } // GetChecksumSha512 returns the ChecksumSha512 field value if set, zero value otherwise. -func (o *ConanPackageUpload) GetChecksumSha512() string { - if o == nil || o.ChecksumSha512 == nil { +func (o *AlpinePackageUploadResponse) GetChecksumSha512() string { + if o == nil || isNil(o.ChecksumSha512) { var ret string return ret } @@ -343,16 +311,16 @@ func (o *ConanPackageUpload) GetChecksumSha512() string { // GetChecksumSha512Ok returns a tuple with the ChecksumSha512 field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *ConanPackageUpload) GetChecksumSha512Ok() (*string, bool) { - if o == nil || o.ChecksumSha512 == nil { +func (o *AlpinePackageUploadResponse) GetChecksumSha512Ok() (*string, bool) { + if o == nil || isNil(o.ChecksumSha512) { return nil, false } return o.ChecksumSha512, true } // HasChecksumSha512 returns a boolean if a field has been set. -func (o *ConanPackageUpload) HasChecksumSha512() bool { - if o != nil && o.ChecksumSha512 != nil { +func (o *AlpinePackageUploadResponse) HasChecksumSha512() bool { + if o != nil && !isNil(o.ChecksumSha512) { return true } @@ -360,77 +328,13 @@ func (o *ConanPackageUpload) HasChecksumSha512() bool { } // SetChecksumSha512 gets a reference to the given string and assigns it to the ChecksumSha512 field. -func (o *ConanPackageUpload) SetChecksumSha512(v string) { +func (o *AlpinePackageUploadResponse) SetChecksumSha512(v string) { o.ChecksumSha512 = &v } -// GetConanChannel returns the ConanChannel field value if set, zero value otherwise. -func (o *ConanPackageUpload) GetConanChannel() string { - if o == nil || o.ConanChannel == nil { - var ret string - return ret - } - return *o.ConanChannel -} - -// GetConanChannelOk returns a tuple with the ConanChannel field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *ConanPackageUpload) GetConanChannelOk() (*string, bool) { - if o == nil || o.ConanChannel == nil { - return nil, false - } - return o.ConanChannel, true -} - -// HasConanChannel returns a boolean if a field has been set. -func (o *ConanPackageUpload) HasConanChannel() bool { - if o != nil && o.ConanChannel != nil { - return true - } - - return false -} - -// SetConanChannel gets a reference to the given string and assigns it to the ConanChannel field. -func (o *ConanPackageUpload) SetConanChannel(v string) { - o.ConanChannel = &v -} - -// GetConanPrefix returns the ConanPrefix field value if set, zero value otherwise. -func (o *ConanPackageUpload) GetConanPrefix() string { - if o == nil || o.ConanPrefix == nil { - var ret string - return ret - } - return *o.ConanPrefix -} - -// GetConanPrefixOk returns a tuple with the ConanPrefix field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *ConanPackageUpload) GetConanPrefixOk() (*string, bool) { - if o == nil || o.ConanPrefix == nil { - return nil, false - } - return o.ConanPrefix, true -} - -// HasConanPrefix returns a boolean if a field has been set. -func (o *ConanPackageUpload) HasConanPrefix() bool { - if o != nil && o.ConanPrefix != nil { - return true - } - - return false -} - -// SetConanPrefix gets a reference to the given string and assigns it to the ConanPrefix field. -func (o *ConanPackageUpload) SetConanPrefix(v string) { - o.ConanPrefix = &v -} - // GetDependenciesChecksumMd5 returns the DependenciesChecksumMd5 field value if set, zero value otherwise. -func (o *ConanPackageUpload) GetDependenciesChecksumMd5() string { - if o == nil || o.DependenciesChecksumMd5 == nil { +func (o *AlpinePackageUploadResponse) GetDependenciesChecksumMd5() string { + if o == nil || isNil(o.DependenciesChecksumMd5) { var ret string return ret } @@ -439,16 +343,16 @@ func (o *ConanPackageUpload) GetDependenciesChecksumMd5() string { // GetDependenciesChecksumMd5Ok returns a tuple with the DependenciesChecksumMd5 field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *ConanPackageUpload) GetDependenciesChecksumMd5Ok() (*string, bool) { - if o == nil || o.DependenciesChecksumMd5 == nil { +func (o *AlpinePackageUploadResponse) GetDependenciesChecksumMd5Ok() (*string, bool) { + if o == nil || isNil(o.DependenciesChecksumMd5) { return nil, false } return o.DependenciesChecksumMd5, true } // HasDependenciesChecksumMd5 returns a boolean if a field has been set. -func (o *ConanPackageUpload) HasDependenciesChecksumMd5() bool { - if o != nil && o.DependenciesChecksumMd5 != nil { +func (o *AlpinePackageUploadResponse) HasDependenciesChecksumMd5() bool { + if o != nil && !isNil(o.DependenciesChecksumMd5) { return true } @@ -456,13 +360,13 @@ func (o *ConanPackageUpload) HasDependenciesChecksumMd5() bool { } // SetDependenciesChecksumMd5 gets a reference to the given string and assigns it to the DependenciesChecksumMd5 field. -func (o *ConanPackageUpload) SetDependenciesChecksumMd5(v string) { +func (o *AlpinePackageUploadResponse) SetDependenciesChecksumMd5(v string) { o.DependenciesChecksumMd5 = &v } // GetDependenciesUrl returns the DependenciesUrl field value if set, zero value otherwise. -func (o *ConanPackageUpload) GetDependenciesUrl() string { - if o == nil || o.DependenciesUrl == nil { +func (o *AlpinePackageUploadResponse) GetDependenciesUrl() string { + if o == nil || isNil(o.DependenciesUrl) { var ret string return ret } @@ -471,16 +375,16 @@ func (o *ConanPackageUpload) GetDependenciesUrl() string { // GetDependenciesUrlOk returns a tuple with the DependenciesUrl field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *ConanPackageUpload) GetDependenciesUrlOk() (*string, bool) { - if o == nil || o.DependenciesUrl == nil { +func (o *AlpinePackageUploadResponse) GetDependenciesUrlOk() (*string, bool) { + if o == nil || isNil(o.DependenciesUrl) { return nil, false } return o.DependenciesUrl, true } // HasDependenciesUrl returns a boolean if a field has been set. -func (o *ConanPackageUpload) HasDependenciesUrl() bool { - if o != nil && o.DependenciesUrl != nil { +func (o *AlpinePackageUploadResponse) HasDependenciesUrl() bool { + if o != nil && !isNil(o.DependenciesUrl) { return true } @@ -488,13 +392,13 @@ func (o *ConanPackageUpload) HasDependenciesUrl() bool { } // SetDependenciesUrl gets a reference to the given string and assigns it to the DependenciesUrl field. -func (o *ConanPackageUpload) SetDependenciesUrl(v string) { +func (o *AlpinePackageUploadResponse) SetDependenciesUrl(v string) { o.DependenciesUrl = &v } // GetDescription returns the Description field value if set, zero value otherwise. -func (o *ConanPackageUpload) GetDescription() string { - if o == nil || o.Description == nil { +func (o *AlpinePackageUploadResponse) GetDescription() string { + if o == nil || isNil(o.Description) { var ret string return ret } @@ -503,16 +407,16 @@ func (o *ConanPackageUpload) GetDescription() string { // GetDescriptionOk returns a tuple with the Description field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *ConanPackageUpload) GetDescriptionOk() (*string, bool) { - if o == nil || o.Description == nil { +func (o *AlpinePackageUploadResponse) GetDescriptionOk() (*string, bool) { + if o == nil || isNil(o.Description) { return nil, false } return o.Description, true } // HasDescription returns a boolean if a field has been set. -func (o *ConanPackageUpload) HasDescription() bool { - if o != nil && o.Description != nil { +func (o *AlpinePackageUploadResponse) HasDescription() bool { + if o != nil && !isNil(o.Description) { return true } @@ -520,77 +424,88 @@ func (o *ConanPackageUpload) HasDescription() bool { } // SetDescription gets a reference to the given string and assigns it to the Description field. -func (o *ConanPackageUpload) SetDescription(v string) { +func (o *AlpinePackageUploadResponse) SetDescription(v string) { o.Description = &v } -// GetDistro returns the Distro field value if set, zero value otherwise. -func (o *ConanPackageUpload) GetDistro() map[string]interface{} { - if o == nil || o.Distro == nil { - var ret map[string]interface{} +// GetDistro returns the Distro field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *AlpinePackageUploadResponse) GetDistro() Distribution { + if o == nil || isNil(o.Distro.Get()) { + var ret Distribution return ret } - return o.Distro + return *o.Distro.Get() } // GetDistroOk returns a tuple with the Distro field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *ConanPackageUpload) GetDistroOk() (map[string]interface{}, bool) { - if o == nil || o.Distro == nil { +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *AlpinePackageUploadResponse) GetDistroOk() (*Distribution, bool) { + if o == nil { return nil, false } - return o.Distro, true + return o.Distro.Get(), o.Distro.IsSet() } // HasDistro returns a boolean if a field has been set. -func (o *ConanPackageUpload) HasDistro() bool { - if o != nil && o.Distro != nil { +func (o *AlpinePackageUploadResponse) HasDistro() bool { + if o != nil && o.Distro.IsSet() { return true } return false } -// SetDistro gets a reference to the given map[string]interface{} and assigns it to the Distro field. -func (o *ConanPackageUpload) SetDistro(v map[string]interface{}) { - o.Distro = v +// SetDistro gets a reference to the given NullableDistribution and assigns it to the Distro field. +func (o *AlpinePackageUploadResponse) SetDistro(v Distribution) { + o.Distro.Set(&v) +} + +// SetDistroNil sets the value for Distro to be an explicit nil +func (o *AlpinePackageUploadResponse) SetDistroNil() { + o.Distro.Set(nil) +} + +// UnsetDistro ensures that no value is present for Distro, not even an explicit nil +func (o *AlpinePackageUploadResponse) UnsetDistro() { + o.Distro.Unset() } // GetDistroVersion returns the DistroVersion field value if set, zero value otherwise. -func (o *ConanPackageUpload) GetDistroVersion() map[string]interface{} { - if o == nil || o.DistroVersion == nil { - var ret map[string]interface{} +func (o *AlpinePackageUploadResponse) GetDistroVersion() DistributionVersion { + if o == nil || isNil(o.DistroVersion) { + var ret DistributionVersion return ret } - return o.DistroVersion + return *o.DistroVersion } // GetDistroVersionOk returns a tuple with the DistroVersion field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *ConanPackageUpload) GetDistroVersionOk() (map[string]interface{}, bool) { - if o == nil || o.DistroVersion == nil { +func (o *AlpinePackageUploadResponse) GetDistroVersionOk() (*DistributionVersion, bool) { + if o == nil || isNil(o.DistroVersion) { return nil, false } return o.DistroVersion, true } // HasDistroVersion returns a boolean if a field has been set. -func (o *ConanPackageUpload) HasDistroVersion() bool { - if o != nil && o.DistroVersion != nil { +func (o *AlpinePackageUploadResponse) HasDistroVersion() bool { + if o != nil && !isNil(o.DistroVersion) { return true } return false } -// SetDistroVersion gets a reference to the given map[string]interface{} and assigns it to the DistroVersion field. -func (o *ConanPackageUpload) SetDistroVersion(v map[string]interface{}) { - o.DistroVersion = v +// SetDistroVersion gets a reference to the given DistributionVersion and assigns it to the DistroVersion field. +func (o *AlpinePackageUploadResponse) SetDistroVersion(v DistributionVersion) { + o.DistroVersion = &v } // GetDownloads returns the Downloads field value if set, zero value otherwise. -func (o *ConanPackageUpload) GetDownloads() int64 { - if o == nil || o.Downloads == nil { +func (o *AlpinePackageUploadResponse) GetDownloads() int64 { + if o == nil || isNil(o.Downloads) { var ret int64 return ret } @@ -599,16 +514,16 @@ func (o *ConanPackageUpload) GetDownloads() int64 { // GetDownloadsOk returns a tuple with the Downloads field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *ConanPackageUpload) GetDownloadsOk() (*int64, bool) { - if o == nil || o.Downloads == nil { +func (o *AlpinePackageUploadResponse) GetDownloadsOk() (*int64, bool) { + if o == nil || isNil(o.Downloads) { return nil, false } return o.Downloads, true } // HasDownloads returns a boolean if a field has been set. -func (o *ConanPackageUpload) HasDownloads() bool { - if o != nil && o.Downloads != nil { +func (o *AlpinePackageUploadResponse) HasDownloads() bool { + if o != nil && !isNil(o.Downloads) { return true } @@ -616,13 +531,13 @@ func (o *ConanPackageUpload) HasDownloads() bool { } // SetDownloads gets a reference to the given int64 and assigns it to the Downloads field. -func (o *ConanPackageUpload) SetDownloads(v int64) { +func (o *AlpinePackageUploadResponse) SetDownloads(v int64) { o.Downloads = &v } // GetEpoch returns the Epoch field value if set, zero value otherwise. -func (o *ConanPackageUpload) GetEpoch() int64 { - if o == nil || o.Epoch == nil { +func (o *AlpinePackageUploadResponse) GetEpoch() int64 { + if o == nil || isNil(o.Epoch) { var ret int64 return ret } @@ -631,16 +546,16 @@ func (o *ConanPackageUpload) GetEpoch() int64 { // GetEpochOk returns a tuple with the Epoch field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *ConanPackageUpload) GetEpochOk() (*int64, bool) { - if o == nil || o.Epoch == nil { +func (o *AlpinePackageUploadResponse) GetEpochOk() (*int64, bool) { + if o == nil || isNil(o.Epoch) { return nil, false } return o.Epoch, true } // HasEpoch returns a boolean if a field has been set. -func (o *ConanPackageUpload) HasEpoch() bool { - if o != nil && o.Epoch != nil { +func (o *AlpinePackageUploadResponse) HasEpoch() bool { + if o != nil && !isNil(o.Epoch) { return true } @@ -648,13 +563,13 @@ func (o *ConanPackageUpload) HasEpoch() bool { } // SetEpoch gets a reference to the given int64 and assigns it to the Epoch field. -func (o *ConanPackageUpload) SetEpoch(v int64) { +func (o *AlpinePackageUploadResponse) SetEpoch(v int64) { o.Epoch = &v } // GetExtension returns the Extension field value if set, zero value otherwise. -func (o *ConanPackageUpload) GetExtension() string { - if o == nil || o.Extension == nil { +func (o *AlpinePackageUploadResponse) GetExtension() string { + if o == nil || isNil(o.Extension) { var ret string return ret } @@ -663,16 +578,16 @@ func (o *ConanPackageUpload) GetExtension() string { // GetExtensionOk returns a tuple with the Extension field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *ConanPackageUpload) GetExtensionOk() (*string, bool) { - if o == nil || o.Extension == nil { +func (o *AlpinePackageUploadResponse) GetExtensionOk() (*string, bool) { + if o == nil || isNil(o.Extension) { return nil, false } return o.Extension, true } // HasExtension returns a boolean if a field has been set. -func (o *ConanPackageUpload) HasExtension() bool { - if o != nil && o.Extension != nil { +func (o *AlpinePackageUploadResponse) HasExtension() bool { + if o != nil && !isNil(o.Extension) { return true } @@ -680,13 +595,13 @@ func (o *ConanPackageUpload) HasExtension() bool { } // SetExtension gets a reference to the given string and assigns it to the Extension field. -func (o *ConanPackageUpload) SetExtension(v string) { +func (o *AlpinePackageUploadResponse) SetExtension(v string) { o.Extension = &v } // GetFilename returns the Filename field value if set, zero value otherwise. -func (o *ConanPackageUpload) GetFilename() string { - if o == nil || o.Filename == nil { +func (o *AlpinePackageUploadResponse) GetFilename() string { + if o == nil || isNil(o.Filename) { var ret string return ret } @@ -695,16 +610,16 @@ func (o *ConanPackageUpload) GetFilename() string { // GetFilenameOk returns a tuple with the Filename field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *ConanPackageUpload) GetFilenameOk() (*string, bool) { - if o == nil || o.Filename == nil { +func (o *AlpinePackageUploadResponse) GetFilenameOk() (*string, bool) { + if o == nil || isNil(o.Filename) { return nil, false } return o.Filename, true } // HasFilename returns a boolean if a field has been set. -func (o *ConanPackageUpload) HasFilename() bool { - if o != nil && o.Filename != nil { +func (o *AlpinePackageUploadResponse) HasFilename() bool { + if o != nil && !isNil(o.Filename) { return true } @@ -712,14 +627,14 @@ func (o *ConanPackageUpload) HasFilename() bool { } // SetFilename gets a reference to the given string and assigns it to the Filename field. -func (o *ConanPackageUpload) SetFilename(v string) { +func (o *AlpinePackageUploadResponse) SetFilename(v string) { o.Filename = &v } // GetFiles returns the Files field value if set, zero value otherwise. -func (o *ConanPackageUpload) GetFiles() []PackagesOwnerRepoFiles { - if o == nil || o.Files == nil { - var ret []PackagesOwnerRepoFiles +func (o *AlpinePackageUploadResponse) GetFiles() []PackageFile { + if o == nil || isNil(o.Files) { + var ret []PackageFile return ret } return o.Files @@ -727,30 +642,30 @@ func (o *ConanPackageUpload) GetFiles() []PackagesOwnerRepoFiles { // GetFilesOk returns a tuple with the Files field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *ConanPackageUpload) GetFilesOk() ([]PackagesOwnerRepoFiles, bool) { - if o == nil || o.Files == nil { +func (o *AlpinePackageUploadResponse) GetFilesOk() ([]PackageFile, bool) { + if o == nil || isNil(o.Files) { return nil, false } return o.Files, true } // HasFiles returns a boolean if a field has been set. -func (o *ConanPackageUpload) HasFiles() bool { - if o != nil && o.Files != nil { +func (o *AlpinePackageUploadResponse) HasFiles() bool { + if o != nil && !isNil(o.Files) { return true } return false } -// SetFiles gets a reference to the given []PackagesOwnerRepoFiles and assigns it to the Files field. -func (o *ConanPackageUpload) SetFiles(v []PackagesOwnerRepoFiles) { +// SetFiles gets a reference to the given []PackageFile and assigns it to the Files field. +func (o *AlpinePackageUploadResponse) SetFiles(v []PackageFile) { o.Files = v } // GetFormat returns the Format field value if set, zero value otherwise. -func (o *ConanPackageUpload) GetFormat() string { - if o == nil || o.Format == nil { +func (o *AlpinePackageUploadResponse) GetFormat() string { + if o == nil || isNil(o.Format) { var ret string return ret } @@ -759,16 +674,16 @@ func (o *ConanPackageUpload) GetFormat() string { // GetFormatOk returns a tuple with the Format field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *ConanPackageUpload) GetFormatOk() (*string, bool) { - if o == nil || o.Format == nil { +func (o *AlpinePackageUploadResponse) GetFormatOk() (*string, bool) { + if o == nil || isNil(o.Format) { return nil, false } return o.Format, true } // HasFormat returns a boolean if a field has been set. -func (o *ConanPackageUpload) HasFormat() bool { - if o != nil && o.Format != nil { +func (o *AlpinePackageUploadResponse) HasFormat() bool { + if o != nil && !isNil(o.Format) { return true } @@ -776,13 +691,13 @@ func (o *ConanPackageUpload) HasFormat() bool { } // SetFormat gets a reference to the given string and assigns it to the Format field. -func (o *ConanPackageUpload) SetFormat(v string) { +func (o *AlpinePackageUploadResponse) SetFormat(v string) { o.Format = &v } // GetFormatUrl returns the FormatUrl field value if set, zero value otherwise. -func (o *ConanPackageUpload) GetFormatUrl() string { - if o == nil || o.FormatUrl == nil { +func (o *AlpinePackageUploadResponse) GetFormatUrl() string { + if o == nil || isNil(o.FormatUrl) { var ret string return ret } @@ -791,16 +706,16 @@ func (o *ConanPackageUpload) GetFormatUrl() string { // GetFormatUrlOk returns a tuple with the FormatUrl field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *ConanPackageUpload) GetFormatUrlOk() (*string, bool) { - if o == nil || o.FormatUrl == nil { +func (o *AlpinePackageUploadResponse) GetFormatUrlOk() (*string, bool) { + if o == nil || isNil(o.FormatUrl) { return nil, false } return o.FormatUrl, true } // HasFormatUrl returns a boolean if a field has been set. -func (o *ConanPackageUpload) HasFormatUrl() bool { - if o != nil && o.FormatUrl != nil { +func (o *AlpinePackageUploadResponse) HasFormatUrl() bool { + if o != nil && !isNil(o.FormatUrl) { return true } @@ -808,13 +723,13 @@ func (o *ConanPackageUpload) HasFormatUrl() bool { } // SetFormatUrl gets a reference to the given string and assigns it to the FormatUrl field. -func (o *ConanPackageUpload) SetFormatUrl(v string) { +func (o *AlpinePackageUploadResponse) SetFormatUrl(v string) { o.FormatUrl = &v } // GetIdentifierPerm returns the IdentifierPerm field value if set, zero value otherwise. -func (o *ConanPackageUpload) GetIdentifierPerm() string { - if o == nil || o.IdentifierPerm == nil { +func (o *AlpinePackageUploadResponse) GetIdentifierPerm() string { + if o == nil || isNil(o.IdentifierPerm) { var ret string return ret } @@ -823,16 +738,16 @@ func (o *ConanPackageUpload) GetIdentifierPerm() string { // GetIdentifierPermOk returns a tuple with the IdentifierPerm field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *ConanPackageUpload) GetIdentifierPermOk() (*string, bool) { - if o == nil || o.IdentifierPerm == nil { +func (o *AlpinePackageUploadResponse) GetIdentifierPermOk() (*string, bool) { + if o == nil || isNil(o.IdentifierPerm) { return nil, false } return o.IdentifierPerm, true } // HasIdentifierPerm returns a boolean if a field has been set. -func (o *ConanPackageUpload) HasIdentifierPerm() bool { - if o != nil && o.IdentifierPerm != nil { +func (o *AlpinePackageUploadResponse) HasIdentifierPerm() bool { + if o != nil && !isNil(o.IdentifierPerm) { return true } @@ -840,13 +755,13 @@ func (o *ConanPackageUpload) HasIdentifierPerm() bool { } // SetIdentifierPerm gets a reference to the given string and assigns it to the IdentifierPerm field. -func (o *ConanPackageUpload) SetIdentifierPerm(v string) { +func (o *AlpinePackageUploadResponse) SetIdentifierPerm(v string) { o.IdentifierPerm = &v } // GetIndexed returns the Indexed field value if set, zero value otherwise. -func (o *ConanPackageUpload) GetIndexed() bool { - if o == nil || o.Indexed == nil { +func (o *AlpinePackageUploadResponse) GetIndexed() bool { + if o == nil || isNil(o.Indexed) { var ret bool return ret } @@ -855,16 +770,16 @@ func (o *ConanPackageUpload) GetIndexed() bool { // GetIndexedOk returns a tuple with the Indexed field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *ConanPackageUpload) GetIndexedOk() (*bool, bool) { - if o == nil || o.Indexed == nil { +func (o *AlpinePackageUploadResponse) GetIndexedOk() (*bool, bool) { + if o == nil || isNil(o.Indexed) { return nil, false } return o.Indexed, true } // HasIndexed returns a boolean if a field has been set. -func (o *ConanPackageUpload) HasIndexed() bool { - if o != nil && o.Indexed != nil { +func (o *AlpinePackageUploadResponse) HasIndexed() bool { + if o != nil && !isNil(o.Indexed) { return true } @@ -872,13 +787,13 @@ func (o *ConanPackageUpload) HasIndexed() bool { } // SetIndexed gets a reference to the given bool and assigns it to the Indexed field. -func (o *ConanPackageUpload) SetIndexed(v bool) { +func (o *AlpinePackageUploadResponse) SetIndexed(v bool) { o.Indexed = &v } // GetIsDownloadable returns the IsDownloadable field value if set, zero value otherwise. -func (o *ConanPackageUpload) GetIsDownloadable() bool { - if o == nil || o.IsDownloadable == nil { +func (o *AlpinePackageUploadResponse) GetIsDownloadable() bool { + if o == nil || isNil(o.IsDownloadable) { var ret bool return ret } @@ -887,16 +802,16 @@ func (o *ConanPackageUpload) GetIsDownloadable() bool { // GetIsDownloadableOk returns a tuple with the IsDownloadable field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *ConanPackageUpload) GetIsDownloadableOk() (*bool, bool) { - if o == nil || o.IsDownloadable == nil { +func (o *AlpinePackageUploadResponse) GetIsDownloadableOk() (*bool, bool) { + if o == nil || isNil(o.IsDownloadable) { return nil, false } return o.IsDownloadable, true } // HasIsDownloadable returns a boolean if a field has been set. -func (o *ConanPackageUpload) HasIsDownloadable() bool { - if o != nil && o.IsDownloadable != nil { +func (o *AlpinePackageUploadResponse) HasIsDownloadable() bool { + if o != nil && !isNil(o.IsDownloadable) { return true } @@ -904,13 +819,13 @@ func (o *ConanPackageUpload) HasIsDownloadable() bool { } // SetIsDownloadable gets a reference to the given bool and assigns it to the IsDownloadable field. -func (o *ConanPackageUpload) SetIsDownloadable(v bool) { +func (o *AlpinePackageUploadResponse) SetIsDownloadable(v bool) { o.IsDownloadable = &v } // GetIsQuarantined returns the IsQuarantined field value if set, zero value otherwise. -func (o *ConanPackageUpload) GetIsQuarantined() bool { - if o == nil || o.IsQuarantined == nil { +func (o *AlpinePackageUploadResponse) GetIsQuarantined() bool { + if o == nil || isNil(o.IsQuarantined) { var ret bool return ret } @@ -919,16 +834,16 @@ func (o *ConanPackageUpload) GetIsQuarantined() bool { // GetIsQuarantinedOk returns a tuple with the IsQuarantined field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *ConanPackageUpload) GetIsQuarantinedOk() (*bool, bool) { - if o == nil || o.IsQuarantined == nil { +func (o *AlpinePackageUploadResponse) GetIsQuarantinedOk() (*bool, bool) { + if o == nil || isNil(o.IsQuarantined) { return nil, false } return o.IsQuarantined, true } // HasIsQuarantined returns a boolean if a field has been set. -func (o *ConanPackageUpload) HasIsQuarantined() bool { - if o != nil && o.IsQuarantined != nil { +func (o *AlpinePackageUploadResponse) HasIsQuarantined() bool { + if o != nil && !isNil(o.IsQuarantined) { return true } @@ -936,13 +851,13 @@ func (o *ConanPackageUpload) HasIsQuarantined() bool { } // SetIsQuarantined gets a reference to the given bool and assigns it to the IsQuarantined field. -func (o *ConanPackageUpload) SetIsQuarantined(v bool) { +func (o *AlpinePackageUploadResponse) SetIsQuarantined(v bool) { o.IsQuarantined = &v } // GetIsSyncAwaiting returns the IsSyncAwaiting field value if set, zero value otherwise. -func (o *ConanPackageUpload) GetIsSyncAwaiting() bool { - if o == nil || o.IsSyncAwaiting == nil { +func (o *AlpinePackageUploadResponse) GetIsSyncAwaiting() bool { + if o == nil || isNil(o.IsSyncAwaiting) { var ret bool return ret } @@ -951,16 +866,16 @@ func (o *ConanPackageUpload) GetIsSyncAwaiting() bool { // GetIsSyncAwaitingOk returns a tuple with the IsSyncAwaiting field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *ConanPackageUpload) GetIsSyncAwaitingOk() (*bool, bool) { - if o == nil || o.IsSyncAwaiting == nil { +func (o *AlpinePackageUploadResponse) GetIsSyncAwaitingOk() (*bool, bool) { + if o == nil || isNil(o.IsSyncAwaiting) { return nil, false } return o.IsSyncAwaiting, true } // HasIsSyncAwaiting returns a boolean if a field has been set. -func (o *ConanPackageUpload) HasIsSyncAwaiting() bool { - if o != nil && o.IsSyncAwaiting != nil { +func (o *AlpinePackageUploadResponse) HasIsSyncAwaiting() bool { + if o != nil && !isNil(o.IsSyncAwaiting) { return true } @@ -968,13 +883,13 @@ func (o *ConanPackageUpload) HasIsSyncAwaiting() bool { } // SetIsSyncAwaiting gets a reference to the given bool and assigns it to the IsSyncAwaiting field. -func (o *ConanPackageUpload) SetIsSyncAwaiting(v bool) { +func (o *AlpinePackageUploadResponse) SetIsSyncAwaiting(v bool) { o.IsSyncAwaiting = &v } // GetIsSyncCompleted returns the IsSyncCompleted field value if set, zero value otherwise. -func (o *ConanPackageUpload) GetIsSyncCompleted() bool { - if o == nil || o.IsSyncCompleted == nil { +func (o *AlpinePackageUploadResponse) GetIsSyncCompleted() bool { + if o == nil || isNil(o.IsSyncCompleted) { var ret bool return ret } @@ -983,16 +898,16 @@ func (o *ConanPackageUpload) GetIsSyncCompleted() bool { // GetIsSyncCompletedOk returns a tuple with the IsSyncCompleted field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *ConanPackageUpload) GetIsSyncCompletedOk() (*bool, bool) { - if o == nil || o.IsSyncCompleted == nil { +func (o *AlpinePackageUploadResponse) GetIsSyncCompletedOk() (*bool, bool) { + if o == nil || isNil(o.IsSyncCompleted) { return nil, false } return o.IsSyncCompleted, true } // HasIsSyncCompleted returns a boolean if a field has been set. -func (o *ConanPackageUpload) HasIsSyncCompleted() bool { - if o != nil && o.IsSyncCompleted != nil { +func (o *AlpinePackageUploadResponse) HasIsSyncCompleted() bool { + if o != nil && !isNil(o.IsSyncCompleted) { return true } @@ -1000,13 +915,13 @@ func (o *ConanPackageUpload) HasIsSyncCompleted() bool { } // SetIsSyncCompleted gets a reference to the given bool and assigns it to the IsSyncCompleted field. -func (o *ConanPackageUpload) SetIsSyncCompleted(v bool) { +func (o *AlpinePackageUploadResponse) SetIsSyncCompleted(v bool) { o.IsSyncCompleted = &v } // GetIsSyncFailed returns the IsSyncFailed field value if set, zero value otherwise. -func (o *ConanPackageUpload) GetIsSyncFailed() bool { - if o == nil || o.IsSyncFailed == nil { +func (o *AlpinePackageUploadResponse) GetIsSyncFailed() bool { + if o == nil || isNil(o.IsSyncFailed) { var ret bool return ret } @@ -1015,16 +930,16 @@ func (o *ConanPackageUpload) GetIsSyncFailed() bool { // GetIsSyncFailedOk returns a tuple with the IsSyncFailed field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *ConanPackageUpload) GetIsSyncFailedOk() (*bool, bool) { - if o == nil || o.IsSyncFailed == nil { +func (o *AlpinePackageUploadResponse) GetIsSyncFailedOk() (*bool, bool) { + if o == nil || isNil(o.IsSyncFailed) { return nil, false } return o.IsSyncFailed, true } // HasIsSyncFailed returns a boolean if a field has been set. -func (o *ConanPackageUpload) HasIsSyncFailed() bool { - if o != nil && o.IsSyncFailed != nil { +func (o *AlpinePackageUploadResponse) HasIsSyncFailed() bool { + if o != nil && !isNil(o.IsSyncFailed) { return true } @@ -1032,13 +947,13 @@ func (o *ConanPackageUpload) HasIsSyncFailed() bool { } // SetIsSyncFailed gets a reference to the given bool and assigns it to the IsSyncFailed field. -func (o *ConanPackageUpload) SetIsSyncFailed(v bool) { +func (o *AlpinePackageUploadResponse) SetIsSyncFailed(v bool) { o.IsSyncFailed = &v } // GetIsSyncInFlight returns the IsSyncInFlight field value if set, zero value otherwise. -func (o *ConanPackageUpload) GetIsSyncInFlight() bool { - if o == nil || o.IsSyncInFlight == nil { +func (o *AlpinePackageUploadResponse) GetIsSyncInFlight() bool { + if o == nil || isNil(o.IsSyncInFlight) { var ret bool return ret } @@ -1047,16 +962,16 @@ func (o *ConanPackageUpload) GetIsSyncInFlight() bool { // GetIsSyncInFlightOk returns a tuple with the IsSyncInFlight field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *ConanPackageUpload) GetIsSyncInFlightOk() (*bool, bool) { - if o == nil || o.IsSyncInFlight == nil { +func (o *AlpinePackageUploadResponse) GetIsSyncInFlightOk() (*bool, bool) { + if o == nil || isNil(o.IsSyncInFlight) { return nil, false } return o.IsSyncInFlight, true } // HasIsSyncInFlight returns a boolean if a field has been set. -func (o *ConanPackageUpload) HasIsSyncInFlight() bool { - if o != nil && o.IsSyncInFlight != nil { +func (o *AlpinePackageUploadResponse) HasIsSyncInFlight() bool { + if o != nil && !isNil(o.IsSyncInFlight) { return true } @@ -1064,13 +979,13 @@ func (o *ConanPackageUpload) HasIsSyncInFlight() bool { } // SetIsSyncInFlight gets a reference to the given bool and assigns it to the IsSyncInFlight field. -func (o *ConanPackageUpload) SetIsSyncInFlight(v bool) { +func (o *AlpinePackageUploadResponse) SetIsSyncInFlight(v bool) { o.IsSyncInFlight = &v } // GetIsSyncInProgress returns the IsSyncInProgress field value if set, zero value otherwise. -func (o *ConanPackageUpload) GetIsSyncInProgress() bool { - if o == nil || o.IsSyncInProgress == nil { +func (o *AlpinePackageUploadResponse) GetIsSyncInProgress() bool { + if o == nil || isNil(o.IsSyncInProgress) { var ret bool return ret } @@ -1079,16 +994,16 @@ func (o *ConanPackageUpload) GetIsSyncInProgress() bool { // GetIsSyncInProgressOk returns a tuple with the IsSyncInProgress field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *ConanPackageUpload) GetIsSyncInProgressOk() (*bool, bool) { - if o == nil || o.IsSyncInProgress == nil { +func (o *AlpinePackageUploadResponse) GetIsSyncInProgressOk() (*bool, bool) { + if o == nil || isNil(o.IsSyncInProgress) { return nil, false } return o.IsSyncInProgress, true } // HasIsSyncInProgress returns a boolean if a field has been set. -func (o *ConanPackageUpload) HasIsSyncInProgress() bool { - if o != nil && o.IsSyncInProgress != nil { +func (o *AlpinePackageUploadResponse) HasIsSyncInProgress() bool { + if o != nil && !isNil(o.IsSyncInProgress) { return true } @@ -1096,13 +1011,13 @@ func (o *ConanPackageUpload) HasIsSyncInProgress() bool { } // SetIsSyncInProgress gets a reference to the given bool and assigns it to the IsSyncInProgress field. -func (o *ConanPackageUpload) SetIsSyncInProgress(v bool) { +func (o *AlpinePackageUploadResponse) SetIsSyncInProgress(v bool) { o.IsSyncInProgress = &v } // GetLicense returns the License field value if set, zero value otherwise. -func (o *ConanPackageUpload) GetLicense() string { - if o == nil || o.License == nil { +func (o *AlpinePackageUploadResponse) GetLicense() string { + if o == nil || isNil(o.License) { var ret string return ret } @@ -1111,16 +1026,16 @@ func (o *ConanPackageUpload) GetLicense() string { // GetLicenseOk returns a tuple with the License field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *ConanPackageUpload) GetLicenseOk() (*string, bool) { - if o == nil || o.License == nil { +func (o *AlpinePackageUploadResponse) GetLicenseOk() (*string, bool) { + if o == nil || isNil(o.License) { return nil, false } return o.License, true } // HasLicense returns a boolean if a field has been set. -func (o *ConanPackageUpload) HasLicense() bool { - if o != nil && o.License != nil { +func (o *AlpinePackageUploadResponse) HasLicense() bool { + if o != nil && !isNil(o.License) { return true } @@ -1128,13 +1043,13 @@ func (o *ConanPackageUpload) HasLicense() bool { } // SetLicense gets a reference to the given string and assigns it to the License field. -func (o *ConanPackageUpload) SetLicense(v string) { +func (o *AlpinePackageUploadResponse) SetLicense(v string) { o.License = &v } // GetName returns the Name field value if set, zero value otherwise. -func (o *ConanPackageUpload) GetName() string { - if o == nil || o.Name == nil { +func (o *AlpinePackageUploadResponse) GetName() string { + if o == nil || isNil(o.Name) { var ret string return ret } @@ -1143,16 +1058,16 @@ func (o *ConanPackageUpload) GetName() string { // GetNameOk returns a tuple with the Name field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *ConanPackageUpload) GetNameOk() (*string, bool) { - if o == nil || o.Name == nil { +func (o *AlpinePackageUploadResponse) GetNameOk() (*string, bool) { + if o == nil || isNil(o.Name) { return nil, false } return o.Name, true } // HasName returns a boolean if a field has been set. -func (o *ConanPackageUpload) HasName() bool { - if o != nil && o.Name != nil { +func (o *AlpinePackageUploadResponse) HasName() bool { + if o != nil && !isNil(o.Name) { return true } @@ -1160,13 +1075,13 @@ func (o *ConanPackageUpload) HasName() bool { } // SetName gets a reference to the given string and assigns it to the Name field. -func (o *ConanPackageUpload) SetName(v string) { +func (o *AlpinePackageUploadResponse) SetName(v string) { o.Name = &v } // GetNamespace returns the Namespace field value if set, zero value otherwise. -func (o *ConanPackageUpload) GetNamespace() string { - if o == nil || o.Namespace == nil { +func (o *AlpinePackageUploadResponse) GetNamespace() string { + if o == nil || isNil(o.Namespace) { var ret string return ret } @@ -1175,16 +1090,16 @@ func (o *ConanPackageUpload) GetNamespace() string { // GetNamespaceOk returns a tuple with the Namespace field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *ConanPackageUpload) GetNamespaceOk() (*string, bool) { - if o == nil || o.Namespace == nil { +func (o *AlpinePackageUploadResponse) GetNamespaceOk() (*string, bool) { + if o == nil || isNil(o.Namespace) { return nil, false } return o.Namespace, true } // HasNamespace returns a boolean if a field has been set. -func (o *ConanPackageUpload) HasNamespace() bool { - if o != nil && o.Namespace != nil { +func (o *AlpinePackageUploadResponse) HasNamespace() bool { + if o != nil && !isNil(o.Namespace) { return true } @@ -1192,13 +1107,13 @@ func (o *ConanPackageUpload) HasNamespace() bool { } // SetNamespace gets a reference to the given string and assigns it to the Namespace field. -func (o *ConanPackageUpload) SetNamespace(v string) { +func (o *AlpinePackageUploadResponse) SetNamespace(v string) { o.Namespace = &v } // GetNamespaceUrl returns the NamespaceUrl field value if set, zero value otherwise. -func (o *ConanPackageUpload) GetNamespaceUrl() string { - if o == nil || o.NamespaceUrl == nil { +func (o *AlpinePackageUploadResponse) GetNamespaceUrl() string { + if o == nil || isNil(o.NamespaceUrl) { var ret string return ret } @@ -1207,16 +1122,16 @@ func (o *ConanPackageUpload) GetNamespaceUrl() string { // GetNamespaceUrlOk returns a tuple with the NamespaceUrl field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *ConanPackageUpload) GetNamespaceUrlOk() (*string, bool) { - if o == nil || o.NamespaceUrl == nil { +func (o *AlpinePackageUploadResponse) GetNamespaceUrlOk() (*string, bool) { + if o == nil || isNil(o.NamespaceUrl) { return nil, false } return o.NamespaceUrl, true } // HasNamespaceUrl returns a boolean if a field has been set. -func (o *ConanPackageUpload) HasNamespaceUrl() bool { - if o != nil && o.NamespaceUrl != nil { +func (o *AlpinePackageUploadResponse) HasNamespaceUrl() bool { + if o != nil && !isNil(o.NamespaceUrl) { return true } @@ -1224,13 +1139,13 @@ func (o *ConanPackageUpload) HasNamespaceUrl() bool { } // SetNamespaceUrl gets a reference to the given string and assigns it to the NamespaceUrl field. -func (o *ConanPackageUpload) SetNamespaceUrl(v string) { +func (o *AlpinePackageUploadResponse) SetNamespaceUrl(v string) { o.NamespaceUrl = &v } // GetNumFiles returns the NumFiles field value if set, zero value otherwise. -func (o *ConanPackageUpload) GetNumFiles() int64 { - if o == nil || o.NumFiles == nil { +func (o *AlpinePackageUploadResponse) GetNumFiles() int64 { + if o == nil || isNil(o.NumFiles) { var ret int64 return ret } @@ -1239,16 +1154,16 @@ func (o *ConanPackageUpload) GetNumFiles() int64 { // GetNumFilesOk returns a tuple with the NumFiles field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *ConanPackageUpload) GetNumFilesOk() (*int64, bool) { - if o == nil || o.NumFiles == nil { +func (o *AlpinePackageUploadResponse) GetNumFilesOk() (*int64, bool) { + if o == nil || isNil(o.NumFiles) { return nil, false } return o.NumFiles, true } // HasNumFiles returns a boolean if a field has been set. -func (o *ConanPackageUpload) HasNumFiles() bool { - if o != nil && o.NumFiles != nil { +func (o *AlpinePackageUploadResponse) HasNumFiles() bool { + if o != nil && !isNil(o.NumFiles) { return true } @@ -1256,13 +1171,77 @@ func (o *ConanPackageUpload) HasNumFiles() bool { } // SetNumFiles gets a reference to the given int64 and assigns it to the NumFiles field. -func (o *ConanPackageUpload) SetNumFiles(v int64) { +func (o *AlpinePackageUploadResponse) SetNumFiles(v int64) { o.NumFiles = &v } +// GetOriginRepository returns the OriginRepository field value if set, zero value otherwise. +func (o *AlpinePackageUploadResponse) GetOriginRepository() string { + if o == nil || isNil(o.OriginRepository) { + var ret string + return ret + } + return *o.OriginRepository +} + +// GetOriginRepositoryOk returns a tuple with the OriginRepository field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *AlpinePackageUploadResponse) GetOriginRepositoryOk() (*string, bool) { + if o == nil || isNil(o.OriginRepository) { + return nil, false + } + return o.OriginRepository, true +} + +// HasOriginRepository returns a boolean if a field has been set. +func (o *AlpinePackageUploadResponse) HasOriginRepository() bool { + if o != nil && !isNil(o.OriginRepository) { + return true + } + + return false +} + +// SetOriginRepository gets a reference to the given string and assigns it to the OriginRepository field. +func (o *AlpinePackageUploadResponse) SetOriginRepository(v string) { + o.OriginRepository = &v +} + +// GetOriginRepositoryUrl returns the OriginRepositoryUrl field value if set, zero value otherwise. +func (o *AlpinePackageUploadResponse) GetOriginRepositoryUrl() string { + if o == nil || isNil(o.OriginRepositoryUrl) { + var ret string + return ret + } + return *o.OriginRepositoryUrl +} + +// GetOriginRepositoryUrlOk returns a tuple with the OriginRepositoryUrl field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *AlpinePackageUploadResponse) GetOriginRepositoryUrlOk() (*string, bool) { + if o == nil || isNil(o.OriginRepositoryUrl) { + return nil, false + } + return o.OriginRepositoryUrl, true +} + +// HasOriginRepositoryUrl returns a boolean if a field has been set. +func (o *AlpinePackageUploadResponse) HasOriginRepositoryUrl() bool { + if o != nil && !isNil(o.OriginRepositoryUrl) { + return true + } + + return false +} + +// SetOriginRepositoryUrl gets a reference to the given string and assigns it to the OriginRepositoryUrl field. +func (o *AlpinePackageUploadResponse) SetOriginRepositoryUrl(v string) { + o.OriginRepositoryUrl = &v +} + // GetPackageType returns the PackageType field value if set, zero value otherwise. -func (o *ConanPackageUpload) GetPackageType() int64 { - if o == nil || o.PackageType == nil { +func (o *AlpinePackageUploadResponse) GetPackageType() int64 { + if o == nil || isNil(o.PackageType) { var ret int64 return ret } @@ -1271,16 +1250,16 @@ func (o *ConanPackageUpload) GetPackageType() int64 { // GetPackageTypeOk returns a tuple with the PackageType field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *ConanPackageUpload) GetPackageTypeOk() (*int64, bool) { - if o == nil || o.PackageType == nil { +func (o *AlpinePackageUploadResponse) GetPackageTypeOk() (*int64, bool) { + if o == nil || isNil(o.PackageType) { return nil, false } return o.PackageType, true } // HasPackageType returns a boolean if a field has been set. -func (o *ConanPackageUpload) HasPackageType() bool { - if o != nil && o.PackageType != nil { +func (o *AlpinePackageUploadResponse) HasPackageType() bool { + if o != nil && !isNil(o.PackageType) { return true } @@ -1288,13 +1267,13 @@ func (o *ConanPackageUpload) HasPackageType() bool { } // SetPackageType gets a reference to the given int64 and assigns it to the PackageType field. -func (o *ConanPackageUpload) SetPackageType(v int64) { +func (o *AlpinePackageUploadResponse) SetPackageType(v int64) { o.PackageType = &v } // GetRelease returns the Release field value if set, zero value otherwise. -func (o *ConanPackageUpload) GetRelease() string { - if o == nil || o.Release == nil { +func (o *AlpinePackageUploadResponse) GetRelease() string { + if o == nil || isNil(o.Release) { var ret string return ret } @@ -1303,16 +1282,16 @@ func (o *ConanPackageUpload) GetRelease() string { // GetReleaseOk returns a tuple with the Release field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *ConanPackageUpload) GetReleaseOk() (*string, bool) { - if o == nil || o.Release == nil { +func (o *AlpinePackageUploadResponse) GetReleaseOk() (*string, bool) { + if o == nil || isNil(o.Release) { return nil, false } return o.Release, true } // HasRelease returns a boolean if a field has been set. -func (o *ConanPackageUpload) HasRelease() bool { - if o != nil && o.Release != nil { +func (o *AlpinePackageUploadResponse) HasRelease() bool { + if o != nil && !isNil(o.Release) { return true } @@ -1320,13 +1299,13 @@ func (o *ConanPackageUpload) HasRelease() bool { } // SetRelease gets a reference to the given string and assigns it to the Release field. -func (o *ConanPackageUpload) SetRelease(v string) { +func (o *AlpinePackageUploadResponse) SetRelease(v string) { o.Release = &v } // GetRepository returns the Repository field value if set, zero value otherwise. -func (o *ConanPackageUpload) GetRepository() string { - if o == nil || o.Repository == nil { +func (o *AlpinePackageUploadResponse) GetRepository() string { + if o == nil || isNil(o.Repository) { var ret string return ret } @@ -1335,16 +1314,16 @@ func (o *ConanPackageUpload) GetRepository() string { // GetRepositoryOk returns a tuple with the Repository field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *ConanPackageUpload) GetRepositoryOk() (*string, bool) { - if o == nil || o.Repository == nil { +func (o *AlpinePackageUploadResponse) GetRepositoryOk() (*string, bool) { + if o == nil || isNil(o.Repository) { return nil, false } return o.Repository, true } // HasRepository returns a boolean if a field has been set. -func (o *ConanPackageUpload) HasRepository() bool { - if o != nil && o.Repository != nil { +func (o *AlpinePackageUploadResponse) HasRepository() bool { + if o != nil && !isNil(o.Repository) { return true } @@ -1352,13 +1331,13 @@ func (o *ConanPackageUpload) HasRepository() bool { } // SetRepository gets a reference to the given string and assigns it to the Repository field. -func (o *ConanPackageUpload) SetRepository(v string) { +func (o *AlpinePackageUploadResponse) SetRepository(v string) { o.Repository = &v } // GetRepositoryUrl returns the RepositoryUrl field value if set, zero value otherwise. -func (o *ConanPackageUpload) GetRepositoryUrl() string { - if o == nil || o.RepositoryUrl == nil { +func (o *AlpinePackageUploadResponse) GetRepositoryUrl() string { + if o == nil || isNil(o.RepositoryUrl) { var ret string return ret } @@ -1367,16 +1346,16 @@ func (o *ConanPackageUpload) GetRepositoryUrl() string { // GetRepositoryUrlOk returns a tuple with the RepositoryUrl field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *ConanPackageUpload) GetRepositoryUrlOk() (*string, bool) { - if o == nil || o.RepositoryUrl == nil { +func (o *AlpinePackageUploadResponse) GetRepositoryUrlOk() (*string, bool) { + if o == nil || isNil(o.RepositoryUrl) { return nil, false } return o.RepositoryUrl, true } // HasRepositoryUrl returns a boolean if a field has been set. -func (o *ConanPackageUpload) HasRepositoryUrl() bool { - if o != nil && o.RepositoryUrl != nil { +func (o *AlpinePackageUploadResponse) HasRepositoryUrl() bool { + if o != nil && !isNil(o.RepositoryUrl) { return true } @@ -1384,14 +1363,14 @@ func (o *ConanPackageUpload) HasRepositoryUrl() bool { } // SetRepositoryUrl gets a reference to the given string and assigns it to the RepositoryUrl field. -func (o *ConanPackageUpload) SetRepositoryUrl(v string) { +func (o *AlpinePackageUploadResponse) SetRepositoryUrl(v string) { o.RepositoryUrl = &v } // GetSecurityScanCompletedAt returns the SecurityScanCompletedAt field value if set, zero value otherwise. -func (o *ConanPackageUpload) GetSecurityScanCompletedAt() string { - if o == nil || o.SecurityScanCompletedAt == nil { - var ret string +func (o *AlpinePackageUploadResponse) GetSecurityScanCompletedAt() time.Time { + if o == nil || isNil(o.SecurityScanCompletedAt) { + var ret time.Time return ret } return *o.SecurityScanCompletedAt @@ -1399,31 +1378,31 @@ func (o *ConanPackageUpload) GetSecurityScanCompletedAt() string { // GetSecurityScanCompletedAtOk returns a tuple with the SecurityScanCompletedAt field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *ConanPackageUpload) GetSecurityScanCompletedAtOk() (*string, bool) { - if o == nil || o.SecurityScanCompletedAt == nil { +func (o *AlpinePackageUploadResponse) GetSecurityScanCompletedAtOk() (*time.Time, bool) { + if o == nil || isNil(o.SecurityScanCompletedAt) { return nil, false } return o.SecurityScanCompletedAt, true } // HasSecurityScanCompletedAt returns a boolean if a field has been set. -func (o *ConanPackageUpload) HasSecurityScanCompletedAt() bool { - if o != nil && o.SecurityScanCompletedAt != nil { +func (o *AlpinePackageUploadResponse) HasSecurityScanCompletedAt() bool { + if o != nil && !isNil(o.SecurityScanCompletedAt) { return true } return false } -// SetSecurityScanCompletedAt gets a reference to the given string and assigns it to the SecurityScanCompletedAt field. -func (o *ConanPackageUpload) SetSecurityScanCompletedAt(v string) { +// SetSecurityScanCompletedAt gets a reference to the given time.Time and assigns it to the SecurityScanCompletedAt field. +func (o *AlpinePackageUploadResponse) SetSecurityScanCompletedAt(v time.Time) { o.SecurityScanCompletedAt = &v } // GetSecurityScanStartedAt returns the SecurityScanStartedAt field value if set, zero value otherwise. -func (o *ConanPackageUpload) GetSecurityScanStartedAt() string { - if o == nil || o.SecurityScanStartedAt == nil { - var ret string +func (o *AlpinePackageUploadResponse) GetSecurityScanStartedAt() time.Time { + if o == nil || isNil(o.SecurityScanStartedAt) { + var ret time.Time return ret } return *o.SecurityScanStartedAt @@ -1431,63 +1410,74 @@ func (o *ConanPackageUpload) GetSecurityScanStartedAt() string { // GetSecurityScanStartedAtOk returns a tuple with the SecurityScanStartedAt field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *ConanPackageUpload) GetSecurityScanStartedAtOk() (*string, bool) { - if o == nil || o.SecurityScanStartedAt == nil { +func (o *AlpinePackageUploadResponse) GetSecurityScanStartedAtOk() (*time.Time, bool) { + if o == nil || isNil(o.SecurityScanStartedAt) { return nil, false } return o.SecurityScanStartedAt, true } // HasSecurityScanStartedAt returns a boolean if a field has been set. -func (o *ConanPackageUpload) HasSecurityScanStartedAt() bool { - if o != nil && o.SecurityScanStartedAt != nil { +func (o *AlpinePackageUploadResponse) HasSecurityScanStartedAt() bool { + if o != nil && !isNil(o.SecurityScanStartedAt) { return true } return false } -// SetSecurityScanStartedAt gets a reference to the given string and assigns it to the SecurityScanStartedAt field. -func (o *ConanPackageUpload) SetSecurityScanStartedAt(v string) { +// SetSecurityScanStartedAt gets a reference to the given time.Time and assigns it to the SecurityScanStartedAt field. +func (o *AlpinePackageUploadResponse) SetSecurityScanStartedAt(v time.Time) { o.SecurityScanStartedAt = &v } -// GetSecurityScanStatus returns the SecurityScanStatus field value if set, zero value otherwise. -func (o *ConanPackageUpload) GetSecurityScanStatus() string { - if o == nil || o.SecurityScanStatus == nil { +// GetSecurityScanStatus returns the SecurityScanStatus field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *AlpinePackageUploadResponse) GetSecurityScanStatus() string { + if o == nil || isNil(o.SecurityScanStatus.Get()) { var ret string return ret } - return *o.SecurityScanStatus + return *o.SecurityScanStatus.Get() } // GetSecurityScanStatusOk returns a tuple with the SecurityScanStatus field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *ConanPackageUpload) GetSecurityScanStatusOk() (*string, bool) { - if o == nil || o.SecurityScanStatus == nil { +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *AlpinePackageUploadResponse) GetSecurityScanStatusOk() (*string, bool) { + if o == nil { return nil, false } - return o.SecurityScanStatus, true + return o.SecurityScanStatus.Get(), o.SecurityScanStatus.IsSet() } // HasSecurityScanStatus returns a boolean if a field has been set. -func (o *ConanPackageUpload) HasSecurityScanStatus() bool { - if o != nil && o.SecurityScanStatus != nil { +func (o *AlpinePackageUploadResponse) HasSecurityScanStatus() bool { + if o != nil && o.SecurityScanStatus.IsSet() { return true } return false } -// SetSecurityScanStatus gets a reference to the given string and assigns it to the SecurityScanStatus field. -func (o *ConanPackageUpload) SetSecurityScanStatus(v string) { - o.SecurityScanStatus = &v +// SetSecurityScanStatus gets a reference to the given NullableString and assigns it to the SecurityScanStatus field. +func (o *AlpinePackageUploadResponse) SetSecurityScanStatus(v string) { + o.SecurityScanStatus.Set(&v) +} + +// SetSecurityScanStatusNil sets the value for SecurityScanStatus to be an explicit nil +func (o *AlpinePackageUploadResponse) SetSecurityScanStatusNil() { + o.SecurityScanStatus.Set(nil) +} + +// UnsetSecurityScanStatus ensures that no value is present for SecurityScanStatus, not even an explicit nil +func (o *AlpinePackageUploadResponse) UnsetSecurityScanStatus() { + o.SecurityScanStatus.Unset() } // GetSecurityScanStatusUpdatedAt returns the SecurityScanStatusUpdatedAt field value if set, zero value otherwise. -func (o *ConanPackageUpload) GetSecurityScanStatusUpdatedAt() string { - if o == nil || o.SecurityScanStatusUpdatedAt == nil { - var ret string +func (o *AlpinePackageUploadResponse) GetSecurityScanStatusUpdatedAt() time.Time { + if o == nil || isNil(o.SecurityScanStatusUpdatedAt) { + var ret time.Time return ret } return *o.SecurityScanStatusUpdatedAt @@ -1495,30 +1485,30 @@ func (o *ConanPackageUpload) GetSecurityScanStatusUpdatedAt() string { // GetSecurityScanStatusUpdatedAtOk returns a tuple with the SecurityScanStatusUpdatedAt field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *ConanPackageUpload) GetSecurityScanStatusUpdatedAtOk() (*string, bool) { - if o == nil || o.SecurityScanStatusUpdatedAt == nil { +func (o *AlpinePackageUploadResponse) GetSecurityScanStatusUpdatedAtOk() (*time.Time, bool) { + if o == nil || isNil(o.SecurityScanStatusUpdatedAt) { return nil, false } return o.SecurityScanStatusUpdatedAt, true } // HasSecurityScanStatusUpdatedAt returns a boolean if a field has been set. -func (o *ConanPackageUpload) HasSecurityScanStatusUpdatedAt() bool { - if o != nil && o.SecurityScanStatusUpdatedAt != nil { +func (o *AlpinePackageUploadResponse) HasSecurityScanStatusUpdatedAt() bool { + if o != nil && !isNil(o.SecurityScanStatusUpdatedAt) { return true } return false } -// SetSecurityScanStatusUpdatedAt gets a reference to the given string and assigns it to the SecurityScanStatusUpdatedAt field. -func (o *ConanPackageUpload) SetSecurityScanStatusUpdatedAt(v string) { +// SetSecurityScanStatusUpdatedAt gets a reference to the given time.Time and assigns it to the SecurityScanStatusUpdatedAt field. +func (o *AlpinePackageUploadResponse) SetSecurityScanStatusUpdatedAt(v time.Time) { o.SecurityScanStatusUpdatedAt = &v } // GetSelfHtmlUrl returns the SelfHtmlUrl field value if set, zero value otherwise. -func (o *ConanPackageUpload) GetSelfHtmlUrl() string { - if o == nil || o.SelfHtmlUrl == nil { +func (o *AlpinePackageUploadResponse) GetSelfHtmlUrl() string { + if o == nil || isNil(o.SelfHtmlUrl) { var ret string return ret } @@ -1527,16 +1517,16 @@ func (o *ConanPackageUpload) GetSelfHtmlUrl() string { // GetSelfHtmlUrlOk returns a tuple with the SelfHtmlUrl field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *ConanPackageUpload) GetSelfHtmlUrlOk() (*string, bool) { - if o == nil || o.SelfHtmlUrl == nil { +func (o *AlpinePackageUploadResponse) GetSelfHtmlUrlOk() (*string, bool) { + if o == nil || isNil(o.SelfHtmlUrl) { return nil, false } return o.SelfHtmlUrl, true } // HasSelfHtmlUrl returns a boolean if a field has been set. -func (o *ConanPackageUpload) HasSelfHtmlUrl() bool { - if o != nil && o.SelfHtmlUrl != nil { +func (o *AlpinePackageUploadResponse) HasSelfHtmlUrl() bool { + if o != nil && !isNil(o.SelfHtmlUrl) { return true } @@ -1544,13 +1534,13 @@ func (o *ConanPackageUpload) HasSelfHtmlUrl() bool { } // SetSelfHtmlUrl gets a reference to the given string and assigns it to the SelfHtmlUrl field. -func (o *ConanPackageUpload) SetSelfHtmlUrl(v string) { +func (o *AlpinePackageUploadResponse) SetSelfHtmlUrl(v string) { o.SelfHtmlUrl = &v } // GetSelfUrl returns the SelfUrl field value if set, zero value otherwise. -func (o *ConanPackageUpload) GetSelfUrl() string { - if o == nil || o.SelfUrl == nil { +func (o *AlpinePackageUploadResponse) GetSelfUrl() string { + if o == nil || isNil(o.SelfUrl) { var ret string return ret } @@ -1559,16 +1549,16 @@ func (o *ConanPackageUpload) GetSelfUrl() string { // GetSelfUrlOk returns a tuple with the SelfUrl field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *ConanPackageUpload) GetSelfUrlOk() (*string, bool) { - if o == nil || o.SelfUrl == nil { +func (o *AlpinePackageUploadResponse) GetSelfUrlOk() (*string, bool) { + if o == nil || isNil(o.SelfUrl) { return nil, false } return o.SelfUrl, true } // HasSelfUrl returns a boolean if a field has been set. -func (o *ConanPackageUpload) HasSelfUrl() bool { - if o != nil && o.SelfUrl != nil { +func (o *AlpinePackageUploadResponse) HasSelfUrl() bool { + if o != nil && !isNil(o.SelfUrl) { return true } @@ -1576,45 +1566,56 @@ func (o *ConanPackageUpload) HasSelfUrl() bool { } // SetSelfUrl gets a reference to the given string and assigns it to the SelfUrl field. -func (o *ConanPackageUpload) SetSelfUrl(v string) { +func (o *AlpinePackageUploadResponse) SetSelfUrl(v string) { o.SelfUrl = &v } -// GetSignatureUrl returns the SignatureUrl field value if set, zero value otherwise. -func (o *ConanPackageUpload) GetSignatureUrl() string { - if o == nil || o.SignatureUrl == nil { +// GetSignatureUrl returns the SignatureUrl field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *AlpinePackageUploadResponse) GetSignatureUrl() string { + if o == nil || isNil(o.SignatureUrl.Get()) { var ret string return ret } - return *o.SignatureUrl + return *o.SignatureUrl.Get() } // GetSignatureUrlOk returns a tuple with the SignatureUrl field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *ConanPackageUpload) GetSignatureUrlOk() (*string, bool) { - if o == nil || o.SignatureUrl == nil { +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *AlpinePackageUploadResponse) GetSignatureUrlOk() (*string, bool) { + if o == nil { return nil, false } - return o.SignatureUrl, true + return o.SignatureUrl.Get(), o.SignatureUrl.IsSet() } // HasSignatureUrl returns a boolean if a field has been set. -func (o *ConanPackageUpload) HasSignatureUrl() bool { - if o != nil && o.SignatureUrl != nil { +func (o *AlpinePackageUploadResponse) HasSignatureUrl() bool { + if o != nil && o.SignatureUrl.IsSet() { return true } return false } -// SetSignatureUrl gets a reference to the given string and assigns it to the SignatureUrl field. -func (o *ConanPackageUpload) SetSignatureUrl(v string) { - o.SignatureUrl = &v +// SetSignatureUrl gets a reference to the given NullableString and assigns it to the SignatureUrl field. +func (o *AlpinePackageUploadResponse) SetSignatureUrl(v string) { + o.SignatureUrl.Set(&v) +} + +// SetSignatureUrlNil sets the value for SignatureUrl to be an explicit nil +func (o *AlpinePackageUploadResponse) SetSignatureUrlNil() { + o.SignatureUrl.Set(nil) +} + +// UnsetSignatureUrl ensures that no value is present for SignatureUrl, not even an explicit nil +func (o *AlpinePackageUploadResponse) UnsetSignatureUrl() { + o.SignatureUrl.Unset() } // GetSize returns the Size field value if set, zero value otherwise. -func (o *ConanPackageUpload) GetSize() int64 { - if o == nil || o.Size == nil { +func (o *AlpinePackageUploadResponse) GetSize() int64 { + if o == nil || isNil(o.Size) { var ret int64 return ret } @@ -1623,16 +1624,16 @@ func (o *ConanPackageUpload) GetSize() int64 { // GetSizeOk returns a tuple with the Size field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *ConanPackageUpload) GetSizeOk() (*int64, bool) { - if o == nil || o.Size == nil { +func (o *AlpinePackageUploadResponse) GetSizeOk() (*int64, bool) { + if o == nil || isNil(o.Size) { return nil, false } return o.Size, true } // HasSize returns a boolean if a field has been set. -func (o *ConanPackageUpload) HasSize() bool { - if o != nil && o.Size != nil { +func (o *AlpinePackageUploadResponse) HasSize() bool { + if o != nil && !isNil(o.Size) { return true } @@ -1640,13 +1641,13 @@ func (o *ConanPackageUpload) HasSize() bool { } // SetSize gets a reference to the given int64 and assigns it to the Size field. -func (o *ConanPackageUpload) SetSize(v int64) { +func (o *AlpinePackageUploadResponse) SetSize(v int64) { o.Size = &v } // GetSlug returns the Slug field value if set, zero value otherwise. -func (o *ConanPackageUpload) GetSlug() string { - if o == nil || o.Slug == nil { +func (o *AlpinePackageUploadResponse) GetSlug() string { + if o == nil || isNil(o.Slug) { var ret string return ret } @@ -1655,16 +1656,16 @@ func (o *ConanPackageUpload) GetSlug() string { // GetSlugOk returns a tuple with the Slug field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *ConanPackageUpload) GetSlugOk() (*string, bool) { - if o == nil || o.Slug == nil { +func (o *AlpinePackageUploadResponse) GetSlugOk() (*string, bool) { + if o == nil || isNil(o.Slug) { return nil, false } return o.Slug, true } // HasSlug returns a boolean if a field has been set. -func (o *ConanPackageUpload) HasSlug() bool { - if o != nil && o.Slug != nil { +func (o *AlpinePackageUploadResponse) HasSlug() bool { + if o != nil && !isNil(o.Slug) { return true } @@ -1672,13 +1673,13 @@ func (o *ConanPackageUpload) HasSlug() bool { } // SetSlug gets a reference to the given string and assigns it to the Slug field. -func (o *ConanPackageUpload) SetSlug(v string) { +func (o *AlpinePackageUploadResponse) SetSlug(v string) { o.Slug = &v } // GetSlugPerm returns the SlugPerm field value if set, zero value otherwise. -func (o *ConanPackageUpload) GetSlugPerm() string { - if o == nil || o.SlugPerm == nil { +func (o *AlpinePackageUploadResponse) GetSlugPerm() string { + if o == nil || isNil(o.SlugPerm) { var ret string return ret } @@ -1687,16 +1688,16 @@ func (o *ConanPackageUpload) GetSlugPerm() string { // GetSlugPermOk returns a tuple with the SlugPerm field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *ConanPackageUpload) GetSlugPermOk() (*string, bool) { - if o == nil || o.SlugPerm == nil { +func (o *AlpinePackageUploadResponse) GetSlugPermOk() (*string, bool) { + if o == nil || isNil(o.SlugPerm) { return nil, false } return o.SlugPerm, true } // HasSlugPerm returns a boolean if a field has been set. -func (o *ConanPackageUpload) HasSlugPerm() bool { - if o != nil && o.SlugPerm != nil { +func (o *AlpinePackageUploadResponse) HasSlugPerm() bool { + if o != nil && !isNil(o.SlugPerm) { return true } @@ -1704,13 +1705,13 @@ func (o *ConanPackageUpload) HasSlugPerm() bool { } // SetSlugPerm gets a reference to the given string and assigns it to the SlugPerm field. -func (o *ConanPackageUpload) SetSlugPerm(v string) { +func (o *AlpinePackageUploadResponse) SetSlugPerm(v string) { o.SlugPerm = &v } // GetStage returns the Stage field value if set, zero value otherwise. -func (o *ConanPackageUpload) GetStage() int64 { - if o == nil || o.Stage == nil { +func (o *AlpinePackageUploadResponse) GetStage() int64 { + if o == nil || isNil(o.Stage) { var ret int64 return ret } @@ -1719,16 +1720,16 @@ func (o *ConanPackageUpload) GetStage() int64 { // GetStageOk returns a tuple with the Stage field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *ConanPackageUpload) GetStageOk() (*int64, bool) { - if o == nil || o.Stage == nil { +func (o *AlpinePackageUploadResponse) GetStageOk() (*int64, bool) { + if o == nil || isNil(o.Stage) { return nil, false } return o.Stage, true } // HasStage returns a boolean if a field has been set. -func (o *ConanPackageUpload) HasStage() bool { - if o != nil && o.Stage != nil { +func (o *AlpinePackageUploadResponse) HasStage() bool { + if o != nil && !isNil(o.Stage) { return true } @@ -1736,13 +1737,13 @@ func (o *ConanPackageUpload) HasStage() bool { } // SetStage gets a reference to the given int64 and assigns it to the Stage field. -func (o *ConanPackageUpload) SetStage(v int64) { +func (o *AlpinePackageUploadResponse) SetStage(v int64) { o.Stage = &v } // GetStageStr returns the StageStr field value if set, zero value otherwise. -func (o *ConanPackageUpload) GetStageStr() string { - if o == nil || o.StageStr == nil { +func (o *AlpinePackageUploadResponse) GetStageStr() string { + if o == nil || isNil(o.StageStr) { var ret string return ret } @@ -1751,16 +1752,16 @@ func (o *ConanPackageUpload) GetStageStr() string { // GetStageStrOk returns a tuple with the StageStr field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *ConanPackageUpload) GetStageStrOk() (*string, bool) { - if o == nil || o.StageStr == nil { +func (o *AlpinePackageUploadResponse) GetStageStrOk() (*string, bool) { + if o == nil || isNil(o.StageStr) { return nil, false } return o.StageStr, true } // HasStageStr returns a boolean if a field has been set. -func (o *ConanPackageUpload) HasStageStr() bool { - if o != nil && o.StageStr != nil { +func (o *AlpinePackageUploadResponse) HasStageStr() bool { + if o != nil && !isNil(o.StageStr) { return true } @@ -1768,14 +1769,14 @@ func (o *ConanPackageUpload) HasStageStr() bool { } // SetStageStr gets a reference to the given string and assigns it to the StageStr field. -func (o *ConanPackageUpload) SetStageStr(v string) { +func (o *AlpinePackageUploadResponse) SetStageStr(v string) { o.StageStr = &v } // GetStageUpdatedAt returns the StageUpdatedAt field value if set, zero value otherwise. -func (o *ConanPackageUpload) GetStageUpdatedAt() string { - if o == nil || o.StageUpdatedAt == nil { - var ret string +func (o *AlpinePackageUploadResponse) GetStageUpdatedAt() time.Time { + if o == nil || isNil(o.StageUpdatedAt) { + var ret time.Time return ret } return *o.StageUpdatedAt @@ -1783,30 +1784,30 @@ func (o *ConanPackageUpload) GetStageUpdatedAt() string { // GetStageUpdatedAtOk returns a tuple with the StageUpdatedAt field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *ConanPackageUpload) GetStageUpdatedAtOk() (*string, bool) { - if o == nil || o.StageUpdatedAt == nil { +func (o *AlpinePackageUploadResponse) GetStageUpdatedAtOk() (*time.Time, bool) { + if o == nil || isNil(o.StageUpdatedAt) { return nil, false } return o.StageUpdatedAt, true } // HasStageUpdatedAt returns a boolean if a field has been set. -func (o *ConanPackageUpload) HasStageUpdatedAt() bool { - if o != nil && o.StageUpdatedAt != nil { +func (o *AlpinePackageUploadResponse) HasStageUpdatedAt() bool { + if o != nil && !isNil(o.StageUpdatedAt) { return true } return false } -// SetStageUpdatedAt gets a reference to the given string and assigns it to the StageUpdatedAt field. -func (o *ConanPackageUpload) SetStageUpdatedAt(v string) { +// SetStageUpdatedAt gets a reference to the given time.Time and assigns it to the StageUpdatedAt field. +func (o *AlpinePackageUploadResponse) SetStageUpdatedAt(v time.Time) { o.StageUpdatedAt = &v } // GetStatus returns the Status field value if set, zero value otherwise. -func (o *ConanPackageUpload) GetStatus() int64 { - if o == nil || o.Status == nil { +func (o *AlpinePackageUploadResponse) GetStatus() int64 { + if o == nil || isNil(o.Status) { var ret int64 return ret } @@ -1815,16 +1816,16 @@ func (o *ConanPackageUpload) GetStatus() int64 { // GetStatusOk returns a tuple with the Status field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *ConanPackageUpload) GetStatusOk() (*int64, bool) { - if o == nil || o.Status == nil { +func (o *AlpinePackageUploadResponse) GetStatusOk() (*int64, bool) { + if o == nil || isNil(o.Status) { return nil, false } return o.Status, true } // HasStatus returns a boolean if a field has been set. -func (o *ConanPackageUpload) HasStatus() bool { - if o != nil && o.Status != nil { +func (o *AlpinePackageUploadResponse) HasStatus() bool { + if o != nil && !isNil(o.Status) { return true } @@ -1832,13 +1833,13 @@ func (o *ConanPackageUpload) HasStatus() bool { } // SetStatus gets a reference to the given int64 and assigns it to the Status field. -func (o *ConanPackageUpload) SetStatus(v int64) { +func (o *AlpinePackageUploadResponse) SetStatus(v int64) { o.Status = &v } // GetStatusReason returns the StatusReason field value if set, zero value otherwise. -func (o *ConanPackageUpload) GetStatusReason() string { - if o == nil || o.StatusReason == nil { +func (o *AlpinePackageUploadResponse) GetStatusReason() string { + if o == nil || isNil(o.StatusReason) { var ret string return ret } @@ -1847,16 +1848,16 @@ func (o *ConanPackageUpload) GetStatusReason() string { // GetStatusReasonOk returns a tuple with the StatusReason field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *ConanPackageUpload) GetStatusReasonOk() (*string, bool) { - if o == nil || o.StatusReason == nil { +func (o *AlpinePackageUploadResponse) GetStatusReasonOk() (*string, bool) { + if o == nil || isNil(o.StatusReason) { return nil, false } return o.StatusReason, true } // HasStatusReason returns a boolean if a field has been set. -func (o *ConanPackageUpload) HasStatusReason() bool { - if o != nil && o.StatusReason != nil { +func (o *AlpinePackageUploadResponse) HasStatusReason() bool { + if o != nil && !isNil(o.StatusReason) { return true } @@ -1864,13 +1865,13 @@ func (o *ConanPackageUpload) HasStatusReason() bool { } // SetStatusReason gets a reference to the given string and assigns it to the StatusReason field. -func (o *ConanPackageUpload) SetStatusReason(v string) { +func (o *AlpinePackageUploadResponse) SetStatusReason(v string) { o.StatusReason = &v } // GetStatusStr returns the StatusStr field value if set, zero value otherwise. -func (o *ConanPackageUpload) GetStatusStr() string { - if o == nil || o.StatusStr == nil { +func (o *AlpinePackageUploadResponse) GetStatusStr() string { + if o == nil || isNil(o.StatusStr) { var ret string return ret } @@ -1879,16 +1880,16 @@ func (o *ConanPackageUpload) GetStatusStr() string { // GetStatusStrOk returns a tuple with the StatusStr field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *ConanPackageUpload) GetStatusStrOk() (*string, bool) { - if o == nil || o.StatusStr == nil { +func (o *AlpinePackageUploadResponse) GetStatusStrOk() (*string, bool) { + if o == nil || isNil(o.StatusStr) { return nil, false } return o.StatusStr, true } // HasStatusStr returns a boolean if a field has been set. -func (o *ConanPackageUpload) HasStatusStr() bool { - if o != nil && o.StatusStr != nil { +func (o *AlpinePackageUploadResponse) HasStatusStr() bool { + if o != nil && !isNil(o.StatusStr) { return true } @@ -1896,14 +1897,14 @@ func (o *ConanPackageUpload) HasStatusStr() bool { } // SetStatusStr gets a reference to the given string and assigns it to the StatusStr field. -func (o *ConanPackageUpload) SetStatusStr(v string) { +func (o *AlpinePackageUploadResponse) SetStatusStr(v string) { o.StatusStr = &v } // GetStatusUpdatedAt returns the StatusUpdatedAt field value if set, zero value otherwise. -func (o *ConanPackageUpload) GetStatusUpdatedAt() string { - if o == nil || o.StatusUpdatedAt == nil { - var ret string +func (o *AlpinePackageUploadResponse) GetStatusUpdatedAt() time.Time { + if o == nil || isNil(o.StatusUpdatedAt) { + var ret time.Time return ret } return *o.StatusUpdatedAt @@ -1911,30 +1912,30 @@ func (o *ConanPackageUpload) GetStatusUpdatedAt() string { // GetStatusUpdatedAtOk returns a tuple with the StatusUpdatedAt field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *ConanPackageUpload) GetStatusUpdatedAtOk() (*string, bool) { - if o == nil || o.StatusUpdatedAt == nil { +func (o *AlpinePackageUploadResponse) GetStatusUpdatedAtOk() (*time.Time, bool) { + if o == nil || isNil(o.StatusUpdatedAt) { return nil, false } return o.StatusUpdatedAt, true } // HasStatusUpdatedAt returns a boolean if a field has been set. -func (o *ConanPackageUpload) HasStatusUpdatedAt() bool { - if o != nil && o.StatusUpdatedAt != nil { +func (o *AlpinePackageUploadResponse) HasStatusUpdatedAt() bool { + if o != nil && !isNil(o.StatusUpdatedAt) { return true } return false } -// SetStatusUpdatedAt gets a reference to the given string and assigns it to the StatusUpdatedAt field. -func (o *ConanPackageUpload) SetStatusUpdatedAt(v string) { +// SetStatusUpdatedAt gets a reference to the given time.Time and assigns it to the StatusUpdatedAt field. +func (o *AlpinePackageUploadResponse) SetStatusUpdatedAt(v time.Time) { o.StatusUpdatedAt = &v } // GetStatusUrl returns the StatusUrl field value if set, zero value otherwise. -func (o *ConanPackageUpload) GetStatusUrl() string { - if o == nil || o.StatusUrl == nil { +func (o *AlpinePackageUploadResponse) GetStatusUrl() string { + if o == nil || isNil(o.StatusUrl) { var ret string return ret } @@ -1943,16 +1944,16 @@ func (o *ConanPackageUpload) GetStatusUrl() string { // GetStatusUrlOk returns a tuple with the StatusUrl field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *ConanPackageUpload) GetStatusUrlOk() (*string, bool) { - if o == nil || o.StatusUrl == nil { +func (o *AlpinePackageUploadResponse) GetStatusUrlOk() (*string, bool) { + if o == nil || isNil(o.StatusUrl) { return nil, false } return o.StatusUrl, true } // HasStatusUrl returns a boolean if a field has been set. -func (o *ConanPackageUpload) HasStatusUrl() bool { - if o != nil && o.StatusUrl != nil { +func (o *AlpinePackageUploadResponse) HasStatusUrl() bool { + if o != nil && !isNil(o.StatusUrl) { return true } @@ -1960,13 +1961,13 @@ func (o *ConanPackageUpload) HasStatusUrl() bool { } // SetStatusUrl gets a reference to the given string and assigns it to the StatusUrl field. -func (o *ConanPackageUpload) SetStatusUrl(v string) { +func (o *AlpinePackageUploadResponse) SetStatusUrl(v string) { o.StatusUrl = &v } // GetSubtype returns the Subtype field value if set, zero value otherwise. -func (o *ConanPackageUpload) GetSubtype() string { - if o == nil || o.Subtype == nil { +func (o *AlpinePackageUploadResponse) GetSubtype() string { + if o == nil || isNil(o.Subtype) { var ret string return ret } @@ -1975,16 +1976,16 @@ func (o *ConanPackageUpload) GetSubtype() string { // GetSubtypeOk returns a tuple with the Subtype field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *ConanPackageUpload) GetSubtypeOk() (*string, bool) { - if o == nil || o.Subtype == nil { +func (o *AlpinePackageUploadResponse) GetSubtypeOk() (*string, bool) { + if o == nil || isNil(o.Subtype) { return nil, false } return o.Subtype, true } // HasSubtype returns a boolean if a field has been set. -func (o *ConanPackageUpload) HasSubtype() bool { - if o != nil && o.Subtype != nil { +func (o *AlpinePackageUploadResponse) HasSubtype() bool { + if o != nil && !isNil(o.Subtype) { return true } @@ -1992,13 +1993,13 @@ func (o *ConanPackageUpload) HasSubtype() bool { } // SetSubtype gets a reference to the given string and assigns it to the Subtype field. -func (o *ConanPackageUpload) SetSubtype(v string) { +func (o *AlpinePackageUploadResponse) SetSubtype(v string) { o.Subtype = &v } // GetSummary returns the Summary field value if set, zero value otherwise. -func (o *ConanPackageUpload) GetSummary() string { - if o == nil || o.Summary == nil { +func (o *AlpinePackageUploadResponse) GetSummary() string { + if o == nil || isNil(o.Summary) { var ret string return ret } @@ -2007,16 +2008,16 @@ func (o *ConanPackageUpload) GetSummary() string { // GetSummaryOk returns a tuple with the Summary field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *ConanPackageUpload) GetSummaryOk() (*string, bool) { - if o == nil || o.Summary == nil { +func (o *AlpinePackageUploadResponse) GetSummaryOk() (*string, bool) { + if o == nil || isNil(o.Summary) { return nil, false } return o.Summary, true } // HasSummary returns a boolean if a field has been set. -func (o *ConanPackageUpload) HasSummary() bool { - if o != nil && o.Summary != nil { +func (o *AlpinePackageUploadResponse) HasSummary() bool { + if o != nil && !isNil(o.Summary) { return true } @@ -2024,14 +2025,14 @@ func (o *ConanPackageUpload) HasSummary() bool { } // SetSummary gets a reference to the given string and assigns it to the Summary field. -func (o *ConanPackageUpload) SetSummary(v string) { +func (o *AlpinePackageUploadResponse) SetSummary(v string) { o.Summary = &v } // GetSyncFinishedAt returns the SyncFinishedAt field value if set, zero value otherwise. -func (o *ConanPackageUpload) GetSyncFinishedAt() string { - if o == nil || o.SyncFinishedAt == nil { - var ret string +func (o *AlpinePackageUploadResponse) GetSyncFinishedAt() time.Time { + if o == nil || isNil(o.SyncFinishedAt) { + var ret time.Time return ret } return *o.SyncFinishedAt @@ -2039,30 +2040,30 @@ func (o *ConanPackageUpload) GetSyncFinishedAt() string { // GetSyncFinishedAtOk returns a tuple with the SyncFinishedAt field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *ConanPackageUpload) GetSyncFinishedAtOk() (*string, bool) { - if o == nil || o.SyncFinishedAt == nil { +func (o *AlpinePackageUploadResponse) GetSyncFinishedAtOk() (*time.Time, bool) { + if o == nil || isNil(o.SyncFinishedAt) { return nil, false } return o.SyncFinishedAt, true } // HasSyncFinishedAt returns a boolean if a field has been set. -func (o *ConanPackageUpload) HasSyncFinishedAt() bool { - if o != nil && o.SyncFinishedAt != nil { +func (o *AlpinePackageUploadResponse) HasSyncFinishedAt() bool { + if o != nil && !isNil(o.SyncFinishedAt) { return true } return false } -// SetSyncFinishedAt gets a reference to the given string and assigns it to the SyncFinishedAt field. -func (o *ConanPackageUpload) SetSyncFinishedAt(v string) { +// SetSyncFinishedAt gets a reference to the given time.Time and assigns it to the SyncFinishedAt field. +func (o *AlpinePackageUploadResponse) SetSyncFinishedAt(v time.Time) { o.SyncFinishedAt = &v } // GetSyncProgress returns the SyncProgress field value if set, zero value otherwise. -func (o *ConanPackageUpload) GetSyncProgress() int64 { - if o == nil || o.SyncProgress == nil { +func (o *AlpinePackageUploadResponse) GetSyncProgress() int64 { + if o == nil || isNil(o.SyncProgress) { var ret int64 return ret } @@ -2071,16 +2072,16 @@ func (o *ConanPackageUpload) GetSyncProgress() int64 { // GetSyncProgressOk returns a tuple with the SyncProgress field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *ConanPackageUpload) GetSyncProgressOk() (*int64, bool) { - if o == nil || o.SyncProgress == nil { +func (o *AlpinePackageUploadResponse) GetSyncProgressOk() (*int64, bool) { + if o == nil || isNil(o.SyncProgress) { return nil, false } return o.SyncProgress, true } // HasSyncProgress returns a boolean if a field has been set. -func (o *ConanPackageUpload) HasSyncProgress() bool { - if o != nil && o.SyncProgress != nil { +func (o *AlpinePackageUploadResponse) HasSyncProgress() bool { + if o != nil && !isNil(o.SyncProgress) { return true } @@ -2088,13 +2089,13 @@ func (o *ConanPackageUpload) HasSyncProgress() bool { } // SetSyncProgress gets a reference to the given int64 and assigns it to the SyncProgress field. -func (o *ConanPackageUpload) SetSyncProgress(v int64) { +func (o *AlpinePackageUploadResponse) SetSyncProgress(v int64) { o.SyncProgress = &v } // GetTagsImmutable returns the TagsImmutable field value if set, zero value otherwise. -func (o *ConanPackageUpload) GetTagsImmutable() map[string]interface{} { - if o == nil || o.TagsImmutable == nil { +func (o *AlpinePackageUploadResponse) GetTagsImmutable() map[string]interface{} { + if o == nil || isNil(o.TagsImmutable) { var ret map[string]interface{} return ret } @@ -2103,16 +2104,16 @@ func (o *ConanPackageUpload) GetTagsImmutable() map[string]interface{} { // GetTagsImmutableOk returns a tuple with the TagsImmutable field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *ConanPackageUpload) GetTagsImmutableOk() (map[string]interface{}, bool) { - if o == nil || o.TagsImmutable == nil { - return nil, false +func (o *AlpinePackageUploadResponse) GetTagsImmutableOk() (map[string]interface{}, bool) { + if o == nil || isNil(o.TagsImmutable) { + return map[string]interface{}{}, false } return o.TagsImmutable, true } // HasTagsImmutable returns a boolean if a field has been set. -func (o *ConanPackageUpload) HasTagsImmutable() bool { - if o != nil && o.TagsImmutable != nil { +func (o *AlpinePackageUploadResponse) HasTagsImmutable() bool { + if o != nil && !isNil(o.TagsImmutable) { return true } @@ -2120,13 +2121,13 @@ func (o *ConanPackageUpload) HasTagsImmutable() bool { } // SetTagsImmutable gets a reference to the given map[string]interface{} and assigns it to the TagsImmutable field. -func (o *ConanPackageUpload) SetTagsImmutable(v map[string]interface{}) { +func (o *AlpinePackageUploadResponse) SetTagsImmutable(v map[string]interface{}) { o.TagsImmutable = v } // GetTypeDisplay returns the TypeDisplay field value if set, zero value otherwise. -func (o *ConanPackageUpload) GetTypeDisplay() string { - if o == nil || o.TypeDisplay == nil { +func (o *AlpinePackageUploadResponse) GetTypeDisplay() string { + if o == nil || isNil(o.TypeDisplay) { var ret string return ret } @@ -2135,16 +2136,16 @@ func (o *ConanPackageUpload) GetTypeDisplay() string { // GetTypeDisplayOk returns a tuple with the TypeDisplay field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *ConanPackageUpload) GetTypeDisplayOk() (*string, bool) { - if o == nil || o.TypeDisplay == nil { +func (o *AlpinePackageUploadResponse) GetTypeDisplayOk() (*string, bool) { + if o == nil || isNil(o.TypeDisplay) { return nil, false } return o.TypeDisplay, true } // HasTypeDisplay returns a boolean if a field has been set. -func (o *ConanPackageUpload) HasTypeDisplay() bool { - if o != nil && o.TypeDisplay != nil { +func (o *AlpinePackageUploadResponse) HasTypeDisplay() bool { + if o != nil && !isNil(o.TypeDisplay) { return true } @@ -2152,14 +2153,14 @@ func (o *ConanPackageUpload) HasTypeDisplay() bool { } // SetTypeDisplay gets a reference to the given string and assigns it to the TypeDisplay field. -func (o *ConanPackageUpload) SetTypeDisplay(v string) { +func (o *AlpinePackageUploadResponse) SetTypeDisplay(v string) { o.TypeDisplay = &v } // GetUploadedAt returns the UploadedAt field value if set, zero value otherwise. -func (o *ConanPackageUpload) GetUploadedAt() string { - if o == nil || o.UploadedAt == nil { - var ret string +func (o *AlpinePackageUploadResponse) GetUploadedAt() time.Time { + if o == nil || isNil(o.UploadedAt) { + var ret time.Time return ret } return *o.UploadedAt @@ -2167,30 +2168,30 @@ func (o *ConanPackageUpload) GetUploadedAt() string { // GetUploadedAtOk returns a tuple with the UploadedAt field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *ConanPackageUpload) GetUploadedAtOk() (*string, bool) { - if o == nil || o.UploadedAt == nil { +func (o *AlpinePackageUploadResponse) GetUploadedAtOk() (*time.Time, bool) { + if o == nil || isNil(o.UploadedAt) { return nil, false } return o.UploadedAt, true } // HasUploadedAt returns a boolean if a field has been set. -func (o *ConanPackageUpload) HasUploadedAt() bool { - if o != nil && o.UploadedAt != nil { +func (o *AlpinePackageUploadResponse) HasUploadedAt() bool { + if o != nil && !isNil(o.UploadedAt) { return true } return false } -// SetUploadedAt gets a reference to the given string and assigns it to the UploadedAt field. -func (o *ConanPackageUpload) SetUploadedAt(v string) { +// SetUploadedAt gets a reference to the given time.Time and assigns it to the UploadedAt field. +func (o *AlpinePackageUploadResponse) SetUploadedAt(v time.Time) { o.UploadedAt = &v } // GetUploader returns the Uploader field value if set, zero value otherwise. -func (o *ConanPackageUpload) GetUploader() string { - if o == nil || o.Uploader == nil { +func (o *AlpinePackageUploadResponse) GetUploader() string { + if o == nil || isNil(o.Uploader) { var ret string return ret } @@ -2199,16 +2200,16 @@ func (o *ConanPackageUpload) GetUploader() string { // GetUploaderOk returns a tuple with the Uploader field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *ConanPackageUpload) GetUploaderOk() (*string, bool) { - if o == nil || o.Uploader == nil { +func (o *AlpinePackageUploadResponse) GetUploaderOk() (*string, bool) { + if o == nil || isNil(o.Uploader) { return nil, false } return o.Uploader, true } // HasUploader returns a boolean if a field has been set. -func (o *ConanPackageUpload) HasUploader() bool { - if o != nil && o.Uploader != nil { +func (o *AlpinePackageUploadResponse) HasUploader() bool { + if o != nil && !isNil(o.Uploader) { return true } @@ -2216,13 +2217,13 @@ func (o *ConanPackageUpload) HasUploader() bool { } // SetUploader gets a reference to the given string and assigns it to the Uploader field. -func (o *ConanPackageUpload) SetUploader(v string) { +func (o *AlpinePackageUploadResponse) SetUploader(v string) { o.Uploader = &v } // GetUploaderUrl returns the UploaderUrl field value if set, zero value otherwise. -func (o *ConanPackageUpload) GetUploaderUrl() string { - if o == nil || o.UploaderUrl == nil { +func (o *AlpinePackageUploadResponse) GetUploaderUrl() string { + if o == nil || isNil(o.UploaderUrl) { var ret string return ret } @@ -2231,16 +2232,16 @@ func (o *ConanPackageUpload) GetUploaderUrl() string { // GetUploaderUrlOk returns a tuple with the UploaderUrl field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *ConanPackageUpload) GetUploaderUrlOk() (*string, bool) { - if o == nil || o.UploaderUrl == nil { +func (o *AlpinePackageUploadResponse) GetUploaderUrlOk() (*string, bool) { + if o == nil || isNil(o.UploaderUrl) { return nil, false } return o.UploaderUrl, true } // HasUploaderUrl returns a boolean if a field has been set. -func (o *ConanPackageUpload) HasUploaderUrl() bool { - if o != nil && o.UploaderUrl != nil { +func (o *AlpinePackageUploadResponse) HasUploaderUrl() bool { + if o != nil && !isNil(o.UploaderUrl) { return true } @@ -2248,13 +2249,13 @@ func (o *ConanPackageUpload) HasUploaderUrl() bool { } // SetUploaderUrl gets a reference to the given string and assigns it to the UploaderUrl field. -func (o *ConanPackageUpload) SetUploaderUrl(v string) { +func (o *AlpinePackageUploadResponse) SetUploaderUrl(v string) { o.UploaderUrl = &v } // GetVersion returns the Version field value if set, zero value otherwise. -func (o *ConanPackageUpload) GetVersion() string { - if o == nil || o.Version == nil { +func (o *AlpinePackageUploadResponse) GetVersion() string { + if o == nil || isNil(o.Version) { var ret string return ret } @@ -2263,16 +2264,16 @@ func (o *ConanPackageUpload) GetVersion() string { // GetVersionOk returns a tuple with the Version field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *ConanPackageUpload) GetVersionOk() (*string, bool) { - if o == nil || o.Version == nil { +func (o *AlpinePackageUploadResponse) GetVersionOk() (*string, bool) { + if o == nil || isNil(o.Version) { return nil, false } return o.Version, true } // HasVersion returns a boolean if a field has been set. -func (o *ConanPackageUpload) HasVersion() bool { - if o != nil && o.Version != nil { +func (o *AlpinePackageUploadResponse) HasVersion() bool { + if o != nil && !isNil(o.Version) { return true } @@ -2280,13 +2281,13 @@ func (o *ConanPackageUpload) HasVersion() bool { } // SetVersion gets a reference to the given string and assigns it to the Version field. -func (o *ConanPackageUpload) SetVersion(v string) { +func (o *AlpinePackageUploadResponse) SetVersion(v string) { o.Version = &v } // GetVersionOrig returns the VersionOrig field value if set, zero value otherwise. -func (o *ConanPackageUpload) GetVersionOrig() string { - if o == nil || o.VersionOrig == nil { +func (o *AlpinePackageUploadResponse) GetVersionOrig() string { + if o == nil || isNil(o.VersionOrig) { var ret string return ret } @@ -2295,16 +2296,16 @@ func (o *ConanPackageUpload) GetVersionOrig() string { // GetVersionOrigOk returns a tuple with the VersionOrig field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *ConanPackageUpload) GetVersionOrigOk() (*string, bool) { - if o == nil || o.VersionOrig == nil { +func (o *AlpinePackageUploadResponse) GetVersionOrigOk() (*string, bool) { + if o == nil || isNil(o.VersionOrig) { return nil, false } return o.VersionOrig, true } // HasVersionOrig returns a boolean if a field has been set. -func (o *ConanPackageUpload) HasVersionOrig() bool { - if o != nil && o.VersionOrig != nil { +func (o *AlpinePackageUploadResponse) HasVersionOrig() bool { + if o != nil && !isNil(o.VersionOrig) { return true } @@ -2312,13 +2313,13 @@ func (o *ConanPackageUpload) HasVersionOrig() bool { } // SetVersionOrig gets a reference to the given string and assigns it to the VersionOrig field. -func (o *ConanPackageUpload) SetVersionOrig(v string) { +func (o *AlpinePackageUploadResponse) SetVersionOrig(v string) { o.VersionOrig = &v } // GetVulnerabilityScanResultsUrl returns the VulnerabilityScanResultsUrl field value if set, zero value otherwise. -func (o *ConanPackageUpload) GetVulnerabilityScanResultsUrl() string { - if o == nil || o.VulnerabilityScanResultsUrl == nil { +func (o *AlpinePackageUploadResponse) GetVulnerabilityScanResultsUrl() string { + if o == nil || isNil(o.VulnerabilityScanResultsUrl) { var ret string return ret } @@ -2327,16 +2328,16 @@ func (o *ConanPackageUpload) GetVulnerabilityScanResultsUrl() string { // GetVulnerabilityScanResultsUrlOk returns a tuple with the VulnerabilityScanResultsUrl field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *ConanPackageUpload) GetVulnerabilityScanResultsUrlOk() (*string, bool) { - if o == nil || o.VulnerabilityScanResultsUrl == nil { +func (o *AlpinePackageUploadResponse) GetVulnerabilityScanResultsUrlOk() (*string, bool) { + if o == nil || isNil(o.VulnerabilityScanResultsUrl) { return nil, false } return o.VulnerabilityScanResultsUrl, true } // HasVulnerabilityScanResultsUrl returns a boolean if a field has been set. -func (o *ConanPackageUpload) HasVulnerabilityScanResultsUrl() bool { - if o != nil && o.VulnerabilityScanResultsUrl != nil { +func (o *AlpinePackageUploadResponse) HasVulnerabilityScanResultsUrl() bool { + if o != nil && !isNil(o.VulnerabilityScanResultsUrl) { return true } @@ -2344,251 +2345,251 @@ func (o *ConanPackageUpload) HasVulnerabilityScanResultsUrl() bool { } // SetVulnerabilityScanResultsUrl gets a reference to the given string and assigns it to the VulnerabilityScanResultsUrl field. -func (o *ConanPackageUpload) SetVulnerabilityScanResultsUrl(v string) { +func (o *AlpinePackageUploadResponse) SetVulnerabilityScanResultsUrl(v string) { o.VulnerabilityScanResultsUrl = &v } -func (o ConanPackageUpload) MarshalJSON() ([]byte, error) { +func (o AlpinePackageUploadResponse) MarshalJSON() ([]byte, error) { toSerialize := map[string]interface{}{} - if o.Architectures != nil { + if !isNil(o.Architectures) { toSerialize["architectures"] = o.Architectures } - if o.CdnUrl != nil { - toSerialize["cdn_url"] = o.CdnUrl + if o.CdnUrl.IsSet() { + toSerialize["cdn_url"] = o.CdnUrl.Get() } - if o.ChecksumMd5 != nil { + if !isNil(o.ChecksumMd5) { toSerialize["checksum_md5"] = o.ChecksumMd5 } - if o.ChecksumSha1 != nil { + if !isNil(o.ChecksumSha1) { toSerialize["checksum_sha1"] = o.ChecksumSha1 } - if o.ChecksumSha256 != nil { + if !isNil(o.ChecksumSha256) { toSerialize["checksum_sha256"] = o.ChecksumSha256 } - if o.ChecksumSha512 != nil { + if !isNil(o.ChecksumSha512) { toSerialize["checksum_sha512"] = o.ChecksumSha512 } - if o.ConanChannel != nil { - toSerialize["conan_channel"] = o.ConanChannel - } - if o.ConanPrefix != nil { - toSerialize["conan_prefix"] = o.ConanPrefix - } - if o.DependenciesChecksumMd5 != nil { + if !isNil(o.DependenciesChecksumMd5) { toSerialize["dependencies_checksum_md5"] = o.DependenciesChecksumMd5 } - if o.DependenciesUrl != nil { + if !isNil(o.DependenciesUrl) { toSerialize["dependencies_url"] = o.DependenciesUrl } - if o.Description != nil { + if !isNil(o.Description) { toSerialize["description"] = o.Description } - if o.Distro != nil { - toSerialize["distro"] = o.Distro + if o.Distro.IsSet() { + toSerialize["distro"] = o.Distro.Get() } - if o.DistroVersion != nil { + if !isNil(o.DistroVersion) { toSerialize["distro_version"] = o.DistroVersion } - if o.Downloads != nil { + if !isNil(o.Downloads) { toSerialize["downloads"] = o.Downloads } - if o.Epoch != nil { + if !isNil(o.Epoch) { toSerialize["epoch"] = o.Epoch } - if o.Extension != nil { + if !isNil(o.Extension) { toSerialize["extension"] = o.Extension } - if o.Filename != nil { + if !isNil(o.Filename) { toSerialize["filename"] = o.Filename } - if o.Files != nil { + if !isNil(o.Files) { toSerialize["files"] = o.Files } - if o.Format != nil { + if !isNil(o.Format) { toSerialize["format"] = o.Format } - if o.FormatUrl != nil { + if !isNil(o.FormatUrl) { toSerialize["format_url"] = o.FormatUrl } - if o.IdentifierPerm != nil { + if !isNil(o.IdentifierPerm) { toSerialize["identifier_perm"] = o.IdentifierPerm } - if o.Indexed != nil { + if !isNil(o.Indexed) { toSerialize["indexed"] = o.Indexed } - if o.IsDownloadable != nil { + if !isNil(o.IsDownloadable) { toSerialize["is_downloadable"] = o.IsDownloadable } - if o.IsQuarantined != nil { + if !isNil(o.IsQuarantined) { toSerialize["is_quarantined"] = o.IsQuarantined } - if o.IsSyncAwaiting != nil { + if !isNil(o.IsSyncAwaiting) { toSerialize["is_sync_awaiting"] = o.IsSyncAwaiting } - if o.IsSyncCompleted != nil { + if !isNil(o.IsSyncCompleted) { toSerialize["is_sync_completed"] = o.IsSyncCompleted } - if o.IsSyncFailed != nil { + if !isNil(o.IsSyncFailed) { toSerialize["is_sync_failed"] = o.IsSyncFailed } - if o.IsSyncInFlight != nil { + if !isNil(o.IsSyncInFlight) { toSerialize["is_sync_in_flight"] = o.IsSyncInFlight } - if o.IsSyncInProgress != nil { + if !isNil(o.IsSyncInProgress) { toSerialize["is_sync_in_progress"] = o.IsSyncInProgress } - if o.License != nil { + if !isNil(o.License) { toSerialize["license"] = o.License } - if o.Name != nil { + if !isNil(o.Name) { toSerialize["name"] = o.Name } - if o.Namespace != nil { + if !isNil(o.Namespace) { toSerialize["namespace"] = o.Namespace } - if o.NamespaceUrl != nil { + if !isNil(o.NamespaceUrl) { toSerialize["namespace_url"] = o.NamespaceUrl } - if o.NumFiles != nil { + if !isNil(o.NumFiles) { toSerialize["num_files"] = o.NumFiles } - if o.PackageType != nil { + if !isNil(o.OriginRepository) { + toSerialize["origin_repository"] = o.OriginRepository + } + if !isNil(o.OriginRepositoryUrl) { + toSerialize["origin_repository_url"] = o.OriginRepositoryUrl + } + if !isNil(o.PackageType) { toSerialize["package_type"] = o.PackageType } - if o.Release != nil { + if !isNil(o.Release) { toSerialize["release"] = o.Release } - if o.Repository != nil { + if !isNil(o.Repository) { toSerialize["repository"] = o.Repository } - if o.RepositoryUrl != nil { + if !isNil(o.RepositoryUrl) { toSerialize["repository_url"] = o.RepositoryUrl } - if o.SecurityScanCompletedAt != nil { + if !isNil(o.SecurityScanCompletedAt) { toSerialize["security_scan_completed_at"] = o.SecurityScanCompletedAt } - if o.SecurityScanStartedAt != nil { + if !isNil(o.SecurityScanStartedAt) { toSerialize["security_scan_started_at"] = o.SecurityScanStartedAt } - if o.SecurityScanStatus != nil { - toSerialize["security_scan_status"] = o.SecurityScanStatus + if o.SecurityScanStatus.IsSet() { + toSerialize["security_scan_status"] = o.SecurityScanStatus.Get() } - if o.SecurityScanStatusUpdatedAt != nil { + if !isNil(o.SecurityScanStatusUpdatedAt) { toSerialize["security_scan_status_updated_at"] = o.SecurityScanStatusUpdatedAt } - if o.SelfHtmlUrl != nil { + if !isNil(o.SelfHtmlUrl) { toSerialize["self_html_url"] = o.SelfHtmlUrl } - if o.SelfUrl != nil { + if !isNil(o.SelfUrl) { toSerialize["self_url"] = o.SelfUrl } - if o.SignatureUrl != nil { - toSerialize["signature_url"] = o.SignatureUrl + if o.SignatureUrl.IsSet() { + toSerialize["signature_url"] = o.SignatureUrl.Get() } - if o.Size != nil { + if !isNil(o.Size) { toSerialize["size"] = o.Size } - if o.Slug != nil { + if !isNil(o.Slug) { toSerialize["slug"] = o.Slug } - if o.SlugPerm != nil { + if !isNil(o.SlugPerm) { toSerialize["slug_perm"] = o.SlugPerm } - if o.Stage != nil { + if !isNil(o.Stage) { toSerialize["stage"] = o.Stage } - if o.StageStr != nil { + if !isNil(o.StageStr) { toSerialize["stage_str"] = o.StageStr } - if o.StageUpdatedAt != nil { + if !isNil(o.StageUpdatedAt) { toSerialize["stage_updated_at"] = o.StageUpdatedAt } - if o.Status != nil { + if !isNil(o.Status) { toSerialize["status"] = o.Status } - if o.StatusReason != nil { + if !isNil(o.StatusReason) { toSerialize["status_reason"] = o.StatusReason } - if o.StatusStr != nil { + if !isNil(o.StatusStr) { toSerialize["status_str"] = o.StatusStr } - if o.StatusUpdatedAt != nil { + if !isNil(o.StatusUpdatedAt) { toSerialize["status_updated_at"] = o.StatusUpdatedAt } - if o.StatusUrl != nil { + if !isNil(o.StatusUrl) { toSerialize["status_url"] = o.StatusUrl } - if o.Subtype != nil { + if !isNil(o.Subtype) { toSerialize["subtype"] = o.Subtype } - if o.Summary != nil { + if !isNil(o.Summary) { toSerialize["summary"] = o.Summary } - if o.SyncFinishedAt != nil { + if !isNil(o.SyncFinishedAt) { toSerialize["sync_finished_at"] = o.SyncFinishedAt } - if o.SyncProgress != nil { + if !isNil(o.SyncProgress) { toSerialize["sync_progress"] = o.SyncProgress } - if o.TagsImmutable != nil { + if !isNil(o.TagsImmutable) { toSerialize["tags_immutable"] = o.TagsImmutable } - if o.TypeDisplay != nil { + if !isNil(o.TypeDisplay) { toSerialize["type_display"] = o.TypeDisplay } - if o.UploadedAt != nil { + if !isNil(o.UploadedAt) { toSerialize["uploaded_at"] = o.UploadedAt } - if o.Uploader != nil { + if !isNil(o.Uploader) { toSerialize["uploader"] = o.Uploader } - if o.UploaderUrl != nil { + if !isNil(o.UploaderUrl) { toSerialize["uploader_url"] = o.UploaderUrl } - if o.Version != nil { + if !isNil(o.Version) { toSerialize["version"] = o.Version } - if o.VersionOrig != nil { + if !isNil(o.VersionOrig) { toSerialize["version_orig"] = o.VersionOrig } - if o.VulnerabilityScanResultsUrl != nil { + if !isNil(o.VulnerabilityScanResultsUrl) { toSerialize["vulnerability_scan_results_url"] = o.VulnerabilityScanResultsUrl } return json.Marshal(toSerialize) } -type NullableConanPackageUpload struct { - value *ConanPackageUpload +type NullableAlpinePackageUploadResponse struct { + value *AlpinePackageUploadResponse isSet bool } -func (v NullableConanPackageUpload) Get() *ConanPackageUpload { +func (v NullableAlpinePackageUploadResponse) Get() *AlpinePackageUploadResponse { return v.value } -func (v *NullableConanPackageUpload) Set(val *ConanPackageUpload) { +func (v *NullableAlpinePackageUploadResponse) Set(val *AlpinePackageUploadResponse) { v.value = val v.isSet = true } -func (v NullableConanPackageUpload) IsSet() bool { +func (v NullableAlpinePackageUploadResponse) IsSet() bool { return v.isSet } -func (v *NullableConanPackageUpload) Unset() { +func (v *NullableAlpinePackageUploadResponse) Unset() { v.value = nil v.isSet = false } -func NewNullableConanPackageUpload(val *ConanPackageUpload) *NullableConanPackageUpload { - return &NullableConanPackageUpload{value: val, isSet: true} +func NewNullableAlpinePackageUploadResponse(val *AlpinePackageUploadResponse) *NullableAlpinePackageUploadResponse { + return &NullableAlpinePackageUploadResponse{value: val, isSet: true} } -func (v NullableConanPackageUpload) MarshalJSON() ([]byte, error) { +func (v NullableAlpinePackageUploadResponse) MarshalJSON() ([]byte, error) { return json.Marshal(v.value) } -func (v *NullableConanPackageUpload) UnmarshalJSON(src []byte) error { +func (v *NullableAlpinePackageUploadResponse) UnmarshalJSON(src []byte) error { v.isSet = true return json.Unmarshal(src, &v.value) } diff --git a/model_architecture.go b/model_architecture.go new file mode 100644 index 00000000..01dae67e --- /dev/null +++ b/model_architecture.go @@ -0,0 +1,154 @@ +/* +Cloudsmith API (v1) + +The API to the Cloudsmith Service + +API version: 1.181.6 +Contact: support@cloudsmith.io +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cloudsmith + +import ( + "encoding/json" +) + +// Architecture struct for Architecture +type Architecture struct { + Description NullableString `json:"description,omitempty"` + Name string `json:"name"` +} + +// NewArchitecture instantiates a new Architecture object +// 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 NewArchitecture(name string) *Architecture { + this := Architecture{} + this.Name = name + return &this +} + +// NewArchitectureWithDefaults instantiates a new Architecture object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewArchitectureWithDefaults() *Architecture { + this := Architecture{} + return &this +} + +// GetDescription returns the Description field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *Architecture) GetDescription() string { + if o == nil || isNil(o.Description.Get()) { + var ret string + return ret + } + return *o.Description.Get() +} + +// GetDescriptionOk returns a tuple with the Description field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *Architecture) GetDescriptionOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.Description.Get(), o.Description.IsSet() +} + +// HasDescription returns a boolean if a field has been set. +func (o *Architecture) HasDescription() bool { + if o != nil && o.Description.IsSet() { + return true + } + + return false +} + +// SetDescription gets a reference to the given NullableString and assigns it to the Description field. +func (o *Architecture) SetDescription(v string) { + o.Description.Set(&v) +} + +// SetDescriptionNil sets the value for Description to be an explicit nil +func (o *Architecture) SetDescriptionNil() { + o.Description.Set(nil) +} + +// UnsetDescription ensures that no value is present for Description, not even an explicit nil +func (o *Architecture) UnsetDescription() { + o.Description.Unset() +} + +// GetName returns the Name field value +func (o *Architecture) GetName() string { + if o == nil { + var ret string + return ret + } + + return o.Name +} + +// GetNameOk returns a tuple with the Name field value +// and a boolean to check if the value has been set. +func (o *Architecture) GetNameOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Name, true +} + +// SetName sets field value +func (o *Architecture) SetName(v string) { + o.Name = v +} + +func (o Architecture) MarshalJSON() ([]byte, error) { + toSerialize := map[string]interface{}{} + if o.Description.IsSet() { + toSerialize["description"] = o.Description.Get() + } + if true { + toSerialize["name"] = o.Name + } + return json.Marshal(toSerialize) +} + +type NullableArchitecture struct { + value *Architecture + isSet bool +} + +func (v NullableArchitecture) Get() *Architecture { + return v.value +} + +func (v *NullableArchitecture) Set(val *Architecture) { + v.value = val + v.isSet = true +} + +func (v NullableArchitecture) IsSet() bool { + return v.isSet +} + +func (v *NullableArchitecture) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableArchitecture(val *Architecture) *NullableArchitecture { + return &NullableArchitecture{value: val, isSet: true} +} + +func (v NullableArchitecture) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableArchitecture) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} diff --git a/model_cargo_package_upload.go b/model_cargo_package_upload.go deleted file mode 100644 index 0f37f1de..00000000 --- a/model_cargo_package_upload.go +++ /dev/null @@ -1,2520 +0,0 @@ -/* -Cloudsmith API - -The API to the Cloudsmith Service - -API version: 1.121.3 -Contact: support@cloudsmith.io -*/ - -// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. - -package cloudsmith - -import ( - "encoding/json" -) - -// CargoPackageUpload struct for CargoPackageUpload -type CargoPackageUpload struct { - // - Architectures []PackagesOwnerRepoArchitectures `json:"architectures,omitempty"` - // - CdnUrl *string `json:"cdn_url,omitempty"` - // - ChecksumMd5 *string `json:"checksum_md5,omitempty"` - // - ChecksumSha1 *string `json:"checksum_sha1,omitempty"` - // - ChecksumSha256 *string `json:"checksum_sha256,omitempty"` - // - ChecksumSha512 *string `json:"checksum_sha512,omitempty"` - // A checksum of all of the package's dependencies. - DependenciesChecksumMd5 *string `json:"dependencies_checksum_md5,omitempty"` - // - DependenciesUrl *string `json:"dependencies_url,omitempty"` - // A textual description of this package. - Description *string `json:"description,omitempty"` - // - Distro map[string]interface{} `json:"distro,omitempty"` - // - DistroVersion map[string]interface{} `json:"distro_version,omitempty"` - // - Downloads *int64 `json:"downloads,omitempty"` - // The epoch of the package version (if any). - Epoch *int64 `json:"epoch,omitempty"` - // - Extension *string `json:"extension,omitempty"` - // - Filename *string `json:"filename,omitempty"` - // - Files []PackagesOwnerRepoFiles `json:"files,omitempty"` - // - Format *string `json:"format,omitempty"` - // - FormatUrl *string `json:"format_url,omitempty"` - // Unique and permanent identifier for the package. - IdentifierPerm *string `json:"identifier_perm,omitempty"` - // - Indexed *bool `json:"indexed,omitempty"` - // - IsDownloadable *bool `json:"is_downloadable,omitempty"` - // - IsQuarantined *bool `json:"is_quarantined,omitempty"` - // - IsSyncAwaiting *bool `json:"is_sync_awaiting,omitempty"` - // - IsSyncCompleted *bool `json:"is_sync_completed,omitempty"` - // - IsSyncFailed *bool `json:"is_sync_failed,omitempty"` - // - IsSyncInFlight *bool `json:"is_sync_in_flight,omitempty"` - // - IsSyncInProgress *bool `json:"is_sync_in_progress,omitempty"` - // The license of this package. - License *string `json:"license,omitempty"` - // The name of this package. - Name *string `json:"name,omitempty"` - // - Namespace *string `json:"namespace,omitempty"` - // - NamespaceUrl *string `json:"namespace_url,omitempty"` - // - NumFiles *int64 `json:"num_files,omitempty"` - // The type of package contents. - PackageType *int64 `json:"package_type,omitempty"` - // The release of the package version (if any). - Release *string `json:"release,omitempty"` - // - Repository *string `json:"repository,omitempty"` - // - RepositoryUrl *string `json:"repository_url,omitempty"` - // The datetime the security scanning was completed. - SecurityScanCompletedAt *string `json:"security_scan_completed_at,omitempty"` - // The datetime the security scanning was started. - SecurityScanStartedAt *string `json:"security_scan_started_at,omitempty"` - // - SecurityScanStatus *string `json:"security_scan_status,omitempty"` - // The datetime the security scanning status was updated. - SecurityScanStatusUpdatedAt *string `json:"security_scan_status_updated_at,omitempty"` - // - SelfHtmlUrl *string `json:"self_html_url,omitempty"` - // - SelfUrl *string `json:"self_url,omitempty"` - // - SignatureUrl *string `json:"signature_url,omitempty"` - // The calculated size of the package. - Size *int64 `json:"size,omitempty"` - // The public unique identifier for the package. - Slug *string `json:"slug,omitempty"` - // - SlugPerm *string `json:"slug_perm,omitempty"` - // The synchronisation (in progress) stage of the package. - Stage *int64 `json:"stage,omitempty"` - // - StageStr *string `json:"stage_str,omitempty"` - // The datetime the package stage was updated at. - StageUpdatedAt *string `json:"stage_updated_at,omitempty"` - // The synchronisation status of the package. - Status *int64 `json:"status,omitempty"` - // A textual description for the synchronous status reason (if any - StatusReason *string `json:"status_reason,omitempty"` - // - StatusStr *string `json:"status_str,omitempty"` - // The datetime the package status was updated at. - StatusUpdatedAt *string `json:"status_updated_at,omitempty"` - // - StatusUrl *string `json:"status_url,omitempty"` - // - Subtype *string `json:"subtype,omitempty"` - // A one-liner synopsis of this package. - Summary *string `json:"summary,omitempty"` - // The datetime the package sync was finished at. - SyncFinishedAt *string `json:"sync_finished_at,omitempty"` - // Synchronisation progress (from 0-100) - SyncProgress *int64 `json:"sync_progress,omitempty"` - // All immutable tags on the package, grouped by tag type. Immutable tags cannot be (easily) deleted. - TagsImmutable map[string]interface{} `json:"tags_immutable,omitempty"` - // - TypeDisplay *string `json:"type_display,omitempty"` - // The date this package was uploaded. - UploadedAt *string `json:"uploaded_at,omitempty"` - // - Uploader *string `json:"uploader,omitempty"` - // - UploaderUrl *string `json:"uploader_url,omitempty"` - // The raw version for this package. - Version *string `json:"version,omitempty"` - // - VersionOrig *string `json:"version_orig,omitempty"` - // - VulnerabilityScanResultsUrl *string `json:"vulnerability_scan_results_url,omitempty"` -} - -// NewCargoPackageUpload instantiates a new CargoPackageUpload object -// 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 NewCargoPackageUpload() *CargoPackageUpload { - this := CargoPackageUpload{} - return &this -} - -// NewCargoPackageUploadWithDefaults instantiates a new CargoPackageUpload object -// This constructor will only assign default values to properties that have it defined, -// but it doesn't guarantee that properties required by API are set -func NewCargoPackageUploadWithDefaults() *CargoPackageUpload { - this := CargoPackageUpload{} - return &this -} - -// GetArchitectures returns the Architectures field value if set, zero value otherwise. -func (o *CargoPackageUpload) GetArchitectures() []PackagesOwnerRepoArchitectures { - if o == nil || o.Architectures == nil { - var ret []PackagesOwnerRepoArchitectures - return ret - } - return o.Architectures -} - -// GetArchitecturesOk returns a tuple with the Architectures field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *CargoPackageUpload) GetArchitecturesOk() ([]PackagesOwnerRepoArchitectures, bool) { - if o == nil || o.Architectures == nil { - return nil, false - } - return o.Architectures, true -} - -// HasArchitectures returns a boolean if a field has been set. -func (o *CargoPackageUpload) HasArchitectures() bool { - if o != nil && o.Architectures != nil { - return true - } - - return false -} - -// SetArchitectures gets a reference to the given []PackagesOwnerRepoArchitectures and assigns it to the Architectures field. -func (o *CargoPackageUpload) SetArchitectures(v []PackagesOwnerRepoArchitectures) { - o.Architectures = v -} - -// GetCdnUrl returns the CdnUrl field value if set, zero value otherwise. -func (o *CargoPackageUpload) GetCdnUrl() string { - if o == nil || o.CdnUrl == nil { - var ret string - return ret - } - return *o.CdnUrl -} - -// GetCdnUrlOk returns a tuple with the CdnUrl field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *CargoPackageUpload) GetCdnUrlOk() (*string, bool) { - if o == nil || o.CdnUrl == nil { - return nil, false - } - return o.CdnUrl, true -} - -// HasCdnUrl returns a boolean if a field has been set. -func (o *CargoPackageUpload) HasCdnUrl() bool { - if o != nil && o.CdnUrl != nil { - return true - } - - return false -} - -// SetCdnUrl gets a reference to the given string and assigns it to the CdnUrl field. -func (o *CargoPackageUpload) SetCdnUrl(v string) { - o.CdnUrl = &v -} - -// GetChecksumMd5 returns the ChecksumMd5 field value if set, zero value otherwise. -func (o *CargoPackageUpload) GetChecksumMd5() string { - if o == nil || o.ChecksumMd5 == nil { - var ret string - return ret - } - return *o.ChecksumMd5 -} - -// GetChecksumMd5Ok returns a tuple with the ChecksumMd5 field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *CargoPackageUpload) GetChecksumMd5Ok() (*string, bool) { - if o == nil || o.ChecksumMd5 == nil { - return nil, false - } - return o.ChecksumMd5, true -} - -// HasChecksumMd5 returns a boolean if a field has been set. -func (o *CargoPackageUpload) HasChecksumMd5() bool { - if o != nil && o.ChecksumMd5 != nil { - return true - } - - return false -} - -// SetChecksumMd5 gets a reference to the given string and assigns it to the ChecksumMd5 field. -func (o *CargoPackageUpload) SetChecksumMd5(v string) { - o.ChecksumMd5 = &v -} - -// GetChecksumSha1 returns the ChecksumSha1 field value if set, zero value otherwise. -func (o *CargoPackageUpload) GetChecksumSha1() string { - if o == nil || o.ChecksumSha1 == nil { - var ret string - return ret - } - return *o.ChecksumSha1 -} - -// GetChecksumSha1Ok returns a tuple with the ChecksumSha1 field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *CargoPackageUpload) GetChecksumSha1Ok() (*string, bool) { - if o == nil || o.ChecksumSha1 == nil { - return nil, false - } - return o.ChecksumSha1, true -} - -// HasChecksumSha1 returns a boolean if a field has been set. -func (o *CargoPackageUpload) HasChecksumSha1() bool { - if o != nil && o.ChecksumSha1 != nil { - return true - } - - return false -} - -// SetChecksumSha1 gets a reference to the given string and assigns it to the ChecksumSha1 field. -func (o *CargoPackageUpload) SetChecksumSha1(v string) { - o.ChecksumSha1 = &v -} - -// GetChecksumSha256 returns the ChecksumSha256 field value if set, zero value otherwise. -func (o *CargoPackageUpload) GetChecksumSha256() string { - if o == nil || o.ChecksumSha256 == nil { - var ret string - return ret - } - return *o.ChecksumSha256 -} - -// GetChecksumSha256Ok returns a tuple with the ChecksumSha256 field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *CargoPackageUpload) GetChecksumSha256Ok() (*string, bool) { - if o == nil || o.ChecksumSha256 == nil { - return nil, false - } - return o.ChecksumSha256, true -} - -// HasChecksumSha256 returns a boolean if a field has been set. -func (o *CargoPackageUpload) HasChecksumSha256() bool { - if o != nil && o.ChecksumSha256 != nil { - return true - } - - return false -} - -// SetChecksumSha256 gets a reference to the given string and assigns it to the ChecksumSha256 field. -func (o *CargoPackageUpload) SetChecksumSha256(v string) { - o.ChecksumSha256 = &v -} - -// GetChecksumSha512 returns the ChecksumSha512 field value if set, zero value otherwise. -func (o *CargoPackageUpload) GetChecksumSha512() string { - if o == nil || o.ChecksumSha512 == nil { - var ret string - return ret - } - return *o.ChecksumSha512 -} - -// GetChecksumSha512Ok returns a tuple with the ChecksumSha512 field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *CargoPackageUpload) GetChecksumSha512Ok() (*string, bool) { - if o == nil || o.ChecksumSha512 == nil { - return nil, false - } - return o.ChecksumSha512, true -} - -// HasChecksumSha512 returns a boolean if a field has been set. -func (o *CargoPackageUpload) HasChecksumSha512() bool { - if o != nil && o.ChecksumSha512 != nil { - return true - } - - return false -} - -// SetChecksumSha512 gets a reference to the given string and assigns it to the ChecksumSha512 field. -func (o *CargoPackageUpload) SetChecksumSha512(v string) { - o.ChecksumSha512 = &v -} - -// GetDependenciesChecksumMd5 returns the DependenciesChecksumMd5 field value if set, zero value otherwise. -func (o *CargoPackageUpload) GetDependenciesChecksumMd5() string { - if o == nil || o.DependenciesChecksumMd5 == nil { - var ret string - return ret - } - return *o.DependenciesChecksumMd5 -} - -// GetDependenciesChecksumMd5Ok returns a tuple with the DependenciesChecksumMd5 field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *CargoPackageUpload) GetDependenciesChecksumMd5Ok() (*string, bool) { - if o == nil || o.DependenciesChecksumMd5 == nil { - return nil, false - } - return o.DependenciesChecksumMd5, true -} - -// HasDependenciesChecksumMd5 returns a boolean if a field has been set. -func (o *CargoPackageUpload) HasDependenciesChecksumMd5() bool { - if o != nil && o.DependenciesChecksumMd5 != nil { - return true - } - - return false -} - -// SetDependenciesChecksumMd5 gets a reference to the given string and assigns it to the DependenciesChecksumMd5 field. -func (o *CargoPackageUpload) SetDependenciesChecksumMd5(v string) { - o.DependenciesChecksumMd5 = &v -} - -// GetDependenciesUrl returns the DependenciesUrl field value if set, zero value otherwise. -func (o *CargoPackageUpload) GetDependenciesUrl() string { - if o == nil || o.DependenciesUrl == nil { - var ret string - return ret - } - return *o.DependenciesUrl -} - -// GetDependenciesUrlOk returns a tuple with the DependenciesUrl field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *CargoPackageUpload) GetDependenciesUrlOk() (*string, bool) { - if o == nil || o.DependenciesUrl == nil { - return nil, false - } - return o.DependenciesUrl, true -} - -// HasDependenciesUrl returns a boolean if a field has been set. -func (o *CargoPackageUpload) HasDependenciesUrl() bool { - if o != nil && o.DependenciesUrl != nil { - return true - } - - return false -} - -// SetDependenciesUrl gets a reference to the given string and assigns it to the DependenciesUrl field. -func (o *CargoPackageUpload) SetDependenciesUrl(v string) { - o.DependenciesUrl = &v -} - -// GetDescription returns the Description field value if set, zero value otherwise. -func (o *CargoPackageUpload) GetDescription() string { - if o == nil || o.Description == nil { - var ret string - return ret - } - return *o.Description -} - -// GetDescriptionOk returns a tuple with the Description field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *CargoPackageUpload) GetDescriptionOk() (*string, bool) { - if o == nil || o.Description == nil { - return nil, false - } - return o.Description, true -} - -// HasDescription returns a boolean if a field has been set. -func (o *CargoPackageUpload) HasDescription() bool { - if o != nil && o.Description != nil { - return true - } - - return false -} - -// SetDescription gets a reference to the given string and assigns it to the Description field. -func (o *CargoPackageUpload) SetDescription(v string) { - o.Description = &v -} - -// GetDistro returns the Distro field value if set, zero value otherwise. -func (o *CargoPackageUpload) GetDistro() map[string]interface{} { - if o == nil || o.Distro == nil { - var ret map[string]interface{} - return ret - } - return o.Distro -} - -// GetDistroOk returns a tuple with the Distro field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *CargoPackageUpload) GetDistroOk() (map[string]interface{}, bool) { - if o == nil || o.Distro == nil { - return nil, false - } - return o.Distro, true -} - -// HasDistro returns a boolean if a field has been set. -func (o *CargoPackageUpload) HasDistro() bool { - if o != nil && o.Distro != nil { - return true - } - - return false -} - -// SetDistro gets a reference to the given map[string]interface{} and assigns it to the Distro field. -func (o *CargoPackageUpload) SetDistro(v map[string]interface{}) { - o.Distro = v -} - -// GetDistroVersion returns the DistroVersion field value if set, zero value otherwise. -func (o *CargoPackageUpload) GetDistroVersion() map[string]interface{} { - if o == nil || o.DistroVersion == nil { - var ret map[string]interface{} - return ret - } - return o.DistroVersion -} - -// GetDistroVersionOk returns a tuple with the DistroVersion field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *CargoPackageUpload) GetDistroVersionOk() (map[string]interface{}, bool) { - if o == nil || o.DistroVersion == nil { - return nil, false - } - return o.DistroVersion, true -} - -// HasDistroVersion returns a boolean if a field has been set. -func (o *CargoPackageUpload) HasDistroVersion() bool { - if o != nil && o.DistroVersion != nil { - return true - } - - return false -} - -// SetDistroVersion gets a reference to the given map[string]interface{} and assigns it to the DistroVersion field. -func (o *CargoPackageUpload) SetDistroVersion(v map[string]interface{}) { - o.DistroVersion = v -} - -// GetDownloads returns the Downloads field value if set, zero value otherwise. -func (o *CargoPackageUpload) GetDownloads() int64 { - if o == nil || o.Downloads == nil { - var ret int64 - return ret - } - return *o.Downloads -} - -// GetDownloadsOk returns a tuple with the Downloads field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *CargoPackageUpload) GetDownloadsOk() (*int64, bool) { - if o == nil || o.Downloads == nil { - return nil, false - } - return o.Downloads, true -} - -// HasDownloads returns a boolean if a field has been set. -func (o *CargoPackageUpload) HasDownloads() bool { - if o != nil && o.Downloads != nil { - return true - } - - return false -} - -// SetDownloads gets a reference to the given int64 and assigns it to the Downloads field. -func (o *CargoPackageUpload) SetDownloads(v int64) { - o.Downloads = &v -} - -// GetEpoch returns the Epoch field value if set, zero value otherwise. -func (o *CargoPackageUpload) GetEpoch() int64 { - if o == nil || o.Epoch == nil { - var ret int64 - return ret - } - return *o.Epoch -} - -// GetEpochOk returns a tuple with the Epoch field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *CargoPackageUpload) GetEpochOk() (*int64, bool) { - if o == nil || o.Epoch == nil { - return nil, false - } - return o.Epoch, true -} - -// HasEpoch returns a boolean if a field has been set. -func (o *CargoPackageUpload) HasEpoch() bool { - if o != nil && o.Epoch != nil { - return true - } - - return false -} - -// SetEpoch gets a reference to the given int64 and assigns it to the Epoch field. -func (o *CargoPackageUpload) SetEpoch(v int64) { - o.Epoch = &v -} - -// GetExtension returns the Extension field value if set, zero value otherwise. -func (o *CargoPackageUpload) GetExtension() string { - if o == nil || o.Extension == nil { - var ret string - return ret - } - return *o.Extension -} - -// GetExtensionOk returns a tuple with the Extension field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *CargoPackageUpload) GetExtensionOk() (*string, bool) { - if o == nil || o.Extension == nil { - return nil, false - } - return o.Extension, true -} - -// HasExtension returns a boolean if a field has been set. -func (o *CargoPackageUpload) HasExtension() bool { - if o != nil && o.Extension != nil { - return true - } - - return false -} - -// SetExtension gets a reference to the given string and assigns it to the Extension field. -func (o *CargoPackageUpload) SetExtension(v string) { - o.Extension = &v -} - -// GetFilename returns the Filename field value if set, zero value otherwise. -func (o *CargoPackageUpload) GetFilename() string { - if o == nil || o.Filename == nil { - var ret string - return ret - } - return *o.Filename -} - -// GetFilenameOk returns a tuple with the Filename field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *CargoPackageUpload) GetFilenameOk() (*string, bool) { - if o == nil || o.Filename == nil { - return nil, false - } - return o.Filename, true -} - -// HasFilename returns a boolean if a field has been set. -func (o *CargoPackageUpload) HasFilename() bool { - if o != nil && o.Filename != nil { - return true - } - - return false -} - -// SetFilename gets a reference to the given string and assigns it to the Filename field. -func (o *CargoPackageUpload) SetFilename(v string) { - o.Filename = &v -} - -// GetFiles returns the Files field value if set, zero value otherwise. -func (o *CargoPackageUpload) GetFiles() []PackagesOwnerRepoFiles { - if o == nil || o.Files == nil { - var ret []PackagesOwnerRepoFiles - return ret - } - return o.Files -} - -// GetFilesOk returns a tuple with the Files field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *CargoPackageUpload) GetFilesOk() ([]PackagesOwnerRepoFiles, bool) { - if o == nil || o.Files == nil { - return nil, false - } - return o.Files, true -} - -// HasFiles returns a boolean if a field has been set. -func (o *CargoPackageUpload) HasFiles() bool { - if o != nil && o.Files != nil { - return true - } - - return false -} - -// SetFiles gets a reference to the given []PackagesOwnerRepoFiles and assigns it to the Files field. -func (o *CargoPackageUpload) SetFiles(v []PackagesOwnerRepoFiles) { - o.Files = v -} - -// GetFormat returns the Format field value if set, zero value otherwise. -func (o *CargoPackageUpload) GetFormat() string { - if o == nil || o.Format == nil { - var ret string - return ret - } - return *o.Format -} - -// GetFormatOk returns a tuple with the Format field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *CargoPackageUpload) GetFormatOk() (*string, bool) { - if o == nil || o.Format == nil { - return nil, false - } - return o.Format, true -} - -// HasFormat returns a boolean if a field has been set. -func (o *CargoPackageUpload) HasFormat() bool { - if o != nil && o.Format != nil { - return true - } - - return false -} - -// SetFormat gets a reference to the given string and assigns it to the Format field. -func (o *CargoPackageUpload) SetFormat(v string) { - o.Format = &v -} - -// GetFormatUrl returns the FormatUrl field value if set, zero value otherwise. -func (o *CargoPackageUpload) GetFormatUrl() string { - if o == nil || o.FormatUrl == nil { - var ret string - return ret - } - return *o.FormatUrl -} - -// GetFormatUrlOk returns a tuple with the FormatUrl field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *CargoPackageUpload) GetFormatUrlOk() (*string, bool) { - if o == nil || o.FormatUrl == nil { - return nil, false - } - return o.FormatUrl, true -} - -// HasFormatUrl returns a boolean if a field has been set. -func (o *CargoPackageUpload) HasFormatUrl() bool { - if o != nil && o.FormatUrl != nil { - return true - } - - return false -} - -// SetFormatUrl gets a reference to the given string and assigns it to the FormatUrl field. -func (o *CargoPackageUpload) SetFormatUrl(v string) { - o.FormatUrl = &v -} - -// GetIdentifierPerm returns the IdentifierPerm field value if set, zero value otherwise. -func (o *CargoPackageUpload) GetIdentifierPerm() string { - if o == nil || o.IdentifierPerm == nil { - var ret string - return ret - } - return *o.IdentifierPerm -} - -// GetIdentifierPermOk returns a tuple with the IdentifierPerm field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *CargoPackageUpload) GetIdentifierPermOk() (*string, bool) { - if o == nil || o.IdentifierPerm == nil { - return nil, false - } - return o.IdentifierPerm, true -} - -// HasIdentifierPerm returns a boolean if a field has been set. -func (o *CargoPackageUpload) HasIdentifierPerm() bool { - if o != nil && o.IdentifierPerm != nil { - return true - } - - return false -} - -// SetIdentifierPerm gets a reference to the given string and assigns it to the IdentifierPerm field. -func (o *CargoPackageUpload) SetIdentifierPerm(v string) { - o.IdentifierPerm = &v -} - -// GetIndexed returns the Indexed field value if set, zero value otherwise. -func (o *CargoPackageUpload) GetIndexed() bool { - if o == nil || o.Indexed == nil { - var ret bool - return ret - } - return *o.Indexed -} - -// GetIndexedOk returns a tuple with the Indexed field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *CargoPackageUpload) GetIndexedOk() (*bool, bool) { - if o == nil || o.Indexed == nil { - return nil, false - } - return o.Indexed, true -} - -// HasIndexed returns a boolean if a field has been set. -func (o *CargoPackageUpload) HasIndexed() bool { - if o != nil && o.Indexed != nil { - return true - } - - return false -} - -// SetIndexed gets a reference to the given bool and assigns it to the Indexed field. -func (o *CargoPackageUpload) SetIndexed(v bool) { - o.Indexed = &v -} - -// GetIsDownloadable returns the IsDownloadable field value if set, zero value otherwise. -func (o *CargoPackageUpload) GetIsDownloadable() bool { - if o == nil || o.IsDownloadable == nil { - var ret bool - return ret - } - return *o.IsDownloadable -} - -// GetIsDownloadableOk returns a tuple with the IsDownloadable field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *CargoPackageUpload) GetIsDownloadableOk() (*bool, bool) { - if o == nil || o.IsDownloadable == nil { - return nil, false - } - return o.IsDownloadable, true -} - -// HasIsDownloadable returns a boolean if a field has been set. -func (o *CargoPackageUpload) HasIsDownloadable() bool { - if o != nil && o.IsDownloadable != nil { - return true - } - - return false -} - -// SetIsDownloadable gets a reference to the given bool and assigns it to the IsDownloadable field. -func (o *CargoPackageUpload) SetIsDownloadable(v bool) { - o.IsDownloadable = &v -} - -// GetIsQuarantined returns the IsQuarantined field value if set, zero value otherwise. -func (o *CargoPackageUpload) GetIsQuarantined() bool { - if o == nil || o.IsQuarantined == nil { - var ret bool - return ret - } - return *o.IsQuarantined -} - -// GetIsQuarantinedOk returns a tuple with the IsQuarantined field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *CargoPackageUpload) GetIsQuarantinedOk() (*bool, bool) { - if o == nil || o.IsQuarantined == nil { - return nil, false - } - return o.IsQuarantined, true -} - -// HasIsQuarantined returns a boolean if a field has been set. -func (o *CargoPackageUpload) HasIsQuarantined() bool { - if o != nil && o.IsQuarantined != nil { - return true - } - - return false -} - -// SetIsQuarantined gets a reference to the given bool and assigns it to the IsQuarantined field. -func (o *CargoPackageUpload) SetIsQuarantined(v bool) { - o.IsQuarantined = &v -} - -// GetIsSyncAwaiting returns the IsSyncAwaiting field value if set, zero value otherwise. -func (o *CargoPackageUpload) GetIsSyncAwaiting() bool { - if o == nil || o.IsSyncAwaiting == nil { - var ret bool - return ret - } - return *o.IsSyncAwaiting -} - -// GetIsSyncAwaitingOk returns a tuple with the IsSyncAwaiting field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *CargoPackageUpload) GetIsSyncAwaitingOk() (*bool, bool) { - if o == nil || o.IsSyncAwaiting == nil { - return nil, false - } - return o.IsSyncAwaiting, true -} - -// HasIsSyncAwaiting returns a boolean if a field has been set. -func (o *CargoPackageUpload) HasIsSyncAwaiting() bool { - if o != nil && o.IsSyncAwaiting != nil { - return true - } - - return false -} - -// SetIsSyncAwaiting gets a reference to the given bool and assigns it to the IsSyncAwaiting field. -func (o *CargoPackageUpload) SetIsSyncAwaiting(v bool) { - o.IsSyncAwaiting = &v -} - -// GetIsSyncCompleted returns the IsSyncCompleted field value if set, zero value otherwise. -func (o *CargoPackageUpload) GetIsSyncCompleted() bool { - if o == nil || o.IsSyncCompleted == nil { - var ret bool - return ret - } - return *o.IsSyncCompleted -} - -// GetIsSyncCompletedOk returns a tuple with the IsSyncCompleted field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *CargoPackageUpload) GetIsSyncCompletedOk() (*bool, bool) { - if o == nil || o.IsSyncCompleted == nil { - return nil, false - } - return o.IsSyncCompleted, true -} - -// HasIsSyncCompleted returns a boolean if a field has been set. -func (o *CargoPackageUpload) HasIsSyncCompleted() bool { - if o != nil && o.IsSyncCompleted != nil { - return true - } - - return false -} - -// SetIsSyncCompleted gets a reference to the given bool and assigns it to the IsSyncCompleted field. -func (o *CargoPackageUpload) SetIsSyncCompleted(v bool) { - o.IsSyncCompleted = &v -} - -// GetIsSyncFailed returns the IsSyncFailed field value if set, zero value otherwise. -func (o *CargoPackageUpload) GetIsSyncFailed() bool { - if o == nil || o.IsSyncFailed == nil { - var ret bool - return ret - } - return *o.IsSyncFailed -} - -// GetIsSyncFailedOk returns a tuple with the IsSyncFailed field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *CargoPackageUpload) GetIsSyncFailedOk() (*bool, bool) { - if o == nil || o.IsSyncFailed == nil { - return nil, false - } - return o.IsSyncFailed, true -} - -// HasIsSyncFailed returns a boolean if a field has been set. -func (o *CargoPackageUpload) HasIsSyncFailed() bool { - if o != nil && o.IsSyncFailed != nil { - return true - } - - return false -} - -// SetIsSyncFailed gets a reference to the given bool and assigns it to the IsSyncFailed field. -func (o *CargoPackageUpload) SetIsSyncFailed(v bool) { - o.IsSyncFailed = &v -} - -// GetIsSyncInFlight returns the IsSyncInFlight field value if set, zero value otherwise. -func (o *CargoPackageUpload) GetIsSyncInFlight() bool { - if o == nil || o.IsSyncInFlight == nil { - var ret bool - return ret - } - return *o.IsSyncInFlight -} - -// GetIsSyncInFlightOk returns a tuple with the IsSyncInFlight field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *CargoPackageUpload) GetIsSyncInFlightOk() (*bool, bool) { - if o == nil || o.IsSyncInFlight == nil { - return nil, false - } - return o.IsSyncInFlight, true -} - -// HasIsSyncInFlight returns a boolean if a field has been set. -func (o *CargoPackageUpload) HasIsSyncInFlight() bool { - if o != nil && o.IsSyncInFlight != nil { - return true - } - - return false -} - -// SetIsSyncInFlight gets a reference to the given bool and assigns it to the IsSyncInFlight field. -func (o *CargoPackageUpload) SetIsSyncInFlight(v bool) { - o.IsSyncInFlight = &v -} - -// GetIsSyncInProgress returns the IsSyncInProgress field value if set, zero value otherwise. -func (o *CargoPackageUpload) GetIsSyncInProgress() bool { - if o == nil || o.IsSyncInProgress == nil { - var ret bool - return ret - } - return *o.IsSyncInProgress -} - -// GetIsSyncInProgressOk returns a tuple with the IsSyncInProgress field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *CargoPackageUpload) GetIsSyncInProgressOk() (*bool, bool) { - if o == nil || o.IsSyncInProgress == nil { - return nil, false - } - return o.IsSyncInProgress, true -} - -// HasIsSyncInProgress returns a boolean if a field has been set. -func (o *CargoPackageUpload) HasIsSyncInProgress() bool { - if o != nil && o.IsSyncInProgress != nil { - return true - } - - return false -} - -// SetIsSyncInProgress gets a reference to the given bool and assigns it to the IsSyncInProgress field. -func (o *CargoPackageUpload) SetIsSyncInProgress(v bool) { - o.IsSyncInProgress = &v -} - -// GetLicense returns the License field value if set, zero value otherwise. -func (o *CargoPackageUpload) GetLicense() string { - if o == nil || o.License == nil { - var ret string - return ret - } - return *o.License -} - -// GetLicenseOk returns a tuple with the License field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *CargoPackageUpload) GetLicenseOk() (*string, bool) { - if o == nil || o.License == nil { - return nil, false - } - return o.License, true -} - -// HasLicense returns a boolean if a field has been set. -func (o *CargoPackageUpload) HasLicense() bool { - if o != nil && o.License != nil { - return true - } - - return false -} - -// SetLicense gets a reference to the given string and assigns it to the License field. -func (o *CargoPackageUpload) SetLicense(v string) { - o.License = &v -} - -// GetName returns the Name field value if set, zero value otherwise. -func (o *CargoPackageUpload) GetName() string { - if o == nil || o.Name == nil { - var ret string - return ret - } - return *o.Name -} - -// GetNameOk returns a tuple with the Name field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *CargoPackageUpload) GetNameOk() (*string, bool) { - if o == nil || o.Name == nil { - return nil, false - } - return o.Name, true -} - -// HasName returns a boolean if a field has been set. -func (o *CargoPackageUpload) HasName() bool { - if o != nil && o.Name != nil { - return true - } - - return false -} - -// SetName gets a reference to the given string and assigns it to the Name field. -func (o *CargoPackageUpload) SetName(v string) { - o.Name = &v -} - -// GetNamespace returns the Namespace field value if set, zero value otherwise. -func (o *CargoPackageUpload) GetNamespace() string { - if o == nil || o.Namespace == nil { - var ret string - return ret - } - return *o.Namespace -} - -// GetNamespaceOk returns a tuple with the Namespace field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *CargoPackageUpload) GetNamespaceOk() (*string, bool) { - if o == nil || o.Namespace == nil { - return nil, false - } - return o.Namespace, true -} - -// HasNamespace returns a boolean if a field has been set. -func (o *CargoPackageUpload) HasNamespace() bool { - if o != nil && o.Namespace != nil { - return true - } - - return false -} - -// SetNamespace gets a reference to the given string and assigns it to the Namespace field. -func (o *CargoPackageUpload) SetNamespace(v string) { - o.Namespace = &v -} - -// GetNamespaceUrl returns the NamespaceUrl field value if set, zero value otherwise. -func (o *CargoPackageUpload) GetNamespaceUrl() string { - if o == nil || o.NamespaceUrl == nil { - var ret string - return ret - } - return *o.NamespaceUrl -} - -// GetNamespaceUrlOk returns a tuple with the NamespaceUrl field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *CargoPackageUpload) GetNamespaceUrlOk() (*string, bool) { - if o == nil || o.NamespaceUrl == nil { - return nil, false - } - return o.NamespaceUrl, true -} - -// HasNamespaceUrl returns a boolean if a field has been set. -func (o *CargoPackageUpload) HasNamespaceUrl() bool { - if o != nil && o.NamespaceUrl != nil { - return true - } - - return false -} - -// SetNamespaceUrl gets a reference to the given string and assigns it to the NamespaceUrl field. -func (o *CargoPackageUpload) SetNamespaceUrl(v string) { - o.NamespaceUrl = &v -} - -// GetNumFiles returns the NumFiles field value if set, zero value otherwise. -func (o *CargoPackageUpload) GetNumFiles() int64 { - if o == nil || o.NumFiles == nil { - var ret int64 - return ret - } - return *o.NumFiles -} - -// GetNumFilesOk returns a tuple with the NumFiles field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *CargoPackageUpload) GetNumFilesOk() (*int64, bool) { - if o == nil || o.NumFiles == nil { - return nil, false - } - return o.NumFiles, true -} - -// HasNumFiles returns a boolean if a field has been set. -func (o *CargoPackageUpload) HasNumFiles() bool { - if o != nil && o.NumFiles != nil { - return true - } - - return false -} - -// SetNumFiles gets a reference to the given int64 and assigns it to the NumFiles field. -func (o *CargoPackageUpload) SetNumFiles(v int64) { - o.NumFiles = &v -} - -// GetPackageType returns the PackageType field value if set, zero value otherwise. -func (o *CargoPackageUpload) GetPackageType() int64 { - if o == nil || o.PackageType == nil { - var ret int64 - return ret - } - return *o.PackageType -} - -// GetPackageTypeOk returns a tuple with the PackageType field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *CargoPackageUpload) GetPackageTypeOk() (*int64, bool) { - if o == nil || o.PackageType == nil { - return nil, false - } - return o.PackageType, true -} - -// HasPackageType returns a boolean if a field has been set. -func (o *CargoPackageUpload) HasPackageType() bool { - if o != nil && o.PackageType != nil { - return true - } - - return false -} - -// SetPackageType gets a reference to the given int64 and assigns it to the PackageType field. -func (o *CargoPackageUpload) SetPackageType(v int64) { - o.PackageType = &v -} - -// GetRelease returns the Release field value if set, zero value otherwise. -func (o *CargoPackageUpload) GetRelease() string { - if o == nil || o.Release == nil { - var ret string - return ret - } - return *o.Release -} - -// GetReleaseOk returns a tuple with the Release field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *CargoPackageUpload) GetReleaseOk() (*string, bool) { - if o == nil || o.Release == nil { - return nil, false - } - return o.Release, true -} - -// HasRelease returns a boolean if a field has been set. -func (o *CargoPackageUpload) HasRelease() bool { - if o != nil && o.Release != nil { - return true - } - - return false -} - -// SetRelease gets a reference to the given string and assigns it to the Release field. -func (o *CargoPackageUpload) SetRelease(v string) { - o.Release = &v -} - -// GetRepository returns the Repository field value if set, zero value otherwise. -func (o *CargoPackageUpload) GetRepository() string { - if o == nil || o.Repository == nil { - var ret string - return ret - } - return *o.Repository -} - -// GetRepositoryOk returns a tuple with the Repository field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *CargoPackageUpload) GetRepositoryOk() (*string, bool) { - if o == nil || o.Repository == nil { - return nil, false - } - return o.Repository, true -} - -// HasRepository returns a boolean if a field has been set. -func (o *CargoPackageUpload) HasRepository() bool { - if o != nil && o.Repository != nil { - return true - } - - return false -} - -// SetRepository gets a reference to the given string and assigns it to the Repository field. -func (o *CargoPackageUpload) SetRepository(v string) { - o.Repository = &v -} - -// GetRepositoryUrl returns the RepositoryUrl field value if set, zero value otherwise. -func (o *CargoPackageUpload) GetRepositoryUrl() string { - if o == nil || o.RepositoryUrl == nil { - var ret string - return ret - } - return *o.RepositoryUrl -} - -// GetRepositoryUrlOk returns a tuple with the RepositoryUrl field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *CargoPackageUpload) GetRepositoryUrlOk() (*string, bool) { - if o == nil || o.RepositoryUrl == nil { - return nil, false - } - return o.RepositoryUrl, true -} - -// HasRepositoryUrl returns a boolean if a field has been set. -func (o *CargoPackageUpload) HasRepositoryUrl() bool { - if o != nil && o.RepositoryUrl != nil { - return true - } - - return false -} - -// SetRepositoryUrl gets a reference to the given string and assigns it to the RepositoryUrl field. -func (o *CargoPackageUpload) SetRepositoryUrl(v string) { - o.RepositoryUrl = &v -} - -// GetSecurityScanCompletedAt returns the SecurityScanCompletedAt field value if set, zero value otherwise. -func (o *CargoPackageUpload) GetSecurityScanCompletedAt() string { - if o == nil || o.SecurityScanCompletedAt == nil { - var ret string - return ret - } - return *o.SecurityScanCompletedAt -} - -// GetSecurityScanCompletedAtOk returns a tuple with the SecurityScanCompletedAt field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *CargoPackageUpload) GetSecurityScanCompletedAtOk() (*string, bool) { - if o == nil || o.SecurityScanCompletedAt == nil { - return nil, false - } - return o.SecurityScanCompletedAt, true -} - -// HasSecurityScanCompletedAt returns a boolean if a field has been set. -func (o *CargoPackageUpload) HasSecurityScanCompletedAt() bool { - if o != nil && o.SecurityScanCompletedAt != nil { - return true - } - - return false -} - -// SetSecurityScanCompletedAt gets a reference to the given string and assigns it to the SecurityScanCompletedAt field. -func (o *CargoPackageUpload) SetSecurityScanCompletedAt(v string) { - o.SecurityScanCompletedAt = &v -} - -// GetSecurityScanStartedAt returns the SecurityScanStartedAt field value if set, zero value otherwise. -func (o *CargoPackageUpload) GetSecurityScanStartedAt() string { - if o == nil || o.SecurityScanStartedAt == nil { - var ret string - return ret - } - return *o.SecurityScanStartedAt -} - -// GetSecurityScanStartedAtOk returns a tuple with the SecurityScanStartedAt field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *CargoPackageUpload) GetSecurityScanStartedAtOk() (*string, bool) { - if o == nil || o.SecurityScanStartedAt == nil { - return nil, false - } - return o.SecurityScanStartedAt, true -} - -// HasSecurityScanStartedAt returns a boolean if a field has been set. -func (o *CargoPackageUpload) HasSecurityScanStartedAt() bool { - if o != nil && o.SecurityScanStartedAt != nil { - return true - } - - return false -} - -// SetSecurityScanStartedAt gets a reference to the given string and assigns it to the SecurityScanStartedAt field. -func (o *CargoPackageUpload) SetSecurityScanStartedAt(v string) { - o.SecurityScanStartedAt = &v -} - -// GetSecurityScanStatus returns the SecurityScanStatus field value if set, zero value otherwise. -func (o *CargoPackageUpload) GetSecurityScanStatus() string { - if o == nil || o.SecurityScanStatus == nil { - var ret string - return ret - } - return *o.SecurityScanStatus -} - -// GetSecurityScanStatusOk returns a tuple with the SecurityScanStatus field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *CargoPackageUpload) GetSecurityScanStatusOk() (*string, bool) { - if o == nil || o.SecurityScanStatus == nil { - return nil, false - } - return o.SecurityScanStatus, true -} - -// HasSecurityScanStatus returns a boolean if a field has been set. -func (o *CargoPackageUpload) HasSecurityScanStatus() bool { - if o != nil && o.SecurityScanStatus != nil { - return true - } - - return false -} - -// SetSecurityScanStatus gets a reference to the given string and assigns it to the SecurityScanStatus field. -func (o *CargoPackageUpload) SetSecurityScanStatus(v string) { - o.SecurityScanStatus = &v -} - -// GetSecurityScanStatusUpdatedAt returns the SecurityScanStatusUpdatedAt field value if set, zero value otherwise. -func (o *CargoPackageUpload) GetSecurityScanStatusUpdatedAt() string { - if o == nil || o.SecurityScanStatusUpdatedAt == nil { - var ret string - return ret - } - return *o.SecurityScanStatusUpdatedAt -} - -// GetSecurityScanStatusUpdatedAtOk returns a tuple with the SecurityScanStatusUpdatedAt field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *CargoPackageUpload) GetSecurityScanStatusUpdatedAtOk() (*string, bool) { - if o == nil || o.SecurityScanStatusUpdatedAt == nil { - return nil, false - } - return o.SecurityScanStatusUpdatedAt, true -} - -// HasSecurityScanStatusUpdatedAt returns a boolean if a field has been set. -func (o *CargoPackageUpload) HasSecurityScanStatusUpdatedAt() bool { - if o != nil && o.SecurityScanStatusUpdatedAt != nil { - return true - } - - return false -} - -// SetSecurityScanStatusUpdatedAt gets a reference to the given string and assigns it to the SecurityScanStatusUpdatedAt field. -func (o *CargoPackageUpload) SetSecurityScanStatusUpdatedAt(v string) { - o.SecurityScanStatusUpdatedAt = &v -} - -// GetSelfHtmlUrl returns the SelfHtmlUrl field value if set, zero value otherwise. -func (o *CargoPackageUpload) GetSelfHtmlUrl() string { - if o == nil || o.SelfHtmlUrl == nil { - var ret string - return ret - } - return *o.SelfHtmlUrl -} - -// GetSelfHtmlUrlOk returns a tuple with the SelfHtmlUrl field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *CargoPackageUpload) GetSelfHtmlUrlOk() (*string, bool) { - if o == nil || o.SelfHtmlUrl == nil { - return nil, false - } - return o.SelfHtmlUrl, true -} - -// HasSelfHtmlUrl returns a boolean if a field has been set. -func (o *CargoPackageUpload) HasSelfHtmlUrl() bool { - if o != nil && o.SelfHtmlUrl != nil { - return true - } - - return false -} - -// SetSelfHtmlUrl gets a reference to the given string and assigns it to the SelfHtmlUrl field. -func (o *CargoPackageUpload) SetSelfHtmlUrl(v string) { - o.SelfHtmlUrl = &v -} - -// GetSelfUrl returns the SelfUrl field value if set, zero value otherwise. -func (o *CargoPackageUpload) GetSelfUrl() string { - if o == nil || o.SelfUrl == nil { - var ret string - return ret - } - return *o.SelfUrl -} - -// GetSelfUrlOk returns a tuple with the SelfUrl field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *CargoPackageUpload) GetSelfUrlOk() (*string, bool) { - if o == nil || o.SelfUrl == nil { - return nil, false - } - return o.SelfUrl, true -} - -// HasSelfUrl returns a boolean if a field has been set. -func (o *CargoPackageUpload) HasSelfUrl() bool { - if o != nil && o.SelfUrl != nil { - return true - } - - return false -} - -// SetSelfUrl gets a reference to the given string and assigns it to the SelfUrl field. -func (o *CargoPackageUpload) SetSelfUrl(v string) { - o.SelfUrl = &v -} - -// GetSignatureUrl returns the SignatureUrl field value if set, zero value otherwise. -func (o *CargoPackageUpload) GetSignatureUrl() string { - if o == nil || o.SignatureUrl == nil { - var ret string - return ret - } - return *o.SignatureUrl -} - -// GetSignatureUrlOk returns a tuple with the SignatureUrl field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *CargoPackageUpload) GetSignatureUrlOk() (*string, bool) { - if o == nil || o.SignatureUrl == nil { - return nil, false - } - return o.SignatureUrl, true -} - -// HasSignatureUrl returns a boolean if a field has been set. -func (o *CargoPackageUpload) HasSignatureUrl() bool { - if o != nil && o.SignatureUrl != nil { - return true - } - - return false -} - -// SetSignatureUrl gets a reference to the given string and assigns it to the SignatureUrl field. -func (o *CargoPackageUpload) SetSignatureUrl(v string) { - o.SignatureUrl = &v -} - -// GetSize returns the Size field value if set, zero value otherwise. -func (o *CargoPackageUpload) GetSize() int64 { - if o == nil || o.Size == nil { - var ret int64 - return ret - } - return *o.Size -} - -// GetSizeOk returns a tuple with the Size field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *CargoPackageUpload) GetSizeOk() (*int64, bool) { - if o == nil || o.Size == nil { - return nil, false - } - return o.Size, true -} - -// HasSize returns a boolean if a field has been set. -func (o *CargoPackageUpload) HasSize() bool { - if o != nil && o.Size != nil { - return true - } - - return false -} - -// SetSize gets a reference to the given int64 and assigns it to the Size field. -func (o *CargoPackageUpload) SetSize(v int64) { - o.Size = &v -} - -// GetSlug returns the Slug field value if set, zero value otherwise. -func (o *CargoPackageUpload) GetSlug() string { - if o == nil || o.Slug == nil { - var ret string - return ret - } - return *o.Slug -} - -// GetSlugOk returns a tuple with the Slug field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *CargoPackageUpload) GetSlugOk() (*string, bool) { - if o == nil || o.Slug == nil { - return nil, false - } - return o.Slug, true -} - -// HasSlug returns a boolean if a field has been set. -func (o *CargoPackageUpload) HasSlug() bool { - if o != nil && o.Slug != nil { - return true - } - - return false -} - -// SetSlug gets a reference to the given string and assigns it to the Slug field. -func (o *CargoPackageUpload) SetSlug(v string) { - o.Slug = &v -} - -// GetSlugPerm returns the SlugPerm field value if set, zero value otherwise. -func (o *CargoPackageUpload) GetSlugPerm() string { - if o == nil || o.SlugPerm == nil { - var ret string - return ret - } - return *o.SlugPerm -} - -// GetSlugPermOk returns a tuple with the SlugPerm field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *CargoPackageUpload) GetSlugPermOk() (*string, bool) { - if o == nil || o.SlugPerm == nil { - return nil, false - } - return o.SlugPerm, true -} - -// HasSlugPerm returns a boolean if a field has been set. -func (o *CargoPackageUpload) HasSlugPerm() bool { - if o != nil && o.SlugPerm != nil { - return true - } - - return false -} - -// SetSlugPerm gets a reference to the given string and assigns it to the SlugPerm field. -func (o *CargoPackageUpload) SetSlugPerm(v string) { - o.SlugPerm = &v -} - -// GetStage returns the Stage field value if set, zero value otherwise. -func (o *CargoPackageUpload) GetStage() int64 { - if o == nil || o.Stage == nil { - var ret int64 - return ret - } - return *o.Stage -} - -// GetStageOk returns a tuple with the Stage field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *CargoPackageUpload) GetStageOk() (*int64, bool) { - if o == nil || o.Stage == nil { - return nil, false - } - return o.Stage, true -} - -// HasStage returns a boolean if a field has been set. -func (o *CargoPackageUpload) HasStage() bool { - if o != nil && o.Stage != nil { - return true - } - - return false -} - -// SetStage gets a reference to the given int64 and assigns it to the Stage field. -func (o *CargoPackageUpload) SetStage(v int64) { - o.Stage = &v -} - -// GetStageStr returns the StageStr field value if set, zero value otherwise. -func (o *CargoPackageUpload) GetStageStr() string { - if o == nil || o.StageStr == nil { - var ret string - return ret - } - return *o.StageStr -} - -// GetStageStrOk returns a tuple with the StageStr field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *CargoPackageUpload) GetStageStrOk() (*string, bool) { - if o == nil || o.StageStr == nil { - return nil, false - } - return o.StageStr, true -} - -// HasStageStr returns a boolean if a field has been set. -func (o *CargoPackageUpload) HasStageStr() bool { - if o != nil && o.StageStr != nil { - return true - } - - return false -} - -// SetStageStr gets a reference to the given string and assigns it to the StageStr field. -func (o *CargoPackageUpload) SetStageStr(v string) { - o.StageStr = &v -} - -// GetStageUpdatedAt returns the StageUpdatedAt field value if set, zero value otherwise. -func (o *CargoPackageUpload) GetStageUpdatedAt() string { - if o == nil || o.StageUpdatedAt == nil { - var ret string - return ret - } - return *o.StageUpdatedAt -} - -// GetStageUpdatedAtOk returns a tuple with the StageUpdatedAt field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *CargoPackageUpload) GetStageUpdatedAtOk() (*string, bool) { - if o == nil || o.StageUpdatedAt == nil { - return nil, false - } - return o.StageUpdatedAt, true -} - -// HasStageUpdatedAt returns a boolean if a field has been set. -func (o *CargoPackageUpload) HasStageUpdatedAt() bool { - if o != nil && o.StageUpdatedAt != nil { - return true - } - - return false -} - -// SetStageUpdatedAt gets a reference to the given string and assigns it to the StageUpdatedAt field. -func (o *CargoPackageUpload) SetStageUpdatedAt(v string) { - o.StageUpdatedAt = &v -} - -// GetStatus returns the Status field value if set, zero value otherwise. -func (o *CargoPackageUpload) GetStatus() int64 { - if o == nil || o.Status == nil { - var ret int64 - return ret - } - return *o.Status -} - -// GetStatusOk returns a tuple with the Status field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *CargoPackageUpload) GetStatusOk() (*int64, bool) { - if o == nil || o.Status == nil { - return nil, false - } - return o.Status, true -} - -// HasStatus returns a boolean if a field has been set. -func (o *CargoPackageUpload) HasStatus() bool { - if o != nil && o.Status != nil { - return true - } - - return false -} - -// SetStatus gets a reference to the given int64 and assigns it to the Status field. -func (o *CargoPackageUpload) SetStatus(v int64) { - o.Status = &v -} - -// GetStatusReason returns the StatusReason field value if set, zero value otherwise. -func (o *CargoPackageUpload) GetStatusReason() string { - if o == nil || o.StatusReason == nil { - var ret string - return ret - } - return *o.StatusReason -} - -// GetStatusReasonOk returns a tuple with the StatusReason field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *CargoPackageUpload) GetStatusReasonOk() (*string, bool) { - if o == nil || o.StatusReason == nil { - return nil, false - } - return o.StatusReason, true -} - -// HasStatusReason returns a boolean if a field has been set. -func (o *CargoPackageUpload) HasStatusReason() bool { - if o != nil && o.StatusReason != nil { - return true - } - - return false -} - -// SetStatusReason gets a reference to the given string and assigns it to the StatusReason field. -func (o *CargoPackageUpload) SetStatusReason(v string) { - o.StatusReason = &v -} - -// GetStatusStr returns the StatusStr field value if set, zero value otherwise. -func (o *CargoPackageUpload) GetStatusStr() string { - if o == nil || o.StatusStr == nil { - var ret string - return ret - } - return *o.StatusStr -} - -// GetStatusStrOk returns a tuple with the StatusStr field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *CargoPackageUpload) GetStatusStrOk() (*string, bool) { - if o == nil || o.StatusStr == nil { - return nil, false - } - return o.StatusStr, true -} - -// HasStatusStr returns a boolean if a field has been set. -func (o *CargoPackageUpload) HasStatusStr() bool { - if o != nil && o.StatusStr != nil { - return true - } - - return false -} - -// SetStatusStr gets a reference to the given string and assigns it to the StatusStr field. -func (o *CargoPackageUpload) SetStatusStr(v string) { - o.StatusStr = &v -} - -// GetStatusUpdatedAt returns the StatusUpdatedAt field value if set, zero value otherwise. -func (o *CargoPackageUpload) GetStatusUpdatedAt() string { - if o == nil || o.StatusUpdatedAt == nil { - var ret string - return ret - } - return *o.StatusUpdatedAt -} - -// GetStatusUpdatedAtOk returns a tuple with the StatusUpdatedAt field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *CargoPackageUpload) GetStatusUpdatedAtOk() (*string, bool) { - if o == nil || o.StatusUpdatedAt == nil { - return nil, false - } - return o.StatusUpdatedAt, true -} - -// HasStatusUpdatedAt returns a boolean if a field has been set. -func (o *CargoPackageUpload) HasStatusUpdatedAt() bool { - if o != nil && o.StatusUpdatedAt != nil { - return true - } - - return false -} - -// SetStatusUpdatedAt gets a reference to the given string and assigns it to the StatusUpdatedAt field. -func (o *CargoPackageUpload) SetStatusUpdatedAt(v string) { - o.StatusUpdatedAt = &v -} - -// GetStatusUrl returns the StatusUrl field value if set, zero value otherwise. -func (o *CargoPackageUpload) GetStatusUrl() string { - if o == nil || o.StatusUrl == nil { - var ret string - return ret - } - return *o.StatusUrl -} - -// GetStatusUrlOk returns a tuple with the StatusUrl field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *CargoPackageUpload) GetStatusUrlOk() (*string, bool) { - if o == nil || o.StatusUrl == nil { - return nil, false - } - return o.StatusUrl, true -} - -// HasStatusUrl returns a boolean if a field has been set. -func (o *CargoPackageUpload) HasStatusUrl() bool { - if o != nil && o.StatusUrl != nil { - return true - } - - return false -} - -// SetStatusUrl gets a reference to the given string and assigns it to the StatusUrl field. -func (o *CargoPackageUpload) SetStatusUrl(v string) { - o.StatusUrl = &v -} - -// GetSubtype returns the Subtype field value if set, zero value otherwise. -func (o *CargoPackageUpload) GetSubtype() string { - if o == nil || o.Subtype == nil { - var ret string - return ret - } - return *o.Subtype -} - -// GetSubtypeOk returns a tuple with the Subtype field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *CargoPackageUpload) GetSubtypeOk() (*string, bool) { - if o == nil || o.Subtype == nil { - return nil, false - } - return o.Subtype, true -} - -// HasSubtype returns a boolean if a field has been set. -func (o *CargoPackageUpload) HasSubtype() bool { - if o != nil && o.Subtype != nil { - return true - } - - return false -} - -// SetSubtype gets a reference to the given string and assigns it to the Subtype field. -func (o *CargoPackageUpload) SetSubtype(v string) { - o.Subtype = &v -} - -// GetSummary returns the Summary field value if set, zero value otherwise. -func (o *CargoPackageUpload) GetSummary() string { - if o == nil || o.Summary == nil { - var ret string - return ret - } - return *o.Summary -} - -// GetSummaryOk returns a tuple with the Summary field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *CargoPackageUpload) GetSummaryOk() (*string, bool) { - if o == nil || o.Summary == nil { - return nil, false - } - return o.Summary, true -} - -// HasSummary returns a boolean if a field has been set. -func (o *CargoPackageUpload) HasSummary() bool { - if o != nil && o.Summary != nil { - return true - } - - return false -} - -// SetSummary gets a reference to the given string and assigns it to the Summary field. -func (o *CargoPackageUpload) SetSummary(v string) { - o.Summary = &v -} - -// GetSyncFinishedAt returns the SyncFinishedAt field value if set, zero value otherwise. -func (o *CargoPackageUpload) GetSyncFinishedAt() string { - if o == nil || o.SyncFinishedAt == nil { - var ret string - return ret - } - return *o.SyncFinishedAt -} - -// GetSyncFinishedAtOk returns a tuple with the SyncFinishedAt field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *CargoPackageUpload) GetSyncFinishedAtOk() (*string, bool) { - if o == nil || o.SyncFinishedAt == nil { - return nil, false - } - return o.SyncFinishedAt, true -} - -// HasSyncFinishedAt returns a boolean if a field has been set. -func (o *CargoPackageUpload) HasSyncFinishedAt() bool { - if o != nil && o.SyncFinishedAt != nil { - return true - } - - return false -} - -// SetSyncFinishedAt gets a reference to the given string and assigns it to the SyncFinishedAt field. -func (o *CargoPackageUpload) SetSyncFinishedAt(v string) { - o.SyncFinishedAt = &v -} - -// GetSyncProgress returns the SyncProgress field value if set, zero value otherwise. -func (o *CargoPackageUpload) GetSyncProgress() int64 { - if o == nil || o.SyncProgress == nil { - var ret int64 - return ret - } - return *o.SyncProgress -} - -// GetSyncProgressOk returns a tuple with the SyncProgress field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *CargoPackageUpload) GetSyncProgressOk() (*int64, bool) { - if o == nil || o.SyncProgress == nil { - return nil, false - } - return o.SyncProgress, true -} - -// HasSyncProgress returns a boolean if a field has been set. -func (o *CargoPackageUpload) HasSyncProgress() bool { - if o != nil && o.SyncProgress != nil { - return true - } - - return false -} - -// SetSyncProgress gets a reference to the given int64 and assigns it to the SyncProgress field. -func (o *CargoPackageUpload) SetSyncProgress(v int64) { - o.SyncProgress = &v -} - -// GetTagsImmutable returns the TagsImmutable field value if set, zero value otherwise. -func (o *CargoPackageUpload) GetTagsImmutable() map[string]interface{} { - if o == nil || o.TagsImmutable == nil { - var ret map[string]interface{} - return ret - } - return o.TagsImmutable -} - -// GetTagsImmutableOk returns a tuple with the TagsImmutable field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *CargoPackageUpload) GetTagsImmutableOk() (map[string]interface{}, bool) { - if o == nil || o.TagsImmutable == nil { - return nil, false - } - return o.TagsImmutable, true -} - -// HasTagsImmutable returns a boolean if a field has been set. -func (o *CargoPackageUpload) HasTagsImmutable() bool { - if o != nil && o.TagsImmutable != nil { - return true - } - - return false -} - -// SetTagsImmutable gets a reference to the given map[string]interface{} and assigns it to the TagsImmutable field. -func (o *CargoPackageUpload) SetTagsImmutable(v map[string]interface{}) { - o.TagsImmutable = v -} - -// GetTypeDisplay returns the TypeDisplay field value if set, zero value otherwise. -func (o *CargoPackageUpload) GetTypeDisplay() string { - if o == nil || o.TypeDisplay == nil { - var ret string - return ret - } - return *o.TypeDisplay -} - -// GetTypeDisplayOk returns a tuple with the TypeDisplay field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *CargoPackageUpload) GetTypeDisplayOk() (*string, bool) { - if o == nil || o.TypeDisplay == nil { - return nil, false - } - return o.TypeDisplay, true -} - -// HasTypeDisplay returns a boolean if a field has been set. -func (o *CargoPackageUpload) HasTypeDisplay() bool { - if o != nil && o.TypeDisplay != nil { - return true - } - - return false -} - -// SetTypeDisplay gets a reference to the given string and assigns it to the TypeDisplay field. -func (o *CargoPackageUpload) SetTypeDisplay(v string) { - o.TypeDisplay = &v -} - -// GetUploadedAt returns the UploadedAt field value if set, zero value otherwise. -func (o *CargoPackageUpload) GetUploadedAt() string { - if o == nil || o.UploadedAt == nil { - var ret string - return ret - } - return *o.UploadedAt -} - -// GetUploadedAtOk returns a tuple with the UploadedAt field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *CargoPackageUpload) GetUploadedAtOk() (*string, bool) { - if o == nil || o.UploadedAt == nil { - return nil, false - } - return o.UploadedAt, true -} - -// HasUploadedAt returns a boolean if a field has been set. -func (o *CargoPackageUpload) HasUploadedAt() bool { - if o != nil && o.UploadedAt != nil { - return true - } - - return false -} - -// SetUploadedAt gets a reference to the given string and assigns it to the UploadedAt field. -func (o *CargoPackageUpload) SetUploadedAt(v string) { - o.UploadedAt = &v -} - -// GetUploader returns the Uploader field value if set, zero value otherwise. -func (o *CargoPackageUpload) GetUploader() string { - if o == nil || o.Uploader == nil { - var ret string - return ret - } - return *o.Uploader -} - -// GetUploaderOk returns a tuple with the Uploader field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *CargoPackageUpload) GetUploaderOk() (*string, bool) { - if o == nil || o.Uploader == nil { - return nil, false - } - return o.Uploader, true -} - -// HasUploader returns a boolean if a field has been set. -func (o *CargoPackageUpload) HasUploader() bool { - if o != nil && o.Uploader != nil { - return true - } - - return false -} - -// SetUploader gets a reference to the given string and assigns it to the Uploader field. -func (o *CargoPackageUpload) SetUploader(v string) { - o.Uploader = &v -} - -// GetUploaderUrl returns the UploaderUrl field value if set, zero value otherwise. -func (o *CargoPackageUpload) GetUploaderUrl() string { - if o == nil || o.UploaderUrl == nil { - var ret string - return ret - } - return *o.UploaderUrl -} - -// GetUploaderUrlOk returns a tuple with the UploaderUrl field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *CargoPackageUpload) GetUploaderUrlOk() (*string, bool) { - if o == nil || o.UploaderUrl == nil { - return nil, false - } - return o.UploaderUrl, true -} - -// HasUploaderUrl returns a boolean if a field has been set. -func (o *CargoPackageUpload) HasUploaderUrl() bool { - if o != nil && o.UploaderUrl != nil { - return true - } - - return false -} - -// SetUploaderUrl gets a reference to the given string and assigns it to the UploaderUrl field. -func (o *CargoPackageUpload) SetUploaderUrl(v string) { - o.UploaderUrl = &v -} - -// GetVersion returns the Version field value if set, zero value otherwise. -func (o *CargoPackageUpload) GetVersion() string { - if o == nil || o.Version == nil { - var ret string - return ret - } - return *o.Version -} - -// GetVersionOk returns a tuple with the Version field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *CargoPackageUpload) GetVersionOk() (*string, bool) { - if o == nil || o.Version == nil { - return nil, false - } - return o.Version, true -} - -// HasVersion returns a boolean if a field has been set. -func (o *CargoPackageUpload) HasVersion() bool { - if o != nil && o.Version != nil { - return true - } - - return false -} - -// SetVersion gets a reference to the given string and assigns it to the Version field. -func (o *CargoPackageUpload) SetVersion(v string) { - o.Version = &v -} - -// GetVersionOrig returns the VersionOrig field value if set, zero value otherwise. -func (o *CargoPackageUpload) GetVersionOrig() string { - if o == nil || o.VersionOrig == nil { - var ret string - return ret - } - return *o.VersionOrig -} - -// GetVersionOrigOk returns a tuple with the VersionOrig field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *CargoPackageUpload) GetVersionOrigOk() (*string, bool) { - if o == nil || o.VersionOrig == nil { - return nil, false - } - return o.VersionOrig, true -} - -// HasVersionOrig returns a boolean if a field has been set. -func (o *CargoPackageUpload) HasVersionOrig() bool { - if o != nil && o.VersionOrig != nil { - return true - } - - return false -} - -// SetVersionOrig gets a reference to the given string and assigns it to the VersionOrig field. -func (o *CargoPackageUpload) SetVersionOrig(v string) { - o.VersionOrig = &v -} - -// GetVulnerabilityScanResultsUrl returns the VulnerabilityScanResultsUrl field value if set, zero value otherwise. -func (o *CargoPackageUpload) GetVulnerabilityScanResultsUrl() string { - if o == nil || o.VulnerabilityScanResultsUrl == nil { - var ret string - return ret - } - return *o.VulnerabilityScanResultsUrl -} - -// GetVulnerabilityScanResultsUrlOk returns a tuple with the VulnerabilityScanResultsUrl field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *CargoPackageUpload) GetVulnerabilityScanResultsUrlOk() (*string, bool) { - if o == nil || o.VulnerabilityScanResultsUrl == nil { - return nil, false - } - return o.VulnerabilityScanResultsUrl, true -} - -// HasVulnerabilityScanResultsUrl returns a boolean if a field has been set. -func (o *CargoPackageUpload) HasVulnerabilityScanResultsUrl() bool { - if o != nil && o.VulnerabilityScanResultsUrl != nil { - return true - } - - return false -} - -// SetVulnerabilityScanResultsUrl gets a reference to the given string and assigns it to the VulnerabilityScanResultsUrl field. -func (o *CargoPackageUpload) SetVulnerabilityScanResultsUrl(v string) { - o.VulnerabilityScanResultsUrl = &v -} - -func (o CargoPackageUpload) MarshalJSON() ([]byte, error) { - toSerialize := map[string]interface{}{} - if o.Architectures != nil { - toSerialize["architectures"] = o.Architectures - } - if o.CdnUrl != nil { - toSerialize["cdn_url"] = o.CdnUrl - } - if o.ChecksumMd5 != nil { - toSerialize["checksum_md5"] = o.ChecksumMd5 - } - if o.ChecksumSha1 != nil { - toSerialize["checksum_sha1"] = o.ChecksumSha1 - } - if o.ChecksumSha256 != nil { - toSerialize["checksum_sha256"] = o.ChecksumSha256 - } - if o.ChecksumSha512 != nil { - toSerialize["checksum_sha512"] = o.ChecksumSha512 - } - if o.DependenciesChecksumMd5 != nil { - toSerialize["dependencies_checksum_md5"] = o.DependenciesChecksumMd5 - } - if o.DependenciesUrl != nil { - toSerialize["dependencies_url"] = o.DependenciesUrl - } - if o.Description != nil { - toSerialize["description"] = o.Description - } - if o.Distro != nil { - toSerialize["distro"] = o.Distro - } - if o.DistroVersion != nil { - toSerialize["distro_version"] = o.DistroVersion - } - if o.Downloads != nil { - toSerialize["downloads"] = o.Downloads - } - if o.Epoch != nil { - toSerialize["epoch"] = o.Epoch - } - if o.Extension != nil { - toSerialize["extension"] = o.Extension - } - if o.Filename != nil { - toSerialize["filename"] = o.Filename - } - if o.Files != nil { - toSerialize["files"] = o.Files - } - if o.Format != nil { - toSerialize["format"] = o.Format - } - if o.FormatUrl != nil { - toSerialize["format_url"] = o.FormatUrl - } - if o.IdentifierPerm != nil { - toSerialize["identifier_perm"] = o.IdentifierPerm - } - if o.Indexed != nil { - toSerialize["indexed"] = o.Indexed - } - if o.IsDownloadable != nil { - toSerialize["is_downloadable"] = o.IsDownloadable - } - if o.IsQuarantined != nil { - toSerialize["is_quarantined"] = o.IsQuarantined - } - if o.IsSyncAwaiting != nil { - toSerialize["is_sync_awaiting"] = o.IsSyncAwaiting - } - if o.IsSyncCompleted != nil { - toSerialize["is_sync_completed"] = o.IsSyncCompleted - } - if o.IsSyncFailed != nil { - toSerialize["is_sync_failed"] = o.IsSyncFailed - } - if o.IsSyncInFlight != nil { - toSerialize["is_sync_in_flight"] = o.IsSyncInFlight - } - if o.IsSyncInProgress != nil { - toSerialize["is_sync_in_progress"] = o.IsSyncInProgress - } - if o.License != nil { - toSerialize["license"] = o.License - } - if o.Name != nil { - toSerialize["name"] = o.Name - } - if o.Namespace != nil { - toSerialize["namespace"] = o.Namespace - } - if o.NamespaceUrl != nil { - toSerialize["namespace_url"] = o.NamespaceUrl - } - if o.NumFiles != nil { - toSerialize["num_files"] = o.NumFiles - } - if o.PackageType != nil { - toSerialize["package_type"] = o.PackageType - } - if o.Release != nil { - toSerialize["release"] = o.Release - } - if o.Repository != nil { - toSerialize["repository"] = o.Repository - } - if o.RepositoryUrl != nil { - toSerialize["repository_url"] = o.RepositoryUrl - } - if o.SecurityScanCompletedAt != nil { - toSerialize["security_scan_completed_at"] = o.SecurityScanCompletedAt - } - if o.SecurityScanStartedAt != nil { - toSerialize["security_scan_started_at"] = o.SecurityScanStartedAt - } - if o.SecurityScanStatus != nil { - toSerialize["security_scan_status"] = o.SecurityScanStatus - } - if o.SecurityScanStatusUpdatedAt != nil { - toSerialize["security_scan_status_updated_at"] = o.SecurityScanStatusUpdatedAt - } - if o.SelfHtmlUrl != nil { - toSerialize["self_html_url"] = o.SelfHtmlUrl - } - if o.SelfUrl != nil { - toSerialize["self_url"] = o.SelfUrl - } - if o.SignatureUrl != nil { - toSerialize["signature_url"] = o.SignatureUrl - } - if o.Size != nil { - toSerialize["size"] = o.Size - } - if o.Slug != nil { - toSerialize["slug"] = o.Slug - } - if o.SlugPerm != nil { - toSerialize["slug_perm"] = o.SlugPerm - } - if o.Stage != nil { - toSerialize["stage"] = o.Stage - } - if o.StageStr != nil { - toSerialize["stage_str"] = o.StageStr - } - if o.StageUpdatedAt != nil { - toSerialize["stage_updated_at"] = o.StageUpdatedAt - } - if o.Status != nil { - toSerialize["status"] = o.Status - } - if o.StatusReason != nil { - toSerialize["status_reason"] = o.StatusReason - } - if o.StatusStr != nil { - toSerialize["status_str"] = o.StatusStr - } - if o.StatusUpdatedAt != nil { - toSerialize["status_updated_at"] = o.StatusUpdatedAt - } - if o.StatusUrl != nil { - toSerialize["status_url"] = o.StatusUrl - } - if o.Subtype != nil { - toSerialize["subtype"] = o.Subtype - } - if o.Summary != nil { - toSerialize["summary"] = o.Summary - } - if o.SyncFinishedAt != nil { - toSerialize["sync_finished_at"] = o.SyncFinishedAt - } - if o.SyncProgress != nil { - toSerialize["sync_progress"] = o.SyncProgress - } - if o.TagsImmutable != nil { - toSerialize["tags_immutable"] = o.TagsImmutable - } - if o.TypeDisplay != nil { - toSerialize["type_display"] = o.TypeDisplay - } - if o.UploadedAt != nil { - toSerialize["uploaded_at"] = o.UploadedAt - } - if o.Uploader != nil { - toSerialize["uploader"] = o.Uploader - } - if o.UploaderUrl != nil { - toSerialize["uploader_url"] = o.UploaderUrl - } - if o.Version != nil { - toSerialize["version"] = o.Version - } - if o.VersionOrig != nil { - toSerialize["version_orig"] = o.VersionOrig - } - if o.VulnerabilityScanResultsUrl != nil { - toSerialize["vulnerability_scan_results_url"] = o.VulnerabilityScanResultsUrl - } - return json.Marshal(toSerialize) -} - -type NullableCargoPackageUpload struct { - value *CargoPackageUpload - isSet bool -} - -func (v NullableCargoPackageUpload) Get() *CargoPackageUpload { - return v.value -} - -func (v *NullableCargoPackageUpload) Set(val *CargoPackageUpload) { - v.value = val - v.isSet = true -} - -func (v NullableCargoPackageUpload) IsSet() bool { - return v.isSet -} - -func (v *NullableCargoPackageUpload) Unset() { - v.value = nil - v.isSet = false -} - -func NewNullableCargoPackageUpload(val *CargoPackageUpload) *NullableCargoPackageUpload { - return &NullableCargoPackageUpload{value: val, isSet: true} -} - -func (v NullableCargoPackageUpload) MarshalJSON() ([]byte, error) { - return json.Marshal(v.value) -} - -func (v *NullableCargoPackageUpload) UnmarshalJSON(src []byte) error { - v.isSet = true - return json.Unmarshal(src, &v.value) -} diff --git a/model_cargo_package_upload_request.go b/model_cargo_package_upload_request.go new file mode 100644 index 00000000..cdda8d47 --- /dev/null +++ b/model_cargo_package_upload_request.go @@ -0,0 +1,193 @@ +/* +Cloudsmith API (v1) + +The API to the Cloudsmith Service + +API version: 1.181.6 +Contact: support@cloudsmith.io +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cloudsmith + +import ( + "encoding/json" +) + +// CargoPackageUploadRequest struct for CargoPackageUploadRequest +type CargoPackageUploadRequest struct { + // The primary file for the package. + PackageFile string `json:"package_file"` + // If true, the uploaded package will overwrite any others with the same attributes (e.g. same version); otherwise, it will be flagged as a duplicate. + Republish *bool `json:"republish,omitempty"` + // A comma-separated values list of tags to add to the package. + Tags NullableString `json:"tags,omitempty"` +} + +// NewCargoPackageUploadRequest instantiates a new CargoPackageUploadRequest object +// 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 NewCargoPackageUploadRequest(packageFile string) *CargoPackageUploadRequest { + this := CargoPackageUploadRequest{} + this.PackageFile = packageFile + return &this +} + +// NewCargoPackageUploadRequestWithDefaults instantiates a new CargoPackageUploadRequest object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewCargoPackageUploadRequestWithDefaults() *CargoPackageUploadRequest { + this := CargoPackageUploadRequest{} + return &this +} + +// GetPackageFile returns the PackageFile field value +func (o *CargoPackageUploadRequest) GetPackageFile() string { + if o == nil { + var ret string + return ret + } + + return o.PackageFile +} + +// GetPackageFileOk returns a tuple with the PackageFile field value +// and a boolean to check if the value has been set. +func (o *CargoPackageUploadRequest) GetPackageFileOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.PackageFile, true +} + +// SetPackageFile sets field value +func (o *CargoPackageUploadRequest) SetPackageFile(v string) { + o.PackageFile = v +} + +// GetRepublish returns the Republish field value if set, zero value otherwise. +func (o *CargoPackageUploadRequest) GetRepublish() bool { + if o == nil || isNil(o.Republish) { + var ret bool + return ret + } + return *o.Republish +} + +// GetRepublishOk returns a tuple with the Republish field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *CargoPackageUploadRequest) GetRepublishOk() (*bool, bool) { + if o == nil || isNil(o.Republish) { + return nil, false + } + return o.Republish, true +} + +// HasRepublish returns a boolean if a field has been set. +func (o *CargoPackageUploadRequest) HasRepublish() bool { + if o != nil && !isNil(o.Republish) { + return true + } + + return false +} + +// SetRepublish gets a reference to the given bool and assigns it to the Republish field. +func (o *CargoPackageUploadRequest) SetRepublish(v bool) { + o.Republish = &v +} + +// GetTags returns the Tags field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *CargoPackageUploadRequest) GetTags() string { + if o == nil || isNil(o.Tags.Get()) { + var ret string + return ret + } + return *o.Tags.Get() +} + +// GetTagsOk returns a tuple with the Tags 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 *CargoPackageUploadRequest) GetTagsOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.Tags.Get(), o.Tags.IsSet() +} + +// HasTags returns a boolean if a field has been set. +func (o *CargoPackageUploadRequest) HasTags() bool { + if o != nil && o.Tags.IsSet() { + return true + } + + return false +} + +// SetTags gets a reference to the given NullableString and assigns it to the Tags field. +func (o *CargoPackageUploadRequest) SetTags(v string) { + o.Tags.Set(&v) +} + +// SetTagsNil sets the value for Tags to be an explicit nil +func (o *CargoPackageUploadRequest) SetTagsNil() { + o.Tags.Set(nil) +} + +// UnsetTags ensures that no value is present for Tags, not even an explicit nil +func (o *CargoPackageUploadRequest) UnsetTags() { + o.Tags.Unset() +} + +func (o CargoPackageUploadRequest) MarshalJSON() ([]byte, error) { + toSerialize := map[string]interface{}{} + if true { + toSerialize["package_file"] = o.PackageFile + } + if !isNil(o.Republish) { + toSerialize["republish"] = o.Republish + } + if o.Tags.IsSet() { + toSerialize["tags"] = o.Tags.Get() + } + return json.Marshal(toSerialize) +} + +type NullableCargoPackageUploadRequest struct { + value *CargoPackageUploadRequest + isSet bool +} + +func (v NullableCargoPackageUploadRequest) Get() *CargoPackageUploadRequest { + return v.value +} + +func (v *NullableCargoPackageUploadRequest) Set(val *CargoPackageUploadRequest) { + v.value = val + v.isSet = true +} + +func (v NullableCargoPackageUploadRequest) IsSet() bool { + return v.isSet +} + +func (v *NullableCargoPackageUploadRequest) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableCargoPackageUploadRequest(val *CargoPackageUploadRequest) *NullableCargoPackageUploadRequest { + return &NullableCargoPackageUploadRequest{value: val, isSet: true} +} + +func (v NullableCargoPackageUploadRequest) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableCargoPackageUploadRequest) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} diff --git a/model_cargo_package_upload_response.go b/model_cargo_package_upload_response.go new file mode 100644 index 00000000..ec38481c --- /dev/null +++ b/model_cargo_package_upload_response.go @@ -0,0 +1,2595 @@ +/* +Cloudsmith API (v1) + +The API to the Cloudsmith Service + +API version: 1.181.6 +Contact: support@cloudsmith.io +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cloudsmith + +import ( + "encoding/json" + "time" +) + +// CargoPackageUploadResponse struct for CargoPackageUploadResponse +type CargoPackageUploadResponse struct { + Architectures []Architecture `json:"architectures,omitempty"` + CdnUrl NullableString `json:"cdn_url,omitempty"` + ChecksumMd5 *string `json:"checksum_md5,omitempty"` + ChecksumSha1 *string `json:"checksum_sha1,omitempty"` + ChecksumSha256 *string `json:"checksum_sha256,omitempty"` + ChecksumSha512 *string `json:"checksum_sha512,omitempty"` + // A checksum of all of the package's dependencies. + DependenciesChecksumMd5 *string `json:"dependencies_checksum_md5,omitempty"` + DependenciesUrl *string `json:"dependencies_url,omitempty"` + // A textual description of this package. + Description *string `json:"description,omitempty"` + Distro NullableDistribution `json:"distro,omitempty"` + DistroVersion *DistributionVersion `json:"distro_version,omitempty"` + Downloads *int64 `json:"downloads,omitempty"` + // The epoch of the package version (if any). + Epoch *int64 `json:"epoch,omitempty"` + Extension *string `json:"extension,omitempty"` + Filename *string `json:"filename,omitempty"` + Files []PackageFile `json:"files,omitempty"` + Format *string `json:"format,omitempty"` + FormatUrl *string `json:"format_url,omitempty"` + // Unique and permanent identifier for the package. + IdentifierPerm *string `json:"identifier_perm,omitempty"` + Indexed *bool `json:"indexed,omitempty"` + IsDownloadable *bool `json:"is_downloadable,omitempty"` + IsQuarantined *bool `json:"is_quarantined,omitempty"` + IsSyncAwaiting *bool `json:"is_sync_awaiting,omitempty"` + IsSyncCompleted *bool `json:"is_sync_completed,omitempty"` + IsSyncFailed *bool `json:"is_sync_failed,omitempty"` + IsSyncInFlight *bool `json:"is_sync_in_flight,omitempty"` + IsSyncInProgress *bool `json:"is_sync_in_progress,omitempty"` + // The license of this package. + License *string `json:"license,omitempty"` + // The name of this package. + Name *string `json:"name,omitempty"` + Namespace *string `json:"namespace,omitempty"` + NamespaceUrl *string `json:"namespace_url,omitempty"` + NumFiles *int64 `json:"num_files,omitempty"` + OriginRepository *string `json:"origin_repository,omitempty"` + OriginRepositoryUrl *string `json:"origin_repository_url,omitempty"` + // The type of package contents. + PackageType *int64 `json:"package_type,omitempty"` + // The release of the package version (if any). + Release *string `json:"release,omitempty"` + Repository *string `json:"repository,omitempty"` + RepositoryUrl *string `json:"repository_url,omitempty"` + // The datetime the security scanning was completed. + SecurityScanCompletedAt *time.Time `json:"security_scan_completed_at,omitempty"` + // The datetime the security scanning was started. + SecurityScanStartedAt *time.Time `json:"security_scan_started_at,omitempty"` + SecurityScanStatus NullableString `json:"security_scan_status,omitempty"` + // The datetime the security scanning status was updated. + SecurityScanStatusUpdatedAt *time.Time `json:"security_scan_status_updated_at,omitempty"` + SelfHtmlUrl *string `json:"self_html_url,omitempty"` + SelfUrl *string `json:"self_url,omitempty"` + SignatureUrl NullableString `json:"signature_url,omitempty"` + // The calculated size of the package. + Size *int64 `json:"size,omitempty"` + // The public unique identifier for the package. + Slug *string `json:"slug,omitempty"` + SlugPerm *string `json:"slug_perm,omitempty"` + // The synchronisation (in progress) stage of the package. + Stage *int64 `json:"stage,omitempty"` + StageStr *string `json:"stage_str,omitempty"` + // The datetime the package stage was updated at. + StageUpdatedAt *time.Time `json:"stage_updated_at,omitempty"` + // The synchronisation status of the package. + Status *int64 `json:"status,omitempty"` + // A textual description for the synchronous status reason (if any + StatusReason *string `json:"status_reason,omitempty"` + StatusStr *string `json:"status_str,omitempty"` + // The datetime the package status was updated at. + StatusUpdatedAt *time.Time `json:"status_updated_at,omitempty"` + StatusUrl *string `json:"status_url,omitempty"` + Subtype *string `json:"subtype,omitempty"` + // A one-liner synopsis of this package. + Summary *string `json:"summary,omitempty"` + // The datetime the package sync was finished at. + SyncFinishedAt *time.Time `json:"sync_finished_at,omitempty"` + // Synchronisation progress (from 0-100) + SyncProgress *int64 `json:"sync_progress,omitempty"` + // All tags on the package, grouped by tag type. This includes immutable tags, but doesn't distinguish them from mutable. To see which tags are immutable specifically, see the tags_immutable field. + TagsImmutable map[string]interface{} `json:"tags_immutable,omitempty"` + TypeDisplay *string `json:"type_display,omitempty"` + // The date this package was uploaded. + UploadedAt *time.Time `json:"uploaded_at,omitempty"` + Uploader *string `json:"uploader,omitempty"` + UploaderUrl *string `json:"uploader_url,omitempty"` + // The raw version for this package. + Version *string `json:"version,omitempty"` + VersionOrig *string `json:"version_orig,omitempty"` + VulnerabilityScanResultsUrl *string `json:"vulnerability_scan_results_url,omitempty"` +} + +// NewCargoPackageUploadResponse instantiates a new CargoPackageUploadResponse object +// 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 NewCargoPackageUploadResponse() *CargoPackageUploadResponse { + this := CargoPackageUploadResponse{} + return &this +} + +// NewCargoPackageUploadResponseWithDefaults instantiates a new CargoPackageUploadResponse object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewCargoPackageUploadResponseWithDefaults() *CargoPackageUploadResponse { + this := CargoPackageUploadResponse{} + return &this +} + +// GetArchitectures returns the Architectures field value if set, zero value otherwise. +func (o *CargoPackageUploadResponse) GetArchitectures() []Architecture { + if o == nil || isNil(o.Architectures) { + var ret []Architecture + return ret + } + return o.Architectures +} + +// GetArchitecturesOk returns a tuple with the Architectures field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *CargoPackageUploadResponse) GetArchitecturesOk() ([]Architecture, bool) { + if o == nil || isNil(o.Architectures) { + return nil, false + } + return o.Architectures, true +} + +// HasArchitectures returns a boolean if a field has been set. +func (o *CargoPackageUploadResponse) HasArchitectures() bool { + if o != nil && !isNil(o.Architectures) { + return true + } + + return false +} + +// SetArchitectures gets a reference to the given []Architecture and assigns it to the Architectures field. +func (o *CargoPackageUploadResponse) SetArchitectures(v []Architecture) { + o.Architectures = v +} + +// GetCdnUrl returns the CdnUrl field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *CargoPackageUploadResponse) GetCdnUrl() string { + if o == nil || isNil(o.CdnUrl.Get()) { + var ret string + return ret + } + return *o.CdnUrl.Get() +} + +// GetCdnUrlOk returns a tuple with the CdnUrl 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 *CargoPackageUploadResponse) GetCdnUrlOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.CdnUrl.Get(), o.CdnUrl.IsSet() +} + +// HasCdnUrl returns a boolean if a field has been set. +func (o *CargoPackageUploadResponse) HasCdnUrl() bool { + if o != nil && o.CdnUrl.IsSet() { + return true + } + + return false +} + +// SetCdnUrl gets a reference to the given NullableString and assigns it to the CdnUrl field. +func (o *CargoPackageUploadResponse) SetCdnUrl(v string) { + o.CdnUrl.Set(&v) +} + +// SetCdnUrlNil sets the value for CdnUrl to be an explicit nil +func (o *CargoPackageUploadResponse) SetCdnUrlNil() { + o.CdnUrl.Set(nil) +} + +// UnsetCdnUrl ensures that no value is present for CdnUrl, not even an explicit nil +func (o *CargoPackageUploadResponse) UnsetCdnUrl() { + o.CdnUrl.Unset() +} + +// GetChecksumMd5 returns the ChecksumMd5 field value if set, zero value otherwise. +func (o *CargoPackageUploadResponse) GetChecksumMd5() string { + if o == nil || isNil(o.ChecksumMd5) { + var ret string + return ret + } + return *o.ChecksumMd5 +} + +// GetChecksumMd5Ok returns a tuple with the ChecksumMd5 field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *CargoPackageUploadResponse) GetChecksumMd5Ok() (*string, bool) { + if o == nil || isNil(o.ChecksumMd5) { + return nil, false + } + return o.ChecksumMd5, true +} + +// HasChecksumMd5 returns a boolean if a field has been set. +func (o *CargoPackageUploadResponse) HasChecksumMd5() bool { + if o != nil && !isNil(o.ChecksumMd5) { + return true + } + + return false +} + +// SetChecksumMd5 gets a reference to the given string and assigns it to the ChecksumMd5 field. +func (o *CargoPackageUploadResponse) SetChecksumMd5(v string) { + o.ChecksumMd5 = &v +} + +// GetChecksumSha1 returns the ChecksumSha1 field value if set, zero value otherwise. +func (o *CargoPackageUploadResponse) GetChecksumSha1() string { + if o == nil || isNil(o.ChecksumSha1) { + var ret string + return ret + } + return *o.ChecksumSha1 +} + +// GetChecksumSha1Ok returns a tuple with the ChecksumSha1 field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *CargoPackageUploadResponse) GetChecksumSha1Ok() (*string, bool) { + if o == nil || isNil(o.ChecksumSha1) { + return nil, false + } + return o.ChecksumSha1, true +} + +// HasChecksumSha1 returns a boolean if a field has been set. +func (o *CargoPackageUploadResponse) HasChecksumSha1() bool { + if o != nil && !isNil(o.ChecksumSha1) { + return true + } + + return false +} + +// SetChecksumSha1 gets a reference to the given string and assigns it to the ChecksumSha1 field. +func (o *CargoPackageUploadResponse) SetChecksumSha1(v string) { + o.ChecksumSha1 = &v +} + +// GetChecksumSha256 returns the ChecksumSha256 field value if set, zero value otherwise. +func (o *CargoPackageUploadResponse) GetChecksumSha256() string { + if o == nil || isNil(o.ChecksumSha256) { + var ret string + return ret + } + return *o.ChecksumSha256 +} + +// GetChecksumSha256Ok returns a tuple with the ChecksumSha256 field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *CargoPackageUploadResponse) GetChecksumSha256Ok() (*string, bool) { + if o == nil || isNil(o.ChecksumSha256) { + return nil, false + } + return o.ChecksumSha256, true +} + +// HasChecksumSha256 returns a boolean if a field has been set. +func (o *CargoPackageUploadResponse) HasChecksumSha256() bool { + if o != nil && !isNil(o.ChecksumSha256) { + return true + } + + return false +} + +// SetChecksumSha256 gets a reference to the given string and assigns it to the ChecksumSha256 field. +func (o *CargoPackageUploadResponse) SetChecksumSha256(v string) { + o.ChecksumSha256 = &v +} + +// GetChecksumSha512 returns the ChecksumSha512 field value if set, zero value otherwise. +func (o *CargoPackageUploadResponse) GetChecksumSha512() string { + if o == nil || isNil(o.ChecksumSha512) { + var ret string + return ret + } + return *o.ChecksumSha512 +} + +// GetChecksumSha512Ok returns a tuple with the ChecksumSha512 field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *CargoPackageUploadResponse) GetChecksumSha512Ok() (*string, bool) { + if o == nil || isNil(o.ChecksumSha512) { + return nil, false + } + return o.ChecksumSha512, true +} + +// HasChecksumSha512 returns a boolean if a field has been set. +func (o *CargoPackageUploadResponse) HasChecksumSha512() bool { + if o != nil && !isNil(o.ChecksumSha512) { + return true + } + + return false +} + +// SetChecksumSha512 gets a reference to the given string and assigns it to the ChecksumSha512 field. +func (o *CargoPackageUploadResponse) SetChecksumSha512(v string) { + o.ChecksumSha512 = &v +} + +// GetDependenciesChecksumMd5 returns the DependenciesChecksumMd5 field value if set, zero value otherwise. +func (o *CargoPackageUploadResponse) GetDependenciesChecksumMd5() string { + if o == nil || isNil(o.DependenciesChecksumMd5) { + var ret string + return ret + } + return *o.DependenciesChecksumMd5 +} + +// GetDependenciesChecksumMd5Ok returns a tuple with the DependenciesChecksumMd5 field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *CargoPackageUploadResponse) GetDependenciesChecksumMd5Ok() (*string, bool) { + if o == nil || isNil(o.DependenciesChecksumMd5) { + return nil, false + } + return o.DependenciesChecksumMd5, true +} + +// HasDependenciesChecksumMd5 returns a boolean if a field has been set. +func (o *CargoPackageUploadResponse) HasDependenciesChecksumMd5() bool { + if o != nil && !isNil(o.DependenciesChecksumMd5) { + return true + } + + return false +} + +// SetDependenciesChecksumMd5 gets a reference to the given string and assigns it to the DependenciesChecksumMd5 field. +func (o *CargoPackageUploadResponse) SetDependenciesChecksumMd5(v string) { + o.DependenciesChecksumMd5 = &v +} + +// GetDependenciesUrl returns the DependenciesUrl field value if set, zero value otherwise. +func (o *CargoPackageUploadResponse) GetDependenciesUrl() string { + if o == nil || isNil(o.DependenciesUrl) { + var ret string + return ret + } + return *o.DependenciesUrl +} + +// GetDependenciesUrlOk returns a tuple with the DependenciesUrl field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *CargoPackageUploadResponse) GetDependenciesUrlOk() (*string, bool) { + if o == nil || isNil(o.DependenciesUrl) { + return nil, false + } + return o.DependenciesUrl, true +} + +// HasDependenciesUrl returns a boolean if a field has been set. +func (o *CargoPackageUploadResponse) HasDependenciesUrl() bool { + if o != nil && !isNil(o.DependenciesUrl) { + return true + } + + return false +} + +// SetDependenciesUrl gets a reference to the given string and assigns it to the DependenciesUrl field. +func (o *CargoPackageUploadResponse) SetDependenciesUrl(v string) { + o.DependenciesUrl = &v +} + +// GetDescription returns the Description field value if set, zero value otherwise. +func (o *CargoPackageUploadResponse) GetDescription() string { + if o == nil || isNil(o.Description) { + var ret string + return ret + } + return *o.Description +} + +// GetDescriptionOk returns a tuple with the Description field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *CargoPackageUploadResponse) GetDescriptionOk() (*string, bool) { + if o == nil || isNil(o.Description) { + return nil, false + } + return o.Description, true +} + +// HasDescription returns a boolean if a field has been set. +func (o *CargoPackageUploadResponse) HasDescription() bool { + if o != nil && !isNil(o.Description) { + return true + } + + return false +} + +// SetDescription gets a reference to the given string and assigns it to the Description field. +func (o *CargoPackageUploadResponse) SetDescription(v string) { + o.Description = &v +} + +// GetDistro returns the Distro field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *CargoPackageUploadResponse) GetDistro() Distribution { + if o == nil || isNil(o.Distro.Get()) { + var ret Distribution + return ret + } + return *o.Distro.Get() +} + +// GetDistroOk returns a tuple with the Distro 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 *CargoPackageUploadResponse) GetDistroOk() (*Distribution, bool) { + if o == nil { + return nil, false + } + return o.Distro.Get(), o.Distro.IsSet() +} + +// HasDistro returns a boolean if a field has been set. +func (o *CargoPackageUploadResponse) HasDistro() bool { + if o != nil && o.Distro.IsSet() { + return true + } + + return false +} + +// SetDistro gets a reference to the given NullableDistribution and assigns it to the Distro field. +func (o *CargoPackageUploadResponse) SetDistro(v Distribution) { + o.Distro.Set(&v) +} + +// SetDistroNil sets the value for Distro to be an explicit nil +func (o *CargoPackageUploadResponse) SetDistroNil() { + o.Distro.Set(nil) +} + +// UnsetDistro ensures that no value is present for Distro, not even an explicit nil +func (o *CargoPackageUploadResponse) UnsetDistro() { + o.Distro.Unset() +} + +// GetDistroVersion returns the DistroVersion field value if set, zero value otherwise. +func (o *CargoPackageUploadResponse) GetDistroVersion() DistributionVersion { + if o == nil || isNil(o.DistroVersion) { + var ret DistributionVersion + return ret + } + return *o.DistroVersion +} + +// GetDistroVersionOk returns a tuple with the DistroVersion field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *CargoPackageUploadResponse) GetDistroVersionOk() (*DistributionVersion, bool) { + if o == nil || isNil(o.DistroVersion) { + return nil, false + } + return o.DistroVersion, true +} + +// HasDistroVersion returns a boolean if a field has been set. +func (o *CargoPackageUploadResponse) HasDistroVersion() bool { + if o != nil && !isNil(o.DistroVersion) { + return true + } + + return false +} + +// SetDistroVersion gets a reference to the given DistributionVersion and assigns it to the DistroVersion field. +func (o *CargoPackageUploadResponse) SetDistroVersion(v DistributionVersion) { + o.DistroVersion = &v +} + +// GetDownloads returns the Downloads field value if set, zero value otherwise. +func (o *CargoPackageUploadResponse) GetDownloads() int64 { + if o == nil || isNil(o.Downloads) { + var ret int64 + return ret + } + return *o.Downloads +} + +// GetDownloadsOk returns a tuple with the Downloads field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *CargoPackageUploadResponse) GetDownloadsOk() (*int64, bool) { + if o == nil || isNil(o.Downloads) { + return nil, false + } + return o.Downloads, true +} + +// HasDownloads returns a boolean if a field has been set. +func (o *CargoPackageUploadResponse) HasDownloads() bool { + if o != nil && !isNil(o.Downloads) { + return true + } + + return false +} + +// SetDownloads gets a reference to the given int64 and assigns it to the Downloads field. +func (o *CargoPackageUploadResponse) SetDownloads(v int64) { + o.Downloads = &v +} + +// GetEpoch returns the Epoch field value if set, zero value otherwise. +func (o *CargoPackageUploadResponse) GetEpoch() int64 { + if o == nil || isNil(o.Epoch) { + var ret int64 + return ret + } + return *o.Epoch +} + +// GetEpochOk returns a tuple with the Epoch field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *CargoPackageUploadResponse) GetEpochOk() (*int64, bool) { + if o == nil || isNil(o.Epoch) { + return nil, false + } + return o.Epoch, true +} + +// HasEpoch returns a boolean if a field has been set. +func (o *CargoPackageUploadResponse) HasEpoch() bool { + if o != nil && !isNil(o.Epoch) { + return true + } + + return false +} + +// SetEpoch gets a reference to the given int64 and assigns it to the Epoch field. +func (o *CargoPackageUploadResponse) SetEpoch(v int64) { + o.Epoch = &v +} + +// GetExtension returns the Extension field value if set, zero value otherwise. +func (o *CargoPackageUploadResponse) GetExtension() string { + if o == nil || isNil(o.Extension) { + var ret string + return ret + } + return *o.Extension +} + +// GetExtensionOk returns a tuple with the Extension field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *CargoPackageUploadResponse) GetExtensionOk() (*string, bool) { + if o == nil || isNil(o.Extension) { + return nil, false + } + return o.Extension, true +} + +// HasExtension returns a boolean if a field has been set. +func (o *CargoPackageUploadResponse) HasExtension() bool { + if o != nil && !isNil(o.Extension) { + return true + } + + return false +} + +// SetExtension gets a reference to the given string and assigns it to the Extension field. +func (o *CargoPackageUploadResponse) SetExtension(v string) { + o.Extension = &v +} + +// GetFilename returns the Filename field value if set, zero value otherwise. +func (o *CargoPackageUploadResponse) GetFilename() string { + if o == nil || isNil(o.Filename) { + var ret string + return ret + } + return *o.Filename +} + +// GetFilenameOk returns a tuple with the Filename field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *CargoPackageUploadResponse) GetFilenameOk() (*string, bool) { + if o == nil || isNil(o.Filename) { + return nil, false + } + return o.Filename, true +} + +// HasFilename returns a boolean if a field has been set. +func (o *CargoPackageUploadResponse) HasFilename() bool { + if o != nil && !isNil(o.Filename) { + return true + } + + return false +} + +// SetFilename gets a reference to the given string and assigns it to the Filename field. +func (o *CargoPackageUploadResponse) SetFilename(v string) { + o.Filename = &v +} + +// GetFiles returns the Files field value if set, zero value otherwise. +func (o *CargoPackageUploadResponse) GetFiles() []PackageFile { + if o == nil || isNil(o.Files) { + var ret []PackageFile + return ret + } + return o.Files +} + +// GetFilesOk returns a tuple with the Files field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *CargoPackageUploadResponse) GetFilesOk() ([]PackageFile, bool) { + if o == nil || isNil(o.Files) { + return nil, false + } + return o.Files, true +} + +// HasFiles returns a boolean if a field has been set. +func (o *CargoPackageUploadResponse) HasFiles() bool { + if o != nil && !isNil(o.Files) { + return true + } + + return false +} + +// SetFiles gets a reference to the given []PackageFile and assigns it to the Files field. +func (o *CargoPackageUploadResponse) SetFiles(v []PackageFile) { + o.Files = v +} + +// GetFormat returns the Format field value if set, zero value otherwise. +func (o *CargoPackageUploadResponse) GetFormat() string { + if o == nil || isNil(o.Format) { + var ret string + return ret + } + return *o.Format +} + +// GetFormatOk returns a tuple with the Format field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *CargoPackageUploadResponse) GetFormatOk() (*string, bool) { + if o == nil || isNil(o.Format) { + return nil, false + } + return o.Format, true +} + +// HasFormat returns a boolean if a field has been set. +func (o *CargoPackageUploadResponse) HasFormat() bool { + if o != nil && !isNil(o.Format) { + return true + } + + return false +} + +// SetFormat gets a reference to the given string and assigns it to the Format field. +func (o *CargoPackageUploadResponse) SetFormat(v string) { + o.Format = &v +} + +// GetFormatUrl returns the FormatUrl field value if set, zero value otherwise. +func (o *CargoPackageUploadResponse) GetFormatUrl() string { + if o == nil || isNil(o.FormatUrl) { + var ret string + return ret + } + return *o.FormatUrl +} + +// GetFormatUrlOk returns a tuple with the FormatUrl field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *CargoPackageUploadResponse) GetFormatUrlOk() (*string, bool) { + if o == nil || isNil(o.FormatUrl) { + return nil, false + } + return o.FormatUrl, true +} + +// HasFormatUrl returns a boolean if a field has been set. +func (o *CargoPackageUploadResponse) HasFormatUrl() bool { + if o != nil && !isNil(o.FormatUrl) { + return true + } + + return false +} + +// SetFormatUrl gets a reference to the given string and assigns it to the FormatUrl field. +func (o *CargoPackageUploadResponse) SetFormatUrl(v string) { + o.FormatUrl = &v +} + +// GetIdentifierPerm returns the IdentifierPerm field value if set, zero value otherwise. +func (o *CargoPackageUploadResponse) GetIdentifierPerm() string { + if o == nil || isNil(o.IdentifierPerm) { + var ret string + return ret + } + return *o.IdentifierPerm +} + +// GetIdentifierPermOk returns a tuple with the IdentifierPerm field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *CargoPackageUploadResponse) GetIdentifierPermOk() (*string, bool) { + if o == nil || isNil(o.IdentifierPerm) { + return nil, false + } + return o.IdentifierPerm, true +} + +// HasIdentifierPerm returns a boolean if a field has been set. +func (o *CargoPackageUploadResponse) HasIdentifierPerm() bool { + if o != nil && !isNil(o.IdentifierPerm) { + return true + } + + return false +} + +// SetIdentifierPerm gets a reference to the given string and assigns it to the IdentifierPerm field. +func (o *CargoPackageUploadResponse) SetIdentifierPerm(v string) { + o.IdentifierPerm = &v +} + +// GetIndexed returns the Indexed field value if set, zero value otherwise. +func (o *CargoPackageUploadResponse) GetIndexed() bool { + if o == nil || isNil(o.Indexed) { + var ret bool + return ret + } + return *o.Indexed +} + +// GetIndexedOk returns a tuple with the Indexed field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *CargoPackageUploadResponse) GetIndexedOk() (*bool, bool) { + if o == nil || isNil(o.Indexed) { + return nil, false + } + return o.Indexed, true +} + +// HasIndexed returns a boolean if a field has been set. +func (o *CargoPackageUploadResponse) HasIndexed() bool { + if o != nil && !isNil(o.Indexed) { + return true + } + + return false +} + +// SetIndexed gets a reference to the given bool and assigns it to the Indexed field. +func (o *CargoPackageUploadResponse) SetIndexed(v bool) { + o.Indexed = &v +} + +// GetIsDownloadable returns the IsDownloadable field value if set, zero value otherwise. +func (o *CargoPackageUploadResponse) GetIsDownloadable() bool { + if o == nil || isNil(o.IsDownloadable) { + var ret bool + return ret + } + return *o.IsDownloadable +} + +// GetIsDownloadableOk returns a tuple with the IsDownloadable field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *CargoPackageUploadResponse) GetIsDownloadableOk() (*bool, bool) { + if o == nil || isNil(o.IsDownloadable) { + return nil, false + } + return o.IsDownloadable, true +} + +// HasIsDownloadable returns a boolean if a field has been set. +func (o *CargoPackageUploadResponse) HasIsDownloadable() bool { + if o != nil && !isNil(o.IsDownloadable) { + return true + } + + return false +} + +// SetIsDownloadable gets a reference to the given bool and assigns it to the IsDownloadable field. +func (o *CargoPackageUploadResponse) SetIsDownloadable(v bool) { + o.IsDownloadable = &v +} + +// GetIsQuarantined returns the IsQuarantined field value if set, zero value otherwise. +func (o *CargoPackageUploadResponse) GetIsQuarantined() bool { + if o == nil || isNil(o.IsQuarantined) { + var ret bool + return ret + } + return *o.IsQuarantined +} + +// GetIsQuarantinedOk returns a tuple with the IsQuarantined field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *CargoPackageUploadResponse) GetIsQuarantinedOk() (*bool, bool) { + if o == nil || isNil(o.IsQuarantined) { + return nil, false + } + return o.IsQuarantined, true +} + +// HasIsQuarantined returns a boolean if a field has been set. +func (o *CargoPackageUploadResponse) HasIsQuarantined() bool { + if o != nil && !isNil(o.IsQuarantined) { + return true + } + + return false +} + +// SetIsQuarantined gets a reference to the given bool and assigns it to the IsQuarantined field. +func (o *CargoPackageUploadResponse) SetIsQuarantined(v bool) { + o.IsQuarantined = &v +} + +// GetIsSyncAwaiting returns the IsSyncAwaiting field value if set, zero value otherwise. +func (o *CargoPackageUploadResponse) GetIsSyncAwaiting() bool { + if o == nil || isNil(o.IsSyncAwaiting) { + var ret bool + return ret + } + return *o.IsSyncAwaiting +} + +// GetIsSyncAwaitingOk returns a tuple with the IsSyncAwaiting field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *CargoPackageUploadResponse) GetIsSyncAwaitingOk() (*bool, bool) { + if o == nil || isNil(o.IsSyncAwaiting) { + return nil, false + } + return o.IsSyncAwaiting, true +} + +// HasIsSyncAwaiting returns a boolean if a field has been set. +func (o *CargoPackageUploadResponse) HasIsSyncAwaiting() bool { + if o != nil && !isNil(o.IsSyncAwaiting) { + return true + } + + return false +} + +// SetIsSyncAwaiting gets a reference to the given bool and assigns it to the IsSyncAwaiting field. +func (o *CargoPackageUploadResponse) SetIsSyncAwaiting(v bool) { + o.IsSyncAwaiting = &v +} + +// GetIsSyncCompleted returns the IsSyncCompleted field value if set, zero value otherwise. +func (o *CargoPackageUploadResponse) GetIsSyncCompleted() bool { + if o == nil || isNil(o.IsSyncCompleted) { + var ret bool + return ret + } + return *o.IsSyncCompleted +} + +// GetIsSyncCompletedOk returns a tuple with the IsSyncCompleted field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *CargoPackageUploadResponse) GetIsSyncCompletedOk() (*bool, bool) { + if o == nil || isNil(o.IsSyncCompleted) { + return nil, false + } + return o.IsSyncCompleted, true +} + +// HasIsSyncCompleted returns a boolean if a field has been set. +func (o *CargoPackageUploadResponse) HasIsSyncCompleted() bool { + if o != nil && !isNil(o.IsSyncCompleted) { + return true + } + + return false +} + +// SetIsSyncCompleted gets a reference to the given bool and assigns it to the IsSyncCompleted field. +func (o *CargoPackageUploadResponse) SetIsSyncCompleted(v bool) { + o.IsSyncCompleted = &v +} + +// GetIsSyncFailed returns the IsSyncFailed field value if set, zero value otherwise. +func (o *CargoPackageUploadResponse) GetIsSyncFailed() bool { + if o == nil || isNil(o.IsSyncFailed) { + var ret bool + return ret + } + return *o.IsSyncFailed +} + +// GetIsSyncFailedOk returns a tuple with the IsSyncFailed field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *CargoPackageUploadResponse) GetIsSyncFailedOk() (*bool, bool) { + if o == nil || isNil(o.IsSyncFailed) { + return nil, false + } + return o.IsSyncFailed, true +} + +// HasIsSyncFailed returns a boolean if a field has been set. +func (o *CargoPackageUploadResponse) HasIsSyncFailed() bool { + if o != nil && !isNil(o.IsSyncFailed) { + return true + } + + return false +} + +// SetIsSyncFailed gets a reference to the given bool and assigns it to the IsSyncFailed field. +func (o *CargoPackageUploadResponse) SetIsSyncFailed(v bool) { + o.IsSyncFailed = &v +} + +// GetIsSyncInFlight returns the IsSyncInFlight field value if set, zero value otherwise. +func (o *CargoPackageUploadResponse) GetIsSyncInFlight() bool { + if o == nil || isNil(o.IsSyncInFlight) { + var ret bool + return ret + } + return *o.IsSyncInFlight +} + +// GetIsSyncInFlightOk returns a tuple with the IsSyncInFlight field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *CargoPackageUploadResponse) GetIsSyncInFlightOk() (*bool, bool) { + if o == nil || isNil(o.IsSyncInFlight) { + return nil, false + } + return o.IsSyncInFlight, true +} + +// HasIsSyncInFlight returns a boolean if a field has been set. +func (o *CargoPackageUploadResponse) HasIsSyncInFlight() bool { + if o != nil && !isNil(o.IsSyncInFlight) { + return true + } + + return false +} + +// SetIsSyncInFlight gets a reference to the given bool and assigns it to the IsSyncInFlight field. +func (o *CargoPackageUploadResponse) SetIsSyncInFlight(v bool) { + o.IsSyncInFlight = &v +} + +// GetIsSyncInProgress returns the IsSyncInProgress field value if set, zero value otherwise. +func (o *CargoPackageUploadResponse) GetIsSyncInProgress() bool { + if o == nil || isNil(o.IsSyncInProgress) { + var ret bool + return ret + } + return *o.IsSyncInProgress +} + +// GetIsSyncInProgressOk returns a tuple with the IsSyncInProgress field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *CargoPackageUploadResponse) GetIsSyncInProgressOk() (*bool, bool) { + if o == nil || isNil(o.IsSyncInProgress) { + return nil, false + } + return o.IsSyncInProgress, true +} + +// HasIsSyncInProgress returns a boolean if a field has been set. +func (o *CargoPackageUploadResponse) HasIsSyncInProgress() bool { + if o != nil && !isNil(o.IsSyncInProgress) { + return true + } + + return false +} + +// SetIsSyncInProgress gets a reference to the given bool and assigns it to the IsSyncInProgress field. +func (o *CargoPackageUploadResponse) SetIsSyncInProgress(v bool) { + o.IsSyncInProgress = &v +} + +// GetLicense returns the License field value if set, zero value otherwise. +func (o *CargoPackageUploadResponse) GetLicense() string { + if o == nil || isNil(o.License) { + var ret string + return ret + } + return *o.License +} + +// GetLicenseOk returns a tuple with the License field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *CargoPackageUploadResponse) GetLicenseOk() (*string, bool) { + if o == nil || isNil(o.License) { + return nil, false + } + return o.License, true +} + +// HasLicense returns a boolean if a field has been set. +func (o *CargoPackageUploadResponse) HasLicense() bool { + if o != nil && !isNil(o.License) { + return true + } + + return false +} + +// SetLicense gets a reference to the given string and assigns it to the License field. +func (o *CargoPackageUploadResponse) SetLicense(v string) { + o.License = &v +} + +// GetName returns the Name field value if set, zero value otherwise. +func (o *CargoPackageUploadResponse) GetName() string { + if o == nil || isNil(o.Name) { + var ret string + return ret + } + return *o.Name +} + +// GetNameOk returns a tuple with the Name field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *CargoPackageUploadResponse) GetNameOk() (*string, bool) { + if o == nil || isNil(o.Name) { + return nil, false + } + return o.Name, true +} + +// HasName returns a boolean if a field has been set. +func (o *CargoPackageUploadResponse) HasName() bool { + if o != nil && !isNil(o.Name) { + return true + } + + return false +} + +// SetName gets a reference to the given string and assigns it to the Name field. +func (o *CargoPackageUploadResponse) SetName(v string) { + o.Name = &v +} + +// GetNamespace returns the Namespace field value if set, zero value otherwise. +func (o *CargoPackageUploadResponse) GetNamespace() string { + if o == nil || isNil(o.Namespace) { + var ret string + return ret + } + return *o.Namespace +} + +// GetNamespaceOk returns a tuple with the Namespace field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *CargoPackageUploadResponse) GetNamespaceOk() (*string, bool) { + if o == nil || isNil(o.Namespace) { + return nil, false + } + return o.Namespace, true +} + +// HasNamespace returns a boolean if a field has been set. +func (o *CargoPackageUploadResponse) HasNamespace() bool { + if o != nil && !isNil(o.Namespace) { + return true + } + + return false +} + +// SetNamespace gets a reference to the given string and assigns it to the Namespace field. +func (o *CargoPackageUploadResponse) SetNamespace(v string) { + o.Namespace = &v +} + +// GetNamespaceUrl returns the NamespaceUrl field value if set, zero value otherwise. +func (o *CargoPackageUploadResponse) GetNamespaceUrl() string { + if o == nil || isNil(o.NamespaceUrl) { + var ret string + return ret + } + return *o.NamespaceUrl +} + +// GetNamespaceUrlOk returns a tuple with the NamespaceUrl field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *CargoPackageUploadResponse) GetNamespaceUrlOk() (*string, bool) { + if o == nil || isNil(o.NamespaceUrl) { + return nil, false + } + return o.NamespaceUrl, true +} + +// HasNamespaceUrl returns a boolean if a field has been set. +func (o *CargoPackageUploadResponse) HasNamespaceUrl() bool { + if o != nil && !isNil(o.NamespaceUrl) { + return true + } + + return false +} + +// SetNamespaceUrl gets a reference to the given string and assigns it to the NamespaceUrl field. +func (o *CargoPackageUploadResponse) SetNamespaceUrl(v string) { + o.NamespaceUrl = &v +} + +// GetNumFiles returns the NumFiles field value if set, zero value otherwise. +func (o *CargoPackageUploadResponse) GetNumFiles() int64 { + if o == nil || isNil(o.NumFiles) { + var ret int64 + return ret + } + return *o.NumFiles +} + +// GetNumFilesOk returns a tuple with the NumFiles field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *CargoPackageUploadResponse) GetNumFilesOk() (*int64, bool) { + if o == nil || isNil(o.NumFiles) { + return nil, false + } + return o.NumFiles, true +} + +// HasNumFiles returns a boolean if a field has been set. +func (o *CargoPackageUploadResponse) HasNumFiles() bool { + if o != nil && !isNil(o.NumFiles) { + return true + } + + return false +} + +// SetNumFiles gets a reference to the given int64 and assigns it to the NumFiles field. +func (o *CargoPackageUploadResponse) SetNumFiles(v int64) { + o.NumFiles = &v +} + +// GetOriginRepository returns the OriginRepository field value if set, zero value otherwise. +func (o *CargoPackageUploadResponse) GetOriginRepository() string { + if o == nil || isNil(o.OriginRepository) { + var ret string + return ret + } + return *o.OriginRepository +} + +// GetOriginRepositoryOk returns a tuple with the OriginRepository field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *CargoPackageUploadResponse) GetOriginRepositoryOk() (*string, bool) { + if o == nil || isNil(o.OriginRepository) { + return nil, false + } + return o.OriginRepository, true +} + +// HasOriginRepository returns a boolean if a field has been set. +func (o *CargoPackageUploadResponse) HasOriginRepository() bool { + if o != nil && !isNil(o.OriginRepository) { + return true + } + + return false +} + +// SetOriginRepository gets a reference to the given string and assigns it to the OriginRepository field. +func (o *CargoPackageUploadResponse) SetOriginRepository(v string) { + o.OriginRepository = &v +} + +// GetOriginRepositoryUrl returns the OriginRepositoryUrl field value if set, zero value otherwise. +func (o *CargoPackageUploadResponse) GetOriginRepositoryUrl() string { + if o == nil || isNil(o.OriginRepositoryUrl) { + var ret string + return ret + } + return *o.OriginRepositoryUrl +} + +// GetOriginRepositoryUrlOk returns a tuple with the OriginRepositoryUrl field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *CargoPackageUploadResponse) GetOriginRepositoryUrlOk() (*string, bool) { + if o == nil || isNil(o.OriginRepositoryUrl) { + return nil, false + } + return o.OriginRepositoryUrl, true +} + +// HasOriginRepositoryUrl returns a boolean if a field has been set. +func (o *CargoPackageUploadResponse) HasOriginRepositoryUrl() bool { + if o != nil && !isNil(o.OriginRepositoryUrl) { + return true + } + + return false +} + +// SetOriginRepositoryUrl gets a reference to the given string and assigns it to the OriginRepositoryUrl field. +func (o *CargoPackageUploadResponse) SetOriginRepositoryUrl(v string) { + o.OriginRepositoryUrl = &v +} + +// GetPackageType returns the PackageType field value if set, zero value otherwise. +func (o *CargoPackageUploadResponse) GetPackageType() int64 { + if o == nil || isNil(o.PackageType) { + var ret int64 + return ret + } + return *o.PackageType +} + +// GetPackageTypeOk returns a tuple with the PackageType field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *CargoPackageUploadResponse) GetPackageTypeOk() (*int64, bool) { + if o == nil || isNil(o.PackageType) { + return nil, false + } + return o.PackageType, true +} + +// HasPackageType returns a boolean if a field has been set. +func (o *CargoPackageUploadResponse) HasPackageType() bool { + if o != nil && !isNil(o.PackageType) { + return true + } + + return false +} + +// SetPackageType gets a reference to the given int64 and assigns it to the PackageType field. +func (o *CargoPackageUploadResponse) SetPackageType(v int64) { + o.PackageType = &v +} + +// GetRelease returns the Release field value if set, zero value otherwise. +func (o *CargoPackageUploadResponse) GetRelease() string { + if o == nil || isNil(o.Release) { + var ret string + return ret + } + return *o.Release +} + +// GetReleaseOk returns a tuple with the Release field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *CargoPackageUploadResponse) GetReleaseOk() (*string, bool) { + if o == nil || isNil(o.Release) { + return nil, false + } + return o.Release, true +} + +// HasRelease returns a boolean if a field has been set. +func (o *CargoPackageUploadResponse) HasRelease() bool { + if o != nil && !isNil(o.Release) { + return true + } + + return false +} + +// SetRelease gets a reference to the given string and assigns it to the Release field. +func (o *CargoPackageUploadResponse) SetRelease(v string) { + o.Release = &v +} + +// GetRepository returns the Repository field value if set, zero value otherwise. +func (o *CargoPackageUploadResponse) GetRepository() string { + if o == nil || isNil(o.Repository) { + var ret string + return ret + } + return *o.Repository +} + +// GetRepositoryOk returns a tuple with the Repository field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *CargoPackageUploadResponse) GetRepositoryOk() (*string, bool) { + if o == nil || isNil(o.Repository) { + return nil, false + } + return o.Repository, true +} + +// HasRepository returns a boolean if a field has been set. +func (o *CargoPackageUploadResponse) HasRepository() bool { + if o != nil && !isNil(o.Repository) { + return true + } + + return false +} + +// SetRepository gets a reference to the given string and assigns it to the Repository field. +func (o *CargoPackageUploadResponse) SetRepository(v string) { + o.Repository = &v +} + +// GetRepositoryUrl returns the RepositoryUrl field value if set, zero value otherwise. +func (o *CargoPackageUploadResponse) GetRepositoryUrl() string { + if o == nil || isNil(o.RepositoryUrl) { + var ret string + return ret + } + return *o.RepositoryUrl +} + +// GetRepositoryUrlOk returns a tuple with the RepositoryUrl field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *CargoPackageUploadResponse) GetRepositoryUrlOk() (*string, bool) { + if o == nil || isNil(o.RepositoryUrl) { + return nil, false + } + return o.RepositoryUrl, true +} + +// HasRepositoryUrl returns a boolean if a field has been set. +func (o *CargoPackageUploadResponse) HasRepositoryUrl() bool { + if o != nil && !isNil(o.RepositoryUrl) { + return true + } + + return false +} + +// SetRepositoryUrl gets a reference to the given string and assigns it to the RepositoryUrl field. +func (o *CargoPackageUploadResponse) SetRepositoryUrl(v string) { + o.RepositoryUrl = &v +} + +// GetSecurityScanCompletedAt returns the SecurityScanCompletedAt field value if set, zero value otherwise. +func (o *CargoPackageUploadResponse) GetSecurityScanCompletedAt() time.Time { + if o == nil || isNil(o.SecurityScanCompletedAt) { + var ret time.Time + return ret + } + return *o.SecurityScanCompletedAt +} + +// GetSecurityScanCompletedAtOk returns a tuple with the SecurityScanCompletedAt field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *CargoPackageUploadResponse) GetSecurityScanCompletedAtOk() (*time.Time, bool) { + if o == nil || isNil(o.SecurityScanCompletedAt) { + return nil, false + } + return o.SecurityScanCompletedAt, true +} + +// HasSecurityScanCompletedAt returns a boolean if a field has been set. +func (o *CargoPackageUploadResponse) HasSecurityScanCompletedAt() bool { + if o != nil && !isNil(o.SecurityScanCompletedAt) { + return true + } + + return false +} + +// SetSecurityScanCompletedAt gets a reference to the given time.Time and assigns it to the SecurityScanCompletedAt field. +func (o *CargoPackageUploadResponse) SetSecurityScanCompletedAt(v time.Time) { + o.SecurityScanCompletedAt = &v +} + +// GetSecurityScanStartedAt returns the SecurityScanStartedAt field value if set, zero value otherwise. +func (o *CargoPackageUploadResponse) GetSecurityScanStartedAt() time.Time { + if o == nil || isNil(o.SecurityScanStartedAt) { + var ret time.Time + return ret + } + return *o.SecurityScanStartedAt +} + +// GetSecurityScanStartedAtOk returns a tuple with the SecurityScanStartedAt field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *CargoPackageUploadResponse) GetSecurityScanStartedAtOk() (*time.Time, bool) { + if o == nil || isNil(o.SecurityScanStartedAt) { + return nil, false + } + return o.SecurityScanStartedAt, true +} + +// HasSecurityScanStartedAt returns a boolean if a field has been set. +func (o *CargoPackageUploadResponse) HasSecurityScanStartedAt() bool { + if o != nil && !isNil(o.SecurityScanStartedAt) { + return true + } + + return false +} + +// SetSecurityScanStartedAt gets a reference to the given time.Time and assigns it to the SecurityScanStartedAt field. +func (o *CargoPackageUploadResponse) SetSecurityScanStartedAt(v time.Time) { + o.SecurityScanStartedAt = &v +} + +// GetSecurityScanStatus returns the SecurityScanStatus field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *CargoPackageUploadResponse) GetSecurityScanStatus() string { + if o == nil || isNil(o.SecurityScanStatus.Get()) { + var ret string + return ret + } + return *o.SecurityScanStatus.Get() +} + +// GetSecurityScanStatusOk returns a tuple with the SecurityScanStatus 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 *CargoPackageUploadResponse) GetSecurityScanStatusOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.SecurityScanStatus.Get(), o.SecurityScanStatus.IsSet() +} + +// HasSecurityScanStatus returns a boolean if a field has been set. +func (o *CargoPackageUploadResponse) HasSecurityScanStatus() bool { + if o != nil && o.SecurityScanStatus.IsSet() { + return true + } + + return false +} + +// SetSecurityScanStatus gets a reference to the given NullableString and assigns it to the SecurityScanStatus field. +func (o *CargoPackageUploadResponse) SetSecurityScanStatus(v string) { + o.SecurityScanStatus.Set(&v) +} + +// SetSecurityScanStatusNil sets the value for SecurityScanStatus to be an explicit nil +func (o *CargoPackageUploadResponse) SetSecurityScanStatusNil() { + o.SecurityScanStatus.Set(nil) +} + +// UnsetSecurityScanStatus ensures that no value is present for SecurityScanStatus, not even an explicit nil +func (o *CargoPackageUploadResponse) UnsetSecurityScanStatus() { + o.SecurityScanStatus.Unset() +} + +// GetSecurityScanStatusUpdatedAt returns the SecurityScanStatusUpdatedAt field value if set, zero value otherwise. +func (o *CargoPackageUploadResponse) GetSecurityScanStatusUpdatedAt() time.Time { + if o == nil || isNil(o.SecurityScanStatusUpdatedAt) { + var ret time.Time + return ret + } + return *o.SecurityScanStatusUpdatedAt +} + +// GetSecurityScanStatusUpdatedAtOk returns a tuple with the SecurityScanStatusUpdatedAt field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *CargoPackageUploadResponse) GetSecurityScanStatusUpdatedAtOk() (*time.Time, bool) { + if o == nil || isNil(o.SecurityScanStatusUpdatedAt) { + return nil, false + } + return o.SecurityScanStatusUpdatedAt, true +} + +// HasSecurityScanStatusUpdatedAt returns a boolean if a field has been set. +func (o *CargoPackageUploadResponse) HasSecurityScanStatusUpdatedAt() bool { + if o != nil && !isNil(o.SecurityScanStatusUpdatedAt) { + return true + } + + return false +} + +// SetSecurityScanStatusUpdatedAt gets a reference to the given time.Time and assigns it to the SecurityScanStatusUpdatedAt field. +func (o *CargoPackageUploadResponse) SetSecurityScanStatusUpdatedAt(v time.Time) { + o.SecurityScanStatusUpdatedAt = &v +} + +// GetSelfHtmlUrl returns the SelfHtmlUrl field value if set, zero value otherwise. +func (o *CargoPackageUploadResponse) GetSelfHtmlUrl() string { + if o == nil || isNil(o.SelfHtmlUrl) { + var ret string + return ret + } + return *o.SelfHtmlUrl +} + +// GetSelfHtmlUrlOk returns a tuple with the SelfHtmlUrl field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *CargoPackageUploadResponse) GetSelfHtmlUrlOk() (*string, bool) { + if o == nil || isNil(o.SelfHtmlUrl) { + return nil, false + } + return o.SelfHtmlUrl, true +} + +// HasSelfHtmlUrl returns a boolean if a field has been set. +func (o *CargoPackageUploadResponse) HasSelfHtmlUrl() bool { + if o != nil && !isNil(o.SelfHtmlUrl) { + return true + } + + return false +} + +// SetSelfHtmlUrl gets a reference to the given string and assigns it to the SelfHtmlUrl field. +func (o *CargoPackageUploadResponse) SetSelfHtmlUrl(v string) { + o.SelfHtmlUrl = &v +} + +// GetSelfUrl returns the SelfUrl field value if set, zero value otherwise. +func (o *CargoPackageUploadResponse) GetSelfUrl() string { + if o == nil || isNil(o.SelfUrl) { + var ret string + return ret + } + return *o.SelfUrl +} + +// GetSelfUrlOk returns a tuple with the SelfUrl field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *CargoPackageUploadResponse) GetSelfUrlOk() (*string, bool) { + if o == nil || isNil(o.SelfUrl) { + return nil, false + } + return o.SelfUrl, true +} + +// HasSelfUrl returns a boolean if a field has been set. +func (o *CargoPackageUploadResponse) HasSelfUrl() bool { + if o != nil && !isNil(o.SelfUrl) { + return true + } + + return false +} + +// SetSelfUrl gets a reference to the given string and assigns it to the SelfUrl field. +func (o *CargoPackageUploadResponse) SetSelfUrl(v string) { + o.SelfUrl = &v +} + +// GetSignatureUrl returns the SignatureUrl field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *CargoPackageUploadResponse) GetSignatureUrl() string { + if o == nil || isNil(o.SignatureUrl.Get()) { + var ret string + return ret + } + return *o.SignatureUrl.Get() +} + +// GetSignatureUrlOk returns a tuple with the SignatureUrl 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 *CargoPackageUploadResponse) GetSignatureUrlOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.SignatureUrl.Get(), o.SignatureUrl.IsSet() +} + +// HasSignatureUrl returns a boolean if a field has been set. +func (o *CargoPackageUploadResponse) HasSignatureUrl() bool { + if o != nil && o.SignatureUrl.IsSet() { + return true + } + + return false +} + +// SetSignatureUrl gets a reference to the given NullableString and assigns it to the SignatureUrl field. +func (o *CargoPackageUploadResponse) SetSignatureUrl(v string) { + o.SignatureUrl.Set(&v) +} + +// SetSignatureUrlNil sets the value for SignatureUrl to be an explicit nil +func (o *CargoPackageUploadResponse) SetSignatureUrlNil() { + o.SignatureUrl.Set(nil) +} + +// UnsetSignatureUrl ensures that no value is present for SignatureUrl, not even an explicit nil +func (o *CargoPackageUploadResponse) UnsetSignatureUrl() { + o.SignatureUrl.Unset() +} + +// GetSize returns the Size field value if set, zero value otherwise. +func (o *CargoPackageUploadResponse) GetSize() int64 { + if o == nil || isNil(o.Size) { + var ret int64 + return ret + } + return *o.Size +} + +// GetSizeOk returns a tuple with the Size field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *CargoPackageUploadResponse) GetSizeOk() (*int64, bool) { + if o == nil || isNil(o.Size) { + return nil, false + } + return o.Size, true +} + +// HasSize returns a boolean if a field has been set. +func (o *CargoPackageUploadResponse) HasSize() bool { + if o != nil && !isNil(o.Size) { + return true + } + + return false +} + +// SetSize gets a reference to the given int64 and assigns it to the Size field. +func (o *CargoPackageUploadResponse) SetSize(v int64) { + o.Size = &v +} + +// GetSlug returns the Slug field value if set, zero value otherwise. +func (o *CargoPackageUploadResponse) GetSlug() string { + if o == nil || isNil(o.Slug) { + var ret string + return ret + } + return *o.Slug +} + +// GetSlugOk returns a tuple with the Slug field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *CargoPackageUploadResponse) GetSlugOk() (*string, bool) { + if o == nil || isNil(o.Slug) { + return nil, false + } + return o.Slug, true +} + +// HasSlug returns a boolean if a field has been set. +func (o *CargoPackageUploadResponse) HasSlug() bool { + if o != nil && !isNil(o.Slug) { + return true + } + + return false +} + +// SetSlug gets a reference to the given string and assigns it to the Slug field. +func (o *CargoPackageUploadResponse) SetSlug(v string) { + o.Slug = &v +} + +// GetSlugPerm returns the SlugPerm field value if set, zero value otherwise. +func (o *CargoPackageUploadResponse) GetSlugPerm() string { + if o == nil || isNil(o.SlugPerm) { + var ret string + return ret + } + return *o.SlugPerm +} + +// GetSlugPermOk returns a tuple with the SlugPerm field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *CargoPackageUploadResponse) GetSlugPermOk() (*string, bool) { + if o == nil || isNil(o.SlugPerm) { + return nil, false + } + return o.SlugPerm, true +} + +// HasSlugPerm returns a boolean if a field has been set. +func (o *CargoPackageUploadResponse) HasSlugPerm() bool { + if o != nil && !isNil(o.SlugPerm) { + return true + } + + return false +} + +// SetSlugPerm gets a reference to the given string and assigns it to the SlugPerm field. +func (o *CargoPackageUploadResponse) SetSlugPerm(v string) { + o.SlugPerm = &v +} + +// GetStage returns the Stage field value if set, zero value otherwise. +func (o *CargoPackageUploadResponse) GetStage() int64 { + if o == nil || isNil(o.Stage) { + var ret int64 + return ret + } + return *o.Stage +} + +// GetStageOk returns a tuple with the Stage field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *CargoPackageUploadResponse) GetStageOk() (*int64, bool) { + if o == nil || isNil(o.Stage) { + return nil, false + } + return o.Stage, true +} + +// HasStage returns a boolean if a field has been set. +func (o *CargoPackageUploadResponse) HasStage() bool { + if o != nil && !isNil(o.Stage) { + return true + } + + return false +} + +// SetStage gets a reference to the given int64 and assigns it to the Stage field. +func (o *CargoPackageUploadResponse) SetStage(v int64) { + o.Stage = &v +} + +// GetStageStr returns the StageStr field value if set, zero value otherwise. +func (o *CargoPackageUploadResponse) GetStageStr() string { + if o == nil || isNil(o.StageStr) { + var ret string + return ret + } + return *o.StageStr +} + +// GetStageStrOk returns a tuple with the StageStr field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *CargoPackageUploadResponse) GetStageStrOk() (*string, bool) { + if o == nil || isNil(o.StageStr) { + return nil, false + } + return o.StageStr, true +} + +// HasStageStr returns a boolean if a field has been set. +func (o *CargoPackageUploadResponse) HasStageStr() bool { + if o != nil && !isNil(o.StageStr) { + return true + } + + return false +} + +// SetStageStr gets a reference to the given string and assigns it to the StageStr field. +func (o *CargoPackageUploadResponse) SetStageStr(v string) { + o.StageStr = &v +} + +// GetStageUpdatedAt returns the StageUpdatedAt field value if set, zero value otherwise. +func (o *CargoPackageUploadResponse) GetStageUpdatedAt() time.Time { + if o == nil || isNil(o.StageUpdatedAt) { + var ret time.Time + return ret + } + return *o.StageUpdatedAt +} + +// GetStageUpdatedAtOk returns a tuple with the StageUpdatedAt field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *CargoPackageUploadResponse) GetStageUpdatedAtOk() (*time.Time, bool) { + if o == nil || isNil(o.StageUpdatedAt) { + return nil, false + } + return o.StageUpdatedAt, true +} + +// HasStageUpdatedAt returns a boolean if a field has been set. +func (o *CargoPackageUploadResponse) HasStageUpdatedAt() bool { + if o != nil && !isNil(o.StageUpdatedAt) { + return true + } + + return false +} + +// SetStageUpdatedAt gets a reference to the given time.Time and assigns it to the StageUpdatedAt field. +func (o *CargoPackageUploadResponse) SetStageUpdatedAt(v time.Time) { + o.StageUpdatedAt = &v +} + +// GetStatus returns the Status field value if set, zero value otherwise. +func (o *CargoPackageUploadResponse) GetStatus() int64 { + if o == nil || isNil(o.Status) { + var ret int64 + return ret + } + return *o.Status +} + +// GetStatusOk returns a tuple with the Status field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *CargoPackageUploadResponse) GetStatusOk() (*int64, bool) { + if o == nil || isNil(o.Status) { + return nil, false + } + return o.Status, true +} + +// HasStatus returns a boolean if a field has been set. +func (o *CargoPackageUploadResponse) HasStatus() bool { + if o != nil && !isNil(o.Status) { + return true + } + + return false +} + +// SetStatus gets a reference to the given int64 and assigns it to the Status field. +func (o *CargoPackageUploadResponse) SetStatus(v int64) { + o.Status = &v +} + +// GetStatusReason returns the StatusReason field value if set, zero value otherwise. +func (o *CargoPackageUploadResponse) GetStatusReason() string { + if o == nil || isNil(o.StatusReason) { + var ret string + return ret + } + return *o.StatusReason +} + +// GetStatusReasonOk returns a tuple with the StatusReason field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *CargoPackageUploadResponse) GetStatusReasonOk() (*string, bool) { + if o == nil || isNil(o.StatusReason) { + return nil, false + } + return o.StatusReason, true +} + +// HasStatusReason returns a boolean if a field has been set. +func (o *CargoPackageUploadResponse) HasStatusReason() bool { + if o != nil && !isNil(o.StatusReason) { + return true + } + + return false +} + +// SetStatusReason gets a reference to the given string and assigns it to the StatusReason field. +func (o *CargoPackageUploadResponse) SetStatusReason(v string) { + o.StatusReason = &v +} + +// GetStatusStr returns the StatusStr field value if set, zero value otherwise. +func (o *CargoPackageUploadResponse) GetStatusStr() string { + if o == nil || isNil(o.StatusStr) { + var ret string + return ret + } + return *o.StatusStr +} + +// GetStatusStrOk returns a tuple with the StatusStr field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *CargoPackageUploadResponse) GetStatusStrOk() (*string, bool) { + if o == nil || isNil(o.StatusStr) { + return nil, false + } + return o.StatusStr, true +} + +// HasStatusStr returns a boolean if a field has been set. +func (o *CargoPackageUploadResponse) HasStatusStr() bool { + if o != nil && !isNil(o.StatusStr) { + return true + } + + return false +} + +// SetStatusStr gets a reference to the given string and assigns it to the StatusStr field. +func (o *CargoPackageUploadResponse) SetStatusStr(v string) { + o.StatusStr = &v +} + +// GetStatusUpdatedAt returns the StatusUpdatedAt field value if set, zero value otherwise. +func (o *CargoPackageUploadResponse) GetStatusUpdatedAt() time.Time { + if o == nil || isNil(o.StatusUpdatedAt) { + var ret time.Time + return ret + } + return *o.StatusUpdatedAt +} + +// GetStatusUpdatedAtOk returns a tuple with the StatusUpdatedAt field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *CargoPackageUploadResponse) GetStatusUpdatedAtOk() (*time.Time, bool) { + if o == nil || isNil(o.StatusUpdatedAt) { + return nil, false + } + return o.StatusUpdatedAt, true +} + +// HasStatusUpdatedAt returns a boolean if a field has been set. +func (o *CargoPackageUploadResponse) HasStatusUpdatedAt() bool { + if o != nil && !isNil(o.StatusUpdatedAt) { + return true + } + + return false +} + +// SetStatusUpdatedAt gets a reference to the given time.Time and assigns it to the StatusUpdatedAt field. +func (o *CargoPackageUploadResponse) SetStatusUpdatedAt(v time.Time) { + o.StatusUpdatedAt = &v +} + +// GetStatusUrl returns the StatusUrl field value if set, zero value otherwise. +func (o *CargoPackageUploadResponse) GetStatusUrl() string { + if o == nil || isNil(o.StatusUrl) { + var ret string + return ret + } + return *o.StatusUrl +} + +// GetStatusUrlOk returns a tuple with the StatusUrl field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *CargoPackageUploadResponse) GetStatusUrlOk() (*string, bool) { + if o == nil || isNil(o.StatusUrl) { + return nil, false + } + return o.StatusUrl, true +} + +// HasStatusUrl returns a boolean if a field has been set. +func (o *CargoPackageUploadResponse) HasStatusUrl() bool { + if o != nil && !isNil(o.StatusUrl) { + return true + } + + return false +} + +// SetStatusUrl gets a reference to the given string and assigns it to the StatusUrl field. +func (o *CargoPackageUploadResponse) SetStatusUrl(v string) { + o.StatusUrl = &v +} + +// GetSubtype returns the Subtype field value if set, zero value otherwise. +func (o *CargoPackageUploadResponse) GetSubtype() string { + if o == nil || isNil(o.Subtype) { + var ret string + return ret + } + return *o.Subtype +} + +// GetSubtypeOk returns a tuple with the Subtype field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *CargoPackageUploadResponse) GetSubtypeOk() (*string, bool) { + if o == nil || isNil(o.Subtype) { + return nil, false + } + return o.Subtype, true +} + +// HasSubtype returns a boolean if a field has been set. +func (o *CargoPackageUploadResponse) HasSubtype() bool { + if o != nil && !isNil(o.Subtype) { + return true + } + + return false +} + +// SetSubtype gets a reference to the given string and assigns it to the Subtype field. +func (o *CargoPackageUploadResponse) SetSubtype(v string) { + o.Subtype = &v +} + +// GetSummary returns the Summary field value if set, zero value otherwise. +func (o *CargoPackageUploadResponse) GetSummary() string { + if o == nil || isNil(o.Summary) { + var ret string + return ret + } + return *o.Summary +} + +// GetSummaryOk returns a tuple with the Summary field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *CargoPackageUploadResponse) GetSummaryOk() (*string, bool) { + if o == nil || isNil(o.Summary) { + return nil, false + } + return o.Summary, true +} + +// HasSummary returns a boolean if a field has been set. +func (o *CargoPackageUploadResponse) HasSummary() bool { + if o != nil && !isNil(o.Summary) { + return true + } + + return false +} + +// SetSummary gets a reference to the given string and assigns it to the Summary field. +func (o *CargoPackageUploadResponse) SetSummary(v string) { + o.Summary = &v +} + +// GetSyncFinishedAt returns the SyncFinishedAt field value if set, zero value otherwise. +func (o *CargoPackageUploadResponse) GetSyncFinishedAt() time.Time { + if o == nil || isNil(o.SyncFinishedAt) { + var ret time.Time + return ret + } + return *o.SyncFinishedAt +} + +// GetSyncFinishedAtOk returns a tuple with the SyncFinishedAt field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *CargoPackageUploadResponse) GetSyncFinishedAtOk() (*time.Time, bool) { + if o == nil || isNil(o.SyncFinishedAt) { + return nil, false + } + return o.SyncFinishedAt, true +} + +// HasSyncFinishedAt returns a boolean if a field has been set. +func (o *CargoPackageUploadResponse) HasSyncFinishedAt() bool { + if o != nil && !isNil(o.SyncFinishedAt) { + return true + } + + return false +} + +// SetSyncFinishedAt gets a reference to the given time.Time and assigns it to the SyncFinishedAt field. +func (o *CargoPackageUploadResponse) SetSyncFinishedAt(v time.Time) { + o.SyncFinishedAt = &v +} + +// GetSyncProgress returns the SyncProgress field value if set, zero value otherwise. +func (o *CargoPackageUploadResponse) GetSyncProgress() int64 { + if o == nil || isNil(o.SyncProgress) { + var ret int64 + return ret + } + return *o.SyncProgress +} + +// GetSyncProgressOk returns a tuple with the SyncProgress field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *CargoPackageUploadResponse) GetSyncProgressOk() (*int64, bool) { + if o == nil || isNil(o.SyncProgress) { + return nil, false + } + return o.SyncProgress, true +} + +// HasSyncProgress returns a boolean if a field has been set. +func (o *CargoPackageUploadResponse) HasSyncProgress() bool { + if o != nil && !isNil(o.SyncProgress) { + return true + } + + return false +} + +// SetSyncProgress gets a reference to the given int64 and assigns it to the SyncProgress field. +func (o *CargoPackageUploadResponse) SetSyncProgress(v int64) { + o.SyncProgress = &v +} + +// GetTagsImmutable returns the TagsImmutable field value if set, zero value otherwise. +func (o *CargoPackageUploadResponse) GetTagsImmutable() map[string]interface{} { + if o == nil || isNil(o.TagsImmutable) { + var ret map[string]interface{} + return ret + } + return o.TagsImmutable +} + +// GetTagsImmutableOk returns a tuple with the TagsImmutable field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *CargoPackageUploadResponse) GetTagsImmutableOk() (map[string]interface{}, bool) { + if o == nil || isNil(o.TagsImmutable) { + return map[string]interface{}{}, false + } + return o.TagsImmutable, true +} + +// HasTagsImmutable returns a boolean if a field has been set. +func (o *CargoPackageUploadResponse) HasTagsImmutable() bool { + if o != nil && !isNil(o.TagsImmutable) { + return true + } + + return false +} + +// SetTagsImmutable gets a reference to the given map[string]interface{} and assigns it to the TagsImmutable field. +func (o *CargoPackageUploadResponse) SetTagsImmutable(v map[string]interface{}) { + o.TagsImmutable = v +} + +// GetTypeDisplay returns the TypeDisplay field value if set, zero value otherwise. +func (o *CargoPackageUploadResponse) GetTypeDisplay() string { + if o == nil || isNil(o.TypeDisplay) { + var ret string + return ret + } + return *o.TypeDisplay +} + +// GetTypeDisplayOk returns a tuple with the TypeDisplay field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *CargoPackageUploadResponse) GetTypeDisplayOk() (*string, bool) { + if o == nil || isNil(o.TypeDisplay) { + return nil, false + } + return o.TypeDisplay, true +} + +// HasTypeDisplay returns a boolean if a field has been set. +func (o *CargoPackageUploadResponse) HasTypeDisplay() bool { + if o != nil && !isNil(o.TypeDisplay) { + return true + } + + return false +} + +// SetTypeDisplay gets a reference to the given string and assigns it to the TypeDisplay field. +func (o *CargoPackageUploadResponse) SetTypeDisplay(v string) { + o.TypeDisplay = &v +} + +// GetUploadedAt returns the UploadedAt field value if set, zero value otherwise. +func (o *CargoPackageUploadResponse) GetUploadedAt() time.Time { + if o == nil || isNil(o.UploadedAt) { + var ret time.Time + return ret + } + return *o.UploadedAt +} + +// GetUploadedAtOk returns a tuple with the UploadedAt field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *CargoPackageUploadResponse) GetUploadedAtOk() (*time.Time, bool) { + if o == nil || isNil(o.UploadedAt) { + return nil, false + } + return o.UploadedAt, true +} + +// HasUploadedAt returns a boolean if a field has been set. +func (o *CargoPackageUploadResponse) HasUploadedAt() bool { + if o != nil && !isNil(o.UploadedAt) { + return true + } + + return false +} + +// SetUploadedAt gets a reference to the given time.Time and assigns it to the UploadedAt field. +func (o *CargoPackageUploadResponse) SetUploadedAt(v time.Time) { + o.UploadedAt = &v +} + +// GetUploader returns the Uploader field value if set, zero value otherwise. +func (o *CargoPackageUploadResponse) GetUploader() string { + if o == nil || isNil(o.Uploader) { + var ret string + return ret + } + return *o.Uploader +} + +// GetUploaderOk returns a tuple with the Uploader field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *CargoPackageUploadResponse) GetUploaderOk() (*string, bool) { + if o == nil || isNil(o.Uploader) { + return nil, false + } + return o.Uploader, true +} + +// HasUploader returns a boolean if a field has been set. +func (o *CargoPackageUploadResponse) HasUploader() bool { + if o != nil && !isNil(o.Uploader) { + return true + } + + return false +} + +// SetUploader gets a reference to the given string and assigns it to the Uploader field. +func (o *CargoPackageUploadResponse) SetUploader(v string) { + o.Uploader = &v +} + +// GetUploaderUrl returns the UploaderUrl field value if set, zero value otherwise. +func (o *CargoPackageUploadResponse) GetUploaderUrl() string { + if o == nil || isNil(o.UploaderUrl) { + var ret string + return ret + } + return *o.UploaderUrl +} + +// GetUploaderUrlOk returns a tuple with the UploaderUrl field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *CargoPackageUploadResponse) GetUploaderUrlOk() (*string, bool) { + if o == nil || isNil(o.UploaderUrl) { + return nil, false + } + return o.UploaderUrl, true +} + +// HasUploaderUrl returns a boolean if a field has been set. +func (o *CargoPackageUploadResponse) HasUploaderUrl() bool { + if o != nil && !isNil(o.UploaderUrl) { + return true + } + + return false +} + +// SetUploaderUrl gets a reference to the given string and assigns it to the UploaderUrl field. +func (o *CargoPackageUploadResponse) SetUploaderUrl(v string) { + o.UploaderUrl = &v +} + +// GetVersion returns the Version field value if set, zero value otherwise. +func (o *CargoPackageUploadResponse) GetVersion() string { + if o == nil || isNil(o.Version) { + var ret string + return ret + } + return *o.Version +} + +// GetVersionOk returns a tuple with the Version field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *CargoPackageUploadResponse) GetVersionOk() (*string, bool) { + if o == nil || isNil(o.Version) { + return nil, false + } + return o.Version, true +} + +// HasVersion returns a boolean if a field has been set. +func (o *CargoPackageUploadResponse) HasVersion() bool { + if o != nil && !isNil(o.Version) { + return true + } + + return false +} + +// SetVersion gets a reference to the given string and assigns it to the Version field. +func (o *CargoPackageUploadResponse) SetVersion(v string) { + o.Version = &v +} + +// GetVersionOrig returns the VersionOrig field value if set, zero value otherwise. +func (o *CargoPackageUploadResponse) GetVersionOrig() string { + if o == nil || isNil(o.VersionOrig) { + var ret string + return ret + } + return *o.VersionOrig +} + +// GetVersionOrigOk returns a tuple with the VersionOrig field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *CargoPackageUploadResponse) GetVersionOrigOk() (*string, bool) { + if o == nil || isNil(o.VersionOrig) { + return nil, false + } + return o.VersionOrig, true +} + +// HasVersionOrig returns a boolean if a field has been set. +func (o *CargoPackageUploadResponse) HasVersionOrig() bool { + if o != nil && !isNil(o.VersionOrig) { + return true + } + + return false +} + +// SetVersionOrig gets a reference to the given string and assigns it to the VersionOrig field. +func (o *CargoPackageUploadResponse) SetVersionOrig(v string) { + o.VersionOrig = &v +} + +// GetVulnerabilityScanResultsUrl returns the VulnerabilityScanResultsUrl field value if set, zero value otherwise. +func (o *CargoPackageUploadResponse) GetVulnerabilityScanResultsUrl() string { + if o == nil || isNil(o.VulnerabilityScanResultsUrl) { + var ret string + return ret + } + return *o.VulnerabilityScanResultsUrl +} + +// GetVulnerabilityScanResultsUrlOk returns a tuple with the VulnerabilityScanResultsUrl field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *CargoPackageUploadResponse) GetVulnerabilityScanResultsUrlOk() (*string, bool) { + if o == nil || isNil(o.VulnerabilityScanResultsUrl) { + return nil, false + } + return o.VulnerabilityScanResultsUrl, true +} + +// HasVulnerabilityScanResultsUrl returns a boolean if a field has been set. +func (o *CargoPackageUploadResponse) HasVulnerabilityScanResultsUrl() bool { + if o != nil && !isNil(o.VulnerabilityScanResultsUrl) { + return true + } + + return false +} + +// SetVulnerabilityScanResultsUrl gets a reference to the given string and assigns it to the VulnerabilityScanResultsUrl field. +func (o *CargoPackageUploadResponse) SetVulnerabilityScanResultsUrl(v string) { + o.VulnerabilityScanResultsUrl = &v +} + +func (o CargoPackageUploadResponse) MarshalJSON() ([]byte, error) { + toSerialize := map[string]interface{}{} + if !isNil(o.Architectures) { + toSerialize["architectures"] = o.Architectures + } + if o.CdnUrl.IsSet() { + toSerialize["cdn_url"] = o.CdnUrl.Get() + } + if !isNil(o.ChecksumMd5) { + toSerialize["checksum_md5"] = o.ChecksumMd5 + } + if !isNil(o.ChecksumSha1) { + toSerialize["checksum_sha1"] = o.ChecksumSha1 + } + if !isNil(o.ChecksumSha256) { + toSerialize["checksum_sha256"] = o.ChecksumSha256 + } + if !isNil(o.ChecksumSha512) { + toSerialize["checksum_sha512"] = o.ChecksumSha512 + } + if !isNil(o.DependenciesChecksumMd5) { + toSerialize["dependencies_checksum_md5"] = o.DependenciesChecksumMd5 + } + if !isNil(o.DependenciesUrl) { + toSerialize["dependencies_url"] = o.DependenciesUrl + } + if !isNil(o.Description) { + toSerialize["description"] = o.Description + } + if o.Distro.IsSet() { + toSerialize["distro"] = o.Distro.Get() + } + if !isNil(o.DistroVersion) { + toSerialize["distro_version"] = o.DistroVersion + } + if !isNil(o.Downloads) { + toSerialize["downloads"] = o.Downloads + } + if !isNil(o.Epoch) { + toSerialize["epoch"] = o.Epoch + } + if !isNil(o.Extension) { + toSerialize["extension"] = o.Extension + } + if !isNil(o.Filename) { + toSerialize["filename"] = o.Filename + } + if !isNil(o.Files) { + toSerialize["files"] = o.Files + } + if !isNil(o.Format) { + toSerialize["format"] = o.Format + } + if !isNil(o.FormatUrl) { + toSerialize["format_url"] = o.FormatUrl + } + if !isNil(o.IdentifierPerm) { + toSerialize["identifier_perm"] = o.IdentifierPerm + } + if !isNil(o.Indexed) { + toSerialize["indexed"] = o.Indexed + } + if !isNil(o.IsDownloadable) { + toSerialize["is_downloadable"] = o.IsDownloadable + } + if !isNil(o.IsQuarantined) { + toSerialize["is_quarantined"] = o.IsQuarantined + } + if !isNil(o.IsSyncAwaiting) { + toSerialize["is_sync_awaiting"] = o.IsSyncAwaiting + } + if !isNil(o.IsSyncCompleted) { + toSerialize["is_sync_completed"] = o.IsSyncCompleted + } + if !isNil(o.IsSyncFailed) { + toSerialize["is_sync_failed"] = o.IsSyncFailed + } + if !isNil(o.IsSyncInFlight) { + toSerialize["is_sync_in_flight"] = o.IsSyncInFlight + } + if !isNil(o.IsSyncInProgress) { + toSerialize["is_sync_in_progress"] = o.IsSyncInProgress + } + if !isNil(o.License) { + toSerialize["license"] = o.License + } + if !isNil(o.Name) { + toSerialize["name"] = o.Name + } + if !isNil(o.Namespace) { + toSerialize["namespace"] = o.Namespace + } + if !isNil(o.NamespaceUrl) { + toSerialize["namespace_url"] = o.NamespaceUrl + } + if !isNil(o.NumFiles) { + toSerialize["num_files"] = o.NumFiles + } + if !isNil(o.OriginRepository) { + toSerialize["origin_repository"] = o.OriginRepository + } + if !isNil(o.OriginRepositoryUrl) { + toSerialize["origin_repository_url"] = o.OriginRepositoryUrl + } + if !isNil(o.PackageType) { + toSerialize["package_type"] = o.PackageType + } + if !isNil(o.Release) { + toSerialize["release"] = o.Release + } + if !isNil(o.Repository) { + toSerialize["repository"] = o.Repository + } + if !isNil(o.RepositoryUrl) { + toSerialize["repository_url"] = o.RepositoryUrl + } + if !isNil(o.SecurityScanCompletedAt) { + toSerialize["security_scan_completed_at"] = o.SecurityScanCompletedAt + } + if !isNil(o.SecurityScanStartedAt) { + toSerialize["security_scan_started_at"] = o.SecurityScanStartedAt + } + if o.SecurityScanStatus.IsSet() { + toSerialize["security_scan_status"] = o.SecurityScanStatus.Get() + } + if !isNil(o.SecurityScanStatusUpdatedAt) { + toSerialize["security_scan_status_updated_at"] = o.SecurityScanStatusUpdatedAt + } + if !isNil(o.SelfHtmlUrl) { + toSerialize["self_html_url"] = o.SelfHtmlUrl + } + if !isNil(o.SelfUrl) { + toSerialize["self_url"] = o.SelfUrl + } + if o.SignatureUrl.IsSet() { + toSerialize["signature_url"] = o.SignatureUrl.Get() + } + if !isNil(o.Size) { + toSerialize["size"] = o.Size + } + if !isNil(o.Slug) { + toSerialize["slug"] = o.Slug + } + if !isNil(o.SlugPerm) { + toSerialize["slug_perm"] = o.SlugPerm + } + if !isNil(o.Stage) { + toSerialize["stage"] = o.Stage + } + if !isNil(o.StageStr) { + toSerialize["stage_str"] = o.StageStr + } + if !isNil(o.StageUpdatedAt) { + toSerialize["stage_updated_at"] = o.StageUpdatedAt + } + if !isNil(o.Status) { + toSerialize["status"] = o.Status + } + if !isNil(o.StatusReason) { + toSerialize["status_reason"] = o.StatusReason + } + if !isNil(o.StatusStr) { + toSerialize["status_str"] = o.StatusStr + } + if !isNil(o.StatusUpdatedAt) { + toSerialize["status_updated_at"] = o.StatusUpdatedAt + } + if !isNil(o.StatusUrl) { + toSerialize["status_url"] = o.StatusUrl + } + if !isNil(o.Subtype) { + toSerialize["subtype"] = o.Subtype + } + if !isNil(o.Summary) { + toSerialize["summary"] = o.Summary + } + if !isNil(o.SyncFinishedAt) { + toSerialize["sync_finished_at"] = o.SyncFinishedAt + } + if !isNil(o.SyncProgress) { + toSerialize["sync_progress"] = o.SyncProgress + } + if !isNil(o.TagsImmutable) { + toSerialize["tags_immutable"] = o.TagsImmutable + } + if !isNil(o.TypeDisplay) { + toSerialize["type_display"] = o.TypeDisplay + } + if !isNil(o.UploadedAt) { + toSerialize["uploaded_at"] = o.UploadedAt + } + if !isNil(o.Uploader) { + toSerialize["uploader"] = o.Uploader + } + if !isNil(o.UploaderUrl) { + toSerialize["uploader_url"] = o.UploaderUrl + } + if !isNil(o.Version) { + toSerialize["version"] = o.Version + } + if !isNil(o.VersionOrig) { + toSerialize["version_orig"] = o.VersionOrig + } + if !isNil(o.VulnerabilityScanResultsUrl) { + toSerialize["vulnerability_scan_results_url"] = o.VulnerabilityScanResultsUrl + } + return json.Marshal(toSerialize) +} + +type NullableCargoPackageUploadResponse struct { + value *CargoPackageUploadResponse + isSet bool +} + +func (v NullableCargoPackageUploadResponse) Get() *CargoPackageUploadResponse { + return v.value +} + +func (v *NullableCargoPackageUploadResponse) Set(val *CargoPackageUploadResponse) { + v.value = val + v.isSet = true +} + +func (v NullableCargoPackageUploadResponse) IsSet() bool { + return v.isSet +} + +func (v *NullableCargoPackageUploadResponse) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableCargoPackageUploadResponse(val *CargoPackageUploadResponse) *NullableCargoPackageUploadResponse { + return &NullableCargoPackageUploadResponse{value: val, isSet: true} +} + +func (v NullableCargoPackageUploadResponse) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableCargoPackageUploadResponse) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} diff --git a/model_cocoapods_package_upload_request.go b/model_cocoapods_package_upload_request.go new file mode 100644 index 00000000..cc5fa9ae --- /dev/null +++ b/model_cocoapods_package_upload_request.go @@ -0,0 +1,193 @@ +/* +Cloudsmith API (v1) + +The API to the Cloudsmith Service + +API version: 1.181.6 +Contact: support@cloudsmith.io +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cloudsmith + +import ( + "encoding/json" +) + +// CocoapodsPackageUploadRequest struct for CocoapodsPackageUploadRequest +type CocoapodsPackageUploadRequest struct { + // The primary file for the package. + PackageFile string `json:"package_file"` + // If true, the uploaded package will overwrite any others with the same attributes (e.g. same version); otherwise, it will be flagged as a duplicate. + Republish *bool `json:"republish,omitempty"` + // A comma-separated values list of tags to add to the package. + Tags NullableString `json:"tags,omitempty"` +} + +// NewCocoapodsPackageUploadRequest instantiates a new CocoapodsPackageUploadRequest object +// 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 NewCocoapodsPackageUploadRequest(packageFile string) *CocoapodsPackageUploadRequest { + this := CocoapodsPackageUploadRequest{} + this.PackageFile = packageFile + return &this +} + +// NewCocoapodsPackageUploadRequestWithDefaults instantiates a new CocoapodsPackageUploadRequest object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewCocoapodsPackageUploadRequestWithDefaults() *CocoapodsPackageUploadRequest { + this := CocoapodsPackageUploadRequest{} + return &this +} + +// GetPackageFile returns the PackageFile field value +func (o *CocoapodsPackageUploadRequest) GetPackageFile() string { + if o == nil { + var ret string + return ret + } + + return o.PackageFile +} + +// GetPackageFileOk returns a tuple with the PackageFile field value +// and a boolean to check if the value has been set. +func (o *CocoapodsPackageUploadRequest) GetPackageFileOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.PackageFile, true +} + +// SetPackageFile sets field value +func (o *CocoapodsPackageUploadRequest) SetPackageFile(v string) { + o.PackageFile = v +} + +// GetRepublish returns the Republish field value if set, zero value otherwise. +func (o *CocoapodsPackageUploadRequest) GetRepublish() bool { + if o == nil || isNil(o.Republish) { + var ret bool + return ret + } + return *o.Republish +} + +// GetRepublishOk returns a tuple with the Republish field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *CocoapodsPackageUploadRequest) GetRepublishOk() (*bool, bool) { + if o == nil || isNil(o.Republish) { + return nil, false + } + return o.Republish, true +} + +// HasRepublish returns a boolean if a field has been set. +func (o *CocoapodsPackageUploadRequest) HasRepublish() bool { + if o != nil && !isNil(o.Republish) { + return true + } + + return false +} + +// SetRepublish gets a reference to the given bool and assigns it to the Republish field. +func (o *CocoapodsPackageUploadRequest) SetRepublish(v bool) { + o.Republish = &v +} + +// GetTags returns the Tags field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *CocoapodsPackageUploadRequest) GetTags() string { + if o == nil || isNil(o.Tags.Get()) { + var ret string + return ret + } + return *o.Tags.Get() +} + +// GetTagsOk returns a tuple with the Tags 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 *CocoapodsPackageUploadRequest) GetTagsOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.Tags.Get(), o.Tags.IsSet() +} + +// HasTags returns a boolean if a field has been set. +func (o *CocoapodsPackageUploadRequest) HasTags() bool { + if o != nil && o.Tags.IsSet() { + return true + } + + return false +} + +// SetTags gets a reference to the given NullableString and assigns it to the Tags field. +func (o *CocoapodsPackageUploadRequest) SetTags(v string) { + o.Tags.Set(&v) +} + +// SetTagsNil sets the value for Tags to be an explicit nil +func (o *CocoapodsPackageUploadRequest) SetTagsNil() { + o.Tags.Set(nil) +} + +// UnsetTags ensures that no value is present for Tags, not even an explicit nil +func (o *CocoapodsPackageUploadRequest) UnsetTags() { + o.Tags.Unset() +} + +func (o CocoapodsPackageUploadRequest) MarshalJSON() ([]byte, error) { + toSerialize := map[string]interface{}{} + if true { + toSerialize["package_file"] = o.PackageFile + } + if !isNil(o.Republish) { + toSerialize["republish"] = o.Republish + } + if o.Tags.IsSet() { + toSerialize["tags"] = o.Tags.Get() + } + return json.Marshal(toSerialize) +} + +type NullableCocoapodsPackageUploadRequest struct { + value *CocoapodsPackageUploadRequest + isSet bool +} + +func (v NullableCocoapodsPackageUploadRequest) Get() *CocoapodsPackageUploadRequest { + return v.value +} + +func (v *NullableCocoapodsPackageUploadRequest) Set(val *CocoapodsPackageUploadRequest) { + v.value = val + v.isSet = true +} + +func (v NullableCocoapodsPackageUploadRequest) IsSet() bool { + return v.isSet +} + +func (v *NullableCocoapodsPackageUploadRequest) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableCocoapodsPackageUploadRequest(val *CocoapodsPackageUploadRequest) *NullableCocoapodsPackageUploadRequest { + return &NullableCocoapodsPackageUploadRequest{value: val, isSet: true} +} + +func (v NullableCocoapodsPackageUploadRequest) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableCocoapodsPackageUploadRequest) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} diff --git a/model_cocoapods_package_upload_response.go b/model_cocoapods_package_upload_response.go new file mode 100644 index 00000000..186036e7 --- /dev/null +++ b/model_cocoapods_package_upload_response.go @@ -0,0 +1,2595 @@ +/* +Cloudsmith API (v1) + +The API to the Cloudsmith Service + +API version: 1.181.6 +Contact: support@cloudsmith.io +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cloudsmith + +import ( + "encoding/json" + "time" +) + +// CocoapodsPackageUploadResponse struct for CocoapodsPackageUploadResponse +type CocoapodsPackageUploadResponse struct { + Architectures []Architecture `json:"architectures,omitempty"` + CdnUrl NullableString `json:"cdn_url,omitempty"` + ChecksumMd5 *string `json:"checksum_md5,omitempty"` + ChecksumSha1 *string `json:"checksum_sha1,omitempty"` + ChecksumSha256 *string `json:"checksum_sha256,omitempty"` + ChecksumSha512 *string `json:"checksum_sha512,omitempty"` + // A checksum of all of the package's dependencies. + DependenciesChecksumMd5 *string `json:"dependencies_checksum_md5,omitempty"` + DependenciesUrl *string `json:"dependencies_url,omitempty"` + // A textual description of this package. + Description *string `json:"description,omitempty"` + Distro NullableDistribution `json:"distro,omitempty"` + DistroVersion *DistributionVersion `json:"distro_version,omitempty"` + Downloads *int64 `json:"downloads,omitempty"` + // The epoch of the package version (if any). + Epoch *int64 `json:"epoch,omitempty"` + Extension *string `json:"extension,omitempty"` + Filename *string `json:"filename,omitempty"` + Files []PackageFile `json:"files,omitempty"` + Format *string `json:"format,omitempty"` + FormatUrl *string `json:"format_url,omitempty"` + // Unique and permanent identifier for the package. + IdentifierPerm *string `json:"identifier_perm,omitempty"` + Indexed *bool `json:"indexed,omitempty"` + IsDownloadable *bool `json:"is_downloadable,omitempty"` + IsQuarantined *bool `json:"is_quarantined,omitempty"` + IsSyncAwaiting *bool `json:"is_sync_awaiting,omitempty"` + IsSyncCompleted *bool `json:"is_sync_completed,omitempty"` + IsSyncFailed *bool `json:"is_sync_failed,omitempty"` + IsSyncInFlight *bool `json:"is_sync_in_flight,omitempty"` + IsSyncInProgress *bool `json:"is_sync_in_progress,omitempty"` + // The license of this package. + License *string `json:"license,omitempty"` + // The name of this package. + Name *string `json:"name,omitempty"` + Namespace *string `json:"namespace,omitempty"` + NamespaceUrl *string `json:"namespace_url,omitempty"` + NumFiles *int64 `json:"num_files,omitempty"` + OriginRepository *string `json:"origin_repository,omitempty"` + OriginRepositoryUrl *string `json:"origin_repository_url,omitempty"` + // The type of package contents. + PackageType *int64 `json:"package_type,omitempty"` + // The release of the package version (if any). + Release *string `json:"release,omitempty"` + Repository *string `json:"repository,omitempty"` + RepositoryUrl *string `json:"repository_url,omitempty"` + // The datetime the security scanning was completed. + SecurityScanCompletedAt *time.Time `json:"security_scan_completed_at,omitempty"` + // The datetime the security scanning was started. + SecurityScanStartedAt *time.Time `json:"security_scan_started_at,omitempty"` + SecurityScanStatus NullableString `json:"security_scan_status,omitempty"` + // The datetime the security scanning status was updated. + SecurityScanStatusUpdatedAt *time.Time `json:"security_scan_status_updated_at,omitempty"` + SelfHtmlUrl *string `json:"self_html_url,omitempty"` + SelfUrl *string `json:"self_url,omitempty"` + SignatureUrl NullableString `json:"signature_url,omitempty"` + // The calculated size of the package. + Size *int64 `json:"size,omitempty"` + // The public unique identifier for the package. + Slug *string `json:"slug,omitempty"` + SlugPerm *string `json:"slug_perm,omitempty"` + // The synchronisation (in progress) stage of the package. + Stage *int64 `json:"stage,omitempty"` + StageStr *string `json:"stage_str,omitempty"` + // The datetime the package stage was updated at. + StageUpdatedAt *time.Time `json:"stage_updated_at,omitempty"` + // The synchronisation status of the package. + Status *int64 `json:"status,omitempty"` + // A textual description for the synchronous status reason (if any + StatusReason *string `json:"status_reason,omitempty"` + StatusStr *string `json:"status_str,omitempty"` + // The datetime the package status was updated at. + StatusUpdatedAt *time.Time `json:"status_updated_at,omitempty"` + StatusUrl *string `json:"status_url,omitempty"` + Subtype *string `json:"subtype,omitempty"` + // A one-liner synopsis of this package. + Summary *string `json:"summary,omitempty"` + // The datetime the package sync was finished at. + SyncFinishedAt *time.Time `json:"sync_finished_at,omitempty"` + // Synchronisation progress (from 0-100) + SyncProgress *int64 `json:"sync_progress,omitempty"` + // All tags on the package, grouped by tag type. This includes immutable tags, but doesn't distinguish them from mutable. To see which tags are immutable specifically, see the tags_immutable field. + TagsImmutable map[string]interface{} `json:"tags_immutable,omitempty"` + TypeDisplay *string `json:"type_display,omitempty"` + // The date this package was uploaded. + UploadedAt *time.Time `json:"uploaded_at,omitempty"` + Uploader *string `json:"uploader,omitempty"` + UploaderUrl *string `json:"uploader_url,omitempty"` + // The raw version for this package. + Version *string `json:"version,omitempty"` + VersionOrig *string `json:"version_orig,omitempty"` + VulnerabilityScanResultsUrl *string `json:"vulnerability_scan_results_url,omitempty"` +} + +// NewCocoapodsPackageUploadResponse instantiates a new CocoapodsPackageUploadResponse object +// 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 NewCocoapodsPackageUploadResponse() *CocoapodsPackageUploadResponse { + this := CocoapodsPackageUploadResponse{} + return &this +} + +// NewCocoapodsPackageUploadResponseWithDefaults instantiates a new CocoapodsPackageUploadResponse object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewCocoapodsPackageUploadResponseWithDefaults() *CocoapodsPackageUploadResponse { + this := CocoapodsPackageUploadResponse{} + return &this +} + +// GetArchitectures returns the Architectures field value if set, zero value otherwise. +func (o *CocoapodsPackageUploadResponse) GetArchitectures() []Architecture { + if o == nil || isNil(o.Architectures) { + var ret []Architecture + return ret + } + return o.Architectures +} + +// GetArchitecturesOk returns a tuple with the Architectures field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *CocoapodsPackageUploadResponse) GetArchitecturesOk() ([]Architecture, bool) { + if o == nil || isNil(o.Architectures) { + return nil, false + } + return o.Architectures, true +} + +// HasArchitectures returns a boolean if a field has been set. +func (o *CocoapodsPackageUploadResponse) HasArchitectures() bool { + if o != nil && !isNil(o.Architectures) { + return true + } + + return false +} + +// SetArchitectures gets a reference to the given []Architecture and assigns it to the Architectures field. +func (o *CocoapodsPackageUploadResponse) SetArchitectures(v []Architecture) { + o.Architectures = v +} + +// GetCdnUrl returns the CdnUrl field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *CocoapodsPackageUploadResponse) GetCdnUrl() string { + if o == nil || isNil(o.CdnUrl.Get()) { + var ret string + return ret + } + return *o.CdnUrl.Get() +} + +// GetCdnUrlOk returns a tuple with the CdnUrl 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 *CocoapodsPackageUploadResponse) GetCdnUrlOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.CdnUrl.Get(), o.CdnUrl.IsSet() +} + +// HasCdnUrl returns a boolean if a field has been set. +func (o *CocoapodsPackageUploadResponse) HasCdnUrl() bool { + if o != nil && o.CdnUrl.IsSet() { + return true + } + + return false +} + +// SetCdnUrl gets a reference to the given NullableString and assigns it to the CdnUrl field. +func (o *CocoapodsPackageUploadResponse) SetCdnUrl(v string) { + o.CdnUrl.Set(&v) +} + +// SetCdnUrlNil sets the value for CdnUrl to be an explicit nil +func (o *CocoapodsPackageUploadResponse) SetCdnUrlNil() { + o.CdnUrl.Set(nil) +} + +// UnsetCdnUrl ensures that no value is present for CdnUrl, not even an explicit nil +func (o *CocoapodsPackageUploadResponse) UnsetCdnUrl() { + o.CdnUrl.Unset() +} + +// GetChecksumMd5 returns the ChecksumMd5 field value if set, zero value otherwise. +func (o *CocoapodsPackageUploadResponse) GetChecksumMd5() string { + if o == nil || isNil(o.ChecksumMd5) { + var ret string + return ret + } + return *o.ChecksumMd5 +} + +// GetChecksumMd5Ok returns a tuple with the ChecksumMd5 field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *CocoapodsPackageUploadResponse) GetChecksumMd5Ok() (*string, bool) { + if o == nil || isNil(o.ChecksumMd5) { + return nil, false + } + return o.ChecksumMd5, true +} + +// HasChecksumMd5 returns a boolean if a field has been set. +func (o *CocoapodsPackageUploadResponse) HasChecksumMd5() bool { + if o != nil && !isNil(o.ChecksumMd5) { + return true + } + + return false +} + +// SetChecksumMd5 gets a reference to the given string and assigns it to the ChecksumMd5 field. +func (o *CocoapodsPackageUploadResponse) SetChecksumMd5(v string) { + o.ChecksumMd5 = &v +} + +// GetChecksumSha1 returns the ChecksumSha1 field value if set, zero value otherwise. +func (o *CocoapodsPackageUploadResponse) GetChecksumSha1() string { + if o == nil || isNil(o.ChecksumSha1) { + var ret string + return ret + } + return *o.ChecksumSha1 +} + +// GetChecksumSha1Ok returns a tuple with the ChecksumSha1 field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *CocoapodsPackageUploadResponse) GetChecksumSha1Ok() (*string, bool) { + if o == nil || isNil(o.ChecksumSha1) { + return nil, false + } + return o.ChecksumSha1, true +} + +// HasChecksumSha1 returns a boolean if a field has been set. +func (o *CocoapodsPackageUploadResponse) HasChecksumSha1() bool { + if o != nil && !isNil(o.ChecksumSha1) { + return true + } + + return false +} + +// SetChecksumSha1 gets a reference to the given string and assigns it to the ChecksumSha1 field. +func (o *CocoapodsPackageUploadResponse) SetChecksumSha1(v string) { + o.ChecksumSha1 = &v +} + +// GetChecksumSha256 returns the ChecksumSha256 field value if set, zero value otherwise. +func (o *CocoapodsPackageUploadResponse) GetChecksumSha256() string { + if o == nil || isNil(o.ChecksumSha256) { + var ret string + return ret + } + return *o.ChecksumSha256 +} + +// GetChecksumSha256Ok returns a tuple with the ChecksumSha256 field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *CocoapodsPackageUploadResponse) GetChecksumSha256Ok() (*string, bool) { + if o == nil || isNil(o.ChecksumSha256) { + return nil, false + } + return o.ChecksumSha256, true +} + +// HasChecksumSha256 returns a boolean if a field has been set. +func (o *CocoapodsPackageUploadResponse) HasChecksumSha256() bool { + if o != nil && !isNil(o.ChecksumSha256) { + return true + } + + return false +} + +// SetChecksumSha256 gets a reference to the given string and assigns it to the ChecksumSha256 field. +func (o *CocoapodsPackageUploadResponse) SetChecksumSha256(v string) { + o.ChecksumSha256 = &v +} + +// GetChecksumSha512 returns the ChecksumSha512 field value if set, zero value otherwise. +func (o *CocoapodsPackageUploadResponse) GetChecksumSha512() string { + if o == nil || isNil(o.ChecksumSha512) { + var ret string + return ret + } + return *o.ChecksumSha512 +} + +// GetChecksumSha512Ok returns a tuple with the ChecksumSha512 field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *CocoapodsPackageUploadResponse) GetChecksumSha512Ok() (*string, bool) { + if o == nil || isNil(o.ChecksumSha512) { + return nil, false + } + return o.ChecksumSha512, true +} + +// HasChecksumSha512 returns a boolean if a field has been set. +func (o *CocoapodsPackageUploadResponse) HasChecksumSha512() bool { + if o != nil && !isNil(o.ChecksumSha512) { + return true + } + + return false +} + +// SetChecksumSha512 gets a reference to the given string and assigns it to the ChecksumSha512 field. +func (o *CocoapodsPackageUploadResponse) SetChecksumSha512(v string) { + o.ChecksumSha512 = &v +} + +// GetDependenciesChecksumMd5 returns the DependenciesChecksumMd5 field value if set, zero value otherwise. +func (o *CocoapodsPackageUploadResponse) GetDependenciesChecksumMd5() string { + if o == nil || isNil(o.DependenciesChecksumMd5) { + var ret string + return ret + } + return *o.DependenciesChecksumMd5 +} + +// GetDependenciesChecksumMd5Ok returns a tuple with the DependenciesChecksumMd5 field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *CocoapodsPackageUploadResponse) GetDependenciesChecksumMd5Ok() (*string, bool) { + if o == nil || isNil(o.DependenciesChecksumMd5) { + return nil, false + } + return o.DependenciesChecksumMd5, true +} + +// HasDependenciesChecksumMd5 returns a boolean if a field has been set. +func (o *CocoapodsPackageUploadResponse) HasDependenciesChecksumMd5() bool { + if o != nil && !isNil(o.DependenciesChecksumMd5) { + return true + } + + return false +} + +// SetDependenciesChecksumMd5 gets a reference to the given string and assigns it to the DependenciesChecksumMd5 field. +func (o *CocoapodsPackageUploadResponse) SetDependenciesChecksumMd5(v string) { + o.DependenciesChecksumMd5 = &v +} + +// GetDependenciesUrl returns the DependenciesUrl field value if set, zero value otherwise. +func (o *CocoapodsPackageUploadResponse) GetDependenciesUrl() string { + if o == nil || isNil(o.DependenciesUrl) { + var ret string + return ret + } + return *o.DependenciesUrl +} + +// GetDependenciesUrlOk returns a tuple with the DependenciesUrl field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *CocoapodsPackageUploadResponse) GetDependenciesUrlOk() (*string, bool) { + if o == nil || isNil(o.DependenciesUrl) { + return nil, false + } + return o.DependenciesUrl, true +} + +// HasDependenciesUrl returns a boolean if a field has been set. +func (o *CocoapodsPackageUploadResponse) HasDependenciesUrl() bool { + if o != nil && !isNil(o.DependenciesUrl) { + return true + } + + return false +} + +// SetDependenciesUrl gets a reference to the given string and assigns it to the DependenciesUrl field. +func (o *CocoapodsPackageUploadResponse) SetDependenciesUrl(v string) { + o.DependenciesUrl = &v +} + +// GetDescription returns the Description field value if set, zero value otherwise. +func (o *CocoapodsPackageUploadResponse) GetDescription() string { + if o == nil || isNil(o.Description) { + var ret string + return ret + } + return *o.Description +} + +// GetDescriptionOk returns a tuple with the Description field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *CocoapodsPackageUploadResponse) GetDescriptionOk() (*string, bool) { + if o == nil || isNil(o.Description) { + return nil, false + } + return o.Description, true +} + +// HasDescription returns a boolean if a field has been set. +func (o *CocoapodsPackageUploadResponse) HasDescription() bool { + if o != nil && !isNil(o.Description) { + return true + } + + return false +} + +// SetDescription gets a reference to the given string and assigns it to the Description field. +func (o *CocoapodsPackageUploadResponse) SetDescription(v string) { + o.Description = &v +} + +// GetDistro returns the Distro field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *CocoapodsPackageUploadResponse) GetDistro() Distribution { + if o == nil || isNil(o.Distro.Get()) { + var ret Distribution + return ret + } + return *o.Distro.Get() +} + +// GetDistroOk returns a tuple with the Distro 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 *CocoapodsPackageUploadResponse) GetDistroOk() (*Distribution, bool) { + if o == nil { + return nil, false + } + return o.Distro.Get(), o.Distro.IsSet() +} + +// HasDistro returns a boolean if a field has been set. +func (o *CocoapodsPackageUploadResponse) HasDistro() bool { + if o != nil && o.Distro.IsSet() { + return true + } + + return false +} + +// SetDistro gets a reference to the given NullableDistribution and assigns it to the Distro field. +func (o *CocoapodsPackageUploadResponse) SetDistro(v Distribution) { + o.Distro.Set(&v) +} + +// SetDistroNil sets the value for Distro to be an explicit nil +func (o *CocoapodsPackageUploadResponse) SetDistroNil() { + o.Distro.Set(nil) +} + +// UnsetDistro ensures that no value is present for Distro, not even an explicit nil +func (o *CocoapodsPackageUploadResponse) UnsetDistro() { + o.Distro.Unset() +} + +// GetDistroVersion returns the DistroVersion field value if set, zero value otherwise. +func (o *CocoapodsPackageUploadResponse) GetDistroVersion() DistributionVersion { + if o == nil || isNil(o.DistroVersion) { + var ret DistributionVersion + return ret + } + return *o.DistroVersion +} + +// GetDistroVersionOk returns a tuple with the DistroVersion field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *CocoapodsPackageUploadResponse) GetDistroVersionOk() (*DistributionVersion, bool) { + if o == nil || isNil(o.DistroVersion) { + return nil, false + } + return o.DistroVersion, true +} + +// HasDistroVersion returns a boolean if a field has been set. +func (o *CocoapodsPackageUploadResponse) HasDistroVersion() bool { + if o != nil && !isNil(o.DistroVersion) { + return true + } + + return false +} + +// SetDistroVersion gets a reference to the given DistributionVersion and assigns it to the DistroVersion field. +func (o *CocoapodsPackageUploadResponse) SetDistroVersion(v DistributionVersion) { + o.DistroVersion = &v +} + +// GetDownloads returns the Downloads field value if set, zero value otherwise. +func (o *CocoapodsPackageUploadResponse) GetDownloads() int64 { + if o == nil || isNil(o.Downloads) { + var ret int64 + return ret + } + return *o.Downloads +} + +// GetDownloadsOk returns a tuple with the Downloads field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *CocoapodsPackageUploadResponse) GetDownloadsOk() (*int64, bool) { + if o == nil || isNil(o.Downloads) { + return nil, false + } + return o.Downloads, true +} + +// HasDownloads returns a boolean if a field has been set. +func (o *CocoapodsPackageUploadResponse) HasDownloads() bool { + if o != nil && !isNil(o.Downloads) { + return true + } + + return false +} + +// SetDownloads gets a reference to the given int64 and assigns it to the Downloads field. +func (o *CocoapodsPackageUploadResponse) SetDownloads(v int64) { + o.Downloads = &v +} + +// GetEpoch returns the Epoch field value if set, zero value otherwise. +func (o *CocoapodsPackageUploadResponse) GetEpoch() int64 { + if o == nil || isNil(o.Epoch) { + var ret int64 + return ret + } + return *o.Epoch +} + +// GetEpochOk returns a tuple with the Epoch field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *CocoapodsPackageUploadResponse) GetEpochOk() (*int64, bool) { + if o == nil || isNil(o.Epoch) { + return nil, false + } + return o.Epoch, true +} + +// HasEpoch returns a boolean if a field has been set. +func (o *CocoapodsPackageUploadResponse) HasEpoch() bool { + if o != nil && !isNil(o.Epoch) { + return true + } + + return false +} + +// SetEpoch gets a reference to the given int64 and assigns it to the Epoch field. +func (o *CocoapodsPackageUploadResponse) SetEpoch(v int64) { + o.Epoch = &v +} + +// GetExtension returns the Extension field value if set, zero value otherwise. +func (o *CocoapodsPackageUploadResponse) GetExtension() string { + if o == nil || isNil(o.Extension) { + var ret string + return ret + } + return *o.Extension +} + +// GetExtensionOk returns a tuple with the Extension field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *CocoapodsPackageUploadResponse) GetExtensionOk() (*string, bool) { + if o == nil || isNil(o.Extension) { + return nil, false + } + return o.Extension, true +} + +// HasExtension returns a boolean if a field has been set. +func (o *CocoapodsPackageUploadResponse) HasExtension() bool { + if o != nil && !isNil(o.Extension) { + return true + } + + return false +} + +// SetExtension gets a reference to the given string and assigns it to the Extension field. +func (o *CocoapodsPackageUploadResponse) SetExtension(v string) { + o.Extension = &v +} + +// GetFilename returns the Filename field value if set, zero value otherwise. +func (o *CocoapodsPackageUploadResponse) GetFilename() string { + if o == nil || isNil(o.Filename) { + var ret string + return ret + } + return *o.Filename +} + +// GetFilenameOk returns a tuple with the Filename field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *CocoapodsPackageUploadResponse) GetFilenameOk() (*string, bool) { + if o == nil || isNil(o.Filename) { + return nil, false + } + return o.Filename, true +} + +// HasFilename returns a boolean if a field has been set. +func (o *CocoapodsPackageUploadResponse) HasFilename() bool { + if o != nil && !isNil(o.Filename) { + return true + } + + return false +} + +// SetFilename gets a reference to the given string and assigns it to the Filename field. +func (o *CocoapodsPackageUploadResponse) SetFilename(v string) { + o.Filename = &v +} + +// GetFiles returns the Files field value if set, zero value otherwise. +func (o *CocoapodsPackageUploadResponse) GetFiles() []PackageFile { + if o == nil || isNil(o.Files) { + var ret []PackageFile + return ret + } + return o.Files +} + +// GetFilesOk returns a tuple with the Files field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *CocoapodsPackageUploadResponse) GetFilesOk() ([]PackageFile, bool) { + if o == nil || isNil(o.Files) { + return nil, false + } + return o.Files, true +} + +// HasFiles returns a boolean if a field has been set. +func (o *CocoapodsPackageUploadResponse) HasFiles() bool { + if o != nil && !isNil(o.Files) { + return true + } + + return false +} + +// SetFiles gets a reference to the given []PackageFile and assigns it to the Files field. +func (o *CocoapodsPackageUploadResponse) SetFiles(v []PackageFile) { + o.Files = v +} + +// GetFormat returns the Format field value if set, zero value otherwise. +func (o *CocoapodsPackageUploadResponse) GetFormat() string { + if o == nil || isNil(o.Format) { + var ret string + return ret + } + return *o.Format +} + +// GetFormatOk returns a tuple with the Format field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *CocoapodsPackageUploadResponse) GetFormatOk() (*string, bool) { + if o == nil || isNil(o.Format) { + return nil, false + } + return o.Format, true +} + +// HasFormat returns a boolean if a field has been set. +func (o *CocoapodsPackageUploadResponse) HasFormat() bool { + if o != nil && !isNil(o.Format) { + return true + } + + return false +} + +// SetFormat gets a reference to the given string and assigns it to the Format field. +func (o *CocoapodsPackageUploadResponse) SetFormat(v string) { + o.Format = &v +} + +// GetFormatUrl returns the FormatUrl field value if set, zero value otherwise. +func (o *CocoapodsPackageUploadResponse) GetFormatUrl() string { + if o == nil || isNil(o.FormatUrl) { + var ret string + return ret + } + return *o.FormatUrl +} + +// GetFormatUrlOk returns a tuple with the FormatUrl field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *CocoapodsPackageUploadResponse) GetFormatUrlOk() (*string, bool) { + if o == nil || isNil(o.FormatUrl) { + return nil, false + } + return o.FormatUrl, true +} + +// HasFormatUrl returns a boolean if a field has been set. +func (o *CocoapodsPackageUploadResponse) HasFormatUrl() bool { + if o != nil && !isNil(o.FormatUrl) { + return true + } + + return false +} + +// SetFormatUrl gets a reference to the given string and assigns it to the FormatUrl field. +func (o *CocoapodsPackageUploadResponse) SetFormatUrl(v string) { + o.FormatUrl = &v +} + +// GetIdentifierPerm returns the IdentifierPerm field value if set, zero value otherwise. +func (o *CocoapodsPackageUploadResponse) GetIdentifierPerm() string { + if o == nil || isNil(o.IdentifierPerm) { + var ret string + return ret + } + return *o.IdentifierPerm +} + +// GetIdentifierPermOk returns a tuple with the IdentifierPerm field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *CocoapodsPackageUploadResponse) GetIdentifierPermOk() (*string, bool) { + if o == nil || isNil(o.IdentifierPerm) { + return nil, false + } + return o.IdentifierPerm, true +} + +// HasIdentifierPerm returns a boolean if a field has been set. +func (o *CocoapodsPackageUploadResponse) HasIdentifierPerm() bool { + if o != nil && !isNil(o.IdentifierPerm) { + return true + } + + return false +} + +// SetIdentifierPerm gets a reference to the given string and assigns it to the IdentifierPerm field. +func (o *CocoapodsPackageUploadResponse) SetIdentifierPerm(v string) { + o.IdentifierPerm = &v +} + +// GetIndexed returns the Indexed field value if set, zero value otherwise. +func (o *CocoapodsPackageUploadResponse) GetIndexed() bool { + if o == nil || isNil(o.Indexed) { + var ret bool + return ret + } + return *o.Indexed +} + +// GetIndexedOk returns a tuple with the Indexed field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *CocoapodsPackageUploadResponse) GetIndexedOk() (*bool, bool) { + if o == nil || isNil(o.Indexed) { + return nil, false + } + return o.Indexed, true +} + +// HasIndexed returns a boolean if a field has been set. +func (o *CocoapodsPackageUploadResponse) HasIndexed() bool { + if o != nil && !isNil(o.Indexed) { + return true + } + + return false +} + +// SetIndexed gets a reference to the given bool and assigns it to the Indexed field. +func (o *CocoapodsPackageUploadResponse) SetIndexed(v bool) { + o.Indexed = &v +} + +// GetIsDownloadable returns the IsDownloadable field value if set, zero value otherwise. +func (o *CocoapodsPackageUploadResponse) GetIsDownloadable() bool { + if o == nil || isNil(o.IsDownloadable) { + var ret bool + return ret + } + return *o.IsDownloadable +} + +// GetIsDownloadableOk returns a tuple with the IsDownloadable field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *CocoapodsPackageUploadResponse) GetIsDownloadableOk() (*bool, bool) { + if o == nil || isNil(o.IsDownloadable) { + return nil, false + } + return o.IsDownloadable, true +} + +// HasIsDownloadable returns a boolean if a field has been set. +func (o *CocoapodsPackageUploadResponse) HasIsDownloadable() bool { + if o != nil && !isNil(o.IsDownloadable) { + return true + } + + return false +} + +// SetIsDownloadable gets a reference to the given bool and assigns it to the IsDownloadable field. +func (o *CocoapodsPackageUploadResponse) SetIsDownloadable(v bool) { + o.IsDownloadable = &v +} + +// GetIsQuarantined returns the IsQuarantined field value if set, zero value otherwise. +func (o *CocoapodsPackageUploadResponse) GetIsQuarantined() bool { + if o == nil || isNil(o.IsQuarantined) { + var ret bool + return ret + } + return *o.IsQuarantined +} + +// GetIsQuarantinedOk returns a tuple with the IsQuarantined field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *CocoapodsPackageUploadResponse) GetIsQuarantinedOk() (*bool, bool) { + if o == nil || isNil(o.IsQuarantined) { + return nil, false + } + return o.IsQuarantined, true +} + +// HasIsQuarantined returns a boolean if a field has been set. +func (o *CocoapodsPackageUploadResponse) HasIsQuarantined() bool { + if o != nil && !isNil(o.IsQuarantined) { + return true + } + + return false +} + +// SetIsQuarantined gets a reference to the given bool and assigns it to the IsQuarantined field. +func (o *CocoapodsPackageUploadResponse) SetIsQuarantined(v bool) { + o.IsQuarantined = &v +} + +// GetIsSyncAwaiting returns the IsSyncAwaiting field value if set, zero value otherwise. +func (o *CocoapodsPackageUploadResponse) GetIsSyncAwaiting() bool { + if o == nil || isNil(o.IsSyncAwaiting) { + var ret bool + return ret + } + return *o.IsSyncAwaiting +} + +// GetIsSyncAwaitingOk returns a tuple with the IsSyncAwaiting field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *CocoapodsPackageUploadResponse) GetIsSyncAwaitingOk() (*bool, bool) { + if o == nil || isNil(o.IsSyncAwaiting) { + return nil, false + } + return o.IsSyncAwaiting, true +} + +// HasIsSyncAwaiting returns a boolean if a field has been set. +func (o *CocoapodsPackageUploadResponse) HasIsSyncAwaiting() bool { + if o != nil && !isNil(o.IsSyncAwaiting) { + return true + } + + return false +} + +// SetIsSyncAwaiting gets a reference to the given bool and assigns it to the IsSyncAwaiting field. +func (o *CocoapodsPackageUploadResponse) SetIsSyncAwaiting(v bool) { + o.IsSyncAwaiting = &v +} + +// GetIsSyncCompleted returns the IsSyncCompleted field value if set, zero value otherwise. +func (o *CocoapodsPackageUploadResponse) GetIsSyncCompleted() bool { + if o == nil || isNil(o.IsSyncCompleted) { + var ret bool + return ret + } + return *o.IsSyncCompleted +} + +// GetIsSyncCompletedOk returns a tuple with the IsSyncCompleted field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *CocoapodsPackageUploadResponse) GetIsSyncCompletedOk() (*bool, bool) { + if o == nil || isNil(o.IsSyncCompleted) { + return nil, false + } + return o.IsSyncCompleted, true +} + +// HasIsSyncCompleted returns a boolean if a field has been set. +func (o *CocoapodsPackageUploadResponse) HasIsSyncCompleted() bool { + if o != nil && !isNil(o.IsSyncCompleted) { + return true + } + + return false +} + +// SetIsSyncCompleted gets a reference to the given bool and assigns it to the IsSyncCompleted field. +func (o *CocoapodsPackageUploadResponse) SetIsSyncCompleted(v bool) { + o.IsSyncCompleted = &v +} + +// GetIsSyncFailed returns the IsSyncFailed field value if set, zero value otherwise. +func (o *CocoapodsPackageUploadResponse) GetIsSyncFailed() bool { + if o == nil || isNil(o.IsSyncFailed) { + var ret bool + return ret + } + return *o.IsSyncFailed +} + +// GetIsSyncFailedOk returns a tuple with the IsSyncFailed field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *CocoapodsPackageUploadResponse) GetIsSyncFailedOk() (*bool, bool) { + if o == nil || isNil(o.IsSyncFailed) { + return nil, false + } + return o.IsSyncFailed, true +} + +// HasIsSyncFailed returns a boolean if a field has been set. +func (o *CocoapodsPackageUploadResponse) HasIsSyncFailed() bool { + if o != nil && !isNil(o.IsSyncFailed) { + return true + } + + return false +} + +// SetIsSyncFailed gets a reference to the given bool and assigns it to the IsSyncFailed field. +func (o *CocoapodsPackageUploadResponse) SetIsSyncFailed(v bool) { + o.IsSyncFailed = &v +} + +// GetIsSyncInFlight returns the IsSyncInFlight field value if set, zero value otherwise. +func (o *CocoapodsPackageUploadResponse) GetIsSyncInFlight() bool { + if o == nil || isNil(o.IsSyncInFlight) { + var ret bool + return ret + } + return *o.IsSyncInFlight +} + +// GetIsSyncInFlightOk returns a tuple with the IsSyncInFlight field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *CocoapodsPackageUploadResponse) GetIsSyncInFlightOk() (*bool, bool) { + if o == nil || isNil(o.IsSyncInFlight) { + return nil, false + } + return o.IsSyncInFlight, true +} + +// HasIsSyncInFlight returns a boolean if a field has been set. +func (o *CocoapodsPackageUploadResponse) HasIsSyncInFlight() bool { + if o != nil && !isNil(o.IsSyncInFlight) { + return true + } + + return false +} + +// SetIsSyncInFlight gets a reference to the given bool and assigns it to the IsSyncInFlight field. +func (o *CocoapodsPackageUploadResponse) SetIsSyncInFlight(v bool) { + o.IsSyncInFlight = &v +} + +// GetIsSyncInProgress returns the IsSyncInProgress field value if set, zero value otherwise. +func (o *CocoapodsPackageUploadResponse) GetIsSyncInProgress() bool { + if o == nil || isNil(o.IsSyncInProgress) { + var ret bool + return ret + } + return *o.IsSyncInProgress +} + +// GetIsSyncInProgressOk returns a tuple with the IsSyncInProgress field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *CocoapodsPackageUploadResponse) GetIsSyncInProgressOk() (*bool, bool) { + if o == nil || isNil(o.IsSyncInProgress) { + return nil, false + } + return o.IsSyncInProgress, true +} + +// HasIsSyncInProgress returns a boolean if a field has been set. +func (o *CocoapodsPackageUploadResponse) HasIsSyncInProgress() bool { + if o != nil && !isNil(o.IsSyncInProgress) { + return true + } + + return false +} + +// SetIsSyncInProgress gets a reference to the given bool and assigns it to the IsSyncInProgress field. +func (o *CocoapodsPackageUploadResponse) SetIsSyncInProgress(v bool) { + o.IsSyncInProgress = &v +} + +// GetLicense returns the License field value if set, zero value otherwise. +func (o *CocoapodsPackageUploadResponse) GetLicense() string { + if o == nil || isNil(o.License) { + var ret string + return ret + } + return *o.License +} + +// GetLicenseOk returns a tuple with the License field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *CocoapodsPackageUploadResponse) GetLicenseOk() (*string, bool) { + if o == nil || isNil(o.License) { + return nil, false + } + return o.License, true +} + +// HasLicense returns a boolean if a field has been set. +func (o *CocoapodsPackageUploadResponse) HasLicense() bool { + if o != nil && !isNil(o.License) { + return true + } + + return false +} + +// SetLicense gets a reference to the given string and assigns it to the License field. +func (o *CocoapodsPackageUploadResponse) SetLicense(v string) { + o.License = &v +} + +// GetName returns the Name field value if set, zero value otherwise. +func (o *CocoapodsPackageUploadResponse) GetName() string { + if o == nil || isNil(o.Name) { + var ret string + return ret + } + return *o.Name +} + +// GetNameOk returns a tuple with the Name field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *CocoapodsPackageUploadResponse) GetNameOk() (*string, bool) { + if o == nil || isNil(o.Name) { + return nil, false + } + return o.Name, true +} + +// HasName returns a boolean if a field has been set. +func (o *CocoapodsPackageUploadResponse) HasName() bool { + if o != nil && !isNil(o.Name) { + return true + } + + return false +} + +// SetName gets a reference to the given string and assigns it to the Name field. +func (o *CocoapodsPackageUploadResponse) SetName(v string) { + o.Name = &v +} + +// GetNamespace returns the Namespace field value if set, zero value otherwise. +func (o *CocoapodsPackageUploadResponse) GetNamespace() string { + if o == nil || isNil(o.Namespace) { + var ret string + return ret + } + return *o.Namespace +} + +// GetNamespaceOk returns a tuple with the Namespace field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *CocoapodsPackageUploadResponse) GetNamespaceOk() (*string, bool) { + if o == nil || isNil(o.Namespace) { + return nil, false + } + return o.Namespace, true +} + +// HasNamespace returns a boolean if a field has been set. +func (o *CocoapodsPackageUploadResponse) HasNamespace() bool { + if o != nil && !isNil(o.Namespace) { + return true + } + + return false +} + +// SetNamespace gets a reference to the given string and assigns it to the Namespace field. +func (o *CocoapodsPackageUploadResponse) SetNamespace(v string) { + o.Namespace = &v +} + +// GetNamespaceUrl returns the NamespaceUrl field value if set, zero value otherwise. +func (o *CocoapodsPackageUploadResponse) GetNamespaceUrl() string { + if o == nil || isNil(o.NamespaceUrl) { + var ret string + return ret + } + return *o.NamespaceUrl +} + +// GetNamespaceUrlOk returns a tuple with the NamespaceUrl field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *CocoapodsPackageUploadResponse) GetNamespaceUrlOk() (*string, bool) { + if o == nil || isNil(o.NamespaceUrl) { + return nil, false + } + return o.NamespaceUrl, true +} + +// HasNamespaceUrl returns a boolean if a field has been set. +func (o *CocoapodsPackageUploadResponse) HasNamespaceUrl() bool { + if o != nil && !isNil(o.NamespaceUrl) { + return true + } + + return false +} + +// SetNamespaceUrl gets a reference to the given string and assigns it to the NamespaceUrl field. +func (o *CocoapodsPackageUploadResponse) SetNamespaceUrl(v string) { + o.NamespaceUrl = &v +} + +// GetNumFiles returns the NumFiles field value if set, zero value otherwise. +func (o *CocoapodsPackageUploadResponse) GetNumFiles() int64 { + if o == nil || isNil(o.NumFiles) { + var ret int64 + return ret + } + return *o.NumFiles +} + +// GetNumFilesOk returns a tuple with the NumFiles field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *CocoapodsPackageUploadResponse) GetNumFilesOk() (*int64, bool) { + if o == nil || isNil(o.NumFiles) { + return nil, false + } + return o.NumFiles, true +} + +// HasNumFiles returns a boolean if a field has been set. +func (o *CocoapodsPackageUploadResponse) HasNumFiles() bool { + if o != nil && !isNil(o.NumFiles) { + return true + } + + return false +} + +// SetNumFiles gets a reference to the given int64 and assigns it to the NumFiles field. +func (o *CocoapodsPackageUploadResponse) SetNumFiles(v int64) { + o.NumFiles = &v +} + +// GetOriginRepository returns the OriginRepository field value if set, zero value otherwise. +func (o *CocoapodsPackageUploadResponse) GetOriginRepository() string { + if o == nil || isNil(o.OriginRepository) { + var ret string + return ret + } + return *o.OriginRepository +} + +// GetOriginRepositoryOk returns a tuple with the OriginRepository field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *CocoapodsPackageUploadResponse) GetOriginRepositoryOk() (*string, bool) { + if o == nil || isNil(o.OriginRepository) { + return nil, false + } + return o.OriginRepository, true +} + +// HasOriginRepository returns a boolean if a field has been set. +func (o *CocoapodsPackageUploadResponse) HasOriginRepository() bool { + if o != nil && !isNil(o.OriginRepository) { + return true + } + + return false +} + +// SetOriginRepository gets a reference to the given string and assigns it to the OriginRepository field. +func (o *CocoapodsPackageUploadResponse) SetOriginRepository(v string) { + o.OriginRepository = &v +} + +// GetOriginRepositoryUrl returns the OriginRepositoryUrl field value if set, zero value otherwise. +func (o *CocoapodsPackageUploadResponse) GetOriginRepositoryUrl() string { + if o == nil || isNil(o.OriginRepositoryUrl) { + var ret string + return ret + } + return *o.OriginRepositoryUrl +} + +// GetOriginRepositoryUrlOk returns a tuple with the OriginRepositoryUrl field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *CocoapodsPackageUploadResponse) GetOriginRepositoryUrlOk() (*string, bool) { + if o == nil || isNil(o.OriginRepositoryUrl) { + return nil, false + } + return o.OriginRepositoryUrl, true +} + +// HasOriginRepositoryUrl returns a boolean if a field has been set. +func (o *CocoapodsPackageUploadResponse) HasOriginRepositoryUrl() bool { + if o != nil && !isNil(o.OriginRepositoryUrl) { + return true + } + + return false +} + +// SetOriginRepositoryUrl gets a reference to the given string and assigns it to the OriginRepositoryUrl field. +func (o *CocoapodsPackageUploadResponse) SetOriginRepositoryUrl(v string) { + o.OriginRepositoryUrl = &v +} + +// GetPackageType returns the PackageType field value if set, zero value otherwise. +func (o *CocoapodsPackageUploadResponse) GetPackageType() int64 { + if o == nil || isNil(o.PackageType) { + var ret int64 + return ret + } + return *o.PackageType +} + +// GetPackageTypeOk returns a tuple with the PackageType field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *CocoapodsPackageUploadResponse) GetPackageTypeOk() (*int64, bool) { + if o == nil || isNil(o.PackageType) { + return nil, false + } + return o.PackageType, true +} + +// HasPackageType returns a boolean if a field has been set. +func (o *CocoapodsPackageUploadResponse) HasPackageType() bool { + if o != nil && !isNil(o.PackageType) { + return true + } + + return false +} + +// SetPackageType gets a reference to the given int64 and assigns it to the PackageType field. +func (o *CocoapodsPackageUploadResponse) SetPackageType(v int64) { + o.PackageType = &v +} + +// GetRelease returns the Release field value if set, zero value otherwise. +func (o *CocoapodsPackageUploadResponse) GetRelease() string { + if o == nil || isNil(o.Release) { + var ret string + return ret + } + return *o.Release +} + +// GetReleaseOk returns a tuple with the Release field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *CocoapodsPackageUploadResponse) GetReleaseOk() (*string, bool) { + if o == nil || isNil(o.Release) { + return nil, false + } + return o.Release, true +} + +// HasRelease returns a boolean if a field has been set. +func (o *CocoapodsPackageUploadResponse) HasRelease() bool { + if o != nil && !isNil(o.Release) { + return true + } + + return false +} + +// SetRelease gets a reference to the given string and assigns it to the Release field. +func (o *CocoapodsPackageUploadResponse) SetRelease(v string) { + o.Release = &v +} + +// GetRepository returns the Repository field value if set, zero value otherwise. +func (o *CocoapodsPackageUploadResponse) GetRepository() string { + if o == nil || isNil(o.Repository) { + var ret string + return ret + } + return *o.Repository +} + +// GetRepositoryOk returns a tuple with the Repository field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *CocoapodsPackageUploadResponse) GetRepositoryOk() (*string, bool) { + if o == nil || isNil(o.Repository) { + return nil, false + } + return o.Repository, true +} + +// HasRepository returns a boolean if a field has been set. +func (o *CocoapodsPackageUploadResponse) HasRepository() bool { + if o != nil && !isNil(o.Repository) { + return true + } + + return false +} + +// SetRepository gets a reference to the given string and assigns it to the Repository field. +func (o *CocoapodsPackageUploadResponse) SetRepository(v string) { + o.Repository = &v +} + +// GetRepositoryUrl returns the RepositoryUrl field value if set, zero value otherwise. +func (o *CocoapodsPackageUploadResponse) GetRepositoryUrl() string { + if o == nil || isNil(o.RepositoryUrl) { + var ret string + return ret + } + return *o.RepositoryUrl +} + +// GetRepositoryUrlOk returns a tuple with the RepositoryUrl field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *CocoapodsPackageUploadResponse) GetRepositoryUrlOk() (*string, bool) { + if o == nil || isNil(o.RepositoryUrl) { + return nil, false + } + return o.RepositoryUrl, true +} + +// HasRepositoryUrl returns a boolean if a field has been set. +func (o *CocoapodsPackageUploadResponse) HasRepositoryUrl() bool { + if o != nil && !isNil(o.RepositoryUrl) { + return true + } + + return false +} + +// SetRepositoryUrl gets a reference to the given string and assigns it to the RepositoryUrl field. +func (o *CocoapodsPackageUploadResponse) SetRepositoryUrl(v string) { + o.RepositoryUrl = &v +} + +// GetSecurityScanCompletedAt returns the SecurityScanCompletedAt field value if set, zero value otherwise. +func (o *CocoapodsPackageUploadResponse) GetSecurityScanCompletedAt() time.Time { + if o == nil || isNil(o.SecurityScanCompletedAt) { + var ret time.Time + return ret + } + return *o.SecurityScanCompletedAt +} + +// GetSecurityScanCompletedAtOk returns a tuple with the SecurityScanCompletedAt field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *CocoapodsPackageUploadResponse) GetSecurityScanCompletedAtOk() (*time.Time, bool) { + if o == nil || isNil(o.SecurityScanCompletedAt) { + return nil, false + } + return o.SecurityScanCompletedAt, true +} + +// HasSecurityScanCompletedAt returns a boolean if a field has been set. +func (o *CocoapodsPackageUploadResponse) HasSecurityScanCompletedAt() bool { + if o != nil && !isNil(o.SecurityScanCompletedAt) { + return true + } + + return false +} + +// SetSecurityScanCompletedAt gets a reference to the given time.Time and assigns it to the SecurityScanCompletedAt field. +func (o *CocoapodsPackageUploadResponse) SetSecurityScanCompletedAt(v time.Time) { + o.SecurityScanCompletedAt = &v +} + +// GetSecurityScanStartedAt returns the SecurityScanStartedAt field value if set, zero value otherwise. +func (o *CocoapodsPackageUploadResponse) GetSecurityScanStartedAt() time.Time { + if o == nil || isNil(o.SecurityScanStartedAt) { + var ret time.Time + return ret + } + return *o.SecurityScanStartedAt +} + +// GetSecurityScanStartedAtOk returns a tuple with the SecurityScanStartedAt field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *CocoapodsPackageUploadResponse) GetSecurityScanStartedAtOk() (*time.Time, bool) { + if o == nil || isNil(o.SecurityScanStartedAt) { + return nil, false + } + return o.SecurityScanStartedAt, true +} + +// HasSecurityScanStartedAt returns a boolean if a field has been set. +func (o *CocoapodsPackageUploadResponse) HasSecurityScanStartedAt() bool { + if o != nil && !isNil(o.SecurityScanStartedAt) { + return true + } + + return false +} + +// SetSecurityScanStartedAt gets a reference to the given time.Time and assigns it to the SecurityScanStartedAt field. +func (o *CocoapodsPackageUploadResponse) SetSecurityScanStartedAt(v time.Time) { + o.SecurityScanStartedAt = &v +} + +// GetSecurityScanStatus returns the SecurityScanStatus field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *CocoapodsPackageUploadResponse) GetSecurityScanStatus() string { + if o == nil || isNil(o.SecurityScanStatus.Get()) { + var ret string + return ret + } + return *o.SecurityScanStatus.Get() +} + +// GetSecurityScanStatusOk returns a tuple with the SecurityScanStatus 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 *CocoapodsPackageUploadResponse) GetSecurityScanStatusOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.SecurityScanStatus.Get(), o.SecurityScanStatus.IsSet() +} + +// HasSecurityScanStatus returns a boolean if a field has been set. +func (o *CocoapodsPackageUploadResponse) HasSecurityScanStatus() bool { + if o != nil && o.SecurityScanStatus.IsSet() { + return true + } + + return false +} + +// SetSecurityScanStatus gets a reference to the given NullableString and assigns it to the SecurityScanStatus field. +func (o *CocoapodsPackageUploadResponse) SetSecurityScanStatus(v string) { + o.SecurityScanStatus.Set(&v) +} + +// SetSecurityScanStatusNil sets the value for SecurityScanStatus to be an explicit nil +func (o *CocoapodsPackageUploadResponse) SetSecurityScanStatusNil() { + o.SecurityScanStatus.Set(nil) +} + +// UnsetSecurityScanStatus ensures that no value is present for SecurityScanStatus, not even an explicit nil +func (o *CocoapodsPackageUploadResponse) UnsetSecurityScanStatus() { + o.SecurityScanStatus.Unset() +} + +// GetSecurityScanStatusUpdatedAt returns the SecurityScanStatusUpdatedAt field value if set, zero value otherwise. +func (o *CocoapodsPackageUploadResponse) GetSecurityScanStatusUpdatedAt() time.Time { + if o == nil || isNil(o.SecurityScanStatusUpdatedAt) { + var ret time.Time + return ret + } + return *o.SecurityScanStatusUpdatedAt +} + +// GetSecurityScanStatusUpdatedAtOk returns a tuple with the SecurityScanStatusUpdatedAt field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *CocoapodsPackageUploadResponse) GetSecurityScanStatusUpdatedAtOk() (*time.Time, bool) { + if o == nil || isNil(o.SecurityScanStatusUpdatedAt) { + return nil, false + } + return o.SecurityScanStatusUpdatedAt, true +} + +// HasSecurityScanStatusUpdatedAt returns a boolean if a field has been set. +func (o *CocoapodsPackageUploadResponse) HasSecurityScanStatusUpdatedAt() bool { + if o != nil && !isNil(o.SecurityScanStatusUpdatedAt) { + return true + } + + return false +} + +// SetSecurityScanStatusUpdatedAt gets a reference to the given time.Time and assigns it to the SecurityScanStatusUpdatedAt field. +func (o *CocoapodsPackageUploadResponse) SetSecurityScanStatusUpdatedAt(v time.Time) { + o.SecurityScanStatusUpdatedAt = &v +} + +// GetSelfHtmlUrl returns the SelfHtmlUrl field value if set, zero value otherwise. +func (o *CocoapodsPackageUploadResponse) GetSelfHtmlUrl() string { + if o == nil || isNil(o.SelfHtmlUrl) { + var ret string + return ret + } + return *o.SelfHtmlUrl +} + +// GetSelfHtmlUrlOk returns a tuple with the SelfHtmlUrl field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *CocoapodsPackageUploadResponse) GetSelfHtmlUrlOk() (*string, bool) { + if o == nil || isNil(o.SelfHtmlUrl) { + return nil, false + } + return o.SelfHtmlUrl, true +} + +// HasSelfHtmlUrl returns a boolean if a field has been set. +func (o *CocoapodsPackageUploadResponse) HasSelfHtmlUrl() bool { + if o != nil && !isNil(o.SelfHtmlUrl) { + return true + } + + return false +} + +// SetSelfHtmlUrl gets a reference to the given string and assigns it to the SelfHtmlUrl field. +func (o *CocoapodsPackageUploadResponse) SetSelfHtmlUrl(v string) { + o.SelfHtmlUrl = &v +} + +// GetSelfUrl returns the SelfUrl field value if set, zero value otherwise. +func (o *CocoapodsPackageUploadResponse) GetSelfUrl() string { + if o == nil || isNil(o.SelfUrl) { + var ret string + return ret + } + return *o.SelfUrl +} + +// GetSelfUrlOk returns a tuple with the SelfUrl field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *CocoapodsPackageUploadResponse) GetSelfUrlOk() (*string, bool) { + if o == nil || isNil(o.SelfUrl) { + return nil, false + } + return o.SelfUrl, true +} + +// HasSelfUrl returns a boolean if a field has been set. +func (o *CocoapodsPackageUploadResponse) HasSelfUrl() bool { + if o != nil && !isNil(o.SelfUrl) { + return true + } + + return false +} + +// SetSelfUrl gets a reference to the given string and assigns it to the SelfUrl field. +func (o *CocoapodsPackageUploadResponse) SetSelfUrl(v string) { + o.SelfUrl = &v +} + +// GetSignatureUrl returns the SignatureUrl field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *CocoapodsPackageUploadResponse) GetSignatureUrl() string { + if o == nil || isNil(o.SignatureUrl.Get()) { + var ret string + return ret + } + return *o.SignatureUrl.Get() +} + +// GetSignatureUrlOk returns a tuple with the SignatureUrl 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 *CocoapodsPackageUploadResponse) GetSignatureUrlOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.SignatureUrl.Get(), o.SignatureUrl.IsSet() +} + +// HasSignatureUrl returns a boolean if a field has been set. +func (o *CocoapodsPackageUploadResponse) HasSignatureUrl() bool { + if o != nil && o.SignatureUrl.IsSet() { + return true + } + + return false +} + +// SetSignatureUrl gets a reference to the given NullableString and assigns it to the SignatureUrl field. +func (o *CocoapodsPackageUploadResponse) SetSignatureUrl(v string) { + o.SignatureUrl.Set(&v) +} + +// SetSignatureUrlNil sets the value for SignatureUrl to be an explicit nil +func (o *CocoapodsPackageUploadResponse) SetSignatureUrlNil() { + o.SignatureUrl.Set(nil) +} + +// UnsetSignatureUrl ensures that no value is present for SignatureUrl, not even an explicit nil +func (o *CocoapodsPackageUploadResponse) UnsetSignatureUrl() { + o.SignatureUrl.Unset() +} + +// GetSize returns the Size field value if set, zero value otherwise. +func (o *CocoapodsPackageUploadResponse) GetSize() int64 { + if o == nil || isNil(o.Size) { + var ret int64 + return ret + } + return *o.Size +} + +// GetSizeOk returns a tuple with the Size field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *CocoapodsPackageUploadResponse) GetSizeOk() (*int64, bool) { + if o == nil || isNil(o.Size) { + return nil, false + } + return o.Size, true +} + +// HasSize returns a boolean if a field has been set. +func (o *CocoapodsPackageUploadResponse) HasSize() bool { + if o != nil && !isNil(o.Size) { + return true + } + + return false +} + +// SetSize gets a reference to the given int64 and assigns it to the Size field. +func (o *CocoapodsPackageUploadResponse) SetSize(v int64) { + o.Size = &v +} + +// GetSlug returns the Slug field value if set, zero value otherwise. +func (o *CocoapodsPackageUploadResponse) GetSlug() string { + if o == nil || isNil(o.Slug) { + var ret string + return ret + } + return *o.Slug +} + +// GetSlugOk returns a tuple with the Slug field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *CocoapodsPackageUploadResponse) GetSlugOk() (*string, bool) { + if o == nil || isNil(o.Slug) { + return nil, false + } + return o.Slug, true +} + +// HasSlug returns a boolean if a field has been set. +func (o *CocoapodsPackageUploadResponse) HasSlug() bool { + if o != nil && !isNil(o.Slug) { + return true + } + + return false +} + +// SetSlug gets a reference to the given string and assigns it to the Slug field. +func (o *CocoapodsPackageUploadResponse) SetSlug(v string) { + o.Slug = &v +} + +// GetSlugPerm returns the SlugPerm field value if set, zero value otherwise. +func (o *CocoapodsPackageUploadResponse) GetSlugPerm() string { + if o == nil || isNil(o.SlugPerm) { + var ret string + return ret + } + return *o.SlugPerm +} + +// GetSlugPermOk returns a tuple with the SlugPerm field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *CocoapodsPackageUploadResponse) GetSlugPermOk() (*string, bool) { + if o == nil || isNil(o.SlugPerm) { + return nil, false + } + return o.SlugPerm, true +} + +// HasSlugPerm returns a boolean if a field has been set. +func (o *CocoapodsPackageUploadResponse) HasSlugPerm() bool { + if o != nil && !isNil(o.SlugPerm) { + return true + } + + return false +} + +// SetSlugPerm gets a reference to the given string and assigns it to the SlugPerm field. +func (o *CocoapodsPackageUploadResponse) SetSlugPerm(v string) { + o.SlugPerm = &v +} + +// GetStage returns the Stage field value if set, zero value otherwise. +func (o *CocoapodsPackageUploadResponse) GetStage() int64 { + if o == nil || isNil(o.Stage) { + var ret int64 + return ret + } + return *o.Stage +} + +// GetStageOk returns a tuple with the Stage field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *CocoapodsPackageUploadResponse) GetStageOk() (*int64, bool) { + if o == nil || isNil(o.Stage) { + return nil, false + } + return o.Stage, true +} + +// HasStage returns a boolean if a field has been set. +func (o *CocoapodsPackageUploadResponse) HasStage() bool { + if o != nil && !isNil(o.Stage) { + return true + } + + return false +} + +// SetStage gets a reference to the given int64 and assigns it to the Stage field. +func (o *CocoapodsPackageUploadResponse) SetStage(v int64) { + o.Stage = &v +} + +// GetStageStr returns the StageStr field value if set, zero value otherwise. +func (o *CocoapodsPackageUploadResponse) GetStageStr() string { + if o == nil || isNil(o.StageStr) { + var ret string + return ret + } + return *o.StageStr +} + +// GetStageStrOk returns a tuple with the StageStr field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *CocoapodsPackageUploadResponse) GetStageStrOk() (*string, bool) { + if o == nil || isNil(o.StageStr) { + return nil, false + } + return o.StageStr, true +} + +// HasStageStr returns a boolean if a field has been set. +func (o *CocoapodsPackageUploadResponse) HasStageStr() bool { + if o != nil && !isNil(o.StageStr) { + return true + } + + return false +} + +// SetStageStr gets a reference to the given string and assigns it to the StageStr field. +func (o *CocoapodsPackageUploadResponse) SetStageStr(v string) { + o.StageStr = &v +} + +// GetStageUpdatedAt returns the StageUpdatedAt field value if set, zero value otherwise. +func (o *CocoapodsPackageUploadResponse) GetStageUpdatedAt() time.Time { + if o == nil || isNil(o.StageUpdatedAt) { + var ret time.Time + return ret + } + return *o.StageUpdatedAt +} + +// GetStageUpdatedAtOk returns a tuple with the StageUpdatedAt field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *CocoapodsPackageUploadResponse) GetStageUpdatedAtOk() (*time.Time, bool) { + if o == nil || isNil(o.StageUpdatedAt) { + return nil, false + } + return o.StageUpdatedAt, true +} + +// HasStageUpdatedAt returns a boolean if a field has been set. +func (o *CocoapodsPackageUploadResponse) HasStageUpdatedAt() bool { + if o != nil && !isNil(o.StageUpdatedAt) { + return true + } + + return false +} + +// SetStageUpdatedAt gets a reference to the given time.Time and assigns it to the StageUpdatedAt field. +func (o *CocoapodsPackageUploadResponse) SetStageUpdatedAt(v time.Time) { + o.StageUpdatedAt = &v +} + +// GetStatus returns the Status field value if set, zero value otherwise. +func (o *CocoapodsPackageUploadResponse) GetStatus() int64 { + if o == nil || isNil(o.Status) { + var ret int64 + return ret + } + return *o.Status +} + +// GetStatusOk returns a tuple with the Status field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *CocoapodsPackageUploadResponse) GetStatusOk() (*int64, bool) { + if o == nil || isNil(o.Status) { + return nil, false + } + return o.Status, true +} + +// HasStatus returns a boolean if a field has been set. +func (o *CocoapodsPackageUploadResponse) HasStatus() bool { + if o != nil && !isNil(o.Status) { + return true + } + + return false +} + +// SetStatus gets a reference to the given int64 and assigns it to the Status field. +func (o *CocoapodsPackageUploadResponse) SetStatus(v int64) { + o.Status = &v +} + +// GetStatusReason returns the StatusReason field value if set, zero value otherwise. +func (o *CocoapodsPackageUploadResponse) GetStatusReason() string { + if o == nil || isNil(o.StatusReason) { + var ret string + return ret + } + return *o.StatusReason +} + +// GetStatusReasonOk returns a tuple with the StatusReason field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *CocoapodsPackageUploadResponse) GetStatusReasonOk() (*string, bool) { + if o == nil || isNil(o.StatusReason) { + return nil, false + } + return o.StatusReason, true +} + +// HasStatusReason returns a boolean if a field has been set. +func (o *CocoapodsPackageUploadResponse) HasStatusReason() bool { + if o != nil && !isNil(o.StatusReason) { + return true + } + + return false +} + +// SetStatusReason gets a reference to the given string and assigns it to the StatusReason field. +func (o *CocoapodsPackageUploadResponse) SetStatusReason(v string) { + o.StatusReason = &v +} + +// GetStatusStr returns the StatusStr field value if set, zero value otherwise. +func (o *CocoapodsPackageUploadResponse) GetStatusStr() string { + if o == nil || isNil(o.StatusStr) { + var ret string + return ret + } + return *o.StatusStr +} + +// GetStatusStrOk returns a tuple with the StatusStr field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *CocoapodsPackageUploadResponse) GetStatusStrOk() (*string, bool) { + if o == nil || isNil(o.StatusStr) { + return nil, false + } + return o.StatusStr, true +} + +// HasStatusStr returns a boolean if a field has been set. +func (o *CocoapodsPackageUploadResponse) HasStatusStr() bool { + if o != nil && !isNil(o.StatusStr) { + return true + } + + return false +} + +// SetStatusStr gets a reference to the given string and assigns it to the StatusStr field. +func (o *CocoapodsPackageUploadResponse) SetStatusStr(v string) { + o.StatusStr = &v +} + +// GetStatusUpdatedAt returns the StatusUpdatedAt field value if set, zero value otherwise. +func (o *CocoapodsPackageUploadResponse) GetStatusUpdatedAt() time.Time { + if o == nil || isNil(o.StatusUpdatedAt) { + var ret time.Time + return ret + } + return *o.StatusUpdatedAt +} + +// GetStatusUpdatedAtOk returns a tuple with the StatusUpdatedAt field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *CocoapodsPackageUploadResponse) GetStatusUpdatedAtOk() (*time.Time, bool) { + if o == nil || isNil(o.StatusUpdatedAt) { + return nil, false + } + return o.StatusUpdatedAt, true +} + +// HasStatusUpdatedAt returns a boolean if a field has been set. +func (o *CocoapodsPackageUploadResponse) HasStatusUpdatedAt() bool { + if o != nil && !isNil(o.StatusUpdatedAt) { + return true + } + + return false +} + +// SetStatusUpdatedAt gets a reference to the given time.Time and assigns it to the StatusUpdatedAt field. +func (o *CocoapodsPackageUploadResponse) SetStatusUpdatedAt(v time.Time) { + o.StatusUpdatedAt = &v +} + +// GetStatusUrl returns the StatusUrl field value if set, zero value otherwise. +func (o *CocoapodsPackageUploadResponse) GetStatusUrl() string { + if o == nil || isNil(o.StatusUrl) { + var ret string + return ret + } + return *o.StatusUrl +} + +// GetStatusUrlOk returns a tuple with the StatusUrl field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *CocoapodsPackageUploadResponse) GetStatusUrlOk() (*string, bool) { + if o == nil || isNil(o.StatusUrl) { + return nil, false + } + return o.StatusUrl, true +} + +// HasStatusUrl returns a boolean if a field has been set. +func (o *CocoapodsPackageUploadResponse) HasStatusUrl() bool { + if o != nil && !isNil(o.StatusUrl) { + return true + } + + return false +} + +// SetStatusUrl gets a reference to the given string and assigns it to the StatusUrl field. +func (o *CocoapodsPackageUploadResponse) SetStatusUrl(v string) { + o.StatusUrl = &v +} + +// GetSubtype returns the Subtype field value if set, zero value otherwise. +func (o *CocoapodsPackageUploadResponse) GetSubtype() string { + if o == nil || isNil(o.Subtype) { + var ret string + return ret + } + return *o.Subtype +} + +// GetSubtypeOk returns a tuple with the Subtype field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *CocoapodsPackageUploadResponse) GetSubtypeOk() (*string, bool) { + if o == nil || isNil(o.Subtype) { + return nil, false + } + return o.Subtype, true +} + +// HasSubtype returns a boolean if a field has been set. +func (o *CocoapodsPackageUploadResponse) HasSubtype() bool { + if o != nil && !isNil(o.Subtype) { + return true + } + + return false +} + +// SetSubtype gets a reference to the given string and assigns it to the Subtype field. +func (o *CocoapodsPackageUploadResponse) SetSubtype(v string) { + o.Subtype = &v +} + +// GetSummary returns the Summary field value if set, zero value otherwise. +func (o *CocoapodsPackageUploadResponse) GetSummary() string { + if o == nil || isNil(o.Summary) { + var ret string + return ret + } + return *o.Summary +} + +// GetSummaryOk returns a tuple with the Summary field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *CocoapodsPackageUploadResponse) GetSummaryOk() (*string, bool) { + if o == nil || isNil(o.Summary) { + return nil, false + } + return o.Summary, true +} + +// HasSummary returns a boolean if a field has been set. +func (o *CocoapodsPackageUploadResponse) HasSummary() bool { + if o != nil && !isNil(o.Summary) { + return true + } + + return false +} + +// SetSummary gets a reference to the given string and assigns it to the Summary field. +func (o *CocoapodsPackageUploadResponse) SetSummary(v string) { + o.Summary = &v +} + +// GetSyncFinishedAt returns the SyncFinishedAt field value if set, zero value otherwise. +func (o *CocoapodsPackageUploadResponse) GetSyncFinishedAt() time.Time { + if o == nil || isNil(o.SyncFinishedAt) { + var ret time.Time + return ret + } + return *o.SyncFinishedAt +} + +// GetSyncFinishedAtOk returns a tuple with the SyncFinishedAt field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *CocoapodsPackageUploadResponse) GetSyncFinishedAtOk() (*time.Time, bool) { + if o == nil || isNil(o.SyncFinishedAt) { + return nil, false + } + return o.SyncFinishedAt, true +} + +// HasSyncFinishedAt returns a boolean if a field has been set. +func (o *CocoapodsPackageUploadResponse) HasSyncFinishedAt() bool { + if o != nil && !isNil(o.SyncFinishedAt) { + return true + } + + return false +} + +// SetSyncFinishedAt gets a reference to the given time.Time and assigns it to the SyncFinishedAt field. +func (o *CocoapodsPackageUploadResponse) SetSyncFinishedAt(v time.Time) { + o.SyncFinishedAt = &v +} + +// GetSyncProgress returns the SyncProgress field value if set, zero value otherwise. +func (o *CocoapodsPackageUploadResponse) GetSyncProgress() int64 { + if o == nil || isNil(o.SyncProgress) { + var ret int64 + return ret + } + return *o.SyncProgress +} + +// GetSyncProgressOk returns a tuple with the SyncProgress field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *CocoapodsPackageUploadResponse) GetSyncProgressOk() (*int64, bool) { + if o == nil || isNil(o.SyncProgress) { + return nil, false + } + return o.SyncProgress, true +} + +// HasSyncProgress returns a boolean if a field has been set. +func (o *CocoapodsPackageUploadResponse) HasSyncProgress() bool { + if o != nil && !isNil(o.SyncProgress) { + return true + } + + return false +} + +// SetSyncProgress gets a reference to the given int64 and assigns it to the SyncProgress field. +func (o *CocoapodsPackageUploadResponse) SetSyncProgress(v int64) { + o.SyncProgress = &v +} + +// GetTagsImmutable returns the TagsImmutable field value if set, zero value otherwise. +func (o *CocoapodsPackageUploadResponse) GetTagsImmutable() map[string]interface{} { + if o == nil || isNil(o.TagsImmutable) { + var ret map[string]interface{} + return ret + } + return o.TagsImmutable +} + +// GetTagsImmutableOk returns a tuple with the TagsImmutable field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *CocoapodsPackageUploadResponse) GetTagsImmutableOk() (map[string]interface{}, bool) { + if o == nil || isNil(o.TagsImmutable) { + return map[string]interface{}{}, false + } + return o.TagsImmutable, true +} + +// HasTagsImmutable returns a boolean if a field has been set. +func (o *CocoapodsPackageUploadResponse) HasTagsImmutable() bool { + if o != nil && !isNil(o.TagsImmutable) { + return true + } + + return false +} + +// SetTagsImmutable gets a reference to the given map[string]interface{} and assigns it to the TagsImmutable field. +func (o *CocoapodsPackageUploadResponse) SetTagsImmutable(v map[string]interface{}) { + o.TagsImmutable = v +} + +// GetTypeDisplay returns the TypeDisplay field value if set, zero value otherwise. +func (o *CocoapodsPackageUploadResponse) GetTypeDisplay() string { + if o == nil || isNil(o.TypeDisplay) { + var ret string + return ret + } + return *o.TypeDisplay +} + +// GetTypeDisplayOk returns a tuple with the TypeDisplay field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *CocoapodsPackageUploadResponse) GetTypeDisplayOk() (*string, bool) { + if o == nil || isNil(o.TypeDisplay) { + return nil, false + } + return o.TypeDisplay, true +} + +// HasTypeDisplay returns a boolean if a field has been set. +func (o *CocoapodsPackageUploadResponse) HasTypeDisplay() bool { + if o != nil && !isNil(o.TypeDisplay) { + return true + } + + return false +} + +// SetTypeDisplay gets a reference to the given string and assigns it to the TypeDisplay field. +func (o *CocoapodsPackageUploadResponse) SetTypeDisplay(v string) { + o.TypeDisplay = &v +} + +// GetUploadedAt returns the UploadedAt field value if set, zero value otherwise. +func (o *CocoapodsPackageUploadResponse) GetUploadedAt() time.Time { + if o == nil || isNil(o.UploadedAt) { + var ret time.Time + return ret + } + return *o.UploadedAt +} + +// GetUploadedAtOk returns a tuple with the UploadedAt field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *CocoapodsPackageUploadResponse) GetUploadedAtOk() (*time.Time, bool) { + if o == nil || isNil(o.UploadedAt) { + return nil, false + } + return o.UploadedAt, true +} + +// HasUploadedAt returns a boolean if a field has been set. +func (o *CocoapodsPackageUploadResponse) HasUploadedAt() bool { + if o != nil && !isNil(o.UploadedAt) { + return true + } + + return false +} + +// SetUploadedAt gets a reference to the given time.Time and assigns it to the UploadedAt field. +func (o *CocoapodsPackageUploadResponse) SetUploadedAt(v time.Time) { + o.UploadedAt = &v +} + +// GetUploader returns the Uploader field value if set, zero value otherwise. +func (o *CocoapodsPackageUploadResponse) GetUploader() string { + if o == nil || isNil(o.Uploader) { + var ret string + return ret + } + return *o.Uploader +} + +// GetUploaderOk returns a tuple with the Uploader field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *CocoapodsPackageUploadResponse) GetUploaderOk() (*string, bool) { + if o == nil || isNil(o.Uploader) { + return nil, false + } + return o.Uploader, true +} + +// HasUploader returns a boolean if a field has been set. +func (o *CocoapodsPackageUploadResponse) HasUploader() bool { + if o != nil && !isNil(o.Uploader) { + return true + } + + return false +} + +// SetUploader gets a reference to the given string and assigns it to the Uploader field. +func (o *CocoapodsPackageUploadResponse) SetUploader(v string) { + o.Uploader = &v +} + +// GetUploaderUrl returns the UploaderUrl field value if set, zero value otherwise. +func (o *CocoapodsPackageUploadResponse) GetUploaderUrl() string { + if o == nil || isNil(o.UploaderUrl) { + var ret string + return ret + } + return *o.UploaderUrl +} + +// GetUploaderUrlOk returns a tuple with the UploaderUrl field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *CocoapodsPackageUploadResponse) GetUploaderUrlOk() (*string, bool) { + if o == nil || isNil(o.UploaderUrl) { + return nil, false + } + return o.UploaderUrl, true +} + +// HasUploaderUrl returns a boolean if a field has been set. +func (o *CocoapodsPackageUploadResponse) HasUploaderUrl() bool { + if o != nil && !isNil(o.UploaderUrl) { + return true + } + + return false +} + +// SetUploaderUrl gets a reference to the given string and assigns it to the UploaderUrl field. +func (o *CocoapodsPackageUploadResponse) SetUploaderUrl(v string) { + o.UploaderUrl = &v +} + +// GetVersion returns the Version field value if set, zero value otherwise. +func (o *CocoapodsPackageUploadResponse) GetVersion() string { + if o == nil || isNil(o.Version) { + var ret string + return ret + } + return *o.Version +} + +// GetVersionOk returns a tuple with the Version field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *CocoapodsPackageUploadResponse) GetVersionOk() (*string, bool) { + if o == nil || isNil(o.Version) { + return nil, false + } + return o.Version, true +} + +// HasVersion returns a boolean if a field has been set. +func (o *CocoapodsPackageUploadResponse) HasVersion() bool { + if o != nil && !isNil(o.Version) { + return true + } + + return false +} + +// SetVersion gets a reference to the given string and assigns it to the Version field. +func (o *CocoapodsPackageUploadResponse) SetVersion(v string) { + o.Version = &v +} + +// GetVersionOrig returns the VersionOrig field value if set, zero value otherwise. +func (o *CocoapodsPackageUploadResponse) GetVersionOrig() string { + if o == nil || isNil(o.VersionOrig) { + var ret string + return ret + } + return *o.VersionOrig +} + +// GetVersionOrigOk returns a tuple with the VersionOrig field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *CocoapodsPackageUploadResponse) GetVersionOrigOk() (*string, bool) { + if o == nil || isNil(o.VersionOrig) { + return nil, false + } + return o.VersionOrig, true +} + +// HasVersionOrig returns a boolean if a field has been set. +func (o *CocoapodsPackageUploadResponse) HasVersionOrig() bool { + if o != nil && !isNil(o.VersionOrig) { + return true + } + + return false +} + +// SetVersionOrig gets a reference to the given string and assigns it to the VersionOrig field. +func (o *CocoapodsPackageUploadResponse) SetVersionOrig(v string) { + o.VersionOrig = &v +} + +// GetVulnerabilityScanResultsUrl returns the VulnerabilityScanResultsUrl field value if set, zero value otherwise. +func (o *CocoapodsPackageUploadResponse) GetVulnerabilityScanResultsUrl() string { + if o == nil || isNil(o.VulnerabilityScanResultsUrl) { + var ret string + return ret + } + return *o.VulnerabilityScanResultsUrl +} + +// GetVulnerabilityScanResultsUrlOk returns a tuple with the VulnerabilityScanResultsUrl field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *CocoapodsPackageUploadResponse) GetVulnerabilityScanResultsUrlOk() (*string, bool) { + if o == nil || isNil(o.VulnerabilityScanResultsUrl) { + return nil, false + } + return o.VulnerabilityScanResultsUrl, true +} + +// HasVulnerabilityScanResultsUrl returns a boolean if a field has been set. +func (o *CocoapodsPackageUploadResponse) HasVulnerabilityScanResultsUrl() bool { + if o != nil && !isNil(o.VulnerabilityScanResultsUrl) { + return true + } + + return false +} + +// SetVulnerabilityScanResultsUrl gets a reference to the given string and assigns it to the VulnerabilityScanResultsUrl field. +func (o *CocoapodsPackageUploadResponse) SetVulnerabilityScanResultsUrl(v string) { + o.VulnerabilityScanResultsUrl = &v +} + +func (o CocoapodsPackageUploadResponse) MarshalJSON() ([]byte, error) { + toSerialize := map[string]interface{}{} + if !isNil(o.Architectures) { + toSerialize["architectures"] = o.Architectures + } + if o.CdnUrl.IsSet() { + toSerialize["cdn_url"] = o.CdnUrl.Get() + } + if !isNil(o.ChecksumMd5) { + toSerialize["checksum_md5"] = o.ChecksumMd5 + } + if !isNil(o.ChecksumSha1) { + toSerialize["checksum_sha1"] = o.ChecksumSha1 + } + if !isNil(o.ChecksumSha256) { + toSerialize["checksum_sha256"] = o.ChecksumSha256 + } + if !isNil(o.ChecksumSha512) { + toSerialize["checksum_sha512"] = o.ChecksumSha512 + } + if !isNil(o.DependenciesChecksumMd5) { + toSerialize["dependencies_checksum_md5"] = o.DependenciesChecksumMd5 + } + if !isNil(o.DependenciesUrl) { + toSerialize["dependencies_url"] = o.DependenciesUrl + } + if !isNil(o.Description) { + toSerialize["description"] = o.Description + } + if o.Distro.IsSet() { + toSerialize["distro"] = o.Distro.Get() + } + if !isNil(o.DistroVersion) { + toSerialize["distro_version"] = o.DistroVersion + } + if !isNil(o.Downloads) { + toSerialize["downloads"] = o.Downloads + } + if !isNil(o.Epoch) { + toSerialize["epoch"] = o.Epoch + } + if !isNil(o.Extension) { + toSerialize["extension"] = o.Extension + } + if !isNil(o.Filename) { + toSerialize["filename"] = o.Filename + } + if !isNil(o.Files) { + toSerialize["files"] = o.Files + } + if !isNil(o.Format) { + toSerialize["format"] = o.Format + } + if !isNil(o.FormatUrl) { + toSerialize["format_url"] = o.FormatUrl + } + if !isNil(o.IdentifierPerm) { + toSerialize["identifier_perm"] = o.IdentifierPerm + } + if !isNil(o.Indexed) { + toSerialize["indexed"] = o.Indexed + } + if !isNil(o.IsDownloadable) { + toSerialize["is_downloadable"] = o.IsDownloadable + } + if !isNil(o.IsQuarantined) { + toSerialize["is_quarantined"] = o.IsQuarantined + } + if !isNil(o.IsSyncAwaiting) { + toSerialize["is_sync_awaiting"] = o.IsSyncAwaiting + } + if !isNil(o.IsSyncCompleted) { + toSerialize["is_sync_completed"] = o.IsSyncCompleted + } + if !isNil(o.IsSyncFailed) { + toSerialize["is_sync_failed"] = o.IsSyncFailed + } + if !isNil(o.IsSyncInFlight) { + toSerialize["is_sync_in_flight"] = o.IsSyncInFlight + } + if !isNil(o.IsSyncInProgress) { + toSerialize["is_sync_in_progress"] = o.IsSyncInProgress + } + if !isNil(o.License) { + toSerialize["license"] = o.License + } + if !isNil(o.Name) { + toSerialize["name"] = o.Name + } + if !isNil(o.Namespace) { + toSerialize["namespace"] = o.Namespace + } + if !isNil(o.NamespaceUrl) { + toSerialize["namespace_url"] = o.NamespaceUrl + } + if !isNil(o.NumFiles) { + toSerialize["num_files"] = o.NumFiles + } + if !isNil(o.OriginRepository) { + toSerialize["origin_repository"] = o.OriginRepository + } + if !isNil(o.OriginRepositoryUrl) { + toSerialize["origin_repository_url"] = o.OriginRepositoryUrl + } + if !isNil(o.PackageType) { + toSerialize["package_type"] = o.PackageType + } + if !isNil(o.Release) { + toSerialize["release"] = o.Release + } + if !isNil(o.Repository) { + toSerialize["repository"] = o.Repository + } + if !isNil(o.RepositoryUrl) { + toSerialize["repository_url"] = o.RepositoryUrl + } + if !isNil(o.SecurityScanCompletedAt) { + toSerialize["security_scan_completed_at"] = o.SecurityScanCompletedAt + } + if !isNil(o.SecurityScanStartedAt) { + toSerialize["security_scan_started_at"] = o.SecurityScanStartedAt + } + if o.SecurityScanStatus.IsSet() { + toSerialize["security_scan_status"] = o.SecurityScanStatus.Get() + } + if !isNil(o.SecurityScanStatusUpdatedAt) { + toSerialize["security_scan_status_updated_at"] = o.SecurityScanStatusUpdatedAt + } + if !isNil(o.SelfHtmlUrl) { + toSerialize["self_html_url"] = o.SelfHtmlUrl + } + if !isNil(o.SelfUrl) { + toSerialize["self_url"] = o.SelfUrl + } + if o.SignatureUrl.IsSet() { + toSerialize["signature_url"] = o.SignatureUrl.Get() + } + if !isNil(o.Size) { + toSerialize["size"] = o.Size + } + if !isNil(o.Slug) { + toSerialize["slug"] = o.Slug + } + if !isNil(o.SlugPerm) { + toSerialize["slug_perm"] = o.SlugPerm + } + if !isNil(o.Stage) { + toSerialize["stage"] = o.Stage + } + if !isNil(o.StageStr) { + toSerialize["stage_str"] = o.StageStr + } + if !isNil(o.StageUpdatedAt) { + toSerialize["stage_updated_at"] = o.StageUpdatedAt + } + if !isNil(o.Status) { + toSerialize["status"] = o.Status + } + if !isNil(o.StatusReason) { + toSerialize["status_reason"] = o.StatusReason + } + if !isNil(o.StatusStr) { + toSerialize["status_str"] = o.StatusStr + } + if !isNil(o.StatusUpdatedAt) { + toSerialize["status_updated_at"] = o.StatusUpdatedAt + } + if !isNil(o.StatusUrl) { + toSerialize["status_url"] = o.StatusUrl + } + if !isNil(o.Subtype) { + toSerialize["subtype"] = o.Subtype + } + if !isNil(o.Summary) { + toSerialize["summary"] = o.Summary + } + if !isNil(o.SyncFinishedAt) { + toSerialize["sync_finished_at"] = o.SyncFinishedAt + } + if !isNil(o.SyncProgress) { + toSerialize["sync_progress"] = o.SyncProgress + } + if !isNil(o.TagsImmutable) { + toSerialize["tags_immutable"] = o.TagsImmutable + } + if !isNil(o.TypeDisplay) { + toSerialize["type_display"] = o.TypeDisplay + } + if !isNil(o.UploadedAt) { + toSerialize["uploaded_at"] = o.UploadedAt + } + if !isNil(o.Uploader) { + toSerialize["uploader"] = o.Uploader + } + if !isNil(o.UploaderUrl) { + toSerialize["uploader_url"] = o.UploaderUrl + } + if !isNil(o.Version) { + toSerialize["version"] = o.Version + } + if !isNil(o.VersionOrig) { + toSerialize["version_orig"] = o.VersionOrig + } + if !isNil(o.VulnerabilityScanResultsUrl) { + toSerialize["vulnerability_scan_results_url"] = o.VulnerabilityScanResultsUrl + } + return json.Marshal(toSerialize) +} + +type NullableCocoapodsPackageUploadResponse struct { + value *CocoapodsPackageUploadResponse + isSet bool +} + +func (v NullableCocoapodsPackageUploadResponse) Get() *CocoapodsPackageUploadResponse { + return v.value +} + +func (v *NullableCocoapodsPackageUploadResponse) Set(val *CocoapodsPackageUploadResponse) { + v.value = val + v.isSet = true +} + +func (v NullableCocoapodsPackageUploadResponse) IsSet() bool { + return v.isSet +} + +func (v *NullableCocoapodsPackageUploadResponse) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableCocoapodsPackageUploadResponse(val *CocoapodsPackageUploadResponse) *NullableCocoapodsPackageUploadResponse { + return &NullableCocoapodsPackageUploadResponse{value: val, isSet: true} +} + +func (v NullableCocoapodsPackageUploadResponse) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableCocoapodsPackageUploadResponse) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} diff --git a/model_common_bandwidth_metrics.go b/model_common_bandwidth_metrics.go new file mode 100644 index 00000000..11dfba32 --- /dev/null +++ b/model_common_bandwidth_metrics.go @@ -0,0 +1,194 @@ +/* +Cloudsmith API (v1) + +The API to the Cloudsmith Service + +API version: 1.181.6 +Contact: support@cloudsmith.io +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cloudsmith + +import ( + "encoding/json" +) + +// CommonBandwidthMetrics struct for CommonBandwidthMetrics +type CommonBandwidthMetrics struct { + Average CommonBandwidthMetricsValue `json:"average"` + Highest CommonBandwidthMetricsValue `json:"highest"` + Lowest CommonBandwidthMetricsValue `json:"lowest"` + Total CommonBandwidthMetricsValue `json:"total"` +} + +// NewCommonBandwidthMetrics instantiates a new CommonBandwidthMetrics object +// 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 NewCommonBandwidthMetrics(average CommonBandwidthMetricsValue, highest CommonBandwidthMetricsValue, lowest CommonBandwidthMetricsValue, total CommonBandwidthMetricsValue) *CommonBandwidthMetrics { + this := CommonBandwidthMetrics{} + this.Average = average + this.Highest = highest + this.Lowest = lowest + this.Total = total + return &this +} + +// NewCommonBandwidthMetricsWithDefaults instantiates a new CommonBandwidthMetrics object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewCommonBandwidthMetricsWithDefaults() *CommonBandwidthMetrics { + this := CommonBandwidthMetrics{} + return &this +} + +// GetAverage returns the Average field value +func (o *CommonBandwidthMetrics) GetAverage() CommonBandwidthMetricsValue { + if o == nil { + var ret CommonBandwidthMetricsValue + return ret + } + + return o.Average +} + +// GetAverageOk returns a tuple with the Average field value +// and a boolean to check if the value has been set. +func (o *CommonBandwidthMetrics) GetAverageOk() (*CommonBandwidthMetricsValue, bool) { + if o == nil { + return nil, false + } + return &o.Average, true +} + +// SetAverage sets field value +func (o *CommonBandwidthMetrics) SetAverage(v CommonBandwidthMetricsValue) { + o.Average = v +} + +// GetHighest returns the Highest field value +func (o *CommonBandwidthMetrics) GetHighest() CommonBandwidthMetricsValue { + if o == nil { + var ret CommonBandwidthMetricsValue + return ret + } + + return o.Highest +} + +// GetHighestOk returns a tuple with the Highest field value +// and a boolean to check if the value has been set. +func (o *CommonBandwidthMetrics) GetHighestOk() (*CommonBandwidthMetricsValue, bool) { + if o == nil { + return nil, false + } + return &o.Highest, true +} + +// SetHighest sets field value +func (o *CommonBandwidthMetrics) SetHighest(v CommonBandwidthMetricsValue) { + o.Highest = v +} + +// GetLowest returns the Lowest field value +func (o *CommonBandwidthMetrics) GetLowest() CommonBandwidthMetricsValue { + if o == nil { + var ret CommonBandwidthMetricsValue + return ret + } + + return o.Lowest +} + +// GetLowestOk returns a tuple with the Lowest field value +// and a boolean to check if the value has been set. +func (o *CommonBandwidthMetrics) GetLowestOk() (*CommonBandwidthMetricsValue, bool) { + if o == nil { + return nil, false + } + return &o.Lowest, true +} + +// SetLowest sets field value +func (o *CommonBandwidthMetrics) SetLowest(v CommonBandwidthMetricsValue) { + o.Lowest = v +} + +// GetTotal returns the Total field value +func (o *CommonBandwidthMetrics) GetTotal() CommonBandwidthMetricsValue { + if o == nil { + var ret CommonBandwidthMetricsValue + return ret + } + + return o.Total +} + +// GetTotalOk returns a tuple with the Total field value +// and a boolean to check if the value has been set. +func (o *CommonBandwidthMetrics) GetTotalOk() (*CommonBandwidthMetricsValue, bool) { + if o == nil { + return nil, false + } + return &o.Total, true +} + +// SetTotal sets field value +func (o *CommonBandwidthMetrics) SetTotal(v CommonBandwidthMetricsValue) { + o.Total = v +} + +func (o CommonBandwidthMetrics) MarshalJSON() ([]byte, error) { + toSerialize := map[string]interface{}{} + if true { + toSerialize["average"] = o.Average + } + if true { + toSerialize["highest"] = o.Highest + } + if true { + toSerialize["lowest"] = o.Lowest + } + if true { + toSerialize["total"] = o.Total + } + return json.Marshal(toSerialize) +} + +type NullableCommonBandwidthMetrics struct { + value *CommonBandwidthMetrics + isSet bool +} + +func (v NullableCommonBandwidthMetrics) Get() *CommonBandwidthMetrics { + return v.value +} + +func (v *NullableCommonBandwidthMetrics) Set(val *CommonBandwidthMetrics) { + v.value = val + v.isSet = true +} + +func (v NullableCommonBandwidthMetrics) IsSet() bool { + return v.isSet +} + +func (v *NullableCommonBandwidthMetrics) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableCommonBandwidthMetrics(val *CommonBandwidthMetrics) *NullableCommonBandwidthMetrics { + return &NullableCommonBandwidthMetrics{value: val, isSet: true} +} + +func (v NullableCommonBandwidthMetrics) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableCommonBandwidthMetrics) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} diff --git a/model_common_bandwidth_metrics_value.go b/model_common_bandwidth_metrics_value.go new file mode 100644 index 00000000..2ec3b6d9 --- /dev/null +++ b/model_common_bandwidth_metrics_value.go @@ -0,0 +1,176 @@ +/* +Cloudsmith API (v1) + +The API to the Cloudsmith Service + +API version: 1.181.6 +Contact: support@cloudsmith.io +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cloudsmith + +import ( + "encoding/json" +) + +// CommonBandwidthMetricsValue struct for CommonBandwidthMetricsValue +type CommonBandwidthMetricsValue struct { + Display string `json:"display"` + Units *string `json:"units,omitempty"` + Value int64 `json:"value"` +} + +// NewCommonBandwidthMetricsValue instantiates a new CommonBandwidthMetricsValue object +// 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 NewCommonBandwidthMetricsValue(display string, value int64) *CommonBandwidthMetricsValue { + this := CommonBandwidthMetricsValue{} + this.Display = display + var units string = "bytes" + this.Units = &units + this.Value = value + return &this +} + +// NewCommonBandwidthMetricsValueWithDefaults instantiates a new CommonBandwidthMetricsValue object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewCommonBandwidthMetricsValueWithDefaults() *CommonBandwidthMetricsValue { + this := CommonBandwidthMetricsValue{} + var units string = "bytes" + this.Units = &units + return &this +} + +// GetDisplay returns the Display field value +func (o *CommonBandwidthMetricsValue) GetDisplay() string { + if o == nil { + var ret string + return ret + } + + return o.Display +} + +// GetDisplayOk returns a tuple with the Display field value +// and a boolean to check if the value has been set. +func (o *CommonBandwidthMetricsValue) GetDisplayOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Display, true +} + +// SetDisplay sets field value +func (o *CommonBandwidthMetricsValue) SetDisplay(v string) { + o.Display = v +} + +// GetUnits returns the Units field value if set, zero value otherwise. +func (o *CommonBandwidthMetricsValue) GetUnits() string { + if o == nil || isNil(o.Units) { + var ret string + return ret + } + return *o.Units +} + +// GetUnitsOk returns a tuple with the Units field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *CommonBandwidthMetricsValue) GetUnitsOk() (*string, bool) { + if o == nil || isNil(o.Units) { + return nil, false + } + return o.Units, true +} + +// HasUnits returns a boolean if a field has been set. +func (o *CommonBandwidthMetricsValue) HasUnits() bool { + if o != nil && !isNil(o.Units) { + return true + } + + return false +} + +// SetUnits gets a reference to the given string and assigns it to the Units field. +func (o *CommonBandwidthMetricsValue) SetUnits(v string) { + o.Units = &v +} + +// GetValue returns the Value field value +func (o *CommonBandwidthMetricsValue) GetValue() int64 { + if o == nil { + var ret int64 + return ret + } + + return o.Value +} + +// GetValueOk returns a tuple with the Value field value +// and a boolean to check if the value has been set. +func (o *CommonBandwidthMetricsValue) GetValueOk() (*int64, bool) { + if o == nil { + return nil, false + } + return &o.Value, true +} + +// SetValue sets field value +func (o *CommonBandwidthMetricsValue) SetValue(v int64) { + o.Value = v +} + +func (o CommonBandwidthMetricsValue) MarshalJSON() ([]byte, error) { + toSerialize := map[string]interface{}{} + if true { + toSerialize["display"] = o.Display + } + if !isNil(o.Units) { + toSerialize["units"] = o.Units + } + if true { + toSerialize["value"] = o.Value + } + return json.Marshal(toSerialize) +} + +type NullableCommonBandwidthMetricsValue struct { + value *CommonBandwidthMetricsValue + isSet bool +} + +func (v NullableCommonBandwidthMetricsValue) Get() *CommonBandwidthMetricsValue { + return v.value +} + +func (v *NullableCommonBandwidthMetricsValue) Set(val *CommonBandwidthMetricsValue) { + v.value = val + v.isSet = true +} + +func (v NullableCommonBandwidthMetricsValue) IsSet() bool { + return v.isSet +} + +func (v *NullableCommonBandwidthMetricsValue) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableCommonBandwidthMetricsValue(val *CommonBandwidthMetricsValue) *NullableCommonBandwidthMetricsValue { + return &NullableCommonBandwidthMetricsValue{value: val, isSet: true} +} + +func (v NullableCommonBandwidthMetricsValue) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableCommonBandwidthMetricsValue) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} diff --git a/model_common_downloads_metrics.go b/model_common_downloads_metrics.go new file mode 100644 index 00000000..cdb47e8f --- /dev/null +++ b/model_common_downloads_metrics.go @@ -0,0 +1,194 @@ +/* +Cloudsmith API (v1) + +The API to the Cloudsmith Service + +API version: 1.181.6 +Contact: support@cloudsmith.io +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cloudsmith + +import ( + "encoding/json" +) + +// CommonDownloadsMetrics struct for CommonDownloadsMetrics +type CommonDownloadsMetrics struct { + Average CommonDownloadsMetricsValue `json:"average"` + Highest CommonDownloadsMetricsValue `json:"highest"` + Lowest CommonDownloadsMetricsValue `json:"lowest"` + Total CommonDownloadsMetricsValue `json:"total"` +} + +// NewCommonDownloadsMetrics instantiates a new CommonDownloadsMetrics object +// 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 NewCommonDownloadsMetrics(average CommonDownloadsMetricsValue, highest CommonDownloadsMetricsValue, lowest CommonDownloadsMetricsValue, total CommonDownloadsMetricsValue) *CommonDownloadsMetrics { + this := CommonDownloadsMetrics{} + this.Average = average + this.Highest = highest + this.Lowest = lowest + this.Total = total + return &this +} + +// NewCommonDownloadsMetricsWithDefaults instantiates a new CommonDownloadsMetrics object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewCommonDownloadsMetricsWithDefaults() *CommonDownloadsMetrics { + this := CommonDownloadsMetrics{} + return &this +} + +// GetAverage returns the Average field value +func (o *CommonDownloadsMetrics) GetAverage() CommonDownloadsMetricsValue { + if o == nil { + var ret CommonDownloadsMetricsValue + return ret + } + + return o.Average +} + +// GetAverageOk returns a tuple with the Average field value +// and a boolean to check if the value has been set. +func (o *CommonDownloadsMetrics) GetAverageOk() (*CommonDownloadsMetricsValue, bool) { + if o == nil { + return nil, false + } + return &o.Average, true +} + +// SetAverage sets field value +func (o *CommonDownloadsMetrics) SetAverage(v CommonDownloadsMetricsValue) { + o.Average = v +} + +// GetHighest returns the Highest field value +func (o *CommonDownloadsMetrics) GetHighest() CommonDownloadsMetricsValue { + if o == nil { + var ret CommonDownloadsMetricsValue + return ret + } + + return o.Highest +} + +// GetHighestOk returns a tuple with the Highest field value +// and a boolean to check if the value has been set. +func (o *CommonDownloadsMetrics) GetHighestOk() (*CommonDownloadsMetricsValue, bool) { + if o == nil { + return nil, false + } + return &o.Highest, true +} + +// SetHighest sets field value +func (o *CommonDownloadsMetrics) SetHighest(v CommonDownloadsMetricsValue) { + o.Highest = v +} + +// GetLowest returns the Lowest field value +func (o *CommonDownloadsMetrics) GetLowest() CommonDownloadsMetricsValue { + if o == nil { + var ret CommonDownloadsMetricsValue + return ret + } + + return o.Lowest +} + +// GetLowestOk returns a tuple with the Lowest field value +// and a boolean to check if the value has been set. +func (o *CommonDownloadsMetrics) GetLowestOk() (*CommonDownloadsMetricsValue, bool) { + if o == nil { + return nil, false + } + return &o.Lowest, true +} + +// SetLowest sets field value +func (o *CommonDownloadsMetrics) SetLowest(v CommonDownloadsMetricsValue) { + o.Lowest = v +} + +// GetTotal returns the Total field value +func (o *CommonDownloadsMetrics) GetTotal() CommonDownloadsMetricsValue { + if o == nil { + var ret CommonDownloadsMetricsValue + return ret + } + + return o.Total +} + +// GetTotalOk returns a tuple with the Total field value +// and a boolean to check if the value has been set. +func (o *CommonDownloadsMetrics) GetTotalOk() (*CommonDownloadsMetricsValue, bool) { + if o == nil { + return nil, false + } + return &o.Total, true +} + +// SetTotal sets field value +func (o *CommonDownloadsMetrics) SetTotal(v CommonDownloadsMetricsValue) { + o.Total = v +} + +func (o CommonDownloadsMetrics) MarshalJSON() ([]byte, error) { + toSerialize := map[string]interface{}{} + if true { + toSerialize["average"] = o.Average + } + if true { + toSerialize["highest"] = o.Highest + } + if true { + toSerialize["lowest"] = o.Lowest + } + if true { + toSerialize["total"] = o.Total + } + return json.Marshal(toSerialize) +} + +type NullableCommonDownloadsMetrics struct { + value *CommonDownloadsMetrics + isSet bool +} + +func (v NullableCommonDownloadsMetrics) Get() *CommonDownloadsMetrics { + return v.value +} + +func (v *NullableCommonDownloadsMetrics) Set(val *CommonDownloadsMetrics) { + v.value = val + v.isSet = true +} + +func (v NullableCommonDownloadsMetrics) IsSet() bool { + return v.isSet +} + +func (v *NullableCommonDownloadsMetrics) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableCommonDownloadsMetrics(val *CommonDownloadsMetrics) *NullableCommonDownloadsMetrics { + return &NullableCommonDownloadsMetrics{value: val, isSet: true} +} + +func (v NullableCommonDownloadsMetrics) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableCommonDownloadsMetrics) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} diff --git a/model_common_downloads_metrics_value.go b/model_common_downloads_metrics_value.go new file mode 100644 index 00000000..8990e891 --- /dev/null +++ b/model_common_downloads_metrics_value.go @@ -0,0 +1,107 @@ +/* +Cloudsmith API (v1) + +The API to the Cloudsmith Service + +API version: 1.181.6 +Contact: support@cloudsmith.io +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cloudsmith + +import ( + "encoding/json" +) + +// CommonDownloadsMetricsValue struct for CommonDownloadsMetricsValue +type CommonDownloadsMetricsValue struct { + Value int64 `json:"value"` +} + +// NewCommonDownloadsMetricsValue instantiates a new CommonDownloadsMetricsValue object +// 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 NewCommonDownloadsMetricsValue(value int64) *CommonDownloadsMetricsValue { + this := CommonDownloadsMetricsValue{} + this.Value = value + return &this +} + +// NewCommonDownloadsMetricsValueWithDefaults instantiates a new CommonDownloadsMetricsValue object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewCommonDownloadsMetricsValueWithDefaults() *CommonDownloadsMetricsValue { + this := CommonDownloadsMetricsValue{} + return &this +} + +// GetValue returns the Value field value +func (o *CommonDownloadsMetricsValue) GetValue() int64 { + if o == nil { + var ret int64 + return ret + } + + return o.Value +} + +// GetValueOk returns a tuple with the Value field value +// and a boolean to check if the value has been set. +func (o *CommonDownloadsMetricsValue) GetValueOk() (*int64, bool) { + if o == nil { + return nil, false + } + return &o.Value, true +} + +// SetValue sets field value +func (o *CommonDownloadsMetricsValue) SetValue(v int64) { + o.Value = v +} + +func (o CommonDownloadsMetricsValue) MarshalJSON() ([]byte, error) { + toSerialize := map[string]interface{}{} + if true { + toSerialize["value"] = o.Value + } + return json.Marshal(toSerialize) +} + +type NullableCommonDownloadsMetricsValue struct { + value *CommonDownloadsMetricsValue + isSet bool +} + +func (v NullableCommonDownloadsMetricsValue) Get() *CommonDownloadsMetricsValue { + return v.value +} + +func (v *NullableCommonDownloadsMetricsValue) Set(val *CommonDownloadsMetricsValue) { + v.value = val + v.isSet = true +} + +func (v NullableCommonDownloadsMetricsValue) IsSet() bool { + return v.isSet +} + +func (v *NullableCommonDownloadsMetricsValue) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableCommonDownloadsMetricsValue(val *CommonDownloadsMetricsValue) *NullableCommonDownloadsMetricsValue { + return &NullableCommonDownloadsMetricsValue{value: val, isSet: true} +} + +func (v NullableCommonDownloadsMetricsValue) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableCommonDownloadsMetricsValue) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} diff --git a/model_common_metrics.go b/model_common_metrics.go new file mode 100644 index 00000000..6c7ebc25 --- /dev/null +++ b/model_common_metrics.go @@ -0,0 +1,244 @@ +/* +Cloudsmith API (v1) + +The API to the Cloudsmith Service + +API version: 1.181.6 +Contact: support@cloudsmith.io +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cloudsmith + +import ( + "encoding/json" +) + +// CommonMetrics struct for CommonMetrics +type CommonMetrics struct { + Active *int64 `json:"active,omitempty"` + Bandwidth CommonBandwidthMetrics `json:"bandwidth"` + Downloads CommonDownloadsMetrics `json:"downloads"` + Inactive *int64 `json:"inactive,omitempty"` + Total *int64 `json:"total,omitempty"` +} + +// NewCommonMetrics instantiates a new CommonMetrics object +// 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 NewCommonMetrics(bandwidth CommonBandwidthMetrics, downloads CommonDownloadsMetrics) *CommonMetrics { + this := CommonMetrics{} + this.Bandwidth = bandwidth + this.Downloads = downloads + return &this +} + +// NewCommonMetricsWithDefaults instantiates a new CommonMetrics object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewCommonMetricsWithDefaults() *CommonMetrics { + this := CommonMetrics{} + return &this +} + +// GetActive returns the Active field value if set, zero value otherwise. +func (o *CommonMetrics) GetActive() int64 { + if o == nil || isNil(o.Active) { + var ret int64 + return ret + } + return *o.Active +} + +// GetActiveOk returns a tuple with the Active field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *CommonMetrics) GetActiveOk() (*int64, bool) { + if o == nil || isNil(o.Active) { + return nil, false + } + return o.Active, true +} + +// HasActive returns a boolean if a field has been set. +func (o *CommonMetrics) HasActive() bool { + if o != nil && !isNil(o.Active) { + return true + } + + return false +} + +// SetActive gets a reference to the given int64 and assigns it to the Active field. +func (o *CommonMetrics) SetActive(v int64) { + o.Active = &v +} + +// GetBandwidth returns the Bandwidth field value +func (o *CommonMetrics) GetBandwidth() CommonBandwidthMetrics { + if o == nil { + var ret CommonBandwidthMetrics + return ret + } + + return o.Bandwidth +} + +// GetBandwidthOk returns a tuple with the Bandwidth field value +// and a boolean to check if the value has been set. +func (o *CommonMetrics) GetBandwidthOk() (*CommonBandwidthMetrics, bool) { + if o == nil { + return nil, false + } + return &o.Bandwidth, true +} + +// SetBandwidth sets field value +func (o *CommonMetrics) SetBandwidth(v CommonBandwidthMetrics) { + o.Bandwidth = v +} + +// GetDownloads returns the Downloads field value +func (o *CommonMetrics) GetDownloads() CommonDownloadsMetrics { + if o == nil { + var ret CommonDownloadsMetrics + return ret + } + + return o.Downloads +} + +// GetDownloadsOk returns a tuple with the Downloads field value +// and a boolean to check if the value has been set. +func (o *CommonMetrics) GetDownloadsOk() (*CommonDownloadsMetrics, bool) { + if o == nil { + return nil, false + } + return &o.Downloads, true +} + +// SetDownloads sets field value +func (o *CommonMetrics) SetDownloads(v CommonDownloadsMetrics) { + o.Downloads = v +} + +// GetInactive returns the Inactive field value if set, zero value otherwise. +func (o *CommonMetrics) GetInactive() int64 { + if o == nil || isNil(o.Inactive) { + var ret int64 + return ret + } + return *o.Inactive +} + +// GetInactiveOk returns a tuple with the Inactive field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *CommonMetrics) GetInactiveOk() (*int64, bool) { + if o == nil || isNil(o.Inactive) { + return nil, false + } + return o.Inactive, true +} + +// HasInactive returns a boolean if a field has been set. +func (o *CommonMetrics) HasInactive() bool { + if o != nil && !isNil(o.Inactive) { + return true + } + + return false +} + +// SetInactive gets a reference to the given int64 and assigns it to the Inactive field. +func (o *CommonMetrics) SetInactive(v int64) { + o.Inactive = &v +} + +// GetTotal returns the Total field value if set, zero value otherwise. +func (o *CommonMetrics) GetTotal() int64 { + if o == nil || isNil(o.Total) { + var ret int64 + return ret + } + return *o.Total +} + +// GetTotalOk returns a tuple with the Total field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *CommonMetrics) GetTotalOk() (*int64, bool) { + if o == nil || isNil(o.Total) { + return nil, false + } + return o.Total, true +} + +// HasTotal returns a boolean if a field has been set. +func (o *CommonMetrics) HasTotal() bool { + if o != nil && !isNil(o.Total) { + return true + } + + return false +} + +// SetTotal gets a reference to the given int64 and assigns it to the Total field. +func (o *CommonMetrics) SetTotal(v int64) { + o.Total = &v +} + +func (o CommonMetrics) MarshalJSON() ([]byte, error) { + toSerialize := map[string]interface{}{} + if !isNil(o.Active) { + toSerialize["active"] = o.Active + } + if true { + toSerialize["bandwidth"] = o.Bandwidth + } + if true { + toSerialize["downloads"] = o.Downloads + } + if !isNil(o.Inactive) { + toSerialize["inactive"] = o.Inactive + } + if !isNil(o.Total) { + toSerialize["total"] = o.Total + } + return json.Marshal(toSerialize) +} + +type NullableCommonMetrics struct { + value *CommonMetrics + isSet bool +} + +func (v NullableCommonMetrics) Get() *CommonMetrics { + return v.value +} + +func (v *NullableCommonMetrics) Set(val *CommonMetrics) { + v.value = val + v.isSet = true +} + +func (v NullableCommonMetrics) IsSet() bool { + return v.isSet +} + +func (v *NullableCommonMetrics) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableCommonMetrics(val *CommonMetrics) *NullableCommonMetrics { + return &NullableCommonMetrics{value: val, isSet: true} +} + +func (v NullableCommonMetrics) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableCommonMetrics) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} diff --git a/model_composer_package_upload_request.go b/model_composer_package_upload_request.go new file mode 100644 index 00000000..e091438a --- /dev/null +++ b/model_composer_package_upload_request.go @@ -0,0 +1,193 @@ +/* +Cloudsmith API (v1) + +The API to the Cloudsmith Service + +API version: 1.181.6 +Contact: support@cloudsmith.io +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cloudsmith + +import ( + "encoding/json" +) + +// ComposerPackageUploadRequest struct for ComposerPackageUploadRequest +type ComposerPackageUploadRequest struct { + // The primary file for the package. + PackageFile string `json:"package_file"` + // If true, the uploaded package will overwrite any others with the same attributes (e.g. same version); otherwise, it will be flagged as a duplicate. + Republish *bool `json:"republish,omitempty"` + // A comma-separated values list of tags to add to the package. + Tags NullableString `json:"tags,omitempty"` +} + +// NewComposerPackageUploadRequest instantiates a new ComposerPackageUploadRequest object +// 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 NewComposerPackageUploadRequest(packageFile string) *ComposerPackageUploadRequest { + this := ComposerPackageUploadRequest{} + this.PackageFile = packageFile + return &this +} + +// NewComposerPackageUploadRequestWithDefaults instantiates a new ComposerPackageUploadRequest object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewComposerPackageUploadRequestWithDefaults() *ComposerPackageUploadRequest { + this := ComposerPackageUploadRequest{} + return &this +} + +// GetPackageFile returns the PackageFile field value +func (o *ComposerPackageUploadRequest) GetPackageFile() string { + if o == nil { + var ret string + return ret + } + + return o.PackageFile +} + +// GetPackageFileOk returns a tuple with the PackageFile field value +// and a boolean to check if the value has been set. +func (o *ComposerPackageUploadRequest) GetPackageFileOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.PackageFile, true +} + +// SetPackageFile sets field value +func (o *ComposerPackageUploadRequest) SetPackageFile(v string) { + o.PackageFile = v +} + +// GetRepublish returns the Republish field value if set, zero value otherwise. +func (o *ComposerPackageUploadRequest) GetRepublish() bool { + if o == nil || isNil(o.Republish) { + var ret bool + return ret + } + return *o.Republish +} + +// GetRepublishOk returns a tuple with the Republish field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *ComposerPackageUploadRequest) GetRepublishOk() (*bool, bool) { + if o == nil || isNil(o.Republish) { + return nil, false + } + return o.Republish, true +} + +// HasRepublish returns a boolean if a field has been set. +func (o *ComposerPackageUploadRequest) HasRepublish() bool { + if o != nil && !isNil(o.Republish) { + return true + } + + return false +} + +// SetRepublish gets a reference to the given bool and assigns it to the Republish field. +func (o *ComposerPackageUploadRequest) SetRepublish(v bool) { + o.Republish = &v +} + +// GetTags returns the Tags field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *ComposerPackageUploadRequest) GetTags() string { + if o == nil || isNil(o.Tags.Get()) { + var ret string + return ret + } + return *o.Tags.Get() +} + +// GetTagsOk returns a tuple with the Tags 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 *ComposerPackageUploadRequest) GetTagsOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.Tags.Get(), o.Tags.IsSet() +} + +// HasTags returns a boolean if a field has been set. +func (o *ComposerPackageUploadRequest) HasTags() bool { + if o != nil && o.Tags.IsSet() { + return true + } + + return false +} + +// SetTags gets a reference to the given NullableString and assigns it to the Tags field. +func (o *ComposerPackageUploadRequest) SetTags(v string) { + o.Tags.Set(&v) +} + +// SetTagsNil sets the value for Tags to be an explicit nil +func (o *ComposerPackageUploadRequest) SetTagsNil() { + o.Tags.Set(nil) +} + +// UnsetTags ensures that no value is present for Tags, not even an explicit nil +func (o *ComposerPackageUploadRequest) UnsetTags() { + o.Tags.Unset() +} + +func (o ComposerPackageUploadRequest) MarshalJSON() ([]byte, error) { + toSerialize := map[string]interface{}{} + if true { + toSerialize["package_file"] = o.PackageFile + } + if !isNil(o.Republish) { + toSerialize["republish"] = o.Republish + } + if o.Tags.IsSet() { + toSerialize["tags"] = o.Tags.Get() + } + return json.Marshal(toSerialize) +} + +type NullableComposerPackageUploadRequest struct { + value *ComposerPackageUploadRequest + isSet bool +} + +func (v NullableComposerPackageUploadRequest) Get() *ComposerPackageUploadRequest { + return v.value +} + +func (v *NullableComposerPackageUploadRequest) Set(val *ComposerPackageUploadRequest) { + v.value = val + v.isSet = true +} + +func (v NullableComposerPackageUploadRequest) IsSet() bool { + return v.isSet +} + +func (v *NullableComposerPackageUploadRequest) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableComposerPackageUploadRequest(val *ComposerPackageUploadRequest) *NullableComposerPackageUploadRequest { + return &NullableComposerPackageUploadRequest{value: val, isSet: true} +} + +func (v NullableComposerPackageUploadRequest) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableComposerPackageUploadRequest) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} diff --git a/model_composer_package_upload.go b/model_composer_package_upload_response.go similarity index 51% rename from model_composer_package_upload.go rename to model_composer_package_upload_response.go index ade207de..44fc5cf2 100644 --- a/model_composer_package_upload.go +++ b/model_composer_package_upload_response.go @@ -1,9 +1,9 @@ /* -Cloudsmith API +Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.121.3 +API version: 1.181.6 Contact: support@cloudsmith.io */ @@ -13,165 +13,126 @@ package cloudsmith import ( "encoding/json" + "time" ) -// ComposerPackageUpload struct for ComposerPackageUpload -type ComposerPackageUpload struct { - // - Architectures []PackagesOwnerRepoArchitectures `json:"architectures,omitempty"` - // - CdnUrl *string `json:"cdn_url,omitempty"` - // - ChecksumMd5 *string `json:"checksum_md5,omitempty"` - // - ChecksumSha1 *string `json:"checksum_sha1,omitempty"` - // - ChecksumSha256 *string `json:"checksum_sha256,omitempty"` - // - ChecksumSha512 *string `json:"checksum_sha512,omitempty"` +// ComposerPackageUploadResponse struct for ComposerPackageUploadResponse +type ComposerPackageUploadResponse struct { + Architectures []Architecture `json:"architectures,omitempty"` + CdnUrl NullableString `json:"cdn_url,omitempty"` + ChecksumMd5 *string `json:"checksum_md5,omitempty"` + ChecksumSha1 *string `json:"checksum_sha1,omitempty"` + ChecksumSha256 *string `json:"checksum_sha256,omitempty"` + ChecksumSha512 *string `json:"checksum_sha512,omitempty"` // A checksum of all of the package's dependencies. DependenciesChecksumMd5 *string `json:"dependencies_checksum_md5,omitempty"` - // - DependenciesUrl *string `json:"dependencies_url,omitempty"` + DependenciesUrl *string `json:"dependencies_url,omitempty"` // A textual description of this package. - Description *string `json:"description,omitempty"` - // - Distro map[string]interface{} `json:"distro,omitempty"` - // - DistroVersion map[string]interface{} `json:"distro_version,omitempty"` - // - Downloads *int64 `json:"downloads,omitempty"` + Description *string `json:"description,omitempty"` + Distro NullableDistribution `json:"distro,omitempty"` + DistroVersion *DistributionVersion `json:"distro_version,omitempty"` + Downloads *int64 `json:"downloads,omitempty"` // The epoch of the package version (if any). - Epoch *int64 `json:"epoch,omitempty"` - // - Extension *string `json:"extension,omitempty"` - // - Filename *string `json:"filename,omitempty"` - // - Files []PackagesOwnerRepoFiles `json:"files,omitempty"` - // - Format *string `json:"format,omitempty"` - // - FormatUrl *string `json:"format_url,omitempty"` + Epoch *int64 `json:"epoch,omitempty"` + Extension *string `json:"extension,omitempty"` + Filename *string `json:"filename,omitempty"` + Files []PackageFile `json:"files,omitempty"` + Format *string `json:"format,omitempty"` + FormatUrl *string `json:"format_url,omitempty"` // Unique and permanent identifier for the package. - IdentifierPerm *string `json:"identifier_perm,omitempty"` - // - Indexed *bool `json:"indexed,omitempty"` - // - IsDownloadable *bool `json:"is_downloadable,omitempty"` - // - IsQuarantined *bool `json:"is_quarantined,omitempty"` - // - IsSyncAwaiting *bool `json:"is_sync_awaiting,omitempty"` - // - IsSyncCompleted *bool `json:"is_sync_completed,omitempty"` - // - IsSyncFailed *bool `json:"is_sync_failed,omitempty"` - // - IsSyncInFlight *bool `json:"is_sync_in_flight,omitempty"` - // - IsSyncInProgress *bool `json:"is_sync_in_progress,omitempty"` + IdentifierPerm *string `json:"identifier_perm,omitempty"` + Indexed *bool `json:"indexed,omitempty"` + IsDownloadable *bool `json:"is_downloadable,omitempty"` + IsQuarantined *bool `json:"is_quarantined,omitempty"` + IsSyncAwaiting *bool `json:"is_sync_awaiting,omitempty"` + IsSyncCompleted *bool `json:"is_sync_completed,omitempty"` + IsSyncFailed *bool `json:"is_sync_failed,omitempty"` + IsSyncInFlight *bool `json:"is_sync_in_flight,omitempty"` + IsSyncInProgress *bool `json:"is_sync_in_progress,omitempty"` // The license of this package. License *string `json:"license,omitempty"` // The name of this package. - Name *string `json:"name,omitempty"` - // - Namespace *string `json:"namespace,omitempty"` - // - NamespaceUrl *string `json:"namespace_url,omitempty"` - // - NumFiles *int64 `json:"num_files,omitempty"` + Name *string `json:"name,omitempty"` + Namespace *string `json:"namespace,omitempty"` + NamespaceUrl *string `json:"namespace_url,omitempty"` + NumFiles *int64 `json:"num_files,omitempty"` + OriginRepository *string `json:"origin_repository,omitempty"` + OriginRepositoryUrl *string `json:"origin_repository_url,omitempty"` // The type of package contents. PackageType *int64 `json:"package_type,omitempty"` // The release of the package version (if any). - Release *string `json:"release,omitempty"` - // - Repository *string `json:"repository,omitempty"` - // + Release *string `json:"release,omitempty"` + Repository *string `json:"repository,omitempty"` RepositoryUrl *string `json:"repository_url,omitempty"` // The datetime the security scanning was completed. - SecurityScanCompletedAt *string `json:"security_scan_completed_at,omitempty"` + SecurityScanCompletedAt *time.Time `json:"security_scan_completed_at,omitempty"` // The datetime the security scanning was started. - SecurityScanStartedAt *string `json:"security_scan_started_at,omitempty"` - // - SecurityScanStatus *string `json:"security_scan_status,omitempty"` + SecurityScanStartedAt *time.Time `json:"security_scan_started_at,omitempty"` + SecurityScanStatus NullableString `json:"security_scan_status,omitempty"` // The datetime the security scanning status was updated. - SecurityScanStatusUpdatedAt *string `json:"security_scan_status_updated_at,omitempty"` - // - SelfHtmlUrl *string `json:"self_html_url,omitempty"` - // - SelfUrl *string `json:"self_url,omitempty"` - // - SignatureUrl *string `json:"signature_url,omitempty"` + SecurityScanStatusUpdatedAt *time.Time `json:"security_scan_status_updated_at,omitempty"` + SelfHtmlUrl *string `json:"self_html_url,omitempty"` + SelfUrl *string `json:"self_url,omitempty"` + SignatureUrl NullableString `json:"signature_url,omitempty"` // The calculated size of the package. Size *int64 `json:"size,omitempty"` // The public unique identifier for the package. - Slug *string `json:"slug,omitempty"` - // + Slug *string `json:"slug,omitempty"` SlugPerm *string `json:"slug_perm,omitempty"` // The synchronisation (in progress) stage of the package. - Stage *int64 `json:"stage,omitempty"` - // + Stage *int64 `json:"stage,omitempty"` StageStr *string `json:"stage_str,omitempty"` // The datetime the package stage was updated at. - StageUpdatedAt *string `json:"stage_updated_at,omitempty"` + StageUpdatedAt *time.Time `json:"stage_updated_at,omitempty"` // The synchronisation status of the package. Status *int64 `json:"status,omitempty"` // A textual description for the synchronous status reason (if any StatusReason *string `json:"status_reason,omitempty"` - // - StatusStr *string `json:"status_str,omitempty"` + StatusStr *string `json:"status_str,omitempty"` // The datetime the package status was updated at. - StatusUpdatedAt *string `json:"status_updated_at,omitempty"` - // - StatusUrl *string `json:"status_url,omitempty"` - // - Subtype *string `json:"subtype,omitempty"` + StatusUpdatedAt *time.Time `json:"status_updated_at,omitempty"` + StatusUrl *string `json:"status_url,omitempty"` + Subtype *string `json:"subtype,omitempty"` // A one-liner synopsis of this package. Summary *string `json:"summary,omitempty"` // The datetime the package sync was finished at. - SyncFinishedAt *string `json:"sync_finished_at,omitempty"` + SyncFinishedAt *time.Time `json:"sync_finished_at,omitempty"` // Synchronisation progress (from 0-100) SyncProgress *int64 `json:"sync_progress,omitempty"` - // All immutable tags on the package, grouped by tag type. Immutable tags cannot be (easily) deleted. + // All tags on the package, grouped by tag type. This includes immutable tags, but doesn't distinguish them from mutable. To see which tags are immutable specifically, see the tags_immutable field. TagsImmutable map[string]interface{} `json:"tags_immutable,omitempty"` - // - TypeDisplay *string `json:"type_display,omitempty"` + TypeDisplay *string `json:"type_display,omitempty"` // The date this package was uploaded. - UploadedAt *string `json:"uploaded_at,omitempty"` - // - Uploader *string `json:"uploader,omitempty"` - // - UploaderUrl *string `json:"uploader_url,omitempty"` + UploadedAt *time.Time `json:"uploaded_at,omitempty"` + Uploader *string `json:"uploader,omitempty"` + UploaderUrl *string `json:"uploader_url,omitempty"` // The raw version for this package. - Version *string `json:"version,omitempty"` - // - VersionOrig *string `json:"version_orig,omitempty"` - // + Version *string `json:"version,omitempty"` + VersionOrig *string `json:"version_orig,omitempty"` VulnerabilityScanResultsUrl *string `json:"vulnerability_scan_results_url,omitempty"` } -// NewComposerPackageUpload instantiates a new ComposerPackageUpload object +// NewComposerPackageUploadResponse instantiates a new ComposerPackageUploadResponse object // 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 NewComposerPackageUpload() *ComposerPackageUpload { - this := ComposerPackageUpload{} +func NewComposerPackageUploadResponse() *ComposerPackageUploadResponse { + this := ComposerPackageUploadResponse{} return &this } -// NewComposerPackageUploadWithDefaults instantiates a new ComposerPackageUpload object +// NewComposerPackageUploadResponseWithDefaults instantiates a new ComposerPackageUploadResponse object // This constructor will only assign default values to properties that have it defined, // but it doesn't guarantee that properties required by API are set -func NewComposerPackageUploadWithDefaults() *ComposerPackageUpload { - this := ComposerPackageUpload{} +func NewComposerPackageUploadResponseWithDefaults() *ComposerPackageUploadResponse { + this := ComposerPackageUploadResponse{} return &this } // GetArchitectures returns the Architectures field value if set, zero value otherwise. -func (o *ComposerPackageUpload) GetArchitectures() []PackagesOwnerRepoArchitectures { - if o == nil || o.Architectures == nil { - var ret []PackagesOwnerRepoArchitectures +func (o *ComposerPackageUploadResponse) GetArchitectures() []Architecture { + if o == nil || isNil(o.Architectures) { + var ret []Architecture return ret } return o.Architectures @@ -179,62 +140,73 @@ func (o *ComposerPackageUpload) GetArchitectures() []PackagesOwnerRepoArchitectu // GetArchitecturesOk returns a tuple with the Architectures field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *ComposerPackageUpload) GetArchitecturesOk() ([]PackagesOwnerRepoArchitectures, bool) { - if o == nil || o.Architectures == nil { +func (o *ComposerPackageUploadResponse) GetArchitecturesOk() ([]Architecture, bool) { + if o == nil || isNil(o.Architectures) { return nil, false } return o.Architectures, true } // HasArchitectures returns a boolean if a field has been set. -func (o *ComposerPackageUpload) HasArchitectures() bool { - if o != nil && o.Architectures != nil { +func (o *ComposerPackageUploadResponse) HasArchitectures() bool { + if o != nil && !isNil(o.Architectures) { return true } return false } -// SetArchitectures gets a reference to the given []PackagesOwnerRepoArchitectures and assigns it to the Architectures field. -func (o *ComposerPackageUpload) SetArchitectures(v []PackagesOwnerRepoArchitectures) { +// SetArchitectures gets a reference to the given []Architecture and assigns it to the Architectures field. +func (o *ComposerPackageUploadResponse) SetArchitectures(v []Architecture) { o.Architectures = v } -// GetCdnUrl returns the CdnUrl field value if set, zero value otherwise. -func (o *ComposerPackageUpload) GetCdnUrl() string { - if o == nil || o.CdnUrl == nil { +// GetCdnUrl returns the CdnUrl field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *ComposerPackageUploadResponse) GetCdnUrl() string { + if o == nil || isNil(o.CdnUrl.Get()) { var ret string return ret } - return *o.CdnUrl + return *o.CdnUrl.Get() } // GetCdnUrlOk returns a tuple with the CdnUrl field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *ComposerPackageUpload) GetCdnUrlOk() (*string, bool) { - if o == nil || o.CdnUrl == nil { +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *ComposerPackageUploadResponse) GetCdnUrlOk() (*string, bool) { + if o == nil { return nil, false } - return o.CdnUrl, true + return o.CdnUrl.Get(), o.CdnUrl.IsSet() } // HasCdnUrl returns a boolean if a field has been set. -func (o *ComposerPackageUpload) HasCdnUrl() bool { - if o != nil && o.CdnUrl != nil { +func (o *ComposerPackageUploadResponse) HasCdnUrl() bool { + if o != nil && o.CdnUrl.IsSet() { return true } return false } -// SetCdnUrl gets a reference to the given string and assigns it to the CdnUrl field. -func (o *ComposerPackageUpload) SetCdnUrl(v string) { - o.CdnUrl = &v +// SetCdnUrl gets a reference to the given NullableString and assigns it to the CdnUrl field. +func (o *ComposerPackageUploadResponse) SetCdnUrl(v string) { + o.CdnUrl.Set(&v) +} + +// SetCdnUrlNil sets the value for CdnUrl to be an explicit nil +func (o *ComposerPackageUploadResponse) SetCdnUrlNil() { + o.CdnUrl.Set(nil) +} + +// UnsetCdnUrl ensures that no value is present for CdnUrl, not even an explicit nil +func (o *ComposerPackageUploadResponse) UnsetCdnUrl() { + o.CdnUrl.Unset() } // GetChecksumMd5 returns the ChecksumMd5 field value if set, zero value otherwise. -func (o *ComposerPackageUpload) GetChecksumMd5() string { - if o == nil || o.ChecksumMd5 == nil { +func (o *ComposerPackageUploadResponse) GetChecksumMd5() string { + if o == nil || isNil(o.ChecksumMd5) { var ret string return ret } @@ -243,16 +215,16 @@ func (o *ComposerPackageUpload) GetChecksumMd5() string { // GetChecksumMd5Ok returns a tuple with the ChecksumMd5 field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *ComposerPackageUpload) GetChecksumMd5Ok() (*string, bool) { - if o == nil || o.ChecksumMd5 == nil { +func (o *ComposerPackageUploadResponse) GetChecksumMd5Ok() (*string, bool) { + if o == nil || isNil(o.ChecksumMd5) { return nil, false } return o.ChecksumMd5, true } // HasChecksumMd5 returns a boolean if a field has been set. -func (o *ComposerPackageUpload) HasChecksumMd5() bool { - if o != nil && o.ChecksumMd5 != nil { +func (o *ComposerPackageUploadResponse) HasChecksumMd5() bool { + if o != nil && !isNil(o.ChecksumMd5) { return true } @@ -260,13 +232,13 @@ func (o *ComposerPackageUpload) HasChecksumMd5() bool { } // SetChecksumMd5 gets a reference to the given string and assigns it to the ChecksumMd5 field. -func (o *ComposerPackageUpload) SetChecksumMd5(v string) { +func (o *ComposerPackageUploadResponse) SetChecksumMd5(v string) { o.ChecksumMd5 = &v } // GetChecksumSha1 returns the ChecksumSha1 field value if set, zero value otherwise. -func (o *ComposerPackageUpload) GetChecksumSha1() string { - if o == nil || o.ChecksumSha1 == nil { +func (o *ComposerPackageUploadResponse) GetChecksumSha1() string { + if o == nil || isNil(o.ChecksumSha1) { var ret string return ret } @@ -275,16 +247,16 @@ func (o *ComposerPackageUpload) GetChecksumSha1() string { // GetChecksumSha1Ok returns a tuple with the ChecksumSha1 field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *ComposerPackageUpload) GetChecksumSha1Ok() (*string, bool) { - if o == nil || o.ChecksumSha1 == nil { +func (o *ComposerPackageUploadResponse) GetChecksumSha1Ok() (*string, bool) { + if o == nil || isNil(o.ChecksumSha1) { return nil, false } return o.ChecksumSha1, true } // HasChecksumSha1 returns a boolean if a field has been set. -func (o *ComposerPackageUpload) HasChecksumSha1() bool { - if o != nil && o.ChecksumSha1 != nil { +func (o *ComposerPackageUploadResponse) HasChecksumSha1() bool { + if o != nil && !isNil(o.ChecksumSha1) { return true } @@ -292,13 +264,13 @@ func (o *ComposerPackageUpload) HasChecksumSha1() bool { } // SetChecksumSha1 gets a reference to the given string and assigns it to the ChecksumSha1 field. -func (o *ComposerPackageUpload) SetChecksumSha1(v string) { +func (o *ComposerPackageUploadResponse) SetChecksumSha1(v string) { o.ChecksumSha1 = &v } // GetChecksumSha256 returns the ChecksumSha256 field value if set, zero value otherwise. -func (o *ComposerPackageUpload) GetChecksumSha256() string { - if o == nil || o.ChecksumSha256 == nil { +func (o *ComposerPackageUploadResponse) GetChecksumSha256() string { + if o == nil || isNil(o.ChecksumSha256) { var ret string return ret } @@ -307,16 +279,16 @@ func (o *ComposerPackageUpload) GetChecksumSha256() string { // GetChecksumSha256Ok returns a tuple with the ChecksumSha256 field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *ComposerPackageUpload) GetChecksumSha256Ok() (*string, bool) { - if o == nil || o.ChecksumSha256 == nil { +func (o *ComposerPackageUploadResponse) GetChecksumSha256Ok() (*string, bool) { + if o == nil || isNil(o.ChecksumSha256) { return nil, false } return o.ChecksumSha256, true } // HasChecksumSha256 returns a boolean if a field has been set. -func (o *ComposerPackageUpload) HasChecksumSha256() bool { - if o != nil && o.ChecksumSha256 != nil { +func (o *ComposerPackageUploadResponse) HasChecksumSha256() bool { + if o != nil && !isNil(o.ChecksumSha256) { return true } @@ -324,13 +296,13 @@ func (o *ComposerPackageUpload) HasChecksumSha256() bool { } // SetChecksumSha256 gets a reference to the given string and assigns it to the ChecksumSha256 field. -func (o *ComposerPackageUpload) SetChecksumSha256(v string) { +func (o *ComposerPackageUploadResponse) SetChecksumSha256(v string) { o.ChecksumSha256 = &v } // GetChecksumSha512 returns the ChecksumSha512 field value if set, zero value otherwise. -func (o *ComposerPackageUpload) GetChecksumSha512() string { - if o == nil || o.ChecksumSha512 == nil { +func (o *ComposerPackageUploadResponse) GetChecksumSha512() string { + if o == nil || isNil(o.ChecksumSha512) { var ret string return ret } @@ -339,16 +311,16 @@ func (o *ComposerPackageUpload) GetChecksumSha512() string { // GetChecksumSha512Ok returns a tuple with the ChecksumSha512 field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *ComposerPackageUpload) GetChecksumSha512Ok() (*string, bool) { - if o == nil || o.ChecksumSha512 == nil { +func (o *ComposerPackageUploadResponse) GetChecksumSha512Ok() (*string, bool) { + if o == nil || isNil(o.ChecksumSha512) { return nil, false } return o.ChecksumSha512, true } // HasChecksumSha512 returns a boolean if a field has been set. -func (o *ComposerPackageUpload) HasChecksumSha512() bool { - if o != nil && o.ChecksumSha512 != nil { +func (o *ComposerPackageUploadResponse) HasChecksumSha512() bool { + if o != nil && !isNil(o.ChecksumSha512) { return true } @@ -356,13 +328,13 @@ func (o *ComposerPackageUpload) HasChecksumSha512() bool { } // SetChecksumSha512 gets a reference to the given string and assigns it to the ChecksumSha512 field. -func (o *ComposerPackageUpload) SetChecksumSha512(v string) { +func (o *ComposerPackageUploadResponse) SetChecksumSha512(v string) { o.ChecksumSha512 = &v } // GetDependenciesChecksumMd5 returns the DependenciesChecksumMd5 field value if set, zero value otherwise. -func (o *ComposerPackageUpload) GetDependenciesChecksumMd5() string { - if o == nil || o.DependenciesChecksumMd5 == nil { +func (o *ComposerPackageUploadResponse) GetDependenciesChecksumMd5() string { + if o == nil || isNil(o.DependenciesChecksumMd5) { var ret string return ret } @@ -371,16 +343,16 @@ func (o *ComposerPackageUpload) GetDependenciesChecksumMd5() string { // GetDependenciesChecksumMd5Ok returns a tuple with the DependenciesChecksumMd5 field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *ComposerPackageUpload) GetDependenciesChecksumMd5Ok() (*string, bool) { - if o == nil || o.DependenciesChecksumMd5 == nil { +func (o *ComposerPackageUploadResponse) GetDependenciesChecksumMd5Ok() (*string, bool) { + if o == nil || isNil(o.DependenciesChecksumMd5) { return nil, false } return o.DependenciesChecksumMd5, true } // HasDependenciesChecksumMd5 returns a boolean if a field has been set. -func (o *ComposerPackageUpload) HasDependenciesChecksumMd5() bool { - if o != nil && o.DependenciesChecksumMd5 != nil { +func (o *ComposerPackageUploadResponse) HasDependenciesChecksumMd5() bool { + if o != nil && !isNil(o.DependenciesChecksumMd5) { return true } @@ -388,13 +360,13 @@ func (o *ComposerPackageUpload) HasDependenciesChecksumMd5() bool { } // SetDependenciesChecksumMd5 gets a reference to the given string and assigns it to the DependenciesChecksumMd5 field. -func (o *ComposerPackageUpload) SetDependenciesChecksumMd5(v string) { +func (o *ComposerPackageUploadResponse) SetDependenciesChecksumMd5(v string) { o.DependenciesChecksumMd5 = &v } // GetDependenciesUrl returns the DependenciesUrl field value if set, zero value otherwise. -func (o *ComposerPackageUpload) GetDependenciesUrl() string { - if o == nil || o.DependenciesUrl == nil { +func (o *ComposerPackageUploadResponse) GetDependenciesUrl() string { + if o == nil || isNil(o.DependenciesUrl) { var ret string return ret } @@ -403,16 +375,16 @@ func (o *ComposerPackageUpload) GetDependenciesUrl() string { // GetDependenciesUrlOk returns a tuple with the DependenciesUrl field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *ComposerPackageUpload) GetDependenciesUrlOk() (*string, bool) { - if o == nil || o.DependenciesUrl == nil { +func (o *ComposerPackageUploadResponse) GetDependenciesUrlOk() (*string, bool) { + if o == nil || isNil(o.DependenciesUrl) { return nil, false } return o.DependenciesUrl, true } // HasDependenciesUrl returns a boolean if a field has been set. -func (o *ComposerPackageUpload) HasDependenciesUrl() bool { - if o != nil && o.DependenciesUrl != nil { +func (o *ComposerPackageUploadResponse) HasDependenciesUrl() bool { + if o != nil && !isNil(o.DependenciesUrl) { return true } @@ -420,13 +392,13 @@ func (o *ComposerPackageUpload) HasDependenciesUrl() bool { } // SetDependenciesUrl gets a reference to the given string and assigns it to the DependenciesUrl field. -func (o *ComposerPackageUpload) SetDependenciesUrl(v string) { +func (o *ComposerPackageUploadResponse) SetDependenciesUrl(v string) { o.DependenciesUrl = &v } // GetDescription returns the Description field value if set, zero value otherwise. -func (o *ComposerPackageUpload) GetDescription() string { - if o == nil || o.Description == nil { +func (o *ComposerPackageUploadResponse) GetDescription() string { + if o == nil || isNil(o.Description) { var ret string return ret } @@ -435,16 +407,16 @@ func (o *ComposerPackageUpload) GetDescription() string { // GetDescriptionOk returns a tuple with the Description field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *ComposerPackageUpload) GetDescriptionOk() (*string, bool) { - if o == nil || o.Description == nil { +func (o *ComposerPackageUploadResponse) GetDescriptionOk() (*string, bool) { + if o == nil || isNil(o.Description) { return nil, false } return o.Description, true } // HasDescription returns a boolean if a field has been set. -func (o *ComposerPackageUpload) HasDescription() bool { - if o != nil && o.Description != nil { +func (o *ComposerPackageUploadResponse) HasDescription() bool { + if o != nil && !isNil(o.Description) { return true } @@ -452,77 +424,88 @@ func (o *ComposerPackageUpload) HasDescription() bool { } // SetDescription gets a reference to the given string and assigns it to the Description field. -func (o *ComposerPackageUpload) SetDescription(v string) { +func (o *ComposerPackageUploadResponse) SetDescription(v string) { o.Description = &v } -// GetDistro returns the Distro field value if set, zero value otherwise. -func (o *ComposerPackageUpload) GetDistro() map[string]interface{} { - if o == nil || o.Distro == nil { - var ret map[string]interface{} +// GetDistro returns the Distro field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *ComposerPackageUploadResponse) GetDistro() Distribution { + if o == nil || isNil(o.Distro.Get()) { + var ret Distribution return ret } - return o.Distro + return *o.Distro.Get() } // GetDistroOk returns a tuple with the Distro field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *ComposerPackageUpload) GetDistroOk() (map[string]interface{}, bool) { - if o == nil || o.Distro == nil { +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *ComposerPackageUploadResponse) GetDistroOk() (*Distribution, bool) { + if o == nil { return nil, false } - return o.Distro, true + return o.Distro.Get(), o.Distro.IsSet() } // HasDistro returns a boolean if a field has been set. -func (o *ComposerPackageUpload) HasDistro() bool { - if o != nil && o.Distro != nil { +func (o *ComposerPackageUploadResponse) HasDistro() bool { + if o != nil && o.Distro.IsSet() { return true } return false } -// SetDistro gets a reference to the given map[string]interface{} and assigns it to the Distro field. -func (o *ComposerPackageUpload) SetDistro(v map[string]interface{}) { - o.Distro = v +// SetDistro gets a reference to the given NullableDistribution and assigns it to the Distro field. +func (o *ComposerPackageUploadResponse) SetDistro(v Distribution) { + o.Distro.Set(&v) +} + +// SetDistroNil sets the value for Distro to be an explicit nil +func (o *ComposerPackageUploadResponse) SetDistroNil() { + o.Distro.Set(nil) +} + +// UnsetDistro ensures that no value is present for Distro, not even an explicit nil +func (o *ComposerPackageUploadResponse) UnsetDistro() { + o.Distro.Unset() } // GetDistroVersion returns the DistroVersion field value if set, zero value otherwise. -func (o *ComposerPackageUpload) GetDistroVersion() map[string]interface{} { - if o == nil || o.DistroVersion == nil { - var ret map[string]interface{} +func (o *ComposerPackageUploadResponse) GetDistroVersion() DistributionVersion { + if o == nil || isNil(o.DistroVersion) { + var ret DistributionVersion return ret } - return o.DistroVersion + return *o.DistroVersion } // GetDistroVersionOk returns a tuple with the DistroVersion field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *ComposerPackageUpload) GetDistroVersionOk() (map[string]interface{}, bool) { - if o == nil || o.DistroVersion == nil { +func (o *ComposerPackageUploadResponse) GetDistroVersionOk() (*DistributionVersion, bool) { + if o == nil || isNil(o.DistroVersion) { return nil, false } return o.DistroVersion, true } // HasDistroVersion returns a boolean if a field has been set. -func (o *ComposerPackageUpload) HasDistroVersion() bool { - if o != nil && o.DistroVersion != nil { +func (o *ComposerPackageUploadResponse) HasDistroVersion() bool { + if o != nil && !isNil(o.DistroVersion) { return true } return false } -// SetDistroVersion gets a reference to the given map[string]interface{} and assigns it to the DistroVersion field. -func (o *ComposerPackageUpload) SetDistroVersion(v map[string]interface{}) { - o.DistroVersion = v +// SetDistroVersion gets a reference to the given DistributionVersion and assigns it to the DistroVersion field. +func (o *ComposerPackageUploadResponse) SetDistroVersion(v DistributionVersion) { + o.DistroVersion = &v } // GetDownloads returns the Downloads field value if set, zero value otherwise. -func (o *ComposerPackageUpload) GetDownloads() int64 { - if o == nil || o.Downloads == nil { +func (o *ComposerPackageUploadResponse) GetDownloads() int64 { + if o == nil || isNil(o.Downloads) { var ret int64 return ret } @@ -531,16 +514,16 @@ func (o *ComposerPackageUpload) GetDownloads() int64 { // GetDownloadsOk returns a tuple with the Downloads field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *ComposerPackageUpload) GetDownloadsOk() (*int64, bool) { - if o == nil || o.Downloads == nil { +func (o *ComposerPackageUploadResponse) GetDownloadsOk() (*int64, bool) { + if o == nil || isNil(o.Downloads) { return nil, false } return o.Downloads, true } // HasDownloads returns a boolean if a field has been set. -func (o *ComposerPackageUpload) HasDownloads() bool { - if o != nil && o.Downloads != nil { +func (o *ComposerPackageUploadResponse) HasDownloads() bool { + if o != nil && !isNil(o.Downloads) { return true } @@ -548,13 +531,13 @@ func (o *ComposerPackageUpload) HasDownloads() bool { } // SetDownloads gets a reference to the given int64 and assigns it to the Downloads field. -func (o *ComposerPackageUpload) SetDownloads(v int64) { +func (o *ComposerPackageUploadResponse) SetDownloads(v int64) { o.Downloads = &v } // GetEpoch returns the Epoch field value if set, zero value otherwise. -func (o *ComposerPackageUpload) GetEpoch() int64 { - if o == nil || o.Epoch == nil { +func (o *ComposerPackageUploadResponse) GetEpoch() int64 { + if o == nil || isNil(o.Epoch) { var ret int64 return ret } @@ -563,16 +546,16 @@ func (o *ComposerPackageUpload) GetEpoch() int64 { // GetEpochOk returns a tuple with the Epoch field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *ComposerPackageUpload) GetEpochOk() (*int64, bool) { - if o == nil || o.Epoch == nil { +func (o *ComposerPackageUploadResponse) GetEpochOk() (*int64, bool) { + if o == nil || isNil(o.Epoch) { return nil, false } return o.Epoch, true } // HasEpoch returns a boolean if a field has been set. -func (o *ComposerPackageUpload) HasEpoch() bool { - if o != nil && o.Epoch != nil { +func (o *ComposerPackageUploadResponse) HasEpoch() bool { + if o != nil && !isNil(o.Epoch) { return true } @@ -580,13 +563,13 @@ func (o *ComposerPackageUpload) HasEpoch() bool { } // SetEpoch gets a reference to the given int64 and assigns it to the Epoch field. -func (o *ComposerPackageUpload) SetEpoch(v int64) { +func (o *ComposerPackageUploadResponse) SetEpoch(v int64) { o.Epoch = &v } // GetExtension returns the Extension field value if set, zero value otherwise. -func (o *ComposerPackageUpload) GetExtension() string { - if o == nil || o.Extension == nil { +func (o *ComposerPackageUploadResponse) GetExtension() string { + if o == nil || isNil(o.Extension) { var ret string return ret } @@ -595,16 +578,16 @@ func (o *ComposerPackageUpload) GetExtension() string { // GetExtensionOk returns a tuple with the Extension field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *ComposerPackageUpload) GetExtensionOk() (*string, bool) { - if o == nil || o.Extension == nil { +func (o *ComposerPackageUploadResponse) GetExtensionOk() (*string, bool) { + if o == nil || isNil(o.Extension) { return nil, false } return o.Extension, true } // HasExtension returns a boolean if a field has been set. -func (o *ComposerPackageUpload) HasExtension() bool { - if o != nil && o.Extension != nil { +func (o *ComposerPackageUploadResponse) HasExtension() bool { + if o != nil && !isNil(o.Extension) { return true } @@ -612,13 +595,13 @@ func (o *ComposerPackageUpload) HasExtension() bool { } // SetExtension gets a reference to the given string and assigns it to the Extension field. -func (o *ComposerPackageUpload) SetExtension(v string) { +func (o *ComposerPackageUploadResponse) SetExtension(v string) { o.Extension = &v } // GetFilename returns the Filename field value if set, zero value otherwise. -func (o *ComposerPackageUpload) GetFilename() string { - if o == nil || o.Filename == nil { +func (o *ComposerPackageUploadResponse) GetFilename() string { + if o == nil || isNil(o.Filename) { var ret string return ret } @@ -627,16 +610,16 @@ func (o *ComposerPackageUpload) GetFilename() string { // GetFilenameOk returns a tuple with the Filename field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *ComposerPackageUpload) GetFilenameOk() (*string, bool) { - if o == nil || o.Filename == nil { +func (o *ComposerPackageUploadResponse) GetFilenameOk() (*string, bool) { + if o == nil || isNil(o.Filename) { return nil, false } return o.Filename, true } // HasFilename returns a boolean if a field has been set. -func (o *ComposerPackageUpload) HasFilename() bool { - if o != nil && o.Filename != nil { +func (o *ComposerPackageUploadResponse) HasFilename() bool { + if o != nil && !isNil(o.Filename) { return true } @@ -644,14 +627,14 @@ func (o *ComposerPackageUpload) HasFilename() bool { } // SetFilename gets a reference to the given string and assigns it to the Filename field. -func (o *ComposerPackageUpload) SetFilename(v string) { +func (o *ComposerPackageUploadResponse) SetFilename(v string) { o.Filename = &v } // GetFiles returns the Files field value if set, zero value otherwise. -func (o *ComposerPackageUpload) GetFiles() []PackagesOwnerRepoFiles { - if o == nil || o.Files == nil { - var ret []PackagesOwnerRepoFiles +func (o *ComposerPackageUploadResponse) GetFiles() []PackageFile { + if o == nil || isNil(o.Files) { + var ret []PackageFile return ret } return o.Files @@ -659,30 +642,30 @@ func (o *ComposerPackageUpload) GetFiles() []PackagesOwnerRepoFiles { // GetFilesOk returns a tuple with the Files field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *ComposerPackageUpload) GetFilesOk() ([]PackagesOwnerRepoFiles, bool) { - if o == nil || o.Files == nil { +func (o *ComposerPackageUploadResponse) GetFilesOk() ([]PackageFile, bool) { + if o == nil || isNil(o.Files) { return nil, false } return o.Files, true } // HasFiles returns a boolean if a field has been set. -func (o *ComposerPackageUpload) HasFiles() bool { - if o != nil && o.Files != nil { +func (o *ComposerPackageUploadResponse) HasFiles() bool { + if o != nil && !isNil(o.Files) { return true } return false } -// SetFiles gets a reference to the given []PackagesOwnerRepoFiles and assigns it to the Files field. -func (o *ComposerPackageUpload) SetFiles(v []PackagesOwnerRepoFiles) { +// SetFiles gets a reference to the given []PackageFile and assigns it to the Files field. +func (o *ComposerPackageUploadResponse) SetFiles(v []PackageFile) { o.Files = v } // GetFormat returns the Format field value if set, zero value otherwise. -func (o *ComposerPackageUpload) GetFormat() string { - if o == nil || o.Format == nil { +func (o *ComposerPackageUploadResponse) GetFormat() string { + if o == nil || isNil(o.Format) { var ret string return ret } @@ -691,16 +674,16 @@ func (o *ComposerPackageUpload) GetFormat() string { // GetFormatOk returns a tuple with the Format field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *ComposerPackageUpload) GetFormatOk() (*string, bool) { - if o == nil || o.Format == nil { +func (o *ComposerPackageUploadResponse) GetFormatOk() (*string, bool) { + if o == nil || isNil(o.Format) { return nil, false } return o.Format, true } // HasFormat returns a boolean if a field has been set. -func (o *ComposerPackageUpload) HasFormat() bool { - if o != nil && o.Format != nil { +func (o *ComposerPackageUploadResponse) HasFormat() bool { + if o != nil && !isNil(o.Format) { return true } @@ -708,13 +691,13 @@ func (o *ComposerPackageUpload) HasFormat() bool { } // SetFormat gets a reference to the given string and assigns it to the Format field. -func (o *ComposerPackageUpload) SetFormat(v string) { +func (o *ComposerPackageUploadResponse) SetFormat(v string) { o.Format = &v } // GetFormatUrl returns the FormatUrl field value if set, zero value otherwise. -func (o *ComposerPackageUpload) GetFormatUrl() string { - if o == nil || o.FormatUrl == nil { +func (o *ComposerPackageUploadResponse) GetFormatUrl() string { + if o == nil || isNil(o.FormatUrl) { var ret string return ret } @@ -723,16 +706,16 @@ func (o *ComposerPackageUpload) GetFormatUrl() string { // GetFormatUrlOk returns a tuple with the FormatUrl field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *ComposerPackageUpload) GetFormatUrlOk() (*string, bool) { - if o == nil || o.FormatUrl == nil { +func (o *ComposerPackageUploadResponse) GetFormatUrlOk() (*string, bool) { + if o == nil || isNil(o.FormatUrl) { return nil, false } return o.FormatUrl, true } // HasFormatUrl returns a boolean if a field has been set. -func (o *ComposerPackageUpload) HasFormatUrl() bool { - if o != nil && o.FormatUrl != nil { +func (o *ComposerPackageUploadResponse) HasFormatUrl() bool { + if o != nil && !isNil(o.FormatUrl) { return true } @@ -740,13 +723,13 @@ func (o *ComposerPackageUpload) HasFormatUrl() bool { } // SetFormatUrl gets a reference to the given string and assigns it to the FormatUrl field. -func (o *ComposerPackageUpload) SetFormatUrl(v string) { +func (o *ComposerPackageUploadResponse) SetFormatUrl(v string) { o.FormatUrl = &v } // GetIdentifierPerm returns the IdentifierPerm field value if set, zero value otherwise. -func (o *ComposerPackageUpload) GetIdentifierPerm() string { - if o == nil || o.IdentifierPerm == nil { +func (o *ComposerPackageUploadResponse) GetIdentifierPerm() string { + if o == nil || isNil(o.IdentifierPerm) { var ret string return ret } @@ -755,16 +738,16 @@ func (o *ComposerPackageUpload) GetIdentifierPerm() string { // GetIdentifierPermOk returns a tuple with the IdentifierPerm field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *ComposerPackageUpload) GetIdentifierPermOk() (*string, bool) { - if o == nil || o.IdentifierPerm == nil { +func (o *ComposerPackageUploadResponse) GetIdentifierPermOk() (*string, bool) { + if o == nil || isNil(o.IdentifierPerm) { return nil, false } return o.IdentifierPerm, true } // HasIdentifierPerm returns a boolean if a field has been set. -func (o *ComposerPackageUpload) HasIdentifierPerm() bool { - if o != nil && o.IdentifierPerm != nil { +func (o *ComposerPackageUploadResponse) HasIdentifierPerm() bool { + if o != nil && !isNil(o.IdentifierPerm) { return true } @@ -772,13 +755,13 @@ func (o *ComposerPackageUpload) HasIdentifierPerm() bool { } // SetIdentifierPerm gets a reference to the given string and assigns it to the IdentifierPerm field. -func (o *ComposerPackageUpload) SetIdentifierPerm(v string) { +func (o *ComposerPackageUploadResponse) SetIdentifierPerm(v string) { o.IdentifierPerm = &v } // GetIndexed returns the Indexed field value if set, zero value otherwise. -func (o *ComposerPackageUpload) GetIndexed() bool { - if o == nil || o.Indexed == nil { +func (o *ComposerPackageUploadResponse) GetIndexed() bool { + if o == nil || isNil(o.Indexed) { var ret bool return ret } @@ -787,16 +770,16 @@ func (o *ComposerPackageUpload) GetIndexed() bool { // GetIndexedOk returns a tuple with the Indexed field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *ComposerPackageUpload) GetIndexedOk() (*bool, bool) { - if o == nil || o.Indexed == nil { +func (o *ComposerPackageUploadResponse) GetIndexedOk() (*bool, bool) { + if o == nil || isNil(o.Indexed) { return nil, false } return o.Indexed, true } // HasIndexed returns a boolean if a field has been set. -func (o *ComposerPackageUpload) HasIndexed() bool { - if o != nil && o.Indexed != nil { +func (o *ComposerPackageUploadResponse) HasIndexed() bool { + if o != nil && !isNil(o.Indexed) { return true } @@ -804,13 +787,13 @@ func (o *ComposerPackageUpload) HasIndexed() bool { } // SetIndexed gets a reference to the given bool and assigns it to the Indexed field. -func (o *ComposerPackageUpload) SetIndexed(v bool) { +func (o *ComposerPackageUploadResponse) SetIndexed(v bool) { o.Indexed = &v } // GetIsDownloadable returns the IsDownloadable field value if set, zero value otherwise. -func (o *ComposerPackageUpload) GetIsDownloadable() bool { - if o == nil || o.IsDownloadable == nil { +func (o *ComposerPackageUploadResponse) GetIsDownloadable() bool { + if o == nil || isNil(o.IsDownloadable) { var ret bool return ret } @@ -819,16 +802,16 @@ func (o *ComposerPackageUpload) GetIsDownloadable() bool { // GetIsDownloadableOk returns a tuple with the IsDownloadable field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *ComposerPackageUpload) GetIsDownloadableOk() (*bool, bool) { - if o == nil || o.IsDownloadable == nil { +func (o *ComposerPackageUploadResponse) GetIsDownloadableOk() (*bool, bool) { + if o == nil || isNil(o.IsDownloadable) { return nil, false } return o.IsDownloadable, true } // HasIsDownloadable returns a boolean if a field has been set. -func (o *ComposerPackageUpload) HasIsDownloadable() bool { - if o != nil && o.IsDownloadable != nil { +func (o *ComposerPackageUploadResponse) HasIsDownloadable() bool { + if o != nil && !isNil(o.IsDownloadable) { return true } @@ -836,13 +819,13 @@ func (o *ComposerPackageUpload) HasIsDownloadable() bool { } // SetIsDownloadable gets a reference to the given bool and assigns it to the IsDownloadable field. -func (o *ComposerPackageUpload) SetIsDownloadable(v bool) { +func (o *ComposerPackageUploadResponse) SetIsDownloadable(v bool) { o.IsDownloadable = &v } // GetIsQuarantined returns the IsQuarantined field value if set, zero value otherwise. -func (o *ComposerPackageUpload) GetIsQuarantined() bool { - if o == nil || o.IsQuarantined == nil { +func (o *ComposerPackageUploadResponse) GetIsQuarantined() bool { + if o == nil || isNil(o.IsQuarantined) { var ret bool return ret } @@ -851,16 +834,16 @@ func (o *ComposerPackageUpload) GetIsQuarantined() bool { // GetIsQuarantinedOk returns a tuple with the IsQuarantined field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *ComposerPackageUpload) GetIsQuarantinedOk() (*bool, bool) { - if o == nil || o.IsQuarantined == nil { +func (o *ComposerPackageUploadResponse) GetIsQuarantinedOk() (*bool, bool) { + if o == nil || isNil(o.IsQuarantined) { return nil, false } return o.IsQuarantined, true } // HasIsQuarantined returns a boolean if a field has been set. -func (o *ComposerPackageUpload) HasIsQuarantined() bool { - if o != nil && o.IsQuarantined != nil { +func (o *ComposerPackageUploadResponse) HasIsQuarantined() bool { + if o != nil && !isNil(o.IsQuarantined) { return true } @@ -868,13 +851,13 @@ func (o *ComposerPackageUpload) HasIsQuarantined() bool { } // SetIsQuarantined gets a reference to the given bool and assigns it to the IsQuarantined field. -func (o *ComposerPackageUpload) SetIsQuarantined(v bool) { +func (o *ComposerPackageUploadResponse) SetIsQuarantined(v bool) { o.IsQuarantined = &v } // GetIsSyncAwaiting returns the IsSyncAwaiting field value if set, zero value otherwise. -func (o *ComposerPackageUpload) GetIsSyncAwaiting() bool { - if o == nil || o.IsSyncAwaiting == nil { +func (o *ComposerPackageUploadResponse) GetIsSyncAwaiting() bool { + if o == nil || isNil(o.IsSyncAwaiting) { var ret bool return ret } @@ -883,16 +866,16 @@ func (o *ComposerPackageUpload) GetIsSyncAwaiting() bool { // GetIsSyncAwaitingOk returns a tuple with the IsSyncAwaiting field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *ComposerPackageUpload) GetIsSyncAwaitingOk() (*bool, bool) { - if o == nil || o.IsSyncAwaiting == nil { +func (o *ComposerPackageUploadResponse) GetIsSyncAwaitingOk() (*bool, bool) { + if o == nil || isNil(o.IsSyncAwaiting) { return nil, false } return o.IsSyncAwaiting, true } // HasIsSyncAwaiting returns a boolean if a field has been set. -func (o *ComposerPackageUpload) HasIsSyncAwaiting() bool { - if o != nil && o.IsSyncAwaiting != nil { +func (o *ComposerPackageUploadResponse) HasIsSyncAwaiting() bool { + if o != nil && !isNil(o.IsSyncAwaiting) { return true } @@ -900,13 +883,13 @@ func (o *ComposerPackageUpload) HasIsSyncAwaiting() bool { } // SetIsSyncAwaiting gets a reference to the given bool and assigns it to the IsSyncAwaiting field. -func (o *ComposerPackageUpload) SetIsSyncAwaiting(v bool) { +func (o *ComposerPackageUploadResponse) SetIsSyncAwaiting(v bool) { o.IsSyncAwaiting = &v } // GetIsSyncCompleted returns the IsSyncCompleted field value if set, zero value otherwise. -func (o *ComposerPackageUpload) GetIsSyncCompleted() bool { - if o == nil || o.IsSyncCompleted == nil { +func (o *ComposerPackageUploadResponse) GetIsSyncCompleted() bool { + if o == nil || isNil(o.IsSyncCompleted) { var ret bool return ret } @@ -915,16 +898,16 @@ func (o *ComposerPackageUpload) GetIsSyncCompleted() bool { // GetIsSyncCompletedOk returns a tuple with the IsSyncCompleted field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *ComposerPackageUpload) GetIsSyncCompletedOk() (*bool, bool) { - if o == nil || o.IsSyncCompleted == nil { +func (o *ComposerPackageUploadResponse) GetIsSyncCompletedOk() (*bool, bool) { + if o == nil || isNil(o.IsSyncCompleted) { return nil, false } return o.IsSyncCompleted, true } // HasIsSyncCompleted returns a boolean if a field has been set. -func (o *ComposerPackageUpload) HasIsSyncCompleted() bool { - if o != nil && o.IsSyncCompleted != nil { +func (o *ComposerPackageUploadResponse) HasIsSyncCompleted() bool { + if o != nil && !isNil(o.IsSyncCompleted) { return true } @@ -932,13 +915,13 @@ func (o *ComposerPackageUpload) HasIsSyncCompleted() bool { } // SetIsSyncCompleted gets a reference to the given bool and assigns it to the IsSyncCompleted field. -func (o *ComposerPackageUpload) SetIsSyncCompleted(v bool) { +func (o *ComposerPackageUploadResponse) SetIsSyncCompleted(v bool) { o.IsSyncCompleted = &v } // GetIsSyncFailed returns the IsSyncFailed field value if set, zero value otherwise. -func (o *ComposerPackageUpload) GetIsSyncFailed() bool { - if o == nil || o.IsSyncFailed == nil { +func (o *ComposerPackageUploadResponse) GetIsSyncFailed() bool { + if o == nil || isNil(o.IsSyncFailed) { var ret bool return ret } @@ -947,16 +930,16 @@ func (o *ComposerPackageUpload) GetIsSyncFailed() bool { // GetIsSyncFailedOk returns a tuple with the IsSyncFailed field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *ComposerPackageUpload) GetIsSyncFailedOk() (*bool, bool) { - if o == nil || o.IsSyncFailed == nil { +func (o *ComposerPackageUploadResponse) GetIsSyncFailedOk() (*bool, bool) { + if o == nil || isNil(o.IsSyncFailed) { return nil, false } return o.IsSyncFailed, true } // HasIsSyncFailed returns a boolean if a field has been set. -func (o *ComposerPackageUpload) HasIsSyncFailed() bool { - if o != nil && o.IsSyncFailed != nil { +func (o *ComposerPackageUploadResponse) HasIsSyncFailed() bool { + if o != nil && !isNil(o.IsSyncFailed) { return true } @@ -964,13 +947,13 @@ func (o *ComposerPackageUpload) HasIsSyncFailed() bool { } // SetIsSyncFailed gets a reference to the given bool and assigns it to the IsSyncFailed field. -func (o *ComposerPackageUpload) SetIsSyncFailed(v bool) { +func (o *ComposerPackageUploadResponse) SetIsSyncFailed(v bool) { o.IsSyncFailed = &v } // GetIsSyncInFlight returns the IsSyncInFlight field value if set, zero value otherwise. -func (o *ComposerPackageUpload) GetIsSyncInFlight() bool { - if o == nil || o.IsSyncInFlight == nil { +func (o *ComposerPackageUploadResponse) GetIsSyncInFlight() bool { + if o == nil || isNil(o.IsSyncInFlight) { var ret bool return ret } @@ -979,16 +962,16 @@ func (o *ComposerPackageUpload) GetIsSyncInFlight() bool { // GetIsSyncInFlightOk returns a tuple with the IsSyncInFlight field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *ComposerPackageUpload) GetIsSyncInFlightOk() (*bool, bool) { - if o == nil || o.IsSyncInFlight == nil { +func (o *ComposerPackageUploadResponse) GetIsSyncInFlightOk() (*bool, bool) { + if o == nil || isNil(o.IsSyncInFlight) { return nil, false } return o.IsSyncInFlight, true } // HasIsSyncInFlight returns a boolean if a field has been set. -func (o *ComposerPackageUpload) HasIsSyncInFlight() bool { - if o != nil && o.IsSyncInFlight != nil { +func (o *ComposerPackageUploadResponse) HasIsSyncInFlight() bool { + if o != nil && !isNil(o.IsSyncInFlight) { return true } @@ -996,13 +979,13 @@ func (o *ComposerPackageUpload) HasIsSyncInFlight() bool { } // SetIsSyncInFlight gets a reference to the given bool and assigns it to the IsSyncInFlight field. -func (o *ComposerPackageUpload) SetIsSyncInFlight(v bool) { +func (o *ComposerPackageUploadResponse) SetIsSyncInFlight(v bool) { o.IsSyncInFlight = &v } // GetIsSyncInProgress returns the IsSyncInProgress field value if set, zero value otherwise. -func (o *ComposerPackageUpload) GetIsSyncInProgress() bool { - if o == nil || o.IsSyncInProgress == nil { +func (o *ComposerPackageUploadResponse) GetIsSyncInProgress() bool { + if o == nil || isNil(o.IsSyncInProgress) { var ret bool return ret } @@ -1011,16 +994,16 @@ func (o *ComposerPackageUpload) GetIsSyncInProgress() bool { // GetIsSyncInProgressOk returns a tuple with the IsSyncInProgress field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *ComposerPackageUpload) GetIsSyncInProgressOk() (*bool, bool) { - if o == nil || o.IsSyncInProgress == nil { +func (o *ComposerPackageUploadResponse) GetIsSyncInProgressOk() (*bool, bool) { + if o == nil || isNil(o.IsSyncInProgress) { return nil, false } return o.IsSyncInProgress, true } // HasIsSyncInProgress returns a boolean if a field has been set. -func (o *ComposerPackageUpload) HasIsSyncInProgress() bool { - if o != nil && o.IsSyncInProgress != nil { +func (o *ComposerPackageUploadResponse) HasIsSyncInProgress() bool { + if o != nil && !isNil(o.IsSyncInProgress) { return true } @@ -1028,13 +1011,13 @@ func (o *ComposerPackageUpload) HasIsSyncInProgress() bool { } // SetIsSyncInProgress gets a reference to the given bool and assigns it to the IsSyncInProgress field. -func (o *ComposerPackageUpload) SetIsSyncInProgress(v bool) { +func (o *ComposerPackageUploadResponse) SetIsSyncInProgress(v bool) { o.IsSyncInProgress = &v } // GetLicense returns the License field value if set, zero value otherwise. -func (o *ComposerPackageUpload) GetLicense() string { - if o == nil || o.License == nil { +func (o *ComposerPackageUploadResponse) GetLicense() string { + if o == nil || isNil(o.License) { var ret string return ret } @@ -1043,16 +1026,16 @@ func (o *ComposerPackageUpload) GetLicense() string { // GetLicenseOk returns a tuple with the License field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *ComposerPackageUpload) GetLicenseOk() (*string, bool) { - if o == nil || o.License == nil { +func (o *ComposerPackageUploadResponse) GetLicenseOk() (*string, bool) { + if o == nil || isNil(o.License) { return nil, false } return o.License, true } // HasLicense returns a boolean if a field has been set. -func (o *ComposerPackageUpload) HasLicense() bool { - if o != nil && o.License != nil { +func (o *ComposerPackageUploadResponse) HasLicense() bool { + if o != nil && !isNil(o.License) { return true } @@ -1060,13 +1043,13 @@ func (o *ComposerPackageUpload) HasLicense() bool { } // SetLicense gets a reference to the given string and assigns it to the License field. -func (o *ComposerPackageUpload) SetLicense(v string) { +func (o *ComposerPackageUploadResponse) SetLicense(v string) { o.License = &v } // GetName returns the Name field value if set, zero value otherwise. -func (o *ComposerPackageUpload) GetName() string { - if o == nil || o.Name == nil { +func (o *ComposerPackageUploadResponse) GetName() string { + if o == nil || isNil(o.Name) { var ret string return ret } @@ -1075,16 +1058,16 @@ func (o *ComposerPackageUpload) GetName() string { // GetNameOk returns a tuple with the Name field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *ComposerPackageUpload) GetNameOk() (*string, bool) { - if o == nil || o.Name == nil { +func (o *ComposerPackageUploadResponse) GetNameOk() (*string, bool) { + if o == nil || isNil(o.Name) { return nil, false } return o.Name, true } // HasName returns a boolean if a field has been set. -func (o *ComposerPackageUpload) HasName() bool { - if o != nil && o.Name != nil { +func (o *ComposerPackageUploadResponse) HasName() bool { + if o != nil && !isNil(o.Name) { return true } @@ -1092,13 +1075,13 @@ func (o *ComposerPackageUpload) HasName() bool { } // SetName gets a reference to the given string and assigns it to the Name field. -func (o *ComposerPackageUpload) SetName(v string) { +func (o *ComposerPackageUploadResponse) SetName(v string) { o.Name = &v } // GetNamespace returns the Namespace field value if set, zero value otherwise. -func (o *ComposerPackageUpload) GetNamespace() string { - if o == nil || o.Namespace == nil { +func (o *ComposerPackageUploadResponse) GetNamespace() string { + if o == nil || isNil(o.Namespace) { var ret string return ret } @@ -1107,16 +1090,16 @@ func (o *ComposerPackageUpload) GetNamespace() string { // GetNamespaceOk returns a tuple with the Namespace field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *ComposerPackageUpload) GetNamespaceOk() (*string, bool) { - if o == nil || o.Namespace == nil { +func (o *ComposerPackageUploadResponse) GetNamespaceOk() (*string, bool) { + if o == nil || isNil(o.Namespace) { return nil, false } return o.Namespace, true } // HasNamespace returns a boolean if a field has been set. -func (o *ComposerPackageUpload) HasNamespace() bool { - if o != nil && o.Namespace != nil { +func (o *ComposerPackageUploadResponse) HasNamespace() bool { + if o != nil && !isNil(o.Namespace) { return true } @@ -1124,13 +1107,13 @@ func (o *ComposerPackageUpload) HasNamespace() bool { } // SetNamespace gets a reference to the given string and assigns it to the Namespace field. -func (o *ComposerPackageUpload) SetNamespace(v string) { +func (o *ComposerPackageUploadResponse) SetNamespace(v string) { o.Namespace = &v } // GetNamespaceUrl returns the NamespaceUrl field value if set, zero value otherwise. -func (o *ComposerPackageUpload) GetNamespaceUrl() string { - if o == nil || o.NamespaceUrl == nil { +func (o *ComposerPackageUploadResponse) GetNamespaceUrl() string { + if o == nil || isNil(o.NamespaceUrl) { var ret string return ret } @@ -1139,16 +1122,16 @@ func (o *ComposerPackageUpload) GetNamespaceUrl() string { // GetNamespaceUrlOk returns a tuple with the NamespaceUrl field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *ComposerPackageUpload) GetNamespaceUrlOk() (*string, bool) { - if o == nil || o.NamespaceUrl == nil { +func (o *ComposerPackageUploadResponse) GetNamespaceUrlOk() (*string, bool) { + if o == nil || isNil(o.NamespaceUrl) { return nil, false } return o.NamespaceUrl, true } // HasNamespaceUrl returns a boolean if a field has been set. -func (o *ComposerPackageUpload) HasNamespaceUrl() bool { - if o != nil && o.NamespaceUrl != nil { +func (o *ComposerPackageUploadResponse) HasNamespaceUrl() bool { + if o != nil && !isNil(o.NamespaceUrl) { return true } @@ -1156,13 +1139,13 @@ func (o *ComposerPackageUpload) HasNamespaceUrl() bool { } // SetNamespaceUrl gets a reference to the given string and assigns it to the NamespaceUrl field. -func (o *ComposerPackageUpload) SetNamespaceUrl(v string) { +func (o *ComposerPackageUploadResponse) SetNamespaceUrl(v string) { o.NamespaceUrl = &v } // GetNumFiles returns the NumFiles field value if set, zero value otherwise. -func (o *ComposerPackageUpload) GetNumFiles() int64 { - if o == nil || o.NumFiles == nil { +func (o *ComposerPackageUploadResponse) GetNumFiles() int64 { + if o == nil || isNil(o.NumFiles) { var ret int64 return ret } @@ -1171,16 +1154,16 @@ func (o *ComposerPackageUpload) GetNumFiles() int64 { // GetNumFilesOk returns a tuple with the NumFiles field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *ComposerPackageUpload) GetNumFilesOk() (*int64, bool) { - if o == nil || o.NumFiles == nil { +func (o *ComposerPackageUploadResponse) GetNumFilesOk() (*int64, bool) { + if o == nil || isNil(o.NumFiles) { return nil, false } return o.NumFiles, true } // HasNumFiles returns a boolean if a field has been set. -func (o *ComposerPackageUpload) HasNumFiles() bool { - if o != nil && o.NumFiles != nil { +func (o *ComposerPackageUploadResponse) HasNumFiles() bool { + if o != nil && !isNil(o.NumFiles) { return true } @@ -1188,13 +1171,77 @@ func (o *ComposerPackageUpload) HasNumFiles() bool { } // SetNumFiles gets a reference to the given int64 and assigns it to the NumFiles field. -func (o *ComposerPackageUpload) SetNumFiles(v int64) { +func (o *ComposerPackageUploadResponse) SetNumFiles(v int64) { o.NumFiles = &v } +// GetOriginRepository returns the OriginRepository field value if set, zero value otherwise. +func (o *ComposerPackageUploadResponse) GetOriginRepository() string { + if o == nil || isNil(o.OriginRepository) { + var ret string + return ret + } + return *o.OriginRepository +} + +// GetOriginRepositoryOk returns a tuple with the OriginRepository field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *ComposerPackageUploadResponse) GetOriginRepositoryOk() (*string, bool) { + if o == nil || isNil(o.OriginRepository) { + return nil, false + } + return o.OriginRepository, true +} + +// HasOriginRepository returns a boolean if a field has been set. +func (o *ComposerPackageUploadResponse) HasOriginRepository() bool { + if o != nil && !isNil(o.OriginRepository) { + return true + } + + return false +} + +// SetOriginRepository gets a reference to the given string and assigns it to the OriginRepository field. +func (o *ComposerPackageUploadResponse) SetOriginRepository(v string) { + o.OriginRepository = &v +} + +// GetOriginRepositoryUrl returns the OriginRepositoryUrl field value if set, zero value otherwise. +func (o *ComposerPackageUploadResponse) GetOriginRepositoryUrl() string { + if o == nil || isNil(o.OriginRepositoryUrl) { + var ret string + return ret + } + return *o.OriginRepositoryUrl +} + +// GetOriginRepositoryUrlOk returns a tuple with the OriginRepositoryUrl field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *ComposerPackageUploadResponse) GetOriginRepositoryUrlOk() (*string, bool) { + if o == nil || isNil(o.OriginRepositoryUrl) { + return nil, false + } + return o.OriginRepositoryUrl, true +} + +// HasOriginRepositoryUrl returns a boolean if a field has been set. +func (o *ComposerPackageUploadResponse) HasOriginRepositoryUrl() bool { + if o != nil && !isNil(o.OriginRepositoryUrl) { + return true + } + + return false +} + +// SetOriginRepositoryUrl gets a reference to the given string and assigns it to the OriginRepositoryUrl field. +func (o *ComposerPackageUploadResponse) SetOriginRepositoryUrl(v string) { + o.OriginRepositoryUrl = &v +} + // GetPackageType returns the PackageType field value if set, zero value otherwise. -func (o *ComposerPackageUpload) GetPackageType() int64 { - if o == nil || o.PackageType == nil { +func (o *ComposerPackageUploadResponse) GetPackageType() int64 { + if o == nil || isNil(o.PackageType) { var ret int64 return ret } @@ -1203,16 +1250,16 @@ func (o *ComposerPackageUpload) GetPackageType() int64 { // GetPackageTypeOk returns a tuple with the PackageType field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *ComposerPackageUpload) GetPackageTypeOk() (*int64, bool) { - if o == nil || o.PackageType == nil { +func (o *ComposerPackageUploadResponse) GetPackageTypeOk() (*int64, bool) { + if o == nil || isNil(o.PackageType) { return nil, false } return o.PackageType, true } // HasPackageType returns a boolean if a field has been set. -func (o *ComposerPackageUpload) HasPackageType() bool { - if o != nil && o.PackageType != nil { +func (o *ComposerPackageUploadResponse) HasPackageType() bool { + if o != nil && !isNil(o.PackageType) { return true } @@ -1220,13 +1267,13 @@ func (o *ComposerPackageUpload) HasPackageType() bool { } // SetPackageType gets a reference to the given int64 and assigns it to the PackageType field. -func (o *ComposerPackageUpload) SetPackageType(v int64) { +func (o *ComposerPackageUploadResponse) SetPackageType(v int64) { o.PackageType = &v } // GetRelease returns the Release field value if set, zero value otherwise. -func (o *ComposerPackageUpload) GetRelease() string { - if o == nil || o.Release == nil { +func (o *ComposerPackageUploadResponse) GetRelease() string { + if o == nil || isNil(o.Release) { var ret string return ret } @@ -1235,16 +1282,16 @@ func (o *ComposerPackageUpload) GetRelease() string { // GetReleaseOk returns a tuple with the Release field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *ComposerPackageUpload) GetReleaseOk() (*string, bool) { - if o == nil || o.Release == nil { +func (o *ComposerPackageUploadResponse) GetReleaseOk() (*string, bool) { + if o == nil || isNil(o.Release) { return nil, false } return o.Release, true } // HasRelease returns a boolean if a field has been set. -func (o *ComposerPackageUpload) HasRelease() bool { - if o != nil && o.Release != nil { +func (o *ComposerPackageUploadResponse) HasRelease() bool { + if o != nil && !isNil(o.Release) { return true } @@ -1252,13 +1299,13 @@ func (o *ComposerPackageUpload) HasRelease() bool { } // SetRelease gets a reference to the given string and assigns it to the Release field. -func (o *ComposerPackageUpload) SetRelease(v string) { +func (o *ComposerPackageUploadResponse) SetRelease(v string) { o.Release = &v } // GetRepository returns the Repository field value if set, zero value otherwise. -func (o *ComposerPackageUpload) GetRepository() string { - if o == nil || o.Repository == nil { +func (o *ComposerPackageUploadResponse) GetRepository() string { + if o == nil || isNil(o.Repository) { var ret string return ret } @@ -1267,16 +1314,16 @@ func (o *ComposerPackageUpload) GetRepository() string { // GetRepositoryOk returns a tuple with the Repository field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *ComposerPackageUpload) GetRepositoryOk() (*string, bool) { - if o == nil || o.Repository == nil { +func (o *ComposerPackageUploadResponse) GetRepositoryOk() (*string, bool) { + if o == nil || isNil(o.Repository) { return nil, false } return o.Repository, true } // HasRepository returns a boolean if a field has been set. -func (o *ComposerPackageUpload) HasRepository() bool { - if o != nil && o.Repository != nil { +func (o *ComposerPackageUploadResponse) HasRepository() bool { + if o != nil && !isNil(o.Repository) { return true } @@ -1284,13 +1331,13 @@ func (o *ComposerPackageUpload) HasRepository() bool { } // SetRepository gets a reference to the given string and assigns it to the Repository field. -func (o *ComposerPackageUpload) SetRepository(v string) { +func (o *ComposerPackageUploadResponse) SetRepository(v string) { o.Repository = &v } // GetRepositoryUrl returns the RepositoryUrl field value if set, zero value otherwise. -func (o *ComposerPackageUpload) GetRepositoryUrl() string { - if o == nil || o.RepositoryUrl == nil { +func (o *ComposerPackageUploadResponse) GetRepositoryUrl() string { + if o == nil || isNil(o.RepositoryUrl) { var ret string return ret } @@ -1299,16 +1346,16 @@ func (o *ComposerPackageUpload) GetRepositoryUrl() string { // GetRepositoryUrlOk returns a tuple with the RepositoryUrl field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *ComposerPackageUpload) GetRepositoryUrlOk() (*string, bool) { - if o == nil || o.RepositoryUrl == nil { +func (o *ComposerPackageUploadResponse) GetRepositoryUrlOk() (*string, bool) { + if o == nil || isNil(o.RepositoryUrl) { return nil, false } return o.RepositoryUrl, true } // HasRepositoryUrl returns a boolean if a field has been set. -func (o *ComposerPackageUpload) HasRepositoryUrl() bool { - if o != nil && o.RepositoryUrl != nil { +func (o *ComposerPackageUploadResponse) HasRepositoryUrl() bool { + if o != nil && !isNil(o.RepositoryUrl) { return true } @@ -1316,14 +1363,14 @@ func (o *ComposerPackageUpload) HasRepositoryUrl() bool { } // SetRepositoryUrl gets a reference to the given string and assigns it to the RepositoryUrl field. -func (o *ComposerPackageUpload) SetRepositoryUrl(v string) { +func (o *ComposerPackageUploadResponse) SetRepositoryUrl(v string) { o.RepositoryUrl = &v } // GetSecurityScanCompletedAt returns the SecurityScanCompletedAt field value if set, zero value otherwise. -func (o *ComposerPackageUpload) GetSecurityScanCompletedAt() string { - if o == nil || o.SecurityScanCompletedAt == nil { - var ret string +func (o *ComposerPackageUploadResponse) GetSecurityScanCompletedAt() time.Time { + if o == nil || isNil(o.SecurityScanCompletedAt) { + var ret time.Time return ret } return *o.SecurityScanCompletedAt @@ -1331,31 +1378,31 @@ func (o *ComposerPackageUpload) GetSecurityScanCompletedAt() string { // GetSecurityScanCompletedAtOk returns a tuple with the SecurityScanCompletedAt field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *ComposerPackageUpload) GetSecurityScanCompletedAtOk() (*string, bool) { - if o == nil || o.SecurityScanCompletedAt == nil { +func (o *ComposerPackageUploadResponse) GetSecurityScanCompletedAtOk() (*time.Time, bool) { + if o == nil || isNil(o.SecurityScanCompletedAt) { return nil, false } return o.SecurityScanCompletedAt, true } // HasSecurityScanCompletedAt returns a boolean if a field has been set. -func (o *ComposerPackageUpload) HasSecurityScanCompletedAt() bool { - if o != nil && o.SecurityScanCompletedAt != nil { +func (o *ComposerPackageUploadResponse) HasSecurityScanCompletedAt() bool { + if o != nil && !isNil(o.SecurityScanCompletedAt) { return true } return false } -// SetSecurityScanCompletedAt gets a reference to the given string and assigns it to the SecurityScanCompletedAt field. -func (o *ComposerPackageUpload) SetSecurityScanCompletedAt(v string) { +// SetSecurityScanCompletedAt gets a reference to the given time.Time and assigns it to the SecurityScanCompletedAt field. +func (o *ComposerPackageUploadResponse) SetSecurityScanCompletedAt(v time.Time) { o.SecurityScanCompletedAt = &v } // GetSecurityScanStartedAt returns the SecurityScanStartedAt field value if set, zero value otherwise. -func (o *ComposerPackageUpload) GetSecurityScanStartedAt() string { - if o == nil || o.SecurityScanStartedAt == nil { - var ret string +func (o *ComposerPackageUploadResponse) GetSecurityScanStartedAt() time.Time { + if o == nil || isNil(o.SecurityScanStartedAt) { + var ret time.Time return ret } return *o.SecurityScanStartedAt @@ -1363,63 +1410,74 @@ func (o *ComposerPackageUpload) GetSecurityScanStartedAt() string { // GetSecurityScanStartedAtOk returns a tuple with the SecurityScanStartedAt field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *ComposerPackageUpload) GetSecurityScanStartedAtOk() (*string, bool) { - if o == nil || o.SecurityScanStartedAt == nil { +func (o *ComposerPackageUploadResponse) GetSecurityScanStartedAtOk() (*time.Time, bool) { + if o == nil || isNil(o.SecurityScanStartedAt) { return nil, false } return o.SecurityScanStartedAt, true } // HasSecurityScanStartedAt returns a boolean if a field has been set. -func (o *ComposerPackageUpload) HasSecurityScanStartedAt() bool { - if o != nil && o.SecurityScanStartedAt != nil { +func (o *ComposerPackageUploadResponse) HasSecurityScanStartedAt() bool { + if o != nil && !isNil(o.SecurityScanStartedAt) { return true } return false } -// SetSecurityScanStartedAt gets a reference to the given string and assigns it to the SecurityScanStartedAt field. -func (o *ComposerPackageUpload) SetSecurityScanStartedAt(v string) { +// SetSecurityScanStartedAt gets a reference to the given time.Time and assigns it to the SecurityScanStartedAt field. +func (o *ComposerPackageUploadResponse) SetSecurityScanStartedAt(v time.Time) { o.SecurityScanStartedAt = &v } -// GetSecurityScanStatus returns the SecurityScanStatus field value if set, zero value otherwise. -func (o *ComposerPackageUpload) GetSecurityScanStatus() string { - if o == nil || o.SecurityScanStatus == nil { +// GetSecurityScanStatus returns the SecurityScanStatus field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *ComposerPackageUploadResponse) GetSecurityScanStatus() string { + if o == nil || isNil(o.SecurityScanStatus.Get()) { var ret string return ret } - return *o.SecurityScanStatus + return *o.SecurityScanStatus.Get() } // GetSecurityScanStatusOk returns a tuple with the SecurityScanStatus field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *ComposerPackageUpload) GetSecurityScanStatusOk() (*string, bool) { - if o == nil || o.SecurityScanStatus == nil { +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *ComposerPackageUploadResponse) GetSecurityScanStatusOk() (*string, bool) { + if o == nil { return nil, false } - return o.SecurityScanStatus, true + return o.SecurityScanStatus.Get(), o.SecurityScanStatus.IsSet() } // HasSecurityScanStatus returns a boolean if a field has been set. -func (o *ComposerPackageUpload) HasSecurityScanStatus() bool { - if o != nil && o.SecurityScanStatus != nil { +func (o *ComposerPackageUploadResponse) HasSecurityScanStatus() bool { + if o != nil && o.SecurityScanStatus.IsSet() { return true } return false } -// SetSecurityScanStatus gets a reference to the given string and assigns it to the SecurityScanStatus field. -func (o *ComposerPackageUpload) SetSecurityScanStatus(v string) { - o.SecurityScanStatus = &v +// SetSecurityScanStatus gets a reference to the given NullableString and assigns it to the SecurityScanStatus field. +func (o *ComposerPackageUploadResponse) SetSecurityScanStatus(v string) { + o.SecurityScanStatus.Set(&v) +} + +// SetSecurityScanStatusNil sets the value for SecurityScanStatus to be an explicit nil +func (o *ComposerPackageUploadResponse) SetSecurityScanStatusNil() { + o.SecurityScanStatus.Set(nil) +} + +// UnsetSecurityScanStatus ensures that no value is present for SecurityScanStatus, not even an explicit nil +func (o *ComposerPackageUploadResponse) UnsetSecurityScanStatus() { + o.SecurityScanStatus.Unset() } // GetSecurityScanStatusUpdatedAt returns the SecurityScanStatusUpdatedAt field value if set, zero value otherwise. -func (o *ComposerPackageUpload) GetSecurityScanStatusUpdatedAt() string { - if o == nil || o.SecurityScanStatusUpdatedAt == nil { - var ret string +func (o *ComposerPackageUploadResponse) GetSecurityScanStatusUpdatedAt() time.Time { + if o == nil || isNil(o.SecurityScanStatusUpdatedAt) { + var ret time.Time return ret } return *o.SecurityScanStatusUpdatedAt @@ -1427,30 +1485,30 @@ func (o *ComposerPackageUpload) GetSecurityScanStatusUpdatedAt() string { // GetSecurityScanStatusUpdatedAtOk returns a tuple with the SecurityScanStatusUpdatedAt field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *ComposerPackageUpload) GetSecurityScanStatusUpdatedAtOk() (*string, bool) { - if o == nil || o.SecurityScanStatusUpdatedAt == nil { +func (o *ComposerPackageUploadResponse) GetSecurityScanStatusUpdatedAtOk() (*time.Time, bool) { + if o == nil || isNil(o.SecurityScanStatusUpdatedAt) { return nil, false } return o.SecurityScanStatusUpdatedAt, true } // HasSecurityScanStatusUpdatedAt returns a boolean if a field has been set. -func (o *ComposerPackageUpload) HasSecurityScanStatusUpdatedAt() bool { - if o != nil && o.SecurityScanStatusUpdatedAt != nil { +func (o *ComposerPackageUploadResponse) HasSecurityScanStatusUpdatedAt() bool { + if o != nil && !isNil(o.SecurityScanStatusUpdatedAt) { return true } return false } -// SetSecurityScanStatusUpdatedAt gets a reference to the given string and assigns it to the SecurityScanStatusUpdatedAt field. -func (o *ComposerPackageUpload) SetSecurityScanStatusUpdatedAt(v string) { +// SetSecurityScanStatusUpdatedAt gets a reference to the given time.Time and assigns it to the SecurityScanStatusUpdatedAt field. +func (o *ComposerPackageUploadResponse) SetSecurityScanStatusUpdatedAt(v time.Time) { o.SecurityScanStatusUpdatedAt = &v } // GetSelfHtmlUrl returns the SelfHtmlUrl field value if set, zero value otherwise. -func (o *ComposerPackageUpload) GetSelfHtmlUrl() string { - if o == nil || o.SelfHtmlUrl == nil { +func (o *ComposerPackageUploadResponse) GetSelfHtmlUrl() string { + if o == nil || isNil(o.SelfHtmlUrl) { var ret string return ret } @@ -1459,16 +1517,16 @@ func (o *ComposerPackageUpload) GetSelfHtmlUrl() string { // GetSelfHtmlUrlOk returns a tuple with the SelfHtmlUrl field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *ComposerPackageUpload) GetSelfHtmlUrlOk() (*string, bool) { - if o == nil || o.SelfHtmlUrl == nil { +func (o *ComposerPackageUploadResponse) GetSelfHtmlUrlOk() (*string, bool) { + if o == nil || isNil(o.SelfHtmlUrl) { return nil, false } return o.SelfHtmlUrl, true } // HasSelfHtmlUrl returns a boolean if a field has been set. -func (o *ComposerPackageUpload) HasSelfHtmlUrl() bool { - if o != nil && o.SelfHtmlUrl != nil { +func (o *ComposerPackageUploadResponse) HasSelfHtmlUrl() bool { + if o != nil && !isNil(o.SelfHtmlUrl) { return true } @@ -1476,13 +1534,13 @@ func (o *ComposerPackageUpload) HasSelfHtmlUrl() bool { } // SetSelfHtmlUrl gets a reference to the given string and assigns it to the SelfHtmlUrl field. -func (o *ComposerPackageUpload) SetSelfHtmlUrl(v string) { +func (o *ComposerPackageUploadResponse) SetSelfHtmlUrl(v string) { o.SelfHtmlUrl = &v } // GetSelfUrl returns the SelfUrl field value if set, zero value otherwise. -func (o *ComposerPackageUpload) GetSelfUrl() string { - if o == nil || o.SelfUrl == nil { +func (o *ComposerPackageUploadResponse) GetSelfUrl() string { + if o == nil || isNil(o.SelfUrl) { var ret string return ret } @@ -1491,16 +1549,16 @@ func (o *ComposerPackageUpload) GetSelfUrl() string { // GetSelfUrlOk returns a tuple with the SelfUrl field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *ComposerPackageUpload) GetSelfUrlOk() (*string, bool) { - if o == nil || o.SelfUrl == nil { +func (o *ComposerPackageUploadResponse) GetSelfUrlOk() (*string, bool) { + if o == nil || isNil(o.SelfUrl) { return nil, false } return o.SelfUrl, true } // HasSelfUrl returns a boolean if a field has been set. -func (o *ComposerPackageUpload) HasSelfUrl() bool { - if o != nil && o.SelfUrl != nil { +func (o *ComposerPackageUploadResponse) HasSelfUrl() bool { + if o != nil && !isNil(o.SelfUrl) { return true } @@ -1508,45 +1566,56 @@ func (o *ComposerPackageUpload) HasSelfUrl() bool { } // SetSelfUrl gets a reference to the given string and assigns it to the SelfUrl field. -func (o *ComposerPackageUpload) SetSelfUrl(v string) { +func (o *ComposerPackageUploadResponse) SetSelfUrl(v string) { o.SelfUrl = &v } -// GetSignatureUrl returns the SignatureUrl field value if set, zero value otherwise. -func (o *ComposerPackageUpload) GetSignatureUrl() string { - if o == nil || o.SignatureUrl == nil { +// GetSignatureUrl returns the SignatureUrl field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *ComposerPackageUploadResponse) GetSignatureUrl() string { + if o == nil || isNil(o.SignatureUrl.Get()) { var ret string return ret } - return *o.SignatureUrl + return *o.SignatureUrl.Get() } // GetSignatureUrlOk returns a tuple with the SignatureUrl field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *ComposerPackageUpload) GetSignatureUrlOk() (*string, bool) { - if o == nil || o.SignatureUrl == nil { +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *ComposerPackageUploadResponse) GetSignatureUrlOk() (*string, bool) { + if o == nil { return nil, false } - return o.SignatureUrl, true + return o.SignatureUrl.Get(), o.SignatureUrl.IsSet() } // HasSignatureUrl returns a boolean if a field has been set. -func (o *ComposerPackageUpload) HasSignatureUrl() bool { - if o != nil && o.SignatureUrl != nil { +func (o *ComposerPackageUploadResponse) HasSignatureUrl() bool { + if o != nil && o.SignatureUrl.IsSet() { return true } return false } -// SetSignatureUrl gets a reference to the given string and assigns it to the SignatureUrl field. -func (o *ComposerPackageUpload) SetSignatureUrl(v string) { - o.SignatureUrl = &v +// SetSignatureUrl gets a reference to the given NullableString and assigns it to the SignatureUrl field. +func (o *ComposerPackageUploadResponse) SetSignatureUrl(v string) { + o.SignatureUrl.Set(&v) +} + +// SetSignatureUrlNil sets the value for SignatureUrl to be an explicit nil +func (o *ComposerPackageUploadResponse) SetSignatureUrlNil() { + o.SignatureUrl.Set(nil) +} + +// UnsetSignatureUrl ensures that no value is present for SignatureUrl, not even an explicit nil +func (o *ComposerPackageUploadResponse) UnsetSignatureUrl() { + o.SignatureUrl.Unset() } // GetSize returns the Size field value if set, zero value otherwise. -func (o *ComposerPackageUpload) GetSize() int64 { - if o == nil || o.Size == nil { +func (o *ComposerPackageUploadResponse) GetSize() int64 { + if o == nil || isNil(o.Size) { var ret int64 return ret } @@ -1555,16 +1624,16 @@ func (o *ComposerPackageUpload) GetSize() int64 { // GetSizeOk returns a tuple with the Size field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *ComposerPackageUpload) GetSizeOk() (*int64, bool) { - if o == nil || o.Size == nil { +func (o *ComposerPackageUploadResponse) GetSizeOk() (*int64, bool) { + if o == nil || isNil(o.Size) { return nil, false } return o.Size, true } // HasSize returns a boolean if a field has been set. -func (o *ComposerPackageUpload) HasSize() bool { - if o != nil && o.Size != nil { +func (o *ComposerPackageUploadResponse) HasSize() bool { + if o != nil && !isNil(o.Size) { return true } @@ -1572,13 +1641,13 @@ func (o *ComposerPackageUpload) HasSize() bool { } // SetSize gets a reference to the given int64 and assigns it to the Size field. -func (o *ComposerPackageUpload) SetSize(v int64) { +func (o *ComposerPackageUploadResponse) SetSize(v int64) { o.Size = &v } // GetSlug returns the Slug field value if set, zero value otherwise. -func (o *ComposerPackageUpload) GetSlug() string { - if o == nil || o.Slug == nil { +func (o *ComposerPackageUploadResponse) GetSlug() string { + if o == nil || isNil(o.Slug) { var ret string return ret } @@ -1587,16 +1656,16 @@ func (o *ComposerPackageUpload) GetSlug() string { // GetSlugOk returns a tuple with the Slug field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *ComposerPackageUpload) GetSlugOk() (*string, bool) { - if o == nil || o.Slug == nil { +func (o *ComposerPackageUploadResponse) GetSlugOk() (*string, bool) { + if o == nil || isNil(o.Slug) { return nil, false } return o.Slug, true } // HasSlug returns a boolean if a field has been set. -func (o *ComposerPackageUpload) HasSlug() bool { - if o != nil && o.Slug != nil { +func (o *ComposerPackageUploadResponse) HasSlug() bool { + if o != nil && !isNil(o.Slug) { return true } @@ -1604,13 +1673,13 @@ func (o *ComposerPackageUpload) HasSlug() bool { } // SetSlug gets a reference to the given string and assigns it to the Slug field. -func (o *ComposerPackageUpload) SetSlug(v string) { +func (o *ComposerPackageUploadResponse) SetSlug(v string) { o.Slug = &v } // GetSlugPerm returns the SlugPerm field value if set, zero value otherwise. -func (o *ComposerPackageUpload) GetSlugPerm() string { - if o == nil || o.SlugPerm == nil { +func (o *ComposerPackageUploadResponse) GetSlugPerm() string { + if o == nil || isNil(o.SlugPerm) { var ret string return ret } @@ -1619,16 +1688,16 @@ func (o *ComposerPackageUpload) GetSlugPerm() string { // GetSlugPermOk returns a tuple with the SlugPerm field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *ComposerPackageUpload) GetSlugPermOk() (*string, bool) { - if o == nil || o.SlugPerm == nil { +func (o *ComposerPackageUploadResponse) GetSlugPermOk() (*string, bool) { + if o == nil || isNil(o.SlugPerm) { return nil, false } return o.SlugPerm, true } // HasSlugPerm returns a boolean if a field has been set. -func (o *ComposerPackageUpload) HasSlugPerm() bool { - if o != nil && o.SlugPerm != nil { +func (o *ComposerPackageUploadResponse) HasSlugPerm() bool { + if o != nil && !isNil(o.SlugPerm) { return true } @@ -1636,13 +1705,13 @@ func (o *ComposerPackageUpload) HasSlugPerm() bool { } // SetSlugPerm gets a reference to the given string and assigns it to the SlugPerm field. -func (o *ComposerPackageUpload) SetSlugPerm(v string) { +func (o *ComposerPackageUploadResponse) SetSlugPerm(v string) { o.SlugPerm = &v } // GetStage returns the Stage field value if set, zero value otherwise. -func (o *ComposerPackageUpload) GetStage() int64 { - if o == nil || o.Stage == nil { +func (o *ComposerPackageUploadResponse) GetStage() int64 { + if o == nil || isNil(o.Stage) { var ret int64 return ret } @@ -1651,16 +1720,16 @@ func (o *ComposerPackageUpload) GetStage() int64 { // GetStageOk returns a tuple with the Stage field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *ComposerPackageUpload) GetStageOk() (*int64, bool) { - if o == nil || o.Stage == nil { +func (o *ComposerPackageUploadResponse) GetStageOk() (*int64, bool) { + if o == nil || isNil(o.Stage) { return nil, false } return o.Stage, true } // HasStage returns a boolean if a field has been set. -func (o *ComposerPackageUpload) HasStage() bool { - if o != nil && o.Stage != nil { +func (o *ComposerPackageUploadResponse) HasStage() bool { + if o != nil && !isNil(o.Stage) { return true } @@ -1668,13 +1737,13 @@ func (o *ComposerPackageUpload) HasStage() bool { } // SetStage gets a reference to the given int64 and assigns it to the Stage field. -func (o *ComposerPackageUpload) SetStage(v int64) { +func (o *ComposerPackageUploadResponse) SetStage(v int64) { o.Stage = &v } // GetStageStr returns the StageStr field value if set, zero value otherwise. -func (o *ComposerPackageUpload) GetStageStr() string { - if o == nil || o.StageStr == nil { +func (o *ComposerPackageUploadResponse) GetStageStr() string { + if o == nil || isNil(o.StageStr) { var ret string return ret } @@ -1683,16 +1752,16 @@ func (o *ComposerPackageUpload) GetStageStr() string { // GetStageStrOk returns a tuple with the StageStr field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *ComposerPackageUpload) GetStageStrOk() (*string, bool) { - if o == nil || o.StageStr == nil { +func (o *ComposerPackageUploadResponse) GetStageStrOk() (*string, bool) { + if o == nil || isNil(o.StageStr) { return nil, false } return o.StageStr, true } // HasStageStr returns a boolean if a field has been set. -func (o *ComposerPackageUpload) HasStageStr() bool { - if o != nil && o.StageStr != nil { +func (o *ComposerPackageUploadResponse) HasStageStr() bool { + if o != nil && !isNil(o.StageStr) { return true } @@ -1700,14 +1769,14 @@ func (o *ComposerPackageUpload) HasStageStr() bool { } // SetStageStr gets a reference to the given string and assigns it to the StageStr field. -func (o *ComposerPackageUpload) SetStageStr(v string) { +func (o *ComposerPackageUploadResponse) SetStageStr(v string) { o.StageStr = &v } // GetStageUpdatedAt returns the StageUpdatedAt field value if set, zero value otherwise. -func (o *ComposerPackageUpload) GetStageUpdatedAt() string { - if o == nil || o.StageUpdatedAt == nil { - var ret string +func (o *ComposerPackageUploadResponse) GetStageUpdatedAt() time.Time { + if o == nil || isNil(o.StageUpdatedAt) { + var ret time.Time return ret } return *o.StageUpdatedAt @@ -1715,30 +1784,30 @@ func (o *ComposerPackageUpload) GetStageUpdatedAt() string { // GetStageUpdatedAtOk returns a tuple with the StageUpdatedAt field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *ComposerPackageUpload) GetStageUpdatedAtOk() (*string, bool) { - if o == nil || o.StageUpdatedAt == nil { +func (o *ComposerPackageUploadResponse) GetStageUpdatedAtOk() (*time.Time, bool) { + if o == nil || isNil(o.StageUpdatedAt) { return nil, false } return o.StageUpdatedAt, true } // HasStageUpdatedAt returns a boolean if a field has been set. -func (o *ComposerPackageUpload) HasStageUpdatedAt() bool { - if o != nil && o.StageUpdatedAt != nil { +func (o *ComposerPackageUploadResponse) HasStageUpdatedAt() bool { + if o != nil && !isNil(o.StageUpdatedAt) { return true } return false } -// SetStageUpdatedAt gets a reference to the given string and assigns it to the StageUpdatedAt field. -func (o *ComposerPackageUpload) SetStageUpdatedAt(v string) { +// SetStageUpdatedAt gets a reference to the given time.Time and assigns it to the StageUpdatedAt field. +func (o *ComposerPackageUploadResponse) SetStageUpdatedAt(v time.Time) { o.StageUpdatedAt = &v } // GetStatus returns the Status field value if set, zero value otherwise. -func (o *ComposerPackageUpload) GetStatus() int64 { - if o == nil || o.Status == nil { +func (o *ComposerPackageUploadResponse) GetStatus() int64 { + if o == nil || isNil(o.Status) { var ret int64 return ret } @@ -1747,16 +1816,16 @@ func (o *ComposerPackageUpload) GetStatus() int64 { // GetStatusOk returns a tuple with the Status field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *ComposerPackageUpload) GetStatusOk() (*int64, bool) { - if o == nil || o.Status == nil { +func (o *ComposerPackageUploadResponse) GetStatusOk() (*int64, bool) { + if o == nil || isNil(o.Status) { return nil, false } return o.Status, true } // HasStatus returns a boolean if a field has been set. -func (o *ComposerPackageUpload) HasStatus() bool { - if o != nil && o.Status != nil { +func (o *ComposerPackageUploadResponse) HasStatus() bool { + if o != nil && !isNil(o.Status) { return true } @@ -1764,13 +1833,13 @@ func (o *ComposerPackageUpload) HasStatus() bool { } // SetStatus gets a reference to the given int64 and assigns it to the Status field. -func (o *ComposerPackageUpload) SetStatus(v int64) { +func (o *ComposerPackageUploadResponse) SetStatus(v int64) { o.Status = &v } // GetStatusReason returns the StatusReason field value if set, zero value otherwise. -func (o *ComposerPackageUpload) GetStatusReason() string { - if o == nil || o.StatusReason == nil { +func (o *ComposerPackageUploadResponse) GetStatusReason() string { + if o == nil || isNil(o.StatusReason) { var ret string return ret } @@ -1779,16 +1848,16 @@ func (o *ComposerPackageUpload) GetStatusReason() string { // GetStatusReasonOk returns a tuple with the StatusReason field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *ComposerPackageUpload) GetStatusReasonOk() (*string, bool) { - if o == nil || o.StatusReason == nil { +func (o *ComposerPackageUploadResponse) GetStatusReasonOk() (*string, bool) { + if o == nil || isNil(o.StatusReason) { return nil, false } return o.StatusReason, true } // HasStatusReason returns a boolean if a field has been set. -func (o *ComposerPackageUpload) HasStatusReason() bool { - if o != nil && o.StatusReason != nil { +func (o *ComposerPackageUploadResponse) HasStatusReason() bool { + if o != nil && !isNil(o.StatusReason) { return true } @@ -1796,13 +1865,13 @@ func (o *ComposerPackageUpload) HasStatusReason() bool { } // SetStatusReason gets a reference to the given string and assigns it to the StatusReason field. -func (o *ComposerPackageUpload) SetStatusReason(v string) { +func (o *ComposerPackageUploadResponse) SetStatusReason(v string) { o.StatusReason = &v } // GetStatusStr returns the StatusStr field value if set, zero value otherwise. -func (o *ComposerPackageUpload) GetStatusStr() string { - if o == nil || o.StatusStr == nil { +func (o *ComposerPackageUploadResponse) GetStatusStr() string { + if o == nil || isNil(o.StatusStr) { var ret string return ret } @@ -1811,16 +1880,16 @@ func (o *ComposerPackageUpload) GetStatusStr() string { // GetStatusStrOk returns a tuple with the StatusStr field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *ComposerPackageUpload) GetStatusStrOk() (*string, bool) { - if o == nil || o.StatusStr == nil { +func (o *ComposerPackageUploadResponse) GetStatusStrOk() (*string, bool) { + if o == nil || isNil(o.StatusStr) { return nil, false } return o.StatusStr, true } // HasStatusStr returns a boolean if a field has been set. -func (o *ComposerPackageUpload) HasStatusStr() bool { - if o != nil && o.StatusStr != nil { +func (o *ComposerPackageUploadResponse) HasStatusStr() bool { + if o != nil && !isNil(o.StatusStr) { return true } @@ -1828,14 +1897,14 @@ func (o *ComposerPackageUpload) HasStatusStr() bool { } // SetStatusStr gets a reference to the given string and assigns it to the StatusStr field. -func (o *ComposerPackageUpload) SetStatusStr(v string) { +func (o *ComposerPackageUploadResponse) SetStatusStr(v string) { o.StatusStr = &v } // GetStatusUpdatedAt returns the StatusUpdatedAt field value if set, zero value otherwise. -func (o *ComposerPackageUpload) GetStatusUpdatedAt() string { - if o == nil || o.StatusUpdatedAt == nil { - var ret string +func (o *ComposerPackageUploadResponse) GetStatusUpdatedAt() time.Time { + if o == nil || isNil(o.StatusUpdatedAt) { + var ret time.Time return ret } return *o.StatusUpdatedAt @@ -1843,30 +1912,30 @@ func (o *ComposerPackageUpload) GetStatusUpdatedAt() string { // GetStatusUpdatedAtOk returns a tuple with the StatusUpdatedAt field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *ComposerPackageUpload) GetStatusUpdatedAtOk() (*string, bool) { - if o == nil || o.StatusUpdatedAt == nil { +func (o *ComposerPackageUploadResponse) GetStatusUpdatedAtOk() (*time.Time, bool) { + if o == nil || isNil(o.StatusUpdatedAt) { return nil, false } return o.StatusUpdatedAt, true } // HasStatusUpdatedAt returns a boolean if a field has been set. -func (o *ComposerPackageUpload) HasStatusUpdatedAt() bool { - if o != nil && o.StatusUpdatedAt != nil { +func (o *ComposerPackageUploadResponse) HasStatusUpdatedAt() bool { + if o != nil && !isNil(o.StatusUpdatedAt) { return true } return false } -// SetStatusUpdatedAt gets a reference to the given string and assigns it to the StatusUpdatedAt field. -func (o *ComposerPackageUpload) SetStatusUpdatedAt(v string) { +// SetStatusUpdatedAt gets a reference to the given time.Time and assigns it to the StatusUpdatedAt field. +func (o *ComposerPackageUploadResponse) SetStatusUpdatedAt(v time.Time) { o.StatusUpdatedAt = &v } // GetStatusUrl returns the StatusUrl field value if set, zero value otherwise. -func (o *ComposerPackageUpload) GetStatusUrl() string { - if o == nil || o.StatusUrl == nil { +func (o *ComposerPackageUploadResponse) GetStatusUrl() string { + if o == nil || isNil(o.StatusUrl) { var ret string return ret } @@ -1875,16 +1944,16 @@ func (o *ComposerPackageUpload) GetStatusUrl() string { // GetStatusUrlOk returns a tuple with the StatusUrl field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *ComposerPackageUpload) GetStatusUrlOk() (*string, bool) { - if o == nil || o.StatusUrl == nil { +func (o *ComposerPackageUploadResponse) GetStatusUrlOk() (*string, bool) { + if o == nil || isNil(o.StatusUrl) { return nil, false } return o.StatusUrl, true } // HasStatusUrl returns a boolean if a field has been set. -func (o *ComposerPackageUpload) HasStatusUrl() bool { - if o != nil && o.StatusUrl != nil { +func (o *ComposerPackageUploadResponse) HasStatusUrl() bool { + if o != nil && !isNil(o.StatusUrl) { return true } @@ -1892,13 +1961,13 @@ func (o *ComposerPackageUpload) HasStatusUrl() bool { } // SetStatusUrl gets a reference to the given string and assigns it to the StatusUrl field. -func (o *ComposerPackageUpload) SetStatusUrl(v string) { +func (o *ComposerPackageUploadResponse) SetStatusUrl(v string) { o.StatusUrl = &v } // GetSubtype returns the Subtype field value if set, zero value otherwise. -func (o *ComposerPackageUpload) GetSubtype() string { - if o == nil || o.Subtype == nil { +func (o *ComposerPackageUploadResponse) GetSubtype() string { + if o == nil || isNil(o.Subtype) { var ret string return ret } @@ -1907,16 +1976,16 @@ func (o *ComposerPackageUpload) GetSubtype() string { // GetSubtypeOk returns a tuple with the Subtype field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *ComposerPackageUpload) GetSubtypeOk() (*string, bool) { - if o == nil || o.Subtype == nil { +func (o *ComposerPackageUploadResponse) GetSubtypeOk() (*string, bool) { + if o == nil || isNil(o.Subtype) { return nil, false } return o.Subtype, true } // HasSubtype returns a boolean if a field has been set. -func (o *ComposerPackageUpload) HasSubtype() bool { - if o != nil && o.Subtype != nil { +func (o *ComposerPackageUploadResponse) HasSubtype() bool { + if o != nil && !isNil(o.Subtype) { return true } @@ -1924,13 +1993,13 @@ func (o *ComposerPackageUpload) HasSubtype() bool { } // SetSubtype gets a reference to the given string and assigns it to the Subtype field. -func (o *ComposerPackageUpload) SetSubtype(v string) { +func (o *ComposerPackageUploadResponse) SetSubtype(v string) { o.Subtype = &v } // GetSummary returns the Summary field value if set, zero value otherwise. -func (o *ComposerPackageUpload) GetSummary() string { - if o == nil || o.Summary == nil { +func (o *ComposerPackageUploadResponse) GetSummary() string { + if o == nil || isNil(o.Summary) { var ret string return ret } @@ -1939,16 +2008,16 @@ func (o *ComposerPackageUpload) GetSummary() string { // GetSummaryOk returns a tuple with the Summary field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *ComposerPackageUpload) GetSummaryOk() (*string, bool) { - if o == nil || o.Summary == nil { +func (o *ComposerPackageUploadResponse) GetSummaryOk() (*string, bool) { + if o == nil || isNil(o.Summary) { return nil, false } return o.Summary, true } // HasSummary returns a boolean if a field has been set. -func (o *ComposerPackageUpload) HasSummary() bool { - if o != nil && o.Summary != nil { +func (o *ComposerPackageUploadResponse) HasSummary() bool { + if o != nil && !isNil(o.Summary) { return true } @@ -1956,14 +2025,14 @@ func (o *ComposerPackageUpload) HasSummary() bool { } // SetSummary gets a reference to the given string and assigns it to the Summary field. -func (o *ComposerPackageUpload) SetSummary(v string) { +func (o *ComposerPackageUploadResponse) SetSummary(v string) { o.Summary = &v } // GetSyncFinishedAt returns the SyncFinishedAt field value if set, zero value otherwise. -func (o *ComposerPackageUpload) GetSyncFinishedAt() string { - if o == nil || o.SyncFinishedAt == nil { - var ret string +func (o *ComposerPackageUploadResponse) GetSyncFinishedAt() time.Time { + if o == nil || isNil(o.SyncFinishedAt) { + var ret time.Time return ret } return *o.SyncFinishedAt @@ -1971,30 +2040,30 @@ func (o *ComposerPackageUpload) GetSyncFinishedAt() string { // GetSyncFinishedAtOk returns a tuple with the SyncFinishedAt field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *ComposerPackageUpload) GetSyncFinishedAtOk() (*string, bool) { - if o == nil || o.SyncFinishedAt == nil { +func (o *ComposerPackageUploadResponse) GetSyncFinishedAtOk() (*time.Time, bool) { + if o == nil || isNil(o.SyncFinishedAt) { return nil, false } return o.SyncFinishedAt, true } // HasSyncFinishedAt returns a boolean if a field has been set. -func (o *ComposerPackageUpload) HasSyncFinishedAt() bool { - if o != nil && o.SyncFinishedAt != nil { +func (o *ComposerPackageUploadResponse) HasSyncFinishedAt() bool { + if o != nil && !isNil(o.SyncFinishedAt) { return true } return false } -// SetSyncFinishedAt gets a reference to the given string and assigns it to the SyncFinishedAt field. -func (o *ComposerPackageUpload) SetSyncFinishedAt(v string) { +// SetSyncFinishedAt gets a reference to the given time.Time and assigns it to the SyncFinishedAt field. +func (o *ComposerPackageUploadResponse) SetSyncFinishedAt(v time.Time) { o.SyncFinishedAt = &v } // GetSyncProgress returns the SyncProgress field value if set, zero value otherwise. -func (o *ComposerPackageUpload) GetSyncProgress() int64 { - if o == nil || o.SyncProgress == nil { +func (o *ComposerPackageUploadResponse) GetSyncProgress() int64 { + if o == nil || isNil(o.SyncProgress) { var ret int64 return ret } @@ -2003,16 +2072,16 @@ func (o *ComposerPackageUpload) GetSyncProgress() int64 { // GetSyncProgressOk returns a tuple with the SyncProgress field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *ComposerPackageUpload) GetSyncProgressOk() (*int64, bool) { - if o == nil || o.SyncProgress == nil { +func (o *ComposerPackageUploadResponse) GetSyncProgressOk() (*int64, bool) { + if o == nil || isNil(o.SyncProgress) { return nil, false } return o.SyncProgress, true } // HasSyncProgress returns a boolean if a field has been set. -func (o *ComposerPackageUpload) HasSyncProgress() bool { - if o != nil && o.SyncProgress != nil { +func (o *ComposerPackageUploadResponse) HasSyncProgress() bool { + if o != nil && !isNil(o.SyncProgress) { return true } @@ -2020,13 +2089,13 @@ func (o *ComposerPackageUpload) HasSyncProgress() bool { } // SetSyncProgress gets a reference to the given int64 and assigns it to the SyncProgress field. -func (o *ComposerPackageUpload) SetSyncProgress(v int64) { +func (o *ComposerPackageUploadResponse) SetSyncProgress(v int64) { o.SyncProgress = &v } // GetTagsImmutable returns the TagsImmutable field value if set, zero value otherwise. -func (o *ComposerPackageUpload) GetTagsImmutable() map[string]interface{} { - if o == nil || o.TagsImmutable == nil { +func (o *ComposerPackageUploadResponse) GetTagsImmutable() map[string]interface{} { + if o == nil || isNil(o.TagsImmutable) { var ret map[string]interface{} return ret } @@ -2035,16 +2104,16 @@ func (o *ComposerPackageUpload) GetTagsImmutable() map[string]interface{} { // GetTagsImmutableOk returns a tuple with the TagsImmutable field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *ComposerPackageUpload) GetTagsImmutableOk() (map[string]interface{}, bool) { - if o == nil || o.TagsImmutable == nil { - return nil, false +func (o *ComposerPackageUploadResponse) GetTagsImmutableOk() (map[string]interface{}, bool) { + if o == nil || isNil(o.TagsImmutable) { + return map[string]interface{}{}, false } return o.TagsImmutable, true } // HasTagsImmutable returns a boolean if a field has been set. -func (o *ComposerPackageUpload) HasTagsImmutable() bool { - if o != nil && o.TagsImmutable != nil { +func (o *ComposerPackageUploadResponse) HasTagsImmutable() bool { + if o != nil && !isNil(o.TagsImmutable) { return true } @@ -2052,13 +2121,13 @@ func (o *ComposerPackageUpload) HasTagsImmutable() bool { } // SetTagsImmutable gets a reference to the given map[string]interface{} and assigns it to the TagsImmutable field. -func (o *ComposerPackageUpload) SetTagsImmutable(v map[string]interface{}) { +func (o *ComposerPackageUploadResponse) SetTagsImmutable(v map[string]interface{}) { o.TagsImmutable = v } // GetTypeDisplay returns the TypeDisplay field value if set, zero value otherwise. -func (o *ComposerPackageUpload) GetTypeDisplay() string { - if o == nil || o.TypeDisplay == nil { +func (o *ComposerPackageUploadResponse) GetTypeDisplay() string { + if o == nil || isNil(o.TypeDisplay) { var ret string return ret } @@ -2067,16 +2136,16 @@ func (o *ComposerPackageUpload) GetTypeDisplay() string { // GetTypeDisplayOk returns a tuple with the TypeDisplay field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *ComposerPackageUpload) GetTypeDisplayOk() (*string, bool) { - if o == nil || o.TypeDisplay == nil { +func (o *ComposerPackageUploadResponse) GetTypeDisplayOk() (*string, bool) { + if o == nil || isNil(o.TypeDisplay) { return nil, false } return o.TypeDisplay, true } // HasTypeDisplay returns a boolean if a field has been set. -func (o *ComposerPackageUpload) HasTypeDisplay() bool { - if o != nil && o.TypeDisplay != nil { +func (o *ComposerPackageUploadResponse) HasTypeDisplay() bool { + if o != nil && !isNil(o.TypeDisplay) { return true } @@ -2084,14 +2153,14 @@ func (o *ComposerPackageUpload) HasTypeDisplay() bool { } // SetTypeDisplay gets a reference to the given string and assigns it to the TypeDisplay field. -func (o *ComposerPackageUpload) SetTypeDisplay(v string) { +func (o *ComposerPackageUploadResponse) SetTypeDisplay(v string) { o.TypeDisplay = &v } // GetUploadedAt returns the UploadedAt field value if set, zero value otherwise. -func (o *ComposerPackageUpload) GetUploadedAt() string { - if o == nil || o.UploadedAt == nil { - var ret string +func (o *ComposerPackageUploadResponse) GetUploadedAt() time.Time { + if o == nil || isNil(o.UploadedAt) { + var ret time.Time return ret } return *o.UploadedAt @@ -2099,30 +2168,30 @@ func (o *ComposerPackageUpload) GetUploadedAt() string { // GetUploadedAtOk returns a tuple with the UploadedAt field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *ComposerPackageUpload) GetUploadedAtOk() (*string, bool) { - if o == nil || o.UploadedAt == nil { +func (o *ComposerPackageUploadResponse) GetUploadedAtOk() (*time.Time, bool) { + if o == nil || isNil(o.UploadedAt) { return nil, false } return o.UploadedAt, true } // HasUploadedAt returns a boolean if a field has been set. -func (o *ComposerPackageUpload) HasUploadedAt() bool { - if o != nil && o.UploadedAt != nil { +func (o *ComposerPackageUploadResponse) HasUploadedAt() bool { + if o != nil && !isNil(o.UploadedAt) { return true } return false } -// SetUploadedAt gets a reference to the given string and assigns it to the UploadedAt field. -func (o *ComposerPackageUpload) SetUploadedAt(v string) { +// SetUploadedAt gets a reference to the given time.Time and assigns it to the UploadedAt field. +func (o *ComposerPackageUploadResponse) SetUploadedAt(v time.Time) { o.UploadedAt = &v } // GetUploader returns the Uploader field value if set, zero value otherwise. -func (o *ComposerPackageUpload) GetUploader() string { - if o == nil || o.Uploader == nil { +func (o *ComposerPackageUploadResponse) GetUploader() string { + if o == nil || isNil(o.Uploader) { var ret string return ret } @@ -2131,16 +2200,16 @@ func (o *ComposerPackageUpload) GetUploader() string { // GetUploaderOk returns a tuple with the Uploader field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *ComposerPackageUpload) GetUploaderOk() (*string, bool) { - if o == nil || o.Uploader == nil { +func (o *ComposerPackageUploadResponse) GetUploaderOk() (*string, bool) { + if o == nil || isNil(o.Uploader) { return nil, false } return o.Uploader, true } // HasUploader returns a boolean if a field has been set. -func (o *ComposerPackageUpload) HasUploader() bool { - if o != nil && o.Uploader != nil { +func (o *ComposerPackageUploadResponse) HasUploader() bool { + if o != nil && !isNil(o.Uploader) { return true } @@ -2148,13 +2217,13 @@ func (o *ComposerPackageUpload) HasUploader() bool { } // SetUploader gets a reference to the given string and assigns it to the Uploader field. -func (o *ComposerPackageUpload) SetUploader(v string) { +func (o *ComposerPackageUploadResponse) SetUploader(v string) { o.Uploader = &v } // GetUploaderUrl returns the UploaderUrl field value if set, zero value otherwise. -func (o *ComposerPackageUpload) GetUploaderUrl() string { - if o == nil || o.UploaderUrl == nil { +func (o *ComposerPackageUploadResponse) GetUploaderUrl() string { + if o == nil || isNil(o.UploaderUrl) { var ret string return ret } @@ -2163,16 +2232,16 @@ func (o *ComposerPackageUpload) GetUploaderUrl() string { // GetUploaderUrlOk returns a tuple with the UploaderUrl field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *ComposerPackageUpload) GetUploaderUrlOk() (*string, bool) { - if o == nil || o.UploaderUrl == nil { +func (o *ComposerPackageUploadResponse) GetUploaderUrlOk() (*string, bool) { + if o == nil || isNil(o.UploaderUrl) { return nil, false } return o.UploaderUrl, true } // HasUploaderUrl returns a boolean if a field has been set. -func (o *ComposerPackageUpload) HasUploaderUrl() bool { - if o != nil && o.UploaderUrl != nil { +func (o *ComposerPackageUploadResponse) HasUploaderUrl() bool { + if o != nil && !isNil(o.UploaderUrl) { return true } @@ -2180,13 +2249,13 @@ func (o *ComposerPackageUpload) HasUploaderUrl() bool { } // SetUploaderUrl gets a reference to the given string and assigns it to the UploaderUrl field. -func (o *ComposerPackageUpload) SetUploaderUrl(v string) { +func (o *ComposerPackageUploadResponse) SetUploaderUrl(v string) { o.UploaderUrl = &v } // GetVersion returns the Version field value if set, zero value otherwise. -func (o *ComposerPackageUpload) GetVersion() string { - if o == nil || o.Version == nil { +func (o *ComposerPackageUploadResponse) GetVersion() string { + if o == nil || isNil(o.Version) { var ret string return ret } @@ -2195,16 +2264,16 @@ func (o *ComposerPackageUpload) GetVersion() string { // GetVersionOk returns a tuple with the Version field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *ComposerPackageUpload) GetVersionOk() (*string, bool) { - if o == nil || o.Version == nil { +func (o *ComposerPackageUploadResponse) GetVersionOk() (*string, bool) { + if o == nil || isNil(o.Version) { return nil, false } return o.Version, true } // HasVersion returns a boolean if a field has been set. -func (o *ComposerPackageUpload) HasVersion() bool { - if o != nil && o.Version != nil { +func (o *ComposerPackageUploadResponse) HasVersion() bool { + if o != nil && !isNil(o.Version) { return true } @@ -2212,13 +2281,13 @@ func (o *ComposerPackageUpload) HasVersion() bool { } // SetVersion gets a reference to the given string and assigns it to the Version field. -func (o *ComposerPackageUpload) SetVersion(v string) { +func (o *ComposerPackageUploadResponse) SetVersion(v string) { o.Version = &v } // GetVersionOrig returns the VersionOrig field value if set, zero value otherwise. -func (o *ComposerPackageUpload) GetVersionOrig() string { - if o == nil || o.VersionOrig == nil { +func (o *ComposerPackageUploadResponse) GetVersionOrig() string { + if o == nil || isNil(o.VersionOrig) { var ret string return ret } @@ -2227,16 +2296,16 @@ func (o *ComposerPackageUpload) GetVersionOrig() string { // GetVersionOrigOk returns a tuple with the VersionOrig field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *ComposerPackageUpload) GetVersionOrigOk() (*string, bool) { - if o == nil || o.VersionOrig == nil { +func (o *ComposerPackageUploadResponse) GetVersionOrigOk() (*string, bool) { + if o == nil || isNil(o.VersionOrig) { return nil, false } return o.VersionOrig, true } // HasVersionOrig returns a boolean if a field has been set. -func (o *ComposerPackageUpload) HasVersionOrig() bool { - if o != nil && o.VersionOrig != nil { +func (o *ComposerPackageUploadResponse) HasVersionOrig() bool { + if o != nil && !isNil(o.VersionOrig) { return true } @@ -2244,13 +2313,13 @@ func (o *ComposerPackageUpload) HasVersionOrig() bool { } // SetVersionOrig gets a reference to the given string and assigns it to the VersionOrig field. -func (o *ComposerPackageUpload) SetVersionOrig(v string) { +func (o *ComposerPackageUploadResponse) SetVersionOrig(v string) { o.VersionOrig = &v } // GetVulnerabilityScanResultsUrl returns the VulnerabilityScanResultsUrl field value if set, zero value otherwise. -func (o *ComposerPackageUpload) GetVulnerabilityScanResultsUrl() string { - if o == nil || o.VulnerabilityScanResultsUrl == nil { +func (o *ComposerPackageUploadResponse) GetVulnerabilityScanResultsUrl() string { + if o == nil || isNil(o.VulnerabilityScanResultsUrl) { var ret string return ret } @@ -2259,16 +2328,16 @@ func (o *ComposerPackageUpload) GetVulnerabilityScanResultsUrl() string { // GetVulnerabilityScanResultsUrlOk returns a tuple with the VulnerabilityScanResultsUrl field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *ComposerPackageUpload) GetVulnerabilityScanResultsUrlOk() (*string, bool) { - if o == nil || o.VulnerabilityScanResultsUrl == nil { +func (o *ComposerPackageUploadResponse) GetVulnerabilityScanResultsUrlOk() (*string, bool) { + if o == nil || isNil(o.VulnerabilityScanResultsUrl) { return nil, false } return o.VulnerabilityScanResultsUrl, true } // HasVulnerabilityScanResultsUrl returns a boolean if a field has been set. -func (o *ComposerPackageUpload) HasVulnerabilityScanResultsUrl() bool { - if o != nil && o.VulnerabilityScanResultsUrl != nil { +func (o *ComposerPackageUploadResponse) HasVulnerabilityScanResultsUrl() bool { + if o != nil && !isNil(o.VulnerabilityScanResultsUrl) { return true } @@ -2276,245 +2345,251 @@ func (o *ComposerPackageUpload) HasVulnerabilityScanResultsUrl() bool { } // SetVulnerabilityScanResultsUrl gets a reference to the given string and assigns it to the VulnerabilityScanResultsUrl field. -func (o *ComposerPackageUpload) SetVulnerabilityScanResultsUrl(v string) { +func (o *ComposerPackageUploadResponse) SetVulnerabilityScanResultsUrl(v string) { o.VulnerabilityScanResultsUrl = &v } -func (o ComposerPackageUpload) MarshalJSON() ([]byte, error) { +func (o ComposerPackageUploadResponse) MarshalJSON() ([]byte, error) { toSerialize := map[string]interface{}{} - if o.Architectures != nil { + if !isNil(o.Architectures) { toSerialize["architectures"] = o.Architectures } - if o.CdnUrl != nil { - toSerialize["cdn_url"] = o.CdnUrl + if o.CdnUrl.IsSet() { + toSerialize["cdn_url"] = o.CdnUrl.Get() } - if o.ChecksumMd5 != nil { + if !isNil(o.ChecksumMd5) { toSerialize["checksum_md5"] = o.ChecksumMd5 } - if o.ChecksumSha1 != nil { + if !isNil(o.ChecksumSha1) { toSerialize["checksum_sha1"] = o.ChecksumSha1 } - if o.ChecksumSha256 != nil { + if !isNil(o.ChecksumSha256) { toSerialize["checksum_sha256"] = o.ChecksumSha256 } - if o.ChecksumSha512 != nil { + if !isNil(o.ChecksumSha512) { toSerialize["checksum_sha512"] = o.ChecksumSha512 } - if o.DependenciesChecksumMd5 != nil { + if !isNil(o.DependenciesChecksumMd5) { toSerialize["dependencies_checksum_md5"] = o.DependenciesChecksumMd5 } - if o.DependenciesUrl != nil { + if !isNil(o.DependenciesUrl) { toSerialize["dependencies_url"] = o.DependenciesUrl } - if o.Description != nil { + if !isNil(o.Description) { toSerialize["description"] = o.Description } - if o.Distro != nil { - toSerialize["distro"] = o.Distro + if o.Distro.IsSet() { + toSerialize["distro"] = o.Distro.Get() } - if o.DistroVersion != nil { + if !isNil(o.DistroVersion) { toSerialize["distro_version"] = o.DistroVersion } - if o.Downloads != nil { + if !isNil(o.Downloads) { toSerialize["downloads"] = o.Downloads } - if o.Epoch != nil { + if !isNil(o.Epoch) { toSerialize["epoch"] = o.Epoch } - if o.Extension != nil { + if !isNil(o.Extension) { toSerialize["extension"] = o.Extension } - if o.Filename != nil { + if !isNil(o.Filename) { toSerialize["filename"] = o.Filename } - if o.Files != nil { + if !isNil(o.Files) { toSerialize["files"] = o.Files } - if o.Format != nil { + if !isNil(o.Format) { toSerialize["format"] = o.Format } - if o.FormatUrl != nil { + if !isNil(o.FormatUrl) { toSerialize["format_url"] = o.FormatUrl } - if o.IdentifierPerm != nil { + if !isNil(o.IdentifierPerm) { toSerialize["identifier_perm"] = o.IdentifierPerm } - if o.Indexed != nil { + if !isNil(o.Indexed) { toSerialize["indexed"] = o.Indexed } - if o.IsDownloadable != nil { + if !isNil(o.IsDownloadable) { toSerialize["is_downloadable"] = o.IsDownloadable } - if o.IsQuarantined != nil { + if !isNil(o.IsQuarantined) { toSerialize["is_quarantined"] = o.IsQuarantined } - if o.IsSyncAwaiting != nil { + if !isNil(o.IsSyncAwaiting) { toSerialize["is_sync_awaiting"] = o.IsSyncAwaiting } - if o.IsSyncCompleted != nil { + if !isNil(o.IsSyncCompleted) { toSerialize["is_sync_completed"] = o.IsSyncCompleted } - if o.IsSyncFailed != nil { + if !isNil(o.IsSyncFailed) { toSerialize["is_sync_failed"] = o.IsSyncFailed } - if o.IsSyncInFlight != nil { + if !isNil(o.IsSyncInFlight) { toSerialize["is_sync_in_flight"] = o.IsSyncInFlight } - if o.IsSyncInProgress != nil { + if !isNil(o.IsSyncInProgress) { toSerialize["is_sync_in_progress"] = o.IsSyncInProgress } - if o.License != nil { + if !isNil(o.License) { toSerialize["license"] = o.License } - if o.Name != nil { + if !isNil(o.Name) { toSerialize["name"] = o.Name } - if o.Namespace != nil { + if !isNil(o.Namespace) { toSerialize["namespace"] = o.Namespace } - if o.NamespaceUrl != nil { + if !isNil(o.NamespaceUrl) { toSerialize["namespace_url"] = o.NamespaceUrl } - if o.NumFiles != nil { + if !isNil(o.NumFiles) { toSerialize["num_files"] = o.NumFiles } - if o.PackageType != nil { + if !isNil(o.OriginRepository) { + toSerialize["origin_repository"] = o.OriginRepository + } + if !isNil(o.OriginRepositoryUrl) { + toSerialize["origin_repository_url"] = o.OriginRepositoryUrl + } + if !isNil(o.PackageType) { toSerialize["package_type"] = o.PackageType } - if o.Release != nil { + if !isNil(o.Release) { toSerialize["release"] = o.Release } - if o.Repository != nil { + if !isNil(o.Repository) { toSerialize["repository"] = o.Repository } - if o.RepositoryUrl != nil { + if !isNil(o.RepositoryUrl) { toSerialize["repository_url"] = o.RepositoryUrl } - if o.SecurityScanCompletedAt != nil { + if !isNil(o.SecurityScanCompletedAt) { toSerialize["security_scan_completed_at"] = o.SecurityScanCompletedAt } - if o.SecurityScanStartedAt != nil { + if !isNil(o.SecurityScanStartedAt) { toSerialize["security_scan_started_at"] = o.SecurityScanStartedAt } - if o.SecurityScanStatus != nil { - toSerialize["security_scan_status"] = o.SecurityScanStatus + if o.SecurityScanStatus.IsSet() { + toSerialize["security_scan_status"] = o.SecurityScanStatus.Get() } - if o.SecurityScanStatusUpdatedAt != nil { + if !isNil(o.SecurityScanStatusUpdatedAt) { toSerialize["security_scan_status_updated_at"] = o.SecurityScanStatusUpdatedAt } - if o.SelfHtmlUrl != nil { + if !isNil(o.SelfHtmlUrl) { toSerialize["self_html_url"] = o.SelfHtmlUrl } - if o.SelfUrl != nil { + if !isNil(o.SelfUrl) { toSerialize["self_url"] = o.SelfUrl } - if o.SignatureUrl != nil { - toSerialize["signature_url"] = o.SignatureUrl + if o.SignatureUrl.IsSet() { + toSerialize["signature_url"] = o.SignatureUrl.Get() } - if o.Size != nil { + if !isNil(o.Size) { toSerialize["size"] = o.Size } - if o.Slug != nil { + if !isNil(o.Slug) { toSerialize["slug"] = o.Slug } - if o.SlugPerm != nil { + if !isNil(o.SlugPerm) { toSerialize["slug_perm"] = o.SlugPerm } - if o.Stage != nil { + if !isNil(o.Stage) { toSerialize["stage"] = o.Stage } - if o.StageStr != nil { + if !isNil(o.StageStr) { toSerialize["stage_str"] = o.StageStr } - if o.StageUpdatedAt != nil { + if !isNil(o.StageUpdatedAt) { toSerialize["stage_updated_at"] = o.StageUpdatedAt } - if o.Status != nil { + if !isNil(o.Status) { toSerialize["status"] = o.Status } - if o.StatusReason != nil { + if !isNil(o.StatusReason) { toSerialize["status_reason"] = o.StatusReason } - if o.StatusStr != nil { + if !isNil(o.StatusStr) { toSerialize["status_str"] = o.StatusStr } - if o.StatusUpdatedAt != nil { + if !isNil(o.StatusUpdatedAt) { toSerialize["status_updated_at"] = o.StatusUpdatedAt } - if o.StatusUrl != nil { + if !isNil(o.StatusUrl) { toSerialize["status_url"] = o.StatusUrl } - if o.Subtype != nil { + if !isNil(o.Subtype) { toSerialize["subtype"] = o.Subtype } - if o.Summary != nil { + if !isNil(o.Summary) { toSerialize["summary"] = o.Summary } - if o.SyncFinishedAt != nil { + if !isNil(o.SyncFinishedAt) { toSerialize["sync_finished_at"] = o.SyncFinishedAt } - if o.SyncProgress != nil { + if !isNil(o.SyncProgress) { toSerialize["sync_progress"] = o.SyncProgress } - if o.TagsImmutable != nil { + if !isNil(o.TagsImmutable) { toSerialize["tags_immutable"] = o.TagsImmutable } - if o.TypeDisplay != nil { + if !isNil(o.TypeDisplay) { toSerialize["type_display"] = o.TypeDisplay } - if o.UploadedAt != nil { + if !isNil(o.UploadedAt) { toSerialize["uploaded_at"] = o.UploadedAt } - if o.Uploader != nil { + if !isNil(o.Uploader) { toSerialize["uploader"] = o.Uploader } - if o.UploaderUrl != nil { + if !isNil(o.UploaderUrl) { toSerialize["uploader_url"] = o.UploaderUrl } - if o.Version != nil { + if !isNil(o.Version) { toSerialize["version"] = o.Version } - if o.VersionOrig != nil { + if !isNil(o.VersionOrig) { toSerialize["version_orig"] = o.VersionOrig } - if o.VulnerabilityScanResultsUrl != nil { + if !isNil(o.VulnerabilityScanResultsUrl) { toSerialize["vulnerability_scan_results_url"] = o.VulnerabilityScanResultsUrl } return json.Marshal(toSerialize) } -type NullableComposerPackageUpload struct { - value *ComposerPackageUpload +type NullableComposerPackageUploadResponse struct { + value *ComposerPackageUploadResponse isSet bool } -func (v NullableComposerPackageUpload) Get() *ComposerPackageUpload { +func (v NullableComposerPackageUploadResponse) Get() *ComposerPackageUploadResponse { return v.value } -func (v *NullableComposerPackageUpload) Set(val *ComposerPackageUpload) { +func (v *NullableComposerPackageUploadResponse) Set(val *ComposerPackageUploadResponse) { v.value = val v.isSet = true } -func (v NullableComposerPackageUpload) IsSet() bool { +func (v NullableComposerPackageUploadResponse) IsSet() bool { return v.isSet } -func (v *NullableComposerPackageUpload) Unset() { +func (v *NullableComposerPackageUploadResponse) Unset() { v.value = nil v.isSet = false } -func NewNullableComposerPackageUpload(val *ComposerPackageUpload) *NullableComposerPackageUpload { - return &NullableComposerPackageUpload{value: val, isSet: true} +func NewNullableComposerPackageUploadResponse(val *ComposerPackageUploadResponse) *NullableComposerPackageUploadResponse { + return &NullableComposerPackageUploadResponse{value: val, isSet: true} } -func (v NullableComposerPackageUpload) MarshalJSON() ([]byte, error) { +func (v NullableComposerPackageUploadResponse) MarshalJSON() ([]byte, error) { return json.Marshal(v.value) } -func (v *NullableComposerPackageUpload) UnmarshalJSON(src []byte) error { +func (v *NullableComposerPackageUploadResponse) UnmarshalJSON(src []byte) error { v.isSet = true return json.Unmarshal(src, &v.value) } diff --git a/model_conan_package_upload_request.go b/model_conan_package_upload_request.go new file mode 100644 index 00000000..be1786ca --- /dev/null +++ b/model_conan_package_upload_request.go @@ -0,0 +1,475 @@ +/* +Cloudsmith API (v1) + +The API to the Cloudsmith Service + +API version: 1.181.6 +Contact: support@cloudsmith.io +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cloudsmith + +import ( + "encoding/json" +) + +// ConanPackageUploadRequest struct for ConanPackageUploadRequest +type ConanPackageUploadRequest struct { + // Conan channel. + ConanChannel NullableString `json:"conan_channel,omitempty"` + // Conan prefix (User). + ConanPrefix NullableString `json:"conan_prefix,omitempty"` + // The info file is an python file containing the package metadata. + InfoFile string `json:"info_file"` + // The info file is an python file containing the package metadata. + ManifestFile string `json:"manifest_file"` + // The conan file is an python file containing the package metadata. + MetadataFile string `json:"metadata_file"` + // The name of this package. + Name NullableString `json:"name,omitempty"` + // The primary file for the package. + PackageFile string `json:"package_file"` + // If true, the uploaded package will overwrite any others with the same attributes (e.g. same version); otherwise, it will be flagged as a duplicate. + Republish *bool `json:"republish,omitempty"` + // A comma-separated values list of tags to add to the package. + Tags NullableString `json:"tags,omitempty"` + // The raw version for this package. + Version NullableString `json:"version,omitempty"` +} + +// NewConanPackageUploadRequest instantiates a new ConanPackageUploadRequest object +// 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 NewConanPackageUploadRequest(infoFile string, manifestFile string, metadataFile string, packageFile string) *ConanPackageUploadRequest { + this := ConanPackageUploadRequest{} + this.InfoFile = infoFile + this.ManifestFile = manifestFile + this.MetadataFile = metadataFile + this.PackageFile = packageFile + return &this +} + +// NewConanPackageUploadRequestWithDefaults instantiates a new ConanPackageUploadRequest object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewConanPackageUploadRequestWithDefaults() *ConanPackageUploadRequest { + this := ConanPackageUploadRequest{} + return &this +} + +// GetConanChannel returns the ConanChannel field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *ConanPackageUploadRequest) GetConanChannel() string { + if o == nil || isNil(o.ConanChannel.Get()) { + var ret string + return ret + } + return *o.ConanChannel.Get() +} + +// GetConanChannelOk returns a tuple with the ConanChannel 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 *ConanPackageUploadRequest) GetConanChannelOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.ConanChannel.Get(), o.ConanChannel.IsSet() +} + +// HasConanChannel returns a boolean if a field has been set. +func (o *ConanPackageUploadRequest) HasConanChannel() bool { + if o != nil && o.ConanChannel.IsSet() { + return true + } + + return false +} + +// SetConanChannel gets a reference to the given NullableString and assigns it to the ConanChannel field. +func (o *ConanPackageUploadRequest) SetConanChannel(v string) { + o.ConanChannel.Set(&v) +} + +// SetConanChannelNil sets the value for ConanChannel to be an explicit nil +func (o *ConanPackageUploadRequest) SetConanChannelNil() { + o.ConanChannel.Set(nil) +} + +// UnsetConanChannel ensures that no value is present for ConanChannel, not even an explicit nil +func (o *ConanPackageUploadRequest) UnsetConanChannel() { + o.ConanChannel.Unset() +} + +// GetConanPrefix returns the ConanPrefix field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *ConanPackageUploadRequest) GetConanPrefix() string { + if o == nil || isNil(o.ConanPrefix.Get()) { + var ret string + return ret + } + return *o.ConanPrefix.Get() +} + +// GetConanPrefixOk returns a tuple with the ConanPrefix 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 *ConanPackageUploadRequest) GetConanPrefixOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.ConanPrefix.Get(), o.ConanPrefix.IsSet() +} + +// HasConanPrefix returns a boolean if a field has been set. +func (o *ConanPackageUploadRequest) HasConanPrefix() bool { + if o != nil && o.ConanPrefix.IsSet() { + return true + } + + return false +} + +// SetConanPrefix gets a reference to the given NullableString and assigns it to the ConanPrefix field. +func (o *ConanPackageUploadRequest) SetConanPrefix(v string) { + o.ConanPrefix.Set(&v) +} + +// SetConanPrefixNil sets the value for ConanPrefix to be an explicit nil +func (o *ConanPackageUploadRequest) SetConanPrefixNil() { + o.ConanPrefix.Set(nil) +} + +// UnsetConanPrefix ensures that no value is present for ConanPrefix, not even an explicit nil +func (o *ConanPackageUploadRequest) UnsetConanPrefix() { + o.ConanPrefix.Unset() +} + +// GetInfoFile returns the InfoFile field value +func (o *ConanPackageUploadRequest) GetInfoFile() string { + if o == nil { + var ret string + return ret + } + + return o.InfoFile +} + +// GetInfoFileOk returns a tuple with the InfoFile field value +// and a boolean to check if the value has been set. +func (o *ConanPackageUploadRequest) GetInfoFileOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.InfoFile, true +} + +// SetInfoFile sets field value +func (o *ConanPackageUploadRequest) SetInfoFile(v string) { + o.InfoFile = v +} + +// GetManifestFile returns the ManifestFile field value +func (o *ConanPackageUploadRequest) GetManifestFile() string { + if o == nil { + var ret string + return ret + } + + return o.ManifestFile +} + +// GetManifestFileOk returns a tuple with the ManifestFile field value +// and a boolean to check if the value has been set. +func (o *ConanPackageUploadRequest) GetManifestFileOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.ManifestFile, true +} + +// SetManifestFile sets field value +func (o *ConanPackageUploadRequest) SetManifestFile(v string) { + o.ManifestFile = v +} + +// GetMetadataFile returns the MetadataFile field value +func (o *ConanPackageUploadRequest) GetMetadataFile() string { + if o == nil { + var ret string + return ret + } + + return o.MetadataFile +} + +// GetMetadataFileOk returns a tuple with the MetadataFile field value +// and a boolean to check if the value has been set. +func (o *ConanPackageUploadRequest) GetMetadataFileOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.MetadataFile, true +} + +// SetMetadataFile sets field value +func (o *ConanPackageUploadRequest) SetMetadataFile(v string) { + o.MetadataFile = v +} + +// GetName returns the Name field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *ConanPackageUploadRequest) GetName() string { + if o == nil || isNil(o.Name.Get()) { + var ret string + return ret + } + return *o.Name.Get() +} + +// GetNameOk returns a tuple with the Name field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *ConanPackageUploadRequest) GetNameOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.Name.Get(), o.Name.IsSet() +} + +// HasName returns a boolean if a field has been set. +func (o *ConanPackageUploadRequest) HasName() bool { + if o != nil && o.Name.IsSet() { + return true + } + + return false +} + +// SetName gets a reference to the given NullableString and assigns it to the Name field. +func (o *ConanPackageUploadRequest) SetName(v string) { + o.Name.Set(&v) +} + +// SetNameNil sets the value for Name to be an explicit nil +func (o *ConanPackageUploadRequest) SetNameNil() { + o.Name.Set(nil) +} + +// UnsetName ensures that no value is present for Name, not even an explicit nil +func (o *ConanPackageUploadRequest) UnsetName() { + o.Name.Unset() +} + +// GetPackageFile returns the PackageFile field value +func (o *ConanPackageUploadRequest) GetPackageFile() string { + if o == nil { + var ret string + return ret + } + + return o.PackageFile +} + +// GetPackageFileOk returns a tuple with the PackageFile field value +// and a boolean to check if the value has been set. +func (o *ConanPackageUploadRequest) GetPackageFileOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.PackageFile, true +} + +// SetPackageFile sets field value +func (o *ConanPackageUploadRequest) SetPackageFile(v string) { + o.PackageFile = v +} + +// GetRepublish returns the Republish field value if set, zero value otherwise. +func (o *ConanPackageUploadRequest) GetRepublish() bool { + if o == nil || isNil(o.Republish) { + var ret bool + return ret + } + return *o.Republish +} + +// GetRepublishOk returns a tuple with the Republish field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *ConanPackageUploadRequest) GetRepublishOk() (*bool, bool) { + if o == nil || isNil(o.Republish) { + return nil, false + } + return o.Republish, true +} + +// HasRepublish returns a boolean if a field has been set. +func (o *ConanPackageUploadRequest) HasRepublish() bool { + if o != nil && !isNil(o.Republish) { + return true + } + + return false +} + +// SetRepublish gets a reference to the given bool and assigns it to the Republish field. +func (o *ConanPackageUploadRequest) SetRepublish(v bool) { + o.Republish = &v +} + +// GetTags returns the Tags field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *ConanPackageUploadRequest) GetTags() string { + if o == nil || isNil(o.Tags.Get()) { + var ret string + return ret + } + return *o.Tags.Get() +} + +// GetTagsOk returns a tuple with the Tags 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 *ConanPackageUploadRequest) GetTagsOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.Tags.Get(), o.Tags.IsSet() +} + +// HasTags returns a boolean if a field has been set. +func (o *ConanPackageUploadRequest) HasTags() bool { + if o != nil && o.Tags.IsSet() { + return true + } + + return false +} + +// SetTags gets a reference to the given NullableString and assigns it to the Tags field. +func (o *ConanPackageUploadRequest) SetTags(v string) { + o.Tags.Set(&v) +} + +// SetTagsNil sets the value for Tags to be an explicit nil +func (o *ConanPackageUploadRequest) SetTagsNil() { + o.Tags.Set(nil) +} + +// UnsetTags ensures that no value is present for Tags, not even an explicit nil +func (o *ConanPackageUploadRequest) UnsetTags() { + o.Tags.Unset() +} + +// GetVersion returns the Version field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *ConanPackageUploadRequest) GetVersion() string { + if o == nil || isNil(o.Version.Get()) { + var ret string + return ret + } + return *o.Version.Get() +} + +// GetVersionOk returns a tuple with the Version 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 *ConanPackageUploadRequest) GetVersionOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.Version.Get(), o.Version.IsSet() +} + +// HasVersion returns a boolean if a field has been set. +func (o *ConanPackageUploadRequest) HasVersion() bool { + if o != nil && o.Version.IsSet() { + return true + } + + return false +} + +// SetVersion gets a reference to the given NullableString and assigns it to the Version field. +func (o *ConanPackageUploadRequest) SetVersion(v string) { + o.Version.Set(&v) +} + +// SetVersionNil sets the value for Version to be an explicit nil +func (o *ConanPackageUploadRequest) SetVersionNil() { + o.Version.Set(nil) +} + +// UnsetVersion ensures that no value is present for Version, not even an explicit nil +func (o *ConanPackageUploadRequest) UnsetVersion() { + o.Version.Unset() +} + +func (o ConanPackageUploadRequest) MarshalJSON() ([]byte, error) { + toSerialize := map[string]interface{}{} + if o.ConanChannel.IsSet() { + toSerialize["conan_channel"] = o.ConanChannel.Get() + } + if o.ConanPrefix.IsSet() { + toSerialize["conan_prefix"] = o.ConanPrefix.Get() + } + if true { + toSerialize["info_file"] = o.InfoFile + } + if true { + toSerialize["manifest_file"] = o.ManifestFile + } + if true { + toSerialize["metadata_file"] = o.MetadataFile + } + if o.Name.IsSet() { + toSerialize["name"] = o.Name.Get() + } + if true { + toSerialize["package_file"] = o.PackageFile + } + if !isNil(o.Republish) { + toSerialize["republish"] = o.Republish + } + if o.Tags.IsSet() { + toSerialize["tags"] = o.Tags.Get() + } + if o.Version.IsSet() { + toSerialize["version"] = o.Version.Get() + } + return json.Marshal(toSerialize) +} + +type NullableConanPackageUploadRequest struct { + value *ConanPackageUploadRequest + isSet bool +} + +func (v NullableConanPackageUploadRequest) Get() *ConanPackageUploadRequest { + return v.value +} + +func (v *NullableConanPackageUploadRequest) Set(val *ConanPackageUploadRequest) { + v.value = val + v.isSet = true +} + +func (v NullableConanPackageUploadRequest) IsSet() bool { + return v.isSet +} + +func (v *NullableConanPackageUploadRequest) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableConanPackageUploadRequest(val *ConanPackageUploadRequest) *NullableConanPackageUploadRequest { + return &NullableConanPackageUploadRequest{value: val, isSet: true} +} + +func (v NullableConanPackageUploadRequest) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableConanPackageUploadRequest) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} diff --git a/model_conan_package_upload_response.go b/model_conan_package_upload_response.go new file mode 100644 index 00000000..6e0f9c20 --- /dev/null +++ b/model_conan_package_upload_response.go @@ -0,0 +1,2713 @@ +/* +Cloudsmith API (v1) + +The API to the Cloudsmith Service + +API version: 1.181.6 +Contact: support@cloudsmith.io +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cloudsmith + +import ( + "encoding/json" + "time" +) + +// ConanPackageUploadResponse struct for ConanPackageUploadResponse +type ConanPackageUploadResponse struct { + Architectures []Architecture `json:"architectures,omitempty"` + CdnUrl NullableString `json:"cdn_url,omitempty"` + ChecksumMd5 *string `json:"checksum_md5,omitempty"` + ChecksumSha1 *string `json:"checksum_sha1,omitempty"` + ChecksumSha256 *string `json:"checksum_sha256,omitempty"` + ChecksumSha512 *string `json:"checksum_sha512,omitempty"` + // Conan channel. + ConanChannel NullableString `json:"conan_channel,omitempty"` + // Conan prefix (User). + ConanPrefix NullableString `json:"conan_prefix,omitempty"` + // A checksum of all of the package's dependencies. + DependenciesChecksumMd5 *string `json:"dependencies_checksum_md5,omitempty"` + DependenciesUrl *string `json:"dependencies_url,omitempty"` + // A textual description of this package. + Description *string `json:"description,omitempty"` + Distro NullableDistribution `json:"distro,omitempty"` + DistroVersion *DistributionVersion `json:"distro_version,omitempty"` + Downloads *int64 `json:"downloads,omitempty"` + // The epoch of the package version (if any). + Epoch *int64 `json:"epoch,omitempty"` + Extension *string `json:"extension,omitempty"` + Filename *string `json:"filename,omitempty"` + Files []PackageFile `json:"files,omitempty"` + Format *string `json:"format,omitempty"` + FormatUrl *string `json:"format_url,omitempty"` + // Unique and permanent identifier for the package. + IdentifierPerm *string `json:"identifier_perm,omitempty"` + Indexed *bool `json:"indexed,omitempty"` + IsDownloadable *bool `json:"is_downloadable,omitempty"` + IsQuarantined *bool `json:"is_quarantined,omitempty"` + IsSyncAwaiting *bool `json:"is_sync_awaiting,omitempty"` + IsSyncCompleted *bool `json:"is_sync_completed,omitempty"` + IsSyncFailed *bool `json:"is_sync_failed,omitempty"` + IsSyncInFlight *bool `json:"is_sync_in_flight,omitempty"` + IsSyncInProgress *bool `json:"is_sync_in_progress,omitempty"` + // The license of this package. + License *string `json:"license,omitempty"` + // The name of this package. + Name NullableString `json:"name,omitempty"` + Namespace *string `json:"namespace,omitempty"` + NamespaceUrl *string `json:"namespace_url,omitempty"` + NumFiles *int64 `json:"num_files,omitempty"` + OriginRepository *string `json:"origin_repository,omitempty"` + OriginRepositoryUrl *string `json:"origin_repository_url,omitempty"` + // The type of package contents. + PackageType *int64 `json:"package_type,omitempty"` + // The release of the package version (if any). + Release *string `json:"release,omitempty"` + Repository *string `json:"repository,omitempty"` + RepositoryUrl *string `json:"repository_url,omitempty"` + // The datetime the security scanning was completed. + SecurityScanCompletedAt *time.Time `json:"security_scan_completed_at,omitempty"` + // The datetime the security scanning was started. + SecurityScanStartedAt *time.Time `json:"security_scan_started_at,omitempty"` + SecurityScanStatus NullableString `json:"security_scan_status,omitempty"` + // The datetime the security scanning status was updated. + SecurityScanStatusUpdatedAt *time.Time `json:"security_scan_status_updated_at,omitempty"` + SelfHtmlUrl *string `json:"self_html_url,omitempty"` + SelfUrl *string `json:"self_url,omitempty"` + SignatureUrl NullableString `json:"signature_url,omitempty"` + // The calculated size of the package. + Size *int64 `json:"size,omitempty"` + // The public unique identifier for the package. + Slug *string `json:"slug,omitempty"` + SlugPerm *string `json:"slug_perm,omitempty"` + // The synchronisation (in progress) stage of the package. + Stage *int64 `json:"stage,omitempty"` + StageStr *string `json:"stage_str,omitempty"` + // The datetime the package stage was updated at. + StageUpdatedAt *time.Time `json:"stage_updated_at,omitempty"` + // The synchronisation status of the package. + Status *int64 `json:"status,omitempty"` + // A textual description for the synchronous status reason (if any + StatusReason *string `json:"status_reason,omitempty"` + StatusStr *string `json:"status_str,omitempty"` + // The datetime the package status was updated at. + StatusUpdatedAt *time.Time `json:"status_updated_at,omitempty"` + StatusUrl *string `json:"status_url,omitempty"` + Subtype *string `json:"subtype,omitempty"` + // A one-liner synopsis of this package. + Summary *string `json:"summary,omitempty"` + // The datetime the package sync was finished at. + SyncFinishedAt *time.Time `json:"sync_finished_at,omitempty"` + // Synchronisation progress (from 0-100) + SyncProgress *int64 `json:"sync_progress,omitempty"` + // All tags on the package, grouped by tag type. This includes immutable tags, but doesn't distinguish them from mutable. To see which tags are immutable specifically, see the tags_immutable field. + TagsImmutable map[string]interface{} `json:"tags_immutable,omitempty"` + TypeDisplay *string `json:"type_display,omitempty"` + // The date this package was uploaded. + UploadedAt *time.Time `json:"uploaded_at,omitempty"` + Uploader *string `json:"uploader,omitempty"` + UploaderUrl *string `json:"uploader_url,omitempty"` + // The raw version for this package. + Version NullableString `json:"version,omitempty"` + VersionOrig *string `json:"version_orig,omitempty"` + VulnerabilityScanResultsUrl *string `json:"vulnerability_scan_results_url,omitempty"` +} + +// NewConanPackageUploadResponse instantiates a new ConanPackageUploadResponse object +// 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 NewConanPackageUploadResponse() *ConanPackageUploadResponse { + this := ConanPackageUploadResponse{} + return &this +} + +// NewConanPackageUploadResponseWithDefaults instantiates a new ConanPackageUploadResponse object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewConanPackageUploadResponseWithDefaults() *ConanPackageUploadResponse { + this := ConanPackageUploadResponse{} + return &this +} + +// GetArchitectures returns the Architectures field value if set, zero value otherwise. +func (o *ConanPackageUploadResponse) GetArchitectures() []Architecture { + if o == nil || isNil(o.Architectures) { + var ret []Architecture + return ret + } + return o.Architectures +} + +// GetArchitecturesOk returns a tuple with the Architectures field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *ConanPackageUploadResponse) GetArchitecturesOk() ([]Architecture, bool) { + if o == nil || isNil(o.Architectures) { + return nil, false + } + return o.Architectures, true +} + +// HasArchitectures returns a boolean if a field has been set. +func (o *ConanPackageUploadResponse) HasArchitectures() bool { + if o != nil && !isNil(o.Architectures) { + return true + } + + return false +} + +// SetArchitectures gets a reference to the given []Architecture and assigns it to the Architectures field. +func (o *ConanPackageUploadResponse) SetArchitectures(v []Architecture) { + o.Architectures = v +} + +// GetCdnUrl returns the CdnUrl field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *ConanPackageUploadResponse) GetCdnUrl() string { + if o == nil || isNil(o.CdnUrl.Get()) { + var ret string + return ret + } + return *o.CdnUrl.Get() +} + +// GetCdnUrlOk returns a tuple with the CdnUrl 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 *ConanPackageUploadResponse) GetCdnUrlOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.CdnUrl.Get(), o.CdnUrl.IsSet() +} + +// HasCdnUrl returns a boolean if a field has been set. +func (o *ConanPackageUploadResponse) HasCdnUrl() bool { + if o != nil && o.CdnUrl.IsSet() { + return true + } + + return false +} + +// SetCdnUrl gets a reference to the given NullableString and assigns it to the CdnUrl field. +func (o *ConanPackageUploadResponse) SetCdnUrl(v string) { + o.CdnUrl.Set(&v) +} + +// SetCdnUrlNil sets the value for CdnUrl to be an explicit nil +func (o *ConanPackageUploadResponse) SetCdnUrlNil() { + o.CdnUrl.Set(nil) +} + +// UnsetCdnUrl ensures that no value is present for CdnUrl, not even an explicit nil +func (o *ConanPackageUploadResponse) UnsetCdnUrl() { + o.CdnUrl.Unset() +} + +// GetChecksumMd5 returns the ChecksumMd5 field value if set, zero value otherwise. +func (o *ConanPackageUploadResponse) GetChecksumMd5() string { + if o == nil || isNil(o.ChecksumMd5) { + var ret string + return ret + } + return *o.ChecksumMd5 +} + +// GetChecksumMd5Ok returns a tuple with the ChecksumMd5 field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *ConanPackageUploadResponse) GetChecksumMd5Ok() (*string, bool) { + if o == nil || isNil(o.ChecksumMd5) { + return nil, false + } + return o.ChecksumMd5, true +} + +// HasChecksumMd5 returns a boolean if a field has been set. +func (o *ConanPackageUploadResponse) HasChecksumMd5() bool { + if o != nil && !isNil(o.ChecksumMd5) { + return true + } + + return false +} + +// SetChecksumMd5 gets a reference to the given string and assigns it to the ChecksumMd5 field. +func (o *ConanPackageUploadResponse) SetChecksumMd5(v string) { + o.ChecksumMd5 = &v +} + +// GetChecksumSha1 returns the ChecksumSha1 field value if set, zero value otherwise. +func (o *ConanPackageUploadResponse) GetChecksumSha1() string { + if o == nil || isNil(o.ChecksumSha1) { + var ret string + return ret + } + return *o.ChecksumSha1 +} + +// GetChecksumSha1Ok returns a tuple with the ChecksumSha1 field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *ConanPackageUploadResponse) GetChecksumSha1Ok() (*string, bool) { + if o == nil || isNil(o.ChecksumSha1) { + return nil, false + } + return o.ChecksumSha1, true +} + +// HasChecksumSha1 returns a boolean if a field has been set. +func (o *ConanPackageUploadResponse) HasChecksumSha1() bool { + if o != nil && !isNil(o.ChecksumSha1) { + return true + } + + return false +} + +// SetChecksumSha1 gets a reference to the given string and assigns it to the ChecksumSha1 field. +func (o *ConanPackageUploadResponse) SetChecksumSha1(v string) { + o.ChecksumSha1 = &v +} + +// GetChecksumSha256 returns the ChecksumSha256 field value if set, zero value otherwise. +func (o *ConanPackageUploadResponse) GetChecksumSha256() string { + if o == nil || isNil(o.ChecksumSha256) { + var ret string + return ret + } + return *o.ChecksumSha256 +} + +// GetChecksumSha256Ok returns a tuple with the ChecksumSha256 field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *ConanPackageUploadResponse) GetChecksumSha256Ok() (*string, bool) { + if o == nil || isNil(o.ChecksumSha256) { + return nil, false + } + return o.ChecksumSha256, true +} + +// HasChecksumSha256 returns a boolean if a field has been set. +func (o *ConanPackageUploadResponse) HasChecksumSha256() bool { + if o != nil && !isNil(o.ChecksumSha256) { + return true + } + + return false +} + +// SetChecksumSha256 gets a reference to the given string and assigns it to the ChecksumSha256 field. +func (o *ConanPackageUploadResponse) SetChecksumSha256(v string) { + o.ChecksumSha256 = &v +} + +// GetChecksumSha512 returns the ChecksumSha512 field value if set, zero value otherwise. +func (o *ConanPackageUploadResponse) GetChecksumSha512() string { + if o == nil || isNil(o.ChecksumSha512) { + var ret string + return ret + } + return *o.ChecksumSha512 +} + +// GetChecksumSha512Ok returns a tuple with the ChecksumSha512 field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *ConanPackageUploadResponse) GetChecksumSha512Ok() (*string, bool) { + if o == nil || isNil(o.ChecksumSha512) { + return nil, false + } + return o.ChecksumSha512, true +} + +// HasChecksumSha512 returns a boolean if a field has been set. +func (o *ConanPackageUploadResponse) HasChecksumSha512() bool { + if o != nil && !isNil(o.ChecksumSha512) { + return true + } + + return false +} + +// SetChecksumSha512 gets a reference to the given string and assigns it to the ChecksumSha512 field. +func (o *ConanPackageUploadResponse) SetChecksumSha512(v string) { + o.ChecksumSha512 = &v +} + +// GetConanChannel returns the ConanChannel field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *ConanPackageUploadResponse) GetConanChannel() string { + if o == nil || isNil(o.ConanChannel.Get()) { + var ret string + return ret + } + return *o.ConanChannel.Get() +} + +// GetConanChannelOk returns a tuple with the ConanChannel 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 *ConanPackageUploadResponse) GetConanChannelOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.ConanChannel.Get(), o.ConanChannel.IsSet() +} + +// HasConanChannel returns a boolean if a field has been set. +func (o *ConanPackageUploadResponse) HasConanChannel() bool { + if o != nil && o.ConanChannel.IsSet() { + return true + } + + return false +} + +// SetConanChannel gets a reference to the given NullableString and assigns it to the ConanChannel field. +func (o *ConanPackageUploadResponse) SetConanChannel(v string) { + o.ConanChannel.Set(&v) +} + +// SetConanChannelNil sets the value for ConanChannel to be an explicit nil +func (o *ConanPackageUploadResponse) SetConanChannelNil() { + o.ConanChannel.Set(nil) +} + +// UnsetConanChannel ensures that no value is present for ConanChannel, not even an explicit nil +func (o *ConanPackageUploadResponse) UnsetConanChannel() { + o.ConanChannel.Unset() +} + +// GetConanPrefix returns the ConanPrefix field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *ConanPackageUploadResponse) GetConanPrefix() string { + if o == nil || isNil(o.ConanPrefix.Get()) { + var ret string + return ret + } + return *o.ConanPrefix.Get() +} + +// GetConanPrefixOk returns a tuple with the ConanPrefix 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 *ConanPackageUploadResponse) GetConanPrefixOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.ConanPrefix.Get(), o.ConanPrefix.IsSet() +} + +// HasConanPrefix returns a boolean if a field has been set. +func (o *ConanPackageUploadResponse) HasConanPrefix() bool { + if o != nil && o.ConanPrefix.IsSet() { + return true + } + + return false +} + +// SetConanPrefix gets a reference to the given NullableString and assigns it to the ConanPrefix field. +func (o *ConanPackageUploadResponse) SetConanPrefix(v string) { + o.ConanPrefix.Set(&v) +} + +// SetConanPrefixNil sets the value for ConanPrefix to be an explicit nil +func (o *ConanPackageUploadResponse) SetConanPrefixNil() { + o.ConanPrefix.Set(nil) +} + +// UnsetConanPrefix ensures that no value is present for ConanPrefix, not even an explicit nil +func (o *ConanPackageUploadResponse) UnsetConanPrefix() { + o.ConanPrefix.Unset() +} + +// GetDependenciesChecksumMd5 returns the DependenciesChecksumMd5 field value if set, zero value otherwise. +func (o *ConanPackageUploadResponse) GetDependenciesChecksumMd5() string { + if o == nil || isNil(o.DependenciesChecksumMd5) { + var ret string + return ret + } + return *o.DependenciesChecksumMd5 +} + +// GetDependenciesChecksumMd5Ok returns a tuple with the DependenciesChecksumMd5 field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *ConanPackageUploadResponse) GetDependenciesChecksumMd5Ok() (*string, bool) { + if o == nil || isNil(o.DependenciesChecksumMd5) { + return nil, false + } + return o.DependenciesChecksumMd5, true +} + +// HasDependenciesChecksumMd5 returns a boolean if a field has been set. +func (o *ConanPackageUploadResponse) HasDependenciesChecksumMd5() bool { + if o != nil && !isNil(o.DependenciesChecksumMd5) { + return true + } + + return false +} + +// SetDependenciesChecksumMd5 gets a reference to the given string and assigns it to the DependenciesChecksumMd5 field. +func (o *ConanPackageUploadResponse) SetDependenciesChecksumMd5(v string) { + o.DependenciesChecksumMd5 = &v +} + +// GetDependenciesUrl returns the DependenciesUrl field value if set, zero value otherwise. +func (o *ConanPackageUploadResponse) GetDependenciesUrl() string { + if o == nil || isNil(o.DependenciesUrl) { + var ret string + return ret + } + return *o.DependenciesUrl +} + +// GetDependenciesUrlOk returns a tuple with the DependenciesUrl field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *ConanPackageUploadResponse) GetDependenciesUrlOk() (*string, bool) { + if o == nil || isNil(o.DependenciesUrl) { + return nil, false + } + return o.DependenciesUrl, true +} + +// HasDependenciesUrl returns a boolean if a field has been set. +func (o *ConanPackageUploadResponse) HasDependenciesUrl() bool { + if o != nil && !isNil(o.DependenciesUrl) { + return true + } + + return false +} + +// SetDependenciesUrl gets a reference to the given string and assigns it to the DependenciesUrl field. +func (o *ConanPackageUploadResponse) SetDependenciesUrl(v string) { + o.DependenciesUrl = &v +} + +// GetDescription returns the Description field value if set, zero value otherwise. +func (o *ConanPackageUploadResponse) GetDescription() string { + if o == nil || isNil(o.Description) { + var ret string + return ret + } + return *o.Description +} + +// GetDescriptionOk returns a tuple with the Description field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *ConanPackageUploadResponse) GetDescriptionOk() (*string, bool) { + if o == nil || isNil(o.Description) { + return nil, false + } + return o.Description, true +} + +// HasDescription returns a boolean if a field has been set. +func (o *ConanPackageUploadResponse) HasDescription() bool { + if o != nil && !isNil(o.Description) { + return true + } + + return false +} + +// SetDescription gets a reference to the given string and assigns it to the Description field. +func (o *ConanPackageUploadResponse) SetDescription(v string) { + o.Description = &v +} + +// GetDistro returns the Distro field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *ConanPackageUploadResponse) GetDistro() Distribution { + if o == nil || isNil(o.Distro.Get()) { + var ret Distribution + return ret + } + return *o.Distro.Get() +} + +// GetDistroOk returns a tuple with the Distro 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 *ConanPackageUploadResponse) GetDistroOk() (*Distribution, bool) { + if o == nil { + return nil, false + } + return o.Distro.Get(), o.Distro.IsSet() +} + +// HasDistro returns a boolean if a field has been set. +func (o *ConanPackageUploadResponse) HasDistro() bool { + if o != nil && o.Distro.IsSet() { + return true + } + + return false +} + +// SetDistro gets a reference to the given NullableDistribution and assigns it to the Distro field. +func (o *ConanPackageUploadResponse) SetDistro(v Distribution) { + o.Distro.Set(&v) +} + +// SetDistroNil sets the value for Distro to be an explicit nil +func (o *ConanPackageUploadResponse) SetDistroNil() { + o.Distro.Set(nil) +} + +// UnsetDistro ensures that no value is present for Distro, not even an explicit nil +func (o *ConanPackageUploadResponse) UnsetDistro() { + o.Distro.Unset() +} + +// GetDistroVersion returns the DistroVersion field value if set, zero value otherwise. +func (o *ConanPackageUploadResponse) GetDistroVersion() DistributionVersion { + if o == nil || isNil(o.DistroVersion) { + var ret DistributionVersion + return ret + } + return *o.DistroVersion +} + +// GetDistroVersionOk returns a tuple with the DistroVersion field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *ConanPackageUploadResponse) GetDistroVersionOk() (*DistributionVersion, bool) { + if o == nil || isNil(o.DistroVersion) { + return nil, false + } + return o.DistroVersion, true +} + +// HasDistroVersion returns a boolean if a field has been set. +func (o *ConanPackageUploadResponse) HasDistroVersion() bool { + if o != nil && !isNil(o.DistroVersion) { + return true + } + + return false +} + +// SetDistroVersion gets a reference to the given DistributionVersion and assigns it to the DistroVersion field. +func (o *ConanPackageUploadResponse) SetDistroVersion(v DistributionVersion) { + o.DistroVersion = &v +} + +// GetDownloads returns the Downloads field value if set, zero value otherwise. +func (o *ConanPackageUploadResponse) GetDownloads() int64 { + if o == nil || isNil(o.Downloads) { + var ret int64 + return ret + } + return *o.Downloads +} + +// GetDownloadsOk returns a tuple with the Downloads field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *ConanPackageUploadResponse) GetDownloadsOk() (*int64, bool) { + if o == nil || isNil(o.Downloads) { + return nil, false + } + return o.Downloads, true +} + +// HasDownloads returns a boolean if a field has been set. +func (o *ConanPackageUploadResponse) HasDownloads() bool { + if o != nil && !isNil(o.Downloads) { + return true + } + + return false +} + +// SetDownloads gets a reference to the given int64 and assigns it to the Downloads field. +func (o *ConanPackageUploadResponse) SetDownloads(v int64) { + o.Downloads = &v +} + +// GetEpoch returns the Epoch field value if set, zero value otherwise. +func (o *ConanPackageUploadResponse) GetEpoch() int64 { + if o == nil || isNil(o.Epoch) { + var ret int64 + return ret + } + return *o.Epoch +} + +// GetEpochOk returns a tuple with the Epoch field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *ConanPackageUploadResponse) GetEpochOk() (*int64, bool) { + if o == nil || isNil(o.Epoch) { + return nil, false + } + return o.Epoch, true +} + +// HasEpoch returns a boolean if a field has been set. +func (o *ConanPackageUploadResponse) HasEpoch() bool { + if o != nil && !isNil(o.Epoch) { + return true + } + + return false +} + +// SetEpoch gets a reference to the given int64 and assigns it to the Epoch field. +func (o *ConanPackageUploadResponse) SetEpoch(v int64) { + o.Epoch = &v +} + +// GetExtension returns the Extension field value if set, zero value otherwise. +func (o *ConanPackageUploadResponse) GetExtension() string { + if o == nil || isNil(o.Extension) { + var ret string + return ret + } + return *o.Extension +} + +// GetExtensionOk returns a tuple with the Extension field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *ConanPackageUploadResponse) GetExtensionOk() (*string, bool) { + if o == nil || isNil(o.Extension) { + return nil, false + } + return o.Extension, true +} + +// HasExtension returns a boolean if a field has been set. +func (o *ConanPackageUploadResponse) HasExtension() bool { + if o != nil && !isNil(o.Extension) { + return true + } + + return false +} + +// SetExtension gets a reference to the given string and assigns it to the Extension field. +func (o *ConanPackageUploadResponse) SetExtension(v string) { + o.Extension = &v +} + +// GetFilename returns the Filename field value if set, zero value otherwise. +func (o *ConanPackageUploadResponse) GetFilename() string { + if o == nil || isNil(o.Filename) { + var ret string + return ret + } + return *o.Filename +} + +// GetFilenameOk returns a tuple with the Filename field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *ConanPackageUploadResponse) GetFilenameOk() (*string, bool) { + if o == nil || isNil(o.Filename) { + return nil, false + } + return o.Filename, true +} + +// HasFilename returns a boolean if a field has been set. +func (o *ConanPackageUploadResponse) HasFilename() bool { + if o != nil && !isNil(o.Filename) { + return true + } + + return false +} + +// SetFilename gets a reference to the given string and assigns it to the Filename field. +func (o *ConanPackageUploadResponse) SetFilename(v string) { + o.Filename = &v +} + +// GetFiles returns the Files field value if set, zero value otherwise. +func (o *ConanPackageUploadResponse) GetFiles() []PackageFile { + if o == nil || isNil(o.Files) { + var ret []PackageFile + return ret + } + return o.Files +} + +// GetFilesOk returns a tuple with the Files field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *ConanPackageUploadResponse) GetFilesOk() ([]PackageFile, bool) { + if o == nil || isNil(o.Files) { + return nil, false + } + return o.Files, true +} + +// HasFiles returns a boolean if a field has been set. +func (o *ConanPackageUploadResponse) HasFiles() bool { + if o != nil && !isNil(o.Files) { + return true + } + + return false +} + +// SetFiles gets a reference to the given []PackageFile and assigns it to the Files field. +func (o *ConanPackageUploadResponse) SetFiles(v []PackageFile) { + o.Files = v +} + +// GetFormat returns the Format field value if set, zero value otherwise. +func (o *ConanPackageUploadResponse) GetFormat() string { + if o == nil || isNil(o.Format) { + var ret string + return ret + } + return *o.Format +} + +// GetFormatOk returns a tuple with the Format field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *ConanPackageUploadResponse) GetFormatOk() (*string, bool) { + if o == nil || isNil(o.Format) { + return nil, false + } + return o.Format, true +} + +// HasFormat returns a boolean if a field has been set. +func (o *ConanPackageUploadResponse) HasFormat() bool { + if o != nil && !isNil(o.Format) { + return true + } + + return false +} + +// SetFormat gets a reference to the given string and assigns it to the Format field. +func (o *ConanPackageUploadResponse) SetFormat(v string) { + o.Format = &v +} + +// GetFormatUrl returns the FormatUrl field value if set, zero value otherwise. +func (o *ConanPackageUploadResponse) GetFormatUrl() string { + if o == nil || isNil(o.FormatUrl) { + var ret string + return ret + } + return *o.FormatUrl +} + +// GetFormatUrlOk returns a tuple with the FormatUrl field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *ConanPackageUploadResponse) GetFormatUrlOk() (*string, bool) { + if o == nil || isNil(o.FormatUrl) { + return nil, false + } + return o.FormatUrl, true +} + +// HasFormatUrl returns a boolean if a field has been set. +func (o *ConanPackageUploadResponse) HasFormatUrl() bool { + if o != nil && !isNil(o.FormatUrl) { + return true + } + + return false +} + +// SetFormatUrl gets a reference to the given string and assigns it to the FormatUrl field. +func (o *ConanPackageUploadResponse) SetFormatUrl(v string) { + o.FormatUrl = &v +} + +// GetIdentifierPerm returns the IdentifierPerm field value if set, zero value otherwise. +func (o *ConanPackageUploadResponse) GetIdentifierPerm() string { + if o == nil || isNil(o.IdentifierPerm) { + var ret string + return ret + } + return *o.IdentifierPerm +} + +// GetIdentifierPermOk returns a tuple with the IdentifierPerm field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *ConanPackageUploadResponse) GetIdentifierPermOk() (*string, bool) { + if o == nil || isNil(o.IdentifierPerm) { + return nil, false + } + return o.IdentifierPerm, true +} + +// HasIdentifierPerm returns a boolean if a field has been set. +func (o *ConanPackageUploadResponse) HasIdentifierPerm() bool { + if o != nil && !isNil(o.IdentifierPerm) { + return true + } + + return false +} + +// SetIdentifierPerm gets a reference to the given string and assigns it to the IdentifierPerm field. +func (o *ConanPackageUploadResponse) SetIdentifierPerm(v string) { + o.IdentifierPerm = &v +} + +// GetIndexed returns the Indexed field value if set, zero value otherwise. +func (o *ConanPackageUploadResponse) GetIndexed() bool { + if o == nil || isNil(o.Indexed) { + var ret bool + return ret + } + return *o.Indexed +} + +// GetIndexedOk returns a tuple with the Indexed field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *ConanPackageUploadResponse) GetIndexedOk() (*bool, bool) { + if o == nil || isNil(o.Indexed) { + return nil, false + } + return o.Indexed, true +} + +// HasIndexed returns a boolean if a field has been set. +func (o *ConanPackageUploadResponse) HasIndexed() bool { + if o != nil && !isNil(o.Indexed) { + return true + } + + return false +} + +// SetIndexed gets a reference to the given bool and assigns it to the Indexed field. +func (o *ConanPackageUploadResponse) SetIndexed(v bool) { + o.Indexed = &v +} + +// GetIsDownloadable returns the IsDownloadable field value if set, zero value otherwise. +func (o *ConanPackageUploadResponse) GetIsDownloadable() bool { + if o == nil || isNil(o.IsDownloadable) { + var ret bool + return ret + } + return *o.IsDownloadable +} + +// GetIsDownloadableOk returns a tuple with the IsDownloadable field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *ConanPackageUploadResponse) GetIsDownloadableOk() (*bool, bool) { + if o == nil || isNil(o.IsDownloadable) { + return nil, false + } + return o.IsDownloadable, true +} + +// HasIsDownloadable returns a boolean if a field has been set. +func (o *ConanPackageUploadResponse) HasIsDownloadable() bool { + if o != nil && !isNil(o.IsDownloadable) { + return true + } + + return false +} + +// SetIsDownloadable gets a reference to the given bool and assigns it to the IsDownloadable field. +func (o *ConanPackageUploadResponse) SetIsDownloadable(v bool) { + o.IsDownloadable = &v +} + +// GetIsQuarantined returns the IsQuarantined field value if set, zero value otherwise. +func (o *ConanPackageUploadResponse) GetIsQuarantined() bool { + if o == nil || isNil(o.IsQuarantined) { + var ret bool + return ret + } + return *o.IsQuarantined +} + +// GetIsQuarantinedOk returns a tuple with the IsQuarantined field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *ConanPackageUploadResponse) GetIsQuarantinedOk() (*bool, bool) { + if o == nil || isNil(o.IsQuarantined) { + return nil, false + } + return o.IsQuarantined, true +} + +// HasIsQuarantined returns a boolean if a field has been set. +func (o *ConanPackageUploadResponse) HasIsQuarantined() bool { + if o != nil && !isNil(o.IsQuarantined) { + return true + } + + return false +} + +// SetIsQuarantined gets a reference to the given bool and assigns it to the IsQuarantined field. +func (o *ConanPackageUploadResponse) SetIsQuarantined(v bool) { + o.IsQuarantined = &v +} + +// GetIsSyncAwaiting returns the IsSyncAwaiting field value if set, zero value otherwise. +func (o *ConanPackageUploadResponse) GetIsSyncAwaiting() bool { + if o == nil || isNil(o.IsSyncAwaiting) { + var ret bool + return ret + } + return *o.IsSyncAwaiting +} + +// GetIsSyncAwaitingOk returns a tuple with the IsSyncAwaiting field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *ConanPackageUploadResponse) GetIsSyncAwaitingOk() (*bool, bool) { + if o == nil || isNil(o.IsSyncAwaiting) { + return nil, false + } + return o.IsSyncAwaiting, true +} + +// HasIsSyncAwaiting returns a boolean if a field has been set. +func (o *ConanPackageUploadResponse) HasIsSyncAwaiting() bool { + if o != nil && !isNil(o.IsSyncAwaiting) { + return true + } + + return false +} + +// SetIsSyncAwaiting gets a reference to the given bool and assigns it to the IsSyncAwaiting field. +func (o *ConanPackageUploadResponse) SetIsSyncAwaiting(v bool) { + o.IsSyncAwaiting = &v +} + +// GetIsSyncCompleted returns the IsSyncCompleted field value if set, zero value otherwise. +func (o *ConanPackageUploadResponse) GetIsSyncCompleted() bool { + if o == nil || isNil(o.IsSyncCompleted) { + var ret bool + return ret + } + return *o.IsSyncCompleted +} + +// GetIsSyncCompletedOk returns a tuple with the IsSyncCompleted field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *ConanPackageUploadResponse) GetIsSyncCompletedOk() (*bool, bool) { + if o == nil || isNil(o.IsSyncCompleted) { + return nil, false + } + return o.IsSyncCompleted, true +} + +// HasIsSyncCompleted returns a boolean if a field has been set. +func (o *ConanPackageUploadResponse) HasIsSyncCompleted() bool { + if o != nil && !isNil(o.IsSyncCompleted) { + return true + } + + return false +} + +// SetIsSyncCompleted gets a reference to the given bool and assigns it to the IsSyncCompleted field. +func (o *ConanPackageUploadResponse) SetIsSyncCompleted(v bool) { + o.IsSyncCompleted = &v +} + +// GetIsSyncFailed returns the IsSyncFailed field value if set, zero value otherwise. +func (o *ConanPackageUploadResponse) GetIsSyncFailed() bool { + if o == nil || isNil(o.IsSyncFailed) { + var ret bool + return ret + } + return *o.IsSyncFailed +} + +// GetIsSyncFailedOk returns a tuple with the IsSyncFailed field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *ConanPackageUploadResponse) GetIsSyncFailedOk() (*bool, bool) { + if o == nil || isNil(o.IsSyncFailed) { + return nil, false + } + return o.IsSyncFailed, true +} + +// HasIsSyncFailed returns a boolean if a field has been set. +func (o *ConanPackageUploadResponse) HasIsSyncFailed() bool { + if o != nil && !isNil(o.IsSyncFailed) { + return true + } + + return false +} + +// SetIsSyncFailed gets a reference to the given bool and assigns it to the IsSyncFailed field. +func (o *ConanPackageUploadResponse) SetIsSyncFailed(v bool) { + o.IsSyncFailed = &v +} + +// GetIsSyncInFlight returns the IsSyncInFlight field value if set, zero value otherwise. +func (o *ConanPackageUploadResponse) GetIsSyncInFlight() bool { + if o == nil || isNil(o.IsSyncInFlight) { + var ret bool + return ret + } + return *o.IsSyncInFlight +} + +// GetIsSyncInFlightOk returns a tuple with the IsSyncInFlight field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *ConanPackageUploadResponse) GetIsSyncInFlightOk() (*bool, bool) { + if o == nil || isNil(o.IsSyncInFlight) { + return nil, false + } + return o.IsSyncInFlight, true +} + +// HasIsSyncInFlight returns a boolean if a field has been set. +func (o *ConanPackageUploadResponse) HasIsSyncInFlight() bool { + if o != nil && !isNil(o.IsSyncInFlight) { + return true + } + + return false +} + +// SetIsSyncInFlight gets a reference to the given bool and assigns it to the IsSyncInFlight field. +func (o *ConanPackageUploadResponse) SetIsSyncInFlight(v bool) { + o.IsSyncInFlight = &v +} + +// GetIsSyncInProgress returns the IsSyncInProgress field value if set, zero value otherwise. +func (o *ConanPackageUploadResponse) GetIsSyncInProgress() bool { + if o == nil || isNil(o.IsSyncInProgress) { + var ret bool + return ret + } + return *o.IsSyncInProgress +} + +// GetIsSyncInProgressOk returns a tuple with the IsSyncInProgress field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *ConanPackageUploadResponse) GetIsSyncInProgressOk() (*bool, bool) { + if o == nil || isNil(o.IsSyncInProgress) { + return nil, false + } + return o.IsSyncInProgress, true +} + +// HasIsSyncInProgress returns a boolean if a field has been set. +func (o *ConanPackageUploadResponse) HasIsSyncInProgress() bool { + if o != nil && !isNil(o.IsSyncInProgress) { + return true + } + + return false +} + +// SetIsSyncInProgress gets a reference to the given bool and assigns it to the IsSyncInProgress field. +func (o *ConanPackageUploadResponse) SetIsSyncInProgress(v bool) { + o.IsSyncInProgress = &v +} + +// GetLicense returns the License field value if set, zero value otherwise. +func (o *ConanPackageUploadResponse) GetLicense() string { + if o == nil || isNil(o.License) { + var ret string + return ret + } + return *o.License +} + +// GetLicenseOk returns a tuple with the License field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *ConanPackageUploadResponse) GetLicenseOk() (*string, bool) { + if o == nil || isNil(o.License) { + return nil, false + } + return o.License, true +} + +// HasLicense returns a boolean if a field has been set. +func (o *ConanPackageUploadResponse) HasLicense() bool { + if o != nil && !isNil(o.License) { + return true + } + + return false +} + +// SetLicense gets a reference to the given string and assigns it to the License field. +func (o *ConanPackageUploadResponse) SetLicense(v string) { + o.License = &v +} + +// GetName returns the Name field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *ConanPackageUploadResponse) GetName() string { + if o == nil || isNil(o.Name.Get()) { + var ret string + return ret + } + return *o.Name.Get() +} + +// GetNameOk returns a tuple with the Name field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *ConanPackageUploadResponse) GetNameOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.Name.Get(), o.Name.IsSet() +} + +// HasName returns a boolean if a field has been set. +func (o *ConanPackageUploadResponse) HasName() bool { + if o != nil && o.Name.IsSet() { + return true + } + + return false +} + +// SetName gets a reference to the given NullableString and assigns it to the Name field. +func (o *ConanPackageUploadResponse) SetName(v string) { + o.Name.Set(&v) +} + +// SetNameNil sets the value for Name to be an explicit nil +func (o *ConanPackageUploadResponse) SetNameNil() { + o.Name.Set(nil) +} + +// UnsetName ensures that no value is present for Name, not even an explicit nil +func (o *ConanPackageUploadResponse) UnsetName() { + o.Name.Unset() +} + +// GetNamespace returns the Namespace field value if set, zero value otherwise. +func (o *ConanPackageUploadResponse) GetNamespace() string { + if o == nil || isNil(o.Namespace) { + var ret string + return ret + } + return *o.Namespace +} + +// GetNamespaceOk returns a tuple with the Namespace field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *ConanPackageUploadResponse) GetNamespaceOk() (*string, bool) { + if o == nil || isNil(o.Namespace) { + return nil, false + } + return o.Namespace, true +} + +// HasNamespace returns a boolean if a field has been set. +func (o *ConanPackageUploadResponse) HasNamespace() bool { + if o != nil && !isNil(o.Namespace) { + return true + } + + return false +} + +// SetNamespace gets a reference to the given string and assigns it to the Namespace field. +func (o *ConanPackageUploadResponse) SetNamespace(v string) { + o.Namespace = &v +} + +// GetNamespaceUrl returns the NamespaceUrl field value if set, zero value otherwise. +func (o *ConanPackageUploadResponse) GetNamespaceUrl() string { + if o == nil || isNil(o.NamespaceUrl) { + var ret string + return ret + } + return *o.NamespaceUrl +} + +// GetNamespaceUrlOk returns a tuple with the NamespaceUrl field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *ConanPackageUploadResponse) GetNamespaceUrlOk() (*string, bool) { + if o == nil || isNil(o.NamespaceUrl) { + return nil, false + } + return o.NamespaceUrl, true +} + +// HasNamespaceUrl returns a boolean if a field has been set. +func (o *ConanPackageUploadResponse) HasNamespaceUrl() bool { + if o != nil && !isNil(o.NamespaceUrl) { + return true + } + + return false +} + +// SetNamespaceUrl gets a reference to the given string and assigns it to the NamespaceUrl field. +func (o *ConanPackageUploadResponse) SetNamespaceUrl(v string) { + o.NamespaceUrl = &v +} + +// GetNumFiles returns the NumFiles field value if set, zero value otherwise. +func (o *ConanPackageUploadResponse) GetNumFiles() int64 { + if o == nil || isNil(o.NumFiles) { + var ret int64 + return ret + } + return *o.NumFiles +} + +// GetNumFilesOk returns a tuple with the NumFiles field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *ConanPackageUploadResponse) GetNumFilesOk() (*int64, bool) { + if o == nil || isNil(o.NumFiles) { + return nil, false + } + return o.NumFiles, true +} + +// HasNumFiles returns a boolean if a field has been set. +func (o *ConanPackageUploadResponse) HasNumFiles() bool { + if o != nil && !isNil(o.NumFiles) { + return true + } + + return false +} + +// SetNumFiles gets a reference to the given int64 and assigns it to the NumFiles field. +func (o *ConanPackageUploadResponse) SetNumFiles(v int64) { + o.NumFiles = &v +} + +// GetOriginRepository returns the OriginRepository field value if set, zero value otherwise. +func (o *ConanPackageUploadResponse) GetOriginRepository() string { + if o == nil || isNil(o.OriginRepository) { + var ret string + return ret + } + return *o.OriginRepository +} + +// GetOriginRepositoryOk returns a tuple with the OriginRepository field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *ConanPackageUploadResponse) GetOriginRepositoryOk() (*string, bool) { + if o == nil || isNil(o.OriginRepository) { + return nil, false + } + return o.OriginRepository, true +} + +// HasOriginRepository returns a boolean if a field has been set. +func (o *ConanPackageUploadResponse) HasOriginRepository() bool { + if o != nil && !isNil(o.OriginRepository) { + return true + } + + return false +} + +// SetOriginRepository gets a reference to the given string and assigns it to the OriginRepository field. +func (o *ConanPackageUploadResponse) SetOriginRepository(v string) { + o.OriginRepository = &v +} + +// GetOriginRepositoryUrl returns the OriginRepositoryUrl field value if set, zero value otherwise. +func (o *ConanPackageUploadResponse) GetOriginRepositoryUrl() string { + if o == nil || isNil(o.OriginRepositoryUrl) { + var ret string + return ret + } + return *o.OriginRepositoryUrl +} + +// GetOriginRepositoryUrlOk returns a tuple with the OriginRepositoryUrl field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *ConanPackageUploadResponse) GetOriginRepositoryUrlOk() (*string, bool) { + if o == nil || isNil(o.OriginRepositoryUrl) { + return nil, false + } + return o.OriginRepositoryUrl, true +} + +// HasOriginRepositoryUrl returns a boolean if a field has been set. +func (o *ConanPackageUploadResponse) HasOriginRepositoryUrl() bool { + if o != nil && !isNil(o.OriginRepositoryUrl) { + return true + } + + return false +} + +// SetOriginRepositoryUrl gets a reference to the given string and assigns it to the OriginRepositoryUrl field. +func (o *ConanPackageUploadResponse) SetOriginRepositoryUrl(v string) { + o.OriginRepositoryUrl = &v +} + +// GetPackageType returns the PackageType field value if set, zero value otherwise. +func (o *ConanPackageUploadResponse) GetPackageType() int64 { + if o == nil || isNil(o.PackageType) { + var ret int64 + return ret + } + return *o.PackageType +} + +// GetPackageTypeOk returns a tuple with the PackageType field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *ConanPackageUploadResponse) GetPackageTypeOk() (*int64, bool) { + if o == nil || isNil(o.PackageType) { + return nil, false + } + return o.PackageType, true +} + +// HasPackageType returns a boolean if a field has been set. +func (o *ConanPackageUploadResponse) HasPackageType() bool { + if o != nil && !isNil(o.PackageType) { + return true + } + + return false +} + +// SetPackageType gets a reference to the given int64 and assigns it to the PackageType field. +func (o *ConanPackageUploadResponse) SetPackageType(v int64) { + o.PackageType = &v +} + +// GetRelease returns the Release field value if set, zero value otherwise. +func (o *ConanPackageUploadResponse) GetRelease() string { + if o == nil || isNil(o.Release) { + var ret string + return ret + } + return *o.Release +} + +// GetReleaseOk returns a tuple with the Release field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *ConanPackageUploadResponse) GetReleaseOk() (*string, bool) { + if o == nil || isNil(o.Release) { + return nil, false + } + return o.Release, true +} + +// HasRelease returns a boolean if a field has been set. +func (o *ConanPackageUploadResponse) HasRelease() bool { + if o != nil && !isNil(o.Release) { + return true + } + + return false +} + +// SetRelease gets a reference to the given string and assigns it to the Release field. +func (o *ConanPackageUploadResponse) SetRelease(v string) { + o.Release = &v +} + +// GetRepository returns the Repository field value if set, zero value otherwise. +func (o *ConanPackageUploadResponse) GetRepository() string { + if o == nil || isNil(o.Repository) { + var ret string + return ret + } + return *o.Repository +} + +// GetRepositoryOk returns a tuple with the Repository field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *ConanPackageUploadResponse) GetRepositoryOk() (*string, bool) { + if o == nil || isNil(o.Repository) { + return nil, false + } + return o.Repository, true +} + +// HasRepository returns a boolean if a field has been set. +func (o *ConanPackageUploadResponse) HasRepository() bool { + if o != nil && !isNil(o.Repository) { + return true + } + + return false +} + +// SetRepository gets a reference to the given string and assigns it to the Repository field. +func (o *ConanPackageUploadResponse) SetRepository(v string) { + o.Repository = &v +} + +// GetRepositoryUrl returns the RepositoryUrl field value if set, zero value otherwise. +func (o *ConanPackageUploadResponse) GetRepositoryUrl() string { + if o == nil || isNil(o.RepositoryUrl) { + var ret string + return ret + } + return *o.RepositoryUrl +} + +// GetRepositoryUrlOk returns a tuple with the RepositoryUrl field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *ConanPackageUploadResponse) GetRepositoryUrlOk() (*string, bool) { + if o == nil || isNil(o.RepositoryUrl) { + return nil, false + } + return o.RepositoryUrl, true +} + +// HasRepositoryUrl returns a boolean if a field has been set. +func (o *ConanPackageUploadResponse) HasRepositoryUrl() bool { + if o != nil && !isNil(o.RepositoryUrl) { + return true + } + + return false +} + +// SetRepositoryUrl gets a reference to the given string and assigns it to the RepositoryUrl field. +func (o *ConanPackageUploadResponse) SetRepositoryUrl(v string) { + o.RepositoryUrl = &v +} + +// GetSecurityScanCompletedAt returns the SecurityScanCompletedAt field value if set, zero value otherwise. +func (o *ConanPackageUploadResponse) GetSecurityScanCompletedAt() time.Time { + if o == nil || isNil(o.SecurityScanCompletedAt) { + var ret time.Time + return ret + } + return *o.SecurityScanCompletedAt +} + +// GetSecurityScanCompletedAtOk returns a tuple with the SecurityScanCompletedAt field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *ConanPackageUploadResponse) GetSecurityScanCompletedAtOk() (*time.Time, bool) { + if o == nil || isNil(o.SecurityScanCompletedAt) { + return nil, false + } + return o.SecurityScanCompletedAt, true +} + +// HasSecurityScanCompletedAt returns a boolean if a field has been set. +func (o *ConanPackageUploadResponse) HasSecurityScanCompletedAt() bool { + if o != nil && !isNil(o.SecurityScanCompletedAt) { + return true + } + + return false +} + +// SetSecurityScanCompletedAt gets a reference to the given time.Time and assigns it to the SecurityScanCompletedAt field. +func (o *ConanPackageUploadResponse) SetSecurityScanCompletedAt(v time.Time) { + o.SecurityScanCompletedAt = &v +} + +// GetSecurityScanStartedAt returns the SecurityScanStartedAt field value if set, zero value otherwise. +func (o *ConanPackageUploadResponse) GetSecurityScanStartedAt() time.Time { + if o == nil || isNil(o.SecurityScanStartedAt) { + var ret time.Time + return ret + } + return *o.SecurityScanStartedAt +} + +// GetSecurityScanStartedAtOk returns a tuple with the SecurityScanStartedAt field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *ConanPackageUploadResponse) GetSecurityScanStartedAtOk() (*time.Time, bool) { + if o == nil || isNil(o.SecurityScanStartedAt) { + return nil, false + } + return o.SecurityScanStartedAt, true +} + +// HasSecurityScanStartedAt returns a boolean if a field has been set. +func (o *ConanPackageUploadResponse) HasSecurityScanStartedAt() bool { + if o != nil && !isNil(o.SecurityScanStartedAt) { + return true + } + + return false +} + +// SetSecurityScanStartedAt gets a reference to the given time.Time and assigns it to the SecurityScanStartedAt field. +func (o *ConanPackageUploadResponse) SetSecurityScanStartedAt(v time.Time) { + o.SecurityScanStartedAt = &v +} + +// GetSecurityScanStatus returns the SecurityScanStatus field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *ConanPackageUploadResponse) GetSecurityScanStatus() string { + if o == nil || isNil(o.SecurityScanStatus.Get()) { + var ret string + return ret + } + return *o.SecurityScanStatus.Get() +} + +// GetSecurityScanStatusOk returns a tuple with the SecurityScanStatus 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 *ConanPackageUploadResponse) GetSecurityScanStatusOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.SecurityScanStatus.Get(), o.SecurityScanStatus.IsSet() +} + +// HasSecurityScanStatus returns a boolean if a field has been set. +func (o *ConanPackageUploadResponse) HasSecurityScanStatus() bool { + if o != nil && o.SecurityScanStatus.IsSet() { + return true + } + + return false +} + +// SetSecurityScanStatus gets a reference to the given NullableString and assigns it to the SecurityScanStatus field. +func (o *ConanPackageUploadResponse) SetSecurityScanStatus(v string) { + o.SecurityScanStatus.Set(&v) +} + +// SetSecurityScanStatusNil sets the value for SecurityScanStatus to be an explicit nil +func (o *ConanPackageUploadResponse) SetSecurityScanStatusNil() { + o.SecurityScanStatus.Set(nil) +} + +// UnsetSecurityScanStatus ensures that no value is present for SecurityScanStatus, not even an explicit nil +func (o *ConanPackageUploadResponse) UnsetSecurityScanStatus() { + o.SecurityScanStatus.Unset() +} + +// GetSecurityScanStatusUpdatedAt returns the SecurityScanStatusUpdatedAt field value if set, zero value otherwise. +func (o *ConanPackageUploadResponse) GetSecurityScanStatusUpdatedAt() time.Time { + if o == nil || isNil(o.SecurityScanStatusUpdatedAt) { + var ret time.Time + return ret + } + return *o.SecurityScanStatusUpdatedAt +} + +// GetSecurityScanStatusUpdatedAtOk returns a tuple with the SecurityScanStatusUpdatedAt field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *ConanPackageUploadResponse) GetSecurityScanStatusUpdatedAtOk() (*time.Time, bool) { + if o == nil || isNil(o.SecurityScanStatusUpdatedAt) { + return nil, false + } + return o.SecurityScanStatusUpdatedAt, true +} + +// HasSecurityScanStatusUpdatedAt returns a boolean if a field has been set. +func (o *ConanPackageUploadResponse) HasSecurityScanStatusUpdatedAt() bool { + if o != nil && !isNil(o.SecurityScanStatusUpdatedAt) { + return true + } + + return false +} + +// SetSecurityScanStatusUpdatedAt gets a reference to the given time.Time and assigns it to the SecurityScanStatusUpdatedAt field. +func (o *ConanPackageUploadResponse) SetSecurityScanStatusUpdatedAt(v time.Time) { + o.SecurityScanStatusUpdatedAt = &v +} + +// GetSelfHtmlUrl returns the SelfHtmlUrl field value if set, zero value otherwise. +func (o *ConanPackageUploadResponse) GetSelfHtmlUrl() string { + if o == nil || isNil(o.SelfHtmlUrl) { + var ret string + return ret + } + return *o.SelfHtmlUrl +} + +// GetSelfHtmlUrlOk returns a tuple with the SelfHtmlUrl field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *ConanPackageUploadResponse) GetSelfHtmlUrlOk() (*string, bool) { + if o == nil || isNil(o.SelfHtmlUrl) { + return nil, false + } + return o.SelfHtmlUrl, true +} + +// HasSelfHtmlUrl returns a boolean if a field has been set. +func (o *ConanPackageUploadResponse) HasSelfHtmlUrl() bool { + if o != nil && !isNil(o.SelfHtmlUrl) { + return true + } + + return false +} + +// SetSelfHtmlUrl gets a reference to the given string and assigns it to the SelfHtmlUrl field. +func (o *ConanPackageUploadResponse) SetSelfHtmlUrl(v string) { + o.SelfHtmlUrl = &v +} + +// GetSelfUrl returns the SelfUrl field value if set, zero value otherwise. +func (o *ConanPackageUploadResponse) GetSelfUrl() string { + if o == nil || isNil(o.SelfUrl) { + var ret string + return ret + } + return *o.SelfUrl +} + +// GetSelfUrlOk returns a tuple with the SelfUrl field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *ConanPackageUploadResponse) GetSelfUrlOk() (*string, bool) { + if o == nil || isNil(o.SelfUrl) { + return nil, false + } + return o.SelfUrl, true +} + +// HasSelfUrl returns a boolean if a field has been set. +func (o *ConanPackageUploadResponse) HasSelfUrl() bool { + if o != nil && !isNil(o.SelfUrl) { + return true + } + + return false +} + +// SetSelfUrl gets a reference to the given string and assigns it to the SelfUrl field. +func (o *ConanPackageUploadResponse) SetSelfUrl(v string) { + o.SelfUrl = &v +} + +// GetSignatureUrl returns the SignatureUrl field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *ConanPackageUploadResponse) GetSignatureUrl() string { + if o == nil || isNil(o.SignatureUrl.Get()) { + var ret string + return ret + } + return *o.SignatureUrl.Get() +} + +// GetSignatureUrlOk returns a tuple with the SignatureUrl 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 *ConanPackageUploadResponse) GetSignatureUrlOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.SignatureUrl.Get(), o.SignatureUrl.IsSet() +} + +// HasSignatureUrl returns a boolean if a field has been set. +func (o *ConanPackageUploadResponse) HasSignatureUrl() bool { + if o != nil && o.SignatureUrl.IsSet() { + return true + } + + return false +} + +// SetSignatureUrl gets a reference to the given NullableString and assigns it to the SignatureUrl field. +func (o *ConanPackageUploadResponse) SetSignatureUrl(v string) { + o.SignatureUrl.Set(&v) +} + +// SetSignatureUrlNil sets the value for SignatureUrl to be an explicit nil +func (o *ConanPackageUploadResponse) SetSignatureUrlNil() { + o.SignatureUrl.Set(nil) +} + +// UnsetSignatureUrl ensures that no value is present for SignatureUrl, not even an explicit nil +func (o *ConanPackageUploadResponse) UnsetSignatureUrl() { + o.SignatureUrl.Unset() +} + +// GetSize returns the Size field value if set, zero value otherwise. +func (o *ConanPackageUploadResponse) GetSize() int64 { + if o == nil || isNil(o.Size) { + var ret int64 + return ret + } + return *o.Size +} + +// GetSizeOk returns a tuple with the Size field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *ConanPackageUploadResponse) GetSizeOk() (*int64, bool) { + if o == nil || isNil(o.Size) { + return nil, false + } + return o.Size, true +} + +// HasSize returns a boolean if a field has been set. +func (o *ConanPackageUploadResponse) HasSize() bool { + if o != nil && !isNil(o.Size) { + return true + } + + return false +} + +// SetSize gets a reference to the given int64 and assigns it to the Size field. +func (o *ConanPackageUploadResponse) SetSize(v int64) { + o.Size = &v +} + +// GetSlug returns the Slug field value if set, zero value otherwise. +func (o *ConanPackageUploadResponse) GetSlug() string { + if o == nil || isNil(o.Slug) { + var ret string + return ret + } + return *o.Slug +} + +// GetSlugOk returns a tuple with the Slug field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *ConanPackageUploadResponse) GetSlugOk() (*string, bool) { + if o == nil || isNil(o.Slug) { + return nil, false + } + return o.Slug, true +} + +// HasSlug returns a boolean if a field has been set. +func (o *ConanPackageUploadResponse) HasSlug() bool { + if o != nil && !isNil(o.Slug) { + return true + } + + return false +} + +// SetSlug gets a reference to the given string and assigns it to the Slug field. +func (o *ConanPackageUploadResponse) SetSlug(v string) { + o.Slug = &v +} + +// GetSlugPerm returns the SlugPerm field value if set, zero value otherwise. +func (o *ConanPackageUploadResponse) GetSlugPerm() string { + if o == nil || isNil(o.SlugPerm) { + var ret string + return ret + } + return *o.SlugPerm +} + +// GetSlugPermOk returns a tuple with the SlugPerm field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *ConanPackageUploadResponse) GetSlugPermOk() (*string, bool) { + if o == nil || isNil(o.SlugPerm) { + return nil, false + } + return o.SlugPerm, true +} + +// HasSlugPerm returns a boolean if a field has been set. +func (o *ConanPackageUploadResponse) HasSlugPerm() bool { + if o != nil && !isNil(o.SlugPerm) { + return true + } + + return false +} + +// SetSlugPerm gets a reference to the given string and assigns it to the SlugPerm field. +func (o *ConanPackageUploadResponse) SetSlugPerm(v string) { + o.SlugPerm = &v +} + +// GetStage returns the Stage field value if set, zero value otherwise. +func (o *ConanPackageUploadResponse) GetStage() int64 { + if o == nil || isNil(o.Stage) { + var ret int64 + return ret + } + return *o.Stage +} + +// GetStageOk returns a tuple with the Stage field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *ConanPackageUploadResponse) GetStageOk() (*int64, bool) { + if o == nil || isNil(o.Stage) { + return nil, false + } + return o.Stage, true +} + +// HasStage returns a boolean if a field has been set. +func (o *ConanPackageUploadResponse) HasStage() bool { + if o != nil && !isNil(o.Stage) { + return true + } + + return false +} + +// SetStage gets a reference to the given int64 and assigns it to the Stage field. +func (o *ConanPackageUploadResponse) SetStage(v int64) { + o.Stage = &v +} + +// GetStageStr returns the StageStr field value if set, zero value otherwise. +func (o *ConanPackageUploadResponse) GetStageStr() string { + if o == nil || isNil(o.StageStr) { + var ret string + return ret + } + return *o.StageStr +} + +// GetStageStrOk returns a tuple with the StageStr field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *ConanPackageUploadResponse) GetStageStrOk() (*string, bool) { + if o == nil || isNil(o.StageStr) { + return nil, false + } + return o.StageStr, true +} + +// HasStageStr returns a boolean if a field has been set. +func (o *ConanPackageUploadResponse) HasStageStr() bool { + if o != nil && !isNil(o.StageStr) { + return true + } + + return false +} + +// SetStageStr gets a reference to the given string and assigns it to the StageStr field. +func (o *ConanPackageUploadResponse) SetStageStr(v string) { + o.StageStr = &v +} + +// GetStageUpdatedAt returns the StageUpdatedAt field value if set, zero value otherwise. +func (o *ConanPackageUploadResponse) GetStageUpdatedAt() time.Time { + if o == nil || isNil(o.StageUpdatedAt) { + var ret time.Time + return ret + } + return *o.StageUpdatedAt +} + +// GetStageUpdatedAtOk returns a tuple with the StageUpdatedAt field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *ConanPackageUploadResponse) GetStageUpdatedAtOk() (*time.Time, bool) { + if o == nil || isNil(o.StageUpdatedAt) { + return nil, false + } + return o.StageUpdatedAt, true +} + +// HasStageUpdatedAt returns a boolean if a field has been set. +func (o *ConanPackageUploadResponse) HasStageUpdatedAt() bool { + if o != nil && !isNil(o.StageUpdatedAt) { + return true + } + + return false +} + +// SetStageUpdatedAt gets a reference to the given time.Time and assigns it to the StageUpdatedAt field. +func (o *ConanPackageUploadResponse) SetStageUpdatedAt(v time.Time) { + o.StageUpdatedAt = &v +} + +// GetStatus returns the Status field value if set, zero value otherwise. +func (o *ConanPackageUploadResponse) GetStatus() int64 { + if o == nil || isNil(o.Status) { + var ret int64 + return ret + } + return *o.Status +} + +// GetStatusOk returns a tuple with the Status field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *ConanPackageUploadResponse) GetStatusOk() (*int64, bool) { + if o == nil || isNil(o.Status) { + return nil, false + } + return o.Status, true +} + +// HasStatus returns a boolean if a field has been set. +func (o *ConanPackageUploadResponse) HasStatus() bool { + if o != nil && !isNil(o.Status) { + return true + } + + return false +} + +// SetStatus gets a reference to the given int64 and assigns it to the Status field. +func (o *ConanPackageUploadResponse) SetStatus(v int64) { + o.Status = &v +} + +// GetStatusReason returns the StatusReason field value if set, zero value otherwise. +func (o *ConanPackageUploadResponse) GetStatusReason() string { + if o == nil || isNil(o.StatusReason) { + var ret string + return ret + } + return *o.StatusReason +} + +// GetStatusReasonOk returns a tuple with the StatusReason field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *ConanPackageUploadResponse) GetStatusReasonOk() (*string, bool) { + if o == nil || isNil(o.StatusReason) { + return nil, false + } + return o.StatusReason, true +} + +// HasStatusReason returns a boolean if a field has been set. +func (o *ConanPackageUploadResponse) HasStatusReason() bool { + if o != nil && !isNil(o.StatusReason) { + return true + } + + return false +} + +// SetStatusReason gets a reference to the given string and assigns it to the StatusReason field. +func (o *ConanPackageUploadResponse) SetStatusReason(v string) { + o.StatusReason = &v +} + +// GetStatusStr returns the StatusStr field value if set, zero value otherwise. +func (o *ConanPackageUploadResponse) GetStatusStr() string { + if o == nil || isNil(o.StatusStr) { + var ret string + return ret + } + return *o.StatusStr +} + +// GetStatusStrOk returns a tuple with the StatusStr field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *ConanPackageUploadResponse) GetStatusStrOk() (*string, bool) { + if o == nil || isNil(o.StatusStr) { + return nil, false + } + return o.StatusStr, true +} + +// HasStatusStr returns a boolean if a field has been set. +func (o *ConanPackageUploadResponse) HasStatusStr() bool { + if o != nil && !isNil(o.StatusStr) { + return true + } + + return false +} + +// SetStatusStr gets a reference to the given string and assigns it to the StatusStr field. +func (o *ConanPackageUploadResponse) SetStatusStr(v string) { + o.StatusStr = &v +} + +// GetStatusUpdatedAt returns the StatusUpdatedAt field value if set, zero value otherwise. +func (o *ConanPackageUploadResponse) GetStatusUpdatedAt() time.Time { + if o == nil || isNil(o.StatusUpdatedAt) { + var ret time.Time + return ret + } + return *o.StatusUpdatedAt +} + +// GetStatusUpdatedAtOk returns a tuple with the StatusUpdatedAt field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *ConanPackageUploadResponse) GetStatusUpdatedAtOk() (*time.Time, bool) { + if o == nil || isNil(o.StatusUpdatedAt) { + return nil, false + } + return o.StatusUpdatedAt, true +} + +// HasStatusUpdatedAt returns a boolean if a field has been set. +func (o *ConanPackageUploadResponse) HasStatusUpdatedAt() bool { + if o != nil && !isNil(o.StatusUpdatedAt) { + return true + } + + return false +} + +// SetStatusUpdatedAt gets a reference to the given time.Time and assigns it to the StatusUpdatedAt field. +func (o *ConanPackageUploadResponse) SetStatusUpdatedAt(v time.Time) { + o.StatusUpdatedAt = &v +} + +// GetStatusUrl returns the StatusUrl field value if set, zero value otherwise. +func (o *ConanPackageUploadResponse) GetStatusUrl() string { + if o == nil || isNil(o.StatusUrl) { + var ret string + return ret + } + return *o.StatusUrl +} + +// GetStatusUrlOk returns a tuple with the StatusUrl field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *ConanPackageUploadResponse) GetStatusUrlOk() (*string, bool) { + if o == nil || isNil(o.StatusUrl) { + return nil, false + } + return o.StatusUrl, true +} + +// HasStatusUrl returns a boolean if a field has been set. +func (o *ConanPackageUploadResponse) HasStatusUrl() bool { + if o != nil && !isNil(o.StatusUrl) { + return true + } + + return false +} + +// SetStatusUrl gets a reference to the given string and assigns it to the StatusUrl field. +func (o *ConanPackageUploadResponse) SetStatusUrl(v string) { + o.StatusUrl = &v +} + +// GetSubtype returns the Subtype field value if set, zero value otherwise. +func (o *ConanPackageUploadResponse) GetSubtype() string { + if o == nil || isNil(o.Subtype) { + var ret string + return ret + } + return *o.Subtype +} + +// GetSubtypeOk returns a tuple with the Subtype field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *ConanPackageUploadResponse) GetSubtypeOk() (*string, bool) { + if o == nil || isNil(o.Subtype) { + return nil, false + } + return o.Subtype, true +} + +// HasSubtype returns a boolean if a field has been set. +func (o *ConanPackageUploadResponse) HasSubtype() bool { + if o != nil && !isNil(o.Subtype) { + return true + } + + return false +} + +// SetSubtype gets a reference to the given string and assigns it to the Subtype field. +func (o *ConanPackageUploadResponse) SetSubtype(v string) { + o.Subtype = &v +} + +// GetSummary returns the Summary field value if set, zero value otherwise. +func (o *ConanPackageUploadResponse) GetSummary() string { + if o == nil || isNil(o.Summary) { + var ret string + return ret + } + return *o.Summary +} + +// GetSummaryOk returns a tuple with the Summary field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *ConanPackageUploadResponse) GetSummaryOk() (*string, bool) { + if o == nil || isNil(o.Summary) { + return nil, false + } + return o.Summary, true +} + +// HasSummary returns a boolean if a field has been set. +func (o *ConanPackageUploadResponse) HasSummary() bool { + if o != nil && !isNil(o.Summary) { + return true + } + + return false +} + +// SetSummary gets a reference to the given string and assigns it to the Summary field. +func (o *ConanPackageUploadResponse) SetSummary(v string) { + o.Summary = &v +} + +// GetSyncFinishedAt returns the SyncFinishedAt field value if set, zero value otherwise. +func (o *ConanPackageUploadResponse) GetSyncFinishedAt() time.Time { + if o == nil || isNil(o.SyncFinishedAt) { + var ret time.Time + return ret + } + return *o.SyncFinishedAt +} + +// GetSyncFinishedAtOk returns a tuple with the SyncFinishedAt field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *ConanPackageUploadResponse) GetSyncFinishedAtOk() (*time.Time, bool) { + if o == nil || isNil(o.SyncFinishedAt) { + return nil, false + } + return o.SyncFinishedAt, true +} + +// HasSyncFinishedAt returns a boolean if a field has been set. +func (o *ConanPackageUploadResponse) HasSyncFinishedAt() bool { + if o != nil && !isNil(o.SyncFinishedAt) { + return true + } + + return false +} + +// SetSyncFinishedAt gets a reference to the given time.Time and assigns it to the SyncFinishedAt field. +func (o *ConanPackageUploadResponse) SetSyncFinishedAt(v time.Time) { + o.SyncFinishedAt = &v +} + +// GetSyncProgress returns the SyncProgress field value if set, zero value otherwise. +func (o *ConanPackageUploadResponse) GetSyncProgress() int64 { + if o == nil || isNil(o.SyncProgress) { + var ret int64 + return ret + } + return *o.SyncProgress +} + +// GetSyncProgressOk returns a tuple with the SyncProgress field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *ConanPackageUploadResponse) GetSyncProgressOk() (*int64, bool) { + if o == nil || isNil(o.SyncProgress) { + return nil, false + } + return o.SyncProgress, true +} + +// HasSyncProgress returns a boolean if a field has been set. +func (o *ConanPackageUploadResponse) HasSyncProgress() bool { + if o != nil && !isNil(o.SyncProgress) { + return true + } + + return false +} + +// SetSyncProgress gets a reference to the given int64 and assigns it to the SyncProgress field. +func (o *ConanPackageUploadResponse) SetSyncProgress(v int64) { + o.SyncProgress = &v +} + +// GetTagsImmutable returns the TagsImmutable field value if set, zero value otherwise. +func (o *ConanPackageUploadResponse) GetTagsImmutable() map[string]interface{} { + if o == nil || isNil(o.TagsImmutable) { + var ret map[string]interface{} + return ret + } + return o.TagsImmutable +} + +// GetTagsImmutableOk returns a tuple with the TagsImmutable field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *ConanPackageUploadResponse) GetTagsImmutableOk() (map[string]interface{}, bool) { + if o == nil || isNil(o.TagsImmutable) { + return map[string]interface{}{}, false + } + return o.TagsImmutable, true +} + +// HasTagsImmutable returns a boolean if a field has been set. +func (o *ConanPackageUploadResponse) HasTagsImmutable() bool { + if o != nil && !isNil(o.TagsImmutable) { + return true + } + + return false +} + +// SetTagsImmutable gets a reference to the given map[string]interface{} and assigns it to the TagsImmutable field. +func (o *ConanPackageUploadResponse) SetTagsImmutable(v map[string]interface{}) { + o.TagsImmutable = v +} + +// GetTypeDisplay returns the TypeDisplay field value if set, zero value otherwise. +func (o *ConanPackageUploadResponse) GetTypeDisplay() string { + if o == nil || isNil(o.TypeDisplay) { + var ret string + return ret + } + return *o.TypeDisplay +} + +// GetTypeDisplayOk returns a tuple with the TypeDisplay field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *ConanPackageUploadResponse) GetTypeDisplayOk() (*string, bool) { + if o == nil || isNil(o.TypeDisplay) { + return nil, false + } + return o.TypeDisplay, true +} + +// HasTypeDisplay returns a boolean if a field has been set. +func (o *ConanPackageUploadResponse) HasTypeDisplay() bool { + if o != nil && !isNil(o.TypeDisplay) { + return true + } + + return false +} + +// SetTypeDisplay gets a reference to the given string and assigns it to the TypeDisplay field. +func (o *ConanPackageUploadResponse) SetTypeDisplay(v string) { + o.TypeDisplay = &v +} + +// GetUploadedAt returns the UploadedAt field value if set, zero value otherwise. +func (o *ConanPackageUploadResponse) GetUploadedAt() time.Time { + if o == nil || isNil(o.UploadedAt) { + var ret time.Time + return ret + } + return *o.UploadedAt +} + +// GetUploadedAtOk returns a tuple with the UploadedAt field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *ConanPackageUploadResponse) GetUploadedAtOk() (*time.Time, bool) { + if o == nil || isNil(o.UploadedAt) { + return nil, false + } + return o.UploadedAt, true +} + +// HasUploadedAt returns a boolean if a field has been set. +func (o *ConanPackageUploadResponse) HasUploadedAt() bool { + if o != nil && !isNil(o.UploadedAt) { + return true + } + + return false +} + +// SetUploadedAt gets a reference to the given time.Time and assigns it to the UploadedAt field. +func (o *ConanPackageUploadResponse) SetUploadedAt(v time.Time) { + o.UploadedAt = &v +} + +// GetUploader returns the Uploader field value if set, zero value otherwise. +func (o *ConanPackageUploadResponse) GetUploader() string { + if o == nil || isNil(o.Uploader) { + var ret string + return ret + } + return *o.Uploader +} + +// GetUploaderOk returns a tuple with the Uploader field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *ConanPackageUploadResponse) GetUploaderOk() (*string, bool) { + if o == nil || isNil(o.Uploader) { + return nil, false + } + return o.Uploader, true +} + +// HasUploader returns a boolean if a field has been set. +func (o *ConanPackageUploadResponse) HasUploader() bool { + if o != nil && !isNil(o.Uploader) { + return true + } + + return false +} + +// SetUploader gets a reference to the given string and assigns it to the Uploader field. +func (o *ConanPackageUploadResponse) SetUploader(v string) { + o.Uploader = &v +} + +// GetUploaderUrl returns the UploaderUrl field value if set, zero value otherwise. +func (o *ConanPackageUploadResponse) GetUploaderUrl() string { + if o == nil || isNil(o.UploaderUrl) { + var ret string + return ret + } + return *o.UploaderUrl +} + +// GetUploaderUrlOk returns a tuple with the UploaderUrl field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *ConanPackageUploadResponse) GetUploaderUrlOk() (*string, bool) { + if o == nil || isNil(o.UploaderUrl) { + return nil, false + } + return o.UploaderUrl, true +} + +// HasUploaderUrl returns a boolean if a field has been set. +func (o *ConanPackageUploadResponse) HasUploaderUrl() bool { + if o != nil && !isNil(o.UploaderUrl) { + return true + } + + return false +} + +// SetUploaderUrl gets a reference to the given string and assigns it to the UploaderUrl field. +func (o *ConanPackageUploadResponse) SetUploaderUrl(v string) { + o.UploaderUrl = &v +} + +// GetVersion returns the Version field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *ConanPackageUploadResponse) GetVersion() string { + if o == nil || isNil(o.Version.Get()) { + var ret string + return ret + } + return *o.Version.Get() +} + +// GetVersionOk returns a tuple with the Version 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 *ConanPackageUploadResponse) GetVersionOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.Version.Get(), o.Version.IsSet() +} + +// HasVersion returns a boolean if a field has been set. +func (o *ConanPackageUploadResponse) HasVersion() bool { + if o != nil && o.Version.IsSet() { + return true + } + + return false +} + +// SetVersion gets a reference to the given NullableString and assigns it to the Version field. +func (o *ConanPackageUploadResponse) SetVersion(v string) { + o.Version.Set(&v) +} + +// SetVersionNil sets the value for Version to be an explicit nil +func (o *ConanPackageUploadResponse) SetVersionNil() { + o.Version.Set(nil) +} + +// UnsetVersion ensures that no value is present for Version, not even an explicit nil +func (o *ConanPackageUploadResponse) UnsetVersion() { + o.Version.Unset() +} + +// GetVersionOrig returns the VersionOrig field value if set, zero value otherwise. +func (o *ConanPackageUploadResponse) GetVersionOrig() string { + if o == nil || isNil(o.VersionOrig) { + var ret string + return ret + } + return *o.VersionOrig +} + +// GetVersionOrigOk returns a tuple with the VersionOrig field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *ConanPackageUploadResponse) GetVersionOrigOk() (*string, bool) { + if o == nil || isNil(o.VersionOrig) { + return nil, false + } + return o.VersionOrig, true +} + +// HasVersionOrig returns a boolean if a field has been set. +func (o *ConanPackageUploadResponse) HasVersionOrig() bool { + if o != nil && !isNil(o.VersionOrig) { + return true + } + + return false +} + +// SetVersionOrig gets a reference to the given string and assigns it to the VersionOrig field. +func (o *ConanPackageUploadResponse) SetVersionOrig(v string) { + o.VersionOrig = &v +} + +// GetVulnerabilityScanResultsUrl returns the VulnerabilityScanResultsUrl field value if set, zero value otherwise. +func (o *ConanPackageUploadResponse) GetVulnerabilityScanResultsUrl() string { + if o == nil || isNil(o.VulnerabilityScanResultsUrl) { + var ret string + return ret + } + return *o.VulnerabilityScanResultsUrl +} + +// GetVulnerabilityScanResultsUrlOk returns a tuple with the VulnerabilityScanResultsUrl field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *ConanPackageUploadResponse) GetVulnerabilityScanResultsUrlOk() (*string, bool) { + if o == nil || isNil(o.VulnerabilityScanResultsUrl) { + return nil, false + } + return o.VulnerabilityScanResultsUrl, true +} + +// HasVulnerabilityScanResultsUrl returns a boolean if a field has been set. +func (o *ConanPackageUploadResponse) HasVulnerabilityScanResultsUrl() bool { + if o != nil && !isNil(o.VulnerabilityScanResultsUrl) { + return true + } + + return false +} + +// SetVulnerabilityScanResultsUrl gets a reference to the given string and assigns it to the VulnerabilityScanResultsUrl field. +func (o *ConanPackageUploadResponse) SetVulnerabilityScanResultsUrl(v string) { + o.VulnerabilityScanResultsUrl = &v +} + +func (o ConanPackageUploadResponse) MarshalJSON() ([]byte, error) { + toSerialize := map[string]interface{}{} + if !isNil(o.Architectures) { + toSerialize["architectures"] = o.Architectures + } + if o.CdnUrl.IsSet() { + toSerialize["cdn_url"] = o.CdnUrl.Get() + } + if !isNil(o.ChecksumMd5) { + toSerialize["checksum_md5"] = o.ChecksumMd5 + } + if !isNil(o.ChecksumSha1) { + toSerialize["checksum_sha1"] = o.ChecksumSha1 + } + if !isNil(o.ChecksumSha256) { + toSerialize["checksum_sha256"] = o.ChecksumSha256 + } + if !isNil(o.ChecksumSha512) { + toSerialize["checksum_sha512"] = o.ChecksumSha512 + } + if o.ConanChannel.IsSet() { + toSerialize["conan_channel"] = o.ConanChannel.Get() + } + if o.ConanPrefix.IsSet() { + toSerialize["conan_prefix"] = o.ConanPrefix.Get() + } + if !isNil(o.DependenciesChecksumMd5) { + toSerialize["dependencies_checksum_md5"] = o.DependenciesChecksumMd5 + } + if !isNil(o.DependenciesUrl) { + toSerialize["dependencies_url"] = o.DependenciesUrl + } + if !isNil(o.Description) { + toSerialize["description"] = o.Description + } + if o.Distro.IsSet() { + toSerialize["distro"] = o.Distro.Get() + } + if !isNil(o.DistroVersion) { + toSerialize["distro_version"] = o.DistroVersion + } + if !isNil(o.Downloads) { + toSerialize["downloads"] = o.Downloads + } + if !isNil(o.Epoch) { + toSerialize["epoch"] = o.Epoch + } + if !isNil(o.Extension) { + toSerialize["extension"] = o.Extension + } + if !isNil(o.Filename) { + toSerialize["filename"] = o.Filename + } + if !isNil(o.Files) { + toSerialize["files"] = o.Files + } + if !isNil(o.Format) { + toSerialize["format"] = o.Format + } + if !isNil(o.FormatUrl) { + toSerialize["format_url"] = o.FormatUrl + } + if !isNil(o.IdentifierPerm) { + toSerialize["identifier_perm"] = o.IdentifierPerm + } + if !isNil(o.Indexed) { + toSerialize["indexed"] = o.Indexed + } + if !isNil(o.IsDownloadable) { + toSerialize["is_downloadable"] = o.IsDownloadable + } + if !isNil(o.IsQuarantined) { + toSerialize["is_quarantined"] = o.IsQuarantined + } + if !isNil(o.IsSyncAwaiting) { + toSerialize["is_sync_awaiting"] = o.IsSyncAwaiting + } + if !isNil(o.IsSyncCompleted) { + toSerialize["is_sync_completed"] = o.IsSyncCompleted + } + if !isNil(o.IsSyncFailed) { + toSerialize["is_sync_failed"] = o.IsSyncFailed + } + if !isNil(o.IsSyncInFlight) { + toSerialize["is_sync_in_flight"] = o.IsSyncInFlight + } + if !isNil(o.IsSyncInProgress) { + toSerialize["is_sync_in_progress"] = o.IsSyncInProgress + } + if !isNil(o.License) { + toSerialize["license"] = o.License + } + if o.Name.IsSet() { + toSerialize["name"] = o.Name.Get() + } + if !isNil(o.Namespace) { + toSerialize["namespace"] = o.Namespace + } + if !isNil(o.NamespaceUrl) { + toSerialize["namespace_url"] = o.NamespaceUrl + } + if !isNil(o.NumFiles) { + toSerialize["num_files"] = o.NumFiles + } + if !isNil(o.OriginRepository) { + toSerialize["origin_repository"] = o.OriginRepository + } + if !isNil(o.OriginRepositoryUrl) { + toSerialize["origin_repository_url"] = o.OriginRepositoryUrl + } + if !isNil(o.PackageType) { + toSerialize["package_type"] = o.PackageType + } + if !isNil(o.Release) { + toSerialize["release"] = o.Release + } + if !isNil(o.Repository) { + toSerialize["repository"] = o.Repository + } + if !isNil(o.RepositoryUrl) { + toSerialize["repository_url"] = o.RepositoryUrl + } + if !isNil(o.SecurityScanCompletedAt) { + toSerialize["security_scan_completed_at"] = o.SecurityScanCompletedAt + } + if !isNil(o.SecurityScanStartedAt) { + toSerialize["security_scan_started_at"] = o.SecurityScanStartedAt + } + if o.SecurityScanStatus.IsSet() { + toSerialize["security_scan_status"] = o.SecurityScanStatus.Get() + } + if !isNil(o.SecurityScanStatusUpdatedAt) { + toSerialize["security_scan_status_updated_at"] = o.SecurityScanStatusUpdatedAt + } + if !isNil(o.SelfHtmlUrl) { + toSerialize["self_html_url"] = o.SelfHtmlUrl + } + if !isNil(o.SelfUrl) { + toSerialize["self_url"] = o.SelfUrl + } + if o.SignatureUrl.IsSet() { + toSerialize["signature_url"] = o.SignatureUrl.Get() + } + if !isNil(o.Size) { + toSerialize["size"] = o.Size + } + if !isNil(o.Slug) { + toSerialize["slug"] = o.Slug + } + if !isNil(o.SlugPerm) { + toSerialize["slug_perm"] = o.SlugPerm + } + if !isNil(o.Stage) { + toSerialize["stage"] = o.Stage + } + if !isNil(o.StageStr) { + toSerialize["stage_str"] = o.StageStr + } + if !isNil(o.StageUpdatedAt) { + toSerialize["stage_updated_at"] = o.StageUpdatedAt + } + if !isNil(o.Status) { + toSerialize["status"] = o.Status + } + if !isNil(o.StatusReason) { + toSerialize["status_reason"] = o.StatusReason + } + if !isNil(o.StatusStr) { + toSerialize["status_str"] = o.StatusStr + } + if !isNil(o.StatusUpdatedAt) { + toSerialize["status_updated_at"] = o.StatusUpdatedAt + } + if !isNil(o.StatusUrl) { + toSerialize["status_url"] = o.StatusUrl + } + if !isNil(o.Subtype) { + toSerialize["subtype"] = o.Subtype + } + if !isNil(o.Summary) { + toSerialize["summary"] = o.Summary + } + if !isNil(o.SyncFinishedAt) { + toSerialize["sync_finished_at"] = o.SyncFinishedAt + } + if !isNil(o.SyncProgress) { + toSerialize["sync_progress"] = o.SyncProgress + } + if !isNil(o.TagsImmutable) { + toSerialize["tags_immutable"] = o.TagsImmutable + } + if !isNil(o.TypeDisplay) { + toSerialize["type_display"] = o.TypeDisplay + } + if !isNil(o.UploadedAt) { + toSerialize["uploaded_at"] = o.UploadedAt + } + if !isNil(o.Uploader) { + toSerialize["uploader"] = o.Uploader + } + if !isNil(o.UploaderUrl) { + toSerialize["uploader_url"] = o.UploaderUrl + } + if o.Version.IsSet() { + toSerialize["version"] = o.Version.Get() + } + if !isNil(o.VersionOrig) { + toSerialize["version_orig"] = o.VersionOrig + } + if !isNil(o.VulnerabilityScanResultsUrl) { + toSerialize["vulnerability_scan_results_url"] = o.VulnerabilityScanResultsUrl + } + return json.Marshal(toSerialize) +} + +type NullableConanPackageUploadResponse struct { + value *ConanPackageUploadResponse + isSet bool +} + +func (v NullableConanPackageUploadResponse) Get() *ConanPackageUploadResponse { + return v.value +} + +func (v *NullableConanPackageUploadResponse) Set(val *ConanPackageUploadResponse) { + v.value = val + v.isSet = true +} + +func (v NullableConanPackageUploadResponse) IsSet() bool { + return v.isSet +} + +func (v *NullableConanPackageUploadResponse) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableConanPackageUploadResponse(val *ConanPackageUploadResponse) *NullableConanPackageUploadResponse { + return &NullableConanPackageUploadResponse{value: val, isSet: true} +} + +func (v NullableConanPackageUploadResponse) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableConanPackageUploadResponse) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} diff --git a/model_conda_package_upload.go b/model_conda_package_upload.go deleted file mode 100644 index f8b03348..00000000 --- a/model_conda_package_upload.go +++ /dev/null @@ -1,2520 +0,0 @@ -/* -Cloudsmith API - -The API to the Cloudsmith Service - -API version: 1.121.3 -Contact: support@cloudsmith.io -*/ - -// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. - -package cloudsmith - -import ( - "encoding/json" -) - -// CondaPackageUpload struct for CondaPackageUpload -type CondaPackageUpload struct { - // - Architectures []PackagesOwnerRepoArchitectures `json:"architectures,omitempty"` - // - CdnUrl *string `json:"cdn_url,omitempty"` - // - ChecksumMd5 *string `json:"checksum_md5,omitempty"` - // - ChecksumSha1 *string `json:"checksum_sha1,omitempty"` - // - ChecksumSha256 *string `json:"checksum_sha256,omitempty"` - // - ChecksumSha512 *string `json:"checksum_sha512,omitempty"` - // A checksum of all of the package's dependencies. - DependenciesChecksumMd5 *string `json:"dependencies_checksum_md5,omitempty"` - // - DependenciesUrl *string `json:"dependencies_url,omitempty"` - // A textual description of this package. - Description *string `json:"description,omitempty"` - // - Distro map[string]interface{} `json:"distro,omitempty"` - // - DistroVersion map[string]interface{} `json:"distro_version,omitempty"` - // - Downloads *int64 `json:"downloads,omitempty"` - // The epoch of the package version (if any). - Epoch *int64 `json:"epoch,omitempty"` - // - Extension *string `json:"extension,omitempty"` - // - Filename *string `json:"filename,omitempty"` - // - Files []PackagesOwnerRepoFiles `json:"files,omitempty"` - // - Format *string `json:"format,omitempty"` - // - FormatUrl *string `json:"format_url,omitempty"` - // Unique and permanent identifier for the package. - IdentifierPerm *string `json:"identifier_perm,omitempty"` - // - Indexed *bool `json:"indexed,omitempty"` - // - IsDownloadable *bool `json:"is_downloadable,omitempty"` - // - IsQuarantined *bool `json:"is_quarantined,omitempty"` - // - IsSyncAwaiting *bool `json:"is_sync_awaiting,omitempty"` - // - IsSyncCompleted *bool `json:"is_sync_completed,omitempty"` - // - IsSyncFailed *bool `json:"is_sync_failed,omitempty"` - // - IsSyncInFlight *bool `json:"is_sync_in_flight,omitempty"` - // - IsSyncInProgress *bool `json:"is_sync_in_progress,omitempty"` - // The license of this package. - License *string `json:"license,omitempty"` - // The name of this package. - Name *string `json:"name,omitempty"` - // - Namespace *string `json:"namespace,omitempty"` - // - NamespaceUrl *string `json:"namespace_url,omitempty"` - // - NumFiles *int64 `json:"num_files,omitempty"` - // The type of package contents. - PackageType *int64 `json:"package_type,omitempty"` - // The release of the package version (if any). - Release *string `json:"release,omitempty"` - // - Repository *string `json:"repository,omitempty"` - // - RepositoryUrl *string `json:"repository_url,omitempty"` - // The datetime the security scanning was completed. - SecurityScanCompletedAt *string `json:"security_scan_completed_at,omitempty"` - // The datetime the security scanning was started. - SecurityScanStartedAt *string `json:"security_scan_started_at,omitempty"` - // - SecurityScanStatus *string `json:"security_scan_status,omitempty"` - // The datetime the security scanning status was updated. - SecurityScanStatusUpdatedAt *string `json:"security_scan_status_updated_at,omitempty"` - // - SelfHtmlUrl *string `json:"self_html_url,omitempty"` - // - SelfUrl *string `json:"self_url,omitempty"` - // - SignatureUrl *string `json:"signature_url,omitempty"` - // The calculated size of the package. - Size *int64 `json:"size,omitempty"` - // The public unique identifier for the package. - Slug *string `json:"slug,omitempty"` - // - SlugPerm *string `json:"slug_perm,omitempty"` - // The synchronisation (in progress) stage of the package. - Stage *int64 `json:"stage,omitempty"` - // - StageStr *string `json:"stage_str,omitempty"` - // The datetime the package stage was updated at. - StageUpdatedAt *string `json:"stage_updated_at,omitempty"` - // The synchronisation status of the package. - Status *int64 `json:"status,omitempty"` - // A textual description for the synchronous status reason (if any - StatusReason *string `json:"status_reason,omitempty"` - // - StatusStr *string `json:"status_str,omitempty"` - // The datetime the package status was updated at. - StatusUpdatedAt *string `json:"status_updated_at,omitempty"` - // - StatusUrl *string `json:"status_url,omitempty"` - // - Subtype *string `json:"subtype,omitempty"` - // A one-liner synopsis of this package. - Summary *string `json:"summary,omitempty"` - // The datetime the package sync was finished at. - SyncFinishedAt *string `json:"sync_finished_at,omitempty"` - // Synchronisation progress (from 0-100) - SyncProgress *int64 `json:"sync_progress,omitempty"` - // All immutable tags on the package, grouped by tag type. Immutable tags cannot be (easily) deleted. - TagsImmutable map[string]interface{} `json:"tags_immutable,omitempty"` - // - TypeDisplay *string `json:"type_display,omitempty"` - // The date this package was uploaded. - UploadedAt *string `json:"uploaded_at,omitempty"` - // - Uploader *string `json:"uploader,omitempty"` - // - UploaderUrl *string `json:"uploader_url,omitempty"` - // The raw version for this package. - Version *string `json:"version,omitempty"` - // - VersionOrig *string `json:"version_orig,omitempty"` - // - VulnerabilityScanResultsUrl *string `json:"vulnerability_scan_results_url,omitempty"` -} - -// NewCondaPackageUpload instantiates a new CondaPackageUpload object -// 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 NewCondaPackageUpload() *CondaPackageUpload { - this := CondaPackageUpload{} - return &this -} - -// NewCondaPackageUploadWithDefaults instantiates a new CondaPackageUpload object -// This constructor will only assign default values to properties that have it defined, -// but it doesn't guarantee that properties required by API are set -func NewCondaPackageUploadWithDefaults() *CondaPackageUpload { - this := CondaPackageUpload{} - return &this -} - -// GetArchitectures returns the Architectures field value if set, zero value otherwise. -func (o *CondaPackageUpload) GetArchitectures() []PackagesOwnerRepoArchitectures { - if o == nil || o.Architectures == nil { - var ret []PackagesOwnerRepoArchitectures - return ret - } - return o.Architectures -} - -// GetArchitecturesOk returns a tuple with the Architectures field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *CondaPackageUpload) GetArchitecturesOk() ([]PackagesOwnerRepoArchitectures, bool) { - if o == nil || o.Architectures == nil { - return nil, false - } - return o.Architectures, true -} - -// HasArchitectures returns a boolean if a field has been set. -func (o *CondaPackageUpload) HasArchitectures() bool { - if o != nil && o.Architectures != nil { - return true - } - - return false -} - -// SetArchitectures gets a reference to the given []PackagesOwnerRepoArchitectures and assigns it to the Architectures field. -func (o *CondaPackageUpload) SetArchitectures(v []PackagesOwnerRepoArchitectures) { - o.Architectures = v -} - -// GetCdnUrl returns the CdnUrl field value if set, zero value otherwise. -func (o *CondaPackageUpload) GetCdnUrl() string { - if o == nil || o.CdnUrl == nil { - var ret string - return ret - } - return *o.CdnUrl -} - -// GetCdnUrlOk returns a tuple with the CdnUrl field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *CondaPackageUpload) GetCdnUrlOk() (*string, bool) { - if o == nil || o.CdnUrl == nil { - return nil, false - } - return o.CdnUrl, true -} - -// HasCdnUrl returns a boolean if a field has been set. -func (o *CondaPackageUpload) HasCdnUrl() bool { - if o != nil && o.CdnUrl != nil { - return true - } - - return false -} - -// SetCdnUrl gets a reference to the given string and assigns it to the CdnUrl field. -func (o *CondaPackageUpload) SetCdnUrl(v string) { - o.CdnUrl = &v -} - -// GetChecksumMd5 returns the ChecksumMd5 field value if set, zero value otherwise. -func (o *CondaPackageUpload) GetChecksumMd5() string { - if o == nil || o.ChecksumMd5 == nil { - var ret string - return ret - } - return *o.ChecksumMd5 -} - -// GetChecksumMd5Ok returns a tuple with the ChecksumMd5 field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *CondaPackageUpload) GetChecksumMd5Ok() (*string, bool) { - if o == nil || o.ChecksumMd5 == nil { - return nil, false - } - return o.ChecksumMd5, true -} - -// HasChecksumMd5 returns a boolean if a field has been set. -func (o *CondaPackageUpload) HasChecksumMd5() bool { - if o != nil && o.ChecksumMd5 != nil { - return true - } - - return false -} - -// SetChecksumMd5 gets a reference to the given string and assigns it to the ChecksumMd5 field. -func (o *CondaPackageUpload) SetChecksumMd5(v string) { - o.ChecksumMd5 = &v -} - -// GetChecksumSha1 returns the ChecksumSha1 field value if set, zero value otherwise. -func (o *CondaPackageUpload) GetChecksumSha1() string { - if o == nil || o.ChecksumSha1 == nil { - var ret string - return ret - } - return *o.ChecksumSha1 -} - -// GetChecksumSha1Ok returns a tuple with the ChecksumSha1 field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *CondaPackageUpload) GetChecksumSha1Ok() (*string, bool) { - if o == nil || o.ChecksumSha1 == nil { - return nil, false - } - return o.ChecksumSha1, true -} - -// HasChecksumSha1 returns a boolean if a field has been set. -func (o *CondaPackageUpload) HasChecksumSha1() bool { - if o != nil && o.ChecksumSha1 != nil { - return true - } - - return false -} - -// SetChecksumSha1 gets a reference to the given string and assigns it to the ChecksumSha1 field. -func (o *CondaPackageUpload) SetChecksumSha1(v string) { - o.ChecksumSha1 = &v -} - -// GetChecksumSha256 returns the ChecksumSha256 field value if set, zero value otherwise. -func (o *CondaPackageUpload) GetChecksumSha256() string { - if o == nil || o.ChecksumSha256 == nil { - var ret string - return ret - } - return *o.ChecksumSha256 -} - -// GetChecksumSha256Ok returns a tuple with the ChecksumSha256 field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *CondaPackageUpload) GetChecksumSha256Ok() (*string, bool) { - if o == nil || o.ChecksumSha256 == nil { - return nil, false - } - return o.ChecksumSha256, true -} - -// HasChecksumSha256 returns a boolean if a field has been set. -func (o *CondaPackageUpload) HasChecksumSha256() bool { - if o != nil && o.ChecksumSha256 != nil { - return true - } - - return false -} - -// SetChecksumSha256 gets a reference to the given string and assigns it to the ChecksumSha256 field. -func (o *CondaPackageUpload) SetChecksumSha256(v string) { - o.ChecksumSha256 = &v -} - -// GetChecksumSha512 returns the ChecksumSha512 field value if set, zero value otherwise. -func (o *CondaPackageUpload) GetChecksumSha512() string { - if o == nil || o.ChecksumSha512 == nil { - var ret string - return ret - } - return *o.ChecksumSha512 -} - -// GetChecksumSha512Ok returns a tuple with the ChecksumSha512 field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *CondaPackageUpload) GetChecksumSha512Ok() (*string, bool) { - if o == nil || o.ChecksumSha512 == nil { - return nil, false - } - return o.ChecksumSha512, true -} - -// HasChecksumSha512 returns a boolean if a field has been set. -func (o *CondaPackageUpload) HasChecksumSha512() bool { - if o != nil && o.ChecksumSha512 != nil { - return true - } - - return false -} - -// SetChecksumSha512 gets a reference to the given string and assigns it to the ChecksumSha512 field. -func (o *CondaPackageUpload) SetChecksumSha512(v string) { - o.ChecksumSha512 = &v -} - -// GetDependenciesChecksumMd5 returns the DependenciesChecksumMd5 field value if set, zero value otherwise. -func (o *CondaPackageUpload) GetDependenciesChecksumMd5() string { - if o == nil || o.DependenciesChecksumMd5 == nil { - var ret string - return ret - } - return *o.DependenciesChecksumMd5 -} - -// GetDependenciesChecksumMd5Ok returns a tuple with the DependenciesChecksumMd5 field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *CondaPackageUpload) GetDependenciesChecksumMd5Ok() (*string, bool) { - if o == nil || o.DependenciesChecksumMd5 == nil { - return nil, false - } - return o.DependenciesChecksumMd5, true -} - -// HasDependenciesChecksumMd5 returns a boolean if a field has been set. -func (o *CondaPackageUpload) HasDependenciesChecksumMd5() bool { - if o != nil && o.DependenciesChecksumMd5 != nil { - return true - } - - return false -} - -// SetDependenciesChecksumMd5 gets a reference to the given string and assigns it to the DependenciesChecksumMd5 field. -func (o *CondaPackageUpload) SetDependenciesChecksumMd5(v string) { - o.DependenciesChecksumMd5 = &v -} - -// GetDependenciesUrl returns the DependenciesUrl field value if set, zero value otherwise. -func (o *CondaPackageUpload) GetDependenciesUrl() string { - if o == nil || o.DependenciesUrl == nil { - var ret string - return ret - } - return *o.DependenciesUrl -} - -// GetDependenciesUrlOk returns a tuple with the DependenciesUrl field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *CondaPackageUpload) GetDependenciesUrlOk() (*string, bool) { - if o == nil || o.DependenciesUrl == nil { - return nil, false - } - return o.DependenciesUrl, true -} - -// HasDependenciesUrl returns a boolean if a field has been set. -func (o *CondaPackageUpload) HasDependenciesUrl() bool { - if o != nil && o.DependenciesUrl != nil { - return true - } - - return false -} - -// SetDependenciesUrl gets a reference to the given string and assigns it to the DependenciesUrl field. -func (o *CondaPackageUpload) SetDependenciesUrl(v string) { - o.DependenciesUrl = &v -} - -// GetDescription returns the Description field value if set, zero value otherwise. -func (o *CondaPackageUpload) GetDescription() string { - if o == nil || o.Description == nil { - var ret string - return ret - } - return *o.Description -} - -// GetDescriptionOk returns a tuple with the Description field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *CondaPackageUpload) GetDescriptionOk() (*string, bool) { - if o == nil || o.Description == nil { - return nil, false - } - return o.Description, true -} - -// HasDescription returns a boolean if a field has been set. -func (o *CondaPackageUpload) HasDescription() bool { - if o != nil && o.Description != nil { - return true - } - - return false -} - -// SetDescription gets a reference to the given string and assigns it to the Description field. -func (o *CondaPackageUpload) SetDescription(v string) { - o.Description = &v -} - -// GetDistro returns the Distro field value if set, zero value otherwise. -func (o *CondaPackageUpload) GetDistro() map[string]interface{} { - if o == nil || o.Distro == nil { - var ret map[string]interface{} - return ret - } - return o.Distro -} - -// GetDistroOk returns a tuple with the Distro field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *CondaPackageUpload) GetDistroOk() (map[string]interface{}, bool) { - if o == nil || o.Distro == nil { - return nil, false - } - return o.Distro, true -} - -// HasDistro returns a boolean if a field has been set. -func (o *CondaPackageUpload) HasDistro() bool { - if o != nil && o.Distro != nil { - return true - } - - return false -} - -// SetDistro gets a reference to the given map[string]interface{} and assigns it to the Distro field. -func (o *CondaPackageUpload) SetDistro(v map[string]interface{}) { - o.Distro = v -} - -// GetDistroVersion returns the DistroVersion field value if set, zero value otherwise. -func (o *CondaPackageUpload) GetDistroVersion() map[string]interface{} { - if o == nil || o.DistroVersion == nil { - var ret map[string]interface{} - return ret - } - return o.DistroVersion -} - -// GetDistroVersionOk returns a tuple with the DistroVersion field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *CondaPackageUpload) GetDistroVersionOk() (map[string]interface{}, bool) { - if o == nil || o.DistroVersion == nil { - return nil, false - } - return o.DistroVersion, true -} - -// HasDistroVersion returns a boolean if a field has been set. -func (o *CondaPackageUpload) HasDistroVersion() bool { - if o != nil && o.DistroVersion != nil { - return true - } - - return false -} - -// SetDistroVersion gets a reference to the given map[string]interface{} and assigns it to the DistroVersion field. -func (o *CondaPackageUpload) SetDistroVersion(v map[string]interface{}) { - o.DistroVersion = v -} - -// GetDownloads returns the Downloads field value if set, zero value otherwise. -func (o *CondaPackageUpload) GetDownloads() int64 { - if o == nil || o.Downloads == nil { - var ret int64 - return ret - } - return *o.Downloads -} - -// GetDownloadsOk returns a tuple with the Downloads field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *CondaPackageUpload) GetDownloadsOk() (*int64, bool) { - if o == nil || o.Downloads == nil { - return nil, false - } - return o.Downloads, true -} - -// HasDownloads returns a boolean if a field has been set. -func (o *CondaPackageUpload) HasDownloads() bool { - if o != nil && o.Downloads != nil { - return true - } - - return false -} - -// SetDownloads gets a reference to the given int64 and assigns it to the Downloads field. -func (o *CondaPackageUpload) SetDownloads(v int64) { - o.Downloads = &v -} - -// GetEpoch returns the Epoch field value if set, zero value otherwise. -func (o *CondaPackageUpload) GetEpoch() int64 { - if o == nil || o.Epoch == nil { - var ret int64 - return ret - } - return *o.Epoch -} - -// GetEpochOk returns a tuple with the Epoch field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *CondaPackageUpload) GetEpochOk() (*int64, bool) { - if o == nil || o.Epoch == nil { - return nil, false - } - return o.Epoch, true -} - -// HasEpoch returns a boolean if a field has been set. -func (o *CondaPackageUpload) HasEpoch() bool { - if o != nil && o.Epoch != nil { - return true - } - - return false -} - -// SetEpoch gets a reference to the given int64 and assigns it to the Epoch field. -func (o *CondaPackageUpload) SetEpoch(v int64) { - o.Epoch = &v -} - -// GetExtension returns the Extension field value if set, zero value otherwise. -func (o *CondaPackageUpload) GetExtension() string { - if o == nil || o.Extension == nil { - var ret string - return ret - } - return *o.Extension -} - -// GetExtensionOk returns a tuple with the Extension field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *CondaPackageUpload) GetExtensionOk() (*string, bool) { - if o == nil || o.Extension == nil { - return nil, false - } - return o.Extension, true -} - -// HasExtension returns a boolean if a field has been set. -func (o *CondaPackageUpload) HasExtension() bool { - if o != nil && o.Extension != nil { - return true - } - - return false -} - -// SetExtension gets a reference to the given string and assigns it to the Extension field. -func (o *CondaPackageUpload) SetExtension(v string) { - o.Extension = &v -} - -// GetFilename returns the Filename field value if set, zero value otherwise. -func (o *CondaPackageUpload) GetFilename() string { - if o == nil || o.Filename == nil { - var ret string - return ret - } - return *o.Filename -} - -// GetFilenameOk returns a tuple with the Filename field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *CondaPackageUpload) GetFilenameOk() (*string, bool) { - if o == nil || o.Filename == nil { - return nil, false - } - return o.Filename, true -} - -// HasFilename returns a boolean if a field has been set. -func (o *CondaPackageUpload) HasFilename() bool { - if o != nil && o.Filename != nil { - return true - } - - return false -} - -// SetFilename gets a reference to the given string and assigns it to the Filename field. -func (o *CondaPackageUpload) SetFilename(v string) { - o.Filename = &v -} - -// GetFiles returns the Files field value if set, zero value otherwise. -func (o *CondaPackageUpload) GetFiles() []PackagesOwnerRepoFiles { - if o == nil || o.Files == nil { - var ret []PackagesOwnerRepoFiles - return ret - } - return o.Files -} - -// GetFilesOk returns a tuple with the Files field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *CondaPackageUpload) GetFilesOk() ([]PackagesOwnerRepoFiles, bool) { - if o == nil || o.Files == nil { - return nil, false - } - return o.Files, true -} - -// HasFiles returns a boolean if a field has been set. -func (o *CondaPackageUpload) HasFiles() bool { - if o != nil && o.Files != nil { - return true - } - - return false -} - -// SetFiles gets a reference to the given []PackagesOwnerRepoFiles and assigns it to the Files field. -func (o *CondaPackageUpload) SetFiles(v []PackagesOwnerRepoFiles) { - o.Files = v -} - -// GetFormat returns the Format field value if set, zero value otherwise. -func (o *CondaPackageUpload) GetFormat() string { - if o == nil || o.Format == nil { - var ret string - return ret - } - return *o.Format -} - -// GetFormatOk returns a tuple with the Format field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *CondaPackageUpload) GetFormatOk() (*string, bool) { - if o == nil || o.Format == nil { - return nil, false - } - return o.Format, true -} - -// HasFormat returns a boolean if a field has been set. -func (o *CondaPackageUpload) HasFormat() bool { - if o != nil && o.Format != nil { - return true - } - - return false -} - -// SetFormat gets a reference to the given string and assigns it to the Format field. -func (o *CondaPackageUpload) SetFormat(v string) { - o.Format = &v -} - -// GetFormatUrl returns the FormatUrl field value if set, zero value otherwise. -func (o *CondaPackageUpload) GetFormatUrl() string { - if o == nil || o.FormatUrl == nil { - var ret string - return ret - } - return *o.FormatUrl -} - -// GetFormatUrlOk returns a tuple with the FormatUrl field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *CondaPackageUpload) GetFormatUrlOk() (*string, bool) { - if o == nil || o.FormatUrl == nil { - return nil, false - } - return o.FormatUrl, true -} - -// HasFormatUrl returns a boolean if a field has been set. -func (o *CondaPackageUpload) HasFormatUrl() bool { - if o != nil && o.FormatUrl != nil { - return true - } - - return false -} - -// SetFormatUrl gets a reference to the given string and assigns it to the FormatUrl field. -func (o *CondaPackageUpload) SetFormatUrl(v string) { - o.FormatUrl = &v -} - -// GetIdentifierPerm returns the IdentifierPerm field value if set, zero value otherwise. -func (o *CondaPackageUpload) GetIdentifierPerm() string { - if o == nil || o.IdentifierPerm == nil { - var ret string - return ret - } - return *o.IdentifierPerm -} - -// GetIdentifierPermOk returns a tuple with the IdentifierPerm field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *CondaPackageUpload) GetIdentifierPermOk() (*string, bool) { - if o == nil || o.IdentifierPerm == nil { - return nil, false - } - return o.IdentifierPerm, true -} - -// HasIdentifierPerm returns a boolean if a field has been set. -func (o *CondaPackageUpload) HasIdentifierPerm() bool { - if o != nil && o.IdentifierPerm != nil { - return true - } - - return false -} - -// SetIdentifierPerm gets a reference to the given string and assigns it to the IdentifierPerm field. -func (o *CondaPackageUpload) SetIdentifierPerm(v string) { - o.IdentifierPerm = &v -} - -// GetIndexed returns the Indexed field value if set, zero value otherwise. -func (o *CondaPackageUpload) GetIndexed() bool { - if o == nil || o.Indexed == nil { - var ret bool - return ret - } - return *o.Indexed -} - -// GetIndexedOk returns a tuple with the Indexed field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *CondaPackageUpload) GetIndexedOk() (*bool, bool) { - if o == nil || o.Indexed == nil { - return nil, false - } - return o.Indexed, true -} - -// HasIndexed returns a boolean if a field has been set. -func (o *CondaPackageUpload) HasIndexed() bool { - if o != nil && o.Indexed != nil { - return true - } - - return false -} - -// SetIndexed gets a reference to the given bool and assigns it to the Indexed field. -func (o *CondaPackageUpload) SetIndexed(v bool) { - o.Indexed = &v -} - -// GetIsDownloadable returns the IsDownloadable field value if set, zero value otherwise. -func (o *CondaPackageUpload) GetIsDownloadable() bool { - if o == nil || o.IsDownloadable == nil { - var ret bool - return ret - } - return *o.IsDownloadable -} - -// GetIsDownloadableOk returns a tuple with the IsDownloadable field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *CondaPackageUpload) GetIsDownloadableOk() (*bool, bool) { - if o == nil || o.IsDownloadable == nil { - return nil, false - } - return o.IsDownloadable, true -} - -// HasIsDownloadable returns a boolean if a field has been set. -func (o *CondaPackageUpload) HasIsDownloadable() bool { - if o != nil && o.IsDownloadable != nil { - return true - } - - return false -} - -// SetIsDownloadable gets a reference to the given bool and assigns it to the IsDownloadable field. -func (o *CondaPackageUpload) SetIsDownloadable(v bool) { - o.IsDownloadable = &v -} - -// GetIsQuarantined returns the IsQuarantined field value if set, zero value otherwise. -func (o *CondaPackageUpload) GetIsQuarantined() bool { - if o == nil || o.IsQuarantined == nil { - var ret bool - return ret - } - return *o.IsQuarantined -} - -// GetIsQuarantinedOk returns a tuple with the IsQuarantined field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *CondaPackageUpload) GetIsQuarantinedOk() (*bool, bool) { - if o == nil || o.IsQuarantined == nil { - return nil, false - } - return o.IsQuarantined, true -} - -// HasIsQuarantined returns a boolean if a field has been set. -func (o *CondaPackageUpload) HasIsQuarantined() bool { - if o != nil && o.IsQuarantined != nil { - return true - } - - return false -} - -// SetIsQuarantined gets a reference to the given bool and assigns it to the IsQuarantined field. -func (o *CondaPackageUpload) SetIsQuarantined(v bool) { - o.IsQuarantined = &v -} - -// GetIsSyncAwaiting returns the IsSyncAwaiting field value if set, zero value otherwise. -func (o *CondaPackageUpload) GetIsSyncAwaiting() bool { - if o == nil || o.IsSyncAwaiting == nil { - var ret bool - return ret - } - return *o.IsSyncAwaiting -} - -// GetIsSyncAwaitingOk returns a tuple with the IsSyncAwaiting field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *CondaPackageUpload) GetIsSyncAwaitingOk() (*bool, bool) { - if o == nil || o.IsSyncAwaiting == nil { - return nil, false - } - return o.IsSyncAwaiting, true -} - -// HasIsSyncAwaiting returns a boolean if a field has been set. -func (o *CondaPackageUpload) HasIsSyncAwaiting() bool { - if o != nil && o.IsSyncAwaiting != nil { - return true - } - - return false -} - -// SetIsSyncAwaiting gets a reference to the given bool and assigns it to the IsSyncAwaiting field. -func (o *CondaPackageUpload) SetIsSyncAwaiting(v bool) { - o.IsSyncAwaiting = &v -} - -// GetIsSyncCompleted returns the IsSyncCompleted field value if set, zero value otherwise. -func (o *CondaPackageUpload) GetIsSyncCompleted() bool { - if o == nil || o.IsSyncCompleted == nil { - var ret bool - return ret - } - return *o.IsSyncCompleted -} - -// GetIsSyncCompletedOk returns a tuple with the IsSyncCompleted field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *CondaPackageUpload) GetIsSyncCompletedOk() (*bool, bool) { - if o == nil || o.IsSyncCompleted == nil { - return nil, false - } - return o.IsSyncCompleted, true -} - -// HasIsSyncCompleted returns a boolean if a field has been set. -func (o *CondaPackageUpload) HasIsSyncCompleted() bool { - if o != nil && o.IsSyncCompleted != nil { - return true - } - - return false -} - -// SetIsSyncCompleted gets a reference to the given bool and assigns it to the IsSyncCompleted field. -func (o *CondaPackageUpload) SetIsSyncCompleted(v bool) { - o.IsSyncCompleted = &v -} - -// GetIsSyncFailed returns the IsSyncFailed field value if set, zero value otherwise. -func (o *CondaPackageUpload) GetIsSyncFailed() bool { - if o == nil || o.IsSyncFailed == nil { - var ret bool - return ret - } - return *o.IsSyncFailed -} - -// GetIsSyncFailedOk returns a tuple with the IsSyncFailed field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *CondaPackageUpload) GetIsSyncFailedOk() (*bool, bool) { - if o == nil || o.IsSyncFailed == nil { - return nil, false - } - return o.IsSyncFailed, true -} - -// HasIsSyncFailed returns a boolean if a field has been set. -func (o *CondaPackageUpload) HasIsSyncFailed() bool { - if o != nil && o.IsSyncFailed != nil { - return true - } - - return false -} - -// SetIsSyncFailed gets a reference to the given bool and assigns it to the IsSyncFailed field. -func (o *CondaPackageUpload) SetIsSyncFailed(v bool) { - o.IsSyncFailed = &v -} - -// GetIsSyncInFlight returns the IsSyncInFlight field value if set, zero value otherwise. -func (o *CondaPackageUpload) GetIsSyncInFlight() bool { - if o == nil || o.IsSyncInFlight == nil { - var ret bool - return ret - } - return *o.IsSyncInFlight -} - -// GetIsSyncInFlightOk returns a tuple with the IsSyncInFlight field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *CondaPackageUpload) GetIsSyncInFlightOk() (*bool, bool) { - if o == nil || o.IsSyncInFlight == nil { - return nil, false - } - return o.IsSyncInFlight, true -} - -// HasIsSyncInFlight returns a boolean if a field has been set. -func (o *CondaPackageUpload) HasIsSyncInFlight() bool { - if o != nil && o.IsSyncInFlight != nil { - return true - } - - return false -} - -// SetIsSyncInFlight gets a reference to the given bool and assigns it to the IsSyncInFlight field. -func (o *CondaPackageUpload) SetIsSyncInFlight(v bool) { - o.IsSyncInFlight = &v -} - -// GetIsSyncInProgress returns the IsSyncInProgress field value if set, zero value otherwise. -func (o *CondaPackageUpload) GetIsSyncInProgress() bool { - if o == nil || o.IsSyncInProgress == nil { - var ret bool - return ret - } - return *o.IsSyncInProgress -} - -// GetIsSyncInProgressOk returns a tuple with the IsSyncInProgress field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *CondaPackageUpload) GetIsSyncInProgressOk() (*bool, bool) { - if o == nil || o.IsSyncInProgress == nil { - return nil, false - } - return o.IsSyncInProgress, true -} - -// HasIsSyncInProgress returns a boolean if a field has been set. -func (o *CondaPackageUpload) HasIsSyncInProgress() bool { - if o != nil && o.IsSyncInProgress != nil { - return true - } - - return false -} - -// SetIsSyncInProgress gets a reference to the given bool and assigns it to the IsSyncInProgress field. -func (o *CondaPackageUpload) SetIsSyncInProgress(v bool) { - o.IsSyncInProgress = &v -} - -// GetLicense returns the License field value if set, zero value otherwise. -func (o *CondaPackageUpload) GetLicense() string { - if o == nil || o.License == nil { - var ret string - return ret - } - return *o.License -} - -// GetLicenseOk returns a tuple with the License field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *CondaPackageUpload) GetLicenseOk() (*string, bool) { - if o == nil || o.License == nil { - return nil, false - } - return o.License, true -} - -// HasLicense returns a boolean if a field has been set. -func (o *CondaPackageUpload) HasLicense() bool { - if o != nil && o.License != nil { - return true - } - - return false -} - -// SetLicense gets a reference to the given string and assigns it to the License field. -func (o *CondaPackageUpload) SetLicense(v string) { - o.License = &v -} - -// GetName returns the Name field value if set, zero value otherwise. -func (o *CondaPackageUpload) GetName() string { - if o == nil || o.Name == nil { - var ret string - return ret - } - return *o.Name -} - -// GetNameOk returns a tuple with the Name field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *CondaPackageUpload) GetNameOk() (*string, bool) { - if o == nil || o.Name == nil { - return nil, false - } - return o.Name, true -} - -// HasName returns a boolean if a field has been set. -func (o *CondaPackageUpload) HasName() bool { - if o != nil && o.Name != nil { - return true - } - - return false -} - -// SetName gets a reference to the given string and assigns it to the Name field. -func (o *CondaPackageUpload) SetName(v string) { - o.Name = &v -} - -// GetNamespace returns the Namespace field value if set, zero value otherwise. -func (o *CondaPackageUpload) GetNamespace() string { - if o == nil || o.Namespace == nil { - var ret string - return ret - } - return *o.Namespace -} - -// GetNamespaceOk returns a tuple with the Namespace field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *CondaPackageUpload) GetNamespaceOk() (*string, bool) { - if o == nil || o.Namespace == nil { - return nil, false - } - return o.Namespace, true -} - -// HasNamespace returns a boolean if a field has been set. -func (o *CondaPackageUpload) HasNamespace() bool { - if o != nil && o.Namespace != nil { - return true - } - - return false -} - -// SetNamespace gets a reference to the given string and assigns it to the Namespace field. -func (o *CondaPackageUpload) SetNamespace(v string) { - o.Namespace = &v -} - -// GetNamespaceUrl returns the NamespaceUrl field value if set, zero value otherwise. -func (o *CondaPackageUpload) GetNamespaceUrl() string { - if o == nil || o.NamespaceUrl == nil { - var ret string - return ret - } - return *o.NamespaceUrl -} - -// GetNamespaceUrlOk returns a tuple with the NamespaceUrl field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *CondaPackageUpload) GetNamespaceUrlOk() (*string, bool) { - if o == nil || o.NamespaceUrl == nil { - return nil, false - } - return o.NamespaceUrl, true -} - -// HasNamespaceUrl returns a boolean if a field has been set. -func (o *CondaPackageUpload) HasNamespaceUrl() bool { - if o != nil && o.NamespaceUrl != nil { - return true - } - - return false -} - -// SetNamespaceUrl gets a reference to the given string and assigns it to the NamespaceUrl field. -func (o *CondaPackageUpload) SetNamespaceUrl(v string) { - o.NamespaceUrl = &v -} - -// GetNumFiles returns the NumFiles field value if set, zero value otherwise. -func (o *CondaPackageUpload) GetNumFiles() int64 { - if o == nil || o.NumFiles == nil { - var ret int64 - return ret - } - return *o.NumFiles -} - -// GetNumFilesOk returns a tuple with the NumFiles field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *CondaPackageUpload) GetNumFilesOk() (*int64, bool) { - if o == nil || o.NumFiles == nil { - return nil, false - } - return o.NumFiles, true -} - -// HasNumFiles returns a boolean if a field has been set. -func (o *CondaPackageUpload) HasNumFiles() bool { - if o != nil && o.NumFiles != nil { - return true - } - - return false -} - -// SetNumFiles gets a reference to the given int64 and assigns it to the NumFiles field. -func (o *CondaPackageUpload) SetNumFiles(v int64) { - o.NumFiles = &v -} - -// GetPackageType returns the PackageType field value if set, zero value otherwise. -func (o *CondaPackageUpload) GetPackageType() int64 { - if o == nil || o.PackageType == nil { - var ret int64 - return ret - } - return *o.PackageType -} - -// GetPackageTypeOk returns a tuple with the PackageType field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *CondaPackageUpload) GetPackageTypeOk() (*int64, bool) { - if o == nil || o.PackageType == nil { - return nil, false - } - return o.PackageType, true -} - -// HasPackageType returns a boolean if a field has been set. -func (o *CondaPackageUpload) HasPackageType() bool { - if o != nil && o.PackageType != nil { - return true - } - - return false -} - -// SetPackageType gets a reference to the given int64 and assigns it to the PackageType field. -func (o *CondaPackageUpload) SetPackageType(v int64) { - o.PackageType = &v -} - -// GetRelease returns the Release field value if set, zero value otherwise. -func (o *CondaPackageUpload) GetRelease() string { - if o == nil || o.Release == nil { - var ret string - return ret - } - return *o.Release -} - -// GetReleaseOk returns a tuple with the Release field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *CondaPackageUpload) GetReleaseOk() (*string, bool) { - if o == nil || o.Release == nil { - return nil, false - } - return o.Release, true -} - -// HasRelease returns a boolean if a field has been set. -func (o *CondaPackageUpload) HasRelease() bool { - if o != nil && o.Release != nil { - return true - } - - return false -} - -// SetRelease gets a reference to the given string and assigns it to the Release field. -func (o *CondaPackageUpload) SetRelease(v string) { - o.Release = &v -} - -// GetRepository returns the Repository field value if set, zero value otherwise. -func (o *CondaPackageUpload) GetRepository() string { - if o == nil || o.Repository == nil { - var ret string - return ret - } - return *o.Repository -} - -// GetRepositoryOk returns a tuple with the Repository field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *CondaPackageUpload) GetRepositoryOk() (*string, bool) { - if o == nil || o.Repository == nil { - return nil, false - } - return o.Repository, true -} - -// HasRepository returns a boolean if a field has been set. -func (o *CondaPackageUpload) HasRepository() bool { - if o != nil && o.Repository != nil { - return true - } - - return false -} - -// SetRepository gets a reference to the given string and assigns it to the Repository field. -func (o *CondaPackageUpload) SetRepository(v string) { - o.Repository = &v -} - -// GetRepositoryUrl returns the RepositoryUrl field value if set, zero value otherwise. -func (o *CondaPackageUpload) GetRepositoryUrl() string { - if o == nil || o.RepositoryUrl == nil { - var ret string - return ret - } - return *o.RepositoryUrl -} - -// GetRepositoryUrlOk returns a tuple with the RepositoryUrl field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *CondaPackageUpload) GetRepositoryUrlOk() (*string, bool) { - if o == nil || o.RepositoryUrl == nil { - return nil, false - } - return o.RepositoryUrl, true -} - -// HasRepositoryUrl returns a boolean if a field has been set. -func (o *CondaPackageUpload) HasRepositoryUrl() bool { - if o != nil && o.RepositoryUrl != nil { - return true - } - - return false -} - -// SetRepositoryUrl gets a reference to the given string and assigns it to the RepositoryUrl field. -func (o *CondaPackageUpload) SetRepositoryUrl(v string) { - o.RepositoryUrl = &v -} - -// GetSecurityScanCompletedAt returns the SecurityScanCompletedAt field value if set, zero value otherwise. -func (o *CondaPackageUpload) GetSecurityScanCompletedAt() string { - if o == nil || o.SecurityScanCompletedAt == nil { - var ret string - return ret - } - return *o.SecurityScanCompletedAt -} - -// GetSecurityScanCompletedAtOk returns a tuple with the SecurityScanCompletedAt field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *CondaPackageUpload) GetSecurityScanCompletedAtOk() (*string, bool) { - if o == nil || o.SecurityScanCompletedAt == nil { - return nil, false - } - return o.SecurityScanCompletedAt, true -} - -// HasSecurityScanCompletedAt returns a boolean if a field has been set. -func (o *CondaPackageUpload) HasSecurityScanCompletedAt() bool { - if o != nil && o.SecurityScanCompletedAt != nil { - return true - } - - return false -} - -// SetSecurityScanCompletedAt gets a reference to the given string and assigns it to the SecurityScanCompletedAt field. -func (o *CondaPackageUpload) SetSecurityScanCompletedAt(v string) { - o.SecurityScanCompletedAt = &v -} - -// GetSecurityScanStartedAt returns the SecurityScanStartedAt field value if set, zero value otherwise. -func (o *CondaPackageUpload) GetSecurityScanStartedAt() string { - if o == nil || o.SecurityScanStartedAt == nil { - var ret string - return ret - } - return *o.SecurityScanStartedAt -} - -// GetSecurityScanStartedAtOk returns a tuple with the SecurityScanStartedAt field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *CondaPackageUpload) GetSecurityScanStartedAtOk() (*string, bool) { - if o == nil || o.SecurityScanStartedAt == nil { - return nil, false - } - return o.SecurityScanStartedAt, true -} - -// HasSecurityScanStartedAt returns a boolean if a field has been set. -func (o *CondaPackageUpload) HasSecurityScanStartedAt() bool { - if o != nil && o.SecurityScanStartedAt != nil { - return true - } - - return false -} - -// SetSecurityScanStartedAt gets a reference to the given string and assigns it to the SecurityScanStartedAt field. -func (o *CondaPackageUpload) SetSecurityScanStartedAt(v string) { - o.SecurityScanStartedAt = &v -} - -// GetSecurityScanStatus returns the SecurityScanStatus field value if set, zero value otherwise. -func (o *CondaPackageUpload) GetSecurityScanStatus() string { - if o == nil || o.SecurityScanStatus == nil { - var ret string - return ret - } - return *o.SecurityScanStatus -} - -// GetSecurityScanStatusOk returns a tuple with the SecurityScanStatus field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *CondaPackageUpload) GetSecurityScanStatusOk() (*string, bool) { - if o == nil || o.SecurityScanStatus == nil { - return nil, false - } - return o.SecurityScanStatus, true -} - -// HasSecurityScanStatus returns a boolean if a field has been set. -func (o *CondaPackageUpload) HasSecurityScanStatus() bool { - if o != nil && o.SecurityScanStatus != nil { - return true - } - - return false -} - -// SetSecurityScanStatus gets a reference to the given string and assigns it to the SecurityScanStatus field. -func (o *CondaPackageUpload) SetSecurityScanStatus(v string) { - o.SecurityScanStatus = &v -} - -// GetSecurityScanStatusUpdatedAt returns the SecurityScanStatusUpdatedAt field value if set, zero value otherwise. -func (o *CondaPackageUpload) GetSecurityScanStatusUpdatedAt() string { - if o == nil || o.SecurityScanStatusUpdatedAt == nil { - var ret string - return ret - } - return *o.SecurityScanStatusUpdatedAt -} - -// GetSecurityScanStatusUpdatedAtOk returns a tuple with the SecurityScanStatusUpdatedAt field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *CondaPackageUpload) GetSecurityScanStatusUpdatedAtOk() (*string, bool) { - if o == nil || o.SecurityScanStatusUpdatedAt == nil { - return nil, false - } - return o.SecurityScanStatusUpdatedAt, true -} - -// HasSecurityScanStatusUpdatedAt returns a boolean if a field has been set. -func (o *CondaPackageUpload) HasSecurityScanStatusUpdatedAt() bool { - if o != nil && o.SecurityScanStatusUpdatedAt != nil { - return true - } - - return false -} - -// SetSecurityScanStatusUpdatedAt gets a reference to the given string and assigns it to the SecurityScanStatusUpdatedAt field. -func (o *CondaPackageUpload) SetSecurityScanStatusUpdatedAt(v string) { - o.SecurityScanStatusUpdatedAt = &v -} - -// GetSelfHtmlUrl returns the SelfHtmlUrl field value if set, zero value otherwise. -func (o *CondaPackageUpload) GetSelfHtmlUrl() string { - if o == nil || o.SelfHtmlUrl == nil { - var ret string - return ret - } - return *o.SelfHtmlUrl -} - -// GetSelfHtmlUrlOk returns a tuple with the SelfHtmlUrl field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *CondaPackageUpload) GetSelfHtmlUrlOk() (*string, bool) { - if o == nil || o.SelfHtmlUrl == nil { - return nil, false - } - return o.SelfHtmlUrl, true -} - -// HasSelfHtmlUrl returns a boolean if a field has been set. -func (o *CondaPackageUpload) HasSelfHtmlUrl() bool { - if o != nil && o.SelfHtmlUrl != nil { - return true - } - - return false -} - -// SetSelfHtmlUrl gets a reference to the given string and assigns it to the SelfHtmlUrl field. -func (o *CondaPackageUpload) SetSelfHtmlUrl(v string) { - o.SelfHtmlUrl = &v -} - -// GetSelfUrl returns the SelfUrl field value if set, zero value otherwise. -func (o *CondaPackageUpload) GetSelfUrl() string { - if o == nil || o.SelfUrl == nil { - var ret string - return ret - } - return *o.SelfUrl -} - -// GetSelfUrlOk returns a tuple with the SelfUrl field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *CondaPackageUpload) GetSelfUrlOk() (*string, bool) { - if o == nil || o.SelfUrl == nil { - return nil, false - } - return o.SelfUrl, true -} - -// HasSelfUrl returns a boolean if a field has been set. -func (o *CondaPackageUpload) HasSelfUrl() bool { - if o != nil && o.SelfUrl != nil { - return true - } - - return false -} - -// SetSelfUrl gets a reference to the given string and assigns it to the SelfUrl field. -func (o *CondaPackageUpload) SetSelfUrl(v string) { - o.SelfUrl = &v -} - -// GetSignatureUrl returns the SignatureUrl field value if set, zero value otherwise. -func (o *CondaPackageUpload) GetSignatureUrl() string { - if o == nil || o.SignatureUrl == nil { - var ret string - return ret - } - return *o.SignatureUrl -} - -// GetSignatureUrlOk returns a tuple with the SignatureUrl field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *CondaPackageUpload) GetSignatureUrlOk() (*string, bool) { - if o == nil || o.SignatureUrl == nil { - return nil, false - } - return o.SignatureUrl, true -} - -// HasSignatureUrl returns a boolean if a field has been set. -func (o *CondaPackageUpload) HasSignatureUrl() bool { - if o != nil && o.SignatureUrl != nil { - return true - } - - return false -} - -// SetSignatureUrl gets a reference to the given string and assigns it to the SignatureUrl field. -func (o *CondaPackageUpload) SetSignatureUrl(v string) { - o.SignatureUrl = &v -} - -// GetSize returns the Size field value if set, zero value otherwise. -func (o *CondaPackageUpload) GetSize() int64 { - if o == nil || o.Size == nil { - var ret int64 - return ret - } - return *o.Size -} - -// GetSizeOk returns a tuple with the Size field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *CondaPackageUpload) GetSizeOk() (*int64, bool) { - if o == nil || o.Size == nil { - return nil, false - } - return o.Size, true -} - -// HasSize returns a boolean if a field has been set. -func (o *CondaPackageUpload) HasSize() bool { - if o != nil && o.Size != nil { - return true - } - - return false -} - -// SetSize gets a reference to the given int64 and assigns it to the Size field. -func (o *CondaPackageUpload) SetSize(v int64) { - o.Size = &v -} - -// GetSlug returns the Slug field value if set, zero value otherwise. -func (o *CondaPackageUpload) GetSlug() string { - if o == nil || o.Slug == nil { - var ret string - return ret - } - return *o.Slug -} - -// GetSlugOk returns a tuple with the Slug field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *CondaPackageUpload) GetSlugOk() (*string, bool) { - if o == nil || o.Slug == nil { - return nil, false - } - return o.Slug, true -} - -// HasSlug returns a boolean if a field has been set. -func (o *CondaPackageUpload) HasSlug() bool { - if o != nil && o.Slug != nil { - return true - } - - return false -} - -// SetSlug gets a reference to the given string and assigns it to the Slug field. -func (o *CondaPackageUpload) SetSlug(v string) { - o.Slug = &v -} - -// GetSlugPerm returns the SlugPerm field value if set, zero value otherwise. -func (o *CondaPackageUpload) GetSlugPerm() string { - if o == nil || o.SlugPerm == nil { - var ret string - return ret - } - return *o.SlugPerm -} - -// GetSlugPermOk returns a tuple with the SlugPerm field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *CondaPackageUpload) GetSlugPermOk() (*string, bool) { - if o == nil || o.SlugPerm == nil { - return nil, false - } - return o.SlugPerm, true -} - -// HasSlugPerm returns a boolean if a field has been set. -func (o *CondaPackageUpload) HasSlugPerm() bool { - if o != nil && o.SlugPerm != nil { - return true - } - - return false -} - -// SetSlugPerm gets a reference to the given string and assigns it to the SlugPerm field. -func (o *CondaPackageUpload) SetSlugPerm(v string) { - o.SlugPerm = &v -} - -// GetStage returns the Stage field value if set, zero value otherwise. -func (o *CondaPackageUpload) GetStage() int64 { - if o == nil || o.Stage == nil { - var ret int64 - return ret - } - return *o.Stage -} - -// GetStageOk returns a tuple with the Stage field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *CondaPackageUpload) GetStageOk() (*int64, bool) { - if o == nil || o.Stage == nil { - return nil, false - } - return o.Stage, true -} - -// HasStage returns a boolean if a field has been set. -func (o *CondaPackageUpload) HasStage() bool { - if o != nil && o.Stage != nil { - return true - } - - return false -} - -// SetStage gets a reference to the given int64 and assigns it to the Stage field. -func (o *CondaPackageUpload) SetStage(v int64) { - o.Stage = &v -} - -// GetStageStr returns the StageStr field value if set, zero value otherwise. -func (o *CondaPackageUpload) GetStageStr() string { - if o == nil || o.StageStr == nil { - var ret string - return ret - } - return *o.StageStr -} - -// GetStageStrOk returns a tuple with the StageStr field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *CondaPackageUpload) GetStageStrOk() (*string, bool) { - if o == nil || o.StageStr == nil { - return nil, false - } - return o.StageStr, true -} - -// HasStageStr returns a boolean if a field has been set. -func (o *CondaPackageUpload) HasStageStr() bool { - if o != nil && o.StageStr != nil { - return true - } - - return false -} - -// SetStageStr gets a reference to the given string and assigns it to the StageStr field. -func (o *CondaPackageUpload) SetStageStr(v string) { - o.StageStr = &v -} - -// GetStageUpdatedAt returns the StageUpdatedAt field value if set, zero value otherwise. -func (o *CondaPackageUpload) GetStageUpdatedAt() string { - if o == nil || o.StageUpdatedAt == nil { - var ret string - return ret - } - return *o.StageUpdatedAt -} - -// GetStageUpdatedAtOk returns a tuple with the StageUpdatedAt field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *CondaPackageUpload) GetStageUpdatedAtOk() (*string, bool) { - if o == nil || o.StageUpdatedAt == nil { - return nil, false - } - return o.StageUpdatedAt, true -} - -// HasStageUpdatedAt returns a boolean if a field has been set. -func (o *CondaPackageUpload) HasStageUpdatedAt() bool { - if o != nil && o.StageUpdatedAt != nil { - return true - } - - return false -} - -// SetStageUpdatedAt gets a reference to the given string and assigns it to the StageUpdatedAt field. -func (o *CondaPackageUpload) SetStageUpdatedAt(v string) { - o.StageUpdatedAt = &v -} - -// GetStatus returns the Status field value if set, zero value otherwise. -func (o *CondaPackageUpload) GetStatus() int64 { - if o == nil || o.Status == nil { - var ret int64 - return ret - } - return *o.Status -} - -// GetStatusOk returns a tuple with the Status field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *CondaPackageUpload) GetStatusOk() (*int64, bool) { - if o == nil || o.Status == nil { - return nil, false - } - return o.Status, true -} - -// HasStatus returns a boolean if a field has been set. -func (o *CondaPackageUpload) HasStatus() bool { - if o != nil && o.Status != nil { - return true - } - - return false -} - -// SetStatus gets a reference to the given int64 and assigns it to the Status field. -func (o *CondaPackageUpload) SetStatus(v int64) { - o.Status = &v -} - -// GetStatusReason returns the StatusReason field value if set, zero value otherwise. -func (o *CondaPackageUpload) GetStatusReason() string { - if o == nil || o.StatusReason == nil { - var ret string - return ret - } - return *o.StatusReason -} - -// GetStatusReasonOk returns a tuple with the StatusReason field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *CondaPackageUpload) GetStatusReasonOk() (*string, bool) { - if o == nil || o.StatusReason == nil { - return nil, false - } - return o.StatusReason, true -} - -// HasStatusReason returns a boolean if a field has been set. -func (o *CondaPackageUpload) HasStatusReason() bool { - if o != nil && o.StatusReason != nil { - return true - } - - return false -} - -// SetStatusReason gets a reference to the given string and assigns it to the StatusReason field. -func (o *CondaPackageUpload) SetStatusReason(v string) { - o.StatusReason = &v -} - -// GetStatusStr returns the StatusStr field value if set, zero value otherwise. -func (o *CondaPackageUpload) GetStatusStr() string { - if o == nil || o.StatusStr == nil { - var ret string - return ret - } - return *o.StatusStr -} - -// GetStatusStrOk returns a tuple with the StatusStr field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *CondaPackageUpload) GetStatusStrOk() (*string, bool) { - if o == nil || o.StatusStr == nil { - return nil, false - } - return o.StatusStr, true -} - -// HasStatusStr returns a boolean if a field has been set. -func (o *CondaPackageUpload) HasStatusStr() bool { - if o != nil && o.StatusStr != nil { - return true - } - - return false -} - -// SetStatusStr gets a reference to the given string and assigns it to the StatusStr field. -func (o *CondaPackageUpload) SetStatusStr(v string) { - o.StatusStr = &v -} - -// GetStatusUpdatedAt returns the StatusUpdatedAt field value if set, zero value otherwise. -func (o *CondaPackageUpload) GetStatusUpdatedAt() string { - if o == nil || o.StatusUpdatedAt == nil { - var ret string - return ret - } - return *o.StatusUpdatedAt -} - -// GetStatusUpdatedAtOk returns a tuple with the StatusUpdatedAt field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *CondaPackageUpload) GetStatusUpdatedAtOk() (*string, bool) { - if o == nil || o.StatusUpdatedAt == nil { - return nil, false - } - return o.StatusUpdatedAt, true -} - -// HasStatusUpdatedAt returns a boolean if a field has been set. -func (o *CondaPackageUpload) HasStatusUpdatedAt() bool { - if o != nil && o.StatusUpdatedAt != nil { - return true - } - - return false -} - -// SetStatusUpdatedAt gets a reference to the given string and assigns it to the StatusUpdatedAt field. -func (o *CondaPackageUpload) SetStatusUpdatedAt(v string) { - o.StatusUpdatedAt = &v -} - -// GetStatusUrl returns the StatusUrl field value if set, zero value otherwise. -func (o *CondaPackageUpload) GetStatusUrl() string { - if o == nil || o.StatusUrl == nil { - var ret string - return ret - } - return *o.StatusUrl -} - -// GetStatusUrlOk returns a tuple with the StatusUrl field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *CondaPackageUpload) GetStatusUrlOk() (*string, bool) { - if o == nil || o.StatusUrl == nil { - return nil, false - } - return o.StatusUrl, true -} - -// HasStatusUrl returns a boolean if a field has been set. -func (o *CondaPackageUpload) HasStatusUrl() bool { - if o != nil && o.StatusUrl != nil { - return true - } - - return false -} - -// SetStatusUrl gets a reference to the given string and assigns it to the StatusUrl field. -func (o *CondaPackageUpload) SetStatusUrl(v string) { - o.StatusUrl = &v -} - -// GetSubtype returns the Subtype field value if set, zero value otherwise. -func (o *CondaPackageUpload) GetSubtype() string { - if o == nil || o.Subtype == nil { - var ret string - return ret - } - return *o.Subtype -} - -// GetSubtypeOk returns a tuple with the Subtype field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *CondaPackageUpload) GetSubtypeOk() (*string, bool) { - if o == nil || o.Subtype == nil { - return nil, false - } - return o.Subtype, true -} - -// HasSubtype returns a boolean if a field has been set. -func (o *CondaPackageUpload) HasSubtype() bool { - if o != nil && o.Subtype != nil { - return true - } - - return false -} - -// SetSubtype gets a reference to the given string and assigns it to the Subtype field. -func (o *CondaPackageUpload) SetSubtype(v string) { - o.Subtype = &v -} - -// GetSummary returns the Summary field value if set, zero value otherwise. -func (o *CondaPackageUpload) GetSummary() string { - if o == nil || o.Summary == nil { - var ret string - return ret - } - return *o.Summary -} - -// GetSummaryOk returns a tuple with the Summary field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *CondaPackageUpload) GetSummaryOk() (*string, bool) { - if o == nil || o.Summary == nil { - return nil, false - } - return o.Summary, true -} - -// HasSummary returns a boolean if a field has been set. -func (o *CondaPackageUpload) HasSummary() bool { - if o != nil && o.Summary != nil { - return true - } - - return false -} - -// SetSummary gets a reference to the given string and assigns it to the Summary field. -func (o *CondaPackageUpload) SetSummary(v string) { - o.Summary = &v -} - -// GetSyncFinishedAt returns the SyncFinishedAt field value if set, zero value otherwise. -func (o *CondaPackageUpload) GetSyncFinishedAt() string { - if o == nil || o.SyncFinishedAt == nil { - var ret string - return ret - } - return *o.SyncFinishedAt -} - -// GetSyncFinishedAtOk returns a tuple with the SyncFinishedAt field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *CondaPackageUpload) GetSyncFinishedAtOk() (*string, bool) { - if o == nil || o.SyncFinishedAt == nil { - return nil, false - } - return o.SyncFinishedAt, true -} - -// HasSyncFinishedAt returns a boolean if a field has been set. -func (o *CondaPackageUpload) HasSyncFinishedAt() bool { - if o != nil && o.SyncFinishedAt != nil { - return true - } - - return false -} - -// SetSyncFinishedAt gets a reference to the given string and assigns it to the SyncFinishedAt field. -func (o *CondaPackageUpload) SetSyncFinishedAt(v string) { - o.SyncFinishedAt = &v -} - -// GetSyncProgress returns the SyncProgress field value if set, zero value otherwise. -func (o *CondaPackageUpload) GetSyncProgress() int64 { - if o == nil || o.SyncProgress == nil { - var ret int64 - return ret - } - return *o.SyncProgress -} - -// GetSyncProgressOk returns a tuple with the SyncProgress field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *CondaPackageUpload) GetSyncProgressOk() (*int64, bool) { - if o == nil || o.SyncProgress == nil { - return nil, false - } - return o.SyncProgress, true -} - -// HasSyncProgress returns a boolean if a field has been set. -func (o *CondaPackageUpload) HasSyncProgress() bool { - if o != nil && o.SyncProgress != nil { - return true - } - - return false -} - -// SetSyncProgress gets a reference to the given int64 and assigns it to the SyncProgress field. -func (o *CondaPackageUpload) SetSyncProgress(v int64) { - o.SyncProgress = &v -} - -// GetTagsImmutable returns the TagsImmutable field value if set, zero value otherwise. -func (o *CondaPackageUpload) GetTagsImmutable() map[string]interface{} { - if o == nil || o.TagsImmutable == nil { - var ret map[string]interface{} - return ret - } - return o.TagsImmutable -} - -// GetTagsImmutableOk returns a tuple with the TagsImmutable field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *CondaPackageUpload) GetTagsImmutableOk() (map[string]interface{}, bool) { - if o == nil || o.TagsImmutable == nil { - return nil, false - } - return o.TagsImmutable, true -} - -// HasTagsImmutable returns a boolean if a field has been set. -func (o *CondaPackageUpload) HasTagsImmutable() bool { - if o != nil && o.TagsImmutable != nil { - return true - } - - return false -} - -// SetTagsImmutable gets a reference to the given map[string]interface{} and assigns it to the TagsImmutable field. -func (o *CondaPackageUpload) SetTagsImmutable(v map[string]interface{}) { - o.TagsImmutable = v -} - -// GetTypeDisplay returns the TypeDisplay field value if set, zero value otherwise. -func (o *CondaPackageUpload) GetTypeDisplay() string { - if o == nil || o.TypeDisplay == nil { - var ret string - return ret - } - return *o.TypeDisplay -} - -// GetTypeDisplayOk returns a tuple with the TypeDisplay field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *CondaPackageUpload) GetTypeDisplayOk() (*string, bool) { - if o == nil || o.TypeDisplay == nil { - return nil, false - } - return o.TypeDisplay, true -} - -// HasTypeDisplay returns a boolean if a field has been set. -func (o *CondaPackageUpload) HasTypeDisplay() bool { - if o != nil && o.TypeDisplay != nil { - return true - } - - return false -} - -// SetTypeDisplay gets a reference to the given string and assigns it to the TypeDisplay field. -func (o *CondaPackageUpload) SetTypeDisplay(v string) { - o.TypeDisplay = &v -} - -// GetUploadedAt returns the UploadedAt field value if set, zero value otherwise. -func (o *CondaPackageUpload) GetUploadedAt() string { - if o == nil || o.UploadedAt == nil { - var ret string - return ret - } - return *o.UploadedAt -} - -// GetUploadedAtOk returns a tuple with the UploadedAt field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *CondaPackageUpload) GetUploadedAtOk() (*string, bool) { - if o == nil || o.UploadedAt == nil { - return nil, false - } - return o.UploadedAt, true -} - -// HasUploadedAt returns a boolean if a field has been set. -func (o *CondaPackageUpload) HasUploadedAt() bool { - if o != nil && o.UploadedAt != nil { - return true - } - - return false -} - -// SetUploadedAt gets a reference to the given string and assigns it to the UploadedAt field. -func (o *CondaPackageUpload) SetUploadedAt(v string) { - o.UploadedAt = &v -} - -// GetUploader returns the Uploader field value if set, zero value otherwise. -func (o *CondaPackageUpload) GetUploader() string { - if o == nil || o.Uploader == nil { - var ret string - return ret - } - return *o.Uploader -} - -// GetUploaderOk returns a tuple with the Uploader field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *CondaPackageUpload) GetUploaderOk() (*string, bool) { - if o == nil || o.Uploader == nil { - return nil, false - } - return o.Uploader, true -} - -// HasUploader returns a boolean if a field has been set. -func (o *CondaPackageUpload) HasUploader() bool { - if o != nil && o.Uploader != nil { - return true - } - - return false -} - -// SetUploader gets a reference to the given string and assigns it to the Uploader field. -func (o *CondaPackageUpload) SetUploader(v string) { - o.Uploader = &v -} - -// GetUploaderUrl returns the UploaderUrl field value if set, zero value otherwise. -func (o *CondaPackageUpload) GetUploaderUrl() string { - if o == nil || o.UploaderUrl == nil { - var ret string - return ret - } - return *o.UploaderUrl -} - -// GetUploaderUrlOk returns a tuple with the UploaderUrl field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *CondaPackageUpload) GetUploaderUrlOk() (*string, bool) { - if o == nil || o.UploaderUrl == nil { - return nil, false - } - return o.UploaderUrl, true -} - -// HasUploaderUrl returns a boolean if a field has been set. -func (o *CondaPackageUpload) HasUploaderUrl() bool { - if o != nil && o.UploaderUrl != nil { - return true - } - - return false -} - -// SetUploaderUrl gets a reference to the given string and assigns it to the UploaderUrl field. -func (o *CondaPackageUpload) SetUploaderUrl(v string) { - o.UploaderUrl = &v -} - -// GetVersion returns the Version field value if set, zero value otherwise. -func (o *CondaPackageUpload) GetVersion() string { - if o == nil || o.Version == nil { - var ret string - return ret - } - return *o.Version -} - -// GetVersionOk returns a tuple with the Version field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *CondaPackageUpload) GetVersionOk() (*string, bool) { - if o == nil || o.Version == nil { - return nil, false - } - return o.Version, true -} - -// HasVersion returns a boolean if a field has been set. -func (o *CondaPackageUpload) HasVersion() bool { - if o != nil && o.Version != nil { - return true - } - - return false -} - -// SetVersion gets a reference to the given string and assigns it to the Version field. -func (o *CondaPackageUpload) SetVersion(v string) { - o.Version = &v -} - -// GetVersionOrig returns the VersionOrig field value if set, zero value otherwise. -func (o *CondaPackageUpload) GetVersionOrig() string { - if o == nil || o.VersionOrig == nil { - var ret string - return ret - } - return *o.VersionOrig -} - -// GetVersionOrigOk returns a tuple with the VersionOrig field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *CondaPackageUpload) GetVersionOrigOk() (*string, bool) { - if o == nil || o.VersionOrig == nil { - return nil, false - } - return o.VersionOrig, true -} - -// HasVersionOrig returns a boolean if a field has been set. -func (o *CondaPackageUpload) HasVersionOrig() bool { - if o != nil && o.VersionOrig != nil { - return true - } - - return false -} - -// SetVersionOrig gets a reference to the given string and assigns it to the VersionOrig field. -func (o *CondaPackageUpload) SetVersionOrig(v string) { - o.VersionOrig = &v -} - -// GetVulnerabilityScanResultsUrl returns the VulnerabilityScanResultsUrl field value if set, zero value otherwise. -func (o *CondaPackageUpload) GetVulnerabilityScanResultsUrl() string { - if o == nil || o.VulnerabilityScanResultsUrl == nil { - var ret string - return ret - } - return *o.VulnerabilityScanResultsUrl -} - -// GetVulnerabilityScanResultsUrlOk returns a tuple with the VulnerabilityScanResultsUrl field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *CondaPackageUpload) GetVulnerabilityScanResultsUrlOk() (*string, bool) { - if o == nil || o.VulnerabilityScanResultsUrl == nil { - return nil, false - } - return o.VulnerabilityScanResultsUrl, true -} - -// HasVulnerabilityScanResultsUrl returns a boolean if a field has been set. -func (o *CondaPackageUpload) HasVulnerabilityScanResultsUrl() bool { - if o != nil && o.VulnerabilityScanResultsUrl != nil { - return true - } - - return false -} - -// SetVulnerabilityScanResultsUrl gets a reference to the given string and assigns it to the VulnerabilityScanResultsUrl field. -func (o *CondaPackageUpload) SetVulnerabilityScanResultsUrl(v string) { - o.VulnerabilityScanResultsUrl = &v -} - -func (o CondaPackageUpload) MarshalJSON() ([]byte, error) { - toSerialize := map[string]interface{}{} - if o.Architectures != nil { - toSerialize["architectures"] = o.Architectures - } - if o.CdnUrl != nil { - toSerialize["cdn_url"] = o.CdnUrl - } - if o.ChecksumMd5 != nil { - toSerialize["checksum_md5"] = o.ChecksumMd5 - } - if o.ChecksumSha1 != nil { - toSerialize["checksum_sha1"] = o.ChecksumSha1 - } - if o.ChecksumSha256 != nil { - toSerialize["checksum_sha256"] = o.ChecksumSha256 - } - if o.ChecksumSha512 != nil { - toSerialize["checksum_sha512"] = o.ChecksumSha512 - } - if o.DependenciesChecksumMd5 != nil { - toSerialize["dependencies_checksum_md5"] = o.DependenciesChecksumMd5 - } - if o.DependenciesUrl != nil { - toSerialize["dependencies_url"] = o.DependenciesUrl - } - if o.Description != nil { - toSerialize["description"] = o.Description - } - if o.Distro != nil { - toSerialize["distro"] = o.Distro - } - if o.DistroVersion != nil { - toSerialize["distro_version"] = o.DistroVersion - } - if o.Downloads != nil { - toSerialize["downloads"] = o.Downloads - } - if o.Epoch != nil { - toSerialize["epoch"] = o.Epoch - } - if o.Extension != nil { - toSerialize["extension"] = o.Extension - } - if o.Filename != nil { - toSerialize["filename"] = o.Filename - } - if o.Files != nil { - toSerialize["files"] = o.Files - } - if o.Format != nil { - toSerialize["format"] = o.Format - } - if o.FormatUrl != nil { - toSerialize["format_url"] = o.FormatUrl - } - if o.IdentifierPerm != nil { - toSerialize["identifier_perm"] = o.IdentifierPerm - } - if o.Indexed != nil { - toSerialize["indexed"] = o.Indexed - } - if o.IsDownloadable != nil { - toSerialize["is_downloadable"] = o.IsDownloadable - } - if o.IsQuarantined != nil { - toSerialize["is_quarantined"] = o.IsQuarantined - } - if o.IsSyncAwaiting != nil { - toSerialize["is_sync_awaiting"] = o.IsSyncAwaiting - } - if o.IsSyncCompleted != nil { - toSerialize["is_sync_completed"] = o.IsSyncCompleted - } - if o.IsSyncFailed != nil { - toSerialize["is_sync_failed"] = o.IsSyncFailed - } - if o.IsSyncInFlight != nil { - toSerialize["is_sync_in_flight"] = o.IsSyncInFlight - } - if o.IsSyncInProgress != nil { - toSerialize["is_sync_in_progress"] = o.IsSyncInProgress - } - if o.License != nil { - toSerialize["license"] = o.License - } - if o.Name != nil { - toSerialize["name"] = o.Name - } - if o.Namespace != nil { - toSerialize["namespace"] = o.Namespace - } - if o.NamespaceUrl != nil { - toSerialize["namespace_url"] = o.NamespaceUrl - } - if o.NumFiles != nil { - toSerialize["num_files"] = o.NumFiles - } - if o.PackageType != nil { - toSerialize["package_type"] = o.PackageType - } - if o.Release != nil { - toSerialize["release"] = o.Release - } - if o.Repository != nil { - toSerialize["repository"] = o.Repository - } - if o.RepositoryUrl != nil { - toSerialize["repository_url"] = o.RepositoryUrl - } - if o.SecurityScanCompletedAt != nil { - toSerialize["security_scan_completed_at"] = o.SecurityScanCompletedAt - } - if o.SecurityScanStartedAt != nil { - toSerialize["security_scan_started_at"] = o.SecurityScanStartedAt - } - if o.SecurityScanStatus != nil { - toSerialize["security_scan_status"] = o.SecurityScanStatus - } - if o.SecurityScanStatusUpdatedAt != nil { - toSerialize["security_scan_status_updated_at"] = o.SecurityScanStatusUpdatedAt - } - if o.SelfHtmlUrl != nil { - toSerialize["self_html_url"] = o.SelfHtmlUrl - } - if o.SelfUrl != nil { - toSerialize["self_url"] = o.SelfUrl - } - if o.SignatureUrl != nil { - toSerialize["signature_url"] = o.SignatureUrl - } - if o.Size != nil { - toSerialize["size"] = o.Size - } - if o.Slug != nil { - toSerialize["slug"] = o.Slug - } - if o.SlugPerm != nil { - toSerialize["slug_perm"] = o.SlugPerm - } - if o.Stage != nil { - toSerialize["stage"] = o.Stage - } - if o.StageStr != nil { - toSerialize["stage_str"] = o.StageStr - } - if o.StageUpdatedAt != nil { - toSerialize["stage_updated_at"] = o.StageUpdatedAt - } - if o.Status != nil { - toSerialize["status"] = o.Status - } - if o.StatusReason != nil { - toSerialize["status_reason"] = o.StatusReason - } - if o.StatusStr != nil { - toSerialize["status_str"] = o.StatusStr - } - if o.StatusUpdatedAt != nil { - toSerialize["status_updated_at"] = o.StatusUpdatedAt - } - if o.StatusUrl != nil { - toSerialize["status_url"] = o.StatusUrl - } - if o.Subtype != nil { - toSerialize["subtype"] = o.Subtype - } - if o.Summary != nil { - toSerialize["summary"] = o.Summary - } - if o.SyncFinishedAt != nil { - toSerialize["sync_finished_at"] = o.SyncFinishedAt - } - if o.SyncProgress != nil { - toSerialize["sync_progress"] = o.SyncProgress - } - if o.TagsImmutable != nil { - toSerialize["tags_immutable"] = o.TagsImmutable - } - if o.TypeDisplay != nil { - toSerialize["type_display"] = o.TypeDisplay - } - if o.UploadedAt != nil { - toSerialize["uploaded_at"] = o.UploadedAt - } - if o.Uploader != nil { - toSerialize["uploader"] = o.Uploader - } - if o.UploaderUrl != nil { - toSerialize["uploader_url"] = o.UploaderUrl - } - if o.Version != nil { - toSerialize["version"] = o.Version - } - if o.VersionOrig != nil { - toSerialize["version_orig"] = o.VersionOrig - } - if o.VulnerabilityScanResultsUrl != nil { - toSerialize["vulnerability_scan_results_url"] = o.VulnerabilityScanResultsUrl - } - return json.Marshal(toSerialize) -} - -type NullableCondaPackageUpload struct { - value *CondaPackageUpload - isSet bool -} - -func (v NullableCondaPackageUpload) Get() *CondaPackageUpload { - return v.value -} - -func (v *NullableCondaPackageUpload) Set(val *CondaPackageUpload) { - v.value = val - v.isSet = true -} - -func (v NullableCondaPackageUpload) IsSet() bool { - return v.isSet -} - -func (v *NullableCondaPackageUpload) Unset() { - v.value = nil - v.isSet = false -} - -func NewNullableCondaPackageUpload(val *CondaPackageUpload) *NullableCondaPackageUpload { - return &NullableCondaPackageUpload{value: val, isSet: true} -} - -func (v NullableCondaPackageUpload) MarshalJSON() ([]byte, error) { - return json.Marshal(v.value) -} - -func (v *NullableCondaPackageUpload) UnmarshalJSON(src []byte) error { - v.isSet = true - return json.Unmarshal(src, &v.value) -} diff --git a/model_conda_package_upload_request.go b/model_conda_package_upload_request.go new file mode 100644 index 00000000..6d02f2aa --- /dev/null +++ b/model_conda_package_upload_request.go @@ -0,0 +1,193 @@ +/* +Cloudsmith API (v1) + +The API to the Cloudsmith Service + +API version: 1.181.6 +Contact: support@cloudsmith.io +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cloudsmith + +import ( + "encoding/json" +) + +// CondaPackageUploadRequest struct for CondaPackageUploadRequest +type CondaPackageUploadRequest struct { + // The primary file for the package. + PackageFile string `json:"package_file"` + // If true, the uploaded package will overwrite any others with the same attributes (e.g. same version); otherwise, it will be flagged as a duplicate. + Republish *bool `json:"republish,omitempty"` + // A comma-separated values list of tags to add to the package. + Tags NullableString `json:"tags,omitempty"` +} + +// NewCondaPackageUploadRequest instantiates a new CondaPackageUploadRequest object +// 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 NewCondaPackageUploadRequest(packageFile string) *CondaPackageUploadRequest { + this := CondaPackageUploadRequest{} + this.PackageFile = packageFile + return &this +} + +// NewCondaPackageUploadRequestWithDefaults instantiates a new CondaPackageUploadRequest object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewCondaPackageUploadRequestWithDefaults() *CondaPackageUploadRequest { + this := CondaPackageUploadRequest{} + return &this +} + +// GetPackageFile returns the PackageFile field value +func (o *CondaPackageUploadRequest) GetPackageFile() string { + if o == nil { + var ret string + return ret + } + + return o.PackageFile +} + +// GetPackageFileOk returns a tuple with the PackageFile field value +// and a boolean to check if the value has been set. +func (o *CondaPackageUploadRequest) GetPackageFileOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.PackageFile, true +} + +// SetPackageFile sets field value +func (o *CondaPackageUploadRequest) SetPackageFile(v string) { + o.PackageFile = v +} + +// GetRepublish returns the Republish field value if set, zero value otherwise. +func (o *CondaPackageUploadRequest) GetRepublish() bool { + if o == nil || isNil(o.Republish) { + var ret bool + return ret + } + return *o.Republish +} + +// GetRepublishOk returns a tuple with the Republish field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *CondaPackageUploadRequest) GetRepublishOk() (*bool, bool) { + if o == nil || isNil(o.Republish) { + return nil, false + } + return o.Republish, true +} + +// HasRepublish returns a boolean if a field has been set. +func (o *CondaPackageUploadRequest) HasRepublish() bool { + if o != nil && !isNil(o.Republish) { + return true + } + + return false +} + +// SetRepublish gets a reference to the given bool and assigns it to the Republish field. +func (o *CondaPackageUploadRequest) SetRepublish(v bool) { + o.Republish = &v +} + +// GetTags returns the Tags field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *CondaPackageUploadRequest) GetTags() string { + if o == nil || isNil(o.Tags.Get()) { + var ret string + return ret + } + return *o.Tags.Get() +} + +// GetTagsOk returns a tuple with the Tags 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 *CondaPackageUploadRequest) GetTagsOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.Tags.Get(), o.Tags.IsSet() +} + +// HasTags returns a boolean if a field has been set. +func (o *CondaPackageUploadRequest) HasTags() bool { + if o != nil && o.Tags.IsSet() { + return true + } + + return false +} + +// SetTags gets a reference to the given NullableString and assigns it to the Tags field. +func (o *CondaPackageUploadRequest) SetTags(v string) { + o.Tags.Set(&v) +} + +// SetTagsNil sets the value for Tags to be an explicit nil +func (o *CondaPackageUploadRequest) SetTagsNil() { + o.Tags.Set(nil) +} + +// UnsetTags ensures that no value is present for Tags, not even an explicit nil +func (o *CondaPackageUploadRequest) UnsetTags() { + o.Tags.Unset() +} + +func (o CondaPackageUploadRequest) MarshalJSON() ([]byte, error) { + toSerialize := map[string]interface{}{} + if true { + toSerialize["package_file"] = o.PackageFile + } + if !isNil(o.Republish) { + toSerialize["republish"] = o.Republish + } + if o.Tags.IsSet() { + toSerialize["tags"] = o.Tags.Get() + } + return json.Marshal(toSerialize) +} + +type NullableCondaPackageUploadRequest struct { + value *CondaPackageUploadRequest + isSet bool +} + +func (v NullableCondaPackageUploadRequest) Get() *CondaPackageUploadRequest { + return v.value +} + +func (v *NullableCondaPackageUploadRequest) Set(val *CondaPackageUploadRequest) { + v.value = val + v.isSet = true +} + +func (v NullableCondaPackageUploadRequest) IsSet() bool { + return v.isSet +} + +func (v *NullableCondaPackageUploadRequest) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableCondaPackageUploadRequest(val *CondaPackageUploadRequest) *NullableCondaPackageUploadRequest { + return &NullableCondaPackageUploadRequest{value: val, isSet: true} +} + +func (v NullableCondaPackageUploadRequest) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableCondaPackageUploadRequest) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} diff --git a/model_conda_package_upload_response.go b/model_conda_package_upload_response.go new file mode 100644 index 00000000..a82f4aae --- /dev/null +++ b/model_conda_package_upload_response.go @@ -0,0 +1,2595 @@ +/* +Cloudsmith API (v1) + +The API to the Cloudsmith Service + +API version: 1.181.6 +Contact: support@cloudsmith.io +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cloudsmith + +import ( + "encoding/json" + "time" +) + +// CondaPackageUploadResponse struct for CondaPackageUploadResponse +type CondaPackageUploadResponse struct { + Architectures []Architecture `json:"architectures,omitempty"` + CdnUrl NullableString `json:"cdn_url,omitempty"` + ChecksumMd5 *string `json:"checksum_md5,omitempty"` + ChecksumSha1 *string `json:"checksum_sha1,omitempty"` + ChecksumSha256 *string `json:"checksum_sha256,omitempty"` + ChecksumSha512 *string `json:"checksum_sha512,omitempty"` + // A checksum of all of the package's dependencies. + DependenciesChecksumMd5 *string `json:"dependencies_checksum_md5,omitempty"` + DependenciesUrl *string `json:"dependencies_url,omitempty"` + // A textual description of this package. + Description *string `json:"description,omitempty"` + Distro NullableDistribution `json:"distro,omitempty"` + DistroVersion *DistributionVersion `json:"distro_version,omitempty"` + Downloads *int64 `json:"downloads,omitempty"` + // The epoch of the package version (if any). + Epoch *int64 `json:"epoch,omitempty"` + Extension *string `json:"extension,omitempty"` + Filename *string `json:"filename,omitempty"` + Files []PackageFile `json:"files,omitempty"` + Format *string `json:"format,omitempty"` + FormatUrl *string `json:"format_url,omitempty"` + // Unique and permanent identifier for the package. + IdentifierPerm *string `json:"identifier_perm,omitempty"` + Indexed *bool `json:"indexed,omitempty"` + IsDownloadable *bool `json:"is_downloadable,omitempty"` + IsQuarantined *bool `json:"is_quarantined,omitempty"` + IsSyncAwaiting *bool `json:"is_sync_awaiting,omitempty"` + IsSyncCompleted *bool `json:"is_sync_completed,omitempty"` + IsSyncFailed *bool `json:"is_sync_failed,omitempty"` + IsSyncInFlight *bool `json:"is_sync_in_flight,omitempty"` + IsSyncInProgress *bool `json:"is_sync_in_progress,omitempty"` + // The license of this package. + License *string `json:"license,omitempty"` + // The name of this package. + Name *string `json:"name,omitempty"` + Namespace *string `json:"namespace,omitempty"` + NamespaceUrl *string `json:"namespace_url,omitempty"` + NumFiles *int64 `json:"num_files,omitempty"` + OriginRepository *string `json:"origin_repository,omitempty"` + OriginRepositoryUrl *string `json:"origin_repository_url,omitempty"` + // The type of package contents. + PackageType *int64 `json:"package_type,omitempty"` + // The release of the package version (if any). + Release *string `json:"release,omitempty"` + Repository *string `json:"repository,omitempty"` + RepositoryUrl *string `json:"repository_url,omitempty"` + // The datetime the security scanning was completed. + SecurityScanCompletedAt *time.Time `json:"security_scan_completed_at,omitempty"` + // The datetime the security scanning was started. + SecurityScanStartedAt *time.Time `json:"security_scan_started_at,omitempty"` + SecurityScanStatus NullableString `json:"security_scan_status,omitempty"` + // The datetime the security scanning status was updated. + SecurityScanStatusUpdatedAt *time.Time `json:"security_scan_status_updated_at,omitempty"` + SelfHtmlUrl *string `json:"self_html_url,omitempty"` + SelfUrl *string `json:"self_url,omitempty"` + SignatureUrl NullableString `json:"signature_url,omitempty"` + // The calculated size of the package. + Size *int64 `json:"size,omitempty"` + // The public unique identifier for the package. + Slug *string `json:"slug,omitempty"` + SlugPerm *string `json:"slug_perm,omitempty"` + // The synchronisation (in progress) stage of the package. + Stage *int64 `json:"stage,omitempty"` + StageStr *string `json:"stage_str,omitempty"` + // The datetime the package stage was updated at. + StageUpdatedAt *time.Time `json:"stage_updated_at,omitempty"` + // The synchronisation status of the package. + Status *int64 `json:"status,omitempty"` + // A textual description for the synchronous status reason (if any + StatusReason *string `json:"status_reason,omitempty"` + StatusStr *string `json:"status_str,omitempty"` + // The datetime the package status was updated at. + StatusUpdatedAt *time.Time `json:"status_updated_at,omitempty"` + StatusUrl *string `json:"status_url,omitempty"` + Subtype *string `json:"subtype,omitempty"` + // A one-liner synopsis of this package. + Summary *string `json:"summary,omitempty"` + // The datetime the package sync was finished at. + SyncFinishedAt *time.Time `json:"sync_finished_at,omitempty"` + // Synchronisation progress (from 0-100) + SyncProgress *int64 `json:"sync_progress,omitempty"` + // All tags on the package, grouped by tag type. This includes immutable tags, but doesn't distinguish them from mutable. To see which tags are immutable specifically, see the tags_immutable field. + TagsImmutable map[string]interface{} `json:"tags_immutable,omitempty"` + TypeDisplay *string `json:"type_display,omitempty"` + // The date this package was uploaded. + UploadedAt *time.Time `json:"uploaded_at,omitempty"` + Uploader *string `json:"uploader,omitempty"` + UploaderUrl *string `json:"uploader_url,omitempty"` + // The raw version for this package. + Version *string `json:"version,omitempty"` + VersionOrig *string `json:"version_orig,omitempty"` + VulnerabilityScanResultsUrl *string `json:"vulnerability_scan_results_url,omitempty"` +} + +// NewCondaPackageUploadResponse instantiates a new CondaPackageUploadResponse object +// 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 NewCondaPackageUploadResponse() *CondaPackageUploadResponse { + this := CondaPackageUploadResponse{} + return &this +} + +// NewCondaPackageUploadResponseWithDefaults instantiates a new CondaPackageUploadResponse object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewCondaPackageUploadResponseWithDefaults() *CondaPackageUploadResponse { + this := CondaPackageUploadResponse{} + return &this +} + +// GetArchitectures returns the Architectures field value if set, zero value otherwise. +func (o *CondaPackageUploadResponse) GetArchitectures() []Architecture { + if o == nil || isNil(o.Architectures) { + var ret []Architecture + return ret + } + return o.Architectures +} + +// GetArchitecturesOk returns a tuple with the Architectures field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *CondaPackageUploadResponse) GetArchitecturesOk() ([]Architecture, bool) { + if o == nil || isNil(o.Architectures) { + return nil, false + } + return o.Architectures, true +} + +// HasArchitectures returns a boolean if a field has been set. +func (o *CondaPackageUploadResponse) HasArchitectures() bool { + if o != nil && !isNil(o.Architectures) { + return true + } + + return false +} + +// SetArchitectures gets a reference to the given []Architecture and assigns it to the Architectures field. +func (o *CondaPackageUploadResponse) SetArchitectures(v []Architecture) { + o.Architectures = v +} + +// GetCdnUrl returns the CdnUrl field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *CondaPackageUploadResponse) GetCdnUrl() string { + if o == nil || isNil(o.CdnUrl.Get()) { + var ret string + return ret + } + return *o.CdnUrl.Get() +} + +// GetCdnUrlOk returns a tuple with the CdnUrl 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 *CondaPackageUploadResponse) GetCdnUrlOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.CdnUrl.Get(), o.CdnUrl.IsSet() +} + +// HasCdnUrl returns a boolean if a field has been set. +func (o *CondaPackageUploadResponse) HasCdnUrl() bool { + if o != nil && o.CdnUrl.IsSet() { + return true + } + + return false +} + +// SetCdnUrl gets a reference to the given NullableString and assigns it to the CdnUrl field. +func (o *CondaPackageUploadResponse) SetCdnUrl(v string) { + o.CdnUrl.Set(&v) +} + +// SetCdnUrlNil sets the value for CdnUrl to be an explicit nil +func (o *CondaPackageUploadResponse) SetCdnUrlNil() { + o.CdnUrl.Set(nil) +} + +// UnsetCdnUrl ensures that no value is present for CdnUrl, not even an explicit nil +func (o *CondaPackageUploadResponse) UnsetCdnUrl() { + o.CdnUrl.Unset() +} + +// GetChecksumMd5 returns the ChecksumMd5 field value if set, zero value otherwise. +func (o *CondaPackageUploadResponse) GetChecksumMd5() string { + if o == nil || isNil(o.ChecksumMd5) { + var ret string + return ret + } + return *o.ChecksumMd5 +} + +// GetChecksumMd5Ok returns a tuple with the ChecksumMd5 field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *CondaPackageUploadResponse) GetChecksumMd5Ok() (*string, bool) { + if o == nil || isNil(o.ChecksumMd5) { + return nil, false + } + return o.ChecksumMd5, true +} + +// HasChecksumMd5 returns a boolean if a field has been set. +func (o *CondaPackageUploadResponse) HasChecksumMd5() bool { + if o != nil && !isNil(o.ChecksumMd5) { + return true + } + + return false +} + +// SetChecksumMd5 gets a reference to the given string and assigns it to the ChecksumMd5 field. +func (o *CondaPackageUploadResponse) SetChecksumMd5(v string) { + o.ChecksumMd5 = &v +} + +// GetChecksumSha1 returns the ChecksumSha1 field value if set, zero value otherwise. +func (o *CondaPackageUploadResponse) GetChecksumSha1() string { + if o == nil || isNil(o.ChecksumSha1) { + var ret string + return ret + } + return *o.ChecksumSha1 +} + +// GetChecksumSha1Ok returns a tuple with the ChecksumSha1 field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *CondaPackageUploadResponse) GetChecksumSha1Ok() (*string, bool) { + if o == nil || isNil(o.ChecksumSha1) { + return nil, false + } + return o.ChecksumSha1, true +} + +// HasChecksumSha1 returns a boolean if a field has been set. +func (o *CondaPackageUploadResponse) HasChecksumSha1() bool { + if o != nil && !isNil(o.ChecksumSha1) { + return true + } + + return false +} + +// SetChecksumSha1 gets a reference to the given string and assigns it to the ChecksumSha1 field. +func (o *CondaPackageUploadResponse) SetChecksumSha1(v string) { + o.ChecksumSha1 = &v +} + +// GetChecksumSha256 returns the ChecksumSha256 field value if set, zero value otherwise. +func (o *CondaPackageUploadResponse) GetChecksumSha256() string { + if o == nil || isNil(o.ChecksumSha256) { + var ret string + return ret + } + return *o.ChecksumSha256 +} + +// GetChecksumSha256Ok returns a tuple with the ChecksumSha256 field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *CondaPackageUploadResponse) GetChecksumSha256Ok() (*string, bool) { + if o == nil || isNil(o.ChecksumSha256) { + return nil, false + } + return o.ChecksumSha256, true +} + +// HasChecksumSha256 returns a boolean if a field has been set. +func (o *CondaPackageUploadResponse) HasChecksumSha256() bool { + if o != nil && !isNil(o.ChecksumSha256) { + return true + } + + return false +} + +// SetChecksumSha256 gets a reference to the given string and assigns it to the ChecksumSha256 field. +func (o *CondaPackageUploadResponse) SetChecksumSha256(v string) { + o.ChecksumSha256 = &v +} + +// GetChecksumSha512 returns the ChecksumSha512 field value if set, zero value otherwise. +func (o *CondaPackageUploadResponse) GetChecksumSha512() string { + if o == nil || isNil(o.ChecksumSha512) { + var ret string + return ret + } + return *o.ChecksumSha512 +} + +// GetChecksumSha512Ok returns a tuple with the ChecksumSha512 field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *CondaPackageUploadResponse) GetChecksumSha512Ok() (*string, bool) { + if o == nil || isNil(o.ChecksumSha512) { + return nil, false + } + return o.ChecksumSha512, true +} + +// HasChecksumSha512 returns a boolean if a field has been set. +func (o *CondaPackageUploadResponse) HasChecksumSha512() bool { + if o != nil && !isNil(o.ChecksumSha512) { + return true + } + + return false +} + +// SetChecksumSha512 gets a reference to the given string and assigns it to the ChecksumSha512 field. +func (o *CondaPackageUploadResponse) SetChecksumSha512(v string) { + o.ChecksumSha512 = &v +} + +// GetDependenciesChecksumMd5 returns the DependenciesChecksumMd5 field value if set, zero value otherwise. +func (o *CondaPackageUploadResponse) GetDependenciesChecksumMd5() string { + if o == nil || isNil(o.DependenciesChecksumMd5) { + var ret string + return ret + } + return *o.DependenciesChecksumMd5 +} + +// GetDependenciesChecksumMd5Ok returns a tuple with the DependenciesChecksumMd5 field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *CondaPackageUploadResponse) GetDependenciesChecksumMd5Ok() (*string, bool) { + if o == nil || isNil(o.DependenciesChecksumMd5) { + return nil, false + } + return o.DependenciesChecksumMd5, true +} + +// HasDependenciesChecksumMd5 returns a boolean if a field has been set. +func (o *CondaPackageUploadResponse) HasDependenciesChecksumMd5() bool { + if o != nil && !isNil(o.DependenciesChecksumMd5) { + return true + } + + return false +} + +// SetDependenciesChecksumMd5 gets a reference to the given string and assigns it to the DependenciesChecksumMd5 field. +func (o *CondaPackageUploadResponse) SetDependenciesChecksumMd5(v string) { + o.DependenciesChecksumMd5 = &v +} + +// GetDependenciesUrl returns the DependenciesUrl field value if set, zero value otherwise. +func (o *CondaPackageUploadResponse) GetDependenciesUrl() string { + if o == nil || isNil(o.DependenciesUrl) { + var ret string + return ret + } + return *o.DependenciesUrl +} + +// GetDependenciesUrlOk returns a tuple with the DependenciesUrl field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *CondaPackageUploadResponse) GetDependenciesUrlOk() (*string, bool) { + if o == nil || isNil(o.DependenciesUrl) { + return nil, false + } + return o.DependenciesUrl, true +} + +// HasDependenciesUrl returns a boolean if a field has been set. +func (o *CondaPackageUploadResponse) HasDependenciesUrl() bool { + if o != nil && !isNil(o.DependenciesUrl) { + return true + } + + return false +} + +// SetDependenciesUrl gets a reference to the given string and assigns it to the DependenciesUrl field. +func (o *CondaPackageUploadResponse) SetDependenciesUrl(v string) { + o.DependenciesUrl = &v +} + +// GetDescription returns the Description field value if set, zero value otherwise. +func (o *CondaPackageUploadResponse) GetDescription() string { + if o == nil || isNil(o.Description) { + var ret string + return ret + } + return *o.Description +} + +// GetDescriptionOk returns a tuple with the Description field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *CondaPackageUploadResponse) GetDescriptionOk() (*string, bool) { + if o == nil || isNil(o.Description) { + return nil, false + } + return o.Description, true +} + +// HasDescription returns a boolean if a field has been set. +func (o *CondaPackageUploadResponse) HasDescription() bool { + if o != nil && !isNil(o.Description) { + return true + } + + return false +} + +// SetDescription gets a reference to the given string and assigns it to the Description field. +func (o *CondaPackageUploadResponse) SetDescription(v string) { + o.Description = &v +} + +// GetDistro returns the Distro field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *CondaPackageUploadResponse) GetDistro() Distribution { + if o == nil || isNil(o.Distro.Get()) { + var ret Distribution + return ret + } + return *o.Distro.Get() +} + +// GetDistroOk returns a tuple with the Distro 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 *CondaPackageUploadResponse) GetDistroOk() (*Distribution, bool) { + if o == nil { + return nil, false + } + return o.Distro.Get(), o.Distro.IsSet() +} + +// HasDistro returns a boolean if a field has been set. +func (o *CondaPackageUploadResponse) HasDistro() bool { + if o != nil && o.Distro.IsSet() { + return true + } + + return false +} + +// SetDistro gets a reference to the given NullableDistribution and assigns it to the Distro field. +func (o *CondaPackageUploadResponse) SetDistro(v Distribution) { + o.Distro.Set(&v) +} + +// SetDistroNil sets the value for Distro to be an explicit nil +func (o *CondaPackageUploadResponse) SetDistroNil() { + o.Distro.Set(nil) +} + +// UnsetDistro ensures that no value is present for Distro, not even an explicit nil +func (o *CondaPackageUploadResponse) UnsetDistro() { + o.Distro.Unset() +} + +// GetDistroVersion returns the DistroVersion field value if set, zero value otherwise. +func (o *CondaPackageUploadResponse) GetDistroVersion() DistributionVersion { + if o == nil || isNil(o.DistroVersion) { + var ret DistributionVersion + return ret + } + return *o.DistroVersion +} + +// GetDistroVersionOk returns a tuple with the DistroVersion field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *CondaPackageUploadResponse) GetDistroVersionOk() (*DistributionVersion, bool) { + if o == nil || isNil(o.DistroVersion) { + return nil, false + } + return o.DistroVersion, true +} + +// HasDistroVersion returns a boolean if a field has been set. +func (o *CondaPackageUploadResponse) HasDistroVersion() bool { + if o != nil && !isNil(o.DistroVersion) { + return true + } + + return false +} + +// SetDistroVersion gets a reference to the given DistributionVersion and assigns it to the DistroVersion field. +func (o *CondaPackageUploadResponse) SetDistroVersion(v DistributionVersion) { + o.DistroVersion = &v +} + +// GetDownloads returns the Downloads field value if set, zero value otherwise. +func (o *CondaPackageUploadResponse) GetDownloads() int64 { + if o == nil || isNil(o.Downloads) { + var ret int64 + return ret + } + return *o.Downloads +} + +// GetDownloadsOk returns a tuple with the Downloads field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *CondaPackageUploadResponse) GetDownloadsOk() (*int64, bool) { + if o == nil || isNil(o.Downloads) { + return nil, false + } + return o.Downloads, true +} + +// HasDownloads returns a boolean if a field has been set. +func (o *CondaPackageUploadResponse) HasDownloads() bool { + if o != nil && !isNil(o.Downloads) { + return true + } + + return false +} + +// SetDownloads gets a reference to the given int64 and assigns it to the Downloads field. +func (o *CondaPackageUploadResponse) SetDownloads(v int64) { + o.Downloads = &v +} + +// GetEpoch returns the Epoch field value if set, zero value otherwise. +func (o *CondaPackageUploadResponse) GetEpoch() int64 { + if o == nil || isNil(o.Epoch) { + var ret int64 + return ret + } + return *o.Epoch +} + +// GetEpochOk returns a tuple with the Epoch field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *CondaPackageUploadResponse) GetEpochOk() (*int64, bool) { + if o == nil || isNil(o.Epoch) { + return nil, false + } + return o.Epoch, true +} + +// HasEpoch returns a boolean if a field has been set. +func (o *CondaPackageUploadResponse) HasEpoch() bool { + if o != nil && !isNil(o.Epoch) { + return true + } + + return false +} + +// SetEpoch gets a reference to the given int64 and assigns it to the Epoch field. +func (o *CondaPackageUploadResponse) SetEpoch(v int64) { + o.Epoch = &v +} + +// GetExtension returns the Extension field value if set, zero value otherwise. +func (o *CondaPackageUploadResponse) GetExtension() string { + if o == nil || isNil(o.Extension) { + var ret string + return ret + } + return *o.Extension +} + +// GetExtensionOk returns a tuple with the Extension field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *CondaPackageUploadResponse) GetExtensionOk() (*string, bool) { + if o == nil || isNil(o.Extension) { + return nil, false + } + return o.Extension, true +} + +// HasExtension returns a boolean if a field has been set. +func (o *CondaPackageUploadResponse) HasExtension() bool { + if o != nil && !isNil(o.Extension) { + return true + } + + return false +} + +// SetExtension gets a reference to the given string and assigns it to the Extension field. +func (o *CondaPackageUploadResponse) SetExtension(v string) { + o.Extension = &v +} + +// GetFilename returns the Filename field value if set, zero value otherwise. +func (o *CondaPackageUploadResponse) GetFilename() string { + if o == nil || isNil(o.Filename) { + var ret string + return ret + } + return *o.Filename +} + +// GetFilenameOk returns a tuple with the Filename field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *CondaPackageUploadResponse) GetFilenameOk() (*string, bool) { + if o == nil || isNil(o.Filename) { + return nil, false + } + return o.Filename, true +} + +// HasFilename returns a boolean if a field has been set. +func (o *CondaPackageUploadResponse) HasFilename() bool { + if o != nil && !isNil(o.Filename) { + return true + } + + return false +} + +// SetFilename gets a reference to the given string and assigns it to the Filename field. +func (o *CondaPackageUploadResponse) SetFilename(v string) { + o.Filename = &v +} + +// GetFiles returns the Files field value if set, zero value otherwise. +func (o *CondaPackageUploadResponse) GetFiles() []PackageFile { + if o == nil || isNil(o.Files) { + var ret []PackageFile + return ret + } + return o.Files +} + +// GetFilesOk returns a tuple with the Files field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *CondaPackageUploadResponse) GetFilesOk() ([]PackageFile, bool) { + if o == nil || isNil(o.Files) { + return nil, false + } + return o.Files, true +} + +// HasFiles returns a boolean if a field has been set. +func (o *CondaPackageUploadResponse) HasFiles() bool { + if o != nil && !isNil(o.Files) { + return true + } + + return false +} + +// SetFiles gets a reference to the given []PackageFile and assigns it to the Files field. +func (o *CondaPackageUploadResponse) SetFiles(v []PackageFile) { + o.Files = v +} + +// GetFormat returns the Format field value if set, zero value otherwise. +func (o *CondaPackageUploadResponse) GetFormat() string { + if o == nil || isNil(o.Format) { + var ret string + return ret + } + return *o.Format +} + +// GetFormatOk returns a tuple with the Format field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *CondaPackageUploadResponse) GetFormatOk() (*string, bool) { + if o == nil || isNil(o.Format) { + return nil, false + } + return o.Format, true +} + +// HasFormat returns a boolean if a field has been set. +func (o *CondaPackageUploadResponse) HasFormat() bool { + if o != nil && !isNil(o.Format) { + return true + } + + return false +} + +// SetFormat gets a reference to the given string and assigns it to the Format field. +func (o *CondaPackageUploadResponse) SetFormat(v string) { + o.Format = &v +} + +// GetFormatUrl returns the FormatUrl field value if set, zero value otherwise. +func (o *CondaPackageUploadResponse) GetFormatUrl() string { + if o == nil || isNil(o.FormatUrl) { + var ret string + return ret + } + return *o.FormatUrl +} + +// GetFormatUrlOk returns a tuple with the FormatUrl field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *CondaPackageUploadResponse) GetFormatUrlOk() (*string, bool) { + if o == nil || isNil(o.FormatUrl) { + return nil, false + } + return o.FormatUrl, true +} + +// HasFormatUrl returns a boolean if a field has been set. +func (o *CondaPackageUploadResponse) HasFormatUrl() bool { + if o != nil && !isNil(o.FormatUrl) { + return true + } + + return false +} + +// SetFormatUrl gets a reference to the given string and assigns it to the FormatUrl field. +func (o *CondaPackageUploadResponse) SetFormatUrl(v string) { + o.FormatUrl = &v +} + +// GetIdentifierPerm returns the IdentifierPerm field value if set, zero value otherwise. +func (o *CondaPackageUploadResponse) GetIdentifierPerm() string { + if o == nil || isNil(o.IdentifierPerm) { + var ret string + return ret + } + return *o.IdentifierPerm +} + +// GetIdentifierPermOk returns a tuple with the IdentifierPerm field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *CondaPackageUploadResponse) GetIdentifierPermOk() (*string, bool) { + if o == nil || isNil(o.IdentifierPerm) { + return nil, false + } + return o.IdentifierPerm, true +} + +// HasIdentifierPerm returns a boolean if a field has been set. +func (o *CondaPackageUploadResponse) HasIdentifierPerm() bool { + if o != nil && !isNil(o.IdentifierPerm) { + return true + } + + return false +} + +// SetIdentifierPerm gets a reference to the given string and assigns it to the IdentifierPerm field. +func (o *CondaPackageUploadResponse) SetIdentifierPerm(v string) { + o.IdentifierPerm = &v +} + +// GetIndexed returns the Indexed field value if set, zero value otherwise. +func (o *CondaPackageUploadResponse) GetIndexed() bool { + if o == nil || isNil(o.Indexed) { + var ret bool + return ret + } + return *o.Indexed +} + +// GetIndexedOk returns a tuple with the Indexed field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *CondaPackageUploadResponse) GetIndexedOk() (*bool, bool) { + if o == nil || isNil(o.Indexed) { + return nil, false + } + return o.Indexed, true +} + +// HasIndexed returns a boolean if a field has been set. +func (o *CondaPackageUploadResponse) HasIndexed() bool { + if o != nil && !isNil(o.Indexed) { + return true + } + + return false +} + +// SetIndexed gets a reference to the given bool and assigns it to the Indexed field. +func (o *CondaPackageUploadResponse) SetIndexed(v bool) { + o.Indexed = &v +} + +// GetIsDownloadable returns the IsDownloadable field value if set, zero value otherwise. +func (o *CondaPackageUploadResponse) GetIsDownloadable() bool { + if o == nil || isNil(o.IsDownloadable) { + var ret bool + return ret + } + return *o.IsDownloadable +} + +// GetIsDownloadableOk returns a tuple with the IsDownloadable field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *CondaPackageUploadResponse) GetIsDownloadableOk() (*bool, bool) { + if o == nil || isNil(o.IsDownloadable) { + return nil, false + } + return o.IsDownloadable, true +} + +// HasIsDownloadable returns a boolean if a field has been set. +func (o *CondaPackageUploadResponse) HasIsDownloadable() bool { + if o != nil && !isNil(o.IsDownloadable) { + return true + } + + return false +} + +// SetIsDownloadable gets a reference to the given bool and assigns it to the IsDownloadable field. +func (o *CondaPackageUploadResponse) SetIsDownloadable(v bool) { + o.IsDownloadable = &v +} + +// GetIsQuarantined returns the IsQuarantined field value if set, zero value otherwise. +func (o *CondaPackageUploadResponse) GetIsQuarantined() bool { + if o == nil || isNil(o.IsQuarantined) { + var ret bool + return ret + } + return *o.IsQuarantined +} + +// GetIsQuarantinedOk returns a tuple with the IsQuarantined field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *CondaPackageUploadResponse) GetIsQuarantinedOk() (*bool, bool) { + if o == nil || isNil(o.IsQuarantined) { + return nil, false + } + return o.IsQuarantined, true +} + +// HasIsQuarantined returns a boolean if a field has been set. +func (o *CondaPackageUploadResponse) HasIsQuarantined() bool { + if o != nil && !isNil(o.IsQuarantined) { + return true + } + + return false +} + +// SetIsQuarantined gets a reference to the given bool and assigns it to the IsQuarantined field. +func (o *CondaPackageUploadResponse) SetIsQuarantined(v bool) { + o.IsQuarantined = &v +} + +// GetIsSyncAwaiting returns the IsSyncAwaiting field value if set, zero value otherwise. +func (o *CondaPackageUploadResponse) GetIsSyncAwaiting() bool { + if o == nil || isNil(o.IsSyncAwaiting) { + var ret bool + return ret + } + return *o.IsSyncAwaiting +} + +// GetIsSyncAwaitingOk returns a tuple with the IsSyncAwaiting field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *CondaPackageUploadResponse) GetIsSyncAwaitingOk() (*bool, bool) { + if o == nil || isNil(o.IsSyncAwaiting) { + return nil, false + } + return o.IsSyncAwaiting, true +} + +// HasIsSyncAwaiting returns a boolean if a field has been set. +func (o *CondaPackageUploadResponse) HasIsSyncAwaiting() bool { + if o != nil && !isNil(o.IsSyncAwaiting) { + return true + } + + return false +} + +// SetIsSyncAwaiting gets a reference to the given bool and assigns it to the IsSyncAwaiting field. +func (o *CondaPackageUploadResponse) SetIsSyncAwaiting(v bool) { + o.IsSyncAwaiting = &v +} + +// GetIsSyncCompleted returns the IsSyncCompleted field value if set, zero value otherwise. +func (o *CondaPackageUploadResponse) GetIsSyncCompleted() bool { + if o == nil || isNil(o.IsSyncCompleted) { + var ret bool + return ret + } + return *o.IsSyncCompleted +} + +// GetIsSyncCompletedOk returns a tuple with the IsSyncCompleted field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *CondaPackageUploadResponse) GetIsSyncCompletedOk() (*bool, bool) { + if o == nil || isNil(o.IsSyncCompleted) { + return nil, false + } + return o.IsSyncCompleted, true +} + +// HasIsSyncCompleted returns a boolean if a field has been set. +func (o *CondaPackageUploadResponse) HasIsSyncCompleted() bool { + if o != nil && !isNil(o.IsSyncCompleted) { + return true + } + + return false +} + +// SetIsSyncCompleted gets a reference to the given bool and assigns it to the IsSyncCompleted field. +func (o *CondaPackageUploadResponse) SetIsSyncCompleted(v bool) { + o.IsSyncCompleted = &v +} + +// GetIsSyncFailed returns the IsSyncFailed field value if set, zero value otherwise. +func (o *CondaPackageUploadResponse) GetIsSyncFailed() bool { + if o == nil || isNil(o.IsSyncFailed) { + var ret bool + return ret + } + return *o.IsSyncFailed +} + +// GetIsSyncFailedOk returns a tuple with the IsSyncFailed field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *CondaPackageUploadResponse) GetIsSyncFailedOk() (*bool, bool) { + if o == nil || isNil(o.IsSyncFailed) { + return nil, false + } + return o.IsSyncFailed, true +} + +// HasIsSyncFailed returns a boolean if a field has been set. +func (o *CondaPackageUploadResponse) HasIsSyncFailed() bool { + if o != nil && !isNil(o.IsSyncFailed) { + return true + } + + return false +} + +// SetIsSyncFailed gets a reference to the given bool and assigns it to the IsSyncFailed field. +func (o *CondaPackageUploadResponse) SetIsSyncFailed(v bool) { + o.IsSyncFailed = &v +} + +// GetIsSyncInFlight returns the IsSyncInFlight field value if set, zero value otherwise. +func (o *CondaPackageUploadResponse) GetIsSyncInFlight() bool { + if o == nil || isNil(o.IsSyncInFlight) { + var ret bool + return ret + } + return *o.IsSyncInFlight +} + +// GetIsSyncInFlightOk returns a tuple with the IsSyncInFlight field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *CondaPackageUploadResponse) GetIsSyncInFlightOk() (*bool, bool) { + if o == nil || isNil(o.IsSyncInFlight) { + return nil, false + } + return o.IsSyncInFlight, true +} + +// HasIsSyncInFlight returns a boolean if a field has been set. +func (o *CondaPackageUploadResponse) HasIsSyncInFlight() bool { + if o != nil && !isNil(o.IsSyncInFlight) { + return true + } + + return false +} + +// SetIsSyncInFlight gets a reference to the given bool and assigns it to the IsSyncInFlight field. +func (o *CondaPackageUploadResponse) SetIsSyncInFlight(v bool) { + o.IsSyncInFlight = &v +} + +// GetIsSyncInProgress returns the IsSyncInProgress field value if set, zero value otherwise. +func (o *CondaPackageUploadResponse) GetIsSyncInProgress() bool { + if o == nil || isNil(o.IsSyncInProgress) { + var ret bool + return ret + } + return *o.IsSyncInProgress +} + +// GetIsSyncInProgressOk returns a tuple with the IsSyncInProgress field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *CondaPackageUploadResponse) GetIsSyncInProgressOk() (*bool, bool) { + if o == nil || isNil(o.IsSyncInProgress) { + return nil, false + } + return o.IsSyncInProgress, true +} + +// HasIsSyncInProgress returns a boolean if a field has been set. +func (o *CondaPackageUploadResponse) HasIsSyncInProgress() bool { + if o != nil && !isNil(o.IsSyncInProgress) { + return true + } + + return false +} + +// SetIsSyncInProgress gets a reference to the given bool and assigns it to the IsSyncInProgress field. +func (o *CondaPackageUploadResponse) SetIsSyncInProgress(v bool) { + o.IsSyncInProgress = &v +} + +// GetLicense returns the License field value if set, zero value otherwise. +func (o *CondaPackageUploadResponse) GetLicense() string { + if o == nil || isNil(o.License) { + var ret string + return ret + } + return *o.License +} + +// GetLicenseOk returns a tuple with the License field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *CondaPackageUploadResponse) GetLicenseOk() (*string, bool) { + if o == nil || isNil(o.License) { + return nil, false + } + return o.License, true +} + +// HasLicense returns a boolean if a field has been set. +func (o *CondaPackageUploadResponse) HasLicense() bool { + if o != nil && !isNil(o.License) { + return true + } + + return false +} + +// SetLicense gets a reference to the given string and assigns it to the License field. +func (o *CondaPackageUploadResponse) SetLicense(v string) { + o.License = &v +} + +// GetName returns the Name field value if set, zero value otherwise. +func (o *CondaPackageUploadResponse) GetName() string { + if o == nil || isNil(o.Name) { + var ret string + return ret + } + return *o.Name +} + +// GetNameOk returns a tuple with the Name field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *CondaPackageUploadResponse) GetNameOk() (*string, bool) { + if o == nil || isNil(o.Name) { + return nil, false + } + return o.Name, true +} + +// HasName returns a boolean if a field has been set. +func (o *CondaPackageUploadResponse) HasName() bool { + if o != nil && !isNil(o.Name) { + return true + } + + return false +} + +// SetName gets a reference to the given string and assigns it to the Name field. +func (o *CondaPackageUploadResponse) SetName(v string) { + o.Name = &v +} + +// GetNamespace returns the Namespace field value if set, zero value otherwise. +func (o *CondaPackageUploadResponse) GetNamespace() string { + if o == nil || isNil(o.Namespace) { + var ret string + return ret + } + return *o.Namespace +} + +// GetNamespaceOk returns a tuple with the Namespace field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *CondaPackageUploadResponse) GetNamespaceOk() (*string, bool) { + if o == nil || isNil(o.Namespace) { + return nil, false + } + return o.Namespace, true +} + +// HasNamespace returns a boolean if a field has been set. +func (o *CondaPackageUploadResponse) HasNamespace() bool { + if o != nil && !isNil(o.Namespace) { + return true + } + + return false +} + +// SetNamespace gets a reference to the given string and assigns it to the Namespace field. +func (o *CondaPackageUploadResponse) SetNamespace(v string) { + o.Namespace = &v +} + +// GetNamespaceUrl returns the NamespaceUrl field value if set, zero value otherwise. +func (o *CondaPackageUploadResponse) GetNamespaceUrl() string { + if o == nil || isNil(o.NamespaceUrl) { + var ret string + return ret + } + return *o.NamespaceUrl +} + +// GetNamespaceUrlOk returns a tuple with the NamespaceUrl field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *CondaPackageUploadResponse) GetNamespaceUrlOk() (*string, bool) { + if o == nil || isNil(o.NamespaceUrl) { + return nil, false + } + return o.NamespaceUrl, true +} + +// HasNamespaceUrl returns a boolean if a field has been set. +func (o *CondaPackageUploadResponse) HasNamespaceUrl() bool { + if o != nil && !isNil(o.NamespaceUrl) { + return true + } + + return false +} + +// SetNamespaceUrl gets a reference to the given string and assigns it to the NamespaceUrl field. +func (o *CondaPackageUploadResponse) SetNamespaceUrl(v string) { + o.NamespaceUrl = &v +} + +// GetNumFiles returns the NumFiles field value if set, zero value otherwise. +func (o *CondaPackageUploadResponse) GetNumFiles() int64 { + if o == nil || isNil(o.NumFiles) { + var ret int64 + return ret + } + return *o.NumFiles +} + +// GetNumFilesOk returns a tuple with the NumFiles field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *CondaPackageUploadResponse) GetNumFilesOk() (*int64, bool) { + if o == nil || isNil(o.NumFiles) { + return nil, false + } + return o.NumFiles, true +} + +// HasNumFiles returns a boolean if a field has been set. +func (o *CondaPackageUploadResponse) HasNumFiles() bool { + if o != nil && !isNil(o.NumFiles) { + return true + } + + return false +} + +// SetNumFiles gets a reference to the given int64 and assigns it to the NumFiles field. +func (o *CondaPackageUploadResponse) SetNumFiles(v int64) { + o.NumFiles = &v +} + +// GetOriginRepository returns the OriginRepository field value if set, zero value otherwise. +func (o *CondaPackageUploadResponse) GetOriginRepository() string { + if o == nil || isNil(o.OriginRepository) { + var ret string + return ret + } + return *o.OriginRepository +} + +// GetOriginRepositoryOk returns a tuple with the OriginRepository field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *CondaPackageUploadResponse) GetOriginRepositoryOk() (*string, bool) { + if o == nil || isNil(o.OriginRepository) { + return nil, false + } + return o.OriginRepository, true +} + +// HasOriginRepository returns a boolean if a field has been set. +func (o *CondaPackageUploadResponse) HasOriginRepository() bool { + if o != nil && !isNil(o.OriginRepository) { + return true + } + + return false +} + +// SetOriginRepository gets a reference to the given string and assigns it to the OriginRepository field. +func (o *CondaPackageUploadResponse) SetOriginRepository(v string) { + o.OriginRepository = &v +} + +// GetOriginRepositoryUrl returns the OriginRepositoryUrl field value if set, zero value otherwise. +func (o *CondaPackageUploadResponse) GetOriginRepositoryUrl() string { + if o == nil || isNil(o.OriginRepositoryUrl) { + var ret string + return ret + } + return *o.OriginRepositoryUrl +} + +// GetOriginRepositoryUrlOk returns a tuple with the OriginRepositoryUrl field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *CondaPackageUploadResponse) GetOriginRepositoryUrlOk() (*string, bool) { + if o == nil || isNil(o.OriginRepositoryUrl) { + return nil, false + } + return o.OriginRepositoryUrl, true +} + +// HasOriginRepositoryUrl returns a boolean if a field has been set. +func (o *CondaPackageUploadResponse) HasOriginRepositoryUrl() bool { + if o != nil && !isNil(o.OriginRepositoryUrl) { + return true + } + + return false +} + +// SetOriginRepositoryUrl gets a reference to the given string and assigns it to the OriginRepositoryUrl field. +func (o *CondaPackageUploadResponse) SetOriginRepositoryUrl(v string) { + o.OriginRepositoryUrl = &v +} + +// GetPackageType returns the PackageType field value if set, zero value otherwise. +func (o *CondaPackageUploadResponse) GetPackageType() int64 { + if o == nil || isNil(o.PackageType) { + var ret int64 + return ret + } + return *o.PackageType +} + +// GetPackageTypeOk returns a tuple with the PackageType field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *CondaPackageUploadResponse) GetPackageTypeOk() (*int64, bool) { + if o == nil || isNil(o.PackageType) { + return nil, false + } + return o.PackageType, true +} + +// HasPackageType returns a boolean if a field has been set. +func (o *CondaPackageUploadResponse) HasPackageType() bool { + if o != nil && !isNil(o.PackageType) { + return true + } + + return false +} + +// SetPackageType gets a reference to the given int64 and assigns it to the PackageType field. +func (o *CondaPackageUploadResponse) SetPackageType(v int64) { + o.PackageType = &v +} + +// GetRelease returns the Release field value if set, zero value otherwise. +func (o *CondaPackageUploadResponse) GetRelease() string { + if o == nil || isNil(o.Release) { + var ret string + return ret + } + return *o.Release +} + +// GetReleaseOk returns a tuple with the Release field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *CondaPackageUploadResponse) GetReleaseOk() (*string, bool) { + if o == nil || isNil(o.Release) { + return nil, false + } + return o.Release, true +} + +// HasRelease returns a boolean if a field has been set. +func (o *CondaPackageUploadResponse) HasRelease() bool { + if o != nil && !isNil(o.Release) { + return true + } + + return false +} + +// SetRelease gets a reference to the given string and assigns it to the Release field. +func (o *CondaPackageUploadResponse) SetRelease(v string) { + o.Release = &v +} + +// GetRepository returns the Repository field value if set, zero value otherwise. +func (o *CondaPackageUploadResponse) GetRepository() string { + if o == nil || isNil(o.Repository) { + var ret string + return ret + } + return *o.Repository +} + +// GetRepositoryOk returns a tuple with the Repository field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *CondaPackageUploadResponse) GetRepositoryOk() (*string, bool) { + if o == nil || isNil(o.Repository) { + return nil, false + } + return o.Repository, true +} + +// HasRepository returns a boolean if a field has been set. +func (o *CondaPackageUploadResponse) HasRepository() bool { + if o != nil && !isNil(o.Repository) { + return true + } + + return false +} + +// SetRepository gets a reference to the given string and assigns it to the Repository field. +func (o *CondaPackageUploadResponse) SetRepository(v string) { + o.Repository = &v +} + +// GetRepositoryUrl returns the RepositoryUrl field value if set, zero value otherwise. +func (o *CondaPackageUploadResponse) GetRepositoryUrl() string { + if o == nil || isNil(o.RepositoryUrl) { + var ret string + return ret + } + return *o.RepositoryUrl +} + +// GetRepositoryUrlOk returns a tuple with the RepositoryUrl field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *CondaPackageUploadResponse) GetRepositoryUrlOk() (*string, bool) { + if o == nil || isNil(o.RepositoryUrl) { + return nil, false + } + return o.RepositoryUrl, true +} + +// HasRepositoryUrl returns a boolean if a field has been set. +func (o *CondaPackageUploadResponse) HasRepositoryUrl() bool { + if o != nil && !isNil(o.RepositoryUrl) { + return true + } + + return false +} + +// SetRepositoryUrl gets a reference to the given string and assigns it to the RepositoryUrl field. +func (o *CondaPackageUploadResponse) SetRepositoryUrl(v string) { + o.RepositoryUrl = &v +} + +// GetSecurityScanCompletedAt returns the SecurityScanCompletedAt field value if set, zero value otherwise. +func (o *CondaPackageUploadResponse) GetSecurityScanCompletedAt() time.Time { + if o == nil || isNil(o.SecurityScanCompletedAt) { + var ret time.Time + return ret + } + return *o.SecurityScanCompletedAt +} + +// GetSecurityScanCompletedAtOk returns a tuple with the SecurityScanCompletedAt field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *CondaPackageUploadResponse) GetSecurityScanCompletedAtOk() (*time.Time, bool) { + if o == nil || isNil(o.SecurityScanCompletedAt) { + return nil, false + } + return o.SecurityScanCompletedAt, true +} + +// HasSecurityScanCompletedAt returns a boolean if a field has been set. +func (o *CondaPackageUploadResponse) HasSecurityScanCompletedAt() bool { + if o != nil && !isNil(o.SecurityScanCompletedAt) { + return true + } + + return false +} + +// SetSecurityScanCompletedAt gets a reference to the given time.Time and assigns it to the SecurityScanCompletedAt field. +func (o *CondaPackageUploadResponse) SetSecurityScanCompletedAt(v time.Time) { + o.SecurityScanCompletedAt = &v +} + +// GetSecurityScanStartedAt returns the SecurityScanStartedAt field value if set, zero value otherwise. +func (o *CondaPackageUploadResponse) GetSecurityScanStartedAt() time.Time { + if o == nil || isNil(o.SecurityScanStartedAt) { + var ret time.Time + return ret + } + return *o.SecurityScanStartedAt +} + +// GetSecurityScanStartedAtOk returns a tuple with the SecurityScanStartedAt field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *CondaPackageUploadResponse) GetSecurityScanStartedAtOk() (*time.Time, bool) { + if o == nil || isNil(o.SecurityScanStartedAt) { + return nil, false + } + return o.SecurityScanStartedAt, true +} + +// HasSecurityScanStartedAt returns a boolean if a field has been set. +func (o *CondaPackageUploadResponse) HasSecurityScanStartedAt() bool { + if o != nil && !isNil(o.SecurityScanStartedAt) { + return true + } + + return false +} + +// SetSecurityScanStartedAt gets a reference to the given time.Time and assigns it to the SecurityScanStartedAt field. +func (o *CondaPackageUploadResponse) SetSecurityScanStartedAt(v time.Time) { + o.SecurityScanStartedAt = &v +} + +// GetSecurityScanStatus returns the SecurityScanStatus field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *CondaPackageUploadResponse) GetSecurityScanStatus() string { + if o == nil || isNil(o.SecurityScanStatus.Get()) { + var ret string + return ret + } + return *o.SecurityScanStatus.Get() +} + +// GetSecurityScanStatusOk returns a tuple with the SecurityScanStatus 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 *CondaPackageUploadResponse) GetSecurityScanStatusOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.SecurityScanStatus.Get(), o.SecurityScanStatus.IsSet() +} + +// HasSecurityScanStatus returns a boolean if a field has been set. +func (o *CondaPackageUploadResponse) HasSecurityScanStatus() bool { + if o != nil && o.SecurityScanStatus.IsSet() { + return true + } + + return false +} + +// SetSecurityScanStatus gets a reference to the given NullableString and assigns it to the SecurityScanStatus field. +func (o *CondaPackageUploadResponse) SetSecurityScanStatus(v string) { + o.SecurityScanStatus.Set(&v) +} + +// SetSecurityScanStatusNil sets the value for SecurityScanStatus to be an explicit nil +func (o *CondaPackageUploadResponse) SetSecurityScanStatusNil() { + o.SecurityScanStatus.Set(nil) +} + +// UnsetSecurityScanStatus ensures that no value is present for SecurityScanStatus, not even an explicit nil +func (o *CondaPackageUploadResponse) UnsetSecurityScanStatus() { + o.SecurityScanStatus.Unset() +} + +// GetSecurityScanStatusUpdatedAt returns the SecurityScanStatusUpdatedAt field value if set, zero value otherwise. +func (o *CondaPackageUploadResponse) GetSecurityScanStatusUpdatedAt() time.Time { + if o == nil || isNil(o.SecurityScanStatusUpdatedAt) { + var ret time.Time + return ret + } + return *o.SecurityScanStatusUpdatedAt +} + +// GetSecurityScanStatusUpdatedAtOk returns a tuple with the SecurityScanStatusUpdatedAt field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *CondaPackageUploadResponse) GetSecurityScanStatusUpdatedAtOk() (*time.Time, bool) { + if o == nil || isNil(o.SecurityScanStatusUpdatedAt) { + return nil, false + } + return o.SecurityScanStatusUpdatedAt, true +} + +// HasSecurityScanStatusUpdatedAt returns a boolean if a field has been set. +func (o *CondaPackageUploadResponse) HasSecurityScanStatusUpdatedAt() bool { + if o != nil && !isNil(o.SecurityScanStatusUpdatedAt) { + return true + } + + return false +} + +// SetSecurityScanStatusUpdatedAt gets a reference to the given time.Time and assigns it to the SecurityScanStatusUpdatedAt field. +func (o *CondaPackageUploadResponse) SetSecurityScanStatusUpdatedAt(v time.Time) { + o.SecurityScanStatusUpdatedAt = &v +} + +// GetSelfHtmlUrl returns the SelfHtmlUrl field value if set, zero value otherwise. +func (o *CondaPackageUploadResponse) GetSelfHtmlUrl() string { + if o == nil || isNil(o.SelfHtmlUrl) { + var ret string + return ret + } + return *o.SelfHtmlUrl +} + +// GetSelfHtmlUrlOk returns a tuple with the SelfHtmlUrl field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *CondaPackageUploadResponse) GetSelfHtmlUrlOk() (*string, bool) { + if o == nil || isNil(o.SelfHtmlUrl) { + return nil, false + } + return o.SelfHtmlUrl, true +} + +// HasSelfHtmlUrl returns a boolean if a field has been set. +func (o *CondaPackageUploadResponse) HasSelfHtmlUrl() bool { + if o != nil && !isNil(o.SelfHtmlUrl) { + return true + } + + return false +} + +// SetSelfHtmlUrl gets a reference to the given string and assigns it to the SelfHtmlUrl field. +func (o *CondaPackageUploadResponse) SetSelfHtmlUrl(v string) { + o.SelfHtmlUrl = &v +} + +// GetSelfUrl returns the SelfUrl field value if set, zero value otherwise. +func (o *CondaPackageUploadResponse) GetSelfUrl() string { + if o == nil || isNil(o.SelfUrl) { + var ret string + return ret + } + return *o.SelfUrl +} + +// GetSelfUrlOk returns a tuple with the SelfUrl field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *CondaPackageUploadResponse) GetSelfUrlOk() (*string, bool) { + if o == nil || isNil(o.SelfUrl) { + return nil, false + } + return o.SelfUrl, true +} + +// HasSelfUrl returns a boolean if a field has been set. +func (o *CondaPackageUploadResponse) HasSelfUrl() bool { + if o != nil && !isNil(o.SelfUrl) { + return true + } + + return false +} + +// SetSelfUrl gets a reference to the given string and assigns it to the SelfUrl field. +func (o *CondaPackageUploadResponse) SetSelfUrl(v string) { + o.SelfUrl = &v +} + +// GetSignatureUrl returns the SignatureUrl field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *CondaPackageUploadResponse) GetSignatureUrl() string { + if o == nil || isNil(o.SignatureUrl.Get()) { + var ret string + return ret + } + return *o.SignatureUrl.Get() +} + +// GetSignatureUrlOk returns a tuple with the SignatureUrl 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 *CondaPackageUploadResponse) GetSignatureUrlOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.SignatureUrl.Get(), o.SignatureUrl.IsSet() +} + +// HasSignatureUrl returns a boolean if a field has been set. +func (o *CondaPackageUploadResponse) HasSignatureUrl() bool { + if o != nil && o.SignatureUrl.IsSet() { + return true + } + + return false +} + +// SetSignatureUrl gets a reference to the given NullableString and assigns it to the SignatureUrl field. +func (o *CondaPackageUploadResponse) SetSignatureUrl(v string) { + o.SignatureUrl.Set(&v) +} + +// SetSignatureUrlNil sets the value for SignatureUrl to be an explicit nil +func (o *CondaPackageUploadResponse) SetSignatureUrlNil() { + o.SignatureUrl.Set(nil) +} + +// UnsetSignatureUrl ensures that no value is present for SignatureUrl, not even an explicit nil +func (o *CondaPackageUploadResponse) UnsetSignatureUrl() { + o.SignatureUrl.Unset() +} + +// GetSize returns the Size field value if set, zero value otherwise. +func (o *CondaPackageUploadResponse) GetSize() int64 { + if o == nil || isNil(o.Size) { + var ret int64 + return ret + } + return *o.Size +} + +// GetSizeOk returns a tuple with the Size field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *CondaPackageUploadResponse) GetSizeOk() (*int64, bool) { + if o == nil || isNil(o.Size) { + return nil, false + } + return o.Size, true +} + +// HasSize returns a boolean if a field has been set. +func (o *CondaPackageUploadResponse) HasSize() bool { + if o != nil && !isNil(o.Size) { + return true + } + + return false +} + +// SetSize gets a reference to the given int64 and assigns it to the Size field. +func (o *CondaPackageUploadResponse) SetSize(v int64) { + o.Size = &v +} + +// GetSlug returns the Slug field value if set, zero value otherwise. +func (o *CondaPackageUploadResponse) GetSlug() string { + if o == nil || isNil(o.Slug) { + var ret string + return ret + } + return *o.Slug +} + +// GetSlugOk returns a tuple with the Slug field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *CondaPackageUploadResponse) GetSlugOk() (*string, bool) { + if o == nil || isNil(o.Slug) { + return nil, false + } + return o.Slug, true +} + +// HasSlug returns a boolean if a field has been set. +func (o *CondaPackageUploadResponse) HasSlug() bool { + if o != nil && !isNil(o.Slug) { + return true + } + + return false +} + +// SetSlug gets a reference to the given string and assigns it to the Slug field. +func (o *CondaPackageUploadResponse) SetSlug(v string) { + o.Slug = &v +} + +// GetSlugPerm returns the SlugPerm field value if set, zero value otherwise. +func (o *CondaPackageUploadResponse) GetSlugPerm() string { + if o == nil || isNil(o.SlugPerm) { + var ret string + return ret + } + return *o.SlugPerm +} + +// GetSlugPermOk returns a tuple with the SlugPerm field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *CondaPackageUploadResponse) GetSlugPermOk() (*string, bool) { + if o == nil || isNil(o.SlugPerm) { + return nil, false + } + return o.SlugPerm, true +} + +// HasSlugPerm returns a boolean if a field has been set. +func (o *CondaPackageUploadResponse) HasSlugPerm() bool { + if o != nil && !isNil(o.SlugPerm) { + return true + } + + return false +} + +// SetSlugPerm gets a reference to the given string and assigns it to the SlugPerm field. +func (o *CondaPackageUploadResponse) SetSlugPerm(v string) { + o.SlugPerm = &v +} + +// GetStage returns the Stage field value if set, zero value otherwise. +func (o *CondaPackageUploadResponse) GetStage() int64 { + if o == nil || isNil(o.Stage) { + var ret int64 + return ret + } + return *o.Stage +} + +// GetStageOk returns a tuple with the Stage field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *CondaPackageUploadResponse) GetStageOk() (*int64, bool) { + if o == nil || isNil(o.Stage) { + return nil, false + } + return o.Stage, true +} + +// HasStage returns a boolean if a field has been set. +func (o *CondaPackageUploadResponse) HasStage() bool { + if o != nil && !isNil(o.Stage) { + return true + } + + return false +} + +// SetStage gets a reference to the given int64 and assigns it to the Stage field. +func (o *CondaPackageUploadResponse) SetStage(v int64) { + o.Stage = &v +} + +// GetStageStr returns the StageStr field value if set, zero value otherwise. +func (o *CondaPackageUploadResponse) GetStageStr() string { + if o == nil || isNil(o.StageStr) { + var ret string + return ret + } + return *o.StageStr +} + +// GetStageStrOk returns a tuple with the StageStr field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *CondaPackageUploadResponse) GetStageStrOk() (*string, bool) { + if o == nil || isNil(o.StageStr) { + return nil, false + } + return o.StageStr, true +} + +// HasStageStr returns a boolean if a field has been set. +func (o *CondaPackageUploadResponse) HasStageStr() bool { + if o != nil && !isNil(o.StageStr) { + return true + } + + return false +} + +// SetStageStr gets a reference to the given string and assigns it to the StageStr field. +func (o *CondaPackageUploadResponse) SetStageStr(v string) { + o.StageStr = &v +} + +// GetStageUpdatedAt returns the StageUpdatedAt field value if set, zero value otherwise. +func (o *CondaPackageUploadResponse) GetStageUpdatedAt() time.Time { + if o == nil || isNil(o.StageUpdatedAt) { + var ret time.Time + return ret + } + return *o.StageUpdatedAt +} + +// GetStageUpdatedAtOk returns a tuple with the StageUpdatedAt field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *CondaPackageUploadResponse) GetStageUpdatedAtOk() (*time.Time, bool) { + if o == nil || isNil(o.StageUpdatedAt) { + return nil, false + } + return o.StageUpdatedAt, true +} + +// HasStageUpdatedAt returns a boolean if a field has been set. +func (o *CondaPackageUploadResponse) HasStageUpdatedAt() bool { + if o != nil && !isNil(o.StageUpdatedAt) { + return true + } + + return false +} + +// SetStageUpdatedAt gets a reference to the given time.Time and assigns it to the StageUpdatedAt field. +func (o *CondaPackageUploadResponse) SetStageUpdatedAt(v time.Time) { + o.StageUpdatedAt = &v +} + +// GetStatus returns the Status field value if set, zero value otherwise. +func (o *CondaPackageUploadResponse) GetStatus() int64 { + if o == nil || isNil(o.Status) { + var ret int64 + return ret + } + return *o.Status +} + +// GetStatusOk returns a tuple with the Status field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *CondaPackageUploadResponse) GetStatusOk() (*int64, bool) { + if o == nil || isNil(o.Status) { + return nil, false + } + return o.Status, true +} + +// HasStatus returns a boolean if a field has been set. +func (o *CondaPackageUploadResponse) HasStatus() bool { + if o != nil && !isNil(o.Status) { + return true + } + + return false +} + +// SetStatus gets a reference to the given int64 and assigns it to the Status field. +func (o *CondaPackageUploadResponse) SetStatus(v int64) { + o.Status = &v +} + +// GetStatusReason returns the StatusReason field value if set, zero value otherwise. +func (o *CondaPackageUploadResponse) GetStatusReason() string { + if o == nil || isNil(o.StatusReason) { + var ret string + return ret + } + return *o.StatusReason +} + +// GetStatusReasonOk returns a tuple with the StatusReason field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *CondaPackageUploadResponse) GetStatusReasonOk() (*string, bool) { + if o == nil || isNil(o.StatusReason) { + return nil, false + } + return o.StatusReason, true +} + +// HasStatusReason returns a boolean if a field has been set. +func (o *CondaPackageUploadResponse) HasStatusReason() bool { + if o != nil && !isNil(o.StatusReason) { + return true + } + + return false +} + +// SetStatusReason gets a reference to the given string and assigns it to the StatusReason field. +func (o *CondaPackageUploadResponse) SetStatusReason(v string) { + o.StatusReason = &v +} + +// GetStatusStr returns the StatusStr field value if set, zero value otherwise. +func (o *CondaPackageUploadResponse) GetStatusStr() string { + if o == nil || isNil(o.StatusStr) { + var ret string + return ret + } + return *o.StatusStr +} + +// GetStatusStrOk returns a tuple with the StatusStr field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *CondaPackageUploadResponse) GetStatusStrOk() (*string, bool) { + if o == nil || isNil(o.StatusStr) { + return nil, false + } + return o.StatusStr, true +} + +// HasStatusStr returns a boolean if a field has been set. +func (o *CondaPackageUploadResponse) HasStatusStr() bool { + if o != nil && !isNil(o.StatusStr) { + return true + } + + return false +} + +// SetStatusStr gets a reference to the given string and assigns it to the StatusStr field. +func (o *CondaPackageUploadResponse) SetStatusStr(v string) { + o.StatusStr = &v +} + +// GetStatusUpdatedAt returns the StatusUpdatedAt field value if set, zero value otherwise. +func (o *CondaPackageUploadResponse) GetStatusUpdatedAt() time.Time { + if o == nil || isNil(o.StatusUpdatedAt) { + var ret time.Time + return ret + } + return *o.StatusUpdatedAt +} + +// GetStatusUpdatedAtOk returns a tuple with the StatusUpdatedAt field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *CondaPackageUploadResponse) GetStatusUpdatedAtOk() (*time.Time, bool) { + if o == nil || isNil(o.StatusUpdatedAt) { + return nil, false + } + return o.StatusUpdatedAt, true +} + +// HasStatusUpdatedAt returns a boolean if a field has been set. +func (o *CondaPackageUploadResponse) HasStatusUpdatedAt() bool { + if o != nil && !isNil(o.StatusUpdatedAt) { + return true + } + + return false +} + +// SetStatusUpdatedAt gets a reference to the given time.Time and assigns it to the StatusUpdatedAt field. +func (o *CondaPackageUploadResponse) SetStatusUpdatedAt(v time.Time) { + o.StatusUpdatedAt = &v +} + +// GetStatusUrl returns the StatusUrl field value if set, zero value otherwise. +func (o *CondaPackageUploadResponse) GetStatusUrl() string { + if o == nil || isNil(o.StatusUrl) { + var ret string + return ret + } + return *o.StatusUrl +} + +// GetStatusUrlOk returns a tuple with the StatusUrl field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *CondaPackageUploadResponse) GetStatusUrlOk() (*string, bool) { + if o == nil || isNil(o.StatusUrl) { + return nil, false + } + return o.StatusUrl, true +} + +// HasStatusUrl returns a boolean if a field has been set. +func (o *CondaPackageUploadResponse) HasStatusUrl() bool { + if o != nil && !isNil(o.StatusUrl) { + return true + } + + return false +} + +// SetStatusUrl gets a reference to the given string and assigns it to the StatusUrl field. +func (o *CondaPackageUploadResponse) SetStatusUrl(v string) { + o.StatusUrl = &v +} + +// GetSubtype returns the Subtype field value if set, zero value otherwise. +func (o *CondaPackageUploadResponse) GetSubtype() string { + if o == nil || isNil(o.Subtype) { + var ret string + return ret + } + return *o.Subtype +} + +// GetSubtypeOk returns a tuple with the Subtype field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *CondaPackageUploadResponse) GetSubtypeOk() (*string, bool) { + if o == nil || isNil(o.Subtype) { + return nil, false + } + return o.Subtype, true +} + +// HasSubtype returns a boolean if a field has been set. +func (o *CondaPackageUploadResponse) HasSubtype() bool { + if o != nil && !isNil(o.Subtype) { + return true + } + + return false +} + +// SetSubtype gets a reference to the given string and assigns it to the Subtype field. +func (o *CondaPackageUploadResponse) SetSubtype(v string) { + o.Subtype = &v +} + +// GetSummary returns the Summary field value if set, zero value otherwise. +func (o *CondaPackageUploadResponse) GetSummary() string { + if o == nil || isNil(o.Summary) { + var ret string + return ret + } + return *o.Summary +} + +// GetSummaryOk returns a tuple with the Summary field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *CondaPackageUploadResponse) GetSummaryOk() (*string, bool) { + if o == nil || isNil(o.Summary) { + return nil, false + } + return o.Summary, true +} + +// HasSummary returns a boolean if a field has been set. +func (o *CondaPackageUploadResponse) HasSummary() bool { + if o != nil && !isNil(o.Summary) { + return true + } + + return false +} + +// SetSummary gets a reference to the given string and assigns it to the Summary field. +func (o *CondaPackageUploadResponse) SetSummary(v string) { + o.Summary = &v +} + +// GetSyncFinishedAt returns the SyncFinishedAt field value if set, zero value otherwise. +func (o *CondaPackageUploadResponse) GetSyncFinishedAt() time.Time { + if o == nil || isNil(o.SyncFinishedAt) { + var ret time.Time + return ret + } + return *o.SyncFinishedAt +} + +// GetSyncFinishedAtOk returns a tuple with the SyncFinishedAt field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *CondaPackageUploadResponse) GetSyncFinishedAtOk() (*time.Time, bool) { + if o == nil || isNil(o.SyncFinishedAt) { + return nil, false + } + return o.SyncFinishedAt, true +} + +// HasSyncFinishedAt returns a boolean if a field has been set. +func (o *CondaPackageUploadResponse) HasSyncFinishedAt() bool { + if o != nil && !isNil(o.SyncFinishedAt) { + return true + } + + return false +} + +// SetSyncFinishedAt gets a reference to the given time.Time and assigns it to the SyncFinishedAt field. +func (o *CondaPackageUploadResponse) SetSyncFinishedAt(v time.Time) { + o.SyncFinishedAt = &v +} + +// GetSyncProgress returns the SyncProgress field value if set, zero value otherwise. +func (o *CondaPackageUploadResponse) GetSyncProgress() int64 { + if o == nil || isNil(o.SyncProgress) { + var ret int64 + return ret + } + return *o.SyncProgress +} + +// GetSyncProgressOk returns a tuple with the SyncProgress field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *CondaPackageUploadResponse) GetSyncProgressOk() (*int64, bool) { + if o == nil || isNil(o.SyncProgress) { + return nil, false + } + return o.SyncProgress, true +} + +// HasSyncProgress returns a boolean if a field has been set. +func (o *CondaPackageUploadResponse) HasSyncProgress() bool { + if o != nil && !isNil(o.SyncProgress) { + return true + } + + return false +} + +// SetSyncProgress gets a reference to the given int64 and assigns it to the SyncProgress field. +func (o *CondaPackageUploadResponse) SetSyncProgress(v int64) { + o.SyncProgress = &v +} + +// GetTagsImmutable returns the TagsImmutable field value if set, zero value otherwise. +func (o *CondaPackageUploadResponse) GetTagsImmutable() map[string]interface{} { + if o == nil || isNil(o.TagsImmutable) { + var ret map[string]interface{} + return ret + } + return o.TagsImmutable +} + +// GetTagsImmutableOk returns a tuple with the TagsImmutable field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *CondaPackageUploadResponse) GetTagsImmutableOk() (map[string]interface{}, bool) { + if o == nil || isNil(o.TagsImmutable) { + return map[string]interface{}{}, false + } + return o.TagsImmutable, true +} + +// HasTagsImmutable returns a boolean if a field has been set. +func (o *CondaPackageUploadResponse) HasTagsImmutable() bool { + if o != nil && !isNil(o.TagsImmutable) { + return true + } + + return false +} + +// SetTagsImmutable gets a reference to the given map[string]interface{} and assigns it to the TagsImmutable field. +func (o *CondaPackageUploadResponse) SetTagsImmutable(v map[string]interface{}) { + o.TagsImmutable = v +} + +// GetTypeDisplay returns the TypeDisplay field value if set, zero value otherwise. +func (o *CondaPackageUploadResponse) GetTypeDisplay() string { + if o == nil || isNil(o.TypeDisplay) { + var ret string + return ret + } + return *o.TypeDisplay +} + +// GetTypeDisplayOk returns a tuple with the TypeDisplay field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *CondaPackageUploadResponse) GetTypeDisplayOk() (*string, bool) { + if o == nil || isNil(o.TypeDisplay) { + return nil, false + } + return o.TypeDisplay, true +} + +// HasTypeDisplay returns a boolean if a field has been set. +func (o *CondaPackageUploadResponse) HasTypeDisplay() bool { + if o != nil && !isNil(o.TypeDisplay) { + return true + } + + return false +} + +// SetTypeDisplay gets a reference to the given string and assigns it to the TypeDisplay field. +func (o *CondaPackageUploadResponse) SetTypeDisplay(v string) { + o.TypeDisplay = &v +} + +// GetUploadedAt returns the UploadedAt field value if set, zero value otherwise. +func (o *CondaPackageUploadResponse) GetUploadedAt() time.Time { + if o == nil || isNil(o.UploadedAt) { + var ret time.Time + return ret + } + return *o.UploadedAt +} + +// GetUploadedAtOk returns a tuple with the UploadedAt field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *CondaPackageUploadResponse) GetUploadedAtOk() (*time.Time, bool) { + if o == nil || isNil(o.UploadedAt) { + return nil, false + } + return o.UploadedAt, true +} + +// HasUploadedAt returns a boolean if a field has been set. +func (o *CondaPackageUploadResponse) HasUploadedAt() bool { + if o != nil && !isNil(o.UploadedAt) { + return true + } + + return false +} + +// SetUploadedAt gets a reference to the given time.Time and assigns it to the UploadedAt field. +func (o *CondaPackageUploadResponse) SetUploadedAt(v time.Time) { + o.UploadedAt = &v +} + +// GetUploader returns the Uploader field value if set, zero value otherwise. +func (o *CondaPackageUploadResponse) GetUploader() string { + if o == nil || isNil(o.Uploader) { + var ret string + return ret + } + return *o.Uploader +} + +// GetUploaderOk returns a tuple with the Uploader field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *CondaPackageUploadResponse) GetUploaderOk() (*string, bool) { + if o == nil || isNil(o.Uploader) { + return nil, false + } + return o.Uploader, true +} + +// HasUploader returns a boolean if a field has been set. +func (o *CondaPackageUploadResponse) HasUploader() bool { + if o != nil && !isNil(o.Uploader) { + return true + } + + return false +} + +// SetUploader gets a reference to the given string and assigns it to the Uploader field. +func (o *CondaPackageUploadResponse) SetUploader(v string) { + o.Uploader = &v +} + +// GetUploaderUrl returns the UploaderUrl field value if set, zero value otherwise. +func (o *CondaPackageUploadResponse) GetUploaderUrl() string { + if o == nil || isNil(o.UploaderUrl) { + var ret string + return ret + } + return *o.UploaderUrl +} + +// GetUploaderUrlOk returns a tuple with the UploaderUrl field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *CondaPackageUploadResponse) GetUploaderUrlOk() (*string, bool) { + if o == nil || isNil(o.UploaderUrl) { + return nil, false + } + return o.UploaderUrl, true +} + +// HasUploaderUrl returns a boolean if a field has been set. +func (o *CondaPackageUploadResponse) HasUploaderUrl() bool { + if o != nil && !isNil(o.UploaderUrl) { + return true + } + + return false +} + +// SetUploaderUrl gets a reference to the given string and assigns it to the UploaderUrl field. +func (o *CondaPackageUploadResponse) SetUploaderUrl(v string) { + o.UploaderUrl = &v +} + +// GetVersion returns the Version field value if set, zero value otherwise. +func (o *CondaPackageUploadResponse) GetVersion() string { + if o == nil || isNil(o.Version) { + var ret string + return ret + } + return *o.Version +} + +// GetVersionOk returns a tuple with the Version field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *CondaPackageUploadResponse) GetVersionOk() (*string, bool) { + if o == nil || isNil(o.Version) { + return nil, false + } + return o.Version, true +} + +// HasVersion returns a boolean if a field has been set. +func (o *CondaPackageUploadResponse) HasVersion() bool { + if o != nil && !isNil(o.Version) { + return true + } + + return false +} + +// SetVersion gets a reference to the given string and assigns it to the Version field. +func (o *CondaPackageUploadResponse) SetVersion(v string) { + o.Version = &v +} + +// GetVersionOrig returns the VersionOrig field value if set, zero value otherwise. +func (o *CondaPackageUploadResponse) GetVersionOrig() string { + if o == nil || isNil(o.VersionOrig) { + var ret string + return ret + } + return *o.VersionOrig +} + +// GetVersionOrigOk returns a tuple with the VersionOrig field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *CondaPackageUploadResponse) GetVersionOrigOk() (*string, bool) { + if o == nil || isNil(o.VersionOrig) { + return nil, false + } + return o.VersionOrig, true +} + +// HasVersionOrig returns a boolean if a field has been set. +func (o *CondaPackageUploadResponse) HasVersionOrig() bool { + if o != nil && !isNil(o.VersionOrig) { + return true + } + + return false +} + +// SetVersionOrig gets a reference to the given string and assigns it to the VersionOrig field. +func (o *CondaPackageUploadResponse) SetVersionOrig(v string) { + o.VersionOrig = &v +} + +// GetVulnerabilityScanResultsUrl returns the VulnerabilityScanResultsUrl field value if set, zero value otherwise. +func (o *CondaPackageUploadResponse) GetVulnerabilityScanResultsUrl() string { + if o == nil || isNil(o.VulnerabilityScanResultsUrl) { + var ret string + return ret + } + return *o.VulnerabilityScanResultsUrl +} + +// GetVulnerabilityScanResultsUrlOk returns a tuple with the VulnerabilityScanResultsUrl field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *CondaPackageUploadResponse) GetVulnerabilityScanResultsUrlOk() (*string, bool) { + if o == nil || isNil(o.VulnerabilityScanResultsUrl) { + return nil, false + } + return o.VulnerabilityScanResultsUrl, true +} + +// HasVulnerabilityScanResultsUrl returns a boolean if a field has been set. +func (o *CondaPackageUploadResponse) HasVulnerabilityScanResultsUrl() bool { + if o != nil && !isNil(o.VulnerabilityScanResultsUrl) { + return true + } + + return false +} + +// SetVulnerabilityScanResultsUrl gets a reference to the given string and assigns it to the VulnerabilityScanResultsUrl field. +func (o *CondaPackageUploadResponse) SetVulnerabilityScanResultsUrl(v string) { + o.VulnerabilityScanResultsUrl = &v +} + +func (o CondaPackageUploadResponse) MarshalJSON() ([]byte, error) { + toSerialize := map[string]interface{}{} + if !isNil(o.Architectures) { + toSerialize["architectures"] = o.Architectures + } + if o.CdnUrl.IsSet() { + toSerialize["cdn_url"] = o.CdnUrl.Get() + } + if !isNil(o.ChecksumMd5) { + toSerialize["checksum_md5"] = o.ChecksumMd5 + } + if !isNil(o.ChecksumSha1) { + toSerialize["checksum_sha1"] = o.ChecksumSha1 + } + if !isNil(o.ChecksumSha256) { + toSerialize["checksum_sha256"] = o.ChecksumSha256 + } + if !isNil(o.ChecksumSha512) { + toSerialize["checksum_sha512"] = o.ChecksumSha512 + } + if !isNil(o.DependenciesChecksumMd5) { + toSerialize["dependencies_checksum_md5"] = o.DependenciesChecksumMd5 + } + if !isNil(o.DependenciesUrl) { + toSerialize["dependencies_url"] = o.DependenciesUrl + } + if !isNil(o.Description) { + toSerialize["description"] = o.Description + } + if o.Distro.IsSet() { + toSerialize["distro"] = o.Distro.Get() + } + if !isNil(o.DistroVersion) { + toSerialize["distro_version"] = o.DistroVersion + } + if !isNil(o.Downloads) { + toSerialize["downloads"] = o.Downloads + } + if !isNil(o.Epoch) { + toSerialize["epoch"] = o.Epoch + } + if !isNil(o.Extension) { + toSerialize["extension"] = o.Extension + } + if !isNil(o.Filename) { + toSerialize["filename"] = o.Filename + } + if !isNil(o.Files) { + toSerialize["files"] = o.Files + } + if !isNil(o.Format) { + toSerialize["format"] = o.Format + } + if !isNil(o.FormatUrl) { + toSerialize["format_url"] = o.FormatUrl + } + if !isNil(o.IdentifierPerm) { + toSerialize["identifier_perm"] = o.IdentifierPerm + } + if !isNil(o.Indexed) { + toSerialize["indexed"] = o.Indexed + } + if !isNil(o.IsDownloadable) { + toSerialize["is_downloadable"] = o.IsDownloadable + } + if !isNil(o.IsQuarantined) { + toSerialize["is_quarantined"] = o.IsQuarantined + } + if !isNil(o.IsSyncAwaiting) { + toSerialize["is_sync_awaiting"] = o.IsSyncAwaiting + } + if !isNil(o.IsSyncCompleted) { + toSerialize["is_sync_completed"] = o.IsSyncCompleted + } + if !isNil(o.IsSyncFailed) { + toSerialize["is_sync_failed"] = o.IsSyncFailed + } + if !isNil(o.IsSyncInFlight) { + toSerialize["is_sync_in_flight"] = o.IsSyncInFlight + } + if !isNil(o.IsSyncInProgress) { + toSerialize["is_sync_in_progress"] = o.IsSyncInProgress + } + if !isNil(o.License) { + toSerialize["license"] = o.License + } + if !isNil(o.Name) { + toSerialize["name"] = o.Name + } + if !isNil(o.Namespace) { + toSerialize["namespace"] = o.Namespace + } + if !isNil(o.NamespaceUrl) { + toSerialize["namespace_url"] = o.NamespaceUrl + } + if !isNil(o.NumFiles) { + toSerialize["num_files"] = o.NumFiles + } + if !isNil(o.OriginRepository) { + toSerialize["origin_repository"] = o.OriginRepository + } + if !isNil(o.OriginRepositoryUrl) { + toSerialize["origin_repository_url"] = o.OriginRepositoryUrl + } + if !isNil(o.PackageType) { + toSerialize["package_type"] = o.PackageType + } + if !isNil(o.Release) { + toSerialize["release"] = o.Release + } + if !isNil(o.Repository) { + toSerialize["repository"] = o.Repository + } + if !isNil(o.RepositoryUrl) { + toSerialize["repository_url"] = o.RepositoryUrl + } + if !isNil(o.SecurityScanCompletedAt) { + toSerialize["security_scan_completed_at"] = o.SecurityScanCompletedAt + } + if !isNil(o.SecurityScanStartedAt) { + toSerialize["security_scan_started_at"] = o.SecurityScanStartedAt + } + if o.SecurityScanStatus.IsSet() { + toSerialize["security_scan_status"] = o.SecurityScanStatus.Get() + } + if !isNil(o.SecurityScanStatusUpdatedAt) { + toSerialize["security_scan_status_updated_at"] = o.SecurityScanStatusUpdatedAt + } + if !isNil(o.SelfHtmlUrl) { + toSerialize["self_html_url"] = o.SelfHtmlUrl + } + if !isNil(o.SelfUrl) { + toSerialize["self_url"] = o.SelfUrl + } + if o.SignatureUrl.IsSet() { + toSerialize["signature_url"] = o.SignatureUrl.Get() + } + if !isNil(o.Size) { + toSerialize["size"] = o.Size + } + if !isNil(o.Slug) { + toSerialize["slug"] = o.Slug + } + if !isNil(o.SlugPerm) { + toSerialize["slug_perm"] = o.SlugPerm + } + if !isNil(o.Stage) { + toSerialize["stage"] = o.Stage + } + if !isNil(o.StageStr) { + toSerialize["stage_str"] = o.StageStr + } + if !isNil(o.StageUpdatedAt) { + toSerialize["stage_updated_at"] = o.StageUpdatedAt + } + if !isNil(o.Status) { + toSerialize["status"] = o.Status + } + if !isNil(o.StatusReason) { + toSerialize["status_reason"] = o.StatusReason + } + if !isNil(o.StatusStr) { + toSerialize["status_str"] = o.StatusStr + } + if !isNil(o.StatusUpdatedAt) { + toSerialize["status_updated_at"] = o.StatusUpdatedAt + } + if !isNil(o.StatusUrl) { + toSerialize["status_url"] = o.StatusUrl + } + if !isNil(o.Subtype) { + toSerialize["subtype"] = o.Subtype + } + if !isNil(o.Summary) { + toSerialize["summary"] = o.Summary + } + if !isNil(o.SyncFinishedAt) { + toSerialize["sync_finished_at"] = o.SyncFinishedAt + } + if !isNil(o.SyncProgress) { + toSerialize["sync_progress"] = o.SyncProgress + } + if !isNil(o.TagsImmutable) { + toSerialize["tags_immutable"] = o.TagsImmutable + } + if !isNil(o.TypeDisplay) { + toSerialize["type_display"] = o.TypeDisplay + } + if !isNil(o.UploadedAt) { + toSerialize["uploaded_at"] = o.UploadedAt + } + if !isNil(o.Uploader) { + toSerialize["uploader"] = o.Uploader + } + if !isNil(o.UploaderUrl) { + toSerialize["uploader_url"] = o.UploaderUrl + } + if !isNil(o.Version) { + toSerialize["version"] = o.Version + } + if !isNil(o.VersionOrig) { + toSerialize["version_orig"] = o.VersionOrig + } + if !isNil(o.VulnerabilityScanResultsUrl) { + toSerialize["vulnerability_scan_results_url"] = o.VulnerabilityScanResultsUrl + } + return json.Marshal(toSerialize) +} + +type NullableCondaPackageUploadResponse struct { + value *CondaPackageUploadResponse + isSet bool +} + +func (v NullableCondaPackageUploadResponse) Get() *CondaPackageUploadResponse { + return v.value +} + +func (v *NullableCondaPackageUploadResponse) Set(val *CondaPackageUploadResponse) { + v.value = val + v.isSet = true +} + +func (v NullableCondaPackageUploadResponse) IsSet() bool { + return v.isSet +} + +func (v *NullableCondaPackageUploadResponse) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableCondaPackageUploadResponse(val *CondaPackageUploadResponse) *NullableCondaPackageUploadResponse { + return &NullableCondaPackageUploadResponse{value: val, isSet: true} +} + +func (v NullableCondaPackageUploadResponse) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableCondaPackageUploadResponse) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} diff --git a/model_cran_package_upload.go b/model_cran_package_upload.go deleted file mode 100644 index 4cc7be7d..00000000 --- a/model_cran_package_upload.go +++ /dev/null @@ -1,2520 +0,0 @@ -/* -Cloudsmith API - -The API to the Cloudsmith Service - -API version: 1.121.3 -Contact: support@cloudsmith.io -*/ - -// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. - -package cloudsmith - -import ( - "encoding/json" -) - -// CranPackageUpload struct for CranPackageUpload -type CranPackageUpload struct { - // - Architectures []PackagesOwnerRepoArchitectures `json:"architectures,omitempty"` - // - CdnUrl *string `json:"cdn_url,omitempty"` - // - ChecksumMd5 *string `json:"checksum_md5,omitempty"` - // - ChecksumSha1 *string `json:"checksum_sha1,omitempty"` - // - ChecksumSha256 *string `json:"checksum_sha256,omitempty"` - // - ChecksumSha512 *string `json:"checksum_sha512,omitempty"` - // A checksum of all of the package's dependencies. - DependenciesChecksumMd5 *string `json:"dependencies_checksum_md5,omitempty"` - // - DependenciesUrl *string `json:"dependencies_url,omitempty"` - // A textual description of this package. - Description *string `json:"description,omitempty"` - // - Distro map[string]interface{} `json:"distro,omitempty"` - // - DistroVersion map[string]interface{} `json:"distro_version,omitempty"` - // - Downloads *int64 `json:"downloads,omitempty"` - // The epoch of the package version (if any). - Epoch *int64 `json:"epoch,omitempty"` - // - Extension *string `json:"extension,omitempty"` - // - Filename *string `json:"filename,omitempty"` - // - Files []PackagesOwnerRepoFiles `json:"files,omitempty"` - // - Format *string `json:"format,omitempty"` - // - FormatUrl *string `json:"format_url,omitempty"` - // Unique and permanent identifier for the package. - IdentifierPerm *string `json:"identifier_perm,omitempty"` - // - Indexed *bool `json:"indexed,omitempty"` - // - IsDownloadable *bool `json:"is_downloadable,omitempty"` - // - IsQuarantined *bool `json:"is_quarantined,omitempty"` - // - IsSyncAwaiting *bool `json:"is_sync_awaiting,omitempty"` - // - IsSyncCompleted *bool `json:"is_sync_completed,omitempty"` - // - IsSyncFailed *bool `json:"is_sync_failed,omitempty"` - // - IsSyncInFlight *bool `json:"is_sync_in_flight,omitempty"` - // - IsSyncInProgress *bool `json:"is_sync_in_progress,omitempty"` - // The license of this package. - License *string `json:"license,omitempty"` - // The name of this package. - Name *string `json:"name,omitempty"` - // - Namespace *string `json:"namespace,omitempty"` - // - NamespaceUrl *string `json:"namespace_url,omitempty"` - // - NumFiles *int64 `json:"num_files,omitempty"` - // The type of package contents. - PackageType *int64 `json:"package_type,omitempty"` - // The release of the package version (if any). - Release *string `json:"release,omitempty"` - // - Repository *string `json:"repository,omitempty"` - // - RepositoryUrl *string `json:"repository_url,omitempty"` - // The datetime the security scanning was completed. - SecurityScanCompletedAt *string `json:"security_scan_completed_at,omitempty"` - // The datetime the security scanning was started. - SecurityScanStartedAt *string `json:"security_scan_started_at,omitempty"` - // - SecurityScanStatus *string `json:"security_scan_status,omitempty"` - // The datetime the security scanning status was updated. - SecurityScanStatusUpdatedAt *string `json:"security_scan_status_updated_at,omitempty"` - // - SelfHtmlUrl *string `json:"self_html_url,omitempty"` - // - SelfUrl *string `json:"self_url,omitempty"` - // - SignatureUrl *string `json:"signature_url,omitempty"` - // The calculated size of the package. - Size *int64 `json:"size,omitempty"` - // The public unique identifier for the package. - Slug *string `json:"slug,omitempty"` - // - SlugPerm *string `json:"slug_perm,omitempty"` - // The synchronisation (in progress) stage of the package. - Stage *int64 `json:"stage,omitempty"` - // - StageStr *string `json:"stage_str,omitempty"` - // The datetime the package stage was updated at. - StageUpdatedAt *string `json:"stage_updated_at,omitempty"` - // The synchronisation status of the package. - Status *int64 `json:"status,omitempty"` - // A textual description for the synchronous status reason (if any - StatusReason *string `json:"status_reason,omitempty"` - // - StatusStr *string `json:"status_str,omitempty"` - // The datetime the package status was updated at. - StatusUpdatedAt *string `json:"status_updated_at,omitempty"` - // - StatusUrl *string `json:"status_url,omitempty"` - // - Subtype *string `json:"subtype,omitempty"` - // A one-liner synopsis of this package. - Summary *string `json:"summary,omitempty"` - // The datetime the package sync was finished at. - SyncFinishedAt *string `json:"sync_finished_at,omitempty"` - // Synchronisation progress (from 0-100) - SyncProgress *int64 `json:"sync_progress,omitempty"` - // All immutable tags on the package, grouped by tag type. Immutable tags cannot be (easily) deleted. - TagsImmutable map[string]interface{} `json:"tags_immutable,omitempty"` - // - TypeDisplay *string `json:"type_display,omitempty"` - // The date this package was uploaded. - UploadedAt *string `json:"uploaded_at,omitempty"` - // - Uploader *string `json:"uploader,omitempty"` - // - UploaderUrl *string `json:"uploader_url,omitempty"` - // The raw version for this package. - Version *string `json:"version,omitempty"` - // - VersionOrig *string `json:"version_orig,omitempty"` - // - VulnerabilityScanResultsUrl *string `json:"vulnerability_scan_results_url,omitempty"` -} - -// NewCranPackageUpload instantiates a new CranPackageUpload object -// 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 NewCranPackageUpload() *CranPackageUpload { - this := CranPackageUpload{} - return &this -} - -// NewCranPackageUploadWithDefaults instantiates a new CranPackageUpload object -// This constructor will only assign default values to properties that have it defined, -// but it doesn't guarantee that properties required by API are set -func NewCranPackageUploadWithDefaults() *CranPackageUpload { - this := CranPackageUpload{} - return &this -} - -// GetArchitectures returns the Architectures field value if set, zero value otherwise. -func (o *CranPackageUpload) GetArchitectures() []PackagesOwnerRepoArchitectures { - if o == nil || o.Architectures == nil { - var ret []PackagesOwnerRepoArchitectures - return ret - } - return o.Architectures -} - -// GetArchitecturesOk returns a tuple with the Architectures field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *CranPackageUpload) GetArchitecturesOk() ([]PackagesOwnerRepoArchitectures, bool) { - if o == nil || o.Architectures == nil { - return nil, false - } - return o.Architectures, true -} - -// HasArchitectures returns a boolean if a field has been set. -func (o *CranPackageUpload) HasArchitectures() bool { - if o != nil && o.Architectures != nil { - return true - } - - return false -} - -// SetArchitectures gets a reference to the given []PackagesOwnerRepoArchitectures and assigns it to the Architectures field. -func (o *CranPackageUpload) SetArchitectures(v []PackagesOwnerRepoArchitectures) { - o.Architectures = v -} - -// GetCdnUrl returns the CdnUrl field value if set, zero value otherwise. -func (o *CranPackageUpload) GetCdnUrl() string { - if o == nil || o.CdnUrl == nil { - var ret string - return ret - } - return *o.CdnUrl -} - -// GetCdnUrlOk returns a tuple with the CdnUrl field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *CranPackageUpload) GetCdnUrlOk() (*string, bool) { - if o == nil || o.CdnUrl == nil { - return nil, false - } - return o.CdnUrl, true -} - -// HasCdnUrl returns a boolean if a field has been set. -func (o *CranPackageUpload) HasCdnUrl() bool { - if o != nil && o.CdnUrl != nil { - return true - } - - return false -} - -// SetCdnUrl gets a reference to the given string and assigns it to the CdnUrl field. -func (o *CranPackageUpload) SetCdnUrl(v string) { - o.CdnUrl = &v -} - -// GetChecksumMd5 returns the ChecksumMd5 field value if set, zero value otherwise. -func (o *CranPackageUpload) GetChecksumMd5() string { - if o == nil || o.ChecksumMd5 == nil { - var ret string - return ret - } - return *o.ChecksumMd5 -} - -// GetChecksumMd5Ok returns a tuple with the ChecksumMd5 field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *CranPackageUpload) GetChecksumMd5Ok() (*string, bool) { - if o == nil || o.ChecksumMd5 == nil { - return nil, false - } - return o.ChecksumMd5, true -} - -// HasChecksumMd5 returns a boolean if a field has been set. -func (o *CranPackageUpload) HasChecksumMd5() bool { - if o != nil && o.ChecksumMd5 != nil { - return true - } - - return false -} - -// SetChecksumMd5 gets a reference to the given string and assigns it to the ChecksumMd5 field. -func (o *CranPackageUpload) SetChecksumMd5(v string) { - o.ChecksumMd5 = &v -} - -// GetChecksumSha1 returns the ChecksumSha1 field value if set, zero value otherwise. -func (o *CranPackageUpload) GetChecksumSha1() string { - if o == nil || o.ChecksumSha1 == nil { - var ret string - return ret - } - return *o.ChecksumSha1 -} - -// GetChecksumSha1Ok returns a tuple with the ChecksumSha1 field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *CranPackageUpload) GetChecksumSha1Ok() (*string, bool) { - if o == nil || o.ChecksumSha1 == nil { - return nil, false - } - return o.ChecksumSha1, true -} - -// HasChecksumSha1 returns a boolean if a field has been set. -func (o *CranPackageUpload) HasChecksumSha1() bool { - if o != nil && o.ChecksumSha1 != nil { - return true - } - - return false -} - -// SetChecksumSha1 gets a reference to the given string and assigns it to the ChecksumSha1 field. -func (o *CranPackageUpload) SetChecksumSha1(v string) { - o.ChecksumSha1 = &v -} - -// GetChecksumSha256 returns the ChecksumSha256 field value if set, zero value otherwise. -func (o *CranPackageUpload) GetChecksumSha256() string { - if o == nil || o.ChecksumSha256 == nil { - var ret string - return ret - } - return *o.ChecksumSha256 -} - -// GetChecksumSha256Ok returns a tuple with the ChecksumSha256 field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *CranPackageUpload) GetChecksumSha256Ok() (*string, bool) { - if o == nil || o.ChecksumSha256 == nil { - return nil, false - } - return o.ChecksumSha256, true -} - -// HasChecksumSha256 returns a boolean if a field has been set. -func (o *CranPackageUpload) HasChecksumSha256() bool { - if o != nil && o.ChecksumSha256 != nil { - return true - } - - return false -} - -// SetChecksumSha256 gets a reference to the given string and assigns it to the ChecksumSha256 field. -func (o *CranPackageUpload) SetChecksumSha256(v string) { - o.ChecksumSha256 = &v -} - -// GetChecksumSha512 returns the ChecksumSha512 field value if set, zero value otherwise. -func (o *CranPackageUpload) GetChecksumSha512() string { - if o == nil || o.ChecksumSha512 == nil { - var ret string - return ret - } - return *o.ChecksumSha512 -} - -// GetChecksumSha512Ok returns a tuple with the ChecksumSha512 field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *CranPackageUpload) GetChecksumSha512Ok() (*string, bool) { - if o == nil || o.ChecksumSha512 == nil { - return nil, false - } - return o.ChecksumSha512, true -} - -// HasChecksumSha512 returns a boolean if a field has been set. -func (o *CranPackageUpload) HasChecksumSha512() bool { - if o != nil && o.ChecksumSha512 != nil { - return true - } - - return false -} - -// SetChecksumSha512 gets a reference to the given string and assigns it to the ChecksumSha512 field. -func (o *CranPackageUpload) SetChecksumSha512(v string) { - o.ChecksumSha512 = &v -} - -// GetDependenciesChecksumMd5 returns the DependenciesChecksumMd5 field value if set, zero value otherwise. -func (o *CranPackageUpload) GetDependenciesChecksumMd5() string { - if o == nil || o.DependenciesChecksumMd5 == nil { - var ret string - return ret - } - return *o.DependenciesChecksumMd5 -} - -// GetDependenciesChecksumMd5Ok returns a tuple with the DependenciesChecksumMd5 field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *CranPackageUpload) GetDependenciesChecksumMd5Ok() (*string, bool) { - if o == nil || o.DependenciesChecksumMd5 == nil { - return nil, false - } - return o.DependenciesChecksumMd5, true -} - -// HasDependenciesChecksumMd5 returns a boolean if a field has been set. -func (o *CranPackageUpload) HasDependenciesChecksumMd5() bool { - if o != nil && o.DependenciesChecksumMd5 != nil { - return true - } - - return false -} - -// SetDependenciesChecksumMd5 gets a reference to the given string and assigns it to the DependenciesChecksumMd5 field. -func (o *CranPackageUpload) SetDependenciesChecksumMd5(v string) { - o.DependenciesChecksumMd5 = &v -} - -// GetDependenciesUrl returns the DependenciesUrl field value if set, zero value otherwise. -func (o *CranPackageUpload) GetDependenciesUrl() string { - if o == nil || o.DependenciesUrl == nil { - var ret string - return ret - } - return *o.DependenciesUrl -} - -// GetDependenciesUrlOk returns a tuple with the DependenciesUrl field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *CranPackageUpload) GetDependenciesUrlOk() (*string, bool) { - if o == nil || o.DependenciesUrl == nil { - return nil, false - } - return o.DependenciesUrl, true -} - -// HasDependenciesUrl returns a boolean if a field has been set. -func (o *CranPackageUpload) HasDependenciesUrl() bool { - if o != nil && o.DependenciesUrl != nil { - return true - } - - return false -} - -// SetDependenciesUrl gets a reference to the given string and assigns it to the DependenciesUrl field. -func (o *CranPackageUpload) SetDependenciesUrl(v string) { - o.DependenciesUrl = &v -} - -// GetDescription returns the Description field value if set, zero value otherwise. -func (o *CranPackageUpload) GetDescription() string { - if o == nil || o.Description == nil { - var ret string - return ret - } - return *o.Description -} - -// GetDescriptionOk returns a tuple with the Description field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *CranPackageUpload) GetDescriptionOk() (*string, bool) { - if o == nil || o.Description == nil { - return nil, false - } - return o.Description, true -} - -// HasDescription returns a boolean if a field has been set. -func (o *CranPackageUpload) HasDescription() bool { - if o != nil && o.Description != nil { - return true - } - - return false -} - -// SetDescription gets a reference to the given string and assigns it to the Description field. -func (o *CranPackageUpload) SetDescription(v string) { - o.Description = &v -} - -// GetDistro returns the Distro field value if set, zero value otherwise. -func (o *CranPackageUpload) GetDistro() map[string]interface{} { - if o == nil || o.Distro == nil { - var ret map[string]interface{} - return ret - } - return o.Distro -} - -// GetDistroOk returns a tuple with the Distro field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *CranPackageUpload) GetDistroOk() (map[string]interface{}, bool) { - if o == nil || o.Distro == nil { - return nil, false - } - return o.Distro, true -} - -// HasDistro returns a boolean if a field has been set. -func (o *CranPackageUpload) HasDistro() bool { - if o != nil && o.Distro != nil { - return true - } - - return false -} - -// SetDistro gets a reference to the given map[string]interface{} and assigns it to the Distro field. -func (o *CranPackageUpload) SetDistro(v map[string]interface{}) { - o.Distro = v -} - -// GetDistroVersion returns the DistroVersion field value if set, zero value otherwise. -func (o *CranPackageUpload) GetDistroVersion() map[string]interface{} { - if o == nil || o.DistroVersion == nil { - var ret map[string]interface{} - return ret - } - return o.DistroVersion -} - -// GetDistroVersionOk returns a tuple with the DistroVersion field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *CranPackageUpload) GetDistroVersionOk() (map[string]interface{}, bool) { - if o == nil || o.DistroVersion == nil { - return nil, false - } - return o.DistroVersion, true -} - -// HasDistroVersion returns a boolean if a field has been set. -func (o *CranPackageUpload) HasDistroVersion() bool { - if o != nil && o.DistroVersion != nil { - return true - } - - return false -} - -// SetDistroVersion gets a reference to the given map[string]interface{} and assigns it to the DistroVersion field. -func (o *CranPackageUpload) SetDistroVersion(v map[string]interface{}) { - o.DistroVersion = v -} - -// GetDownloads returns the Downloads field value if set, zero value otherwise. -func (o *CranPackageUpload) GetDownloads() int64 { - if o == nil || o.Downloads == nil { - var ret int64 - return ret - } - return *o.Downloads -} - -// GetDownloadsOk returns a tuple with the Downloads field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *CranPackageUpload) GetDownloadsOk() (*int64, bool) { - if o == nil || o.Downloads == nil { - return nil, false - } - return o.Downloads, true -} - -// HasDownloads returns a boolean if a field has been set. -func (o *CranPackageUpload) HasDownloads() bool { - if o != nil && o.Downloads != nil { - return true - } - - return false -} - -// SetDownloads gets a reference to the given int64 and assigns it to the Downloads field. -func (o *CranPackageUpload) SetDownloads(v int64) { - o.Downloads = &v -} - -// GetEpoch returns the Epoch field value if set, zero value otherwise. -func (o *CranPackageUpload) GetEpoch() int64 { - if o == nil || o.Epoch == nil { - var ret int64 - return ret - } - return *o.Epoch -} - -// GetEpochOk returns a tuple with the Epoch field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *CranPackageUpload) GetEpochOk() (*int64, bool) { - if o == nil || o.Epoch == nil { - return nil, false - } - return o.Epoch, true -} - -// HasEpoch returns a boolean if a field has been set. -func (o *CranPackageUpload) HasEpoch() bool { - if o != nil && o.Epoch != nil { - return true - } - - return false -} - -// SetEpoch gets a reference to the given int64 and assigns it to the Epoch field. -func (o *CranPackageUpload) SetEpoch(v int64) { - o.Epoch = &v -} - -// GetExtension returns the Extension field value if set, zero value otherwise. -func (o *CranPackageUpload) GetExtension() string { - if o == nil || o.Extension == nil { - var ret string - return ret - } - return *o.Extension -} - -// GetExtensionOk returns a tuple with the Extension field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *CranPackageUpload) GetExtensionOk() (*string, bool) { - if o == nil || o.Extension == nil { - return nil, false - } - return o.Extension, true -} - -// HasExtension returns a boolean if a field has been set. -func (o *CranPackageUpload) HasExtension() bool { - if o != nil && o.Extension != nil { - return true - } - - return false -} - -// SetExtension gets a reference to the given string and assigns it to the Extension field. -func (o *CranPackageUpload) SetExtension(v string) { - o.Extension = &v -} - -// GetFilename returns the Filename field value if set, zero value otherwise. -func (o *CranPackageUpload) GetFilename() string { - if o == nil || o.Filename == nil { - var ret string - return ret - } - return *o.Filename -} - -// GetFilenameOk returns a tuple with the Filename field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *CranPackageUpload) GetFilenameOk() (*string, bool) { - if o == nil || o.Filename == nil { - return nil, false - } - return o.Filename, true -} - -// HasFilename returns a boolean if a field has been set. -func (o *CranPackageUpload) HasFilename() bool { - if o != nil && o.Filename != nil { - return true - } - - return false -} - -// SetFilename gets a reference to the given string and assigns it to the Filename field. -func (o *CranPackageUpload) SetFilename(v string) { - o.Filename = &v -} - -// GetFiles returns the Files field value if set, zero value otherwise. -func (o *CranPackageUpload) GetFiles() []PackagesOwnerRepoFiles { - if o == nil || o.Files == nil { - var ret []PackagesOwnerRepoFiles - return ret - } - return o.Files -} - -// GetFilesOk returns a tuple with the Files field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *CranPackageUpload) GetFilesOk() ([]PackagesOwnerRepoFiles, bool) { - if o == nil || o.Files == nil { - return nil, false - } - return o.Files, true -} - -// HasFiles returns a boolean if a field has been set. -func (o *CranPackageUpload) HasFiles() bool { - if o != nil && o.Files != nil { - return true - } - - return false -} - -// SetFiles gets a reference to the given []PackagesOwnerRepoFiles and assigns it to the Files field. -func (o *CranPackageUpload) SetFiles(v []PackagesOwnerRepoFiles) { - o.Files = v -} - -// GetFormat returns the Format field value if set, zero value otherwise. -func (o *CranPackageUpload) GetFormat() string { - if o == nil || o.Format == nil { - var ret string - return ret - } - return *o.Format -} - -// GetFormatOk returns a tuple with the Format field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *CranPackageUpload) GetFormatOk() (*string, bool) { - if o == nil || o.Format == nil { - return nil, false - } - return o.Format, true -} - -// HasFormat returns a boolean if a field has been set. -func (o *CranPackageUpload) HasFormat() bool { - if o != nil && o.Format != nil { - return true - } - - return false -} - -// SetFormat gets a reference to the given string and assigns it to the Format field. -func (o *CranPackageUpload) SetFormat(v string) { - o.Format = &v -} - -// GetFormatUrl returns the FormatUrl field value if set, zero value otherwise. -func (o *CranPackageUpload) GetFormatUrl() string { - if o == nil || o.FormatUrl == nil { - var ret string - return ret - } - return *o.FormatUrl -} - -// GetFormatUrlOk returns a tuple with the FormatUrl field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *CranPackageUpload) GetFormatUrlOk() (*string, bool) { - if o == nil || o.FormatUrl == nil { - return nil, false - } - return o.FormatUrl, true -} - -// HasFormatUrl returns a boolean if a field has been set. -func (o *CranPackageUpload) HasFormatUrl() bool { - if o != nil && o.FormatUrl != nil { - return true - } - - return false -} - -// SetFormatUrl gets a reference to the given string and assigns it to the FormatUrl field. -func (o *CranPackageUpload) SetFormatUrl(v string) { - o.FormatUrl = &v -} - -// GetIdentifierPerm returns the IdentifierPerm field value if set, zero value otherwise. -func (o *CranPackageUpload) GetIdentifierPerm() string { - if o == nil || o.IdentifierPerm == nil { - var ret string - return ret - } - return *o.IdentifierPerm -} - -// GetIdentifierPermOk returns a tuple with the IdentifierPerm field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *CranPackageUpload) GetIdentifierPermOk() (*string, bool) { - if o == nil || o.IdentifierPerm == nil { - return nil, false - } - return o.IdentifierPerm, true -} - -// HasIdentifierPerm returns a boolean if a field has been set. -func (o *CranPackageUpload) HasIdentifierPerm() bool { - if o != nil && o.IdentifierPerm != nil { - return true - } - - return false -} - -// SetIdentifierPerm gets a reference to the given string and assigns it to the IdentifierPerm field. -func (o *CranPackageUpload) SetIdentifierPerm(v string) { - o.IdentifierPerm = &v -} - -// GetIndexed returns the Indexed field value if set, zero value otherwise. -func (o *CranPackageUpload) GetIndexed() bool { - if o == nil || o.Indexed == nil { - var ret bool - return ret - } - return *o.Indexed -} - -// GetIndexedOk returns a tuple with the Indexed field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *CranPackageUpload) GetIndexedOk() (*bool, bool) { - if o == nil || o.Indexed == nil { - return nil, false - } - return o.Indexed, true -} - -// HasIndexed returns a boolean if a field has been set. -func (o *CranPackageUpload) HasIndexed() bool { - if o != nil && o.Indexed != nil { - return true - } - - return false -} - -// SetIndexed gets a reference to the given bool and assigns it to the Indexed field. -func (o *CranPackageUpload) SetIndexed(v bool) { - o.Indexed = &v -} - -// GetIsDownloadable returns the IsDownloadable field value if set, zero value otherwise. -func (o *CranPackageUpload) GetIsDownloadable() bool { - if o == nil || o.IsDownloadable == nil { - var ret bool - return ret - } - return *o.IsDownloadable -} - -// GetIsDownloadableOk returns a tuple with the IsDownloadable field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *CranPackageUpload) GetIsDownloadableOk() (*bool, bool) { - if o == nil || o.IsDownloadable == nil { - return nil, false - } - return o.IsDownloadable, true -} - -// HasIsDownloadable returns a boolean if a field has been set. -func (o *CranPackageUpload) HasIsDownloadable() bool { - if o != nil && o.IsDownloadable != nil { - return true - } - - return false -} - -// SetIsDownloadable gets a reference to the given bool and assigns it to the IsDownloadable field. -func (o *CranPackageUpload) SetIsDownloadable(v bool) { - o.IsDownloadable = &v -} - -// GetIsQuarantined returns the IsQuarantined field value if set, zero value otherwise. -func (o *CranPackageUpload) GetIsQuarantined() bool { - if o == nil || o.IsQuarantined == nil { - var ret bool - return ret - } - return *o.IsQuarantined -} - -// GetIsQuarantinedOk returns a tuple with the IsQuarantined field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *CranPackageUpload) GetIsQuarantinedOk() (*bool, bool) { - if o == nil || o.IsQuarantined == nil { - return nil, false - } - return o.IsQuarantined, true -} - -// HasIsQuarantined returns a boolean if a field has been set. -func (o *CranPackageUpload) HasIsQuarantined() bool { - if o != nil && o.IsQuarantined != nil { - return true - } - - return false -} - -// SetIsQuarantined gets a reference to the given bool and assigns it to the IsQuarantined field. -func (o *CranPackageUpload) SetIsQuarantined(v bool) { - o.IsQuarantined = &v -} - -// GetIsSyncAwaiting returns the IsSyncAwaiting field value if set, zero value otherwise. -func (o *CranPackageUpload) GetIsSyncAwaiting() bool { - if o == nil || o.IsSyncAwaiting == nil { - var ret bool - return ret - } - return *o.IsSyncAwaiting -} - -// GetIsSyncAwaitingOk returns a tuple with the IsSyncAwaiting field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *CranPackageUpload) GetIsSyncAwaitingOk() (*bool, bool) { - if o == nil || o.IsSyncAwaiting == nil { - return nil, false - } - return o.IsSyncAwaiting, true -} - -// HasIsSyncAwaiting returns a boolean if a field has been set. -func (o *CranPackageUpload) HasIsSyncAwaiting() bool { - if o != nil && o.IsSyncAwaiting != nil { - return true - } - - return false -} - -// SetIsSyncAwaiting gets a reference to the given bool and assigns it to the IsSyncAwaiting field. -func (o *CranPackageUpload) SetIsSyncAwaiting(v bool) { - o.IsSyncAwaiting = &v -} - -// GetIsSyncCompleted returns the IsSyncCompleted field value if set, zero value otherwise. -func (o *CranPackageUpload) GetIsSyncCompleted() bool { - if o == nil || o.IsSyncCompleted == nil { - var ret bool - return ret - } - return *o.IsSyncCompleted -} - -// GetIsSyncCompletedOk returns a tuple with the IsSyncCompleted field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *CranPackageUpload) GetIsSyncCompletedOk() (*bool, bool) { - if o == nil || o.IsSyncCompleted == nil { - return nil, false - } - return o.IsSyncCompleted, true -} - -// HasIsSyncCompleted returns a boolean if a field has been set. -func (o *CranPackageUpload) HasIsSyncCompleted() bool { - if o != nil && o.IsSyncCompleted != nil { - return true - } - - return false -} - -// SetIsSyncCompleted gets a reference to the given bool and assigns it to the IsSyncCompleted field. -func (o *CranPackageUpload) SetIsSyncCompleted(v bool) { - o.IsSyncCompleted = &v -} - -// GetIsSyncFailed returns the IsSyncFailed field value if set, zero value otherwise. -func (o *CranPackageUpload) GetIsSyncFailed() bool { - if o == nil || o.IsSyncFailed == nil { - var ret bool - return ret - } - return *o.IsSyncFailed -} - -// GetIsSyncFailedOk returns a tuple with the IsSyncFailed field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *CranPackageUpload) GetIsSyncFailedOk() (*bool, bool) { - if o == nil || o.IsSyncFailed == nil { - return nil, false - } - return o.IsSyncFailed, true -} - -// HasIsSyncFailed returns a boolean if a field has been set. -func (o *CranPackageUpload) HasIsSyncFailed() bool { - if o != nil && o.IsSyncFailed != nil { - return true - } - - return false -} - -// SetIsSyncFailed gets a reference to the given bool and assigns it to the IsSyncFailed field. -func (o *CranPackageUpload) SetIsSyncFailed(v bool) { - o.IsSyncFailed = &v -} - -// GetIsSyncInFlight returns the IsSyncInFlight field value if set, zero value otherwise. -func (o *CranPackageUpload) GetIsSyncInFlight() bool { - if o == nil || o.IsSyncInFlight == nil { - var ret bool - return ret - } - return *o.IsSyncInFlight -} - -// GetIsSyncInFlightOk returns a tuple with the IsSyncInFlight field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *CranPackageUpload) GetIsSyncInFlightOk() (*bool, bool) { - if o == nil || o.IsSyncInFlight == nil { - return nil, false - } - return o.IsSyncInFlight, true -} - -// HasIsSyncInFlight returns a boolean if a field has been set. -func (o *CranPackageUpload) HasIsSyncInFlight() bool { - if o != nil && o.IsSyncInFlight != nil { - return true - } - - return false -} - -// SetIsSyncInFlight gets a reference to the given bool and assigns it to the IsSyncInFlight field. -func (o *CranPackageUpload) SetIsSyncInFlight(v bool) { - o.IsSyncInFlight = &v -} - -// GetIsSyncInProgress returns the IsSyncInProgress field value if set, zero value otherwise. -func (o *CranPackageUpload) GetIsSyncInProgress() bool { - if o == nil || o.IsSyncInProgress == nil { - var ret bool - return ret - } - return *o.IsSyncInProgress -} - -// GetIsSyncInProgressOk returns a tuple with the IsSyncInProgress field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *CranPackageUpload) GetIsSyncInProgressOk() (*bool, bool) { - if o == nil || o.IsSyncInProgress == nil { - return nil, false - } - return o.IsSyncInProgress, true -} - -// HasIsSyncInProgress returns a boolean if a field has been set. -func (o *CranPackageUpload) HasIsSyncInProgress() bool { - if o != nil && o.IsSyncInProgress != nil { - return true - } - - return false -} - -// SetIsSyncInProgress gets a reference to the given bool and assigns it to the IsSyncInProgress field. -func (o *CranPackageUpload) SetIsSyncInProgress(v bool) { - o.IsSyncInProgress = &v -} - -// GetLicense returns the License field value if set, zero value otherwise. -func (o *CranPackageUpload) GetLicense() string { - if o == nil || o.License == nil { - var ret string - return ret - } - return *o.License -} - -// GetLicenseOk returns a tuple with the License field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *CranPackageUpload) GetLicenseOk() (*string, bool) { - if o == nil || o.License == nil { - return nil, false - } - return o.License, true -} - -// HasLicense returns a boolean if a field has been set. -func (o *CranPackageUpload) HasLicense() bool { - if o != nil && o.License != nil { - return true - } - - return false -} - -// SetLicense gets a reference to the given string and assigns it to the License field. -func (o *CranPackageUpload) SetLicense(v string) { - o.License = &v -} - -// GetName returns the Name field value if set, zero value otherwise. -func (o *CranPackageUpload) GetName() string { - if o == nil || o.Name == nil { - var ret string - return ret - } - return *o.Name -} - -// GetNameOk returns a tuple with the Name field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *CranPackageUpload) GetNameOk() (*string, bool) { - if o == nil || o.Name == nil { - return nil, false - } - return o.Name, true -} - -// HasName returns a boolean if a field has been set. -func (o *CranPackageUpload) HasName() bool { - if o != nil && o.Name != nil { - return true - } - - return false -} - -// SetName gets a reference to the given string and assigns it to the Name field. -func (o *CranPackageUpload) SetName(v string) { - o.Name = &v -} - -// GetNamespace returns the Namespace field value if set, zero value otherwise. -func (o *CranPackageUpload) GetNamespace() string { - if o == nil || o.Namespace == nil { - var ret string - return ret - } - return *o.Namespace -} - -// GetNamespaceOk returns a tuple with the Namespace field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *CranPackageUpload) GetNamespaceOk() (*string, bool) { - if o == nil || o.Namespace == nil { - return nil, false - } - return o.Namespace, true -} - -// HasNamespace returns a boolean if a field has been set. -func (o *CranPackageUpload) HasNamespace() bool { - if o != nil && o.Namespace != nil { - return true - } - - return false -} - -// SetNamespace gets a reference to the given string and assigns it to the Namespace field. -func (o *CranPackageUpload) SetNamespace(v string) { - o.Namespace = &v -} - -// GetNamespaceUrl returns the NamespaceUrl field value if set, zero value otherwise. -func (o *CranPackageUpload) GetNamespaceUrl() string { - if o == nil || o.NamespaceUrl == nil { - var ret string - return ret - } - return *o.NamespaceUrl -} - -// GetNamespaceUrlOk returns a tuple with the NamespaceUrl field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *CranPackageUpload) GetNamespaceUrlOk() (*string, bool) { - if o == nil || o.NamespaceUrl == nil { - return nil, false - } - return o.NamespaceUrl, true -} - -// HasNamespaceUrl returns a boolean if a field has been set. -func (o *CranPackageUpload) HasNamespaceUrl() bool { - if o != nil && o.NamespaceUrl != nil { - return true - } - - return false -} - -// SetNamespaceUrl gets a reference to the given string and assigns it to the NamespaceUrl field. -func (o *CranPackageUpload) SetNamespaceUrl(v string) { - o.NamespaceUrl = &v -} - -// GetNumFiles returns the NumFiles field value if set, zero value otherwise. -func (o *CranPackageUpload) GetNumFiles() int64 { - if o == nil || o.NumFiles == nil { - var ret int64 - return ret - } - return *o.NumFiles -} - -// GetNumFilesOk returns a tuple with the NumFiles field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *CranPackageUpload) GetNumFilesOk() (*int64, bool) { - if o == nil || o.NumFiles == nil { - return nil, false - } - return o.NumFiles, true -} - -// HasNumFiles returns a boolean if a field has been set. -func (o *CranPackageUpload) HasNumFiles() bool { - if o != nil && o.NumFiles != nil { - return true - } - - return false -} - -// SetNumFiles gets a reference to the given int64 and assigns it to the NumFiles field. -func (o *CranPackageUpload) SetNumFiles(v int64) { - o.NumFiles = &v -} - -// GetPackageType returns the PackageType field value if set, zero value otherwise. -func (o *CranPackageUpload) GetPackageType() int64 { - if o == nil || o.PackageType == nil { - var ret int64 - return ret - } - return *o.PackageType -} - -// GetPackageTypeOk returns a tuple with the PackageType field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *CranPackageUpload) GetPackageTypeOk() (*int64, bool) { - if o == nil || o.PackageType == nil { - return nil, false - } - return o.PackageType, true -} - -// HasPackageType returns a boolean if a field has been set. -func (o *CranPackageUpload) HasPackageType() bool { - if o != nil && o.PackageType != nil { - return true - } - - return false -} - -// SetPackageType gets a reference to the given int64 and assigns it to the PackageType field. -func (o *CranPackageUpload) SetPackageType(v int64) { - o.PackageType = &v -} - -// GetRelease returns the Release field value if set, zero value otherwise. -func (o *CranPackageUpload) GetRelease() string { - if o == nil || o.Release == nil { - var ret string - return ret - } - return *o.Release -} - -// GetReleaseOk returns a tuple with the Release field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *CranPackageUpload) GetReleaseOk() (*string, bool) { - if o == nil || o.Release == nil { - return nil, false - } - return o.Release, true -} - -// HasRelease returns a boolean if a field has been set. -func (o *CranPackageUpload) HasRelease() bool { - if o != nil && o.Release != nil { - return true - } - - return false -} - -// SetRelease gets a reference to the given string and assigns it to the Release field. -func (o *CranPackageUpload) SetRelease(v string) { - o.Release = &v -} - -// GetRepository returns the Repository field value if set, zero value otherwise. -func (o *CranPackageUpload) GetRepository() string { - if o == nil || o.Repository == nil { - var ret string - return ret - } - return *o.Repository -} - -// GetRepositoryOk returns a tuple with the Repository field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *CranPackageUpload) GetRepositoryOk() (*string, bool) { - if o == nil || o.Repository == nil { - return nil, false - } - return o.Repository, true -} - -// HasRepository returns a boolean if a field has been set. -func (o *CranPackageUpload) HasRepository() bool { - if o != nil && o.Repository != nil { - return true - } - - return false -} - -// SetRepository gets a reference to the given string and assigns it to the Repository field. -func (o *CranPackageUpload) SetRepository(v string) { - o.Repository = &v -} - -// GetRepositoryUrl returns the RepositoryUrl field value if set, zero value otherwise. -func (o *CranPackageUpload) GetRepositoryUrl() string { - if o == nil || o.RepositoryUrl == nil { - var ret string - return ret - } - return *o.RepositoryUrl -} - -// GetRepositoryUrlOk returns a tuple with the RepositoryUrl field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *CranPackageUpload) GetRepositoryUrlOk() (*string, bool) { - if o == nil || o.RepositoryUrl == nil { - return nil, false - } - return o.RepositoryUrl, true -} - -// HasRepositoryUrl returns a boolean if a field has been set. -func (o *CranPackageUpload) HasRepositoryUrl() bool { - if o != nil && o.RepositoryUrl != nil { - return true - } - - return false -} - -// SetRepositoryUrl gets a reference to the given string and assigns it to the RepositoryUrl field. -func (o *CranPackageUpload) SetRepositoryUrl(v string) { - o.RepositoryUrl = &v -} - -// GetSecurityScanCompletedAt returns the SecurityScanCompletedAt field value if set, zero value otherwise. -func (o *CranPackageUpload) GetSecurityScanCompletedAt() string { - if o == nil || o.SecurityScanCompletedAt == nil { - var ret string - return ret - } - return *o.SecurityScanCompletedAt -} - -// GetSecurityScanCompletedAtOk returns a tuple with the SecurityScanCompletedAt field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *CranPackageUpload) GetSecurityScanCompletedAtOk() (*string, bool) { - if o == nil || o.SecurityScanCompletedAt == nil { - return nil, false - } - return o.SecurityScanCompletedAt, true -} - -// HasSecurityScanCompletedAt returns a boolean if a field has been set. -func (o *CranPackageUpload) HasSecurityScanCompletedAt() bool { - if o != nil && o.SecurityScanCompletedAt != nil { - return true - } - - return false -} - -// SetSecurityScanCompletedAt gets a reference to the given string and assigns it to the SecurityScanCompletedAt field. -func (o *CranPackageUpload) SetSecurityScanCompletedAt(v string) { - o.SecurityScanCompletedAt = &v -} - -// GetSecurityScanStartedAt returns the SecurityScanStartedAt field value if set, zero value otherwise. -func (o *CranPackageUpload) GetSecurityScanStartedAt() string { - if o == nil || o.SecurityScanStartedAt == nil { - var ret string - return ret - } - return *o.SecurityScanStartedAt -} - -// GetSecurityScanStartedAtOk returns a tuple with the SecurityScanStartedAt field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *CranPackageUpload) GetSecurityScanStartedAtOk() (*string, bool) { - if o == nil || o.SecurityScanStartedAt == nil { - return nil, false - } - return o.SecurityScanStartedAt, true -} - -// HasSecurityScanStartedAt returns a boolean if a field has been set. -func (o *CranPackageUpload) HasSecurityScanStartedAt() bool { - if o != nil && o.SecurityScanStartedAt != nil { - return true - } - - return false -} - -// SetSecurityScanStartedAt gets a reference to the given string and assigns it to the SecurityScanStartedAt field. -func (o *CranPackageUpload) SetSecurityScanStartedAt(v string) { - o.SecurityScanStartedAt = &v -} - -// GetSecurityScanStatus returns the SecurityScanStatus field value if set, zero value otherwise. -func (o *CranPackageUpload) GetSecurityScanStatus() string { - if o == nil || o.SecurityScanStatus == nil { - var ret string - return ret - } - return *o.SecurityScanStatus -} - -// GetSecurityScanStatusOk returns a tuple with the SecurityScanStatus field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *CranPackageUpload) GetSecurityScanStatusOk() (*string, bool) { - if o == nil || o.SecurityScanStatus == nil { - return nil, false - } - return o.SecurityScanStatus, true -} - -// HasSecurityScanStatus returns a boolean if a field has been set. -func (o *CranPackageUpload) HasSecurityScanStatus() bool { - if o != nil && o.SecurityScanStatus != nil { - return true - } - - return false -} - -// SetSecurityScanStatus gets a reference to the given string and assigns it to the SecurityScanStatus field. -func (o *CranPackageUpload) SetSecurityScanStatus(v string) { - o.SecurityScanStatus = &v -} - -// GetSecurityScanStatusUpdatedAt returns the SecurityScanStatusUpdatedAt field value if set, zero value otherwise. -func (o *CranPackageUpload) GetSecurityScanStatusUpdatedAt() string { - if o == nil || o.SecurityScanStatusUpdatedAt == nil { - var ret string - return ret - } - return *o.SecurityScanStatusUpdatedAt -} - -// GetSecurityScanStatusUpdatedAtOk returns a tuple with the SecurityScanStatusUpdatedAt field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *CranPackageUpload) GetSecurityScanStatusUpdatedAtOk() (*string, bool) { - if o == nil || o.SecurityScanStatusUpdatedAt == nil { - return nil, false - } - return o.SecurityScanStatusUpdatedAt, true -} - -// HasSecurityScanStatusUpdatedAt returns a boolean if a field has been set. -func (o *CranPackageUpload) HasSecurityScanStatusUpdatedAt() bool { - if o != nil && o.SecurityScanStatusUpdatedAt != nil { - return true - } - - return false -} - -// SetSecurityScanStatusUpdatedAt gets a reference to the given string and assigns it to the SecurityScanStatusUpdatedAt field. -func (o *CranPackageUpload) SetSecurityScanStatusUpdatedAt(v string) { - o.SecurityScanStatusUpdatedAt = &v -} - -// GetSelfHtmlUrl returns the SelfHtmlUrl field value if set, zero value otherwise. -func (o *CranPackageUpload) GetSelfHtmlUrl() string { - if o == nil || o.SelfHtmlUrl == nil { - var ret string - return ret - } - return *o.SelfHtmlUrl -} - -// GetSelfHtmlUrlOk returns a tuple with the SelfHtmlUrl field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *CranPackageUpload) GetSelfHtmlUrlOk() (*string, bool) { - if o == nil || o.SelfHtmlUrl == nil { - return nil, false - } - return o.SelfHtmlUrl, true -} - -// HasSelfHtmlUrl returns a boolean if a field has been set. -func (o *CranPackageUpload) HasSelfHtmlUrl() bool { - if o != nil && o.SelfHtmlUrl != nil { - return true - } - - return false -} - -// SetSelfHtmlUrl gets a reference to the given string and assigns it to the SelfHtmlUrl field. -func (o *CranPackageUpload) SetSelfHtmlUrl(v string) { - o.SelfHtmlUrl = &v -} - -// GetSelfUrl returns the SelfUrl field value if set, zero value otherwise. -func (o *CranPackageUpload) GetSelfUrl() string { - if o == nil || o.SelfUrl == nil { - var ret string - return ret - } - return *o.SelfUrl -} - -// GetSelfUrlOk returns a tuple with the SelfUrl field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *CranPackageUpload) GetSelfUrlOk() (*string, bool) { - if o == nil || o.SelfUrl == nil { - return nil, false - } - return o.SelfUrl, true -} - -// HasSelfUrl returns a boolean if a field has been set. -func (o *CranPackageUpload) HasSelfUrl() bool { - if o != nil && o.SelfUrl != nil { - return true - } - - return false -} - -// SetSelfUrl gets a reference to the given string and assigns it to the SelfUrl field. -func (o *CranPackageUpload) SetSelfUrl(v string) { - o.SelfUrl = &v -} - -// GetSignatureUrl returns the SignatureUrl field value if set, zero value otherwise. -func (o *CranPackageUpload) GetSignatureUrl() string { - if o == nil || o.SignatureUrl == nil { - var ret string - return ret - } - return *o.SignatureUrl -} - -// GetSignatureUrlOk returns a tuple with the SignatureUrl field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *CranPackageUpload) GetSignatureUrlOk() (*string, bool) { - if o == nil || o.SignatureUrl == nil { - return nil, false - } - return o.SignatureUrl, true -} - -// HasSignatureUrl returns a boolean if a field has been set. -func (o *CranPackageUpload) HasSignatureUrl() bool { - if o != nil && o.SignatureUrl != nil { - return true - } - - return false -} - -// SetSignatureUrl gets a reference to the given string and assigns it to the SignatureUrl field. -func (o *CranPackageUpload) SetSignatureUrl(v string) { - o.SignatureUrl = &v -} - -// GetSize returns the Size field value if set, zero value otherwise. -func (o *CranPackageUpload) GetSize() int64 { - if o == nil || o.Size == nil { - var ret int64 - return ret - } - return *o.Size -} - -// GetSizeOk returns a tuple with the Size field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *CranPackageUpload) GetSizeOk() (*int64, bool) { - if o == nil || o.Size == nil { - return nil, false - } - return o.Size, true -} - -// HasSize returns a boolean if a field has been set. -func (o *CranPackageUpload) HasSize() bool { - if o != nil && o.Size != nil { - return true - } - - return false -} - -// SetSize gets a reference to the given int64 and assigns it to the Size field. -func (o *CranPackageUpload) SetSize(v int64) { - o.Size = &v -} - -// GetSlug returns the Slug field value if set, zero value otherwise. -func (o *CranPackageUpload) GetSlug() string { - if o == nil || o.Slug == nil { - var ret string - return ret - } - return *o.Slug -} - -// GetSlugOk returns a tuple with the Slug field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *CranPackageUpload) GetSlugOk() (*string, bool) { - if o == nil || o.Slug == nil { - return nil, false - } - return o.Slug, true -} - -// HasSlug returns a boolean if a field has been set. -func (o *CranPackageUpload) HasSlug() bool { - if o != nil && o.Slug != nil { - return true - } - - return false -} - -// SetSlug gets a reference to the given string and assigns it to the Slug field. -func (o *CranPackageUpload) SetSlug(v string) { - o.Slug = &v -} - -// GetSlugPerm returns the SlugPerm field value if set, zero value otherwise. -func (o *CranPackageUpload) GetSlugPerm() string { - if o == nil || o.SlugPerm == nil { - var ret string - return ret - } - return *o.SlugPerm -} - -// GetSlugPermOk returns a tuple with the SlugPerm field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *CranPackageUpload) GetSlugPermOk() (*string, bool) { - if o == nil || o.SlugPerm == nil { - return nil, false - } - return o.SlugPerm, true -} - -// HasSlugPerm returns a boolean if a field has been set. -func (o *CranPackageUpload) HasSlugPerm() bool { - if o != nil && o.SlugPerm != nil { - return true - } - - return false -} - -// SetSlugPerm gets a reference to the given string and assigns it to the SlugPerm field. -func (o *CranPackageUpload) SetSlugPerm(v string) { - o.SlugPerm = &v -} - -// GetStage returns the Stage field value if set, zero value otherwise. -func (o *CranPackageUpload) GetStage() int64 { - if o == nil || o.Stage == nil { - var ret int64 - return ret - } - return *o.Stage -} - -// GetStageOk returns a tuple with the Stage field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *CranPackageUpload) GetStageOk() (*int64, bool) { - if o == nil || o.Stage == nil { - return nil, false - } - return o.Stage, true -} - -// HasStage returns a boolean if a field has been set. -func (o *CranPackageUpload) HasStage() bool { - if o != nil && o.Stage != nil { - return true - } - - return false -} - -// SetStage gets a reference to the given int64 and assigns it to the Stage field. -func (o *CranPackageUpload) SetStage(v int64) { - o.Stage = &v -} - -// GetStageStr returns the StageStr field value if set, zero value otherwise. -func (o *CranPackageUpload) GetStageStr() string { - if o == nil || o.StageStr == nil { - var ret string - return ret - } - return *o.StageStr -} - -// GetStageStrOk returns a tuple with the StageStr field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *CranPackageUpload) GetStageStrOk() (*string, bool) { - if o == nil || o.StageStr == nil { - return nil, false - } - return o.StageStr, true -} - -// HasStageStr returns a boolean if a field has been set. -func (o *CranPackageUpload) HasStageStr() bool { - if o != nil && o.StageStr != nil { - return true - } - - return false -} - -// SetStageStr gets a reference to the given string and assigns it to the StageStr field. -func (o *CranPackageUpload) SetStageStr(v string) { - o.StageStr = &v -} - -// GetStageUpdatedAt returns the StageUpdatedAt field value if set, zero value otherwise. -func (o *CranPackageUpload) GetStageUpdatedAt() string { - if o == nil || o.StageUpdatedAt == nil { - var ret string - return ret - } - return *o.StageUpdatedAt -} - -// GetStageUpdatedAtOk returns a tuple with the StageUpdatedAt field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *CranPackageUpload) GetStageUpdatedAtOk() (*string, bool) { - if o == nil || o.StageUpdatedAt == nil { - return nil, false - } - return o.StageUpdatedAt, true -} - -// HasStageUpdatedAt returns a boolean if a field has been set. -func (o *CranPackageUpload) HasStageUpdatedAt() bool { - if o != nil && o.StageUpdatedAt != nil { - return true - } - - return false -} - -// SetStageUpdatedAt gets a reference to the given string and assigns it to the StageUpdatedAt field. -func (o *CranPackageUpload) SetStageUpdatedAt(v string) { - o.StageUpdatedAt = &v -} - -// GetStatus returns the Status field value if set, zero value otherwise. -func (o *CranPackageUpload) GetStatus() int64 { - if o == nil || o.Status == nil { - var ret int64 - return ret - } - return *o.Status -} - -// GetStatusOk returns a tuple with the Status field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *CranPackageUpload) GetStatusOk() (*int64, bool) { - if o == nil || o.Status == nil { - return nil, false - } - return o.Status, true -} - -// HasStatus returns a boolean if a field has been set. -func (o *CranPackageUpload) HasStatus() bool { - if o != nil && o.Status != nil { - return true - } - - return false -} - -// SetStatus gets a reference to the given int64 and assigns it to the Status field. -func (o *CranPackageUpload) SetStatus(v int64) { - o.Status = &v -} - -// GetStatusReason returns the StatusReason field value if set, zero value otherwise. -func (o *CranPackageUpload) GetStatusReason() string { - if o == nil || o.StatusReason == nil { - var ret string - return ret - } - return *o.StatusReason -} - -// GetStatusReasonOk returns a tuple with the StatusReason field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *CranPackageUpload) GetStatusReasonOk() (*string, bool) { - if o == nil || o.StatusReason == nil { - return nil, false - } - return o.StatusReason, true -} - -// HasStatusReason returns a boolean if a field has been set. -func (o *CranPackageUpload) HasStatusReason() bool { - if o != nil && o.StatusReason != nil { - return true - } - - return false -} - -// SetStatusReason gets a reference to the given string and assigns it to the StatusReason field. -func (o *CranPackageUpload) SetStatusReason(v string) { - o.StatusReason = &v -} - -// GetStatusStr returns the StatusStr field value if set, zero value otherwise. -func (o *CranPackageUpload) GetStatusStr() string { - if o == nil || o.StatusStr == nil { - var ret string - return ret - } - return *o.StatusStr -} - -// GetStatusStrOk returns a tuple with the StatusStr field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *CranPackageUpload) GetStatusStrOk() (*string, bool) { - if o == nil || o.StatusStr == nil { - return nil, false - } - return o.StatusStr, true -} - -// HasStatusStr returns a boolean if a field has been set. -func (o *CranPackageUpload) HasStatusStr() bool { - if o != nil && o.StatusStr != nil { - return true - } - - return false -} - -// SetStatusStr gets a reference to the given string and assigns it to the StatusStr field. -func (o *CranPackageUpload) SetStatusStr(v string) { - o.StatusStr = &v -} - -// GetStatusUpdatedAt returns the StatusUpdatedAt field value if set, zero value otherwise. -func (o *CranPackageUpload) GetStatusUpdatedAt() string { - if o == nil || o.StatusUpdatedAt == nil { - var ret string - return ret - } - return *o.StatusUpdatedAt -} - -// GetStatusUpdatedAtOk returns a tuple with the StatusUpdatedAt field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *CranPackageUpload) GetStatusUpdatedAtOk() (*string, bool) { - if o == nil || o.StatusUpdatedAt == nil { - return nil, false - } - return o.StatusUpdatedAt, true -} - -// HasStatusUpdatedAt returns a boolean if a field has been set. -func (o *CranPackageUpload) HasStatusUpdatedAt() bool { - if o != nil && o.StatusUpdatedAt != nil { - return true - } - - return false -} - -// SetStatusUpdatedAt gets a reference to the given string and assigns it to the StatusUpdatedAt field. -func (o *CranPackageUpload) SetStatusUpdatedAt(v string) { - o.StatusUpdatedAt = &v -} - -// GetStatusUrl returns the StatusUrl field value if set, zero value otherwise. -func (o *CranPackageUpload) GetStatusUrl() string { - if o == nil || o.StatusUrl == nil { - var ret string - return ret - } - return *o.StatusUrl -} - -// GetStatusUrlOk returns a tuple with the StatusUrl field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *CranPackageUpload) GetStatusUrlOk() (*string, bool) { - if o == nil || o.StatusUrl == nil { - return nil, false - } - return o.StatusUrl, true -} - -// HasStatusUrl returns a boolean if a field has been set. -func (o *CranPackageUpload) HasStatusUrl() bool { - if o != nil && o.StatusUrl != nil { - return true - } - - return false -} - -// SetStatusUrl gets a reference to the given string and assigns it to the StatusUrl field. -func (o *CranPackageUpload) SetStatusUrl(v string) { - o.StatusUrl = &v -} - -// GetSubtype returns the Subtype field value if set, zero value otherwise. -func (o *CranPackageUpload) GetSubtype() string { - if o == nil || o.Subtype == nil { - var ret string - return ret - } - return *o.Subtype -} - -// GetSubtypeOk returns a tuple with the Subtype field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *CranPackageUpload) GetSubtypeOk() (*string, bool) { - if o == nil || o.Subtype == nil { - return nil, false - } - return o.Subtype, true -} - -// HasSubtype returns a boolean if a field has been set. -func (o *CranPackageUpload) HasSubtype() bool { - if o != nil && o.Subtype != nil { - return true - } - - return false -} - -// SetSubtype gets a reference to the given string and assigns it to the Subtype field. -func (o *CranPackageUpload) SetSubtype(v string) { - o.Subtype = &v -} - -// GetSummary returns the Summary field value if set, zero value otherwise. -func (o *CranPackageUpload) GetSummary() string { - if o == nil || o.Summary == nil { - var ret string - return ret - } - return *o.Summary -} - -// GetSummaryOk returns a tuple with the Summary field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *CranPackageUpload) GetSummaryOk() (*string, bool) { - if o == nil || o.Summary == nil { - return nil, false - } - return o.Summary, true -} - -// HasSummary returns a boolean if a field has been set. -func (o *CranPackageUpload) HasSummary() bool { - if o != nil && o.Summary != nil { - return true - } - - return false -} - -// SetSummary gets a reference to the given string and assigns it to the Summary field. -func (o *CranPackageUpload) SetSummary(v string) { - o.Summary = &v -} - -// GetSyncFinishedAt returns the SyncFinishedAt field value if set, zero value otherwise. -func (o *CranPackageUpload) GetSyncFinishedAt() string { - if o == nil || o.SyncFinishedAt == nil { - var ret string - return ret - } - return *o.SyncFinishedAt -} - -// GetSyncFinishedAtOk returns a tuple with the SyncFinishedAt field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *CranPackageUpload) GetSyncFinishedAtOk() (*string, bool) { - if o == nil || o.SyncFinishedAt == nil { - return nil, false - } - return o.SyncFinishedAt, true -} - -// HasSyncFinishedAt returns a boolean if a field has been set. -func (o *CranPackageUpload) HasSyncFinishedAt() bool { - if o != nil && o.SyncFinishedAt != nil { - return true - } - - return false -} - -// SetSyncFinishedAt gets a reference to the given string and assigns it to the SyncFinishedAt field. -func (o *CranPackageUpload) SetSyncFinishedAt(v string) { - o.SyncFinishedAt = &v -} - -// GetSyncProgress returns the SyncProgress field value if set, zero value otherwise. -func (o *CranPackageUpload) GetSyncProgress() int64 { - if o == nil || o.SyncProgress == nil { - var ret int64 - return ret - } - return *o.SyncProgress -} - -// GetSyncProgressOk returns a tuple with the SyncProgress field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *CranPackageUpload) GetSyncProgressOk() (*int64, bool) { - if o == nil || o.SyncProgress == nil { - return nil, false - } - return o.SyncProgress, true -} - -// HasSyncProgress returns a boolean if a field has been set. -func (o *CranPackageUpload) HasSyncProgress() bool { - if o != nil && o.SyncProgress != nil { - return true - } - - return false -} - -// SetSyncProgress gets a reference to the given int64 and assigns it to the SyncProgress field. -func (o *CranPackageUpload) SetSyncProgress(v int64) { - o.SyncProgress = &v -} - -// GetTagsImmutable returns the TagsImmutable field value if set, zero value otherwise. -func (o *CranPackageUpload) GetTagsImmutable() map[string]interface{} { - if o == nil || o.TagsImmutable == nil { - var ret map[string]interface{} - return ret - } - return o.TagsImmutable -} - -// GetTagsImmutableOk returns a tuple with the TagsImmutable field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *CranPackageUpload) GetTagsImmutableOk() (map[string]interface{}, bool) { - if o == nil || o.TagsImmutable == nil { - return nil, false - } - return o.TagsImmutable, true -} - -// HasTagsImmutable returns a boolean if a field has been set. -func (o *CranPackageUpload) HasTagsImmutable() bool { - if o != nil && o.TagsImmutable != nil { - return true - } - - return false -} - -// SetTagsImmutable gets a reference to the given map[string]interface{} and assigns it to the TagsImmutable field. -func (o *CranPackageUpload) SetTagsImmutable(v map[string]interface{}) { - o.TagsImmutable = v -} - -// GetTypeDisplay returns the TypeDisplay field value if set, zero value otherwise. -func (o *CranPackageUpload) GetTypeDisplay() string { - if o == nil || o.TypeDisplay == nil { - var ret string - return ret - } - return *o.TypeDisplay -} - -// GetTypeDisplayOk returns a tuple with the TypeDisplay field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *CranPackageUpload) GetTypeDisplayOk() (*string, bool) { - if o == nil || o.TypeDisplay == nil { - return nil, false - } - return o.TypeDisplay, true -} - -// HasTypeDisplay returns a boolean if a field has been set. -func (o *CranPackageUpload) HasTypeDisplay() bool { - if o != nil && o.TypeDisplay != nil { - return true - } - - return false -} - -// SetTypeDisplay gets a reference to the given string and assigns it to the TypeDisplay field. -func (o *CranPackageUpload) SetTypeDisplay(v string) { - o.TypeDisplay = &v -} - -// GetUploadedAt returns the UploadedAt field value if set, zero value otherwise. -func (o *CranPackageUpload) GetUploadedAt() string { - if o == nil || o.UploadedAt == nil { - var ret string - return ret - } - return *o.UploadedAt -} - -// GetUploadedAtOk returns a tuple with the UploadedAt field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *CranPackageUpload) GetUploadedAtOk() (*string, bool) { - if o == nil || o.UploadedAt == nil { - return nil, false - } - return o.UploadedAt, true -} - -// HasUploadedAt returns a boolean if a field has been set. -func (o *CranPackageUpload) HasUploadedAt() bool { - if o != nil && o.UploadedAt != nil { - return true - } - - return false -} - -// SetUploadedAt gets a reference to the given string and assigns it to the UploadedAt field. -func (o *CranPackageUpload) SetUploadedAt(v string) { - o.UploadedAt = &v -} - -// GetUploader returns the Uploader field value if set, zero value otherwise. -func (o *CranPackageUpload) GetUploader() string { - if o == nil || o.Uploader == nil { - var ret string - return ret - } - return *o.Uploader -} - -// GetUploaderOk returns a tuple with the Uploader field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *CranPackageUpload) GetUploaderOk() (*string, bool) { - if o == nil || o.Uploader == nil { - return nil, false - } - return o.Uploader, true -} - -// HasUploader returns a boolean if a field has been set. -func (o *CranPackageUpload) HasUploader() bool { - if o != nil && o.Uploader != nil { - return true - } - - return false -} - -// SetUploader gets a reference to the given string and assigns it to the Uploader field. -func (o *CranPackageUpload) SetUploader(v string) { - o.Uploader = &v -} - -// GetUploaderUrl returns the UploaderUrl field value if set, zero value otherwise. -func (o *CranPackageUpload) GetUploaderUrl() string { - if o == nil || o.UploaderUrl == nil { - var ret string - return ret - } - return *o.UploaderUrl -} - -// GetUploaderUrlOk returns a tuple with the UploaderUrl field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *CranPackageUpload) GetUploaderUrlOk() (*string, bool) { - if o == nil || o.UploaderUrl == nil { - return nil, false - } - return o.UploaderUrl, true -} - -// HasUploaderUrl returns a boolean if a field has been set. -func (o *CranPackageUpload) HasUploaderUrl() bool { - if o != nil && o.UploaderUrl != nil { - return true - } - - return false -} - -// SetUploaderUrl gets a reference to the given string and assigns it to the UploaderUrl field. -func (o *CranPackageUpload) SetUploaderUrl(v string) { - o.UploaderUrl = &v -} - -// GetVersion returns the Version field value if set, zero value otherwise. -func (o *CranPackageUpload) GetVersion() string { - if o == nil || o.Version == nil { - var ret string - return ret - } - return *o.Version -} - -// GetVersionOk returns a tuple with the Version field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *CranPackageUpload) GetVersionOk() (*string, bool) { - if o == nil || o.Version == nil { - return nil, false - } - return o.Version, true -} - -// HasVersion returns a boolean if a field has been set. -func (o *CranPackageUpload) HasVersion() bool { - if o != nil && o.Version != nil { - return true - } - - return false -} - -// SetVersion gets a reference to the given string and assigns it to the Version field. -func (o *CranPackageUpload) SetVersion(v string) { - o.Version = &v -} - -// GetVersionOrig returns the VersionOrig field value if set, zero value otherwise. -func (o *CranPackageUpload) GetVersionOrig() string { - if o == nil || o.VersionOrig == nil { - var ret string - return ret - } - return *o.VersionOrig -} - -// GetVersionOrigOk returns a tuple with the VersionOrig field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *CranPackageUpload) GetVersionOrigOk() (*string, bool) { - if o == nil || o.VersionOrig == nil { - return nil, false - } - return o.VersionOrig, true -} - -// HasVersionOrig returns a boolean if a field has been set. -func (o *CranPackageUpload) HasVersionOrig() bool { - if o != nil && o.VersionOrig != nil { - return true - } - - return false -} - -// SetVersionOrig gets a reference to the given string and assigns it to the VersionOrig field. -func (o *CranPackageUpload) SetVersionOrig(v string) { - o.VersionOrig = &v -} - -// GetVulnerabilityScanResultsUrl returns the VulnerabilityScanResultsUrl field value if set, zero value otherwise. -func (o *CranPackageUpload) GetVulnerabilityScanResultsUrl() string { - if o == nil || o.VulnerabilityScanResultsUrl == nil { - var ret string - return ret - } - return *o.VulnerabilityScanResultsUrl -} - -// GetVulnerabilityScanResultsUrlOk returns a tuple with the VulnerabilityScanResultsUrl field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *CranPackageUpload) GetVulnerabilityScanResultsUrlOk() (*string, bool) { - if o == nil || o.VulnerabilityScanResultsUrl == nil { - return nil, false - } - return o.VulnerabilityScanResultsUrl, true -} - -// HasVulnerabilityScanResultsUrl returns a boolean if a field has been set. -func (o *CranPackageUpload) HasVulnerabilityScanResultsUrl() bool { - if o != nil && o.VulnerabilityScanResultsUrl != nil { - return true - } - - return false -} - -// SetVulnerabilityScanResultsUrl gets a reference to the given string and assigns it to the VulnerabilityScanResultsUrl field. -func (o *CranPackageUpload) SetVulnerabilityScanResultsUrl(v string) { - o.VulnerabilityScanResultsUrl = &v -} - -func (o CranPackageUpload) MarshalJSON() ([]byte, error) { - toSerialize := map[string]interface{}{} - if o.Architectures != nil { - toSerialize["architectures"] = o.Architectures - } - if o.CdnUrl != nil { - toSerialize["cdn_url"] = o.CdnUrl - } - if o.ChecksumMd5 != nil { - toSerialize["checksum_md5"] = o.ChecksumMd5 - } - if o.ChecksumSha1 != nil { - toSerialize["checksum_sha1"] = o.ChecksumSha1 - } - if o.ChecksumSha256 != nil { - toSerialize["checksum_sha256"] = o.ChecksumSha256 - } - if o.ChecksumSha512 != nil { - toSerialize["checksum_sha512"] = o.ChecksumSha512 - } - if o.DependenciesChecksumMd5 != nil { - toSerialize["dependencies_checksum_md5"] = o.DependenciesChecksumMd5 - } - if o.DependenciesUrl != nil { - toSerialize["dependencies_url"] = o.DependenciesUrl - } - if o.Description != nil { - toSerialize["description"] = o.Description - } - if o.Distro != nil { - toSerialize["distro"] = o.Distro - } - if o.DistroVersion != nil { - toSerialize["distro_version"] = o.DistroVersion - } - if o.Downloads != nil { - toSerialize["downloads"] = o.Downloads - } - if o.Epoch != nil { - toSerialize["epoch"] = o.Epoch - } - if o.Extension != nil { - toSerialize["extension"] = o.Extension - } - if o.Filename != nil { - toSerialize["filename"] = o.Filename - } - if o.Files != nil { - toSerialize["files"] = o.Files - } - if o.Format != nil { - toSerialize["format"] = o.Format - } - if o.FormatUrl != nil { - toSerialize["format_url"] = o.FormatUrl - } - if o.IdentifierPerm != nil { - toSerialize["identifier_perm"] = o.IdentifierPerm - } - if o.Indexed != nil { - toSerialize["indexed"] = o.Indexed - } - if o.IsDownloadable != nil { - toSerialize["is_downloadable"] = o.IsDownloadable - } - if o.IsQuarantined != nil { - toSerialize["is_quarantined"] = o.IsQuarantined - } - if o.IsSyncAwaiting != nil { - toSerialize["is_sync_awaiting"] = o.IsSyncAwaiting - } - if o.IsSyncCompleted != nil { - toSerialize["is_sync_completed"] = o.IsSyncCompleted - } - if o.IsSyncFailed != nil { - toSerialize["is_sync_failed"] = o.IsSyncFailed - } - if o.IsSyncInFlight != nil { - toSerialize["is_sync_in_flight"] = o.IsSyncInFlight - } - if o.IsSyncInProgress != nil { - toSerialize["is_sync_in_progress"] = o.IsSyncInProgress - } - if o.License != nil { - toSerialize["license"] = o.License - } - if o.Name != nil { - toSerialize["name"] = o.Name - } - if o.Namespace != nil { - toSerialize["namespace"] = o.Namespace - } - if o.NamespaceUrl != nil { - toSerialize["namespace_url"] = o.NamespaceUrl - } - if o.NumFiles != nil { - toSerialize["num_files"] = o.NumFiles - } - if o.PackageType != nil { - toSerialize["package_type"] = o.PackageType - } - if o.Release != nil { - toSerialize["release"] = o.Release - } - if o.Repository != nil { - toSerialize["repository"] = o.Repository - } - if o.RepositoryUrl != nil { - toSerialize["repository_url"] = o.RepositoryUrl - } - if o.SecurityScanCompletedAt != nil { - toSerialize["security_scan_completed_at"] = o.SecurityScanCompletedAt - } - if o.SecurityScanStartedAt != nil { - toSerialize["security_scan_started_at"] = o.SecurityScanStartedAt - } - if o.SecurityScanStatus != nil { - toSerialize["security_scan_status"] = o.SecurityScanStatus - } - if o.SecurityScanStatusUpdatedAt != nil { - toSerialize["security_scan_status_updated_at"] = o.SecurityScanStatusUpdatedAt - } - if o.SelfHtmlUrl != nil { - toSerialize["self_html_url"] = o.SelfHtmlUrl - } - if o.SelfUrl != nil { - toSerialize["self_url"] = o.SelfUrl - } - if o.SignatureUrl != nil { - toSerialize["signature_url"] = o.SignatureUrl - } - if o.Size != nil { - toSerialize["size"] = o.Size - } - if o.Slug != nil { - toSerialize["slug"] = o.Slug - } - if o.SlugPerm != nil { - toSerialize["slug_perm"] = o.SlugPerm - } - if o.Stage != nil { - toSerialize["stage"] = o.Stage - } - if o.StageStr != nil { - toSerialize["stage_str"] = o.StageStr - } - if o.StageUpdatedAt != nil { - toSerialize["stage_updated_at"] = o.StageUpdatedAt - } - if o.Status != nil { - toSerialize["status"] = o.Status - } - if o.StatusReason != nil { - toSerialize["status_reason"] = o.StatusReason - } - if o.StatusStr != nil { - toSerialize["status_str"] = o.StatusStr - } - if o.StatusUpdatedAt != nil { - toSerialize["status_updated_at"] = o.StatusUpdatedAt - } - if o.StatusUrl != nil { - toSerialize["status_url"] = o.StatusUrl - } - if o.Subtype != nil { - toSerialize["subtype"] = o.Subtype - } - if o.Summary != nil { - toSerialize["summary"] = o.Summary - } - if o.SyncFinishedAt != nil { - toSerialize["sync_finished_at"] = o.SyncFinishedAt - } - if o.SyncProgress != nil { - toSerialize["sync_progress"] = o.SyncProgress - } - if o.TagsImmutable != nil { - toSerialize["tags_immutable"] = o.TagsImmutable - } - if o.TypeDisplay != nil { - toSerialize["type_display"] = o.TypeDisplay - } - if o.UploadedAt != nil { - toSerialize["uploaded_at"] = o.UploadedAt - } - if o.Uploader != nil { - toSerialize["uploader"] = o.Uploader - } - if o.UploaderUrl != nil { - toSerialize["uploader_url"] = o.UploaderUrl - } - if o.Version != nil { - toSerialize["version"] = o.Version - } - if o.VersionOrig != nil { - toSerialize["version_orig"] = o.VersionOrig - } - if o.VulnerabilityScanResultsUrl != nil { - toSerialize["vulnerability_scan_results_url"] = o.VulnerabilityScanResultsUrl - } - return json.Marshal(toSerialize) -} - -type NullableCranPackageUpload struct { - value *CranPackageUpload - isSet bool -} - -func (v NullableCranPackageUpload) Get() *CranPackageUpload { - return v.value -} - -func (v *NullableCranPackageUpload) Set(val *CranPackageUpload) { - v.value = val - v.isSet = true -} - -func (v NullableCranPackageUpload) IsSet() bool { - return v.isSet -} - -func (v *NullableCranPackageUpload) Unset() { - v.value = nil - v.isSet = false -} - -func NewNullableCranPackageUpload(val *CranPackageUpload) *NullableCranPackageUpload { - return &NullableCranPackageUpload{value: val, isSet: true} -} - -func (v NullableCranPackageUpload) MarshalJSON() ([]byte, error) { - return json.Marshal(v.value) -} - -func (v *NullableCranPackageUpload) UnmarshalJSON(src []byte) error { - v.isSet = true - return json.Unmarshal(src, &v.value) -} diff --git a/model_cran_package_upload_request.go b/model_cran_package_upload_request.go new file mode 100644 index 00000000..32901cca --- /dev/null +++ b/model_cran_package_upload_request.go @@ -0,0 +1,193 @@ +/* +Cloudsmith API (v1) + +The API to the Cloudsmith Service + +API version: 1.181.6 +Contact: support@cloudsmith.io +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cloudsmith + +import ( + "encoding/json" +) + +// CranPackageUploadRequest struct for CranPackageUploadRequest +type CranPackageUploadRequest struct { + // The primary file for the package. + PackageFile string `json:"package_file"` + // If true, the uploaded package will overwrite any others with the same attributes (e.g. same version); otherwise, it will be flagged as a duplicate. + Republish *bool `json:"republish,omitempty"` + // A comma-separated values list of tags to add to the package. + Tags NullableString `json:"tags,omitempty"` +} + +// NewCranPackageUploadRequest instantiates a new CranPackageUploadRequest object +// 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 NewCranPackageUploadRequest(packageFile string) *CranPackageUploadRequest { + this := CranPackageUploadRequest{} + this.PackageFile = packageFile + return &this +} + +// NewCranPackageUploadRequestWithDefaults instantiates a new CranPackageUploadRequest object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewCranPackageUploadRequestWithDefaults() *CranPackageUploadRequest { + this := CranPackageUploadRequest{} + return &this +} + +// GetPackageFile returns the PackageFile field value +func (o *CranPackageUploadRequest) GetPackageFile() string { + if o == nil { + var ret string + return ret + } + + return o.PackageFile +} + +// GetPackageFileOk returns a tuple with the PackageFile field value +// and a boolean to check if the value has been set. +func (o *CranPackageUploadRequest) GetPackageFileOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.PackageFile, true +} + +// SetPackageFile sets field value +func (o *CranPackageUploadRequest) SetPackageFile(v string) { + o.PackageFile = v +} + +// GetRepublish returns the Republish field value if set, zero value otherwise. +func (o *CranPackageUploadRequest) GetRepublish() bool { + if o == nil || isNil(o.Republish) { + var ret bool + return ret + } + return *o.Republish +} + +// GetRepublishOk returns a tuple with the Republish field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *CranPackageUploadRequest) GetRepublishOk() (*bool, bool) { + if o == nil || isNil(o.Republish) { + return nil, false + } + return o.Republish, true +} + +// HasRepublish returns a boolean if a field has been set. +func (o *CranPackageUploadRequest) HasRepublish() bool { + if o != nil && !isNil(o.Republish) { + return true + } + + return false +} + +// SetRepublish gets a reference to the given bool and assigns it to the Republish field. +func (o *CranPackageUploadRequest) SetRepublish(v bool) { + o.Republish = &v +} + +// GetTags returns the Tags field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *CranPackageUploadRequest) GetTags() string { + if o == nil || isNil(o.Tags.Get()) { + var ret string + return ret + } + return *o.Tags.Get() +} + +// GetTagsOk returns a tuple with the Tags 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 *CranPackageUploadRequest) GetTagsOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.Tags.Get(), o.Tags.IsSet() +} + +// HasTags returns a boolean if a field has been set. +func (o *CranPackageUploadRequest) HasTags() bool { + if o != nil && o.Tags.IsSet() { + return true + } + + return false +} + +// SetTags gets a reference to the given NullableString and assigns it to the Tags field. +func (o *CranPackageUploadRequest) SetTags(v string) { + o.Tags.Set(&v) +} + +// SetTagsNil sets the value for Tags to be an explicit nil +func (o *CranPackageUploadRequest) SetTagsNil() { + o.Tags.Set(nil) +} + +// UnsetTags ensures that no value is present for Tags, not even an explicit nil +func (o *CranPackageUploadRequest) UnsetTags() { + o.Tags.Unset() +} + +func (o CranPackageUploadRequest) MarshalJSON() ([]byte, error) { + toSerialize := map[string]interface{}{} + if true { + toSerialize["package_file"] = o.PackageFile + } + if !isNil(o.Republish) { + toSerialize["republish"] = o.Republish + } + if o.Tags.IsSet() { + toSerialize["tags"] = o.Tags.Get() + } + return json.Marshal(toSerialize) +} + +type NullableCranPackageUploadRequest struct { + value *CranPackageUploadRequest + isSet bool +} + +func (v NullableCranPackageUploadRequest) Get() *CranPackageUploadRequest { + return v.value +} + +func (v *NullableCranPackageUploadRequest) Set(val *CranPackageUploadRequest) { + v.value = val + v.isSet = true +} + +func (v NullableCranPackageUploadRequest) IsSet() bool { + return v.isSet +} + +func (v *NullableCranPackageUploadRequest) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableCranPackageUploadRequest(val *CranPackageUploadRequest) *NullableCranPackageUploadRequest { + return &NullableCranPackageUploadRequest{value: val, isSet: true} +} + +func (v NullableCranPackageUploadRequest) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableCranPackageUploadRequest) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} diff --git a/model_cran_package_upload_response.go b/model_cran_package_upload_response.go new file mode 100644 index 00000000..7736bca7 --- /dev/null +++ b/model_cran_package_upload_response.go @@ -0,0 +1,2595 @@ +/* +Cloudsmith API (v1) + +The API to the Cloudsmith Service + +API version: 1.181.6 +Contact: support@cloudsmith.io +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cloudsmith + +import ( + "encoding/json" + "time" +) + +// CranPackageUploadResponse struct for CranPackageUploadResponse +type CranPackageUploadResponse struct { + Architectures []Architecture `json:"architectures,omitempty"` + CdnUrl NullableString `json:"cdn_url,omitempty"` + ChecksumMd5 *string `json:"checksum_md5,omitempty"` + ChecksumSha1 *string `json:"checksum_sha1,omitempty"` + ChecksumSha256 *string `json:"checksum_sha256,omitempty"` + ChecksumSha512 *string `json:"checksum_sha512,omitempty"` + // A checksum of all of the package's dependencies. + DependenciesChecksumMd5 *string `json:"dependencies_checksum_md5,omitempty"` + DependenciesUrl *string `json:"dependencies_url,omitempty"` + // A textual description of this package. + Description *string `json:"description,omitempty"` + Distro NullableDistribution `json:"distro,omitempty"` + DistroVersion *DistributionVersion `json:"distro_version,omitempty"` + Downloads *int64 `json:"downloads,omitempty"` + // The epoch of the package version (if any). + Epoch *int64 `json:"epoch,omitempty"` + Extension *string `json:"extension,omitempty"` + Filename *string `json:"filename,omitempty"` + Files []PackageFile `json:"files,omitempty"` + Format *string `json:"format,omitempty"` + FormatUrl *string `json:"format_url,omitempty"` + // Unique and permanent identifier for the package. + IdentifierPerm *string `json:"identifier_perm,omitempty"` + Indexed *bool `json:"indexed,omitempty"` + IsDownloadable *bool `json:"is_downloadable,omitempty"` + IsQuarantined *bool `json:"is_quarantined,omitempty"` + IsSyncAwaiting *bool `json:"is_sync_awaiting,omitempty"` + IsSyncCompleted *bool `json:"is_sync_completed,omitempty"` + IsSyncFailed *bool `json:"is_sync_failed,omitempty"` + IsSyncInFlight *bool `json:"is_sync_in_flight,omitempty"` + IsSyncInProgress *bool `json:"is_sync_in_progress,omitempty"` + // The license of this package. + License *string `json:"license,omitempty"` + // The name of this package. + Name *string `json:"name,omitempty"` + Namespace *string `json:"namespace,omitempty"` + NamespaceUrl *string `json:"namespace_url,omitempty"` + NumFiles *int64 `json:"num_files,omitempty"` + OriginRepository *string `json:"origin_repository,omitempty"` + OriginRepositoryUrl *string `json:"origin_repository_url,omitempty"` + // The type of package contents. + PackageType *int64 `json:"package_type,omitempty"` + // The release of the package version (if any). + Release *string `json:"release,omitempty"` + Repository *string `json:"repository,omitempty"` + RepositoryUrl *string `json:"repository_url,omitempty"` + // The datetime the security scanning was completed. + SecurityScanCompletedAt *time.Time `json:"security_scan_completed_at,omitempty"` + // The datetime the security scanning was started. + SecurityScanStartedAt *time.Time `json:"security_scan_started_at,omitempty"` + SecurityScanStatus NullableString `json:"security_scan_status,omitempty"` + // The datetime the security scanning status was updated. + SecurityScanStatusUpdatedAt *time.Time `json:"security_scan_status_updated_at,omitempty"` + SelfHtmlUrl *string `json:"self_html_url,omitempty"` + SelfUrl *string `json:"self_url,omitempty"` + SignatureUrl NullableString `json:"signature_url,omitempty"` + // The calculated size of the package. + Size *int64 `json:"size,omitempty"` + // The public unique identifier for the package. + Slug *string `json:"slug,omitempty"` + SlugPerm *string `json:"slug_perm,omitempty"` + // The synchronisation (in progress) stage of the package. + Stage *int64 `json:"stage,omitempty"` + StageStr *string `json:"stage_str,omitempty"` + // The datetime the package stage was updated at. + StageUpdatedAt *time.Time `json:"stage_updated_at,omitempty"` + // The synchronisation status of the package. + Status *int64 `json:"status,omitempty"` + // A textual description for the synchronous status reason (if any + StatusReason *string `json:"status_reason,omitempty"` + StatusStr *string `json:"status_str,omitempty"` + // The datetime the package status was updated at. + StatusUpdatedAt *time.Time `json:"status_updated_at,omitempty"` + StatusUrl *string `json:"status_url,omitempty"` + Subtype *string `json:"subtype,omitempty"` + // A one-liner synopsis of this package. + Summary *string `json:"summary,omitempty"` + // The datetime the package sync was finished at. + SyncFinishedAt *time.Time `json:"sync_finished_at,omitempty"` + // Synchronisation progress (from 0-100) + SyncProgress *int64 `json:"sync_progress,omitempty"` + // All tags on the package, grouped by tag type. This includes immutable tags, but doesn't distinguish them from mutable. To see which tags are immutable specifically, see the tags_immutable field. + TagsImmutable map[string]interface{} `json:"tags_immutable,omitempty"` + TypeDisplay *string `json:"type_display,omitempty"` + // The date this package was uploaded. + UploadedAt *time.Time `json:"uploaded_at,omitempty"` + Uploader *string `json:"uploader,omitempty"` + UploaderUrl *string `json:"uploader_url,omitempty"` + // The raw version for this package. + Version *string `json:"version,omitempty"` + VersionOrig *string `json:"version_orig,omitempty"` + VulnerabilityScanResultsUrl *string `json:"vulnerability_scan_results_url,omitempty"` +} + +// NewCranPackageUploadResponse instantiates a new CranPackageUploadResponse object +// 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 NewCranPackageUploadResponse() *CranPackageUploadResponse { + this := CranPackageUploadResponse{} + return &this +} + +// NewCranPackageUploadResponseWithDefaults instantiates a new CranPackageUploadResponse object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewCranPackageUploadResponseWithDefaults() *CranPackageUploadResponse { + this := CranPackageUploadResponse{} + return &this +} + +// GetArchitectures returns the Architectures field value if set, zero value otherwise. +func (o *CranPackageUploadResponse) GetArchitectures() []Architecture { + if o == nil || isNil(o.Architectures) { + var ret []Architecture + return ret + } + return o.Architectures +} + +// GetArchitecturesOk returns a tuple with the Architectures field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *CranPackageUploadResponse) GetArchitecturesOk() ([]Architecture, bool) { + if o == nil || isNil(o.Architectures) { + return nil, false + } + return o.Architectures, true +} + +// HasArchitectures returns a boolean if a field has been set. +func (o *CranPackageUploadResponse) HasArchitectures() bool { + if o != nil && !isNil(o.Architectures) { + return true + } + + return false +} + +// SetArchitectures gets a reference to the given []Architecture and assigns it to the Architectures field. +func (o *CranPackageUploadResponse) SetArchitectures(v []Architecture) { + o.Architectures = v +} + +// GetCdnUrl returns the CdnUrl field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *CranPackageUploadResponse) GetCdnUrl() string { + if o == nil || isNil(o.CdnUrl.Get()) { + var ret string + return ret + } + return *o.CdnUrl.Get() +} + +// GetCdnUrlOk returns a tuple with the CdnUrl 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 *CranPackageUploadResponse) GetCdnUrlOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.CdnUrl.Get(), o.CdnUrl.IsSet() +} + +// HasCdnUrl returns a boolean if a field has been set. +func (o *CranPackageUploadResponse) HasCdnUrl() bool { + if o != nil && o.CdnUrl.IsSet() { + return true + } + + return false +} + +// SetCdnUrl gets a reference to the given NullableString and assigns it to the CdnUrl field. +func (o *CranPackageUploadResponse) SetCdnUrl(v string) { + o.CdnUrl.Set(&v) +} + +// SetCdnUrlNil sets the value for CdnUrl to be an explicit nil +func (o *CranPackageUploadResponse) SetCdnUrlNil() { + o.CdnUrl.Set(nil) +} + +// UnsetCdnUrl ensures that no value is present for CdnUrl, not even an explicit nil +func (o *CranPackageUploadResponse) UnsetCdnUrl() { + o.CdnUrl.Unset() +} + +// GetChecksumMd5 returns the ChecksumMd5 field value if set, zero value otherwise. +func (o *CranPackageUploadResponse) GetChecksumMd5() string { + if o == nil || isNil(o.ChecksumMd5) { + var ret string + return ret + } + return *o.ChecksumMd5 +} + +// GetChecksumMd5Ok returns a tuple with the ChecksumMd5 field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *CranPackageUploadResponse) GetChecksumMd5Ok() (*string, bool) { + if o == nil || isNil(o.ChecksumMd5) { + return nil, false + } + return o.ChecksumMd5, true +} + +// HasChecksumMd5 returns a boolean if a field has been set. +func (o *CranPackageUploadResponse) HasChecksumMd5() bool { + if o != nil && !isNil(o.ChecksumMd5) { + return true + } + + return false +} + +// SetChecksumMd5 gets a reference to the given string and assigns it to the ChecksumMd5 field. +func (o *CranPackageUploadResponse) SetChecksumMd5(v string) { + o.ChecksumMd5 = &v +} + +// GetChecksumSha1 returns the ChecksumSha1 field value if set, zero value otherwise. +func (o *CranPackageUploadResponse) GetChecksumSha1() string { + if o == nil || isNil(o.ChecksumSha1) { + var ret string + return ret + } + return *o.ChecksumSha1 +} + +// GetChecksumSha1Ok returns a tuple with the ChecksumSha1 field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *CranPackageUploadResponse) GetChecksumSha1Ok() (*string, bool) { + if o == nil || isNil(o.ChecksumSha1) { + return nil, false + } + return o.ChecksumSha1, true +} + +// HasChecksumSha1 returns a boolean if a field has been set. +func (o *CranPackageUploadResponse) HasChecksumSha1() bool { + if o != nil && !isNil(o.ChecksumSha1) { + return true + } + + return false +} + +// SetChecksumSha1 gets a reference to the given string and assigns it to the ChecksumSha1 field. +func (o *CranPackageUploadResponse) SetChecksumSha1(v string) { + o.ChecksumSha1 = &v +} + +// GetChecksumSha256 returns the ChecksumSha256 field value if set, zero value otherwise. +func (o *CranPackageUploadResponse) GetChecksumSha256() string { + if o == nil || isNil(o.ChecksumSha256) { + var ret string + return ret + } + return *o.ChecksumSha256 +} + +// GetChecksumSha256Ok returns a tuple with the ChecksumSha256 field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *CranPackageUploadResponse) GetChecksumSha256Ok() (*string, bool) { + if o == nil || isNil(o.ChecksumSha256) { + return nil, false + } + return o.ChecksumSha256, true +} + +// HasChecksumSha256 returns a boolean if a field has been set. +func (o *CranPackageUploadResponse) HasChecksumSha256() bool { + if o != nil && !isNil(o.ChecksumSha256) { + return true + } + + return false +} + +// SetChecksumSha256 gets a reference to the given string and assigns it to the ChecksumSha256 field. +func (o *CranPackageUploadResponse) SetChecksumSha256(v string) { + o.ChecksumSha256 = &v +} + +// GetChecksumSha512 returns the ChecksumSha512 field value if set, zero value otherwise. +func (o *CranPackageUploadResponse) GetChecksumSha512() string { + if o == nil || isNil(o.ChecksumSha512) { + var ret string + return ret + } + return *o.ChecksumSha512 +} + +// GetChecksumSha512Ok returns a tuple with the ChecksumSha512 field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *CranPackageUploadResponse) GetChecksumSha512Ok() (*string, bool) { + if o == nil || isNil(o.ChecksumSha512) { + return nil, false + } + return o.ChecksumSha512, true +} + +// HasChecksumSha512 returns a boolean if a field has been set. +func (o *CranPackageUploadResponse) HasChecksumSha512() bool { + if o != nil && !isNil(o.ChecksumSha512) { + return true + } + + return false +} + +// SetChecksumSha512 gets a reference to the given string and assigns it to the ChecksumSha512 field. +func (o *CranPackageUploadResponse) SetChecksumSha512(v string) { + o.ChecksumSha512 = &v +} + +// GetDependenciesChecksumMd5 returns the DependenciesChecksumMd5 field value if set, zero value otherwise. +func (o *CranPackageUploadResponse) GetDependenciesChecksumMd5() string { + if o == nil || isNil(o.DependenciesChecksumMd5) { + var ret string + return ret + } + return *o.DependenciesChecksumMd5 +} + +// GetDependenciesChecksumMd5Ok returns a tuple with the DependenciesChecksumMd5 field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *CranPackageUploadResponse) GetDependenciesChecksumMd5Ok() (*string, bool) { + if o == nil || isNil(o.DependenciesChecksumMd5) { + return nil, false + } + return o.DependenciesChecksumMd5, true +} + +// HasDependenciesChecksumMd5 returns a boolean if a field has been set. +func (o *CranPackageUploadResponse) HasDependenciesChecksumMd5() bool { + if o != nil && !isNil(o.DependenciesChecksumMd5) { + return true + } + + return false +} + +// SetDependenciesChecksumMd5 gets a reference to the given string and assigns it to the DependenciesChecksumMd5 field. +func (o *CranPackageUploadResponse) SetDependenciesChecksumMd5(v string) { + o.DependenciesChecksumMd5 = &v +} + +// GetDependenciesUrl returns the DependenciesUrl field value if set, zero value otherwise. +func (o *CranPackageUploadResponse) GetDependenciesUrl() string { + if o == nil || isNil(o.DependenciesUrl) { + var ret string + return ret + } + return *o.DependenciesUrl +} + +// GetDependenciesUrlOk returns a tuple with the DependenciesUrl field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *CranPackageUploadResponse) GetDependenciesUrlOk() (*string, bool) { + if o == nil || isNil(o.DependenciesUrl) { + return nil, false + } + return o.DependenciesUrl, true +} + +// HasDependenciesUrl returns a boolean if a field has been set. +func (o *CranPackageUploadResponse) HasDependenciesUrl() bool { + if o != nil && !isNil(o.DependenciesUrl) { + return true + } + + return false +} + +// SetDependenciesUrl gets a reference to the given string and assigns it to the DependenciesUrl field. +func (o *CranPackageUploadResponse) SetDependenciesUrl(v string) { + o.DependenciesUrl = &v +} + +// GetDescription returns the Description field value if set, zero value otherwise. +func (o *CranPackageUploadResponse) GetDescription() string { + if o == nil || isNil(o.Description) { + var ret string + return ret + } + return *o.Description +} + +// GetDescriptionOk returns a tuple with the Description field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *CranPackageUploadResponse) GetDescriptionOk() (*string, bool) { + if o == nil || isNil(o.Description) { + return nil, false + } + return o.Description, true +} + +// HasDescription returns a boolean if a field has been set. +func (o *CranPackageUploadResponse) HasDescription() bool { + if o != nil && !isNil(o.Description) { + return true + } + + return false +} + +// SetDescription gets a reference to the given string and assigns it to the Description field. +func (o *CranPackageUploadResponse) SetDescription(v string) { + o.Description = &v +} + +// GetDistro returns the Distro field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *CranPackageUploadResponse) GetDistro() Distribution { + if o == nil || isNil(o.Distro.Get()) { + var ret Distribution + return ret + } + return *o.Distro.Get() +} + +// GetDistroOk returns a tuple with the Distro 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 *CranPackageUploadResponse) GetDistroOk() (*Distribution, bool) { + if o == nil { + return nil, false + } + return o.Distro.Get(), o.Distro.IsSet() +} + +// HasDistro returns a boolean if a field has been set. +func (o *CranPackageUploadResponse) HasDistro() bool { + if o != nil && o.Distro.IsSet() { + return true + } + + return false +} + +// SetDistro gets a reference to the given NullableDistribution and assigns it to the Distro field. +func (o *CranPackageUploadResponse) SetDistro(v Distribution) { + o.Distro.Set(&v) +} + +// SetDistroNil sets the value for Distro to be an explicit nil +func (o *CranPackageUploadResponse) SetDistroNil() { + o.Distro.Set(nil) +} + +// UnsetDistro ensures that no value is present for Distro, not even an explicit nil +func (o *CranPackageUploadResponse) UnsetDistro() { + o.Distro.Unset() +} + +// GetDistroVersion returns the DistroVersion field value if set, zero value otherwise. +func (o *CranPackageUploadResponse) GetDistroVersion() DistributionVersion { + if o == nil || isNil(o.DistroVersion) { + var ret DistributionVersion + return ret + } + return *o.DistroVersion +} + +// GetDistroVersionOk returns a tuple with the DistroVersion field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *CranPackageUploadResponse) GetDistroVersionOk() (*DistributionVersion, bool) { + if o == nil || isNil(o.DistroVersion) { + return nil, false + } + return o.DistroVersion, true +} + +// HasDistroVersion returns a boolean if a field has been set. +func (o *CranPackageUploadResponse) HasDistroVersion() bool { + if o != nil && !isNil(o.DistroVersion) { + return true + } + + return false +} + +// SetDistroVersion gets a reference to the given DistributionVersion and assigns it to the DistroVersion field. +func (o *CranPackageUploadResponse) SetDistroVersion(v DistributionVersion) { + o.DistroVersion = &v +} + +// GetDownloads returns the Downloads field value if set, zero value otherwise. +func (o *CranPackageUploadResponse) GetDownloads() int64 { + if o == nil || isNil(o.Downloads) { + var ret int64 + return ret + } + return *o.Downloads +} + +// GetDownloadsOk returns a tuple with the Downloads field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *CranPackageUploadResponse) GetDownloadsOk() (*int64, bool) { + if o == nil || isNil(o.Downloads) { + return nil, false + } + return o.Downloads, true +} + +// HasDownloads returns a boolean if a field has been set. +func (o *CranPackageUploadResponse) HasDownloads() bool { + if o != nil && !isNil(o.Downloads) { + return true + } + + return false +} + +// SetDownloads gets a reference to the given int64 and assigns it to the Downloads field. +func (o *CranPackageUploadResponse) SetDownloads(v int64) { + o.Downloads = &v +} + +// GetEpoch returns the Epoch field value if set, zero value otherwise. +func (o *CranPackageUploadResponse) GetEpoch() int64 { + if o == nil || isNil(o.Epoch) { + var ret int64 + return ret + } + return *o.Epoch +} + +// GetEpochOk returns a tuple with the Epoch field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *CranPackageUploadResponse) GetEpochOk() (*int64, bool) { + if o == nil || isNil(o.Epoch) { + return nil, false + } + return o.Epoch, true +} + +// HasEpoch returns a boolean if a field has been set. +func (o *CranPackageUploadResponse) HasEpoch() bool { + if o != nil && !isNil(o.Epoch) { + return true + } + + return false +} + +// SetEpoch gets a reference to the given int64 and assigns it to the Epoch field. +func (o *CranPackageUploadResponse) SetEpoch(v int64) { + o.Epoch = &v +} + +// GetExtension returns the Extension field value if set, zero value otherwise. +func (o *CranPackageUploadResponse) GetExtension() string { + if o == nil || isNil(o.Extension) { + var ret string + return ret + } + return *o.Extension +} + +// GetExtensionOk returns a tuple with the Extension field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *CranPackageUploadResponse) GetExtensionOk() (*string, bool) { + if o == nil || isNil(o.Extension) { + return nil, false + } + return o.Extension, true +} + +// HasExtension returns a boolean if a field has been set. +func (o *CranPackageUploadResponse) HasExtension() bool { + if o != nil && !isNil(o.Extension) { + return true + } + + return false +} + +// SetExtension gets a reference to the given string and assigns it to the Extension field. +func (o *CranPackageUploadResponse) SetExtension(v string) { + o.Extension = &v +} + +// GetFilename returns the Filename field value if set, zero value otherwise. +func (o *CranPackageUploadResponse) GetFilename() string { + if o == nil || isNil(o.Filename) { + var ret string + return ret + } + return *o.Filename +} + +// GetFilenameOk returns a tuple with the Filename field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *CranPackageUploadResponse) GetFilenameOk() (*string, bool) { + if o == nil || isNil(o.Filename) { + return nil, false + } + return o.Filename, true +} + +// HasFilename returns a boolean if a field has been set. +func (o *CranPackageUploadResponse) HasFilename() bool { + if o != nil && !isNil(o.Filename) { + return true + } + + return false +} + +// SetFilename gets a reference to the given string and assigns it to the Filename field. +func (o *CranPackageUploadResponse) SetFilename(v string) { + o.Filename = &v +} + +// GetFiles returns the Files field value if set, zero value otherwise. +func (o *CranPackageUploadResponse) GetFiles() []PackageFile { + if o == nil || isNil(o.Files) { + var ret []PackageFile + return ret + } + return o.Files +} + +// GetFilesOk returns a tuple with the Files field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *CranPackageUploadResponse) GetFilesOk() ([]PackageFile, bool) { + if o == nil || isNil(o.Files) { + return nil, false + } + return o.Files, true +} + +// HasFiles returns a boolean if a field has been set. +func (o *CranPackageUploadResponse) HasFiles() bool { + if o != nil && !isNil(o.Files) { + return true + } + + return false +} + +// SetFiles gets a reference to the given []PackageFile and assigns it to the Files field. +func (o *CranPackageUploadResponse) SetFiles(v []PackageFile) { + o.Files = v +} + +// GetFormat returns the Format field value if set, zero value otherwise. +func (o *CranPackageUploadResponse) GetFormat() string { + if o == nil || isNil(o.Format) { + var ret string + return ret + } + return *o.Format +} + +// GetFormatOk returns a tuple with the Format field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *CranPackageUploadResponse) GetFormatOk() (*string, bool) { + if o == nil || isNil(o.Format) { + return nil, false + } + return o.Format, true +} + +// HasFormat returns a boolean if a field has been set. +func (o *CranPackageUploadResponse) HasFormat() bool { + if o != nil && !isNil(o.Format) { + return true + } + + return false +} + +// SetFormat gets a reference to the given string and assigns it to the Format field. +func (o *CranPackageUploadResponse) SetFormat(v string) { + o.Format = &v +} + +// GetFormatUrl returns the FormatUrl field value if set, zero value otherwise. +func (o *CranPackageUploadResponse) GetFormatUrl() string { + if o == nil || isNil(o.FormatUrl) { + var ret string + return ret + } + return *o.FormatUrl +} + +// GetFormatUrlOk returns a tuple with the FormatUrl field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *CranPackageUploadResponse) GetFormatUrlOk() (*string, bool) { + if o == nil || isNil(o.FormatUrl) { + return nil, false + } + return o.FormatUrl, true +} + +// HasFormatUrl returns a boolean if a field has been set. +func (o *CranPackageUploadResponse) HasFormatUrl() bool { + if o != nil && !isNil(o.FormatUrl) { + return true + } + + return false +} + +// SetFormatUrl gets a reference to the given string and assigns it to the FormatUrl field. +func (o *CranPackageUploadResponse) SetFormatUrl(v string) { + o.FormatUrl = &v +} + +// GetIdentifierPerm returns the IdentifierPerm field value if set, zero value otherwise. +func (o *CranPackageUploadResponse) GetIdentifierPerm() string { + if o == nil || isNil(o.IdentifierPerm) { + var ret string + return ret + } + return *o.IdentifierPerm +} + +// GetIdentifierPermOk returns a tuple with the IdentifierPerm field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *CranPackageUploadResponse) GetIdentifierPermOk() (*string, bool) { + if o == nil || isNil(o.IdentifierPerm) { + return nil, false + } + return o.IdentifierPerm, true +} + +// HasIdentifierPerm returns a boolean if a field has been set. +func (o *CranPackageUploadResponse) HasIdentifierPerm() bool { + if o != nil && !isNil(o.IdentifierPerm) { + return true + } + + return false +} + +// SetIdentifierPerm gets a reference to the given string and assigns it to the IdentifierPerm field. +func (o *CranPackageUploadResponse) SetIdentifierPerm(v string) { + o.IdentifierPerm = &v +} + +// GetIndexed returns the Indexed field value if set, zero value otherwise. +func (o *CranPackageUploadResponse) GetIndexed() bool { + if o == nil || isNil(o.Indexed) { + var ret bool + return ret + } + return *o.Indexed +} + +// GetIndexedOk returns a tuple with the Indexed field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *CranPackageUploadResponse) GetIndexedOk() (*bool, bool) { + if o == nil || isNil(o.Indexed) { + return nil, false + } + return o.Indexed, true +} + +// HasIndexed returns a boolean if a field has been set. +func (o *CranPackageUploadResponse) HasIndexed() bool { + if o != nil && !isNil(o.Indexed) { + return true + } + + return false +} + +// SetIndexed gets a reference to the given bool and assigns it to the Indexed field. +func (o *CranPackageUploadResponse) SetIndexed(v bool) { + o.Indexed = &v +} + +// GetIsDownloadable returns the IsDownloadable field value if set, zero value otherwise. +func (o *CranPackageUploadResponse) GetIsDownloadable() bool { + if o == nil || isNil(o.IsDownloadable) { + var ret bool + return ret + } + return *o.IsDownloadable +} + +// GetIsDownloadableOk returns a tuple with the IsDownloadable field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *CranPackageUploadResponse) GetIsDownloadableOk() (*bool, bool) { + if o == nil || isNil(o.IsDownloadable) { + return nil, false + } + return o.IsDownloadable, true +} + +// HasIsDownloadable returns a boolean if a field has been set. +func (o *CranPackageUploadResponse) HasIsDownloadable() bool { + if o != nil && !isNil(o.IsDownloadable) { + return true + } + + return false +} + +// SetIsDownloadable gets a reference to the given bool and assigns it to the IsDownloadable field. +func (o *CranPackageUploadResponse) SetIsDownloadable(v bool) { + o.IsDownloadable = &v +} + +// GetIsQuarantined returns the IsQuarantined field value if set, zero value otherwise. +func (o *CranPackageUploadResponse) GetIsQuarantined() bool { + if o == nil || isNil(o.IsQuarantined) { + var ret bool + return ret + } + return *o.IsQuarantined +} + +// GetIsQuarantinedOk returns a tuple with the IsQuarantined field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *CranPackageUploadResponse) GetIsQuarantinedOk() (*bool, bool) { + if o == nil || isNil(o.IsQuarantined) { + return nil, false + } + return o.IsQuarantined, true +} + +// HasIsQuarantined returns a boolean if a field has been set. +func (o *CranPackageUploadResponse) HasIsQuarantined() bool { + if o != nil && !isNil(o.IsQuarantined) { + return true + } + + return false +} + +// SetIsQuarantined gets a reference to the given bool and assigns it to the IsQuarantined field. +func (o *CranPackageUploadResponse) SetIsQuarantined(v bool) { + o.IsQuarantined = &v +} + +// GetIsSyncAwaiting returns the IsSyncAwaiting field value if set, zero value otherwise. +func (o *CranPackageUploadResponse) GetIsSyncAwaiting() bool { + if o == nil || isNil(o.IsSyncAwaiting) { + var ret bool + return ret + } + return *o.IsSyncAwaiting +} + +// GetIsSyncAwaitingOk returns a tuple with the IsSyncAwaiting field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *CranPackageUploadResponse) GetIsSyncAwaitingOk() (*bool, bool) { + if o == nil || isNil(o.IsSyncAwaiting) { + return nil, false + } + return o.IsSyncAwaiting, true +} + +// HasIsSyncAwaiting returns a boolean if a field has been set. +func (o *CranPackageUploadResponse) HasIsSyncAwaiting() bool { + if o != nil && !isNil(o.IsSyncAwaiting) { + return true + } + + return false +} + +// SetIsSyncAwaiting gets a reference to the given bool and assigns it to the IsSyncAwaiting field. +func (o *CranPackageUploadResponse) SetIsSyncAwaiting(v bool) { + o.IsSyncAwaiting = &v +} + +// GetIsSyncCompleted returns the IsSyncCompleted field value if set, zero value otherwise. +func (o *CranPackageUploadResponse) GetIsSyncCompleted() bool { + if o == nil || isNil(o.IsSyncCompleted) { + var ret bool + return ret + } + return *o.IsSyncCompleted +} + +// GetIsSyncCompletedOk returns a tuple with the IsSyncCompleted field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *CranPackageUploadResponse) GetIsSyncCompletedOk() (*bool, bool) { + if o == nil || isNil(o.IsSyncCompleted) { + return nil, false + } + return o.IsSyncCompleted, true +} + +// HasIsSyncCompleted returns a boolean if a field has been set. +func (o *CranPackageUploadResponse) HasIsSyncCompleted() bool { + if o != nil && !isNil(o.IsSyncCompleted) { + return true + } + + return false +} + +// SetIsSyncCompleted gets a reference to the given bool and assigns it to the IsSyncCompleted field. +func (o *CranPackageUploadResponse) SetIsSyncCompleted(v bool) { + o.IsSyncCompleted = &v +} + +// GetIsSyncFailed returns the IsSyncFailed field value if set, zero value otherwise. +func (o *CranPackageUploadResponse) GetIsSyncFailed() bool { + if o == nil || isNil(o.IsSyncFailed) { + var ret bool + return ret + } + return *o.IsSyncFailed +} + +// GetIsSyncFailedOk returns a tuple with the IsSyncFailed field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *CranPackageUploadResponse) GetIsSyncFailedOk() (*bool, bool) { + if o == nil || isNil(o.IsSyncFailed) { + return nil, false + } + return o.IsSyncFailed, true +} + +// HasIsSyncFailed returns a boolean if a field has been set. +func (o *CranPackageUploadResponse) HasIsSyncFailed() bool { + if o != nil && !isNil(o.IsSyncFailed) { + return true + } + + return false +} + +// SetIsSyncFailed gets a reference to the given bool and assigns it to the IsSyncFailed field. +func (o *CranPackageUploadResponse) SetIsSyncFailed(v bool) { + o.IsSyncFailed = &v +} + +// GetIsSyncInFlight returns the IsSyncInFlight field value if set, zero value otherwise. +func (o *CranPackageUploadResponse) GetIsSyncInFlight() bool { + if o == nil || isNil(o.IsSyncInFlight) { + var ret bool + return ret + } + return *o.IsSyncInFlight +} + +// GetIsSyncInFlightOk returns a tuple with the IsSyncInFlight field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *CranPackageUploadResponse) GetIsSyncInFlightOk() (*bool, bool) { + if o == nil || isNil(o.IsSyncInFlight) { + return nil, false + } + return o.IsSyncInFlight, true +} + +// HasIsSyncInFlight returns a boolean if a field has been set. +func (o *CranPackageUploadResponse) HasIsSyncInFlight() bool { + if o != nil && !isNil(o.IsSyncInFlight) { + return true + } + + return false +} + +// SetIsSyncInFlight gets a reference to the given bool and assigns it to the IsSyncInFlight field. +func (o *CranPackageUploadResponse) SetIsSyncInFlight(v bool) { + o.IsSyncInFlight = &v +} + +// GetIsSyncInProgress returns the IsSyncInProgress field value if set, zero value otherwise. +func (o *CranPackageUploadResponse) GetIsSyncInProgress() bool { + if o == nil || isNil(o.IsSyncInProgress) { + var ret bool + return ret + } + return *o.IsSyncInProgress +} + +// GetIsSyncInProgressOk returns a tuple with the IsSyncInProgress field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *CranPackageUploadResponse) GetIsSyncInProgressOk() (*bool, bool) { + if o == nil || isNil(o.IsSyncInProgress) { + return nil, false + } + return o.IsSyncInProgress, true +} + +// HasIsSyncInProgress returns a boolean if a field has been set. +func (o *CranPackageUploadResponse) HasIsSyncInProgress() bool { + if o != nil && !isNil(o.IsSyncInProgress) { + return true + } + + return false +} + +// SetIsSyncInProgress gets a reference to the given bool and assigns it to the IsSyncInProgress field. +func (o *CranPackageUploadResponse) SetIsSyncInProgress(v bool) { + o.IsSyncInProgress = &v +} + +// GetLicense returns the License field value if set, zero value otherwise. +func (o *CranPackageUploadResponse) GetLicense() string { + if o == nil || isNil(o.License) { + var ret string + return ret + } + return *o.License +} + +// GetLicenseOk returns a tuple with the License field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *CranPackageUploadResponse) GetLicenseOk() (*string, bool) { + if o == nil || isNil(o.License) { + return nil, false + } + return o.License, true +} + +// HasLicense returns a boolean if a field has been set. +func (o *CranPackageUploadResponse) HasLicense() bool { + if o != nil && !isNil(o.License) { + return true + } + + return false +} + +// SetLicense gets a reference to the given string and assigns it to the License field. +func (o *CranPackageUploadResponse) SetLicense(v string) { + o.License = &v +} + +// GetName returns the Name field value if set, zero value otherwise. +func (o *CranPackageUploadResponse) GetName() string { + if o == nil || isNil(o.Name) { + var ret string + return ret + } + return *o.Name +} + +// GetNameOk returns a tuple with the Name field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *CranPackageUploadResponse) GetNameOk() (*string, bool) { + if o == nil || isNil(o.Name) { + return nil, false + } + return o.Name, true +} + +// HasName returns a boolean if a field has been set. +func (o *CranPackageUploadResponse) HasName() bool { + if o != nil && !isNil(o.Name) { + return true + } + + return false +} + +// SetName gets a reference to the given string and assigns it to the Name field. +func (o *CranPackageUploadResponse) SetName(v string) { + o.Name = &v +} + +// GetNamespace returns the Namespace field value if set, zero value otherwise. +func (o *CranPackageUploadResponse) GetNamespace() string { + if o == nil || isNil(o.Namespace) { + var ret string + return ret + } + return *o.Namespace +} + +// GetNamespaceOk returns a tuple with the Namespace field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *CranPackageUploadResponse) GetNamespaceOk() (*string, bool) { + if o == nil || isNil(o.Namespace) { + return nil, false + } + return o.Namespace, true +} + +// HasNamespace returns a boolean if a field has been set. +func (o *CranPackageUploadResponse) HasNamespace() bool { + if o != nil && !isNil(o.Namespace) { + return true + } + + return false +} + +// SetNamespace gets a reference to the given string and assigns it to the Namespace field. +func (o *CranPackageUploadResponse) SetNamespace(v string) { + o.Namespace = &v +} + +// GetNamespaceUrl returns the NamespaceUrl field value if set, zero value otherwise. +func (o *CranPackageUploadResponse) GetNamespaceUrl() string { + if o == nil || isNil(o.NamespaceUrl) { + var ret string + return ret + } + return *o.NamespaceUrl +} + +// GetNamespaceUrlOk returns a tuple with the NamespaceUrl field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *CranPackageUploadResponse) GetNamespaceUrlOk() (*string, bool) { + if o == nil || isNil(o.NamespaceUrl) { + return nil, false + } + return o.NamespaceUrl, true +} + +// HasNamespaceUrl returns a boolean if a field has been set. +func (o *CranPackageUploadResponse) HasNamespaceUrl() bool { + if o != nil && !isNil(o.NamespaceUrl) { + return true + } + + return false +} + +// SetNamespaceUrl gets a reference to the given string and assigns it to the NamespaceUrl field. +func (o *CranPackageUploadResponse) SetNamespaceUrl(v string) { + o.NamespaceUrl = &v +} + +// GetNumFiles returns the NumFiles field value if set, zero value otherwise. +func (o *CranPackageUploadResponse) GetNumFiles() int64 { + if o == nil || isNil(o.NumFiles) { + var ret int64 + return ret + } + return *o.NumFiles +} + +// GetNumFilesOk returns a tuple with the NumFiles field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *CranPackageUploadResponse) GetNumFilesOk() (*int64, bool) { + if o == nil || isNil(o.NumFiles) { + return nil, false + } + return o.NumFiles, true +} + +// HasNumFiles returns a boolean if a field has been set. +func (o *CranPackageUploadResponse) HasNumFiles() bool { + if o != nil && !isNil(o.NumFiles) { + return true + } + + return false +} + +// SetNumFiles gets a reference to the given int64 and assigns it to the NumFiles field. +func (o *CranPackageUploadResponse) SetNumFiles(v int64) { + o.NumFiles = &v +} + +// GetOriginRepository returns the OriginRepository field value if set, zero value otherwise. +func (o *CranPackageUploadResponse) GetOriginRepository() string { + if o == nil || isNil(o.OriginRepository) { + var ret string + return ret + } + return *o.OriginRepository +} + +// GetOriginRepositoryOk returns a tuple with the OriginRepository field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *CranPackageUploadResponse) GetOriginRepositoryOk() (*string, bool) { + if o == nil || isNil(o.OriginRepository) { + return nil, false + } + return o.OriginRepository, true +} + +// HasOriginRepository returns a boolean if a field has been set. +func (o *CranPackageUploadResponse) HasOriginRepository() bool { + if o != nil && !isNil(o.OriginRepository) { + return true + } + + return false +} + +// SetOriginRepository gets a reference to the given string and assigns it to the OriginRepository field. +func (o *CranPackageUploadResponse) SetOriginRepository(v string) { + o.OriginRepository = &v +} + +// GetOriginRepositoryUrl returns the OriginRepositoryUrl field value if set, zero value otherwise. +func (o *CranPackageUploadResponse) GetOriginRepositoryUrl() string { + if o == nil || isNil(o.OriginRepositoryUrl) { + var ret string + return ret + } + return *o.OriginRepositoryUrl +} + +// GetOriginRepositoryUrlOk returns a tuple with the OriginRepositoryUrl field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *CranPackageUploadResponse) GetOriginRepositoryUrlOk() (*string, bool) { + if o == nil || isNil(o.OriginRepositoryUrl) { + return nil, false + } + return o.OriginRepositoryUrl, true +} + +// HasOriginRepositoryUrl returns a boolean if a field has been set. +func (o *CranPackageUploadResponse) HasOriginRepositoryUrl() bool { + if o != nil && !isNil(o.OriginRepositoryUrl) { + return true + } + + return false +} + +// SetOriginRepositoryUrl gets a reference to the given string and assigns it to the OriginRepositoryUrl field. +func (o *CranPackageUploadResponse) SetOriginRepositoryUrl(v string) { + o.OriginRepositoryUrl = &v +} + +// GetPackageType returns the PackageType field value if set, zero value otherwise. +func (o *CranPackageUploadResponse) GetPackageType() int64 { + if o == nil || isNil(o.PackageType) { + var ret int64 + return ret + } + return *o.PackageType +} + +// GetPackageTypeOk returns a tuple with the PackageType field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *CranPackageUploadResponse) GetPackageTypeOk() (*int64, bool) { + if o == nil || isNil(o.PackageType) { + return nil, false + } + return o.PackageType, true +} + +// HasPackageType returns a boolean if a field has been set. +func (o *CranPackageUploadResponse) HasPackageType() bool { + if o != nil && !isNil(o.PackageType) { + return true + } + + return false +} + +// SetPackageType gets a reference to the given int64 and assigns it to the PackageType field. +func (o *CranPackageUploadResponse) SetPackageType(v int64) { + o.PackageType = &v +} + +// GetRelease returns the Release field value if set, zero value otherwise. +func (o *CranPackageUploadResponse) GetRelease() string { + if o == nil || isNil(o.Release) { + var ret string + return ret + } + return *o.Release +} + +// GetReleaseOk returns a tuple with the Release field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *CranPackageUploadResponse) GetReleaseOk() (*string, bool) { + if o == nil || isNil(o.Release) { + return nil, false + } + return o.Release, true +} + +// HasRelease returns a boolean if a field has been set. +func (o *CranPackageUploadResponse) HasRelease() bool { + if o != nil && !isNil(o.Release) { + return true + } + + return false +} + +// SetRelease gets a reference to the given string and assigns it to the Release field. +func (o *CranPackageUploadResponse) SetRelease(v string) { + o.Release = &v +} + +// GetRepository returns the Repository field value if set, zero value otherwise. +func (o *CranPackageUploadResponse) GetRepository() string { + if o == nil || isNil(o.Repository) { + var ret string + return ret + } + return *o.Repository +} + +// GetRepositoryOk returns a tuple with the Repository field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *CranPackageUploadResponse) GetRepositoryOk() (*string, bool) { + if o == nil || isNil(o.Repository) { + return nil, false + } + return o.Repository, true +} + +// HasRepository returns a boolean if a field has been set. +func (o *CranPackageUploadResponse) HasRepository() bool { + if o != nil && !isNil(o.Repository) { + return true + } + + return false +} + +// SetRepository gets a reference to the given string and assigns it to the Repository field. +func (o *CranPackageUploadResponse) SetRepository(v string) { + o.Repository = &v +} + +// GetRepositoryUrl returns the RepositoryUrl field value if set, zero value otherwise. +func (o *CranPackageUploadResponse) GetRepositoryUrl() string { + if o == nil || isNil(o.RepositoryUrl) { + var ret string + return ret + } + return *o.RepositoryUrl +} + +// GetRepositoryUrlOk returns a tuple with the RepositoryUrl field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *CranPackageUploadResponse) GetRepositoryUrlOk() (*string, bool) { + if o == nil || isNil(o.RepositoryUrl) { + return nil, false + } + return o.RepositoryUrl, true +} + +// HasRepositoryUrl returns a boolean if a field has been set. +func (o *CranPackageUploadResponse) HasRepositoryUrl() bool { + if o != nil && !isNil(o.RepositoryUrl) { + return true + } + + return false +} + +// SetRepositoryUrl gets a reference to the given string and assigns it to the RepositoryUrl field. +func (o *CranPackageUploadResponse) SetRepositoryUrl(v string) { + o.RepositoryUrl = &v +} + +// GetSecurityScanCompletedAt returns the SecurityScanCompletedAt field value if set, zero value otherwise. +func (o *CranPackageUploadResponse) GetSecurityScanCompletedAt() time.Time { + if o == nil || isNil(o.SecurityScanCompletedAt) { + var ret time.Time + return ret + } + return *o.SecurityScanCompletedAt +} + +// GetSecurityScanCompletedAtOk returns a tuple with the SecurityScanCompletedAt field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *CranPackageUploadResponse) GetSecurityScanCompletedAtOk() (*time.Time, bool) { + if o == nil || isNil(o.SecurityScanCompletedAt) { + return nil, false + } + return o.SecurityScanCompletedAt, true +} + +// HasSecurityScanCompletedAt returns a boolean if a field has been set. +func (o *CranPackageUploadResponse) HasSecurityScanCompletedAt() bool { + if o != nil && !isNil(o.SecurityScanCompletedAt) { + return true + } + + return false +} + +// SetSecurityScanCompletedAt gets a reference to the given time.Time and assigns it to the SecurityScanCompletedAt field. +func (o *CranPackageUploadResponse) SetSecurityScanCompletedAt(v time.Time) { + o.SecurityScanCompletedAt = &v +} + +// GetSecurityScanStartedAt returns the SecurityScanStartedAt field value if set, zero value otherwise. +func (o *CranPackageUploadResponse) GetSecurityScanStartedAt() time.Time { + if o == nil || isNil(o.SecurityScanStartedAt) { + var ret time.Time + return ret + } + return *o.SecurityScanStartedAt +} + +// GetSecurityScanStartedAtOk returns a tuple with the SecurityScanStartedAt field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *CranPackageUploadResponse) GetSecurityScanStartedAtOk() (*time.Time, bool) { + if o == nil || isNil(o.SecurityScanStartedAt) { + return nil, false + } + return o.SecurityScanStartedAt, true +} + +// HasSecurityScanStartedAt returns a boolean if a field has been set. +func (o *CranPackageUploadResponse) HasSecurityScanStartedAt() bool { + if o != nil && !isNil(o.SecurityScanStartedAt) { + return true + } + + return false +} + +// SetSecurityScanStartedAt gets a reference to the given time.Time and assigns it to the SecurityScanStartedAt field. +func (o *CranPackageUploadResponse) SetSecurityScanStartedAt(v time.Time) { + o.SecurityScanStartedAt = &v +} + +// GetSecurityScanStatus returns the SecurityScanStatus field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *CranPackageUploadResponse) GetSecurityScanStatus() string { + if o == nil || isNil(o.SecurityScanStatus.Get()) { + var ret string + return ret + } + return *o.SecurityScanStatus.Get() +} + +// GetSecurityScanStatusOk returns a tuple with the SecurityScanStatus 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 *CranPackageUploadResponse) GetSecurityScanStatusOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.SecurityScanStatus.Get(), o.SecurityScanStatus.IsSet() +} + +// HasSecurityScanStatus returns a boolean if a field has been set. +func (o *CranPackageUploadResponse) HasSecurityScanStatus() bool { + if o != nil && o.SecurityScanStatus.IsSet() { + return true + } + + return false +} + +// SetSecurityScanStatus gets a reference to the given NullableString and assigns it to the SecurityScanStatus field. +func (o *CranPackageUploadResponse) SetSecurityScanStatus(v string) { + o.SecurityScanStatus.Set(&v) +} + +// SetSecurityScanStatusNil sets the value for SecurityScanStatus to be an explicit nil +func (o *CranPackageUploadResponse) SetSecurityScanStatusNil() { + o.SecurityScanStatus.Set(nil) +} + +// UnsetSecurityScanStatus ensures that no value is present for SecurityScanStatus, not even an explicit nil +func (o *CranPackageUploadResponse) UnsetSecurityScanStatus() { + o.SecurityScanStatus.Unset() +} + +// GetSecurityScanStatusUpdatedAt returns the SecurityScanStatusUpdatedAt field value if set, zero value otherwise. +func (o *CranPackageUploadResponse) GetSecurityScanStatusUpdatedAt() time.Time { + if o == nil || isNil(o.SecurityScanStatusUpdatedAt) { + var ret time.Time + return ret + } + return *o.SecurityScanStatusUpdatedAt +} + +// GetSecurityScanStatusUpdatedAtOk returns a tuple with the SecurityScanStatusUpdatedAt field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *CranPackageUploadResponse) GetSecurityScanStatusUpdatedAtOk() (*time.Time, bool) { + if o == nil || isNil(o.SecurityScanStatusUpdatedAt) { + return nil, false + } + return o.SecurityScanStatusUpdatedAt, true +} + +// HasSecurityScanStatusUpdatedAt returns a boolean if a field has been set. +func (o *CranPackageUploadResponse) HasSecurityScanStatusUpdatedAt() bool { + if o != nil && !isNil(o.SecurityScanStatusUpdatedAt) { + return true + } + + return false +} + +// SetSecurityScanStatusUpdatedAt gets a reference to the given time.Time and assigns it to the SecurityScanStatusUpdatedAt field. +func (o *CranPackageUploadResponse) SetSecurityScanStatusUpdatedAt(v time.Time) { + o.SecurityScanStatusUpdatedAt = &v +} + +// GetSelfHtmlUrl returns the SelfHtmlUrl field value if set, zero value otherwise. +func (o *CranPackageUploadResponse) GetSelfHtmlUrl() string { + if o == nil || isNil(o.SelfHtmlUrl) { + var ret string + return ret + } + return *o.SelfHtmlUrl +} + +// GetSelfHtmlUrlOk returns a tuple with the SelfHtmlUrl field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *CranPackageUploadResponse) GetSelfHtmlUrlOk() (*string, bool) { + if o == nil || isNil(o.SelfHtmlUrl) { + return nil, false + } + return o.SelfHtmlUrl, true +} + +// HasSelfHtmlUrl returns a boolean if a field has been set. +func (o *CranPackageUploadResponse) HasSelfHtmlUrl() bool { + if o != nil && !isNil(o.SelfHtmlUrl) { + return true + } + + return false +} + +// SetSelfHtmlUrl gets a reference to the given string and assigns it to the SelfHtmlUrl field. +func (o *CranPackageUploadResponse) SetSelfHtmlUrl(v string) { + o.SelfHtmlUrl = &v +} + +// GetSelfUrl returns the SelfUrl field value if set, zero value otherwise. +func (o *CranPackageUploadResponse) GetSelfUrl() string { + if o == nil || isNil(o.SelfUrl) { + var ret string + return ret + } + return *o.SelfUrl +} + +// GetSelfUrlOk returns a tuple with the SelfUrl field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *CranPackageUploadResponse) GetSelfUrlOk() (*string, bool) { + if o == nil || isNil(o.SelfUrl) { + return nil, false + } + return o.SelfUrl, true +} + +// HasSelfUrl returns a boolean if a field has been set. +func (o *CranPackageUploadResponse) HasSelfUrl() bool { + if o != nil && !isNil(o.SelfUrl) { + return true + } + + return false +} + +// SetSelfUrl gets a reference to the given string and assigns it to the SelfUrl field. +func (o *CranPackageUploadResponse) SetSelfUrl(v string) { + o.SelfUrl = &v +} + +// GetSignatureUrl returns the SignatureUrl field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *CranPackageUploadResponse) GetSignatureUrl() string { + if o == nil || isNil(o.SignatureUrl.Get()) { + var ret string + return ret + } + return *o.SignatureUrl.Get() +} + +// GetSignatureUrlOk returns a tuple with the SignatureUrl 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 *CranPackageUploadResponse) GetSignatureUrlOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.SignatureUrl.Get(), o.SignatureUrl.IsSet() +} + +// HasSignatureUrl returns a boolean if a field has been set. +func (o *CranPackageUploadResponse) HasSignatureUrl() bool { + if o != nil && o.SignatureUrl.IsSet() { + return true + } + + return false +} + +// SetSignatureUrl gets a reference to the given NullableString and assigns it to the SignatureUrl field. +func (o *CranPackageUploadResponse) SetSignatureUrl(v string) { + o.SignatureUrl.Set(&v) +} + +// SetSignatureUrlNil sets the value for SignatureUrl to be an explicit nil +func (o *CranPackageUploadResponse) SetSignatureUrlNil() { + o.SignatureUrl.Set(nil) +} + +// UnsetSignatureUrl ensures that no value is present for SignatureUrl, not even an explicit nil +func (o *CranPackageUploadResponse) UnsetSignatureUrl() { + o.SignatureUrl.Unset() +} + +// GetSize returns the Size field value if set, zero value otherwise. +func (o *CranPackageUploadResponse) GetSize() int64 { + if o == nil || isNil(o.Size) { + var ret int64 + return ret + } + return *o.Size +} + +// GetSizeOk returns a tuple with the Size field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *CranPackageUploadResponse) GetSizeOk() (*int64, bool) { + if o == nil || isNil(o.Size) { + return nil, false + } + return o.Size, true +} + +// HasSize returns a boolean if a field has been set. +func (o *CranPackageUploadResponse) HasSize() bool { + if o != nil && !isNil(o.Size) { + return true + } + + return false +} + +// SetSize gets a reference to the given int64 and assigns it to the Size field. +func (o *CranPackageUploadResponse) SetSize(v int64) { + o.Size = &v +} + +// GetSlug returns the Slug field value if set, zero value otherwise. +func (o *CranPackageUploadResponse) GetSlug() string { + if o == nil || isNil(o.Slug) { + var ret string + return ret + } + return *o.Slug +} + +// GetSlugOk returns a tuple with the Slug field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *CranPackageUploadResponse) GetSlugOk() (*string, bool) { + if o == nil || isNil(o.Slug) { + return nil, false + } + return o.Slug, true +} + +// HasSlug returns a boolean if a field has been set. +func (o *CranPackageUploadResponse) HasSlug() bool { + if o != nil && !isNil(o.Slug) { + return true + } + + return false +} + +// SetSlug gets a reference to the given string and assigns it to the Slug field. +func (o *CranPackageUploadResponse) SetSlug(v string) { + o.Slug = &v +} + +// GetSlugPerm returns the SlugPerm field value if set, zero value otherwise. +func (o *CranPackageUploadResponse) GetSlugPerm() string { + if o == nil || isNil(o.SlugPerm) { + var ret string + return ret + } + return *o.SlugPerm +} + +// GetSlugPermOk returns a tuple with the SlugPerm field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *CranPackageUploadResponse) GetSlugPermOk() (*string, bool) { + if o == nil || isNil(o.SlugPerm) { + return nil, false + } + return o.SlugPerm, true +} + +// HasSlugPerm returns a boolean if a field has been set. +func (o *CranPackageUploadResponse) HasSlugPerm() bool { + if o != nil && !isNil(o.SlugPerm) { + return true + } + + return false +} + +// SetSlugPerm gets a reference to the given string and assigns it to the SlugPerm field. +func (o *CranPackageUploadResponse) SetSlugPerm(v string) { + o.SlugPerm = &v +} + +// GetStage returns the Stage field value if set, zero value otherwise. +func (o *CranPackageUploadResponse) GetStage() int64 { + if o == nil || isNil(o.Stage) { + var ret int64 + return ret + } + return *o.Stage +} + +// GetStageOk returns a tuple with the Stage field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *CranPackageUploadResponse) GetStageOk() (*int64, bool) { + if o == nil || isNil(o.Stage) { + return nil, false + } + return o.Stage, true +} + +// HasStage returns a boolean if a field has been set. +func (o *CranPackageUploadResponse) HasStage() bool { + if o != nil && !isNil(o.Stage) { + return true + } + + return false +} + +// SetStage gets a reference to the given int64 and assigns it to the Stage field. +func (o *CranPackageUploadResponse) SetStage(v int64) { + o.Stage = &v +} + +// GetStageStr returns the StageStr field value if set, zero value otherwise. +func (o *CranPackageUploadResponse) GetStageStr() string { + if o == nil || isNil(o.StageStr) { + var ret string + return ret + } + return *o.StageStr +} + +// GetStageStrOk returns a tuple with the StageStr field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *CranPackageUploadResponse) GetStageStrOk() (*string, bool) { + if o == nil || isNil(o.StageStr) { + return nil, false + } + return o.StageStr, true +} + +// HasStageStr returns a boolean if a field has been set. +func (o *CranPackageUploadResponse) HasStageStr() bool { + if o != nil && !isNil(o.StageStr) { + return true + } + + return false +} + +// SetStageStr gets a reference to the given string and assigns it to the StageStr field. +func (o *CranPackageUploadResponse) SetStageStr(v string) { + o.StageStr = &v +} + +// GetStageUpdatedAt returns the StageUpdatedAt field value if set, zero value otherwise. +func (o *CranPackageUploadResponse) GetStageUpdatedAt() time.Time { + if o == nil || isNil(o.StageUpdatedAt) { + var ret time.Time + return ret + } + return *o.StageUpdatedAt +} + +// GetStageUpdatedAtOk returns a tuple with the StageUpdatedAt field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *CranPackageUploadResponse) GetStageUpdatedAtOk() (*time.Time, bool) { + if o == nil || isNil(o.StageUpdatedAt) { + return nil, false + } + return o.StageUpdatedAt, true +} + +// HasStageUpdatedAt returns a boolean if a field has been set. +func (o *CranPackageUploadResponse) HasStageUpdatedAt() bool { + if o != nil && !isNil(o.StageUpdatedAt) { + return true + } + + return false +} + +// SetStageUpdatedAt gets a reference to the given time.Time and assigns it to the StageUpdatedAt field. +func (o *CranPackageUploadResponse) SetStageUpdatedAt(v time.Time) { + o.StageUpdatedAt = &v +} + +// GetStatus returns the Status field value if set, zero value otherwise. +func (o *CranPackageUploadResponse) GetStatus() int64 { + if o == nil || isNil(o.Status) { + var ret int64 + return ret + } + return *o.Status +} + +// GetStatusOk returns a tuple with the Status field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *CranPackageUploadResponse) GetStatusOk() (*int64, bool) { + if o == nil || isNil(o.Status) { + return nil, false + } + return o.Status, true +} + +// HasStatus returns a boolean if a field has been set. +func (o *CranPackageUploadResponse) HasStatus() bool { + if o != nil && !isNil(o.Status) { + return true + } + + return false +} + +// SetStatus gets a reference to the given int64 and assigns it to the Status field. +func (o *CranPackageUploadResponse) SetStatus(v int64) { + o.Status = &v +} + +// GetStatusReason returns the StatusReason field value if set, zero value otherwise. +func (o *CranPackageUploadResponse) GetStatusReason() string { + if o == nil || isNil(o.StatusReason) { + var ret string + return ret + } + return *o.StatusReason +} + +// GetStatusReasonOk returns a tuple with the StatusReason field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *CranPackageUploadResponse) GetStatusReasonOk() (*string, bool) { + if o == nil || isNil(o.StatusReason) { + return nil, false + } + return o.StatusReason, true +} + +// HasStatusReason returns a boolean if a field has been set. +func (o *CranPackageUploadResponse) HasStatusReason() bool { + if o != nil && !isNil(o.StatusReason) { + return true + } + + return false +} + +// SetStatusReason gets a reference to the given string and assigns it to the StatusReason field. +func (o *CranPackageUploadResponse) SetStatusReason(v string) { + o.StatusReason = &v +} + +// GetStatusStr returns the StatusStr field value if set, zero value otherwise. +func (o *CranPackageUploadResponse) GetStatusStr() string { + if o == nil || isNil(o.StatusStr) { + var ret string + return ret + } + return *o.StatusStr +} + +// GetStatusStrOk returns a tuple with the StatusStr field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *CranPackageUploadResponse) GetStatusStrOk() (*string, bool) { + if o == nil || isNil(o.StatusStr) { + return nil, false + } + return o.StatusStr, true +} + +// HasStatusStr returns a boolean if a field has been set. +func (o *CranPackageUploadResponse) HasStatusStr() bool { + if o != nil && !isNil(o.StatusStr) { + return true + } + + return false +} + +// SetStatusStr gets a reference to the given string and assigns it to the StatusStr field. +func (o *CranPackageUploadResponse) SetStatusStr(v string) { + o.StatusStr = &v +} + +// GetStatusUpdatedAt returns the StatusUpdatedAt field value if set, zero value otherwise. +func (o *CranPackageUploadResponse) GetStatusUpdatedAt() time.Time { + if o == nil || isNil(o.StatusUpdatedAt) { + var ret time.Time + return ret + } + return *o.StatusUpdatedAt +} + +// GetStatusUpdatedAtOk returns a tuple with the StatusUpdatedAt field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *CranPackageUploadResponse) GetStatusUpdatedAtOk() (*time.Time, bool) { + if o == nil || isNil(o.StatusUpdatedAt) { + return nil, false + } + return o.StatusUpdatedAt, true +} + +// HasStatusUpdatedAt returns a boolean if a field has been set. +func (o *CranPackageUploadResponse) HasStatusUpdatedAt() bool { + if o != nil && !isNil(o.StatusUpdatedAt) { + return true + } + + return false +} + +// SetStatusUpdatedAt gets a reference to the given time.Time and assigns it to the StatusUpdatedAt field. +func (o *CranPackageUploadResponse) SetStatusUpdatedAt(v time.Time) { + o.StatusUpdatedAt = &v +} + +// GetStatusUrl returns the StatusUrl field value if set, zero value otherwise. +func (o *CranPackageUploadResponse) GetStatusUrl() string { + if o == nil || isNil(o.StatusUrl) { + var ret string + return ret + } + return *o.StatusUrl +} + +// GetStatusUrlOk returns a tuple with the StatusUrl field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *CranPackageUploadResponse) GetStatusUrlOk() (*string, bool) { + if o == nil || isNil(o.StatusUrl) { + return nil, false + } + return o.StatusUrl, true +} + +// HasStatusUrl returns a boolean if a field has been set. +func (o *CranPackageUploadResponse) HasStatusUrl() bool { + if o != nil && !isNil(o.StatusUrl) { + return true + } + + return false +} + +// SetStatusUrl gets a reference to the given string and assigns it to the StatusUrl field. +func (o *CranPackageUploadResponse) SetStatusUrl(v string) { + o.StatusUrl = &v +} + +// GetSubtype returns the Subtype field value if set, zero value otherwise. +func (o *CranPackageUploadResponse) GetSubtype() string { + if o == nil || isNil(o.Subtype) { + var ret string + return ret + } + return *o.Subtype +} + +// GetSubtypeOk returns a tuple with the Subtype field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *CranPackageUploadResponse) GetSubtypeOk() (*string, bool) { + if o == nil || isNil(o.Subtype) { + return nil, false + } + return o.Subtype, true +} + +// HasSubtype returns a boolean if a field has been set. +func (o *CranPackageUploadResponse) HasSubtype() bool { + if o != nil && !isNil(o.Subtype) { + return true + } + + return false +} + +// SetSubtype gets a reference to the given string and assigns it to the Subtype field. +func (o *CranPackageUploadResponse) SetSubtype(v string) { + o.Subtype = &v +} + +// GetSummary returns the Summary field value if set, zero value otherwise. +func (o *CranPackageUploadResponse) GetSummary() string { + if o == nil || isNil(o.Summary) { + var ret string + return ret + } + return *o.Summary +} + +// GetSummaryOk returns a tuple with the Summary field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *CranPackageUploadResponse) GetSummaryOk() (*string, bool) { + if o == nil || isNil(o.Summary) { + return nil, false + } + return o.Summary, true +} + +// HasSummary returns a boolean if a field has been set. +func (o *CranPackageUploadResponse) HasSummary() bool { + if o != nil && !isNil(o.Summary) { + return true + } + + return false +} + +// SetSummary gets a reference to the given string and assigns it to the Summary field. +func (o *CranPackageUploadResponse) SetSummary(v string) { + o.Summary = &v +} + +// GetSyncFinishedAt returns the SyncFinishedAt field value if set, zero value otherwise. +func (o *CranPackageUploadResponse) GetSyncFinishedAt() time.Time { + if o == nil || isNil(o.SyncFinishedAt) { + var ret time.Time + return ret + } + return *o.SyncFinishedAt +} + +// GetSyncFinishedAtOk returns a tuple with the SyncFinishedAt field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *CranPackageUploadResponse) GetSyncFinishedAtOk() (*time.Time, bool) { + if o == nil || isNil(o.SyncFinishedAt) { + return nil, false + } + return o.SyncFinishedAt, true +} + +// HasSyncFinishedAt returns a boolean if a field has been set. +func (o *CranPackageUploadResponse) HasSyncFinishedAt() bool { + if o != nil && !isNil(o.SyncFinishedAt) { + return true + } + + return false +} + +// SetSyncFinishedAt gets a reference to the given time.Time and assigns it to the SyncFinishedAt field. +func (o *CranPackageUploadResponse) SetSyncFinishedAt(v time.Time) { + o.SyncFinishedAt = &v +} + +// GetSyncProgress returns the SyncProgress field value if set, zero value otherwise. +func (o *CranPackageUploadResponse) GetSyncProgress() int64 { + if o == nil || isNil(o.SyncProgress) { + var ret int64 + return ret + } + return *o.SyncProgress +} + +// GetSyncProgressOk returns a tuple with the SyncProgress field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *CranPackageUploadResponse) GetSyncProgressOk() (*int64, bool) { + if o == nil || isNil(o.SyncProgress) { + return nil, false + } + return o.SyncProgress, true +} + +// HasSyncProgress returns a boolean if a field has been set. +func (o *CranPackageUploadResponse) HasSyncProgress() bool { + if o != nil && !isNil(o.SyncProgress) { + return true + } + + return false +} + +// SetSyncProgress gets a reference to the given int64 and assigns it to the SyncProgress field. +func (o *CranPackageUploadResponse) SetSyncProgress(v int64) { + o.SyncProgress = &v +} + +// GetTagsImmutable returns the TagsImmutable field value if set, zero value otherwise. +func (o *CranPackageUploadResponse) GetTagsImmutable() map[string]interface{} { + if o == nil || isNil(o.TagsImmutable) { + var ret map[string]interface{} + return ret + } + return o.TagsImmutable +} + +// GetTagsImmutableOk returns a tuple with the TagsImmutable field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *CranPackageUploadResponse) GetTagsImmutableOk() (map[string]interface{}, bool) { + if o == nil || isNil(o.TagsImmutable) { + return map[string]interface{}{}, false + } + return o.TagsImmutable, true +} + +// HasTagsImmutable returns a boolean if a field has been set. +func (o *CranPackageUploadResponse) HasTagsImmutable() bool { + if o != nil && !isNil(o.TagsImmutable) { + return true + } + + return false +} + +// SetTagsImmutable gets a reference to the given map[string]interface{} and assigns it to the TagsImmutable field. +func (o *CranPackageUploadResponse) SetTagsImmutable(v map[string]interface{}) { + o.TagsImmutable = v +} + +// GetTypeDisplay returns the TypeDisplay field value if set, zero value otherwise. +func (o *CranPackageUploadResponse) GetTypeDisplay() string { + if o == nil || isNil(o.TypeDisplay) { + var ret string + return ret + } + return *o.TypeDisplay +} + +// GetTypeDisplayOk returns a tuple with the TypeDisplay field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *CranPackageUploadResponse) GetTypeDisplayOk() (*string, bool) { + if o == nil || isNil(o.TypeDisplay) { + return nil, false + } + return o.TypeDisplay, true +} + +// HasTypeDisplay returns a boolean if a field has been set. +func (o *CranPackageUploadResponse) HasTypeDisplay() bool { + if o != nil && !isNil(o.TypeDisplay) { + return true + } + + return false +} + +// SetTypeDisplay gets a reference to the given string and assigns it to the TypeDisplay field. +func (o *CranPackageUploadResponse) SetTypeDisplay(v string) { + o.TypeDisplay = &v +} + +// GetUploadedAt returns the UploadedAt field value if set, zero value otherwise. +func (o *CranPackageUploadResponse) GetUploadedAt() time.Time { + if o == nil || isNil(o.UploadedAt) { + var ret time.Time + return ret + } + return *o.UploadedAt +} + +// GetUploadedAtOk returns a tuple with the UploadedAt field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *CranPackageUploadResponse) GetUploadedAtOk() (*time.Time, bool) { + if o == nil || isNil(o.UploadedAt) { + return nil, false + } + return o.UploadedAt, true +} + +// HasUploadedAt returns a boolean if a field has been set. +func (o *CranPackageUploadResponse) HasUploadedAt() bool { + if o != nil && !isNil(o.UploadedAt) { + return true + } + + return false +} + +// SetUploadedAt gets a reference to the given time.Time and assigns it to the UploadedAt field. +func (o *CranPackageUploadResponse) SetUploadedAt(v time.Time) { + o.UploadedAt = &v +} + +// GetUploader returns the Uploader field value if set, zero value otherwise. +func (o *CranPackageUploadResponse) GetUploader() string { + if o == nil || isNil(o.Uploader) { + var ret string + return ret + } + return *o.Uploader +} + +// GetUploaderOk returns a tuple with the Uploader field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *CranPackageUploadResponse) GetUploaderOk() (*string, bool) { + if o == nil || isNil(o.Uploader) { + return nil, false + } + return o.Uploader, true +} + +// HasUploader returns a boolean if a field has been set. +func (o *CranPackageUploadResponse) HasUploader() bool { + if o != nil && !isNil(o.Uploader) { + return true + } + + return false +} + +// SetUploader gets a reference to the given string and assigns it to the Uploader field. +func (o *CranPackageUploadResponse) SetUploader(v string) { + o.Uploader = &v +} + +// GetUploaderUrl returns the UploaderUrl field value if set, zero value otherwise. +func (o *CranPackageUploadResponse) GetUploaderUrl() string { + if o == nil || isNil(o.UploaderUrl) { + var ret string + return ret + } + return *o.UploaderUrl +} + +// GetUploaderUrlOk returns a tuple with the UploaderUrl field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *CranPackageUploadResponse) GetUploaderUrlOk() (*string, bool) { + if o == nil || isNil(o.UploaderUrl) { + return nil, false + } + return o.UploaderUrl, true +} + +// HasUploaderUrl returns a boolean if a field has been set. +func (o *CranPackageUploadResponse) HasUploaderUrl() bool { + if o != nil && !isNil(o.UploaderUrl) { + return true + } + + return false +} + +// SetUploaderUrl gets a reference to the given string and assigns it to the UploaderUrl field. +func (o *CranPackageUploadResponse) SetUploaderUrl(v string) { + o.UploaderUrl = &v +} + +// GetVersion returns the Version field value if set, zero value otherwise. +func (o *CranPackageUploadResponse) GetVersion() string { + if o == nil || isNil(o.Version) { + var ret string + return ret + } + return *o.Version +} + +// GetVersionOk returns a tuple with the Version field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *CranPackageUploadResponse) GetVersionOk() (*string, bool) { + if o == nil || isNil(o.Version) { + return nil, false + } + return o.Version, true +} + +// HasVersion returns a boolean if a field has been set. +func (o *CranPackageUploadResponse) HasVersion() bool { + if o != nil && !isNil(o.Version) { + return true + } + + return false +} + +// SetVersion gets a reference to the given string and assigns it to the Version field. +func (o *CranPackageUploadResponse) SetVersion(v string) { + o.Version = &v +} + +// GetVersionOrig returns the VersionOrig field value if set, zero value otherwise. +func (o *CranPackageUploadResponse) GetVersionOrig() string { + if o == nil || isNil(o.VersionOrig) { + var ret string + return ret + } + return *o.VersionOrig +} + +// GetVersionOrigOk returns a tuple with the VersionOrig field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *CranPackageUploadResponse) GetVersionOrigOk() (*string, bool) { + if o == nil || isNil(o.VersionOrig) { + return nil, false + } + return o.VersionOrig, true +} + +// HasVersionOrig returns a boolean if a field has been set. +func (o *CranPackageUploadResponse) HasVersionOrig() bool { + if o != nil && !isNil(o.VersionOrig) { + return true + } + + return false +} + +// SetVersionOrig gets a reference to the given string and assigns it to the VersionOrig field. +func (o *CranPackageUploadResponse) SetVersionOrig(v string) { + o.VersionOrig = &v +} + +// GetVulnerabilityScanResultsUrl returns the VulnerabilityScanResultsUrl field value if set, zero value otherwise. +func (o *CranPackageUploadResponse) GetVulnerabilityScanResultsUrl() string { + if o == nil || isNil(o.VulnerabilityScanResultsUrl) { + var ret string + return ret + } + return *o.VulnerabilityScanResultsUrl +} + +// GetVulnerabilityScanResultsUrlOk returns a tuple with the VulnerabilityScanResultsUrl field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *CranPackageUploadResponse) GetVulnerabilityScanResultsUrlOk() (*string, bool) { + if o == nil || isNil(o.VulnerabilityScanResultsUrl) { + return nil, false + } + return o.VulnerabilityScanResultsUrl, true +} + +// HasVulnerabilityScanResultsUrl returns a boolean if a field has been set. +func (o *CranPackageUploadResponse) HasVulnerabilityScanResultsUrl() bool { + if o != nil && !isNil(o.VulnerabilityScanResultsUrl) { + return true + } + + return false +} + +// SetVulnerabilityScanResultsUrl gets a reference to the given string and assigns it to the VulnerabilityScanResultsUrl field. +func (o *CranPackageUploadResponse) SetVulnerabilityScanResultsUrl(v string) { + o.VulnerabilityScanResultsUrl = &v +} + +func (o CranPackageUploadResponse) MarshalJSON() ([]byte, error) { + toSerialize := map[string]interface{}{} + if !isNil(o.Architectures) { + toSerialize["architectures"] = o.Architectures + } + if o.CdnUrl.IsSet() { + toSerialize["cdn_url"] = o.CdnUrl.Get() + } + if !isNil(o.ChecksumMd5) { + toSerialize["checksum_md5"] = o.ChecksumMd5 + } + if !isNil(o.ChecksumSha1) { + toSerialize["checksum_sha1"] = o.ChecksumSha1 + } + if !isNil(o.ChecksumSha256) { + toSerialize["checksum_sha256"] = o.ChecksumSha256 + } + if !isNil(o.ChecksumSha512) { + toSerialize["checksum_sha512"] = o.ChecksumSha512 + } + if !isNil(o.DependenciesChecksumMd5) { + toSerialize["dependencies_checksum_md5"] = o.DependenciesChecksumMd5 + } + if !isNil(o.DependenciesUrl) { + toSerialize["dependencies_url"] = o.DependenciesUrl + } + if !isNil(o.Description) { + toSerialize["description"] = o.Description + } + if o.Distro.IsSet() { + toSerialize["distro"] = o.Distro.Get() + } + if !isNil(o.DistroVersion) { + toSerialize["distro_version"] = o.DistroVersion + } + if !isNil(o.Downloads) { + toSerialize["downloads"] = o.Downloads + } + if !isNil(o.Epoch) { + toSerialize["epoch"] = o.Epoch + } + if !isNil(o.Extension) { + toSerialize["extension"] = o.Extension + } + if !isNil(o.Filename) { + toSerialize["filename"] = o.Filename + } + if !isNil(o.Files) { + toSerialize["files"] = o.Files + } + if !isNil(o.Format) { + toSerialize["format"] = o.Format + } + if !isNil(o.FormatUrl) { + toSerialize["format_url"] = o.FormatUrl + } + if !isNil(o.IdentifierPerm) { + toSerialize["identifier_perm"] = o.IdentifierPerm + } + if !isNil(o.Indexed) { + toSerialize["indexed"] = o.Indexed + } + if !isNil(o.IsDownloadable) { + toSerialize["is_downloadable"] = o.IsDownloadable + } + if !isNil(o.IsQuarantined) { + toSerialize["is_quarantined"] = o.IsQuarantined + } + if !isNil(o.IsSyncAwaiting) { + toSerialize["is_sync_awaiting"] = o.IsSyncAwaiting + } + if !isNil(o.IsSyncCompleted) { + toSerialize["is_sync_completed"] = o.IsSyncCompleted + } + if !isNil(o.IsSyncFailed) { + toSerialize["is_sync_failed"] = o.IsSyncFailed + } + if !isNil(o.IsSyncInFlight) { + toSerialize["is_sync_in_flight"] = o.IsSyncInFlight + } + if !isNil(o.IsSyncInProgress) { + toSerialize["is_sync_in_progress"] = o.IsSyncInProgress + } + if !isNil(o.License) { + toSerialize["license"] = o.License + } + if !isNil(o.Name) { + toSerialize["name"] = o.Name + } + if !isNil(o.Namespace) { + toSerialize["namespace"] = o.Namespace + } + if !isNil(o.NamespaceUrl) { + toSerialize["namespace_url"] = o.NamespaceUrl + } + if !isNil(o.NumFiles) { + toSerialize["num_files"] = o.NumFiles + } + if !isNil(o.OriginRepository) { + toSerialize["origin_repository"] = o.OriginRepository + } + if !isNil(o.OriginRepositoryUrl) { + toSerialize["origin_repository_url"] = o.OriginRepositoryUrl + } + if !isNil(o.PackageType) { + toSerialize["package_type"] = o.PackageType + } + if !isNil(o.Release) { + toSerialize["release"] = o.Release + } + if !isNil(o.Repository) { + toSerialize["repository"] = o.Repository + } + if !isNil(o.RepositoryUrl) { + toSerialize["repository_url"] = o.RepositoryUrl + } + if !isNil(o.SecurityScanCompletedAt) { + toSerialize["security_scan_completed_at"] = o.SecurityScanCompletedAt + } + if !isNil(o.SecurityScanStartedAt) { + toSerialize["security_scan_started_at"] = o.SecurityScanStartedAt + } + if o.SecurityScanStatus.IsSet() { + toSerialize["security_scan_status"] = o.SecurityScanStatus.Get() + } + if !isNil(o.SecurityScanStatusUpdatedAt) { + toSerialize["security_scan_status_updated_at"] = o.SecurityScanStatusUpdatedAt + } + if !isNil(o.SelfHtmlUrl) { + toSerialize["self_html_url"] = o.SelfHtmlUrl + } + if !isNil(o.SelfUrl) { + toSerialize["self_url"] = o.SelfUrl + } + if o.SignatureUrl.IsSet() { + toSerialize["signature_url"] = o.SignatureUrl.Get() + } + if !isNil(o.Size) { + toSerialize["size"] = o.Size + } + if !isNil(o.Slug) { + toSerialize["slug"] = o.Slug + } + if !isNil(o.SlugPerm) { + toSerialize["slug_perm"] = o.SlugPerm + } + if !isNil(o.Stage) { + toSerialize["stage"] = o.Stage + } + if !isNil(o.StageStr) { + toSerialize["stage_str"] = o.StageStr + } + if !isNil(o.StageUpdatedAt) { + toSerialize["stage_updated_at"] = o.StageUpdatedAt + } + if !isNil(o.Status) { + toSerialize["status"] = o.Status + } + if !isNil(o.StatusReason) { + toSerialize["status_reason"] = o.StatusReason + } + if !isNil(o.StatusStr) { + toSerialize["status_str"] = o.StatusStr + } + if !isNil(o.StatusUpdatedAt) { + toSerialize["status_updated_at"] = o.StatusUpdatedAt + } + if !isNil(o.StatusUrl) { + toSerialize["status_url"] = o.StatusUrl + } + if !isNil(o.Subtype) { + toSerialize["subtype"] = o.Subtype + } + if !isNil(o.Summary) { + toSerialize["summary"] = o.Summary + } + if !isNil(o.SyncFinishedAt) { + toSerialize["sync_finished_at"] = o.SyncFinishedAt + } + if !isNil(o.SyncProgress) { + toSerialize["sync_progress"] = o.SyncProgress + } + if !isNil(o.TagsImmutable) { + toSerialize["tags_immutable"] = o.TagsImmutable + } + if !isNil(o.TypeDisplay) { + toSerialize["type_display"] = o.TypeDisplay + } + if !isNil(o.UploadedAt) { + toSerialize["uploaded_at"] = o.UploadedAt + } + if !isNil(o.Uploader) { + toSerialize["uploader"] = o.Uploader + } + if !isNil(o.UploaderUrl) { + toSerialize["uploader_url"] = o.UploaderUrl + } + if !isNil(o.Version) { + toSerialize["version"] = o.Version + } + if !isNil(o.VersionOrig) { + toSerialize["version_orig"] = o.VersionOrig + } + if !isNil(o.VulnerabilityScanResultsUrl) { + toSerialize["vulnerability_scan_results_url"] = o.VulnerabilityScanResultsUrl + } + return json.Marshal(toSerialize) +} + +type NullableCranPackageUploadResponse struct { + value *CranPackageUploadResponse + isSet bool +} + +func (v NullableCranPackageUploadResponse) Get() *CranPackageUploadResponse { + return v.value +} + +func (v *NullableCranPackageUploadResponse) Set(val *CranPackageUploadResponse) { + v.value = val + v.isSet = true +} + +func (v NullableCranPackageUploadResponse) IsSet() bool { + return v.isSet +} + +func (v *NullableCranPackageUploadResponse) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableCranPackageUploadResponse(val *CranPackageUploadResponse) *NullableCranPackageUploadResponse { + return &NullableCranPackageUploadResponse{value: val, isSet: true} +} + +func (v NullableCranPackageUploadResponse) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableCranPackageUploadResponse) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} diff --git a/model_dart_package_upload.go b/model_dart_package_upload.go deleted file mode 100644 index b34eaa3c..00000000 --- a/model_dart_package_upload.go +++ /dev/null @@ -1,2520 +0,0 @@ -/* -Cloudsmith API - -The API to the Cloudsmith Service - -API version: 1.121.3 -Contact: support@cloudsmith.io -*/ - -// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. - -package cloudsmith - -import ( - "encoding/json" -) - -// DartPackageUpload struct for DartPackageUpload -type DartPackageUpload struct { - // - Architectures []PackagesOwnerRepoArchitectures `json:"architectures,omitempty"` - // - CdnUrl *string `json:"cdn_url,omitempty"` - // - ChecksumMd5 *string `json:"checksum_md5,omitempty"` - // - ChecksumSha1 *string `json:"checksum_sha1,omitempty"` - // - ChecksumSha256 *string `json:"checksum_sha256,omitempty"` - // - ChecksumSha512 *string `json:"checksum_sha512,omitempty"` - // A checksum of all of the package's dependencies. - DependenciesChecksumMd5 *string `json:"dependencies_checksum_md5,omitempty"` - // - DependenciesUrl *string `json:"dependencies_url,omitempty"` - // A textual description of this package. - Description *string `json:"description,omitempty"` - // - Distro map[string]interface{} `json:"distro,omitempty"` - // - DistroVersion map[string]interface{} `json:"distro_version,omitempty"` - // - Downloads *int64 `json:"downloads,omitempty"` - // The epoch of the package version (if any). - Epoch *int64 `json:"epoch,omitempty"` - // - Extension *string `json:"extension,omitempty"` - // - Filename *string `json:"filename,omitempty"` - // - Files []PackagesOwnerRepoFiles `json:"files,omitempty"` - // - Format *string `json:"format,omitempty"` - // - FormatUrl *string `json:"format_url,omitempty"` - // Unique and permanent identifier for the package. - IdentifierPerm *string `json:"identifier_perm,omitempty"` - // - Indexed *bool `json:"indexed,omitempty"` - // - IsDownloadable *bool `json:"is_downloadable,omitempty"` - // - IsQuarantined *bool `json:"is_quarantined,omitempty"` - // - IsSyncAwaiting *bool `json:"is_sync_awaiting,omitempty"` - // - IsSyncCompleted *bool `json:"is_sync_completed,omitempty"` - // - IsSyncFailed *bool `json:"is_sync_failed,omitempty"` - // - IsSyncInFlight *bool `json:"is_sync_in_flight,omitempty"` - // - IsSyncInProgress *bool `json:"is_sync_in_progress,omitempty"` - // The license of this package. - License *string `json:"license,omitempty"` - // The name of this package. - Name *string `json:"name,omitempty"` - // - Namespace *string `json:"namespace,omitempty"` - // - NamespaceUrl *string `json:"namespace_url,omitempty"` - // - NumFiles *int64 `json:"num_files,omitempty"` - // The type of package contents. - PackageType *int64 `json:"package_type,omitempty"` - // The release of the package version (if any). - Release *string `json:"release,omitempty"` - // - Repository *string `json:"repository,omitempty"` - // - RepositoryUrl *string `json:"repository_url,omitempty"` - // The datetime the security scanning was completed. - SecurityScanCompletedAt *string `json:"security_scan_completed_at,omitempty"` - // The datetime the security scanning was started. - SecurityScanStartedAt *string `json:"security_scan_started_at,omitempty"` - // - SecurityScanStatus *string `json:"security_scan_status,omitempty"` - // The datetime the security scanning status was updated. - SecurityScanStatusUpdatedAt *string `json:"security_scan_status_updated_at,omitempty"` - // - SelfHtmlUrl *string `json:"self_html_url,omitempty"` - // - SelfUrl *string `json:"self_url,omitempty"` - // - SignatureUrl *string `json:"signature_url,omitempty"` - // The calculated size of the package. - Size *int64 `json:"size,omitempty"` - // The public unique identifier for the package. - Slug *string `json:"slug,omitempty"` - // - SlugPerm *string `json:"slug_perm,omitempty"` - // The synchronisation (in progress) stage of the package. - Stage *int64 `json:"stage,omitempty"` - // - StageStr *string `json:"stage_str,omitempty"` - // The datetime the package stage was updated at. - StageUpdatedAt *string `json:"stage_updated_at,omitempty"` - // The synchronisation status of the package. - Status *int64 `json:"status,omitempty"` - // A textual description for the synchronous status reason (if any - StatusReason *string `json:"status_reason,omitempty"` - // - StatusStr *string `json:"status_str,omitempty"` - // The datetime the package status was updated at. - StatusUpdatedAt *string `json:"status_updated_at,omitempty"` - // - StatusUrl *string `json:"status_url,omitempty"` - // - Subtype *string `json:"subtype,omitempty"` - // A one-liner synopsis of this package. - Summary *string `json:"summary,omitempty"` - // The datetime the package sync was finished at. - SyncFinishedAt *string `json:"sync_finished_at,omitempty"` - // Synchronisation progress (from 0-100) - SyncProgress *int64 `json:"sync_progress,omitempty"` - // All immutable tags on the package, grouped by tag type. Immutable tags cannot be (easily) deleted. - TagsImmutable map[string]interface{} `json:"tags_immutable,omitempty"` - // - TypeDisplay *string `json:"type_display,omitempty"` - // The date this package was uploaded. - UploadedAt *string `json:"uploaded_at,omitempty"` - // - Uploader *string `json:"uploader,omitempty"` - // - UploaderUrl *string `json:"uploader_url,omitempty"` - // The raw version for this package. - Version *string `json:"version,omitempty"` - // - VersionOrig *string `json:"version_orig,omitempty"` - // - VulnerabilityScanResultsUrl *string `json:"vulnerability_scan_results_url,omitempty"` -} - -// NewDartPackageUpload instantiates a new DartPackageUpload object -// 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 NewDartPackageUpload() *DartPackageUpload { - this := DartPackageUpload{} - return &this -} - -// NewDartPackageUploadWithDefaults instantiates a new DartPackageUpload object -// This constructor will only assign default values to properties that have it defined, -// but it doesn't guarantee that properties required by API are set -func NewDartPackageUploadWithDefaults() *DartPackageUpload { - this := DartPackageUpload{} - return &this -} - -// GetArchitectures returns the Architectures field value if set, zero value otherwise. -func (o *DartPackageUpload) GetArchitectures() []PackagesOwnerRepoArchitectures { - if o == nil || o.Architectures == nil { - var ret []PackagesOwnerRepoArchitectures - return ret - } - return o.Architectures -} - -// GetArchitecturesOk returns a tuple with the Architectures field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *DartPackageUpload) GetArchitecturesOk() ([]PackagesOwnerRepoArchitectures, bool) { - if o == nil || o.Architectures == nil { - return nil, false - } - return o.Architectures, true -} - -// HasArchitectures returns a boolean if a field has been set. -func (o *DartPackageUpload) HasArchitectures() bool { - if o != nil && o.Architectures != nil { - return true - } - - return false -} - -// SetArchitectures gets a reference to the given []PackagesOwnerRepoArchitectures and assigns it to the Architectures field. -func (o *DartPackageUpload) SetArchitectures(v []PackagesOwnerRepoArchitectures) { - o.Architectures = v -} - -// GetCdnUrl returns the CdnUrl field value if set, zero value otherwise. -func (o *DartPackageUpload) GetCdnUrl() string { - if o == nil || o.CdnUrl == nil { - var ret string - return ret - } - return *o.CdnUrl -} - -// GetCdnUrlOk returns a tuple with the CdnUrl field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *DartPackageUpload) GetCdnUrlOk() (*string, bool) { - if o == nil || o.CdnUrl == nil { - return nil, false - } - return o.CdnUrl, true -} - -// HasCdnUrl returns a boolean if a field has been set. -func (o *DartPackageUpload) HasCdnUrl() bool { - if o != nil && o.CdnUrl != nil { - return true - } - - return false -} - -// SetCdnUrl gets a reference to the given string and assigns it to the CdnUrl field. -func (o *DartPackageUpload) SetCdnUrl(v string) { - o.CdnUrl = &v -} - -// GetChecksumMd5 returns the ChecksumMd5 field value if set, zero value otherwise. -func (o *DartPackageUpload) GetChecksumMd5() string { - if o == nil || o.ChecksumMd5 == nil { - var ret string - return ret - } - return *o.ChecksumMd5 -} - -// GetChecksumMd5Ok returns a tuple with the ChecksumMd5 field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *DartPackageUpload) GetChecksumMd5Ok() (*string, bool) { - if o == nil || o.ChecksumMd5 == nil { - return nil, false - } - return o.ChecksumMd5, true -} - -// HasChecksumMd5 returns a boolean if a field has been set. -func (o *DartPackageUpload) HasChecksumMd5() bool { - if o != nil && o.ChecksumMd5 != nil { - return true - } - - return false -} - -// SetChecksumMd5 gets a reference to the given string and assigns it to the ChecksumMd5 field. -func (o *DartPackageUpload) SetChecksumMd5(v string) { - o.ChecksumMd5 = &v -} - -// GetChecksumSha1 returns the ChecksumSha1 field value if set, zero value otherwise. -func (o *DartPackageUpload) GetChecksumSha1() string { - if o == nil || o.ChecksumSha1 == nil { - var ret string - return ret - } - return *o.ChecksumSha1 -} - -// GetChecksumSha1Ok returns a tuple with the ChecksumSha1 field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *DartPackageUpload) GetChecksumSha1Ok() (*string, bool) { - if o == nil || o.ChecksumSha1 == nil { - return nil, false - } - return o.ChecksumSha1, true -} - -// HasChecksumSha1 returns a boolean if a field has been set. -func (o *DartPackageUpload) HasChecksumSha1() bool { - if o != nil && o.ChecksumSha1 != nil { - return true - } - - return false -} - -// SetChecksumSha1 gets a reference to the given string and assigns it to the ChecksumSha1 field. -func (o *DartPackageUpload) SetChecksumSha1(v string) { - o.ChecksumSha1 = &v -} - -// GetChecksumSha256 returns the ChecksumSha256 field value if set, zero value otherwise. -func (o *DartPackageUpload) GetChecksumSha256() string { - if o == nil || o.ChecksumSha256 == nil { - var ret string - return ret - } - return *o.ChecksumSha256 -} - -// GetChecksumSha256Ok returns a tuple with the ChecksumSha256 field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *DartPackageUpload) GetChecksumSha256Ok() (*string, bool) { - if o == nil || o.ChecksumSha256 == nil { - return nil, false - } - return o.ChecksumSha256, true -} - -// HasChecksumSha256 returns a boolean if a field has been set. -func (o *DartPackageUpload) HasChecksumSha256() bool { - if o != nil && o.ChecksumSha256 != nil { - return true - } - - return false -} - -// SetChecksumSha256 gets a reference to the given string and assigns it to the ChecksumSha256 field. -func (o *DartPackageUpload) SetChecksumSha256(v string) { - o.ChecksumSha256 = &v -} - -// GetChecksumSha512 returns the ChecksumSha512 field value if set, zero value otherwise. -func (o *DartPackageUpload) GetChecksumSha512() string { - if o == nil || o.ChecksumSha512 == nil { - var ret string - return ret - } - return *o.ChecksumSha512 -} - -// GetChecksumSha512Ok returns a tuple with the ChecksumSha512 field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *DartPackageUpload) GetChecksumSha512Ok() (*string, bool) { - if o == nil || o.ChecksumSha512 == nil { - return nil, false - } - return o.ChecksumSha512, true -} - -// HasChecksumSha512 returns a boolean if a field has been set. -func (o *DartPackageUpload) HasChecksumSha512() bool { - if o != nil && o.ChecksumSha512 != nil { - return true - } - - return false -} - -// SetChecksumSha512 gets a reference to the given string and assigns it to the ChecksumSha512 field. -func (o *DartPackageUpload) SetChecksumSha512(v string) { - o.ChecksumSha512 = &v -} - -// GetDependenciesChecksumMd5 returns the DependenciesChecksumMd5 field value if set, zero value otherwise. -func (o *DartPackageUpload) GetDependenciesChecksumMd5() string { - if o == nil || o.DependenciesChecksumMd5 == nil { - var ret string - return ret - } - return *o.DependenciesChecksumMd5 -} - -// GetDependenciesChecksumMd5Ok returns a tuple with the DependenciesChecksumMd5 field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *DartPackageUpload) GetDependenciesChecksumMd5Ok() (*string, bool) { - if o == nil || o.DependenciesChecksumMd5 == nil { - return nil, false - } - return o.DependenciesChecksumMd5, true -} - -// HasDependenciesChecksumMd5 returns a boolean if a field has been set. -func (o *DartPackageUpload) HasDependenciesChecksumMd5() bool { - if o != nil && o.DependenciesChecksumMd5 != nil { - return true - } - - return false -} - -// SetDependenciesChecksumMd5 gets a reference to the given string and assigns it to the DependenciesChecksumMd5 field. -func (o *DartPackageUpload) SetDependenciesChecksumMd5(v string) { - o.DependenciesChecksumMd5 = &v -} - -// GetDependenciesUrl returns the DependenciesUrl field value if set, zero value otherwise. -func (o *DartPackageUpload) GetDependenciesUrl() string { - if o == nil || o.DependenciesUrl == nil { - var ret string - return ret - } - return *o.DependenciesUrl -} - -// GetDependenciesUrlOk returns a tuple with the DependenciesUrl field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *DartPackageUpload) GetDependenciesUrlOk() (*string, bool) { - if o == nil || o.DependenciesUrl == nil { - return nil, false - } - return o.DependenciesUrl, true -} - -// HasDependenciesUrl returns a boolean if a field has been set. -func (o *DartPackageUpload) HasDependenciesUrl() bool { - if o != nil && o.DependenciesUrl != nil { - return true - } - - return false -} - -// SetDependenciesUrl gets a reference to the given string and assigns it to the DependenciesUrl field. -func (o *DartPackageUpload) SetDependenciesUrl(v string) { - o.DependenciesUrl = &v -} - -// GetDescription returns the Description field value if set, zero value otherwise. -func (o *DartPackageUpload) GetDescription() string { - if o == nil || o.Description == nil { - var ret string - return ret - } - return *o.Description -} - -// GetDescriptionOk returns a tuple with the Description field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *DartPackageUpload) GetDescriptionOk() (*string, bool) { - if o == nil || o.Description == nil { - return nil, false - } - return o.Description, true -} - -// HasDescription returns a boolean if a field has been set. -func (o *DartPackageUpload) HasDescription() bool { - if o != nil && o.Description != nil { - return true - } - - return false -} - -// SetDescription gets a reference to the given string and assigns it to the Description field. -func (o *DartPackageUpload) SetDescription(v string) { - o.Description = &v -} - -// GetDistro returns the Distro field value if set, zero value otherwise. -func (o *DartPackageUpload) GetDistro() map[string]interface{} { - if o == nil || o.Distro == nil { - var ret map[string]interface{} - return ret - } - return o.Distro -} - -// GetDistroOk returns a tuple with the Distro field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *DartPackageUpload) GetDistroOk() (map[string]interface{}, bool) { - if o == nil || o.Distro == nil { - return nil, false - } - return o.Distro, true -} - -// HasDistro returns a boolean if a field has been set. -func (o *DartPackageUpload) HasDistro() bool { - if o != nil && o.Distro != nil { - return true - } - - return false -} - -// SetDistro gets a reference to the given map[string]interface{} and assigns it to the Distro field. -func (o *DartPackageUpload) SetDistro(v map[string]interface{}) { - o.Distro = v -} - -// GetDistroVersion returns the DistroVersion field value if set, zero value otherwise. -func (o *DartPackageUpload) GetDistroVersion() map[string]interface{} { - if o == nil || o.DistroVersion == nil { - var ret map[string]interface{} - return ret - } - return o.DistroVersion -} - -// GetDistroVersionOk returns a tuple with the DistroVersion field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *DartPackageUpload) GetDistroVersionOk() (map[string]interface{}, bool) { - if o == nil || o.DistroVersion == nil { - return nil, false - } - return o.DistroVersion, true -} - -// HasDistroVersion returns a boolean if a field has been set. -func (o *DartPackageUpload) HasDistroVersion() bool { - if o != nil && o.DistroVersion != nil { - return true - } - - return false -} - -// SetDistroVersion gets a reference to the given map[string]interface{} and assigns it to the DistroVersion field. -func (o *DartPackageUpload) SetDistroVersion(v map[string]interface{}) { - o.DistroVersion = v -} - -// GetDownloads returns the Downloads field value if set, zero value otherwise. -func (o *DartPackageUpload) GetDownloads() int64 { - if o == nil || o.Downloads == nil { - var ret int64 - return ret - } - return *o.Downloads -} - -// GetDownloadsOk returns a tuple with the Downloads field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *DartPackageUpload) GetDownloadsOk() (*int64, bool) { - if o == nil || o.Downloads == nil { - return nil, false - } - return o.Downloads, true -} - -// HasDownloads returns a boolean if a field has been set. -func (o *DartPackageUpload) HasDownloads() bool { - if o != nil && o.Downloads != nil { - return true - } - - return false -} - -// SetDownloads gets a reference to the given int64 and assigns it to the Downloads field. -func (o *DartPackageUpload) SetDownloads(v int64) { - o.Downloads = &v -} - -// GetEpoch returns the Epoch field value if set, zero value otherwise. -func (o *DartPackageUpload) GetEpoch() int64 { - if o == nil || o.Epoch == nil { - var ret int64 - return ret - } - return *o.Epoch -} - -// GetEpochOk returns a tuple with the Epoch field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *DartPackageUpload) GetEpochOk() (*int64, bool) { - if o == nil || o.Epoch == nil { - return nil, false - } - return o.Epoch, true -} - -// HasEpoch returns a boolean if a field has been set. -func (o *DartPackageUpload) HasEpoch() bool { - if o != nil && o.Epoch != nil { - return true - } - - return false -} - -// SetEpoch gets a reference to the given int64 and assigns it to the Epoch field. -func (o *DartPackageUpload) SetEpoch(v int64) { - o.Epoch = &v -} - -// GetExtension returns the Extension field value if set, zero value otherwise. -func (o *DartPackageUpload) GetExtension() string { - if o == nil || o.Extension == nil { - var ret string - return ret - } - return *o.Extension -} - -// GetExtensionOk returns a tuple with the Extension field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *DartPackageUpload) GetExtensionOk() (*string, bool) { - if o == nil || o.Extension == nil { - return nil, false - } - return o.Extension, true -} - -// HasExtension returns a boolean if a field has been set. -func (o *DartPackageUpload) HasExtension() bool { - if o != nil && o.Extension != nil { - return true - } - - return false -} - -// SetExtension gets a reference to the given string and assigns it to the Extension field. -func (o *DartPackageUpload) SetExtension(v string) { - o.Extension = &v -} - -// GetFilename returns the Filename field value if set, zero value otherwise. -func (o *DartPackageUpload) GetFilename() string { - if o == nil || o.Filename == nil { - var ret string - return ret - } - return *o.Filename -} - -// GetFilenameOk returns a tuple with the Filename field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *DartPackageUpload) GetFilenameOk() (*string, bool) { - if o == nil || o.Filename == nil { - return nil, false - } - return o.Filename, true -} - -// HasFilename returns a boolean if a field has been set. -func (o *DartPackageUpload) HasFilename() bool { - if o != nil && o.Filename != nil { - return true - } - - return false -} - -// SetFilename gets a reference to the given string and assigns it to the Filename field. -func (o *DartPackageUpload) SetFilename(v string) { - o.Filename = &v -} - -// GetFiles returns the Files field value if set, zero value otherwise. -func (o *DartPackageUpload) GetFiles() []PackagesOwnerRepoFiles { - if o == nil || o.Files == nil { - var ret []PackagesOwnerRepoFiles - return ret - } - return o.Files -} - -// GetFilesOk returns a tuple with the Files field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *DartPackageUpload) GetFilesOk() ([]PackagesOwnerRepoFiles, bool) { - if o == nil || o.Files == nil { - return nil, false - } - return o.Files, true -} - -// HasFiles returns a boolean if a field has been set. -func (o *DartPackageUpload) HasFiles() bool { - if o != nil && o.Files != nil { - return true - } - - return false -} - -// SetFiles gets a reference to the given []PackagesOwnerRepoFiles and assigns it to the Files field. -func (o *DartPackageUpload) SetFiles(v []PackagesOwnerRepoFiles) { - o.Files = v -} - -// GetFormat returns the Format field value if set, zero value otherwise. -func (o *DartPackageUpload) GetFormat() string { - if o == nil || o.Format == nil { - var ret string - return ret - } - return *o.Format -} - -// GetFormatOk returns a tuple with the Format field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *DartPackageUpload) GetFormatOk() (*string, bool) { - if o == nil || o.Format == nil { - return nil, false - } - return o.Format, true -} - -// HasFormat returns a boolean if a field has been set. -func (o *DartPackageUpload) HasFormat() bool { - if o != nil && o.Format != nil { - return true - } - - return false -} - -// SetFormat gets a reference to the given string and assigns it to the Format field. -func (o *DartPackageUpload) SetFormat(v string) { - o.Format = &v -} - -// GetFormatUrl returns the FormatUrl field value if set, zero value otherwise. -func (o *DartPackageUpload) GetFormatUrl() string { - if o == nil || o.FormatUrl == nil { - var ret string - return ret - } - return *o.FormatUrl -} - -// GetFormatUrlOk returns a tuple with the FormatUrl field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *DartPackageUpload) GetFormatUrlOk() (*string, bool) { - if o == nil || o.FormatUrl == nil { - return nil, false - } - return o.FormatUrl, true -} - -// HasFormatUrl returns a boolean if a field has been set. -func (o *DartPackageUpload) HasFormatUrl() bool { - if o != nil && o.FormatUrl != nil { - return true - } - - return false -} - -// SetFormatUrl gets a reference to the given string and assigns it to the FormatUrl field. -func (o *DartPackageUpload) SetFormatUrl(v string) { - o.FormatUrl = &v -} - -// GetIdentifierPerm returns the IdentifierPerm field value if set, zero value otherwise. -func (o *DartPackageUpload) GetIdentifierPerm() string { - if o == nil || o.IdentifierPerm == nil { - var ret string - return ret - } - return *o.IdentifierPerm -} - -// GetIdentifierPermOk returns a tuple with the IdentifierPerm field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *DartPackageUpload) GetIdentifierPermOk() (*string, bool) { - if o == nil || o.IdentifierPerm == nil { - return nil, false - } - return o.IdentifierPerm, true -} - -// HasIdentifierPerm returns a boolean if a field has been set. -func (o *DartPackageUpload) HasIdentifierPerm() bool { - if o != nil && o.IdentifierPerm != nil { - return true - } - - return false -} - -// SetIdentifierPerm gets a reference to the given string and assigns it to the IdentifierPerm field. -func (o *DartPackageUpload) SetIdentifierPerm(v string) { - o.IdentifierPerm = &v -} - -// GetIndexed returns the Indexed field value if set, zero value otherwise. -func (o *DartPackageUpload) GetIndexed() bool { - if o == nil || o.Indexed == nil { - var ret bool - return ret - } - return *o.Indexed -} - -// GetIndexedOk returns a tuple with the Indexed field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *DartPackageUpload) GetIndexedOk() (*bool, bool) { - if o == nil || o.Indexed == nil { - return nil, false - } - return o.Indexed, true -} - -// HasIndexed returns a boolean if a field has been set. -func (o *DartPackageUpload) HasIndexed() bool { - if o != nil && o.Indexed != nil { - return true - } - - return false -} - -// SetIndexed gets a reference to the given bool and assigns it to the Indexed field. -func (o *DartPackageUpload) SetIndexed(v bool) { - o.Indexed = &v -} - -// GetIsDownloadable returns the IsDownloadable field value if set, zero value otherwise. -func (o *DartPackageUpload) GetIsDownloadable() bool { - if o == nil || o.IsDownloadable == nil { - var ret bool - return ret - } - return *o.IsDownloadable -} - -// GetIsDownloadableOk returns a tuple with the IsDownloadable field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *DartPackageUpload) GetIsDownloadableOk() (*bool, bool) { - if o == nil || o.IsDownloadable == nil { - return nil, false - } - return o.IsDownloadable, true -} - -// HasIsDownloadable returns a boolean if a field has been set. -func (o *DartPackageUpload) HasIsDownloadable() bool { - if o != nil && o.IsDownloadable != nil { - return true - } - - return false -} - -// SetIsDownloadable gets a reference to the given bool and assigns it to the IsDownloadable field. -func (o *DartPackageUpload) SetIsDownloadable(v bool) { - o.IsDownloadable = &v -} - -// GetIsQuarantined returns the IsQuarantined field value if set, zero value otherwise. -func (o *DartPackageUpload) GetIsQuarantined() bool { - if o == nil || o.IsQuarantined == nil { - var ret bool - return ret - } - return *o.IsQuarantined -} - -// GetIsQuarantinedOk returns a tuple with the IsQuarantined field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *DartPackageUpload) GetIsQuarantinedOk() (*bool, bool) { - if o == nil || o.IsQuarantined == nil { - return nil, false - } - return o.IsQuarantined, true -} - -// HasIsQuarantined returns a boolean if a field has been set. -func (o *DartPackageUpload) HasIsQuarantined() bool { - if o != nil && o.IsQuarantined != nil { - return true - } - - return false -} - -// SetIsQuarantined gets a reference to the given bool and assigns it to the IsQuarantined field. -func (o *DartPackageUpload) SetIsQuarantined(v bool) { - o.IsQuarantined = &v -} - -// GetIsSyncAwaiting returns the IsSyncAwaiting field value if set, zero value otherwise. -func (o *DartPackageUpload) GetIsSyncAwaiting() bool { - if o == nil || o.IsSyncAwaiting == nil { - var ret bool - return ret - } - return *o.IsSyncAwaiting -} - -// GetIsSyncAwaitingOk returns a tuple with the IsSyncAwaiting field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *DartPackageUpload) GetIsSyncAwaitingOk() (*bool, bool) { - if o == nil || o.IsSyncAwaiting == nil { - return nil, false - } - return o.IsSyncAwaiting, true -} - -// HasIsSyncAwaiting returns a boolean if a field has been set. -func (o *DartPackageUpload) HasIsSyncAwaiting() bool { - if o != nil && o.IsSyncAwaiting != nil { - return true - } - - return false -} - -// SetIsSyncAwaiting gets a reference to the given bool and assigns it to the IsSyncAwaiting field. -func (o *DartPackageUpload) SetIsSyncAwaiting(v bool) { - o.IsSyncAwaiting = &v -} - -// GetIsSyncCompleted returns the IsSyncCompleted field value if set, zero value otherwise. -func (o *DartPackageUpload) GetIsSyncCompleted() bool { - if o == nil || o.IsSyncCompleted == nil { - var ret bool - return ret - } - return *o.IsSyncCompleted -} - -// GetIsSyncCompletedOk returns a tuple with the IsSyncCompleted field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *DartPackageUpload) GetIsSyncCompletedOk() (*bool, bool) { - if o == nil || o.IsSyncCompleted == nil { - return nil, false - } - return o.IsSyncCompleted, true -} - -// HasIsSyncCompleted returns a boolean if a field has been set. -func (o *DartPackageUpload) HasIsSyncCompleted() bool { - if o != nil && o.IsSyncCompleted != nil { - return true - } - - return false -} - -// SetIsSyncCompleted gets a reference to the given bool and assigns it to the IsSyncCompleted field. -func (o *DartPackageUpload) SetIsSyncCompleted(v bool) { - o.IsSyncCompleted = &v -} - -// GetIsSyncFailed returns the IsSyncFailed field value if set, zero value otherwise. -func (o *DartPackageUpload) GetIsSyncFailed() bool { - if o == nil || o.IsSyncFailed == nil { - var ret bool - return ret - } - return *o.IsSyncFailed -} - -// GetIsSyncFailedOk returns a tuple with the IsSyncFailed field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *DartPackageUpload) GetIsSyncFailedOk() (*bool, bool) { - if o == nil || o.IsSyncFailed == nil { - return nil, false - } - return o.IsSyncFailed, true -} - -// HasIsSyncFailed returns a boolean if a field has been set. -func (o *DartPackageUpload) HasIsSyncFailed() bool { - if o != nil && o.IsSyncFailed != nil { - return true - } - - return false -} - -// SetIsSyncFailed gets a reference to the given bool and assigns it to the IsSyncFailed field. -func (o *DartPackageUpload) SetIsSyncFailed(v bool) { - o.IsSyncFailed = &v -} - -// GetIsSyncInFlight returns the IsSyncInFlight field value if set, zero value otherwise. -func (o *DartPackageUpload) GetIsSyncInFlight() bool { - if o == nil || o.IsSyncInFlight == nil { - var ret bool - return ret - } - return *o.IsSyncInFlight -} - -// GetIsSyncInFlightOk returns a tuple with the IsSyncInFlight field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *DartPackageUpload) GetIsSyncInFlightOk() (*bool, bool) { - if o == nil || o.IsSyncInFlight == nil { - return nil, false - } - return o.IsSyncInFlight, true -} - -// HasIsSyncInFlight returns a boolean if a field has been set. -func (o *DartPackageUpload) HasIsSyncInFlight() bool { - if o != nil && o.IsSyncInFlight != nil { - return true - } - - return false -} - -// SetIsSyncInFlight gets a reference to the given bool and assigns it to the IsSyncInFlight field. -func (o *DartPackageUpload) SetIsSyncInFlight(v bool) { - o.IsSyncInFlight = &v -} - -// GetIsSyncInProgress returns the IsSyncInProgress field value if set, zero value otherwise. -func (o *DartPackageUpload) GetIsSyncInProgress() bool { - if o == nil || o.IsSyncInProgress == nil { - var ret bool - return ret - } - return *o.IsSyncInProgress -} - -// GetIsSyncInProgressOk returns a tuple with the IsSyncInProgress field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *DartPackageUpload) GetIsSyncInProgressOk() (*bool, bool) { - if o == nil || o.IsSyncInProgress == nil { - return nil, false - } - return o.IsSyncInProgress, true -} - -// HasIsSyncInProgress returns a boolean if a field has been set. -func (o *DartPackageUpload) HasIsSyncInProgress() bool { - if o != nil && o.IsSyncInProgress != nil { - return true - } - - return false -} - -// SetIsSyncInProgress gets a reference to the given bool and assigns it to the IsSyncInProgress field. -func (o *DartPackageUpload) SetIsSyncInProgress(v bool) { - o.IsSyncInProgress = &v -} - -// GetLicense returns the License field value if set, zero value otherwise. -func (o *DartPackageUpload) GetLicense() string { - if o == nil || o.License == nil { - var ret string - return ret - } - return *o.License -} - -// GetLicenseOk returns a tuple with the License field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *DartPackageUpload) GetLicenseOk() (*string, bool) { - if o == nil || o.License == nil { - return nil, false - } - return o.License, true -} - -// HasLicense returns a boolean if a field has been set. -func (o *DartPackageUpload) HasLicense() bool { - if o != nil && o.License != nil { - return true - } - - return false -} - -// SetLicense gets a reference to the given string and assigns it to the License field. -func (o *DartPackageUpload) SetLicense(v string) { - o.License = &v -} - -// GetName returns the Name field value if set, zero value otherwise. -func (o *DartPackageUpload) GetName() string { - if o == nil || o.Name == nil { - var ret string - return ret - } - return *o.Name -} - -// GetNameOk returns a tuple with the Name field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *DartPackageUpload) GetNameOk() (*string, bool) { - if o == nil || o.Name == nil { - return nil, false - } - return o.Name, true -} - -// HasName returns a boolean if a field has been set. -func (o *DartPackageUpload) HasName() bool { - if o != nil && o.Name != nil { - return true - } - - return false -} - -// SetName gets a reference to the given string and assigns it to the Name field. -func (o *DartPackageUpload) SetName(v string) { - o.Name = &v -} - -// GetNamespace returns the Namespace field value if set, zero value otherwise. -func (o *DartPackageUpload) GetNamespace() string { - if o == nil || o.Namespace == nil { - var ret string - return ret - } - return *o.Namespace -} - -// GetNamespaceOk returns a tuple with the Namespace field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *DartPackageUpload) GetNamespaceOk() (*string, bool) { - if o == nil || o.Namespace == nil { - return nil, false - } - return o.Namespace, true -} - -// HasNamespace returns a boolean if a field has been set. -func (o *DartPackageUpload) HasNamespace() bool { - if o != nil && o.Namespace != nil { - return true - } - - return false -} - -// SetNamespace gets a reference to the given string and assigns it to the Namespace field. -func (o *DartPackageUpload) SetNamespace(v string) { - o.Namespace = &v -} - -// GetNamespaceUrl returns the NamespaceUrl field value if set, zero value otherwise. -func (o *DartPackageUpload) GetNamespaceUrl() string { - if o == nil || o.NamespaceUrl == nil { - var ret string - return ret - } - return *o.NamespaceUrl -} - -// GetNamespaceUrlOk returns a tuple with the NamespaceUrl field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *DartPackageUpload) GetNamespaceUrlOk() (*string, bool) { - if o == nil || o.NamespaceUrl == nil { - return nil, false - } - return o.NamespaceUrl, true -} - -// HasNamespaceUrl returns a boolean if a field has been set. -func (o *DartPackageUpload) HasNamespaceUrl() bool { - if o != nil && o.NamespaceUrl != nil { - return true - } - - return false -} - -// SetNamespaceUrl gets a reference to the given string and assigns it to the NamespaceUrl field. -func (o *DartPackageUpload) SetNamespaceUrl(v string) { - o.NamespaceUrl = &v -} - -// GetNumFiles returns the NumFiles field value if set, zero value otherwise. -func (o *DartPackageUpload) GetNumFiles() int64 { - if o == nil || o.NumFiles == nil { - var ret int64 - return ret - } - return *o.NumFiles -} - -// GetNumFilesOk returns a tuple with the NumFiles field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *DartPackageUpload) GetNumFilesOk() (*int64, bool) { - if o == nil || o.NumFiles == nil { - return nil, false - } - return o.NumFiles, true -} - -// HasNumFiles returns a boolean if a field has been set. -func (o *DartPackageUpload) HasNumFiles() bool { - if o != nil && o.NumFiles != nil { - return true - } - - return false -} - -// SetNumFiles gets a reference to the given int64 and assigns it to the NumFiles field. -func (o *DartPackageUpload) SetNumFiles(v int64) { - o.NumFiles = &v -} - -// GetPackageType returns the PackageType field value if set, zero value otherwise. -func (o *DartPackageUpload) GetPackageType() int64 { - if o == nil || o.PackageType == nil { - var ret int64 - return ret - } - return *o.PackageType -} - -// GetPackageTypeOk returns a tuple with the PackageType field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *DartPackageUpload) GetPackageTypeOk() (*int64, bool) { - if o == nil || o.PackageType == nil { - return nil, false - } - return o.PackageType, true -} - -// HasPackageType returns a boolean if a field has been set. -func (o *DartPackageUpload) HasPackageType() bool { - if o != nil && o.PackageType != nil { - return true - } - - return false -} - -// SetPackageType gets a reference to the given int64 and assigns it to the PackageType field. -func (o *DartPackageUpload) SetPackageType(v int64) { - o.PackageType = &v -} - -// GetRelease returns the Release field value if set, zero value otherwise. -func (o *DartPackageUpload) GetRelease() string { - if o == nil || o.Release == nil { - var ret string - return ret - } - return *o.Release -} - -// GetReleaseOk returns a tuple with the Release field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *DartPackageUpload) GetReleaseOk() (*string, bool) { - if o == nil || o.Release == nil { - return nil, false - } - return o.Release, true -} - -// HasRelease returns a boolean if a field has been set. -func (o *DartPackageUpload) HasRelease() bool { - if o != nil && o.Release != nil { - return true - } - - return false -} - -// SetRelease gets a reference to the given string and assigns it to the Release field. -func (o *DartPackageUpload) SetRelease(v string) { - o.Release = &v -} - -// GetRepository returns the Repository field value if set, zero value otherwise. -func (o *DartPackageUpload) GetRepository() string { - if o == nil || o.Repository == nil { - var ret string - return ret - } - return *o.Repository -} - -// GetRepositoryOk returns a tuple with the Repository field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *DartPackageUpload) GetRepositoryOk() (*string, bool) { - if o == nil || o.Repository == nil { - return nil, false - } - return o.Repository, true -} - -// HasRepository returns a boolean if a field has been set. -func (o *DartPackageUpload) HasRepository() bool { - if o != nil && o.Repository != nil { - return true - } - - return false -} - -// SetRepository gets a reference to the given string and assigns it to the Repository field. -func (o *DartPackageUpload) SetRepository(v string) { - o.Repository = &v -} - -// GetRepositoryUrl returns the RepositoryUrl field value if set, zero value otherwise. -func (o *DartPackageUpload) GetRepositoryUrl() string { - if o == nil || o.RepositoryUrl == nil { - var ret string - return ret - } - return *o.RepositoryUrl -} - -// GetRepositoryUrlOk returns a tuple with the RepositoryUrl field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *DartPackageUpload) GetRepositoryUrlOk() (*string, bool) { - if o == nil || o.RepositoryUrl == nil { - return nil, false - } - return o.RepositoryUrl, true -} - -// HasRepositoryUrl returns a boolean if a field has been set. -func (o *DartPackageUpload) HasRepositoryUrl() bool { - if o != nil && o.RepositoryUrl != nil { - return true - } - - return false -} - -// SetRepositoryUrl gets a reference to the given string and assigns it to the RepositoryUrl field. -func (o *DartPackageUpload) SetRepositoryUrl(v string) { - o.RepositoryUrl = &v -} - -// GetSecurityScanCompletedAt returns the SecurityScanCompletedAt field value if set, zero value otherwise. -func (o *DartPackageUpload) GetSecurityScanCompletedAt() string { - if o == nil || o.SecurityScanCompletedAt == nil { - var ret string - return ret - } - return *o.SecurityScanCompletedAt -} - -// GetSecurityScanCompletedAtOk returns a tuple with the SecurityScanCompletedAt field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *DartPackageUpload) GetSecurityScanCompletedAtOk() (*string, bool) { - if o == nil || o.SecurityScanCompletedAt == nil { - return nil, false - } - return o.SecurityScanCompletedAt, true -} - -// HasSecurityScanCompletedAt returns a boolean if a field has been set. -func (o *DartPackageUpload) HasSecurityScanCompletedAt() bool { - if o != nil && o.SecurityScanCompletedAt != nil { - return true - } - - return false -} - -// SetSecurityScanCompletedAt gets a reference to the given string and assigns it to the SecurityScanCompletedAt field. -func (o *DartPackageUpload) SetSecurityScanCompletedAt(v string) { - o.SecurityScanCompletedAt = &v -} - -// GetSecurityScanStartedAt returns the SecurityScanStartedAt field value if set, zero value otherwise. -func (o *DartPackageUpload) GetSecurityScanStartedAt() string { - if o == nil || o.SecurityScanStartedAt == nil { - var ret string - return ret - } - return *o.SecurityScanStartedAt -} - -// GetSecurityScanStartedAtOk returns a tuple with the SecurityScanStartedAt field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *DartPackageUpload) GetSecurityScanStartedAtOk() (*string, bool) { - if o == nil || o.SecurityScanStartedAt == nil { - return nil, false - } - return o.SecurityScanStartedAt, true -} - -// HasSecurityScanStartedAt returns a boolean if a field has been set. -func (o *DartPackageUpload) HasSecurityScanStartedAt() bool { - if o != nil && o.SecurityScanStartedAt != nil { - return true - } - - return false -} - -// SetSecurityScanStartedAt gets a reference to the given string and assigns it to the SecurityScanStartedAt field. -func (o *DartPackageUpload) SetSecurityScanStartedAt(v string) { - o.SecurityScanStartedAt = &v -} - -// GetSecurityScanStatus returns the SecurityScanStatus field value if set, zero value otherwise. -func (o *DartPackageUpload) GetSecurityScanStatus() string { - if o == nil || o.SecurityScanStatus == nil { - var ret string - return ret - } - return *o.SecurityScanStatus -} - -// GetSecurityScanStatusOk returns a tuple with the SecurityScanStatus field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *DartPackageUpload) GetSecurityScanStatusOk() (*string, bool) { - if o == nil || o.SecurityScanStatus == nil { - return nil, false - } - return o.SecurityScanStatus, true -} - -// HasSecurityScanStatus returns a boolean if a field has been set. -func (o *DartPackageUpload) HasSecurityScanStatus() bool { - if o != nil && o.SecurityScanStatus != nil { - return true - } - - return false -} - -// SetSecurityScanStatus gets a reference to the given string and assigns it to the SecurityScanStatus field. -func (o *DartPackageUpload) SetSecurityScanStatus(v string) { - o.SecurityScanStatus = &v -} - -// GetSecurityScanStatusUpdatedAt returns the SecurityScanStatusUpdatedAt field value if set, zero value otherwise. -func (o *DartPackageUpload) GetSecurityScanStatusUpdatedAt() string { - if o == nil || o.SecurityScanStatusUpdatedAt == nil { - var ret string - return ret - } - return *o.SecurityScanStatusUpdatedAt -} - -// GetSecurityScanStatusUpdatedAtOk returns a tuple with the SecurityScanStatusUpdatedAt field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *DartPackageUpload) GetSecurityScanStatusUpdatedAtOk() (*string, bool) { - if o == nil || o.SecurityScanStatusUpdatedAt == nil { - return nil, false - } - return o.SecurityScanStatusUpdatedAt, true -} - -// HasSecurityScanStatusUpdatedAt returns a boolean if a field has been set. -func (o *DartPackageUpload) HasSecurityScanStatusUpdatedAt() bool { - if o != nil && o.SecurityScanStatusUpdatedAt != nil { - return true - } - - return false -} - -// SetSecurityScanStatusUpdatedAt gets a reference to the given string and assigns it to the SecurityScanStatusUpdatedAt field. -func (o *DartPackageUpload) SetSecurityScanStatusUpdatedAt(v string) { - o.SecurityScanStatusUpdatedAt = &v -} - -// GetSelfHtmlUrl returns the SelfHtmlUrl field value if set, zero value otherwise. -func (o *DartPackageUpload) GetSelfHtmlUrl() string { - if o == nil || o.SelfHtmlUrl == nil { - var ret string - return ret - } - return *o.SelfHtmlUrl -} - -// GetSelfHtmlUrlOk returns a tuple with the SelfHtmlUrl field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *DartPackageUpload) GetSelfHtmlUrlOk() (*string, bool) { - if o == nil || o.SelfHtmlUrl == nil { - return nil, false - } - return o.SelfHtmlUrl, true -} - -// HasSelfHtmlUrl returns a boolean if a field has been set. -func (o *DartPackageUpload) HasSelfHtmlUrl() bool { - if o != nil && o.SelfHtmlUrl != nil { - return true - } - - return false -} - -// SetSelfHtmlUrl gets a reference to the given string and assigns it to the SelfHtmlUrl field. -func (o *DartPackageUpload) SetSelfHtmlUrl(v string) { - o.SelfHtmlUrl = &v -} - -// GetSelfUrl returns the SelfUrl field value if set, zero value otherwise. -func (o *DartPackageUpload) GetSelfUrl() string { - if o == nil || o.SelfUrl == nil { - var ret string - return ret - } - return *o.SelfUrl -} - -// GetSelfUrlOk returns a tuple with the SelfUrl field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *DartPackageUpload) GetSelfUrlOk() (*string, bool) { - if o == nil || o.SelfUrl == nil { - return nil, false - } - return o.SelfUrl, true -} - -// HasSelfUrl returns a boolean if a field has been set. -func (o *DartPackageUpload) HasSelfUrl() bool { - if o != nil && o.SelfUrl != nil { - return true - } - - return false -} - -// SetSelfUrl gets a reference to the given string and assigns it to the SelfUrl field. -func (o *DartPackageUpload) SetSelfUrl(v string) { - o.SelfUrl = &v -} - -// GetSignatureUrl returns the SignatureUrl field value if set, zero value otherwise. -func (o *DartPackageUpload) GetSignatureUrl() string { - if o == nil || o.SignatureUrl == nil { - var ret string - return ret - } - return *o.SignatureUrl -} - -// GetSignatureUrlOk returns a tuple with the SignatureUrl field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *DartPackageUpload) GetSignatureUrlOk() (*string, bool) { - if o == nil || o.SignatureUrl == nil { - return nil, false - } - return o.SignatureUrl, true -} - -// HasSignatureUrl returns a boolean if a field has been set. -func (o *DartPackageUpload) HasSignatureUrl() bool { - if o != nil && o.SignatureUrl != nil { - return true - } - - return false -} - -// SetSignatureUrl gets a reference to the given string and assigns it to the SignatureUrl field. -func (o *DartPackageUpload) SetSignatureUrl(v string) { - o.SignatureUrl = &v -} - -// GetSize returns the Size field value if set, zero value otherwise. -func (o *DartPackageUpload) GetSize() int64 { - if o == nil || o.Size == nil { - var ret int64 - return ret - } - return *o.Size -} - -// GetSizeOk returns a tuple with the Size field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *DartPackageUpload) GetSizeOk() (*int64, bool) { - if o == nil || o.Size == nil { - return nil, false - } - return o.Size, true -} - -// HasSize returns a boolean if a field has been set. -func (o *DartPackageUpload) HasSize() bool { - if o != nil && o.Size != nil { - return true - } - - return false -} - -// SetSize gets a reference to the given int64 and assigns it to the Size field. -func (o *DartPackageUpload) SetSize(v int64) { - o.Size = &v -} - -// GetSlug returns the Slug field value if set, zero value otherwise. -func (o *DartPackageUpload) GetSlug() string { - if o == nil || o.Slug == nil { - var ret string - return ret - } - return *o.Slug -} - -// GetSlugOk returns a tuple with the Slug field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *DartPackageUpload) GetSlugOk() (*string, bool) { - if o == nil || o.Slug == nil { - return nil, false - } - return o.Slug, true -} - -// HasSlug returns a boolean if a field has been set. -func (o *DartPackageUpload) HasSlug() bool { - if o != nil && o.Slug != nil { - return true - } - - return false -} - -// SetSlug gets a reference to the given string and assigns it to the Slug field. -func (o *DartPackageUpload) SetSlug(v string) { - o.Slug = &v -} - -// GetSlugPerm returns the SlugPerm field value if set, zero value otherwise. -func (o *DartPackageUpload) GetSlugPerm() string { - if o == nil || o.SlugPerm == nil { - var ret string - return ret - } - return *o.SlugPerm -} - -// GetSlugPermOk returns a tuple with the SlugPerm field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *DartPackageUpload) GetSlugPermOk() (*string, bool) { - if o == nil || o.SlugPerm == nil { - return nil, false - } - return o.SlugPerm, true -} - -// HasSlugPerm returns a boolean if a field has been set. -func (o *DartPackageUpload) HasSlugPerm() bool { - if o != nil && o.SlugPerm != nil { - return true - } - - return false -} - -// SetSlugPerm gets a reference to the given string and assigns it to the SlugPerm field. -func (o *DartPackageUpload) SetSlugPerm(v string) { - o.SlugPerm = &v -} - -// GetStage returns the Stage field value if set, zero value otherwise. -func (o *DartPackageUpload) GetStage() int64 { - if o == nil || o.Stage == nil { - var ret int64 - return ret - } - return *o.Stage -} - -// GetStageOk returns a tuple with the Stage field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *DartPackageUpload) GetStageOk() (*int64, bool) { - if o == nil || o.Stage == nil { - return nil, false - } - return o.Stage, true -} - -// HasStage returns a boolean if a field has been set. -func (o *DartPackageUpload) HasStage() bool { - if o != nil && o.Stage != nil { - return true - } - - return false -} - -// SetStage gets a reference to the given int64 and assigns it to the Stage field. -func (o *DartPackageUpload) SetStage(v int64) { - o.Stage = &v -} - -// GetStageStr returns the StageStr field value if set, zero value otherwise. -func (o *DartPackageUpload) GetStageStr() string { - if o == nil || o.StageStr == nil { - var ret string - return ret - } - return *o.StageStr -} - -// GetStageStrOk returns a tuple with the StageStr field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *DartPackageUpload) GetStageStrOk() (*string, bool) { - if o == nil || o.StageStr == nil { - return nil, false - } - return o.StageStr, true -} - -// HasStageStr returns a boolean if a field has been set. -func (o *DartPackageUpload) HasStageStr() bool { - if o != nil && o.StageStr != nil { - return true - } - - return false -} - -// SetStageStr gets a reference to the given string and assigns it to the StageStr field. -func (o *DartPackageUpload) SetStageStr(v string) { - o.StageStr = &v -} - -// GetStageUpdatedAt returns the StageUpdatedAt field value if set, zero value otherwise. -func (o *DartPackageUpload) GetStageUpdatedAt() string { - if o == nil || o.StageUpdatedAt == nil { - var ret string - return ret - } - return *o.StageUpdatedAt -} - -// GetStageUpdatedAtOk returns a tuple with the StageUpdatedAt field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *DartPackageUpload) GetStageUpdatedAtOk() (*string, bool) { - if o == nil || o.StageUpdatedAt == nil { - return nil, false - } - return o.StageUpdatedAt, true -} - -// HasStageUpdatedAt returns a boolean if a field has been set. -func (o *DartPackageUpload) HasStageUpdatedAt() bool { - if o != nil && o.StageUpdatedAt != nil { - return true - } - - return false -} - -// SetStageUpdatedAt gets a reference to the given string and assigns it to the StageUpdatedAt field. -func (o *DartPackageUpload) SetStageUpdatedAt(v string) { - o.StageUpdatedAt = &v -} - -// GetStatus returns the Status field value if set, zero value otherwise. -func (o *DartPackageUpload) GetStatus() int64 { - if o == nil || o.Status == nil { - var ret int64 - return ret - } - return *o.Status -} - -// GetStatusOk returns a tuple with the Status field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *DartPackageUpload) GetStatusOk() (*int64, bool) { - if o == nil || o.Status == nil { - return nil, false - } - return o.Status, true -} - -// HasStatus returns a boolean if a field has been set. -func (o *DartPackageUpload) HasStatus() bool { - if o != nil && o.Status != nil { - return true - } - - return false -} - -// SetStatus gets a reference to the given int64 and assigns it to the Status field. -func (o *DartPackageUpload) SetStatus(v int64) { - o.Status = &v -} - -// GetStatusReason returns the StatusReason field value if set, zero value otherwise. -func (o *DartPackageUpload) GetStatusReason() string { - if o == nil || o.StatusReason == nil { - var ret string - return ret - } - return *o.StatusReason -} - -// GetStatusReasonOk returns a tuple with the StatusReason field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *DartPackageUpload) GetStatusReasonOk() (*string, bool) { - if o == nil || o.StatusReason == nil { - return nil, false - } - return o.StatusReason, true -} - -// HasStatusReason returns a boolean if a field has been set. -func (o *DartPackageUpload) HasStatusReason() bool { - if o != nil && o.StatusReason != nil { - return true - } - - return false -} - -// SetStatusReason gets a reference to the given string and assigns it to the StatusReason field. -func (o *DartPackageUpload) SetStatusReason(v string) { - o.StatusReason = &v -} - -// GetStatusStr returns the StatusStr field value if set, zero value otherwise. -func (o *DartPackageUpload) GetStatusStr() string { - if o == nil || o.StatusStr == nil { - var ret string - return ret - } - return *o.StatusStr -} - -// GetStatusStrOk returns a tuple with the StatusStr field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *DartPackageUpload) GetStatusStrOk() (*string, bool) { - if o == nil || o.StatusStr == nil { - return nil, false - } - return o.StatusStr, true -} - -// HasStatusStr returns a boolean if a field has been set. -func (o *DartPackageUpload) HasStatusStr() bool { - if o != nil && o.StatusStr != nil { - return true - } - - return false -} - -// SetStatusStr gets a reference to the given string and assigns it to the StatusStr field. -func (o *DartPackageUpload) SetStatusStr(v string) { - o.StatusStr = &v -} - -// GetStatusUpdatedAt returns the StatusUpdatedAt field value if set, zero value otherwise. -func (o *DartPackageUpload) GetStatusUpdatedAt() string { - if o == nil || o.StatusUpdatedAt == nil { - var ret string - return ret - } - return *o.StatusUpdatedAt -} - -// GetStatusUpdatedAtOk returns a tuple with the StatusUpdatedAt field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *DartPackageUpload) GetStatusUpdatedAtOk() (*string, bool) { - if o == nil || o.StatusUpdatedAt == nil { - return nil, false - } - return o.StatusUpdatedAt, true -} - -// HasStatusUpdatedAt returns a boolean if a field has been set. -func (o *DartPackageUpload) HasStatusUpdatedAt() bool { - if o != nil && o.StatusUpdatedAt != nil { - return true - } - - return false -} - -// SetStatusUpdatedAt gets a reference to the given string and assigns it to the StatusUpdatedAt field. -func (o *DartPackageUpload) SetStatusUpdatedAt(v string) { - o.StatusUpdatedAt = &v -} - -// GetStatusUrl returns the StatusUrl field value if set, zero value otherwise. -func (o *DartPackageUpload) GetStatusUrl() string { - if o == nil || o.StatusUrl == nil { - var ret string - return ret - } - return *o.StatusUrl -} - -// GetStatusUrlOk returns a tuple with the StatusUrl field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *DartPackageUpload) GetStatusUrlOk() (*string, bool) { - if o == nil || o.StatusUrl == nil { - return nil, false - } - return o.StatusUrl, true -} - -// HasStatusUrl returns a boolean if a field has been set. -func (o *DartPackageUpload) HasStatusUrl() bool { - if o != nil && o.StatusUrl != nil { - return true - } - - return false -} - -// SetStatusUrl gets a reference to the given string and assigns it to the StatusUrl field. -func (o *DartPackageUpload) SetStatusUrl(v string) { - o.StatusUrl = &v -} - -// GetSubtype returns the Subtype field value if set, zero value otherwise. -func (o *DartPackageUpload) GetSubtype() string { - if o == nil || o.Subtype == nil { - var ret string - return ret - } - return *o.Subtype -} - -// GetSubtypeOk returns a tuple with the Subtype field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *DartPackageUpload) GetSubtypeOk() (*string, bool) { - if o == nil || o.Subtype == nil { - return nil, false - } - return o.Subtype, true -} - -// HasSubtype returns a boolean if a field has been set. -func (o *DartPackageUpload) HasSubtype() bool { - if o != nil && o.Subtype != nil { - return true - } - - return false -} - -// SetSubtype gets a reference to the given string and assigns it to the Subtype field. -func (o *DartPackageUpload) SetSubtype(v string) { - o.Subtype = &v -} - -// GetSummary returns the Summary field value if set, zero value otherwise. -func (o *DartPackageUpload) GetSummary() string { - if o == nil || o.Summary == nil { - var ret string - return ret - } - return *o.Summary -} - -// GetSummaryOk returns a tuple with the Summary field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *DartPackageUpload) GetSummaryOk() (*string, bool) { - if o == nil || o.Summary == nil { - return nil, false - } - return o.Summary, true -} - -// HasSummary returns a boolean if a field has been set. -func (o *DartPackageUpload) HasSummary() bool { - if o != nil && o.Summary != nil { - return true - } - - return false -} - -// SetSummary gets a reference to the given string and assigns it to the Summary field. -func (o *DartPackageUpload) SetSummary(v string) { - o.Summary = &v -} - -// GetSyncFinishedAt returns the SyncFinishedAt field value if set, zero value otherwise. -func (o *DartPackageUpload) GetSyncFinishedAt() string { - if o == nil || o.SyncFinishedAt == nil { - var ret string - return ret - } - return *o.SyncFinishedAt -} - -// GetSyncFinishedAtOk returns a tuple with the SyncFinishedAt field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *DartPackageUpload) GetSyncFinishedAtOk() (*string, bool) { - if o == nil || o.SyncFinishedAt == nil { - return nil, false - } - return o.SyncFinishedAt, true -} - -// HasSyncFinishedAt returns a boolean if a field has been set. -func (o *DartPackageUpload) HasSyncFinishedAt() bool { - if o != nil && o.SyncFinishedAt != nil { - return true - } - - return false -} - -// SetSyncFinishedAt gets a reference to the given string and assigns it to the SyncFinishedAt field. -func (o *DartPackageUpload) SetSyncFinishedAt(v string) { - o.SyncFinishedAt = &v -} - -// GetSyncProgress returns the SyncProgress field value if set, zero value otherwise. -func (o *DartPackageUpload) GetSyncProgress() int64 { - if o == nil || o.SyncProgress == nil { - var ret int64 - return ret - } - return *o.SyncProgress -} - -// GetSyncProgressOk returns a tuple with the SyncProgress field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *DartPackageUpload) GetSyncProgressOk() (*int64, bool) { - if o == nil || o.SyncProgress == nil { - return nil, false - } - return o.SyncProgress, true -} - -// HasSyncProgress returns a boolean if a field has been set. -func (o *DartPackageUpload) HasSyncProgress() bool { - if o != nil && o.SyncProgress != nil { - return true - } - - return false -} - -// SetSyncProgress gets a reference to the given int64 and assigns it to the SyncProgress field. -func (o *DartPackageUpload) SetSyncProgress(v int64) { - o.SyncProgress = &v -} - -// GetTagsImmutable returns the TagsImmutable field value if set, zero value otherwise. -func (o *DartPackageUpload) GetTagsImmutable() map[string]interface{} { - if o == nil || o.TagsImmutable == nil { - var ret map[string]interface{} - return ret - } - return o.TagsImmutable -} - -// GetTagsImmutableOk returns a tuple with the TagsImmutable field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *DartPackageUpload) GetTagsImmutableOk() (map[string]interface{}, bool) { - if o == nil || o.TagsImmutable == nil { - return nil, false - } - return o.TagsImmutable, true -} - -// HasTagsImmutable returns a boolean if a field has been set. -func (o *DartPackageUpload) HasTagsImmutable() bool { - if o != nil && o.TagsImmutable != nil { - return true - } - - return false -} - -// SetTagsImmutable gets a reference to the given map[string]interface{} and assigns it to the TagsImmutable field. -func (o *DartPackageUpload) SetTagsImmutable(v map[string]interface{}) { - o.TagsImmutable = v -} - -// GetTypeDisplay returns the TypeDisplay field value if set, zero value otherwise. -func (o *DartPackageUpload) GetTypeDisplay() string { - if o == nil || o.TypeDisplay == nil { - var ret string - return ret - } - return *o.TypeDisplay -} - -// GetTypeDisplayOk returns a tuple with the TypeDisplay field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *DartPackageUpload) GetTypeDisplayOk() (*string, bool) { - if o == nil || o.TypeDisplay == nil { - return nil, false - } - return o.TypeDisplay, true -} - -// HasTypeDisplay returns a boolean if a field has been set. -func (o *DartPackageUpload) HasTypeDisplay() bool { - if o != nil && o.TypeDisplay != nil { - return true - } - - return false -} - -// SetTypeDisplay gets a reference to the given string and assigns it to the TypeDisplay field. -func (o *DartPackageUpload) SetTypeDisplay(v string) { - o.TypeDisplay = &v -} - -// GetUploadedAt returns the UploadedAt field value if set, zero value otherwise. -func (o *DartPackageUpload) GetUploadedAt() string { - if o == nil || o.UploadedAt == nil { - var ret string - return ret - } - return *o.UploadedAt -} - -// GetUploadedAtOk returns a tuple with the UploadedAt field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *DartPackageUpload) GetUploadedAtOk() (*string, bool) { - if o == nil || o.UploadedAt == nil { - return nil, false - } - return o.UploadedAt, true -} - -// HasUploadedAt returns a boolean if a field has been set. -func (o *DartPackageUpload) HasUploadedAt() bool { - if o != nil && o.UploadedAt != nil { - return true - } - - return false -} - -// SetUploadedAt gets a reference to the given string and assigns it to the UploadedAt field. -func (o *DartPackageUpload) SetUploadedAt(v string) { - o.UploadedAt = &v -} - -// GetUploader returns the Uploader field value if set, zero value otherwise. -func (o *DartPackageUpload) GetUploader() string { - if o == nil || o.Uploader == nil { - var ret string - return ret - } - return *o.Uploader -} - -// GetUploaderOk returns a tuple with the Uploader field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *DartPackageUpload) GetUploaderOk() (*string, bool) { - if o == nil || o.Uploader == nil { - return nil, false - } - return o.Uploader, true -} - -// HasUploader returns a boolean if a field has been set. -func (o *DartPackageUpload) HasUploader() bool { - if o != nil && o.Uploader != nil { - return true - } - - return false -} - -// SetUploader gets a reference to the given string and assigns it to the Uploader field. -func (o *DartPackageUpload) SetUploader(v string) { - o.Uploader = &v -} - -// GetUploaderUrl returns the UploaderUrl field value if set, zero value otherwise. -func (o *DartPackageUpload) GetUploaderUrl() string { - if o == nil || o.UploaderUrl == nil { - var ret string - return ret - } - return *o.UploaderUrl -} - -// GetUploaderUrlOk returns a tuple with the UploaderUrl field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *DartPackageUpload) GetUploaderUrlOk() (*string, bool) { - if o == nil || o.UploaderUrl == nil { - return nil, false - } - return o.UploaderUrl, true -} - -// HasUploaderUrl returns a boolean if a field has been set. -func (o *DartPackageUpload) HasUploaderUrl() bool { - if o != nil && o.UploaderUrl != nil { - return true - } - - return false -} - -// SetUploaderUrl gets a reference to the given string and assigns it to the UploaderUrl field. -func (o *DartPackageUpload) SetUploaderUrl(v string) { - o.UploaderUrl = &v -} - -// GetVersion returns the Version field value if set, zero value otherwise. -func (o *DartPackageUpload) GetVersion() string { - if o == nil || o.Version == nil { - var ret string - return ret - } - return *o.Version -} - -// GetVersionOk returns a tuple with the Version field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *DartPackageUpload) GetVersionOk() (*string, bool) { - if o == nil || o.Version == nil { - return nil, false - } - return o.Version, true -} - -// HasVersion returns a boolean if a field has been set. -func (o *DartPackageUpload) HasVersion() bool { - if o != nil && o.Version != nil { - return true - } - - return false -} - -// SetVersion gets a reference to the given string and assigns it to the Version field. -func (o *DartPackageUpload) SetVersion(v string) { - o.Version = &v -} - -// GetVersionOrig returns the VersionOrig field value if set, zero value otherwise. -func (o *DartPackageUpload) GetVersionOrig() string { - if o == nil || o.VersionOrig == nil { - var ret string - return ret - } - return *o.VersionOrig -} - -// GetVersionOrigOk returns a tuple with the VersionOrig field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *DartPackageUpload) GetVersionOrigOk() (*string, bool) { - if o == nil || o.VersionOrig == nil { - return nil, false - } - return o.VersionOrig, true -} - -// HasVersionOrig returns a boolean if a field has been set. -func (o *DartPackageUpload) HasVersionOrig() bool { - if o != nil && o.VersionOrig != nil { - return true - } - - return false -} - -// SetVersionOrig gets a reference to the given string and assigns it to the VersionOrig field. -func (o *DartPackageUpload) SetVersionOrig(v string) { - o.VersionOrig = &v -} - -// GetVulnerabilityScanResultsUrl returns the VulnerabilityScanResultsUrl field value if set, zero value otherwise. -func (o *DartPackageUpload) GetVulnerabilityScanResultsUrl() string { - if o == nil || o.VulnerabilityScanResultsUrl == nil { - var ret string - return ret - } - return *o.VulnerabilityScanResultsUrl -} - -// GetVulnerabilityScanResultsUrlOk returns a tuple with the VulnerabilityScanResultsUrl field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *DartPackageUpload) GetVulnerabilityScanResultsUrlOk() (*string, bool) { - if o == nil || o.VulnerabilityScanResultsUrl == nil { - return nil, false - } - return o.VulnerabilityScanResultsUrl, true -} - -// HasVulnerabilityScanResultsUrl returns a boolean if a field has been set. -func (o *DartPackageUpload) HasVulnerabilityScanResultsUrl() bool { - if o != nil && o.VulnerabilityScanResultsUrl != nil { - return true - } - - return false -} - -// SetVulnerabilityScanResultsUrl gets a reference to the given string and assigns it to the VulnerabilityScanResultsUrl field. -func (o *DartPackageUpload) SetVulnerabilityScanResultsUrl(v string) { - o.VulnerabilityScanResultsUrl = &v -} - -func (o DartPackageUpload) MarshalJSON() ([]byte, error) { - toSerialize := map[string]interface{}{} - if o.Architectures != nil { - toSerialize["architectures"] = o.Architectures - } - if o.CdnUrl != nil { - toSerialize["cdn_url"] = o.CdnUrl - } - if o.ChecksumMd5 != nil { - toSerialize["checksum_md5"] = o.ChecksumMd5 - } - if o.ChecksumSha1 != nil { - toSerialize["checksum_sha1"] = o.ChecksumSha1 - } - if o.ChecksumSha256 != nil { - toSerialize["checksum_sha256"] = o.ChecksumSha256 - } - if o.ChecksumSha512 != nil { - toSerialize["checksum_sha512"] = o.ChecksumSha512 - } - if o.DependenciesChecksumMd5 != nil { - toSerialize["dependencies_checksum_md5"] = o.DependenciesChecksumMd5 - } - if o.DependenciesUrl != nil { - toSerialize["dependencies_url"] = o.DependenciesUrl - } - if o.Description != nil { - toSerialize["description"] = o.Description - } - if o.Distro != nil { - toSerialize["distro"] = o.Distro - } - if o.DistroVersion != nil { - toSerialize["distro_version"] = o.DistroVersion - } - if o.Downloads != nil { - toSerialize["downloads"] = o.Downloads - } - if o.Epoch != nil { - toSerialize["epoch"] = o.Epoch - } - if o.Extension != nil { - toSerialize["extension"] = o.Extension - } - if o.Filename != nil { - toSerialize["filename"] = o.Filename - } - if o.Files != nil { - toSerialize["files"] = o.Files - } - if o.Format != nil { - toSerialize["format"] = o.Format - } - if o.FormatUrl != nil { - toSerialize["format_url"] = o.FormatUrl - } - if o.IdentifierPerm != nil { - toSerialize["identifier_perm"] = o.IdentifierPerm - } - if o.Indexed != nil { - toSerialize["indexed"] = o.Indexed - } - if o.IsDownloadable != nil { - toSerialize["is_downloadable"] = o.IsDownloadable - } - if o.IsQuarantined != nil { - toSerialize["is_quarantined"] = o.IsQuarantined - } - if o.IsSyncAwaiting != nil { - toSerialize["is_sync_awaiting"] = o.IsSyncAwaiting - } - if o.IsSyncCompleted != nil { - toSerialize["is_sync_completed"] = o.IsSyncCompleted - } - if o.IsSyncFailed != nil { - toSerialize["is_sync_failed"] = o.IsSyncFailed - } - if o.IsSyncInFlight != nil { - toSerialize["is_sync_in_flight"] = o.IsSyncInFlight - } - if o.IsSyncInProgress != nil { - toSerialize["is_sync_in_progress"] = o.IsSyncInProgress - } - if o.License != nil { - toSerialize["license"] = o.License - } - if o.Name != nil { - toSerialize["name"] = o.Name - } - if o.Namespace != nil { - toSerialize["namespace"] = o.Namespace - } - if o.NamespaceUrl != nil { - toSerialize["namespace_url"] = o.NamespaceUrl - } - if o.NumFiles != nil { - toSerialize["num_files"] = o.NumFiles - } - if o.PackageType != nil { - toSerialize["package_type"] = o.PackageType - } - if o.Release != nil { - toSerialize["release"] = o.Release - } - if o.Repository != nil { - toSerialize["repository"] = o.Repository - } - if o.RepositoryUrl != nil { - toSerialize["repository_url"] = o.RepositoryUrl - } - if o.SecurityScanCompletedAt != nil { - toSerialize["security_scan_completed_at"] = o.SecurityScanCompletedAt - } - if o.SecurityScanStartedAt != nil { - toSerialize["security_scan_started_at"] = o.SecurityScanStartedAt - } - if o.SecurityScanStatus != nil { - toSerialize["security_scan_status"] = o.SecurityScanStatus - } - if o.SecurityScanStatusUpdatedAt != nil { - toSerialize["security_scan_status_updated_at"] = o.SecurityScanStatusUpdatedAt - } - if o.SelfHtmlUrl != nil { - toSerialize["self_html_url"] = o.SelfHtmlUrl - } - if o.SelfUrl != nil { - toSerialize["self_url"] = o.SelfUrl - } - if o.SignatureUrl != nil { - toSerialize["signature_url"] = o.SignatureUrl - } - if o.Size != nil { - toSerialize["size"] = o.Size - } - if o.Slug != nil { - toSerialize["slug"] = o.Slug - } - if o.SlugPerm != nil { - toSerialize["slug_perm"] = o.SlugPerm - } - if o.Stage != nil { - toSerialize["stage"] = o.Stage - } - if o.StageStr != nil { - toSerialize["stage_str"] = o.StageStr - } - if o.StageUpdatedAt != nil { - toSerialize["stage_updated_at"] = o.StageUpdatedAt - } - if o.Status != nil { - toSerialize["status"] = o.Status - } - if o.StatusReason != nil { - toSerialize["status_reason"] = o.StatusReason - } - if o.StatusStr != nil { - toSerialize["status_str"] = o.StatusStr - } - if o.StatusUpdatedAt != nil { - toSerialize["status_updated_at"] = o.StatusUpdatedAt - } - if o.StatusUrl != nil { - toSerialize["status_url"] = o.StatusUrl - } - if o.Subtype != nil { - toSerialize["subtype"] = o.Subtype - } - if o.Summary != nil { - toSerialize["summary"] = o.Summary - } - if o.SyncFinishedAt != nil { - toSerialize["sync_finished_at"] = o.SyncFinishedAt - } - if o.SyncProgress != nil { - toSerialize["sync_progress"] = o.SyncProgress - } - if o.TagsImmutable != nil { - toSerialize["tags_immutable"] = o.TagsImmutable - } - if o.TypeDisplay != nil { - toSerialize["type_display"] = o.TypeDisplay - } - if o.UploadedAt != nil { - toSerialize["uploaded_at"] = o.UploadedAt - } - if o.Uploader != nil { - toSerialize["uploader"] = o.Uploader - } - if o.UploaderUrl != nil { - toSerialize["uploader_url"] = o.UploaderUrl - } - if o.Version != nil { - toSerialize["version"] = o.Version - } - if o.VersionOrig != nil { - toSerialize["version_orig"] = o.VersionOrig - } - if o.VulnerabilityScanResultsUrl != nil { - toSerialize["vulnerability_scan_results_url"] = o.VulnerabilityScanResultsUrl - } - return json.Marshal(toSerialize) -} - -type NullableDartPackageUpload struct { - value *DartPackageUpload - isSet bool -} - -func (v NullableDartPackageUpload) Get() *DartPackageUpload { - return v.value -} - -func (v *NullableDartPackageUpload) Set(val *DartPackageUpload) { - v.value = val - v.isSet = true -} - -func (v NullableDartPackageUpload) IsSet() bool { - return v.isSet -} - -func (v *NullableDartPackageUpload) Unset() { - v.value = nil - v.isSet = false -} - -func NewNullableDartPackageUpload(val *DartPackageUpload) *NullableDartPackageUpload { - return &NullableDartPackageUpload{value: val, isSet: true} -} - -func (v NullableDartPackageUpload) MarshalJSON() ([]byte, error) { - return json.Marshal(v.value) -} - -func (v *NullableDartPackageUpload) UnmarshalJSON(src []byte) error { - v.isSet = true - return json.Unmarshal(src, &v.value) -} diff --git a/model_dart_package_upload_request.go b/model_dart_package_upload_request.go new file mode 100644 index 00000000..0adc9be2 --- /dev/null +++ b/model_dart_package_upload_request.go @@ -0,0 +1,193 @@ +/* +Cloudsmith API (v1) + +The API to the Cloudsmith Service + +API version: 1.181.6 +Contact: support@cloudsmith.io +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cloudsmith + +import ( + "encoding/json" +) + +// DartPackageUploadRequest struct for DartPackageUploadRequest +type DartPackageUploadRequest struct { + // The primary file for the package. + PackageFile string `json:"package_file"` + // If true, the uploaded package will overwrite any others with the same attributes (e.g. same version); otherwise, it will be flagged as a duplicate. + Republish *bool `json:"republish,omitempty"` + // A comma-separated values list of tags to add to the package. + Tags NullableString `json:"tags,omitempty"` +} + +// NewDartPackageUploadRequest instantiates a new DartPackageUploadRequest object +// 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 NewDartPackageUploadRequest(packageFile string) *DartPackageUploadRequest { + this := DartPackageUploadRequest{} + this.PackageFile = packageFile + return &this +} + +// NewDartPackageUploadRequestWithDefaults instantiates a new DartPackageUploadRequest object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewDartPackageUploadRequestWithDefaults() *DartPackageUploadRequest { + this := DartPackageUploadRequest{} + return &this +} + +// GetPackageFile returns the PackageFile field value +func (o *DartPackageUploadRequest) GetPackageFile() string { + if o == nil { + var ret string + return ret + } + + return o.PackageFile +} + +// GetPackageFileOk returns a tuple with the PackageFile field value +// and a boolean to check if the value has been set. +func (o *DartPackageUploadRequest) GetPackageFileOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.PackageFile, true +} + +// SetPackageFile sets field value +func (o *DartPackageUploadRequest) SetPackageFile(v string) { + o.PackageFile = v +} + +// GetRepublish returns the Republish field value if set, zero value otherwise. +func (o *DartPackageUploadRequest) GetRepublish() bool { + if o == nil || isNil(o.Republish) { + var ret bool + return ret + } + return *o.Republish +} + +// GetRepublishOk returns a tuple with the Republish field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *DartPackageUploadRequest) GetRepublishOk() (*bool, bool) { + if o == nil || isNil(o.Republish) { + return nil, false + } + return o.Republish, true +} + +// HasRepublish returns a boolean if a field has been set. +func (o *DartPackageUploadRequest) HasRepublish() bool { + if o != nil && !isNil(o.Republish) { + return true + } + + return false +} + +// SetRepublish gets a reference to the given bool and assigns it to the Republish field. +func (o *DartPackageUploadRequest) SetRepublish(v bool) { + o.Republish = &v +} + +// GetTags returns the Tags field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *DartPackageUploadRequest) GetTags() string { + if o == nil || isNil(o.Tags.Get()) { + var ret string + return ret + } + return *o.Tags.Get() +} + +// GetTagsOk returns a tuple with the Tags 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 *DartPackageUploadRequest) GetTagsOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.Tags.Get(), o.Tags.IsSet() +} + +// HasTags returns a boolean if a field has been set. +func (o *DartPackageUploadRequest) HasTags() bool { + if o != nil && o.Tags.IsSet() { + return true + } + + return false +} + +// SetTags gets a reference to the given NullableString and assigns it to the Tags field. +func (o *DartPackageUploadRequest) SetTags(v string) { + o.Tags.Set(&v) +} + +// SetTagsNil sets the value for Tags to be an explicit nil +func (o *DartPackageUploadRequest) SetTagsNil() { + o.Tags.Set(nil) +} + +// UnsetTags ensures that no value is present for Tags, not even an explicit nil +func (o *DartPackageUploadRequest) UnsetTags() { + o.Tags.Unset() +} + +func (o DartPackageUploadRequest) MarshalJSON() ([]byte, error) { + toSerialize := map[string]interface{}{} + if true { + toSerialize["package_file"] = o.PackageFile + } + if !isNil(o.Republish) { + toSerialize["republish"] = o.Republish + } + if o.Tags.IsSet() { + toSerialize["tags"] = o.Tags.Get() + } + return json.Marshal(toSerialize) +} + +type NullableDartPackageUploadRequest struct { + value *DartPackageUploadRequest + isSet bool +} + +func (v NullableDartPackageUploadRequest) Get() *DartPackageUploadRequest { + return v.value +} + +func (v *NullableDartPackageUploadRequest) Set(val *DartPackageUploadRequest) { + v.value = val + v.isSet = true +} + +func (v NullableDartPackageUploadRequest) IsSet() bool { + return v.isSet +} + +func (v *NullableDartPackageUploadRequest) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableDartPackageUploadRequest(val *DartPackageUploadRequest) *NullableDartPackageUploadRequest { + return &NullableDartPackageUploadRequest{value: val, isSet: true} +} + +func (v NullableDartPackageUploadRequest) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableDartPackageUploadRequest) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} diff --git a/model_terraform_package_upload.go b/model_dart_package_upload_response.go similarity index 52% rename from model_terraform_package_upload.go rename to model_dart_package_upload_response.go index 6097e05a..33586f3e 100644 --- a/model_terraform_package_upload.go +++ b/model_dart_package_upload_response.go @@ -1,9 +1,9 @@ /* -Cloudsmith API +Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.121.3 +API version: 1.181.6 Contact: support@cloudsmith.io */ @@ -13,165 +13,126 @@ package cloudsmith import ( "encoding/json" + "time" ) -// TerraformPackageUpload struct for TerraformPackageUpload -type TerraformPackageUpload struct { - // - Architectures []PackagesOwnerRepoArchitectures `json:"architectures,omitempty"` - // - CdnUrl *string `json:"cdn_url,omitempty"` - // - ChecksumMd5 *string `json:"checksum_md5,omitempty"` - // - ChecksumSha1 *string `json:"checksum_sha1,omitempty"` - // - ChecksumSha256 *string `json:"checksum_sha256,omitempty"` - // - ChecksumSha512 *string `json:"checksum_sha512,omitempty"` +// DartPackageUploadResponse struct for DartPackageUploadResponse +type DartPackageUploadResponse struct { + Architectures []Architecture `json:"architectures,omitempty"` + CdnUrl NullableString `json:"cdn_url,omitempty"` + ChecksumMd5 *string `json:"checksum_md5,omitempty"` + ChecksumSha1 *string `json:"checksum_sha1,omitempty"` + ChecksumSha256 *string `json:"checksum_sha256,omitempty"` + ChecksumSha512 *string `json:"checksum_sha512,omitempty"` // A checksum of all of the package's dependencies. DependenciesChecksumMd5 *string `json:"dependencies_checksum_md5,omitempty"` - // - DependenciesUrl *string `json:"dependencies_url,omitempty"` + DependenciesUrl *string `json:"dependencies_url,omitempty"` // A textual description of this package. - Description *string `json:"description,omitempty"` - // - Distro map[string]interface{} `json:"distro,omitempty"` - // - DistroVersion map[string]interface{} `json:"distro_version,omitempty"` - // - Downloads *int64 `json:"downloads,omitempty"` + Description *string `json:"description,omitempty"` + Distro NullableDistribution `json:"distro,omitempty"` + DistroVersion *DistributionVersion `json:"distro_version,omitempty"` + Downloads *int64 `json:"downloads,omitempty"` // The epoch of the package version (if any). - Epoch *int64 `json:"epoch,omitempty"` - // - Extension *string `json:"extension,omitempty"` - // - Filename *string `json:"filename,omitempty"` - // - Files []PackagesOwnerRepoFiles `json:"files,omitempty"` - // - Format *string `json:"format,omitempty"` - // - FormatUrl *string `json:"format_url,omitempty"` + Epoch *int64 `json:"epoch,omitempty"` + Extension *string `json:"extension,omitempty"` + Filename *string `json:"filename,omitempty"` + Files []PackageFile `json:"files,omitempty"` + Format *string `json:"format,omitempty"` + FormatUrl *string `json:"format_url,omitempty"` // Unique and permanent identifier for the package. - IdentifierPerm *string `json:"identifier_perm,omitempty"` - // - Indexed *bool `json:"indexed,omitempty"` - // - IsDownloadable *bool `json:"is_downloadable,omitempty"` - // - IsQuarantined *bool `json:"is_quarantined,omitempty"` - // - IsSyncAwaiting *bool `json:"is_sync_awaiting,omitempty"` - // - IsSyncCompleted *bool `json:"is_sync_completed,omitempty"` - // - IsSyncFailed *bool `json:"is_sync_failed,omitempty"` - // - IsSyncInFlight *bool `json:"is_sync_in_flight,omitempty"` - // - IsSyncInProgress *bool `json:"is_sync_in_progress,omitempty"` + IdentifierPerm *string `json:"identifier_perm,omitempty"` + Indexed *bool `json:"indexed,omitempty"` + IsDownloadable *bool `json:"is_downloadable,omitempty"` + IsQuarantined *bool `json:"is_quarantined,omitempty"` + IsSyncAwaiting *bool `json:"is_sync_awaiting,omitempty"` + IsSyncCompleted *bool `json:"is_sync_completed,omitempty"` + IsSyncFailed *bool `json:"is_sync_failed,omitempty"` + IsSyncInFlight *bool `json:"is_sync_in_flight,omitempty"` + IsSyncInProgress *bool `json:"is_sync_in_progress,omitempty"` // The license of this package. License *string `json:"license,omitempty"` // The name of this package. - Name *string `json:"name,omitempty"` - // - Namespace *string `json:"namespace,omitempty"` - // - NamespaceUrl *string `json:"namespace_url,omitempty"` - // - NumFiles *int64 `json:"num_files,omitempty"` + Name *string `json:"name,omitempty"` + Namespace *string `json:"namespace,omitempty"` + NamespaceUrl *string `json:"namespace_url,omitempty"` + NumFiles *int64 `json:"num_files,omitempty"` + OriginRepository *string `json:"origin_repository,omitempty"` + OriginRepositoryUrl *string `json:"origin_repository_url,omitempty"` // The type of package contents. PackageType *int64 `json:"package_type,omitempty"` // The release of the package version (if any). - Release *string `json:"release,omitempty"` - // - Repository *string `json:"repository,omitempty"` - // + Release *string `json:"release,omitempty"` + Repository *string `json:"repository,omitempty"` RepositoryUrl *string `json:"repository_url,omitempty"` // The datetime the security scanning was completed. - SecurityScanCompletedAt *string `json:"security_scan_completed_at,omitempty"` + SecurityScanCompletedAt *time.Time `json:"security_scan_completed_at,omitempty"` // The datetime the security scanning was started. - SecurityScanStartedAt *string `json:"security_scan_started_at,omitempty"` - // - SecurityScanStatus *string `json:"security_scan_status,omitempty"` + SecurityScanStartedAt *time.Time `json:"security_scan_started_at,omitempty"` + SecurityScanStatus NullableString `json:"security_scan_status,omitempty"` // The datetime the security scanning status was updated. - SecurityScanStatusUpdatedAt *string `json:"security_scan_status_updated_at,omitempty"` - // - SelfHtmlUrl *string `json:"self_html_url,omitempty"` - // - SelfUrl *string `json:"self_url,omitempty"` - // - SignatureUrl *string `json:"signature_url,omitempty"` + SecurityScanStatusUpdatedAt *time.Time `json:"security_scan_status_updated_at,omitempty"` + SelfHtmlUrl *string `json:"self_html_url,omitempty"` + SelfUrl *string `json:"self_url,omitempty"` + SignatureUrl NullableString `json:"signature_url,omitempty"` // The calculated size of the package. Size *int64 `json:"size,omitempty"` // The public unique identifier for the package. - Slug *string `json:"slug,omitempty"` - // + Slug *string `json:"slug,omitempty"` SlugPerm *string `json:"slug_perm,omitempty"` // The synchronisation (in progress) stage of the package. - Stage *int64 `json:"stage,omitempty"` - // + Stage *int64 `json:"stage,omitempty"` StageStr *string `json:"stage_str,omitempty"` // The datetime the package stage was updated at. - StageUpdatedAt *string `json:"stage_updated_at,omitempty"` + StageUpdatedAt *time.Time `json:"stage_updated_at,omitempty"` // The synchronisation status of the package. Status *int64 `json:"status,omitempty"` // A textual description for the synchronous status reason (if any StatusReason *string `json:"status_reason,omitempty"` - // - StatusStr *string `json:"status_str,omitempty"` + StatusStr *string `json:"status_str,omitempty"` // The datetime the package status was updated at. - StatusUpdatedAt *string `json:"status_updated_at,omitempty"` - // - StatusUrl *string `json:"status_url,omitempty"` - // - Subtype *string `json:"subtype,omitempty"` + StatusUpdatedAt *time.Time `json:"status_updated_at,omitempty"` + StatusUrl *string `json:"status_url,omitempty"` + Subtype *string `json:"subtype,omitempty"` // A one-liner synopsis of this package. Summary *string `json:"summary,omitempty"` // The datetime the package sync was finished at. - SyncFinishedAt *string `json:"sync_finished_at,omitempty"` + SyncFinishedAt *time.Time `json:"sync_finished_at,omitempty"` // Synchronisation progress (from 0-100) SyncProgress *int64 `json:"sync_progress,omitempty"` - // All immutable tags on the package, grouped by tag type. Immutable tags cannot be (easily) deleted. + // All tags on the package, grouped by tag type. This includes immutable tags, but doesn't distinguish them from mutable. To see which tags are immutable specifically, see the tags_immutable field. TagsImmutable map[string]interface{} `json:"tags_immutable,omitempty"` - // - TypeDisplay *string `json:"type_display,omitempty"` + TypeDisplay *string `json:"type_display,omitempty"` // The date this package was uploaded. - UploadedAt *string `json:"uploaded_at,omitempty"` - // - Uploader *string `json:"uploader,omitempty"` - // - UploaderUrl *string `json:"uploader_url,omitempty"` + UploadedAt *time.Time `json:"uploaded_at,omitempty"` + Uploader *string `json:"uploader,omitempty"` + UploaderUrl *string `json:"uploader_url,omitempty"` // The raw version for this package. - Version *string `json:"version,omitempty"` - // - VersionOrig *string `json:"version_orig,omitempty"` - // + Version *string `json:"version,omitempty"` + VersionOrig *string `json:"version_orig,omitempty"` VulnerabilityScanResultsUrl *string `json:"vulnerability_scan_results_url,omitempty"` } -// NewTerraformPackageUpload instantiates a new TerraformPackageUpload object +// NewDartPackageUploadResponse instantiates a new DartPackageUploadResponse object // 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 NewTerraformPackageUpload() *TerraformPackageUpload { - this := TerraformPackageUpload{} +func NewDartPackageUploadResponse() *DartPackageUploadResponse { + this := DartPackageUploadResponse{} return &this } -// NewTerraformPackageUploadWithDefaults instantiates a new TerraformPackageUpload object +// NewDartPackageUploadResponseWithDefaults instantiates a new DartPackageUploadResponse object // This constructor will only assign default values to properties that have it defined, // but it doesn't guarantee that properties required by API are set -func NewTerraformPackageUploadWithDefaults() *TerraformPackageUpload { - this := TerraformPackageUpload{} +func NewDartPackageUploadResponseWithDefaults() *DartPackageUploadResponse { + this := DartPackageUploadResponse{} return &this } // GetArchitectures returns the Architectures field value if set, zero value otherwise. -func (o *TerraformPackageUpload) GetArchitectures() []PackagesOwnerRepoArchitectures { - if o == nil || o.Architectures == nil { - var ret []PackagesOwnerRepoArchitectures +func (o *DartPackageUploadResponse) GetArchitectures() []Architecture { + if o == nil || isNil(o.Architectures) { + var ret []Architecture return ret } return o.Architectures @@ -179,62 +140,73 @@ func (o *TerraformPackageUpload) GetArchitectures() []PackagesOwnerRepoArchitect // GetArchitecturesOk returns a tuple with the Architectures field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *TerraformPackageUpload) GetArchitecturesOk() ([]PackagesOwnerRepoArchitectures, bool) { - if o == nil || o.Architectures == nil { +func (o *DartPackageUploadResponse) GetArchitecturesOk() ([]Architecture, bool) { + if o == nil || isNil(o.Architectures) { return nil, false } return o.Architectures, true } // HasArchitectures returns a boolean if a field has been set. -func (o *TerraformPackageUpload) HasArchitectures() bool { - if o != nil && o.Architectures != nil { +func (o *DartPackageUploadResponse) HasArchitectures() bool { + if o != nil && !isNil(o.Architectures) { return true } return false } -// SetArchitectures gets a reference to the given []PackagesOwnerRepoArchitectures and assigns it to the Architectures field. -func (o *TerraformPackageUpload) SetArchitectures(v []PackagesOwnerRepoArchitectures) { +// SetArchitectures gets a reference to the given []Architecture and assigns it to the Architectures field. +func (o *DartPackageUploadResponse) SetArchitectures(v []Architecture) { o.Architectures = v } -// GetCdnUrl returns the CdnUrl field value if set, zero value otherwise. -func (o *TerraformPackageUpload) GetCdnUrl() string { - if o == nil || o.CdnUrl == nil { +// GetCdnUrl returns the CdnUrl field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *DartPackageUploadResponse) GetCdnUrl() string { + if o == nil || isNil(o.CdnUrl.Get()) { var ret string return ret } - return *o.CdnUrl + return *o.CdnUrl.Get() } // GetCdnUrlOk returns a tuple with the CdnUrl field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *TerraformPackageUpload) GetCdnUrlOk() (*string, bool) { - if o == nil || o.CdnUrl == nil { +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *DartPackageUploadResponse) GetCdnUrlOk() (*string, bool) { + if o == nil { return nil, false } - return o.CdnUrl, true + return o.CdnUrl.Get(), o.CdnUrl.IsSet() } // HasCdnUrl returns a boolean if a field has been set. -func (o *TerraformPackageUpload) HasCdnUrl() bool { - if o != nil && o.CdnUrl != nil { +func (o *DartPackageUploadResponse) HasCdnUrl() bool { + if o != nil && o.CdnUrl.IsSet() { return true } return false } -// SetCdnUrl gets a reference to the given string and assigns it to the CdnUrl field. -func (o *TerraformPackageUpload) SetCdnUrl(v string) { - o.CdnUrl = &v +// SetCdnUrl gets a reference to the given NullableString and assigns it to the CdnUrl field. +func (o *DartPackageUploadResponse) SetCdnUrl(v string) { + o.CdnUrl.Set(&v) +} + +// SetCdnUrlNil sets the value for CdnUrl to be an explicit nil +func (o *DartPackageUploadResponse) SetCdnUrlNil() { + o.CdnUrl.Set(nil) +} + +// UnsetCdnUrl ensures that no value is present for CdnUrl, not even an explicit nil +func (o *DartPackageUploadResponse) UnsetCdnUrl() { + o.CdnUrl.Unset() } // GetChecksumMd5 returns the ChecksumMd5 field value if set, zero value otherwise. -func (o *TerraformPackageUpload) GetChecksumMd5() string { - if o == nil || o.ChecksumMd5 == nil { +func (o *DartPackageUploadResponse) GetChecksumMd5() string { + if o == nil || isNil(o.ChecksumMd5) { var ret string return ret } @@ -243,16 +215,16 @@ func (o *TerraformPackageUpload) GetChecksumMd5() string { // GetChecksumMd5Ok returns a tuple with the ChecksumMd5 field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *TerraformPackageUpload) GetChecksumMd5Ok() (*string, bool) { - if o == nil || o.ChecksumMd5 == nil { +func (o *DartPackageUploadResponse) GetChecksumMd5Ok() (*string, bool) { + if o == nil || isNil(o.ChecksumMd5) { return nil, false } return o.ChecksumMd5, true } // HasChecksumMd5 returns a boolean if a field has been set. -func (o *TerraformPackageUpload) HasChecksumMd5() bool { - if o != nil && o.ChecksumMd5 != nil { +func (o *DartPackageUploadResponse) HasChecksumMd5() bool { + if o != nil && !isNil(o.ChecksumMd5) { return true } @@ -260,13 +232,13 @@ func (o *TerraformPackageUpload) HasChecksumMd5() bool { } // SetChecksumMd5 gets a reference to the given string and assigns it to the ChecksumMd5 field. -func (o *TerraformPackageUpload) SetChecksumMd5(v string) { +func (o *DartPackageUploadResponse) SetChecksumMd5(v string) { o.ChecksumMd5 = &v } // GetChecksumSha1 returns the ChecksumSha1 field value if set, zero value otherwise. -func (o *TerraformPackageUpload) GetChecksumSha1() string { - if o == nil || o.ChecksumSha1 == nil { +func (o *DartPackageUploadResponse) GetChecksumSha1() string { + if o == nil || isNil(o.ChecksumSha1) { var ret string return ret } @@ -275,16 +247,16 @@ func (o *TerraformPackageUpload) GetChecksumSha1() string { // GetChecksumSha1Ok returns a tuple with the ChecksumSha1 field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *TerraformPackageUpload) GetChecksumSha1Ok() (*string, bool) { - if o == nil || o.ChecksumSha1 == nil { +func (o *DartPackageUploadResponse) GetChecksumSha1Ok() (*string, bool) { + if o == nil || isNil(o.ChecksumSha1) { return nil, false } return o.ChecksumSha1, true } // HasChecksumSha1 returns a boolean if a field has been set. -func (o *TerraformPackageUpload) HasChecksumSha1() bool { - if o != nil && o.ChecksumSha1 != nil { +func (o *DartPackageUploadResponse) HasChecksumSha1() bool { + if o != nil && !isNil(o.ChecksumSha1) { return true } @@ -292,13 +264,13 @@ func (o *TerraformPackageUpload) HasChecksumSha1() bool { } // SetChecksumSha1 gets a reference to the given string and assigns it to the ChecksumSha1 field. -func (o *TerraformPackageUpload) SetChecksumSha1(v string) { +func (o *DartPackageUploadResponse) SetChecksumSha1(v string) { o.ChecksumSha1 = &v } // GetChecksumSha256 returns the ChecksumSha256 field value if set, zero value otherwise. -func (o *TerraformPackageUpload) GetChecksumSha256() string { - if o == nil || o.ChecksumSha256 == nil { +func (o *DartPackageUploadResponse) GetChecksumSha256() string { + if o == nil || isNil(o.ChecksumSha256) { var ret string return ret } @@ -307,16 +279,16 @@ func (o *TerraformPackageUpload) GetChecksumSha256() string { // GetChecksumSha256Ok returns a tuple with the ChecksumSha256 field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *TerraformPackageUpload) GetChecksumSha256Ok() (*string, bool) { - if o == nil || o.ChecksumSha256 == nil { +func (o *DartPackageUploadResponse) GetChecksumSha256Ok() (*string, bool) { + if o == nil || isNil(o.ChecksumSha256) { return nil, false } return o.ChecksumSha256, true } // HasChecksumSha256 returns a boolean if a field has been set. -func (o *TerraformPackageUpload) HasChecksumSha256() bool { - if o != nil && o.ChecksumSha256 != nil { +func (o *DartPackageUploadResponse) HasChecksumSha256() bool { + if o != nil && !isNil(o.ChecksumSha256) { return true } @@ -324,13 +296,13 @@ func (o *TerraformPackageUpload) HasChecksumSha256() bool { } // SetChecksumSha256 gets a reference to the given string and assigns it to the ChecksumSha256 field. -func (o *TerraformPackageUpload) SetChecksumSha256(v string) { +func (o *DartPackageUploadResponse) SetChecksumSha256(v string) { o.ChecksumSha256 = &v } // GetChecksumSha512 returns the ChecksumSha512 field value if set, zero value otherwise. -func (o *TerraformPackageUpload) GetChecksumSha512() string { - if o == nil || o.ChecksumSha512 == nil { +func (o *DartPackageUploadResponse) GetChecksumSha512() string { + if o == nil || isNil(o.ChecksumSha512) { var ret string return ret } @@ -339,16 +311,16 @@ func (o *TerraformPackageUpload) GetChecksumSha512() string { // GetChecksumSha512Ok returns a tuple with the ChecksumSha512 field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *TerraformPackageUpload) GetChecksumSha512Ok() (*string, bool) { - if o == nil || o.ChecksumSha512 == nil { +func (o *DartPackageUploadResponse) GetChecksumSha512Ok() (*string, bool) { + if o == nil || isNil(o.ChecksumSha512) { return nil, false } return o.ChecksumSha512, true } // HasChecksumSha512 returns a boolean if a field has been set. -func (o *TerraformPackageUpload) HasChecksumSha512() bool { - if o != nil && o.ChecksumSha512 != nil { +func (o *DartPackageUploadResponse) HasChecksumSha512() bool { + if o != nil && !isNil(o.ChecksumSha512) { return true } @@ -356,13 +328,13 @@ func (o *TerraformPackageUpload) HasChecksumSha512() bool { } // SetChecksumSha512 gets a reference to the given string and assigns it to the ChecksumSha512 field. -func (o *TerraformPackageUpload) SetChecksumSha512(v string) { +func (o *DartPackageUploadResponse) SetChecksumSha512(v string) { o.ChecksumSha512 = &v } // GetDependenciesChecksumMd5 returns the DependenciesChecksumMd5 field value if set, zero value otherwise. -func (o *TerraformPackageUpload) GetDependenciesChecksumMd5() string { - if o == nil || o.DependenciesChecksumMd5 == nil { +func (o *DartPackageUploadResponse) GetDependenciesChecksumMd5() string { + if o == nil || isNil(o.DependenciesChecksumMd5) { var ret string return ret } @@ -371,16 +343,16 @@ func (o *TerraformPackageUpload) GetDependenciesChecksumMd5() string { // GetDependenciesChecksumMd5Ok returns a tuple with the DependenciesChecksumMd5 field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *TerraformPackageUpload) GetDependenciesChecksumMd5Ok() (*string, bool) { - if o == nil || o.DependenciesChecksumMd5 == nil { +func (o *DartPackageUploadResponse) GetDependenciesChecksumMd5Ok() (*string, bool) { + if o == nil || isNil(o.DependenciesChecksumMd5) { return nil, false } return o.DependenciesChecksumMd5, true } // HasDependenciesChecksumMd5 returns a boolean if a field has been set. -func (o *TerraformPackageUpload) HasDependenciesChecksumMd5() bool { - if o != nil && o.DependenciesChecksumMd5 != nil { +func (o *DartPackageUploadResponse) HasDependenciesChecksumMd5() bool { + if o != nil && !isNil(o.DependenciesChecksumMd5) { return true } @@ -388,13 +360,13 @@ func (o *TerraformPackageUpload) HasDependenciesChecksumMd5() bool { } // SetDependenciesChecksumMd5 gets a reference to the given string and assigns it to the DependenciesChecksumMd5 field. -func (o *TerraformPackageUpload) SetDependenciesChecksumMd5(v string) { +func (o *DartPackageUploadResponse) SetDependenciesChecksumMd5(v string) { o.DependenciesChecksumMd5 = &v } // GetDependenciesUrl returns the DependenciesUrl field value if set, zero value otherwise. -func (o *TerraformPackageUpload) GetDependenciesUrl() string { - if o == nil || o.DependenciesUrl == nil { +func (o *DartPackageUploadResponse) GetDependenciesUrl() string { + if o == nil || isNil(o.DependenciesUrl) { var ret string return ret } @@ -403,16 +375,16 @@ func (o *TerraformPackageUpload) GetDependenciesUrl() string { // GetDependenciesUrlOk returns a tuple with the DependenciesUrl field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *TerraformPackageUpload) GetDependenciesUrlOk() (*string, bool) { - if o == nil || o.DependenciesUrl == nil { +func (o *DartPackageUploadResponse) GetDependenciesUrlOk() (*string, bool) { + if o == nil || isNil(o.DependenciesUrl) { return nil, false } return o.DependenciesUrl, true } // HasDependenciesUrl returns a boolean if a field has been set. -func (o *TerraformPackageUpload) HasDependenciesUrl() bool { - if o != nil && o.DependenciesUrl != nil { +func (o *DartPackageUploadResponse) HasDependenciesUrl() bool { + if o != nil && !isNil(o.DependenciesUrl) { return true } @@ -420,13 +392,13 @@ func (o *TerraformPackageUpload) HasDependenciesUrl() bool { } // SetDependenciesUrl gets a reference to the given string and assigns it to the DependenciesUrl field. -func (o *TerraformPackageUpload) SetDependenciesUrl(v string) { +func (o *DartPackageUploadResponse) SetDependenciesUrl(v string) { o.DependenciesUrl = &v } // GetDescription returns the Description field value if set, zero value otherwise. -func (o *TerraformPackageUpload) GetDescription() string { - if o == nil || o.Description == nil { +func (o *DartPackageUploadResponse) GetDescription() string { + if o == nil || isNil(o.Description) { var ret string return ret } @@ -435,16 +407,16 @@ func (o *TerraformPackageUpload) GetDescription() string { // GetDescriptionOk returns a tuple with the Description field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *TerraformPackageUpload) GetDescriptionOk() (*string, bool) { - if o == nil || o.Description == nil { +func (o *DartPackageUploadResponse) GetDescriptionOk() (*string, bool) { + if o == nil || isNil(o.Description) { return nil, false } return o.Description, true } // HasDescription returns a boolean if a field has been set. -func (o *TerraformPackageUpload) HasDescription() bool { - if o != nil && o.Description != nil { +func (o *DartPackageUploadResponse) HasDescription() bool { + if o != nil && !isNil(o.Description) { return true } @@ -452,77 +424,88 @@ func (o *TerraformPackageUpload) HasDescription() bool { } // SetDescription gets a reference to the given string and assigns it to the Description field. -func (o *TerraformPackageUpload) SetDescription(v string) { +func (o *DartPackageUploadResponse) SetDescription(v string) { o.Description = &v } -// GetDistro returns the Distro field value if set, zero value otherwise. -func (o *TerraformPackageUpload) GetDistro() map[string]interface{} { - if o == nil || o.Distro == nil { - var ret map[string]interface{} +// GetDistro returns the Distro field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *DartPackageUploadResponse) GetDistro() Distribution { + if o == nil || isNil(o.Distro.Get()) { + var ret Distribution return ret } - return o.Distro + return *o.Distro.Get() } // GetDistroOk returns a tuple with the Distro field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *TerraformPackageUpload) GetDistroOk() (map[string]interface{}, bool) { - if o == nil || o.Distro == nil { +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *DartPackageUploadResponse) GetDistroOk() (*Distribution, bool) { + if o == nil { return nil, false } - return o.Distro, true + return o.Distro.Get(), o.Distro.IsSet() } // HasDistro returns a boolean if a field has been set. -func (o *TerraformPackageUpload) HasDistro() bool { - if o != nil && o.Distro != nil { +func (o *DartPackageUploadResponse) HasDistro() bool { + if o != nil && o.Distro.IsSet() { return true } return false } -// SetDistro gets a reference to the given map[string]interface{} and assigns it to the Distro field. -func (o *TerraformPackageUpload) SetDistro(v map[string]interface{}) { - o.Distro = v +// SetDistro gets a reference to the given NullableDistribution and assigns it to the Distro field. +func (o *DartPackageUploadResponse) SetDistro(v Distribution) { + o.Distro.Set(&v) +} + +// SetDistroNil sets the value for Distro to be an explicit nil +func (o *DartPackageUploadResponse) SetDistroNil() { + o.Distro.Set(nil) +} + +// UnsetDistro ensures that no value is present for Distro, not even an explicit nil +func (o *DartPackageUploadResponse) UnsetDistro() { + o.Distro.Unset() } // GetDistroVersion returns the DistroVersion field value if set, zero value otherwise. -func (o *TerraformPackageUpload) GetDistroVersion() map[string]interface{} { - if o == nil || o.DistroVersion == nil { - var ret map[string]interface{} +func (o *DartPackageUploadResponse) GetDistroVersion() DistributionVersion { + if o == nil || isNil(o.DistroVersion) { + var ret DistributionVersion return ret } - return o.DistroVersion + return *o.DistroVersion } // GetDistroVersionOk returns a tuple with the DistroVersion field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *TerraformPackageUpload) GetDistroVersionOk() (map[string]interface{}, bool) { - if o == nil || o.DistroVersion == nil { +func (o *DartPackageUploadResponse) GetDistroVersionOk() (*DistributionVersion, bool) { + if o == nil || isNil(o.DistroVersion) { return nil, false } return o.DistroVersion, true } // HasDistroVersion returns a boolean if a field has been set. -func (o *TerraformPackageUpload) HasDistroVersion() bool { - if o != nil && o.DistroVersion != nil { +func (o *DartPackageUploadResponse) HasDistroVersion() bool { + if o != nil && !isNil(o.DistroVersion) { return true } return false } -// SetDistroVersion gets a reference to the given map[string]interface{} and assigns it to the DistroVersion field. -func (o *TerraformPackageUpload) SetDistroVersion(v map[string]interface{}) { - o.DistroVersion = v +// SetDistroVersion gets a reference to the given DistributionVersion and assigns it to the DistroVersion field. +func (o *DartPackageUploadResponse) SetDistroVersion(v DistributionVersion) { + o.DistroVersion = &v } // GetDownloads returns the Downloads field value if set, zero value otherwise. -func (o *TerraformPackageUpload) GetDownloads() int64 { - if o == nil || o.Downloads == nil { +func (o *DartPackageUploadResponse) GetDownloads() int64 { + if o == nil || isNil(o.Downloads) { var ret int64 return ret } @@ -531,16 +514,16 @@ func (o *TerraformPackageUpload) GetDownloads() int64 { // GetDownloadsOk returns a tuple with the Downloads field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *TerraformPackageUpload) GetDownloadsOk() (*int64, bool) { - if o == nil || o.Downloads == nil { +func (o *DartPackageUploadResponse) GetDownloadsOk() (*int64, bool) { + if o == nil || isNil(o.Downloads) { return nil, false } return o.Downloads, true } // HasDownloads returns a boolean if a field has been set. -func (o *TerraformPackageUpload) HasDownloads() bool { - if o != nil && o.Downloads != nil { +func (o *DartPackageUploadResponse) HasDownloads() bool { + if o != nil && !isNil(o.Downloads) { return true } @@ -548,13 +531,13 @@ func (o *TerraformPackageUpload) HasDownloads() bool { } // SetDownloads gets a reference to the given int64 and assigns it to the Downloads field. -func (o *TerraformPackageUpload) SetDownloads(v int64) { +func (o *DartPackageUploadResponse) SetDownloads(v int64) { o.Downloads = &v } // GetEpoch returns the Epoch field value if set, zero value otherwise. -func (o *TerraformPackageUpload) GetEpoch() int64 { - if o == nil || o.Epoch == nil { +func (o *DartPackageUploadResponse) GetEpoch() int64 { + if o == nil || isNil(o.Epoch) { var ret int64 return ret } @@ -563,16 +546,16 @@ func (o *TerraformPackageUpload) GetEpoch() int64 { // GetEpochOk returns a tuple with the Epoch field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *TerraformPackageUpload) GetEpochOk() (*int64, bool) { - if o == nil || o.Epoch == nil { +func (o *DartPackageUploadResponse) GetEpochOk() (*int64, bool) { + if o == nil || isNil(o.Epoch) { return nil, false } return o.Epoch, true } // HasEpoch returns a boolean if a field has been set. -func (o *TerraformPackageUpload) HasEpoch() bool { - if o != nil && o.Epoch != nil { +func (o *DartPackageUploadResponse) HasEpoch() bool { + if o != nil && !isNil(o.Epoch) { return true } @@ -580,13 +563,13 @@ func (o *TerraformPackageUpload) HasEpoch() bool { } // SetEpoch gets a reference to the given int64 and assigns it to the Epoch field. -func (o *TerraformPackageUpload) SetEpoch(v int64) { +func (o *DartPackageUploadResponse) SetEpoch(v int64) { o.Epoch = &v } // GetExtension returns the Extension field value if set, zero value otherwise. -func (o *TerraformPackageUpload) GetExtension() string { - if o == nil || o.Extension == nil { +func (o *DartPackageUploadResponse) GetExtension() string { + if o == nil || isNil(o.Extension) { var ret string return ret } @@ -595,16 +578,16 @@ func (o *TerraformPackageUpload) GetExtension() string { // GetExtensionOk returns a tuple with the Extension field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *TerraformPackageUpload) GetExtensionOk() (*string, bool) { - if o == nil || o.Extension == nil { +func (o *DartPackageUploadResponse) GetExtensionOk() (*string, bool) { + if o == nil || isNil(o.Extension) { return nil, false } return o.Extension, true } // HasExtension returns a boolean if a field has been set. -func (o *TerraformPackageUpload) HasExtension() bool { - if o != nil && o.Extension != nil { +func (o *DartPackageUploadResponse) HasExtension() bool { + if o != nil && !isNil(o.Extension) { return true } @@ -612,13 +595,13 @@ func (o *TerraformPackageUpload) HasExtension() bool { } // SetExtension gets a reference to the given string and assigns it to the Extension field. -func (o *TerraformPackageUpload) SetExtension(v string) { +func (o *DartPackageUploadResponse) SetExtension(v string) { o.Extension = &v } // GetFilename returns the Filename field value if set, zero value otherwise. -func (o *TerraformPackageUpload) GetFilename() string { - if o == nil || o.Filename == nil { +func (o *DartPackageUploadResponse) GetFilename() string { + if o == nil || isNil(o.Filename) { var ret string return ret } @@ -627,16 +610,16 @@ func (o *TerraformPackageUpload) GetFilename() string { // GetFilenameOk returns a tuple with the Filename field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *TerraformPackageUpload) GetFilenameOk() (*string, bool) { - if o == nil || o.Filename == nil { +func (o *DartPackageUploadResponse) GetFilenameOk() (*string, bool) { + if o == nil || isNil(o.Filename) { return nil, false } return o.Filename, true } // HasFilename returns a boolean if a field has been set. -func (o *TerraformPackageUpload) HasFilename() bool { - if o != nil && o.Filename != nil { +func (o *DartPackageUploadResponse) HasFilename() bool { + if o != nil && !isNil(o.Filename) { return true } @@ -644,14 +627,14 @@ func (o *TerraformPackageUpload) HasFilename() bool { } // SetFilename gets a reference to the given string and assigns it to the Filename field. -func (o *TerraformPackageUpload) SetFilename(v string) { +func (o *DartPackageUploadResponse) SetFilename(v string) { o.Filename = &v } // GetFiles returns the Files field value if set, zero value otherwise. -func (o *TerraformPackageUpload) GetFiles() []PackagesOwnerRepoFiles { - if o == nil || o.Files == nil { - var ret []PackagesOwnerRepoFiles +func (o *DartPackageUploadResponse) GetFiles() []PackageFile { + if o == nil || isNil(o.Files) { + var ret []PackageFile return ret } return o.Files @@ -659,30 +642,30 @@ func (o *TerraformPackageUpload) GetFiles() []PackagesOwnerRepoFiles { // GetFilesOk returns a tuple with the Files field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *TerraformPackageUpload) GetFilesOk() ([]PackagesOwnerRepoFiles, bool) { - if o == nil || o.Files == nil { +func (o *DartPackageUploadResponse) GetFilesOk() ([]PackageFile, bool) { + if o == nil || isNil(o.Files) { return nil, false } return o.Files, true } // HasFiles returns a boolean if a field has been set. -func (o *TerraformPackageUpload) HasFiles() bool { - if o != nil && o.Files != nil { +func (o *DartPackageUploadResponse) HasFiles() bool { + if o != nil && !isNil(o.Files) { return true } return false } -// SetFiles gets a reference to the given []PackagesOwnerRepoFiles and assigns it to the Files field. -func (o *TerraformPackageUpload) SetFiles(v []PackagesOwnerRepoFiles) { +// SetFiles gets a reference to the given []PackageFile and assigns it to the Files field. +func (o *DartPackageUploadResponse) SetFiles(v []PackageFile) { o.Files = v } // GetFormat returns the Format field value if set, zero value otherwise. -func (o *TerraformPackageUpload) GetFormat() string { - if o == nil || o.Format == nil { +func (o *DartPackageUploadResponse) GetFormat() string { + if o == nil || isNil(o.Format) { var ret string return ret } @@ -691,16 +674,16 @@ func (o *TerraformPackageUpload) GetFormat() string { // GetFormatOk returns a tuple with the Format field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *TerraformPackageUpload) GetFormatOk() (*string, bool) { - if o == nil || o.Format == nil { +func (o *DartPackageUploadResponse) GetFormatOk() (*string, bool) { + if o == nil || isNil(o.Format) { return nil, false } return o.Format, true } // HasFormat returns a boolean if a field has been set. -func (o *TerraformPackageUpload) HasFormat() bool { - if o != nil && o.Format != nil { +func (o *DartPackageUploadResponse) HasFormat() bool { + if o != nil && !isNil(o.Format) { return true } @@ -708,13 +691,13 @@ func (o *TerraformPackageUpload) HasFormat() bool { } // SetFormat gets a reference to the given string and assigns it to the Format field. -func (o *TerraformPackageUpload) SetFormat(v string) { +func (o *DartPackageUploadResponse) SetFormat(v string) { o.Format = &v } // GetFormatUrl returns the FormatUrl field value if set, zero value otherwise. -func (o *TerraformPackageUpload) GetFormatUrl() string { - if o == nil || o.FormatUrl == nil { +func (o *DartPackageUploadResponse) GetFormatUrl() string { + if o == nil || isNil(o.FormatUrl) { var ret string return ret } @@ -723,16 +706,16 @@ func (o *TerraformPackageUpload) GetFormatUrl() string { // GetFormatUrlOk returns a tuple with the FormatUrl field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *TerraformPackageUpload) GetFormatUrlOk() (*string, bool) { - if o == nil || o.FormatUrl == nil { +func (o *DartPackageUploadResponse) GetFormatUrlOk() (*string, bool) { + if o == nil || isNil(o.FormatUrl) { return nil, false } return o.FormatUrl, true } // HasFormatUrl returns a boolean if a field has been set. -func (o *TerraformPackageUpload) HasFormatUrl() bool { - if o != nil && o.FormatUrl != nil { +func (o *DartPackageUploadResponse) HasFormatUrl() bool { + if o != nil && !isNil(o.FormatUrl) { return true } @@ -740,13 +723,13 @@ func (o *TerraformPackageUpload) HasFormatUrl() bool { } // SetFormatUrl gets a reference to the given string and assigns it to the FormatUrl field. -func (o *TerraformPackageUpload) SetFormatUrl(v string) { +func (o *DartPackageUploadResponse) SetFormatUrl(v string) { o.FormatUrl = &v } // GetIdentifierPerm returns the IdentifierPerm field value if set, zero value otherwise. -func (o *TerraformPackageUpload) GetIdentifierPerm() string { - if o == nil || o.IdentifierPerm == nil { +func (o *DartPackageUploadResponse) GetIdentifierPerm() string { + if o == nil || isNil(o.IdentifierPerm) { var ret string return ret } @@ -755,16 +738,16 @@ func (o *TerraformPackageUpload) GetIdentifierPerm() string { // GetIdentifierPermOk returns a tuple with the IdentifierPerm field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *TerraformPackageUpload) GetIdentifierPermOk() (*string, bool) { - if o == nil || o.IdentifierPerm == nil { +func (o *DartPackageUploadResponse) GetIdentifierPermOk() (*string, bool) { + if o == nil || isNil(o.IdentifierPerm) { return nil, false } return o.IdentifierPerm, true } // HasIdentifierPerm returns a boolean if a field has been set. -func (o *TerraformPackageUpload) HasIdentifierPerm() bool { - if o != nil && o.IdentifierPerm != nil { +func (o *DartPackageUploadResponse) HasIdentifierPerm() bool { + if o != nil && !isNil(o.IdentifierPerm) { return true } @@ -772,13 +755,13 @@ func (o *TerraformPackageUpload) HasIdentifierPerm() bool { } // SetIdentifierPerm gets a reference to the given string and assigns it to the IdentifierPerm field. -func (o *TerraformPackageUpload) SetIdentifierPerm(v string) { +func (o *DartPackageUploadResponse) SetIdentifierPerm(v string) { o.IdentifierPerm = &v } // GetIndexed returns the Indexed field value if set, zero value otherwise. -func (o *TerraformPackageUpload) GetIndexed() bool { - if o == nil || o.Indexed == nil { +func (o *DartPackageUploadResponse) GetIndexed() bool { + if o == nil || isNil(o.Indexed) { var ret bool return ret } @@ -787,16 +770,16 @@ func (o *TerraformPackageUpload) GetIndexed() bool { // GetIndexedOk returns a tuple with the Indexed field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *TerraformPackageUpload) GetIndexedOk() (*bool, bool) { - if o == nil || o.Indexed == nil { +func (o *DartPackageUploadResponse) GetIndexedOk() (*bool, bool) { + if o == nil || isNil(o.Indexed) { return nil, false } return o.Indexed, true } // HasIndexed returns a boolean if a field has been set. -func (o *TerraformPackageUpload) HasIndexed() bool { - if o != nil && o.Indexed != nil { +func (o *DartPackageUploadResponse) HasIndexed() bool { + if o != nil && !isNil(o.Indexed) { return true } @@ -804,13 +787,13 @@ func (o *TerraformPackageUpload) HasIndexed() bool { } // SetIndexed gets a reference to the given bool and assigns it to the Indexed field. -func (o *TerraformPackageUpload) SetIndexed(v bool) { +func (o *DartPackageUploadResponse) SetIndexed(v bool) { o.Indexed = &v } // GetIsDownloadable returns the IsDownloadable field value if set, zero value otherwise. -func (o *TerraformPackageUpload) GetIsDownloadable() bool { - if o == nil || o.IsDownloadable == nil { +func (o *DartPackageUploadResponse) GetIsDownloadable() bool { + if o == nil || isNil(o.IsDownloadable) { var ret bool return ret } @@ -819,16 +802,16 @@ func (o *TerraformPackageUpload) GetIsDownloadable() bool { // GetIsDownloadableOk returns a tuple with the IsDownloadable field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *TerraformPackageUpload) GetIsDownloadableOk() (*bool, bool) { - if o == nil || o.IsDownloadable == nil { +func (o *DartPackageUploadResponse) GetIsDownloadableOk() (*bool, bool) { + if o == nil || isNil(o.IsDownloadable) { return nil, false } return o.IsDownloadable, true } // HasIsDownloadable returns a boolean if a field has been set. -func (o *TerraformPackageUpload) HasIsDownloadable() bool { - if o != nil && o.IsDownloadable != nil { +func (o *DartPackageUploadResponse) HasIsDownloadable() bool { + if o != nil && !isNil(o.IsDownloadable) { return true } @@ -836,13 +819,13 @@ func (o *TerraformPackageUpload) HasIsDownloadable() bool { } // SetIsDownloadable gets a reference to the given bool and assigns it to the IsDownloadable field. -func (o *TerraformPackageUpload) SetIsDownloadable(v bool) { +func (o *DartPackageUploadResponse) SetIsDownloadable(v bool) { o.IsDownloadable = &v } // GetIsQuarantined returns the IsQuarantined field value if set, zero value otherwise. -func (o *TerraformPackageUpload) GetIsQuarantined() bool { - if o == nil || o.IsQuarantined == nil { +func (o *DartPackageUploadResponse) GetIsQuarantined() bool { + if o == nil || isNil(o.IsQuarantined) { var ret bool return ret } @@ -851,16 +834,16 @@ func (o *TerraformPackageUpload) GetIsQuarantined() bool { // GetIsQuarantinedOk returns a tuple with the IsQuarantined field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *TerraformPackageUpload) GetIsQuarantinedOk() (*bool, bool) { - if o == nil || o.IsQuarantined == nil { +func (o *DartPackageUploadResponse) GetIsQuarantinedOk() (*bool, bool) { + if o == nil || isNil(o.IsQuarantined) { return nil, false } return o.IsQuarantined, true } // HasIsQuarantined returns a boolean if a field has been set. -func (o *TerraformPackageUpload) HasIsQuarantined() bool { - if o != nil && o.IsQuarantined != nil { +func (o *DartPackageUploadResponse) HasIsQuarantined() bool { + if o != nil && !isNil(o.IsQuarantined) { return true } @@ -868,13 +851,13 @@ func (o *TerraformPackageUpload) HasIsQuarantined() bool { } // SetIsQuarantined gets a reference to the given bool and assigns it to the IsQuarantined field. -func (o *TerraformPackageUpload) SetIsQuarantined(v bool) { +func (o *DartPackageUploadResponse) SetIsQuarantined(v bool) { o.IsQuarantined = &v } // GetIsSyncAwaiting returns the IsSyncAwaiting field value if set, zero value otherwise. -func (o *TerraformPackageUpload) GetIsSyncAwaiting() bool { - if o == nil || o.IsSyncAwaiting == nil { +func (o *DartPackageUploadResponse) GetIsSyncAwaiting() bool { + if o == nil || isNil(o.IsSyncAwaiting) { var ret bool return ret } @@ -883,16 +866,16 @@ func (o *TerraformPackageUpload) GetIsSyncAwaiting() bool { // GetIsSyncAwaitingOk returns a tuple with the IsSyncAwaiting field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *TerraformPackageUpload) GetIsSyncAwaitingOk() (*bool, bool) { - if o == nil || o.IsSyncAwaiting == nil { +func (o *DartPackageUploadResponse) GetIsSyncAwaitingOk() (*bool, bool) { + if o == nil || isNil(o.IsSyncAwaiting) { return nil, false } return o.IsSyncAwaiting, true } // HasIsSyncAwaiting returns a boolean if a field has been set. -func (o *TerraformPackageUpload) HasIsSyncAwaiting() bool { - if o != nil && o.IsSyncAwaiting != nil { +func (o *DartPackageUploadResponse) HasIsSyncAwaiting() bool { + if o != nil && !isNil(o.IsSyncAwaiting) { return true } @@ -900,13 +883,13 @@ func (o *TerraformPackageUpload) HasIsSyncAwaiting() bool { } // SetIsSyncAwaiting gets a reference to the given bool and assigns it to the IsSyncAwaiting field. -func (o *TerraformPackageUpload) SetIsSyncAwaiting(v bool) { +func (o *DartPackageUploadResponse) SetIsSyncAwaiting(v bool) { o.IsSyncAwaiting = &v } // GetIsSyncCompleted returns the IsSyncCompleted field value if set, zero value otherwise. -func (o *TerraformPackageUpload) GetIsSyncCompleted() bool { - if o == nil || o.IsSyncCompleted == nil { +func (o *DartPackageUploadResponse) GetIsSyncCompleted() bool { + if o == nil || isNil(o.IsSyncCompleted) { var ret bool return ret } @@ -915,16 +898,16 @@ func (o *TerraformPackageUpload) GetIsSyncCompleted() bool { // GetIsSyncCompletedOk returns a tuple with the IsSyncCompleted field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *TerraformPackageUpload) GetIsSyncCompletedOk() (*bool, bool) { - if o == nil || o.IsSyncCompleted == nil { +func (o *DartPackageUploadResponse) GetIsSyncCompletedOk() (*bool, bool) { + if o == nil || isNil(o.IsSyncCompleted) { return nil, false } return o.IsSyncCompleted, true } // HasIsSyncCompleted returns a boolean if a field has been set. -func (o *TerraformPackageUpload) HasIsSyncCompleted() bool { - if o != nil && o.IsSyncCompleted != nil { +func (o *DartPackageUploadResponse) HasIsSyncCompleted() bool { + if o != nil && !isNil(o.IsSyncCompleted) { return true } @@ -932,13 +915,13 @@ func (o *TerraformPackageUpload) HasIsSyncCompleted() bool { } // SetIsSyncCompleted gets a reference to the given bool and assigns it to the IsSyncCompleted field. -func (o *TerraformPackageUpload) SetIsSyncCompleted(v bool) { +func (o *DartPackageUploadResponse) SetIsSyncCompleted(v bool) { o.IsSyncCompleted = &v } // GetIsSyncFailed returns the IsSyncFailed field value if set, zero value otherwise. -func (o *TerraformPackageUpload) GetIsSyncFailed() bool { - if o == nil || o.IsSyncFailed == nil { +func (o *DartPackageUploadResponse) GetIsSyncFailed() bool { + if o == nil || isNil(o.IsSyncFailed) { var ret bool return ret } @@ -947,16 +930,16 @@ func (o *TerraformPackageUpload) GetIsSyncFailed() bool { // GetIsSyncFailedOk returns a tuple with the IsSyncFailed field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *TerraformPackageUpload) GetIsSyncFailedOk() (*bool, bool) { - if o == nil || o.IsSyncFailed == nil { +func (o *DartPackageUploadResponse) GetIsSyncFailedOk() (*bool, bool) { + if o == nil || isNil(o.IsSyncFailed) { return nil, false } return o.IsSyncFailed, true } // HasIsSyncFailed returns a boolean if a field has been set. -func (o *TerraformPackageUpload) HasIsSyncFailed() bool { - if o != nil && o.IsSyncFailed != nil { +func (o *DartPackageUploadResponse) HasIsSyncFailed() bool { + if o != nil && !isNil(o.IsSyncFailed) { return true } @@ -964,13 +947,13 @@ func (o *TerraformPackageUpload) HasIsSyncFailed() bool { } // SetIsSyncFailed gets a reference to the given bool and assigns it to the IsSyncFailed field. -func (o *TerraformPackageUpload) SetIsSyncFailed(v bool) { +func (o *DartPackageUploadResponse) SetIsSyncFailed(v bool) { o.IsSyncFailed = &v } // GetIsSyncInFlight returns the IsSyncInFlight field value if set, zero value otherwise. -func (o *TerraformPackageUpload) GetIsSyncInFlight() bool { - if o == nil || o.IsSyncInFlight == nil { +func (o *DartPackageUploadResponse) GetIsSyncInFlight() bool { + if o == nil || isNil(o.IsSyncInFlight) { var ret bool return ret } @@ -979,16 +962,16 @@ func (o *TerraformPackageUpload) GetIsSyncInFlight() bool { // GetIsSyncInFlightOk returns a tuple with the IsSyncInFlight field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *TerraformPackageUpload) GetIsSyncInFlightOk() (*bool, bool) { - if o == nil || o.IsSyncInFlight == nil { +func (o *DartPackageUploadResponse) GetIsSyncInFlightOk() (*bool, bool) { + if o == nil || isNil(o.IsSyncInFlight) { return nil, false } return o.IsSyncInFlight, true } // HasIsSyncInFlight returns a boolean if a field has been set. -func (o *TerraformPackageUpload) HasIsSyncInFlight() bool { - if o != nil && o.IsSyncInFlight != nil { +func (o *DartPackageUploadResponse) HasIsSyncInFlight() bool { + if o != nil && !isNil(o.IsSyncInFlight) { return true } @@ -996,13 +979,13 @@ func (o *TerraformPackageUpload) HasIsSyncInFlight() bool { } // SetIsSyncInFlight gets a reference to the given bool and assigns it to the IsSyncInFlight field. -func (o *TerraformPackageUpload) SetIsSyncInFlight(v bool) { +func (o *DartPackageUploadResponse) SetIsSyncInFlight(v bool) { o.IsSyncInFlight = &v } // GetIsSyncInProgress returns the IsSyncInProgress field value if set, zero value otherwise. -func (o *TerraformPackageUpload) GetIsSyncInProgress() bool { - if o == nil || o.IsSyncInProgress == nil { +func (o *DartPackageUploadResponse) GetIsSyncInProgress() bool { + if o == nil || isNil(o.IsSyncInProgress) { var ret bool return ret } @@ -1011,16 +994,16 @@ func (o *TerraformPackageUpload) GetIsSyncInProgress() bool { // GetIsSyncInProgressOk returns a tuple with the IsSyncInProgress field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *TerraformPackageUpload) GetIsSyncInProgressOk() (*bool, bool) { - if o == nil || o.IsSyncInProgress == nil { +func (o *DartPackageUploadResponse) GetIsSyncInProgressOk() (*bool, bool) { + if o == nil || isNil(o.IsSyncInProgress) { return nil, false } return o.IsSyncInProgress, true } // HasIsSyncInProgress returns a boolean if a field has been set. -func (o *TerraformPackageUpload) HasIsSyncInProgress() bool { - if o != nil && o.IsSyncInProgress != nil { +func (o *DartPackageUploadResponse) HasIsSyncInProgress() bool { + if o != nil && !isNil(o.IsSyncInProgress) { return true } @@ -1028,13 +1011,13 @@ func (o *TerraformPackageUpload) HasIsSyncInProgress() bool { } // SetIsSyncInProgress gets a reference to the given bool and assigns it to the IsSyncInProgress field. -func (o *TerraformPackageUpload) SetIsSyncInProgress(v bool) { +func (o *DartPackageUploadResponse) SetIsSyncInProgress(v bool) { o.IsSyncInProgress = &v } // GetLicense returns the License field value if set, zero value otherwise. -func (o *TerraformPackageUpload) GetLicense() string { - if o == nil || o.License == nil { +func (o *DartPackageUploadResponse) GetLicense() string { + if o == nil || isNil(o.License) { var ret string return ret } @@ -1043,16 +1026,16 @@ func (o *TerraformPackageUpload) GetLicense() string { // GetLicenseOk returns a tuple with the License field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *TerraformPackageUpload) GetLicenseOk() (*string, bool) { - if o == nil || o.License == nil { +func (o *DartPackageUploadResponse) GetLicenseOk() (*string, bool) { + if o == nil || isNil(o.License) { return nil, false } return o.License, true } // HasLicense returns a boolean if a field has been set. -func (o *TerraformPackageUpload) HasLicense() bool { - if o != nil && o.License != nil { +func (o *DartPackageUploadResponse) HasLicense() bool { + if o != nil && !isNil(o.License) { return true } @@ -1060,13 +1043,13 @@ func (o *TerraformPackageUpload) HasLicense() bool { } // SetLicense gets a reference to the given string and assigns it to the License field. -func (o *TerraformPackageUpload) SetLicense(v string) { +func (o *DartPackageUploadResponse) SetLicense(v string) { o.License = &v } // GetName returns the Name field value if set, zero value otherwise. -func (o *TerraformPackageUpload) GetName() string { - if o == nil || o.Name == nil { +func (o *DartPackageUploadResponse) GetName() string { + if o == nil || isNil(o.Name) { var ret string return ret } @@ -1075,16 +1058,16 @@ func (o *TerraformPackageUpload) GetName() string { // GetNameOk returns a tuple with the Name field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *TerraformPackageUpload) GetNameOk() (*string, bool) { - if o == nil || o.Name == nil { +func (o *DartPackageUploadResponse) GetNameOk() (*string, bool) { + if o == nil || isNil(o.Name) { return nil, false } return o.Name, true } // HasName returns a boolean if a field has been set. -func (o *TerraformPackageUpload) HasName() bool { - if o != nil && o.Name != nil { +func (o *DartPackageUploadResponse) HasName() bool { + if o != nil && !isNil(o.Name) { return true } @@ -1092,13 +1075,13 @@ func (o *TerraformPackageUpload) HasName() bool { } // SetName gets a reference to the given string and assigns it to the Name field. -func (o *TerraformPackageUpload) SetName(v string) { +func (o *DartPackageUploadResponse) SetName(v string) { o.Name = &v } // GetNamespace returns the Namespace field value if set, zero value otherwise. -func (o *TerraformPackageUpload) GetNamespace() string { - if o == nil || o.Namespace == nil { +func (o *DartPackageUploadResponse) GetNamespace() string { + if o == nil || isNil(o.Namespace) { var ret string return ret } @@ -1107,16 +1090,16 @@ func (o *TerraformPackageUpload) GetNamespace() string { // GetNamespaceOk returns a tuple with the Namespace field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *TerraformPackageUpload) GetNamespaceOk() (*string, bool) { - if o == nil || o.Namespace == nil { +func (o *DartPackageUploadResponse) GetNamespaceOk() (*string, bool) { + if o == nil || isNil(o.Namespace) { return nil, false } return o.Namespace, true } // HasNamespace returns a boolean if a field has been set. -func (o *TerraformPackageUpload) HasNamespace() bool { - if o != nil && o.Namespace != nil { +func (o *DartPackageUploadResponse) HasNamespace() bool { + if o != nil && !isNil(o.Namespace) { return true } @@ -1124,13 +1107,13 @@ func (o *TerraformPackageUpload) HasNamespace() bool { } // SetNamespace gets a reference to the given string and assigns it to the Namespace field. -func (o *TerraformPackageUpload) SetNamespace(v string) { +func (o *DartPackageUploadResponse) SetNamespace(v string) { o.Namespace = &v } // GetNamespaceUrl returns the NamespaceUrl field value if set, zero value otherwise. -func (o *TerraformPackageUpload) GetNamespaceUrl() string { - if o == nil || o.NamespaceUrl == nil { +func (o *DartPackageUploadResponse) GetNamespaceUrl() string { + if o == nil || isNil(o.NamespaceUrl) { var ret string return ret } @@ -1139,16 +1122,16 @@ func (o *TerraformPackageUpload) GetNamespaceUrl() string { // GetNamespaceUrlOk returns a tuple with the NamespaceUrl field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *TerraformPackageUpload) GetNamespaceUrlOk() (*string, bool) { - if o == nil || o.NamespaceUrl == nil { +func (o *DartPackageUploadResponse) GetNamespaceUrlOk() (*string, bool) { + if o == nil || isNil(o.NamespaceUrl) { return nil, false } return o.NamespaceUrl, true } // HasNamespaceUrl returns a boolean if a field has been set. -func (o *TerraformPackageUpload) HasNamespaceUrl() bool { - if o != nil && o.NamespaceUrl != nil { +func (o *DartPackageUploadResponse) HasNamespaceUrl() bool { + if o != nil && !isNil(o.NamespaceUrl) { return true } @@ -1156,13 +1139,13 @@ func (o *TerraformPackageUpload) HasNamespaceUrl() bool { } // SetNamespaceUrl gets a reference to the given string and assigns it to the NamespaceUrl field. -func (o *TerraformPackageUpload) SetNamespaceUrl(v string) { +func (o *DartPackageUploadResponse) SetNamespaceUrl(v string) { o.NamespaceUrl = &v } // GetNumFiles returns the NumFiles field value if set, zero value otherwise. -func (o *TerraformPackageUpload) GetNumFiles() int64 { - if o == nil || o.NumFiles == nil { +func (o *DartPackageUploadResponse) GetNumFiles() int64 { + if o == nil || isNil(o.NumFiles) { var ret int64 return ret } @@ -1171,16 +1154,16 @@ func (o *TerraformPackageUpload) GetNumFiles() int64 { // GetNumFilesOk returns a tuple with the NumFiles field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *TerraformPackageUpload) GetNumFilesOk() (*int64, bool) { - if o == nil || o.NumFiles == nil { +func (o *DartPackageUploadResponse) GetNumFilesOk() (*int64, bool) { + if o == nil || isNil(o.NumFiles) { return nil, false } return o.NumFiles, true } // HasNumFiles returns a boolean if a field has been set. -func (o *TerraformPackageUpload) HasNumFiles() bool { - if o != nil && o.NumFiles != nil { +func (o *DartPackageUploadResponse) HasNumFiles() bool { + if o != nil && !isNil(o.NumFiles) { return true } @@ -1188,13 +1171,77 @@ func (o *TerraformPackageUpload) HasNumFiles() bool { } // SetNumFiles gets a reference to the given int64 and assigns it to the NumFiles field. -func (o *TerraformPackageUpload) SetNumFiles(v int64) { +func (o *DartPackageUploadResponse) SetNumFiles(v int64) { o.NumFiles = &v } +// GetOriginRepository returns the OriginRepository field value if set, zero value otherwise. +func (o *DartPackageUploadResponse) GetOriginRepository() string { + if o == nil || isNil(o.OriginRepository) { + var ret string + return ret + } + return *o.OriginRepository +} + +// GetOriginRepositoryOk returns a tuple with the OriginRepository field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *DartPackageUploadResponse) GetOriginRepositoryOk() (*string, bool) { + if o == nil || isNil(o.OriginRepository) { + return nil, false + } + return o.OriginRepository, true +} + +// HasOriginRepository returns a boolean if a field has been set. +func (o *DartPackageUploadResponse) HasOriginRepository() bool { + if o != nil && !isNil(o.OriginRepository) { + return true + } + + return false +} + +// SetOriginRepository gets a reference to the given string and assigns it to the OriginRepository field. +func (o *DartPackageUploadResponse) SetOriginRepository(v string) { + o.OriginRepository = &v +} + +// GetOriginRepositoryUrl returns the OriginRepositoryUrl field value if set, zero value otherwise. +func (o *DartPackageUploadResponse) GetOriginRepositoryUrl() string { + if o == nil || isNil(o.OriginRepositoryUrl) { + var ret string + return ret + } + return *o.OriginRepositoryUrl +} + +// GetOriginRepositoryUrlOk returns a tuple with the OriginRepositoryUrl field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *DartPackageUploadResponse) GetOriginRepositoryUrlOk() (*string, bool) { + if o == nil || isNil(o.OriginRepositoryUrl) { + return nil, false + } + return o.OriginRepositoryUrl, true +} + +// HasOriginRepositoryUrl returns a boolean if a field has been set. +func (o *DartPackageUploadResponse) HasOriginRepositoryUrl() bool { + if o != nil && !isNil(o.OriginRepositoryUrl) { + return true + } + + return false +} + +// SetOriginRepositoryUrl gets a reference to the given string and assigns it to the OriginRepositoryUrl field. +func (o *DartPackageUploadResponse) SetOriginRepositoryUrl(v string) { + o.OriginRepositoryUrl = &v +} + // GetPackageType returns the PackageType field value if set, zero value otherwise. -func (o *TerraformPackageUpload) GetPackageType() int64 { - if o == nil || o.PackageType == nil { +func (o *DartPackageUploadResponse) GetPackageType() int64 { + if o == nil || isNil(o.PackageType) { var ret int64 return ret } @@ -1203,16 +1250,16 @@ func (o *TerraformPackageUpload) GetPackageType() int64 { // GetPackageTypeOk returns a tuple with the PackageType field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *TerraformPackageUpload) GetPackageTypeOk() (*int64, bool) { - if o == nil || o.PackageType == nil { +func (o *DartPackageUploadResponse) GetPackageTypeOk() (*int64, bool) { + if o == nil || isNil(o.PackageType) { return nil, false } return o.PackageType, true } // HasPackageType returns a boolean if a field has been set. -func (o *TerraformPackageUpload) HasPackageType() bool { - if o != nil && o.PackageType != nil { +func (o *DartPackageUploadResponse) HasPackageType() bool { + if o != nil && !isNil(o.PackageType) { return true } @@ -1220,13 +1267,13 @@ func (o *TerraformPackageUpload) HasPackageType() bool { } // SetPackageType gets a reference to the given int64 and assigns it to the PackageType field. -func (o *TerraformPackageUpload) SetPackageType(v int64) { +func (o *DartPackageUploadResponse) SetPackageType(v int64) { o.PackageType = &v } // GetRelease returns the Release field value if set, zero value otherwise. -func (o *TerraformPackageUpload) GetRelease() string { - if o == nil || o.Release == nil { +func (o *DartPackageUploadResponse) GetRelease() string { + if o == nil || isNil(o.Release) { var ret string return ret } @@ -1235,16 +1282,16 @@ func (o *TerraformPackageUpload) GetRelease() string { // GetReleaseOk returns a tuple with the Release field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *TerraformPackageUpload) GetReleaseOk() (*string, bool) { - if o == nil || o.Release == nil { +func (o *DartPackageUploadResponse) GetReleaseOk() (*string, bool) { + if o == nil || isNil(o.Release) { return nil, false } return o.Release, true } // HasRelease returns a boolean if a field has been set. -func (o *TerraformPackageUpload) HasRelease() bool { - if o != nil && o.Release != nil { +func (o *DartPackageUploadResponse) HasRelease() bool { + if o != nil && !isNil(o.Release) { return true } @@ -1252,13 +1299,13 @@ func (o *TerraformPackageUpload) HasRelease() bool { } // SetRelease gets a reference to the given string and assigns it to the Release field. -func (o *TerraformPackageUpload) SetRelease(v string) { +func (o *DartPackageUploadResponse) SetRelease(v string) { o.Release = &v } // GetRepository returns the Repository field value if set, zero value otherwise. -func (o *TerraformPackageUpload) GetRepository() string { - if o == nil || o.Repository == nil { +func (o *DartPackageUploadResponse) GetRepository() string { + if o == nil || isNil(o.Repository) { var ret string return ret } @@ -1267,16 +1314,16 @@ func (o *TerraformPackageUpload) GetRepository() string { // GetRepositoryOk returns a tuple with the Repository field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *TerraformPackageUpload) GetRepositoryOk() (*string, bool) { - if o == nil || o.Repository == nil { +func (o *DartPackageUploadResponse) GetRepositoryOk() (*string, bool) { + if o == nil || isNil(o.Repository) { return nil, false } return o.Repository, true } // HasRepository returns a boolean if a field has been set. -func (o *TerraformPackageUpload) HasRepository() bool { - if o != nil && o.Repository != nil { +func (o *DartPackageUploadResponse) HasRepository() bool { + if o != nil && !isNil(o.Repository) { return true } @@ -1284,13 +1331,13 @@ func (o *TerraformPackageUpload) HasRepository() bool { } // SetRepository gets a reference to the given string and assigns it to the Repository field. -func (o *TerraformPackageUpload) SetRepository(v string) { +func (o *DartPackageUploadResponse) SetRepository(v string) { o.Repository = &v } // GetRepositoryUrl returns the RepositoryUrl field value if set, zero value otherwise. -func (o *TerraformPackageUpload) GetRepositoryUrl() string { - if o == nil || o.RepositoryUrl == nil { +func (o *DartPackageUploadResponse) GetRepositoryUrl() string { + if o == nil || isNil(o.RepositoryUrl) { var ret string return ret } @@ -1299,16 +1346,16 @@ func (o *TerraformPackageUpload) GetRepositoryUrl() string { // GetRepositoryUrlOk returns a tuple with the RepositoryUrl field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *TerraformPackageUpload) GetRepositoryUrlOk() (*string, bool) { - if o == nil || o.RepositoryUrl == nil { +func (o *DartPackageUploadResponse) GetRepositoryUrlOk() (*string, bool) { + if o == nil || isNil(o.RepositoryUrl) { return nil, false } return o.RepositoryUrl, true } // HasRepositoryUrl returns a boolean if a field has been set. -func (o *TerraformPackageUpload) HasRepositoryUrl() bool { - if o != nil && o.RepositoryUrl != nil { +func (o *DartPackageUploadResponse) HasRepositoryUrl() bool { + if o != nil && !isNil(o.RepositoryUrl) { return true } @@ -1316,14 +1363,14 @@ func (o *TerraformPackageUpload) HasRepositoryUrl() bool { } // SetRepositoryUrl gets a reference to the given string and assigns it to the RepositoryUrl field. -func (o *TerraformPackageUpload) SetRepositoryUrl(v string) { +func (o *DartPackageUploadResponse) SetRepositoryUrl(v string) { o.RepositoryUrl = &v } // GetSecurityScanCompletedAt returns the SecurityScanCompletedAt field value if set, zero value otherwise. -func (o *TerraformPackageUpload) GetSecurityScanCompletedAt() string { - if o == nil || o.SecurityScanCompletedAt == nil { - var ret string +func (o *DartPackageUploadResponse) GetSecurityScanCompletedAt() time.Time { + if o == nil || isNil(o.SecurityScanCompletedAt) { + var ret time.Time return ret } return *o.SecurityScanCompletedAt @@ -1331,31 +1378,31 @@ func (o *TerraformPackageUpload) GetSecurityScanCompletedAt() string { // GetSecurityScanCompletedAtOk returns a tuple with the SecurityScanCompletedAt field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *TerraformPackageUpload) GetSecurityScanCompletedAtOk() (*string, bool) { - if o == nil || o.SecurityScanCompletedAt == nil { +func (o *DartPackageUploadResponse) GetSecurityScanCompletedAtOk() (*time.Time, bool) { + if o == nil || isNil(o.SecurityScanCompletedAt) { return nil, false } return o.SecurityScanCompletedAt, true } // HasSecurityScanCompletedAt returns a boolean if a field has been set. -func (o *TerraformPackageUpload) HasSecurityScanCompletedAt() bool { - if o != nil && o.SecurityScanCompletedAt != nil { +func (o *DartPackageUploadResponse) HasSecurityScanCompletedAt() bool { + if o != nil && !isNil(o.SecurityScanCompletedAt) { return true } return false } -// SetSecurityScanCompletedAt gets a reference to the given string and assigns it to the SecurityScanCompletedAt field. -func (o *TerraformPackageUpload) SetSecurityScanCompletedAt(v string) { +// SetSecurityScanCompletedAt gets a reference to the given time.Time and assigns it to the SecurityScanCompletedAt field. +func (o *DartPackageUploadResponse) SetSecurityScanCompletedAt(v time.Time) { o.SecurityScanCompletedAt = &v } // GetSecurityScanStartedAt returns the SecurityScanStartedAt field value if set, zero value otherwise. -func (o *TerraformPackageUpload) GetSecurityScanStartedAt() string { - if o == nil || o.SecurityScanStartedAt == nil { - var ret string +func (o *DartPackageUploadResponse) GetSecurityScanStartedAt() time.Time { + if o == nil || isNil(o.SecurityScanStartedAt) { + var ret time.Time return ret } return *o.SecurityScanStartedAt @@ -1363,63 +1410,74 @@ func (o *TerraformPackageUpload) GetSecurityScanStartedAt() string { // GetSecurityScanStartedAtOk returns a tuple with the SecurityScanStartedAt field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *TerraformPackageUpload) GetSecurityScanStartedAtOk() (*string, bool) { - if o == nil || o.SecurityScanStartedAt == nil { +func (o *DartPackageUploadResponse) GetSecurityScanStartedAtOk() (*time.Time, bool) { + if o == nil || isNil(o.SecurityScanStartedAt) { return nil, false } return o.SecurityScanStartedAt, true } // HasSecurityScanStartedAt returns a boolean if a field has been set. -func (o *TerraformPackageUpload) HasSecurityScanStartedAt() bool { - if o != nil && o.SecurityScanStartedAt != nil { +func (o *DartPackageUploadResponse) HasSecurityScanStartedAt() bool { + if o != nil && !isNil(o.SecurityScanStartedAt) { return true } return false } -// SetSecurityScanStartedAt gets a reference to the given string and assigns it to the SecurityScanStartedAt field. -func (o *TerraformPackageUpload) SetSecurityScanStartedAt(v string) { +// SetSecurityScanStartedAt gets a reference to the given time.Time and assigns it to the SecurityScanStartedAt field. +func (o *DartPackageUploadResponse) SetSecurityScanStartedAt(v time.Time) { o.SecurityScanStartedAt = &v } -// GetSecurityScanStatus returns the SecurityScanStatus field value if set, zero value otherwise. -func (o *TerraformPackageUpload) GetSecurityScanStatus() string { - if o == nil || o.SecurityScanStatus == nil { +// GetSecurityScanStatus returns the SecurityScanStatus field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *DartPackageUploadResponse) GetSecurityScanStatus() string { + if o == nil || isNil(o.SecurityScanStatus.Get()) { var ret string return ret } - return *o.SecurityScanStatus + return *o.SecurityScanStatus.Get() } // GetSecurityScanStatusOk returns a tuple with the SecurityScanStatus field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *TerraformPackageUpload) GetSecurityScanStatusOk() (*string, bool) { - if o == nil || o.SecurityScanStatus == nil { +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *DartPackageUploadResponse) GetSecurityScanStatusOk() (*string, bool) { + if o == nil { return nil, false } - return o.SecurityScanStatus, true + return o.SecurityScanStatus.Get(), o.SecurityScanStatus.IsSet() } // HasSecurityScanStatus returns a boolean if a field has been set. -func (o *TerraformPackageUpload) HasSecurityScanStatus() bool { - if o != nil && o.SecurityScanStatus != nil { +func (o *DartPackageUploadResponse) HasSecurityScanStatus() bool { + if o != nil && o.SecurityScanStatus.IsSet() { return true } return false } -// SetSecurityScanStatus gets a reference to the given string and assigns it to the SecurityScanStatus field. -func (o *TerraformPackageUpload) SetSecurityScanStatus(v string) { - o.SecurityScanStatus = &v +// SetSecurityScanStatus gets a reference to the given NullableString and assigns it to the SecurityScanStatus field. +func (o *DartPackageUploadResponse) SetSecurityScanStatus(v string) { + o.SecurityScanStatus.Set(&v) +} + +// SetSecurityScanStatusNil sets the value for SecurityScanStatus to be an explicit nil +func (o *DartPackageUploadResponse) SetSecurityScanStatusNil() { + o.SecurityScanStatus.Set(nil) +} + +// UnsetSecurityScanStatus ensures that no value is present for SecurityScanStatus, not even an explicit nil +func (o *DartPackageUploadResponse) UnsetSecurityScanStatus() { + o.SecurityScanStatus.Unset() } // GetSecurityScanStatusUpdatedAt returns the SecurityScanStatusUpdatedAt field value if set, zero value otherwise. -func (o *TerraformPackageUpload) GetSecurityScanStatusUpdatedAt() string { - if o == nil || o.SecurityScanStatusUpdatedAt == nil { - var ret string +func (o *DartPackageUploadResponse) GetSecurityScanStatusUpdatedAt() time.Time { + if o == nil || isNil(o.SecurityScanStatusUpdatedAt) { + var ret time.Time return ret } return *o.SecurityScanStatusUpdatedAt @@ -1427,30 +1485,30 @@ func (o *TerraformPackageUpload) GetSecurityScanStatusUpdatedAt() string { // GetSecurityScanStatusUpdatedAtOk returns a tuple with the SecurityScanStatusUpdatedAt field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *TerraformPackageUpload) GetSecurityScanStatusUpdatedAtOk() (*string, bool) { - if o == nil || o.SecurityScanStatusUpdatedAt == nil { +func (o *DartPackageUploadResponse) GetSecurityScanStatusUpdatedAtOk() (*time.Time, bool) { + if o == nil || isNil(o.SecurityScanStatusUpdatedAt) { return nil, false } return o.SecurityScanStatusUpdatedAt, true } // HasSecurityScanStatusUpdatedAt returns a boolean if a field has been set. -func (o *TerraformPackageUpload) HasSecurityScanStatusUpdatedAt() bool { - if o != nil && o.SecurityScanStatusUpdatedAt != nil { +func (o *DartPackageUploadResponse) HasSecurityScanStatusUpdatedAt() bool { + if o != nil && !isNil(o.SecurityScanStatusUpdatedAt) { return true } return false } -// SetSecurityScanStatusUpdatedAt gets a reference to the given string and assigns it to the SecurityScanStatusUpdatedAt field. -func (o *TerraformPackageUpload) SetSecurityScanStatusUpdatedAt(v string) { +// SetSecurityScanStatusUpdatedAt gets a reference to the given time.Time and assigns it to the SecurityScanStatusUpdatedAt field. +func (o *DartPackageUploadResponse) SetSecurityScanStatusUpdatedAt(v time.Time) { o.SecurityScanStatusUpdatedAt = &v } // GetSelfHtmlUrl returns the SelfHtmlUrl field value if set, zero value otherwise. -func (o *TerraformPackageUpload) GetSelfHtmlUrl() string { - if o == nil || o.SelfHtmlUrl == nil { +func (o *DartPackageUploadResponse) GetSelfHtmlUrl() string { + if o == nil || isNil(o.SelfHtmlUrl) { var ret string return ret } @@ -1459,16 +1517,16 @@ func (o *TerraformPackageUpload) GetSelfHtmlUrl() string { // GetSelfHtmlUrlOk returns a tuple with the SelfHtmlUrl field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *TerraformPackageUpload) GetSelfHtmlUrlOk() (*string, bool) { - if o == nil || o.SelfHtmlUrl == nil { +func (o *DartPackageUploadResponse) GetSelfHtmlUrlOk() (*string, bool) { + if o == nil || isNil(o.SelfHtmlUrl) { return nil, false } return o.SelfHtmlUrl, true } // HasSelfHtmlUrl returns a boolean if a field has been set. -func (o *TerraformPackageUpload) HasSelfHtmlUrl() bool { - if o != nil && o.SelfHtmlUrl != nil { +func (o *DartPackageUploadResponse) HasSelfHtmlUrl() bool { + if o != nil && !isNil(o.SelfHtmlUrl) { return true } @@ -1476,13 +1534,13 @@ func (o *TerraformPackageUpload) HasSelfHtmlUrl() bool { } // SetSelfHtmlUrl gets a reference to the given string and assigns it to the SelfHtmlUrl field. -func (o *TerraformPackageUpload) SetSelfHtmlUrl(v string) { +func (o *DartPackageUploadResponse) SetSelfHtmlUrl(v string) { o.SelfHtmlUrl = &v } // GetSelfUrl returns the SelfUrl field value if set, zero value otherwise. -func (o *TerraformPackageUpload) GetSelfUrl() string { - if o == nil || o.SelfUrl == nil { +func (o *DartPackageUploadResponse) GetSelfUrl() string { + if o == nil || isNil(o.SelfUrl) { var ret string return ret } @@ -1491,16 +1549,16 @@ func (o *TerraformPackageUpload) GetSelfUrl() string { // GetSelfUrlOk returns a tuple with the SelfUrl field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *TerraformPackageUpload) GetSelfUrlOk() (*string, bool) { - if o == nil || o.SelfUrl == nil { +func (o *DartPackageUploadResponse) GetSelfUrlOk() (*string, bool) { + if o == nil || isNil(o.SelfUrl) { return nil, false } return o.SelfUrl, true } // HasSelfUrl returns a boolean if a field has been set. -func (o *TerraformPackageUpload) HasSelfUrl() bool { - if o != nil && o.SelfUrl != nil { +func (o *DartPackageUploadResponse) HasSelfUrl() bool { + if o != nil && !isNil(o.SelfUrl) { return true } @@ -1508,45 +1566,56 @@ func (o *TerraformPackageUpload) HasSelfUrl() bool { } // SetSelfUrl gets a reference to the given string and assigns it to the SelfUrl field. -func (o *TerraformPackageUpload) SetSelfUrl(v string) { +func (o *DartPackageUploadResponse) SetSelfUrl(v string) { o.SelfUrl = &v } -// GetSignatureUrl returns the SignatureUrl field value if set, zero value otherwise. -func (o *TerraformPackageUpload) GetSignatureUrl() string { - if o == nil || o.SignatureUrl == nil { +// GetSignatureUrl returns the SignatureUrl field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *DartPackageUploadResponse) GetSignatureUrl() string { + if o == nil || isNil(o.SignatureUrl.Get()) { var ret string return ret } - return *o.SignatureUrl + return *o.SignatureUrl.Get() } // GetSignatureUrlOk returns a tuple with the SignatureUrl field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *TerraformPackageUpload) GetSignatureUrlOk() (*string, bool) { - if o == nil || o.SignatureUrl == nil { +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *DartPackageUploadResponse) GetSignatureUrlOk() (*string, bool) { + if o == nil { return nil, false } - return o.SignatureUrl, true + return o.SignatureUrl.Get(), o.SignatureUrl.IsSet() } // HasSignatureUrl returns a boolean if a field has been set. -func (o *TerraformPackageUpload) HasSignatureUrl() bool { - if o != nil && o.SignatureUrl != nil { +func (o *DartPackageUploadResponse) HasSignatureUrl() bool { + if o != nil && o.SignatureUrl.IsSet() { return true } return false } -// SetSignatureUrl gets a reference to the given string and assigns it to the SignatureUrl field. -func (o *TerraformPackageUpload) SetSignatureUrl(v string) { - o.SignatureUrl = &v +// SetSignatureUrl gets a reference to the given NullableString and assigns it to the SignatureUrl field. +func (o *DartPackageUploadResponse) SetSignatureUrl(v string) { + o.SignatureUrl.Set(&v) +} + +// SetSignatureUrlNil sets the value for SignatureUrl to be an explicit nil +func (o *DartPackageUploadResponse) SetSignatureUrlNil() { + o.SignatureUrl.Set(nil) +} + +// UnsetSignatureUrl ensures that no value is present for SignatureUrl, not even an explicit nil +func (o *DartPackageUploadResponse) UnsetSignatureUrl() { + o.SignatureUrl.Unset() } // GetSize returns the Size field value if set, zero value otherwise. -func (o *TerraformPackageUpload) GetSize() int64 { - if o == nil || o.Size == nil { +func (o *DartPackageUploadResponse) GetSize() int64 { + if o == nil || isNil(o.Size) { var ret int64 return ret } @@ -1555,16 +1624,16 @@ func (o *TerraformPackageUpload) GetSize() int64 { // GetSizeOk returns a tuple with the Size field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *TerraformPackageUpload) GetSizeOk() (*int64, bool) { - if o == nil || o.Size == nil { +func (o *DartPackageUploadResponse) GetSizeOk() (*int64, bool) { + if o == nil || isNil(o.Size) { return nil, false } return o.Size, true } // HasSize returns a boolean if a field has been set. -func (o *TerraformPackageUpload) HasSize() bool { - if o != nil && o.Size != nil { +func (o *DartPackageUploadResponse) HasSize() bool { + if o != nil && !isNil(o.Size) { return true } @@ -1572,13 +1641,13 @@ func (o *TerraformPackageUpload) HasSize() bool { } // SetSize gets a reference to the given int64 and assigns it to the Size field. -func (o *TerraformPackageUpload) SetSize(v int64) { +func (o *DartPackageUploadResponse) SetSize(v int64) { o.Size = &v } // GetSlug returns the Slug field value if set, zero value otherwise. -func (o *TerraformPackageUpload) GetSlug() string { - if o == nil || o.Slug == nil { +func (o *DartPackageUploadResponse) GetSlug() string { + if o == nil || isNil(o.Slug) { var ret string return ret } @@ -1587,16 +1656,16 @@ func (o *TerraformPackageUpload) GetSlug() string { // GetSlugOk returns a tuple with the Slug field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *TerraformPackageUpload) GetSlugOk() (*string, bool) { - if o == nil || o.Slug == nil { +func (o *DartPackageUploadResponse) GetSlugOk() (*string, bool) { + if o == nil || isNil(o.Slug) { return nil, false } return o.Slug, true } // HasSlug returns a boolean if a field has been set. -func (o *TerraformPackageUpload) HasSlug() bool { - if o != nil && o.Slug != nil { +func (o *DartPackageUploadResponse) HasSlug() bool { + if o != nil && !isNil(o.Slug) { return true } @@ -1604,13 +1673,13 @@ func (o *TerraformPackageUpload) HasSlug() bool { } // SetSlug gets a reference to the given string and assigns it to the Slug field. -func (o *TerraformPackageUpload) SetSlug(v string) { +func (o *DartPackageUploadResponse) SetSlug(v string) { o.Slug = &v } // GetSlugPerm returns the SlugPerm field value if set, zero value otherwise. -func (o *TerraformPackageUpload) GetSlugPerm() string { - if o == nil || o.SlugPerm == nil { +func (o *DartPackageUploadResponse) GetSlugPerm() string { + if o == nil || isNil(o.SlugPerm) { var ret string return ret } @@ -1619,16 +1688,16 @@ func (o *TerraformPackageUpload) GetSlugPerm() string { // GetSlugPermOk returns a tuple with the SlugPerm field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *TerraformPackageUpload) GetSlugPermOk() (*string, bool) { - if o == nil || o.SlugPerm == nil { +func (o *DartPackageUploadResponse) GetSlugPermOk() (*string, bool) { + if o == nil || isNil(o.SlugPerm) { return nil, false } return o.SlugPerm, true } // HasSlugPerm returns a boolean if a field has been set. -func (o *TerraformPackageUpload) HasSlugPerm() bool { - if o != nil && o.SlugPerm != nil { +func (o *DartPackageUploadResponse) HasSlugPerm() bool { + if o != nil && !isNil(o.SlugPerm) { return true } @@ -1636,13 +1705,13 @@ func (o *TerraformPackageUpload) HasSlugPerm() bool { } // SetSlugPerm gets a reference to the given string and assigns it to the SlugPerm field. -func (o *TerraformPackageUpload) SetSlugPerm(v string) { +func (o *DartPackageUploadResponse) SetSlugPerm(v string) { o.SlugPerm = &v } // GetStage returns the Stage field value if set, zero value otherwise. -func (o *TerraformPackageUpload) GetStage() int64 { - if o == nil || o.Stage == nil { +func (o *DartPackageUploadResponse) GetStage() int64 { + if o == nil || isNil(o.Stage) { var ret int64 return ret } @@ -1651,16 +1720,16 @@ func (o *TerraformPackageUpload) GetStage() int64 { // GetStageOk returns a tuple with the Stage field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *TerraformPackageUpload) GetStageOk() (*int64, bool) { - if o == nil || o.Stage == nil { +func (o *DartPackageUploadResponse) GetStageOk() (*int64, bool) { + if o == nil || isNil(o.Stage) { return nil, false } return o.Stage, true } // HasStage returns a boolean if a field has been set. -func (o *TerraformPackageUpload) HasStage() bool { - if o != nil && o.Stage != nil { +func (o *DartPackageUploadResponse) HasStage() bool { + if o != nil && !isNil(o.Stage) { return true } @@ -1668,13 +1737,13 @@ func (o *TerraformPackageUpload) HasStage() bool { } // SetStage gets a reference to the given int64 and assigns it to the Stage field. -func (o *TerraformPackageUpload) SetStage(v int64) { +func (o *DartPackageUploadResponse) SetStage(v int64) { o.Stage = &v } // GetStageStr returns the StageStr field value if set, zero value otherwise. -func (o *TerraformPackageUpload) GetStageStr() string { - if o == nil || o.StageStr == nil { +func (o *DartPackageUploadResponse) GetStageStr() string { + if o == nil || isNil(o.StageStr) { var ret string return ret } @@ -1683,16 +1752,16 @@ func (o *TerraformPackageUpload) GetStageStr() string { // GetStageStrOk returns a tuple with the StageStr field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *TerraformPackageUpload) GetStageStrOk() (*string, bool) { - if o == nil || o.StageStr == nil { +func (o *DartPackageUploadResponse) GetStageStrOk() (*string, bool) { + if o == nil || isNil(o.StageStr) { return nil, false } return o.StageStr, true } // HasStageStr returns a boolean if a field has been set. -func (o *TerraformPackageUpload) HasStageStr() bool { - if o != nil && o.StageStr != nil { +func (o *DartPackageUploadResponse) HasStageStr() bool { + if o != nil && !isNil(o.StageStr) { return true } @@ -1700,14 +1769,14 @@ func (o *TerraformPackageUpload) HasStageStr() bool { } // SetStageStr gets a reference to the given string and assigns it to the StageStr field. -func (o *TerraformPackageUpload) SetStageStr(v string) { +func (o *DartPackageUploadResponse) SetStageStr(v string) { o.StageStr = &v } // GetStageUpdatedAt returns the StageUpdatedAt field value if set, zero value otherwise. -func (o *TerraformPackageUpload) GetStageUpdatedAt() string { - if o == nil || o.StageUpdatedAt == nil { - var ret string +func (o *DartPackageUploadResponse) GetStageUpdatedAt() time.Time { + if o == nil || isNil(o.StageUpdatedAt) { + var ret time.Time return ret } return *o.StageUpdatedAt @@ -1715,30 +1784,30 @@ func (o *TerraformPackageUpload) GetStageUpdatedAt() string { // GetStageUpdatedAtOk returns a tuple with the StageUpdatedAt field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *TerraformPackageUpload) GetStageUpdatedAtOk() (*string, bool) { - if o == nil || o.StageUpdatedAt == nil { +func (o *DartPackageUploadResponse) GetStageUpdatedAtOk() (*time.Time, bool) { + if o == nil || isNil(o.StageUpdatedAt) { return nil, false } return o.StageUpdatedAt, true } // HasStageUpdatedAt returns a boolean if a field has been set. -func (o *TerraformPackageUpload) HasStageUpdatedAt() bool { - if o != nil && o.StageUpdatedAt != nil { +func (o *DartPackageUploadResponse) HasStageUpdatedAt() bool { + if o != nil && !isNil(o.StageUpdatedAt) { return true } return false } -// SetStageUpdatedAt gets a reference to the given string and assigns it to the StageUpdatedAt field. -func (o *TerraformPackageUpload) SetStageUpdatedAt(v string) { +// SetStageUpdatedAt gets a reference to the given time.Time and assigns it to the StageUpdatedAt field. +func (o *DartPackageUploadResponse) SetStageUpdatedAt(v time.Time) { o.StageUpdatedAt = &v } // GetStatus returns the Status field value if set, zero value otherwise. -func (o *TerraformPackageUpload) GetStatus() int64 { - if o == nil || o.Status == nil { +func (o *DartPackageUploadResponse) GetStatus() int64 { + if o == nil || isNil(o.Status) { var ret int64 return ret } @@ -1747,16 +1816,16 @@ func (o *TerraformPackageUpload) GetStatus() int64 { // GetStatusOk returns a tuple with the Status field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *TerraformPackageUpload) GetStatusOk() (*int64, bool) { - if o == nil || o.Status == nil { +func (o *DartPackageUploadResponse) GetStatusOk() (*int64, bool) { + if o == nil || isNil(o.Status) { return nil, false } return o.Status, true } // HasStatus returns a boolean if a field has been set. -func (o *TerraformPackageUpload) HasStatus() bool { - if o != nil && o.Status != nil { +func (o *DartPackageUploadResponse) HasStatus() bool { + if o != nil && !isNil(o.Status) { return true } @@ -1764,13 +1833,13 @@ func (o *TerraformPackageUpload) HasStatus() bool { } // SetStatus gets a reference to the given int64 and assigns it to the Status field. -func (o *TerraformPackageUpload) SetStatus(v int64) { +func (o *DartPackageUploadResponse) SetStatus(v int64) { o.Status = &v } // GetStatusReason returns the StatusReason field value if set, zero value otherwise. -func (o *TerraformPackageUpload) GetStatusReason() string { - if o == nil || o.StatusReason == nil { +func (o *DartPackageUploadResponse) GetStatusReason() string { + if o == nil || isNil(o.StatusReason) { var ret string return ret } @@ -1779,16 +1848,16 @@ func (o *TerraformPackageUpload) GetStatusReason() string { // GetStatusReasonOk returns a tuple with the StatusReason field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *TerraformPackageUpload) GetStatusReasonOk() (*string, bool) { - if o == nil || o.StatusReason == nil { +func (o *DartPackageUploadResponse) GetStatusReasonOk() (*string, bool) { + if o == nil || isNil(o.StatusReason) { return nil, false } return o.StatusReason, true } // HasStatusReason returns a boolean if a field has been set. -func (o *TerraformPackageUpload) HasStatusReason() bool { - if o != nil && o.StatusReason != nil { +func (o *DartPackageUploadResponse) HasStatusReason() bool { + if o != nil && !isNil(o.StatusReason) { return true } @@ -1796,13 +1865,13 @@ func (o *TerraformPackageUpload) HasStatusReason() bool { } // SetStatusReason gets a reference to the given string and assigns it to the StatusReason field. -func (o *TerraformPackageUpload) SetStatusReason(v string) { +func (o *DartPackageUploadResponse) SetStatusReason(v string) { o.StatusReason = &v } // GetStatusStr returns the StatusStr field value if set, zero value otherwise. -func (o *TerraformPackageUpload) GetStatusStr() string { - if o == nil || o.StatusStr == nil { +func (o *DartPackageUploadResponse) GetStatusStr() string { + if o == nil || isNil(o.StatusStr) { var ret string return ret } @@ -1811,16 +1880,16 @@ func (o *TerraformPackageUpload) GetStatusStr() string { // GetStatusStrOk returns a tuple with the StatusStr field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *TerraformPackageUpload) GetStatusStrOk() (*string, bool) { - if o == nil || o.StatusStr == nil { +func (o *DartPackageUploadResponse) GetStatusStrOk() (*string, bool) { + if o == nil || isNil(o.StatusStr) { return nil, false } return o.StatusStr, true } // HasStatusStr returns a boolean if a field has been set. -func (o *TerraformPackageUpload) HasStatusStr() bool { - if o != nil && o.StatusStr != nil { +func (o *DartPackageUploadResponse) HasStatusStr() bool { + if o != nil && !isNil(o.StatusStr) { return true } @@ -1828,14 +1897,14 @@ func (o *TerraformPackageUpload) HasStatusStr() bool { } // SetStatusStr gets a reference to the given string and assigns it to the StatusStr field. -func (o *TerraformPackageUpload) SetStatusStr(v string) { +func (o *DartPackageUploadResponse) SetStatusStr(v string) { o.StatusStr = &v } // GetStatusUpdatedAt returns the StatusUpdatedAt field value if set, zero value otherwise. -func (o *TerraformPackageUpload) GetStatusUpdatedAt() string { - if o == nil || o.StatusUpdatedAt == nil { - var ret string +func (o *DartPackageUploadResponse) GetStatusUpdatedAt() time.Time { + if o == nil || isNil(o.StatusUpdatedAt) { + var ret time.Time return ret } return *o.StatusUpdatedAt @@ -1843,30 +1912,30 @@ func (o *TerraformPackageUpload) GetStatusUpdatedAt() string { // GetStatusUpdatedAtOk returns a tuple with the StatusUpdatedAt field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *TerraformPackageUpload) GetStatusUpdatedAtOk() (*string, bool) { - if o == nil || o.StatusUpdatedAt == nil { +func (o *DartPackageUploadResponse) GetStatusUpdatedAtOk() (*time.Time, bool) { + if o == nil || isNil(o.StatusUpdatedAt) { return nil, false } return o.StatusUpdatedAt, true } // HasStatusUpdatedAt returns a boolean if a field has been set. -func (o *TerraformPackageUpload) HasStatusUpdatedAt() bool { - if o != nil && o.StatusUpdatedAt != nil { +func (o *DartPackageUploadResponse) HasStatusUpdatedAt() bool { + if o != nil && !isNil(o.StatusUpdatedAt) { return true } return false } -// SetStatusUpdatedAt gets a reference to the given string and assigns it to the StatusUpdatedAt field. -func (o *TerraformPackageUpload) SetStatusUpdatedAt(v string) { +// SetStatusUpdatedAt gets a reference to the given time.Time and assigns it to the StatusUpdatedAt field. +func (o *DartPackageUploadResponse) SetStatusUpdatedAt(v time.Time) { o.StatusUpdatedAt = &v } // GetStatusUrl returns the StatusUrl field value if set, zero value otherwise. -func (o *TerraformPackageUpload) GetStatusUrl() string { - if o == nil || o.StatusUrl == nil { +func (o *DartPackageUploadResponse) GetStatusUrl() string { + if o == nil || isNil(o.StatusUrl) { var ret string return ret } @@ -1875,16 +1944,16 @@ func (o *TerraformPackageUpload) GetStatusUrl() string { // GetStatusUrlOk returns a tuple with the StatusUrl field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *TerraformPackageUpload) GetStatusUrlOk() (*string, bool) { - if o == nil || o.StatusUrl == nil { +func (o *DartPackageUploadResponse) GetStatusUrlOk() (*string, bool) { + if o == nil || isNil(o.StatusUrl) { return nil, false } return o.StatusUrl, true } // HasStatusUrl returns a boolean if a field has been set. -func (o *TerraformPackageUpload) HasStatusUrl() bool { - if o != nil && o.StatusUrl != nil { +func (o *DartPackageUploadResponse) HasStatusUrl() bool { + if o != nil && !isNil(o.StatusUrl) { return true } @@ -1892,13 +1961,13 @@ func (o *TerraformPackageUpload) HasStatusUrl() bool { } // SetStatusUrl gets a reference to the given string and assigns it to the StatusUrl field. -func (o *TerraformPackageUpload) SetStatusUrl(v string) { +func (o *DartPackageUploadResponse) SetStatusUrl(v string) { o.StatusUrl = &v } // GetSubtype returns the Subtype field value if set, zero value otherwise. -func (o *TerraformPackageUpload) GetSubtype() string { - if o == nil || o.Subtype == nil { +func (o *DartPackageUploadResponse) GetSubtype() string { + if o == nil || isNil(o.Subtype) { var ret string return ret } @@ -1907,16 +1976,16 @@ func (o *TerraformPackageUpload) GetSubtype() string { // GetSubtypeOk returns a tuple with the Subtype field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *TerraformPackageUpload) GetSubtypeOk() (*string, bool) { - if o == nil || o.Subtype == nil { +func (o *DartPackageUploadResponse) GetSubtypeOk() (*string, bool) { + if o == nil || isNil(o.Subtype) { return nil, false } return o.Subtype, true } // HasSubtype returns a boolean if a field has been set. -func (o *TerraformPackageUpload) HasSubtype() bool { - if o != nil && o.Subtype != nil { +func (o *DartPackageUploadResponse) HasSubtype() bool { + if o != nil && !isNil(o.Subtype) { return true } @@ -1924,13 +1993,13 @@ func (o *TerraformPackageUpload) HasSubtype() bool { } // SetSubtype gets a reference to the given string and assigns it to the Subtype field. -func (o *TerraformPackageUpload) SetSubtype(v string) { +func (o *DartPackageUploadResponse) SetSubtype(v string) { o.Subtype = &v } // GetSummary returns the Summary field value if set, zero value otherwise. -func (o *TerraformPackageUpload) GetSummary() string { - if o == nil || o.Summary == nil { +func (o *DartPackageUploadResponse) GetSummary() string { + if o == nil || isNil(o.Summary) { var ret string return ret } @@ -1939,16 +2008,16 @@ func (o *TerraformPackageUpload) GetSummary() string { // GetSummaryOk returns a tuple with the Summary field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *TerraformPackageUpload) GetSummaryOk() (*string, bool) { - if o == nil || o.Summary == nil { +func (o *DartPackageUploadResponse) GetSummaryOk() (*string, bool) { + if o == nil || isNil(o.Summary) { return nil, false } return o.Summary, true } // HasSummary returns a boolean if a field has been set. -func (o *TerraformPackageUpload) HasSummary() bool { - if o != nil && o.Summary != nil { +func (o *DartPackageUploadResponse) HasSummary() bool { + if o != nil && !isNil(o.Summary) { return true } @@ -1956,14 +2025,14 @@ func (o *TerraformPackageUpload) HasSummary() bool { } // SetSummary gets a reference to the given string and assigns it to the Summary field. -func (o *TerraformPackageUpload) SetSummary(v string) { +func (o *DartPackageUploadResponse) SetSummary(v string) { o.Summary = &v } // GetSyncFinishedAt returns the SyncFinishedAt field value if set, zero value otherwise. -func (o *TerraformPackageUpload) GetSyncFinishedAt() string { - if o == nil || o.SyncFinishedAt == nil { - var ret string +func (o *DartPackageUploadResponse) GetSyncFinishedAt() time.Time { + if o == nil || isNil(o.SyncFinishedAt) { + var ret time.Time return ret } return *o.SyncFinishedAt @@ -1971,30 +2040,30 @@ func (o *TerraformPackageUpload) GetSyncFinishedAt() string { // GetSyncFinishedAtOk returns a tuple with the SyncFinishedAt field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *TerraformPackageUpload) GetSyncFinishedAtOk() (*string, bool) { - if o == nil || o.SyncFinishedAt == nil { +func (o *DartPackageUploadResponse) GetSyncFinishedAtOk() (*time.Time, bool) { + if o == nil || isNil(o.SyncFinishedAt) { return nil, false } return o.SyncFinishedAt, true } // HasSyncFinishedAt returns a boolean if a field has been set. -func (o *TerraformPackageUpload) HasSyncFinishedAt() bool { - if o != nil && o.SyncFinishedAt != nil { +func (o *DartPackageUploadResponse) HasSyncFinishedAt() bool { + if o != nil && !isNil(o.SyncFinishedAt) { return true } return false } -// SetSyncFinishedAt gets a reference to the given string and assigns it to the SyncFinishedAt field. -func (o *TerraformPackageUpload) SetSyncFinishedAt(v string) { +// SetSyncFinishedAt gets a reference to the given time.Time and assigns it to the SyncFinishedAt field. +func (o *DartPackageUploadResponse) SetSyncFinishedAt(v time.Time) { o.SyncFinishedAt = &v } // GetSyncProgress returns the SyncProgress field value if set, zero value otherwise. -func (o *TerraformPackageUpload) GetSyncProgress() int64 { - if o == nil || o.SyncProgress == nil { +func (o *DartPackageUploadResponse) GetSyncProgress() int64 { + if o == nil || isNil(o.SyncProgress) { var ret int64 return ret } @@ -2003,16 +2072,16 @@ func (o *TerraformPackageUpload) GetSyncProgress() int64 { // GetSyncProgressOk returns a tuple with the SyncProgress field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *TerraformPackageUpload) GetSyncProgressOk() (*int64, bool) { - if o == nil || o.SyncProgress == nil { +func (o *DartPackageUploadResponse) GetSyncProgressOk() (*int64, bool) { + if o == nil || isNil(o.SyncProgress) { return nil, false } return o.SyncProgress, true } // HasSyncProgress returns a boolean if a field has been set. -func (o *TerraformPackageUpload) HasSyncProgress() bool { - if o != nil && o.SyncProgress != nil { +func (o *DartPackageUploadResponse) HasSyncProgress() bool { + if o != nil && !isNil(o.SyncProgress) { return true } @@ -2020,13 +2089,13 @@ func (o *TerraformPackageUpload) HasSyncProgress() bool { } // SetSyncProgress gets a reference to the given int64 and assigns it to the SyncProgress field. -func (o *TerraformPackageUpload) SetSyncProgress(v int64) { +func (o *DartPackageUploadResponse) SetSyncProgress(v int64) { o.SyncProgress = &v } // GetTagsImmutable returns the TagsImmutable field value if set, zero value otherwise. -func (o *TerraformPackageUpload) GetTagsImmutable() map[string]interface{} { - if o == nil || o.TagsImmutable == nil { +func (o *DartPackageUploadResponse) GetTagsImmutable() map[string]interface{} { + if o == nil || isNil(o.TagsImmutable) { var ret map[string]interface{} return ret } @@ -2035,16 +2104,16 @@ func (o *TerraformPackageUpload) GetTagsImmutable() map[string]interface{} { // GetTagsImmutableOk returns a tuple with the TagsImmutable field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *TerraformPackageUpload) GetTagsImmutableOk() (map[string]interface{}, bool) { - if o == nil || o.TagsImmutable == nil { - return nil, false +func (o *DartPackageUploadResponse) GetTagsImmutableOk() (map[string]interface{}, bool) { + if o == nil || isNil(o.TagsImmutable) { + return map[string]interface{}{}, false } return o.TagsImmutable, true } // HasTagsImmutable returns a boolean if a field has been set. -func (o *TerraformPackageUpload) HasTagsImmutable() bool { - if o != nil && o.TagsImmutable != nil { +func (o *DartPackageUploadResponse) HasTagsImmutable() bool { + if o != nil && !isNil(o.TagsImmutable) { return true } @@ -2052,13 +2121,13 @@ func (o *TerraformPackageUpload) HasTagsImmutable() bool { } // SetTagsImmutable gets a reference to the given map[string]interface{} and assigns it to the TagsImmutable field. -func (o *TerraformPackageUpload) SetTagsImmutable(v map[string]interface{}) { +func (o *DartPackageUploadResponse) SetTagsImmutable(v map[string]interface{}) { o.TagsImmutable = v } // GetTypeDisplay returns the TypeDisplay field value if set, zero value otherwise. -func (o *TerraformPackageUpload) GetTypeDisplay() string { - if o == nil || o.TypeDisplay == nil { +func (o *DartPackageUploadResponse) GetTypeDisplay() string { + if o == nil || isNil(o.TypeDisplay) { var ret string return ret } @@ -2067,16 +2136,16 @@ func (o *TerraformPackageUpload) GetTypeDisplay() string { // GetTypeDisplayOk returns a tuple with the TypeDisplay field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *TerraformPackageUpload) GetTypeDisplayOk() (*string, bool) { - if o == nil || o.TypeDisplay == nil { +func (o *DartPackageUploadResponse) GetTypeDisplayOk() (*string, bool) { + if o == nil || isNil(o.TypeDisplay) { return nil, false } return o.TypeDisplay, true } // HasTypeDisplay returns a boolean if a field has been set. -func (o *TerraformPackageUpload) HasTypeDisplay() bool { - if o != nil && o.TypeDisplay != nil { +func (o *DartPackageUploadResponse) HasTypeDisplay() bool { + if o != nil && !isNil(o.TypeDisplay) { return true } @@ -2084,14 +2153,14 @@ func (o *TerraformPackageUpload) HasTypeDisplay() bool { } // SetTypeDisplay gets a reference to the given string and assigns it to the TypeDisplay field. -func (o *TerraformPackageUpload) SetTypeDisplay(v string) { +func (o *DartPackageUploadResponse) SetTypeDisplay(v string) { o.TypeDisplay = &v } // GetUploadedAt returns the UploadedAt field value if set, zero value otherwise. -func (o *TerraformPackageUpload) GetUploadedAt() string { - if o == nil || o.UploadedAt == nil { - var ret string +func (o *DartPackageUploadResponse) GetUploadedAt() time.Time { + if o == nil || isNil(o.UploadedAt) { + var ret time.Time return ret } return *o.UploadedAt @@ -2099,30 +2168,30 @@ func (o *TerraformPackageUpload) GetUploadedAt() string { // GetUploadedAtOk returns a tuple with the UploadedAt field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *TerraformPackageUpload) GetUploadedAtOk() (*string, bool) { - if o == nil || o.UploadedAt == nil { +func (o *DartPackageUploadResponse) GetUploadedAtOk() (*time.Time, bool) { + if o == nil || isNil(o.UploadedAt) { return nil, false } return o.UploadedAt, true } // HasUploadedAt returns a boolean if a field has been set. -func (o *TerraformPackageUpload) HasUploadedAt() bool { - if o != nil && o.UploadedAt != nil { +func (o *DartPackageUploadResponse) HasUploadedAt() bool { + if o != nil && !isNil(o.UploadedAt) { return true } return false } -// SetUploadedAt gets a reference to the given string and assigns it to the UploadedAt field. -func (o *TerraformPackageUpload) SetUploadedAt(v string) { +// SetUploadedAt gets a reference to the given time.Time and assigns it to the UploadedAt field. +func (o *DartPackageUploadResponse) SetUploadedAt(v time.Time) { o.UploadedAt = &v } // GetUploader returns the Uploader field value if set, zero value otherwise. -func (o *TerraformPackageUpload) GetUploader() string { - if o == nil || o.Uploader == nil { +func (o *DartPackageUploadResponse) GetUploader() string { + if o == nil || isNil(o.Uploader) { var ret string return ret } @@ -2131,16 +2200,16 @@ func (o *TerraformPackageUpload) GetUploader() string { // GetUploaderOk returns a tuple with the Uploader field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *TerraformPackageUpload) GetUploaderOk() (*string, bool) { - if o == nil || o.Uploader == nil { +func (o *DartPackageUploadResponse) GetUploaderOk() (*string, bool) { + if o == nil || isNil(o.Uploader) { return nil, false } return o.Uploader, true } // HasUploader returns a boolean if a field has been set. -func (o *TerraformPackageUpload) HasUploader() bool { - if o != nil && o.Uploader != nil { +func (o *DartPackageUploadResponse) HasUploader() bool { + if o != nil && !isNil(o.Uploader) { return true } @@ -2148,13 +2217,13 @@ func (o *TerraformPackageUpload) HasUploader() bool { } // SetUploader gets a reference to the given string and assigns it to the Uploader field. -func (o *TerraformPackageUpload) SetUploader(v string) { +func (o *DartPackageUploadResponse) SetUploader(v string) { o.Uploader = &v } // GetUploaderUrl returns the UploaderUrl field value if set, zero value otherwise. -func (o *TerraformPackageUpload) GetUploaderUrl() string { - if o == nil || o.UploaderUrl == nil { +func (o *DartPackageUploadResponse) GetUploaderUrl() string { + if o == nil || isNil(o.UploaderUrl) { var ret string return ret } @@ -2163,16 +2232,16 @@ func (o *TerraformPackageUpload) GetUploaderUrl() string { // GetUploaderUrlOk returns a tuple with the UploaderUrl field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *TerraformPackageUpload) GetUploaderUrlOk() (*string, bool) { - if o == nil || o.UploaderUrl == nil { +func (o *DartPackageUploadResponse) GetUploaderUrlOk() (*string, bool) { + if o == nil || isNil(o.UploaderUrl) { return nil, false } return o.UploaderUrl, true } // HasUploaderUrl returns a boolean if a field has been set. -func (o *TerraformPackageUpload) HasUploaderUrl() bool { - if o != nil && o.UploaderUrl != nil { +func (o *DartPackageUploadResponse) HasUploaderUrl() bool { + if o != nil && !isNil(o.UploaderUrl) { return true } @@ -2180,13 +2249,13 @@ func (o *TerraformPackageUpload) HasUploaderUrl() bool { } // SetUploaderUrl gets a reference to the given string and assigns it to the UploaderUrl field. -func (o *TerraformPackageUpload) SetUploaderUrl(v string) { +func (o *DartPackageUploadResponse) SetUploaderUrl(v string) { o.UploaderUrl = &v } // GetVersion returns the Version field value if set, zero value otherwise. -func (o *TerraformPackageUpload) GetVersion() string { - if o == nil || o.Version == nil { +func (o *DartPackageUploadResponse) GetVersion() string { + if o == nil || isNil(o.Version) { var ret string return ret } @@ -2195,16 +2264,16 @@ func (o *TerraformPackageUpload) GetVersion() string { // GetVersionOk returns a tuple with the Version field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *TerraformPackageUpload) GetVersionOk() (*string, bool) { - if o == nil || o.Version == nil { +func (o *DartPackageUploadResponse) GetVersionOk() (*string, bool) { + if o == nil || isNil(o.Version) { return nil, false } return o.Version, true } // HasVersion returns a boolean if a field has been set. -func (o *TerraformPackageUpload) HasVersion() bool { - if o != nil && o.Version != nil { +func (o *DartPackageUploadResponse) HasVersion() bool { + if o != nil && !isNil(o.Version) { return true } @@ -2212,13 +2281,13 @@ func (o *TerraformPackageUpload) HasVersion() bool { } // SetVersion gets a reference to the given string and assigns it to the Version field. -func (o *TerraformPackageUpload) SetVersion(v string) { +func (o *DartPackageUploadResponse) SetVersion(v string) { o.Version = &v } // GetVersionOrig returns the VersionOrig field value if set, zero value otherwise. -func (o *TerraformPackageUpload) GetVersionOrig() string { - if o == nil || o.VersionOrig == nil { +func (o *DartPackageUploadResponse) GetVersionOrig() string { + if o == nil || isNil(o.VersionOrig) { var ret string return ret } @@ -2227,16 +2296,16 @@ func (o *TerraformPackageUpload) GetVersionOrig() string { // GetVersionOrigOk returns a tuple with the VersionOrig field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *TerraformPackageUpload) GetVersionOrigOk() (*string, bool) { - if o == nil || o.VersionOrig == nil { +func (o *DartPackageUploadResponse) GetVersionOrigOk() (*string, bool) { + if o == nil || isNil(o.VersionOrig) { return nil, false } return o.VersionOrig, true } // HasVersionOrig returns a boolean if a field has been set. -func (o *TerraformPackageUpload) HasVersionOrig() bool { - if o != nil && o.VersionOrig != nil { +func (o *DartPackageUploadResponse) HasVersionOrig() bool { + if o != nil && !isNil(o.VersionOrig) { return true } @@ -2244,13 +2313,13 @@ func (o *TerraformPackageUpload) HasVersionOrig() bool { } // SetVersionOrig gets a reference to the given string and assigns it to the VersionOrig field. -func (o *TerraformPackageUpload) SetVersionOrig(v string) { +func (o *DartPackageUploadResponse) SetVersionOrig(v string) { o.VersionOrig = &v } // GetVulnerabilityScanResultsUrl returns the VulnerabilityScanResultsUrl field value if set, zero value otherwise. -func (o *TerraformPackageUpload) GetVulnerabilityScanResultsUrl() string { - if o == nil || o.VulnerabilityScanResultsUrl == nil { +func (o *DartPackageUploadResponse) GetVulnerabilityScanResultsUrl() string { + if o == nil || isNil(o.VulnerabilityScanResultsUrl) { var ret string return ret } @@ -2259,16 +2328,16 @@ func (o *TerraformPackageUpload) GetVulnerabilityScanResultsUrl() string { // GetVulnerabilityScanResultsUrlOk returns a tuple with the VulnerabilityScanResultsUrl field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *TerraformPackageUpload) GetVulnerabilityScanResultsUrlOk() (*string, bool) { - if o == nil || o.VulnerabilityScanResultsUrl == nil { +func (o *DartPackageUploadResponse) GetVulnerabilityScanResultsUrlOk() (*string, bool) { + if o == nil || isNil(o.VulnerabilityScanResultsUrl) { return nil, false } return o.VulnerabilityScanResultsUrl, true } // HasVulnerabilityScanResultsUrl returns a boolean if a field has been set. -func (o *TerraformPackageUpload) HasVulnerabilityScanResultsUrl() bool { - if o != nil && o.VulnerabilityScanResultsUrl != nil { +func (o *DartPackageUploadResponse) HasVulnerabilityScanResultsUrl() bool { + if o != nil && !isNil(o.VulnerabilityScanResultsUrl) { return true } @@ -2276,245 +2345,251 @@ func (o *TerraformPackageUpload) HasVulnerabilityScanResultsUrl() bool { } // SetVulnerabilityScanResultsUrl gets a reference to the given string and assigns it to the VulnerabilityScanResultsUrl field. -func (o *TerraformPackageUpload) SetVulnerabilityScanResultsUrl(v string) { +func (o *DartPackageUploadResponse) SetVulnerabilityScanResultsUrl(v string) { o.VulnerabilityScanResultsUrl = &v } -func (o TerraformPackageUpload) MarshalJSON() ([]byte, error) { +func (o DartPackageUploadResponse) MarshalJSON() ([]byte, error) { toSerialize := map[string]interface{}{} - if o.Architectures != nil { + if !isNil(o.Architectures) { toSerialize["architectures"] = o.Architectures } - if o.CdnUrl != nil { - toSerialize["cdn_url"] = o.CdnUrl + if o.CdnUrl.IsSet() { + toSerialize["cdn_url"] = o.CdnUrl.Get() } - if o.ChecksumMd5 != nil { + if !isNil(o.ChecksumMd5) { toSerialize["checksum_md5"] = o.ChecksumMd5 } - if o.ChecksumSha1 != nil { + if !isNil(o.ChecksumSha1) { toSerialize["checksum_sha1"] = o.ChecksumSha1 } - if o.ChecksumSha256 != nil { + if !isNil(o.ChecksumSha256) { toSerialize["checksum_sha256"] = o.ChecksumSha256 } - if o.ChecksumSha512 != nil { + if !isNil(o.ChecksumSha512) { toSerialize["checksum_sha512"] = o.ChecksumSha512 } - if o.DependenciesChecksumMd5 != nil { + if !isNil(o.DependenciesChecksumMd5) { toSerialize["dependencies_checksum_md5"] = o.DependenciesChecksumMd5 } - if o.DependenciesUrl != nil { + if !isNil(o.DependenciesUrl) { toSerialize["dependencies_url"] = o.DependenciesUrl } - if o.Description != nil { + if !isNil(o.Description) { toSerialize["description"] = o.Description } - if o.Distro != nil { - toSerialize["distro"] = o.Distro + if o.Distro.IsSet() { + toSerialize["distro"] = o.Distro.Get() } - if o.DistroVersion != nil { + if !isNil(o.DistroVersion) { toSerialize["distro_version"] = o.DistroVersion } - if o.Downloads != nil { + if !isNil(o.Downloads) { toSerialize["downloads"] = o.Downloads } - if o.Epoch != nil { + if !isNil(o.Epoch) { toSerialize["epoch"] = o.Epoch } - if o.Extension != nil { + if !isNil(o.Extension) { toSerialize["extension"] = o.Extension } - if o.Filename != nil { + if !isNil(o.Filename) { toSerialize["filename"] = o.Filename } - if o.Files != nil { + if !isNil(o.Files) { toSerialize["files"] = o.Files } - if o.Format != nil { + if !isNil(o.Format) { toSerialize["format"] = o.Format } - if o.FormatUrl != nil { + if !isNil(o.FormatUrl) { toSerialize["format_url"] = o.FormatUrl } - if o.IdentifierPerm != nil { + if !isNil(o.IdentifierPerm) { toSerialize["identifier_perm"] = o.IdentifierPerm } - if o.Indexed != nil { + if !isNil(o.Indexed) { toSerialize["indexed"] = o.Indexed } - if o.IsDownloadable != nil { + if !isNil(o.IsDownloadable) { toSerialize["is_downloadable"] = o.IsDownloadable } - if o.IsQuarantined != nil { + if !isNil(o.IsQuarantined) { toSerialize["is_quarantined"] = o.IsQuarantined } - if o.IsSyncAwaiting != nil { + if !isNil(o.IsSyncAwaiting) { toSerialize["is_sync_awaiting"] = o.IsSyncAwaiting } - if o.IsSyncCompleted != nil { + if !isNil(o.IsSyncCompleted) { toSerialize["is_sync_completed"] = o.IsSyncCompleted } - if o.IsSyncFailed != nil { + if !isNil(o.IsSyncFailed) { toSerialize["is_sync_failed"] = o.IsSyncFailed } - if o.IsSyncInFlight != nil { + if !isNil(o.IsSyncInFlight) { toSerialize["is_sync_in_flight"] = o.IsSyncInFlight } - if o.IsSyncInProgress != nil { + if !isNil(o.IsSyncInProgress) { toSerialize["is_sync_in_progress"] = o.IsSyncInProgress } - if o.License != nil { + if !isNil(o.License) { toSerialize["license"] = o.License } - if o.Name != nil { + if !isNil(o.Name) { toSerialize["name"] = o.Name } - if o.Namespace != nil { + if !isNil(o.Namespace) { toSerialize["namespace"] = o.Namespace } - if o.NamespaceUrl != nil { + if !isNil(o.NamespaceUrl) { toSerialize["namespace_url"] = o.NamespaceUrl } - if o.NumFiles != nil { + if !isNil(o.NumFiles) { toSerialize["num_files"] = o.NumFiles } - if o.PackageType != nil { + if !isNil(o.OriginRepository) { + toSerialize["origin_repository"] = o.OriginRepository + } + if !isNil(o.OriginRepositoryUrl) { + toSerialize["origin_repository_url"] = o.OriginRepositoryUrl + } + if !isNil(o.PackageType) { toSerialize["package_type"] = o.PackageType } - if o.Release != nil { + if !isNil(o.Release) { toSerialize["release"] = o.Release } - if o.Repository != nil { + if !isNil(o.Repository) { toSerialize["repository"] = o.Repository } - if o.RepositoryUrl != nil { + if !isNil(o.RepositoryUrl) { toSerialize["repository_url"] = o.RepositoryUrl } - if o.SecurityScanCompletedAt != nil { + if !isNil(o.SecurityScanCompletedAt) { toSerialize["security_scan_completed_at"] = o.SecurityScanCompletedAt } - if o.SecurityScanStartedAt != nil { + if !isNil(o.SecurityScanStartedAt) { toSerialize["security_scan_started_at"] = o.SecurityScanStartedAt } - if o.SecurityScanStatus != nil { - toSerialize["security_scan_status"] = o.SecurityScanStatus + if o.SecurityScanStatus.IsSet() { + toSerialize["security_scan_status"] = o.SecurityScanStatus.Get() } - if o.SecurityScanStatusUpdatedAt != nil { + if !isNil(o.SecurityScanStatusUpdatedAt) { toSerialize["security_scan_status_updated_at"] = o.SecurityScanStatusUpdatedAt } - if o.SelfHtmlUrl != nil { + if !isNil(o.SelfHtmlUrl) { toSerialize["self_html_url"] = o.SelfHtmlUrl } - if o.SelfUrl != nil { + if !isNil(o.SelfUrl) { toSerialize["self_url"] = o.SelfUrl } - if o.SignatureUrl != nil { - toSerialize["signature_url"] = o.SignatureUrl + if o.SignatureUrl.IsSet() { + toSerialize["signature_url"] = o.SignatureUrl.Get() } - if o.Size != nil { + if !isNil(o.Size) { toSerialize["size"] = o.Size } - if o.Slug != nil { + if !isNil(o.Slug) { toSerialize["slug"] = o.Slug } - if o.SlugPerm != nil { + if !isNil(o.SlugPerm) { toSerialize["slug_perm"] = o.SlugPerm } - if o.Stage != nil { + if !isNil(o.Stage) { toSerialize["stage"] = o.Stage } - if o.StageStr != nil { + if !isNil(o.StageStr) { toSerialize["stage_str"] = o.StageStr } - if o.StageUpdatedAt != nil { + if !isNil(o.StageUpdatedAt) { toSerialize["stage_updated_at"] = o.StageUpdatedAt } - if o.Status != nil { + if !isNil(o.Status) { toSerialize["status"] = o.Status } - if o.StatusReason != nil { + if !isNil(o.StatusReason) { toSerialize["status_reason"] = o.StatusReason } - if o.StatusStr != nil { + if !isNil(o.StatusStr) { toSerialize["status_str"] = o.StatusStr } - if o.StatusUpdatedAt != nil { + if !isNil(o.StatusUpdatedAt) { toSerialize["status_updated_at"] = o.StatusUpdatedAt } - if o.StatusUrl != nil { + if !isNil(o.StatusUrl) { toSerialize["status_url"] = o.StatusUrl } - if o.Subtype != nil { + if !isNil(o.Subtype) { toSerialize["subtype"] = o.Subtype } - if o.Summary != nil { + if !isNil(o.Summary) { toSerialize["summary"] = o.Summary } - if o.SyncFinishedAt != nil { + if !isNil(o.SyncFinishedAt) { toSerialize["sync_finished_at"] = o.SyncFinishedAt } - if o.SyncProgress != nil { + if !isNil(o.SyncProgress) { toSerialize["sync_progress"] = o.SyncProgress } - if o.TagsImmutable != nil { + if !isNil(o.TagsImmutable) { toSerialize["tags_immutable"] = o.TagsImmutable } - if o.TypeDisplay != nil { + if !isNil(o.TypeDisplay) { toSerialize["type_display"] = o.TypeDisplay } - if o.UploadedAt != nil { + if !isNil(o.UploadedAt) { toSerialize["uploaded_at"] = o.UploadedAt } - if o.Uploader != nil { + if !isNil(o.Uploader) { toSerialize["uploader"] = o.Uploader } - if o.UploaderUrl != nil { + if !isNil(o.UploaderUrl) { toSerialize["uploader_url"] = o.UploaderUrl } - if o.Version != nil { + if !isNil(o.Version) { toSerialize["version"] = o.Version } - if o.VersionOrig != nil { + if !isNil(o.VersionOrig) { toSerialize["version_orig"] = o.VersionOrig } - if o.VulnerabilityScanResultsUrl != nil { + if !isNil(o.VulnerabilityScanResultsUrl) { toSerialize["vulnerability_scan_results_url"] = o.VulnerabilityScanResultsUrl } return json.Marshal(toSerialize) } -type NullableTerraformPackageUpload struct { - value *TerraformPackageUpload +type NullableDartPackageUploadResponse struct { + value *DartPackageUploadResponse isSet bool } -func (v NullableTerraformPackageUpload) Get() *TerraformPackageUpload { +func (v NullableDartPackageUploadResponse) Get() *DartPackageUploadResponse { return v.value } -func (v *NullableTerraformPackageUpload) Set(val *TerraformPackageUpload) { +func (v *NullableDartPackageUploadResponse) Set(val *DartPackageUploadResponse) { v.value = val v.isSet = true } -func (v NullableTerraformPackageUpload) IsSet() bool { +func (v NullableDartPackageUploadResponse) IsSet() bool { return v.isSet } -func (v *NullableTerraformPackageUpload) Unset() { +func (v *NullableDartPackageUploadResponse) Unset() { v.value = nil v.isSet = false } -func NewNullableTerraformPackageUpload(val *TerraformPackageUpload) *NullableTerraformPackageUpload { - return &NullableTerraformPackageUpload{value: val, isSet: true} +func NewNullableDartPackageUploadResponse(val *DartPackageUploadResponse) *NullableDartPackageUploadResponse { + return &NullableDartPackageUploadResponse{value: val, isSet: true} } -func (v NullableTerraformPackageUpload) MarshalJSON() ([]byte, error) { +func (v NullableDartPackageUploadResponse) MarshalJSON() ([]byte, error) { return json.Marshal(v.value) } -func (v *NullableTerraformPackageUpload) UnmarshalJSON(src []byte) error { +func (v *NullableDartPackageUploadResponse) UnmarshalJSON(src []byte) error { v.isSet = true return json.Unmarshal(src, &v.value) } diff --git a/model_deb_package_upload.go b/model_deb_package_upload.go deleted file mode 100644 index 832affbf..00000000 --- a/model_deb_package_upload.go +++ /dev/null @@ -1,2520 +0,0 @@ -/* -Cloudsmith API - -The API to the Cloudsmith Service - -API version: 1.121.3 -Contact: support@cloudsmith.io -*/ - -// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. - -package cloudsmith - -import ( - "encoding/json" -) - -// DebPackageUpload struct for DebPackageUpload -type DebPackageUpload struct { - // - Architectures []PackagesOwnerRepoArchitectures `json:"architectures,omitempty"` - // - CdnUrl *string `json:"cdn_url,omitempty"` - // - ChecksumMd5 *string `json:"checksum_md5,omitempty"` - // - ChecksumSha1 *string `json:"checksum_sha1,omitempty"` - // - ChecksumSha256 *string `json:"checksum_sha256,omitempty"` - // - ChecksumSha512 *string `json:"checksum_sha512,omitempty"` - // A checksum of all of the package's dependencies. - DependenciesChecksumMd5 *string `json:"dependencies_checksum_md5,omitempty"` - // - DependenciesUrl *string `json:"dependencies_url,omitempty"` - // A textual description of this package. - Description *string `json:"description,omitempty"` - // - Distro map[string]interface{} `json:"distro,omitempty"` - // - DistroVersion map[string]interface{} `json:"distro_version,omitempty"` - // - Downloads *int64 `json:"downloads,omitempty"` - // The epoch of the package version (if any). - Epoch *int64 `json:"epoch,omitempty"` - // - Extension *string `json:"extension,omitempty"` - // - Filename *string `json:"filename,omitempty"` - // - Files []PackagesOwnerRepoFiles `json:"files,omitempty"` - // - Format *string `json:"format,omitempty"` - // - FormatUrl *string `json:"format_url,omitempty"` - // Unique and permanent identifier for the package. - IdentifierPerm *string `json:"identifier_perm,omitempty"` - // - Indexed *bool `json:"indexed,omitempty"` - // - IsDownloadable *bool `json:"is_downloadable,omitempty"` - // - IsQuarantined *bool `json:"is_quarantined,omitempty"` - // - IsSyncAwaiting *bool `json:"is_sync_awaiting,omitempty"` - // - IsSyncCompleted *bool `json:"is_sync_completed,omitempty"` - // - IsSyncFailed *bool `json:"is_sync_failed,omitempty"` - // - IsSyncInFlight *bool `json:"is_sync_in_flight,omitempty"` - // - IsSyncInProgress *bool `json:"is_sync_in_progress,omitempty"` - // The license of this package. - License *string `json:"license,omitempty"` - // The name of this package. - Name *string `json:"name,omitempty"` - // - Namespace *string `json:"namespace,omitempty"` - // - NamespaceUrl *string `json:"namespace_url,omitempty"` - // - NumFiles *int64 `json:"num_files,omitempty"` - // The type of package contents. - PackageType *int64 `json:"package_type,omitempty"` - // The release of the package version (if any). - Release *string `json:"release,omitempty"` - // - Repository *string `json:"repository,omitempty"` - // - RepositoryUrl *string `json:"repository_url,omitempty"` - // The datetime the security scanning was completed. - SecurityScanCompletedAt *string `json:"security_scan_completed_at,omitempty"` - // The datetime the security scanning was started. - SecurityScanStartedAt *string `json:"security_scan_started_at,omitempty"` - // - SecurityScanStatus *string `json:"security_scan_status,omitempty"` - // The datetime the security scanning status was updated. - SecurityScanStatusUpdatedAt *string `json:"security_scan_status_updated_at,omitempty"` - // - SelfHtmlUrl *string `json:"self_html_url,omitempty"` - // - SelfUrl *string `json:"self_url,omitempty"` - // - SignatureUrl *string `json:"signature_url,omitempty"` - // The calculated size of the package. - Size *int64 `json:"size,omitempty"` - // The public unique identifier for the package. - Slug *string `json:"slug,omitempty"` - // - SlugPerm *string `json:"slug_perm,omitempty"` - // The synchronisation (in progress) stage of the package. - Stage *int64 `json:"stage,omitempty"` - // - StageStr *string `json:"stage_str,omitempty"` - // The datetime the package stage was updated at. - StageUpdatedAt *string `json:"stage_updated_at,omitempty"` - // The synchronisation status of the package. - Status *int64 `json:"status,omitempty"` - // A textual description for the synchronous status reason (if any - StatusReason *string `json:"status_reason,omitempty"` - // - StatusStr *string `json:"status_str,omitempty"` - // The datetime the package status was updated at. - StatusUpdatedAt *string `json:"status_updated_at,omitempty"` - // - StatusUrl *string `json:"status_url,omitempty"` - // - Subtype *string `json:"subtype,omitempty"` - // A one-liner synopsis of this package. - Summary *string `json:"summary,omitempty"` - // The datetime the package sync was finished at. - SyncFinishedAt *string `json:"sync_finished_at,omitempty"` - // Synchronisation progress (from 0-100) - SyncProgress *int64 `json:"sync_progress,omitempty"` - // All immutable tags on the package, grouped by tag type. Immutable tags cannot be (easily) deleted. - TagsImmutable map[string]interface{} `json:"tags_immutable,omitempty"` - // - TypeDisplay *string `json:"type_display,omitempty"` - // The date this package was uploaded. - UploadedAt *string `json:"uploaded_at,omitempty"` - // - Uploader *string `json:"uploader,omitempty"` - // - UploaderUrl *string `json:"uploader_url,omitempty"` - // The raw version for this package. - Version *string `json:"version,omitempty"` - // - VersionOrig *string `json:"version_orig,omitempty"` - // - VulnerabilityScanResultsUrl *string `json:"vulnerability_scan_results_url,omitempty"` -} - -// NewDebPackageUpload instantiates a new DebPackageUpload object -// 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 NewDebPackageUpload() *DebPackageUpload { - this := DebPackageUpload{} - return &this -} - -// NewDebPackageUploadWithDefaults instantiates a new DebPackageUpload object -// This constructor will only assign default values to properties that have it defined, -// but it doesn't guarantee that properties required by API are set -func NewDebPackageUploadWithDefaults() *DebPackageUpload { - this := DebPackageUpload{} - return &this -} - -// GetArchitectures returns the Architectures field value if set, zero value otherwise. -func (o *DebPackageUpload) GetArchitectures() []PackagesOwnerRepoArchitectures { - if o == nil || o.Architectures == nil { - var ret []PackagesOwnerRepoArchitectures - return ret - } - return o.Architectures -} - -// GetArchitecturesOk returns a tuple with the Architectures field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *DebPackageUpload) GetArchitecturesOk() ([]PackagesOwnerRepoArchitectures, bool) { - if o == nil || o.Architectures == nil { - return nil, false - } - return o.Architectures, true -} - -// HasArchitectures returns a boolean if a field has been set. -func (o *DebPackageUpload) HasArchitectures() bool { - if o != nil && o.Architectures != nil { - return true - } - - return false -} - -// SetArchitectures gets a reference to the given []PackagesOwnerRepoArchitectures and assigns it to the Architectures field. -func (o *DebPackageUpload) SetArchitectures(v []PackagesOwnerRepoArchitectures) { - o.Architectures = v -} - -// GetCdnUrl returns the CdnUrl field value if set, zero value otherwise. -func (o *DebPackageUpload) GetCdnUrl() string { - if o == nil || o.CdnUrl == nil { - var ret string - return ret - } - return *o.CdnUrl -} - -// GetCdnUrlOk returns a tuple with the CdnUrl field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *DebPackageUpload) GetCdnUrlOk() (*string, bool) { - if o == nil || o.CdnUrl == nil { - return nil, false - } - return o.CdnUrl, true -} - -// HasCdnUrl returns a boolean if a field has been set. -func (o *DebPackageUpload) HasCdnUrl() bool { - if o != nil && o.CdnUrl != nil { - return true - } - - return false -} - -// SetCdnUrl gets a reference to the given string and assigns it to the CdnUrl field. -func (o *DebPackageUpload) SetCdnUrl(v string) { - o.CdnUrl = &v -} - -// GetChecksumMd5 returns the ChecksumMd5 field value if set, zero value otherwise. -func (o *DebPackageUpload) GetChecksumMd5() string { - if o == nil || o.ChecksumMd5 == nil { - var ret string - return ret - } - return *o.ChecksumMd5 -} - -// GetChecksumMd5Ok returns a tuple with the ChecksumMd5 field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *DebPackageUpload) GetChecksumMd5Ok() (*string, bool) { - if o == nil || o.ChecksumMd5 == nil { - return nil, false - } - return o.ChecksumMd5, true -} - -// HasChecksumMd5 returns a boolean if a field has been set. -func (o *DebPackageUpload) HasChecksumMd5() bool { - if o != nil && o.ChecksumMd5 != nil { - return true - } - - return false -} - -// SetChecksumMd5 gets a reference to the given string and assigns it to the ChecksumMd5 field. -func (o *DebPackageUpload) SetChecksumMd5(v string) { - o.ChecksumMd5 = &v -} - -// GetChecksumSha1 returns the ChecksumSha1 field value if set, zero value otherwise. -func (o *DebPackageUpload) GetChecksumSha1() string { - if o == nil || o.ChecksumSha1 == nil { - var ret string - return ret - } - return *o.ChecksumSha1 -} - -// GetChecksumSha1Ok returns a tuple with the ChecksumSha1 field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *DebPackageUpload) GetChecksumSha1Ok() (*string, bool) { - if o == nil || o.ChecksumSha1 == nil { - return nil, false - } - return o.ChecksumSha1, true -} - -// HasChecksumSha1 returns a boolean if a field has been set. -func (o *DebPackageUpload) HasChecksumSha1() bool { - if o != nil && o.ChecksumSha1 != nil { - return true - } - - return false -} - -// SetChecksumSha1 gets a reference to the given string and assigns it to the ChecksumSha1 field. -func (o *DebPackageUpload) SetChecksumSha1(v string) { - o.ChecksumSha1 = &v -} - -// GetChecksumSha256 returns the ChecksumSha256 field value if set, zero value otherwise. -func (o *DebPackageUpload) GetChecksumSha256() string { - if o == nil || o.ChecksumSha256 == nil { - var ret string - return ret - } - return *o.ChecksumSha256 -} - -// GetChecksumSha256Ok returns a tuple with the ChecksumSha256 field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *DebPackageUpload) GetChecksumSha256Ok() (*string, bool) { - if o == nil || o.ChecksumSha256 == nil { - return nil, false - } - return o.ChecksumSha256, true -} - -// HasChecksumSha256 returns a boolean if a field has been set. -func (o *DebPackageUpload) HasChecksumSha256() bool { - if o != nil && o.ChecksumSha256 != nil { - return true - } - - return false -} - -// SetChecksumSha256 gets a reference to the given string and assigns it to the ChecksumSha256 field. -func (o *DebPackageUpload) SetChecksumSha256(v string) { - o.ChecksumSha256 = &v -} - -// GetChecksumSha512 returns the ChecksumSha512 field value if set, zero value otherwise. -func (o *DebPackageUpload) GetChecksumSha512() string { - if o == nil || o.ChecksumSha512 == nil { - var ret string - return ret - } - return *o.ChecksumSha512 -} - -// GetChecksumSha512Ok returns a tuple with the ChecksumSha512 field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *DebPackageUpload) GetChecksumSha512Ok() (*string, bool) { - if o == nil || o.ChecksumSha512 == nil { - return nil, false - } - return o.ChecksumSha512, true -} - -// HasChecksumSha512 returns a boolean if a field has been set. -func (o *DebPackageUpload) HasChecksumSha512() bool { - if o != nil && o.ChecksumSha512 != nil { - return true - } - - return false -} - -// SetChecksumSha512 gets a reference to the given string and assigns it to the ChecksumSha512 field. -func (o *DebPackageUpload) SetChecksumSha512(v string) { - o.ChecksumSha512 = &v -} - -// GetDependenciesChecksumMd5 returns the DependenciesChecksumMd5 field value if set, zero value otherwise. -func (o *DebPackageUpload) GetDependenciesChecksumMd5() string { - if o == nil || o.DependenciesChecksumMd5 == nil { - var ret string - return ret - } - return *o.DependenciesChecksumMd5 -} - -// GetDependenciesChecksumMd5Ok returns a tuple with the DependenciesChecksumMd5 field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *DebPackageUpload) GetDependenciesChecksumMd5Ok() (*string, bool) { - if o == nil || o.DependenciesChecksumMd5 == nil { - return nil, false - } - return o.DependenciesChecksumMd5, true -} - -// HasDependenciesChecksumMd5 returns a boolean if a field has been set. -func (o *DebPackageUpload) HasDependenciesChecksumMd5() bool { - if o != nil && o.DependenciesChecksumMd5 != nil { - return true - } - - return false -} - -// SetDependenciesChecksumMd5 gets a reference to the given string and assigns it to the DependenciesChecksumMd5 field. -func (o *DebPackageUpload) SetDependenciesChecksumMd5(v string) { - o.DependenciesChecksumMd5 = &v -} - -// GetDependenciesUrl returns the DependenciesUrl field value if set, zero value otherwise. -func (o *DebPackageUpload) GetDependenciesUrl() string { - if o == nil || o.DependenciesUrl == nil { - var ret string - return ret - } - return *o.DependenciesUrl -} - -// GetDependenciesUrlOk returns a tuple with the DependenciesUrl field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *DebPackageUpload) GetDependenciesUrlOk() (*string, bool) { - if o == nil || o.DependenciesUrl == nil { - return nil, false - } - return o.DependenciesUrl, true -} - -// HasDependenciesUrl returns a boolean if a field has been set. -func (o *DebPackageUpload) HasDependenciesUrl() bool { - if o != nil && o.DependenciesUrl != nil { - return true - } - - return false -} - -// SetDependenciesUrl gets a reference to the given string and assigns it to the DependenciesUrl field. -func (o *DebPackageUpload) SetDependenciesUrl(v string) { - o.DependenciesUrl = &v -} - -// GetDescription returns the Description field value if set, zero value otherwise. -func (o *DebPackageUpload) GetDescription() string { - if o == nil || o.Description == nil { - var ret string - return ret - } - return *o.Description -} - -// GetDescriptionOk returns a tuple with the Description field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *DebPackageUpload) GetDescriptionOk() (*string, bool) { - if o == nil || o.Description == nil { - return nil, false - } - return o.Description, true -} - -// HasDescription returns a boolean if a field has been set. -func (o *DebPackageUpload) HasDescription() bool { - if o != nil && o.Description != nil { - return true - } - - return false -} - -// SetDescription gets a reference to the given string and assigns it to the Description field. -func (o *DebPackageUpload) SetDescription(v string) { - o.Description = &v -} - -// GetDistro returns the Distro field value if set, zero value otherwise. -func (o *DebPackageUpload) GetDistro() map[string]interface{} { - if o == nil || o.Distro == nil { - var ret map[string]interface{} - return ret - } - return o.Distro -} - -// GetDistroOk returns a tuple with the Distro field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *DebPackageUpload) GetDistroOk() (map[string]interface{}, bool) { - if o == nil || o.Distro == nil { - return nil, false - } - return o.Distro, true -} - -// HasDistro returns a boolean if a field has been set. -func (o *DebPackageUpload) HasDistro() bool { - if o != nil && o.Distro != nil { - return true - } - - return false -} - -// SetDistro gets a reference to the given map[string]interface{} and assigns it to the Distro field. -func (o *DebPackageUpload) SetDistro(v map[string]interface{}) { - o.Distro = v -} - -// GetDistroVersion returns the DistroVersion field value if set, zero value otherwise. -func (o *DebPackageUpload) GetDistroVersion() map[string]interface{} { - if o == nil || o.DistroVersion == nil { - var ret map[string]interface{} - return ret - } - return o.DistroVersion -} - -// GetDistroVersionOk returns a tuple with the DistroVersion field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *DebPackageUpload) GetDistroVersionOk() (map[string]interface{}, bool) { - if o == nil || o.DistroVersion == nil { - return nil, false - } - return o.DistroVersion, true -} - -// HasDistroVersion returns a boolean if a field has been set. -func (o *DebPackageUpload) HasDistroVersion() bool { - if o != nil && o.DistroVersion != nil { - return true - } - - return false -} - -// SetDistroVersion gets a reference to the given map[string]interface{} and assigns it to the DistroVersion field. -func (o *DebPackageUpload) SetDistroVersion(v map[string]interface{}) { - o.DistroVersion = v -} - -// GetDownloads returns the Downloads field value if set, zero value otherwise. -func (o *DebPackageUpload) GetDownloads() int64 { - if o == nil || o.Downloads == nil { - var ret int64 - return ret - } - return *o.Downloads -} - -// GetDownloadsOk returns a tuple with the Downloads field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *DebPackageUpload) GetDownloadsOk() (*int64, bool) { - if o == nil || o.Downloads == nil { - return nil, false - } - return o.Downloads, true -} - -// HasDownloads returns a boolean if a field has been set. -func (o *DebPackageUpload) HasDownloads() bool { - if o != nil && o.Downloads != nil { - return true - } - - return false -} - -// SetDownloads gets a reference to the given int64 and assigns it to the Downloads field. -func (o *DebPackageUpload) SetDownloads(v int64) { - o.Downloads = &v -} - -// GetEpoch returns the Epoch field value if set, zero value otherwise. -func (o *DebPackageUpload) GetEpoch() int64 { - if o == nil || o.Epoch == nil { - var ret int64 - return ret - } - return *o.Epoch -} - -// GetEpochOk returns a tuple with the Epoch field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *DebPackageUpload) GetEpochOk() (*int64, bool) { - if o == nil || o.Epoch == nil { - return nil, false - } - return o.Epoch, true -} - -// HasEpoch returns a boolean if a field has been set. -func (o *DebPackageUpload) HasEpoch() bool { - if o != nil && o.Epoch != nil { - return true - } - - return false -} - -// SetEpoch gets a reference to the given int64 and assigns it to the Epoch field. -func (o *DebPackageUpload) SetEpoch(v int64) { - o.Epoch = &v -} - -// GetExtension returns the Extension field value if set, zero value otherwise. -func (o *DebPackageUpload) GetExtension() string { - if o == nil || o.Extension == nil { - var ret string - return ret - } - return *o.Extension -} - -// GetExtensionOk returns a tuple with the Extension field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *DebPackageUpload) GetExtensionOk() (*string, bool) { - if o == nil || o.Extension == nil { - return nil, false - } - return o.Extension, true -} - -// HasExtension returns a boolean if a field has been set. -func (o *DebPackageUpload) HasExtension() bool { - if o != nil && o.Extension != nil { - return true - } - - return false -} - -// SetExtension gets a reference to the given string and assigns it to the Extension field. -func (o *DebPackageUpload) SetExtension(v string) { - o.Extension = &v -} - -// GetFilename returns the Filename field value if set, zero value otherwise. -func (o *DebPackageUpload) GetFilename() string { - if o == nil || o.Filename == nil { - var ret string - return ret - } - return *o.Filename -} - -// GetFilenameOk returns a tuple with the Filename field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *DebPackageUpload) GetFilenameOk() (*string, bool) { - if o == nil || o.Filename == nil { - return nil, false - } - return o.Filename, true -} - -// HasFilename returns a boolean if a field has been set. -func (o *DebPackageUpload) HasFilename() bool { - if o != nil && o.Filename != nil { - return true - } - - return false -} - -// SetFilename gets a reference to the given string and assigns it to the Filename field. -func (o *DebPackageUpload) SetFilename(v string) { - o.Filename = &v -} - -// GetFiles returns the Files field value if set, zero value otherwise. -func (o *DebPackageUpload) GetFiles() []PackagesOwnerRepoFiles { - if o == nil || o.Files == nil { - var ret []PackagesOwnerRepoFiles - return ret - } - return o.Files -} - -// GetFilesOk returns a tuple with the Files field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *DebPackageUpload) GetFilesOk() ([]PackagesOwnerRepoFiles, bool) { - if o == nil || o.Files == nil { - return nil, false - } - return o.Files, true -} - -// HasFiles returns a boolean if a field has been set. -func (o *DebPackageUpload) HasFiles() bool { - if o != nil && o.Files != nil { - return true - } - - return false -} - -// SetFiles gets a reference to the given []PackagesOwnerRepoFiles and assigns it to the Files field. -func (o *DebPackageUpload) SetFiles(v []PackagesOwnerRepoFiles) { - o.Files = v -} - -// GetFormat returns the Format field value if set, zero value otherwise. -func (o *DebPackageUpload) GetFormat() string { - if o == nil || o.Format == nil { - var ret string - return ret - } - return *o.Format -} - -// GetFormatOk returns a tuple with the Format field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *DebPackageUpload) GetFormatOk() (*string, bool) { - if o == nil || o.Format == nil { - return nil, false - } - return o.Format, true -} - -// HasFormat returns a boolean if a field has been set. -func (o *DebPackageUpload) HasFormat() bool { - if o != nil && o.Format != nil { - return true - } - - return false -} - -// SetFormat gets a reference to the given string and assigns it to the Format field. -func (o *DebPackageUpload) SetFormat(v string) { - o.Format = &v -} - -// GetFormatUrl returns the FormatUrl field value if set, zero value otherwise. -func (o *DebPackageUpload) GetFormatUrl() string { - if o == nil || o.FormatUrl == nil { - var ret string - return ret - } - return *o.FormatUrl -} - -// GetFormatUrlOk returns a tuple with the FormatUrl field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *DebPackageUpload) GetFormatUrlOk() (*string, bool) { - if o == nil || o.FormatUrl == nil { - return nil, false - } - return o.FormatUrl, true -} - -// HasFormatUrl returns a boolean if a field has been set. -func (o *DebPackageUpload) HasFormatUrl() bool { - if o != nil && o.FormatUrl != nil { - return true - } - - return false -} - -// SetFormatUrl gets a reference to the given string and assigns it to the FormatUrl field. -func (o *DebPackageUpload) SetFormatUrl(v string) { - o.FormatUrl = &v -} - -// GetIdentifierPerm returns the IdentifierPerm field value if set, zero value otherwise. -func (o *DebPackageUpload) GetIdentifierPerm() string { - if o == nil || o.IdentifierPerm == nil { - var ret string - return ret - } - return *o.IdentifierPerm -} - -// GetIdentifierPermOk returns a tuple with the IdentifierPerm field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *DebPackageUpload) GetIdentifierPermOk() (*string, bool) { - if o == nil || o.IdentifierPerm == nil { - return nil, false - } - return o.IdentifierPerm, true -} - -// HasIdentifierPerm returns a boolean if a field has been set. -func (o *DebPackageUpload) HasIdentifierPerm() bool { - if o != nil && o.IdentifierPerm != nil { - return true - } - - return false -} - -// SetIdentifierPerm gets a reference to the given string and assigns it to the IdentifierPerm field. -func (o *DebPackageUpload) SetIdentifierPerm(v string) { - o.IdentifierPerm = &v -} - -// GetIndexed returns the Indexed field value if set, zero value otherwise. -func (o *DebPackageUpload) GetIndexed() bool { - if o == nil || o.Indexed == nil { - var ret bool - return ret - } - return *o.Indexed -} - -// GetIndexedOk returns a tuple with the Indexed field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *DebPackageUpload) GetIndexedOk() (*bool, bool) { - if o == nil || o.Indexed == nil { - return nil, false - } - return o.Indexed, true -} - -// HasIndexed returns a boolean if a field has been set. -func (o *DebPackageUpload) HasIndexed() bool { - if o != nil && o.Indexed != nil { - return true - } - - return false -} - -// SetIndexed gets a reference to the given bool and assigns it to the Indexed field. -func (o *DebPackageUpload) SetIndexed(v bool) { - o.Indexed = &v -} - -// GetIsDownloadable returns the IsDownloadable field value if set, zero value otherwise. -func (o *DebPackageUpload) GetIsDownloadable() bool { - if o == nil || o.IsDownloadable == nil { - var ret bool - return ret - } - return *o.IsDownloadable -} - -// GetIsDownloadableOk returns a tuple with the IsDownloadable field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *DebPackageUpload) GetIsDownloadableOk() (*bool, bool) { - if o == nil || o.IsDownloadable == nil { - return nil, false - } - return o.IsDownloadable, true -} - -// HasIsDownloadable returns a boolean if a field has been set. -func (o *DebPackageUpload) HasIsDownloadable() bool { - if o != nil && o.IsDownloadable != nil { - return true - } - - return false -} - -// SetIsDownloadable gets a reference to the given bool and assigns it to the IsDownloadable field. -func (o *DebPackageUpload) SetIsDownloadable(v bool) { - o.IsDownloadable = &v -} - -// GetIsQuarantined returns the IsQuarantined field value if set, zero value otherwise. -func (o *DebPackageUpload) GetIsQuarantined() bool { - if o == nil || o.IsQuarantined == nil { - var ret bool - return ret - } - return *o.IsQuarantined -} - -// GetIsQuarantinedOk returns a tuple with the IsQuarantined field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *DebPackageUpload) GetIsQuarantinedOk() (*bool, bool) { - if o == nil || o.IsQuarantined == nil { - return nil, false - } - return o.IsQuarantined, true -} - -// HasIsQuarantined returns a boolean if a field has been set. -func (o *DebPackageUpload) HasIsQuarantined() bool { - if o != nil && o.IsQuarantined != nil { - return true - } - - return false -} - -// SetIsQuarantined gets a reference to the given bool and assigns it to the IsQuarantined field. -func (o *DebPackageUpload) SetIsQuarantined(v bool) { - o.IsQuarantined = &v -} - -// GetIsSyncAwaiting returns the IsSyncAwaiting field value if set, zero value otherwise. -func (o *DebPackageUpload) GetIsSyncAwaiting() bool { - if o == nil || o.IsSyncAwaiting == nil { - var ret bool - return ret - } - return *o.IsSyncAwaiting -} - -// GetIsSyncAwaitingOk returns a tuple with the IsSyncAwaiting field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *DebPackageUpload) GetIsSyncAwaitingOk() (*bool, bool) { - if o == nil || o.IsSyncAwaiting == nil { - return nil, false - } - return o.IsSyncAwaiting, true -} - -// HasIsSyncAwaiting returns a boolean if a field has been set. -func (o *DebPackageUpload) HasIsSyncAwaiting() bool { - if o != nil && o.IsSyncAwaiting != nil { - return true - } - - return false -} - -// SetIsSyncAwaiting gets a reference to the given bool and assigns it to the IsSyncAwaiting field. -func (o *DebPackageUpload) SetIsSyncAwaiting(v bool) { - o.IsSyncAwaiting = &v -} - -// GetIsSyncCompleted returns the IsSyncCompleted field value if set, zero value otherwise. -func (o *DebPackageUpload) GetIsSyncCompleted() bool { - if o == nil || o.IsSyncCompleted == nil { - var ret bool - return ret - } - return *o.IsSyncCompleted -} - -// GetIsSyncCompletedOk returns a tuple with the IsSyncCompleted field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *DebPackageUpload) GetIsSyncCompletedOk() (*bool, bool) { - if o == nil || o.IsSyncCompleted == nil { - return nil, false - } - return o.IsSyncCompleted, true -} - -// HasIsSyncCompleted returns a boolean if a field has been set. -func (o *DebPackageUpload) HasIsSyncCompleted() bool { - if o != nil && o.IsSyncCompleted != nil { - return true - } - - return false -} - -// SetIsSyncCompleted gets a reference to the given bool and assigns it to the IsSyncCompleted field. -func (o *DebPackageUpload) SetIsSyncCompleted(v bool) { - o.IsSyncCompleted = &v -} - -// GetIsSyncFailed returns the IsSyncFailed field value if set, zero value otherwise. -func (o *DebPackageUpload) GetIsSyncFailed() bool { - if o == nil || o.IsSyncFailed == nil { - var ret bool - return ret - } - return *o.IsSyncFailed -} - -// GetIsSyncFailedOk returns a tuple with the IsSyncFailed field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *DebPackageUpload) GetIsSyncFailedOk() (*bool, bool) { - if o == nil || o.IsSyncFailed == nil { - return nil, false - } - return o.IsSyncFailed, true -} - -// HasIsSyncFailed returns a boolean if a field has been set. -func (o *DebPackageUpload) HasIsSyncFailed() bool { - if o != nil && o.IsSyncFailed != nil { - return true - } - - return false -} - -// SetIsSyncFailed gets a reference to the given bool and assigns it to the IsSyncFailed field. -func (o *DebPackageUpload) SetIsSyncFailed(v bool) { - o.IsSyncFailed = &v -} - -// GetIsSyncInFlight returns the IsSyncInFlight field value if set, zero value otherwise. -func (o *DebPackageUpload) GetIsSyncInFlight() bool { - if o == nil || o.IsSyncInFlight == nil { - var ret bool - return ret - } - return *o.IsSyncInFlight -} - -// GetIsSyncInFlightOk returns a tuple with the IsSyncInFlight field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *DebPackageUpload) GetIsSyncInFlightOk() (*bool, bool) { - if o == nil || o.IsSyncInFlight == nil { - return nil, false - } - return o.IsSyncInFlight, true -} - -// HasIsSyncInFlight returns a boolean if a field has been set. -func (o *DebPackageUpload) HasIsSyncInFlight() bool { - if o != nil && o.IsSyncInFlight != nil { - return true - } - - return false -} - -// SetIsSyncInFlight gets a reference to the given bool and assigns it to the IsSyncInFlight field. -func (o *DebPackageUpload) SetIsSyncInFlight(v bool) { - o.IsSyncInFlight = &v -} - -// GetIsSyncInProgress returns the IsSyncInProgress field value if set, zero value otherwise. -func (o *DebPackageUpload) GetIsSyncInProgress() bool { - if o == nil || o.IsSyncInProgress == nil { - var ret bool - return ret - } - return *o.IsSyncInProgress -} - -// GetIsSyncInProgressOk returns a tuple with the IsSyncInProgress field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *DebPackageUpload) GetIsSyncInProgressOk() (*bool, bool) { - if o == nil || o.IsSyncInProgress == nil { - return nil, false - } - return o.IsSyncInProgress, true -} - -// HasIsSyncInProgress returns a boolean if a field has been set. -func (o *DebPackageUpload) HasIsSyncInProgress() bool { - if o != nil && o.IsSyncInProgress != nil { - return true - } - - return false -} - -// SetIsSyncInProgress gets a reference to the given bool and assigns it to the IsSyncInProgress field. -func (o *DebPackageUpload) SetIsSyncInProgress(v bool) { - o.IsSyncInProgress = &v -} - -// GetLicense returns the License field value if set, zero value otherwise. -func (o *DebPackageUpload) GetLicense() string { - if o == nil || o.License == nil { - var ret string - return ret - } - return *o.License -} - -// GetLicenseOk returns a tuple with the License field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *DebPackageUpload) GetLicenseOk() (*string, bool) { - if o == nil || o.License == nil { - return nil, false - } - return o.License, true -} - -// HasLicense returns a boolean if a field has been set. -func (o *DebPackageUpload) HasLicense() bool { - if o != nil && o.License != nil { - return true - } - - return false -} - -// SetLicense gets a reference to the given string and assigns it to the License field. -func (o *DebPackageUpload) SetLicense(v string) { - o.License = &v -} - -// GetName returns the Name field value if set, zero value otherwise. -func (o *DebPackageUpload) GetName() string { - if o == nil || o.Name == nil { - var ret string - return ret - } - return *o.Name -} - -// GetNameOk returns a tuple with the Name field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *DebPackageUpload) GetNameOk() (*string, bool) { - if o == nil || o.Name == nil { - return nil, false - } - return o.Name, true -} - -// HasName returns a boolean if a field has been set. -func (o *DebPackageUpload) HasName() bool { - if o != nil && o.Name != nil { - return true - } - - return false -} - -// SetName gets a reference to the given string and assigns it to the Name field. -func (o *DebPackageUpload) SetName(v string) { - o.Name = &v -} - -// GetNamespace returns the Namespace field value if set, zero value otherwise. -func (o *DebPackageUpload) GetNamespace() string { - if o == nil || o.Namespace == nil { - var ret string - return ret - } - return *o.Namespace -} - -// GetNamespaceOk returns a tuple with the Namespace field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *DebPackageUpload) GetNamespaceOk() (*string, bool) { - if o == nil || o.Namespace == nil { - return nil, false - } - return o.Namespace, true -} - -// HasNamespace returns a boolean if a field has been set. -func (o *DebPackageUpload) HasNamespace() bool { - if o != nil && o.Namespace != nil { - return true - } - - return false -} - -// SetNamespace gets a reference to the given string and assigns it to the Namespace field. -func (o *DebPackageUpload) SetNamespace(v string) { - o.Namespace = &v -} - -// GetNamespaceUrl returns the NamespaceUrl field value if set, zero value otherwise. -func (o *DebPackageUpload) GetNamespaceUrl() string { - if o == nil || o.NamespaceUrl == nil { - var ret string - return ret - } - return *o.NamespaceUrl -} - -// GetNamespaceUrlOk returns a tuple with the NamespaceUrl field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *DebPackageUpload) GetNamespaceUrlOk() (*string, bool) { - if o == nil || o.NamespaceUrl == nil { - return nil, false - } - return o.NamespaceUrl, true -} - -// HasNamespaceUrl returns a boolean if a field has been set. -func (o *DebPackageUpload) HasNamespaceUrl() bool { - if o != nil && o.NamespaceUrl != nil { - return true - } - - return false -} - -// SetNamespaceUrl gets a reference to the given string and assigns it to the NamespaceUrl field. -func (o *DebPackageUpload) SetNamespaceUrl(v string) { - o.NamespaceUrl = &v -} - -// GetNumFiles returns the NumFiles field value if set, zero value otherwise. -func (o *DebPackageUpload) GetNumFiles() int64 { - if o == nil || o.NumFiles == nil { - var ret int64 - return ret - } - return *o.NumFiles -} - -// GetNumFilesOk returns a tuple with the NumFiles field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *DebPackageUpload) GetNumFilesOk() (*int64, bool) { - if o == nil || o.NumFiles == nil { - return nil, false - } - return o.NumFiles, true -} - -// HasNumFiles returns a boolean if a field has been set. -func (o *DebPackageUpload) HasNumFiles() bool { - if o != nil && o.NumFiles != nil { - return true - } - - return false -} - -// SetNumFiles gets a reference to the given int64 and assigns it to the NumFiles field. -func (o *DebPackageUpload) SetNumFiles(v int64) { - o.NumFiles = &v -} - -// GetPackageType returns the PackageType field value if set, zero value otherwise. -func (o *DebPackageUpload) GetPackageType() int64 { - if o == nil || o.PackageType == nil { - var ret int64 - return ret - } - return *o.PackageType -} - -// GetPackageTypeOk returns a tuple with the PackageType field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *DebPackageUpload) GetPackageTypeOk() (*int64, bool) { - if o == nil || o.PackageType == nil { - return nil, false - } - return o.PackageType, true -} - -// HasPackageType returns a boolean if a field has been set. -func (o *DebPackageUpload) HasPackageType() bool { - if o != nil && o.PackageType != nil { - return true - } - - return false -} - -// SetPackageType gets a reference to the given int64 and assigns it to the PackageType field. -func (o *DebPackageUpload) SetPackageType(v int64) { - o.PackageType = &v -} - -// GetRelease returns the Release field value if set, zero value otherwise. -func (o *DebPackageUpload) GetRelease() string { - if o == nil || o.Release == nil { - var ret string - return ret - } - return *o.Release -} - -// GetReleaseOk returns a tuple with the Release field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *DebPackageUpload) GetReleaseOk() (*string, bool) { - if o == nil || o.Release == nil { - return nil, false - } - return o.Release, true -} - -// HasRelease returns a boolean if a field has been set. -func (o *DebPackageUpload) HasRelease() bool { - if o != nil && o.Release != nil { - return true - } - - return false -} - -// SetRelease gets a reference to the given string and assigns it to the Release field. -func (o *DebPackageUpload) SetRelease(v string) { - o.Release = &v -} - -// GetRepository returns the Repository field value if set, zero value otherwise. -func (o *DebPackageUpload) GetRepository() string { - if o == nil || o.Repository == nil { - var ret string - return ret - } - return *o.Repository -} - -// GetRepositoryOk returns a tuple with the Repository field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *DebPackageUpload) GetRepositoryOk() (*string, bool) { - if o == nil || o.Repository == nil { - return nil, false - } - return o.Repository, true -} - -// HasRepository returns a boolean if a field has been set. -func (o *DebPackageUpload) HasRepository() bool { - if o != nil && o.Repository != nil { - return true - } - - return false -} - -// SetRepository gets a reference to the given string and assigns it to the Repository field. -func (o *DebPackageUpload) SetRepository(v string) { - o.Repository = &v -} - -// GetRepositoryUrl returns the RepositoryUrl field value if set, zero value otherwise. -func (o *DebPackageUpload) GetRepositoryUrl() string { - if o == nil || o.RepositoryUrl == nil { - var ret string - return ret - } - return *o.RepositoryUrl -} - -// GetRepositoryUrlOk returns a tuple with the RepositoryUrl field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *DebPackageUpload) GetRepositoryUrlOk() (*string, bool) { - if o == nil || o.RepositoryUrl == nil { - return nil, false - } - return o.RepositoryUrl, true -} - -// HasRepositoryUrl returns a boolean if a field has been set. -func (o *DebPackageUpload) HasRepositoryUrl() bool { - if o != nil && o.RepositoryUrl != nil { - return true - } - - return false -} - -// SetRepositoryUrl gets a reference to the given string and assigns it to the RepositoryUrl field. -func (o *DebPackageUpload) SetRepositoryUrl(v string) { - o.RepositoryUrl = &v -} - -// GetSecurityScanCompletedAt returns the SecurityScanCompletedAt field value if set, zero value otherwise. -func (o *DebPackageUpload) GetSecurityScanCompletedAt() string { - if o == nil || o.SecurityScanCompletedAt == nil { - var ret string - return ret - } - return *o.SecurityScanCompletedAt -} - -// GetSecurityScanCompletedAtOk returns a tuple with the SecurityScanCompletedAt field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *DebPackageUpload) GetSecurityScanCompletedAtOk() (*string, bool) { - if o == nil || o.SecurityScanCompletedAt == nil { - return nil, false - } - return o.SecurityScanCompletedAt, true -} - -// HasSecurityScanCompletedAt returns a boolean if a field has been set. -func (o *DebPackageUpload) HasSecurityScanCompletedAt() bool { - if o != nil && o.SecurityScanCompletedAt != nil { - return true - } - - return false -} - -// SetSecurityScanCompletedAt gets a reference to the given string and assigns it to the SecurityScanCompletedAt field. -func (o *DebPackageUpload) SetSecurityScanCompletedAt(v string) { - o.SecurityScanCompletedAt = &v -} - -// GetSecurityScanStartedAt returns the SecurityScanStartedAt field value if set, zero value otherwise. -func (o *DebPackageUpload) GetSecurityScanStartedAt() string { - if o == nil || o.SecurityScanStartedAt == nil { - var ret string - return ret - } - return *o.SecurityScanStartedAt -} - -// GetSecurityScanStartedAtOk returns a tuple with the SecurityScanStartedAt field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *DebPackageUpload) GetSecurityScanStartedAtOk() (*string, bool) { - if o == nil || o.SecurityScanStartedAt == nil { - return nil, false - } - return o.SecurityScanStartedAt, true -} - -// HasSecurityScanStartedAt returns a boolean if a field has been set. -func (o *DebPackageUpload) HasSecurityScanStartedAt() bool { - if o != nil && o.SecurityScanStartedAt != nil { - return true - } - - return false -} - -// SetSecurityScanStartedAt gets a reference to the given string and assigns it to the SecurityScanStartedAt field. -func (o *DebPackageUpload) SetSecurityScanStartedAt(v string) { - o.SecurityScanStartedAt = &v -} - -// GetSecurityScanStatus returns the SecurityScanStatus field value if set, zero value otherwise. -func (o *DebPackageUpload) GetSecurityScanStatus() string { - if o == nil || o.SecurityScanStatus == nil { - var ret string - return ret - } - return *o.SecurityScanStatus -} - -// GetSecurityScanStatusOk returns a tuple with the SecurityScanStatus field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *DebPackageUpload) GetSecurityScanStatusOk() (*string, bool) { - if o == nil || o.SecurityScanStatus == nil { - return nil, false - } - return o.SecurityScanStatus, true -} - -// HasSecurityScanStatus returns a boolean if a field has been set. -func (o *DebPackageUpload) HasSecurityScanStatus() bool { - if o != nil && o.SecurityScanStatus != nil { - return true - } - - return false -} - -// SetSecurityScanStatus gets a reference to the given string and assigns it to the SecurityScanStatus field. -func (o *DebPackageUpload) SetSecurityScanStatus(v string) { - o.SecurityScanStatus = &v -} - -// GetSecurityScanStatusUpdatedAt returns the SecurityScanStatusUpdatedAt field value if set, zero value otherwise. -func (o *DebPackageUpload) GetSecurityScanStatusUpdatedAt() string { - if o == nil || o.SecurityScanStatusUpdatedAt == nil { - var ret string - return ret - } - return *o.SecurityScanStatusUpdatedAt -} - -// GetSecurityScanStatusUpdatedAtOk returns a tuple with the SecurityScanStatusUpdatedAt field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *DebPackageUpload) GetSecurityScanStatusUpdatedAtOk() (*string, bool) { - if o == nil || o.SecurityScanStatusUpdatedAt == nil { - return nil, false - } - return o.SecurityScanStatusUpdatedAt, true -} - -// HasSecurityScanStatusUpdatedAt returns a boolean if a field has been set. -func (o *DebPackageUpload) HasSecurityScanStatusUpdatedAt() bool { - if o != nil && o.SecurityScanStatusUpdatedAt != nil { - return true - } - - return false -} - -// SetSecurityScanStatusUpdatedAt gets a reference to the given string and assigns it to the SecurityScanStatusUpdatedAt field. -func (o *DebPackageUpload) SetSecurityScanStatusUpdatedAt(v string) { - o.SecurityScanStatusUpdatedAt = &v -} - -// GetSelfHtmlUrl returns the SelfHtmlUrl field value if set, zero value otherwise. -func (o *DebPackageUpload) GetSelfHtmlUrl() string { - if o == nil || o.SelfHtmlUrl == nil { - var ret string - return ret - } - return *o.SelfHtmlUrl -} - -// GetSelfHtmlUrlOk returns a tuple with the SelfHtmlUrl field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *DebPackageUpload) GetSelfHtmlUrlOk() (*string, bool) { - if o == nil || o.SelfHtmlUrl == nil { - return nil, false - } - return o.SelfHtmlUrl, true -} - -// HasSelfHtmlUrl returns a boolean if a field has been set. -func (o *DebPackageUpload) HasSelfHtmlUrl() bool { - if o != nil && o.SelfHtmlUrl != nil { - return true - } - - return false -} - -// SetSelfHtmlUrl gets a reference to the given string and assigns it to the SelfHtmlUrl field. -func (o *DebPackageUpload) SetSelfHtmlUrl(v string) { - o.SelfHtmlUrl = &v -} - -// GetSelfUrl returns the SelfUrl field value if set, zero value otherwise. -func (o *DebPackageUpload) GetSelfUrl() string { - if o == nil || o.SelfUrl == nil { - var ret string - return ret - } - return *o.SelfUrl -} - -// GetSelfUrlOk returns a tuple with the SelfUrl field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *DebPackageUpload) GetSelfUrlOk() (*string, bool) { - if o == nil || o.SelfUrl == nil { - return nil, false - } - return o.SelfUrl, true -} - -// HasSelfUrl returns a boolean if a field has been set. -func (o *DebPackageUpload) HasSelfUrl() bool { - if o != nil && o.SelfUrl != nil { - return true - } - - return false -} - -// SetSelfUrl gets a reference to the given string and assigns it to the SelfUrl field. -func (o *DebPackageUpload) SetSelfUrl(v string) { - o.SelfUrl = &v -} - -// GetSignatureUrl returns the SignatureUrl field value if set, zero value otherwise. -func (o *DebPackageUpload) GetSignatureUrl() string { - if o == nil || o.SignatureUrl == nil { - var ret string - return ret - } - return *o.SignatureUrl -} - -// GetSignatureUrlOk returns a tuple with the SignatureUrl field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *DebPackageUpload) GetSignatureUrlOk() (*string, bool) { - if o == nil || o.SignatureUrl == nil { - return nil, false - } - return o.SignatureUrl, true -} - -// HasSignatureUrl returns a boolean if a field has been set. -func (o *DebPackageUpload) HasSignatureUrl() bool { - if o != nil && o.SignatureUrl != nil { - return true - } - - return false -} - -// SetSignatureUrl gets a reference to the given string and assigns it to the SignatureUrl field. -func (o *DebPackageUpload) SetSignatureUrl(v string) { - o.SignatureUrl = &v -} - -// GetSize returns the Size field value if set, zero value otherwise. -func (o *DebPackageUpload) GetSize() int64 { - if o == nil || o.Size == nil { - var ret int64 - return ret - } - return *o.Size -} - -// GetSizeOk returns a tuple with the Size field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *DebPackageUpload) GetSizeOk() (*int64, bool) { - if o == nil || o.Size == nil { - return nil, false - } - return o.Size, true -} - -// HasSize returns a boolean if a field has been set. -func (o *DebPackageUpload) HasSize() bool { - if o != nil && o.Size != nil { - return true - } - - return false -} - -// SetSize gets a reference to the given int64 and assigns it to the Size field. -func (o *DebPackageUpload) SetSize(v int64) { - o.Size = &v -} - -// GetSlug returns the Slug field value if set, zero value otherwise. -func (o *DebPackageUpload) GetSlug() string { - if o == nil || o.Slug == nil { - var ret string - return ret - } - return *o.Slug -} - -// GetSlugOk returns a tuple with the Slug field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *DebPackageUpload) GetSlugOk() (*string, bool) { - if o == nil || o.Slug == nil { - return nil, false - } - return o.Slug, true -} - -// HasSlug returns a boolean if a field has been set. -func (o *DebPackageUpload) HasSlug() bool { - if o != nil && o.Slug != nil { - return true - } - - return false -} - -// SetSlug gets a reference to the given string and assigns it to the Slug field. -func (o *DebPackageUpload) SetSlug(v string) { - o.Slug = &v -} - -// GetSlugPerm returns the SlugPerm field value if set, zero value otherwise. -func (o *DebPackageUpload) GetSlugPerm() string { - if o == nil || o.SlugPerm == nil { - var ret string - return ret - } - return *o.SlugPerm -} - -// GetSlugPermOk returns a tuple with the SlugPerm field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *DebPackageUpload) GetSlugPermOk() (*string, bool) { - if o == nil || o.SlugPerm == nil { - return nil, false - } - return o.SlugPerm, true -} - -// HasSlugPerm returns a boolean if a field has been set. -func (o *DebPackageUpload) HasSlugPerm() bool { - if o != nil && o.SlugPerm != nil { - return true - } - - return false -} - -// SetSlugPerm gets a reference to the given string and assigns it to the SlugPerm field. -func (o *DebPackageUpload) SetSlugPerm(v string) { - o.SlugPerm = &v -} - -// GetStage returns the Stage field value if set, zero value otherwise. -func (o *DebPackageUpload) GetStage() int64 { - if o == nil || o.Stage == nil { - var ret int64 - return ret - } - return *o.Stage -} - -// GetStageOk returns a tuple with the Stage field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *DebPackageUpload) GetStageOk() (*int64, bool) { - if o == nil || o.Stage == nil { - return nil, false - } - return o.Stage, true -} - -// HasStage returns a boolean if a field has been set. -func (o *DebPackageUpload) HasStage() bool { - if o != nil && o.Stage != nil { - return true - } - - return false -} - -// SetStage gets a reference to the given int64 and assigns it to the Stage field. -func (o *DebPackageUpload) SetStage(v int64) { - o.Stage = &v -} - -// GetStageStr returns the StageStr field value if set, zero value otherwise. -func (o *DebPackageUpload) GetStageStr() string { - if o == nil || o.StageStr == nil { - var ret string - return ret - } - return *o.StageStr -} - -// GetStageStrOk returns a tuple with the StageStr field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *DebPackageUpload) GetStageStrOk() (*string, bool) { - if o == nil || o.StageStr == nil { - return nil, false - } - return o.StageStr, true -} - -// HasStageStr returns a boolean if a field has been set. -func (o *DebPackageUpload) HasStageStr() bool { - if o != nil && o.StageStr != nil { - return true - } - - return false -} - -// SetStageStr gets a reference to the given string and assigns it to the StageStr field. -func (o *DebPackageUpload) SetStageStr(v string) { - o.StageStr = &v -} - -// GetStageUpdatedAt returns the StageUpdatedAt field value if set, zero value otherwise. -func (o *DebPackageUpload) GetStageUpdatedAt() string { - if o == nil || o.StageUpdatedAt == nil { - var ret string - return ret - } - return *o.StageUpdatedAt -} - -// GetStageUpdatedAtOk returns a tuple with the StageUpdatedAt field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *DebPackageUpload) GetStageUpdatedAtOk() (*string, bool) { - if o == nil || o.StageUpdatedAt == nil { - return nil, false - } - return o.StageUpdatedAt, true -} - -// HasStageUpdatedAt returns a boolean if a field has been set. -func (o *DebPackageUpload) HasStageUpdatedAt() bool { - if o != nil && o.StageUpdatedAt != nil { - return true - } - - return false -} - -// SetStageUpdatedAt gets a reference to the given string and assigns it to the StageUpdatedAt field. -func (o *DebPackageUpload) SetStageUpdatedAt(v string) { - o.StageUpdatedAt = &v -} - -// GetStatus returns the Status field value if set, zero value otherwise. -func (o *DebPackageUpload) GetStatus() int64 { - if o == nil || o.Status == nil { - var ret int64 - return ret - } - return *o.Status -} - -// GetStatusOk returns a tuple with the Status field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *DebPackageUpload) GetStatusOk() (*int64, bool) { - if o == nil || o.Status == nil { - return nil, false - } - return o.Status, true -} - -// HasStatus returns a boolean if a field has been set. -func (o *DebPackageUpload) HasStatus() bool { - if o != nil && o.Status != nil { - return true - } - - return false -} - -// SetStatus gets a reference to the given int64 and assigns it to the Status field. -func (o *DebPackageUpload) SetStatus(v int64) { - o.Status = &v -} - -// GetStatusReason returns the StatusReason field value if set, zero value otherwise. -func (o *DebPackageUpload) GetStatusReason() string { - if o == nil || o.StatusReason == nil { - var ret string - return ret - } - return *o.StatusReason -} - -// GetStatusReasonOk returns a tuple with the StatusReason field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *DebPackageUpload) GetStatusReasonOk() (*string, bool) { - if o == nil || o.StatusReason == nil { - return nil, false - } - return o.StatusReason, true -} - -// HasStatusReason returns a boolean if a field has been set. -func (o *DebPackageUpload) HasStatusReason() bool { - if o != nil && o.StatusReason != nil { - return true - } - - return false -} - -// SetStatusReason gets a reference to the given string and assigns it to the StatusReason field. -func (o *DebPackageUpload) SetStatusReason(v string) { - o.StatusReason = &v -} - -// GetStatusStr returns the StatusStr field value if set, zero value otherwise. -func (o *DebPackageUpload) GetStatusStr() string { - if o == nil || o.StatusStr == nil { - var ret string - return ret - } - return *o.StatusStr -} - -// GetStatusStrOk returns a tuple with the StatusStr field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *DebPackageUpload) GetStatusStrOk() (*string, bool) { - if o == nil || o.StatusStr == nil { - return nil, false - } - return o.StatusStr, true -} - -// HasStatusStr returns a boolean if a field has been set. -func (o *DebPackageUpload) HasStatusStr() bool { - if o != nil && o.StatusStr != nil { - return true - } - - return false -} - -// SetStatusStr gets a reference to the given string and assigns it to the StatusStr field. -func (o *DebPackageUpload) SetStatusStr(v string) { - o.StatusStr = &v -} - -// GetStatusUpdatedAt returns the StatusUpdatedAt field value if set, zero value otherwise. -func (o *DebPackageUpload) GetStatusUpdatedAt() string { - if o == nil || o.StatusUpdatedAt == nil { - var ret string - return ret - } - return *o.StatusUpdatedAt -} - -// GetStatusUpdatedAtOk returns a tuple with the StatusUpdatedAt field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *DebPackageUpload) GetStatusUpdatedAtOk() (*string, bool) { - if o == nil || o.StatusUpdatedAt == nil { - return nil, false - } - return o.StatusUpdatedAt, true -} - -// HasStatusUpdatedAt returns a boolean if a field has been set. -func (o *DebPackageUpload) HasStatusUpdatedAt() bool { - if o != nil && o.StatusUpdatedAt != nil { - return true - } - - return false -} - -// SetStatusUpdatedAt gets a reference to the given string and assigns it to the StatusUpdatedAt field. -func (o *DebPackageUpload) SetStatusUpdatedAt(v string) { - o.StatusUpdatedAt = &v -} - -// GetStatusUrl returns the StatusUrl field value if set, zero value otherwise. -func (o *DebPackageUpload) GetStatusUrl() string { - if o == nil || o.StatusUrl == nil { - var ret string - return ret - } - return *o.StatusUrl -} - -// GetStatusUrlOk returns a tuple with the StatusUrl field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *DebPackageUpload) GetStatusUrlOk() (*string, bool) { - if o == nil || o.StatusUrl == nil { - return nil, false - } - return o.StatusUrl, true -} - -// HasStatusUrl returns a boolean if a field has been set. -func (o *DebPackageUpload) HasStatusUrl() bool { - if o != nil && o.StatusUrl != nil { - return true - } - - return false -} - -// SetStatusUrl gets a reference to the given string and assigns it to the StatusUrl field. -func (o *DebPackageUpload) SetStatusUrl(v string) { - o.StatusUrl = &v -} - -// GetSubtype returns the Subtype field value if set, zero value otherwise. -func (o *DebPackageUpload) GetSubtype() string { - if o == nil || o.Subtype == nil { - var ret string - return ret - } - return *o.Subtype -} - -// GetSubtypeOk returns a tuple with the Subtype field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *DebPackageUpload) GetSubtypeOk() (*string, bool) { - if o == nil || o.Subtype == nil { - return nil, false - } - return o.Subtype, true -} - -// HasSubtype returns a boolean if a field has been set. -func (o *DebPackageUpload) HasSubtype() bool { - if o != nil && o.Subtype != nil { - return true - } - - return false -} - -// SetSubtype gets a reference to the given string and assigns it to the Subtype field. -func (o *DebPackageUpload) SetSubtype(v string) { - o.Subtype = &v -} - -// GetSummary returns the Summary field value if set, zero value otherwise. -func (o *DebPackageUpload) GetSummary() string { - if o == nil || o.Summary == nil { - var ret string - return ret - } - return *o.Summary -} - -// GetSummaryOk returns a tuple with the Summary field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *DebPackageUpload) GetSummaryOk() (*string, bool) { - if o == nil || o.Summary == nil { - return nil, false - } - return o.Summary, true -} - -// HasSummary returns a boolean if a field has been set. -func (o *DebPackageUpload) HasSummary() bool { - if o != nil && o.Summary != nil { - return true - } - - return false -} - -// SetSummary gets a reference to the given string and assigns it to the Summary field. -func (o *DebPackageUpload) SetSummary(v string) { - o.Summary = &v -} - -// GetSyncFinishedAt returns the SyncFinishedAt field value if set, zero value otherwise. -func (o *DebPackageUpload) GetSyncFinishedAt() string { - if o == nil || o.SyncFinishedAt == nil { - var ret string - return ret - } - return *o.SyncFinishedAt -} - -// GetSyncFinishedAtOk returns a tuple with the SyncFinishedAt field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *DebPackageUpload) GetSyncFinishedAtOk() (*string, bool) { - if o == nil || o.SyncFinishedAt == nil { - return nil, false - } - return o.SyncFinishedAt, true -} - -// HasSyncFinishedAt returns a boolean if a field has been set. -func (o *DebPackageUpload) HasSyncFinishedAt() bool { - if o != nil && o.SyncFinishedAt != nil { - return true - } - - return false -} - -// SetSyncFinishedAt gets a reference to the given string and assigns it to the SyncFinishedAt field. -func (o *DebPackageUpload) SetSyncFinishedAt(v string) { - o.SyncFinishedAt = &v -} - -// GetSyncProgress returns the SyncProgress field value if set, zero value otherwise. -func (o *DebPackageUpload) GetSyncProgress() int64 { - if o == nil || o.SyncProgress == nil { - var ret int64 - return ret - } - return *o.SyncProgress -} - -// GetSyncProgressOk returns a tuple with the SyncProgress field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *DebPackageUpload) GetSyncProgressOk() (*int64, bool) { - if o == nil || o.SyncProgress == nil { - return nil, false - } - return o.SyncProgress, true -} - -// HasSyncProgress returns a boolean if a field has been set. -func (o *DebPackageUpload) HasSyncProgress() bool { - if o != nil && o.SyncProgress != nil { - return true - } - - return false -} - -// SetSyncProgress gets a reference to the given int64 and assigns it to the SyncProgress field. -func (o *DebPackageUpload) SetSyncProgress(v int64) { - o.SyncProgress = &v -} - -// GetTagsImmutable returns the TagsImmutable field value if set, zero value otherwise. -func (o *DebPackageUpload) GetTagsImmutable() map[string]interface{} { - if o == nil || o.TagsImmutable == nil { - var ret map[string]interface{} - return ret - } - return o.TagsImmutable -} - -// GetTagsImmutableOk returns a tuple with the TagsImmutable field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *DebPackageUpload) GetTagsImmutableOk() (map[string]interface{}, bool) { - if o == nil || o.TagsImmutable == nil { - return nil, false - } - return o.TagsImmutable, true -} - -// HasTagsImmutable returns a boolean if a field has been set. -func (o *DebPackageUpload) HasTagsImmutable() bool { - if o != nil && o.TagsImmutable != nil { - return true - } - - return false -} - -// SetTagsImmutable gets a reference to the given map[string]interface{} and assigns it to the TagsImmutable field. -func (o *DebPackageUpload) SetTagsImmutable(v map[string]interface{}) { - o.TagsImmutable = v -} - -// GetTypeDisplay returns the TypeDisplay field value if set, zero value otherwise. -func (o *DebPackageUpload) GetTypeDisplay() string { - if o == nil || o.TypeDisplay == nil { - var ret string - return ret - } - return *o.TypeDisplay -} - -// GetTypeDisplayOk returns a tuple with the TypeDisplay field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *DebPackageUpload) GetTypeDisplayOk() (*string, bool) { - if o == nil || o.TypeDisplay == nil { - return nil, false - } - return o.TypeDisplay, true -} - -// HasTypeDisplay returns a boolean if a field has been set. -func (o *DebPackageUpload) HasTypeDisplay() bool { - if o != nil && o.TypeDisplay != nil { - return true - } - - return false -} - -// SetTypeDisplay gets a reference to the given string and assigns it to the TypeDisplay field. -func (o *DebPackageUpload) SetTypeDisplay(v string) { - o.TypeDisplay = &v -} - -// GetUploadedAt returns the UploadedAt field value if set, zero value otherwise. -func (o *DebPackageUpload) GetUploadedAt() string { - if o == nil || o.UploadedAt == nil { - var ret string - return ret - } - return *o.UploadedAt -} - -// GetUploadedAtOk returns a tuple with the UploadedAt field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *DebPackageUpload) GetUploadedAtOk() (*string, bool) { - if o == nil || o.UploadedAt == nil { - return nil, false - } - return o.UploadedAt, true -} - -// HasUploadedAt returns a boolean if a field has been set. -func (o *DebPackageUpload) HasUploadedAt() bool { - if o != nil && o.UploadedAt != nil { - return true - } - - return false -} - -// SetUploadedAt gets a reference to the given string and assigns it to the UploadedAt field. -func (o *DebPackageUpload) SetUploadedAt(v string) { - o.UploadedAt = &v -} - -// GetUploader returns the Uploader field value if set, zero value otherwise. -func (o *DebPackageUpload) GetUploader() string { - if o == nil || o.Uploader == nil { - var ret string - return ret - } - return *o.Uploader -} - -// GetUploaderOk returns a tuple with the Uploader field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *DebPackageUpload) GetUploaderOk() (*string, bool) { - if o == nil || o.Uploader == nil { - return nil, false - } - return o.Uploader, true -} - -// HasUploader returns a boolean if a field has been set. -func (o *DebPackageUpload) HasUploader() bool { - if o != nil && o.Uploader != nil { - return true - } - - return false -} - -// SetUploader gets a reference to the given string and assigns it to the Uploader field. -func (o *DebPackageUpload) SetUploader(v string) { - o.Uploader = &v -} - -// GetUploaderUrl returns the UploaderUrl field value if set, zero value otherwise. -func (o *DebPackageUpload) GetUploaderUrl() string { - if o == nil || o.UploaderUrl == nil { - var ret string - return ret - } - return *o.UploaderUrl -} - -// GetUploaderUrlOk returns a tuple with the UploaderUrl field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *DebPackageUpload) GetUploaderUrlOk() (*string, bool) { - if o == nil || o.UploaderUrl == nil { - return nil, false - } - return o.UploaderUrl, true -} - -// HasUploaderUrl returns a boolean if a field has been set. -func (o *DebPackageUpload) HasUploaderUrl() bool { - if o != nil && o.UploaderUrl != nil { - return true - } - - return false -} - -// SetUploaderUrl gets a reference to the given string and assigns it to the UploaderUrl field. -func (o *DebPackageUpload) SetUploaderUrl(v string) { - o.UploaderUrl = &v -} - -// GetVersion returns the Version field value if set, zero value otherwise. -func (o *DebPackageUpload) GetVersion() string { - if o == nil || o.Version == nil { - var ret string - return ret - } - return *o.Version -} - -// GetVersionOk returns a tuple with the Version field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *DebPackageUpload) GetVersionOk() (*string, bool) { - if o == nil || o.Version == nil { - return nil, false - } - return o.Version, true -} - -// HasVersion returns a boolean if a field has been set. -func (o *DebPackageUpload) HasVersion() bool { - if o != nil && o.Version != nil { - return true - } - - return false -} - -// SetVersion gets a reference to the given string and assigns it to the Version field. -func (o *DebPackageUpload) SetVersion(v string) { - o.Version = &v -} - -// GetVersionOrig returns the VersionOrig field value if set, zero value otherwise. -func (o *DebPackageUpload) GetVersionOrig() string { - if o == nil || o.VersionOrig == nil { - var ret string - return ret - } - return *o.VersionOrig -} - -// GetVersionOrigOk returns a tuple with the VersionOrig field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *DebPackageUpload) GetVersionOrigOk() (*string, bool) { - if o == nil || o.VersionOrig == nil { - return nil, false - } - return o.VersionOrig, true -} - -// HasVersionOrig returns a boolean if a field has been set. -func (o *DebPackageUpload) HasVersionOrig() bool { - if o != nil && o.VersionOrig != nil { - return true - } - - return false -} - -// SetVersionOrig gets a reference to the given string and assigns it to the VersionOrig field. -func (o *DebPackageUpload) SetVersionOrig(v string) { - o.VersionOrig = &v -} - -// GetVulnerabilityScanResultsUrl returns the VulnerabilityScanResultsUrl field value if set, zero value otherwise. -func (o *DebPackageUpload) GetVulnerabilityScanResultsUrl() string { - if o == nil || o.VulnerabilityScanResultsUrl == nil { - var ret string - return ret - } - return *o.VulnerabilityScanResultsUrl -} - -// GetVulnerabilityScanResultsUrlOk returns a tuple with the VulnerabilityScanResultsUrl field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *DebPackageUpload) GetVulnerabilityScanResultsUrlOk() (*string, bool) { - if o == nil || o.VulnerabilityScanResultsUrl == nil { - return nil, false - } - return o.VulnerabilityScanResultsUrl, true -} - -// HasVulnerabilityScanResultsUrl returns a boolean if a field has been set. -func (o *DebPackageUpload) HasVulnerabilityScanResultsUrl() bool { - if o != nil && o.VulnerabilityScanResultsUrl != nil { - return true - } - - return false -} - -// SetVulnerabilityScanResultsUrl gets a reference to the given string and assigns it to the VulnerabilityScanResultsUrl field. -func (o *DebPackageUpload) SetVulnerabilityScanResultsUrl(v string) { - o.VulnerabilityScanResultsUrl = &v -} - -func (o DebPackageUpload) MarshalJSON() ([]byte, error) { - toSerialize := map[string]interface{}{} - if o.Architectures != nil { - toSerialize["architectures"] = o.Architectures - } - if o.CdnUrl != nil { - toSerialize["cdn_url"] = o.CdnUrl - } - if o.ChecksumMd5 != nil { - toSerialize["checksum_md5"] = o.ChecksumMd5 - } - if o.ChecksumSha1 != nil { - toSerialize["checksum_sha1"] = o.ChecksumSha1 - } - if o.ChecksumSha256 != nil { - toSerialize["checksum_sha256"] = o.ChecksumSha256 - } - if o.ChecksumSha512 != nil { - toSerialize["checksum_sha512"] = o.ChecksumSha512 - } - if o.DependenciesChecksumMd5 != nil { - toSerialize["dependencies_checksum_md5"] = o.DependenciesChecksumMd5 - } - if o.DependenciesUrl != nil { - toSerialize["dependencies_url"] = o.DependenciesUrl - } - if o.Description != nil { - toSerialize["description"] = o.Description - } - if o.Distro != nil { - toSerialize["distro"] = o.Distro - } - if o.DistroVersion != nil { - toSerialize["distro_version"] = o.DistroVersion - } - if o.Downloads != nil { - toSerialize["downloads"] = o.Downloads - } - if o.Epoch != nil { - toSerialize["epoch"] = o.Epoch - } - if o.Extension != nil { - toSerialize["extension"] = o.Extension - } - if o.Filename != nil { - toSerialize["filename"] = o.Filename - } - if o.Files != nil { - toSerialize["files"] = o.Files - } - if o.Format != nil { - toSerialize["format"] = o.Format - } - if o.FormatUrl != nil { - toSerialize["format_url"] = o.FormatUrl - } - if o.IdentifierPerm != nil { - toSerialize["identifier_perm"] = o.IdentifierPerm - } - if o.Indexed != nil { - toSerialize["indexed"] = o.Indexed - } - if o.IsDownloadable != nil { - toSerialize["is_downloadable"] = o.IsDownloadable - } - if o.IsQuarantined != nil { - toSerialize["is_quarantined"] = o.IsQuarantined - } - if o.IsSyncAwaiting != nil { - toSerialize["is_sync_awaiting"] = o.IsSyncAwaiting - } - if o.IsSyncCompleted != nil { - toSerialize["is_sync_completed"] = o.IsSyncCompleted - } - if o.IsSyncFailed != nil { - toSerialize["is_sync_failed"] = o.IsSyncFailed - } - if o.IsSyncInFlight != nil { - toSerialize["is_sync_in_flight"] = o.IsSyncInFlight - } - if o.IsSyncInProgress != nil { - toSerialize["is_sync_in_progress"] = o.IsSyncInProgress - } - if o.License != nil { - toSerialize["license"] = o.License - } - if o.Name != nil { - toSerialize["name"] = o.Name - } - if o.Namespace != nil { - toSerialize["namespace"] = o.Namespace - } - if o.NamespaceUrl != nil { - toSerialize["namespace_url"] = o.NamespaceUrl - } - if o.NumFiles != nil { - toSerialize["num_files"] = o.NumFiles - } - if o.PackageType != nil { - toSerialize["package_type"] = o.PackageType - } - if o.Release != nil { - toSerialize["release"] = o.Release - } - if o.Repository != nil { - toSerialize["repository"] = o.Repository - } - if o.RepositoryUrl != nil { - toSerialize["repository_url"] = o.RepositoryUrl - } - if o.SecurityScanCompletedAt != nil { - toSerialize["security_scan_completed_at"] = o.SecurityScanCompletedAt - } - if o.SecurityScanStartedAt != nil { - toSerialize["security_scan_started_at"] = o.SecurityScanStartedAt - } - if o.SecurityScanStatus != nil { - toSerialize["security_scan_status"] = o.SecurityScanStatus - } - if o.SecurityScanStatusUpdatedAt != nil { - toSerialize["security_scan_status_updated_at"] = o.SecurityScanStatusUpdatedAt - } - if o.SelfHtmlUrl != nil { - toSerialize["self_html_url"] = o.SelfHtmlUrl - } - if o.SelfUrl != nil { - toSerialize["self_url"] = o.SelfUrl - } - if o.SignatureUrl != nil { - toSerialize["signature_url"] = o.SignatureUrl - } - if o.Size != nil { - toSerialize["size"] = o.Size - } - if o.Slug != nil { - toSerialize["slug"] = o.Slug - } - if o.SlugPerm != nil { - toSerialize["slug_perm"] = o.SlugPerm - } - if o.Stage != nil { - toSerialize["stage"] = o.Stage - } - if o.StageStr != nil { - toSerialize["stage_str"] = o.StageStr - } - if o.StageUpdatedAt != nil { - toSerialize["stage_updated_at"] = o.StageUpdatedAt - } - if o.Status != nil { - toSerialize["status"] = o.Status - } - if o.StatusReason != nil { - toSerialize["status_reason"] = o.StatusReason - } - if o.StatusStr != nil { - toSerialize["status_str"] = o.StatusStr - } - if o.StatusUpdatedAt != nil { - toSerialize["status_updated_at"] = o.StatusUpdatedAt - } - if o.StatusUrl != nil { - toSerialize["status_url"] = o.StatusUrl - } - if o.Subtype != nil { - toSerialize["subtype"] = o.Subtype - } - if o.Summary != nil { - toSerialize["summary"] = o.Summary - } - if o.SyncFinishedAt != nil { - toSerialize["sync_finished_at"] = o.SyncFinishedAt - } - if o.SyncProgress != nil { - toSerialize["sync_progress"] = o.SyncProgress - } - if o.TagsImmutable != nil { - toSerialize["tags_immutable"] = o.TagsImmutable - } - if o.TypeDisplay != nil { - toSerialize["type_display"] = o.TypeDisplay - } - if o.UploadedAt != nil { - toSerialize["uploaded_at"] = o.UploadedAt - } - if o.Uploader != nil { - toSerialize["uploader"] = o.Uploader - } - if o.UploaderUrl != nil { - toSerialize["uploader_url"] = o.UploaderUrl - } - if o.Version != nil { - toSerialize["version"] = o.Version - } - if o.VersionOrig != nil { - toSerialize["version_orig"] = o.VersionOrig - } - if o.VulnerabilityScanResultsUrl != nil { - toSerialize["vulnerability_scan_results_url"] = o.VulnerabilityScanResultsUrl - } - return json.Marshal(toSerialize) -} - -type NullableDebPackageUpload struct { - value *DebPackageUpload - isSet bool -} - -func (v NullableDebPackageUpload) Get() *DebPackageUpload { - return v.value -} - -func (v *NullableDebPackageUpload) Set(val *DebPackageUpload) { - v.value = val - v.isSet = true -} - -func (v NullableDebPackageUpload) IsSet() bool { - return v.isSet -} - -func (v *NullableDebPackageUpload) Unset() { - v.value = nil - v.isSet = false -} - -func NewNullableDebPackageUpload(val *DebPackageUpload) *NullableDebPackageUpload { - return &NullableDebPackageUpload{value: val, isSet: true} -} - -func (v NullableDebPackageUpload) MarshalJSON() ([]byte, error) { - return json.Marshal(v.value) -} - -func (v *NullableDebPackageUpload) UnmarshalJSON(src []byte) error { - v.isSet = true - return json.Unmarshal(src, &v.value) -} diff --git a/model_deb_package_upload_request.go b/model_deb_package_upload_request.go new file mode 100644 index 00000000..2b541ff8 --- /dev/null +++ b/model_deb_package_upload_request.go @@ -0,0 +1,319 @@ +/* +Cloudsmith API (v1) + +The API to the Cloudsmith Service + +API version: 1.181.6 +Contact: support@cloudsmith.io +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cloudsmith + +import ( + "encoding/json" +) + +// DebPackageUploadRequest struct for DebPackageUploadRequest +type DebPackageUploadRequest struct { + // The changes archive containing the changes made to the source and debian packaging files + ChangesFile NullableString `json:"changes_file,omitempty"` + // The distribution to store the package for. + Distribution string `json:"distribution"` + // The primary file for the package. + PackageFile string `json:"package_file"` + // If true, the uploaded package will overwrite any others with the same attributes (e.g. same version); otherwise, it will be flagged as a duplicate. + Republish *bool `json:"republish,omitempty"` + // The sources archive containing the source code for the binary + SourcesFile NullableString `json:"sources_file,omitempty"` + // A comma-separated values list of tags to add to the package. + Tags NullableString `json:"tags,omitempty"` +} + +// NewDebPackageUploadRequest instantiates a new DebPackageUploadRequest object +// 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 NewDebPackageUploadRequest(distribution string, packageFile string) *DebPackageUploadRequest { + this := DebPackageUploadRequest{} + this.Distribution = distribution + this.PackageFile = packageFile + return &this +} + +// NewDebPackageUploadRequestWithDefaults instantiates a new DebPackageUploadRequest object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewDebPackageUploadRequestWithDefaults() *DebPackageUploadRequest { + this := DebPackageUploadRequest{} + return &this +} + +// GetChangesFile returns the ChangesFile field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *DebPackageUploadRequest) GetChangesFile() string { + if o == nil || isNil(o.ChangesFile.Get()) { + var ret string + return ret + } + return *o.ChangesFile.Get() +} + +// GetChangesFileOk returns a tuple with the ChangesFile 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 *DebPackageUploadRequest) GetChangesFileOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.ChangesFile.Get(), o.ChangesFile.IsSet() +} + +// HasChangesFile returns a boolean if a field has been set. +func (o *DebPackageUploadRequest) HasChangesFile() bool { + if o != nil && o.ChangesFile.IsSet() { + return true + } + + return false +} + +// SetChangesFile gets a reference to the given NullableString and assigns it to the ChangesFile field. +func (o *DebPackageUploadRequest) SetChangesFile(v string) { + o.ChangesFile.Set(&v) +} + +// SetChangesFileNil sets the value for ChangesFile to be an explicit nil +func (o *DebPackageUploadRequest) SetChangesFileNil() { + o.ChangesFile.Set(nil) +} + +// UnsetChangesFile ensures that no value is present for ChangesFile, not even an explicit nil +func (o *DebPackageUploadRequest) UnsetChangesFile() { + o.ChangesFile.Unset() +} + +// GetDistribution returns the Distribution field value +func (o *DebPackageUploadRequest) GetDistribution() string { + if o == nil { + var ret string + return ret + } + + return o.Distribution +} + +// GetDistributionOk returns a tuple with the Distribution field value +// and a boolean to check if the value has been set. +func (o *DebPackageUploadRequest) GetDistributionOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Distribution, true +} + +// SetDistribution sets field value +func (o *DebPackageUploadRequest) SetDistribution(v string) { + o.Distribution = v +} + +// GetPackageFile returns the PackageFile field value +func (o *DebPackageUploadRequest) GetPackageFile() string { + if o == nil { + var ret string + return ret + } + + return o.PackageFile +} + +// GetPackageFileOk returns a tuple with the PackageFile field value +// and a boolean to check if the value has been set. +func (o *DebPackageUploadRequest) GetPackageFileOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.PackageFile, true +} + +// SetPackageFile sets field value +func (o *DebPackageUploadRequest) SetPackageFile(v string) { + o.PackageFile = v +} + +// GetRepublish returns the Republish field value if set, zero value otherwise. +func (o *DebPackageUploadRequest) GetRepublish() bool { + if o == nil || isNil(o.Republish) { + var ret bool + return ret + } + return *o.Republish +} + +// GetRepublishOk returns a tuple with the Republish field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *DebPackageUploadRequest) GetRepublishOk() (*bool, bool) { + if o == nil || isNil(o.Republish) { + return nil, false + } + return o.Republish, true +} + +// HasRepublish returns a boolean if a field has been set. +func (o *DebPackageUploadRequest) HasRepublish() bool { + if o != nil && !isNil(o.Republish) { + return true + } + + return false +} + +// SetRepublish gets a reference to the given bool and assigns it to the Republish field. +func (o *DebPackageUploadRequest) SetRepublish(v bool) { + o.Republish = &v +} + +// GetSourcesFile returns the SourcesFile field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *DebPackageUploadRequest) GetSourcesFile() string { + if o == nil || isNil(o.SourcesFile.Get()) { + var ret string + return ret + } + return *o.SourcesFile.Get() +} + +// GetSourcesFileOk returns a tuple with the SourcesFile 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 *DebPackageUploadRequest) GetSourcesFileOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.SourcesFile.Get(), o.SourcesFile.IsSet() +} + +// HasSourcesFile returns a boolean if a field has been set. +func (o *DebPackageUploadRequest) HasSourcesFile() bool { + if o != nil && o.SourcesFile.IsSet() { + return true + } + + return false +} + +// SetSourcesFile gets a reference to the given NullableString and assigns it to the SourcesFile field. +func (o *DebPackageUploadRequest) SetSourcesFile(v string) { + o.SourcesFile.Set(&v) +} + +// SetSourcesFileNil sets the value for SourcesFile to be an explicit nil +func (o *DebPackageUploadRequest) SetSourcesFileNil() { + o.SourcesFile.Set(nil) +} + +// UnsetSourcesFile ensures that no value is present for SourcesFile, not even an explicit nil +func (o *DebPackageUploadRequest) UnsetSourcesFile() { + o.SourcesFile.Unset() +} + +// GetTags returns the Tags field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *DebPackageUploadRequest) GetTags() string { + if o == nil || isNil(o.Tags.Get()) { + var ret string + return ret + } + return *o.Tags.Get() +} + +// GetTagsOk returns a tuple with the Tags 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 *DebPackageUploadRequest) GetTagsOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.Tags.Get(), o.Tags.IsSet() +} + +// HasTags returns a boolean if a field has been set. +func (o *DebPackageUploadRequest) HasTags() bool { + if o != nil && o.Tags.IsSet() { + return true + } + + return false +} + +// SetTags gets a reference to the given NullableString and assigns it to the Tags field. +func (o *DebPackageUploadRequest) SetTags(v string) { + o.Tags.Set(&v) +} + +// SetTagsNil sets the value for Tags to be an explicit nil +func (o *DebPackageUploadRequest) SetTagsNil() { + o.Tags.Set(nil) +} + +// UnsetTags ensures that no value is present for Tags, not even an explicit nil +func (o *DebPackageUploadRequest) UnsetTags() { + o.Tags.Unset() +} + +func (o DebPackageUploadRequest) MarshalJSON() ([]byte, error) { + toSerialize := map[string]interface{}{} + if o.ChangesFile.IsSet() { + toSerialize["changes_file"] = o.ChangesFile.Get() + } + if true { + toSerialize["distribution"] = o.Distribution + } + if true { + toSerialize["package_file"] = o.PackageFile + } + if !isNil(o.Republish) { + toSerialize["republish"] = o.Republish + } + if o.SourcesFile.IsSet() { + toSerialize["sources_file"] = o.SourcesFile.Get() + } + if o.Tags.IsSet() { + toSerialize["tags"] = o.Tags.Get() + } + return json.Marshal(toSerialize) +} + +type NullableDebPackageUploadRequest struct { + value *DebPackageUploadRequest + isSet bool +} + +func (v NullableDebPackageUploadRequest) Get() *DebPackageUploadRequest { + return v.value +} + +func (v *NullableDebPackageUploadRequest) Set(val *DebPackageUploadRequest) { + v.value = val + v.isSet = true +} + +func (v NullableDebPackageUploadRequest) IsSet() bool { + return v.isSet +} + +func (v *NullableDebPackageUploadRequest) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableDebPackageUploadRequest(val *DebPackageUploadRequest) *NullableDebPackageUploadRequest { + return &NullableDebPackageUploadRequest{value: val, isSet: true} +} + +func (v NullableDebPackageUploadRequest) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableDebPackageUploadRequest) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} diff --git a/model_deb_package_upload_response.go b/model_deb_package_upload_response.go new file mode 100644 index 00000000..eb8c848c --- /dev/null +++ b/model_deb_package_upload_response.go @@ -0,0 +1,2595 @@ +/* +Cloudsmith API (v1) + +The API to the Cloudsmith Service + +API version: 1.181.6 +Contact: support@cloudsmith.io +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cloudsmith + +import ( + "encoding/json" + "time" +) + +// DebPackageUploadResponse struct for DebPackageUploadResponse +type DebPackageUploadResponse struct { + Architectures []Architecture `json:"architectures,omitempty"` + CdnUrl NullableString `json:"cdn_url,omitempty"` + ChecksumMd5 *string `json:"checksum_md5,omitempty"` + ChecksumSha1 *string `json:"checksum_sha1,omitempty"` + ChecksumSha256 *string `json:"checksum_sha256,omitempty"` + ChecksumSha512 *string `json:"checksum_sha512,omitempty"` + // A checksum of all of the package's dependencies. + DependenciesChecksumMd5 *string `json:"dependencies_checksum_md5,omitempty"` + DependenciesUrl *string `json:"dependencies_url,omitempty"` + // A textual description of this package. + Description *string `json:"description,omitempty"` + Distro NullableDistribution `json:"distro,omitempty"` + DistroVersion *DistributionVersion `json:"distro_version,omitempty"` + Downloads *int64 `json:"downloads,omitempty"` + // The epoch of the package version (if any). + Epoch *int64 `json:"epoch,omitempty"` + Extension *string `json:"extension,omitempty"` + Filename *string `json:"filename,omitempty"` + Files []PackageFile `json:"files,omitempty"` + Format *string `json:"format,omitempty"` + FormatUrl *string `json:"format_url,omitempty"` + // Unique and permanent identifier for the package. + IdentifierPerm *string `json:"identifier_perm,omitempty"` + Indexed *bool `json:"indexed,omitempty"` + IsDownloadable *bool `json:"is_downloadable,omitempty"` + IsQuarantined *bool `json:"is_quarantined,omitempty"` + IsSyncAwaiting *bool `json:"is_sync_awaiting,omitempty"` + IsSyncCompleted *bool `json:"is_sync_completed,omitempty"` + IsSyncFailed *bool `json:"is_sync_failed,omitempty"` + IsSyncInFlight *bool `json:"is_sync_in_flight,omitempty"` + IsSyncInProgress *bool `json:"is_sync_in_progress,omitempty"` + // The license of this package. + License *string `json:"license,omitempty"` + // The name of this package. + Name *string `json:"name,omitempty"` + Namespace *string `json:"namespace,omitempty"` + NamespaceUrl *string `json:"namespace_url,omitempty"` + NumFiles *int64 `json:"num_files,omitempty"` + OriginRepository *string `json:"origin_repository,omitempty"` + OriginRepositoryUrl *string `json:"origin_repository_url,omitempty"` + // The type of package contents. + PackageType *int64 `json:"package_type,omitempty"` + // The release of the package version (if any). + Release *string `json:"release,omitempty"` + Repository *string `json:"repository,omitempty"` + RepositoryUrl *string `json:"repository_url,omitempty"` + // The datetime the security scanning was completed. + SecurityScanCompletedAt *time.Time `json:"security_scan_completed_at,omitempty"` + // The datetime the security scanning was started. + SecurityScanStartedAt *time.Time `json:"security_scan_started_at,omitempty"` + SecurityScanStatus NullableString `json:"security_scan_status,omitempty"` + // The datetime the security scanning status was updated. + SecurityScanStatusUpdatedAt *time.Time `json:"security_scan_status_updated_at,omitempty"` + SelfHtmlUrl *string `json:"self_html_url,omitempty"` + SelfUrl *string `json:"self_url,omitempty"` + SignatureUrl NullableString `json:"signature_url,omitempty"` + // The calculated size of the package. + Size *int64 `json:"size,omitempty"` + // The public unique identifier for the package. + Slug *string `json:"slug,omitempty"` + SlugPerm *string `json:"slug_perm,omitempty"` + // The synchronisation (in progress) stage of the package. + Stage *int64 `json:"stage,omitempty"` + StageStr *string `json:"stage_str,omitempty"` + // The datetime the package stage was updated at. + StageUpdatedAt *time.Time `json:"stage_updated_at,omitempty"` + // The synchronisation status of the package. + Status *int64 `json:"status,omitempty"` + // A textual description for the synchronous status reason (if any + StatusReason *string `json:"status_reason,omitempty"` + StatusStr *string `json:"status_str,omitempty"` + // The datetime the package status was updated at. + StatusUpdatedAt *time.Time `json:"status_updated_at,omitempty"` + StatusUrl *string `json:"status_url,omitempty"` + Subtype *string `json:"subtype,omitempty"` + // A one-liner synopsis of this package. + Summary *string `json:"summary,omitempty"` + // The datetime the package sync was finished at. + SyncFinishedAt *time.Time `json:"sync_finished_at,omitempty"` + // Synchronisation progress (from 0-100) + SyncProgress *int64 `json:"sync_progress,omitempty"` + // All tags on the package, grouped by tag type. This includes immutable tags, but doesn't distinguish them from mutable. To see which tags are immutable specifically, see the tags_immutable field. + TagsImmutable map[string]interface{} `json:"tags_immutable,omitempty"` + TypeDisplay *string `json:"type_display,omitempty"` + // The date this package was uploaded. + UploadedAt *time.Time `json:"uploaded_at,omitempty"` + Uploader *string `json:"uploader,omitempty"` + UploaderUrl *string `json:"uploader_url,omitempty"` + // The raw version for this package. + Version *string `json:"version,omitempty"` + VersionOrig *string `json:"version_orig,omitempty"` + VulnerabilityScanResultsUrl *string `json:"vulnerability_scan_results_url,omitempty"` +} + +// NewDebPackageUploadResponse instantiates a new DebPackageUploadResponse object +// 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 NewDebPackageUploadResponse() *DebPackageUploadResponse { + this := DebPackageUploadResponse{} + return &this +} + +// NewDebPackageUploadResponseWithDefaults instantiates a new DebPackageUploadResponse object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewDebPackageUploadResponseWithDefaults() *DebPackageUploadResponse { + this := DebPackageUploadResponse{} + return &this +} + +// GetArchitectures returns the Architectures field value if set, zero value otherwise. +func (o *DebPackageUploadResponse) GetArchitectures() []Architecture { + if o == nil || isNil(o.Architectures) { + var ret []Architecture + return ret + } + return o.Architectures +} + +// GetArchitecturesOk returns a tuple with the Architectures field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *DebPackageUploadResponse) GetArchitecturesOk() ([]Architecture, bool) { + if o == nil || isNil(o.Architectures) { + return nil, false + } + return o.Architectures, true +} + +// HasArchitectures returns a boolean if a field has been set. +func (o *DebPackageUploadResponse) HasArchitectures() bool { + if o != nil && !isNil(o.Architectures) { + return true + } + + return false +} + +// SetArchitectures gets a reference to the given []Architecture and assigns it to the Architectures field. +func (o *DebPackageUploadResponse) SetArchitectures(v []Architecture) { + o.Architectures = v +} + +// GetCdnUrl returns the CdnUrl field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *DebPackageUploadResponse) GetCdnUrl() string { + if o == nil || isNil(o.CdnUrl.Get()) { + var ret string + return ret + } + return *o.CdnUrl.Get() +} + +// GetCdnUrlOk returns a tuple with the CdnUrl 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 *DebPackageUploadResponse) GetCdnUrlOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.CdnUrl.Get(), o.CdnUrl.IsSet() +} + +// HasCdnUrl returns a boolean if a field has been set. +func (o *DebPackageUploadResponse) HasCdnUrl() bool { + if o != nil && o.CdnUrl.IsSet() { + return true + } + + return false +} + +// SetCdnUrl gets a reference to the given NullableString and assigns it to the CdnUrl field. +func (o *DebPackageUploadResponse) SetCdnUrl(v string) { + o.CdnUrl.Set(&v) +} + +// SetCdnUrlNil sets the value for CdnUrl to be an explicit nil +func (o *DebPackageUploadResponse) SetCdnUrlNil() { + o.CdnUrl.Set(nil) +} + +// UnsetCdnUrl ensures that no value is present for CdnUrl, not even an explicit nil +func (o *DebPackageUploadResponse) UnsetCdnUrl() { + o.CdnUrl.Unset() +} + +// GetChecksumMd5 returns the ChecksumMd5 field value if set, zero value otherwise. +func (o *DebPackageUploadResponse) GetChecksumMd5() string { + if o == nil || isNil(o.ChecksumMd5) { + var ret string + return ret + } + return *o.ChecksumMd5 +} + +// GetChecksumMd5Ok returns a tuple with the ChecksumMd5 field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *DebPackageUploadResponse) GetChecksumMd5Ok() (*string, bool) { + if o == nil || isNil(o.ChecksumMd5) { + return nil, false + } + return o.ChecksumMd5, true +} + +// HasChecksumMd5 returns a boolean if a field has been set. +func (o *DebPackageUploadResponse) HasChecksumMd5() bool { + if o != nil && !isNil(o.ChecksumMd5) { + return true + } + + return false +} + +// SetChecksumMd5 gets a reference to the given string and assigns it to the ChecksumMd5 field. +func (o *DebPackageUploadResponse) SetChecksumMd5(v string) { + o.ChecksumMd5 = &v +} + +// GetChecksumSha1 returns the ChecksumSha1 field value if set, zero value otherwise. +func (o *DebPackageUploadResponse) GetChecksumSha1() string { + if o == nil || isNil(o.ChecksumSha1) { + var ret string + return ret + } + return *o.ChecksumSha1 +} + +// GetChecksumSha1Ok returns a tuple with the ChecksumSha1 field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *DebPackageUploadResponse) GetChecksumSha1Ok() (*string, bool) { + if o == nil || isNil(o.ChecksumSha1) { + return nil, false + } + return o.ChecksumSha1, true +} + +// HasChecksumSha1 returns a boolean if a field has been set. +func (o *DebPackageUploadResponse) HasChecksumSha1() bool { + if o != nil && !isNil(o.ChecksumSha1) { + return true + } + + return false +} + +// SetChecksumSha1 gets a reference to the given string and assigns it to the ChecksumSha1 field. +func (o *DebPackageUploadResponse) SetChecksumSha1(v string) { + o.ChecksumSha1 = &v +} + +// GetChecksumSha256 returns the ChecksumSha256 field value if set, zero value otherwise. +func (o *DebPackageUploadResponse) GetChecksumSha256() string { + if o == nil || isNil(o.ChecksumSha256) { + var ret string + return ret + } + return *o.ChecksumSha256 +} + +// GetChecksumSha256Ok returns a tuple with the ChecksumSha256 field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *DebPackageUploadResponse) GetChecksumSha256Ok() (*string, bool) { + if o == nil || isNil(o.ChecksumSha256) { + return nil, false + } + return o.ChecksumSha256, true +} + +// HasChecksumSha256 returns a boolean if a field has been set. +func (o *DebPackageUploadResponse) HasChecksumSha256() bool { + if o != nil && !isNil(o.ChecksumSha256) { + return true + } + + return false +} + +// SetChecksumSha256 gets a reference to the given string and assigns it to the ChecksumSha256 field. +func (o *DebPackageUploadResponse) SetChecksumSha256(v string) { + o.ChecksumSha256 = &v +} + +// GetChecksumSha512 returns the ChecksumSha512 field value if set, zero value otherwise. +func (o *DebPackageUploadResponse) GetChecksumSha512() string { + if o == nil || isNil(o.ChecksumSha512) { + var ret string + return ret + } + return *o.ChecksumSha512 +} + +// GetChecksumSha512Ok returns a tuple with the ChecksumSha512 field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *DebPackageUploadResponse) GetChecksumSha512Ok() (*string, bool) { + if o == nil || isNil(o.ChecksumSha512) { + return nil, false + } + return o.ChecksumSha512, true +} + +// HasChecksumSha512 returns a boolean if a field has been set. +func (o *DebPackageUploadResponse) HasChecksumSha512() bool { + if o != nil && !isNil(o.ChecksumSha512) { + return true + } + + return false +} + +// SetChecksumSha512 gets a reference to the given string and assigns it to the ChecksumSha512 field. +func (o *DebPackageUploadResponse) SetChecksumSha512(v string) { + o.ChecksumSha512 = &v +} + +// GetDependenciesChecksumMd5 returns the DependenciesChecksumMd5 field value if set, zero value otherwise. +func (o *DebPackageUploadResponse) GetDependenciesChecksumMd5() string { + if o == nil || isNil(o.DependenciesChecksumMd5) { + var ret string + return ret + } + return *o.DependenciesChecksumMd5 +} + +// GetDependenciesChecksumMd5Ok returns a tuple with the DependenciesChecksumMd5 field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *DebPackageUploadResponse) GetDependenciesChecksumMd5Ok() (*string, bool) { + if o == nil || isNil(o.DependenciesChecksumMd5) { + return nil, false + } + return o.DependenciesChecksumMd5, true +} + +// HasDependenciesChecksumMd5 returns a boolean if a field has been set. +func (o *DebPackageUploadResponse) HasDependenciesChecksumMd5() bool { + if o != nil && !isNil(o.DependenciesChecksumMd5) { + return true + } + + return false +} + +// SetDependenciesChecksumMd5 gets a reference to the given string and assigns it to the DependenciesChecksumMd5 field. +func (o *DebPackageUploadResponse) SetDependenciesChecksumMd5(v string) { + o.DependenciesChecksumMd5 = &v +} + +// GetDependenciesUrl returns the DependenciesUrl field value if set, zero value otherwise. +func (o *DebPackageUploadResponse) GetDependenciesUrl() string { + if o == nil || isNil(o.DependenciesUrl) { + var ret string + return ret + } + return *o.DependenciesUrl +} + +// GetDependenciesUrlOk returns a tuple with the DependenciesUrl field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *DebPackageUploadResponse) GetDependenciesUrlOk() (*string, bool) { + if o == nil || isNil(o.DependenciesUrl) { + return nil, false + } + return o.DependenciesUrl, true +} + +// HasDependenciesUrl returns a boolean if a field has been set. +func (o *DebPackageUploadResponse) HasDependenciesUrl() bool { + if o != nil && !isNil(o.DependenciesUrl) { + return true + } + + return false +} + +// SetDependenciesUrl gets a reference to the given string and assigns it to the DependenciesUrl field. +func (o *DebPackageUploadResponse) SetDependenciesUrl(v string) { + o.DependenciesUrl = &v +} + +// GetDescription returns the Description field value if set, zero value otherwise. +func (o *DebPackageUploadResponse) GetDescription() string { + if o == nil || isNil(o.Description) { + var ret string + return ret + } + return *o.Description +} + +// GetDescriptionOk returns a tuple with the Description field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *DebPackageUploadResponse) GetDescriptionOk() (*string, bool) { + if o == nil || isNil(o.Description) { + return nil, false + } + return o.Description, true +} + +// HasDescription returns a boolean if a field has been set. +func (o *DebPackageUploadResponse) HasDescription() bool { + if o != nil && !isNil(o.Description) { + return true + } + + return false +} + +// SetDescription gets a reference to the given string and assigns it to the Description field. +func (o *DebPackageUploadResponse) SetDescription(v string) { + o.Description = &v +} + +// GetDistro returns the Distro field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *DebPackageUploadResponse) GetDistro() Distribution { + if o == nil || isNil(o.Distro.Get()) { + var ret Distribution + return ret + } + return *o.Distro.Get() +} + +// GetDistroOk returns a tuple with the Distro 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 *DebPackageUploadResponse) GetDistroOk() (*Distribution, bool) { + if o == nil { + return nil, false + } + return o.Distro.Get(), o.Distro.IsSet() +} + +// HasDistro returns a boolean if a field has been set. +func (o *DebPackageUploadResponse) HasDistro() bool { + if o != nil && o.Distro.IsSet() { + return true + } + + return false +} + +// SetDistro gets a reference to the given NullableDistribution and assigns it to the Distro field. +func (o *DebPackageUploadResponse) SetDistro(v Distribution) { + o.Distro.Set(&v) +} + +// SetDistroNil sets the value for Distro to be an explicit nil +func (o *DebPackageUploadResponse) SetDistroNil() { + o.Distro.Set(nil) +} + +// UnsetDistro ensures that no value is present for Distro, not even an explicit nil +func (o *DebPackageUploadResponse) UnsetDistro() { + o.Distro.Unset() +} + +// GetDistroVersion returns the DistroVersion field value if set, zero value otherwise. +func (o *DebPackageUploadResponse) GetDistroVersion() DistributionVersion { + if o == nil || isNil(o.DistroVersion) { + var ret DistributionVersion + return ret + } + return *o.DistroVersion +} + +// GetDistroVersionOk returns a tuple with the DistroVersion field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *DebPackageUploadResponse) GetDistroVersionOk() (*DistributionVersion, bool) { + if o == nil || isNil(o.DistroVersion) { + return nil, false + } + return o.DistroVersion, true +} + +// HasDistroVersion returns a boolean if a field has been set. +func (o *DebPackageUploadResponse) HasDistroVersion() bool { + if o != nil && !isNil(o.DistroVersion) { + return true + } + + return false +} + +// SetDistroVersion gets a reference to the given DistributionVersion and assigns it to the DistroVersion field. +func (o *DebPackageUploadResponse) SetDistroVersion(v DistributionVersion) { + o.DistroVersion = &v +} + +// GetDownloads returns the Downloads field value if set, zero value otherwise. +func (o *DebPackageUploadResponse) GetDownloads() int64 { + if o == nil || isNil(o.Downloads) { + var ret int64 + return ret + } + return *o.Downloads +} + +// GetDownloadsOk returns a tuple with the Downloads field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *DebPackageUploadResponse) GetDownloadsOk() (*int64, bool) { + if o == nil || isNil(o.Downloads) { + return nil, false + } + return o.Downloads, true +} + +// HasDownloads returns a boolean if a field has been set. +func (o *DebPackageUploadResponse) HasDownloads() bool { + if o != nil && !isNil(o.Downloads) { + return true + } + + return false +} + +// SetDownloads gets a reference to the given int64 and assigns it to the Downloads field. +func (o *DebPackageUploadResponse) SetDownloads(v int64) { + o.Downloads = &v +} + +// GetEpoch returns the Epoch field value if set, zero value otherwise. +func (o *DebPackageUploadResponse) GetEpoch() int64 { + if o == nil || isNil(o.Epoch) { + var ret int64 + return ret + } + return *o.Epoch +} + +// GetEpochOk returns a tuple with the Epoch field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *DebPackageUploadResponse) GetEpochOk() (*int64, bool) { + if o == nil || isNil(o.Epoch) { + return nil, false + } + return o.Epoch, true +} + +// HasEpoch returns a boolean if a field has been set. +func (o *DebPackageUploadResponse) HasEpoch() bool { + if o != nil && !isNil(o.Epoch) { + return true + } + + return false +} + +// SetEpoch gets a reference to the given int64 and assigns it to the Epoch field. +func (o *DebPackageUploadResponse) SetEpoch(v int64) { + o.Epoch = &v +} + +// GetExtension returns the Extension field value if set, zero value otherwise. +func (o *DebPackageUploadResponse) GetExtension() string { + if o == nil || isNil(o.Extension) { + var ret string + return ret + } + return *o.Extension +} + +// GetExtensionOk returns a tuple with the Extension field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *DebPackageUploadResponse) GetExtensionOk() (*string, bool) { + if o == nil || isNil(o.Extension) { + return nil, false + } + return o.Extension, true +} + +// HasExtension returns a boolean if a field has been set. +func (o *DebPackageUploadResponse) HasExtension() bool { + if o != nil && !isNil(o.Extension) { + return true + } + + return false +} + +// SetExtension gets a reference to the given string and assigns it to the Extension field. +func (o *DebPackageUploadResponse) SetExtension(v string) { + o.Extension = &v +} + +// GetFilename returns the Filename field value if set, zero value otherwise. +func (o *DebPackageUploadResponse) GetFilename() string { + if o == nil || isNil(o.Filename) { + var ret string + return ret + } + return *o.Filename +} + +// GetFilenameOk returns a tuple with the Filename field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *DebPackageUploadResponse) GetFilenameOk() (*string, bool) { + if o == nil || isNil(o.Filename) { + return nil, false + } + return o.Filename, true +} + +// HasFilename returns a boolean if a field has been set. +func (o *DebPackageUploadResponse) HasFilename() bool { + if o != nil && !isNil(o.Filename) { + return true + } + + return false +} + +// SetFilename gets a reference to the given string and assigns it to the Filename field. +func (o *DebPackageUploadResponse) SetFilename(v string) { + o.Filename = &v +} + +// GetFiles returns the Files field value if set, zero value otherwise. +func (o *DebPackageUploadResponse) GetFiles() []PackageFile { + if o == nil || isNil(o.Files) { + var ret []PackageFile + return ret + } + return o.Files +} + +// GetFilesOk returns a tuple with the Files field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *DebPackageUploadResponse) GetFilesOk() ([]PackageFile, bool) { + if o == nil || isNil(o.Files) { + return nil, false + } + return o.Files, true +} + +// HasFiles returns a boolean if a field has been set. +func (o *DebPackageUploadResponse) HasFiles() bool { + if o != nil && !isNil(o.Files) { + return true + } + + return false +} + +// SetFiles gets a reference to the given []PackageFile and assigns it to the Files field. +func (o *DebPackageUploadResponse) SetFiles(v []PackageFile) { + o.Files = v +} + +// GetFormat returns the Format field value if set, zero value otherwise. +func (o *DebPackageUploadResponse) GetFormat() string { + if o == nil || isNil(o.Format) { + var ret string + return ret + } + return *o.Format +} + +// GetFormatOk returns a tuple with the Format field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *DebPackageUploadResponse) GetFormatOk() (*string, bool) { + if o == nil || isNil(o.Format) { + return nil, false + } + return o.Format, true +} + +// HasFormat returns a boolean if a field has been set. +func (o *DebPackageUploadResponse) HasFormat() bool { + if o != nil && !isNil(o.Format) { + return true + } + + return false +} + +// SetFormat gets a reference to the given string and assigns it to the Format field. +func (o *DebPackageUploadResponse) SetFormat(v string) { + o.Format = &v +} + +// GetFormatUrl returns the FormatUrl field value if set, zero value otherwise. +func (o *DebPackageUploadResponse) GetFormatUrl() string { + if o == nil || isNil(o.FormatUrl) { + var ret string + return ret + } + return *o.FormatUrl +} + +// GetFormatUrlOk returns a tuple with the FormatUrl field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *DebPackageUploadResponse) GetFormatUrlOk() (*string, bool) { + if o == nil || isNil(o.FormatUrl) { + return nil, false + } + return o.FormatUrl, true +} + +// HasFormatUrl returns a boolean if a field has been set. +func (o *DebPackageUploadResponse) HasFormatUrl() bool { + if o != nil && !isNil(o.FormatUrl) { + return true + } + + return false +} + +// SetFormatUrl gets a reference to the given string and assigns it to the FormatUrl field. +func (o *DebPackageUploadResponse) SetFormatUrl(v string) { + o.FormatUrl = &v +} + +// GetIdentifierPerm returns the IdentifierPerm field value if set, zero value otherwise. +func (o *DebPackageUploadResponse) GetIdentifierPerm() string { + if o == nil || isNil(o.IdentifierPerm) { + var ret string + return ret + } + return *o.IdentifierPerm +} + +// GetIdentifierPermOk returns a tuple with the IdentifierPerm field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *DebPackageUploadResponse) GetIdentifierPermOk() (*string, bool) { + if o == nil || isNil(o.IdentifierPerm) { + return nil, false + } + return o.IdentifierPerm, true +} + +// HasIdentifierPerm returns a boolean if a field has been set. +func (o *DebPackageUploadResponse) HasIdentifierPerm() bool { + if o != nil && !isNil(o.IdentifierPerm) { + return true + } + + return false +} + +// SetIdentifierPerm gets a reference to the given string and assigns it to the IdentifierPerm field. +func (o *DebPackageUploadResponse) SetIdentifierPerm(v string) { + o.IdentifierPerm = &v +} + +// GetIndexed returns the Indexed field value if set, zero value otherwise. +func (o *DebPackageUploadResponse) GetIndexed() bool { + if o == nil || isNil(o.Indexed) { + var ret bool + return ret + } + return *o.Indexed +} + +// GetIndexedOk returns a tuple with the Indexed field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *DebPackageUploadResponse) GetIndexedOk() (*bool, bool) { + if o == nil || isNil(o.Indexed) { + return nil, false + } + return o.Indexed, true +} + +// HasIndexed returns a boolean if a field has been set. +func (o *DebPackageUploadResponse) HasIndexed() bool { + if o != nil && !isNil(o.Indexed) { + return true + } + + return false +} + +// SetIndexed gets a reference to the given bool and assigns it to the Indexed field. +func (o *DebPackageUploadResponse) SetIndexed(v bool) { + o.Indexed = &v +} + +// GetIsDownloadable returns the IsDownloadable field value if set, zero value otherwise. +func (o *DebPackageUploadResponse) GetIsDownloadable() bool { + if o == nil || isNil(o.IsDownloadable) { + var ret bool + return ret + } + return *o.IsDownloadable +} + +// GetIsDownloadableOk returns a tuple with the IsDownloadable field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *DebPackageUploadResponse) GetIsDownloadableOk() (*bool, bool) { + if o == nil || isNil(o.IsDownloadable) { + return nil, false + } + return o.IsDownloadable, true +} + +// HasIsDownloadable returns a boolean if a field has been set. +func (o *DebPackageUploadResponse) HasIsDownloadable() bool { + if o != nil && !isNil(o.IsDownloadable) { + return true + } + + return false +} + +// SetIsDownloadable gets a reference to the given bool and assigns it to the IsDownloadable field. +func (o *DebPackageUploadResponse) SetIsDownloadable(v bool) { + o.IsDownloadable = &v +} + +// GetIsQuarantined returns the IsQuarantined field value if set, zero value otherwise. +func (o *DebPackageUploadResponse) GetIsQuarantined() bool { + if o == nil || isNil(o.IsQuarantined) { + var ret bool + return ret + } + return *o.IsQuarantined +} + +// GetIsQuarantinedOk returns a tuple with the IsQuarantined field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *DebPackageUploadResponse) GetIsQuarantinedOk() (*bool, bool) { + if o == nil || isNil(o.IsQuarantined) { + return nil, false + } + return o.IsQuarantined, true +} + +// HasIsQuarantined returns a boolean if a field has been set. +func (o *DebPackageUploadResponse) HasIsQuarantined() bool { + if o != nil && !isNil(o.IsQuarantined) { + return true + } + + return false +} + +// SetIsQuarantined gets a reference to the given bool and assigns it to the IsQuarantined field. +func (o *DebPackageUploadResponse) SetIsQuarantined(v bool) { + o.IsQuarantined = &v +} + +// GetIsSyncAwaiting returns the IsSyncAwaiting field value if set, zero value otherwise. +func (o *DebPackageUploadResponse) GetIsSyncAwaiting() bool { + if o == nil || isNil(o.IsSyncAwaiting) { + var ret bool + return ret + } + return *o.IsSyncAwaiting +} + +// GetIsSyncAwaitingOk returns a tuple with the IsSyncAwaiting field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *DebPackageUploadResponse) GetIsSyncAwaitingOk() (*bool, bool) { + if o == nil || isNil(o.IsSyncAwaiting) { + return nil, false + } + return o.IsSyncAwaiting, true +} + +// HasIsSyncAwaiting returns a boolean if a field has been set. +func (o *DebPackageUploadResponse) HasIsSyncAwaiting() bool { + if o != nil && !isNil(o.IsSyncAwaiting) { + return true + } + + return false +} + +// SetIsSyncAwaiting gets a reference to the given bool and assigns it to the IsSyncAwaiting field. +func (o *DebPackageUploadResponse) SetIsSyncAwaiting(v bool) { + o.IsSyncAwaiting = &v +} + +// GetIsSyncCompleted returns the IsSyncCompleted field value if set, zero value otherwise. +func (o *DebPackageUploadResponse) GetIsSyncCompleted() bool { + if o == nil || isNil(o.IsSyncCompleted) { + var ret bool + return ret + } + return *o.IsSyncCompleted +} + +// GetIsSyncCompletedOk returns a tuple with the IsSyncCompleted field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *DebPackageUploadResponse) GetIsSyncCompletedOk() (*bool, bool) { + if o == nil || isNil(o.IsSyncCompleted) { + return nil, false + } + return o.IsSyncCompleted, true +} + +// HasIsSyncCompleted returns a boolean if a field has been set. +func (o *DebPackageUploadResponse) HasIsSyncCompleted() bool { + if o != nil && !isNil(o.IsSyncCompleted) { + return true + } + + return false +} + +// SetIsSyncCompleted gets a reference to the given bool and assigns it to the IsSyncCompleted field. +func (o *DebPackageUploadResponse) SetIsSyncCompleted(v bool) { + o.IsSyncCompleted = &v +} + +// GetIsSyncFailed returns the IsSyncFailed field value if set, zero value otherwise. +func (o *DebPackageUploadResponse) GetIsSyncFailed() bool { + if o == nil || isNil(o.IsSyncFailed) { + var ret bool + return ret + } + return *o.IsSyncFailed +} + +// GetIsSyncFailedOk returns a tuple with the IsSyncFailed field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *DebPackageUploadResponse) GetIsSyncFailedOk() (*bool, bool) { + if o == nil || isNil(o.IsSyncFailed) { + return nil, false + } + return o.IsSyncFailed, true +} + +// HasIsSyncFailed returns a boolean if a field has been set. +func (o *DebPackageUploadResponse) HasIsSyncFailed() bool { + if o != nil && !isNil(o.IsSyncFailed) { + return true + } + + return false +} + +// SetIsSyncFailed gets a reference to the given bool and assigns it to the IsSyncFailed field. +func (o *DebPackageUploadResponse) SetIsSyncFailed(v bool) { + o.IsSyncFailed = &v +} + +// GetIsSyncInFlight returns the IsSyncInFlight field value if set, zero value otherwise. +func (o *DebPackageUploadResponse) GetIsSyncInFlight() bool { + if o == nil || isNil(o.IsSyncInFlight) { + var ret bool + return ret + } + return *o.IsSyncInFlight +} + +// GetIsSyncInFlightOk returns a tuple with the IsSyncInFlight field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *DebPackageUploadResponse) GetIsSyncInFlightOk() (*bool, bool) { + if o == nil || isNil(o.IsSyncInFlight) { + return nil, false + } + return o.IsSyncInFlight, true +} + +// HasIsSyncInFlight returns a boolean if a field has been set. +func (o *DebPackageUploadResponse) HasIsSyncInFlight() bool { + if o != nil && !isNil(o.IsSyncInFlight) { + return true + } + + return false +} + +// SetIsSyncInFlight gets a reference to the given bool and assigns it to the IsSyncInFlight field. +func (o *DebPackageUploadResponse) SetIsSyncInFlight(v bool) { + o.IsSyncInFlight = &v +} + +// GetIsSyncInProgress returns the IsSyncInProgress field value if set, zero value otherwise. +func (o *DebPackageUploadResponse) GetIsSyncInProgress() bool { + if o == nil || isNil(o.IsSyncInProgress) { + var ret bool + return ret + } + return *o.IsSyncInProgress +} + +// GetIsSyncInProgressOk returns a tuple with the IsSyncInProgress field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *DebPackageUploadResponse) GetIsSyncInProgressOk() (*bool, bool) { + if o == nil || isNil(o.IsSyncInProgress) { + return nil, false + } + return o.IsSyncInProgress, true +} + +// HasIsSyncInProgress returns a boolean if a field has been set. +func (o *DebPackageUploadResponse) HasIsSyncInProgress() bool { + if o != nil && !isNil(o.IsSyncInProgress) { + return true + } + + return false +} + +// SetIsSyncInProgress gets a reference to the given bool and assigns it to the IsSyncInProgress field. +func (o *DebPackageUploadResponse) SetIsSyncInProgress(v bool) { + o.IsSyncInProgress = &v +} + +// GetLicense returns the License field value if set, zero value otherwise. +func (o *DebPackageUploadResponse) GetLicense() string { + if o == nil || isNil(o.License) { + var ret string + return ret + } + return *o.License +} + +// GetLicenseOk returns a tuple with the License field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *DebPackageUploadResponse) GetLicenseOk() (*string, bool) { + if o == nil || isNil(o.License) { + return nil, false + } + return o.License, true +} + +// HasLicense returns a boolean if a field has been set. +func (o *DebPackageUploadResponse) HasLicense() bool { + if o != nil && !isNil(o.License) { + return true + } + + return false +} + +// SetLicense gets a reference to the given string and assigns it to the License field. +func (o *DebPackageUploadResponse) SetLicense(v string) { + o.License = &v +} + +// GetName returns the Name field value if set, zero value otherwise. +func (o *DebPackageUploadResponse) GetName() string { + if o == nil || isNil(o.Name) { + var ret string + return ret + } + return *o.Name +} + +// GetNameOk returns a tuple with the Name field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *DebPackageUploadResponse) GetNameOk() (*string, bool) { + if o == nil || isNil(o.Name) { + return nil, false + } + return o.Name, true +} + +// HasName returns a boolean if a field has been set. +func (o *DebPackageUploadResponse) HasName() bool { + if o != nil && !isNil(o.Name) { + return true + } + + return false +} + +// SetName gets a reference to the given string and assigns it to the Name field. +func (o *DebPackageUploadResponse) SetName(v string) { + o.Name = &v +} + +// GetNamespace returns the Namespace field value if set, zero value otherwise. +func (o *DebPackageUploadResponse) GetNamespace() string { + if o == nil || isNil(o.Namespace) { + var ret string + return ret + } + return *o.Namespace +} + +// GetNamespaceOk returns a tuple with the Namespace field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *DebPackageUploadResponse) GetNamespaceOk() (*string, bool) { + if o == nil || isNil(o.Namespace) { + return nil, false + } + return o.Namespace, true +} + +// HasNamespace returns a boolean if a field has been set. +func (o *DebPackageUploadResponse) HasNamespace() bool { + if o != nil && !isNil(o.Namespace) { + return true + } + + return false +} + +// SetNamespace gets a reference to the given string and assigns it to the Namespace field. +func (o *DebPackageUploadResponse) SetNamespace(v string) { + o.Namespace = &v +} + +// GetNamespaceUrl returns the NamespaceUrl field value if set, zero value otherwise. +func (o *DebPackageUploadResponse) GetNamespaceUrl() string { + if o == nil || isNil(o.NamespaceUrl) { + var ret string + return ret + } + return *o.NamespaceUrl +} + +// GetNamespaceUrlOk returns a tuple with the NamespaceUrl field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *DebPackageUploadResponse) GetNamespaceUrlOk() (*string, bool) { + if o == nil || isNil(o.NamespaceUrl) { + return nil, false + } + return o.NamespaceUrl, true +} + +// HasNamespaceUrl returns a boolean if a field has been set. +func (o *DebPackageUploadResponse) HasNamespaceUrl() bool { + if o != nil && !isNil(o.NamespaceUrl) { + return true + } + + return false +} + +// SetNamespaceUrl gets a reference to the given string and assigns it to the NamespaceUrl field. +func (o *DebPackageUploadResponse) SetNamespaceUrl(v string) { + o.NamespaceUrl = &v +} + +// GetNumFiles returns the NumFiles field value if set, zero value otherwise. +func (o *DebPackageUploadResponse) GetNumFiles() int64 { + if o == nil || isNil(o.NumFiles) { + var ret int64 + return ret + } + return *o.NumFiles +} + +// GetNumFilesOk returns a tuple with the NumFiles field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *DebPackageUploadResponse) GetNumFilesOk() (*int64, bool) { + if o == nil || isNil(o.NumFiles) { + return nil, false + } + return o.NumFiles, true +} + +// HasNumFiles returns a boolean if a field has been set. +func (o *DebPackageUploadResponse) HasNumFiles() bool { + if o != nil && !isNil(o.NumFiles) { + return true + } + + return false +} + +// SetNumFiles gets a reference to the given int64 and assigns it to the NumFiles field. +func (o *DebPackageUploadResponse) SetNumFiles(v int64) { + o.NumFiles = &v +} + +// GetOriginRepository returns the OriginRepository field value if set, zero value otherwise. +func (o *DebPackageUploadResponse) GetOriginRepository() string { + if o == nil || isNil(o.OriginRepository) { + var ret string + return ret + } + return *o.OriginRepository +} + +// GetOriginRepositoryOk returns a tuple with the OriginRepository field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *DebPackageUploadResponse) GetOriginRepositoryOk() (*string, bool) { + if o == nil || isNil(o.OriginRepository) { + return nil, false + } + return o.OriginRepository, true +} + +// HasOriginRepository returns a boolean if a field has been set. +func (o *DebPackageUploadResponse) HasOriginRepository() bool { + if o != nil && !isNil(o.OriginRepository) { + return true + } + + return false +} + +// SetOriginRepository gets a reference to the given string and assigns it to the OriginRepository field. +func (o *DebPackageUploadResponse) SetOriginRepository(v string) { + o.OriginRepository = &v +} + +// GetOriginRepositoryUrl returns the OriginRepositoryUrl field value if set, zero value otherwise. +func (o *DebPackageUploadResponse) GetOriginRepositoryUrl() string { + if o == nil || isNil(o.OriginRepositoryUrl) { + var ret string + return ret + } + return *o.OriginRepositoryUrl +} + +// GetOriginRepositoryUrlOk returns a tuple with the OriginRepositoryUrl field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *DebPackageUploadResponse) GetOriginRepositoryUrlOk() (*string, bool) { + if o == nil || isNil(o.OriginRepositoryUrl) { + return nil, false + } + return o.OriginRepositoryUrl, true +} + +// HasOriginRepositoryUrl returns a boolean if a field has been set. +func (o *DebPackageUploadResponse) HasOriginRepositoryUrl() bool { + if o != nil && !isNil(o.OriginRepositoryUrl) { + return true + } + + return false +} + +// SetOriginRepositoryUrl gets a reference to the given string and assigns it to the OriginRepositoryUrl field. +func (o *DebPackageUploadResponse) SetOriginRepositoryUrl(v string) { + o.OriginRepositoryUrl = &v +} + +// GetPackageType returns the PackageType field value if set, zero value otherwise. +func (o *DebPackageUploadResponse) GetPackageType() int64 { + if o == nil || isNil(o.PackageType) { + var ret int64 + return ret + } + return *o.PackageType +} + +// GetPackageTypeOk returns a tuple with the PackageType field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *DebPackageUploadResponse) GetPackageTypeOk() (*int64, bool) { + if o == nil || isNil(o.PackageType) { + return nil, false + } + return o.PackageType, true +} + +// HasPackageType returns a boolean if a field has been set. +func (o *DebPackageUploadResponse) HasPackageType() bool { + if o != nil && !isNil(o.PackageType) { + return true + } + + return false +} + +// SetPackageType gets a reference to the given int64 and assigns it to the PackageType field. +func (o *DebPackageUploadResponse) SetPackageType(v int64) { + o.PackageType = &v +} + +// GetRelease returns the Release field value if set, zero value otherwise. +func (o *DebPackageUploadResponse) GetRelease() string { + if o == nil || isNil(o.Release) { + var ret string + return ret + } + return *o.Release +} + +// GetReleaseOk returns a tuple with the Release field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *DebPackageUploadResponse) GetReleaseOk() (*string, bool) { + if o == nil || isNil(o.Release) { + return nil, false + } + return o.Release, true +} + +// HasRelease returns a boolean if a field has been set. +func (o *DebPackageUploadResponse) HasRelease() bool { + if o != nil && !isNil(o.Release) { + return true + } + + return false +} + +// SetRelease gets a reference to the given string and assigns it to the Release field. +func (o *DebPackageUploadResponse) SetRelease(v string) { + o.Release = &v +} + +// GetRepository returns the Repository field value if set, zero value otherwise. +func (o *DebPackageUploadResponse) GetRepository() string { + if o == nil || isNil(o.Repository) { + var ret string + return ret + } + return *o.Repository +} + +// GetRepositoryOk returns a tuple with the Repository field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *DebPackageUploadResponse) GetRepositoryOk() (*string, bool) { + if o == nil || isNil(o.Repository) { + return nil, false + } + return o.Repository, true +} + +// HasRepository returns a boolean if a field has been set. +func (o *DebPackageUploadResponse) HasRepository() bool { + if o != nil && !isNil(o.Repository) { + return true + } + + return false +} + +// SetRepository gets a reference to the given string and assigns it to the Repository field. +func (o *DebPackageUploadResponse) SetRepository(v string) { + o.Repository = &v +} + +// GetRepositoryUrl returns the RepositoryUrl field value if set, zero value otherwise. +func (o *DebPackageUploadResponse) GetRepositoryUrl() string { + if o == nil || isNil(o.RepositoryUrl) { + var ret string + return ret + } + return *o.RepositoryUrl +} + +// GetRepositoryUrlOk returns a tuple with the RepositoryUrl field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *DebPackageUploadResponse) GetRepositoryUrlOk() (*string, bool) { + if o == nil || isNil(o.RepositoryUrl) { + return nil, false + } + return o.RepositoryUrl, true +} + +// HasRepositoryUrl returns a boolean if a field has been set. +func (o *DebPackageUploadResponse) HasRepositoryUrl() bool { + if o != nil && !isNil(o.RepositoryUrl) { + return true + } + + return false +} + +// SetRepositoryUrl gets a reference to the given string and assigns it to the RepositoryUrl field. +func (o *DebPackageUploadResponse) SetRepositoryUrl(v string) { + o.RepositoryUrl = &v +} + +// GetSecurityScanCompletedAt returns the SecurityScanCompletedAt field value if set, zero value otherwise. +func (o *DebPackageUploadResponse) GetSecurityScanCompletedAt() time.Time { + if o == nil || isNil(o.SecurityScanCompletedAt) { + var ret time.Time + return ret + } + return *o.SecurityScanCompletedAt +} + +// GetSecurityScanCompletedAtOk returns a tuple with the SecurityScanCompletedAt field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *DebPackageUploadResponse) GetSecurityScanCompletedAtOk() (*time.Time, bool) { + if o == nil || isNil(o.SecurityScanCompletedAt) { + return nil, false + } + return o.SecurityScanCompletedAt, true +} + +// HasSecurityScanCompletedAt returns a boolean if a field has been set. +func (o *DebPackageUploadResponse) HasSecurityScanCompletedAt() bool { + if o != nil && !isNil(o.SecurityScanCompletedAt) { + return true + } + + return false +} + +// SetSecurityScanCompletedAt gets a reference to the given time.Time and assigns it to the SecurityScanCompletedAt field. +func (o *DebPackageUploadResponse) SetSecurityScanCompletedAt(v time.Time) { + o.SecurityScanCompletedAt = &v +} + +// GetSecurityScanStartedAt returns the SecurityScanStartedAt field value if set, zero value otherwise. +func (o *DebPackageUploadResponse) GetSecurityScanStartedAt() time.Time { + if o == nil || isNil(o.SecurityScanStartedAt) { + var ret time.Time + return ret + } + return *o.SecurityScanStartedAt +} + +// GetSecurityScanStartedAtOk returns a tuple with the SecurityScanStartedAt field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *DebPackageUploadResponse) GetSecurityScanStartedAtOk() (*time.Time, bool) { + if o == nil || isNil(o.SecurityScanStartedAt) { + return nil, false + } + return o.SecurityScanStartedAt, true +} + +// HasSecurityScanStartedAt returns a boolean if a field has been set. +func (o *DebPackageUploadResponse) HasSecurityScanStartedAt() bool { + if o != nil && !isNil(o.SecurityScanStartedAt) { + return true + } + + return false +} + +// SetSecurityScanStartedAt gets a reference to the given time.Time and assigns it to the SecurityScanStartedAt field. +func (o *DebPackageUploadResponse) SetSecurityScanStartedAt(v time.Time) { + o.SecurityScanStartedAt = &v +} + +// GetSecurityScanStatus returns the SecurityScanStatus field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *DebPackageUploadResponse) GetSecurityScanStatus() string { + if o == nil || isNil(o.SecurityScanStatus.Get()) { + var ret string + return ret + } + return *o.SecurityScanStatus.Get() +} + +// GetSecurityScanStatusOk returns a tuple with the SecurityScanStatus 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 *DebPackageUploadResponse) GetSecurityScanStatusOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.SecurityScanStatus.Get(), o.SecurityScanStatus.IsSet() +} + +// HasSecurityScanStatus returns a boolean if a field has been set. +func (o *DebPackageUploadResponse) HasSecurityScanStatus() bool { + if o != nil && o.SecurityScanStatus.IsSet() { + return true + } + + return false +} + +// SetSecurityScanStatus gets a reference to the given NullableString and assigns it to the SecurityScanStatus field. +func (o *DebPackageUploadResponse) SetSecurityScanStatus(v string) { + o.SecurityScanStatus.Set(&v) +} + +// SetSecurityScanStatusNil sets the value for SecurityScanStatus to be an explicit nil +func (o *DebPackageUploadResponse) SetSecurityScanStatusNil() { + o.SecurityScanStatus.Set(nil) +} + +// UnsetSecurityScanStatus ensures that no value is present for SecurityScanStatus, not even an explicit nil +func (o *DebPackageUploadResponse) UnsetSecurityScanStatus() { + o.SecurityScanStatus.Unset() +} + +// GetSecurityScanStatusUpdatedAt returns the SecurityScanStatusUpdatedAt field value if set, zero value otherwise. +func (o *DebPackageUploadResponse) GetSecurityScanStatusUpdatedAt() time.Time { + if o == nil || isNil(o.SecurityScanStatusUpdatedAt) { + var ret time.Time + return ret + } + return *o.SecurityScanStatusUpdatedAt +} + +// GetSecurityScanStatusUpdatedAtOk returns a tuple with the SecurityScanStatusUpdatedAt field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *DebPackageUploadResponse) GetSecurityScanStatusUpdatedAtOk() (*time.Time, bool) { + if o == nil || isNil(o.SecurityScanStatusUpdatedAt) { + return nil, false + } + return o.SecurityScanStatusUpdatedAt, true +} + +// HasSecurityScanStatusUpdatedAt returns a boolean if a field has been set. +func (o *DebPackageUploadResponse) HasSecurityScanStatusUpdatedAt() bool { + if o != nil && !isNil(o.SecurityScanStatusUpdatedAt) { + return true + } + + return false +} + +// SetSecurityScanStatusUpdatedAt gets a reference to the given time.Time and assigns it to the SecurityScanStatusUpdatedAt field. +func (o *DebPackageUploadResponse) SetSecurityScanStatusUpdatedAt(v time.Time) { + o.SecurityScanStatusUpdatedAt = &v +} + +// GetSelfHtmlUrl returns the SelfHtmlUrl field value if set, zero value otherwise. +func (o *DebPackageUploadResponse) GetSelfHtmlUrl() string { + if o == nil || isNil(o.SelfHtmlUrl) { + var ret string + return ret + } + return *o.SelfHtmlUrl +} + +// GetSelfHtmlUrlOk returns a tuple with the SelfHtmlUrl field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *DebPackageUploadResponse) GetSelfHtmlUrlOk() (*string, bool) { + if o == nil || isNil(o.SelfHtmlUrl) { + return nil, false + } + return o.SelfHtmlUrl, true +} + +// HasSelfHtmlUrl returns a boolean if a field has been set. +func (o *DebPackageUploadResponse) HasSelfHtmlUrl() bool { + if o != nil && !isNil(o.SelfHtmlUrl) { + return true + } + + return false +} + +// SetSelfHtmlUrl gets a reference to the given string and assigns it to the SelfHtmlUrl field. +func (o *DebPackageUploadResponse) SetSelfHtmlUrl(v string) { + o.SelfHtmlUrl = &v +} + +// GetSelfUrl returns the SelfUrl field value if set, zero value otherwise. +func (o *DebPackageUploadResponse) GetSelfUrl() string { + if o == nil || isNil(o.SelfUrl) { + var ret string + return ret + } + return *o.SelfUrl +} + +// GetSelfUrlOk returns a tuple with the SelfUrl field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *DebPackageUploadResponse) GetSelfUrlOk() (*string, bool) { + if o == nil || isNil(o.SelfUrl) { + return nil, false + } + return o.SelfUrl, true +} + +// HasSelfUrl returns a boolean if a field has been set. +func (o *DebPackageUploadResponse) HasSelfUrl() bool { + if o != nil && !isNil(o.SelfUrl) { + return true + } + + return false +} + +// SetSelfUrl gets a reference to the given string and assigns it to the SelfUrl field. +func (o *DebPackageUploadResponse) SetSelfUrl(v string) { + o.SelfUrl = &v +} + +// GetSignatureUrl returns the SignatureUrl field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *DebPackageUploadResponse) GetSignatureUrl() string { + if o == nil || isNil(o.SignatureUrl.Get()) { + var ret string + return ret + } + return *o.SignatureUrl.Get() +} + +// GetSignatureUrlOk returns a tuple with the SignatureUrl 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 *DebPackageUploadResponse) GetSignatureUrlOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.SignatureUrl.Get(), o.SignatureUrl.IsSet() +} + +// HasSignatureUrl returns a boolean if a field has been set. +func (o *DebPackageUploadResponse) HasSignatureUrl() bool { + if o != nil && o.SignatureUrl.IsSet() { + return true + } + + return false +} + +// SetSignatureUrl gets a reference to the given NullableString and assigns it to the SignatureUrl field. +func (o *DebPackageUploadResponse) SetSignatureUrl(v string) { + o.SignatureUrl.Set(&v) +} + +// SetSignatureUrlNil sets the value for SignatureUrl to be an explicit nil +func (o *DebPackageUploadResponse) SetSignatureUrlNil() { + o.SignatureUrl.Set(nil) +} + +// UnsetSignatureUrl ensures that no value is present for SignatureUrl, not even an explicit nil +func (o *DebPackageUploadResponse) UnsetSignatureUrl() { + o.SignatureUrl.Unset() +} + +// GetSize returns the Size field value if set, zero value otherwise. +func (o *DebPackageUploadResponse) GetSize() int64 { + if o == nil || isNil(o.Size) { + var ret int64 + return ret + } + return *o.Size +} + +// GetSizeOk returns a tuple with the Size field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *DebPackageUploadResponse) GetSizeOk() (*int64, bool) { + if o == nil || isNil(o.Size) { + return nil, false + } + return o.Size, true +} + +// HasSize returns a boolean if a field has been set. +func (o *DebPackageUploadResponse) HasSize() bool { + if o != nil && !isNil(o.Size) { + return true + } + + return false +} + +// SetSize gets a reference to the given int64 and assigns it to the Size field. +func (o *DebPackageUploadResponse) SetSize(v int64) { + o.Size = &v +} + +// GetSlug returns the Slug field value if set, zero value otherwise. +func (o *DebPackageUploadResponse) GetSlug() string { + if o == nil || isNil(o.Slug) { + var ret string + return ret + } + return *o.Slug +} + +// GetSlugOk returns a tuple with the Slug field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *DebPackageUploadResponse) GetSlugOk() (*string, bool) { + if o == nil || isNil(o.Slug) { + return nil, false + } + return o.Slug, true +} + +// HasSlug returns a boolean if a field has been set. +func (o *DebPackageUploadResponse) HasSlug() bool { + if o != nil && !isNil(o.Slug) { + return true + } + + return false +} + +// SetSlug gets a reference to the given string and assigns it to the Slug field. +func (o *DebPackageUploadResponse) SetSlug(v string) { + o.Slug = &v +} + +// GetSlugPerm returns the SlugPerm field value if set, zero value otherwise. +func (o *DebPackageUploadResponse) GetSlugPerm() string { + if o == nil || isNil(o.SlugPerm) { + var ret string + return ret + } + return *o.SlugPerm +} + +// GetSlugPermOk returns a tuple with the SlugPerm field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *DebPackageUploadResponse) GetSlugPermOk() (*string, bool) { + if o == nil || isNil(o.SlugPerm) { + return nil, false + } + return o.SlugPerm, true +} + +// HasSlugPerm returns a boolean if a field has been set. +func (o *DebPackageUploadResponse) HasSlugPerm() bool { + if o != nil && !isNil(o.SlugPerm) { + return true + } + + return false +} + +// SetSlugPerm gets a reference to the given string and assigns it to the SlugPerm field. +func (o *DebPackageUploadResponse) SetSlugPerm(v string) { + o.SlugPerm = &v +} + +// GetStage returns the Stage field value if set, zero value otherwise. +func (o *DebPackageUploadResponse) GetStage() int64 { + if o == nil || isNil(o.Stage) { + var ret int64 + return ret + } + return *o.Stage +} + +// GetStageOk returns a tuple with the Stage field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *DebPackageUploadResponse) GetStageOk() (*int64, bool) { + if o == nil || isNil(o.Stage) { + return nil, false + } + return o.Stage, true +} + +// HasStage returns a boolean if a field has been set. +func (o *DebPackageUploadResponse) HasStage() bool { + if o != nil && !isNil(o.Stage) { + return true + } + + return false +} + +// SetStage gets a reference to the given int64 and assigns it to the Stage field. +func (o *DebPackageUploadResponse) SetStage(v int64) { + o.Stage = &v +} + +// GetStageStr returns the StageStr field value if set, zero value otherwise. +func (o *DebPackageUploadResponse) GetStageStr() string { + if o == nil || isNil(o.StageStr) { + var ret string + return ret + } + return *o.StageStr +} + +// GetStageStrOk returns a tuple with the StageStr field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *DebPackageUploadResponse) GetStageStrOk() (*string, bool) { + if o == nil || isNil(o.StageStr) { + return nil, false + } + return o.StageStr, true +} + +// HasStageStr returns a boolean if a field has been set. +func (o *DebPackageUploadResponse) HasStageStr() bool { + if o != nil && !isNil(o.StageStr) { + return true + } + + return false +} + +// SetStageStr gets a reference to the given string and assigns it to the StageStr field. +func (o *DebPackageUploadResponse) SetStageStr(v string) { + o.StageStr = &v +} + +// GetStageUpdatedAt returns the StageUpdatedAt field value if set, zero value otherwise. +func (o *DebPackageUploadResponse) GetStageUpdatedAt() time.Time { + if o == nil || isNil(o.StageUpdatedAt) { + var ret time.Time + return ret + } + return *o.StageUpdatedAt +} + +// GetStageUpdatedAtOk returns a tuple with the StageUpdatedAt field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *DebPackageUploadResponse) GetStageUpdatedAtOk() (*time.Time, bool) { + if o == nil || isNil(o.StageUpdatedAt) { + return nil, false + } + return o.StageUpdatedAt, true +} + +// HasStageUpdatedAt returns a boolean if a field has been set. +func (o *DebPackageUploadResponse) HasStageUpdatedAt() bool { + if o != nil && !isNil(o.StageUpdatedAt) { + return true + } + + return false +} + +// SetStageUpdatedAt gets a reference to the given time.Time and assigns it to the StageUpdatedAt field. +func (o *DebPackageUploadResponse) SetStageUpdatedAt(v time.Time) { + o.StageUpdatedAt = &v +} + +// GetStatus returns the Status field value if set, zero value otherwise. +func (o *DebPackageUploadResponse) GetStatus() int64 { + if o == nil || isNil(o.Status) { + var ret int64 + return ret + } + return *o.Status +} + +// GetStatusOk returns a tuple with the Status field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *DebPackageUploadResponse) GetStatusOk() (*int64, bool) { + if o == nil || isNil(o.Status) { + return nil, false + } + return o.Status, true +} + +// HasStatus returns a boolean if a field has been set. +func (o *DebPackageUploadResponse) HasStatus() bool { + if o != nil && !isNil(o.Status) { + return true + } + + return false +} + +// SetStatus gets a reference to the given int64 and assigns it to the Status field. +func (o *DebPackageUploadResponse) SetStatus(v int64) { + o.Status = &v +} + +// GetStatusReason returns the StatusReason field value if set, zero value otherwise. +func (o *DebPackageUploadResponse) GetStatusReason() string { + if o == nil || isNil(o.StatusReason) { + var ret string + return ret + } + return *o.StatusReason +} + +// GetStatusReasonOk returns a tuple with the StatusReason field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *DebPackageUploadResponse) GetStatusReasonOk() (*string, bool) { + if o == nil || isNil(o.StatusReason) { + return nil, false + } + return o.StatusReason, true +} + +// HasStatusReason returns a boolean if a field has been set. +func (o *DebPackageUploadResponse) HasStatusReason() bool { + if o != nil && !isNil(o.StatusReason) { + return true + } + + return false +} + +// SetStatusReason gets a reference to the given string and assigns it to the StatusReason field. +func (o *DebPackageUploadResponse) SetStatusReason(v string) { + o.StatusReason = &v +} + +// GetStatusStr returns the StatusStr field value if set, zero value otherwise. +func (o *DebPackageUploadResponse) GetStatusStr() string { + if o == nil || isNil(o.StatusStr) { + var ret string + return ret + } + return *o.StatusStr +} + +// GetStatusStrOk returns a tuple with the StatusStr field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *DebPackageUploadResponse) GetStatusStrOk() (*string, bool) { + if o == nil || isNil(o.StatusStr) { + return nil, false + } + return o.StatusStr, true +} + +// HasStatusStr returns a boolean if a field has been set. +func (o *DebPackageUploadResponse) HasStatusStr() bool { + if o != nil && !isNil(o.StatusStr) { + return true + } + + return false +} + +// SetStatusStr gets a reference to the given string and assigns it to the StatusStr field. +func (o *DebPackageUploadResponse) SetStatusStr(v string) { + o.StatusStr = &v +} + +// GetStatusUpdatedAt returns the StatusUpdatedAt field value if set, zero value otherwise. +func (o *DebPackageUploadResponse) GetStatusUpdatedAt() time.Time { + if o == nil || isNil(o.StatusUpdatedAt) { + var ret time.Time + return ret + } + return *o.StatusUpdatedAt +} + +// GetStatusUpdatedAtOk returns a tuple with the StatusUpdatedAt field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *DebPackageUploadResponse) GetStatusUpdatedAtOk() (*time.Time, bool) { + if o == nil || isNil(o.StatusUpdatedAt) { + return nil, false + } + return o.StatusUpdatedAt, true +} + +// HasStatusUpdatedAt returns a boolean if a field has been set. +func (o *DebPackageUploadResponse) HasStatusUpdatedAt() bool { + if o != nil && !isNil(o.StatusUpdatedAt) { + return true + } + + return false +} + +// SetStatusUpdatedAt gets a reference to the given time.Time and assigns it to the StatusUpdatedAt field. +func (o *DebPackageUploadResponse) SetStatusUpdatedAt(v time.Time) { + o.StatusUpdatedAt = &v +} + +// GetStatusUrl returns the StatusUrl field value if set, zero value otherwise. +func (o *DebPackageUploadResponse) GetStatusUrl() string { + if o == nil || isNil(o.StatusUrl) { + var ret string + return ret + } + return *o.StatusUrl +} + +// GetStatusUrlOk returns a tuple with the StatusUrl field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *DebPackageUploadResponse) GetStatusUrlOk() (*string, bool) { + if o == nil || isNil(o.StatusUrl) { + return nil, false + } + return o.StatusUrl, true +} + +// HasStatusUrl returns a boolean if a field has been set. +func (o *DebPackageUploadResponse) HasStatusUrl() bool { + if o != nil && !isNil(o.StatusUrl) { + return true + } + + return false +} + +// SetStatusUrl gets a reference to the given string and assigns it to the StatusUrl field. +func (o *DebPackageUploadResponse) SetStatusUrl(v string) { + o.StatusUrl = &v +} + +// GetSubtype returns the Subtype field value if set, zero value otherwise. +func (o *DebPackageUploadResponse) GetSubtype() string { + if o == nil || isNil(o.Subtype) { + var ret string + return ret + } + return *o.Subtype +} + +// GetSubtypeOk returns a tuple with the Subtype field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *DebPackageUploadResponse) GetSubtypeOk() (*string, bool) { + if o == nil || isNil(o.Subtype) { + return nil, false + } + return o.Subtype, true +} + +// HasSubtype returns a boolean if a field has been set. +func (o *DebPackageUploadResponse) HasSubtype() bool { + if o != nil && !isNil(o.Subtype) { + return true + } + + return false +} + +// SetSubtype gets a reference to the given string and assigns it to the Subtype field. +func (o *DebPackageUploadResponse) SetSubtype(v string) { + o.Subtype = &v +} + +// GetSummary returns the Summary field value if set, zero value otherwise. +func (o *DebPackageUploadResponse) GetSummary() string { + if o == nil || isNil(o.Summary) { + var ret string + return ret + } + return *o.Summary +} + +// GetSummaryOk returns a tuple with the Summary field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *DebPackageUploadResponse) GetSummaryOk() (*string, bool) { + if o == nil || isNil(o.Summary) { + return nil, false + } + return o.Summary, true +} + +// HasSummary returns a boolean if a field has been set. +func (o *DebPackageUploadResponse) HasSummary() bool { + if o != nil && !isNil(o.Summary) { + return true + } + + return false +} + +// SetSummary gets a reference to the given string and assigns it to the Summary field. +func (o *DebPackageUploadResponse) SetSummary(v string) { + o.Summary = &v +} + +// GetSyncFinishedAt returns the SyncFinishedAt field value if set, zero value otherwise. +func (o *DebPackageUploadResponse) GetSyncFinishedAt() time.Time { + if o == nil || isNil(o.SyncFinishedAt) { + var ret time.Time + return ret + } + return *o.SyncFinishedAt +} + +// GetSyncFinishedAtOk returns a tuple with the SyncFinishedAt field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *DebPackageUploadResponse) GetSyncFinishedAtOk() (*time.Time, bool) { + if o == nil || isNil(o.SyncFinishedAt) { + return nil, false + } + return o.SyncFinishedAt, true +} + +// HasSyncFinishedAt returns a boolean if a field has been set. +func (o *DebPackageUploadResponse) HasSyncFinishedAt() bool { + if o != nil && !isNil(o.SyncFinishedAt) { + return true + } + + return false +} + +// SetSyncFinishedAt gets a reference to the given time.Time and assigns it to the SyncFinishedAt field. +func (o *DebPackageUploadResponse) SetSyncFinishedAt(v time.Time) { + o.SyncFinishedAt = &v +} + +// GetSyncProgress returns the SyncProgress field value if set, zero value otherwise. +func (o *DebPackageUploadResponse) GetSyncProgress() int64 { + if o == nil || isNil(o.SyncProgress) { + var ret int64 + return ret + } + return *o.SyncProgress +} + +// GetSyncProgressOk returns a tuple with the SyncProgress field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *DebPackageUploadResponse) GetSyncProgressOk() (*int64, bool) { + if o == nil || isNil(o.SyncProgress) { + return nil, false + } + return o.SyncProgress, true +} + +// HasSyncProgress returns a boolean if a field has been set. +func (o *DebPackageUploadResponse) HasSyncProgress() bool { + if o != nil && !isNil(o.SyncProgress) { + return true + } + + return false +} + +// SetSyncProgress gets a reference to the given int64 and assigns it to the SyncProgress field. +func (o *DebPackageUploadResponse) SetSyncProgress(v int64) { + o.SyncProgress = &v +} + +// GetTagsImmutable returns the TagsImmutable field value if set, zero value otherwise. +func (o *DebPackageUploadResponse) GetTagsImmutable() map[string]interface{} { + if o == nil || isNil(o.TagsImmutable) { + var ret map[string]interface{} + return ret + } + return o.TagsImmutable +} + +// GetTagsImmutableOk returns a tuple with the TagsImmutable field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *DebPackageUploadResponse) GetTagsImmutableOk() (map[string]interface{}, bool) { + if o == nil || isNil(o.TagsImmutable) { + return map[string]interface{}{}, false + } + return o.TagsImmutable, true +} + +// HasTagsImmutable returns a boolean if a field has been set. +func (o *DebPackageUploadResponse) HasTagsImmutable() bool { + if o != nil && !isNil(o.TagsImmutable) { + return true + } + + return false +} + +// SetTagsImmutable gets a reference to the given map[string]interface{} and assigns it to the TagsImmutable field. +func (o *DebPackageUploadResponse) SetTagsImmutable(v map[string]interface{}) { + o.TagsImmutable = v +} + +// GetTypeDisplay returns the TypeDisplay field value if set, zero value otherwise. +func (o *DebPackageUploadResponse) GetTypeDisplay() string { + if o == nil || isNil(o.TypeDisplay) { + var ret string + return ret + } + return *o.TypeDisplay +} + +// GetTypeDisplayOk returns a tuple with the TypeDisplay field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *DebPackageUploadResponse) GetTypeDisplayOk() (*string, bool) { + if o == nil || isNil(o.TypeDisplay) { + return nil, false + } + return o.TypeDisplay, true +} + +// HasTypeDisplay returns a boolean if a field has been set. +func (o *DebPackageUploadResponse) HasTypeDisplay() bool { + if o != nil && !isNil(o.TypeDisplay) { + return true + } + + return false +} + +// SetTypeDisplay gets a reference to the given string and assigns it to the TypeDisplay field. +func (o *DebPackageUploadResponse) SetTypeDisplay(v string) { + o.TypeDisplay = &v +} + +// GetUploadedAt returns the UploadedAt field value if set, zero value otherwise. +func (o *DebPackageUploadResponse) GetUploadedAt() time.Time { + if o == nil || isNil(o.UploadedAt) { + var ret time.Time + return ret + } + return *o.UploadedAt +} + +// GetUploadedAtOk returns a tuple with the UploadedAt field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *DebPackageUploadResponse) GetUploadedAtOk() (*time.Time, bool) { + if o == nil || isNil(o.UploadedAt) { + return nil, false + } + return o.UploadedAt, true +} + +// HasUploadedAt returns a boolean if a field has been set. +func (o *DebPackageUploadResponse) HasUploadedAt() bool { + if o != nil && !isNil(o.UploadedAt) { + return true + } + + return false +} + +// SetUploadedAt gets a reference to the given time.Time and assigns it to the UploadedAt field. +func (o *DebPackageUploadResponse) SetUploadedAt(v time.Time) { + o.UploadedAt = &v +} + +// GetUploader returns the Uploader field value if set, zero value otherwise. +func (o *DebPackageUploadResponse) GetUploader() string { + if o == nil || isNil(o.Uploader) { + var ret string + return ret + } + return *o.Uploader +} + +// GetUploaderOk returns a tuple with the Uploader field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *DebPackageUploadResponse) GetUploaderOk() (*string, bool) { + if o == nil || isNil(o.Uploader) { + return nil, false + } + return o.Uploader, true +} + +// HasUploader returns a boolean if a field has been set. +func (o *DebPackageUploadResponse) HasUploader() bool { + if o != nil && !isNil(o.Uploader) { + return true + } + + return false +} + +// SetUploader gets a reference to the given string and assigns it to the Uploader field. +func (o *DebPackageUploadResponse) SetUploader(v string) { + o.Uploader = &v +} + +// GetUploaderUrl returns the UploaderUrl field value if set, zero value otherwise. +func (o *DebPackageUploadResponse) GetUploaderUrl() string { + if o == nil || isNil(o.UploaderUrl) { + var ret string + return ret + } + return *o.UploaderUrl +} + +// GetUploaderUrlOk returns a tuple with the UploaderUrl field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *DebPackageUploadResponse) GetUploaderUrlOk() (*string, bool) { + if o == nil || isNil(o.UploaderUrl) { + return nil, false + } + return o.UploaderUrl, true +} + +// HasUploaderUrl returns a boolean if a field has been set. +func (o *DebPackageUploadResponse) HasUploaderUrl() bool { + if o != nil && !isNil(o.UploaderUrl) { + return true + } + + return false +} + +// SetUploaderUrl gets a reference to the given string and assigns it to the UploaderUrl field. +func (o *DebPackageUploadResponse) SetUploaderUrl(v string) { + o.UploaderUrl = &v +} + +// GetVersion returns the Version field value if set, zero value otherwise. +func (o *DebPackageUploadResponse) GetVersion() string { + if o == nil || isNil(o.Version) { + var ret string + return ret + } + return *o.Version +} + +// GetVersionOk returns a tuple with the Version field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *DebPackageUploadResponse) GetVersionOk() (*string, bool) { + if o == nil || isNil(o.Version) { + return nil, false + } + return o.Version, true +} + +// HasVersion returns a boolean if a field has been set. +func (o *DebPackageUploadResponse) HasVersion() bool { + if o != nil && !isNil(o.Version) { + return true + } + + return false +} + +// SetVersion gets a reference to the given string and assigns it to the Version field. +func (o *DebPackageUploadResponse) SetVersion(v string) { + o.Version = &v +} + +// GetVersionOrig returns the VersionOrig field value if set, zero value otherwise. +func (o *DebPackageUploadResponse) GetVersionOrig() string { + if o == nil || isNil(o.VersionOrig) { + var ret string + return ret + } + return *o.VersionOrig +} + +// GetVersionOrigOk returns a tuple with the VersionOrig field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *DebPackageUploadResponse) GetVersionOrigOk() (*string, bool) { + if o == nil || isNil(o.VersionOrig) { + return nil, false + } + return o.VersionOrig, true +} + +// HasVersionOrig returns a boolean if a field has been set. +func (o *DebPackageUploadResponse) HasVersionOrig() bool { + if o != nil && !isNil(o.VersionOrig) { + return true + } + + return false +} + +// SetVersionOrig gets a reference to the given string and assigns it to the VersionOrig field. +func (o *DebPackageUploadResponse) SetVersionOrig(v string) { + o.VersionOrig = &v +} + +// GetVulnerabilityScanResultsUrl returns the VulnerabilityScanResultsUrl field value if set, zero value otherwise. +func (o *DebPackageUploadResponse) GetVulnerabilityScanResultsUrl() string { + if o == nil || isNil(o.VulnerabilityScanResultsUrl) { + var ret string + return ret + } + return *o.VulnerabilityScanResultsUrl +} + +// GetVulnerabilityScanResultsUrlOk returns a tuple with the VulnerabilityScanResultsUrl field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *DebPackageUploadResponse) GetVulnerabilityScanResultsUrlOk() (*string, bool) { + if o == nil || isNil(o.VulnerabilityScanResultsUrl) { + return nil, false + } + return o.VulnerabilityScanResultsUrl, true +} + +// HasVulnerabilityScanResultsUrl returns a boolean if a field has been set. +func (o *DebPackageUploadResponse) HasVulnerabilityScanResultsUrl() bool { + if o != nil && !isNil(o.VulnerabilityScanResultsUrl) { + return true + } + + return false +} + +// SetVulnerabilityScanResultsUrl gets a reference to the given string and assigns it to the VulnerabilityScanResultsUrl field. +func (o *DebPackageUploadResponse) SetVulnerabilityScanResultsUrl(v string) { + o.VulnerabilityScanResultsUrl = &v +} + +func (o DebPackageUploadResponse) MarshalJSON() ([]byte, error) { + toSerialize := map[string]interface{}{} + if !isNil(o.Architectures) { + toSerialize["architectures"] = o.Architectures + } + if o.CdnUrl.IsSet() { + toSerialize["cdn_url"] = o.CdnUrl.Get() + } + if !isNil(o.ChecksumMd5) { + toSerialize["checksum_md5"] = o.ChecksumMd5 + } + if !isNil(o.ChecksumSha1) { + toSerialize["checksum_sha1"] = o.ChecksumSha1 + } + if !isNil(o.ChecksumSha256) { + toSerialize["checksum_sha256"] = o.ChecksumSha256 + } + if !isNil(o.ChecksumSha512) { + toSerialize["checksum_sha512"] = o.ChecksumSha512 + } + if !isNil(o.DependenciesChecksumMd5) { + toSerialize["dependencies_checksum_md5"] = o.DependenciesChecksumMd5 + } + if !isNil(o.DependenciesUrl) { + toSerialize["dependencies_url"] = o.DependenciesUrl + } + if !isNil(o.Description) { + toSerialize["description"] = o.Description + } + if o.Distro.IsSet() { + toSerialize["distro"] = o.Distro.Get() + } + if !isNil(o.DistroVersion) { + toSerialize["distro_version"] = o.DistroVersion + } + if !isNil(o.Downloads) { + toSerialize["downloads"] = o.Downloads + } + if !isNil(o.Epoch) { + toSerialize["epoch"] = o.Epoch + } + if !isNil(o.Extension) { + toSerialize["extension"] = o.Extension + } + if !isNil(o.Filename) { + toSerialize["filename"] = o.Filename + } + if !isNil(o.Files) { + toSerialize["files"] = o.Files + } + if !isNil(o.Format) { + toSerialize["format"] = o.Format + } + if !isNil(o.FormatUrl) { + toSerialize["format_url"] = o.FormatUrl + } + if !isNil(o.IdentifierPerm) { + toSerialize["identifier_perm"] = o.IdentifierPerm + } + if !isNil(o.Indexed) { + toSerialize["indexed"] = o.Indexed + } + if !isNil(o.IsDownloadable) { + toSerialize["is_downloadable"] = o.IsDownloadable + } + if !isNil(o.IsQuarantined) { + toSerialize["is_quarantined"] = o.IsQuarantined + } + if !isNil(o.IsSyncAwaiting) { + toSerialize["is_sync_awaiting"] = o.IsSyncAwaiting + } + if !isNil(o.IsSyncCompleted) { + toSerialize["is_sync_completed"] = o.IsSyncCompleted + } + if !isNil(o.IsSyncFailed) { + toSerialize["is_sync_failed"] = o.IsSyncFailed + } + if !isNil(o.IsSyncInFlight) { + toSerialize["is_sync_in_flight"] = o.IsSyncInFlight + } + if !isNil(o.IsSyncInProgress) { + toSerialize["is_sync_in_progress"] = o.IsSyncInProgress + } + if !isNil(o.License) { + toSerialize["license"] = o.License + } + if !isNil(o.Name) { + toSerialize["name"] = o.Name + } + if !isNil(o.Namespace) { + toSerialize["namespace"] = o.Namespace + } + if !isNil(o.NamespaceUrl) { + toSerialize["namespace_url"] = o.NamespaceUrl + } + if !isNil(o.NumFiles) { + toSerialize["num_files"] = o.NumFiles + } + if !isNil(o.OriginRepository) { + toSerialize["origin_repository"] = o.OriginRepository + } + if !isNil(o.OriginRepositoryUrl) { + toSerialize["origin_repository_url"] = o.OriginRepositoryUrl + } + if !isNil(o.PackageType) { + toSerialize["package_type"] = o.PackageType + } + if !isNil(o.Release) { + toSerialize["release"] = o.Release + } + if !isNil(o.Repository) { + toSerialize["repository"] = o.Repository + } + if !isNil(o.RepositoryUrl) { + toSerialize["repository_url"] = o.RepositoryUrl + } + if !isNil(o.SecurityScanCompletedAt) { + toSerialize["security_scan_completed_at"] = o.SecurityScanCompletedAt + } + if !isNil(o.SecurityScanStartedAt) { + toSerialize["security_scan_started_at"] = o.SecurityScanStartedAt + } + if o.SecurityScanStatus.IsSet() { + toSerialize["security_scan_status"] = o.SecurityScanStatus.Get() + } + if !isNil(o.SecurityScanStatusUpdatedAt) { + toSerialize["security_scan_status_updated_at"] = o.SecurityScanStatusUpdatedAt + } + if !isNil(o.SelfHtmlUrl) { + toSerialize["self_html_url"] = o.SelfHtmlUrl + } + if !isNil(o.SelfUrl) { + toSerialize["self_url"] = o.SelfUrl + } + if o.SignatureUrl.IsSet() { + toSerialize["signature_url"] = o.SignatureUrl.Get() + } + if !isNil(o.Size) { + toSerialize["size"] = o.Size + } + if !isNil(o.Slug) { + toSerialize["slug"] = o.Slug + } + if !isNil(o.SlugPerm) { + toSerialize["slug_perm"] = o.SlugPerm + } + if !isNil(o.Stage) { + toSerialize["stage"] = o.Stage + } + if !isNil(o.StageStr) { + toSerialize["stage_str"] = o.StageStr + } + if !isNil(o.StageUpdatedAt) { + toSerialize["stage_updated_at"] = o.StageUpdatedAt + } + if !isNil(o.Status) { + toSerialize["status"] = o.Status + } + if !isNil(o.StatusReason) { + toSerialize["status_reason"] = o.StatusReason + } + if !isNil(o.StatusStr) { + toSerialize["status_str"] = o.StatusStr + } + if !isNil(o.StatusUpdatedAt) { + toSerialize["status_updated_at"] = o.StatusUpdatedAt + } + if !isNil(o.StatusUrl) { + toSerialize["status_url"] = o.StatusUrl + } + if !isNil(o.Subtype) { + toSerialize["subtype"] = o.Subtype + } + if !isNil(o.Summary) { + toSerialize["summary"] = o.Summary + } + if !isNil(o.SyncFinishedAt) { + toSerialize["sync_finished_at"] = o.SyncFinishedAt + } + if !isNil(o.SyncProgress) { + toSerialize["sync_progress"] = o.SyncProgress + } + if !isNil(o.TagsImmutable) { + toSerialize["tags_immutable"] = o.TagsImmutable + } + if !isNil(o.TypeDisplay) { + toSerialize["type_display"] = o.TypeDisplay + } + if !isNil(o.UploadedAt) { + toSerialize["uploaded_at"] = o.UploadedAt + } + if !isNil(o.Uploader) { + toSerialize["uploader"] = o.Uploader + } + if !isNil(o.UploaderUrl) { + toSerialize["uploader_url"] = o.UploaderUrl + } + if !isNil(o.Version) { + toSerialize["version"] = o.Version + } + if !isNil(o.VersionOrig) { + toSerialize["version_orig"] = o.VersionOrig + } + if !isNil(o.VulnerabilityScanResultsUrl) { + toSerialize["vulnerability_scan_results_url"] = o.VulnerabilityScanResultsUrl + } + return json.Marshal(toSerialize) +} + +type NullableDebPackageUploadResponse struct { + value *DebPackageUploadResponse + isSet bool +} + +func (v NullableDebPackageUploadResponse) Get() *DebPackageUploadResponse { + return v.value +} + +func (v *NullableDebPackageUploadResponse) Set(val *DebPackageUploadResponse) { + v.value = val + v.isSet = true +} + +func (v NullableDebPackageUploadResponse) IsSet() bool { + return v.isSet +} + +func (v *NullableDebPackageUploadResponse) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableDebPackageUploadResponse(val *DebPackageUploadResponse) *NullableDebPackageUploadResponse { + return &NullableDebPackageUploadResponse{value: val, isSet: true} +} + +func (v NullableDebPackageUploadResponse) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableDebPackageUploadResponse) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} diff --git a/model_distribution.go b/model_distribution.go index 9fb239de..22aa58b2 100644 --- a/model_distribution.go +++ b/model_distribution.go @@ -1,9 +1,9 @@ /* -Cloudsmith API +Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.121.3 +API version: 1.181.6 Contact: support@cloudsmith.io */ @@ -15,22 +15,13 @@ import ( "encoding/json" ) -// Distribution struct for Distribution +// Distribution The distributions supported by this package format type Distribution struct { - // - Format *string `json:"format,omitempty"` - // - FormatUrl *string `json:"format_url,omitempty"` - // - Name string `json:"name"` - // + Name string `json:"name"` SelfUrl *string `json:"self_url,omitempty"` // The slug identifier for this distribution - Slug *string `json:"slug,omitempty"` - // - Variants *string `json:"variants,omitempty"` - // A list of the versions for this distribution - Versions []DistrosVersions `json:"versions,omitempty"` + Slug *string `json:"slug,omitempty"` + Variants NullableString `json:"variants,omitempty"` } // NewDistribution instantiates a new Distribution object @@ -51,70 +42,6 @@ func NewDistributionWithDefaults() *Distribution { return &this } -// GetFormat returns the Format field value if set, zero value otherwise. -func (o *Distribution) GetFormat() string { - if o == nil || o.Format == nil { - var ret string - return ret - } - return *o.Format -} - -// GetFormatOk returns a tuple with the Format field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *Distribution) GetFormatOk() (*string, bool) { - if o == nil || o.Format == nil { - return nil, false - } - return o.Format, true -} - -// HasFormat returns a boolean if a field has been set. -func (o *Distribution) HasFormat() bool { - if o != nil && o.Format != nil { - return true - } - - return false -} - -// SetFormat gets a reference to the given string and assigns it to the Format field. -func (o *Distribution) SetFormat(v string) { - o.Format = &v -} - -// GetFormatUrl returns the FormatUrl field value if set, zero value otherwise. -func (o *Distribution) GetFormatUrl() string { - if o == nil || o.FormatUrl == nil { - var ret string - return ret - } - return *o.FormatUrl -} - -// GetFormatUrlOk returns a tuple with the FormatUrl field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *Distribution) GetFormatUrlOk() (*string, bool) { - if o == nil || o.FormatUrl == nil { - return nil, false - } - return o.FormatUrl, true -} - -// HasFormatUrl returns a boolean if a field has been set. -func (o *Distribution) HasFormatUrl() bool { - if o != nil && o.FormatUrl != nil { - return true - } - - return false -} - -// SetFormatUrl gets a reference to the given string and assigns it to the FormatUrl field. -func (o *Distribution) SetFormatUrl(v string) { - o.FormatUrl = &v -} - // GetName returns the Name field value func (o *Distribution) GetName() string { if o == nil { @@ -141,7 +68,7 @@ func (o *Distribution) SetName(v string) { // GetSelfUrl returns the SelfUrl field value if set, zero value otherwise. func (o *Distribution) GetSelfUrl() string { - if o == nil || o.SelfUrl == nil { + if o == nil || isNil(o.SelfUrl) { var ret string return ret } @@ -151,7 +78,7 @@ func (o *Distribution) GetSelfUrl() string { // GetSelfUrlOk returns a tuple with the SelfUrl field value if set, nil otherwise // and a boolean to check if the value has been set. func (o *Distribution) GetSelfUrlOk() (*string, bool) { - if o == nil || o.SelfUrl == nil { + if o == nil || isNil(o.SelfUrl) { return nil, false } return o.SelfUrl, true @@ -159,7 +86,7 @@ func (o *Distribution) GetSelfUrlOk() (*string, bool) { // HasSelfUrl returns a boolean if a field has been set. func (o *Distribution) HasSelfUrl() bool { - if o != nil && o.SelfUrl != nil { + if o != nil && !isNil(o.SelfUrl) { return true } @@ -173,7 +100,7 @@ func (o *Distribution) SetSelfUrl(v string) { // GetSlug returns the Slug field value if set, zero value otherwise. func (o *Distribution) GetSlug() string { - if o == nil || o.Slug == nil { + if o == nil || isNil(o.Slug) { var ret string return ret } @@ -183,7 +110,7 @@ func (o *Distribution) GetSlug() string { // GetSlugOk returns a tuple with the Slug field value if set, nil otherwise // and a boolean to check if the value has been set. func (o *Distribution) GetSlugOk() (*string, bool) { - if o == nil || o.Slug == nil { + if o == nil || isNil(o.Slug) { return nil, false } return o.Slug, true @@ -191,7 +118,7 @@ func (o *Distribution) GetSlugOk() (*string, bool) { // HasSlug returns a boolean if a field has been set. func (o *Distribution) HasSlug() bool { - if o != nil && o.Slug != nil { + if o != nil && !isNil(o.Slug) { return true } @@ -203,92 +130,62 @@ func (o *Distribution) SetSlug(v string) { o.Slug = &v } -// GetVariants returns the Variants field value if set, zero value otherwise. +// GetVariants returns the Variants field value if set, zero value otherwise (both if not set or set to explicit null). func (o *Distribution) GetVariants() string { - if o == nil || o.Variants == nil { + if o == nil || isNil(o.Variants.Get()) { var ret string return ret } - return *o.Variants + return *o.Variants.Get() } // GetVariantsOk returns a tuple with the Variants 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 *Distribution) GetVariantsOk() (*string, bool) { - if o == nil || o.Variants == nil { + if o == nil { return nil, false } - return o.Variants, true + return o.Variants.Get(), o.Variants.IsSet() } // HasVariants returns a boolean if a field has been set. func (o *Distribution) HasVariants() bool { - if o != nil && o.Variants != nil { + if o != nil && o.Variants.IsSet() { return true } return false } -// SetVariants gets a reference to the given string and assigns it to the Variants field. +// SetVariants gets a reference to the given NullableString and assigns it to the Variants field. func (o *Distribution) SetVariants(v string) { - o.Variants = &v -} - -// GetVersions returns the Versions field value if set, zero value otherwise. -func (o *Distribution) GetVersions() []DistrosVersions { - if o == nil || o.Versions == nil { - var ret []DistrosVersions - return ret - } - return o.Versions + o.Variants.Set(&v) } -// GetVersionsOk returns a tuple with the Versions field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *Distribution) GetVersionsOk() ([]DistrosVersions, bool) { - if o == nil || o.Versions == nil { - return nil, false - } - return o.Versions, true +// SetVariantsNil sets the value for Variants to be an explicit nil +func (o *Distribution) SetVariantsNil() { + o.Variants.Set(nil) } -// HasVersions returns a boolean if a field has been set. -func (o *Distribution) HasVersions() bool { - if o != nil && o.Versions != nil { - return true - } - - return false -} - -// SetVersions gets a reference to the given []DistrosVersions and assigns it to the Versions field. -func (o *Distribution) SetVersions(v []DistrosVersions) { - o.Versions = v +// UnsetVariants ensures that no value is present for Variants, not even an explicit nil +func (o *Distribution) UnsetVariants() { + o.Variants.Unset() } func (o Distribution) MarshalJSON() ([]byte, error) { toSerialize := map[string]interface{}{} - if o.Format != nil { - toSerialize["format"] = o.Format - } - if o.FormatUrl != nil { - toSerialize["format_url"] = o.FormatUrl - } if true { toSerialize["name"] = o.Name } - if o.SelfUrl != nil { + if !isNil(o.SelfUrl) { toSerialize["self_url"] = o.SelfUrl } - if o.Slug != nil { + if !isNil(o.Slug) { toSerialize["slug"] = o.Slug } - if o.Variants != nil { - toSerialize["variants"] = o.Variants - } - if o.Versions != nil { - toSerialize["versions"] = o.Versions + if o.Variants.IsSet() { + toSerialize["variants"] = o.Variants.Get() } return json.Marshal(toSerialize) } diff --git a/model_distribution_response.go b/model_distribution_response.go new file mode 100644 index 00000000..ef501f3e --- /dev/null +++ b/model_distribution_response.go @@ -0,0 +1,336 @@ +/* +Cloudsmith API (v1) + +The API to the Cloudsmith Service + +API version: 1.181.6 +Contact: support@cloudsmith.io +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cloudsmith + +import ( + "encoding/json" +) + +// DistributionResponse struct for DistributionResponse +type DistributionResponse struct { + Format *string `json:"format,omitempty"` + FormatUrl *string `json:"format_url,omitempty"` + Name string `json:"name"` + SelfUrl *string `json:"self_url,omitempty"` + // The slug identifier for this distribution + Slug *string `json:"slug,omitempty"` + Variants NullableString `json:"variants,omitempty"` + // A list of the versions for this distribution + Versions []DistributionVersion `json:"versions,omitempty"` +} + +// NewDistributionResponse instantiates a new DistributionResponse object +// 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 NewDistributionResponse(name string) *DistributionResponse { + this := DistributionResponse{} + this.Name = name + return &this +} + +// NewDistributionResponseWithDefaults instantiates a new DistributionResponse object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewDistributionResponseWithDefaults() *DistributionResponse { + this := DistributionResponse{} + return &this +} + +// GetFormat returns the Format field value if set, zero value otherwise. +func (o *DistributionResponse) GetFormat() string { + if o == nil || isNil(o.Format) { + var ret string + return ret + } + return *o.Format +} + +// GetFormatOk returns a tuple with the Format field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *DistributionResponse) GetFormatOk() (*string, bool) { + if o == nil || isNil(o.Format) { + return nil, false + } + return o.Format, true +} + +// HasFormat returns a boolean if a field has been set. +func (o *DistributionResponse) HasFormat() bool { + if o != nil && !isNil(o.Format) { + return true + } + + return false +} + +// SetFormat gets a reference to the given string and assigns it to the Format field. +func (o *DistributionResponse) SetFormat(v string) { + o.Format = &v +} + +// GetFormatUrl returns the FormatUrl field value if set, zero value otherwise. +func (o *DistributionResponse) GetFormatUrl() string { + if o == nil || isNil(o.FormatUrl) { + var ret string + return ret + } + return *o.FormatUrl +} + +// GetFormatUrlOk returns a tuple with the FormatUrl field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *DistributionResponse) GetFormatUrlOk() (*string, bool) { + if o == nil || isNil(o.FormatUrl) { + return nil, false + } + return o.FormatUrl, true +} + +// HasFormatUrl returns a boolean if a field has been set. +func (o *DistributionResponse) HasFormatUrl() bool { + if o != nil && !isNil(o.FormatUrl) { + return true + } + + return false +} + +// SetFormatUrl gets a reference to the given string and assigns it to the FormatUrl field. +func (o *DistributionResponse) SetFormatUrl(v string) { + o.FormatUrl = &v +} + +// GetName returns the Name field value +func (o *DistributionResponse) GetName() string { + if o == nil { + var ret string + return ret + } + + return o.Name +} + +// GetNameOk returns a tuple with the Name field value +// and a boolean to check if the value has been set. +func (o *DistributionResponse) GetNameOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Name, true +} + +// SetName sets field value +func (o *DistributionResponse) SetName(v string) { + o.Name = v +} + +// GetSelfUrl returns the SelfUrl field value if set, zero value otherwise. +func (o *DistributionResponse) GetSelfUrl() string { + if o == nil || isNil(o.SelfUrl) { + var ret string + return ret + } + return *o.SelfUrl +} + +// GetSelfUrlOk returns a tuple with the SelfUrl field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *DistributionResponse) GetSelfUrlOk() (*string, bool) { + if o == nil || isNil(o.SelfUrl) { + return nil, false + } + return o.SelfUrl, true +} + +// HasSelfUrl returns a boolean if a field has been set. +func (o *DistributionResponse) HasSelfUrl() bool { + if o != nil && !isNil(o.SelfUrl) { + return true + } + + return false +} + +// SetSelfUrl gets a reference to the given string and assigns it to the SelfUrl field. +func (o *DistributionResponse) SetSelfUrl(v string) { + o.SelfUrl = &v +} + +// GetSlug returns the Slug field value if set, zero value otherwise. +func (o *DistributionResponse) GetSlug() string { + if o == nil || isNil(o.Slug) { + var ret string + return ret + } + return *o.Slug +} + +// GetSlugOk returns a tuple with the Slug field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *DistributionResponse) GetSlugOk() (*string, bool) { + if o == nil || isNil(o.Slug) { + return nil, false + } + return o.Slug, true +} + +// HasSlug returns a boolean if a field has been set. +func (o *DistributionResponse) HasSlug() bool { + if o != nil && !isNil(o.Slug) { + return true + } + + return false +} + +// SetSlug gets a reference to the given string and assigns it to the Slug field. +func (o *DistributionResponse) SetSlug(v string) { + o.Slug = &v +} + +// GetVariants returns the Variants field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *DistributionResponse) GetVariants() string { + if o == nil || isNil(o.Variants.Get()) { + var ret string + return ret + } + return *o.Variants.Get() +} + +// GetVariantsOk returns a tuple with the Variants 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 *DistributionResponse) GetVariantsOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.Variants.Get(), o.Variants.IsSet() +} + +// HasVariants returns a boolean if a field has been set. +func (o *DistributionResponse) HasVariants() bool { + if o != nil && o.Variants.IsSet() { + return true + } + + return false +} + +// SetVariants gets a reference to the given NullableString and assigns it to the Variants field. +func (o *DistributionResponse) SetVariants(v string) { + o.Variants.Set(&v) +} + +// SetVariantsNil sets the value for Variants to be an explicit nil +func (o *DistributionResponse) SetVariantsNil() { + o.Variants.Set(nil) +} + +// UnsetVariants ensures that no value is present for Variants, not even an explicit nil +func (o *DistributionResponse) UnsetVariants() { + o.Variants.Unset() +} + +// GetVersions returns the Versions field value if set, zero value otherwise. +func (o *DistributionResponse) GetVersions() []DistributionVersion { + if o == nil || isNil(o.Versions) { + var ret []DistributionVersion + return ret + } + return o.Versions +} + +// GetVersionsOk returns a tuple with the Versions field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *DistributionResponse) GetVersionsOk() ([]DistributionVersion, bool) { + if o == nil || isNil(o.Versions) { + return nil, false + } + return o.Versions, true +} + +// HasVersions returns a boolean if a field has been set. +func (o *DistributionResponse) HasVersions() bool { + if o != nil && !isNil(o.Versions) { + return true + } + + return false +} + +// SetVersions gets a reference to the given []DistributionVersion and assigns it to the Versions field. +func (o *DistributionResponse) SetVersions(v []DistributionVersion) { + o.Versions = v +} + +func (o DistributionResponse) MarshalJSON() ([]byte, error) { + toSerialize := map[string]interface{}{} + if !isNil(o.Format) { + toSerialize["format"] = o.Format + } + if !isNil(o.FormatUrl) { + toSerialize["format_url"] = o.FormatUrl + } + if true { + toSerialize["name"] = o.Name + } + if !isNil(o.SelfUrl) { + toSerialize["self_url"] = o.SelfUrl + } + if !isNil(o.Slug) { + toSerialize["slug"] = o.Slug + } + if o.Variants.IsSet() { + toSerialize["variants"] = o.Variants.Get() + } + if !isNil(o.Versions) { + toSerialize["versions"] = o.Versions + } + return json.Marshal(toSerialize) +} + +type NullableDistributionResponse struct { + value *DistributionResponse + isSet bool +} + +func (v NullableDistributionResponse) Get() *DistributionResponse { + return v.value +} + +func (v *NullableDistributionResponse) Set(val *DistributionResponse) { + v.value = val + v.isSet = true +} + +func (v NullableDistributionResponse) IsSet() bool { + return v.isSet +} + +func (v *NullableDistributionResponse) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableDistributionResponse(val *DistributionResponse) *NullableDistributionResponse { + return &NullableDistributionResponse{value: val, isSet: true} +} + +func (v NullableDistributionResponse) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableDistributionResponse) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} diff --git a/model__distros__versions.go b/model_distribution_version.go similarity index 54% rename from model__distros__versions.go rename to model_distribution_version.go index ef7f734b..327b10e9 100644 --- a/model__distros__versions.go +++ b/model_distribution_version.go @@ -1,9 +1,9 @@ /* -Cloudsmith API +Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.121.3 +API version: 1.181.6 Contact: support@cloudsmith.io */ @@ -15,34 +15,34 @@ import ( "encoding/json" ) -// DistrosVersions struct for DistrosVersions -type DistrosVersions struct { +// DistributionVersion A list of the versions for this distribution +type DistributionVersion struct { // The textual name for this version. Name *string `json:"name,omitempty"` // The slug identifier for this version Slug *string `json:"slug,omitempty"` } -// NewDistrosVersions instantiates a new DistrosVersions object +// NewDistributionVersion instantiates a new DistributionVersion object // 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 NewDistrosVersions() *DistrosVersions { - this := DistrosVersions{} +func NewDistributionVersion() *DistributionVersion { + this := DistributionVersion{} return &this } -// NewDistrosVersionsWithDefaults instantiates a new DistrosVersions object +// NewDistributionVersionWithDefaults instantiates a new DistributionVersion object // This constructor will only assign default values to properties that have it defined, // but it doesn't guarantee that properties required by API are set -func NewDistrosVersionsWithDefaults() *DistrosVersions { - this := DistrosVersions{} +func NewDistributionVersionWithDefaults() *DistributionVersion { + this := DistributionVersion{} return &this } // GetName returns the Name field value if set, zero value otherwise. -func (o *DistrosVersions) GetName() string { - if o == nil || o.Name == nil { +func (o *DistributionVersion) GetName() string { + if o == nil || isNil(o.Name) { var ret string return ret } @@ -51,16 +51,16 @@ func (o *DistrosVersions) GetName() string { // GetNameOk returns a tuple with the Name field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *DistrosVersions) GetNameOk() (*string, bool) { - if o == nil || o.Name == nil { +func (o *DistributionVersion) GetNameOk() (*string, bool) { + if o == nil || isNil(o.Name) { return nil, false } return o.Name, true } // HasName returns a boolean if a field has been set. -func (o *DistrosVersions) HasName() bool { - if o != nil && o.Name != nil { +func (o *DistributionVersion) HasName() bool { + if o != nil && !isNil(o.Name) { return true } @@ -68,13 +68,13 @@ func (o *DistrosVersions) HasName() bool { } // SetName gets a reference to the given string and assigns it to the Name field. -func (o *DistrosVersions) SetName(v string) { +func (o *DistributionVersion) SetName(v string) { o.Name = &v } // GetSlug returns the Slug field value if set, zero value otherwise. -func (o *DistrosVersions) GetSlug() string { - if o == nil || o.Slug == nil { +func (o *DistributionVersion) GetSlug() string { + if o == nil || isNil(o.Slug) { var ret string return ret } @@ -83,16 +83,16 @@ func (o *DistrosVersions) GetSlug() string { // GetSlugOk returns a tuple with the Slug field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *DistrosVersions) GetSlugOk() (*string, bool) { - if o == nil || o.Slug == nil { +func (o *DistributionVersion) GetSlugOk() (*string, bool) { + if o == nil || isNil(o.Slug) { return nil, false } return o.Slug, true } // HasSlug returns a boolean if a field has been set. -func (o *DistrosVersions) HasSlug() bool { - if o != nil && o.Slug != nil { +func (o *DistributionVersion) HasSlug() bool { + if o != nil && !isNil(o.Slug) { return true } @@ -100,53 +100,53 @@ func (o *DistrosVersions) HasSlug() bool { } // SetSlug gets a reference to the given string and assigns it to the Slug field. -func (o *DistrosVersions) SetSlug(v string) { +func (o *DistributionVersion) SetSlug(v string) { o.Slug = &v } -func (o DistrosVersions) MarshalJSON() ([]byte, error) { +func (o DistributionVersion) MarshalJSON() ([]byte, error) { toSerialize := map[string]interface{}{} - if o.Name != nil { + if !isNil(o.Name) { toSerialize["name"] = o.Name } - if o.Slug != nil { + if !isNil(o.Slug) { toSerialize["slug"] = o.Slug } return json.Marshal(toSerialize) } -type NullableDistrosVersions struct { - value *DistrosVersions +type NullableDistributionVersion struct { + value *DistributionVersion isSet bool } -func (v NullableDistrosVersions) Get() *DistrosVersions { +func (v NullableDistributionVersion) Get() *DistributionVersion { return v.value } -func (v *NullableDistrosVersions) Set(val *DistrosVersions) { +func (v *NullableDistributionVersion) Set(val *DistributionVersion) { v.value = val v.isSet = true } -func (v NullableDistrosVersions) IsSet() bool { +func (v NullableDistributionVersion) IsSet() bool { return v.isSet } -func (v *NullableDistrosVersions) Unset() { +func (v *NullableDistributionVersion) Unset() { v.value = nil v.isSet = false } -func NewNullableDistrosVersions(val *DistrosVersions) *NullableDistrosVersions { - return &NullableDistrosVersions{value: val, isSet: true} +func NewNullableDistributionVersion(val *DistributionVersion) *NullableDistributionVersion { + return &NullableDistributionVersion{value: val, isSet: true} } -func (v NullableDistrosVersions) MarshalJSON() ([]byte, error) { +func (v NullableDistributionVersion) MarshalJSON() ([]byte, error) { return json.Marshal(v.value) } -func (v *NullableDistrosVersions) UnmarshalJSON(src []byte) error { +func (v *NullableDistributionVersion) UnmarshalJSON(src []byte) error { v.isSet = true return json.Unmarshal(src, &v.value) } diff --git a/model_docker_package_upload.go b/model_docker_package_upload.go deleted file mode 100644 index 2d227087..00000000 --- a/model_docker_package_upload.go +++ /dev/null @@ -1,2520 +0,0 @@ -/* -Cloudsmith API - -The API to the Cloudsmith Service - -API version: 1.121.3 -Contact: support@cloudsmith.io -*/ - -// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. - -package cloudsmith - -import ( - "encoding/json" -) - -// DockerPackageUpload struct for DockerPackageUpload -type DockerPackageUpload struct { - // - Architectures []PackagesOwnerRepoArchitectures `json:"architectures,omitempty"` - // - CdnUrl *string `json:"cdn_url,omitempty"` - // - ChecksumMd5 *string `json:"checksum_md5,omitempty"` - // - ChecksumSha1 *string `json:"checksum_sha1,omitempty"` - // - ChecksumSha256 *string `json:"checksum_sha256,omitempty"` - // - ChecksumSha512 *string `json:"checksum_sha512,omitempty"` - // A checksum of all of the package's dependencies. - DependenciesChecksumMd5 *string `json:"dependencies_checksum_md5,omitempty"` - // - DependenciesUrl *string `json:"dependencies_url,omitempty"` - // A textual description of this package. - Description *string `json:"description,omitempty"` - // - Distro map[string]interface{} `json:"distro,omitempty"` - // - DistroVersion map[string]interface{} `json:"distro_version,omitempty"` - // - Downloads *int64 `json:"downloads,omitempty"` - // The epoch of the package version (if any). - Epoch *int64 `json:"epoch,omitempty"` - // - Extension *string `json:"extension,omitempty"` - // - Filename *string `json:"filename,omitempty"` - // - Files []PackagesOwnerRepoFiles `json:"files,omitempty"` - // - Format *string `json:"format,omitempty"` - // - FormatUrl *string `json:"format_url,omitempty"` - // Unique and permanent identifier for the package. - IdentifierPerm *string `json:"identifier_perm,omitempty"` - // - Indexed *bool `json:"indexed,omitempty"` - // - IsDownloadable *bool `json:"is_downloadable,omitempty"` - // - IsQuarantined *bool `json:"is_quarantined,omitempty"` - // - IsSyncAwaiting *bool `json:"is_sync_awaiting,omitempty"` - // - IsSyncCompleted *bool `json:"is_sync_completed,omitempty"` - // - IsSyncFailed *bool `json:"is_sync_failed,omitempty"` - // - IsSyncInFlight *bool `json:"is_sync_in_flight,omitempty"` - // - IsSyncInProgress *bool `json:"is_sync_in_progress,omitempty"` - // The license of this package. - License *string `json:"license,omitempty"` - // The name of this package. - Name *string `json:"name,omitempty"` - // - Namespace *string `json:"namespace,omitempty"` - // - NamespaceUrl *string `json:"namespace_url,omitempty"` - // - NumFiles *int64 `json:"num_files,omitempty"` - // The type of package contents. - PackageType *int64 `json:"package_type,omitempty"` - // The release of the package version (if any). - Release *string `json:"release,omitempty"` - // - Repository *string `json:"repository,omitempty"` - // - RepositoryUrl *string `json:"repository_url,omitempty"` - // The datetime the security scanning was completed. - SecurityScanCompletedAt *string `json:"security_scan_completed_at,omitempty"` - // The datetime the security scanning was started. - SecurityScanStartedAt *string `json:"security_scan_started_at,omitempty"` - // - SecurityScanStatus *string `json:"security_scan_status,omitempty"` - // The datetime the security scanning status was updated. - SecurityScanStatusUpdatedAt *string `json:"security_scan_status_updated_at,omitempty"` - // - SelfHtmlUrl *string `json:"self_html_url,omitempty"` - // - SelfUrl *string `json:"self_url,omitempty"` - // - SignatureUrl *string `json:"signature_url,omitempty"` - // The calculated size of the package. - Size *int64 `json:"size,omitempty"` - // The public unique identifier for the package. - Slug *string `json:"slug,omitempty"` - // - SlugPerm *string `json:"slug_perm,omitempty"` - // The synchronisation (in progress) stage of the package. - Stage *int64 `json:"stage,omitempty"` - // - StageStr *string `json:"stage_str,omitempty"` - // The datetime the package stage was updated at. - StageUpdatedAt *string `json:"stage_updated_at,omitempty"` - // The synchronisation status of the package. - Status *int64 `json:"status,omitempty"` - // A textual description for the synchronous status reason (if any - StatusReason *string `json:"status_reason,omitempty"` - // - StatusStr *string `json:"status_str,omitempty"` - // The datetime the package status was updated at. - StatusUpdatedAt *string `json:"status_updated_at,omitempty"` - // - StatusUrl *string `json:"status_url,omitempty"` - // - Subtype *string `json:"subtype,omitempty"` - // A one-liner synopsis of this package. - Summary *string `json:"summary,omitempty"` - // The datetime the package sync was finished at. - SyncFinishedAt *string `json:"sync_finished_at,omitempty"` - // Synchronisation progress (from 0-100) - SyncProgress *int64 `json:"sync_progress,omitempty"` - // All immutable tags on the package, grouped by tag type. Immutable tags cannot be (easily) deleted. - TagsImmutable map[string]interface{} `json:"tags_immutable,omitempty"` - // - TypeDisplay *string `json:"type_display,omitempty"` - // The date this package was uploaded. - UploadedAt *string `json:"uploaded_at,omitempty"` - // - Uploader *string `json:"uploader,omitempty"` - // - UploaderUrl *string `json:"uploader_url,omitempty"` - // The raw version for this package. - Version *string `json:"version,omitempty"` - // - VersionOrig *string `json:"version_orig,omitempty"` - // - VulnerabilityScanResultsUrl *string `json:"vulnerability_scan_results_url,omitempty"` -} - -// NewDockerPackageUpload instantiates a new DockerPackageUpload object -// 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 NewDockerPackageUpload() *DockerPackageUpload { - this := DockerPackageUpload{} - return &this -} - -// NewDockerPackageUploadWithDefaults instantiates a new DockerPackageUpload object -// This constructor will only assign default values to properties that have it defined, -// but it doesn't guarantee that properties required by API are set -func NewDockerPackageUploadWithDefaults() *DockerPackageUpload { - this := DockerPackageUpload{} - return &this -} - -// GetArchitectures returns the Architectures field value if set, zero value otherwise. -func (o *DockerPackageUpload) GetArchitectures() []PackagesOwnerRepoArchitectures { - if o == nil || o.Architectures == nil { - var ret []PackagesOwnerRepoArchitectures - return ret - } - return o.Architectures -} - -// GetArchitecturesOk returns a tuple with the Architectures field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *DockerPackageUpload) GetArchitecturesOk() ([]PackagesOwnerRepoArchitectures, bool) { - if o == nil || o.Architectures == nil { - return nil, false - } - return o.Architectures, true -} - -// HasArchitectures returns a boolean if a field has been set. -func (o *DockerPackageUpload) HasArchitectures() bool { - if o != nil && o.Architectures != nil { - return true - } - - return false -} - -// SetArchitectures gets a reference to the given []PackagesOwnerRepoArchitectures and assigns it to the Architectures field. -func (o *DockerPackageUpload) SetArchitectures(v []PackagesOwnerRepoArchitectures) { - o.Architectures = v -} - -// GetCdnUrl returns the CdnUrl field value if set, zero value otherwise. -func (o *DockerPackageUpload) GetCdnUrl() string { - if o == nil || o.CdnUrl == nil { - var ret string - return ret - } - return *o.CdnUrl -} - -// GetCdnUrlOk returns a tuple with the CdnUrl field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *DockerPackageUpload) GetCdnUrlOk() (*string, bool) { - if o == nil || o.CdnUrl == nil { - return nil, false - } - return o.CdnUrl, true -} - -// HasCdnUrl returns a boolean if a field has been set. -func (o *DockerPackageUpload) HasCdnUrl() bool { - if o != nil && o.CdnUrl != nil { - return true - } - - return false -} - -// SetCdnUrl gets a reference to the given string and assigns it to the CdnUrl field. -func (o *DockerPackageUpload) SetCdnUrl(v string) { - o.CdnUrl = &v -} - -// GetChecksumMd5 returns the ChecksumMd5 field value if set, zero value otherwise. -func (o *DockerPackageUpload) GetChecksumMd5() string { - if o == nil || o.ChecksumMd5 == nil { - var ret string - return ret - } - return *o.ChecksumMd5 -} - -// GetChecksumMd5Ok returns a tuple with the ChecksumMd5 field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *DockerPackageUpload) GetChecksumMd5Ok() (*string, bool) { - if o == nil || o.ChecksumMd5 == nil { - return nil, false - } - return o.ChecksumMd5, true -} - -// HasChecksumMd5 returns a boolean if a field has been set. -func (o *DockerPackageUpload) HasChecksumMd5() bool { - if o != nil && o.ChecksumMd5 != nil { - return true - } - - return false -} - -// SetChecksumMd5 gets a reference to the given string and assigns it to the ChecksumMd5 field. -func (o *DockerPackageUpload) SetChecksumMd5(v string) { - o.ChecksumMd5 = &v -} - -// GetChecksumSha1 returns the ChecksumSha1 field value if set, zero value otherwise. -func (o *DockerPackageUpload) GetChecksumSha1() string { - if o == nil || o.ChecksumSha1 == nil { - var ret string - return ret - } - return *o.ChecksumSha1 -} - -// GetChecksumSha1Ok returns a tuple with the ChecksumSha1 field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *DockerPackageUpload) GetChecksumSha1Ok() (*string, bool) { - if o == nil || o.ChecksumSha1 == nil { - return nil, false - } - return o.ChecksumSha1, true -} - -// HasChecksumSha1 returns a boolean if a field has been set. -func (o *DockerPackageUpload) HasChecksumSha1() bool { - if o != nil && o.ChecksumSha1 != nil { - return true - } - - return false -} - -// SetChecksumSha1 gets a reference to the given string and assigns it to the ChecksumSha1 field. -func (o *DockerPackageUpload) SetChecksumSha1(v string) { - o.ChecksumSha1 = &v -} - -// GetChecksumSha256 returns the ChecksumSha256 field value if set, zero value otherwise. -func (o *DockerPackageUpload) GetChecksumSha256() string { - if o == nil || o.ChecksumSha256 == nil { - var ret string - return ret - } - return *o.ChecksumSha256 -} - -// GetChecksumSha256Ok returns a tuple with the ChecksumSha256 field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *DockerPackageUpload) GetChecksumSha256Ok() (*string, bool) { - if o == nil || o.ChecksumSha256 == nil { - return nil, false - } - return o.ChecksumSha256, true -} - -// HasChecksumSha256 returns a boolean if a field has been set. -func (o *DockerPackageUpload) HasChecksumSha256() bool { - if o != nil && o.ChecksumSha256 != nil { - return true - } - - return false -} - -// SetChecksumSha256 gets a reference to the given string and assigns it to the ChecksumSha256 field. -func (o *DockerPackageUpload) SetChecksumSha256(v string) { - o.ChecksumSha256 = &v -} - -// GetChecksumSha512 returns the ChecksumSha512 field value if set, zero value otherwise. -func (o *DockerPackageUpload) GetChecksumSha512() string { - if o == nil || o.ChecksumSha512 == nil { - var ret string - return ret - } - return *o.ChecksumSha512 -} - -// GetChecksumSha512Ok returns a tuple with the ChecksumSha512 field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *DockerPackageUpload) GetChecksumSha512Ok() (*string, bool) { - if o == nil || o.ChecksumSha512 == nil { - return nil, false - } - return o.ChecksumSha512, true -} - -// HasChecksumSha512 returns a boolean if a field has been set. -func (o *DockerPackageUpload) HasChecksumSha512() bool { - if o != nil && o.ChecksumSha512 != nil { - return true - } - - return false -} - -// SetChecksumSha512 gets a reference to the given string and assigns it to the ChecksumSha512 field. -func (o *DockerPackageUpload) SetChecksumSha512(v string) { - o.ChecksumSha512 = &v -} - -// GetDependenciesChecksumMd5 returns the DependenciesChecksumMd5 field value if set, zero value otherwise. -func (o *DockerPackageUpload) GetDependenciesChecksumMd5() string { - if o == nil || o.DependenciesChecksumMd5 == nil { - var ret string - return ret - } - return *o.DependenciesChecksumMd5 -} - -// GetDependenciesChecksumMd5Ok returns a tuple with the DependenciesChecksumMd5 field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *DockerPackageUpload) GetDependenciesChecksumMd5Ok() (*string, bool) { - if o == nil || o.DependenciesChecksumMd5 == nil { - return nil, false - } - return o.DependenciesChecksumMd5, true -} - -// HasDependenciesChecksumMd5 returns a boolean if a field has been set. -func (o *DockerPackageUpload) HasDependenciesChecksumMd5() bool { - if o != nil && o.DependenciesChecksumMd5 != nil { - return true - } - - return false -} - -// SetDependenciesChecksumMd5 gets a reference to the given string and assigns it to the DependenciesChecksumMd5 field. -func (o *DockerPackageUpload) SetDependenciesChecksumMd5(v string) { - o.DependenciesChecksumMd5 = &v -} - -// GetDependenciesUrl returns the DependenciesUrl field value if set, zero value otherwise. -func (o *DockerPackageUpload) GetDependenciesUrl() string { - if o == nil || o.DependenciesUrl == nil { - var ret string - return ret - } - return *o.DependenciesUrl -} - -// GetDependenciesUrlOk returns a tuple with the DependenciesUrl field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *DockerPackageUpload) GetDependenciesUrlOk() (*string, bool) { - if o == nil || o.DependenciesUrl == nil { - return nil, false - } - return o.DependenciesUrl, true -} - -// HasDependenciesUrl returns a boolean if a field has been set. -func (o *DockerPackageUpload) HasDependenciesUrl() bool { - if o != nil && o.DependenciesUrl != nil { - return true - } - - return false -} - -// SetDependenciesUrl gets a reference to the given string and assigns it to the DependenciesUrl field. -func (o *DockerPackageUpload) SetDependenciesUrl(v string) { - o.DependenciesUrl = &v -} - -// GetDescription returns the Description field value if set, zero value otherwise. -func (o *DockerPackageUpload) GetDescription() string { - if o == nil || o.Description == nil { - var ret string - return ret - } - return *o.Description -} - -// GetDescriptionOk returns a tuple with the Description field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *DockerPackageUpload) GetDescriptionOk() (*string, bool) { - if o == nil || o.Description == nil { - return nil, false - } - return o.Description, true -} - -// HasDescription returns a boolean if a field has been set. -func (o *DockerPackageUpload) HasDescription() bool { - if o != nil && o.Description != nil { - return true - } - - return false -} - -// SetDescription gets a reference to the given string and assigns it to the Description field. -func (o *DockerPackageUpload) SetDescription(v string) { - o.Description = &v -} - -// GetDistro returns the Distro field value if set, zero value otherwise. -func (o *DockerPackageUpload) GetDistro() map[string]interface{} { - if o == nil || o.Distro == nil { - var ret map[string]interface{} - return ret - } - return o.Distro -} - -// GetDistroOk returns a tuple with the Distro field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *DockerPackageUpload) GetDistroOk() (map[string]interface{}, bool) { - if o == nil || o.Distro == nil { - return nil, false - } - return o.Distro, true -} - -// HasDistro returns a boolean if a field has been set. -func (o *DockerPackageUpload) HasDistro() bool { - if o != nil && o.Distro != nil { - return true - } - - return false -} - -// SetDistro gets a reference to the given map[string]interface{} and assigns it to the Distro field. -func (o *DockerPackageUpload) SetDistro(v map[string]interface{}) { - o.Distro = v -} - -// GetDistroVersion returns the DistroVersion field value if set, zero value otherwise. -func (o *DockerPackageUpload) GetDistroVersion() map[string]interface{} { - if o == nil || o.DistroVersion == nil { - var ret map[string]interface{} - return ret - } - return o.DistroVersion -} - -// GetDistroVersionOk returns a tuple with the DistroVersion field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *DockerPackageUpload) GetDistroVersionOk() (map[string]interface{}, bool) { - if o == nil || o.DistroVersion == nil { - return nil, false - } - return o.DistroVersion, true -} - -// HasDistroVersion returns a boolean if a field has been set. -func (o *DockerPackageUpload) HasDistroVersion() bool { - if o != nil && o.DistroVersion != nil { - return true - } - - return false -} - -// SetDistroVersion gets a reference to the given map[string]interface{} and assigns it to the DistroVersion field. -func (o *DockerPackageUpload) SetDistroVersion(v map[string]interface{}) { - o.DistroVersion = v -} - -// GetDownloads returns the Downloads field value if set, zero value otherwise. -func (o *DockerPackageUpload) GetDownloads() int64 { - if o == nil || o.Downloads == nil { - var ret int64 - return ret - } - return *o.Downloads -} - -// GetDownloadsOk returns a tuple with the Downloads field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *DockerPackageUpload) GetDownloadsOk() (*int64, bool) { - if o == nil || o.Downloads == nil { - return nil, false - } - return o.Downloads, true -} - -// HasDownloads returns a boolean if a field has been set. -func (o *DockerPackageUpload) HasDownloads() bool { - if o != nil && o.Downloads != nil { - return true - } - - return false -} - -// SetDownloads gets a reference to the given int64 and assigns it to the Downloads field. -func (o *DockerPackageUpload) SetDownloads(v int64) { - o.Downloads = &v -} - -// GetEpoch returns the Epoch field value if set, zero value otherwise. -func (o *DockerPackageUpload) GetEpoch() int64 { - if o == nil || o.Epoch == nil { - var ret int64 - return ret - } - return *o.Epoch -} - -// GetEpochOk returns a tuple with the Epoch field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *DockerPackageUpload) GetEpochOk() (*int64, bool) { - if o == nil || o.Epoch == nil { - return nil, false - } - return o.Epoch, true -} - -// HasEpoch returns a boolean if a field has been set. -func (o *DockerPackageUpload) HasEpoch() bool { - if o != nil && o.Epoch != nil { - return true - } - - return false -} - -// SetEpoch gets a reference to the given int64 and assigns it to the Epoch field. -func (o *DockerPackageUpload) SetEpoch(v int64) { - o.Epoch = &v -} - -// GetExtension returns the Extension field value if set, zero value otherwise. -func (o *DockerPackageUpload) GetExtension() string { - if o == nil || o.Extension == nil { - var ret string - return ret - } - return *o.Extension -} - -// GetExtensionOk returns a tuple with the Extension field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *DockerPackageUpload) GetExtensionOk() (*string, bool) { - if o == nil || o.Extension == nil { - return nil, false - } - return o.Extension, true -} - -// HasExtension returns a boolean if a field has been set. -func (o *DockerPackageUpload) HasExtension() bool { - if o != nil && o.Extension != nil { - return true - } - - return false -} - -// SetExtension gets a reference to the given string and assigns it to the Extension field. -func (o *DockerPackageUpload) SetExtension(v string) { - o.Extension = &v -} - -// GetFilename returns the Filename field value if set, zero value otherwise. -func (o *DockerPackageUpload) GetFilename() string { - if o == nil || o.Filename == nil { - var ret string - return ret - } - return *o.Filename -} - -// GetFilenameOk returns a tuple with the Filename field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *DockerPackageUpload) GetFilenameOk() (*string, bool) { - if o == nil || o.Filename == nil { - return nil, false - } - return o.Filename, true -} - -// HasFilename returns a boolean if a field has been set. -func (o *DockerPackageUpload) HasFilename() bool { - if o != nil && o.Filename != nil { - return true - } - - return false -} - -// SetFilename gets a reference to the given string and assigns it to the Filename field. -func (o *DockerPackageUpload) SetFilename(v string) { - o.Filename = &v -} - -// GetFiles returns the Files field value if set, zero value otherwise. -func (o *DockerPackageUpload) GetFiles() []PackagesOwnerRepoFiles { - if o == nil || o.Files == nil { - var ret []PackagesOwnerRepoFiles - return ret - } - return o.Files -} - -// GetFilesOk returns a tuple with the Files field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *DockerPackageUpload) GetFilesOk() ([]PackagesOwnerRepoFiles, bool) { - if o == nil || o.Files == nil { - return nil, false - } - return o.Files, true -} - -// HasFiles returns a boolean if a field has been set. -func (o *DockerPackageUpload) HasFiles() bool { - if o != nil && o.Files != nil { - return true - } - - return false -} - -// SetFiles gets a reference to the given []PackagesOwnerRepoFiles and assigns it to the Files field. -func (o *DockerPackageUpload) SetFiles(v []PackagesOwnerRepoFiles) { - o.Files = v -} - -// GetFormat returns the Format field value if set, zero value otherwise. -func (o *DockerPackageUpload) GetFormat() string { - if o == nil || o.Format == nil { - var ret string - return ret - } - return *o.Format -} - -// GetFormatOk returns a tuple with the Format field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *DockerPackageUpload) GetFormatOk() (*string, bool) { - if o == nil || o.Format == nil { - return nil, false - } - return o.Format, true -} - -// HasFormat returns a boolean if a field has been set. -func (o *DockerPackageUpload) HasFormat() bool { - if o != nil && o.Format != nil { - return true - } - - return false -} - -// SetFormat gets a reference to the given string and assigns it to the Format field. -func (o *DockerPackageUpload) SetFormat(v string) { - o.Format = &v -} - -// GetFormatUrl returns the FormatUrl field value if set, zero value otherwise. -func (o *DockerPackageUpload) GetFormatUrl() string { - if o == nil || o.FormatUrl == nil { - var ret string - return ret - } - return *o.FormatUrl -} - -// GetFormatUrlOk returns a tuple with the FormatUrl field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *DockerPackageUpload) GetFormatUrlOk() (*string, bool) { - if o == nil || o.FormatUrl == nil { - return nil, false - } - return o.FormatUrl, true -} - -// HasFormatUrl returns a boolean if a field has been set. -func (o *DockerPackageUpload) HasFormatUrl() bool { - if o != nil && o.FormatUrl != nil { - return true - } - - return false -} - -// SetFormatUrl gets a reference to the given string and assigns it to the FormatUrl field. -func (o *DockerPackageUpload) SetFormatUrl(v string) { - o.FormatUrl = &v -} - -// GetIdentifierPerm returns the IdentifierPerm field value if set, zero value otherwise. -func (o *DockerPackageUpload) GetIdentifierPerm() string { - if o == nil || o.IdentifierPerm == nil { - var ret string - return ret - } - return *o.IdentifierPerm -} - -// GetIdentifierPermOk returns a tuple with the IdentifierPerm field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *DockerPackageUpload) GetIdentifierPermOk() (*string, bool) { - if o == nil || o.IdentifierPerm == nil { - return nil, false - } - return o.IdentifierPerm, true -} - -// HasIdentifierPerm returns a boolean if a field has been set. -func (o *DockerPackageUpload) HasIdentifierPerm() bool { - if o != nil && o.IdentifierPerm != nil { - return true - } - - return false -} - -// SetIdentifierPerm gets a reference to the given string and assigns it to the IdentifierPerm field. -func (o *DockerPackageUpload) SetIdentifierPerm(v string) { - o.IdentifierPerm = &v -} - -// GetIndexed returns the Indexed field value if set, zero value otherwise. -func (o *DockerPackageUpload) GetIndexed() bool { - if o == nil || o.Indexed == nil { - var ret bool - return ret - } - return *o.Indexed -} - -// GetIndexedOk returns a tuple with the Indexed field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *DockerPackageUpload) GetIndexedOk() (*bool, bool) { - if o == nil || o.Indexed == nil { - return nil, false - } - return o.Indexed, true -} - -// HasIndexed returns a boolean if a field has been set. -func (o *DockerPackageUpload) HasIndexed() bool { - if o != nil && o.Indexed != nil { - return true - } - - return false -} - -// SetIndexed gets a reference to the given bool and assigns it to the Indexed field. -func (o *DockerPackageUpload) SetIndexed(v bool) { - o.Indexed = &v -} - -// GetIsDownloadable returns the IsDownloadable field value if set, zero value otherwise. -func (o *DockerPackageUpload) GetIsDownloadable() bool { - if o == nil || o.IsDownloadable == nil { - var ret bool - return ret - } - return *o.IsDownloadable -} - -// GetIsDownloadableOk returns a tuple with the IsDownloadable field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *DockerPackageUpload) GetIsDownloadableOk() (*bool, bool) { - if o == nil || o.IsDownloadable == nil { - return nil, false - } - return o.IsDownloadable, true -} - -// HasIsDownloadable returns a boolean if a field has been set. -func (o *DockerPackageUpload) HasIsDownloadable() bool { - if o != nil && o.IsDownloadable != nil { - return true - } - - return false -} - -// SetIsDownloadable gets a reference to the given bool and assigns it to the IsDownloadable field. -func (o *DockerPackageUpload) SetIsDownloadable(v bool) { - o.IsDownloadable = &v -} - -// GetIsQuarantined returns the IsQuarantined field value if set, zero value otherwise. -func (o *DockerPackageUpload) GetIsQuarantined() bool { - if o == nil || o.IsQuarantined == nil { - var ret bool - return ret - } - return *o.IsQuarantined -} - -// GetIsQuarantinedOk returns a tuple with the IsQuarantined field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *DockerPackageUpload) GetIsQuarantinedOk() (*bool, bool) { - if o == nil || o.IsQuarantined == nil { - return nil, false - } - return o.IsQuarantined, true -} - -// HasIsQuarantined returns a boolean if a field has been set. -func (o *DockerPackageUpload) HasIsQuarantined() bool { - if o != nil && o.IsQuarantined != nil { - return true - } - - return false -} - -// SetIsQuarantined gets a reference to the given bool and assigns it to the IsQuarantined field. -func (o *DockerPackageUpload) SetIsQuarantined(v bool) { - o.IsQuarantined = &v -} - -// GetIsSyncAwaiting returns the IsSyncAwaiting field value if set, zero value otherwise. -func (o *DockerPackageUpload) GetIsSyncAwaiting() bool { - if o == nil || o.IsSyncAwaiting == nil { - var ret bool - return ret - } - return *o.IsSyncAwaiting -} - -// GetIsSyncAwaitingOk returns a tuple with the IsSyncAwaiting field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *DockerPackageUpload) GetIsSyncAwaitingOk() (*bool, bool) { - if o == nil || o.IsSyncAwaiting == nil { - return nil, false - } - return o.IsSyncAwaiting, true -} - -// HasIsSyncAwaiting returns a boolean if a field has been set. -func (o *DockerPackageUpload) HasIsSyncAwaiting() bool { - if o != nil && o.IsSyncAwaiting != nil { - return true - } - - return false -} - -// SetIsSyncAwaiting gets a reference to the given bool and assigns it to the IsSyncAwaiting field. -func (o *DockerPackageUpload) SetIsSyncAwaiting(v bool) { - o.IsSyncAwaiting = &v -} - -// GetIsSyncCompleted returns the IsSyncCompleted field value if set, zero value otherwise. -func (o *DockerPackageUpload) GetIsSyncCompleted() bool { - if o == nil || o.IsSyncCompleted == nil { - var ret bool - return ret - } - return *o.IsSyncCompleted -} - -// GetIsSyncCompletedOk returns a tuple with the IsSyncCompleted field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *DockerPackageUpload) GetIsSyncCompletedOk() (*bool, bool) { - if o == nil || o.IsSyncCompleted == nil { - return nil, false - } - return o.IsSyncCompleted, true -} - -// HasIsSyncCompleted returns a boolean if a field has been set. -func (o *DockerPackageUpload) HasIsSyncCompleted() bool { - if o != nil && o.IsSyncCompleted != nil { - return true - } - - return false -} - -// SetIsSyncCompleted gets a reference to the given bool and assigns it to the IsSyncCompleted field. -func (o *DockerPackageUpload) SetIsSyncCompleted(v bool) { - o.IsSyncCompleted = &v -} - -// GetIsSyncFailed returns the IsSyncFailed field value if set, zero value otherwise. -func (o *DockerPackageUpload) GetIsSyncFailed() bool { - if o == nil || o.IsSyncFailed == nil { - var ret bool - return ret - } - return *o.IsSyncFailed -} - -// GetIsSyncFailedOk returns a tuple with the IsSyncFailed field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *DockerPackageUpload) GetIsSyncFailedOk() (*bool, bool) { - if o == nil || o.IsSyncFailed == nil { - return nil, false - } - return o.IsSyncFailed, true -} - -// HasIsSyncFailed returns a boolean if a field has been set. -func (o *DockerPackageUpload) HasIsSyncFailed() bool { - if o != nil && o.IsSyncFailed != nil { - return true - } - - return false -} - -// SetIsSyncFailed gets a reference to the given bool and assigns it to the IsSyncFailed field. -func (o *DockerPackageUpload) SetIsSyncFailed(v bool) { - o.IsSyncFailed = &v -} - -// GetIsSyncInFlight returns the IsSyncInFlight field value if set, zero value otherwise. -func (o *DockerPackageUpload) GetIsSyncInFlight() bool { - if o == nil || o.IsSyncInFlight == nil { - var ret bool - return ret - } - return *o.IsSyncInFlight -} - -// GetIsSyncInFlightOk returns a tuple with the IsSyncInFlight field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *DockerPackageUpload) GetIsSyncInFlightOk() (*bool, bool) { - if o == nil || o.IsSyncInFlight == nil { - return nil, false - } - return o.IsSyncInFlight, true -} - -// HasIsSyncInFlight returns a boolean if a field has been set. -func (o *DockerPackageUpload) HasIsSyncInFlight() bool { - if o != nil && o.IsSyncInFlight != nil { - return true - } - - return false -} - -// SetIsSyncInFlight gets a reference to the given bool and assigns it to the IsSyncInFlight field. -func (o *DockerPackageUpload) SetIsSyncInFlight(v bool) { - o.IsSyncInFlight = &v -} - -// GetIsSyncInProgress returns the IsSyncInProgress field value if set, zero value otherwise. -func (o *DockerPackageUpload) GetIsSyncInProgress() bool { - if o == nil || o.IsSyncInProgress == nil { - var ret bool - return ret - } - return *o.IsSyncInProgress -} - -// GetIsSyncInProgressOk returns a tuple with the IsSyncInProgress field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *DockerPackageUpload) GetIsSyncInProgressOk() (*bool, bool) { - if o == nil || o.IsSyncInProgress == nil { - return nil, false - } - return o.IsSyncInProgress, true -} - -// HasIsSyncInProgress returns a boolean if a field has been set. -func (o *DockerPackageUpload) HasIsSyncInProgress() bool { - if o != nil && o.IsSyncInProgress != nil { - return true - } - - return false -} - -// SetIsSyncInProgress gets a reference to the given bool and assigns it to the IsSyncInProgress field. -func (o *DockerPackageUpload) SetIsSyncInProgress(v bool) { - o.IsSyncInProgress = &v -} - -// GetLicense returns the License field value if set, zero value otherwise. -func (o *DockerPackageUpload) GetLicense() string { - if o == nil || o.License == nil { - var ret string - return ret - } - return *o.License -} - -// GetLicenseOk returns a tuple with the License field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *DockerPackageUpload) GetLicenseOk() (*string, bool) { - if o == nil || o.License == nil { - return nil, false - } - return o.License, true -} - -// HasLicense returns a boolean if a field has been set. -func (o *DockerPackageUpload) HasLicense() bool { - if o != nil && o.License != nil { - return true - } - - return false -} - -// SetLicense gets a reference to the given string and assigns it to the License field. -func (o *DockerPackageUpload) SetLicense(v string) { - o.License = &v -} - -// GetName returns the Name field value if set, zero value otherwise. -func (o *DockerPackageUpload) GetName() string { - if o == nil || o.Name == nil { - var ret string - return ret - } - return *o.Name -} - -// GetNameOk returns a tuple with the Name field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *DockerPackageUpload) GetNameOk() (*string, bool) { - if o == nil || o.Name == nil { - return nil, false - } - return o.Name, true -} - -// HasName returns a boolean if a field has been set. -func (o *DockerPackageUpload) HasName() bool { - if o != nil && o.Name != nil { - return true - } - - return false -} - -// SetName gets a reference to the given string and assigns it to the Name field. -func (o *DockerPackageUpload) SetName(v string) { - o.Name = &v -} - -// GetNamespace returns the Namespace field value if set, zero value otherwise. -func (o *DockerPackageUpload) GetNamespace() string { - if o == nil || o.Namespace == nil { - var ret string - return ret - } - return *o.Namespace -} - -// GetNamespaceOk returns a tuple with the Namespace field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *DockerPackageUpload) GetNamespaceOk() (*string, bool) { - if o == nil || o.Namespace == nil { - return nil, false - } - return o.Namespace, true -} - -// HasNamespace returns a boolean if a field has been set. -func (o *DockerPackageUpload) HasNamespace() bool { - if o != nil && o.Namespace != nil { - return true - } - - return false -} - -// SetNamespace gets a reference to the given string and assigns it to the Namespace field. -func (o *DockerPackageUpload) SetNamespace(v string) { - o.Namespace = &v -} - -// GetNamespaceUrl returns the NamespaceUrl field value if set, zero value otherwise. -func (o *DockerPackageUpload) GetNamespaceUrl() string { - if o == nil || o.NamespaceUrl == nil { - var ret string - return ret - } - return *o.NamespaceUrl -} - -// GetNamespaceUrlOk returns a tuple with the NamespaceUrl field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *DockerPackageUpload) GetNamespaceUrlOk() (*string, bool) { - if o == nil || o.NamespaceUrl == nil { - return nil, false - } - return o.NamespaceUrl, true -} - -// HasNamespaceUrl returns a boolean if a field has been set. -func (o *DockerPackageUpload) HasNamespaceUrl() bool { - if o != nil && o.NamespaceUrl != nil { - return true - } - - return false -} - -// SetNamespaceUrl gets a reference to the given string and assigns it to the NamespaceUrl field. -func (o *DockerPackageUpload) SetNamespaceUrl(v string) { - o.NamespaceUrl = &v -} - -// GetNumFiles returns the NumFiles field value if set, zero value otherwise. -func (o *DockerPackageUpload) GetNumFiles() int64 { - if o == nil || o.NumFiles == nil { - var ret int64 - return ret - } - return *o.NumFiles -} - -// GetNumFilesOk returns a tuple with the NumFiles field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *DockerPackageUpload) GetNumFilesOk() (*int64, bool) { - if o == nil || o.NumFiles == nil { - return nil, false - } - return o.NumFiles, true -} - -// HasNumFiles returns a boolean if a field has been set. -func (o *DockerPackageUpload) HasNumFiles() bool { - if o != nil && o.NumFiles != nil { - return true - } - - return false -} - -// SetNumFiles gets a reference to the given int64 and assigns it to the NumFiles field. -func (o *DockerPackageUpload) SetNumFiles(v int64) { - o.NumFiles = &v -} - -// GetPackageType returns the PackageType field value if set, zero value otherwise. -func (o *DockerPackageUpload) GetPackageType() int64 { - if o == nil || o.PackageType == nil { - var ret int64 - return ret - } - return *o.PackageType -} - -// GetPackageTypeOk returns a tuple with the PackageType field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *DockerPackageUpload) GetPackageTypeOk() (*int64, bool) { - if o == nil || o.PackageType == nil { - return nil, false - } - return o.PackageType, true -} - -// HasPackageType returns a boolean if a field has been set. -func (o *DockerPackageUpload) HasPackageType() bool { - if o != nil && o.PackageType != nil { - return true - } - - return false -} - -// SetPackageType gets a reference to the given int64 and assigns it to the PackageType field. -func (o *DockerPackageUpload) SetPackageType(v int64) { - o.PackageType = &v -} - -// GetRelease returns the Release field value if set, zero value otherwise. -func (o *DockerPackageUpload) GetRelease() string { - if o == nil || o.Release == nil { - var ret string - return ret - } - return *o.Release -} - -// GetReleaseOk returns a tuple with the Release field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *DockerPackageUpload) GetReleaseOk() (*string, bool) { - if o == nil || o.Release == nil { - return nil, false - } - return o.Release, true -} - -// HasRelease returns a boolean if a field has been set. -func (o *DockerPackageUpload) HasRelease() bool { - if o != nil && o.Release != nil { - return true - } - - return false -} - -// SetRelease gets a reference to the given string and assigns it to the Release field. -func (o *DockerPackageUpload) SetRelease(v string) { - o.Release = &v -} - -// GetRepository returns the Repository field value if set, zero value otherwise. -func (o *DockerPackageUpload) GetRepository() string { - if o == nil || o.Repository == nil { - var ret string - return ret - } - return *o.Repository -} - -// GetRepositoryOk returns a tuple with the Repository field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *DockerPackageUpload) GetRepositoryOk() (*string, bool) { - if o == nil || o.Repository == nil { - return nil, false - } - return o.Repository, true -} - -// HasRepository returns a boolean if a field has been set. -func (o *DockerPackageUpload) HasRepository() bool { - if o != nil && o.Repository != nil { - return true - } - - return false -} - -// SetRepository gets a reference to the given string and assigns it to the Repository field. -func (o *DockerPackageUpload) SetRepository(v string) { - o.Repository = &v -} - -// GetRepositoryUrl returns the RepositoryUrl field value if set, zero value otherwise. -func (o *DockerPackageUpload) GetRepositoryUrl() string { - if o == nil || o.RepositoryUrl == nil { - var ret string - return ret - } - return *o.RepositoryUrl -} - -// GetRepositoryUrlOk returns a tuple with the RepositoryUrl field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *DockerPackageUpload) GetRepositoryUrlOk() (*string, bool) { - if o == nil || o.RepositoryUrl == nil { - return nil, false - } - return o.RepositoryUrl, true -} - -// HasRepositoryUrl returns a boolean if a field has been set. -func (o *DockerPackageUpload) HasRepositoryUrl() bool { - if o != nil && o.RepositoryUrl != nil { - return true - } - - return false -} - -// SetRepositoryUrl gets a reference to the given string and assigns it to the RepositoryUrl field. -func (o *DockerPackageUpload) SetRepositoryUrl(v string) { - o.RepositoryUrl = &v -} - -// GetSecurityScanCompletedAt returns the SecurityScanCompletedAt field value if set, zero value otherwise. -func (o *DockerPackageUpload) GetSecurityScanCompletedAt() string { - if o == nil || o.SecurityScanCompletedAt == nil { - var ret string - return ret - } - return *o.SecurityScanCompletedAt -} - -// GetSecurityScanCompletedAtOk returns a tuple with the SecurityScanCompletedAt field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *DockerPackageUpload) GetSecurityScanCompletedAtOk() (*string, bool) { - if o == nil || o.SecurityScanCompletedAt == nil { - return nil, false - } - return o.SecurityScanCompletedAt, true -} - -// HasSecurityScanCompletedAt returns a boolean if a field has been set. -func (o *DockerPackageUpload) HasSecurityScanCompletedAt() bool { - if o != nil && o.SecurityScanCompletedAt != nil { - return true - } - - return false -} - -// SetSecurityScanCompletedAt gets a reference to the given string and assigns it to the SecurityScanCompletedAt field. -func (o *DockerPackageUpload) SetSecurityScanCompletedAt(v string) { - o.SecurityScanCompletedAt = &v -} - -// GetSecurityScanStartedAt returns the SecurityScanStartedAt field value if set, zero value otherwise. -func (o *DockerPackageUpload) GetSecurityScanStartedAt() string { - if o == nil || o.SecurityScanStartedAt == nil { - var ret string - return ret - } - return *o.SecurityScanStartedAt -} - -// GetSecurityScanStartedAtOk returns a tuple with the SecurityScanStartedAt field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *DockerPackageUpload) GetSecurityScanStartedAtOk() (*string, bool) { - if o == nil || o.SecurityScanStartedAt == nil { - return nil, false - } - return o.SecurityScanStartedAt, true -} - -// HasSecurityScanStartedAt returns a boolean if a field has been set. -func (o *DockerPackageUpload) HasSecurityScanStartedAt() bool { - if o != nil && o.SecurityScanStartedAt != nil { - return true - } - - return false -} - -// SetSecurityScanStartedAt gets a reference to the given string and assigns it to the SecurityScanStartedAt field. -func (o *DockerPackageUpload) SetSecurityScanStartedAt(v string) { - o.SecurityScanStartedAt = &v -} - -// GetSecurityScanStatus returns the SecurityScanStatus field value if set, zero value otherwise. -func (o *DockerPackageUpload) GetSecurityScanStatus() string { - if o == nil || o.SecurityScanStatus == nil { - var ret string - return ret - } - return *o.SecurityScanStatus -} - -// GetSecurityScanStatusOk returns a tuple with the SecurityScanStatus field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *DockerPackageUpload) GetSecurityScanStatusOk() (*string, bool) { - if o == nil || o.SecurityScanStatus == nil { - return nil, false - } - return o.SecurityScanStatus, true -} - -// HasSecurityScanStatus returns a boolean if a field has been set. -func (o *DockerPackageUpload) HasSecurityScanStatus() bool { - if o != nil && o.SecurityScanStatus != nil { - return true - } - - return false -} - -// SetSecurityScanStatus gets a reference to the given string and assigns it to the SecurityScanStatus field. -func (o *DockerPackageUpload) SetSecurityScanStatus(v string) { - o.SecurityScanStatus = &v -} - -// GetSecurityScanStatusUpdatedAt returns the SecurityScanStatusUpdatedAt field value if set, zero value otherwise. -func (o *DockerPackageUpload) GetSecurityScanStatusUpdatedAt() string { - if o == nil || o.SecurityScanStatusUpdatedAt == nil { - var ret string - return ret - } - return *o.SecurityScanStatusUpdatedAt -} - -// GetSecurityScanStatusUpdatedAtOk returns a tuple with the SecurityScanStatusUpdatedAt field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *DockerPackageUpload) GetSecurityScanStatusUpdatedAtOk() (*string, bool) { - if o == nil || o.SecurityScanStatusUpdatedAt == nil { - return nil, false - } - return o.SecurityScanStatusUpdatedAt, true -} - -// HasSecurityScanStatusUpdatedAt returns a boolean if a field has been set. -func (o *DockerPackageUpload) HasSecurityScanStatusUpdatedAt() bool { - if o != nil && o.SecurityScanStatusUpdatedAt != nil { - return true - } - - return false -} - -// SetSecurityScanStatusUpdatedAt gets a reference to the given string and assigns it to the SecurityScanStatusUpdatedAt field. -func (o *DockerPackageUpload) SetSecurityScanStatusUpdatedAt(v string) { - o.SecurityScanStatusUpdatedAt = &v -} - -// GetSelfHtmlUrl returns the SelfHtmlUrl field value if set, zero value otherwise. -func (o *DockerPackageUpload) GetSelfHtmlUrl() string { - if o == nil || o.SelfHtmlUrl == nil { - var ret string - return ret - } - return *o.SelfHtmlUrl -} - -// GetSelfHtmlUrlOk returns a tuple with the SelfHtmlUrl field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *DockerPackageUpload) GetSelfHtmlUrlOk() (*string, bool) { - if o == nil || o.SelfHtmlUrl == nil { - return nil, false - } - return o.SelfHtmlUrl, true -} - -// HasSelfHtmlUrl returns a boolean if a field has been set. -func (o *DockerPackageUpload) HasSelfHtmlUrl() bool { - if o != nil && o.SelfHtmlUrl != nil { - return true - } - - return false -} - -// SetSelfHtmlUrl gets a reference to the given string and assigns it to the SelfHtmlUrl field. -func (o *DockerPackageUpload) SetSelfHtmlUrl(v string) { - o.SelfHtmlUrl = &v -} - -// GetSelfUrl returns the SelfUrl field value if set, zero value otherwise. -func (o *DockerPackageUpload) GetSelfUrl() string { - if o == nil || o.SelfUrl == nil { - var ret string - return ret - } - return *o.SelfUrl -} - -// GetSelfUrlOk returns a tuple with the SelfUrl field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *DockerPackageUpload) GetSelfUrlOk() (*string, bool) { - if o == nil || o.SelfUrl == nil { - return nil, false - } - return o.SelfUrl, true -} - -// HasSelfUrl returns a boolean if a field has been set. -func (o *DockerPackageUpload) HasSelfUrl() bool { - if o != nil && o.SelfUrl != nil { - return true - } - - return false -} - -// SetSelfUrl gets a reference to the given string and assigns it to the SelfUrl field. -func (o *DockerPackageUpload) SetSelfUrl(v string) { - o.SelfUrl = &v -} - -// GetSignatureUrl returns the SignatureUrl field value if set, zero value otherwise. -func (o *DockerPackageUpload) GetSignatureUrl() string { - if o == nil || o.SignatureUrl == nil { - var ret string - return ret - } - return *o.SignatureUrl -} - -// GetSignatureUrlOk returns a tuple with the SignatureUrl field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *DockerPackageUpload) GetSignatureUrlOk() (*string, bool) { - if o == nil || o.SignatureUrl == nil { - return nil, false - } - return o.SignatureUrl, true -} - -// HasSignatureUrl returns a boolean if a field has been set. -func (o *DockerPackageUpload) HasSignatureUrl() bool { - if o != nil && o.SignatureUrl != nil { - return true - } - - return false -} - -// SetSignatureUrl gets a reference to the given string and assigns it to the SignatureUrl field. -func (o *DockerPackageUpload) SetSignatureUrl(v string) { - o.SignatureUrl = &v -} - -// GetSize returns the Size field value if set, zero value otherwise. -func (o *DockerPackageUpload) GetSize() int64 { - if o == nil || o.Size == nil { - var ret int64 - return ret - } - return *o.Size -} - -// GetSizeOk returns a tuple with the Size field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *DockerPackageUpload) GetSizeOk() (*int64, bool) { - if o == nil || o.Size == nil { - return nil, false - } - return o.Size, true -} - -// HasSize returns a boolean if a field has been set. -func (o *DockerPackageUpload) HasSize() bool { - if o != nil && o.Size != nil { - return true - } - - return false -} - -// SetSize gets a reference to the given int64 and assigns it to the Size field. -func (o *DockerPackageUpload) SetSize(v int64) { - o.Size = &v -} - -// GetSlug returns the Slug field value if set, zero value otherwise. -func (o *DockerPackageUpload) GetSlug() string { - if o == nil || o.Slug == nil { - var ret string - return ret - } - return *o.Slug -} - -// GetSlugOk returns a tuple with the Slug field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *DockerPackageUpload) GetSlugOk() (*string, bool) { - if o == nil || o.Slug == nil { - return nil, false - } - return o.Slug, true -} - -// HasSlug returns a boolean if a field has been set. -func (o *DockerPackageUpload) HasSlug() bool { - if o != nil && o.Slug != nil { - return true - } - - return false -} - -// SetSlug gets a reference to the given string and assigns it to the Slug field. -func (o *DockerPackageUpload) SetSlug(v string) { - o.Slug = &v -} - -// GetSlugPerm returns the SlugPerm field value if set, zero value otherwise. -func (o *DockerPackageUpload) GetSlugPerm() string { - if o == nil || o.SlugPerm == nil { - var ret string - return ret - } - return *o.SlugPerm -} - -// GetSlugPermOk returns a tuple with the SlugPerm field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *DockerPackageUpload) GetSlugPermOk() (*string, bool) { - if o == nil || o.SlugPerm == nil { - return nil, false - } - return o.SlugPerm, true -} - -// HasSlugPerm returns a boolean if a field has been set. -func (o *DockerPackageUpload) HasSlugPerm() bool { - if o != nil && o.SlugPerm != nil { - return true - } - - return false -} - -// SetSlugPerm gets a reference to the given string and assigns it to the SlugPerm field. -func (o *DockerPackageUpload) SetSlugPerm(v string) { - o.SlugPerm = &v -} - -// GetStage returns the Stage field value if set, zero value otherwise. -func (o *DockerPackageUpload) GetStage() int64 { - if o == nil || o.Stage == nil { - var ret int64 - return ret - } - return *o.Stage -} - -// GetStageOk returns a tuple with the Stage field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *DockerPackageUpload) GetStageOk() (*int64, bool) { - if o == nil || o.Stage == nil { - return nil, false - } - return o.Stage, true -} - -// HasStage returns a boolean if a field has been set. -func (o *DockerPackageUpload) HasStage() bool { - if o != nil && o.Stage != nil { - return true - } - - return false -} - -// SetStage gets a reference to the given int64 and assigns it to the Stage field. -func (o *DockerPackageUpload) SetStage(v int64) { - o.Stage = &v -} - -// GetStageStr returns the StageStr field value if set, zero value otherwise. -func (o *DockerPackageUpload) GetStageStr() string { - if o == nil || o.StageStr == nil { - var ret string - return ret - } - return *o.StageStr -} - -// GetStageStrOk returns a tuple with the StageStr field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *DockerPackageUpload) GetStageStrOk() (*string, bool) { - if o == nil || o.StageStr == nil { - return nil, false - } - return o.StageStr, true -} - -// HasStageStr returns a boolean if a field has been set. -func (o *DockerPackageUpload) HasStageStr() bool { - if o != nil && o.StageStr != nil { - return true - } - - return false -} - -// SetStageStr gets a reference to the given string and assigns it to the StageStr field. -func (o *DockerPackageUpload) SetStageStr(v string) { - o.StageStr = &v -} - -// GetStageUpdatedAt returns the StageUpdatedAt field value if set, zero value otherwise. -func (o *DockerPackageUpload) GetStageUpdatedAt() string { - if o == nil || o.StageUpdatedAt == nil { - var ret string - return ret - } - return *o.StageUpdatedAt -} - -// GetStageUpdatedAtOk returns a tuple with the StageUpdatedAt field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *DockerPackageUpload) GetStageUpdatedAtOk() (*string, bool) { - if o == nil || o.StageUpdatedAt == nil { - return nil, false - } - return o.StageUpdatedAt, true -} - -// HasStageUpdatedAt returns a boolean if a field has been set. -func (o *DockerPackageUpload) HasStageUpdatedAt() bool { - if o != nil && o.StageUpdatedAt != nil { - return true - } - - return false -} - -// SetStageUpdatedAt gets a reference to the given string and assigns it to the StageUpdatedAt field. -func (o *DockerPackageUpload) SetStageUpdatedAt(v string) { - o.StageUpdatedAt = &v -} - -// GetStatus returns the Status field value if set, zero value otherwise. -func (o *DockerPackageUpload) GetStatus() int64 { - if o == nil || o.Status == nil { - var ret int64 - return ret - } - return *o.Status -} - -// GetStatusOk returns a tuple with the Status field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *DockerPackageUpload) GetStatusOk() (*int64, bool) { - if o == nil || o.Status == nil { - return nil, false - } - return o.Status, true -} - -// HasStatus returns a boolean if a field has been set. -func (o *DockerPackageUpload) HasStatus() bool { - if o != nil && o.Status != nil { - return true - } - - return false -} - -// SetStatus gets a reference to the given int64 and assigns it to the Status field. -func (o *DockerPackageUpload) SetStatus(v int64) { - o.Status = &v -} - -// GetStatusReason returns the StatusReason field value if set, zero value otherwise. -func (o *DockerPackageUpload) GetStatusReason() string { - if o == nil || o.StatusReason == nil { - var ret string - return ret - } - return *o.StatusReason -} - -// GetStatusReasonOk returns a tuple with the StatusReason field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *DockerPackageUpload) GetStatusReasonOk() (*string, bool) { - if o == nil || o.StatusReason == nil { - return nil, false - } - return o.StatusReason, true -} - -// HasStatusReason returns a boolean if a field has been set. -func (o *DockerPackageUpload) HasStatusReason() bool { - if o != nil && o.StatusReason != nil { - return true - } - - return false -} - -// SetStatusReason gets a reference to the given string and assigns it to the StatusReason field. -func (o *DockerPackageUpload) SetStatusReason(v string) { - o.StatusReason = &v -} - -// GetStatusStr returns the StatusStr field value if set, zero value otherwise. -func (o *DockerPackageUpload) GetStatusStr() string { - if o == nil || o.StatusStr == nil { - var ret string - return ret - } - return *o.StatusStr -} - -// GetStatusStrOk returns a tuple with the StatusStr field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *DockerPackageUpload) GetStatusStrOk() (*string, bool) { - if o == nil || o.StatusStr == nil { - return nil, false - } - return o.StatusStr, true -} - -// HasStatusStr returns a boolean if a field has been set. -func (o *DockerPackageUpload) HasStatusStr() bool { - if o != nil && o.StatusStr != nil { - return true - } - - return false -} - -// SetStatusStr gets a reference to the given string and assigns it to the StatusStr field. -func (o *DockerPackageUpload) SetStatusStr(v string) { - o.StatusStr = &v -} - -// GetStatusUpdatedAt returns the StatusUpdatedAt field value if set, zero value otherwise. -func (o *DockerPackageUpload) GetStatusUpdatedAt() string { - if o == nil || o.StatusUpdatedAt == nil { - var ret string - return ret - } - return *o.StatusUpdatedAt -} - -// GetStatusUpdatedAtOk returns a tuple with the StatusUpdatedAt field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *DockerPackageUpload) GetStatusUpdatedAtOk() (*string, bool) { - if o == nil || o.StatusUpdatedAt == nil { - return nil, false - } - return o.StatusUpdatedAt, true -} - -// HasStatusUpdatedAt returns a boolean if a field has been set. -func (o *DockerPackageUpload) HasStatusUpdatedAt() bool { - if o != nil && o.StatusUpdatedAt != nil { - return true - } - - return false -} - -// SetStatusUpdatedAt gets a reference to the given string and assigns it to the StatusUpdatedAt field. -func (o *DockerPackageUpload) SetStatusUpdatedAt(v string) { - o.StatusUpdatedAt = &v -} - -// GetStatusUrl returns the StatusUrl field value if set, zero value otherwise. -func (o *DockerPackageUpload) GetStatusUrl() string { - if o == nil || o.StatusUrl == nil { - var ret string - return ret - } - return *o.StatusUrl -} - -// GetStatusUrlOk returns a tuple with the StatusUrl field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *DockerPackageUpload) GetStatusUrlOk() (*string, bool) { - if o == nil || o.StatusUrl == nil { - return nil, false - } - return o.StatusUrl, true -} - -// HasStatusUrl returns a boolean if a field has been set. -func (o *DockerPackageUpload) HasStatusUrl() bool { - if o != nil && o.StatusUrl != nil { - return true - } - - return false -} - -// SetStatusUrl gets a reference to the given string and assigns it to the StatusUrl field. -func (o *DockerPackageUpload) SetStatusUrl(v string) { - o.StatusUrl = &v -} - -// GetSubtype returns the Subtype field value if set, zero value otherwise. -func (o *DockerPackageUpload) GetSubtype() string { - if o == nil || o.Subtype == nil { - var ret string - return ret - } - return *o.Subtype -} - -// GetSubtypeOk returns a tuple with the Subtype field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *DockerPackageUpload) GetSubtypeOk() (*string, bool) { - if o == nil || o.Subtype == nil { - return nil, false - } - return o.Subtype, true -} - -// HasSubtype returns a boolean if a field has been set. -func (o *DockerPackageUpload) HasSubtype() bool { - if o != nil && o.Subtype != nil { - return true - } - - return false -} - -// SetSubtype gets a reference to the given string and assigns it to the Subtype field. -func (o *DockerPackageUpload) SetSubtype(v string) { - o.Subtype = &v -} - -// GetSummary returns the Summary field value if set, zero value otherwise. -func (o *DockerPackageUpload) GetSummary() string { - if o == nil || o.Summary == nil { - var ret string - return ret - } - return *o.Summary -} - -// GetSummaryOk returns a tuple with the Summary field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *DockerPackageUpload) GetSummaryOk() (*string, bool) { - if o == nil || o.Summary == nil { - return nil, false - } - return o.Summary, true -} - -// HasSummary returns a boolean if a field has been set. -func (o *DockerPackageUpload) HasSummary() bool { - if o != nil && o.Summary != nil { - return true - } - - return false -} - -// SetSummary gets a reference to the given string and assigns it to the Summary field. -func (o *DockerPackageUpload) SetSummary(v string) { - o.Summary = &v -} - -// GetSyncFinishedAt returns the SyncFinishedAt field value if set, zero value otherwise. -func (o *DockerPackageUpload) GetSyncFinishedAt() string { - if o == nil || o.SyncFinishedAt == nil { - var ret string - return ret - } - return *o.SyncFinishedAt -} - -// GetSyncFinishedAtOk returns a tuple with the SyncFinishedAt field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *DockerPackageUpload) GetSyncFinishedAtOk() (*string, bool) { - if o == nil || o.SyncFinishedAt == nil { - return nil, false - } - return o.SyncFinishedAt, true -} - -// HasSyncFinishedAt returns a boolean if a field has been set. -func (o *DockerPackageUpload) HasSyncFinishedAt() bool { - if o != nil && o.SyncFinishedAt != nil { - return true - } - - return false -} - -// SetSyncFinishedAt gets a reference to the given string and assigns it to the SyncFinishedAt field. -func (o *DockerPackageUpload) SetSyncFinishedAt(v string) { - o.SyncFinishedAt = &v -} - -// GetSyncProgress returns the SyncProgress field value if set, zero value otherwise. -func (o *DockerPackageUpload) GetSyncProgress() int64 { - if o == nil || o.SyncProgress == nil { - var ret int64 - return ret - } - return *o.SyncProgress -} - -// GetSyncProgressOk returns a tuple with the SyncProgress field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *DockerPackageUpload) GetSyncProgressOk() (*int64, bool) { - if o == nil || o.SyncProgress == nil { - return nil, false - } - return o.SyncProgress, true -} - -// HasSyncProgress returns a boolean if a field has been set. -func (o *DockerPackageUpload) HasSyncProgress() bool { - if o != nil && o.SyncProgress != nil { - return true - } - - return false -} - -// SetSyncProgress gets a reference to the given int64 and assigns it to the SyncProgress field. -func (o *DockerPackageUpload) SetSyncProgress(v int64) { - o.SyncProgress = &v -} - -// GetTagsImmutable returns the TagsImmutable field value if set, zero value otherwise. -func (o *DockerPackageUpload) GetTagsImmutable() map[string]interface{} { - if o == nil || o.TagsImmutable == nil { - var ret map[string]interface{} - return ret - } - return o.TagsImmutable -} - -// GetTagsImmutableOk returns a tuple with the TagsImmutable field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *DockerPackageUpload) GetTagsImmutableOk() (map[string]interface{}, bool) { - if o == nil || o.TagsImmutable == nil { - return nil, false - } - return o.TagsImmutable, true -} - -// HasTagsImmutable returns a boolean if a field has been set. -func (o *DockerPackageUpload) HasTagsImmutable() bool { - if o != nil && o.TagsImmutable != nil { - return true - } - - return false -} - -// SetTagsImmutable gets a reference to the given map[string]interface{} and assigns it to the TagsImmutable field. -func (o *DockerPackageUpload) SetTagsImmutable(v map[string]interface{}) { - o.TagsImmutable = v -} - -// GetTypeDisplay returns the TypeDisplay field value if set, zero value otherwise. -func (o *DockerPackageUpload) GetTypeDisplay() string { - if o == nil || o.TypeDisplay == nil { - var ret string - return ret - } - return *o.TypeDisplay -} - -// GetTypeDisplayOk returns a tuple with the TypeDisplay field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *DockerPackageUpload) GetTypeDisplayOk() (*string, bool) { - if o == nil || o.TypeDisplay == nil { - return nil, false - } - return o.TypeDisplay, true -} - -// HasTypeDisplay returns a boolean if a field has been set. -func (o *DockerPackageUpload) HasTypeDisplay() bool { - if o != nil && o.TypeDisplay != nil { - return true - } - - return false -} - -// SetTypeDisplay gets a reference to the given string and assigns it to the TypeDisplay field. -func (o *DockerPackageUpload) SetTypeDisplay(v string) { - o.TypeDisplay = &v -} - -// GetUploadedAt returns the UploadedAt field value if set, zero value otherwise. -func (o *DockerPackageUpload) GetUploadedAt() string { - if o == nil || o.UploadedAt == nil { - var ret string - return ret - } - return *o.UploadedAt -} - -// GetUploadedAtOk returns a tuple with the UploadedAt field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *DockerPackageUpload) GetUploadedAtOk() (*string, bool) { - if o == nil || o.UploadedAt == nil { - return nil, false - } - return o.UploadedAt, true -} - -// HasUploadedAt returns a boolean if a field has been set. -func (o *DockerPackageUpload) HasUploadedAt() bool { - if o != nil && o.UploadedAt != nil { - return true - } - - return false -} - -// SetUploadedAt gets a reference to the given string and assigns it to the UploadedAt field. -func (o *DockerPackageUpload) SetUploadedAt(v string) { - o.UploadedAt = &v -} - -// GetUploader returns the Uploader field value if set, zero value otherwise. -func (o *DockerPackageUpload) GetUploader() string { - if o == nil || o.Uploader == nil { - var ret string - return ret - } - return *o.Uploader -} - -// GetUploaderOk returns a tuple with the Uploader field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *DockerPackageUpload) GetUploaderOk() (*string, bool) { - if o == nil || o.Uploader == nil { - return nil, false - } - return o.Uploader, true -} - -// HasUploader returns a boolean if a field has been set. -func (o *DockerPackageUpload) HasUploader() bool { - if o != nil && o.Uploader != nil { - return true - } - - return false -} - -// SetUploader gets a reference to the given string and assigns it to the Uploader field. -func (o *DockerPackageUpload) SetUploader(v string) { - o.Uploader = &v -} - -// GetUploaderUrl returns the UploaderUrl field value if set, zero value otherwise. -func (o *DockerPackageUpload) GetUploaderUrl() string { - if o == nil || o.UploaderUrl == nil { - var ret string - return ret - } - return *o.UploaderUrl -} - -// GetUploaderUrlOk returns a tuple with the UploaderUrl field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *DockerPackageUpload) GetUploaderUrlOk() (*string, bool) { - if o == nil || o.UploaderUrl == nil { - return nil, false - } - return o.UploaderUrl, true -} - -// HasUploaderUrl returns a boolean if a field has been set. -func (o *DockerPackageUpload) HasUploaderUrl() bool { - if o != nil && o.UploaderUrl != nil { - return true - } - - return false -} - -// SetUploaderUrl gets a reference to the given string and assigns it to the UploaderUrl field. -func (o *DockerPackageUpload) SetUploaderUrl(v string) { - o.UploaderUrl = &v -} - -// GetVersion returns the Version field value if set, zero value otherwise. -func (o *DockerPackageUpload) GetVersion() string { - if o == nil || o.Version == nil { - var ret string - return ret - } - return *o.Version -} - -// GetVersionOk returns a tuple with the Version field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *DockerPackageUpload) GetVersionOk() (*string, bool) { - if o == nil || o.Version == nil { - return nil, false - } - return o.Version, true -} - -// HasVersion returns a boolean if a field has been set. -func (o *DockerPackageUpload) HasVersion() bool { - if o != nil && o.Version != nil { - return true - } - - return false -} - -// SetVersion gets a reference to the given string and assigns it to the Version field. -func (o *DockerPackageUpload) SetVersion(v string) { - o.Version = &v -} - -// GetVersionOrig returns the VersionOrig field value if set, zero value otherwise. -func (o *DockerPackageUpload) GetVersionOrig() string { - if o == nil || o.VersionOrig == nil { - var ret string - return ret - } - return *o.VersionOrig -} - -// GetVersionOrigOk returns a tuple with the VersionOrig field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *DockerPackageUpload) GetVersionOrigOk() (*string, bool) { - if o == nil || o.VersionOrig == nil { - return nil, false - } - return o.VersionOrig, true -} - -// HasVersionOrig returns a boolean if a field has been set. -func (o *DockerPackageUpload) HasVersionOrig() bool { - if o != nil && o.VersionOrig != nil { - return true - } - - return false -} - -// SetVersionOrig gets a reference to the given string and assigns it to the VersionOrig field. -func (o *DockerPackageUpload) SetVersionOrig(v string) { - o.VersionOrig = &v -} - -// GetVulnerabilityScanResultsUrl returns the VulnerabilityScanResultsUrl field value if set, zero value otherwise. -func (o *DockerPackageUpload) GetVulnerabilityScanResultsUrl() string { - if o == nil || o.VulnerabilityScanResultsUrl == nil { - var ret string - return ret - } - return *o.VulnerabilityScanResultsUrl -} - -// GetVulnerabilityScanResultsUrlOk returns a tuple with the VulnerabilityScanResultsUrl field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *DockerPackageUpload) GetVulnerabilityScanResultsUrlOk() (*string, bool) { - if o == nil || o.VulnerabilityScanResultsUrl == nil { - return nil, false - } - return o.VulnerabilityScanResultsUrl, true -} - -// HasVulnerabilityScanResultsUrl returns a boolean if a field has been set. -func (o *DockerPackageUpload) HasVulnerabilityScanResultsUrl() bool { - if o != nil && o.VulnerabilityScanResultsUrl != nil { - return true - } - - return false -} - -// SetVulnerabilityScanResultsUrl gets a reference to the given string and assigns it to the VulnerabilityScanResultsUrl field. -func (o *DockerPackageUpload) SetVulnerabilityScanResultsUrl(v string) { - o.VulnerabilityScanResultsUrl = &v -} - -func (o DockerPackageUpload) MarshalJSON() ([]byte, error) { - toSerialize := map[string]interface{}{} - if o.Architectures != nil { - toSerialize["architectures"] = o.Architectures - } - if o.CdnUrl != nil { - toSerialize["cdn_url"] = o.CdnUrl - } - if o.ChecksumMd5 != nil { - toSerialize["checksum_md5"] = o.ChecksumMd5 - } - if o.ChecksumSha1 != nil { - toSerialize["checksum_sha1"] = o.ChecksumSha1 - } - if o.ChecksumSha256 != nil { - toSerialize["checksum_sha256"] = o.ChecksumSha256 - } - if o.ChecksumSha512 != nil { - toSerialize["checksum_sha512"] = o.ChecksumSha512 - } - if o.DependenciesChecksumMd5 != nil { - toSerialize["dependencies_checksum_md5"] = o.DependenciesChecksumMd5 - } - if o.DependenciesUrl != nil { - toSerialize["dependencies_url"] = o.DependenciesUrl - } - if o.Description != nil { - toSerialize["description"] = o.Description - } - if o.Distro != nil { - toSerialize["distro"] = o.Distro - } - if o.DistroVersion != nil { - toSerialize["distro_version"] = o.DistroVersion - } - if o.Downloads != nil { - toSerialize["downloads"] = o.Downloads - } - if o.Epoch != nil { - toSerialize["epoch"] = o.Epoch - } - if o.Extension != nil { - toSerialize["extension"] = o.Extension - } - if o.Filename != nil { - toSerialize["filename"] = o.Filename - } - if o.Files != nil { - toSerialize["files"] = o.Files - } - if o.Format != nil { - toSerialize["format"] = o.Format - } - if o.FormatUrl != nil { - toSerialize["format_url"] = o.FormatUrl - } - if o.IdentifierPerm != nil { - toSerialize["identifier_perm"] = o.IdentifierPerm - } - if o.Indexed != nil { - toSerialize["indexed"] = o.Indexed - } - if o.IsDownloadable != nil { - toSerialize["is_downloadable"] = o.IsDownloadable - } - if o.IsQuarantined != nil { - toSerialize["is_quarantined"] = o.IsQuarantined - } - if o.IsSyncAwaiting != nil { - toSerialize["is_sync_awaiting"] = o.IsSyncAwaiting - } - if o.IsSyncCompleted != nil { - toSerialize["is_sync_completed"] = o.IsSyncCompleted - } - if o.IsSyncFailed != nil { - toSerialize["is_sync_failed"] = o.IsSyncFailed - } - if o.IsSyncInFlight != nil { - toSerialize["is_sync_in_flight"] = o.IsSyncInFlight - } - if o.IsSyncInProgress != nil { - toSerialize["is_sync_in_progress"] = o.IsSyncInProgress - } - if o.License != nil { - toSerialize["license"] = o.License - } - if o.Name != nil { - toSerialize["name"] = o.Name - } - if o.Namespace != nil { - toSerialize["namespace"] = o.Namespace - } - if o.NamespaceUrl != nil { - toSerialize["namespace_url"] = o.NamespaceUrl - } - if o.NumFiles != nil { - toSerialize["num_files"] = o.NumFiles - } - if o.PackageType != nil { - toSerialize["package_type"] = o.PackageType - } - if o.Release != nil { - toSerialize["release"] = o.Release - } - if o.Repository != nil { - toSerialize["repository"] = o.Repository - } - if o.RepositoryUrl != nil { - toSerialize["repository_url"] = o.RepositoryUrl - } - if o.SecurityScanCompletedAt != nil { - toSerialize["security_scan_completed_at"] = o.SecurityScanCompletedAt - } - if o.SecurityScanStartedAt != nil { - toSerialize["security_scan_started_at"] = o.SecurityScanStartedAt - } - if o.SecurityScanStatus != nil { - toSerialize["security_scan_status"] = o.SecurityScanStatus - } - if o.SecurityScanStatusUpdatedAt != nil { - toSerialize["security_scan_status_updated_at"] = o.SecurityScanStatusUpdatedAt - } - if o.SelfHtmlUrl != nil { - toSerialize["self_html_url"] = o.SelfHtmlUrl - } - if o.SelfUrl != nil { - toSerialize["self_url"] = o.SelfUrl - } - if o.SignatureUrl != nil { - toSerialize["signature_url"] = o.SignatureUrl - } - if o.Size != nil { - toSerialize["size"] = o.Size - } - if o.Slug != nil { - toSerialize["slug"] = o.Slug - } - if o.SlugPerm != nil { - toSerialize["slug_perm"] = o.SlugPerm - } - if o.Stage != nil { - toSerialize["stage"] = o.Stage - } - if o.StageStr != nil { - toSerialize["stage_str"] = o.StageStr - } - if o.StageUpdatedAt != nil { - toSerialize["stage_updated_at"] = o.StageUpdatedAt - } - if o.Status != nil { - toSerialize["status"] = o.Status - } - if o.StatusReason != nil { - toSerialize["status_reason"] = o.StatusReason - } - if o.StatusStr != nil { - toSerialize["status_str"] = o.StatusStr - } - if o.StatusUpdatedAt != nil { - toSerialize["status_updated_at"] = o.StatusUpdatedAt - } - if o.StatusUrl != nil { - toSerialize["status_url"] = o.StatusUrl - } - if o.Subtype != nil { - toSerialize["subtype"] = o.Subtype - } - if o.Summary != nil { - toSerialize["summary"] = o.Summary - } - if o.SyncFinishedAt != nil { - toSerialize["sync_finished_at"] = o.SyncFinishedAt - } - if o.SyncProgress != nil { - toSerialize["sync_progress"] = o.SyncProgress - } - if o.TagsImmutable != nil { - toSerialize["tags_immutable"] = o.TagsImmutable - } - if o.TypeDisplay != nil { - toSerialize["type_display"] = o.TypeDisplay - } - if o.UploadedAt != nil { - toSerialize["uploaded_at"] = o.UploadedAt - } - if o.Uploader != nil { - toSerialize["uploader"] = o.Uploader - } - if o.UploaderUrl != nil { - toSerialize["uploader_url"] = o.UploaderUrl - } - if o.Version != nil { - toSerialize["version"] = o.Version - } - if o.VersionOrig != nil { - toSerialize["version_orig"] = o.VersionOrig - } - if o.VulnerabilityScanResultsUrl != nil { - toSerialize["vulnerability_scan_results_url"] = o.VulnerabilityScanResultsUrl - } - return json.Marshal(toSerialize) -} - -type NullableDockerPackageUpload struct { - value *DockerPackageUpload - isSet bool -} - -func (v NullableDockerPackageUpload) Get() *DockerPackageUpload { - return v.value -} - -func (v *NullableDockerPackageUpload) Set(val *DockerPackageUpload) { - v.value = val - v.isSet = true -} - -func (v NullableDockerPackageUpload) IsSet() bool { - return v.isSet -} - -func (v *NullableDockerPackageUpload) Unset() { - v.value = nil - v.isSet = false -} - -func NewNullableDockerPackageUpload(val *DockerPackageUpload) *NullableDockerPackageUpload { - return &NullableDockerPackageUpload{value: val, isSet: true} -} - -func (v NullableDockerPackageUpload) MarshalJSON() ([]byte, error) { - return json.Marshal(v.value) -} - -func (v *NullableDockerPackageUpload) UnmarshalJSON(src []byte) error { - v.isSet = true - return json.Unmarshal(src, &v.value) -} diff --git a/model_docker_package_upload_request.go b/model_docker_package_upload_request.go new file mode 100644 index 00000000..586d8a3a --- /dev/null +++ b/model_docker_package_upload_request.go @@ -0,0 +1,193 @@ +/* +Cloudsmith API (v1) + +The API to the Cloudsmith Service + +API version: 1.181.6 +Contact: support@cloudsmith.io +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cloudsmith + +import ( + "encoding/json" +) + +// DockerPackageUploadRequest struct for DockerPackageUploadRequest +type DockerPackageUploadRequest struct { + // The primary file for the package. + PackageFile string `json:"package_file"` + // If true, the uploaded package will overwrite any others with the same attributes (e.g. same version); otherwise, it will be flagged as a duplicate. + Republish *bool `json:"republish,omitempty"` + // A comma-separated values list of tags to add to the package. + Tags NullableString `json:"tags,omitempty"` +} + +// NewDockerPackageUploadRequest instantiates a new DockerPackageUploadRequest object +// 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 NewDockerPackageUploadRequest(packageFile string) *DockerPackageUploadRequest { + this := DockerPackageUploadRequest{} + this.PackageFile = packageFile + return &this +} + +// NewDockerPackageUploadRequestWithDefaults instantiates a new DockerPackageUploadRequest object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewDockerPackageUploadRequestWithDefaults() *DockerPackageUploadRequest { + this := DockerPackageUploadRequest{} + return &this +} + +// GetPackageFile returns the PackageFile field value +func (o *DockerPackageUploadRequest) GetPackageFile() string { + if o == nil { + var ret string + return ret + } + + return o.PackageFile +} + +// GetPackageFileOk returns a tuple with the PackageFile field value +// and a boolean to check if the value has been set. +func (o *DockerPackageUploadRequest) GetPackageFileOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.PackageFile, true +} + +// SetPackageFile sets field value +func (o *DockerPackageUploadRequest) SetPackageFile(v string) { + o.PackageFile = v +} + +// GetRepublish returns the Republish field value if set, zero value otherwise. +func (o *DockerPackageUploadRequest) GetRepublish() bool { + if o == nil || isNil(o.Republish) { + var ret bool + return ret + } + return *o.Republish +} + +// GetRepublishOk returns a tuple with the Republish field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *DockerPackageUploadRequest) GetRepublishOk() (*bool, bool) { + if o == nil || isNil(o.Republish) { + return nil, false + } + return o.Republish, true +} + +// HasRepublish returns a boolean if a field has been set. +func (o *DockerPackageUploadRequest) HasRepublish() bool { + if o != nil && !isNil(o.Republish) { + return true + } + + return false +} + +// SetRepublish gets a reference to the given bool and assigns it to the Republish field. +func (o *DockerPackageUploadRequest) SetRepublish(v bool) { + o.Republish = &v +} + +// GetTags returns the Tags field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *DockerPackageUploadRequest) GetTags() string { + if o == nil || isNil(o.Tags.Get()) { + var ret string + return ret + } + return *o.Tags.Get() +} + +// GetTagsOk returns a tuple with the Tags 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 *DockerPackageUploadRequest) GetTagsOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.Tags.Get(), o.Tags.IsSet() +} + +// HasTags returns a boolean if a field has been set. +func (o *DockerPackageUploadRequest) HasTags() bool { + if o != nil && o.Tags.IsSet() { + return true + } + + return false +} + +// SetTags gets a reference to the given NullableString and assigns it to the Tags field. +func (o *DockerPackageUploadRequest) SetTags(v string) { + o.Tags.Set(&v) +} + +// SetTagsNil sets the value for Tags to be an explicit nil +func (o *DockerPackageUploadRequest) SetTagsNil() { + o.Tags.Set(nil) +} + +// UnsetTags ensures that no value is present for Tags, not even an explicit nil +func (o *DockerPackageUploadRequest) UnsetTags() { + o.Tags.Unset() +} + +func (o DockerPackageUploadRequest) MarshalJSON() ([]byte, error) { + toSerialize := map[string]interface{}{} + if true { + toSerialize["package_file"] = o.PackageFile + } + if !isNil(o.Republish) { + toSerialize["republish"] = o.Republish + } + if o.Tags.IsSet() { + toSerialize["tags"] = o.Tags.Get() + } + return json.Marshal(toSerialize) +} + +type NullableDockerPackageUploadRequest struct { + value *DockerPackageUploadRequest + isSet bool +} + +func (v NullableDockerPackageUploadRequest) Get() *DockerPackageUploadRequest { + return v.value +} + +func (v *NullableDockerPackageUploadRequest) Set(val *DockerPackageUploadRequest) { + v.value = val + v.isSet = true +} + +func (v NullableDockerPackageUploadRequest) IsSet() bool { + return v.isSet +} + +func (v *NullableDockerPackageUploadRequest) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableDockerPackageUploadRequest(val *DockerPackageUploadRequest) *NullableDockerPackageUploadRequest { + return &NullableDockerPackageUploadRequest{value: val, isSet: true} +} + +func (v NullableDockerPackageUploadRequest) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableDockerPackageUploadRequest) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} diff --git a/model_docker_package_upload_response.go b/model_docker_package_upload_response.go new file mode 100644 index 00000000..6ae62df2 --- /dev/null +++ b/model_docker_package_upload_response.go @@ -0,0 +1,2595 @@ +/* +Cloudsmith API (v1) + +The API to the Cloudsmith Service + +API version: 1.181.6 +Contact: support@cloudsmith.io +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cloudsmith + +import ( + "encoding/json" + "time" +) + +// DockerPackageUploadResponse struct for DockerPackageUploadResponse +type DockerPackageUploadResponse struct { + Architectures []Architecture `json:"architectures,omitempty"` + CdnUrl NullableString `json:"cdn_url,omitempty"` + ChecksumMd5 *string `json:"checksum_md5,omitempty"` + ChecksumSha1 *string `json:"checksum_sha1,omitempty"` + ChecksumSha256 *string `json:"checksum_sha256,omitempty"` + ChecksumSha512 *string `json:"checksum_sha512,omitempty"` + // A checksum of all of the package's dependencies. + DependenciesChecksumMd5 *string `json:"dependencies_checksum_md5,omitempty"` + DependenciesUrl *string `json:"dependencies_url,omitempty"` + // A textual description of this package. + Description *string `json:"description,omitempty"` + Distro NullableDistribution `json:"distro,omitempty"` + DistroVersion *DistributionVersion `json:"distro_version,omitempty"` + Downloads *int64 `json:"downloads,omitempty"` + // The epoch of the package version (if any). + Epoch *int64 `json:"epoch,omitempty"` + Extension *string `json:"extension,omitempty"` + Filename *string `json:"filename,omitempty"` + Files []PackageFile `json:"files,omitempty"` + Format *string `json:"format,omitempty"` + FormatUrl *string `json:"format_url,omitempty"` + // Unique and permanent identifier for the package. + IdentifierPerm *string `json:"identifier_perm,omitempty"` + Indexed *bool `json:"indexed,omitempty"` + IsDownloadable *bool `json:"is_downloadable,omitempty"` + IsQuarantined *bool `json:"is_quarantined,omitempty"` + IsSyncAwaiting *bool `json:"is_sync_awaiting,omitempty"` + IsSyncCompleted *bool `json:"is_sync_completed,omitempty"` + IsSyncFailed *bool `json:"is_sync_failed,omitempty"` + IsSyncInFlight *bool `json:"is_sync_in_flight,omitempty"` + IsSyncInProgress *bool `json:"is_sync_in_progress,omitempty"` + // The license of this package. + License *string `json:"license,omitempty"` + // The name of this package. + Name *string `json:"name,omitempty"` + Namespace *string `json:"namespace,omitempty"` + NamespaceUrl *string `json:"namespace_url,omitempty"` + NumFiles *int64 `json:"num_files,omitempty"` + OriginRepository *string `json:"origin_repository,omitempty"` + OriginRepositoryUrl *string `json:"origin_repository_url,omitempty"` + // The type of package contents. + PackageType *int64 `json:"package_type,omitempty"` + // The release of the package version (if any). + Release *string `json:"release,omitempty"` + Repository *string `json:"repository,omitempty"` + RepositoryUrl *string `json:"repository_url,omitempty"` + // The datetime the security scanning was completed. + SecurityScanCompletedAt *time.Time `json:"security_scan_completed_at,omitempty"` + // The datetime the security scanning was started. + SecurityScanStartedAt *time.Time `json:"security_scan_started_at,omitempty"` + SecurityScanStatus NullableString `json:"security_scan_status,omitempty"` + // The datetime the security scanning status was updated. + SecurityScanStatusUpdatedAt *time.Time `json:"security_scan_status_updated_at,omitempty"` + SelfHtmlUrl *string `json:"self_html_url,omitempty"` + SelfUrl *string `json:"self_url,omitempty"` + SignatureUrl NullableString `json:"signature_url,omitempty"` + // The calculated size of the package. + Size *int64 `json:"size,omitempty"` + // The public unique identifier for the package. + Slug *string `json:"slug,omitempty"` + SlugPerm *string `json:"slug_perm,omitempty"` + // The synchronisation (in progress) stage of the package. + Stage *int64 `json:"stage,omitempty"` + StageStr *string `json:"stage_str,omitempty"` + // The datetime the package stage was updated at. + StageUpdatedAt *time.Time `json:"stage_updated_at,omitempty"` + // The synchronisation status of the package. + Status *int64 `json:"status,omitempty"` + // A textual description for the synchronous status reason (if any + StatusReason *string `json:"status_reason,omitempty"` + StatusStr *string `json:"status_str,omitempty"` + // The datetime the package status was updated at. + StatusUpdatedAt *time.Time `json:"status_updated_at,omitempty"` + StatusUrl *string `json:"status_url,omitempty"` + Subtype *string `json:"subtype,omitempty"` + // A one-liner synopsis of this package. + Summary *string `json:"summary,omitempty"` + // The datetime the package sync was finished at. + SyncFinishedAt *time.Time `json:"sync_finished_at,omitempty"` + // Synchronisation progress (from 0-100) + SyncProgress *int64 `json:"sync_progress,omitempty"` + // All tags on the package, grouped by tag type. This includes immutable tags, but doesn't distinguish them from mutable. To see which tags are immutable specifically, see the tags_immutable field. + TagsImmutable map[string]interface{} `json:"tags_immutable,omitempty"` + TypeDisplay *string `json:"type_display,omitempty"` + // The date this package was uploaded. + UploadedAt *time.Time `json:"uploaded_at,omitempty"` + Uploader *string `json:"uploader,omitempty"` + UploaderUrl *string `json:"uploader_url,omitempty"` + // The raw version for this package. + Version *string `json:"version,omitempty"` + VersionOrig *string `json:"version_orig,omitempty"` + VulnerabilityScanResultsUrl *string `json:"vulnerability_scan_results_url,omitempty"` +} + +// NewDockerPackageUploadResponse instantiates a new DockerPackageUploadResponse object +// 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 NewDockerPackageUploadResponse() *DockerPackageUploadResponse { + this := DockerPackageUploadResponse{} + return &this +} + +// NewDockerPackageUploadResponseWithDefaults instantiates a new DockerPackageUploadResponse object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewDockerPackageUploadResponseWithDefaults() *DockerPackageUploadResponse { + this := DockerPackageUploadResponse{} + return &this +} + +// GetArchitectures returns the Architectures field value if set, zero value otherwise. +func (o *DockerPackageUploadResponse) GetArchitectures() []Architecture { + if o == nil || isNil(o.Architectures) { + var ret []Architecture + return ret + } + return o.Architectures +} + +// GetArchitecturesOk returns a tuple with the Architectures field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *DockerPackageUploadResponse) GetArchitecturesOk() ([]Architecture, bool) { + if o == nil || isNil(o.Architectures) { + return nil, false + } + return o.Architectures, true +} + +// HasArchitectures returns a boolean if a field has been set. +func (o *DockerPackageUploadResponse) HasArchitectures() bool { + if o != nil && !isNil(o.Architectures) { + return true + } + + return false +} + +// SetArchitectures gets a reference to the given []Architecture and assigns it to the Architectures field. +func (o *DockerPackageUploadResponse) SetArchitectures(v []Architecture) { + o.Architectures = v +} + +// GetCdnUrl returns the CdnUrl field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *DockerPackageUploadResponse) GetCdnUrl() string { + if o == nil || isNil(o.CdnUrl.Get()) { + var ret string + return ret + } + return *o.CdnUrl.Get() +} + +// GetCdnUrlOk returns a tuple with the CdnUrl 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 *DockerPackageUploadResponse) GetCdnUrlOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.CdnUrl.Get(), o.CdnUrl.IsSet() +} + +// HasCdnUrl returns a boolean if a field has been set. +func (o *DockerPackageUploadResponse) HasCdnUrl() bool { + if o != nil && o.CdnUrl.IsSet() { + return true + } + + return false +} + +// SetCdnUrl gets a reference to the given NullableString and assigns it to the CdnUrl field. +func (o *DockerPackageUploadResponse) SetCdnUrl(v string) { + o.CdnUrl.Set(&v) +} + +// SetCdnUrlNil sets the value for CdnUrl to be an explicit nil +func (o *DockerPackageUploadResponse) SetCdnUrlNil() { + o.CdnUrl.Set(nil) +} + +// UnsetCdnUrl ensures that no value is present for CdnUrl, not even an explicit nil +func (o *DockerPackageUploadResponse) UnsetCdnUrl() { + o.CdnUrl.Unset() +} + +// GetChecksumMd5 returns the ChecksumMd5 field value if set, zero value otherwise. +func (o *DockerPackageUploadResponse) GetChecksumMd5() string { + if o == nil || isNil(o.ChecksumMd5) { + var ret string + return ret + } + return *o.ChecksumMd5 +} + +// GetChecksumMd5Ok returns a tuple with the ChecksumMd5 field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *DockerPackageUploadResponse) GetChecksumMd5Ok() (*string, bool) { + if o == nil || isNil(o.ChecksumMd5) { + return nil, false + } + return o.ChecksumMd5, true +} + +// HasChecksumMd5 returns a boolean if a field has been set. +func (o *DockerPackageUploadResponse) HasChecksumMd5() bool { + if o != nil && !isNil(o.ChecksumMd5) { + return true + } + + return false +} + +// SetChecksumMd5 gets a reference to the given string and assigns it to the ChecksumMd5 field. +func (o *DockerPackageUploadResponse) SetChecksumMd5(v string) { + o.ChecksumMd5 = &v +} + +// GetChecksumSha1 returns the ChecksumSha1 field value if set, zero value otherwise. +func (o *DockerPackageUploadResponse) GetChecksumSha1() string { + if o == nil || isNil(o.ChecksumSha1) { + var ret string + return ret + } + return *o.ChecksumSha1 +} + +// GetChecksumSha1Ok returns a tuple with the ChecksumSha1 field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *DockerPackageUploadResponse) GetChecksumSha1Ok() (*string, bool) { + if o == nil || isNil(o.ChecksumSha1) { + return nil, false + } + return o.ChecksumSha1, true +} + +// HasChecksumSha1 returns a boolean if a field has been set. +func (o *DockerPackageUploadResponse) HasChecksumSha1() bool { + if o != nil && !isNil(o.ChecksumSha1) { + return true + } + + return false +} + +// SetChecksumSha1 gets a reference to the given string and assigns it to the ChecksumSha1 field. +func (o *DockerPackageUploadResponse) SetChecksumSha1(v string) { + o.ChecksumSha1 = &v +} + +// GetChecksumSha256 returns the ChecksumSha256 field value if set, zero value otherwise. +func (o *DockerPackageUploadResponse) GetChecksumSha256() string { + if o == nil || isNil(o.ChecksumSha256) { + var ret string + return ret + } + return *o.ChecksumSha256 +} + +// GetChecksumSha256Ok returns a tuple with the ChecksumSha256 field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *DockerPackageUploadResponse) GetChecksumSha256Ok() (*string, bool) { + if o == nil || isNil(o.ChecksumSha256) { + return nil, false + } + return o.ChecksumSha256, true +} + +// HasChecksumSha256 returns a boolean if a field has been set. +func (o *DockerPackageUploadResponse) HasChecksumSha256() bool { + if o != nil && !isNil(o.ChecksumSha256) { + return true + } + + return false +} + +// SetChecksumSha256 gets a reference to the given string and assigns it to the ChecksumSha256 field. +func (o *DockerPackageUploadResponse) SetChecksumSha256(v string) { + o.ChecksumSha256 = &v +} + +// GetChecksumSha512 returns the ChecksumSha512 field value if set, zero value otherwise. +func (o *DockerPackageUploadResponse) GetChecksumSha512() string { + if o == nil || isNil(o.ChecksumSha512) { + var ret string + return ret + } + return *o.ChecksumSha512 +} + +// GetChecksumSha512Ok returns a tuple with the ChecksumSha512 field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *DockerPackageUploadResponse) GetChecksumSha512Ok() (*string, bool) { + if o == nil || isNil(o.ChecksumSha512) { + return nil, false + } + return o.ChecksumSha512, true +} + +// HasChecksumSha512 returns a boolean if a field has been set. +func (o *DockerPackageUploadResponse) HasChecksumSha512() bool { + if o != nil && !isNil(o.ChecksumSha512) { + return true + } + + return false +} + +// SetChecksumSha512 gets a reference to the given string and assigns it to the ChecksumSha512 field. +func (o *DockerPackageUploadResponse) SetChecksumSha512(v string) { + o.ChecksumSha512 = &v +} + +// GetDependenciesChecksumMd5 returns the DependenciesChecksumMd5 field value if set, zero value otherwise. +func (o *DockerPackageUploadResponse) GetDependenciesChecksumMd5() string { + if o == nil || isNil(o.DependenciesChecksumMd5) { + var ret string + return ret + } + return *o.DependenciesChecksumMd5 +} + +// GetDependenciesChecksumMd5Ok returns a tuple with the DependenciesChecksumMd5 field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *DockerPackageUploadResponse) GetDependenciesChecksumMd5Ok() (*string, bool) { + if o == nil || isNil(o.DependenciesChecksumMd5) { + return nil, false + } + return o.DependenciesChecksumMd5, true +} + +// HasDependenciesChecksumMd5 returns a boolean if a field has been set. +func (o *DockerPackageUploadResponse) HasDependenciesChecksumMd5() bool { + if o != nil && !isNil(o.DependenciesChecksumMd5) { + return true + } + + return false +} + +// SetDependenciesChecksumMd5 gets a reference to the given string and assigns it to the DependenciesChecksumMd5 field. +func (o *DockerPackageUploadResponse) SetDependenciesChecksumMd5(v string) { + o.DependenciesChecksumMd5 = &v +} + +// GetDependenciesUrl returns the DependenciesUrl field value if set, zero value otherwise. +func (o *DockerPackageUploadResponse) GetDependenciesUrl() string { + if o == nil || isNil(o.DependenciesUrl) { + var ret string + return ret + } + return *o.DependenciesUrl +} + +// GetDependenciesUrlOk returns a tuple with the DependenciesUrl field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *DockerPackageUploadResponse) GetDependenciesUrlOk() (*string, bool) { + if o == nil || isNil(o.DependenciesUrl) { + return nil, false + } + return o.DependenciesUrl, true +} + +// HasDependenciesUrl returns a boolean if a field has been set. +func (o *DockerPackageUploadResponse) HasDependenciesUrl() bool { + if o != nil && !isNil(o.DependenciesUrl) { + return true + } + + return false +} + +// SetDependenciesUrl gets a reference to the given string and assigns it to the DependenciesUrl field. +func (o *DockerPackageUploadResponse) SetDependenciesUrl(v string) { + o.DependenciesUrl = &v +} + +// GetDescription returns the Description field value if set, zero value otherwise. +func (o *DockerPackageUploadResponse) GetDescription() string { + if o == nil || isNil(o.Description) { + var ret string + return ret + } + return *o.Description +} + +// GetDescriptionOk returns a tuple with the Description field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *DockerPackageUploadResponse) GetDescriptionOk() (*string, bool) { + if o == nil || isNil(o.Description) { + return nil, false + } + return o.Description, true +} + +// HasDescription returns a boolean if a field has been set. +func (o *DockerPackageUploadResponse) HasDescription() bool { + if o != nil && !isNil(o.Description) { + return true + } + + return false +} + +// SetDescription gets a reference to the given string and assigns it to the Description field. +func (o *DockerPackageUploadResponse) SetDescription(v string) { + o.Description = &v +} + +// GetDistro returns the Distro field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *DockerPackageUploadResponse) GetDistro() Distribution { + if o == nil || isNil(o.Distro.Get()) { + var ret Distribution + return ret + } + return *o.Distro.Get() +} + +// GetDistroOk returns a tuple with the Distro 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 *DockerPackageUploadResponse) GetDistroOk() (*Distribution, bool) { + if o == nil { + return nil, false + } + return o.Distro.Get(), o.Distro.IsSet() +} + +// HasDistro returns a boolean if a field has been set. +func (o *DockerPackageUploadResponse) HasDistro() bool { + if o != nil && o.Distro.IsSet() { + return true + } + + return false +} + +// SetDistro gets a reference to the given NullableDistribution and assigns it to the Distro field. +func (o *DockerPackageUploadResponse) SetDistro(v Distribution) { + o.Distro.Set(&v) +} + +// SetDistroNil sets the value for Distro to be an explicit nil +func (o *DockerPackageUploadResponse) SetDistroNil() { + o.Distro.Set(nil) +} + +// UnsetDistro ensures that no value is present for Distro, not even an explicit nil +func (o *DockerPackageUploadResponse) UnsetDistro() { + o.Distro.Unset() +} + +// GetDistroVersion returns the DistroVersion field value if set, zero value otherwise. +func (o *DockerPackageUploadResponse) GetDistroVersion() DistributionVersion { + if o == nil || isNil(o.DistroVersion) { + var ret DistributionVersion + return ret + } + return *o.DistroVersion +} + +// GetDistroVersionOk returns a tuple with the DistroVersion field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *DockerPackageUploadResponse) GetDistroVersionOk() (*DistributionVersion, bool) { + if o == nil || isNil(o.DistroVersion) { + return nil, false + } + return o.DistroVersion, true +} + +// HasDistroVersion returns a boolean if a field has been set. +func (o *DockerPackageUploadResponse) HasDistroVersion() bool { + if o != nil && !isNil(o.DistroVersion) { + return true + } + + return false +} + +// SetDistroVersion gets a reference to the given DistributionVersion and assigns it to the DistroVersion field. +func (o *DockerPackageUploadResponse) SetDistroVersion(v DistributionVersion) { + o.DistroVersion = &v +} + +// GetDownloads returns the Downloads field value if set, zero value otherwise. +func (o *DockerPackageUploadResponse) GetDownloads() int64 { + if o == nil || isNil(o.Downloads) { + var ret int64 + return ret + } + return *o.Downloads +} + +// GetDownloadsOk returns a tuple with the Downloads field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *DockerPackageUploadResponse) GetDownloadsOk() (*int64, bool) { + if o == nil || isNil(o.Downloads) { + return nil, false + } + return o.Downloads, true +} + +// HasDownloads returns a boolean if a field has been set. +func (o *DockerPackageUploadResponse) HasDownloads() bool { + if o != nil && !isNil(o.Downloads) { + return true + } + + return false +} + +// SetDownloads gets a reference to the given int64 and assigns it to the Downloads field. +func (o *DockerPackageUploadResponse) SetDownloads(v int64) { + o.Downloads = &v +} + +// GetEpoch returns the Epoch field value if set, zero value otherwise. +func (o *DockerPackageUploadResponse) GetEpoch() int64 { + if o == nil || isNil(o.Epoch) { + var ret int64 + return ret + } + return *o.Epoch +} + +// GetEpochOk returns a tuple with the Epoch field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *DockerPackageUploadResponse) GetEpochOk() (*int64, bool) { + if o == nil || isNil(o.Epoch) { + return nil, false + } + return o.Epoch, true +} + +// HasEpoch returns a boolean if a field has been set. +func (o *DockerPackageUploadResponse) HasEpoch() bool { + if o != nil && !isNil(o.Epoch) { + return true + } + + return false +} + +// SetEpoch gets a reference to the given int64 and assigns it to the Epoch field. +func (o *DockerPackageUploadResponse) SetEpoch(v int64) { + o.Epoch = &v +} + +// GetExtension returns the Extension field value if set, zero value otherwise. +func (o *DockerPackageUploadResponse) GetExtension() string { + if o == nil || isNil(o.Extension) { + var ret string + return ret + } + return *o.Extension +} + +// GetExtensionOk returns a tuple with the Extension field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *DockerPackageUploadResponse) GetExtensionOk() (*string, bool) { + if o == nil || isNil(o.Extension) { + return nil, false + } + return o.Extension, true +} + +// HasExtension returns a boolean if a field has been set. +func (o *DockerPackageUploadResponse) HasExtension() bool { + if o != nil && !isNil(o.Extension) { + return true + } + + return false +} + +// SetExtension gets a reference to the given string and assigns it to the Extension field. +func (o *DockerPackageUploadResponse) SetExtension(v string) { + o.Extension = &v +} + +// GetFilename returns the Filename field value if set, zero value otherwise. +func (o *DockerPackageUploadResponse) GetFilename() string { + if o == nil || isNil(o.Filename) { + var ret string + return ret + } + return *o.Filename +} + +// GetFilenameOk returns a tuple with the Filename field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *DockerPackageUploadResponse) GetFilenameOk() (*string, bool) { + if o == nil || isNil(o.Filename) { + return nil, false + } + return o.Filename, true +} + +// HasFilename returns a boolean if a field has been set. +func (o *DockerPackageUploadResponse) HasFilename() bool { + if o != nil && !isNil(o.Filename) { + return true + } + + return false +} + +// SetFilename gets a reference to the given string and assigns it to the Filename field. +func (o *DockerPackageUploadResponse) SetFilename(v string) { + o.Filename = &v +} + +// GetFiles returns the Files field value if set, zero value otherwise. +func (o *DockerPackageUploadResponse) GetFiles() []PackageFile { + if o == nil || isNil(o.Files) { + var ret []PackageFile + return ret + } + return o.Files +} + +// GetFilesOk returns a tuple with the Files field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *DockerPackageUploadResponse) GetFilesOk() ([]PackageFile, bool) { + if o == nil || isNil(o.Files) { + return nil, false + } + return o.Files, true +} + +// HasFiles returns a boolean if a field has been set. +func (o *DockerPackageUploadResponse) HasFiles() bool { + if o != nil && !isNil(o.Files) { + return true + } + + return false +} + +// SetFiles gets a reference to the given []PackageFile and assigns it to the Files field. +func (o *DockerPackageUploadResponse) SetFiles(v []PackageFile) { + o.Files = v +} + +// GetFormat returns the Format field value if set, zero value otherwise. +func (o *DockerPackageUploadResponse) GetFormat() string { + if o == nil || isNil(o.Format) { + var ret string + return ret + } + return *o.Format +} + +// GetFormatOk returns a tuple with the Format field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *DockerPackageUploadResponse) GetFormatOk() (*string, bool) { + if o == nil || isNil(o.Format) { + return nil, false + } + return o.Format, true +} + +// HasFormat returns a boolean if a field has been set. +func (o *DockerPackageUploadResponse) HasFormat() bool { + if o != nil && !isNil(o.Format) { + return true + } + + return false +} + +// SetFormat gets a reference to the given string and assigns it to the Format field. +func (o *DockerPackageUploadResponse) SetFormat(v string) { + o.Format = &v +} + +// GetFormatUrl returns the FormatUrl field value if set, zero value otherwise. +func (o *DockerPackageUploadResponse) GetFormatUrl() string { + if o == nil || isNil(o.FormatUrl) { + var ret string + return ret + } + return *o.FormatUrl +} + +// GetFormatUrlOk returns a tuple with the FormatUrl field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *DockerPackageUploadResponse) GetFormatUrlOk() (*string, bool) { + if o == nil || isNil(o.FormatUrl) { + return nil, false + } + return o.FormatUrl, true +} + +// HasFormatUrl returns a boolean if a field has been set. +func (o *DockerPackageUploadResponse) HasFormatUrl() bool { + if o != nil && !isNil(o.FormatUrl) { + return true + } + + return false +} + +// SetFormatUrl gets a reference to the given string and assigns it to the FormatUrl field. +func (o *DockerPackageUploadResponse) SetFormatUrl(v string) { + o.FormatUrl = &v +} + +// GetIdentifierPerm returns the IdentifierPerm field value if set, zero value otherwise. +func (o *DockerPackageUploadResponse) GetIdentifierPerm() string { + if o == nil || isNil(o.IdentifierPerm) { + var ret string + return ret + } + return *o.IdentifierPerm +} + +// GetIdentifierPermOk returns a tuple with the IdentifierPerm field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *DockerPackageUploadResponse) GetIdentifierPermOk() (*string, bool) { + if o == nil || isNil(o.IdentifierPerm) { + return nil, false + } + return o.IdentifierPerm, true +} + +// HasIdentifierPerm returns a boolean if a field has been set. +func (o *DockerPackageUploadResponse) HasIdentifierPerm() bool { + if o != nil && !isNil(o.IdentifierPerm) { + return true + } + + return false +} + +// SetIdentifierPerm gets a reference to the given string and assigns it to the IdentifierPerm field. +func (o *DockerPackageUploadResponse) SetIdentifierPerm(v string) { + o.IdentifierPerm = &v +} + +// GetIndexed returns the Indexed field value if set, zero value otherwise. +func (o *DockerPackageUploadResponse) GetIndexed() bool { + if o == nil || isNil(o.Indexed) { + var ret bool + return ret + } + return *o.Indexed +} + +// GetIndexedOk returns a tuple with the Indexed field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *DockerPackageUploadResponse) GetIndexedOk() (*bool, bool) { + if o == nil || isNil(o.Indexed) { + return nil, false + } + return o.Indexed, true +} + +// HasIndexed returns a boolean if a field has been set. +func (o *DockerPackageUploadResponse) HasIndexed() bool { + if o != nil && !isNil(o.Indexed) { + return true + } + + return false +} + +// SetIndexed gets a reference to the given bool and assigns it to the Indexed field. +func (o *DockerPackageUploadResponse) SetIndexed(v bool) { + o.Indexed = &v +} + +// GetIsDownloadable returns the IsDownloadable field value if set, zero value otherwise. +func (o *DockerPackageUploadResponse) GetIsDownloadable() bool { + if o == nil || isNil(o.IsDownloadable) { + var ret bool + return ret + } + return *o.IsDownloadable +} + +// GetIsDownloadableOk returns a tuple with the IsDownloadable field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *DockerPackageUploadResponse) GetIsDownloadableOk() (*bool, bool) { + if o == nil || isNil(o.IsDownloadable) { + return nil, false + } + return o.IsDownloadable, true +} + +// HasIsDownloadable returns a boolean if a field has been set. +func (o *DockerPackageUploadResponse) HasIsDownloadable() bool { + if o != nil && !isNil(o.IsDownloadable) { + return true + } + + return false +} + +// SetIsDownloadable gets a reference to the given bool and assigns it to the IsDownloadable field. +func (o *DockerPackageUploadResponse) SetIsDownloadable(v bool) { + o.IsDownloadable = &v +} + +// GetIsQuarantined returns the IsQuarantined field value if set, zero value otherwise. +func (o *DockerPackageUploadResponse) GetIsQuarantined() bool { + if o == nil || isNil(o.IsQuarantined) { + var ret bool + return ret + } + return *o.IsQuarantined +} + +// GetIsQuarantinedOk returns a tuple with the IsQuarantined field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *DockerPackageUploadResponse) GetIsQuarantinedOk() (*bool, bool) { + if o == nil || isNil(o.IsQuarantined) { + return nil, false + } + return o.IsQuarantined, true +} + +// HasIsQuarantined returns a boolean if a field has been set. +func (o *DockerPackageUploadResponse) HasIsQuarantined() bool { + if o != nil && !isNil(o.IsQuarantined) { + return true + } + + return false +} + +// SetIsQuarantined gets a reference to the given bool and assigns it to the IsQuarantined field. +func (o *DockerPackageUploadResponse) SetIsQuarantined(v bool) { + o.IsQuarantined = &v +} + +// GetIsSyncAwaiting returns the IsSyncAwaiting field value if set, zero value otherwise. +func (o *DockerPackageUploadResponse) GetIsSyncAwaiting() bool { + if o == nil || isNil(o.IsSyncAwaiting) { + var ret bool + return ret + } + return *o.IsSyncAwaiting +} + +// GetIsSyncAwaitingOk returns a tuple with the IsSyncAwaiting field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *DockerPackageUploadResponse) GetIsSyncAwaitingOk() (*bool, bool) { + if o == nil || isNil(o.IsSyncAwaiting) { + return nil, false + } + return o.IsSyncAwaiting, true +} + +// HasIsSyncAwaiting returns a boolean if a field has been set. +func (o *DockerPackageUploadResponse) HasIsSyncAwaiting() bool { + if o != nil && !isNil(o.IsSyncAwaiting) { + return true + } + + return false +} + +// SetIsSyncAwaiting gets a reference to the given bool and assigns it to the IsSyncAwaiting field. +func (o *DockerPackageUploadResponse) SetIsSyncAwaiting(v bool) { + o.IsSyncAwaiting = &v +} + +// GetIsSyncCompleted returns the IsSyncCompleted field value if set, zero value otherwise. +func (o *DockerPackageUploadResponse) GetIsSyncCompleted() bool { + if o == nil || isNil(o.IsSyncCompleted) { + var ret bool + return ret + } + return *o.IsSyncCompleted +} + +// GetIsSyncCompletedOk returns a tuple with the IsSyncCompleted field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *DockerPackageUploadResponse) GetIsSyncCompletedOk() (*bool, bool) { + if o == nil || isNil(o.IsSyncCompleted) { + return nil, false + } + return o.IsSyncCompleted, true +} + +// HasIsSyncCompleted returns a boolean if a field has been set. +func (o *DockerPackageUploadResponse) HasIsSyncCompleted() bool { + if o != nil && !isNil(o.IsSyncCompleted) { + return true + } + + return false +} + +// SetIsSyncCompleted gets a reference to the given bool and assigns it to the IsSyncCompleted field. +func (o *DockerPackageUploadResponse) SetIsSyncCompleted(v bool) { + o.IsSyncCompleted = &v +} + +// GetIsSyncFailed returns the IsSyncFailed field value if set, zero value otherwise. +func (o *DockerPackageUploadResponse) GetIsSyncFailed() bool { + if o == nil || isNil(o.IsSyncFailed) { + var ret bool + return ret + } + return *o.IsSyncFailed +} + +// GetIsSyncFailedOk returns a tuple with the IsSyncFailed field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *DockerPackageUploadResponse) GetIsSyncFailedOk() (*bool, bool) { + if o == nil || isNil(o.IsSyncFailed) { + return nil, false + } + return o.IsSyncFailed, true +} + +// HasIsSyncFailed returns a boolean if a field has been set. +func (o *DockerPackageUploadResponse) HasIsSyncFailed() bool { + if o != nil && !isNil(o.IsSyncFailed) { + return true + } + + return false +} + +// SetIsSyncFailed gets a reference to the given bool and assigns it to the IsSyncFailed field. +func (o *DockerPackageUploadResponse) SetIsSyncFailed(v bool) { + o.IsSyncFailed = &v +} + +// GetIsSyncInFlight returns the IsSyncInFlight field value if set, zero value otherwise. +func (o *DockerPackageUploadResponse) GetIsSyncInFlight() bool { + if o == nil || isNil(o.IsSyncInFlight) { + var ret bool + return ret + } + return *o.IsSyncInFlight +} + +// GetIsSyncInFlightOk returns a tuple with the IsSyncInFlight field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *DockerPackageUploadResponse) GetIsSyncInFlightOk() (*bool, bool) { + if o == nil || isNil(o.IsSyncInFlight) { + return nil, false + } + return o.IsSyncInFlight, true +} + +// HasIsSyncInFlight returns a boolean if a field has been set. +func (o *DockerPackageUploadResponse) HasIsSyncInFlight() bool { + if o != nil && !isNil(o.IsSyncInFlight) { + return true + } + + return false +} + +// SetIsSyncInFlight gets a reference to the given bool and assigns it to the IsSyncInFlight field. +func (o *DockerPackageUploadResponse) SetIsSyncInFlight(v bool) { + o.IsSyncInFlight = &v +} + +// GetIsSyncInProgress returns the IsSyncInProgress field value if set, zero value otherwise. +func (o *DockerPackageUploadResponse) GetIsSyncInProgress() bool { + if o == nil || isNil(o.IsSyncInProgress) { + var ret bool + return ret + } + return *o.IsSyncInProgress +} + +// GetIsSyncInProgressOk returns a tuple with the IsSyncInProgress field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *DockerPackageUploadResponse) GetIsSyncInProgressOk() (*bool, bool) { + if o == nil || isNil(o.IsSyncInProgress) { + return nil, false + } + return o.IsSyncInProgress, true +} + +// HasIsSyncInProgress returns a boolean if a field has been set. +func (o *DockerPackageUploadResponse) HasIsSyncInProgress() bool { + if o != nil && !isNil(o.IsSyncInProgress) { + return true + } + + return false +} + +// SetIsSyncInProgress gets a reference to the given bool and assigns it to the IsSyncInProgress field. +func (o *DockerPackageUploadResponse) SetIsSyncInProgress(v bool) { + o.IsSyncInProgress = &v +} + +// GetLicense returns the License field value if set, zero value otherwise. +func (o *DockerPackageUploadResponse) GetLicense() string { + if o == nil || isNil(o.License) { + var ret string + return ret + } + return *o.License +} + +// GetLicenseOk returns a tuple with the License field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *DockerPackageUploadResponse) GetLicenseOk() (*string, bool) { + if o == nil || isNil(o.License) { + return nil, false + } + return o.License, true +} + +// HasLicense returns a boolean if a field has been set. +func (o *DockerPackageUploadResponse) HasLicense() bool { + if o != nil && !isNil(o.License) { + return true + } + + return false +} + +// SetLicense gets a reference to the given string and assigns it to the License field. +func (o *DockerPackageUploadResponse) SetLicense(v string) { + o.License = &v +} + +// GetName returns the Name field value if set, zero value otherwise. +func (o *DockerPackageUploadResponse) GetName() string { + if o == nil || isNil(o.Name) { + var ret string + return ret + } + return *o.Name +} + +// GetNameOk returns a tuple with the Name field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *DockerPackageUploadResponse) GetNameOk() (*string, bool) { + if o == nil || isNil(o.Name) { + return nil, false + } + return o.Name, true +} + +// HasName returns a boolean if a field has been set. +func (o *DockerPackageUploadResponse) HasName() bool { + if o != nil && !isNil(o.Name) { + return true + } + + return false +} + +// SetName gets a reference to the given string and assigns it to the Name field. +func (o *DockerPackageUploadResponse) SetName(v string) { + o.Name = &v +} + +// GetNamespace returns the Namespace field value if set, zero value otherwise. +func (o *DockerPackageUploadResponse) GetNamespace() string { + if o == nil || isNil(o.Namespace) { + var ret string + return ret + } + return *o.Namespace +} + +// GetNamespaceOk returns a tuple with the Namespace field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *DockerPackageUploadResponse) GetNamespaceOk() (*string, bool) { + if o == nil || isNil(o.Namespace) { + return nil, false + } + return o.Namespace, true +} + +// HasNamespace returns a boolean if a field has been set. +func (o *DockerPackageUploadResponse) HasNamespace() bool { + if o != nil && !isNil(o.Namespace) { + return true + } + + return false +} + +// SetNamespace gets a reference to the given string and assigns it to the Namespace field. +func (o *DockerPackageUploadResponse) SetNamespace(v string) { + o.Namespace = &v +} + +// GetNamespaceUrl returns the NamespaceUrl field value if set, zero value otherwise. +func (o *DockerPackageUploadResponse) GetNamespaceUrl() string { + if o == nil || isNil(o.NamespaceUrl) { + var ret string + return ret + } + return *o.NamespaceUrl +} + +// GetNamespaceUrlOk returns a tuple with the NamespaceUrl field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *DockerPackageUploadResponse) GetNamespaceUrlOk() (*string, bool) { + if o == nil || isNil(o.NamespaceUrl) { + return nil, false + } + return o.NamespaceUrl, true +} + +// HasNamespaceUrl returns a boolean if a field has been set. +func (o *DockerPackageUploadResponse) HasNamespaceUrl() bool { + if o != nil && !isNil(o.NamespaceUrl) { + return true + } + + return false +} + +// SetNamespaceUrl gets a reference to the given string and assigns it to the NamespaceUrl field. +func (o *DockerPackageUploadResponse) SetNamespaceUrl(v string) { + o.NamespaceUrl = &v +} + +// GetNumFiles returns the NumFiles field value if set, zero value otherwise. +func (o *DockerPackageUploadResponse) GetNumFiles() int64 { + if o == nil || isNil(o.NumFiles) { + var ret int64 + return ret + } + return *o.NumFiles +} + +// GetNumFilesOk returns a tuple with the NumFiles field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *DockerPackageUploadResponse) GetNumFilesOk() (*int64, bool) { + if o == nil || isNil(o.NumFiles) { + return nil, false + } + return o.NumFiles, true +} + +// HasNumFiles returns a boolean if a field has been set. +func (o *DockerPackageUploadResponse) HasNumFiles() bool { + if o != nil && !isNil(o.NumFiles) { + return true + } + + return false +} + +// SetNumFiles gets a reference to the given int64 and assigns it to the NumFiles field. +func (o *DockerPackageUploadResponse) SetNumFiles(v int64) { + o.NumFiles = &v +} + +// GetOriginRepository returns the OriginRepository field value if set, zero value otherwise. +func (o *DockerPackageUploadResponse) GetOriginRepository() string { + if o == nil || isNil(o.OriginRepository) { + var ret string + return ret + } + return *o.OriginRepository +} + +// GetOriginRepositoryOk returns a tuple with the OriginRepository field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *DockerPackageUploadResponse) GetOriginRepositoryOk() (*string, bool) { + if o == nil || isNil(o.OriginRepository) { + return nil, false + } + return o.OriginRepository, true +} + +// HasOriginRepository returns a boolean if a field has been set. +func (o *DockerPackageUploadResponse) HasOriginRepository() bool { + if o != nil && !isNil(o.OriginRepository) { + return true + } + + return false +} + +// SetOriginRepository gets a reference to the given string and assigns it to the OriginRepository field. +func (o *DockerPackageUploadResponse) SetOriginRepository(v string) { + o.OriginRepository = &v +} + +// GetOriginRepositoryUrl returns the OriginRepositoryUrl field value if set, zero value otherwise. +func (o *DockerPackageUploadResponse) GetOriginRepositoryUrl() string { + if o == nil || isNil(o.OriginRepositoryUrl) { + var ret string + return ret + } + return *o.OriginRepositoryUrl +} + +// GetOriginRepositoryUrlOk returns a tuple with the OriginRepositoryUrl field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *DockerPackageUploadResponse) GetOriginRepositoryUrlOk() (*string, bool) { + if o == nil || isNil(o.OriginRepositoryUrl) { + return nil, false + } + return o.OriginRepositoryUrl, true +} + +// HasOriginRepositoryUrl returns a boolean if a field has been set. +func (o *DockerPackageUploadResponse) HasOriginRepositoryUrl() bool { + if o != nil && !isNil(o.OriginRepositoryUrl) { + return true + } + + return false +} + +// SetOriginRepositoryUrl gets a reference to the given string and assigns it to the OriginRepositoryUrl field. +func (o *DockerPackageUploadResponse) SetOriginRepositoryUrl(v string) { + o.OriginRepositoryUrl = &v +} + +// GetPackageType returns the PackageType field value if set, zero value otherwise. +func (o *DockerPackageUploadResponse) GetPackageType() int64 { + if o == nil || isNil(o.PackageType) { + var ret int64 + return ret + } + return *o.PackageType +} + +// GetPackageTypeOk returns a tuple with the PackageType field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *DockerPackageUploadResponse) GetPackageTypeOk() (*int64, bool) { + if o == nil || isNil(o.PackageType) { + return nil, false + } + return o.PackageType, true +} + +// HasPackageType returns a boolean if a field has been set. +func (o *DockerPackageUploadResponse) HasPackageType() bool { + if o != nil && !isNil(o.PackageType) { + return true + } + + return false +} + +// SetPackageType gets a reference to the given int64 and assigns it to the PackageType field. +func (o *DockerPackageUploadResponse) SetPackageType(v int64) { + o.PackageType = &v +} + +// GetRelease returns the Release field value if set, zero value otherwise. +func (o *DockerPackageUploadResponse) GetRelease() string { + if o == nil || isNil(o.Release) { + var ret string + return ret + } + return *o.Release +} + +// GetReleaseOk returns a tuple with the Release field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *DockerPackageUploadResponse) GetReleaseOk() (*string, bool) { + if o == nil || isNil(o.Release) { + return nil, false + } + return o.Release, true +} + +// HasRelease returns a boolean if a field has been set. +func (o *DockerPackageUploadResponse) HasRelease() bool { + if o != nil && !isNil(o.Release) { + return true + } + + return false +} + +// SetRelease gets a reference to the given string and assigns it to the Release field. +func (o *DockerPackageUploadResponse) SetRelease(v string) { + o.Release = &v +} + +// GetRepository returns the Repository field value if set, zero value otherwise. +func (o *DockerPackageUploadResponse) GetRepository() string { + if o == nil || isNil(o.Repository) { + var ret string + return ret + } + return *o.Repository +} + +// GetRepositoryOk returns a tuple with the Repository field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *DockerPackageUploadResponse) GetRepositoryOk() (*string, bool) { + if o == nil || isNil(o.Repository) { + return nil, false + } + return o.Repository, true +} + +// HasRepository returns a boolean if a field has been set. +func (o *DockerPackageUploadResponse) HasRepository() bool { + if o != nil && !isNil(o.Repository) { + return true + } + + return false +} + +// SetRepository gets a reference to the given string and assigns it to the Repository field. +func (o *DockerPackageUploadResponse) SetRepository(v string) { + o.Repository = &v +} + +// GetRepositoryUrl returns the RepositoryUrl field value if set, zero value otherwise. +func (o *DockerPackageUploadResponse) GetRepositoryUrl() string { + if o == nil || isNil(o.RepositoryUrl) { + var ret string + return ret + } + return *o.RepositoryUrl +} + +// GetRepositoryUrlOk returns a tuple with the RepositoryUrl field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *DockerPackageUploadResponse) GetRepositoryUrlOk() (*string, bool) { + if o == nil || isNil(o.RepositoryUrl) { + return nil, false + } + return o.RepositoryUrl, true +} + +// HasRepositoryUrl returns a boolean if a field has been set. +func (o *DockerPackageUploadResponse) HasRepositoryUrl() bool { + if o != nil && !isNil(o.RepositoryUrl) { + return true + } + + return false +} + +// SetRepositoryUrl gets a reference to the given string and assigns it to the RepositoryUrl field. +func (o *DockerPackageUploadResponse) SetRepositoryUrl(v string) { + o.RepositoryUrl = &v +} + +// GetSecurityScanCompletedAt returns the SecurityScanCompletedAt field value if set, zero value otherwise. +func (o *DockerPackageUploadResponse) GetSecurityScanCompletedAt() time.Time { + if o == nil || isNil(o.SecurityScanCompletedAt) { + var ret time.Time + return ret + } + return *o.SecurityScanCompletedAt +} + +// GetSecurityScanCompletedAtOk returns a tuple with the SecurityScanCompletedAt field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *DockerPackageUploadResponse) GetSecurityScanCompletedAtOk() (*time.Time, bool) { + if o == nil || isNil(o.SecurityScanCompletedAt) { + return nil, false + } + return o.SecurityScanCompletedAt, true +} + +// HasSecurityScanCompletedAt returns a boolean if a field has been set. +func (o *DockerPackageUploadResponse) HasSecurityScanCompletedAt() bool { + if o != nil && !isNil(o.SecurityScanCompletedAt) { + return true + } + + return false +} + +// SetSecurityScanCompletedAt gets a reference to the given time.Time and assigns it to the SecurityScanCompletedAt field. +func (o *DockerPackageUploadResponse) SetSecurityScanCompletedAt(v time.Time) { + o.SecurityScanCompletedAt = &v +} + +// GetSecurityScanStartedAt returns the SecurityScanStartedAt field value if set, zero value otherwise. +func (o *DockerPackageUploadResponse) GetSecurityScanStartedAt() time.Time { + if o == nil || isNil(o.SecurityScanStartedAt) { + var ret time.Time + return ret + } + return *o.SecurityScanStartedAt +} + +// GetSecurityScanStartedAtOk returns a tuple with the SecurityScanStartedAt field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *DockerPackageUploadResponse) GetSecurityScanStartedAtOk() (*time.Time, bool) { + if o == nil || isNil(o.SecurityScanStartedAt) { + return nil, false + } + return o.SecurityScanStartedAt, true +} + +// HasSecurityScanStartedAt returns a boolean if a field has been set. +func (o *DockerPackageUploadResponse) HasSecurityScanStartedAt() bool { + if o != nil && !isNil(o.SecurityScanStartedAt) { + return true + } + + return false +} + +// SetSecurityScanStartedAt gets a reference to the given time.Time and assigns it to the SecurityScanStartedAt field. +func (o *DockerPackageUploadResponse) SetSecurityScanStartedAt(v time.Time) { + o.SecurityScanStartedAt = &v +} + +// GetSecurityScanStatus returns the SecurityScanStatus field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *DockerPackageUploadResponse) GetSecurityScanStatus() string { + if o == nil || isNil(o.SecurityScanStatus.Get()) { + var ret string + return ret + } + return *o.SecurityScanStatus.Get() +} + +// GetSecurityScanStatusOk returns a tuple with the SecurityScanStatus 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 *DockerPackageUploadResponse) GetSecurityScanStatusOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.SecurityScanStatus.Get(), o.SecurityScanStatus.IsSet() +} + +// HasSecurityScanStatus returns a boolean if a field has been set. +func (o *DockerPackageUploadResponse) HasSecurityScanStatus() bool { + if o != nil && o.SecurityScanStatus.IsSet() { + return true + } + + return false +} + +// SetSecurityScanStatus gets a reference to the given NullableString and assigns it to the SecurityScanStatus field. +func (o *DockerPackageUploadResponse) SetSecurityScanStatus(v string) { + o.SecurityScanStatus.Set(&v) +} + +// SetSecurityScanStatusNil sets the value for SecurityScanStatus to be an explicit nil +func (o *DockerPackageUploadResponse) SetSecurityScanStatusNil() { + o.SecurityScanStatus.Set(nil) +} + +// UnsetSecurityScanStatus ensures that no value is present for SecurityScanStatus, not even an explicit nil +func (o *DockerPackageUploadResponse) UnsetSecurityScanStatus() { + o.SecurityScanStatus.Unset() +} + +// GetSecurityScanStatusUpdatedAt returns the SecurityScanStatusUpdatedAt field value if set, zero value otherwise. +func (o *DockerPackageUploadResponse) GetSecurityScanStatusUpdatedAt() time.Time { + if o == nil || isNil(o.SecurityScanStatusUpdatedAt) { + var ret time.Time + return ret + } + return *o.SecurityScanStatusUpdatedAt +} + +// GetSecurityScanStatusUpdatedAtOk returns a tuple with the SecurityScanStatusUpdatedAt field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *DockerPackageUploadResponse) GetSecurityScanStatusUpdatedAtOk() (*time.Time, bool) { + if o == nil || isNil(o.SecurityScanStatusUpdatedAt) { + return nil, false + } + return o.SecurityScanStatusUpdatedAt, true +} + +// HasSecurityScanStatusUpdatedAt returns a boolean if a field has been set. +func (o *DockerPackageUploadResponse) HasSecurityScanStatusUpdatedAt() bool { + if o != nil && !isNil(o.SecurityScanStatusUpdatedAt) { + return true + } + + return false +} + +// SetSecurityScanStatusUpdatedAt gets a reference to the given time.Time and assigns it to the SecurityScanStatusUpdatedAt field. +func (o *DockerPackageUploadResponse) SetSecurityScanStatusUpdatedAt(v time.Time) { + o.SecurityScanStatusUpdatedAt = &v +} + +// GetSelfHtmlUrl returns the SelfHtmlUrl field value if set, zero value otherwise. +func (o *DockerPackageUploadResponse) GetSelfHtmlUrl() string { + if o == nil || isNil(o.SelfHtmlUrl) { + var ret string + return ret + } + return *o.SelfHtmlUrl +} + +// GetSelfHtmlUrlOk returns a tuple with the SelfHtmlUrl field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *DockerPackageUploadResponse) GetSelfHtmlUrlOk() (*string, bool) { + if o == nil || isNil(o.SelfHtmlUrl) { + return nil, false + } + return o.SelfHtmlUrl, true +} + +// HasSelfHtmlUrl returns a boolean if a field has been set. +func (o *DockerPackageUploadResponse) HasSelfHtmlUrl() bool { + if o != nil && !isNil(o.SelfHtmlUrl) { + return true + } + + return false +} + +// SetSelfHtmlUrl gets a reference to the given string and assigns it to the SelfHtmlUrl field. +func (o *DockerPackageUploadResponse) SetSelfHtmlUrl(v string) { + o.SelfHtmlUrl = &v +} + +// GetSelfUrl returns the SelfUrl field value if set, zero value otherwise. +func (o *DockerPackageUploadResponse) GetSelfUrl() string { + if o == nil || isNil(o.SelfUrl) { + var ret string + return ret + } + return *o.SelfUrl +} + +// GetSelfUrlOk returns a tuple with the SelfUrl field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *DockerPackageUploadResponse) GetSelfUrlOk() (*string, bool) { + if o == nil || isNil(o.SelfUrl) { + return nil, false + } + return o.SelfUrl, true +} + +// HasSelfUrl returns a boolean if a field has been set. +func (o *DockerPackageUploadResponse) HasSelfUrl() bool { + if o != nil && !isNil(o.SelfUrl) { + return true + } + + return false +} + +// SetSelfUrl gets a reference to the given string and assigns it to the SelfUrl field. +func (o *DockerPackageUploadResponse) SetSelfUrl(v string) { + o.SelfUrl = &v +} + +// GetSignatureUrl returns the SignatureUrl field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *DockerPackageUploadResponse) GetSignatureUrl() string { + if o == nil || isNil(o.SignatureUrl.Get()) { + var ret string + return ret + } + return *o.SignatureUrl.Get() +} + +// GetSignatureUrlOk returns a tuple with the SignatureUrl 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 *DockerPackageUploadResponse) GetSignatureUrlOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.SignatureUrl.Get(), o.SignatureUrl.IsSet() +} + +// HasSignatureUrl returns a boolean if a field has been set. +func (o *DockerPackageUploadResponse) HasSignatureUrl() bool { + if o != nil && o.SignatureUrl.IsSet() { + return true + } + + return false +} + +// SetSignatureUrl gets a reference to the given NullableString and assigns it to the SignatureUrl field. +func (o *DockerPackageUploadResponse) SetSignatureUrl(v string) { + o.SignatureUrl.Set(&v) +} + +// SetSignatureUrlNil sets the value for SignatureUrl to be an explicit nil +func (o *DockerPackageUploadResponse) SetSignatureUrlNil() { + o.SignatureUrl.Set(nil) +} + +// UnsetSignatureUrl ensures that no value is present for SignatureUrl, not even an explicit nil +func (o *DockerPackageUploadResponse) UnsetSignatureUrl() { + o.SignatureUrl.Unset() +} + +// GetSize returns the Size field value if set, zero value otherwise. +func (o *DockerPackageUploadResponse) GetSize() int64 { + if o == nil || isNil(o.Size) { + var ret int64 + return ret + } + return *o.Size +} + +// GetSizeOk returns a tuple with the Size field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *DockerPackageUploadResponse) GetSizeOk() (*int64, bool) { + if o == nil || isNil(o.Size) { + return nil, false + } + return o.Size, true +} + +// HasSize returns a boolean if a field has been set. +func (o *DockerPackageUploadResponse) HasSize() bool { + if o != nil && !isNil(o.Size) { + return true + } + + return false +} + +// SetSize gets a reference to the given int64 and assigns it to the Size field. +func (o *DockerPackageUploadResponse) SetSize(v int64) { + o.Size = &v +} + +// GetSlug returns the Slug field value if set, zero value otherwise. +func (o *DockerPackageUploadResponse) GetSlug() string { + if o == nil || isNil(o.Slug) { + var ret string + return ret + } + return *o.Slug +} + +// GetSlugOk returns a tuple with the Slug field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *DockerPackageUploadResponse) GetSlugOk() (*string, bool) { + if o == nil || isNil(o.Slug) { + return nil, false + } + return o.Slug, true +} + +// HasSlug returns a boolean if a field has been set. +func (o *DockerPackageUploadResponse) HasSlug() bool { + if o != nil && !isNil(o.Slug) { + return true + } + + return false +} + +// SetSlug gets a reference to the given string and assigns it to the Slug field. +func (o *DockerPackageUploadResponse) SetSlug(v string) { + o.Slug = &v +} + +// GetSlugPerm returns the SlugPerm field value if set, zero value otherwise. +func (o *DockerPackageUploadResponse) GetSlugPerm() string { + if o == nil || isNil(o.SlugPerm) { + var ret string + return ret + } + return *o.SlugPerm +} + +// GetSlugPermOk returns a tuple with the SlugPerm field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *DockerPackageUploadResponse) GetSlugPermOk() (*string, bool) { + if o == nil || isNil(o.SlugPerm) { + return nil, false + } + return o.SlugPerm, true +} + +// HasSlugPerm returns a boolean if a field has been set. +func (o *DockerPackageUploadResponse) HasSlugPerm() bool { + if o != nil && !isNil(o.SlugPerm) { + return true + } + + return false +} + +// SetSlugPerm gets a reference to the given string and assigns it to the SlugPerm field. +func (o *DockerPackageUploadResponse) SetSlugPerm(v string) { + o.SlugPerm = &v +} + +// GetStage returns the Stage field value if set, zero value otherwise. +func (o *DockerPackageUploadResponse) GetStage() int64 { + if o == nil || isNil(o.Stage) { + var ret int64 + return ret + } + return *o.Stage +} + +// GetStageOk returns a tuple with the Stage field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *DockerPackageUploadResponse) GetStageOk() (*int64, bool) { + if o == nil || isNil(o.Stage) { + return nil, false + } + return o.Stage, true +} + +// HasStage returns a boolean if a field has been set. +func (o *DockerPackageUploadResponse) HasStage() bool { + if o != nil && !isNil(o.Stage) { + return true + } + + return false +} + +// SetStage gets a reference to the given int64 and assigns it to the Stage field. +func (o *DockerPackageUploadResponse) SetStage(v int64) { + o.Stage = &v +} + +// GetStageStr returns the StageStr field value if set, zero value otherwise. +func (o *DockerPackageUploadResponse) GetStageStr() string { + if o == nil || isNil(o.StageStr) { + var ret string + return ret + } + return *o.StageStr +} + +// GetStageStrOk returns a tuple with the StageStr field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *DockerPackageUploadResponse) GetStageStrOk() (*string, bool) { + if o == nil || isNil(o.StageStr) { + return nil, false + } + return o.StageStr, true +} + +// HasStageStr returns a boolean if a field has been set. +func (o *DockerPackageUploadResponse) HasStageStr() bool { + if o != nil && !isNil(o.StageStr) { + return true + } + + return false +} + +// SetStageStr gets a reference to the given string and assigns it to the StageStr field. +func (o *DockerPackageUploadResponse) SetStageStr(v string) { + o.StageStr = &v +} + +// GetStageUpdatedAt returns the StageUpdatedAt field value if set, zero value otherwise. +func (o *DockerPackageUploadResponse) GetStageUpdatedAt() time.Time { + if o == nil || isNil(o.StageUpdatedAt) { + var ret time.Time + return ret + } + return *o.StageUpdatedAt +} + +// GetStageUpdatedAtOk returns a tuple with the StageUpdatedAt field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *DockerPackageUploadResponse) GetStageUpdatedAtOk() (*time.Time, bool) { + if o == nil || isNil(o.StageUpdatedAt) { + return nil, false + } + return o.StageUpdatedAt, true +} + +// HasStageUpdatedAt returns a boolean if a field has been set. +func (o *DockerPackageUploadResponse) HasStageUpdatedAt() bool { + if o != nil && !isNil(o.StageUpdatedAt) { + return true + } + + return false +} + +// SetStageUpdatedAt gets a reference to the given time.Time and assigns it to the StageUpdatedAt field. +func (o *DockerPackageUploadResponse) SetStageUpdatedAt(v time.Time) { + o.StageUpdatedAt = &v +} + +// GetStatus returns the Status field value if set, zero value otherwise. +func (o *DockerPackageUploadResponse) GetStatus() int64 { + if o == nil || isNil(o.Status) { + var ret int64 + return ret + } + return *o.Status +} + +// GetStatusOk returns a tuple with the Status field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *DockerPackageUploadResponse) GetStatusOk() (*int64, bool) { + if o == nil || isNil(o.Status) { + return nil, false + } + return o.Status, true +} + +// HasStatus returns a boolean if a field has been set. +func (o *DockerPackageUploadResponse) HasStatus() bool { + if o != nil && !isNil(o.Status) { + return true + } + + return false +} + +// SetStatus gets a reference to the given int64 and assigns it to the Status field. +func (o *DockerPackageUploadResponse) SetStatus(v int64) { + o.Status = &v +} + +// GetStatusReason returns the StatusReason field value if set, zero value otherwise. +func (o *DockerPackageUploadResponse) GetStatusReason() string { + if o == nil || isNil(o.StatusReason) { + var ret string + return ret + } + return *o.StatusReason +} + +// GetStatusReasonOk returns a tuple with the StatusReason field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *DockerPackageUploadResponse) GetStatusReasonOk() (*string, bool) { + if o == nil || isNil(o.StatusReason) { + return nil, false + } + return o.StatusReason, true +} + +// HasStatusReason returns a boolean if a field has been set. +func (o *DockerPackageUploadResponse) HasStatusReason() bool { + if o != nil && !isNil(o.StatusReason) { + return true + } + + return false +} + +// SetStatusReason gets a reference to the given string and assigns it to the StatusReason field. +func (o *DockerPackageUploadResponse) SetStatusReason(v string) { + o.StatusReason = &v +} + +// GetStatusStr returns the StatusStr field value if set, zero value otherwise. +func (o *DockerPackageUploadResponse) GetStatusStr() string { + if o == nil || isNil(o.StatusStr) { + var ret string + return ret + } + return *o.StatusStr +} + +// GetStatusStrOk returns a tuple with the StatusStr field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *DockerPackageUploadResponse) GetStatusStrOk() (*string, bool) { + if o == nil || isNil(o.StatusStr) { + return nil, false + } + return o.StatusStr, true +} + +// HasStatusStr returns a boolean if a field has been set. +func (o *DockerPackageUploadResponse) HasStatusStr() bool { + if o != nil && !isNil(o.StatusStr) { + return true + } + + return false +} + +// SetStatusStr gets a reference to the given string and assigns it to the StatusStr field. +func (o *DockerPackageUploadResponse) SetStatusStr(v string) { + o.StatusStr = &v +} + +// GetStatusUpdatedAt returns the StatusUpdatedAt field value if set, zero value otherwise. +func (o *DockerPackageUploadResponse) GetStatusUpdatedAt() time.Time { + if o == nil || isNil(o.StatusUpdatedAt) { + var ret time.Time + return ret + } + return *o.StatusUpdatedAt +} + +// GetStatusUpdatedAtOk returns a tuple with the StatusUpdatedAt field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *DockerPackageUploadResponse) GetStatusUpdatedAtOk() (*time.Time, bool) { + if o == nil || isNil(o.StatusUpdatedAt) { + return nil, false + } + return o.StatusUpdatedAt, true +} + +// HasStatusUpdatedAt returns a boolean if a field has been set. +func (o *DockerPackageUploadResponse) HasStatusUpdatedAt() bool { + if o != nil && !isNil(o.StatusUpdatedAt) { + return true + } + + return false +} + +// SetStatusUpdatedAt gets a reference to the given time.Time and assigns it to the StatusUpdatedAt field. +func (o *DockerPackageUploadResponse) SetStatusUpdatedAt(v time.Time) { + o.StatusUpdatedAt = &v +} + +// GetStatusUrl returns the StatusUrl field value if set, zero value otherwise. +func (o *DockerPackageUploadResponse) GetStatusUrl() string { + if o == nil || isNil(o.StatusUrl) { + var ret string + return ret + } + return *o.StatusUrl +} + +// GetStatusUrlOk returns a tuple with the StatusUrl field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *DockerPackageUploadResponse) GetStatusUrlOk() (*string, bool) { + if o == nil || isNil(o.StatusUrl) { + return nil, false + } + return o.StatusUrl, true +} + +// HasStatusUrl returns a boolean if a field has been set. +func (o *DockerPackageUploadResponse) HasStatusUrl() bool { + if o != nil && !isNil(o.StatusUrl) { + return true + } + + return false +} + +// SetStatusUrl gets a reference to the given string and assigns it to the StatusUrl field. +func (o *DockerPackageUploadResponse) SetStatusUrl(v string) { + o.StatusUrl = &v +} + +// GetSubtype returns the Subtype field value if set, zero value otherwise. +func (o *DockerPackageUploadResponse) GetSubtype() string { + if o == nil || isNil(o.Subtype) { + var ret string + return ret + } + return *o.Subtype +} + +// GetSubtypeOk returns a tuple with the Subtype field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *DockerPackageUploadResponse) GetSubtypeOk() (*string, bool) { + if o == nil || isNil(o.Subtype) { + return nil, false + } + return o.Subtype, true +} + +// HasSubtype returns a boolean if a field has been set. +func (o *DockerPackageUploadResponse) HasSubtype() bool { + if o != nil && !isNil(o.Subtype) { + return true + } + + return false +} + +// SetSubtype gets a reference to the given string and assigns it to the Subtype field. +func (o *DockerPackageUploadResponse) SetSubtype(v string) { + o.Subtype = &v +} + +// GetSummary returns the Summary field value if set, zero value otherwise. +func (o *DockerPackageUploadResponse) GetSummary() string { + if o == nil || isNil(o.Summary) { + var ret string + return ret + } + return *o.Summary +} + +// GetSummaryOk returns a tuple with the Summary field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *DockerPackageUploadResponse) GetSummaryOk() (*string, bool) { + if o == nil || isNil(o.Summary) { + return nil, false + } + return o.Summary, true +} + +// HasSummary returns a boolean if a field has been set. +func (o *DockerPackageUploadResponse) HasSummary() bool { + if o != nil && !isNil(o.Summary) { + return true + } + + return false +} + +// SetSummary gets a reference to the given string and assigns it to the Summary field. +func (o *DockerPackageUploadResponse) SetSummary(v string) { + o.Summary = &v +} + +// GetSyncFinishedAt returns the SyncFinishedAt field value if set, zero value otherwise. +func (o *DockerPackageUploadResponse) GetSyncFinishedAt() time.Time { + if o == nil || isNil(o.SyncFinishedAt) { + var ret time.Time + return ret + } + return *o.SyncFinishedAt +} + +// GetSyncFinishedAtOk returns a tuple with the SyncFinishedAt field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *DockerPackageUploadResponse) GetSyncFinishedAtOk() (*time.Time, bool) { + if o == nil || isNil(o.SyncFinishedAt) { + return nil, false + } + return o.SyncFinishedAt, true +} + +// HasSyncFinishedAt returns a boolean if a field has been set. +func (o *DockerPackageUploadResponse) HasSyncFinishedAt() bool { + if o != nil && !isNil(o.SyncFinishedAt) { + return true + } + + return false +} + +// SetSyncFinishedAt gets a reference to the given time.Time and assigns it to the SyncFinishedAt field. +func (o *DockerPackageUploadResponse) SetSyncFinishedAt(v time.Time) { + o.SyncFinishedAt = &v +} + +// GetSyncProgress returns the SyncProgress field value if set, zero value otherwise. +func (o *DockerPackageUploadResponse) GetSyncProgress() int64 { + if o == nil || isNil(o.SyncProgress) { + var ret int64 + return ret + } + return *o.SyncProgress +} + +// GetSyncProgressOk returns a tuple with the SyncProgress field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *DockerPackageUploadResponse) GetSyncProgressOk() (*int64, bool) { + if o == nil || isNil(o.SyncProgress) { + return nil, false + } + return o.SyncProgress, true +} + +// HasSyncProgress returns a boolean if a field has been set. +func (o *DockerPackageUploadResponse) HasSyncProgress() bool { + if o != nil && !isNil(o.SyncProgress) { + return true + } + + return false +} + +// SetSyncProgress gets a reference to the given int64 and assigns it to the SyncProgress field. +func (o *DockerPackageUploadResponse) SetSyncProgress(v int64) { + o.SyncProgress = &v +} + +// GetTagsImmutable returns the TagsImmutable field value if set, zero value otherwise. +func (o *DockerPackageUploadResponse) GetTagsImmutable() map[string]interface{} { + if o == nil || isNil(o.TagsImmutable) { + var ret map[string]interface{} + return ret + } + return o.TagsImmutable +} + +// GetTagsImmutableOk returns a tuple with the TagsImmutable field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *DockerPackageUploadResponse) GetTagsImmutableOk() (map[string]interface{}, bool) { + if o == nil || isNil(o.TagsImmutable) { + return map[string]interface{}{}, false + } + return o.TagsImmutable, true +} + +// HasTagsImmutable returns a boolean if a field has been set. +func (o *DockerPackageUploadResponse) HasTagsImmutable() bool { + if o != nil && !isNil(o.TagsImmutable) { + return true + } + + return false +} + +// SetTagsImmutable gets a reference to the given map[string]interface{} and assigns it to the TagsImmutable field. +func (o *DockerPackageUploadResponse) SetTagsImmutable(v map[string]interface{}) { + o.TagsImmutable = v +} + +// GetTypeDisplay returns the TypeDisplay field value if set, zero value otherwise. +func (o *DockerPackageUploadResponse) GetTypeDisplay() string { + if o == nil || isNil(o.TypeDisplay) { + var ret string + return ret + } + return *o.TypeDisplay +} + +// GetTypeDisplayOk returns a tuple with the TypeDisplay field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *DockerPackageUploadResponse) GetTypeDisplayOk() (*string, bool) { + if o == nil || isNil(o.TypeDisplay) { + return nil, false + } + return o.TypeDisplay, true +} + +// HasTypeDisplay returns a boolean if a field has been set. +func (o *DockerPackageUploadResponse) HasTypeDisplay() bool { + if o != nil && !isNil(o.TypeDisplay) { + return true + } + + return false +} + +// SetTypeDisplay gets a reference to the given string and assigns it to the TypeDisplay field. +func (o *DockerPackageUploadResponse) SetTypeDisplay(v string) { + o.TypeDisplay = &v +} + +// GetUploadedAt returns the UploadedAt field value if set, zero value otherwise. +func (o *DockerPackageUploadResponse) GetUploadedAt() time.Time { + if o == nil || isNil(o.UploadedAt) { + var ret time.Time + return ret + } + return *o.UploadedAt +} + +// GetUploadedAtOk returns a tuple with the UploadedAt field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *DockerPackageUploadResponse) GetUploadedAtOk() (*time.Time, bool) { + if o == nil || isNil(o.UploadedAt) { + return nil, false + } + return o.UploadedAt, true +} + +// HasUploadedAt returns a boolean if a field has been set. +func (o *DockerPackageUploadResponse) HasUploadedAt() bool { + if o != nil && !isNil(o.UploadedAt) { + return true + } + + return false +} + +// SetUploadedAt gets a reference to the given time.Time and assigns it to the UploadedAt field. +func (o *DockerPackageUploadResponse) SetUploadedAt(v time.Time) { + o.UploadedAt = &v +} + +// GetUploader returns the Uploader field value if set, zero value otherwise. +func (o *DockerPackageUploadResponse) GetUploader() string { + if o == nil || isNil(o.Uploader) { + var ret string + return ret + } + return *o.Uploader +} + +// GetUploaderOk returns a tuple with the Uploader field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *DockerPackageUploadResponse) GetUploaderOk() (*string, bool) { + if o == nil || isNil(o.Uploader) { + return nil, false + } + return o.Uploader, true +} + +// HasUploader returns a boolean if a field has been set. +func (o *DockerPackageUploadResponse) HasUploader() bool { + if o != nil && !isNil(o.Uploader) { + return true + } + + return false +} + +// SetUploader gets a reference to the given string and assigns it to the Uploader field. +func (o *DockerPackageUploadResponse) SetUploader(v string) { + o.Uploader = &v +} + +// GetUploaderUrl returns the UploaderUrl field value if set, zero value otherwise. +func (o *DockerPackageUploadResponse) GetUploaderUrl() string { + if o == nil || isNil(o.UploaderUrl) { + var ret string + return ret + } + return *o.UploaderUrl +} + +// GetUploaderUrlOk returns a tuple with the UploaderUrl field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *DockerPackageUploadResponse) GetUploaderUrlOk() (*string, bool) { + if o == nil || isNil(o.UploaderUrl) { + return nil, false + } + return o.UploaderUrl, true +} + +// HasUploaderUrl returns a boolean if a field has been set. +func (o *DockerPackageUploadResponse) HasUploaderUrl() bool { + if o != nil && !isNil(o.UploaderUrl) { + return true + } + + return false +} + +// SetUploaderUrl gets a reference to the given string and assigns it to the UploaderUrl field. +func (o *DockerPackageUploadResponse) SetUploaderUrl(v string) { + o.UploaderUrl = &v +} + +// GetVersion returns the Version field value if set, zero value otherwise. +func (o *DockerPackageUploadResponse) GetVersion() string { + if o == nil || isNil(o.Version) { + var ret string + return ret + } + return *o.Version +} + +// GetVersionOk returns a tuple with the Version field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *DockerPackageUploadResponse) GetVersionOk() (*string, bool) { + if o == nil || isNil(o.Version) { + return nil, false + } + return o.Version, true +} + +// HasVersion returns a boolean if a field has been set. +func (o *DockerPackageUploadResponse) HasVersion() bool { + if o != nil && !isNil(o.Version) { + return true + } + + return false +} + +// SetVersion gets a reference to the given string and assigns it to the Version field. +func (o *DockerPackageUploadResponse) SetVersion(v string) { + o.Version = &v +} + +// GetVersionOrig returns the VersionOrig field value if set, zero value otherwise. +func (o *DockerPackageUploadResponse) GetVersionOrig() string { + if o == nil || isNil(o.VersionOrig) { + var ret string + return ret + } + return *o.VersionOrig +} + +// GetVersionOrigOk returns a tuple with the VersionOrig field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *DockerPackageUploadResponse) GetVersionOrigOk() (*string, bool) { + if o == nil || isNil(o.VersionOrig) { + return nil, false + } + return o.VersionOrig, true +} + +// HasVersionOrig returns a boolean if a field has been set. +func (o *DockerPackageUploadResponse) HasVersionOrig() bool { + if o != nil && !isNil(o.VersionOrig) { + return true + } + + return false +} + +// SetVersionOrig gets a reference to the given string and assigns it to the VersionOrig field. +func (o *DockerPackageUploadResponse) SetVersionOrig(v string) { + o.VersionOrig = &v +} + +// GetVulnerabilityScanResultsUrl returns the VulnerabilityScanResultsUrl field value if set, zero value otherwise. +func (o *DockerPackageUploadResponse) GetVulnerabilityScanResultsUrl() string { + if o == nil || isNil(o.VulnerabilityScanResultsUrl) { + var ret string + return ret + } + return *o.VulnerabilityScanResultsUrl +} + +// GetVulnerabilityScanResultsUrlOk returns a tuple with the VulnerabilityScanResultsUrl field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *DockerPackageUploadResponse) GetVulnerabilityScanResultsUrlOk() (*string, bool) { + if o == nil || isNil(o.VulnerabilityScanResultsUrl) { + return nil, false + } + return o.VulnerabilityScanResultsUrl, true +} + +// HasVulnerabilityScanResultsUrl returns a boolean if a field has been set. +func (o *DockerPackageUploadResponse) HasVulnerabilityScanResultsUrl() bool { + if o != nil && !isNil(o.VulnerabilityScanResultsUrl) { + return true + } + + return false +} + +// SetVulnerabilityScanResultsUrl gets a reference to the given string and assigns it to the VulnerabilityScanResultsUrl field. +func (o *DockerPackageUploadResponse) SetVulnerabilityScanResultsUrl(v string) { + o.VulnerabilityScanResultsUrl = &v +} + +func (o DockerPackageUploadResponse) MarshalJSON() ([]byte, error) { + toSerialize := map[string]interface{}{} + if !isNil(o.Architectures) { + toSerialize["architectures"] = o.Architectures + } + if o.CdnUrl.IsSet() { + toSerialize["cdn_url"] = o.CdnUrl.Get() + } + if !isNil(o.ChecksumMd5) { + toSerialize["checksum_md5"] = o.ChecksumMd5 + } + if !isNil(o.ChecksumSha1) { + toSerialize["checksum_sha1"] = o.ChecksumSha1 + } + if !isNil(o.ChecksumSha256) { + toSerialize["checksum_sha256"] = o.ChecksumSha256 + } + if !isNil(o.ChecksumSha512) { + toSerialize["checksum_sha512"] = o.ChecksumSha512 + } + if !isNil(o.DependenciesChecksumMd5) { + toSerialize["dependencies_checksum_md5"] = o.DependenciesChecksumMd5 + } + if !isNil(o.DependenciesUrl) { + toSerialize["dependencies_url"] = o.DependenciesUrl + } + if !isNil(o.Description) { + toSerialize["description"] = o.Description + } + if o.Distro.IsSet() { + toSerialize["distro"] = o.Distro.Get() + } + if !isNil(o.DistroVersion) { + toSerialize["distro_version"] = o.DistroVersion + } + if !isNil(o.Downloads) { + toSerialize["downloads"] = o.Downloads + } + if !isNil(o.Epoch) { + toSerialize["epoch"] = o.Epoch + } + if !isNil(o.Extension) { + toSerialize["extension"] = o.Extension + } + if !isNil(o.Filename) { + toSerialize["filename"] = o.Filename + } + if !isNil(o.Files) { + toSerialize["files"] = o.Files + } + if !isNil(o.Format) { + toSerialize["format"] = o.Format + } + if !isNil(o.FormatUrl) { + toSerialize["format_url"] = o.FormatUrl + } + if !isNil(o.IdentifierPerm) { + toSerialize["identifier_perm"] = o.IdentifierPerm + } + if !isNil(o.Indexed) { + toSerialize["indexed"] = o.Indexed + } + if !isNil(o.IsDownloadable) { + toSerialize["is_downloadable"] = o.IsDownloadable + } + if !isNil(o.IsQuarantined) { + toSerialize["is_quarantined"] = o.IsQuarantined + } + if !isNil(o.IsSyncAwaiting) { + toSerialize["is_sync_awaiting"] = o.IsSyncAwaiting + } + if !isNil(o.IsSyncCompleted) { + toSerialize["is_sync_completed"] = o.IsSyncCompleted + } + if !isNil(o.IsSyncFailed) { + toSerialize["is_sync_failed"] = o.IsSyncFailed + } + if !isNil(o.IsSyncInFlight) { + toSerialize["is_sync_in_flight"] = o.IsSyncInFlight + } + if !isNil(o.IsSyncInProgress) { + toSerialize["is_sync_in_progress"] = o.IsSyncInProgress + } + if !isNil(o.License) { + toSerialize["license"] = o.License + } + if !isNil(o.Name) { + toSerialize["name"] = o.Name + } + if !isNil(o.Namespace) { + toSerialize["namespace"] = o.Namespace + } + if !isNil(o.NamespaceUrl) { + toSerialize["namespace_url"] = o.NamespaceUrl + } + if !isNil(o.NumFiles) { + toSerialize["num_files"] = o.NumFiles + } + if !isNil(o.OriginRepository) { + toSerialize["origin_repository"] = o.OriginRepository + } + if !isNil(o.OriginRepositoryUrl) { + toSerialize["origin_repository_url"] = o.OriginRepositoryUrl + } + if !isNil(o.PackageType) { + toSerialize["package_type"] = o.PackageType + } + if !isNil(o.Release) { + toSerialize["release"] = o.Release + } + if !isNil(o.Repository) { + toSerialize["repository"] = o.Repository + } + if !isNil(o.RepositoryUrl) { + toSerialize["repository_url"] = o.RepositoryUrl + } + if !isNil(o.SecurityScanCompletedAt) { + toSerialize["security_scan_completed_at"] = o.SecurityScanCompletedAt + } + if !isNil(o.SecurityScanStartedAt) { + toSerialize["security_scan_started_at"] = o.SecurityScanStartedAt + } + if o.SecurityScanStatus.IsSet() { + toSerialize["security_scan_status"] = o.SecurityScanStatus.Get() + } + if !isNil(o.SecurityScanStatusUpdatedAt) { + toSerialize["security_scan_status_updated_at"] = o.SecurityScanStatusUpdatedAt + } + if !isNil(o.SelfHtmlUrl) { + toSerialize["self_html_url"] = o.SelfHtmlUrl + } + if !isNil(o.SelfUrl) { + toSerialize["self_url"] = o.SelfUrl + } + if o.SignatureUrl.IsSet() { + toSerialize["signature_url"] = o.SignatureUrl.Get() + } + if !isNil(o.Size) { + toSerialize["size"] = o.Size + } + if !isNil(o.Slug) { + toSerialize["slug"] = o.Slug + } + if !isNil(o.SlugPerm) { + toSerialize["slug_perm"] = o.SlugPerm + } + if !isNil(o.Stage) { + toSerialize["stage"] = o.Stage + } + if !isNil(o.StageStr) { + toSerialize["stage_str"] = o.StageStr + } + if !isNil(o.StageUpdatedAt) { + toSerialize["stage_updated_at"] = o.StageUpdatedAt + } + if !isNil(o.Status) { + toSerialize["status"] = o.Status + } + if !isNil(o.StatusReason) { + toSerialize["status_reason"] = o.StatusReason + } + if !isNil(o.StatusStr) { + toSerialize["status_str"] = o.StatusStr + } + if !isNil(o.StatusUpdatedAt) { + toSerialize["status_updated_at"] = o.StatusUpdatedAt + } + if !isNil(o.StatusUrl) { + toSerialize["status_url"] = o.StatusUrl + } + if !isNil(o.Subtype) { + toSerialize["subtype"] = o.Subtype + } + if !isNil(o.Summary) { + toSerialize["summary"] = o.Summary + } + if !isNil(o.SyncFinishedAt) { + toSerialize["sync_finished_at"] = o.SyncFinishedAt + } + if !isNil(o.SyncProgress) { + toSerialize["sync_progress"] = o.SyncProgress + } + if !isNil(o.TagsImmutable) { + toSerialize["tags_immutable"] = o.TagsImmutable + } + if !isNil(o.TypeDisplay) { + toSerialize["type_display"] = o.TypeDisplay + } + if !isNil(o.UploadedAt) { + toSerialize["uploaded_at"] = o.UploadedAt + } + if !isNil(o.Uploader) { + toSerialize["uploader"] = o.Uploader + } + if !isNil(o.UploaderUrl) { + toSerialize["uploader_url"] = o.UploaderUrl + } + if !isNil(o.Version) { + toSerialize["version"] = o.Version + } + if !isNil(o.VersionOrig) { + toSerialize["version_orig"] = o.VersionOrig + } + if !isNil(o.VulnerabilityScanResultsUrl) { + toSerialize["vulnerability_scan_results_url"] = o.VulnerabilityScanResultsUrl + } + return json.Marshal(toSerialize) +} + +type NullableDockerPackageUploadResponse struct { + value *DockerPackageUploadResponse + isSet bool +} + +func (v NullableDockerPackageUploadResponse) Get() *DockerPackageUploadResponse { + return v.value +} + +func (v *NullableDockerPackageUploadResponse) Set(val *DockerPackageUploadResponse) { + v.value = val + v.isSet = true +} + +func (v NullableDockerPackageUploadResponse) IsSet() bool { + return v.isSet +} + +func (v *NullableDockerPackageUploadResponse) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableDockerPackageUploadResponse(val *DockerPackageUploadResponse) *NullableDockerPackageUploadResponse { + return &NullableDockerPackageUploadResponse{value: val, isSet: true} +} + +func (v NullableDockerPackageUploadResponse) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableDockerPackageUploadResponse) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} diff --git a/model_entitlement_usage_metrics.go b/model_entitlement_usage_metrics.go deleted file mode 100644 index 5593f982..00000000 --- a/model_entitlement_usage_metrics.go +++ /dev/null @@ -1,108 +0,0 @@ -/* -Cloudsmith API - -The API to the Cloudsmith Service - -API version: 1.121.3 -Contact: support@cloudsmith.io -*/ - -// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. - -package cloudsmith - -import ( - "encoding/json" -) - -// EntitlementUsageMetrics struct for EntitlementUsageMetrics -type EntitlementUsageMetrics struct { - // - Tokens map[string]interface{} `json:"tokens"` -} - -// NewEntitlementUsageMetrics instantiates a new EntitlementUsageMetrics object -// 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 NewEntitlementUsageMetrics(tokens map[string]interface{}) *EntitlementUsageMetrics { - this := EntitlementUsageMetrics{} - this.Tokens = tokens - return &this -} - -// NewEntitlementUsageMetricsWithDefaults instantiates a new EntitlementUsageMetrics object -// This constructor will only assign default values to properties that have it defined, -// but it doesn't guarantee that properties required by API are set -func NewEntitlementUsageMetricsWithDefaults() *EntitlementUsageMetrics { - this := EntitlementUsageMetrics{} - return &this -} - -// GetTokens returns the Tokens field value -func (o *EntitlementUsageMetrics) GetTokens() map[string]interface{} { - if o == nil { - var ret map[string]interface{} - return ret - } - - return o.Tokens -} - -// GetTokensOk returns a tuple with the Tokens field value -// and a boolean to check if the value has been set. -func (o *EntitlementUsageMetrics) GetTokensOk() (map[string]interface{}, bool) { - if o == nil { - return nil, false - } - return o.Tokens, true -} - -// SetTokens sets field value -func (o *EntitlementUsageMetrics) SetTokens(v map[string]interface{}) { - o.Tokens = v -} - -func (o EntitlementUsageMetrics) MarshalJSON() ([]byte, error) { - toSerialize := map[string]interface{}{} - if true { - toSerialize["tokens"] = o.Tokens - } - return json.Marshal(toSerialize) -} - -type NullableEntitlementUsageMetrics struct { - value *EntitlementUsageMetrics - isSet bool -} - -func (v NullableEntitlementUsageMetrics) Get() *EntitlementUsageMetrics { - return v.value -} - -func (v *NullableEntitlementUsageMetrics) Set(val *EntitlementUsageMetrics) { - v.value = val - v.isSet = true -} - -func (v NullableEntitlementUsageMetrics) IsSet() bool { - return v.isSet -} - -func (v *NullableEntitlementUsageMetrics) Unset() { - v.value = nil - v.isSet = false -} - -func NewNullableEntitlementUsageMetrics(val *EntitlementUsageMetrics) *NullableEntitlementUsageMetrics { - return &NullableEntitlementUsageMetrics{value: val, isSet: true} -} - -func (v NullableEntitlementUsageMetrics) MarshalJSON() ([]byte, error) { - return json.Marshal(v.value) -} - -func (v *NullableEntitlementUsageMetrics) UnmarshalJSON(src []byte) error { - v.isSet = true - return json.Unmarshal(src, &v.value) -} diff --git a/model_entitlement_usage_metrics_response.go b/model_entitlement_usage_metrics_response.go new file mode 100644 index 00000000..062d59e0 --- /dev/null +++ b/model_entitlement_usage_metrics_response.go @@ -0,0 +1,107 @@ +/* +Cloudsmith API (v1) + +The API to the Cloudsmith Service + +API version: 1.181.6 +Contact: support@cloudsmith.io +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cloudsmith + +import ( + "encoding/json" +) + +// EntitlementUsageMetricsResponse struct for EntitlementUsageMetricsResponse +type EntitlementUsageMetricsResponse struct { + Tokens CommonMetrics `json:"tokens"` +} + +// NewEntitlementUsageMetricsResponse instantiates a new EntitlementUsageMetricsResponse object +// 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 NewEntitlementUsageMetricsResponse(tokens CommonMetrics) *EntitlementUsageMetricsResponse { + this := EntitlementUsageMetricsResponse{} + this.Tokens = tokens + return &this +} + +// NewEntitlementUsageMetricsResponseWithDefaults instantiates a new EntitlementUsageMetricsResponse object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewEntitlementUsageMetricsResponseWithDefaults() *EntitlementUsageMetricsResponse { + this := EntitlementUsageMetricsResponse{} + return &this +} + +// GetTokens returns the Tokens field value +func (o *EntitlementUsageMetricsResponse) GetTokens() CommonMetrics { + if o == nil { + var ret CommonMetrics + return ret + } + + return o.Tokens +} + +// GetTokensOk returns a tuple with the Tokens field value +// and a boolean to check if the value has been set. +func (o *EntitlementUsageMetricsResponse) GetTokensOk() (*CommonMetrics, bool) { + if o == nil { + return nil, false + } + return &o.Tokens, true +} + +// SetTokens sets field value +func (o *EntitlementUsageMetricsResponse) SetTokens(v CommonMetrics) { + o.Tokens = v +} + +func (o EntitlementUsageMetricsResponse) MarshalJSON() ([]byte, error) { + toSerialize := map[string]interface{}{} + if true { + toSerialize["tokens"] = o.Tokens + } + return json.Marshal(toSerialize) +} + +type NullableEntitlementUsageMetricsResponse struct { + value *EntitlementUsageMetricsResponse + isSet bool +} + +func (v NullableEntitlementUsageMetricsResponse) Get() *EntitlementUsageMetricsResponse { + return v.value +} + +func (v *NullableEntitlementUsageMetricsResponse) Set(val *EntitlementUsageMetricsResponse) { + v.value = val + v.isSet = true +} + +func (v NullableEntitlementUsageMetricsResponse) IsSet() bool { + return v.isSet +} + +func (v *NullableEntitlementUsageMetricsResponse) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableEntitlementUsageMetricsResponse(val *EntitlementUsageMetricsResponse) *NullableEntitlementUsageMetricsResponse { + return &NullableEntitlementUsageMetricsResponse{value: val, isSet: true} +} + +func (v NullableEntitlementUsageMetricsResponse) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableEntitlementUsageMetricsResponse) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} diff --git a/model_entitlements_create.go b/model_entitlements_create.go deleted file mode 100644 index b55c9f53..00000000 --- a/model_entitlements_create.go +++ /dev/null @@ -1,626 +0,0 @@ -/* -Cloudsmith API - -The API to the Cloudsmith Service - -API version: 1.121.3 -Contact: support@cloudsmith.io -*/ - -// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. - -package cloudsmith - -import ( - "encoding/json" -) - -// EntitlementsCreate struct for EntitlementsCreate -type EntitlementsCreate struct { - // If checked, a EULA acceptance is required for this token. - EulaRequired *bool `json:"eula_required,omitempty"` - // If enabled, the token will allow downloads based on configured restrictions (if any). - IsActive *bool `json:"is_active,omitempty"` - // The maximum download bandwidth allowed for the token. Values are expressed as the selected unit of bandwidth. Please note that since downloads are calculated asynchronously (after the download happens), the limit may not be imposed immediately but at a later point. - LimitBandwidth *int64 `json:"limit_bandwidth,omitempty"` - // None - LimitBandwidthUnit *string `json:"limit_bandwidth_unit,omitempty"` - // The starting date/time the token is allowed to be used from. - LimitDateRangeFrom *string `json:"limit_date_range_from,omitempty"` - // The ending date/time the token is allowed to be used until. - LimitDateRangeTo *string `json:"limit_date_range_to,omitempty"` - // The maximum number of unique clients allowed for the token. Please note that since clients are calculated asynchronously (after the download happens), the limit may not be imposed immediately but at a later point. - LimitNumClients *int64 `json:"limit_num_clients,omitempty"` - // The maximum number of downloads allowed for the token. Please note that since downloads are calculated asynchronously (after the download happens), the limit may not be imposed immediately but at a later point. - LimitNumDownloads *int64 `json:"limit_num_downloads,omitempty"` - // The package-based search query to apply to restrict downloads to. This uses the same syntax as the standard search used for repositories, and also supports boolean logic operators such as OR/AND/NOT and parentheses for grouping. This will still allow access to non-package files, such as metadata. - LimitPackageQuery *string `json:"limit_package_query,omitempty"` - // The path-based search query to apply to restrict downloads to. This supports boolean logic operators such as OR/AND/NOT and parentheses for grouping. The path evaluated does not include the domain name, the namespace, the entitlement code used, the package format, etc. and it always starts with a forward slash. - LimitPathQuery *string `json:"limit_path_query,omitempty"` - // None - Metadata map[string]interface{} `json:"metadata,omitempty"` - // None - Name string `json:"name"` - // The time at which the scheduled reset period has elapsed and the token limits were automatically reset to zero. - ScheduledResetAt *string `json:"scheduled_reset_at,omitempty"` - // None - ScheduledResetPeriod *string `json:"scheduled_reset_period,omitempty"` - // None - Token *string `json:"token,omitempty"` -} - -// NewEntitlementsCreate instantiates a new EntitlementsCreate object -// 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 NewEntitlementsCreate(name string) *EntitlementsCreate { - this := EntitlementsCreate{} - this.Name = name - return &this -} - -// NewEntitlementsCreateWithDefaults instantiates a new EntitlementsCreate object -// This constructor will only assign default values to properties that have it defined, -// but it doesn't guarantee that properties required by API are set -func NewEntitlementsCreateWithDefaults() *EntitlementsCreate { - this := EntitlementsCreate{} - return &this -} - -// GetEulaRequired returns the EulaRequired field value if set, zero value otherwise. -func (o *EntitlementsCreate) GetEulaRequired() bool { - if o == nil || o.EulaRequired == nil { - var ret bool - return ret - } - return *o.EulaRequired -} - -// GetEulaRequiredOk returns a tuple with the EulaRequired field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *EntitlementsCreate) GetEulaRequiredOk() (*bool, bool) { - if o == nil || o.EulaRequired == nil { - return nil, false - } - return o.EulaRequired, true -} - -// HasEulaRequired returns a boolean if a field has been set. -func (o *EntitlementsCreate) HasEulaRequired() bool { - if o != nil && o.EulaRequired != nil { - return true - } - - return false -} - -// SetEulaRequired gets a reference to the given bool and assigns it to the EulaRequired field. -func (o *EntitlementsCreate) SetEulaRequired(v bool) { - o.EulaRequired = &v -} - -// GetIsActive returns the IsActive field value if set, zero value otherwise. -func (o *EntitlementsCreate) GetIsActive() bool { - if o == nil || o.IsActive == nil { - var ret bool - return ret - } - return *o.IsActive -} - -// GetIsActiveOk returns a tuple with the IsActive field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *EntitlementsCreate) GetIsActiveOk() (*bool, bool) { - if o == nil || o.IsActive == nil { - return nil, false - } - return o.IsActive, true -} - -// HasIsActive returns a boolean if a field has been set. -func (o *EntitlementsCreate) HasIsActive() bool { - if o != nil && o.IsActive != nil { - return true - } - - return false -} - -// SetIsActive gets a reference to the given bool and assigns it to the IsActive field. -func (o *EntitlementsCreate) SetIsActive(v bool) { - o.IsActive = &v -} - -// GetLimitBandwidth returns the LimitBandwidth field value if set, zero value otherwise. -func (o *EntitlementsCreate) GetLimitBandwidth() int64 { - if o == nil || o.LimitBandwidth == nil { - var ret int64 - return ret - } - return *o.LimitBandwidth -} - -// GetLimitBandwidthOk returns a tuple with the LimitBandwidth field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *EntitlementsCreate) GetLimitBandwidthOk() (*int64, bool) { - if o == nil || o.LimitBandwidth == nil { - return nil, false - } - return o.LimitBandwidth, true -} - -// HasLimitBandwidth returns a boolean if a field has been set. -func (o *EntitlementsCreate) HasLimitBandwidth() bool { - if o != nil && o.LimitBandwidth != nil { - return true - } - - return false -} - -// SetLimitBandwidth gets a reference to the given int64 and assigns it to the LimitBandwidth field. -func (o *EntitlementsCreate) SetLimitBandwidth(v int64) { - o.LimitBandwidth = &v -} - -// GetLimitBandwidthUnit returns the LimitBandwidthUnit field value if set, zero value otherwise. -func (o *EntitlementsCreate) GetLimitBandwidthUnit() string { - if o == nil || o.LimitBandwidthUnit == nil { - var ret string - return ret - } - return *o.LimitBandwidthUnit -} - -// GetLimitBandwidthUnitOk returns a tuple with the LimitBandwidthUnit field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *EntitlementsCreate) GetLimitBandwidthUnitOk() (*string, bool) { - if o == nil || o.LimitBandwidthUnit == nil { - return nil, false - } - return o.LimitBandwidthUnit, true -} - -// HasLimitBandwidthUnit returns a boolean if a field has been set. -func (o *EntitlementsCreate) HasLimitBandwidthUnit() bool { - if o != nil && o.LimitBandwidthUnit != nil { - return true - } - - return false -} - -// SetLimitBandwidthUnit gets a reference to the given string and assigns it to the LimitBandwidthUnit field. -func (o *EntitlementsCreate) SetLimitBandwidthUnit(v string) { - o.LimitBandwidthUnit = &v -} - -// GetLimitDateRangeFrom returns the LimitDateRangeFrom field value if set, zero value otherwise. -func (o *EntitlementsCreate) GetLimitDateRangeFrom() string { - if o == nil || o.LimitDateRangeFrom == nil { - var ret string - return ret - } - return *o.LimitDateRangeFrom -} - -// GetLimitDateRangeFromOk returns a tuple with the LimitDateRangeFrom field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *EntitlementsCreate) GetLimitDateRangeFromOk() (*string, bool) { - if o == nil || o.LimitDateRangeFrom == nil { - return nil, false - } - return o.LimitDateRangeFrom, true -} - -// HasLimitDateRangeFrom returns a boolean if a field has been set. -func (o *EntitlementsCreate) HasLimitDateRangeFrom() bool { - if o != nil && o.LimitDateRangeFrom != nil { - return true - } - - return false -} - -// SetLimitDateRangeFrom gets a reference to the given string and assigns it to the LimitDateRangeFrom field. -func (o *EntitlementsCreate) SetLimitDateRangeFrom(v string) { - o.LimitDateRangeFrom = &v -} - -// GetLimitDateRangeTo returns the LimitDateRangeTo field value if set, zero value otherwise. -func (o *EntitlementsCreate) GetLimitDateRangeTo() string { - if o == nil || o.LimitDateRangeTo == nil { - var ret string - return ret - } - return *o.LimitDateRangeTo -} - -// GetLimitDateRangeToOk returns a tuple with the LimitDateRangeTo field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *EntitlementsCreate) GetLimitDateRangeToOk() (*string, bool) { - if o == nil || o.LimitDateRangeTo == nil { - return nil, false - } - return o.LimitDateRangeTo, true -} - -// HasLimitDateRangeTo returns a boolean if a field has been set. -func (o *EntitlementsCreate) HasLimitDateRangeTo() bool { - if o != nil && o.LimitDateRangeTo != nil { - return true - } - - return false -} - -// SetLimitDateRangeTo gets a reference to the given string and assigns it to the LimitDateRangeTo field. -func (o *EntitlementsCreate) SetLimitDateRangeTo(v string) { - o.LimitDateRangeTo = &v -} - -// GetLimitNumClients returns the LimitNumClients field value if set, zero value otherwise. -func (o *EntitlementsCreate) GetLimitNumClients() int64 { - if o == nil || o.LimitNumClients == nil { - var ret int64 - return ret - } - return *o.LimitNumClients -} - -// GetLimitNumClientsOk returns a tuple with the LimitNumClients field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *EntitlementsCreate) GetLimitNumClientsOk() (*int64, bool) { - if o == nil || o.LimitNumClients == nil { - return nil, false - } - return o.LimitNumClients, true -} - -// HasLimitNumClients returns a boolean if a field has been set. -func (o *EntitlementsCreate) HasLimitNumClients() bool { - if o != nil && o.LimitNumClients != nil { - return true - } - - return false -} - -// SetLimitNumClients gets a reference to the given int64 and assigns it to the LimitNumClients field. -func (o *EntitlementsCreate) SetLimitNumClients(v int64) { - o.LimitNumClients = &v -} - -// GetLimitNumDownloads returns the LimitNumDownloads field value if set, zero value otherwise. -func (o *EntitlementsCreate) GetLimitNumDownloads() int64 { - if o == nil || o.LimitNumDownloads == nil { - var ret int64 - return ret - } - return *o.LimitNumDownloads -} - -// GetLimitNumDownloadsOk returns a tuple with the LimitNumDownloads field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *EntitlementsCreate) GetLimitNumDownloadsOk() (*int64, bool) { - if o == nil || o.LimitNumDownloads == nil { - return nil, false - } - return o.LimitNumDownloads, true -} - -// HasLimitNumDownloads returns a boolean if a field has been set. -func (o *EntitlementsCreate) HasLimitNumDownloads() bool { - if o != nil && o.LimitNumDownloads != nil { - return true - } - - return false -} - -// SetLimitNumDownloads gets a reference to the given int64 and assigns it to the LimitNumDownloads field. -func (o *EntitlementsCreate) SetLimitNumDownloads(v int64) { - o.LimitNumDownloads = &v -} - -// GetLimitPackageQuery returns the LimitPackageQuery field value if set, zero value otherwise. -func (o *EntitlementsCreate) GetLimitPackageQuery() string { - if o == nil || o.LimitPackageQuery == nil { - var ret string - return ret - } - return *o.LimitPackageQuery -} - -// GetLimitPackageQueryOk returns a tuple with the LimitPackageQuery field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *EntitlementsCreate) GetLimitPackageQueryOk() (*string, bool) { - if o == nil || o.LimitPackageQuery == nil { - return nil, false - } - return o.LimitPackageQuery, true -} - -// HasLimitPackageQuery returns a boolean if a field has been set. -func (o *EntitlementsCreate) HasLimitPackageQuery() bool { - if o != nil && o.LimitPackageQuery != nil { - return true - } - - return false -} - -// SetLimitPackageQuery gets a reference to the given string and assigns it to the LimitPackageQuery field. -func (o *EntitlementsCreate) SetLimitPackageQuery(v string) { - o.LimitPackageQuery = &v -} - -// GetLimitPathQuery returns the LimitPathQuery field value if set, zero value otherwise. -func (o *EntitlementsCreate) GetLimitPathQuery() string { - if o == nil || o.LimitPathQuery == nil { - var ret string - return ret - } - return *o.LimitPathQuery -} - -// GetLimitPathQueryOk returns a tuple with the LimitPathQuery field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *EntitlementsCreate) GetLimitPathQueryOk() (*string, bool) { - if o == nil || o.LimitPathQuery == nil { - return nil, false - } - return o.LimitPathQuery, true -} - -// HasLimitPathQuery returns a boolean if a field has been set. -func (o *EntitlementsCreate) HasLimitPathQuery() bool { - if o != nil && o.LimitPathQuery != nil { - return true - } - - return false -} - -// SetLimitPathQuery gets a reference to the given string and assigns it to the LimitPathQuery field. -func (o *EntitlementsCreate) SetLimitPathQuery(v string) { - o.LimitPathQuery = &v -} - -// GetMetadata returns the Metadata field value if set, zero value otherwise. -func (o *EntitlementsCreate) GetMetadata() map[string]interface{} { - if o == nil || o.Metadata == nil { - var ret map[string]interface{} - return ret - } - return o.Metadata -} - -// GetMetadataOk returns a tuple with the Metadata field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *EntitlementsCreate) GetMetadataOk() (map[string]interface{}, bool) { - if o == nil || o.Metadata == nil { - return nil, false - } - return o.Metadata, true -} - -// HasMetadata returns a boolean if a field has been set. -func (o *EntitlementsCreate) HasMetadata() bool { - if o != nil && o.Metadata != nil { - return true - } - - return false -} - -// SetMetadata gets a reference to the given map[string]interface{} and assigns it to the Metadata field. -func (o *EntitlementsCreate) SetMetadata(v map[string]interface{}) { - o.Metadata = v -} - -// GetName returns the Name field value -func (o *EntitlementsCreate) GetName() string { - if o == nil { - var ret string - return ret - } - - return o.Name -} - -// GetNameOk returns a tuple with the Name field value -// and a boolean to check if the value has been set. -func (o *EntitlementsCreate) GetNameOk() (*string, bool) { - if o == nil { - return nil, false - } - return &o.Name, true -} - -// SetName sets field value -func (o *EntitlementsCreate) SetName(v string) { - o.Name = v -} - -// GetScheduledResetAt returns the ScheduledResetAt field value if set, zero value otherwise. -func (o *EntitlementsCreate) GetScheduledResetAt() string { - if o == nil || o.ScheduledResetAt == nil { - var ret string - return ret - } - return *o.ScheduledResetAt -} - -// GetScheduledResetAtOk returns a tuple with the ScheduledResetAt field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *EntitlementsCreate) GetScheduledResetAtOk() (*string, bool) { - if o == nil || o.ScheduledResetAt == nil { - return nil, false - } - return o.ScheduledResetAt, true -} - -// HasScheduledResetAt returns a boolean if a field has been set. -func (o *EntitlementsCreate) HasScheduledResetAt() bool { - if o != nil && o.ScheduledResetAt != nil { - return true - } - - return false -} - -// SetScheduledResetAt gets a reference to the given string and assigns it to the ScheduledResetAt field. -func (o *EntitlementsCreate) SetScheduledResetAt(v string) { - o.ScheduledResetAt = &v -} - -// GetScheduledResetPeriod returns the ScheduledResetPeriod field value if set, zero value otherwise. -func (o *EntitlementsCreate) GetScheduledResetPeriod() string { - if o == nil || o.ScheduledResetPeriod == nil { - var ret string - return ret - } - return *o.ScheduledResetPeriod -} - -// GetScheduledResetPeriodOk returns a tuple with the ScheduledResetPeriod field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *EntitlementsCreate) GetScheduledResetPeriodOk() (*string, bool) { - if o == nil || o.ScheduledResetPeriod == nil { - return nil, false - } - return o.ScheduledResetPeriod, true -} - -// HasScheduledResetPeriod returns a boolean if a field has been set. -func (o *EntitlementsCreate) HasScheduledResetPeriod() bool { - if o != nil && o.ScheduledResetPeriod != nil { - return true - } - - return false -} - -// SetScheduledResetPeriod gets a reference to the given string and assigns it to the ScheduledResetPeriod field. -func (o *EntitlementsCreate) SetScheduledResetPeriod(v string) { - o.ScheduledResetPeriod = &v -} - -// GetToken returns the Token field value if set, zero value otherwise. -func (o *EntitlementsCreate) GetToken() string { - if o == nil || o.Token == nil { - var ret string - return ret - } - return *o.Token -} - -// GetTokenOk returns a tuple with the Token field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *EntitlementsCreate) GetTokenOk() (*string, bool) { - if o == nil || o.Token == nil { - return nil, false - } - return o.Token, true -} - -// HasToken returns a boolean if a field has been set. -func (o *EntitlementsCreate) HasToken() bool { - if o != nil && o.Token != nil { - return true - } - - return false -} - -// SetToken gets a reference to the given string and assigns it to the Token field. -func (o *EntitlementsCreate) SetToken(v string) { - o.Token = &v -} - -func (o EntitlementsCreate) MarshalJSON() ([]byte, error) { - toSerialize := map[string]interface{}{} - if o.EulaRequired != nil { - toSerialize["eula_required"] = o.EulaRequired - } - if o.IsActive != nil { - toSerialize["is_active"] = o.IsActive - } - if o.LimitBandwidth != nil { - toSerialize["limit_bandwidth"] = o.LimitBandwidth - } - if o.LimitBandwidthUnit != nil { - toSerialize["limit_bandwidth_unit"] = o.LimitBandwidthUnit - } - if o.LimitDateRangeFrom != nil { - toSerialize["limit_date_range_from"] = o.LimitDateRangeFrom - } - if o.LimitDateRangeTo != nil { - toSerialize["limit_date_range_to"] = o.LimitDateRangeTo - } - if o.LimitNumClients != nil { - toSerialize["limit_num_clients"] = o.LimitNumClients - } - if o.LimitNumDownloads != nil { - toSerialize["limit_num_downloads"] = o.LimitNumDownloads - } - if o.LimitPackageQuery != nil { - toSerialize["limit_package_query"] = o.LimitPackageQuery - } - if o.LimitPathQuery != nil { - toSerialize["limit_path_query"] = o.LimitPathQuery - } - if o.Metadata != nil { - toSerialize["metadata"] = o.Metadata - } - if true { - toSerialize["name"] = o.Name - } - if o.ScheduledResetAt != nil { - toSerialize["scheduled_reset_at"] = o.ScheduledResetAt - } - if o.ScheduledResetPeriod != nil { - toSerialize["scheduled_reset_period"] = o.ScheduledResetPeriod - } - if o.Token != nil { - toSerialize["token"] = o.Token - } - return json.Marshal(toSerialize) -} - -type NullableEntitlementsCreate struct { - value *EntitlementsCreate - isSet bool -} - -func (v NullableEntitlementsCreate) Get() *EntitlementsCreate { - return v.value -} - -func (v *NullableEntitlementsCreate) Set(val *EntitlementsCreate) { - v.value = val - v.isSet = true -} - -func (v NullableEntitlementsCreate) IsSet() bool { - return v.isSet -} - -func (v *NullableEntitlementsCreate) Unset() { - v.value = nil - v.isSet = false -} - -func NewNullableEntitlementsCreate(val *EntitlementsCreate) *NullableEntitlementsCreate { - return &NullableEntitlementsCreate{value: val, isSet: true} -} - -func (v NullableEntitlementsCreate) MarshalJSON() ([]byte, error) { - return json.Marshal(v.value) -} - -func (v *NullableEntitlementsCreate) UnmarshalJSON(src []byte) error { - v.isSet = true - return json.Unmarshal(src, &v.value) -} diff --git a/model_entitlements_partial_update.go b/model_entitlements_partial_update.go deleted file mode 100644 index 7542e837..00000000 --- a/model_entitlements_partial_update.go +++ /dev/null @@ -1,633 +0,0 @@ -/* -Cloudsmith API - -The API to the Cloudsmith Service - -API version: 1.121.3 -Contact: support@cloudsmith.io -*/ - -// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. - -package cloudsmith - -import ( - "encoding/json" -) - -// EntitlementsPartialUpdate struct for EntitlementsPartialUpdate -type EntitlementsPartialUpdate struct { - // If checked, a EULA acceptance is required for this token. - EulaRequired *bool `json:"eula_required,omitempty"` - // If enabled, the token will allow downloads based on configured restrictions (if any). - IsActive *bool `json:"is_active,omitempty"` - // The maximum download bandwidth allowed for the token. Values are expressed as the selected unit of bandwidth. Please note that since downloads are calculated asynchronously (after the download happens), the limit may not be imposed immediately but at a later point. - LimitBandwidth *int64 `json:"limit_bandwidth,omitempty"` - // None - LimitBandwidthUnit *string `json:"limit_bandwidth_unit,omitempty"` - // The starting date/time the token is allowed to be used from. - LimitDateRangeFrom *string `json:"limit_date_range_from,omitempty"` - // The ending date/time the token is allowed to be used until. - LimitDateRangeTo *string `json:"limit_date_range_to,omitempty"` - // The maximum number of unique clients allowed for the token. Please note that since clients are calculated asynchronously (after the download happens), the limit may not be imposed immediately but at a later point. - LimitNumClients *int64 `json:"limit_num_clients,omitempty"` - // The maximum number of downloads allowed for the token. Please note that since downloads are calculated asynchronously (after the download happens), the limit may not be imposed immediately but at a later point. - LimitNumDownloads *int64 `json:"limit_num_downloads,omitempty"` - // The package-based search query to apply to restrict downloads to. This uses the same syntax as the standard search used for repositories, and also supports boolean logic operators such as OR/AND/NOT and parentheses for grouping. This will still allow access to non-package files, such as metadata. - LimitPackageQuery *string `json:"limit_package_query,omitempty"` - // The path-based search query to apply to restrict downloads to. This supports boolean logic operators such as OR/AND/NOT and parentheses for grouping. The path evaluated does not include the domain name, the namespace, the entitlement code used, the package format, etc. and it always starts with a forward slash. - LimitPathQuery *string `json:"limit_path_query,omitempty"` - // None - Metadata map[string]interface{} `json:"metadata,omitempty"` - // None - Name *string `json:"name,omitempty"` - // The time at which the scheduled reset period has elapsed and the token limits were automatically reset to zero. - ScheduledResetAt *string `json:"scheduled_reset_at,omitempty"` - // None - ScheduledResetPeriod *string `json:"scheduled_reset_period,omitempty"` - // None - Token *string `json:"token,omitempty"` -} - -// NewEntitlementsPartialUpdate instantiates a new EntitlementsPartialUpdate object -// 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 NewEntitlementsPartialUpdate() *EntitlementsPartialUpdate { - this := EntitlementsPartialUpdate{} - return &this -} - -// NewEntitlementsPartialUpdateWithDefaults instantiates a new EntitlementsPartialUpdate object -// This constructor will only assign default values to properties that have it defined, -// but it doesn't guarantee that properties required by API are set -func NewEntitlementsPartialUpdateWithDefaults() *EntitlementsPartialUpdate { - this := EntitlementsPartialUpdate{} - return &this -} - -// GetEulaRequired returns the EulaRequired field value if set, zero value otherwise. -func (o *EntitlementsPartialUpdate) GetEulaRequired() bool { - if o == nil || o.EulaRequired == nil { - var ret bool - return ret - } - return *o.EulaRequired -} - -// GetEulaRequiredOk returns a tuple with the EulaRequired field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *EntitlementsPartialUpdate) GetEulaRequiredOk() (*bool, bool) { - if o == nil || o.EulaRequired == nil { - return nil, false - } - return o.EulaRequired, true -} - -// HasEulaRequired returns a boolean if a field has been set. -func (o *EntitlementsPartialUpdate) HasEulaRequired() bool { - if o != nil && o.EulaRequired != nil { - return true - } - - return false -} - -// SetEulaRequired gets a reference to the given bool and assigns it to the EulaRequired field. -func (o *EntitlementsPartialUpdate) SetEulaRequired(v bool) { - o.EulaRequired = &v -} - -// GetIsActive returns the IsActive field value if set, zero value otherwise. -func (o *EntitlementsPartialUpdate) GetIsActive() bool { - if o == nil || o.IsActive == nil { - var ret bool - return ret - } - return *o.IsActive -} - -// GetIsActiveOk returns a tuple with the IsActive field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *EntitlementsPartialUpdate) GetIsActiveOk() (*bool, bool) { - if o == nil || o.IsActive == nil { - return nil, false - } - return o.IsActive, true -} - -// HasIsActive returns a boolean if a field has been set. -func (o *EntitlementsPartialUpdate) HasIsActive() bool { - if o != nil && o.IsActive != nil { - return true - } - - return false -} - -// SetIsActive gets a reference to the given bool and assigns it to the IsActive field. -func (o *EntitlementsPartialUpdate) SetIsActive(v bool) { - o.IsActive = &v -} - -// GetLimitBandwidth returns the LimitBandwidth field value if set, zero value otherwise. -func (o *EntitlementsPartialUpdate) GetLimitBandwidth() int64 { - if o == nil || o.LimitBandwidth == nil { - var ret int64 - return ret - } - return *o.LimitBandwidth -} - -// GetLimitBandwidthOk returns a tuple with the LimitBandwidth field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *EntitlementsPartialUpdate) GetLimitBandwidthOk() (*int64, bool) { - if o == nil || o.LimitBandwidth == nil { - return nil, false - } - return o.LimitBandwidth, true -} - -// HasLimitBandwidth returns a boolean if a field has been set. -func (o *EntitlementsPartialUpdate) HasLimitBandwidth() bool { - if o != nil && o.LimitBandwidth != nil { - return true - } - - return false -} - -// SetLimitBandwidth gets a reference to the given int64 and assigns it to the LimitBandwidth field. -func (o *EntitlementsPartialUpdate) SetLimitBandwidth(v int64) { - o.LimitBandwidth = &v -} - -// GetLimitBandwidthUnit returns the LimitBandwidthUnit field value if set, zero value otherwise. -func (o *EntitlementsPartialUpdate) GetLimitBandwidthUnit() string { - if o == nil || o.LimitBandwidthUnit == nil { - var ret string - return ret - } - return *o.LimitBandwidthUnit -} - -// GetLimitBandwidthUnitOk returns a tuple with the LimitBandwidthUnit field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *EntitlementsPartialUpdate) GetLimitBandwidthUnitOk() (*string, bool) { - if o == nil || o.LimitBandwidthUnit == nil { - return nil, false - } - return o.LimitBandwidthUnit, true -} - -// HasLimitBandwidthUnit returns a boolean if a field has been set. -func (o *EntitlementsPartialUpdate) HasLimitBandwidthUnit() bool { - if o != nil && o.LimitBandwidthUnit != nil { - return true - } - - return false -} - -// SetLimitBandwidthUnit gets a reference to the given string and assigns it to the LimitBandwidthUnit field. -func (o *EntitlementsPartialUpdate) SetLimitBandwidthUnit(v string) { - o.LimitBandwidthUnit = &v -} - -// GetLimitDateRangeFrom returns the LimitDateRangeFrom field value if set, zero value otherwise. -func (o *EntitlementsPartialUpdate) GetLimitDateRangeFrom() string { - if o == nil || o.LimitDateRangeFrom == nil { - var ret string - return ret - } - return *o.LimitDateRangeFrom -} - -// GetLimitDateRangeFromOk returns a tuple with the LimitDateRangeFrom field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *EntitlementsPartialUpdate) GetLimitDateRangeFromOk() (*string, bool) { - if o == nil || o.LimitDateRangeFrom == nil { - return nil, false - } - return o.LimitDateRangeFrom, true -} - -// HasLimitDateRangeFrom returns a boolean if a field has been set. -func (o *EntitlementsPartialUpdate) HasLimitDateRangeFrom() bool { - if o != nil && o.LimitDateRangeFrom != nil { - return true - } - - return false -} - -// SetLimitDateRangeFrom gets a reference to the given string and assigns it to the LimitDateRangeFrom field. -func (o *EntitlementsPartialUpdate) SetLimitDateRangeFrom(v string) { - o.LimitDateRangeFrom = &v -} - -// GetLimitDateRangeTo returns the LimitDateRangeTo field value if set, zero value otherwise. -func (o *EntitlementsPartialUpdate) GetLimitDateRangeTo() string { - if o == nil || o.LimitDateRangeTo == nil { - var ret string - return ret - } - return *o.LimitDateRangeTo -} - -// GetLimitDateRangeToOk returns a tuple with the LimitDateRangeTo field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *EntitlementsPartialUpdate) GetLimitDateRangeToOk() (*string, bool) { - if o == nil || o.LimitDateRangeTo == nil { - return nil, false - } - return o.LimitDateRangeTo, true -} - -// HasLimitDateRangeTo returns a boolean if a field has been set. -func (o *EntitlementsPartialUpdate) HasLimitDateRangeTo() bool { - if o != nil && o.LimitDateRangeTo != nil { - return true - } - - return false -} - -// SetLimitDateRangeTo gets a reference to the given string and assigns it to the LimitDateRangeTo field. -func (o *EntitlementsPartialUpdate) SetLimitDateRangeTo(v string) { - o.LimitDateRangeTo = &v -} - -// GetLimitNumClients returns the LimitNumClients field value if set, zero value otherwise. -func (o *EntitlementsPartialUpdate) GetLimitNumClients() int64 { - if o == nil || o.LimitNumClients == nil { - var ret int64 - return ret - } - return *o.LimitNumClients -} - -// GetLimitNumClientsOk returns a tuple with the LimitNumClients field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *EntitlementsPartialUpdate) GetLimitNumClientsOk() (*int64, bool) { - if o == nil || o.LimitNumClients == nil { - return nil, false - } - return o.LimitNumClients, true -} - -// HasLimitNumClients returns a boolean if a field has been set. -func (o *EntitlementsPartialUpdate) HasLimitNumClients() bool { - if o != nil && o.LimitNumClients != nil { - return true - } - - return false -} - -// SetLimitNumClients gets a reference to the given int64 and assigns it to the LimitNumClients field. -func (o *EntitlementsPartialUpdate) SetLimitNumClients(v int64) { - o.LimitNumClients = &v -} - -// GetLimitNumDownloads returns the LimitNumDownloads field value if set, zero value otherwise. -func (o *EntitlementsPartialUpdate) GetLimitNumDownloads() int64 { - if o == nil || o.LimitNumDownloads == nil { - var ret int64 - return ret - } - return *o.LimitNumDownloads -} - -// GetLimitNumDownloadsOk returns a tuple with the LimitNumDownloads field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *EntitlementsPartialUpdate) GetLimitNumDownloadsOk() (*int64, bool) { - if o == nil || o.LimitNumDownloads == nil { - return nil, false - } - return o.LimitNumDownloads, true -} - -// HasLimitNumDownloads returns a boolean if a field has been set. -func (o *EntitlementsPartialUpdate) HasLimitNumDownloads() bool { - if o != nil && o.LimitNumDownloads != nil { - return true - } - - return false -} - -// SetLimitNumDownloads gets a reference to the given int64 and assigns it to the LimitNumDownloads field. -func (o *EntitlementsPartialUpdate) SetLimitNumDownloads(v int64) { - o.LimitNumDownloads = &v -} - -// GetLimitPackageQuery returns the LimitPackageQuery field value if set, zero value otherwise. -func (o *EntitlementsPartialUpdate) GetLimitPackageQuery() string { - if o == nil || o.LimitPackageQuery == nil { - var ret string - return ret - } - return *o.LimitPackageQuery -} - -// GetLimitPackageQueryOk returns a tuple with the LimitPackageQuery field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *EntitlementsPartialUpdate) GetLimitPackageQueryOk() (*string, bool) { - if o == nil || o.LimitPackageQuery == nil { - return nil, false - } - return o.LimitPackageQuery, true -} - -// HasLimitPackageQuery returns a boolean if a field has been set. -func (o *EntitlementsPartialUpdate) HasLimitPackageQuery() bool { - if o != nil && o.LimitPackageQuery != nil { - return true - } - - return false -} - -// SetLimitPackageQuery gets a reference to the given string and assigns it to the LimitPackageQuery field. -func (o *EntitlementsPartialUpdate) SetLimitPackageQuery(v string) { - o.LimitPackageQuery = &v -} - -// GetLimitPathQuery returns the LimitPathQuery field value if set, zero value otherwise. -func (o *EntitlementsPartialUpdate) GetLimitPathQuery() string { - if o == nil || o.LimitPathQuery == nil { - var ret string - return ret - } - return *o.LimitPathQuery -} - -// GetLimitPathQueryOk returns a tuple with the LimitPathQuery field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *EntitlementsPartialUpdate) GetLimitPathQueryOk() (*string, bool) { - if o == nil || o.LimitPathQuery == nil { - return nil, false - } - return o.LimitPathQuery, true -} - -// HasLimitPathQuery returns a boolean if a field has been set. -func (o *EntitlementsPartialUpdate) HasLimitPathQuery() bool { - if o != nil && o.LimitPathQuery != nil { - return true - } - - return false -} - -// SetLimitPathQuery gets a reference to the given string and assigns it to the LimitPathQuery field. -func (o *EntitlementsPartialUpdate) SetLimitPathQuery(v string) { - o.LimitPathQuery = &v -} - -// GetMetadata returns the Metadata field value if set, zero value otherwise. -func (o *EntitlementsPartialUpdate) GetMetadata() map[string]interface{} { - if o == nil || o.Metadata == nil { - var ret map[string]interface{} - return ret - } - return o.Metadata -} - -// GetMetadataOk returns a tuple with the Metadata field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *EntitlementsPartialUpdate) GetMetadataOk() (map[string]interface{}, bool) { - if o == nil || o.Metadata == nil { - return nil, false - } - return o.Metadata, true -} - -// HasMetadata returns a boolean if a field has been set. -func (o *EntitlementsPartialUpdate) HasMetadata() bool { - if o != nil && o.Metadata != nil { - return true - } - - return false -} - -// SetMetadata gets a reference to the given map[string]interface{} and assigns it to the Metadata field. -func (o *EntitlementsPartialUpdate) SetMetadata(v map[string]interface{}) { - o.Metadata = v -} - -// GetName returns the Name field value if set, zero value otherwise. -func (o *EntitlementsPartialUpdate) GetName() string { - if o == nil || o.Name == nil { - var ret string - return ret - } - return *o.Name -} - -// GetNameOk returns a tuple with the Name field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *EntitlementsPartialUpdate) GetNameOk() (*string, bool) { - if o == nil || o.Name == nil { - return nil, false - } - return o.Name, true -} - -// HasName returns a boolean if a field has been set. -func (o *EntitlementsPartialUpdate) HasName() bool { - if o != nil && o.Name != nil { - return true - } - - return false -} - -// SetName gets a reference to the given string and assigns it to the Name field. -func (o *EntitlementsPartialUpdate) SetName(v string) { - o.Name = &v -} - -// GetScheduledResetAt returns the ScheduledResetAt field value if set, zero value otherwise. -func (o *EntitlementsPartialUpdate) GetScheduledResetAt() string { - if o == nil || o.ScheduledResetAt == nil { - var ret string - return ret - } - return *o.ScheduledResetAt -} - -// GetScheduledResetAtOk returns a tuple with the ScheduledResetAt field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *EntitlementsPartialUpdate) GetScheduledResetAtOk() (*string, bool) { - if o == nil || o.ScheduledResetAt == nil { - return nil, false - } - return o.ScheduledResetAt, true -} - -// HasScheduledResetAt returns a boolean if a field has been set. -func (o *EntitlementsPartialUpdate) HasScheduledResetAt() bool { - if o != nil && o.ScheduledResetAt != nil { - return true - } - - return false -} - -// SetScheduledResetAt gets a reference to the given string and assigns it to the ScheduledResetAt field. -func (o *EntitlementsPartialUpdate) SetScheduledResetAt(v string) { - o.ScheduledResetAt = &v -} - -// GetScheduledResetPeriod returns the ScheduledResetPeriod field value if set, zero value otherwise. -func (o *EntitlementsPartialUpdate) GetScheduledResetPeriod() string { - if o == nil || o.ScheduledResetPeriod == nil { - var ret string - return ret - } - return *o.ScheduledResetPeriod -} - -// GetScheduledResetPeriodOk returns a tuple with the ScheduledResetPeriod field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *EntitlementsPartialUpdate) GetScheduledResetPeriodOk() (*string, bool) { - if o == nil || o.ScheduledResetPeriod == nil { - return nil, false - } - return o.ScheduledResetPeriod, true -} - -// HasScheduledResetPeriod returns a boolean if a field has been set. -func (o *EntitlementsPartialUpdate) HasScheduledResetPeriod() bool { - if o != nil && o.ScheduledResetPeriod != nil { - return true - } - - return false -} - -// SetScheduledResetPeriod gets a reference to the given string and assigns it to the ScheduledResetPeriod field. -func (o *EntitlementsPartialUpdate) SetScheduledResetPeriod(v string) { - o.ScheduledResetPeriod = &v -} - -// GetToken returns the Token field value if set, zero value otherwise. -func (o *EntitlementsPartialUpdate) GetToken() string { - if o == nil || o.Token == nil { - var ret string - return ret - } - return *o.Token -} - -// GetTokenOk returns a tuple with the Token field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *EntitlementsPartialUpdate) GetTokenOk() (*string, bool) { - if o == nil || o.Token == nil { - return nil, false - } - return o.Token, true -} - -// HasToken returns a boolean if a field has been set. -func (o *EntitlementsPartialUpdate) HasToken() bool { - if o != nil && o.Token != nil { - return true - } - - return false -} - -// SetToken gets a reference to the given string and assigns it to the Token field. -func (o *EntitlementsPartialUpdate) SetToken(v string) { - o.Token = &v -} - -func (o EntitlementsPartialUpdate) MarshalJSON() ([]byte, error) { - toSerialize := map[string]interface{}{} - if o.EulaRequired != nil { - toSerialize["eula_required"] = o.EulaRequired - } - if o.IsActive != nil { - toSerialize["is_active"] = o.IsActive - } - if o.LimitBandwidth != nil { - toSerialize["limit_bandwidth"] = o.LimitBandwidth - } - if o.LimitBandwidthUnit != nil { - toSerialize["limit_bandwidth_unit"] = o.LimitBandwidthUnit - } - if o.LimitDateRangeFrom != nil { - toSerialize["limit_date_range_from"] = o.LimitDateRangeFrom - } - if o.LimitDateRangeTo != nil { - toSerialize["limit_date_range_to"] = o.LimitDateRangeTo - } - if o.LimitNumClients != nil { - toSerialize["limit_num_clients"] = o.LimitNumClients - } - if o.LimitNumDownloads != nil { - toSerialize["limit_num_downloads"] = o.LimitNumDownloads - } - if o.LimitPackageQuery != nil { - toSerialize["limit_package_query"] = o.LimitPackageQuery - } - if o.LimitPathQuery != nil { - toSerialize["limit_path_query"] = o.LimitPathQuery - } - if o.Metadata != nil { - toSerialize["metadata"] = o.Metadata - } - if o.Name != nil { - toSerialize["name"] = o.Name - } - if o.ScheduledResetAt != nil { - toSerialize["scheduled_reset_at"] = o.ScheduledResetAt - } - if o.ScheduledResetPeriod != nil { - toSerialize["scheduled_reset_period"] = o.ScheduledResetPeriod - } - if o.Token != nil { - toSerialize["token"] = o.Token - } - return json.Marshal(toSerialize) -} - -type NullableEntitlementsPartialUpdate struct { - value *EntitlementsPartialUpdate - isSet bool -} - -func (v NullableEntitlementsPartialUpdate) Get() *EntitlementsPartialUpdate { - return v.value -} - -func (v *NullableEntitlementsPartialUpdate) Set(val *EntitlementsPartialUpdate) { - v.value = val - v.isSet = true -} - -func (v NullableEntitlementsPartialUpdate) IsSet() bool { - return v.isSet -} - -func (v *NullableEntitlementsPartialUpdate) Unset() { - v.value = nil - v.isSet = false -} - -func NewNullableEntitlementsPartialUpdate(val *EntitlementsPartialUpdate) *NullableEntitlementsPartialUpdate { - return &NullableEntitlementsPartialUpdate{value: val, isSet: true} -} - -func (v NullableEntitlementsPartialUpdate) MarshalJSON() ([]byte, error) { - return json.Marshal(v.value) -} - -func (v *NullableEntitlementsPartialUpdate) UnmarshalJSON(src []byte) error { - v.isSet = true - return json.Unmarshal(src, &v.value) -} diff --git a/model_entitlements_refresh.go b/model_entitlements_refresh.go deleted file mode 100644 index 9e3de274..00000000 --- a/model_entitlements_refresh.go +++ /dev/null @@ -1,596 +0,0 @@ -/* -Cloudsmith API - -The API to the Cloudsmith Service - -API version: 1.121.3 -Contact: support@cloudsmith.io -*/ - -// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. - -package cloudsmith - -import ( - "encoding/json" -) - -// EntitlementsRefresh struct for EntitlementsRefresh -type EntitlementsRefresh struct { - // If checked, a EULA acceptance is required for this token. - EulaRequired *bool `json:"eula_required,omitempty"` - // If enabled, the token will allow downloads based on configured restrictions (if any). - IsActive *bool `json:"is_active,omitempty"` - // The maximum download bandwidth allowed for the token. Values are expressed as the selected unit of bandwidth. Please note that since downloads are calculated asynchronously (after the download happens), the limit may not be imposed immediately but at a later point. - LimitBandwidth *int64 `json:"limit_bandwidth,omitempty"` - // None - LimitBandwidthUnit *string `json:"limit_bandwidth_unit,omitempty"` - // The starting date/time the token is allowed to be used from. - LimitDateRangeFrom *string `json:"limit_date_range_from,omitempty"` - // The ending date/time the token is allowed to be used until. - LimitDateRangeTo *string `json:"limit_date_range_to,omitempty"` - // The maximum number of unique clients allowed for the token. Please note that since clients are calculated asynchronously (after the download happens), the limit may not be imposed immediately but at a later point. - LimitNumClients *int64 `json:"limit_num_clients,omitempty"` - // The maximum number of downloads allowed for the token. Please note that since downloads are calculated asynchronously (after the download happens), the limit may not be imposed immediately but at a later point. - LimitNumDownloads *int64 `json:"limit_num_downloads,omitempty"` - // The package-based search query to apply to restrict downloads to. This uses the same syntax as the standard search used for repositories, and also supports boolean logic operators such as OR/AND/NOT and parentheses for grouping. This will still allow access to non-package files, such as metadata. - LimitPackageQuery *string `json:"limit_package_query,omitempty"` - // The path-based search query to apply to restrict downloads to. This supports boolean logic operators such as OR/AND/NOT and parentheses for grouping. The path evaluated does not include the domain name, the namespace, the entitlement code used, the package format, etc. and it always starts with a forward slash. - LimitPathQuery *string `json:"limit_path_query,omitempty"` - // None - Metadata map[string]interface{} `json:"metadata,omitempty"` - // The time at which the scheduled reset period has elapsed and the token limits were automatically reset to zero. - ScheduledResetAt *string `json:"scheduled_reset_at,omitempty"` - // None - ScheduledResetPeriod *string `json:"scheduled_reset_period,omitempty"` - // None - Token *string `json:"token,omitempty"` -} - -// NewEntitlementsRefresh instantiates a new EntitlementsRefresh object -// 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 NewEntitlementsRefresh() *EntitlementsRefresh { - this := EntitlementsRefresh{} - return &this -} - -// NewEntitlementsRefreshWithDefaults instantiates a new EntitlementsRefresh object -// This constructor will only assign default values to properties that have it defined, -// but it doesn't guarantee that properties required by API are set -func NewEntitlementsRefreshWithDefaults() *EntitlementsRefresh { - this := EntitlementsRefresh{} - return &this -} - -// GetEulaRequired returns the EulaRequired field value if set, zero value otherwise. -func (o *EntitlementsRefresh) GetEulaRequired() bool { - if o == nil || o.EulaRequired == nil { - var ret bool - return ret - } - return *o.EulaRequired -} - -// GetEulaRequiredOk returns a tuple with the EulaRequired field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *EntitlementsRefresh) GetEulaRequiredOk() (*bool, bool) { - if o == nil || o.EulaRequired == nil { - return nil, false - } - return o.EulaRequired, true -} - -// HasEulaRequired returns a boolean if a field has been set. -func (o *EntitlementsRefresh) HasEulaRequired() bool { - if o != nil && o.EulaRequired != nil { - return true - } - - return false -} - -// SetEulaRequired gets a reference to the given bool and assigns it to the EulaRequired field. -func (o *EntitlementsRefresh) SetEulaRequired(v bool) { - o.EulaRequired = &v -} - -// GetIsActive returns the IsActive field value if set, zero value otherwise. -func (o *EntitlementsRefresh) GetIsActive() bool { - if o == nil || o.IsActive == nil { - var ret bool - return ret - } - return *o.IsActive -} - -// GetIsActiveOk returns a tuple with the IsActive field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *EntitlementsRefresh) GetIsActiveOk() (*bool, bool) { - if o == nil || o.IsActive == nil { - return nil, false - } - return o.IsActive, true -} - -// HasIsActive returns a boolean if a field has been set. -func (o *EntitlementsRefresh) HasIsActive() bool { - if o != nil && o.IsActive != nil { - return true - } - - return false -} - -// SetIsActive gets a reference to the given bool and assigns it to the IsActive field. -func (o *EntitlementsRefresh) SetIsActive(v bool) { - o.IsActive = &v -} - -// GetLimitBandwidth returns the LimitBandwidth field value if set, zero value otherwise. -func (o *EntitlementsRefresh) GetLimitBandwidth() int64 { - if o == nil || o.LimitBandwidth == nil { - var ret int64 - return ret - } - return *o.LimitBandwidth -} - -// GetLimitBandwidthOk returns a tuple with the LimitBandwidth field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *EntitlementsRefresh) GetLimitBandwidthOk() (*int64, bool) { - if o == nil || o.LimitBandwidth == nil { - return nil, false - } - return o.LimitBandwidth, true -} - -// HasLimitBandwidth returns a boolean if a field has been set. -func (o *EntitlementsRefresh) HasLimitBandwidth() bool { - if o != nil && o.LimitBandwidth != nil { - return true - } - - return false -} - -// SetLimitBandwidth gets a reference to the given int64 and assigns it to the LimitBandwidth field. -func (o *EntitlementsRefresh) SetLimitBandwidth(v int64) { - o.LimitBandwidth = &v -} - -// GetLimitBandwidthUnit returns the LimitBandwidthUnit field value if set, zero value otherwise. -func (o *EntitlementsRefresh) GetLimitBandwidthUnit() string { - if o == nil || o.LimitBandwidthUnit == nil { - var ret string - return ret - } - return *o.LimitBandwidthUnit -} - -// GetLimitBandwidthUnitOk returns a tuple with the LimitBandwidthUnit field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *EntitlementsRefresh) GetLimitBandwidthUnitOk() (*string, bool) { - if o == nil || o.LimitBandwidthUnit == nil { - return nil, false - } - return o.LimitBandwidthUnit, true -} - -// HasLimitBandwidthUnit returns a boolean if a field has been set. -func (o *EntitlementsRefresh) HasLimitBandwidthUnit() bool { - if o != nil && o.LimitBandwidthUnit != nil { - return true - } - - return false -} - -// SetLimitBandwidthUnit gets a reference to the given string and assigns it to the LimitBandwidthUnit field. -func (o *EntitlementsRefresh) SetLimitBandwidthUnit(v string) { - o.LimitBandwidthUnit = &v -} - -// GetLimitDateRangeFrom returns the LimitDateRangeFrom field value if set, zero value otherwise. -func (o *EntitlementsRefresh) GetLimitDateRangeFrom() string { - if o == nil || o.LimitDateRangeFrom == nil { - var ret string - return ret - } - return *o.LimitDateRangeFrom -} - -// GetLimitDateRangeFromOk returns a tuple with the LimitDateRangeFrom field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *EntitlementsRefresh) GetLimitDateRangeFromOk() (*string, bool) { - if o == nil || o.LimitDateRangeFrom == nil { - return nil, false - } - return o.LimitDateRangeFrom, true -} - -// HasLimitDateRangeFrom returns a boolean if a field has been set. -func (o *EntitlementsRefresh) HasLimitDateRangeFrom() bool { - if o != nil && o.LimitDateRangeFrom != nil { - return true - } - - return false -} - -// SetLimitDateRangeFrom gets a reference to the given string and assigns it to the LimitDateRangeFrom field. -func (o *EntitlementsRefresh) SetLimitDateRangeFrom(v string) { - o.LimitDateRangeFrom = &v -} - -// GetLimitDateRangeTo returns the LimitDateRangeTo field value if set, zero value otherwise. -func (o *EntitlementsRefresh) GetLimitDateRangeTo() string { - if o == nil || o.LimitDateRangeTo == nil { - var ret string - return ret - } - return *o.LimitDateRangeTo -} - -// GetLimitDateRangeToOk returns a tuple with the LimitDateRangeTo field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *EntitlementsRefresh) GetLimitDateRangeToOk() (*string, bool) { - if o == nil || o.LimitDateRangeTo == nil { - return nil, false - } - return o.LimitDateRangeTo, true -} - -// HasLimitDateRangeTo returns a boolean if a field has been set. -func (o *EntitlementsRefresh) HasLimitDateRangeTo() bool { - if o != nil && o.LimitDateRangeTo != nil { - return true - } - - return false -} - -// SetLimitDateRangeTo gets a reference to the given string and assigns it to the LimitDateRangeTo field. -func (o *EntitlementsRefresh) SetLimitDateRangeTo(v string) { - o.LimitDateRangeTo = &v -} - -// GetLimitNumClients returns the LimitNumClients field value if set, zero value otherwise. -func (o *EntitlementsRefresh) GetLimitNumClients() int64 { - if o == nil || o.LimitNumClients == nil { - var ret int64 - return ret - } - return *o.LimitNumClients -} - -// GetLimitNumClientsOk returns a tuple with the LimitNumClients field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *EntitlementsRefresh) GetLimitNumClientsOk() (*int64, bool) { - if o == nil || o.LimitNumClients == nil { - return nil, false - } - return o.LimitNumClients, true -} - -// HasLimitNumClients returns a boolean if a field has been set. -func (o *EntitlementsRefresh) HasLimitNumClients() bool { - if o != nil && o.LimitNumClients != nil { - return true - } - - return false -} - -// SetLimitNumClients gets a reference to the given int64 and assigns it to the LimitNumClients field. -func (o *EntitlementsRefresh) SetLimitNumClients(v int64) { - o.LimitNumClients = &v -} - -// GetLimitNumDownloads returns the LimitNumDownloads field value if set, zero value otherwise. -func (o *EntitlementsRefresh) GetLimitNumDownloads() int64 { - if o == nil || o.LimitNumDownloads == nil { - var ret int64 - return ret - } - return *o.LimitNumDownloads -} - -// GetLimitNumDownloadsOk returns a tuple with the LimitNumDownloads field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *EntitlementsRefresh) GetLimitNumDownloadsOk() (*int64, bool) { - if o == nil || o.LimitNumDownloads == nil { - return nil, false - } - return o.LimitNumDownloads, true -} - -// HasLimitNumDownloads returns a boolean if a field has been set. -func (o *EntitlementsRefresh) HasLimitNumDownloads() bool { - if o != nil && o.LimitNumDownloads != nil { - return true - } - - return false -} - -// SetLimitNumDownloads gets a reference to the given int64 and assigns it to the LimitNumDownloads field. -func (o *EntitlementsRefresh) SetLimitNumDownloads(v int64) { - o.LimitNumDownloads = &v -} - -// GetLimitPackageQuery returns the LimitPackageQuery field value if set, zero value otherwise. -func (o *EntitlementsRefresh) GetLimitPackageQuery() string { - if o == nil || o.LimitPackageQuery == nil { - var ret string - return ret - } - return *o.LimitPackageQuery -} - -// GetLimitPackageQueryOk returns a tuple with the LimitPackageQuery field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *EntitlementsRefresh) GetLimitPackageQueryOk() (*string, bool) { - if o == nil || o.LimitPackageQuery == nil { - return nil, false - } - return o.LimitPackageQuery, true -} - -// HasLimitPackageQuery returns a boolean if a field has been set. -func (o *EntitlementsRefresh) HasLimitPackageQuery() bool { - if o != nil && o.LimitPackageQuery != nil { - return true - } - - return false -} - -// SetLimitPackageQuery gets a reference to the given string and assigns it to the LimitPackageQuery field. -func (o *EntitlementsRefresh) SetLimitPackageQuery(v string) { - o.LimitPackageQuery = &v -} - -// GetLimitPathQuery returns the LimitPathQuery field value if set, zero value otherwise. -func (o *EntitlementsRefresh) GetLimitPathQuery() string { - if o == nil || o.LimitPathQuery == nil { - var ret string - return ret - } - return *o.LimitPathQuery -} - -// GetLimitPathQueryOk returns a tuple with the LimitPathQuery field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *EntitlementsRefresh) GetLimitPathQueryOk() (*string, bool) { - if o == nil || o.LimitPathQuery == nil { - return nil, false - } - return o.LimitPathQuery, true -} - -// HasLimitPathQuery returns a boolean if a field has been set. -func (o *EntitlementsRefresh) HasLimitPathQuery() bool { - if o != nil && o.LimitPathQuery != nil { - return true - } - - return false -} - -// SetLimitPathQuery gets a reference to the given string and assigns it to the LimitPathQuery field. -func (o *EntitlementsRefresh) SetLimitPathQuery(v string) { - o.LimitPathQuery = &v -} - -// GetMetadata returns the Metadata field value if set, zero value otherwise. -func (o *EntitlementsRefresh) GetMetadata() map[string]interface{} { - if o == nil || o.Metadata == nil { - var ret map[string]interface{} - return ret - } - return o.Metadata -} - -// GetMetadataOk returns a tuple with the Metadata field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *EntitlementsRefresh) GetMetadataOk() (map[string]interface{}, bool) { - if o == nil || o.Metadata == nil { - return nil, false - } - return o.Metadata, true -} - -// HasMetadata returns a boolean if a field has been set. -func (o *EntitlementsRefresh) HasMetadata() bool { - if o != nil && o.Metadata != nil { - return true - } - - return false -} - -// SetMetadata gets a reference to the given map[string]interface{} and assigns it to the Metadata field. -func (o *EntitlementsRefresh) SetMetadata(v map[string]interface{}) { - o.Metadata = v -} - -// GetScheduledResetAt returns the ScheduledResetAt field value if set, zero value otherwise. -func (o *EntitlementsRefresh) GetScheduledResetAt() string { - if o == nil || o.ScheduledResetAt == nil { - var ret string - return ret - } - return *o.ScheduledResetAt -} - -// GetScheduledResetAtOk returns a tuple with the ScheduledResetAt field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *EntitlementsRefresh) GetScheduledResetAtOk() (*string, bool) { - if o == nil || o.ScheduledResetAt == nil { - return nil, false - } - return o.ScheduledResetAt, true -} - -// HasScheduledResetAt returns a boolean if a field has been set. -func (o *EntitlementsRefresh) HasScheduledResetAt() bool { - if o != nil && o.ScheduledResetAt != nil { - return true - } - - return false -} - -// SetScheduledResetAt gets a reference to the given string and assigns it to the ScheduledResetAt field. -func (o *EntitlementsRefresh) SetScheduledResetAt(v string) { - o.ScheduledResetAt = &v -} - -// GetScheduledResetPeriod returns the ScheduledResetPeriod field value if set, zero value otherwise. -func (o *EntitlementsRefresh) GetScheduledResetPeriod() string { - if o == nil || o.ScheduledResetPeriod == nil { - var ret string - return ret - } - return *o.ScheduledResetPeriod -} - -// GetScheduledResetPeriodOk returns a tuple with the ScheduledResetPeriod field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *EntitlementsRefresh) GetScheduledResetPeriodOk() (*string, bool) { - if o == nil || o.ScheduledResetPeriod == nil { - return nil, false - } - return o.ScheduledResetPeriod, true -} - -// HasScheduledResetPeriod returns a boolean if a field has been set. -func (o *EntitlementsRefresh) HasScheduledResetPeriod() bool { - if o != nil && o.ScheduledResetPeriod != nil { - return true - } - - return false -} - -// SetScheduledResetPeriod gets a reference to the given string and assigns it to the ScheduledResetPeriod field. -func (o *EntitlementsRefresh) SetScheduledResetPeriod(v string) { - o.ScheduledResetPeriod = &v -} - -// GetToken returns the Token field value if set, zero value otherwise. -func (o *EntitlementsRefresh) GetToken() string { - if o == nil || o.Token == nil { - var ret string - return ret - } - return *o.Token -} - -// GetTokenOk returns a tuple with the Token field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *EntitlementsRefresh) GetTokenOk() (*string, bool) { - if o == nil || o.Token == nil { - return nil, false - } - return o.Token, true -} - -// HasToken returns a boolean if a field has been set. -func (o *EntitlementsRefresh) HasToken() bool { - if o != nil && o.Token != nil { - return true - } - - return false -} - -// SetToken gets a reference to the given string and assigns it to the Token field. -func (o *EntitlementsRefresh) SetToken(v string) { - o.Token = &v -} - -func (o EntitlementsRefresh) MarshalJSON() ([]byte, error) { - toSerialize := map[string]interface{}{} - if o.EulaRequired != nil { - toSerialize["eula_required"] = o.EulaRequired - } - if o.IsActive != nil { - toSerialize["is_active"] = o.IsActive - } - if o.LimitBandwidth != nil { - toSerialize["limit_bandwidth"] = o.LimitBandwidth - } - if o.LimitBandwidthUnit != nil { - toSerialize["limit_bandwidth_unit"] = o.LimitBandwidthUnit - } - if o.LimitDateRangeFrom != nil { - toSerialize["limit_date_range_from"] = o.LimitDateRangeFrom - } - if o.LimitDateRangeTo != nil { - toSerialize["limit_date_range_to"] = o.LimitDateRangeTo - } - if o.LimitNumClients != nil { - toSerialize["limit_num_clients"] = o.LimitNumClients - } - if o.LimitNumDownloads != nil { - toSerialize["limit_num_downloads"] = o.LimitNumDownloads - } - if o.LimitPackageQuery != nil { - toSerialize["limit_package_query"] = o.LimitPackageQuery - } - if o.LimitPathQuery != nil { - toSerialize["limit_path_query"] = o.LimitPathQuery - } - if o.Metadata != nil { - toSerialize["metadata"] = o.Metadata - } - if o.ScheduledResetAt != nil { - toSerialize["scheduled_reset_at"] = o.ScheduledResetAt - } - if o.ScheduledResetPeriod != nil { - toSerialize["scheduled_reset_period"] = o.ScheduledResetPeriod - } - if o.Token != nil { - toSerialize["token"] = o.Token - } - return json.Marshal(toSerialize) -} - -type NullableEntitlementsRefresh struct { - value *EntitlementsRefresh - isSet bool -} - -func (v NullableEntitlementsRefresh) Get() *EntitlementsRefresh { - return v.value -} - -func (v *NullableEntitlementsRefresh) Set(val *EntitlementsRefresh) { - v.value = val - v.isSet = true -} - -func (v NullableEntitlementsRefresh) IsSet() bool { - return v.isSet -} - -func (v *NullableEntitlementsRefresh) Unset() { - v.value = nil - v.isSet = false -} - -func NewNullableEntitlementsRefresh(val *EntitlementsRefresh) *NullableEntitlementsRefresh { - return &NullableEntitlementsRefresh{value: val, isSet: true} -} - -func (v NullableEntitlementsRefresh) MarshalJSON() ([]byte, error) { - return json.Marshal(v.value) -} - -func (v *NullableEntitlementsRefresh) UnmarshalJSON(src []byte) error { - v.isSet = true - return json.Unmarshal(src, &v.value) -} diff --git a/model_entitlements_sync.go b/model_entitlements_sync.go deleted file mode 100644 index 106262a5..00000000 --- a/model_entitlements_sync.go +++ /dev/null @@ -1,108 +0,0 @@ -/* -Cloudsmith API - -The API to the Cloudsmith Service - -API version: 1.121.3 -Contact: support@cloudsmith.io -*/ - -// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. - -package cloudsmith - -import ( - "encoding/json" -) - -// EntitlementsSync struct for EntitlementsSync -type EntitlementsSync struct { - // The source repository slug (in the same owner namespace). - Source string `json:"source"` -} - -// NewEntitlementsSync instantiates a new EntitlementsSync object -// 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 NewEntitlementsSync(source string) *EntitlementsSync { - this := EntitlementsSync{} - this.Source = source - return &this -} - -// NewEntitlementsSyncWithDefaults instantiates a new EntitlementsSync object -// This constructor will only assign default values to properties that have it defined, -// but it doesn't guarantee that properties required by API are set -func NewEntitlementsSyncWithDefaults() *EntitlementsSync { - this := EntitlementsSync{} - return &this -} - -// GetSource returns the Source field value -func (o *EntitlementsSync) GetSource() string { - if o == nil { - var ret string - return ret - } - - return o.Source -} - -// GetSourceOk returns a tuple with the Source field value -// and a boolean to check if the value has been set. -func (o *EntitlementsSync) GetSourceOk() (*string, bool) { - if o == nil { - return nil, false - } - return &o.Source, true -} - -// SetSource sets field value -func (o *EntitlementsSync) SetSource(v string) { - o.Source = v -} - -func (o EntitlementsSync) MarshalJSON() ([]byte, error) { - toSerialize := map[string]interface{}{} - if true { - toSerialize["source"] = o.Source - } - return json.Marshal(toSerialize) -} - -type NullableEntitlementsSync struct { - value *EntitlementsSync - isSet bool -} - -func (v NullableEntitlementsSync) Get() *EntitlementsSync { - return v.value -} - -func (v *NullableEntitlementsSync) Set(val *EntitlementsSync) { - v.value = val - v.isSet = true -} - -func (v NullableEntitlementsSync) IsSet() bool { - return v.isSet -} - -func (v *NullableEntitlementsSync) Unset() { - v.value = nil - v.isSet = false -} - -func NewNullableEntitlementsSync(val *EntitlementsSync) *NullableEntitlementsSync { - return &NullableEntitlementsSync{value: val, isSet: true} -} - -func (v NullableEntitlementsSync) MarshalJSON() ([]byte, error) { - return json.Marshal(v.value) -} - -func (v *NullableEntitlementsSync) UnmarshalJSON(src []byte) error { - v.isSet = true - return json.Unmarshal(src, &v.value) -} diff --git a/model_status.go b/model_error_detail.go similarity index 56% rename from model_status.go rename to model_error_detail.go index acb23115..f64993f7 100644 --- a/model_status.go +++ b/model_error_detail.go @@ -1,9 +1,9 @@ /* -Cloudsmith API +Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.121.3 +API version: 1.181.6 Contact: support@cloudsmith.io */ @@ -15,32 +15,32 @@ import ( "encoding/json" ) -// Status struct for Status -type Status struct { +// ErrorDetail struct for ErrorDetail +type ErrorDetail struct { // An extended message for the response. Detail string `json:"detail"` } -// NewStatus instantiates a new Status object +// NewErrorDetail instantiates a new ErrorDetail object // 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 NewStatus(detail string) *Status { - this := Status{} +func NewErrorDetail(detail string) *ErrorDetail { + this := ErrorDetail{} this.Detail = detail return &this } -// NewStatusWithDefaults instantiates a new Status object +// NewErrorDetailWithDefaults instantiates a new ErrorDetail object // This constructor will only assign default values to properties that have it defined, // but it doesn't guarantee that properties required by API are set -func NewStatusWithDefaults() *Status { - this := Status{} +func NewErrorDetailWithDefaults() *ErrorDetail { + this := ErrorDetail{} return &this } // GetDetail returns the Detail field value -func (o *Status) GetDetail() string { +func (o *ErrorDetail) GetDetail() string { if o == nil { var ret string return ret @@ -51,7 +51,7 @@ func (o *Status) GetDetail() string { // GetDetailOk returns a tuple with the Detail field value // and a boolean to check if the value has been set. -func (o *Status) GetDetailOk() (*string, bool) { +func (o *ErrorDetail) GetDetailOk() (*string, bool) { if o == nil { return nil, false } @@ -59,11 +59,11 @@ func (o *Status) GetDetailOk() (*string, bool) { } // SetDetail sets field value -func (o *Status) SetDetail(v string) { +func (o *ErrorDetail) SetDetail(v string) { o.Detail = v } -func (o Status) MarshalJSON() ([]byte, error) { +func (o ErrorDetail) MarshalJSON() ([]byte, error) { toSerialize := map[string]interface{}{} if true { toSerialize["detail"] = o.Detail @@ -71,38 +71,38 @@ func (o Status) MarshalJSON() ([]byte, error) { return json.Marshal(toSerialize) } -type NullableStatus struct { - value *Status +type NullableErrorDetail struct { + value *ErrorDetail isSet bool } -func (v NullableStatus) Get() *Status { +func (v NullableErrorDetail) Get() *ErrorDetail { return v.value } -func (v *NullableStatus) Set(val *Status) { +func (v *NullableErrorDetail) Set(val *ErrorDetail) { v.value = val v.isSet = true } -func (v NullableStatus) IsSet() bool { +func (v NullableErrorDetail) IsSet() bool { return v.isSet } -func (v *NullableStatus) Unset() { +func (v *NullableErrorDetail) Unset() { v.value = nil v.isSet = false } -func NewNullableStatus(val *Status) *NullableStatus { - return &NullableStatus{value: val, isSet: true} +func NewNullableErrorDetail(val *ErrorDetail) *NullableErrorDetail { + return &NullableErrorDetail{value: val, isSet: true} } -func (v NullableStatus) MarshalJSON() ([]byte, error) { +func (v NullableErrorDetail) MarshalJSON() ([]byte, error) { return json.Marshal(v.value) } -func (v *NullableStatus) UnmarshalJSON(src []byte) error { +func (v *NullableErrorDetail) UnmarshalJSON(src []byte) error { v.isSet = true return json.Unmarshal(src, &v.value) } diff --git a/model_eula.go b/model_eula.go new file mode 100644 index 00000000..14aa63df --- /dev/null +++ b/model_eula.go @@ -0,0 +1,156 @@ +/* +Cloudsmith API (v1) + +The API to the Cloudsmith Service + +API version: 1.181.6 +Contact: support@cloudsmith.io +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cloudsmith + +import ( + "encoding/json" +) + +// Eula struct for Eula +type Eula struct { + // A unique identifier that you can use for your own EULA tracking purposes. This might be a date, or a semantic version, etc. The only requirement is that it is unique across multiple EULAs. + Identifier NullableString `json:"identifier,omitempty"` + // A sequential identifier that increments by one for each new commit in a repository. + Number int64 `json:"number"` +} + +// NewEula instantiates a new Eula object +// 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 NewEula(number int64) *Eula { + this := Eula{} + this.Number = number + return &this +} + +// NewEulaWithDefaults instantiates a new Eula object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewEulaWithDefaults() *Eula { + this := Eula{} + return &this +} + +// GetIdentifier returns the Identifier field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *Eula) GetIdentifier() string { + if o == nil || isNil(o.Identifier.Get()) { + var ret string + return ret + } + return *o.Identifier.Get() +} + +// GetIdentifierOk returns a tuple with the Identifier 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 *Eula) GetIdentifierOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.Identifier.Get(), o.Identifier.IsSet() +} + +// HasIdentifier returns a boolean if a field has been set. +func (o *Eula) HasIdentifier() bool { + if o != nil && o.Identifier.IsSet() { + return true + } + + return false +} + +// SetIdentifier gets a reference to the given NullableString and assigns it to the Identifier field. +func (o *Eula) SetIdentifier(v string) { + o.Identifier.Set(&v) +} + +// SetIdentifierNil sets the value for Identifier to be an explicit nil +func (o *Eula) SetIdentifierNil() { + o.Identifier.Set(nil) +} + +// UnsetIdentifier ensures that no value is present for Identifier, not even an explicit nil +func (o *Eula) UnsetIdentifier() { + o.Identifier.Unset() +} + +// GetNumber returns the Number field value +func (o *Eula) GetNumber() int64 { + if o == nil { + var ret int64 + return ret + } + + return o.Number +} + +// GetNumberOk returns a tuple with the Number field value +// and a boolean to check if the value has been set. +func (o *Eula) GetNumberOk() (*int64, bool) { + if o == nil { + return nil, false + } + return &o.Number, true +} + +// SetNumber sets field value +func (o *Eula) SetNumber(v int64) { + o.Number = v +} + +func (o Eula) MarshalJSON() ([]byte, error) { + toSerialize := map[string]interface{}{} + if o.Identifier.IsSet() { + toSerialize["identifier"] = o.Identifier.Get() + } + if true { + toSerialize["number"] = o.Number + } + return json.Marshal(toSerialize) +} + +type NullableEula struct { + value *Eula + isSet bool +} + +func (v NullableEula) Get() *Eula { + return v.value +} + +func (v *NullableEula) Set(val *Eula) { + v.value = val + v.isSet = true +} + +func (v NullableEula) IsSet() bool { + return v.isSet +} + +func (v *NullableEula) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableEula(val *Eula) *NullableEula { + return &NullableEula{value: val, isSet: true} +} + +func (v NullableEula) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableEula) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} diff --git a/model_files_complete.go b/model_files_complete.go deleted file mode 100644 index 59bcf93a..00000000 --- a/model_files_complete.go +++ /dev/null @@ -1,219 +0,0 @@ -/* -Cloudsmith API - -The API to the Cloudsmith Service - -API version: 1.121.3 -Contact: support@cloudsmith.io -*/ - -// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. - -package cloudsmith - -import ( - "encoding/json" -) - -// FilesComplete struct for FilesComplete -type FilesComplete struct { - // Filename for the package file upload. - Filename string `json:"filename"` - // MD5 checksum for a POST-based package file upload. - Md5Checksum *string `json:"md5_checksum,omitempty"` - // The method to use for package file upload. - Method *string `json:"method,omitempty"` - // SHA256 checksum for a PUT-based package file upload. - Sha256Checksum *string `json:"sha256_checksum,omitempty"` -} - -// NewFilesComplete instantiates a new FilesComplete object -// 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 NewFilesComplete(filename string) *FilesComplete { - this := FilesComplete{} - this.Filename = filename - return &this -} - -// NewFilesCompleteWithDefaults instantiates a new FilesComplete object -// This constructor will only assign default values to properties that have it defined, -// but it doesn't guarantee that properties required by API are set -func NewFilesCompleteWithDefaults() *FilesComplete { - this := FilesComplete{} - return &this -} - -// GetFilename returns the Filename field value -func (o *FilesComplete) GetFilename() string { - if o == nil { - var ret string - return ret - } - - return o.Filename -} - -// GetFilenameOk returns a tuple with the Filename field value -// and a boolean to check if the value has been set. -func (o *FilesComplete) GetFilenameOk() (*string, bool) { - if o == nil { - return nil, false - } - return &o.Filename, true -} - -// SetFilename sets field value -func (o *FilesComplete) SetFilename(v string) { - o.Filename = v -} - -// GetMd5Checksum returns the Md5Checksum field value if set, zero value otherwise. -func (o *FilesComplete) GetMd5Checksum() string { - if o == nil || o.Md5Checksum == nil { - var ret string - return ret - } - return *o.Md5Checksum -} - -// GetMd5ChecksumOk returns a tuple with the Md5Checksum field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *FilesComplete) GetMd5ChecksumOk() (*string, bool) { - if o == nil || o.Md5Checksum == nil { - return nil, false - } - return o.Md5Checksum, true -} - -// HasMd5Checksum returns a boolean if a field has been set. -func (o *FilesComplete) HasMd5Checksum() bool { - if o != nil && o.Md5Checksum != nil { - return true - } - - return false -} - -// SetMd5Checksum gets a reference to the given string and assigns it to the Md5Checksum field. -func (o *FilesComplete) SetMd5Checksum(v string) { - o.Md5Checksum = &v -} - -// GetMethod returns the Method field value if set, zero value otherwise. -func (o *FilesComplete) GetMethod() string { - if o == nil || o.Method == nil { - var ret string - return ret - } - return *o.Method -} - -// GetMethodOk returns a tuple with the Method field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *FilesComplete) GetMethodOk() (*string, bool) { - if o == nil || o.Method == nil { - return nil, false - } - return o.Method, true -} - -// HasMethod returns a boolean if a field has been set. -func (o *FilesComplete) HasMethod() bool { - if o != nil && o.Method != nil { - return true - } - - return false -} - -// SetMethod gets a reference to the given string and assigns it to the Method field. -func (o *FilesComplete) SetMethod(v string) { - o.Method = &v -} - -// GetSha256Checksum returns the Sha256Checksum field value if set, zero value otherwise. -func (o *FilesComplete) GetSha256Checksum() string { - if o == nil || o.Sha256Checksum == nil { - var ret string - return ret - } - return *o.Sha256Checksum -} - -// GetSha256ChecksumOk returns a tuple with the Sha256Checksum field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *FilesComplete) GetSha256ChecksumOk() (*string, bool) { - if o == nil || o.Sha256Checksum == nil { - return nil, false - } - return o.Sha256Checksum, true -} - -// HasSha256Checksum returns a boolean if a field has been set. -func (o *FilesComplete) HasSha256Checksum() bool { - if o != nil && o.Sha256Checksum != nil { - return true - } - - return false -} - -// SetSha256Checksum gets a reference to the given string and assigns it to the Sha256Checksum field. -func (o *FilesComplete) SetSha256Checksum(v string) { - o.Sha256Checksum = &v -} - -func (o FilesComplete) MarshalJSON() ([]byte, error) { - toSerialize := map[string]interface{}{} - if true { - toSerialize["filename"] = o.Filename - } - if o.Md5Checksum != nil { - toSerialize["md5_checksum"] = o.Md5Checksum - } - if o.Method != nil { - toSerialize["method"] = o.Method - } - if o.Sha256Checksum != nil { - toSerialize["sha256_checksum"] = o.Sha256Checksum - } - return json.Marshal(toSerialize) -} - -type NullableFilesComplete struct { - value *FilesComplete - isSet bool -} - -func (v NullableFilesComplete) Get() *FilesComplete { - return v.value -} - -func (v *NullableFilesComplete) Set(val *FilesComplete) { - v.value = val - v.isSet = true -} - -func (v NullableFilesComplete) IsSet() bool { - return v.isSet -} - -func (v *NullableFilesComplete) Unset() { - v.value = nil - v.isSet = false -} - -func NewNullableFilesComplete(val *FilesComplete) *NullableFilesComplete { - return &NullableFilesComplete{value: val, isSet: true} -} - -func (v NullableFilesComplete) MarshalJSON() ([]byte, error) { - return json.Marshal(v.value) -} - -func (v *NullableFilesComplete) UnmarshalJSON(src []byte) error { - v.isSet = true - return json.Unmarshal(src, &v.value) -} diff --git a/model_files_create.go b/model_files_create.go deleted file mode 100644 index b1a095ea..00000000 --- a/model_files_create.go +++ /dev/null @@ -1,219 +0,0 @@ -/* -Cloudsmith API - -The API to the Cloudsmith Service - -API version: 1.121.3 -Contact: support@cloudsmith.io -*/ - -// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. - -package cloudsmith - -import ( - "encoding/json" -) - -// FilesCreate struct for FilesCreate -type FilesCreate struct { - // Filename for the package file upload. - Filename string `json:"filename"` - // MD5 checksum for a POST-based package file upload. - Md5Checksum *string `json:"md5_checksum,omitempty"` - // The method to use for package file upload. - Method *string `json:"method,omitempty"` - // SHA256 checksum for a PUT-based package file upload. - Sha256Checksum *string `json:"sha256_checksum,omitempty"` -} - -// NewFilesCreate instantiates a new FilesCreate object -// 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 NewFilesCreate(filename string) *FilesCreate { - this := FilesCreate{} - this.Filename = filename - return &this -} - -// NewFilesCreateWithDefaults instantiates a new FilesCreate object -// This constructor will only assign default values to properties that have it defined, -// but it doesn't guarantee that properties required by API are set -func NewFilesCreateWithDefaults() *FilesCreate { - this := FilesCreate{} - return &this -} - -// GetFilename returns the Filename field value -func (o *FilesCreate) GetFilename() string { - if o == nil { - var ret string - return ret - } - - return o.Filename -} - -// GetFilenameOk returns a tuple with the Filename field value -// and a boolean to check if the value has been set. -func (o *FilesCreate) GetFilenameOk() (*string, bool) { - if o == nil { - return nil, false - } - return &o.Filename, true -} - -// SetFilename sets field value -func (o *FilesCreate) SetFilename(v string) { - o.Filename = v -} - -// GetMd5Checksum returns the Md5Checksum field value if set, zero value otherwise. -func (o *FilesCreate) GetMd5Checksum() string { - if o == nil || o.Md5Checksum == nil { - var ret string - return ret - } - return *o.Md5Checksum -} - -// GetMd5ChecksumOk returns a tuple with the Md5Checksum field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *FilesCreate) GetMd5ChecksumOk() (*string, bool) { - if o == nil || o.Md5Checksum == nil { - return nil, false - } - return o.Md5Checksum, true -} - -// HasMd5Checksum returns a boolean if a field has been set. -func (o *FilesCreate) HasMd5Checksum() bool { - if o != nil && o.Md5Checksum != nil { - return true - } - - return false -} - -// SetMd5Checksum gets a reference to the given string and assigns it to the Md5Checksum field. -func (o *FilesCreate) SetMd5Checksum(v string) { - o.Md5Checksum = &v -} - -// GetMethod returns the Method field value if set, zero value otherwise. -func (o *FilesCreate) GetMethod() string { - if o == nil || o.Method == nil { - var ret string - return ret - } - return *o.Method -} - -// GetMethodOk returns a tuple with the Method field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *FilesCreate) GetMethodOk() (*string, bool) { - if o == nil || o.Method == nil { - return nil, false - } - return o.Method, true -} - -// HasMethod returns a boolean if a field has been set. -func (o *FilesCreate) HasMethod() bool { - if o != nil && o.Method != nil { - return true - } - - return false -} - -// SetMethod gets a reference to the given string and assigns it to the Method field. -func (o *FilesCreate) SetMethod(v string) { - o.Method = &v -} - -// GetSha256Checksum returns the Sha256Checksum field value if set, zero value otherwise. -func (o *FilesCreate) GetSha256Checksum() string { - if o == nil || o.Sha256Checksum == nil { - var ret string - return ret - } - return *o.Sha256Checksum -} - -// GetSha256ChecksumOk returns a tuple with the Sha256Checksum field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *FilesCreate) GetSha256ChecksumOk() (*string, bool) { - if o == nil || o.Sha256Checksum == nil { - return nil, false - } - return o.Sha256Checksum, true -} - -// HasSha256Checksum returns a boolean if a field has been set. -func (o *FilesCreate) HasSha256Checksum() bool { - if o != nil && o.Sha256Checksum != nil { - return true - } - - return false -} - -// SetSha256Checksum gets a reference to the given string and assigns it to the Sha256Checksum field. -func (o *FilesCreate) SetSha256Checksum(v string) { - o.Sha256Checksum = &v -} - -func (o FilesCreate) MarshalJSON() ([]byte, error) { - toSerialize := map[string]interface{}{} - if true { - toSerialize["filename"] = o.Filename - } - if o.Md5Checksum != nil { - toSerialize["md5_checksum"] = o.Md5Checksum - } - if o.Method != nil { - toSerialize["method"] = o.Method - } - if o.Sha256Checksum != nil { - toSerialize["sha256_checksum"] = o.Sha256Checksum - } - return json.Marshal(toSerialize) -} - -type NullableFilesCreate struct { - value *FilesCreate - isSet bool -} - -func (v NullableFilesCreate) Get() *FilesCreate { - return v.value -} - -func (v *NullableFilesCreate) Set(val *FilesCreate) { - v.value = val - v.isSet = true -} - -func (v NullableFilesCreate) IsSet() bool { - return v.isSet -} - -func (v *NullableFilesCreate) Unset() { - v.value = nil - v.isSet = false -} - -func NewNullableFilesCreate(val *FilesCreate) *NullableFilesCreate { - return &NullableFilesCreate{value: val, isSet: true} -} - -func (v NullableFilesCreate) MarshalJSON() ([]byte, error) { - return json.Marshal(v.value) -} - -func (v *NullableFilesCreate) UnmarshalJSON(src []byte) error { - v.isSet = true - return json.Unmarshal(src, &v.value) -} diff --git a/model_files_validate.go b/model_files_validate.go deleted file mode 100644 index 0bf4f052..00000000 --- a/model_files_validate.go +++ /dev/null @@ -1,219 +0,0 @@ -/* -Cloudsmith API - -The API to the Cloudsmith Service - -API version: 1.121.3 -Contact: support@cloudsmith.io -*/ - -// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. - -package cloudsmith - -import ( - "encoding/json" -) - -// FilesValidate struct for FilesValidate -type FilesValidate struct { - // Filename for the package file upload. - Filename string `json:"filename"` - // MD5 checksum for a POST-based package file upload. - Md5Checksum *string `json:"md5_checksum,omitempty"` - // The method to use for package file upload. - Method *string `json:"method,omitempty"` - // SHA256 checksum for a PUT-based package file upload. - Sha256Checksum *string `json:"sha256_checksum,omitempty"` -} - -// NewFilesValidate instantiates a new FilesValidate object -// 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 NewFilesValidate(filename string) *FilesValidate { - this := FilesValidate{} - this.Filename = filename - return &this -} - -// NewFilesValidateWithDefaults instantiates a new FilesValidate object -// This constructor will only assign default values to properties that have it defined, -// but it doesn't guarantee that properties required by API are set -func NewFilesValidateWithDefaults() *FilesValidate { - this := FilesValidate{} - return &this -} - -// GetFilename returns the Filename field value -func (o *FilesValidate) GetFilename() string { - if o == nil { - var ret string - return ret - } - - return o.Filename -} - -// GetFilenameOk returns a tuple with the Filename field value -// and a boolean to check if the value has been set. -func (o *FilesValidate) GetFilenameOk() (*string, bool) { - if o == nil { - return nil, false - } - return &o.Filename, true -} - -// SetFilename sets field value -func (o *FilesValidate) SetFilename(v string) { - o.Filename = v -} - -// GetMd5Checksum returns the Md5Checksum field value if set, zero value otherwise. -func (o *FilesValidate) GetMd5Checksum() string { - if o == nil || o.Md5Checksum == nil { - var ret string - return ret - } - return *o.Md5Checksum -} - -// GetMd5ChecksumOk returns a tuple with the Md5Checksum field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *FilesValidate) GetMd5ChecksumOk() (*string, bool) { - if o == nil || o.Md5Checksum == nil { - return nil, false - } - return o.Md5Checksum, true -} - -// HasMd5Checksum returns a boolean if a field has been set. -func (o *FilesValidate) HasMd5Checksum() bool { - if o != nil && o.Md5Checksum != nil { - return true - } - - return false -} - -// SetMd5Checksum gets a reference to the given string and assigns it to the Md5Checksum field. -func (o *FilesValidate) SetMd5Checksum(v string) { - o.Md5Checksum = &v -} - -// GetMethod returns the Method field value if set, zero value otherwise. -func (o *FilesValidate) GetMethod() string { - if o == nil || o.Method == nil { - var ret string - return ret - } - return *o.Method -} - -// GetMethodOk returns a tuple with the Method field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *FilesValidate) GetMethodOk() (*string, bool) { - if o == nil || o.Method == nil { - return nil, false - } - return o.Method, true -} - -// HasMethod returns a boolean if a field has been set. -func (o *FilesValidate) HasMethod() bool { - if o != nil && o.Method != nil { - return true - } - - return false -} - -// SetMethod gets a reference to the given string and assigns it to the Method field. -func (o *FilesValidate) SetMethod(v string) { - o.Method = &v -} - -// GetSha256Checksum returns the Sha256Checksum field value if set, zero value otherwise. -func (o *FilesValidate) GetSha256Checksum() string { - if o == nil || o.Sha256Checksum == nil { - var ret string - return ret - } - return *o.Sha256Checksum -} - -// GetSha256ChecksumOk returns a tuple with the Sha256Checksum field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *FilesValidate) GetSha256ChecksumOk() (*string, bool) { - if o == nil || o.Sha256Checksum == nil { - return nil, false - } - return o.Sha256Checksum, true -} - -// HasSha256Checksum returns a boolean if a field has been set. -func (o *FilesValidate) HasSha256Checksum() bool { - if o != nil && o.Sha256Checksum != nil { - return true - } - - return false -} - -// SetSha256Checksum gets a reference to the given string and assigns it to the Sha256Checksum field. -func (o *FilesValidate) SetSha256Checksum(v string) { - o.Sha256Checksum = &v -} - -func (o FilesValidate) MarshalJSON() ([]byte, error) { - toSerialize := map[string]interface{}{} - if true { - toSerialize["filename"] = o.Filename - } - if o.Md5Checksum != nil { - toSerialize["md5_checksum"] = o.Md5Checksum - } - if o.Method != nil { - toSerialize["method"] = o.Method - } - if o.Sha256Checksum != nil { - toSerialize["sha256_checksum"] = o.Sha256Checksum - } - return json.Marshal(toSerialize) -} - -type NullableFilesValidate struct { - value *FilesValidate - isSet bool -} - -func (v NullableFilesValidate) Get() *FilesValidate { - return v.value -} - -func (v *NullableFilesValidate) Set(val *FilesValidate) { - v.value = val - v.isSet = true -} - -func (v NullableFilesValidate) IsSet() bool { - return v.isSet -} - -func (v *NullableFilesValidate) Unset() { - v.value = nil - v.isSet = false -} - -func NewNullableFilesValidate(val *FilesValidate) *NullableFilesValidate { - return &NullableFilesValidate{value: val, isSet: true} -} - -func (v NullableFilesValidate) MarshalJSON() ([]byte, error) { - return json.Marshal(v.value) -} - -func (v *NullableFilesValidate) UnmarshalJSON(src []byte) error { - v.isSet = true - return json.Unmarshal(src, &v.value) -} diff --git a/model_format.go b/model_format_response.go similarity index 50% rename from model_format.go rename to model_format_response.go index 44f04af4..3813f265 100644 --- a/model_format.go +++ b/model_format_response.go @@ -1,9 +1,9 @@ /* -Cloudsmith API +Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.121.3 +API version: 1.181.6 Contact: support@cloudsmith.io */ @@ -15,12 +15,12 @@ import ( "encoding/json" ) -// Format struct for Format -type Format struct { +// FormatResponse struct for FormatResponse +type FormatResponse struct { // Description of the package format Description string `json:"description"` // The distributions supported by this package format - Distributions []FormatsDistributions `json:"distributions,omitempty"` + Distributions []Distribution `json:"distributions,omitempty"` // A non-exhaustive list of extensions supported Extensions []string `json:"extensions"` // Name for the package format @@ -28,21 +28,20 @@ type Format struct { // If true the package format is a premium-only feature Premium bool `json:"premium"` // The minimum plan id required for this package format - PremiumPlanId *string `json:"premium_plan_id,omitempty"` + PremiumPlanId NullableString `json:"premium_plan_id,omitempty"` // The minimum plan name required for this package format - PremiumPlanName *string `json:"premium_plan_name,omitempty"` + PremiumPlanName NullableString `json:"premium_plan_name,omitempty"` // Slug for the package format - Slug string `json:"slug"` - // A set of what the package format supports - Supports map[string]interface{} `json:"supports"` + Slug string `json:"slug"` + Supports FormatSupport `json:"supports"` } -// NewFormat instantiates a new Format object +// NewFormatResponse instantiates a new FormatResponse object // 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 NewFormat(description string, extensions []string, name string, premium bool, slug string, supports map[string]interface{}) *Format { - this := Format{} +func NewFormatResponse(description string, extensions []string, name string, premium bool, slug string, supports FormatSupport) *FormatResponse { + this := FormatResponse{} this.Description = description this.Extensions = extensions this.Name = name @@ -52,16 +51,16 @@ func NewFormat(description string, extensions []string, name string, premium boo return &this } -// NewFormatWithDefaults instantiates a new Format object +// NewFormatResponseWithDefaults instantiates a new FormatResponse object // This constructor will only assign default values to properties that have it defined, // but it doesn't guarantee that properties required by API are set -func NewFormatWithDefaults() *Format { - this := Format{} +func NewFormatResponseWithDefaults() *FormatResponse { + this := FormatResponse{} return &this } // GetDescription returns the Description field value -func (o *Format) GetDescription() string { +func (o *FormatResponse) GetDescription() string { if o == nil { var ret string return ret @@ -72,7 +71,7 @@ func (o *Format) GetDescription() string { // GetDescriptionOk returns a tuple with the Description field value // and a boolean to check if the value has been set. -func (o *Format) GetDescriptionOk() (*string, bool) { +func (o *FormatResponse) GetDescriptionOk() (*string, bool) { if o == nil { return nil, false } @@ -80,14 +79,14 @@ func (o *Format) GetDescriptionOk() (*string, bool) { } // SetDescription sets field value -func (o *Format) SetDescription(v string) { +func (o *FormatResponse) SetDescription(v string) { o.Description = v } -// GetDistributions returns the Distributions field value if set, zero value otherwise. -func (o *Format) GetDistributions() []FormatsDistributions { - if o == nil || o.Distributions == nil { - var ret []FormatsDistributions +// GetDistributions returns the Distributions field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *FormatResponse) GetDistributions() []Distribution { + if o == nil { + var ret []Distribution return ret } return o.Distributions @@ -95,29 +94,30 @@ func (o *Format) GetDistributions() []FormatsDistributions { // GetDistributionsOk returns a tuple with the Distributions field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *Format) GetDistributionsOk() ([]FormatsDistributions, bool) { - if o == nil || o.Distributions == nil { +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *FormatResponse) GetDistributionsOk() ([]Distribution, bool) { + if o == nil || isNil(o.Distributions) { return nil, false } return o.Distributions, true } // HasDistributions returns a boolean if a field has been set. -func (o *Format) HasDistributions() bool { - if o != nil && o.Distributions != nil { +func (o *FormatResponse) HasDistributions() bool { + if o != nil && isNil(o.Distributions) { return true } return false } -// SetDistributions gets a reference to the given []FormatsDistributions and assigns it to the Distributions field. -func (o *Format) SetDistributions(v []FormatsDistributions) { +// SetDistributions gets a reference to the given []Distribution and assigns it to the Distributions field. +func (o *FormatResponse) SetDistributions(v []Distribution) { o.Distributions = v } // GetExtensions returns the Extensions field value -func (o *Format) GetExtensions() []string { +func (o *FormatResponse) GetExtensions() []string { if o == nil { var ret []string return ret @@ -128,7 +128,7 @@ func (o *Format) GetExtensions() []string { // GetExtensionsOk returns a tuple with the Extensions field value // and a boolean to check if the value has been set. -func (o *Format) GetExtensionsOk() ([]string, bool) { +func (o *FormatResponse) GetExtensionsOk() ([]string, bool) { if o == nil { return nil, false } @@ -136,12 +136,12 @@ func (o *Format) GetExtensionsOk() ([]string, bool) { } // SetExtensions sets field value -func (o *Format) SetExtensions(v []string) { +func (o *FormatResponse) SetExtensions(v []string) { o.Extensions = v } // GetName returns the Name field value -func (o *Format) GetName() string { +func (o *FormatResponse) GetName() string { if o == nil { var ret string return ret @@ -152,7 +152,7 @@ func (o *Format) GetName() string { // GetNameOk returns a tuple with the Name field value // and a boolean to check if the value has been set. -func (o *Format) GetNameOk() (*string, bool) { +func (o *FormatResponse) GetNameOk() (*string, bool) { if o == nil { return nil, false } @@ -160,12 +160,12 @@ func (o *Format) GetNameOk() (*string, bool) { } // SetName sets field value -func (o *Format) SetName(v string) { +func (o *FormatResponse) SetName(v string) { o.Name = v } // GetPremium returns the Premium field value -func (o *Format) GetPremium() bool { +func (o *FormatResponse) GetPremium() bool { if o == nil { var ret bool return ret @@ -176,7 +176,7 @@ func (o *Format) GetPremium() bool { // GetPremiumOk returns a tuple with the Premium field value // and a boolean to check if the value has been set. -func (o *Format) GetPremiumOk() (*bool, bool) { +func (o *FormatResponse) GetPremiumOk() (*bool, bool) { if o == nil { return nil, false } @@ -184,76 +184,98 @@ func (o *Format) GetPremiumOk() (*bool, bool) { } // SetPremium sets field value -func (o *Format) SetPremium(v bool) { +func (o *FormatResponse) SetPremium(v bool) { o.Premium = v } -// GetPremiumPlanId returns the PremiumPlanId field value if set, zero value otherwise. -func (o *Format) GetPremiumPlanId() string { - if o == nil || o.PremiumPlanId == nil { +// GetPremiumPlanId returns the PremiumPlanId field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *FormatResponse) GetPremiumPlanId() string { + if o == nil || isNil(o.PremiumPlanId.Get()) { var ret string return ret } - return *o.PremiumPlanId + return *o.PremiumPlanId.Get() } // GetPremiumPlanIdOk returns a tuple with the PremiumPlanId field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *Format) GetPremiumPlanIdOk() (*string, bool) { - if o == nil || o.PremiumPlanId == nil { +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *FormatResponse) GetPremiumPlanIdOk() (*string, bool) { + if o == nil { return nil, false } - return o.PremiumPlanId, true + return o.PremiumPlanId.Get(), o.PremiumPlanId.IsSet() } // HasPremiumPlanId returns a boolean if a field has been set. -func (o *Format) HasPremiumPlanId() bool { - if o != nil && o.PremiumPlanId != nil { +func (o *FormatResponse) HasPremiumPlanId() bool { + if o != nil && o.PremiumPlanId.IsSet() { return true } return false } -// SetPremiumPlanId gets a reference to the given string and assigns it to the PremiumPlanId field. -func (o *Format) SetPremiumPlanId(v string) { - o.PremiumPlanId = &v +// SetPremiumPlanId gets a reference to the given NullableString and assigns it to the PremiumPlanId field. +func (o *FormatResponse) SetPremiumPlanId(v string) { + o.PremiumPlanId.Set(&v) +} + +// SetPremiumPlanIdNil sets the value for PremiumPlanId to be an explicit nil +func (o *FormatResponse) SetPremiumPlanIdNil() { + o.PremiumPlanId.Set(nil) +} + +// UnsetPremiumPlanId ensures that no value is present for PremiumPlanId, not even an explicit nil +func (o *FormatResponse) UnsetPremiumPlanId() { + o.PremiumPlanId.Unset() } -// GetPremiumPlanName returns the PremiumPlanName field value if set, zero value otherwise. -func (o *Format) GetPremiumPlanName() string { - if o == nil || o.PremiumPlanName == nil { +// GetPremiumPlanName returns the PremiumPlanName field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *FormatResponse) GetPremiumPlanName() string { + if o == nil || isNil(o.PremiumPlanName.Get()) { var ret string return ret } - return *o.PremiumPlanName + return *o.PremiumPlanName.Get() } // GetPremiumPlanNameOk returns a tuple with the PremiumPlanName field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *Format) GetPremiumPlanNameOk() (*string, bool) { - if o == nil || o.PremiumPlanName == nil { +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *FormatResponse) GetPremiumPlanNameOk() (*string, bool) { + if o == nil { return nil, false } - return o.PremiumPlanName, true + return o.PremiumPlanName.Get(), o.PremiumPlanName.IsSet() } // HasPremiumPlanName returns a boolean if a field has been set. -func (o *Format) HasPremiumPlanName() bool { - if o != nil && o.PremiumPlanName != nil { +func (o *FormatResponse) HasPremiumPlanName() bool { + if o != nil && o.PremiumPlanName.IsSet() { return true } return false } -// SetPremiumPlanName gets a reference to the given string and assigns it to the PremiumPlanName field. -func (o *Format) SetPremiumPlanName(v string) { - o.PremiumPlanName = &v +// SetPremiumPlanName gets a reference to the given NullableString and assigns it to the PremiumPlanName field. +func (o *FormatResponse) SetPremiumPlanName(v string) { + o.PremiumPlanName.Set(&v) +} + +// SetPremiumPlanNameNil sets the value for PremiumPlanName to be an explicit nil +func (o *FormatResponse) SetPremiumPlanNameNil() { + o.PremiumPlanName.Set(nil) +} + +// UnsetPremiumPlanName ensures that no value is present for PremiumPlanName, not even an explicit nil +func (o *FormatResponse) UnsetPremiumPlanName() { + o.PremiumPlanName.Unset() } // GetSlug returns the Slug field value -func (o *Format) GetSlug() string { +func (o *FormatResponse) GetSlug() string { if o == nil { var ret string return ret @@ -264,7 +286,7 @@ func (o *Format) GetSlug() string { // GetSlugOk returns a tuple with the Slug field value // and a boolean to check if the value has been set. -func (o *Format) GetSlugOk() (*string, bool) { +func (o *FormatResponse) GetSlugOk() (*string, bool) { if o == nil { return nil, false } @@ -272,14 +294,14 @@ func (o *Format) GetSlugOk() (*string, bool) { } // SetSlug sets field value -func (o *Format) SetSlug(v string) { +func (o *FormatResponse) SetSlug(v string) { o.Slug = v } // GetSupports returns the Supports field value -func (o *Format) GetSupports() map[string]interface{} { +func (o *FormatResponse) GetSupports() FormatSupport { if o == nil { - var ret map[string]interface{} + var ret FormatSupport return ret } @@ -288,19 +310,19 @@ func (o *Format) GetSupports() map[string]interface{} { // GetSupportsOk returns a tuple with the Supports field value // and a boolean to check if the value has been set. -func (o *Format) GetSupportsOk() (map[string]interface{}, bool) { +func (o *FormatResponse) GetSupportsOk() (*FormatSupport, bool) { if o == nil { return nil, false } - return o.Supports, true + return &o.Supports, true } // SetSupports sets field value -func (o *Format) SetSupports(v map[string]interface{}) { +func (o *FormatResponse) SetSupports(v FormatSupport) { o.Supports = v } -func (o Format) MarshalJSON() ([]byte, error) { +func (o FormatResponse) MarshalJSON() ([]byte, error) { toSerialize := map[string]interface{}{} if true { toSerialize["description"] = o.Description @@ -317,11 +339,11 @@ func (o Format) MarshalJSON() ([]byte, error) { if true { toSerialize["premium"] = o.Premium } - if o.PremiumPlanId != nil { - toSerialize["premium_plan_id"] = o.PremiumPlanId + if o.PremiumPlanId.IsSet() { + toSerialize["premium_plan_id"] = o.PremiumPlanId.Get() } - if o.PremiumPlanName != nil { - toSerialize["premium_plan_name"] = o.PremiumPlanName + if o.PremiumPlanName.IsSet() { + toSerialize["premium_plan_name"] = o.PremiumPlanName.Get() } if true { toSerialize["slug"] = o.Slug @@ -332,38 +354,38 @@ func (o Format) MarshalJSON() ([]byte, error) { return json.Marshal(toSerialize) } -type NullableFormat struct { - value *Format +type NullableFormatResponse struct { + value *FormatResponse isSet bool } -func (v NullableFormat) Get() *Format { +func (v NullableFormatResponse) Get() *FormatResponse { return v.value } -func (v *NullableFormat) Set(val *Format) { +func (v *NullableFormatResponse) Set(val *FormatResponse) { v.value = val v.isSet = true } -func (v NullableFormat) IsSet() bool { +func (v NullableFormatResponse) IsSet() bool { return v.isSet } -func (v *NullableFormat) Unset() { +func (v *NullableFormatResponse) Unset() { v.value = nil v.isSet = false } -func NewNullableFormat(val *Format) *NullableFormat { - return &NullableFormat{value: val, isSet: true} +func NewNullableFormatResponse(val *FormatResponse) *NullableFormatResponse { + return &NullableFormatResponse{value: val, isSet: true} } -func (v NullableFormat) MarshalJSON() ([]byte, error) { +func (v NullableFormatResponse) MarshalJSON() ([]byte, error) { return json.Marshal(v.value) } -func (v *NullableFormat) UnmarshalJSON(src []byte) error { +func (v *NullableFormatResponse) UnmarshalJSON(src []byte) error { v.isSet = true return json.Unmarshal(src, &v.value) } diff --git a/model_format_support.go b/model_format_support.go new file mode 100644 index 00000000..092d482d --- /dev/null +++ b/model_format_support.go @@ -0,0 +1,228 @@ +/* +Cloudsmith API (v1) + +The API to the Cloudsmith Service + +API version: 1.181.6 +Contact: support@cloudsmith.io +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cloudsmith + +import ( + "encoding/json" +) + +// FormatSupport A set of what the package format supports +type FormatSupport struct { + // If true the package format supports dependencies + Dependencies bool `json:"dependencies"` + // If true the package format supports distributions + Distributions bool `json:"distributions"` + // If true the package format supports file lists + FileLists bool `json:"file_lists"` + // If true the package format supports metadata + Metadata bool `json:"metadata"` + // If true the package format supports versioning + Versioning bool `json:"versioning"` +} + +// NewFormatSupport instantiates a new FormatSupport object +// 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 NewFormatSupport(dependencies bool, distributions bool, fileLists bool, metadata bool, versioning bool) *FormatSupport { + this := FormatSupport{} + this.Dependencies = dependencies + this.Distributions = distributions + this.FileLists = fileLists + this.Metadata = metadata + this.Versioning = versioning + return &this +} + +// NewFormatSupportWithDefaults instantiates a new FormatSupport object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewFormatSupportWithDefaults() *FormatSupport { + this := FormatSupport{} + return &this +} + +// GetDependencies returns the Dependencies field value +func (o *FormatSupport) GetDependencies() bool { + if o == nil { + var ret bool + return ret + } + + return o.Dependencies +} + +// GetDependenciesOk returns a tuple with the Dependencies field value +// and a boolean to check if the value has been set. +func (o *FormatSupport) GetDependenciesOk() (*bool, bool) { + if o == nil { + return nil, false + } + return &o.Dependencies, true +} + +// SetDependencies sets field value +func (o *FormatSupport) SetDependencies(v bool) { + o.Dependencies = v +} + +// GetDistributions returns the Distributions field value +func (o *FormatSupport) GetDistributions() bool { + if o == nil { + var ret bool + return ret + } + + return o.Distributions +} + +// GetDistributionsOk returns a tuple with the Distributions field value +// and a boolean to check if the value has been set. +func (o *FormatSupport) GetDistributionsOk() (*bool, bool) { + if o == nil { + return nil, false + } + return &o.Distributions, true +} + +// SetDistributions sets field value +func (o *FormatSupport) SetDistributions(v bool) { + o.Distributions = v +} + +// GetFileLists returns the FileLists field value +func (o *FormatSupport) GetFileLists() bool { + if o == nil { + var ret bool + return ret + } + + return o.FileLists +} + +// GetFileListsOk returns a tuple with the FileLists field value +// and a boolean to check if the value has been set. +func (o *FormatSupport) GetFileListsOk() (*bool, bool) { + if o == nil { + return nil, false + } + return &o.FileLists, true +} + +// SetFileLists sets field value +func (o *FormatSupport) SetFileLists(v bool) { + o.FileLists = v +} + +// GetMetadata returns the Metadata field value +func (o *FormatSupport) GetMetadata() bool { + if o == nil { + var ret bool + return ret + } + + return o.Metadata +} + +// GetMetadataOk returns a tuple with the Metadata field value +// and a boolean to check if the value has been set. +func (o *FormatSupport) GetMetadataOk() (*bool, bool) { + if o == nil { + return nil, false + } + return &o.Metadata, true +} + +// SetMetadata sets field value +func (o *FormatSupport) SetMetadata(v bool) { + o.Metadata = v +} + +// GetVersioning returns the Versioning field value +func (o *FormatSupport) GetVersioning() bool { + if o == nil { + var ret bool + return ret + } + + return o.Versioning +} + +// GetVersioningOk returns a tuple with the Versioning field value +// and a boolean to check if the value has been set. +func (o *FormatSupport) GetVersioningOk() (*bool, bool) { + if o == nil { + return nil, false + } + return &o.Versioning, true +} + +// SetVersioning sets field value +func (o *FormatSupport) SetVersioning(v bool) { + o.Versioning = v +} + +func (o FormatSupport) MarshalJSON() ([]byte, error) { + toSerialize := map[string]interface{}{} + if true { + toSerialize["dependencies"] = o.Dependencies + } + if true { + toSerialize["distributions"] = o.Distributions + } + if true { + toSerialize["file_lists"] = o.FileLists + } + if true { + toSerialize["metadata"] = o.Metadata + } + if true { + toSerialize["versioning"] = o.Versioning + } + return json.Marshal(toSerialize) +} + +type NullableFormatSupport struct { + value *FormatSupport + isSet bool +} + +func (v NullableFormatSupport) Get() *FormatSupport { + return v.value +} + +func (v *NullableFormatSupport) Set(val *FormatSupport) { + v.value = val + v.isSet = true +} + +func (v NullableFormatSupport) IsSet() bool { + return v.isSet +} + +func (v *NullableFormatSupport) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableFormatSupport(val *FormatSupport) *NullableFormatSupport { + return &NullableFormatSupport{value: val, isSet: true} +} + +func (v NullableFormatSupport) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableFormatSupport) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} diff --git a/model_geo_ip_location.go b/model_geo_ip_location.go new file mode 100644 index 00000000..01bd69b6 --- /dev/null +++ b/model_geo_ip_location.go @@ -0,0 +1,332 @@ +/* +Cloudsmith API (v1) + +The API to the Cloudsmith Service + +API version: 1.181.6 +Contact: support@cloudsmith.io +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cloudsmith + +import ( + "encoding/json" +) + +// GeoIpLocation struct for GeoIpLocation +type GeoIpLocation struct { + City NullableString `json:"city"` + Continent NullableString `json:"continent"` + Country NullableString `json:"country"` + CountryCode *string `json:"country_code,omitempty"` + Latitude NullableFloat64 `json:"latitude,omitempty"` + Longitude NullableFloat64 `json:"longitude,omitempty"` + PostalCode NullableString `json:"postal_code"` +} + +// NewGeoIpLocation instantiates a new GeoIpLocation object +// 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 NewGeoIpLocation(city NullableString, continent NullableString, country NullableString, postalCode NullableString) *GeoIpLocation { + this := GeoIpLocation{} + this.City = city + this.Continent = continent + this.Country = country + this.PostalCode = postalCode + return &this +} + +// NewGeoIpLocationWithDefaults instantiates a new GeoIpLocation object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewGeoIpLocationWithDefaults() *GeoIpLocation { + this := GeoIpLocation{} + return &this +} + +// GetCity returns the City field value +// If the value is explicit nil, the zero value for string will be returned +func (o *GeoIpLocation) GetCity() string { + if o == nil || o.City.Get() == nil { + var ret string + return ret + } + + return *o.City.Get() +} + +// GetCityOk returns a tuple with the City 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 *GeoIpLocation) GetCityOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.City.Get(), o.City.IsSet() +} + +// SetCity sets field value +func (o *GeoIpLocation) SetCity(v string) { + o.City.Set(&v) +} + +// GetContinent returns the Continent field value +// If the value is explicit nil, the zero value for string will be returned +func (o *GeoIpLocation) GetContinent() string { + if o == nil || o.Continent.Get() == nil { + var ret string + return ret + } + + return *o.Continent.Get() +} + +// GetContinentOk returns a tuple with the Continent 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 *GeoIpLocation) GetContinentOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.Continent.Get(), o.Continent.IsSet() +} + +// SetContinent sets field value +func (o *GeoIpLocation) SetContinent(v string) { + o.Continent.Set(&v) +} + +// GetCountry returns the Country field value +// If the value is explicit nil, the zero value for string will be returned +func (o *GeoIpLocation) GetCountry() string { + if o == nil || o.Country.Get() == nil { + var ret string + return ret + } + + return *o.Country.Get() +} + +// GetCountryOk returns a tuple with the Country 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 *GeoIpLocation) GetCountryOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.Country.Get(), o.Country.IsSet() +} + +// SetCountry sets field value +func (o *GeoIpLocation) SetCountry(v string) { + o.Country.Set(&v) +} + +// GetCountryCode returns the CountryCode field value if set, zero value otherwise. +func (o *GeoIpLocation) GetCountryCode() string { + if o == nil || isNil(o.CountryCode) { + var ret string + return ret + } + return *o.CountryCode +} + +// GetCountryCodeOk returns a tuple with the CountryCode field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *GeoIpLocation) GetCountryCodeOk() (*string, bool) { + if o == nil || isNil(o.CountryCode) { + return nil, false + } + return o.CountryCode, true +} + +// HasCountryCode returns a boolean if a field has been set. +func (o *GeoIpLocation) HasCountryCode() bool { + if o != nil && !isNil(o.CountryCode) { + return true + } + + return false +} + +// SetCountryCode gets a reference to the given string and assigns it to the CountryCode field. +func (o *GeoIpLocation) SetCountryCode(v string) { + o.CountryCode = &v +} + +// GetLatitude returns the Latitude field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *GeoIpLocation) GetLatitude() float64 { + if o == nil || isNil(o.Latitude.Get()) { + var ret float64 + return ret + } + return *o.Latitude.Get() +} + +// GetLatitudeOk returns a tuple with the Latitude 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 *GeoIpLocation) GetLatitudeOk() (*float64, bool) { + if o == nil { + return nil, false + } + return o.Latitude.Get(), o.Latitude.IsSet() +} + +// HasLatitude returns a boolean if a field has been set. +func (o *GeoIpLocation) HasLatitude() bool { + if o != nil && o.Latitude.IsSet() { + return true + } + + return false +} + +// SetLatitude gets a reference to the given NullableFloat64 and assigns it to the Latitude field. +func (o *GeoIpLocation) SetLatitude(v float64) { + o.Latitude.Set(&v) +} + +// SetLatitudeNil sets the value for Latitude to be an explicit nil +func (o *GeoIpLocation) SetLatitudeNil() { + o.Latitude.Set(nil) +} + +// UnsetLatitude ensures that no value is present for Latitude, not even an explicit nil +func (o *GeoIpLocation) UnsetLatitude() { + o.Latitude.Unset() +} + +// GetLongitude returns the Longitude field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *GeoIpLocation) GetLongitude() float64 { + if o == nil || isNil(o.Longitude.Get()) { + var ret float64 + return ret + } + return *o.Longitude.Get() +} + +// GetLongitudeOk returns a tuple with the Longitude 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 *GeoIpLocation) GetLongitudeOk() (*float64, bool) { + if o == nil { + return nil, false + } + return o.Longitude.Get(), o.Longitude.IsSet() +} + +// HasLongitude returns a boolean if a field has been set. +func (o *GeoIpLocation) HasLongitude() bool { + if o != nil && o.Longitude.IsSet() { + return true + } + + return false +} + +// SetLongitude gets a reference to the given NullableFloat64 and assigns it to the Longitude field. +func (o *GeoIpLocation) SetLongitude(v float64) { + o.Longitude.Set(&v) +} + +// SetLongitudeNil sets the value for Longitude to be an explicit nil +func (o *GeoIpLocation) SetLongitudeNil() { + o.Longitude.Set(nil) +} + +// UnsetLongitude ensures that no value is present for Longitude, not even an explicit nil +func (o *GeoIpLocation) UnsetLongitude() { + o.Longitude.Unset() +} + +// GetPostalCode returns the PostalCode field value +// If the value is explicit nil, the zero value for string will be returned +func (o *GeoIpLocation) GetPostalCode() string { + if o == nil || o.PostalCode.Get() == nil { + var ret string + return ret + } + + return *o.PostalCode.Get() +} + +// GetPostalCodeOk returns a tuple with the PostalCode 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 *GeoIpLocation) GetPostalCodeOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.PostalCode.Get(), o.PostalCode.IsSet() +} + +// SetPostalCode sets field value +func (o *GeoIpLocation) SetPostalCode(v string) { + o.PostalCode.Set(&v) +} + +func (o GeoIpLocation) MarshalJSON() ([]byte, error) { + toSerialize := map[string]interface{}{} + if true { + toSerialize["city"] = o.City.Get() + } + if true { + toSerialize["continent"] = o.Continent.Get() + } + if true { + toSerialize["country"] = o.Country.Get() + } + if !isNil(o.CountryCode) { + toSerialize["country_code"] = o.CountryCode + } + if o.Latitude.IsSet() { + toSerialize["latitude"] = o.Latitude.Get() + } + if o.Longitude.IsSet() { + toSerialize["longitude"] = o.Longitude.Get() + } + if true { + toSerialize["postal_code"] = o.PostalCode.Get() + } + return json.Marshal(toSerialize) +} + +type NullableGeoIpLocation struct { + value *GeoIpLocation + isSet bool +} + +func (v NullableGeoIpLocation) Get() *GeoIpLocation { + return v.value +} + +func (v *NullableGeoIpLocation) Set(val *GeoIpLocation) { + v.value = val + v.isSet = true +} + +func (v NullableGeoIpLocation) IsSet() bool { + return v.isSet +} + +func (v *NullableGeoIpLocation) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableGeoIpLocation(val *GeoIpLocation) *NullableGeoIpLocation { + return &NullableGeoIpLocation{value: val, isSet: true} +} + +func (v NullableGeoIpLocation) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableGeoIpLocation) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} diff --git a/model_go_package_upload.go b/model_go_package_upload.go deleted file mode 100644 index f0909e53..00000000 --- a/model_go_package_upload.go +++ /dev/null @@ -1,2520 +0,0 @@ -/* -Cloudsmith API - -The API to the Cloudsmith Service - -API version: 1.121.3 -Contact: support@cloudsmith.io -*/ - -// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. - -package cloudsmith - -import ( - "encoding/json" -) - -// GoPackageUpload struct for GoPackageUpload -type GoPackageUpload struct { - // - Architectures []PackagesOwnerRepoArchitectures `json:"architectures,omitempty"` - // - CdnUrl *string `json:"cdn_url,omitempty"` - // - ChecksumMd5 *string `json:"checksum_md5,omitempty"` - // - ChecksumSha1 *string `json:"checksum_sha1,omitempty"` - // - ChecksumSha256 *string `json:"checksum_sha256,omitempty"` - // - ChecksumSha512 *string `json:"checksum_sha512,omitempty"` - // A checksum of all of the package's dependencies. - DependenciesChecksumMd5 *string `json:"dependencies_checksum_md5,omitempty"` - // - DependenciesUrl *string `json:"dependencies_url,omitempty"` - // A textual description of this package. - Description *string `json:"description,omitempty"` - // - Distro map[string]interface{} `json:"distro,omitempty"` - // - DistroVersion map[string]interface{} `json:"distro_version,omitempty"` - // - Downloads *int64 `json:"downloads,omitempty"` - // The epoch of the package version (if any). - Epoch *int64 `json:"epoch,omitempty"` - // - Extension *string `json:"extension,omitempty"` - // - Filename *string `json:"filename,omitempty"` - // - Files []PackagesOwnerRepoFiles `json:"files,omitempty"` - // - Format *string `json:"format,omitempty"` - // - FormatUrl *string `json:"format_url,omitempty"` - // Unique and permanent identifier for the package. - IdentifierPerm *string `json:"identifier_perm,omitempty"` - // - Indexed *bool `json:"indexed,omitempty"` - // - IsDownloadable *bool `json:"is_downloadable,omitempty"` - // - IsQuarantined *bool `json:"is_quarantined,omitempty"` - // - IsSyncAwaiting *bool `json:"is_sync_awaiting,omitempty"` - // - IsSyncCompleted *bool `json:"is_sync_completed,omitempty"` - // - IsSyncFailed *bool `json:"is_sync_failed,omitempty"` - // - IsSyncInFlight *bool `json:"is_sync_in_flight,omitempty"` - // - IsSyncInProgress *bool `json:"is_sync_in_progress,omitempty"` - // The license of this package. - License *string `json:"license,omitempty"` - // The name of this package. - Name *string `json:"name,omitempty"` - // - Namespace *string `json:"namespace,omitempty"` - // - NamespaceUrl *string `json:"namespace_url,omitempty"` - // - NumFiles *int64 `json:"num_files,omitempty"` - // The type of package contents. - PackageType *int64 `json:"package_type,omitempty"` - // The release of the package version (if any). - Release *string `json:"release,omitempty"` - // - Repository *string `json:"repository,omitempty"` - // - RepositoryUrl *string `json:"repository_url,omitempty"` - // The datetime the security scanning was completed. - SecurityScanCompletedAt *string `json:"security_scan_completed_at,omitempty"` - // The datetime the security scanning was started. - SecurityScanStartedAt *string `json:"security_scan_started_at,omitempty"` - // - SecurityScanStatus *string `json:"security_scan_status,omitempty"` - // The datetime the security scanning status was updated. - SecurityScanStatusUpdatedAt *string `json:"security_scan_status_updated_at,omitempty"` - // - SelfHtmlUrl *string `json:"self_html_url,omitempty"` - // - SelfUrl *string `json:"self_url,omitempty"` - // - SignatureUrl *string `json:"signature_url,omitempty"` - // The calculated size of the package. - Size *int64 `json:"size,omitempty"` - // The public unique identifier for the package. - Slug *string `json:"slug,omitempty"` - // - SlugPerm *string `json:"slug_perm,omitempty"` - // The synchronisation (in progress) stage of the package. - Stage *int64 `json:"stage,omitempty"` - // - StageStr *string `json:"stage_str,omitempty"` - // The datetime the package stage was updated at. - StageUpdatedAt *string `json:"stage_updated_at,omitempty"` - // The synchronisation status of the package. - Status *int64 `json:"status,omitempty"` - // A textual description for the synchronous status reason (if any - StatusReason *string `json:"status_reason,omitempty"` - // - StatusStr *string `json:"status_str,omitempty"` - // The datetime the package status was updated at. - StatusUpdatedAt *string `json:"status_updated_at,omitempty"` - // - StatusUrl *string `json:"status_url,omitempty"` - // - Subtype *string `json:"subtype,omitempty"` - // A one-liner synopsis of this package. - Summary *string `json:"summary,omitempty"` - // The datetime the package sync was finished at. - SyncFinishedAt *string `json:"sync_finished_at,omitempty"` - // Synchronisation progress (from 0-100) - SyncProgress *int64 `json:"sync_progress,omitempty"` - // All immutable tags on the package, grouped by tag type. Immutable tags cannot be (easily) deleted. - TagsImmutable map[string]interface{} `json:"tags_immutable,omitempty"` - // - TypeDisplay *string `json:"type_display,omitempty"` - // The date this package was uploaded. - UploadedAt *string `json:"uploaded_at,omitempty"` - // - Uploader *string `json:"uploader,omitempty"` - // - UploaderUrl *string `json:"uploader_url,omitempty"` - // The raw version for this package. - Version *string `json:"version,omitempty"` - // - VersionOrig *string `json:"version_orig,omitempty"` - // - VulnerabilityScanResultsUrl *string `json:"vulnerability_scan_results_url,omitempty"` -} - -// NewGoPackageUpload instantiates a new GoPackageUpload object -// 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 NewGoPackageUpload() *GoPackageUpload { - this := GoPackageUpload{} - return &this -} - -// NewGoPackageUploadWithDefaults instantiates a new GoPackageUpload object -// This constructor will only assign default values to properties that have it defined, -// but it doesn't guarantee that properties required by API are set -func NewGoPackageUploadWithDefaults() *GoPackageUpload { - this := GoPackageUpload{} - return &this -} - -// GetArchitectures returns the Architectures field value if set, zero value otherwise. -func (o *GoPackageUpload) GetArchitectures() []PackagesOwnerRepoArchitectures { - if o == nil || o.Architectures == nil { - var ret []PackagesOwnerRepoArchitectures - return ret - } - return o.Architectures -} - -// GetArchitecturesOk returns a tuple with the Architectures field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *GoPackageUpload) GetArchitecturesOk() ([]PackagesOwnerRepoArchitectures, bool) { - if o == nil || o.Architectures == nil { - return nil, false - } - return o.Architectures, true -} - -// HasArchitectures returns a boolean if a field has been set. -func (o *GoPackageUpload) HasArchitectures() bool { - if o != nil && o.Architectures != nil { - return true - } - - return false -} - -// SetArchitectures gets a reference to the given []PackagesOwnerRepoArchitectures and assigns it to the Architectures field. -func (o *GoPackageUpload) SetArchitectures(v []PackagesOwnerRepoArchitectures) { - o.Architectures = v -} - -// GetCdnUrl returns the CdnUrl field value if set, zero value otherwise. -func (o *GoPackageUpload) GetCdnUrl() string { - if o == nil || o.CdnUrl == nil { - var ret string - return ret - } - return *o.CdnUrl -} - -// GetCdnUrlOk returns a tuple with the CdnUrl field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *GoPackageUpload) GetCdnUrlOk() (*string, bool) { - if o == nil || o.CdnUrl == nil { - return nil, false - } - return o.CdnUrl, true -} - -// HasCdnUrl returns a boolean if a field has been set. -func (o *GoPackageUpload) HasCdnUrl() bool { - if o != nil && o.CdnUrl != nil { - return true - } - - return false -} - -// SetCdnUrl gets a reference to the given string and assigns it to the CdnUrl field. -func (o *GoPackageUpload) SetCdnUrl(v string) { - o.CdnUrl = &v -} - -// GetChecksumMd5 returns the ChecksumMd5 field value if set, zero value otherwise. -func (o *GoPackageUpload) GetChecksumMd5() string { - if o == nil || o.ChecksumMd5 == nil { - var ret string - return ret - } - return *o.ChecksumMd5 -} - -// GetChecksumMd5Ok returns a tuple with the ChecksumMd5 field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *GoPackageUpload) GetChecksumMd5Ok() (*string, bool) { - if o == nil || o.ChecksumMd5 == nil { - return nil, false - } - return o.ChecksumMd5, true -} - -// HasChecksumMd5 returns a boolean if a field has been set. -func (o *GoPackageUpload) HasChecksumMd5() bool { - if o != nil && o.ChecksumMd5 != nil { - return true - } - - return false -} - -// SetChecksumMd5 gets a reference to the given string and assigns it to the ChecksumMd5 field. -func (o *GoPackageUpload) SetChecksumMd5(v string) { - o.ChecksumMd5 = &v -} - -// GetChecksumSha1 returns the ChecksumSha1 field value if set, zero value otherwise. -func (o *GoPackageUpload) GetChecksumSha1() string { - if o == nil || o.ChecksumSha1 == nil { - var ret string - return ret - } - return *o.ChecksumSha1 -} - -// GetChecksumSha1Ok returns a tuple with the ChecksumSha1 field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *GoPackageUpload) GetChecksumSha1Ok() (*string, bool) { - if o == nil || o.ChecksumSha1 == nil { - return nil, false - } - return o.ChecksumSha1, true -} - -// HasChecksumSha1 returns a boolean if a field has been set. -func (o *GoPackageUpload) HasChecksumSha1() bool { - if o != nil && o.ChecksumSha1 != nil { - return true - } - - return false -} - -// SetChecksumSha1 gets a reference to the given string and assigns it to the ChecksumSha1 field. -func (o *GoPackageUpload) SetChecksumSha1(v string) { - o.ChecksumSha1 = &v -} - -// GetChecksumSha256 returns the ChecksumSha256 field value if set, zero value otherwise. -func (o *GoPackageUpload) GetChecksumSha256() string { - if o == nil || o.ChecksumSha256 == nil { - var ret string - return ret - } - return *o.ChecksumSha256 -} - -// GetChecksumSha256Ok returns a tuple with the ChecksumSha256 field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *GoPackageUpload) GetChecksumSha256Ok() (*string, bool) { - if o == nil || o.ChecksumSha256 == nil { - return nil, false - } - return o.ChecksumSha256, true -} - -// HasChecksumSha256 returns a boolean if a field has been set. -func (o *GoPackageUpload) HasChecksumSha256() bool { - if o != nil && o.ChecksumSha256 != nil { - return true - } - - return false -} - -// SetChecksumSha256 gets a reference to the given string and assigns it to the ChecksumSha256 field. -func (o *GoPackageUpload) SetChecksumSha256(v string) { - o.ChecksumSha256 = &v -} - -// GetChecksumSha512 returns the ChecksumSha512 field value if set, zero value otherwise. -func (o *GoPackageUpload) GetChecksumSha512() string { - if o == nil || o.ChecksumSha512 == nil { - var ret string - return ret - } - return *o.ChecksumSha512 -} - -// GetChecksumSha512Ok returns a tuple with the ChecksumSha512 field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *GoPackageUpload) GetChecksumSha512Ok() (*string, bool) { - if o == nil || o.ChecksumSha512 == nil { - return nil, false - } - return o.ChecksumSha512, true -} - -// HasChecksumSha512 returns a boolean if a field has been set. -func (o *GoPackageUpload) HasChecksumSha512() bool { - if o != nil && o.ChecksumSha512 != nil { - return true - } - - return false -} - -// SetChecksumSha512 gets a reference to the given string and assigns it to the ChecksumSha512 field. -func (o *GoPackageUpload) SetChecksumSha512(v string) { - o.ChecksumSha512 = &v -} - -// GetDependenciesChecksumMd5 returns the DependenciesChecksumMd5 field value if set, zero value otherwise. -func (o *GoPackageUpload) GetDependenciesChecksumMd5() string { - if o == nil || o.DependenciesChecksumMd5 == nil { - var ret string - return ret - } - return *o.DependenciesChecksumMd5 -} - -// GetDependenciesChecksumMd5Ok returns a tuple with the DependenciesChecksumMd5 field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *GoPackageUpload) GetDependenciesChecksumMd5Ok() (*string, bool) { - if o == nil || o.DependenciesChecksumMd5 == nil { - return nil, false - } - return o.DependenciesChecksumMd5, true -} - -// HasDependenciesChecksumMd5 returns a boolean if a field has been set. -func (o *GoPackageUpload) HasDependenciesChecksumMd5() bool { - if o != nil && o.DependenciesChecksumMd5 != nil { - return true - } - - return false -} - -// SetDependenciesChecksumMd5 gets a reference to the given string and assigns it to the DependenciesChecksumMd5 field. -func (o *GoPackageUpload) SetDependenciesChecksumMd5(v string) { - o.DependenciesChecksumMd5 = &v -} - -// GetDependenciesUrl returns the DependenciesUrl field value if set, zero value otherwise. -func (o *GoPackageUpload) GetDependenciesUrl() string { - if o == nil || o.DependenciesUrl == nil { - var ret string - return ret - } - return *o.DependenciesUrl -} - -// GetDependenciesUrlOk returns a tuple with the DependenciesUrl field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *GoPackageUpload) GetDependenciesUrlOk() (*string, bool) { - if o == nil || o.DependenciesUrl == nil { - return nil, false - } - return o.DependenciesUrl, true -} - -// HasDependenciesUrl returns a boolean if a field has been set. -func (o *GoPackageUpload) HasDependenciesUrl() bool { - if o != nil && o.DependenciesUrl != nil { - return true - } - - return false -} - -// SetDependenciesUrl gets a reference to the given string and assigns it to the DependenciesUrl field. -func (o *GoPackageUpload) SetDependenciesUrl(v string) { - o.DependenciesUrl = &v -} - -// GetDescription returns the Description field value if set, zero value otherwise. -func (o *GoPackageUpload) GetDescription() string { - if o == nil || o.Description == nil { - var ret string - return ret - } - return *o.Description -} - -// GetDescriptionOk returns a tuple with the Description field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *GoPackageUpload) GetDescriptionOk() (*string, bool) { - if o == nil || o.Description == nil { - return nil, false - } - return o.Description, true -} - -// HasDescription returns a boolean if a field has been set. -func (o *GoPackageUpload) HasDescription() bool { - if o != nil && o.Description != nil { - return true - } - - return false -} - -// SetDescription gets a reference to the given string and assigns it to the Description field. -func (o *GoPackageUpload) SetDescription(v string) { - o.Description = &v -} - -// GetDistro returns the Distro field value if set, zero value otherwise. -func (o *GoPackageUpload) GetDistro() map[string]interface{} { - if o == nil || o.Distro == nil { - var ret map[string]interface{} - return ret - } - return o.Distro -} - -// GetDistroOk returns a tuple with the Distro field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *GoPackageUpload) GetDistroOk() (map[string]interface{}, bool) { - if o == nil || o.Distro == nil { - return nil, false - } - return o.Distro, true -} - -// HasDistro returns a boolean if a field has been set. -func (o *GoPackageUpload) HasDistro() bool { - if o != nil && o.Distro != nil { - return true - } - - return false -} - -// SetDistro gets a reference to the given map[string]interface{} and assigns it to the Distro field. -func (o *GoPackageUpload) SetDistro(v map[string]interface{}) { - o.Distro = v -} - -// GetDistroVersion returns the DistroVersion field value if set, zero value otherwise. -func (o *GoPackageUpload) GetDistroVersion() map[string]interface{} { - if o == nil || o.DistroVersion == nil { - var ret map[string]interface{} - return ret - } - return o.DistroVersion -} - -// GetDistroVersionOk returns a tuple with the DistroVersion field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *GoPackageUpload) GetDistroVersionOk() (map[string]interface{}, bool) { - if o == nil || o.DistroVersion == nil { - return nil, false - } - return o.DistroVersion, true -} - -// HasDistroVersion returns a boolean if a field has been set. -func (o *GoPackageUpload) HasDistroVersion() bool { - if o != nil && o.DistroVersion != nil { - return true - } - - return false -} - -// SetDistroVersion gets a reference to the given map[string]interface{} and assigns it to the DistroVersion field. -func (o *GoPackageUpload) SetDistroVersion(v map[string]interface{}) { - o.DistroVersion = v -} - -// GetDownloads returns the Downloads field value if set, zero value otherwise. -func (o *GoPackageUpload) GetDownloads() int64 { - if o == nil || o.Downloads == nil { - var ret int64 - return ret - } - return *o.Downloads -} - -// GetDownloadsOk returns a tuple with the Downloads field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *GoPackageUpload) GetDownloadsOk() (*int64, bool) { - if o == nil || o.Downloads == nil { - return nil, false - } - return o.Downloads, true -} - -// HasDownloads returns a boolean if a field has been set. -func (o *GoPackageUpload) HasDownloads() bool { - if o != nil && o.Downloads != nil { - return true - } - - return false -} - -// SetDownloads gets a reference to the given int64 and assigns it to the Downloads field. -func (o *GoPackageUpload) SetDownloads(v int64) { - o.Downloads = &v -} - -// GetEpoch returns the Epoch field value if set, zero value otherwise. -func (o *GoPackageUpload) GetEpoch() int64 { - if o == nil || o.Epoch == nil { - var ret int64 - return ret - } - return *o.Epoch -} - -// GetEpochOk returns a tuple with the Epoch field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *GoPackageUpload) GetEpochOk() (*int64, bool) { - if o == nil || o.Epoch == nil { - return nil, false - } - return o.Epoch, true -} - -// HasEpoch returns a boolean if a field has been set. -func (o *GoPackageUpload) HasEpoch() bool { - if o != nil && o.Epoch != nil { - return true - } - - return false -} - -// SetEpoch gets a reference to the given int64 and assigns it to the Epoch field. -func (o *GoPackageUpload) SetEpoch(v int64) { - o.Epoch = &v -} - -// GetExtension returns the Extension field value if set, zero value otherwise. -func (o *GoPackageUpload) GetExtension() string { - if o == nil || o.Extension == nil { - var ret string - return ret - } - return *o.Extension -} - -// GetExtensionOk returns a tuple with the Extension field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *GoPackageUpload) GetExtensionOk() (*string, bool) { - if o == nil || o.Extension == nil { - return nil, false - } - return o.Extension, true -} - -// HasExtension returns a boolean if a field has been set. -func (o *GoPackageUpload) HasExtension() bool { - if o != nil && o.Extension != nil { - return true - } - - return false -} - -// SetExtension gets a reference to the given string and assigns it to the Extension field. -func (o *GoPackageUpload) SetExtension(v string) { - o.Extension = &v -} - -// GetFilename returns the Filename field value if set, zero value otherwise. -func (o *GoPackageUpload) GetFilename() string { - if o == nil || o.Filename == nil { - var ret string - return ret - } - return *o.Filename -} - -// GetFilenameOk returns a tuple with the Filename field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *GoPackageUpload) GetFilenameOk() (*string, bool) { - if o == nil || o.Filename == nil { - return nil, false - } - return o.Filename, true -} - -// HasFilename returns a boolean if a field has been set. -func (o *GoPackageUpload) HasFilename() bool { - if o != nil && o.Filename != nil { - return true - } - - return false -} - -// SetFilename gets a reference to the given string and assigns it to the Filename field. -func (o *GoPackageUpload) SetFilename(v string) { - o.Filename = &v -} - -// GetFiles returns the Files field value if set, zero value otherwise. -func (o *GoPackageUpload) GetFiles() []PackagesOwnerRepoFiles { - if o == nil || o.Files == nil { - var ret []PackagesOwnerRepoFiles - return ret - } - return o.Files -} - -// GetFilesOk returns a tuple with the Files field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *GoPackageUpload) GetFilesOk() ([]PackagesOwnerRepoFiles, bool) { - if o == nil || o.Files == nil { - return nil, false - } - return o.Files, true -} - -// HasFiles returns a boolean if a field has been set. -func (o *GoPackageUpload) HasFiles() bool { - if o != nil && o.Files != nil { - return true - } - - return false -} - -// SetFiles gets a reference to the given []PackagesOwnerRepoFiles and assigns it to the Files field. -func (o *GoPackageUpload) SetFiles(v []PackagesOwnerRepoFiles) { - o.Files = v -} - -// GetFormat returns the Format field value if set, zero value otherwise. -func (o *GoPackageUpload) GetFormat() string { - if o == nil || o.Format == nil { - var ret string - return ret - } - return *o.Format -} - -// GetFormatOk returns a tuple with the Format field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *GoPackageUpload) GetFormatOk() (*string, bool) { - if o == nil || o.Format == nil { - return nil, false - } - return o.Format, true -} - -// HasFormat returns a boolean if a field has been set. -func (o *GoPackageUpload) HasFormat() bool { - if o != nil && o.Format != nil { - return true - } - - return false -} - -// SetFormat gets a reference to the given string and assigns it to the Format field. -func (o *GoPackageUpload) SetFormat(v string) { - o.Format = &v -} - -// GetFormatUrl returns the FormatUrl field value if set, zero value otherwise. -func (o *GoPackageUpload) GetFormatUrl() string { - if o == nil || o.FormatUrl == nil { - var ret string - return ret - } - return *o.FormatUrl -} - -// GetFormatUrlOk returns a tuple with the FormatUrl field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *GoPackageUpload) GetFormatUrlOk() (*string, bool) { - if o == nil || o.FormatUrl == nil { - return nil, false - } - return o.FormatUrl, true -} - -// HasFormatUrl returns a boolean if a field has been set. -func (o *GoPackageUpload) HasFormatUrl() bool { - if o != nil && o.FormatUrl != nil { - return true - } - - return false -} - -// SetFormatUrl gets a reference to the given string and assigns it to the FormatUrl field. -func (o *GoPackageUpload) SetFormatUrl(v string) { - o.FormatUrl = &v -} - -// GetIdentifierPerm returns the IdentifierPerm field value if set, zero value otherwise. -func (o *GoPackageUpload) GetIdentifierPerm() string { - if o == nil || o.IdentifierPerm == nil { - var ret string - return ret - } - return *o.IdentifierPerm -} - -// GetIdentifierPermOk returns a tuple with the IdentifierPerm field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *GoPackageUpload) GetIdentifierPermOk() (*string, bool) { - if o == nil || o.IdentifierPerm == nil { - return nil, false - } - return o.IdentifierPerm, true -} - -// HasIdentifierPerm returns a boolean if a field has been set. -func (o *GoPackageUpload) HasIdentifierPerm() bool { - if o != nil && o.IdentifierPerm != nil { - return true - } - - return false -} - -// SetIdentifierPerm gets a reference to the given string and assigns it to the IdentifierPerm field. -func (o *GoPackageUpload) SetIdentifierPerm(v string) { - o.IdentifierPerm = &v -} - -// GetIndexed returns the Indexed field value if set, zero value otherwise. -func (o *GoPackageUpload) GetIndexed() bool { - if o == nil || o.Indexed == nil { - var ret bool - return ret - } - return *o.Indexed -} - -// GetIndexedOk returns a tuple with the Indexed field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *GoPackageUpload) GetIndexedOk() (*bool, bool) { - if o == nil || o.Indexed == nil { - return nil, false - } - return o.Indexed, true -} - -// HasIndexed returns a boolean if a field has been set. -func (o *GoPackageUpload) HasIndexed() bool { - if o != nil && o.Indexed != nil { - return true - } - - return false -} - -// SetIndexed gets a reference to the given bool and assigns it to the Indexed field. -func (o *GoPackageUpload) SetIndexed(v bool) { - o.Indexed = &v -} - -// GetIsDownloadable returns the IsDownloadable field value if set, zero value otherwise. -func (o *GoPackageUpload) GetIsDownloadable() bool { - if o == nil || o.IsDownloadable == nil { - var ret bool - return ret - } - return *o.IsDownloadable -} - -// GetIsDownloadableOk returns a tuple with the IsDownloadable field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *GoPackageUpload) GetIsDownloadableOk() (*bool, bool) { - if o == nil || o.IsDownloadable == nil { - return nil, false - } - return o.IsDownloadable, true -} - -// HasIsDownloadable returns a boolean if a field has been set. -func (o *GoPackageUpload) HasIsDownloadable() bool { - if o != nil && o.IsDownloadable != nil { - return true - } - - return false -} - -// SetIsDownloadable gets a reference to the given bool and assigns it to the IsDownloadable field. -func (o *GoPackageUpload) SetIsDownloadable(v bool) { - o.IsDownloadable = &v -} - -// GetIsQuarantined returns the IsQuarantined field value if set, zero value otherwise. -func (o *GoPackageUpload) GetIsQuarantined() bool { - if o == nil || o.IsQuarantined == nil { - var ret bool - return ret - } - return *o.IsQuarantined -} - -// GetIsQuarantinedOk returns a tuple with the IsQuarantined field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *GoPackageUpload) GetIsQuarantinedOk() (*bool, bool) { - if o == nil || o.IsQuarantined == nil { - return nil, false - } - return o.IsQuarantined, true -} - -// HasIsQuarantined returns a boolean if a field has been set. -func (o *GoPackageUpload) HasIsQuarantined() bool { - if o != nil && o.IsQuarantined != nil { - return true - } - - return false -} - -// SetIsQuarantined gets a reference to the given bool and assigns it to the IsQuarantined field. -func (o *GoPackageUpload) SetIsQuarantined(v bool) { - o.IsQuarantined = &v -} - -// GetIsSyncAwaiting returns the IsSyncAwaiting field value if set, zero value otherwise. -func (o *GoPackageUpload) GetIsSyncAwaiting() bool { - if o == nil || o.IsSyncAwaiting == nil { - var ret bool - return ret - } - return *o.IsSyncAwaiting -} - -// GetIsSyncAwaitingOk returns a tuple with the IsSyncAwaiting field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *GoPackageUpload) GetIsSyncAwaitingOk() (*bool, bool) { - if o == nil || o.IsSyncAwaiting == nil { - return nil, false - } - return o.IsSyncAwaiting, true -} - -// HasIsSyncAwaiting returns a boolean if a field has been set. -func (o *GoPackageUpload) HasIsSyncAwaiting() bool { - if o != nil && o.IsSyncAwaiting != nil { - return true - } - - return false -} - -// SetIsSyncAwaiting gets a reference to the given bool and assigns it to the IsSyncAwaiting field. -func (o *GoPackageUpload) SetIsSyncAwaiting(v bool) { - o.IsSyncAwaiting = &v -} - -// GetIsSyncCompleted returns the IsSyncCompleted field value if set, zero value otherwise. -func (o *GoPackageUpload) GetIsSyncCompleted() bool { - if o == nil || o.IsSyncCompleted == nil { - var ret bool - return ret - } - return *o.IsSyncCompleted -} - -// GetIsSyncCompletedOk returns a tuple with the IsSyncCompleted field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *GoPackageUpload) GetIsSyncCompletedOk() (*bool, bool) { - if o == nil || o.IsSyncCompleted == nil { - return nil, false - } - return o.IsSyncCompleted, true -} - -// HasIsSyncCompleted returns a boolean if a field has been set. -func (o *GoPackageUpload) HasIsSyncCompleted() bool { - if o != nil && o.IsSyncCompleted != nil { - return true - } - - return false -} - -// SetIsSyncCompleted gets a reference to the given bool and assigns it to the IsSyncCompleted field. -func (o *GoPackageUpload) SetIsSyncCompleted(v bool) { - o.IsSyncCompleted = &v -} - -// GetIsSyncFailed returns the IsSyncFailed field value if set, zero value otherwise. -func (o *GoPackageUpload) GetIsSyncFailed() bool { - if o == nil || o.IsSyncFailed == nil { - var ret bool - return ret - } - return *o.IsSyncFailed -} - -// GetIsSyncFailedOk returns a tuple with the IsSyncFailed field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *GoPackageUpload) GetIsSyncFailedOk() (*bool, bool) { - if o == nil || o.IsSyncFailed == nil { - return nil, false - } - return o.IsSyncFailed, true -} - -// HasIsSyncFailed returns a boolean if a field has been set. -func (o *GoPackageUpload) HasIsSyncFailed() bool { - if o != nil && o.IsSyncFailed != nil { - return true - } - - return false -} - -// SetIsSyncFailed gets a reference to the given bool and assigns it to the IsSyncFailed field. -func (o *GoPackageUpload) SetIsSyncFailed(v bool) { - o.IsSyncFailed = &v -} - -// GetIsSyncInFlight returns the IsSyncInFlight field value if set, zero value otherwise. -func (o *GoPackageUpload) GetIsSyncInFlight() bool { - if o == nil || o.IsSyncInFlight == nil { - var ret bool - return ret - } - return *o.IsSyncInFlight -} - -// GetIsSyncInFlightOk returns a tuple with the IsSyncInFlight field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *GoPackageUpload) GetIsSyncInFlightOk() (*bool, bool) { - if o == nil || o.IsSyncInFlight == nil { - return nil, false - } - return o.IsSyncInFlight, true -} - -// HasIsSyncInFlight returns a boolean if a field has been set. -func (o *GoPackageUpload) HasIsSyncInFlight() bool { - if o != nil && o.IsSyncInFlight != nil { - return true - } - - return false -} - -// SetIsSyncInFlight gets a reference to the given bool and assigns it to the IsSyncInFlight field. -func (o *GoPackageUpload) SetIsSyncInFlight(v bool) { - o.IsSyncInFlight = &v -} - -// GetIsSyncInProgress returns the IsSyncInProgress field value if set, zero value otherwise. -func (o *GoPackageUpload) GetIsSyncInProgress() bool { - if o == nil || o.IsSyncInProgress == nil { - var ret bool - return ret - } - return *o.IsSyncInProgress -} - -// GetIsSyncInProgressOk returns a tuple with the IsSyncInProgress field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *GoPackageUpload) GetIsSyncInProgressOk() (*bool, bool) { - if o == nil || o.IsSyncInProgress == nil { - return nil, false - } - return o.IsSyncInProgress, true -} - -// HasIsSyncInProgress returns a boolean if a field has been set. -func (o *GoPackageUpload) HasIsSyncInProgress() bool { - if o != nil && o.IsSyncInProgress != nil { - return true - } - - return false -} - -// SetIsSyncInProgress gets a reference to the given bool and assigns it to the IsSyncInProgress field. -func (o *GoPackageUpload) SetIsSyncInProgress(v bool) { - o.IsSyncInProgress = &v -} - -// GetLicense returns the License field value if set, zero value otherwise. -func (o *GoPackageUpload) GetLicense() string { - if o == nil || o.License == nil { - var ret string - return ret - } - return *o.License -} - -// GetLicenseOk returns a tuple with the License field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *GoPackageUpload) GetLicenseOk() (*string, bool) { - if o == nil || o.License == nil { - return nil, false - } - return o.License, true -} - -// HasLicense returns a boolean if a field has been set. -func (o *GoPackageUpload) HasLicense() bool { - if o != nil && o.License != nil { - return true - } - - return false -} - -// SetLicense gets a reference to the given string and assigns it to the License field. -func (o *GoPackageUpload) SetLicense(v string) { - o.License = &v -} - -// GetName returns the Name field value if set, zero value otherwise. -func (o *GoPackageUpload) GetName() string { - if o == nil || o.Name == nil { - var ret string - return ret - } - return *o.Name -} - -// GetNameOk returns a tuple with the Name field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *GoPackageUpload) GetNameOk() (*string, bool) { - if o == nil || o.Name == nil { - return nil, false - } - return o.Name, true -} - -// HasName returns a boolean if a field has been set. -func (o *GoPackageUpload) HasName() bool { - if o != nil && o.Name != nil { - return true - } - - return false -} - -// SetName gets a reference to the given string and assigns it to the Name field. -func (o *GoPackageUpload) SetName(v string) { - o.Name = &v -} - -// GetNamespace returns the Namespace field value if set, zero value otherwise. -func (o *GoPackageUpload) GetNamespace() string { - if o == nil || o.Namespace == nil { - var ret string - return ret - } - return *o.Namespace -} - -// GetNamespaceOk returns a tuple with the Namespace field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *GoPackageUpload) GetNamespaceOk() (*string, bool) { - if o == nil || o.Namespace == nil { - return nil, false - } - return o.Namespace, true -} - -// HasNamespace returns a boolean if a field has been set. -func (o *GoPackageUpload) HasNamespace() bool { - if o != nil && o.Namespace != nil { - return true - } - - return false -} - -// SetNamespace gets a reference to the given string and assigns it to the Namespace field. -func (o *GoPackageUpload) SetNamespace(v string) { - o.Namespace = &v -} - -// GetNamespaceUrl returns the NamespaceUrl field value if set, zero value otherwise. -func (o *GoPackageUpload) GetNamespaceUrl() string { - if o == nil || o.NamespaceUrl == nil { - var ret string - return ret - } - return *o.NamespaceUrl -} - -// GetNamespaceUrlOk returns a tuple with the NamespaceUrl field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *GoPackageUpload) GetNamespaceUrlOk() (*string, bool) { - if o == nil || o.NamespaceUrl == nil { - return nil, false - } - return o.NamespaceUrl, true -} - -// HasNamespaceUrl returns a boolean if a field has been set. -func (o *GoPackageUpload) HasNamespaceUrl() bool { - if o != nil && o.NamespaceUrl != nil { - return true - } - - return false -} - -// SetNamespaceUrl gets a reference to the given string and assigns it to the NamespaceUrl field. -func (o *GoPackageUpload) SetNamespaceUrl(v string) { - o.NamespaceUrl = &v -} - -// GetNumFiles returns the NumFiles field value if set, zero value otherwise. -func (o *GoPackageUpload) GetNumFiles() int64 { - if o == nil || o.NumFiles == nil { - var ret int64 - return ret - } - return *o.NumFiles -} - -// GetNumFilesOk returns a tuple with the NumFiles field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *GoPackageUpload) GetNumFilesOk() (*int64, bool) { - if o == nil || o.NumFiles == nil { - return nil, false - } - return o.NumFiles, true -} - -// HasNumFiles returns a boolean if a field has been set. -func (o *GoPackageUpload) HasNumFiles() bool { - if o != nil && o.NumFiles != nil { - return true - } - - return false -} - -// SetNumFiles gets a reference to the given int64 and assigns it to the NumFiles field. -func (o *GoPackageUpload) SetNumFiles(v int64) { - o.NumFiles = &v -} - -// GetPackageType returns the PackageType field value if set, zero value otherwise. -func (o *GoPackageUpload) GetPackageType() int64 { - if o == nil || o.PackageType == nil { - var ret int64 - return ret - } - return *o.PackageType -} - -// GetPackageTypeOk returns a tuple with the PackageType field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *GoPackageUpload) GetPackageTypeOk() (*int64, bool) { - if o == nil || o.PackageType == nil { - return nil, false - } - return o.PackageType, true -} - -// HasPackageType returns a boolean if a field has been set. -func (o *GoPackageUpload) HasPackageType() bool { - if o != nil && o.PackageType != nil { - return true - } - - return false -} - -// SetPackageType gets a reference to the given int64 and assigns it to the PackageType field. -func (o *GoPackageUpload) SetPackageType(v int64) { - o.PackageType = &v -} - -// GetRelease returns the Release field value if set, zero value otherwise. -func (o *GoPackageUpload) GetRelease() string { - if o == nil || o.Release == nil { - var ret string - return ret - } - return *o.Release -} - -// GetReleaseOk returns a tuple with the Release field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *GoPackageUpload) GetReleaseOk() (*string, bool) { - if o == nil || o.Release == nil { - return nil, false - } - return o.Release, true -} - -// HasRelease returns a boolean if a field has been set. -func (o *GoPackageUpload) HasRelease() bool { - if o != nil && o.Release != nil { - return true - } - - return false -} - -// SetRelease gets a reference to the given string and assigns it to the Release field. -func (o *GoPackageUpload) SetRelease(v string) { - o.Release = &v -} - -// GetRepository returns the Repository field value if set, zero value otherwise. -func (o *GoPackageUpload) GetRepository() string { - if o == nil || o.Repository == nil { - var ret string - return ret - } - return *o.Repository -} - -// GetRepositoryOk returns a tuple with the Repository field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *GoPackageUpload) GetRepositoryOk() (*string, bool) { - if o == nil || o.Repository == nil { - return nil, false - } - return o.Repository, true -} - -// HasRepository returns a boolean if a field has been set. -func (o *GoPackageUpload) HasRepository() bool { - if o != nil && o.Repository != nil { - return true - } - - return false -} - -// SetRepository gets a reference to the given string and assigns it to the Repository field. -func (o *GoPackageUpload) SetRepository(v string) { - o.Repository = &v -} - -// GetRepositoryUrl returns the RepositoryUrl field value if set, zero value otherwise. -func (o *GoPackageUpload) GetRepositoryUrl() string { - if o == nil || o.RepositoryUrl == nil { - var ret string - return ret - } - return *o.RepositoryUrl -} - -// GetRepositoryUrlOk returns a tuple with the RepositoryUrl field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *GoPackageUpload) GetRepositoryUrlOk() (*string, bool) { - if o == nil || o.RepositoryUrl == nil { - return nil, false - } - return o.RepositoryUrl, true -} - -// HasRepositoryUrl returns a boolean if a field has been set. -func (o *GoPackageUpload) HasRepositoryUrl() bool { - if o != nil && o.RepositoryUrl != nil { - return true - } - - return false -} - -// SetRepositoryUrl gets a reference to the given string and assigns it to the RepositoryUrl field. -func (o *GoPackageUpload) SetRepositoryUrl(v string) { - o.RepositoryUrl = &v -} - -// GetSecurityScanCompletedAt returns the SecurityScanCompletedAt field value if set, zero value otherwise. -func (o *GoPackageUpload) GetSecurityScanCompletedAt() string { - if o == nil || o.SecurityScanCompletedAt == nil { - var ret string - return ret - } - return *o.SecurityScanCompletedAt -} - -// GetSecurityScanCompletedAtOk returns a tuple with the SecurityScanCompletedAt field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *GoPackageUpload) GetSecurityScanCompletedAtOk() (*string, bool) { - if o == nil || o.SecurityScanCompletedAt == nil { - return nil, false - } - return o.SecurityScanCompletedAt, true -} - -// HasSecurityScanCompletedAt returns a boolean if a field has been set. -func (o *GoPackageUpload) HasSecurityScanCompletedAt() bool { - if o != nil && o.SecurityScanCompletedAt != nil { - return true - } - - return false -} - -// SetSecurityScanCompletedAt gets a reference to the given string and assigns it to the SecurityScanCompletedAt field. -func (o *GoPackageUpload) SetSecurityScanCompletedAt(v string) { - o.SecurityScanCompletedAt = &v -} - -// GetSecurityScanStartedAt returns the SecurityScanStartedAt field value if set, zero value otherwise. -func (o *GoPackageUpload) GetSecurityScanStartedAt() string { - if o == nil || o.SecurityScanStartedAt == nil { - var ret string - return ret - } - return *o.SecurityScanStartedAt -} - -// GetSecurityScanStartedAtOk returns a tuple with the SecurityScanStartedAt field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *GoPackageUpload) GetSecurityScanStartedAtOk() (*string, bool) { - if o == nil || o.SecurityScanStartedAt == nil { - return nil, false - } - return o.SecurityScanStartedAt, true -} - -// HasSecurityScanStartedAt returns a boolean if a field has been set. -func (o *GoPackageUpload) HasSecurityScanStartedAt() bool { - if o != nil && o.SecurityScanStartedAt != nil { - return true - } - - return false -} - -// SetSecurityScanStartedAt gets a reference to the given string and assigns it to the SecurityScanStartedAt field. -func (o *GoPackageUpload) SetSecurityScanStartedAt(v string) { - o.SecurityScanStartedAt = &v -} - -// GetSecurityScanStatus returns the SecurityScanStatus field value if set, zero value otherwise. -func (o *GoPackageUpload) GetSecurityScanStatus() string { - if o == nil || o.SecurityScanStatus == nil { - var ret string - return ret - } - return *o.SecurityScanStatus -} - -// GetSecurityScanStatusOk returns a tuple with the SecurityScanStatus field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *GoPackageUpload) GetSecurityScanStatusOk() (*string, bool) { - if o == nil || o.SecurityScanStatus == nil { - return nil, false - } - return o.SecurityScanStatus, true -} - -// HasSecurityScanStatus returns a boolean if a field has been set. -func (o *GoPackageUpload) HasSecurityScanStatus() bool { - if o != nil && o.SecurityScanStatus != nil { - return true - } - - return false -} - -// SetSecurityScanStatus gets a reference to the given string and assigns it to the SecurityScanStatus field. -func (o *GoPackageUpload) SetSecurityScanStatus(v string) { - o.SecurityScanStatus = &v -} - -// GetSecurityScanStatusUpdatedAt returns the SecurityScanStatusUpdatedAt field value if set, zero value otherwise. -func (o *GoPackageUpload) GetSecurityScanStatusUpdatedAt() string { - if o == nil || o.SecurityScanStatusUpdatedAt == nil { - var ret string - return ret - } - return *o.SecurityScanStatusUpdatedAt -} - -// GetSecurityScanStatusUpdatedAtOk returns a tuple with the SecurityScanStatusUpdatedAt field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *GoPackageUpload) GetSecurityScanStatusUpdatedAtOk() (*string, bool) { - if o == nil || o.SecurityScanStatusUpdatedAt == nil { - return nil, false - } - return o.SecurityScanStatusUpdatedAt, true -} - -// HasSecurityScanStatusUpdatedAt returns a boolean if a field has been set. -func (o *GoPackageUpload) HasSecurityScanStatusUpdatedAt() bool { - if o != nil && o.SecurityScanStatusUpdatedAt != nil { - return true - } - - return false -} - -// SetSecurityScanStatusUpdatedAt gets a reference to the given string and assigns it to the SecurityScanStatusUpdatedAt field. -func (o *GoPackageUpload) SetSecurityScanStatusUpdatedAt(v string) { - o.SecurityScanStatusUpdatedAt = &v -} - -// GetSelfHtmlUrl returns the SelfHtmlUrl field value if set, zero value otherwise. -func (o *GoPackageUpload) GetSelfHtmlUrl() string { - if o == nil || o.SelfHtmlUrl == nil { - var ret string - return ret - } - return *o.SelfHtmlUrl -} - -// GetSelfHtmlUrlOk returns a tuple with the SelfHtmlUrl field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *GoPackageUpload) GetSelfHtmlUrlOk() (*string, bool) { - if o == nil || o.SelfHtmlUrl == nil { - return nil, false - } - return o.SelfHtmlUrl, true -} - -// HasSelfHtmlUrl returns a boolean if a field has been set. -func (o *GoPackageUpload) HasSelfHtmlUrl() bool { - if o != nil && o.SelfHtmlUrl != nil { - return true - } - - return false -} - -// SetSelfHtmlUrl gets a reference to the given string and assigns it to the SelfHtmlUrl field. -func (o *GoPackageUpload) SetSelfHtmlUrl(v string) { - o.SelfHtmlUrl = &v -} - -// GetSelfUrl returns the SelfUrl field value if set, zero value otherwise. -func (o *GoPackageUpload) GetSelfUrl() string { - if o == nil || o.SelfUrl == nil { - var ret string - return ret - } - return *o.SelfUrl -} - -// GetSelfUrlOk returns a tuple with the SelfUrl field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *GoPackageUpload) GetSelfUrlOk() (*string, bool) { - if o == nil || o.SelfUrl == nil { - return nil, false - } - return o.SelfUrl, true -} - -// HasSelfUrl returns a boolean if a field has been set. -func (o *GoPackageUpload) HasSelfUrl() bool { - if o != nil && o.SelfUrl != nil { - return true - } - - return false -} - -// SetSelfUrl gets a reference to the given string and assigns it to the SelfUrl field. -func (o *GoPackageUpload) SetSelfUrl(v string) { - o.SelfUrl = &v -} - -// GetSignatureUrl returns the SignatureUrl field value if set, zero value otherwise. -func (o *GoPackageUpload) GetSignatureUrl() string { - if o == nil || o.SignatureUrl == nil { - var ret string - return ret - } - return *o.SignatureUrl -} - -// GetSignatureUrlOk returns a tuple with the SignatureUrl field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *GoPackageUpload) GetSignatureUrlOk() (*string, bool) { - if o == nil || o.SignatureUrl == nil { - return nil, false - } - return o.SignatureUrl, true -} - -// HasSignatureUrl returns a boolean if a field has been set. -func (o *GoPackageUpload) HasSignatureUrl() bool { - if o != nil && o.SignatureUrl != nil { - return true - } - - return false -} - -// SetSignatureUrl gets a reference to the given string and assigns it to the SignatureUrl field. -func (o *GoPackageUpload) SetSignatureUrl(v string) { - o.SignatureUrl = &v -} - -// GetSize returns the Size field value if set, zero value otherwise. -func (o *GoPackageUpload) GetSize() int64 { - if o == nil || o.Size == nil { - var ret int64 - return ret - } - return *o.Size -} - -// GetSizeOk returns a tuple with the Size field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *GoPackageUpload) GetSizeOk() (*int64, bool) { - if o == nil || o.Size == nil { - return nil, false - } - return o.Size, true -} - -// HasSize returns a boolean if a field has been set. -func (o *GoPackageUpload) HasSize() bool { - if o != nil && o.Size != nil { - return true - } - - return false -} - -// SetSize gets a reference to the given int64 and assigns it to the Size field. -func (o *GoPackageUpload) SetSize(v int64) { - o.Size = &v -} - -// GetSlug returns the Slug field value if set, zero value otherwise. -func (o *GoPackageUpload) GetSlug() string { - if o == nil || o.Slug == nil { - var ret string - return ret - } - return *o.Slug -} - -// GetSlugOk returns a tuple with the Slug field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *GoPackageUpload) GetSlugOk() (*string, bool) { - if o == nil || o.Slug == nil { - return nil, false - } - return o.Slug, true -} - -// HasSlug returns a boolean if a field has been set. -func (o *GoPackageUpload) HasSlug() bool { - if o != nil && o.Slug != nil { - return true - } - - return false -} - -// SetSlug gets a reference to the given string and assigns it to the Slug field. -func (o *GoPackageUpload) SetSlug(v string) { - o.Slug = &v -} - -// GetSlugPerm returns the SlugPerm field value if set, zero value otherwise. -func (o *GoPackageUpload) GetSlugPerm() string { - if o == nil || o.SlugPerm == nil { - var ret string - return ret - } - return *o.SlugPerm -} - -// GetSlugPermOk returns a tuple with the SlugPerm field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *GoPackageUpload) GetSlugPermOk() (*string, bool) { - if o == nil || o.SlugPerm == nil { - return nil, false - } - return o.SlugPerm, true -} - -// HasSlugPerm returns a boolean if a field has been set. -func (o *GoPackageUpload) HasSlugPerm() bool { - if o != nil && o.SlugPerm != nil { - return true - } - - return false -} - -// SetSlugPerm gets a reference to the given string and assigns it to the SlugPerm field. -func (o *GoPackageUpload) SetSlugPerm(v string) { - o.SlugPerm = &v -} - -// GetStage returns the Stage field value if set, zero value otherwise. -func (o *GoPackageUpload) GetStage() int64 { - if o == nil || o.Stage == nil { - var ret int64 - return ret - } - return *o.Stage -} - -// GetStageOk returns a tuple with the Stage field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *GoPackageUpload) GetStageOk() (*int64, bool) { - if o == nil || o.Stage == nil { - return nil, false - } - return o.Stage, true -} - -// HasStage returns a boolean if a field has been set. -func (o *GoPackageUpload) HasStage() bool { - if o != nil && o.Stage != nil { - return true - } - - return false -} - -// SetStage gets a reference to the given int64 and assigns it to the Stage field. -func (o *GoPackageUpload) SetStage(v int64) { - o.Stage = &v -} - -// GetStageStr returns the StageStr field value if set, zero value otherwise. -func (o *GoPackageUpload) GetStageStr() string { - if o == nil || o.StageStr == nil { - var ret string - return ret - } - return *o.StageStr -} - -// GetStageStrOk returns a tuple with the StageStr field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *GoPackageUpload) GetStageStrOk() (*string, bool) { - if o == nil || o.StageStr == nil { - return nil, false - } - return o.StageStr, true -} - -// HasStageStr returns a boolean if a field has been set. -func (o *GoPackageUpload) HasStageStr() bool { - if o != nil && o.StageStr != nil { - return true - } - - return false -} - -// SetStageStr gets a reference to the given string and assigns it to the StageStr field. -func (o *GoPackageUpload) SetStageStr(v string) { - o.StageStr = &v -} - -// GetStageUpdatedAt returns the StageUpdatedAt field value if set, zero value otherwise. -func (o *GoPackageUpload) GetStageUpdatedAt() string { - if o == nil || o.StageUpdatedAt == nil { - var ret string - return ret - } - return *o.StageUpdatedAt -} - -// GetStageUpdatedAtOk returns a tuple with the StageUpdatedAt field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *GoPackageUpload) GetStageUpdatedAtOk() (*string, bool) { - if o == nil || o.StageUpdatedAt == nil { - return nil, false - } - return o.StageUpdatedAt, true -} - -// HasStageUpdatedAt returns a boolean if a field has been set. -func (o *GoPackageUpload) HasStageUpdatedAt() bool { - if o != nil && o.StageUpdatedAt != nil { - return true - } - - return false -} - -// SetStageUpdatedAt gets a reference to the given string and assigns it to the StageUpdatedAt field. -func (o *GoPackageUpload) SetStageUpdatedAt(v string) { - o.StageUpdatedAt = &v -} - -// GetStatus returns the Status field value if set, zero value otherwise. -func (o *GoPackageUpload) GetStatus() int64 { - if o == nil || o.Status == nil { - var ret int64 - return ret - } - return *o.Status -} - -// GetStatusOk returns a tuple with the Status field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *GoPackageUpload) GetStatusOk() (*int64, bool) { - if o == nil || o.Status == nil { - return nil, false - } - return o.Status, true -} - -// HasStatus returns a boolean if a field has been set. -func (o *GoPackageUpload) HasStatus() bool { - if o != nil && o.Status != nil { - return true - } - - return false -} - -// SetStatus gets a reference to the given int64 and assigns it to the Status field. -func (o *GoPackageUpload) SetStatus(v int64) { - o.Status = &v -} - -// GetStatusReason returns the StatusReason field value if set, zero value otherwise. -func (o *GoPackageUpload) GetStatusReason() string { - if o == nil || o.StatusReason == nil { - var ret string - return ret - } - return *o.StatusReason -} - -// GetStatusReasonOk returns a tuple with the StatusReason field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *GoPackageUpload) GetStatusReasonOk() (*string, bool) { - if o == nil || o.StatusReason == nil { - return nil, false - } - return o.StatusReason, true -} - -// HasStatusReason returns a boolean if a field has been set. -func (o *GoPackageUpload) HasStatusReason() bool { - if o != nil && o.StatusReason != nil { - return true - } - - return false -} - -// SetStatusReason gets a reference to the given string and assigns it to the StatusReason field. -func (o *GoPackageUpload) SetStatusReason(v string) { - o.StatusReason = &v -} - -// GetStatusStr returns the StatusStr field value if set, zero value otherwise. -func (o *GoPackageUpload) GetStatusStr() string { - if o == nil || o.StatusStr == nil { - var ret string - return ret - } - return *o.StatusStr -} - -// GetStatusStrOk returns a tuple with the StatusStr field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *GoPackageUpload) GetStatusStrOk() (*string, bool) { - if o == nil || o.StatusStr == nil { - return nil, false - } - return o.StatusStr, true -} - -// HasStatusStr returns a boolean if a field has been set. -func (o *GoPackageUpload) HasStatusStr() bool { - if o != nil && o.StatusStr != nil { - return true - } - - return false -} - -// SetStatusStr gets a reference to the given string and assigns it to the StatusStr field. -func (o *GoPackageUpload) SetStatusStr(v string) { - o.StatusStr = &v -} - -// GetStatusUpdatedAt returns the StatusUpdatedAt field value if set, zero value otherwise. -func (o *GoPackageUpload) GetStatusUpdatedAt() string { - if o == nil || o.StatusUpdatedAt == nil { - var ret string - return ret - } - return *o.StatusUpdatedAt -} - -// GetStatusUpdatedAtOk returns a tuple with the StatusUpdatedAt field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *GoPackageUpload) GetStatusUpdatedAtOk() (*string, bool) { - if o == nil || o.StatusUpdatedAt == nil { - return nil, false - } - return o.StatusUpdatedAt, true -} - -// HasStatusUpdatedAt returns a boolean if a field has been set. -func (o *GoPackageUpload) HasStatusUpdatedAt() bool { - if o != nil && o.StatusUpdatedAt != nil { - return true - } - - return false -} - -// SetStatusUpdatedAt gets a reference to the given string and assigns it to the StatusUpdatedAt field. -func (o *GoPackageUpload) SetStatusUpdatedAt(v string) { - o.StatusUpdatedAt = &v -} - -// GetStatusUrl returns the StatusUrl field value if set, zero value otherwise. -func (o *GoPackageUpload) GetStatusUrl() string { - if o == nil || o.StatusUrl == nil { - var ret string - return ret - } - return *o.StatusUrl -} - -// GetStatusUrlOk returns a tuple with the StatusUrl field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *GoPackageUpload) GetStatusUrlOk() (*string, bool) { - if o == nil || o.StatusUrl == nil { - return nil, false - } - return o.StatusUrl, true -} - -// HasStatusUrl returns a boolean if a field has been set. -func (o *GoPackageUpload) HasStatusUrl() bool { - if o != nil && o.StatusUrl != nil { - return true - } - - return false -} - -// SetStatusUrl gets a reference to the given string and assigns it to the StatusUrl field. -func (o *GoPackageUpload) SetStatusUrl(v string) { - o.StatusUrl = &v -} - -// GetSubtype returns the Subtype field value if set, zero value otherwise. -func (o *GoPackageUpload) GetSubtype() string { - if o == nil || o.Subtype == nil { - var ret string - return ret - } - return *o.Subtype -} - -// GetSubtypeOk returns a tuple with the Subtype field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *GoPackageUpload) GetSubtypeOk() (*string, bool) { - if o == nil || o.Subtype == nil { - return nil, false - } - return o.Subtype, true -} - -// HasSubtype returns a boolean if a field has been set. -func (o *GoPackageUpload) HasSubtype() bool { - if o != nil && o.Subtype != nil { - return true - } - - return false -} - -// SetSubtype gets a reference to the given string and assigns it to the Subtype field. -func (o *GoPackageUpload) SetSubtype(v string) { - o.Subtype = &v -} - -// GetSummary returns the Summary field value if set, zero value otherwise. -func (o *GoPackageUpload) GetSummary() string { - if o == nil || o.Summary == nil { - var ret string - return ret - } - return *o.Summary -} - -// GetSummaryOk returns a tuple with the Summary field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *GoPackageUpload) GetSummaryOk() (*string, bool) { - if o == nil || o.Summary == nil { - return nil, false - } - return o.Summary, true -} - -// HasSummary returns a boolean if a field has been set. -func (o *GoPackageUpload) HasSummary() bool { - if o != nil && o.Summary != nil { - return true - } - - return false -} - -// SetSummary gets a reference to the given string and assigns it to the Summary field. -func (o *GoPackageUpload) SetSummary(v string) { - o.Summary = &v -} - -// GetSyncFinishedAt returns the SyncFinishedAt field value if set, zero value otherwise. -func (o *GoPackageUpload) GetSyncFinishedAt() string { - if o == nil || o.SyncFinishedAt == nil { - var ret string - return ret - } - return *o.SyncFinishedAt -} - -// GetSyncFinishedAtOk returns a tuple with the SyncFinishedAt field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *GoPackageUpload) GetSyncFinishedAtOk() (*string, bool) { - if o == nil || o.SyncFinishedAt == nil { - return nil, false - } - return o.SyncFinishedAt, true -} - -// HasSyncFinishedAt returns a boolean if a field has been set. -func (o *GoPackageUpload) HasSyncFinishedAt() bool { - if o != nil && o.SyncFinishedAt != nil { - return true - } - - return false -} - -// SetSyncFinishedAt gets a reference to the given string and assigns it to the SyncFinishedAt field. -func (o *GoPackageUpload) SetSyncFinishedAt(v string) { - o.SyncFinishedAt = &v -} - -// GetSyncProgress returns the SyncProgress field value if set, zero value otherwise. -func (o *GoPackageUpload) GetSyncProgress() int64 { - if o == nil || o.SyncProgress == nil { - var ret int64 - return ret - } - return *o.SyncProgress -} - -// GetSyncProgressOk returns a tuple with the SyncProgress field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *GoPackageUpload) GetSyncProgressOk() (*int64, bool) { - if o == nil || o.SyncProgress == nil { - return nil, false - } - return o.SyncProgress, true -} - -// HasSyncProgress returns a boolean if a field has been set. -func (o *GoPackageUpload) HasSyncProgress() bool { - if o != nil && o.SyncProgress != nil { - return true - } - - return false -} - -// SetSyncProgress gets a reference to the given int64 and assigns it to the SyncProgress field. -func (o *GoPackageUpload) SetSyncProgress(v int64) { - o.SyncProgress = &v -} - -// GetTagsImmutable returns the TagsImmutable field value if set, zero value otherwise. -func (o *GoPackageUpload) GetTagsImmutable() map[string]interface{} { - if o == nil || o.TagsImmutable == nil { - var ret map[string]interface{} - return ret - } - return o.TagsImmutable -} - -// GetTagsImmutableOk returns a tuple with the TagsImmutable field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *GoPackageUpload) GetTagsImmutableOk() (map[string]interface{}, bool) { - if o == nil || o.TagsImmutable == nil { - return nil, false - } - return o.TagsImmutable, true -} - -// HasTagsImmutable returns a boolean if a field has been set. -func (o *GoPackageUpload) HasTagsImmutable() bool { - if o != nil && o.TagsImmutable != nil { - return true - } - - return false -} - -// SetTagsImmutable gets a reference to the given map[string]interface{} and assigns it to the TagsImmutable field. -func (o *GoPackageUpload) SetTagsImmutable(v map[string]interface{}) { - o.TagsImmutable = v -} - -// GetTypeDisplay returns the TypeDisplay field value if set, zero value otherwise. -func (o *GoPackageUpload) GetTypeDisplay() string { - if o == nil || o.TypeDisplay == nil { - var ret string - return ret - } - return *o.TypeDisplay -} - -// GetTypeDisplayOk returns a tuple with the TypeDisplay field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *GoPackageUpload) GetTypeDisplayOk() (*string, bool) { - if o == nil || o.TypeDisplay == nil { - return nil, false - } - return o.TypeDisplay, true -} - -// HasTypeDisplay returns a boolean if a field has been set. -func (o *GoPackageUpload) HasTypeDisplay() bool { - if o != nil && o.TypeDisplay != nil { - return true - } - - return false -} - -// SetTypeDisplay gets a reference to the given string and assigns it to the TypeDisplay field. -func (o *GoPackageUpload) SetTypeDisplay(v string) { - o.TypeDisplay = &v -} - -// GetUploadedAt returns the UploadedAt field value if set, zero value otherwise. -func (o *GoPackageUpload) GetUploadedAt() string { - if o == nil || o.UploadedAt == nil { - var ret string - return ret - } - return *o.UploadedAt -} - -// GetUploadedAtOk returns a tuple with the UploadedAt field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *GoPackageUpload) GetUploadedAtOk() (*string, bool) { - if o == nil || o.UploadedAt == nil { - return nil, false - } - return o.UploadedAt, true -} - -// HasUploadedAt returns a boolean if a field has been set. -func (o *GoPackageUpload) HasUploadedAt() bool { - if o != nil && o.UploadedAt != nil { - return true - } - - return false -} - -// SetUploadedAt gets a reference to the given string and assigns it to the UploadedAt field. -func (o *GoPackageUpload) SetUploadedAt(v string) { - o.UploadedAt = &v -} - -// GetUploader returns the Uploader field value if set, zero value otherwise. -func (o *GoPackageUpload) GetUploader() string { - if o == nil || o.Uploader == nil { - var ret string - return ret - } - return *o.Uploader -} - -// GetUploaderOk returns a tuple with the Uploader field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *GoPackageUpload) GetUploaderOk() (*string, bool) { - if o == nil || o.Uploader == nil { - return nil, false - } - return o.Uploader, true -} - -// HasUploader returns a boolean if a field has been set. -func (o *GoPackageUpload) HasUploader() bool { - if o != nil && o.Uploader != nil { - return true - } - - return false -} - -// SetUploader gets a reference to the given string and assigns it to the Uploader field. -func (o *GoPackageUpload) SetUploader(v string) { - o.Uploader = &v -} - -// GetUploaderUrl returns the UploaderUrl field value if set, zero value otherwise. -func (o *GoPackageUpload) GetUploaderUrl() string { - if o == nil || o.UploaderUrl == nil { - var ret string - return ret - } - return *o.UploaderUrl -} - -// GetUploaderUrlOk returns a tuple with the UploaderUrl field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *GoPackageUpload) GetUploaderUrlOk() (*string, bool) { - if o == nil || o.UploaderUrl == nil { - return nil, false - } - return o.UploaderUrl, true -} - -// HasUploaderUrl returns a boolean if a field has been set. -func (o *GoPackageUpload) HasUploaderUrl() bool { - if o != nil && o.UploaderUrl != nil { - return true - } - - return false -} - -// SetUploaderUrl gets a reference to the given string and assigns it to the UploaderUrl field. -func (o *GoPackageUpload) SetUploaderUrl(v string) { - o.UploaderUrl = &v -} - -// GetVersion returns the Version field value if set, zero value otherwise. -func (o *GoPackageUpload) GetVersion() string { - if o == nil || o.Version == nil { - var ret string - return ret - } - return *o.Version -} - -// GetVersionOk returns a tuple with the Version field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *GoPackageUpload) GetVersionOk() (*string, bool) { - if o == nil || o.Version == nil { - return nil, false - } - return o.Version, true -} - -// HasVersion returns a boolean if a field has been set. -func (o *GoPackageUpload) HasVersion() bool { - if o != nil && o.Version != nil { - return true - } - - return false -} - -// SetVersion gets a reference to the given string and assigns it to the Version field. -func (o *GoPackageUpload) SetVersion(v string) { - o.Version = &v -} - -// GetVersionOrig returns the VersionOrig field value if set, zero value otherwise. -func (o *GoPackageUpload) GetVersionOrig() string { - if o == nil || o.VersionOrig == nil { - var ret string - return ret - } - return *o.VersionOrig -} - -// GetVersionOrigOk returns a tuple with the VersionOrig field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *GoPackageUpload) GetVersionOrigOk() (*string, bool) { - if o == nil || o.VersionOrig == nil { - return nil, false - } - return o.VersionOrig, true -} - -// HasVersionOrig returns a boolean if a field has been set. -func (o *GoPackageUpload) HasVersionOrig() bool { - if o != nil && o.VersionOrig != nil { - return true - } - - return false -} - -// SetVersionOrig gets a reference to the given string and assigns it to the VersionOrig field. -func (o *GoPackageUpload) SetVersionOrig(v string) { - o.VersionOrig = &v -} - -// GetVulnerabilityScanResultsUrl returns the VulnerabilityScanResultsUrl field value if set, zero value otherwise. -func (o *GoPackageUpload) GetVulnerabilityScanResultsUrl() string { - if o == nil || o.VulnerabilityScanResultsUrl == nil { - var ret string - return ret - } - return *o.VulnerabilityScanResultsUrl -} - -// GetVulnerabilityScanResultsUrlOk returns a tuple with the VulnerabilityScanResultsUrl field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *GoPackageUpload) GetVulnerabilityScanResultsUrlOk() (*string, bool) { - if o == nil || o.VulnerabilityScanResultsUrl == nil { - return nil, false - } - return o.VulnerabilityScanResultsUrl, true -} - -// HasVulnerabilityScanResultsUrl returns a boolean if a field has been set. -func (o *GoPackageUpload) HasVulnerabilityScanResultsUrl() bool { - if o != nil && o.VulnerabilityScanResultsUrl != nil { - return true - } - - return false -} - -// SetVulnerabilityScanResultsUrl gets a reference to the given string and assigns it to the VulnerabilityScanResultsUrl field. -func (o *GoPackageUpload) SetVulnerabilityScanResultsUrl(v string) { - o.VulnerabilityScanResultsUrl = &v -} - -func (o GoPackageUpload) MarshalJSON() ([]byte, error) { - toSerialize := map[string]interface{}{} - if o.Architectures != nil { - toSerialize["architectures"] = o.Architectures - } - if o.CdnUrl != nil { - toSerialize["cdn_url"] = o.CdnUrl - } - if o.ChecksumMd5 != nil { - toSerialize["checksum_md5"] = o.ChecksumMd5 - } - if o.ChecksumSha1 != nil { - toSerialize["checksum_sha1"] = o.ChecksumSha1 - } - if o.ChecksumSha256 != nil { - toSerialize["checksum_sha256"] = o.ChecksumSha256 - } - if o.ChecksumSha512 != nil { - toSerialize["checksum_sha512"] = o.ChecksumSha512 - } - if o.DependenciesChecksumMd5 != nil { - toSerialize["dependencies_checksum_md5"] = o.DependenciesChecksumMd5 - } - if o.DependenciesUrl != nil { - toSerialize["dependencies_url"] = o.DependenciesUrl - } - if o.Description != nil { - toSerialize["description"] = o.Description - } - if o.Distro != nil { - toSerialize["distro"] = o.Distro - } - if o.DistroVersion != nil { - toSerialize["distro_version"] = o.DistroVersion - } - if o.Downloads != nil { - toSerialize["downloads"] = o.Downloads - } - if o.Epoch != nil { - toSerialize["epoch"] = o.Epoch - } - if o.Extension != nil { - toSerialize["extension"] = o.Extension - } - if o.Filename != nil { - toSerialize["filename"] = o.Filename - } - if o.Files != nil { - toSerialize["files"] = o.Files - } - if o.Format != nil { - toSerialize["format"] = o.Format - } - if o.FormatUrl != nil { - toSerialize["format_url"] = o.FormatUrl - } - if o.IdentifierPerm != nil { - toSerialize["identifier_perm"] = o.IdentifierPerm - } - if o.Indexed != nil { - toSerialize["indexed"] = o.Indexed - } - if o.IsDownloadable != nil { - toSerialize["is_downloadable"] = o.IsDownloadable - } - if o.IsQuarantined != nil { - toSerialize["is_quarantined"] = o.IsQuarantined - } - if o.IsSyncAwaiting != nil { - toSerialize["is_sync_awaiting"] = o.IsSyncAwaiting - } - if o.IsSyncCompleted != nil { - toSerialize["is_sync_completed"] = o.IsSyncCompleted - } - if o.IsSyncFailed != nil { - toSerialize["is_sync_failed"] = o.IsSyncFailed - } - if o.IsSyncInFlight != nil { - toSerialize["is_sync_in_flight"] = o.IsSyncInFlight - } - if o.IsSyncInProgress != nil { - toSerialize["is_sync_in_progress"] = o.IsSyncInProgress - } - if o.License != nil { - toSerialize["license"] = o.License - } - if o.Name != nil { - toSerialize["name"] = o.Name - } - if o.Namespace != nil { - toSerialize["namespace"] = o.Namespace - } - if o.NamespaceUrl != nil { - toSerialize["namespace_url"] = o.NamespaceUrl - } - if o.NumFiles != nil { - toSerialize["num_files"] = o.NumFiles - } - if o.PackageType != nil { - toSerialize["package_type"] = o.PackageType - } - if o.Release != nil { - toSerialize["release"] = o.Release - } - if o.Repository != nil { - toSerialize["repository"] = o.Repository - } - if o.RepositoryUrl != nil { - toSerialize["repository_url"] = o.RepositoryUrl - } - if o.SecurityScanCompletedAt != nil { - toSerialize["security_scan_completed_at"] = o.SecurityScanCompletedAt - } - if o.SecurityScanStartedAt != nil { - toSerialize["security_scan_started_at"] = o.SecurityScanStartedAt - } - if o.SecurityScanStatus != nil { - toSerialize["security_scan_status"] = o.SecurityScanStatus - } - if o.SecurityScanStatusUpdatedAt != nil { - toSerialize["security_scan_status_updated_at"] = o.SecurityScanStatusUpdatedAt - } - if o.SelfHtmlUrl != nil { - toSerialize["self_html_url"] = o.SelfHtmlUrl - } - if o.SelfUrl != nil { - toSerialize["self_url"] = o.SelfUrl - } - if o.SignatureUrl != nil { - toSerialize["signature_url"] = o.SignatureUrl - } - if o.Size != nil { - toSerialize["size"] = o.Size - } - if o.Slug != nil { - toSerialize["slug"] = o.Slug - } - if o.SlugPerm != nil { - toSerialize["slug_perm"] = o.SlugPerm - } - if o.Stage != nil { - toSerialize["stage"] = o.Stage - } - if o.StageStr != nil { - toSerialize["stage_str"] = o.StageStr - } - if o.StageUpdatedAt != nil { - toSerialize["stage_updated_at"] = o.StageUpdatedAt - } - if o.Status != nil { - toSerialize["status"] = o.Status - } - if o.StatusReason != nil { - toSerialize["status_reason"] = o.StatusReason - } - if o.StatusStr != nil { - toSerialize["status_str"] = o.StatusStr - } - if o.StatusUpdatedAt != nil { - toSerialize["status_updated_at"] = o.StatusUpdatedAt - } - if o.StatusUrl != nil { - toSerialize["status_url"] = o.StatusUrl - } - if o.Subtype != nil { - toSerialize["subtype"] = o.Subtype - } - if o.Summary != nil { - toSerialize["summary"] = o.Summary - } - if o.SyncFinishedAt != nil { - toSerialize["sync_finished_at"] = o.SyncFinishedAt - } - if o.SyncProgress != nil { - toSerialize["sync_progress"] = o.SyncProgress - } - if o.TagsImmutable != nil { - toSerialize["tags_immutable"] = o.TagsImmutable - } - if o.TypeDisplay != nil { - toSerialize["type_display"] = o.TypeDisplay - } - if o.UploadedAt != nil { - toSerialize["uploaded_at"] = o.UploadedAt - } - if o.Uploader != nil { - toSerialize["uploader"] = o.Uploader - } - if o.UploaderUrl != nil { - toSerialize["uploader_url"] = o.UploaderUrl - } - if o.Version != nil { - toSerialize["version"] = o.Version - } - if o.VersionOrig != nil { - toSerialize["version_orig"] = o.VersionOrig - } - if o.VulnerabilityScanResultsUrl != nil { - toSerialize["vulnerability_scan_results_url"] = o.VulnerabilityScanResultsUrl - } - return json.Marshal(toSerialize) -} - -type NullableGoPackageUpload struct { - value *GoPackageUpload - isSet bool -} - -func (v NullableGoPackageUpload) Get() *GoPackageUpload { - return v.value -} - -func (v *NullableGoPackageUpload) Set(val *GoPackageUpload) { - v.value = val - v.isSet = true -} - -func (v NullableGoPackageUpload) IsSet() bool { - return v.isSet -} - -func (v *NullableGoPackageUpload) Unset() { - v.value = nil - v.isSet = false -} - -func NewNullableGoPackageUpload(val *GoPackageUpload) *NullableGoPackageUpload { - return &NullableGoPackageUpload{value: val, isSet: true} -} - -func (v NullableGoPackageUpload) MarshalJSON() ([]byte, error) { - return json.Marshal(v.value) -} - -func (v *NullableGoPackageUpload) UnmarshalJSON(src []byte) error { - v.isSet = true - return json.Unmarshal(src, &v.value) -} diff --git a/model_packages_validate_upload_ruby.go b/model_go_package_upload_request.go similarity index 50% rename from model_packages_validate_upload_ruby.go rename to model_go_package_upload_request.go index 723a8c50..9e57e05d 100644 --- a/model_packages_validate_upload_ruby.go +++ b/model_go_package_upload_request.go @@ -1,9 +1,9 @@ /* -Cloudsmith API +Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.121.3 +API version: 1.181.6 Contact: support@cloudsmith.io */ @@ -15,36 +15,36 @@ import ( "encoding/json" ) -// PackagesValidateUploadRuby struct for PackagesValidateUploadRuby -type PackagesValidateUploadRuby struct { +// GoPackageUploadRequest struct for GoPackageUploadRequest +type GoPackageUploadRequest struct { // The primary file for the package. PackageFile string `json:"package_file"` // If true, the uploaded package will overwrite any others with the same attributes (e.g. same version); otherwise, it will be flagged as a duplicate. Republish *bool `json:"republish,omitempty"` // A comma-separated values list of tags to add to the package. - Tags *string `json:"tags,omitempty"` + Tags NullableString `json:"tags,omitempty"` } -// NewPackagesValidateUploadRuby instantiates a new PackagesValidateUploadRuby object +// NewGoPackageUploadRequest instantiates a new GoPackageUploadRequest object // 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 NewPackagesValidateUploadRuby(packageFile string) *PackagesValidateUploadRuby { - this := PackagesValidateUploadRuby{} +func NewGoPackageUploadRequest(packageFile string) *GoPackageUploadRequest { + this := GoPackageUploadRequest{} this.PackageFile = packageFile return &this } -// NewPackagesValidateUploadRubyWithDefaults instantiates a new PackagesValidateUploadRuby object +// NewGoPackageUploadRequestWithDefaults instantiates a new GoPackageUploadRequest object // This constructor will only assign default values to properties that have it defined, // but it doesn't guarantee that properties required by API are set -func NewPackagesValidateUploadRubyWithDefaults() *PackagesValidateUploadRuby { - this := PackagesValidateUploadRuby{} +func NewGoPackageUploadRequestWithDefaults() *GoPackageUploadRequest { + this := GoPackageUploadRequest{} return &this } // GetPackageFile returns the PackageFile field value -func (o *PackagesValidateUploadRuby) GetPackageFile() string { +func (o *GoPackageUploadRequest) GetPackageFile() string { if o == nil { var ret string return ret @@ -55,7 +55,7 @@ func (o *PackagesValidateUploadRuby) GetPackageFile() string { // GetPackageFileOk returns a tuple with the PackageFile field value // and a boolean to check if the value has been set. -func (o *PackagesValidateUploadRuby) GetPackageFileOk() (*string, bool) { +func (o *GoPackageUploadRequest) GetPackageFileOk() (*string, bool) { if o == nil { return nil, false } @@ -63,13 +63,13 @@ func (o *PackagesValidateUploadRuby) GetPackageFileOk() (*string, bool) { } // SetPackageFile sets field value -func (o *PackagesValidateUploadRuby) SetPackageFile(v string) { +func (o *GoPackageUploadRequest) SetPackageFile(v string) { o.PackageFile = v } // GetRepublish returns the Republish field value if set, zero value otherwise. -func (o *PackagesValidateUploadRuby) GetRepublish() bool { - if o == nil || o.Republish == nil { +func (o *GoPackageUploadRequest) GetRepublish() bool { + if o == nil || isNil(o.Republish) { var ret bool return ret } @@ -78,16 +78,16 @@ func (o *PackagesValidateUploadRuby) GetRepublish() bool { // GetRepublishOk returns a tuple with the Republish field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *PackagesValidateUploadRuby) GetRepublishOk() (*bool, bool) { - if o == nil || o.Republish == nil { +func (o *GoPackageUploadRequest) GetRepublishOk() (*bool, bool) { + if o == nil || isNil(o.Republish) { return nil, false } return o.Republish, true } // HasRepublish returns a boolean if a field has been set. -func (o *PackagesValidateUploadRuby) HasRepublish() bool { - if o != nil && o.Republish != nil { +func (o *GoPackageUploadRequest) HasRepublish() bool { + if o != nil && !isNil(o.Republish) { return true } @@ -95,88 +95,99 @@ func (o *PackagesValidateUploadRuby) HasRepublish() bool { } // SetRepublish gets a reference to the given bool and assigns it to the Republish field. -func (o *PackagesValidateUploadRuby) SetRepublish(v bool) { +func (o *GoPackageUploadRequest) SetRepublish(v bool) { o.Republish = &v } -// GetTags returns the Tags field value if set, zero value otherwise. -func (o *PackagesValidateUploadRuby) GetTags() string { - if o == nil || o.Tags == nil { +// GetTags returns the Tags field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *GoPackageUploadRequest) GetTags() string { + if o == nil || isNil(o.Tags.Get()) { var ret string return ret } - return *o.Tags + return *o.Tags.Get() } // GetTagsOk returns a tuple with the Tags field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *PackagesValidateUploadRuby) GetTagsOk() (*string, bool) { - if o == nil || o.Tags == nil { +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *GoPackageUploadRequest) GetTagsOk() (*string, bool) { + if o == nil { return nil, false } - return o.Tags, true + return o.Tags.Get(), o.Tags.IsSet() } // HasTags returns a boolean if a field has been set. -func (o *PackagesValidateUploadRuby) HasTags() bool { - if o != nil && o.Tags != nil { +func (o *GoPackageUploadRequest) HasTags() bool { + if o != nil && o.Tags.IsSet() { return true } return false } -// SetTags gets a reference to the given string and assigns it to the Tags field. -func (o *PackagesValidateUploadRuby) SetTags(v string) { - o.Tags = &v +// SetTags gets a reference to the given NullableString and assigns it to the Tags field. +func (o *GoPackageUploadRequest) SetTags(v string) { + o.Tags.Set(&v) +} + +// SetTagsNil sets the value for Tags to be an explicit nil +func (o *GoPackageUploadRequest) SetTagsNil() { + o.Tags.Set(nil) +} + +// UnsetTags ensures that no value is present for Tags, not even an explicit nil +func (o *GoPackageUploadRequest) UnsetTags() { + o.Tags.Unset() } -func (o PackagesValidateUploadRuby) MarshalJSON() ([]byte, error) { +func (o GoPackageUploadRequest) MarshalJSON() ([]byte, error) { toSerialize := map[string]interface{}{} if true { toSerialize["package_file"] = o.PackageFile } - if o.Republish != nil { + if !isNil(o.Republish) { toSerialize["republish"] = o.Republish } - if o.Tags != nil { - toSerialize["tags"] = o.Tags + if o.Tags.IsSet() { + toSerialize["tags"] = o.Tags.Get() } return json.Marshal(toSerialize) } -type NullablePackagesValidateUploadRuby struct { - value *PackagesValidateUploadRuby +type NullableGoPackageUploadRequest struct { + value *GoPackageUploadRequest isSet bool } -func (v NullablePackagesValidateUploadRuby) Get() *PackagesValidateUploadRuby { +func (v NullableGoPackageUploadRequest) Get() *GoPackageUploadRequest { return v.value } -func (v *NullablePackagesValidateUploadRuby) Set(val *PackagesValidateUploadRuby) { +func (v *NullableGoPackageUploadRequest) Set(val *GoPackageUploadRequest) { v.value = val v.isSet = true } -func (v NullablePackagesValidateUploadRuby) IsSet() bool { +func (v NullableGoPackageUploadRequest) IsSet() bool { return v.isSet } -func (v *NullablePackagesValidateUploadRuby) Unset() { +func (v *NullableGoPackageUploadRequest) Unset() { v.value = nil v.isSet = false } -func NewNullablePackagesValidateUploadRuby(val *PackagesValidateUploadRuby) *NullablePackagesValidateUploadRuby { - return &NullablePackagesValidateUploadRuby{value: val, isSet: true} +func NewNullableGoPackageUploadRequest(val *GoPackageUploadRequest) *NullableGoPackageUploadRequest { + return &NullableGoPackageUploadRequest{value: val, isSet: true} } -func (v NullablePackagesValidateUploadRuby) MarshalJSON() ([]byte, error) { +func (v NullableGoPackageUploadRequest) MarshalJSON() ([]byte, error) { return json.Marshal(v.value) } -func (v *NullablePackagesValidateUploadRuby) UnmarshalJSON(src []byte) error { +func (v *NullableGoPackageUploadRequest) UnmarshalJSON(src []byte) error { v.isSet = true return json.Unmarshal(src, &v.value) } diff --git a/model_go_package_upload_response.go b/model_go_package_upload_response.go new file mode 100644 index 00000000..0f6626e4 --- /dev/null +++ b/model_go_package_upload_response.go @@ -0,0 +1,2595 @@ +/* +Cloudsmith API (v1) + +The API to the Cloudsmith Service + +API version: 1.181.6 +Contact: support@cloudsmith.io +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cloudsmith + +import ( + "encoding/json" + "time" +) + +// GoPackageUploadResponse struct for GoPackageUploadResponse +type GoPackageUploadResponse struct { + Architectures []Architecture `json:"architectures,omitempty"` + CdnUrl NullableString `json:"cdn_url,omitempty"` + ChecksumMd5 *string `json:"checksum_md5,omitempty"` + ChecksumSha1 *string `json:"checksum_sha1,omitempty"` + ChecksumSha256 *string `json:"checksum_sha256,omitempty"` + ChecksumSha512 *string `json:"checksum_sha512,omitempty"` + // A checksum of all of the package's dependencies. + DependenciesChecksumMd5 *string `json:"dependencies_checksum_md5,omitempty"` + DependenciesUrl *string `json:"dependencies_url,omitempty"` + // A textual description of this package. + Description *string `json:"description,omitempty"` + Distro NullableDistribution `json:"distro,omitempty"` + DistroVersion *DistributionVersion `json:"distro_version,omitempty"` + Downloads *int64 `json:"downloads,omitempty"` + // The epoch of the package version (if any). + Epoch *int64 `json:"epoch,omitempty"` + Extension *string `json:"extension,omitempty"` + Filename *string `json:"filename,omitempty"` + Files []PackageFile `json:"files,omitempty"` + Format *string `json:"format,omitempty"` + FormatUrl *string `json:"format_url,omitempty"` + // Unique and permanent identifier for the package. + IdentifierPerm *string `json:"identifier_perm,omitempty"` + Indexed *bool `json:"indexed,omitempty"` + IsDownloadable *bool `json:"is_downloadable,omitempty"` + IsQuarantined *bool `json:"is_quarantined,omitempty"` + IsSyncAwaiting *bool `json:"is_sync_awaiting,omitempty"` + IsSyncCompleted *bool `json:"is_sync_completed,omitempty"` + IsSyncFailed *bool `json:"is_sync_failed,omitempty"` + IsSyncInFlight *bool `json:"is_sync_in_flight,omitempty"` + IsSyncInProgress *bool `json:"is_sync_in_progress,omitempty"` + // The license of this package. + License *string `json:"license,omitempty"` + // The name of this package. + Name *string `json:"name,omitempty"` + Namespace *string `json:"namespace,omitempty"` + NamespaceUrl *string `json:"namespace_url,omitempty"` + NumFiles *int64 `json:"num_files,omitempty"` + OriginRepository *string `json:"origin_repository,omitempty"` + OriginRepositoryUrl *string `json:"origin_repository_url,omitempty"` + // The type of package contents. + PackageType *int64 `json:"package_type,omitempty"` + // The release of the package version (if any). + Release *string `json:"release,omitempty"` + Repository *string `json:"repository,omitempty"` + RepositoryUrl *string `json:"repository_url,omitempty"` + // The datetime the security scanning was completed. + SecurityScanCompletedAt *time.Time `json:"security_scan_completed_at,omitempty"` + // The datetime the security scanning was started. + SecurityScanStartedAt *time.Time `json:"security_scan_started_at,omitempty"` + SecurityScanStatus NullableString `json:"security_scan_status,omitempty"` + // The datetime the security scanning status was updated. + SecurityScanStatusUpdatedAt *time.Time `json:"security_scan_status_updated_at,omitempty"` + SelfHtmlUrl *string `json:"self_html_url,omitempty"` + SelfUrl *string `json:"self_url,omitempty"` + SignatureUrl NullableString `json:"signature_url,omitempty"` + // The calculated size of the package. + Size *int64 `json:"size,omitempty"` + // The public unique identifier for the package. + Slug *string `json:"slug,omitempty"` + SlugPerm *string `json:"slug_perm,omitempty"` + // The synchronisation (in progress) stage of the package. + Stage *int64 `json:"stage,omitempty"` + StageStr *string `json:"stage_str,omitempty"` + // The datetime the package stage was updated at. + StageUpdatedAt *time.Time `json:"stage_updated_at,omitempty"` + // The synchronisation status of the package. + Status *int64 `json:"status,omitempty"` + // A textual description for the synchronous status reason (if any + StatusReason *string `json:"status_reason,omitempty"` + StatusStr *string `json:"status_str,omitempty"` + // The datetime the package status was updated at. + StatusUpdatedAt *time.Time `json:"status_updated_at,omitempty"` + StatusUrl *string `json:"status_url,omitempty"` + Subtype *string `json:"subtype,omitempty"` + // A one-liner synopsis of this package. + Summary *string `json:"summary,omitempty"` + // The datetime the package sync was finished at. + SyncFinishedAt *time.Time `json:"sync_finished_at,omitempty"` + // Synchronisation progress (from 0-100) + SyncProgress *int64 `json:"sync_progress,omitempty"` + // All tags on the package, grouped by tag type. This includes immutable tags, but doesn't distinguish them from mutable. To see which tags are immutable specifically, see the tags_immutable field. + TagsImmutable map[string]interface{} `json:"tags_immutable,omitempty"` + TypeDisplay *string `json:"type_display,omitempty"` + // The date this package was uploaded. + UploadedAt *time.Time `json:"uploaded_at,omitempty"` + Uploader *string `json:"uploader,omitempty"` + UploaderUrl *string `json:"uploader_url,omitempty"` + // The raw version for this package. + Version *string `json:"version,omitempty"` + VersionOrig *string `json:"version_orig,omitempty"` + VulnerabilityScanResultsUrl *string `json:"vulnerability_scan_results_url,omitempty"` +} + +// NewGoPackageUploadResponse instantiates a new GoPackageUploadResponse object +// 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 NewGoPackageUploadResponse() *GoPackageUploadResponse { + this := GoPackageUploadResponse{} + return &this +} + +// NewGoPackageUploadResponseWithDefaults instantiates a new GoPackageUploadResponse object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewGoPackageUploadResponseWithDefaults() *GoPackageUploadResponse { + this := GoPackageUploadResponse{} + return &this +} + +// GetArchitectures returns the Architectures field value if set, zero value otherwise. +func (o *GoPackageUploadResponse) GetArchitectures() []Architecture { + if o == nil || isNil(o.Architectures) { + var ret []Architecture + return ret + } + return o.Architectures +} + +// GetArchitecturesOk returns a tuple with the Architectures field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *GoPackageUploadResponse) GetArchitecturesOk() ([]Architecture, bool) { + if o == nil || isNil(o.Architectures) { + return nil, false + } + return o.Architectures, true +} + +// HasArchitectures returns a boolean if a field has been set. +func (o *GoPackageUploadResponse) HasArchitectures() bool { + if o != nil && !isNil(o.Architectures) { + return true + } + + return false +} + +// SetArchitectures gets a reference to the given []Architecture and assigns it to the Architectures field. +func (o *GoPackageUploadResponse) SetArchitectures(v []Architecture) { + o.Architectures = v +} + +// GetCdnUrl returns the CdnUrl field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *GoPackageUploadResponse) GetCdnUrl() string { + if o == nil || isNil(o.CdnUrl.Get()) { + var ret string + return ret + } + return *o.CdnUrl.Get() +} + +// GetCdnUrlOk returns a tuple with the CdnUrl 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 *GoPackageUploadResponse) GetCdnUrlOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.CdnUrl.Get(), o.CdnUrl.IsSet() +} + +// HasCdnUrl returns a boolean if a field has been set. +func (o *GoPackageUploadResponse) HasCdnUrl() bool { + if o != nil && o.CdnUrl.IsSet() { + return true + } + + return false +} + +// SetCdnUrl gets a reference to the given NullableString and assigns it to the CdnUrl field. +func (o *GoPackageUploadResponse) SetCdnUrl(v string) { + o.CdnUrl.Set(&v) +} + +// SetCdnUrlNil sets the value for CdnUrl to be an explicit nil +func (o *GoPackageUploadResponse) SetCdnUrlNil() { + o.CdnUrl.Set(nil) +} + +// UnsetCdnUrl ensures that no value is present for CdnUrl, not even an explicit nil +func (o *GoPackageUploadResponse) UnsetCdnUrl() { + o.CdnUrl.Unset() +} + +// GetChecksumMd5 returns the ChecksumMd5 field value if set, zero value otherwise. +func (o *GoPackageUploadResponse) GetChecksumMd5() string { + if o == nil || isNil(o.ChecksumMd5) { + var ret string + return ret + } + return *o.ChecksumMd5 +} + +// GetChecksumMd5Ok returns a tuple with the ChecksumMd5 field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *GoPackageUploadResponse) GetChecksumMd5Ok() (*string, bool) { + if o == nil || isNil(o.ChecksumMd5) { + return nil, false + } + return o.ChecksumMd5, true +} + +// HasChecksumMd5 returns a boolean if a field has been set. +func (o *GoPackageUploadResponse) HasChecksumMd5() bool { + if o != nil && !isNil(o.ChecksumMd5) { + return true + } + + return false +} + +// SetChecksumMd5 gets a reference to the given string and assigns it to the ChecksumMd5 field. +func (o *GoPackageUploadResponse) SetChecksumMd5(v string) { + o.ChecksumMd5 = &v +} + +// GetChecksumSha1 returns the ChecksumSha1 field value if set, zero value otherwise. +func (o *GoPackageUploadResponse) GetChecksumSha1() string { + if o == nil || isNil(o.ChecksumSha1) { + var ret string + return ret + } + return *o.ChecksumSha1 +} + +// GetChecksumSha1Ok returns a tuple with the ChecksumSha1 field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *GoPackageUploadResponse) GetChecksumSha1Ok() (*string, bool) { + if o == nil || isNil(o.ChecksumSha1) { + return nil, false + } + return o.ChecksumSha1, true +} + +// HasChecksumSha1 returns a boolean if a field has been set. +func (o *GoPackageUploadResponse) HasChecksumSha1() bool { + if o != nil && !isNil(o.ChecksumSha1) { + return true + } + + return false +} + +// SetChecksumSha1 gets a reference to the given string and assigns it to the ChecksumSha1 field. +func (o *GoPackageUploadResponse) SetChecksumSha1(v string) { + o.ChecksumSha1 = &v +} + +// GetChecksumSha256 returns the ChecksumSha256 field value if set, zero value otherwise. +func (o *GoPackageUploadResponse) GetChecksumSha256() string { + if o == nil || isNil(o.ChecksumSha256) { + var ret string + return ret + } + return *o.ChecksumSha256 +} + +// GetChecksumSha256Ok returns a tuple with the ChecksumSha256 field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *GoPackageUploadResponse) GetChecksumSha256Ok() (*string, bool) { + if o == nil || isNil(o.ChecksumSha256) { + return nil, false + } + return o.ChecksumSha256, true +} + +// HasChecksumSha256 returns a boolean if a field has been set. +func (o *GoPackageUploadResponse) HasChecksumSha256() bool { + if o != nil && !isNil(o.ChecksumSha256) { + return true + } + + return false +} + +// SetChecksumSha256 gets a reference to the given string and assigns it to the ChecksumSha256 field. +func (o *GoPackageUploadResponse) SetChecksumSha256(v string) { + o.ChecksumSha256 = &v +} + +// GetChecksumSha512 returns the ChecksumSha512 field value if set, zero value otherwise. +func (o *GoPackageUploadResponse) GetChecksumSha512() string { + if o == nil || isNil(o.ChecksumSha512) { + var ret string + return ret + } + return *o.ChecksumSha512 +} + +// GetChecksumSha512Ok returns a tuple with the ChecksumSha512 field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *GoPackageUploadResponse) GetChecksumSha512Ok() (*string, bool) { + if o == nil || isNil(o.ChecksumSha512) { + return nil, false + } + return o.ChecksumSha512, true +} + +// HasChecksumSha512 returns a boolean if a field has been set. +func (o *GoPackageUploadResponse) HasChecksumSha512() bool { + if o != nil && !isNil(o.ChecksumSha512) { + return true + } + + return false +} + +// SetChecksumSha512 gets a reference to the given string and assigns it to the ChecksumSha512 field. +func (o *GoPackageUploadResponse) SetChecksumSha512(v string) { + o.ChecksumSha512 = &v +} + +// GetDependenciesChecksumMd5 returns the DependenciesChecksumMd5 field value if set, zero value otherwise. +func (o *GoPackageUploadResponse) GetDependenciesChecksumMd5() string { + if o == nil || isNil(o.DependenciesChecksumMd5) { + var ret string + return ret + } + return *o.DependenciesChecksumMd5 +} + +// GetDependenciesChecksumMd5Ok returns a tuple with the DependenciesChecksumMd5 field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *GoPackageUploadResponse) GetDependenciesChecksumMd5Ok() (*string, bool) { + if o == nil || isNil(o.DependenciesChecksumMd5) { + return nil, false + } + return o.DependenciesChecksumMd5, true +} + +// HasDependenciesChecksumMd5 returns a boolean if a field has been set. +func (o *GoPackageUploadResponse) HasDependenciesChecksumMd5() bool { + if o != nil && !isNil(o.DependenciesChecksumMd5) { + return true + } + + return false +} + +// SetDependenciesChecksumMd5 gets a reference to the given string and assigns it to the DependenciesChecksumMd5 field. +func (o *GoPackageUploadResponse) SetDependenciesChecksumMd5(v string) { + o.DependenciesChecksumMd5 = &v +} + +// GetDependenciesUrl returns the DependenciesUrl field value if set, zero value otherwise. +func (o *GoPackageUploadResponse) GetDependenciesUrl() string { + if o == nil || isNil(o.DependenciesUrl) { + var ret string + return ret + } + return *o.DependenciesUrl +} + +// GetDependenciesUrlOk returns a tuple with the DependenciesUrl field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *GoPackageUploadResponse) GetDependenciesUrlOk() (*string, bool) { + if o == nil || isNil(o.DependenciesUrl) { + return nil, false + } + return o.DependenciesUrl, true +} + +// HasDependenciesUrl returns a boolean if a field has been set. +func (o *GoPackageUploadResponse) HasDependenciesUrl() bool { + if o != nil && !isNil(o.DependenciesUrl) { + return true + } + + return false +} + +// SetDependenciesUrl gets a reference to the given string and assigns it to the DependenciesUrl field. +func (o *GoPackageUploadResponse) SetDependenciesUrl(v string) { + o.DependenciesUrl = &v +} + +// GetDescription returns the Description field value if set, zero value otherwise. +func (o *GoPackageUploadResponse) GetDescription() string { + if o == nil || isNil(o.Description) { + var ret string + return ret + } + return *o.Description +} + +// GetDescriptionOk returns a tuple with the Description field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *GoPackageUploadResponse) GetDescriptionOk() (*string, bool) { + if o == nil || isNil(o.Description) { + return nil, false + } + return o.Description, true +} + +// HasDescription returns a boolean if a field has been set. +func (o *GoPackageUploadResponse) HasDescription() bool { + if o != nil && !isNil(o.Description) { + return true + } + + return false +} + +// SetDescription gets a reference to the given string and assigns it to the Description field. +func (o *GoPackageUploadResponse) SetDescription(v string) { + o.Description = &v +} + +// GetDistro returns the Distro field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *GoPackageUploadResponse) GetDistro() Distribution { + if o == nil || isNil(o.Distro.Get()) { + var ret Distribution + return ret + } + return *o.Distro.Get() +} + +// GetDistroOk returns a tuple with the Distro 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 *GoPackageUploadResponse) GetDistroOk() (*Distribution, bool) { + if o == nil { + return nil, false + } + return o.Distro.Get(), o.Distro.IsSet() +} + +// HasDistro returns a boolean if a field has been set. +func (o *GoPackageUploadResponse) HasDistro() bool { + if o != nil && o.Distro.IsSet() { + return true + } + + return false +} + +// SetDistro gets a reference to the given NullableDistribution and assigns it to the Distro field. +func (o *GoPackageUploadResponse) SetDistro(v Distribution) { + o.Distro.Set(&v) +} + +// SetDistroNil sets the value for Distro to be an explicit nil +func (o *GoPackageUploadResponse) SetDistroNil() { + o.Distro.Set(nil) +} + +// UnsetDistro ensures that no value is present for Distro, not even an explicit nil +func (o *GoPackageUploadResponse) UnsetDistro() { + o.Distro.Unset() +} + +// GetDistroVersion returns the DistroVersion field value if set, zero value otherwise. +func (o *GoPackageUploadResponse) GetDistroVersion() DistributionVersion { + if o == nil || isNil(o.DistroVersion) { + var ret DistributionVersion + return ret + } + return *o.DistroVersion +} + +// GetDistroVersionOk returns a tuple with the DistroVersion field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *GoPackageUploadResponse) GetDistroVersionOk() (*DistributionVersion, bool) { + if o == nil || isNil(o.DistroVersion) { + return nil, false + } + return o.DistroVersion, true +} + +// HasDistroVersion returns a boolean if a field has been set. +func (o *GoPackageUploadResponse) HasDistroVersion() bool { + if o != nil && !isNil(o.DistroVersion) { + return true + } + + return false +} + +// SetDistroVersion gets a reference to the given DistributionVersion and assigns it to the DistroVersion field. +func (o *GoPackageUploadResponse) SetDistroVersion(v DistributionVersion) { + o.DistroVersion = &v +} + +// GetDownloads returns the Downloads field value if set, zero value otherwise. +func (o *GoPackageUploadResponse) GetDownloads() int64 { + if o == nil || isNil(o.Downloads) { + var ret int64 + return ret + } + return *o.Downloads +} + +// GetDownloadsOk returns a tuple with the Downloads field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *GoPackageUploadResponse) GetDownloadsOk() (*int64, bool) { + if o == nil || isNil(o.Downloads) { + return nil, false + } + return o.Downloads, true +} + +// HasDownloads returns a boolean if a field has been set. +func (o *GoPackageUploadResponse) HasDownloads() bool { + if o != nil && !isNil(o.Downloads) { + return true + } + + return false +} + +// SetDownloads gets a reference to the given int64 and assigns it to the Downloads field. +func (o *GoPackageUploadResponse) SetDownloads(v int64) { + o.Downloads = &v +} + +// GetEpoch returns the Epoch field value if set, zero value otherwise. +func (o *GoPackageUploadResponse) GetEpoch() int64 { + if o == nil || isNil(o.Epoch) { + var ret int64 + return ret + } + return *o.Epoch +} + +// GetEpochOk returns a tuple with the Epoch field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *GoPackageUploadResponse) GetEpochOk() (*int64, bool) { + if o == nil || isNil(o.Epoch) { + return nil, false + } + return o.Epoch, true +} + +// HasEpoch returns a boolean if a field has been set. +func (o *GoPackageUploadResponse) HasEpoch() bool { + if o != nil && !isNil(o.Epoch) { + return true + } + + return false +} + +// SetEpoch gets a reference to the given int64 and assigns it to the Epoch field. +func (o *GoPackageUploadResponse) SetEpoch(v int64) { + o.Epoch = &v +} + +// GetExtension returns the Extension field value if set, zero value otherwise. +func (o *GoPackageUploadResponse) GetExtension() string { + if o == nil || isNil(o.Extension) { + var ret string + return ret + } + return *o.Extension +} + +// GetExtensionOk returns a tuple with the Extension field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *GoPackageUploadResponse) GetExtensionOk() (*string, bool) { + if o == nil || isNil(o.Extension) { + return nil, false + } + return o.Extension, true +} + +// HasExtension returns a boolean if a field has been set. +func (o *GoPackageUploadResponse) HasExtension() bool { + if o != nil && !isNil(o.Extension) { + return true + } + + return false +} + +// SetExtension gets a reference to the given string and assigns it to the Extension field. +func (o *GoPackageUploadResponse) SetExtension(v string) { + o.Extension = &v +} + +// GetFilename returns the Filename field value if set, zero value otherwise. +func (o *GoPackageUploadResponse) GetFilename() string { + if o == nil || isNil(o.Filename) { + var ret string + return ret + } + return *o.Filename +} + +// GetFilenameOk returns a tuple with the Filename field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *GoPackageUploadResponse) GetFilenameOk() (*string, bool) { + if o == nil || isNil(o.Filename) { + return nil, false + } + return o.Filename, true +} + +// HasFilename returns a boolean if a field has been set. +func (o *GoPackageUploadResponse) HasFilename() bool { + if o != nil && !isNil(o.Filename) { + return true + } + + return false +} + +// SetFilename gets a reference to the given string and assigns it to the Filename field. +func (o *GoPackageUploadResponse) SetFilename(v string) { + o.Filename = &v +} + +// GetFiles returns the Files field value if set, zero value otherwise. +func (o *GoPackageUploadResponse) GetFiles() []PackageFile { + if o == nil || isNil(o.Files) { + var ret []PackageFile + return ret + } + return o.Files +} + +// GetFilesOk returns a tuple with the Files field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *GoPackageUploadResponse) GetFilesOk() ([]PackageFile, bool) { + if o == nil || isNil(o.Files) { + return nil, false + } + return o.Files, true +} + +// HasFiles returns a boolean if a field has been set. +func (o *GoPackageUploadResponse) HasFiles() bool { + if o != nil && !isNil(o.Files) { + return true + } + + return false +} + +// SetFiles gets a reference to the given []PackageFile and assigns it to the Files field. +func (o *GoPackageUploadResponse) SetFiles(v []PackageFile) { + o.Files = v +} + +// GetFormat returns the Format field value if set, zero value otherwise. +func (o *GoPackageUploadResponse) GetFormat() string { + if o == nil || isNil(o.Format) { + var ret string + return ret + } + return *o.Format +} + +// GetFormatOk returns a tuple with the Format field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *GoPackageUploadResponse) GetFormatOk() (*string, bool) { + if o == nil || isNil(o.Format) { + return nil, false + } + return o.Format, true +} + +// HasFormat returns a boolean if a field has been set. +func (o *GoPackageUploadResponse) HasFormat() bool { + if o != nil && !isNil(o.Format) { + return true + } + + return false +} + +// SetFormat gets a reference to the given string and assigns it to the Format field. +func (o *GoPackageUploadResponse) SetFormat(v string) { + o.Format = &v +} + +// GetFormatUrl returns the FormatUrl field value if set, zero value otherwise. +func (o *GoPackageUploadResponse) GetFormatUrl() string { + if o == nil || isNil(o.FormatUrl) { + var ret string + return ret + } + return *o.FormatUrl +} + +// GetFormatUrlOk returns a tuple with the FormatUrl field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *GoPackageUploadResponse) GetFormatUrlOk() (*string, bool) { + if o == nil || isNil(o.FormatUrl) { + return nil, false + } + return o.FormatUrl, true +} + +// HasFormatUrl returns a boolean if a field has been set. +func (o *GoPackageUploadResponse) HasFormatUrl() bool { + if o != nil && !isNil(o.FormatUrl) { + return true + } + + return false +} + +// SetFormatUrl gets a reference to the given string and assigns it to the FormatUrl field. +func (o *GoPackageUploadResponse) SetFormatUrl(v string) { + o.FormatUrl = &v +} + +// GetIdentifierPerm returns the IdentifierPerm field value if set, zero value otherwise. +func (o *GoPackageUploadResponse) GetIdentifierPerm() string { + if o == nil || isNil(o.IdentifierPerm) { + var ret string + return ret + } + return *o.IdentifierPerm +} + +// GetIdentifierPermOk returns a tuple with the IdentifierPerm field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *GoPackageUploadResponse) GetIdentifierPermOk() (*string, bool) { + if o == nil || isNil(o.IdentifierPerm) { + return nil, false + } + return o.IdentifierPerm, true +} + +// HasIdentifierPerm returns a boolean if a field has been set. +func (o *GoPackageUploadResponse) HasIdentifierPerm() bool { + if o != nil && !isNil(o.IdentifierPerm) { + return true + } + + return false +} + +// SetIdentifierPerm gets a reference to the given string and assigns it to the IdentifierPerm field. +func (o *GoPackageUploadResponse) SetIdentifierPerm(v string) { + o.IdentifierPerm = &v +} + +// GetIndexed returns the Indexed field value if set, zero value otherwise. +func (o *GoPackageUploadResponse) GetIndexed() bool { + if o == nil || isNil(o.Indexed) { + var ret bool + return ret + } + return *o.Indexed +} + +// GetIndexedOk returns a tuple with the Indexed field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *GoPackageUploadResponse) GetIndexedOk() (*bool, bool) { + if o == nil || isNil(o.Indexed) { + return nil, false + } + return o.Indexed, true +} + +// HasIndexed returns a boolean if a field has been set. +func (o *GoPackageUploadResponse) HasIndexed() bool { + if o != nil && !isNil(o.Indexed) { + return true + } + + return false +} + +// SetIndexed gets a reference to the given bool and assigns it to the Indexed field. +func (o *GoPackageUploadResponse) SetIndexed(v bool) { + o.Indexed = &v +} + +// GetIsDownloadable returns the IsDownloadable field value if set, zero value otherwise. +func (o *GoPackageUploadResponse) GetIsDownloadable() bool { + if o == nil || isNil(o.IsDownloadable) { + var ret bool + return ret + } + return *o.IsDownloadable +} + +// GetIsDownloadableOk returns a tuple with the IsDownloadable field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *GoPackageUploadResponse) GetIsDownloadableOk() (*bool, bool) { + if o == nil || isNil(o.IsDownloadable) { + return nil, false + } + return o.IsDownloadable, true +} + +// HasIsDownloadable returns a boolean if a field has been set. +func (o *GoPackageUploadResponse) HasIsDownloadable() bool { + if o != nil && !isNil(o.IsDownloadable) { + return true + } + + return false +} + +// SetIsDownloadable gets a reference to the given bool and assigns it to the IsDownloadable field. +func (o *GoPackageUploadResponse) SetIsDownloadable(v bool) { + o.IsDownloadable = &v +} + +// GetIsQuarantined returns the IsQuarantined field value if set, zero value otherwise. +func (o *GoPackageUploadResponse) GetIsQuarantined() bool { + if o == nil || isNil(o.IsQuarantined) { + var ret bool + return ret + } + return *o.IsQuarantined +} + +// GetIsQuarantinedOk returns a tuple with the IsQuarantined field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *GoPackageUploadResponse) GetIsQuarantinedOk() (*bool, bool) { + if o == nil || isNil(o.IsQuarantined) { + return nil, false + } + return o.IsQuarantined, true +} + +// HasIsQuarantined returns a boolean if a field has been set. +func (o *GoPackageUploadResponse) HasIsQuarantined() bool { + if o != nil && !isNil(o.IsQuarantined) { + return true + } + + return false +} + +// SetIsQuarantined gets a reference to the given bool and assigns it to the IsQuarantined field. +func (o *GoPackageUploadResponse) SetIsQuarantined(v bool) { + o.IsQuarantined = &v +} + +// GetIsSyncAwaiting returns the IsSyncAwaiting field value if set, zero value otherwise. +func (o *GoPackageUploadResponse) GetIsSyncAwaiting() bool { + if o == nil || isNil(o.IsSyncAwaiting) { + var ret bool + return ret + } + return *o.IsSyncAwaiting +} + +// GetIsSyncAwaitingOk returns a tuple with the IsSyncAwaiting field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *GoPackageUploadResponse) GetIsSyncAwaitingOk() (*bool, bool) { + if o == nil || isNil(o.IsSyncAwaiting) { + return nil, false + } + return o.IsSyncAwaiting, true +} + +// HasIsSyncAwaiting returns a boolean if a field has been set. +func (o *GoPackageUploadResponse) HasIsSyncAwaiting() bool { + if o != nil && !isNil(o.IsSyncAwaiting) { + return true + } + + return false +} + +// SetIsSyncAwaiting gets a reference to the given bool and assigns it to the IsSyncAwaiting field. +func (o *GoPackageUploadResponse) SetIsSyncAwaiting(v bool) { + o.IsSyncAwaiting = &v +} + +// GetIsSyncCompleted returns the IsSyncCompleted field value if set, zero value otherwise. +func (o *GoPackageUploadResponse) GetIsSyncCompleted() bool { + if o == nil || isNil(o.IsSyncCompleted) { + var ret bool + return ret + } + return *o.IsSyncCompleted +} + +// GetIsSyncCompletedOk returns a tuple with the IsSyncCompleted field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *GoPackageUploadResponse) GetIsSyncCompletedOk() (*bool, bool) { + if o == nil || isNil(o.IsSyncCompleted) { + return nil, false + } + return o.IsSyncCompleted, true +} + +// HasIsSyncCompleted returns a boolean if a field has been set. +func (o *GoPackageUploadResponse) HasIsSyncCompleted() bool { + if o != nil && !isNil(o.IsSyncCompleted) { + return true + } + + return false +} + +// SetIsSyncCompleted gets a reference to the given bool and assigns it to the IsSyncCompleted field. +func (o *GoPackageUploadResponse) SetIsSyncCompleted(v bool) { + o.IsSyncCompleted = &v +} + +// GetIsSyncFailed returns the IsSyncFailed field value if set, zero value otherwise. +func (o *GoPackageUploadResponse) GetIsSyncFailed() bool { + if o == nil || isNil(o.IsSyncFailed) { + var ret bool + return ret + } + return *o.IsSyncFailed +} + +// GetIsSyncFailedOk returns a tuple with the IsSyncFailed field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *GoPackageUploadResponse) GetIsSyncFailedOk() (*bool, bool) { + if o == nil || isNil(o.IsSyncFailed) { + return nil, false + } + return o.IsSyncFailed, true +} + +// HasIsSyncFailed returns a boolean if a field has been set. +func (o *GoPackageUploadResponse) HasIsSyncFailed() bool { + if o != nil && !isNil(o.IsSyncFailed) { + return true + } + + return false +} + +// SetIsSyncFailed gets a reference to the given bool and assigns it to the IsSyncFailed field. +func (o *GoPackageUploadResponse) SetIsSyncFailed(v bool) { + o.IsSyncFailed = &v +} + +// GetIsSyncInFlight returns the IsSyncInFlight field value if set, zero value otherwise. +func (o *GoPackageUploadResponse) GetIsSyncInFlight() bool { + if o == nil || isNil(o.IsSyncInFlight) { + var ret bool + return ret + } + return *o.IsSyncInFlight +} + +// GetIsSyncInFlightOk returns a tuple with the IsSyncInFlight field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *GoPackageUploadResponse) GetIsSyncInFlightOk() (*bool, bool) { + if o == nil || isNil(o.IsSyncInFlight) { + return nil, false + } + return o.IsSyncInFlight, true +} + +// HasIsSyncInFlight returns a boolean if a field has been set. +func (o *GoPackageUploadResponse) HasIsSyncInFlight() bool { + if o != nil && !isNil(o.IsSyncInFlight) { + return true + } + + return false +} + +// SetIsSyncInFlight gets a reference to the given bool and assigns it to the IsSyncInFlight field. +func (o *GoPackageUploadResponse) SetIsSyncInFlight(v bool) { + o.IsSyncInFlight = &v +} + +// GetIsSyncInProgress returns the IsSyncInProgress field value if set, zero value otherwise. +func (o *GoPackageUploadResponse) GetIsSyncInProgress() bool { + if o == nil || isNil(o.IsSyncInProgress) { + var ret bool + return ret + } + return *o.IsSyncInProgress +} + +// GetIsSyncInProgressOk returns a tuple with the IsSyncInProgress field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *GoPackageUploadResponse) GetIsSyncInProgressOk() (*bool, bool) { + if o == nil || isNil(o.IsSyncInProgress) { + return nil, false + } + return o.IsSyncInProgress, true +} + +// HasIsSyncInProgress returns a boolean if a field has been set. +func (o *GoPackageUploadResponse) HasIsSyncInProgress() bool { + if o != nil && !isNil(o.IsSyncInProgress) { + return true + } + + return false +} + +// SetIsSyncInProgress gets a reference to the given bool and assigns it to the IsSyncInProgress field. +func (o *GoPackageUploadResponse) SetIsSyncInProgress(v bool) { + o.IsSyncInProgress = &v +} + +// GetLicense returns the License field value if set, zero value otherwise. +func (o *GoPackageUploadResponse) GetLicense() string { + if o == nil || isNil(o.License) { + var ret string + return ret + } + return *o.License +} + +// GetLicenseOk returns a tuple with the License field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *GoPackageUploadResponse) GetLicenseOk() (*string, bool) { + if o == nil || isNil(o.License) { + return nil, false + } + return o.License, true +} + +// HasLicense returns a boolean if a field has been set. +func (o *GoPackageUploadResponse) HasLicense() bool { + if o != nil && !isNil(o.License) { + return true + } + + return false +} + +// SetLicense gets a reference to the given string and assigns it to the License field. +func (o *GoPackageUploadResponse) SetLicense(v string) { + o.License = &v +} + +// GetName returns the Name field value if set, zero value otherwise. +func (o *GoPackageUploadResponse) GetName() string { + if o == nil || isNil(o.Name) { + var ret string + return ret + } + return *o.Name +} + +// GetNameOk returns a tuple with the Name field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *GoPackageUploadResponse) GetNameOk() (*string, bool) { + if o == nil || isNil(o.Name) { + return nil, false + } + return o.Name, true +} + +// HasName returns a boolean if a field has been set. +func (o *GoPackageUploadResponse) HasName() bool { + if o != nil && !isNil(o.Name) { + return true + } + + return false +} + +// SetName gets a reference to the given string and assigns it to the Name field. +func (o *GoPackageUploadResponse) SetName(v string) { + o.Name = &v +} + +// GetNamespace returns the Namespace field value if set, zero value otherwise. +func (o *GoPackageUploadResponse) GetNamespace() string { + if o == nil || isNil(o.Namespace) { + var ret string + return ret + } + return *o.Namespace +} + +// GetNamespaceOk returns a tuple with the Namespace field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *GoPackageUploadResponse) GetNamespaceOk() (*string, bool) { + if o == nil || isNil(o.Namespace) { + return nil, false + } + return o.Namespace, true +} + +// HasNamespace returns a boolean if a field has been set. +func (o *GoPackageUploadResponse) HasNamespace() bool { + if o != nil && !isNil(o.Namespace) { + return true + } + + return false +} + +// SetNamespace gets a reference to the given string and assigns it to the Namespace field. +func (o *GoPackageUploadResponse) SetNamespace(v string) { + o.Namespace = &v +} + +// GetNamespaceUrl returns the NamespaceUrl field value if set, zero value otherwise. +func (o *GoPackageUploadResponse) GetNamespaceUrl() string { + if o == nil || isNil(o.NamespaceUrl) { + var ret string + return ret + } + return *o.NamespaceUrl +} + +// GetNamespaceUrlOk returns a tuple with the NamespaceUrl field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *GoPackageUploadResponse) GetNamespaceUrlOk() (*string, bool) { + if o == nil || isNil(o.NamespaceUrl) { + return nil, false + } + return o.NamespaceUrl, true +} + +// HasNamespaceUrl returns a boolean if a field has been set. +func (o *GoPackageUploadResponse) HasNamespaceUrl() bool { + if o != nil && !isNil(o.NamespaceUrl) { + return true + } + + return false +} + +// SetNamespaceUrl gets a reference to the given string and assigns it to the NamespaceUrl field. +func (o *GoPackageUploadResponse) SetNamespaceUrl(v string) { + o.NamespaceUrl = &v +} + +// GetNumFiles returns the NumFiles field value if set, zero value otherwise. +func (o *GoPackageUploadResponse) GetNumFiles() int64 { + if o == nil || isNil(o.NumFiles) { + var ret int64 + return ret + } + return *o.NumFiles +} + +// GetNumFilesOk returns a tuple with the NumFiles field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *GoPackageUploadResponse) GetNumFilesOk() (*int64, bool) { + if o == nil || isNil(o.NumFiles) { + return nil, false + } + return o.NumFiles, true +} + +// HasNumFiles returns a boolean if a field has been set. +func (o *GoPackageUploadResponse) HasNumFiles() bool { + if o != nil && !isNil(o.NumFiles) { + return true + } + + return false +} + +// SetNumFiles gets a reference to the given int64 and assigns it to the NumFiles field. +func (o *GoPackageUploadResponse) SetNumFiles(v int64) { + o.NumFiles = &v +} + +// GetOriginRepository returns the OriginRepository field value if set, zero value otherwise. +func (o *GoPackageUploadResponse) GetOriginRepository() string { + if o == nil || isNil(o.OriginRepository) { + var ret string + return ret + } + return *o.OriginRepository +} + +// GetOriginRepositoryOk returns a tuple with the OriginRepository field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *GoPackageUploadResponse) GetOriginRepositoryOk() (*string, bool) { + if o == nil || isNil(o.OriginRepository) { + return nil, false + } + return o.OriginRepository, true +} + +// HasOriginRepository returns a boolean if a field has been set. +func (o *GoPackageUploadResponse) HasOriginRepository() bool { + if o != nil && !isNil(o.OriginRepository) { + return true + } + + return false +} + +// SetOriginRepository gets a reference to the given string and assigns it to the OriginRepository field. +func (o *GoPackageUploadResponse) SetOriginRepository(v string) { + o.OriginRepository = &v +} + +// GetOriginRepositoryUrl returns the OriginRepositoryUrl field value if set, zero value otherwise. +func (o *GoPackageUploadResponse) GetOriginRepositoryUrl() string { + if o == nil || isNil(o.OriginRepositoryUrl) { + var ret string + return ret + } + return *o.OriginRepositoryUrl +} + +// GetOriginRepositoryUrlOk returns a tuple with the OriginRepositoryUrl field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *GoPackageUploadResponse) GetOriginRepositoryUrlOk() (*string, bool) { + if o == nil || isNil(o.OriginRepositoryUrl) { + return nil, false + } + return o.OriginRepositoryUrl, true +} + +// HasOriginRepositoryUrl returns a boolean if a field has been set. +func (o *GoPackageUploadResponse) HasOriginRepositoryUrl() bool { + if o != nil && !isNil(o.OriginRepositoryUrl) { + return true + } + + return false +} + +// SetOriginRepositoryUrl gets a reference to the given string and assigns it to the OriginRepositoryUrl field. +func (o *GoPackageUploadResponse) SetOriginRepositoryUrl(v string) { + o.OriginRepositoryUrl = &v +} + +// GetPackageType returns the PackageType field value if set, zero value otherwise. +func (o *GoPackageUploadResponse) GetPackageType() int64 { + if o == nil || isNil(o.PackageType) { + var ret int64 + return ret + } + return *o.PackageType +} + +// GetPackageTypeOk returns a tuple with the PackageType field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *GoPackageUploadResponse) GetPackageTypeOk() (*int64, bool) { + if o == nil || isNil(o.PackageType) { + return nil, false + } + return o.PackageType, true +} + +// HasPackageType returns a boolean if a field has been set. +func (o *GoPackageUploadResponse) HasPackageType() bool { + if o != nil && !isNil(o.PackageType) { + return true + } + + return false +} + +// SetPackageType gets a reference to the given int64 and assigns it to the PackageType field. +func (o *GoPackageUploadResponse) SetPackageType(v int64) { + o.PackageType = &v +} + +// GetRelease returns the Release field value if set, zero value otherwise. +func (o *GoPackageUploadResponse) GetRelease() string { + if o == nil || isNil(o.Release) { + var ret string + return ret + } + return *o.Release +} + +// GetReleaseOk returns a tuple with the Release field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *GoPackageUploadResponse) GetReleaseOk() (*string, bool) { + if o == nil || isNil(o.Release) { + return nil, false + } + return o.Release, true +} + +// HasRelease returns a boolean if a field has been set. +func (o *GoPackageUploadResponse) HasRelease() bool { + if o != nil && !isNil(o.Release) { + return true + } + + return false +} + +// SetRelease gets a reference to the given string and assigns it to the Release field. +func (o *GoPackageUploadResponse) SetRelease(v string) { + o.Release = &v +} + +// GetRepository returns the Repository field value if set, zero value otherwise. +func (o *GoPackageUploadResponse) GetRepository() string { + if o == nil || isNil(o.Repository) { + var ret string + return ret + } + return *o.Repository +} + +// GetRepositoryOk returns a tuple with the Repository field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *GoPackageUploadResponse) GetRepositoryOk() (*string, bool) { + if o == nil || isNil(o.Repository) { + return nil, false + } + return o.Repository, true +} + +// HasRepository returns a boolean if a field has been set. +func (o *GoPackageUploadResponse) HasRepository() bool { + if o != nil && !isNil(o.Repository) { + return true + } + + return false +} + +// SetRepository gets a reference to the given string and assigns it to the Repository field. +func (o *GoPackageUploadResponse) SetRepository(v string) { + o.Repository = &v +} + +// GetRepositoryUrl returns the RepositoryUrl field value if set, zero value otherwise. +func (o *GoPackageUploadResponse) GetRepositoryUrl() string { + if o == nil || isNil(o.RepositoryUrl) { + var ret string + return ret + } + return *o.RepositoryUrl +} + +// GetRepositoryUrlOk returns a tuple with the RepositoryUrl field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *GoPackageUploadResponse) GetRepositoryUrlOk() (*string, bool) { + if o == nil || isNil(o.RepositoryUrl) { + return nil, false + } + return o.RepositoryUrl, true +} + +// HasRepositoryUrl returns a boolean if a field has been set. +func (o *GoPackageUploadResponse) HasRepositoryUrl() bool { + if o != nil && !isNil(o.RepositoryUrl) { + return true + } + + return false +} + +// SetRepositoryUrl gets a reference to the given string and assigns it to the RepositoryUrl field. +func (o *GoPackageUploadResponse) SetRepositoryUrl(v string) { + o.RepositoryUrl = &v +} + +// GetSecurityScanCompletedAt returns the SecurityScanCompletedAt field value if set, zero value otherwise. +func (o *GoPackageUploadResponse) GetSecurityScanCompletedAt() time.Time { + if o == nil || isNil(o.SecurityScanCompletedAt) { + var ret time.Time + return ret + } + return *o.SecurityScanCompletedAt +} + +// GetSecurityScanCompletedAtOk returns a tuple with the SecurityScanCompletedAt field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *GoPackageUploadResponse) GetSecurityScanCompletedAtOk() (*time.Time, bool) { + if o == nil || isNil(o.SecurityScanCompletedAt) { + return nil, false + } + return o.SecurityScanCompletedAt, true +} + +// HasSecurityScanCompletedAt returns a boolean if a field has been set. +func (o *GoPackageUploadResponse) HasSecurityScanCompletedAt() bool { + if o != nil && !isNil(o.SecurityScanCompletedAt) { + return true + } + + return false +} + +// SetSecurityScanCompletedAt gets a reference to the given time.Time and assigns it to the SecurityScanCompletedAt field. +func (o *GoPackageUploadResponse) SetSecurityScanCompletedAt(v time.Time) { + o.SecurityScanCompletedAt = &v +} + +// GetSecurityScanStartedAt returns the SecurityScanStartedAt field value if set, zero value otherwise. +func (o *GoPackageUploadResponse) GetSecurityScanStartedAt() time.Time { + if o == nil || isNil(o.SecurityScanStartedAt) { + var ret time.Time + return ret + } + return *o.SecurityScanStartedAt +} + +// GetSecurityScanStartedAtOk returns a tuple with the SecurityScanStartedAt field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *GoPackageUploadResponse) GetSecurityScanStartedAtOk() (*time.Time, bool) { + if o == nil || isNil(o.SecurityScanStartedAt) { + return nil, false + } + return o.SecurityScanStartedAt, true +} + +// HasSecurityScanStartedAt returns a boolean if a field has been set. +func (o *GoPackageUploadResponse) HasSecurityScanStartedAt() bool { + if o != nil && !isNil(o.SecurityScanStartedAt) { + return true + } + + return false +} + +// SetSecurityScanStartedAt gets a reference to the given time.Time and assigns it to the SecurityScanStartedAt field. +func (o *GoPackageUploadResponse) SetSecurityScanStartedAt(v time.Time) { + o.SecurityScanStartedAt = &v +} + +// GetSecurityScanStatus returns the SecurityScanStatus field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *GoPackageUploadResponse) GetSecurityScanStatus() string { + if o == nil || isNil(o.SecurityScanStatus.Get()) { + var ret string + return ret + } + return *o.SecurityScanStatus.Get() +} + +// GetSecurityScanStatusOk returns a tuple with the SecurityScanStatus 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 *GoPackageUploadResponse) GetSecurityScanStatusOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.SecurityScanStatus.Get(), o.SecurityScanStatus.IsSet() +} + +// HasSecurityScanStatus returns a boolean if a field has been set. +func (o *GoPackageUploadResponse) HasSecurityScanStatus() bool { + if o != nil && o.SecurityScanStatus.IsSet() { + return true + } + + return false +} + +// SetSecurityScanStatus gets a reference to the given NullableString and assigns it to the SecurityScanStatus field. +func (o *GoPackageUploadResponse) SetSecurityScanStatus(v string) { + o.SecurityScanStatus.Set(&v) +} + +// SetSecurityScanStatusNil sets the value for SecurityScanStatus to be an explicit nil +func (o *GoPackageUploadResponse) SetSecurityScanStatusNil() { + o.SecurityScanStatus.Set(nil) +} + +// UnsetSecurityScanStatus ensures that no value is present for SecurityScanStatus, not even an explicit nil +func (o *GoPackageUploadResponse) UnsetSecurityScanStatus() { + o.SecurityScanStatus.Unset() +} + +// GetSecurityScanStatusUpdatedAt returns the SecurityScanStatusUpdatedAt field value if set, zero value otherwise. +func (o *GoPackageUploadResponse) GetSecurityScanStatusUpdatedAt() time.Time { + if o == nil || isNil(o.SecurityScanStatusUpdatedAt) { + var ret time.Time + return ret + } + return *o.SecurityScanStatusUpdatedAt +} + +// GetSecurityScanStatusUpdatedAtOk returns a tuple with the SecurityScanStatusUpdatedAt field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *GoPackageUploadResponse) GetSecurityScanStatusUpdatedAtOk() (*time.Time, bool) { + if o == nil || isNil(o.SecurityScanStatusUpdatedAt) { + return nil, false + } + return o.SecurityScanStatusUpdatedAt, true +} + +// HasSecurityScanStatusUpdatedAt returns a boolean if a field has been set. +func (o *GoPackageUploadResponse) HasSecurityScanStatusUpdatedAt() bool { + if o != nil && !isNil(o.SecurityScanStatusUpdatedAt) { + return true + } + + return false +} + +// SetSecurityScanStatusUpdatedAt gets a reference to the given time.Time and assigns it to the SecurityScanStatusUpdatedAt field. +func (o *GoPackageUploadResponse) SetSecurityScanStatusUpdatedAt(v time.Time) { + o.SecurityScanStatusUpdatedAt = &v +} + +// GetSelfHtmlUrl returns the SelfHtmlUrl field value if set, zero value otherwise. +func (o *GoPackageUploadResponse) GetSelfHtmlUrl() string { + if o == nil || isNil(o.SelfHtmlUrl) { + var ret string + return ret + } + return *o.SelfHtmlUrl +} + +// GetSelfHtmlUrlOk returns a tuple with the SelfHtmlUrl field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *GoPackageUploadResponse) GetSelfHtmlUrlOk() (*string, bool) { + if o == nil || isNil(o.SelfHtmlUrl) { + return nil, false + } + return o.SelfHtmlUrl, true +} + +// HasSelfHtmlUrl returns a boolean if a field has been set. +func (o *GoPackageUploadResponse) HasSelfHtmlUrl() bool { + if o != nil && !isNil(o.SelfHtmlUrl) { + return true + } + + return false +} + +// SetSelfHtmlUrl gets a reference to the given string and assigns it to the SelfHtmlUrl field. +func (o *GoPackageUploadResponse) SetSelfHtmlUrl(v string) { + o.SelfHtmlUrl = &v +} + +// GetSelfUrl returns the SelfUrl field value if set, zero value otherwise. +func (o *GoPackageUploadResponse) GetSelfUrl() string { + if o == nil || isNil(o.SelfUrl) { + var ret string + return ret + } + return *o.SelfUrl +} + +// GetSelfUrlOk returns a tuple with the SelfUrl field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *GoPackageUploadResponse) GetSelfUrlOk() (*string, bool) { + if o == nil || isNil(o.SelfUrl) { + return nil, false + } + return o.SelfUrl, true +} + +// HasSelfUrl returns a boolean if a field has been set. +func (o *GoPackageUploadResponse) HasSelfUrl() bool { + if o != nil && !isNil(o.SelfUrl) { + return true + } + + return false +} + +// SetSelfUrl gets a reference to the given string and assigns it to the SelfUrl field. +func (o *GoPackageUploadResponse) SetSelfUrl(v string) { + o.SelfUrl = &v +} + +// GetSignatureUrl returns the SignatureUrl field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *GoPackageUploadResponse) GetSignatureUrl() string { + if o == nil || isNil(o.SignatureUrl.Get()) { + var ret string + return ret + } + return *o.SignatureUrl.Get() +} + +// GetSignatureUrlOk returns a tuple with the SignatureUrl 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 *GoPackageUploadResponse) GetSignatureUrlOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.SignatureUrl.Get(), o.SignatureUrl.IsSet() +} + +// HasSignatureUrl returns a boolean if a field has been set. +func (o *GoPackageUploadResponse) HasSignatureUrl() bool { + if o != nil && o.SignatureUrl.IsSet() { + return true + } + + return false +} + +// SetSignatureUrl gets a reference to the given NullableString and assigns it to the SignatureUrl field. +func (o *GoPackageUploadResponse) SetSignatureUrl(v string) { + o.SignatureUrl.Set(&v) +} + +// SetSignatureUrlNil sets the value for SignatureUrl to be an explicit nil +func (o *GoPackageUploadResponse) SetSignatureUrlNil() { + o.SignatureUrl.Set(nil) +} + +// UnsetSignatureUrl ensures that no value is present for SignatureUrl, not even an explicit nil +func (o *GoPackageUploadResponse) UnsetSignatureUrl() { + o.SignatureUrl.Unset() +} + +// GetSize returns the Size field value if set, zero value otherwise. +func (o *GoPackageUploadResponse) GetSize() int64 { + if o == nil || isNil(o.Size) { + var ret int64 + return ret + } + return *o.Size +} + +// GetSizeOk returns a tuple with the Size field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *GoPackageUploadResponse) GetSizeOk() (*int64, bool) { + if o == nil || isNil(o.Size) { + return nil, false + } + return o.Size, true +} + +// HasSize returns a boolean if a field has been set. +func (o *GoPackageUploadResponse) HasSize() bool { + if o != nil && !isNil(o.Size) { + return true + } + + return false +} + +// SetSize gets a reference to the given int64 and assigns it to the Size field. +func (o *GoPackageUploadResponse) SetSize(v int64) { + o.Size = &v +} + +// GetSlug returns the Slug field value if set, zero value otherwise. +func (o *GoPackageUploadResponse) GetSlug() string { + if o == nil || isNil(o.Slug) { + var ret string + return ret + } + return *o.Slug +} + +// GetSlugOk returns a tuple with the Slug field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *GoPackageUploadResponse) GetSlugOk() (*string, bool) { + if o == nil || isNil(o.Slug) { + return nil, false + } + return o.Slug, true +} + +// HasSlug returns a boolean if a field has been set. +func (o *GoPackageUploadResponse) HasSlug() bool { + if o != nil && !isNil(o.Slug) { + return true + } + + return false +} + +// SetSlug gets a reference to the given string and assigns it to the Slug field. +func (o *GoPackageUploadResponse) SetSlug(v string) { + o.Slug = &v +} + +// GetSlugPerm returns the SlugPerm field value if set, zero value otherwise. +func (o *GoPackageUploadResponse) GetSlugPerm() string { + if o == nil || isNil(o.SlugPerm) { + var ret string + return ret + } + return *o.SlugPerm +} + +// GetSlugPermOk returns a tuple with the SlugPerm field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *GoPackageUploadResponse) GetSlugPermOk() (*string, bool) { + if o == nil || isNil(o.SlugPerm) { + return nil, false + } + return o.SlugPerm, true +} + +// HasSlugPerm returns a boolean if a field has been set. +func (o *GoPackageUploadResponse) HasSlugPerm() bool { + if o != nil && !isNil(o.SlugPerm) { + return true + } + + return false +} + +// SetSlugPerm gets a reference to the given string and assigns it to the SlugPerm field. +func (o *GoPackageUploadResponse) SetSlugPerm(v string) { + o.SlugPerm = &v +} + +// GetStage returns the Stage field value if set, zero value otherwise. +func (o *GoPackageUploadResponse) GetStage() int64 { + if o == nil || isNil(o.Stage) { + var ret int64 + return ret + } + return *o.Stage +} + +// GetStageOk returns a tuple with the Stage field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *GoPackageUploadResponse) GetStageOk() (*int64, bool) { + if o == nil || isNil(o.Stage) { + return nil, false + } + return o.Stage, true +} + +// HasStage returns a boolean if a field has been set. +func (o *GoPackageUploadResponse) HasStage() bool { + if o != nil && !isNil(o.Stage) { + return true + } + + return false +} + +// SetStage gets a reference to the given int64 and assigns it to the Stage field. +func (o *GoPackageUploadResponse) SetStage(v int64) { + o.Stage = &v +} + +// GetStageStr returns the StageStr field value if set, zero value otherwise. +func (o *GoPackageUploadResponse) GetStageStr() string { + if o == nil || isNil(o.StageStr) { + var ret string + return ret + } + return *o.StageStr +} + +// GetStageStrOk returns a tuple with the StageStr field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *GoPackageUploadResponse) GetStageStrOk() (*string, bool) { + if o == nil || isNil(o.StageStr) { + return nil, false + } + return o.StageStr, true +} + +// HasStageStr returns a boolean if a field has been set. +func (o *GoPackageUploadResponse) HasStageStr() bool { + if o != nil && !isNil(o.StageStr) { + return true + } + + return false +} + +// SetStageStr gets a reference to the given string and assigns it to the StageStr field. +func (o *GoPackageUploadResponse) SetStageStr(v string) { + o.StageStr = &v +} + +// GetStageUpdatedAt returns the StageUpdatedAt field value if set, zero value otherwise. +func (o *GoPackageUploadResponse) GetStageUpdatedAt() time.Time { + if o == nil || isNil(o.StageUpdatedAt) { + var ret time.Time + return ret + } + return *o.StageUpdatedAt +} + +// GetStageUpdatedAtOk returns a tuple with the StageUpdatedAt field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *GoPackageUploadResponse) GetStageUpdatedAtOk() (*time.Time, bool) { + if o == nil || isNil(o.StageUpdatedAt) { + return nil, false + } + return o.StageUpdatedAt, true +} + +// HasStageUpdatedAt returns a boolean if a field has been set. +func (o *GoPackageUploadResponse) HasStageUpdatedAt() bool { + if o != nil && !isNil(o.StageUpdatedAt) { + return true + } + + return false +} + +// SetStageUpdatedAt gets a reference to the given time.Time and assigns it to the StageUpdatedAt field. +func (o *GoPackageUploadResponse) SetStageUpdatedAt(v time.Time) { + o.StageUpdatedAt = &v +} + +// GetStatus returns the Status field value if set, zero value otherwise. +func (o *GoPackageUploadResponse) GetStatus() int64 { + if o == nil || isNil(o.Status) { + var ret int64 + return ret + } + return *o.Status +} + +// GetStatusOk returns a tuple with the Status field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *GoPackageUploadResponse) GetStatusOk() (*int64, bool) { + if o == nil || isNil(o.Status) { + return nil, false + } + return o.Status, true +} + +// HasStatus returns a boolean if a field has been set. +func (o *GoPackageUploadResponse) HasStatus() bool { + if o != nil && !isNil(o.Status) { + return true + } + + return false +} + +// SetStatus gets a reference to the given int64 and assigns it to the Status field. +func (o *GoPackageUploadResponse) SetStatus(v int64) { + o.Status = &v +} + +// GetStatusReason returns the StatusReason field value if set, zero value otherwise. +func (o *GoPackageUploadResponse) GetStatusReason() string { + if o == nil || isNil(o.StatusReason) { + var ret string + return ret + } + return *o.StatusReason +} + +// GetStatusReasonOk returns a tuple with the StatusReason field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *GoPackageUploadResponse) GetStatusReasonOk() (*string, bool) { + if o == nil || isNil(o.StatusReason) { + return nil, false + } + return o.StatusReason, true +} + +// HasStatusReason returns a boolean if a field has been set. +func (o *GoPackageUploadResponse) HasStatusReason() bool { + if o != nil && !isNil(o.StatusReason) { + return true + } + + return false +} + +// SetStatusReason gets a reference to the given string and assigns it to the StatusReason field. +func (o *GoPackageUploadResponse) SetStatusReason(v string) { + o.StatusReason = &v +} + +// GetStatusStr returns the StatusStr field value if set, zero value otherwise. +func (o *GoPackageUploadResponse) GetStatusStr() string { + if o == nil || isNil(o.StatusStr) { + var ret string + return ret + } + return *o.StatusStr +} + +// GetStatusStrOk returns a tuple with the StatusStr field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *GoPackageUploadResponse) GetStatusStrOk() (*string, bool) { + if o == nil || isNil(o.StatusStr) { + return nil, false + } + return o.StatusStr, true +} + +// HasStatusStr returns a boolean if a field has been set. +func (o *GoPackageUploadResponse) HasStatusStr() bool { + if o != nil && !isNil(o.StatusStr) { + return true + } + + return false +} + +// SetStatusStr gets a reference to the given string and assigns it to the StatusStr field. +func (o *GoPackageUploadResponse) SetStatusStr(v string) { + o.StatusStr = &v +} + +// GetStatusUpdatedAt returns the StatusUpdatedAt field value if set, zero value otherwise. +func (o *GoPackageUploadResponse) GetStatusUpdatedAt() time.Time { + if o == nil || isNil(o.StatusUpdatedAt) { + var ret time.Time + return ret + } + return *o.StatusUpdatedAt +} + +// GetStatusUpdatedAtOk returns a tuple with the StatusUpdatedAt field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *GoPackageUploadResponse) GetStatusUpdatedAtOk() (*time.Time, bool) { + if o == nil || isNil(o.StatusUpdatedAt) { + return nil, false + } + return o.StatusUpdatedAt, true +} + +// HasStatusUpdatedAt returns a boolean if a field has been set. +func (o *GoPackageUploadResponse) HasStatusUpdatedAt() bool { + if o != nil && !isNil(o.StatusUpdatedAt) { + return true + } + + return false +} + +// SetStatusUpdatedAt gets a reference to the given time.Time and assigns it to the StatusUpdatedAt field. +func (o *GoPackageUploadResponse) SetStatusUpdatedAt(v time.Time) { + o.StatusUpdatedAt = &v +} + +// GetStatusUrl returns the StatusUrl field value if set, zero value otherwise. +func (o *GoPackageUploadResponse) GetStatusUrl() string { + if o == nil || isNil(o.StatusUrl) { + var ret string + return ret + } + return *o.StatusUrl +} + +// GetStatusUrlOk returns a tuple with the StatusUrl field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *GoPackageUploadResponse) GetStatusUrlOk() (*string, bool) { + if o == nil || isNil(o.StatusUrl) { + return nil, false + } + return o.StatusUrl, true +} + +// HasStatusUrl returns a boolean if a field has been set. +func (o *GoPackageUploadResponse) HasStatusUrl() bool { + if o != nil && !isNil(o.StatusUrl) { + return true + } + + return false +} + +// SetStatusUrl gets a reference to the given string and assigns it to the StatusUrl field. +func (o *GoPackageUploadResponse) SetStatusUrl(v string) { + o.StatusUrl = &v +} + +// GetSubtype returns the Subtype field value if set, zero value otherwise. +func (o *GoPackageUploadResponse) GetSubtype() string { + if o == nil || isNil(o.Subtype) { + var ret string + return ret + } + return *o.Subtype +} + +// GetSubtypeOk returns a tuple with the Subtype field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *GoPackageUploadResponse) GetSubtypeOk() (*string, bool) { + if o == nil || isNil(o.Subtype) { + return nil, false + } + return o.Subtype, true +} + +// HasSubtype returns a boolean if a field has been set. +func (o *GoPackageUploadResponse) HasSubtype() bool { + if o != nil && !isNil(o.Subtype) { + return true + } + + return false +} + +// SetSubtype gets a reference to the given string and assigns it to the Subtype field. +func (o *GoPackageUploadResponse) SetSubtype(v string) { + o.Subtype = &v +} + +// GetSummary returns the Summary field value if set, zero value otherwise. +func (o *GoPackageUploadResponse) GetSummary() string { + if o == nil || isNil(o.Summary) { + var ret string + return ret + } + return *o.Summary +} + +// GetSummaryOk returns a tuple with the Summary field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *GoPackageUploadResponse) GetSummaryOk() (*string, bool) { + if o == nil || isNil(o.Summary) { + return nil, false + } + return o.Summary, true +} + +// HasSummary returns a boolean if a field has been set. +func (o *GoPackageUploadResponse) HasSummary() bool { + if o != nil && !isNil(o.Summary) { + return true + } + + return false +} + +// SetSummary gets a reference to the given string and assigns it to the Summary field. +func (o *GoPackageUploadResponse) SetSummary(v string) { + o.Summary = &v +} + +// GetSyncFinishedAt returns the SyncFinishedAt field value if set, zero value otherwise. +func (o *GoPackageUploadResponse) GetSyncFinishedAt() time.Time { + if o == nil || isNil(o.SyncFinishedAt) { + var ret time.Time + return ret + } + return *o.SyncFinishedAt +} + +// GetSyncFinishedAtOk returns a tuple with the SyncFinishedAt field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *GoPackageUploadResponse) GetSyncFinishedAtOk() (*time.Time, bool) { + if o == nil || isNil(o.SyncFinishedAt) { + return nil, false + } + return o.SyncFinishedAt, true +} + +// HasSyncFinishedAt returns a boolean if a field has been set. +func (o *GoPackageUploadResponse) HasSyncFinishedAt() bool { + if o != nil && !isNil(o.SyncFinishedAt) { + return true + } + + return false +} + +// SetSyncFinishedAt gets a reference to the given time.Time and assigns it to the SyncFinishedAt field. +func (o *GoPackageUploadResponse) SetSyncFinishedAt(v time.Time) { + o.SyncFinishedAt = &v +} + +// GetSyncProgress returns the SyncProgress field value if set, zero value otherwise. +func (o *GoPackageUploadResponse) GetSyncProgress() int64 { + if o == nil || isNil(o.SyncProgress) { + var ret int64 + return ret + } + return *o.SyncProgress +} + +// GetSyncProgressOk returns a tuple with the SyncProgress field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *GoPackageUploadResponse) GetSyncProgressOk() (*int64, bool) { + if o == nil || isNil(o.SyncProgress) { + return nil, false + } + return o.SyncProgress, true +} + +// HasSyncProgress returns a boolean if a field has been set. +func (o *GoPackageUploadResponse) HasSyncProgress() bool { + if o != nil && !isNil(o.SyncProgress) { + return true + } + + return false +} + +// SetSyncProgress gets a reference to the given int64 and assigns it to the SyncProgress field. +func (o *GoPackageUploadResponse) SetSyncProgress(v int64) { + o.SyncProgress = &v +} + +// GetTagsImmutable returns the TagsImmutable field value if set, zero value otherwise. +func (o *GoPackageUploadResponse) GetTagsImmutable() map[string]interface{} { + if o == nil || isNil(o.TagsImmutable) { + var ret map[string]interface{} + return ret + } + return o.TagsImmutable +} + +// GetTagsImmutableOk returns a tuple with the TagsImmutable field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *GoPackageUploadResponse) GetTagsImmutableOk() (map[string]interface{}, bool) { + if o == nil || isNil(o.TagsImmutable) { + return map[string]interface{}{}, false + } + return o.TagsImmutable, true +} + +// HasTagsImmutable returns a boolean if a field has been set. +func (o *GoPackageUploadResponse) HasTagsImmutable() bool { + if o != nil && !isNil(o.TagsImmutable) { + return true + } + + return false +} + +// SetTagsImmutable gets a reference to the given map[string]interface{} and assigns it to the TagsImmutable field. +func (o *GoPackageUploadResponse) SetTagsImmutable(v map[string]interface{}) { + o.TagsImmutable = v +} + +// GetTypeDisplay returns the TypeDisplay field value if set, zero value otherwise. +func (o *GoPackageUploadResponse) GetTypeDisplay() string { + if o == nil || isNil(o.TypeDisplay) { + var ret string + return ret + } + return *o.TypeDisplay +} + +// GetTypeDisplayOk returns a tuple with the TypeDisplay field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *GoPackageUploadResponse) GetTypeDisplayOk() (*string, bool) { + if o == nil || isNil(o.TypeDisplay) { + return nil, false + } + return o.TypeDisplay, true +} + +// HasTypeDisplay returns a boolean if a field has been set. +func (o *GoPackageUploadResponse) HasTypeDisplay() bool { + if o != nil && !isNil(o.TypeDisplay) { + return true + } + + return false +} + +// SetTypeDisplay gets a reference to the given string and assigns it to the TypeDisplay field. +func (o *GoPackageUploadResponse) SetTypeDisplay(v string) { + o.TypeDisplay = &v +} + +// GetUploadedAt returns the UploadedAt field value if set, zero value otherwise. +func (o *GoPackageUploadResponse) GetUploadedAt() time.Time { + if o == nil || isNil(o.UploadedAt) { + var ret time.Time + return ret + } + return *o.UploadedAt +} + +// GetUploadedAtOk returns a tuple with the UploadedAt field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *GoPackageUploadResponse) GetUploadedAtOk() (*time.Time, bool) { + if o == nil || isNil(o.UploadedAt) { + return nil, false + } + return o.UploadedAt, true +} + +// HasUploadedAt returns a boolean if a field has been set. +func (o *GoPackageUploadResponse) HasUploadedAt() bool { + if o != nil && !isNil(o.UploadedAt) { + return true + } + + return false +} + +// SetUploadedAt gets a reference to the given time.Time and assigns it to the UploadedAt field. +func (o *GoPackageUploadResponse) SetUploadedAt(v time.Time) { + o.UploadedAt = &v +} + +// GetUploader returns the Uploader field value if set, zero value otherwise. +func (o *GoPackageUploadResponse) GetUploader() string { + if o == nil || isNil(o.Uploader) { + var ret string + return ret + } + return *o.Uploader +} + +// GetUploaderOk returns a tuple with the Uploader field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *GoPackageUploadResponse) GetUploaderOk() (*string, bool) { + if o == nil || isNil(o.Uploader) { + return nil, false + } + return o.Uploader, true +} + +// HasUploader returns a boolean if a field has been set. +func (o *GoPackageUploadResponse) HasUploader() bool { + if o != nil && !isNil(o.Uploader) { + return true + } + + return false +} + +// SetUploader gets a reference to the given string and assigns it to the Uploader field. +func (o *GoPackageUploadResponse) SetUploader(v string) { + o.Uploader = &v +} + +// GetUploaderUrl returns the UploaderUrl field value if set, zero value otherwise. +func (o *GoPackageUploadResponse) GetUploaderUrl() string { + if o == nil || isNil(o.UploaderUrl) { + var ret string + return ret + } + return *o.UploaderUrl +} + +// GetUploaderUrlOk returns a tuple with the UploaderUrl field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *GoPackageUploadResponse) GetUploaderUrlOk() (*string, bool) { + if o == nil || isNil(o.UploaderUrl) { + return nil, false + } + return o.UploaderUrl, true +} + +// HasUploaderUrl returns a boolean if a field has been set. +func (o *GoPackageUploadResponse) HasUploaderUrl() bool { + if o != nil && !isNil(o.UploaderUrl) { + return true + } + + return false +} + +// SetUploaderUrl gets a reference to the given string and assigns it to the UploaderUrl field. +func (o *GoPackageUploadResponse) SetUploaderUrl(v string) { + o.UploaderUrl = &v +} + +// GetVersion returns the Version field value if set, zero value otherwise. +func (o *GoPackageUploadResponse) GetVersion() string { + if o == nil || isNil(o.Version) { + var ret string + return ret + } + return *o.Version +} + +// GetVersionOk returns a tuple with the Version field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *GoPackageUploadResponse) GetVersionOk() (*string, bool) { + if o == nil || isNil(o.Version) { + return nil, false + } + return o.Version, true +} + +// HasVersion returns a boolean if a field has been set. +func (o *GoPackageUploadResponse) HasVersion() bool { + if o != nil && !isNil(o.Version) { + return true + } + + return false +} + +// SetVersion gets a reference to the given string and assigns it to the Version field. +func (o *GoPackageUploadResponse) SetVersion(v string) { + o.Version = &v +} + +// GetVersionOrig returns the VersionOrig field value if set, zero value otherwise. +func (o *GoPackageUploadResponse) GetVersionOrig() string { + if o == nil || isNil(o.VersionOrig) { + var ret string + return ret + } + return *o.VersionOrig +} + +// GetVersionOrigOk returns a tuple with the VersionOrig field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *GoPackageUploadResponse) GetVersionOrigOk() (*string, bool) { + if o == nil || isNil(o.VersionOrig) { + return nil, false + } + return o.VersionOrig, true +} + +// HasVersionOrig returns a boolean if a field has been set. +func (o *GoPackageUploadResponse) HasVersionOrig() bool { + if o != nil && !isNil(o.VersionOrig) { + return true + } + + return false +} + +// SetVersionOrig gets a reference to the given string and assigns it to the VersionOrig field. +func (o *GoPackageUploadResponse) SetVersionOrig(v string) { + o.VersionOrig = &v +} + +// GetVulnerabilityScanResultsUrl returns the VulnerabilityScanResultsUrl field value if set, zero value otherwise. +func (o *GoPackageUploadResponse) GetVulnerabilityScanResultsUrl() string { + if o == nil || isNil(o.VulnerabilityScanResultsUrl) { + var ret string + return ret + } + return *o.VulnerabilityScanResultsUrl +} + +// GetVulnerabilityScanResultsUrlOk returns a tuple with the VulnerabilityScanResultsUrl field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *GoPackageUploadResponse) GetVulnerabilityScanResultsUrlOk() (*string, bool) { + if o == nil || isNil(o.VulnerabilityScanResultsUrl) { + return nil, false + } + return o.VulnerabilityScanResultsUrl, true +} + +// HasVulnerabilityScanResultsUrl returns a boolean if a field has been set. +func (o *GoPackageUploadResponse) HasVulnerabilityScanResultsUrl() bool { + if o != nil && !isNil(o.VulnerabilityScanResultsUrl) { + return true + } + + return false +} + +// SetVulnerabilityScanResultsUrl gets a reference to the given string and assigns it to the VulnerabilityScanResultsUrl field. +func (o *GoPackageUploadResponse) SetVulnerabilityScanResultsUrl(v string) { + o.VulnerabilityScanResultsUrl = &v +} + +func (o GoPackageUploadResponse) MarshalJSON() ([]byte, error) { + toSerialize := map[string]interface{}{} + if !isNil(o.Architectures) { + toSerialize["architectures"] = o.Architectures + } + if o.CdnUrl.IsSet() { + toSerialize["cdn_url"] = o.CdnUrl.Get() + } + if !isNil(o.ChecksumMd5) { + toSerialize["checksum_md5"] = o.ChecksumMd5 + } + if !isNil(o.ChecksumSha1) { + toSerialize["checksum_sha1"] = o.ChecksumSha1 + } + if !isNil(o.ChecksumSha256) { + toSerialize["checksum_sha256"] = o.ChecksumSha256 + } + if !isNil(o.ChecksumSha512) { + toSerialize["checksum_sha512"] = o.ChecksumSha512 + } + if !isNil(o.DependenciesChecksumMd5) { + toSerialize["dependencies_checksum_md5"] = o.DependenciesChecksumMd5 + } + if !isNil(o.DependenciesUrl) { + toSerialize["dependencies_url"] = o.DependenciesUrl + } + if !isNil(o.Description) { + toSerialize["description"] = o.Description + } + if o.Distro.IsSet() { + toSerialize["distro"] = o.Distro.Get() + } + if !isNil(o.DistroVersion) { + toSerialize["distro_version"] = o.DistroVersion + } + if !isNil(o.Downloads) { + toSerialize["downloads"] = o.Downloads + } + if !isNil(o.Epoch) { + toSerialize["epoch"] = o.Epoch + } + if !isNil(o.Extension) { + toSerialize["extension"] = o.Extension + } + if !isNil(o.Filename) { + toSerialize["filename"] = o.Filename + } + if !isNil(o.Files) { + toSerialize["files"] = o.Files + } + if !isNil(o.Format) { + toSerialize["format"] = o.Format + } + if !isNil(o.FormatUrl) { + toSerialize["format_url"] = o.FormatUrl + } + if !isNil(o.IdentifierPerm) { + toSerialize["identifier_perm"] = o.IdentifierPerm + } + if !isNil(o.Indexed) { + toSerialize["indexed"] = o.Indexed + } + if !isNil(o.IsDownloadable) { + toSerialize["is_downloadable"] = o.IsDownloadable + } + if !isNil(o.IsQuarantined) { + toSerialize["is_quarantined"] = o.IsQuarantined + } + if !isNil(o.IsSyncAwaiting) { + toSerialize["is_sync_awaiting"] = o.IsSyncAwaiting + } + if !isNil(o.IsSyncCompleted) { + toSerialize["is_sync_completed"] = o.IsSyncCompleted + } + if !isNil(o.IsSyncFailed) { + toSerialize["is_sync_failed"] = o.IsSyncFailed + } + if !isNil(o.IsSyncInFlight) { + toSerialize["is_sync_in_flight"] = o.IsSyncInFlight + } + if !isNil(o.IsSyncInProgress) { + toSerialize["is_sync_in_progress"] = o.IsSyncInProgress + } + if !isNil(o.License) { + toSerialize["license"] = o.License + } + if !isNil(o.Name) { + toSerialize["name"] = o.Name + } + if !isNil(o.Namespace) { + toSerialize["namespace"] = o.Namespace + } + if !isNil(o.NamespaceUrl) { + toSerialize["namespace_url"] = o.NamespaceUrl + } + if !isNil(o.NumFiles) { + toSerialize["num_files"] = o.NumFiles + } + if !isNil(o.OriginRepository) { + toSerialize["origin_repository"] = o.OriginRepository + } + if !isNil(o.OriginRepositoryUrl) { + toSerialize["origin_repository_url"] = o.OriginRepositoryUrl + } + if !isNil(o.PackageType) { + toSerialize["package_type"] = o.PackageType + } + if !isNil(o.Release) { + toSerialize["release"] = o.Release + } + if !isNil(o.Repository) { + toSerialize["repository"] = o.Repository + } + if !isNil(o.RepositoryUrl) { + toSerialize["repository_url"] = o.RepositoryUrl + } + if !isNil(o.SecurityScanCompletedAt) { + toSerialize["security_scan_completed_at"] = o.SecurityScanCompletedAt + } + if !isNil(o.SecurityScanStartedAt) { + toSerialize["security_scan_started_at"] = o.SecurityScanStartedAt + } + if o.SecurityScanStatus.IsSet() { + toSerialize["security_scan_status"] = o.SecurityScanStatus.Get() + } + if !isNil(o.SecurityScanStatusUpdatedAt) { + toSerialize["security_scan_status_updated_at"] = o.SecurityScanStatusUpdatedAt + } + if !isNil(o.SelfHtmlUrl) { + toSerialize["self_html_url"] = o.SelfHtmlUrl + } + if !isNil(o.SelfUrl) { + toSerialize["self_url"] = o.SelfUrl + } + if o.SignatureUrl.IsSet() { + toSerialize["signature_url"] = o.SignatureUrl.Get() + } + if !isNil(o.Size) { + toSerialize["size"] = o.Size + } + if !isNil(o.Slug) { + toSerialize["slug"] = o.Slug + } + if !isNil(o.SlugPerm) { + toSerialize["slug_perm"] = o.SlugPerm + } + if !isNil(o.Stage) { + toSerialize["stage"] = o.Stage + } + if !isNil(o.StageStr) { + toSerialize["stage_str"] = o.StageStr + } + if !isNil(o.StageUpdatedAt) { + toSerialize["stage_updated_at"] = o.StageUpdatedAt + } + if !isNil(o.Status) { + toSerialize["status"] = o.Status + } + if !isNil(o.StatusReason) { + toSerialize["status_reason"] = o.StatusReason + } + if !isNil(o.StatusStr) { + toSerialize["status_str"] = o.StatusStr + } + if !isNil(o.StatusUpdatedAt) { + toSerialize["status_updated_at"] = o.StatusUpdatedAt + } + if !isNil(o.StatusUrl) { + toSerialize["status_url"] = o.StatusUrl + } + if !isNil(o.Subtype) { + toSerialize["subtype"] = o.Subtype + } + if !isNil(o.Summary) { + toSerialize["summary"] = o.Summary + } + if !isNil(o.SyncFinishedAt) { + toSerialize["sync_finished_at"] = o.SyncFinishedAt + } + if !isNil(o.SyncProgress) { + toSerialize["sync_progress"] = o.SyncProgress + } + if !isNil(o.TagsImmutable) { + toSerialize["tags_immutable"] = o.TagsImmutable + } + if !isNil(o.TypeDisplay) { + toSerialize["type_display"] = o.TypeDisplay + } + if !isNil(o.UploadedAt) { + toSerialize["uploaded_at"] = o.UploadedAt + } + if !isNil(o.Uploader) { + toSerialize["uploader"] = o.Uploader + } + if !isNil(o.UploaderUrl) { + toSerialize["uploader_url"] = o.UploaderUrl + } + if !isNil(o.Version) { + toSerialize["version"] = o.Version + } + if !isNil(o.VersionOrig) { + toSerialize["version_orig"] = o.VersionOrig + } + if !isNil(o.VulnerabilityScanResultsUrl) { + toSerialize["vulnerability_scan_results_url"] = o.VulnerabilityScanResultsUrl + } + return json.Marshal(toSerialize) +} + +type NullableGoPackageUploadResponse struct { + value *GoPackageUploadResponse + isSet bool +} + +func (v NullableGoPackageUploadResponse) Get() *GoPackageUploadResponse { + return v.value +} + +func (v *NullableGoPackageUploadResponse) Set(val *GoPackageUploadResponse) { + v.value = val + v.isSet = true +} + +func (v NullableGoPackageUploadResponse) IsSet() bool { + return v.isSet +} + +func (v *NullableGoPackageUploadResponse) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableGoPackageUploadResponse(val *GoPackageUploadResponse) *NullableGoPackageUploadResponse { + return &NullableGoPackageUploadResponse{value: val, isSet: true} +} + +func (v NullableGoPackageUploadResponse) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableGoPackageUploadResponse) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} diff --git a/model_helm_package_upload.go b/model_helm_package_upload.go deleted file mode 100644 index 884fce7e..00000000 --- a/model_helm_package_upload.go +++ /dev/null @@ -1,2520 +0,0 @@ -/* -Cloudsmith API - -The API to the Cloudsmith Service - -API version: 1.121.3 -Contact: support@cloudsmith.io -*/ - -// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. - -package cloudsmith - -import ( - "encoding/json" -) - -// HelmPackageUpload struct for HelmPackageUpload -type HelmPackageUpload struct { - // - Architectures []PackagesOwnerRepoArchitectures `json:"architectures,omitempty"` - // - CdnUrl *string `json:"cdn_url,omitempty"` - // - ChecksumMd5 *string `json:"checksum_md5,omitempty"` - // - ChecksumSha1 *string `json:"checksum_sha1,omitempty"` - // - ChecksumSha256 *string `json:"checksum_sha256,omitempty"` - // - ChecksumSha512 *string `json:"checksum_sha512,omitempty"` - // A checksum of all of the package's dependencies. - DependenciesChecksumMd5 *string `json:"dependencies_checksum_md5,omitempty"` - // - DependenciesUrl *string `json:"dependencies_url,omitempty"` - // A textual description of this package. - Description *string `json:"description,omitempty"` - // - Distro map[string]interface{} `json:"distro,omitempty"` - // - DistroVersion map[string]interface{} `json:"distro_version,omitempty"` - // - Downloads *int64 `json:"downloads,omitempty"` - // The epoch of the package version (if any). - Epoch *int64 `json:"epoch,omitempty"` - // - Extension *string `json:"extension,omitempty"` - // - Filename *string `json:"filename,omitempty"` - // - Files []PackagesOwnerRepoFiles `json:"files,omitempty"` - // - Format *string `json:"format,omitempty"` - // - FormatUrl *string `json:"format_url,omitempty"` - // Unique and permanent identifier for the package. - IdentifierPerm *string `json:"identifier_perm,omitempty"` - // - Indexed *bool `json:"indexed,omitempty"` - // - IsDownloadable *bool `json:"is_downloadable,omitempty"` - // - IsQuarantined *bool `json:"is_quarantined,omitempty"` - // - IsSyncAwaiting *bool `json:"is_sync_awaiting,omitempty"` - // - IsSyncCompleted *bool `json:"is_sync_completed,omitempty"` - // - IsSyncFailed *bool `json:"is_sync_failed,omitempty"` - // - IsSyncInFlight *bool `json:"is_sync_in_flight,omitempty"` - // - IsSyncInProgress *bool `json:"is_sync_in_progress,omitempty"` - // The license of this package. - License *string `json:"license,omitempty"` - // The name of this package. - Name *string `json:"name,omitempty"` - // - Namespace *string `json:"namespace,omitempty"` - // - NamespaceUrl *string `json:"namespace_url,omitempty"` - // - NumFiles *int64 `json:"num_files,omitempty"` - // The type of package contents. - PackageType *int64 `json:"package_type,omitempty"` - // The release of the package version (if any). - Release *string `json:"release,omitempty"` - // - Repository *string `json:"repository,omitempty"` - // - RepositoryUrl *string `json:"repository_url,omitempty"` - // The datetime the security scanning was completed. - SecurityScanCompletedAt *string `json:"security_scan_completed_at,omitempty"` - // The datetime the security scanning was started. - SecurityScanStartedAt *string `json:"security_scan_started_at,omitempty"` - // - SecurityScanStatus *string `json:"security_scan_status,omitempty"` - // The datetime the security scanning status was updated. - SecurityScanStatusUpdatedAt *string `json:"security_scan_status_updated_at,omitempty"` - // - SelfHtmlUrl *string `json:"self_html_url,omitempty"` - // - SelfUrl *string `json:"self_url,omitempty"` - // - SignatureUrl *string `json:"signature_url,omitempty"` - // The calculated size of the package. - Size *int64 `json:"size,omitempty"` - // The public unique identifier for the package. - Slug *string `json:"slug,omitempty"` - // - SlugPerm *string `json:"slug_perm,omitempty"` - // The synchronisation (in progress) stage of the package. - Stage *int64 `json:"stage,omitempty"` - // - StageStr *string `json:"stage_str,omitempty"` - // The datetime the package stage was updated at. - StageUpdatedAt *string `json:"stage_updated_at,omitempty"` - // The synchronisation status of the package. - Status *int64 `json:"status,omitempty"` - // A textual description for the synchronous status reason (if any - StatusReason *string `json:"status_reason,omitempty"` - // - StatusStr *string `json:"status_str,omitempty"` - // The datetime the package status was updated at. - StatusUpdatedAt *string `json:"status_updated_at,omitempty"` - // - StatusUrl *string `json:"status_url,omitempty"` - // - Subtype *string `json:"subtype,omitempty"` - // A one-liner synopsis of this package. - Summary *string `json:"summary,omitempty"` - // The datetime the package sync was finished at. - SyncFinishedAt *string `json:"sync_finished_at,omitempty"` - // Synchronisation progress (from 0-100) - SyncProgress *int64 `json:"sync_progress,omitempty"` - // All immutable tags on the package, grouped by tag type. Immutable tags cannot be (easily) deleted. - TagsImmutable map[string]interface{} `json:"tags_immutable,omitempty"` - // - TypeDisplay *string `json:"type_display,omitempty"` - // The date this package was uploaded. - UploadedAt *string `json:"uploaded_at,omitempty"` - // - Uploader *string `json:"uploader,omitempty"` - // - UploaderUrl *string `json:"uploader_url,omitempty"` - // The raw version for this package. - Version *string `json:"version,omitempty"` - // - VersionOrig *string `json:"version_orig,omitempty"` - // - VulnerabilityScanResultsUrl *string `json:"vulnerability_scan_results_url,omitempty"` -} - -// NewHelmPackageUpload instantiates a new HelmPackageUpload object -// 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 NewHelmPackageUpload() *HelmPackageUpload { - this := HelmPackageUpload{} - return &this -} - -// NewHelmPackageUploadWithDefaults instantiates a new HelmPackageUpload object -// This constructor will only assign default values to properties that have it defined, -// but it doesn't guarantee that properties required by API are set -func NewHelmPackageUploadWithDefaults() *HelmPackageUpload { - this := HelmPackageUpload{} - return &this -} - -// GetArchitectures returns the Architectures field value if set, zero value otherwise. -func (o *HelmPackageUpload) GetArchitectures() []PackagesOwnerRepoArchitectures { - if o == nil || o.Architectures == nil { - var ret []PackagesOwnerRepoArchitectures - return ret - } - return o.Architectures -} - -// GetArchitecturesOk returns a tuple with the Architectures field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *HelmPackageUpload) GetArchitecturesOk() ([]PackagesOwnerRepoArchitectures, bool) { - if o == nil || o.Architectures == nil { - return nil, false - } - return o.Architectures, true -} - -// HasArchitectures returns a boolean if a field has been set. -func (o *HelmPackageUpload) HasArchitectures() bool { - if o != nil && o.Architectures != nil { - return true - } - - return false -} - -// SetArchitectures gets a reference to the given []PackagesOwnerRepoArchitectures and assigns it to the Architectures field. -func (o *HelmPackageUpload) SetArchitectures(v []PackagesOwnerRepoArchitectures) { - o.Architectures = v -} - -// GetCdnUrl returns the CdnUrl field value if set, zero value otherwise. -func (o *HelmPackageUpload) GetCdnUrl() string { - if o == nil || o.CdnUrl == nil { - var ret string - return ret - } - return *o.CdnUrl -} - -// GetCdnUrlOk returns a tuple with the CdnUrl field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *HelmPackageUpload) GetCdnUrlOk() (*string, bool) { - if o == nil || o.CdnUrl == nil { - return nil, false - } - return o.CdnUrl, true -} - -// HasCdnUrl returns a boolean if a field has been set. -func (o *HelmPackageUpload) HasCdnUrl() bool { - if o != nil && o.CdnUrl != nil { - return true - } - - return false -} - -// SetCdnUrl gets a reference to the given string and assigns it to the CdnUrl field. -func (o *HelmPackageUpload) SetCdnUrl(v string) { - o.CdnUrl = &v -} - -// GetChecksumMd5 returns the ChecksumMd5 field value if set, zero value otherwise. -func (o *HelmPackageUpload) GetChecksumMd5() string { - if o == nil || o.ChecksumMd5 == nil { - var ret string - return ret - } - return *o.ChecksumMd5 -} - -// GetChecksumMd5Ok returns a tuple with the ChecksumMd5 field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *HelmPackageUpload) GetChecksumMd5Ok() (*string, bool) { - if o == nil || o.ChecksumMd5 == nil { - return nil, false - } - return o.ChecksumMd5, true -} - -// HasChecksumMd5 returns a boolean if a field has been set. -func (o *HelmPackageUpload) HasChecksumMd5() bool { - if o != nil && o.ChecksumMd5 != nil { - return true - } - - return false -} - -// SetChecksumMd5 gets a reference to the given string and assigns it to the ChecksumMd5 field. -func (o *HelmPackageUpload) SetChecksumMd5(v string) { - o.ChecksumMd5 = &v -} - -// GetChecksumSha1 returns the ChecksumSha1 field value if set, zero value otherwise. -func (o *HelmPackageUpload) GetChecksumSha1() string { - if o == nil || o.ChecksumSha1 == nil { - var ret string - return ret - } - return *o.ChecksumSha1 -} - -// GetChecksumSha1Ok returns a tuple with the ChecksumSha1 field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *HelmPackageUpload) GetChecksumSha1Ok() (*string, bool) { - if o == nil || o.ChecksumSha1 == nil { - return nil, false - } - return o.ChecksumSha1, true -} - -// HasChecksumSha1 returns a boolean if a field has been set. -func (o *HelmPackageUpload) HasChecksumSha1() bool { - if o != nil && o.ChecksumSha1 != nil { - return true - } - - return false -} - -// SetChecksumSha1 gets a reference to the given string and assigns it to the ChecksumSha1 field. -func (o *HelmPackageUpload) SetChecksumSha1(v string) { - o.ChecksumSha1 = &v -} - -// GetChecksumSha256 returns the ChecksumSha256 field value if set, zero value otherwise. -func (o *HelmPackageUpload) GetChecksumSha256() string { - if o == nil || o.ChecksumSha256 == nil { - var ret string - return ret - } - return *o.ChecksumSha256 -} - -// GetChecksumSha256Ok returns a tuple with the ChecksumSha256 field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *HelmPackageUpload) GetChecksumSha256Ok() (*string, bool) { - if o == nil || o.ChecksumSha256 == nil { - return nil, false - } - return o.ChecksumSha256, true -} - -// HasChecksumSha256 returns a boolean if a field has been set. -func (o *HelmPackageUpload) HasChecksumSha256() bool { - if o != nil && o.ChecksumSha256 != nil { - return true - } - - return false -} - -// SetChecksumSha256 gets a reference to the given string and assigns it to the ChecksumSha256 field. -func (o *HelmPackageUpload) SetChecksumSha256(v string) { - o.ChecksumSha256 = &v -} - -// GetChecksumSha512 returns the ChecksumSha512 field value if set, zero value otherwise. -func (o *HelmPackageUpload) GetChecksumSha512() string { - if o == nil || o.ChecksumSha512 == nil { - var ret string - return ret - } - return *o.ChecksumSha512 -} - -// GetChecksumSha512Ok returns a tuple with the ChecksumSha512 field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *HelmPackageUpload) GetChecksumSha512Ok() (*string, bool) { - if o == nil || o.ChecksumSha512 == nil { - return nil, false - } - return o.ChecksumSha512, true -} - -// HasChecksumSha512 returns a boolean if a field has been set. -func (o *HelmPackageUpload) HasChecksumSha512() bool { - if o != nil && o.ChecksumSha512 != nil { - return true - } - - return false -} - -// SetChecksumSha512 gets a reference to the given string and assigns it to the ChecksumSha512 field. -func (o *HelmPackageUpload) SetChecksumSha512(v string) { - o.ChecksumSha512 = &v -} - -// GetDependenciesChecksumMd5 returns the DependenciesChecksumMd5 field value if set, zero value otherwise. -func (o *HelmPackageUpload) GetDependenciesChecksumMd5() string { - if o == nil || o.DependenciesChecksumMd5 == nil { - var ret string - return ret - } - return *o.DependenciesChecksumMd5 -} - -// GetDependenciesChecksumMd5Ok returns a tuple with the DependenciesChecksumMd5 field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *HelmPackageUpload) GetDependenciesChecksumMd5Ok() (*string, bool) { - if o == nil || o.DependenciesChecksumMd5 == nil { - return nil, false - } - return o.DependenciesChecksumMd5, true -} - -// HasDependenciesChecksumMd5 returns a boolean if a field has been set. -func (o *HelmPackageUpload) HasDependenciesChecksumMd5() bool { - if o != nil && o.DependenciesChecksumMd5 != nil { - return true - } - - return false -} - -// SetDependenciesChecksumMd5 gets a reference to the given string and assigns it to the DependenciesChecksumMd5 field. -func (o *HelmPackageUpload) SetDependenciesChecksumMd5(v string) { - o.DependenciesChecksumMd5 = &v -} - -// GetDependenciesUrl returns the DependenciesUrl field value if set, zero value otherwise. -func (o *HelmPackageUpload) GetDependenciesUrl() string { - if o == nil || o.DependenciesUrl == nil { - var ret string - return ret - } - return *o.DependenciesUrl -} - -// GetDependenciesUrlOk returns a tuple with the DependenciesUrl field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *HelmPackageUpload) GetDependenciesUrlOk() (*string, bool) { - if o == nil || o.DependenciesUrl == nil { - return nil, false - } - return o.DependenciesUrl, true -} - -// HasDependenciesUrl returns a boolean if a field has been set. -func (o *HelmPackageUpload) HasDependenciesUrl() bool { - if o != nil && o.DependenciesUrl != nil { - return true - } - - return false -} - -// SetDependenciesUrl gets a reference to the given string and assigns it to the DependenciesUrl field. -func (o *HelmPackageUpload) SetDependenciesUrl(v string) { - o.DependenciesUrl = &v -} - -// GetDescription returns the Description field value if set, zero value otherwise. -func (o *HelmPackageUpload) GetDescription() string { - if o == nil || o.Description == nil { - var ret string - return ret - } - return *o.Description -} - -// GetDescriptionOk returns a tuple with the Description field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *HelmPackageUpload) GetDescriptionOk() (*string, bool) { - if o == nil || o.Description == nil { - return nil, false - } - return o.Description, true -} - -// HasDescription returns a boolean if a field has been set. -func (o *HelmPackageUpload) HasDescription() bool { - if o != nil && o.Description != nil { - return true - } - - return false -} - -// SetDescription gets a reference to the given string and assigns it to the Description field. -func (o *HelmPackageUpload) SetDescription(v string) { - o.Description = &v -} - -// GetDistro returns the Distro field value if set, zero value otherwise. -func (o *HelmPackageUpload) GetDistro() map[string]interface{} { - if o == nil || o.Distro == nil { - var ret map[string]interface{} - return ret - } - return o.Distro -} - -// GetDistroOk returns a tuple with the Distro field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *HelmPackageUpload) GetDistroOk() (map[string]interface{}, bool) { - if o == nil || o.Distro == nil { - return nil, false - } - return o.Distro, true -} - -// HasDistro returns a boolean if a field has been set. -func (o *HelmPackageUpload) HasDistro() bool { - if o != nil && o.Distro != nil { - return true - } - - return false -} - -// SetDistro gets a reference to the given map[string]interface{} and assigns it to the Distro field. -func (o *HelmPackageUpload) SetDistro(v map[string]interface{}) { - o.Distro = v -} - -// GetDistroVersion returns the DistroVersion field value if set, zero value otherwise. -func (o *HelmPackageUpload) GetDistroVersion() map[string]interface{} { - if o == nil || o.DistroVersion == nil { - var ret map[string]interface{} - return ret - } - return o.DistroVersion -} - -// GetDistroVersionOk returns a tuple with the DistroVersion field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *HelmPackageUpload) GetDistroVersionOk() (map[string]interface{}, bool) { - if o == nil || o.DistroVersion == nil { - return nil, false - } - return o.DistroVersion, true -} - -// HasDistroVersion returns a boolean if a field has been set. -func (o *HelmPackageUpload) HasDistroVersion() bool { - if o != nil && o.DistroVersion != nil { - return true - } - - return false -} - -// SetDistroVersion gets a reference to the given map[string]interface{} and assigns it to the DistroVersion field. -func (o *HelmPackageUpload) SetDistroVersion(v map[string]interface{}) { - o.DistroVersion = v -} - -// GetDownloads returns the Downloads field value if set, zero value otherwise. -func (o *HelmPackageUpload) GetDownloads() int64 { - if o == nil || o.Downloads == nil { - var ret int64 - return ret - } - return *o.Downloads -} - -// GetDownloadsOk returns a tuple with the Downloads field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *HelmPackageUpload) GetDownloadsOk() (*int64, bool) { - if o == nil || o.Downloads == nil { - return nil, false - } - return o.Downloads, true -} - -// HasDownloads returns a boolean if a field has been set. -func (o *HelmPackageUpload) HasDownloads() bool { - if o != nil && o.Downloads != nil { - return true - } - - return false -} - -// SetDownloads gets a reference to the given int64 and assigns it to the Downloads field. -func (o *HelmPackageUpload) SetDownloads(v int64) { - o.Downloads = &v -} - -// GetEpoch returns the Epoch field value if set, zero value otherwise. -func (o *HelmPackageUpload) GetEpoch() int64 { - if o == nil || o.Epoch == nil { - var ret int64 - return ret - } - return *o.Epoch -} - -// GetEpochOk returns a tuple with the Epoch field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *HelmPackageUpload) GetEpochOk() (*int64, bool) { - if o == nil || o.Epoch == nil { - return nil, false - } - return o.Epoch, true -} - -// HasEpoch returns a boolean if a field has been set. -func (o *HelmPackageUpload) HasEpoch() bool { - if o != nil && o.Epoch != nil { - return true - } - - return false -} - -// SetEpoch gets a reference to the given int64 and assigns it to the Epoch field. -func (o *HelmPackageUpload) SetEpoch(v int64) { - o.Epoch = &v -} - -// GetExtension returns the Extension field value if set, zero value otherwise. -func (o *HelmPackageUpload) GetExtension() string { - if o == nil || o.Extension == nil { - var ret string - return ret - } - return *o.Extension -} - -// GetExtensionOk returns a tuple with the Extension field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *HelmPackageUpload) GetExtensionOk() (*string, bool) { - if o == nil || o.Extension == nil { - return nil, false - } - return o.Extension, true -} - -// HasExtension returns a boolean if a field has been set. -func (o *HelmPackageUpload) HasExtension() bool { - if o != nil && o.Extension != nil { - return true - } - - return false -} - -// SetExtension gets a reference to the given string and assigns it to the Extension field. -func (o *HelmPackageUpload) SetExtension(v string) { - o.Extension = &v -} - -// GetFilename returns the Filename field value if set, zero value otherwise. -func (o *HelmPackageUpload) GetFilename() string { - if o == nil || o.Filename == nil { - var ret string - return ret - } - return *o.Filename -} - -// GetFilenameOk returns a tuple with the Filename field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *HelmPackageUpload) GetFilenameOk() (*string, bool) { - if o == nil || o.Filename == nil { - return nil, false - } - return o.Filename, true -} - -// HasFilename returns a boolean if a field has been set. -func (o *HelmPackageUpload) HasFilename() bool { - if o != nil && o.Filename != nil { - return true - } - - return false -} - -// SetFilename gets a reference to the given string and assigns it to the Filename field. -func (o *HelmPackageUpload) SetFilename(v string) { - o.Filename = &v -} - -// GetFiles returns the Files field value if set, zero value otherwise. -func (o *HelmPackageUpload) GetFiles() []PackagesOwnerRepoFiles { - if o == nil || o.Files == nil { - var ret []PackagesOwnerRepoFiles - return ret - } - return o.Files -} - -// GetFilesOk returns a tuple with the Files field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *HelmPackageUpload) GetFilesOk() ([]PackagesOwnerRepoFiles, bool) { - if o == nil || o.Files == nil { - return nil, false - } - return o.Files, true -} - -// HasFiles returns a boolean if a field has been set. -func (o *HelmPackageUpload) HasFiles() bool { - if o != nil && o.Files != nil { - return true - } - - return false -} - -// SetFiles gets a reference to the given []PackagesOwnerRepoFiles and assigns it to the Files field. -func (o *HelmPackageUpload) SetFiles(v []PackagesOwnerRepoFiles) { - o.Files = v -} - -// GetFormat returns the Format field value if set, zero value otherwise. -func (o *HelmPackageUpload) GetFormat() string { - if o == nil || o.Format == nil { - var ret string - return ret - } - return *o.Format -} - -// GetFormatOk returns a tuple with the Format field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *HelmPackageUpload) GetFormatOk() (*string, bool) { - if o == nil || o.Format == nil { - return nil, false - } - return o.Format, true -} - -// HasFormat returns a boolean if a field has been set. -func (o *HelmPackageUpload) HasFormat() bool { - if o != nil && o.Format != nil { - return true - } - - return false -} - -// SetFormat gets a reference to the given string and assigns it to the Format field. -func (o *HelmPackageUpload) SetFormat(v string) { - o.Format = &v -} - -// GetFormatUrl returns the FormatUrl field value if set, zero value otherwise. -func (o *HelmPackageUpload) GetFormatUrl() string { - if o == nil || o.FormatUrl == nil { - var ret string - return ret - } - return *o.FormatUrl -} - -// GetFormatUrlOk returns a tuple with the FormatUrl field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *HelmPackageUpload) GetFormatUrlOk() (*string, bool) { - if o == nil || o.FormatUrl == nil { - return nil, false - } - return o.FormatUrl, true -} - -// HasFormatUrl returns a boolean if a field has been set. -func (o *HelmPackageUpload) HasFormatUrl() bool { - if o != nil && o.FormatUrl != nil { - return true - } - - return false -} - -// SetFormatUrl gets a reference to the given string and assigns it to the FormatUrl field. -func (o *HelmPackageUpload) SetFormatUrl(v string) { - o.FormatUrl = &v -} - -// GetIdentifierPerm returns the IdentifierPerm field value if set, zero value otherwise. -func (o *HelmPackageUpload) GetIdentifierPerm() string { - if o == nil || o.IdentifierPerm == nil { - var ret string - return ret - } - return *o.IdentifierPerm -} - -// GetIdentifierPermOk returns a tuple with the IdentifierPerm field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *HelmPackageUpload) GetIdentifierPermOk() (*string, bool) { - if o == nil || o.IdentifierPerm == nil { - return nil, false - } - return o.IdentifierPerm, true -} - -// HasIdentifierPerm returns a boolean if a field has been set. -func (o *HelmPackageUpload) HasIdentifierPerm() bool { - if o != nil && o.IdentifierPerm != nil { - return true - } - - return false -} - -// SetIdentifierPerm gets a reference to the given string and assigns it to the IdentifierPerm field. -func (o *HelmPackageUpload) SetIdentifierPerm(v string) { - o.IdentifierPerm = &v -} - -// GetIndexed returns the Indexed field value if set, zero value otherwise. -func (o *HelmPackageUpload) GetIndexed() bool { - if o == nil || o.Indexed == nil { - var ret bool - return ret - } - return *o.Indexed -} - -// GetIndexedOk returns a tuple with the Indexed field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *HelmPackageUpload) GetIndexedOk() (*bool, bool) { - if o == nil || o.Indexed == nil { - return nil, false - } - return o.Indexed, true -} - -// HasIndexed returns a boolean if a field has been set. -func (o *HelmPackageUpload) HasIndexed() bool { - if o != nil && o.Indexed != nil { - return true - } - - return false -} - -// SetIndexed gets a reference to the given bool and assigns it to the Indexed field. -func (o *HelmPackageUpload) SetIndexed(v bool) { - o.Indexed = &v -} - -// GetIsDownloadable returns the IsDownloadable field value if set, zero value otherwise. -func (o *HelmPackageUpload) GetIsDownloadable() bool { - if o == nil || o.IsDownloadable == nil { - var ret bool - return ret - } - return *o.IsDownloadable -} - -// GetIsDownloadableOk returns a tuple with the IsDownloadable field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *HelmPackageUpload) GetIsDownloadableOk() (*bool, bool) { - if o == nil || o.IsDownloadable == nil { - return nil, false - } - return o.IsDownloadable, true -} - -// HasIsDownloadable returns a boolean if a field has been set. -func (o *HelmPackageUpload) HasIsDownloadable() bool { - if o != nil && o.IsDownloadable != nil { - return true - } - - return false -} - -// SetIsDownloadable gets a reference to the given bool and assigns it to the IsDownloadable field. -func (o *HelmPackageUpload) SetIsDownloadable(v bool) { - o.IsDownloadable = &v -} - -// GetIsQuarantined returns the IsQuarantined field value if set, zero value otherwise. -func (o *HelmPackageUpload) GetIsQuarantined() bool { - if o == nil || o.IsQuarantined == nil { - var ret bool - return ret - } - return *o.IsQuarantined -} - -// GetIsQuarantinedOk returns a tuple with the IsQuarantined field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *HelmPackageUpload) GetIsQuarantinedOk() (*bool, bool) { - if o == nil || o.IsQuarantined == nil { - return nil, false - } - return o.IsQuarantined, true -} - -// HasIsQuarantined returns a boolean if a field has been set. -func (o *HelmPackageUpload) HasIsQuarantined() bool { - if o != nil && o.IsQuarantined != nil { - return true - } - - return false -} - -// SetIsQuarantined gets a reference to the given bool and assigns it to the IsQuarantined field. -func (o *HelmPackageUpload) SetIsQuarantined(v bool) { - o.IsQuarantined = &v -} - -// GetIsSyncAwaiting returns the IsSyncAwaiting field value if set, zero value otherwise. -func (o *HelmPackageUpload) GetIsSyncAwaiting() bool { - if o == nil || o.IsSyncAwaiting == nil { - var ret bool - return ret - } - return *o.IsSyncAwaiting -} - -// GetIsSyncAwaitingOk returns a tuple with the IsSyncAwaiting field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *HelmPackageUpload) GetIsSyncAwaitingOk() (*bool, bool) { - if o == nil || o.IsSyncAwaiting == nil { - return nil, false - } - return o.IsSyncAwaiting, true -} - -// HasIsSyncAwaiting returns a boolean if a field has been set. -func (o *HelmPackageUpload) HasIsSyncAwaiting() bool { - if o != nil && o.IsSyncAwaiting != nil { - return true - } - - return false -} - -// SetIsSyncAwaiting gets a reference to the given bool and assigns it to the IsSyncAwaiting field. -func (o *HelmPackageUpload) SetIsSyncAwaiting(v bool) { - o.IsSyncAwaiting = &v -} - -// GetIsSyncCompleted returns the IsSyncCompleted field value if set, zero value otherwise. -func (o *HelmPackageUpload) GetIsSyncCompleted() bool { - if o == nil || o.IsSyncCompleted == nil { - var ret bool - return ret - } - return *o.IsSyncCompleted -} - -// GetIsSyncCompletedOk returns a tuple with the IsSyncCompleted field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *HelmPackageUpload) GetIsSyncCompletedOk() (*bool, bool) { - if o == nil || o.IsSyncCompleted == nil { - return nil, false - } - return o.IsSyncCompleted, true -} - -// HasIsSyncCompleted returns a boolean if a field has been set. -func (o *HelmPackageUpload) HasIsSyncCompleted() bool { - if o != nil && o.IsSyncCompleted != nil { - return true - } - - return false -} - -// SetIsSyncCompleted gets a reference to the given bool and assigns it to the IsSyncCompleted field. -func (o *HelmPackageUpload) SetIsSyncCompleted(v bool) { - o.IsSyncCompleted = &v -} - -// GetIsSyncFailed returns the IsSyncFailed field value if set, zero value otherwise. -func (o *HelmPackageUpload) GetIsSyncFailed() bool { - if o == nil || o.IsSyncFailed == nil { - var ret bool - return ret - } - return *o.IsSyncFailed -} - -// GetIsSyncFailedOk returns a tuple with the IsSyncFailed field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *HelmPackageUpload) GetIsSyncFailedOk() (*bool, bool) { - if o == nil || o.IsSyncFailed == nil { - return nil, false - } - return o.IsSyncFailed, true -} - -// HasIsSyncFailed returns a boolean if a field has been set. -func (o *HelmPackageUpload) HasIsSyncFailed() bool { - if o != nil && o.IsSyncFailed != nil { - return true - } - - return false -} - -// SetIsSyncFailed gets a reference to the given bool and assigns it to the IsSyncFailed field. -func (o *HelmPackageUpload) SetIsSyncFailed(v bool) { - o.IsSyncFailed = &v -} - -// GetIsSyncInFlight returns the IsSyncInFlight field value if set, zero value otherwise. -func (o *HelmPackageUpload) GetIsSyncInFlight() bool { - if o == nil || o.IsSyncInFlight == nil { - var ret bool - return ret - } - return *o.IsSyncInFlight -} - -// GetIsSyncInFlightOk returns a tuple with the IsSyncInFlight field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *HelmPackageUpload) GetIsSyncInFlightOk() (*bool, bool) { - if o == nil || o.IsSyncInFlight == nil { - return nil, false - } - return o.IsSyncInFlight, true -} - -// HasIsSyncInFlight returns a boolean if a field has been set. -func (o *HelmPackageUpload) HasIsSyncInFlight() bool { - if o != nil && o.IsSyncInFlight != nil { - return true - } - - return false -} - -// SetIsSyncInFlight gets a reference to the given bool and assigns it to the IsSyncInFlight field. -func (o *HelmPackageUpload) SetIsSyncInFlight(v bool) { - o.IsSyncInFlight = &v -} - -// GetIsSyncInProgress returns the IsSyncInProgress field value if set, zero value otherwise. -func (o *HelmPackageUpload) GetIsSyncInProgress() bool { - if o == nil || o.IsSyncInProgress == nil { - var ret bool - return ret - } - return *o.IsSyncInProgress -} - -// GetIsSyncInProgressOk returns a tuple with the IsSyncInProgress field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *HelmPackageUpload) GetIsSyncInProgressOk() (*bool, bool) { - if o == nil || o.IsSyncInProgress == nil { - return nil, false - } - return o.IsSyncInProgress, true -} - -// HasIsSyncInProgress returns a boolean if a field has been set. -func (o *HelmPackageUpload) HasIsSyncInProgress() bool { - if o != nil && o.IsSyncInProgress != nil { - return true - } - - return false -} - -// SetIsSyncInProgress gets a reference to the given bool and assigns it to the IsSyncInProgress field. -func (o *HelmPackageUpload) SetIsSyncInProgress(v bool) { - o.IsSyncInProgress = &v -} - -// GetLicense returns the License field value if set, zero value otherwise. -func (o *HelmPackageUpload) GetLicense() string { - if o == nil || o.License == nil { - var ret string - return ret - } - return *o.License -} - -// GetLicenseOk returns a tuple with the License field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *HelmPackageUpload) GetLicenseOk() (*string, bool) { - if o == nil || o.License == nil { - return nil, false - } - return o.License, true -} - -// HasLicense returns a boolean if a field has been set. -func (o *HelmPackageUpload) HasLicense() bool { - if o != nil && o.License != nil { - return true - } - - return false -} - -// SetLicense gets a reference to the given string and assigns it to the License field. -func (o *HelmPackageUpload) SetLicense(v string) { - o.License = &v -} - -// GetName returns the Name field value if set, zero value otherwise. -func (o *HelmPackageUpload) GetName() string { - if o == nil || o.Name == nil { - var ret string - return ret - } - return *o.Name -} - -// GetNameOk returns a tuple with the Name field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *HelmPackageUpload) GetNameOk() (*string, bool) { - if o == nil || o.Name == nil { - return nil, false - } - return o.Name, true -} - -// HasName returns a boolean if a field has been set. -func (o *HelmPackageUpload) HasName() bool { - if o != nil && o.Name != nil { - return true - } - - return false -} - -// SetName gets a reference to the given string and assigns it to the Name field. -func (o *HelmPackageUpload) SetName(v string) { - o.Name = &v -} - -// GetNamespace returns the Namespace field value if set, zero value otherwise. -func (o *HelmPackageUpload) GetNamespace() string { - if o == nil || o.Namespace == nil { - var ret string - return ret - } - return *o.Namespace -} - -// GetNamespaceOk returns a tuple with the Namespace field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *HelmPackageUpload) GetNamespaceOk() (*string, bool) { - if o == nil || o.Namespace == nil { - return nil, false - } - return o.Namespace, true -} - -// HasNamespace returns a boolean if a field has been set. -func (o *HelmPackageUpload) HasNamespace() bool { - if o != nil && o.Namespace != nil { - return true - } - - return false -} - -// SetNamespace gets a reference to the given string and assigns it to the Namespace field. -func (o *HelmPackageUpload) SetNamespace(v string) { - o.Namespace = &v -} - -// GetNamespaceUrl returns the NamespaceUrl field value if set, zero value otherwise. -func (o *HelmPackageUpload) GetNamespaceUrl() string { - if o == nil || o.NamespaceUrl == nil { - var ret string - return ret - } - return *o.NamespaceUrl -} - -// GetNamespaceUrlOk returns a tuple with the NamespaceUrl field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *HelmPackageUpload) GetNamespaceUrlOk() (*string, bool) { - if o == nil || o.NamespaceUrl == nil { - return nil, false - } - return o.NamespaceUrl, true -} - -// HasNamespaceUrl returns a boolean if a field has been set. -func (o *HelmPackageUpload) HasNamespaceUrl() bool { - if o != nil && o.NamespaceUrl != nil { - return true - } - - return false -} - -// SetNamespaceUrl gets a reference to the given string and assigns it to the NamespaceUrl field. -func (o *HelmPackageUpload) SetNamespaceUrl(v string) { - o.NamespaceUrl = &v -} - -// GetNumFiles returns the NumFiles field value if set, zero value otherwise. -func (o *HelmPackageUpload) GetNumFiles() int64 { - if o == nil || o.NumFiles == nil { - var ret int64 - return ret - } - return *o.NumFiles -} - -// GetNumFilesOk returns a tuple with the NumFiles field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *HelmPackageUpload) GetNumFilesOk() (*int64, bool) { - if o == nil || o.NumFiles == nil { - return nil, false - } - return o.NumFiles, true -} - -// HasNumFiles returns a boolean if a field has been set. -func (o *HelmPackageUpload) HasNumFiles() bool { - if o != nil && o.NumFiles != nil { - return true - } - - return false -} - -// SetNumFiles gets a reference to the given int64 and assigns it to the NumFiles field. -func (o *HelmPackageUpload) SetNumFiles(v int64) { - o.NumFiles = &v -} - -// GetPackageType returns the PackageType field value if set, zero value otherwise. -func (o *HelmPackageUpload) GetPackageType() int64 { - if o == nil || o.PackageType == nil { - var ret int64 - return ret - } - return *o.PackageType -} - -// GetPackageTypeOk returns a tuple with the PackageType field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *HelmPackageUpload) GetPackageTypeOk() (*int64, bool) { - if o == nil || o.PackageType == nil { - return nil, false - } - return o.PackageType, true -} - -// HasPackageType returns a boolean if a field has been set. -func (o *HelmPackageUpload) HasPackageType() bool { - if o != nil && o.PackageType != nil { - return true - } - - return false -} - -// SetPackageType gets a reference to the given int64 and assigns it to the PackageType field. -func (o *HelmPackageUpload) SetPackageType(v int64) { - o.PackageType = &v -} - -// GetRelease returns the Release field value if set, zero value otherwise. -func (o *HelmPackageUpload) GetRelease() string { - if o == nil || o.Release == nil { - var ret string - return ret - } - return *o.Release -} - -// GetReleaseOk returns a tuple with the Release field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *HelmPackageUpload) GetReleaseOk() (*string, bool) { - if o == nil || o.Release == nil { - return nil, false - } - return o.Release, true -} - -// HasRelease returns a boolean if a field has been set. -func (o *HelmPackageUpload) HasRelease() bool { - if o != nil && o.Release != nil { - return true - } - - return false -} - -// SetRelease gets a reference to the given string and assigns it to the Release field. -func (o *HelmPackageUpload) SetRelease(v string) { - o.Release = &v -} - -// GetRepository returns the Repository field value if set, zero value otherwise. -func (o *HelmPackageUpload) GetRepository() string { - if o == nil || o.Repository == nil { - var ret string - return ret - } - return *o.Repository -} - -// GetRepositoryOk returns a tuple with the Repository field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *HelmPackageUpload) GetRepositoryOk() (*string, bool) { - if o == nil || o.Repository == nil { - return nil, false - } - return o.Repository, true -} - -// HasRepository returns a boolean if a field has been set. -func (o *HelmPackageUpload) HasRepository() bool { - if o != nil && o.Repository != nil { - return true - } - - return false -} - -// SetRepository gets a reference to the given string and assigns it to the Repository field. -func (o *HelmPackageUpload) SetRepository(v string) { - o.Repository = &v -} - -// GetRepositoryUrl returns the RepositoryUrl field value if set, zero value otherwise. -func (o *HelmPackageUpload) GetRepositoryUrl() string { - if o == nil || o.RepositoryUrl == nil { - var ret string - return ret - } - return *o.RepositoryUrl -} - -// GetRepositoryUrlOk returns a tuple with the RepositoryUrl field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *HelmPackageUpload) GetRepositoryUrlOk() (*string, bool) { - if o == nil || o.RepositoryUrl == nil { - return nil, false - } - return o.RepositoryUrl, true -} - -// HasRepositoryUrl returns a boolean if a field has been set. -func (o *HelmPackageUpload) HasRepositoryUrl() bool { - if o != nil && o.RepositoryUrl != nil { - return true - } - - return false -} - -// SetRepositoryUrl gets a reference to the given string and assigns it to the RepositoryUrl field. -func (o *HelmPackageUpload) SetRepositoryUrl(v string) { - o.RepositoryUrl = &v -} - -// GetSecurityScanCompletedAt returns the SecurityScanCompletedAt field value if set, zero value otherwise. -func (o *HelmPackageUpload) GetSecurityScanCompletedAt() string { - if o == nil || o.SecurityScanCompletedAt == nil { - var ret string - return ret - } - return *o.SecurityScanCompletedAt -} - -// GetSecurityScanCompletedAtOk returns a tuple with the SecurityScanCompletedAt field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *HelmPackageUpload) GetSecurityScanCompletedAtOk() (*string, bool) { - if o == nil || o.SecurityScanCompletedAt == nil { - return nil, false - } - return o.SecurityScanCompletedAt, true -} - -// HasSecurityScanCompletedAt returns a boolean if a field has been set. -func (o *HelmPackageUpload) HasSecurityScanCompletedAt() bool { - if o != nil && o.SecurityScanCompletedAt != nil { - return true - } - - return false -} - -// SetSecurityScanCompletedAt gets a reference to the given string and assigns it to the SecurityScanCompletedAt field. -func (o *HelmPackageUpload) SetSecurityScanCompletedAt(v string) { - o.SecurityScanCompletedAt = &v -} - -// GetSecurityScanStartedAt returns the SecurityScanStartedAt field value if set, zero value otherwise. -func (o *HelmPackageUpload) GetSecurityScanStartedAt() string { - if o == nil || o.SecurityScanStartedAt == nil { - var ret string - return ret - } - return *o.SecurityScanStartedAt -} - -// GetSecurityScanStartedAtOk returns a tuple with the SecurityScanStartedAt field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *HelmPackageUpload) GetSecurityScanStartedAtOk() (*string, bool) { - if o == nil || o.SecurityScanStartedAt == nil { - return nil, false - } - return o.SecurityScanStartedAt, true -} - -// HasSecurityScanStartedAt returns a boolean if a field has been set. -func (o *HelmPackageUpload) HasSecurityScanStartedAt() bool { - if o != nil && o.SecurityScanStartedAt != nil { - return true - } - - return false -} - -// SetSecurityScanStartedAt gets a reference to the given string and assigns it to the SecurityScanStartedAt field. -func (o *HelmPackageUpload) SetSecurityScanStartedAt(v string) { - o.SecurityScanStartedAt = &v -} - -// GetSecurityScanStatus returns the SecurityScanStatus field value if set, zero value otherwise. -func (o *HelmPackageUpload) GetSecurityScanStatus() string { - if o == nil || o.SecurityScanStatus == nil { - var ret string - return ret - } - return *o.SecurityScanStatus -} - -// GetSecurityScanStatusOk returns a tuple with the SecurityScanStatus field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *HelmPackageUpload) GetSecurityScanStatusOk() (*string, bool) { - if o == nil || o.SecurityScanStatus == nil { - return nil, false - } - return o.SecurityScanStatus, true -} - -// HasSecurityScanStatus returns a boolean if a field has been set. -func (o *HelmPackageUpload) HasSecurityScanStatus() bool { - if o != nil && o.SecurityScanStatus != nil { - return true - } - - return false -} - -// SetSecurityScanStatus gets a reference to the given string and assigns it to the SecurityScanStatus field. -func (o *HelmPackageUpload) SetSecurityScanStatus(v string) { - o.SecurityScanStatus = &v -} - -// GetSecurityScanStatusUpdatedAt returns the SecurityScanStatusUpdatedAt field value if set, zero value otherwise. -func (o *HelmPackageUpload) GetSecurityScanStatusUpdatedAt() string { - if o == nil || o.SecurityScanStatusUpdatedAt == nil { - var ret string - return ret - } - return *o.SecurityScanStatusUpdatedAt -} - -// GetSecurityScanStatusUpdatedAtOk returns a tuple with the SecurityScanStatusUpdatedAt field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *HelmPackageUpload) GetSecurityScanStatusUpdatedAtOk() (*string, bool) { - if o == nil || o.SecurityScanStatusUpdatedAt == nil { - return nil, false - } - return o.SecurityScanStatusUpdatedAt, true -} - -// HasSecurityScanStatusUpdatedAt returns a boolean if a field has been set. -func (o *HelmPackageUpload) HasSecurityScanStatusUpdatedAt() bool { - if o != nil && o.SecurityScanStatusUpdatedAt != nil { - return true - } - - return false -} - -// SetSecurityScanStatusUpdatedAt gets a reference to the given string and assigns it to the SecurityScanStatusUpdatedAt field. -func (o *HelmPackageUpload) SetSecurityScanStatusUpdatedAt(v string) { - o.SecurityScanStatusUpdatedAt = &v -} - -// GetSelfHtmlUrl returns the SelfHtmlUrl field value if set, zero value otherwise. -func (o *HelmPackageUpload) GetSelfHtmlUrl() string { - if o == nil || o.SelfHtmlUrl == nil { - var ret string - return ret - } - return *o.SelfHtmlUrl -} - -// GetSelfHtmlUrlOk returns a tuple with the SelfHtmlUrl field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *HelmPackageUpload) GetSelfHtmlUrlOk() (*string, bool) { - if o == nil || o.SelfHtmlUrl == nil { - return nil, false - } - return o.SelfHtmlUrl, true -} - -// HasSelfHtmlUrl returns a boolean if a field has been set. -func (o *HelmPackageUpload) HasSelfHtmlUrl() bool { - if o != nil && o.SelfHtmlUrl != nil { - return true - } - - return false -} - -// SetSelfHtmlUrl gets a reference to the given string and assigns it to the SelfHtmlUrl field. -func (o *HelmPackageUpload) SetSelfHtmlUrl(v string) { - o.SelfHtmlUrl = &v -} - -// GetSelfUrl returns the SelfUrl field value if set, zero value otherwise. -func (o *HelmPackageUpload) GetSelfUrl() string { - if o == nil || o.SelfUrl == nil { - var ret string - return ret - } - return *o.SelfUrl -} - -// GetSelfUrlOk returns a tuple with the SelfUrl field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *HelmPackageUpload) GetSelfUrlOk() (*string, bool) { - if o == nil || o.SelfUrl == nil { - return nil, false - } - return o.SelfUrl, true -} - -// HasSelfUrl returns a boolean if a field has been set. -func (o *HelmPackageUpload) HasSelfUrl() bool { - if o != nil && o.SelfUrl != nil { - return true - } - - return false -} - -// SetSelfUrl gets a reference to the given string and assigns it to the SelfUrl field. -func (o *HelmPackageUpload) SetSelfUrl(v string) { - o.SelfUrl = &v -} - -// GetSignatureUrl returns the SignatureUrl field value if set, zero value otherwise. -func (o *HelmPackageUpload) GetSignatureUrl() string { - if o == nil || o.SignatureUrl == nil { - var ret string - return ret - } - return *o.SignatureUrl -} - -// GetSignatureUrlOk returns a tuple with the SignatureUrl field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *HelmPackageUpload) GetSignatureUrlOk() (*string, bool) { - if o == nil || o.SignatureUrl == nil { - return nil, false - } - return o.SignatureUrl, true -} - -// HasSignatureUrl returns a boolean if a field has been set. -func (o *HelmPackageUpload) HasSignatureUrl() bool { - if o != nil && o.SignatureUrl != nil { - return true - } - - return false -} - -// SetSignatureUrl gets a reference to the given string and assigns it to the SignatureUrl field. -func (o *HelmPackageUpload) SetSignatureUrl(v string) { - o.SignatureUrl = &v -} - -// GetSize returns the Size field value if set, zero value otherwise. -func (o *HelmPackageUpload) GetSize() int64 { - if o == nil || o.Size == nil { - var ret int64 - return ret - } - return *o.Size -} - -// GetSizeOk returns a tuple with the Size field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *HelmPackageUpload) GetSizeOk() (*int64, bool) { - if o == nil || o.Size == nil { - return nil, false - } - return o.Size, true -} - -// HasSize returns a boolean if a field has been set. -func (o *HelmPackageUpload) HasSize() bool { - if o != nil && o.Size != nil { - return true - } - - return false -} - -// SetSize gets a reference to the given int64 and assigns it to the Size field. -func (o *HelmPackageUpload) SetSize(v int64) { - o.Size = &v -} - -// GetSlug returns the Slug field value if set, zero value otherwise. -func (o *HelmPackageUpload) GetSlug() string { - if o == nil || o.Slug == nil { - var ret string - return ret - } - return *o.Slug -} - -// GetSlugOk returns a tuple with the Slug field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *HelmPackageUpload) GetSlugOk() (*string, bool) { - if o == nil || o.Slug == nil { - return nil, false - } - return o.Slug, true -} - -// HasSlug returns a boolean if a field has been set. -func (o *HelmPackageUpload) HasSlug() bool { - if o != nil && o.Slug != nil { - return true - } - - return false -} - -// SetSlug gets a reference to the given string and assigns it to the Slug field. -func (o *HelmPackageUpload) SetSlug(v string) { - o.Slug = &v -} - -// GetSlugPerm returns the SlugPerm field value if set, zero value otherwise. -func (o *HelmPackageUpload) GetSlugPerm() string { - if o == nil || o.SlugPerm == nil { - var ret string - return ret - } - return *o.SlugPerm -} - -// GetSlugPermOk returns a tuple with the SlugPerm field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *HelmPackageUpload) GetSlugPermOk() (*string, bool) { - if o == nil || o.SlugPerm == nil { - return nil, false - } - return o.SlugPerm, true -} - -// HasSlugPerm returns a boolean if a field has been set. -func (o *HelmPackageUpload) HasSlugPerm() bool { - if o != nil && o.SlugPerm != nil { - return true - } - - return false -} - -// SetSlugPerm gets a reference to the given string and assigns it to the SlugPerm field. -func (o *HelmPackageUpload) SetSlugPerm(v string) { - o.SlugPerm = &v -} - -// GetStage returns the Stage field value if set, zero value otherwise. -func (o *HelmPackageUpload) GetStage() int64 { - if o == nil || o.Stage == nil { - var ret int64 - return ret - } - return *o.Stage -} - -// GetStageOk returns a tuple with the Stage field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *HelmPackageUpload) GetStageOk() (*int64, bool) { - if o == nil || o.Stage == nil { - return nil, false - } - return o.Stage, true -} - -// HasStage returns a boolean if a field has been set. -func (o *HelmPackageUpload) HasStage() bool { - if o != nil && o.Stage != nil { - return true - } - - return false -} - -// SetStage gets a reference to the given int64 and assigns it to the Stage field. -func (o *HelmPackageUpload) SetStage(v int64) { - o.Stage = &v -} - -// GetStageStr returns the StageStr field value if set, zero value otherwise. -func (o *HelmPackageUpload) GetStageStr() string { - if o == nil || o.StageStr == nil { - var ret string - return ret - } - return *o.StageStr -} - -// GetStageStrOk returns a tuple with the StageStr field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *HelmPackageUpload) GetStageStrOk() (*string, bool) { - if o == nil || o.StageStr == nil { - return nil, false - } - return o.StageStr, true -} - -// HasStageStr returns a boolean if a field has been set. -func (o *HelmPackageUpload) HasStageStr() bool { - if o != nil && o.StageStr != nil { - return true - } - - return false -} - -// SetStageStr gets a reference to the given string and assigns it to the StageStr field. -func (o *HelmPackageUpload) SetStageStr(v string) { - o.StageStr = &v -} - -// GetStageUpdatedAt returns the StageUpdatedAt field value if set, zero value otherwise. -func (o *HelmPackageUpload) GetStageUpdatedAt() string { - if o == nil || o.StageUpdatedAt == nil { - var ret string - return ret - } - return *o.StageUpdatedAt -} - -// GetStageUpdatedAtOk returns a tuple with the StageUpdatedAt field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *HelmPackageUpload) GetStageUpdatedAtOk() (*string, bool) { - if o == nil || o.StageUpdatedAt == nil { - return nil, false - } - return o.StageUpdatedAt, true -} - -// HasStageUpdatedAt returns a boolean if a field has been set. -func (o *HelmPackageUpload) HasStageUpdatedAt() bool { - if o != nil && o.StageUpdatedAt != nil { - return true - } - - return false -} - -// SetStageUpdatedAt gets a reference to the given string and assigns it to the StageUpdatedAt field. -func (o *HelmPackageUpload) SetStageUpdatedAt(v string) { - o.StageUpdatedAt = &v -} - -// GetStatus returns the Status field value if set, zero value otherwise. -func (o *HelmPackageUpload) GetStatus() int64 { - if o == nil || o.Status == nil { - var ret int64 - return ret - } - return *o.Status -} - -// GetStatusOk returns a tuple with the Status field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *HelmPackageUpload) GetStatusOk() (*int64, bool) { - if o == nil || o.Status == nil { - return nil, false - } - return o.Status, true -} - -// HasStatus returns a boolean if a field has been set. -func (o *HelmPackageUpload) HasStatus() bool { - if o != nil && o.Status != nil { - return true - } - - return false -} - -// SetStatus gets a reference to the given int64 and assigns it to the Status field. -func (o *HelmPackageUpload) SetStatus(v int64) { - o.Status = &v -} - -// GetStatusReason returns the StatusReason field value if set, zero value otherwise. -func (o *HelmPackageUpload) GetStatusReason() string { - if o == nil || o.StatusReason == nil { - var ret string - return ret - } - return *o.StatusReason -} - -// GetStatusReasonOk returns a tuple with the StatusReason field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *HelmPackageUpload) GetStatusReasonOk() (*string, bool) { - if o == nil || o.StatusReason == nil { - return nil, false - } - return o.StatusReason, true -} - -// HasStatusReason returns a boolean if a field has been set. -func (o *HelmPackageUpload) HasStatusReason() bool { - if o != nil && o.StatusReason != nil { - return true - } - - return false -} - -// SetStatusReason gets a reference to the given string and assigns it to the StatusReason field. -func (o *HelmPackageUpload) SetStatusReason(v string) { - o.StatusReason = &v -} - -// GetStatusStr returns the StatusStr field value if set, zero value otherwise. -func (o *HelmPackageUpload) GetStatusStr() string { - if o == nil || o.StatusStr == nil { - var ret string - return ret - } - return *o.StatusStr -} - -// GetStatusStrOk returns a tuple with the StatusStr field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *HelmPackageUpload) GetStatusStrOk() (*string, bool) { - if o == nil || o.StatusStr == nil { - return nil, false - } - return o.StatusStr, true -} - -// HasStatusStr returns a boolean if a field has been set. -func (o *HelmPackageUpload) HasStatusStr() bool { - if o != nil && o.StatusStr != nil { - return true - } - - return false -} - -// SetStatusStr gets a reference to the given string and assigns it to the StatusStr field. -func (o *HelmPackageUpload) SetStatusStr(v string) { - o.StatusStr = &v -} - -// GetStatusUpdatedAt returns the StatusUpdatedAt field value if set, zero value otherwise. -func (o *HelmPackageUpload) GetStatusUpdatedAt() string { - if o == nil || o.StatusUpdatedAt == nil { - var ret string - return ret - } - return *o.StatusUpdatedAt -} - -// GetStatusUpdatedAtOk returns a tuple with the StatusUpdatedAt field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *HelmPackageUpload) GetStatusUpdatedAtOk() (*string, bool) { - if o == nil || o.StatusUpdatedAt == nil { - return nil, false - } - return o.StatusUpdatedAt, true -} - -// HasStatusUpdatedAt returns a boolean if a field has been set. -func (o *HelmPackageUpload) HasStatusUpdatedAt() bool { - if o != nil && o.StatusUpdatedAt != nil { - return true - } - - return false -} - -// SetStatusUpdatedAt gets a reference to the given string and assigns it to the StatusUpdatedAt field. -func (o *HelmPackageUpload) SetStatusUpdatedAt(v string) { - o.StatusUpdatedAt = &v -} - -// GetStatusUrl returns the StatusUrl field value if set, zero value otherwise. -func (o *HelmPackageUpload) GetStatusUrl() string { - if o == nil || o.StatusUrl == nil { - var ret string - return ret - } - return *o.StatusUrl -} - -// GetStatusUrlOk returns a tuple with the StatusUrl field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *HelmPackageUpload) GetStatusUrlOk() (*string, bool) { - if o == nil || o.StatusUrl == nil { - return nil, false - } - return o.StatusUrl, true -} - -// HasStatusUrl returns a boolean if a field has been set. -func (o *HelmPackageUpload) HasStatusUrl() bool { - if o != nil && o.StatusUrl != nil { - return true - } - - return false -} - -// SetStatusUrl gets a reference to the given string and assigns it to the StatusUrl field. -func (o *HelmPackageUpload) SetStatusUrl(v string) { - o.StatusUrl = &v -} - -// GetSubtype returns the Subtype field value if set, zero value otherwise. -func (o *HelmPackageUpload) GetSubtype() string { - if o == nil || o.Subtype == nil { - var ret string - return ret - } - return *o.Subtype -} - -// GetSubtypeOk returns a tuple with the Subtype field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *HelmPackageUpload) GetSubtypeOk() (*string, bool) { - if o == nil || o.Subtype == nil { - return nil, false - } - return o.Subtype, true -} - -// HasSubtype returns a boolean if a field has been set. -func (o *HelmPackageUpload) HasSubtype() bool { - if o != nil && o.Subtype != nil { - return true - } - - return false -} - -// SetSubtype gets a reference to the given string and assigns it to the Subtype field. -func (o *HelmPackageUpload) SetSubtype(v string) { - o.Subtype = &v -} - -// GetSummary returns the Summary field value if set, zero value otherwise. -func (o *HelmPackageUpload) GetSummary() string { - if o == nil || o.Summary == nil { - var ret string - return ret - } - return *o.Summary -} - -// GetSummaryOk returns a tuple with the Summary field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *HelmPackageUpload) GetSummaryOk() (*string, bool) { - if o == nil || o.Summary == nil { - return nil, false - } - return o.Summary, true -} - -// HasSummary returns a boolean if a field has been set. -func (o *HelmPackageUpload) HasSummary() bool { - if o != nil && o.Summary != nil { - return true - } - - return false -} - -// SetSummary gets a reference to the given string and assigns it to the Summary field. -func (o *HelmPackageUpload) SetSummary(v string) { - o.Summary = &v -} - -// GetSyncFinishedAt returns the SyncFinishedAt field value if set, zero value otherwise. -func (o *HelmPackageUpload) GetSyncFinishedAt() string { - if o == nil || o.SyncFinishedAt == nil { - var ret string - return ret - } - return *o.SyncFinishedAt -} - -// GetSyncFinishedAtOk returns a tuple with the SyncFinishedAt field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *HelmPackageUpload) GetSyncFinishedAtOk() (*string, bool) { - if o == nil || o.SyncFinishedAt == nil { - return nil, false - } - return o.SyncFinishedAt, true -} - -// HasSyncFinishedAt returns a boolean if a field has been set. -func (o *HelmPackageUpload) HasSyncFinishedAt() bool { - if o != nil && o.SyncFinishedAt != nil { - return true - } - - return false -} - -// SetSyncFinishedAt gets a reference to the given string and assigns it to the SyncFinishedAt field. -func (o *HelmPackageUpload) SetSyncFinishedAt(v string) { - o.SyncFinishedAt = &v -} - -// GetSyncProgress returns the SyncProgress field value if set, zero value otherwise. -func (o *HelmPackageUpload) GetSyncProgress() int64 { - if o == nil || o.SyncProgress == nil { - var ret int64 - return ret - } - return *o.SyncProgress -} - -// GetSyncProgressOk returns a tuple with the SyncProgress field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *HelmPackageUpload) GetSyncProgressOk() (*int64, bool) { - if o == nil || o.SyncProgress == nil { - return nil, false - } - return o.SyncProgress, true -} - -// HasSyncProgress returns a boolean if a field has been set. -func (o *HelmPackageUpload) HasSyncProgress() bool { - if o != nil && o.SyncProgress != nil { - return true - } - - return false -} - -// SetSyncProgress gets a reference to the given int64 and assigns it to the SyncProgress field. -func (o *HelmPackageUpload) SetSyncProgress(v int64) { - o.SyncProgress = &v -} - -// GetTagsImmutable returns the TagsImmutable field value if set, zero value otherwise. -func (o *HelmPackageUpload) GetTagsImmutable() map[string]interface{} { - if o == nil || o.TagsImmutable == nil { - var ret map[string]interface{} - return ret - } - return o.TagsImmutable -} - -// GetTagsImmutableOk returns a tuple with the TagsImmutable field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *HelmPackageUpload) GetTagsImmutableOk() (map[string]interface{}, bool) { - if o == nil || o.TagsImmutable == nil { - return nil, false - } - return o.TagsImmutable, true -} - -// HasTagsImmutable returns a boolean if a field has been set. -func (o *HelmPackageUpload) HasTagsImmutable() bool { - if o != nil && o.TagsImmutable != nil { - return true - } - - return false -} - -// SetTagsImmutable gets a reference to the given map[string]interface{} and assigns it to the TagsImmutable field. -func (o *HelmPackageUpload) SetTagsImmutable(v map[string]interface{}) { - o.TagsImmutable = v -} - -// GetTypeDisplay returns the TypeDisplay field value if set, zero value otherwise. -func (o *HelmPackageUpload) GetTypeDisplay() string { - if o == nil || o.TypeDisplay == nil { - var ret string - return ret - } - return *o.TypeDisplay -} - -// GetTypeDisplayOk returns a tuple with the TypeDisplay field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *HelmPackageUpload) GetTypeDisplayOk() (*string, bool) { - if o == nil || o.TypeDisplay == nil { - return nil, false - } - return o.TypeDisplay, true -} - -// HasTypeDisplay returns a boolean if a field has been set. -func (o *HelmPackageUpload) HasTypeDisplay() bool { - if o != nil && o.TypeDisplay != nil { - return true - } - - return false -} - -// SetTypeDisplay gets a reference to the given string and assigns it to the TypeDisplay field. -func (o *HelmPackageUpload) SetTypeDisplay(v string) { - o.TypeDisplay = &v -} - -// GetUploadedAt returns the UploadedAt field value if set, zero value otherwise. -func (o *HelmPackageUpload) GetUploadedAt() string { - if o == nil || o.UploadedAt == nil { - var ret string - return ret - } - return *o.UploadedAt -} - -// GetUploadedAtOk returns a tuple with the UploadedAt field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *HelmPackageUpload) GetUploadedAtOk() (*string, bool) { - if o == nil || o.UploadedAt == nil { - return nil, false - } - return o.UploadedAt, true -} - -// HasUploadedAt returns a boolean if a field has been set. -func (o *HelmPackageUpload) HasUploadedAt() bool { - if o != nil && o.UploadedAt != nil { - return true - } - - return false -} - -// SetUploadedAt gets a reference to the given string and assigns it to the UploadedAt field. -func (o *HelmPackageUpload) SetUploadedAt(v string) { - o.UploadedAt = &v -} - -// GetUploader returns the Uploader field value if set, zero value otherwise. -func (o *HelmPackageUpload) GetUploader() string { - if o == nil || o.Uploader == nil { - var ret string - return ret - } - return *o.Uploader -} - -// GetUploaderOk returns a tuple with the Uploader field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *HelmPackageUpload) GetUploaderOk() (*string, bool) { - if o == nil || o.Uploader == nil { - return nil, false - } - return o.Uploader, true -} - -// HasUploader returns a boolean if a field has been set. -func (o *HelmPackageUpload) HasUploader() bool { - if o != nil && o.Uploader != nil { - return true - } - - return false -} - -// SetUploader gets a reference to the given string and assigns it to the Uploader field. -func (o *HelmPackageUpload) SetUploader(v string) { - o.Uploader = &v -} - -// GetUploaderUrl returns the UploaderUrl field value if set, zero value otherwise. -func (o *HelmPackageUpload) GetUploaderUrl() string { - if o == nil || o.UploaderUrl == nil { - var ret string - return ret - } - return *o.UploaderUrl -} - -// GetUploaderUrlOk returns a tuple with the UploaderUrl field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *HelmPackageUpload) GetUploaderUrlOk() (*string, bool) { - if o == nil || o.UploaderUrl == nil { - return nil, false - } - return o.UploaderUrl, true -} - -// HasUploaderUrl returns a boolean if a field has been set. -func (o *HelmPackageUpload) HasUploaderUrl() bool { - if o != nil && o.UploaderUrl != nil { - return true - } - - return false -} - -// SetUploaderUrl gets a reference to the given string and assigns it to the UploaderUrl field. -func (o *HelmPackageUpload) SetUploaderUrl(v string) { - o.UploaderUrl = &v -} - -// GetVersion returns the Version field value if set, zero value otherwise. -func (o *HelmPackageUpload) GetVersion() string { - if o == nil || o.Version == nil { - var ret string - return ret - } - return *o.Version -} - -// GetVersionOk returns a tuple with the Version field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *HelmPackageUpload) GetVersionOk() (*string, bool) { - if o == nil || o.Version == nil { - return nil, false - } - return o.Version, true -} - -// HasVersion returns a boolean if a field has been set. -func (o *HelmPackageUpload) HasVersion() bool { - if o != nil && o.Version != nil { - return true - } - - return false -} - -// SetVersion gets a reference to the given string and assigns it to the Version field. -func (o *HelmPackageUpload) SetVersion(v string) { - o.Version = &v -} - -// GetVersionOrig returns the VersionOrig field value if set, zero value otherwise. -func (o *HelmPackageUpload) GetVersionOrig() string { - if o == nil || o.VersionOrig == nil { - var ret string - return ret - } - return *o.VersionOrig -} - -// GetVersionOrigOk returns a tuple with the VersionOrig field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *HelmPackageUpload) GetVersionOrigOk() (*string, bool) { - if o == nil || o.VersionOrig == nil { - return nil, false - } - return o.VersionOrig, true -} - -// HasVersionOrig returns a boolean if a field has been set. -func (o *HelmPackageUpload) HasVersionOrig() bool { - if o != nil && o.VersionOrig != nil { - return true - } - - return false -} - -// SetVersionOrig gets a reference to the given string and assigns it to the VersionOrig field. -func (o *HelmPackageUpload) SetVersionOrig(v string) { - o.VersionOrig = &v -} - -// GetVulnerabilityScanResultsUrl returns the VulnerabilityScanResultsUrl field value if set, zero value otherwise. -func (o *HelmPackageUpload) GetVulnerabilityScanResultsUrl() string { - if o == nil || o.VulnerabilityScanResultsUrl == nil { - var ret string - return ret - } - return *o.VulnerabilityScanResultsUrl -} - -// GetVulnerabilityScanResultsUrlOk returns a tuple with the VulnerabilityScanResultsUrl field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *HelmPackageUpload) GetVulnerabilityScanResultsUrlOk() (*string, bool) { - if o == nil || o.VulnerabilityScanResultsUrl == nil { - return nil, false - } - return o.VulnerabilityScanResultsUrl, true -} - -// HasVulnerabilityScanResultsUrl returns a boolean if a field has been set. -func (o *HelmPackageUpload) HasVulnerabilityScanResultsUrl() bool { - if o != nil && o.VulnerabilityScanResultsUrl != nil { - return true - } - - return false -} - -// SetVulnerabilityScanResultsUrl gets a reference to the given string and assigns it to the VulnerabilityScanResultsUrl field. -func (o *HelmPackageUpload) SetVulnerabilityScanResultsUrl(v string) { - o.VulnerabilityScanResultsUrl = &v -} - -func (o HelmPackageUpload) MarshalJSON() ([]byte, error) { - toSerialize := map[string]interface{}{} - if o.Architectures != nil { - toSerialize["architectures"] = o.Architectures - } - if o.CdnUrl != nil { - toSerialize["cdn_url"] = o.CdnUrl - } - if o.ChecksumMd5 != nil { - toSerialize["checksum_md5"] = o.ChecksumMd5 - } - if o.ChecksumSha1 != nil { - toSerialize["checksum_sha1"] = o.ChecksumSha1 - } - if o.ChecksumSha256 != nil { - toSerialize["checksum_sha256"] = o.ChecksumSha256 - } - if o.ChecksumSha512 != nil { - toSerialize["checksum_sha512"] = o.ChecksumSha512 - } - if o.DependenciesChecksumMd5 != nil { - toSerialize["dependencies_checksum_md5"] = o.DependenciesChecksumMd5 - } - if o.DependenciesUrl != nil { - toSerialize["dependencies_url"] = o.DependenciesUrl - } - if o.Description != nil { - toSerialize["description"] = o.Description - } - if o.Distro != nil { - toSerialize["distro"] = o.Distro - } - if o.DistroVersion != nil { - toSerialize["distro_version"] = o.DistroVersion - } - if o.Downloads != nil { - toSerialize["downloads"] = o.Downloads - } - if o.Epoch != nil { - toSerialize["epoch"] = o.Epoch - } - if o.Extension != nil { - toSerialize["extension"] = o.Extension - } - if o.Filename != nil { - toSerialize["filename"] = o.Filename - } - if o.Files != nil { - toSerialize["files"] = o.Files - } - if o.Format != nil { - toSerialize["format"] = o.Format - } - if o.FormatUrl != nil { - toSerialize["format_url"] = o.FormatUrl - } - if o.IdentifierPerm != nil { - toSerialize["identifier_perm"] = o.IdentifierPerm - } - if o.Indexed != nil { - toSerialize["indexed"] = o.Indexed - } - if o.IsDownloadable != nil { - toSerialize["is_downloadable"] = o.IsDownloadable - } - if o.IsQuarantined != nil { - toSerialize["is_quarantined"] = o.IsQuarantined - } - if o.IsSyncAwaiting != nil { - toSerialize["is_sync_awaiting"] = o.IsSyncAwaiting - } - if o.IsSyncCompleted != nil { - toSerialize["is_sync_completed"] = o.IsSyncCompleted - } - if o.IsSyncFailed != nil { - toSerialize["is_sync_failed"] = o.IsSyncFailed - } - if o.IsSyncInFlight != nil { - toSerialize["is_sync_in_flight"] = o.IsSyncInFlight - } - if o.IsSyncInProgress != nil { - toSerialize["is_sync_in_progress"] = o.IsSyncInProgress - } - if o.License != nil { - toSerialize["license"] = o.License - } - if o.Name != nil { - toSerialize["name"] = o.Name - } - if o.Namespace != nil { - toSerialize["namespace"] = o.Namespace - } - if o.NamespaceUrl != nil { - toSerialize["namespace_url"] = o.NamespaceUrl - } - if o.NumFiles != nil { - toSerialize["num_files"] = o.NumFiles - } - if o.PackageType != nil { - toSerialize["package_type"] = o.PackageType - } - if o.Release != nil { - toSerialize["release"] = o.Release - } - if o.Repository != nil { - toSerialize["repository"] = o.Repository - } - if o.RepositoryUrl != nil { - toSerialize["repository_url"] = o.RepositoryUrl - } - if o.SecurityScanCompletedAt != nil { - toSerialize["security_scan_completed_at"] = o.SecurityScanCompletedAt - } - if o.SecurityScanStartedAt != nil { - toSerialize["security_scan_started_at"] = o.SecurityScanStartedAt - } - if o.SecurityScanStatus != nil { - toSerialize["security_scan_status"] = o.SecurityScanStatus - } - if o.SecurityScanStatusUpdatedAt != nil { - toSerialize["security_scan_status_updated_at"] = o.SecurityScanStatusUpdatedAt - } - if o.SelfHtmlUrl != nil { - toSerialize["self_html_url"] = o.SelfHtmlUrl - } - if o.SelfUrl != nil { - toSerialize["self_url"] = o.SelfUrl - } - if o.SignatureUrl != nil { - toSerialize["signature_url"] = o.SignatureUrl - } - if o.Size != nil { - toSerialize["size"] = o.Size - } - if o.Slug != nil { - toSerialize["slug"] = o.Slug - } - if o.SlugPerm != nil { - toSerialize["slug_perm"] = o.SlugPerm - } - if o.Stage != nil { - toSerialize["stage"] = o.Stage - } - if o.StageStr != nil { - toSerialize["stage_str"] = o.StageStr - } - if o.StageUpdatedAt != nil { - toSerialize["stage_updated_at"] = o.StageUpdatedAt - } - if o.Status != nil { - toSerialize["status"] = o.Status - } - if o.StatusReason != nil { - toSerialize["status_reason"] = o.StatusReason - } - if o.StatusStr != nil { - toSerialize["status_str"] = o.StatusStr - } - if o.StatusUpdatedAt != nil { - toSerialize["status_updated_at"] = o.StatusUpdatedAt - } - if o.StatusUrl != nil { - toSerialize["status_url"] = o.StatusUrl - } - if o.Subtype != nil { - toSerialize["subtype"] = o.Subtype - } - if o.Summary != nil { - toSerialize["summary"] = o.Summary - } - if o.SyncFinishedAt != nil { - toSerialize["sync_finished_at"] = o.SyncFinishedAt - } - if o.SyncProgress != nil { - toSerialize["sync_progress"] = o.SyncProgress - } - if o.TagsImmutable != nil { - toSerialize["tags_immutable"] = o.TagsImmutable - } - if o.TypeDisplay != nil { - toSerialize["type_display"] = o.TypeDisplay - } - if o.UploadedAt != nil { - toSerialize["uploaded_at"] = o.UploadedAt - } - if o.Uploader != nil { - toSerialize["uploader"] = o.Uploader - } - if o.UploaderUrl != nil { - toSerialize["uploader_url"] = o.UploaderUrl - } - if o.Version != nil { - toSerialize["version"] = o.Version - } - if o.VersionOrig != nil { - toSerialize["version_orig"] = o.VersionOrig - } - if o.VulnerabilityScanResultsUrl != nil { - toSerialize["vulnerability_scan_results_url"] = o.VulnerabilityScanResultsUrl - } - return json.Marshal(toSerialize) -} - -type NullableHelmPackageUpload struct { - value *HelmPackageUpload - isSet bool -} - -func (v NullableHelmPackageUpload) Get() *HelmPackageUpload { - return v.value -} - -func (v *NullableHelmPackageUpload) Set(val *HelmPackageUpload) { - v.value = val - v.isSet = true -} - -func (v NullableHelmPackageUpload) IsSet() bool { - return v.isSet -} - -func (v *NullableHelmPackageUpload) Unset() { - v.value = nil - v.isSet = false -} - -func NewNullableHelmPackageUpload(val *HelmPackageUpload) *NullableHelmPackageUpload { - return &NullableHelmPackageUpload{value: val, isSet: true} -} - -func (v NullableHelmPackageUpload) MarshalJSON() ([]byte, error) { - return json.Marshal(v.value) -} - -func (v *NullableHelmPackageUpload) UnmarshalJSON(src []byte) error { - v.isSet = true - return json.Unmarshal(src, &v.value) -} diff --git a/model_helm_package_upload_request.go b/model_helm_package_upload_request.go new file mode 100644 index 00000000..10dae5a3 --- /dev/null +++ b/model_helm_package_upload_request.go @@ -0,0 +1,193 @@ +/* +Cloudsmith API (v1) + +The API to the Cloudsmith Service + +API version: 1.181.6 +Contact: support@cloudsmith.io +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cloudsmith + +import ( + "encoding/json" +) + +// HelmPackageUploadRequest struct for HelmPackageUploadRequest +type HelmPackageUploadRequest struct { + // The primary file for the package. + PackageFile string `json:"package_file"` + // If true, the uploaded package will overwrite any others with the same attributes (e.g. same version); otherwise, it will be flagged as a duplicate. + Republish *bool `json:"republish,omitempty"` + // A comma-separated values list of tags to add to the package. + Tags NullableString `json:"tags,omitempty"` +} + +// NewHelmPackageUploadRequest instantiates a new HelmPackageUploadRequest object +// 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 NewHelmPackageUploadRequest(packageFile string) *HelmPackageUploadRequest { + this := HelmPackageUploadRequest{} + this.PackageFile = packageFile + return &this +} + +// NewHelmPackageUploadRequestWithDefaults instantiates a new HelmPackageUploadRequest object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewHelmPackageUploadRequestWithDefaults() *HelmPackageUploadRequest { + this := HelmPackageUploadRequest{} + return &this +} + +// GetPackageFile returns the PackageFile field value +func (o *HelmPackageUploadRequest) GetPackageFile() string { + if o == nil { + var ret string + return ret + } + + return o.PackageFile +} + +// GetPackageFileOk returns a tuple with the PackageFile field value +// and a boolean to check if the value has been set. +func (o *HelmPackageUploadRequest) GetPackageFileOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.PackageFile, true +} + +// SetPackageFile sets field value +func (o *HelmPackageUploadRequest) SetPackageFile(v string) { + o.PackageFile = v +} + +// GetRepublish returns the Republish field value if set, zero value otherwise. +func (o *HelmPackageUploadRequest) GetRepublish() bool { + if o == nil || isNil(o.Republish) { + var ret bool + return ret + } + return *o.Republish +} + +// GetRepublishOk returns a tuple with the Republish field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *HelmPackageUploadRequest) GetRepublishOk() (*bool, bool) { + if o == nil || isNil(o.Republish) { + return nil, false + } + return o.Republish, true +} + +// HasRepublish returns a boolean if a field has been set. +func (o *HelmPackageUploadRequest) HasRepublish() bool { + if o != nil && !isNil(o.Republish) { + return true + } + + return false +} + +// SetRepublish gets a reference to the given bool and assigns it to the Republish field. +func (o *HelmPackageUploadRequest) SetRepublish(v bool) { + o.Republish = &v +} + +// GetTags returns the Tags field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *HelmPackageUploadRequest) GetTags() string { + if o == nil || isNil(o.Tags.Get()) { + var ret string + return ret + } + return *o.Tags.Get() +} + +// GetTagsOk returns a tuple with the Tags 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 *HelmPackageUploadRequest) GetTagsOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.Tags.Get(), o.Tags.IsSet() +} + +// HasTags returns a boolean if a field has been set. +func (o *HelmPackageUploadRequest) HasTags() bool { + if o != nil && o.Tags.IsSet() { + return true + } + + return false +} + +// SetTags gets a reference to the given NullableString and assigns it to the Tags field. +func (o *HelmPackageUploadRequest) SetTags(v string) { + o.Tags.Set(&v) +} + +// SetTagsNil sets the value for Tags to be an explicit nil +func (o *HelmPackageUploadRequest) SetTagsNil() { + o.Tags.Set(nil) +} + +// UnsetTags ensures that no value is present for Tags, not even an explicit nil +func (o *HelmPackageUploadRequest) UnsetTags() { + o.Tags.Unset() +} + +func (o HelmPackageUploadRequest) MarshalJSON() ([]byte, error) { + toSerialize := map[string]interface{}{} + if true { + toSerialize["package_file"] = o.PackageFile + } + if !isNil(o.Republish) { + toSerialize["republish"] = o.Republish + } + if o.Tags.IsSet() { + toSerialize["tags"] = o.Tags.Get() + } + return json.Marshal(toSerialize) +} + +type NullableHelmPackageUploadRequest struct { + value *HelmPackageUploadRequest + isSet bool +} + +func (v NullableHelmPackageUploadRequest) Get() *HelmPackageUploadRequest { + return v.value +} + +func (v *NullableHelmPackageUploadRequest) Set(val *HelmPackageUploadRequest) { + v.value = val + v.isSet = true +} + +func (v NullableHelmPackageUploadRequest) IsSet() bool { + return v.isSet +} + +func (v *NullableHelmPackageUploadRequest) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableHelmPackageUploadRequest(val *HelmPackageUploadRequest) *NullableHelmPackageUploadRequest { + return &NullableHelmPackageUploadRequest{value: val, isSet: true} +} + +func (v NullableHelmPackageUploadRequest) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableHelmPackageUploadRequest) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} diff --git a/model_helm_package_upload_response.go b/model_helm_package_upload_response.go new file mode 100644 index 00000000..62385b91 --- /dev/null +++ b/model_helm_package_upload_response.go @@ -0,0 +1,2595 @@ +/* +Cloudsmith API (v1) + +The API to the Cloudsmith Service + +API version: 1.181.6 +Contact: support@cloudsmith.io +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cloudsmith + +import ( + "encoding/json" + "time" +) + +// HelmPackageUploadResponse struct for HelmPackageUploadResponse +type HelmPackageUploadResponse struct { + Architectures []Architecture `json:"architectures,omitempty"` + CdnUrl NullableString `json:"cdn_url,omitempty"` + ChecksumMd5 *string `json:"checksum_md5,omitempty"` + ChecksumSha1 *string `json:"checksum_sha1,omitempty"` + ChecksumSha256 *string `json:"checksum_sha256,omitempty"` + ChecksumSha512 *string `json:"checksum_sha512,omitempty"` + // A checksum of all of the package's dependencies. + DependenciesChecksumMd5 *string `json:"dependencies_checksum_md5,omitempty"` + DependenciesUrl *string `json:"dependencies_url,omitempty"` + // A textual description of this package. + Description *string `json:"description,omitempty"` + Distro NullableDistribution `json:"distro,omitempty"` + DistroVersion *DistributionVersion `json:"distro_version,omitempty"` + Downloads *int64 `json:"downloads,omitempty"` + // The epoch of the package version (if any). + Epoch *int64 `json:"epoch,omitempty"` + Extension *string `json:"extension,omitempty"` + Filename *string `json:"filename,omitempty"` + Files []PackageFile `json:"files,omitempty"` + Format *string `json:"format,omitempty"` + FormatUrl *string `json:"format_url,omitempty"` + // Unique and permanent identifier for the package. + IdentifierPerm *string `json:"identifier_perm,omitempty"` + Indexed *bool `json:"indexed,omitempty"` + IsDownloadable *bool `json:"is_downloadable,omitempty"` + IsQuarantined *bool `json:"is_quarantined,omitempty"` + IsSyncAwaiting *bool `json:"is_sync_awaiting,omitempty"` + IsSyncCompleted *bool `json:"is_sync_completed,omitempty"` + IsSyncFailed *bool `json:"is_sync_failed,omitempty"` + IsSyncInFlight *bool `json:"is_sync_in_flight,omitempty"` + IsSyncInProgress *bool `json:"is_sync_in_progress,omitempty"` + // The license of this package. + License *string `json:"license,omitempty"` + // The name of this package. + Name *string `json:"name,omitempty"` + Namespace *string `json:"namespace,omitempty"` + NamespaceUrl *string `json:"namespace_url,omitempty"` + NumFiles *int64 `json:"num_files,omitempty"` + OriginRepository *string `json:"origin_repository,omitempty"` + OriginRepositoryUrl *string `json:"origin_repository_url,omitempty"` + // The type of package contents. + PackageType *int64 `json:"package_type,omitempty"` + // The release of the package version (if any). + Release *string `json:"release,omitempty"` + Repository *string `json:"repository,omitempty"` + RepositoryUrl *string `json:"repository_url,omitempty"` + // The datetime the security scanning was completed. + SecurityScanCompletedAt *time.Time `json:"security_scan_completed_at,omitempty"` + // The datetime the security scanning was started. + SecurityScanStartedAt *time.Time `json:"security_scan_started_at,omitempty"` + SecurityScanStatus NullableString `json:"security_scan_status,omitempty"` + // The datetime the security scanning status was updated. + SecurityScanStatusUpdatedAt *time.Time `json:"security_scan_status_updated_at,omitempty"` + SelfHtmlUrl *string `json:"self_html_url,omitempty"` + SelfUrl *string `json:"self_url,omitempty"` + SignatureUrl NullableString `json:"signature_url,omitempty"` + // The calculated size of the package. + Size *int64 `json:"size,omitempty"` + // The public unique identifier for the package. + Slug *string `json:"slug,omitempty"` + SlugPerm *string `json:"slug_perm,omitempty"` + // The synchronisation (in progress) stage of the package. + Stage *int64 `json:"stage,omitempty"` + StageStr *string `json:"stage_str,omitempty"` + // The datetime the package stage was updated at. + StageUpdatedAt *time.Time `json:"stage_updated_at,omitempty"` + // The synchronisation status of the package. + Status *int64 `json:"status,omitempty"` + // A textual description for the synchronous status reason (if any + StatusReason *string `json:"status_reason,omitempty"` + StatusStr *string `json:"status_str,omitempty"` + // The datetime the package status was updated at. + StatusUpdatedAt *time.Time `json:"status_updated_at,omitempty"` + StatusUrl *string `json:"status_url,omitempty"` + Subtype *string `json:"subtype,omitempty"` + // A one-liner synopsis of this package. + Summary *string `json:"summary,omitempty"` + // The datetime the package sync was finished at. + SyncFinishedAt *time.Time `json:"sync_finished_at,omitempty"` + // Synchronisation progress (from 0-100) + SyncProgress *int64 `json:"sync_progress,omitempty"` + // All tags on the package, grouped by tag type. This includes immutable tags, but doesn't distinguish them from mutable. To see which tags are immutable specifically, see the tags_immutable field. + TagsImmutable map[string]interface{} `json:"tags_immutable,omitempty"` + TypeDisplay *string `json:"type_display,omitempty"` + // The date this package was uploaded. + UploadedAt *time.Time `json:"uploaded_at,omitempty"` + Uploader *string `json:"uploader,omitempty"` + UploaderUrl *string `json:"uploader_url,omitempty"` + // The raw version for this package. + Version *string `json:"version,omitempty"` + VersionOrig *string `json:"version_orig,omitempty"` + VulnerabilityScanResultsUrl *string `json:"vulnerability_scan_results_url,omitempty"` +} + +// NewHelmPackageUploadResponse instantiates a new HelmPackageUploadResponse object +// 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 NewHelmPackageUploadResponse() *HelmPackageUploadResponse { + this := HelmPackageUploadResponse{} + return &this +} + +// NewHelmPackageUploadResponseWithDefaults instantiates a new HelmPackageUploadResponse object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewHelmPackageUploadResponseWithDefaults() *HelmPackageUploadResponse { + this := HelmPackageUploadResponse{} + return &this +} + +// GetArchitectures returns the Architectures field value if set, zero value otherwise. +func (o *HelmPackageUploadResponse) GetArchitectures() []Architecture { + if o == nil || isNil(o.Architectures) { + var ret []Architecture + return ret + } + return o.Architectures +} + +// GetArchitecturesOk returns a tuple with the Architectures field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *HelmPackageUploadResponse) GetArchitecturesOk() ([]Architecture, bool) { + if o == nil || isNil(o.Architectures) { + return nil, false + } + return o.Architectures, true +} + +// HasArchitectures returns a boolean if a field has been set. +func (o *HelmPackageUploadResponse) HasArchitectures() bool { + if o != nil && !isNil(o.Architectures) { + return true + } + + return false +} + +// SetArchitectures gets a reference to the given []Architecture and assigns it to the Architectures field. +func (o *HelmPackageUploadResponse) SetArchitectures(v []Architecture) { + o.Architectures = v +} + +// GetCdnUrl returns the CdnUrl field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *HelmPackageUploadResponse) GetCdnUrl() string { + if o == nil || isNil(o.CdnUrl.Get()) { + var ret string + return ret + } + return *o.CdnUrl.Get() +} + +// GetCdnUrlOk returns a tuple with the CdnUrl 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 *HelmPackageUploadResponse) GetCdnUrlOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.CdnUrl.Get(), o.CdnUrl.IsSet() +} + +// HasCdnUrl returns a boolean if a field has been set. +func (o *HelmPackageUploadResponse) HasCdnUrl() bool { + if o != nil && o.CdnUrl.IsSet() { + return true + } + + return false +} + +// SetCdnUrl gets a reference to the given NullableString and assigns it to the CdnUrl field. +func (o *HelmPackageUploadResponse) SetCdnUrl(v string) { + o.CdnUrl.Set(&v) +} + +// SetCdnUrlNil sets the value for CdnUrl to be an explicit nil +func (o *HelmPackageUploadResponse) SetCdnUrlNil() { + o.CdnUrl.Set(nil) +} + +// UnsetCdnUrl ensures that no value is present for CdnUrl, not even an explicit nil +func (o *HelmPackageUploadResponse) UnsetCdnUrl() { + o.CdnUrl.Unset() +} + +// GetChecksumMd5 returns the ChecksumMd5 field value if set, zero value otherwise. +func (o *HelmPackageUploadResponse) GetChecksumMd5() string { + if o == nil || isNil(o.ChecksumMd5) { + var ret string + return ret + } + return *o.ChecksumMd5 +} + +// GetChecksumMd5Ok returns a tuple with the ChecksumMd5 field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *HelmPackageUploadResponse) GetChecksumMd5Ok() (*string, bool) { + if o == nil || isNil(o.ChecksumMd5) { + return nil, false + } + return o.ChecksumMd5, true +} + +// HasChecksumMd5 returns a boolean if a field has been set. +func (o *HelmPackageUploadResponse) HasChecksumMd5() bool { + if o != nil && !isNil(o.ChecksumMd5) { + return true + } + + return false +} + +// SetChecksumMd5 gets a reference to the given string and assigns it to the ChecksumMd5 field. +func (o *HelmPackageUploadResponse) SetChecksumMd5(v string) { + o.ChecksumMd5 = &v +} + +// GetChecksumSha1 returns the ChecksumSha1 field value if set, zero value otherwise. +func (o *HelmPackageUploadResponse) GetChecksumSha1() string { + if o == nil || isNil(o.ChecksumSha1) { + var ret string + return ret + } + return *o.ChecksumSha1 +} + +// GetChecksumSha1Ok returns a tuple with the ChecksumSha1 field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *HelmPackageUploadResponse) GetChecksumSha1Ok() (*string, bool) { + if o == nil || isNil(o.ChecksumSha1) { + return nil, false + } + return o.ChecksumSha1, true +} + +// HasChecksumSha1 returns a boolean if a field has been set. +func (o *HelmPackageUploadResponse) HasChecksumSha1() bool { + if o != nil && !isNil(o.ChecksumSha1) { + return true + } + + return false +} + +// SetChecksumSha1 gets a reference to the given string and assigns it to the ChecksumSha1 field. +func (o *HelmPackageUploadResponse) SetChecksumSha1(v string) { + o.ChecksumSha1 = &v +} + +// GetChecksumSha256 returns the ChecksumSha256 field value if set, zero value otherwise. +func (o *HelmPackageUploadResponse) GetChecksumSha256() string { + if o == nil || isNil(o.ChecksumSha256) { + var ret string + return ret + } + return *o.ChecksumSha256 +} + +// GetChecksumSha256Ok returns a tuple with the ChecksumSha256 field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *HelmPackageUploadResponse) GetChecksumSha256Ok() (*string, bool) { + if o == nil || isNil(o.ChecksumSha256) { + return nil, false + } + return o.ChecksumSha256, true +} + +// HasChecksumSha256 returns a boolean if a field has been set. +func (o *HelmPackageUploadResponse) HasChecksumSha256() bool { + if o != nil && !isNil(o.ChecksumSha256) { + return true + } + + return false +} + +// SetChecksumSha256 gets a reference to the given string and assigns it to the ChecksumSha256 field. +func (o *HelmPackageUploadResponse) SetChecksumSha256(v string) { + o.ChecksumSha256 = &v +} + +// GetChecksumSha512 returns the ChecksumSha512 field value if set, zero value otherwise. +func (o *HelmPackageUploadResponse) GetChecksumSha512() string { + if o == nil || isNil(o.ChecksumSha512) { + var ret string + return ret + } + return *o.ChecksumSha512 +} + +// GetChecksumSha512Ok returns a tuple with the ChecksumSha512 field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *HelmPackageUploadResponse) GetChecksumSha512Ok() (*string, bool) { + if o == nil || isNil(o.ChecksumSha512) { + return nil, false + } + return o.ChecksumSha512, true +} + +// HasChecksumSha512 returns a boolean if a field has been set. +func (o *HelmPackageUploadResponse) HasChecksumSha512() bool { + if o != nil && !isNil(o.ChecksumSha512) { + return true + } + + return false +} + +// SetChecksumSha512 gets a reference to the given string and assigns it to the ChecksumSha512 field. +func (o *HelmPackageUploadResponse) SetChecksumSha512(v string) { + o.ChecksumSha512 = &v +} + +// GetDependenciesChecksumMd5 returns the DependenciesChecksumMd5 field value if set, zero value otherwise. +func (o *HelmPackageUploadResponse) GetDependenciesChecksumMd5() string { + if o == nil || isNil(o.DependenciesChecksumMd5) { + var ret string + return ret + } + return *o.DependenciesChecksumMd5 +} + +// GetDependenciesChecksumMd5Ok returns a tuple with the DependenciesChecksumMd5 field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *HelmPackageUploadResponse) GetDependenciesChecksumMd5Ok() (*string, bool) { + if o == nil || isNil(o.DependenciesChecksumMd5) { + return nil, false + } + return o.DependenciesChecksumMd5, true +} + +// HasDependenciesChecksumMd5 returns a boolean if a field has been set. +func (o *HelmPackageUploadResponse) HasDependenciesChecksumMd5() bool { + if o != nil && !isNil(o.DependenciesChecksumMd5) { + return true + } + + return false +} + +// SetDependenciesChecksumMd5 gets a reference to the given string and assigns it to the DependenciesChecksumMd5 field. +func (o *HelmPackageUploadResponse) SetDependenciesChecksumMd5(v string) { + o.DependenciesChecksumMd5 = &v +} + +// GetDependenciesUrl returns the DependenciesUrl field value if set, zero value otherwise. +func (o *HelmPackageUploadResponse) GetDependenciesUrl() string { + if o == nil || isNil(o.DependenciesUrl) { + var ret string + return ret + } + return *o.DependenciesUrl +} + +// GetDependenciesUrlOk returns a tuple with the DependenciesUrl field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *HelmPackageUploadResponse) GetDependenciesUrlOk() (*string, bool) { + if o == nil || isNil(o.DependenciesUrl) { + return nil, false + } + return o.DependenciesUrl, true +} + +// HasDependenciesUrl returns a boolean if a field has been set. +func (o *HelmPackageUploadResponse) HasDependenciesUrl() bool { + if o != nil && !isNil(o.DependenciesUrl) { + return true + } + + return false +} + +// SetDependenciesUrl gets a reference to the given string and assigns it to the DependenciesUrl field. +func (o *HelmPackageUploadResponse) SetDependenciesUrl(v string) { + o.DependenciesUrl = &v +} + +// GetDescription returns the Description field value if set, zero value otherwise. +func (o *HelmPackageUploadResponse) GetDescription() string { + if o == nil || isNil(o.Description) { + var ret string + return ret + } + return *o.Description +} + +// GetDescriptionOk returns a tuple with the Description field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *HelmPackageUploadResponse) GetDescriptionOk() (*string, bool) { + if o == nil || isNil(o.Description) { + return nil, false + } + return o.Description, true +} + +// HasDescription returns a boolean if a field has been set. +func (o *HelmPackageUploadResponse) HasDescription() bool { + if o != nil && !isNil(o.Description) { + return true + } + + return false +} + +// SetDescription gets a reference to the given string and assigns it to the Description field. +func (o *HelmPackageUploadResponse) SetDescription(v string) { + o.Description = &v +} + +// GetDistro returns the Distro field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *HelmPackageUploadResponse) GetDistro() Distribution { + if o == nil || isNil(o.Distro.Get()) { + var ret Distribution + return ret + } + return *o.Distro.Get() +} + +// GetDistroOk returns a tuple with the Distro 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 *HelmPackageUploadResponse) GetDistroOk() (*Distribution, bool) { + if o == nil { + return nil, false + } + return o.Distro.Get(), o.Distro.IsSet() +} + +// HasDistro returns a boolean if a field has been set. +func (o *HelmPackageUploadResponse) HasDistro() bool { + if o != nil && o.Distro.IsSet() { + return true + } + + return false +} + +// SetDistro gets a reference to the given NullableDistribution and assigns it to the Distro field. +func (o *HelmPackageUploadResponse) SetDistro(v Distribution) { + o.Distro.Set(&v) +} + +// SetDistroNil sets the value for Distro to be an explicit nil +func (o *HelmPackageUploadResponse) SetDistroNil() { + o.Distro.Set(nil) +} + +// UnsetDistro ensures that no value is present for Distro, not even an explicit nil +func (o *HelmPackageUploadResponse) UnsetDistro() { + o.Distro.Unset() +} + +// GetDistroVersion returns the DistroVersion field value if set, zero value otherwise. +func (o *HelmPackageUploadResponse) GetDistroVersion() DistributionVersion { + if o == nil || isNil(o.DistroVersion) { + var ret DistributionVersion + return ret + } + return *o.DistroVersion +} + +// GetDistroVersionOk returns a tuple with the DistroVersion field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *HelmPackageUploadResponse) GetDistroVersionOk() (*DistributionVersion, bool) { + if o == nil || isNil(o.DistroVersion) { + return nil, false + } + return o.DistroVersion, true +} + +// HasDistroVersion returns a boolean if a field has been set. +func (o *HelmPackageUploadResponse) HasDistroVersion() bool { + if o != nil && !isNil(o.DistroVersion) { + return true + } + + return false +} + +// SetDistroVersion gets a reference to the given DistributionVersion and assigns it to the DistroVersion field. +func (o *HelmPackageUploadResponse) SetDistroVersion(v DistributionVersion) { + o.DistroVersion = &v +} + +// GetDownloads returns the Downloads field value if set, zero value otherwise. +func (o *HelmPackageUploadResponse) GetDownloads() int64 { + if o == nil || isNil(o.Downloads) { + var ret int64 + return ret + } + return *o.Downloads +} + +// GetDownloadsOk returns a tuple with the Downloads field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *HelmPackageUploadResponse) GetDownloadsOk() (*int64, bool) { + if o == nil || isNil(o.Downloads) { + return nil, false + } + return o.Downloads, true +} + +// HasDownloads returns a boolean if a field has been set. +func (o *HelmPackageUploadResponse) HasDownloads() bool { + if o != nil && !isNil(o.Downloads) { + return true + } + + return false +} + +// SetDownloads gets a reference to the given int64 and assigns it to the Downloads field. +func (o *HelmPackageUploadResponse) SetDownloads(v int64) { + o.Downloads = &v +} + +// GetEpoch returns the Epoch field value if set, zero value otherwise. +func (o *HelmPackageUploadResponse) GetEpoch() int64 { + if o == nil || isNil(o.Epoch) { + var ret int64 + return ret + } + return *o.Epoch +} + +// GetEpochOk returns a tuple with the Epoch field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *HelmPackageUploadResponse) GetEpochOk() (*int64, bool) { + if o == nil || isNil(o.Epoch) { + return nil, false + } + return o.Epoch, true +} + +// HasEpoch returns a boolean if a field has been set. +func (o *HelmPackageUploadResponse) HasEpoch() bool { + if o != nil && !isNil(o.Epoch) { + return true + } + + return false +} + +// SetEpoch gets a reference to the given int64 and assigns it to the Epoch field. +func (o *HelmPackageUploadResponse) SetEpoch(v int64) { + o.Epoch = &v +} + +// GetExtension returns the Extension field value if set, zero value otherwise. +func (o *HelmPackageUploadResponse) GetExtension() string { + if o == nil || isNil(o.Extension) { + var ret string + return ret + } + return *o.Extension +} + +// GetExtensionOk returns a tuple with the Extension field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *HelmPackageUploadResponse) GetExtensionOk() (*string, bool) { + if o == nil || isNil(o.Extension) { + return nil, false + } + return o.Extension, true +} + +// HasExtension returns a boolean if a field has been set. +func (o *HelmPackageUploadResponse) HasExtension() bool { + if o != nil && !isNil(o.Extension) { + return true + } + + return false +} + +// SetExtension gets a reference to the given string and assigns it to the Extension field. +func (o *HelmPackageUploadResponse) SetExtension(v string) { + o.Extension = &v +} + +// GetFilename returns the Filename field value if set, zero value otherwise. +func (o *HelmPackageUploadResponse) GetFilename() string { + if o == nil || isNil(o.Filename) { + var ret string + return ret + } + return *o.Filename +} + +// GetFilenameOk returns a tuple with the Filename field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *HelmPackageUploadResponse) GetFilenameOk() (*string, bool) { + if o == nil || isNil(o.Filename) { + return nil, false + } + return o.Filename, true +} + +// HasFilename returns a boolean if a field has been set. +func (o *HelmPackageUploadResponse) HasFilename() bool { + if o != nil && !isNil(o.Filename) { + return true + } + + return false +} + +// SetFilename gets a reference to the given string and assigns it to the Filename field. +func (o *HelmPackageUploadResponse) SetFilename(v string) { + o.Filename = &v +} + +// GetFiles returns the Files field value if set, zero value otherwise. +func (o *HelmPackageUploadResponse) GetFiles() []PackageFile { + if o == nil || isNil(o.Files) { + var ret []PackageFile + return ret + } + return o.Files +} + +// GetFilesOk returns a tuple with the Files field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *HelmPackageUploadResponse) GetFilesOk() ([]PackageFile, bool) { + if o == nil || isNil(o.Files) { + return nil, false + } + return o.Files, true +} + +// HasFiles returns a boolean if a field has been set. +func (o *HelmPackageUploadResponse) HasFiles() bool { + if o != nil && !isNil(o.Files) { + return true + } + + return false +} + +// SetFiles gets a reference to the given []PackageFile and assigns it to the Files field. +func (o *HelmPackageUploadResponse) SetFiles(v []PackageFile) { + o.Files = v +} + +// GetFormat returns the Format field value if set, zero value otherwise. +func (o *HelmPackageUploadResponse) GetFormat() string { + if o == nil || isNil(o.Format) { + var ret string + return ret + } + return *o.Format +} + +// GetFormatOk returns a tuple with the Format field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *HelmPackageUploadResponse) GetFormatOk() (*string, bool) { + if o == nil || isNil(o.Format) { + return nil, false + } + return o.Format, true +} + +// HasFormat returns a boolean if a field has been set. +func (o *HelmPackageUploadResponse) HasFormat() bool { + if o != nil && !isNil(o.Format) { + return true + } + + return false +} + +// SetFormat gets a reference to the given string and assigns it to the Format field. +func (o *HelmPackageUploadResponse) SetFormat(v string) { + o.Format = &v +} + +// GetFormatUrl returns the FormatUrl field value if set, zero value otherwise. +func (o *HelmPackageUploadResponse) GetFormatUrl() string { + if o == nil || isNil(o.FormatUrl) { + var ret string + return ret + } + return *o.FormatUrl +} + +// GetFormatUrlOk returns a tuple with the FormatUrl field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *HelmPackageUploadResponse) GetFormatUrlOk() (*string, bool) { + if o == nil || isNil(o.FormatUrl) { + return nil, false + } + return o.FormatUrl, true +} + +// HasFormatUrl returns a boolean if a field has been set. +func (o *HelmPackageUploadResponse) HasFormatUrl() bool { + if o != nil && !isNil(o.FormatUrl) { + return true + } + + return false +} + +// SetFormatUrl gets a reference to the given string and assigns it to the FormatUrl field. +func (o *HelmPackageUploadResponse) SetFormatUrl(v string) { + o.FormatUrl = &v +} + +// GetIdentifierPerm returns the IdentifierPerm field value if set, zero value otherwise. +func (o *HelmPackageUploadResponse) GetIdentifierPerm() string { + if o == nil || isNil(o.IdentifierPerm) { + var ret string + return ret + } + return *o.IdentifierPerm +} + +// GetIdentifierPermOk returns a tuple with the IdentifierPerm field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *HelmPackageUploadResponse) GetIdentifierPermOk() (*string, bool) { + if o == nil || isNil(o.IdentifierPerm) { + return nil, false + } + return o.IdentifierPerm, true +} + +// HasIdentifierPerm returns a boolean if a field has been set. +func (o *HelmPackageUploadResponse) HasIdentifierPerm() bool { + if o != nil && !isNil(o.IdentifierPerm) { + return true + } + + return false +} + +// SetIdentifierPerm gets a reference to the given string and assigns it to the IdentifierPerm field. +func (o *HelmPackageUploadResponse) SetIdentifierPerm(v string) { + o.IdentifierPerm = &v +} + +// GetIndexed returns the Indexed field value if set, zero value otherwise. +func (o *HelmPackageUploadResponse) GetIndexed() bool { + if o == nil || isNil(o.Indexed) { + var ret bool + return ret + } + return *o.Indexed +} + +// GetIndexedOk returns a tuple with the Indexed field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *HelmPackageUploadResponse) GetIndexedOk() (*bool, bool) { + if o == nil || isNil(o.Indexed) { + return nil, false + } + return o.Indexed, true +} + +// HasIndexed returns a boolean if a field has been set. +func (o *HelmPackageUploadResponse) HasIndexed() bool { + if o != nil && !isNil(o.Indexed) { + return true + } + + return false +} + +// SetIndexed gets a reference to the given bool and assigns it to the Indexed field. +func (o *HelmPackageUploadResponse) SetIndexed(v bool) { + o.Indexed = &v +} + +// GetIsDownloadable returns the IsDownloadable field value if set, zero value otherwise. +func (o *HelmPackageUploadResponse) GetIsDownloadable() bool { + if o == nil || isNil(o.IsDownloadable) { + var ret bool + return ret + } + return *o.IsDownloadable +} + +// GetIsDownloadableOk returns a tuple with the IsDownloadable field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *HelmPackageUploadResponse) GetIsDownloadableOk() (*bool, bool) { + if o == nil || isNil(o.IsDownloadable) { + return nil, false + } + return o.IsDownloadable, true +} + +// HasIsDownloadable returns a boolean if a field has been set. +func (o *HelmPackageUploadResponse) HasIsDownloadable() bool { + if o != nil && !isNil(o.IsDownloadable) { + return true + } + + return false +} + +// SetIsDownloadable gets a reference to the given bool and assigns it to the IsDownloadable field. +func (o *HelmPackageUploadResponse) SetIsDownloadable(v bool) { + o.IsDownloadable = &v +} + +// GetIsQuarantined returns the IsQuarantined field value if set, zero value otherwise. +func (o *HelmPackageUploadResponse) GetIsQuarantined() bool { + if o == nil || isNil(o.IsQuarantined) { + var ret bool + return ret + } + return *o.IsQuarantined +} + +// GetIsQuarantinedOk returns a tuple with the IsQuarantined field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *HelmPackageUploadResponse) GetIsQuarantinedOk() (*bool, bool) { + if o == nil || isNil(o.IsQuarantined) { + return nil, false + } + return o.IsQuarantined, true +} + +// HasIsQuarantined returns a boolean if a field has been set. +func (o *HelmPackageUploadResponse) HasIsQuarantined() bool { + if o != nil && !isNil(o.IsQuarantined) { + return true + } + + return false +} + +// SetIsQuarantined gets a reference to the given bool and assigns it to the IsQuarantined field. +func (o *HelmPackageUploadResponse) SetIsQuarantined(v bool) { + o.IsQuarantined = &v +} + +// GetIsSyncAwaiting returns the IsSyncAwaiting field value if set, zero value otherwise. +func (o *HelmPackageUploadResponse) GetIsSyncAwaiting() bool { + if o == nil || isNil(o.IsSyncAwaiting) { + var ret bool + return ret + } + return *o.IsSyncAwaiting +} + +// GetIsSyncAwaitingOk returns a tuple with the IsSyncAwaiting field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *HelmPackageUploadResponse) GetIsSyncAwaitingOk() (*bool, bool) { + if o == nil || isNil(o.IsSyncAwaiting) { + return nil, false + } + return o.IsSyncAwaiting, true +} + +// HasIsSyncAwaiting returns a boolean if a field has been set. +func (o *HelmPackageUploadResponse) HasIsSyncAwaiting() bool { + if o != nil && !isNil(o.IsSyncAwaiting) { + return true + } + + return false +} + +// SetIsSyncAwaiting gets a reference to the given bool and assigns it to the IsSyncAwaiting field. +func (o *HelmPackageUploadResponse) SetIsSyncAwaiting(v bool) { + o.IsSyncAwaiting = &v +} + +// GetIsSyncCompleted returns the IsSyncCompleted field value if set, zero value otherwise. +func (o *HelmPackageUploadResponse) GetIsSyncCompleted() bool { + if o == nil || isNil(o.IsSyncCompleted) { + var ret bool + return ret + } + return *o.IsSyncCompleted +} + +// GetIsSyncCompletedOk returns a tuple with the IsSyncCompleted field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *HelmPackageUploadResponse) GetIsSyncCompletedOk() (*bool, bool) { + if o == nil || isNil(o.IsSyncCompleted) { + return nil, false + } + return o.IsSyncCompleted, true +} + +// HasIsSyncCompleted returns a boolean if a field has been set. +func (o *HelmPackageUploadResponse) HasIsSyncCompleted() bool { + if o != nil && !isNil(o.IsSyncCompleted) { + return true + } + + return false +} + +// SetIsSyncCompleted gets a reference to the given bool and assigns it to the IsSyncCompleted field. +func (o *HelmPackageUploadResponse) SetIsSyncCompleted(v bool) { + o.IsSyncCompleted = &v +} + +// GetIsSyncFailed returns the IsSyncFailed field value if set, zero value otherwise. +func (o *HelmPackageUploadResponse) GetIsSyncFailed() bool { + if o == nil || isNil(o.IsSyncFailed) { + var ret bool + return ret + } + return *o.IsSyncFailed +} + +// GetIsSyncFailedOk returns a tuple with the IsSyncFailed field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *HelmPackageUploadResponse) GetIsSyncFailedOk() (*bool, bool) { + if o == nil || isNil(o.IsSyncFailed) { + return nil, false + } + return o.IsSyncFailed, true +} + +// HasIsSyncFailed returns a boolean if a field has been set. +func (o *HelmPackageUploadResponse) HasIsSyncFailed() bool { + if o != nil && !isNil(o.IsSyncFailed) { + return true + } + + return false +} + +// SetIsSyncFailed gets a reference to the given bool and assigns it to the IsSyncFailed field. +func (o *HelmPackageUploadResponse) SetIsSyncFailed(v bool) { + o.IsSyncFailed = &v +} + +// GetIsSyncInFlight returns the IsSyncInFlight field value if set, zero value otherwise. +func (o *HelmPackageUploadResponse) GetIsSyncInFlight() bool { + if o == nil || isNil(o.IsSyncInFlight) { + var ret bool + return ret + } + return *o.IsSyncInFlight +} + +// GetIsSyncInFlightOk returns a tuple with the IsSyncInFlight field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *HelmPackageUploadResponse) GetIsSyncInFlightOk() (*bool, bool) { + if o == nil || isNil(o.IsSyncInFlight) { + return nil, false + } + return o.IsSyncInFlight, true +} + +// HasIsSyncInFlight returns a boolean if a field has been set. +func (o *HelmPackageUploadResponse) HasIsSyncInFlight() bool { + if o != nil && !isNil(o.IsSyncInFlight) { + return true + } + + return false +} + +// SetIsSyncInFlight gets a reference to the given bool and assigns it to the IsSyncInFlight field. +func (o *HelmPackageUploadResponse) SetIsSyncInFlight(v bool) { + o.IsSyncInFlight = &v +} + +// GetIsSyncInProgress returns the IsSyncInProgress field value if set, zero value otherwise. +func (o *HelmPackageUploadResponse) GetIsSyncInProgress() bool { + if o == nil || isNil(o.IsSyncInProgress) { + var ret bool + return ret + } + return *o.IsSyncInProgress +} + +// GetIsSyncInProgressOk returns a tuple with the IsSyncInProgress field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *HelmPackageUploadResponse) GetIsSyncInProgressOk() (*bool, bool) { + if o == nil || isNil(o.IsSyncInProgress) { + return nil, false + } + return o.IsSyncInProgress, true +} + +// HasIsSyncInProgress returns a boolean if a field has been set. +func (o *HelmPackageUploadResponse) HasIsSyncInProgress() bool { + if o != nil && !isNil(o.IsSyncInProgress) { + return true + } + + return false +} + +// SetIsSyncInProgress gets a reference to the given bool and assigns it to the IsSyncInProgress field. +func (o *HelmPackageUploadResponse) SetIsSyncInProgress(v bool) { + o.IsSyncInProgress = &v +} + +// GetLicense returns the License field value if set, zero value otherwise. +func (o *HelmPackageUploadResponse) GetLicense() string { + if o == nil || isNil(o.License) { + var ret string + return ret + } + return *o.License +} + +// GetLicenseOk returns a tuple with the License field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *HelmPackageUploadResponse) GetLicenseOk() (*string, bool) { + if o == nil || isNil(o.License) { + return nil, false + } + return o.License, true +} + +// HasLicense returns a boolean if a field has been set. +func (o *HelmPackageUploadResponse) HasLicense() bool { + if o != nil && !isNil(o.License) { + return true + } + + return false +} + +// SetLicense gets a reference to the given string and assigns it to the License field. +func (o *HelmPackageUploadResponse) SetLicense(v string) { + o.License = &v +} + +// GetName returns the Name field value if set, zero value otherwise. +func (o *HelmPackageUploadResponse) GetName() string { + if o == nil || isNil(o.Name) { + var ret string + return ret + } + return *o.Name +} + +// GetNameOk returns a tuple with the Name field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *HelmPackageUploadResponse) GetNameOk() (*string, bool) { + if o == nil || isNil(o.Name) { + return nil, false + } + return o.Name, true +} + +// HasName returns a boolean if a field has been set. +func (o *HelmPackageUploadResponse) HasName() bool { + if o != nil && !isNil(o.Name) { + return true + } + + return false +} + +// SetName gets a reference to the given string and assigns it to the Name field. +func (o *HelmPackageUploadResponse) SetName(v string) { + o.Name = &v +} + +// GetNamespace returns the Namespace field value if set, zero value otherwise. +func (o *HelmPackageUploadResponse) GetNamespace() string { + if o == nil || isNil(o.Namespace) { + var ret string + return ret + } + return *o.Namespace +} + +// GetNamespaceOk returns a tuple with the Namespace field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *HelmPackageUploadResponse) GetNamespaceOk() (*string, bool) { + if o == nil || isNil(o.Namespace) { + return nil, false + } + return o.Namespace, true +} + +// HasNamespace returns a boolean if a field has been set. +func (o *HelmPackageUploadResponse) HasNamespace() bool { + if o != nil && !isNil(o.Namespace) { + return true + } + + return false +} + +// SetNamespace gets a reference to the given string and assigns it to the Namespace field. +func (o *HelmPackageUploadResponse) SetNamespace(v string) { + o.Namespace = &v +} + +// GetNamespaceUrl returns the NamespaceUrl field value if set, zero value otherwise. +func (o *HelmPackageUploadResponse) GetNamespaceUrl() string { + if o == nil || isNil(o.NamespaceUrl) { + var ret string + return ret + } + return *o.NamespaceUrl +} + +// GetNamespaceUrlOk returns a tuple with the NamespaceUrl field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *HelmPackageUploadResponse) GetNamespaceUrlOk() (*string, bool) { + if o == nil || isNil(o.NamespaceUrl) { + return nil, false + } + return o.NamespaceUrl, true +} + +// HasNamespaceUrl returns a boolean if a field has been set. +func (o *HelmPackageUploadResponse) HasNamespaceUrl() bool { + if o != nil && !isNil(o.NamespaceUrl) { + return true + } + + return false +} + +// SetNamespaceUrl gets a reference to the given string and assigns it to the NamespaceUrl field. +func (o *HelmPackageUploadResponse) SetNamespaceUrl(v string) { + o.NamespaceUrl = &v +} + +// GetNumFiles returns the NumFiles field value if set, zero value otherwise. +func (o *HelmPackageUploadResponse) GetNumFiles() int64 { + if o == nil || isNil(o.NumFiles) { + var ret int64 + return ret + } + return *o.NumFiles +} + +// GetNumFilesOk returns a tuple with the NumFiles field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *HelmPackageUploadResponse) GetNumFilesOk() (*int64, bool) { + if o == nil || isNil(o.NumFiles) { + return nil, false + } + return o.NumFiles, true +} + +// HasNumFiles returns a boolean if a field has been set. +func (o *HelmPackageUploadResponse) HasNumFiles() bool { + if o != nil && !isNil(o.NumFiles) { + return true + } + + return false +} + +// SetNumFiles gets a reference to the given int64 and assigns it to the NumFiles field. +func (o *HelmPackageUploadResponse) SetNumFiles(v int64) { + o.NumFiles = &v +} + +// GetOriginRepository returns the OriginRepository field value if set, zero value otherwise. +func (o *HelmPackageUploadResponse) GetOriginRepository() string { + if o == nil || isNil(o.OriginRepository) { + var ret string + return ret + } + return *o.OriginRepository +} + +// GetOriginRepositoryOk returns a tuple with the OriginRepository field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *HelmPackageUploadResponse) GetOriginRepositoryOk() (*string, bool) { + if o == nil || isNil(o.OriginRepository) { + return nil, false + } + return o.OriginRepository, true +} + +// HasOriginRepository returns a boolean if a field has been set. +func (o *HelmPackageUploadResponse) HasOriginRepository() bool { + if o != nil && !isNil(o.OriginRepository) { + return true + } + + return false +} + +// SetOriginRepository gets a reference to the given string and assigns it to the OriginRepository field. +func (o *HelmPackageUploadResponse) SetOriginRepository(v string) { + o.OriginRepository = &v +} + +// GetOriginRepositoryUrl returns the OriginRepositoryUrl field value if set, zero value otherwise. +func (o *HelmPackageUploadResponse) GetOriginRepositoryUrl() string { + if o == nil || isNil(o.OriginRepositoryUrl) { + var ret string + return ret + } + return *o.OriginRepositoryUrl +} + +// GetOriginRepositoryUrlOk returns a tuple with the OriginRepositoryUrl field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *HelmPackageUploadResponse) GetOriginRepositoryUrlOk() (*string, bool) { + if o == nil || isNil(o.OriginRepositoryUrl) { + return nil, false + } + return o.OriginRepositoryUrl, true +} + +// HasOriginRepositoryUrl returns a boolean if a field has been set. +func (o *HelmPackageUploadResponse) HasOriginRepositoryUrl() bool { + if o != nil && !isNil(o.OriginRepositoryUrl) { + return true + } + + return false +} + +// SetOriginRepositoryUrl gets a reference to the given string and assigns it to the OriginRepositoryUrl field. +func (o *HelmPackageUploadResponse) SetOriginRepositoryUrl(v string) { + o.OriginRepositoryUrl = &v +} + +// GetPackageType returns the PackageType field value if set, zero value otherwise. +func (o *HelmPackageUploadResponse) GetPackageType() int64 { + if o == nil || isNil(o.PackageType) { + var ret int64 + return ret + } + return *o.PackageType +} + +// GetPackageTypeOk returns a tuple with the PackageType field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *HelmPackageUploadResponse) GetPackageTypeOk() (*int64, bool) { + if o == nil || isNil(o.PackageType) { + return nil, false + } + return o.PackageType, true +} + +// HasPackageType returns a boolean if a field has been set. +func (o *HelmPackageUploadResponse) HasPackageType() bool { + if o != nil && !isNil(o.PackageType) { + return true + } + + return false +} + +// SetPackageType gets a reference to the given int64 and assigns it to the PackageType field. +func (o *HelmPackageUploadResponse) SetPackageType(v int64) { + o.PackageType = &v +} + +// GetRelease returns the Release field value if set, zero value otherwise. +func (o *HelmPackageUploadResponse) GetRelease() string { + if o == nil || isNil(o.Release) { + var ret string + return ret + } + return *o.Release +} + +// GetReleaseOk returns a tuple with the Release field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *HelmPackageUploadResponse) GetReleaseOk() (*string, bool) { + if o == nil || isNil(o.Release) { + return nil, false + } + return o.Release, true +} + +// HasRelease returns a boolean if a field has been set. +func (o *HelmPackageUploadResponse) HasRelease() bool { + if o != nil && !isNil(o.Release) { + return true + } + + return false +} + +// SetRelease gets a reference to the given string and assigns it to the Release field. +func (o *HelmPackageUploadResponse) SetRelease(v string) { + o.Release = &v +} + +// GetRepository returns the Repository field value if set, zero value otherwise. +func (o *HelmPackageUploadResponse) GetRepository() string { + if o == nil || isNil(o.Repository) { + var ret string + return ret + } + return *o.Repository +} + +// GetRepositoryOk returns a tuple with the Repository field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *HelmPackageUploadResponse) GetRepositoryOk() (*string, bool) { + if o == nil || isNil(o.Repository) { + return nil, false + } + return o.Repository, true +} + +// HasRepository returns a boolean if a field has been set. +func (o *HelmPackageUploadResponse) HasRepository() bool { + if o != nil && !isNil(o.Repository) { + return true + } + + return false +} + +// SetRepository gets a reference to the given string and assigns it to the Repository field. +func (o *HelmPackageUploadResponse) SetRepository(v string) { + o.Repository = &v +} + +// GetRepositoryUrl returns the RepositoryUrl field value if set, zero value otherwise. +func (o *HelmPackageUploadResponse) GetRepositoryUrl() string { + if o == nil || isNil(o.RepositoryUrl) { + var ret string + return ret + } + return *o.RepositoryUrl +} + +// GetRepositoryUrlOk returns a tuple with the RepositoryUrl field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *HelmPackageUploadResponse) GetRepositoryUrlOk() (*string, bool) { + if o == nil || isNil(o.RepositoryUrl) { + return nil, false + } + return o.RepositoryUrl, true +} + +// HasRepositoryUrl returns a boolean if a field has been set. +func (o *HelmPackageUploadResponse) HasRepositoryUrl() bool { + if o != nil && !isNil(o.RepositoryUrl) { + return true + } + + return false +} + +// SetRepositoryUrl gets a reference to the given string and assigns it to the RepositoryUrl field. +func (o *HelmPackageUploadResponse) SetRepositoryUrl(v string) { + o.RepositoryUrl = &v +} + +// GetSecurityScanCompletedAt returns the SecurityScanCompletedAt field value if set, zero value otherwise. +func (o *HelmPackageUploadResponse) GetSecurityScanCompletedAt() time.Time { + if o == nil || isNil(o.SecurityScanCompletedAt) { + var ret time.Time + return ret + } + return *o.SecurityScanCompletedAt +} + +// GetSecurityScanCompletedAtOk returns a tuple with the SecurityScanCompletedAt field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *HelmPackageUploadResponse) GetSecurityScanCompletedAtOk() (*time.Time, bool) { + if o == nil || isNil(o.SecurityScanCompletedAt) { + return nil, false + } + return o.SecurityScanCompletedAt, true +} + +// HasSecurityScanCompletedAt returns a boolean if a field has been set. +func (o *HelmPackageUploadResponse) HasSecurityScanCompletedAt() bool { + if o != nil && !isNil(o.SecurityScanCompletedAt) { + return true + } + + return false +} + +// SetSecurityScanCompletedAt gets a reference to the given time.Time and assigns it to the SecurityScanCompletedAt field. +func (o *HelmPackageUploadResponse) SetSecurityScanCompletedAt(v time.Time) { + o.SecurityScanCompletedAt = &v +} + +// GetSecurityScanStartedAt returns the SecurityScanStartedAt field value if set, zero value otherwise. +func (o *HelmPackageUploadResponse) GetSecurityScanStartedAt() time.Time { + if o == nil || isNil(o.SecurityScanStartedAt) { + var ret time.Time + return ret + } + return *o.SecurityScanStartedAt +} + +// GetSecurityScanStartedAtOk returns a tuple with the SecurityScanStartedAt field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *HelmPackageUploadResponse) GetSecurityScanStartedAtOk() (*time.Time, bool) { + if o == nil || isNil(o.SecurityScanStartedAt) { + return nil, false + } + return o.SecurityScanStartedAt, true +} + +// HasSecurityScanStartedAt returns a boolean if a field has been set. +func (o *HelmPackageUploadResponse) HasSecurityScanStartedAt() bool { + if o != nil && !isNil(o.SecurityScanStartedAt) { + return true + } + + return false +} + +// SetSecurityScanStartedAt gets a reference to the given time.Time and assigns it to the SecurityScanStartedAt field. +func (o *HelmPackageUploadResponse) SetSecurityScanStartedAt(v time.Time) { + o.SecurityScanStartedAt = &v +} + +// GetSecurityScanStatus returns the SecurityScanStatus field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *HelmPackageUploadResponse) GetSecurityScanStatus() string { + if o == nil || isNil(o.SecurityScanStatus.Get()) { + var ret string + return ret + } + return *o.SecurityScanStatus.Get() +} + +// GetSecurityScanStatusOk returns a tuple with the SecurityScanStatus 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 *HelmPackageUploadResponse) GetSecurityScanStatusOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.SecurityScanStatus.Get(), o.SecurityScanStatus.IsSet() +} + +// HasSecurityScanStatus returns a boolean if a field has been set. +func (o *HelmPackageUploadResponse) HasSecurityScanStatus() bool { + if o != nil && o.SecurityScanStatus.IsSet() { + return true + } + + return false +} + +// SetSecurityScanStatus gets a reference to the given NullableString and assigns it to the SecurityScanStatus field. +func (o *HelmPackageUploadResponse) SetSecurityScanStatus(v string) { + o.SecurityScanStatus.Set(&v) +} + +// SetSecurityScanStatusNil sets the value for SecurityScanStatus to be an explicit nil +func (o *HelmPackageUploadResponse) SetSecurityScanStatusNil() { + o.SecurityScanStatus.Set(nil) +} + +// UnsetSecurityScanStatus ensures that no value is present for SecurityScanStatus, not even an explicit nil +func (o *HelmPackageUploadResponse) UnsetSecurityScanStatus() { + o.SecurityScanStatus.Unset() +} + +// GetSecurityScanStatusUpdatedAt returns the SecurityScanStatusUpdatedAt field value if set, zero value otherwise. +func (o *HelmPackageUploadResponse) GetSecurityScanStatusUpdatedAt() time.Time { + if o == nil || isNil(o.SecurityScanStatusUpdatedAt) { + var ret time.Time + return ret + } + return *o.SecurityScanStatusUpdatedAt +} + +// GetSecurityScanStatusUpdatedAtOk returns a tuple with the SecurityScanStatusUpdatedAt field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *HelmPackageUploadResponse) GetSecurityScanStatusUpdatedAtOk() (*time.Time, bool) { + if o == nil || isNil(o.SecurityScanStatusUpdatedAt) { + return nil, false + } + return o.SecurityScanStatusUpdatedAt, true +} + +// HasSecurityScanStatusUpdatedAt returns a boolean if a field has been set. +func (o *HelmPackageUploadResponse) HasSecurityScanStatusUpdatedAt() bool { + if o != nil && !isNil(o.SecurityScanStatusUpdatedAt) { + return true + } + + return false +} + +// SetSecurityScanStatusUpdatedAt gets a reference to the given time.Time and assigns it to the SecurityScanStatusUpdatedAt field. +func (o *HelmPackageUploadResponse) SetSecurityScanStatusUpdatedAt(v time.Time) { + o.SecurityScanStatusUpdatedAt = &v +} + +// GetSelfHtmlUrl returns the SelfHtmlUrl field value if set, zero value otherwise. +func (o *HelmPackageUploadResponse) GetSelfHtmlUrl() string { + if o == nil || isNil(o.SelfHtmlUrl) { + var ret string + return ret + } + return *o.SelfHtmlUrl +} + +// GetSelfHtmlUrlOk returns a tuple with the SelfHtmlUrl field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *HelmPackageUploadResponse) GetSelfHtmlUrlOk() (*string, bool) { + if o == nil || isNil(o.SelfHtmlUrl) { + return nil, false + } + return o.SelfHtmlUrl, true +} + +// HasSelfHtmlUrl returns a boolean if a field has been set. +func (o *HelmPackageUploadResponse) HasSelfHtmlUrl() bool { + if o != nil && !isNil(o.SelfHtmlUrl) { + return true + } + + return false +} + +// SetSelfHtmlUrl gets a reference to the given string and assigns it to the SelfHtmlUrl field. +func (o *HelmPackageUploadResponse) SetSelfHtmlUrl(v string) { + o.SelfHtmlUrl = &v +} + +// GetSelfUrl returns the SelfUrl field value if set, zero value otherwise. +func (o *HelmPackageUploadResponse) GetSelfUrl() string { + if o == nil || isNil(o.SelfUrl) { + var ret string + return ret + } + return *o.SelfUrl +} + +// GetSelfUrlOk returns a tuple with the SelfUrl field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *HelmPackageUploadResponse) GetSelfUrlOk() (*string, bool) { + if o == nil || isNil(o.SelfUrl) { + return nil, false + } + return o.SelfUrl, true +} + +// HasSelfUrl returns a boolean if a field has been set. +func (o *HelmPackageUploadResponse) HasSelfUrl() bool { + if o != nil && !isNil(o.SelfUrl) { + return true + } + + return false +} + +// SetSelfUrl gets a reference to the given string and assigns it to the SelfUrl field. +func (o *HelmPackageUploadResponse) SetSelfUrl(v string) { + o.SelfUrl = &v +} + +// GetSignatureUrl returns the SignatureUrl field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *HelmPackageUploadResponse) GetSignatureUrl() string { + if o == nil || isNil(o.SignatureUrl.Get()) { + var ret string + return ret + } + return *o.SignatureUrl.Get() +} + +// GetSignatureUrlOk returns a tuple with the SignatureUrl 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 *HelmPackageUploadResponse) GetSignatureUrlOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.SignatureUrl.Get(), o.SignatureUrl.IsSet() +} + +// HasSignatureUrl returns a boolean if a field has been set. +func (o *HelmPackageUploadResponse) HasSignatureUrl() bool { + if o != nil && o.SignatureUrl.IsSet() { + return true + } + + return false +} + +// SetSignatureUrl gets a reference to the given NullableString and assigns it to the SignatureUrl field. +func (o *HelmPackageUploadResponse) SetSignatureUrl(v string) { + o.SignatureUrl.Set(&v) +} + +// SetSignatureUrlNil sets the value for SignatureUrl to be an explicit nil +func (o *HelmPackageUploadResponse) SetSignatureUrlNil() { + o.SignatureUrl.Set(nil) +} + +// UnsetSignatureUrl ensures that no value is present for SignatureUrl, not even an explicit nil +func (o *HelmPackageUploadResponse) UnsetSignatureUrl() { + o.SignatureUrl.Unset() +} + +// GetSize returns the Size field value if set, zero value otherwise. +func (o *HelmPackageUploadResponse) GetSize() int64 { + if o == nil || isNil(o.Size) { + var ret int64 + return ret + } + return *o.Size +} + +// GetSizeOk returns a tuple with the Size field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *HelmPackageUploadResponse) GetSizeOk() (*int64, bool) { + if o == nil || isNil(o.Size) { + return nil, false + } + return o.Size, true +} + +// HasSize returns a boolean if a field has been set. +func (o *HelmPackageUploadResponse) HasSize() bool { + if o != nil && !isNil(o.Size) { + return true + } + + return false +} + +// SetSize gets a reference to the given int64 and assigns it to the Size field. +func (o *HelmPackageUploadResponse) SetSize(v int64) { + o.Size = &v +} + +// GetSlug returns the Slug field value if set, zero value otherwise. +func (o *HelmPackageUploadResponse) GetSlug() string { + if o == nil || isNil(o.Slug) { + var ret string + return ret + } + return *o.Slug +} + +// GetSlugOk returns a tuple with the Slug field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *HelmPackageUploadResponse) GetSlugOk() (*string, bool) { + if o == nil || isNil(o.Slug) { + return nil, false + } + return o.Slug, true +} + +// HasSlug returns a boolean if a field has been set. +func (o *HelmPackageUploadResponse) HasSlug() bool { + if o != nil && !isNil(o.Slug) { + return true + } + + return false +} + +// SetSlug gets a reference to the given string and assigns it to the Slug field. +func (o *HelmPackageUploadResponse) SetSlug(v string) { + o.Slug = &v +} + +// GetSlugPerm returns the SlugPerm field value if set, zero value otherwise. +func (o *HelmPackageUploadResponse) GetSlugPerm() string { + if o == nil || isNil(o.SlugPerm) { + var ret string + return ret + } + return *o.SlugPerm +} + +// GetSlugPermOk returns a tuple with the SlugPerm field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *HelmPackageUploadResponse) GetSlugPermOk() (*string, bool) { + if o == nil || isNil(o.SlugPerm) { + return nil, false + } + return o.SlugPerm, true +} + +// HasSlugPerm returns a boolean if a field has been set. +func (o *HelmPackageUploadResponse) HasSlugPerm() bool { + if o != nil && !isNil(o.SlugPerm) { + return true + } + + return false +} + +// SetSlugPerm gets a reference to the given string and assigns it to the SlugPerm field. +func (o *HelmPackageUploadResponse) SetSlugPerm(v string) { + o.SlugPerm = &v +} + +// GetStage returns the Stage field value if set, zero value otherwise. +func (o *HelmPackageUploadResponse) GetStage() int64 { + if o == nil || isNil(o.Stage) { + var ret int64 + return ret + } + return *o.Stage +} + +// GetStageOk returns a tuple with the Stage field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *HelmPackageUploadResponse) GetStageOk() (*int64, bool) { + if o == nil || isNil(o.Stage) { + return nil, false + } + return o.Stage, true +} + +// HasStage returns a boolean if a field has been set. +func (o *HelmPackageUploadResponse) HasStage() bool { + if o != nil && !isNil(o.Stage) { + return true + } + + return false +} + +// SetStage gets a reference to the given int64 and assigns it to the Stage field. +func (o *HelmPackageUploadResponse) SetStage(v int64) { + o.Stage = &v +} + +// GetStageStr returns the StageStr field value if set, zero value otherwise. +func (o *HelmPackageUploadResponse) GetStageStr() string { + if o == nil || isNil(o.StageStr) { + var ret string + return ret + } + return *o.StageStr +} + +// GetStageStrOk returns a tuple with the StageStr field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *HelmPackageUploadResponse) GetStageStrOk() (*string, bool) { + if o == nil || isNil(o.StageStr) { + return nil, false + } + return o.StageStr, true +} + +// HasStageStr returns a boolean if a field has been set. +func (o *HelmPackageUploadResponse) HasStageStr() bool { + if o != nil && !isNil(o.StageStr) { + return true + } + + return false +} + +// SetStageStr gets a reference to the given string and assigns it to the StageStr field. +func (o *HelmPackageUploadResponse) SetStageStr(v string) { + o.StageStr = &v +} + +// GetStageUpdatedAt returns the StageUpdatedAt field value if set, zero value otherwise. +func (o *HelmPackageUploadResponse) GetStageUpdatedAt() time.Time { + if o == nil || isNil(o.StageUpdatedAt) { + var ret time.Time + return ret + } + return *o.StageUpdatedAt +} + +// GetStageUpdatedAtOk returns a tuple with the StageUpdatedAt field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *HelmPackageUploadResponse) GetStageUpdatedAtOk() (*time.Time, bool) { + if o == nil || isNil(o.StageUpdatedAt) { + return nil, false + } + return o.StageUpdatedAt, true +} + +// HasStageUpdatedAt returns a boolean if a field has been set. +func (o *HelmPackageUploadResponse) HasStageUpdatedAt() bool { + if o != nil && !isNil(o.StageUpdatedAt) { + return true + } + + return false +} + +// SetStageUpdatedAt gets a reference to the given time.Time and assigns it to the StageUpdatedAt field. +func (o *HelmPackageUploadResponse) SetStageUpdatedAt(v time.Time) { + o.StageUpdatedAt = &v +} + +// GetStatus returns the Status field value if set, zero value otherwise. +func (o *HelmPackageUploadResponse) GetStatus() int64 { + if o == nil || isNil(o.Status) { + var ret int64 + return ret + } + return *o.Status +} + +// GetStatusOk returns a tuple with the Status field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *HelmPackageUploadResponse) GetStatusOk() (*int64, bool) { + if o == nil || isNil(o.Status) { + return nil, false + } + return o.Status, true +} + +// HasStatus returns a boolean if a field has been set. +func (o *HelmPackageUploadResponse) HasStatus() bool { + if o != nil && !isNil(o.Status) { + return true + } + + return false +} + +// SetStatus gets a reference to the given int64 and assigns it to the Status field. +func (o *HelmPackageUploadResponse) SetStatus(v int64) { + o.Status = &v +} + +// GetStatusReason returns the StatusReason field value if set, zero value otherwise. +func (o *HelmPackageUploadResponse) GetStatusReason() string { + if o == nil || isNil(o.StatusReason) { + var ret string + return ret + } + return *o.StatusReason +} + +// GetStatusReasonOk returns a tuple with the StatusReason field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *HelmPackageUploadResponse) GetStatusReasonOk() (*string, bool) { + if o == nil || isNil(o.StatusReason) { + return nil, false + } + return o.StatusReason, true +} + +// HasStatusReason returns a boolean if a field has been set. +func (o *HelmPackageUploadResponse) HasStatusReason() bool { + if o != nil && !isNil(o.StatusReason) { + return true + } + + return false +} + +// SetStatusReason gets a reference to the given string and assigns it to the StatusReason field. +func (o *HelmPackageUploadResponse) SetStatusReason(v string) { + o.StatusReason = &v +} + +// GetStatusStr returns the StatusStr field value if set, zero value otherwise. +func (o *HelmPackageUploadResponse) GetStatusStr() string { + if o == nil || isNil(o.StatusStr) { + var ret string + return ret + } + return *o.StatusStr +} + +// GetStatusStrOk returns a tuple with the StatusStr field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *HelmPackageUploadResponse) GetStatusStrOk() (*string, bool) { + if o == nil || isNil(o.StatusStr) { + return nil, false + } + return o.StatusStr, true +} + +// HasStatusStr returns a boolean if a field has been set. +func (o *HelmPackageUploadResponse) HasStatusStr() bool { + if o != nil && !isNil(o.StatusStr) { + return true + } + + return false +} + +// SetStatusStr gets a reference to the given string and assigns it to the StatusStr field. +func (o *HelmPackageUploadResponse) SetStatusStr(v string) { + o.StatusStr = &v +} + +// GetStatusUpdatedAt returns the StatusUpdatedAt field value if set, zero value otherwise. +func (o *HelmPackageUploadResponse) GetStatusUpdatedAt() time.Time { + if o == nil || isNil(o.StatusUpdatedAt) { + var ret time.Time + return ret + } + return *o.StatusUpdatedAt +} + +// GetStatusUpdatedAtOk returns a tuple with the StatusUpdatedAt field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *HelmPackageUploadResponse) GetStatusUpdatedAtOk() (*time.Time, bool) { + if o == nil || isNil(o.StatusUpdatedAt) { + return nil, false + } + return o.StatusUpdatedAt, true +} + +// HasStatusUpdatedAt returns a boolean if a field has been set. +func (o *HelmPackageUploadResponse) HasStatusUpdatedAt() bool { + if o != nil && !isNil(o.StatusUpdatedAt) { + return true + } + + return false +} + +// SetStatusUpdatedAt gets a reference to the given time.Time and assigns it to the StatusUpdatedAt field. +func (o *HelmPackageUploadResponse) SetStatusUpdatedAt(v time.Time) { + o.StatusUpdatedAt = &v +} + +// GetStatusUrl returns the StatusUrl field value if set, zero value otherwise. +func (o *HelmPackageUploadResponse) GetStatusUrl() string { + if o == nil || isNil(o.StatusUrl) { + var ret string + return ret + } + return *o.StatusUrl +} + +// GetStatusUrlOk returns a tuple with the StatusUrl field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *HelmPackageUploadResponse) GetStatusUrlOk() (*string, bool) { + if o == nil || isNil(o.StatusUrl) { + return nil, false + } + return o.StatusUrl, true +} + +// HasStatusUrl returns a boolean if a field has been set. +func (o *HelmPackageUploadResponse) HasStatusUrl() bool { + if o != nil && !isNil(o.StatusUrl) { + return true + } + + return false +} + +// SetStatusUrl gets a reference to the given string and assigns it to the StatusUrl field. +func (o *HelmPackageUploadResponse) SetStatusUrl(v string) { + o.StatusUrl = &v +} + +// GetSubtype returns the Subtype field value if set, zero value otherwise. +func (o *HelmPackageUploadResponse) GetSubtype() string { + if o == nil || isNil(o.Subtype) { + var ret string + return ret + } + return *o.Subtype +} + +// GetSubtypeOk returns a tuple with the Subtype field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *HelmPackageUploadResponse) GetSubtypeOk() (*string, bool) { + if o == nil || isNil(o.Subtype) { + return nil, false + } + return o.Subtype, true +} + +// HasSubtype returns a boolean if a field has been set. +func (o *HelmPackageUploadResponse) HasSubtype() bool { + if o != nil && !isNil(o.Subtype) { + return true + } + + return false +} + +// SetSubtype gets a reference to the given string and assigns it to the Subtype field. +func (o *HelmPackageUploadResponse) SetSubtype(v string) { + o.Subtype = &v +} + +// GetSummary returns the Summary field value if set, zero value otherwise. +func (o *HelmPackageUploadResponse) GetSummary() string { + if o == nil || isNil(o.Summary) { + var ret string + return ret + } + return *o.Summary +} + +// GetSummaryOk returns a tuple with the Summary field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *HelmPackageUploadResponse) GetSummaryOk() (*string, bool) { + if o == nil || isNil(o.Summary) { + return nil, false + } + return o.Summary, true +} + +// HasSummary returns a boolean if a field has been set. +func (o *HelmPackageUploadResponse) HasSummary() bool { + if o != nil && !isNil(o.Summary) { + return true + } + + return false +} + +// SetSummary gets a reference to the given string and assigns it to the Summary field. +func (o *HelmPackageUploadResponse) SetSummary(v string) { + o.Summary = &v +} + +// GetSyncFinishedAt returns the SyncFinishedAt field value if set, zero value otherwise. +func (o *HelmPackageUploadResponse) GetSyncFinishedAt() time.Time { + if o == nil || isNil(o.SyncFinishedAt) { + var ret time.Time + return ret + } + return *o.SyncFinishedAt +} + +// GetSyncFinishedAtOk returns a tuple with the SyncFinishedAt field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *HelmPackageUploadResponse) GetSyncFinishedAtOk() (*time.Time, bool) { + if o == nil || isNil(o.SyncFinishedAt) { + return nil, false + } + return o.SyncFinishedAt, true +} + +// HasSyncFinishedAt returns a boolean if a field has been set. +func (o *HelmPackageUploadResponse) HasSyncFinishedAt() bool { + if o != nil && !isNil(o.SyncFinishedAt) { + return true + } + + return false +} + +// SetSyncFinishedAt gets a reference to the given time.Time and assigns it to the SyncFinishedAt field. +func (o *HelmPackageUploadResponse) SetSyncFinishedAt(v time.Time) { + o.SyncFinishedAt = &v +} + +// GetSyncProgress returns the SyncProgress field value if set, zero value otherwise. +func (o *HelmPackageUploadResponse) GetSyncProgress() int64 { + if o == nil || isNil(o.SyncProgress) { + var ret int64 + return ret + } + return *o.SyncProgress +} + +// GetSyncProgressOk returns a tuple with the SyncProgress field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *HelmPackageUploadResponse) GetSyncProgressOk() (*int64, bool) { + if o == nil || isNil(o.SyncProgress) { + return nil, false + } + return o.SyncProgress, true +} + +// HasSyncProgress returns a boolean if a field has been set. +func (o *HelmPackageUploadResponse) HasSyncProgress() bool { + if o != nil && !isNil(o.SyncProgress) { + return true + } + + return false +} + +// SetSyncProgress gets a reference to the given int64 and assigns it to the SyncProgress field. +func (o *HelmPackageUploadResponse) SetSyncProgress(v int64) { + o.SyncProgress = &v +} + +// GetTagsImmutable returns the TagsImmutable field value if set, zero value otherwise. +func (o *HelmPackageUploadResponse) GetTagsImmutable() map[string]interface{} { + if o == nil || isNil(o.TagsImmutable) { + var ret map[string]interface{} + return ret + } + return o.TagsImmutable +} + +// GetTagsImmutableOk returns a tuple with the TagsImmutable field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *HelmPackageUploadResponse) GetTagsImmutableOk() (map[string]interface{}, bool) { + if o == nil || isNil(o.TagsImmutable) { + return map[string]interface{}{}, false + } + return o.TagsImmutable, true +} + +// HasTagsImmutable returns a boolean if a field has been set. +func (o *HelmPackageUploadResponse) HasTagsImmutable() bool { + if o != nil && !isNil(o.TagsImmutable) { + return true + } + + return false +} + +// SetTagsImmutable gets a reference to the given map[string]interface{} and assigns it to the TagsImmutable field. +func (o *HelmPackageUploadResponse) SetTagsImmutable(v map[string]interface{}) { + o.TagsImmutable = v +} + +// GetTypeDisplay returns the TypeDisplay field value if set, zero value otherwise. +func (o *HelmPackageUploadResponse) GetTypeDisplay() string { + if o == nil || isNil(o.TypeDisplay) { + var ret string + return ret + } + return *o.TypeDisplay +} + +// GetTypeDisplayOk returns a tuple with the TypeDisplay field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *HelmPackageUploadResponse) GetTypeDisplayOk() (*string, bool) { + if o == nil || isNil(o.TypeDisplay) { + return nil, false + } + return o.TypeDisplay, true +} + +// HasTypeDisplay returns a boolean if a field has been set. +func (o *HelmPackageUploadResponse) HasTypeDisplay() bool { + if o != nil && !isNil(o.TypeDisplay) { + return true + } + + return false +} + +// SetTypeDisplay gets a reference to the given string and assigns it to the TypeDisplay field. +func (o *HelmPackageUploadResponse) SetTypeDisplay(v string) { + o.TypeDisplay = &v +} + +// GetUploadedAt returns the UploadedAt field value if set, zero value otherwise. +func (o *HelmPackageUploadResponse) GetUploadedAt() time.Time { + if o == nil || isNil(o.UploadedAt) { + var ret time.Time + return ret + } + return *o.UploadedAt +} + +// GetUploadedAtOk returns a tuple with the UploadedAt field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *HelmPackageUploadResponse) GetUploadedAtOk() (*time.Time, bool) { + if o == nil || isNil(o.UploadedAt) { + return nil, false + } + return o.UploadedAt, true +} + +// HasUploadedAt returns a boolean if a field has been set. +func (o *HelmPackageUploadResponse) HasUploadedAt() bool { + if o != nil && !isNil(o.UploadedAt) { + return true + } + + return false +} + +// SetUploadedAt gets a reference to the given time.Time and assigns it to the UploadedAt field. +func (o *HelmPackageUploadResponse) SetUploadedAt(v time.Time) { + o.UploadedAt = &v +} + +// GetUploader returns the Uploader field value if set, zero value otherwise. +func (o *HelmPackageUploadResponse) GetUploader() string { + if o == nil || isNil(o.Uploader) { + var ret string + return ret + } + return *o.Uploader +} + +// GetUploaderOk returns a tuple with the Uploader field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *HelmPackageUploadResponse) GetUploaderOk() (*string, bool) { + if o == nil || isNil(o.Uploader) { + return nil, false + } + return o.Uploader, true +} + +// HasUploader returns a boolean if a field has been set. +func (o *HelmPackageUploadResponse) HasUploader() bool { + if o != nil && !isNil(o.Uploader) { + return true + } + + return false +} + +// SetUploader gets a reference to the given string and assigns it to the Uploader field. +func (o *HelmPackageUploadResponse) SetUploader(v string) { + o.Uploader = &v +} + +// GetUploaderUrl returns the UploaderUrl field value if set, zero value otherwise. +func (o *HelmPackageUploadResponse) GetUploaderUrl() string { + if o == nil || isNil(o.UploaderUrl) { + var ret string + return ret + } + return *o.UploaderUrl +} + +// GetUploaderUrlOk returns a tuple with the UploaderUrl field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *HelmPackageUploadResponse) GetUploaderUrlOk() (*string, bool) { + if o == nil || isNil(o.UploaderUrl) { + return nil, false + } + return o.UploaderUrl, true +} + +// HasUploaderUrl returns a boolean if a field has been set. +func (o *HelmPackageUploadResponse) HasUploaderUrl() bool { + if o != nil && !isNil(o.UploaderUrl) { + return true + } + + return false +} + +// SetUploaderUrl gets a reference to the given string and assigns it to the UploaderUrl field. +func (o *HelmPackageUploadResponse) SetUploaderUrl(v string) { + o.UploaderUrl = &v +} + +// GetVersion returns the Version field value if set, zero value otherwise. +func (o *HelmPackageUploadResponse) GetVersion() string { + if o == nil || isNil(o.Version) { + var ret string + return ret + } + return *o.Version +} + +// GetVersionOk returns a tuple with the Version field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *HelmPackageUploadResponse) GetVersionOk() (*string, bool) { + if o == nil || isNil(o.Version) { + return nil, false + } + return o.Version, true +} + +// HasVersion returns a boolean if a field has been set. +func (o *HelmPackageUploadResponse) HasVersion() bool { + if o != nil && !isNil(o.Version) { + return true + } + + return false +} + +// SetVersion gets a reference to the given string and assigns it to the Version field. +func (o *HelmPackageUploadResponse) SetVersion(v string) { + o.Version = &v +} + +// GetVersionOrig returns the VersionOrig field value if set, zero value otherwise. +func (o *HelmPackageUploadResponse) GetVersionOrig() string { + if o == nil || isNil(o.VersionOrig) { + var ret string + return ret + } + return *o.VersionOrig +} + +// GetVersionOrigOk returns a tuple with the VersionOrig field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *HelmPackageUploadResponse) GetVersionOrigOk() (*string, bool) { + if o == nil || isNil(o.VersionOrig) { + return nil, false + } + return o.VersionOrig, true +} + +// HasVersionOrig returns a boolean if a field has been set. +func (o *HelmPackageUploadResponse) HasVersionOrig() bool { + if o != nil && !isNil(o.VersionOrig) { + return true + } + + return false +} + +// SetVersionOrig gets a reference to the given string and assigns it to the VersionOrig field. +func (o *HelmPackageUploadResponse) SetVersionOrig(v string) { + o.VersionOrig = &v +} + +// GetVulnerabilityScanResultsUrl returns the VulnerabilityScanResultsUrl field value if set, zero value otherwise. +func (o *HelmPackageUploadResponse) GetVulnerabilityScanResultsUrl() string { + if o == nil || isNil(o.VulnerabilityScanResultsUrl) { + var ret string + return ret + } + return *o.VulnerabilityScanResultsUrl +} + +// GetVulnerabilityScanResultsUrlOk returns a tuple with the VulnerabilityScanResultsUrl field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *HelmPackageUploadResponse) GetVulnerabilityScanResultsUrlOk() (*string, bool) { + if o == nil || isNil(o.VulnerabilityScanResultsUrl) { + return nil, false + } + return o.VulnerabilityScanResultsUrl, true +} + +// HasVulnerabilityScanResultsUrl returns a boolean if a field has been set. +func (o *HelmPackageUploadResponse) HasVulnerabilityScanResultsUrl() bool { + if o != nil && !isNil(o.VulnerabilityScanResultsUrl) { + return true + } + + return false +} + +// SetVulnerabilityScanResultsUrl gets a reference to the given string and assigns it to the VulnerabilityScanResultsUrl field. +func (o *HelmPackageUploadResponse) SetVulnerabilityScanResultsUrl(v string) { + o.VulnerabilityScanResultsUrl = &v +} + +func (o HelmPackageUploadResponse) MarshalJSON() ([]byte, error) { + toSerialize := map[string]interface{}{} + if !isNil(o.Architectures) { + toSerialize["architectures"] = o.Architectures + } + if o.CdnUrl.IsSet() { + toSerialize["cdn_url"] = o.CdnUrl.Get() + } + if !isNil(o.ChecksumMd5) { + toSerialize["checksum_md5"] = o.ChecksumMd5 + } + if !isNil(o.ChecksumSha1) { + toSerialize["checksum_sha1"] = o.ChecksumSha1 + } + if !isNil(o.ChecksumSha256) { + toSerialize["checksum_sha256"] = o.ChecksumSha256 + } + if !isNil(o.ChecksumSha512) { + toSerialize["checksum_sha512"] = o.ChecksumSha512 + } + if !isNil(o.DependenciesChecksumMd5) { + toSerialize["dependencies_checksum_md5"] = o.DependenciesChecksumMd5 + } + if !isNil(o.DependenciesUrl) { + toSerialize["dependencies_url"] = o.DependenciesUrl + } + if !isNil(o.Description) { + toSerialize["description"] = o.Description + } + if o.Distro.IsSet() { + toSerialize["distro"] = o.Distro.Get() + } + if !isNil(o.DistroVersion) { + toSerialize["distro_version"] = o.DistroVersion + } + if !isNil(o.Downloads) { + toSerialize["downloads"] = o.Downloads + } + if !isNil(o.Epoch) { + toSerialize["epoch"] = o.Epoch + } + if !isNil(o.Extension) { + toSerialize["extension"] = o.Extension + } + if !isNil(o.Filename) { + toSerialize["filename"] = o.Filename + } + if !isNil(o.Files) { + toSerialize["files"] = o.Files + } + if !isNil(o.Format) { + toSerialize["format"] = o.Format + } + if !isNil(o.FormatUrl) { + toSerialize["format_url"] = o.FormatUrl + } + if !isNil(o.IdentifierPerm) { + toSerialize["identifier_perm"] = o.IdentifierPerm + } + if !isNil(o.Indexed) { + toSerialize["indexed"] = o.Indexed + } + if !isNil(o.IsDownloadable) { + toSerialize["is_downloadable"] = o.IsDownloadable + } + if !isNil(o.IsQuarantined) { + toSerialize["is_quarantined"] = o.IsQuarantined + } + if !isNil(o.IsSyncAwaiting) { + toSerialize["is_sync_awaiting"] = o.IsSyncAwaiting + } + if !isNil(o.IsSyncCompleted) { + toSerialize["is_sync_completed"] = o.IsSyncCompleted + } + if !isNil(o.IsSyncFailed) { + toSerialize["is_sync_failed"] = o.IsSyncFailed + } + if !isNil(o.IsSyncInFlight) { + toSerialize["is_sync_in_flight"] = o.IsSyncInFlight + } + if !isNil(o.IsSyncInProgress) { + toSerialize["is_sync_in_progress"] = o.IsSyncInProgress + } + if !isNil(o.License) { + toSerialize["license"] = o.License + } + if !isNil(o.Name) { + toSerialize["name"] = o.Name + } + if !isNil(o.Namespace) { + toSerialize["namespace"] = o.Namespace + } + if !isNil(o.NamespaceUrl) { + toSerialize["namespace_url"] = o.NamespaceUrl + } + if !isNil(o.NumFiles) { + toSerialize["num_files"] = o.NumFiles + } + if !isNil(o.OriginRepository) { + toSerialize["origin_repository"] = o.OriginRepository + } + if !isNil(o.OriginRepositoryUrl) { + toSerialize["origin_repository_url"] = o.OriginRepositoryUrl + } + if !isNil(o.PackageType) { + toSerialize["package_type"] = o.PackageType + } + if !isNil(o.Release) { + toSerialize["release"] = o.Release + } + if !isNil(o.Repository) { + toSerialize["repository"] = o.Repository + } + if !isNil(o.RepositoryUrl) { + toSerialize["repository_url"] = o.RepositoryUrl + } + if !isNil(o.SecurityScanCompletedAt) { + toSerialize["security_scan_completed_at"] = o.SecurityScanCompletedAt + } + if !isNil(o.SecurityScanStartedAt) { + toSerialize["security_scan_started_at"] = o.SecurityScanStartedAt + } + if o.SecurityScanStatus.IsSet() { + toSerialize["security_scan_status"] = o.SecurityScanStatus.Get() + } + if !isNil(o.SecurityScanStatusUpdatedAt) { + toSerialize["security_scan_status_updated_at"] = o.SecurityScanStatusUpdatedAt + } + if !isNil(o.SelfHtmlUrl) { + toSerialize["self_html_url"] = o.SelfHtmlUrl + } + if !isNil(o.SelfUrl) { + toSerialize["self_url"] = o.SelfUrl + } + if o.SignatureUrl.IsSet() { + toSerialize["signature_url"] = o.SignatureUrl.Get() + } + if !isNil(o.Size) { + toSerialize["size"] = o.Size + } + if !isNil(o.Slug) { + toSerialize["slug"] = o.Slug + } + if !isNil(o.SlugPerm) { + toSerialize["slug_perm"] = o.SlugPerm + } + if !isNil(o.Stage) { + toSerialize["stage"] = o.Stage + } + if !isNil(o.StageStr) { + toSerialize["stage_str"] = o.StageStr + } + if !isNil(o.StageUpdatedAt) { + toSerialize["stage_updated_at"] = o.StageUpdatedAt + } + if !isNil(o.Status) { + toSerialize["status"] = o.Status + } + if !isNil(o.StatusReason) { + toSerialize["status_reason"] = o.StatusReason + } + if !isNil(o.StatusStr) { + toSerialize["status_str"] = o.StatusStr + } + if !isNil(o.StatusUpdatedAt) { + toSerialize["status_updated_at"] = o.StatusUpdatedAt + } + if !isNil(o.StatusUrl) { + toSerialize["status_url"] = o.StatusUrl + } + if !isNil(o.Subtype) { + toSerialize["subtype"] = o.Subtype + } + if !isNil(o.Summary) { + toSerialize["summary"] = o.Summary + } + if !isNil(o.SyncFinishedAt) { + toSerialize["sync_finished_at"] = o.SyncFinishedAt + } + if !isNil(o.SyncProgress) { + toSerialize["sync_progress"] = o.SyncProgress + } + if !isNil(o.TagsImmutable) { + toSerialize["tags_immutable"] = o.TagsImmutable + } + if !isNil(o.TypeDisplay) { + toSerialize["type_display"] = o.TypeDisplay + } + if !isNil(o.UploadedAt) { + toSerialize["uploaded_at"] = o.UploadedAt + } + if !isNil(o.Uploader) { + toSerialize["uploader"] = o.Uploader + } + if !isNil(o.UploaderUrl) { + toSerialize["uploader_url"] = o.UploaderUrl + } + if !isNil(o.Version) { + toSerialize["version"] = o.Version + } + if !isNil(o.VersionOrig) { + toSerialize["version_orig"] = o.VersionOrig + } + if !isNil(o.VulnerabilityScanResultsUrl) { + toSerialize["vulnerability_scan_results_url"] = o.VulnerabilityScanResultsUrl + } + return json.Marshal(toSerialize) +} + +type NullableHelmPackageUploadResponse struct { + value *HelmPackageUploadResponse + isSet bool +} + +func (v NullableHelmPackageUploadResponse) Get() *HelmPackageUploadResponse { + return v.value +} + +func (v *NullableHelmPackageUploadResponse) Set(val *HelmPackageUploadResponse) { + v.value = val + v.isSet = true +} + +func (v NullableHelmPackageUploadResponse) IsSet() bool { + return v.isSet +} + +func (v *NullableHelmPackageUploadResponse) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableHelmPackageUploadResponse(val *HelmPackageUploadResponse) *NullableHelmPackageUploadResponse { + return &NullableHelmPackageUploadResponse{value: val, isSet: true} +} + +func (v NullableHelmPackageUploadResponse) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableHelmPackageUploadResponse) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} diff --git a/model_history.go b/model_history.go new file mode 100644 index 00000000..4a7eb83d --- /dev/null +++ b/model_history.go @@ -0,0 +1,260 @@ +/* +Cloudsmith API (v1) + +The API to the Cloudsmith Service + +API version: 1.181.6 +Contact: support@cloudsmith.io +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cloudsmith + +import ( + "encoding/json" + "time" +) + +// History struct for History +type History struct { + Days *int64 `json:"days,omitempty"` + Display HistoryFieldset `json:"display"` + End time.Time `json:"end"` + Plan string `json:"plan"` + Raw HistoryFieldset `json:"raw"` + Start time.Time `json:"start"` +} + +// NewHistory instantiates a new History object +// 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 NewHistory(display HistoryFieldset, end time.Time, plan string, raw HistoryFieldset, start time.Time) *History { + this := History{} + this.Display = display + this.End = end + this.Plan = plan + this.Raw = raw + this.Start = start + return &this +} + +// NewHistoryWithDefaults instantiates a new History object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewHistoryWithDefaults() *History { + this := History{} + return &this +} + +// GetDays returns the Days field value if set, zero value otherwise. +func (o *History) GetDays() int64 { + if o == nil || isNil(o.Days) { + var ret int64 + return ret + } + return *o.Days +} + +// GetDaysOk returns a tuple with the Days field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *History) GetDaysOk() (*int64, bool) { + if o == nil || isNil(o.Days) { + return nil, false + } + return o.Days, true +} + +// HasDays returns a boolean if a field has been set. +func (o *History) HasDays() bool { + if o != nil && !isNil(o.Days) { + return true + } + + return false +} + +// SetDays gets a reference to the given int64 and assigns it to the Days field. +func (o *History) SetDays(v int64) { + o.Days = &v +} + +// GetDisplay returns the Display field value +func (o *History) GetDisplay() HistoryFieldset { + if o == nil { + var ret HistoryFieldset + return ret + } + + return o.Display +} + +// GetDisplayOk returns a tuple with the Display field value +// and a boolean to check if the value has been set. +func (o *History) GetDisplayOk() (*HistoryFieldset, bool) { + if o == nil { + return nil, false + } + return &o.Display, true +} + +// SetDisplay sets field value +func (o *History) SetDisplay(v HistoryFieldset) { + o.Display = v +} + +// GetEnd returns the End field value +func (o *History) GetEnd() time.Time { + if o == nil { + var ret time.Time + return ret + } + + return o.End +} + +// GetEndOk returns a tuple with the End field value +// and a boolean to check if the value has been set. +func (o *History) GetEndOk() (*time.Time, bool) { + if o == nil { + return nil, false + } + return &o.End, true +} + +// SetEnd sets field value +func (o *History) SetEnd(v time.Time) { + o.End = v +} + +// GetPlan returns the Plan field value +func (o *History) GetPlan() string { + if o == nil { + var ret string + return ret + } + + return o.Plan +} + +// GetPlanOk returns a tuple with the Plan field value +// and a boolean to check if the value has been set. +func (o *History) GetPlanOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Plan, true +} + +// SetPlan sets field value +func (o *History) SetPlan(v string) { + o.Plan = v +} + +// GetRaw returns the Raw field value +func (o *History) GetRaw() HistoryFieldset { + if o == nil { + var ret HistoryFieldset + return ret + } + + return o.Raw +} + +// GetRawOk returns a tuple with the Raw field value +// and a boolean to check if the value has been set. +func (o *History) GetRawOk() (*HistoryFieldset, bool) { + if o == nil { + return nil, false + } + return &o.Raw, true +} + +// SetRaw sets field value +func (o *History) SetRaw(v HistoryFieldset) { + o.Raw = v +} + +// GetStart returns the Start field value +func (o *History) GetStart() time.Time { + if o == nil { + var ret time.Time + return ret + } + + return o.Start +} + +// GetStartOk returns a tuple with the Start field value +// and a boolean to check if the value has been set. +func (o *History) GetStartOk() (*time.Time, bool) { + if o == nil { + return nil, false + } + return &o.Start, true +} + +// SetStart sets field value +func (o *History) SetStart(v time.Time) { + o.Start = v +} + +func (o History) MarshalJSON() ([]byte, error) { + toSerialize := map[string]interface{}{} + if !isNil(o.Days) { + toSerialize["days"] = o.Days + } + if true { + toSerialize["display"] = o.Display + } + if true { + toSerialize["end"] = o.End + } + if true { + toSerialize["plan"] = o.Plan + } + if true { + toSerialize["raw"] = o.Raw + } + if true { + toSerialize["start"] = o.Start + } + return json.Marshal(toSerialize) +} + +type NullableHistory struct { + value *History + isSet bool +} + +func (v NullableHistory) Get() *History { + return v.value +} + +func (v *NullableHistory) Set(val *History) { + v.value = val + v.isSet = true +} + +func (v NullableHistory) IsSet() bool { + return v.isSet +} + +func (v *NullableHistory) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableHistory(val *History) *NullableHistory { + return &NullableHistory{value: val, isSet: true} +} + +func (v NullableHistory) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableHistory) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} diff --git a/model_history_fieldset.go b/model_history_fieldset.go new file mode 100644 index 00000000..84027ce6 --- /dev/null +++ b/model_history_fieldset.go @@ -0,0 +1,165 @@ +/* +Cloudsmith API (v1) + +The API to the Cloudsmith Service + +API version: 1.181.6 +Contact: support@cloudsmith.io +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cloudsmith + +import ( + "encoding/json" +) + +// HistoryFieldset struct for HistoryFieldset +type HistoryFieldset struct { + Downloaded Usage `json:"downloaded"` + StorageUsed Usage `json:"storage_used"` + Uploaded Usage `json:"uploaded"` +} + +// NewHistoryFieldset instantiates a new HistoryFieldset object +// 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 NewHistoryFieldset(downloaded Usage, storageUsed Usage, uploaded Usage) *HistoryFieldset { + this := HistoryFieldset{} + this.Downloaded = downloaded + this.StorageUsed = storageUsed + this.Uploaded = uploaded + return &this +} + +// NewHistoryFieldsetWithDefaults instantiates a new HistoryFieldset object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewHistoryFieldsetWithDefaults() *HistoryFieldset { + this := HistoryFieldset{} + return &this +} + +// GetDownloaded returns the Downloaded field value +func (o *HistoryFieldset) GetDownloaded() Usage { + if o == nil { + var ret Usage + return ret + } + + return o.Downloaded +} + +// GetDownloadedOk returns a tuple with the Downloaded field value +// and a boolean to check if the value has been set. +func (o *HistoryFieldset) GetDownloadedOk() (*Usage, bool) { + if o == nil { + return nil, false + } + return &o.Downloaded, true +} + +// SetDownloaded sets field value +func (o *HistoryFieldset) SetDownloaded(v Usage) { + o.Downloaded = v +} + +// GetStorageUsed returns the StorageUsed field value +func (o *HistoryFieldset) GetStorageUsed() Usage { + if o == nil { + var ret Usage + return ret + } + + return o.StorageUsed +} + +// GetStorageUsedOk returns a tuple with the StorageUsed field value +// and a boolean to check if the value has been set. +func (o *HistoryFieldset) GetStorageUsedOk() (*Usage, bool) { + if o == nil { + return nil, false + } + return &o.StorageUsed, true +} + +// SetStorageUsed sets field value +func (o *HistoryFieldset) SetStorageUsed(v Usage) { + o.StorageUsed = v +} + +// GetUploaded returns the Uploaded field value +func (o *HistoryFieldset) GetUploaded() Usage { + if o == nil { + var ret Usage + return ret + } + + return o.Uploaded +} + +// GetUploadedOk returns a tuple with the Uploaded field value +// and a boolean to check if the value has been set. +func (o *HistoryFieldset) GetUploadedOk() (*Usage, bool) { + if o == nil { + return nil, false + } + return &o.Uploaded, true +} + +// SetUploaded sets field value +func (o *HistoryFieldset) SetUploaded(v Usage) { + o.Uploaded = v +} + +func (o HistoryFieldset) MarshalJSON() ([]byte, error) { + toSerialize := map[string]interface{}{} + if true { + toSerialize["downloaded"] = o.Downloaded + } + if true { + toSerialize["storage_used"] = o.StorageUsed + } + if true { + toSerialize["uploaded"] = o.Uploaded + } + return json.Marshal(toSerialize) +} + +type NullableHistoryFieldset struct { + value *HistoryFieldset + isSet bool +} + +func (v NullableHistoryFieldset) Get() *HistoryFieldset { + return v.value +} + +func (v *NullableHistoryFieldset) Set(val *HistoryFieldset) { + v.value = val + v.isSet = true +} + +func (v NullableHistoryFieldset) IsSet() bool { + return v.isSet +} + +func (v *NullableHistoryFieldset) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableHistoryFieldset(val *HistoryFieldset) *NullableHistoryFieldset { + return &NullableHistoryFieldset{value: val, isSet: true} +} + +func (v NullableHistoryFieldset) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableHistoryFieldset) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} diff --git a/model_luarocks_package_upload_request.go b/model_luarocks_package_upload_request.go new file mode 100644 index 00000000..80025e9c --- /dev/null +++ b/model_luarocks_package_upload_request.go @@ -0,0 +1,193 @@ +/* +Cloudsmith API (v1) + +The API to the Cloudsmith Service + +API version: 1.181.6 +Contact: support@cloudsmith.io +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cloudsmith + +import ( + "encoding/json" +) + +// LuarocksPackageUploadRequest struct for LuarocksPackageUploadRequest +type LuarocksPackageUploadRequest struct { + // The primary file for the package. + PackageFile string `json:"package_file"` + // If true, the uploaded package will overwrite any others with the same attributes (e.g. same version); otherwise, it will be flagged as a duplicate. + Republish *bool `json:"republish,omitempty"` + // A comma-separated values list of tags to add to the package. + Tags NullableString `json:"tags,omitempty"` +} + +// NewLuarocksPackageUploadRequest instantiates a new LuarocksPackageUploadRequest object +// 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 NewLuarocksPackageUploadRequest(packageFile string) *LuarocksPackageUploadRequest { + this := LuarocksPackageUploadRequest{} + this.PackageFile = packageFile + return &this +} + +// NewLuarocksPackageUploadRequestWithDefaults instantiates a new LuarocksPackageUploadRequest object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewLuarocksPackageUploadRequestWithDefaults() *LuarocksPackageUploadRequest { + this := LuarocksPackageUploadRequest{} + return &this +} + +// GetPackageFile returns the PackageFile field value +func (o *LuarocksPackageUploadRequest) GetPackageFile() string { + if o == nil { + var ret string + return ret + } + + return o.PackageFile +} + +// GetPackageFileOk returns a tuple with the PackageFile field value +// and a boolean to check if the value has been set. +func (o *LuarocksPackageUploadRequest) GetPackageFileOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.PackageFile, true +} + +// SetPackageFile sets field value +func (o *LuarocksPackageUploadRequest) SetPackageFile(v string) { + o.PackageFile = v +} + +// GetRepublish returns the Republish field value if set, zero value otherwise. +func (o *LuarocksPackageUploadRequest) GetRepublish() bool { + if o == nil || isNil(o.Republish) { + var ret bool + return ret + } + return *o.Republish +} + +// GetRepublishOk returns a tuple with the Republish field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *LuarocksPackageUploadRequest) GetRepublishOk() (*bool, bool) { + if o == nil || isNil(o.Republish) { + return nil, false + } + return o.Republish, true +} + +// HasRepublish returns a boolean if a field has been set. +func (o *LuarocksPackageUploadRequest) HasRepublish() bool { + if o != nil && !isNil(o.Republish) { + return true + } + + return false +} + +// SetRepublish gets a reference to the given bool and assigns it to the Republish field. +func (o *LuarocksPackageUploadRequest) SetRepublish(v bool) { + o.Republish = &v +} + +// GetTags returns the Tags field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *LuarocksPackageUploadRequest) GetTags() string { + if o == nil || isNil(o.Tags.Get()) { + var ret string + return ret + } + return *o.Tags.Get() +} + +// GetTagsOk returns a tuple with the Tags 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 *LuarocksPackageUploadRequest) GetTagsOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.Tags.Get(), o.Tags.IsSet() +} + +// HasTags returns a boolean if a field has been set. +func (o *LuarocksPackageUploadRequest) HasTags() bool { + if o != nil && o.Tags.IsSet() { + return true + } + + return false +} + +// SetTags gets a reference to the given NullableString and assigns it to the Tags field. +func (o *LuarocksPackageUploadRequest) SetTags(v string) { + o.Tags.Set(&v) +} + +// SetTagsNil sets the value for Tags to be an explicit nil +func (o *LuarocksPackageUploadRequest) SetTagsNil() { + o.Tags.Set(nil) +} + +// UnsetTags ensures that no value is present for Tags, not even an explicit nil +func (o *LuarocksPackageUploadRequest) UnsetTags() { + o.Tags.Unset() +} + +func (o LuarocksPackageUploadRequest) MarshalJSON() ([]byte, error) { + toSerialize := map[string]interface{}{} + if true { + toSerialize["package_file"] = o.PackageFile + } + if !isNil(o.Republish) { + toSerialize["republish"] = o.Republish + } + if o.Tags.IsSet() { + toSerialize["tags"] = o.Tags.Get() + } + return json.Marshal(toSerialize) +} + +type NullableLuarocksPackageUploadRequest struct { + value *LuarocksPackageUploadRequest + isSet bool +} + +func (v NullableLuarocksPackageUploadRequest) Get() *LuarocksPackageUploadRequest { + return v.value +} + +func (v *NullableLuarocksPackageUploadRequest) Set(val *LuarocksPackageUploadRequest) { + v.value = val + v.isSet = true +} + +func (v NullableLuarocksPackageUploadRequest) IsSet() bool { + return v.isSet +} + +func (v *NullableLuarocksPackageUploadRequest) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableLuarocksPackageUploadRequest(val *LuarocksPackageUploadRequest) *NullableLuarocksPackageUploadRequest { + return &NullableLuarocksPackageUploadRequest{value: val, isSet: true} +} + +func (v NullableLuarocksPackageUploadRequest) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableLuarocksPackageUploadRequest) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} diff --git a/model_luarocks_package_upload_response.go b/model_luarocks_package_upload_response.go new file mode 100644 index 00000000..ce9469b5 --- /dev/null +++ b/model_luarocks_package_upload_response.go @@ -0,0 +1,2595 @@ +/* +Cloudsmith API (v1) + +The API to the Cloudsmith Service + +API version: 1.181.6 +Contact: support@cloudsmith.io +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cloudsmith + +import ( + "encoding/json" + "time" +) + +// LuarocksPackageUploadResponse struct for LuarocksPackageUploadResponse +type LuarocksPackageUploadResponse struct { + Architectures []Architecture `json:"architectures,omitempty"` + CdnUrl NullableString `json:"cdn_url,omitempty"` + ChecksumMd5 *string `json:"checksum_md5,omitempty"` + ChecksumSha1 *string `json:"checksum_sha1,omitempty"` + ChecksumSha256 *string `json:"checksum_sha256,omitempty"` + ChecksumSha512 *string `json:"checksum_sha512,omitempty"` + // A checksum of all of the package's dependencies. + DependenciesChecksumMd5 *string `json:"dependencies_checksum_md5,omitempty"` + DependenciesUrl *string `json:"dependencies_url,omitempty"` + // A textual description of this package. + Description *string `json:"description,omitempty"` + Distro NullableDistribution `json:"distro,omitempty"` + DistroVersion *DistributionVersion `json:"distro_version,omitempty"` + Downloads *int64 `json:"downloads,omitempty"` + // The epoch of the package version (if any). + Epoch *int64 `json:"epoch,omitempty"` + Extension *string `json:"extension,omitempty"` + Filename *string `json:"filename,omitempty"` + Files []PackageFile `json:"files,omitempty"` + Format *string `json:"format,omitempty"` + FormatUrl *string `json:"format_url,omitempty"` + // Unique and permanent identifier for the package. + IdentifierPerm *string `json:"identifier_perm,omitempty"` + Indexed *bool `json:"indexed,omitempty"` + IsDownloadable *bool `json:"is_downloadable,omitempty"` + IsQuarantined *bool `json:"is_quarantined,omitempty"` + IsSyncAwaiting *bool `json:"is_sync_awaiting,omitempty"` + IsSyncCompleted *bool `json:"is_sync_completed,omitempty"` + IsSyncFailed *bool `json:"is_sync_failed,omitempty"` + IsSyncInFlight *bool `json:"is_sync_in_flight,omitempty"` + IsSyncInProgress *bool `json:"is_sync_in_progress,omitempty"` + // The license of this package. + License *string `json:"license,omitempty"` + // The name of this package. + Name *string `json:"name,omitempty"` + Namespace *string `json:"namespace,omitempty"` + NamespaceUrl *string `json:"namespace_url,omitempty"` + NumFiles *int64 `json:"num_files,omitempty"` + OriginRepository *string `json:"origin_repository,omitempty"` + OriginRepositoryUrl *string `json:"origin_repository_url,omitempty"` + // The type of package contents. + PackageType *int64 `json:"package_type,omitempty"` + // The release of the package version (if any). + Release *string `json:"release,omitempty"` + Repository *string `json:"repository,omitempty"` + RepositoryUrl *string `json:"repository_url,omitempty"` + // The datetime the security scanning was completed. + SecurityScanCompletedAt *time.Time `json:"security_scan_completed_at,omitempty"` + // The datetime the security scanning was started. + SecurityScanStartedAt *time.Time `json:"security_scan_started_at,omitempty"` + SecurityScanStatus NullableString `json:"security_scan_status,omitempty"` + // The datetime the security scanning status was updated. + SecurityScanStatusUpdatedAt *time.Time `json:"security_scan_status_updated_at,omitempty"` + SelfHtmlUrl *string `json:"self_html_url,omitempty"` + SelfUrl *string `json:"self_url,omitempty"` + SignatureUrl NullableString `json:"signature_url,omitempty"` + // The calculated size of the package. + Size *int64 `json:"size,omitempty"` + // The public unique identifier for the package. + Slug *string `json:"slug,omitempty"` + SlugPerm *string `json:"slug_perm,omitempty"` + // The synchronisation (in progress) stage of the package. + Stage *int64 `json:"stage,omitempty"` + StageStr *string `json:"stage_str,omitempty"` + // The datetime the package stage was updated at. + StageUpdatedAt *time.Time `json:"stage_updated_at,omitempty"` + // The synchronisation status of the package. + Status *int64 `json:"status,omitempty"` + // A textual description for the synchronous status reason (if any + StatusReason *string `json:"status_reason,omitempty"` + StatusStr *string `json:"status_str,omitempty"` + // The datetime the package status was updated at. + StatusUpdatedAt *time.Time `json:"status_updated_at,omitempty"` + StatusUrl *string `json:"status_url,omitempty"` + Subtype *string `json:"subtype,omitempty"` + // A one-liner synopsis of this package. + Summary *string `json:"summary,omitempty"` + // The datetime the package sync was finished at. + SyncFinishedAt *time.Time `json:"sync_finished_at,omitempty"` + // Synchronisation progress (from 0-100) + SyncProgress *int64 `json:"sync_progress,omitempty"` + // All tags on the package, grouped by tag type. This includes immutable tags, but doesn't distinguish them from mutable. To see which tags are immutable specifically, see the tags_immutable field. + TagsImmutable map[string]interface{} `json:"tags_immutable,omitempty"` + TypeDisplay *string `json:"type_display,omitempty"` + // The date this package was uploaded. + UploadedAt *time.Time `json:"uploaded_at,omitempty"` + Uploader *string `json:"uploader,omitempty"` + UploaderUrl *string `json:"uploader_url,omitempty"` + // The raw version for this package. + Version *string `json:"version,omitempty"` + VersionOrig *string `json:"version_orig,omitempty"` + VulnerabilityScanResultsUrl *string `json:"vulnerability_scan_results_url,omitempty"` +} + +// NewLuarocksPackageUploadResponse instantiates a new LuarocksPackageUploadResponse object +// 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 NewLuarocksPackageUploadResponse() *LuarocksPackageUploadResponse { + this := LuarocksPackageUploadResponse{} + return &this +} + +// NewLuarocksPackageUploadResponseWithDefaults instantiates a new LuarocksPackageUploadResponse object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewLuarocksPackageUploadResponseWithDefaults() *LuarocksPackageUploadResponse { + this := LuarocksPackageUploadResponse{} + return &this +} + +// GetArchitectures returns the Architectures field value if set, zero value otherwise. +func (o *LuarocksPackageUploadResponse) GetArchitectures() []Architecture { + if o == nil || isNil(o.Architectures) { + var ret []Architecture + return ret + } + return o.Architectures +} + +// GetArchitecturesOk returns a tuple with the Architectures field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *LuarocksPackageUploadResponse) GetArchitecturesOk() ([]Architecture, bool) { + if o == nil || isNil(o.Architectures) { + return nil, false + } + return o.Architectures, true +} + +// HasArchitectures returns a boolean if a field has been set. +func (o *LuarocksPackageUploadResponse) HasArchitectures() bool { + if o != nil && !isNil(o.Architectures) { + return true + } + + return false +} + +// SetArchitectures gets a reference to the given []Architecture and assigns it to the Architectures field. +func (o *LuarocksPackageUploadResponse) SetArchitectures(v []Architecture) { + o.Architectures = v +} + +// GetCdnUrl returns the CdnUrl field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *LuarocksPackageUploadResponse) GetCdnUrl() string { + if o == nil || isNil(o.CdnUrl.Get()) { + var ret string + return ret + } + return *o.CdnUrl.Get() +} + +// GetCdnUrlOk returns a tuple with the CdnUrl 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 *LuarocksPackageUploadResponse) GetCdnUrlOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.CdnUrl.Get(), o.CdnUrl.IsSet() +} + +// HasCdnUrl returns a boolean if a field has been set. +func (o *LuarocksPackageUploadResponse) HasCdnUrl() bool { + if o != nil && o.CdnUrl.IsSet() { + return true + } + + return false +} + +// SetCdnUrl gets a reference to the given NullableString and assigns it to the CdnUrl field. +func (o *LuarocksPackageUploadResponse) SetCdnUrl(v string) { + o.CdnUrl.Set(&v) +} + +// SetCdnUrlNil sets the value for CdnUrl to be an explicit nil +func (o *LuarocksPackageUploadResponse) SetCdnUrlNil() { + o.CdnUrl.Set(nil) +} + +// UnsetCdnUrl ensures that no value is present for CdnUrl, not even an explicit nil +func (o *LuarocksPackageUploadResponse) UnsetCdnUrl() { + o.CdnUrl.Unset() +} + +// GetChecksumMd5 returns the ChecksumMd5 field value if set, zero value otherwise. +func (o *LuarocksPackageUploadResponse) GetChecksumMd5() string { + if o == nil || isNil(o.ChecksumMd5) { + var ret string + return ret + } + return *o.ChecksumMd5 +} + +// GetChecksumMd5Ok returns a tuple with the ChecksumMd5 field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *LuarocksPackageUploadResponse) GetChecksumMd5Ok() (*string, bool) { + if o == nil || isNil(o.ChecksumMd5) { + return nil, false + } + return o.ChecksumMd5, true +} + +// HasChecksumMd5 returns a boolean if a field has been set. +func (o *LuarocksPackageUploadResponse) HasChecksumMd5() bool { + if o != nil && !isNil(o.ChecksumMd5) { + return true + } + + return false +} + +// SetChecksumMd5 gets a reference to the given string and assigns it to the ChecksumMd5 field. +func (o *LuarocksPackageUploadResponse) SetChecksumMd5(v string) { + o.ChecksumMd5 = &v +} + +// GetChecksumSha1 returns the ChecksumSha1 field value if set, zero value otherwise. +func (o *LuarocksPackageUploadResponse) GetChecksumSha1() string { + if o == nil || isNil(o.ChecksumSha1) { + var ret string + return ret + } + return *o.ChecksumSha1 +} + +// GetChecksumSha1Ok returns a tuple with the ChecksumSha1 field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *LuarocksPackageUploadResponse) GetChecksumSha1Ok() (*string, bool) { + if o == nil || isNil(o.ChecksumSha1) { + return nil, false + } + return o.ChecksumSha1, true +} + +// HasChecksumSha1 returns a boolean if a field has been set. +func (o *LuarocksPackageUploadResponse) HasChecksumSha1() bool { + if o != nil && !isNil(o.ChecksumSha1) { + return true + } + + return false +} + +// SetChecksumSha1 gets a reference to the given string and assigns it to the ChecksumSha1 field. +func (o *LuarocksPackageUploadResponse) SetChecksumSha1(v string) { + o.ChecksumSha1 = &v +} + +// GetChecksumSha256 returns the ChecksumSha256 field value if set, zero value otherwise. +func (o *LuarocksPackageUploadResponse) GetChecksumSha256() string { + if o == nil || isNil(o.ChecksumSha256) { + var ret string + return ret + } + return *o.ChecksumSha256 +} + +// GetChecksumSha256Ok returns a tuple with the ChecksumSha256 field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *LuarocksPackageUploadResponse) GetChecksumSha256Ok() (*string, bool) { + if o == nil || isNil(o.ChecksumSha256) { + return nil, false + } + return o.ChecksumSha256, true +} + +// HasChecksumSha256 returns a boolean if a field has been set. +func (o *LuarocksPackageUploadResponse) HasChecksumSha256() bool { + if o != nil && !isNil(o.ChecksumSha256) { + return true + } + + return false +} + +// SetChecksumSha256 gets a reference to the given string and assigns it to the ChecksumSha256 field. +func (o *LuarocksPackageUploadResponse) SetChecksumSha256(v string) { + o.ChecksumSha256 = &v +} + +// GetChecksumSha512 returns the ChecksumSha512 field value if set, zero value otherwise. +func (o *LuarocksPackageUploadResponse) GetChecksumSha512() string { + if o == nil || isNil(o.ChecksumSha512) { + var ret string + return ret + } + return *o.ChecksumSha512 +} + +// GetChecksumSha512Ok returns a tuple with the ChecksumSha512 field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *LuarocksPackageUploadResponse) GetChecksumSha512Ok() (*string, bool) { + if o == nil || isNil(o.ChecksumSha512) { + return nil, false + } + return o.ChecksumSha512, true +} + +// HasChecksumSha512 returns a boolean if a field has been set. +func (o *LuarocksPackageUploadResponse) HasChecksumSha512() bool { + if o != nil && !isNil(o.ChecksumSha512) { + return true + } + + return false +} + +// SetChecksumSha512 gets a reference to the given string and assigns it to the ChecksumSha512 field. +func (o *LuarocksPackageUploadResponse) SetChecksumSha512(v string) { + o.ChecksumSha512 = &v +} + +// GetDependenciesChecksumMd5 returns the DependenciesChecksumMd5 field value if set, zero value otherwise. +func (o *LuarocksPackageUploadResponse) GetDependenciesChecksumMd5() string { + if o == nil || isNil(o.DependenciesChecksumMd5) { + var ret string + return ret + } + return *o.DependenciesChecksumMd5 +} + +// GetDependenciesChecksumMd5Ok returns a tuple with the DependenciesChecksumMd5 field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *LuarocksPackageUploadResponse) GetDependenciesChecksumMd5Ok() (*string, bool) { + if o == nil || isNil(o.DependenciesChecksumMd5) { + return nil, false + } + return o.DependenciesChecksumMd5, true +} + +// HasDependenciesChecksumMd5 returns a boolean if a field has been set. +func (o *LuarocksPackageUploadResponse) HasDependenciesChecksumMd5() bool { + if o != nil && !isNil(o.DependenciesChecksumMd5) { + return true + } + + return false +} + +// SetDependenciesChecksumMd5 gets a reference to the given string and assigns it to the DependenciesChecksumMd5 field. +func (o *LuarocksPackageUploadResponse) SetDependenciesChecksumMd5(v string) { + o.DependenciesChecksumMd5 = &v +} + +// GetDependenciesUrl returns the DependenciesUrl field value if set, zero value otherwise. +func (o *LuarocksPackageUploadResponse) GetDependenciesUrl() string { + if o == nil || isNil(o.DependenciesUrl) { + var ret string + return ret + } + return *o.DependenciesUrl +} + +// GetDependenciesUrlOk returns a tuple with the DependenciesUrl field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *LuarocksPackageUploadResponse) GetDependenciesUrlOk() (*string, bool) { + if o == nil || isNil(o.DependenciesUrl) { + return nil, false + } + return o.DependenciesUrl, true +} + +// HasDependenciesUrl returns a boolean if a field has been set. +func (o *LuarocksPackageUploadResponse) HasDependenciesUrl() bool { + if o != nil && !isNil(o.DependenciesUrl) { + return true + } + + return false +} + +// SetDependenciesUrl gets a reference to the given string and assigns it to the DependenciesUrl field. +func (o *LuarocksPackageUploadResponse) SetDependenciesUrl(v string) { + o.DependenciesUrl = &v +} + +// GetDescription returns the Description field value if set, zero value otherwise. +func (o *LuarocksPackageUploadResponse) GetDescription() string { + if o == nil || isNil(o.Description) { + var ret string + return ret + } + return *o.Description +} + +// GetDescriptionOk returns a tuple with the Description field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *LuarocksPackageUploadResponse) GetDescriptionOk() (*string, bool) { + if o == nil || isNil(o.Description) { + return nil, false + } + return o.Description, true +} + +// HasDescription returns a boolean if a field has been set. +func (o *LuarocksPackageUploadResponse) HasDescription() bool { + if o != nil && !isNil(o.Description) { + return true + } + + return false +} + +// SetDescription gets a reference to the given string and assigns it to the Description field. +func (o *LuarocksPackageUploadResponse) SetDescription(v string) { + o.Description = &v +} + +// GetDistro returns the Distro field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *LuarocksPackageUploadResponse) GetDistro() Distribution { + if o == nil || isNil(o.Distro.Get()) { + var ret Distribution + return ret + } + return *o.Distro.Get() +} + +// GetDistroOk returns a tuple with the Distro 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 *LuarocksPackageUploadResponse) GetDistroOk() (*Distribution, bool) { + if o == nil { + return nil, false + } + return o.Distro.Get(), o.Distro.IsSet() +} + +// HasDistro returns a boolean if a field has been set. +func (o *LuarocksPackageUploadResponse) HasDistro() bool { + if o != nil && o.Distro.IsSet() { + return true + } + + return false +} + +// SetDistro gets a reference to the given NullableDistribution and assigns it to the Distro field. +func (o *LuarocksPackageUploadResponse) SetDistro(v Distribution) { + o.Distro.Set(&v) +} + +// SetDistroNil sets the value for Distro to be an explicit nil +func (o *LuarocksPackageUploadResponse) SetDistroNil() { + o.Distro.Set(nil) +} + +// UnsetDistro ensures that no value is present for Distro, not even an explicit nil +func (o *LuarocksPackageUploadResponse) UnsetDistro() { + o.Distro.Unset() +} + +// GetDistroVersion returns the DistroVersion field value if set, zero value otherwise. +func (o *LuarocksPackageUploadResponse) GetDistroVersion() DistributionVersion { + if o == nil || isNil(o.DistroVersion) { + var ret DistributionVersion + return ret + } + return *o.DistroVersion +} + +// GetDistroVersionOk returns a tuple with the DistroVersion field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *LuarocksPackageUploadResponse) GetDistroVersionOk() (*DistributionVersion, bool) { + if o == nil || isNil(o.DistroVersion) { + return nil, false + } + return o.DistroVersion, true +} + +// HasDistroVersion returns a boolean if a field has been set. +func (o *LuarocksPackageUploadResponse) HasDistroVersion() bool { + if o != nil && !isNil(o.DistroVersion) { + return true + } + + return false +} + +// SetDistroVersion gets a reference to the given DistributionVersion and assigns it to the DistroVersion field. +func (o *LuarocksPackageUploadResponse) SetDistroVersion(v DistributionVersion) { + o.DistroVersion = &v +} + +// GetDownloads returns the Downloads field value if set, zero value otherwise. +func (o *LuarocksPackageUploadResponse) GetDownloads() int64 { + if o == nil || isNil(o.Downloads) { + var ret int64 + return ret + } + return *o.Downloads +} + +// GetDownloadsOk returns a tuple with the Downloads field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *LuarocksPackageUploadResponse) GetDownloadsOk() (*int64, bool) { + if o == nil || isNil(o.Downloads) { + return nil, false + } + return o.Downloads, true +} + +// HasDownloads returns a boolean if a field has been set. +func (o *LuarocksPackageUploadResponse) HasDownloads() bool { + if o != nil && !isNil(o.Downloads) { + return true + } + + return false +} + +// SetDownloads gets a reference to the given int64 and assigns it to the Downloads field. +func (o *LuarocksPackageUploadResponse) SetDownloads(v int64) { + o.Downloads = &v +} + +// GetEpoch returns the Epoch field value if set, zero value otherwise. +func (o *LuarocksPackageUploadResponse) GetEpoch() int64 { + if o == nil || isNil(o.Epoch) { + var ret int64 + return ret + } + return *o.Epoch +} + +// GetEpochOk returns a tuple with the Epoch field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *LuarocksPackageUploadResponse) GetEpochOk() (*int64, bool) { + if o == nil || isNil(o.Epoch) { + return nil, false + } + return o.Epoch, true +} + +// HasEpoch returns a boolean if a field has been set. +func (o *LuarocksPackageUploadResponse) HasEpoch() bool { + if o != nil && !isNil(o.Epoch) { + return true + } + + return false +} + +// SetEpoch gets a reference to the given int64 and assigns it to the Epoch field. +func (o *LuarocksPackageUploadResponse) SetEpoch(v int64) { + o.Epoch = &v +} + +// GetExtension returns the Extension field value if set, zero value otherwise. +func (o *LuarocksPackageUploadResponse) GetExtension() string { + if o == nil || isNil(o.Extension) { + var ret string + return ret + } + return *o.Extension +} + +// GetExtensionOk returns a tuple with the Extension field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *LuarocksPackageUploadResponse) GetExtensionOk() (*string, bool) { + if o == nil || isNil(o.Extension) { + return nil, false + } + return o.Extension, true +} + +// HasExtension returns a boolean if a field has been set. +func (o *LuarocksPackageUploadResponse) HasExtension() bool { + if o != nil && !isNil(o.Extension) { + return true + } + + return false +} + +// SetExtension gets a reference to the given string and assigns it to the Extension field. +func (o *LuarocksPackageUploadResponse) SetExtension(v string) { + o.Extension = &v +} + +// GetFilename returns the Filename field value if set, zero value otherwise. +func (o *LuarocksPackageUploadResponse) GetFilename() string { + if o == nil || isNil(o.Filename) { + var ret string + return ret + } + return *o.Filename +} + +// GetFilenameOk returns a tuple with the Filename field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *LuarocksPackageUploadResponse) GetFilenameOk() (*string, bool) { + if o == nil || isNil(o.Filename) { + return nil, false + } + return o.Filename, true +} + +// HasFilename returns a boolean if a field has been set. +func (o *LuarocksPackageUploadResponse) HasFilename() bool { + if o != nil && !isNil(o.Filename) { + return true + } + + return false +} + +// SetFilename gets a reference to the given string and assigns it to the Filename field. +func (o *LuarocksPackageUploadResponse) SetFilename(v string) { + o.Filename = &v +} + +// GetFiles returns the Files field value if set, zero value otherwise. +func (o *LuarocksPackageUploadResponse) GetFiles() []PackageFile { + if o == nil || isNil(o.Files) { + var ret []PackageFile + return ret + } + return o.Files +} + +// GetFilesOk returns a tuple with the Files field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *LuarocksPackageUploadResponse) GetFilesOk() ([]PackageFile, bool) { + if o == nil || isNil(o.Files) { + return nil, false + } + return o.Files, true +} + +// HasFiles returns a boolean if a field has been set. +func (o *LuarocksPackageUploadResponse) HasFiles() bool { + if o != nil && !isNil(o.Files) { + return true + } + + return false +} + +// SetFiles gets a reference to the given []PackageFile and assigns it to the Files field. +func (o *LuarocksPackageUploadResponse) SetFiles(v []PackageFile) { + o.Files = v +} + +// GetFormat returns the Format field value if set, zero value otherwise. +func (o *LuarocksPackageUploadResponse) GetFormat() string { + if o == nil || isNil(o.Format) { + var ret string + return ret + } + return *o.Format +} + +// GetFormatOk returns a tuple with the Format field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *LuarocksPackageUploadResponse) GetFormatOk() (*string, bool) { + if o == nil || isNil(o.Format) { + return nil, false + } + return o.Format, true +} + +// HasFormat returns a boolean if a field has been set. +func (o *LuarocksPackageUploadResponse) HasFormat() bool { + if o != nil && !isNil(o.Format) { + return true + } + + return false +} + +// SetFormat gets a reference to the given string and assigns it to the Format field. +func (o *LuarocksPackageUploadResponse) SetFormat(v string) { + o.Format = &v +} + +// GetFormatUrl returns the FormatUrl field value if set, zero value otherwise. +func (o *LuarocksPackageUploadResponse) GetFormatUrl() string { + if o == nil || isNil(o.FormatUrl) { + var ret string + return ret + } + return *o.FormatUrl +} + +// GetFormatUrlOk returns a tuple with the FormatUrl field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *LuarocksPackageUploadResponse) GetFormatUrlOk() (*string, bool) { + if o == nil || isNil(o.FormatUrl) { + return nil, false + } + return o.FormatUrl, true +} + +// HasFormatUrl returns a boolean if a field has been set. +func (o *LuarocksPackageUploadResponse) HasFormatUrl() bool { + if o != nil && !isNil(o.FormatUrl) { + return true + } + + return false +} + +// SetFormatUrl gets a reference to the given string and assigns it to the FormatUrl field. +func (o *LuarocksPackageUploadResponse) SetFormatUrl(v string) { + o.FormatUrl = &v +} + +// GetIdentifierPerm returns the IdentifierPerm field value if set, zero value otherwise. +func (o *LuarocksPackageUploadResponse) GetIdentifierPerm() string { + if o == nil || isNil(o.IdentifierPerm) { + var ret string + return ret + } + return *o.IdentifierPerm +} + +// GetIdentifierPermOk returns a tuple with the IdentifierPerm field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *LuarocksPackageUploadResponse) GetIdentifierPermOk() (*string, bool) { + if o == nil || isNil(o.IdentifierPerm) { + return nil, false + } + return o.IdentifierPerm, true +} + +// HasIdentifierPerm returns a boolean if a field has been set. +func (o *LuarocksPackageUploadResponse) HasIdentifierPerm() bool { + if o != nil && !isNil(o.IdentifierPerm) { + return true + } + + return false +} + +// SetIdentifierPerm gets a reference to the given string and assigns it to the IdentifierPerm field. +func (o *LuarocksPackageUploadResponse) SetIdentifierPerm(v string) { + o.IdentifierPerm = &v +} + +// GetIndexed returns the Indexed field value if set, zero value otherwise. +func (o *LuarocksPackageUploadResponse) GetIndexed() bool { + if o == nil || isNil(o.Indexed) { + var ret bool + return ret + } + return *o.Indexed +} + +// GetIndexedOk returns a tuple with the Indexed field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *LuarocksPackageUploadResponse) GetIndexedOk() (*bool, bool) { + if o == nil || isNil(o.Indexed) { + return nil, false + } + return o.Indexed, true +} + +// HasIndexed returns a boolean if a field has been set. +func (o *LuarocksPackageUploadResponse) HasIndexed() bool { + if o != nil && !isNil(o.Indexed) { + return true + } + + return false +} + +// SetIndexed gets a reference to the given bool and assigns it to the Indexed field. +func (o *LuarocksPackageUploadResponse) SetIndexed(v bool) { + o.Indexed = &v +} + +// GetIsDownloadable returns the IsDownloadable field value if set, zero value otherwise. +func (o *LuarocksPackageUploadResponse) GetIsDownloadable() bool { + if o == nil || isNil(o.IsDownloadable) { + var ret bool + return ret + } + return *o.IsDownloadable +} + +// GetIsDownloadableOk returns a tuple with the IsDownloadable field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *LuarocksPackageUploadResponse) GetIsDownloadableOk() (*bool, bool) { + if o == nil || isNil(o.IsDownloadable) { + return nil, false + } + return o.IsDownloadable, true +} + +// HasIsDownloadable returns a boolean if a field has been set. +func (o *LuarocksPackageUploadResponse) HasIsDownloadable() bool { + if o != nil && !isNil(o.IsDownloadable) { + return true + } + + return false +} + +// SetIsDownloadable gets a reference to the given bool and assigns it to the IsDownloadable field. +func (o *LuarocksPackageUploadResponse) SetIsDownloadable(v bool) { + o.IsDownloadable = &v +} + +// GetIsQuarantined returns the IsQuarantined field value if set, zero value otherwise. +func (o *LuarocksPackageUploadResponse) GetIsQuarantined() bool { + if o == nil || isNil(o.IsQuarantined) { + var ret bool + return ret + } + return *o.IsQuarantined +} + +// GetIsQuarantinedOk returns a tuple with the IsQuarantined field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *LuarocksPackageUploadResponse) GetIsQuarantinedOk() (*bool, bool) { + if o == nil || isNil(o.IsQuarantined) { + return nil, false + } + return o.IsQuarantined, true +} + +// HasIsQuarantined returns a boolean if a field has been set. +func (o *LuarocksPackageUploadResponse) HasIsQuarantined() bool { + if o != nil && !isNil(o.IsQuarantined) { + return true + } + + return false +} + +// SetIsQuarantined gets a reference to the given bool and assigns it to the IsQuarantined field. +func (o *LuarocksPackageUploadResponse) SetIsQuarantined(v bool) { + o.IsQuarantined = &v +} + +// GetIsSyncAwaiting returns the IsSyncAwaiting field value if set, zero value otherwise. +func (o *LuarocksPackageUploadResponse) GetIsSyncAwaiting() bool { + if o == nil || isNil(o.IsSyncAwaiting) { + var ret bool + return ret + } + return *o.IsSyncAwaiting +} + +// GetIsSyncAwaitingOk returns a tuple with the IsSyncAwaiting field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *LuarocksPackageUploadResponse) GetIsSyncAwaitingOk() (*bool, bool) { + if o == nil || isNil(o.IsSyncAwaiting) { + return nil, false + } + return o.IsSyncAwaiting, true +} + +// HasIsSyncAwaiting returns a boolean if a field has been set. +func (o *LuarocksPackageUploadResponse) HasIsSyncAwaiting() bool { + if o != nil && !isNil(o.IsSyncAwaiting) { + return true + } + + return false +} + +// SetIsSyncAwaiting gets a reference to the given bool and assigns it to the IsSyncAwaiting field. +func (o *LuarocksPackageUploadResponse) SetIsSyncAwaiting(v bool) { + o.IsSyncAwaiting = &v +} + +// GetIsSyncCompleted returns the IsSyncCompleted field value if set, zero value otherwise. +func (o *LuarocksPackageUploadResponse) GetIsSyncCompleted() bool { + if o == nil || isNil(o.IsSyncCompleted) { + var ret bool + return ret + } + return *o.IsSyncCompleted +} + +// GetIsSyncCompletedOk returns a tuple with the IsSyncCompleted field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *LuarocksPackageUploadResponse) GetIsSyncCompletedOk() (*bool, bool) { + if o == nil || isNil(o.IsSyncCompleted) { + return nil, false + } + return o.IsSyncCompleted, true +} + +// HasIsSyncCompleted returns a boolean if a field has been set. +func (o *LuarocksPackageUploadResponse) HasIsSyncCompleted() bool { + if o != nil && !isNil(o.IsSyncCompleted) { + return true + } + + return false +} + +// SetIsSyncCompleted gets a reference to the given bool and assigns it to the IsSyncCompleted field. +func (o *LuarocksPackageUploadResponse) SetIsSyncCompleted(v bool) { + o.IsSyncCompleted = &v +} + +// GetIsSyncFailed returns the IsSyncFailed field value if set, zero value otherwise. +func (o *LuarocksPackageUploadResponse) GetIsSyncFailed() bool { + if o == nil || isNil(o.IsSyncFailed) { + var ret bool + return ret + } + return *o.IsSyncFailed +} + +// GetIsSyncFailedOk returns a tuple with the IsSyncFailed field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *LuarocksPackageUploadResponse) GetIsSyncFailedOk() (*bool, bool) { + if o == nil || isNil(o.IsSyncFailed) { + return nil, false + } + return o.IsSyncFailed, true +} + +// HasIsSyncFailed returns a boolean if a field has been set. +func (o *LuarocksPackageUploadResponse) HasIsSyncFailed() bool { + if o != nil && !isNil(o.IsSyncFailed) { + return true + } + + return false +} + +// SetIsSyncFailed gets a reference to the given bool and assigns it to the IsSyncFailed field. +func (o *LuarocksPackageUploadResponse) SetIsSyncFailed(v bool) { + o.IsSyncFailed = &v +} + +// GetIsSyncInFlight returns the IsSyncInFlight field value if set, zero value otherwise. +func (o *LuarocksPackageUploadResponse) GetIsSyncInFlight() bool { + if o == nil || isNil(o.IsSyncInFlight) { + var ret bool + return ret + } + return *o.IsSyncInFlight +} + +// GetIsSyncInFlightOk returns a tuple with the IsSyncInFlight field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *LuarocksPackageUploadResponse) GetIsSyncInFlightOk() (*bool, bool) { + if o == nil || isNil(o.IsSyncInFlight) { + return nil, false + } + return o.IsSyncInFlight, true +} + +// HasIsSyncInFlight returns a boolean if a field has been set. +func (o *LuarocksPackageUploadResponse) HasIsSyncInFlight() bool { + if o != nil && !isNil(o.IsSyncInFlight) { + return true + } + + return false +} + +// SetIsSyncInFlight gets a reference to the given bool and assigns it to the IsSyncInFlight field. +func (o *LuarocksPackageUploadResponse) SetIsSyncInFlight(v bool) { + o.IsSyncInFlight = &v +} + +// GetIsSyncInProgress returns the IsSyncInProgress field value if set, zero value otherwise. +func (o *LuarocksPackageUploadResponse) GetIsSyncInProgress() bool { + if o == nil || isNil(o.IsSyncInProgress) { + var ret bool + return ret + } + return *o.IsSyncInProgress +} + +// GetIsSyncInProgressOk returns a tuple with the IsSyncInProgress field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *LuarocksPackageUploadResponse) GetIsSyncInProgressOk() (*bool, bool) { + if o == nil || isNil(o.IsSyncInProgress) { + return nil, false + } + return o.IsSyncInProgress, true +} + +// HasIsSyncInProgress returns a boolean if a field has been set. +func (o *LuarocksPackageUploadResponse) HasIsSyncInProgress() bool { + if o != nil && !isNil(o.IsSyncInProgress) { + return true + } + + return false +} + +// SetIsSyncInProgress gets a reference to the given bool and assigns it to the IsSyncInProgress field. +func (o *LuarocksPackageUploadResponse) SetIsSyncInProgress(v bool) { + o.IsSyncInProgress = &v +} + +// GetLicense returns the License field value if set, zero value otherwise. +func (o *LuarocksPackageUploadResponse) GetLicense() string { + if o == nil || isNil(o.License) { + var ret string + return ret + } + return *o.License +} + +// GetLicenseOk returns a tuple with the License field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *LuarocksPackageUploadResponse) GetLicenseOk() (*string, bool) { + if o == nil || isNil(o.License) { + return nil, false + } + return o.License, true +} + +// HasLicense returns a boolean if a field has been set. +func (o *LuarocksPackageUploadResponse) HasLicense() bool { + if o != nil && !isNil(o.License) { + return true + } + + return false +} + +// SetLicense gets a reference to the given string and assigns it to the License field. +func (o *LuarocksPackageUploadResponse) SetLicense(v string) { + o.License = &v +} + +// GetName returns the Name field value if set, zero value otherwise. +func (o *LuarocksPackageUploadResponse) GetName() string { + if o == nil || isNil(o.Name) { + var ret string + return ret + } + return *o.Name +} + +// GetNameOk returns a tuple with the Name field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *LuarocksPackageUploadResponse) GetNameOk() (*string, bool) { + if o == nil || isNil(o.Name) { + return nil, false + } + return o.Name, true +} + +// HasName returns a boolean if a field has been set. +func (o *LuarocksPackageUploadResponse) HasName() bool { + if o != nil && !isNil(o.Name) { + return true + } + + return false +} + +// SetName gets a reference to the given string and assigns it to the Name field. +func (o *LuarocksPackageUploadResponse) SetName(v string) { + o.Name = &v +} + +// GetNamespace returns the Namespace field value if set, zero value otherwise. +func (o *LuarocksPackageUploadResponse) GetNamespace() string { + if o == nil || isNil(o.Namespace) { + var ret string + return ret + } + return *o.Namespace +} + +// GetNamespaceOk returns a tuple with the Namespace field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *LuarocksPackageUploadResponse) GetNamespaceOk() (*string, bool) { + if o == nil || isNil(o.Namespace) { + return nil, false + } + return o.Namespace, true +} + +// HasNamespace returns a boolean if a field has been set. +func (o *LuarocksPackageUploadResponse) HasNamespace() bool { + if o != nil && !isNil(o.Namespace) { + return true + } + + return false +} + +// SetNamespace gets a reference to the given string and assigns it to the Namespace field. +func (o *LuarocksPackageUploadResponse) SetNamespace(v string) { + o.Namespace = &v +} + +// GetNamespaceUrl returns the NamespaceUrl field value if set, zero value otherwise. +func (o *LuarocksPackageUploadResponse) GetNamespaceUrl() string { + if o == nil || isNil(o.NamespaceUrl) { + var ret string + return ret + } + return *o.NamespaceUrl +} + +// GetNamespaceUrlOk returns a tuple with the NamespaceUrl field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *LuarocksPackageUploadResponse) GetNamespaceUrlOk() (*string, bool) { + if o == nil || isNil(o.NamespaceUrl) { + return nil, false + } + return o.NamespaceUrl, true +} + +// HasNamespaceUrl returns a boolean if a field has been set. +func (o *LuarocksPackageUploadResponse) HasNamespaceUrl() bool { + if o != nil && !isNil(o.NamespaceUrl) { + return true + } + + return false +} + +// SetNamespaceUrl gets a reference to the given string and assigns it to the NamespaceUrl field. +func (o *LuarocksPackageUploadResponse) SetNamespaceUrl(v string) { + o.NamespaceUrl = &v +} + +// GetNumFiles returns the NumFiles field value if set, zero value otherwise. +func (o *LuarocksPackageUploadResponse) GetNumFiles() int64 { + if o == nil || isNil(o.NumFiles) { + var ret int64 + return ret + } + return *o.NumFiles +} + +// GetNumFilesOk returns a tuple with the NumFiles field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *LuarocksPackageUploadResponse) GetNumFilesOk() (*int64, bool) { + if o == nil || isNil(o.NumFiles) { + return nil, false + } + return o.NumFiles, true +} + +// HasNumFiles returns a boolean if a field has been set. +func (o *LuarocksPackageUploadResponse) HasNumFiles() bool { + if o != nil && !isNil(o.NumFiles) { + return true + } + + return false +} + +// SetNumFiles gets a reference to the given int64 and assigns it to the NumFiles field. +func (o *LuarocksPackageUploadResponse) SetNumFiles(v int64) { + o.NumFiles = &v +} + +// GetOriginRepository returns the OriginRepository field value if set, zero value otherwise. +func (o *LuarocksPackageUploadResponse) GetOriginRepository() string { + if o == nil || isNil(o.OriginRepository) { + var ret string + return ret + } + return *o.OriginRepository +} + +// GetOriginRepositoryOk returns a tuple with the OriginRepository field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *LuarocksPackageUploadResponse) GetOriginRepositoryOk() (*string, bool) { + if o == nil || isNil(o.OriginRepository) { + return nil, false + } + return o.OriginRepository, true +} + +// HasOriginRepository returns a boolean if a field has been set. +func (o *LuarocksPackageUploadResponse) HasOriginRepository() bool { + if o != nil && !isNil(o.OriginRepository) { + return true + } + + return false +} + +// SetOriginRepository gets a reference to the given string and assigns it to the OriginRepository field. +func (o *LuarocksPackageUploadResponse) SetOriginRepository(v string) { + o.OriginRepository = &v +} + +// GetOriginRepositoryUrl returns the OriginRepositoryUrl field value if set, zero value otherwise. +func (o *LuarocksPackageUploadResponse) GetOriginRepositoryUrl() string { + if o == nil || isNil(o.OriginRepositoryUrl) { + var ret string + return ret + } + return *o.OriginRepositoryUrl +} + +// GetOriginRepositoryUrlOk returns a tuple with the OriginRepositoryUrl field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *LuarocksPackageUploadResponse) GetOriginRepositoryUrlOk() (*string, bool) { + if o == nil || isNil(o.OriginRepositoryUrl) { + return nil, false + } + return o.OriginRepositoryUrl, true +} + +// HasOriginRepositoryUrl returns a boolean if a field has been set. +func (o *LuarocksPackageUploadResponse) HasOriginRepositoryUrl() bool { + if o != nil && !isNil(o.OriginRepositoryUrl) { + return true + } + + return false +} + +// SetOriginRepositoryUrl gets a reference to the given string and assigns it to the OriginRepositoryUrl field. +func (o *LuarocksPackageUploadResponse) SetOriginRepositoryUrl(v string) { + o.OriginRepositoryUrl = &v +} + +// GetPackageType returns the PackageType field value if set, zero value otherwise. +func (o *LuarocksPackageUploadResponse) GetPackageType() int64 { + if o == nil || isNil(o.PackageType) { + var ret int64 + return ret + } + return *o.PackageType +} + +// GetPackageTypeOk returns a tuple with the PackageType field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *LuarocksPackageUploadResponse) GetPackageTypeOk() (*int64, bool) { + if o == nil || isNil(o.PackageType) { + return nil, false + } + return o.PackageType, true +} + +// HasPackageType returns a boolean if a field has been set. +func (o *LuarocksPackageUploadResponse) HasPackageType() bool { + if o != nil && !isNil(o.PackageType) { + return true + } + + return false +} + +// SetPackageType gets a reference to the given int64 and assigns it to the PackageType field. +func (o *LuarocksPackageUploadResponse) SetPackageType(v int64) { + o.PackageType = &v +} + +// GetRelease returns the Release field value if set, zero value otherwise. +func (o *LuarocksPackageUploadResponse) GetRelease() string { + if o == nil || isNil(o.Release) { + var ret string + return ret + } + return *o.Release +} + +// GetReleaseOk returns a tuple with the Release field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *LuarocksPackageUploadResponse) GetReleaseOk() (*string, bool) { + if o == nil || isNil(o.Release) { + return nil, false + } + return o.Release, true +} + +// HasRelease returns a boolean if a field has been set. +func (o *LuarocksPackageUploadResponse) HasRelease() bool { + if o != nil && !isNil(o.Release) { + return true + } + + return false +} + +// SetRelease gets a reference to the given string and assigns it to the Release field. +func (o *LuarocksPackageUploadResponse) SetRelease(v string) { + o.Release = &v +} + +// GetRepository returns the Repository field value if set, zero value otherwise. +func (o *LuarocksPackageUploadResponse) GetRepository() string { + if o == nil || isNil(o.Repository) { + var ret string + return ret + } + return *o.Repository +} + +// GetRepositoryOk returns a tuple with the Repository field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *LuarocksPackageUploadResponse) GetRepositoryOk() (*string, bool) { + if o == nil || isNil(o.Repository) { + return nil, false + } + return o.Repository, true +} + +// HasRepository returns a boolean if a field has been set. +func (o *LuarocksPackageUploadResponse) HasRepository() bool { + if o != nil && !isNil(o.Repository) { + return true + } + + return false +} + +// SetRepository gets a reference to the given string and assigns it to the Repository field. +func (o *LuarocksPackageUploadResponse) SetRepository(v string) { + o.Repository = &v +} + +// GetRepositoryUrl returns the RepositoryUrl field value if set, zero value otherwise. +func (o *LuarocksPackageUploadResponse) GetRepositoryUrl() string { + if o == nil || isNil(o.RepositoryUrl) { + var ret string + return ret + } + return *o.RepositoryUrl +} + +// GetRepositoryUrlOk returns a tuple with the RepositoryUrl field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *LuarocksPackageUploadResponse) GetRepositoryUrlOk() (*string, bool) { + if o == nil || isNil(o.RepositoryUrl) { + return nil, false + } + return o.RepositoryUrl, true +} + +// HasRepositoryUrl returns a boolean if a field has been set. +func (o *LuarocksPackageUploadResponse) HasRepositoryUrl() bool { + if o != nil && !isNil(o.RepositoryUrl) { + return true + } + + return false +} + +// SetRepositoryUrl gets a reference to the given string and assigns it to the RepositoryUrl field. +func (o *LuarocksPackageUploadResponse) SetRepositoryUrl(v string) { + o.RepositoryUrl = &v +} + +// GetSecurityScanCompletedAt returns the SecurityScanCompletedAt field value if set, zero value otherwise. +func (o *LuarocksPackageUploadResponse) GetSecurityScanCompletedAt() time.Time { + if o == nil || isNil(o.SecurityScanCompletedAt) { + var ret time.Time + return ret + } + return *o.SecurityScanCompletedAt +} + +// GetSecurityScanCompletedAtOk returns a tuple with the SecurityScanCompletedAt field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *LuarocksPackageUploadResponse) GetSecurityScanCompletedAtOk() (*time.Time, bool) { + if o == nil || isNil(o.SecurityScanCompletedAt) { + return nil, false + } + return o.SecurityScanCompletedAt, true +} + +// HasSecurityScanCompletedAt returns a boolean if a field has been set. +func (o *LuarocksPackageUploadResponse) HasSecurityScanCompletedAt() bool { + if o != nil && !isNil(o.SecurityScanCompletedAt) { + return true + } + + return false +} + +// SetSecurityScanCompletedAt gets a reference to the given time.Time and assigns it to the SecurityScanCompletedAt field. +func (o *LuarocksPackageUploadResponse) SetSecurityScanCompletedAt(v time.Time) { + o.SecurityScanCompletedAt = &v +} + +// GetSecurityScanStartedAt returns the SecurityScanStartedAt field value if set, zero value otherwise. +func (o *LuarocksPackageUploadResponse) GetSecurityScanStartedAt() time.Time { + if o == nil || isNil(o.SecurityScanStartedAt) { + var ret time.Time + return ret + } + return *o.SecurityScanStartedAt +} + +// GetSecurityScanStartedAtOk returns a tuple with the SecurityScanStartedAt field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *LuarocksPackageUploadResponse) GetSecurityScanStartedAtOk() (*time.Time, bool) { + if o == nil || isNil(o.SecurityScanStartedAt) { + return nil, false + } + return o.SecurityScanStartedAt, true +} + +// HasSecurityScanStartedAt returns a boolean if a field has been set. +func (o *LuarocksPackageUploadResponse) HasSecurityScanStartedAt() bool { + if o != nil && !isNil(o.SecurityScanStartedAt) { + return true + } + + return false +} + +// SetSecurityScanStartedAt gets a reference to the given time.Time and assigns it to the SecurityScanStartedAt field. +func (o *LuarocksPackageUploadResponse) SetSecurityScanStartedAt(v time.Time) { + o.SecurityScanStartedAt = &v +} + +// GetSecurityScanStatus returns the SecurityScanStatus field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *LuarocksPackageUploadResponse) GetSecurityScanStatus() string { + if o == nil || isNil(o.SecurityScanStatus.Get()) { + var ret string + return ret + } + return *o.SecurityScanStatus.Get() +} + +// GetSecurityScanStatusOk returns a tuple with the SecurityScanStatus 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 *LuarocksPackageUploadResponse) GetSecurityScanStatusOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.SecurityScanStatus.Get(), o.SecurityScanStatus.IsSet() +} + +// HasSecurityScanStatus returns a boolean if a field has been set. +func (o *LuarocksPackageUploadResponse) HasSecurityScanStatus() bool { + if o != nil && o.SecurityScanStatus.IsSet() { + return true + } + + return false +} + +// SetSecurityScanStatus gets a reference to the given NullableString and assigns it to the SecurityScanStatus field. +func (o *LuarocksPackageUploadResponse) SetSecurityScanStatus(v string) { + o.SecurityScanStatus.Set(&v) +} + +// SetSecurityScanStatusNil sets the value for SecurityScanStatus to be an explicit nil +func (o *LuarocksPackageUploadResponse) SetSecurityScanStatusNil() { + o.SecurityScanStatus.Set(nil) +} + +// UnsetSecurityScanStatus ensures that no value is present for SecurityScanStatus, not even an explicit nil +func (o *LuarocksPackageUploadResponse) UnsetSecurityScanStatus() { + o.SecurityScanStatus.Unset() +} + +// GetSecurityScanStatusUpdatedAt returns the SecurityScanStatusUpdatedAt field value if set, zero value otherwise. +func (o *LuarocksPackageUploadResponse) GetSecurityScanStatusUpdatedAt() time.Time { + if o == nil || isNil(o.SecurityScanStatusUpdatedAt) { + var ret time.Time + return ret + } + return *o.SecurityScanStatusUpdatedAt +} + +// GetSecurityScanStatusUpdatedAtOk returns a tuple with the SecurityScanStatusUpdatedAt field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *LuarocksPackageUploadResponse) GetSecurityScanStatusUpdatedAtOk() (*time.Time, bool) { + if o == nil || isNil(o.SecurityScanStatusUpdatedAt) { + return nil, false + } + return o.SecurityScanStatusUpdatedAt, true +} + +// HasSecurityScanStatusUpdatedAt returns a boolean if a field has been set. +func (o *LuarocksPackageUploadResponse) HasSecurityScanStatusUpdatedAt() bool { + if o != nil && !isNil(o.SecurityScanStatusUpdatedAt) { + return true + } + + return false +} + +// SetSecurityScanStatusUpdatedAt gets a reference to the given time.Time and assigns it to the SecurityScanStatusUpdatedAt field. +func (o *LuarocksPackageUploadResponse) SetSecurityScanStatusUpdatedAt(v time.Time) { + o.SecurityScanStatusUpdatedAt = &v +} + +// GetSelfHtmlUrl returns the SelfHtmlUrl field value if set, zero value otherwise. +func (o *LuarocksPackageUploadResponse) GetSelfHtmlUrl() string { + if o == nil || isNil(o.SelfHtmlUrl) { + var ret string + return ret + } + return *o.SelfHtmlUrl +} + +// GetSelfHtmlUrlOk returns a tuple with the SelfHtmlUrl field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *LuarocksPackageUploadResponse) GetSelfHtmlUrlOk() (*string, bool) { + if o == nil || isNil(o.SelfHtmlUrl) { + return nil, false + } + return o.SelfHtmlUrl, true +} + +// HasSelfHtmlUrl returns a boolean if a field has been set. +func (o *LuarocksPackageUploadResponse) HasSelfHtmlUrl() bool { + if o != nil && !isNil(o.SelfHtmlUrl) { + return true + } + + return false +} + +// SetSelfHtmlUrl gets a reference to the given string and assigns it to the SelfHtmlUrl field. +func (o *LuarocksPackageUploadResponse) SetSelfHtmlUrl(v string) { + o.SelfHtmlUrl = &v +} + +// GetSelfUrl returns the SelfUrl field value if set, zero value otherwise. +func (o *LuarocksPackageUploadResponse) GetSelfUrl() string { + if o == nil || isNil(o.SelfUrl) { + var ret string + return ret + } + return *o.SelfUrl +} + +// GetSelfUrlOk returns a tuple with the SelfUrl field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *LuarocksPackageUploadResponse) GetSelfUrlOk() (*string, bool) { + if o == nil || isNil(o.SelfUrl) { + return nil, false + } + return o.SelfUrl, true +} + +// HasSelfUrl returns a boolean if a field has been set. +func (o *LuarocksPackageUploadResponse) HasSelfUrl() bool { + if o != nil && !isNil(o.SelfUrl) { + return true + } + + return false +} + +// SetSelfUrl gets a reference to the given string and assigns it to the SelfUrl field. +func (o *LuarocksPackageUploadResponse) SetSelfUrl(v string) { + o.SelfUrl = &v +} + +// GetSignatureUrl returns the SignatureUrl field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *LuarocksPackageUploadResponse) GetSignatureUrl() string { + if o == nil || isNil(o.SignatureUrl.Get()) { + var ret string + return ret + } + return *o.SignatureUrl.Get() +} + +// GetSignatureUrlOk returns a tuple with the SignatureUrl 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 *LuarocksPackageUploadResponse) GetSignatureUrlOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.SignatureUrl.Get(), o.SignatureUrl.IsSet() +} + +// HasSignatureUrl returns a boolean if a field has been set. +func (o *LuarocksPackageUploadResponse) HasSignatureUrl() bool { + if o != nil && o.SignatureUrl.IsSet() { + return true + } + + return false +} + +// SetSignatureUrl gets a reference to the given NullableString and assigns it to the SignatureUrl field. +func (o *LuarocksPackageUploadResponse) SetSignatureUrl(v string) { + o.SignatureUrl.Set(&v) +} + +// SetSignatureUrlNil sets the value for SignatureUrl to be an explicit nil +func (o *LuarocksPackageUploadResponse) SetSignatureUrlNil() { + o.SignatureUrl.Set(nil) +} + +// UnsetSignatureUrl ensures that no value is present for SignatureUrl, not even an explicit nil +func (o *LuarocksPackageUploadResponse) UnsetSignatureUrl() { + o.SignatureUrl.Unset() +} + +// GetSize returns the Size field value if set, zero value otherwise. +func (o *LuarocksPackageUploadResponse) GetSize() int64 { + if o == nil || isNil(o.Size) { + var ret int64 + return ret + } + return *o.Size +} + +// GetSizeOk returns a tuple with the Size field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *LuarocksPackageUploadResponse) GetSizeOk() (*int64, bool) { + if o == nil || isNil(o.Size) { + return nil, false + } + return o.Size, true +} + +// HasSize returns a boolean if a field has been set. +func (o *LuarocksPackageUploadResponse) HasSize() bool { + if o != nil && !isNil(o.Size) { + return true + } + + return false +} + +// SetSize gets a reference to the given int64 and assigns it to the Size field. +func (o *LuarocksPackageUploadResponse) SetSize(v int64) { + o.Size = &v +} + +// GetSlug returns the Slug field value if set, zero value otherwise. +func (o *LuarocksPackageUploadResponse) GetSlug() string { + if o == nil || isNil(o.Slug) { + var ret string + return ret + } + return *o.Slug +} + +// GetSlugOk returns a tuple with the Slug field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *LuarocksPackageUploadResponse) GetSlugOk() (*string, bool) { + if o == nil || isNil(o.Slug) { + return nil, false + } + return o.Slug, true +} + +// HasSlug returns a boolean if a field has been set. +func (o *LuarocksPackageUploadResponse) HasSlug() bool { + if o != nil && !isNil(o.Slug) { + return true + } + + return false +} + +// SetSlug gets a reference to the given string and assigns it to the Slug field. +func (o *LuarocksPackageUploadResponse) SetSlug(v string) { + o.Slug = &v +} + +// GetSlugPerm returns the SlugPerm field value if set, zero value otherwise. +func (o *LuarocksPackageUploadResponse) GetSlugPerm() string { + if o == nil || isNil(o.SlugPerm) { + var ret string + return ret + } + return *o.SlugPerm +} + +// GetSlugPermOk returns a tuple with the SlugPerm field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *LuarocksPackageUploadResponse) GetSlugPermOk() (*string, bool) { + if o == nil || isNil(o.SlugPerm) { + return nil, false + } + return o.SlugPerm, true +} + +// HasSlugPerm returns a boolean if a field has been set. +func (o *LuarocksPackageUploadResponse) HasSlugPerm() bool { + if o != nil && !isNil(o.SlugPerm) { + return true + } + + return false +} + +// SetSlugPerm gets a reference to the given string and assigns it to the SlugPerm field. +func (o *LuarocksPackageUploadResponse) SetSlugPerm(v string) { + o.SlugPerm = &v +} + +// GetStage returns the Stage field value if set, zero value otherwise. +func (o *LuarocksPackageUploadResponse) GetStage() int64 { + if o == nil || isNil(o.Stage) { + var ret int64 + return ret + } + return *o.Stage +} + +// GetStageOk returns a tuple with the Stage field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *LuarocksPackageUploadResponse) GetStageOk() (*int64, bool) { + if o == nil || isNil(o.Stage) { + return nil, false + } + return o.Stage, true +} + +// HasStage returns a boolean if a field has been set. +func (o *LuarocksPackageUploadResponse) HasStage() bool { + if o != nil && !isNil(o.Stage) { + return true + } + + return false +} + +// SetStage gets a reference to the given int64 and assigns it to the Stage field. +func (o *LuarocksPackageUploadResponse) SetStage(v int64) { + o.Stage = &v +} + +// GetStageStr returns the StageStr field value if set, zero value otherwise. +func (o *LuarocksPackageUploadResponse) GetStageStr() string { + if o == nil || isNil(o.StageStr) { + var ret string + return ret + } + return *o.StageStr +} + +// GetStageStrOk returns a tuple with the StageStr field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *LuarocksPackageUploadResponse) GetStageStrOk() (*string, bool) { + if o == nil || isNil(o.StageStr) { + return nil, false + } + return o.StageStr, true +} + +// HasStageStr returns a boolean if a field has been set. +func (o *LuarocksPackageUploadResponse) HasStageStr() bool { + if o != nil && !isNil(o.StageStr) { + return true + } + + return false +} + +// SetStageStr gets a reference to the given string and assigns it to the StageStr field. +func (o *LuarocksPackageUploadResponse) SetStageStr(v string) { + o.StageStr = &v +} + +// GetStageUpdatedAt returns the StageUpdatedAt field value if set, zero value otherwise. +func (o *LuarocksPackageUploadResponse) GetStageUpdatedAt() time.Time { + if o == nil || isNil(o.StageUpdatedAt) { + var ret time.Time + return ret + } + return *o.StageUpdatedAt +} + +// GetStageUpdatedAtOk returns a tuple with the StageUpdatedAt field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *LuarocksPackageUploadResponse) GetStageUpdatedAtOk() (*time.Time, bool) { + if o == nil || isNil(o.StageUpdatedAt) { + return nil, false + } + return o.StageUpdatedAt, true +} + +// HasStageUpdatedAt returns a boolean if a field has been set. +func (o *LuarocksPackageUploadResponse) HasStageUpdatedAt() bool { + if o != nil && !isNil(o.StageUpdatedAt) { + return true + } + + return false +} + +// SetStageUpdatedAt gets a reference to the given time.Time and assigns it to the StageUpdatedAt field. +func (o *LuarocksPackageUploadResponse) SetStageUpdatedAt(v time.Time) { + o.StageUpdatedAt = &v +} + +// GetStatus returns the Status field value if set, zero value otherwise. +func (o *LuarocksPackageUploadResponse) GetStatus() int64 { + if o == nil || isNil(o.Status) { + var ret int64 + return ret + } + return *o.Status +} + +// GetStatusOk returns a tuple with the Status field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *LuarocksPackageUploadResponse) GetStatusOk() (*int64, bool) { + if o == nil || isNil(o.Status) { + return nil, false + } + return o.Status, true +} + +// HasStatus returns a boolean if a field has been set. +func (o *LuarocksPackageUploadResponse) HasStatus() bool { + if o != nil && !isNil(o.Status) { + return true + } + + return false +} + +// SetStatus gets a reference to the given int64 and assigns it to the Status field. +func (o *LuarocksPackageUploadResponse) SetStatus(v int64) { + o.Status = &v +} + +// GetStatusReason returns the StatusReason field value if set, zero value otherwise. +func (o *LuarocksPackageUploadResponse) GetStatusReason() string { + if o == nil || isNil(o.StatusReason) { + var ret string + return ret + } + return *o.StatusReason +} + +// GetStatusReasonOk returns a tuple with the StatusReason field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *LuarocksPackageUploadResponse) GetStatusReasonOk() (*string, bool) { + if o == nil || isNil(o.StatusReason) { + return nil, false + } + return o.StatusReason, true +} + +// HasStatusReason returns a boolean if a field has been set. +func (o *LuarocksPackageUploadResponse) HasStatusReason() bool { + if o != nil && !isNil(o.StatusReason) { + return true + } + + return false +} + +// SetStatusReason gets a reference to the given string and assigns it to the StatusReason field. +func (o *LuarocksPackageUploadResponse) SetStatusReason(v string) { + o.StatusReason = &v +} + +// GetStatusStr returns the StatusStr field value if set, zero value otherwise. +func (o *LuarocksPackageUploadResponse) GetStatusStr() string { + if o == nil || isNil(o.StatusStr) { + var ret string + return ret + } + return *o.StatusStr +} + +// GetStatusStrOk returns a tuple with the StatusStr field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *LuarocksPackageUploadResponse) GetStatusStrOk() (*string, bool) { + if o == nil || isNil(o.StatusStr) { + return nil, false + } + return o.StatusStr, true +} + +// HasStatusStr returns a boolean if a field has been set. +func (o *LuarocksPackageUploadResponse) HasStatusStr() bool { + if o != nil && !isNil(o.StatusStr) { + return true + } + + return false +} + +// SetStatusStr gets a reference to the given string and assigns it to the StatusStr field. +func (o *LuarocksPackageUploadResponse) SetStatusStr(v string) { + o.StatusStr = &v +} + +// GetStatusUpdatedAt returns the StatusUpdatedAt field value if set, zero value otherwise. +func (o *LuarocksPackageUploadResponse) GetStatusUpdatedAt() time.Time { + if o == nil || isNil(o.StatusUpdatedAt) { + var ret time.Time + return ret + } + return *o.StatusUpdatedAt +} + +// GetStatusUpdatedAtOk returns a tuple with the StatusUpdatedAt field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *LuarocksPackageUploadResponse) GetStatusUpdatedAtOk() (*time.Time, bool) { + if o == nil || isNil(o.StatusUpdatedAt) { + return nil, false + } + return o.StatusUpdatedAt, true +} + +// HasStatusUpdatedAt returns a boolean if a field has been set. +func (o *LuarocksPackageUploadResponse) HasStatusUpdatedAt() bool { + if o != nil && !isNil(o.StatusUpdatedAt) { + return true + } + + return false +} + +// SetStatusUpdatedAt gets a reference to the given time.Time and assigns it to the StatusUpdatedAt field. +func (o *LuarocksPackageUploadResponse) SetStatusUpdatedAt(v time.Time) { + o.StatusUpdatedAt = &v +} + +// GetStatusUrl returns the StatusUrl field value if set, zero value otherwise. +func (o *LuarocksPackageUploadResponse) GetStatusUrl() string { + if o == nil || isNil(o.StatusUrl) { + var ret string + return ret + } + return *o.StatusUrl +} + +// GetStatusUrlOk returns a tuple with the StatusUrl field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *LuarocksPackageUploadResponse) GetStatusUrlOk() (*string, bool) { + if o == nil || isNil(o.StatusUrl) { + return nil, false + } + return o.StatusUrl, true +} + +// HasStatusUrl returns a boolean if a field has been set. +func (o *LuarocksPackageUploadResponse) HasStatusUrl() bool { + if o != nil && !isNil(o.StatusUrl) { + return true + } + + return false +} + +// SetStatusUrl gets a reference to the given string and assigns it to the StatusUrl field. +func (o *LuarocksPackageUploadResponse) SetStatusUrl(v string) { + o.StatusUrl = &v +} + +// GetSubtype returns the Subtype field value if set, zero value otherwise. +func (o *LuarocksPackageUploadResponse) GetSubtype() string { + if o == nil || isNil(o.Subtype) { + var ret string + return ret + } + return *o.Subtype +} + +// GetSubtypeOk returns a tuple with the Subtype field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *LuarocksPackageUploadResponse) GetSubtypeOk() (*string, bool) { + if o == nil || isNil(o.Subtype) { + return nil, false + } + return o.Subtype, true +} + +// HasSubtype returns a boolean if a field has been set. +func (o *LuarocksPackageUploadResponse) HasSubtype() bool { + if o != nil && !isNil(o.Subtype) { + return true + } + + return false +} + +// SetSubtype gets a reference to the given string and assigns it to the Subtype field. +func (o *LuarocksPackageUploadResponse) SetSubtype(v string) { + o.Subtype = &v +} + +// GetSummary returns the Summary field value if set, zero value otherwise. +func (o *LuarocksPackageUploadResponse) GetSummary() string { + if o == nil || isNil(o.Summary) { + var ret string + return ret + } + return *o.Summary +} + +// GetSummaryOk returns a tuple with the Summary field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *LuarocksPackageUploadResponse) GetSummaryOk() (*string, bool) { + if o == nil || isNil(o.Summary) { + return nil, false + } + return o.Summary, true +} + +// HasSummary returns a boolean if a field has been set. +func (o *LuarocksPackageUploadResponse) HasSummary() bool { + if o != nil && !isNil(o.Summary) { + return true + } + + return false +} + +// SetSummary gets a reference to the given string and assigns it to the Summary field. +func (o *LuarocksPackageUploadResponse) SetSummary(v string) { + o.Summary = &v +} + +// GetSyncFinishedAt returns the SyncFinishedAt field value if set, zero value otherwise. +func (o *LuarocksPackageUploadResponse) GetSyncFinishedAt() time.Time { + if o == nil || isNil(o.SyncFinishedAt) { + var ret time.Time + return ret + } + return *o.SyncFinishedAt +} + +// GetSyncFinishedAtOk returns a tuple with the SyncFinishedAt field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *LuarocksPackageUploadResponse) GetSyncFinishedAtOk() (*time.Time, bool) { + if o == nil || isNil(o.SyncFinishedAt) { + return nil, false + } + return o.SyncFinishedAt, true +} + +// HasSyncFinishedAt returns a boolean if a field has been set. +func (o *LuarocksPackageUploadResponse) HasSyncFinishedAt() bool { + if o != nil && !isNil(o.SyncFinishedAt) { + return true + } + + return false +} + +// SetSyncFinishedAt gets a reference to the given time.Time and assigns it to the SyncFinishedAt field. +func (o *LuarocksPackageUploadResponse) SetSyncFinishedAt(v time.Time) { + o.SyncFinishedAt = &v +} + +// GetSyncProgress returns the SyncProgress field value if set, zero value otherwise. +func (o *LuarocksPackageUploadResponse) GetSyncProgress() int64 { + if o == nil || isNil(o.SyncProgress) { + var ret int64 + return ret + } + return *o.SyncProgress +} + +// GetSyncProgressOk returns a tuple with the SyncProgress field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *LuarocksPackageUploadResponse) GetSyncProgressOk() (*int64, bool) { + if o == nil || isNil(o.SyncProgress) { + return nil, false + } + return o.SyncProgress, true +} + +// HasSyncProgress returns a boolean if a field has been set. +func (o *LuarocksPackageUploadResponse) HasSyncProgress() bool { + if o != nil && !isNil(o.SyncProgress) { + return true + } + + return false +} + +// SetSyncProgress gets a reference to the given int64 and assigns it to the SyncProgress field. +func (o *LuarocksPackageUploadResponse) SetSyncProgress(v int64) { + o.SyncProgress = &v +} + +// GetTagsImmutable returns the TagsImmutable field value if set, zero value otherwise. +func (o *LuarocksPackageUploadResponse) GetTagsImmutable() map[string]interface{} { + if o == nil || isNil(o.TagsImmutable) { + var ret map[string]interface{} + return ret + } + return o.TagsImmutable +} + +// GetTagsImmutableOk returns a tuple with the TagsImmutable field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *LuarocksPackageUploadResponse) GetTagsImmutableOk() (map[string]interface{}, bool) { + if o == nil || isNil(o.TagsImmutable) { + return map[string]interface{}{}, false + } + return o.TagsImmutable, true +} + +// HasTagsImmutable returns a boolean if a field has been set. +func (o *LuarocksPackageUploadResponse) HasTagsImmutable() bool { + if o != nil && !isNil(o.TagsImmutable) { + return true + } + + return false +} + +// SetTagsImmutable gets a reference to the given map[string]interface{} and assigns it to the TagsImmutable field. +func (o *LuarocksPackageUploadResponse) SetTagsImmutable(v map[string]interface{}) { + o.TagsImmutable = v +} + +// GetTypeDisplay returns the TypeDisplay field value if set, zero value otherwise. +func (o *LuarocksPackageUploadResponse) GetTypeDisplay() string { + if o == nil || isNil(o.TypeDisplay) { + var ret string + return ret + } + return *o.TypeDisplay +} + +// GetTypeDisplayOk returns a tuple with the TypeDisplay field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *LuarocksPackageUploadResponse) GetTypeDisplayOk() (*string, bool) { + if o == nil || isNil(o.TypeDisplay) { + return nil, false + } + return o.TypeDisplay, true +} + +// HasTypeDisplay returns a boolean if a field has been set. +func (o *LuarocksPackageUploadResponse) HasTypeDisplay() bool { + if o != nil && !isNil(o.TypeDisplay) { + return true + } + + return false +} + +// SetTypeDisplay gets a reference to the given string and assigns it to the TypeDisplay field. +func (o *LuarocksPackageUploadResponse) SetTypeDisplay(v string) { + o.TypeDisplay = &v +} + +// GetUploadedAt returns the UploadedAt field value if set, zero value otherwise. +func (o *LuarocksPackageUploadResponse) GetUploadedAt() time.Time { + if o == nil || isNil(o.UploadedAt) { + var ret time.Time + return ret + } + return *o.UploadedAt +} + +// GetUploadedAtOk returns a tuple with the UploadedAt field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *LuarocksPackageUploadResponse) GetUploadedAtOk() (*time.Time, bool) { + if o == nil || isNil(o.UploadedAt) { + return nil, false + } + return o.UploadedAt, true +} + +// HasUploadedAt returns a boolean if a field has been set. +func (o *LuarocksPackageUploadResponse) HasUploadedAt() bool { + if o != nil && !isNil(o.UploadedAt) { + return true + } + + return false +} + +// SetUploadedAt gets a reference to the given time.Time and assigns it to the UploadedAt field. +func (o *LuarocksPackageUploadResponse) SetUploadedAt(v time.Time) { + o.UploadedAt = &v +} + +// GetUploader returns the Uploader field value if set, zero value otherwise. +func (o *LuarocksPackageUploadResponse) GetUploader() string { + if o == nil || isNil(o.Uploader) { + var ret string + return ret + } + return *o.Uploader +} + +// GetUploaderOk returns a tuple with the Uploader field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *LuarocksPackageUploadResponse) GetUploaderOk() (*string, bool) { + if o == nil || isNil(o.Uploader) { + return nil, false + } + return o.Uploader, true +} + +// HasUploader returns a boolean if a field has been set. +func (o *LuarocksPackageUploadResponse) HasUploader() bool { + if o != nil && !isNil(o.Uploader) { + return true + } + + return false +} + +// SetUploader gets a reference to the given string and assigns it to the Uploader field. +func (o *LuarocksPackageUploadResponse) SetUploader(v string) { + o.Uploader = &v +} + +// GetUploaderUrl returns the UploaderUrl field value if set, zero value otherwise. +func (o *LuarocksPackageUploadResponse) GetUploaderUrl() string { + if o == nil || isNil(o.UploaderUrl) { + var ret string + return ret + } + return *o.UploaderUrl +} + +// GetUploaderUrlOk returns a tuple with the UploaderUrl field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *LuarocksPackageUploadResponse) GetUploaderUrlOk() (*string, bool) { + if o == nil || isNil(o.UploaderUrl) { + return nil, false + } + return o.UploaderUrl, true +} + +// HasUploaderUrl returns a boolean if a field has been set. +func (o *LuarocksPackageUploadResponse) HasUploaderUrl() bool { + if o != nil && !isNil(o.UploaderUrl) { + return true + } + + return false +} + +// SetUploaderUrl gets a reference to the given string and assigns it to the UploaderUrl field. +func (o *LuarocksPackageUploadResponse) SetUploaderUrl(v string) { + o.UploaderUrl = &v +} + +// GetVersion returns the Version field value if set, zero value otherwise. +func (o *LuarocksPackageUploadResponse) GetVersion() string { + if o == nil || isNil(o.Version) { + var ret string + return ret + } + return *o.Version +} + +// GetVersionOk returns a tuple with the Version field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *LuarocksPackageUploadResponse) GetVersionOk() (*string, bool) { + if o == nil || isNil(o.Version) { + return nil, false + } + return o.Version, true +} + +// HasVersion returns a boolean if a field has been set. +func (o *LuarocksPackageUploadResponse) HasVersion() bool { + if o != nil && !isNil(o.Version) { + return true + } + + return false +} + +// SetVersion gets a reference to the given string and assigns it to the Version field. +func (o *LuarocksPackageUploadResponse) SetVersion(v string) { + o.Version = &v +} + +// GetVersionOrig returns the VersionOrig field value if set, zero value otherwise. +func (o *LuarocksPackageUploadResponse) GetVersionOrig() string { + if o == nil || isNil(o.VersionOrig) { + var ret string + return ret + } + return *o.VersionOrig +} + +// GetVersionOrigOk returns a tuple with the VersionOrig field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *LuarocksPackageUploadResponse) GetVersionOrigOk() (*string, bool) { + if o == nil || isNil(o.VersionOrig) { + return nil, false + } + return o.VersionOrig, true +} + +// HasVersionOrig returns a boolean if a field has been set. +func (o *LuarocksPackageUploadResponse) HasVersionOrig() bool { + if o != nil && !isNil(o.VersionOrig) { + return true + } + + return false +} + +// SetVersionOrig gets a reference to the given string and assigns it to the VersionOrig field. +func (o *LuarocksPackageUploadResponse) SetVersionOrig(v string) { + o.VersionOrig = &v +} + +// GetVulnerabilityScanResultsUrl returns the VulnerabilityScanResultsUrl field value if set, zero value otherwise. +func (o *LuarocksPackageUploadResponse) GetVulnerabilityScanResultsUrl() string { + if o == nil || isNil(o.VulnerabilityScanResultsUrl) { + var ret string + return ret + } + return *o.VulnerabilityScanResultsUrl +} + +// GetVulnerabilityScanResultsUrlOk returns a tuple with the VulnerabilityScanResultsUrl field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *LuarocksPackageUploadResponse) GetVulnerabilityScanResultsUrlOk() (*string, bool) { + if o == nil || isNil(o.VulnerabilityScanResultsUrl) { + return nil, false + } + return o.VulnerabilityScanResultsUrl, true +} + +// HasVulnerabilityScanResultsUrl returns a boolean if a field has been set. +func (o *LuarocksPackageUploadResponse) HasVulnerabilityScanResultsUrl() bool { + if o != nil && !isNil(o.VulnerabilityScanResultsUrl) { + return true + } + + return false +} + +// SetVulnerabilityScanResultsUrl gets a reference to the given string and assigns it to the VulnerabilityScanResultsUrl field. +func (o *LuarocksPackageUploadResponse) SetVulnerabilityScanResultsUrl(v string) { + o.VulnerabilityScanResultsUrl = &v +} + +func (o LuarocksPackageUploadResponse) MarshalJSON() ([]byte, error) { + toSerialize := map[string]interface{}{} + if !isNil(o.Architectures) { + toSerialize["architectures"] = o.Architectures + } + if o.CdnUrl.IsSet() { + toSerialize["cdn_url"] = o.CdnUrl.Get() + } + if !isNil(o.ChecksumMd5) { + toSerialize["checksum_md5"] = o.ChecksumMd5 + } + if !isNil(o.ChecksumSha1) { + toSerialize["checksum_sha1"] = o.ChecksumSha1 + } + if !isNil(o.ChecksumSha256) { + toSerialize["checksum_sha256"] = o.ChecksumSha256 + } + if !isNil(o.ChecksumSha512) { + toSerialize["checksum_sha512"] = o.ChecksumSha512 + } + if !isNil(o.DependenciesChecksumMd5) { + toSerialize["dependencies_checksum_md5"] = o.DependenciesChecksumMd5 + } + if !isNil(o.DependenciesUrl) { + toSerialize["dependencies_url"] = o.DependenciesUrl + } + if !isNil(o.Description) { + toSerialize["description"] = o.Description + } + if o.Distro.IsSet() { + toSerialize["distro"] = o.Distro.Get() + } + if !isNil(o.DistroVersion) { + toSerialize["distro_version"] = o.DistroVersion + } + if !isNil(o.Downloads) { + toSerialize["downloads"] = o.Downloads + } + if !isNil(o.Epoch) { + toSerialize["epoch"] = o.Epoch + } + if !isNil(o.Extension) { + toSerialize["extension"] = o.Extension + } + if !isNil(o.Filename) { + toSerialize["filename"] = o.Filename + } + if !isNil(o.Files) { + toSerialize["files"] = o.Files + } + if !isNil(o.Format) { + toSerialize["format"] = o.Format + } + if !isNil(o.FormatUrl) { + toSerialize["format_url"] = o.FormatUrl + } + if !isNil(o.IdentifierPerm) { + toSerialize["identifier_perm"] = o.IdentifierPerm + } + if !isNil(o.Indexed) { + toSerialize["indexed"] = o.Indexed + } + if !isNil(o.IsDownloadable) { + toSerialize["is_downloadable"] = o.IsDownloadable + } + if !isNil(o.IsQuarantined) { + toSerialize["is_quarantined"] = o.IsQuarantined + } + if !isNil(o.IsSyncAwaiting) { + toSerialize["is_sync_awaiting"] = o.IsSyncAwaiting + } + if !isNil(o.IsSyncCompleted) { + toSerialize["is_sync_completed"] = o.IsSyncCompleted + } + if !isNil(o.IsSyncFailed) { + toSerialize["is_sync_failed"] = o.IsSyncFailed + } + if !isNil(o.IsSyncInFlight) { + toSerialize["is_sync_in_flight"] = o.IsSyncInFlight + } + if !isNil(o.IsSyncInProgress) { + toSerialize["is_sync_in_progress"] = o.IsSyncInProgress + } + if !isNil(o.License) { + toSerialize["license"] = o.License + } + if !isNil(o.Name) { + toSerialize["name"] = o.Name + } + if !isNil(o.Namespace) { + toSerialize["namespace"] = o.Namespace + } + if !isNil(o.NamespaceUrl) { + toSerialize["namespace_url"] = o.NamespaceUrl + } + if !isNil(o.NumFiles) { + toSerialize["num_files"] = o.NumFiles + } + if !isNil(o.OriginRepository) { + toSerialize["origin_repository"] = o.OriginRepository + } + if !isNil(o.OriginRepositoryUrl) { + toSerialize["origin_repository_url"] = o.OriginRepositoryUrl + } + if !isNil(o.PackageType) { + toSerialize["package_type"] = o.PackageType + } + if !isNil(o.Release) { + toSerialize["release"] = o.Release + } + if !isNil(o.Repository) { + toSerialize["repository"] = o.Repository + } + if !isNil(o.RepositoryUrl) { + toSerialize["repository_url"] = o.RepositoryUrl + } + if !isNil(o.SecurityScanCompletedAt) { + toSerialize["security_scan_completed_at"] = o.SecurityScanCompletedAt + } + if !isNil(o.SecurityScanStartedAt) { + toSerialize["security_scan_started_at"] = o.SecurityScanStartedAt + } + if o.SecurityScanStatus.IsSet() { + toSerialize["security_scan_status"] = o.SecurityScanStatus.Get() + } + if !isNil(o.SecurityScanStatusUpdatedAt) { + toSerialize["security_scan_status_updated_at"] = o.SecurityScanStatusUpdatedAt + } + if !isNil(o.SelfHtmlUrl) { + toSerialize["self_html_url"] = o.SelfHtmlUrl + } + if !isNil(o.SelfUrl) { + toSerialize["self_url"] = o.SelfUrl + } + if o.SignatureUrl.IsSet() { + toSerialize["signature_url"] = o.SignatureUrl.Get() + } + if !isNil(o.Size) { + toSerialize["size"] = o.Size + } + if !isNil(o.Slug) { + toSerialize["slug"] = o.Slug + } + if !isNil(o.SlugPerm) { + toSerialize["slug_perm"] = o.SlugPerm + } + if !isNil(o.Stage) { + toSerialize["stage"] = o.Stage + } + if !isNil(o.StageStr) { + toSerialize["stage_str"] = o.StageStr + } + if !isNil(o.StageUpdatedAt) { + toSerialize["stage_updated_at"] = o.StageUpdatedAt + } + if !isNil(o.Status) { + toSerialize["status"] = o.Status + } + if !isNil(o.StatusReason) { + toSerialize["status_reason"] = o.StatusReason + } + if !isNil(o.StatusStr) { + toSerialize["status_str"] = o.StatusStr + } + if !isNil(o.StatusUpdatedAt) { + toSerialize["status_updated_at"] = o.StatusUpdatedAt + } + if !isNil(o.StatusUrl) { + toSerialize["status_url"] = o.StatusUrl + } + if !isNil(o.Subtype) { + toSerialize["subtype"] = o.Subtype + } + if !isNil(o.Summary) { + toSerialize["summary"] = o.Summary + } + if !isNil(o.SyncFinishedAt) { + toSerialize["sync_finished_at"] = o.SyncFinishedAt + } + if !isNil(o.SyncProgress) { + toSerialize["sync_progress"] = o.SyncProgress + } + if !isNil(o.TagsImmutable) { + toSerialize["tags_immutable"] = o.TagsImmutable + } + if !isNil(o.TypeDisplay) { + toSerialize["type_display"] = o.TypeDisplay + } + if !isNil(o.UploadedAt) { + toSerialize["uploaded_at"] = o.UploadedAt + } + if !isNil(o.Uploader) { + toSerialize["uploader"] = o.Uploader + } + if !isNil(o.UploaderUrl) { + toSerialize["uploader_url"] = o.UploaderUrl + } + if !isNil(o.Version) { + toSerialize["version"] = o.Version + } + if !isNil(o.VersionOrig) { + toSerialize["version_orig"] = o.VersionOrig + } + if !isNil(o.VulnerabilityScanResultsUrl) { + toSerialize["vulnerability_scan_results_url"] = o.VulnerabilityScanResultsUrl + } + return json.Marshal(toSerialize) +} + +type NullableLuarocksPackageUploadResponse struct { + value *LuarocksPackageUploadResponse + isSet bool +} + +func (v NullableLuarocksPackageUploadResponse) Get() *LuarocksPackageUploadResponse { + return v.value +} + +func (v *NullableLuarocksPackageUploadResponse) Set(val *LuarocksPackageUploadResponse) { + v.value = val + v.isSet = true +} + +func (v NullableLuarocksPackageUploadResponse) IsSet() bool { + return v.isSet +} + +func (v *NullableLuarocksPackageUploadResponse) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableLuarocksPackageUploadResponse(val *LuarocksPackageUploadResponse) *NullableLuarocksPackageUploadResponse { + return &NullableLuarocksPackageUploadResponse{value: val, isSet: true} +} + +func (v NullableLuarocksPackageUploadResponse) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableLuarocksPackageUploadResponse) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} diff --git a/model_maven_package_upload_request.go b/model_maven_package_upload_request.go new file mode 100644 index 00000000..47fc180c --- /dev/null +++ b/model_maven_package_upload_request.go @@ -0,0 +1,577 @@ +/* +Cloudsmith API (v1) + +The API to the Cloudsmith Service + +API version: 1.181.6 +Contact: support@cloudsmith.io +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cloudsmith + +import ( + "encoding/json" +) + +// MavenPackageUploadRequest struct for MavenPackageUploadRequest +type MavenPackageUploadRequest struct { + // The ID of the artifact. + ArtifactId NullableString `json:"artifact_id,omitempty"` + // Artifact's group ID. + GroupId NullableString `json:"group_id,omitempty"` + // Adds bundled Java documentation to the Maven package + JavadocFile NullableString `json:"javadoc_file,omitempty"` + // The primary file for the package. + PackageFile string `json:"package_file"` + // Artifact's Maven packaging type. + Packaging NullableString `json:"packaging,omitempty"` + // The POM file is an XML file containing the Maven coordinates. + PomFile NullableString `json:"pom_file,omitempty"` + // If true, the uploaded package will overwrite any others with the same attributes (e.g. same version); otherwise, it will be flagged as a duplicate. + Republish *bool `json:"republish,omitempty"` + // Adds bundled Java source code to the Maven package. + SourcesFile NullableString `json:"sources_file,omitempty"` + // A comma-separated values list of tags to add to the package. + Tags NullableString `json:"tags,omitempty"` + // Adds bundled Java tests to the Maven package. + TestsFile NullableString `json:"tests_file,omitempty"` + // The raw version for this package. + Version NullableString `json:"version,omitempty"` +} + +// NewMavenPackageUploadRequest instantiates a new MavenPackageUploadRequest object +// 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 NewMavenPackageUploadRequest(packageFile string) *MavenPackageUploadRequest { + this := MavenPackageUploadRequest{} + this.PackageFile = packageFile + return &this +} + +// NewMavenPackageUploadRequestWithDefaults instantiates a new MavenPackageUploadRequest object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewMavenPackageUploadRequestWithDefaults() *MavenPackageUploadRequest { + this := MavenPackageUploadRequest{} + return &this +} + +// GetArtifactId returns the ArtifactId field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *MavenPackageUploadRequest) GetArtifactId() string { + if o == nil || isNil(o.ArtifactId.Get()) { + var ret string + return ret + } + return *o.ArtifactId.Get() +} + +// GetArtifactIdOk returns a tuple with the ArtifactId 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 *MavenPackageUploadRequest) GetArtifactIdOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.ArtifactId.Get(), o.ArtifactId.IsSet() +} + +// HasArtifactId returns a boolean if a field has been set. +func (o *MavenPackageUploadRequest) HasArtifactId() bool { + if o != nil && o.ArtifactId.IsSet() { + return true + } + + return false +} + +// SetArtifactId gets a reference to the given NullableString and assigns it to the ArtifactId field. +func (o *MavenPackageUploadRequest) SetArtifactId(v string) { + o.ArtifactId.Set(&v) +} + +// SetArtifactIdNil sets the value for ArtifactId to be an explicit nil +func (o *MavenPackageUploadRequest) SetArtifactIdNil() { + o.ArtifactId.Set(nil) +} + +// UnsetArtifactId ensures that no value is present for ArtifactId, not even an explicit nil +func (o *MavenPackageUploadRequest) UnsetArtifactId() { + o.ArtifactId.Unset() +} + +// GetGroupId returns the GroupId field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *MavenPackageUploadRequest) GetGroupId() string { + if o == nil || isNil(o.GroupId.Get()) { + var ret string + return ret + } + return *o.GroupId.Get() +} + +// GetGroupIdOk returns a tuple with the GroupId 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 *MavenPackageUploadRequest) GetGroupIdOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.GroupId.Get(), o.GroupId.IsSet() +} + +// HasGroupId returns a boolean if a field has been set. +func (o *MavenPackageUploadRequest) HasGroupId() bool { + if o != nil && o.GroupId.IsSet() { + return true + } + + return false +} + +// SetGroupId gets a reference to the given NullableString and assigns it to the GroupId field. +func (o *MavenPackageUploadRequest) SetGroupId(v string) { + o.GroupId.Set(&v) +} + +// SetGroupIdNil sets the value for GroupId to be an explicit nil +func (o *MavenPackageUploadRequest) SetGroupIdNil() { + o.GroupId.Set(nil) +} + +// UnsetGroupId ensures that no value is present for GroupId, not even an explicit nil +func (o *MavenPackageUploadRequest) UnsetGroupId() { + o.GroupId.Unset() +} + +// GetJavadocFile returns the JavadocFile field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *MavenPackageUploadRequest) GetJavadocFile() string { + if o == nil || isNil(o.JavadocFile.Get()) { + var ret string + return ret + } + return *o.JavadocFile.Get() +} + +// GetJavadocFileOk returns a tuple with the JavadocFile 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 *MavenPackageUploadRequest) GetJavadocFileOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.JavadocFile.Get(), o.JavadocFile.IsSet() +} + +// HasJavadocFile returns a boolean if a field has been set. +func (o *MavenPackageUploadRequest) HasJavadocFile() bool { + if o != nil && o.JavadocFile.IsSet() { + return true + } + + return false +} + +// SetJavadocFile gets a reference to the given NullableString and assigns it to the JavadocFile field. +func (o *MavenPackageUploadRequest) SetJavadocFile(v string) { + o.JavadocFile.Set(&v) +} + +// SetJavadocFileNil sets the value for JavadocFile to be an explicit nil +func (o *MavenPackageUploadRequest) SetJavadocFileNil() { + o.JavadocFile.Set(nil) +} + +// UnsetJavadocFile ensures that no value is present for JavadocFile, not even an explicit nil +func (o *MavenPackageUploadRequest) UnsetJavadocFile() { + o.JavadocFile.Unset() +} + +// GetPackageFile returns the PackageFile field value +func (o *MavenPackageUploadRequest) GetPackageFile() string { + if o == nil { + var ret string + return ret + } + + return o.PackageFile +} + +// GetPackageFileOk returns a tuple with the PackageFile field value +// and a boolean to check if the value has been set. +func (o *MavenPackageUploadRequest) GetPackageFileOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.PackageFile, true +} + +// SetPackageFile sets field value +func (o *MavenPackageUploadRequest) SetPackageFile(v string) { + o.PackageFile = v +} + +// GetPackaging returns the Packaging field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *MavenPackageUploadRequest) GetPackaging() string { + if o == nil || isNil(o.Packaging.Get()) { + var ret string + return ret + } + return *o.Packaging.Get() +} + +// GetPackagingOk returns a tuple with the Packaging 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 *MavenPackageUploadRequest) GetPackagingOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.Packaging.Get(), o.Packaging.IsSet() +} + +// HasPackaging returns a boolean if a field has been set. +func (o *MavenPackageUploadRequest) HasPackaging() bool { + if o != nil && o.Packaging.IsSet() { + return true + } + + return false +} + +// SetPackaging gets a reference to the given NullableString and assigns it to the Packaging field. +func (o *MavenPackageUploadRequest) SetPackaging(v string) { + o.Packaging.Set(&v) +} + +// SetPackagingNil sets the value for Packaging to be an explicit nil +func (o *MavenPackageUploadRequest) SetPackagingNil() { + o.Packaging.Set(nil) +} + +// UnsetPackaging ensures that no value is present for Packaging, not even an explicit nil +func (o *MavenPackageUploadRequest) UnsetPackaging() { + o.Packaging.Unset() +} + +// GetPomFile returns the PomFile field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *MavenPackageUploadRequest) GetPomFile() string { + if o == nil || isNil(o.PomFile.Get()) { + var ret string + return ret + } + return *o.PomFile.Get() +} + +// GetPomFileOk returns a tuple with the PomFile 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 *MavenPackageUploadRequest) GetPomFileOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.PomFile.Get(), o.PomFile.IsSet() +} + +// HasPomFile returns a boolean if a field has been set. +func (o *MavenPackageUploadRequest) HasPomFile() bool { + if o != nil && o.PomFile.IsSet() { + return true + } + + return false +} + +// SetPomFile gets a reference to the given NullableString and assigns it to the PomFile field. +func (o *MavenPackageUploadRequest) SetPomFile(v string) { + o.PomFile.Set(&v) +} + +// SetPomFileNil sets the value for PomFile to be an explicit nil +func (o *MavenPackageUploadRequest) SetPomFileNil() { + o.PomFile.Set(nil) +} + +// UnsetPomFile ensures that no value is present for PomFile, not even an explicit nil +func (o *MavenPackageUploadRequest) UnsetPomFile() { + o.PomFile.Unset() +} + +// GetRepublish returns the Republish field value if set, zero value otherwise. +func (o *MavenPackageUploadRequest) GetRepublish() bool { + if o == nil || isNil(o.Republish) { + var ret bool + return ret + } + return *o.Republish +} + +// GetRepublishOk returns a tuple with the Republish field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *MavenPackageUploadRequest) GetRepublishOk() (*bool, bool) { + if o == nil || isNil(o.Republish) { + return nil, false + } + return o.Republish, true +} + +// HasRepublish returns a boolean if a field has been set. +func (o *MavenPackageUploadRequest) HasRepublish() bool { + if o != nil && !isNil(o.Republish) { + return true + } + + return false +} + +// SetRepublish gets a reference to the given bool and assigns it to the Republish field. +func (o *MavenPackageUploadRequest) SetRepublish(v bool) { + o.Republish = &v +} + +// GetSourcesFile returns the SourcesFile field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *MavenPackageUploadRequest) GetSourcesFile() string { + if o == nil || isNil(o.SourcesFile.Get()) { + var ret string + return ret + } + return *o.SourcesFile.Get() +} + +// GetSourcesFileOk returns a tuple with the SourcesFile 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 *MavenPackageUploadRequest) GetSourcesFileOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.SourcesFile.Get(), o.SourcesFile.IsSet() +} + +// HasSourcesFile returns a boolean if a field has been set. +func (o *MavenPackageUploadRequest) HasSourcesFile() bool { + if o != nil && o.SourcesFile.IsSet() { + return true + } + + return false +} + +// SetSourcesFile gets a reference to the given NullableString and assigns it to the SourcesFile field. +func (o *MavenPackageUploadRequest) SetSourcesFile(v string) { + o.SourcesFile.Set(&v) +} + +// SetSourcesFileNil sets the value for SourcesFile to be an explicit nil +func (o *MavenPackageUploadRequest) SetSourcesFileNil() { + o.SourcesFile.Set(nil) +} + +// UnsetSourcesFile ensures that no value is present for SourcesFile, not even an explicit nil +func (o *MavenPackageUploadRequest) UnsetSourcesFile() { + o.SourcesFile.Unset() +} + +// GetTags returns the Tags field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *MavenPackageUploadRequest) GetTags() string { + if o == nil || isNil(o.Tags.Get()) { + var ret string + return ret + } + return *o.Tags.Get() +} + +// GetTagsOk returns a tuple with the Tags 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 *MavenPackageUploadRequest) GetTagsOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.Tags.Get(), o.Tags.IsSet() +} + +// HasTags returns a boolean if a field has been set. +func (o *MavenPackageUploadRequest) HasTags() bool { + if o != nil && o.Tags.IsSet() { + return true + } + + return false +} + +// SetTags gets a reference to the given NullableString and assigns it to the Tags field. +func (o *MavenPackageUploadRequest) SetTags(v string) { + o.Tags.Set(&v) +} + +// SetTagsNil sets the value for Tags to be an explicit nil +func (o *MavenPackageUploadRequest) SetTagsNil() { + o.Tags.Set(nil) +} + +// UnsetTags ensures that no value is present for Tags, not even an explicit nil +func (o *MavenPackageUploadRequest) UnsetTags() { + o.Tags.Unset() +} + +// GetTestsFile returns the TestsFile field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *MavenPackageUploadRequest) GetTestsFile() string { + if o == nil || isNil(o.TestsFile.Get()) { + var ret string + return ret + } + return *o.TestsFile.Get() +} + +// GetTestsFileOk returns a tuple with the TestsFile 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 *MavenPackageUploadRequest) GetTestsFileOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.TestsFile.Get(), o.TestsFile.IsSet() +} + +// HasTestsFile returns a boolean if a field has been set. +func (o *MavenPackageUploadRequest) HasTestsFile() bool { + if o != nil && o.TestsFile.IsSet() { + return true + } + + return false +} + +// SetTestsFile gets a reference to the given NullableString and assigns it to the TestsFile field. +func (o *MavenPackageUploadRequest) SetTestsFile(v string) { + o.TestsFile.Set(&v) +} + +// SetTestsFileNil sets the value for TestsFile to be an explicit nil +func (o *MavenPackageUploadRequest) SetTestsFileNil() { + o.TestsFile.Set(nil) +} + +// UnsetTestsFile ensures that no value is present for TestsFile, not even an explicit nil +func (o *MavenPackageUploadRequest) UnsetTestsFile() { + o.TestsFile.Unset() +} + +// GetVersion returns the Version field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *MavenPackageUploadRequest) GetVersion() string { + if o == nil || isNil(o.Version.Get()) { + var ret string + return ret + } + return *o.Version.Get() +} + +// GetVersionOk returns a tuple with the Version 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 *MavenPackageUploadRequest) GetVersionOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.Version.Get(), o.Version.IsSet() +} + +// HasVersion returns a boolean if a field has been set. +func (o *MavenPackageUploadRequest) HasVersion() bool { + if o != nil && o.Version.IsSet() { + return true + } + + return false +} + +// SetVersion gets a reference to the given NullableString and assigns it to the Version field. +func (o *MavenPackageUploadRequest) SetVersion(v string) { + o.Version.Set(&v) +} + +// SetVersionNil sets the value for Version to be an explicit nil +func (o *MavenPackageUploadRequest) SetVersionNil() { + o.Version.Set(nil) +} + +// UnsetVersion ensures that no value is present for Version, not even an explicit nil +func (o *MavenPackageUploadRequest) UnsetVersion() { + o.Version.Unset() +} + +func (o MavenPackageUploadRequest) MarshalJSON() ([]byte, error) { + toSerialize := map[string]interface{}{} + if o.ArtifactId.IsSet() { + toSerialize["artifact_id"] = o.ArtifactId.Get() + } + if o.GroupId.IsSet() { + toSerialize["group_id"] = o.GroupId.Get() + } + if o.JavadocFile.IsSet() { + toSerialize["javadoc_file"] = o.JavadocFile.Get() + } + if true { + toSerialize["package_file"] = o.PackageFile + } + if o.Packaging.IsSet() { + toSerialize["packaging"] = o.Packaging.Get() + } + if o.PomFile.IsSet() { + toSerialize["pom_file"] = o.PomFile.Get() + } + if !isNil(o.Republish) { + toSerialize["republish"] = o.Republish + } + if o.SourcesFile.IsSet() { + toSerialize["sources_file"] = o.SourcesFile.Get() + } + if o.Tags.IsSet() { + toSerialize["tags"] = o.Tags.Get() + } + if o.TestsFile.IsSet() { + toSerialize["tests_file"] = o.TestsFile.Get() + } + if o.Version.IsSet() { + toSerialize["version"] = o.Version.Get() + } + return json.Marshal(toSerialize) +} + +type NullableMavenPackageUploadRequest struct { + value *MavenPackageUploadRequest + isSet bool +} + +func (v NullableMavenPackageUploadRequest) Get() *MavenPackageUploadRequest { + return v.value +} + +func (v *NullableMavenPackageUploadRequest) Set(val *MavenPackageUploadRequest) { + v.value = val + v.isSet = true +} + +func (v NullableMavenPackageUploadRequest) IsSet() bool { + return v.isSet +} + +func (v *NullableMavenPackageUploadRequest) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableMavenPackageUploadRequest(val *MavenPackageUploadRequest) *NullableMavenPackageUploadRequest { + return &NullableMavenPackageUploadRequest{value: val, isSet: true} +} + +func (v NullableMavenPackageUploadRequest) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableMavenPackageUploadRequest) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} diff --git a/model_maven_package_upload_response.go b/model_maven_package_upload_response.go new file mode 100644 index 00000000..6cfbfabb --- /dev/null +++ b/model_maven_package_upload_response.go @@ -0,0 +1,2750 @@ +/* +Cloudsmith API (v1) + +The API to the Cloudsmith Service + +API version: 1.181.6 +Contact: support@cloudsmith.io +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cloudsmith + +import ( + "encoding/json" + "time" +) + +// MavenPackageUploadResponse struct for MavenPackageUploadResponse +type MavenPackageUploadResponse struct { + Architectures []Architecture `json:"architectures,omitempty"` + // The ID of the artifact. + ArtifactId NullableString `json:"artifact_id,omitempty"` + CdnUrl NullableString `json:"cdn_url,omitempty"` + ChecksumMd5 *string `json:"checksum_md5,omitempty"` + ChecksumSha1 *string `json:"checksum_sha1,omitempty"` + ChecksumSha256 *string `json:"checksum_sha256,omitempty"` + ChecksumSha512 *string `json:"checksum_sha512,omitempty"` + // A checksum of all of the package's dependencies. + DependenciesChecksumMd5 *string `json:"dependencies_checksum_md5,omitempty"` + DependenciesUrl *string `json:"dependencies_url,omitempty"` + // A textual description of this package. + Description *string `json:"description,omitempty"` + Distro NullableDistribution `json:"distro,omitempty"` + DistroVersion *DistributionVersion `json:"distro_version,omitempty"` + Downloads *int64 `json:"downloads,omitempty"` + // The epoch of the package version (if any). + Epoch *int64 `json:"epoch,omitempty"` + Extension *string `json:"extension,omitempty"` + Filename *string `json:"filename,omitempty"` + Files []PackageFile `json:"files,omitempty"` + Format *string `json:"format,omitempty"` + FormatUrl *string `json:"format_url,omitempty"` + // Artifact's group ID. + GroupId NullableString `json:"group_id,omitempty"` + // Unique and permanent identifier for the package. + IdentifierPerm *string `json:"identifier_perm,omitempty"` + Indexed *bool `json:"indexed,omitempty"` + IsDownloadable *bool `json:"is_downloadable,omitempty"` + IsQuarantined *bool `json:"is_quarantined,omitempty"` + IsSyncAwaiting *bool `json:"is_sync_awaiting,omitempty"` + IsSyncCompleted *bool `json:"is_sync_completed,omitempty"` + IsSyncFailed *bool `json:"is_sync_failed,omitempty"` + IsSyncInFlight *bool `json:"is_sync_in_flight,omitempty"` + IsSyncInProgress *bool `json:"is_sync_in_progress,omitempty"` + // The license of this package. + License *string `json:"license,omitempty"` + // The name of this package. + Name *string `json:"name,omitempty"` + Namespace *string `json:"namespace,omitempty"` + NamespaceUrl *string `json:"namespace_url,omitempty"` + NumFiles *int64 `json:"num_files,omitempty"` + OriginRepository *string `json:"origin_repository,omitempty"` + OriginRepositoryUrl *string `json:"origin_repository_url,omitempty"` + // The type of package contents. + PackageType *int64 `json:"package_type,omitempty"` + // Artifact's Maven packaging type. + Packaging NullableString `json:"packaging,omitempty"` + // The release of the package version (if any). + Release *string `json:"release,omitempty"` + Repository *string `json:"repository,omitempty"` + RepositoryUrl *string `json:"repository_url,omitempty"` + // The datetime the security scanning was completed. + SecurityScanCompletedAt *time.Time `json:"security_scan_completed_at,omitempty"` + // The datetime the security scanning was started. + SecurityScanStartedAt *time.Time `json:"security_scan_started_at,omitempty"` + SecurityScanStatus NullableString `json:"security_scan_status,omitempty"` + // The datetime the security scanning status was updated. + SecurityScanStatusUpdatedAt *time.Time `json:"security_scan_status_updated_at,omitempty"` + SelfHtmlUrl *string `json:"self_html_url,omitempty"` + SelfUrl *string `json:"self_url,omitempty"` + SignatureUrl NullableString `json:"signature_url,omitempty"` + // The calculated size of the package. + Size *int64 `json:"size,omitempty"` + // The public unique identifier for the package. + Slug *string `json:"slug,omitempty"` + SlugPerm *string `json:"slug_perm,omitempty"` + // The synchronisation (in progress) stage of the package. + Stage *int64 `json:"stage,omitempty"` + StageStr *string `json:"stage_str,omitempty"` + // The datetime the package stage was updated at. + StageUpdatedAt *time.Time `json:"stage_updated_at,omitempty"` + // The synchronisation status of the package. + Status *int64 `json:"status,omitempty"` + // A textual description for the synchronous status reason (if any + StatusReason *string `json:"status_reason,omitempty"` + StatusStr *string `json:"status_str,omitempty"` + // The datetime the package status was updated at. + StatusUpdatedAt *time.Time `json:"status_updated_at,omitempty"` + StatusUrl *string `json:"status_url,omitempty"` + Subtype *string `json:"subtype,omitempty"` + // A one-liner synopsis of this package. + Summary *string `json:"summary,omitempty"` + // The datetime the package sync was finished at. + SyncFinishedAt *time.Time `json:"sync_finished_at,omitempty"` + // Synchronisation progress (from 0-100) + SyncProgress *int64 `json:"sync_progress,omitempty"` + // All tags on the package, grouped by tag type. This includes immutable tags, but doesn't distinguish them from mutable. To see which tags are immutable specifically, see the tags_immutable field. + TagsImmutable map[string]interface{} `json:"tags_immutable,omitempty"` + TypeDisplay *string `json:"type_display,omitempty"` + // The date this package was uploaded. + UploadedAt *time.Time `json:"uploaded_at,omitempty"` + Uploader *string `json:"uploader,omitempty"` + UploaderUrl *string `json:"uploader_url,omitempty"` + // The raw version for this package. + Version NullableString `json:"version,omitempty"` + VersionOrig *string `json:"version_orig,omitempty"` + VulnerabilityScanResultsUrl *string `json:"vulnerability_scan_results_url,omitempty"` +} + +// NewMavenPackageUploadResponse instantiates a new MavenPackageUploadResponse object +// 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 NewMavenPackageUploadResponse() *MavenPackageUploadResponse { + this := MavenPackageUploadResponse{} + return &this +} + +// NewMavenPackageUploadResponseWithDefaults instantiates a new MavenPackageUploadResponse object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewMavenPackageUploadResponseWithDefaults() *MavenPackageUploadResponse { + this := MavenPackageUploadResponse{} + return &this +} + +// GetArchitectures returns the Architectures field value if set, zero value otherwise. +func (o *MavenPackageUploadResponse) GetArchitectures() []Architecture { + if o == nil || isNil(o.Architectures) { + var ret []Architecture + return ret + } + return o.Architectures +} + +// GetArchitecturesOk returns a tuple with the Architectures field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *MavenPackageUploadResponse) GetArchitecturesOk() ([]Architecture, bool) { + if o == nil || isNil(o.Architectures) { + return nil, false + } + return o.Architectures, true +} + +// HasArchitectures returns a boolean if a field has been set. +func (o *MavenPackageUploadResponse) HasArchitectures() bool { + if o != nil && !isNil(o.Architectures) { + return true + } + + return false +} + +// SetArchitectures gets a reference to the given []Architecture and assigns it to the Architectures field. +func (o *MavenPackageUploadResponse) SetArchitectures(v []Architecture) { + o.Architectures = v +} + +// GetArtifactId returns the ArtifactId field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *MavenPackageUploadResponse) GetArtifactId() string { + if o == nil || isNil(o.ArtifactId.Get()) { + var ret string + return ret + } + return *o.ArtifactId.Get() +} + +// GetArtifactIdOk returns a tuple with the ArtifactId 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 *MavenPackageUploadResponse) GetArtifactIdOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.ArtifactId.Get(), o.ArtifactId.IsSet() +} + +// HasArtifactId returns a boolean if a field has been set. +func (o *MavenPackageUploadResponse) HasArtifactId() bool { + if o != nil && o.ArtifactId.IsSet() { + return true + } + + return false +} + +// SetArtifactId gets a reference to the given NullableString and assigns it to the ArtifactId field. +func (o *MavenPackageUploadResponse) SetArtifactId(v string) { + o.ArtifactId.Set(&v) +} + +// SetArtifactIdNil sets the value for ArtifactId to be an explicit nil +func (o *MavenPackageUploadResponse) SetArtifactIdNil() { + o.ArtifactId.Set(nil) +} + +// UnsetArtifactId ensures that no value is present for ArtifactId, not even an explicit nil +func (o *MavenPackageUploadResponse) UnsetArtifactId() { + o.ArtifactId.Unset() +} + +// GetCdnUrl returns the CdnUrl field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *MavenPackageUploadResponse) GetCdnUrl() string { + if o == nil || isNil(o.CdnUrl.Get()) { + var ret string + return ret + } + return *o.CdnUrl.Get() +} + +// GetCdnUrlOk returns a tuple with the CdnUrl 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 *MavenPackageUploadResponse) GetCdnUrlOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.CdnUrl.Get(), o.CdnUrl.IsSet() +} + +// HasCdnUrl returns a boolean if a field has been set. +func (o *MavenPackageUploadResponse) HasCdnUrl() bool { + if o != nil && o.CdnUrl.IsSet() { + return true + } + + return false +} + +// SetCdnUrl gets a reference to the given NullableString and assigns it to the CdnUrl field. +func (o *MavenPackageUploadResponse) SetCdnUrl(v string) { + o.CdnUrl.Set(&v) +} + +// SetCdnUrlNil sets the value for CdnUrl to be an explicit nil +func (o *MavenPackageUploadResponse) SetCdnUrlNil() { + o.CdnUrl.Set(nil) +} + +// UnsetCdnUrl ensures that no value is present for CdnUrl, not even an explicit nil +func (o *MavenPackageUploadResponse) UnsetCdnUrl() { + o.CdnUrl.Unset() +} + +// GetChecksumMd5 returns the ChecksumMd5 field value if set, zero value otherwise. +func (o *MavenPackageUploadResponse) GetChecksumMd5() string { + if o == nil || isNil(o.ChecksumMd5) { + var ret string + return ret + } + return *o.ChecksumMd5 +} + +// GetChecksumMd5Ok returns a tuple with the ChecksumMd5 field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *MavenPackageUploadResponse) GetChecksumMd5Ok() (*string, bool) { + if o == nil || isNil(o.ChecksumMd5) { + return nil, false + } + return o.ChecksumMd5, true +} + +// HasChecksumMd5 returns a boolean if a field has been set. +func (o *MavenPackageUploadResponse) HasChecksumMd5() bool { + if o != nil && !isNil(o.ChecksumMd5) { + return true + } + + return false +} + +// SetChecksumMd5 gets a reference to the given string and assigns it to the ChecksumMd5 field. +func (o *MavenPackageUploadResponse) SetChecksumMd5(v string) { + o.ChecksumMd5 = &v +} + +// GetChecksumSha1 returns the ChecksumSha1 field value if set, zero value otherwise. +func (o *MavenPackageUploadResponse) GetChecksumSha1() string { + if o == nil || isNil(o.ChecksumSha1) { + var ret string + return ret + } + return *o.ChecksumSha1 +} + +// GetChecksumSha1Ok returns a tuple with the ChecksumSha1 field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *MavenPackageUploadResponse) GetChecksumSha1Ok() (*string, bool) { + if o == nil || isNil(o.ChecksumSha1) { + return nil, false + } + return o.ChecksumSha1, true +} + +// HasChecksumSha1 returns a boolean if a field has been set. +func (o *MavenPackageUploadResponse) HasChecksumSha1() bool { + if o != nil && !isNil(o.ChecksumSha1) { + return true + } + + return false +} + +// SetChecksumSha1 gets a reference to the given string and assigns it to the ChecksumSha1 field. +func (o *MavenPackageUploadResponse) SetChecksumSha1(v string) { + o.ChecksumSha1 = &v +} + +// GetChecksumSha256 returns the ChecksumSha256 field value if set, zero value otherwise. +func (o *MavenPackageUploadResponse) GetChecksumSha256() string { + if o == nil || isNil(o.ChecksumSha256) { + var ret string + return ret + } + return *o.ChecksumSha256 +} + +// GetChecksumSha256Ok returns a tuple with the ChecksumSha256 field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *MavenPackageUploadResponse) GetChecksumSha256Ok() (*string, bool) { + if o == nil || isNil(o.ChecksumSha256) { + return nil, false + } + return o.ChecksumSha256, true +} + +// HasChecksumSha256 returns a boolean if a field has been set. +func (o *MavenPackageUploadResponse) HasChecksumSha256() bool { + if o != nil && !isNil(o.ChecksumSha256) { + return true + } + + return false +} + +// SetChecksumSha256 gets a reference to the given string and assigns it to the ChecksumSha256 field. +func (o *MavenPackageUploadResponse) SetChecksumSha256(v string) { + o.ChecksumSha256 = &v +} + +// GetChecksumSha512 returns the ChecksumSha512 field value if set, zero value otherwise. +func (o *MavenPackageUploadResponse) GetChecksumSha512() string { + if o == nil || isNil(o.ChecksumSha512) { + var ret string + return ret + } + return *o.ChecksumSha512 +} + +// GetChecksumSha512Ok returns a tuple with the ChecksumSha512 field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *MavenPackageUploadResponse) GetChecksumSha512Ok() (*string, bool) { + if o == nil || isNil(o.ChecksumSha512) { + return nil, false + } + return o.ChecksumSha512, true +} + +// HasChecksumSha512 returns a boolean if a field has been set. +func (o *MavenPackageUploadResponse) HasChecksumSha512() bool { + if o != nil && !isNil(o.ChecksumSha512) { + return true + } + + return false +} + +// SetChecksumSha512 gets a reference to the given string and assigns it to the ChecksumSha512 field. +func (o *MavenPackageUploadResponse) SetChecksumSha512(v string) { + o.ChecksumSha512 = &v +} + +// GetDependenciesChecksumMd5 returns the DependenciesChecksumMd5 field value if set, zero value otherwise. +func (o *MavenPackageUploadResponse) GetDependenciesChecksumMd5() string { + if o == nil || isNil(o.DependenciesChecksumMd5) { + var ret string + return ret + } + return *o.DependenciesChecksumMd5 +} + +// GetDependenciesChecksumMd5Ok returns a tuple with the DependenciesChecksumMd5 field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *MavenPackageUploadResponse) GetDependenciesChecksumMd5Ok() (*string, bool) { + if o == nil || isNil(o.DependenciesChecksumMd5) { + return nil, false + } + return o.DependenciesChecksumMd5, true +} + +// HasDependenciesChecksumMd5 returns a boolean if a field has been set. +func (o *MavenPackageUploadResponse) HasDependenciesChecksumMd5() bool { + if o != nil && !isNil(o.DependenciesChecksumMd5) { + return true + } + + return false +} + +// SetDependenciesChecksumMd5 gets a reference to the given string and assigns it to the DependenciesChecksumMd5 field. +func (o *MavenPackageUploadResponse) SetDependenciesChecksumMd5(v string) { + o.DependenciesChecksumMd5 = &v +} + +// GetDependenciesUrl returns the DependenciesUrl field value if set, zero value otherwise. +func (o *MavenPackageUploadResponse) GetDependenciesUrl() string { + if o == nil || isNil(o.DependenciesUrl) { + var ret string + return ret + } + return *o.DependenciesUrl +} + +// GetDependenciesUrlOk returns a tuple with the DependenciesUrl field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *MavenPackageUploadResponse) GetDependenciesUrlOk() (*string, bool) { + if o == nil || isNil(o.DependenciesUrl) { + return nil, false + } + return o.DependenciesUrl, true +} + +// HasDependenciesUrl returns a boolean if a field has been set. +func (o *MavenPackageUploadResponse) HasDependenciesUrl() bool { + if o != nil && !isNil(o.DependenciesUrl) { + return true + } + + return false +} + +// SetDependenciesUrl gets a reference to the given string and assigns it to the DependenciesUrl field. +func (o *MavenPackageUploadResponse) SetDependenciesUrl(v string) { + o.DependenciesUrl = &v +} + +// GetDescription returns the Description field value if set, zero value otherwise. +func (o *MavenPackageUploadResponse) GetDescription() string { + if o == nil || isNil(o.Description) { + var ret string + return ret + } + return *o.Description +} + +// GetDescriptionOk returns a tuple with the Description field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *MavenPackageUploadResponse) GetDescriptionOk() (*string, bool) { + if o == nil || isNil(o.Description) { + return nil, false + } + return o.Description, true +} + +// HasDescription returns a boolean if a field has been set. +func (o *MavenPackageUploadResponse) HasDescription() bool { + if o != nil && !isNil(o.Description) { + return true + } + + return false +} + +// SetDescription gets a reference to the given string and assigns it to the Description field. +func (o *MavenPackageUploadResponse) SetDescription(v string) { + o.Description = &v +} + +// GetDistro returns the Distro field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *MavenPackageUploadResponse) GetDistro() Distribution { + if o == nil || isNil(o.Distro.Get()) { + var ret Distribution + return ret + } + return *o.Distro.Get() +} + +// GetDistroOk returns a tuple with the Distro 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 *MavenPackageUploadResponse) GetDistroOk() (*Distribution, bool) { + if o == nil { + return nil, false + } + return o.Distro.Get(), o.Distro.IsSet() +} + +// HasDistro returns a boolean if a field has been set. +func (o *MavenPackageUploadResponse) HasDistro() bool { + if o != nil && o.Distro.IsSet() { + return true + } + + return false +} + +// SetDistro gets a reference to the given NullableDistribution and assigns it to the Distro field. +func (o *MavenPackageUploadResponse) SetDistro(v Distribution) { + o.Distro.Set(&v) +} + +// SetDistroNil sets the value for Distro to be an explicit nil +func (o *MavenPackageUploadResponse) SetDistroNil() { + o.Distro.Set(nil) +} + +// UnsetDistro ensures that no value is present for Distro, not even an explicit nil +func (o *MavenPackageUploadResponse) UnsetDistro() { + o.Distro.Unset() +} + +// GetDistroVersion returns the DistroVersion field value if set, zero value otherwise. +func (o *MavenPackageUploadResponse) GetDistroVersion() DistributionVersion { + if o == nil || isNil(o.DistroVersion) { + var ret DistributionVersion + return ret + } + return *o.DistroVersion +} + +// GetDistroVersionOk returns a tuple with the DistroVersion field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *MavenPackageUploadResponse) GetDistroVersionOk() (*DistributionVersion, bool) { + if o == nil || isNil(o.DistroVersion) { + return nil, false + } + return o.DistroVersion, true +} + +// HasDistroVersion returns a boolean if a field has been set. +func (o *MavenPackageUploadResponse) HasDistroVersion() bool { + if o != nil && !isNil(o.DistroVersion) { + return true + } + + return false +} + +// SetDistroVersion gets a reference to the given DistributionVersion and assigns it to the DistroVersion field. +func (o *MavenPackageUploadResponse) SetDistroVersion(v DistributionVersion) { + o.DistroVersion = &v +} + +// GetDownloads returns the Downloads field value if set, zero value otherwise. +func (o *MavenPackageUploadResponse) GetDownloads() int64 { + if o == nil || isNil(o.Downloads) { + var ret int64 + return ret + } + return *o.Downloads +} + +// GetDownloadsOk returns a tuple with the Downloads field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *MavenPackageUploadResponse) GetDownloadsOk() (*int64, bool) { + if o == nil || isNil(o.Downloads) { + return nil, false + } + return o.Downloads, true +} + +// HasDownloads returns a boolean if a field has been set. +func (o *MavenPackageUploadResponse) HasDownloads() bool { + if o != nil && !isNil(o.Downloads) { + return true + } + + return false +} + +// SetDownloads gets a reference to the given int64 and assigns it to the Downloads field. +func (o *MavenPackageUploadResponse) SetDownloads(v int64) { + o.Downloads = &v +} + +// GetEpoch returns the Epoch field value if set, zero value otherwise. +func (o *MavenPackageUploadResponse) GetEpoch() int64 { + if o == nil || isNil(o.Epoch) { + var ret int64 + return ret + } + return *o.Epoch +} + +// GetEpochOk returns a tuple with the Epoch field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *MavenPackageUploadResponse) GetEpochOk() (*int64, bool) { + if o == nil || isNil(o.Epoch) { + return nil, false + } + return o.Epoch, true +} + +// HasEpoch returns a boolean if a field has been set. +func (o *MavenPackageUploadResponse) HasEpoch() bool { + if o != nil && !isNil(o.Epoch) { + return true + } + + return false +} + +// SetEpoch gets a reference to the given int64 and assigns it to the Epoch field. +func (o *MavenPackageUploadResponse) SetEpoch(v int64) { + o.Epoch = &v +} + +// GetExtension returns the Extension field value if set, zero value otherwise. +func (o *MavenPackageUploadResponse) GetExtension() string { + if o == nil || isNil(o.Extension) { + var ret string + return ret + } + return *o.Extension +} + +// GetExtensionOk returns a tuple with the Extension field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *MavenPackageUploadResponse) GetExtensionOk() (*string, bool) { + if o == nil || isNil(o.Extension) { + return nil, false + } + return o.Extension, true +} + +// HasExtension returns a boolean if a field has been set. +func (o *MavenPackageUploadResponse) HasExtension() bool { + if o != nil && !isNil(o.Extension) { + return true + } + + return false +} + +// SetExtension gets a reference to the given string and assigns it to the Extension field. +func (o *MavenPackageUploadResponse) SetExtension(v string) { + o.Extension = &v +} + +// GetFilename returns the Filename field value if set, zero value otherwise. +func (o *MavenPackageUploadResponse) GetFilename() string { + if o == nil || isNil(o.Filename) { + var ret string + return ret + } + return *o.Filename +} + +// GetFilenameOk returns a tuple with the Filename field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *MavenPackageUploadResponse) GetFilenameOk() (*string, bool) { + if o == nil || isNil(o.Filename) { + return nil, false + } + return o.Filename, true +} + +// HasFilename returns a boolean if a field has been set. +func (o *MavenPackageUploadResponse) HasFilename() bool { + if o != nil && !isNil(o.Filename) { + return true + } + + return false +} + +// SetFilename gets a reference to the given string and assigns it to the Filename field. +func (o *MavenPackageUploadResponse) SetFilename(v string) { + o.Filename = &v +} + +// GetFiles returns the Files field value if set, zero value otherwise. +func (o *MavenPackageUploadResponse) GetFiles() []PackageFile { + if o == nil || isNil(o.Files) { + var ret []PackageFile + return ret + } + return o.Files +} + +// GetFilesOk returns a tuple with the Files field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *MavenPackageUploadResponse) GetFilesOk() ([]PackageFile, bool) { + if o == nil || isNil(o.Files) { + return nil, false + } + return o.Files, true +} + +// HasFiles returns a boolean if a field has been set. +func (o *MavenPackageUploadResponse) HasFiles() bool { + if o != nil && !isNil(o.Files) { + return true + } + + return false +} + +// SetFiles gets a reference to the given []PackageFile and assigns it to the Files field. +func (o *MavenPackageUploadResponse) SetFiles(v []PackageFile) { + o.Files = v +} + +// GetFormat returns the Format field value if set, zero value otherwise. +func (o *MavenPackageUploadResponse) GetFormat() string { + if o == nil || isNil(o.Format) { + var ret string + return ret + } + return *o.Format +} + +// GetFormatOk returns a tuple with the Format field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *MavenPackageUploadResponse) GetFormatOk() (*string, bool) { + if o == nil || isNil(o.Format) { + return nil, false + } + return o.Format, true +} + +// HasFormat returns a boolean if a field has been set. +func (o *MavenPackageUploadResponse) HasFormat() bool { + if o != nil && !isNil(o.Format) { + return true + } + + return false +} + +// SetFormat gets a reference to the given string and assigns it to the Format field. +func (o *MavenPackageUploadResponse) SetFormat(v string) { + o.Format = &v +} + +// GetFormatUrl returns the FormatUrl field value if set, zero value otherwise. +func (o *MavenPackageUploadResponse) GetFormatUrl() string { + if o == nil || isNil(o.FormatUrl) { + var ret string + return ret + } + return *o.FormatUrl +} + +// GetFormatUrlOk returns a tuple with the FormatUrl field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *MavenPackageUploadResponse) GetFormatUrlOk() (*string, bool) { + if o == nil || isNil(o.FormatUrl) { + return nil, false + } + return o.FormatUrl, true +} + +// HasFormatUrl returns a boolean if a field has been set. +func (o *MavenPackageUploadResponse) HasFormatUrl() bool { + if o != nil && !isNil(o.FormatUrl) { + return true + } + + return false +} + +// SetFormatUrl gets a reference to the given string and assigns it to the FormatUrl field. +func (o *MavenPackageUploadResponse) SetFormatUrl(v string) { + o.FormatUrl = &v +} + +// GetGroupId returns the GroupId field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *MavenPackageUploadResponse) GetGroupId() string { + if o == nil || isNil(o.GroupId.Get()) { + var ret string + return ret + } + return *o.GroupId.Get() +} + +// GetGroupIdOk returns a tuple with the GroupId 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 *MavenPackageUploadResponse) GetGroupIdOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.GroupId.Get(), o.GroupId.IsSet() +} + +// HasGroupId returns a boolean if a field has been set. +func (o *MavenPackageUploadResponse) HasGroupId() bool { + if o != nil && o.GroupId.IsSet() { + return true + } + + return false +} + +// SetGroupId gets a reference to the given NullableString and assigns it to the GroupId field. +func (o *MavenPackageUploadResponse) SetGroupId(v string) { + o.GroupId.Set(&v) +} + +// SetGroupIdNil sets the value for GroupId to be an explicit nil +func (o *MavenPackageUploadResponse) SetGroupIdNil() { + o.GroupId.Set(nil) +} + +// UnsetGroupId ensures that no value is present for GroupId, not even an explicit nil +func (o *MavenPackageUploadResponse) UnsetGroupId() { + o.GroupId.Unset() +} + +// GetIdentifierPerm returns the IdentifierPerm field value if set, zero value otherwise. +func (o *MavenPackageUploadResponse) GetIdentifierPerm() string { + if o == nil || isNil(o.IdentifierPerm) { + var ret string + return ret + } + return *o.IdentifierPerm +} + +// GetIdentifierPermOk returns a tuple with the IdentifierPerm field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *MavenPackageUploadResponse) GetIdentifierPermOk() (*string, bool) { + if o == nil || isNil(o.IdentifierPerm) { + return nil, false + } + return o.IdentifierPerm, true +} + +// HasIdentifierPerm returns a boolean if a field has been set. +func (o *MavenPackageUploadResponse) HasIdentifierPerm() bool { + if o != nil && !isNil(o.IdentifierPerm) { + return true + } + + return false +} + +// SetIdentifierPerm gets a reference to the given string and assigns it to the IdentifierPerm field. +func (o *MavenPackageUploadResponse) SetIdentifierPerm(v string) { + o.IdentifierPerm = &v +} + +// GetIndexed returns the Indexed field value if set, zero value otherwise. +func (o *MavenPackageUploadResponse) GetIndexed() bool { + if o == nil || isNil(o.Indexed) { + var ret bool + return ret + } + return *o.Indexed +} + +// GetIndexedOk returns a tuple with the Indexed field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *MavenPackageUploadResponse) GetIndexedOk() (*bool, bool) { + if o == nil || isNil(o.Indexed) { + return nil, false + } + return o.Indexed, true +} + +// HasIndexed returns a boolean if a field has been set. +func (o *MavenPackageUploadResponse) HasIndexed() bool { + if o != nil && !isNil(o.Indexed) { + return true + } + + return false +} + +// SetIndexed gets a reference to the given bool and assigns it to the Indexed field. +func (o *MavenPackageUploadResponse) SetIndexed(v bool) { + o.Indexed = &v +} + +// GetIsDownloadable returns the IsDownloadable field value if set, zero value otherwise. +func (o *MavenPackageUploadResponse) GetIsDownloadable() bool { + if o == nil || isNil(o.IsDownloadable) { + var ret bool + return ret + } + return *o.IsDownloadable +} + +// GetIsDownloadableOk returns a tuple with the IsDownloadable field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *MavenPackageUploadResponse) GetIsDownloadableOk() (*bool, bool) { + if o == nil || isNil(o.IsDownloadable) { + return nil, false + } + return o.IsDownloadable, true +} + +// HasIsDownloadable returns a boolean if a field has been set. +func (o *MavenPackageUploadResponse) HasIsDownloadable() bool { + if o != nil && !isNil(o.IsDownloadable) { + return true + } + + return false +} + +// SetIsDownloadable gets a reference to the given bool and assigns it to the IsDownloadable field. +func (o *MavenPackageUploadResponse) SetIsDownloadable(v bool) { + o.IsDownloadable = &v +} + +// GetIsQuarantined returns the IsQuarantined field value if set, zero value otherwise. +func (o *MavenPackageUploadResponse) GetIsQuarantined() bool { + if o == nil || isNil(o.IsQuarantined) { + var ret bool + return ret + } + return *o.IsQuarantined +} + +// GetIsQuarantinedOk returns a tuple with the IsQuarantined field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *MavenPackageUploadResponse) GetIsQuarantinedOk() (*bool, bool) { + if o == nil || isNil(o.IsQuarantined) { + return nil, false + } + return o.IsQuarantined, true +} + +// HasIsQuarantined returns a boolean if a field has been set. +func (o *MavenPackageUploadResponse) HasIsQuarantined() bool { + if o != nil && !isNil(o.IsQuarantined) { + return true + } + + return false +} + +// SetIsQuarantined gets a reference to the given bool and assigns it to the IsQuarantined field. +func (o *MavenPackageUploadResponse) SetIsQuarantined(v bool) { + o.IsQuarantined = &v +} + +// GetIsSyncAwaiting returns the IsSyncAwaiting field value if set, zero value otherwise. +func (o *MavenPackageUploadResponse) GetIsSyncAwaiting() bool { + if o == nil || isNil(o.IsSyncAwaiting) { + var ret bool + return ret + } + return *o.IsSyncAwaiting +} + +// GetIsSyncAwaitingOk returns a tuple with the IsSyncAwaiting field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *MavenPackageUploadResponse) GetIsSyncAwaitingOk() (*bool, bool) { + if o == nil || isNil(o.IsSyncAwaiting) { + return nil, false + } + return o.IsSyncAwaiting, true +} + +// HasIsSyncAwaiting returns a boolean if a field has been set. +func (o *MavenPackageUploadResponse) HasIsSyncAwaiting() bool { + if o != nil && !isNil(o.IsSyncAwaiting) { + return true + } + + return false +} + +// SetIsSyncAwaiting gets a reference to the given bool and assigns it to the IsSyncAwaiting field. +func (o *MavenPackageUploadResponse) SetIsSyncAwaiting(v bool) { + o.IsSyncAwaiting = &v +} + +// GetIsSyncCompleted returns the IsSyncCompleted field value if set, zero value otherwise. +func (o *MavenPackageUploadResponse) GetIsSyncCompleted() bool { + if o == nil || isNil(o.IsSyncCompleted) { + var ret bool + return ret + } + return *o.IsSyncCompleted +} + +// GetIsSyncCompletedOk returns a tuple with the IsSyncCompleted field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *MavenPackageUploadResponse) GetIsSyncCompletedOk() (*bool, bool) { + if o == nil || isNil(o.IsSyncCompleted) { + return nil, false + } + return o.IsSyncCompleted, true +} + +// HasIsSyncCompleted returns a boolean if a field has been set. +func (o *MavenPackageUploadResponse) HasIsSyncCompleted() bool { + if o != nil && !isNil(o.IsSyncCompleted) { + return true + } + + return false +} + +// SetIsSyncCompleted gets a reference to the given bool and assigns it to the IsSyncCompleted field. +func (o *MavenPackageUploadResponse) SetIsSyncCompleted(v bool) { + o.IsSyncCompleted = &v +} + +// GetIsSyncFailed returns the IsSyncFailed field value if set, zero value otherwise. +func (o *MavenPackageUploadResponse) GetIsSyncFailed() bool { + if o == nil || isNil(o.IsSyncFailed) { + var ret bool + return ret + } + return *o.IsSyncFailed +} + +// GetIsSyncFailedOk returns a tuple with the IsSyncFailed field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *MavenPackageUploadResponse) GetIsSyncFailedOk() (*bool, bool) { + if o == nil || isNil(o.IsSyncFailed) { + return nil, false + } + return o.IsSyncFailed, true +} + +// HasIsSyncFailed returns a boolean if a field has been set. +func (o *MavenPackageUploadResponse) HasIsSyncFailed() bool { + if o != nil && !isNil(o.IsSyncFailed) { + return true + } + + return false +} + +// SetIsSyncFailed gets a reference to the given bool and assigns it to the IsSyncFailed field. +func (o *MavenPackageUploadResponse) SetIsSyncFailed(v bool) { + o.IsSyncFailed = &v +} + +// GetIsSyncInFlight returns the IsSyncInFlight field value if set, zero value otherwise. +func (o *MavenPackageUploadResponse) GetIsSyncInFlight() bool { + if o == nil || isNil(o.IsSyncInFlight) { + var ret bool + return ret + } + return *o.IsSyncInFlight +} + +// GetIsSyncInFlightOk returns a tuple with the IsSyncInFlight field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *MavenPackageUploadResponse) GetIsSyncInFlightOk() (*bool, bool) { + if o == nil || isNil(o.IsSyncInFlight) { + return nil, false + } + return o.IsSyncInFlight, true +} + +// HasIsSyncInFlight returns a boolean if a field has been set. +func (o *MavenPackageUploadResponse) HasIsSyncInFlight() bool { + if o != nil && !isNil(o.IsSyncInFlight) { + return true + } + + return false +} + +// SetIsSyncInFlight gets a reference to the given bool and assigns it to the IsSyncInFlight field. +func (o *MavenPackageUploadResponse) SetIsSyncInFlight(v bool) { + o.IsSyncInFlight = &v +} + +// GetIsSyncInProgress returns the IsSyncInProgress field value if set, zero value otherwise. +func (o *MavenPackageUploadResponse) GetIsSyncInProgress() bool { + if o == nil || isNil(o.IsSyncInProgress) { + var ret bool + return ret + } + return *o.IsSyncInProgress +} + +// GetIsSyncInProgressOk returns a tuple with the IsSyncInProgress field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *MavenPackageUploadResponse) GetIsSyncInProgressOk() (*bool, bool) { + if o == nil || isNil(o.IsSyncInProgress) { + return nil, false + } + return o.IsSyncInProgress, true +} + +// HasIsSyncInProgress returns a boolean if a field has been set. +func (o *MavenPackageUploadResponse) HasIsSyncInProgress() bool { + if o != nil && !isNil(o.IsSyncInProgress) { + return true + } + + return false +} + +// SetIsSyncInProgress gets a reference to the given bool and assigns it to the IsSyncInProgress field. +func (o *MavenPackageUploadResponse) SetIsSyncInProgress(v bool) { + o.IsSyncInProgress = &v +} + +// GetLicense returns the License field value if set, zero value otherwise. +func (o *MavenPackageUploadResponse) GetLicense() string { + if o == nil || isNil(o.License) { + var ret string + return ret + } + return *o.License +} + +// GetLicenseOk returns a tuple with the License field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *MavenPackageUploadResponse) GetLicenseOk() (*string, bool) { + if o == nil || isNil(o.License) { + return nil, false + } + return o.License, true +} + +// HasLicense returns a boolean if a field has been set. +func (o *MavenPackageUploadResponse) HasLicense() bool { + if o != nil && !isNil(o.License) { + return true + } + + return false +} + +// SetLicense gets a reference to the given string and assigns it to the License field. +func (o *MavenPackageUploadResponse) SetLicense(v string) { + o.License = &v +} + +// GetName returns the Name field value if set, zero value otherwise. +func (o *MavenPackageUploadResponse) GetName() string { + if o == nil || isNil(o.Name) { + var ret string + return ret + } + return *o.Name +} + +// GetNameOk returns a tuple with the Name field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *MavenPackageUploadResponse) GetNameOk() (*string, bool) { + if o == nil || isNil(o.Name) { + return nil, false + } + return o.Name, true +} + +// HasName returns a boolean if a field has been set. +func (o *MavenPackageUploadResponse) HasName() bool { + if o != nil && !isNil(o.Name) { + return true + } + + return false +} + +// SetName gets a reference to the given string and assigns it to the Name field. +func (o *MavenPackageUploadResponse) SetName(v string) { + o.Name = &v +} + +// GetNamespace returns the Namespace field value if set, zero value otherwise. +func (o *MavenPackageUploadResponse) GetNamespace() string { + if o == nil || isNil(o.Namespace) { + var ret string + return ret + } + return *o.Namespace +} + +// GetNamespaceOk returns a tuple with the Namespace field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *MavenPackageUploadResponse) GetNamespaceOk() (*string, bool) { + if o == nil || isNil(o.Namespace) { + return nil, false + } + return o.Namespace, true +} + +// HasNamespace returns a boolean if a field has been set. +func (o *MavenPackageUploadResponse) HasNamespace() bool { + if o != nil && !isNil(o.Namespace) { + return true + } + + return false +} + +// SetNamespace gets a reference to the given string and assigns it to the Namespace field. +func (o *MavenPackageUploadResponse) SetNamespace(v string) { + o.Namespace = &v +} + +// GetNamespaceUrl returns the NamespaceUrl field value if set, zero value otherwise. +func (o *MavenPackageUploadResponse) GetNamespaceUrl() string { + if o == nil || isNil(o.NamespaceUrl) { + var ret string + return ret + } + return *o.NamespaceUrl +} + +// GetNamespaceUrlOk returns a tuple with the NamespaceUrl field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *MavenPackageUploadResponse) GetNamespaceUrlOk() (*string, bool) { + if o == nil || isNil(o.NamespaceUrl) { + return nil, false + } + return o.NamespaceUrl, true +} + +// HasNamespaceUrl returns a boolean if a field has been set. +func (o *MavenPackageUploadResponse) HasNamespaceUrl() bool { + if o != nil && !isNil(o.NamespaceUrl) { + return true + } + + return false +} + +// SetNamespaceUrl gets a reference to the given string and assigns it to the NamespaceUrl field. +func (o *MavenPackageUploadResponse) SetNamespaceUrl(v string) { + o.NamespaceUrl = &v +} + +// GetNumFiles returns the NumFiles field value if set, zero value otherwise. +func (o *MavenPackageUploadResponse) GetNumFiles() int64 { + if o == nil || isNil(o.NumFiles) { + var ret int64 + return ret + } + return *o.NumFiles +} + +// GetNumFilesOk returns a tuple with the NumFiles field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *MavenPackageUploadResponse) GetNumFilesOk() (*int64, bool) { + if o == nil || isNil(o.NumFiles) { + return nil, false + } + return o.NumFiles, true +} + +// HasNumFiles returns a boolean if a field has been set. +func (o *MavenPackageUploadResponse) HasNumFiles() bool { + if o != nil && !isNil(o.NumFiles) { + return true + } + + return false +} + +// SetNumFiles gets a reference to the given int64 and assigns it to the NumFiles field. +func (o *MavenPackageUploadResponse) SetNumFiles(v int64) { + o.NumFiles = &v +} + +// GetOriginRepository returns the OriginRepository field value if set, zero value otherwise. +func (o *MavenPackageUploadResponse) GetOriginRepository() string { + if o == nil || isNil(o.OriginRepository) { + var ret string + return ret + } + return *o.OriginRepository +} + +// GetOriginRepositoryOk returns a tuple with the OriginRepository field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *MavenPackageUploadResponse) GetOriginRepositoryOk() (*string, bool) { + if o == nil || isNil(o.OriginRepository) { + return nil, false + } + return o.OriginRepository, true +} + +// HasOriginRepository returns a boolean if a field has been set. +func (o *MavenPackageUploadResponse) HasOriginRepository() bool { + if o != nil && !isNil(o.OriginRepository) { + return true + } + + return false +} + +// SetOriginRepository gets a reference to the given string and assigns it to the OriginRepository field. +func (o *MavenPackageUploadResponse) SetOriginRepository(v string) { + o.OriginRepository = &v +} + +// GetOriginRepositoryUrl returns the OriginRepositoryUrl field value if set, zero value otherwise. +func (o *MavenPackageUploadResponse) GetOriginRepositoryUrl() string { + if o == nil || isNil(o.OriginRepositoryUrl) { + var ret string + return ret + } + return *o.OriginRepositoryUrl +} + +// GetOriginRepositoryUrlOk returns a tuple with the OriginRepositoryUrl field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *MavenPackageUploadResponse) GetOriginRepositoryUrlOk() (*string, bool) { + if o == nil || isNil(o.OriginRepositoryUrl) { + return nil, false + } + return o.OriginRepositoryUrl, true +} + +// HasOriginRepositoryUrl returns a boolean if a field has been set. +func (o *MavenPackageUploadResponse) HasOriginRepositoryUrl() bool { + if o != nil && !isNil(o.OriginRepositoryUrl) { + return true + } + + return false +} + +// SetOriginRepositoryUrl gets a reference to the given string and assigns it to the OriginRepositoryUrl field. +func (o *MavenPackageUploadResponse) SetOriginRepositoryUrl(v string) { + o.OriginRepositoryUrl = &v +} + +// GetPackageType returns the PackageType field value if set, zero value otherwise. +func (o *MavenPackageUploadResponse) GetPackageType() int64 { + if o == nil || isNil(o.PackageType) { + var ret int64 + return ret + } + return *o.PackageType +} + +// GetPackageTypeOk returns a tuple with the PackageType field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *MavenPackageUploadResponse) GetPackageTypeOk() (*int64, bool) { + if o == nil || isNil(o.PackageType) { + return nil, false + } + return o.PackageType, true +} + +// HasPackageType returns a boolean if a field has been set. +func (o *MavenPackageUploadResponse) HasPackageType() bool { + if o != nil && !isNil(o.PackageType) { + return true + } + + return false +} + +// SetPackageType gets a reference to the given int64 and assigns it to the PackageType field. +func (o *MavenPackageUploadResponse) SetPackageType(v int64) { + o.PackageType = &v +} + +// GetPackaging returns the Packaging field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *MavenPackageUploadResponse) GetPackaging() string { + if o == nil || isNil(o.Packaging.Get()) { + var ret string + return ret + } + return *o.Packaging.Get() +} + +// GetPackagingOk returns a tuple with the Packaging 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 *MavenPackageUploadResponse) GetPackagingOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.Packaging.Get(), o.Packaging.IsSet() +} + +// HasPackaging returns a boolean if a field has been set. +func (o *MavenPackageUploadResponse) HasPackaging() bool { + if o != nil && o.Packaging.IsSet() { + return true + } + + return false +} + +// SetPackaging gets a reference to the given NullableString and assigns it to the Packaging field. +func (o *MavenPackageUploadResponse) SetPackaging(v string) { + o.Packaging.Set(&v) +} + +// SetPackagingNil sets the value for Packaging to be an explicit nil +func (o *MavenPackageUploadResponse) SetPackagingNil() { + o.Packaging.Set(nil) +} + +// UnsetPackaging ensures that no value is present for Packaging, not even an explicit nil +func (o *MavenPackageUploadResponse) UnsetPackaging() { + o.Packaging.Unset() +} + +// GetRelease returns the Release field value if set, zero value otherwise. +func (o *MavenPackageUploadResponse) GetRelease() string { + if o == nil || isNil(o.Release) { + var ret string + return ret + } + return *o.Release +} + +// GetReleaseOk returns a tuple with the Release field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *MavenPackageUploadResponse) GetReleaseOk() (*string, bool) { + if o == nil || isNil(o.Release) { + return nil, false + } + return o.Release, true +} + +// HasRelease returns a boolean if a field has been set. +func (o *MavenPackageUploadResponse) HasRelease() bool { + if o != nil && !isNil(o.Release) { + return true + } + + return false +} + +// SetRelease gets a reference to the given string and assigns it to the Release field. +func (o *MavenPackageUploadResponse) SetRelease(v string) { + o.Release = &v +} + +// GetRepository returns the Repository field value if set, zero value otherwise. +func (o *MavenPackageUploadResponse) GetRepository() string { + if o == nil || isNil(o.Repository) { + var ret string + return ret + } + return *o.Repository +} + +// GetRepositoryOk returns a tuple with the Repository field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *MavenPackageUploadResponse) GetRepositoryOk() (*string, bool) { + if o == nil || isNil(o.Repository) { + return nil, false + } + return o.Repository, true +} + +// HasRepository returns a boolean if a field has been set. +func (o *MavenPackageUploadResponse) HasRepository() bool { + if o != nil && !isNil(o.Repository) { + return true + } + + return false +} + +// SetRepository gets a reference to the given string and assigns it to the Repository field. +func (o *MavenPackageUploadResponse) SetRepository(v string) { + o.Repository = &v +} + +// GetRepositoryUrl returns the RepositoryUrl field value if set, zero value otherwise. +func (o *MavenPackageUploadResponse) GetRepositoryUrl() string { + if o == nil || isNil(o.RepositoryUrl) { + var ret string + return ret + } + return *o.RepositoryUrl +} + +// GetRepositoryUrlOk returns a tuple with the RepositoryUrl field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *MavenPackageUploadResponse) GetRepositoryUrlOk() (*string, bool) { + if o == nil || isNil(o.RepositoryUrl) { + return nil, false + } + return o.RepositoryUrl, true +} + +// HasRepositoryUrl returns a boolean if a field has been set. +func (o *MavenPackageUploadResponse) HasRepositoryUrl() bool { + if o != nil && !isNil(o.RepositoryUrl) { + return true + } + + return false +} + +// SetRepositoryUrl gets a reference to the given string and assigns it to the RepositoryUrl field. +func (o *MavenPackageUploadResponse) SetRepositoryUrl(v string) { + o.RepositoryUrl = &v +} + +// GetSecurityScanCompletedAt returns the SecurityScanCompletedAt field value if set, zero value otherwise. +func (o *MavenPackageUploadResponse) GetSecurityScanCompletedAt() time.Time { + if o == nil || isNil(o.SecurityScanCompletedAt) { + var ret time.Time + return ret + } + return *o.SecurityScanCompletedAt +} + +// GetSecurityScanCompletedAtOk returns a tuple with the SecurityScanCompletedAt field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *MavenPackageUploadResponse) GetSecurityScanCompletedAtOk() (*time.Time, bool) { + if o == nil || isNil(o.SecurityScanCompletedAt) { + return nil, false + } + return o.SecurityScanCompletedAt, true +} + +// HasSecurityScanCompletedAt returns a boolean if a field has been set. +func (o *MavenPackageUploadResponse) HasSecurityScanCompletedAt() bool { + if o != nil && !isNil(o.SecurityScanCompletedAt) { + return true + } + + return false +} + +// SetSecurityScanCompletedAt gets a reference to the given time.Time and assigns it to the SecurityScanCompletedAt field. +func (o *MavenPackageUploadResponse) SetSecurityScanCompletedAt(v time.Time) { + o.SecurityScanCompletedAt = &v +} + +// GetSecurityScanStartedAt returns the SecurityScanStartedAt field value if set, zero value otherwise. +func (o *MavenPackageUploadResponse) GetSecurityScanStartedAt() time.Time { + if o == nil || isNil(o.SecurityScanStartedAt) { + var ret time.Time + return ret + } + return *o.SecurityScanStartedAt +} + +// GetSecurityScanStartedAtOk returns a tuple with the SecurityScanStartedAt field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *MavenPackageUploadResponse) GetSecurityScanStartedAtOk() (*time.Time, bool) { + if o == nil || isNil(o.SecurityScanStartedAt) { + return nil, false + } + return o.SecurityScanStartedAt, true +} + +// HasSecurityScanStartedAt returns a boolean if a field has been set. +func (o *MavenPackageUploadResponse) HasSecurityScanStartedAt() bool { + if o != nil && !isNil(o.SecurityScanStartedAt) { + return true + } + + return false +} + +// SetSecurityScanStartedAt gets a reference to the given time.Time and assigns it to the SecurityScanStartedAt field. +func (o *MavenPackageUploadResponse) SetSecurityScanStartedAt(v time.Time) { + o.SecurityScanStartedAt = &v +} + +// GetSecurityScanStatus returns the SecurityScanStatus field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *MavenPackageUploadResponse) GetSecurityScanStatus() string { + if o == nil || isNil(o.SecurityScanStatus.Get()) { + var ret string + return ret + } + return *o.SecurityScanStatus.Get() +} + +// GetSecurityScanStatusOk returns a tuple with the SecurityScanStatus 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 *MavenPackageUploadResponse) GetSecurityScanStatusOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.SecurityScanStatus.Get(), o.SecurityScanStatus.IsSet() +} + +// HasSecurityScanStatus returns a boolean if a field has been set. +func (o *MavenPackageUploadResponse) HasSecurityScanStatus() bool { + if o != nil && o.SecurityScanStatus.IsSet() { + return true + } + + return false +} + +// SetSecurityScanStatus gets a reference to the given NullableString and assigns it to the SecurityScanStatus field. +func (o *MavenPackageUploadResponse) SetSecurityScanStatus(v string) { + o.SecurityScanStatus.Set(&v) +} + +// SetSecurityScanStatusNil sets the value for SecurityScanStatus to be an explicit nil +func (o *MavenPackageUploadResponse) SetSecurityScanStatusNil() { + o.SecurityScanStatus.Set(nil) +} + +// UnsetSecurityScanStatus ensures that no value is present for SecurityScanStatus, not even an explicit nil +func (o *MavenPackageUploadResponse) UnsetSecurityScanStatus() { + o.SecurityScanStatus.Unset() +} + +// GetSecurityScanStatusUpdatedAt returns the SecurityScanStatusUpdatedAt field value if set, zero value otherwise. +func (o *MavenPackageUploadResponse) GetSecurityScanStatusUpdatedAt() time.Time { + if o == nil || isNil(o.SecurityScanStatusUpdatedAt) { + var ret time.Time + return ret + } + return *o.SecurityScanStatusUpdatedAt +} + +// GetSecurityScanStatusUpdatedAtOk returns a tuple with the SecurityScanStatusUpdatedAt field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *MavenPackageUploadResponse) GetSecurityScanStatusUpdatedAtOk() (*time.Time, bool) { + if o == nil || isNil(o.SecurityScanStatusUpdatedAt) { + return nil, false + } + return o.SecurityScanStatusUpdatedAt, true +} + +// HasSecurityScanStatusUpdatedAt returns a boolean if a field has been set. +func (o *MavenPackageUploadResponse) HasSecurityScanStatusUpdatedAt() bool { + if o != nil && !isNil(o.SecurityScanStatusUpdatedAt) { + return true + } + + return false +} + +// SetSecurityScanStatusUpdatedAt gets a reference to the given time.Time and assigns it to the SecurityScanStatusUpdatedAt field. +func (o *MavenPackageUploadResponse) SetSecurityScanStatusUpdatedAt(v time.Time) { + o.SecurityScanStatusUpdatedAt = &v +} + +// GetSelfHtmlUrl returns the SelfHtmlUrl field value if set, zero value otherwise. +func (o *MavenPackageUploadResponse) GetSelfHtmlUrl() string { + if o == nil || isNil(o.SelfHtmlUrl) { + var ret string + return ret + } + return *o.SelfHtmlUrl +} + +// GetSelfHtmlUrlOk returns a tuple with the SelfHtmlUrl field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *MavenPackageUploadResponse) GetSelfHtmlUrlOk() (*string, bool) { + if o == nil || isNil(o.SelfHtmlUrl) { + return nil, false + } + return o.SelfHtmlUrl, true +} + +// HasSelfHtmlUrl returns a boolean if a field has been set. +func (o *MavenPackageUploadResponse) HasSelfHtmlUrl() bool { + if o != nil && !isNil(o.SelfHtmlUrl) { + return true + } + + return false +} + +// SetSelfHtmlUrl gets a reference to the given string and assigns it to the SelfHtmlUrl field. +func (o *MavenPackageUploadResponse) SetSelfHtmlUrl(v string) { + o.SelfHtmlUrl = &v +} + +// GetSelfUrl returns the SelfUrl field value if set, zero value otherwise. +func (o *MavenPackageUploadResponse) GetSelfUrl() string { + if o == nil || isNil(o.SelfUrl) { + var ret string + return ret + } + return *o.SelfUrl +} + +// GetSelfUrlOk returns a tuple with the SelfUrl field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *MavenPackageUploadResponse) GetSelfUrlOk() (*string, bool) { + if o == nil || isNil(o.SelfUrl) { + return nil, false + } + return o.SelfUrl, true +} + +// HasSelfUrl returns a boolean if a field has been set. +func (o *MavenPackageUploadResponse) HasSelfUrl() bool { + if o != nil && !isNil(o.SelfUrl) { + return true + } + + return false +} + +// SetSelfUrl gets a reference to the given string and assigns it to the SelfUrl field. +func (o *MavenPackageUploadResponse) SetSelfUrl(v string) { + o.SelfUrl = &v +} + +// GetSignatureUrl returns the SignatureUrl field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *MavenPackageUploadResponse) GetSignatureUrl() string { + if o == nil || isNil(o.SignatureUrl.Get()) { + var ret string + return ret + } + return *o.SignatureUrl.Get() +} + +// GetSignatureUrlOk returns a tuple with the SignatureUrl 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 *MavenPackageUploadResponse) GetSignatureUrlOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.SignatureUrl.Get(), o.SignatureUrl.IsSet() +} + +// HasSignatureUrl returns a boolean if a field has been set. +func (o *MavenPackageUploadResponse) HasSignatureUrl() bool { + if o != nil && o.SignatureUrl.IsSet() { + return true + } + + return false +} + +// SetSignatureUrl gets a reference to the given NullableString and assigns it to the SignatureUrl field. +func (o *MavenPackageUploadResponse) SetSignatureUrl(v string) { + o.SignatureUrl.Set(&v) +} + +// SetSignatureUrlNil sets the value for SignatureUrl to be an explicit nil +func (o *MavenPackageUploadResponse) SetSignatureUrlNil() { + o.SignatureUrl.Set(nil) +} + +// UnsetSignatureUrl ensures that no value is present for SignatureUrl, not even an explicit nil +func (o *MavenPackageUploadResponse) UnsetSignatureUrl() { + o.SignatureUrl.Unset() +} + +// GetSize returns the Size field value if set, zero value otherwise. +func (o *MavenPackageUploadResponse) GetSize() int64 { + if o == nil || isNil(o.Size) { + var ret int64 + return ret + } + return *o.Size +} + +// GetSizeOk returns a tuple with the Size field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *MavenPackageUploadResponse) GetSizeOk() (*int64, bool) { + if o == nil || isNil(o.Size) { + return nil, false + } + return o.Size, true +} + +// HasSize returns a boolean if a field has been set. +func (o *MavenPackageUploadResponse) HasSize() bool { + if o != nil && !isNil(o.Size) { + return true + } + + return false +} + +// SetSize gets a reference to the given int64 and assigns it to the Size field. +func (o *MavenPackageUploadResponse) SetSize(v int64) { + o.Size = &v +} + +// GetSlug returns the Slug field value if set, zero value otherwise. +func (o *MavenPackageUploadResponse) GetSlug() string { + if o == nil || isNil(o.Slug) { + var ret string + return ret + } + return *o.Slug +} + +// GetSlugOk returns a tuple with the Slug field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *MavenPackageUploadResponse) GetSlugOk() (*string, bool) { + if o == nil || isNil(o.Slug) { + return nil, false + } + return o.Slug, true +} + +// HasSlug returns a boolean if a field has been set. +func (o *MavenPackageUploadResponse) HasSlug() bool { + if o != nil && !isNil(o.Slug) { + return true + } + + return false +} + +// SetSlug gets a reference to the given string and assigns it to the Slug field. +func (o *MavenPackageUploadResponse) SetSlug(v string) { + o.Slug = &v +} + +// GetSlugPerm returns the SlugPerm field value if set, zero value otherwise. +func (o *MavenPackageUploadResponse) GetSlugPerm() string { + if o == nil || isNil(o.SlugPerm) { + var ret string + return ret + } + return *o.SlugPerm +} + +// GetSlugPermOk returns a tuple with the SlugPerm field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *MavenPackageUploadResponse) GetSlugPermOk() (*string, bool) { + if o == nil || isNil(o.SlugPerm) { + return nil, false + } + return o.SlugPerm, true +} + +// HasSlugPerm returns a boolean if a field has been set. +func (o *MavenPackageUploadResponse) HasSlugPerm() bool { + if o != nil && !isNil(o.SlugPerm) { + return true + } + + return false +} + +// SetSlugPerm gets a reference to the given string and assigns it to the SlugPerm field. +func (o *MavenPackageUploadResponse) SetSlugPerm(v string) { + o.SlugPerm = &v +} + +// GetStage returns the Stage field value if set, zero value otherwise. +func (o *MavenPackageUploadResponse) GetStage() int64 { + if o == nil || isNil(o.Stage) { + var ret int64 + return ret + } + return *o.Stage +} + +// GetStageOk returns a tuple with the Stage field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *MavenPackageUploadResponse) GetStageOk() (*int64, bool) { + if o == nil || isNil(o.Stage) { + return nil, false + } + return o.Stage, true +} + +// HasStage returns a boolean if a field has been set. +func (o *MavenPackageUploadResponse) HasStage() bool { + if o != nil && !isNil(o.Stage) { + return true + } + + return false +} + +// SetStage gets a reference to the given int64 and assigns it to the Stage field. +func (o *MavenPackageUploadResponse) SetStage(v int64) { + o.Stage = &v +} + +// GetStageStr returns the StageStr field value if set, zero value otherwise. +func (o *MavenPackageUploadResponse) GetStageStr() string { + if o == nil || isNil(o.StageStr) { + var ret string + return ret + } + return *o.StageStr +} + +// GetStageStrOk returns a tuple with the StageStr field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *MavenPackageUploadResponse) GetStageStrOk() (*string, bool) { + if o == nil || isNil(o.StageStr) { + return nil, false + } + return o.StageStr, true +} + +// HasStageStr returns a boolean if a field has been set. +func (o *MavenPackageUploadResponse) HasStageStr() bool { + if o != nil && !isNil(o.StageStr) { + return true + } + + return false +} + +// SetStageStr gets a reference to the given string and assigns it to the StageStr field. +func (o *MavenPackageUploadResponse) SetStageStr(v string) { + o.StageStr = &v +} + +// GetStageUpdatedAt returns the StageUpdatedAt field value if set, zero value otherwise. +func (o *MavenPackageUploadResponse) GetStageUpdatedAt() time.Time { + if o == nil || isNil(o.StageUpdatedAt) { + var ret time.Time + return ret + } + return *o.StageUpdatedAt +} + +// GetStageUpdatedAtOk returns a tuple with the StageUpdatedAt field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *MavenPackageUploadResponse) GetStageUpdatedAtOk() (*time.Time, bool) { + if o == nil || isNil(o.StageUpdatedAt) { + return nil, false + } + return o.StageUpdatedAt, true +} + +// HasStageUpdatedAt returns a boolean if a field has been set. +func (o *MavenPackageUploadResponse) HasStageUpdatedAt() bool { + if o != nil && !isNil(o.StageUpdatedAt) { + return true + } + + return false +} + +// SetStageUpdatedAt gets a reference to the given time.Time and assigns it to the StageUpdatedAt field. +func (o *MavenPackageUploadResponse) SetStageUpdatedAt(v time.Time) { + o.StageUpdatedAt = &v +} + +// GetStatus returns the Status field value if set, zero value otherwise. +func (o *MavenPackageUploadResponse) GetStatus() int64 { + if o == nil || isNil(o.Status) { + var ret int64 + return ret + } + return *o.Status +} + +// GetStatusOk returns a tuple with the Status field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *MavenPackageUploadResponse) GetStatusOk() (*int64, bool) { + if o == nil || isNil(o.Status) { + return nil, false + } + return o.Status, true +} + +// HasStatus returns a boolean if a field has been set. +func (o *MavenPackageUploadResponse) HasStatus() bool { + if o != nil && !isNil(o.Status) { + return true + } + + return false +} + +// SetStatus gets a reference to the given int64 and assigns it to the Status field. +func (o *MavenPackageUploadResponse) SetStatus(v int64) { + o.Status = &v +} + +// GetStatusReason returns the StatusReason field value if set, zero value otherwise. +func (o *MavenPackageUploadResponse) GetStatusReason() string { + if o == nil || isNil(o.StatusReason) { + var ret string + return ret + } + return *o.StatusReason +} + +// GetStatusReasonOk returns a tuple with the StatusReason field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *MavenPackageUploadResponse) GetStatusReasonOk() (*string, bool) { + if o == nil || isNil(o.StatusReason) { + return nil, false + } + return o.StatusReason, true +} + +// HasStatusReason returns a boolean if a field has been set. +func (o *MavenPackageUploadResponse) HasStatusReason() bool { + if o != nil && !isNil(o.StatusReason) { + return true + } + + return false +} + +// SetStatusReason gets a reference to the given string and assigns it to the StatusReason field. +func (o *MavenPackageUploadResponse) SetStatusReason(v string) { + o.StatusReason = &v +} + +// GetStatusStr returns the StatusStr field value if set, zero value otherwise. +func (o *MavenPackageUploadResponse) GetStatusStr() string { + if o == nil || isNil(o.StatusStr) { + var ret string + return ret + } + return *o.StatusStr +} + +// GetStatusStrOk returns a tuple with the StatusStr field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *MavenPackageUploadResponse) GetStatusStrOk() (*string, bool) { + if o == nil || isNil(o.StatusStr) { + return nil, false + } + return o.StatusStr, true +} + +// HasStatusStr returns a boolean if a field has been set. +func (o *MavenPackageUploadResponse) HasStatusStr() bool { + if o != nil && !isNil(o.StatusStr) { + return true + } + + return false +} + +// SetStatusStr gets a reference to the given string and assigns it to the StatusStr field. +func (o *MavenPackageUploadResponse) SetStatusStr(v string) { + o.StatusStr = &v +} + +// GetStatusUpdatedAt returns the StatusUpdatedAt field value if set, zero value otherwise. +func (o *MavenPackageUploadResponse) GetStatusUpdatedAt() time.Time { + if o == nil || isNil(o.StatusUpdatedAt) { + var ret time.Time + return ret + } + return *o.StatusUpdatedAt +} + +// GetStatusUpdatedAtOk returns a tuple with the StatusUpdatedAt field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *MavenPackageUploadResponse) GetStatusUpdatedAtOk() (*time.Time, bool) { + if o == nil || isNil(o.StatusUpdatedAt) { + return nil, false + } + return o.StatusUpdatedAt, true +} + +// HasStatusUpdatedAt returns a boolean if a field has been set. +func (o *MavenPackageUploadResponse) HasStatusUpdatedAt() bool { + if o != nil && !isNil(o.StatusUpdatedAt) { + return true + } + + return false +} + +// SetStatusUpdatedAt gets a reference to the given time.Time and assigns it to the StatusUpdatedAt field. +func (o *MavenPackageUploadResponse) SetStatusUpdatedAt(v time.Time) { + o.StatusUpdatedAt = &v +} + +// GetStatusUrl returns the StatusUrl field value if set, zero value otherwise. +func (o *MavenPackageUploadResponse) GetStatusUrl() string { + if o == nil || isNil(o.StatusUrl) { + var ret string + return ret + } + return *o.StatusUrl +} + +// GetStatusUrlOk returns a tuple with the StatusUrl field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *MavenPackageUploadResponse) GetStatusUrlOk() (*string, bool) { + if o == nil || isNil(o.StatusUrl) { + return nil, false + } + return o.StatusUrl, true +} + +// HasStatusUrl returns a boolean if a field has been set. +func (o *MavenPackageUploadResponse) HasStatusUrl() bool { + if o != nil && !isNil(o.StatusUrl) { + return true + } + + return false +} + +// SetStatusUrl gets a reference to the given string and assigns it to the StatusUrl field. +func (o *MavenPackageUploadResponse) SetStatusUrl(v string) { + o.StatusUrl = &v +} + +// GetSubtype returns the Subtype field value if set, zero value otherwise. +func (o *MavenPackageUploadResponse) GetSubtype() string { + if o == nil || isNil(o.Subtype) { + var ret string + return ret + } + return *o.Subtype +} + +// GetSubtypeOk returns a tuple with the Subtype field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *MavenPackageUploadResponse) GetSubtypeOk() (*string, bool) { + if o == nil || isNil(o.Subtype) { + return nil, false + } + return o.Subtype, true +} + +// HasSubtype returns a boolean if a field has been set. +func (o *MavenPackageUploadResponse) HasSubtype() bool { + if o != nil && !isNil(o.Subtype) { + return true + } + + return false +} + +// SetSubtype gets a reference to the given string and assigns it to the Subtype field. +func (o *MavenPackageUploadResponse) SetSubtype(v string) { + o.Subtype = &v +} + +// GetSummary returns the Summary field value if set, zero value otherwise. +func (o *MavenPackageUploadResponse) GetSummary() string { + if o == nil || isNil(o.Summary) { + var ret string + return ret + } + return *o.Summary +} + +// GetSummaryOk returns a tuple with the Summary field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *MavenPackageUploadResponse) GetSummaryOk() (*string, bool) { + if o == nil || isNil(o.Summary) { + return nil, false + } + return o.Summary, true +} + +// HasSummary returns a boolean if a field has been set. +func (o *MavenPackageUploadResponse) HasSummary() bool { + if o != nil && !isNil(o.Summary) { + return true + } + + return false +} + +// SetSummary gets a reference to the given string and assigns it to the Summary field. +func (o *MavenPackageUploadResponse) SetSummary(v string) { + o.Summary = &v +} + +// GetSyncFinishedAt returns the SyncFinishedAt field value if set, zero value otherwise. +func (o *MavenPackageUploadResponse) GetSyncFinishedAt() time.Time { + if o == nil || isNil(o.SyncFinishedAt) { + var ret time.Time + return ret + } + return *o.SyncFinishedAt +} + +// GetSyncFinishedAtOk returns a tuple with the SyncFinishedAt field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *MavenPackageUploadResponse) GetSyncFinishedAtOk() (*time.Time, bool) { + if o == nil || isNil(o.SyncFinishedAt) { + return nil, false + } + return o.SyncFinishedAt, true +} + +// HasSyncFinishedAt returns a boolean if a field has been set. +func (o *MavenPackageUploadResponse) HasSyncFinishedAt() bool { + if o != nil && !isNil(o.SyncFinishedAt) { + return true + } + + return false +} + +// SetSyncFinishedAt gets a reference to the given time.Time and assigns it to the SyncFinishedAt field. +func (o *MavenPackageUploadResponse) SetSyncFinishedAt(v time.Time) { + o.SyncFinishedAt = &v +} + +// GetSyncProgress returns the SyncProgress field value if set, zero value otherwise. +func (o *MavenPackageUploadResponse) GetSyncProgress() int64 { + if o == nil || isNil(o.SyncProgress) { + var ret int64 + return ret + } + return *o.SyncProgress +} + +// GetSyncProgressOk returns a tuple with the SyncProgress field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *MavenPackageUploadResponse) GetSyncProgressOk() (*int64, bool) { + if o == nil || isNil(o.SyncProgress) { + return nil, false + } + return o.SyncProgress, true +} + +// HasSyncProgress returns a boolean if a field has been set. +func (o *MavenPackageUploadResponse) HasSyncProgress() bool { + if o != nil && !isNil(o.SyncProgress) { + return true + } + + return false +} + +// SetSyncProgress gets a reference to the given int64 and assigns it to the SyncProgress field. +func (o *MavenPackageUploadResponse) SetSyncProgress(v int64) { + o.SyncProgress = &v +} + +// GetTagsImmutable returns the TagsImmutable field value if set, zero value otherwise. +func (o *MavenPackageUploadResponse) GetTagsImmutable() map[string]interface{} { + if o == nil || isNil(o.TagsImmutable) { + var ret map[string]interface{} + return ret + } + return o.TagsImmutable +} + +// GetTagsImmutableOk returns a tuple with the TagsImmutable field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *MavenPackageUploadResponse) GetTagsImmutableOk() (map[string]interface{}, bool) { + if o == nil || isNil(o.TagsImmutable) { + return map[string]interface{}{}, false + } + return o.TagsImmutable, true +} + +// HasTagsImmutable returns a boolean if a field has been set. +func (o *MavenPackageUploadResponse) HasTagsImmutable() bool { + if o != nil && !isNil(o.TagsImmutable) { + return true + } + + return false +} + +// SetTagsImmutable gets a reference to the given map[string]interface{} and assigns it to the TagsImmutable field. +func (o *MavenPackageUploadResponse) SetTagsImmutable(v map[string]interface{}) { + o.TagsImmutable = v +} + +// GetTypeDisplay returns the TypeDisplay field value if set, zero value otherwise. +func (o *MavenPackageUploadResponse) GetTypeDisplay() string { + if o == nil || isNil(o.TypeDisplay) { + var ret string + return ret + } + return *o.TypeDisplay +} + +// GetTypeDisplayOk returns a tuple with the TypeDisplay field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *MavenPackageUploadResponse) GetTypeDisplayOk() (*string, bool) { + if o == nil || isNil(o.TypeDisplay) { + return nil, false + } + return o.TypeDisplay, true +} + +// HasTypeDisplay returns a boolean if a field has been set. +func (o *MavenPackageUploadResponse) HasTypeDisplay() bool { + if o != nil && !isNil(o.TypeDisplay) { + return true + } + + return false +} + +// SetTypeDisplay gets a reference to the given string and assigns it to the TypeDisplay field. +func (o *MavenPackageUploadResponse) SetTypeDisplay(v string) { + o.TypeDisplay = &v +} + +// GetUploadedAt returns the UploadedAt field value if set, zero value otherwise. +func (o *MavenPackageUploadResponse) GetUploadedAt() time.Time { + if o == nil || isNil(o.UploadedAt) { + var ret time.Time + return ret + } + return *o.UploadedAt +} + +// GetUploadedAtOk returns a tuple with the UploadedAt field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *MavenPackageUploadResponse) GetUploadedAtOk() (*time.Time, bool) { + if o == nil || isNil(o.UploadedAt) { + return nil, false + } + return o.UploadedAt, true +} + +// HasUploadedAt returns a boolean if a field has been set. +func (o *MavenPackageUploadResponse) HasUploadedAt() bool { + if o != nil && !isNil(o.UploadedAt) { + return true + } + + return false +} + +// SetUploadedAt gets a reference to the given time.Time and assigns it to the UploadedAt field. +func (o *MavenPackageUploadResponse) SetUploadedAt(v time.Time) { + o.UploadedAt = &v +} + +// GetUploader returns the Uploader field value if set, zero value otherwise. +func (o *MavenPackageUploadResponse) GetUploader() string { + if o == nil || isNil(o.Uploader) { + var ret string + return ret + } + return *o.Uploader +} + +// GetUploaderOk returns a tuple with the Uploader field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *MavenPackageUploadResponse) GetUploaderOk() (*string, bool) { + if o == nil || isNil(o.Uploader) { + return nil, false + } + return o.Uploader, true +} + +// HasUploader returns a boolean if a field has been set. +func (o *MavenPackageUploadResponse) HasUploader() bool { + if o != nil && !isNil(o.Uploader) { + return true + } + + return false +} + +// SetUploader gets a reference to the given string and assigns it to the Uploader field. +func (o *MavenPackageUploadResponse) SetUploader(v string) { + o.Uploader = &v +} + +// GetUploaderUrl returns the UploaderUrl field value if set, zero value otherwise. +func (o *MavenPackageUploadResponse) GetUploaderUrl() string { + if o == nil || isNil(o.UploaderUrl) { + var ret string + return ret + } + return *o.UploaderUrl +} + +// GetUploaderUrlOk returns a tuple with the UploaderUrl field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *MavenPackageUploadResponse) GetUploaderUrlOk() (*string, bool) { + if o == nil || isNil(o.UploaderUrl) { + return nil, false + } + return o.UploaderUrl, true +} + +// HasUploaderUrl returns a boolean if a field has been set. +func (o *MavenPackageUploadResponse) HasUploaderUrl() bool { + if o != nil && !isNil(o.UploaderUrl) { + return true + } + + return false +} + +// SetUploaderUrl gets a reference to the given string and assigns it to the UploaderUrl field. +func (o *MavenPackageUploadResponse) SetUploaderUrl(v string) { + o.UploaderUrl = &v +} + +// GetVersion returns the Version field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *MavenPackageUploadResponse) GetVersion() string { + if o == nil || isNil(o.Version.Get()) { + var ret string + return ret + } + return *o.Version.Get() +} + +// GetVersionOk returns a tuple with the Version 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 *MavenPackageUploadResponse) GetVersionOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.Version.Get(), o.Version.IsSet() +} + +// HasVersion returns a boolean if a field has been set. +func (o *MavenPackageUploadResponse) HasVersion() bool { + if o != nil && o.Version.IsSet() { + return true + } + + return false +} + +// SetVersion gets a reference to the given NullableString and assigns it to the Version field. +func (o *MavenPackageUploadResponse) SetVersion(v string) { + o.Version.Set(&v) +} + +// SetVersionNil sets the value for Version to be an explicit nil +func (o *MavenPackageUploadResponse) SetVersionNil() { + o.Version.Set(nil) +} + +// UnsetVersion ensures that no value is present for Version, not even an explicit nil +func (o *MavenPackageUploadResponse) UnsetVersion() { + o.Version.Unset() +} + +// GetVersionOrig returns the VersionOrig field value if set, zero value otherwise. +func (o *MavenPackageUploadResponse) GetVersionOrig() string { + if o == nil || isNil(o.VersionOrig) { + var ret string + return ret + } + return *o.VersionOrig +} + +// GetVersionOrigOk returns a tuple with the VersionOrig field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *MavenPackageUploadResponse) GetVersionOrigOk() (*string, bool) { + if o == nil || isNil(o.VersionOrig) { + return nil, false + } + return o.VersionOrig, true +} + +// HasVersionOrig returns a boolean if a field has been set. +func (o *MavenPackageUploadResponse) HasVersionOrig() bool { + if o != nil && !isNil(o.VersionOrig) { + return true + } + + return false +} + +// SetVersionOrig gets a reference to the given string and assigns it to the VersionOrig field. +func (o *MavenPackageUploadResponse) SetVersionOrig(v string) { + o.VersionOrig = &v +} + +// GetVulnerabilityScanResultsUrl returns the VulnerabilityScanResultsUrl field value if set, zero value otherwise. +func (o *MavenPackageUploadResponse) GetVulnerabilityScanResultsUrl() string { + if o == nil || isNil(o.VulnerabilityScanResultsUrl) { + var ret string + return ret + } + return *o.VulnerabilityScanResultsUrl +} + +// GetVulnerabilityScanResultsUrlOk returns a tuple with the VulnerabilityScanResultsUrl field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *MavenPackageUploadResponse) GetVulnerabilityScanResultsUrlOk() (*string, bool) { + if o == nil || isNil(o.VulnerabilityScanResultsUrl) { + return nil, false + } + return o.VulnerabilityScanResultsUrl, true +} + +// HasVulnerabilityScanResultsUrl returns a boolean if a field has been set. +func (o *MavenPackageUploadResponse) HasVulnerabilityScanResultsUrl() bool { + if o != nil && !isNil(o.VulnerabilityScanResultsUrl) { + return true + } + + return false +} + +// SetVulnerabilityScanResultsUrl gets a reference to the given string and assigns it to the VulnerabilityScanResultsUrl field. +func (o *MavenPackageUploadResponse) SetVulnerabilityScanResultsUrl(v string) { + o.VulnerabilityScanResultsUrl = &v +} + +func (o MavenPackageUploadResponse) MarshalJSON() ([]byte, error) { + toSerialize := map[string]interface{}{} + if !isNil(o.Architectures) { + toSerialize["architectures"] = o.Architectures + } + if o.ArtifactId.IsSet() { + toSerialize["artifact_id"] = o.ArtifactId.Get() + } + if o.CdnUrl.IsSet() { + toSerialize["cdn_url"] = o.CdnUrl.Get() + } + if !isNil(o.ChecksumMd5) { + toSerialize["checksum_md5"] = o.ChecksumMd5 + } + if !isNil(o.ChecksumSha1) { + toSerialize["checksum_sha1"] = o.ChecksumSha1 + } + if !isNil(o.ChecksumSha256) { + toSerialize["checksum_sha256"] = o.ChecksumSha256 + } + if !isNil(o.ChecksumSha512) { + toSerialize["checksum_sha512"] = o.ChecksumSha512 + } + if !isNil(o.DependenciesChecksumMd5) { + toSerialize["dependencies_checksum_md5"] = o.DependenciesChecksumMd5 + } + if !isNil(o.DependenciesUrl) { + toSerialize["dependencies_url"] = o.DependenciesUrl + } + if !isNil(o.Description) { + toSerialize["description"] = o.Description + } + if o.Distro.IsSet() { + toSerialize["distro"] = o.Distro.Get() + } + if !isNil(o.DistroVersion) { + toSerialize["distro_version"] = o.DistroVersion + } + if !isNil(o.Downloads) { + toSerialize["downloads"] = o.Downloads + } + if !isNil(o.Epoch) { + toSerialize["epoch"] = o.Epoch + } + if !isNil(o.Extension) { + toSerialize["extension"] = o.Extension + } + if !isNil(o.Filename) { + toSerialize["filename"] = o.Filename + } + if !isNil(o.Files) { + toSerialize["files"] = o.Files + } + if !isNil(o.Format) { + toSerialize["format"] = o.Format + } + if !isNil(o.FormatUrl) { + toSerialize["format_url"] = o.FormatUrl + } + if o.GroupId.IsSet() { + toSerialize["group_id"] = o.GroupId.Get() + } + if !isNil(o.IdentifierPerm) { + toSerialize["identifier_perm"] = o.IdentifierPerm + } + if !isNil(o.Indexed) { + toSerialize["indexed"] = o.Indexed + } + if !isNil(o.IsDownloadable) { + toSerialize["is_downloadable"] = o.IsDownloadable + } + if !isNil(o.IsQuarantined) { + toSerialize["is_quarantined"] = o.IsQuarantined + } + if !isNil(o.IsSyncAwaiting) { + toSerialize["is_sync_awaiting"] = o.IsSyncAwaiting + } + if !isNil(o.IsSyncCompleted) { + toSerialize["is_sync_completed"] = o.IsSyncCompleted + } + if !isNil(o.IsSyncFailed) { + toSerialize["is_sync_failed"] = o.IsSyncFailed + } + if !isNil(o.IsSyncInFlight) { + toSerialize["is_sync_in_flight"] = o.IsSyncInFlight + } + if !isNil(o.IsSyncInProgress) { + toSerialize["is_sync_in_progress"] = o.IsSyncInProgress + } + if !isNil(o.License) { + toSerialize["license"] = o.License + } + if !isNil(o.Name) { + toSerialize["name"] = o.Name + } + if !isNil(o.Namespace) { + toSerialize["namespace"] = o.Namespace + } + if !isNil(o.NamespaceUrl) { + toSerialize["namespace_url"] = o.NamespaceUrl + } + if !isNil(o.NumFiles) { + toSerialize["num_files"] = o.NumFiles + } + if !isNil(o.OriginRepository) { + toSerialize["origin_repository"] = o.OriginRepository + } + if !isNil(o.OriginRepositoryUrl) { + toSerialize["origin_repository_url"] = o.OriginRepositoryUrl + } + if !isNil(o.PackageType) { + toSerialize["package_type"] = o.PackageType + } + if o.Packaging.IsSet() { + toSerialize["packaging"] = o.Packaging.Get() + } + if !isNil(o.Release) { + toSerialize["release"] = o.Release + } + if !isNil(o.Repository) { + toSerialize["repository"] = o.Repository + } + if !isNil(o.RepositoryUrl) { + toSerialize["repository_url"] = o.RepositoryUrl + } + if !isNil(o.SecurityScanCompletedAt) { + toSerialize["security_scan_completed_at"] = o.SecurityScanCompletedAt + } + if !isNil(o.SecurityScanStartedAt) { + toSerialize["security_scan_started_at"] = o.SecurityScanStartedAt + } + if o.SecurityScanStatus.IsSet() { + toSerialize["security_scan_status"] = o.SecurityScanStatus.Get() + } + if !isNil(o.SecurityScanStatusUpdatedAt) { + toSerialize["security_scan_status_updated_at"] = o.SecurityScanStatusUpdatedAt + } + if !isNil(o.SelfHtmlUrl) { + toSerialize["self_html_url"] = o.SelfHtmlUrl + } + if !isNil(o.SelfUrl) { + toSerialize["self_url"] = o.SelfUrl + } + if o.SignatureUrl.IsSet() { + toSerialize["signature_url"] = o.SignatureUrl.Get() + } + if !isNil(o.Size) { + toSerialize["size"] = o.Size + } + if !isNil(o.Slug) { + toSerialize["slug"] = o.Slug + } + if !isNil(o.SlugPerm) { + toSerialize["slug_perm"] = o.SlugPerm + } + if !isNil(o.Stage) { + toSerialize["stage"] = o.Stage + } + if !isNil(o.StageStr) { + toSerialize["stage_str"] = o.StageStr + } + if !isNil(o.StageUpdatedAt) { + toSerialize["stage_updated_at"] = o.StageUpdatedAt + } + if !isNil(o.Status) { + toSerialize["status"] = o.Status + } + if !isNil(o.StatusReason) { + toSerialize["status_reason"] = o.StatusReason + } + if !isNil(o.StatusStr) { + toSerialize["status_str"] = o.StatusStr + } + if !isNil(o.StatusUpdatedAt) { + toSerialize["status_updated_at"] = o.StatusUpdatedAt + } + if !isNil(o.StatusUrl) { + toSerialize["status_url"] = o.StatusUrl + } + if !isNil(o.Subtype) { + toSerialize["subtype"] = o.Subtype + } + if !isNil(o.Summary) { + toSerialize["summary"] = o.Summary + } + if !isNil(o.SyncFinishedAt) { + toSerialize["sync_finished_at"] = o.SyncFinishedAt + } + if !isNil(o.SyncProgress) { + toSerialize["sync_progress"] = o.SyncProgress + } + if !isNil(o.TagsImmutable) { + toSerialize["tags_immutable"] = o.TagsImmutable + } + if !isNil(o.TypeDisplay) { + toSerialize["type_display"] = o.TypeDisplay + } + if !isNil(o.UploadedAt) { + toSerialize["uploaded_at"] = o.UploadedAt + } + if !isNil(o.Uploader) { + toSerialize["uploader"] = o.Uploader + } + if !isNil(o.UploaderUrl) { + toSerialize["uploader_url"] = o.UploaderUrl + } + if o.Version.IsSet() { + toSerialize["version"] = o.Version.Get() + } + if !isNil(o.VersionOrig) { + toSerialize["version_orig"] = o.VersionOrig + } + if !isNil(o.VulnerabilityScanResultsUrl) { + toSerialize["vulnerability_scan_results_url"] = o.VulnerabilityScanResultsUrl + } + return json.Marshal(toSerialize) +} + +type NullableMavenPackageUploadResponse struct { + value *MavenPackageUploadResponse + isSet bool +} + +func (v NullableMavenPackageUploadResponse) Get() *MavenPackageUploadResponse { + return v.value +} + +func (v *NullableMavenPackageUploadResponse) Set(val *MavenPackageUploadResponse) { + v.value = val + v.isSet = true +} + +func (v NullableMavenPackageUploadResponse) IsSet() bool { + return v.isSet +} + +func (v *NullableMavenPackageUploadResponse) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableMavenPackageUploadResponse(val *MavenPackageUploadResponse) *NullableMavenPackageUploadResponse { + return &NullableMavenPackageUploadResponse{value: val, isSet: true} +} + +func (v NullableMavenPackageUploadResponse) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableMavenPackageUploadResponse) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} diff --git a/model_namespace_audit_log.go b/model_namespace_audit_log.go deleted file mode 100644 index bbeb6a57..00000000 --- a/model_namespace_audit_log.go +++ /dev/null @@ -1,586 +0,0 @@ -/* -Cloudsmith API - -The API to the Cloudsmith Service - -API version: 1.121.3 -Contact: support@cloudsmith.io -*/ - -// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. - -package cloudsmith - -import ( - "encoding/json" -) - -// NamespaceAuditLog struct for NamespaceAuditLog -type NamespaceAuditLog struct { - // - Actor string `json:"actor"` - // - ActorIpAddress string `json:"actor_ip_address"` - // - ActorKind *string `json:"actor_kind,omitempty"` - // - ActorLocation map[string]interface{} `json:"actor_location"` - // - ActorSlugPerm string `json:"actor_slug_perm"` - // - ActorUrl *string `json:"actor_url,omitempty"` - // - Context string `json:"context"` - // - Event string `json:"event"` - // - EventAt string `json:"event_at"` - // - Object string `json:"object"` - // - ObjectKind string `json:"object_kind"` - // - ObjectSlugPerm string `json:"object_slug_perm"` - // - Target string `json:"target"` - // - TargetKind string `json:"target_kind"` - // - TargetSlugPerm *string `json:"target_slug_perm,omitempty"` - // - Uuid *string `json:"uuid,omitempty"` -} - -// NewNamespaceAuditLog instantiates a new NamespaceAuditLog object -// 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 NewNamespaceAuditLog(actor string, actorIpAddress string, actorLocation map[string]interface{}, actorSlugPerm string, context string, event string, eventAt string, object string, objectKind string, objectSlugPerm string, target string, targetKind string) *NamespaceAuditLog { - this := NamespaceAuditLog{} - this.Actor = actor - this.ActorIpAddress = actorIpAddress - this.ActorLocation = actorLocation - this.ActorSlugPerm = actorSlugPerm - this.Context = context - this.Event = event - this.EventAt = eventAt - this.Object = object - this.ObjectKind = objectKind - this.ObjectSlugPerm = objectSlugPerm - this.Target = target - this.TargetKind = targetKind - return &this -} - -// NewNamespaceAuditLogWithDefaults instantiates a new NamespaceAuditLog object -// This constructor will only assign default values to properties that have it defined, -// but it doesn't guarantee that properties required by API are set -func NewNamespaceAuditLogWithDefaults() *NamespaceAuditLog { - this := NamespaceAuditLog{} - return &this -} - -// GetActor returns the Actor field value -func (o *NamespaceAuditLog) GetActor() string { - if o == nil { - var ret string - return ret - } - - return o.Actor -} - -// GetActorOk returns a tuple with the Actor field value -// and a boolean to check if the value has been set. -func (o *NamespaceAuditLog) GetActorOk() (*string, bool) { - if o == nil { - return nil, false - } - return &o.Actor, true -} - -// SetActor sets field value -func (o *NamespaceAuditLog) SetActor(v string) { - o.Actor = v -} - -// GetActorIpAddress returns the ActorIpAddress field value -func (o *NamespaceAuditLog) GetActorIpAddress() string { - if o == nil { - var ret string - return ret - } - - return o.ActorIpAddress -} - -// GetActorIpAddressOk returns a tuple with the ActorIpAddress field value -// and a boolean to check if the value has been set. -func (o *NamespaceAuditLog) GetActorIpAddressOk() (*string, bool) { - if o == nil { - return nil, false - } - return &o.ActorIpAddress, true -} - -// SetActorIpAddress sets field value -func (o *NamespaceAuditLog) SetActorIpAddress(v string) { - o.ActorIpAddress = v -} - -// GetActorKind returns the ActorKind field value if set, zero value otherwise. -func (o *NamespaceAuditLog) GetActorKind() string { - if o == nil || o.ActorKind == nil { - var ret string - return ret - } - return *o.ActorKind -} - -// GetActorKindOk returns a tuple with the ActorKind field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *NamespaceAuditLog) GetActorKindOk() (*string, bool) { - if o == nil || o.ActorKind == nil { - return nil, false - } - return o.ActorKind, true -} - -// HasActorKind returns a boolean if a field has been set. -func (o *NamespaceAuditLog) HasActorKind() bool { - if o != nil && o.ActorKind != nil { - return true - } - - return false -} - -// SetActorKind gets a reference to the given string and assigns it to the ActorKind field. -func (o *NamespaceAuditLog) SetActorKind(v string) { - o.ActorKind = &v -} - -// GetActorLocation returns the ActorLocation field value -func (o *NamespaceAuditLog) GetActorLocation() map[string]interface{} { - if o == nil { - var ret map[string]interface{} - return ret - } - - return o.ActorLocation -} - -// GetActorLocationOk returns a tuple with the ActorLocation field value -// and a boolean to check if the value has been set. -func (o *NamespaceAuditLog) GetActorLocationOk() (map[string]interface{}, bool) { - if o == nil { - return nil, false - } - return o.ActorLocation, true -} - -// SetActorLocation sets field value -func (o *NamespaceAuditLog) SetActorLocation(v map[string]interface{}) { - o.ActorLocation = v -} - -// GetActorSlugPerm returns the ActorSlugPerm field value -func (o *NamespaceAuditLog) GetActorSlugPerm() string { - if o == nil { - var ret string - return ret - } - - return o.ActorSlugPerm -} - -// GetActorSlugPermOk returns a tuple with the ActorSlugPerm field value -// and a boolean to check if the value has been set. -func (o *NamespaceAuditLog) GetActorSlugPermOk() (*string, bool) { - if o == nil { - return nil, false - } - return &o.ActorSlugPerm, true -} - -// SetActorSlugPerm sets field value -func (o *NamespaceAuditLog) SetActorSlugPerm(v string) { - o.ActorSlugPerm = v -} - -// GetActorUrl returns the ActorUrl field value if set, zero value otherwise. -func (o *NamespaceAuditLog) GetActorUrl() string { - if o == nil || o.ActorUrl == nil { - var ret string - return ret - } - return *o.ActorUrl -} - -// GetActorUrlOk returns a tuple with the ActorUrl field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *NamespaceAuditLog) GetActorUrlOk() (*string, bool) { - if o == nil || o.ActorUrl == nil { - return nil, false - } - return o.ActorUrl, true -} - -// HasActorUrl returns a boolean if a field has been set. -func (o *NamespaceAuditLog) HasActorUrl() bool { - if o != nil && o.ActorUrl != nil { - return true - } - - return false -} - -// SetActorUrl gets a reference to the given string and assigns it to the ActorUrl field. -func (o *NamespaceAuditLog) SetActorUrl(v string) { - o.ActorUrl = &v -} - -// GetContext returns the Context field value -func (o *NamespaceAuditLog) GetContext() string { - if o == nil { - var ret string - return ret - } - - return o.Context -} - -// GetContextOk returns a tuple with the Context field value -// and a boolean to check if the value has been set. -func (o *NamespaceAuditLog) GetContextOk() (*string, bool) { - if o == nil { - return nil, false - } - return &o.Context, true -} - -// SetContext sets field value -func (o *NamespaceAuditLog) SetContext(v string) { - o.Context = v -} - -// GetEvent returns the Event field value -func (o *NamespaceAuditLog) GetEvent() string { - if o == nil { - var ret string - return ret - } - - return o.Event -} - -// GetEventOk returns a tuple with the Event field value -// and a boolean to check if the value has been set. -func (o *NamespaceAuditLog) GetEventOk() (*string, bool) { - if o == nil { - return nil, false - } - return &o.Event, true -} - -// SetEvent sets field value -func (o *NamespaceAuditLog) SetEvent(v string) { - o.Event = v -} - -// GetEventAt returns the EventAt field value -func (o *NamespaceAuditLog) GetEventAt() string { - if o == nil { - var ret string - return ret - } - - return o.EventAt -} - -// GetEventAtOk returns a tuple with the EventAt field value -// and a boolean to check if the value has been set. -func (o *NamespaceAuditLog) GetEventAtOk() (*string, bool) { - if o == nil { - return nil, false - } - return &o.EventAt, true -} - -// SetEventAt sets field value -func (o *NamespaceAuditLog) SetEventAt(v string) { - o.EventAt = v -} - -// GetObject returns the Object field value -func (o *NamespaceAuditLog) GetObject() string { - if o == nil { - var ret string - return ret - } - - return o.Object -} - -// GetObjectOk returns a tuple with the Object field value -// and a boolean to check if the value has been set. -func (o *NamespaceAuditLog) GetObjectOk() (*string, bool) { - if o == nil { - return nil, false - } - return &o.Object, true -} - -// SetObject sets field value -func (o *NamespaceAuditLog) SetObject(v string) { - o.Object = v -} - -// GetObjectKind returns the ObjectKind field value -func (o *NamespaceAuditLog) GetObjectKind() string { - if o == nil { - var ret string - return ret - } - - return o.ObjectKind -} - -// GetObjectKindOk returns a tuple with the ObjectKind field value -// and a boolean to check if the value has been set. -func (o *NamespaceAuditLog) GetObjectKindOk() (*string, bool) { - if o == nil { - return nil, false - } - return &o.ObjectKind, true -} - -// SetObjectKind sets field value -func (o *NamespaceAuditLog) SetObjectKind(v string) { - o.ObjectKind = v -} - -// GetObjectSlugPerm returns the ObjectSlugPerm field value -func (o *NamespaceAuditLog) GetObjectSlugPerm() string { - if o == nil { - var ret string - return ret - } - - return o.ObjectSlugPerm -} - -// GetObjectSlugPermOk returns a tuple with the ObjectSlugPerm field value -// and a boolean to check if the value has been set. -func (o *NamespaceAuditLog) GetObjectSlugPermOk() (*string, bool) { - if o == nil { - return nil, false - } - return &o.ObjectSlugPerm, true -} - -// SetObjectSlugPerm sets field value -func (o *NamespaceAuditLog) SetObjectSlugPerm(v string) { - o.ObjectSlugPerm = v -} - -// GetTarget returns the Target field value -func (o *NamespaceAuditLog) GetTarget() string { - if o == nil { - var ret string - return ret - } - - return o.Target -} - -// GetTargetOk returns a tuple with the Target field value -// and a boolean to check if the value has been set. -func (o *NamespaceAuditLog) GetTargetOk() (*string, bool) { - if o == nil { - return nil, false - } - return &o.Target, true -} - -// SetTarget sets field value -func (o *NamespaceAuditLog) SetTarget(v string) { - o.Target = v -} - -// GetTargetKind returns the TargetKind field value -func (o *NamespaceAuditLog) GetTargetKind() string { - if o == nil { - var ret string - return ret - } - - return o.TargetKind -} - -// GetTargetKindOk returns a tuple with the TargetKind field value -// and a boolean to check if the value has been set. -func (o *NamespaceAuditLog) GetTargetKindOk() (*string, bool) { - if o == nil { - return nil, false - } - return &o.TargetKind, true -} - -// SetTargetKind sets field value -func (o *NamespaceAuditLog) SetTargetKind(v string) { - o.TargetKind = v -} - -// GetTargetSlugPerm returns the TargetSlugPerm field value if set, zero value otherwise. -func (o *NamespaceAuditLog) GetTargetSlugPerm() string { - if o == nil || o.TargetSlugPerm == nil { - var ret string - return ret - } - return *o.TargetSlugPerm -} - -// GetTargetSlugPermOk returns a tuple with the TargetSlugPerm field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *NamespaceAuditLog) GetTargetSlugPermOk() (*string, bool) { - if o == nil || o.TargetSlugPerm == nil { - return nil, false - } - return o.TargetSlugPerm, true -} - -// HasTargetSlugPerm returns a boolean if a field has been set. -func (o *NamespaceAuditLog) HasTargetSlugPerm() bool { - if o != nil && o.TargetSlugPerm != nil { - return true - } - - return false -} - -// SetTargetSlugPerm gets a reference to the given string and assigns it to the TargetSlugPerm field. -func (o *NamespaceAuditLog) SetTargetSlugPerm(v string) { - o.TargetSlugPerm = &v -} - -// GetUuid returns the Uuid field value if set, zero value otherwise. -func (o *NamespaceAuditLog) GetUuid() string { - if o == nil || o.Uuid == nil { - var ret string - return ret - } - return *o.Uuid -} - -// GetUuidOk returns a tuple with the Uuid field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *NamespaceAuditLog) GetUuidOk() (*string, bool) { - if o == nil || o.Uuid == nil { - return nil, false - } - return o.Uuid, true -} - -// HasUuid returns a boolean if a field has been set. -func (o *NamespaceAuditLog) HasUuid() bool { - if o != nil && o.Uuid != nil { - return true - } - - return false -} - -// SetUuid gets a reference to the given string and assigns it to the Uuid field. -func (o *NamespaceAuditLog) SetUuid(v string) { - o.Uuid = &v -} - -func (o NamespaceAuditLog) MarshalJSON() ([]byte, error) { - toSerialize := map[string]interface{}{} - if true { - toSerialize["actor"] = o.Actor - } - if true { - toSerialize["actor_ip_address"] = o.ActorIpAddress - } - if o.ActorKind != nil { - toSerialize["actor_kind"] = o.ActorKind - } - if true { - toSerialize["actor_location"] = o.ActorLocation - } - if true { - toSerialize["actor_slug_perm"] = o.ActorSlugPerm - } - if o.ActorUrl != nil { - toSerialize["actor_url"] = o.ActorUrl - } - if true { - toSerialize["context"] = o.Context - } - if true { - toSerialize["event"] = o.Event - } - if true { - toSerialize["event_at"] = o.EventAt - } - if true { - toSerialize["object"] = o.Object - } - if true { - toSerialize["object_kind"] = o.ObjectKind - } - if true { - toSerialize["object_slug_perm"] = o.ObjectSlugPerm - } - if true { - toSerialize["target"] = o.Target - } - if true { - toSerialize["target_kind"] = o.TargetKind - } - if o.TargetSlugPerm != nil { - toSerialize["target_slug_perm"] = o.TargetSlugPerm - } - if o.Uuid != nil { - toSerialize["uuid"] = o.Uuid - } - return json.Marshal(toSerialize) -} - -type NullableNamespaceAuditLog struct { - value *NamespaceAuditLog - isSet bool -} - -func (v NullableNamespaceAuditLog) Get() *NamespaceAuditLog { - return v.value -} - -func (v *NullableNamespaceAuditLog) Set(val *NamespaceAuditLog) { - v.value = val - v.isSet = true -} - -func (v NullableNamespaceAuditLog) IsSet() bool { - return v.isSet -} - -func (v *NullableNamespaceAuditLog) Unset() { - v.value = nil - v.isSet = false -} - -func NewNullableNamespaceAuditLog(val *NamespaceAuditLog) *NullableNamespaceAuditLog { - return &NullableNamespaceAuditLog{value: val, isSet: true} -} - -func (v NullableNamespaceAuditLog) MarshalJSON() ([]byte, error) { - return json.Marshal(v.value) -} - -func (v *NullableNamespaceAuditLog) UnmarshalJSON(src []byte) error { - v.isSet = true - return json.Unmarshal(src, &v.value) -} diff --git a/model_namespace_audit_log_response.go b/model_namespace_audit_log_response.go new file mode 100644 index 00000000..c7cf879a --- /dev/null +++ b/model_namespace_audit_log_response.go @@ -0,0 +1,599 @@ +/* +Cloudsmith API (v1) + +The API to the Cloudsmith Service + +API version: 1.181.6 +Contact: support@cloudsmith.io +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cloudsmith + +import ( + "encoding/json" + "time" +) + +// NamespaceAuditLogResponse struct for NamespaceAuditLogResponse +type NamespaceAuditLogResponse struct { + Actor NullableString `json:"actor"` + ActorIpAddress NullableString `json:"actor_ip_address"` + ActorKind *string `json:"actor_kind,omitempty"` + ActorLocation GeoIpLocation `json:"actor_location"` + ActorSlugPerm NullableString `json:"actor_slug_perm"` + ActorUrl NullableString `json:"actor_url,omitempty"` + Context string `json:"context"` + Event string `json:"event"` + EventAt time.Time `json:"event_at"` + Object string `json:"object"` + ObjectKind string `json:"object_kind"` + ObjectSlugPerm string `json:"object_slug_perm"` + Target string `json:"target"` + TargetKind string `json:"target_kind"` + TargetSlugPerm NullableString `json:"target_slug_perm,omitempty"` + Uuid *string `json:"uuid,omitempty"` +} + +// NewNamespaceAuditLogResponse instantiates a new NamespaceAuditLogResponse object +// 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 NewNamespaceAuditLogResponse(actor NullableString, actorIpAddress NullableString, actorLocation GeoIpLocation, actorSlugPerm NullableString, context string, event string, eventAt time.Time, object string, objectKind string, objectSlugPerm string, target string, targetKind string) *NamespaceAuditLogResponse { + this := NamespaceAuditLogResponse{} + this.Actor = actor + this.ActorIpAddress = actorIpAddress + this.ActorLocation = actorLocation + this.ActorSlugPerm = actorSlugPerm + this.Context = context + this.Event = event + this.EventAt = eventAt + this.Object = object + this.ObjectKind = objectKind + this.ObjectSlugPerm = objectSlugPerm + this.Target = target + this.TargetKind = targetKind + return &this +} + +// NewNamespaceAuditLogResponseWithDefaults instantiates a new NamespaceAuditLogResponse object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewNamespaceAuditLogResponseWithDefaults() *NamespaceAuditLogResponse { + this := NamespaceAuditLogResponse{} + return &this +} + +// GetActor returns the Actor field value +// If the value is explicit nil, the zero value for string will be returned +func (o *NamespaceAuditLogResponse) GetActor() string { + if o == nil || o.Actor.Get() == nil { + var ret string + return ret + } + + return *o.Actor.Get() +} + +// GetActorOk returns a tuple with the Actor 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 *NamespaceAuditLogResponse) GetActorOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.Actor.Get(), o.Actor.IsSet() +} + +// SetActor sets field value +func (o *NamespaceAuditLogResponse) SetActor(v string) { + o.Actor.Set(&v) +} + +// GetActorIpAddress returns the ActorIpAddress field value +// If the value is explicit nil, the zero value for string will be returned +func (o *NamespaceAuditLogResponse) GetActorIpAddress() string { + if o == nil || o.ActorIpAddress.Get() == nil { + var ret string + return ret + } + + return *o.ActorIpAddress.Get() +} + +// GetActorIpAddressOk returns a tuple with the ActorIpAddress 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 *NamespaceAuditLogResponse) GetActorIpAddressOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.ActorIpAddress.Get(), o.ActorIpAddress.IsSet() +} + +// SetActorIpAddress sets field value +func (o *NamespaceAuditLogResponse) SetActorIpAddress(v string) { + o.ActorIpAddress.Set(&v) +} + +// GetActorKind returns the ActorKind field value if set, zero value otherwise. +func (o *NamespaceAuditLogResponse) GetActorKind() string { + if o == nil || isNil(o.ActorKind) { + var ret string + return ret + } + return *o.ActorKind +} + +// GetActorKindOk returns a tuple with the ActorKind field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *NamespaceAuditLogResponse) GetActorKindOk() (*string, bool) { + if o == nil || isNil(o.ActorKind) { + return nil, false + } + return o.ActorKind, true +} + +// HasActorKind returns a boolean if a field has been set. +func (o *NamespaceAuditLogResponse) HasActorKind() bool { + if o != nil && !isNil(o.ActorKind) { + return true + } + + return false +} + +// SetActorKind gets a reference to the given string and assigns it to the ActorKind field. +func (o *NamespaceAuditLogResponse) SetActorKind(v string) { + o.ActorKind = &v +} + +// GetActorLocation returns the ActorLocation field value +func (o *NamespaceAuditLogResponse) GetActorLocation() GeoIpLocation { + if o == nil { + var ret GeoIpLocation + return ret + } + + return o.ActorLocation +} + +// GetActorLocationOk returns a tuple with the ActorLocation field value +// and a boolean to check if the value has been set. +func (o *NamespaceAuditLogResponse) GetActorLocationOk() (*GeoIpLocation, bool) { + if o == nil { + return nil, false + } + return &o.ActorLocation, true +} + +// SetActorLocation sets field value +func (o *NamespaceAuditLogResponse) SetActorLocation(v GeoIpLocation) { + o.ActorLocation = v +} + +// GetActorSlugPerm returns the ActorSlugPerm field value +// If the value is explicit nil, the zero value for string will be returned +func (o *NamespaceAuditLogResponse) GetActorSlugPerm() string { + if o == nil || o.ActorSlugPerm.Get() == nil { + var ret string + return ret + } + + return *o.ActorSlugPerm.Get() +} + +// GetActorSlugPermOk returns a tuple with the ActorSlugPerm 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 *NamespaceAuditLogResponse) GetActorSlugPermOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.ActorSlugPerm.Get(), o.ActorSlugPerm.IsSet() +} + +// SetActorSlugPerm sets field value +func (o *NamespaceAuditLogResponse) SetActorSlugPerm(v string) { + o.ActorSlugPerm.Set(&v) +} + +// GetActorUrl returns the ActorUrl field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *NamespaceAuditLogResponse) GetActorUrl() string { + if o == nil || isNil(o.ActorUrl.Get()) { + var ret string + return ret + } + return *o.ActorUrl.Get() +} + +// GetActorUrlOk returns a tuple with the ActorUrl 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 *NamespaceAuditLogResponse) GetActorUrlOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.ActorUrl.Get(), o.ActorUrl.IsSet() +} + +// HasActorUrl returns a boolean if a field has been set. +func (o *NamespaceAuditLogResponse) HasActorUrl() bool { + if o != nil && o.ActorUrl.IsSet() { + return true + } + + return false +} + +// SetActorUrl gets a reference to the given NullableString and assigns it to the ActorUrl field. +func (o *NamespaceAuditLogResponse) SetActorUrl(v string) { + o.ActorUrl.Set(&v) +} + +// SetActorUrlNil sets the value for ActorUrl to be an explicit nil +func (o *NamespaceAuditLogResponse) SetActorUrlNil() { + o.ActorUrl.Set(nil) +} + +// UnsetActorUrl ensures that no value is present for ActorUrl, not even an explicit nil +func (o *NamespaceAuditLogResponse) UnsetActorUrl() { + o.ActorUrl.Unset() +} + +// GetContext returns the Context field value +func (o *NamespaceAuditLogResponse) GetContext() string { + if o == nil { + var ret string + return ret + } + + return o.Context +} + +// GetContextOk returns a tuple with the Context field value +// and a boolean to check if the value has been set. +func (o *NamespaceAuditLogResponse) GetContextOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Context, true +} + +// SetContext sets field value +func (o *NamespaceAuditLogResponse) SetContext(v string) { + o.Context = v +} + +// GetEvent returns the Event field value +func (o *NamespaceAuditLogResponse) GetEvent() string { + if o == nil { + var ret string + return ret + } + + return o.Event +} + +// GetEventOk returns a tuple with the Event field value +// and a boolean to check if the value has been set. +func (o *NamespaceAuditLogResponse) GetEventOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Event, true +} + +// SetEvent sets field value +func (o *NamespaceAuditLogResponse) SetEvent(v string) { + o.Event = v +} + +// GetEventAt returns the EventAt field value +func (o *NamespaceAuditLogResponse) GetEventAt() time.Time { + if o == nil { + var ret time.Time + return ret + } + + return o.EventAt +} + +// GetEventAtOk returns a tuple with the EventAt field value +// and a boolean to check if the value has been set. +func (o *NamespaceAuditLogResponse) GetEventAtOk() (*time.Time, bool) { + if o == nil { + return nil, false + } + return &o.EventAt, true +} + +// SetEventAt sets field value +func (o *NamespaceAuditLogResponse) SetEventAt(v time.Time) { + o.EventAt = v +} + +// GetObject returns the Object field value +func (o *NamespaceAuditLogResponse) GetObject() string { + if o == nil { + var ret string + return ret + } + + return o.Object +} + +// GetObjectOk returns a tuple with the Object field value +// and a boolean to check if the value has been set. +func (o *NamespaceAuditLogResponse) GetObjectOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Object, true +} + +// SetObject sets field value +func (o *NamespaceAuditLogResponse) SetObject(v string) { + o.Object = v +} + +// GetObjectKind returns the ObjectKind field value +func (o *NamespaceAuditLogResponse) GetObjectKind() string { + if o == nil { + var ret string + return ret + } + + return o.ObjectKind +} + +// GetObjectKindOk returns a tuple with the ObjectKind field value +// and a boolean to check if the value has been set. +func (o *NamespaceAuditLogResponse) GetObjectKindOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.ObjectKind, true +} + +// SetObjectKind sets field value +func (o *NamespaceAuditLogResponse) SetObjectKind(v string) { + o.ObjectKind = v +} + +// GetObjectSlugPerm returns the ObjectSlugPerm field value +func (o *NamespaceAuditLogResponse) GetObjectSlugPerm() string { + if o == nil { + var ret string + return ret + } + + return o.ObjectSlugPerm +} + +// GetObjectSlugPermOk returns a tuple with the ObjectSlugPerm field value +// and a boolean to check if the value has been set. +func (o *NamespaceAuditLogResponse) GetObjectSlugPermOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.ObjectSlugPerm, true +} + +// SetObjectSlugPerm sets field value +func (o *NamespaceAuditLogResponse) SetObjectSlugPerm(v string) { + o.ObjectSlugPerm = v +} + +// GetTarget returns the Target field value +func (o *NamespaceAuditLogResponse) GetTarget() string { + if o == nil { + var ret string + return ret + } + + return o.Target +} + +// GetTargetOk returns a tuple with the Target field value +// and a boolean to check if the value has been set. +func (o *NamespaceAuditLogResponse) GetTargetOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Target, true +} + +// SetTarget sets field value +func (o *NamespaceAuditLogResponse) SetTarget(v string) { + o.Target = v +} + +// GetTargetKind returns the TargetKind field value +func (o *NamespaceAuditLogResponse) GetTargetKind() string { + if o == nil { + var ret string + return ret + } + + return o.TargetKind +} + +// GetTargetKindOk returns a tuple with the TargetKind field value +// and a boolean to check if the value has been set. +func (o *NamespaceAuditLogResponse) GetTargetKindOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.TargetKind, true +} + +// SetTargetKind sets field value +func (o *NamespaceAuditLogResponse) SetTargetKind(v string) { + o.TargetKind = v +} + +// GetTargetSlugPerm returns the TargetSlugPerm field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *NamespaceAuditLogResponse) GetTargetSlugPerm() string { + if o == nil || isNil(o.TargetSlugPerm.Get()) { + var ret string + return ret + } + return *o.TargetSlugPerm.Get() +} + +// GetTargetSlugPermOk returns a tuple with the TargetSlugPerm 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 *NamespaceAuditLogResponse) GetTargetSlugPermOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.TargetSlugPerm.Get(), o.TargetSlugPerm.IsSet() +} + +// HasTargetSlugPerm returns a boolean if a field has been set. +func (o *NamespaceAuditLogResponse) HasTargetSlugPerm() bool { + if o != nil && o.TargetSlugPerm.IsSet() { + return true + } + + return false +} + +// SetTargetSlugPerm gets a reference to the given NullableString and assigns it to the TargetSlugPerm field. +func (o *NamespaceAuditLogResponse) SetTargetSlugPerm(v string) { + o.TargetSlugPerm.Set(&v) +} + +// SetTargetSlugPermNil sets the value for TargetSlugPerm to be an explicit nil +func (o *NamespaceAuditLogResponse) SetTargetSlugPermNil() { + o.TargetSlugPerm.Set(nil) +} + +// UnsetTargetSlugPerm ensures that no value is present for TargetSlugPerm, not even an explicit nil +func (o *NamespaceAuditLogResponse) UnsetTargetSlugPerm() { + o.TargetSlugPerm.Unset() +} + +// GetUuid returns the Uuid field value if set, zero value otherwise. +func (o *NamespaceAuditLogResponse) GetUuid() string { + if o == nil || isNil(o.Uuid) { + var ret string + return ret + } + return *o.Uuid +} + +// GetUuidOk returns a tuple with the Uuid field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *NamespaceAuditLogResponse) GetUuidOk() (*string, bool) { + if o == nil || isNil(o.Uuid) { + return nil, false + } + return o.Uuid, true +} + +// HasUuid returns a boolean if a field has been set. +func (o *NamespaceAuditLogResponse) HasUuid() bool { + if o != nil && !isNil(o.Uuid) { + return true + } + + return false +} + +// SetUuid gets a reference to the given string and assigns it to the Uuid field. +func (o *NamespaceAuditLogResponse) SetUuid(v string) { + o.Uuid = &v +} + +func (o NamespaceAuditLogResponse) MarshalJSON() ([]byte, error) { + toSerialize := map[string]interface{}{} + if true { + toSerialize["actor"] = o.Actor.Get() + } + if true { + toSerialize["actor_ip_address"] = o.ActorIpAddress.Get() + } + if !isNil(o.ActorKind) { + toSerialize["actor_kind"] = o.ActorKind + } + if true { + toSerialize["actor_location"] = o.ActorLocation + } + if true { + toSerialize["actor_slug_perm"] = o.ActorSlugPerm.Get() + } + if o.ActorUrl.IsSet() { + toSerialize["actor_url"] = o.ActorUrl.Get() + } + if true { + toSerialize["context"] = o.Context + } + if true { + toSerialize["event"] = o.Event + } + if true { + toSerialize["event_at"] = o.EventAt + } + if true { + toSerialize["object"] = o.Object + } + if true { + toSerialize["object_kind"] = o.ObjectKind + } + if true { + toSerialize["object_slug_perm"] = o.ObjectSlugPerm + } + if true { + toSerialize["target"] = o.Target + } + if true { + toSerialize["target_kind"] = o.TargetKind + } + if o.TargetSlugPerm.IsSet() { + toSerialize["target_slug_perm"] = o.TargetSlugPerm.Get() + } + if !isNil(o.Uuid) { + toSerialize["uuid"] = o.Uuid + } + return json.Marshal(toSerialize) +} + +type NullableNamespaceAuditLogResponse struct { + value *NamespaceAuditLogResponse + isSet bool +} + +func (v NullableNamespaceAuditLogResponse) Get() *NamespaceAuditLogResponse { + return v.value +} + +func (v *NullableNamespaceAuditLogResponse) Set(val *NamespaceAuditLogResponse) { + v.value = val + v.isSet = true +} + +func (v NullableNamespaceAuditLogResponse) IsSet() bool { + return v.isSet +} + +func (v *NullableNamespaceAuditLogResponse) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableNamespaceAuditLogResponse(val *NamespaceAuditLogResponse) *NullableNamespaceAuditLogResponse { + return &NullableNamespaceAuditLogResponse{value: val, isSet: true} +} + +func (v NullableNamespaceAuditLogResponse) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableNamespaceAuditLogResponse) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} diff --git a/model_namespace.go b/model_namespace_response.go similarity index 56% rename from model_namespace.go rename to model_namespace_response.go index cb8228e8..8d6f2e44 100644 --- a/model_namespace.go +++ b/model_namespace_response.go @@ -1,9 +1,9 @@ /* -Cloudsmith API +Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.121.3 +API version: 1.181.6 Contact: support@cloudsmith.io */ @@ -15,38 +15,34 @@ import ( "encoding/json" ) -// Namespace struct for Namespace -type Namespace struct { - // - Name *string `json:"name,omitempty"` - // - Slug *string `json:"slug,omitempty"` - // +// NamespaceResponse struct for NamespaceResponse +type NamespaceResponse struct { + Name *string `json:"name,omitempty"` + Slug *string `json:"slug,omitempty"` SlugPerm *string `json:"slug_perm,omitempty"` - // TypeName *string `json:"type_name,omitempty"` } -// NewNamespace instantiates a new Namespace object +// NewNamespaceResponse instantiates a new NamespaceResponse object // 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 NewNamespace() *Namespace { - this := Namespace{} +func NewNamespaceResponse() *NamespaceResponse { + this := NamespaceResponse{} return &this } -// NewNamespaceWithDefaults instantiates a new Namespace object +// NewNamespaceResponseWithDefaults instantiates a new NamespaceResponse object // This constructor will only assign default values to properties that have it defined, // but it doesn't guarantee that properties required by API are set -func NewNamespaceWithDefaults() *Namespace { - this := Namespace{} +func NewNamespaceResponseWithDefaults() *NamespaceResponse { + this := NamespaceResponse{} return &this } // GetName returns the Name field value if set, zero value otherwise. -func (o *Namespace) GetName() string { - if o == nil || o.Name == nil { +func (o *NamespaceResponse) GetName() string { + if o == nil || isNil(o.Name) { var ret string return ret } @@ -55,16 +51,16 @@ func (o *Namespace) GetName() string { // GetNameOk returns a tuple with the Name field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *Namespace) GetNameOk() (*string, bool) { - if o == nil || o.Name == nil { +func (o *NamespaceResponse) GetNameOk() (*string, bool) { + if o == nil || isNil(o.Name) { return nil, false } return o.Name, true } // HasName returns a boolean if a field has been set. -func (o *Namespace) HasName() bool { - if o != nil && o.Name != nil { +func (o *NamespaceResponse) HasName() bool { + if o != nil && !isNil(o.Name) { return true } @@ -72,13 +68,13 @@ func (o *Namespace) HasName() bool { } // SetName gets a reference to the given string and assigns it to the Name field. -func (o *Namespace) SetName(v string) { +func (o *NamespaceResponse) SetName(v string) { o.Name = &v } // GetSlug returns the Slug field value if set, zero value otherwise. -func (o *Namespace) GetSlug() string { - if o == nil || o.Slug == nil { +func (o *NamespaceResponse) GetSlug() string { + if o == nil || isNil(o.Slug) { var ret string return ret } @@ -87,16 +83,16 @@ func (o *Namespace) GetSlug() string { // GetSlugOk returns a tuple with the Slug field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *Namespace) GetSlugOk() (*string, bool) { - if o == nil || o.Slug == nil { +func (o *NamespaceResponse) GetSlugOk() (*string, bool) { + if o == nil || isNil(o.Slug) { return nil, false } return o.Slug, true } // HasSlug returns a boolean if a field has been set. -func (o *Namespace) HasSlug() bool { - if o != nil && o.Slug != nil { +func (o *NamespaceResponse) HasSlug() bool { + if o != nil && !isNil(o.Slug) { return true } @@ -104,13 +100,13 @@ func (o *Namespace) HasSlug() bool { } // SetSlug gets a reference to the given string and assigns it to the Slug field. -func (o *Namespace) SetSlug(v string) { +func (o *NamespaceResponse) SetSlug(v string) { o.Slug = &v } // GetSlugPerm returns the SlugPerm field value if set, zero value otherwise. -func (o *Namespace) GetSlugPerm() string { - if o == nil || o.SlugPerm == nil { +func (o *NamespaceResponse) GetSlugPerm() string { + if o == nil || isNil(o.SlugPerm) { var ret string return ret } @@ -119,16 +115,16 @@ func (o *Namespace) GetSlugPerm() string { // GetSlugPermOk returns a tuple with the SlugPerm field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *Namespace) GetSlugPermOk() (*string, bool) { - if o == nil || o.SlugPerm == nil { +func (o *NamespaceResponse) GetSlugPermOk() (*string, bool) { + if o == nil || isNil(o.SlugPerm) { return nil, false } return o.SlugPerm, true } // HasSlugPerm returns a boolean if a field has been set. -func (o *Namespace) HasSlugPerm() bool { - if o != nil && o.SlugPerm != nil { +func (o *NamespaceResponse) HasSlugPerm() bool { + if o != nil && !isNil(o.SlugPerm) { return true } @@ -136,13 +132,13 @@ func (o *Namespace) HasSlugPerm() bool { } // SetSlugPerm gets a reference to the given string and assigns it to the SlugPerm field. -func (o *Namespace) SetSlugPerm(v string) { +func (o *NamespaceResponse) SetSlugPerm(v string) { o.SlugPerm = &v } // GetTypeName returns the TypeName field value if set, zero value otherwise. -func (o *Namespace) GetTypeName() string { - if o == nil || o.TypeName == nil { +func (o *NamespaceResponse) GetTypeName() string { + if o == nil || isNil(o.TypeName) { var ret string return ret } @@ -151,16 +147,16 @@ func (o *Namespace) GetTypeName() string { // GetTypeNameOk returns a tuple with the TypeName field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *Namespace) GetTypeNameOk() (*string, bool) { - if o == nil || o.TypeName == nil { +func (o *NamespaceResponse) GetTypeNameOk() (*string, bool) { + if o == nil || isNil(o.TypeName) { return nil, false } return o.TypeName, true } // HasTypeName returns a boolean if a field has been set. -func (o *Namespace) HasTypeName() bool { - if o != nil && o.TypeName != nil { +func (o *NamespaceResponse) HasTypeName() bool { + if o != nil && !isNil(o.TypeName) { return true } @@ -168,59 +164,59 @@ func (o *Namespace) HasTypeName() bool { } // SetTypeName gets a reference to the given string and assigns it to the TypeName field. -func (o *Namespace) SetTypeName(v string) { +func (o *NamespaceResponse) SetTypeName(v string) { o.TypeName = &v } -func (o Namespace) MarshalJSON() ([]byte, error) { +func (o NamespaceResponse) MarshalJSON() ([]byte, error) { toSerialize := map[string]interface{}{} - if o.Name != nil { + if !isNil(o.Name) { toSerialize["name"] = o.Name } - if o.Slug != nil { + if !isNil(o.Slug) { toSerialize["slug"] = o.Slug } - if o.SlugPerm != nil { + if !isNil(o.SlugPerm) { toSerialize["slug_perm"] = o.SlugPerm } - if o.TypeName != nil { + if !isNil(o.TypeName) { toSerialize["type_name"] = o.TypeName } return json.Marshal(toSerialize) } -type NullableNamespace struct { - value *Namespace +type NullableNamespaceResponse struct { + value *NamespaceResponse isSet bool } -func (v NullableNamespace) Get() *Namespace { +func (v NullableNamespaceResponse) Get() *NamespaceResponse { return v.value } -func (v *NullableNamespace) Set(val *Namespace) { +func (v *NullableNamespaceResponse) Set(val *NamespaceResponse) { v.value = val v.isSet = true } -func (v NullableNamespace) IsSet() bool { +func (v NullableNamespaceResponse) IsSet() bool { return v.isSet } -func (v *NullableNamespace) Unset() { +func (v *NullableNamespaceResponse) Unset() { v.value = nil v.isSet = false } -func NewNullableNamespace(val *Namespace) *NullableNamespace { - return &NullableNamespace{value: val, isSet: true} +func NewNullableNamespaceResponse(val *NamespaceResponse) *NullableNamespaceResponse { + return &NullableNamespaceResponse{value: val, isSet: true} } -func (v NullableNamespace) MarshalJSON() ([]byte, error) { +func (v NullableNamespaceResponse) MarshalJSON() ([]byte, error) { return json.Marshal(v.value) } -func (v *NullableNamespace) UnmarshalJSON(src []byte) error { +func (v *NullableNamespaceResponse) UnmarshalJSON(src []byte) error { v.isSet = true return json.Unmarshal(src, &v.value) } diff --git a/model_npm_package_upload.go b/model_npm_package_upload.go deleted file mode 100644 index 2fce9ea2..00000000 --- a/model_npm_package_upload.go +++ /dev/null @@ -1,2520 +0,0 @@ -/* -Cloudsmith API - -The API to the Cloudsmith Service - -API version: 1.121.3 -Contact: support@cloudsmith.io -*/ - -// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. - -package cloudsmith - -import ( - "encoding/json" -) - -// NpmPackageUpload struct for NpmPackageUpload -type NpmPackageUpload struct { - // - Architectures []PackagesOwnerRepoArchitectures `json:"architectures,omitempty"` - // - CdnUrl *string `json:"cdn_url,omitempty"` - // - ChecksumMd5 *string `json:"checksum_md5,omitempty"` - // - ChecksumSha1 *string `json:"checksum_sha1,omitempty"` - // - ChecksumSha256 *string `json:"checksum_sha256,omitempty"` - // - ChecksumSha512 *string `json:"checksum_sha512,omitempty"` - // A checksum of all of the package's dependencies. - DependenciesChecksumMd5 *string `json:"dependencies_checksum_md5,omitempty"` - // - DependenciesUrl *string `json:"dependencies_url,omitempty"` - // A textual description of this package. - Description *string `json:"description,omitempty"` - // - Distro map[string]interface{} `json:"distro,omitempty"` - // - DistroVersion map[string]interface{} `json:"distro_version,omitempty"` - // - Downloads *int64 `json:"downloads,omitempty"` - // The epoch of the package version (if any). - Epoch *int64 `json:"epoch,omitempty"` - // - Extension *string `json:"extension,omitempty"` - // - Filename *string `json:"filename,omitempty"` - // - Files []PackagesOwnerRepoFiles `json:"files,omitempty"` - // - Format *string `json:"format,omitempty"` - // - FormatUrl *string `json:"format_url,omitempty"` - // Unique and permanent identifier for the package. - IdentifierPerm *string `json:"identifier_perm,omitempty"` - // - Indexed *bool `json:"indexed,omitempty"` - // - IsDownloadable *bool `json:"is_downloadable,omitempty"` - // - IsQuarantined *bool `json:"is_quarantined,omitempty"` - // - IsSyncAwaiting *bool `json:"is_sync_awaiting,omitempty"` - // - IsSyncCompleted *bool `json:"is_sync_completed,omitempty"` - // - IsSyncFailed *bool `json:"is_sync_failed,omitempty"` - // - IsSyncInFlight *bool `json:"is_sync_in_flight,omitempty"` - // - IsSyncInProgress *bool `json:"is_sync_in_progress,omitempty"` - // The license of this package. - License *string `json:"license,omitempty"` - // The name of this package. - Name *string `json:"name,omitempty"` - // - Namespace *string `json:"namespace,omitempty"` - // - NamespaceUrl *string `json:"namespace_url,omitempty"` - // - NumFiles *int64 `json:"num_files,omitempty"` - // The type of package contents. - PackageType *int64 `json:"package_type,omitempty"` - // The release of the package version (if any). - Release *string `json:"release,omitempty"` - // - Repository *string `json:"repository,omitempty"` - // - RepositoryUrl *string `json:"repository_url,omitempty"` - // The datetime the security scanning was completed. - SecurityScanCompletedAt *string `json:"security_scan_completed_at,omitempty"` - // The datetime the security scanning was started. - SecurityScanStartedAt *string `json:"security_scan_started_at,omitempty"` - // - SecurityScanStatus *string `json:"security_scan_status,omitempty"` - // The datetime the security scanning status was updated. - SecurityScanStatusUpdatedAt *string `json:"security_scan_status_updated_at,omitempty"` - // - SelfHtmlUrl *string `json:"self_html_url,omitempty"` - // - SelfUrl *string `json:"self_url,omitempty"` - // - SignatureUrl *string `json:"signature_url,omitempty"` - // The calculated size of the package. - Size *int64 `json:"size,omitempty"` - // The public unique identifier for the package. - Slug *string `json:"slug,omitempty"` - // - SlugPerm *string `json:"slug_perm,omitempty"` - // The synchronisation (in progress) stage of the package. - Stage *int64 `json:"stage,omitempty"` - // - StageStr *string `json:"stage_str,omitempty"` - // The datetime the package stage was updated at. - StageUpdatedAt *string `json:"stage_updated_at,omitempty"` - // The synchronisation status of the package. - Status *int64 `json:"status,omitempty"` - // A textual description for the synchronous status reason (if any - StatusReason *string `json:"status_reason,omitempty"` - // - StatusStr *string `json:"status_str,omitempty"` - // The datetime the package status was updated at. - StatusUpdatedAt *string `json:"status_updated_at,omitempty"` - // - StatusUrl *string `json:"status_url,omitempty"` - // - Subtype *string `json:"subtype,omitempty"` - // A one-liner synopsis of this package. - Summary *string `json:"summary,omitempty"` - // The datetime the package sync was finished at. - SyncFinishedAt *string `json:"sync_finished_at,omitempty"` - // Synchronisation progress (from 0-100) - SyncProgress *int64 `json:"sync_progress,omitempty"` - // All immutable tags on the package, grouped by tag type. Immutable tags cannot be (easily) deleted. - TagsImmutable map[string]interface{} `json:"tags_immutable,omitempty"` - // - TypeDisplay *string `json:"type_display,omitempty"` - // The date this package was uploaded. - UploadedAt *string `json:"uploaded_at,omitempty"` - // - Uploader *string `json:"uploader,omitempty"` - // - UploaderUrl *string `json:"uploader_url,omitempty"` - // The raw version for this package. - Version *string `json:"version,omitempty"` - // - VersionOrig *string `json:"version_orig,omitempty"` - // - VulnerabilityScanResultsUrl *string `json:"vulnerability_scan_results_url,omitempty"` -} - -// NewNpmPackageUpload instantiates a new NpmPackageUpload object -// 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 NewNpmPackageUpload() *NpmPackageUpload { - this := NpmPackageUpload{} - return &this -} - -// NewNpmPackageUploadWithDefaults instantiates a new NpmPackageUpload object -// This constructor will only assign default values to properties that have it defined, -// but it doesn't guarantee that properties required by API are set -func NewNpmPackageUploadWithDefaults() *NpmPackageUpload { - this := NpmPackageUpload{} - return &this -} - -// GetArchitectures returns the Architectures field value if set, zero value otherwise. -func (o *NpmPackageUpload) GetArchitectures() []PackagesOwnerRepoArchitectures { - if o == nil || o.Architectures == nil { - var ret []PackagesOwnerRepoArchitectures - return ret - } - return o.Architectures -} - -// GetArchitecturesOk returns a tuple with the Architectures field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *NpmPackageUpload) GetArchitecturesOk() ([]PackagesOwnerRepoArchitectures, bool) { - if o == nil || o.Architectures == nil { - return nil, false - } - return o.Architectures, true -} - -// HasArchitectures returns a boolean if a field has been set. -func (o *NpmPackageUpload) HasArchitectures() bool { - if o != nil && o.Architectures != nil { - return true - } - - return false -} - -// SetArchitectures gets a reference to the given []PackagesOwnerRepoArchitectures and assigns it to the Architectures field. -func (o *NpmPackageUpload) SetArchitectures(v []PackagesOwnerRepoArchitectures) { - o.Architectures = v -} - -// GetCdnUrl returns the CdnUrl field value if set, zero value otherwise. -func (o *NpmPackageUpload) GetCdnUrl() string { - if o == nil || o.CdnUrl == nil { - var ret string - return ret - } - return *o.CdnUrl -} - -// GetCdnUrlOk returns a tuple with the CdnUrl field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *NpmPackageUpload) GetCdnUrlOk() (*string, bool) { - if o == nil || o.CdnUrl == nil { - return nil, false - } - return o.CdnUrl, true -} - -// HasCdnUrl returns a boolean if a field has been set. -func (o *NpmPackageUpload) HasCdnUrl() bool { - if o != nil && o.CdnUrl != nil { - return true - } - - return false -} - -// SetCdnUrl gets a reference to the given string and assigns it to the CdnUrl field. -func (o *NpmPackageUpload) SetCdnUrl(v string) { - o.CdnUrl = &v -} - -// GetChecksumMd5 returns the ChecksumMd5 field value if set, zero value otherwise. -func (o *NpmPackageUpload) GetChecksumMd5() string { - if o == nil || o.ChecksumMd5 == nil { - var ret string - return ret - } - return *o.ChecksumMd5 -} - -// GetChecksumMd5Ok returns a tuple with the ChecksumMd5 field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *NpmPackageUpload) GetChecksumMd5Ok() (*string, bool) { - if o == nil || o.ChecksumMd5 == nil { - return nil, false - } - return o.ChecksumMd5, true -} - -// HasChecksumMd5 returns a boolean if a field has been set. -func (o *NpmPackageUpload) HasChecksumMd5() bool { - if o != nil && o.ChecksumMd5 != nil { - return true - } - - return false -} - -// SetChecksumMd5 gets a reference to the given string and assigns it to the ChecksumMd5 field. -func (o *NpmPackageUpload) SetChecksumMd5(v string) { - o.ChecksumMd5 = &v -} - -// GetChecksumSha1 returns the ChecksumSha1 field value if set, zero value otherwise. -func (o *NpmPackageUpload) GetChecksumSha1() string { - if o == nil || o.ChecksumSha1 == nil { - var ret string - return ret - } - return *o.ChecksumSha1 -} - -// GetChecksumSha1Ok returns a tuple with the ChecksumSha1 field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *NpmPackageUpload) GetChecksumSha1Ok() (*string, bool) { - if o == nil || o.ChecksumSha1 == nil { - return nil, false - } - return o.ChecksumSha1, true -} - -// HasChecksumSha1 returns a boolean if a field has been set. -func (o *NpmPackageUpload) HasChecksumSha1() bool { - if o != nil && o.ChecksumSha1 != nil { - return true - } - - return false -} - -// SetChecksumSha1 gets a reference to the given string and assigns it to the ChecksumSha1 field. -func (o *NpmPackageUpload) SetChecksumSha1(v string) { - o.ChecksumSha1 = &v -} - -// GetChecksumSha256 returns the ChecksumSha256 field value if set, zero value otherwise. -func (o *NpmPackageUpload) GetChecksumSha256() string { - if o == nil || o.ChecksumSha256 == nil { - var ret string - return ret - } - return *o.ChecksumSha256 -} - -// GetChecksumSha256Ok returns a tuple with the ChecksumSha256 field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *NpmPackageUpload) GetChecksumSha256Ok() (*string, bool) { - if o == nil || o.ChecksumSha256 == nil { - return nil, false - } - return o.ChecksumSha256, true -} - -// HasChecksumSha256 returns a boolean if a field has been set. -func (o *NpmPackageUpload) HasChecksumSha256() bool { - if o != nil && o.ChecksumSha256 != nil { - return true - } - - return false -} - -// SetChecksumSha256 gets a reference to the given string and assigns it to the ChecksumSha256 field. -func (o *NpmPackageUpload) SetChecksumSha256(v string) { - o.ChecksumSha256 = &v -} - -// GetChecksumSha512 returns the ChecksumSha512 field value if set, zero value otherwise. -func (o *NpmPackageUpload) GetChecksumSha512() string { - if o == nil || o.ChecksumSha512 == nil { - var ret string - return ret - } - return *o.ChecksumSha512 -} - -// GetChecksumSha512Ok returns a tuple with the ChecksumSha512 field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *NpmPackageUpload) GetChecksumSha512Ok() (*string, bool) { - if o == nil || o.ChecksumSha512 == nil { - return nil, false - } - return o.ChecksumSha512, true -} - -// HasChecksumSha512 returns a boolean if a field has been set. -func (o *NpmPackageUpload) HasChecksumSha512() bool { - if o != nil && o.ChecksumSha512 != nil { - return true - } - - return false -} - -// SetChecksumSha512 gets a reference to the given string and assigns it to the ChecksumSha512 field. -func (o *NpmPackageUpload) SetChecksumSha512(v string) { - o.ChecksumSha512 = &v -} - -// GetDependenciesChecksumMd5 returns the DependenciesChecksumMd5 field value if set, zero value otherwise. -func (o *NpmPackageUpload) GetDependenciesChecksumMd5() string { - if o == nil || o.DependenciesChecksumMd5 == nil { - var ret string - return ret - } - return *o.DependenciesChecksumMd5 -} - -// GetDependenciesChecksumMd5Ok returns a tuple with the DependenciesChecksumMd5 field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *NpmPackageUpload) GetDependenciesChecksumMd5Ok() (*string, bool) { - if o == nil || o.DependenciesChecksumMd5 == nil { - return nil, false - } - return o.DependenciesChecksumMd5, true -} - -// HasDependenciesChecksumMd5 returns a boolean if a field has been set. -func (o *NpmPackageUpload) HasDependenciesChecksumMd5() bool { - if o != nil && o.DependenciesChecksumMd5 != nil { - return true - } - - return false -} - -// SetDependenciesChecksumMd5 gets a reference to the given string and assigns it to the DependenciesChecksumMd5 field. -func (o *NpmPackageUpload) SetDependenciesChecksumMd5(v string) { - o.DependenciesChecksumMd5 = &v -} - -// GetDependenciesUrl returns the DependenciesUrl field value if set, zero value otherwise. -func (o *NpmPackageUpload) GetDependenciesUrl() string { - if o == nil || o.DependenciesUrl == nil { - var ret string - return ret - } - return *o.DependenciesUrl -} - -// GetDependenciesUrlOk returns a tuple with the DependenciesUrl field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *NpmPackageUpload) GetDependenciesUrlOk() (*string, bool) { - if o == nil || o.DependenciesUrl == nil { - return nil, false - } - return o.DependenciesUrl, true -} - -// HasDependenciesUrl returns a boolean if a field has been set. -func (o *NpmPackageUpload) HasDependenciesUrl() bool { - if o != nil && o.DependenciesUrl != nil { - return true - } - - return false -} - -// SetDependenciesUrl gets a reference to the given string and assigns it to the DependenciesUrl field. -func (o *NpmPackageUpload) SetDependenciesUrl(v string) { - o.DependenciesUrl = &v -} - -// GetDescription returns the Description field value if set, zero value otherwise. -func (o *NpmPackageUpload) GetDescription() string { - if o == nil || o.Description == nil { - var ret string - return ret - } - return *o.Description -} - -// GetDescriptionOk returns a tuple with the Description field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *NpmPackageUpload) GetDescriptionOk() (*string, bool) { - if o == nil || o.Description == nil { - return nil, false - } - return o.Description, true -} - -// HasDescription returns a boolean if a field has been set. -func (o *NpmPackageUpload) HasDescription() bool { - if o != nil && o.Description != nil { - return true - } - - return false -} - -// SetDescription gets a reference to the given string and assigns it to the Description field. -func (o *NpmPackageUpload) SetDescription(v string) { - o.Description = &v -} - -// GetDistro returns the Distro field value if set, zero value otherwise. -func (o *NpmPackageUpload) GetDistro() map[string]interface{} { - if o == nil || o.Distro == nil { - var ret map[string]interface{} - return ret - } - return o.Distro -} - -// GetDistroOk returns a tuple with the Distro field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *NpmPackageUpload) GetDistroOk() (map[string]interface{}, bool) { - if o == nil || o.Distro == nil { - return nil, false - } - return o.Distro, true -} - -// HasDistro returns a boolean if a field has been set. -func (o *NpmPackageUpload) HasDistro() bool { - if o != nil && o.Distro != nil { - return true - } - - return false -} - -// SetDistro gets a reference to the given map[string]interface{} and assigns it to the Distro field. -func (o *NpmPackageUpload) SetDistro(v map[string]interface{}) { - o.Distro = v -} - -// GetDistroVersion returns the DistroVersion field value if set, zero value otherwise. -func (o *NpmPackageUpload) GetDistroVersion() map[string]interface{} { - if o == nil || o.DistroVersion == nil { - var ret map[string]interface{} - return ret - } - return o.DistroVersion -} - -// GetDistroVersionOk returns a tuple with the DistroVersion field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *NpmPackageUpload) GetDistroVersionOk() (map[string]interface{}, bool) { - if o == nil || o.DistroVersion == nil { - return nil, false - } - return o.DistroVersion, true -} - -// HasDistroVersion returns a boolean if a field has been set. -func (o *NpmPackageUpload) HasDistroVersion() bool { - if o != nil && o.DistroVersion != nil { - return true - } - - return false -} - -// SetDistroVersion gets a reference to the given map[string]interface{} and assigns it to the DistroVersion field. -func (o *NpmPackageUpload) SetDistroVersion(v map[string]interface{}) { - o.DistroVersion = v -} - -// GetDownloads returns the Downloads field value if set, zero value otherwise. -func (o *NpmPackageUpload) GetDownloads() int64 { - if o == nil || o.Downloads == nil { - var ret int64 - return ret - } - return *o.Downloads -} - -// GetDownloadsOk returns a tuple with the Downloads field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *NpmPackageUpload) GetDownloadsOk() (*int64, bool) { - if o == nil || o.Downloads == nil { - return nil, false - } - return o.Downloads, true -} - -// HasDownloads returns a boolean if a field has been set. -func (o *NpmPackageUpload) HasDownloads() bool { - if o != nil && o.Downloads != nil { - return true - } - - return false -} - -// SetDownloads gets a reference to the given int64 and assigns it to the Downloads field. -func (o *NpmPackageUpload) SetDownloads(v int64) { - o.Downloads = &v -} - -// GetEpoch returns the Epoch field value if set, zero value otherwise. -func (o *NpmPackageUpload) GetEpoch() int64 { - if o == nil || o.Epoch == nil { - var ret int64 - return ret - } - return *o.Epoch -} - -// GetEpochOk returns a tuple with the Epoch field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *NpmPackageUpload) GetEpochOk() (*int64, bool) { - if o == nil || o.Epoch == nil { - return nil, false - } - return o.Epoch, true -} - -// HasEpoch returns a boolean if a field has been set. -func (o *NpmPackageUpload) HasEpoch() bool { - if o != nil && o.Epoch != nil { - return true - } - - return false -} - -// SetEpoch gets a reference to the given int64 and assigns it to the Epoch field. -func (o *NpmPackageUpload) SetEpoch(v int64) { - o.Epoch = &v -} - -// GetExtension returns the Extension field value if set, zero value otherwise. -func (o *NpmPackageUpload) GetExtension() string { - if o == nil || o.Extension == nil { - var ret string - return ret - } - return *o.Extension -} - -// GetExtensionOk returns a tuple with the Extension field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *NpmPackageUpload) GetExtensionOk() (*string, bool) { - if o == nil || o.Extension == nil { - return nil, false - } - return o.Extension, true -} - -// HasExtension returns a boolean if a field has been set. -func (o *NpmPackageUpload) HasExtension() bool { - if o != nil && o.Extension != nil { - return true - } - - return false -} - -// SetExtension gets a reference to the given string and assigns it to the Extension field. -func (o *NpmPackageUpload) SetExtension(v string) { - o.Extension = &v -} - -// GetFilename returns the Filename field value if set, zero value otherwise. -func (o *NpmPackageUpload) GetFilename() string { - if o == nil || o.Filename == nil { - var ret string - return ret - } - return *o.Filename -} - -// GetFilenameOk returns a tuple with the Filename field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *NpmPackageUpload) GetFilenameOk() (*string, bool) { - if o == nil || o.Filename == nil { - return nil, false - } - return o.Filename, true -} - -// HasFilename returns a boolean if a field has been set. -func (o *NpmPackageUpload) HasFilename() bool { - if o != nil && o.Filename != nil { - return true - } - - return false -} - -// SetFilename gets a reference to the given string and assigns it to the Filename field. -func (o *NpmPackageUpload) SetFilename(v string) { - o.Filename = &v -} - -// GetFiles returns the Files field value if set, zero value otherwise. -func (o *NpmPackageUpload) GetFiles() []PackagesOwnerRepoFiles { - if o == nil || o.Files == nil { - var ret []PackagesOwnerRepoFiles - return ret - } - return o.Files -} - -// GetFilesOk returns a tuple with the Files field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *NpmPackageUpload) GetFilesOk() ([]PackagesOwnerRepoFiles, bool) { - if o == nil || o.Files == nil { - return nil, false - } - return o.Files, true -} - -// HasFiles returns a boolean if a field has been set. -func (o *NpmPackageUpload) HasFiles() bool { - if o != nil && o.Files != nil { - return true - } - - return false -} - -// SetFiles gets a reference to the given []PackagesOwnerRepoFiles and assigns it to the Files field. -func (o *NpmPackageUpload) SetFiles(v []PackagesOwnerRepoFiles) { - o.Files = v -} - -// GetFormat returns the Format field value if set, zero value otherwise. -func (o *NpmPackageUpload) GetFormat() string { - if o == nil || o.Format == nil { - var ret string - return ret - } - return *o.Format -} - -// GetFormatOk returns a tuple with the Format field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *NpmPackageUpload) GetFormatOk() (*string, bool) { - if o == nil || o.Format == nil { - return nil, false - } - return o.Format, true -} - -// HasFormat returns a boolean if a field has been set. -func (o *NpmPackageUpload) HasFormat() bool { - if o != nil && o.Format != nil { - return true - } - - return false -} - -// SetFormat gets a reference to the given string and assigns it to the Format field. -func (o *NpmPackageUpload) SetFormat(v string) { - o.Format = &v -} - -// GetFormatUrl returns the FormatUrl field value if set, zero value otherwise. -func (o *NpmPackageUpload) GetFormatUrl() string { - if o == nil || o.FormatUrl == nil { - var ret string - return ret - } - return *o.FormatUrl -} - -// GetFormatUrlOk returns a tuple with the FormatUrl field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *NpmPackageUpload) GetFormatUrlOk() (*string, bool) { - if o == nil || o.FormatUrl == nil { - return nil, false - } - return o.FormatUrl, true -} - -// HasFormatUrl returns a boolean if a field has been set. -func (o *NpmPackageUpload) HasFormatUrl() bool { - if o != nil && o.FormatUrl != nil { - return true - } - - return false -} - -// SetFormatUrl gets a reference to the given string and assigns it to the FormatUrl field. -func (o *NpmPackageUpload) SetFormatUrl(v string) { - o.FormatUrl = &v -} - -// GetIdentifierPerm returns the IdentifierPerm field value if set, zero value otherwise. -func (o *NpmPackageUpload) GetIdentifierPerm() string { - if o == nil || o.IdentifierPerm == nil { - var ret string - return ret - } - return *o.IdentifierPerm -} - -// GetIdentifierPermOk returns a tuple with the IdentifierPerm field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *NpmPackageUpload) GetIdentifierPermOk() (*string, bool) { - if o == nil || o.IdentifierPerm == nil { - return nil, false - } - return o.IdentifierPerm, true -} - -// HasIdentifierPerm returns a boolean if a field has been set. -func (o *NpmPackageUpload) HasIdentifierPerm() bool { - if o != nil && o.IdentifierPerm != nil { - return true - } - - return false -} - -// SetIdentifierPerm gets a reference to the given string and assigns it to the IdentifierPerm field. -func (o *NpmPackageUpload) SetIdentifierPerm(v string) { - o.IdentifierPerm = &v -} - -// GetIndexed returns the Indexed field value if set, zero value otherwise. -func (o *NpmPackageUpload) GetIndexed() bool { - if o == nil || o.Indexed == nil { - var ret bool - return ret - } - return *o.Indexed -} - -// GetIndexedOk returns a tuple with the Indexed field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *NpmPackageUpload) GetIndexedOk() (*bool, bool) { - if o == nil || o.Indexed == nil { - return nil, false - } - return o.Indexed, true -} - -// HasIndexed returns a boolean if a field has been set. -func (o *NpmPackageUpload) HasIndexed() bool { - if o != nil && o.Indexed != nil { - return true - } - - return false -} - -// SetIndexed gets a reference to the given bool and assigns it to the Indexed field. -func (o *NpmPackageUpload) SetIndexed(v bool) { - o.Indexed = &v -} - -// GetIsDownloadable returns the IsDownloadable field value if set, zero value otherwise. -func (o *NpmPackageUpload) GetIsDownloadable() bool { - if o == nil || o.IsDownloadable == nil { - var ret bool - return ret - } - return *o.IsDownloadable -} - -// GetIsDownloadableOk returns a tuple with the IsDownloadable field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *NpmPackageUpload) GetIsDownloadableOk() (*bool, bool) { - if o == nil || o.IsDownloadable == nil { - return nil, false - } - return o.IsDownloadable, true -} - -// HasIsDownloadable returns a boolean if a field has been set. -func (o *NpmPackageUpload) HasIsDownloadable() bool { - if o != nil && o.IsDownloadable != nil { - return true - } - - return false -} - -// SetIsDownloadable gets a reference to the given bool and assigns it to the IsDownloadable field. -func (o *NpmPackageUpload) SetIsDownloadable(v bool) { - o.IsDownloadable = &v -} - -// GetIsQuarantined returns the IsQuarantined field value if set, zero value otherwise. -func (o *NpmPackageUpload) GetIsQuarantined() bool { - if o == nil || o.IsQuarantined == nil { - var ret bool - return ret - } - return *o.IsQuarantined -} - -// GetIsQuarantinedOk returns a tuple with the IsQuarantined field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *NpmPackageUpload) GetIsQuarantinedOk() (*bool, bool) { - if o == nil || o.IsQuarantined == nil { - return nil, false - } - return o.IsQuarantined, true -} - -// HasIsQuarantined returns a boolean if a field has been set. -func (o *NpmPackageUpload) HasIsQuarantined() bool { - if o != nil && o.IsQuarantined != nil { - return true - } - - return false -} - -// SetIsQuarantined gets a reference to the given bool and assigns it to the IsQuarantined field. -func (o *NpmPackageUpload) SetIsQuarantined(v bool) { - o.IsQuarantined = &v -} - -// GetIsSyncAwaiting returns the IsSyncAwaiting field value if set, zero value otherwise. -func (o *NpmPackageUpload) GetIsSyncAwaiting() bool { - if o == nil || o.IsSyncAwaiting == nil { - var ret bool - return ret - } - return *o.IsSyncAwaiting -} - -// GetIsSyncAwaitingOk returns a tuple with the IsSyncAwaiting field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *NpmPackageUpload) GetIsSyncAwaitingOk() (*bool, bool) { - if o == nil || o.IsSyncAwaiting == nil { - return nil, false - } - return o.IsSyncAwaiting, true -} - -// HasIsSyncAwaiting returns a boolean if a field has been set. -func (o *NpmPackageUpload) HasIsSyncAwaiting() bool { - if o != nil && o.IsSyncAwaiting != nil { - return true - } - - return false -} - -// SetIsSyncAwaiting gets a reference to the given bool and assigns it to the IsSyncAwaiting field. -func (o *NpmPackageUpload) SetIsSyncAwaiting(v bool) { - o.IsSyncAwaiting = &v -} - -// GetIsSyncCompleted returns the IsSyncCompleted field value if set, zero value otherwise. -func (o *NpmPackageUpload) GetIsSyncCompleted() bool { - if o == nil || o.IsSyncCompleted == nil { - var ret bool - return ret - } - return *o.IsSyncCompleted -} - -// GetIsSyncCompletedOk returns a tuple with the IsSyncCompleted field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *NpmPackageUpload) GetIsSyncCompletedOk() (*bool, bool) { - if o == nil || o.IsSyncCompleted == nil { - return nil, false - } - return o.IsSyncCompleted, true -} - -// HasIsSyncCompleted returns a boolean if a field has been set. -func (o *NpmPackageUpload) HasIsSyncCompleted() bool { - if o != nil && o.IsSyncCompleted != nil { - return true - } - - return false -} - -// SetIsSyncCompleted gets a reference to the given bool and assigns it to the IsSyncCompleted field. -func (o *NpmPackageUpload) SetIsSyncCompleted(v bool) { - o.IsSyncCompleted = &v -} - -// GetIsSyncFailed returns the IsSyncFailed field value if set, zero value otherwise. -func (o *NpmPackageUpload) GetIsSyncFailed() bool { - if o == nil || o.IsSyncFailed == nil { - var ret bool - return ret - } - return *o.IsSyncFailed -} - -// GetIsSyncFailedOk returns a tuple with the IsSyncFailed field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *NpmPackageUpload) GetIsSyncFailedOk() (*bool, bool) { - if o == nil || o.IsSyncFailed == nil { - return nil, false - } - return o.IsSyncFailed, true -} - -// HasIsSyncFailed returns a boolean if a field has been set. -func (o *NpmPackageUpload) HasIsSyncFailed() bool { - if o != nil && o.IsSyncFailed != nil { - return true - } - - return false -} - -// SetIsSyncFailed gets a reference to the given bool and assigns it to the IsSyncFailed field. -func (o *NpmPackageUpload) SetIsSyncFailed(v bool) { - o.IsSyncFailed = &v -} - -// GetIsSyncInFlight returns the IsSyncInFlight field value if set, zero value otherwise. -func (o *NpmPackageUpload) GetIsSyncInFlight() bool { - if o == nil || o.IsSyncInFlight == nil { - var ret bool - return ret - } - return *o.IsSyncInFlight -} - -// GetIsSyncInFlightOk returns a tuple with the IsSyncInFlight field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *NpmPackageUpload) GetIsSyncInFlightOk() (*bool, bool) { - if o == nil || o.IsSyncInFlight == nil { - return nil, false - } - return o.IsSyncInFlight, true -} - -// HasIsSyncInFlight returns a boolean if a field has been set. -func (o *NpmPackageUpload) HasIsSyncInFlight() bool { - if o != nil && o.IsSyncInFlight != nil { - return true - } - - return false -} - -// SetIsSyncInFlight gets a reference to the given bool and assigns it to the IsSyncInFlight field. -func (o *NpmPackageUpload) SetIsSyncInFlight(v bool) { - o.IsSyncInFlight = &v -} - -// GetIsSyncInProgress returns the IsSyncInProgress field value if set, zero value otherwise. -func (o *NpmPackageUpload) GetIsSyncInProgress() bool { - if o == nil || o.IsSyncInProgress == nil { - var ret bool - return ret - } - return *o.IsSyncInProgress -} - -// GetIsSyncInProgressOk returns a tuple with the IsSyncInProgress field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *NpmPackageUpload) GetIsSyncInProgressOk() (*bool, bool) { - if o == nil || o.IsSyncInProgress == nil { - return nil, false - } - return o.IsSyncInProgress, true -} - -// HasIsSyncInProgress returns a boolean if a field has been set. -func (o *NpmPackageUpload) HasIsSyncInProgress() bool { - if o != nil && o.IsSyncInProgress != nil { - return true - } - - return false -} - -// SetIsSyncInProgress gets a reference to the given bool and assigns it to the IsSyncInProgress field. -func (o *NpmPackageUpload) SetIsSyncInProgress(v bool) { - o.IsSyncInProgress = &v -} - -// GetLicense returns the License field value if set, zero value otherwise. -func (o *NpmPackageUpload) GetLicense() string { - if o == nil || o.License == nil { - var ret string - return ret - } - return *o.License -} - -// GetLicenseOk returns a tuple with the License field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *NpmPackageUpload) GetLicenseOk() (*string, bool) { - if o == nil || o.License == nil { - return nil, false - } - return o.License, true -} - -// HasLicense returns a boolean if a field has been set. -func (o *NpmPackageUpload) HasLicense() bool { - if o != nil && o.License != nil { - return true - } - - return false -} - -// SetLicense gets a reference to the given string and assigns it to the License field. -func (o *NpmPackageUpload) SetLicense(v string) { - o.License = &v -} - -// GetName returns the Name field value if set, zero value otherwise. -func (o *NpmPackageUpload) GetName() string { - if o == nil || o.Name == nil { - var ret string - return ret - } - return *o.Name -} - -// GetNameOk returns a tuple with the Name field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *NpmPackageUpload) GetNameOk() (*string, bool) { - if o == nil || o.Name == nil { - return nil, false - } - return o.Name, true -} - -// HasName returns a boolean if a field has been set. -func (o *NpmPackageUpload) HasName() bool { - if o != nil && o.Name != nil { - return true - } - - return false -} - -// SetName gets a reference to the given string and assigns it to the Name field. -func (o *NpmPackageUpload) SetName(v string) { - o.Name = &v -} - -// GetNamespace returns the Namespace field value if set, zero value otherwise. -func (o *NpmPackageUpload) GetNamespace() string { - if o == nil || o.Namespace == nil { - var ret string - return ret - } - return *o.Namespace -} - -// GetNamespaceOk returns a tuple with the Namespace field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *NpmPackageUpload) GetNamespaceOk() (*string, bool) { - if o == nil || o.Namespace == nil { - return nil, false - } - return o.Namespace, true -} - -// HasNamespace returns a boolean if a field has been set. -func (o *NpmPackageUpload) HasNamespace() bool { - if o != nil && o.Namespace != nil { - return true - } - - return false -} - -// SetNamespace gets a reference to the given string and assigns it to the Namespace field. -func (o *NpmPackageUpload) SetNamespace(v string) { - o.Namespace = &v -} - -// GetNamespaceUrl returns the NamespaceUrl field value if set, zero value otherwise. -func (o *NpmPackageUpload) GetNamespaceUrl() string { - if o == nil || o.NamespaceUrl == nil { - var ret string - return ret - } - return *o.NamespaceUrl -} - -// GetNamespaceUrlOk returns a tuple with the NamespaceUrl field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *NpmPackageUpload) GetNamespaceUrlOk() (*string, bool) { - if o == nil || o.NamespaceUrl == nil { - return nil, false - } - return o.NamespaceUrl, true -} - -// HasNamespaceUrl returns a boolean if a field has been set. -func (o *NpmPackageUpload) HasNamespaceUrl() bool { - if o != nil && o.NamespaceUrl != nil { - return true - } - - return false -} - -// SetNamespaceUrl gets a reference to the given string and assigns it to the NamespaceUrl field. -func (o *NpmPackageUpload) SetNamespaceUrl(v string) { - o.NamespaceUrl = &v -} - -// GetNumFiles returns the NumFiles field value if set, zero value otherwise. -func (o *NpmPackageUpload) GetNumFiles() int64 { - if o == nil || o.NumFiles == nil { - var ret int64 - return ret - } - return *o.NumFiles -} - -// GetNumFilesOk returns a tuple with the NumFiles field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *NpmPackageUpload) GetNumFilesOk() (*int64, bool) { - if o == nil || o.NumFiles == nil { - return nil, false - } - return o.NumFiles, true -} - -// HasNumFiles returns a boolean if a field has been set. -func (o *NpmPackageUpload) HasNumFiles() bool { - if o != nil && o.NumFiles != nil { - return true - } - - return false -} - -// SetNumFiles gets a reference to the given int64 and assigns it to the NumFiles field. -func (o *NpmPackageUpload) SetNumFiles(v int64) { - o.NumFiles = &v -} - -// GetPackageType returns the PackageType field value if set, zero value otherwise. -func (o *NpmPackageUpload) GetPackageType() int64 { - if o == nil || o.PackageType == nil { - var ret int64 - return ret - } - return *o.PackageType -} - -// GetPackageTypeOk returns a tuple with the PackageType field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *NpmPackageUpload) GetPackageTypeOk() (*int64, bool) { - if o == nil || o.PackageType == nil { - return nil, false - } - return o.PackageType, true -} - -// HasPackageType returns a boolean if a field has been set. -func (o *NpmPackageUpload) HasPackageType() bool { - if o != nil && o.PackageType != nil { - return true - } - - return false -} - -// SetPackageType gets a reference to the given int64 and assigns it to the PackageType field. -func (o *NpmPackageUpload) SetPackageType(v int64) { - o.PackageType = &v -} - -// GetRelease returns the Release field value if set, zero value otherwise. -func (o *NpmPackageUpload) GetRelease() string { - if o == nil || o.Release == nil { - var ret string - return ret - } - return *o.Release -} - -// GetReleaseOk returns a tuple with the Release field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *NpmPackageUpload) GetReleaseOk() (*string, bool) { - if o == nil || o.Release == nil { - return nil, false - } - return o.Release, true -} - -// HasRelease returns a boolean if a field has been set. -func (o *NpmPackageUpload) HasRelease() bool { - if o != nil && o.Release != nil { - return true - } - - return false -} - -// SetRelease gets a reference to the given string and assigns it to the Release field. -func (o *NpmPackageUpload) SetRelease(v string) { - o.Release = &v -} - -// GetRepository returns the Repository field value if set, zero value otherwise. -func (o *NpmPackageUpload) GetRepository() string { - if o == nil || o.Repository == nil { - var ret string - return ret - } - return *o.Repository -} - -// GetRepositoryOk returns a tuple with the Repository field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *NpmPackageUpload) GetRepositoryOk() (*string, bool) { - if o == nil || o.Repository == nil { - return nil, false - } - return o.Repository, true -} - -// HasRepository returns a boolean if a field has been set. -func (o *NpmPackageUpload) HasRepository() bool { - if o != nil && o.Repository != nil { - return true - } - - return false -} - -// SetRepository gets a reference to the given string and assigns it to the Repository field. -func (o *NpmPackageUpload) SetRepository(v string) { - o.Repository = &v -} - -// GetRepositoryUrl returns the RepositoryUrl field value if set, zero value otherwise. -func (o *NpmPackageUpload) GetRepositoryUrl() string { - if o == nil || o.RepositoryUrl == nil { - var ret string - return ret - } - return *o.RepositoryUrl -} - -// GetRepositoryUrlOk returns a tuple with the RepositoryUrl field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *NpmPackageUpload) GetRepositoryUrlOk() (*string, bool) { - if o == nil || o.RepositoryUrl == nil { - return nil, false - } - return o.RepositoryUrl, true -} - -// HasRepositoryUrl returns a boolean if a field has been set. -func (o *NpmPackageUpload) HasRepositoryUrl() bool { - if o != nil && o.RepositoryUrl != nil { - return true - } - - return false -} - -// SetRepositoryUrl gets a reference to the given string and assigns it to the RepositoryUrl field. -func (o *NpmPackageUpload) SetRepositoryUrl(v string) { - o.RepositoryUrl = &v -} - -// GetSecurityScanCompletedAt returns the SecurityScanCompletedAt field value if set, zero value otherwise. -func (o *NpmPackageUpload) GetSecurityScanCompletedAt() string { - if o == nil || o.SecurityScanCompletedAt == nil { - var ret string - return ret - } - return *o.SecurityScanCompletedAt -} - -// GetSecurityScanCompletedAtOk returns a tuple with the SecurityScanCompletedAt field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *NpmPackageUpload) GetSecurityScanCompletedAtOk() (*string, bool) { - if o == nil || o.SecurityScanCompletedAt == nil { - return nil, false - } - return o.SecurityScanCompletedAt, true -} - -// HasSecurityScanCompletedAt returns a boolean if a field has been set. -func (o *NpmPackageUpload) HasSecurityScanCompletedAt() bool { - if o != nil && o.SecurityScanCompletedAt != nil { - return true - } - - return false -} - -// SetSecurityScanCompletedAt gets a reference to the given string and assigns it to the SecurityScanCompletedAt field. -func (o *NpmPackageUpload) SetSecurityScanCompletedAt(v string) { - o.SecurityScanCompletedAt = &v -} - -// GetSecurityScanStartedAt returns the SecurityScanStartedAt field value if set, zero value otherwise. -func (o *NpmPackageUpload) GetSecurityScanStartedAt() string { - if o == nil || o.SecurityScanStartedAt == nil { - var ret string - return ret - } - return *o.SecurityScanStartedAt -} - -// GetSecurityScanStartedAtOk returns a tuple with the SecurityScanStartedAt field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *NpmPackageUpload) GetSecurityScanStartedAtOk() (*string, bool) { - if o == nil || o.SecurityScanStartedAt == nil { - return nil, false - } - return o.SecurityScanStartedAt, true -} - -// HasSecurityScanStartedAt returns a boolean if a field has been set. -func (o *NpmPackageUpload) HasSecurityScanStartedAt() bool { - if o != nil && o.SecurityScanStartedAt != nil { - return true - } - - return false -} - -// SetSecurityScanStartedAt gets a reference to the given string and assigns it to the SecurityScanStartedAt field. -func (o *NpmPackageUpload) SetSecurityScanStartedAt(v string) { - o.SecurityScanStartedAt = &v -} - -// GetSecurityScanStatus returns the SecurityScanStatus field value if set, zero value otherwise. -func (o *NpmPackageUpload) GetSecurityScanStatus() string { - if o == nil || o.SecurityScanStatus == nil { - var ret string - return ret - } - return *o.SecurityScanStatus -} - -// GetSecurityScanStatusOk returns a tuple with the SecurityScanStatus field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *NpmPackageUpload) GetSecurityScanStatusOk() (*string, bool) { - if o == nil || o.SecurityScanStatus == nil { - return nil, false - } - return o.SecurityScanStatus, true -} - -// HasSecurityScanStatus returns a boolean if a field has been set. -func (o *NpmPackageUpload) HasSecurityScanStatus() bool { - if o != nil && o.SecurityScanStatus != nil { - return true - } - - return false -} - -// SetSecurityScanStatus gets a reference to the given string and assigns it to the SecurityScanStatus field. -func (o *NpmPackageUpload) SetSecurityScanStatus(v string) { - o.SecurityScanStatus = &v -} - -// GetSecurityScanStatusUpdatedAt returns the SecurityScanStatusUpdatedAt field value if set, zero value otherwise. -func (o *NpmPackageUpload) GetSecurityScanStatusUpdatedAt() string { - if o == nil || o.SecurityScanStatusUpdatedAt == nil { - var ret string - return ret - } - return *o.SecurityScanStatusUpdatedAt -} - -// GetSecurityScanStatusUpdatedAtOk returns a tuple with the SecurityScanStatusUpdatedAt field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *NpmPackageUpload) GetSecurityScanStatusUpdatedAtOk() (*string, bool) { - if o == nil || o.SecurityScanStatusUpdatedAt == nil { - return nil, false - } - return o.SecurityScanStatusUpdatedAt, true -} - -// HasSecurityScanStatusUpdatedAt returns a boolean if a field has been set. -func (o *NpmPackageUpload) HasSecurityScanStatusUpdatedAt() bool { - if o != nil && o.SecurityScanStatusUpdatedAt != nil { - return true - } - - return false -} - -// SetSecurityScanStatusUpdatedAt gets a reference to the given string and assigns it to the SecurityScanStatusUpdatedAt field. -func (o *NpmPackageUpload) SetSecurityScanStatusUpdatedAt(v string) { - o.SecurityScanStatusUpdatedAt = &v -} - -// GetSelfHtmlUrl returns the SelfHtmlUrl field value if set, zero value otherwise. -func (o *NpmPackageUpload) GetSelfHtmlUrl() string { - if o == nil || o.SelfHtmlUrl == nil { - var ret string - return ret - } - return *o.SelfHtmlUrl -} - -// GetSelfHtmlUrlOk returns a tuple with the SelfHtmlUrl field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *NpmPackageUpload) GetSelfHtmlUrlOk() (*string, bool) { - if o == nil || o.SelfHtmlUrl == nil { - return nil, false - } - return o.SelfHtmlUrl, true -} - -// HasSelfHtmlUrl returns a boolean if a field has been set. -func (o *NpmPackageUpload) HasSelfHtmlUrl() bool { - if o != nil && o.SelfHtmlUrl != nil { - return true - } - - return false -} - -// SetSelfHtmlUrl gets a reference to the given string and assigns it to the SelfHtmlUrl field. -func (o *NpmPackageUpload) SetSelfHtmlUrl(v string) { - o.SelfHtmlUrl = &v -} - -// GetSelfUrl returns the SelfUrl field value if set, zero value otherwise. -func (o *NpmPackageUpload) GetSelfUrl() string { - if o == nil || o.SelfUrl == nil { - var ret string - return ret - } - return *o.SelfUrl -} - -// GetSelfUrlOk returns a tuple with the SelfUrl field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *NpmPackageUpload) GetSelfUrlOk() (*string, bool) { - if o == nil || o.SelfUrl == nil { - return nil, false - } - return o.SelfUrl, true -} - -// HasSelfUrl returns a boolean if a field has been set. -func (o *NpmPackageUpload) HasSelfUrl() bool { - if o != nil && o.SelfUrl != nil { - return true - } - - return false -} - -// SetSelfUrl gets a reference to the given string and assigns it to the SelfUrl field. -func (o *NpmPackageUpload) SetSelfUrl(v string) { - o.SelfUrl = &v -} - -// GetSignatureUrl returns the SignatureUrl field value if set, zero value otherwise. -func (o *NpmPackageUpload) GetSignatureUrl() string { - if o == nil || o.SignatureUrl == nil { - var ret string - return ret - } - return *o.SignatureUrl -} - -// GetSignatureUrlOk returns a tuple with the SignatureUrl field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *NpmPackageUpload) GetSignatureUrlOk() (*string, bool) { - if o == nil || o.SignatureUrl == nil { - return nil, false - } - return o.SignatureUrl, true -} - -// HasSignatureUrl returns a boolean if a field has been set. -func (o *NpmPackageUpload) HasSignatureUrl() bool { - if o != nil && o.SignatureUrl != nil { - return true - } - - return false -} - -// SetSignatureUrl gets a reference to the given string and assigns it to the SignatureUrl field. -func (o *NpmPackageUpload) SetSignatureUrl(v string) { - o.SignatureUrl = &v -} - -// GetSize returns the Size field value if set, zero value otherwise. -func (o *NpmPackageUpload) GetSize() int64 { - if o == nil || o.Size == nil { - var ret int64 - return ret - } - return *o.Size -} - -// GetSizeOk returns a tuple with the Size field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *NpmPackageUpload) GetSizeOk() (*int64, bool) { - if o == nil || o.Size == nil { - return nil, false - } - return o.Size, true -} - -// HasSize returns a boolean if a field has been set. -func (o *NpmPackageUpload) HasSize() bool { - if o != nil && o.Size != nil { - return true - } - - return false -} - -// SetSize gets a reference to the given int64 and assigns it to the Size field. -func (o *NpmPackageUpload) SetSize(v int64) { - o.Size = &v -} - -// GetSlug returns the Slug field value if set, zero value otherwise. -func (o *NpmPackageUpload) GetSlug() string { - if o == nil || o.Slug == nil { - var ret string - return ret - } - return *o.Slug -} - -// GetSlugOk returns a tuple with the Slug field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *NpmPackageUpload) GetSlugOk() (*string, bool) { - if o == nil || o.Slug == nil { - return nil, false - } - return o.Slug, true -} - -// HasSlug returns a boolean if a field has been set. -func (o *NpmPackageUpload) HasSlug() bool { - if o != nil && o.Slug != nil { - return true - } - - return false -} - -// SetSlug gets a reference to the given string and assigns it to the Slug field. -func (o *NpmPackageUpload) SetSlug(v string) { - o.Slug = &v -} - -// GetSlugPerm returns the SlugPerm field value if set, zero value otherwise. -func (o *NpmPackageUpload) GetSlugPerm() string { - if o == nil || o.SlugPerm == nil { - var ret string - return ret - } - return *o.SlugPerm -} - -// GetSlugPermOk returns a tuple with the SlugPerm field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *NpmPackageUpload) GetSlugPermOk() (*string, bool) { - if o == nil || o.SlugPerm == nil { - return nil, false - } - return o.SlugPerm, true -} - -// HasSlugPerm returns a boolean if a field has been set. -func (o *NpmPackageUpload) HasSlugPerm() bool { - if o != nil && o.SlugPerm != nil { - return true - } - - return false -} - -// SetSlugPerm gets a reference to the given string and assigns it to the SlugPerm field. -func (o *NpmPackageUpload) SetSlugPerm(v string) { - o.SlugPerm = &v -} - -// GetStage returns the Stage field value if set, zero value otherwise. -func (o *NpmPackageUpload) GetStage() int64 { - if o == nil || o.Stage == nil { - var ret int64 - return ret - } - return *o.Stage -} - -// GetStageOk returns a tuple with the Stage field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *NpmPackageUpload) GetStageOk() (*int64, bool) { - if o == nil || o.Stage == nil { - return nil, false - } - return o.Stage, true -} - -// HasStage returns a boolean if a field has been set. -func (o *NpmPackageUpload) HasStage() bool { - if o != nil && o.Stage != nil { - return true - } - - return false -} - -// SetStage gets a reference to the given int64 and assigns it to the Stage field. -func (o *NpmPackageUpload) SetStage(v int64) { - o.Stage = &v -} - -// GetStageStr returns the StageStr field value if set, zero value otherwise. -func (o *NpmPackageUpload) GetStageStr() string { - if o == nil || o.StageStr == nil { - var ret string - return ret - } - return *o.StageStr -} - -// GetStageStrOk returns a tuple with the StageStr field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *NpmPackageUpload) GetStageStrOk() (*string, bool) { - if o == nil || o.StageStr == nil { - return nil, false - } - return o.StageStr, true -} - -// HasStageStr returns a boolean if a field has been set. -func (o *NpmPackageUpload) HasStageStr() bool { - if o != nil && o.StageStr != nil { - return true - } - - return false -} - -// SetStageStr gets a reference to the given string and assigns it to the StageStr field. -func (o *NpmPackageUpload) SetStageStr(v string) { - o.StageStr = &v -} - -// GetStageUpdatedAt returns the StageUpdatedAt field value if set, zero value otherwise. -func (o *NpmPackageUpload) GetStageUpdatedAt() string { - if o == nil || o.StageUpdatedAt == nil { - var ret string - return ret - } - return *o.StageUpdatedAt -} - -// GetStageUpdatedAtOk returns a tuple with the StageUpdatedAt field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *NpmPackageUpload) GetStageUpdatedAtOk() (*string, bool) { - if o == nil || o.StageUpdatedAt == nil { - return nil, false - } - return o.StageUpdatedAt, true -} - -// HasStageUpdatedAt returns a boolean if a field has been set. -func (o *NpmPackageUpload) HasStageUpdatedAt() bool { - if o != nil && o.StageUpdatedAt != nil { - return true - } - - return false -} - -// SetStageUpdatedAt gets a reference to the given string and assigns it to the StageUpdatedAt field. -func (o *NpmPackageUpload) SetStageUpdatedAt(v string) { - o.StageUpdatedAt = &v -} - -// GetStatus returns the Status field value if set, zero value otherwise. -func (o *NpmPackageUpload) GetStatus() int64 { - if o == nil || o.Status == nil { - var ret int64 - return ret - } - return *o.Status -} - -// GetStatusOk returns a tuple with the Status field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *NpmPackageUpload) GetStatusOk() (*int64, bool) { - if o == nil || o.Status == nil { - return nil, false - } - return o.Status, true -} - -// HasStatus returns a boolean if a field has been set. -func (o *NpmPackageUpload) HasStatus() bool { - if o != nil && o.Status != nil { - return true - } - - return false -} - -// SetStatus gets a reference to the given int64 and assigns it to the Status field. -func (o *NpmPackageUpload) SetStatus(v int64) { - o.Status = &v -} - -// GetStatusReason returns the StatusReason field value if set, zero value otherwise. -func (o *NpmPackageUpload) GetStatusReason() string { - if o == nil || o.StatusReason == nil { - var ret string - return ret - } - return *o.StatusReason -} - -// GetStatusReasonOk returns a tuple with the StatusReason field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *NpmPackageUpload) GetStatusReasonOk() (*string, bool) { - if o == nil || o.StatusReason == nil { - return nil, false - } - return o.StatusReason, true -} - -// HasStatusReason returns a boolean if a field has been set. -func (o *NpmPackageUpload) HasStatusReason() bool { - if o != nil && o.StatusReason != nil { - return true - } - - return false -} - -// SetStatusReason gets a reference to the given string and assigns it to the StatusReason field. -func (o *NpmPackageUpload) SetStatusReason(v string) { - o.StatusReason = &v -} - -// GetStatusStr returns the StatusStr field value if set, zero value otherwise. -func (o *NpmPackageUpload) GetStatusStr() string { - if o == nil || o.StatusStr == nil { - var ret string - return ret - } - return *o.StatusStr -} - -// GetStatusStrOk returns a tuple with the StatusStr field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *NpmPackageUpload) GetStatusStrOk() (*string, bool) { - if o == nil || o.StatusStr == nil { - return nil, false - } - return o.StatusStr, true -} - -// HasStatusStr returns a boolean if a field has been set. -func (o *NpmPackageUpload) HasStatusStr() bool { - if o != nil && o.StatusStr != nil { - return true - } - - return false -} - -// SetStatusStr gets a reference to the given string and assigns it to the StatusStr field. -func (o *NpmPackageUpload) SetStatusStr(v string) { - o.StatusStr = &v -} - -// GetStatusUpdatedAt returns the StatusUpdatedAt field value if set, zero value otherwise. -func (o *NpmPackageUpload) GetStatusUpdatedAt() string { - if o == nil || o.StatusUpdatedAt == nil { - var ret string - return ret - } - return *o.StatusUpdatedAt -} - -// GetStatusUpdatedAtOk returns a tuple with the StatusUpdatedAt field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *NpmPackageUpload) GetStatusUpdatedAtOk() (*string, bool) { - if o == nil || o.StatusUpdatedAt == nil { - return nil, false - } - return o.StatusUpdatedAt, true -} - -// HasStatusUpdatedAt returns a boolean if a field has been set. -func (o *NpmPackageUpload) HasStatusUpdatedAt() bool { - if o != nil && o.StatusUpdatedAt != nil { - return true - } - - return false -} - -// SetStatusUpdatedAt gets a reference to the given string and assigns it to the StatusUpdatedAt field. -func (o *NpmPackageUpload) SetStatusUpdatedAt(v string) { - o.StatusUpdatedAt = &v -} - -// GetStatusUrl returns the StatusUrl field value if set, zero value otherwise. -func (o *NpmPackageUpload) GetStatusUrl() string { - if o == nil || o.StatusUrl == nil { - var ret string - return ret - } - return *o.StatusUrl -} - -// GetStatusUrlOk returns a tuple with the StatusUrl field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *NpmPackageUpload) GetStatusUrlOk() (*string, bool) { - if o == nil || o.StatusUrl == nil { - return nil, false - } - return o.StatusUrl, true -} - -// HasStatusUrl returns a boolean if a field has been set. -func (o *NpmPackageUpload) HasStatusUrl() bool { - if o != nil && o.StatusUrl != nil { - return true - } - - return false -} - -// SetStatusUrl gets a reference to the given string and assigns it to the StatusUrl field. -func (o *NpmPackageUpload) SetStatusUrl(v string) { - o.StatusUrl = &v -} - -// GetSubtype returns the Subtype field value if set, zero value otherwise. -func (o *NpmPackageUpload) GetSubtype() string { - if o == nil || o.Subtype == nil { - var ret string - return ret - } - return *o.Subtype -} - -// GetSubtypeOk returns a tuple with the Subtype field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *NpmPackageUpload) GetSubtypeOk() (*string, bool) { - if o == nil || o.Subtype == nil { - return nil, false - } - return o.Subtype, true -} - -// HasSubtype returns a boolean if a field has been set. -func (o *NpmPackageUpload) HasSubtype() bool { - if o != nil && o.Subtype != nil { - return true - } - - return false -} - -// SetSubtype gets a reference to the given string and assigns it to the Subtype field. -func (o *NpmPackageUpload) SetSubtype(v string) { - o.Subtype = &v -} - -// GetSummary returns the Summary field value if set, zero value otherwise. -func (o *NpmPackageUpload) GetSummary() string { - if o == nil || o.Summary == nil { - var ret string - return ret - } - return *o.Summary -} - -// GetSummaryOk returns a tuple with the Summary field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *NpmPackageUpload) GetSummaryOk() (*string, bool) { - if o == nil || o.Summary == nil { - return nil, false - } - return o.Summary, true -} - -// HasSummary returns a boolean if a field has been set. -func (o *NpmPackageUpload) HasSummary() bool { - if o != nil && o.Summary != nil { - return true - } - - return false -} - -// SetSummary gets a reference to the given string and assigns it to the Summary field. -func (o *NpmPackageUpload) SetSummary(v string) { - o.Summary = &v -} - -// GetSyncFinishedAt returns the SyncFinishedAt field value if set, zero value otherwise. -func (o *NpmPackageUpload) GetSyncFinishedAt() string { - if o == nil || o.SyncFinishedAt == nil { - var ret string - return ret - } - return *o.SyncFinishedAt -} - -// GetSyncFinishedAtOk returns a tuple with the SyncFinishedAt field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *NpmPackageUpload) GetSyncFinishedAtOk() (*string, bool) { - if o == nil || o.SyncFinishedAt == nil { - return nil, false - } - return o.SyncFinishedAt, true -} - -// HasSyncFinishedAt returns a boolean if a field has been set. -func (o *NpmPackageUpload) HasSyncFinishedAt() bool { - if o != nil && o.SyncFinishedAt != nil { - return true - } - - return false -} - -// SetSyncFinishedAt gets a reference to the given string and assigns it to the SyncFinishedAt field. -func (o *NpmPackageUpload) SetSyncFinishedAt(v string) { - o.SyncFinishedAt = &v -} - -// GetSyncProgress returns the SyncProgress field value if set, zero value otherwise. -func (o *NpmPackageUpload) GetSyncProgress() int64 { - if o == nil || o.SyncProgress == nil { - var ret int64 - return ret - } - return *o.SyncProgress -} - -// GetSyncProgressOk returns a tuple with the SyncProgress field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *NpmPackageUpload) GetSyncProgressOk() (*int64, bool) { - if o == nil || o.SyncProgress == nil { - return nil, false - } - return o.SyncProgress, true -} - -// HasSyncProgress returns a boolean if a field has been set. -func (o *NpmPackageUpload) HasSyncProgress() bool { - if o != nil && o.SyncProgress != nil { - return true - } - - return false -} - -// SetSyncProgress gets a reference to the given int64 and assigns it to the SyncProgress field. -func (o *NpmPackageUpload) SetSyncProgress(v int64) { - o.SyncProgress = &v -} - -// GetTagsImmutable returns the TagsImmutable field value if set, zero value otherwise. -func (o *NpmPackageUpload) GetTagsImmutable() map[string]interface{} { - if o == nil || o.TagsImmutable == nil { - var ret map[string]interface{} - return ret - } - return o.TagsImmutable -} - -// GetTagsImmutableOk returns a tuple with the TagsImmutable field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *NpmPackageUpload) GetTagsImmutableOk() (map[string]interface{}, bool) { - if o == nil || o.TagsImmutable == nil { - return nil, false - } - return o.TagsImmutable, true -} - -// HasTagsImmutable returns a boolean if a field has been set. -func (o *NpmPackageUpload) HasTagsImmutable() bool { - if o != nil && o.TagsImmutable != nil { - return true - } - - return false -} - -// SetTagsImmutable gets a reference to the given map[string]interface{} and assigns it to the TagsImmutable field. -func (o *NpmPackageUpload) SetTagsImmutable(v map[string]interface{}) { - o.TagsImmutable = v -} - -// GetTypeDisplay returns the TypeDisplay field value if set, zero value otherwise. -func (o *NpmPackageUpload) GetTypeDisplay() string { - if o == nil || o.TypeDisplay == nil { - var ret string - return ret - } - return *o.TypeDisplay -} - -// GetTypeDisplayOk returns a tuple with the TypeDisplay field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *NpmPackageUpload) GetTypeDisplayOk() (*string, bool) { - if o == nil || o.TypeDisplay == nil { - return nil, false - } - return o.TypeDisplay, true -} - -// HasTypeDisplay returns a boolean if a field has been set. -func (o *NpmPackageUpload) HasTypeDisplay() bool { - if o != nil && o.TypeDisplay != nil { - return true - } - - return false -} - -// SetTypeDisplay gets a reference to the given string and assigns it to the TypeDisplay field. -func (o *NpmPackageUpload) SetTypeDisplay(v string) { - o.TypeDisplay = &v -} - -// GetUploadedAt returns the UploadedAt field value if set, zero value otherwise. -func (o *NpmPackageUpload) GetUploadedAt() string { - if o == nil || o.UploadedAt == nil { - var ret string - return ret - } - return *o.UploadedAt -} - -// GetUploadedAtOk returns a tuple with the UploadedAt field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *NpmPackageUpload) GetUploadedAtOk() (*string, bool) { - if o == nil || o.UploadedAt == nil { - return nil, false - } - return o.UploadedAt, true -} - -// HasUploadedAt returns a boolean if a field has been set. -func (o *NpmPackageUpload) HasUploadedAt() bool { - if o != nil && o.UploadedAt != nil { - return true - } - - return false -} - -// SetUploadedAt gets a reference to the given string and assigns it to the UploadedAt field. -func (o *NpmPackageUpload) SetUploadedAt(v string) { - o.UploadedAt = &v -} - -// GetUploader returns the Uploader field value if set, zero value otherwise. -func (o *NpmPackageUpload) GetUploader() string { - if o == nil || o.Uploader == nil { - var ret string - return ret - } - return *o.Uploader -} - -// GetUploaderOk returns a tuple with the Uploader field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *NpmPackageUpload) GetUploaderOk() (*string, bool) { - if o == nil || o.Uploader == nil { - return nil, false - } - return o.Uploader, true -} - -// HasUploader returns a boolean if a field has been set. -func (o *NpmPackageUpload) HasUploader() bool { - if o != nil && o.Uploader != nil { - return true - } - - return false -} - -// SetUploader gets a reference to the given string and assigns it to the Uploader field. -func (o *NpmPackageUpload) SetUploader(v string) { - o.Uploader = &v -} - -// GetUploaderUrl returns the UploaderUrl field value if set, zero value otherwise. -func (o *NpmPackageUpload) GetUploaderUrl() string { - if o == nil || o.UploaderUrl == nil { - var ret string - return ret - } - return *o.UploaderUrl -} - -// GetUploaderUrlOk returns a tuple with the UploaderUrl field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *NpmPackageUpload) GetUploaderUrlOk() (*string, bool) { - if o == nil || o.UploaderUrl == nil { - return nil, false - } - return o.UploaderUrl, true -} - -// HasUploaderUrl returns a boolean if a field has been set. -func (o *NpmPackageUpload) HasUploaderUrl() bool { - if o != nil && o.UploaderUrl != nil { - return true - } - - return false -} - -// SetUploaderUrl gets a reference to the given string and assigns it to the UploaderUrl field. -func (o *NpmPackageUpload) SetUploaderUrl(v string) { - o.UploaderUrl = &v -} - -// GetVersion returns the Version field value if set, zero value otherwise. -func (o *NpmPackageUpload) GetVersion() string { - if o == nil || o.Version == nil { - var ret string - return ret - } - return *o.Version -} - -// GetVersionOk returns a tuple with the Version field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *NpmPackageUpload) GetVersionOk() (*string, bool) { - if o == nil || o.Version == nil { - return nil, false - } - return o.Version, true -} - -// HasVersion returns a boolean if a field has been set. -func (o *NpmPackageUpload) HasVersion() bool { - if o != nil && o.Version != nil { - return true - } - - return false -} - -// SetVersion gets a reference to the given string and assigns it to the Version field. -func (o *NpmPackageUpload) SetVersion(v string) { - o.Version = &v -} - -// GetVersionOrig returns the VersionOrig field value if set, zero value otherwise. -func (o *NpmPackageUpload) GetVersionOrig() string { - if o == nil || o.VersionOrig == nil { - var ret string - return ret - } - return *o.VersionOrig -} - -// GetVersionOrigOk returns a tuple with the VersionOrig field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *NpmPackageUpload) GetVersionOrigOk() (*string, bool) { - if o == nil || o.VersionOrig == nil { - return nil, false - } - return o.VersionOrig, true -} - -// HasVersionOrig returns a boolean if a field has been set. -func (o *NpmPackageUpload) HasVersionOrig() bool { - if o != nil && o.VersionOrig != nil { - return true - } - - return false -} - -// SetVersionOrig gets a reference to the given string and assigns it to the VersionOrig field. -func (o *NpmPackageUpload) SetVersionOrig(v string) { - o.VersionOrig = &v -} - -// GetVulnerabilityScanResultsUrl returns the VulnerabilityScanResultsUrl field value if set, zero value otherwise. -func (o *NpmPackageUpload) GetVulnerabilityScanResultsUrl() string { - if o == nil || o.VulnerabilityScanResultsUrl == nil { - var ret string - return ret - } - return *o.VulnerabilityScanResultsUrl -} - -// GetVulnerabilityScanResultsUrlOk returns a tuple with the VulnerabilityScanResultsUrl field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *NpmPackageUpload) GetVulnerabilityScanResultsUrlOk() (*string, bool) { - if o == nil || o.VulnerabilityScanResultsUrl == nil { - return nil, false - } - return o.VulnerabilityScanResultsUrl, true -} - -// HasVulnerabilityScanResultsUrl returns a boolean if a field has been set. -func (o *NpmPackageUpload) HasVulnerabilityScanResultsUrl() bool { - if o != nil && o.VulnerabilityScanResultsUrl != nil { - return true - } - - return false -} - -// SetVulnerabilityScanResultsUrl gets a reference to the given string and assigns it to the VulnerabilityScanResultsUrl field. -func (o *NpmPackageUpload) SetVulnerabilityScanResultsUrl(v string) { - o.VulnerabilityScanResultsUrl = &v -} - -func (o NpmPackageUpload) MarshalJSON() ([]byte, error) { - toSerialize := map[string]interface{}{} - if o.Architectures != nil { - toSerialize["architectures"] = o.Architectures - } - if o.CdnUrl != nil { - toSerialize["cdn_url"] = o.CdnUrl - } - if o.ChecksumMd5 != nil { - toSerialize["checksum_md5"] = o.ChecksumMd5 - } - if o.ChecksumSha1 != nil { - toSerialize["checksum_sha1"] = o.ChecksumSha1 - } - if o.ChecksumSha256 != nil { - toSerialize["checksum_sha256"] = o.ChecksumSha256 - } - if o.ChecksumSha512 != nil { - toSerialize["checksum_sha512"] = o.ChecksumSha512 - } - if o.DependenciesChecksumMd5 != nil { - toSerialize["dependencies_checksum_md5"] = o.DependenciesChecksumMd5 - } - if o.DependenciesUrl != nil { - toSerialize["dependencies_url"] = o.DependenciesUrl - } - if o.Description != nil { - toSerialize["description"] = o.Description - } - if o.Distro != nil { - toSerialize["distro"] = o.Distro - } - if o.DistroVersion != nil { - toSerialize["distro_version"] = o.DistroVersion - } - if o.Downloads != nil { - toSerialize["downloads"] = o.Downloads - } - if o.Epoch != nil { - toSerialize["epoch"] = o.Epoch - } - if o.Extension != nil { - toSerialize["extension"] = o.Extension - } - if o.Filename != nil { - toSerialize["filename"] = o.Filename - } - if o.Files != nil { - toSerialize["files"] = o.Files - } - if o.Format != nil { - toSerialize["format"] = o.Format - } - if o.FormatUrl != nil { - toSerialize["format_url"] = o.FormatUrl - } - if o.IdentifierPerm != nil { - toSerialize["identifier_perm"] = o.IdentifierPerm - } - if o.Indexed != nil { - toSerialize["indexed"] = o.Indexed - } - if o.IsDownloadable != nil { - toSerialize["is_downloadable"] = o.IsDownloadable - } - if o.IsQuarantined != nil { - toSerialize["is_quarantined"] = o.IsQuarantined - } - if o.IsSyncAwaiting != nil { - toSerialize["is_sync_awaiting"] = o.IsSyncAwaiting - } - if o.IsSyncCompleted != nil { - toSerialize["is_sync_completed"] = o.IsSyncCompleted - } - if o.IsSyncFailed != nil { - toSerialize["is_sync_failed"] = o.IsSyncFailed - } - if o.IsSyncInFlight != nil { - toSerialize["is_sync_in_flight"] = o.IsSyncInFlight - } - if o.IsSyncInProgress != nil { - toSerialize["is_sync_in_progress"] = o.IsSyncInProgress - } - if o.License != nil { - toSerialize["license"] = o.License - } - if o.Name != nil { - toSerialize["name"] = o.Name - } - if o.Namespace != nil { - toSerialize["namespace"] = o.Namespace - } - if o.NamespaceUrl != nil { - toSerialize["namespace_url"] = o.NamespaceUrl - } - if o.NumFiles != nil { - toSerialize["num_files"] = o.NumFiles - } - if o.PackageType != nil { - toSerialize["package_type"] = o.PackageType - } - if o.Release != nil { - toSerialize["release"] = o.Release - } - if o.Repository != nil { - toSerialize["repository"] = o.Repository - } - if o.RepositoryUrl != nil { - toSerialize["repository_url"] = o.RepositoryUrl - } - if o.SecurityScanCompletedAt != nil { - toSerialize["security_scan_completed_at"] = o.SecurityScanCompletedAt - } - if o.SecurityScanStartedAt != nil { - toSerialize["security_scan_started_at"] = o.SecurityScanStartedAt - } - if o.SecurityScanStatus != nil { - toSerialize["security_scan_status"] = o.SecurityScanStatus - } - if o.SecurityScanStatusUpdatedAt != nil { - toSerialize["security_scan_status_updated_at"] = o.SecurityScanStatusUpdatedAt - } - if o.SelfHtmlUrl != nil { - toSerialize["self_html_url"] = o.SelfHtmlUrl - } - if o.SelfUrl != nil { - toSerialize["self_url"] = o.SelfUrl - } - if o.SignatureUrl != nil { - toSerialize["signature_url"] = o.SignatureUrl - } - if o.Size != nil { - toSerialize["size"] = o.Size - } - if o.Slug != nil { - toSerialize["slug"] = o.Slug - } - if o.SlugPerm != nil { - toSerialize["slug_perm"] = o.SlugPerm - } - if o.Stage != nil { - toSerialize["stage"] = o.Stage - } - if o.StageStr != nil { - toSerialize["stage_str"] = o.StageStr - } - if o.StageUpdatedAt != nil { - toSerialize["stage_updated_at"] = o.StageUpdatedAt - } - if o.Status != nil { - toSerialize["status"] = o.Status - } - if o.StatusReason != nil { - toSerialize["status_reason"] = o.StatusReason - } - if o.StatusStr != nil { - toSerialize["status_str"] = o.StatusStr - } - if o.StatusUpdatedAt != nil { - toSerialize["status_updated_at"] = o.StatusUpdatedAt - } - if o.StatusUrl != nil { - toSerialize["status_url"] = o.StatusUrl - } - if o.Subtype != nil { - toSerialize["subtype"] = o.Subtype - } - if o.Summary != nil { - toSerialize["summary"] = o.Summary - } - if o.SyncFinishedAt != nil { - toSerialize["sync_finished_at"] = o.SyncFinishedAt - } - if o.SyncProgress != nil { - toSerialize["sync_progress"] = o.SyncProgress - } - if o.TagsImmutable != nil { - toSerialize["tags_immutable"] = o.TagsImmutable - } - if o.TypeDisplay != nil { - toSerialize["type_display"] = o.TypeDisplay - } - if o.UploadedAt != nil { - toSerialize["uploaded_at"] = o.UploadedAt - } - if o.Uploader != nil { - toSerialize["uploader"] = o.Uploader - } - if o.UploaderUrl != nil { - toSerialize["uploader_url"] = o.UploaderUrl - } - if o.Version != nil { - toSerialize["version"] = o.Version - } - if o.VersionOrig != nil { - toSerialize["version_orig"] = o.VersionOrig - } - if o.VulnerabilityScanResultsUrl != nil { - toSerialize["vulnerability_scan_results_url"] = o.VulnerabilityScanResultsUrl - } - return json.Marshal(toSerialize) -} - -type NullableNpmPackageUpload struct { - value *NpmPackageUpload - isSet bool -} - -func (v NullableNpmPackageUpload) Get() *NpmPackageUpload { - return v.value -} - -func (v *NullableNpmPackageUpload) Set(val *NpmPackageUpload) { - v.value = val - v.isSet = true -} - -func (v NullableNpmPackageUpload) IsSet() bool { - return v.isSet -} - -func (v *NullableNpmPackageUpload) Unset() { - v.value = nil - v.isSet = false -} - -func NewNullableNpmPackageUpload(val *NpmPackageUpload) *NullableNpmPackageUpload { - return &NullableNpmPackageUpload{value: val, isSet: true} -} - -func (v NullableNpmPackageUpload) MarshalJSON() ([]byte, error) { - return json.Marshal(v.value) -} - -func (v *NullableNpmPackageUpload) UnmarshalJSON(src []byte) error { - v.isSet = true - return json.Unmarshal(src, &v.value) -} diff --git a/model_packages_upload_npm.go b/model_npm_package_upload_request.go similarity index 50% rename from model_packages_upload_npm.go rename to model_npm_package_upload_request.go index e9d37e0f..022f714b 100644 --- a/model_packages_upload_npm.go +++ b/model_npm_package_upload_request.go @@ -1,9 +1,9 @@ /* -Cloudsmith API +Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.121.3 +API version: 1.181.6 Contact: support@cloudsmith.io */ @@ -15,8 +15,8 @@ import ( "encoding/json" ) -// PackagesUploadNpm struct for PackagesUploadNpm -type PackagesUploadNpm struct { +// NpmPackageUploadRequest struct for NpmPackageUploadRequest +type NpmPackageUploadRequest struct { // The default npm dist-tag for this package/version - This will replace any other package/version if they are using the same tag. NpmDistTag *string `json:"npm_dist_tag,omitempty"` // The primary file for the package. @@ -24,30 +24,34 @@ type PackagesUploadNpm struct { // If true, the uploaded package will overwrite any others with the same attributes (e.g. same version); otherwise, it will be flagged as a duplicate. Republish *bool `json:"republish,omitempty"` // A comma-separated values list of tags to add to the package. - Tags *string `json:"tags,omitempty"` + Tags NullableString `json:"tags,omitempty"` } -// NewPackagesUploadNpm instantiates a new PackagesUploadNpm object +// NewNpmPackageUploadRequest instantiates a new NpmPackageUploadRequest object // 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 NewPackagesUploadNpm(packageFile string) *PackagesUploadNpm { - this := PackagesUploadNpm{} +func NewNpmPackageUploadRequest(packageFile string) *NpmPackageUploadRequest { + this := NpmPackageUploadRequest{} + var npmDistTag string = "latest" + this.NpmDistTag = &npmDistTag this.PackageFile = packageFile return &this } -// NewPackagesUploadNpmWithDefaults instantiates a new PackagesUploadNpm object +// NewNpmPackageUploadRequestWithDefaults instantiates a new NpmPackageUploadRequest object // This constructor will only assign default values to properties that have it defined, // but it doesn't guarantee that properties required by API are set -func NewPackagesUploadNpmWithDefaults() *PackagesUploadNpm { - this := PackagesUploadNpm{} +func NewNpmPackageUploadRequestWithDefaults() *NpmPackageUploadRequest { + this := NpmPackageUploadRequest{} + var npmDistTag string = "latest" + this.NpmDistTag = &npmDistTag return &this } // GetNpmDistTag returns the NpmDistTag field value if set, zero value otherwise. -func (o *PackagesUploadNpm) GetNpmDistTag() string { - if o == nil || o.NpmDistTag == nil { +func (o *NpmPackageUploadRequest) GetNpmDistTag() string { + if o == nil || isNil(o.NpmDistTag) { var ret string return ret } @@ -56,16 +60,16 @@ func (o *PackagesUploadNpm) GetNpmDistTag() string { // GetNpmDistTagOk returns a tuple with the NpmDistTag field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *PackagesUploadNpm) GetNpmDistTagOk() (*string, bool) { - if o == nil || o.NpmDistTag == nil { +func (o *NpmPackageUploadRequest) GetNpmDistTagOk() (*string, bool) { + if o == nil || isNil(o.NpmDistTag) { return nil, false } return o.NpmDistTag, true } // HasNpmDistTag returns a boolean if a field has been set. -func (o *PackagesUploadNpm) HasNpmDistTag() bool { - if o != nil && o.NpmDistTag != nil { +func (o *NpmPackageUploadRequest) HasNpmDistTag() bool { + if o != nil && !isNil(o.NpmDistTag) { return true } @@ -73,12 +77,12 @@ func (o *PackagesUploadNpm) HasNpmDistTag() bool { } // SetNpmDistTag gets a reference to the given string and assigns it to the NpmDistTag field. -func (o *PackagesUploadNpm) SetNpmDistTag(v string) { +func (o *NpmPackageUploadRequest) SetNpmDistTag(v string) { o.NpmDistTag = &v } // GetPackageFile returns the PackageFile field value -func (o *PackagesUploadNpm) GetPackageFile() string { +func (o *NpmPackageUploadRequest) GetPackageFile() string { if o == nil { var ret string return ret @@ -89,7 +93,7 @@ func (o *PackagesUploadNpm) GetPackageFile() string { // GetPackageFileOk returns a tuple with the PackageFile field value // and a boolean to check if the value has been set. -func (o *PackagesUploadNpm) GetPackageFileOk() (*string, bool) { +func (o *NpmPackageUploadRequest) GetPackageFileOk() (*string, bool) { if o == nil { return nil, false } @@ -97,13 +101,13 @@ func (o *PackagesUploadNpm) GetPackageFileOk() (*string, bool) { } // SetPackageFile sets field value -func (o *PackagesUploadNpm) SetPackageFile(v string) { +func (o *NpmPackageUploadRequest) SetPackageFile(v string) { o.PackageFile = v } // GetRepublish returns the Republish field value if set, zero value otherwise. -func (o *PackagesUploadNpm) GetRepublish() bool { - if o == nil || o.Republish == nil { +func (o *NpmPackageUploadRequest) GetRepublish() bool { + if o == nil || isNil(o.Republish) { var ret bool return ret } @@ -112,16 +116,16 @@ func (o *PackagesUploadNpm) GetRepublish() bool { // GetRepublishOk returns a tuple with the Republish field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *PackagesUploadNpm) GetRepublishOk() (*bool, bool) { - if o == nil || o.Republish == nil { +func (o *NpmPackageUploadRequest) GetRepublishOk() (*bool, bool) { + if o == nil || isNil(o.Republish) { return nil, false } return o.Republish, true } // HasRepublish returns a boolean if a field has been set. -func (o *PackagesUploadNpm) HasRepublish() bool { - if o != nil && o.Republish != nil { +func (o *NpmPackageUploadRequest) HasRepublish() bool { + if o != nil && !isNil(o.Republish) { return true } @@ -129,91 +133,102 @@ func (o *PackagesUploadNpm) HasRepublish() bool { } // SetRepublish gets a reference to the given bool and assigns it to the Republish field. -func (o *PackagesUploadNpm) SetRepublish(v bool) { +func (o *NpmPackageUploadRequest) SetRepublish(v bool) { o.Republish = &v } -// GetTags returns the Tags field value if set, zero value otherwise. -func (o *PackagesUploadNpm) GetTags() string { - if o == nil || o.Tags == nil { +// GetTags returns the Tags field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *NpmPackageUploadRequest) GetTags() string { + if o == nil || isNil(o.Tags.Get()) { var ret string return ret } - return *o.Tags + return *o.Tags.Get() } // GetTagsOk returns a tuple with the Tags field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *PackagesUploadNpm) GetTagsOk() (*string, bool) { - if o == nil || o.Tags == nil { +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *NpmPackageUploadRequest) GetTagsOk() (*string, bool) { + if o == nil { return nil, false } - return o.Tags, true + return o.Tags.Get(), o.Tags.IsSet() } // HasTags returns a boolean if a field has been set. -func (o *PackagesUploadNpm) HasTags() bool { - if o != nil && o.Tags != nil { +func (o *NpmPackageUploadRequest) HasTags() bool { + if o != nil && o.Tags.IsSet() { return true } return false } -// SetTags gets a reference to the given string and assigns it to the Tags field. -func (o *PackagesUploadNpm) SetTags(v string) { - o.Tags = &v +// SetTags gets a reference to the given NullableString and assigns it to the Tags field. +func (o *NpmPackageUploadRequest) SetTags(v string) { + o.Tags.Set(&v) +} + +// SetTagsNil sets the value for Tags to be an explicit nil +func (o *NpmPackageUploadRequest) SetTagsNil() { + o.Tags.Set(nil) +} + +// UnsetTags ensures that no value is present for Tags, not even an explicit nil +func (o *NpmPackageUploadRequest) UnsetTags() { + o.Tags.Unset() } -func (o PackagesUploadNpm) MarshalJSON() ([]byte, error) { +func (o NpmPackageUploadRequest) MarshalJSON() ([]byte, error) { toSerialize := map[string]interface{}{} - if o.NpmDistTag != nil { + if !isNil(o.NpmDistTag) { toSerialize["npm_dist_tag"] = o.NpmDistTag } if true { toSerialize["package_file"] = o.PackageFile } - if o.Republish != nil { + if !isNil(o.Republish) { toSerialize["republish"] = o.Republish } - if o.Tags != nil { - toSerialize["tags"] = o.Tags + if o.Tags.IsSet() { + toSerialize["tags"] = o.Tags.Get() } return json.Marshal(toSerialize) } -type NullablePackagesUploadNpm struct { - value *PackagesUploadNpm +type NullableNpmPackageUploadRequest struct { + value *NpmPackageUploadRequest isSet bool } -func (v NullablePackagesUploadNpm) Get() *PackagesUploadNpm { +func (v NullableNpmPackageUploadRequest) Get() *NpmPackageUploadRequest { return v.value } -func (v *NullablePackagesUploadNpm) Set(val *PackagesUploadNpm) { +func (v *NullableNpmPackageUploadRequest) Set(val *NpmPackageUploadRequest) { v.value = val v.isSet = true } -func (v NullablePackagesUploadNpm) IsSet() bool { +func (v NullableNpmPackageUploadRequest) IsSet() bool { return v.isSet } -func (v *NullablePackagesUploadNpm) Unset() { +func (v *NullableNpmPackageUploadRequest) Unset() { v.value = nil v.isSet = false } -func NewNullablePackagesUploadNpm(val *PackagesUploadNpm) *NullablePackagesUploadNpm { - return &NullablePackagesUploadNpm{value: val, isSet: true} +func NewNullableNpmPackageUploadRequest(val *NpmPackageUploadRequest) *NullableNpmPackageUploadRequest { + return &NullableNpmPackageUploadRequest{value: val, isSet: true} } -func (v NullablePackagesUploadNpm) MarshalJSON() ([]byte, error) { +func (v NullableNpmPackageUploadRequest) MarshalJSON() ([]byte, error) { return json.Marshal(v.value) } -func (v *NullablePackagesUploadNpm) UnmarshalJSON(src []byte) error { +func (v *NullableNpmPackageUploadRequest) UnmarshalJSON(src []byte) error { v.isSet = true return json.Unmarshal(src, &v.value) } diff --git a/model_npm_package_upload_response.go b/model_npm_package_upload_response.go new file mode 100644 index 00000000..2a960dde --- /dev/null +++ b/model_npm_package_upload_response.go @@ -0,0 +1,2595 @@ +/* +Cloudsmith API (v1) + +The API to the Cloudsmith Service + +API version: 1.181.6 +Contact: support@cloudsmith.io +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cloudsmith + +import ( + "encoding/json" + "time" +) + +// NpmPackageUploadResponse struct for NpmPackageUploadResponse +type NpmPackageUploadResponse struct { + Architectures []Architecture `json:"architectures,omitempty"` + CdnUrl NullableString `json:"cdn_url,omitempty"` + ChecksumMd5 *string `json:"checksum_md5,omitempty"` + ChecksumSha1 *string `json:"checksum_sha1,omitempty"` + ChecksumSha256 *string `json:"checksum_sha256,omitempty"` + ChecksumSha512 *string `json:"checksum_sha512,omitempty"` + // A checksum of all of the package's dependencies. + DependenciesChecksumMd5 *string `json:"dependencies_checksum_md5,omitempty"` + DependenciesUrl *string `json:"dependencies_url,omitempty"` + // A textual description of this package. + Description *string `json:"description,omitempty"` + Distro NullableDistribution `json:"distro,omitempty"` + DistroVersion *DistributionVersion `json:"distro_version,omitempty"` + Downloads *int64 `json:"downloads,omitempty"` + // The epoch of the package version (if any). + Epoch *int64 `json:"epoch,omitempty"` + Extension *string `json:"extension,omitempty"` + Filename *string `json:"filename,omitempty"` + Files []PackageFile `json:"files,omitempty"` + Format *string `json:"format,omitempty"` + FormatUrl *string `json:"format_url,omitempty"` + // Unique and permanent identifier for the package. + IdentifierPerm *string `json:"identifier_perm,omitempty"` + Indexed *bool `json:"indexed,omitempty"` + IsDownloadable *bool `json:"is_downloadable,omitempty"` + IsQuarantined *bool `json:"is_quarantined,omitempty"` + IsSyncAwaiting *bool `json:"is_sync_awaiting,omitempty"` + IsSyncCompleted *bool `json:"is_sync_completed,omitempty"` + IsSyncFailed *bool `json:"is_sync_failed,omitempty"` + IsSyncInFlight *bool `json:"is_sync_in_flight,omitempty"` + IsSyncInProgress *bool `json:"is_sync_in_progress,omitempty"` + // The license of this package. + License *string `json:"license,omitempty"` + // The name of this package. + Name *string `json:"name,omitempty"` + Namespace *string `json:"namespace,omitempty"` + NamespaceUrl *string `json:"namespace_url,omitempty"` + NumFiles *int64 `json:"num_files,omitempty"` + OriginRepository *string `json:"origin_repository,omitempty"` + OriginRepositoryUrl *string `json:"origin_repository_url,omitempty"` + // The type of package contents. + PackageType *int64 `json:"package_type,omitempty"` + // The release of the package version (if any). + Release *string `json:"release,omitempty"` + Repository *string `json:"repository,omitempty"` + RepositoryUrl *string `json:"repository_url,omitempty"` + // The datetime the security scanning was completed. + SecurityScanCompletedAt *time.Time `json:"security_scan_completed_at,omitempty"` + // The datetime the security scanning was started. + SecurityScanStartedAt *time.Time `json:"security_scan_started_at,omitempty"` + SecurityScanStatus NullableString `json:"security_scan_status,omitempty"` + // The datetime the security scanning status was updated. + SecurityScanStatusUpdatedAt *time.Time `json:"security_scan_status_updated_at,omitempty"` + SelfHtmlUrl *string `json:"self_html_url,omitempty"` + SelfUrl *string `json:"self_url,omitempty"` + SignatureUrl NullableString `json:"signature_url,omitempty"` + // The calculated size of the package. + Size *int64 `json:"size,omitempty"` + // The public unique identifier for the package. + Slug *string `json:"slug,omitempty"` + SlugPerm *string `json:"slug_perm,omitempty"` + // The synchronisation (in progress) stage of the package. + Stage *int64 `json:"stage,omitempty"` + StageStr *string `json:"stage_str,omitempty"` + // The datetime the package stage was updated at. + StageUpdatedAt *time.Time `json:"stage_updated_at,omitempty"` + // The synchronisation status of the package. + Status *int64 `json:"status,omitempty"` + // A textual description for the synchronous status reason (if any + StatusReason *string `json:"status_reason,omitempty"` + StatusStr *string `json:"status_str,omitempty"` + // The datetime the package status was updated at. + StatusUpdatedAt *time.Time `json:"status_updated_at,omitempty"` + StatusUrl *string `json:"status_url,omitempty"` + Subtype *string `json:"subtype,omitempty"` + // A one-liner synopsis of this package. + Summary *string `json:"summary,omitempty"` + // The datetime the package sync was finished at. + SyncFinishedAt *time.Time `json:"sync_finished_at,omitempty"` + // Synchronisation progress (from 0-100) + SyncProgress *int64 `json:"sync_progress,omitempty"` + // All tags on the package, grouped by tag type. This includes immutable tags, but doesn't distinguish them from mutable. To see which tags are immutable specifically, see the tags_immutable field. + TagsImmutable map[string]interface{} `json:"tags_immutable,omitempty"` + TypeDisplay *string `json:"type_display,omitempty"` + // The date this package was uploaded. + UploadedAt *time.Time `json:"uploaded_at,omitempty"` + Uploader *string `json:"uploader,omitempty"` + UploaderUrl *string `json:"uploader_url,omitempty"` + // The raw version for this package. + Version *string `json:"version,omitempty"` + VersionOrig *string `json:"version_orig,omitempty"` + VulnerabilityScanResultsUrl *string `json:"vulnerability_scan_results_url,omitempty"` +} + +// NewNpmPackageUploadResponse instantiates a new NpmPackageUploadResponse object +// 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 NewNpmPackageUploadResponse() *NpmPackageUploadResponse { + this := NpmPackageUploadResponse{} + return &this +} + +// NewNpmPackageUploadResponseWithDefaults instantiates a new NpmPackageUploadResponse object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewNpmPackageUploadResponseWithDefaults() *NpmPackageUploadResponse { + this := NpmPackageUploadResponse{} + return &this +} + +// GetArchitectures returns the Architectures field value if set, zero value otherwise. +func (o *NpmPackageUploadResponse) GetArchitectures() []Architecture { + if o == nil || isNil(o.Architectures) { + var ret []Architecture + return ret + } + return o.Architectures +} + +// GetArchitecturesOk returns a tuple with the Architectures field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *NpmPackageUploadResponse) GetArchitecturesOk() ([]Architecture, bool) { + if o == nil || isNil(o.Architectures) { + return nil, false + } + return o.Architectures, true +} + +// HasArchitectures returns a boolean if a field has been set. +func (o *NpmPackageUploadResponse) HasArchitectures() bool { + if o != nil && !isNil(o.Architectures) { + return true + } + + return false +} + +// SetArchitectures gets a reference to the given []Architecture and assigns it to the Architectures field. +func (o *NpmPackageUploadResponse) SetArchitectures(v []Architecture) { + o.Architectures = v +} + +// GetCdnUrl returns the CdnUrl field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *NpmPackageUploadResponse) GetCdnUrl() string { + if o == nil || isNil(o.CdnUrl.Get()) { + var ret string + return ret + } + return *o.CdnUrl.Get() +} + +// GetCdnUrlOk returns a tuple with the CdnUrl 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 *NpmPackageUploadResponse) GetCdnUrlOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.CdnUrl.Get(), o.CdnUrl.IsSet() +} + +// HasCdnUrl returns a boolean if a field has been set. +func (o *NpmPackageUploadResponse) HasCdnUrl() bool { + if o != nil && o.CdnUrl.IsSet() { + return true + } + + return false +} + +// SetCdnUrl gets a reference to the given NullableString and assigns it to the CdnUrl field. +func (o *NpmPackageUploadResponse) SetCdnUrl(v string) { + o.CdnUrl.Set(&v) +} + +// SetCdnUrlNil sets the value for CdnUrl to be an explicit nil +func (o *NpmPackageUploadResponse) SetCdnUrlNil() { + o.CdnUrl.Set(nil) +} + +// UnsetCdnUrl ensures that no value is present for CdnUrl, not even an explicit nil +func (o *NpmPackageUploadResponse) UnsetCdnUrl() { + o.CdnUrl.Unset() +} + +// GetChecksumMd5 returns the ChecksumMd5 field value if set, zero value otherwise. +func (o *NpmPackageUploadResponse) GetChecksumMd5() string { + if o == nil || isNil(o.ChecksumMd5) { + var ret string + return ret + } + return *o.ChecksumMd5 +} + +// GetChecksumMd5Ok returns a tuple with the ChecksumMd5 field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *NpmPackageUploadResponse) GetChecksumMd5Ok() (*string, bool) { + if o == nil || isNil(o.ChecksumMd5) { + return nil, false + } + return o.ChecksumMd5, true +} + +// HasChecksumMd5 returns a boolean if a field has been set. +func (o *NpmPackageUploadResponse) HasChecksumMd5() bool { + if o != nil && !isNil(o.ChecksumMd5) { + return true + } + + return false +} + +// SetChecksumMd5 gets a reference to the given string and assigns it to the ChecksumMd5 field. +func (o *NpmPackageUploadResponse) SetChecksumMd5(v string) { + o.ChecksumMd5 = &v +} + +// GetChecksumSha1 returns the ChecksumSha1 field value if set, zero value otherwise. +func (o *NpmPackageUploadResponse) GetChecksumSha1() string { + if o == nil || isNil(o.ChecksumSha1) { + var ret string + return ret + } + return *o.ChecksumSha1 +} + +// GetChecksumSha1Ok returns a tuple with the ChecksumSha1 field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *NpmPackageUploadResponse) GetChecksumSha1Ok() (*string, bool) { + if o == nil || isNil(o.ChecksumSha1) { + return nil, false + } + return o.ChecksumSha1, true +} + +// HasChecksumSha1 returns a boolean if a field has been set. +func (o *NpmPackageUploadResponse) HasChecksumSha1() bool { + if o != nil && !isNil(o.ChecksumSha1) { + return true + } + + return false +} + +// SetChecksumSha1 gets a reference to the given string and assigns it to the ChecksumSha1 field. +func (o *NpmPackageUploadResponse) SetChecksumSha1(v string) { + o.ChecksumSha1 = &v +} + +// GetChecksumSha256 returns the ChecksumSha256 field value if set, zero value otherwise. +func (o *NpmPackageUploadResponse) GetChecksumSha256() string { + if o == nil || isNil(o.ChecksumSha256) { + var ret string + return ret + } + return *o.ChecksumSha256 +} + +// GetChecksumSha256Ok returns a tuple with the ChecksumSha256 field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *NpmPackageUploadResponse) GetChecksumSha256Ok() (*string, bool) { + if o == nil || isNil(o.ChecksumSha256) { + return nil, false + } + return o.ChecksumSha256, true +} + +// HasChecksumSha256 returns a boolean if a field has been set. +func (o *NpmPackageUploadResponse) HasChecksumSha256() bool { + if o != nil && !isNil(o.ChecksumSha256) { + return true + } + + return false +} + +// SetChecksumSha256 gets a reference to the given string and assigns it to the ChecksumSha256 field. +func (o *NpmPackageUploadResponse) SetChecksumSha256(v string) { + o.ChecksumSha256 = &v +} + +// GetChecksumSha512 returns the ChecksumSha512 field value if set, zero value otherwise. +func (o *NpmPackageUploadResponse) GetChecksumSha512() string { + if o == nil || isNil(o.ChecksumSha512) { + var ret string + return ret + } + return *o.ChecksumSha512 +} + +// GetChecksumSha512Ok returns a tuple with the ChecksumSha512 field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *NpmPackageUploadResponse) GetChecksumSha512Ok() (*string, bool) { + if o == nil || isNil(o.ChecksumSha512) { + return nil, false + } + return o.ChecksumSha512, true +} + +// HasChecksumSha512 returns a boolean if a field has been set. +func (o *NpmPackageUploadResponse) HasChecksumSha512() bool { + if o != nil && !isNil(o.ChecksumSha512) { + return true + } + + return false +} + +// SetChecksumSha512 gets a reference to the given string and assigns it to the ChecksumSha512 field. +func (o *NpmPackageUploadResponse) SetChecksumSha512(v string) { + o.ChecksumSha512 = &v +} + +// GetDependenciesChecksumMd5 returns the DependenciesChecksumMd5 field value if set, zero value otherwise. +func (o *NpmPackageUploadResponse) GetDependenciesChecksumMd5() string { + if o == nil || isNil(o.DependenciesChecksumMd5) { + var ret string + return ret + } + return *o.DependenciesChecksumMd5 +} + +// GetDependenciesChecksumMd5Ok returns a tuple with the DependenciesChecksumMd5 field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *NpmPackageUploadResponse) GetDependenciesChecksumMd5Ok() (*string, bool) { + if o == nil || isNil(o.DependenciesChecksumMd5) { + return nil, false + } + return o.DependenciesChecksumMd5, true +} + +// HasDependenciesChecksumMd5 returns a boolean if a field has been set. +func (o *NpmPackageUploadResponse) HasDependenciesChecksumMd5() bool { + if o != nil && !isNil(o.DependenciesChecksumMd5) { + return true + } + + return false +} + +// SetDependenciesChecksumMd5 gets a reference to the given string and assigns it to the DependenciesChecksumMd5 field. +func (o *NpmPackageUploadResponse) SetDependenciesChecksumMd5(v string) { + o.DependenciesChecksumMd5 = &v +} + +// GetDependenciesUrl returns the DependenciesUrl field value if set, zero value otherwise. +func (o *NpmPackageUploadResponse) GetDependenciesUrl() string { + if o == nil || isNil(o.DependenciesUrl) { + var ret string + return ret + } + return *o.DependenciesUrl +} + +// GetDependenciesUrlOk returns a tuple with the DependenciesUrl field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *NpmPackageUploadResponse) GetDependenciesUrlOk() (*string, bool) { + if o == nil || isNil(o.DependenciesUrl) { + return nil, false + } + return o.DependenciesUrl, true +} + +// HasDependenciesUrl returns a boolean if a field has been set. +func (o *NpmPackageUploadResponse) HasDependenciesUrl() bool { + if o != nil && !isNil(o.DependenciesUrl) { + return true + } + + return false +} + +// SetDependenciesUrl gets a reference to the given string and assigns it to the DependenciesUrl field. +func (o *NpmPackageUploadResponse) SetDependenciesUrl(v string) { + o.DependenciesUrl = &v +} + +// GetDescription returns the Description field value if set, zero value otherwise. +func (o *NpmPackageUploadResponse) GetDescription() string { + if o == nil || isNil(o.Description) { + var ret string + return ret + } + return *o.Description +} + +// GetDescriptionOk returns a tuple with the Description field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *NpmPackageUploadResponse) GetDescriptionOk() (*string, bool) { + if o == nil || isNil(o.Description) { + return nil, false + } + return o.Description, true +} + +// HasDescription returns a boolean if a field has been set. +func (o *NpmPackageUploadResponse) HasDescription() bool { + if o != nil && !isNil(o.Description) { + return true + } + + return false +} + +// SetDescription gets a reference to the given string and assigns it to the Description field. +func (o *NpmPackageUploadResponse) SetDescription(v string) { + o.Description = &v +} + +// GetDistro returns the Distro field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *NpmPackageUploadResponse) GetDistro() Distribution { + if o == nil || isNil(o.Distro.Get()) { + var ret Distribution + return ret + } + return *o.Distro.Get() +} + +// GetDistroOk returns a tuple with the Distro 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 *NpmPackageUploadResponse) GetDistroOk() (*Distribution, bool) { + if o == nil { + return nil, false + } + return o.Distro.Get(), o.Distro.IsSet() +} + +// HasDistro returns a boolean if a field has been set. +func (o *NpmPackageUploadResponse) HasDistro() bool { + if o != nil && o.Distro.IsSet() { + return true + } + + return false +} + +// SetDistro gets a reference to the given NullableDistribution and assigns it to the Distro field. +func (o *NpmPackageUploadResponse) SetDistro(v Distribution) { + o.Distro.Set(&v) +} + +// SetDistroNil sets the value for Distro to be an explicit nil +func (o *NpmPackageUploadResponse) SetDistroNil() { + o.Distro.Set(nil) +} + +// UnsetDistro ensures that no value is present for Distro, not even an explicit nil +func (o *NpmPackageUploadResponse) UnsetDistro() { + o.Distro.Unset() +} + +// GetDistroVersion returns the DistroVersion field value if set, zero value otherwise. +func (o *NpmPackageUploadResponse) GetDistroVersion() DistributionVersion { + if o == nil || isNil(o.DistroVersion) { + var ret DistributionVersion + return ret + } + return *o.DistroVersion +} + +// GetDistroVersionOk returns a tuple with the DistroVersion field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *NpmPackageUploadResponse) GetDistroVersionOk() (*DistributionVersion, bool) { + if o == nil || isNil(o.DistroVersion) { + return nil, false + } + return o.DistroVersion, true +} + +// HasDistroVersion returns a boolean if a field has been set. +func (o *NpmPackageUploadResponse) HasDistroVersion() bool { + if o != nil && !isNil(o.DistroVersion) { + return true + } + + return false +} + +// SetDistroVersion gets a reference to the given DistributionVersion and assigns it to the DistroVersion field. +func (o *NpmPackageUploadResponse) SetDistroVersion(v DistributionVersion) { + o.DistroVersion = &v +} + +// GetDownloads returns the Downloads field value if set, zero value otherwise. +func (o *NpmPackageUploadResponse) GetDownloads() int64 { + if o == nil || isNil(o.Downloads) { + var ret int64 + return ret + } + return *o.Downloads +} + +// GetDownloadsOk returns a tuple with the Downloads field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *NpmPackageUploadResponse) GetDownloadsOk() (*int64, bool) { + if o == nil || isNil(o.Downloads) { + return nil, false + } + return o.Downloads, true +} + +// HasDownloads returns a boolean if a field has been set. +func (o *NpmPackageUploadResponse) HasDownloads() bool { + if o != nil && !isNil(o.Downloads) { + return true + } + + return false +} + +// SetDownloads gets a reference to the given int64 and assigns it to the Downloads field. +func (o *NpmPackageUploadResponse) SetDownloads(v int64) { + o.Downloads = &v +} + +// GetEpoch returns the Epoch field value if set, zero value otherwise. +func (o *NpmPackageUploadResponse) GetEpoch() int64 { + if o == nil || isNil(o.Epoch) { + var ret int64 + return ret + } + return *o.Epoch +} + +// GetEpochOk returns a tuple with the Epoch field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *NpmPackageUploadResponse) GetEpochOk() (*int64, bool) { + if o == nil || isNil(o.Epoch) { + return nil, false + } + return o.Epoch, true +} + +// HasEpoch returns a boolean if a field has been set. +func (o *NpmPackageUploadResponse) HasEpoch() bool { + if o != nil && !isNil(o.Epoch) { + return true + } + + return false +} + +// SetEpoch gets a reference to the given int64 and assigns it to the Epoch field. +func (o *NpmPackageUploadResponse) SetEpoch(v int64) { + o.Epoch = &v +} + +// GetExtension returns the Extension field value if set, zero value otherwise. +func (o *NpmPackageUploadResponse) GetExtension() string { + if o == nil || isNil(o.Extension) { + var ret string + return ret + } + return *o.Extension +} + +// GetExtensionOk returns a tuple with the Extension field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *NpmPackageUploadResponse) GetExtensionOk() (*string, bool) { + if o == nil || isNil(o.Extension) { + return nil, false + } + return o.Extension, true +} + +// HasExtension returns a boolean if a field has been set. +func (o *NpmPackageUploadResponse) HasExtension() bool { + if o != nil && !isNil(o.Extension) { + return true + } + + return false +} + +// SetExtension gets a reference to the given string and assigns it to the Extension field. +func (o *NpmPackageUploadResponse) SetExtension(v string) { + o.Extension = &v +} + +// GetFilename returns the Filename field value if set, zero value otherwise. +func (o *NpmPackageUploadResponse) GetFilename() string { + if o == nil || isNil(o.Filename) { + var ret string + return ret + } + return *o.Filename +} + +// GetFilenameOk returns a tuple with the Filename field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *NpmPackageUploadResponse) GetFilenameOk() (*string, bool) { + if o == nil || isNil(o.Filename) { + return nil, false + } + return o.Filename, true +} + +// HasFilename returns a boolean if a field has been set. +func (o *NpmPackageUploadResponse) HasFilename() bool { + if o != nil && !isNil(o.Filename) { + return true + } + + return false +} + +// SetFilename gets a reference to the given string and assigns it to the Filename field. +func (o *NpmPackageUploadResponse) SetFilename(v string) { + o.Filename = &v +} + +// GetFiles returns the Files field value if set, zero value otherwise. +func (o *NpmPackageUploadResponse) GetFiles() []PackageFile { + if o == nil || isNil(o.Files) { + var ret []PackageFile + return ret + } + return o.Files +} + +// GetFilesOk returns a tuple with the Files field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *NpmPackageUploadResponse) GetFilesOk() ([]PackageFile, bool) { + if o == nil || isNil(o.Files) { + return nil, false + } + return o.Files, true +} + +// HasFiles returns a boolean if a field has been set. +func (o *NpmPackageUploadResponse) HasFiles() bool { + if o != nil && !isNil(o.Files) { + return true + } + + return false +} + +// SetFiles gets a reference to the given []PackageFile and assigns it to the Files field. +func (o *NpmPackageUploadResponse) SetFiles(v []PackageFile) { + o.Files = v +} + +// GetFormat returns the Format field value if set, zero value otherwise. +func (o *NpmPackageUploadResponse) GetFormat() string { + if o == nil || isNil(o.Format) { + var ret string + return ret + } + return *o.Format +} + +// GetFormatOk returns a tuple with the Format field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *NpmPackageUploadResponse) GetFormatOk() (*string, bool) { + if o == nil || isNil(o.Format) { + return nil, false + } + return o.Format, true +} + +// HasFormat returns a boolean if a field has been set. +func (o *NpmPackageUploadResponse) HasFormat() bool { + if o != nil && !isNil(o.Format) { + return true + } + + return false +} + +// SetFormat gets a reference to the given string and assigns it to the Format field. +func (o *NpmPackageUploadResponse) SetFormat(v string) { + o.Format = &v +} + +// GetFormatUrl returns the FormatUrl field value if set, zero value otherwise. +func (o *NpmPackageUploadResponse) GetFormatUrl() string { + if o == nil || isNil(o.FormatUrl) { + var ret string + return ret + } + return *o.FormatUrl +} + +// GetFormatUrlOk returns a tuple with the FormatUrl field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *NpmPackageUploadResponse) GetFormatUrlOk() (*string, bool) { + if o == nil || isNil(o.FormatUrl) { + return nil, false + } + return o.FormatUrl, true +} + +// HasFormatUrl returns a boolean if a field has been set. +func (o *NpmPackageUploadResponse) HasFormatUrl() bool { + if o != nil && !isNil(o.FormatUrl) { + return true + } + + return false +} + +// SetFormatUrl gets a reference to the given string and assigns it to the FormatUrl field. +func (o *NpmPackageUploadResponse) SetFormatUrl(v string) { + o.FormatUrl = &v +} + +// GetIdentifierPerm returns the IdentifierPerm field value if set, zero value otherwise. +func (o *NpmPackageUploadResponse) GetIdentifierPerm() string { + if o == nil || isNil(o.IdentifierPerm) { + var ret string + return ret + } + return *o.IdentifierPerm +} + +// GetIdentifierPermOk returns a tuple with the IdentifierPerm field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *NpmPackageUploadResponse) GetIdentifierPermOk() (*string, bool) { + if o == nil || isNil(o.IdentifierPerm) { + return nil, false + } + return o.IdentifierPerm, true +} + +// HasIdentifierPerm returns a boolean if a field has been set. +func (o *NpmPackageUploadResponse) HasIdentifierPerm() bool { + if o != nil && !isNil(o.IdentifierPerm) { + return true + } + + return false +} + +// SetIdentifierPerm gets a reference to the given string and assigns it to the IdentifierPerm field. +func (o *NpmPackageUploadResponse) SetIdentifierPerm(v string) { + o.IdentifierPerm = &v +} + +// GetIndexed returns the Indexed field value if set, zero value otherwise. +func (o *NpmPackageUploadResponse) GetIndexed() bool { + if o == nil || isNil(o.Indexed) { + var ret bool + return ret + } + return *o.Indexed +} + +// GetIndexedOk returns a tuple with the Indexed field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *NpmPackageUploadResponse) GetIndexedOk() (*bool, bool) { + if o == nil || isNil(o.Indexed) { + return nil, false + } + return o.Indexed, true +} + +// HasIndexed returns a boolean if a field has been set. +func (o *NpmPackageUploadResponse) HasIndexed() bool { + if o != nil && !isNil(o.Indexed) { + return true + } + + return false +} + +// SetIndexed gets a reference to the given bool and assigns it to the Indexed field. +func (o *NpmPackageUploadResponse) SetIndexed(v bool) { + o.Indexed = &v +} + +// GetIsDownloadable returns the IsDownloadable field value if set, zero value otherwise. +func (o *NpmPackageUploadResponse) GetIsDownloadable() bool { + if o == nil || isNil(o.IsDownloadable) { + var ret bool + return ret + } + return *o.IsDownloadable +} + +// GetIsDownloadableOk returns a tuple with the IsDownloadable field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *NpmPackageUploadResponse) GetIsDownloadableOk() (*bool, bool) { + if o == nil || isNil(o.IsDownloadable) { + return nil, false + } + return o.IsDownloadable, true +} + +// HasIsDownloadable returns a boolean if a field has been set. +func (o *NpmPackageUploadResponse) HasIsDownloadable() bool { + if o != nil && !isNil(o.IsDownloadable) { + return true + } + + return false +} + +// SetIsDownloadable gets a reference to the given bool and assigns it to the IsDownloadable field. +func (o *NpmPackageUploadResponse) SetIsDownloadable(v bool) { + o.IsDownloadable = &v +} + +// GetIsQuarantined returns the IsQuarantined field value if set, zero value otherwise. +func (o *NpmPackageUploadResponse) GetIsQuarantined() bool { + if o == nil || isNil(o.IsQuarantined) { + var ret bool + return ret + } + return *o.IsQuarantined +} + +// GetIsQuarantinedOk returns a tuple with the IsQuarantined field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *NpmPackageUploadResponse) GetIsQuarantinedOk() (*bool, bool) { + if o == nil || isNil(o.IsQuarantined) { + return nil, false + } + return o.IsQuarantined, true +} + +// HasIsQuarantined returns a boolean if a field has been set. +func (o *NpmPackageUploadResponse) HasIsQuarantined() bool { + if o != nil && !isNil(o.IsQuarantined) { + return true + } + + return false +} + +// SetIsQuarantined gets a reference to the given bool and assigns it to the IsQuarantined field. +func (o *NpmPackageUploadResponse) SetIsQuarantined(v bool) { + o.IsQuarantined = &v +} + +// GetIsSyncAwaiting returns the IsSyncAwaiting field value if set, zero value otherwise. +func (o *NpmPackageUploadResponse) GetIsSyncAwaiting() bool { + if o == nil || isNil(o.IsSyncAwaiting) { + var ret bool + return ret + } + return *o.IsSyncAwaiting +} + +// GetIsSyncAwaitingOk returns a tuple with the IsSyncAwaiting field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *NpmPackageUploadResponse) GetIsSyncAwaitingOk() (*bool, bool) { + if o == nil || isNil(o.IsSyncAwaiting) { + return nil, false + } + return o.IsSyncAwaiting, true +} + +// HasIsSyncAwaiting returns a boolean if a field has been set. +func (o *NpmPackageUploadResponse) HasIsSyncAwaiting() bool { + if o != nil && !isNil(o.IsSyncAwaiting) { + return true + } + + return false +} + +// SetIsSyncAwaiting gets a reference to the given bool and assigns it to the IsSyncAwaiting field. +func (o *NpmPackageUploadResponse) SetIsSyncAwaiting(v bool) { + o.IsSyncAwaiting = &v +} + +// GetIsSyncCompleted returns the IsSyncCompleted field value if set, zero value otherwise. +func (o *NpmPackageUploadResponse) GetIsSyncCompleted() bool { + if o == nil || isNil(o.IsSyncCompleted) { + var ret bool + return ret + } + return *o.IsSyncCompleted +} + +// GetIsSyncCompletedOk returns a tuple with the IsSyncCompleted field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *NpmPackageUploadResponse) GetIsSyncCompletedOk() (*bool, bool) { + if o == nil || isNil(o.IsSyncCompleted) { + return nil, false + } + return o.IsSyncCompleted, true +} + +// HasIsSyncCompleted returns a boolean if a field has been set. +func (o *NpmPackageUploadResponse) HasIsSyncCompleted() bool { + if o != nil && !isNil(o.IsSyncCompleted) { + return true + } + + return false +} + +// SetIsSyncCompleted gets a reference to the given bool and assigns it to the IsSyncCompleted field. +func (o *NpmPackageUploadResponse) SetIsSyncCompleted(v bool) { + o.IsSyncCompleted = &v +} + +// GetIsSyncFailed returns the IsSyncFailed field value if set, zero value otherwise. +func (o *NpmPackageUploadResponse) GetIsSyncFailed() bool { + if o == nil || isNil(o.IsSyncFailed) { + var ret bool + return ret + } + return *o.IsSyncFailed +} + +// GetIsSyncFailedOk returns a tuple with the IsSyncFailed field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *NpmPackageUploadResponse) GetIsSyncFailedOk() (*bool, bool) { + if o == nil || isNil(o.IsSyncFailed) { + return nil, false + } + return o.IsSyncFailed, true +} + +// HasIsSyncFailed returns a boolean if a field has been set. +func (o *NpmPackageUploadResponse) HasIsSyncFailed() bool { + if o != nil && !isNil(o.IsSyncFailed) { + return true + } + + return false +} + +// SetIsSyncFailed gets a reference to the given bool and assigns it to the IsSyncFailed field. +func (o *NpmPackageUploadResponse) SetIsSyncFailed(v bool) { + o.IsSyncFailed = &v +} + +// GetIsSyncInFlight returns the IsSyncInFlight field value if set, zero value otherwise. +func (o *NpmPackageUploadResponse) GetIsSyncInFlight() bool { + if o == nil || isNil(o.IsSyncInFlight) { + var ret bool + return ret + } + return *o.IsSyncInFlight +} + +// GetIsSyncInFlightOk returns a tuple with the IsSyncInFlight field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *NpmPackageUploadResponse) GetIsSyncInFlightOk() (*bool, bool) { + if o == nil || isNil(o.IsSyncInFlight) { + return nil, false + } + return o.IsSyncInFlight, true +} + +// HasIsSyncInFlight returns a boolean if a field has been set. +func (o *NpmPackageUploadResponse) HasIsSyncInFlight() bool { + if o != nil && !isNil(o.IsSyncInFlight) { + return true + } + + return false +} + +// SetIsSyncInFlight gets a reference to the given bool and assigns it to the IsSyncInFlight field. +func (o *NpmPackageUploadResponse) SetIsSyncInFlight(v bool) { + o.IsSyncInFlight = &v +} + +// GetIsSyncInProgress returns the IsSyncInProgress field value if set, zero value otherwise. +func (o *NpmPackageUploadResponse) GetIsSyncInProgress() bool { + if o == nil || isNil(o.IsSyncInProgress) { + var ret bool + return ret + } + return *o.IsSyncInProgress +} + +// GetIsSyncInProgressOk returns a tuple with the IsSyncInProgress field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *NpmPackageUploadResponse) GetIsSyncInProgressOk() (*bool, bool) { + if o == nil || isNil(o.IsSyncInProgress) { + return nil, false + } + return o.IsSyncInProgress, true +} + +// HasIsSyncInProgress returns a boolean if a field has been set. +func (o *NpmPackageUploadResponse) HasIsSyncInProgress() bool { + if o != nil && !isNil(o.IsSyncInProgress) { + return true + } + + return false +} + +// SetIsSyncInProgress gets a reference to the given bool and assigns it to the IsSyncInProgress field. +func (o *NpmPackageUploadResponse) SetIsSyncInProgress(v bool) { + o.IsSyncInProgress = &v +} + +// GetLicense returns the License field value if set, zero value otherwise. +func (o *NpmPackageUploadResponse) GetLicense() string { + if o == nil || isNil(o.License) { + var ret string + return ret + } + return *o.License +} + +// GetLicenseOk returns a tuple with the License field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *NpmPackageUploadResponse) GetLicenseOk() (*string, bool) { + if o == nil || isNil(o.License) { + return nil, false + } + return o.License, true +} + +// HasLicense returns a boolean if a field has been set. +func (o *NpmPackageUploadResponse) HasLicense() bool { + if o != nil && !isNil(o.License) { + return true + } + + return false +} + +// SetLicense gets a reference to the given string and assigns it to the License field. +func (o *NpmPackageUploadResponse) SetLicense(v string) { + o.License = &v +} + +// GetName returns the Name field value if set, zero value otherwise. +func (o *NpmPackageUploadResponse) GetName() string { + if o == nil || isNil(o.Name) { + var ret string + return ret + } + return *o.Name +} + +// GetNameOk returns a tuple with the Name field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *NpmPackageUploadResponse) GetNameOk() (*string, bool) { + if o == nil || isNil(o.Name) { + return nil, false + } + return o.Name, true +} + +// HasName returns a boolean if a field has been set. +func (o *NpmPackageUploadResponse) HasName() bool { + if o != nil && !isNil(o.Name) { + return true + } + + return false +} + +// SetName gets a reference to the given string and assigns it to the Name field. +func (o *NpmPackageUploadResponse) SetName(v string) { + o.Name = &v +} + +// GetNamespace returns the Namespace field value if set, zero value otherwise. +func (o *NpmPackageUploadResponse) GetNamespace() string { + if o == nil || isNil(o.Namespace) { + var ret string + return ret + } + return *o.Namespace +} + +// GetNamespaceOk returns a tuple with the Namespace field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *NpmPackageUploadResponse) GetNamespaceOk() (*string, bool) { + if o == nil || isNil(o.Namespace) { + return nil, false + } + return o.Namespace, true +} + +// HasNamespace returns a boolean if a field has been set. +func (o *NpmPackageUploadResponse) HasNamespace() bool { + if o != nil && !isNil(o.Namespace) { + return true + } + + return false +} + +// SetNamespace gets a reference to the given string and assigns it to the Namespace field. +func (o *NpmPackageUploadResponse) SetNamespace(v string) { + o.Namespace = &v +} + +// GetNamespaceUrl returns the NamespaceUrl field value if set, zero value otherwise. +func (o *NpmPackageUploadResponse) GetNamespaceUrl() string { + if o == nil || isNil(o.NamespaceUrl) { + var ret string + return ret + } + return *o.NamespaceUrl +} + +// GetNamespaceUrlOk returns a tuple with the NamespaceUrl field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *NpmPackageUploadResponse) GetNamespaceUrlOk() (*string, bool) { + if o == nil || isNil(o.NamespaceUrl) { + return nil, false + } + return o.NamespaceUrl, true +} + +// HasNamespaceUrl returns a boolean if a field has been set. +func (o *NpmPackageUploadResponse) HasNamespaceUrl() bool { + if o != nil && !isNil(o.NamespaceUrl) { + return true + } + + return false +} + +// SetNamespaceUrl gets a reference to the given string and assigns it to the NamespaceUrl field. +func (o *NpmPackageUploadResponse) SetNamespaceUrl(v string) { + o.NamespaceUrl = &v +} + +// GetNumFiles returns the NumFiles field value if set, zero value otherwise. +func (o *NpmPackageUploadResponse) GetNumFiles() int64 { + if o == nil || isNil(o.NumFiles) { + var ret int64 + return ret + } + return *o.NumFiles +} + +// GetNumFilesOk returns a tuple with the NumFiles field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *NpmPackageUploadResponse) GetNumFilesOk() (*int64, bool) { + if o == nil || isNil(o.NumFiles) { + return nil, false + } + return o.NumFiles, true +} + +// HasNumFiles returns a boolean if a field has been set. +func (o *NpmPackageUploadResponse) HasNumFiles() bool { + if o != nil && !isNil(o.NumFiles) { + return true + } + + return false +} + +// SetNumFiles gets a reference to the given int64 and assigns it to the NumFiles field. +func (o *NpmPackageUploadResponse) SetNumFiles(v int64) { + o.NumFiles = &v +} + +// GetOriginRepository returns the OriginRepository field value if set, zero value otherwise. +func (o *NpmPackageUploadResponse) GetOriginRepository() string { + if o == nil || isNil(o.OriginRepository) { + var ret string + return ret + } + return *o.OriginRepository +} + +// GetOriginRepositoryOk returns a tuple with the OriginRepository field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *NpmPackageUploadResponse) GetOriginRepositoryOk() (*string, bool) { + if o == nil || isNil(o.OriginRepository) { + return nil, false + } + return o.OriginRepository, true +} + +// HasOriginRepository returns a boolean if a field has been set. +func (o *NpmPackageUploadResponse) HasOriginRepository() bool { + if o != nil && !isNil(o.OriginRepository) { + return true + } + + return false +} + +// SetOriginRepository gets a reference to the given string and assigns it to the OriginRepository field. +func (o *NpmPackageUploadResponse) SetOriginRepository(v string) { + o.OriginRepository = &v +} + +// GetOriginRepositoryUrl returns the OriginRepositoryUrl field value if set, zero value otherwise. +func (o *NpmPackageUploadResponse) GetOriginRepositoryUrl() string { + if o == nil || isNil(o.OriginRepositoryUrl) { + var ret string + return ret + } + return *o.OriginRepositoryUrl +} + +// GetOriginRepositoryUrlOk returns a tuple with the OriginRepositoryUrl field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *NpmPackageUploadResponse) GetOriginRepositoryUrlOk() (*string, bool) { + if o == nil || isNil(o.OriginRepositoryUrl) { + return nil, false + } + return o.OriginRepositoryUrl, true +} + +// HasOriginRepositoryUrl returns a boolean if a field has been set. +func (o *NpmPackageUploadResponse) HasOriginRepositoryUrl() bool { + if o != nil && !isNil(o.OriginRepositoryUrl) { + return true + } + + return false +} + +// SetOriginRepositoryUrl gets a reference to the given string and assigns it to the OriginRepositoryUrl field. +func (o *NpmPackageUploadResponse) SetOriginRepositoryUrl(v string) { + o.OriginRepositoryUrl = &v +} + +// GetPackageType returns the PackageType field value if set, zero value otherwise. +func (o *NpmPackageUploadResponse) GetPackageType() int64 { + if o == nil || isNil(o.PackageType) { + var ret int64 + return ret + } + return *o.PackageType +} + +// GetPackageTypeOk returns a tuple with the PackageType field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *NpmPackageUploadResponse) GetPackageTypeOk() (*int64, bool) { + if o == nil || isNil(o.PackageType) { + return nil, false + } + return o.PackageType, true +} + +// HasPackageType returns a boolean if a field has been set. +func (o *NpmPackageUploadResponse) HasPackageType() bool { + if o != nil && !isNil(o.PackageType) { + return true + } + + return false +} + +// SetPackageType gets a reference to the given int64 and assigns it to the PackageType field. +func (o *NpmPackageUploadResponse) SetPackageType(v int64) { + o.PackageType = &v +} + +// GetRelease returns the Release field value if set, zero value otherwise. +func (o *NpmPackageUploadResponse) GetRelease() string { + if o == nil || isNil(o.Release) { + var ret string + return ret + } + return *o.Release +} + +// GetReleaseOk returns a tuple with the Release field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *NpmPackageUploadResponse) GetReleaseOk() (*string, bool) { + if o == nil || isNil(o.Release) { + return nil, false + } + return o.Release, true +} + +// HasRelease returns a boolean if a field has been set. +func (o *NpmPackageUploadResponse) HasRelease() bool { + if o != nil && !isNil(o.Release) { + return true + } + + return false +} + +// SetRelease gets a reference to the given string and assigns it to the Release field. +func (o *NpmPackageUploadResponse) SetRelease(v string) { + o.Release = &v +} + +// GetRepository returns the Repository field value if set, zero value otherwise. +func (o *NpmPackageUploadResponse) GetRepository() string { + if o == nil || isNil(o.Repository) { + var ret string + return ret + } + return *o.Repository +} + +// GetRepositoryOk returns a tuple with the Repository field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *NpmPackageUploadResponse) GetRepositoryOk() (*string, bool) { + if o == nil || isNil(o.Repository) { + return nil, false + } + return o.Repository, true +} + +// HasRepository returns a boolean if a field has been set. +func (o *NpmPackageUploadResponse) HasRepository() bool { + if o != nil && !isNil(o.Repository) { + return true + } + + return false +} + +// SetRepository gets a reference to the given string and assigns it to the Repository field. +func (o *NpmPackageUploadResponse) SetRepository(v string) { + o.Repository = &v +} + +// GetRepositoryUrl returns the RepositoryUrl field value if set, zero value otherwise. +func (o *NpmPackageUploadResponse) GetRepositoryUrl() string { + if o == nil || isNil(o.RepositoryUrl) { + var ret string + return ret + } + return *o.RepositoryUrl +} + +// GetRepositoryUrlOk returns a tuple with the RepositoryUrl field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *NpmPackageUploadResponse) GetRepositoryUrlOk() (*string, bool) { + if o == nil || isNil(o.RepositoryUrl) { + return nil, false + } + return o.RepositoryUrl, true +} + +// HasRepositoryUrl returns a boolean if a field has been set. +func (o *NpmPackageUploadResponse) HasRepositoryUrl() bool { + if o != nil && !isNil(o.RepositoryUrl) { + return true + } + + return false +} + +// SetRepositoryUrl gets a reference to the given string and assigns it to the RepositoryUrl field. +func (o *NpmPackageUploadResponse) SetRepositoryUrl(v string) { + o.RepositoryUrl = &v +} + +// GetSecurityScanCompletedAt returns the SecurityScanCompletedAt field value if set, zero value otherwise. +func (o *NpmPackageUploadResponse) GetSecurityScanCompletedAt() time.Time { + if o == nil || isNil(o.SecurityScanCompletedAt) { + var ret time.Time + return ret + } + return *o.SecurityScanCompletedAt +} + +// GetSecurityScanCompletedAtOk returns a tuple with the SecurityScanCompletedAt field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *NpmPackageUploadResponse) GetSecurityScanCompletedAtOk() (*time.Time, bool) { + if o == nil || isNil(o.SecurityScanCompletedAt) { + return nil, false + } + return o.SecurityScanCompletedAt, true +} + +// HasSecurityScanCompletedAt returns a boolean if a field has been set. +func (o *NpmPackageUploadResponse) HasSecurityScanCompletedAt() bool { + if o != nil && !isNil(o.SecurityScanCompletedAt) { + return true + } + + return false +} + +// SetSecurityScanCompletedAt gets a reference to the given time.Time and assigns it to the SecurityScanCompletedAt field. +func (o *NpmPackageUploadResponse) SetSecurityScanCompletedAt(v time.Time) { + o.SecurityScanCompletedAt = &v +} + +// GetSecurityScanStartedAt returns the SecurityScanStartedAt field value if set, zero value otherwise. +func (o *NpmPackageUploadResponse) GetSecurityScanStartedAt() time.Time { + if o == nil || isNil(o.SecurityScanStartedAt) { + var ret time.Time + return ret + } + return *o.SecurityScanStartedAt +} + +// GetSecurityScanStartedAtOk returns a tuple with the SecurityScanStartedAt field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *NpmPackageUploadResponse) GetSecurityScanStartedAtOk() (*time.Time, bool) { + if o == nil || isNil(o.SecurityScanStartedAt) { + return nil, false + } + return o.SecurityScanStartedAt, true +} + +// HasSecurityScanStartedAt returns a boolean if a field has been set. +func (o *NpmPackageUploadResponse) HasSecurityScanStartedAt() bool { + if o != nil && !isNil(o.SecurityScanStartedAt) { + return true + } + + return false +} + +// SetSecurityScanStartedAt gets a reference to the given time.Time and assigns it to the SecurityScanStartedAt field. +func (o *NpmPackageUploadResponse) SetSecurityScanStartedAt(v time.Time) { + o.SecurityScanStartedAt = &v +} + +// GetSecurityScanStatus returns the SecurityScanStatus field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *NpmPackageUploadResponse) GetSecurityScanStatus() string { + if o == nil || isNil(o.SecurityScanStatus.Get()) { + var ret string + return ret + } + return *o.SecurityScanStatus.Get() +} + +// GetSecurityScanStatusOk returns a tuple with the SecurityScanStatus 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 *NpmPackageUploadResponse) GetSecurityScanStatusOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.SecurityScanStatus.Get(), o.SecurityScanStatus.IsSet() +} + +// HasSecurityScanStatus returns a boolean if a field has been set. +func (o *NpmPackageUploadResponse) HasSecurityScanStatus() bool { + if o != nil && o.SecurityScanStatus.IsSet() { + return true + } + + return false +} + +// SetSecurityScanStatus gets a reference to the given NullableString and assigns it to the SecurityScanStatus field. +func (o *NpmPackageUploadResponse) SetSecurityScanStatus(v string) { + o.SecurityScanStatus.Set(&v) +} + +// SetSecurityScanStatusNil sets the value for SecurityScanStatus to be an explicit nil +func (o *NpmPackageUploadResponse) SetSecurityScanStatusNil() { + o.SecurityScanStatus.Set(nil) +} + +// UnsetSecurityScanStatus ensures that no value is present for SecurityScanStatus, not even an explicit nil +func (o *NpmPackageUploadResponse) UnsetSecurityScanStatus() { + o.SecurityScanStatus.Unset() +} + +// GetSecurityScanStatusUpdatedAt returns the SecurityScanStatusUpdatedAt field value if set, zero value otherwise. +func (o *NpmPackageUploadResponse) GetSecurityScanStatusUpdatedAt() time.Time { + if o == nil || isNil(o.SecurityScanStatusUpdatedAt) { + var ret time.Time + return ret + } + return *o.SecurityScanStatusUpdatedAt +} + +// GetSecurityScanStatusUpdatedAtOk returns a tuple with the SecurityScanStatusUpdatedAt field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *NpmPackageUploadResponse) GetSecurityScanStatusUpdatedAtOk() (*time.Time, bool) { + if o == nil || isNil(o.SecurityScanStatusUpdatedAt) { + return nil, false + } + return o.SecurityScanStatusUpdatedAt, true +} + +// HasSecurityScanStatusUpdatedAt returns a boolean if a field has been set. +func (o *NpmPackageUploadResponse) HasSecurityScanStatusUpdatedAt() bool { + if o != nil && !isNil(o.SecurityScanStatusUpdatedAt) { + return true + } + + return false +} + +// SetSecurityScanStatusUpdatedAt gets a reference to the given time.Time and assigns it to the SecurityScanStatusUpdatedAt field. +func (o *NpmPackageUploadResponse) SetSecurityScanStatusUpdatedAt(v time.Time) { + o.SecurityScanStatusUpdatedAt = &v +} + +// GetSelfHtmlUrl returns the SelfHtmlUrl field value if set, zero value otherwise. +func (o *NpmPackageUploadResponse) GetSelfHtmlUrl() string { + if o == nil || isNil(o.SelfHtmlUrl) { + var ret string + return ret + } + return *o.SelfHtmlUrl +} + +// GetSelfHtmlUrlOk returns a tuple with the SelfHtmlUrl field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *NpmPackageUploadResponse) GetSelfHtmlUrlOk() (*string, bool) { + if o == nil || isNil(o.SelfHtmlUrl) { + return nil, false + } + return o.SelfHtmlUrl, true +} + +// HasSelfHtmlUrl returns a boolean if a field has been set. +func (o *NpmPackageUploadResponse) HasSelfHtmlUrl() bool { + if o != nil && !isNil(o.SelfHtmlUrl) { + return true + } + + return false +} + +// SetSelfHtmlUrl gets a reference to the given string and assigns it to the SelfHtmlUrl field. +func (o *NpmPackageUploadResponse) SetSelfHtmlUrl(v string) { + o.SelfHtmlUrl = &v +} + +// GetSelfUrl returns the SelfUrl field value if set, zero value otherwise. +func (o *NpmPackageUploadResponse) GetSelfUrl() string { + if o == nil || isNil(o.SelfUrl) { + var ret string + return ret + } + return *o.SelfUrl +} + +// GetSelfUrlOk returns a tuple with the SelfUrl field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *NpmPackageUploadResponse) GetSelfUrlOk() (*string, bool) { + if o == nil || isNil(o.SelfUrl) { + return nil, false + } + return o.SelfUrl, true +} + +// HasSelfUrl returns a boolean if a field has been set. +func (o *NpmPackageUploadResponse) HasSelfUrl() bool { + if o != nil && !isNil(o.SelfUrl) { + return true + } + + return false +} + +// SetSelfUrl gets a reference to the given string and assigns it to the SelfUrl field. +func (o *NpmPackageUploadResponse) SetSelfUrl(v string) { + o.SelfUrl = &v +} + +// GetSignatureUrl returns the SignatureUrl field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *NpmPackageUploadResponse) GetSignatureUrl() string { + if o == nil || isNil(o.SignatureUrl.Get()) { + var ret string + return ret + } + return *o.SignatureUrl.Get() +} + +// GetSignatureUrlOk returns a tuple with the SignatureUrl 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 *NpmPackageUploadResponse) GetSignatureUrlOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.SignatureUrl.Get(), o.SignatureUrl.IsSet() +} + +// HasSignatureUrl returns a boolean if a field has been set. +func (o *NpmPackageUploadResponse) HasSignatureUrl() bool { + if o != nil && o.SignatureUrl.IsSet() { + return true + } + + return false +} + +// SetSignatureUrl gets a reference to the given NullableString and assigns it to the SignatureUrl field. +func (o *NpmPackageUploadResponse) SetSignatureUrl(v string) { + o.SignatureUrl.Set(&v) +} + +// SetSignatureUrlNil sets the value for SignatureUrl to be an explicit nil +func (o *NpmPackageUploadResponse) SetSignatureUrlNil() { + o.SignatureUrl.Set(nil) +} + +// UnsetSignatureUrl ensures that no value is present for SignatureUrl, not even an explicit nil +func (o *NpmPackageUploadResponse) UnsetSignatureUrl() { + o.SignatureUrl.Unset() +} + +// GetSize returns the Size field value if set, zero value otherwise. +func (o *NpmPackageUploadResponse) GetSize() int64 { + if o == nil || isNil(o.Size) { + var ret int64 + return ret + } + return *o.Size +} + +// GetSizeOk returns a tuple with the Size field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *NpmPackageUploadResponse) GetSizeOk() (*int64, bool) { + if o == nil || isNil(o.Size) { + return nil, false + } + return o.Size, true +} + +// HasSize returns a boolean if a field has been set. +func (o *NpmPackageUploadResponse) HasSize() bool { + if o != nil && !isNil(o.Size) { + return true + } + + return false +} + +// SetSize gets a reference to the given int64 and assigns it to the Size field. +func (o *NpmPackageUploadResponse) SetSize(v int64) { + o.Size = &v +} + +// GetSlug returns the Slug field value if set, zero value otherwise. +func (o *NpmPackageUploadResponse) GetSlug() string { + if o == nil || isNil(o.Slug) { + var ret string + return ret + } + return *o.Slug +} + +// GetSlugOk returns a tuple with the Slug field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *NpmPackageUploadResponse) GetSlugOk() (*string, bool) { + if o == nil || isNil(o.Slug) { + return nil, false + } + return o.Slug, true +} + +// HasSlug returns a boolean if a field has been set. +func (o *NpmPackageUploadResponse) HasSlug() bool { + if o != nil && !isNil(o.Slug) { + return true + } + + return false +} + +// SetSlug gets a reference to the given string and assigns it to the Slug field. +func (o *NpmPackageUploadResponse) SetSlug(v string) { + o.Slug = &v +} + +// GetSlugPerm returns the SlugPerm field value if set, zero value otherwise. +func (o *NpmPackageUploadResponse) GetSlugPerm() string { + if o == nil || isNil(o.SlugPerm) { + var ret string + return ret + } + return *o.SlugPerm +} + +// GetSlugPermOk returns a tuple with the SlugPerm field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *NpmPackageUploadResponse) GetSlugPermOk() (*string, bool) { + if o == nil || isNil(o.SlugPerm) { + return nil, false + } + return o.SlugPerm, true +} + +// HasSlugPerm returns a boolean if a field has been set. +func (o *NpmPackageUploadResponse) HasSlugPerm() bool { + if o != nil && !isNil(o.SlugPerm) { + return true + } + + return false +} + +// SetSlugPerm gets a reference to the given string and assigns it to the SlugPerm field. +func (o *NpmPackageUploadResponse) SetSlugPerm(v string) { + o.SlugPerm = &v +} + +// GetStage returns the Stage field value if set, zero value otherwise. +func (o *NpmPackageUploadResponse) GetStage() int64 { + if o == nil || isNil(o.Stage) { + var ret int64 + return ret + } + return *o.Stage +} + +// GetStageOk returns a tuple with the Stage field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *NpmPackageUploadResponse) GetStageOk() (*int64, bool) { + if o == nil || isNil(o.Stage) { + return nil, false + } + return o.Stage, true +} + +// HasStage returns a boolean if a field has been set. +func (o *NpmPackageUploadResponse) HasStage() bool { + if o != nil && !isNil(o.Stage) { + return true + } + + return false +} + +// SetStage gets a reference to the given int64 and assigns it to the Stage field. +func (o *NpmPackageUploadResponse) SetStage(v int64) { + o.Stage = &v +} + +// GetStageStr returns the StageStr field value if set, zero value otherwise. +func (o *NpmPackageUploadResponse) GetStageStr() string { + if o == nil || isNil(o.StageStr) { + var ret string + return ret + } + return *o.StageStr +} + +// GetStageStrOk returns a tuple with the StageStr field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *NpmPackageUploadResponse) GetStageStrOk() (*string, bool) { + if o == nil || isNil(o.StageStr) { + return nil, false + } + return o.StageStr, true +} + +// HasStageStr returns a boolean if a field has been set. +func (o *NpmPackageUploadResponse) HasStageStr() bool { + if o != nil && !isNil(o.StageStr) { + return true + } + + return false +} + +// SetStageStr gets a reference to the given string and assigns it to the StageStr field. +func (o *NpmPackageUploadResponse) SetStageStr(v string) { + o.StageStr = &v +} + +// GetStageUpdatedAt returns the StageUpdatedAt field value if set, zero value otherwise. +func (o *NpmPackageUploadResponse) GetStageUpdatedAt() time.Time { + if o == nil || isNil(o.StageUpdatedAt) { + var ret time.Time + return ret + } + return *o.StageUpdatedAt +} + +// GetStageUpdatedAtOk returns a tuple with the StageUpdatedAt field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *NpmPackageUploadResponse) GetStageUpdatedAtOk() (*time.Time, bool) { + if o == nil || isNil(o.StageUpdatedAt) { + return nil, false + } + return o.StageUpdatedAt, true +} + +// HasStageUpdatedAt returns a boolean if a field has been set. +func (o *NpmPackageUploadResponse) HasStageUpdatedAt() bool { + if o != nil && !isNil(o.StageUpdatedAt) { + return true + } + + return false +} + +// SetStageUpdatedAt gets a reference to the given time.Time and assigns it to the StageUpdatedAt field. +func (o *NpmPackageUploadResponse) SetStageUpdatedAt(v time.Time) { + o.StageUpdatedAt = &v +} + +// GetStatus returns the Status field value if set, zero value otherwise. +func (o *NpmPackageUploadResponse) GetStatus() int64 { + if o == nil || isNil(o.Status) { + var ret int64 + return ret + } + return *o.Status +} + +// GetStatusOk returns a tuple with the Status field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *NpmPackageUploadResponse) GetStatusOk() (*int64, bool) { + if o == nil || isNil(o.Status) { + return nil, false + } + return o.Status, true +} + +// HasStatus returns a boolean if a field has been set. +func (o *NpmPackageUploadResponse) HasStatus() bool { + if o != nil && !isNil(o.Status) { + return true + } + + return false +} + +// SetStatus gets a reference to the given int64 and assigns it to the Status field. +func (o *NpmPackageUploadResponse) SetStatus(v int64) { + o.Status = &v +} + +// GetStatusReason returns the StatusReason field value if set, zero value otherwise. +func (o *NpmPackageUploadResponse) GetStatusReason() string { + if o == nil || isNil(o.StatusReason) { + var ret string + return ret + } + return *o.StatusReason +} + +// GetStatusReasonOk returns a tuple with the StatusReason field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *NpmPackageUploadResponse) GetStatusReasonOk() (*string, bool) { + if o == nil || isNil(o.StatusReason) { + return nil, false + } + return o.StatusReason, true +} + +// HasStatusReason returns a boolean if a field has been set. +func (o *NpmPackageUploadResponse) HasStatusReason() bool { + if o != nil && !isNil(o.StatusReason) { + return true + } + + return false +} + +// SetStatusReason gets a reference to the given string and assigns it to the StatusReason field. +func (o *NpmPackageUploadResponse) SetStatusReason(v string) { + o.StatusReason = &v +} + +// GetStatusStr returns the StatusStr field value if set, zero value otherwise. +func (o *NpmPackageUploadResponse) GetStatusStr() string { + if o == nil || isNil(o.StatusStr) { + var ret string + return ret + } + return *o.StatusStr +} + +// GetStatusStrOk returns a tuple with the StatusStr field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *NpmPackageUploadResponse) GetStatusStrOk() (*string, bool) { + if o == nil || isNil(o.StatusStr) { + return nil, false + } + return o.StatusStr, true +} + +// HasStatusStr returns a boolean if a field has been set. +func (o *NpmPackageUploadResponse) HasStatusStr() bool { + if o != nil && !isNil(o.StatusStr) { + return true + } + + return false +} + +// SetStatusStr gets a reference to the given string and assigns it to the StatusStr field. +func (o *NpmPackageUploadResponse) SetStatusStr(v string) { + o.StatusStr = &v +} + +// GetStatusUpdatedAt returns the StatusUpdatedAt field value if set, zero value otherwise. +func (o *NpmPackageUploadResponse) GetStatusUpdatedAt() time.Time { + if o == nil || isNil(o.StatusUpdatedAt) { + var ret time.Time + return ret + } + return *o.StatusUpdatedAt +} + +// GetStatusUpdatedAtOk returns a tuple with the StatusUpdatedAt field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *NpmPackageUploadResponse) GetStatusUpdatedAtOk() (*time.Time, bool) { + if o == nil || isNil(o.StatusUpdatedAt) { + return nil, false + } + return o.StatusUpdatedAt, true +} + +// HasStatusUpdatedAt returns a boolean if a field has been set. +func (o *NpmPackageUploadResponse) HasStatusUpdatedAt() bool { + if o != nil && !isNil(o.StatusUpdatedAt) { + return true + } + + return false +} + +// SetStatusUpdatedAt gets a reference to the given time.Time and assigns it to the StatusUpdatedAt field. +func (o *NpmPackageUploadResponse) SetStatusUpdatedAt(v time.Time) { + o.StatusUpdatedAt = &v +} + +// GetStatusUrl returns the StatusUrl field value if set, zero value otherwise. +func (o *NpmPackageUploadResponse) GetStatusUrl() string { + if o == nil || isNil(o.StatusUrl) { + var ret string + return ret + } + return *o.StatusUrl +} + +// GetStatusUrlOk returns a tuple with the StatusUrl field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *NpmPackageUploadResponse) GetStatusUrlOk() (*string, bool) { + if o == nil || isNil(o.StatusUrl) { + return nil, false + } + return o.StatusUrl, true +} + +// HasStatusUrl returns a boolean if a field has been set. +func (o *NpmPackageUploadResponse) HasStatusUrl() bool { + if o != nil && !isNil(o.StatusUrl) { + return true + } + + return false +} + +// SetStatusUrl gets a reference to the given string and assigns it to the StatusUrl field. +func (o *NpmPackageUploadResponse) SetStatusUrl(v string) { + o.StatusUrl = &v +} + +// GetSubtype returns the Subtype field value if set, zero value otherwise. +func (o *NpmPackageUploadResponse) GetSubtype() string { + if o == nil || isNil(o.Subtype) { + var ret string + return ret + } + return *o.Subtype +} + +// GetSubtypeOk returns a tuple with the Subtype field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *NpmPackageUploadResponse) GetSubtypeOk() (*string, bool) { + if o == nil || isNil(o.Subtype) { + return nil, false + } + return o.Subtype, true +} + +// HasSubtype returns a boolean if a field has been set. +func (o *NpmPackageUploadResponse) HasSubtype() bool { + if o != nil && !isNil(o.Subtype) { + return true + } + + return false +} + +// SetSubtype gets a reference to the given string and assigns it to the Subtype field. +func (o *NpmPackageUploadResponse) SetSubtype(v string) { + o.Subtype = &v +} + +// GetSummary returns the Summary field value if set, zero value otherwise. +func (o *NpmPackageUploadResponse) GetSummary() string { + if o == nil || isNil(o.Summary) { + var ret string + return ret + } + return *o.Summary +} + +// GetSummaryOk returns a tuple with the Summary field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *NpmPackageUploadResponse) GetSummaryOk() (*string, bool) { + if o == nil || isNil(o.Summary) { + return nil, false + } + return o.Summary, true +} + +// HasSummary returns a boolean if a field has been set. +func (o *NpmPackageUploadResponse) HasSummary() bool { + if o != nil && !isNil(o.Summary) { + return true + } + + return false +} + +// SetSummary gets a reference to the given string and assigns it to the Summary field. +func (o *NpmPackageUploadResponse) SetSummary(v string) { + o.Summary = &v +} + +// GetSyncFinishedAt returns the SyncFinishedAt field value if set, zero value otherwise. +func (o *NpmPackageUploadResponse) GetSyncFinishedAt() time.Time { + if o == nil || isNil(o.SyncFinishedAt) { + var ret time.Time + return ret + } + return *o.SyncFinishedAt +} + +// GetSyncFinishedAtOk returns a tuple with the SyncFinishedAt field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *NpmPackageUploadResponse) GetSyncFinishedAtOk() (*time.Time, bool) { + if o == nil || isNil(o.SyncFinishedAt) { + return nil, false + } + return o.SyncFinishedAt, true +} + +// HasSyncFinishedAt returns a boolean if a field has been set. +func (o *NpmPackageUploadResponse) HasSyncFinishedAt() bool { + if o != nil && !isNil(o.SyncFinishedAt) { + return true + } + + return false +} + +// SetSyncFinishedAt gets a reference to the given time.Time and assigns it to the SyncFinishedAt field. +func (o *NpmPackageUploadResponse) SetSyncFinishedAt(v time.Time) { + o.SyncFinishedAt = &v +} + +// GetSyncProgress returns the SyncProgress field value if set, zero value otherwise. +func (o *NpmPackageUploadResponse) GetSyncProgress() int64 { + if o == nil || isNil(o.SyncProgress) { + var ret int64 + return ret + } + return *o.SyncProgress +} + +// GetSyncProgressOk returns a tuple with the SyncProgress field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *NpmPackageUploadResponse) GetSyncProgressOk() (*int64, bool) { + if o == nil || isNil(o.SyncProgress) { + return nil, false + } + return o.SyncProgress, true +} + +// HasSyncProgress returns a boolean if a field has been set. +func (o *NpmPackageUploadResponse) HasSyncProgress() bool { + if o != nil && !isNil(o.SyncProgress) { + return true + } + + return false +} + +// SetSyncProgress gets a reference to the given int64 and assigns it to the SyncProgress field. +func (o *NpmPackageUploadResponse) SetSyncProgress(v int64) { + o.SyncProgress = &v +} + +// GetTagsImmutable returns the TagsImmutable field value if set, zero value otherwise. +func (o *NpmPackageUploadResponse) GetTagsImmutable() map[string]interface{} { + if o == nil || isNil(o.TagsImmutable) { + var ret map[string]interface{} + return ret + } + return o.TagsImmutable +} + +// GetTagsImmutableOk returns a tuple with the TagsImmutable field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *NpmPackageUploadResponse) GetTagsImmutableOk() (map[string]interface{}, bool) { + if o == nil || isNil(o.TagsImmutable) { + return map[string]interface{}{}, false + } + return o.TagsImmutable, true +} + +// HasTagsImmutable returns a boolean if a field has been set. +func (o *NpmPackageUploadResponse) HasTagsImmutable() bool { + if o != nil && !isNil(o.TagsImmutable) { + return true + } + + return false +} + +// SetTagsImmutable gets a reference to the given map[string]interface{} and assigns it to the TagsImmutable field. +func (o *NpmPackageUploadResponse) SetTagsImmutable(v map[string]interface{}) { + o.TagsImmutable = v +} + +// GetTypeDisplay returns the TypeDisplay field value if set, zero value otherwise. +func (o *NpmPackageUploadResponse) GetTypeDisplay() string { + if o == nil || isNil(o.TypeDisplay) { + var ret string + return ret + } + return *o.TypeDisplay +} + +// GetTypeDisplayOk returns a tuple with the TypeDisplay field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *NpmPackageUploadResponse) GetTypeDisplayOk() (*string, bool) { + if o == nil || isNil(o.TypeDisplay) { + return nil, false + } + return o.TypeDisplay, true +} + +// HasTypeDisplay returns a boolean if a field has been set. +func (o *NpmPackageUploadResponse) HasTypeDisplay() bool { + if o != nil && !isNil(o.TypeDisplay) { + return true + } + + return false +} + +// SetTypeDisplay gets a reference to the given string and assigns it to the TypeDisplay field. +func (o *NpmPackageUploadResponse) SetTypeDisplay(v string) { + o.TypeDisplay = &v +} + +// GetUploadedAt returns the UploadedAt field value if set, zero value otherwise. +func (o *NpmPackageUploadResponse) GetUploadedAt() time.Time { + if o == nil || isNil(o.UploadedAt) { + var ret time.Time + return ret + } + return *o.UploadedAt +} + +// GetUploadedAtOk returns a tuple with the UploadedAt field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *NpmPackageUploadResponse) GetUploadedAtOk() (*time.Time, bool) { + if o == nil || isNil(o.UploadedAt) { + return nil, false + } + return o.UploadedAt, true +} + +// HasUploadedAt returns a boolean if a field has been set. +func (o *NpmPackageUploadResponse) HasUploadedAt() bool { + if o != nil && !isNil(o.UploadedAt) { + return true + } + + return false +} + +// SetUploadedAt gets a reference to the given time.Time and assigns it to the UploadedAt field. +func (o *NpmPackageUploadResponse) SetUploadedAt(v time.Time) { + o.UploadedAt = &v +} + +// GetUploader returns the Uploader field value if set, zero value otherwise. +func (o *NpmPackageUploadResponse) GetUploader() string { + if o == nil || isNil(o.Uploader) { + var ret string + return ret + } + return *o.Uploader +} + +// GetUploaderOk returns a tuple with the Uploader field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *NpmPackageUploadResponse) GetUploaderOk() (*string, bool) { + if o == nil || isNil(o.Uploader) { + return nil, false + } + return o.Uploader, true +} + +// HasUploader returns a boolean if a field has been set. +func (o *NpmPackageUploadResponse) HasUploader() bool { + if o != nil && !isNil(o.Uploader) { + return true + } + + return false +} + +// SetUploader gets a reference to the given string and assigns it to the Uploader field. +func (o *NpmPackageUploadResponse) SetUploader(v string) { + o.Uploader = &v +} + +// GetUploaderUrl returns the UploaderUrl field value if set, zero value otherwise. +func (o *NpmPackageUploadResponse) GetUploaderUrl() string { + if o == nil || isNil(o.UploaderUrl) { + var ret string + return ret + } + return *o.UploaderUrl +} + +// GetUploaderUrlOk returns a tuple with the UploaderUrl field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *NpmPackageUploadResponse) GetUploaderUrlOk() (*string, bool) { + if o == nil || isNil(o.UploaderUrl) { + return nil, false + } + return o.UploaderUrl, true +} + +// HasUploaderUrl returns a boolean if a field has been set. +func (o *NpmPackageUploadResponse) HasUploaderUrl() bool { + if o != nil && !isNil(o.UploaderUrl) { + return true + } + + return false +} + +// SetUploaderUrl gets a reference to the given string and assigns it to the UploaderUrl field. +func (o *NpmPackageUploadResponse) SetUploaderUrl(v string) { + o.UploaderUrl = &v +} + +// GetVersion returns the Version field value if set, zero value otherwise. +func (o *NpmPackageUploadResponse) GetVersion() string { + if o == nil || isNil(o.Version) { + var ret string + return ret + } + return *o.Version +} + +// GetVersionOk returns a tuple with the Version field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *NpmPackageUploadResponse) GetVersionOk() (*string, bool) { + if o == nil || isNil(o.Version) { + return nil, false + } + return o.Version, true +} + +// HasVersion returns a boolean if a field has been set. +func (o *NpmPackageUploadResponse) HasVersion() bool { + if o != nil && !isNil(o.Version) { + return true + } + + return false +} + +// SetVersion gets a reference to the given string and assigns it to the Version field. +func (o *NpmPackageUploadResponse) SetVersion(v string) { + o.Version = &v +} + +// GetVersionOrig returns the VersionOrig field value if set, zero value otherwise. +func (o *NpmPackageUploadResponse) GetVersionOrig() string { + if o == nil || isNil(o.VersionOrig) { + var ret string + return ret + } + return *o.VersionOrig +} + +// GetVersionOrigOk returns a tuple with the VersionOrig field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *NpmPackageUploadResponse) GetVersionOrigOk() (*string, bool) { + if o == nil || isNil(o.VersionOrig) { + return nil, false + } + return o.VersionOrig, true +} + +// HasVersionOrig returns a boolean if a field has been set. +func (o *NpmPackageUploadResponse) HasVersionOrig() bool { + if o != nil && !isNil(o.VersionOrig) { + return true + } + + return false +} + +// SetVersionOrig gets a reference to the given string and assigns it to the VersionOrig field. +func (o *NpmPackageUploadResponse) SetVersionOrig(v string) { + o.VersionOrig = &v +} + +// GetVulnerabilityScanResultsUrl returns the VulnerabilityScanResultsUrl field value if set, zero value otherwise. +func (o *NpmPackageUploadResponse) GetVulnerabilityScanResultsUrl() string { + if o == nil || isNil(o.VulnerabilityScanResultsUrl) { + var ret string + return ret + } + return *o.VulnerabilityScanResultsUrl +} + +// GetVulnerabilityScanResultsUrlOk returns a tuple with the VulnerabilityScanResultsUrl field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *NpmPackageUploadResponse) GetVulnerabilityScanResultsUrlOk() (*string, bool) { + if o == nil || isNil(o.VulnerabilityScanResultsUrl) { + return nil, false + } + return o.VulnerabilityScanResultsUrl, true +} + +// HasVulnerabilityScanResultsUrl returns a boolean if a field has been set. +func (o *NpmPackageUploadResponse) HasVulnerabilityScanResultsUrl() bool { + if o != nil && !isNil(o.VulnerabilityScanResultsUrl) { + return true + } + + return false +} + +// SetVulnerabilityScanResultsUrl gets a reference to the given string and assigns it to the VulnerabilityScanResultsUrl field. +func (o *NpmPackageUploadResponse) SetVulnerabilityScanResultsUrl(v string) { + o.VulnerabilityScanResultsUrl = &v +} + +func (o NpmPackageUploadResponse) MarshalJSON() ([]byte, error) { + toSerialize := map[string]interface{}{} + if !isNil(o.Architectures) { + toSerialize["architectures"] = o.Architectures + } + if o.CdnUrl.IsSet() { + toSerialize["cdn_url"] = o.CdnUrl.Get() + } + if !isNil(o.ChecksumMd5) { + toSerialize["checksum_md5"] = o.ChecksumMd5 + } + if !isNil(o.ChecksumSha1) { + toSerialize["checksum_sha1"] = o.ChecksumSha1 + } + if !isNil(o.ChecksumSha256) { + toSerialize["checksum_sha256"] = o.ChecksumSha256 + } + if !isNil(o.ChecksumSha512) { + toSerialize["checksum_sha512"] = o.ChecksumSha512 + } + if !isNil(o.DependenciesChecksumMd5) { + toSerialize["dependencies_checksum_md5"] = o.DependenciesChecksumMd5 + } + if !isNil(o.DependenciesUrl) { + toSerialize["dependencies_url"] = o.DependenciesUrl + } + if !isNil(o.Description) { + toSerialize["description"] = o.Description + } + if o.Distro.IsSet() { + toSerialize["distro"] = o.Distro.Get() + } + if !isNil(o.DistroVersion) { + toSerialize["distro_version"] = o.DistroVersion + } + if !isNil(o.Downloads) { + toSerialize["downloads"] = o.Downloads + } + if !isNil(o.Epoch) { + toSerialize["epoch"] = o.Epoch + } + if !isNil(o.Extension) { + toSerialize["extension"] = o.Extension + } + if !isNil(o.Filename) { + toSerialize["filename"] = o.Filename + } + if !isNil(o.Files) { + toSerialize["files"] = o.Files + } + if !isNil(o.Format) { + toSerialize["format"] = o.Format + } + if !isNil(o.FormatUrl) { + toSerialize["format_url"] = o.FormatUrl + } + if !isNil(o.IdentifierPerm) { + toSerialize["identifier_perm"] = o.IdentifierPerm + } + if !isNil(o.Indexed) { + toSerialize["indexed"] = o.Indexed + } + if !isNil(o.IsDownloadable) { + toSerialize["is_downloadable"] = o.IsDownloadable + } + if !isNil(o.IsQuarantined) { + toSerialize["is_quarantined"] = o.IsQuarantined + } + if !isNil(o.IsSyncAwaiting) { + toSerialize["is_sync_awaiting"] = o.IsSyncAwaiting + } + if !isNil(o.IsSyncCompleted) { + toSerialize["is_sync_completed"] = o.IsSyncCompleted + } + if !isNil(o.IsSyncFailed) { + toSerialize["is_sync_failed"] = o.IsSyncFailed + } + if !isNil(o.IsSyncInFlight) { + toSerialize["is_sync_in_flight"] = o.IsSyncInFlight + } + if !isNil(o.IsSyncInProgress) { + toSerialize["is_sync_in_progress"] = o.IsSyncInProgress + } + if !isNil(o.License) { + toSerialize["license"] = o.License + } + if !isNil(o.Name) { + toSerialize["name"] = o.Name + } + if !isNil(o.Namespace) { + toSerialize["namespace"] = o.Namespace + } + if !isNil(o.NamespaceUrl) { + toSerialize["namespace_url"] = o.NamespaceUrl + } + if !isNil(o.NumFiles) { + toSerialize["num_files"] = o.NumFiles + } + if !isNil(o.OriginRepository) { + toSerialize["origin_repository"] = o.OriginRepository + } + if !isNil(o.OriginRepositoryUrl) { + toSerialize["origin_repository_url"] = o.OriginRepositoryUrl + } + if !isNil(o.PackageType) { + toSerialize["package_type"] = o.PackageType + } + if !isNil(o.Release) { + toSerialize["release"] = o.Release + } + if !isNil(o.Repository) { + toSerialize["repository"] = o.Repository + } + if !isNil(o.RepositoryUrl) { + toSerialize["repository_url"] = o.RepositoryUrl + } + if !isNil(o.SecurityScanCompletedAt) { + toSerialize["security_scan_completed_at"] = o.SecurityScanCompletedAt + } + if !isNil(o.SecurityScanStartedAt) { + toSerialize["security_scan_started_at"] = o.SecurityScanStartedAt + } + if o.SecurityScanStatus.IsSet() { + toSerialize["security_scan_status"] = o.SecurityScanStatus.Get() + } + if !isNil(o.SecurityScanStatusUpdatedAt) { + toSerialize["security_scan_status_updated_at"] = o.SecurityScanStatusUpdatedAt + } + if !isNil(o.SelfHtmlUrl) { + toSerialize["self_html_url"] = o.SelfHtmlUrl + } + if !isNil(o.SelfUrl) { + toSerialize["self_url"] = o.SelfUrl + } + if o.SignatureUrl.IsSet() { + toSerialize["signature_url"] = o.SignatureUrl.Get() + } + if !isNil(o.Size) { + toSerialize["size"] = o.Size + } + if !isNil(o.Slug) { + toSerialize["slug"] = o.Slug + } + if !isNil(o.SlugPerm) { + toSerialize["slug_perm"] = o.SlugPerm + } + if !isNil(o.Stage) { + toSerialize["stage"] = o.Stage + } + if !isNil(o.StageStr) { + toSerialize["stage_str"] = o.StageStr + } + if !isNil(o.StageUpdatedAt) { + toSerialize["stage_updated_at"] = o.StageUpdatedAt + } + if !isNil(o.Status) { + toSerialize["status"] = o.Status + } + if !isNil(o.StatusReason) { + toSerialize["status_reason"] = o.StatusReason + } + if !isNil(o.StatusStr) { + toSerialize["status_str"] = o.StatusStr + } + if !isNil(o.StatusUpdatedAt) { + toSerialize["status_updated_at"] = o.StatusUpdatedAt + } + if !isNil(o.StatusUrl) { + toSerialize["status_url"] = o.StatusUrl + } + if !isNil(o.Subtype) { + toSerialize["subtype"] = o.Subtype + } + if !isNil(o.Summary) { + toSerialize["summary"] = o.Summary + } + if !isNil(o.SyncFinishedAt) { + toSerialize["sync_finished_at"] = o.SyncFinishedAt + } + if !isNil(o.SyncProgress) { + toSerialize["sync_progress"] = o.SyncProgress + } + if !isNil(o.TagsImmutable) { + toSerialize["tags_immutable"] = o.TagsImmutable + } + if !isNil(o.TypeDisplay) { + toSerialize["type_display"] = o.TypeDisplay + } + if !isNil(o.UploadedAt) { + toSerialize["uploaded_at"] = o.UploadedAt + } + if !isNil(o.Uploader) { + toSerialize["uploader"] = o.Uploader + } + if !isNil(o.UploaderUrl) { + toSerialize["uploader_url"] = o.UploaderUrl + } + if !isNil(o.Version) { + toSerialize["version"] = o.Version + } + if !isNil(o.VersionOrig) { + toSerialize["version_orig"] = o.VersionOrig + } + if !isNil(o.VulnerabilityScanResultsUrl) { + toSerialize["vulnerability_scan_results_url"] = o.VulnerabilityScanResultsUrl + } + return json.Marshal(toSerialize) +} + +type NullableNpmPackageUploadResponse struct { + value *NpmPackageUploadResponse + isSet bool +} + +func (v NullableNpmPackageUploadResponse) Get() *NpmPackageUploadResponse { + return v.value +} + +func (v *NullableNpmPackageUploadResponse) Set(val *NpmPackageUploadResponse) { + v.value = val + v.isSet = true +} + +func (v NullableNpmPackageUploadResponse) IsSet() bool { + return v.isSet +} + +func (v *NullableNpmPackageUploadResponse) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableNpmPackageUploadResponse(val *NpmPackageUploadResponse) *NullableNpmPackageUploadResponse { + return &NullableNpmPackageUploadResponse{value: val, isSet: true} +} + +func (v NullableNpmPackageUploadResponse) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableNpmPackageUploadResponse) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} diff --git a/model_nuget_package_upload.go b/model_nuget_package_upload.go deleted file mode 100644 index 5bf2c51e..00000000 --- a/model_nuget_package_upload.go +++ /dev/null @@ -1,2520 +0,0 @@ -/* -Cloudsmith API - -The API to the Cloudsmith Service - -API version: 1.121.3 -Contact: support@cloudsmith.io -*/ - -// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. - -package cloudsmith - -import ( - "encoding/json" -) - -// NugetPackageUpload struct for NugetPackageUpload -type NugetPackageUpload struct { - // - Architectures []PackagesOwnerRepoArchitectures `json:"architectures,omitempty"` - // - CdnUrl *string `json:"cdn_url,omitempty"` - // - ChecksumMd5 *string `json:"checksum_md5,omitempty"` - // - ChecksumSha1 *string `json:"checksum_sha1,omitempty"` - // - ChecksumSha256 *string `json:"checksum_sha256,omitempty"` - // - ChecksumSha512 *string `json:"checksum_sha512,omitempty"` - // A checksum of all of the package's dependencies. - DependenciesChecksumMd5 *string `json:"dependencies_checksum_md5,omitempty"` - // - DependenciesUrl *string `json:"dependencies_url,omitempty"` - // A textual description of this package. - Description *string `json:"description,omitempty"` - // - Distro map[string]interface{} `json:"distro,omitempty"` - // - DistroVersion map[string]interface{} `json:"distro_version,omitempty"` - // - Downloads *int64 `json:"downloads,omitempty"` - // The epoch of the package version (if any). - Epoch *int64 `json:"epoch,omitempty"` - // - Extension *string `json:"extension,omitempty"` - // - Filename *string `json:"filename,omitempty"` - // - Files []PackagesOwnerRepoFiles `json:"files,omitempty"` - // - Format *string `json:"format,omitempty"` - // - FormatUrl *string `json:"format_url,omitempty"` - // Unique and permanent identifier for the package. - IdentifierPerm *string `json:"identifier_perm,omitempty"` - // - Indexed *bool `json:"indexed,omitempty"` - // - IsDownloadable *bool `json:"is_downloadable,omitempty"` - // - IsQuarantined *bool `json:"is_quarantined,omitempty"` - // - IsSyncAwaiting *bool `json:"is_sync_awaiting,omitempty"` - // - IsSyncCompleted *bool `json:"is_sync_completed,omitempty"` - // - IsSyncFailed *bool `json:"is_sync_failed,omitempty"` - // - IsSyncInFlight *bool `json:"is_sync_in_flight,omitempty"` - // - IsSyncInProgress *bool `json:"is_sync_in_progress,omitempty"` - // The license of this package. - License *string `json:"license,omitempty"` - // The name of this package. - Name *string `json:"name,omitempty"` - // - Namespace *string `json:"namespace,omitempty"` - // - NamespaceUrl *string `json:"namespace_url,omitempty"` - // - NumFiles *int64 `json:"num_files,omitempty"` - // The type of package contents. - PackageType *int64 `json:"package_type,omitempty"` - // The release of the package version (if any). - Release *string `json:"release,omitempty"` - // - Repository *string `json:"repository,omitempty"` - // - RepositoryUrl *string `json:"repository_url,omitempty"` - // The datetime the security scanning was completed. - SecurityScanCompletedAt *string `json:"security_scan_completed_at,omitempty"` - // The datetime the security scanning was started. - SecurityScanStartedAt *string `json:"security_scan_started_at,omitempty"` - // - SecurityScanStatus *string `json:"security_scan_status,omitempty"` - // The datetime the security scanning status was updated. - SecurityScanStatusUpdatedAt *string `json:"security_scan_status_updated_at,omitempty"` - // - SelfHtmlUrl *string `json:"self_html_url,omitempty"` - // - SelfUrl *string `json:"self_url,omitempty"` - // - SignatureUrl *string `json:"signature_url,omitempty"` - // The calculated size of the package. - Size *int64 `json:"size,omitempty"` - // The public unique identifier for the package. - Slug *string `json:"slug,omitempty"` - // - SlugPerm *string `json:"slug_perm,omitempty"` - // The synchronisation (in progress) stage of the package. - Stage *int64 `json:"stage,omitempty"` - // - StageStr *string `json:"stage_str,omitempty"` - // The datetime the package stage was updated at. - StageUpdatedAt *string `json:"stage_updated_at,omitempty"` - // The synchronisation status of the package. - Status *int64 `json:"status,omitempty"` - // A textual description for the synchronous status reason (if any - StatusReason *string `json:"status_reason,omitempty"` - // - StatusStr *string `json:"status_str,omitempty"` - // The datetime the package status was updated at. - StatusUpdatedAt *string `json:"status_updated_at,omitempty"` - // - StatusUrl *string `json:"status_url,omitempty"` - // - Subtype *string `json:"subtype,omitempty"` - // A one-liner synopsis of this package. - Summary *string `json:"summary,omitempty"` - // The datetime the package sync was finished at. - SyncFinishedAt *string `json:"sync_finished_at,omitempty"` - // Synchronisation progress (from 0-100) - SyncProgress *int64 `json:"sync_progress,omitempty"` - // All immutable tags on the package, grouped by tag type. Immutable tags cannot be (easily) deleted. - TagsImmutable map[string]interface{} `json:"tags_immutable,omitempty"` - // - TypeDisplay *string `json:"type_display,omitempty"` - // The date this package was uploaded. - UploadedAt *string `json:"uploaded_at,omitempty"` - // - Uploader *string `json:"uploader,omitempty"` - // - UploaderUrl *string `json:"uploader_url,omitempty"` - // The raw version for this package. - Version *string `json:"version,omitempty"` - // - VersionOrig *string `json:"version_orig,omitempty"` - // - VulnerabilityScanResultsUrl *string `json:"vulnerability_scan_results_url,omitempty"` -} - -// NewNugetPackageUpload instantiates a new NugetPackageUpload object -// 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 NewNugetPackageUpload() *NugetPackageUpload { - this := NugetPackageUpload{} - return &this -} - -// NewNugetPackageUploadWithDefaults instantiates a new NugetPackageUpload object -// This constructor will only assign default values to properties that have it defined, -// but it doesn't guarantee that properties required by API are set -func NewNugetPackageUploadWithDefaults() *NugetPackageUpload { - this := NugetPackageUpload{} - return &this -} - -// GetArchitectures returns the Architectures field value if set, zero value otherwise. -func (o *NugetPackageUpload) GetArchitectures() []PackagesOwnerRepoArchitectures { - if o == nil || o.Architectures == nil { - var ret []PackagesOwnerRepoArchitectures - return ret - } - return o.Architectures -} - -// GetArchitecturesOk returns a tuple with the Architectures field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *NugetPackageUpload) GetArchitecturesOk() ([]PackagesOwnerRepoArchitectures, bool) { - if o == nil || o.Architectures == nil { - return nil, false - } - return o.Architectures, true -} - -// HasArchitectures returns a boolean if a field has been set. -func (o *NugetPackageUpload) HasArchitectures() bool { - if o != nil && o.Architectures != nil { - return true - } - - return false -} - -// SetArchitectures gets a reference to the given []PackagesOwnerRepoArchitectures and assigns it to the Architectures field. -func (o *NugetPackageUpload) SetArchitectures(v []PackagesOwnerRepoArchitectures) { - o.Architectures = v -} - -// GetCdnUrl returns the CdnUrl field value if set, zero value otherwise. -func (o *NugetPackageUpload) GetCdnUrl() string { - if o == nil || o.CdnUrl == nil { - var ret string - return ret - } - return *o.CdnUrl -} - -// GetCdnUrlOk returns a tuple with the CdnUrl field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *NugetPackageUpload) GetCdnUrlOk() (*string, bool) { - if o == nil || o.CdnUrl == nil { - return nil, false - } - return o.CdnUrl, true -} - -// HasCdnUrl returns a boolean if a field has been set. -func (o *NugetPackageUpload) HasCdnUrl() bool { - if o != nil && o.CdnUrl != nil { - return true - } - - return false -} - -// SetCdnUrl gets a reference to the given string and assigns it to the CdnUrl field. -func (o *NugetPackageUpload) SetCdnUrl(v string) { - o.CdnUrl = &v -} - -// GetChecksumMd5 returns the ChecksumMd5 field value if set, zero value otherwise. -func (o *NugetPackageUpload) GetChecksumMd5() string { - if o == nil || o.ChecksumMd5 == nil { - var ret string - return ret - } - return *o.ChecksumMd5 -} - -// GetChecksumMd5Ok returns a tuple with the ChecksumMd5 field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *NugetPackageUpload) GetChecksumMd5Ok() (*string, bool) { - if o == nil || o.ChecksumMd5 == nil { - return nil, false - } - return o.ChecksumMd5, true -} - -// HasChecksumMd5 returns a boolean if a field has been set. -func (o *NugetPackageUpload) HasChecksumMd5() bool { - if o != nil && o.ChecksumMd5 != nil { - return true - } - - return false -} - -// SetChecksumMd5 gets a reference to the given string and assigns it to the ChecksumMd5 field. -func (o *NugetPackageUpload) SetChecksumMd5(v string) { - o.ChecksumMd5 = &v -} - -// GetChecksumSha1 returns the ChecksumSha1 field value if set, zero value otherwise. -func (o *NugetPackageUpload) GetChecksumSha1() string { - if o == nil || o.ChecksumSha1 == nil { - var ret string - return ret - } - return *o.ChecksumSha1 -} - -// GetChecksumSha1Ok returns a tuple with the ChecksumSha1 field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *NugetPackageUpload) GetChecksumSha1Ok() (*string, bool) { - if o == nil || o.ChecksumSha1 == nil { - return nil, false - } - return o.ChecksumSha1, true -} - -// HasChecksumSha1 returns a boolean if a field has been set. -func (o *NugetPackageUpload) HasChecksumSha1() bool { - if o != nil && o.ChecksumSha1 != nil { - return true - } - - return false -} - -// SetChecksumSha1 gets a reference to the given string and assigns it to the ChecksumSha1 field. -func (o *NugetPackageUpload) SetChecksumSha1(v string) { - o.ChecksumSha1 = &v -} - -// GetChecksumSha256 returns the ChecksumSha256 field value if set, zero value otherwise. -func (o *NugetPackageUpload) GetChecksumSha256() string { - if o == nil || o.ChecksumSha256 == nil { - var ret string - return ret - } - return *o.ChecksumSha256 -} - -// GetChecksumSha256Ok returns a tuple with the ChecksumSha256 field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *NugetPackageUpload) GetChecksumSha256Ok() (*string, bool) { - if o == nil || o.ChecksumSha256 == nil { - return nil, false - } - return o.ChecksumSha256, true -} - -// HasChecksumSha256 returns a boolean if a field has been set. -func (o *NugetPackageUpload) HasChecksumSha256() bool { - if o != nil && o.ChecksumSha256 != nil { - return true - } - - return false -} - -// SetChecksumSha256 gets a reference to the given string and assigns it to the ChecksumSha256 field. -func (o *NugetPackageUpload) SetChecksumSha256(v string) { - o.ChecksumSha256 = &v -} - -// GetChecksumSha512 returns the ChecksumSha512 field value if set, zero value otherwise. -func (o *NugetPackageUpload) GetChecksumSha512() string { - if o == nil || o.ChecksumSha512 == nil { - var ret string - return ret - } - return *o.ChecksumSha512 -} - -// GetChecksumSha512Ok returns a tuple with the ChecksumSha512 field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *NugetPackageUpload) GetChecksumSha512Ok() (*string, bool) { - if o == nil || o.ChecksumSha512 == nil { - return nil, false - } - return o.ChecksumSha512, true -} - -// HasChecksumSha512 returns a boolean if a field has been set. -func (o *NugetPackageUpload) HasChecksumSha512() bool { - if o != nil && o.ChecksumSha512 != nil { - return true - } - - return false -} - -// SetChecksumSha512 gets a reference to the given string and assigns it to the ChecksumSha512 field. -func (o *NugetPackageUpload) SetChecksumSha512(v string) { - o.ChecksumSha512 = &v -} - -// GetDependenciesChecksumMd5 returns the DependenciesChecksumMd5 field value if set, zero value otherwise. -func (o *NugetPackageUpload) GetDependenciesChecksumMd5() string { - if o == nil || o.DependenciesChecksumMd5 == nil { - var ret string - return ret - } - return *o.DependenciesChecksumMd5 -} - -// GetDependenciesChecksumMd5Ok returns a tuple with the DependenciesChecksumMd5 field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *NugetPackageUpload) GetDependenciesChecksumMd5Ok() (*string, bool) { - if o == nil || o.DependenciesChecksumMd5 == nil { - return nil, false - } - return o.DependenciesChecksumMd5, true -} - -// HasDependenciesChecksumMd5 returns a boolean if a field has been set. -func (o *NugetPackageUpload) HasDependenciesChecksumMd5() bool { - if o != nil && o.DependenciesChecksumMd5 != nil { - return true - } - - return false -} - -// SetDependenciesChecksumMd5 gets a reference to the given string and assigns it to the DependenciesChecksumMd5 field. -func (o *NugetPackageUpload) SetDependenciesChecksumMd5(v string) { - o.DependenciesChecksumMd5 = &v -} - -// GetDependenciesUrl returns the DependenciesUrl field value if set, zero value otherwise. -func (o *NugetPackageUpload) GetDependenciesUrl() string { - if o == nil || o.DependenciesUrl == nil { - var ret string - return ret - } - return *o.DependenciesUrl -} - -// GetDependenciesUrlOk returns a tuple with the DependenciesUrl field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *NugetPackageUpload) GetDependenciesUrlOk() (*string, bool) { - if o == nil || o.DependenciesUrl == nil { - return nil, false - } - return o.DependenciesUrl, true -} - -// HasDependenciesUrl returns a boolean if a field has been set. -func (o *NugetPackageUpload) HasDependenciesUrl() bool { - if o != nil && o.DependenciesUrl != nil { - return true - } - - return false -} - -// SetDependenciesUrl gets a reference to the given string and assigns it to the DependenciesUrl field. -func (o *NugetPackageUpload) SetDependenciesUrl(v string) { - o.DependenciesUrl = &v -} - -// GetDescription returns the Description field value if set, zero value otherwise. -func (o *NugetPackageUpload) GetDescription() string { - if o == nil || o.Description == nil { - var ret string - return ret - } - return *o.Description -} - -// GetDescriptionOk returns a tuple with the Description field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *NugetPackageUpload) GetDescriptionOk() (*string, bool) { - if o == nil || o.Description == nil { - return nil, false - } - return o.Description, true -} - -// HasDescription returns a boolean if a field has been set. -func (o *NugetPackageUpload) HasDescription() bool { - if o != nil && o.Description != nil { - return true - } - - return false -} - -// SetDescription gets a reference to the given string and assigns it to the Description field. -func (o *NugetPackageUpload) SetDescription(v string) { - o.Description = &v -} - -// GetDistro returns the Distro field value if set, zero value otherwise. -func (o *NugetPackageUpload) GetDistro() map[string]interface{} { - if o == nil || o.Distro == nil { - var ret map[string]interface{} - return ret - } - return o.Distro -} - -// GetDistroOk returns a tuple with the Distro field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *NugetPackageUpload) GetDistroOk() (map[string]interface{}, bool) { - if o == nil || o.Distro == nil { - return nil, false - } - return o.Distro, true -} - -// HasDistro returns a boolean if a field has been set. -func (o *NugetPackageUpload) HasDistro() bool { - if o != nil && o.Distro != nil { - return true - } - - return false -} - -// SetDistro gets a reference to the given map[string]interface{} and assigns it to the Distro field. -func (o *NugetPackageUpload) SetDistro(v map[string]interface{}) { - o.Distro = v -} - -// GetDistroVersion returns the DistroVersion field value if set, zero value otherwise. -func (o *NugetPackageUpload) GetDistroVersion() map[string]interface{} { - if o == nil || o.DistroVersion == nil { - var ret map[string]interface{} - return ret - } - return o.DistroVersion -} - -// GetDistroVersionOk returns a tuple with the DistroVersion field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *NugetPackageUpload) GetDistroVersionOk() (map[string]interface{}, bool) { - if o == nil || o.DistroVersion == nil { - return nil, false - } - return o.DistroVersion, true -} - -// HasDistroVersion returns a boolean if a field has been set. -func (o *NugetPackageUpload) HasDistroVersion() bool { - if o != nil && o.DistroVersion != nil { - return true - } - - return false -} - -// SetDistroVersion gets a reference to the given map[string]interface{} and assigns it to the DistroVersion field. -func (o *NugetPackageUpload) SetDistroVersion(v map[string]interface{}) { - o.DistroVersion = v -} - -// GetDownloads returns the Downloads field value if set, zero value otherwise. -func (o *NugetPackageUpload) GetDownloads() int64 { - if o == nil || o.Downloads == nil { - var ret int64 - return ret - } - return *o.Downloads -} - -// GetDownloadsOk returns a tuple with the Downloads field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *NugetPackageUpload) GetDownloadsOk() (*int64, bool) { - if o == nil || o.Downloads == nil { - return nil, false - } - return o.Downloads, true -} - -// HasDownloads returns a boolean if a field has been set. -func (o *NugetPackageUpload) HasDownloads() bool { - if o != nil && o.Downloads != nil { - return true - } - - return false -} - -// SetDownloads gets a reference to the given int64 and assigns it to the Downloads field. -func (o *NugetPackageUpload) SetDownloads(v int64) { - o.Downloads = &v -} - -// GetEpoch returns the Epoch field value if set, zero value otherwise. -func (o *NugetPackageUpload) GetEpoch() int64 { - if o == nil || o.Epoch == nil { - var ret int64 - return ret - } - return *o.Epoch -} - -// GetEpochOk returns a tuple with the Epoch field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *NugetPackageUpload) GetEpochOk() (*int64, bool) { - if o == nil || o.Epoch == nil { - return nil, false - } - return o.Epoch, true -} - -// HasEpoch returns a boolean if a field has been set. -func (o *NugetPackageUpload) HasEpoch() bool { - if o != nil && o.Epoch != nil { - return true - } - - return false -} - -// SetEpoch gets a reference to the given int64 and assigns it to the Epoch field. -func (o *NugetPackageUpload) SetEpoch(v int64) { - o.Epoch = &v -} - -// GetExtension returns the Extension field value if set, zero value otherwise. -func (o *NugetPackageUpload) GetExtension() string { - if o == nil || o.Extension == nil { - var ret string - return ret - } - return *o.Extension -} - -// GetExtensionOk returns a tuple with the Extension field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *NugetPackageUpload) GetExtensionOk() (*string, bool) { - if o == nil || o.Extension == nil { - return nil, false - } - return o.Extension, true -} - -// HasExtension returns a boolean if a field has been set. -func (o *NugetPackageUpload) HasExtension() bool { - if o != nil && o.Extension != nil { - return true - } - - return false -} - -// SetExtension gets a reference to the given string and assigns it to the Extension field. -func (o *NugetPackageUpload) SetExtension(v string) { - o.Extension = &v -} - -// GetFilename returns the Filename field value if set, zero value otherwise. -func (o *NugetPackageUpload) GetFilename() string { - if o == nil || o.Filename == nil { - var ret string - return ret - } - return *o.Filename -} - -// GetFilenameOk returns a tuple with the Filename field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *NugetPackageUpload) GetFilenameOk() (*string, bool) { - if o == nil || o.Filename == nil { - return nil, false - } - return o.Filename, true -} - -// HasFilename returns a boolean if a field has been set. -func (o *NugetPackageUpload) HasFilename() bool { - if o != nil && o.Filename != nil { - return true - } - - return false -} - -// SetFilename gets a reference to the given string and assigns it to the Filename field. -func (o *NugetPackageUpload) SetFilename(v string) { - o.Filename = &v -} - -// GetFiles returns the Files field value if set, zero value otherwise. -func (o *NugetPackageUpload) GetFiles() []PackagesOwnerRepoFiles { - if o == nil || o.Files == nil { - var ret []PackagesOwnerRepoFiles - return ret - } - return o.Files -} - -// GetFilesOk returns a tuple with the Files field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *NugetPackageUpload) GetFilesOk() ([]PackagesOwnerRepoFiles, bool) { - if o == nil || o.Files == nil { - return nil, false - } - return o.Files, true -} - -// HasFiles returns a boolean if a field has been set. -func (o *NugetPackageUpload) HasFiles() bool { - if o != nil && o.Files != nil { - return true - } - - return false -} - -// SetFiles gets a reference to the given []PackagesOwnerRepoFiles and assigns it to the Files field. -func (o *NugetPackageUpload) SetFiles(v []PackagesOwnerRepoFiles) { - o.Files = v -} - -// GetFormat returns the Format field value if set, zero value otherwise. -func (o *NugetPackageUpload) GetFormat() string { - if o == nil || o.Format == nil { - var ret string - return ret - } - return *o.Format -} - -// GetFormatOk returns a tuple with the Format field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *NugetPackageUpload) GetFormatOk() (*string, bool) { - if o == nil || o.Format == nil { - return nil, false - } - return o.Format, true -} - -// HasFormat returns a boolean if a field has been set. -func (o *NugetPackageUpload) HasFormat() bool { - if o != nil && o.Format != nil { - return true - } - - return false -} - -// SetFormat gets a reference to the given string and assigns it to the Format field. -func (o *NugetPackageUpload) SetFormat(v string) { - o.Format = &v -} - -// GetFormatUrl returns the FormatUrl field value if set, zero value otherwise. -func (o *NugetPackageUpload) GetFormatUrl() string { - if o == nil || o.FormatUrl == nil { - var ret string - return ret - } - return *o.FormatUrl -} - -// GetFormatUrlOk returns a tuple with the FormatUrl field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *NugetPackageUpload) GetFormatUrlOk() (*string, bool) { - if o == nil || o.FormatUrl == nil { - return nil, false - } - return o.FormatUrl, true -} - -// HasFormatUrl returns a boolean if a field has been set. -func (o *NugetPackageUpload) HasFormatUrl() bool { - if o != nil && o.FormatUrl != nil { - return true - } - - return false -} - -// SetFormatUrl gets a reference to the given string and assigns it to the FormatUrl field. -func (o *NugetPackageUpload) SetFormatUrl(v string) { - o.FormatUrl = &v -} - -// GetIdentifierPerm returns the IdentifierPerm field value if set, zero value otherwise. -func (o *NugetPackageUpload) GetIdentifierPerm() string { - if o == nil || o.IdentifierPerm == nil { - var ret string - return ret - } - return *o.IdentifierPerm -} - -// GetIdentifierPermOk returns a tuple with the IdentifierPerm field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *NugetPackageUpload) GetIdentifierPermOk() (*string, bool) { - if o == nil || o.IdentifierPerm == nil { - return nil, false - } - return o.IdentifierPerm, true -} - -// HasIdentifierPerm returns a boolean if a field has been set. -func (o *NugetPackageUpload) HasIdentifierPerm() bool { - if o != nil && o.IdentifierPerm != nil { - return true - } - - return false -} - -// SetIdentifierPerm gets a reference to the given string and assigns it to the IdentifierPerm field. -func (o *NugetPackageUpload) SetIdentifierPerm(v string) { - o.IdentifierPerm = &v -} - -// GetIndexed returns the Indexed field value if set, zero value otherwise. -func (o *NugetPackageUpload) GetIndexed() bool { - if o == nil || o.Indexed == nil { - var ret bool - return ret - } - return *o.Indexed -} - -// GetIndexedOk returns a tuple with the Indexed field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *NugetPackageUpload) GetIndexedOk() (*bool, bool) { - if o == nil || o.Indexed == nil { - return nil, false - } - return o.Indexed, true -} - -// HasIndexed returns a boolean if a field has been set. -func (o *NugetPackageUpload) HasIndexed() bool { - if o != nil && o.Indexed != nil { - return true - } - - return false -} - -// SetIndexed gets a reference to the given bool and assigns it to the Indexed field. -func (o *NugetPackageUpload) SetIndexed(v bool) { - o.Indexed = &v -} - -// GetIsDownloadable returns the IsDownloadable field value if set, zero value otherwise. -func (o *NugetPackageUpload) GetIsDownloadable() bool { - if o == nil || o.IsDownloadable == nil { - var ret bool - return ret - } - return *o.IsDownloadable -} - -// GetIsDownloadableOk returns a tuple with the IsDownloadable field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *NugetPackageUpload) GetIsDownloadableOk() (*bool, bool) { - if o == nil || o.IsDownloadable == nil { - return nil, false - } - return o.IsDownloadable, true -} - -// HasIsDownloadable returns a boolean if a field has been set. -func (o *NugetPackageUpload) HasIsDownloadable() bool { - if o != nil && o.IsDownloadable != nil { - return true - } - - return false -} - -// SetIsDownloadable gets a reference to the given bool and assigns it to the IsDownloadable field. -func (o *NugetPackageUpload) SetIsDownloadable(v bool) { - o.IsDownloadable = &v -} - -// GetIsQuarantined returns the IsQuarantined field value if set, zero value otherwise. -func (o *NugetPackageUpload) GetIsQuarantined() bool { - if o == nil || o.IsQuarantined == nil { - var ret bool - return ret - } - return *o.IsQuarantined -} - -// GetIsQuarantinedOk returns a tuple with the IsQuarantined field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *NugetPackageUpload) GetIsQuarantinedOk() (*bool, bool) { - if o == nil || o.IsQuarantined == nil { - return nil, false - } - return o.IsQuarantined, true -} - -// HasIsQuarantined returns a boolean if a field has been set. -func (o *NugetPackageUpload) HasIsQuarantined() bool { - if o != nil && o.IsQuarantined != nil { - return true - } - - return false -} - -// SetIsQuarantined gets a reference to the given bool and assigns it to the IsQuarantined field. -func (o *NugetPackageUpload) SetIsQuarantined(v bool) { - o.IsQuarantined = &v -} - -// GetIsSyncAwaiting returns the IsSyncAwaiting field value if set, zero value otherwise. -func (o *NugetPackageUpload) GetIsSyncAwaiting() bool { - if o == nil || o.IsSyncAwaiting == nil { - var ret bool - return ret - } - return *o.IsSyncAwaiting -} - -// GetIsSyncAwaitingOk returns a tuple with the IsSyncAwaiting field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *NugetPackageUpload) GetIsSyncAwaitingOk() (*bool, bool) { - if o == nil || o.IsSyncAwaiting == nil { - return nil, false - } - return o.IsSyncAwaiting, true -} - -// HasIsSyncAwaiting returns a boolean if a field has been set. -func (o *NugetPackageUpload) HasIsSyncAwaiting() bool { - if o != nil && o.IsSyncAwaiting != nil { - return true - } - - return false -} - -// SetIsSyncAwaiting gets a reference to the given bool and assigns it to the IsSyncAwaiting field. -func (o *NugetPackageUpload) SetIsSyncAwaiting(v bool) { - o.IsSyncAwaiting = &v -} - -// GetIsSyncCompleted returns the IsSyncCompleted field value if set, zero value otherwise. -func (o *NugetPackageUpload) GetIsSyncCompleted() bool { - if o == nil || o.IsSyncCompleted == nil { - var ret bool - return ret - } - return *o.IsSyncCompleted -} - -// GetIsSyncCompletedOk returns a tuple with the IsSyncCompleted field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *NugetPackageUpload) GetIsSyncCompletedOk() (*bool, bool) { - if o == nil || o.IsSyncCompleted == nil { - return nil, false - } - return o.IsSyncCompleted, true -} - -// HasIsSyncCompleted returns a boolean if a field has been set. -func (o *NugetPackageUpload) HasIsSyncCompleted() bool { - if o != nil && o.IsSyncCompleted != nil { - return true - } - - return false -} - -// SetIsSyncCompleted gets a reference to the given bool and assigns it to the IsSyncCompleted field. -func (o *NugetPackageUpload) SetIsSyncCompleted(v bool) { - o.IsSyncCompleted = &v -} - -// GetIsSyncFailed returns the IsSyncFailed field value if set, zero value otherwise. -func (o *NugetPackageUpload) GetIsSyncFailed() bool { - if o == nil || o.IsSyncFailed == nil { - var ret bool - return ret - } - return *o.IsSyncFailed -} - -// GetIsSyncFailedOk returns a tuple with the IsSyncFailed field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *NugetPackageUpload) GetIsSyncFailedOk() (*bool, bool) { - if o == nil || o.IsSyncFailed == nil { - return nil, false - } - return o.IsSyncFailed, true -} - -// HasIsSyncFailed returns a boolean if a field has been set. -func (o *NugetPackageUpload) HasIsSyncFailed() bool { - if o != nil && o.IsSyncFailed != nil { - return true - } - - return false -} - -// SetIsSyncFailed gets a reference to the given bool and assigns it to the IsSyncFailed field. -func (o *NugetPackageUpload) SetIsSyncFailed(v bool) { - o.IsSyncFailed = &v -} - -// GetIsSyncInFlight returns the IsSyncInFlight field value if set, zero value otherwise. -func (o *NugetPackageUpload) GetIsSyncInFlight() bool { - if o == nil || o.IsSyncInFlight == nil { - var ret bool - return ret - } - return *o.IsSyncInFlight -} - -// GetIsSyncInFlightOk returns a tuple with the IsSyncInFlight field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *NugetPackageUpload) GetIsSyncInFlightOk() (*bool, bool) { - if o == nil || o.IsSyncInFlight == nil { - return nil, false - } - return o.IsSyncInFlight, true -} - -// HasIsSyncInFlight returns a boolean if a field has been set. -func (o *NugetPackageUpload) HasIsSyncInFlight() bool { - if o != nil && o.IsSyncInFlight != nil { - return true - } - - return false -} - -// SetIsSyncInFlight gets a reference to the given bool and assigns it to the IsSyncInFlight field. -func (o *NugetPackageUpload) SetIsSyncInFlight(v bool) { - o.IsSyncInFlight = &v -} - -// GetIsSyncInProgress returns the IsSyncInProgress field value if set, zero value otherwise. -func (o *NugetPackageUpload) GetIsSyncInProgress() bool { - if o == nil || o.IsSyncInProgress == nil { - var ret bool - return ret - } - return *o.IsSyncInProgress -} - -// GetIsSyncInProgressOk returns a tuple with the IsSyncInProgress field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *NugetPackageUpload) GetIsSyncInProgressOk() (*bool, bool) { - if o == nil || o.IsSyncInProgress == nil { - return nil, false - } - return o.IsSyncInProgress, true -} - -// HasIsSyncInProgress returns a boolean if a field has been set. -func (o *NugetPackageUpload) HasIsSyncInProgress() bool { - if o != nil && o.IsSyncInProgress != nil { - return true - } - - return false -} - -// SetIsSyncInProgress gets a reference to the given bool and assigns it to the IsSyncInProgress field. -func (o *NugetPackageUpload) SetIsSyncInProgress(v bool) { - o.IsSyncInProgress = &v -} - -// GetLicense returns the License field value if set, zero value otherwise. -func (o *NugetPackageUpload) GetLicense() string { - if o == nil || o.License == nil { - var ret string - return ret - } - return *o.License -} - -// GetLicenseOk returns a tuple with the License field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *NugetPackageUpload) GetLicenseOk() (*string, bool) { - if o == nil || o.License == nil { - return nil, false - } - return o.License, true -} - -// HasLicense returns a boolean if a field has been set. -func (o *NugetPackageUpload) HasLicense() bool { - if o != nil && o.License != nil { - return true - } - - return false -} - -// SetLicense gets a reference to the given string and assigns it to the License field. -func (o *NugetPackageUpload) SetLicense(v string) { - o.License = &v -} - -// GetName returns the Name field value if set, zero value otherwise. -func (o *NugetPackageUpload) GetName() string { - if o == nil || o.Name == nil { - var ret string - return ret - } - return *o.Name -} - -// GetNameOk returns a tuple with the Name field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *NugetPackageUpload) GetNameOk() (*string, bool) { - if o == nil || o.Name == nil { - return nil, false - } - return o.Name, true -} - -// HasName returns a boolean if a field has been set. -func (o *NugetPackageUpload) HasName() bool { - if o != nil && o.Name != nil { - return true - } - - return false -} - -// SetName gets a reference to the given string and assigns it to the Name field. -func (o *NugetPackageUpload) SetName(v string) { - o.Name = &v -} - -// GetNamespace returns the Namespace field value if set, zero value otherwise. -func (o *NugetPackageUpload) GetNamespace() string { - if o == nil || o.Namespace == nil { - var ret string - return ret - } - return *o.Namespace -} - -// GetNamespaceOk returns a tuple with the Namespace field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *NugetPackageUpload) GetNamespaceOk() (*string, bool) { - if o == nil || o.Namespace == nil { - return nil, false - } - return o.Namespace, true -} - -// HasNamespace returns a boolean if a field has been set. -func (o *NugetPackageUpload) HasNamespace() bool { - if o != nil && o.Namespace != nil { - return true - } - - return false -} - -// SetNamespace gets a reference to the given string and assigns it to the Namespace field. -func (o *NugetPackageUpload) SetNamespace(v string) { - o.Namespace = &v -} - -// GetNamespaceUrl returns the NamespaceUrl field value if set, zero value otherwise. -func (o *NugetPackageUpload) GetNamespaceUrl() string { - if o == nil || o.NamespaceUrl == nil { - var ret string - return ret - } - return *o.NamespaceUrl -} - -// GetNamespaceUrlOk returns a tuple with the NamespaceUrl field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *NugetPackageUpload) GetNamespaceUrlOk() (*string, bool) { - if o == nil || o.NamespaceUrl == nil { - return nil, false - } - return o.NamespaceUrl, true -} - -// HasNamespaceUrl returns a boolean if a field has been set. -func (o *NugetPackageUpload) HasNamespaceUrl() bool { - if o != nil && o.NamespaceUrl != nil { - return true - } - - return false -} - -// SetNamespaceUrl gets a reference to the given string and assigns it to the NamespaceUrl field. -func (o *NugetPackageUpload) SetNamespaceUrl(v string) { - o.NamespaceUrl = &v -} - -// GetNumFiles returns the NumFiles field value if set, zero value otherwise. -func (o *NugetPackageUpload) GetNumFiles() int64 { - if o == nil || o.NumFiles == nil { - var ret int64 - return ret - } - return *o.NumFiles -} - -// GetNumFilesOk returns a tuple with the NumFiles field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *NugetPackageUpload) GetNumFilesOk() (*int64, bool) { - if o == nil || o.NumFiles == nil { - return nil, false - } - return o.NumFiles, true -} - -// HasNumFiles returns a boolean if a field has been set. -func (o *NugetPackageUpload) HasNumFiles() bool { - if o != nil && o.NumFiles != nil { - return true - } - - return false -} - -// SetNumFiles gets a reference to the given int64 and assigns it to the NumFiles field. -func (o *NugetPackageUpload) SetNumFiles(v int64) { - o.NumFiles = &v -} - -// GetPackageType returns the PackageType field value if set, zero value otherwise. -func (o *NugetPackageUpload) GetPackageType() int64 { - if o == nil || o.PackageType == nil { - var ret int64 - return ret - } - return *o.PackageType -} - -// GetPackageTypeOk returns a tuple with the PackageType field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *NugetPackageUpload) GetPackageTypeOk() (*int64, bool) { - if o == nil || o.PackageType == nil { - return nil, false - } - return o.PackageType, true -} - -// HasPackageType returns a boolean if a field has been set. -func (o *NugetPackageUpload) HasPackageType() bool { - if o != nil && o.PackageType != nil { - return true - } - - return false -} - -// SetPackageType gets a reference to the given int64 and assigns it to the PackageType field. -func (o *NugetPackageUpload) SetPackageType(v int64) { - o.PackageType = &v -} - -// GetRelease returns the Release field value if set, zero value otherwise. -func (o *NugetPackageUpload) GetRelease() string { - if o == nil || o.Release == nil { - var ret string - return ret - } - return *o.Release -} - -// GetReleaseOk returns a tuple with the Release field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *NugetPackageUpload) GetReleaseOk() (*string, bool) { - if o == nil || o.Release == nil { - return nil, false - } - return o.Release, true -} - -// HasRelease returns a boolean if a field has been set. -func (o *NugetPackageUpload) HasRelease() bool { - if o != nil && o.Release != nil { - return true - } - - return false -} - -// SetRelease gets a reference to the given string and assigns it to the Release field. -func (o *NugetPackageUpload) SetRelease(v string) { - o.Release = &v -} - -// GetRepository returns the Repository field value if set, zero value otherwise. -func (o *NugetPackageUpload) GetRepository() string { - if o == nil || o.Repository == nil { - var ret string - return ret - } - return *o.Repository -} - -// GetRepositoryOk returns a tuple with the Repository field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *NugetPackageUpload) GetRepositoryOk() (*string, bool) { - if o == nil || o.Repository == nil { - return nil, false - } - return o.Repository, true -} - -// HasRepository returns a boolean if a field has been set. -func (o *NugetPackageUpload) HasRepository() bool { - if o != nil && o.Repository != nil { - return true - } - - return false -} - -// SetRepository gets a reference to the given string and assigns it to the Repository field. -func (o *NugetPackageUpload) SetRepository(v string) { - o.Repository = &v -} - -// GetRepositoryUrl returns the RepositoryUrl field value if set, zero value otherwise. -func (o *NugetPackageUpload) GetRepositoryUrl() string { - if o == nil || o.RepositoryUrl == nil { - var ret string - return ret - } - return *o.RepositoryUrl -} - -// GetRepositoryUrlOk returns a tuple with the RepositoryUrl field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *NugetPackageUpload) GetRepositoryUrlOk() (*string, bool) { - if o == nil || o.RepositoryUrl == nil { - return nil, false - } - return o.RepositoryUrl, true -} - -// HasRepositoryUrl returns a boolean if a field has been set. -func (o *NugetPackageUpload) HasRepositoryUrl() bool { - if o != nil && o.RepositoryUrl != nil { - return true - } - - return false -} - -// SetRepositoryUrl gets a reference to the given string and assigns it to the RepositoryUrl field. -func (o *NugetPackageUpload) SetRepositoryUrl(v string) { - o.RepositoryUrl = &v -} - -// GetSecurityScanCompletedAt returns the SecurityScanCompletedAt field value if set, zero value otherwise. -func (o *NugetPackageUpload) GetSecurityScanCompletedAt() string { - if o == nil || o.SecurityScanCompletedAt == nil { - var ret string - return ret - } - return *o.SecurityScanCompletedAt -} - -// GetSecurityScanCompletedAtOk returns a tuple with the SecurityScanCompletedAt field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *NugetPackageUpload) GetSecurityScanCompletedAtOk() (*string, bool) { - if o == nil || o.SecurityScanCompletedAt == nil { - return nil, false - } - return o.SecurityScanCompletedAt, true -} - -// HasSecurityScanCompletedAt returns a boolean if a field has been set. -func (o *NugetPackageUpload) HasSecurityScanCompletedAt() bool { - if o != nil && o.SecurityScanCompletedAt != nil { - return true - } - - return false -} - -// SetSecurityScanCompletedAt gets a reference to the given string and assigns it to the SecurityScanCompletedAt field. -func (o *NugetPackageUpload) SetSecurityScanCompletedAt(v string) { - o.SecurityScanCompletedAt = &v -} - -// GetSecurityScanStartedAt returns the SecurityScanStartedAt field value if set, zero value otherwise. -func (o *NugetPackageUpload) GetSecurityScanStartedAt() string { - if o == nil || o.SecurityScanStartedAt == nil { - var ret string - return ret - } - return *o.SecurityScanStartedAt -} - -// GetSecurityScanStartedAtOk returns a tuple with the SecurityScanStartedAt field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *NugetPackageUpload) GetSecurityScanStartedAtOk() (*string, bool) { - if o == nil || o.SecurityScanStartedAt == nil { - return nil, false - } - return o.SecurityScanStartedAt, true -} - -// HasSecurityScanStartedAt returns a boolean if a field has been set. -func (o *NugetPackageUpload) HasSecurityScanStartedAt() bool { - if o != nil && o.SecurityScanStartedAt != nil { - return true - } - - return false -} - -// SetSecurityScanStartedAt gets a reference to the given string and assigns it to the SecurityScanStartedAt field. -func (o *NugetPackageUpload) SetSecurityScanStartedAt(v string) { - o.SecurityScanStartedAt = &v -} - -// GetSecurityScanStatus returns the SecurityScanStatus field value if set, zero value otherwise. -func (o *NugetPackageUpload) GetSecurityScanStatus() string { - if o == nil || o.SecurityScanStatus == nil { - var ret string - return ret - } - return *o.SecurityScanStatus -} - -// GetSecurityScanStatusOk returns a tuple with the SecurityScanStatus field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *NugetPackageUpload) GetSecurityScanStatusOk() (*string, bool) { - if o == nil || o.SecurityScanStatus == nil { - return nil, false - } - return o.SecurityScanStatus, true -} - -// HasSecurityScanStatus returns a boolean if a field has been set. -func (o *NugetPackageUpload) HasSecurityScanStatus() bool { - if o != nil && o.SecurityScanStatus != nil { - return true - } - - return false -} - -// SetSecurityScanStatus gets a reference to the given string and assigns it to the SecurityScanStatus field. -func (o *NugetPackageUpload) SetSecurityScanStatus(v string) { - o.SecurityScanStatus = &v -} - -// GetSecurityScanStatusUpdatedAt returns the SecurityScanStatusUpdatedAt field value if set, zero value otherwise. -func (o *NugetPackageUpload) GetSecurityScanStatusUpdatedAt() string { - if o == nil || o.SecurityScanStatusUpdatedAt == nil { - var ret string - return ret - } - return *o.SecurityScanStatusUpdatedAt -} - -// GetSecurityScanStatusUpdatedAtOk returns a tuple with the SecurityScanStatusUpdatedAt field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *NugetPackageUpload) GetSecurityScanStatusUpdatedAtOk() (*string, bool) { - if o == nil || o.SecurityScanStatusUpdatedAt == nil { - return nil, false - } - return o.SecurityScanStatusUpdatedAt, true -} - -// HasSecurityScanStatusUpdatedAt returns a boolean if a field has been set. -func (o *NugetPackageUpload) HasSecurityScanStatusUpdatedAt() bool { - if o != nil && o.SecurityScanStatusUpdatedAt != nil { - return true - } - - return false -} - -// SetSecurityScanStatusUpdatedAt gets a reference to the given string and assigns it to the SecurityScanStatusUpdatedAt field. -func (o *NugetPackageUpload) SetSecurityScanStatusUpdatedAt(v string) { - o.SecurityScanStatusUpdatedAt = &v -} - -// GetSelfHtmlUrl returns the SelfHtmlUrl field value if set, zero value otherwise. -func (o *NugetPackageUpload) GetSelfHtmlUrl() string { - if o == nil || o.SelfHtmlUrl == nil { - var ret string - return ret - } - return *o.SelfHtmlUrl -} - -// GetSelfHtmlUrlOk returns a tuple with the SelfHtmlUrl field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *NugetPackageUpload) GetSelfHtmlUrlOk() (*string, bool) { - if o == nil || o.SelfHtmlUrl == nil { - return nil, false - } - return o.SelfHtmlUrl, true -} - -// HasSelfHtmlUrl returns a boolean if a field has been set. -func (o *NugetPackageUpload) HasSelfHtmlUrl() bool { - if o != nil && o.SelfHtmlUrl != nil { - return true - } - - return false -} - -// SetSelfHtmlUrl gets a reference to the given string and assigns it to the SelfHtmlUrl field. -func (o *NugetPackageUpload) SetSelfHtmlUrl(v string) { - o.SelfHtmlUrl = &v -} - -// GetSelfUrl returns the SelfUrl field value if set, zero value otherwise. -func (o *NugetPackageUpload) GetSelfUrl() string { - if o == nil || o.SelfUrl == nil { - var ret string - return ret - } - return *o.SelfUrl -} - -// GetSelfUrlOk returns a tuple with the SelfUrl field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *NugetPackageUpload) GetSelfUrlOk() (*string, bool) { - if o == nil || o.SelfUrl == nil { - return nil, false - } - return o.SelfUrl, true -} - -// HasSelfUrl returns a boolean if a field has been set. -func (o *NugetPackageUpload) HasSelfUrl() bool { - if o != nil && o.SelfUrl != nil { - return true - } - - return false -} - -// SetSelfUrl gets a reference to the given string and assigns it to the SelfUrl field. -func (o *NugetPackageUpload) SetSelfUrl(v string) { - o.SelfUrl = &v -} - -// GetSignatureUrl returns the SignatureUrl field value if set, zero value otherwise. -func (o *NugetPackageUpload) GetSignatureUrl() string { - if o == nil || o.SignatureUrl == nil { - var ret string - return ret - } - return *o.SignatureUrl -} - -// GetSignatureUrlOk returns a tuple with the SignatureUrl field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *NugetPackageUpload) GetSignatureUrlOk() (*string, bool) { - if o == nil || o.SignatureUrl == nil { - return nil, false - } - return o.SignatureUrl, true -} - -// HasSignatureUrl returns a boolean if a field has been set. -func (o *NugetPackageUpload) HasSignatureUrl() bool { - if o != nil && o.SignatureUrl != nil { - return true - } - - return false -} - -// SetSignatureUrl gets a reference to the given string and assigns it to the SignatureUrl field. -func (o *NugetPackageUpload) SetSignatureUrl(v string) { - o.SignatureUrl = &v -} - -// GetSize returns the Size field value if set, zero value otherwise. -func (o *NugetPackageUpload) GetSize() int64 { - if o == nil || o.Size == nil { - var ret int64 - return ret - } - return *o.Size -} - -// GetSizeOk returns a tuple with the Size field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *NugetPackageUpload) GetSizeOk() (*int64, bool) { - if o == nil || o.Size == nil { - return nil, false - } - return o.Size, true -} - -// HasSize returns a boolean if a field has been set. -func (o *NugetPackageUpload) HasSize() bool { - if o != nil && o.Size != nil { - return true - } - - return false -} - -// SetSize gets a reference to the given int64 and assigns it to the Size field. -func (o *NugetPackageUpload) SetSize(v int64) { - o.Size = &v -} - -// GetSlug returns the Slug field value if set, zero value otherwise. -func (o *NugetPackageUpload) GetSlug() string { - if o == nil || o.Slug == nil { - var ret string - return ret - } - return *o.Slug -} - -// GetSlugOk returns a tuple with the Slug field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *NugetPackageUpload) GetSlugOk() (*string, bool) { - if o == nil || o.Slug == nil { - return nil, false - } - return o.Slug, true -} - -// HasSlug returns a boolean if a field has been set. -func (o *NugetPackageUpload) HasSlug() bool { - if o != nil && o.Slug != nil { - return true - } - - return false -} - -// SetSlug gets a reference to the given string and assigns it to the Slug field. -func (o *NugetPackageUpload) SetSlug(v string) { - o.Slug = &v -} - -// GetSlugPerm returns the SlugPerm field value if set, zero value otherwise. -func (o *NugetPackageUpload) GetSlugPerm() string { - if o == nil || o.SlugPerm == nil { - var ret string - return ret - } - return *o.SlugPerm -} - -// GetSlugPermOk returns a tuple with the SlugPerm field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *NugetPackageUpload) GetSlugPermOk() (*string, bool) { - if o == nil || o.SlugPerm == nil { - return nil, false - } - return o.SlugPerm, true -} - -// HasSlugPerm returns a boolean if a field has been set. -func (o *NugetPackageUpload) HasSlugPerm() bool { - if o != nil && o.SlugPerm != nil { - return true - } - - return false -} - -// SetSlugPerm gets a reference to the given string and assigns it to the SlugPerm field. -func (o *NugetPackageUpload) SetSlugPerm(v string) { - o.SlugPerm = &v -} - -// GetStage returns the Stage field value if set, zero value otherwise. -func (o *NugetPackageUpload) GetStage() int64 { - if o == nil || o.Stage == nil { - var ret int64 - return ret - } - return *o.Stage -} - -// GetStageOk returns a tuple with the Stage field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *NugetPackageUpload) GetStageOk() (*int64, bool) { - if o == nil || o.Stage == nil { - return nil, false - } - return o.Stage, true -} - -// HasStage returns a boolean if a field has been set. -func (o *NugetPackageUpload) HasStage() bool { - if o != nil && o.Stage != nil { - return true - } - - return false -} - -// SetStage gets a reference to the given int64 and assigns it to the Stage field. -func (o *NugetPackageUpload) SetStage(v int64) { - o.Stage = &v -} - -// GetStageStr returns the StageStr field value if set, zero value otherwise. -func (o *NugetPackageUpload) GetStageStr() string { - if o == nil || o.StageStr == nil { - var ret string - return ret - } - return *o.StageStr -} - -// GetStageStrOk returns a tuple with the StageStr field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *NugetPackageUpload) GetStageStrOk() (*string, bool) { - if o == nil || o.StageStr == nil { - return nil, false - } - return o.StageStr, true -} - -// HasStageStr returns a boolean if a field has been set. -func (o *NugetPackageUpload) HasStageStr() bool { - if o != nil && o.StageStr != nil { - return true - } - - return false -} - -// SetStageStr gets a reference to the given string and assigns it to the StageStr field. -func (o *NugetPackageUpload) SetStageStr(v string) { - o.StageStr = &v -} - -// GetStageUpdatedAt returns the StageUpdatedAt field value if set, zero value otherwise. -func (o *NugetPackageUpload) GetStageUpdatedAt() string { - if o == nil || o.StageUpdatedAt == nil { - var ret string - return ret - } - return *o.StageUpdatedAt -} - -// GetStageUpdatedAtOk returns a tuple with the StageUpdatedAt field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *NugetPackageUpload) GetStageUpdatedAtOk() (*string, bool) { - if o == nil || o.StageUpdatedAt == nil { - return nil, false - } - return o.StageUpdatedAt, true -} - -// HasStageUpdatedAt returns a boolean if a field has been set. -func (o *NugetPackageUpload) HasStageUpdatedAt() bool { - if o != nil && o.StageUpdatedAt != nil { - return true - } - - return false -} - -// SetStageUpdatedAt gets a reference to the given string and assigns it to the StageUpdatedAt field. -func (o *NugetPackageUpload) SetStageUpdatedAt(v string) { - o.StageUpdatedAt = &v -} - -// GetStatus returns the Status field value if set, zero value otherwise. -func (o *NugetPackageUpload) GetStatus() int64 { - if o == nil || o.Status == nil { - var ret int64 - return ret - } - return *o.Status -} - -// GetStatusOk returns a tuple with the Status field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *NugetPackageUpload) GetStatusOk() (*int64, bool) { - if o == nil || o.Status == nil { - return nil, false - } - return o.Status, true -} - -// HasStatus returns a boolean if a field has been set. -func (o *NugetPackageUpload) HasStatus() bool { - if o != nil && o.Status != nil { - return true - } - - return false -} - -// SetStatus gets a reference to the given int64 and assigns it to the Status field. -func (o *NugetPackageUpload) SetStatus(v int64) { - o.Status = &v -} - -// GetStatusReason returns the StatusReason field value if set, zero value otherwise. -func (o *NugetPackageUpload) GetStatusReason() string { - if o == nil || o.StatusReason == nil { - var ret string - return ret - } - return *o.StatusReason -} - -// GetStatusReasonOk returns a tuple with the StatusReason field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *NugetPackageUpload) GetStatusReasonOk() (*string, bool) { - if o == nil || o.StatusReason == nil { - return nil, false - } - return o.StatusReason, true -} - -// HasStatusReason returns a boolean if a field has been set. -func (o *NugetPackageUpload) HasStatusReason() bool { - if o != nil && o.StatusReason != nil { - return true - } - - return false -} - -// SetStatusReason gets a reference to the given string and assigns it to the StatusReason field. -func (o *NugetPackageUpload) SetStatusReason(v string) { - o.StatusReason = &v -} - -// GetStatusStr returns the StatusStr field value if set, zero value otherwise. -func (o *NugetPackageUpload) GetStatusStr() string { - if o == nil || o.StatusStr == nil { - var ret string - return ret - } - return *o.StatusStr -} - -// GetStatusStrOk returns a tuple with the StatusStr field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *NugetPackageUpload) GetStatusStrOk() (*string, bool) { - if o == nil || o.StatusStr == nil { - return nil, false - } - return o.StatusStr, true -} - -// HasStatusStr returns a boolean if a field has been set. -func (o *NugetPackageUpload) HasStatusStr() bool { - if o != nil && o.StatusStr != nil { - return true - } - - return false -} - -// SetStatusStr gets a reference to the given string and assigns it to the StatusStr field. -func (o *NugetPackageUpload) SetStatusStr(v string) { - o.StatusStr = &v -} - -// GetStatusUpdatedAt returns the StatusUpdatedAt field value if set, zero value otherwise. -func (o *NugetPackageUpload) GetStatusUpdatedAt() string { - if o == nil || o.StatusUpdatedAt == nil { - var ret string - return ret - } - return *o.StatusUpdatedAt -} - -// GetStatusUpdatedAtOk returns a tuple with the StatusUpdatedAt field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *NugetPackageUpload) GetStatusUpdatedAtOk() (*string, bool) { - if o == nil || o.StatusUpdatedAt == nil { - return nil, false - } - return o.StatusUpdatedAt, true -} - -// HasStatusUpdatedAt returns a boolean if a field has been set. -func (o *NugetPackageUpload) HasStatusUpdatedAt() bool { - if o != nil && o.StatusUpdatedAt != nil { - return true - } - - return false -} - -// SetStatusUpdatedAt gets a reference to the given string and assigns it to the StatusUpdatedAt field. -func (o *NugetPackageUpload) SetStatusUpdatedAt(v string) { - o.StatusUpdatedAt = &v -} - -// GetStatusUrl returns the StatusUrl field value if set, zero value otherwise. -func (o *NugetPackageUpload) GetStatusUrl() string { - if o == nil || o.StatusUrl == nil { - var ret string - return ret - } - return *o.StatusUrl -} - -// GetStatusUrlOk returns a tuple with the StatusUrl field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *NugetPackageUpload) GetStatusUrlOk() (*string, bool) { - if o == nil || o.StatusUrl == nil { - return nil, false - } - return o.StatusUrl, true -} - -// HasStatusUrl returns a boolean if a field has been set. -func (o *NugetPackageUpload) HasStatusUrl() bool { - if o != nil && o.StatusUrl != nil { - return true - } - - return false -} - -// SetStatusUrl gets a reference to the given string and assigns it to the StatusUrl field. -func (o *NugetPackageUpload) SetStatusUrl(v string) { - o.StatusUrl = &v -} - -// GetSubtype returns the Subtype field value if set, zero value otherwise. -func (o *NugetPackageUpload) GetSubtype() string { - if o == nil || o.Subtype == nil { - var ret string - return ret - } - return *o.Subtype -} - -// GetSubtypeOk returns a tuple with the Subtype field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *NugetPackageUpload) GetSubtypeOk() (*string, bool) { - if o == nil || o.Subtype == nil { - return nil, false - } - return o.Subtype, true -} - -// HasSubtype returns a boolean if a field has been set. -func (o *NugetPackageUpload) HasSubtype() bool { - if o != nil && o.Subtype != nil { - return true - } - - return false -} - -// SetSubtype gets a reference to the given string and assigns it to the Subtype field. -func (o *NugetPackageUpload) SetSubtype(v string) { - o.Subtype = &v -} - -// GetSummary returns the Summary field value if set, zero value otherwise. -func (o *NugetPackageUpload) GetSummary() string { - if o == nil || o.Summary == nil { - var ret string - return ret - } - return *o.Summary -} - -// GetSummaryOk returns a tuple with the Summary field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *NugetPackageUpload) GetSummaryOk() (*string, bool) { - if o == nil || o.Summary == nil { - return nil, false - } - return o.Summary, true -} - -// HasSummary returns a boolean if a field has been set. -func (o *NugetPackageUpload) HasSummary() bool { - if o != nil && o.Summary != nil { - return true - } - - return false -} - -// SetSummary gets a reference to the given string and assigns it to the Summary field. -func (o *NugetPackageUpload) SetSummary(v string) { - o.Summary = &v -} - -// GetSyncFinishedAt returns the SyncFinishedAt field value if set, zero value otherwise. -func (o *NugetPackageUpload) GetSyncFinishedAt() string { - if o == nil || o.SyncFinishedAt == nil { - var ret string - return ret - } - return *o.SyncFinishedAt -} - -// GetSyncFinishedAtOk returns a tuple with the SyncFinishedAt field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *NugetPackageUpload) GetSyncFinishedAtOk() (*string, bool) { - if o == nil || o.SyncFinishedAt == nil { - return nil, false - } - return o.SyncFinishedAt, true -} - -// HasSyncFinishedAt returns a boolean if a field has been set. -func (o *NugetPackageUpload) HasSyncFinishedAt() bool { - if o != nil && o.SyncFinishedAt != nil { - return true - } - - return false -} - -// SetSyncFinishedAt gets a reference to the given string and assigns it to the SyncFinishedAt field. -func (o *NugetPackageUpload) SetSyncFinishedAt(v string) { - o.SyncFinishedAt = &v -} - -// GetSyncProgress returns the SyncProgress field value if set, zero value otherwise. -func (o *NugetPackageUpload) GetSyncProgress() int64 { - if o == nil || o.SyncProgress == nil { - var ret int64 - return ret - } - return *o.SyncProgress -} - -// GetSyncProgressOk returns a tuple with the SyncProgress field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *NugetPackageUpload) GetSyncProgressOk() (*int64, bool) { - if o == nil || o.SyncProgress == nil { - return nil, false - } - return o.SyncProgress, true -} - -// HasSyncProgress returns a boolean if a field has been set. -func (o *NugetPackageUpload) HasSyncProgress() bool { - if o != nil && o.SyncProgress != nil { - return true - } - - return false -} - -// SetSyncProgress gets a reference to the given int64 and assigns it to the SyncProgress field. -func (o *NugetPackageUpload) SetSyncProgress(v int64) { - o.SyncProgress = &v -} - -// GetTagsImmutable returns the TagsImmutable field value if set, zero value otherwise. -func (o *NugetPackageUpload) GetTagsImmutable() map[string]interface{} { - if o == nil || o.TagsImmutable == nil { - var ret map[string]interface{} - return ret - } - return o.TagsImmutable -} - -// GetTagsImmutableOk returns a tuple with the TagsImmutable field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *NugetPackageUpload) GetTagsImmutableOk() (map[string]interface{}, bool) { - if o == nil || o.TagsImmutable == nil { - return nil, false - } - return o.TagsImmutable, true -} - -// HasTagsImmutable returns a boolean if a field has been set. -func (o *NugetPackageUpload) HasTagsImmutable() bool { - if o != nil && o.TagsImmutable != nil { - return true - } - - return false -} - -// SetTagsImmutable gets a reference to the given map[string]interface{} and assigns it to the TagsImmutable field. -func (o *NugetPackageUpload) SetTagsImmutable(v map[string]interface{}) { - o.TagsImmutable = v -} - -// GetTypeDisplay returns the TypeDisplay field value if set, zero value otherwise. -func (o *NugetPackageUpload) GetTypeDisplay() string { - if o == nil || o.TypeDisplay == nil { - var ret string - return ret - } - return *o.TypeDisplay -} - -// GetTypeDisplayOk returns a tuple with the TypeDisplay field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *NugetPackageUpload) GetTypeDisplayOk() (*string, bool) { - if o == nil || o.TypeDisplay == nil { - return nil, false - } - return o.TypeDisplay, true -} - -// HasTypeDisplay returns a boolean if a field has been set. -func (o *NugetPackageUpload) HasTypeDisplay() bool { - if o != nil && o.TypeDisplay != nil { - return true - } - - return false -} - -// SetTypeDisplay gets a reference to the given string and assigns it to the TypeDisplay field. -func (o *NugetPackageUpload) SetTypeDisplay(v string) { - o.TypeDisplay = &v -} - -// GetUploadedAt returns the UploadedAt field value if set, zero value otherwise. -func (o *NugetPackageUpload) GetUploadedAt() string { - if o == nil || o.UploadedAt == nil { - var ret string - return ret - } - return *o.UploadedAt -} - -// GetUploadedAtOk returns a tuple with the UploadedAt field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *NugetPackageUpload) GetUploadedAtOk() (*string, bool) { - if o == nil || o.UploadedAt == nil { - return nil, false - } - return o.UploadedAt, true -} - -// HasUploadedAt returns a boolean if a field has been set. -func (o *NugetPackageUpload) HasUploadedAt() bool { - if o != nil && o.UploadedAt != nil { - return true - } - - return false -} - -// SetUploadedAt gets a reference to the given string and assigns it to the UploadedAt field. -func (o *NugetPackageUpload) SetUploadedAt(v string) { - o.UploadedAt = &v -} - -// GetUploader returns the Uploader field value if set, zero value otherwise. -func (o *NugetPackageUpload) GetUploader() string { - if o == nil || o.Uploader == nil { - var ret string - return ret - } - return *o.Uploader -} - -// GetUploaderOk returns a tuple with the Uploader field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *NugetPackageUpload) GetUploaderOk() (*string, bool) { - if o == nil || o.Uploader == nil { - return nil, false - } - return o.Uploader, true -} - -// HasUploader returns a boolean if a field has been set. -func (o *NugetPackageUpload) HasUploader() bool { - if o != nil && o.Uploader != nil { - return true - } - - return false -} - -// SetUploader gets a reference to the given string and assigns it to the Uploader field. -func (o *NugetPackageUpload) SetUploader(v string) { - o.Uploader = &v -} - -// GetUploaderUrl returns the UploaderUrl field value if set, zero value otherwise. -func (o *NugetPackageUpload) GetUploaderUrl() string { - if o == nil || o.UploaderUrl == nil { - var ret string - return ret - } - return *o.UploaderUrl -} - -// GetUploaderUrlOk returns a tuple with the UploaderUrl field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *NugetPackageUpload) GetUploaderUrlOk() (*string, bool) { - if o == nil || o.UploaderUrl == nil { - return nil, false - } - return o.UploaderUrl, true -} - -// HasUploaderUrl returns a boolean if a field has been set. -func (o *NugetPackageUpload) HasUploaderUrl() bool { - if o != nil && o.UploaderUrl != nil { - return true - } - - return false -} - -// SetUploaderUrl gets a reference to the given string and assigns it to the UploaderUrl field. -func (o *NugetPackageUpload) SetUploaderUrl(v string) { - o.UploaderUrl = &v -} - -// GetVersion returns the Version field value if set, zero value otherwise. -func (o *NugetPackageUpload) GetVersion() string { - if o == nil || o.Version == nil { - var ret string - return ret - } - return *o.Version -} - -// GetVersionOk returns a tuple with the Version field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *NugetPackageUpload) GetVersionOk() (*string, bool) { - if o == nil || o.Version == nil { - return nil, false - } - return o.Version, true -} - -// HasVersion returns a boolean if a field has been set. -func (o *NugetPackageUpload) HasVersion() bool { - if o != nil && o.Version != nil { - return true - } - - return false -} - -// SetVersion gets a reference to the given string and assigns it to the Version field. -func (o *NugetPackageUpload) SetVersion(v string) { - o.Version = &v -} - -// GetVersionOrig returns the VersionOrig field value if set, zero value otherwise. -func (o *NugetPackageUpload) GetVersionOrig() string { - if o == nil || o.VersionOrig == nil { - var ret string - return ret - } - return *o.VersionOrig -} - -// GetVersionOrigOk returns a tuple with the VersionOrig field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *NugetPackageUpload) GetVersionOrigOk() (*string, bool) { - if o == nil || o.VersionOrig == nil { - return nil, false - } - return o.VersionOrig, true -} - -// HasVersionOrig returns a boolean if a field has been set. -func (o *NugetPackageUpload) HasVersionOrig() bool { - if o != nil && o.VersionOrig != nil { - return true - } - - return false -} - -// SetVersionOrig gets a reference to the given string and assigns it to the VersionOrig field. -func (o *NugetPackageUpload) SetVersionOrig(v string) { - o.VersionOrig = &v -} - -// GetVulnerabilityScanResultsUrl returns the VulnerabilityScanResultsUrl field value if set, zero value otherwise. -func (o *NugetPackageUpload) GetVulnerabilityScanResultsUrl() string { - if o == nil || o.VulnerabilityScanResultsUrl == nil { - var ret string - return ret - } - return *o.VulnerabilityScanResultsUrl -} - -// GetVulnerabilityScanResultsUrlOk returns a tuple with the VulnerabilityScanResultsUrl field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *NugetPackageUpload) GetVulnerabilityScanResultsUrlOk() (*string, bool) { - if o == nil || o.VulnerabilityScanResultsUrl == nil { - return nil, false - } - return o.VulnerabilityScanResultsUrl, true -} - -// HasVulnerabilityScanResultsUrl returns a boolean if a field has been set. -func (o *NugetPackageUpload) HasVulnerabilityScanResultsUrl() bool { - if o != nil && o.VulnerabilityScanResultsUrl != nil { - return true - } - - return false -} - -// SetVulnerabilityScanResultsUrl gets a reference to the given string and assigns it to the VulnerabilityScanResultsUrl field. -func (o *NugetPackageUpload) SetVulnerabilityScanResultsUrl(v string) { - o.VulnerabilityScanResultsUrl = &v -} - -func (o NugetPackageUpload) MarshalJSON() ([]byte, error) { - toSerialize := map[string]interface{}{} - if o.Architectures != nil { - toSerialize["architectures"] = o.Architectures - } - if o.CdnUrl != nil { - toSerialize["cdn_url"] = o.CdnUrl - } - if o.ChecksumMd5 != nil { - toSerialize["checksum_md5"] = o.ChecksumMd5 - } - if o.ChecksumSha1 != nil { - toSerialize["checksum_sha1"] = o.ChecksumSha1 - } - if o.ChecksumSha256 != nil { - toSerialize["checksum_sha256"] = o.ChecksumSha256 - } - if o.ChecksumSha512 != nil { - toSerialize["checksum_sha512"] = o.ChecksumSha512 - } - if o.DependenciesChecksumMd5 != nil { - toSerialize["dependencies_checksum_md5"] = o.DependenciesChecksumMd5 - } - if o.DependenciesUrl != nil { - toSerialize["dependencies_url"] = o.DependenciesUrl - } - if o.Description != nil { - toSerialize["description"] = o.Description - } - if o.Distro != nil { - toSerialize["distro"] = o.Distro - } - if o.DistroVersion != nil { - toSerialize["distro_version"] = o.DistroVersion - } - if o.Downloads != nil { - toSerialize["downloads"] = o.Downloads - } - if o.Epoch != nil { - toSerialize["epoch"] = o.Epoch - } - if o.Extension != nil { - toSerialize["extension"] = o.Extension - } - if o.Filename != nil { - toSerialize["filename"] = o.Filename - } - if o.Files != nil { - toSerialize["files"] = o.Files - } - if o.Format != nil { - toSerialize["format"] = o.Format - } - if o.FormatUrl != nil { - toSerialize["format_url"] = o.FormatUrl - } - if o.IdentifierPerm != nil { - toSerialize["identifier_perm"] = o.IdentifierPerm - } - if o.Indexed != nil { - toSerialize["indexed"] = o.Indexed - } - if o.IsDownloadable != nil { - toSerialize["is_downloadable"] = o.IsDownloadable - } - if o.IsQuarantined != nil { - toSerialize["is_quarantined"] = o.IsQuarantined - } - if o.IsSyncAwaiting != nil { - toSerialize["is_sync_awaiting"] = o.IsSyncAwaiting - } - if o.IsSyncCompleted != nil { - toSerialize["is_sync_completed"] = o.IsSyncCompleted - } - if o.IsSyncFailed != nil { - toSerialize["is_sync_failed"] = o.IsSyncFailed - } - if o.IsSyncInFlight != nil { - toSerialize["is_sync_in_flight"] = o.IsSyncInFlight - } - if o.IsSyncInProgress != nil { - toSerialize["is_sync_in_progress"] = o.IsSyncInProgress - } - if o.License != nil { - toSerialize["license"] = o.License - } - if o.Name != nil { - toSerialize["name"] = o.Name - } - if o.Namespace != nil { - toSerialize["namespace"] = o.Namespace - } - if o.NamespaceUrl != nil { - toSerialize["namespace_url"] = o.NamespaceUrl - } - if o.NumFiles != nil { - toSerialize["num_files"] = o.NumFiles - } - if o.PackageType != nil { - toSerialize["package_type"] = o.PackageType - } - if o.Release != nil { - toSerialize["release"] = o.Release - } - if o.Repository != nil { - toSerialize["repository"] = o.Repository - } - if o.RepositoryUrl != nil { - toSerialize["repository_url"] = o.RepositoryUrl - } - if o.SecurityScanCompletedAt != nil { - toSerialize["security_scan_completed_at"] = o.SecurityScanCompletedAt - } - if o.SecurityScanStartedAt != nil { - toSerialize["security_scan_started_at"] = o.SecurityScanStartedAt - } - if o.SecurityScanStatus != nil { - toSerialize["security_scan_status"] = o.SecurityScanStatus - } - if o.SecurityScanStatusUpdatedAt != nil { - toSerialize["security_scan_status_updated_at"] = o.SecurityScanStatusUpdatedAt - } - if o.SelfHtmlUrl != nil { - toSerialize["self_html_url"] = o.SelfHtmlUrl - } - if o.SelfUrl != nil { - toSerialize["self_url"] = o.SelfUrl - } - if o.SignatureUrl != nil { - toSerialize["signature_url"] = o.SignatureUrl - } - if o.Size != nil { - toSerialize["size"] = o.Size - } - if o.Slug != nil { - toSerialize["slug"] = o.Slug - } - if o.SlugPerm != nil { - toSerialize["slug_perm"] = o.SlugPerm - } - if o.Stage != nil { - toSerialize["stage"] = o.Stage - } - if o.StageStr != nil { - toSerialize["stage_str"] = o.StageStr - } - if o.StageUpdatedAt != nil { - toSerialize["stage_updated_at"] = o.StageUpdatedAt - } - if o.Status != nil { - toSerialize["status"] = o.Status - } - if o.StatusReason != nil { - toSerialize["status_reason"] = o.StatusReason - } - if o.StatusStr != nil { - toSerialize["status_str"] = o.StatusStr - } - if o.StatusUpdatedAt != nil { - toSerialize["status_updated_at"] = o.StatusUpdatedAt - } - if o.StatusUrl != nil { - toSerialize["status_url"] = o.StatusUrl - } - if o.Subtype != nil { - toSerialize["subtype"] = o.Subtype - } - if o.Summary != nil { - toSerialize["summary"] = o.Summary - } - if o.SyncFinishedAt != nil { - toSerialize["sync_finished_at"] = o.SyncFinishedAt - } - if o.SyncProgress != nil { - toSerialize["sync_progress"] = o.SyncProgress - } - if o.TagsImmutable != nil { - toSerialize["tags_immutable"] = o.TagsImmutable - } - if o.TypeDisplay != nil { - toSerialize["type_display"] = o.TypeDisplay - } - if o.UploadedAt != nil { - toSerialize["uploaded_at"] = o.UploadedAt - } - if o.Uploader != nil { - toSerialize["uploader"] = o.Uploader - } - if o.UploaderUrl != nil { - toSerialize["uploader_url"] = o.UploaderUrl - } - if o.Version != nil { - toSerialize["version"] = o.Version - } - if o.VersionOrig != nil { - toSerialize["version_orig"] = o.VersionOrig - } - if o.VulnerabilityScanResultsUrl != nil { - toSerialize["vulnerability_scan_results_url"] = o.VulnerabilityScanResultsUrl - } - return json.Marshal(toSerialize) -} - -type NullableNugetPackageUpload struct { - value *NugetPackageUpload - isSet bool -} - -func (v NullableNugetPackageUpload) Get() *NugetPackageUpload { - return v.value -} - -func (v *NullableNugetPackageUpload) Set(val *NugetPackageUpload) { - v.value = val - v.isSet = true -} - -func (v NullableNugetPackageUpload) IsSet() bool { - return v.isSet -} - -func (v *NullableNugetPackageUpload) Unset() { - v.value = nil - v.isSet = false -} - -func NewNullableNugetPackageUpload(val *NugetPackageUpload) *NullableNugetPackageUpload { - return &NullableNugetPackageUpload{value: val, isSet: true} -} - -func (v NullableNugetPackageUpload) MarshalJSON() ([]byte, error) { - return json.Marshal(v.value) -} - -func (v *NullableNugetPackageUpload) UnmarshalJSON(src []byte) error { - v.isSet = true - return json.Unmarshal(src, &v.value) -} diff --git a/model_nuget_package_upload_request.go b/model_nuget_package_upload_request.go new file mode 100644 index 00000000..bf00aec4 --- /dev/null +++ b/model_nuget_package_upload_request.go @@ -0,0 +1,241 @@ +/* +Cloudsmith API (v1) + +The API to the Cloudsmith Service + +API version: 1.181.6 +Contact: support@cloudsmith.io +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cloudsmith + +import ( + "encoding/json" +) + +// NugetPackageUploadRequest struct for NugetPackageUploadRequest +type NugetPackageUploadRequest struct { + // The primary file for the package. + PackageFile string `json:"package_file"` + // If true, the uploaded package will overwrite any others with the same attributes (e.g. same version); otherwise, it will be flagged as a duplicate. + Republish *bool `json:"republish,omitempty"` + // Attaches a symbols file to the package. + SymbolsFile NullableString `json:"symbols_file,omitempty"` + // A comma-separated values list of tags to add to the package. + Tags NullableString `json:"tags,omitempty"` +} + +// NewNugetPackageUploadRequest instantiates a new NugetPackageUploadRequest object +// 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 NewNugetPackageUploadRequest(packageFile string) *NugetPackageUploadRequest { + this := NugetPackageUploadRequest{} + this.PackageFile = packageFile + return &this +} + +// NewNugetPackageUploadRequestWithDefaults instantiates a new NugetPackageUploadRequest object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewNugetPackageUploadRequestWithDefaults() *NugetPackageUploadRequest { + this := NugetPackageUploadRequest{} + return &this +} + +// GetPackageFile returns the PackageFile field value +func (o *NugetPackageUploadRequest) GetPackageFile() string { + if o == nil { + var ret string + return ret + } + + return o.PackageFile +} + +// GetPackageFileOk returns a tuple with the PackageFile field value +// and a boolean to check if the value has been set. +func (o *NugetPackageUploadRequest) GetPackageFileOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.PackageFile, true +} + +// SetPackageFile sets field value +func (o *NugetPackageUploadRequest) SetPackageFile(v string) { + o.PackageFile = v +} + +// GetRepublish returns the Republish field value if set, zero value otherwise. +func (o *NugetPackageUploadRequest) GetRepublish() bool { + if o == nil || isNil(o.Republish) { + var ret bool + return ret + } + return *o.Republish +} + +// GetRepublishOk returns a tuple with the Republish field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *NugetPackageUploadRequest) GetRepublishOk() (*bool, bool) { + if o == nil || isNil(o.Republish) { + return nil, false + } + return o.Republish, true +} + +// HasRepublish returns a boolean if a field has been set. +func (o *NugetPackageUploadRequest) HasRepublish() bool { + if o != nil && !isNil(o.Republish) { + return true + } + + return false +} + +// SetRepublish gets a reference to the given bool and assigns it to the Republish field. +func (o *NugetPackageUploadRequest) SetRepublish(v bool) { + o.Republish = &v +} + +// GetSymbolsFile returns the SymbolsFile field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *NugetPackageUploadRequest) GetSymbolsFile() string { + if o == nil || isNil(o.SymbolsFile.Get()) { + var ret string + return ret + } + return *o.SymbolsFile.Get() +} + +// GetSymbolsFileOk returns a tuple with the SymbolsFile 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 *NugetPackageUploadRequest) GetSymbolsFileOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.SymbolsFile.Get(), o.SymbolsFile.IsSet() +} + +// HasSymbolsFile returns a boolean if a field has been set. +func (o *NugetPackageUploadRequest) HasSymbolsFile() bool { + if o != nil && o.SymbolsFile.IsSet() { + return true + } + + return false +} + +// SetSymbolsFile gets a reference to the given NullableString and assigns it to the SymbolsFile field. +func (o *NugetPackageUploadRequest) SetSymbolsFile(v string) { + o.SymbolsFile.Set(&v) +} + +// SetSymbolsFileNil sets the value for SymbolsFile to be an explicit nil +func (o *NugetPackageUploadRequest) SetSymbolsFileNil() { + o.SymbolsFile.Set(nil) +} + +// UnsetSymbolsFile ensures that no value is present for SymbolsFile, not even an explicit nil +func (o *NugetPackageUploadRequest) UnsetSymbolsFile() { + o.SymbolsFile.Unset() +} + +// GetTags returns the Tags field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *NugetPackageUploadRequest) GetTags() string { + if o == nil || isNil(o.Tags.Get()) { + var ret string + return ret + } + return *o.Tags.Get() +} + +// GetTagsOk returns a tuple with the Tags 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 *NugetPackageUploadRequest) GetTagsOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.Tags.Get(), o.Tags.IsSet() +} + +// HasTags returns a boolean if a field has been set. +func (o *NugetPackageUploadRequest) HasTags() bool { + if o != nil && o.Tags.IsSet() { + return true + } + + return false +} + +// SetTags gets a reference to the given NullableString and assigns it to the Tags field. +func (o *NugetPackageUploadRequest) SetTags(v string) { + o.Tags.Set(&v) +} + +// SetTagsNil sets the value for Tags to be an explicit nil +func (o *NugetPackageUploadRequest) SetTagsNil() { + o.Tags.Set(nil) +} + +// UnsetTags ensures that no value is present for Tags, not even an explicit nil +func (o *NugetPackageUploadRequest) UnsetTags() { + o.Tags.Unset() +} + +func (o NugetPackageUploadRequest) MarshalJSON() ([]byte, error) { + toSerialize := map[string]interface{}{} + if true { + toSerialize["package_file"] = o.PackageFile + } + if !isNil(o.Republish) { + toSerialize["republish"] = o.Republish + } + if o.SymbolsFile.IsSet() { + toSerialize["symbols_file"] = o.SymbolsFile.Get() + } + if o.Tags.IsSet() { + toSerialize["tags"] = o.Tags.Get() + } + return json.Marshal(toSerialize) +} + +type NullableNugetPackageUploadRequest struct { + value *NugetPackageUploadRequest + isSet bool +} + +func (v NullableNugetPackageUploadRequest) Get() *NugetPackageUploadRequest { + return v.value +} + +func (v *NullableNugetPackageUploadRequest) Set(val *NugetPackageUploadRequest) { + v.value = val + v.isSet = true +} + +func (v NullableNugetPackageUploadRequest) IsSet() bool { + return v.isSet +} + +func (v *NullableNugetPackageUploadRequest) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableNugetPackageUploadRequest(val *NugetPackageUploadRequest) *NullableNugetPackageUploadRequest { + return &NullableNugetPackageUploadRequest{value: val, isSet: true} +} + +func (v NullableNugetPackageUploadRequest) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableNugetPackageUploadRequest) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} diff --git a/model_cocoapods_package_upload.go b/model_nuget_package_upload_response.go similarity index 52% rename from model_cocoapods_package_upload.go rename to model_nuget_package_upload_response.go index ce369f04..e51715ea 100644 --- a/model_cocoapods_package_upload.go +++ b/model_nuget_package_upload_response.go @@ -1,9 +1,9 @@ /* -Cloudsmith API +Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.121.3 +API version: 1.181.6 Contact: support@cloudsmith.io */ @@ -13,165 +13,126 @@ package cloudsmith import ( "encoding/json" + "time" ) -// CocoapodsPackageUpload struct for CocoapodsPackageUpload -type CocoapodsPackageUpload struct { - // - Architectures []PackagesOwnerRepoArchitectures `json:"architectures,omitempty"` - // - CdnUrl *string `json:"cdn_url,omitempty"` - // - ChecksumMd5 *string `json:"checksum_md5,omitempty"` - // - ChecksumSha1 *string `json:"checksum_sha1,omitempty"` - // - ChecksumSha256 *string `json:"checksum_sha256,omitempty"` - // - ChecksumSha512 *string `json:"checksum_sha512,omitempty"` +// NugetPackageUploadResponse struct for NugetPackageUploadResponse +type NugetPackageUploadResponse struct { + Architectures []Architecture `json:"architectures,omitempty"` + CdnUrl NullableString `json:"cdn_url,omitempty"` + ChecksumMd5 *string `json:"checksum_md5,omitempty"` + ChecksumSha1 *string `json:"checksum_sha1,omitempty"` + ChecksumSha256 *string `json:"checksum_sha256,omitempty"` + ChecksumSha512 *string `json:"checksum_sha512,omitempty"` // A checksum of all of the package's dependencies. DependenciesChecksumMd5 *string `json:"dependencies_checksum_md5,omitempty"` - // - DependenciesUrl *string `json:"dependencies_url,omitempty"` + DependenciesUrl *string `json:"dependencies_url,omitempty"` // A textual description of this package. - Description *string `json:"description,omitempty"` - // - Distro map[string]interface{} `json:"distro,omitempty"` - // - DistroVersion map[string]interface{} `json:"distro_version,omitempty"` - // - Downloads *int64 `json:"downloads,omitempty"` + Description *string `json:"description,omitempty"` + Distro NullableDistribution `json:"distro,omitempty"` + DistroVersion *DistributionVersion `json:"distro_version,omitempty"` + Downloads *int64 `json:"downloads,omitempty"` // The epoch of the package version (if any). - Epoch *int64 `json:"epoch,omitempty"` - // - Extension *string `json:"extension,omitempty"` - // - Filename *string `json:"filename,omitempty"` - // - Files []PackagesOwnerRepoFiles `json:"files,omitempty"` - // - Format *string `json:"format,omitempty"` - // - FormatUrl *string `json:"format_url,omitempty"` + Epoch *int64 `json:"epoch,omitempty"` + Extension *string `json:"extension,omitempty"` + Filename *string `json:"filename,omitempty"` + Files []PackageFile `json:"files,omitempty"` + Format *string `json:"format,omitempty"` + FormatUrl *string `json:"format_url,omitempty"` // Unique and permanent identifier for the package. - IdentifierPerm *string `json:"identifier_perm,omitempty"` - // - Indexed *bool `json:"indexed,omitempty"` - // - IsDownloadable *bool `json:"is_downloadable,omitempty"` - // - IsQuarantined *bool `json:"is_quarantined,omitempty"` - // - IsSyncAwaiting *bool `json:"is_sync_awaiting,omitempty"` - // - IsSyncCompleted *bool `json:"is_sync_completed,omitempty"` - // - IsSyncFailed *bool `json:"is_sync_failed,omitempty"` - // - IsSyncInFlight *bool `json:"is_sync_in_flight,omitempty"` - // - IsSyncInProgress *bool `json:"is_sync_in_progress,omitempty"` + IdentifierPerm *string `json:"identifier_perm,omitempty"` + Indexed *bool `json:"indexed,omitempty"` + IsDownloadable *bool `json:"is_downloadable,omitempty"` + IsQuarantined *bool `json:"is_quarantined,omitempty"` + IsSyncAwaiting *bool `json:"is_sync_awaiting,omitempty"` + IsSyncCompleted *bool `json:"is_sync_completed,omitempty"` + IsSyncFailed *bool `json:"is_sync_failed,omitempty"` + IsSyncInFlight *bool `json:"is_sync_in_flight,omitempty"` + IsSyncInProgress *bool `json:"is_sync_in_progress,omitempty"` // The license of this package. License *string `json:"license,omitempty"` // The name of this package. - Name *string `json:"name,omitempty"` - // - Namespace *string `json:"namespace,omitempty"` - // - NamespaceUrl *string `json:"namespace_url,omitempty"` - // - NumFiles *int64 `json:"num_files,omitempty"` + Name *string `json:"name,omitempty"` + Namespace *string `json:"namespace,omitempty"` + NamespaceUrl *string `json:"namespace_url,omitempty"` + NumFiles *int64 `json:"num_files,omitempty"` + OriginRepository *string `json:"origin_repository,omitempty"` + OriginRepositoryUrl *string `json:"origin_repository_url,omitempty"` // The type of package contents. PackageType *int64 `json:"package_type,omitempty"` // The release of the package version (if any). - Release *string `json:"release,omitempty"` - // - Repository *string `json:"repository,omitempty"` - // + Release *string `json:"release,omitempty"` + Repository *string `json:"repository,omitempty"` RepositoryUrl *string `json:"repository_url,omitempty"` // The datetime the security scanning was completed. - SecurityScanCompletedAt *string `json:"security_scan_completed_at,omitempty"` + SecurityScanCompletedAt *time.Time `json:"security_scan_completed_at,omitempty"` // The datetime the security scanning was started. - SecurityScanStartedAt *string `json:"security_scan_started_at,omitempty"` - // - SecurityScanStatus *string `json:"security_scan_status,omitempty"` + SecurityScanStartedAt *time.Time `json:"security_scan_started_at,omitempty"` + SecurityScanStatus NullableString `json:"security_scan_status,omitempty"` // The datetime the security scanning status was updated. - SecurityScanStatusUpdatedAt *string `json:"security_scan_status_updated_at,omitempty"` - // - SelfHtmlUrl *string `json:"self_html_url,omitempty"` - // - SelfUrl *string `json:"self_url,omitempty"` - // - SignatureUrl *string `json:"signature_url,omitempty"` + SecurityScanStatusUpdatedAt *time.Time `json:"security_scan_status_updated_at,omitempty"` + SelfHtmlUrl *string `json:"self_html_url,omitempty"` + SelfUrl *string `json:"self_url,omitempty"` + SignatureUrl NullableString `json:"signature_url,omitempty"` // The calculated size of the package. Size *int64 `json:"size,omitempty"` // The public unique identifier for the package. - Slug *string `json:"slug,omitempty"` - // + Slug *string `json:"slug,omitempty"` SlugPerm *string `json:"slug_perm,omitempty"` // The synchronisation (in progress) stage of the package. - Stage *int64 `json:"stage,omitempty"` - // + Stage *int64 `json:"stage,omitempty"` StageStr *string `json:"stage_str,omitempty"` // The datetime the package stage was updated at. - StageUpdatedAt *string `json:"stage_updated_at,omitempty"` + StageUpdatedAt *time.Time `json:"stage_updated_at,omitempty"` // The synchronisation status of the package. Status *int64 `json:"status,omitempty"` // A textual description for the synchronous status reason (if any StatusReason *string `json:"status_reason,omitempty"` - // - StatusStr *string `json:"status_str,omitempty"` + StatusStr *string `json:"status_str,omitempty"` // The datetime the package status was updated at. - StatusUpdatedAt *string `json:"status_updated_at,omitempty"` - // - StatusUrl *string `json:"status_url,omitempty"` - // - Subtype *string `json:"subtype,omitempty"` + StatusUpdatedAt *time.Time `json:"status_updated_at,omitempty"` + StatusUrl *string `json:"status_url,omitempty"` + Subtype *string `json:"subtype,omitempty"` // A one-liner synopsis of this package. Summary *string `json:"summary,omitempty"` // The datetime the package sync was finished at. - SyncFinishedAt *string `json:"sync_finished_at,omitempty"` + SyncFinishedAt *time.Time `json:"sync_finished_at,omitempty"` // Synchronisation progress (from 0-100) SyncProgress *int64 `json:"sync_progress,omitempty"` - // All immutable tags on the package, grouped by tag type. Immutable tags cannot be (easily) deleted. + // All tags on the package, grouped by tag type. This includes immutable tags, but doesn't distinguish them from mutable. To see which tags are immutable specifically, see the tags_immutable field. TagsImmutable map[string]interface{} `json:"tags_immutable,omitempty"` - // - TypeDisplay *string `json:"type_display,omitempty"` + TypeDisplay *string `json:"type_display,omitempty"` // The date this package was uploaded. - UploadedAt *string `json:"uploaded_at,omitempty"` - // - Uploader *string `json:"uploader,omitempty"` - // - UploaderUrl *string `json:"uploader_url,omitempty"` + UploadedAt *time.Time `json:"uploaded_at,omitempty"` + Uploader *string `json:"uploader,omitempty"` + UploaderUrl *string `json:"uploader_url,omitempty"` // The raw version for this package. - Version *string `json:"version,omitempty"` - // - VersionOrig *string `json:"version_orig,omitempty"` - // + Version *string `json:"version,omitempty"` + VersionOrig *string `json:"version_orig,omitempty"` VulnerabilityScanResultsUrl *string `json:"vulnerability_scan_results_url,omitempty"` } -// NewCocoapodsPackageUpload instantiates a new CocoapodsPackageUpload object +// NewNugetPackageUploadResponse instantiates a new NugetPackageUploadResponse object // 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 NewCocoapodsPackageUpload() *CocoapodsPackageUpload { - this := CocoapodsPackageUpload{} +func NewNugetPackageUploadResponse() *NugetPackageUploadResponse { + this := NugetPackageUploadResponse{} return &this } -// NewCocoapodsPackageUploadWithDefaults instantiates a new CocoapodsPackageUpload object +// NewNugetPackageUploadResponseWithDefaults instantiates a new NugetPackageUploadResponse object // This constructor will only assign default values to properties that have it defined, // but it doesn't guarantee that properties required by API are set -func NewCocoapodsPackageUploadWithDefaults() *CocoapodsPackageUpload { - this := CocoapodsPackageUpload{} +func NewNugetPackageUploadResponseWithDefaults() *NugetPackageUploadResponse { + this := NugetPackageUploadResponse{} return &this } // GetArchitectures returns the Architectures field value if set, zero value otherwise. -func (o *CocoapodsPackageUpload) GetArchitectures() []PackagesOwnerRepoArchitectures { - if o == nil || o.Architectures == nil { - var ret []PackagesOwnerRepoArchitectures +func (o *NugetPackageUploadResponse) GetArchitectures() []Architecture { + if o == nil || isNil(o.Architectures) { + var ret []Architecture return ret } return o.Architectures @@ -179,62 +140,73 @@ func (o *CocoapodsPackageUpload) GetArchitectures() []PackagesOwnerRepoArchitect // GetArchitecturesOk returns a tuple with the Architectures field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *CocoapodsPackageUpload) GetArchitecturesOk() ([]PackagesOwnerRepoArchitectures, bool) { - if o == nil || o.Architectures == nil { +func (o *NugetPackageUploadResponse) GetArchitecturesOk() ([]Architecture, bool) { + if o == nil || isNil(o.Architectures) { return nil, false } return o.Architectures, true } // HasArchitectures returns a boolean if a field has been set. -func (o *CocoapodsPackageUpload) HasArchitectures() bool { - if o != nil && o.Architectures != nil { +func (o *NugetPackageUploadResponse) HasArchitectures() bool { + if o != nil && !isNil(o.Architectures) { return true } return false } -// SetArchitectures gets a reference to the given []PackagesOwnerRepoArchitectures and assigns it to the Architectures field. -func (o *CocoapodsPackageUpload) SetArchitectures(v []PackagesOwnerRepoArchitectures) { +// SetArchitectures gets a reference to the given []Architecture and assigns it to the Architectures field. +func (o *NugetPackageUploadResponse) SetArchitectures(v []Architecture) { o.Architectures = v } -// GetCdnUrl returns the CdnUrl field value if set, zero value otherwise. -func (o *CocoapodsPackageUpload) GetCdnUrl() string { - if o == nil || o.CdnUrl == nil { +// GetCdnUrl returns the CdnUrl field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *NugetPackageUploadResponse) GetCdnUrl() string { + if o == nil || isNil(o.CdnUrl.Get()) { var ret string return ret } - return *o.CdnUrl + return *o.CdnUrl.Get() } // GetCdnUrlOk returns a tuple with the CdnUrl field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *CocoapodsPackageUpload) GetCdnUrlOk() (*string, bool) { - if o == nil || o.CdnUrl == nil { +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *NugetPackageUploadResponse) GetCdnUrlOk() (*string, bool) { + if o == nil { return nil, false } - return o.CdnUrl, true + return o.CdnUrl.Get(), o.CdnUrl.IsSet() } // HasCdnUrl returns a boolean if a field has been set. -func (o *CocoapodsPackageUpload) HasCdnUrl() bool { - if o != nil && o.CdnUrl != nil { +func (o *NugetPackageUploadResponse) HasCdnUrl() bool { + if o != nil && o.CdnUrl.IsSet() { return true } return false } -// SetCdnUrl gets a reference to the given string and assigns it to the CdnUrl field. -func (o *CocoapodsPackageUpload) SetCdnUrl(v string) { - o.CdnUrl = &v +// SetCdnUrl gets a reference to the given NullableString and assigns it to the CdnUrl field. +func (o *NugetPackageUploadResponse) SetCdnUrl(v string) { + o.CdnUrl.Set(&v) +} + +// SetCdnUrlNil sets the value for CdnUrl to be an explicit nil +func (o *NugetPackageUploadResponse) SetCdnUrlNil() { + o.CdnUrl.Set(nil) +} + +// UnsetCdnUrl ensures that no value is present for CdnUrl, not even an explicit nil +func (o *NugetPackageUploadResponse) UnsetCdnUrl() { + o.CdnUrl.Unset() } // GetChecksumMd5 returns the ChecksumMd5 field value if set, zero value otherwise. -func (o *CocoapodsPackageUpload) GetChecksumMd5() string { - if o == nil || o.ChecksumMd5 == nil { +func (o *NugetPackageUploadResponse) GetChecksumMd5() string { + if o == nil || isNil(o.ChecksumMd5) { var ret string return ret } @@ -243,16 +215,16 @@ func (o *CocoapodsPackageUpload) GetChecksumMd5() string { // GetChecksumMd5Ok returns a tuple with the ChecksumMd5 field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *CocoapodsPackageUpload) GetChecksumMd5Ok() (*string, bool) { - if o == nil || o.ChecksumMd5 == nil { +func (o *NugetPackageUploadResponse) GetChecksumMd5Ok() (*string, bool) { + if o == nil || isNil(o.ChecksumMd5) { return nil, false } return o.ChecksumMd5, true } // HasChecksumMd5 returns a boolean if a field has been set. -func (o *CocoapodsPackageUpload) HasChecksumMd5() bool { - if o != nil && o.ChecksumMd5 != nil { +func (o *NugetPackageUploadResponse) HasChecksumMd5() bool { + if o != nil && !isNil(o.ChecksumMd5) { return true } @@ -260,13 +232,13 @@ func (o *CocoapodsPackageUpload) HasChecksumMd5() bool { } // SetChecksumMd5 gets a reference to the given string and assigns it to the ChecksumMd5 field. -func (o *CocoapodsPackageUpload) SetChecksumMd5(v string) { +func (o *NugetPackageUploadResponse) SetChecksumMd5(v string) { o.ChecksumMd5 = &v } // GetChecksumSha1 returns the ChecksumSha1 field value if set, zero value otherwise. -func (o *CocoapodsPackageUpload) GetChecksumSha1() string { - if o == nil || o.ChecksumSha1 == nil { +func (o *NugetPackageUploadResponse) GetChecksumSha1() string { + if o == nil || isNil(o.ChecksumSha1) { var ret string return ret } @@ -275,16 +247,16 @@ func (o *CocoapodsPackageUpload) GetChecksumSha1() string { // GetChecksumSha1Ok returns a tuple with the ChecksumSha1 field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *CocoapodsPackageUpload) GetChecksumSha1Ok() (*string, bool) { - if o == nil || o.ChecksumSha1 == nil { +func (o *NugetPackageUploadResponse) GetChecksumSha1Ok() (*string, bool) { + if o == nil || isNil(o.ChecksumSha1) { return nil, false } return o.ChecksumSha1, true } // HasChecksumSha1 returns a boolean if a field has been set. -func (o *CocoapodsPackageUpload) HasChecksumSha1() bool { - if o != nil && o.ChecksumSha1 != nil { +func (o *NugetPackageUploadResponse) HasChecksumSha1() bool { + if o != nil && !isNil(o.ChecksumSha1) { return true } @@ -292,13 +264,13 @@ func (o *CocoapodsPackageUpload) HasChecksumSha1() bool { } // SetChecksumSha1 gets a reference to the given string and assigns it to the ChecksumSha1 field. -func (o *CocoapodsPackageUpload) SetChecksumSha1(v string) { +func (o *NugetPackageUploadResponse) SetChecksumSha1(v string) { o.ChecksumSha1 = &v } // GetChecksumSha256 returns the ChecksumSha256 field value if set, zero value otherwise. -func (o *CocoapodsPackageUpload) GetChecksumSha256() string { - if o == nil || o.ChecksumSha256 == nil { +func (o *NugetPackageUploadResponse) GetChecksumSha256() string { + if o == nil || isNil(o.ChecksumSha256) { var ret string return ret } @@ -307,16 +279,16 @@ func (o *CocoapodsPackageUpload) GetChecksumSha256() string { // GetChecksumSha256Ok returns a tuple with the ChecksumSha256 field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *CocoapodsPackageUpload) GetChecksumSha256Ok() (*string, bool) { - if o == nil || o.ChecksumSha256 == nil { +func (o *NugetPackageUploadResponse) GetChecksumSha256Ok() (*string, bool) { + if o == nil || isNil(o.ChecksumSha256) { return nil, false } return o.ChecksumSha256, true } // HasChecksumSha256 returns a boolean if a field has been set. -func (o *CocoapodsPackageUpload) HasChecksumSha256() bool { - if o != nil && o.ChecksumSha256 != nil { +func (o *NugetPackageUploadResponse) HasChecksumSha256() bool { + if o != nil && !isNil(o.ChecksumSha256) { return true } @@ -324,13 +296,13 @@ func (o *CocoapodsPackageUpload) HasChecksumSha256() bool { } // SetChecksumSha256 gets a reference to the given string and assigns it to the ChecksumSha256 field. -func (o *CocoapodsPackageUpload) SetChecksumSha256(v string) { +func (o *NugetPackageUploadResponse) SetChecksumSha256(v string) { o.ChecksumSha256 = &v } // GetChecksumSha512 returns the ChecksumSha512 field value if set, zero value otherwise. -func (o *CocoapodsPackageUpload) GetChecksumSha512() string { - if o == nil || o.ChecksumSha512 == nil { +func (o *NugetPackageUploadResponse) GetChecksumSha512() string { + if o == nil || isNil(o.ChecksumSha512) { var ret string return ret } @@ -339,16 +311,16 @@ func (o *CocoapodsPackageUpload) GetChecksumSha512() string { // GetChecksumSha512Ok returns a tuple with the ChecksumSha512 field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *CocoapodsPackageUpload) GetChecksumSha512Ok() (*string, bool) { - if o == nil || o.ChecksumSha512 == nil { +func (o *NugetPackageUploadResponse) GetChecksumSha512Ok() (*string, bool) { + if o == nil || isNil(o.ChecksumSha512) { return nil, false } return o.ChecksumSha512, true } // HasChecksumSha512 returns a boolean if a field has been set. -func (o *CocoapodsPackageUpload) HasChecksumSha512() bool { - if o != nil && o.ChecksumSha512 != nil { +func (o *NugetPackageUploadResponse) HasChecksumSha512() bool { + if o != nil && !isNil(o.ChecksumSha512) { return true } @@ -356,13 +328,13 @@ func (o *CocoapodsPackageUpload) HasChecksumSha512() bool { } // SetChecksumSha512 gets a reference to the given string and assigns it to the ChecksumSha512 field. -func (o *CocoapodsPackageUpload) SetChecksumSha512(v string) { +func (o *NugetPackageUploadResponse) SetChecksumSha512(v string) { o.ChecksumSha512 = &v } // GetDependenciesChecksumMd5 returns the DependenciesChecksumMd5 field value if set, zero value otherwise. -func (o *CocoapodsPackageUpload) GetDependenciesChecksumMd5() string { - if o == nil || o.DependenciesChecksumMd5 == nil { +func (o *NugetPackageUploadResponse) GetDependenciesChecksumMd5() string { + if o == nil || isNil(o.DependenciesChecksumMd5) { var ret string return ret } @@ -371,16 +343,16 @@ func (o *CocoapodsPackageUpload) GetDependenciesChecksumMd5() string { // GetDependenciesChecksumMd5Ok returns a tuple with the DependenciesChecksumMd5 field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *CocoapodsPackageUpload) GetDependenciesChecksumMd5Ok() (*string, bool) { - if o == nil || o.DependenciesChecksumMd5 == nil { +func (o *NugetPackageUploadResponse) GetDependenciesChecksumMd5Ok() (*string, bool) { + if o == nil || isNil(o.DependenciesChecksumMd5) { return nil, false } return o.DependenciesChecksumMd5, true } // HasDependenciesChecksumMd5 returns a boolean if a field has been set. -func (o *CocoapodsPackageUpload) HasDependenciesChecksumMd5() bool { - if o != nil && o.DependenciesChecksumMd5 != nil { +func (o *NugetPackageUploadResponse) HasDependenciesChecksumMd5() bool { + if o != nil && !isNil(o.DependenciesChecksumMd5) { return true } @@ -388,13 +360,13 @@ func (o *CocoapodsPackageUpload) HasDependenciesChecksumMd5() bool { } // SetDependenciesChecksumMd5 gets a reference to the given string and assigns it to the DependenciesChecksumMd5 field. -func (o *CocoapodsPackageUpload) SetDependenciesChecksumMd5(v string) { +func (o *NugetPackageUploadResponse) SetDependenciesChecksumMd5(v string) { o.DependenciesChecksumMd5 = &v } // GetDependenciesUrl returns the DependenciesUrl field value if set, zero value otherwise. -func (o *CocoapodsPackageUpload) GetDependenciesUrl() string { - if o == nil || o.DependenciesUrl == nil { +func (o *NugetPackageUploadResponse) GetDependenciesUrl() string { + if o == nil || isNil(o.DependenciesUrl) { var ret string return ret } @@ -403,16 +375,16 @@ func (o *CocoapodsPackageUpload) GetDependenciesUrl() string { // GetDependenciesUrlOk returns a tuple with the DependenciesUrl field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *CocoapodsPackageUpload) GetDependenciesUrlOk() (*string, bool) { - if o == nil || o.DependenciesUrl == nil { +func (o *NugetPackageUploadResponse) GetDependenciesUrlOk() (*string, bool) { + if o == nil || isNil(o.DependenciesUrl) { return nil, false } return o.DependenciesUrl, true } // HasDependenciesUrl returns a boolean if a field has been set. -func (o *CocoapodsPackageUpload) HasDependenciesUrl() bool { - if o != nil && o.DependenciesUrl != nil { +func (o *NugetPackageUploadResponse) HasDependenciesUrl() bool { + if o != nil && !isNil(o.DependenciesUrl) { return true } @@ -420,13 +392,13 @@ func (o *CocoapodsPackageUpload) HasDependenciesUrl() bool { } // SetDependenciesUrl gets a reference to the given string and assigns it to the DependenciesUrl field. -func (o *CocoapodsPackageUpload) SetDependenciesUrl(v string) { +func (o *NugetPackageUploadResponse) SetDependenciesUrl(v string) { o.DependenciesUrl = &v } // GetDescription returns the Description field value if set, zero value otherwise. -func (o *CocoapodsPackageUpload) GetDescription() string { - if o == nil || o.Description == nil { +func (o *NugetPackageUploadResponse) GetDescription() string { + if o == nil || isNil(o.Description) { var ret string return ret } @@ -435,16 +407,16 @@ func (o *CocoapodsPackageUpload) GetDescription() string { // GetDescriptionOk returns a tuple with the Description field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *CocoapodsPackageUpload) GetDescriptionOk() (*string, bool) { - if o == nil || o.Description == nil { +func (o *NugetPackageUploadResponse) GetDescriptionOk() (*string, bool) { + if o == nil || isNil(o.Description) { return nil, false } return o.Description, true } // HasDescription returns a boolean if a field has been set. -func (o *CocoapodsPackageUpload) HasDescription() bool { - if o != nil && o.Description != nil { +func (o *NugetPackageUploadResponse) HasDescription() bool { + if o != nil && !isNil(o.Description) { return true } @@ -452,77 +424,88 @@ func (o *CocoapodsPackageUpload) HasDescription() bool { } // SetDescription gets a reference to the given string and assigns it to the Description field. -func (o *CocoapodsPackageUpload) SetDescription(v string) { +func (o *NugetPackageUploadResponse) SetDescription(v string) { o.Description = &v } -// GetDistro returns the Distro field value if set, zero value otherwise. -func (o *CocoapodsPackageUpload) GetDistro() map[string]interface{} { - if o == nil || o.Distro == nil { - var ret map[string]interface{} +// GetDistro returns the Distro field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *NugetPackageUploadResponse) GetDistro() Distribution { + if o == nil || isNil(o.Distro.Get()) { + var ret Distribution return ret } - return o.Distro + return *o.Distro.Get() } // GetDistroOk returns a tuple with the Distro field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *CocoapodsPackageUpload) GetDistroOk() (map[string]interface{}, bool) { - if o == nil || o.Distro == nil { +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *NugetPackageUploadResponse) GetDistroOk() (*Distribution, bool) { + if o == nil { return nil, false } - return o.Distro, true + return o.Distro.Get(), o.Distro.IsSet() } // HasDistro returns a boolean if a field has been set. -func (o *CocoapodsPackageUpload) HasDistro() bool { - if o != nil && o.Distro != nil { +func (o *NugetPackageUploadResponse) HasDistro() bool { + if o != nil && o.Distro.IsSet() { return true } return false } -// SetDistro gets a reference to the given map[string]interface{} and assigns it to the Distro field. -func (o *CocoapodsPackageUpload) SetDistro(v map[string]interface{}) { - o.Distro = v +// SetDistro gets a reference to the given NullableDistribution and assigns it to the Distro field. +func (o *NugetPackageUploadResponse) SetDistro(v Distribution) { + o.Distro.Set(&v) +} + +// SetDistroNil sets the value for Distro to be an explicit nil +func (o *NugetPackageUploadResponse) SetDistroNil() { + o.Distro.Set(nil) +} + +// UnsetDistro ensures that no value is present for Distro, not even an explicit nil +func (o *NugetPackageUploadResponse) UnsetDistro() { + o.Distro.Unset() } // GetDistroVersion returns the DistroVersion field value if set, zero value otherwise. -func (o *CocoapodsPackageUpload) GetDistroVersion() map[string]interface{} { - if o == nil || o.DistroVersion == nil { - var ret map[string]interface{} +func (o *NugetPackageUploadResponse) GetDistroVersion() DistributionVersion { + if o == nil || isNil(o.DistroVersion) { + var ret DistributionVersion return ret } - return o.DistroVersion + return *o.DistroVersion } // GetDistroVersionOk returns a tuple with the DistroVersion field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *CocoapodsPackageUpload) GetDistroVersionOk() (map[string]interface{}, bool) { - if o == nil || o.DistroVersion == nil { +func (o *NugetPackageUploadResponse) GetDistroVersionOk() (*DistributionVersion, bool) { + if o == nil || isNil(o.DistroVersion) { return nil, false } return o.DistroVersion, true } // HasDistroVersion returns a boolean if a field has been set. -func (o *CocoapodsPackageUpload) HasDistroVersion() bool { - if o != nil && o.DistroVersion != nil { +func (o *NugetPackageUploadResponse) HasDistroVersion() bool { + if o != nil && !isNil(o.DistroVersion) { return true } return false } -// SetDistroVersion gets a reference to the given map[string]interface{} and assigns it to the DistroVersion field. -func (o *CocoapodsPackageUpload) SetDistroVersion(v map[string]interface{}) { - o.DistroVersion = v +// SetDistroVersion gets a reference to the given DistributionVersion and assigns it to the DistroVersion field. +func (o *NugetPackageUploadResponse) SetDistroVersion(v DistributionVersion) { + o.DistroVersion = &v } // GetDownloads returns the Downloads field value if set, zero value otherwise. -func (o *CocoapodsPackageUpload) GetDownloads() int64 { - if o == nil || o.Downloads == nil { +func (o *NugetPackageUploadResponse) GetDownloads() int64 { + if o == nil || isNil(o.Downloads) { var ret int64 return ret } @@ -531,16 +514,16 @@ func (o *CocoapodsPackageUpload) GetDownloads() int64 { // GetDownloadsOk returns a tuple with the Downloads field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *CocoapodsPackageUpload) GetDownloadsOk() (*int64, bool) { - if o == nil || o.Downloads == nil { +func (o *NugetPackageUploadResponse) GetDownloadsOk() (*int64, bool) { + if o == nil || isNil(o.Downloads) { return nil, false } return o.Downloads, true } // HasDownloads returns a boolean if a field has been set. -func (o *CocoapodsPackageUpload) HasDownloads() bool { - if o != nil && o.Downloads != nil { +func (o *NugetPackageUploadResponse) HasDownloads() bool { + if o != nil && !isNil(o.Downloads) { return true } @@ -548,13 +531,13 @@ func (o *CocoapodsPackageUpload) HasDownloads() bool { } // SetDownloads gets a reference to the given int64 and assigns it to the Downloads field. -func (o *CocoapodsPackageUpload) SetDownloads(v int64) { +func (o *NugetPackageUploadResponse) SetDownloads(v int64) { o.Downloads = &v } // GetEpoch returns the Epoch field value if set, zero value otherwise. -func (o *CocoapodsPackageUpload) GetEpoch() int64 { - if o == nil || o.Epoch == nil { +func (o *NugetPackageUploadResponse) GetEpoch() int64 { + if o == nil || isNil(o.Epoch) { var ret int64 return ret } @@ -563,16 +546,16 @@ func (o *CocoapodsPackageUpload) GetEpoch() int64 { // GetEpochOk returns a tuple with the Epoch field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *CocoapodsPackageUpload) GetEpochOk() (*int64, bool) { - if o == nil || o.Epoch == nil { +func (o *NugetPackageUploadResponse) GetEpochOk() (*int64, bool) { + if o == nil || isNil(o.Epoch) { return nil, false } return o.Epoch, true } // HasEpoch returns a boolean if a field has been set. -func (o *CocoapodsPackageUpload) HasEpoch() bool { - if o != nil && o.Epoch != nil { +func (o *NugetPackageUploadResponse) HasEpoch() bool { + if o != nil && !isNil(o.Epoch) { return true } @@ -580,13 +563,13 @@ func (o *CocoapodsPackageUpload) HasEpoch() bool { } // SetEpoch gets a reference to the given int64 and assigns it to the Epoch field. -func (o *CocoapodsPackageUpload) SetEpoch(v int64) { +func (o *NugetPackageUploadResponse) SetEpoch(v int64) { o.Epoch = &v } // GetExtension returns the Extension field value if set, zero value otherwise. -func (o *CocoapodsPackageUpload) GetExtension() string { - if o == nil || o.Extension == nil { +func (o *NugetPackageUploadResponse) GetExtension() string { + if o == nil || isNil(o.Extension) { var ret string return ret } @@ -595,16 +578,16 @@ func (o *CocoapodsPackageUpload) GetExtension() string { // GetExtensionOk returns a tuple with the Extension field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *CocoapodsPackageUpload) GetExtensionOk() (*string, bool) { - if o == nil || o.Extension == nil { +func (o *NugetPackageUploadResponse) GetExtensionOk() (*string, bool) { + if o == nil || isNil(o.Extension) { return nil, false } return o.Extension, true } // HasExtension returns a boolean if a field has been set. -func (o *CocoapodsPackageUpload) HasExtension() bool { - if o != nil && o.Extension != nil { +func (o *NugetPackageUploadResponse) HasExtension() bool { + if o != nil && !isNil(o.Extension) { return true } @@ -612,13 +595,13 @@ func (o *CocoapodsPackageUpload) HasExtension() bool { } // SetExtension gets a reference to the given string and assigns it to the Extension field. -func (o *CocoapodsPackageUpload) SetExtension(v string) { +func (o *NugetPackageUploadResponse) SetExtension(v string) { o.Extension = &v } // GetFilename returns the Filename field value if set, zero value otherwise. -func (o *CocoapodsPackageUpload) GetFilename() string { - if o == nil || o.Filename == nil { +func (o *NugetPackageUploadResponse) GetFilename() string { + if o == nil || isNil(o.Filename) { var ret string return ret } @@ -627,16 +610,16 @@ func (o *CocoapodsPackageUpload) GetFilename() string { // GetFilenameOk returns a tuple with the Filename field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *CocoapodsPackageUpload) GetFilenameOk() (*string, bool) { - if o == nil || o.Filename == nil { +func (o *NugetPackageUploadResponse) GetFilenameOk() (*string, bool) { + if o == nil || isNil(o.Filename) { return nil, false } return o.Filename, true } // HasFilename returns a boolean if a field has been set. -func (o *CocoapodsPackageUpload) HasFilename() bool { - if o != nil && o.Filename != nil { +func (o *NugetPackageUploadResponse) HasFilename() bool { + if o != nil && !isNil(o.Filename) { return true } @@ -644,14 +627,14 @@ func (o *CocoapodsPackageUpload) HasFilename() bool { } // SetFilename gets a reference to the given string and assigns it to the Filename field. -func (o *CocoapodsPackageUpload) SetFilename(v string) { +func (o *NugetPackageUploadResponse) SetFilename(v string) { o.Filename = &v } // GetFiles returns the Files field value if set, zero value otherwise. -func (o *CocoapodsPackageUpload) GetFiles() []PackagesOwnerRepoFiles { - if o == nil || o.Files == nil { - var ret []PackagesOwnerRepoFiles +func (o *NugetPackageUploadResponse) GetFiles() []PackageFile { + if o == nil || isNil(o.Files) { + var ret []PackageFile return ret } return o.Files @@ -659,30 +642,30 @@ func (o *CocoapodsPackageUpload) GetFiles() []PackagesOwnerRepoFiles { // GetFilesOk returns a tuple with the Files field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *CocoapodsPackageUpload) GetFilesOk() ([]PackagesOwnerRepoFiles, bool) { - if o == nil || o.Files == nil { +func (o *NugetPackageUploadResponse) GetFilesOk() ([]PackageFile, bool) { + if o == nil || isNil(o.Files) { return nil, false } return o.Files, true } // HasFiles returns a boolean if a field has been set. -func (o *CocoapodsPackageUpload) HasFiles() bool { - if o != nil && o.Files != nil { +func (o *NugetPackageUploadResponse) HasFiles() bool { + if o != nil && !isNil(o.Files) { return true } return false } -// SetFiles gets a reference to the given []PackagesOwnerRepoFiles and assigns it to the Files field. -func (o *CocoapodsPackageUpload) SetFiles(v []PackagesOwnerRepoFiles) { +// SetFiles gets a reference to the given []PackageFile and assigns it to the Files field. +func (o *NugetPackageUploadResponse) SetFiles(v []PackageFile) { o.Files = v } // GetFormat returns the Format field value if set, zero value otherwise. -func (o *CocoapodsPackageUpload) GetFormat() string { - if o == nil || o.Format == nil { +func (o *NugetPackageUploadResponse) GetFormat() string { + if o == nil || isNil(o.Format) { var ret string return ret } @@ -691,16 +674,16 @@ func (o *CocoapodsPackageUpload) GetFormat() string { // GetFormatOk returns a tuple with the Format field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *CocoapodsPackageUpload) GetFormatOk() (*string, bool) { - if o == nil || o.Format == nil { +func (o *NugetPackageUploadResponse) GetFormatOk() (*string, bool) { + if o == nil || isNil(o.Format) { return nil, false } return o.Format, true } // HasFormat returns a boolean if a field has been set. -func (o *CocoapodsPackageUpload) HasFormat() bool { - if o != nil && o.Format != nil { +func (o *NugetPackageUploadResponse) HasFormat() bool { + if o != nil && !isNil(o.Format) { return true } @@ -708,13 +691,13 @@ func (o *CocoapodsPackageUpload) HasFormat() bool { } // SetFormat gets a reference to the given string and assigns it to the Format field. -func (o *CocoapodsPackageUpload) SetFormat(v string) { +func (o *NugetPackageUploadResponse) SetFormat(v string) { o.Format = &v } // GetFormatUrl returns the FormatUrl field value if set, zero value otherwise. -func (o *CocoapodsPackageUpload) GetFormatUrl() string { - if o == nil || o.FormatUrl == nil { +func (o *NugetPackageUploadResponse) GetFormatUrl() string { + if o == nil || isNil(o.FormatUrl) { var ret string return ret } @@ -723,16 +706,16 @@ func (o *CocoapodsPackageUpload) GetFormatUrl() string { // GetFormatUrlOk returns a tuple with the FormatUrl field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *CocoapodsPackageUpload) GetFormatUrlOk() (*string, bool) { - if o == nil || o.FormatUrl == nil { +func (o *NugetPackageUploadResponse) GetFormatUrlOk() (*string, bool) { + if o == nil || isNil(o.FormatUrl) { return nil, false } return o.FormatUrl, true } // HasFormatUrl returns a boolean if a field has been set. -func (o *CocoapodsPackageUpload) HasFormatUrl() bool { - if o != nil && o.FormatUrl != nil { +func (o *NugetPackageUploadResponse) HasFormatUrl() bool { + if o != nil && !isNil(o.FormatUrl) { return true } @@ -740,13 +723,13 @@ func (o *CocoapodsPackageUpload) HasFormatUrl() bool { } // SetFormatUrl gets a reference to the given string and assigns it to the FormatUrl field. -func (o *CocoapodsPackageUpload) SetFormatUrl(v string) { +func (o *NugetPackageUploadResponse) SetFormatUrl(v string) { o.FormatUrl = &v } // GetIdentifierPerm returns the IdentifierPerm field value if set, zero value otherwise. -func (o *CocoapodsPackageUpload) GetIdentifierPerm() string { - if o == nil || o.IdentifierPerm == nil { +func (o *NugetPackageUploadResponse) GetIdentifierPerm() string { + if o == nil || isNil(o.IdentifierPerm) { var ret string return ret } @@ -755,16 +738,16 @@ func (o *CocoapodsPackageUpload) GetIdentifierPerm() string { // GetIdentifierPermOk returns a tuple with the IdentifierPerm field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *CocoapodsPackageUpload) GetIdentifierPermOk() (*string, bool) { - if o == nil || o.IdentifierPerm == nil { +func (o *NugetPackageUploadResponse) GetIdentifierPermOk() (*string, bool) { + if o == nil || isNil(o.IdentifierPerm) { return nil, false } return o.IdentifierPerm, true } // HasIdentifierPerm returns a boolean if a field has been set. -func (o *CocoapodsPackageUpload) HasIdentifierPerm() bool { - if o != nil && o.IdentifierPerm != nil { +func (o *NugetPackageUploadResponse) HasIdentifierPerm() bool { + if o != nil && !isNil(o.IdentifierPerm) { return true } @@ -772,13 +755,13 @@ func (o *CocoapodsPackageUpload) HasIdentifierPerm() bool { } // SetIdentifierPerm gets a reference to the given string and assigns it to the IdentifierPerm field. -func (o *CocoapodsPackageUpload) SetIdentifierPerm(v string) { +func (o *NugetPackageUploadResponse) SetIdentifierPerm(v string) { o.IdentifierPerm = &v } // GetIndexed returns the Indexed field value if set, zero value otherwise. -func (o *CocoapodsPackageUpload) GetIndexed() bool { - if o == nil || o.Indexed == nil { +func (o *NugetPackageUploadResponse) GetIndexed() bool { + if o == nil || isNil(o.Indexed) { var ret bool return ret } @@ -787,16 +770,16 @@ func (o *CocoapodsPackageUpload) GetIndexed() bool { // GetIndexedOk returns a tuple with the Indexed field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *CocoapodsPackageUpload) GetIndexedOk() (*bool, bool) { - if o == nil || o.Indexed == nil { +func (o *NugetPackageUploadResponse) GetIndexedOk() (*bool, bool) { + if o == nil || isNil(o.Indexed) { return nil, false } return o.Indexed, true } // HasIndexed returns a boolean if a field has been set. -func (o *CocoapodsPackageUpload) HasIndexed() bool { - if o != nil && o.Indexed != nil { +func (o *NugetPackageUploadResponse) HasIndexed() bool { + if o != nil && !isNil(o.Indexed) { return true } @@ -804,13 +787,13 @@ func (o *CocoapodsPackageUpload) HasIndexed() bool { } // SetIndexed gets a reference to the given bool and assigns it to the Indexed field. -func (o *CocoapodsPackageUpload) SetIndexed(v bool) { +func (o *NugetPackageUploadResponse) SetIndexed(v bool) { o.Indexed = &v } // GetIsDownloadable returns the IsDownloadable field value if set, zero value otherwise. -func (o *CocoapodsPackageUpload) GetIsDownloadable() bool { - if o == nil || o.IsDownloadable == nil { +func (o *NugetPackageUploadResponse) GetIsDownloadable() bool { + if o == nil || isNil(o.IsDownloadable) { var ret bool return ret } @@ -819,16 +802,16 @@ func (o *CocoapodsPackageUpload) GetIsDownloadable() bool { // GetIsDownloadableOk returns a tuple with the IsDownloadable field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *CocoapodsPackageUpload) GetIsDownloadableOk() (*bool, bool) { - if o == nil || o.IsDownloadable == nil { +func (o *NugetPackageUploadResponse) GetIsDownloadableOk() (*bool, bool) { + if o == nil || isNil(o.IsDownloadable) { return nil, false } return o.IsDownloadable, true } // HasIsDownloadable returns a boolean if a field has been set. -func (o *CocoapodsPackageUpload) HasIsDownloadable() bool { - if o != nil && o.IsDownloadable != nil { +func (o *NugetPackageUploadResponse) HasIsDownloadable() bool { + if o != nil && !isNil(o.IsDownloadable) { return true } @@ -836,13 +819,13 @@ func (o *CocoapodsPackageUpload) HasIsDownloadable() bool { } // SetIsDownloadable gets a reference to the given bool and assigns it to the IsDownloadable field. -func (o *CocoapodsPackageUpload) SetIsDownloadable(v bool) { +func (o *NugetPackageUploadResponse) SetIsDownloadable(v bool) { o.IsDownloadable = &v } // GetIsQuarantined returns the IsQuarantined field value if set, zero value otherwise. -func (o *CocoapodsPackageUpload) GetIsQuarantined() bool { - if o == nil || o.IsQuarantined == nil { +func (o *NugetPackageUploadResponse) GetIsQuarantined() bool { + if o == nil || isNil(o.IsQuarantined) { var ret bool return ret } @@ -851,16 +834,16 @@ func (o *CocoapodsPackageUpload) GetIsQuarantined() bool { // GetIsQuarantinedOk returns a tuple with the IsQuarantined field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *CocoapodsPackageUpload) GetIsQuarantinedOk() (*bool, bool) { - if o == nil || o.IsQuarantined == nil { +func (o *NugetPackageUploadResponse) GetIsQuarantinedOk() (*bool, bool) { + if o == nil || isNil(o.IsQuarantined) { return nil, false } return o.IsQuarantined, true } // HasIsQuarantined returns a boolean if a field has been set. -func (o *CocoapodsPackageUpload) HasIsQuarantined() bool { - if o != nil && o.IsQuarantined != nil { +func (o *NugetPackageUploadResponse) HasIsQuarantined() bool { + if o != nil && !isNil(o.IsQuarantined) { return true } @@ -868,13 +851,13 @@ func (o *CocoapodsPackageUpload) HasIsQuarantined() bool { } // SetIsQuarantined gets a reference to the given bool and assigns it to the IsQuarantined field. -func (o *CocoapodsPackageUpload) SetIsQuarantined(v bool) { +func (o *NugetPackageUploadResponse) SetIsQuarantined(v bool) { o.IsQuarantined = &v } // GetIsSyncAwaiting returns the IsSyncAwaiting field value if set, zero value otherwise. -func (o *CocoapodsPackageUpload) GetIsSyncAwaiting() bool { - if o == nil || o.IsSyncAwaiting == nil { +func (o *NugetPackageUploadResponse) GetIsSyncAwaiting() bool { + if o == nil || isNil(o.IsSyncAwaiting) { var ret bool return ret } @@ -883,16 +866,16 @@ func (o *CocoapodsPackageUpload) GetIsSyncAwaiting() bool { // GetIsSyncAwaitingOk returns a tuple with the IsSyncAwaiting field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *CocoapodsPackageUpload) GetIsSyncAwaitingOk() (*bool, bool) { - if o == nil || o.IsSyncAwaiting == nil { +func (o *NugetPackageUploadResponse) GetIsSyncAwaitingOk() (*bool, bool) { + if o == nil || isNil(o.IsSyncAwaiting) { return nil, false } return o.IsSyncAwaiting, true } // HasIsSyncAwaiting returns a boolean if a field has been set. -func (o *CocoapodsPackageUpload) HasIsSyncAwaiting() bool { - if o != nil && o.IsSyncAwaiting != nil { +func (o *NugetPackageUploadResponse) HasIsSyncAwaiting() bool { + if o != nil && !isNil(o.IsSyncAwaiting) { return true } @@ -900,13 +883,13 @@ func (o *CocoapodsPackageUpload) HasIsSyncAwaiting() bool { } // SetIsSyncAwaiting gets a reference to the given bool and assigns it to the IsSyncAwaiting field. -func (o *CocoapodsPackageUpload) SetIsSyncAwaiting(v bool) { +func (o *NugetPackageUploadResponse) SetIsSyncAwaiting(v bool) { o.IsSyncAwaiting = &v } // GetIsSyncCompleted returns the IsSyncCompleted field value if set, zero value otherwise. -func (o *CocoapodsPackageUpload) GetIsSyncCompleted() bool { - if o == nil || o.IsSyncCompleted == nil { +func (o *NugetPackageUploadResponse) GetIsSyncCompleted() bool { + if o == nil || isNil(o.IsSyncCompleted) { var ret bool return ret } @@ -915,16 +898,16 @@ func (o *CocoapodsPackageUpload) GetIsSyncCompleted() bool { // GetIsSyncCompletedOk returns a tuple with the IsSyncCompleted field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *CocoapodsPackageUpload) GetIsSyncCompletedOk() (*bool, bool) { - if o == nil || o.IsSyncCompleted == nil { +func (o *NugetPackageUploadResponse) GetIsSyncCompletedOk() (*bool, bool) { + if o == nil || isNil(o.IsSyncCompleted) { return nil, false } return o.IsSyncCompleted, true } // HasIsSyncCompleted returns a boolean if a field has been set. -func (o *CocoapodsPackageUpload) HasIsSyncCompleted() bool { - if o != nil && o.IsSyncCompleted != nil { +func (o *NugetPackageUploadResponse) HasIsSyncCompleted() bool { + if o != nil && !isNil(o.IsSyncCompleted) { return true } @@ -932,13 +915,13 @@ func (o *CocoapodsPackageUpload) HasIsSyncCompleted() bool { } // SetIsSyncCompleted gets a reference to the given bool and assigns it to the IsSyncCompleted field. -func (o *CocoapodsPackageUpload) SetIsSyncCompleted(v bool) { +func (o *NugetPackageUploadResponse) SetIsSyncCompleted(v bool) { o.IsSyncCompleted = &v } // GetIsSyncFailed returns the IsSyncFailed field value if set, zero value otherwise. -func (o *CocoapodsPackageUpload) GetIsSyncFailed() bool { - if o == nil || o.IsSyncFailed == nil { +func (o *NugetPackageUploadResponse) GetIsSyncFailed() bool { + if o == nil || isNil(o.IsSyncFailed) { var ret bool return ret } @@ -947,16 +930,16 @@ func (o *CocoapodsPackageUpload) GetIsSyncFailed() bool { // GetIsSyncFailedOk returns a tuple with the IsSyncFailed field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *CocoapodsPackageUpload) GetIsSyncFailedOk() (*bool, bool) { - if o == nil || o.IsSyncFailed == nil { +func (o *NugetPackageUploadResponse) GetIsSyncFailedOk() (*bool, bool) { + if o == nil || isNil(o.IsSyncFailed) { return nil, false } return o.IsSyncFailed, true } // HasIsSyncFailed returns a boolean if a field has been set. -func (o *CocoapodsPackageUpload) HasIsSyncFailed() bool { - if o != nil && o.IsSyncFailed != nil { +func (o *NugetPackageUploadResponse) HasIsSyncFailed() bool { + if o != nil && !isNil(o.IsSyncFailed) { return true } @@ -964,13 +947,13 @@ func (o *CocoapodsPackageUpload) HasIsSyncFailed() bool { } // SetIsSyncFailed gets a reference to the given bool and assigns it to the IsSyncFailed field. -func (o *CocoapodsPackageUpload) SetIsSyncFailed(v bool) { +func (o *NugetPackageUploadResponse) SetIsSyncFailed(v bool) { o.IsSyncFailed = &v } // GetIsSyncInFlight returns the IsSyncInFlight field value if set, zero value otherwise. -func (o *CocoapodsPackageUpload) GetIsSyncInFlight() bool { - if o == nil || o.IsSyncInFlight == nil { +func (o *NugetPackageUploadResponse) GetIsSyncInFlight() bool { + if o == nil || isNil(o.IsSyncInFlight) { var ret bool return ret } @@ -979,16 +962,16 @@ func (o *CocoapodsPackageUpload) GetIsSyncInFlight() bool { // GetIsSyncInFlightOk returns a tuple with the IsSyncInFlight field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *CocoapodsPackageUpload) GetIsSyncInFlightOk() (*bool, bool) { - if o == nil || o.IsSyncInFlight == nil { +func (o *NugetPackageUploadResponse) GetIsSyncInFlightOk() (*bool, bool) { + if o == nil || isNil(o.IsSyncInFlight) { return nil, false } return o.IsSyncInFlight, true } // HasIsSyncInFlight returns a boolean if a field has been set. -func (o *CocoapodsPackageUpload) HasIsSyncInFlight() bool { - if o != nil && o.IsSyncInFlight != nil { +func (o *NugetPackageUploadResponse) HasIsSyncInFlight() bool { + if o != nil && !isNil(o.IsSyncInFlight) { return true } @@ -996,13 +979,13 @@ func (o *CocoapodsPackageUpload) HasIsSyncInFlight() bool { } // SetIsSyncInFlight gets a reference to the given bool and assigns it to the IsSyncInFlight field. -func (o *CocoapodsPackageUpload) SetIsSyncInFlight(v bool) { +func (o *NugetPackageUploadResponse) SetIsSyncInFlight(v bool) { o.IsSyncInFlight = &v } // GetIsSyncInProgress returns the IsSyncInProgress field value if set, zero value otherwise. -func (o *CocoapodsPackageUpload) GetIsSyncInProgress() bool { - if o == nil || o.IsSyncInProgress == nil { +func (o *NugetPackageUploadResponse) GetIsSyncInProgress() bool { + if o == nil || isNil(o.IsSyncInProgress) { var ret bool return ret } @@ -1011,16 +994,16 @@ func (o *CocoapodsPackageUpload) GetIsSyncInProgress() bool { // GetIsSyncInProgressOk returns a tuple with the IsSyncInProgress field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *CocoapodsPackageUpload) GetIsSyncInProgressOk() (*bool, bool) { - if o == nil || o.IsSyncInProgress == nil { +func (o *NugetPackageUploadResponse) GetIsSyncInProgressOk() (*bool, bool) { + if o == nil || isNil(o.IsSyncInProgress) { return nil, false } return o.IsSyncInProgress, true } // HasIsSyncInProgress returns a boolean if a field has been set. -func (o *CocoapodsPackageUpload) HasIsSyncInProgress() bool { - if o != nil && o.IsSyncInProgress != nil { +func (o *NugetPackageUploadResponse) HasIsSyncInProgress() bool { + if o != nil && !isNil(o.IsSyncInProgress) { return true } @@ -1028,13 +1011,13 @@ func (o *CocoapodsPackageUpload) HasIsSyncInProgress() bool { } // SetIsSyncInProgress gets a reference to the given bool and assigns it to the IsSyncInProgress field. -func (o *CocoapodsPackageUpload) SetIsSyncInProgress(v bool) { +func (o *NugetPackageUploadResponse) SetIsSyncInProgress(v bool) { o.IsSyncInProgress = &v } // GetLicense returns the License field value if set, zero value otherwise. -func (o *CocoapodsPackageUpload) GetLicense() string { - if o == nil || o.License == nil { +func (o *NugetPackageUploadResponse) GetLicense() string { + if o == nil || isNil(o.License) { var ret string return ret } @@ -1043,16 +1026,16 @@ func (o *CocoapodsPackageUpload) GetLicense() string { // GetLicenseOk returns a tuple with the License field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *CocoapodsPackageUpload) GetLicenseOk() (*string, bool) { - if o == nil || o.License == nil { +func (o *NugetPackageUploadResponse) GetLicenseOk() (*string, bool) { + if o == nil || isNil(o.License) { return nil, false } return o.License, true } // HasLicense returns a boolean if a field has been set. -func (o *CocoapodsPackageUpload) HasLicense() bool { - if o != nil && o.License != nil { +func (o *NugetPackageUploadResponse) HasLicense() bool { + if o != nil && !isNil(o.License) { return true } @@ -1060,13 +1043,13 @@ func (o *CocoapodsPackageUpload) HasLicense() bool { } // SetLicense gets a reference to the given string and assigns it to the License field. -func (o *CocoapodsPackageUpload) SetLicense(v string) { +func (o *NugetPackageUploadResponse) SetLicense(v string) { o.License = &v } // GetName returns the Name field value if set, zero value otherwise. -func (o *CocoapodsPackageUpload) GetName() string { - if o == nil || o.Name == nil { +func (o *NugetPackageUploadResponse) GetName() string { + if o == nil || isNil(o.Name) { var ret string return ret } @@ -1075,16 +1058,16 @@ func (o *CocoapodsPackageUpload) GetName() string { // GetNameOk returns a tuple with the Name field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *CocoapodsPackageUpload) GetNameOk() (*string, bool) { - if o == nil || o.Name == nil { +func (o *NugetPackageUploadResponse) GetNameOk() (*string, bool) { + if o == nil || isNil(o.Name) { return nil, false } return o.Name, true } // HasName returns a boolean if a field has been set. -func (o *CocoapodsPackageUpload) HasName() bool { - if o != nil && o.Name != nil { +func (o *NugetPackageUploadResponse) HasName() bool { + if o != nil && !isNil(o.Name) { return true } @@ -1092,13 +1075,13 @@ func (o *CocoapodsPackageUpload) HasName() bool { } // SetName gets a reference to the given string and assigns it to the Name field. -func (o *CocoapodsPackageUpload) SetName(v string) { +func (o *NugetPackageUploadResponse) SetName(v string) { o.Name = &v } // GetNamespace returns the Namespace field value if set, zero value otherwise. -func (o *CocoapodsPackageUpload) GetNamespace() string { - if o == nil || o.Namespace == nil { +func (o *NugetPackageUploadResponse) GetNamespace() string { + if o == nil || isNil(o.Namespace) { var ret string return ret } @@ -1107,16 +1090,16 @@ func (o *CocoapodsPackageUpload) GetNamespace() string { // GetNamespaceOk returns a tuple with the Namespace field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *CocoapodsPackageUpload) GetNamespaceOk() (*string, bool) { - if o == nil || o.Namespace == nil { +func (o *NugetPackageUploadResponse) GetNamespaceOk() (*string, bool) { + if o == nil || isNil(o.Namespace) { return nil, false } return o.Namespace, true } // HasNamespace returns a boolean if a field has been set. -func (o *CocoapodsPackageUpload) HasNamespace() bool { - if o != nil && o.Namespace != nil { +func (o *NugetPackageUploadResponse) HasNamespace() bool { + if o != nil && !isNil(o.Namespace) { return true } @@ -1124,13 +1107,13 @@ func (o *CocoapodsPackageUpload) HasNamespace() bool { } // SetNamespace gets a reference to the given string and assigns it to the Namespace field. -func (o *CocoapodsPackageUpload) SetNamespace(v string) { +func (o *NugetPackageUploadResponse) SetNamespace(v string) { o.Namespace = &v } // GetNamespaceUrl returns the NamespaceUrl field value if set, zero value otherwise. -func (o *CocoapodsPackageUpload) GetNamespaceUrl() string { - if o == nil || o.NamespaceUrl == nil { +func (o *NugetPackageUploadResponse) GetNamespaceUrl() string { + if o == nil || isNil(o.NamespaceUrl) { var ret string return ret } @@ -1139,16 +1122,16 @@ func (o *CocoapodsPackageUpload) GetNamespaceUrl() string { // GetNamespaceUrlOk returns a tuple with the NamespaceUrl field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *CocoapodsPackageUpload) GetNamespaceUrlOk() (*string, bool) { - if o == nil || o.NamespaceUrl == nil { +func (o *NugetPackageUploadResponse) GetNamespaceUrlOk() (*string, bool) { + if o == nil || isNil(o.NamespaceUrl) { return nil, false } return o.NamespaceUrl, true } // HasNamespaceUrl returns a boolean if a field has been set. -func (o *CocoapodsPackageUpload) HasNamespaceUrl() bool { - if o != nil && o.NamespaceUrl != nil { +func (o *NugetPackageUploadResponse) HasNamespaceUrl() bool { + if o != nil && !isNil(o.NamespaceUrl) { return true } @@ -1156,13 +1139,13 @@ func (o *CocoapodsPackageUpload) HasNamespaceUrl() bool { } // SetNamespaceUrl gets a reference to the given string and assigns it to the NamespaceUrl field. -func (o *CocoapodsPackageUpload) SetNamespaceUrl(v string) { +func (o *NugetPackageUploadResponse) SetNamespaceUrl(v string) { o.NamespaceUrl = &v } // GetNumFiles returns the NumFiles field value if set, zero value otherwise. -func (o *CocoapodsPackageUpload) GetNumFiles() int64 { - if o == nil || o.NumFiles == nil { +func (o *NugetPackageUploadResponse) GetNumFiles() int64 { + if o == nil || isNil(o.NumFiles) { var ret int64 return ret } @@ -1171,16 +1154,16 @@ func (o *CocoapodsPackageUpload) GetNumFiles() int64 { // GetNumFilesOk returns a tuple with the NumFiles field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *CocoapodsPackageUpload) GetNumFilesOk() (*int64, bool) { - if o == nil || o.NumFiles == nil { +func (o *NugetPackageUploadResponse) GetNumFilesOk() (*int64, bool) { + if o == nil || isNil(o.NumFiles) { return nil, false } return o.NumFiles, true } // HasNumFiles returns a boolean if a field has been set. -func (o *CocoapodsPackageUpload) HasNumFiles() bool { - if o != nil && o.NumFiles != nil { +func (o *NugetPackageUploadResponse) HasNumFiles() bool { + if o != nil && !isNil(o.NumFiles) { return true } @@ -1188,13 +1171,77 @@ func (o *CocoapodsPackageUpload) HasNumFiles() bool { } // SetNumFiles gets a reference to the given int64 and assigns it to the NumFiles field. -func (o *CocoapodsPackageUpload) SetNumFiles(v int64) { +func (o *NugetPackageUploadResponse) SetNumFiles(v int64) { o.NumFiles = &v } +// GetOriginRepository returns the OriginRepository field value if set, zero value otherwise. +func (o *NugetPackageUploadResponse) GetOriginRepository() string { + if o == nil || isNil(o.OriginRepository) { + var ret string + return ret + } + return *o.OriginRepository +} + +// GetOriginRepositoryOk returns a tuple with the OriginRepository field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *NugetPackageUploadResponse) GetOriginRepositoryOk() (*string, bool) { + if o == nil || isNil(o.OriginRepository) { + return nil, false + } + return o.OriginRepository, true +} + +// HasOriginRepository returns a boolean if a field has been set. +func (o *NugetPackageUploadResponse) HasOriginRepository() bool { + if o != nil && !isNil(o.OriginRepository) { + return true + } + + return false +} + +// SetOriginRepository gets a reference to the given string and assigns it to the OriginRepository field. +func (o *NugetPackageUploadResponse) SetOriginRepository(v string) { + o.OriginRepository = &v +} + +// GetOriginRepositoryUrl returns the OriginRepositoryUrl field value if set, zero value otherwise. +func (o *NugetPackageUploadResponse) GetOriginRepositoryUrl() string { + if o == nil || isNil(o.OriginRepositoryUrl) { + var ret string + return ret + } + return *o.OriginRepositoryUrl +} + +// GetOriginRepositoryUrlOk returns a tuple with the OriginRepositoryUrl field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *NugetPackageUploadResponse) GetOriginRepositoryUrlOk() (*string, bool) { + if o == nil || isNil(o.OriginRepositoryUrl) { + return nil, false + } + return o.OriginRepositoryUrl, true +} + +// HasOriginRepositoryUrl returns a boolean if a field has been set. +func (o *NugetPackageUploadResponse) HasOriginRepositoryUrl() bool { + if o != nil && !isNil(o.OriginRepositoryUrl) { + return true + } + + return false +} + +// SetOriginRepositoryUrl gets a reference to the given string and assigns it to the OriginRepositoryUrl field. +func (o *NugetPackageUploadResponse) SetOriginRepositoryUrl(v string) { + o.OriginRepositoryUrl = &v +} + // GetPackageType returns the PackageType field value if set, zero value otherwise. -func (o *CocoapodsPackageUpload) GetPackageType() int64 { - if o == nil || o.PackageType == nil { +func (o *NugetPackageUploadResponse) GetPackageType() int64 { + if o == nil || isNil(o.PackageType) { var ret int64 return ret } @@ -1203,16 +1250,16 @@ func (o *CocoapodsPackageUpload) GetPackageType() int64 { // GetPackageTypeOk returns a tuple with the PackageType field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *CocoapodsPackageUpload) GetPackageTypeOk() (*int64, bool) { - if o == nil || o.PackageType == nil { +func (o *NugetPackageUploadResponse) GetPackageTypeOk() (*int64, bool) { + if o == nil || isNil(o.PackageType) { return nil, false } return o.PackageType, true } // HasPackageType returns a boolean if a field has been set. -func (o *CocoapodsPackageUpload) HasPackageType() bool { - if o != nil && o.PackageType != nil { +func (o *NugetPackageUploadResponse) HasPackageType() bool { + if o != nil && !isNil(o.PackageType) { return true } @@ -1220,13 +1267,13 @@ func (o *CocoapodsPackageUpload) HasPackageType() bool { } // SetPackageType gets a reference to the given int64 and assigns it to the PackageType field. -func (o *CocoapodsPackageUpload) SetPackageType(v int64) { +func (o *NugetPackageUploadResponse) SetPackageType(v int64) { o.PackageType = &v } // GetRelease returns the Release field value if set, zero value otherwise. -func (o *CocoapodsPackageUpload) GetRelease() string { - if o == nil || o.Release == nil { +func (o *NugetPackageUploadResponse) GetRelease() string { + if o == nil || isNil(o.Release) { var ret string return ret } @@ -1235,16 +1282,16 @@ func (o *CocoapodsPackageUpload) GetRelease() string { // GetReleaseOk returns a tuple with the Release field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *CocoapodsPackageUpload) GetReleaseOk() (*string, bool) { - if o == nil || o.Release == nil { +func (o *NugetPackageUploadResponse) GetReleaseOk() (*string, bool) { + if o == nil || isNil(o.Release) { return nil, false } return o.Release, true } // HasRelease returns a boolean if a field has been set. -func (o *CocoapodsPackageUpload) HasRelease() bool { - if o != nil && o.Release != nil { +func (o *NugetPackageUploadResponse) HasRelease() bool { + if o != nil && !isNil(o.Release) { return true } @@ -1252,13 +1299,13 @@ func (o *CocoapodsPackageUpload) HasRelease() bool { } // SetRelease gets a reference to the given string and assigns it to the Release field. -func (o *CocoapodsPackageUpload) SetRelease(v string) { +func (o *NugetPackageUploadResponse) SetRelease(v string) { o.Release = &v } // GetRepository returns the Repository field value if set, zero value otherwise. -func (o *CocoapodsPackageUpload) GetRepository() string { - if o == nil || o.Repository == nil { +func (o *NugetPackageUploadResponse) GetRepository() string { + if o == nil || isNil(o.Repository) { var ret string return ret } @@ -1267,16 +1314,16 @@ func (o *CocoapodsPackageUpload) GetRepository() string { // GetRepositoryOk returns a tuple with the Repository field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *CocoapodsPackageUpload) GetRepositoryOk() (*string, bool) { - if o == nil || o.Repository == nil { +func (o *NugetPackageUploadResponse) GetRepositoryOk() (*string, bool) { + if o == nil || isNil(o.Repository) { return nil, false } return o.Repository, true } // HasRepository returns a boolean if a field has been set. -func (o *CocoapodsPackageUpload) HasRepository() bool { - if o != nil && o.Repository != nil { +func (o *NugetPackageUploadResponse) HasRepository() bool { + if o != nil && !isNil(o.Repository) { return true } @@ -1284,13 +1331,13 @@ func (o *CocoapodsPackageUpload) HasRepository() bool { } // SetRepository gets a reference to the given string and assigns it to the Repository field. -func (o *CocoapodsPackageUpload) SetRepository(v string) { +func (o *NugetPackageUploadResponse) SetRepository(v string) { o.Repository = &v } // GetRepositoryUrl returns the RepositoryUrl field value if set, zero value otherwise. -func (o *CocoapodsPackageUpload) GetRepositoryUrl() string { - if o == nil || o.RepositoryUrl == nil { +func (o *NugetPackageUploadResponse) GetRepositoryUrl() string { + if o == nil || isNil(o.RepositoryUrl) { var ret string return ret } @@ -1299,16 +1346,16 @@ func (o *CocoapodsPackageUpload) GetRepositoryUrl() string { // GetRepositoryUrlOk returns a tuple with the RepositoryUrl field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *CocoapodsPackageUpload) GetRepositoryUrlOk() (*string, bool) { - if o == nil || o.RepositoryUrl == nil { +func (o *NugetPackageUploadResponse) GetRepositoryUrlOk() (*string, bool) { + if o == nil || isNil(o.RepositoryUrl) { return nil, false } return o.RepositoryUrl, true } // HasRepositoryUrl returns a boolean if a field has been set. -func (o *CocoapodsPackageUpload) HasRepositoryUrl() bool { - if o != nil && o.RepositoryUrl != nil { +func (o *NugetPackageUploadResponse) HasRepositoryUrl() bool { + if o != nil && !isNil(o.RepositoryUrl) { return true } @@ -1316,14 +1363,14 @@ func (o *CocoapodsPackageUpload) HasRepositoryUrl() bool { } // SetRepositoryUrl gets a reference to the given string and assigns it to the RepositoryUrl field. -func (o *CocoapodsPackageUpload) SetRepositoryUrl(v string) { +func (o *NugetPackageUploadResponse) SetRepositoryUrl(v string) { o.RepositoryUrl = &v } // GetSecurityScanCompletedAt returns the SecurityScanCompletedAt field value if set, zero value otherwise. -func (o *CocoapodsPackageUpload) GetSecurityScanCompletedAt() string { - if o == nil || o.SecurityScanCompletedAt == nil { - var ret string +func (o *NugetPackageUploadResponse) GetSecurityScanCompletedAt() time.Time { + if o == nil || isNil(o.SecurityScanCompletedAt) { + var ret time.Time return ret } return *o.SecurityScanCompletedAt @@ -1331,31 +1378,31 @@ func (o *CocoapodsPackageUpload) GetSecurityScanCompletedAt() string { // GetSecurityScanCompletedAtOk returns a tuple with the SecurityScanCompletedAt field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *CocoapodsPackageUpload) GetSecurityScanCompletedAtOk() (*string, bool) { - if o == nil || o.SecurityScanCompletedAt == nil { +func (o *NugetPackageUploadResponse) GetSecurityScanCompletedAtOk() (*time.Time, bool) { + if o == nil || isNil(o.SecurityScanCompletedAt) { return nil, false } return o.SecurityScanCompletedAt, true } // HasSecurityScanCompletedAt returns a boolean if a field has been set. -func (o *CocoapodsPackageUpload) HasSecurityScanCompletedAt() bool { - if o != nil && o.SecurityScanCompletedAt != nil { +func (o *NugetPackageUploadResponse) HasSecurityScanCompletedAt() bool { + if o != nil && !isNil(o.SecurityScanCompletedAt) { return true } return false } -// SetSecurityScanCompletedAt gets a reference to the given string and assigns it to the SecurityScanCompletedAt field. -func (o *CocoapodsPackageUpload) SetSecurityScanCompletedAt(v string) { +// SetSecurityScanCompletedAt gets a reference to the given time.Time and assigns it to the SecurityScanCompletedAt field. +func (o *NugetPackageUploadResponse) SetSecurityScanCompletedAt(v time.Time) { o.SecurityScanCompletedAt = &v } // GetSecurityScanStartedAt returns the SecurityScanStartedAt field value if set, zero value otherwise. -func (o *CocoapodsPackageUpload) GetSecurityScanStartedAt() string { - if o == nil || o.SecurityScanStartedAt == nil { - var ret string +func (o *NugetPackageUploadResponse) GetSecurityScanStartedAt() time.Time { + if o == nil || isNil(o.SecurityScanStartedAt) { + var ret time.Time return ret } return *o.SecurityScanStartedAt @@ -1363,63 +1410,74 @@ func (o *CocoapodsPackageUpload) GetSecurityScanStartedAt() string { // GetSecurityScanStartedAtOk returns a tuple with the SecurityScanStartedAt field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *CocoapodsPackageUpload) GetSecurityScanStartedAtOk() (*string, bool) { - if o == nil || o.SecurityScanStartedAt == nil { +func (o *NugetPackageUploadResponse) GetSecurityScanStartedAtOk() (*time.Time, bool) { + if o == nil || isNil(o.SecurityScanStartedAt) { return nil, false } return o.SecurityScanStartedAt, true } // HasSecurityScanStartedAt returns a boolean if a field has been set. -func (o *CocoapodsPackageUpload) HasSecurityScanStartedAt() bool { - if o != nil && o.SecurityScanStartedAt != nil { +func (o *NugetPackageUploadResponse) HasSecurityScanStartedAt() bool { + if o != nil && !isNil(o.SecurityScanStartedAt) { return true } return false } -// SetSecurityScanStartedAt gets a reference to the given string and assigns it to the SecurityScanStartedAt field. -func (o *CocoapodsPackageUpload) SetSecurityScanStartedAt(v string) { +// SetSecurityScanStartedAt gets a reference to the given time.Time and assigns it to the SecurityScanStartedAt field. +func (o *NugetPackageUploadResponse) SetSecurityScanStartedAt(v time.Time) { o.SecurityScanStartedAt = &v } -// GetSecurityScanStatus returns the SecurityScanStatus field value if set, zero value otherwise. -func (o *CocoapodsPackageUpload) GetSecurityScanStatus() string { - if o == nil || o.SecurityScanStatus == nil { +// GetSecurityScanStatus returns the SecurityScanStatus field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *NugetPackageUploadResponse) GetSecurityScanStatus() string { + if o == nil || isNil(o.SecurityScanStatus.Get()) { var ret string return ret } - return *o.SecurityScanStatus + return *o.SecurityScanStatus.Get() } // GetSecurityScanStatusOk returns a tuple with the SecurityScanStatus field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *CocoapodsPackageUpload) GetSecurityScanStatusOk() (*string, bool) { - if o == nil || o.SecurityScanStatus == nil { +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *NugetPackageUploadResponse) GetSecurityScanStatusOk() (*string, bool) { + if o == nil { return nil, false } - return o.SecurityScanStatus, true + return o.SecurityScanStatus.Get(), o.SecurityScanStatus.IsSet() } // HasSecurityScanStatus returns a boolean if a field has been set. -func (o *CocoapodsPackageUpload) HasSecurityScanStatus() bool { - if o != nil && o.SecurityScanStatus != nil { +func (o *NugetPackageUploadResponse) HasSecurityScanStatus() bool { + if o != nil && o.SecurityScanStatus.IsSet() { return true } return false } -// SetSecurityScanStatus gets a reference to the given string and assigns it to the SecurityScanStatus field. -func (o *CocoapodsPackageUpload) SetSecurityScanStatus(v string) { - o.SecurityScanStatus = &v +// SetSecurityScanStatus gets a reference to the given NullableString and assigns it to the SecurityScanStatus field. +func (o *NugetPackageUploadResponse) SetSecurityScanStatus(v string) { + o.SecurityScanStatus.Set(&v) +} + +// SetSecurityScanStatusNil sets the value for SecurityScanStatus to be an explicit nil +func (o *NugetPackageUploadResponse) SetSecurityScanStatusNil() { + o.SecurityScanStatus.Set(nil) +} + +// UnsetSecurityScanStatus ensures that no value is present for SecurityScanStatus, not even an explicit nil +func (o *NugetPackageUploadResponse) UnsetSecurityScanStatus() { + o.SecurityScanStatus.Unset() } // GetSecurityScanStatusUpdatedAt returns the SecurityScanStatusUpdatedAt field value if set, zero value otherwise. -func (o *CocoapodsPackageUpload) GetSecurityScanStatusUpdatedAt() string { - if o == nil || o.SecurityScanStatusUpdatedAt == nil { - var ret string +func (o *NugetPackageUploadResponse) GetSecurityScanStatusUpdatedAt() time.Time { + if o == nil || isNil(o.SecurityScanStatusUpdatedAt) { + var ret time.Time return ret } return *o.SecurityScanStatusUpdatedAt @@ -1427,30 +1485,30 @@ func (o *CocoapodsPackageUpload) GetSecurityScanStatusUpdatedAt() string { // GetSecurityScanStatusUpdatedAtOk returns a tuple with the SecurityScanStatusUpdatedAt field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *CocoapodsPackageUpload) GetSecurityScanStatusUpdatedAtOk() (*string, bool) { - if o == nil || o.SecurityScanStatusUpdatedAt == nil { +func (o *NugetPackageUploadResponse) GetSecurityScanStatusUpdatedAtOk() (*time.Time, bool) { + if o == nil || isNil(o.SecurityScanStatusUpdatedAt) { return nil, false } return o.SecurityScanStatusUpdatedAt, true } // HasSecurityScanStatusUpdatedAt returns a boolean if a field has been set. -func (o *CocoapodsPackageUpload) HasSecurityScanStatusUpdatedAt() bool { - if o != nil && o.SecurityScanStatusUpdatedAt != nil { +func (o *NugetPackageUploadResponse) HasSecurityScanStatusUpdatedAt() bool { + if o != nil && !isNil(o.SecurityScanStatusUpdatedAt) { return true } return false } -// SetSecurityScanStatusUpdatedAt gets a reference to the given string and assigns it to the SecurityScanStatusUpdatedAt field. -func (o *CocoapodsPackageUpload) SetSecurityScanStatusUpdatedAt(v string) { +// SetSecurityScanStatusUpdatedAt gets a reference to the given time.Time and assigns it to the SecurityScanStatusUpdatedAt field. +func (o *NugetPackageUploadResponse) SetSecurityScanStatusUpdatedAt(v time.Time) { o.SecurityScanStatusUpdatedAt = &v } // GetSelfHtmlUrl returns the SelfHtmlUrl field value if set, zero value otherwise. -func (o *CocoapodsPackageUpload) GetSelfHtmlUrl() string { - if o == nil || o.SelfHtmlUrl == nil { +func (o *NugetPackageUploadResponse) GetSelfHtmlUrl() string { + if o == nil || isNil(o.SelfHtmlUrl) { var ret string return ret } @@ -1459,16 +1517,16 @@ func (o *CocoapodsPackageUpload) GetSelfHtmlUrl() string { // GetSelfHtmlUrlOk returns a tuple with the SelfHtmlUrl field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *CocoapodsPackageUpload) GetSelfHtmlUrlOk() (*string, bool) { - if o == nil || o.SelfHtmlUrl == nil { +func (o *NugetPackageUploadResponse) GetSelfHtmlUrlOk() (*string, bool) { + if o == nil || isNil(o.SelfHtmlUrl) { return nil, false } return o.SelfHtmlUrl, true } // HasSelfHtmlUrl returns a boolean if a field has been set. -func (o *CocoapodsPackageUpload) HasSelfHtmlUrl() bool { - if o != nil && o.SelfHtmlUrl != nil { +func (o *NugetPackageUploadResponse) HasSelfHtmlUrl() bool { + if o != nil && !isNil(o.SelfHtmlUrl) { return true } @@ -1476,13 +1534,13 @@ func (o *CocoapodsPackageUpload) HasSelfHtmlUrl() bool { } // SetSelfHtmlUrl gets a reference to the given string and assigns it to the SelfHtmlUrl field. -func (o *CocoapodsPackageUpload) SetSelfHtmlUrl(v string) { +func (o *NugetPackageUploadResponse) SetSelfHtmlUrl(v string) { o.SelfHtmlUrl = &v } // GetSelfUrl returns the SelfUrl field value if set, zero value otherwise. -func (o *CocoapodsPackageUpload) GetSelfUrl() string { - if o == nil || o.SelfUrl == nil { +func (o *NugetPackageUploadResponse) GetSelfUrl() string { + if o == nil || isNil(o.SelfUrl) { var ret string return ret } @@ -1491,16 +1549,16 @@ func (o *CocoapodsPackageUpload) GetSelfUrl() string { // GetSelfUrlOk returns a tuple with the SelfUrl field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *CocoapodsPackageUpload) GetSelfUrlOk() (*string, bool) { - if o == nil || o.SelfUrl == nil { +func (o *NugetPackageUploadResponse) GetSelfUrlOk() (*string, bool) { + if o == nil || isNil(o.SelfUrl) { return nil, false } return o.SelfUrl, true } // HasSelfUrl returns a boolean if a field has been set. -func (o *CocoapodsPackageUpload) HasSelfUrl() bool { - if o != nil && o.SelfUrl != nil { +func (o *NugetPackageUploadResponse) HasSelfUrl() bool { + if o != nil && !isNil(o.SelfUrl) { return true } @@ -1508,45 +1566,56 @@ func (o *CocoapodsPackageUpload) HasSelfUrl() bool { } // SetSelfUrl gets a reference to the given string and assigns it to the SelfUrl field. -func (o *CocoapodsPackageUpload) SetSelfUrl(v string) { +func (o *NugetPackageUploadResponse) SetSelfUrl(v string) { o.SelfUrl = &v } -// GetSignatureUrl returns the SignatureUrl field value if set, zero value otherwise. -func (o *CocoapodsPackageUpload) GetSignatureUrl() string { - if o == nil || o.SignatureUrl == nil { +// GetSignatureUrl returns the SignatureUrl field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *NugetPackageUploadResponse) GetSignatureUrl() string { + if o == nil || isNil(o.SignatureUrl.Get()) { var ret string return ret } - return *o.SignatureUrl + return *o.SignatureUrl.Get() } // GetSignatureUrlOk returns a tuple with the SignatureUrl field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *CocoapodsPackageUpload) GetSignatureUrlOk() (*string, bool) { - if o == nil || o.SignatureUrl == nil { +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *NugetPackageUploadResponse) GetSignatureUrlOk() (*string, bool) { + if o == nil { return nil, false } - return o.SignatureUrl, true + return o.SignatureUrl.Get(), o.SignatureUrl.IsSet() } // HasSignatureUrl returns a boolean if a field has been set. -func (o *CocoapodsPackageUpload) HasSignatureUrl() bool { - if o != nil && o.SignatureUrl != nil { +func (o *NugetPackageUploadResponse) HasSignatureUrl() bool { + if o != nil && o.SignatureUrl.IsSet() { return true } return false } -// SetSignatureUrl gets a reference to the given string and assigns it to the SignatureUrl field. -func (o *CocoapodsPackageUpload) SetSignatureUrl(v string) { - o.SignatureUrl = &v +// SetSignatureUrl gets a reference to the given NullableString and assigns it to the SignatureUrl field. +func (o *NugetPackageUploadResponse) SetSignatureUrl(v string) { + o.SignatureUrl.Set(&v) +} + +// SetSignatureUrlNil sets the value for SignatureUrl to be an explicit nil +func (o *NugetPackageUploadResponse) SetSignatureUrlNil() { + o.SignatureUrl.Set(nil) +} + +// UnsetSignatureUrl ensures that no value is present for SignatureUrl, not even an explicit nil +func (o *NugetPackageUploadResponse) UnsetSignatureUrl() { + o.SignatureUrl.Unset() } // GetSize returns the Size field value if set, zero value otherwise. -func (o *CocoapodsPackageUpload) GetSize() int64 { - if o == nil || o.Size == nil { +func (o *NugetPackageUploadResponse) GetSize() int64 { + if o == nil || isNil(o.Size) { var ret int64 return ret } @@ -1555,16 +1624,16 @@ func (o *CocoapodsPackageUpload) GetSize() int64 { // GetSizeOk returns a tuple with the Size field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *CocoapodsPackageUpload) GetSizeOk() (*int64, bool) { - if o == nil || o.Size == nil { +func (o *NugetPackageUploadResponse) GetSizeOk() (*int64, bool) { + if o == nil || isNil(o.Size) { return nil, false } return o.Size, true } // HasSize returns a boolean if a field has been set. -func (o *CocoapodsPackageUpload) HasSize() bool { - if o != nil && o.Size != nil { +func (o *NugetPackageUploadResponse) HasSize() bool { + if o != nil && !isNil(o.Size) { return true } @@ -1572,13 +1641,13 @@ func (o *CocoapodsPackageUpload) HasSize() bool { } // SetSize gets a reference to the given int64 and assigns it to the Size field. -func (o *CocoapodsPackageUpload) SetSize(v int64) { +func (o *NugetPackageUploadResponse) SetSize(v int64) { o.Size = &v } // GetSlug returns the Slug field value if set, zero value otherwise. -func (o *CocoapodsPackageUpload) GetSlug() string { - if o == nil || o.Slug == nil { +func (o *NugetPackageUploadResponse) GetSlug() string { + if o == nil || isNil(o.Slug) { var ret string return ret } @@ -1587,16 +1656,16 @@ func (o *CocoapodsPackageUpload) GetSlug() string { // GetSlugOk returns a tuple with the Slug field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *CocoapodsPackageUpload) GetSlugOk() (*string, bool) { - if o == nil || o.Slug == nil { +func (o *NugetPackageUploadResponse) GetSlugOk() (*string, bool) { + if o == nil || isNil(o.Slug) { return nil, false } return o.Slug, true } // HasSlug returns a boolean if a field has been set. -func (o *CocoapodsPackageUpload) HasSlug() bool { - if o != nil && o.Slug != nil { +func (o *NugetPackageUploadResponse) HasSlug() bool { + if o != nil && !isNil(o.Slug) { return true } @@ -1604,13 +1673,13 @@ func (o *CocoapodsPackageUpload) HasSlug() bool { } // SetSlug gets a reference to the given string and assigns it to the Slug field. -func (o *CocoapodsPackageUpload) SetSlug(v string) { +func (o *NugetPackageUploadResponse) SetSlug(v string) { o.Slug = &v } // GetSlugPerm returns the SlugPerm field value if set, zero value otherwise. -func (o *CocoapodsPackageUpload) GetSlugPerm() string { - if o == nil || o.SlugPerm == nil { +func (o *NugetPackageUploadResponse) GetSlugPerm() string { + if o == nil || isNil(o.SlugPerm) { var ret string return ret } @@ -1619,16 +1688,16 @@ func (o *CocoapodsPackageUpload) GetSlugPerm() string { // GetSlugPermOk returns a tuple with the SlugPerm field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *CocoapodsPackageUpload) GetSlugPermOk() (*string, bool) { - if o == nil || o.SlugPerm == nil { +func (o *NugetPackageUploadResponse) GetSlugPermOk() (*string, bool) { + if o == nil || isNil(o.SlugPerm) { return nil, false } return o.SlugPerm, true } // HasSlugPerm returns a boolean if a field has been set. -func (o *CocoapodsPackageUpload) HasSlugPerm() bool { - if o != nil && o.SlugPerm != nil { +func (o *NugetPackageUploadResponse) HasSlugPerm() bool { + if o != nil && !isNil(o.SlugPerm) { return true } @@ -1636,13 +1705,13 @@ func (o *CocoapodsPackageUpload) HasSlugPerm() bool { } // SetSlugPerm gets a reference to the given string and assigns it to the SlugPerm field. -func (o *CocoapodsPackageUpload) SetSlugPerm(v string) { +func (o *NugetPackageUploadResponse) SetSlugPerm(v string) { o.SlugPerm = &v } // GetStage returns the Stage field value if set, zero value otherwise. -func (o *CocoapodsPackageUpload) GetStage() int64 { - if o == nil || o.Stage == nil { +func (o *NugetPackageUploadResponse) GetStage() int64 { + if o == nil || isNil(o.Stage) { var ret int64 return ret } @@ -1651,16 +1720,16 @@ func (o *CocoapodsPackageUpload) GetStage() int64 { // GetStageOk returns a tuple with the Stage field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *CocoapodsPackageUpload) GetStageOk() (*int64, bool) { - if o == nil || o.Stage == nil { +func (o *NugetPackageUploadResponse) GetStageOk() (*int64, bool) { + if o == nil || isNil(o.Stage) { return nil, false } return o.Stage, true } // HasStage returns a boolean if a field has been set. -func (o *CocoapodsPackageUpload) HasStage() bool { - if o != nil && o.Stage != nil { +func (o *NugetPackageUploadResponse) HasStage() bool { + if o != nil && !isNil(o.Stage) { return true } @@ -1668,13 +1737,13 @@ func (o *CocoapodsPackageUpload) HasStage() bool { } // SetStage gets a reference to the given int64 and assigns it to the Stage field. -func (o *CocoapodsPackageUpload) SetStage(v int64) { +func (o *NugetPackageUploadResponse) SetStage(v int64) { o.Stage = &v } // GetStageStr returns the StageStr field value if set, zero value otherwise. -func (o *CocoapodsPackageUpload) GetStageStr() string { - if o == nil || o.StageStr == nil { +func (o *NugetPackageUploadResponse) GetStageStr() string { + if o == nil || isNil(o.StageStr) { var ret string return ret } @@ -1683,16 +1752,16 @@ func (o *CocoapodsPackageUpload) GetStageStr() string { // GetStageStrOk returns a tuple with the StageStr field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *CocoapodsPackageUpload) GetStageStrOk() (*string, bool) { - if o == nil || o.StageStr == nil { +func (o *NugetPackageUploadResponse) GetStageStrOk() (*string, bool) { + if o == nil || isNil(o.StageStr) { return nil, false } return o.StageStr, true } // HasStageStr returns a boolean if a field has been set. -func (o *CocoapodsPackageUpload) HasStageStr() bool { - if o != nil && o.StageStr != nil { +func (o *NugetPackageUploadResponse) HasStageStr() bool { + if o != nil && !isNil(o.StageStr) { return true } @@ -1700,14 +1769,14 @@ func (o *CocoapodsPackageUpload) HasStageStr() bool { } // SetStageStr gets a reference to the given string and assigns it to the StageStr field. -func (o *CocoapodsPackageUpload) SetStageStr(v string) { +func (o *NugetPackageUploadResponse) SetStageStr(v string) { o.StageStr = &v } // GetStageUpdatedAt returns the StageUpdatedAt field value if set, zero value otherwise. -func (o *CocoapodsPackageUpload) GetStageUpdatedAt() string { - if o == nil || o.StageUpdatedAt == nil { - var ret string +func (o *NugetPackageUploadResponse) GetStageUpdatedAt() time.Time { + if o == nil || isNil(o.StageUpdatedAt) { + var ret time.Time return ret } return *o.StageUpdatedAt @@ -1715,30 +1784,30 @@ func (o *CocoapodsPackageUpload) GetStageUpdatedAt() string { // GetStageUpdatedAtOk returns a tuple with the StageUpdatedAt field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *CocoapodsPackageUpload) GetStageUpdatedAtOk() (*string, bool) { - if o == nil || o.StageUpdatedAt == nil { +func (o *NugetPackageUploadResponse) GetStageUpdatedAtOk() (*time.Time, bool) { + if o == nil || isNil(o.StageUpdatedAt) { return nil, false } return o.StageUpdatedAt, true } // HasStageUpdatedAt returns a boolean if a field has been set. -func (o *CocoapodsPackageUpload) HasStageUpdatedAt() bool { - if o != nil && o.StageUpdatedAt != nil { +func (o *NugetPackageUploadResponse) HasStageUpdatedAt() bool { + if o != nil && !isNil(o.StageUpdatedAt) { return true } return false } -// SetStageUpdatedAt gets a reference to the given string and assigns it to the StageUpdatedAt field. -func (o *CocoapodsPackageUpload) SetStageUpdatedAt(v string) { +// SetStageUpdatedAt gets a reference to the given time.Time and assigns it to the StageUpdatedAt field. +func (o *NugetPackageUploadResponse) SetStageUpdatedAt(v time.Time) { o.StageUpdatedAt = &v } // GetStatus returns the Status field value if set, zero value otherwise. -func (o *CocoapodsPackageUpload) GetStatus() int64 { - if o == nil || o.Status == nil { +func (o *NugetPackageUploadResponse) GetStatus() int64 { + if o == nil || isNil(o.Status) { var ret int64 return ret } @@ -1747,16 +1816,16 @@ func (o *CocoapodsPackageUpload) GetStatus() int64 { // GetStatusOk returns a tuple with the Status field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *CocoapodsPackageUpload) GetStatusOk() (*int64, bool) { - if o == nil || o.Status == nil { +func (o *NugetPackageUploadResponse) GetStatusOk() (*int64, bool) { + if o == nil || isNil(o.Status) { return nil, false } return o.Status, true } // HasStatus returns a boolean if a field has been set. -func (o *CocoapodsPackageUpload) HasStatus() bool { - if o != nil && o.Status != nil { +func (o *NugetPackageUploadResponse) HasStatus() bool { + if o != nil && !isNil(o.Status) { return true } @@ -1764,13 +1833,13 @@ func (o *CocoapodsPackageUpload) HasStatus() bool { } // SetStatus gets a reference to the given int64 and assigns it to the Status field. -func (o *CocoapodsPackageUpload) SetStatus(v int64) { +func (o *NugetPackageUploadResponse) SetStatus(v int64) { o.Status = &v } // GetStatusReason returns the StatusReason field value if set, zero value otherwise. -func (o *CocoapodsPackageUpload) GetStatusReason() string { - if o == nil || o.StatusReason == nil { +func (o *NugetPackageUploadResponse) GetStatusReason() string { + if o == nil || isNil(o.StatusReason) { var ret string return ret } @@ -1779,16 +1848,16 @@ func (o *CocoapodsPackageUpload) GetStatusReason() string { // GetStatusReasonOk returns a tuple with the StatusReason field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *CocoapodsPackageUpload) GetStatusReasonOk() (*string, bool) { - if o == nil || o.StatusReason == nil { +func (o *NugetPackageUploadResponse) GetStatusReasonOk() (*string, bool) { + if o == nil || isNil(o.StatusReason) { return nil, false } return o.StatusReason, true } // HasStatusReason returns a boolean if a field has been set. -func (o *CocoapodsPackageUpload) HasStatusReason() bool { - if o != nil && o.StatusReason != nil { +func (o *NugetPackageUploadResponse) HasStatusReason() bool { + if o != nil && !isNil(o.StatusReason) { return true } @@ -1796,13 +1865,13 @@ func (o *CocoapodsPackageUpload) HasStatusReason() bool { } // SetStatusReason gets a reference to the given string and assigns it to the StatusReason field. -func (o *CocoapodsPackageUpload) SetStatusReason(v string) { +func (o *NugetPackageUploadResponse) SetStatusReason(v string) { o.StatusReason = &v } // GetStatusStr returns the StatusStr field value if set, zero value otherwise. -func (o *CocoapodsPackageUpload) GetStatusStr() string { - if o == nil || o.StatusStr == nil { +func (o *NugetPackageUploadResponse) GetStatusStr() string { + if o == nil || isNil(o.StatusStr) { var ret string return ret } @@ -1811,16 +1880,16 @@ func (o *CocoapodsPackageUpload) GetStatusStr() string { // GetStatusStrOk returns a tuple with the StatusStr field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *CocoapodsPackageUpload) GetStatusStrOk() (*string, bool) { - if o == nil || o.StatusStr == nil { +func (o *NugetPackageUploadResponse) GetStatusStrOk() (*string, bool) { + if o == nil || isNil(o.StatusStr) { return nil, false } return o.StatusStr, true } // HasStatusStr returns a boolean if a field has been set. -func (o *CocoapodsPackageUpload) HasStatusStr() bool { - if o != nil && o.StatusStr != nil { +func (o *NugetPackageUploadResponse) HasStatusStr() bool { + if o != nil && !isNil(o.StatusStr) { return true } @@ -1828,14 +1897,14 @@ func (o *CocoapodsPackageUpload) HasStatusStr() bool { } // SetStatusStr gets a reference to the given string and assigns it to the StatusStr field. -func (o *CocoapodsPackageUpload) SetStatusStr(v string) { +func (o *NugetPackageUploadResponse) SetStatusStr(v string) { o.StatusStr = &v } // GetStatusUpdatedAt returns the StatusUpdatedAt field value if set, zero value otherwise. -func (o *CocoapodsPackageUpload) GetStatusUpdatedAt() string { - if o == nil || o.StatusUpdatedAt == nil { - var ret string +func (o *NugetPackageUploadResponse) GetStatusUpdatedAt() time.Time { + if o == nil || isNil(o.StatusUpdatedAt) { + var ret time.Time return ret } return *o.StatusUpdatedAt @@ -1843,30 +1912,30 @@ func (o *CocoapodsPackageUpload) GetStatusUpdatedAt() string { // GetStatusUpdatedAtOk returns a tuple with the StatusUpdatedAt field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *CocoapodsPackageUpload) GetStatusUpdatedAtOk() (*string, bool) { - if o == nil || o.StatusUpdatedAt == nil { +func (o *NugetPackageUploadResponse) GetStatusUpdatedAtOk() (*time.Time, bool) { + if o == nil || isNil(o.StatusUpdatedAt) { return nil, false } return o.StatusUpdatedAt, true } // HasStatusUpdatedAt returns a boolean if a field has been set. -func (o *CocoapodsPackageUpload) HasStatusUpdatedAt() bool { - if o != nil && o.StatusUpdatedAt != nil { +func (o *NugetPackageUploadResponse) HasStatusUpdatedAt() bool { + if o != nil && !isNil(o.StatusUpdatedAt) { return true } return false } -// SetStatusUpdatedAt gets a reference to the given string and assigns it to the StatusUpdatedAt field. -func (o *CocoapodsPackageUpload) SetStatusUpdatedAt(v string) { +// SetStatusUpdatedAt gets a reference to the given time.Time and assigns it to the StatusUpdatedAt field. +func (o *NugetPackageUploadResponse) SetStatusUpdatedAt(v time.Time) { o.StatusUpdatedAt = &v } // GetStatusUrl returns the StatusUrl field value if set, zero value otherwise. -func (o *CocoapodsPackageUpload) GetStatusUrl() string { - if o == nil || o.StatusUrl == nil { +func (o *NugetPackageUploadResponse) GetStatusUrl() string { + if o == nil || isNil(o.StatusUrl) { var ret string return ret } @@ -1875,16 +1944,16 @@ func (o *CocoapodsPackageUpload) GetStatusUrl() string { // GetStatusUrlOk returns a tuple with the StatusUrl field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *CocoapodsPackageUpload) GetStatusUrlOk() (*string, bool) { - if o == nil || o.StatusUrl == nil { +func (o *NugetPackageUploadResponse) GetStatusUrlOk() (*string, bool) { + if o == nil || isNil(o.StatusUrl) { return nil, false } return o.StatusUrl, true } // HasStatusUrl returns a boolean if a field has been set. -func (o *CocoapodsPackageUpload) HasStatusUrl() bool { - if o != nil && o.StatusUrl != nil { +func (o *NugetPackageUploadResponse) HasStatusUrl() bool { + if o != nil && !isNil(o.StatusUrl) { return true } @@ -1892,13 +1961,13 @@ func (o *CocoapodsPackageUpload) HasStatusUrl() bool { } // SetStatusUrl gets a reference to the given string and assigns it to the StatusUrl field. -func (o *CocoapodsPackageUpload) SetStatusUrl(v string) { +func (o *NugetPackageUploadResponse) SetStatusUrl(v string) { o.StatusUrl = &v } // GetSubtype returns the Subtype field value if set, zero value otherwise. -func (o *CocoapodsPackageUpload) GetSubtype() string { - if o == nil || o.Subtype == nil { +func (o *NugetPackageUploadResponse) GetSubtype() string { + if o == nil || isNil(o.Subtype) { var ret string return ret } @@ -1907,16 +1976,16 @@ func (o *CocoapodsPackageUpload) GetSubtype() string { // GetSubtypeOk returns a tuple with the Subtype field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *CocoapodsPackageUpload) GetSubtypeOk() (*string, bool) { - if o == nil || o.Subtype == nil { +func (o *NugetPackageUploadResponse) GetSubtypeOk() (*string, bool) { + if o == nil || isNil(o.Subtype) { return nil, false } return o.Subtype, true } // HasSubtype returns a boolean if a field has been set. -func (o *CocoapodsPackageUpload) HasSubtype() bool { - if o != nil && o.Subtype != nil { +func (o *NugetPackageUploadResponse) HasSubtype() bool { + if o != nil && !isNil(o.Subtype) { return true } @@ -1924,13 +1993,13 @@ func (o *CocoapodsPackageUpload) HasSubtype() bool { } // SetSubtype gets a reference to the given string and assigns it to the Subtype field. -func (o *CocoapodsPackageUpload) SetSubtype(v string) { +func (o *NugetPackageUploadResponse) SetSubtype(v string) { o.Subtype = &v } // GetSummary returns the Summary field value if set, zero value otherwise. -func (o *CocoapodsPackageUpload) GetSummary() string { - if o == nil || o.Summary == nil { +func (o *NugetPackageUploadResponse) GetSummary() string { + if o == nil || isNil(o.Summary) { var ret string return ret } @@ -1939,16 +2008,16 @@ func (o *CocoapodsPackageUpload) GetSummary() string { // GetSummaryOk returns a tuple with the Summary field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *CocoapodsPackageUpload) GetSummaryOk() (*string, bool) { - if o == nil || o.Summary == nil { +func (o *NugetPackageUploadResponse) GetSummaryOk() (*string, bool) { + if o == nil || isNil(o.Summary) { return nil, false } return o.Summary, true } // HasSummary returns a boolean if a field has been set. -func (o *CocoapodsPackageUpload) HasSummary() bool { - if o != nil && o.Summary != nil { +func (o *NugetPackageUploadResponse) HasSummary() bool { + if o != nil && !isNil(o.Summary) { return true } @@ -1956,14 +2025,14 @@ func (o *CocoapodsPackageUpload) HasSummary() bool { } // SetSummary gets a reference to the given string and assigns it to the Summary field. -func (o *CocoapodsPackageUpload) SetSummary(v string) { +func (o *NugetPackageUploadResponse) SetSummary(v string) { o.Summary = &v } // GetSyncFinishedAt returns the SyncFinishedAt field value if set, zero value otherwise. -func (o *CocoapodsPackageUpload) GetSyncFinishedAt() string { - if o == nil || o.SyncFinishedAt == nil { - var ret string +func (o *NugetPackageUploadResponse) GetSyncFinishedAt() time.Time { + if o == nil || isNil(o.SyncFinishedAt) { + var ret time.Time return ret } return *o.SyncFinishedAt @@ -1971,30 +2040,30 @@ func (o *CocoapodsPackageUpload) GetSyncFinishedAt() string { // GetSyncFinishedAtOk returns a tuple with the SyncFinishedAt field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *CocoapodsPackageUpload) GetSyncFinishedAtOk() (*string, bool) { - if o == nil || o.SyncFinishedAt == nil { +func (o *NugetPackageUploadResponse) GetSyncFinishedAtOk() (*time.Time, bool) { + if o == nil || isNil(o.SyncFinishedAt) { return nil, false } return o.SyncFinishedAt, true } // HasSyncFinishedAt returns a boolean if a field has been set. -func (o *CocoapodsPackageUpload) HasSyncFinishedAt() bool { - if o != nil && o.SyncFinishedAt != nil { +func (o *NugetPackageUploadResponse) HasSyncFinishedAt() bool { + if o != nil && !isNil(o.SyncFinishedAt) { return true } return false } -// SetSyncFinishedAt gets a reference to the given string and assigns it to the SyncFinishedAt field. -func (o *CocoapodsPackageUpload) SetSyncFinishedAt(v string) { +// SetSyncFinishedAt gets a reference to the given time.Time and assigns it to the SyncFinishedAt field. +func (o *NugetPackageUploadResponse) SetSyncFinishedAt(v time.Time) { o.SyncFinishedAt = &v } // GetSyncProgress returns the SyncProgress field value if set, zero value otherwise. -func (o *CocoapodsPackageUpload) GetSyncProgress() int64 { - if o == nil || o.SyncProgress == nil { +func (o *NugetPackageUploadResponse) GetSyncProgress() int64 { + if o == nil || isNil(o.SyncProgress) { var ret int64 return ret } @@ -2003,16 +2072,16 @@ func (o *CocoapodsPackageUpload) GetSyncProgress() int64 { // GetSyncProgressOk returns a tuple with the SyncProgress field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *CocoapodsPackageUpload) GetSyncProgressOk() (*int64, bool) { - if o == nil || o.SyncProgress == nil { +func (o *NugetPackageUploadResponse) GetSyncProgressOk() (*int64, bool) { + if o == nil || isNil(o.SyncProgress) { return nil, false } return o.SyncProgress, true } // HasSyncProgress returns a boolean if a field has been set. -func (o *CocoapodsPackageUpload) HasSyncProgress() bool { - if o != nil && o.SyncProgress != nil { +func (o *NugetPackageUploadResponse) HasSyncProgress() bool { + if o != nil && !isNil(o.SyncProgress) { return true } @@ -2020,13 +2089,13 @@ func (o *CocoapodsPackageUpload) HasSyncProgress() bool { } // SetSyncProgress gets a reference to the given int64 and assigns it to the SyncProgress field. -func (o *CocoapodsPackageUpload) SetSyncProgress(v int64) { +func (o *NugetPackageUploadResponse) SetSyncProgress(v int64) { o.SyncProgress = &v } // GetTagsImmutable returns the TagsImmutable field value if set, zero value otherwise. -func (o *CocoapodsPackageUpload) GetTagsImmutable() map[string]interface{} { - if o == nil || o.TagsImmutable == nil { +func (o *NugetPackageUploadResponse) GetTagsImmutable() map[string]interface{} { + if o == nil || isNil(o.TagsImmutable) { var ret map[string]interface{} return ret } @@ -2035,16 +2104,16 @@ func (o *CocoapodsPackageUpload) GetTagsImmutable() map[string]interface{} { // GetTagsImmutableOk returns a tuple with the TagsImmutable field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *CocoapodsPackageUpload) GetTagsImmutableOk() (map[string]interface{}, bool) { - if o == nil || o.TagsImmutable == nil { - return nil, false +func (o *NugetPackageUploadResponse) GetTagsImmutableOk() (map[string]interface{}, bool) { + if o == nil || isNil(o.TagsImmutable) { + return map[string]interface{}{}, false } return o.TagsImmutable, true } // HasTagsImmutable returns a boolean if a field has been set. -func (o *CocoapodsPackageUpload) HasTagsImmutable() bool { - if o != nil && o.TagsImmutable != nil { +func (o *NugetPackageUploadResponse) HasTagsImmutable() bool { + if o != nil && !isNil(o.TagsImmutable) { return true } @@ -2052,13 +2121,13 @@ func (o *CocoapodsPackageUpload) HasTagsImmutable() bool { } // SetTagsImmutable gets a reference to the given map[string]interface{} and assigns it to the TagsImmutable field. -func (o *CocoapodsPackageUpload) SetTagsImmutable(v map[string]interface{}) { +func (o *NugetPackageUploadResponse) SetTagsImmutable(v map[string]interface{}) { o.TagsImmutable = v } // GetTypeDisplay returns the TypeDisplay field value if set, zero value otherwise. -func (o *CocoapodsPackageUpload) GetTypeDisplay() string { - if o == nil || o.TypeDisplay == nil { +func (o *NugetPackageUploadResponse) GetTypeDisplay() string { + if o == nil || isNil(o.TypeDisplay) { var ret string return ret } @@ -2067,16 +2136,16 @@ func (o *CocoapodsPackageUpload) GetTypeDisplay() string { // GetTypeDisplayOk returns a tuple with the TypeDisplay field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *CocoapodsPackageUpload) GetTypeDisplayOk() (*string, bool) { - if o == nil || o.TypeDisplay == nil { +func (o *NugetPackageUploadResponse) GetTypeDisplayOk() (*string, bool) { + if o == nil || isNil(o.TypeDisplay) { return nil, false } return o.TypeDisplay, true } // HasTypeDisplay returns a boolean if a field has been set. -func (o *CocoapodsPackageUpload) HasTypeDisplay() bool { - if o != nil && o.TypeDisplay != nil { +func (o *NugetPackageUploadResponse) HasTypeDisplay() bool { + if o != nil && !isNil(o.TypeDisplay) { return true } @@ -2084,14 +2153,14 @@ func (o *CocoapodsPackageUpload) HasTypeDisplay() bool { } // SetTypeDisplay gets a reference to the given string and assigns it to the TypeDisplay field. -func (o *CocoapodsPackageUpload) SetTypeDisplay(v string) { +func (o *NugetPackageUploadResponse) SetTypeDisplay(v string) { o.TypeDisplay = &v } // GetUploadedAt returns the UploadedAt field value if set, zero value otherwise. -func (o *CocoapodsPackageUpload) GetUploadedAt() string { - if o == nil || o.UploadedAt == nil { - var ret string +func (o *NugetPackageUploadResponse) GetUploadedAt() time.Time { + if o == nil || isNil(o.UploadedAt) { + var ret time.Time return ret } return *o.UploadedAt @@ -2099,30 +2168,30 @@ func (o *CocoapodsPackageUpload) GetUploadedAt() string { // GetUploadedAtOk returns a tuple with the UploadedAt field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *CocoapodsPackageUpload) GetUploadedAtOk() (*string, bool) { - if o == nil || o.UploadedAt == nil { +func (o *NugetPackageUploadResponse) GetUploadedAtOk() (*time.Time, bool) { + if o == nil || isNil(o.UploadedAt) { return nil, false } return o.UploadedAt, true } // HasUploadedAt returns a boolean if a field has been set. -func (o *CocoapodsPackageUpload) HasUploadedAt() bool { - if o != nil && o.UploadedAt != nil { +func (o *NugetPackageUploadResponse) HasUploadedAt() bool { + if o != nil && !isNil(o.UploadedAt) { return true } return false } -// SetUploadedAt gets a reference to the given string and assigns it to the UploadedAt field. -func (o *CocoapodsPackageUpload) SetUploadedAt(v string) { +// SetUploadedAt gets a reference to the given time.Time and assigns it to the UploadedAt field. +func (o *NugetPackageUploadResponse) SetUploadedAt(v time.Time) { o.UploadedAt = &v } // GetUploader returns the Uploader field value if set, zero value otherwise. -func (o *CocoapodsPackageUpload) GetUploader() string { - if o == nil || o.Uploader == nil { +func (o *NugetPackageUploadResponse) GetUploader() string { + if o == nil || isNil(o.Uploader) { var ret string return ret } @@ -2131,16 +2200,16 @@ func (o *CocoapodsPackageUpload) GetUploader() string { // GetUploaderOk returns a tuple with the Uploader field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *CocoapodsPackageUpload) GetUploaderOk() (*string, bool) { - if o == nil || o.Uploader == nil { +func (o *NugetPackageUploadResponse) GetUploaderOk() (*string, bool) { + if o == nil || isNil(o.Uploader) { return nil, false } return o.Uploader, true } // HasUploader returns a boolean if a field has been set. -func (o *CocoapodsPackageUpload) HasUploader() bool { - if o != nil && o.Uploader != nil { +func (o *NugetPackageUploadResponse) HasUploader() bool { + if o != nil && !isNil(o.Uploader) { return true } @@ -2148,13 +2217,13 @@ func (o *CocoapodsPackageUpload) HasUploader() bool { } // SetUploader gets a reference to the given string and assigns it to the Uploader field. -func (o *CocoapodsPackageUpload) SetUploader(v string) { +func (o *NugetPackageUploadResponse) SetUploader(v string) { o.Uploader = &v } // GetUploaderUrl returns the UploaderUrl field value if set, zero value otherwise. -func (o *CocoapodsPackageUpload) GetUploaderUrl() string { - if o == nil || o.UploaderUrl == nil { +func (o *NugetPackageUploadResponse) GetUploaderUrl() string { + if o == nil || isNil(o.UploaderUrl) { var ret string return ret } @@ -2163,16 +2232,16 @@ func (o *CocoapodsPackageUpload) GetUploaderUrl() string { // GetUploaderUrlOk returns a tuple with the UploaderUrl field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *CocoapodsPackageUpload) GetUploaderUrlOk() (*string, bool) { - if o == nil || o.UploaderUrl == nil { +func (o *NugetPackageUploadResponse) GetUploaderUrlOk() (*string, bool) { + if o == nil || isNil(o.UploaderUrl) { return nil, false } return o.UploaderUrl, true } // HasUploaderUrl returns a boolean if a field has been set. -func (o *CocoapodsPackageUpload) HasUploaderUrl() bool { - if o != nil && o.UploaderUrl != nil { +func (o *NugetPackageUploadResponse) HasUploaderUrl() bool { + if o != nil && !isNil(o.UploaderUrl) { return true } @@ -2180,13 +2249,13 @@ func (o *CocoapodsPackageUpload) HasUploaderUrl() bool { } // SetUploaderUrl gets a reference to the given string and assigns it to the UploaderUrl field. -func (o *CocoapodsPackageUpload) SetUploaderUrl(v string) { +func (o *NugetPackageUploadResponse) SetUploaderUrl(v string) { o.UploaderUrl = &v } // GetVersion returns the Version field value if set, zero value otherwise. -func (o *CocoapodsPackageUpload) GetVersion() string { - if o == nil || o.Version == nil { +func (o *NugetPackageUploadResponse) GetVersion() string { + if o == nil || isNil(o.Version) { var ret string return ret } @@ -2195,16 +2264,16 @@ func (o *CocoapodsPackageUpload) GetVersion() string { // GetVersionOk returns a tuple with the Version field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *CocoapodsPackageUpload) GetVersionOk() (*string, bool) { - if o == nil || o.Version == nil { +func (o *NugetPackageUploadResponse) GetVersionOk() (*string, bool) { + if o == nil || isNil(o.Version) { return nil, false } return o.Version, true } // HasVersion returns a boolean if a field has been set. -func (o *CocoapodsPackageUpload) HasVersion() bool { - if o != nil && o.Version != nil { +func (o *NugetPackageUploadResponse) HasVersion() bool { + if o != nil && !isNil(o.Version) { return true } @@ -2212,13 +2281,13 @@ func (o *CocoapodsPackageUpload) HasVersion() bool { } // SetVersion gets a reference to the given string and assigns it to the Version field. -func (o *CocoapodsPackageUpload) SetVersion(v string) { +func (o *NugetPackageUploadResponse) SetVersion(v string) { o.Version = &v } // GetVersionOrig returns the VersionOrig field value if set, zero value otherwise. -func (o *CocoapodsPackageUpload) GetVersionOrig() string { - if o == nil || o.VersionOrig == nil { +func (o *NugetPackageUploadResponse) GetVersionOrig() string { + if o == nil || isNil(o.VersionOrig) { var ret string return ret } @@ -2227,16 +2296,16 @@ func (o *CocoapodsPackageUpload) GetVersionOrig() string { // GetVersionOrigOk returns a tuple with the VersionOrig field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *CocoapodsPackageUpload) GetVersionOrigOk() (*string, bool) { - if o == nil || o.VersionOrig == nil { +func (o *NugetPackageUploadResponse) GetVersionOrigOk() (*string, bool) { + if o == nil || isNil(o.VersionOrig) { return nil, false } return o.VersionOrig, true } // HasVersionOrig returns a boolean if a field has been set. -func (o *CocoapodsPackageUpload) HasVersionOrig() bool { - if o != nil && o.VersionOrig != nil { +func (o *NugetPackageUploadResponse) HasVersionOrig() bool { + if o != nil && !isNil(o.VersionOrig) { return true } @@ -2244,13 +2313,13 @@ func (o *CocoapodsPackageUpload) HasVersionOrig() bool { } // SetVersionOrig gets a reference to the given string and assigns it to the VersionOrig field. -func (o *CocoapodsPackageUpload) SetVersionOrig(v string) { +func (o *NugetPackageUploadResponse) SetVersionOrig(v string) { o.VersionOrig = &v } // GetVulnerabilityScanResultsUrl returns the VulnerabilityScanResultsUrl field value if set, zero value otherwise. -func (o *CocoapodsPackageUpload) GetVulnerabilityScanResultsUrl() string { - if o == nil || o.VulnerabilityScanResultsUrl == nil { +func (o *NugetPackageUploadResponse) GetVulnerabilityScanResultsUrl() string { + if o == nil || isNil(o.VulnerabilityScanResultsUrl) { var ret string return ret } @@ -2259,16 +2328,16 @@ func (o *CocoapodsPackageUpload) GetVulnerabilityScanResultsUrl() string { // GetVulnerabilityScanResultsUrlOk returns a tuple with the VulnerabilityScanResultsUrl field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *CocoapodsPackageUpload) GetVulnerabilityScanResultsUrlOk() (*string, bool) { - if o == nil || o.VulnerabilityScanResultsUrl == nil { +func (o *NugetPackageUploadResponse) GetVulnerabilityScanResultsUrlOk() (*string, bool) { + if o == nil || isNil(o.VulnerabilityScanResultsUrl) { return nil, false } return o.VulnerabilityScanResultsUrl, true } // HasVulnerabilityScanResultsUrl returns a boolean if a field has been set. -func (o *CocoapodsPackageUpload) HasVulnerabilityScanResultsUrl() bool { - if o != nil && o.VulnerabilityScanResultsUrl != nil { +func (o *NugetPackageUploadResponse) HasVulnerabilityScanResultsUrl() bool { + if o != nil && !isNil(o.VulnerabilityScanResultsUrl) { return true } @@ -2276,245 +2345,251 @@ func (o *CocoapodsPackageUpload) HasVulnerabilityScanResultsUrl() bool { } // SetVulnerabilityScanResultsUrl gets a reference to the given string and assigns it to the VulnerabilityScanResultsUrl field. -func (o *CocoapodsPackageUpload) SetVulnerabilityScanResultsUrl(v string) { +func (o *NugetPackageUploadResponse) SetVulnerabilityScanResultsUrl(v string) { o.VulnerabilityScanResultsUrl = &v } -func (o CocoapodsPackageUpload) MarshalJSON() ([]byte, error) { +func (o NugetPackageUploadResponse) MarshalJSON() ([]byte, error) { toSerialize := map[string]interface{}{} - if o.Architectures != nil { + if !isNil(o.Architectures) { toSerialize["architectures"] = o.Architectures } - if o.CdnUrl != nil { - toSerialize["cdn_url"] = o.CdnUrl + if o.CdnUrl.IsSet() { + toSerialize["cdn_url"] = o.CdnUrl.Get() } - if o.ChecksumMd5 != nil { + if !isNil(o.ChecksumMd5) { toSerialize["checksum_md5"] = o.ChecksumMd5 } - if o.ChecksumSha1 != nil { + if !isNil(o.ChecksumSha1) { toSerialize["checksum_sha1"] = o.ChecksumSha1 } - if o.ChecksumSha256 != nil { + if !isNil(o.ChecksumSha256) { toSerialize["checksum_sha256"] = o.ChecksumSha256 } - if o.ChecksumSha512 != nil { + if !isNil(o.ChecksumSha512) { toSerialize["checksum_sha512"] = o.ChecksumSha512 } - if o.DependenciesChecksumMd5 != nil { + if !isNil(o.DependenciesChecksumMd5) { toSerialize["dependencies_checksum_md5"] = o.DependenciesChecksumMd5 } - if o.DependenciesUrl != nil { + if !isNil(o.DependenciesUrl) { toSerialize["dependencies_url"] = o.DependenciesUrl } - if o.Description != nil { + if !isNil(o.Description) { toSerialize["description"] = o.Description } - if o.Distro != nil { - toSerialize["distro"] = o.Distro + if o.Distro.IsSet() { + toSerialize["distro"] = o.Distro.Get() } - if o.DistroVersion != nil { + if !isNil(o.DistroVersion) { toSerialize["distro_version"] = o.DistroVersion } - if o.Downloads != nil { + if !isNil(o.Downloads) { toSerialize["downloads"] = o.Downloads } - if o.Epoch != nil { + if !isNil(o.Epoch) { toSerialize["epoch"] = o.Epoch } - if o.Extension != nil { + if !isNil(o.Extension) { toSerialize["extension"] = o.Extension } - if o.Filename != nil { + if !isNil(o.Filename) { toSerialize["filename"] = o.Filename } - if o.Files != nil { + if !isNil(o.Files) { toSerialize["files"] = o.Files } - if o.Format != nil { + if !isNil(o.Format) { toSerialize["format"] = o.Format } - if o.FormatUrl != nil { + if !isNil(o.FormatUrl) { toSerialize["format_url"] = o.FormatUrl } - if o.IdentifierPerm != nil { + if !isNil(o.IdentifierPerm) { toSerialize["identifier_perm"] = o.IdentifierPerm } - if o.Indexed != nil { + if !isNil(o.Indexed) { toSerialize["indexed"] = o.Indexed } - if o.IsDownloadable != nil { + if !isNil(o.IsDownloadable) { toSerialize["is_downloadable"] = o.IsDownloadable } - if o.IsQuarantined != nil { + if !isNil(o.IsQuarantined) { toSerialize["is_quarantined"] = o.IsQuarantined } - if o.IsSyncAwaiting != nil { + if !isNil(o.IsSyncAwaiting) { toSerialize["is_sync_awaiting"] = o.IsSyncAwaiting } - if o.IsSyncCompleted != nil { + if !isNil(o.IsSyncCompleted) { toSerialize["is_sync_completed"] = o.IsSyncCompleted } - if o.IsSyncFailed != nil { + if !isNil(o.IsSyncFailed) { toSerialize["is_sync_failed"] = o.IsSyncFailed } - if o.IsSyncInFlight != nil { + if !isNil(o.IsSyncInFlight) { toSerialize["is_sync_in_flight"] = o.IsSyncInFlight } - if o.IsSyncInProgress != nil { + if !isNil(o.IsSyncInProgress) { toSerialize["is_sync_in_progress"] = o.IsSyncInProgress } - if o.License != nil { + if !isNil(o.License) { toSerialize["license"] = o.License } - if o.Name != nil { + if !isNil(o.Name) { toSerialize["name"] = o.Name } - if o.Namespace != nil { + if !isNil(o.Namespace) { toSerialize["namespace"] = o.Namespace } - if o.NamespaceUrl != nil { + if !isNil(o.NamespaceUrl) { toSerialize["namespace_url"] = o.NamespaceUrl } - if o.NumFiles != nil { + if !isNil(o.NumFiles) { toSerialize["num_files"] = o.NumFiles } - if o.PackageType != nil { + if !isNil(o.OriginRepository) { + toSerialize["origin_repository"] = o.OriginRepository + } + if !isNil(o.OriginRepositoryUrl) { + toSerialize["origin_repository_url"] = o.OriginRepositoryUrl + } + if !isNil(o.PackageType) { toSerialize["package_type"] = o.PackageType } - if o.Release != nil { + if !isNil(o.Release) { toSerialize["release"] = o.Release } - if o.Repository != nil { + if !isNil(o.Repository) { toSerialize["repository"] = o.Repository } - if o.RepositoryUrl != nil { + if !isNil(o.RepositoryUrl) { toSerialize["repository_url"] = o.RepositoryUrl } - if o.SecurityScanCompletedAt != nil { + if !isNil(o.SecurityScanCompletedAt) { toSerialize["security_scan_completed_at"] = o.SecurityScanCompletedAt } - if o.SecurityScanStartedAt != nil { + if !isNil(o.SecurityScanStartedAt) { toSerialize["security_scan_started_at"] = o.SecurityScanStartedAt } - if o.SecurityScanStatus != nil { - toSerialize["security_scan_status"] = o.SecurityScanStatus + if o.SecurityScanStatus.IsSet() { + toSerialize["security_scan_status"] = o.SecurityScanStatus.Get() } - if o.SecurityScanStatusUpdatedAt != nil { + if !isNil(o.SecurityScanStatusUpdatedAt) { toSerialize["security_scan_status_updated_at"] = o.SecurityScanStatusUpdatedAt } - if o.SelfHtmlUrl != nil { + if !isNil(o.SelfHtmlUrl) { toSerialize["self_html_url"] = o.SelfHtmlUrl } - if o.SelfUrl != nil { + if !isNil(o.SelfUrl) { toSerialize["self_url"] = o.SelfUrl } - if o.SignatureUrl != nil { - toSerialize["signature_url"] = o.SignatureUrl + if o.SignatureUrl.IsSet() { + toSerialize["signature_url"] = o.SignatureUrl.Get() } - if o.Size != nil { + if !isNil(o.Size) { toSerialize["size"] = o.Size } - if o.Slug != nil { + if !isNil(o.Slug) { toSerialize["slug"] = o.Slug } - if o.SlugPerm != nil { + if !isNil(o.SlugPerm) { toSerialize["slug_perm"] = o.SlugPerm } - if o.Stage != nil { + if !isNil(o.Stage) { toSerialize["stage"] = o.Stage } - if o.StageStr != nil { + if !isNil(o.StageStr) { toSerialize["stage_str"] = o.StageStr } - if o.StageUpdatedAt != nil { + if !isNil(o.StageUpdatedAt) { toSerialize["stage_updated_at"] = o.StageUpdatedAt } - if o.Status != nil { + if !isNil(o.Status) { toSerialize["status"] = o.Status } - if o.StatusReason != nil { + if !isNil(o.StatusReason) { toSerialize["status_reason"] = o.StatusReason } - if o.StatusStr != nil { + if !isNil(o.StatusStr) { toSerialize["status_str"] = o.StatusStr } - if o.StatusUpdatedAt != nil { + if !isNil(o.StatusUpdatedAt) { toSerialize["status_updated_at"] = o.StatusUpdatedAt } - if o.StatusUrl != nil { + if !isNil(o.StatusUrl) { toSerialize["status_url"] = o.StatusUrl } - if o.Subtype != nil { + if !isNil(o.Subtype) { toSerialize["subtype"] = o.Subtype } - if o.Summary != nil { + if !isNil(o.Summary) { toSerialize["summary"] = o.Summary } - if o.SyncFinishedAt != nil { + if !isNil(o.SyncFinishedAt) { toSerialize["sync_finished_at"] = o.SyncFinishedAt } - if o.SyncProgress != nil { + if !isNil(o.SyncProgress) { toSerialize["sync_progress"] = o.SyncProgress } - if o.TagsImmutable != nil { + if !isNil(o.TagsImmutable) { toSerialize["tags_immutable"] = o.TagsImmutable } - if o.TypeDisplay != nil { + if !isNil(o.TypeDisplay) { toSerialize["type_display"] = o.TypeDisplay } - if o.UploadedAt != nil { + if !isNil(o.UploadedAt) { toSerialize["uploaded_at"] = o.UploadedAt } - if o.Uploader != nil { + if !isNil(o.Uploader) { toSerialize["uploader"] = o.Uploader } - if o.UploaderUrl != nil { + if !isNil(o.UploaderUrl) { toSerialize["uploader_url"] = o.UploaderUrl } - if o.Version != nil { + if !isNil(o.Version) { toSerialize["version"] = o.Version } - if o.VersionOrig != nil { + if !isNil(o.VersionOrig) { toSerialize["version_orig"] = o.VersionOrig } - if o.VulnerabilityScanResultsUrl != nil { + if !isNil(o.VulnerabilityScanResultsUrl) { toSerialize["vulnerability_scan_results_url"] = o.VulnerabilityScanResultsUrl } return json.Marshal(toSerialize) } -type NullableCocoapodsPackageUpload struct { - value *CocoapodsPackageUpload +type NullableNugetPackageUploadResponse struct { + value *NugetPackageUploadResponse isSet bool } -func (v NullableCocoapodsPackageUpload) Get() *CocoapodsPackageUpload { +func (v NullableNugetPackageUploadResponse) Get() *NugetPackageUploadResponse { return v.value } -func (v *NullableCocoapodsPackageUpload) Set(val *CocoapodsPackageUpload) { +func (v *NullableNugetPackageUploadResponse) Set(val *NugetPackageUploadResponse) { v.value = val v.isSet = true } -func (v NullableCocoapodsPackageUpload) IsSet() bool { +func (v NullableNugetPackageUploadResponse) IsSet() bool { return v.isSet } -func (v *NullableCocoapodsPackageUpload) Unset() { +func (v *NullableNugetPackageUploadResponse) Unset() { v.value = nil v.isSet = false } -func NewNullableCocoapodsPackageUpload(val *CocoapodsPackageUpload) *NullableCocoapodsPackageUpload { - return &NullableCocoapodsPackageUpload{value: val, isSet: true} +func NewNullableNugetPackageUploadResponse(val *NugetPackageUploadResponse) *NullableNugetPackageUploadResponse { + return &NullableNugetPackageUploadResponse{value: val, isSet: true} } -func (v NullableCocoapodsPackageUpload) MarshalJSON() ([]byte, error) { +func (v NullableNugetPackageUploadResponse) MarshalJSON() ([]byte, error) { return json.Marshal(v.value) } -func (v *NullableCocoapodsPackageUpload) UnmarshalJSON(src []byte) error { +func (v *NullableNugetPackageUploadResponse) UnmarshalJSON(src []byte) error { v.isSet = true return json.Unmarshal(src, &v.value) } diff --git a/model_orgs_saml_group_sync_create.go b/model_organization_group_sync_request.go similarity index 51% rename from model_orgs_saml_group_sync_create.go rename to model_organization_group_sync_request.go index cac9e62d..a9af1cc4 100644 --- a/model_orgs_saml_group_sync_create.go +++ b/model_organization_group_sync_request.go @@ -1,9 +1,9 @@ /* -Cloudsmith API +Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.121.3 +API version: 1.181.6 Contact: support@cloudsmith.io */ @@ -15,43 +15,43 @@ import ( "encoding/json" ) -// OrgsSamlGroupSyncCreate struct for OrgsSamlGroupSyncCreate -type OrgsSamlGroupSyncCreate struct { - // None - IdpKey string `json:"idp_key"` - // None - IdpValue string `json:"idp_value"` - // None +// OrganizationGroupSyncRequest struct for OrganizationGroupSyncRequest +type OrganizationGroupSyncRequest struct { + IdpKey string `json:"idp_key"` + IdpValue string `json:"idp_value"` Organization string `json:"organization"` - // User role within the team. A `manager` is capable of adding/removing others to/from the team, and can set the role of other users and other settings pertaining to the team. A 'member' is a normal user that inherits the settings and privileges assigned to the team. + // User role within the team. A `manager` is capable of adding/removing others to/from the team, and can set the role of other users and other settings pertaining to the team. A 'member' is a normal user that inherits the settings and privileges assigned to the team. Role *string `json:"role,omitempty"` - // None - Team string `json:"team"` + Team string `json:"team"` } -// NewOrgsSamlGroupSyncCreate instantiates a new OrgsSamlGroupSyncCreate object +// NewOrganizationGroupSyncRequest instantiates a new OrganizationGroupSyncRequest object // 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 NewOrgsSamlGroupSyncCreate(idpKey string, idpValue string, organization string, team string) *OrgsSamlGroupSyncCreate { - this := OrgsSamlGroupSyncCreate{} +func NewOrganizationGroupSyncRequest(idpKey string, idpValue string, organization string, team string) *OrganizationGroupSyncRequest { + this := OrganizationGroupSyncRequest{} this.IdpKey = idpKey this.IdpValue = idpValue this.Organization = organization + var role string = "Member" + this.Role = &role this.Team = team return &this } -// NewOrgsSamlGroupSyncCreateWithDefaults instantiates a new OrgsSamlGroupSyncCreate object +// NewOrganizationGroupSyncRequestWithDefaults instantiates a new OrganizationGroupSyncRequest object // This constructor will only assign default values to properties that have it defined, // but it doesn't guarantee that properties required by API are set -func NewOrgsSamlGroupSyncCreateWithDefaults() *OrgsSamlGroupSyncCreate { - this := OrgsSamlGroupSyncCreate{} +func NewOrganizationGroupSyncRequestWithDefaults() *OrganizationGroupSyncRequest { + this := OrganizationGroupSyncRequest{} + var role string = "Member" + this.Role = &role return &this } // GetIdpKey returns the IdpKey field value -func (o *OrgsSamlGroupSyncCreate) GetIdpKey() string { +func (o *OrganizationGroupSyncRequest) GetIdpKey() string { if o == nil { var ret string return ret @@ -62,7 +62,7 @@ func (o *OrgsSamlGroupSyncCreate) GetIdpKey() string { // GetIdpKeyOk returns a tuple with the IdpKey field value // and a boolean to check if the value has been set. -func (o *OrgsSamlGroupSyncCreate) GetIdpKeyOk() (*string, bool) { +func (o *OrganizationGroupSyncRequest) GetIdpKeyOk() (*string, bool) { if o == nil { return nil, false } @@ -70,12 +70,12 @@ func (o *OrgsSamlGroupSyncCreate) GetIdpKeyOk() (*string, bool) { } // SetIdpKey sets field value -func (o *OrgsSamlGroupSyncCreate) SetIdpKey(v string) { +func (o *OrganizationGroupSyncRequest) SetIdpKey(v string) { o.IdpKey = v } // GetIdpValue returns the IdpValue field value -func (o *OrgsSamlGroupSyncCreate) GetIdpValue() string { +func (o *OrganizationGroupSyncRequest) GetIdpValue() string { if o == nil { var ret string return ret @@ -86,7 +86,7 @@ func (o *OrgsSamlGroupSyncCreate) GetIdpValue() string { // GetIdpValueOk returns a tuple with the IdpValue field value // and a boolean to check if the value has been set. -func (o *OrgsSamlGroupSyncCreate) GetIdpValueOk() (*string, bool) { +func (o *OrganizationGroupSyncRequest) GetIdpValueOk() (*string, bool) { if o == nil { return nil, false } @@ -94,12 +94,12 @@ func (o *OrgsSamlGroupSyncCreate) GetIdpValueOk() (*string, bool) { } // SetIdpValue sets field value -func (o *OrgsSamlGroupSyncCreate) SetIdpValue(v string) { +func (o *OrganizationGroupSyncRequest) SetIdpValue(v string) { o.IdpValue = v } // GetOrganization returns the Organization field value -func (o *OrgsSamlGroupSyncCreate) GetOrganization() string { +func (o *OrganizationGroupSyncRequest) GetOrganization() string { if o == nil { var ret string return ret @@ -110,7 +110,7 @@ func (o *OrgsSamlGroupSyncCreate) GetOrganization() string { // GetOrganizationOk returns a tuple with the Organization field value // and a boolean to check if the value has been set. -func (o *OrgsSamlGroupSyncCreate) GetOrganizationOk() (*string, bool) { +func (o *OrganizationGroupSyncRequest) GetOrganizationOk() (*string, bool) { if o == nil { return nil, false } @@ -118,13 +118,13 @@ func (o *OrgsSamlGroupSyncCreate) GetOrganizationOk() (*string, bool) { } // SetOrganization sets field value -func (o *OrgsSamlGroupSyncCreate) SetOrganization(v string) { +func (o *OrganizationGroupSyncRequest) SetOrganization(v string) { o.Organization = v } // GetRole returns the Role field value if set, zero value otherwise. -func (o *OrgsSamlGroupSyncCreate) GetRole() string { - if o == nil || o.Role == nil { +func (o *OrganizationGroupSyncRequest) GetRole() string { + if o == nil || isNil(o.Role) { var ret string return ret } @@ -133,16 +133,16 @@ func (o *OrgsSamlGroupSyncCreate) GetRole() string { // GetRoleOk returns a tuple with the Role field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *OrgsSamlGroupSyncCreate) GetRoleOk() (*string, bool) { - if o == nil || o.Role == nil { +func (o *OrganizationGroupSyncRequest) GetRoleOk() (*string, bool) { + if o == nil || isNil(o.Role) { return nil, false } return o.Role, true } // HasRole returns a boolean if a field has been set. -func (o *OrgsSamlGroupSyncCreate) HasRole() bool { - if o != nil && o.Role != nil { +func (o *OrganizationGroupSyncRequest) HasRole() bool { + if o != nil && !isNil(o.Role) { return true } @@ -150,12 +150,12 @@ func (o *OrgsSamlGroupSyncCreate) HasRole() bool { } // SetRole gets a reference to the given string and assigns it to the Role field. -func (o *OrgsSamlGroupSyncCreate) SetRole(v string) { +func (o *OrganizationGroupSyncRequest) SetRole(v string) { o.Role = &v } // GetTeam returns the Team field value -func (o *OrgsSamlGroupSyncCreate) GetTeam() string { +func (o *OrganizationGroupSyncRequest) GetTeam() string { if o == nil { var ret string return ret @@ -166,7 +166,7 @@ func (o *OrgsSamlGroupSyncCreate) GetTeam() string { // GetTeamOk returns a tuple with the Team field value // and a boolean to check if the value has been set. -func (o *OrgsSamlGroupSyncCreate) GetTeamOk() (*string, bool) { +func (o *OrganizationGroupSyncRequest) GetTeamOk() (*string, bool) { if o == nil { return nil, false } @@ -174,11 +174,11 @@ func (o *OrgsSamlGroupSyncCreate) GetTeamOk() (*string, bool) { } // SetTeam sets field value -func (o *OrgsSamlGroupSyncCreate) SetTeam(v string) { +func (o *OrganizationGroupSyncRequest) SetTeam(v string) { o.Team = v } -func (o OrgsSamlGroupSyncCreate) MarshalJSON() ([]byte, error) { +func (o OrganizationGroupSyncRequest) MarshalJSON() ([]byte, error) { toSerialize := map[string]interface{}{} if true { toSerialize["idp_key"] = o.IdpKey @@ -189,7 +189,7 @@ func (o OrgsSamlGroupSyncCreate) MarshalJSON() ([]byte, error) { if true { toSerialize["organization"] = o.Organization } - if o.Role != nil { + if !isNil(o.Role) { toSerialize["role"] = o.Role } if true { @@ -198,38 +198,38 @@ func (o OrgsSamlGroupSyncCreate) MarshalJSON() ([]byte, error) { return json.Marshal(toSerialize) } -type NullableOrgsSamlGroupSyncCreate struct { - value *OrgsSamlGroupSyncCreate +type NullableOrganizationGroupSyncRequest struct { + value *OrganizationGroupSyncRequest isSet bool } -func (v NullableOrgsSamlGroupSyncCreate) Get() *OrgsSamlGroupSyncCreate { +func (v NullableOrganizationGroupSyncRequest) Get() *OrganizationGroupSyncRequest { return v.value } -func (v *NullableOrgsSamlGroupSyncCreate) Set(val *OrgsSamlGroupSyncCreate) { +func (v *NullableOrganizationGroupSyncRequest) Set(val *OrganizationGroupSyncRequest) { v.value = val v.isSet = true } -func (v NullableOrgsSamlGroupSyncCreate) IsSet() bool { +func (v NullableOrganizationGroupSyncRequest) IsSet() bool { return v.isSet } -func (v *NullableOrgsSamlGroupSyncCreate) Unset() { +func (v *NullableOrganizationGroupSyncRequest) Unset() { v.value = nil v.isSet = false } -func NewNullableOrgsSamlGroupSyncCreate(val *OrgsSamlGroupSyncCreate) *NullableOrgsSamlGroupSyncCreate { - return &NullableOrgsSamlGroupSyncCreate{value: val, isSet: true} +func NewNullableOrganizationGroupSyncRequest(val *OrganizationGroupSyncRequest) *NullableOrganizationGroupSyncRequest { + return &NullableOrganizationGroupSyncRequest{value: val, isSet: true} } -func (v NullableOrgsSamlGroupSyncCreate) MarshalJSON() ([]byte, error) { +func (v NullableOrganizationGroupSyncRequest) MarshalJSON() ([]byte, error) { return json.Marshal(v.value) } -func (v *NullableOrgsSamlGroupSyncCreate) UnmarshalJSON(src []byte) error { +func (v *NullableOrganizationGroupSyncRequest) UnmarshalJSON(src []byte) error { v.isSet = true return json.Unmarshal(src, &v.value) } diff --git a/model_organization_group_sync.go b/model_organization_group_sync_response.go similarity index 50% rename from model_organization_group_sync.go rename to model_organization_group_sync_response.go index 67f3972e..e1ab3d44 100644 --- a/model_organization_group_sync.go +++ b/model_organization_group_sync_response.go @@ -1,9 +1,9 @@ /* -Cloudsmith API +Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.121.3 +API version: 1.181.6 Contact: support@cloudsmith.io */ @@ -15,42 +15,42 @@ import ( "encoding/json" ) -// OrganizationGroupSync struct for OrganizationGroupSync -type OrganizationGroupSync struct { - // - IdpKey string `json:"idp_key"` - // +// OrganizationGroupSyncResponse struct for OrganizationGroupSyncResponse +type OrganizationGroupSyncResponse struct { + IdpKey string `json:"idp_key"` IdpValue string `json:"idp_value"` - // User role within the team. A `manager` is capable of adding/removing others to/from the team, and can set the role of other users and other settings pertaining to the team. A 'member' is a normal user that inherits the settings and privileges assigned to the team. - Role *string `json:"role,omitempty"` - // + // User role within the team. A `manager` is capable of adding/removing others to/from the team, and can set the role of other users and other settings pertaining to the team. A 'member' is a normal user that inherits the settings and privileges assigned to the team. + Role *string `json:"role,omitempty"` SlugPerm *string `json:"slug_perm,omitempty"` - // - Team string `json:"team"` + Team string `json:"team"` } -// NewOrganizationGroupSync instantiates a new OrganizationGroupSync object +// NewOrganizationGroupSyncResponse instantiates a new OrganizationGroupSyncResponse object // 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 NewOrganizationGroupSync(idpKey string, idpValue string, team string) *OrganizationGroupSync { - this := OrganizationGroupSync{} +func NewOrganizationGroupSyncResponse(idpKey string, idpValue string, team string) *OrganizationGroupSyncResponse { + this := OrganizationGroupSyncResponse{} this.IdpKey = idpKey this.IdpValue = idpValue + var role string = "Member" + this.Role = &role this.Team = team return &this } -// NewOrganizationGroupSyncWithDefaults instantiates a new OrganizationGroupSync object +// NewOrganizationGroupSyncResponseWithDefaults instantiates a new OrganizationGroupSyncResponse object // This constructor will only assign default values to properties that have it defined, // but it doesn't guarantee that properties required by API are set -func NewOrganizationGroupSyncWithDefaults() *OrganizationGroupSync { - this := OrganizationGroupSync{} +func NewOrganizationGroupSyncResponseWithDefaults() *OrganizationGroupSyncResponse { + this := OrganizationGroupSyncResponse{} + var role string = "Member" + this.Role = &role return &this } // GetIdpKey returns the IdpKey field value -func (o *OrganizationGroupSync) GetIdpKey() string { +func (o *OrganizationGroupSyncResponse) GetIdpKey() string { if o == nil { var ret string return ret @@ -61,7 +61,7 @@ func (o *OrganizationGroupSync) GetIdpKey() string { // GetIdpKeyOk returns a tuple with the IdpKey field value // and a boolean to check if the value has been set. -func (o *OrganizationGroupSync) GetIdpKeyOk() (*string, bool) { +func (o *OrganizationGroupSyncResponse) GetIdpKeyOk() (*string, bool) { if o == nil { return nil, false } @@ -69,12 +69,12 @@ func (o *OrganizationGroupSync) GetIdpKeyOk() (*string, bool) { } // SetIdpKey sets field value -func (o *OrganizationGroupSync) SetIdpKey(v string) { +func (o *OrganizationGroupSyncResponse) SetIdpKey(v string) { o.IdpKey = v } // GetIdpValue returns the IdpValue field value -func (o *OrganizationGroupSync) GetIdpValue() string { +func (o *OrganizationGroupSyncResponse) GetIdpValue() string { if o == nil { var ret string return ret @@ -85,7 +85,7 @@ func (o *OrganizationGroupSync) GetIdpValue() string { // GetIdpValueOk returns a tuple with the IdpValue field value // and a boolean to check if the value has been set. -func (o *OrganizationGroupSync) GetIdpValueOk() (*string, bool) { +func (o *OrganizationGroupSyncResponse) GetIdpValueOk() (*string, bool) { if o == nil { return nil, false } @@ -93,13 +93,13 @@ func (o *OrganizationGroupSync) GetIdpValueOk() (*string, bool) { } // SetIdpValue sets field value -func (o *OrganizationGroupSync) SetIdpValue(v string) { +func (o *OrganizationGroupSyncResponse) SetIdpValue(v string) { o.IdpValue = v } // GetRole returns the Role field value if set, zero value otherwise. -func (o *OrganizationGroupSync) GetRole() string { - if o == nil || o.Role == nil { +func (o *OrganizationGroupSyncResponse) GetRole() string { + if o == nil || isNil(o.Role) { var ret string return ret } @@ -108,16 +108,16 @@ func (o *OrganizationGroupSync) GetRole() string { // GetRoleOk returns a tuple with the Role field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *OrganizationGroupSync) GetRoleOk() (*string, bool) { - if o == nil || o.Role == nil { +func (o *OrganizationGroupSyncResponse) GetRoleOk() (*string, bool) { + if o == nil || isNil(o.Role) { return nil, false } return o.Role, true } // HasRole returns a boolean if a field has been set. -func (o *OrganizationGroupSync) HasRole() bool { - if o != nil && o.Role != nil { +func (o *OrganizationGroupSyncResponse) HasRole() bool { + if o != nil && !isNil(o.Role) { return true } @@ -125,13 +125,13 @@ func (o *OrganizationGroupSync) HasRole() bool { } // SetRole gets a reference to the given string and assigns it to the Role field. -func (o *OrganizationGroupSync) SetRole(v string) { +func (o *OrganizationGroupSyncResponse) SetRole(v string) { o.Role = &v } // GetSlugPerm returns the SlugPerm field value if set, zero value otherwise. -func (o *OrganizationGroupSync) GetSlugPerm() string { - if o == nil || o.SlugPerm == nil { +func (o *OrganizationGroupSyncResponse) GetSlugPerm() string { + if o == nil || isNil(o.SlugPerm) { var ret string return ret } @@ -140,16 +140,16 @@ func (o *OrganizationGroupSync) GetSlugPerm() string { // GetSlugPermOk returns a tuple with the SlugPerm field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *OrganizationGroupSync) GetSlugPermOk() (*string, bool) { - if o == nil || o.SlugPerm == nil { +func (o *OrganizationGroupSyncResponse) GetSlugPermOk() (*string, bool) { + if o == nil || isNil(o.SlugPerm) { return nil, false } return o.SlugPerm, true } // HasSlugPerm returns a boolean if a field has been set. -func (o *OrganizationGroupSync) HasSlugPerm() bool { - if o != nil && o.SlugPerm != nil { +func (o *OrganizationGroupSyncResponse) HasSlugPerm() bool { + if o != nil && !isNil(o.SlugPerm) { return true } @@ -157,12 +157,12 @@ func (o *OrganizationGroupSync) HasSlugPerm() bool { } // SetSlugPerm gets a reference to the given string and assigns it to the SlugPerm field. -func (o *OrganizationGroupSync) SetSlugPerm(v string) { +func (o *OrganizationGroupSyncResponse) SetSlugPerm(v string) { o.SlugPerm = &v } // GetTeam returns the Team field value -func (o *OrganizationGroupSync) GetTeam() string { +func (o *OrganizationGroupSyncResponse) GetTeam() string { if o == nil { var ret string return ret @@ -173,7 +173,7 @@ func (o *OrganizationGroupSync) GetTeam() string { // GetTeamOk returns a tuple with the Team field value // and a boolean to check if the value has been set. -func (o *OrganizationGroupSync) GetTeamOk() (*string, bool) { +func (o *OrganizationGroupSyncResponse) GetTeamOk() (*string, bool) { if o == nil { return nil, false } @@ -181,11 +181,11 @@ func (o *OrganizationGroupSync) GetTeamOk() (*string, bool) { } // SetTeam sets field value -func (o *OrganizationGroupSync) SetTeam(v string) { +func (o *OrganizationGroupSyncResponse) SetTeam(v string) { o.Team = v } -func (o OrganizationGroupSync) MarshalJSON() ([]byte, error) { +func (o OrganizationGroupSyncResponse) MarshalJSON() ([]byte, error) { toSerialize := map[string]interface{}{} if true { toSerialize["idp_key"] = o.IdpKey @@ -193,10 +193,10 @@ func (o OrganizationGroupSync) MarshalJSON() ([]byte, error) { if true { toSerialize["idp_value"] = o.IdpValue } - if o.Role != nil { + if !isNil(o.Role) { toSerialize["role"] = o.Role } - if o.SlugPerm != nil { + if !isNil(o.SlugPerm) { toSerialize["slug_perm"] = o.SlugPerm } if true { @@ -205,38 +205,38 @@ func (o OrganizationGroupSync) MarshalJSON() ([]byte, error) { return json.Marshal(toSerialize) } -type NullableOrganizationGroupSync struct { - value *OrganizationGroupSync +type NullableOrganizationGroupSyncResponse struct { + value *OrganizationGroupSyncResponse isSet bool } -func (v NullableOrganizationGroupSync) Get() *OrganizationGroupSync { +func (v NullableOrganizationGroupSyncResponse) Get() *OrganizationGroupSyncResponse { return v.value } -func (v *NullableOrganizationGroupSync) Set(val *OrganizationGroupSync) { +func (v *NullableOrganizationGroupSyncResponse) Set(val *OrganizationGroupSyncResponse) { v.value = val v.isSet = true } -func (v NullableOrganizationGroupSync) IsSet() bool { +func (v NullableOrganizationGroupSyncResponse) IsSet() bool { return v.isSet } -func (v *NullableOrganizationGroupSync) Unset() { +func (v *NullableOrganizationGroupSyncResponse) Unset() { v.value = nil v.isSet = false } -func NewNullableOrganizationGroupSync(val *OrganizationGroupSync) *NullableOrganizationGroupSync { - return &NullableOrganizationGroupSync{value: val, isSet: true} +func NewNullableOrganizationGroupSyncResponse(val *OrganizationGroupSyncResponse) *NullableOrganizationGroupSyncResponse { + return &NullableOrganizationGroupSyncResponse{value: val, isSet: true} } -func (v NullableOrganizationGroupSync) MarshalJSON() ([]byte, error) { +func (v NullableOrganizationGroupSyncResponse) MarshalJSON() ([]byte, error) { return json.Marshal(v.value) } -func (v *NullableOrganizationGroupSync) UnmarshalJSON(src []byte) error { +func (v *NullableOrganizationGroupSyncResponse) UnmarshalJSON(src []byte) error { v.isSet = true return json.Unmarshal(src, &v.value) } diff --git a/model_organization_invite.go b/model_organization_invite.go deleted file mode 100644 index a3b643d5..00000000 --- a/model_organization_invite.go +++ /dev/null @@ -1,411 +0,0 @@ -/* -Cloudsmith API - -The API to the Cloudsmith Service - -API version: 1.121.3 -Contact: support@cloudsmith.io -*/ - -// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. - -package cloudsmith - -import ( - "encoding/json" -) - -// OrganizationInvite struct for OrganizationInvite -type OrganizationInvite struct { - // - Email *string `json:"email,omitempty"` - // - ExpiresAt *string `json:"expires_at,omitempty"` - // - Inviter *string `json:"inviter,omitempty"` - // - InviterUrl *string `json:"inviter_url,omitempty"` - // - Org *string `json:"org,omitempty"` - // - Role *string `json:"role,omitempty"` - // - SlugPerm *string `json:"slug_perm,omitempty"` - // - User *string `json:"user,omitempty"` - // - UserUrl *string `json:"user_url,omitempty"` -} - -// NewOrganizationInvite instantiates a new OrganizationInvite object -// 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 NewOrganizationInvite() *OrganizationInvite { - this := OrganizationInvite{} - return &this -} - -// NewOrganizationInviteWithDefaults instantiates a new OrganizationInvite object -// This constructor will only assign default values to properties that have it defined, -// but it doesn't guarantee that properties required by API are set -func NewOrganizationInviteWithDefaults() *OrganizationInvite { - this := OrganizationInvite{} - return &this -} - -// GetEmail returns the Email field value if set, zero value otherwise. -func (o *OrganizationInvite) GetEmail() string { - if o == nil || o.Email == nil { - var ret string - return ret - } - return *o.Email -} - -// GetEmailOk returns a tuple with the Email field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *OrganizationInvite) GetEmailOk() (*string, bool) { - if o == nil || o.Email == nil { - return nil, false - } - return o.Email, true -} - -// HasEmail returns a boolean if a field has been set. -func (o *OrganizationInvite) HasEmail() bool { - if o != nil && o.Email != nil { - return true - } - - return false -} - -// SetEmail gets a reference to the given string and assigns it to the Email field. -func (o *OrganizationInvite) SetEmail(v string) { - o.Email = &v -} - -// GetExpiresAt returns the ExpiresAt field value if set, zero value otherwise. -func (o *OrganizationInvite) GetExpiresAt() string { - if o == nil || o.ExpiresAt == nil { - var ret string - return ret - } - return *o.ExpiresAt -} - -// GetExpiresAtOk returns a tuple with the ExpiresAt field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *OrganizationInvite) GetExpiresAtOk() (*string, bool) { - if o == nil || o.ExpiresAt == nil { - return nil, false - } - return o.ExpiresAt, true -} - -// HasExpiresAt returns a boolean if a field has been set. -func (o *OrganizationInvite) HasExpiresAt() bool { - if o != nil && o.ExpiresAt != nil { - return true - } - - return false -} - -// SetExpiresAt gets a reference to the given string and assigns it to the ExpiresAt field. -func (o *OrganizationInvite) SetExpiresAt(v string) { - o.ExpiresAt = &v -} - -// GetInviter returns the Inviter field value if set, zero value otherwise. -func (o *OrganizationInvite) GetInviter() string { - if o == nil || o.Inviter == nil { - var ret string - return ret - } - return *o.Inviter -} - -// GetInviterOk returns a tuple with the Inviter field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *OrganizationInvite) GetInviterOk() (*string, bool) { - if o == nil || o.Inviter == nil { - return nil, false - } - return o.Inviter, true -} - -// HasInviter returns a boolean if a field has been set. -func (o *OrganizationInvite) HasInviter() bool { - if o != nil && o.Inviter != nil { - return true - } - - return false -} - -// SetInviter gets a reference to the given string and assigns it to the Inviter field. -func (o *OrganizationInvite) SetInviter(v string) { - o.Inviter = &v -} - -// GetInviterUrl returns the InviterUrl field value if set, zero value otherwise. -func (o *OrganizationInvite) GetInviterUrl() string { - if o == nil || o.InviterUrl == nil { - var ret string - return ret - } - return *o.InviterUrl -} - -// GetInviterUrlOk returns a tuple with the InviterUrl field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *OrganizationInvite) GetInviterUrlOk() (*string, bool) { - if o == nil || o.InviterUrl == nil { - return nil, false - } - return o.InviterUrl, true -} - -// HasInviterUrl returns a boolean if a field has been set. -func (o *OrganizationInvite) HasInviterUrl() bool { - if o != nil && o.InviterUrl != nil { - return true - } - - return false -} - -// SetInviterUrl gets a reference to the given string and assigns it to the InviterUrl field. -func (o *OrganizationInvite) SetInviterUrl(v string) { - o.InviterUrl = &v -} - -// GetOrg returns the Org field value if set, zero value otherwise. -func (o *OrganizationInvite) GetOrg() string { - if o == nil || o.Org == nil { - var ret string - return ret - } - return *o.Org -} - -// GetOrgOk returns a tuple with the Org field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *OrganizationInvite) GetOrgOk() (*string, bool) { - if o == nil || o.Org == nil { - return nil, false - } - return o.Org, true -} - -// HasOrg returns a boolean if a field has been set. -func (o *OrganizationInvite) HasOrg() bool { - if o != nil && o.Org != nil { - return true - } - - return false -} - -// SetOrg gets a reference to the given string and assigns it to the Org field. -func (o *OrganizationInvite) SetOrg(v string) { - o.Org = &v -} - -// GetRole returns the Role field value if set, zero value otherwise. -func (o *OrganizationInvite) GetRole() string { - if o == nil || o.Role == nil { - var ret string - return ret - } - return *o.Role -} - -// GetRoleOk returns a tuple with the Role field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *OrganizationInvite) GetRoleOk() (*string, bool) { - if o == nil || o.Role == nil { - return nil, false - } - return o.Role, true -} - -// HasRole returns a boolean if a field has been set. -func (o *OrganizationInvite) HasRole() bool { - if o != nil && o.Role != nil { - return true - } - - return false -} - -// SetRole gets a reference to the given string and assigns it to the Role field. -func (o *OrganizationInvite) SetRole(v string) { - o.Role = &v -} - -// GetSlugPerm returns the SlugPerm field value if set, zero value otherwise. -func (o *OrganizationInvite) GetSlugPerm() string { - if o == nil || o.SlugPerm == nil { - var ret string - return ret - } - return *o.SlugPerm -} - -// GetSlugPermOk returns a tuple with the SlugPerm field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *OrganizationInvite) GetSlugPermOk() (*string, bool) { - if o == nil || o.SlugPerm == nil { - return nil, false - } - return o.SlugPerm, true -} - -// HasSlugPerm returns a boolean if a field has been set. -func (o *OrganizationInvite) HasSlugPerm() bool { - if o != nil && o.SlugPerm != nil { - return true - } - - return false -} - -// SetSlugPerm gets a reference to the given string and assigns it to the SlugPerm field. -func (o *OrganizationInvite) SetSlugPerm(v string) { - o.SlugPerm = &v -} - -// GetUser returns the User field value if set, zero value otherwise. -func (o *OrganizationInvite) GetUser() string { - if o == nil || o.User == nil { - var ret string - return ret - } - return *o.User -} - -// GetUserOk returns a tuple with the User field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *OrganizationInvite) GetUserOk() (*string, bool) { - if o == nil || o.User == nil { - return nil, false - } - return o.User, true -} - -// HasUser returns a boolean if a field has been set. -func (o *OrganizationInvite) HasUser() bool { - if o != nil && o.User != nil { - return true - } - - return false -} - -// SetUser gets a reference to the given string and assigns it to the User field. -func (o *OrganizationInvite) SetUser(v string) { - o.User = &v -} - -// GetUserUrl returns the UserUrl field value if set, zero value otherwise. -func (o *OrganizationInvite) GetUserUrl() string { - if o == nil || o.UserUrl == nil { - var ret string - return ret - } - return *o.UserUrl -} - -// GetUserUrlOk returns a tuple with the UserUrl field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *OrganizationInvite) GetUserUrlOk() (*string, bool) { - if o == nil || o.UserUrl == nil { - return nil, false - } - return o.UserUrl, true -} - -// HasUserUrl returns a boolean if a field has been set. -func (o *OrganizationInvite) HasUserUrl() bool { - if o != nil && o.UserUrl != nil { - return true - } - - return false -} - -// SetUserUrl gets a reference to the given string and assigns it to the UserUrl field. -func (o *OrganizationInvite) SetUserUrl(v string) { - o.UserUrl = &v -} - -func (o OrganizationInvite) MarshalJSON() ([]byte, error) { - toSerialize := map[string]interface{}{} - if o.Email != nil { - toSerialize["email"] = o.Email - } - if o.ExpiresAt != nil { - toSerialize["expires_at"] = o.ExpiresAt - } - if o.Inviter != nil { - toSerialize["inviter"] = o.Inviter - } - if o.InviterUrl != nil { - toSerialize["inviter_url"] = o.InviterUrl - } - if o.Org != nil { - toSerialize["org"] = o.Org - } - if o.Role != nil { - toSerialize["role"] = o.Role - } - if o.SlugPerm != nil { - toSerialize["slug_perm"] = o.SlugPerm - } - if o.User != nil { - toSerialize["user"] = o.User - } - if o.UserUrl != nil { - toSerialize["user_url"] = o.UserUrl - } - return json.Marshal(toSerialize) -} - -type NullableOrganizationInvite struct { - value *OrganizationInvite - isSet bool -} - -func (v NullableOrganizationInvite) Get() *OrganizationInvite { - return v.value -} - -func (v *NullableOrganizationInvite) Set(val *OrganizationInvite) { - v.value = val - v.isSet = true -} - -func (v NullableOrganizationInvite) IsSet() bool { - return v.isSet -} - -func (v *NullableOrganizationInvite) Unset() { - v.value = nil - v.isSet = false -} - -func NewNullableOrganizationInvite(val *OrganizationInvite) *NullableOrganizationInvite { - return &NullableOrganizationInvite{value: val, isSet: true} -} - -func (v NullableOrganizationInvite) MarshalJSON() ([]byte, error) { - return json.Marshal(v.value) -} - -func (v *NullableOrganizationInvite) UnmarshalJSON(src []byte) error { - v.isSet = true - return json.Unmarshal(src, &v.value) -} diff --git a/model_organization_invite_extend.go b/model_organization_invite_extend.go deleted file mode 100644 index 97c40a94..00000000 --- a/model_organization_invite_extend.go +++ /dev/null @@ -1,411 +0,0 @@ -/* -Cloudsmith API - -The API to the Cloudsmith Service - -API version: 1.121.3 -Contact: support@cloudsmith.io -*/ - -// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. - -package cloudsmith - -import ( - "encoding/json" -) - -// OrganizationInviteExtend struct for OrganizationInviteExtend -type OrganizationInviteExtend struct { - // - Email *string `json:"email,omitempty"` - // - ExpiresAt *string `json:"expires_at,omitempty"` - // - Inviter *string `json:"inviter,omitempty"` - // - InviterUrl *string `json:"inviter_url,omitempty"` - // - Org *string `json:"org,omitempty"` - // - Role *string `json:"role,omitempty"` - // - SlugPerm *string `json:"slug_perm,omitempty"` - // - User *string `json:"user,omitempty"` - // - UserUrl *string `json:"user_url,omitempty"` -} - -// NewOrganizationInviteExtend instantiates a new OrganizationInviteExtend object -// 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 NewOrganizationInviteExtend() *OrganizationInviteExtend { - this := OrganizationInviteExtend{} - return &this -} - -// NewOrganizationInviteExtendWithDefaults instantiates a new OrganizationInviteExtend object -// This constructor will only assign default values to properties that have it defined, -// but it doesn't guarantee that properties required by API are set -func NewOrganizationInviteExtendWithDefaults() *OrganizationInviteExtend { - this := OrganizationInviteExtend{} - return &this -} - -// GetEmail returns the Email field value if set, zero value otherwise. -func (o *OrganizationInviteExtend) GetEmail() string { - if o == nil || o.Email == nil { - var ret string - return ret - } - return *o.Email -} - -// GetEmailOk returns a tuple with the Email field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *OrganizationInviteExtend) GetEmailOk() (*string, bool) { - if o == nil || o.Email == nil { - return nil, false - } - return o.Email, true -} - -// HasEmail returns a boolean if a field has been set. -func (o *OrganizationInviteExtend) HasEmail() bool { - if o != nil && o.Email != nil { - return true - } - - return false -} - -// SetEmail gets a reference to the given string and assigns it to the Email field. -func (o *OrganizationInviteExtend) SetEmail(v string) { - o.Email = &v -} - -// GetExpiresAt returns the ExpiresAt field value if set, zero value otherwise. -func (o *OrganizationInviteExtend) GetExpiresAt() string { - if o == nil || o.ExpiresAt == nil { - var ret string - return ret - } - return *o.ExpiresAt -} - -// GetExpiresAtOk returns a tuple with the ExpiresAt field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *OrganizationInviteExtend) GetExpiresAtOk() (*string, bool) { - if o == nil || o.ExpiresAt == nil { - return nil, false - } - return o.ExpiresAt, true -} - -// HasExpiresAt returns a boolean if a field has been set. -func (o *OrganizationInviteExtend) HasExpiresAt() bool { - if o != nil && o.ExpiresAt != nil { - return true - } - - return false -} - -// SetExpiresAt gets a reference to the given string and assigns it to the ExpiresAt field. -func (o *OrganizationInviteExtend) SetExpiresAt(v string) { - o.ExpiresAt = &v -} - -// GetInviter returns the Inviter field value if set, zero value otherwise. -func (o *OrganizationInviteExtend) GetInviter() string { - if o == nil || o.Inviter == nil { - var ret string - return ret - } - return *o.Inviter -} - -// GetInviterOk returns a tuple with the Inviter field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *OrganizationInviteExtend) GetInviterOk() (*string, bool) { - if o == nil || o.Inviter == nil { - return nil, false - } - return o.Inviter, true -} - -// HasInviter returns a boolean if a field has been set. -func (o *OrganizationInviteExtend) HasInviter() bool { - if o != nil && o.Inviter != nil { - return true - } - - return false -} - -// SetInviter gets a reference to the given string and assigns it to the Inviter field. -func (o *OrganizationInviteExtend) SetInviter(v string) { - o.Inviter = &v -} - -// GetInviterUrl returns the InviterUrl field value if set, zero value otherwise. -func (o *OrganizationInviteExtend) GetInviterUrl() string { - if o == nil || o.InviterUrl == nil { - var ret string - return ret - } - return *o.InviterUrl -} - -// GetInviterUrlOk returns a tuple with the InviterUrl field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *OrganizationInviteExtend) GetInviterUrlOk() (*string, bool) { - if o == nil || o.InviterUrl == nil { - return nil, false - } - return o.InviterUrl, true -} - -// HasInviterUrl returns a boolean if a field has been set. -func (o *OrganizationInviteExtend) HasInviterUrl() bool { - if o != nil && o.InviterUrl != nil { - return true - } - - return false -} - -// SetInviterUrl gets a reference to the given string and assigns it to the InviterUrl field. -func (o *OrganizationInviteExtend) SetInviterUrl(v string) { - o.InviterUrl = &v -} - -// GetOrg returns the Org field value if set, zero value otherwise. -func (o *OrganizationInviteExtend) GetOrg() string { - if o == nil || o.Org == nil { - var ret string - return ret - } - return *o.Org -} - -// GetOrgOk returns a tuple with the Org field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *OrganizationInviteExtend) GetOrgOk() (*string, bool) { - if o == nil || o.Org == nil { - return nil, false - } - return o.Org, true -} - -// HasOrg returns a boolean if a field has been set. -func (o *OrganizationInviteExtend) HasOrg() bool { - if o != nil && o.Org != nil { - return true - } - - return false -} - -// SetOrg gets a reference to the given string and assigns it to the Org field. -func (o *OrganizationInviteExtend) SetOrg(v string) { - o.Org = &v -} - -// GetRole returns the Role field value if set, zero value otherwise. -func (o *OrganizationInviteExtend) GetRole() string { - if o == nil || o.Role == nil { - var ret string - return ret - } - return *o.Role -} - -// GetRoleOk returns a tuple with the Role field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *OrganizationInviteExtend) GetRoleOk() (*string, bool) { - if o == nil || o.Role == nil { - return nil, false - } - return o.Role, true -} - -// HasRole returns a boolean if a field has been set. -func (o *OrganizationInviteExtend) HasRole() bool { - if o != nil && o.Role != nil { - return true - } - - return false -} - -// SetRole gets a reference to the given string and assigns it to the Role field. -func (o *OrganizationInviteExtend) SetRole(v string) { - o.Role = &v -} - -// GetSlugPerm returns the SlugPerm field value if set, zero value otherwise. -func (o *OrganizationInviteExtend) GetSlugPerm() string { - if o == nil || o.SlugPerm == nil { - var ret string - return ret - } - return *o.SlugPerm -} - -// GetSlugPermOk returns a tuple with the SlugPerm field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *OrganizationInviteExtend) GetSlugPermOk() (*string, bool) { - if o == nil || o.SlugPerm == nil { - return nil, false - } - return o.SlugPerm, true -} - -// HasSlugPerm returns a boolean if a field has been set. -func (o *OrganizationInviteExtend) HasSlugPerm() bool { - if o != nil && o.SlugPerm != nil { - return true - } - - return false -} - -// SetSlugPerm gets a reference to the given string and assigns it to the SlugPerm field. -func (o *OrganizationInviteExtend) SetSlugPerm(v string) { - o.SlugPerm = &v -} - -// GetUser returns the User field value if set, zero value otherwise. -func (o *OrganizationInviteExtend) GetUser() string { - if o == nil || o.User == nil { - var ret string - return ret - } - return *o.User -} - -// GetUserOk returns a tuple with the User field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *OrganizationInviteExtend) GetUserOk() (*string, bool) { - if o == nil || o.User == nil { - return nil, false - } - return o.User, true -} - -// HasUser returns a boolean if a field has been set. -func (o *OrganizationInviteExtend) HasUser() bool { - if o != nil && o.User != nil { - return true - } - - return false -} - -// SetUser gets a reference to the given string and assigns it to the User field. -func (o *OrganizationInviteExtend) SetUser(v string) { - o.User = &v -} - -// GetUserUrl returns the UserUrl field value if set, zero value otherwise. -func (o *OrganizationInviteExtend) GetUserUrl() string { - if o == nil || o.UserUrl == nil { - var ret string - return ret - } - return *o.UserUrl -} - -// GetUserUrlOk returns a tuple with the UserUrl field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *OrganizationInviteExtend) GetUserUrlOk() (*string, bool) { - if o == nil || o.UserUrl == nil { - return nil, false - } - return o.UserUrl, true -} - -// HasUserUrl returns a boolean if a field has been set. -func (o *OrganizationInviteExtend) HasUserUrl() bool { - if o != nil && o.UserUrl != nil { - return true - } - - return false -} - -// SetUserUrl gets a reference to the given string and assigns it to the UserUrl field. -func (o *OrganizationInviteExtend) SetUserUrl(v string) { - o.UserUrl = &v -} - -func (o OrganizationInviteExtend) MarshalJSON() ([]byte, error) { - toSerialize := map[string]interface{}{} - if o.Email != nil { - toSerialize["email"] = o.Email - } - if o.ExpiresAt != nil { - toSerialize["expires_at"] = o.ExpiresAt - } - if o.Inviter != nil { - toSerialize["inviter"] = o.Inviter - } - if o.InviterUrl != nil { - toSerialize["inviter_url"] = o.InviterUrl - } - if o.Org != nil { - toSerialize["org"] = o.Org - } - if o.Role != nil { - toSerialize["role"] = o.Role - } - if o.SlugPerm != nil { - toSerialize["slug_perm"] = o.SlugPerm - } - if o.User != nil { - toSerialize["user"] = o.User - } - if o.UserUrl != nil { - toSerialize["user_url"] = o.UserUrl - } - return json.Marshal(toSerialize) -} - -type NullableOrganizationInviteExtend struct { - value *OrganizationInviteExtend - isSet bool -} - -func (v NullableOrganizationInviteExtend) Get() *OrganizationInviteExtend { - return v.value -} - -func (v *NullableOrganizationInviteExtend) Set(val *OrganizationInviteExtend) { - v.value = val - v.isSet = true -} - -func (v NullableOrganizationInviteExtend) IsSet() bool { - return v.isSet -} - -func (v *NullableOrganizationInviteExtend) Unset() { - v.value = nil - v.isSet = false -} - -func NewNullableOrganizationInviteExtend(val *OrganizationInviteExtend) *NullableOrganizationInviteExtend { - return &NullableOrganizationInviteExtend{value: val, isSet: true} -} - -func (v NullableOrganizationInviteExtend) MarshalJSON() ([]byte, error) { - return json.Marshal(v.value) -} - -func (v *NullableOrganizationInviteExtend) UnmarshalJSON(src []byte) error { - v.isSet = true - return json.Unmarshal(src, &v.value) -} diff --git a/model_organization_invite_extend_response.go b/model_organization_invite_extend_response.go new file mode 100644 index 00000000..22207315 --- /dev/null +++ b/model_organization_invite_extend_response.go @@ -0,0 +1,433 @@ +/* +Cloudsmith API (v1) + +The API to the Cloudsmith Service + +API version: 1.181.6 +Contact: support@cloudsmith.io +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cloudsmith + +import ( + "encoding/json" + "time" +) + +// OrganizationInviteExtendResponse struct for OrganizationInviteExtendResponse +type OrganizationInviteExtendResponse struct { + // The email of the user to be invited. + Email *string `json:"email,omitempty"` + ExpiresAt *time.Time `json:"expires_at,omitempty"` + Inviter *string `json:"inviter,omitempty"` + InviterUrl NullableString `json:"inviter_url,omitempty"` + Org *string `json:"org,omitempty"` + // The role to be assigned to the invited user. + Role *string `json:"role,omitempty"` + // The slug_perm of the invite to be extended. + SlugPerm *string `json:"slug_perm,omitempty"` + // The slug of the user to be invited. + User *string `json:"user,omitempty"` + UserUrl NullableString `json:"user_url,omitempty"` +} + +// NewOrganizationInviteExtendResponse instantiates a new OrganizationInviteExtendResponse object +// 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 NewOrganizationInviteExtendResponse() *OrganizationInviteExtendResponse { + this := OrganizationInviteExtendResponse{} + var role string = "Member" + this.Role = &role + return &this +} + +// NewOrganizationInviteExtendResponseWithDefaults instantiates a new OrganizationInviteExtendResponse object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewOrganizationInviteExtendResponseWithDefaults() *OrganizationInviteExtendResponse { + this := OrganizationInviteExtendResponse{} + var role string = "Member" + this.Role = &role + return &this +} + +// GetEmail returns the Email field value if set, zero value otherwise. +func (o *OrganizationInviteExtendResponse) GetEmail() string { + if o == nil || isNil(o.Email) { + var ret string + return ret + } + return *o.Email +} + +// GetEmailOk returns a tuple with the Email field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *OrganizationInviteExtendResponse) GetEmailOk() (*string, bool) { + if o == nil || isNil(o.Email) { + return nil, false + } + return o.Email, true +} + +// HasEmail returns a boolean if a field has been set. +func (o *OrganizationInviteExtendResponse) HasEmail() bool { + if o != nil && !isNil(o.Email) { + return true + } + + return false +} + +// SetEmail gets a reference to the given string and assigns it to the Email field. +func (o *OrganizationInviteExtendResponse) SetEmail(v string) { + o.Email = &v +} + +// GetExpiresAt returns the ExpiresAt field value if set, zero value otherwise. +func (o *OrganizationInviteExtendResponse) GetExpiresAt() time.Time { + if o == nil || isNil(o.ExpiresAt) { + var ret time.Time + return ret + } + return *o.ExpiresAt +} + +// GetExpiresAtOk returns a tuple with the ExpiresAt field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *OrganizationInviteExtendResponse) GetExpiresAtOk() (*time.Time, bool) { + if o == nil || isNil(o.ExpiresAt) { + return nil, false + } + return o.ExpiresAt, true +} + +// HasExpiresAt returns a boolean if a field has been set. +func (o *OrganizationInviteExtendResponse) HasExpiresAt() bool { + if o != nil && !isNil(o.ExpiresAt) { + return true + } + + return false +} + +// SetExpiresAt gets a reference to the given time.Time and assigns it to the ExpiresAt field. +func (o *OrganizationInviteExtendResponse) SetExpiresAt(v time.Time) { + o.ExpiresAt = &v +} + +// GetInviter returns the Inviter field value if set, zero value otherwise. +func (o *OrganizationInviteExtendResponse) GetInviter() string { + if o == nil || isNil(o.Inviter) { + var ret string + return ret + } + return *o.Inviter +} + +// GetInviterOk returns a tuple with the Inviter field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *OrganizationInviteExtendResponse) GetInviterOk() (*string, bool) { + if o == nil || isNil(o.Inviter) { + return nil, false + } + return o.Inviter, true +} + +// HasInviter returns a boolean if a field has been set. +func (o *OrganizationInviteExtendResponse) HasInviter() bool { + if o != nil && !isNil(o.Inviter) { + return true + } + + return false +} + +// SetInviter gets a reference to the given string and assigns it to the Inviter field. +func (o *OrganizationInviteExtendResponse) SetInviter(v string) { + o.Inviter = &v +} + +// GetInviterUrl returns the InviterUrl field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *OrganizationInviteExtendResponse) GetInviterUrl() string { + if o == nil || isNil(o.InviterUrl.Get()) { + var ret string + return ret + } + return *o.InviterUrl.Get() +} + +// GetInviterUrlOk returns a tuple with the InviterUrl 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 *OrganizationInviteExtendResponse) GetInviterUrlOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.InviterUrl.Get(), o.InviterUrl.IsSet() +} + +// HasInviterUrl returns a boolean if a field has been set. +func (o *OrganizationInviteExtendResponse) HasInviterUrl() bool { + if o != nil && o.InviterUrl.IsSet() { + return true + } + + return false +} + +// SetInviterUrl gets a reference to the given NullableString and assigns it to the InviterUrl field. +func (o *OrganizationInviteExtendResponse) SetInviterUrl(v string) { + o.InviterUrl.Set(&v) +} + +// SetInviterUrlNil sets the value for InviterUrl to be an explicit nil +func (o *OrganizationInviteExtendResponse) SetInviterUrlNil() { + o.InviterUrl.Set(nil) +} + +// UnsetInviterUrl ensures that no value is present for InviterUrl, not even an explicit nil +func (o *OrganizationInviteExtendResponse) UnsetInviterUrl() { + o.InviterUrl.Unset() +} + +// GetOrg returns the Org field value if set, zero value otherwise. +func (o *OrganizationInviteExtendResponse) GetOrg() string { + if o == nil || isNil(o.Org) { + var ret string + return ret + } + return *o.Org +} + +// GetOrgOk returns a tuple with the Org field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *OrganizationInviteExtendResponse) GetOrgOk() (*string, bool) { + if o == nil || isNil(o.Org) { + return nil, false + } + return o.Org, true +} + +// HasOrg returns a boolean if a field has been set. +func (o *OrganizationInviteExtendResponse) HasOrg() bool { + if o != nil && !isNil(o.Org) { + return true + } + + return false +} + +// SetOrg gets a reference to the given string and assigns it to the Org field. +func (o *OrganizationInviteExtendResponse) SetOrg(v string) { + o.Org = &v +} + +// GetRole returns the Role field value if set, zero value otherwise. +func (o *OrganizationInviteExtendResponse) GetRole() string { + if o == nil || isNil(o.Role) { + var ret string + return ret + } + return *o.Role +} + +// GetRoleOk returns a tuple with the Role field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *OrganizationInviteExtendResponse) GetRoleOk() (*string, bool) { + if o == nil || isNil(o.Role) { + return nil, false + } + return o.Role, true +} + +// HasRole returns a boolean if a field has been set. +func (o *OrganizationInviteExtendResponse) HasRole() bool { + if o != nil && !isNil(o.Role) { + return true + } + + return false +} + +// SetRole gets a reference to the given string and assigns it to the Role field. +func (o *OrganizationInviteExtendResponse) SetRole(v string) { + o.Role = &v +} + +// GetSlugPerm returns the SlugPerm field value if set, zero value otherwise. +func (o *OrganizationInviteExtendResponse) GetSlugPerm() string { + if o == nil || isNil(o.SlugPerm) { + var ret string + return ret + } + return *o.SlugPerm +} + +// GetSlugPermOk returns a tuple with the SlugPerm field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *OrganizationInviteExtendResponse) GetSlugPermOk() (*string, bool) { + if o == nil || isNil(o.SlugPerm) { + return nil, false + } + return o.SlugPerm, true +} + +// HasSlugPerm returns a boolean if a field has been set. +func (o *OrganizationInviteExtendResponse) HasSlugPerm() bool { + if o != nil && !isNil(o.SlugPerm) { + return true + } + + return false +} + +// SetSlugPerm gets a reference to the given string and assigns it to the SlugPerm field. +func (o *OrganizationInviteExtendResponse) SetSlugPerm(v string) { + o.SlugPerm = &v +} + +// GetUser returns the User field value if set, zero value otherwise. +func (o *OrganizationInviteExtendResponse) GetUser() string { + if o == nil || isNil(o.User) { + var ret string + return ret + } + return *o.User +} + +// GetUserOk returns a tuple with the User field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *OrganizationInviteExtendResponse) GetUserOk() (*string, bool) { + if o == nil || isNil(o.User) { + return nil, false + } + return o.User, true +} + +// HasUser returns a boolean if a field has been set. +func (o *OrganizationInviteExtendResponse) HasUser() bool { + if o != nil && !isNil(o.User) { + return true + } + + return false +} + +// SetUser gets a reference to the given string and assigns it to the User field. +func (o *OrganizationInviteExtendResponse) SetUser(v string) { + o.User = &v +} + +// GetUserUrl returns the UserUrl field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *OrganizationInviteExtendResponse) GetUserUrl() string { + if o == nil || isNil(o.UserUrl.Get()) { + var ret string + return ret + } + return *o.UserUrl.Get() +} + +// GetUserUrlOk returns a tuple with the UserUrl 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 *OrganizationInviteExtendResponse) GetUserUrlOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.UserUrl.Get(), o.UserUrl.IsSet() +} + +// HasUserUrl returns a boolean if a field has been set. +func (o *OrganizationInviteExtendResponse) HasUserUrl() bool { + if o != nil && o.UserUrl.IsSet() { + return true + } + + return false +} + +// SetUserUrl gets a reference to the given NullableString and assigns it to the UserUrl field. +func (o *OrganizationInviteExtendResponse) SetUserUrl(v string) { + o.UserUrl.Set(&v) +} + +// SetUserUrlNil sets the value for UserUrl to be an explicit nil +func (o *OrganizationInviteExtendResponse) SetUserUrlNil() { + o.UserUrl.Set(nil) +} + +// UnsetUserUrl ensures that no value is present for UserUrl, not even an explicit nil +func (o *OrganizationInviteExtendResponse) UnsetUserUrl() { + o.UserUrl.Unset() +} + +func (o OrganizationInviteExtendResponse) MarshalJSON() ([]byte, error) { + toSerialize := map[string]interface{}{} + if !isNil(o.Email) { + toSerialize["email"] = o.Email + } + if !isNil(o.ExpiresAt) { + toSerialize["expires_at"] = o.ExpiresAt + } + if !isNil(o.Inviter) { + toSerialize["inviter"] = o.Inviter + } + if o.InviterUrl.IsSet() { + toSerialize["inviter_url"] = o.InviterUrl.Get() + } + if !isNil(o.Org) { + toSerialize["org"] = o.Org + } + if !isNil(o.Role) { + toSerialize["role"] = o.Role + } + if !isNil(o.SlugPerm) { + toSerialize["slug_perm"] = o.SlugPerm + } + if !isNil(o.User) { + toSerialize["user"] = o.User + } + if o.UserUrl.IsSet() { + toSerialize["user_url"] = o.UserUrl.Get() + } + return json.Marshal(toSerialize) +} + +type NullableOrganizationInviteExtendResponse struct { + value *OrganizationInviteExtendResponse + isSet bool +} + +func (v NullableOrganizationInviteExtendResponse) Get() *OrganizationInviteExtendResponse { + return v.value +} + +func (v *NullableOrganizationInviteExtendResponse) Set(val *OrganizationInviteExtendResponse) { + v.value = val + v.isSet = true +} + +func (v NullableOrganizationInviteExtendResponse) IsSet() bool { + return v.isSet +} + +func (v *NullableOrganizationInviteExtendResponse) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableOrganizationInviteExtendResponse(val *OrganizationInviteExtendResponse) *NullableOrganizationInviteExtendResponse { + return &NullableOrganizationInviteExtendResponse{value: val, isSet: true} +} + +func (v NullableOrganizationInviteExtendResponse) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableOrganizationInviteExtendResponse) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} diff --git a/model_organization_invite_request.go b/model_organization_invite_request.go new file mode 100644 index 00000000..8593f01e --- /dev/null +++ b/model_organization_invite_request.go @@ -0,0 +1,193 @@ +/* +Cloudsmith API (v1) + +The API to the Cloudsmith Service + +API version: 1.181.6 +Contact: support@cloudsmith.io +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cloudsmith + +import ( + "encoding/json" +) + +// OrganizationInviteRequest struct for OrganizationInviteRequest +type OrganizationInviteRequest struct { + // The email of the user to be invited. + Email *string `json:"email,omitempty"` + // The role to be assigned to the invited user. + Role *string `json:"role,omitempty"` + // The slug of the user to be invited. + User *string `json:"user,omitempty"` +} + +// NewOrganizationInviteRequest instantiates a new OrganizationInviteRequest object +// 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 NewOrganizationInviteRequest() *OrganizationInviteRequest { + this := OrganizationInviteRequest{} + var role string = "Member" + this.Role = &role + return &this +} + +// NewOrganizationInviteRequestWithDefaults instantiates a new OrganizationInviteRequest object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewOrganizationInviteRequestWithDefaults() *OrganizationInviteRequest { + this := OrganizationInviteRequest{} + var role string = "Member" + this.Role = &role + return &this +} + +// GetEmail returns the Email field value if set, zero value otherwise. +func (o *OrganizationInviteRequest) GetEmail() string { + if o == nil || isNil(o.Email) { + var ret string + return ret + } + return *o.Email +} + +// GetEmailOk returns a tuple with the Email field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *OrganizationInviteRequest) GetEmailOk() (*string, bool) { + if o == nil || isNil(o.Email) { + return nil, false + } + return o.Email, true +} + +// HasEmail returns a boolean if a field has been set. +func (o *OrganizationInviteRequest) HasEmail() bool { + if o != nil && !isNil(o.Email) { + return true + } + + return false +} + +// SetEmail gets a reference to the given string and assigns it to the Email field. +func (o *OrganizationInviteRequest) SetEmail(v string) { + o.Email = &v +} + +// GetRole returns the Role field value if set, zero value otherwise. +func (o *OrganizationInviteRequest) GetRole() string { + if o == nil || isNil(o.Role) { + var ret string + return ret + } + return *o.Role +} + +// GetRoleOk returns a tuple with the Role field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *OrganizationInviteRequest) GetRoleOk() (*string, bool) { + if o == nil || isNil(o.Role) { + return nil, false + } + return o.Role, true +} + +// HasRole returns a boolean if a field has been set. +func (o *OrganizationInviteRequest) HasRole() bool { + if o != nil && !isNil(o.Role) { + return true + } + + return false +} + +// SetRole gets a reference to the given string and assigns it to the Role field. +func (o *OrganizationInviteRequest) SetRole(v string) { + o.Role = &v +} + +// GetUser returns the User field value if set, zero value otherwise. +func (o *OrganizationInviteRequest) GetUser() string { + if o == nil || isNil(o.User) { + var ret string + return ret + } + return *o.User +} + +// GetUserOk returns a tuple with the User field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *OrganizationInviteRequest) GetUserOk() (*string, bool) { + if o == nil || isNil(o.User) { + return nil, false + } + return o.User, true +} + +// HasUser returns a boolean if a field has been set. +func (o *OrganizationInviteRequest) HasUser() bool { + if o != nil && !isNil(o.User) { + return true + } + + return false +} + +// SetUser gets a reference to the given string and assigns it to the User field. +func (o *OrganizationInviteRequest) SetUser(v string) { + o.User = &v +} + +func (o OrganizationInviteRequest) MarshalJSON() ([]byte, error) { + toSerialize := map[string]interface{}{} + if !isNil(o.Email) { + toSerialize["email"] = o.Email + } + if !isNil(o.Role) { + toSerialize["role"] = o.Role + } + if !isNil(o.User) { + toSerialize["user"] = o.User + } + return json.Marshal(toSerialize) +} + +type NullableOrganizationInviteRequest struct { + value *OrganizationInviteRequest + isSet bool +} + +func (v NullableOrganizationInviteRequest) Get() *OrganizationInviteRequest { + return v.value +} + +func (v *NullableOrganizationInviteRequest) Set(val *OrganizationInviteRequest) { + v.value = val + v.isSet = true +} + +func (v NullableOrganizationInviteRequest) IsSet() bool { + return v.isSet +} + +func (v *NullableOrganizationInviteRequest) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableOrganizationInviteRequest(val *OrganizationInviteRequest) *NullableOrganizationInviteRequest { + return &NullableOrganizationInviteRequest{value: val, isSet: true} +} + +func (v NullableOrganizationInviteRequest) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableOrganizationInviteRequest) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} diff --git a/model_organization_invite_response.go b/model_organization_invite_response.go new file mode 100644 index 00000000..e356415c --- /dev/null +++ b/model_organization_invite_response.go @@ -0,0 +1,432 @@ +/* +Cloudsmith API (v1) + +The API to the Cloudsmith Service + +API version: 1.181.6 +Contact: support@cloudsmith.io +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cloudsmith + +import ( + "encoding/json" + "time" +) + +// OrganizationInviteResponse struct for OrganizationInviteResponse +type OrganizationInviteResponse struct { + // The email of the user to be invited. + Email *string `json:"email,omitempty"` + ExpiresAt *time.Time `json:"expires_at,omitempty"` + Inviter *string `json:"inviter,omitempty"` + InviterUrl NullableString `json:"inviter_url,omitempty"` + Org *string `json:"org,omitempty"` + // The role to be assigned to the invited user. + Role *string `json:"role,omitempty"` + SlugPerm *string `json:"slug_perm,omitempty"` + // The slug of the user to be invited. + User *string `json:"user,omitempty"` + UserUrl NullableString `json:"user_url,omitempty"` +} + +// NewOrganizationInviteResponse instantiates a new OrganizationInviteResponse object +// 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 NewOrganizationInviteResponse() *OrganizationInviteResponse { + this := OrganizationInviteResponse{} + var role string = "Member" + this.Role = &role + return &this +} + +// NewOrganizationInviteResponseWithDefaults instantiates a new OrganizationInviteResponse object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewOrganizationInviteResponseWithDefaults() *OrganizationInviteResponse { + this := OrganizationInviteResponse{} + var role string = "Member" + this.Role = &role + return &this +} + +// GetEmail returns the Email field value if set, zero value otherwise. +func (o *OrganizationInviteResponse) GetEmail() string { + if o == nil || isNil(o.Email) { + var ret string + return ret + } + return *o.Email +} + +// GetEmailOk returns a tuple with the Email field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *OrganizationInviteResponse) GetEmailOk() (*string, bool) { + if o == nil || isNil(o.Email) { + return nil, false + } + return o.Email, true +} + +// HasEmail returns a boolean if a field has been set. +func (o *OrganizationInviteResponse) HasEmail() bool { + if o != nil && !isNil(o.Email) { + return true + } + + return false +} + +// SetEmail gets a reference to the given string and assigns it to the Email field. +func (o *OrganizationInviteResponse) SetEmail(v string) { + o.Email = &v +} + +// GetExpiresAt returns the ExpiresAt field value if set, zero value otherwise. +func (o *OrganizationInviteResponse) GetExpiresAt() time.Time { + if o == nil || isNil(o.ExpiresAt) { + var ret time.Time + return ret + } + return *o.ExpiresAt +} + +// GetExpiresAtOk returns a tuple with the ExpiresAt field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *OrganizationInviteResponse) GetExpiresAtOk() (*time.Time, bool) { + if o == nil || isNil(o.ExpiresAt) { + return nil, false + } + return o.ExpiresAt, true +} + +// HasExpiresAt returns a boolean if a field has been set. +func (o *OrganizationInviteResponse) HasExpiresAt() bool { + if o != nil && !isNil(o.ExpiresAt) { + return true + } + + return false +} + +// SetExpiresAt gets a reference to the given time.Time and assigns it to the ExpiresAt field. +func (o *OrganizationInviteResponse) SetExpiresAt(v time.Time) { + o.ExpiresAt = &v +} + +// GetInviter returns the Inviter field value if set, zero value otherwise. +func (o *OrganizationInviteResponse) GetInviter() string { + if o == nil || isNil(o.Inviter) { + var ret string + return ret + } + return *o.Inviter +} + +// GetInviterOk returns a tuple with the Inviter field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *OrganizationInviteResponse) GetInviterOk() (*string, bool) { + if o == nil || isNil(o.Inviter) { + return nil, false + } + return o.Inviter, true +} + +// HasInviter returns a boolean if a field has been set. +func (o *OrganizationInviteResponse) HasInviter() bool { + if o != nil && !isNil(o.Inviter) { + return true + } + + return false +} + +// SetInviter gets a reference to the given string and assigns it to the Inviter field. +func (o *OrganizationInviteResponse) SetInviter(v string) { + o.Inviter = &v +} + +// GetInviterUrl returns the InviterUrl field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *OrganizationInviteResponse) GetInviterUrl() string { + if o == nil || isNil(o.InviterUrl.Get()) { + var ret string + return ret + } + return *o.InviterUrl.Get() +} + +// GetInviterUrlOk returns a tuple with the InviterUrl 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 *OrganizationInviteResponse) GetInviterUrlOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.InviterUrl.Get(), o.InviterUrl.IsSet() +} + +// HasInviterUrl returns a boolean if a field has been set. +func (o *OrganizationInviteResponse) HasInviterUrl() bool { + if o != nil && o.InviterUrl.IsSet() { + return true + } + + return false +} + +// SetInviterUrl gets a reference to the given NullableString and assigns it to the InviterUrl field. +func (o *OrganizationInviteResponse) SetInviterUrl(v string) { + o.InviterUrl.Set(&v) +} + +// SetInviterUrlNil sets the value for InviterUrl to be an explicit nil +func (o *OrganizationInviteResponse) SetInviterUrlNil() { + o.InviterUrl.Set(nil) +} + +// UnsetInviterUrl ensures that no value is present for InviterUrl, not even an explicit nil +func (o *OrganizationInviteResponse) UnsetInviterUrl() { + o.InviterUrl.Unset() +} + +// GetOrg returns the Org field value if set, zero value otherwise. +func (o *OrganizationInviteResponse) GetOrg() string { + if o == nil || isNil(o.Org) { + var ret string + return ret + } + return *o.Org +} + +// GetOrgOk returns a tuple with the Org field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *OrganizationInviteResponse) GetOrgOk() (*string, bool) { + if o == nil || isNil(o.Org) { + return nil, false + } + return o.Org, true +} + +// HasOrg returns a boolean if a field has been set. +func (o *OrganizationInviteResponse) HasOrg() bool { + if o != nil && !isNil(o.Org) { + return true + } + + return false +} + +// SetOrg gets a reference to the given string and assigns it to the Org field. +func (o *OrganizationInviteResponse) SetOrg(v string) { + o.Org = &v +} + +// GetRole returns the Role field value if set, zero value otherwise. +func (o *OrganizationInviteResponse) GetRole() string { + if o == nil || isNil(o.Role) { + var ret string + return ret + } + return *o.Role +} + +// GetRoleOk returns a tuple with the Role field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *OrganizationInviteResponse) GetRoleOk() (*string, bool) { + if o == nil || isNil(o.Role) { + return nil, false + } + return o.Role, true +} + +// HasRole returns a boolean if a field has been set. +func (o *OrganizationInviteResponse) HasRole() bool { + if o != nil && !isNil(o.Role) { + return true + } + + return false +} + +// SetRole gets a reference to the given string and assigns it to the Role field. +func (o *OrganizationInviteResponse) SetRole(v string) { + o.Role = &v +} + +// GetSlugPerm returns the SlugPerm field value if set, zero value otherwise. +func (o *OrganizationInviteResponse) GetSlugPerm() string { + if o == nil || isNil(o.SlugPerm) { + var ret string + return ret + } + return *o.SlugPerm +} + +// GetSlugPermOk returns a tuple with the SlugPerm field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *OrganizationInviteResponse) GetSlugPermOk() (*string, bool) { + if o == nil || isNil(o.SlugPerm) { + return nil, false + } + return o.SlugPerm, true +} + +// HasSlugPerm returns a boolean if a field has been set. +func (o *OrganizationInviteResponse) HasSlugPerm() bool { + if o != nil && !isNil(o.SlugPerm) { + return true + } + + return false +} + +// SetSlugPerm gets a reference to the given string and assigns it to the SlugPerm field. +func (o *OrganizationInviteResponse) SetSlugPerm(v string) { + o.SlugPerm = &v +} + +// GetUser returns the User field value if set, zero value otherwise. +func (o *OrganizationInviteResponse) GetUser() string { + if o == nil || isNil(o.User) { + var ret string + return ret + } + return *o.User +} + +// GetUserOk returns a tuple with the User field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *OrganizationInviteResponse) GetUserOk() (*string, bool) { + if o == nil || isNil(o.User) { + return nil, false + } + return o.User, true +} + +// HasUser returns a boolean if a field has been set. +func (o *OrganizationInviteResponse) HasUser() bool { + if o != nil && !isNil(o.User) { + return true + } + + return false +} + +// SetUser gets a reference to the given string and assigns it to the User field. +func (o *OrganizationInviteResponse) SetUser(v string) { + o.User = &v +} + +// GetUserUrl returns the UserUrl field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *OrganizationInviteResponse) GetUserUrl() string { + if o == nil || isNil(o.UserUrl.Get()) { + var ret string + return ret + } + return *o.UserUrl.Get() +} + +// GetUserUrlOk returns a tuple with the UserUrl 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 *OrganizationInviteResponse) GetUserUrlOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.UserUrl.Get(), o.UserUrl.IsSet() +} + +// HasUserUrl returns a boolean if a field has been set. +func (o *OrganizationInviteResponse) HasUserUrl() bool { + if o != nil && o.UserUrl.IsSet() { + return true + } + + return false +} + +// SetUserUrl gets a reference to the given NullableString and assigns it to the UserUrl field. +func (o *OrganizationInviteResponse) SetUserUrl(v string) { + o.UserUrl.Set(&v) +} + +// SetUserUrlNil sets the value for UserUrl to be an explicit nil +func (o *OrganizationInviteResponse) SetUserUrlNil() { + o.UserUrl.Set(nil) +} + +// UnsetUserUrl ensures that no value is present for UserUrl, not even an explicit nil +func (o *OrganizationInviteResponse) UnsetUserUrl() { + o.UserUrl.Unset() +} + +func (o OrganizationInviteResponse) MarshalJSON() ([]byte, error) { + toSerialize := map[string]interface{}{} + if !isNil(o.Email) { + toSerialize["email"] = o.Email + } + if !isNil(o.ExpiresAt) { + toSerialize["expires_at"] = o.ExpiresAt + } + if !isNil(o.Inviter) { + toSerialize["inviter"] = o.Inviter + } + if o.InviterUrl.IsSet() { + toSerialize["inviter_url"] = o.InviterUrl.Get() + } + if !isNil(o.Org) { + toSerialize["org"] = o.Org + } + if !isNil(o.Role) { + toSerialize["role"] = o.Role + } + if !isNil(o.SlugPerm) { + toSerialize["slug_perm"] = o.SlugPerm + } + if !isNil(o.User) { + toSerialize["user"] = o.User + } + if o.UserUrl.IsSet() { + toSerialize["user_url"] = o.UserUrl.Get() + } + return json.Marshal(toSerialize) +} + +type NullableOrganizationInviteResponse struct { + value *OrganizationInviteResponse + isSet bool +} + +func (v NullableOrganizationInviteResponse) Get() *OrganizationInviteResponse { + return v.value +} + +func (v *NullableOrganizationInviteResponse) Set(val *OrganizationInviteResponse) { + v.value = val + v.isSet = true +} + +func (v NullableOrganizationInviteResponse) IsSet() bool { + return v.isSet +} + +func (v *NullableOrganizationInviteResponse) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableOrganizationInviteResponse(val *OrganizationInviteResponse) *NullableOrganizationInviteResponse { + return &NullableOrganizationInviteResponse{value: val, isSet: true} +} + +func (v NullableOrganizationInviteResponse) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableOrganizationInviteResponse) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} diff --git a/model_organization_invite_update_request_patch.go b/model_organization_invite_update_request_patch.go new file mode 100644 index 00000000..506f00e6 --- /dev/null +++ b/model_organization_invite_update_request_patch.go @@ -0,0 +1,119 @@ +/* +Cloudsmith API (v1) + +The API to the Cloudsmith Service + +API version: 1.181.6 +Contact: support@cloudsmith.io +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cloudsmith + +import ( + "encoding/json" +) + +// OrganizationInviteUpdateRequestPatch struct for OrganizationInviteUpdateRequestPatch +type OrganizationInviteUpdateRequestPatch struct { + // The role to be assigned to the invited user. + Role *string `json:"role,omitempty"` +} + +// NewOrganizationInviteUpdateRequestPatch instantiates a new OrganizationInviteUpdateRequestPatch object +// 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 NewOrganizationInviteUpdateRequestPatch() *OrganizationInviteUpdateRequestPatch { + this := OrganizationInviteUpdateRequestPatch{} + var role string = "Member" + this.Role = &role + return &this +} + +// NewOrganizationInviteUpdateRequestPatchWithDefaults instantiates a new OrganizationInviteUpdateRequestPatch object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewOrganizationInviteUpdateRequestPatchWithDefaults() *OrganizationInviteUpdateRequestPatch { + this := OrganizationInviteUpdateRequestPatch{} + var role string = "Member" + this.Role = &role + return &this +} + +// GetRole returns the Role field value if set, zero value otherwise. +func (o *OrganizationInviteUpdateRequestPatch) GetRole() string { + if o == nil || isNil(o.Role) { + var ret string + return ret + } + return *o.Role +} + +// GetRoleOk returns a tuple with the Role field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *OrganizationInviteUpdateRequestPatch) GetRoleOk() (*string, bool) { + if o == nil || isNil(o.Role) { + return nil, false + } + return o.Role, true +} + +// HasRole returns a boolean if a field has been set. +func (o *OrganizationInviteUpdateRequestPatch) HasRole() bool { + if o != nil && !isNil(o.Role) { + return true + } + + return false +} + +// SetRole gets a reference to the given string and assigns it to the Role field. +func (o *OrganizationInviteUpdateRequestPatch) SetRole(v string) { + o.Role = &v +} + +func (o OrganizationInviteUpdateRequestPatch) MarshalJSON() ([]byte, error) { + toSerialize := map[string]interface{}{} + if !isNil(o.Role) { + toSerialize["role"] = o.Role + } + return json.Marshal(toSerialize) +} + +type NullableOrganizationInviteUpdateRequestPatch struct { + value *OrganizationInviteUpdateRequestPatch + isSet bool +} + +func (v NullableOrganizationInviteUpdateRequestPatch) Get() *OrganizationInviteUpdateRequestPatch { + return v.value +} + +func (v *NullableOrganizationInviteUpdateRequestPatch) Set(val *OrganizationInviteUpdateRequestPatch) { + v.value = val + v.isSet = true +} + +func (v NullableOrganizationInviteUpdateRequestPatch) IsSet() bool { + return v.isSet +} + +func (v *NullableOrganizationInviteUpdateRequestPatch) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableOrganizationInviteUpdateRequestPatch(val *OrganizationInviteUpdateRequestPatch) *NullableOrganizationInviteUpdateRequestPatch { + return &NullableOrganizationInviteUpdateRequestPatch{value: val, isSet: true} +} + +func (v NullableOrganizationInviteUpdateRequestPatch) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableOrganizationInviteUpdateRequestPatch) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} diff --git a/model_organization_invite_update_response.go b/model_organization_invite_update_response.go new file mode 100644 index 00000000..c2379ff3 --- /dev/null +++ b/model_organization_invite_update_response.go @@ -0,0 +1,119 @@ +/* +Cloudsmith API (v1) + +The API to the Cloudsmith Service + +API version: 1.181.6 +Contact: support@cloudsmith.io +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cloudsmith + +import ( + "encoding/json" +) + +// OrganizationInviteUpdateResponse struct for OrganizationInviteUpdateResponse +type OrganizationInviteUpdateResponse struct { + // The role to be assigned to the invited user. + Role *string `json:"role,omitempty"` +} + +// NewOrganizationInviteUpdateResponse instantiates a new OrganizationInviteUpdateResponse object +// 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 NewOrganizationInviteUpdateResponse() *OrganizationInviteUpdateResponse { + this := OrganizationInviteUpdateResponse{} + var role string = "Member" + this.Role = &role + return &this +} + +// NewOrganizationInviteUpdateResponseWithDefaults instantiates a new OrganizationInviteUpdateResponse object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewOrganizationInviteUpdateResponseWithDefaults() *OrganizationInviteUpdateResponse { + this := OrganizationInviteUpdateResponse{} + var role string = "Member" + this.Role = &role + return &this +} + +// GetRole returns the Role field value if set, zero value otherwise. +func (o *OrganizationInviteUpdateResponse) GetRole() string { + if o == nil || isNil(o.Role) { + var ret string + return ret + } + return *o.Role +} + +// GetRoleOk returns a tuple with the Role field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *OrganizationInviteUpdateResponse) GetRoleOk() (*string, bool) { + if o == nil || isNil(o.Role) { + return nil, false + } + return o.Role, true +} + +// HasRole returns a boolean if a field has been set. +func (o *OrganizationInviteUpdateResponse) HasRole() bool { + if o != nil && !isNil(o.Role) { + return true + } + + return false +} + +// SetRole gets a reference to the given string and assigns it to the Role field. +func (o *OrganizationInviteUpdateResponse) SetRole(v string) { + o.Role = &v +} + +func (o OrganizationInviteUpdateResponse) MarshalJSON() ([]byte, error) { + toSerialize := map[string]interface{}{} + if !isNil(o.Role) { + toSerialize["role"] = o.Role + } + return json.Marshal(toSerialize) +} + +type NullableOrganizationInviteUpdateResponse struct { + value *OrganizationInviteUpdateResponse + isSet bool +} + +func (v NullableOrganizationInviteUpdateResponse) Get() *OrganizationInviteUpdateResponse { + return v.value +} + +func (v *NullableOrganizationInviteUpdateResponse) Set(val *OrganizationInviteUpdateResponse) { + v.value = val + v.isSet = true +} + +func (v NullableOrganizationInviteUpdateResponse) IsSet() bool { + return v.isSet +} + +func (v *NullableOrganizationInviteUpdateResponse) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableOrganizationInviteUpdateResponse(val *OrganizationInviteUpdateResponse) *NullableOrganizationInviteUpdateResponse { + return &NullableOrganizationInviteUpdateResponse{value: val, isSet: true} +} + +func (v NullableOrganizationInviteUpdateResponse) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableOrganizationInviteUpdateResponse) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} diff --git a/model_organization_membership.go b/model_organization_membership.go deleted file mode 100644 index 64eaf086..00000000 --- a/model_organization_membership.go +++ /dev/null @@ -1,448 +0,0 @@ -/* -Cloudsmith API - -The API to the Cloudsmith Service - -API version: 1.121.3 -Contact: support@cloudsmith.io -*/ - -// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. - -package cloudsmith - -import ( - "encoding/json" -) - -// OrganizationMembership struct for OrganizationMembership -type OrganizationMembership struct { - // - Email *string `json:"email,omitempty"` - // - HasTwoFactor *bool `json:"has_two_factor,omitempty"` - // - JoinedAt *string `json:"joined_at,omitempty"` - // - LastLoginAt *string `json:"last_login_at,omitempty"` - // - Role *string `json:"role,omitempty"` - // - User *string `json:"user,omitempty"` - // - UserId *string `json:"user_id,omitempty"` - // - UserName *string `json:"user_name,omitempty"` - // - UserUrl *string `json:"user_url,omitempty"` - // - Visibility *string `json:"visibility,omitempty"` -} - -// NewOrganizationMembership instantiates a new OrganizationMembership object -// 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 NewOrganizationMembership() *OrganizationMembership { - this := OrganizationMembership{} - return &this -} - -// NewOrganizationMembershipWithDefaults instantiates a new OrganizationMembership object -// This constructor will only assign default values to properties that have it defined, -// but it doesn't guarantee that properties required by API are set -func NewOrganizationMembershipWithDefaults() *OrganizationMembership { - this := OrganizationMembership{} - return &this -} - -// GetEmail returns the Email field value if set, zero value otherwise. -func (o *OrganizationMembership) GetEmail() string { - if o == nil || o.Email == nil { - var ret string - return ret - } - return *o.Email -} - -// GetEmailOk returns a tuple with the Email field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *OrganizationMembership) GetEmailOk() (*string, bool) { - if o == nil || o.Email == nil { - return nil, false - } - return o.Email, true -} - -// HasEmail returns a boolean if a field has been set. -func (o *OrganizationMembership) HasEmail() bool { - if o != nil && o.Email != nil { - return true - } - - return false -} - -// SetEmail gets a reference to the given string and assigns it to the Email field. -func (o *OrganizationMembership) SetEmail(v string) { - o.Email = &v -} - -// GetHasTwoFactor returns the HasTwoFactor field value if set, zero value otherwise. -func (o *OrganizationMembership) GetHasTwoFactor() bool { - if o == nil || o.HasTwoFactor == nil { - var ret bool - return ret - } - return *o.HasTwoFactor -} - -// GetHasTwoFactorOk returns a tuple with the HasTwoFactor field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *OrganizationMembership) GetHasTwoFactorOk() (*bool, bool) { - if o == nil || o.HasTwoFactor == nil { - return nil, false - } - return o.HasTwoFactor, true -} - -// HasHasTwoFactor returns a boolean if a field has been set. -func (o *OrganizationMembership) HasHasTwoFactor() bool { - if o != nil && o.HasTwoFactor != nil { - return true - } - - return false -} - -// SetHasTwoFactor gets a reference to the given bool and assigns it to the HasTwoFactor field. -func (o *OrganizationMembership) SetHasTwoFactor(v bool) { - o.HasTwoFactor = &v -} - -// GetJoinedAt returns the JoinedAt field value if set, zero value otherwise. -func (o *OrganizationMembership) GetJoinedAt() string { - if o == nil || o.JoinedAt == nil { - var ret string - return ret - } - return *o.JoinedAt -} - -// GetJoinedAtOk returns a tuple with the JoinedAt field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *OrganizationMembership) GetJoinedAtOk() (*string, bool) { - if o == nil || o.JoinedAt == nil { - return nil, false - } - return o.JoinedAt, true -} - -// HasJoinedAt returns a boolean if a field has been set. -func (o *OrganizationMembership) HasJoinedAt() bool { - if o != nil && o.JoinedAt != nil { - return true - } - - return false -} - -// SetJoinedAt gets a reference to the given string and assigns it to the JoinedAt field. -func (o *OrganizationMembership) SetJoinedAt(v string) { - o.JoinedAt = &v -} - -// GetLastLoginAt returns the LastLoginAt field value if set, zero value otherwise. -func (o *OrganizationMembership) GetLastLoginAt() string { - if o == nil || o.LastLoginAt == nil { - var ret string - return ret - } - return *o.LastLoginAt -} - -// GetLastLoginAtOk returns a tuple with the LastLoginAt field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *OrganizationMembership) GetLastLoginAtOk() (*string, bool) { - if o == nil || o.LastLoginAt == nil { - return nil, false - } - return o.LastLoginAt, true -} - -// HasLastLoginAt returns a boolean if a field has been set. -func (o *OrganizationMembership) HasLastLoginAt() bool { - if o != nil && o.LastLoginAt != nil { - return true - } - - return false -} - -// SetLastLoginAt gets a reference to the given string and assigns it to the LastLoginAt field. -func (o *OrganizationMembership) SetLastLoginAt(v string) { - o.LastLoginAt = &v -} - -// GetRole returns the Role field value if set, zero value otherwise. -func (o *OrganizationMembership) GetRole() string { - if o == nil || o.Role == nil { - var ret string - return ret - } - return *o.Role -} - -// GetRoleOk returns a tuple with the Role field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *OrganizationMembership) GetRoleOk() (*string, bool) { - if o == nil || o.Role == nil { - return nil, false - } - return o.Role, true -} - -// HasRole returns a boolean if a field has been set. -func (o *OrganizationMembership) HasRole() bool { - if o != nil && o.Role != nil { - return true - } - - return false -} - -// SetRole gets a reference to the given string and assigns it to the Role field. -func (o *OrganizationMembership) SetRole(v string) { - o.Role = &v -} - -// GetUser returns the User field value if set, zero value otherwise. -func (o *OrganizationMembership) GetUser() string { - if o == nil || o.User == nil { - var ret string - return ret - } - return *o.User -} - -// GetUserOk returns a tuple with the User field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *OrganizationMembership) GetUserOk() (*string, bool) { - if o == nil || o.User == nil { - return nil, false - } - return o.User, true -} - -// HasUser returns a boolean if a field has been set. -func (o *OrganizationMembership) HasUser() bool { - if o != nil && o.User != nil { - return true - } - - return false -} - -// SetUser gets a reference to the given string and assigns it to the User field. -func (o *OrganizationMembership) SetUser(v string) { - o.User = &v -} - -// GetUserId returns the UserId field value if set, zero value otherwise. -func (o *OrganizationMembership) GetUserId() string { - if o == nil || o.UserId == nil { - var ret string - return ret - } - return *o.UserId -} - -// GetUserIdOk returns a tuple with the UserId field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *OrganizationMembership) GetUserIdOk() (*string, bool) { - if o == nil || o.UserId == nil { - return nil, false - } - return o.UserId, true -} - -// HasUserId returns a boolean if a field has been set. -func (o *OrganizationMembership) HasUserId() bool { - if o != nil && o.UserId != nil { - return true - } - - return false -} - -// SetUserId gets a reference to the given string and assigns it to the UserId field. -func (o *OrganizationMembership) SetUserId(v string) { - o.UserId = &v -} - -// GetUserName returns the UserName field value if set, zero value otherwise. -func (o *OrganizationMembership) GetUserName() string { - if o == nil || o.UserName == nil { - var ret string - return ret - } - return *o.UserName -} - -// GetUserNameOk returns a tuple with the UserName field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *OrganizationMembership) GetUserNameOk() (*string, bool) { - if o == nil || o.UserName == nil { - return nil, false - } - return o.UserName, true -} - -// HasUserName returns a boolean if a field has been set. -func (o *OrganizationMembership) HasUserName() bool { - if o != nil && o.UserName != nil { - return true - } - - return false -} - -// SetUserName gets a reference to the given string and assigns it to the UserName field. -func (o *OrganizationMembership) SetUserName(v string) { - o.UserName = &v -} - -// GetUserUrl returns the UserUrl field value if set, zero value otherwise. -func (o *OrganizationMembership) GetUserUrl() string { - if o == nil || o.UserUrl == nil { - var ret string - return ret - } - return *o.UserUrl -} - -// GetUserUrlOk returns a tuple with the UserUrl field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *OrganizationMembership) GetUserUrlOk() (*string, bool) { - if o == nil || o.UserUrl == nil { - return nil, false - } - return o.UserUrl, true -} - -// HasUserUrl returns a boolean if a field has been set. -func (o *OrganizationMembership) HasUserUrl() bool { - if o != nil && o.UserUrl != nil { - return true - } - - return false -} - -// SetUserUrl gets a reference to the given string and assigns it to the UserUrl field. -func (o *OrganizationMembership) SetUserUrl(v string) { - o.UserUrl = &v -} - -// GetVisibility returns the Visibility field value if set, zero value otherwise. -func (o *OrganizationMembership) GetVisibility() string { - if o == nil || o.Visibility == nil { - var ret string - return ret - } - return *o.Visibility -} - -// GetVisibilityOk returns a tuple with the Visibility field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *OrganizationMembership) GetVisibilityOk() (*string, bool) { - if o == nil || o.Visibility == nil { - return nil, false - } - return o.Visibility, true -} - -// HasVisibility returns a boolean if a field has been set. -func (o *OrganizationMembership) HasVisibility() bool { - if o != nil && o.Visibility != nil { - return true - } - - return false -} - -// SetVisibility gets a reference to the given string and assigns it to the Visibility field. -func (o *OrganizationMembership) SetVisibility(v string) { - o.Visibility = &v -} - -func (o OrganizationMembership) MarshalJSON() ([]byte, error) { - toSerialize := map[string]interface{}{} - if o.Email != nil { - toSerialize["email"] = o.Email - } - if o.HasTwoFactor != nil { - toSerialize["has_two_factor"] = o.HasTwoFactor - } - if o.JoinedAt != nil { - toSerialize["joined_at"] = o.JoinedAt - } - if o.LastLoginAt != nil { - toSerialize["last_login_at"] = o.LastLoginAt - } - if o.Role != nil { - toSerialize["role"] = o.Role - } - if o.User != nil { - toSerialize["user"] = o.User - } - if o.UserId != nil { - toSerialize["user_id"] = o.UserId - } - if o.UserName != nil { - toSerialize["user_name"] = o.UserName - } - if o.UserUrl != nil { - toSerialize["user_url"] = o.UserUrl - } - if o.Visibility != nil { - toSerialize["visibility"] = o.Visibility - } - return json.Marshal(toSerialize) -} - -type NullableOrganizationMembership struct { - value *OrganizationMembership - isSet bool -} - -func (v NullableOrganizationMembership) Get() *OrganizationMembership { - return v.value -} - -func (v *NullableOrganizationMembership) Set(val *OrganizationMembership) { - v.value = val - v.isSet = true -} - -func (v NullableOrganizationMembership) IsSet() bool { - return v.isSet -} - -func (v *NullableOrganizationMembership) Unset() { - v.value = nil - v.isSet = false -} - -func NewNullableOrganizationMembership(val *OrganizationMembership) *NullableOrganizationMembership { - return &NullableOrganizationMembership{value: val, isSet: true} -} - -func (v NullableOrganizationMembership) MarshalJSON() ([]byte, error) { - return json.Marshal(v.value) -} - -func (v *NullableOrganizationMembership) UnmarshalJSON(src []byte) error { - v.isSet = true - return json.Unmarshal(src, &v.value) -} diff --git a/model_organization_membership_response.go b/model_organization_membership_response.go new file mode 100644 index 00000000..be7d6348 --- /dev/null +++ b/model_organization_membership_response.go @@ -0,0 +1,486 @@ +/* +Cloudsmith API (v1) + +The API to the Cloudsmith Service + +API version: 1.181.6 +Contact: support@cloudsmith.io +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cloudsmith + +import ( + "encoding/json" + "time" +) + +// OrganizationMembershipResponse struct for OrganizationMembershipResponse +type OrganizationMembershipResponse struct { + Email *string `json:"email,omitempty"` + HasTwoFactor *bool `json:"has_two_factor,omitempty"` + JoinedAt *time.Time `json:"joined_at,omitempty"` + LastLoginAt NullableTime `json:"last_login_at,omitempty"` + LastLoginMethod *string `json:"last_login_method,omitempty"` + Role *string `json:"role,omitempty"` + User *string `json:"user,omitempty"` + UserId *string `json:"user_id,omitempty"` + UserName *string `json:"user_name,omitempty"` + UserUrl *string `json:"user_url,omitempty"` + Visibility *string `json:"visibility,omitempty"` +} + +// NewOrganizationMembershipResponse instantiates a new OrganizationMembershipResponse object +// 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 NewOrganizationMembershipResponse() *OrganizationMembershipResponse { + this := OrganizationMembershipResponse{} + return &this +} + +// NewOrganizationMembershipResponseWithDefaults instantiates a new OrganizationMembershipResponse object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewOrganizationMembershipResponseWithDefaults() *OrganizationMembershipResponse { + this := OrganizationMembershipResponse{} + return &this +} + +// GetEmail returns the Email field value if set, zero value otherwise. +func (o *OrganizationMembershipResponse) GetEmail() string { + if o == nil || isNil(o.Email) { + var ret string + return ret + } + return *o.Email +} + +// GetEmailOk returns a tuple with the Email field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *OrganizationMembershipResponse) GetEmailOk() (*string, bool) { + if o == nil || isNil(o.Email) { + return nil, false + } + return o.Email, true +} + +// HasEmail returns a boolean if a field has been set. +func (o *OrganizationMembershipResponse) HasEmail() bool { + if o != nil && !isNil(o.Email) { + return true + } + + return false +} + +// SetEmail gets a reference to the given string and assigns it to the Email field. +func (o *OrganizationMembershipResponse) SetEmail(v string) { + o.Email = &v +} + +// GetHasTwoFactor returns the HasTwoFactor field value if set, zero value otherwise. +func (o *OrganizationMembershipResponse) GetHasTwoFactor() bool { + if o == nil || isNil(o.HasTwoFactor) { + var ret bool + return ret + } + return *o.HasTwoFactor +} + +// GetHasTwoFactorOk returns a tuple with the HasTwoFactor field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *OrganizationMembershipResponse) GetHasTwoFactorOk() (*bool, bool) { + if o == nil || isNil(o.HasTwoFactor) { + return nil, false + } + return o.HasTwoFactor, true +} + +// HasHasTwoFactor returns a boolean if a field has been set. +func (o *OrganizationMembershipResponse) HasHasTwoFactor() bool { + if o != nil && !isNil(o.HasTwoFactor) { + return true + } + + return false +} + +// SetHasTwoFactor gets a reference to the given bool and assigns it to the HasTwoFactor field. +func (o *OrganizationMembershipResponse) SetHasTwoFactor(v bool) { + o.HasTwoFactor = &v +} + +// GetJoinedAt returns the JoinedAt field value if set, zero value otherwise. +func (o *OrganizationMembershipResponse) GetJoinedAt() time.Time { + if o == nil || isNil(o.JoinedAt) { + var ret time.Time + return ret + } + return *o.JoinedAt +} + +// GetJoinedAtOk returns a tuple with the JoinedAt field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *OrganizationMembershipResponse) GetJoinedAtOk() (*time.Time, bool) { + if o == nil || isNil(o.JoinedAt) { + return nil, false + } + return o.JoinedAt, true +} + +// HasJoinedAt returns a boolean if a field has been set. +func (o *OrganizationMembershipResponse) HasJoinedAt() bool { + if o != nil && !isNil(o.JoinedAt) { + return true + } + + return false +} + +// SetJoinedAt gets a reference to the given time.Time and assigns it to the JoinedAt field. +func (o *OrganizationMembershipResponse) SetJoinedAt(v time.Time) { + o.JoinedAt = &v +} + +// GetLastLoginAt returns the LastLoginAt field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *OrganizationMembershipResponse) GetLastLoginAt() time.Time { + if o == nil || isNil(o.LastLoginAt.Get()) { + var ret time.Time + return ret + } + return *o.LastLoginAt.Get() +} + +// GetLastLoginAtOk returns a tuple with the LastLoginAt 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 *OrganizationMembershipResponse) GetLastLoginAtOk() (*time.Time, bool) { + if o == nil { + return nil, false + } + return o.LastLoginAt.Get(), o.LastLoginAt.IsSet() +} + +// HasLastLoginAt returns a boolean if a field has been set. +func (o *OrganizationMembershipResponse) HasLastLoginAt() bool { + if o != nil && o.LastLoginAt.IsSet() { + return true + } + + return false +} + +// SetLastLoginAt gets a reference to the given NullableTime and assigns it to the LastLoginAt field. +func (o *OrganizationMembershipResponse) SetLastLoginAt(v time.Time) { + o.LastLoginAt.Set(&v) +} + +// SetLastLoginAtNil sets the value for LastLoginAt to be an explicit nil +func (o *OrganizationMembershipResponse) SetLastLoginAtNil() { + o.LastLoginAt.Set(nil) +} + +// UnsetLastLoginAt ensures that no value is present for LastLoginAt, not even an explicit nil +func (o *OrganizationMembershipResponse) UnsetLastLoginAt() { + o.LastLoginAt.Unset() +} + +// GetLastLoginMethod returns the LastLoginMethod field value if set, zero value otherwise. +func (o *OrganizationMembershipResponse) GetLastLoginMethod() string { + if o == nil || isNil(o.LastLoginMethod) { + var ret string + return ret + } + return *o.LastLoginMethod +} + +// GetLastLoginMethodOk returns a tuple with the LastLoginMethod field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *OrganizationMembershipResponse) GetLastLoginMethodOk() (*string, bool) { + if o == nil || isNil(o.LastLoginMethod) { + return nil, false + } + return o.LastLoginMethod, true +} + +// HasLastLoginMethod returns a boolean if a field has been set. +func (o *OrganizationMembershipResponse) HasLastLoginMethod() bool { + if o != nil && !isNil(o.LastLoginMethod) { + return true + } + + return false +} + +// SetLastLoginMethod gets a reference to the given string and assigns it to the LastLoginMethod field. +func (o *OrganizationMembershipResponse) SetLastLoginMethod(v string) { + o.LastLoginMethod = &v +} + +// GetRole returns the Role field value if set, zero value otherwise. +func (o *OrganizationMembershipResponse) GetRole() string { + if o == nil || isNil(o.Role) { + var ret string + return ret + } + return *o.Role +} + +// GetRoleOk returns a tuple with the Role field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *OrganizationMembershipResponse) GetRoleOk() (*string, bool) { + if o == nil || isNil(o.Role) { + return nil, false + } + return o.Role, true +} + +// HasRole returns a boolean if a field has been set. +func (o *OrganizationMembershipResponse) HasRole() bool { + if o != nil && !isNil(o.Role) { + return true + } + + return false +} + +// SetRole gets a reference to the given string and assigns it to the Role field. +func (o *OrganizationMembershipResponse) SetRole(v string) { + o.Role = &v +} + +// GetUser returns the User field value if set, zero value otherwise. +func (o *OrganizationMembershipResponse) GetUser() string { + if o == nil || isNil(o.User) { + var ret string + return ret + } + return *o.User +} + +// GetUserOk returns a tuple with the User field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *OrganizationMembershipResponse) GetUserOk() (*string, bool) { + if o == nil || isNil(o.User) { + return nil, false + } + return o.User, true +} + +// HasUser returns a boolean if a field has been set. +func (o *OrganizationMembershipResponse) HasUser() bool { + if o != nil && !isNil(o.User) { + return true + } + + return false +} + +// SetUser gets a reference to the given string and assigns it to the User field. +func (o *OrganizationMembershipResponse) SetUser(v string) { + o.User = &v +} + +// GetUserId returns the UserId field value if set, zero value otherwise. +func (o *OrganizationMembershipResponse) GetUserId() string { + if o == nil || isNil(o.UserId) { + var ret string + return ret + } + return *o.UserId +} + +// GetUserIdOk returns a tuple with the UserId field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *OrganizationMembershipResponse) GetUserIdOk() (*string, bool) { + if o == nil || isNil(o.UserId) { + return nil, false + } + return o.UserId, true +} + +// HasUserId returns a boolean if a field has been set. +func (o *OrganizationMembershipResponse) HasUserId() bool { + if o != nil && !isNil(o.UserId) { + return true + } + + return false +} + +// SetUserId gets a reference to the given string and assigns it to the UserId field. +func (o *OrganizationMembershipResponse) SetUserId(v string) { + o.UserId = &v +} + +// GetUserName returns the UserName field value if set, zero value otherwise. +func (o *OrganizationMembershipResponse) GetUserName() string { + if o == nil || isNil(o.UserName) { + var ret string + return ret + } + return *o.UserName +} + +// GetUserNameOk returns a tuple with the UserName field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *OrganizationMembershipResponse) GetUserNameOk() (*string, bool) { + if o == nil || isNil(o.UserName) { + return nil, false + } + return o.UserName, true +} + +// HasUserName returns a boolean if a field has been set. +func (o *OrganizationMembershipResponse) HasUserName() bool { + if o != nil && !isNil(o.UserName) { + return true + } + + return false +} + +// SetUserName gets a reference to the given string and assigns it to the UserName field. +func (o *OrganizationMembershipResponse) SetUserName(v string) { + o.UserName = &v +} + +// GetUserUrl returns the UserUrl field value if set, zero value otherwise. +func (o *OrganizationMembershipResponse) GetUserUrl() string { + if o == nil || isNil(o.UserUrl) { + var ret string + return ret + } + return *o.UserUrl +} + +// GetUserUrlOk returns a tuple with the UserUrl field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *OrganizationMembershipResponse) GetUserUrlOk() (*string, bool) { + if o == nil || isNil(o.UserUrl) { + return nil, false + } + return o.UserUrl, true +} + +// HasUserUrl returns a boolean if a field has been set. +func (o *OrganizationMembershipResponse) HasUserUrl() bool { + if o != nil && !isNil(o.UserUrl) { + return true + } + + return false +} + +// SetUserUrl gets a reference to the given string and assigns it to the UserUrl field. +func (o *OrganizationMembershipResponse) SetUserUrl(v string) { + o.UserUrl = &v +} + +// GetVisibility returns the Visibility field value if set, zero value otherwise. +func (o *OrganizationMembershipResponse) GetVisibility() string { + if o == nil || isNil(o.Visibility) { + var ret string + return ret + } + return *o.Visibility +} + +// GetVisibilityOk returns a tuple with the Visibility field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *OrganizationMembershipResponse) GetVisibilityOk() (*string, bool) { + if o == nil || isNil(o.Visibility) { + return nil, false + } + return o.Visibility, true +} + +// HasVisibility returns a boolean if a field has been set. +func (o *OrganizationMembershipResponse) HasVisibility() bool { + if o != nil && !isNil(o.Visibility) { + return true + } + + return false +} + +// SetVisibility gets a reference to the given string and assigns it to the Visibility field. +func (o *OrganizationMembershipResponse) SetVisibility(v string) { + o.Visibility = &v +} + +func (o OrganizationMembershipResponse) MarshalJSON() ([]byte, error) { + toSerialize := map[string]interface{}{} + if !isNil(o.Email) { + toSerialize["email"] = o.Email + } + if !isNil(o.HasTwoFactor) { + toSerialize["has_two_factor"] = o.HasTwoFactor + } + if !isNil(o.JoinedAt) { + toSerialize["joined_at"] = o.JoinedAt + } + if o.LastLoginAt.IsSet() { + toSerialize["last_login_at"] = o.LastLoginAt.Get() + } + if !isNil(o.LastLoginMethod) { + toSerialize["last_login_method"] = o.LastLoginMethod + } + if !isNil(o.Role) { + toSerialize["role"] = o.Role + } + if !isNil(o.User) { + toSerialize["user"] = o.User + } + if !isNil(o.UserId) { + toSerialize["user_id"] = o.UserId + } + if !isNil(o.UserName) { + toSerialize["user_name"] = o.UserName + } + if !isNil(o.UserUrl) { + toSerialize["user_url"] = o.UserUrl + } + if !isNil(o.Visibility) { + toSerialize["visibility"] = o.Visibility + } + return json.Marshal(toSerialize) +} + +type NullableOrganizationMembershipResponse struct { + value *OrganizationMembershipResponse + isSet bool +} + +func (v NullableOrganizationMembershipResponse) Get() *OrganizationMembershipResponse { + return v.value +} + +func (v *NullableOrganizationMembershipResponse) Set(val *OrganizationMembershipResponse) { + v.value = val + v.isSet = true +} + +func (v NullableOrganizationMembershipResponse) IsSet() bool { + return v.isSet +} + +func (v *NullableOrganizationMembershipResponse) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableOrganizationMembershipResponse(val *OrganizationMembershipResponse) *NullableOrganizationMembershipResponse { + return &NullableOrganizationMembershipResponse{value: val, isSet: true} +} + +func (v NullableOrganizationMembershipResponse) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableOrganizationMembershipResponse) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} diff --git a/model_organization.go b/model_organization_response.go similarity index 51% rename from model_organization.go rename to model_organization_response.go index 6401b84d..c1292203 100644 --- a/model_organization.go +++ b/model_organization_response.go @@ -1,9 +1,9 @@ /* -Cloudsmith API +Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.121.3 +API version: 1.181.6 Contact: support@cloudsmith.io */ @@ -13,79 +13,87 @@ package cloudsmith import ( "encoding/json" + "time" ) -// Organization struct for Organization -type Organization struct { - // - Country *string `json:"country,omitempty"` - // - CreatedAt *string `json:"created_at,omitempty"` +// OrganizationResponse struct for OrganizationResponse +type OrganizationResponse struct { + Country NullableString `json:"country,omitempty"` + CreatedAt *time.Time `json:"created_at,omitempty"` // The city/town/area your organization is based in. Location *string `json:"location,omitempty"` // A descriptive name for your organization. - Name *string `json:"name,omitempty"` - // - Slug *string `json:"slug,omitempty"` - // + Name *string `json:"name,omitempty"` + Slug *string `json:"slug,omitempty"` SlugPerm *string `json:"slug_perm,omitempty"` // A short public descriptive for your organization. Tagline *string `json:"tagline,omitempty"` } -// NewOrganization instantiates a new Organization object +// NewOrganizationResponse instantiates a new OrganizationResponse object // 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 NewOrganization() *Organization { - this := Organization{} +func NewOrganizationResponse() *OrganizationResponse { + this := OrganizationResponse{} return &this } -// NewOrganizationWithDefaults instantiates a new Organization object +// NewOrganizationResponseWithDefaults instantiates a new OrganizationResponse object // This constructor will only assign default values to properties that have it defined, // but it doesn't guarantee that properties required by API are set -func NewOrganizationWithDefaults() *Organization { - this := Organization{} +func NewOrganizationResponseWithDefaults() *OrganizationResponse { + this := OrganizationResponse{} return &this } -// GetCountry returns the Country field value if set, zero value otherwise. -func (o *Organization) GetCountry() string { - if o == nil || o.Country == nil { +// GetCountry returns the Country field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *OrganizationResponse) GetCountry() string { + if o == nil || isNil(o.Country.Get()) { var ret string return ret } - return *o.Country + return *o.Country.Get() } // GetCountryOk returns a tuple with the Country field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *Organization) GetCountryOk() (*string, bool) { - if o == nil || o.Country == nil { +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *OrganizationResponse) GetCountryOk() (*string, bool) { + if o == nil { return nil, false } - return o.Country, true + return o.Country.Get(), o.Country.IsSet() } // HasCountry returns a boolean if a field has been set. -func (o *Organization) HasCountry() bool { - if o != nil && o.Country != nil { +func (o *OrganizationResponse) HasCountry() bool { + if o != nil && o.Country.IsSet() { return true } return false } -// SetCountry gets a reference to the given string and assigns it to the Country field. -func (o *Organization) SetCountry(v string) { - o.Country = &v +// SetCountry gets a reference to the given NullableString and assigns it to the Country field. +func (o *OrganizationResponse) SetCountry(v string) { + o.Country.Set(&v) +} + +// SetCountryNil sets the value for Country to be an explicit nil +func (o *OrganizationResponse) SetCountryNil() { + o.Country.Set(nil) +} + +// UnsetCountry ensures that no value is present for Country, not even an explicit nil +func (o *OrganizationResponse) UnsetCountry() { + o.Country.Unset() } // GetCreatedAt returns the CreatedAt field value if set, zero value otherwise. -func (o *Organization) GetCreatedAt() string { - if o == nil || o.CreatedAt == nil { - var ret string +func (o *OrganizationResponse) GetCreatedAt() time.Time { + if o == nil || isNil(o.CreatedAt) { + var ret time.Time return ret } return *o.CreatedAt @@ -93,30 +101,30 @@ func (o *Organization) GetCreatedAt() string { // GetCreatedAtOk returns a tuple with the CreatedAt field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *Organization) GetCreatedAtOk() (*string, bool) { - if o == nil || o.CreatedAt == nil { +func (o *OrganizationResponse) GetCreatedAtOk() (*time.Time, bool) { + if o == nil || isNil(o.CreatedAt) { return nil, false } return o.CreatedAt, true } // HasCreatedAt returns a boolean if a field has been set. -func (o *Organization) HasCreatedAt() bool { - if o != nil && o.CreatedAt != nil { +func (o *OrganizationResponse) HasCreatedAt() bool { + if o != nil && !isNil(o.CreatedAt) { return true } return false } -// SetCreatedAt gets a reference to the given string and assigns it to the CreatedAt field. -func (o *Organization) SetCreatedAt(v string) { +// SetCreatedAt gets a reference to the given time.Time and assigns it to the CreatedAt field. +func (o *OrganizationResponse) SetCreatedAt(v time.Time) { o.CreatedAt = &v } // GetLocation returns the Location field value if set, zero value otherwise. -func (o *Organization) GetLocation() string { - if o == nil || o.Location == nil { +func (o *OrganizationResponse) GetLocation() string { + if o == nil || isNil(o.Location) { var ret string return ret } @@ -125,16 +133,16 @@ func (o *Organization) GetLocation() string { // GetLocationOk returns a tuple with the Location field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *Organization) GetLocationOk() (*string, bool) { - if o == nil || o.Location == nil { +func (o *OrganizationResponse) GetLocationOk() (*string, bool) { + if o == nil || isNil(o.Location) { return nil, false } return o.Location, true } // HasLocation returns a boolean if a field has been set. -func (o *Organization) HasLocation() bool { - if o != nil && o.Location != nil { +func (o *OrganizationResponse) HasLocation() bool { + if o != nil && !isNil(o.Location) { return true } @@ -142,13 +150,13 @@ func (o *Organization) HasLocation() bool { } // SetLocation gets a reference to the given string and assigns it to the Location field. -func (o *Organization) SetLocation(v string) { +func (o *OrganizationResponse) SetLocation(v string) { o.Location = &v } // GetName returns the Name field value if set, zero value otherwise. -func (o *Organization) GetName() string { - if o == nil || o.Name == nil { +func (o *OrganizationResponse) GetName() string { + if o == nil || isNil(o.Name) { var ret string return ret } @@ -157,16 +165,16 @@ func (o *Organization) GetName() string { // GetNameOk returns a tuple with the Name field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *Organization) GetNameOk() (*string, bool) { - if o == nil || o.Name == nil { +func (o *OrganizationResponse) GetNameOk() (*string, bool) { + if o == nil || isNil(o.Name) { return nil, false } return o.Name, true } // HasName returns a boolean if a field has been set. -func (o *Organization) HasName() bool { - if o != nil && o.Name != nil { +func (o *OrganizationResponse) HasName() bool { + if o != nil && !isNil(o.Name) { return true } @@ -174,13 +182,13 @@ func (o *Organization) HasName() bool { } // SetName gets a reference to the given string and assigns it to the Name field. -func (o *Organization) SetName(v string) { +func (o *OrganizationResponse) SetName(v string) { o.Name = &v } // GetSlug returns the Slug field value if set, zero value otherwise. -func (o *Organization) GetSlug() string { - if o == nil || o.Slug == nil { +func (o *OrganizationResponse) GetSlug() string { + if o == nil || isNil(o.Slug) { var ret string return ret } @@ -189,16 +197,16 @@ func (o *Organization) GetSlug() string { // GetSlugOk returns a tuple with the Slug field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *Organization) GetSlugOk() (*string, bool) { - if o == nil || o.Slug == nil { +func (o *OrganizationResponse) GetSlugOk() (*string, bool) { + if o == nil || isNil(o.Slug) { return nil, false } return o.Slug, true } // HasSlug returns a boolean if a field has been set. -func (o *Organization) HasSlug() bool { - if o != nil && o.Slug != nil { +func (o *OrganizationResponse) HasSlug() bool { + if o != nil && !isNil(o.Slug) { return true } @@ -206,13 +214,13 @@ func (o *Organization) HasSlug() bool { } // SetSlug gets a reference to the given string and assigns it to the Slug field. -func (o *Organization) SetSlug(v string) { +func (o *OrganizationResponse) SetSlug(v string) { o.Slug = &v } // GetSlugPerm returns the SlugPerm field value if set, zero value otherwise. -func (o *Organization) GetSlugPerm() string { - if o == nil || o.SlugPerm == nil { +func (o *OrganizationResponse) GetSlugPerm() string { + if o == nil || isNil(o.SlugPerm) { var ret string return ret } @@ -221,16 +229,16 @@ func (o *Organization) GetSlugPerm() string { // GetSlugPermOk returns a tuple with the SlugPerm field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *Organization) GetSlugPermOk() (*string, bool) { - if o == nil || o.SlugPerm == nil { +func (o *OrganizationResponse) GetSlugPermOk() (*string, bool) { + if o == nil || isNil(o.SlugPerm) { return nil, false } return o.SlugPerm, true } // HasSlugPerm returns a boolean if a field has been set. -func (o *Organization) HasSlugPerm() bool { - if o != nil && o.SlugPerm != nil { +func (o *OrganizationResponse) HasSlugPerm() bool { + if o != nil && !isNil(o.SlugPerm) { return true } @@ -238,13 +246,13 @@ func (o *Organization) HasSlugPerm() bool { } // SetSlugPerm gets a reference to the given string and assigns it to the SlugPerm field. -func (o *Organization) SetSlugPerm(v string) { +func (o *OrganizationResponse) SetSlugPerm(v string) { o.SlugPerm = &v } // GetTagline returns the Tagline field value if set, zero value otherwise. -func (o *Organization) GetTagline() string { - if o == nil || o.Tagline == nil { +func (o *OrganizationResponse) GetTagline() string { + if o == nil || isNil(o.Tagline) { var ret string return ret } @@ -253,16 +261,16 @@ func (o *Organization) GetTagline() string { // GetTaglineOk returns a tuple with the Tagline field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *Organization) GetTaglineOk() (*string, bool) { - if o == nil || o.Tagline == nil { +func (o *OrganizationResponse) GetTaglineOk() (*string, bool) { + if o == nil || isNil(o.Tagline) { return nil, false } return o.Tagline, true } // HasTagline returns a boolean if a field has been set. -func (o *Organization) HasTagline() bool { - if o != nil && o.Tagline != nil { +func (o *OrganizationResponse) HasTagline() bool { + if o != nil && !isNil(o.Tagline) { return true } @@ -270,68 +278,68 @@ func (o *Organization) HasTagline() bool { } // SetTagline gets a reference to the given string and assigns it to the Tagline field. -func (o *Organization) SetTagline(v string) { +func (o *OrganizationResponse) SetTagline(v string) { o.Tagline = &v } -func (o Organization) MarshalJSON() ([]byte, error) { +func (o OrganizationResponse) MarshalJSON() ([]byte, error) { toSerialize := map[string]interface{}{} - if o.Country != nil { - toSerialize["country"] = o.Country + if o.Country.IsSet() { + toSerialize["country"] = o.Country.Get() } - if o.CreatedAt != nil { + if !isNil(o.CreatedAt) { toSerialize["created_at"] = o.CreatedAt } - if o.Location != nil { + if !isNil(o.Location) { toSerialize["location"] = o.Location } - if o.Name != nil { + if !isNil(o.Name) { toSerialize["name"] = o.Name } - if o.Slug != nil { + if !isNil(o.Slug) { toSerialize["slug"] = o.Slug } - if o.SlugPerm != nil { + if !isNil(o.SlugPerm) { toSerialize["slug_perm"] = o.SlugPerm } - if o.Tagline != nil { + if !isNil(o.Tagline) { toSerialize["tagline"] = o.Tagline } return json.Marshal(toSerialize) } -type NullableOrganization struct { - value *Organization +type NullableOrganizationResponse struct { + value *OrganizationResponse isSet bool } -func (v NullableOrganization) Get() *Organization { +func (v NullableOrganizationResponse) Get() *OrganizationResponse { return v.value } -func (v *NullableOrganization) Set(val *Organization) { +func (v *NullableOrganizationResponse) Set(val *OrganizationResponse) { v.value = val v.isSet = true } -func (v NullableOrganization) IsSet() bool { +func (v NullableOrganizationResponse) IsSet() bool { return v.isSet } -func (v *NullableOrganization) Unset() { +func (v *NullableOrganizationResponse) Unset() { v.value = nil v.isSet = false } -func NewNullableOrganization(val *Organization) *NullableOrganization { - return &NullableOrganization{value: val, isSet: true} +func NewNullableOrganizationResponse(val *OrganizationResponse) *NullableOrganizationResponse { + return &NullableOrganizationResponse{value: val, isSet: true} } -func (v NullableOrganization) MarshalJSON() ([]byte, error) { +func (v NullableOrganizationResponse) MarshalJSON() ([]byte, error) { return json.Marshal(v.value) } -func (v *NullableOrganization) UnmarshalJSON(src []byte) error { +func (v *NullableOrganizationResponse) UnmarshalJSON(src []byte) error { v.isSet = true return json.Unmarshal(src, &v.value) } diff --git a/model_organization_team_members.go b/model_organization_team_members.go index b94e57b1..2ba2d3a8 100644 --- a/model_organization_team_members.go +++ b/model_organization_team_members.go @@ -1,9 +1,9 @@ /* -Cloudsmith API +Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.121.3 +API version: 1.181.6 Contact: support@cloudsmith.io */ @@ -17,15 +17,15 @@ import ( // OrganizationTeamMembers struct for OrganizationTeamMembers type OrganizationTeamMembers struct { - // - Members []OrganizationTeamMembersMembers `json:"members"` + // The team members + Members []OrganizationTeamMembership `json:"members"` } // NewOrganizationTeamMembers instantiates a new OrganizationTeamMembers object // 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 NewOrganizationTeamMembers(members []OrganizationTeamMembersMembers) *OrganizationTeamMembers { +func NewOrganizationTeamMembers(members []OrganizationTeamMembership) *OrganizationTeamMembers { this := OrganizationTeamMembers{} this.Members = members return &this @@ -40,9 +40,9 @@ func NewOrganizationTeamMembersWithDefaults() *OrganizationTeamMembers { } // GetMembers returns the Members field value -func (o *OrganizationTeamMembers) GetMembers() []OrganizationTeamMembersMembers { +func (o *OrganizationTeamMembers) GetMembers() []OrganizationTeamMembership { if o == nil { - var ret []OrganizationTeamMembersMembers + var ret []OrganizationTeamMembership return ret } @@ -51,7 +51,7 @@ func (o *OrganizationTeamMembers) GetMembers() []OrganizationTeamMembersMembers // GetMembersOk returns a tuple with the Members field value // and a boolean to check if the value has been set. -func (o *OrganizationTeamMembers) GetMembersOk() ([]OrganizationTeamMembersMembers, bool) { +func (o *OrganizationTeamMembers) GetMembersOk() ([]OrganizationTeamMembership, bool) { if o == nil { return nil, false } @@ -59,7 +59,7 @@ func (o *OrganizationTeamMembers) GetMembersOk() ([]OrganizationTeamMembersMembe } // SetMembers sets field value -func (o *OrganizationTeamMembers) SetMembers(v []OrganizationTeamMembersMembers) { +func (o *OrganizationTeamMembers) SetMembers(v []OrganizationTeamMembership) { o.Members = v } diff --git a/model_organization_team_members_members.go b/model_organization_team_members_members.go deleted file mode 100644 index ee4dc109..00000000 --- a/model_organization_team_members_members.go +++ /dev/null @@ -1,152 +0,0 @@ -/* -Cloudsmith API - -The API to the Cloudsmith Service - -API version: 1.121.3 -Contact: support@cloudsmith.io -*/ - -// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. - -package cloudsmith - -import ( - "encoding/json" -) - -// OrganizationTeamMembersMembers struct for OrganizationTeamMembersMembers -type OrganizationTeamMembersMembers struct { - // - Role *string `json:"role,omitempty"` - // - User *string `json:"user,omitempty"` -} - -// NewOrganizationTeamMembersMembers instantiates a new OrganizationTeamMembersMembers object -// 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 NewOrganizationTeamMembersMembers() *OrganizationTeamMembersMembers { - this := OrganizationTeamMembersMembers{} - return &this -} - -// NewOrganizationTeamMembersMembersWithDefaults instantiates a new OrganizationTeamMembersMembers object -// This constructor will only assign default values to properties that have it defined, -// but it doesn't guarantee that properties required by API are set -func NewOrganizationTeamMembersMembersWithDefaults() *OrganizationTeamMembersMembers { - this := OrganizationTeamMembersMembers{} - return &this -} - -// GetRole returns the Role field value if set, zero value otherwise. -func (o *OrganizationTeamMembersMembers) GetRole() string { - if o == nil || o.Role == nil { - var ret string - return ret - } - return *o.Role -} - -// GetRoleOk returns a tuple with the Role field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *OrganizationTeamMembersMembers) GetRoleOk() (*string, bool) { - if o == nil || o.Role == nil { - return nil, false - } - return o.Role, true -} - -// HasRole returns a boolean if a field has been set. -func (o *OrganizationTeamMembersMembers) HasRole() bool { - if o != nil && o.Role != nil { - return true - } - - return false -} - -// SetRole gets a reference to the given string and assigns it to the Role field. -func (o *OrganizationTeamMembersMembers) SetRole(v string) { - o.Role = &v -} - -// GetUser returns the User field value if set, zero value otherwise. -func (o *OrganizationTeamMembersMembers) GetUser() string { - if o == nil || o.User == nil { - var ret string - return ret - } - return *o.User -} - -// GetUserOk returns a tuple with the User field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *OrganizationTeamMembersMembers) GetUserOk() (*string, bool) { - if o == nil || o.User == nil { - return nil, false - } - return o.User, true -} - -// HasUser returns a boolean if a field has been set. -func (o *OrganizationTeamMembersMembers) HasUser() bool { - if o != nil && o.User != nil { - return true - } - - return false -} - -// SetUser gets a reference to the given string and assigns it to the User field. -func (o *OrganizationTeamMembersMembers) SetUser(v string) { - o.User = &v -} - -func (o OrganizationTeamMembersMembers) MarshalJSON() ([]byte, error) { - toSerialize := map[string]interface{}{} - if o.Role != nil { - toSerialize["role"] = o.Role - } - if o.User != nil { - toSerialize["user"] = o.User - } - return json.Marshal(toSerialize) -} - -type NullableOrganizationTeamMembersMembers struct { - value *OrganizationTeamMembersMembers - isSet bool -} - -func (v NullableOrganizationTeamMembersMembers) Get() *OrganizationTeamMembersMembers { - return v.value -} - -func (v *NullableOrganizationTeamMembersMembers) Set(val *OrganizationTeamMembersMembers) { - v.value = val - v.isSet = true -} - -func (v NullableOrganizationTeamMembersMembers) IsSet() bool { - return v.isSet -} - -func (v *NullableOrganizationTeamMembersMembers) Unset() { - v.value = nil - v.isSet = false -} - -func NewNullableOrganizationTeamMembersMembers(val *OrganizationTeamMembersMembers) *NullableOrganizationTeamMembersMembers { - return &NullableOrganizationTeamMembersMembers{value: val, isSet: true} -} - -func (v NullableOrganizationTeamMembersMembers) MarshalJSON() ([]byte, error) { - return json.Marshal(v.value) -} - -func (v *NullableOrganizationTeamMembersMembers) UnmarshalJSON(src []byte) error { - v.isSet = true - return json.Unmarshal(src, &v.value) -} diff --git a/model_organization_team_members_response.go b/model_organization_team_members_response.go new file mode 100644 index 00000000..70a5a908 --- /dev/null +++ b/model_organization_team_members_response.go @@ -0,0 +1,108 @@ +/* +Cloudsmith API (v1) + +The API to the Cloudsmith Service + +API version: 1.181.6 +Contact: support@cloudsmith.io +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cloudsmith + +import ( + "encoding/json" +) + +// OrganizationTeamMembersResponse struct for OrganizationTeamMembersResponse +type OrganizationTeamMembersResponse struct { + // The team members + Members []OrganizationTeamMembership `json:"members"` +} + +// NewOrganizationTeamMembersResponse instantiates a new OrganizationTeamMembersResponse object +// 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 NewOrganizationTeamMembersResponse(members []OrganizationTeamMembership) *OrganizationTeamMembersResponse { + this := OrganizationTeamMembersResponse{} + this.Members = members + return &this +} + +// NewOrganizationTeamMembersResponseWithDefaults instantiates a new OrganizationTeamMembersResponse object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewOrganizationTeamMembersResponseWithDefaults() *OrganizationTeamMembersResponse { + this := OrganizationTeamMembersResponse{} + return &this +} + +// GetMembers returns the Members field value +func (o *OrganizationTeamMembersResponse) GetMembers() []OrganizationTeamMembership { + if o == nil { + var ret []OrganizationTeamMembership + return ret + } + + return o.Members +} + +// GetMembersOk returns a tuple with the Members field value +// and a boolean to check if the value has been set. +func (o *OrganizationTeamMembersResponse) GetMembersOk() ([]OrganizationTeamMembership, bool) { + if o == nil { + return nil, false + } + return o.Members, true +} + +// SetMembers sets field value +func (o *OrganizationTeamMembersResponse) SetMembers(v []OrganizationTeamMembership) { + o.Members = v +} + +func (o OrganizationTeamMembersResponse) MarshalJSON() ([]byte, error) { + toSerialize := map[string]interface{}{} + if true { + toSerialize["members"] = o.Members + } + return json.Marshal(toSerialize) +} + +type NullableOrganizationTeamMembersResponse struct { + value *OrganizationTeamMembersResponse + isSet bool +} + +func (v NullableOrganizationTeamMembersResponse) Get() *OrganizationTeamMembersResponse { + return v.value +} + +func (v *NullableOrganizationTeamMembersResponse) Set(val *OrganizationTeamMembersResponse) { + v.value = val + v.isSet = true +} + +func (v NullableOrganizationTeamMembersResponse) IsSet() bool { + return v.isSet +} + +func (v *NullableOrganizationTeamMembersResponse) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableOrganizationTeamMembersResponse(val *OrganizationTeamMembersResponse) *NullableOrganizationTeamMembersResponse { + return &NullableOrganizationTeamMembersResponse{value: val, isSet: true} +} + +func (v NullableOrganizationTeamMembersResponse) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableOrganizationTeamMembersResponse) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} diff --git a/model_organization_team_membership.go b/model_organization_team_membership.go new file mode 100644 index 00000000..fd32c483 --- /dev/null +++ b/model_organization_team_membership.go @@ -0,0 +1,136 @@ +/* +Cloudsmith API (v1) + +The API to the Cloudsmith Service + +API version: 1.181.6 +Contact: support@cloudsmith.io +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cloudsmith + +import ( + "encoding/json" +) + +// OrganizationTeamMembership The team members +type OrganizationTeamMembership struct { + Role string `json:"role"` + User string `json:"user"` +} + +// NewOrganizationTeamMembership instantiates a new OrganizationTeamMembership object +// 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 NewOrganizationTeamMembership(role string, user string) *OrganizationTeamMembership { + this := OrganizationTeamMembership{} + this.Role = role + this.User = user + return &this +} + +// NewOrganizationTeamMembershipWithDefaults instantiates a new OrganizationTeamMembership object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewOrganizationTeamMembershipWithDefaults() *OrganizationTeamMembership { + this := OrganizationTeamMembership{} + return &this +} + +// GetRole returns the Role field value +func (o *OrganizationTeamMembership) GetRole() string { + if o == nil { + var ret string + return ret + } + + return o.Role +} + +// GetRoleOk returns a tuple with the Role field value +// and a boolean to check if the value has been set. +func (o *OrganizationTeamMembership) GetRoleOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Role, true +} + +// SetRole sets field value +func (o *OrganizationTeamMembership) SetRole(v string) { + o.Role = v +} + +// GetUser returns the User field value +func (o *OrganizationTeamMembership) GetUser() string { + if o == nil { + var ret string + return ret + } + + return o.User +} + +// GetUserOk returns a tuple with the User field value +// and a boolean to check if the value has been set. +func (o *OrganizationTeamMembership) GetUserOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.User, true +} + +// SetUser sets field value +func (o *OrganizationTeamMembership) SetUser(v string) { + o.User = v +} + +func (o OrganizationTeamMembership) MarshalJSON() ([]byte, error) { + toSerialize := map[string]interface{}{} + if true { + toSerialize["role"] = o.Role + } + if true { + toSerialize["user"] = o.User + } + return json.Marshal(toSerialize) +} + +type NullableOrganizationTeamMembership struct { + value *OrganizationTeamMembership + isSet bool +} + +func (v NullableOrganizationTeamMembership) Get() *OrganizationTeamMembership { + return v.value +} + +func (v *NullableOrganizationTeamMembership) Set(val *OrganizationTeamMembership) { + v.value = val + v.isSet = true +} + +func (v NullableOrganizationTeamMembership) IsSet() bool { + return v.isSet +} + +func (v *NullableOrganizationTeamMembership) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableOrganizationTeamMembership(val *OrganizationTeamMembership) *NullableOrganizationTeamMembership { + return &NullableOrganizationTeamMembership{value: val, isSet: true} +} + +func (v NullableOrganizationTeamMembership) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableOrganizationTeamMembership) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} diff --git a/model_orgs_teams_create.go b/model_organization_team_request.go similarity index 52% rename from model_orgs_teams_create.go rename to model_organization_team_request.go index 90144075..f12c9a79 100644 --- a/model_orgs_teams_create.go +++ b/model_organization_team_request.go @@ -1,9 +1,9 @@ /* -Cloudsmith API +Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.121.3 +API version: 1.181.6 Contact: support@cloudsmith.io */ @@ -15,39 +15,39 @@ import ( "encoding/json" ) -// OrgsTeamsCreate struct for OrgsTeamsCreate -type OrgsTeamsCreate struct { - // None +// OrganizationTeamRequest struct for OrganizationTeamRequest +type OrganizationTeamRequest struct { Description *string `json:"description,omitempty"` - // None - Name string `json:"name"` - // None - Slug *string `json:"slug,omitempty"` - // None - Visibility *string `json:"visibility,omitempty"` + Name string `json:"name"` + Slug *string `json:"slug,omitempty"` + Visibility *string `json:"visibility,omitempty"` } -// NewOrgsTeamsCreate instantiates a new OrgsTeamsCreate object +// NewOrganizationTeamRequest instantiates a new OrganizationTeamRequest object // 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 NewOrgsTeamsCreate(name string) *OrgsTeamsCreate { - this := OrgsTeamsCreate{} +func NewOrganizationTeamRequest(name string) *OrganizationTeamRequest { + this := OrganizationTeamRequest{} this.Name = name + var visibility string = "Visible" + this.Visibility = &visibility return &this } -// NewOrgsTeamsCreateWithDefaults instantiates a new OrgsTeamsCreate object +// NewOrganizationTeamRequestWithDefaults instantiates a new OrganizationTeamRequest object // This constructor will only assign default values to properties that have it defined, // but it doesn't guarantee that properties required by API are set -func NewOrgsTeamsCreateWithDefaults() *OrgsTeamsCreate { - this := OrgsTeamsCreate{} +func NewOrganizationTeamRequestWithDefaults() *OrganizationTeamRequest { + this := OrganizationTeamRequest{} + var visibility string = "Visible" + this.Visibility = &visibility return &this } // GetDescription returns the Description field value if set, zero value otherwise. -func (o *OrgsTeamsCreate) GetDescription() string { - if o == nil || o.Description == nil { +func (o *OrganizationTeamRequest) GetDescription() string { + if o == nil || isNil(o.Description) { var ret string return ret } @@ -56,16 +56,16 @@ func (o *OrgsTeamsCreate) GetDescription() string { // GetDescriptionOk returns a tuple with the Description field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *OrgsTeamsCreate) GetDescriptionOk() (*string, bool) { - if o == nil || o.Description == nil { +func (o *OrganizationTeamRequest) GetDescriptionOk() (*string, bool) { + if o == nil || isNil(o.Description) { return nil, false } return o.Description, true } // HasDescription returns a boolean if a field has been set. -func (o *OrgsTeamsCreate) HasDescription() bool { - if o != nil && o.Description != nil { +func (o *OrganizationTeamRequest) HasDescription() bool { + if o != nil && !isNil(o.Description) { return true } @@ -73,12 +73,12 @@ func (o *OrgsTeamsCreate) HasDescription() bool { } // SetDescription gets a reference to the given string and assigns it to the Description field. -func (o *OrgsTeamsCreate) SetDescription(v string) { +func (o *OrganizationTeamRequest) SetDescription(v string) { o.Description = &v } // GetName returns the Name field value -func (o *OrgsTeamsCreate) GetName() string { +func (o *OrganizationTeamRequest) GetName() string { if o == nil { var ret string return ret @@ -89,7 +89,7 @@ func (o *OrgsTeamsCreate) GetName() string { // GetNameOk returns a tuple with the Name field value // and a boolean to check if the value has been set. -func (o *OrgsTeamsCreate) GetNameOk() (*string, bool) { +func (o *OrganizationTeamRequest) GetNameOk() (*string, bool) { if o == nil { return nil, false } @@ -97,13 +97,13 @@ func (o *OrgsTeamsCreate) GetNameOk() (*string, bool) { } // SetName sets field value -func (o *OrgsTeamsCreate) SetName(v string) { +func (o *OrganizationTeamRequest) SetName(v string) { o.Name = v } // GetSlug returns the Slug field value if set, zero value otherwise. -func (o *OrgsTeamsCreate) GetSlug() string { - if o == nil || o.Slug == nil { +func (o *OrganizationTeamRequest) GetSlug() string { + if o == nil || isNil(o.Slug) { var ret string return ret } @@ -112,16 +112,16 @@ func (o *OrgsTeamsCreate) GetSlug() string { // GetSlugOk returns a tuple with the Slug field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *OrgsTeamsCreate) GetSlugOk() (*string, bool) { - if o == nil || o.Slug == nil { +func (o *OrganizationTeamRequest) GetSlugOk() (*string, bool) { + if o == nil || isNil(o.Slug) { return nil, false } return o.Slug, true } // HasSlug returns a boolean if a field has been set. -func (o *OrgsTeamsCreate) HasSlug() bool { - if o != nil && o.Slug != nil { +func (o *OrganizationTeamRequest) HasSlug() bool { + if o != nil && !isNil(o.Slug) { return true } @@ -129,13 +129,13 @@ func (o *OrgsTeamsCreate) HasSlug() bool { } // SetSlug gets a reference to the given string and assigns it to the Slug field. -func (o *OrgsTeamsCreate) SetSlug(v string) { +func (o *OrganizationTeamRequest) SetSlug(v string) { o.Slug = &v } // GetVisibility returns the Visibility field value if set, zero value otherwise. -func (o *OrgsTeamsCreate) GetVisibility() string { - if o == nil || o.Visibility == nil { +func (o *OrganizationTeamRequest) GetVisibility() string { + if o == nil || isNil(o.Visibility) { var ret string return ret } @@ -144,16 +144,16 @@ func (o *OrgsTeamsCreate) GetVisibility() string { // GetVisibilityOk returns a tuple with the Visibility field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *OrgsTeamsCreate) GetVisibilityOk() (*string, bool) { - if o == nil || o.Visibility == nil { +func (o *OrganizationTeamRequest) GetVisibilityOk() (*string, bool) { + if o == nil || isNil(o.Visibility) { return nil, false } return o.Visibility, true } // HasVisibility returns a boolean if a field has been set. -func (o *OrgsTeamsCreate) HasVisibility() bool { - if o != nil && o.Visibility != nil { +func (o *OrganizationTeamRequest) HasVisibility() bool { + if o != nil && !isNil(o.Visibility) { return true } @@ -161,59 +161,59 @@ func (o *OrgsTeamsCreate) HasVisibility() bool { } // SetVisibility gets a reference to the given string and assigns it to the Visibility field. -func (o *OrgsTeamsCreate) SetVisibility(v string) { +func (o *OrganizationTeamRequest) SetVisibility(v string) { o.Visibility = &v } -func (o OrgsTeamsCreate) MarshalJSON() ([]byte, error) { +func (o OrganizationTeamRequest) MarshalJSON() ([]byte, error) { toSerialize := map[string]interface{}{} - if o.Description != nil { + if !isNil(o.Description) { toSerialize["description"] = o.Description } if true { toSerialize["name"] = o.Name } - if o.Slug != nil { + if !isNil(o.Slug) { toSerialize["slug"] = o.Slug } - if o.Visibility != nil { + if !isNil(o.Visibility) { toSerialize["visibility"] = o.Visibility } return json.Marshal(toSerialize) } -type NullableOrgsTeamsCreate struct { - value *OrgsTeamsCreate +type NullableOrganizationTeamRequest struct { + value *OrganizationTeamRequest isSet bool } -func (v NullableOrgsTeamsCreate) Get() *OrgsTeamsCreate { +func (v NullableOrganizationTeamRequest) Get() *OrganizationTeamRequest { return v.value } -func (v *NullableOrgsTeamsCreate) Set(val *OrgsTeamsCreate) { +func (v *NullableOrganizationTeamRequest) Set(val *OrganizationTeamRequest) { v.value = val v.isSet = true } -func (v NullableOrgsTeamsCreate) IsSet() bool { +func (v NullableOrganizationTeamRequest) IsSet() bool { return v.isSet } -func (v *NullableOrgsTeamsCreate) Unset() { +func (v *NullableOrganizationTeamRequest) Unset() { v.value = nil v.isSet = false } -func NewNullableOrgsTeamsCreate(val *OrgsTeamsCreate) *NullableOrgsTeamsCreate { - return &NullableOrgsTeamsCreate{value: val, isSet: true} +func NewNullableOrganizationTeamRequest(val *OrganizationTeamRequest) *NullableOrganizationTeamRequest { + return &NullableOrganizationTeamRequest{value: val, isSet: true} } -func (v NullableOrgsTeamsCreate) MarshalJSON() ([]byte, error) { +func (v NullableOrganizationTeamRequest) MarshalJSON() ([]byte, error) { return json.Marshal(v.value) } -func (v *NullableOrgsTeamsCreate) UnmarshalJSON(src []byte) error { +func (v *NullableOrganizationTeamRequest) UnmarshalJSON(src []byte) error { v.isSet = true return json.Unmarshal(src, &v.value) } diff --git a/model_orgs_teams_partial_update.go b/model_organization_team_request_patch.go similarity index 50% rename from model_orgs_teams_partial_update.go rename to model_organization_team_request_patch.go index feda8860..f9493bd9 100644 --- a/model_orgs_teams_partial_update.go +++ b/model_organization_team_request_patch.go @@ -1,9 +1,9 @@ /* -Cloudsmith API +Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.121.3 +API version: 1.181.6 Contact: support@cloudsmith.io */ @@ -15,38 +15,38 @@ import ( "encoding/json" ) -// OrgsTeamsPartialUpdate struct for OrgsTeamsPartialUpdate -type OrgsTeamsPartialUpdate struct { - // None +// OrganizationTeamRequestPatch struct for OrganizationTeamRequestPatch +type OrganizationTeamRequestPatch struct { Description *string `json:"description,omitempty"` - // None - Name *string `json:"name,omitempty"` - // None - Slug *string `json:"slug,omitempty"` - // None - Visibility *string `json:"visibility,omitempty"` + Name *string `json:"name,omitempty"` + Slug *string `json:"slug,omitempty"` + Visibility *string `json:"visibility,omitempty"` } -// NewOrgsTeamsPartialUpdate instantiates a new OrgsTeamsPartialUpdate object +// NewOrganizationTeamRequestPatch instantiates a new OrganizationTeamRequestPatch object // 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 NewOrgsTeamsPartialUpdate() *OrgsTeamsPartialUpdate { - this := OrgsTeamsPartialUpdate{} +func NewOrganizationTeamRequestPatch() *OrganizationTeamRequestPatch { + this := OrganizationTeamRequestPatch{} + var visibility string = "Visible" + this.Visibility = &visibility return &this } -// NewOrgsTeamsPartialUpdateWithDefaults instantiates a new OrgsTeamsPartialUpdate object +// NewOrganizationTeamRequestPatchWithDefaults instantiates a new OrganizationTeamRequestPatch object // This constructor will only assign default values to properties that have it defined, // but it doesn't guarantee that properties required by API are set -func NewOrgsTeamsPartialUpdateWithDefaults() *OrgsTeamsPartialUpdate { - this := OrgsTeamsPartialUpdate{} +func NewOrganizationTeamRequestPatchWithDefaults() *OrganizationTeamRequestPatch { + this := OrganizationTeamRequestPatch{} + var visibility string = "Visible" + this.Visibility = &visibility return &this } // GetDescription returns the Description field value if set, zero value otherwise. -func (o *OrgsTeamsPartialUpdate) GetDescription() string { - if o == nil || o.Description == nil { +func (o *OrganizationTeamRequestPatch) GetDescription() string { + if o == nil || isNil(o.Description) { var ret string return ret } @@ -55,16 +55,16 @@ func (o *OrgsTeamsPartialUpdate) GetDescription() string { // GetDescriptionOk returns a tuple with the Description field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *OrgsTeamsPartialUpdate) GetDescriptionOk() (*string, bool) { - if o == nil || o.Description == nil { +func (o *OrganizationTeamRequestPatch) GetDescriptionOk() (*string, bool) { + if o == nil || isNil(o.Description) { return nil, false } return o.Description, true } // HasDescription returns a boolean if a field has been set. -func (o *OrgsTeamsPartialUpdate) HasDescription() bool { - if o != nil && o.Description != nil { +func (o *OrganizationTeamRequestPatch) HasDescription() bool { + if o != nil && !isNil(o.Description) { return true } @@ -72,13 +72,13 @@ func (o *OrgsTeamsPartialUpdate) HasDescription() bool { } // SetDescription gets a reference to the given string and assigns it to the Description field. -func (o *OrgsTeamsPartialUpdate) SetDescription(v string) { +func (o *OrganizationTeamRequestPatch) SetDescription(v string) { o.Description = &v } // GetName returns the Name field value if set, zero value otherwise. -func (o *OrgsTeamsPartialUpdate) GetName() string { - if o == nil || o.Name == nil { +func (o *OrganizationTeamRequestPatch) GetName() string { + if o == nil || isNil(o.Name) { var ret string return ret } @@ -87,16 +87,16 @@ func (o *OrgsTeamsPartialUpdate) GetName() string { // GetNameOk returns a tuple with the Name field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *OrgsTeamsPartialUpdate) GetNameOk() (*string, bool) { - if o == nil || o.Name == nil { +func (o *OrganizationTeamRequestPatch) GetNameOk() (*string, bool) { + if o == nil || isNil(o.Name) { return nil, false } return o.Name, true } // HasName returns a boolean if a field has been set. -func (o *OrgsTeamsPartialUpdate) HasName() bool { - if o != nil && o.Name != nil { +func (o *OrganizationTeamRequestPatch) HasName() bool { + if o != nil && !isNil(o.Name) { return true } @@ -104,13 +104,13 @@ func (o *OrgsTeamsPartialUpdate) HasName() bool { } // SetName gets a reference to the given string and assigns it to the Name field. -func (o *OrgsTeamsPartialUpdate) SetName(v string) { +func (o *OrganizationTeamRequestPatch) SetName(v string) { o.Name = &v } // GetSlug returns the Slug field value if set, zero value otherwise. -func (o *OrgsTeamsPartialUpdate) GetSlug() string { - if o == nil || o.Slug == nil { +func (o *OrganizationTeamRequestPatch) GetSlug() string { + if o == nil || isNil(o.Slug) { var ret string return ret } @@ -119,16 +119,16 @@ func (o *OrgsTeamsPartialUpdate) GetSlug() string { // GetSlugOk returns a tuple with the Slug field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *OrgsTeamsPartialUpdate) GetSlugOk() (*string, bool) { - if o == nil || o.Slug == nil { +func (o *OrganizationTeamRequestPatch) GetSlugOk() (*string, bool) { + if o == nil || isNil(o.Slug) { return nil, false } return o.Slug, true } // HasSlug returns a boolean if a field has been set. -func (o *OrgsTeamsPartialUpdate) HasSlug() bool { - if o != nil && o.Slug != nil { +func (o *OrganizationTeamRequestPatch) HasSlug() bool { + if o != nil && !isNil(o.Slug) { return true } @@ -136,13 +136,13 @@ func (o *OrgsTeamsPartialUpdate) HasSlug() bool { } // SetSlug gets a reference to the given string and assigns it to the Slug field. -func (o *OrgsTeamsPartialUpdate) SetSlug(v string) { +func (o *OrganizationTeamRequestPatch) SetSlug(v string) { o.Slug = &v } // GetVisibility returns the Visibility field value if set, zero value otherwise. -func (o *OrgsTeamsPartialUpdate) GetVisibility() string { - if o == nil || o.Visibility == nil { +func (o *OrganizationTeamRequestPatch) GetVisibility() string { + if o == nil || isNil(o.Visibility) { var ret string return ret } @@ -151,16 +151,16 @@ func (o *OrgsTeamsPartialUpdate) GetVisibility() string { // GetVisibilityOk returns a tuple with the Visibility field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *OrgsTeamsPartialUpdate) GetVisibilityOk() (*string, bool) { - if o == nil || o.Visibility == nil { +func (o *OrganizationTeamRequestPatch) GetVisibilityOk() (*string, bool) { + if o == nil || isNil(o.Visibility) { return nil, false } return o.Visibility, true } // HasVisibility returns a boolean if a field has been set. -func (o *OrgsTeamsPartialUpdate) HasVisibility() bool { - if o != nil && o.Visibility != nil { +func (o *OrganizationTeamRequestPatch) HasVisibility() bool { + if o != nil && !isNil(o.Visibility) { return true } @@ -168,59 +168,59 @@ func (o *OrgsTeamsPartialUpdate) HasVisibility() bool { } // SetVisibility gets a reference to the given string and assigns it to the Visibility field. -func (o *OrgsTeamsPartialUpdate) SetVisibility(v string) { +func (o *OrganizationTeamRequestPatch) SetVisibility(v string) { o.Visibility = &v } -func (o OrgsTeamsPartialUpdate) MarshalJSON() ([]byte, error) { +func (o OrganizationTeamRequestPatch) MarshalJSON() ([]byte, error) { toSerialize := map[string]interface{}{} - if o.Description != nil { + if !isNil(o.Description) { toSerialize["description"] = o.Description } - if o.Name != nil { + if !isNil(o.Name) { toSerialize["name"] = o.Name } - if o.Slug != nil { + if !isNil(o.Slug) { toSerialize["slug"] = o.Slug } - if o.Visibility != nil { + if !isNil(o.Visibility) { toSerialize["visibility"] = o.Visibility } return json.Marshal(toSerialize) } -type NullableOrgsTeamsPartialUpdate struct { - value *OrgsTeamsPartialUpdate +type NullableOrganizationTeamRequestPatch struct { + value *OrganizationTeamRequestPatch isSet bool } -func (v NullableOrgsTeamsPartialUpdate) Get() *OrgsTeamsPartialUpdate { +func (v NullableOrganizationTeamRequestPatch) Get() *OrganizationTeamRequestPatch { return v.value } -func (v *NullableOrgsTeamsPartialUpdate) Set(val *OrgsTeamsPartialUpdate) { +func (v *NullableOrganizationTeamRequestPatch) Set(val *OrganizationTeamRequestPatch) { v.value = val v.isSet = true } -func (v NullableOrgsTeamsPartialUpdate) IsSet() bool { +func (v NullableOrganizationTeamRequestPatch) IsSet() bool { return v.isSet } -func (v *NullableOrgsTeamsPartialUpdate) Unset() { +func (v *NullableOrganizationTeamRequestPatch) Unset() { v.value = nil v.isSet = false } -func NewNullableOrgsTeamsPartialUpdate(val *OrgsTeamsPartialUpdate) *NullableOrgsTeamsPartialUpdate { - return &NullableOrgsTeamsPartialUpdate{value: val, isSet: true} +func NewNullableOrganizationTeamRequestPatch(val *OrganizationTeamRequestPatch) *NullableOrganizationTeamRequestPatch { + return &NullableOrganizationTeamRequestPatch{value: val, isSet: true} } -func (v NullableOrgsTeamsPartialUpdate) MarshalJSON() ([]byte, error) { +func (v NullableOrganizationTeamRequestPatch) MarshalJSON() ([]byte, error) { return json.Marshal(v.value) } -func (v *NullableOrgsTeamsPartialUpdate) UnmarshalJSON(src []byte) error { +func (v *NullableOrganizationTeamRequestPatch) UnmarshalJSON(src []byte) error { v.isSet = true return json.Unmarshal(src, &v.value) } diff --git a/model_organization_team.go b/model_organization_team_response.go similarity index 52% rename from model_organization_team.go rename to model_organization_team_response.go index a7625d2c..8c735ad3 100644 --- a/model_organization_team.go +++ b/model_organization_team_response.go @@ -1,9 +1,9 @@ /* -Cloudsmith API +Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.121.3 +API version: 1.181.6 Contact: support@cloudsmith.io */ @@ -15,41 +15,40 @@ import ( "encoding/json" ) -// OrganizationTeam struct for OrganizationTeam -type OrganizationTeam struct { - // +// OrganizationTeamResponse struct for OrganizationTeamResponse +type OrganizationTeamResponse struct { Description *string `json:"description,omitempty"` - // - Name string `json:"name"` - // - Slug *string `json:"slug,omitempty"` - // - SlugPerm *string `json:"slug_perm,omitempty"` - // - Visibility *string `json:"visibility,omitempty"` + Name string `json:"name"` + Slug *string `json:"slug,omitempty"` + SlugPerm *string `json:"slug_perm,omitempty"` + Visibility *string `json:"visibility,omitempty"` } -// NewOrganizationTeam instantiates a new OrganizationTeam object +// NewOrganizationTeamResponse instantiates a new OrganizationTeamResponse object // 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 NewOrganizationTeam(name string) *OrganizationTeam { - this := OrganizationTeam{} +func NewOrganizationTeamResponse(name string) *OrganizationTeamResponse { + this := OrganizationTeamResponse{} this.Name = name + var visibility string = "Visible" + this.Visibility = &visibility return &this } -// NewOrganizationTeamWithDefaults instantiates a new OrganizationTeam object +// NewOrganizationTeamResponseWithDefaults instantiates a new OrganizationTeamResponse object // This constructor will only assign default values to properties that have it defined, // but it doesn't guarantee that properties required by API are set -func NewOrganizationTeamWithDefaults() *OrganizationTeam { - this := OrganizationTeam{} +func NewOrganizationTeamResponseWithDefaults() *OrganizationTeamResponse { + this := OrganizationTeamResponse{} + var visibility string = "Visible" + this.Visibility = &visibility return &this } // GetDescription returns the Description field value if set, zero value otherwise. -func (o *OrganizationTeam) GetDescription() string { - if o == nil || o.Description == nil { +func (o *OrganizationTeamResponse) GetDescription() string { + if o == nil || isNil(o.Description) { var ret string return ret } @@ -58,16 +57,16 @@ func (o *OrganizationTeam) GetDescription() string { // GetDescriptionOk returns a tuple with the Description field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *OrganizationTeam) GetDescriptionOk() (*string, bool) { - if o == nil || o.Description == nil { +func (o *OrganizationTeamResponse) GetDescriptionOk() (*string, bool) { + if o == nil || isNil(o.Description) { return nil, false } return o.Description, true } // HasDescription returns a boolean if a field has been set. -func (o *OrganizationTeam) HasDescription() bool { - if o != nil && o.Description != nil { +func (o *OrganizationTeamResponse) HasDescription() bool { + if o != nil && !isNil(o.Description) { return true } @@ -75,12 +74,12 @@ func (o *OrganizationTeam) HasDescription() bool { } // SetDescription gets a reference to the given string and assigns it to the Description field. -func (o *OrganizationTeam) SetDescription(v string) { +func (o *OrganizationTeamResponse) SetDescription(v string) { o.Description = &v } // GetName returns the Name field value -func (o *OrganizationTeam) GetName() string { +func (o *OrganizationTeamResponse) GetName() string { if o == nil { var ret string return ret @@ -91,7 +90,7 @@ func (o *OrganizationTeam) GetName() string { // GetNameOk returns a tuple with the Name field value // and a boolean to check if the value has been set. -func (o *OrganizationTeam) GetNameOk() (*string, bool) { +func (o *OrganizationTeamResponse) GetNameOk() (*string, bool) { if o == nil { return nil, false } @@ -99,13 +98,13 @@ func (o *OrganizationTeam) GetNameOk() (*string, bool) { } // SetName sets field value -func (o *OrganizationTeam) SetName(v string) { +func (o *OrganizationTeamResponse) SetName(v string) { o.Name = v } // GetSlug returns the Slug field value if set, zero value otherwise. -func (o *OrganizationTeam) GetSlug() string { - if o == nil || o.Slug == nil { +func (o *OrganizationTeamResponse) GetSlug() string { + if o == nil || isNil(o.Slug) { var ret string return ret } @@ -114,16 +113,16 @@ func (o *OrganizationTeam) GetSlug() string { // GetSlugOk returns a tuple with the Slug field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *OrganizationTeam) GetSlugOk() (*string, bool) { - if o == nil || o.Slug == nil { +func (o *OrganizationTeamResponse) GetSlugOk() (*string, bool) { + if o == nil || isNil(o.Slug) { return nil, false } return o.Slug, true } // HasSlug returns a boolean if a field has been set. -func (o *OrganizationTeam) HasSlug() bool { - if o != nil && o.Slug != nil { +func (o *OrganizationTeamResponse) HasSlug() bool { + if o != nil && !isNil(o.Slug) { return true } @@ -131,13 +130,13 @@ func (o *OrganizationTeam) HasSlug() bool { } // SetSlug gets a reference to the given string and assigns it to the Slug field. -func (o *OrganizationTeam) SetSlug(v string) { +func (o *OrganizationTeamResponse) SetSlug(v string) { o.Slug = &v } // GetSlugPerm returns the SlugPerm field value if set, zero value otherwise. -func (o *OrganizationTeam) GetSlugPerm() string { - if o == nil || o.SlugPerm == nil { +func (o *OrganizationTeamResponse) GetSlugPerm() string { + if o == nil || isNil(o.SlugPerm) { var ret string return ret } @@ -146,16 +145,16 @@ func (o *OrganizationTeam) GetSlugPerm() string { // GetSlugPermOk returns a tuple with the SlugPerm field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *OrganizationTeam) GetSlugPermOk() (*string, bool) { - if o == nil || o.SlugPerm == nil { +func (o *OrganizationTeamResponse) GetSlugPermOk() (*string, bool) { + if o == nil || isNil(o.SlugPerm) { return nil, false } return o.SlugPerm, true } // HasSlugPerm returns a boolean if a field has been set. -func (o *OrganizationTeam) HasSlugPerm() bool { - if o != nil && o.SlugPerm != nil { +func (o *OrganizationTeamResponse) HasSlugPerm() bool { + if o != nil && !isNil(o.SlugPerm) { return true } @@ -163,13 +162,13 @@ func (o *OrganizationTeam) HasSlugPerm() bool { } // SetSlugPerm gets a reference to the given string and assigns it to the SlugPerm field. -func (o *OrganizationTeam) SetSlugPerm(v string) { +func (o *OrganizationTeamResponse) SetSlugPerm(v string) { o.SlugPerm = &v } // GetVisibility returns the Visibility field value if set, zero value otherwise. -func (o *OrganizationTeam) GetVisibility() string { - if o == nil || o.Visibility == nil { +func (o *OrganizationTeamResponse) GetVisibility() string { + if o == nil || isNil(o.Visibility) { var ret string return ret } @@ -178,16 +177,16 @@ func (o *OrganizationTeam) GetVisibility() string { // GetVisibilityOk returns a tuple with the Visibility field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *OrganizationTeam) GetVisibilityOk() (*string, bool) { - if o == nil || o.Visibility == nil { +func (o *OrganizationTeamResponse) GetVisibilityOk() (*string, bool) { + if o == nil || isNil(o.Visibility) { return nil, false } return o.Visibility, true } // HasVisibility returns a boolean if a field has been set. -func (o *OrganizationTeam) HasVisibility() bool { - if o != nil && o.Visibility != nil { +func (o *OrganizationTeamResponse) HasVisibility() bool { + if o != nil && !isNil(o.Visibility) { return true } @@ -195,62 +194,62 @@ func (o *OrganizationTeam) HasVisibility() bool { } // SetVisibility gets a reference to the given string and assigns it to the Visibility field. -func (o *OrganizationTeam) SetVisibility(v string) { +func (o *OrganizationTeamResponse) SetVisibility(v string) { o.Visibility = &v } -func (o OrganizationTeam) MarshalJSON() ([]byte, error) { +func (o OrganizationTeamResponse) MarshalJSON() ([]byte, error) { toSerialize := map[string]interface{}{} - if o.Description != nil { + if !isNil(o.Description) { toSerialize["description"] = o.Description } if true { toSerialize["name"] = o.Name } - if o.Slug != nil { + if !isNil(o.Slug) { toSerialize["slug"] = o.Slug } - if o.SlugPerm != nil { + if !isNil(o.SlugPerm) { toSerialize["slug_perm"] = o.SlugPerm } - if o.Visibility != nil { + if !isNil(o.Visibility) { toSerialize["visibility"] = o.Visibility } return json.Marshal(toSerialize) } -type NullableOrganizationTeam struct { - value *OrganizationTeam +type NullableOrganizationTeamResponse struct { + value *OrganizationTeamResponse isSet bool } -func (v NullableOrganizationTeam) Get() *OrganizationTeam { +func (v NullableOrganizationTeamResponse) Get() *OrganizationTeamResponse { return v.value } -func (v *NullableOrganizationTeam) Set(val *OrganizationTeam) { +func (v *NullableOrganizationTeamResponse) Set(val *OrganizationTeamResponse) { v.value = val v.isSet = true } -func (v NullableOrganizationTeam) IsSet() bool { +func (v NullableOrganizationTeamResponse) IsSet() bool { return v.isSet } -func (v *NullableOrganizationTeam) Unset() { +func (v *NullableOrganizationTeamResponse) Unset() { v.value = nil v.isSet = false } -func NewNullableOrganizationTeam(val *OrganizationTeam) *NullableOrganizationTeam { - return &NullableOrganizationTeam{value: val, isSet: true} +func NewNullableOrganizationTeamResponse(val *OrganizationTeamResponse) *NullableOrganizationTeamResponse { + return &NullableOrganizationTeamResponse{value: val, isSet: true} } -func (v NullableOrganizationTeam) MarshalJSON() ([]byte, error) { +func (v NullableOrganizationTeamResponse) MarshalJSON() ([]byte, error) { return json.Marshal(v.value) } -func (v *NullableOrganizationTeam) UnmarshalJSON(src []byte) error { +func (v *NullableOrganizationTeamResponse) UnmarshalJSON(src []byte) error { v.isSet = true return json.Unmarshal(src, &v.value) } diff --git a/model_orgs_invites_create.go b/model_orgs_invites_create.go deleted file mode 100644 index ba3c8f96..00000000 --- a/model_orgs_invites_create.go +++ /dev/null @@ -1,263 +0,0 @@ -/* -Cloudsmith API - -The API to the Cloudsmith Service - -API version: 1.121.3 -Contact: support@cloudsmith.io -*/ - -// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. - -package cloudsmith - -import ( - "encoding/json" -) - -// OrgsInvitesCreate struct for OrgsInvitesCreate -type OrgsInvitesCreate struct { - // None - Email *string `json:"email,omitempty"` - // None - Inviter *string `json:"inviter,omitempty"` - // None - Role *string `json:"role,omitempty"` - // None - SlugPerm *string `json:"slug_perm,omitempty"` - // None - User *string `json:"user,omitempty"` -} - -// NewOrgsInvitesCreate instantiates a new OrgsInvitesCreate object -// 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 NewOrgsInvitesCreate() *OrgsInvitesCreate { - this := OrgsInvitesCreate{} - return &this -} - -// NewOrgsInvitesCreateWithDefaults instantiates a new OrgsInvitesCreate object -// This constructor will only assign default values to properties that have it defined, -// but it doesn't guarantee that properties required by API are set -func NewOrgsInvitesCreateWithDefaults() *OrgsInvitesCreate { - this := OrgsInvitesCreate{} - return &this -} - -// GetEmail returns the Email field value if set, zero value otherwise. -func (o *OrgsInvitesCreate) GetEmail() string { - if o == nil || o.Email == nil { - var ret string - return ret - } - return *o.Email -} - -// GetEmailOk returns a tuple with the Email field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *OrgsInvitesCreate) GetEmailOk() (*string, bool) { - if o == nil || o.Email == nil { - return nil, false - } - return o.Email, true -} - -// HasEmail returns a boolean if a field has been set. -func (o *OrgsInvitesCreate) HasEmail() bool { - if o != nil && o.Email != nil { - return true - } - - return false -} - -// SetEmail gets a reference to the given string and assigns it to the Email field. -func (o *OrgsInvitesCreate) SetEmail(v string) { - o.Email = &v -} - -// GetInviter returns the Inviter field value if set, zero value otherwise. -func (o *OrgsInvitesCreate) GetInviter() string { - if o == nil || o.Inviter == nil { - var ret string - return ret - } - return *o.Inviter -} - -// GetInviterOk returns a tuple with the Inviter field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *OrgsInvitesCreate) GetInviterOk() (*string, bool) { - if o == nil || o.Inviter == nil { - return nil, false - } - return o.Inviter, true -} - -// HasInviter returns a boolean if a field has been set. -func (o *OrgsInvitesCreate) HasInviter() bool { - if o != nil && o.Inviter != nil { - return true - } - - return false -} - -// SetInviter gets a reference to the given string and assigns it to the Inviter field. -func (o *OrgsInvitesCreate) SetInviter(v string) { - o.Inviter = &v -} - -// GetRole returns the Role field value if set, zero value otherwise. -func (o *OrgsInvitesCreate) GetRole() string { - if o == nil || o.Role == nil { - var ret string - return ret - } - return *o.Role -} - -// GetRoleOk returns a tuple with the Role field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *OrgsInvitesCreate) GetRoleOk() (*string, bool) { - if o == nil || o.Role == nil { - return nil, false - } - return o.Role, true -} - -// HasRole returns a boolean if a field has been set. -func (o *OrgsInvitesCreate) HasRole() bool { - if o != nil && o.Role != nil { - return true - } - - return false -} - -// SetRole gets a reference to the given string and assigns it to the Role field. -func (o *OrgsInvitesCreate) SetRole(v string) { - o.Role = &v -} - -// GetSlugPerm returns the SlugPerm field value if set, zero value otherwise. -func (o *OrgsInvitesCreate) GetSlugPerm() string { - if o == nil || o.SlugPerm == nil { - var ret string - return ret - } - return *o.SlugPerm -} - -// GetSlugPermOk returns a tuple with the SlugPerm field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *OrgsInvitesCreate) GetSlugPermOk() (*string, bool) { - if o == nil || o.SlugPerm == nil { - return nil, false - } - return o.SlugPerm, true -} - -// HasSlugPerm returns a boolean if a field has been set. -func (o *OrgsInvitesCreate) HasSlugPerm() bool { - if o != nil && o.SlugPerm != nil { - return true - } - - return false -} - -// SetSlugPerm gets a reference to the given string and assigns it to the SlugPerm field. -func (o *OrgsInvitesCreate) SetSlugPerm(v string) { - o.SlugPerm = &v -} - -// GetUser returns the User field value if set, zero value otherwise. -func (o *OrgsInvitesCreate) GetUser() string { - if o == nil || o.User == nil { - var ret string - return ret - } - return *o.User -} - -// GetUserOk returns a tuple with the User field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *OrgsInvitesCreate) GetUserOk() (*string, bool) { - if o == nil || o.User == nil { - return nil, false - } - return o.User, true -} - -// HasUser returns a boolean if a field has been set. -func (o *OrgsInvitesCreate) HasUser() bool { - if o != nil && o.User != nil { - return true - } - - return false -} - -// SetUser gets a reference to the given string and assigns it to the User field. -func (o *OrgsInvitesCreate) SetUser(v string) { - o.User = &v -} - -func (o OrgsInvitesCreate) MarshalJSON() ([]byte, error) { - toSerialize := map[string]interface{}{} - if o.Email != nil { - toSerialize["email"] = o.Email - } - if o.Inviter != nil { - toSerialize["inviter"] = o.Inviter - } - if o.Role != nil { - toSerialize["role"] = o.Role - } - if o.SlugPerm != nil { - toSerialize["slug_perm"] = o.SlugPerm - } - if o.User != nil { - toSerialize["user"] = o.User - } - return json.Marshal(toSerialize) -} - -type NullableOrgsInvitesCreate struct { - value *OrgsInvitesCreate - isSet bool -} - -func (v NullableOrgsInvitesCreate) Get() *OrgsInvitesCreate { - return v.value -} - -func (v *NullableOrgsInvitesCreate) Set(val *OrgsInvitesCreate) { - v.value = val - v.isSet = true -} - -func (v NullableOrgsInvitesCreate) IsSet() bool { - return v.isSet -} - -func (v *NullableOrgsInvitesCreate) Unset() { - v.value = nil - v.isSet = false -} - -func NewNullableOrgsInvitesCreate(val *OrgsInvitesCreate) *NullableOrgsInvitesCreate { - return &NullableOrgsInvitesCreate{value: val, isSet: true} -} - -func (v NullableOrgsInvitesCreate) MarshalJSON() ([]byte, error) { - return json.Marshal(v.value) -} - -func (v *NullableOrgsInvitesCreate) UnmarshalJSON(src []byte) error { - v.isSet = true - return json.Unmarshal(src, &v.value) -} diff --git a/model_orgs_invites_extend.go b/model_orgs_invites_extend.go deleted file mode 100644 index 11a2c780..00000000 --- a/model_orgs_invites_extend.go +++ /dev/null @@ -1,226 +0,0 @@ -/* -Cloudsmith API - -The API to the Cloudsmith Service - -API version: 1.121.3 -Contact: support@cloudsmith.io -*/ - -// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. - -package cloudsmith - -import ( - "encoding/json" -) - -// OrgsInvitesExtend struct for OrgsInvitesExtend -type OrgsInvitesExtend struct { - // None - Email *string `json:"email,omitempty"` - // None - Inviter *string `json:"inviter,omitempty"` - // None - Role *string `json:"role,omitempty"` - // None - User *string `json:"user,omitempty"` -} - -// NewOrgsInvitesExtend instantiates a new OrgsInvitesExtend object -// 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 NewOrgsInvitesExtend() *OrgsInvitesExtend { - this := OrgsInvitesExtend{} - return &this -} - -// NewOrgsInvitesExtendWithDefaults instantiates a new OrgsInvitesExtend object -// This constructor will only assign default values to properties that have it defined, -// but it doesn't guarantee that properties required by API are set -func NewOrgsInvitesExtendWithDefaults() *OrgsInvitesExtend { - this := OrgsInvitesExtend{} - return &this -} - -// GetEmail returns the Email field value if set, zero value otherwise. -func (o *OrgsInvitesExtend) GetEmail() string { - if o == nil || o.Email == nil { - var ret string - return ret - } - return *o.Email -} - -// GetEmailOk returns a tuple with the Email field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *OrgsInvitesExtend) GetEmailOk() (*string, bool) { - if o == nil || o.Email == nil { - return nil, false - } - return o.Email, true -} - -// HasEmail returns a boolean if a field has been set. -func (o *OrgsInvitesExtend) HasEmail() bool { - if o != nil && o.Email != nil { - return true - } - - return false -} - -// SetEmail gets a reference to the given string and assigns it to the Email field. -func (o *OrgsInvitesExtend) SetEmail(v string) { - o.Email = &v -} - -// GetInviter returns the Inviter field value if set, zero value otherwise. -func (o *OrgsInvitesExtend) GetInviter() string { - if o == nil || o.Inviter == nil { - var ret string - return ret - } - return *o.Inviter -} - -// GetInviterOk returns a tuple with the Inviter field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *OrgsInvitesExtend) GetInviterOk() (*string, bool) { - if o == nil || o.Inviter == nil { - return nil, false - } - return o.Inviter, true -} - -// HasInviter returns a boolean if a field has been set. -func (o *OrgsInvitesExtend) HasInviter() bool { - if o != nil && o.Inviter != nil { - return true - } - - return false -} - -// SetInviter gets a reference to the given string and assigns it to the Inviter field. -func (o *OrgsInvitesExtend) SetInviter(v string) { - o.Inviter = &v -} - -// GetRole returns the Role field value if set, zero value otherwise. -func (o *OrgsInvitesExtend) GetRole() string { - if o == nil || o.Role == nil { - var ret string - return ret - } - return *o.Role -} - -// GetRoleOk returns a tuple with the Role field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *OrgsInvitesExtend) GetRoleOk() (*string, bool) { - if o == nil || o.Role == nil { - return nil, false - } - return o.Role, true -} - -// HasRole returns a boolean if a field has been set. -func (o *OrgsInvitesExtend) HasRole() bool { - if o != nil && o.Role != nil { - return true - } - - return false -} - -// SetRole gets a reference to the given string and assigns it to the Role field. -func (o *OrgsInvitesExtend) SetRole(v string) { - o.Role = &v -} - -// GetUser returns the User field value if set, zero value otherwise. -func (o *OrgsInvitesExtend) GetUser() string { - if o == nil || o.User == nil { - var ret string - return ret - } - return *o.User -} - -// GetUserOk returns a tuple with the User field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *OrgsInvitesExtend) GetUserOk() (*string, bool) { - if o == nil || o.User == nil { - return nil, false - } - return o.User, true -} - -// HasUser returns a boolean if a field has been set. -func (o *OrgsInvitesExtend) HasUser() bool { - if o != nil && o.User != nil { - return true - } - - return false -} - -// SetUser gets a reference to the given string and assigns it to the User field. -func (o *OrgsInvitesExtend) SetUser(v string) { - o.User = &v -} - -func (o OrgsInvitesExtend) MarshalJSON() ([]byte, error) { - toSerialize := map[string]interface{}{} - if o.Email != nil { - toSerialize["email"] = o.Email - } - if o.Inviter != nil { - toSerialize["inviter"] = o.Inviter - } - if o.Role != nil { - toSerialize["role"] = o.Role - } - if o.User != nil { - toSerialize["user"] = o.User - } - return json.Marshal(toSerialize) -} - -type NullableOrgsInvitesExtend struct { - value *OrgsInvitesExtend - isSet bool -} - -func (v NullableOrgsInvitesExtend) Get() *OrgsInvitesExtend { - return v.value -} - -func (v *NullableOrgsInvitesExtend) Set(val *OrgsInvitesExtend) { - v.value = val - v.isSet = true -} - -func (v NullableOrgsInvitesExtend) IsSet() bool { - return v.isSet -} - -func (v *NullableOrgsInvitesExtend) Unset() { - v.value = nil - v.isSet = false -} - -func NewNullableOrgsInvitesExtend(val *OrgsInvitesExtend) *NullableOrgsInvitesExtend { - return &NullableOrgsInvitesExtend{value: val, isSet: true} -} - -func (v NullableOrgsInvitesExtend) MarshalJSON() ([]byte, error) { - return json.Marshal(v.value) -} - -func (v *NullableOrgsInvitesExtend) UnmarshalJSON(src []byte) error { - v.isSet = true - return json.Unmarshal(src, &v.value) -} diff --git a/model_p2_package_upload.go b/model_p2_package_upload.go deleted file mode 100644 index dbfa2808..00000000 --- a/model_p2_package_upload.go +++ /dev/null @@ -1,2520 +0,0 @@ -/* -Cloudsmith API - -The API to the Cloudsmith Service - -API version: 1.121.3 -Contact: support@cloudsmith.io -*/ - -// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. - -package cloudsmith - -import ( - "encoding/json" -) - -// P2PackageUpload struct for P2PackageUpload -type P2PackageUpload struct { - // - Architectures []PackagesOwnerRepoArchitectures `json:"architectures,omitempty"` - // - CdnUrl *string `json:"cdn_url,omitempty"` - // - ChecksumMd5 *string `json:"checksum_md5,omitempty"` - // - ChecksumSha1 *string `json:"checksum_sha1,omitempty"` - // - ChecksumSha256 *string `json:"checksum_sha256,omitempty"` - // - ChecksumSha512 *string `json:"checksum_sha512,omitempty"` - // A checksum of all of the package's dependencies. - DependenciesChecksumMd5 *string `json:"dependencies_checksum_md5,omitempty"` - // - DependenciesUrl *string `json:"dependencies_url,omitempty"` - // A textual description of this package. - Description *string `json:"description,omitempty"` - // - Distro map[string]interface{} `json:"distro,omitempty"` - // - DistroVersion map[string]interface{} `json:"distro_version,omitempty"` - // - Downloads *int64 `json:"downloads,omitempty"` - // The epoch of the package version (if any). - Epoch *int64 `json:"epoch,omitempty"` - // - Extension *string `json:"extension,omitempty"` - // - Filename *string `json:"filename,omitempty"` - // - Files []PackagesOwnerRepoFiles `json:"files,omitempty"` - // - Format *string `json:"format,omitempty"` - // - FormatUrl *string `json:"format_url,omitempty"` - // Unique and permanent identifier for the package. - IdentifierPerm *string `json:"identifier_perm,omitempty"` - // - Indexed *bool `json:"indexed,omitempty"` - // - IsDownloadable *bool `json:"is_downloadable,omitempty"` - // - IsQuarantined *bool `json:"is_quarantined,omitempty"` - // - IsSyncAwaiting *bool `json:"is_sync_awaiting,omitempty"` - // - IsSyncCompleted *bool `json:"is_sync_completed,omitempty"` - // - IsSyncFailed *bool `json:"is_sync_failed,omitempty"` - // - IsSyncInFlight *bool `json:"is_sync_in_flight,omitempty"` - // - IsSyncInProgress *bool `json:"is_sync_in_progress,omitempty"` - // The license of this package. - License *string `json:"license,omitempty"` - // The name of this package. - Name *string `json:"name,omitempty"` - // - Namespace *string `json:"namespace,omitempty"` - // - NamespaceUrl *string `json:"namespace_url,omitempty"` - // - NumFiles *int64 `json:"num_files,omitempty"` - // The type of package contents. - PackageType *int64 `json:"package_type,omitempty"` - // The release of the package version (if any). - Release *string `json:"release,omitempty"` - // - Repository *string `json:"repository,omitempty"` - // - RepositoryUrl *string `json:"repository_url,omitempty"` - // The datetime the security scanning was completed. - SecurityScanCompletedAt *string `json:"security_scan_completed_at,omitempty"` - // The datetime the security scanning was started. - SecurityScanStartedAt *string `json:"security_scan_started_at,omitempty"` - // - SecurityScanStatus *string `json:"security_scan_status,omitempty"` - // The datetime the security scanning status was updated. - SecurityScanStatusUpdatedAt *string `json:"security_scan_status_updated_at,omitempty"` - // - SelfHtmlUrl *string `json:"self_html_url,omitempty"` - // - SelfUrl *string `json:"self_url,omitempty"` - // - SignatureUrl *string `json:"signature_url,omitempty"` - // The calculated size of the package. - Size *int64 `json:"size,omitempty"` - // The public unique identifier for the package. - Slug *string `json:"slug,omitempty"` - // - SlugPerm *string `json:"slug_perm,omitempty"` - // The synchronisation (in progress) stage of the package. - Stage *int64 `json:"stage,omitempty"` - // - StageStr *string `json:"stage_str,omitempty"` - // The datetime the package stage was updated at. - StageUpdatedAt *string `json:"stage_updated_at,omitempty"` - // The synchronisation status of the package. - Status *int64 `json:"status,omitempty"` - // A textual description for the synchronous status reason (if any - StatusReason *string `json:"status_reason,omitempty"` - // - StatusStr *string `json:"status_str,omitempty"` - // The datetime the package status was updated at. - StatusUpdatedAt *string `json:"status_updated_at,omitempty"` - // - StatusUrl *string `json:"status_url,omitempty"` - // - Subtype *string `json:"subtype,omitempty"` - // A one-liner synopsis of this package. - Summary *string `json:"summary,omitempty"` - // The datetime the package sync was finished at. - SyncFinishedAt *string `json:"sync_finished_at,omitempty"` - // Synchronisation progress (from 0-100) - SyncProgress *int64 `json:"sync_progress,omitempty"` - // All immutable tags on the package, grouped by tag type. Immutable tags cannot be (easily) deleted. - TagsImmutable map[string]interface{} `json:"tags_immutable,omitempty"` - // - TypeDisplay *string `json:"type_display,omitempty"` - // The date this package was uploaded. - UploadedAt *string `json:"uploaded_at,omitempty"` - // - Uploader *string `json:"uploader,omitempty"` - // - UploaderUrl *string `json:"uploader_url,omitempty"` - // The raw version for this package. - Version *string `json:"version,omitempty"` - // - VersionOrig *string `json:"version_orig,omitempty"` - // - VulnerabilityScanResultsUrl *string `json:"vulnerability_scan_results_url,omitempty"` -} - -// NewP2PackageUpload instantiates a new P2PackageUpload object -// 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 NewP2PackageUpload() *P2PackageUpload { - this := P2PackageUpload{} - return &this -} - -// NewP2PackageUploadWithDefaults instantiates a new P2PackageUpload object -// This constructor will only assign default values to properties that have it defined, -// but it doesn't guarantee that properties required by API are set -func NewP2PackageUploadWithDefaults() *P2PackageUpload { - this := P2PackageUpload{} - return &this -} - -// GetArchitectures returns the Architectures field value if set, zero value otherwise. -func (o *P2PackageUpload) GetArchitectures() []PackagesOwnerRepoArchitectures { - if o == nil || o.Architectures == nil { - var ret []PackagesOwnerRepoArchitectures - return ret - } - return o.Architectures -} - -// GetArchitecturesOk returns a tuple with the Architectures field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *P2PackageUpload) GetArchitecturesOk() ([]PackagesOwnerRepoArchitectures, bool) { - if o == nil || o.Architectures == nil { - return nil, false - } - return o.Architectures, true -} - -// HasArchitectures returns a boolean if a field has been set. -func (o *P2PackageUpload) HasArchitectures() bool { - if o != nil && o.Architectures != nil { - return true - } - - return false -} - -// SetArchitectures gets a reference to the given []PackagesOwnerRepoArchitectures and assigns it to the Architectures field. -func (o *P2PackageUpload) SetArchitectures(v []PackagesOwnerRepoArchitectures) { - o.Architectures = v -} - -// GetCdnUrl returns the CdnUrl field value if set, zero value otherwise. -func (o *P2PackageUpload) GetCdnUrl() string { - if o == nil || o.CdnUrl == nil { - var ret string - return ret - } - return *o.CdnUrl -} - -// GetCdnUrlOk returns a tuple with the CdnUrl field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *P2PackageUpload) GetCdnUrlOk() (*string, bool) { - if o == nil || o.CdnUrl == nil { - return nil, false - } - return o.CdnUrl, true -} - -// HasCdnUrl returns a boolean if a field has been set. -func (o *P2PackageUpload) HasCdnUrl() bool { - if o != nil && o.CdnUrl != nil { - return true - } - - return false -} - -// SetCdnUrl gets a reference to the given string and assigns it to the CdnUrl field. -func (o *P2PackageUpload) SetCdnUrl(v string) { - o.CdnUrl = &v -} - -// GetChecksumMd5 returns the ChecksumMd5 field value if set, zero value otherwise. -func (o *P2PackageUpload) GetChecksumMd5() string { - if o == nil || o.ChecksumMd5 == nil { - var ret string - return ret - } - return *o.ChecksumMd5 -} - -// GetChecksumMd5Ok returns a tuple with the ChecksumMd5 field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *P2PackageUpload) GetChecksumMd5Ok() (*string, bool) { - if o == nil || o.ChecksumMd5 == nil { - return nil, false - } - return o.ChecksumMd5, true -} - -// HasChecksumMd5 returns a boolean if a field has been set. -func (o *P2PackageUpload) HasChecksumMd5() bool { - if o != nil && o.ChecksumMd5 != nil { - return true - } - - return false -} - -// SetChecksumMd5 gets a reference to the given string and assigns it to the ChecksumMd5 field. -func (o *P2PackageUpload) SetChecksumMd5(v string) { - o.ChecksumMd5 = &v -} - -// GetChecksumSha1 returns the ChecksumSha1 field value if set, zero value otherwise. -func (o *P2PackageUpload) GetChecksumSha1() string { - if o == nil || o.ChecksumSha1 == nil { - var ret string - return ret - } - return *o.ChecksumSha1 -} - -// GetChecksumSha1Ok returns a tuple with the ChecksumSha1 field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *P2PackageUpload) GetChecksumSha1Ok() (*string, bool) { - if o == nil || o.ChecksumSha1 == nil { - return nil, false - } - return o.ChecksumSha1, true -} - -// HasChecksumSha1 returns a boolean if a field has been set. -func (o *P2PackageUpload) HasChecksumSha1() bool { - if o != nil && o.ChecksumSha1 != nil { - return true - } - - return false -} - -// SetChecksumSha1 gets a reference to the given string and assigns it to the ChecksumSha1 field. -func (o *P2PackageUpload) SetChecksumSha1(v string) { - o.ChecksumSha1 = &v -} - -// GetChecksumSha256 returns the ChecksumSha256 field value if set, zero value otherwise. -func (o *P2PackageUpload) GetChecksumSha256() string { - if o == nil || o.ChecksumSha256 == nil { - var ret string - return ret - } - return *o.ChecksumSha256 -} - -// GetChecksumSha256Ok returns a tuple with the ChecksumSha256 field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *P2PackageUpload) GetChecksumSha256Ok() (*string, bool) { - if o == nil || o.ChecksumSha256 == nil { - return nil, false - } - return o.ChecksumSha256, true -} - -// HasChecksumSha256 returns a boolean if a field has been set. -func (o *P2PackageUpload) HasChecksumSha256() bool { - if o != nil && o.ChecksumSha256 != nil { - return true - } - - return false -} - -// SetChecksumSha256 gets a reference to the given string and assigns it to the ChecksumSha256 field. -func (o *P2PackageUpload) SetChecksumSha256(v string) { - o.ChecksumSha256 = &v -} - -// GetChecksumSha512 returns the ChecksumSha512 field value if set, zero value otherwise. -func (o *P2PackageUpload) GetChecksumSha512() string { - if o == nil || o.ChecksumSha512 == nil { - var ret string - return ret - } - return *o.ChecksumSha512 -} - -// GetChecksumSha512Ok returns a tuple with the ChecksumSha512 field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *P2PackageUpload) GetChecksumSha512Ok() (*string, bool) { - if o == nil || o.ChecksumSha512 == nil { - return nil, false - } - return o.ChecksumSha512, true -} - -// HasChecksumSha512 returns a boolean if a field has been set. -func (o *P2PackageUpload) HasChecksumSha512() bool { - if o != nil && o.ChecksumSha512 != nil { - return true - } - - return false -} - -// SetChecksumSha512 gets a reference to the given string and assigns it to the ChecksumSha512 field. -func (o *P2PackageUpload) SetChecksumSha512(v string) { - o.ChecksumSha512 = &v -} - -// GetDependenciesChecksumMd5 returns the DependenciesChecksumMd5 field value if set, zero value otherwise. -func (o *P2PackageUpload) GetDependenciesChecksumMd5() string { - if o == nil || o.DependenciesChecksumMd5 == nil { - var ret string - return ret - } - return *o.DependenciesChecksumMd5 -} - -// GetDependenciesChecksumMd5Ok returns a tuple with the DependenciesChecksumMd5 field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *P2PackageUpload) GetDependenciesChecksumMd5Ok() (*string, bool) { - if o == nil || o.DependenciesChecksumMd5 == nil { - return nil, false - } - return o.DependenciesChecksumMd5, true -} - -// HasDependenciesChecksumMd5 returns a boolean if a field has been set. -func (o *P2PackageUpload) HasDependenciesChecksumMd5() bool { - if o != nil && o.DependenciesChecksumMd5 != nil { - return true - } - - return false -} - -// SetDependenciesChecksumMd5 gets a reference to the given string and assigns it to the DependenciesChecksumMd5 field. -func (o *P2PackageUpload) SetDependenciesChecksumMd5(v string) { - o.DependenciesChecksumMd5 = &v -} - -// GetDependenciesUrl returns the DependenciesUrl field value if set, zero value otherwise. -func (o *P2PackageUpload) GetDependenciesUrl() string { - if o == nil || o.DependenciesUrl == nil { - var ret string - return ret - } - return *o.DependenciesUrl -} - -// GetDependenciesUrlOk returns a tuple with the DependenciesUrl field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *P2PackageUpload) GetDependenciesUrlOk() (*string, bool) { - if o == nil || o.DependenciesUrl == nil { - return nil, false - } - return o.DependenciesUrl, true -} - -// HasDependenciesUrl returns a boolean if a field has been set. -func (o *P2PackageUpload) HasDependenciesUrl() bool { - if o != nil && o.DependenciesUrl != nil { - return true - } - - return false -} - -// SetDependenciesUrl gets a reference to the given string and assigns it to the DependenciesUrl field. -func (o *P2PackageUpload) SetDependenciesUrl(v string) { - o.DependenciesUrl = &v -} - -// GetDescription returns the Description field value if set, zero value otherwise. -func (o *P2PackageUpload) GetDescription() string { - if o == nil || o.Description == nil { - var ret string - return ret - } - return *o.Description -} - -// GetDescriptionOk returns a tuple with the Description field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *P2PackageUpload) GetDescriptionOk() (*string, bool) { - if o == nil || o.Description == nil { - return nil, false - } - return o.Description, true -} - -// HasDescription returns a boolean if a field has been set. -func (o *P2PackageUpload) HasDescription() bool { - if o != nil && o.Description != nil { - return true - } - - return false -} - -// SetDescription gets a reference to the given string and assigns it to the Description field. -func (o *P2PackageUpload) SetDescription(v string) { - o.Description = &v -} - -// GetDistro returns the Distro field value if set, zero value otherwise. -func (o *P2PackageUpload) GetDistro() map[string]interface{} { - if o == nil || o.Distro == nil { - var ret map[string]interface{} - return ret - } - return o.Distro -} - -// GetDistroOk returns a tuple with the Distro field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *P2PackageUpload) GetDistroOk() (map[string]interface{}, bool) { - if o == nil || o.Distro == nil { - return nil, false - } - return o.Distro, true -} - -// HasDistro returns a boolean if a field has been set. -func (o *P2PackageUpload) HasDistro() bool { - if o != nil && o.Distro != nil { - return true - } - - return false -} - -// SetDistro gets a reference to the given map[string]interface{} and assigns it to the Distro field. -func (o *P2PackageUpload) SetDistro(v map[string]interface{}) { - o.Distro = v -} - -// GetDistroVersion returns the DistroVersion field value if set, zero value otherwise. -func (o *P2PackageUpload) GetDistroVersion() map[string]interface{} { - if o == nil || o.DistroVersion == nil { - var ret map[string]interface{} - return ret - } - return o.DistroVersion -} - -// GetDistroVersionOk returns a tuple with the DistroVersion field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *P2PackageUpload) GetDistroVersionOk() (map[string]interface{}, bool) { - if o == nil || o.DistroVersion == nil { - return nil, false - } - return o.DistroVersion, true -} - -// HasDistroVersion returns a boolean if a field has been set. -func (o *P2PackageUpload) HasDistroVersion() bool { - if o != nil && o.DistroVersion != nil { - return true - } - - return false -} - -// SetDistroVersion gets a reference to the given map[string]interface{} and assigns it to the DistroVersion field. -func (o *P2PackageUpload) SetDistroVersion(v map[string]interface{}) { - o.DistroVersion = v -} - -// GetDownloads returns the Downloads field value if set, zero value otherwise. -func (o *P2PackageUpload) GetDownloads() int64 { - if o == nil || o.Downloads == nil { - var ret int64 - return ret - } - return *o.Downloads -} - -// GetDownloadsOk returns a tuple with the Downloads field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *P2PackageUpload) GetDownloadsOk() (*int64, bool) { - if o == nil || o.Downloads == nil { - return nil, false - } - return o.Downloads, true -} - -// HasDownloads returns a boolean if a field has been set. -func (o *P2PackageUpload) HasDownloads() bool { - if o != nil && o.Downloads != nil { - return true - } - - return false -} - -// SetDownloads gets a reference to the given int64 and assigns it to the Downloads field. -func (o *P2PackageUpload) SetDownloads(v int64) { - o.Downloads = &v -} - -// GetEpoch returns the Epoch field value if set, zero value otherwise. -func (o *P2PackageUpload) GetEpoch() int64 { - if o == nil || o.Epoch == nil { - var ret int64 - return ret - } - return *o.Epoch -} - -// GetEpochOk returns a tuple with the Epoch field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *P2PackageUpload) GetEpochOk() (*int64, bool) { - if o == nil || o.Epoch == nil { - return nil, false - } - return o.Epoch, true -} - -// HasEpoch returns a boolean if a field has been set. -func (o *P2PackageUpload) HasEpoch() bool { - if o != nil && o.Epoch != nil { - return true - } - - return false -} - -// SetEpoch gets a reference to the given int64 and assigns it to the Epoch field. -func (o *P2PackageUpload) SetEpoch(v int64) { - o.Epoch = &v -} - -// GetExtension returns the Extension field value if set, zero value otherwise. -func (o *P2PackageUpload) GetExtension() string { - if o == nil || o.Extension == nil { - var ret string - return ret - } - return *o.Extension -} - -// GetExtensionOk returns a tuple with the Extension field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *P2PackageUpload) GetExtensionOk() (*string, bool) { - if o == nil || o.Extension == nil { - return nil, false - } - return o.Extension, true -} - -// HasExtension returns a boolean if a field has been set. -func (o *P2PackageUpload) HasExtension() bool { - if o != nil && o.Extension != nil { - return true - } - - return false -} - -// SetExtension gets a reference to the given string and assigns it to the Extension field. -func (o *P2PackageUpload) SetExtension(v string) { - o.Extension = &v -} - -// GetFilename returns the Filename field value if set, zero value otherwise. -func (o *P2PackageUpload) GetFilename() string { - if o == nil || o.Filename == nil { - var ret string - return ret - } - return *o.Filename -} - -// GetFilenameOk returns a tuple with the Filename field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *P2PackageUpload) GetFilenameOk() (*string, bool) { - if o == nil || o.Filename == nil { - return nil, false - } - return o.Filename, true -} - -// HasFilename returns a boolean if a field has been set. -func (o *P2PackageUpload) HasFilename() bool { - if o != nil && o.Filename != nil { - return true - } - - return false -} - -// SetFilename gets a reference to the given string and assigns it to the Filename field. -func (o *P2PackageUpload) SetFilename(v string) { - o.Filename = &v -} - -// GetFiles returns the Files field value if set, zero value otherwise. -func (o *P2PackageUpload) GetFiles() []PackagesOwnerRepoFiles { - if o == nil || o.Files == nil { - var ret []PackagesOwnerRepoFiles - return ret - } - return o.Files -} - -// GetFilesOk returns a tuple with the Files field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *P2PackageUpload) GetFilesOk() ([]PackagesOwnerRepoFiles, bool) { - if o == nil || o.Files == nil { - return nil, false - } - return o.Files, true -} - -// HasFiles returns a boolean if a field has been set. -func (o *P2PackageUpload) HasFiles() bool { - if o != nil && o.Files != nil { - return true - } - - return false -} - -// SetFiles gets a reference to the given []PackagesOwnerRepoFiles and assigns it to the Files field. -func (o *P2PackageUpload) SetFiles(v []PackagesOwnerRepoFiles) { - o.Files = v -} - -// GetFormat returns the Format field value if set, zero value otherwise. -func (o *P2PackageUpload) GetFormat() string { - if o == nil || o.Format == nil { - var ret string - return ret - } - return *o.Format -} - -// GetFormatOk returns a tuple with the Format field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *P2PackageUpload) GetFormatOk() (*string, bool) { - if o == nil || o.Format == nil { - return nil, false - } - return o.Format, true -} - -// HasFormat returns a boolean if a field has been set. -func (o *P2PackageUpload) HasFormat() bool { - if o != nil && o.Format != nil { - return true - } - - return false -} - -// SetFormat gets a reference to the given string and assigns it to the Format field. -func (o *P2PackageUpload) SetFormat(v string) { - o.Format = &v -} - -// GetFormatUrl returns the FormatUrl field value if set, zero value otherwise. -func (o *P2PackageUpload) GetFormatUrl() string { - if o == nil || o.FormatUrl == nil { - var ret string - return ret - } - return *o.FormatUrl -} - -// GetFormatUrlOk returns a tuple with the FormatUrl field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *P2PackageUpload) GetFormatUrlOk() (*string, bool) { - if o == nil || o.FormatUrl == nil { - return nil, false - } - return o.FormatUrl, true -} - -// HasFormatUrl returns a boolean if a field has been set. -func (o *P2PackageUpload) HasFormatUrl() bool { - if o != nil && o.FormatUrl != nil { - return true - } - - return false -} - -// SetFormatUrl gets a reference to the given string and assigns it to the FormatUrl field. -func (o *P2PackageUpload) SetFormatUrl(v string) { - o.FormatUrl = &v -} - -// GetIdentifierPerm returns the IdentifierPerm field value if set, zero value otherwise. -func (o *P2PackageUpload) GetIdentifierPerm() string { - if o == nil || o.IdentifierPerm == nil { - var ret string - return ret - } - return *o.IdentifierPerm -} - -// GetIdentifierPermOk returns a tuple with the IdentifierPerm field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *P2PackageUpload) GetIdentifierPermOk() (*string, bool) { - if o == nil || o.IdentifierPerm == nil { - return nil, false - } - return o.IdentifierPerm, true -} - -// HasIdentifierPerm returns a boolean if a field has been set. -func (o *P2PackageUpload) HasIdentifierPerm() bool { - if o != nil && o.IdentifierPerm != nil { - return true - } - - return false -} - -// SetIdentifierPerm gets a reference to the given string and assigns it to the IdentifierPerm field. -func (o *P2PackageUpload) SetIdentifierPerm(v string) { - o.IdentifierPerm = &v -} - -// GetIndexed returns the Indexed field value if set, zero value otherwise. -func (o *P2PackageUpload) GetIndexed() bool { - if o == nil || o.Indexed == nil { - var ret bool - return ret - } - return *o.Indexed -} - -// GetIndexedOk returns a tuple with the Indexed field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *P2PackageUpload) GetIndexedOk() (*bool, bool) { - if o == nil || o.Indexed == nil { - return nil, false - } - return o.Indexed, true -} - -// HasIndexed returns a boolean if a field has been set. -func (o *P2PackageUpload) HasIndexed() bool { - if o != nil && o.Indexed != nil { - return true - } - - return false -} - -// SetIndexed gets a reference to the given bool and assigns it to the Indexed field. -func (o *P2PackageUpload) SetIndexed(v bool) { - o.Indexed = &v -} - -// GetIsDownloadable returns the IsDownloadable field value if set, zero value otherwise. -func (o *P2PackageUpload) GetIsDownloadable() bool { - if o == nil || o.IsDownloadable == nil { - var ret bool - return ret - } - return *o.IsDownloadable -} - -// GetIsDownloadableOk returns a tuple with the IsDownloadable field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *P2PackageUpload) GetIsDownloadableOk() (*bool, bool) { - if o == nil || o.IsDownloadable == nil { - return nil, false - } - return o.IsDownloadable, true -} - -// HasIsDownloadable returns a boolean if a field has been set. -func (o *P2PackageUpload) HasIsDownloadable() bool { - if o != nil && o.IsDownloadable != nil { - return true - } - - return false -} - -// SetIsDownloadable gets a reference to the given bool and assigns it to the IsDownloadable field. -func (o *P2PackageUpload) SetIsDownloadable(v bool) { - o.IsDownloadable = &v -} - -// GetIsQuarantined returns the IsQuarantined field value if set, zero value otherwise. -func (o *P2PackageUpload) GetIsQuarantined() bool { - if o == nil || o.IsQuarantined == nil { - var ret bool - return ret - } - return *o.IsQuarantined -} - -// GetIsQuarantinedOk returns a tuple with the IsQuarantined field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *P2PackageUpload) GetIsQuarantinedOk() (*bool, bool) { - if o == nil || o.IsQuarantined == nil { - return nil, false - } - return o.IsQuarantined, true -} - -// HasIsQuarantined returns a boolean if a field has been set. -func (o *P2PackageUpload) HasIsQuarantined() bool { - if o != nil && o.IsQuarantined != nil { - return true - } - - return false -} - -// SetIsQuarantined gets a reference to the given bool and assigns it to the IsQuarantined field. -func (o *P2PackageUpload) SetIsQuarantined(v bool) { - o.IsQuarantined = &v -} - -// GetIsSyncAwaiting returns the IsSyncAwaiting field value if set, zero value otherwise. -func (o *P2PackageUpload) GetIsSyncAwaiting() bool { - if o == nil || o.IsSyncAwaiting == nil { - var ret bool - return ret - } - return *o.IsSyncAwaiting -} - -// GetIsSyncAwaitingOk returns a tuple with the IsSyncAwaiting field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *P2PackageUpload) GetIsSyncAwaitingOk() (*bool, bool) { - if o == nil || o.IsSyncAwaiting == nil { - return nil, false - } - return o.IsSyncAwaiting, true -} - -// HasIsSyncAwaiting returns a boolean if a field has been set. -func (o *P2PackageUpload) HasIsSyncAwaiting() bool { - if o != nil && o.IsSyncAwaiting != nil { - return true - } - - return false -} - -// SetIsSyncAwaiting gets a reference to the given bool and assigns it to the IsSyncAwaiting field. -func (o *P2PackageUpload) SetIsSyncAwaiting(v bool) { - o.IsSyncAwaiting = &v -} - -// GetIsSyncCompleted returns the IsSyncCompleted field value if set, zero value otherwise. -func (o *P2PackageUpload) GetIsSyncCompleted() bool { - if o == nil || o.IsSyncCompleted == nil { - var ret bool - return ret - } - return *o.IsSyncCompleted -} - -// GetIsSyncCompletedOk returns a tuple with the IsSyncCompleted field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *P2PackageUpload) GetIsSyncCompletedOk() (*bool, bool) { - if o == nil || o.IsSyncCompleted == nil { - return nil, false - } - return o.IsSyncCompleted, true -} - -// HasIsSyncCompleted returns a boolean if a field has been set. -func (o *P2PackageUpload) HasIsSyncCompleted() bool { - if o != nil && o.IsSyncCompleted != nil { - return true - } - - return false -} - -// SetIsSyncCompleted gets a reference to the given bool and assigns it to the IsSyncCompleted field. -func (o *P2PackageUpload) SetIsSyncCompleted(v bool) { - o.IsSyncCompleted = &v -} - -// GetIsSyncFailed returns the IsSyncFailed field value if set, zero value otherwise. -func (o *P2PackageUpload) GetIsSyncFailed() bool { - if o == nil || o.IsSyncFailed == nil { - var ret bool - return ret - } - return *o.IsSyncFailed -} - -// GetIsSyncFailedOk returns a tuple with the IsSyncFailed field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *P2PackageUpload) GetIsSyncFailedOk() (*bool, bool) { - if o == nil || o.IsSyncFailed == nil { - return nil, false - } - return o.IsSyncFailed, true -} - -// HasIsSyncFailed returns a boolean if a field has been set. -func (o *P2PackageUpload) HasIsSyncFailed() bool { - if o != nil && o.IsSyncFailed != nil { - return true - } - - return false -} - -// SetIsSyncFailed gets a reference to the given bool and assigns it to the IsSyncFailed field. -func (o *P2PackageUpload) SetIsSyncFailed(v bool) { - o.IsSyncFailed = &v -} - -// GetIsSyncInFlight returns the IsSyncInFlight field value if set, zero value otherwise. -func (o *P2PackageUpload) GetIsSyncInFlight() bool { - if o == nil || o.IsSyncInFlight == nil { - var ret bool - return ret - } - return *o.IsSyncInFlight -} - -// GetIsSyncInFlightOk returns a tuple with the IsSyncInFlight field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *P2PackageUpload) GetIsSyncInFlightOk() (*bool, bool) { - if o == nil || o.IsSyncInFlight == nil { - return nil, false - } - return o.IsSyncInFlight, true -} - -// HasIsSyncInFlight returns a boolean if a field has been set. -func (o *P2PackageUpload) HasIsSyncInFlight() bool { - if o != nil && o.IsSyncInFlight != nil { - return true - } - - return false -} - -// SetIsSyncInFlight gets a reference to the given bool and assigns it to the IsSyncInFlight field. -func (o *P2PackageUpload) SetIsSyncInFlight(v bool) { - o.IsSyncInFlight = &v -} - -// GetIsSyncInProgress returns the IsSyncInProgress field value if set, zero value otherwise. -func (o *P2PackageUpload) GetIsSyncInProgress() bool { - if o == nil || o.IsSyncInProgress == nil { - var ret bool - return ret - } - return *o.IsSyncInProgress -} - -// GetIsSyncInProgressOk returns a tuple with the IsSyncInProgress field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *P2PackageUpload) GetIsSyncInProgressOk() (*bool, bool) { - if o == nil || o.IsSyncInProgress == nil { - return nil, false - } - return o.IsSyncInProgress, true -} - -// HasIsSyncInProgress returns a boolean if a field has been set. -func (o *P2PackageUpload) HasIsSyncInProgress() bool { - if o != nil && o.IsSyncInProgress != nil { - return true - } - - return false -} - -// SetIsSyncInProgress gets a reference to the given bool and assigns it to the IsSyncInProgress field. -func (o *P2PackageUpload) SetIsSyncInProgress(v bool) { - o.IsSyncInProgress = &v -} - -// GetLicense returns the License field value if set, zero value otherwise. -func (o *P2PackageUpload) GetLicense() string { - if o == nil || o.License == nil { - var ret string - return ret - } - return *o.License -} - -// GetLicenseOk returns a tuple with the License field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *P2PackageUpload) GetLicenseOk() (*string, bool) { - if o == nil || o.License == nil { - return nil, false - } - return o.License, true -} - -// HasLicense returns a boolean if a field has been set. -func (o *P2PackageUpload) HasLicense() bool { - if o != nil && o.License != nil { - return true - } - - return false -} - -// SetLicense gets a reference to the given string and assigns it to the License field. -func (o *P2PackageUpload) SetLicense(v string) { - o.License = &v -} - -// GetName returns the Name field value if set, zero value otherwise. -func (o *P2PackageUpload) GetName() string { - if o == nil || o.Name == nil { - var ret string - return ret - } - return *o.Name -} - -// GetNameOk returns a tuple with the Name field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *P2PackageUpload) GetNameOk() (*string, bool) { - if o == nil || o.Name == nil { - return nil, false - } - return o.Name, true -} - -// HasName returns a boolean if a field has been set. -func (o *P2PackageUpload) HasName() bool { - if o != nil && o.Name != nil { - return true - } - - return false -} - -// SetName gets a reference to the given string and assigns it to the Name field. -func (o *P2PackageUpload) SetName(v string) { - o.Name = &v -} - -// GetNamespace returns the Namespace field value if set, zero value otherwise. -func (o *P2PackageUpload) GetNamespace() string { - if o == nil || o.Namespace == nil { - var ret string - return ret - } - return *o.Namespace -} - -// GetNamespaceOk returns a tuple with the Namespace field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *P2PackageUpload) GetNamespaceOk() (*string, bool) { - if o == nil || o.Namespace == nil { - return nil, false - } - return o.Namespace, true -} - -// HasNamespace returns a boolean if a field has been set. -func (o *P2PackageUpload) HasNamespace() bool { - if o != nil && o.Namespace != nil { - return true - } - - return false -} - -// SetNamespace gets a reference to the given string and assigns it to the Namespace field. -func (o *P2PackageUpload) SetNamespace(v string) { - o.Namespace = &v -} - -// GetNamespaceUrl returns the NamespaceUrl field value if set, zero value otherwise. -func (o *P2PackageUpload) GetNamespaceUrl() string { - if o == nil || o.NamespaceUrl == nil { - var ret string - return ret - } - return *o.NamespaceUrl -} - -// GetNamespaceUrlOk returns a tuple with the NamespaceUrl field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *P2PackageUpload) GetNamespaceUrlOk() (*string, bool) { - if o == nil || o.NamespaceUrl == nil { - return nil, false - } - return o.NamespaceUrl, true -} - -// HasNamespaceUrl returns a boolean if a field has been set. -func (o *P2PackageUpload) HasNamespaceUrl() bool { - if o != nil && o.NamespaceUrl != nil { - return true - } - - return false -} - -// SetNamespaceUrl gets a reference to the given string and assigns it to the NamespaceUrl field. -func (o *P2PackageUpload) SetNamespaceUrl(v string) { - o.NamespaceUrl = &v -} - -// GetNumFiles returns the NumFiles field value if set, zero value otherwise. -func (o *P2PackageUpload) GetNumFiles() int64 { - if o == nil || o.NumFiles == nil { - var ret int64 - return ret - } - return *o.NumFiles -} - -// GetNumFilesOk returns a tuple with the NumFiles field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *P2PackageUpload) GetNumFilesOk() (*int64, bool) { - if o == nil || o.NumFiles == nil { - return nil, false - } - return o.NumFiles, true -} - -// HasNumFiles returns a boolean if a field has been set. -func (o *P2PackageUpload) HasNumFiles() bool { - if o != nil && o.NumFiles != nil { - return true - } - - return false -} - -// SetNumFiles gets a reference to the given int64 and assigns it to the NumFiles field. -func (o *P2PackageUpload) SetNumFiles(v int64) { - o.NumFiles = &v -} - -// GetPackageType returns the PackageType field value if set, zero value otherwise. -func (o *P2PackageUpload) GetPackageType() int64 { - if o == nil || o.PackageType == nil { - var ret int64 - return ret - } - return *o.PackageType -} - -// GetPackageTypeOk returns a tuple with the PackageType field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *P2PackageUpload) GetPackageTypeOk() (*int64, bool) { - if o == nil || o.PackageType == nil { - return nil, false - } - return o.PackageType, true -} - -// HasPackageType returns a boolean if a field has been set. -func (o *P2PackageUpload) HasPackageType() bool { - if o != nil && o.PackageType != nil { - return true - } - - return false -} - -// SetPackageType gets a reference to the given int64 and assigns it to the PackageType field. -func (o *P2PackageUpload) SetPackageType(v int64) { - o.PackageType = &v -} - -// GetRelease returns the Release field value if set, zero value otherwise. -func (o *P2PackageUpload) GetRelease() string { - if o == nil || o.Release == nil { - var ret string - return ret - } - return *o.Release -} - -// GetReleaseOk returns a tuple with the Release field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *P2PackageUpload) GetReleaseOk() (*string, bool) { - if o == nil || o.Release == nil { - return nil, false - } - return o.Release, true -} - -// HasRelease returns a boolean if a field has been set. -func (o *P2PackageUpload) HasRelease() bool { - if o != nil && o.Release != nil { - return true - } - - return false -} - -// SetRelease gets a reference to the given string and assigns it to the Release field. -func (o *P2PackageUpload) SetRelease(v string) { - o.Release = &v -} - -// GetRepository returns the Repository field value if set, zero value otherwise. -func (o *P2PackageUpload) GetRepository() string { - if o == nil || o.Repository == nil { - var ret string - return ret - } - return *o.Repository -} - -// GetRepositoryOk returns a tuple with the Repository field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *P2PackageUpload) GetRepositoryOk() (*string, bool) { - if o == nil || o.Repository == nil { - return nil, false - } - return o.Repository, true -} - -// HasRepository returns a boolean if a field has been set. -func (o *P2PackageUpload) HasRepository() bool { - if o != nil && o.Repository != nil { - return true - } - - return false -} - -// SetRepository gets a reference to the given string and assigns it to the Repository field. -func (o *P2PackageUpload) SetRepository(v string) { - o.Repository = &v -} - -// GetRepositoryUrl returns the RepositoryUrl field value if set, zero value otherwise. -func (o *P2PackageUpload) GetRepositoryUrl() string { - if o == nil || o.RepositoryUrl == nil { - var ret string - return ret - } - return *o.RepositoryUrl -} - -// GetRepositoryUrlOk returns a tuple with the RepositoryUrl field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *P2PackageUpload) GetRepositoryUrlOk() (*string, bool) { - if o == nil || o.RepositoryUrl == nil { - return nil, false - } - return o.RepositoryUrl, true -} - -// HasRepositoryUrl returns a boolean if a field has been set. -func (o *P2PackageUpload) HasRepositoryUrl() bool { - if o != nil && o.RepositoryUrl != nil { - return true - } - - return false -} - -// SetRepositoryUrl gets a reference to the given string and assigns it to the RepositoryUrl field. -func (o *P2PackageUpload) SetRepositoryUrl(v string) { - o.RepositoryUrl = &v -} - -// GetSecurityScanCompletedAt returns the SecurityScanCompletedAt field value if set, zero value otherwise. -func (o *P2PackageUpload) GetSecurityScanCompletedAt() string { - if o == nil || o.SecurityScanCompletedAt == nil { - var ret string - return ret - } - return *o.SecurityScanCompletedAt -} - -// GetSecurityScanCompletedAtOk returns a tuple with the SecurityScanCompletedAt field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *P2PackageUpload) GetSecurityScanCompletedAtOk() (*string, bool) { - if o == nil || o.SecurityScanCompletedAt == nil { - return nil, false - } - return o.SecurityScanCompletedAt, true -} - -// HasSecurityScanCompletedAt returns a boolean if a field has been set. -func (o *P2PackageUpload) HasSecurityScanCompletedAt() bool { - if o != nil && o.SecurityScanCompletedAt != nil { - return true - } - - return false -} - -// SetSecurityScanCompletedAt gets a reference to the given string and assigns it to the SecurityScanCompletedAt field. -func (o *P2PackageUpload) SetSecurityScanCompletedAt(v string) { - o.SecurityScanCompletedAt = &v -} - -// GetSecurityScanStartedAt returns the SecurityScanStartedAt field value if set, zero value otherwise. -func (o *P2PackageUpload) GetSecurityScanStartedAt() string { - if o == nil || o.SecurityScanStartedAt == nil { - var ret string - return ret - } - return *o.SecurityScanStartedAt -} - -// GetSecurityScanStartedAtOk returns a tuple with the SecurityScanStartedAt field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *P2PackageUpload) GetSecurityScanStartedAtOk() (*string, bool) { - if o == nil || o.SecurityScanStartedAt == nil { - return nil, false - } - return o.SecurityScanStartedAt, true -} - -// HasSecurityScanStartedAt returns a boolean if a field has been set. -func (o *P2PackageUpload) HasSecurityScanStartedAt() bool { - if o != nil && o.SecurityScanStartedAt != nil { - return true - } - - return false -} - -// SetSecurityScanStartedAt gets a reference to the given string and assigns it to the SecurityScanStartedAt field. -func (o *P2PackageUpload) SetSecurityScanStartedAt(v string) { - o.SecurityScanStartedAt = &v -} - -// GetSecurityScanStatus returns the SecurityScanStatus field value if set, zero value otherwise. -func (o *P2PackageUpload) GetSecurityScanStatus() string { - if o == nil || o.SecurityScanStatus == nil { - var ret string - return ret - } - return *o.SecurityScanStatus -} - -// GetSecurityScanStatusOk returns a tuple with the SecurityScanStatus field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *P2PackageUpload) GetSecurityScanStatusOk() (*string, bool) { - if o == nil || o.SecurityScanStatus == nil { - return nil, false - } - return o.SecurityScanStatus, true -} - -// HasSecurityScanStatus returns a boolean if a field has been set. -func (o *P2PackageUpload) HasSecurityScanStatus() bool { - if o != nil && o.SecurityScanStatus != nil { - return true - } - - return false -} - -// SetSecurityScanStatus gets a reference to the given string and assigns it to the SecurityScanStatus field. -func (o *P2PackageUpload) SetSecurityScanStatus(v string) { - o.SecurityScanStatus = &v -} - -// GetSecurityScanStatusUpdatedAt returns the SecurityScanStatusUpdatedAt field value if set, zero value otherwise. -func (o *P2PackageUpload) GetSecurityScanStatusUpdatedAt() string { - if o == nil || o.SecurityScanStatusUpdatedAt == nil { - var ret string - return ret - } - return *o.SecurityScanStatusUpdatedAt -} - -// GetSecurityScanStatusUpdatedAtOk returns a tuple with the SecurityScanStatusUpdatedAt field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *P2PackageUpload) GetSecurityScanStatusUpdatedAtOk() (*string, bool) { - if o == nil || o.SecurityScanStatusUpdatedAt == nil { - return nil, false - } - return o.SecurityScanStatusUpdatedAt, true -} - -// HasSecurityScanStatusUpdatedAt returns a boolean if a field has been set. -func (o *P2PackageUpload) HasSecurityScanStatusUpdatedAt() bool { - if o != nil && o.SecurityScanStatusUpdatedAt != nil { - return true - } - - return false -} - -// SetSecurityScanStatusUpdatedAt gets a reference to the given string and assigns it to the SecurityScanStatusUpdatedAt field. -func (o *P2PackageUpload) SetSecurityScanStatusUpdatedAt(v string) { - o.SecurityScanStatusUpdatedAt = &v -} - -// GetSelfHtmlUrl returns the SelfHtmlUrl field value if set, zero value otherwise. -func (o *P2PackageUpload) GetSelfHtmlUrl() string { - if o == nil || o.SelfHtmlUrl == nil { - var ret string - return ret - } - return *o.SelfHtmlUrl -} - -// GetSelfHtmlUrlOk returns a tuple with the SelfHtmlUrl field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *P2PackageUpload) GetSelfHtmlUrlOk() (*string, bool) { - if o == nil || o.SelfHtmlUrl == nil { - return nil, false - } - return o.SelfHtmlUrl, true -} - -// HasSelfHtmlUrl returns a boolean if a field has been set. -func (o *P2PackageUpload) HasSelfHtmlUrl() bool { - if o != nil && o.SelfHtmlUrl != nil { - return true - } - - return false -} - -// SetSelfHtmlUrl gets a reference to the given string and assigns it to the SelfHtmlUrl field. -func (o *P2PackageUpload) SetSelfHtmlUrl(v string) { - o.SelfHtmlUrl = &v -} - -// GetSelfUrl returns the SelfUrl field value if set, zero value otherwise. -func (o *P2PackageUpload) GetSelfUrl() string { - if o == nil || o.SelfUrl == nil { - var ret string - return ret - } - return *o.SelfUrl -} - -// GetSelfUrlOk returns a tuple with the SelfUrl field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *P2PackageUpload) GetSelfUrlOk() (*string, bool) { - if o == nil || o.SelfUrl == nil { - return nil, false - } - return o.SelfUrl, true -} - -// HasSelfUrl returns a boolean if a field has been set. -func (o *P2PackageUpload) HasSelfUrl() bool { - if o != nil && o.SelfUrl != nil { - return true - } - - return false -} - -// SetSelfUrl gets a reference to the given string and assigns it to the SelfUrl field. -func (o *P2PackageUpload) SetSelfUrl(v string) { - o.SelfUrl = &v -} - -// GetSignatureUrl returns the SignatureUrl field value if set, zero value otherwise. -func (o *P2PackageUpload) GetSignatureUrl() string { - if o == nil || o.SignatureUrl == nil { - var ret string - return ret - } - return *o.SignatureUrl -} - -// GetSignatureUrlOk returns a tuple with the SignatureUrl field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *P2PackageUpload) GetSignatureUrlOk() (*string, bool) { - if o == nil || o.SignatureUrl == nil { - return nil, false - } - return o.SignatureUrl, true -} - -// HasSignatureUrl returns a boolean if a field has been set. -func (o *P2PackageUpload) HasSignatureUrl() bool { - if o != nil && o.SignatureUrl != nil { - return true - } - - return false -} - -// SetSignatureUrl gets a reference to the given string and assigns it to the SignatureUrl field. -func (o *P2PackageUpload) SetSignatureUrl(v string) { - o.SignatureUrl = &v -} - -// GetSize returns the Size field value if set, zero value otherwise. -func (o *P2PackageUpload) GetSize() int64 { - if o == nil || o.Size == nil { - var ret int64 - return ret - } - return *o.Size -} - -// GetSizeOk returns a tuple with the Size field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *P2PackageUpload) GetSizeOk() (*int64, bool) { - if o == nil || o.Size == nil { - return nil, false - } - return o.Size, true -} - -// HasSize returns a boolean if a field has been set. -func (o *P2PackageUpload) HasSize() bool { - if o != nil && o.Size != nil { - return true - } - - return false -} - -// SetSize gets a reference to the given int64 and assigns it to the Size field. -func (o *P2PackageUpload) SetSize(v int64) { - o.Size = &v -} - -// GetSlug returns the Slug field value if set, zero value otherwise. -func (o *P2PackageUpload) GetSlug() string { - if o == nil || o.Slug == nil { - var ret string - return ret - } - return *o.Slug -} - -// GetSlugOk returns a tuple with the Slug field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *P2PackageUpload) GetSlugOk() (*string, bool) { - if o == nil || o.Slug == nil { - return nil, false - } - return o.Slug, true -} - -// HasSlug returns a boolean if a field has been set. -func (o *P2PackageUpload) HasSlug() bool { - if o != nil && o.Slug != nil { - return true - } - - return false -} - -// SetSlug gets a reference to the given string and assigns it to the Slug field. -func (o *P2PackageUpload) SetSlug(v string) { - o.Slug = &v -} - -// GetSlugPerm returns the SlugPerm field value if set, zero value otherwise. -func (o *P2PackageUpload) GetSlugPerm() string { - if o == nil || o.SlugPerm == nil { - var ret string - return ret - } - return *o.SlugPerm -} - -// GetSlugPermOk returns a tuple with the SlugPerm field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *P2PackageUpload) GetSlugPermOk() (*string, bool) { - if o == nil || o.SlugPerm == nil { - return nil, false - } - return o.SlugPerm, true -} - -// HasSlugPerm returns a boolean if a field has been set. -func (o *P2PackageUpload) HasSlugPerm() bool { - if o != nil && o.SlugPerm != nil { - return true - } - - return false -} - -// SetSlugPerm gets a reference to the given string and assigns it to the SlugPerm field. -func (o *P2PackageUpload) SetSlugPerm(v string) { - o.SlugPerm = &v -} - -// GetStage returns the Stage field value if set, zero value otherwise. -func (o *P2PackageUpload) GetStage() int64 { - if o == nil || o.Stage == nil { - var ret int64 - return ret - } - return *o.Stage -} - -// GetStageOk returns a tuple with the Stage field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *P2PackageUpload) GetStageOk() (*int64, bool) { - if o == nil || o.Stage == nil { - return nil, false - } - return o.Stage, true -} - -// HasStage returns a boolean if a field has been set. -func (o *P2PackageUpload) HasStage() bool { - if o != nil && o.Stage != nil { - return true - } - - return false -} - -// SetStage gets a reference to the given int64 and assigns it to the Stage field. -func (o *P2PackageUpload) SetStage(v int64) { - o.Stage = &v -} - -// GetStageStr returns the StageStr field value if set, zero value otherwise. -func (o *P2PackageUpload) GetStageStr() string { - if o == nil || o.StageStr == nil { - var ret string - return ret - } - return *o.StageStr -} - -// GetStageStrOk returns a tuple with the StageStr field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *P2PackageUpload) GetStageStrOk() (*string, bool) { - if o == nil || o.StageStr == nil { - return nil, false - } - return o.StageStr, true -} - -// HasStageStr returns a boolean if a field has been set. -func (o *P2PackageUpload) HasStageStr() bool { - if o != nil && o.StageStr != nil { - return true - } - - return false -} - -// SetStageStr gets a reference to the given string and assigns it to the StageStr field. -func (o *P2PackageUpload) SetStageStr(v string) { - o.StageStr = &v -} - -// GetStageUpdatedAt returns the StageUpdatedAt field value if set, zero value otherwise. -func (o *P2PackageUpload) GetStageUpdatedAt() string { - if o == nil || o.StageUpdatedAt == nil { - var ret string - return ret - } - return *o.StageUpdatedAt -} - -// GetStageUpdatedAtOk returns a tuple with the StageUpdatedAt field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *P2PackageUpload) GetStageUpdatedAtOk() (*string, bool) { - if o == nil || o.StageUpdatedAt == nil { - return nil, false - } - return o.StageUpdatedAt, true -} - -// HasStageUpdatedAt returns a boolean if a field has been set. -func (o *P2PackageUpload) HasStageUpdatedAt() bool { - if o != nil && o.StageUpdatedAt != nil { - return true - } - - return false -} - -// SetStageUpdatedAt gets a reference to the given string and assigns it to the StageUpdatedAt field. -func (o *P2PackageUpload) SetStageUpdatedAt(v string) { - o.StageUpdatedAt = &v -} - -// GetStatus returns the Status field value if set, zero value otherwise. -func (o *P2PackageUpload) GetStatus() int64 { - if o == nil || o.Status == nil { - var ret int64 - return ret - } - return *o.Status -} - -// GetStatusOk returns a tuple with the Status field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *P2PackageUpload) GetStatusOk() (*int64, bool) { - if o == nil || o.Status == nil { - return nil, false - } - return o.Status, true -} - -// HasStatus returns a boolean if a field has been set. -func (o *P2PackageUpload) HasStatus() bool { - if o != nil && o.Status != nil { - return true - } - - return false -} - -// SetStatus gets a reference to the given int64 and assigns it to the Status field. -func (o *P2PackageUpload) SetStatus(v int64) { - o.Status = &v -} - -// GetStatusReason returns the StatusReason field value if set, zero value otherwise. -func (o *P2PackageUpload) GetStatusReason() string { - if o == nil || o.StatusReason == nil { - var ret string - return ret - } - return *o.StatusReason -} - -// GetStatusReasonOk returns a tuple with the StatusReason field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *P2PackageUpload) GetStatusReasonOk() (*string, bool) { - if o == nil || o.StatusReason == nil { - return nil, false - } - return o.StatusReason, true -} - -// HasStatusReason returns a boolean if a field has been set. -func (o *P2PackageUpload) HasStatusReason() bool { - if o != nil && o.StatusReason != nil { - return true - } - - return false -} - -// SetStatusReason gets a reference to the given string and assigns it to the StatusReason field. -func (o *P2PackageUpload) SetStatusReason(v string) { - o.StatusReason = &v -} - -// GetStatusStr returns the StatusStr field value if set, zero value otherwise. -func (o *P2PackageUpload) GetStatusStr() string { - if o == nil || o.StatusStr == nil { - var ret string - return ret - } - return *o.StatusStr -} - -// GetStatusStrOk returns a tuple with the StatusStr field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *P2PackageUpload) GetStatusStrOk() (*string, bool) { - if o == nil || o.StatusStr == nil { - return nil, false - } - return o.StatusStr, true -} - -// HasStatusStr returns a boolean if a field has been set. -func (o *P2PackageUpload) HasStatusStr() bool { - if o != nil && o.StatusStr != nil { - return true - } - - return false -} - -// SetStatusStr gets a reference to the given string and assigns it to the StatusStr field. -func (o *P2PackageUpload) SetStatusStr(v string) { - o.StatusStr = &v -} - -// GetStatusUpdatedAt returns the StatusUpdatedAt field value if set, zero value otherwise. -func (o *P2PackageUpload) GetStatusUpdatedAt() string { - if o == nil || o.StatusUpdatedAt == nil { - var ret string - return ret - } - return *o.StatusUpdatedAt -} - -// GetStatusUpdatedAtOk returns a tuple with the StatusUpdatedAt field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *P2PackageUpload) GetStatusUpdatedAtOk() (*string, bool) { - if o == nil || o.StatusUpdatedAt == nil { - return nil, false - } - return o.StatusUpdatedAt, true -} - -// HasStatusUpdatedAt returns a boolean if a field has been set. -func (o *P2PackageUpload) HasStatusUpdatedAt() bool { - if o != nil && o.StatusUpdatedAt != nil { - return true - } - - return false -} - -// SetStatusUpdatedAt gets a reference to the given string and assigns it to the StatusUpdatedAt field. -func (o *P2PackageUpload) SetStatusUpdatedAt(v string) { - o.StatusUpdatedAt = &v -} - -// GetStatusUrl returns the StatusUrl field value if set, zero value otherwise. -func (o *P2PackageUpload) GetStatusUrl() string { - if o == nil || o.StatusUrl == nil { - var ret string - return ret - } - return *o.StatusUrl -} - -// GetStatusUrlOk returns a tuple with the StatusUrl field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *P2PackageUpload) GetStatusUrlOk() (*string, bool) { - if o == nil || o.StatusUrl == nil { - return nil, false - } - return o.StatusUrl, true -} - -// HasStatusUrl returns a boolean if a field has been set. -func (o *P2PackageUpload) HasStatusUrl() bool { - if o != nil && o.StatusUrl != nil { - return true - } - - return false -} - -// SetStatusUrl gets a reference to the given string and assigns it to the StatusUrl field. -func (o *P2PackageUpload) SetStatusUrl(v string) { - o.StatusUrl = &v -} - -// GetSubtype returns the Subtype field value if set, zero value otherwise. -func (o *P2PackageUpload) GetSubtype() string { - if o == nil || o.Subtype == nil { - var ret string - return ret - } - return *o.Subtype -} - -// GetSubtypeOk returns a tuple with the Subtype field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *P2PackageUpload) GetSubtypeOk() (*string, bool) { - if o == nil || o.Subtype == nil { - return nil, false - } - return o.Subtype, true -} - -// HasSubtype returns a boolean if a field has been set. -func (o *P2PackageUpload) HasSubtype() bool { - if o != nil && o.Subtype != nil { - return true - } - - return false -} - -// SetSubtype gets a reference to the given string and assigns it to the Subtype field. -func (o *P2PackageUpload) SetSubtype(v string) { - o.Subtype = &v -} - -// GetSummary returns the Summary field value if set, zero value otherwise. -func (o *P2PackageUpload) GetSummary() string { - if o == nil || o.Summary == nil { - var ret string - return ret - } - return *o.Summary -} - -// GetSummaryOk returns a tuple with the Summary field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *P2PackageUpload) GetSummaryOk() (*string, bool) { - if o == nil || o.Summary == nil { - return nil, false - } - return o.Summary, true -} - -// HasSummary returns a boolean if a field has been set. -func (o *P2PackageUpload) HasSummary() bool { - if o != nil && o.Summary != nil { - return true - } - - return false -} - -// SetSummary gets a reference to the given string and assigns it to the Summary field. -func (o *P2PackageUpload) SetSummary(v string) { - o.Summary = &v -} - -// GetSyncFinishedAt returns the SyncFinishedAt field value if set, zero value otherwise. -func (o *P2PackageUpload) GetSyncFinishedAt() string { - if o == nil || o.SyncFinishedAt == nil { - var ret string - return ret - } - return *o.SyncFinishedAt -} - -// GetSyncFinishedAtOk returns a tuple with the SyncFinishedAt field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *P2PackageUpload) GetSyncFinishedAtOk() (*string, bool) { - if o == nil || o.SyncFinishedAt == nil { - return nil, false - } - return o.SyncFinishedAt, true -} - -// HasSyncFinishedAt returns a boolean if a field has been set. -func (o *P2PackageUpload) HasSyncFinishedAt() bool { - if o != nil && o.SyncFinishedAt != nil { - return true - } - - return false -} - -// SetSyncFinishedAt gets a reference to the given string and assigns it to the SyncFinishedAt field. -func (o *P2PackageUpload) SetSyncFinishedAt(v string) { - o.SyncFinishedAt = &v -} - -// GetSyncProgress returns the SyncProgress field value if set, zero value otherwise. -func (o *P2PackageUpload) GetSyncProgress() int64 { - if o == nil || o.SyncProgress == nil { - var ret int64 - return ret - } - return *o.SyncProgress -} - -// GetSyncProgressOk returns a tuple with the SyncProgress field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *P2PackageUpload) GetSyncProgressOk() (*int64, bool) { - if o == nil || o.SyncProgress == nil { - return nil, false - } - return o.SyncProgress, true -} - -// HasSyncProgress returns a boolean if a field has been set. -func (o *P2PackageUpload) HasSyncProgress() bool { - if o != nil && o.SyncProgress != nil { - return true - } - - return false -} - -// SetSyncProgress gets a reference to the given int64 and assigns it to the SyncProgress field. -func (o *P2PackageUpload) SetSyncProgress(v int64) { - o.SyncProgress = &v -} - -// GetTagsImmutable returns the TagsImmutable field value if set, zero value otherwise. -func (o *P2PackageUpload) GetTagsImmutable() map[string]interface{} { - if o == nil || o.TagsImmutable == nil { - var ret map[string]interface{} - return ret - } - return o.TagsImmutable -} - -// GetTagsImmutableOk returns a tuple with the TagsImmutable field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *P2PackageUpload) GetTagsImmutableOk() (map[string]interface{}, bool) { - if o == nil || o.TagsImmutable == nil { - return nil, false - } - return o.TagsImmutable, true -} - -// HasTagsImmutable returns a boolean if a field has been set. -func (o *P2PackageUpload) HasTagsImmutable() bool { - if o != nil && o.TagsImmutable != nil { - return true - } - - return false -} - -// SetTagsImmutable gets a reference to the given map[string]interface{} and assigns it to the TagsImmutable field. -func (o *P2PackageUpload) SetTagsImmutable(v map[string]interface{}) { - o.TagsImmutable = v -} - -// GetTypeDisplay returns the TypeDisplay field value if set, zero value otherwise. -func (o *P2PackageUpload) GetTypeDisplay() string { - if o == nil || o.TypeDisplay == nil { - var ret string - return ret - } - return *o.TypeDisplay -} - -// GetTypeDisplayOk returns a tuple with the TypeDisplay field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *P2PackageUpload) GetTypeDisplayOk() (*string, bool) { - if o == nil || o.TypeDisplay == nil { - return nil, false - } - return o.TypeDisplay, true -} - -// HasTypeDisplay returns a boolean if a field has been set. -func (o *P2PackageUpload) HasTypeDisplay() bool { - if o != nil && o.TypeDisplay != nil { - return true - } - - return false -} - -// SetTypeDisplay gets a reference to the given string and assigns it to the TypeDisplay field. -func (o *P2PackageUpload) SetTypeDisplay(v string) { - o.TypeDisplay = &v -} - -// GetUploadedAt returns the UploadedAt field value if set, zero value otherwise. -func (o *P2PackageUpload) GetUploadedAt() string { - if o == nil || o.UploadedAt == nil { - var ret string - return ret - } - return *o.UploadedAt -} - -// GetUploadedAtOk returns a tuple with the UploadedAt field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *P2PackageUpload) GetUploadedAtOk() (*string, bool) { - if o == nil || o.UploadedAt == nil { - return nil, false - } - return o.UploadedAt, true -} - -// HasUploadedAt returns a boolean if a field has been set. -func (o *P2PackageUpload) HasUploadedAt() bool { - if o != nil && o.UploadedAt != nil { - return true - } - - return false -} - -// SetUploadedAt gets a reference to the given string and assigns it to the UploadedAt field. -func (o *P2PackageUpload) SetUploadedAt(v string) { - o.UploadedAt = &v -} - -// GetUploader returns the Uploader field value if set, zero value otherwise. -func (o *P2PackageUpload) GetUploader() string { - if o == nil || o.Uploader == nil { - var ret string - return ret - } - return *o.Uploader -} - -// GetUploaderOk returns a tuple with the Uploader field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *P2PackageUpload) GetUploaderOk() (*string, bool) { - if o == nil || o.Uploader == nil { - return nil, false - } - return o.Uploader, true -} - -// HasUploader returns a boolean if a field has been set. -func (o *P2PackageUpload) HasUploader() bool { - if o != nil && o.Uploader != nil { - return true - } - - return false -} - -// SetUploader gets a reference to the given string and assigns it to the Uploader field. -func (o *P2PackageUpload) SetUploader(v string) { - o.Uploader = &v -} - -// GetUploaderUrl returns the UploaderUrl field value if set, zero value otherwise. -func (o *P2PackageUpload) GetUploaderUrl() string { - if o == nil || o.UploaderUrl == nil { - var ret string - return ret - } - return *o.UploaderUrl -} - -// GetUploaderUrlOk returns a tuple with the UploaderUrl field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *P2PackageUpload) GetUploaderUrlOk() (*string, bool) { - if o == nil || o.UploaderUrl == nil { - return nil, false - } - return o.UploaderUrl, true -} - -// HasUploaderUrl returns a boolean if a field has been set. -func (o *P2PackageUpload) HasUploaderUrl() bool { - if o != nil && o.UploaderUrl != nil { - return true - } - - return false -} - -// SetUploaderUrl gets a reference to the given string and assigns it to the UploaderUrl field. -func (o *P2PackageUpload) SetUploaderUrl(v string) { - o.UploaderUrl = &v -} - -// GetVersion returns the Version field value if set, zero value otherwise. -func (o *P2PackageUpload) GetVersion() string { - if o == nil || o.Version == nil { - var ret string - return ret - } - return *o.Version -} - -// GetVersionOk returns a tuple with the Version field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *P2PackageUpload) GetVersionOk() (*string, bool) { - if o == nil || o.Version == nil { - return nil, false - } - return o.Version, true -} - -// HasVersion returns a boolean if a field has been set. -func (o *P2PackageUpload) HasVersion() bool { - if o != nil && o.Version != nil { - return true - } - - return false -} - -// SetVersion gets a reference to the given string and assigns it to the Version field. -func (o *P2PackageUpload) SetVersion(v string) { - o.Version = &v -} - -// GetVersionOrig returns the VersionOrig field value if set, zero value otherwise. -func (o *P2PackageUpload) GetVersionOrig() string { - if o == nil || o.VersionOrig == nil { - var ret string - return ret - } - return *o.VersionOrig -} - -// GetVersionOrigOk returns a tuple with the VersionOrig field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *P2PackageUpload) GetVersionOrigOk() (*string, bool) { - if o == nil || o.VersionOrig == nil { - return nil, false - } - return o.VersionOrig, true -} - -// HasVersionOrig returns a boolean if a field has been set. -func (o *P2PackageUpload) HasVersionOrig() bool { - if o != nil && o.VersionOrig != nil { - return true - } - - return false -} - -// SetVersionOrig gets a reference to the given string and assigns it to the VersionOrig field. -func (o *P2PackageUpload) SetVersionOrig(v string) { - o.VersionOrig = &v -} - -// GetVulnerabilityScanResultsUrl returns the VulnerabilityScanResultsUrl field value if set, zero value otherwise. -func (o *P2PackageUpload) GetVulnerabilityScanResultsUrl() string { - if o == nil || o.VulnerabilityScanResultsUrl == nil { - var ret string - return ret - } - return *o.VulnerabilityScanResultsUrl -} - -// GetVulnerabilityScanResultsUrlOk returns a tuple with the VulnerabilityScanResultsUrl field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *P2PackageUpload) GetVulnerabilityScanResultsUrlOk() (*string, bool) { - if o == nil || o.VulnerabilityScanResultsUrl == nil { - return nil, false - } - return o.VulnerabilityScanResultsUrl, true -} - -// HasVulnerabilityScanResultsUrl returns a boolean if a field has been set. -func (o *P2PackageUpload) HasVulnerabilityScanResultsUrl() bool { - if o != nil && o.VulnerabilityScanResultsUrl != nil { - return true - } - - return false -} - -// SetVulnerabilityScanResultsUrl gets a reference to the given string and assigns it to the VulnerabilityScanResultsUrl field. -func (o *P2PackageUpload) SetVulnerabilityScanResultsUrl(v string) { - o.VulnerabilityScanResultsUrl = &v -} - -func (o P2PackageUpload) MarshalJSON() ([]byte, error) { - toSerialize := map[string]interface{}{} - if o.Architectures != nil { - toSerialize["architectures"] = o.Architectures - } - if o.CdnUrl != nil { - toSerialize["cdn_url"] = o.CdnUrl - } - if o.ChecksumMd5 != nil { - toSerialize["checksum_md5"] = o.ChecksumMd5 - } - if o.ChecksumSha1 != nil { - toSerialize["checksum_sha1"] = o.ChecksumSha1 - } - if o.ChecksumSha256 != nil { - toSerialize["checksum_sha256"] = o.ChecksumSha256 - } - if o.ChecksumSha512 != nil { - toSerialize["checksum_sha512"] = o.ChecksumSha512 - } - if o.DependenciesChecksumMd5 != nil { - toSerialize["dependencies_checksum_md5"] = o.DependenciesChecksumMd5 - } - if o.DependenciesUrl != nil { - toSerialize["dependencies_url"] = o.DependenciesUrl - } - if o.Description != nil { - toSerialize["description"] = o.Description - } - if o.Distro != nil { - toSerialize["distro"] = o.Distro - } - if o.DistroVersion != nil { - toSerialize["distro_version"] = o.DistroVersion - } - if o.Downloads != nil { - toSerialize["downloads"] = o.Downloads - } - if o.Epoch != nil { - toSerialize["epoch"] = o.Epoch - } - if o.Extension != nil { - toSerialize["extension"] = o.Extension - } - if o.Filename != nil { - toSerialize["filename"] = o.Filename - } - if o.Files != nil { - toSerialize["files"] = o.Files - } - if o.Format != nil { - toSerialize["format"] = o.Format - } - if o.FormatUrl != nil { - toSerialize["format_url"] = o.FormatUrl - } - if o.IdentifierPerm != nil { - toSerialize["identifier_perm"] = o.IdentifierPerm - } - if o.Indexed != nil { - toSerialize["indexed"] = o.Indexed - } - if o.IsDownloadable != nil { - toSerialize["is_downloadable"] = o.IsDownloadable - } - if o.IsQuarantined != nil { - toSerialize["is_quarantined"] = o.IsQuarantined - } - if o.IsSyncAwaiting != nil { - toSerialize["is_sync_awaiting"] = o.IsSyncAwaiting - } - if o.IsSyncCompleted != nil { - toSerialize["is_sync_completed"] = o.IsSyncCompleted - } - if o.IsSyncFailed != nil { - toSerialize["is_sync_failed"] = o.IsSyncFailed - } - if o.IsSyncInFlight != nil { - toSerialize["is_sync_in_flight"] = o.IsSyncInFlight - } - if o.IsSyncInProgress != nil { - toSerialize["is_sync_in_progress"] = o.IsSyncInProgress - } - if o.License != nil { - toSerialize["license"] = o.License - } - if o.Name != nil { - toSerialize["name"] = o.Name - } - if o.Namespace != nil { - toSerialize["namespace"] = o.Namespace - } - if o.NamespaceUrl != nil { - toSerialize["namespace_url"] = o.NamespaceUrl - } - if o.NumFiles != nil { - toSerialize["num_files"] = o.NumFiles - } - if o.PackageType != nil { - toSerialize["package_type"] = o.PackageType - } - if o.Release != nil { - toSerialize["release"] = o.Release - } - if o.Repository != nil { - toSerialize["repository"] = o.Repository - } - if o.RepositoryUrl != nil { - toSerialize["repository_url"] = o.RepositoryUrl - } - if o.SecurityScanCompletedAt != nil { - toSerialize["security_scan_completed_at"] = o.SecurityScanCompletedAt - } - if o.SecurityScanStartedAt != nil { - toSerialize["security_scan_started_at"] = o.SecurityScanStartedAt - } - if o.SecurityScanStatus != nil { - toSerialize["security_scan_status"] = o.SecurityScanStatus - } - if o.SecurityScanStatusUpdatedAt != nil { - toSerialize["security_scan_status_updated_at"] = o.SecurityScanStatusUpdatedAt - } - if o.SelfHtmlUrl != nil { - toSerialize["self_html_url"] = o.SelfHtmlUrl - } - if o.SelfUrl != nil { - toSerialize["self_url"] = o.SelfUrl - } - if o.SignatureUrl != nil { - toSerialize["signature_url"] = o.SignatureUrl - } - if o.Size != nil { - toSerialize["size"] = o.Size - } - if o.Slug != nil { - toSerialize["slug"] = o.Slug - } - if o.SlugPerm != nil { - toSerialize["slug_perm"] = o.SlugPerm - } - if o.Stage != nil { - toSerialize["stage"] = o.Stage - } - if o.StageStr != nil { - toSerialize["stage_str"] = o.StageStr - } - if o.StageUpdatedAt != nil { - toSerialize["stage_updated_at"] = o.StageUpdatedAt - } - if o.Status != nil { - toSerialize["status"] = o.Status - } - if o.StatusReason != nil { - toSerialize["status_reason"] = o.StatusReason - } - if o.StatusStr != nil { - toSerialize["status_str"] = o.StatusStr - } - if o.StatusUpdatedAt != nil { - toSerialize["status_updated_at"] = o.StatusUpdatedAt - } - if o.StatusUrl != nil { - toSerialize["status_url"] = o.StatusUrl - } - if o.Subtype != nil { - toSerialize["subtype"] = o.Subtype - } - if o.Summary != nil { - toSerialize["summary"] = o.Summary - } - if o.SyncFinishedAt != nil { - toSerialize["sync_finished_at"] = o.SyncFinishedAt - } - if o.SyncProgress != nil { - toSerialize["sync_progress"] = o.SyncProgress - } - if o.TagsImmutable != nil { - toSerialize["tags_immutable"] = o.TagsImmutable - } - if o.TypeDisplay != nil { - toSerialize["type_display"] = o.TypeDisplay - } - if o.UploadedAt != nil { - toSerialize["uploaded_at"] = o.UploadedAt - } - if o.Uploader != nil { - toSerialize["uploader"] = o.Uploader - } - if o.UploaderUrl != nil { - toSerialize["uploader_url"] = o.UploaderUrl - } - if o.Version != nil { - toSerialize["version"] = o.Version - } - if o.VersionOrig != nil { - toSerialize["version_orig"] = o.VersionOrig - } - if o.VulnerabilityScanResultsUrl != nil { - toSerialize["vulnerability_scan_results_url"] = o.VulnerabilityScanResultsUrl - } - return json.Marshal(toSerialize) -} - -type NullableP2PackageUpload struct { - value *P2PackageUpload - isSet bool -} - -func (v NullableP2PackageUpload) Get() *P2PackageUpload { - return v.value -} - -func (v *NullableP2PackageUpload) Set(val *P2PackageUpload) { - v.value = val - v.isSet = true -} - -func (v NullableP2PackageUpload) IsSet() bool { - return v.isSet -} - -func (v *NullableP2PackageUpload) Unset() { - v.value = nil - v.isSet = false -} - -func NewNullableP2PackageUpload(val *P2PackageUpload) *NullableP2PackageUpload { - return &NullableP2PackageUpload{value: val, isSet: true} -} - -func (v NullableP2PackageUpload) MarshalJSON() ([]byte, error) { - return json.Marshal(v.value) -} - -func (v *NullableP2PackageUpload) UnmarshalJSON(src []byte) error { - v.isSet = true - return json.Unmarshal(src, &v.value) -} diff --git a/model_p2_package_upload_request.go b/model_p2_package_upload_request.go new file mode 100644 index 00000000..d10e06f8 --- /dev/null +++ b/model_p2_package_upload_request.go @@ -0,0 +1,193 @@ +/* +Cloudsmith API (v1) + +The API to the Cloudsmith Service + +API version: 1.181.6 +Contact: support@cloudsmith.io +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cloudsmith + +import ( + "encoding/json" +) + +// P2PackageUploadRequest struct for P2PackageUploadRequest +type P2PackageUploadRequest struct { + // The primary file for the package. + PackageFile string `json:"package_file"` + // If true, the uploaded package will overwrite any others with the same attributes (e.g. same version); otherwise, it will be flagged as a duplicate. + Republish *bool `json:"republish,omitempty"` + // A comma-separated values list of tags to add to the package. + Tags NullableString `json:"tags,omitempty"` +} + +// NewP2PackageUploadRequest instantiates a new P2PackageUploadRequest object +// 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 NewP2PackageUploadRequest(packageFile string) *P2PackageUploadRequest { + this := P2PackageUploadRequest{} + this.PackageFile = packageFile + return &this +} + +// NewP2PackageUploadRequestWithDefaults instantiates a new P2PackageUploadRequest object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewP2PackageUploadRequestWithDefaults() *P2PackageUploadRequest { + this := P2PackageUploadRequest{} + return &this +} + +// GetPackageFile returns the PackageFile field value +func (o *P2PackageUploadRequest) GetPackageFile() string { + if o == nil { + var ret string + return ret + } + + return o.PackageFile +} + +// GetPackageFileOk returns a tuple with the PackageFile field value +// and a boolean to check if the value has been set. +func (o *P2PackageUploadRequest) GetPackageFileOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.PackageFile, true +} + +// SetPackageFile sets field value +func (o *P2PackageUploadRequest) SetPackageFile(v string) { + o.PackageFile = v +} + +// GetRepublish returns the Republish field value if set, zero value otherwise. +func (o *P2PackageUploadRequest) GetRepublish() bool { + if o == nil || isNil(o.Republish) { + var ret bool + return ret + } + return *o.Republish +} + +// GetRepublishOk returns a tuple with the Republish field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *P2PackageUploadRequest) GetRepublishOk() (*bool, bool) { + if o == nil || isNil(o.Republish) { + return nil, false + } + return o.Republish, true +} + +// HasRepublish returns a boolean if a field has been set. +func (o *P2PackageUploadRequest) HasRepublish() bool { + if o != nil && !isNil(o.Republish) { + return true + } + + return false +} + +// SetRepublish gets a reference to the given bool and assigns it to the Republish field. +func (o *P2PackageUploadRequest) SetRepublish(v bool) { + o.Republish = &v +} + +// GetTags returns the Tags field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *P2PackageUploadRequest) GetTags() string { + if o == nil || isNil(o.Tags.Get()) { + var ret string + return ret + } + return *o.Tags.Get() +} + +// GetTagsOk returns a tuple with the Tags 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 *P2PackageUploadRequest) GetTagsOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.Tags.Get(), o.Tags.IsSet() +} + +// HasTags returns a boolean if a field has been set. +func (o *P2PackageUploadRequest) HasTags() bool { + if o != nil && o.Tags.IsSet() { + return true + } + + return false +} + +// SetTags gets a reference to the given NullableString and assigns it to the Tags field. +func (o *P2PackageUploadRequest) SetTags(v string) { + o.Tags.Set(&v) +} + +// SetTagsNil sets the value for Tags to be an explicit nil +func (o *P2PackageUploadRequest) SetTagsNil() { + o.Tags.Set(nil) +} + +// UnsetTags ensures that no value is present for Tags, not even an explicit nil +func (o *P2PackageUploadRequest) UnsetTags() { + o.Tags.Unset() +} + +func (o P2PackageUploadRequest) MarshalJSON() ([]byte, error) { + toSerialize := map[string]interface{}{} + if true { + toSerialize["package_file"] = o.PackageFile + } + if !isNil(o.Republish) { + toSerialize["republish"] = o.Republish + } + if o.Tags.IsSet() { + toSerialize["tags"] = o.Tags.Get() + } + return json.Marshal(toSerialize) +} + +type NullableP2PackageUploadRequest struct { + value *P2PackageUploadRequest + isSet bool +} + +func (v NullableP2PackageUploadRequest) Get() *P2PackageUploadRequest { + return v.value +} + +func (v *NullableP2PackageUploadRequest) Set(val *P2PackageUploadRequest) { + v.value = val + v.isSet = true +} + +func (v NullableP2PackageUploadRequest) IsSet() bool { + return v.isSet +} + +func (v *NullableP2PackageUploadRequest) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableP2PackageUploadRequest(val *P2PackageUploadRequest) *NullableP2PackageUploadRequest { + return &NullableP2PackageUploadRequest{value: val, isSet: true} +} + +func (v NullableP2PackageUploadRequest) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableP2PackageUploadRequest) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} diff --git a/model_p2_package_upload_response.go b/model_p2_package_upload_response.go new file mode 100644 index 00000000..54f49b63 --- /dev/null +++ b/model_p2_package_upload_response.go @@ -0,0 +1,2595 @@ +/* +Cloudsmith API (v1) + +The API to the Cloudsmith Service + +API version: 1.181.6 +Contact: support@cloudsmith.io +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cloudsmith + +import ( + "encoding/json" + "time" +) + +// P2PackageUploadResponse struct for P2PackageUploadResponse +type P2PackageUploadResponse struct { + Architectures []Architecture `json:"architectures,omitempty"` + CdnUrl NullableString `json:"cdn_url,omitempty"` + ChecksumMd5 *string `json:"checksum_md5,omitempty"` + ChecksumSha1 *string `json:"checksum_sha1,omitempty"` + ChecksumSha256 *string `json:"checksum_sha256,omitempty"` + ChecksumSha512 *string `json:"checksum_sha512,omitempty"` + // A checksum of all of the package's dependencies. + DependenciesChecksumMd5 *string `json:"dependencies_checksum_md5,omitempty"` + DependenciesUrl *string `json:"dependencies_url,omitempty"` + // A textual description of this package. + Description *string `json:"description,omitempty"` + Distro NullableDistribution `json:"distro,omitempty"` + DistroVersion *DistributionVersion `json:"distro_version,omitempty"` + Downloads *int64 `json:"downloads,omitempty"` + // The epoch of the package version (if any). + Epoch *int64 `json:"epoch,omitempty"` + Extension *string `json:"extension,omitempty"` + Filename *string `json:"filename,omitempty"` + Files []PackageFile `json:"files,omitempty"` + Format *string `json:"format,omitempty"` + FormatUrl *string `json:"format_url,omitempty"` + // Unique and permanent identifier for the package. + IdentifierPerm *string `json:"identifier_perm,omitempty"` + Indexed *bool `json:"indexed,omitempty"` + IsDownloadable *bool `json:"is_downloadable,omitempty"` + IsQuarantined *bool `json:"is_quarantined,omitempty"` + IsSyncAwaiting *bool `json:"is_sync_awaiting,omitempty"` + IsSyncCompleted *bool `json:"is_sync_completed,omitempty"` + IsSyncFailed *bool `json:"is_sync_failed,omitempty"` + IsSyncInFlight *bool `json:"is_sync_in_flight,omitempty"` + IsSyncInProgress *bool `json:"is_sync_in_progress,omitempty"` + // The license of this package. + License *string `json:"license,omitempty"` + // The name of this package. + Name *string `json:"name,omitempty"` + Namespace *string `json:"namespace,omitempty"` + NamespaceUrl *string `json:"namespace_url,omitempty"` + NumFiles *int64 `json:"num_files,omitempty"` + OriginRepository *string `json:"origin_repository,omitempty"` + OriginRepositoryUrl *string `json:"origin_repository_url,omitempty"` + // The type of package contents. + PackageType *int64 `json:"package_type,omitempty"` + // The release of the package version (if any). + Release *string `json:"release,omitempty"` + Repository *string `json:"repository,omitempty"` + RepositoryUrl *string `json:"repository_url,omitempty"` + // The datetime the security scanning was completed. + SecurityScanCompletedAt *time.Time `json:"security_scan_completed_at,omitempty"` + // The datetime the security scanning was started. + SecurityScanStartedAt *time.Time `json:"security_scan_started_at,omitempty"` + SecurityScanStatus NullableString `json:"security_scan_status,omitempty"` + // The datetime the security scanning status was updated. + SecurityScanStatusUpdatedAt *time.Time `json:"security_scan_status_updated_at,omitempty"` + SelfHtmlUrl *string `json:"self_html_url,omitempty"` + SelfUrl *string `json:"self_url,omitempty"` + SignatureUrl NullableString `json:"signature_url,omitempty"` + // The calculated size of the package. + Size *int64 `json:"size,omitempty"` + // The public unique identifier for the package. + Slug *string `json:"slug,omitempty"` + SlugPerm *string `json:"slug_perm,omitempty"` + // The synchronisation (in progress) stage of the package. + Stage *int64 `json:"stage,omitempty"` + StageStr *string `json:"stage_str,omitempty"` + // The datetime the package stage was updated at. + StageUpdatedAt *time.Time `json:"stage_updated_at,omitempty"` + // The synchronisation status of the package. + Status *int64 `json:"status,omitempty"` + // A textual description for the synchronous status reason (if any + StatusReason *string `json:"status_reason,omitempty"` + StatusStr *string `json:"status_str,omitempty"` + // The datetime the package status was updated at. + StatusUpdatedAt *time.Time `json:"status_updated_at,omitempty"` + StatusUrl *string `json:"status_url,omitempty"` + Subtype *string `json:"subtype,omitempty"` + // A one-liner synopsis of this package. + Summary *string `json:"summary,omitempty"` + // The datetime the package sync was finished at. + SyncFinishedAt *time.Time `json:"sync_finished_at,omitempty"` + // Synchronisation progress (from 0-100) + SyncProgress *int64 `json:"sync_progress,omitempty"` + // All tags on the package, grouped by tag type. This includes immutable tags, but doesn't distinguish them from mutable. To see which tags are immutable specifically, see the tags_immutable field. + TagsImmutable map[string]interface{} `json:"tags_immutable,omitempty"` + TypeDisplay *string `json:"type_display,omitempty"` + // The date this package was uploaded. + UploadedAt *time.Time `json:"uploaded_at,omitempty"` + Uploader *string `json:"uploader,omitempty"` + UploaderUrl *string `json:"uploader_url,omitempty"` + // The raw version for this package. + Version *string `json:"version,omitempty"` + VersionOrig *string `json:"version_orig,omitempty"` + VulnerabilityScanResultsUrl *string `json:"vulnerability_scan_results_url,omitempty"` +} + +// NewP2PackageUploadResponse instantiates a new P2PackageUploadResponse object +// 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 NewP2PackageUploadResponse() *P2PackageUploadResponse { + this := P2PackageUploadResponse{} + return &this +} + +// NewP2PackageUploadResponseWithDefaults instantiates a new P2PackageUploadResponse object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewP2PackageUploadResponseWithDefaults() *P2PackageUploadResponse { + this := P2PackageUploadResponse{} + return &this +} + +// GetArchitectures returns the Architectures field value if set, zero value otherwise. +func (o *P2PackageUploadResponse) GetArchitectures() []Architecture { + if o == nil || isNil(o.Architectures) { + var ret []Architecture + return ret + } + return o.Architectures +} + +// GetArchitecturesOk returns a tuple with the Architectures field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *P2PackageUploadResponse) GetArchitecturesOk() ([]Architecture, bool) { + if o == nil || isNil(o.Architectures) { + return nil, false + } + return o.Architectures, true +} + +// HasArchitectures returns a boolean if a field has been set. +func (o *P2PackageUploadResponse) HasArchitectures() bool { + if o != nil && !isNil(o.Architectures) { + return true + } + + return false +} + +// SetArchitectures gets a reference to the given []Architecture and assigns it to the Architectures field. +func (o *P2PackageUploadResponse) SetArchitectures(v []Architecture) { + o.Architectures = v +} + +// GetCdnUrl returns the CdnUrl field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *P2PackageUploadResponse) GetCdnUrl() string { + if o == nil || isNil(o.CdnUrl.Get()) { + var ret string + return ret + } + return *o.CdnUrl.Get() +} + +// GetCdnUrlOk returns a tuple with the CdnUrl 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 *P2PackageUploadResponse) GetCdnUrlOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.CdnUrl.Get(), o.CdnUrl.IsSet() +} + +// HasCdnUrl returns a boolean if a field has been set. +func (o *P2PackageUploadResponse) HasCdnUrl() bool { + if o != nil && o.CdnUrl.IsSet() { + return true + } + + return false +} + +// SetCdnUrl gets a reference to the given NullableString and assigns it to the CdnUrl field. +func (o *P2PackageUploadResponse) SetCdnUrl(v string) { + o.CdnUrl.Set(&v) +} + +// SetCdnUrlNil sets the value for CdnUrl to be an explicit nil +func (o *P2PackageUploadResponse) SetCdnUrlNil() { + o.CdnUrl.Set(nil) +} + +// UnsetCdnUrl ensures that no value is present for CdnUrl, not even an explicit nil +func (o *P2PackageUploadResponse) UnsetCdnUrl() { + o.CdnUrl.Unset() +} + +// GetChecksumMd5 returns the ChecksumMd5 field value if set, zero value otherwise. +func (o *P2PackageUploadResponse) GetChecksumMd5() string { + if o == nil || isNil(o.ChecksumMd5) { + var ret string + return ret + } + return *o.ChecksumMd5 +} + +// GetChecksumMd5Ok returns a tuple with the ChecksumMd5 field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *P2PackageUploadResponse) GetChecksumMd5Ok() (*string, bool) { + if o == nil || isNil(o.ChecksumMd5) { + return nil, false + } + return o.ChecksumMd5, true +} + +// HasChecksumMd5 returns a boolean if a field has been set. +func (o *P2PackageUploadResponse) HasChecksumMd5() bool { + if o != nil && !isNil(o.ChecksumMd5) { + return true + } + + return false +} + +// SetChecksumMd5 gets a reference to the given string and assigns it to the ChecksumMd5 field. +func (o *P2PackageUploadResponse) SetChecksumMd5(v string) { + o.ChecksumMd5 = &v +} + +// GetChecksumSha1 returns the ChecksumSha1 field value if set, zero value otherwise. +func (o *P2PackageUploadResponse) GetChecksumSha1() string { + if o == nil || isNil(o.ChecksumSha1) { + var ret string + return ret + } + return *o.ChecksumSha1 +} + +// GetChecksumSha1Ok returns a tuple with the ChecksumSha1 field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *P2PackageUploadResponse) GetChecksumSha1Ok() (*string, bool) { + if o == nil || isNil(o.ChecksumSha1) { + return nil, false + } + return o.ChecksumSha1, true +} + +// HasChecksumSha1 returns a boolean if a field has been set. +func (o *P2PackageUploadResponse) HasChecksumSha1() bool { + if o != nil && !isNil(o.ChecksumSha1) { + return true + } + + return false +} + +// SetChecksumSha1 gets a reference to the given string and assigns it to the ChecksumSha1 field. +func (o *P2PackageUploadResponse) SetChecksumSha1(v string) { + o.ChecksumSha1 = &v +} + +// GetChecksumSha256 returns the ChecksumSha256 field value if set, zero value otherwise. +func (o *P2PackageUploadResponse) GetChecksumSha256() string { + if o == nil || isNil(o.ChecksumSha256) { + var ret string + return ret + } + return *o.ChecksumSha256 +} + +// GetChecksumSha256Ok returns a tuple with the ChecksumSha256 field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *P2PackageUploadResponse) GetChecksumSha256Ok() (*string, bool) { + if o == nil || isNil(o.ChecksumSha256) { + return nil, false + } + return o.ChecksumSha256, true +} + +// HasChecksumSha256 returns a boolean if a field has been set. +func (o *P2PackageUploadResponse) HasChecksumSha256() bool { + if o != nil && !isNil(o.ChecksumSha256) { + return true + } + + return false +} + +// SetChecksumSha256 gets a reference to the given string and assigns it to the ChecksumSha256 field. +func (o *P2PackageUploadResponse) SetChecksumSha256(v string) { + o.ChecksumSha256 = &v +} + +// GetChecksumSha512 returns the ChecksumSha512 field value if set, zero value otherwise. +func (o *P2PackageUploadResponse) GetChecksumSha512() string { + if o == nil || isNil(o.ChecksumSha512) { + var ret string + return ret + } + return *o.ChecksumSha512 +} + +// GetChecksumSha512Ok returns a tuple with the ChecksumSha512 field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *P2PackageUploadResponse) GetChecksumSha512Ok() (*string, bool) { + if o == nil || isNil(o.ChecksumSha512) { + return nil, false + } + return o.ChecksumSha512, true +} + +// HasChecksumSha512 returns a boolean if a field has been set. +func (o *P2PackageUploadResponse) HasChecksumSha512() bool { + if o != nil && !isNil(o.ChecksumSha512) { + return true + } + + return false +} + +// SetChecksumSha512 gets a reference to the given string and assigns it to the ChecksumSha512 field. +func (o *P2PackageUploadResponse) SetChecksumSha512(v string) { + o.ChecksumSha512 = &v +} + +// GetDependenciesChecksumMd5 returns the DependenciesChecksumMd5 field value if set, zero value otherwise. +func (o *P2PackageUploadResponse) GetDependenciesChecksumMd5() string { + if o == nil || isNil(o.DependenciesChecksumMd5) { + var ret string + return ret + } + return *o.DependenciesChecksumMd5 +} + +// GetDependenciesChecksumMd5Ok returns a tuple with the DependenciesChecksumMd5 field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *P2PackageUploadResponse) GetDependenciesChecksumMd5Ok() (*string, bool) { + if o == nil || isNil(o.DependenciesChecksumMd5) { + return nil, false + } + return o.DependenciesChecksumMd5, true +} + +// HasDependenciesChecksumMd5 returns a boolean if a field has been set. +func (o *P2PackageUploadResponse) HasDependenciesChecksumMd5() bool { + if o != nil && !isNil(o.DependenciesChecksumMd5) { + return true + } + + return false +} + +// SetDependenciesChecksumMd5 gets a reference to the given string and assigns it to the DependenciesChecksumMd5 field. +func (o *P2PackageUploadResponse) SetDependenciesChecksumMd5(v string) { + o.DependenciesChecksumMd5 = &v +} + +// GetDependenciesUrl returns the DependenciesUrl field value if set, zero value otherwise. +func (o *P2PackageUploadResponse) GetDependenciesUrl() string { + if o == nil || isNil(o.DependenciesUrl) { + var ret string + return ret + } + return *o.DependenciesUrl +} + +// GetDependenciesUrlOk returns a tuple with the DependenciesUrl field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *P2PackageUploadResponse) GetDependenciesUrlOk() (*string, bool) { + if o == nil || isNil(o.DependenciesUrl) { + return nil, false + } + return o.DependenciesUrl, true +} + +// HasDependenciesUrl returns a boolean if a field has been set. +func (o *P2PackageUploadResponse) HasDependenciesUrl() bool { + if o != nil && !isNil(o.DependenciesUrl) { + return true + } + + return false +} + +// SetDependenciesUrl gets a reference to the given string and assigns it to the DependenciesUrl field. +func (o *P2PackageUploadResponse) SetDependenciesUrl(v string) { + o.DependenciesUrl = &v +} + +// GetDescription returns the Description field value if set, zero value otherwise. +func (o *P2PackageUploadResponse) GetDescription() string { + if o == nil || isNil(o.Description) { + var ret string + return ret + } + return *o.Description +} + +// GetDescriptionOk returns a tuple with the Description field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *P2PackageUploadResponse) GetDescriptionOk() (*string, bool) { + if o == nil || isNil(o.Description) { + return nil, false + } + return o.Description, true +} + +// HasDescription returns a boolean if a field has been set. +func (o *P2PackageUploadResponse) HasDescription() bool { + if o != nil && !isNil(o.Description) { + return true + } + + return false +} + +// SetDescription gets a reference to the given string and assigns it to the Description field. +func (o *P2PackageUploadResponse) SetDescription(v string) { + o.Description = &v +} + +// GetDistro returns the Distro field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *P2PackageUploadResponse) GetDistro() Distribution { + if o == nil || isNil(o.Distro.Get()) { + var ret Distribution + return ret + } + return *o.Distro.Get() +} + +// GetDistroOk returns a tuple with the Distro 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 *P2PackageUploadResponse) GetDistroOk() (*Distribution, bool) { + if o == nil { + return nil, false + } + return o.Distro.Get(), o.Distro.IsSet() +} + +// HasDistro returns a boolean if a field has been set. +func (o *P2PackageUploadResponse) HasDistro() bool { + if o != nil && o.Distro.IsSet() { + return true + } + + return false +} + +// SetDistro gets a reference to the given NullableDistribution and assigns it to the Distro field. +func (o *P2PackageUploadResponse) SetDistro(v Distribution) { + o.Distro.Set(&v) +} + +// SetDistroNil sets the value for Distro to be an explicit nil +func (o *P2PackageUploadResponse) SetDistroNil() { + o.Distro.Set(nil) +} + +// UnsetDistro ensures that no value is present for Distro, not even an explicit nil +func (o *P2PackageUploadResponse) UnsetDistro() { + o.Distro.Unset() +} + +// GetDistroVersion returns the DistroVersion field value if set, zero value otherwise. +func (o *P2PackageUploadResponse) GetDistroVersion() DistributionVersion { + if o == nil || isNil(o.DistroVersion) { + var ret DistributionVersion + return ret + } + return *o.DistroVersion +} + +// GetDistroVersionOk returns a tuple with the DistroVersion field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *P2PackageUploadResponse) GetDistroVersionOk() (*DistributionVersion, bool) { + if o == nil || isNil(o.DistroVersion) { + return nil, false + } + return o.DistroVersion, true +} + +// HasDistroVersion returns a boolean if a field has been set. +func (o *P2PackageUploadResponse) HasDistroVersion() bool { + if o != nil && !isNil(o.DistroVersion) { + return true + } + + return false +} + +// SetDistroVersion gets a reference to the given DistributionVersion and assigns it to the DistroVersion field. +func (o *P2PackageUploadResponse) SetDistroVersion(v DistributionVersion) { + o.DistroVersion = &v +} + +// GetDownloads returns the Downloads field value if set, zero value otherwise. +func (o *P2PackageUploadResponse) GetDownloads() int64 { + if o == nil || isNil(o.Downloads) { + var ret int64 + return ret + } + return *o.Downloads +} + +// GetDownloadsOk returns a tuple with the Downloads field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *P2PackageUploadResponse) GetDownloadsOk() (*int64, bool) { + if o == nil || isNil(o.Downloads) { + return nil, false + } + return o.Downloads, true +} + +// HasDownloads returns a boolean if a field has been set. +func (o *P2PackageUploadResponse) HasDownloads() bool { + if o != nil && !isNil(o.Downloads) { + return true + } + + return false +} + +// SetDownloads gets a reference to the given int64 and assigns it to the Downloads field. +func (o *P2PackageUploadResponse) SetDownloads(v int64) { + o.Downloads = &v +} + +// GetEpoch returns the Epoch field value if set, zero value otherwise. +func (o *P2PackageUploadResponse) GetEpoch() int64 { + if o == nil || isNil(o.Epoch) { + var ret int64 + return ret + } + return *o.Epoch +} + +// GetEpochOk returns a tuple with the Epoch field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *P2PackageUploadResponse) GetEpochOk() (*int64, bool) { + if o == nil || isNil(o.Epoch) { + return nil, false + } + return o.Epoch, true +} + +// HasEpoch returns a boolean if a field has been set. +func (o *P2PackageUploadResponse) HasEpoch() bool { + if o != nil && !isNil(o.Epoch) { + return true + } + + return false +} + +// SetEpoch gets a reference to the given int64 and assigns it to the Epoch field. +func (o *P2PackageUploadResponse) SetEpoch(v int64) { + o.Epoch = &v +} + +// GetExtension returns the Extension field value if set, zero value otherwise. +func (o *P2PackageUploadResponse) GetExtension() string { + if o == nil || isNil(o.Extension) { + var ret string + return ret + } + return *o.Extension +} + +// GetExtensionOk returns a tuple with the Extension field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *P2PackageUploadResponse) GetExtensionOk() (*string, bool) { + if o == nil || isNil(o.Extension) { + return nil, false + } + return o.Extension, true +} + +// HasExtension returns a boolean if a field has been set. +func (o *P2PackageUploadResponse) HasExtension() bool { + if o != nil && !isNil(o.Extension) { + return true + } + + return false +} + +// SetExtension gets a reference to the given string and assigns it to the Extension field. +func (o *P2PackageUploadResponse) SetExtension(v string) { + o.Extension = &v +} + +// GetFilename returns the Filename field value if set, zero value otherwise. +func (o *P2PackageUploadResponse) GetFilename() string { + if o == nil || isNil(o.Filename) { + var ret string + return ret + } + return *o.Filename +} + +// GetFilenameOk returns a tuple with the Filename field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *P2PackageUploadResponse) GetFilenameOk() (*string, bool) { + if o == nil || isNil(o.Filename) { + return nil, false + } + return o.Filename, true +} + +// HasFilename returns a boolean if a field has been set. +func (o *P2PackageUploadResponse) HasFilename() bool { + if o != nil && !isNil(o.Filename) { + return true + } + + return false +} + +// SetFilename gets a reference to the given string and assigns it to the Filename field. +func (o *P2PackageUploadResponse) SetFilename(v string) { + o.Filename = &v +} + +// GetFiles returns the Files field value if set, zero value otherwise. +func (o *P2PackageUploadResponse) GetFiles() []PackageFile { + if o == nil || isNil(o.Files) { + var ret []PackageFile + return ret + } + return o.Files +} + +// GetFilesOk returns a tuple with the Files field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *P2PackageUploadResponse) GetFilesOk() ([]PackageFile, bool) { + if o == nil || isNil(o.Files) { + return nil, false + } + return o.Files, true +} + +// HasFiles returns a boolean if a field has been set. +func (o *P2PackageUploadResponse) HasFiles() bool { + if o != nil && !isNil(o.Files) { + return true + } + + return false +} + +// SetFiles gets a reference to the given []PackageFile and assigns it to the Files field. +func (o *P2PackageUploadResponse) SetFiles(v []PackageFile) { + o.Files = v +} + +// GetFormat returns the Format field value if set, zero value otherwise. +func (o *P2PackageUploadResponse) GetFormat() string { + if o == nil || isNil(o.Format) { + var ret string + return ret + } + return *o.Format +} + +// GetFormatOk returns a tuple with the Format field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *P2PackageUploadResponse) GetFormatOk() (*string, bool) { + if o == nil || isNil(o.Format) { + return nil, false + } + return o.Format, true +} + +// HasFormat returns a boolean if a field has been set. +func (o *P2PackageUploadResponse) HasFormat() bool { + if o != nil && !isNil(o.Format) { + return true + } + + return false +} + +// SetFormat gets a reference to the given string and assigns it to the Format field. +func (o *P2PackageUploadResponse) SetFormat(v string) { + o.Format = &v +} + +// GetFormatUrl returns the FormatUrl field value if set, zero value otherwise. +func (o *P2PackageUploadResponse) GetFormatUrl() string { + if o == nil || isNil(o.FormatUrl) { + var ret string + return ret + } + return *o.FormatUrl +} + +// GetFormatUrlOk returns a tuple with the FormatUrl field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *P2PackageUploadResponse) GetFormatUrlOk() (*string, bool) { + if o == nil || isNil(o.FormatUrl) { + return nil, false + } + return o.FormatUrl, true +} + +// HasFormatUrl returns a boolean if a field has been set. +func (o *P2PackageUploadResponse) HasFormatUrl() bool { + if o != nil && !isNil(o.FormatUrl) { + return true + } + + return false +} + +// SetFormatUrl gets a reference to the given string and assigns it to the FormatUrl field. +func (o *P2PackageUploadResponse) SetFormatUrl(v string) { + o.FormatUrl = &v +} + +// GetIdentifierPerm returns the IdentifierPerm field value if set, zero value otherwise. +func (o *P2PackageUploadResponse) GetIdentifierPerm() string { + if o == nil || isNil(o.IdentifierPerm) { + var ret string + return ret + } + return *o.IdentifierPerm +} + +// GetIdentifierPermOk returns a tuple with the IdentifierPerm field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *P2PackageUploadResponse) GetIdentifierPermOk() (*string, bool) { + if o == nil || isNil(o.IdentifierPerm) { + return nil, false + } + return o.IdentifierPerm, true +} + +// HasIdentifierPerm returns a boolean if a field has been set. +func (o *P2PackageUploadResponse) HasIdentifierPerm() bool { + if o != nil && !isNil(o.IdentifierPerm) { + return true + } + + return false +} + +// SetIdentifierPerm gets a reference to the given string and assigns it to the IdentifierPerm field. +func (o *P2PackageUploadResponse) SetIdentifierPerm(v string) { + o.IdentifierPerm = &v +} + +// GetIndexed returns the Indexed field value if set, zero value otherwise. +func (o *P2PackageUploadResponse) GetIndexed() bool { + if o == nil || isNil(o.Indexed) { + var ret bool + return ret + } + return *o.Indexed +} + +// GetIndexedOk returns a tuple with the Indexed field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *P2PackageUploadResponse) GetIndexedOk() (*bool, bool) { + if o == nil || isNil(o.Indexed) { + return nil, false + } + return o.Indexed, true +} + +// HasIndexed returns a boolean if a field has been set. +func (o *P2PackageUploadResponse) HasIndexed() bool { + if o != nil && !isNil(o.Indexed) { + return true + } + + return false +} + +// SetIndexed gets a reference to the given bool and assigns it to the Indexed field. +func (o *P2PackageUploadResponse) SetIndexed(v bool) { + o.Indexed = &v +} + +// GetIsDownloadable returns the IsDownloadable field value if set, zero value otherwise. +func (o *P2PackageUploadResponse) GetIsDownloadable() bool { + if o == nil || isNil(o.IsDownloadable) { + var ret bool + return ret + } + return *o.IsDownloadable +} + +// GetIsDownloadableOk returns a tuple with the IsDownloadable field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *P2PackageUploadResponse) GetIsDownloadableOk() (*bool, bool) { + if o == nil || isNil(o.IsDownloadable) { + return nil, false + } + return o.IsDownloadable, true +} + +// HasIsDownloadable returns a boolean if a field has been set. +func (o *P2PackageUploadResponse) HasIsDownloadable() bool { + if o != nil && !isNil(o.IsDownloadable) { + return true + } + + return false +} + +// SetIsDownloadable gets a reference to the given bool and assigns it to the IsDownloadable field. +func (o *P2PackageUploadResponse) SetIsDownloadable(v bool) { + o.IsDownloadable = &v +} + +// GetIsQuarantined returns the IsQuarantined field value if set, zero value otherwise. +func (o *P2PackageUploadResponse) GetIsQuarantined() bool { + if o == nil || isNil(o.IsQuarantined) { + var ret bool + return ret + } + return *o.IsQuarantined +} + +// GetIsQuarantinedOk returns a tuple with the IsQuarantined field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *P2PackageUploadResponse) GetIsQuarantinedOk() (*bool, bool) { + if o == nil || isNil(o.IsQuarantined) { + return nil, false + } + return o.IsQuarantined, true +} + +// HasIsQuarantined returns a boolean if a field has been set. +func (o *P2PackageUploadResponse) HasIsQuarantined() bool { + if o != nil && !isNil(o.IsQuarantined) { + return true + } + + return false +} + +// SetIsQuarantined gets a reference to the given bool and assigns it to the IsQuarantined field. +func (o *P2PackageUploadResponse) SetIsQuarantined(v bool) { + o.IsQuarantined = &v +} + +// GetIsSyncAwaiting returns the IsSyncAwaiting field value if set, zero value otherwise. +func (o *P2PackageUploadResponse) GetIsSyncAwaiting() bool { + if o == nil || isNil(o.IsSyncAwaiting) { + var ret bool + return ret + } + return *o.IsSyncAwaiting +} + +// GetIsSyncAwaitingOk returns a tuple with the IsSyncAwaiting field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *P2PackageUploadResponse) GetIsSyncAwaitingOk() (*bool, bool) { + if o == nil || isNil(o.IsSyncAwaiting) { + return nil, false + } + return o.IsSyncAwaiting, true +} + +// HasIsSyncAwaiting returns a boolean if a field has been set. +func (o *P2PackageUploadResponse) HasIsSyncAwaiting() bool { + if o != nil && !isNil(o.IsSyncAwaiting) { + return true + } + + return false +} + +// SetIsSyncAwaiting gets a reference to the given bool and assigns it to the IsSyncAwaiting field. +func (o *P2PackageUploadResponse) SetIsSyncAwaiting(v bool) { + o.IsSyncAwaiting = &v +} + +// GetIsSyncCompleted returns the IsSyncCompleted field value if set, zero value otherwise. +func (o *P2PackageUploadResponse) GetIsSyncCompleted() bool { + if o == nil || isNil(o.IsSyncCompleted) { + var ret bool + return ret + } + return *o.IsSyncCompleted +} + +// GetIsSyncCompletedOk returns a tuple with the IsSyncCompleted field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *P2PackageUploadResponse) GetIsSyncCompletedOk() (*bool, bool) { + if o == nil || isNil(o.IsSyncCompleted) { + return nil, false + } + return o.IsSyncCompleted, true +} + +// HasIsSyncCompleted returns a boolean if a field has been set. +func (o *P2PackageUploadResponse) HasIsSyncCompleted() bool { + if o != nil && !isNil(o.IsSyncCompleted) { + return true + } + + return false +} + +// SetIsSyncCompleted gets a reference to the given bool and assigns it to the IsSyncCompleted field. +func (o *P2PackageUploadResponse) SetIsSyncCompleted(v bool) { + o.IsSyncCompleted = &v +} + +// GetIsSyncFailed returns the IsSyncFailed field value if set, zero value otherwise. +func (o *P2PackageUploadResponse) GetIsSyncFailed() bool { + if o == nil || isNil(o.IsSyncFailed) { + var ret bool + return ret + } + return *o.IsSyncFailed +} + +// GetIsSyncFailedOk returns a tuple with the IsSyncFailed field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *P2PackageUploadResponse) GetIsSyncFailedOk() (*bool, bool) { + if o == nil || isNil(o.IsSyncFailed) { + return nil, false + } + return o.IsSyncFailed, true +} + +// HasIsSyncFailed returns a boolean if a field has been set. +func (o *P2PackageUploadResponse) HasIsSyncFailed() bool { + if o != nil && !isNil(o.IsSyncFailed) { + return true + } + + return false +} + +// SetIsSyncFailed gets a reference to the given bool and assigns it to the IsSyncFailed field. +func (o *P2PackageUploadResponse) SetIsSyncFailed(v bool) { + o.IsSyncFailed = &v +} + +// GetIsSyncInFlight returns the IsSyncInFlight field value if set, zero value otherwise. +func (o *P2PackageUploadResponse) GetIsSyncInFlight() bool { + if o == nil || isNil(o.IsSyncInFlight) { + var ret bool + return ret + } + return *o.IsSyncInFlight +} + +// GetIsSyncInFlightOk returns a tuple with the IsSyncInFlight field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *P2PackageUploadResponse) GetIsSyncInFlightOk() (*bool, bool) { + if o == nil || isNil(o.IsSyncInFlight) { + return nil, false + } + return o.IsSyncInFlight, true +} + +// HasIsSyncInFlight returns a boolean if a field has been set. +func (o *P2PackageUploadResponse) HasIsSyncInFlight() bool { + if o != nil && !isNil(o.IsSyncInFlight) { + return true + } + + return false +} + +// SetIsSyncInFlight gets a reference to the given bool and assigns it to the IsSyncInFlight field. +func (o *P2PackageUploadResponse) SetIsSyncInFlight(v bool) { + o.IsSyncInFlight = &v +} + +// GetIsSyncInProgress returns the IsSyncInProgress field value if set, zero value otherwise. +func (o *P2PackageUploadResponse) GetIsSyncInProgress() bool { + if o == nil || isNil(o.IsSyncInProgress) { + var ret bool + return ret + } + return *o.IsSyncInProgress +} + +// GetIsSyncInProgressOk returns a tuple with the IsSyncInProgress field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *P2PackageUploadResponse) GetIsSyncInProgressOk() (*bool, bool) { + if o == nil || isNil(o.IsSyncInProgress) { + return nil, false + } + return o.IsSyncInProgress, true +} + +// HasIsSyncInProgress returns a boolean if a field has been set. +func (o *P2PackageUploadResponse) HasIsSyncInProgress() bool { + if o != nil && !isNil(o.IsSyncInProgress) { + return true + } + + return false +} + +// SetIsSyncInProgress gets a reference to the given bool and assigns it to the IsSyncInProgress field. +func (o *P2PackageUploadResponse) SetIsSyncInProgress(v bool) { + o.IsSyncInProgress = &v +} + +// GetLicense returns the License field value if set, zero value otherwise. +func (o *P2PackageUploadResponse) GetLicense() string { + if o == nil || isNil(o.License) { + var ret string + return ret + } + return *o.License +} + +// GetLicenseOk returns a tuple with the License field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *P2PackageUploadResponse) GetLicenseOk() (*string, bool) { + if o == nil || isNil(o.License) { + return nil, false + } + return o.License, true +} + +// HasLicense returns a boolean if a field has been set. +func (o *P2PackageUploadResponse) HasLicense() bool { + if o != nil && !isNil(o.License) { + return true + } + + return false +} + +// SetLicense gets a reference to the given string and assigns it to the License field. +func (o *P2PackageUploadResponse) SetLicense(v string) { + o.License = &v +} + +// GetName returns the Name field value if set, zero value otherwise. +func (o *P2PackageUploadResponse) GetName() string { + if o == nil || isNil(o.Name) { + var ret string + return ret + } + return *o.Name +} + +// GetNameOk returns a tuple with the Name field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *P2PackageUploadResponse) GetNameOk() (*string, bool) { + if o == nil || isNil(o.Name) { + return nil, false + } + return o.Name, true +} + +// HasName returns a boolean if a field has been set. +func (o *P2PackageUploadResponse) HasName() bool { + if o != nil && !isNil(o.Name) { + return true + } + + return false +} + +// SetName gets a reference to the given string and assigns it to the Name field. +func (o *P2PackageUploadResponse) SetName(v string) { + o.Name = &v +} + +// GetNamespace returns the Namespace field value if set, zero value otherwise. +func (o *P2PackageUploadResponse) GetNamespace() string { + if o == nil || isNil(o.Namespace) { + var ret string + return ret + } + return *o.Namespace +} + +// GetNamespaceOk returns a tuple with the Namespace field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *P2PackageUploadResponse) GetNamespaceOk() (*string, bool) { + if o == nil || isNil(o.Namespace) { + return nil, false + } + return o.Namespace, true +} + +// HasNamespace returns a boolean if a field has been set. +func (o *P2PackageUploadResponse) HasNamespace() bool { + if o != nil && !isNil(o.Namespace) { + return true + } + + return false +} + +// SetNamespace gets a reference to the given string and assigns it to the Namespace field. +func (o *P2PackageUploadResponse) SetNamespace(v string) { + o.Namespace = &v +} + +// GetNamespaceUrl returns the NamespaceUrl field value if set, zero value otherwise. +func (o *P2PackageUploadResponse) GetNamespaceUrl() string { + if o == nil || isNil(o.NamespaceUrl) { + var ret string + return ret + } + return *o.NamespaceUrl +} + +// GetNamespaceUrlOk returns a tuple with the NamespaceUrl field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *P2PackageUploadResponse) GetNamespaceUrlOk() (*string, bool) { + if o == nil || isNil(o.NamespaceUrl) { + return nil, false + } + return o.NamespaceUrl, true +} + +// HasNamespaceUrl returns a boolean if a field has been set. +func (o *P2PackageUploadResponse) HasNamespaceUrl() bool { + if o != nil && !isNil(o.NamespaceUrl) { + return true + } + + return false +} + +// SetNamespaceUrl gets a reference to the given string and assigns it to the NamespaceUrl field. +func (o *P2PackageUploadResponse) SetNamespaceUrl(v string) { + o.NamespaceUrl = &v +} + +// GetNumFiles returns the NumFiles field value if set, zero value otherwise. +func (o *P2PackageUploadResponse) GetNumFiles() int64 { + if o == nil || isNil(o.NumFiles) { + var ret int64 + return ret + } + return *o.NumFiles +} + +// GetNumFilesOk returns a tuple with the NumFiles field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *P2PackageUploadResponse) GetNumFilesOk() (*int64, bool) { + if o == nil || isNil(o.NumFiles) { + return nil, false + } + return o.NumFiles, true +} + +// HasNumFiles returns a boolean if a field has been set. +func (o *P2PackageUploadResponse) HasNumFiles() bool { + if o != nil && !isNil(o.NumFiles) { + return true + } + + return false +} + +// SetNumFiles gets a reference to the given int64 and assigns it to the NumFiles field. +func (o *P2PackageUploadResponse) SetNumFiles(v int64) { + o.NumFiles = &v +} + +// GetOriginRepository returns the OriginRepository field value if set, zero value otherwise. +func (o *P2PackageUploadResponse) GetOriginRepository() string { + if o == nil || isNil(o.OriginRepository) { + var ret string + return ret + } + return *o.OriginRepository +} + +// GetOriginRepositoryOk returns a tuple with the OriginRepository field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *P2PackageUploadResponse) GetOriginRepositoryOk() (*string, bool) { + if o == nil || isNil(o.OriginRepository) { + return nil, false + } + return o.OriginRepository, true +} + +// HasOriginRepository returns a boolean if a field has been set. +func (o *P2PackageUploadResponse) HasOriginRepository() bool { + if o != nil && !isNil(o.OriginRepository) { + return true + } + + return false +} + +// SetOriginRepository gets a reference to the given string and assigns it to the OriginRepository field. +func (o *P2PackageUploadResponse) SetOriginRepository(v string) { + o.OriginRepository = &v +} + +// GetOriginRepositoryUrl returns the OriginRepositoryUrl field value if set, zero value otherwise. +func (o *P2PackageUploadResponse) GetOriginRepositoryUrl() string { + if o == nil || isNil(o.OriginRepositoryUrl) { + var ret string + return ret + } + return *o.OriginRepositoryUrl +} + +// GetOriginRepositoryUrlOk returns a tuple with the OriginRepositoryUrl field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *P2PackageUploadResponse) GetOriginRepositoryUrlOk() (*string, bool) { + if o == nil || isNil(o.OriginRepositoryUrl) { + return nil, false + } + return o.OriginRepositoryUrl, true +} + +// HasOriginRepositoryUrl returns a boolean if a field has been set. +func (o *P2PackageUploadResponse) HasOriginRepositoryUrl() bool { + if o != nil && !isNil(o.OriginRepositoryUrl) { + return true + } + + return false +} + +// SetOriginRepositoryUrl gets a reference to the given string and assigns it to the OriginRepositoryUrl field. +func (o *P2PackageUploadResponse) SetOriginRepositoryUrl(v string) { + o.OriginRepositoryUrl = &v +} + +// GetPackageType returns the PackageType field value if set, zero value otherwise. +func (o *P2PackageUploadResponse) GetPackageType() int64 { + if o == nil || isNil(o.PackageType) { + var ret int64 + return ret + } + return *o.PackageType +} + +// GetPackageTypeOk returns a tuple with the PackageType field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *P2PackageUploadResponse) GetPackageTypeOk() (*int64, bool) { + if o == nil || isNil(o.PackageType) { + return nil, false + } + return o.PackageType, true +} + +// HasPackageType returns a boolean if a field has been set. +func (o *P2PackageUploadResponse) HasPackageType() bool { + if o != nil && !isNil(o.PackageType) { + return true + } + + return false +} + +// SetPackageType gets a reference to the given int64 and assigns it to the PackageType field. +func (o *P2PackageUploadResponse) SetPackageType(v int64) { + o.PackageType = &v +} + +// GetRelease returns the Release field value if set, zero value otherwise. +func (o *P2PackageUploadResponse) GetRelease() string { + if o == nil || isNil(o.Release) { + var ret string + return ret + } + return *o.Release +} + +// GetReleaseOk returns a tuple with the Release field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *P2PackageUploadResponse) GetReleaseOk() (*string, bool) { + if o == nil || isNil(o.Release) { + return nil, false + } + return o.Release, true +} + +// HasRelease returns a boolean if a field has been set. +func (o *P2PackageUploadResponse) HasRelease() bool { + if o != nil && !isNil(o.Release) { + return true + } + + return false +} + +// SetRelease gets a reference to the given string and assigns it to the Release field. +func (o *P2PackageUploadResponse) SetRelease(v string) { + o.Release = &v +} + +// GetRepository returns the Repository field value if set, zero value otherwise. +func (o *P2PackageUploadResponse) GetRepository() string { + if o == nil || isNil(o.Repository) { + var ret string + return ret + } + return *o.Repository +} + +// GetRepositoryOk returns a tuple with the Repository field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *P2PackageUploadResponse) GetRepositoryOk() (*string, bool) { + if o == nil || isNil(o.Repository) { + return nil, false + } + return o.Repository, true +} + +// HasRepository returns a boolean if a field has been set. +func (o *P2PackageUploadResponse) HasRepository() bool { + if o != nil && !isNil(o.Repository) { + return true + } + + return false +} + +// SetRepository gets a reference to the given string and assigns it to the Repository field. +func (o *P2PackageUploadResponse) SetRepository(v string) { + o.Repository = &v +} + +// GetRepositoryUrl returns the RepositoryUrl field value if set, zero value otherwise. +func (o *P2PackageUploadResponse) GetRepositoryUrl() string { + if o == nil || isNil(o.RepositoryUrl) { + var ret string + return ret + } + return *o.RepositoryUrl +} + +// GetRepositoryUrlOk returns a tuple with the RepositoryUrl field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *P2PackageUploadResponse) GetRepositoryUrlOk() (*string, bool) { + if o == nil || isNil(o.RepositoryUrl) { + return nil, false + } + return o.RepositoryUrl, true +} + +// HasRepositoryUrl returns a boolean if a field has been set. +func (o *P2PackageUploadResponse) HasRepositoryUrl() bool { + if o != nil && !isNil(o.RepositoryUrl) { + return true + } + + return false +} + +// SetRepositoryUrl gets a reference to the given string and assigns it to the RepositoryUrl field. +func (o *P2PackageUploadResponse) SetRepositoryUrl(v string) { + o.RepositoryUrl = &v +} + +// GetSecurityScanCompletedAt returns the SecurityScanCompletedAt field value if set, zero value otherwise. +func (o *P2PackageUploadResponse) GetSecurityScanCompletedAt() time.Time { + if o == nil || isNil(o.SecurityScanCompletedAt) { + var ret time.Time + return ret + } + return *o.SecurityScanCompletedAt +} + +// GetSecurityScanCompletedAtOk returns a tuple with the SecurityScanCompletedAt field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *P2PackageUploadResponse) GetSecurityScanCompletedAtOk() (*time.Time, bool) { + if o == nil || isNil(o.SecurityScanCompletedAt) { + return nil, false + } + return o.SecurityScanCompletedAt, true +} + +// HasSecurityScanCompletedAt returns a boolean if a field has been set. +func (o *P2PackageUploadResponse) HasSecurityScanCompletedAt() bool { + if o != nil && !isNil(o.SecurityScanCompletedAt) { + return true + } + + return false +} + +// SetSecurityScanCompletedAt gets a reference to the given time.Time and assigns it to the SecurityScanCompletedAt field. +func (o *P2PackageUploadResponse) SetSecurityScanCompletedAt(v time.Time) { + o.SecurityScanCompletedAt = &v +} + +// GetSecurityScanStartedAt returns the SecurityScanStartedAt field value if set, zero value otherwise. +func (o *P2PackageUploadResponse) GetSecurityScanStartedAt() time.Time { + if o == nil || isNil(o.SecurityScanStartedAt) { + var ret time.Time + return ret + } + return *o.SecurityScanStartedAt +} + +// GetSecurityScanStartedAtOk returns a tuple with the SecurityScanStartedAt field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *P2PackageUploadResponse) GetSecurityScanStartedAtOk() (*time.Time, bool) { + if o == nil || isNil(o.SecurityScanStartedAt) { + return nil, false + } + return o.SecurityScanStartedAt, true +} + +// HasSecurityScanStartedAt returns a boolean if a field has been set. +func (o *P2PackageUploadResponse) HasSecurityScanStartedAt() bool { + if o != nil && !isNil(o.SecurityScanStartedAt) { + return true + } + + return false +} + +// SetSecurityScanStartedAt gets a reference to the given time.Time and assigns it to the SecurityScanStartedAt field. +func (o *P2PackageUploadResponse) SetSecurityScanStartedAt(v time.Time) { + o.SecurityScanStartedAt = &v +} + +// GetSecurityScanStatus returns the SecurityScanStatus field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *P2PackageUploadResponse) GetSecurityScanStatus() string { + if o == nil || isNil(o.SecurityScanStatus.Get()) { + var ret string + return ret + } + return *o.SecurityScanStatus.Get() +} + +// GetSecurityScanStatusOk returns a tuple with the SecurityScanStatus 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 *P2PackageUploadResponse) GetSecurityScanStatusOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.SecurityScanStatus.Get(), o.SecurityScanStatus.IsSet() +} + +// HasSecurityScanStatus returns a boolean if a field has been set. +func (o *P2PackageUploadResponse) HasSecurityScanStatus() bool { + if o != nil && o.SecurityScanStatus.IsSet() { + return true + } + + return false +} + +// SetSecurityScanStatus gets a reference to the given NullableString and assigns it to the SecurityScanStatus field. +func (o *P2PackageUploadResponse) SetSecurityScanStatus(v string) { + o.SecurityScanStatus.Set(&v) +} + +// SetSecurityScanStatusNil sets the value for SecurityScanStatus to be an explicit nil +func (o *P2PackageUploadResponse) SetSecurityScanStatusNil() { + o.SecurityScanStatus.Set(nil) +} + +// UnsetSecurityScanStatus ensures that no value is present for SecurityScanStatus, not even an explicit nil +func (o *P2PackageUploadResponse) UnsetSecurityScanStatus() { + o.SecurityScanStatus.Unset() +} + +// GetSecurityScanStatusUpdatedAt returns the SecurityScanStatusUpdatedAt field value if set, zero value otherwise. +func (o *P2PackageUploadResponse) GetSecurityScanStatusUpdatedAt() time.Time { + if o == nil || isNil(o.SecurityScanStatusUpdatedAt) { + var ret time.Time + return ret + } + return *o.SecurityScanStatusUpdatedAt +} + +// GetSecurityScanStatusUpdatedAtOk returns a tuple with the SecurityScanStatusUpdatedAt field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *P2PackageUploadResponse) GetSecurityScanStatusUpdatedAtOk() (*time.Time, bool) { + if o == nil || isNil(o.SecurityScanStatusUpdatedAt) { + return nil, false + } + return o.SecurityScanStatusUpdatedAt, true +} + +// HasSecurityScanStatusUpdatedAt returns a boolean if a field has been set. +func (o *P2PackageUploadResponse) HasSecurityScanStatusUpdatedAt() bool { + if o != nil && !isNil(o.SecurityScanStatusUpdatedAt) { + return true + } + + return false +} + +// SetSecurityScanStatusUpdatedAt gets a reference to the given time.Time and assigns it to the SecurityScanStatusUpdatedAt field. +func (o *P2PackageUploadResponse) SetSecurityScanStatusUpdatedAt(v time.Time) { + o.SecurityScanStatusUpdatedAt = &v +} + +// GetSelfHtmlUrl returns the SelfHtmlUrl field value if set, zero value otherwise. +func (o *P2PackageUploadResponse) GetSelfHtmlUrl() string { + if o == nil || isNil(o.SelfHtmlUrl) { + var ret string + return ret + } + return *o.SelfHtmlUrl +} + +// GetSelfHtmlUrlOk returns a tuple with the SelfHtmlUrl field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *P2PackageUploadResponse) GetSelfHtmlUrlOk() (*string, bool) { + if o == nil || isNil(o.SelfHtmlUrl) { + return nil, false + } + return o.SelfHtmlUrl, true +} + +// HasSelfHtmlUrl returns a boolean if a field has been set. +func (o *P2PackageUploadResponse) HasSelfHtmlUrl() bool { + if o != nil && !isNil(o.SelfHtmlUrl) { + return true + } + + return false +} + +// SetSelfHtmlUrl gets a reference to the given string and assigns it to the SelfHtmlUrl field. +func (o *P2PackageUploadResponse) SetSelfHtmlUrl(v string) { + o.SelfHtmlUrl = &v +} + +// GetSelfUrl returns the SelfUrl field value if set, zero value otherwise. +func (o *P2PackageUploadResponse) GetSelfUrl() string { + if o == nil || isNil(o.SelfUrl) { + var ret string + return ret + } + return *o.SelfUrl +} + +// GetSelfUrlOk returns a tuple with the SelfUrl field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *P2PackageUploadResponse) GetSelfUrlOk() (*string, bool) { + if o == nil || isNil(o.SelfUrl) { + return nil, false + } + return o.SelfUrl, true +} + +// HasSelfUrl returns a boolean if a field has been set. +func (o *P2PackageUploadResponse) HasSelfUrl() bool { + if o != nil && !isNil(o.SelfUrl) { + return true + } + + return false +} + +// SetSelfUrl gets a reference to the given string and assigns it to the SelfUrl field. +func (o *P2PackageUploadResponse) SetSelfUrl(v string) { + o.SelfUrl = &v +} + +// GetSignatureUrl returns the SignatureUrl field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *P2PackageUploadResponse) GetSignatureUrl() string { + if o == nil || isNil(o.SignatureUrl.Get()) { + var ret string + return ret + } + return *o.SignatureUrl.Get() +} + +// GetSignatureUrlOk returns a tuple with the SignatureUrl 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 *P2PackageUploadResponse) GetSignatureUrlOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.SignatureUrl.Get(), o.SignatureUrl.IsSet() +} + +// HasSignatureUrl returns a boolean if a field has been set. +func (o *P2PackageUploadResponse) HasSignatureUrl() bool { + if o != nil && o.SignatureUrl.IsSet() { + return true + } + + return false +} + +// SetSignatureUrl gets a reference to the given NullableString and assigns it to the SignatureUrl field. +func (o *P2PackageUploadResponse) SetSignatureUrl(v string) { + o.SignatureUrl.Set(&v) +} + +// SetSignatureUrlNil sets the value for SignatureUrl to be an explicit nil +func (o *P2PackageUploadResponse) SetSignatureUrlNil() { + o.SignatureUrl.Set(nil) +} + +// UnsetSignatureUrl ensures that no value is present for SignatureUrl, not even an explicit nil +func (o *P2PackageUploadResponse) UnsetSignatureUrl() { + o.SignatureUrl.Unset() +} + +// GetSize returns the Size field value if set, zero value otherwise. +func (o *P2PackageUploadResponse) GetSize() int64 { + if o == nil || isNil(o.Size) { + var ret int64 + return ret + } + return *o.Size +} + +// GetSizeOk returns a tuple with the Size field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *P2PackageUploadResponse) GetSizeOk() (*int64, bool) { + if o == nil || isNil(o.Size) { + return nil, false + } + return o.Size, true +} + +// HasSize returns a boolean if a field has been set. +func (o *P2PackageUploadResponse) HasSize() bool { + if o != nil && !isNil(o.Size) { + return true + } + + return false +} + +// SetSize gets a reference to the given int64 and assigns it to the Size field. +func (o *P2PackageUploadResponse) SetSize(v int64) { + o.Size = &v +} + +// GetSlug returns the Slug field value if set, zero value otherwise. +func (o *P2PackageUploadResponse) GetSlug() string { + if o == nil || isNil(o.Slug) { + var ret string + return ret + } + return *o.Slug +} + +// GetSlugOk returns a tuple with the Slug field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *P2PackageUploadResponse) GetSlugOk() (*string, bool) { + if o == nil || isNil(o.Slug) { + return nil, false + } + return o.Slug, true +} + +// HasSlug returns a boolean if a field has been set. +func (o *P2PackageUploadResponse) HasSlug() bool { + if o != nil && !isNil(o.Slug) { + return true + } + + return false +} + +// SetSlug gets a reference to the given string and assigns it to the Slug field. +func (o *P2PackageUploadResponse) SetSlug(v string) { + o.Slug = &v +} + +// GetSlugPerm returns the SlugPerm field value if set, zero value otherwise. +func (o *P2PackageUploadResponse) GetSlugPerm() string { + if o == nil || isNil(o.SlugPerm) { + var ret string + return ret + } + return *o.SlugPerm +} + +// GetSlugPermOk returns a tuple with the SlugPerm field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *P2PackageUploadResponse) GetSlugPermOk() (*string, bool) { + if o == nil || isNil(o.SlugPerm) { + return nil, false + } + return o.SlugPerm, true +} + +// HasSlugPerm returns a boolean if a field has been set. +func (o *P2PackageUploadResponse) HasSlugPerm() bool { + if o != nil && !isNil(o.SlugPerm) { + return true + } + + return false +} + +// SetSlugPerm gets a reference to the given string and assigns it to the SlugPerm field. +func (o *P2PackageUploadResponse) SetSlugPerm(v string) { + o.SlugPerm = &v +} + +// GetStage returns the Stage field value if set, zero value otherwise. +func (o *P2PackageUploadResponse) GetStage() int64 { + if o == nil || isNil(o.Stage) { + var ret int64 + return ret + } + return *o.Stage +} + +// GetStageOk returns a tuple with the Stage field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *P2PackageUploadResponse) GetStageOk() (*int64, bool) { + if o == nil || isNil(o.Stage) { + return nil, false + } + return o.Stage, true +} + +// HasStage returns a boolean if a field has been set. +func (o *P2PackageUploadResponse) HasStage() bool { + if o != nil && !isNil(o.Stage) { + return true + } + + return false +} + +// SetStage gets a reference to the given int64 and assigns it to the Stage field. +func (o *P2PackageUploadResponse) SetStage(v int64) { + o.Stage = &v +} + +// GetStageStr returns the StageStr field value if set, zero value otherwise. +func (o *P2PackageUploadResponse) GetStageStr() string { + if o == nil || isNil(o.StageStr) { + var ret string + return ret + } + return *o.StageStr +} + +// GetStageStrOk returns a tuple with the StageStr field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *P2PackageUploadResponse) GetStageStrOk() (*string, bool) { + if o == nil || isNil(o.StageStr) { + return nil, false + } + return o.StageStr, true +} + +// HasStageStr returns a boolean if a field has been set. +func (o *P2PackageUploadResponse) HasStageStr() bool { + if o != nil && !isNil(o.StageStr) { + return true + } + + return false +} + +// SetStageStr gets a reference to the given string and assigns it to the StageStr field. +func (o *P2PackageUploadResponse) SetStageStr(v string) { + o.StageStr = &v +} + +// GetStageUpdatedAt returns the StageUpdatedAt field value if set, zero value otherwise. +func (o *P2PackageUploadResponse) GetStageUpdatedAt() time.Time { + if o == nil || isNil(o.StageUpdatedAt) { + var ret time.Time + return ret + } + return *o.StageUpdatedAt +} + +// GetStageUpdatedAtOk returns a tuple with the StageUpdatedAt field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *P2PackageUploadResponse) GetStageUpdatedAtOk() (*time.Time, bool) { + if o == nil || isNil(o.StageUpdatedAt) { + return nil, false + } + return o.StageUpdatedAt, true +} + +// HasStageUpdatedAt returns a boolean if a field has been set. +func (o *P2PackageUploadResponse) HasStageUpdatedAt() bool { + if o != nil && !isNil(o.StageUpdatedAt) { + return true + } + + return false +} + +// SetStageUpdatedAt gets a reference to the given time.Time and assigns it to the StageUpdatedAt field. +func (o *P2PackageUploadResponse) SetStageUpdatedAt(v time.Time) { + o.StageUpdatedAt = &v +} + +// GetStatus returns the Status field value if set, zero value otherwise. +func (o *P2PackageUploadResponse) GetStatus() int64 { + if o == nil || isNil(o.Status) { + var ret int64 + return ret + } + return *o.Status +} + +// GetStatusOk returns a tuple with the Status field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *P2PackageUploadResponse) GetStatusOk() (*int64, bool) { + if o == nil || isNil(o.Status) { + return nil, false + } + return o.Status, true +} + +// HasStatus returns a boolean if a field has been set. +func (o *P2PackageUploadResponse) HasStatus() bool { + if o != nil && !isNil(o.Status) { + return true + } + + return false +} + +// SetStatus gets a reference to the given int64 and assigns it to the Status field. +func (o *P2PackageUploadResponse) SetStatus(v int64) { + o.Status = &v +} + +// GetStatusReason returns the StatusReason field value if set, zero value otherwise. +func (o *P2PackageUploadResponse) GetStatusReason() string { + if o == nil || isNil(o.StatusReason) { + var ret string + return ret + } + return *o.StatusReason +} + +// GetStatusReasonOk returns a tuple with the StatusReason field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *P2PackageUploadResponse) GetStatusReasonOk() (*string, bool) { + if o == nil || isNil(o.StatusReason) { + return nil, false + } + return o.StatusReason, true +} + +// HasStatusReason returns a boolean if a field has been set. +func (o *P2PackageUploadResponse) HasStatusReason() bool { + if o != nil && !isNil(o.StatusReason) { + return true + } + + return false +} + +// SetStatusReason gets a reference to the given string and assigns it to the StatusReason field. +func (o *P2PackageUploadResponse) SetStatusReason(v string) { + o.StatusReason = &v +} + +// GetStatusStr returns the StatusStr field value if set, zero value otherwise. +func (o *P2PackageUploadResponse) GetStatusStr() string { + if o == nil || isNil(o.StatusStr) { + var ret string + return ret + } + return *o.StatusStr +} + +// GetStatusStrOk returns a tuple with the StatusStr field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *P2PackageUploadResponse) GetStatusStrOk() (*string, bool) { + if o == nil || isNil(o.StatusStr) { + return nil, false + } + return o.StatusStr, true +} + +// HasStatusStr returns a boolean if a field has been set. +func (o *P2PackageUploadResponse) HasStatusStr() bool { + if o != nil && !isNil(o.StatusStr) { + return true + } + + return false +} + +// SetStatusStr gets a reference to the given string and assigns it to the StatusStr field. +func (o *P2PackageUploadResponse) SetStatusStr(v string) { + o.StatusStr = &v +} + +// GetStatusUpdatedAt returns the StatusUpdatedAt field value if set, zero value otherwise. +func (o *P2PackageUploadResponse) GetStatusUpdatedAt() time.Time { + if o == nil || isNil(o.StatusUpdatedAt) { + var ret time.Time + return ret + } + return *o.StatusUpdatedAt +} + +// GetStatusUpdatedAtOk returns a tuple with the StatusUpdatedAt field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *P2PackageUploadResponse) GetStatusUpdatedAtOk() (*time.Time, bool) { + if o == nil || isNil(o.StatusUpdatedAt) { + return nil, false + } + return o.StatusUpdatedAt, true +} + +// HasStatusUpdatedAt returns a boolean if a field has been set. +func (o *P2PackageUploadResponse) HasStatusUpdatedAt() bool { + if o != nil && !isNil(o.StatusUpdatedAt) { + return true + } + + return false +} + +// SetStatusUpdatedAt gets a reference to the given time.Time and assigns it to the StatusUpdatedAt field. +func (o *P2PackageUploadResponse) SetStatusUpdatedAt(v time.Time) { + o.StatusUpdatedAt = &v +} + +// GetStatusUrl returns the StatusUrl field value if set, zero value otherwise. +func (o *P2PackageUploadResponse) GetStatusUrl() string { + if o == nil || isNil(o.StatusUrl) { + var ret string + return ret + } + return *o.StatusUrl +} + +// GetStatusUrlOk returns a tuple with the StatusUrl field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *P2PackageUploadResponse) GetStatusUrlOk() (*string, bool) { + if o == nil || isNil(o.StatusUrl) { + return nil, false + } + return o.StatusUrl, true +} + +// HasStatusUrl returns a boolean if a field has been set. +func (o *P2PackageUploadResponse) HasStatusUrl() bool { + if o != nil && !isNil(o.StatusUrl) { + return true + } + + return false +} + +// SetStatusUrl gets a reference to the given string and assigns it to the StatusUrl field. +func (o *P2PackageUploadResponse) SetStatusUrl(v string) { + o.StatusUrl = &v +} + +// GetSubtype returns the Subtype field value if set, zero value otherwise. +func (o *P2PackageUploadResponse) GetSubtype() string { + if o == nil || isNil(o.Subtype) { + var ret string + return ret + } + return *o.Subtype +} + +// GetSubtypeOk returns a tuple with the Subtype field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *P2PackageUploadResponse) GetSubtypeOk() (*string, bool) { + if o == nil || isNil(o.Subtype) { + return nil, false + } + return o.Subtype, true +} + +// HasSubtype returns a boolean if a field has been set. +func (o *P2PackageUploadResponse) HasSubtype() bool { + if o != nil && !isNil(o.Subtype) { + return true + } + + return false +} + +// SetSubtype gets a reference to the given string and assigns it to the Subtype field. +func (o *P2PackageUploadResponse) SetSubtype(v string) { + o.Subtype = &v +} + +// GetSummary returns the Summary field value if set, zero value otherwise. +func (o *P2PackageUploadResponse) GetSummary() string { + if o == nil || isNil(o.Summary) { + var ret string + return ret + } + return *o.Summary +} + +// GetSummaryOk returns a tuple with the Summary field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *P2PackageUploadResponse) GetSummaryOk() (*string, bool) { + if o == nil || isNil(o.Summary) { + return nil, false + } + return o.Summary, true +} + +// HasSummary returns a boolean if a field has been set. +func (o *P2PackageUploadResponse) HasSummary() bool { + if o != nil && !isNil(o.Summary) { + return true + } + + return false +} + +// SetSummary gets a reference to the given string and assigns it to the Summary field. +func (o *P2PackageUploadResponse) SetSummary(v string) { + o.Summary = &v +} + +// GetSyncFinishedAt returns the SyncFinishedAt field value if set, zero value otherwise. +func (o *P2PackageUploadResponse) GetSyncFinishedAt() time.Time { + if o == nil || isNil(o.SyncFinishedAt) { + var ret time.Time + return ret + } + return *o.SyncFinishedAt +} + +// GetSyncFinishedAtOk returns a tuple with the SyncFinishedAt field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *P2PackageUploadResponse) GetSyncFinishedAtOk() (*time.Time, bool) { + if o == nil || isNil(o.SyncFinishedAt) { + return nil, false + } + return o.SyncFinishedAt, true +} + +// HasSyncFinishedAt returns a boolean if a field has been set. +func (o *P2PackageUploadResponse) HasSyncFinishedAt() bool { + if o != nil && !isNil(o.SyncFinishedAt) { + return true + } + + return false +} + +// SetSyncFinishedAt gets a reference to the given time.Time and assigns it to the SyncFinishedAt field. +func (o *P2PackageUploadResponse) SetSyncFinishedAt(v time.Time) { + o.SyncFinishedAt = &v +} + +// GetSyncProgress returns the SyncProgress field value if set, zero value otherwise. +func (o *P2PackageUploadResponse) GetSyncProgress() int64 { + if o == nil || isNil(o.SyncProgress) { + var ret int64 + return ret + } + return *o.SyncProgress +} + +// GetSyncProgressOk returns a tuple with the SyncProgress field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *P2PackageUploadResponse) GetSyncProgressOk() (*int64, bool) { + if o == nil || isNil(o.SyncProgress) { + return nil, false + } + return o.SyncProgress, true +} + +// HasSyncProgress returns a boolean if a field has been set. +func (o *P2PackageUploadResponse) HasSyncProgress() bool { + if o != nil && !isNil(o.SyncProgress) { + return true + } + + return false +} + +// SetSyncProgress gets a reference to the given int64 and assigns it to the SyncProgress field. +func (o *P2PackageUploadResponse) SetSyncProgress(v int64) { + o.SyncProgress = &v +} + +// GetTagsImmutable returns the TagsImmutable field value if set, zero value otherwise. +func (o *P2PackageUploadResponse) GetTagsImmutable() map[string]interface{} { + if o == nil || isNil(o.TagsImmutable) { + var ret map[string]interface{} + return ret + } + return o.TagsImmutable +} + +// GetTagsImmutableOk returns a tuple with the TagsImmutable field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *P2PackageUploadResponse) GetTagsImmutableOk() (map[string]interface{}, bool) { + if o == nil || isNil(o.TagsImmutable) { + return map[string]interface{}{}, false + } + return o.TagsImmutable, true +} + +// HasTagsImmutable returns a boolean if a field has been set. +func (o *P2PackageUploadResponse) HasTagsImmutable() bool { + if o != nil && !isNil(o.TagsImmutable) { + return true + } + + return false +} + +// SetTagsImmutable gets a reference to the given map[string]interface{} and assigns it to the TagsImmutable field. +func (o *P2PackageUploadResponse) SetTagsImmutable(v map[string]interface{}) { + o.TagsImmutable = v +} + +// GetTypeDisplay returns the TypeDisplay field value if set, zero value otherwise. +func (o *P2PackageUploadResponse) GetTypeDisplay() string { + if o == nil || isNil(o.TypeDisplay) { + var ret string + return ret + } + return *o.TypeDisplay +} + +// GetTypeDisplayOk returns a tuple with the TypeDisplay field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *P2PackageUploadResponse) GetTypeDisplayOk() (*string, bool) { + if o == nil || isNil(o.TypeDisplay) { + return nil, false + } + return o.TypeDisplay, true +} + +// HasTypeDisplay returns a boolean if a field has been set. +func (o *P2PackageUploadResponse) HasTypeDisplay() bool { + if o != nil && !isNil(o.TypeDisplay) { + return true + } + + return false +} + +// SetTypeDisplay gets a reference to the given string and assigns it to the TypeDisplay field. +func (o *P2PackageUploadResponse) SetTypeDisplay(v string) { + o.TypeDisplay = &v +} + +// GetUploadedAt returns the UploadedAt field value if set, zero value otherwise. +func (o *P2PackageUploadResponse) GetUploadedAt() time.Time { + if o == nil || isNil(o.UploadedAt) { + var ret time.Time + return ret + } + return *o.UploadedAt +} + +// GetUploadedAtOk returns a tuple with the UploadedAt field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *P2PackageUploadResponse) GetUploadedAtOk() (*time.Time, bool) { + if o == nil || isNil(o.UploadedAt) { + return nil, false + } + return o.UploadedAt, true +} + +// HasUploadedAt returns a boolean if a field has been set. +func (o *P2PackageUploadResponse) HasUploadedAt() bool { + if o != nil && !isNil(o.UploadedAt) { + return true + } + + return false +} + +// SetUploadedAt gets a reference to the given time.Time and assigns it to the UploadedAt field. +func (o *P2PackageUploadResponse) SetUploadedAt(v time.Time) { + o.UploadedAt = &v +} + +// GetUploader returns the Uploader field value if set, zero value otherwise. +func (o *P2PackageUploadResponse) GetUploader() string { + if o == nil || isNil(o.Uploader) { + var ret string + return ret + } + return *o.Uploader +} + +// GetUploaderOk returns a tuple with the Uploader field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *P2PackageUploadResponse) GetUploaderOk() (*string, bool) { + if o == nil || isNil(o.Uploader) { + return nil, false + } + return o.Uploader, true +} + +// HasUploader returns a boolean if a field has been set. +func (o *P2PackageUploadResponse) HasUploader() bool { + if o != nil && !isNil(o.Uploader) { + return true + } + + return false +} + +// SetUploader gets a reference to the given string and assigns it to the Uploader field. +func (o *P2PackageUploadResponse) SetUploader(v string) { + o.Uploader = &v +} + +// GetUploaderUrl returns the UploaderUrl field value if set, zero value otherwise. +func (o *P2PackageUploadResponse) GetUploaderUrl() string { + if o == nil || isNil(o.UploaderUrl) { + var ret string + return ret + } + return *o.UploaderUrl +} + +// GetUploaderUrlOk returns a tuple with the UploaderUrl field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *P2PackageUploadResponse) GetUploaderUrlOk() (*string, bool) { + if o == nil || isNil(o.UploaderUrl) { + return nil, false + } + return o.UploaderUrl, true +} + +// HasUploaderUrl returns a boolean if a field has been set. +func (o *P2PackageUploadResponse) HasUploaderUrl() bool { + if o != nil && !isNil(o.UploaderUrl) { + return true + } + + return false +} + +// SetUploaderUrl gets a reference to the given string and assigns it to the UploaderUrl field. +func (o *P2PackageUploadResponse) SetUploaderUrl(v string) { + o.UploaderUrl = &v +} + +// GetVersion returns the Version field value if set, zero value otherwise. +func (o *P2PackageUploadResponse) GetVersion() string { + if o == nil || isNil(o.Version) { + var ret string + return ret + } + return *o.Version +} + +// GetVersionOk returns a tuple with the Version field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *P2PackageUploadResponse) GetVersionOk() (*string, bool) { + if o == nil || isNil(o.Version) { + return nil, false + } + return o.Version, true +} + +// HasVersion returns a boolean if a field has been set. +func (o *P2PackageUploadResponse) HasVersion() bool { + if o != nil && !isNil(o.Version) { + return true + } + + return false +} + +// SetVersion gets a reference to the given string and assigns it to the Version field. +func (o *P2PackageUploadResponse) SetVersion(v string) { + o.Version = &v +} + +// GetVersionOrig returns the VersionOrig field value if set, zero value otherwise. +func (o *P2PackageUploadResponse) GetVersionOrig() string { + if o == nil || isNil(o.VersionOrig) { + var ret string + return ret + } + return *o.VersionOrig +} + +// GetVersionOrigOk returns a tuple with the VersionOrig field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *P2PackageUploadResponse) GetVersionOrigOk() (*string, bool) { + if o == nil || isNil(o.VersionOrig) { + return nil, false + } + return o.VersionOrig, true +} + +// HasVersionOrig returns a boolean if a field has been set. +func (o *P2PackageUploadResponse) HasVersionOrig() bool { + if o != nil && !isNil(o.VersionOrig) { + return true + } + + return false +} + +// SetVersionOrig gets a reference to the given string and assigns it to the VersionOrig field. +func (o *P2PackageUploadResponse) SetVersionOrig(v string) { + o.VersionOrig = &v +} + +// GetVulnerabilityScanResultsUrl returns the VulnerabilityScanResultsUrl field value if set, zero value otherwise. +func (o *P2PackageUploadResponse) GetVulnerabilityScanResultsUrl() string { + if o == nil || isNil(o.VulnerabilityScanResultsUrl) { + var ret string + return ret + } + return *o.VulnerabilityScanResultsUrl +} + +// GetVulnerabilityScanResultsUrlOk returns a tuple with the VulnerabilityScanResultsUrl field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *P2PackageUploadResponse) GetVulnerabilityScanResultsUrlOk() (*string, bool) { + if o == nil || isNil(o.VulnerabilityScanResultsUrl) { + return nil, false + } + return o.VulnerabilityScanResultsUrl, true +} + +// HasVulnerabilityScanResultsUrl returns a boolean if a field has been set. +func (o *P2PackageUploadResponse) HasVulnerabilityScanResultsUrl() bool { + if o != nil && !isNil(o.VulnerabilityScanResultsUrl) { + return true + } + + return false +} + +// SetVulnerabilityScanResultsUrl gets a reference to the given string and assigns it to the VulnerabilityScanResultsUrl field. +func (o *P2PackageUploadResponse) SetVulnerabilityScanResultsUrl(v string) { + o.VulnerabilityScanResultsUrl = &v +} + +func (o P2PackageUploadResponse) MarshalJSON() ([]byte, error) { + toSerialize := map[string]interface{}{} + if !isNil(o.Architectures) { + toSerialize["architectures"] = o.Architectures + } + if o.CdnUrl.IsSet() { + toSerialize["cdn_url"] = o.CdnUrl.Get() + } + if !isNil(o.ChecksumMd5) { + toSerialize["checksum_md5"] = o.ChecksumMd5 + } + if !isNil(o.ChecksumSha1) { + toSerialize["checksum_sha1"] = o.ChecksumSha1 + } + if !isNil(o.ChecksumSha256) { + toSerialize["checksum_sha256"] = o.ChecksumSha256 + } + if !isNil(o.ChecksumSha512) { + toSerialize["checksum_sha512"] = o.ChecksumSha512 + } + if !isNil(o.DependenciesChecksumMd5) { + toSerialize["dependencies_checksum_md5"] = o.DependenciesChecksumMd5 + } + if !isNil(o.DependenciesUrl) { + toSerialize["dependencies_url"] = o.DependenciesUrl + } + if !isNil(o.Description) { + toSerialize["description"] = o.Description + } + if o.Distro.IsSet() { + toSerialize["distro"] = o.Distro.Get() + } + if !isNil(o.DistroVersion) { + toSerialize["distro_version"] = o.DistroVersion + } + if !isNil(o.Downloads) { + toSerialize["downloads"] = o.Downloads + } + if !isNil(o.Epoch) { + toSerialize["epoch"] = o.Epoch + } + if !isNil(o.Extension) { + toSerialize["extension"] = o.Extension + } + if !isNil(o.Filename) { + toSerialize["filename"] = o.Filename + } + if !isNil(o.Files) { + toSerialize["files"] = o.Files + } + if !isNil(o.Format) { + toSerialize["format"] = o.Format + } + if !isNil(o.FormatUrl) { + toSerialize["format_url"] = o.FormatUrl + } + if !isNil(o.IdentifierPerm) { + toSerialize["identifier_perm"] = o.IdentifierPerm + } + if !isNil(o.Indexed) { + toSerialize["indexed"] = o.Indexed + } + if !isNil(o.IsDownloadable) { + toSerialize["is_downloadable"] = o.IsDownloadable + } + if !isNil(o.IsQuarantined) { + toSerialize["is_quarantined"] = o.IsQuarantined + } + if !isNil(o.IsSyncAwaiting) { + toSerialize["is_sync_awaiting"] = o.IsSyncAwaiting + } + if !isNil(o.IsSyncCompleted) { + toSerialize["is_sync_completed"] = o.IsSyncCompleted + } + if !isNil(o.IsSyncFailed) { + toSerialize["is_sync_failed"] = o.IsSyncFailed + } + if !isNil(o.IsSyncInFlight) { + toSerialize["is_sync_in_flight"] = o.IsSyncInFlight + } + if !isNil(o.IsSyncInProgress) { + toSerialize["is_sync_in_progress"] = o.IsSyncInProgress + } + if !isNil(o.License) { + toSerialize["license"] = o.License + } + if !isNil(o.Name) { + toSerialize["name"] = o.Name + } + if !isNil(o.Namespace) { + toSerialize["namespace"] = o.Namespace + } + if !isNil(o.NamespaceUrl) { + toSerialize["namespace_url"] = o.NamespaceUrl + } + if !isNil(o.NumFiles) { + toSerialize["num_files"] = o.NumFiles + } + if !isNil(o.OriginRepository) { + toSerialize["origin_repository"] = o.OriginRepository + } + if !isNil(o.OriginRepositoryUrl) { + toSerialize["origin_repository_url"] = o.OriginRepositoryUrl + } + if !isNil(o.PackageType) { + toSerialize["package_type"] = o.PackageType + } + if !isNil(o.Release) { + toSerialize["release"] = o.Release + } + if !isNil(o.Repository) { + toSerialize["repository"] = o.Repository + } + if !isNil(o.RepositoryUrl) { + toSerialize["repository_url"] = o.RepositoryUrl + } + if !isNil(o.SecurityScanCompletedAt) { + toSerialize["security_scan_completed_at"] = o.SecurityScanCompletedAt + } + if !isNil(o.SecurityScanStartedAt) { + toSerialize["security_scan_started_at"] = o.SecurityScanStartedAt + } + if o.SecurityScanStatus.IsSet() { + toSerialize["security_scan_status"] = o.SecurityScanStatus.Get() + } + if !isNil(o.SecurityScanStatusUpdatedAt) { + toSerialize["security_scan_status_updated_at"] = o.SecurityScanStatusUpdatedAt + } + if !isNil(o.SelfHtmlUrl) { + toSerialize["self_html_url"] = o.SelfHtmlUrl + } + if !isNil(o.SelfUrl) { + toSerialize["self_url"] = o.SelfUrl + } + if o.SignatureUrl.IsSet() { + toSerialize["signature_url"] = o.SignatureUrl.Get() + } + if !isNil(o.Size) { + toSerialize["size"] = o.Size + } + if !isNil(o.Slug) { + toSerialize["slug"] = o.Slug + } + if !isNil(o.SlugPerm) { + toSerialize["slug_perm"] = o.SlugPerm + } + if !isNil(o.Stage) { + toSerialize["stage"] = o.Stage + } + if !isNil(o.StageStr) { + toSerialize["stage_str"] = o.StageStr + } + if !isNil(o.StageUpdatedAt) { + toSerialize["stage_updated_at"] = o.StageUpdatedAt + } + if !isNil(o.Status) { + toSerialize["status"] = o.Status + } + if !isNil(o.StatusReason) { + toSerialize["status_reason"] = o.StatusReason + } + if !isNil(o.StatusStr) { + toSerialize["status_str"] = o.StatusStr + } + if !isNil(o.StatusUpdatedAt) { + toSerialize["status_updated_at"] = o.StatusUpdatedAt + } + if !isNil(o.StatusUrl) { + toSerialize["status_url"] = o.StatusUrl + } + if !isNil(o.Subtype) { + toSerialize["subtype"] = o.Subtype + } + if !isNil(o.Summary) { + toSerialize["summary"] = o.Summary + } + if !isNil(o.SyncFinishedAt) { + toSerialize["sync_finished_at"] = o.SyncFinishedAt + } + if !isNil(o.SyncProgress) { + toSerialize["sync_progress"] = o.SyncProgress + } + if !isNil(o.TagsImmutable) { + toSerialize["tags_immutable"] = o.TagsImmutable + } + if !isNil(o.TypeDisplay) { + toSerialize["type_display"] = o.TypeDisplay + } + if !isNil(o.UploadedAt) { + toSerialize["uploaded_at"] = o.UploadedAt + } + if !isNil(o.Uploader) { + toSerialize["uploader"] = o.Uploader + } + if !isNil(o.UploaderUrl) { + toSerialize["uploader_url"] = o.UploaderUrl + } + if !isNil(o.Version) { + toSerialize["version"] = o.Version + } + if !isNil(o.VersionOrig) { + toSerialize["version_orig"] = o.VersionOrig + } + if !isNil(o.VulnerabilityScanResultsUrl) { + toSerialize["vulnerability_scan_results_url"] = o.VulnerabilityScanResultsUrl + } + return json.Marshal(toSerialize) +} + +type NullableP2PackageUploadResponse struct { + value *P2PackageUploadResponse + isSet bool +} + +func (v NullableP2PackageUploadResponse) Get() *P2PackageUploadResponse { + return v.value +} + +func (v *NullableP2PackageUploadResponse) Set(val *P2PackageUploadResponse) { + v.value = val + v.isSet = true +} + +func (v NullableP2PackageUploadResponse) IsSet() bool { + return v.isSet +} + +func (v *NullableP2PackageUploadResponse) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableP2PackageUploadResponse(val *P2PackageUploadResponse) *NullableP2PackageUploadResponse { + return &NullableP2PackageUploadResponse{value: val, isSet: true} +} + +func (v NullableP2PackageUploadResponse) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableP2PackageUploadResponse) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} diff --git a/model_packages_copy.go b/model_package_copy_request.go similarity index 57% rename from model_packages_copy.go rename to model_package_copy_request.go index f793bfcf..64deb175 100644 --- a/model_packages_copy.go +++ b/model_package_copy_request.go @@ -1,9 +1,9 @@ /* -Cloudsmith API +Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.121.3 +API version: 1.181.6 Contact: support@cloudsmith.io */ @@ -15,34 +15,33 @@ import ( "encoding/json" ) -// PackagesCopy struct for PackagesCopy -type PackagesCopy struct { - // None +// PackageCopyRequest struct for PackageCopyRequest +type PackageCopyRequest struct { Destination string `json:"destination"` // If true, the package will overwrite any others with the same attributes (e.g. same version); otherwise, it will be flagged as a duplicate. Republish *bool `json:"republish,omitempty"` } -// NewPackagesCopy instantiates a new PackagesCopy object +// NewPackageCopyRequest instantiates a new PackageCopyRequest object // 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 NewPackagesCopy(destination string) *PackagesCopy { - this := PackagesCopy{} +func NewPackageCopyRequest(destination string) *PackageCopyRequest { + this := PackageCopyRequest{} this.Destination = destination return &this } -// NewPackagesCopyWithDefaults instantiates a new PackagesCopy object +// NewPackageCopyRequestWithDefaults instantiates a new PackageCopyRequest object // This constructor will only assign default values to properties that have it defined, // but it doesn't guarantee that properties required by API are set -func NewPackagesCopyWithDefaults() *PackagesCopy { - this := PackagesCopy{} +func NewPackageCopyRequestWithDefaults() *PackageCopyRequest { + this := PackageCopyRequest{} return &this } // GetDestination returns the Destination field value -func (o *PackagesCopy) GetDestination() string { +func (o *PackageCopyRequest) GetDestination() string { if o == nil { var ret string return ret @@ -53,7 +52,7 @@ func (o *PackagesCopy) GetDestination() string { // GetDestinationOk returns a tuple with the Destination field value // and a boolean to check if the value has been set. -func (o *PackagesCopy) GetDestinationOk() (*string, bool) { +func (o *PackageCopyRequest) GetDestinationOk() (*string, bool) { if o == nil { return nil, false } @@ -61,13 +60,13 @@ func (o *PackagesCopy) GetDestinationOk() (*string, bool) { } // SetDestination sets field value -func (o *PackagesCopy) SetDestination(v string) { +func (o *PackageCopyRequest) SetDestination(v string) { o.Destination = v } // GetRepublish returns the Republish field value if set, zero value otherwise. -func (o *PackagesCopy) GetRepublish() bool { - if o == nil || o.Republish == nil { +func (o *PackageCopyRequest) GetRepublish() bool { + if o == nil || isNil(o.Republish) { var ret bool return ret } @@ -76,16 +75,16 @@ func (o *PackagesCopy) GetRepublish() bool { // GetRepublishOk returns a tuple with the Republish field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *PackagesCopy) GetRepublishOk() (*bool, bool) { - if o == nil || o.Republish == nil { +func (o *PackageCopyRequest) GetRepublishOk() (*bool, bool) { + if o == nil || isNil(o.Republish) { return nil, false } return o.Republish, true } // HasRepublish returns a boolean if a field has been set. -func (o *PackagesCopy) HasRepublish() bool { - if o != nil && o.Republish != nil { +func (o *PackageCopyRequest) HasRepublish() bool { + if o != nil && !isNil(o.Republish) { return true } @@ -93,53 +92,53 @@ func (o *PackagesCopy) HasRepublish() bool { } // SetRepublish gets a reference to the given bool and assigns it to the Republish field. -func (o *PackagesCopy) SetRepublish(v bool) { +func (o *PackageCopyRequest) SetRepublish(v bool) { o.Republish = &v } -func (o PackagesCopy) MarshalJSON() ([]byte, error) { +func (o PackageCopyRequest) MarshalJSON() ([]byte, error) { toSerialize := map[string]interface{}{} if true { toSerialize["destination"] = o.Destination } - if o.Republish != nil { + if !isNil(o.Republish) { toSerialize["republish"] = o.Republish } return json.Marshal(toSerialize) } -type NullablePackagesCopy struct { - value *PackagesCopy +type NullablePackageCopyRequest struct { + value *PackageCopyRequest isSet bool } -func (v NullablePackagesCopy) Get() *PackagesCopy { +func (v NullablePackageCopyRequest) Get() *PackageCopyRequest { return v.value } -func (v *NullablePackagesCopy) Set(val *PackagesCopy) { +func (v *NullablePackageCopyRequest) Set(val *PackageCopyRequest) { v.value = val v.isSet = true } -func (v NullablePackagesCopy) IsSet() bool { +func (v NullablePackageCopyRequest) IsSet() bool { return v.isSet } -func (v *NullablePackagesCopy) Unset() { +func (v *NullablePackageCopyRequest) Unset() { v.value = nil v.isSet = false } -func NewNullablePackagesCopy(val *PackagesCopy) *NullablePackagesCopy { - return &NullablePackagesCopy{value: val, isSet: true} +func NewNullablePackageCopyRequest(val *PackageCopyRequest) *NullablePackageCopyRequest { + return &NullablePackageCopyRequest{value: val, isSet: true} } -func (v NullablePackagesCopy) MarshalJSON() ([]byte, error) { +func (v NullablePackageCopyRequest) MarshalJSON() ([]byte, error) { return json.Marshal(v.value) } -func (v *NullablePackagesCopy) UnmarshalJSON(src []byte) error { +func (v *NullablePackageCopyRequest) UnmarshalJSON(src []byte) error { v.isSet = true return json.Unmarshal(src, &v.value) } diff --git a/model_package_quarantine.go b/model_package_copy_response.go similarity index 53% rename from model_package_quarantine.go rename to model_package_copy_response.go index 73602a04..a7485c3b 100644 --- a/model_package_quarantine.go +++ b/model_package_copy_response.go @@ -1,9 +1,9 @@ /* -Cloudsmith API +Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.121.3 +API version: 1.181.6 Contact: support@cloudsmith.io */ @@ -13,167 +13,129 @@ package cloudsmith import ( "encoding/json" + "time" ) -// PackageQuarantine struct for PackageQuarantine -type PackageQuarantine struct { - // - Architectures []PackagesOwnerRepoArchitectures `json:"architectures,omitempty"` - // - CdnUrl *string `json:"cdn_url,omitempty"` - // - ChecksumMd5 *string `json:"checksum_md5,omitempty"` - // - ChecksumSha1 *string `json:"checksum_sha1,omitempty"` - // - ChecksumSha256 *string `json:"checksum_sha256,omitempty"` - // - ChecksumSha512 *string `json:"checksum_sha512,omitempty"` +// PackageCopyResponse struct for PackageCopyResponse +type PackageCopyResponse struct { + Architectures []Architecture `json:"architectures,omitempty"` + CdnUrl NullableString `json:"cdn_url,omitempty"` + ChecksumMd5 *string `json:"checksum_md5,omitempty"` + ChecksumSha1 *string `json:"checksum_sha1,omitempty"` + ChecksumSha256 *string `json:"checksum_sha256,omitempty"` + ChecksumSha512 *string `json:"checksum_sha512,omitempty"` // A checksum of all of the package's dependencies. DependenciesChecksumMd5 *string `json:"dependencies_checksum_md5,omitempty"` - // - DependenciesUrl *string `json:"dependencies_url,omitempty"` + DependenciesUrl *string `json:"dependencies_url,omitempty"` // A textual description of this package. - Description *string `json:"description,omitempty"` - // - Distro map[string]interface{} `json:"distro,omitempty"` - // - DistroVersion map[string]interface{} `json:"distro_version,omitempty"` - // - Downloads *int64 `json:"downloads,omitempty"` + Description *string `json:"description,omitempty"` + Distro NullableDistribution `json:"distro,omitempty"` + DistroVersion *DistributionVersion `json:"distro_version,omitempty"` + Downloads *int64 `json:"downloads,omitempty"` // The epoch of the package version (if any). - Epoch *int64 `json:"epoch,omitempty"` - // - Extension *string `json:"extension,omitempty"` - // - Filename *string `json:"filename,omitempty"` - // - Files []PackagesOwnerRepoFiles `json:"files,omitempty"` - // - Format *string `json:"format,omitempty"` - // - FormatUrl *string `json:"format_url,omitempty"` + Epoch *int64 `json:"epoch,omitempty"` + Extension *string `json:"extension,omitempty"` + Filename *string `json:"filename,omitempty"` + Files []PackageFile `json:"files,omitempty"` + Format *string `json:"format,omitempty"` + FormatUrl *string `json:"format_url,omitempty"` // Unique and permanent identifier for the package. - IdentifierPerm *string `json:"identifier_perm,omitempty"` - // - Indexed *bool `json:"indexed,omitempty"` - // - IsDownloadable *bool `json:"is_downloadable,omitempty"` - // - IsQuarantined *bool `json:"is_quarantined,omitempty"` - // - IsSyncAwaiting *bool `json:"is_sync_awaiting,omitempty"` - // - IsSyncCompleted *bool `json:"is_sync_completed,omitempty"` - // - IsSyncFailed *bool `json:"is_sync_failed,omitempty"` - // - IsSyncInFlight *bool `json:"is_sync_in_flight,omitempty"` - // - IsSyncInProgress *bool `json:"is_sync_in_progress,omitempty"` + IdentifierPerm *string `json:"identifier_perm,omitempty"` + Indexed *bool `json:"indexed,omitempty"` + IsDownloadable *bool `json:"is_downloadable,omitempty"` + IsQuarantined *bool `json:"is_quarantined,omitempty"` + IsSyncAwaiting *bool `json:"is_sync_awaiting,omitempty"` + IsSyncCompleted *bool `json:"is_sync_completed,omitempty"` + IsSyncFailed *bool `json:"is_sync_failed,omitempty"` + IsSyncInFlight *bool `json:"is_sync_in_flight,omitempty"` + IsSyncInProgress *bool `json:"is_sync_in_progress,omitempty"` // The license of this package. License *string `json:"license,omitempty"` // The name of this package. - Name *string `json:"name,omitempty"` - // - Namespace *string `json:"namespace,omitempty"` - // - NamespaceUrl *string `json:"namespace_url,omitempty"` - // - NumFiles *int64 `json:"num_files,omitempty"` + Name *string `json:"name,omitempty"` + Namespace *string `json:"namespace,omitempty"` + NamespaceUrl *string `json:"namespace_url,omitempty"` + NumFiles *int64 `json:"num_files,omitempty"` + OriginRepository *string `json:"origin_repository,omitempty"` + OriginRepositoryUrl *string `json:"origin_repository_url,omitempty"` // The type of package contents. PackageType *int64 `json:"package_type,omitempty"` // The release of the package version (if any). Release *string `json:"release,omitempty"` - // - Repository *string `json:"repository,omitempty"` - // + // The repository the package will be copied to. + Repository *string `json:"repository,omitempty"` RepositoryUrl *string `json:"repository_url,omitempty"` // The datetime the security scanning was completed. - SecurityScanCompletedAt *string `json:"security_scan_completed_at,omitempty"` + SecurityScanCompletedAt *time.Time `json:"security_scan_completed_at,omitempty"` // The datetime the security scanning was started. - SecurityScanStartedAt *string `json:"security_scan_started_at,omitempty"` - // - SecurityScanStatus *string `json:"security_scan_status,omitempty"` + SecurityScanStartedAt *time.Time `json:"security_scan_started_at,omitempty"` + SecurityScanStatus NullableString `json:"security_scan_status,omitempty"` // The datetime the security scanning status was updated. - SecurityScanStatusUpdatedAt *string `json:"security_scan_status_updated_at,omitempty"` - // - SelfHtmlUrl *string `json:"self_html_url,omitempty"` - // - SelfUrl *string `json:"self_url,omitempty"` - // - SignatureUrl *string `json:"signature_url,omitempty"` + SecurityScanStatusUpdatedAt *time.Time `json:"security_scan_status_updated_at,omitempty"` + SelfHtmlUrl *string `json:"self_html_url,omitempty"` + SelfUrl *string `json:"self_url,omitempty"` + SignatureUrl NullableString `json:"signature_url,omitempty"` // The calculated size of the package. Size *int64 `json:"size,omitempty"` // The public unique identifier for the package. - Slug *string `json:"slug,omitempty"` - // + Slug *string `json:"slug,omitempty"` SlugPerm *string `json:"slug_perm,omitempty"` // The synchronisation (in progress) stage of the package. - Stage *int64 `json:"stage,omitempty"` - // + Stage *int64 `json:"stage,omitempty"` StageStr *string `json:"stage_str,omitempty"` // The datetime the package stage was updated at. - StageUpdatedAt *string `json:"stage_updated_at,omitempty"` + StageUpdatedAt *time.Time `json:"stage_updated_at,omitempty"` // The synchronisation status of the package. Status *int64 `json:"status,omitempty"` // A textual description for the synchronous status reason (if any StatusReason *string `json:"status_reason,omitempty"` - // - StatusStr *string `json:"status_str,omitempty"` + StatusStr *string `json:"status_str,omitempty"` // The datetime the package status was updated at. - StatusUpdatedAt *string `json:"status_updated_at,omitempty"` - // - StatusUrl *string `json:"status_url,omitempty"` - // - Subtype *string `json:"subtype,omitempty"` + StatusUpdatedAt *time.Time `json:"status_updated_at,omitempty"` + StatusUrl *string `json:"status_url,omitempty"` + Subtype *string `json:"subtype,omitempty"` // A one-liner synopsis of this package. Summary *string `json:"summary,omitempty"` // The datetime the package sync was finished at. - SyncFinishedAt *string `json:"sync_finished_at,omitempty"` + SyncFinishedAt *time.Time `json:"sync_finished_at,omitempty"` // Synchronisation progress (from 0-100) SyncProgress *int64 `json:"sync_progress,omitempty"` // All tags on the package, grouped by tag type. This includes immutable tags, but doesn't distinguish them from mutable. To see which tags are immutable specifically, see the tags_immutable field. Tags map[string]interface{} `json:"tags,omitempty"` - // All immutable tags on the package, grouped by tag type. Immutable tags cannot be (easily) deleted. + // All tags on the package, grouped by tag type. This includes immutable tags, but doesn't distinguish them from mutable. To see which tags are immutable specifically, see the tags_immutable field. TagsImmutable map[string]interface{} `json:"tags_immutable,omitempty"` - // - TypeDisplay *string `json:"type_display,omitempty"` + TypeDisplay *string `json:"type_display,omitempty"` // The date this package was uploaded. - UploadedAt *string `json:"uploaded_at,omitempty"` - // - Uploader *string `json:"uploader,omitempty"` - // - UploaderUrl *string `json:"uploader_url,omitempty"` + UploadedAt *time.Time `json:"uploaded_at,omitempty"` + Uploader *string `json:"uploader,omitempty"` + UploaderUrl *string `json:"uploader_url,omitempty"` // The raw version for this package. - Version *string `json:"version,omitempty"` - // - VersionOrig *string `json:"version_orig,omitempty"` - // + Version *string `json:"version,omitempty"` + VersionOrig *string `json:"version_orig,omitempty"` VulnerabilityScanResultsUrl *string `json:"vulnerability_scan_results_url,omitempty"` } -// NewPackageQuarantine instantiates a new PackageQuarantine object +// NewPackageCopyResponse instantiates a new PackageCopyResponse object // 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 NewPackageQuarantine() *PackageQuarantine { - this := PackageQuarantine{} +func NewPackageCopyResponse() *PackageCopyResponse { + this := PackageCopyResponse{} return &this } -// NewPackageQuarantineWithDefaults instantiates a new PackageQuarantine object +// NewPackageCopyResponseWithDefaults instantiates a new PackageCopyResponse object // This constructor will only assign default values to properties that have it defined, // but it doesn't guarantee that properties required by API are set -func NewPackageQuarantineWithDefaults() *PackageQuarantine { - this := PackageQuarantine{} +func NewPackageCopyResponseWithDefaults() *PackageCopyResponse { + this := PackageCopyResponse{} return &this } // GetArchitectures returns the Architectures field value if set, zero value otherwise. -func (o *PackageQuarantine) GetArchitectures() []PackagesOwnerRepoArchitectures { - if o == nil || o.Architectures == nil { - var ret []PackagesOwnerRepoArchitectures +func (o *PackageCopyResponse) GetArchitectures() []Architecture { + if o == nil || isNil(o.Architectures) { + var ret []Architecture return ret } return o.Architectures @@ -181,62 +143,73 @@ func (o *PackageQuarantine) GetArchitectures() []PackagesOwnerRepoArchitectures // GetArchitecturesOk returns a tuple with the Architectures field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *PackageQuarantine) GetArchitecturesOk() ([]PackagesOwnerRepoArchitectures, bool) { - if o == nil || o.Architectures == nil { +func (o *PackageCopyResponse) GetArchitecturesOk() ([]Architecture, bool) { + if o == nil || isNil(o.Architectures) { return nil, false } return o.Architectures, true } // HasArchitectures returns a boolean if a field has been set. -func (o *PackageQuarantine) HasArchitectures() bool { - if o != nil && o.Architectures != nil { +func (o *PackageCopyResponse) HasArchitectures() bool { + if o != nil && !isNil(o.Architectures) { return true } return false } -// SetArchitectures gets a reference to the given []PackagesOwnerRepoArchitectures and assigns it to the Architectures field. -func (o *PackageQuarantine) SetArchitectures(v []PackagesOwnerRepoArchitectures) { +// SetArchitectures gets a reference to the given []Architecture and assigns it to the Architectures field. +func (o *PackageCopyResponse) SetArchitectures(v []Architecture) { o.Architectures = v } -// GetCdnUrl returns the CdnUrl field value if set, zero value otherwise. -func (o *PackageQuarantine) GetCdnUrl() string { - if o == nil || o.CdnUrl == nil { +// GetCdnUrl returns the CdnUrl field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *PackageCopyResponse) GetCdnUrl() string { + if o == nil || isNil(o.CdnUrl.Get()) { var ret string return ret } - return *o.CdnUrl + return *o.CdnUrl.Get() } // GetCdnUrlOk returns a tuple with the CdnUrl field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *PackageQuarantine) GetCdnUrlOk() (*string, bool) { - if o == nil || o.CdnUrl == nil { +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *PackageCopyResponse) GetCdnUrlOk() (*string, bool) { + if o == nil { return nil, false } - return o.CdnUrl, true + return o.CdnUrl.Get(), o.CdnUrl.IsSet() } // HasCdnUrl returns a boolean if a field has been set. -func (o *PackageQuarantine) HasCdnUrl() bool { - if o != nil && o.CdnUrl != nil { +func (o *PackageCopyResponse) HasCdnUrl() bool { + if o != nil && o.CdnUrl.IsSet() { return true } return false } -// SetCdnUrl gets a reference to the given string and assigns it to the CdnUrl field. -func (o *PackageQuarantine) SetCdnUrl(v string) { - o.CdnUrl = &v +// SetCdnUrl gets a reference to the given NullableString and assigns it to the CdnUrl field. +func (o *PackageCopyResponse) SetCdnUrl(v string) { + o.CdnUrl.Set(&v) +} + +// SetCdnUrlNil sets the value for CdnUrl to be an explicit nil +func (o *PackageCopyResponse) SetCdnUrlNil() { + o.CdnUrl.Set(nil) +} + +// UnsetCdnUrl ensures that no value is present for CdnUrl, not even an explicit nil +func (o *PackageCopyResponse) UnsetCdnUrl() { + o.CdnUrl.Unset() } // GetChecksumMd5 returns the ChecksumMd5 field value if set, zero value otherwise. -func (o *PackageQuarantine) GetChecksumMd5() string { - if o == nil || o.ChecksumMd5 == nil { +func (o *PackageCopyResponse) GetChecksumMd5() string { + if o == nil || isNil(o.ChecksumMd5) { var ret string return ret } @@ -245,16 +218,16 @@ func (o *PackageQuarantine) GetChecksumMd5() string { // GetChecksumMd5Ok returns a tuple with the ChecksumMd5 field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *PackageQuarantine) GetChecksumMd5Ok() (*string, bool) { - if o == nil || o.ChecksumMd5 == nil { +func (o *PackageCopyResponse) GetChecksumMd5Ok() (*string, bool) { + if o == nil || isNil(o.ChecksumMd5) { return nil, false } return o.ChecksumMd5, true } // HasChecksumMd5 returns a boolean if a field has been set. -func (o *PackageQuarantine) HasChecksumMd5() bool { - if o != nil && o.ChecksumMd5 != nil { +func (o *PackageCopyResponse) HasChecksumMd5() bool { + if o != nil && !isNil(o.ChecksumMd5) { return true } @@ -262,13 +235,13 @@ func (o *PackageQuarantine) HasChecksumMd5() bool { } // SetChecksumMd5 gets a reference to the given string and assigns it to the ChecksumMd5 field. -func (o *PackageQuarantine) SetChecksumMd5(v string) { +func (o *PackageCopyResponse) SetChecksumMd5(v string) { o.ChecksumMd5 = &v } // GetChecksumSha1 returns the ChecksumSha1 field value if set, zero value otherwise. -func (o *PackageQuarantine) GetChecksumSha1() string { - if o == nil || o.ChecksumSha1 == nil { +func (o *PackageCopyResponse) GetChecksumSha1() string { + if o == nil || isNil(o.ChecksumSha1) { var ret string return ret } @@ -277,16 +250,16 @@ func (o *PackageQuarantine) GetChecksumSha1() string { // GetChecksumSha1Ok returns a tuple with the ChecksumSha1 field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *PackageQuarantine) GetChecksumSha1Ok() (*string, bool) { - if o == nil || o.ChecksumSha1 == nil { +func (o *PackageCopyResponse) GetChecksumSha1Ok() (*string, bool) { + if o == nil || isNil(o.ChecksumSha1) { return nil, false } return o.ChecksumSha1, true } // HasChecksumSha1 returns a boolean if a field has been set. -func (o *PackageQuarantine) HasChecksumSha1() bool { - if o != nil && o.ChecksumSha1 != nil { +func (o *PackageCopyResponse) HasChecksumSha1() bool { + if o != nil && !isNil(o.ChecksumSha1) { return true } @@ -294,13 +267,13 @@ func (o *PackageQuarantine) HasChecksumSha1() bool { } // SetChecksumSha1 gets a reference to the given string and assigns it to the ChecksumSha1 field. -func (o *PackageQuarantine) SetChecksumSha1(v string) { +func (o *PackageCopyResponse) SetChecksumSha1(v string) { o.ChecksumSha1 = &v } // GetChecksumSha256 returns the ChecksumSha256 field value if set, zero value otherwise. -func (o *PackageQuarantine) GetChecksumSha256() string { - if o == nil || o.ChecksumSha256 == nil { +func (o *PackageCopyResponse) GetChecksumSha256() string { + if o == nil || isNil(o.ChecksumSha256) { var ret string return ret } @@ -309,16 +282,16 @@ func (o *PackageQuarantine) GetChecksumSha256() string { // GetChecksumSha256Ok returns a tuple with the ChecksumSha256 field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *PackageQuarantine) GetChecksumSha256Ok() (*string, bool) { - if o == nil || o.ChecksumSha256 == nil { +func (o *PackageCopyResponse) GetChecksumSha256Ok() (*string, bool) { + if o == nil || isNil(o.ChecksumSha256) { return nil, false } return o.ChecksumSha256, true } // HasChecksumSha256 returns a boolean if a field has been set. -func (o *PackageQuarantine) HasChecksumSha256() bool { - if o != nil && o.ChecksumSha256 != nil { +func (o *PackageCopyResponse) HasChecksumSha256() bool { + if o != nil && !isNil(o.ChecksumSha256) { return true } @@ -326,13 +299,13 @@ func (o *PackageQuarantine) HasChecksumSha256() bool { } // SetChecksumSha256 gets a reference to the given string and assigns it to the ChecksumSha256 field. -func (o *PackageQuarantine) SetChecksumSha256(v string) { +func (o *PackageCopyResponse) SetChecksumSha256(v string) { o.ChecksumSha256 = &v } // GetChecksumSha512 returns the ChecksumSha512 field value if set, zero value otherwise. -func (o *PackageQuarantine) GetChecksumSha512() string { - if o == nil || o.ChecksumSha512 == nil { +func (o *PackageCopyResponse) GetChecksumSha512() string { + if o == nil || isNil(o.ChecksumSha512) { var ret string return ret } @@ -341,16 +314,16 @@ func (o *PackageQuarantine) GetChecksumSha512() string { // GetChecksumSha512Ok returns a tuple with the ChecksumSha512 field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *PackageQuarantine) GetChecksumSha512Ok() (*string, bool) { - if o == nil || o.ChecksumSha512 == nil { +func (o *PackageCopyResponse) GetChecksumSha512Ok() (*string, bool) { + if o == nil || isNil(o.ChecksumSha512) { return nil, false } return o.ChecksumSha512, true } // HasChecksumSha512 returns a boolean if a field has been set. -func (o *PackageQuarantine) HasChecksumSha512() bool { - if o != nil && o.ChecksumSha512 != nil { +func (o *PackageCopyResponse) HasChecksumSha512() bool { + if o != nil && !isNil(o.ChecksumSha512) { return true } @@ -358,13 +331,13 @@ func (o *PackageQuarantine) HasChecksumSha512() bool { } // SetChecksumSha512 gets a reference to the given string and assigns it to the ChecksumSha512 field. -func (o *PackageQuarantine) SetChecksumSha512(v string) { +func (o *PackageCopyResponse) SetChecksumSha512(v string) { o.ChecksumSha512 = &v } // GetDependenciesChecksumMd5 returns the DependenciesChecksumMd5 field value if set, zero value otherwise. -func (o *PackageQuarantine) GetDependenciesChecksumMd5() string { - if o == nil || o.DependenciesChecksumMd5 == nil { +func (o *PackageCopyResponse) GetDependenciesChecksumMd5() string { + if o == nil || isNil(o.DependenciesChecksumMd5) { var ret string return ret } @@ -373,16 +346,16 @@ func (o *PackageQuarantine) GetDependenciesChecksumMd5() string { // GetDependenciesChecksumMd5Ok returns a tuple with the DependenciesChecksumMd5 field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *PackageQuarantine) GetDependenciesChecksumMd5Ok() (*string, bool) { - if o == nil || o.DependenciesChecksumMd5 == nil { +func (o *PackageCopyResponse) GetDependenciesChecksumMd5Ok() (*string, bool) { + if o == nil || isNil(o.DependenciesChecksumMd5) { return nil, false } return o.DependenciesChecksumMd5, true } // HasDependenciesChecksumMd5 returns a boolean if a field has been set. -func (o *PackageQuarantine) HasDependenciesChecksumMd5() bool { - if o != nil && o.DependenciesChecksumMd5 != nil { +func (o *PackageCopyResponse) HasDependenciesChecksumMd5() bool { + if o != nil && !isNil(o.DependenciesChecksumMd5) { return true } @@ -390,13 +363,13 @@ func (o *PackageQuarantine) HasDependenciesChecksumMd5() bool { } // SetDependenciesChecksumMd5 gets a reference to the given string and assigns it to the DependenciesChecksumMd5 field. -func (o *PackageQuarantine) SetDependenciesChecksumMd5(v string) { +func (o *PackageCopyResponse) SetDependenciesChecksumMd5(v string) { o.DependenciesChecksumMd5 = &v } // GetDependenciesUrl returns the DependenciesUrl field value if set, zero value otherwise. -func (o *PackageQuarantine) GetDependenciesUrl() string { - if o == nil || o.DependenciesUrl == nil { +func (o *PackageCopyResponse) GetDependenciesUrl() string { + if o == nil || isNil(o.DependenciesUrl) { var ret string return ret } @@ -405,16 +378,16 @@ func (o *PackageQuarantine) GetDependenciesUrl() string { // GetDependenciesUrlOk returns a tuple with the DependenciesUrl field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *PackageQuarantine) GetDependenciesUrlOk() (*string, bool) { - if o == nil || o.DependenciesUrl == nil { +func (o *PackageCopyResponse) GetDependenciesUrlOk() (*string, bool) { + if o == nil || isNil(o.DependenciesUrl) { return nil, false } return o.DependenciesUrl, true } // HasDependenciesUrl returns a boolean if a field has been set. -func (o *PackageQuarantine) HasDependenciesUrl() bool { - if o != nil && o.DependenciesUrl != nil { +func (o *PackageCopyResponse) HasDependenciesUrl() bool { + if o != nil && !isNil(o.DependenciesUrl) { return true } @@ -422,13 +395,13 @@ func (o *PackageQuarantine) HasDependenciesUrl() bool { } // SetDependenciesUrl gets a reference to the given string and assigns it to the DependenciesUrl field. -func (o *PackageQuarantine) SetDependenciesUrl(v string) { +func (o *PackageCopyResponse) SetDependenciesUrl(v string) { o.DependenciesUrl = &v } // GetDescription returns the Description field value if set, zero value otherwise. -func (o *PackageQuarantine) GetDescription() string { - if o == nil || o.Description == nil { +func (o *PackageCopyResponse) GetDescription() string { + if o == nil || isNil(o.Description) { var ret string return ret } @@ -437,16 +410,16 @@ func (o *PackageQuarantine) GetDescription() string { // GetDescriptionOk returns a tuple with the Description field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *PackageQuarantine) GetDescriptionOk() (*string, bool) { - if o == nil || o.Description == nil { +func (o *PackageCopyResponse) GetDescriptionOk() (*string, bool) { + if o == nil || isNil(o.Description) { return nil, false } return o.Description, true } // HasDescription returns a boolean if a field has been set. -func (o *PackageQuarantine) HasDescription() bool { - if o != nil && o.Description != nil { +func (o *PackageCopyResponse) HasDescription() bool { + if o != nil && !isNil(o.Description) { return true } @@ -454,77 +427,88 @@ func (o *PackageQuarantine) HasDescription() bool { } // SetDescription gets a reference to the given string and assigns it to the Description field. -func (o *PackageQuarantine) SetDescription(v string) { +func (o *PackageCopyResponse) SetDescription(v string) { o.Description = &v } -// GetDistro returns the Distro field value if set, zero value otherwise. -func (o *PackageQuarantine) GetDistro() map[string]interface{} { - if o == nil || o.Distro == nil { - var ret map[string]interface{} +// GetDistro returns the Distro field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *PackageCopyResponse) GetDistro() Distribution { + if o == nil || isNil(o.Distro.Get()) { + var ret Distribution return ret } - return o.Distro + return *o.Distro.Get() } // GetDistroOk returns a tuple with the Distro field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *PackageQuarantine) GetDistroOk() (map[string]interface{}, bool) { - if o == nil || o.Distro == nil { +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *PackageCopyResponse) GetDistroOk() (*Distribution, bool) { + if o == nil { return nil, false } - return o.Distro, true + return o.Distro.Get(), o.Distro.IsSet() } // HasDistro returns a boolean if a field has been set. -func (o *PackageQuarantine) HasDistro() bool { - if o != nil && o.Distro != nil { +func (o *PackageCopyResponse) HasDistro() bool { + if o != nil && o.Distro.IsSet() { return true } return false } -// SetDistro gets a reference to the given map[string]interface{} and assigns it to the Distro field. -func (o *PackageQuarantine) SetDistro(v map[string]interface{}) { - o.Distro = v +// SetDistro gets a reference to the given NullableDistribution and assigns it to the Distro field. +func (o *PackageCopyResponse) SetDistro(v Distribution) { + o.Distro.Set(&v) +} + +// SetDistroNil sets the value for Distro to be an explicit nil +func (o *PackageCopyResponse) SetDistroNil() { + o.Distro.Set(nil) +} + +// UnsetDistro ensures that no value is present for Distro, not even an explicit nil +func (o *PackageCopyResponse) UnsetDistro() { + o.Distro.Unset() } // GetDistroVersion returns the DistroVersion field value if set, zero value otherwise. -func (o *PackageQuarantine) GetDistroVersion() map[string]interface{} { - if o == nil || o.DistroVersion == nil { - var ret map[string]interface{} +func (o *PackageCopyResponse) GetDistroVersion() DistributionVersion { + if o == nil || isNil(o.DistroVersion) { + var ret DistributionVersion return ret } - return o.DistroVersion + return *o.DistroVersion } // GetDistroVersionOk returns a tuple with the DistroVersion field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *PackageQuarantine) GetDistroVersionOk() (map[string]interface{}, bool) { - if o == nil || o.DistroVersion == nil { +func (o *PackageCopyResponse) GetDistroVersionOk() (*DistributionVersion, bool) { + if o == nil || isNil(o.DistroVersion) { return nil, false } return o.DistroVersion, true } // HasDistroVersion returns a boolean if a field has been set. -func (o *PackageQuarantine) HasDistroVersion() bool { - if o != nil && o.DistroVersion != nil { +func (o *PackageCopyResponse) HasDistroVersion() bool { + if o != nil && !isNil(o.DistroVersion) { return true } return false } -// SetDistroVersion gets a reference to the given map[string]interface{} and assigns it to the DistroVersion field. -func (o *PackageQuarantine) SetDistroVersion(v map[string]interface{}) { - o.DistroVersion = v +// SetDistroVersion gets a reference to the given DistributionVersion and assigns it to the DistroVersion field. +func (o *PackageCopyResponse) SetDistroVersion(v DistributionVersion) { + o.DistroVersion = &v } // GetDownloads returns the Downloads field value if set, zero value otherwise. -func (o *PackageQuarantine) GetDownloads() int64 { - if o == nil || o.Downloads == nil { +func (o *PackageCopyResponse) GetDownloads() int64 { + if o == nil || isNil(o.Downloads) { var ret int64 return ret } @@ -533,16 +517,16 @@ func (o *PackageQuarantine) GetDownloads() int64 { // GetDownloadsOk returns a tuple with the Downloads field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *PackageQuarantine) GetDownloadsOk() (*int64, bool) { - if o == nil || o.Downloads == nil { +func (o *PackageCopyResponse) GetDownloadsOk() (*int64, bool) { + if o == nil || isNil(o.Downloads) { return nil, false } return o.Downloads, true } // HasDownloads returns a boolean if a field has been set. -func (o *PackageQuarantine) HasDownloads() bool { - if o != nil && o.Downloads != nil { +func (o *PackageCopyResponse) HasDownloads() bool { + if o != nil && !isNil(o.Downloads) { return true } @@ -550,13 +534,13 @@ func (o *PackageQuarantine) HasDownloads() bool { } // SetDownloads gets a reference to the given int64 and assigns it to the Downloads field. -func (o *PackageQuarantine) SetDownloads(v int64) { +func (o *PackageCopyResponse) SetDownloads(v int64) { o.Downloads = &v } // GetEpoch returns the Epoch field value if set, zero value otherwise. -func (o *PackageQuarantine) GetEpoch() int64 { - if o == nil || o.Epoch == nil { +func (o *PackageCopyResponse) GetEpoch() int64 { + if o == nil || isNil(o.Epoch) { var ret int64 return ret } @@ -565,16 +549,16 @@ func (o *PackageQuarantine) GetEpoch() int64 { // GetEpochOk returns a tuple with the Epoch field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *PackageQuarantine) GetEpochOk() (*int64, bool) { - if o == nil || o.Epoch == nil { +func (o *PackageCopyResponse) GetEpochOk() (*int64, bool) { + if o == nil || isNil(o.Epoch) { return nil, false } return o.Epoch, true } // HasEpoch returns a boolean if a field has been set. -func (o *PackageQuarantine) HasEpoch() bool { - if o != nil && o.Epoch != nil { +func (o *PackageCopyResponse) HasEpoch() bool { + if o != nil && !isNil(o.Epoch) { return true } @@ -582,13 +566,13 @@ func (o *PackageQuarantine) HasEpoch() bool { } // SetEpoch gets a reference to the given int64 and assigns it to the Epoch field. -func (o *PackageQuarantine) SetEpoch(v int64) { +func (o *PackageCopyResponse) SetEpoch(v int64) { o.Epoch = &v } // GetExtension returns the Extension field value if set, zero value otherwise. -func (o *PackageQuarantine) GetExtension() string { - if o == nil || o.Extension == nil { +func (o *PackageCopyResponse) GetExtension() string { + if o == nil || isNil(o.Extension) { var ret string return ret } @@ -597,16 +581,16 @@ func (o *PackageQuarantine) GetExtension() string { // GetExtensionOk returns a tuple with the Extension field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *PackageQuarantine) GetExtensionOk() (*string, bool) { - if o == nil || o.Extension == nil { +func (o *PackageCopyResponse) GetExtensionOk() (*string, bool) { + if o == nil || isNil(o.Extension) { return nil, false } return o.Extension, true } // HasExtension returns a boolean if a field has been set. -func (o *PackageQuarantine) HasExtension() bool { - if o != nil && o.Extension != nil { +func (o *PackageCopyResponse) HasExtension() bool { + if o != nil && !isNil(o.Extension) { return true } @@ -614,13 +598,13 @@ func (o *PackageQuarantine) HasExtension() bool { } // SetExtension gets a reference to the given string and assigns it to the Extension field. -func (o *PackageQuarantine) SetExtension(v string) { +func (o *PackageCopyResponse) SetExtension(v string) { o.Extension = &v } // GetFilename returns the Filename field value if set, zero value otherwise. -func (o *PackageQuarantine) GetFilename() string { - if o == nil || o.Filename == nil { +func (o *PackageCopyResponse) GetFilename() string { + if o == nil || isNil(o.Filename) { var ret string return ret } @@ -629,16 +613,16 @@ func (o *PackageQuarantine) GetFilename() string { // GetFilenameOk returns a tuple with the Filename field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *PackageQuarantine) GetFilenameOk() (*string, bool) { - if o == nil || o.Filename == nil { +func (o *PackageCopyResponse) GetFilenameOk() (*string, bool) { + if o == nil || isNil(o.Filename) { return nil, false } return o.Filename, true } // HasFilename returns a boolean if a field has been set. -func (o *PackageQuarantine) HasFilename() bool { - if o != nil && o.Filename != nil { +func (o *PackageCopyResponse) HasFilename() bool { + if o != nil && !isNil(o.Filename) { return true } @@ -646,14 +630,14 @@ func (o *PackageQuarantine) HasFilename() bool { } // SetFilename gets a reference to the given string and assigns it to the Filename field. -func (o *PackageQuarantine) SetFilename(v string) { +func (o *PackageCopyResponse) SetFilename(v string) { o.Filename = &v } // GetFiles returns the Files field value if set, zero value otherwise. -func (o *PackageQuarantine) GetFiles() []PackagesOwnerRepoFiles { - if o == nil || o.Files == nil { - var ret []PackagesOwnerRepoFiles +func (o *PackageCopyResponse) GetFiles() []PackageFile { + if o == nil || isNil(o.Files) { + var ret []PackageFile return ret } return o.Files @@ -661,30 +645,30 @@ func (o *PackageQuarantine) GetFiles() []PackagesOwnerRepoFiles { // GetFilesOk returns a tuple with the Files field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *PackageQuarantine) GetFilesOk() ([]PackagesOwnerRepoFiles, bool) { - if o == nil || o.Files == nil { +func (o *PackageCopyResponse) GetFilesOk() ([]PackageFile, bool) { + if o == nil || isNil(o.Files) { return nil, false } return o.Files, true } // HasFiles returns a boolean if a field has been set. -func (o *PackageQuarantine) HasFiles() bool { - if o != nil && o.Files != nil { +func (o *PackageCopyResponse) HasFiles() bool { + if o != nil && !isNil(o.Files) { return true } return false } -// SetFiles gets a reference to the given []PackagesOwnerRepoFiles and assigns it to the Files field. -func (o *PackageQuarantine) SetFiles(v []PackagesOwnerRepoFiles) { +// SetFiles gets a reference to the given []PackageFile and assigns it to the Files field. +func (o *PackageCopyResponse) SetFiles(v []PackageFile) { o.Files = v } // GetFormat returns the Format field value if set, zero value otherwise. -func (o *PackageQuarantine) GetFormat() string { - if o == nil || o.Format == nil { +func (o *PackageCopyResponse) GetFormat() string { + if o == nil || isNil(o.Format) { var ret string return ret } @@ -693,16 +677,16 @@ func (o *PackageQuarantine) GetFormat() string { // GetFormatOk returns a tuple with the Format field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *PackageQuarantine) GetFormatOk() (*string, bool) { - if o == nil || o.Format == nil { +func (o *PackageCopyResponse) GetFormatOk() (*string, bool) { + if o == nil || isNil(o.Format) { return nil, false } return o.Format, true } // HasFormat returns a boolean if a field has been set. -func (o *PackageQuarantine) HasFormat() bool { - if o != nil && o.Format != nil { +func (o *PackageCopyResponse) HasFormat() bool { + if o != nil && !isNil(o.Format) { return true } @@ -710,13 +694,13 @@ func (o *PackageQuarantine) HasFormat() bool { } // SetFormat gets a reference to the given string and assigns it to the Format field. -func (o *PackageQuarantine) SetFormat(v string) { +func (o *PackageCopyResponse) SetFormat(v string) { o.Format = &v } // GetFormatUrl returns the FormatUrl field value if set, zero value otherwise. -func (o *PackageQuarantine) GetFormatUrl() string { - if o == nil || o.FormatUrl == nil { +func (o *PackageCopyResponse) GetFormatUrl() string { + if o == nil || isNil(o.FormatUrl) { var ret string return ret } @@ -725,16 +709,16 @@ func (o *PackageQuarantine) GetFormatUrl() string { // GetFormatUrlOk returns a tuple with the FormatUrl field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *PackageQuarantine) GetFormatUrlOk() (*string, bool) { - if o == nil || o.FormatUrl == nil { +func (o *PackageCopyResponse) GetFormatUrlOk() (*string, bool) { + if o == nil || isNil(o.FormatUrl) { return nil, false } return o.FormatUrl, true } // HasFormatUrl returns a boolean if a field has been set. -func (o *PackageQuarantine) HasFormatUrl() bool { - if o != nil && o.FormatUrl != nil { +func (o *PackageCopyResponse) HasFormatUrl() bool { + if o != nil && !isNil(o.FormatUrl) { return true } @@ -742,13 +726,13 @@ func (o *PackageQuarantine) HasFormatUrl() bool { } // SetFormatUrl gets a reference to the given string and assigns it to the FormatUrl field. -func (o *PackageQuarantine) SetFormatUrl(v string) { +func (o *PackageCopyResponse) SetFormatUrl(v string) { o.FormatUrl = &v } // GetIdentifierPerm returns the IdentifierPerm field value if set, zero value otherwise. -func (o *PackageQuarantine) GetIdentifierPerm() string { - if o == nil || o.IdentifierPerm == nil { +func (o *PackageCopyResponse) GetIdentifierPerm() string { + if o == nil || isNil(o.IdentifierPerm) { var ret string return ret } @@ -757,16 +741,16 @@ func (o *PackageQuarantine) GetIdentifierPerm() string { // GetIdentifierPermOk returns a tuple with the IdentifierPerm field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *PackageQuarantine) GetIdentifierPermOk() (*string, bool) { - if o == nil || o.IdentifierPerm == nil { +func (o *PackageCopyResponse) GetIdentifierPermOk() (*string, bool) { + if o == nil || isNil(o.IdentifierPerm) { return nil, false } return o.IdentifierPerm, true } // HasIdentifierPerm returns a boolean if a field has been set. -func (o *PackageQuarantine) HasIdentifierPerm() bool { - if o != nil && o.IdentifierPerm != nil { +func (o *PackageCopyResponse) HasIdentifierPerm() bool { + if o != nil && !isNil(o.IdentifierPerm) { return true } @@ -774,13 +758,13 @@ func (o *PackageQuarantine) HasIdentifierPerm() bool { } // SetIdentifierPerm gets a reference to the given string and assigns it to the IdentifierPerm field. -func (o *PackageQuarantine) SetIdentifierPerm(v string) { +func (o *PackageCopyResponse) SetIdentifierPerm(v string) { o.IdentifierPerm = &v } // GetIndexed returns the Indexed field value if set, zero value otherwise. -func (o *PackageQuarantine) GetIndexed() bool { - if o == nil || o.Indexed == nil { +func (o *PackageCopyResponse) GetIndexed() bool { + if o == nil || isNil(o.Indexed) { var ret bool return ret } @@ -789,16 +773,16 @@ func (o *PackageQuarantine) GetIndexed() bool { // GetIndexedOk returns a tuple with the Indexed field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *PackageQuarantine) GetIndexedOk() (*bool, bool) { - if o == nil || o.Indexed == nil { +func (o *PackageCopyResponse) GetIndexedOk() (*bool, bool) { + if o == nil || isNil(o.Indexed) { return nil, false } return o.Indexed, true } // HasIndexed returns a boolean if a field has been set. -func (o *PackageQuarantine) HasIndexed() bool { - if o != nil && o.Indexed != nil { +func (o *PackageCopyResponse) HasIndexed() bool { + if o != nil && !isNil(o.Indexed) { return true } @@ -806,13 +790,13 @@ func (o *PackageQuarantine) HasIndexed() bool { } // SetIndexed gets a reference to the given bool and assigns it to the Indexed field. -func (o *PackageQuarantine) SetIndexed(v bool) { +func (o *PackageCopyResponse) SetIndexed(v bool) { o.Indexed = &v } // GetIsDownloadable returns the IsDownloadable field value if set, zero value otherwise. -func (o *PackageQuarantine) GetIsDownloadable() bool { - if o == nil || o.IsDownloadable == nil { +func (o *PackageCopyResponse) GetIsDownloadable() bool { + if o == nil || isNil(o.IsDownloadable) { var ret bool return ret } @@ -821,16 +805,16 @@ func (o *PackageQuarantine) GetIsDownloadable() bool { // GetIsDownloadableOk returns a tuple with the IsDownloadable field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *PackageQuarantine) GetIsDownloadableOk() (*bool, bool) { - if o == nil || o.IsDownloadable == nil { +func (o *PackageCopyResponse) GetIsDownloadableOk() (*bool, bool) { + if o == nil || isNil(o.IsDownloadable) { return nil, false } return o.IsDownloadable, true } // HasIsDownloadable returns a boolean if a field has been set. -func (o *PackageQuarantine) HasIsDownloadable() bool { - if o != nil && o.IsDownloadable != nil { +func (o *PackageCopyResponse) HasIsDownloadable() bool { + if o != nil && !isNil(o.IsDownloadable) { return true } @@ -838,13 +822,13 @@ func (o *PackageQuarantine) HasIsDownloadable() bool { } // SetIsDownloadable gets a reference to the given bool and assigns it to the IsDownloadable field. -func (o *PackageQuarantine) SetIsDownloadable(v bool) { +func (o *PackageCopyResponse) SetIsDownloadable(v bool) { o.IsDownloadable = &v } // GetIsQuarantined returns the IsQuarantined field value if set, zero value otherwise. -func (o *PackageQuarantine) GetIsQuarantined() bool { - if o == nil || o.IsQuarantined == nil { +func (o *PackageCopyResponse) GetIsQuarantined() bool { + if o == nil || isNil(o.IsQuarantined) { var ret bool return ret } @@ -853,16 +837,16 @@ func (o *PackageQuarantine) GetIsQuarantined() bool { // GetIsQuarantinedOk returns a tuple with the IsQuarantined field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *PackageQuarantine) GetIsQuarantinedOk() (*bool, bool) { - if o == nil || o.IsQuarantined == nil { +func (o *PackageCopyResponse) GetIsQuarantinedOk() (*bool, bool) { + if o == nil || isNil(o.IsQuarantined) { return nil, false } return o.IsQuarantined, true } // HasIsQuarantined returns a boolean if a field has been set. -func (o *PackageQuarantine) HasIsQuarantined() bool { - if o != nil && o.IsQuarantined != nil { +func (o *PackageCopyResponse) HasIsQuarantined() bool { + if o != nil && !isNil(o.IsQuarantined) { return true } @@ -870,13 +854,13 @@ func (o *PackageQuarantine) HasIsQuarantined() bool { } // SetIsQuarantined gets a reference to the given bool and assigns it to the IsQuarantined field. -func (o *PackageQuarantine) SetIsQuarantined(v bool) { +func (o *PackageCopyResponse) SetIsQuarantined(v bool) { o.IsQuarantined = &v } // GetIsSyncAwaiting returns the IsSyncAwaiting field value if set, zero value otherwise. -func (o *PackageQuarantine) GetIsSyncAwaiting() bool { - if o == nil || o.IsSyncAwaiting == nil { +func (o *PackageCopyResponse) GetIsSyncAwaiting() bool { + if o == nil || isNil(o.IsSyncAwaiting) { var ret bool return ret } @@ -885,16 +869,16 @@ func (o *PackageQuarantine) GetIsSyncAwaiting() bool { // GetIsSyncAwaitingOk returns a tuple with the IsSyncAwaiting field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *PackageQuarantine) GetIsSyncAwaitingOk() (*bool, bool) { - if o == nil || o.IsSyncAwaiting == nil { +func (o *PackageCopyResponse) GetIsSyncAwaitingOk() (*bool, bool) { + if o == nil || isNil(o.IsSyncAwaiting) { return nil, false } return o.IsSyncAwaiting, true } // HasIsSyncAwaiting returns a boolean if a field has been set. -func (o *PackageQuarantine) HasIsSyncAwaiting() bool { - if o != nil && o.IsSyncAwaiting != nil { +func (o *PackageCopyResponse) HasIsSyncAwaiting() bool { + if o != nil && !isNil(o.IsSyncAwaiting) { return true } @@ -902,13 +886,13 @@ func (o *PackageQuarantine) HasIsSyncAwaiting() bool { } // SetIsSyncAwaiting gets a reference to the given bool and assigns it to the IsSyncAwaiting field. -func (o *PackageQuarantine) SetIsSyncAwaiting(v bool) { +func (o *PackageCopyResponse) SetIsSyncAwaiting(v bool) { o.IsSyncAwaiting = &v } // GetIsSyncCompleted returns the IsSyncCompleted field value if set, zero value otherwise. -func (o *PackageQuarantine) GetIsSyncCompleted() bool { - if o == nil || o.IsSyncCompleted == nil { +func (o *PackageCopyResponse) GetIsSyncCompleted() bool { + if o == nil || isNil(o.IsSyncCompleted) { var ret bool return ret } @@ -917,16 +901,16 @@ func (o *PackageQuarantine) GetIsSyncCompleted() bool { // GetIsSyncCompletedOk returns a tuple with the IsSyncCompleted field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *PackageQuarantine) GetIsSyncCompletedOk() (*bool, bool) { - if o == nil || o.IsSyncCompleted == nil { +func (o *PackageCopyResponse) GetIsSyncCompletedOk() (*bool, bool) { + if o == nil || isNil(o.IsSyncCompleted) { return nil, false } return o.IsSyncCompleted, true } // HasIsSyncCompleted returns a boolean if a field has been set. -func (o *PackageQuarantine) HasIsSyncCompleted() bool { - if o != nil && o.IsSyncCompleted != nil { +func (o *PackageCopyResponse) HasIsSyncCompleted() bool { + if o != nil && !isNil(o.IsSyncCompleted) { return true } @@ -934,13 +918,13 @@ func (o *PackageQuarantine) HasIsSyncCompleted() bool { } // SetIsSyncCompleted gets a reference to the given bool and assigns it to the IsSyncCompleted field. -func (o *PackageQuarantine) SetIsSyncCompleted(v bool) { +func (o *PackageCopyResponse) SetIsSyncCompleted(v bool) { o.IsSyncCompleted = &v } // GetIsSyncFailed returns the IsSyncFailed field value if set, zero value otherwise. -func (o *PackageQuarantine) GetIsSyncFailed() bool { - if o == nil || o.IsSyncFailed == nil { +func (o *PackageCopyResponse) GetIsSyncFailed() bool { + if o == nil || isNil(o.IsSyncFailed) { var ret bool return ret } @@ -949,16 +933,16 @@ func (o *PackageQuarantine) GetIsSyncFailed() bool { // GetIsSyncFailedOk returns a tuple with the IsSyncFailed field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *PackageQuarantine) GetIsSyncFailedOk() (*bool, bool) { - if o == nil || o.IsSyncFailed == nil { +func (o *PackageCopyResponse) GetIsSyncFailedOk() (*bool, bool) { + if o == nil || isNil(o.IsSyncFailed) { return nil, false } return o.IsSyncFailed, true } // HasIsSyncFailed returns a boolean if a field has been set. -func (o *PackageQuarantine) HasIsSyncFailed() bool { - if o != nil && o.IsSyncFailed != nil { +func (o *PackageCopyResponse) HasIsSyncFailed() bool { + if o != nil && !isNil(o.IsSyncFailed) { return true } @@ -966,13 +950,13 @@ func (o *PackageQuarantine) HasIsSyncFailed() bool { } // SetIsSyncFailed gets a reference to the given bool and assigns it to the IsSyncFailed field. -func (o *PackageQuarantine) SetIsSyncFailed(v bool) { +func (o *PackageCopyResponse) SetIsSyncFailed(v bool) { o.IsSyncFailed = &v } // GetIsSyncInFlight returns the IsSyncInFlight field value if set, zero value otherwise. -func (o *PackageQuarantine) GetIsSyncInFlight() bool { - if o == nil || o.IsSyncInFlight == nil { +func (o *PackageCopyResponse) GetIsSyncInFlight() bool { + if o == nil || isNil(o.IsSyncInFlight) { var ret bool return ret } @@ -981,16 +965,16 @@ func (o *PackageQuarantine) GetIsSyncInFlight() bool { // GetIsSyncInFlightOk returns a tuple with the IsSyncInFlight field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *PackageQuarantine) GetIsSyncInFlightOk() (*bool, bool) { - if o == nil || o.IsSyncInFlight == nil { +func (o *PackageCopyResponse) GetIsSyncInFlightOk() (*bool, bool) { + if o == nil || isNil(o.IsSyncInFlight) { return nil, false } return o.IsSyncInFlight, true } // HasIsSyncInFlight returns a boolean if a field has been set. -func (o *PackageQuarantine) HasIsSyncInFlight() bool { - if o != nil && o.IsSyncInFlight != nil { +func (o *PackageCopyResponse) HasIsSyncInFlight() bool { + if o != nil && !isNil(o.IsSyncInFlight) { return true } @@ -998,13 +982,13 @@ func (o *PackageQuarantine) HasIsSyncInFlight() bool { } // SetIsSyncInFlight gets a reference to the given bool and assigns it to the IsSyncInFlight field. -func (o *PackageQuarantine) SetIsSyncInFlight(v bool) { +func (o *PackageCopyResponse) SetIsSyncInFlight(v bool) { o.IsSyncInFlight = &v } // GetIsSyncInProgress returns the IsSyncInProgress field value if set, zero value otherwise. -func (o *PackageQuarantine) GetIsSyncInProgress() bool { - if o == nil || o.IsSyncInProgress == nil { +func (o *PackageCopyResponse) GetIsSyncInProgress() bool { + if o == nil || isNil(o.IsSyncInProgress) { var ret bool return ret } @@ -1013,16 +997,16 @@ func (o *PackageQuarantine) GetIsSyncInProgress() bool { // GetIsSyncInProgressOk returns a tuple with the IsSyncInProgress field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *PackageQuarantine) GetIsSyncInProgressOk() (*bool, bool) { - if o == nil || o.IsSyncInProgress == nil { +func (o *PackageCopyResponse) GetIsSyncInProgressOk() (*bool, bool) { + if o == nil || isNil(o.IsSyncInProgress) { return nil, false } return o.IsSyncInProgress, true } // HasIsSyncInProgress returns a boolean if a field has been set. -func (o *PackageQuarantine) HasIsSyncInProgress() bool { - if o != nil && o.IsSyncInProgress != nil { +func (o *PackageCopyResponse) HasIsSyncInProgress() bool { + if o != nil && !isNil(o.IsSyncInProgress) { return true } @@ -1030,13 +1014,13 @@ func (o *PackageQuarantine) HasIsSyncInProgress() bool { } // SetIsSyncInProgress gets a reference to the given bool and assigns it to the IsSyncInProgress field. -func (o *PackageQuarantine) SetIsSyncInProgress(v bool) { +func (o *PackageCopyResponse) SetIsSyncInProgress(v bool) { o.IsSyncInProgress = &v } // GetLicense returns the License field value if set, zero value otherwise. -func (o *PackageQuarantine) GetLicense() string { - if o == nil || o.License == nil { +func (o *PackageCopyResponse) GetLicense() string { + if o == nil || isNil(o.License) { var ret string return ret } @@ -1045,16 +1029,16 @@ func (o *PackageQuarantine) GetLicense() string { // GetLicenseOk returns a tuple with the License field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *PackageQuarantine) GetLicenseOk() (*string, bool) { - if o == nil || o.License == nil { +func (o *PackageCopyResponse) GetLicenseOk() (*string, bool) { + if o == nil || isNil(o.License) { return nil, false } return o.License, true } // HasLicense returns a boolean if a field has been set. -func (o *PackageQuarantine) HasLicense() bool { - if o != nil && o.License != nil { +func (o *PackageCopyResponse) HasLicense() bool { + if o != nil && !isNil(o.License) { return true } @@ -1062,13 +1046,13 @@ func (o *PackageQuarantine) HasLicense() bool { } // SetLicense gets a reference to the given string and assigns it to the License field. -func (o *PackageQuarantine) SetLicense(v string) { +func (o *PackageCopyResponse) SetLicense(v string) { o.License = &v } // GetName returns the Name field value if set, zero value otherwise. -func (o *PackageQuarantine) GetName() string { - if o == nil || o.Name == nil { +func (o *PackageCopyResponse) GetName() string { + if o == nil || isNil(o.Name) { var ret string return ret } @@ -1077,16 +1061,16 @@ func (o *PackageQuarantine) GetName() string { // GetNameOk returns a tuple with the Name field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *PackageQuarantine) GetNameOk() (*string, bool) { - if o == nil || o.Name == nil { +func (o *PackageCopyResponse) GetNameOk() (*string, bool) { + if o == nil || isNil(o.Name) { return nil, false } return o.Name, true } // HasName returns a boolean if a field has been set. -func (o *PackageQuarantine) HasName() bool { - if o != nil && o.Name != nil { +func (o *PackageCopyResponse) HasName() bool { + if o != nil && !isNil(o.Name) { return true } @@ -1094,13 +1078,13 @@ func (o *PackageQuarantine) HasName() bool { } // SetName gets a reference to the given string and assigns it to the Name field. -func (o *PackageQuarantine) SetName(v string) { +func (o *PackageCopyResponse) SetName(v string) { o.Name = &v } // GetNamespace returns the Namespace field value if set, zero value otherwise. -func (o *PackageQuarantine) GetNamespace() string { - if o == nil || o.Namespace == nil { +func (o *PackageCopyResponse) GetNamespace() string { + if o == nil || isNil(o.Namespace) { var ret string return ret } @@ -1109,16 +1093,16 @@ func (o *PackageQuarantine) GetNamespace() string { // GetNamespaceOk returns a tuple with the Namespace field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *PackageQuarantine) GetNamespaceOk() (*string, bool) { - if o == nil || o.Namespace == nil { +func (o *PackageCopyResponse) GetNamespaceOk() (*string, bool) { + if o == nil || isNil(o.Namespace) { return nil, false } return o.Namespace, true } // HasNamespace returns a boolean if a field has been set. -func (o *PackageQuarantine) HasNamespace() bool { - if o != nil && o.Namespace != nil { +func (o *PackageCopyResponse) HasNamespace() bool { + if o != nil && !isNil(o.Namespace) { return true } @@ -1126,13 +1110,13 @@ func (o *PackageQuarantine) HasNamespace() bool { } // SetNamespace gets a reference to the given string and assigns it to the Namespace field. -func (o *PackageQuarantine) SetNamespace(v string) { +func (o *PackageCopyResponse) SetNamespace(v string) { o.Namespace = &v } // GetNamespaceUrl returns the NamespaceUrl field value if set, zero value otherwise. -func (o *PackageQuarantine) GetNamespaceUrl() string { - if o == nil || o.NamespaceUrl == nil { +func (o *PackageCopyResponse) GetNamespaceUrl() string { + if o == nil || isNil(o.NamespaceUrl) { var ret string return ret } @@ -1141,16 +1125,16 @@ func (o *PackageQuarantine) GetNamespaceUrl() string { // GetNamespaceUrlOk returns a tuple with the NamespaceUrl field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *PackageQuarantine) GetNamespaceUrlOk() (*string, bool) { - if o == nil || o.NamespaceUrl == nil { +func (o *PackageCopyResponse) GetNamespaceUrlOk() (*string, bool) { + if o == nil || isNil(o.NamespaceUrl) { return nil, false } return o.NamespaceUrl, true } // HasNamespaceUrl returns a boolean if a field has been set. -func (o *PackageQuarantine) HasNamespaceUrl() bool { - if o != nil && o.NamespaceUrl != nil { +func (o *PackageCopyResponse) HasNamespaceUrl() bool { + if o != nil && !isNil(o.NamespaceUrl) { return true } @@ -1158,13 +1142,13 @@ func (o *PackageQuarantine) HasNamespaceUrl() bool { } // SetNamespaceUrl gets a reference to the given string and assigns it to the NamespaceUrl field. -func (o *PackageQuarantine) SetNamespaceUrl(v string) { +func (o *PackageCopyResponse) SetNamespaceUrl(v string) { o.NamespaceUrl = &v } // GetNumFiles returns the NumFiles field value if set, zero value otherwise. -func (o *PackageQuarantine) GetNumFiles() int64 { - if o == nil || o.NumFiles == nil { +func (o *PackageCopyResponse) GetNumFiles() int64 { + if o == nil || isNil(o.NumFiles) { var ret int64 return ret } @@ -1173,16 +1157,16 @@ func (o *PackageQuarantine) GetNumFiles() int64 { // GetNumFilesOk returns a tuple with the NumFiles field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *PackageQuarantine) GetNumFilesOk() (*int64, bool) { - if o == nil || o.NumFiles == nil { +func (o *PackageCopyResponse) GetNumFilesOk() (*int64, bool) { + if o == nil || isNil(o.NumFiles) { return nil, false } return o.NumFiles, true } // HasNumFiles returns a boolean if a field has been set. -func (o *PackageQuarantine) HasNumFiles() bool { - if o != nil && o.NumFiles != nil { +func (o *PackageCopyResponse) HasNumFiles() bool { + if o != nil && !isNil(o.NumFiles) { return true } @@ -1190,13 +1174,77 @@ func (o *PackageQuarantine) HasNumFiles() bool { } // SetNumFiles gets a reference to the given int64 and assigns it to the NumFiles field. -func (o *PackageQuarantine) SetNumFiles(v int64) { +func (o *PackageCopyResponse) SetNumFiles(v int64) { o.NumFiles = &v } +// GetOriginRepository returns the OriginRepository field value if set, zero value otherwise. +func (o *PackageCopyResponse) GetOriginRepository() string { + if o == nil || isNil(o.OriginRepository) { + var ret string + return ret + } + return *o.OriginRepository +} + +// GetOriginRepositoryOk returns a tuple with the OriginRepository field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *PackageCopyResponse) GetOriginRepositoryOk() (*string, bool) { + if o == nil || isNil(o.OriginRepository) { + return nil, false + } + return o.OriginRepository, true +} + +// HasOriginRepository returns a boolean if a field has been set. +func (o *PackageCopyResponse) HasOriginRepository() bool { + if o != nil && !isNil(o.OriginRepository) { + return true + } + + return false +} + +// SetOriginRepository gets a reference to the given string and assigns it to the OriginRepository field. +func (o *PackageCopyResponse) SetOriginRepository(v string) { + o.OriginRepository = &v +} + +// GetOriginRepositoryUrl returns the OriginRepositoryUrl field value if set, zero value otherwise. +func (o *PackageCopyResponse) GetOriginRepositoryUrl() string { + if o == nil || isNil(o.OriginRepositoryUrl) { + var ret string + return ret + } + return *o.OriginRepositoryUrl +} + +// GetOriginRepositoryUrlOk returns a tuple with the OriginRepositoryUrl field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *PackageCopyResponse) GetOriginRepositoryUrlOk() (*string, bool) { + if o == nil || isNil(o.OriginRepositoryUrl) { + return nil, false + } + return o.OriginRepositoryUrl, true +} + +// HasOriginRepositoryUrl returns a boolean if a field has been set. +func (o *PackageCopyResponse) HasOriginRepositoryUrl() bool { + if o != nil && !isNil(o.OriginRepositoryUrl) { + return true + } + + return false +} + +// SetOriginRepositoryUrl gets a reference to the given string and assigns it to the OriginRepositoryUrl field. +func (o *PackageCopyResponse) SetOriginRepositoryUrl(v string) { + o.OriginRepositoryUrl = &v +} + // GetPackageType returns the PackageType field value if set, zero value otherwise. -func (o *PackageQuarantine) GetPackageType() int64 { - if o == nil || o.PackageType == nil { +func (o *PackageCopyResponse) GetPackageType() int64 { + if o == nil || isNil(o.PackageType) { var ret int64 return ret } @@ -1205,16 +1253,16 @@ func (o *PackageQuarantine) GetPackageType() int64 { // GetPackageTypeOk returns a tuple with the PackageType field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *PackageQuarantine) GetPackageTypeOk() (*int64, bool) { - if o == nil || o.PackageType == nil { +func (o *PackageCopyResponse) GetPackageTypeOk() (*int64, bool) { + if o == nil || isNil(o.PackageType) { return nil, false } return o.PackageType, true } // HasPackageType returns a boolean if a field has been set. -func (o *PackageQuarantine) HasPackageType() bool { - if o != nil && o.PackageType != nil { +func (o *PackageCopyResponse) HasPackageType() bool { + if o != nil && !isNil(o.PackageType) { return true } @@ -1222,13 +1270,13 @@ func (o *PackageQuarantine) HasPackageType() bool { } // SetPackageType gets a reference to the given int64 and assigns it to the PackageType field. -func (o *PackageQuarantine) SetPackageType(v int64) { +func (o *PackageCopyResponse) SetPackageType(v int64) { o.PackageType = &v } // GetRelease returns the Release field value if set, zero value otherwise. -func (o *PackageQuarantine) GetRelease() string { - if o == nil || o.Release == nil { +func (o *PackageCopyResponse) GetRelease() string { + if o == nil || isNil(o.Release) { var ret string return ret } @@ -1237,16 +1285,16 @@ func (o *PackageQuarantine) GetRelease() string { // GetReleaseOk returns a tuple with the Release field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *PackageQuarantine) GetReleaseOk() (*string, bool) { - if o == nil || o.Release == nil { +func (o *PackageCopyResponse) GetReleaseOk() (*string, bool) { + if o == nil || isNil(o.Release) { return nil, false } return o.Release, true } // HasRelease returns a boolean if a field has been set. -func (o *PackageQuarantine) HasRelease() bool { - if o != nil && o.Release != nil { +func (o *PackageCopyResponse) HasRelease() bool { + if o != nil && !isNil(o.Release) { return true } @@ -1254,13 +1302,13 @@ func (o *PackageQuarantine) HasRelease() bool { } // SetRelease gets a reference to the given string and assigns it to the Release field. -func (o *PackageQuarantine) SetRelease(v string) { +func (o *PackageCopyResponse) SetRelease(v string) { o.Release = &v } // GetRepository returns the Repository field value if set, zero value otherwise. -func (o *PackageQuarantine) GetRepository() string { - if o == nil || o.Repository == nil { +func (o *PackageCopyResponse) GetRepository() string { + if o == nil || isNil(o.Repository) { var ret string return ret } @@ -1269,16 +1317,16 @@ func (o *PackageQuarantine) GetRepository() string { // GetRepositoryOk returns a tuple with the Repository field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *PackageQuarantine) GetRepositoryOk() (*string, bool) { - if o == nil || o.Repository == nil { +func (o *PackageCopyResponse) GetRepositoryOk() (*string, bool) { + if o == nil || isNil(o.Repository) { return nil, false } return o.Repository, true } // HasRepository returns a boolean if a field has been set. -func (o *PackageQuarantine) HasRepository() bool { - if o != nil && o.Repository != nil { +func (o *PackageCopyResponse) HasRepository() bool { + if o != nil && !isNil(o.Repository) { return true } @@ -1286,13 +1334,13 @@ func (o *PackageQuarantine) HasRepository() bool { } // SetRepository gets a reference to the given string and assigns it to the Repository field. -func (o *PackageQuarantine) SetRepository(v string) { +func (o *PackageCopyResponse) SetRepository(v string) { o.Repository = &v } // GetRepositoryUrl returns the RepositoryUrl field value if set, zero value otherwise. -func (o *PackageQuarantine) GetRepositoryUrl() string { - if o == nil || o.RepositoryUrl == nil { +func (o *PackageCopyResponse) GetRepositoryUrl() string { + if o == nil || isNil(o.RepositoryUrl) { var ret string return ret } @@ -1301,16 +1349,16 @@ func (o *PackageQuarantine) GetRepositoryUrl() string { // GetRepositoryUrlOk returns a tuple with the RepositoryUrl field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *PackageQuarantine) GetRepositoryUrlOk() (*string, bool) { - if o == nil || o.RepositoryUrl == nil { +func (o *PackageCopyResponse) GetRepositoryUrlOk() (*string, bool) { + if o == nil || isNil(o.RepositoryUrl) { return nil, false } return o.RepositoryUrl, true } // HasRepositoryUrl returns a boolean if a field has been set. -func (o *PackageQuarantine) HasRepositoryUrl() bool { - if o != nil && o.RepositoryUrl != nil { +func (o *PackageCopyResponse) HasRepositoryUrl() bool { + if o != nil && !isNil(o.RepositoryUrl) { return true } @@ -1318,14 +1366,14 @@ func (o *PackageQuarantine) HasRepositoryUrl() bool { } // SetRepositoryUrl gets a reference to the given string and assigns it to the RepositoryUrl field. -func (o *PackageQuarantine) SetRepositoryUrl(v string) { +func (o *PackageCopyResponse) SetRepositoryUrl(v string) { o.RepositoryUrl = &v } // GetSecurityScanCompletedAt returns the SecurityScanCompletedAt field value if set, zero value otherwise. -func (o *PackageQuarantine) GetSecurityScanCompletedAt() string { - if o == nil || o.SecurityScanCompletedAt == nil { - var ret string +func (o *PackageCopyResponse) GetSecurityScanCompletedAt() time.Time { + if o == nil || isNil(o.SecurityScanCompletedAt) { + var ret time.Time return ret } return *o.SecurityScanCompletedAt @@ -1333,31 +1381,31 @@ func (o *PackageQuarantine) GetSecurityScanCompletedAt() string { // GetSecurityScanCompletedAtOk returns a tuple with the SecurityScanCompletedAt field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *PackageQuarantine) GetSecurityScanCompletedAtOk() (*string, bool) { - if o == nil || o.SecurityScanCompletedAt == nil { +func (o *PackageCopyResponse) GetSecurityScanCompletedAtOk() (*time.Time, bool) { + if o == nil || isNil(o.SecurityScanCompletedAt) { return nil, false } return o.SecurityScanCompletedAt, true } // HasSecurityScanCompletedAt returns a boolean if a field has been set. -func (o *PackageQuarantine) HasSecurityScanCompletedAt() bool { - if o != nil && o.SecurityScanCompletedAt != nil { +func (o *PackageCopyResponse) HasSecurityScanCompletedAt() bool { + if o != nil && !isNil(o.SecurityScanCompletedAt) { return true } return false } -// SetSecurityScanCompletedAt gets a reference to the given string and assigns it to the SecurityScanCompletedAt field. -func (o *PackageQuarantine) SetSecurityScanCompletedAt(v string) { +// SetSecurityScanCompletedAt gets a reference to the given time.Time and assigns it to the SecurityScanCompletedAt field. +func (o *PackageCopyResponse) SetSecurityScanCompletedAt(v time.Time) { o.SecurityScanCompletedAt = &v } // GetSecurityScanStartedAt returns the SecurityScanStartedAt field value if set, zero value otherwise. -func (o *PackageQuarantine) GetSecurityScanStartedAt() string { - if o == nil || o.SecurityScanStartedAt == nil { - var ret string +func (o *PackageCopyResponse) GetSecurityScanStartedAt() time.Time { + if o == nil || isNil(o.SecurityScanStartedAt) { + var ret time.Time return ret } return *o.SecurityScanStartedAt @@ -1365,63 +1413,74 @@ func (o *PackageQuarantine) GetSecurityScanStartedAt() string { // GetSecurityScanStartedAtOk returns a tuple with the SecurityScanStartedAt field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *PackageQuarantine) GetSecurityScanStartedAtOk() (*string, bool) { - if o == nil || o.SecurityScanStartedAt == nil { +func (o *PackageCopyResponse) GetSecurityScanStartedAtOk() (*time.Time, bool) { + if o == nil || isNil(o.SecurityScanStartedAt) { return nil, false } return o.SecurityScanStartedAt, true } // HasSecurityScanStartedAt returns a boolean if a field has been set. -func (o *PackageQuarantine) HasSecurityScanStartedAt() bool { - if o != nil && o.SecurityScanStartedAt != nil { +func (o *PackageCopyResponse) HasSecurityScanStartedAt() bool { + if o != nil && !isNil(o.SecurityScanStartedAt) { return true } return false } -// SetSecurityScanStartedAt gets a reference to the given string and assigns it to the SecurityScanStartedAt field. -func (o *PackageQuarantine) SetSecurityScanStartedAt(v string) { +// SetSecurityScanStartedAt gets a reference to the given time.Time and assigns it to the SecurityScanStartedAt field. +func (o *PackageCopyResponse) SetSecurityScanStartedAt(v time.Time) { o.SecurityScanStartedAt = &v } -// GetSecurityScanStatus returns the SecurityScanStatus field value if set, zero value otherwise. -func (o *PackageQuarantine) GetSecurityScanStatus() string { - if o == nil || o.SecurityScanStatus == nil { +// GetSecurityScanStatus returns the SecurityScanStatus field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *PackageCopyResponse) GetSecurityScanStatus() string { + if o == nil || isNil(o.SecurityScanStatus.Get()) { var ret string return ret } - return *o.SecurityScanStatus + return *o.SecurityScanStatus.Get() } // GetSecurityScanStatusOk returns a tuple with the SecurityScanStatus field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *PackageQuarantine) GetSecurityScanStatusOk() (*string, bool) { - if o == nil || o.SecurityScanStatus == nil { +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *PackageCopyResponse) GetSecurityScanStatusOk() (*string, bool) { + if o == nil { return nil, false } - return o.SecurityScanStatus, true + return o.SecurityScanStatus.Get(), o.SecurityScanStatus.IsSet() } // HasSecurityScanStatus returns a boolean if a field has been set. -func (o *PackageQuarantine) HasSecurityScanStatus() bool { - if o != nil && o.SecurityScanStatus != nil { +func (o *PackageCopyResponse) HasSecurityScanStatus() bool { + if o != nil && o.SecurityScanStatus.IsSet() { return true } return false } -// SetSecurityScanStatus gets a reference to the given string and assigns it to the SecurityScanStatus field. -func (o *PackageQuarantine) SetSecurityScanStatus(v string) { - o.SecurityScanStatus = &v +// SetSecurityScanStatus gets a reference to the given NullableString and assigns it to the SecurityScanStatus field. +func (o *PackageCopyResponse) SetSecurityScanStatus(v string) { + o.SecurityScanStatus.Set(&v) +} + +// SetSecurityScanStatusNil sets the value for SecurityScanStatus to be an explicit nil +func (o *PackageCopyResponse) SetSecurityScanStatusNil() { + o.SecurityScanStatus.Set(nil) +} + +// UnsetSecurityScanStatus ensures that no value is present for SecurityScanStatus, not even an explicit nil +func (o *PackageCopyResponse) UnsetSecurityScanStatus() { + o.SecurityScanStatus.Unset() } // GetSecurityScanStatusUpdatedAt returns the SecurityScanStatusUpdatedAt field value if set, zero value otherwise. -func (o *PackageQuarantine) GetSecurityScanStatusUpdatedAt() string { - if o == nil || o.SecurityScanStatusUpdatedAt == nil { - var ret string +func (o *PackageCopyResponse) GetSecurityScanStatusUpdatedAt() time.Time { + if o == nil || isNil(o.SecurityScanStatusUpdatedAt) { + var ret time.Time return ret } return *o.SecurityScanStatusUpdatedAt @@ -1429,30 +1488,30 @@ func (o *PackageQuarantine) GetSecurityScanStatusUpdatedAt() string { // GetSecurityScanStatusUpdatedAtOk returns a tuple with the SecurityScanStatusUpdatedAt field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *PackageQuarantine) GetSecurityScanStatusUpdatedAtOk() (*string, bool) { - if o == nil || o.SecurityScanStatusUpdatedAt == nil { +func (o *PackageCopyResponse) GetSecurityScanStatusUpdatedAtOk() (*time.Time, bool) { + if o == nil || isNil(o.SecurityScanStatusUpdatedAt) { return nil, false } return o.SecurityScanStatusUpdatedAt, true } // HasSecurityScanStatusUpdatedAt returns a boolean if a field has been set. -func (o *PackageQuarantine) HasSecurityScanStatusUpdatedAt() bool { - if o != nil && o.SecurityScanStatusUpdatedAt != nil { +func (o *PackageCopyResponse) HasSecurityScanStatusUpdatedAt() bool { + if o != nil && !isNil(o.SecurityScanStatusUpdatedAt) { return true } return false } -// SetSecurityScanStatusUpdatedAt gets a reference to the given string and assigns it to the SecurityScanStatusUpdatedAt field. -func (o *PackageQuarantine) SetSecurityScanStatusUpdatedAt(v string) { +// SetSecurityScanStatusUpdatedAt gets a reference to the given time.Time and assigns it to the SecurityScanStatusUpdatedAt field. +func (o *PackageCopyResponse) SetSecurityScanStatusUpdatedAt(v time.Time) { o.SecurityScanStatusUpdatedAt = &v } // GetSelfHtmlUrl returns the SelfHtmlUrl field value if set, zero value otherwise. -func (o *PackageQuarantine) GetSelfHtmlUrl() string { - if o == nil || o.SelfHtmlUrl == nil { +func (o *PackageCopyResponse) GetSelfHtmlUrl() string { + if o == nil || isNil(o.SelfHtmlUrl) { var ret string return ret } @@ -1461,16 +1520,16 @@ func (o *PackageQuarantine) GetSelfHtmlUrl() string { // GetSelfHtmlUrlOk returns a tuple with the SelfHtmlUrl field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *PackageQuarantine) GetSelfHtmlUrlOk() (*string, bool) { - if o == nil || o.SelfHtmlUrl == nil { +func (o *PackageCopyResponse) GetSelfHtmlUrlOk() (*string, bool) { + if o == nil || isNil(o.SelfHtmlUrl) { return nil, false } return o.SelfHtmlUrl, true } // HasSelfHtmlUrl returns a boolean if a field has been set. -func (o *PackageQuarantine) HasSelfHtmlUrl() bool { - if o != nil && o.SelfHtmlUrl != nil { +func (o *PackageCopyResponse) HasSelfHtmlUrl() bool { + if o != nil && !isNil(o.SelfHtmlUrl) { return true } @@ -1478,13 +1537,13 @@ func (o *PackageQuarantine) HasSelfHtmlUrl() bool { } // SetSelfHtmlUrl gets a reference to the given string and assigns it to the SelfHtmlUrl field. -func (o *PackageQuarantine) SetSelfHtmlUrl(v string) { +func (o *PackageCopyResponse) SetSelfHtmlUrl(v string) { o.SelfHtmlUrl = &v } // GetSelfUrl returns the SelfUrl field value if set, zero value otherwise. -func (o *PackageQuarantine) GetSelfUrl() string { - if o == nil || o.SelfUrl == nil { +func (o *PackageCopyResponse) GetSelfUrl() string { + if o == nil || isNil(o.SelfUrl) { var ret string return ret } @@ -1493,16 +1552,16 @@ func (o *PackageQuarantine) GetSelfUrl() string { // GetSelfUrlOk returns a tuple with the SelfUrl field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *PackageQuarantine) GetSelfUrlOk() (*string, bool) { - if o == nil || o.SelfUrl == nil { +func (o *PackageCopyResponse) GetSelfUrlOk() (*string, bool) { + if o == nil || isNil(o.SelfUrl) { return nil, false } return o.SelfUrl, true } // HasSelfUrl returns a boolean if a field has been set. -func (o *PackageQuarantine) HasSelfUrl() bool { - if o != nil && o.SelfUrl != nil { +func (o *PackageCopyResponse) HasSelfUrl() bool { + if o != nil && !isNil(o.SelfUrl) { return true } @@ -1510,45 +1569,56 @@ func (o *PackageQuarantine) HasSelfUrl() bool { } // SetSelfUrl gets a reference to the given string and assigns it to the SelfUrl field. -func (o *PackageQuarantine) SetSelfUrl(v string) { +func (o *PackageCopyResponse) SetSelfUrl(v string) { o.SelfUrl = &v } -// GetSignatureUrl returns the SignatureUrl field value if set, zero value otherwise. -func (o *PackageQuarantine) GetSignatureUrl() string { - if o == nil || o.SignatureUrl == nil { +// GetSignatureUrl returns the SignatureUrl field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *PackageCopyResponse) GetSignatureUrl() string { + if o == nil || isNil(o.SignatureUrl.Get()) { var ret string return ret } - return *o.SignatureUrl + return *o.SignatureUrl.Get() } // GetSignatureUrlOk returns a tuple with the SignatureUrl field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *PackageQuarantine) GetSignatureUrlOk() (*string, bool) { - if o == nil || o.SignatureUrl == nil { +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *PackageCopyResponse) GetSignatureUrlOk() (*string, bool) { + if o == nil { return nil, false } - return o.SignatureUrl, true + return o.SignatureUrl.Get(), o.SignatureUrl.IsSet() } // HasSignatureUrl returns a boolean if a field has been set. -func (o *PackageQuarantine) HasSignatureUrl() bool { - if o != nil && o.SignatureUrl != nil { +func (o *PackageCopyResponse) HasSignatureUrl() bool { + if o != nil && o.SignatureUrl.IsSet() { return true } return false } -// SetSignatureUrl gets a reference to the given string and assigns it to the SignatureUrl field. -func (o *PackageQuarantine) SetSignatureUrl(v string) { - o.SignatureUrl = &v +// SetSignatureUrl gets a reference to the given NullableString and assigns it to the SignatureUrl field. +func (o *PackageCopyResponse) SetSignatureUrl(v string) { + o.SignatureUrl.Set(&v) +} + +// SetSignatureUrlNil sets the value for SignatureUrl to be an explicit nil +func (o *PackageCopyResponse) SetSignatureUrlNil() { + o.SignatureUrl.Set(nil) +} + +// UnsetSignatureUrl ensures that no value is present for SignatureUrl, not even an explicit nil +func (o *PackageCopyResponse) UnsetSignatureUrl() { + o.SignatureUrl.Unset() } // GetSize returns the Size field value if set, zero value otherwise. -func (o *PackageQuarantine) GetSize() int64 { - if o == nil || o.Size == nil { +func (o *PackageCopyResponse) GetSize() int64 { + if o == nil || isNil(o.Size) { var ret int64 return ret } @@ -1557,16 +1627,16 @@ func (o *PackageQuarantine) GetSize() int64 { // GetSizeOk returns a tuple with the Size field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *PackageQuarantine) GetSizeOk() (*int64, bool) { - if o == nil || o.Size == nil { +func (o *PackageCopyResponse) GetSizeOk() (*int64, bool) { + if o == nil || isNil(o.Size) { return nil, false } return o.Size, true } // HasSize returns a boolean if a field has been set. -func (o *PackageQuarantine) HasSize() bool { - if o != nil && o.Size != nil { +func (o *PackageCopyResponse) HasSize() bool { + if o != nil && !isNil(o.Size) { return true } @@ -1574,13 +1644,13 @@ func (o *PackageQuarantine) HasSize() bool { } // SetSize gets a reference to the given int64 and assigns it to the Size field. -func (o *PackageQuarantine) SetSize(v int64) { +func (o *PackageCopyResponse) SetSize(v int64) { o.Size = &v } // GetSlug returns the Slug field value if set, zero value otherwise. -func (o *PackageQuarantine) GetSlug() string { - if o == nil || o.Slug == nil { +func (o *PackageCopyResponse) GetSlug() string { + if o == nil || isNil(o.Slug) { var ret string return ret } @@ -1589,16 +1659,16 @@ func (o *PackageQuarantine) GetSlug() string { // GetSlugOk returns a tuple with the Slug field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *PackageQuarantine) GetSlugOk() (*string, bool) { - if o == nil || o.Slug == nil { +func (o *PackageCopyResponse) GetSlugOk() (*string, bool) { + if o == nil || isNil(o.Slug) { return nil, false } return o.Slug, true } // HasSlug returns a boolean if a field has been set. -func (o *PackageQuarantine) HasSlug() bool { - if o != nil && o.Slug != nil { +func (o *PackageCopyResponse) HasSlug() bool { + if o != nil && !isNil(o.Slug) { return true } @@ -1606,13 +1676,13 @@ func (o *PackageQuarantine) HasSlug() bool { } // SetSlug gets a reference to the given string and assigns it to the Slug field. -func (o *PackageQuarantine) SetSlug(v string) { +func (o *PackageCopyResponse) SetSlug(v string) { o.Slug = &v } // GetSlugPerm returns the SlugPerm field value if set, zero value otherwise. -func (o *PackageQuarantine) GetSlugPerm() string { - if o == nil || o.SlugPerm == nil { +func (o *PackageCopyResponse) GetSlugPerm() string { + if o == nil || isNil(o.SlugPerm) { var ret string return ret } @@ -1621,16 +1691,16 @@ func (o *PackageQuarantine) GetSlugPerm() string { // GetSlugPermOk returns a tuple with the SlugPerm field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *PackageQuarantine) GetSlugPermOk() (*string, bool) { - if o == nil || o.SlugPerm == nil { +func (o *PackageCopyResponse) GetSlugPermOk() (*string, bool) { + if o == nil || isNil(o.SlugPerm) { return nil, false } return o.SlugPerm, true } // HasSlugPerm returns a boolean if a field has been set. -func (o *PackageQuarantine) HasSlugPerm() bool { - if o != nil && o.SlugPerm != nil { +func (o *PackageCopyResponse) HasSlugPerm() bool { + if o != nil && !isNil(o.SlugPerm) { return true } @@ -1638,13 +1708,13 @@ func (o *PackageQuarantine) HasSlugPerm() bool { } // SetSlugPerm gets a reference to the given string and assigns it to the SlugPerm field. -func (o *PackageQuarantine) SetSlugPerm(v string) { +func (o *PackageCopyResponse) SetSlugPerm(v string) { o.SlugPerm = &v } // GetStage returns the Stage field value if set, zero value otherwise. -func (o *PackageQuarantine) GetStage() int64 { - if o == nil || o.Stage == nil { +func (o *PackageCopyResponse) GetStage() int64 { + if o == nil || isNil(o.Stage) { var ret int64 return ret } @@ -1653,16 +1723,16 @@ func (o *PackageQuarantine) GetStage() int64 { // GetStageOk returns a tuple with the Stage field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *PackageQuarantine) GetStageOk() (*int64, bool) { - if o == nil || o.Stage == nil { +func (o *PackageCopyResponse) GetStageOk() (*int64, bool) { + if o == nil || isNil(o.Stage) { return nil, false } return o.Stage, true } // HasStage returns a boolean if a field has been set. -func (o *PackageQuarantine) HasStage() bool { - if o != nil && o.Stage != nil { +func (o *PackageCopyResponse) HasStage() bool { + if o != nil && !isNil(o.Stage) { return true } @@ -1670,13 +1740,13 @@ func (o *PackageQuarantine) HasStage() bool { } // SetStage gets a reference to the given int64 and assigns it to the Stage field. -func (o *PackageQuarantine) SetStage(v int64) { +func (o *PackageCopyResponse) SetStage(v int64) { o.Stage = &v } // GetStageStr returns the StageStr field value if set, zero value otherwise. -func (o *PackageQuarantine) GetStageStr() string { - if o == nil || o.StageStr == nil { +func (o *PackageCopyResponse) GetStageStr() string { + if o == nil || isNil(o.StageStr) { var ret string return ret } @@ -1685,16 +1755,16 @@ func (o *PackageQuarantine) GetStageStr() string { // GetStageStrOk returns a tuple with the StageStr field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *PackageQuarantine) GetStageStrOk() (*string, bool) { - if o == nil || o.StageStr == nil { +func (o *PackageCopyResponse) GetStageStrOk() (*string, bool) { + if o == nil || isNil(o.StageStr) { return nil, false } return o.StageStr, true } // HasStageStr returns a boolean if a field has been set. -func (o *PackageQuarantine) HasStageStr() bool { - if o != nil && o.StageStr != nil { +func (o *PackageCopyResponse) HasStageStr() bool { + if o != nil && !isNil(o.StageStr) { return true } @@ -1702,14 +1772,14 @@ func (o *PackageQuarantine) HasStageStr() bool { } // SetStageStr gets a reference to the given string and assigns it to the StageStr field. -func (o *PackageQuarantine) SetStageStr(v string) { +func (o *PackageCopyResponse) SetStageStr(v string) { o.StageStr = &v } // GetStageUpdatedAt returns the StageUpdatedAt field value if set, zero value otherwise. -func (o *PackageQuarantine) GetStageUpdatedAt() string { - if o == nil || o.StageUpdatedAt == nil { - var ret string +func (o *PackageCopyResponse) GetStageUpdatedAt() time.Time { + if o == nil || isNil(o.StageUpdatedAt) { + var ret time.Time return ret } return *o.StageUpdatedAt @@ -1717,30 +1787,30 @@ func (o *PackageQuarantine) GetStageUpdatedAt() string { // GetStageUpdatedAtOk returns a tuple with the StageUpdatedAt field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *PackageQuarantine) GetStageUpdatedAtOk() (*string, bool) { - if o == nil || o.StageUpdatedAt == nil { +func (o *PackageCopyResponse) GetStageUpdatedAtOk() (*time.Time, bool) { + if o == nil || isNil(o.StageUpdatedAt) { return nil, false } return o.StageUpdatedAt, true } // HasStageUpdatedAt returns a boolean if a field has been set. -func (o *PackageQuarantine) HasStageUpdatedAt() bool { - if o != nil && o.StageUpdatedAt != nil { +func (o *PackageCopyResponse) HasStageUpdatedAt() bool { + if o != nil && !isNil(o.StageUpdatedAt) { return true } return false } -// SetStageUpdatedAt gets a reference to the given string and assigns it to the StageUpdatedAt field. -func (o *PackageQuarantine) SetStageUpdatedAt(v string) { +// SetStageUpdatedAt gets a reference to the given time.Time and assigns it to the StageUpdatedAt field. +func (o *PackageCopyResponse) SetStageUpdatedAt(v time.Time) { o.StageUpdatedAt = &v } // GetStatus returns the Status field value if set, zero value otherwise. -func (o *PackageQuarantine) GetStatus() int64 { - if o == nil || o.Status == nil { +func (o *PackageCopyResponse) GetStatus() int64 { + if o == nil || isNil(o.Status) { var ret int64 return ret } @@ -1749,16 +1819,16 @@ func (o *PackageQuarantine) GetStatus() int64 { // GetStatusOk returns a tuple with the Status field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *PackageQuarantine) GetStatusOk() (*int64, bool) { - if o == nil || o.Status == nil { +func (o *PackageCopyResponse) GetStatusOk() (*int64, bool) { + if o == nil || isNil(o.Status) { return nil, false } return o.Status, true } // HasStatus returns a boolean if a field has been set. -func (o *PackageQuarantine) HasStatus() bool { - if o != nil && o.Status != nil { +func (o *PackageCopyResponse) HasStatus() bool { + if o != nil && !isNil(o.Status) { return true } @@ -1766,13 +1836,13 @@ func (o *PackageQuarantine) HasStatus() bool { } // SetStatus gets a reference to the given int64 and assigns it to the Status field. -func (o *PackageQuarantine) SetStatus(v int64) { +func (o *PackageCopyResponse) SetStatus(v int64) { o.Status = &v } // GetStatusReason returns the StatusReason field value if set, zero value otherwise. -func (o *PackageQuarantine) GetStatusReason() string { - if o == nil || o.StatusReason == nil { +func (o *PackageCopyResponse) GetStatusReason() string { + if o == nil || isNil(o.StatusReason) { var ret string return ret } @@ -1781,16 +1851,16 @@ func (o *PackageQuarantine) GetStatusReason() string { // GetStatusReasonOk returns a tuple with the StatusReason field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *PackageQuarantine) GetStatusReasonOk() (*string, bool) { - if o == nil || o.StatusReason == nil { +func (o *PackageCopyResponse) GetStatusReasonOk() (*string, bool) { + if o == nil || isNil(o.StatusReason) { return nil, false } return o.StatusReason, true } // HasStatusReason returns a boolean if a field has been set. -func (o *PackageQuarantine) HasStatusReason() bool { - if o != nil && o.StatusReason != nil { +func (o *PackageCopyResponse) HasStatusReason() bool { + if o != nil && !isNil(o.StatusReason) { return true } @@ -1798,13 +1868,13 @@ func (o *PackageQuarantine) HasStatusReason() bool { } // SetStatusReason gets a reference to the given string and assigns it to the StatusReason field. -func (o *PackageQuarantine) SetStatusReason(v string) { +func (o *PackageCopyResponse) SetStatusReason(v string) { o.StatusReason = &v } // GetStatusStr returns the StatusStr field value if set, zero value otherwise. -func (o *PackageQuarantine) GetStatusStr() string { - if o == nil || o.StatusStr == nil { +func (o *PackageCopyResponse) GetStatusStr() string { + if o == nil || isNil(o.StatusStr) { var ret string return ret } @@ -1813,16 +1883,16 @@ func (o *PackageQuarantine) GetStatusStr() string { // GetStatusStrOk returns a tuple with the StatusStr field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *PackageQuarantine) GetStatusStrOk() (*string, bool) { - if o == nil || o.StatusStr == nil { +func (o *PackageCopyResponse) GetStatusStrOk() (*string, bool) { + if o == nil || isNil(o.StatusStr) { return nil, false } return o.StatusStr, true } // HasStatusStr returns a boolean if a field has been set. -func (o *PackageQuarantine) HasStatusStr() bool { - if o != nil && o.StatusStr != nil { +func (o *PackageCopyResponse) HasStatusStr() bool { + if o != nil && !isNil(o.StatusStr) { return true } @@ -1830,14 +1900,14 @@ func (o *PackageQuarantine) HasStatusStr() bool { } // SetStatusStr gets a reference to the given string and assigns it to the StatusStr field. -func (o *PackageQuarantine) SetStatusStr(v string) { +func (o *PackageCopyResponse) SetStatusStr(v string) { o.StatusStr = &v } // GetStatusUpdatedAt returns the StatusUpdatedAt field value if set, zero value otherwise. -func (o *PackageQuarantine) GetStatusUpdatedAt() string { - if o == nil || o.StatusUpdatedAt == nil { - var ret string +func (o *PackageCopyResponse) GetStatusUpdatedAt() time.Time { + if o == nil || isNil(o.StatusUpdatedAt) { + var ret time.Time return ret } return *o.StatusUpdatedAt @@ -1845,30 +1915,30 @@ func (o *PackageQuarantine) GetStatusUpdatedAt() string { // GetStatusUpdatedAtOk returns a tuple with the StatusUpdatedAt field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *PackageQuarantine) GetStatusUpdatedAtOk() (*string, bool) { - if o == nil || o.StatusUpdatedAt == nil { +func (o *PackageCopyResponse) GetStatusUpdatedAtOk() (*time.Time, bool) { + if o == nil || isNil(o.StatusUpdatedAt) { return nil, false } return o.StatusUpdatedAt, true } // HasStatusUpdatedAt returns a boolean if a field has been set. -func (o *PackageQuarantine) HasStatusUpdatedAt() bool { - if o != nil && o.StatusUpdatedAt != nil { +func (o *PackageCopyResponse) HasStatusUpdatedAt() bool { + if o != nil && !isNil(o.StatusUpdatedAt) { return true } return false } -// SetStatusUpdatedAt gets a reference to the given string and assigns it to the StatusUpdatedAt field. -func (o *PackageQuarantine) SetStatusUpdatedAt(v string) { +// SetStatusUpdatedAt gets a reference to the given time.Time and assigns it to the StatusUpdatedAt field. +func (o *PackageCopyResponse) SetStatusUpdatedAt(v time.Time) { o.StatusUpdatedAt = &v } // GetStatusUrl returns the StatusUrl field value if set, zero value otherwise. -func (o *PackageQuarantine) GetStatusUrl() string { - if o == nil || o.StatusUrl == nil { +func (o *PackageCopyResponse) GetStatusUrl() string { + if o == nil || isNil(o.StatusUrl) { var ret string return ret } @@ -1877,16 +1947,16 @@ func (o *PackageQuarantine) GetStatusUrl() string { // GetStatusUrlOk returns a tuple with the StatusUrl field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *PackageQuarantine) GetStatusUrlOk() (*string, bool) { - if o == nil || o.StatusUrl == nil { +func (o *PackageCopyResponse) GetStatusUrlOk() (*string, bool) { + if o == nil || isNil(o.StatusUrl) { return nil, false } return o.StatusUrl, true } // HasStatusUrl returns a boolean if a field has been set. -func (o *PackageQuarantine) HasStatusUrl() bool { - if o != nil && o.StatusUrl != nil { +func (o *PackageCopyResponse) HasStatusUrl() bool { + if o != nil && !isNil(o.StatusUrl) { return true } @@ -1894,13 +1964,13 @@ func (o *PackageQuarantine) HasStatusUrl() bool { } // SetStatusUrl gets a reference to the given string and assigns it to the StatusUrl field. -func (o *PackageQuarantine) SetStatusUrl(v string) { +func (o *PackageCopyResponse) SetStatusUrl(v string) { o.StatusUrl = &v } // GetSubtype returns the Subtype field value if set, zero value otherwise. -func (o *PackageQuarantine) GetSubtype() string { - if o == nil || o.Subtype == nil { +func (o *PackageCopyResponse) GetSubtype() string { + if o == nil || isNil(o.Subtype) { var ret string return ret } @@ -1909,16 +1979,16 @@ func (o *PackageQuarantine) GetSubtype() string { // GetSubtypeOk returns a tuple with the Subtype field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *PackageQuarantine) GetSubtypeOk() (*string, bool) { - if o == nil || o.Subtype == nil { +func (o *PackageCopyResponse) GetSubtypeOk() (*string, bool) { + if o == nil || isNil(o.Subtype) { return nil, false } return o.Subtype, true } // HasSubtype returns a boolean if a field has been set. -func (o *PackageQuarantine) HasSubtype() bool { - if o != nil && o.Subtype != nil { +func (o *PackageCopyResponse) HasSubtype() bool { + if o != nil && !isNil(o.Subtype) { return true } @@ -1926,13 +1996,13 @@ func (o *PackageQuarantine) HasSubtype() bool { } // SetSubtype gets a reference to the given string and assigns it to the Subtype field. -func (o *PackageQuarantine) SetSubtype(v string) { +func (o *PackageCopyResponse) SetSubtype(v string) { o.Subtype = &v } // GetSummary returns the Summary field value if set, zero value otherwise. -func (o *PackageQuarantine) GetSummary() string { - if o == nil || o.Summary == nil { +func (o *PackageCopyResponse) GetSummary() string { + if o == nil || isNil(o.Summary) { var ret string return ret } @@ -1941,16 +2011,16 @@ func (o *PackageQuarantine) GetSummary() string { // GetSummaryOk returns a tuple with the Summary field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *PackageQuarantine) GetSummaryOk() (*string, bool) { - if o == nil || o.Summary == nil { +func (o *PackageCopyResponse) GetSummaryOk() (*string, bool) { + if o == nil || isNil(o.Summary) { return nil, false } return o.Summary, true } // HasSummary returns a boolean if a field has been set. -func (o *PackageQuarantine) HasSummary() bool { - if o != nil && o.Summary != nil { +func (o *PackageCopyResponse) HasSummary() bool { + if o != nil && !isNil(o.Summary) { return true } @@ -1958,14 +2028,14 @@ func (o *PackageQuarantine) HasSummary() bool { } // SetSummary gets a reference to the given string and assigns it to the Summary field. -func (o *PackageQuarantine) SetSummary(v string) { +func (o *PackageCopyResponse) SetSummary(v string) { o.Summary = &v } // GetSyncFinishedAt returns the SyncFinishedAt field value if set, zero value otherwise. -func (o *PackageQuarantine) GetSyncFinishedAt() string { - if o == nil || o.SyncFinishedAt == nil { - var ret string +func (o *PackageCopyResponse) GetSyncFinishedAt() time.Time { + if o == nil || isNil(o.SyncFinishedAt) { + var ret time.Time return ret } return *o.SyncFinishedAt @@ -1973,30 +2043,30 @@ func (o *PackageQuarantine) GetSyncFinishedAt() string { // GetSyncFinishedAtOk returns a tuple with the SyncFinishedAt field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *PackageQuarantine) GetSyncFinishedAtOk() (*string, bool) { - if o == nil || o.SyncFinishedAt == nil { +func (o *PackageCopyResponse) GetSyncFinishedAtOk() (*time.Time, bool) { + if o == nil || isNil(o.SyncFinishedAt) { return nil, false } return o.SyncFinishedAt, true } // HasSyncFinishedAt returns a boolean if a field has been set. -func (o *PackageQuarantine) HasSyncFinishedAt() bool { - if o != nil && o.SyncFinishedAt != nil { +func (o *PackageCopyResponse) HasSyncFinishedAt() bool { + if o != nil && !isNil(o.SyncFinishedAt) { return true } return false } -// SetSyncFinishedAt gets a reference to the given string and assigns it to the SyncFinishedAt field. -func (o *PackageQuarantine) SetSyncFinishedAt(v string) { +// SetSyncFinishedAt gets a reference to the given time.Time and assigns it to the SyncFinishedAt field. +func (o *PackageCopyResponse) SetSyncFinishedAt(v time.Time) { o.SyncFinishedAt = &v } // GetSyncProgress returns the SyncProgress field value if set, zero value otherwise. -func (o *PackageQuarantine) GetSyncProgress() int64 { - if o == nil || o.SyncProgress == nil { +func (o *PackageCopyResponse) GetSyncProgress() int64 { + if o == nil || isNil(o.SyncProgress) { var ret int64 return ret } @@ -2005,16 +2075,16 @@ func (o *PackageQuarantine) GetSyncProgress() int64 { // GetSyncProgressOk returns a tuple with the SyncProgress field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *PackageQuarantine) GetSyncProgressOk() (*int64, bool) { - if o == nil || o.SyncProgress == nil { +func (o *PackageCopyResponse) GetSyncProgressOk() (*int64, bool) { + if o == nil || isNil(o.SyncProgress) { return nil, false } return o.SyncProgress, true } // HasSyncProgress returns a boolean if a field has been set. -func (o *PackageQuarantine) HasSyncProgress() bool { - if o != nil && o.SyncProgress != nil { +func (o *PackageCopyResponse) HasSyncProgress() bool { + if o != nil && !isNil(o.SyncProgress) { return true } @@ -2022,13 +2092,13 @@ func (o *PackageQuarantine) HasSyncProgress() bool { } // SetSyncProgress gets a reference to the given int64 and assigns it to the SyncProgress field. -func (o *PackageQuarantine) SetSyncProgress(v int64) { +func (o *PackageCopyResponse) SetSyncProgress(v int64) { o.SyncProgress = &v } // GetTags returns the Tags field value if set, zero value otherwise. -func (o *PackageQuarantine) GetTags() map[string]interface{} { - if o == nil || o.Tags == nil { +func (o *PackageCopyResponse) GetTags() map[string]interface{} { + if o == nil || isNil(o.Tags) { var ret map[string]interface{} return ret } @@ -2037,16 +2107,16 @@ func (o *PackageQuarantine) GetTags() map[string]interface{} { // GetTagsOk returns a tuple with the Tags field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *PackageQuarantine) GetTagsOk() (map[string]interface{}, bool) { - if o == nil || o.Tags == nil { - return nil, false +func (o *PackageCopyResponse) GetTagsOk() (map[string]interface{}, bool) { + if o == nil || isNil(o.Tags) { + return map[string]interface{}{}, false } return o.Tags, true } // HasTags returns a boolean if a field has been set. -func (o *PackageQuarantine) HasTags() bool { - if o != nil && o.Tags != nil { +func (o *PackageCopyResponse) HasTags() bool { + if o != nil && !isNil(o.Tags) { return true } @@ -2054,13 +2124,13 @@ func (o *PackageQuarantine) HasTags() bool { } // SetTags gets a reference to the given map[string]interface{} and assigns it to the Tags field. -func (o *PackageQuarantine) SetTags(v map[string]interface{}) { +func (o *PackageCopyResponse) SetTags(v map[string]interface{}) { o.Tags = v } // GetTagsImmutable returns the TagsImmutable field value if set, zero value otherwise. -func (o *PackageQuarantine) GetTagsImmutable() map[string]interface{} { - if o == nil || o.TagsImmutable == nil { +func (o *PackageCopyResponse) GetTagsImmutable() map[string]interface{} { + if o == nil || isNil(o.TagsImmutable) { var ret map[string]interface{} return ret } @@ -2069,16 +2139,16 @@ func (o *PackageQuarantine) GetTagsImmutable() map[string]interface{} { // GetTagsImmutableOk returns a tuple with the TagsImmutable field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *PackageQuarantine) GetTagsImmutableOk() (map[string]interface{}, bool) { - if o == nil || o.TagsImmutable == nil { - return nil, false +func (o *PackageCopyResponse) GetTagsImmutableOk() (map[string]interface{}, bool) { + if o == nil || isNil(o.TagsImmutable) { + return map[string]interface{}{}, false } return o.TagsImmutable, true } // HasTagsImmutable returns a boolean if a field has been set. -func (o *PackageQuarantine) HasTagsImmutable() bool { - if o != nil && o.TagsImmutable != nil { +func (o *PackageCopyResponse) HasTagsImmutable() bool { + if o != nil && !isNil(o.TagsImmutable) { return true } @@ -2086,13 +2156,13 @@ func (o *PackageQuarantine) HasTagsImmutable() bool { } // SetTagsImmutable gets a reference to the given map[string]interface{} and assigns it to the TagsImmutable field. -func (o *PackageQuarantine) SetTagsImmutable(v map[string]interface{}) { +func (o *PackageCopyResponse) SetTagsImmutable(v map[string]interface{}) { o.TagsImmutable = v } // GetTypeDisplay returns the TypeDisplay field value if set, zero value otherwise. -func (o *PackageQuarantine) GetTypeDisplay() string { - if o == nil || o.TypeDisplay == nil { +func (o *PackageCopyResponse) GetTypeDisplay() string { + if o == nil || isNil(o.TypeDisplay) { var ret string return ret } @@ -2101,16 +2171,16 @@ func (o *PackageQuarantine) GetTypeDisplay() string { // GetTypeDisplayOk returns a tuple with the TypeDisplay field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *PackageQuarantine) GetTypeDisplayOk() (*string, bool) { - if o == nil || o.TypeDisplay == nil { +func (o *PackageCopyResponse) GetTypeDisplayOk() (*string, bool) { + if o == nil || isNil(o.TypeDisplay) { return nil, false } return o.TypeDisplay, true } // HasTypeDisplay returns a boolean if a field has been set. -func (o *PackageQuarantine) HasTypeDisplay() bool { - if o != nil && o.TypeDisplay != nil { +func (o *PackageCopyResponse) HasTypeDisplay() bool { + if o != nil && !isNil(o.TypeDisplay) { return true } @@ -2118,14 +2188,14 @@ func (o *PackageQuarantine) HasTypeDisplay() bool { } // SetTypeDisplay gets a reference to the given string and assigns it to the TypeDisplay field. -func (o *PackageQuarantine) SetTypeDisplay(v string) { +func (o *PackageCopyResponse) SetTypeDisplay(v string) { o.TypeDisplay = &v } // GetUploadedAt returns the UploadedAt field value if set, zero value otherwise. -func (o *PackageQuarantine) GetUploadedAt() string { - if o == nil || o.UploadedAt == nil { - var ret string +func (o *PackageCopyResponse) GetUploadedAt() time.Time { + if o == nil || isNil(o.UploadedAt) { + var ret time.Time return ret } return *o.UploadedAt @@ -2133,30 +2203,30 @@ func (o *PackageQuarantine) GetUploadedAt() string { // GetUploadedAtOk returns a tuple with the UploadedAt field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *PackageQuarantine) GetUploadedAtOk() (*string, bool) { - if o == nil || o.UploadedAt == nil { +func (o *PackageCopyResponse) GetUploadedAtOk() (*time.Time, bool) { + if o == nil || isNil(o.UploadedAt) { return nil, false } return o.UploadedAt, true } // HasUploadedAt returns a boolean if a field has been set. -func (o *PackageQuarantine) HasUploadedAt() bool { - if o != nil && o.UploadedAt != nil { +func (o *PackageCopyResponse) HasUploadedAt() bool { + if o != nil && !isNil(o.UploadedAt) { return true } return false } -// SetUploadedAt gets a reference to the given string and assigns it to the UploadedAt field. -func (o *PackageQuarantine) SetUploadedAt(v string) { +// SetUploadedAt gets a reference to the given time.Time and assigns it to the UploadedAt field. +func (o *PackageCopyResponse) SetUploadedAt(v time.Time) { o.UploadedAt = &v } // GetUploader returns the Uploader field value if set, zero value otherwise. -func (o *PackageQuarantine) GetUploader() string { - if o == nil || o.Uploader == nil { +func (o *PackageCopyResponse) GetUploader() string { + if o == nil || isNil(o.Uploader) { var ret string return ret } @@ -2165,16 +2235,16 @@ func (o *PackageQuarantine) GetUploader() string { // GetUploaderOk returns a tuple with the Uploader field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *PackageQuarantine) GetUploaderOk() (*string, bool) { - if o == nil || o.Uploader == nil { +func (o *PackageCopyResponse) GetUploaderOk() (*string, bool) { + if o == nil || isNil(o.Uploader) { return nil, false } return o.Uploader, true } // HasUploader returns a boolean if a field has been set. -func (o *PackageQuarantine) HasUploader() bool { - if o != nil && o.Uploader != nil { +func (o *PackageCopyResponse) HasUploader() bool { + if o != nil && !isNil(o.Uploader) { return true } @@ -2182,13 +2252,13 @@ func (o *PackageQuarantine) HasUploader() bool { } // SetUploader gets a reference to the given string and assigns it to the Uploader field. -func (o *PackageQuarantine) SetUploader(v string) { +func (o *PackageCopyResponse) SetUploader(v string) { o.Uploader = &v } // GetUploaderUrl returns the UploaderUrl field value if set, zero value otherwise. -func (o *PackageQuarantine) GetUploaderUrl() string { - if o == nil || o.UploaderUrl == nil { +func (o *PackageCopyResponse) GetUploaderUrl() string { + if o == nil || isNil(o.UploaderUrl) { var ret string return ret } @@ -2197,16 +2267,16 @@ func (o *PackageQuarantine) GetUploaderUrl() string { // GetUploaderUrlOk returns a tuple with the UploaderUrl field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *PackageQuarantine) GetUploaderUrlOk() (*string, bool) { - if o == nil || o.UploaderUrl == nil { +func (o *PackageCopyResponse) GetUploaderUrlOk() (*string, bool) { + if o == nil || isNil(o.UploaderUrl) { return nil, false } return o.UploaderUrl, true } // HasUploaderUrl returns a boolean if a field has been set. -func (o *PackageQuarantine) HasUploaderUrl() bool { - if o != nil && o.UploaderUrl != nil { +func (o *PackageCopyResponse) HasUploaderUrl() bool { + if o != nil && !isNil(o.UploaderUrl) { return true } @@ -2214,13 +2284,13 @@ func (o *PackageQuarantine) HasUploaderUrl() bool { } // SetUploaderUrl gets a reference to the given string and assigns it to the UploaderUrl field. -func (o *PackageQuarantine) SetUploaderUrl(v string) { +func (o *PackageCopyResponse) SetUploaderUrl(v string) { o.UploaderUrl = &v } // GetVersion returns the Version field value if set, zero value otherwise. -func (o *PackageQuarantine) GetVersion() string { - if o == nil || o.Version == nil { +func (o *PackageCopyResponse) GetVersion() string { + if o == nil || isNil(o.Version) { var ret string return ret } @@ -2229,16 +2299,16 @@ func (o *PackageQuarantine) GetVersion() string { // GetVersionOk returns a tuple with the Version field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *PackageQuarantine) GetVersionOk() (*string, bool) { - if o == nil || o.Version == nil { +func (o *PackageCopyResponse) GetVersionOk() (*string, bool) { + if o == nil || isNil(o.Version) { return nil, false } return o.Version, true } // HasVersion returns a boolean if a field has been set. -func (o *PackageQuarantine) HasVersion() bool { - if o != nil && o.Version != nil { +func (o *PackageCopyResponse) HasVersion() bool { + if o != nil && !isNil(o.Version) { return true } @@ -2246,13 +2316,13 @@ func (o *PackageQuarantine) HasVersion() bool { } // SetVersion gets a reference to the given string and assigns it to the Version field. -func (o *PackageQuarantine) SetVersion(v string) { +func (o *PackageCopyResponse) SetVersion(v string) { o.Version = &v } // GetVersionOrig returns the VersionOrig field value if set, zero value otherwise. -func (o *PackageQuarantine) GetVersionOrig() string { - if o == nil || o.VersionOrig == nil { +func (o *PackageCopyResponse) GetVersionOrig() string { + if o == nil || isNil(o.VersionOrig) { var ret string return ret } @@ -2261,16 +2331,16 @@ func (o *PackageQuarantine) GetVersionOrig() string { // GetVersionOrigOk returns a tuple with the VersionOrig field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *PackageQuarantine) GetVersionOrigOk() (*string, bool) { - if o == nil || o.VersionOrig == nil { +func (o *PackageCopyResponse) GetVersionOrigOk() (*string, bool) { + if o == nil || isNil(o.VersionOrig) { return nil, false } return o.VersionOrig, true } // HasVersionOrig returns a boolean if a field has been set. -func (o *PackageQuarantine) HasVersionOrig() bool { - if o != nil && o.VersionOrig != nil { +func (o *PackageCopyResponse) HasVersionOrig() bool { + if o != nil && !isNil(o.VersionOrig) { return true } @@ -2278,13 +2348,13 @@ func (o *PackageQuarantine) HasVersionOrig() bool { } // SetVersionOrig gets a reference to the given string and assigns it to the VersionOrig field. -func (o *PackageQuarantine) SetVersionOrig(v string) { +func (o *PackageCopyResponse) SetVersionOrig(v string) { o.VersionOrig = &v } // GetVulnerabilityScanResultsUrl returns the VulnerabilityScanResultsUrl field value if set, zero value otherwise. -func (o *PackageQuarantine) GetVulnerabilityScanResultsUrl() string { - if o == nil || o.VulnerabilityScanResultsUrl == nil { +func (o *PackageCopyResponse) GetVulnerabilityScanResultsUrl() string { + if o == nil || isNil(o.VulnerabilityScanResultsUrl) { var ret string return ret } @@ -2293,16 +2363,16 @@ func (o *PackageQuarantine) GetVulnerabilityScanResultsUrl() string { // GetVulnerabilityScanResultsUrlOk returns a tuple with the VulnerabilityScanResultsUrl field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *PackageQuarantine) GetVulnerabilityScanResultsUrlOk() (*string, bool) { - if o == nil || o.VulnerabilityScanResultsUrl == nil { +func (o *PackageCopyResponse) GetVulnerabilityScanResultsUrlOk() (*string, bool) { + if o == nil || isNil(o.VulnerabilityScanResultsUrl) { return nil, false } return o.VulnerabilityScanResultsUrl, true } // HasVulnerabilityScanResultsUrl returns a boolean if a field has been set. -func (o *PackageQuarantine) HasVulnerabilityScanResultsUrl() bool { - if o != nil && o.VulnerabilityScanResultsUrl != nil { +func (o *PackageCopyResponse) HasVulnerabilityScanResultsUrl() bool { + if o != nil && !isNil(o.VulnerabilityScanResultsUrl) { return true } @@ -2310,248 +2380,254 @@ func (o *PackageQuarantine) HasVulnerabilityScanResultsUrl() bool { } // SetVulnerabilityScanResultsUrl gets a reference to the given string and assigns it to the VulnerabilityScanResultsUrl field. -func (o *PackageQuarantine) SetVulnerabilityScanResultsUrl(v string) { +func (o *PackageCopyResponse) SetVulnerabilityScanResultsUrl(v string) { o.VulnerabilityScanResultsUrl = &v } -func (o PackageQuarantine) MarshalJSON() ([]byte, error) { +func (o PackageCopyResponse) MarshalJSON() ([]byte, error) { toSerialize := map[string]interface{}{} - if o.Architectures != nil { + if !isNil(o.Architectures) { toSerialize["architectures"] = o.Architectures } - if o.CdnUrl != nil { - toSerialize["cdn_url"] = o.CdnUrl + if o.CdnUrl.IsSet() { + toSerialize["cdn_url"] = o.CdnUrl.Get() } - if o.ChecksumMd5 != nil { + if !isNil(o.ChecksumMd5) { toSerialize["checksum_md5"] = o.ChecksumMd5 } - if o.ChecksumSha1 != nil { + if !isNil(o.ChecksumSha1) { toSerialize["checksum_sha1"] = o.ChecksumSha1 } - if o.ChecksumSha256 != nil { + if !isNil(o.ChecksumSha256) { toSerialize["checksum_sha256"] = o.ChecksumSha256 } - if o.ChecksumSha512 != nil { + if !isNil(o.ChecksumSha512) { toSerialize["checksum_sha512"] = o.ChecksumSha512 } - if o.DependenciesChecksumMd5 != nil { + if !isNil(o.DependenciesChecksumMd5) { toSerialize["dependencies_checksum_md5"] = o.DependenciesChecksumMd5 } - if o.DependenciesUrl != nil { + if !isNil(o.DependenciesUrl) { toSerialize["dependencies_url"] = o.DependenciesUrl } - if o.Description != nil { + if !isNil(o.Description) { toSerialize["description"] = o.Description } - if o.Distro != nil { - toSerialize["distro"] = o.Distro + if o.Distro.IsSet() { + toSerialize["distro"] = o.Distro.Get() } - if o.DistroVersion != nil { + if !isNil(o.DistroVersion) { toSerialize["distro_version"] = o.DistroVersion } - if o.Downloads != nil { + if !isNil(o.Downloads) { toSerialize["downloads"] = o.Downloads } - if o.Epoch != nil { + if !isNil(o.Epoch) { toSerialize["epoch"] = o.Epoch } - if o.Extension != nil { + if !isNil(o.Extension) { toSerialize["extension"] = o.Extension } - if o.Filename != nil { + if !isNil(o.Filename) { toSerialize["filename"] = o.Filename } - if o.Files != nil { + if !isNil(o.Files) { toSerialize["files"] = o.Files } - if o.Format != nil { + if !isNil(o.Format) { toSerialize["format"] = o.Format } - if o.FormatUrl != nil { + if !isNil(o.FormatUrl) { toSerialize["format_url"] = o.FormatUrl } - if o.IdentifierPerm != nil { + if !isNil(o.IdentifierPerm) { toSerialize["identifier_perm"] = o.IdentifierPerm } - if o.Indexed != nil { + if !isNil(o.Indexed) { toSerialize["indexed"] = o.Indexed } - if o.IsDownloadable != nil { + if !isNil(o.IsDownloadable) { toSerialize["is_downloadable"] = o.IsDownloadable } - if o.IsQuarantined != nil { + if !isNil(o.IsQuarantined) { toSerialize["is_quarantined"] = o.IsQuarantined } - if o.IsSyncAwaiting != nil { + if !isNil(o.IsSyncAwaiting) { toSerialize["is_sync_awaiting"] = o.IsSyncAwaiting } - if o.IsSyncCompleted != nil { + if !isNil(o.IsSyncCompleted) { toSerialize["is_sync_completed"] = o.IsSyncCompleted } - if o.IsSyncFailed != nil { + if !isNil(o.IsSyncFailed) { toSerialize["is_sync_failed"] = o.IsSyncFailed } - if o.IsSyncInFlight != nil { + if !isNil(o.IsSyncInFlight) { toSerialize["is_sync_in_flight"] = o.IsSyncInFlight } - if o.IsSyncInProgress != nil { + if !isNil(o.IsSyncInProgress) { toSerialize["is_sync_in_progress"] = o.IsSyncInProgress } - if o.License != nil { + if !isNil(o.License) { toSerialize["license"] = o.License } - if o.Name != nil { + if !isNil(o.Name) { toSerialize["name"] = o.Name } - if o.Namespace != nil { + if !isNil(o.Namespace) { toSerialize["namespace"] = o.Namespace } - if o.NamespaceUrl != nil { + if !isNil(o.NamespaceUrl) { toSerialize["namespace_url"] = o.NamespaceUrl } - if o.NumFiles != nil { + if !isNil(o.NumFiles) { toSerialize["num_files"] = o.NumFiles } - if o.PackageType != nil { + if !isNil(o.OriginRepository) { + toSerialize["origin_repository"] = o.OriginRepository + } + if !isNil(o.OriginRepositoryUrl) { + toSerialize["origin_repository_url"] = o.OriginRepositoryUrl + } + if !isNil(o.PackageType) { toSerialize["package_type"] = o.PackageType } - if o.Release != nil { + if !isNil(o.Release) { toSerialize["release"] = o.Release } - if o.Repository != nil { + if !isNil(o.Repository) { toSerialize["repository"] = o.Repository } - if o.RepositoryUrl != nil { + if !isNil(o.RepositoryUrl) { toSerialize["repository_url"] = o.RepositoryUrl } - if o.SecurityScanCompletedAt != nil { + if !isNil(o.SecurityScanCompletedAt) { toSerialize["security_scan_completed_at"] = o.SecurityScanCompletedAt } - if o.SecurityScanStartedAt != nil { + if !isNil(o.SecurityScanStartedAt) { toSerialize["security_scan_started_at"] = o.SecurityScanStartedAt } - if o.SecurityScanStatus != nil { - toSerialize["security_scan_status"] = o.SecurityScanStatus + if o.SecurityScanStatus.IsSet() { + toSerialize["security_scan_status"] = o.SecurityScanStatus.Get() } - if o.SecurityScanStatusUpdatedAt != nil { + if !isNil(o.SecurityScanStatusUpdatedAt) { toSerialize["security_scan_status_updated_at"] = o.SecurityScanStatusUpdatedAt } - if o.SelfHtmlUrl != nil { + if !isNil(o.SelfHtmlUrl) { toSerialize["self_html_url"] = o.SelfHtmlUrl } - if o.SelfUrl != nil { + if !isNil(o.SelfUrl) { toSerialize["self_url"] = o.SelfUrl } - if o.SignatureUrl != nil { - toSerialize["signature_url"] = o.SignatureUrl + if o.SignatureUrl.IsSet() { + toSerialize["signature_url"] = o.SignatureUrl.Get() } - if o.Size != nil { + if !isNil(o.Size) { toSerialize["size"] = o.Size } - if o.Slug != nil { + if !isNil(o.Slug) { toSerialize["slug"] = o.Slug } - if o.SlugPerm != nil { + if !isNil(o.SlugPerm) { toSerialize["slug_perm"] = o.SlugPerm } - if o.Stage != nil { + if !isNil(o.Stage) { toSerialize["stage"] = o.Stage } - if o.StageStr != nil { + if !isNil(o.StageStr) { toSerialize["stage_str"] = o.StageStr } - if o.StageUpdatedAt != nil { + if !isNil(o.StageUpdatedAt) { toSerialize["stage_updated_at"] = o.StageUpdatedAt } - if o.Status != nil { + if !isNil(o.Status) { toSerialize["status"] = o.Status } - if o.StatusReason != nil { + if !isNil(o.StatusReason) { toSerialize["status_reason"] = o.StatusReason } - if o.StatusStr != nil { + if !isNil(o.StatusStr) { toSerialize["status_str"] = o.StatusStr } - if o.StatusUpdatedAt != nil { + if !isNil(o.StatusUpdatedAt) { toSerialize["status_updated_at"] = o.StatusUpdatedAt } - if o.StatusUrl != nil { + if !isNil(o.StatusUrl) { toSerialize["status_url"] = o.StatusUrl } - if o.Subtype != nil { + if !isNil(o.Subtype) { toSerialize["subtype"] = o.Subtype } - if o.Summary != nil { + if !isNil(o.Summary) { toSerialize["summary"] = o.Summary } - if o.SyncFinishedAt != nil { + if !isNil(o.SyncFinishedAt) { toSerialize["sync_finished_at"] = o.SyncFinishedAt } - if o.SyncProgress != nil { + if !isNil(o.SyncProgress) { toSerialize["sync_progress"] = o.SyncProgress } - if o.Tags != nil { + if !isNil(o.Tags) { toSerialize["tags"] = o.Tags } - if o.TagsImmutable != nil { + if !isNil(o.TagsImmutable) { toSerialize["tags_immutable"] = o.TagsImmutable } - if o.TypeDisplay != nil { + if !isNil(o.TypeDisplay) { toSerialize["type_display"] = o.TypeDisplay } - if o.UploadedAt != nil { + if !isNil(o.UploadedAt) { toSerialize["uploaded_at"] = o.UploadedAt } - if o.Uploader != nil { + if !isNil(o.Uploader) { toSerialize["uploader"] = o.Uploader } - if o.UploaderUrl != nil { + if !isNil(o.UploaderUrl) { toSerialize["uploader_url"] = o.UploaderUrl } - if o.Version != nil { + if !isNil(o.Version) { toSerialize["version"] = o.Version } - if o.VersionOrig != nil { + if !isNil(o.VersionOrig) { toSerialize["version_orig"] = o.VersionOrig } - if o.VulnerabilityScanResultsUrl != nil { + if !isNil(o.VulnerabilityScanResultsUrl) { toSerialize["vulnerability_scan_results_url"] = o.VulnerabilityScanResultsUrl } return json.Marshal(toSerialize) } -type NullablePackageQuarantine struct { - value *PackageQuarantine +type NullablePackageCopyResponse struct { + value *PackageCopyResponse isSet bool } -func (v NullablePackageQuarantine) Get() *PackageQuarantine { +func (v NullablePackageCopyResponse) Get() *PackageCopyResponse { return v.value } -func (v *NullablePackageQuarantine) Set(val *PackageQuarantine) { +func (v *NullablePackageCopyResponse) Set(val *PackageCopyResponse) { v.value = val v.isSet = true } -func (v NullablePackageQuarantine) IsSet() bool { +func (v NullablePackageCopyResponse) IsSet() bool { return v.isSet } -func (v *NullablePackageQuarantine) Unset() { +func (v *NullablePackageCopyResponse) Unset() { v.value = nil v.isSet = false } -func NewNullablePackageQuarantine(val *PackageQuarantine) *NullablePackageQuarantine { - return &NullablePackageQuarantine{value: val, isSet: true} +func NewNullablePackageCopyResponse(val *PackageCopyResponse) *NullablePackageCopyResponse { + return &NullablePackageCopyResponse{value: val, isSet: true} } -func (v NullablePackageQuarantine) MarshalJSON() ([]byte, error) { +func (v NullablePackageCopyResponse) MarshalJSON() ([]byte, error) { return json.Marshal(v.value) } -func (v *NullablePackageQuarantine) UnmarshalJSON(src []byte) error { +func (v *NullablePackageCopyResponse) UnmarshalJSON(src []byte) error { v.isSet = true return json.Unmarshal(src, &v.value) } diff --git a/model_package_dependencies.go b/model_package_dependencies.go deleted file mode 100644 index 931b39b2..00000000 --- a/model_package_dependencies.go +++ /dev/null @@ -1,108 +0,0 @@ -/* -Cloudsmith API - -The API to the Cloudsmith Service - -API version: 1.121.3 -Contact: support@cloudsmith.io -*/ - -// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. - -package cloudsmith - -import ( - "encoding/json" -) - -// PackageDependencies struct for PackageDependencies -type PackageDependencies struct { - // - Dependencies []PackageDependenciesDependencies `json:"dependencies"` -} - -// NewPackageDependencies instantiates a new PackageDependencies object -// 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 NewPackageDependencies(dependencies []PackageDependenciesDependencies) *PackageDependencies { - this := PackageDependencies{} - this.Dependencies = dependencies - return &this -} - -// NewPackageDependenciesWithDefaults instantiates a new PackageDependencies object -// This constructor will only assign default values to properties that have it defined, -// but it doesn't guarantee that properties required by API are set -func NewPackageDependenciesWithDefaults() *PackageDependencies { - this := PackageDependencies{} - return &this -} - -// GetDependencies returns the Dependencies field value -func (o *PackageDependencies) GetDependencies() []PackageDependenciesDependencies { - if o == nil { - var ret []PackageDependenciesDependencies - return ret - } - - return o.Dependencies -} - -// GetDependenciesOk returns a tuple with the Dependencies field value -// and a boolean to check if the value has been set. -func (o *PackageDependencies) GetDependenciesOk() ([]PackageDependenciesDependencies, bool) { - if o == nil { - return nil, false - } - return o.Dependencies, true -} - -// SetDependencies sets field value -func (o *PackageDependencies) SetDependencies(v []PackageDependenciesDependencies) { - o.Dependencies = v -} - -func (o PackageDependencies) MarshalJSON() ([]byte, error) { - toSerialize := map[string]interface{}{} - if true { - toSerialize["dependencies"] = o.Dependencies - } - return json.Marshal(toSerialize) -} - -type NullablePackageDependencies struct { - value *PackageDependencies - isSet bool -} - -func (v NullablePackageDependencies) Get() *PackageDependencies { - return v.value -} - -func (v *NullablePackageDependencies) Set(val *PackageDependencies) { - v.value = val - v.isSet = true -} - -func (v NullablePackageDependencies) IsSet() bool { - return v.isSet -} - -func (v *NullablePackageDependencies) Unset() { - v.value = nil - v.isSet = false -} - -func NewNullablePackageDependencies(val *PackageDependencies) *NullablePackageDependencies { - return &NullablePackageDependencies{value: val, isSet: true} -} - -func (v NullablePackageDependencies) MarshalJSON() ([]byte, error) { - return json.Marshal(v.value) -} - -func (v *NullablePackageDependencies) UnmarshalJSON(src []byte) error { - v.isSet = true - return json.Unmarshal(src, &v.value) -} diff --git a/model_package_dependencies_dependencies.go b/model_package_dependencies_dependencies.go deleted file mode 100644 index ac98fc7b..00000000 --- a/model_package_dependencies_dependencies.go +++ /dev/null @@ -1,226 +0,0 @@ -/* -Cloudsmith API - -The API to the Cloudsmith Service - -API version: 1.121.3 -Contact: support@cloudsmith.io -*/ - -// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. - -package cloudsmith - -import ( - "encoding/json" -) - -// PackageDependenciesDependencies struct for PackageDependenciesDependencies -type PackageDependenciesDependencies struct { - // - DepType *string `json:"dep_type,omitempty"` - // The name of the package dependency. - Name *string `json:"name,omitempty"` - // - Operator *string `json:"operator,omitempty"` - // The raw dependency version (if any). - Version *string `json:"version,omitempty"` -} - -// NewPackageDependenciesDependencies instantiates a new PackageDependenciesDependencies object -// 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 NewPackageDependenciesDependencies() *PackageDependenciesDependencies { - this := PackageDependenciesDependencies{} - return &this -} - -// NewPackageDependenciesDependenciesWithDefaults instantiates a new PackageDependenciesDependencies object -// This constructor will only assign default values to properties that have it defined, -// but it doesn't guarantee that properties required by API are set -func NewPackageDependenciesDependenciesWithDefaults() *PackageDependenciesDependencies { - this := PackageDependenciesDependencies{} - return &this -} - -// GetDepType returns the DepType field value if set, zero value otherwise. -func (o *PackageDependenciesDependencies) GetDepType() string { - if o == nil || o.DepType == nil { - var ret string - return ret - } - return *o.DepType -} - -// GetDepTypeOk returns a tuple with the DepType field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *PackageDependenciesDependencies) GetDepTypeOk() (*string, bool) { - if o == nil || o.DepType == nil { - return nil, false - } - return o.DepType, true -} - -// HasDepType returns a boolean if a field has been set. -func (o *PackageDependenciesDependencies) HasDepType() bool { - if o != nil && o.DepType != nil { - return true - } - - return false -} - -// SetDepType gets a reference to the given string and assigns it to the DepType field. -func (o *PackageDependenciesDependencies) SetDepType(v string) { - o.DepType = &v -} - -// GetName returns the Name field value if set, zero value otherwise. -func (o *PackageDependenciesDependencies) GetName() string { - if o == nil || o.Name == nil { - var ret string - return ret - } - return *o.Name -} - -// GetNameOk returns a tuple with the Name field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *PackageDependenciesDependencies) GetNameOk() (*string, bool) { - if o == nil || o.Name == nil { - return nil, false - } - return o.Name, true -} - -// HasName returns a boolean if a field has been set. -func (o *PackageDependenciesDependencies) HasName() bool { - if o != nil && o.Name != nil { - return true - } - - return false -} - -// SetName gets a reference to the given string and assigns it to the Name field. -func (o *PackageDependenciesDependencies) SetName(v string) { - o.Name = &v -} - -// GetOperator returns the Operator field value if set, zero value otherwise. -func (o *PackageDependenciesDependencies) GetOperator() string { - if o == nil || o.Operator == nil { - var ret string - return ret - } - return *o.Operator -} - -// GetOperatorOk returns a tuple with the Operator field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *PackageDependenciesDependencies) GetOperatorOk() (*string, bool) { - if o == nil || o.Operator == nil { - return nil, false - } - return o.Operator, true -} - -// HasOperator returns a boolean if a field has been set. -func (o *PackageDependenciesDependencies) HasOperator() bool { - if o != nil && o.Operator != nil { - return true - } - - return false -} - -// SetOperator gets a reference to the given string and assigns it to the Operator field. -func (o *PackageDependenciesDependencies) SetOperator(v string) { - o.Operator = &v -} - -// GetVersion returns the Version field value if set, zero value otherwise. -func (o *PackageDependenciesDependencies) GetVersion() string { - if o == nil || o.Version == nil { - var ret string - return ret - } - return *o.Version -} - -// GetVersionOk returns a tuple with the Version field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *PackageDependenciesDependencies) GetVersionOk() (*string, bool) { - if o == nil || o.Version == nil { - return nil, false - } - return o.Version, true -} - -// HasVersion returns a boolean if a field has been set. -func (o *PackageDependenciesDependencies) HasVersion() bool { - if o != nil && o.Version != nil { - return true - } - - return false -} - -// SetVersion gets a reference to the given string and assigns it to the Version field. -func (o *PackageDependenciesDependencies) SetVersion(v string) { - o.Version = &v -} - -func (o PackageDependenciesDependencies) MarshalJSON() ([]byte, error) { - toSerialize := map[string]interface{}{} - if o.DepType != nil { - toSerialize["dep_type"] = o.DepType - } - if o.Name != nil { - toSerialize["name"] = o.Name - } - if o.Operator != nil { - toSerialize["operator"] = o.Operator - } - if o.Version != nil { - toSerialize["version"] = o.Version - } - return json.Marshal(toSerialize) -} - -type NullablePackageDependenciesDependencies struct { - value *PackageDependenciesDependencies - isSet bool -} - -func (v NullablePackageDependenciesDependencies) Get() *PackageDependenciesDependencies { - return v.value -} - -func (v *NullablePackageDependenciesDependencies) Set(val *PackageDependenciesDependencies) { - v.value = val - v.isSet = true -} - -func (v NullablePackageDependenciesDependencies) IsSet() bool { - return v.isSet -} - -func (v *NullablePackageDependenciesDependencies) Unset() { - v.value = nil - v.isSet = false -} - -func NewNullablePackageDependenciesDependencies(val *PackageDependenciesDependencies) *NullablePackageDependenciesDependencies { - return &NullablePackageDependenciesDependencies{value: val, isSet: true} -} - -func (v NullablePackageDependenciesDependencies) MarshalJSON() ([]byte, error) { - return json.Marshal(v.value) -} - -func (v *NullablePackageDependenciesDependencies) UnmarshalJSON(src []byte) error { - v.isSet = true - return json.Unmarshal(src, &v.value) -} diff --git a/model_package_dependencies_response.go b/model_package_dependencies_response.go new file mode 100644 index 00000000..0d9061fd --- /dev/null +++ b/model_package_dependencies_response.go @@ -0,0 +1,107 @@ +/* +Cloudsmith API (v1) + +The API to the Cloudsmith Service + +API version: 1.181.6 +Contact: support@cloudsmith.io +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cloudsmith + +import ( + "encoding/json" +) + +// PackageDependenciesResponse struct for PackageDependenciesResponse +type PackageDependenciesResponse struct { + Dependencies []PackageDependency `json:"dependencies"` +} + +// NewPackageDependenciesResponse instantiates a new PackageDependenciesResponse object +// 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 NewPackageDependenciesResponse(dependencies []PackageDependency) *PackageDependenciesResponse { + this := PackageDependenciesResponse{} + this.Dependencies = dependencies + return &this +} + +// NewPackageDependenciesResponseWithDefaults instantiates a new PackageDependenciesResponse object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewPackageDependenciesResponseWithDefaults() *PackageDependenciesResponse { + this := PackageDependenciesResponse{} + return &this +} + +// GetDependencies returns the Dependencies field value +func (o *PackageDependenciesResponse) GetDependencies() []PackageDependency { + if o == nil { + var ret []PackageDependency + return ret + } + + return o.Dependencies +} + +// GetDependenciesOk returns a tuple with the Dependencies field value +// and a boolean to check if the value has been set. +func (o *PackageDependenciesResponse) GetDependenciesOk() ([]PackageDependency, bool) { + if o == nil { + return nil, false + } + return o.Dependencies, true +} + +// SetDependencies sets field value +func (o *PackageDependenciesResponse) SetDependencies(v []PackageDependency) { + o.Dependencies = v +} + +func (o PackageDependenciesResponse) MarshalJSON() ([]byte, error) { + toSerialize := map[string]interface{}{} + if true { + toSerialize["dependencies"] = o.Dependencies + } + return json.Marshal(toSerialize) +} + +type NullablePackageDependenciesResponse struct { + value *PackageDependenciesResponse + isSet bool +} + +func (v NullablePackageDependenciesResponse) Get() *PackageDependenciesResponse { + return v.value +} + +func (v *NullablePackageDependenciesResponse) Set(val *PackageDependenciesResponse) { + v.value = val + v.isSet = true +} + +func (v NullablePackageDependenciesResponse) IsSet() bool { + return v.isSet +} + +func (v *NullablePackageDependenciesResponse) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullablePackageDependenciesResponse(val *PackageDependenciesResponse) *NullablePackageDependenciesResponse { + return &NullablePackageDependenciesResponse{value: val, isSet: true} +} + +func (v NullablePackageDependenciesResponse) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullablePackageDependenciesResponse) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} diff --git a/model_package_dependency.go b/model_package_dependency.go new file mode 100644 index 00000000..62969337 --- /dev/null +++ b/model_package_dependency.go @@ -0,0 +1,239 @@ +/* +Cloudsmith API (v1) + +The API to the Cloudsmith Service + +API version: 1.181.6 +Contact: support@cloudsmith.io +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cloudsmith + +import ( + "encoding/json" +) + +// PackageDependency struct for PackageDependency +type PackageDependency struct { + DepType *string `json:"dep_type,omitempty"` + // The name of the package dependency. + Name string `json:"name"` + Operator NullableString `json:"operator,omitempty"` + // The raw dependency version (if any). + Version NullableString `json:"version,omitempty"` +} + +// NewPackageDependency instantiates a new PackageDependency object +// 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 NewPackageDependency(name string) *PackageDependency { + this := PackageDependency{} + this.Name = name + return &this +} + +// NewPackageDependencyWithDefaults instantiates a new PackageDependency object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewPackageDependencyWithDefaults() *PackageDependency { + this := PackageDependency{} + return &this +} + +// GetDepType returns the DepType field value if set, zero value otherwise. +func (o *PackageDependency) GetDepType() string { + if o == nil || isNil(o.DepType) { + var ret string + return ret + } + return *o.DepType +} + +// GetDepTypeOk returns a tuple with the DepType field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *PackageDependency) GetDepTypeOk() (*string, bool) { + if o == nil || isNil(o.DepType) { + return nil, false + } + return o.DepType, true +} + +// HasDepType returns a boolean if a field has been set. +func (o *PackageDependency) HasDepType() bool { + if o != nil && !isNil(o.DepType) { + return true + } + + return false +} + +// SetDepType gets a reference to the given string and assigns it to the DepType field. +func (o *PackageDependency) SetDepType(v string) { + o.DepType = &v +} + +// GetName returns the Name field value +func (o *PackageDependency) GetName() string { + if o == nil { + var ret string + return ret + } + + return o.Name +} + +// GetNameOk returns a tuple with the Name field value +// and a boolean to check if the value has been set. +func (o *PackageDependency) GetNameOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Name, true +} + +// SetName sets field value +func (o *PackageDependency) SetName(v string) { + o.Name = v +} + +// GetOperator returns the Operator field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *PackageDependency) GetOperator() string { + if o == nil || isNil(o.Operator.Get()) { + var ret string + return ret + } + return *o.Operator.Get() +} + +// GetOperatorOk returns a tuple with the Operator 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 *PackageDependency) GetOperatorOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.Operator.Get(), o.Operator.IsSet() +} + +// HasOperator returns a boolean if a field has been set. +func (o *PackageDependency) HasOperator() bool { + if o != nil && o.Operator.IsSet() { + return true + } + + return false +} + +// SetOperator gets a reference to the given NullableString and assigns it to the Operator field. +func (o *PackageDependency) SetOperator(v string) { + o.Operator.Set(&v) +} + +// SetOperatorNil sets the value for Operator to be an explicit nil +func (o *PackageDependency) SetOperatorNil() { + o.Operator.Set(nil) +} + +// UnsetOperator ensures that no value is present for Operator, not even an explicit nil +func (o *PackageDependency) UnsetOperator() { + o.Operator.Unset() +} + +// GetVersion returns the Version field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *PackageDependency) GetVersion() string { + if o == nil || isNil(o.Version.Get()) { + var ret string + return ret + } + return *o.Version.Get() +} + +// GetVersionOk returns a tuple with the Version 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 *PackageDependency) GetVersionOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.Version.Get(), o.Version.IsSet() +} + +// HasVersion returns a boolean if a field has been set. +func (o *PackageDependency) HasVersion() bool { + if o != nil && o.Version.IsSet() { + return true + } + + return false +} + +// SetVersion gets a reference to the given NullableString and assigns it to the Version field. +func (o *PackageDependency) SetVersion(v string) { + o.Version.Set(&v) +} + +// SetVersionNil sets the value for Version to be an explicit nil +func (o *PackageDependency) SetVersionNil() { + o.Version.Set(nil) +} + +// UnsetVersion ensures that no value is present for Version, not even an explicit nil +func (o *PackageDependency) UnsetVersion() { + o.Version.Unset() +} + +func (o PackageDependency) MarshalJSON() ([]byte, error) { + toSerialize := map[string]interface{}{} + if !isNil(o.DepType) { + toSerialize["dep_type"] = o.DepType + } + if true { + toSerialize["name"] = o.Name + } + if o.Operator.IsSet() { + toSerialize["operator"] = o.Operator.Get() + } + if o.Version.IsSet() { + toSerialize["version"] = o.Version.Get() + } + return json.Marshal(toSerialize) +} + +type NullablePackageDependency struct { + value *PackageDependency + isSet bool +} + +func (v NullablePackageDependency) Get() *PackageDependency { + return v.value +} + +func (v *NullablePackageDependency) Set(val *PackageDependency) { + v.value = val + v.isSet = true +} + +func (v NullablePackageDependency) IsSet() bool { + return v.isSet +} + +func (v *NullablePackageDependency) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullablePackageDependency(val *PackageDependency) *NullablePackageDependency { + return &NullablePackageDependency{value: val, isSet: true} +} + +func (v NullablePackageDependency) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullablePackageDependency) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} diff --git a/model__packages__owner___repo___files.go b/model_package_file.go similarity index 53% rename from model__packages__owner___repo___files.go rename to model_package_file.go index c5538fa4..5537cd70 100644 --- a/model__packages__owner___repo___files.go +++ b/model_package_file.go @@ -1,9 +1,9 @@ /* -Cloudsmith API +Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.121.3 +API version: 1.181.6 Contact: support@cloudsmith.io */ @@ -15,90 +15,89 @@ import ( "encoding/json" ) -// PackagesOwnerRepoFiles struct for PackagesOwnerRepoFiles -type PackagesOwnerRepoFiles struct { - // - CdnUrl *string `json:"cdn_url,omitempty"` - // - ChecksumMd5 *string `json:"checksum_md5,omitempty"` - // - ChecksumSha1 *string `json:"checksum_sha1,omitempty"` - // - ChecksumSha256 *string `json:"checksum_sha256,omitempty"` - // - ChecksumSha512 *string `json:"checksum_sha512,omitempty"` - // - Downloads *int64 `json:"downloads,omitempty"` - // - Filename *string `json:"filename,omitempty"` - // - IsDownloadable *bool `json:"is_downloadable,omitempty"` - // - IsPrimary *bool `json:"is_primary,omitempty"` - // - IsSynchronised *bool `json:"is_synchronised,omitempty"` - // - SignatureUrl *string `json:"signature_url,omitempty"` +// PackageFile struct for PackageFile +type PackageFile struct { + CdnUrl NullableString `json:"cdn_url,omitempty"` + ChecksumMd5 *string `json:"checksum_md5,omitempty"` + ChecksumSha1 *string `json:"checksum_sha1,omitempty"` + ChecksumSha256 *string `json:"checksum_sha256,omitempty"` + ChecksumSha512 *string `json:"checksum_sha512,omitempty"` + Downloads *int64 `json:"downloads,omitempty"` + Filename *string `json:"filename,omitempty"` + IsDownloadable *bool `json:"is_downloadable,omitempty"` + IsPrimary *bool `json:"is_primary,omitempty"` + IsSynchronised *bool `json:"is_synchronised,omitempty"` + SignatureUrl NullableString `json:"signature_url,omitempty"` // The calculated size of the file. - Size *int64 `json:"size,omitempty"` - // + Size *int64 `json:"size,omitempty"` SlugPerm *string `json:"slug_perm,omitempty"` // Freeform descriptor that describes what the file is. Tag *string `json:"tag,omitempty"` } -// NewPackagesOwnerRepoFiles instantiates a new PackagesOwnerRepoFiles object +// NewPackageFile instantiates a new PackageFile object // 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 NewPackagesOwnerRepoFiles() *PackagesOwnerRepoFiles { - this := PackagesOwnerRepoFiles{} +func NewPackageFile() *PackageFile { + this := PackageFile{} return &this } -// NewPackagesOwnerRepoFilesWithDefaults instantiates a new PackagesOwnerRepoFiles object +// NewPackageFileWithDefaults instantiates a new PackageFile object // This constructor will only assign default values to properties that have it defined, // but it doesn't guarantee that properties required by API are set -func NewPackagesOwnerRepoFilesWithDefaults() *PackagesOwnerRepoFiles { - this := PackagesOwnerRepoFiles{} +func NewPackageFileWithDefaults() *PackageFile { + this := PackageFile{} return &this } -// GetCdnUrl returns the CdnUrl field value if set, zero value otherwise. -func (o *PackagesOwnerRepoFiles) GetCdnUrl() string { - if o == nil || o.CdnUrl == nil { +// GetCdnUrl returns the CdnUrl field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *PackageFile) GetCdnUrl() string { + if o == nil || isNil(o.CdnUrl.Get()) { var ret string return ret } - return *o.CdnUrl + return *o.CdnUrl.Get() } // GetCdnUrlOk returns a tuple with the CdnUrl field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *PackagesOwnerRepoFiles) GetCdnUrlOk() (*string, bool) { - if o == nil || o.CdnUrl == nil { +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *PackageFile) GetCdnUrlOk() (*string, bool) { + if o == nil { return nil, false } - return o.CdnUrl, true + return o.CdnUrl.Get(), o.CdnUrl.IsSet() } // HasCdnUrl returns a boolean if a field has been set. -func (o *PackagesOwnerRepoFiles) HasCdnUrl() bool { - if o != nil && o.CdnUrl != nil { +func (o *PackageFile) HasCdnUrl() bool { + if o != nil && o.CdnUrl.IsSet() { return true } return false } -// SetCdnUrl gets a reference to the given string and assigns it to the CdnUrl field. -func (o *PackagesOwnerRepoFiles) SetCdnUrl(v string) { - o.CdnUrl = &v +// SetCdnUrl gets a reference to the given NullableString and assigns it to the CdnUrl field. +func (o *PackageFile) SetCdnUrl(v string) { + o.CdnUrl.Set(&v) +} + +// SetCdnUrlNil sets the value for CdnUrl to be an explicit nil +func (o *PackageFile) SetCdnUrlNil() { + o.CdnUrl.Set(nil) +} + +// UnsetCdnUrl ensures that no value is present for CdnUrl, not even an explicit nil +func (o *PackageFile) UnsetCdnUrl() { + o.CdnUrl.Unset() } // GetChecksumMd5 returns the ChecksumMd5 field value if set, zero value otherwise. -func (o *PackagesOwnerRepoFiles) GetChecksumMd5() string { - if o == nil || o.ChecksumMd5 == nil { +func (o *PackageFile) GetChecksumMd5() string { + if o == nil || isNil(o.ChecksumMd5) { var ret string return ret } @@ -107,16 +106,16 @@ func (o *PackagesOwnerRepoFiles) GetChecksumMd5() string { // GetChecksumMd5Ok returns a tuple with the ChecksumMd5 field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *PackagesOwnerRepoFiles) GetChecksumMd5Ok() (*string, bool) { - if o == nil || o.ChecksumMd5 == nil { +func (o *PackageFile) GetChecksumMd5Ok() (*string, bool) { + if o == nil || isNil(o.ChecksumMd5) { return nil, false } return o.ChecksumMd5, true } // HasChecksumMd5 returns a boolean if a field has been set. -func (o *PackagesOwnerRepoFiles) HasChecksumMd5() bool { - if o != nil && o.ChecksumMd5 != nil { +func (o *PackageFile) HasChecksumMd5() bool { + if o != nil && !isNil(o.ChecksumMd5) { return true } @@ -124,13 +123,13 @@ func (o *PackagesOwnerRepoFiles) HasChecksumMd5() bool { } // SetChecksumMd5 gets a reference to the given string and assigns it to the ChecksumMd5 field. -func (o *PackagesOwnerRepoFiles) SetChecksumMd5(v string) { +func (o *PackageFile) SetChecksumMd5(v string) { o.ChecksumMd5 = &v } // GetChecksumSha1 returns the ChecksumSha1 field value if set, zero value otherwise. -func (o *PackagesOwnerRepoFiles) GetChecksumSha1() string { - if o == nil || o.ChecksumSha1 == nil { +func (o *PackageFile) GetChecksumSha1() string { + if o == nil || isNil(o.ChecksumSha1) { var ret string return ret } @@ -139,16 +138,16 @@ func (o *PackagesOwnerRepoFiles) GetChecksumSha1() string { // GetChecksumSha1Ok returns a tuple with the ChecksumSha1 field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *PackagesOwnerRepoFiles) GetChecksumSha1Ok() (*string, bool) { - if o == nil || o.ChecksumSha1 == nil { +func (o *PackageFile) GetChecksumSha1Ok() (*string, bool) { + if o == nil || isNil(o.ChecksumSha1) { return nil, false } return o.ChecksumSha1, true } // HasChecksumSha1 returns a boolean if a field has been set. -func (o *PackagesOwnerRepoFiles) HasChecksumSha1() bool { - if o != nil && o.ChecksumSha1 != nil { +func (o *PackageFile) HasChecksumSha1() bool { + if o != nil && !isNil(o.ChecksumSha1) { return true } @@ -156,13 +155,13 @@ func (o *PackagesOwnerRepoFiles) HasChecksumSha1() bool { } // SetChecksumSha1 gets a reference to the given string and assigns it to the ChecksumSha1 field. -func (o *PackagesOwnerRepoFiles) SetChecksumSha1(v string) { +func (o *PackageFile) SetChecksumSha1(v string) { o.ChecksumSha1 = &v } // GetChecksumSha256 returns the ChecksumSha256 field value if set, zero value otherwise. -func (o *PackagesOwnerRepoFiles) GetChecksumSha256() string { - if o == nil || o.ChecksumSha256 == nil { +func (o *PackageFile) GetChecksumSha256() string { + if o == nil || isNil(o.ChecksumSha256) { var ret string return ret } @@ -171,16 +170,16 @@ func (o *PackagesOwnerRepoFiles) GetChecksumSha256() string { // GetChecksumSha256Ok returns a tuple with the ChecksumSha256 field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *PackagesOwnerRepoFiles) GetChecksumSha256Ok() (*string, bool) { - if o == nil || o.ChecksumSha256 == nil { +func (o *PackageFile) GetChecksumSha256Ok() (*string, bool) { + if o == nil || isNil(o.ChecksumSha256) { return nil, false } return o.ChecksumSha256, true } // HasChecksumSha256 returns a boolean if a field has been set. -func (o *PackagesOwnerRepoFiles) HasChecksumSha256() bool { - if o != nil && o.ChecksumSha256 != nil { +func (o *PackageFile) HasChecksumSha256() bool { + if o != nil && !isNil(o.ChecksumSha256) { return true } @@ -188,13 +187,13 @@ func (o *PackagesOwnerRepoFiles) HasChecksumSha256() bool { } // SetChecksumSha256 gets a reference to the given string and assigns it to the ChecksumSha256 field. -func (o *PackagesOwnerRepoFiles) SetChecksumSha256(v string) { +func (o *PackageFile) SetChecksumSha256(v string) { o.ChecksumSha256 = &v } // GetChecksumSha512 returns the ChecksumSha512 field value if set, zero value otherwise. -func (o *PackagesOwnerRepoFiles) GetChecksumSha512() string { - if o == nil || o.ChecksumSha512 == nil { +func (o *PackageFile) GetChecksumSha512() string { + if o == nil || isNil(o.ChecksumSha512) { var ret string return ret } @@ -203,16 +202,16 @@ func (o *PackagesOwnerRepoFiles) GetChecksumSha512() string { // GetChecksumSha512Ok returns a tuple with the ChecksumSha512 field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *PackagesOwnerRepoFiles) GetChecksumSha512Ok() (*string, bool) { - if o == nil || o.ChecksumSha512 == nil { +func (o *PackageFile) GetChecksumSha512Ok() (*string, bool) { + if o == nil || isNil(o.ChecksumSha512) { return nil, false } return o.ChecksumSha512, true } // HasChecksumSha512 returns a boolean if a field has been set. -func (o *PackagesOwnerRepoFiles) HasChecksumSha512() bool { - if o != nil && o.ChecksumSha512 != nil { +func (o *PackageFile) HasChecksumSha512() bool { + if o != nil && !isNil(o.ChecksumSha512) { return true } @@ -220,13 +219,13 @@ func (o *PackagesOwnerRepoFiles) HasChecksumSha512() bool { } // SetChecksumSha512 gets a reference to the given string and assigns it to the ChecksumSha512 field. -func (o *PackagesOwnerRepoFiles) SetChecksumSha512(v string) { +func (o *PackageFile) SetChecksumSha512(v string) { o.ChecksumSha512 = &v } // GetDownloads returns the Downloads field value if set, zero value otherwise. -func (o *PackagesOwnerRepoFiles) GetDownloads() int64 { - if o == nil || o.Downloads == nil { +func (o *PackageFile) GetDownloads() int64 { + if o == nil || isNil(o.Downloads) { var ret int64 return ret } @@ -235,16 +234,16 @@ func (o *PackagesOwnerRepoFiles) GetDownloads() int64 { // GetDownloadsOk returns a tuple with the Downloads field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *PackagesOwnerRepoFiles) GetDownloadsOk() (*int64, bool) { - if o == nil || o.Downloads == nil { +func (o *PackageFile) GetDownloadsOk() (*int64, bool) { + if o == nil || isNil(o.Downloads) { return nil, false } return o.Downloads, true } // HasDownloads returns a boolean if a field has been set. -func (o *PackagesOwnerRepoFiles) HasDownloads() bool { - if o != nil && o.Downloads != nil { +func (o *PackageFile) HasDownloads() bool { + if o != nil && !isNil(o.Downloads) { return true } @@ -252,13 +251,13 @@ func (o *PackagesOwnerRepoFiles) HasDownloads() bool { } // SetDownloads gets a reference to the given int64 and assigns it to the Downloads field. -func (o *PackagesOwnerRepoFiles) SetDownloads(v int64) { +func (o *PackageFile) SetDownloads(v int64) { o.Downloads = &v } // GetFilename returns the Filename field value if set, zero value otherwise. -func (o *PackagesOwnerRepoFiles) GetFilename() string { - if o == nil || o.Filename == nil { +func (o *PackageFile) GetFilename() string { + if o == nil || isNil(o.Filename) { var ret string return ret } @@ -267,16 +266,16 @@ func (o *PackagesOwnerRepoFiles) GetFilename() string { // GetFilenameOk returns a tuple with the Filename field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *PackagesOwnerRepoFiles) GetFilenameOk() (*string, bool) { - if o == nil || o.Filename == nil { +func (o *PackageFile) GetFilenameOk() (*string, bool) { + if o == nil || isNil(o.Filename) { return nil, false } return o.Filename, true } // HasFilename returns a boolean if a field has been set. -func (o *PackagesOwnerRepoFiles) HasFilename() bool { - if o != nil && o.Filename != nil { +func (o *PackageFile) HasFilename() bool { + if o != nil && !isNil(o.Filename) { return true } @@ -284,13 +283,13 @@ func (o *PackagesOwnerRepoFiles) HasFilename() bool { } // SetFilename gets a reference to the given string and assigns it to the Filename field. -func (o *PackagesOwnerRepoFiles) SetFilename(v string) { +func (o *PackageFile) SetFilename(v string) { o.Filename = &v } // GetIsDownloadable returns the IsDownloadable field value if set, zero value otherwise. -func (o *PackagesOwnerRepoFiles) GetIsDownloadable() bool { - if o == nil || o.IsDownloadable == nil { +func (o *PackageFile) GetIsDownloadable() bool { + if o == nil || isNil(o.IsDownloadable) { var ret bool return ret } @@ -299,16 +298,16 @@ func (o *PackagesOwnerRepoFiles) GetIsDownloadable() bool { // GetIsDownloadableOk returns a tuple with the IsDownloadable field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *PackagesOwnerRepoFiles) GetIsDownloadableOk() (*bool, bool) { - if o == nil || o.IsDownloadable == nil { +func (o *PackageFile) GetIsDownloadableOk() (*bool, bool) { + if o == nil || isNil(o.IsDownloadable) { return nil, false } return o.IsDownloadable, true } // HasIsDownloadable returns a boolean if a field has been set. -func (o *PackagesOwnerRepoFiles) HasIsDownloadable() bool { - if o != nil && o.IsDownloadable != nil { +func (o *PackageFile) HasIsDownloadable() bool { + if o != nil && !isNil(o.IsDownloadable) { return true } @@ -316,13 +315,13 @@ func (o *PackagesOwnerRepoFiles) HasIsDownloadable() bool { } // SetIsDownloadable gets a reference to the given bool and assigns it to the IsDownloadable field. -func (o *PackagesOwnerRepoFiles) SetIsDownloadable(v bool) { +func (o *PackageFile) SetIsDownloadable(v bool) { o.IsDownloadable = &v } // GetIsPrimary returns the IsPrimary field value if set, zero value otherwise. -func (o *PackagesOwnerRepoFiles) GetIsPrimary() bool { - if o == nil || o.IsPrimary == nil { +func (o *PackageFile) GetIsPrimary() bool { + if o == nil || isNil(o.IsPrimary) { var ret bool return ret } @@ -331,16 +330,16 @@ func (o *PackagesOwnerRepoFiles) GetIsPrimary() bool { // GetIsPrimaryOk returns a tuple with the IsPrimary field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *PackagesOwnerRepoFiles) GetIsPrimaryOk() (*bool, bool) { - if o == nil || o.IsPrimary == nil { +func (o *PackageFile) GetIsPrimaryOk() (*bool, bool) { + if o == nil || isNil(o.IsPrimary) { return nil, false } return o.IsPrimary, true } // HasIsPrimary returns a boolean if a field has been set. -func (o *PackagesOwnerRepoFiles) HasIsPrimary() bool { - if o != nil && o.IsPrimary != nil { +func (o *PackageFile) HasIsPrimary() bool { + if o != nil && !isNil(o.IsPrimary) { return true } @@ -348,13 +347,13 @@ func (o *PackagesOwnerRepoFiles) HasIsPrimary() bool { } // SetIsPrimary gets a reference to the given bool and assigns it to the IsPrimary field. -func (o *PackagesOwnerRepoFiles) SetIsPrimary(v bool) { +func (o *PackageFile) SetIsPrimary(v bool) { o.IsPrimary = &v } // GetIsSynchronised returns the IsSynchronised field value if set, zero value otherwise. -func (o *PackagesOwnerRepoFiles) GetIsSynchronised() bool { - if o == nil || o.IsSynchronised == nil { +func (o *PackageFile) GetIsSynchronised() bool { + if o == nil || isNil(o.IsSynchronised) { var ret bool return ret } @@ -363,16 +362,16 @@ func (o *PackagesOwnerRepoFiles) GetIsSynchronised() bool { // GetIsSynchronisedOk returns a tuple with the IsSynchronised field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *PackagesOwnerRepoFiles) GetIsSynchronisedOk() (*bool, bool) { - if o == nil || o.IsSynchronised == nil { +func (o *PackageFile) GetIsSynchronisedOk() (*bool, bool) { + if o == nil || isNil(o.IsSynchronised) { return nil, false } return o.IsSynchronised, true } // HasIsSynchronised returns a boolean if a field has been set. -func (o *PackagesOwnerRepoFiles) HasIsSynchronised() bool { - if o != nil && o.IsSynchronised != nil { +func (o *PackageFile) HasIsSynchronised() bool { + if o != nil && !isNil(o.IsSynchronised) { return true } @@ -380,45 +379,56 @@ func (o *PackagesOwnerRepoFiles) HasIsSynchronised() bool { } // SetIsSynchronised gets a reference to the given bool and assigns it to the IsSynchronised field. -func (o *PackagesOwnerRepoFiles) SetIsSynchronised(v bool) { +func (o *PackageFile) SetIsSynchronised(v bool) { o.IsSynchronised = &v } -// GetSignatureUrl returns the SignatureUrl field value if set, zero value otherwise. -func (o *PackagesOwnerRepoFiles) GetSignatureUrl() string { - if o == nil || o.SignatureUrl == nil { +// GetSignatureUrl returns the SignatureUrl field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *PackageFile) GetSignatureUrl() string { + if o == nil || isNil(o.SignatureUrl.Get()) { var ret string return ret } - return *o.SignatureUrl + return *o.SignatureUrl.Get() } // GetSignatureUrlOk returns a tuple with the SignatureUrl field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *PackagesOwnerRepoFiles) GetSignatureUrlOk() (*string, bool) { - if o == nil || o.SignatureUrl == nil { +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *PackageFile) GetSignatureUrlOk() (*string, bool) { + if o == nil { return nil, false } - return o.SignatureUrl, true + return o.SignatureUrl.Get(), o.SignatureUrl.IsSet() } // HasSignatureUrl returns a boolean if a field has been set. -func (o *PackagesOwnerRepoFiles) HasSignatureUrl() bool { - if o != nil && o.SignatureUrl != nil { +func (o *PackageFile) HasSignatureUrl() bool { + if o != nil && o.SignatureUrl.IsSet() { return true } return false } -// SetSignatureUrl gets a reference to the given string and assigns it to the SignatureUrl field. -func (o *PackagesOwnerRepoFiles) SetSignatureUrl(v string) { - o.SignatureUrl = &v +// SetSignatureUrl gets a reference to the given NullableString and assigns it to the SignatureUrl field. +func (o *PackageFile) SetSignatureUrl(v string) { + o.SignatureUrl.Set(&v) +} + +// SetSignatureUrlNil sets the value for SignatureUrl to be an explicit nil +func (o *PackageFile) SetSignatureUrlNil() { + o.SignatureUrl.Set(nil) +} + +// UnsetSignatureUrl ensures that no value is present for SignatureUrl, not even an explicit nil +func (o *PackageFile) UnsetSignatureUrl() { + o.SignatureUrl.Unset() } // GetSize returns the Size field value if set, zero value otherwise. -func (o *PackagesOwnerRepoFiles) GetSize() int64 { - if o == nil || o.Size == nil { +func (o *PackageFile) GetSize() int64 { + if o == nil || isNil(o.Size) { var ret int64 return ret } @@ -427,16 +437,16 @@ func (o *PackagesOwnerRepoFiles) GetSize() int64 { // GetSizeOk returns a tuple with the Size field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *PackagesOwnerRepoFiles) GetSizeOk() (*int64, bool) { - if o == nil || o.Size == nil { +func (o *PackageFile) GetSizeOk() (*int64, bool) { + if o == nil || isNil(o.Size) { return nil, false } return o.Size, true } // HasSize returns a boolean if a field has been set. -func (o *PackagesOwnerRepoFiles) HasSize() bool { - if o != nil && o.Size != nil { +func (o *PackageFile) HasSize() bool { + if o != nil && !isNil(o.Size) { return true } @@ -444,13 +454,13 @@ func (o *PackagesOwnerRepoFiles) HasSize() bool { } // SetSize gets a reference to the given int64 and assigns it to the Size field. -func (o *PackagesOwnerRepoFiles) SetSize(v int64) { +func (o *PackageFile) SetSize(v int64) { o.Size = &v } // GetSlugPerm returns the SlugPerm field value if set, zero value otherwise. -func (o *PackagesOwnerRepoFiles) GetSlugPerm() string { - if o == nil || o.SlugPerm == nil { +func (o *PackageFile) GetSlugPerm() string { + if o == nil || isNil(o.SlugPerm) { var ret string return ret } @@ -459,16 +469,16 @@ func (o *PackagesOwnerRepoFiles) GetSlugPerm() string { // GetSlugPermOk returns a tuple with the SlugPerm field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *PackagesOwnerRepoFiles) GetSlugPermOk() (*string, bool) { - if o == nil || o.SlugPerm == nil { +func (o *PackageFile) GetSlugPermOk() (*string, bool) { + if o == nil || isNil(o.SlugPerm) { return nil, false } return o.SlugPerm, true } // HasSlugPerm returns a boolean if a field has been set. -func (o *PackagesOwnerRepoFiles) HasSlugPerm() bool { - if o != nil && o.SlugPerm != nil { +func (o *PackageFile) HasSlugPerm() bool { + if o != nil && !isNil(o.SlugPerm) { return true } @@ -476,13 +486,13 @@ func (o *PackagesOwnerRepoFiles) HasSlugPerm() bool { } // SetSlugPerm gets a reference to the given string and assigns it to the SlugPerm field. -func (o *PackagesOwnerRepoFiles) SetSlugPerm(v string) { +func (o *PackageFile) SetSlugPerm(v string) { o.SlugPerm = &v } // GetTag returns the Tag field value if set, zero value otherwise. -func (o *PackagesOwnerRepoFiles) GetTag() string { - if o == nil || o.Tag == nil { +func (o *PackageFile) GetTag() string { + if o == nil || isNil(o.Tag) { var ret string return ret } @@ -491,16 +501,16 @@ func (o *PackagesOwnerRepoFiles) GetTag() string { // GetTagOk returns a tuple with the Tag field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *PackagesOwnerRepoFiles) GetTagOk() (*string, bool) { - if o == nil || o.Tag == nil { +func (o *PackageFile) GetTagOk() (*string, bool) { + if o == nil || isNil(o.Tag) { return nil, false } return o.Tag, true } // HasTag returns a boolean if a field has been set. -func (o *PackagesOwnerRepoFiles) HasTag() bool { - if o != nil && o.Tag != nil { +func (o *PackageFile) HasTag() bool { + if o != nil && !isNil(o.Tag) { return true } @@ -508,89 +518,89 @@ func (o *PackagesOwnerRepoFiles) HasTag() bool { } // SetTag gets a reference to the given string and assigns it to the Tag field. -func (o *PackagesOwnerRepoFiles) SetTag(v string) { +func (o *PackageFile) SetTag(v string) { o.Tag = &v } -func (o PackagesOwnerRepoFiles) MarshalJSON() ([]byte, error) { +func (o PackageFile) MarshalJSON() ([]byte, error) { toSerialize := map[string]interface{}{} - if o.CdnUrl != nil { - toSerialize["cdn_url"] = o.CdnUrl + if o.CdnUrl.IsSet() { + toSerialize["cdn_url"] = o.CdnUrl.Get() } - if o.ChecksumMd5 != nil { + if !isNil(o.ChecksumMd5) { toSerialize["checksum_md5"] = o.ChecksumMd5 } - if o.ChecksumSha1 != nil { + if !isNil(o.ChecksumSha1) { toSerialize["checksum_sha1"] = o.ChecksumSha1 } - if o.ChecksumSha256 != nil { + if !isNil(o.ChecksumSha256) { toSerialize["checksum_sha256"] = o.ChecksumSha256 } - if o.ChecksumSha512 != nil { + if !isNil(o.ChecksumSha512) { toSerialize["checksum_sha512"] = o.ChecksumSha512 } - if o.Downloads != nil { + if !isNil(o.Downloads) { toSerialize["downloads"] = o.Downloads } - if o.Filename != nil { + if !isNil(o.Filename) { toSerialize["filename"] = o.Filename } - if o.IsDownloadable != nil { + if !isNil(o.IsDownloadable) { toSerialize["is_downloadable"] = o.IsDownloadable } - if o.IsPrimary != nil { + if !isNil(o.IsPrimary) { toSerialize["is_primary"] = o.IsPrimary } - if o.IsSynchronised != nil { + if !isNil(o.IsSynchronised) { toSerialize["is_synchronised"] = o.IsSynchronised } - if o.SignatureUrl != nil { - toSerialize["signature_url"] = o.SignatureUrl + if o.SignatureUrl.IsSet() { + toSerialize["signature_url"] = o.SignatureUrl.Get() } - if o.Size != nil { + if !isNil(o.Size) { toSerialize["size"] = o.Size } - if o.SlugPerm != nil { + if !isNil(o.SlugPerm) { toSerialize["slug_perm"] = o.SlugPerm } - if o.Tag != nil { + if !isNil(o.Tag) { toSerialize["tag"] = o.Tag } return json.Marshal(toSerialize) } -type NullablePackagesOwnerRepoFiles struct { - value *PackagesOwnerRepoFiles +type NullablePackageFile struct { + value *PackageFile isSet bool } -func (v NullablePackagesOwnerRepoFiles) Get() *PackagesOwnerRepoFiles { +func (v NullablePackageFile) Get() *PackageFile { return v.value } -func (v *NullablePackagesOwnerRepoFiles) Set(val *PackagesOwnerRepoFiles) { +func (v *NullablePackageFile) Set(val *PackageFile) { v.value = val v.isSet = true } -func (v NullablePackagesOwnerRepoFiles) IsSet() bool { +func (v NullablePackageFile) IsSet() bool { return v.isSet } -func (v *NullablePackagesOwnerRepoFiles) Unset() { +func (v *NullablePackageFile) Unset() { v.value = nil v.isSet = false } -func NewNullablePackagesOwnerRepoFiles(val *PackagesOwnerRepoFiles) *NullablePackagesOwnerRepoFiles { - return &NullablePackagesOwnerRepoFiles{value: val, isSet: true} +func NewNullablePackageFile(val *PackageFile) *NullablePackageFile { + return &NullablePackageFile{value: val, isSet: true} } -func (v NullablePackagesOwnerRepoFiles) MarshalJSON() ([]byte, error) { +func (v NullablePackageFile) MarshalJSON() ([]byte, error) { return json.Marshal(v.value) } -func (v *NullablePackagesOwnerRepoFiles) UnmarshalJSON(src []byte) error { +func (v *NullablePackageFile) UnmarshalJSON(src []byte) error { v.isSet = true return json.Unmarshal(src, &v.value) } diff --git a/model_package_file_parts_upload.go b/model_package_file_parts_upload.go deleted file mode 100644 index ec489694..00000000 --- a/model_package_file_parts_upload.go +++ /dev/null @@ -1,189 +0,0 @@ -/* -Cloudsmith API - -The API to the Cloudsmith Service - -API version: 1.121.3 -Contact: support@cloudsmith.io -*/ - -// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. - -package cloudsmith - -import ( - "encoding/json" -) - -// PackageFilePartsUpload struct for PackageFilePartsUpload -type PackageFilePartsUpload struct { - // The identifier for the file to use uploading parts. - Identifier *string `json:"identifier,omitempty"` - // The querystring to use for the next-step PUT upload. - UploadQuerystring *string `json:"upload_querystring,omitempty"` - // The URL to use for the next-step PUT upload - UploadUrl *string `json:"upload_url,omitempty"` -} - -// NewPackageFilePartsUpload instantiates a new PackageFilePartsUpload object -// 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 NewPackageFilePartsUpload() *PackageFilePartsUpload { - this := PackageFilePartsUpload{} - return &this -} - -// NewPackageFilePartsUploadWithDefaults instantiates a new PackageFilePartsUpload object -// This constructor will only assign default values to properties that have it defined, -// but it doesn't guarantee that properties required by API are set -func NewPackageFilePartsUploadWithDefaults() *PackageFilePartsUpload { - this := PackageFilePartsUpload{} - return &this -} - -// GetIdentifier returns the Identifier field value if set, zero value otherwise. -func (o *PackageFilePartsUpload) GetIdentifier() string { - if o == nil || o.Identifier == nil { - var ret string - return ret - } - return *o.Identifier -} - -// GetIdentifierOk returns a tuple with the Identifier field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *PackageFilePartsUpload) GetIdentifierOk() (*string, bool) { - if o == nil || o.Identifier == nil { - return nil, false - } - return o.Identifier, true -} - -// HasIdentifier returns a boolean if a field has been set. -func (o *PackageFilePartsUpload) HasIdentifier() bool { - if o != nil && o.Identifier != nil { - return true - } - - return false -} - -// SetIdentifier gets a reference to the given string and assigns it to the Identifier field. -func (o *PackageFilePartsUpload) SetIdentifier(v string) { - o.Identifier = &v -} - -// GetUploadQuerystring returns the UploadQuerystring field value if set, zero value otherwise. -func (o *PackageFilePartsUpload) GetUploadQuerystring() string { - if o == nil || o.UploadQuerystring == nil { - var ret string - return ret - } - return *o.UploadQuerystring -} - -// GetUploadQuerystringOk returns a tuple with the UploadQuerystring field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *PackageFilePartsUpload) GetUploadQuerystringOk() (*string, bool) { - if o == nil || o.UploadQuerystring == nil { - return nil, false - } - return o.UploadQuerystring, true -} - -// HasUploadQuerystring returns a boolean if a field has been set. -func (o *PackageFilePartsUpload) HasUploadQuerystring() bool { - if o != nil && o.UploadQuerystring != nil { - return true - } - - return false -} - -// SetUploadQuerystring gets a reference to the given string and assigns it to the UploadQuerystring field. -func (o *PackageFilePartsUpload) SetUploadQuerystring(v string) { - o.UploadQuerystring = &v -} - -// GetUploadUrl returns the UploadUrl field value if set, zero value otherwise. -func (o *PackageFilePartsUpload) GetUploadUrl() string { - if o == nil || o.UploadUrl == nil { - var ret string - return ret - } - return *o.UploadUrl -} - -// GetUploadUrlOk returns a tuple with the UploadUrl field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *PackageFilePartsUpload) GetUploadUrlOk() (*string, bool) { - if o == nil || o.UploadUrl == nil { - return nil, false - } - return o.UploadUrl, true -} - -// HasUploadUrl returns a boolean if a field has been set. -func (o *PackageFilePartsUpload) HasUploadUrl() bool { - if o != nil && o.UploadUrl != nil { - return true - } - - return false -} - -// SetUploadUrl gets a reference to the given string and assigns it to the UploadUrl field. -func (o *PackageFilePartsUpload) SetUploadUrl(v string) { - o.UploadUrl = &v -} - -func (o PackageFilePartsUpload) MarshalJSON() ([]byte, error) { - toSerialize := map[string]interface{}{} - if o.Identifier != nil { - toSerialize["identifier"] = o.Identifier - } - if o.UploadQuerystring != nil { - toSerialize["upload_querystring"] = o.UploadQuerystring - } - if o.UploadUrl != nil { - toSerialize["upload_url"] = o.UploadUrl - } - return json.Marshal(toSerialize) -} - -type NullablePackageFilePartsUpload struct { - value *PackageFilePartsUpload - isSet bool -} - -func (v NullablePackageFilePartsUpload) Get() *PackageFilePartsUpload { - return v.value -} - -func (v *NullablePackageFilePartsUpload) Set(val *PackageFilePartsUpload) { - v.value = val - v.isSet = true -} - -func (v NullablePackageFilePartsUpload) IsSet() bool { - return v.isSet -} - -func (v *NullablePackageFilePartsUpload) Unset() { - v.value = nil - v.isSet = false -} - -func NewNullablePackageFilePartsUpload(val *PackageFilePartsUpload) *NullablePackageFilePartsUpload { - return &NullablePackageFilePartsUpload{value: val, isSet: true} -} - -func (v NullablePackageFilePartsUpload) MarshalJSON() ([]byte, error) { - return json.Marshal(v.value) -} - -func (v *NullablePackageFilePartsUpload) UnmarshalJSON(src []byte) error { - v.isSet = true - return json.Unmarshal(src, &v.value) -} diff --git a/model_package_file_parts_upload_response.go b/model_package_file_parts_upload_response.go new file mode 100644 index 00000000..55d15330 --- /dev/null +++ b/model_package_file_parts_upload_response.go @@ -0,0 +1,200 @@ +/* +Cloudsmith API (v1) + +The API to the Cloudsmith Service + +API version: 1.181.6 +Contact: support@cloudsmith.io +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cloudsmith + +import ( + "encoding/json" +) + +// PackageFilePartsUploadResponse struct for PackageFilePartsUploadResponse +type PackageFilePartsUploadResponse struct { + // The identifier for the file to use uploading parts. + Identifier *string `json:"identifier,omitempty"` + // The querystring to use for the next-step PUT upload. + UploadQuerystring NullableString `json:"upload_querystring,omitempty"` + // The URL to use for the next-step PUT upload + UploadUrl *string `json:"upload_url,omitempty"` +} + +// NewPackageFilePartsUploadResponse instantiates a new PackageFilePartsUploadResponse object +// 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 NewPackageFilePartsUploadResponse() *PackageFilePartsUploadResponse { + this := PackageFilePartsUploadResponse{} + return &this +} + +// NewPackageFilePartsUploadResponseWithDefaults instantiates a new PackageFilePartsUploadResponse object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewPackageFilePartsUploadResponseWithDefaults() *PackageFilePartsUploadResponse { + this := PackageFilePartsUploadResponse{} + return &this +} + +// GetIdentifier returns the Identifier field value if set, zero value otherwise. +func (o *PackageFilePartsUploadResponse) GetIdentifier() string { + if o == nil || isNil(o.Identifier) { + var ret string + return ret + } + return *o.Identifier +} + +// GetIdentifierOk returns a tuple with the Identifier field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *PackageFilePartsUploadResponse) GetIdentifierOk() (*string, bool) { + if o == nil || isNil(o.Identifier) { + return nil, false + } + return o.Identifier, true +} + +// HasIdentifier returns a boolean if a field has been set. +func (o *PackageFilePartsUploadResponse) HasIdentifier() bool { + if o != nil && !isNil(o.Identifier) { + return true + } + + return false +} + +// SetIdentifier gets a reference to the given string and assigns it to the Identifier field. +func (o *PackageFilePartsUploadResponse) SetIdentifier(v string) { + o.Identifier = &v +} + +// GetUploadQuerystring returns the UploadQuerystring field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *PackageFilePartsUploadResponse) GetUploadQuerystring() string { + if o == nil || isNil(o.UploadQuerystring.Get()) { + var ret string + return ret + } + return *o.UploadQuerystring.Get() +} + +// GetUploadQuerystringOk returns a tuple with the UploadQuerystring 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 *PackageFilePartsUploadResponse) GetUploadQuerystringOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.UploadQuerystring.Get(), o.UploadQuerystring.IsSet() +} + +// HasUploadQuerystring returns a boolean if a field has been set. +func (o *PackageFilePartsUploadResponse) HasUploadQuerystring() bool { + if o != nil && o.UploadQuerystring.IsSet() { + return true + } + + return false +} + +// SetUploadQuerystring gets a reference to the given NullableString and assigns it to the UploadQuerystring field. +func (o *PackageFilePartsUploadResponse) SetUploadQuerystring(v string) { + o.UploadQuerystring.Set(&v) +} + +// SetUploadQuerystringNil sets the value for UploadQuerystring to be an explicit nil +func (o *PackageFilePartsUploadResponse) SetUploadQuerystringNil() { + o.UploadQuerystring.Set(nil) +} + +// UnsetUploadQuerystring ensures that no value is present for UploadQuerystring, not even an explicit nil +func (o *PackageFilePartsUploadResponse) UnsetUploadQuerystring() { + o.UploadQuerystring.Unset() +} + +// GetUploadUrl returns the UploadUrl field value if set, zero value otherwise. +func (o *PackageFilePartsUploadResponse) GetUploadUrl() string { + if o == nil || isNil(o.UploadUrl) { + var ret string + return ret + } + return *o.UploadUrl +} + +// GetUploadUrlOk returns a tuple with the UploadUrl field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *PackageFilePartsUploadResponse) GetUploadUrlOk() (*string, bool) { + if o == nil || isNil(o.UploadUrl) { + return nil, false + } + return o.UploadUrl, true +} + +// HasUploadUrl returns a boolean if a field has been set. +func (o *PackageFilePartsUploadResponse) HasUploadUrl() bool { + if o != nil && !isNil(o.UploadUrl) { + return true + } + + return false +} + +// SetUploadUrl gets a reference to the given string and assigns it to the UploadUrl field. +func (o *PackageFilePartsUploadResponse) SetUploadUrl(v string) { + o.UploadUrl = &v +} + +func (o PackageFilePartsUploadResponse) MarshalJSON() ([]byte, error) { + toSerialize := map[string]interface{}{} + if !isNil(o.Identifier) { + toSerialize["identifier"] = o.Identifier + } + if o.UploadQuerystring.IsSet() { + toSerialize["upload_querystring"] = o.UploadQuerystring.Get() + } + if !isNil(o.UploadUrl) { + toSerialize["upload_url"] = o.UploadUrl + } + return json.Marshal(toSerialize) +} + +type NullablePackageFilePartsUploadResponse struct { + value *PackageFilePartsUploadResponse + isSet bool +} + +func (v NullablePackageFilePartsUploadResponse) Get() *PackageFilePartsUploadResponse { + return v.value +} + +func (v *NullablePackageFilePartsUploadResponse) Set(val *PackageFilePartsUploadResponse) { + v.value = val + v.isSet = true +} + +func (v NullablePackageFilePartsUploadResponse) IsSet() bool { + return v.isSet +} + +func (v *NullablePackageFilePartsUploadResponse) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullablePackageFilePartsUploadResponse(val *PackageFilePartsUploadResponse) *NullablePackageFilePartsUploadResponse { + return &NullablePackageFilePartsUploadResponse{value: val, isSet: true} +} + +func (v NullablePackageFilePartsUploadResponse) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullablePackageFilePartsUploadResponse) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} diff --git a/model_package_file_upload.go b/model_package_file_upload.go deleted file mode 100644 index e9b5eb52..00000000 --- a/model_package_file_upload.go +++ /dev/null @@ -1,263 +0,0 @@ -/* -Cloudsmith API - -The API to the Cloudsmith Service - -API version: 1.121.3 -Contact: support@cloudsmith.io -*/ - -// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. - -package cloudsmith - -import ( - "encoding/json" -) - -// PackageFileUpload struct for PackageFileUpload -type PackageFileUpload struct { - // The identifier for the file to use when creating packages - Identifier *string `json:"identifier,omitempty"` - // The dictionary of fields that must be sent with POST uploads - UploadFields map[string]interface{} `json:"upload_fields,omitempty"` - // The dictionary of headers that must be sent with uploads - UploadHeaders map[string]interface{} `json:"upload_headers,omitempty"` - // The querystring to use for the next-step POST or PUT upload - UploadQuerystring *string `json:"upload_querystring,omitempty"` - // The URL to use for the next-step POST or PUT upload - UploadUrl *string `json:"upload_url,omitempty"` -} - -// NewPackageFileUpload instantiates a new PackageFileUpload object -// 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 NewPackageFileUpload() *PackageFileUpload { - this := PackageFileUpload{} - return &this -} - -// NewPackageFileUploadWithDefaults instantiates a new PackageFileUpload object -// This constructor will only assign default values to properties that have it defined, -// but it doesn't guarantee that properties required by API are set -func NewPackageFileUploadWithDefaults() *PackageFileUpload { - this := PackageFileUpload{} - return &this -} - -// GetIdentifier returns the Identifier field value if set, zero value otherwise. -func (o *PackageFileUpload) GetIdentifier() string { - if o == nil || o.Identifier == nil { - var ret string - return ret - } - return *o.Identifier -} - -// GetIdentifierOk returns a tuple with the Identifier field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *PackageFileUpload) GetIdentifierOk() (*string, bool) { - if o == nil || o.Identifier == nil { - return nil, false - } - return o.Identifier, true -} - -// HasIdentifier returns a boolean if a field has been set. -func (o *PackageFileUpload) HasIdentifier() bool { - if o != nil && o.Identifier != nil { - return true - } - - return false -} - -// SetIdentifier gets a reference to the given string and assigns it to the Identifier field. -func (o *PackageFileUpload) SetIdentifier(v string) { - o.Identifier = &v -} - -// GetUploadFields returns the UploadFields field value if set, zero value otherwise. -func (o *PackageFileUpload) GetUploadFields() map[string]interface{} { - if o == nil || o.UploadFields == nil { - var ret map[string]interface{} - return ret - } - return o.UploadFields -} - -// GetUploadFieldsOk returns a tuple with the UploadFields field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *PackageFileUpload) GetUploadFieldsOk() (map[string]interface{}, bool) { - if o == nil || o.UploadFields == nil { - return nil, false - } - return o.UploadFields, true -} - -// HasUploadFields returns a boolean if a field has been set. -func (o *PackageFileUpload) HasUploadFields() bool { - if o != nil && o.UploadFields != nil { - return true - } - - return false -} - -// SetUploadFields gets a reference to the given map[string]interface{} and assigns it to the UploadFields field. -func (o *PackageFileUpload) SetUploadFields(v map[string]interface{}) { - o.UploadFields = v -} - -// GetUploadHeaders returns the UploadHeaders field value if set, zero value otherwise. -func (o *PackageFileUpload) GetUploadHeaders() map[string]interface{} { - if o == nil || o.UploadHeaders == nil { - var ret map[string]interface{} - return ret - } - return o.UploadHeaders -} - -// GetUploadHeadersOk returns a tuple with the UploadHeaders field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *PackageFileUpload) GetUploadHeadersOk() (map[string]interface{}, bool) { - if o == nil || o.UploadHeaders == nil { - return nil, false - } - return o.UploadHeaders, true -} - -// HasUploadHeaders returns a boolean if a field has been set. -func (o *PackageFileUpload) HasUploadHeaders() bool { - if o != nil && o.UploadHeaders != nil { - return true - } - - return false -} - -// SetUploadHeaders gets a reference to the given map[string]interface{} and assigns it to the UploadHeaders field. -func (o *PackageFileUpload) SetUploadHeaders(v map[string]interface{}) { - o.UploadHeaders = v -} - -// GetUploadQuerystring returns the UploadQuerystring field value if set, zero value otherwise. -func (o *PackageFileUpload) GetUploadQuerystring() string { - if o == nil || o.UploadQuerystring == nil { - var ret string - return ret - } - return *o.UploadQuerystring -} - -// GetUploadQuerystringOk returns a tuple with the UploadQuerystring field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *PackageFileUpload) GetUploadQuerystringOk() (*string, bool) { - if o == nil || o.UploadQuerystring == nil { - return nil, false - } - return o.UploadQuerystring, true -} - -// HasUploadQuerystring returns a boolean if a field has been set. -func (o *PackageFileUpload) HasUploadQuerystring() bool { - if o != nil && o.UploadQuerystring != nil { - return true - } - - return false -} - -// SetUploadQuerystring gets a reference to the given string and assigns it to the UploadQuerystring field. -func (o *PackageFileUpload) SetUploadQuerystring(v string) { - o.UploadQuerystring = &v -} - -// GetUploadUrl returns the UploadUrl field value if set, zero value otherwise. -func (o *PackageFileUpload) GetUploadUrl() string { - if o == nil || o.UploadUrl == nil { - var ret string - return ret - } - return *o.UploadUrl -} - -// GetUploadUrlOk returns a tuple with the UploadUrl field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *PackageFileUpload) GetUploadUrlOk() (*string, bool) { - if o == nil || o.UploadUrl == nil { - return nil, false - } - return o.UploadUrl, true -} - -// HasUploadUrl returns a boolean if a field has been set. -func (o *PackageFileUpload) HasUploadUrl() bool { - if o != nil && o.UploadUrl != nil { - return true - } - - return false -} - -// SetUploadUrl gets a reference to the given string and assigns it to the UploadUrl field. -func (o *PackageFileUpload) SetUploadUrl(v string) { - o.UploadUrl = &v -} - -func (o PackageFileUpload) MarshalJSON() ([]byte, error) { - toSerialize := map[string]interface{}{} - if o.Identifier != nil { - toSerialize["identifier"] = o.Identifier - } - if o.UploadFields != nil { - toSerialize["upload_fields"] = o.UploadFields - } - if o.UploadHeaders != nil { - toSerialize["upload_headers"] = o.UploadHeaders - } - if o.UploadQuerystring != nil { - toSerialize["upload_querystring"] = o.UploadQuerystring - } - if o.UploadUrl != nil { - toSerialize["upload_url"] = o.UploadUrl - } - return json.Marshal(toSerialize) -} - -type NullablePackageFileUpload struct { - value *PackageFileUpload - isSet bool -} - -func (v NullablePackageFileUpload) Get() *PackageFileUpload { - return v.value -} - -func (v *NullablePackageFileUpload) Set(val *PackageFileUpload) { - v.value = val - v.isSet = true -} - -func (v NullablePackageFileUpload) IsSet() bool { - return v.isSet -} - -func (v *NullablePackageFileUpload) Unset() { - v.value = nil - v.isSet = false -} - -func NewNullablePackageFileUpload(val *PackageFileUpload) *NullablePackageFileUpload { - return &NullablePackageFileUpload{value: val, isSet: true} -} - -func (v NullablePackageFileUpload) MarshalJSON() ([]byte, error) { - return json.Marshal(v.value) -} - -func (v *NullablePackageFileUpload) UnmarshalJSON(src []byte) error { - v.isSet = true - return json.Unmarshal(src, &v.value) -} diff --git a/model_files_abort.go b/model_package_file_upload_request.go similarity index 56% rename from model_files_abort.go rename to model_package_file_upload_request.go index 8420afbf..d0ecafdd 100644 --- a/model_files_abort.go +++ b/model_package_file_upload_request.go @@ -1,9 +1,9 @@ /* -Cloudsmith API +Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.121.3 +API version: 1.181.6 Contact: support@cloudsmith.io */ @@ -15,8 +15,8 @@ import ( "encoding/json" ) -// FilesAbort struct for FilesAbort -type FilesAbort struct { +// PackageFileUploadRequest struct for PackageFileUploadRequest +type PackageFileUploadRequest struct { // Filename for the package file upload. Filename string `json:"filename"` // MD5 checksum for a POST-based package file upload. @@ -27,26 +27,30 @@ type FilesAbort struct { Sha256Checksum *string `json:"sha256_checksum,omitempty"` } -// NewFilesAbort instantiates a new FilesAbort object +// NewPackageFileUploadRequest instantiates a new PackageFileUploadRequest object // 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 NewFilesAbort(filename string) *FilesAbort { - this := FilesAbort{} +func NewPackageFileUploadRequest(filename string) *PackageFileUploadRequest { + this := PackageFileUploadRequest{} this.Filename = filename + var method string = "post" + this.Method = &method return &this } -// NewFilesAbortWithDefaults instantiates a new FilesAbort object +// NewPackageFileUploadRequestWithDefaults instantiates a new PackageFileUploadRequest object // This constructor will only assign default values to properties that have it defined, // but it doesn't guarantee that properties required by API are set -func NewFilesAbortWithDefaults() *FilesAbort { - this := FilesAbort{} +func NewPackageFileUploadRequestWithDefaults() *PackageFileUploadRequest { + this := PackageFileUploadRequest{} + var method string = "post" + this.Method = &method return &this } // GetFilename returns the Filename field value -func (o *FilesAbort) GetFilename() string { +func (o *PackageFileUploadRequest) GetFilename() string { if o == nil { var ret string return ret @@ -57,7 +61,7 @@ func (o *FilesAbort) GetFilename() string { // GetFilenameOk returns a tuple with the Filename field value // and a boolean to check if the value has been set. -func (o *FilesAbort) GetFilenameOk() (*string, bool) { +func (o *PackageFileUploadRequest) GetFilenameOk() (*string, bool) { if o == nil { return nil, false } @@ -65,13 +69,13 @@ func (o *FilesAbort) GetFilenameOk() (*string, bool) { } // SetFilename sets field value -func (o *FilesAbort) SetFilename(v string) { +func (o *PackageFileUploadRequest) SetFilename(v string) { o.Filename = v } // GetMd5Checksum returns the Md5Checksum field value if set, zero value otherwise. -func (o *FilesAbort) GetMd5Checksum() string { - if o == nil || o.Md5Checksum == nil { +func (o *PackageFileUploadRequest) GetMd5Checksum() string { + if o == nil || isNil(o.Md5Checksum) { var ret string return ret } @@ -80,16 +84,16 @@ func (o *FilesAbort) GetMd5Checksum() string { // GetMd5ChecksumOk returns a tuple with the Md5Checksum field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *FilesAbort) GetMd5ChecksumOk() (*string, bool) { - if o == nil || o.Md5Checksum == nil { +func (o *PackageFileUploadRequest) GetMd5ChecksumOk() (*string, bool) { + if o == nil || isNil(o.Md5Checksum) { return nil, false } return o.Md5Checksum, true } // HasMd5Checksum returns a boolean if a field has been set. -func (o *FilesAbort) HasMd5Checksum() bool { - if o != nil && o.Md5Checksum != nil { +func (o *PackageFileUploadRequest) HasMd5Checksum() bool { + if o != nil && !isNil(o.Md5Checksum) { return true } @@ -97,13 +101,13 @@ func (o *FilesAbort) HasMd5Checksum() bool { } // SetMd5Checksum gets a reference to the given string and assigns it to the Md5Checksum field. -func (o *FilesAbort) SetMd5Checksum(v string) { +func (o *PackageFileUploadRequest) SetMd5Checksum(v string) { o.Md5Checksum = &v } // GetMethod returns the Method field value if set, zero value otherwise. -func (o *FilesAbort) GetMethod() string { - if o == nil || o.Method == nil { +func (o *PackageFileUploadRequest) GetMethod() string { + if o == nil || isNil(o.Method) { var ret string return ret } @@ -112,16 +116,16 @@ func (o *FilesAbort) GetMethod() string { // GetMethodOk returns a tuple with the Method field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *FilesAbort) GetMethodOk() (*string, bool) { - if o == nil || o.Method == nil { +func (o *PackageFileUploadRequest) GetMethodOk() (*string, bool) { + if o == nil || isNil(o.Method) { return nil, false } return o.Method, true } // HasMethod returns a boolean if a field has been set. -func (o *FilesAbort) HasMethod() bool { - if o != nil && o.Method != nil { +func (o *PackageFileUploadRequest) HasMethod() bool { + if o != nil && !isNil(o.Method) { return true } @@ -129,13 +133,13 @@ func (o *FilesAbort) HasMethod() bool { } // SetMethod gets a reference to the given string and assigns it to the Method field. -func (o *FilesAbort) SetMethod(v string) { +func (o *PackageFileUploadRequest) SetMethod(v string) { o.Method = &v } // GetSha256Checksum returns the Sha256Checksum field value if set, zero value otherwise. -func (o *FilesAbort) GetSha256Checksum() string { - if o == nil || o.Sha256Checksum == nil { +func (o *PackageFileUploadRequest) GetSha256Checksum() string { + if o == nil || isNil(o.Sha256Checksum) { var ret string return ret } @@ -144,16 +148,16 @@ func (o *FilesAbort) GetSha256Checksum() string { // GetSha256ChecksumOk returns a tuple with the Sha256Checksum field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *FilesAbort) GetSha256ChecksumOk() (*string, bool) { - if o == nil || o.Sha256Checksum == nil { +func (o *PackageFileUploadRequest) GetSha256ChecksumOk() (*string, bool) { + if o == nil || isNil(o.Sha256Checksum) { return nil, false } return o.Sha256Checksum, true } // HasSha256Checksum returns a boolean if a field has been set. -func (o *FilesAbort) HasSha256Checksum() bool { - if o != nil && o.Sha256Checksum != nil { +func (o *PackageFileUploadRequest) HasSha256Checksum() bool { + if o != nil && !isNil(o.Sha256Checksum) { return true } @@ -161,59 +165,59 @@ func (o *FilesAbort) HasSha256Checksum() bool { } // SetSha256Checksum gets a reference to the given string and assigns it to the Sha256Checksum field. -func (o *FilesAbort) SetSha256Checksum(v string) { +func (o *PackageFileUploadRequest) SetSha256Checksum(v string) { o.Sha256Checksum = &v } -func (o FilesAbort) MarshalJSON() ([]byte, error) { +func (o PackageFileUploadRequest) MarshalJSON() ([]byte, error) { toSerialize := map[string]interface{}{} if true { toSerialize["filename"] = o.Filename } - if o.Md5Checksum != nil { + if !isNil(o.Md5Checksum) { toSerialize["md5_checksum"] = o.Md5Checksum } - if o.Method != nil { + if !isNil(o.Method) { toSerialize["method"] = o.Method } - if o.Sha256Checksum != nil { + if !isNil(o.Sha256Checksum) { toSerialize["sha256_checksum"] = o.Sha256Checksum } return json.Marshal(toSerialize) } -type NullableFilesAbort struct { - value *FilesAbort +type NullablePackageFileUploadRequest struct { + value *PackageFileUploadRequest isSet bool } -func (v NullableFilesAbort) Get() *FilesAbort { +func (v NullablePackageFileUploadRequest) Get() *PackageFileUploadRequest { return v.value } -func (v *NullableFilesAbort) Set(val *FilesAbort) { +func (v *NullablePackageFileUploadRequest) Set(val *PackageFileUploadRequest) { v.value = val v.isSet = true } -func (v NullableFilesAbort) IsSet() bool { +func (v NullablePackageFileUploadRequest) IsSet() bool { return v.isSet } -func (v *NullableFilesAbort) Unset() { +func (v *NullablePackageFileUploadRequest) Unset() { v.value = nil v.isSet = false } -func NewNullableFilesAbort(val *FilesAbort) *NullableFilesAbort { - return &NullableFilesAbort{value: val, isSet: true} +func NewNullablePackageFileUploadRequest(val *PackageFileUploadRequest) *NullablePackageFileUploadRequest { + return &NullablePackageFileUploadRequest{value: val, isSet: true} } -func (v NullableFilesAbort) MarshalJSON() ([]byte, error) { +func (v NullablePackageFileUploadRequest) MarshalJSON() ([]byte, error) { return json.Marshal(v.value) } -func (v *NullableFilesAbort) UnmarshalJSON(src []byte) error { +func (v *NullablePackageFileUploadRequest) UnmarshalJSON(src []byte) error { v.isSet = true return json.Unmarshal(src, &v.value) } diff --git a/model_package_file_upload_response.go b/model_package_file_upload_response.go new file mode 100644 index 00000000..84d63e04 --- /dev/null +++ b/model_package_file_upload_response.go @@ -0,0 +1,276 @@ +/* +Cloudsmith API (v1) + +The API to the Cloudsmith Service + +API version: 1.181.6 +Contact: support@cloudsmith.io +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cloudsmith + +import ( + "encoding/json" +) + +// PackageFileUploadResponse struct for PackageFileUploadResponse +type PackageFileUploadResponse struct { + // The identifier for the file to use when creating packages + Identifier *string `json:"identifier,omitempty"` + // The dictionary of fields that must be sent with POST uploads + UploadFields map[string]interface{} `json:"upload_fields,omitempty"` + // The dictionary of headers that must be sent with uploads + UploadHeaders map[string]interface{} `json:"upload_headers,omitempty"` + // The querystring to use for the next-step POST or PUT upload + UploadQuerystring NullableString `json:"upload_querystring,omitempty"` + // The URL to use for the next-step POST or PUT upload + UploadUrl *string `json:"upload_url,omitempty"` +} + +// NewPackageFileUploadResponse instantiates a new PackageFileUploadResponse object +// 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 NewPackageFileUploadResponse() *PackageFileUploadResponse { + this := PackageFileUploadResponse{} + return &this +} + +// NewPackageFileUploadResponseWithDefaults instantiates a new PackageFileUploadResponse object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewPackageFileUploadResponseWithDefaults() *PackageFileUploadResponse { + this := PackageFileUploadResponse{} + return &this +} + +// GetIdentifier returns the Identifier field value if set, zero value otherwise. +func (o *PackageFileUploadResponse) GetIdentifier() string { + if o == nil || isNil(o.Identifier) { + var ret string + return ret + } + return *o.Identifier +} + +// GetIdentifierOk returns a tuple with the Identifier field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *PackageFileUploadResponse) GetIdentifierOk() (*string, bool) { + if o == nil || isNil(o.Identifier) { + return nil, false + } + return o.Identifier, true +} + +// HasIdentifier returns a boolean if a field has been set. +func (o *PackageFileUploadResponse) HasIdentifier() bool { + if o != nil && !isNil(o.Identifier) { + return true + } + + return false +} + +// SetIdentifier gets a reference to the given string and assigns it to the Identifier field. +func (o *PackageFileUploadResponse) SetIdentifier(v string) { + o.Identifier = &v +} + +// GetUploadFields returns the UploadFields field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *PackageFileUploadResponse) GetUploadFields() map[string]interface{} { + if o == nil { + var ret map[string]interface{} + return ret + } + return o.UploadFields +} + +// GetUploadFieldsOk returns a tuple with the UploadFields 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 *PackageFileUploadResponse) GetUploadFieldsOk() (map[string]interface{}, bool) { + if o == nil || isNil(o.UploadFields) { + return map[string]interface{}{}, false + } + return o.UploadFields, true +} + +// HasUploadFields returns a boolean if a field has been set. +func (o *PackageFileUploadResponse) HasUploadFields() bool { + if o != nil && isNil(o.UploadFields) { + return true + } + + return false +} + +// SetUploadFields gets a reference to the given map[string]interface{} and assigns it to the UploadFields field. +func (o *PackageFileUploadResponse) SetUploadFields(v map[string]interface{}) { + o.UploadFields = v +} + +// GetUploadHeaders returns the UploadHeaders field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *PackageFileUploadResponse) GetUploadHeaders() map[string]interface{} { + if o == nil { + var ret map[string]interface{} + return ret + } + return o.UploadHeaders +} + +// GetUploadHeadersOk returns a tuple with the UploadHeaders 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 *PackageFileUploadResponse) GetUploadHeadersOk() (map[string]interface{}, bool) { + if o == nil || isNil(o.UploadHeaders) { + return map[string]interface{}{}, false + } + return o.UploadHeaders, true +} + +// HasUploadHeaders returns a boolean if a field has been set. +func (o *PackageFileUploadResponse) HasUploadHeaders() bool { + if o != nil && isNil(o.UploadHeaders) { + return true + } + + return false +} + +// SetUploadHeaders gets a reference to the given map[string]interface{} and assigns it to the UploadHeaders field. +func (o *PackageFileUploadResponse) SetUploadHeaders(v map[string]interface{}) { + o.UploadHeaders = v +} + +// GetUploadQuerystring returns the UploadQuerystring field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *PackageFileUploadResponse) GetUploadQuerystring() string { + if o == nil || isNil(o.UploadQuerystring.Get()) { + var ret string + return ret + } + return *o.UploadQuerystring.Get() +} + +// GetUploadQuerystringOk returns a tuple with the UploadQuerystring 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 *PackageFileUploadResponse) GetUploadQuerystringOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.UploadQuerystring.Get(), o.UploadQuerystring.IsSet() +} + +// HasUploadQuerystring returns a boolean if a field has been set. +func (o *PackageFileUploadResponse) HasUploadQuerystring() bool { + if o != nil && o.UploadQuerystring.IsSet() { + return true + } + + return false +} + +// SetUploadQuerystring gets a reference to the given NullableString and assigns it to the UploadQuerystring field. +func (o *PackageFileUploadResponse) SetUploadQuerystring(v string) { + o.UploadQuerystring.Set(&v) +} + +// SetUploadQuerystringNil sets the value for UploadQuerystring to be an explicit nil +func (o *PackageFileUploadResponse) SetUploadQuerystringNil() { + o.UploadQuerystring.Set(nil) +} + +// UnsetUploadQuerystring ensures that no value is present for UploadQuerystring, not even an explicit nil +func (o *PackageFileUploadResponse) UnsetUploadQuerystring() { + o.UploadQuerystring.Unset() +} + +// GetUploadUrl returns the UploadUrl field value if set, zero value otherwise. +func (o *PackageFileUploadResponse) GetUploadUrl() string { + if o == nil || isNil(o.UploadUrl) { + var ret string + return ret + } + return *o.UploadUrl +} + +// GetUploadUrlOk returns a tuple with the UploadUrl field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *PackageFileUploadResponse) GetUploadUrlOk() (*string, bool) { + if o == nil || isNil(o.UploadUrl) { + return nil, false + } + return o.UploadUrl, true +} + +// HasUploadUrl returns a boolean if a field has been set. +func (o *PackageFileUploadResponse) HasUploadUrl() bool { + if o != nil && !isNil(o.UploadUrl) { + return true + } + + return false +} + +// SetUploadUrl gets a reference to the given string and assigns it to the UploadUrl field. +func (o *PackageFileUploadResponse) SetUploadUrl(v string) { + o.UploadUrl = &v +} + +func (o PackageFileUploadResponse) MarshalJSON() ([]byte, error) { + toSerialize := map[string]interface{}{} + if !isNil(o.Identifier) { + toSerialize["identifier"] = o.Identifier + } + if o.UploadFields != nil { + toSerialize["upload_fields"] = o.UploadFields + } + if o.UploadHeaders != nil { + toSerialize["upload_headers"] = o.UploadHeaders + } + if o.UploadQuerystring.IsSet() { + toSerialize["upload_querystring"] = o.UploadQuerystring.Get() + } + if !isNil(o.UploadUrl) { + toSerialize["upload_url"] = o.UploadUrl + } + return json.Marshal(toSerialize) +} + +type NullablePackageFileUploadResponse struct { + value *PackageFileUploadResponse + isSet bool +} + +func (v NullablePackageFileUploadResponse) Get() *PackageFileUploadResponse { + return v.value +} + +func (v *NullablePackageFileUploadResponse) Set(val *PackageFileUploadResponse) { + v.value = val + v.isSet = true +} + +func (v NullablePackageFileUploadResponse) IsSet() bool { + return v.isSet +} + +func (v *NullablePackageFileUploadResponse) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullablePackageFileUploadResponse(val *PackageFileUploadResponse) *NullablePackageFileUploadResponse { + return &NullablePackageFileUploadResponse{value: val, isSet: true} +} + +func (v NullablePackageFileUploadResponse) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullablePackageFileUploadResponse) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} diff --git a/model_packages_move.go b/model_package_move_request.go similarity index 52% rename from model_packages_move.go rename to model_package_move_request.go index 7470547c..f4ba1045 100644 --- a/model_packages_move.go +++ b/model_package_move_request.go @@ -1,9 +1,9 @@ /* -Cloudsmith API +Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.121.3 +API version: 1.181.6 Contact: support@cloudsmith.io */ @@ -15,32 +15,31 @@ import ( "encoding/json" ) -// PackagesMove struct for PackagesMove -type PackagesMove struct { - // None +// PackageMoveRequest struct for PackageMoveRequest +type PackageMoveRequest struct { Destination string `json:"destination"` } -// NewPackagesMove instantiates a new PackagesMove object +// NewPackageMoveRequest instantiates a new PackageMoveRequest object // 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 NewPackagesMove(destination string) *PackagesMove { - this := PackagesMove{} +func NewPackageMoveRequest(destination string) *PackageMoveRequest { + this := PackageMoveRequest{} this.Destination = destination return &this } -// NewPackagesMoveWithDefaults instantiates a new PackagesMove object +// NewPackageMoveRequestWithDefaults instantiates a new PackageMoveRequest object // This constructor will only assign default values to properties that have it defined, // but it doesn't guarantee that properties required by API are set -func NewPackagesMoveWithDefaults() *PackagesMove { - this := PackagesMove{} +func NewPackageMoveRequestWithDefaults() *PackageMoveRequest { + this := PackageMoveRequest{} return &this } // GetDestination returns the Destination field value -func (o *PackagesMove) GetDestination() string { +func (o *PackageMoveRequest) GetDestination() string { if o == nil { var ret string return ret @@ -51,7 +50,7 @@ func (o *PackagesMove) GetDestination() string { // GetDestinationOk returns a tuple with the Destination field value // and a boolean to check if the value has been set. -func (o *PackagesMove) GetDestinationOk() (*string, bool) { +func (o *PackageMoveRequest) GetDestinationOk() (*string, bool) { if o == nil { return nil, false } @@ -59,11 +58,11 @@ func (o *PackagesMove) GetDestinationOk() (*string, bool) { } // SetDestination sets field value -func (o *PackagesMove) SetDestination(v string) { +func (o *PackageMoveRequest) SetDestination(v string) { o.Destination = v } -func (o PackagesMove) MarshalJSON() ([]byte, error) { +func (o PackageMoveRequest) MarshalJSON() ([]byte, error) { toSerialize := map[string]interface{}{} if true { toSerialize["destination"] = o.Destination @@ -71,38 +70,38 @@ func (o PackagesMove) MarshalJSON() ([]byte, error) { return json.Marshal(toSerialize) } -type NullablePackagesMove struct { - value *PackagesMove +type NullablePackageMoveRequest struct { + value *PackageMoveRequest isSet bool } -func (v NullablePackagesMove) Get() *PackagesMove { +func (v NullablePackageMoveRequest) Get() *PackageMoveRequest { return v.value } -func (v *NullablePackagesMove) Set(val *PackagesMove) { +func (v *NullablePackageMoveRequest) Set(val *PackageMoveRequest) { v.value = val v.isSet = true } -func (v NullablePackagesMove) IsSet() bool { +func (v NullablePackageMoveRequest) IsSet() bool { return v.isSet } -func (v *NullablePackagesMove) Unset() { +func (v *NullablePackageMoveRequest) Unset() { v.value = nil v.isSet = false } -func NewNullablePackagesMove(val *PackagesMove) *NullablePackagesMove { - return &NullablePackagesMove{value: val, isSet: true} +func NewNullablePackageMoveRequest(val *PackageMoveRequest) *NullablePackageMoveRequest { + return &NullablePackageMoveRequest{value: val, isSet: true} } -func (v NullablePackagesMove) MarshalJSON() ([]byte, error) { +func (v NullablePackageMoveRequest) MarshalJSON() ([]byte, error) { return json.Marshal(v.value) } -func (v *NullablePackagesMove) UnmarshalJSON(src []byte) error { +func (v *NullablePackageMoveRequest) UnmarshalJSON(src []byte) error { v.isSet = true return json.Unmarshal(src, &v.value) } diff --git a/model_package_move.go b/model_package_move_response.go similarity index 53% rename from model_package_move.go rename to model_package_move_response.go index cc962944..77265467 100644 --- a/model_package_move.go +++ b/model_package_move_response.go @@ -1,9 +1,9 @@ /* -Cloudsmith API +Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.121.3 +API version: 1.181.6 Contact: support@cloudsmith.io */ @@ -13,167 +13,129 @@ package cloudsmith import ( "encoding/json" + "time" ) -// PackageMove struct for PackageMove -type PackageMove struct { - // - Architectures []PackagesOwnerRepoArchitectures `json:"architectures,omitempty"` - // - CdnUrl *string `json:"cdn_url,omitempty"` - // - ChecksumMd5 *string `json:"checksum_md5,omitempty"` - // - ChecksumSha1 *string `json:"checksum_sha1,omitempty"` - // - ChecksumSha256 *string `json:"checksum_sha256,omitempty"` - // - ChecksumSha512 *string `json:"checksum_sha512,omitempty"` +// PackageMoveResponse struct for PackageMoveResponse +type PackageMoveResponse struct { + Architectures []Architecture `json:"architectures,omitempty"` + CdnUrl NullableString `json:"cdn_url,omitempty"` + ChecksumMd5 *string `json:"checksum_md5,omitempty"` + ChecksumSha1 *string `json:"checksum_sha1,omitempty"` + ChecksumSha256 *string `json:"checksum_sha256,omitempty"` + ChecksumSha512 *string `json:"checksum_sha512,omitempty"` // A checksum of all of the package's dependencies. DependenciesChecksumMd5 *string `json:"dependencies_checksum_md5,omitempty"` - // - DependenciesUrl *string `json:"dependencies_url,omitempty"` + DependenciesUrl *string `json:"dependencies_url,omitempty"` // A textual description of this package. - Description *string `json:"description,omitempty"` - // - Distro map[string]interface{} `json:"distro,omitempty"` - // - DistroVersion map[string]interface{} `json:"distro_version,omitempty"` - // - Downloads *int64 `json:"downloads,omitempty"` + Description *string `json:"description,omitempty"` + Distro NullableDistribution `json:"distro,omitempty"` + DistroVersion *DistributionVersion `json:"distro_version,omitempty"` + Downloads *int64 `json:"downloads,omitempty"` // The epoch of the package version (if any). - Epoch *int64 `json:"epoch,omitempty"` - // - Extension *string `json:"extension,omitempty"` - // - Filename *string `json:"filename,omitempty"` - // - Files []PackagesOwnerRepoFiles `json:"files,omitempty"` - // - Format *string `json:"format,omitempty"` - // - FormatUrl *string `json:"format_url,omitempty"` + Epoch *int64 `json:"epoch,omitempty"` + Extension *string `json:"extension,omitempty"` + Filename *string `json:"filename,omitempty"` + Files []PackageFile `json:"files,omitempty"` + Format *string `json:"format,omitempty"` + FormatUrl *string `json:"format_url,omitempty"` // Unique and permanent identifier for the package. - IdentifierPerm *string `json:"identifier_perm,omitempty"` - // - Indexed *bool `json:"indexed,omitempty"` - // - IsDownloadable *bool `json:"is_downloadable,omitempty"` - // - IsQuarantined *bool `json:"is_quarantined,omitempty"` - // - IsSyncAwaiting *bool `json:"is_sync_awaiting,omitempty"` - // - IsSyncCompleted *bool `json:"is_sync_completed,omitempty"` - // - IsSyncFailed *bool `json:"is_sync_failed,omitempty"` - // - IsSyncInFlight *bool `json:"is_sync_in_flight,omitempty"` - // - IsSyncInProgress *bool `json:"is_sync_in_progress,omitempty"` + IdentifierPerm *string `json:"identifier_perm,omitempty"` + Indexed *bool `json:"indexed,omitempty"` + IsDownloadable *bool `json:"is_downloadable,omitempty"` + IsQuarantined *bool `json:"is_quarantined,omitempty"` + IsSyncAwaiting *bool `json:"is_sync_awaiting,omitempty"` + IsSyncCompleted *bool `json:"is_sync_completed,omitempty"` + IsSyncFailed *bool `json:"is_sync_failed,omitempty"` + IsSyncInFlight *bool `json:"is_sync_in_flight,omitempty"` + IsSyncInProgress *bool `json:"is_sync_in_progress,omitempty"` // The license of this package. License *string `json:"license,omitempty"` // The name of this package. - Name *string `json:"name,omitempty"` - // - Namespace *string `json:"namespace,omitempty"` - // - NamespaceUrl *string `json:"namespace_url,omitempty"` - // - NumFiles *int64 `json:"num_files,omitempty"` + Name *string `json:"name,omitempty"` + Namespace *string `json:"namespace,omitempty"` + NamespaceUrl *string `json:"namespace_url,omitempty"` + NumFiles *int64 `json:"num_files,omitempty"` + OriginRepository *string `json:"origin_repository,omitempty"` + OriginRepositoryUrl *string `json:"origin_repository_url,omitempty"` // The type of package contents. PackageType *int64 `json:"package_type,omitempty"` // The release of the package version (if any). Release *string `json:"release,omitempty"` // The repository the package will be moved to. - Repository *string `json:"repository,omitempty"` - // + Repository *string `json:"repository,omitempty"` RepositoryUrl *string `json:"repository_url,omitempty"` // The datetime the security scanning was completed. - SecurityScanCompletedAt *string `json:"security_scan_completed_at,omitempty"` + SecurityScanCompletedAt *time.Time `json:"security_scan_completed_at,omitempty"` // The datetime the security scanning was started. - SecurityScanStartedAt *string `json:"security_scan_started_at,omitempty"` - // - SecurityScanStatus *string `json:"security_scan_status,omitempty"` + SecurityScanStartedAt *time.Time `json:"security_scan_started_at,omitempty"` + SecurityScanStatus NullableString `json:"security_scan_status,omitempty"` // The datetime the security scanning status was updated. - SecurityScanStatusUpdatedAt *string `json:"security_scan_status_updated_at,omitempty"` - // - SelfHtmlUrl *string `json:"self_html_url,omitempty"` - // - SelfUrl *string `json:"self_url,omitempty"` - // - SignatureUrl *string `json:"signature_url,omitempty"` + SecurityScanStatusUpdatedAt *time.Time `json:"security_scan_status_updated_at,omitempty"` + SelfHtmlUrl *string `json:"self_html_url,omitempty"` + SelfUrl *string `json:"self_url,omitempty"` + SignatureUrl NullableString `json:"signature_url,omitempty"` // The calculated size of the package. Size *int64 `json:"size,omitempty"` // The public unique identifier for the package. - Slug *string `json:"slug,omitempty"` - // + Slug *string `json:"slug,omitempty"` SlugPerm *string `json:"slug_perm,omitempty"` // The synchronisation (in progress) stage of the package. - Stage *int64 `json:"stage,omitempty"` - // + Stage *int64 `json:"stage,omitempty"` StageStr *string `json:"stage_str,omitempty"` // The datetime the package stage was updated at. - StageUpdatedAt *string `json:"stage_updated_at,omitempty"` + StageUpdatedAt *time.Time `json:"stage_updated_at,omitempty"` // The synchronisation status of the package. Status *int64 `json:"status,omitempty"` // A textual description for the synchronous status reason (if any StatusReason *string `json:"status_reason,omitempty"` - // - StatusStr *string `json:"status_str,omitempty"` + StatusStr *string `json:"status_str,omitempty"` // The datetime the package status was updated at. - StatusUpdatedAt *string `json:"status_updated_at,omitempty"` - // - StatusUrl *string `json:"status_url,omitempty"` - // - Subtype *string `json:"subtype,omitempty"` + StatusUpdatedAt *time.Time `json:"status_updated_at,omitempty"` + StatusUrl *string `json:"status_url,omitempty"` + Subtype *string `json:"subtype,omitempty"` // A one-liner synopsis of this package. Summary *string `json:"summary,omitempty"` // The datetime the package sync was finished at. - SyncFinishedAt *string `json:"sync_finished_at,omitempty"` + SyncFinishedAt *time.Time `json:"sync_finished_at,omitempty"` // Synchronisation progress (from 0-100) SyncProgress *int64 `json:"sync_progress,omitempty"` // All tags on the package, grouped by tag type. This includes immutable tags, but doesn't distinguish them from mutable. To see which tags are immutable specifically, see the tags_immutable field. Tags map[string]interface{} `json:"tags,omitempty"` - // All immutable tags on the package, grouped by tag type. Immutable tags cannot be (easily) deleted. + // All tags on the package, grouped by tag type. This includes immutable tags, but doesn't distinguish them from mutable. To see which tags are immutable specifically, see the tags_immutable field. TagsImmutable map[string]interface{} `json:"tags_immutable,omitempty"` - // - TypeDisplay *string `json:"type_display,omitempty"` + TypeDisplay *string `json:"type_display,omitempty"` // The date this package was uploaded. - UploadedAt *string `json:"uploaded_at,omitempty"` - // - Uploader *string `json:"uploader,omitempty"` - // - UploaderUrl *string `json:"uploader_url,omitempty"` + UploadedAt *time.Time `json:"uploaded_at,omitempty"` + Uploader *string `json:"uploader,omitempty"` + UploaderUrl *string `json:"uploader_url,omitempty"` // The raw version for this package. - Version *string `json:"version,omitempty"` - // - VersionOrig *string `json:"version_orig,omitempty"` - // + Version *string `json:"version,omitempty"` + VersionOrig *string `json:"version_orig,omitempty"` VulnerabilityScanResultsUrl *string `json:"vulnerability_scan_results_url,omitempty"` } -// NewPackageMove instantiates a new PackageMove object +// NewPackageMoveResponse instantiates a new PackageMoveResponse object // 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 NewPackageMove() *PackageMove { - this := PackageMove{} +func NewPackageMoveResponse() *PackageMoveResponse { + this := PackageMoveResponse{} return &this } -// NewPackageMoveWithDefaults instantiates a new PackageMove object +// NewPackageMoveResponseWithDefaults instantiates a new PackageMoveResponse object // This constructor will only assign default values to properties that have it defined, // but it doesn't guarantee that properties required by API are set -func NewPackageMoveWithDefaults() *PackageMove { - this := PackageMove{} +func NewPackageMoveResponseWithDefaults() *PackageMoveResponse { + this := PackageMoveResponse{} return &this } // GetArchitectures returns the Architectures field value if set, zero value otherwise. -func (o *PackageMove) GetArchitectures() []PackagesOwnerRepoArchitectures { - if o == nil || o.Architectures == nil { - var ret []PackagesOwnerRepoArchitectures +func (o *PackageMoveResponse) GetArchitectures() []Architecture { + if o == nil || isNil(o.Architectures) { + var ret []Architecture return ret } return o.Architectures @@ -181,62 +143,73 @@ func (o *PackageMove) GetArchitectures() []PackagesOwnerRepoArchitectures { // GetArchitecturesOk returns a tuple with the Architectures field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *PackageMove) GetArchitecturesOk() ([]PackagesOwnerRepoArchitectures, bool) { - if o == nil || o.Architectures == nil { +func (o *PackageMoveResponse) GetArchitecturesOk() ([]Architecture, bool) { + if o == nil || isNil(o.Architectures) { return nil, false } return o.Architectures, true } // HasArchitectures returns a boolean if a field has been set. -func (o *PackageMove) HasArchitectures() bool { - if o != nil && o.Architectures != nil { +func (o *PackageMoveResponse) HasArchitectures() bool { + if o != nil && !isNil(o.Architectures) { return true } return false } -// SetArchitectures gets a reference to the given []PackagesOwnerRepoArchitectures and assigns it to the Architectures field. -func (o *PackageMove) SetArchitectures(v []PackagesOwnerRepoArchitectures) { +// SetArchitectures gets a reference to the given []Architecture and assigns it to the Architectures field. +func (o *PackageMoveResponse) SetArchitectures(v []Architecture) { o.Architectures = v } -// GetCdnUrl returns the CdnUrl field value if set, zero value otherwise. -func (o *PackageMove) GetCdnUrl() string { - if o == nil || o.CdnUrl == nil { +// GetCdnUrl returns the CdnUrl field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *PackageMoveResponse) GetCdnUrl() string { + if o == nil || isNil(o.CdnUrl.Get()) { var ret string return ret } - return *o.CdnUrl + return *o.CdnUrl.Get() } // GetCdnUrlOk returns a tuple with the CdnUrl field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *PackageMove) GetCdnUrlOk() (*string, bool) { - if o == nil || o.CdnUrl == nil { +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *PackageMoveResponse) GetCdnUrlOk() (*string, bool) { + if o == nil { return nil, false } - return o.CdnUrl, true + return o.CdnUrl.Get(), o.CdnUrl.IsSet() } // HasCdnUrl returns a boolean if a field has been set. -func (o *PackageMove) HasCdnUrl() bool { - if o != nil && o.CdnUrl != nil { +func (o *PackageMoveResponse) HasCdnUrl() bool { + if o != nil && o.CdnUrl.IsSet() { return true } return false } -// SetCdnUrl gets a reference to the given string and assigns it to the CdnUrl field. -func (o *PackageMove) SetCdnUrl(v string) { - o.CdnUrl = &v +// SetCdnUrl gets a reference to the given NullableString and assigns it to the CdnUrl field. +func (o *PackageMoveResponse) SetCdnUrl(v string) { + o.CdnUrl.Set(&v) +} + +// SetCdnUrlNil sets the value for CdnUrl to be an explicit nil +func (o *PackageMoveResponse) SetCdnUrlNil() { + o.CdnUrl.Set(nil) +} + +// UnsetCdnUrl ensures that no value is present for CdnUrl, not even an explicit nil +func (o *PackageMoveResponse) UnsetCdnUrl() { + o.CdnUrl.Unset() } // GetChecksumMd5 returns the ChecksumMd5 field value if set, zero value otherwise. -func (o *PackageMove) GetChecksumMd5() string { - if o == nil || o.ChecksumMd5 == nil { +func (o *PackageMoveResponse) GetChecksumMd5() string { + if o == nil || isNil(o.ChecksumMd5) { var ret string return ret } @@ -245,16 +218,16 @@ func (o *PackageMove) GetChecksumMd5() string { // GetChecksumMd5Ok returns a tuple with the ChecksumMd5 field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *PackageMove) GetChecksumMd5Ok() (*string, bool) { - if o == nil || o.ChecksumMd5 == nil { +func (o *PackageMoveResponse) GetChecksumMd5Ok() (*string, bool) { + if o == nil || isNil(o.ChecksumMd5) { return nil, false } return o.ChecksumMd5, true } // HasChecksumMd5 returns a boolean if a field has been set. -func (o *PackageMove) HasChecksumMd5() bool { - if o != nil && o.ChecksumMd5 != nil { +func (o *PackageMoveResponse) HasChecksumMd5() bool { + if o != nil && !isNil(o.ChecksumMd5) { return true } @@ -262,13 +235,13 @@ func (o *PackageMove) HasChecksumMd5() bool { } // SetChecksumMd5 gets a reference to the given string and assigns it to the ChecksumMd5 field. -func (o *PackageMove) SetChecksumMd5(v string) { +func (o *PackageMoveResponse) SetChecksumMd5(v string) { o.ChecksumMd5 = &v } // GetChecksumSha1 returns the ChecksumSha1 field value if set, zero value otherwise. -func (o *PackageMove) GetChecksumSha1() string { - if o == nil || o.ChecksumSha1 == nil { +func (o *PackageMoveResponse) GetChecksumSha1() string { + if o == nil || isNil(o.ChecksumSha1) { var ret string return ret } @@ -277,16 +250,16 @@ func (o *PackageMove) GetChecksumSha1() string { // GetChecksumSha1Ok returns a tuple with the ChecksumSha1 field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *PackageMove) GetChecksumSha1Ok() (*string, bool) { - if o == nil || o.ChecksumSha1 == nil { +func (o *PackageMoveResponse) GetChecksumSha1Ok() (*string, bool) { + if o == nil || isNil(o.ChecksumSha1) { return nil, false } return o.ChecksumSha1, true } // HasChecksumSha1 returns a boolean if a field has been set. -func (o *PackageMove) HasChecksumSha1() bool { - if o != nil && o.ChecksumSha1 != nil { +func (o *PackageMoveResponse) HasChecksumSha1() bool { + if o != nil && !isNil(o.ChecksumSha1) { return true } @@ -294,13 +267,13 @@ func (o *PackageMove) HasChecksumSha1() bool { } // SetChecksumSha1 gets a reference to the given string and assigns it to the ChecksumSha1 field. -func (o *PackageMove) SetChecksumSha1(v string) { +func (o *PackageMoveResponse) SetChecksumSha1(v string) { o.ChecksumSha1 = &v } // GetChecksumSha256 returns the ChecksumSha256 field value if set, zero value otherwise. -func (o *PackageMove) GetChecksumSha256() string { - if o == nil || o.ChecksumSha256 == nil { +func (o *PackageMoveResponse) GetChecksumSha256() string { + if o == nil || isNil(o.ChecksumSha256) { var ret string return ret } @@ -309,16 +282,16 @@ func (o *PackageMove) GetChecksumSha256() string { // GetChecksumSha256Ok returns a tuple with the ChecksumSha256 field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *PackageMove) GetChecksumSha256Ok() (*string, bool) { - if o == nil || o.ChecksumSha256 == nil { +func (o *PackageMoveResponse) GetChecksumSha256Ok() (*string, bool) { + if o == nil || isNil(o.ChecksumSha256) { return nil, false } return o.ChecksumSha256, true } // HasChecksumSha256 returns a boolean if a field has been set. -func (o *PackageMove) HasChecksumSha256() bool { - if o != nil && o.ChecksumSha256 != nil { +func (o *PackageMoveResponse) HasChecksumSha256() bool { + if o != nil && !isNil(o.ChecksumSha256) { return true } @@ -326,13 +299,13 @@ func (o *PackageMove) HasChecksumSha256() bool { } // SetChecksumSha256 gets a reference to the given string and assigns it to the ChecksumSha256 field. -func (o *PackageMove) SetChecksumSha256(v string) { +func (o *PackageMoveResponse) SetChecksumSha256(v string) { o.ChecksumSha256 = &v } // GetChecksumSha512 returns the ChecksumSha512 field value if set, zero value otherwise. -func (o *PackageMove) GetChecksumSha512() string { - if o == nil || o.ChecksumSha512 == nil { +func (o *PackageMoveResponse) GetChecksumSha512() string { + if o == nil || isNil(o.ChecksumSha512) { var ret string return ret } @@ -341,16 +314,16 @@ func (o *PackageMove) GetChecksumSha512() string { // GetChecksumSha512Ok returns a tuple with the ChecksumSha512 field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *PackageMove) GetChecksumSha512Ok() (*string, bool) { - if o == nil || o.ChecksumSha512 == nil { +func (o *PackageMoveResponse) GetChecksumSha512Ok() (*string, bool) { + if o == nil || isNil(o.ChecksumSha512) { return nil, false } return o.ChecksumSha512, true } // HasChecksumSha512 returns a boolean if a field has been set. -func (o *PackageMove) HasChecksumSha512() bool { - if o != nil && o.ChecksumSha512 != nil { +func (o *PackageMoveResponse) HasChecksumSha512() bool { + if o != nil && !isNil(o.ChecksumSha512) { return true } @@ -358,13 +331,13 @@ func (o *PackageMove) HasChecksumSha512() bool { } // SetChecksumSha512 gets a reference to the given string and assigns it to the ChecksumSha512 field. -func (o *PackageMove) SetChecksumSha512(v string) { +func (o *PackageMoveResponse) SetChecksumSha512(v string) { o.ChecksumSha512 = &v } // GetDependenciesChecksumMd5 returns the DependenciesChecksumMd5 field value if set, zero value otherwise. -func (o *PackageMove) GetDependenciesChecksumMd5() string { - if o == nil || o.DependenciesChecksumMd5 == nil { +func (o *PackageMoveResponse) GetDependenciesChecksumMd5() string { + if o == nil || isNil(o.DependenciesChecksumMd5) { var ret string return ret } @@ -373,16 +346,16 @@ func (o *PackageMove) GetDependenciesChecksumMd5() string { // GetDependenciesChecksumMd5Ok returns a tuple with the DependenciesChecksumMd5 field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *PackageMove) GetDependenciesChecksumMd5Ok() (*string, bool) { - if o == nil || o.DependenciesChecksumMd5 == nil { +func (o *PackageMoveResponse) GetDependenciesChecksumMd5Ok() (*string, bool) { + if o == nil || isNil(o.DependenciesChecksumMd5) { return nil, false } return o.DependenciesChecksumMd5, true } // HasDependenciesChecksumMd5 returns a boolean if a field has been set. -func (o *PackageMove) HasDependenciesChecksumMd5() bool { - if o != nil && o.DependenciesChecksumMd5 != nil { +func (o *PackageMoveResponse) HasDependenciesChecksumMd5() bool { + if o != nil && !isNil(o.DependenciesChecksumMd5) { return true } @@ -390,13 +363,13 @@ func (o *PackageMove) HasDependenciesChecksumMd5() bool { } // SetDependenciesChecksumMd5 gets a reference to the given string and assigns it to the DependenciesChecksumMd5 field. -func (o *PackageMove) SetDependenciesChecksumMd5(v string) { +func (o *PackageMoveResponse) SetDependenciesChecksumMd5(v string) { o.DependenciesChecksumMd5 = &v } // GetDependenciesUrl returns the DependenciesUrl field value if set, zero value otherwise. -func (o *PackageMove) GetDependenciesUrl() string { - if o == nil || o.DependenciesUrl == nil { +func (o *PackageMoveResponse) GetDependenciesUrl() string { + if o == nil || isNil(o.DependenciesUrl) { var ret string return ret } @@ -405,16 +378,16 @@ func (o *PackageMove) GetDependenciesUrl() string { // GetDependenciesUrlOk returns a tuple with the DependenciesUrl field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *PackageMove) GetDependenciesUrlOk() (*string, bool) { - if o == nil || o.DependenciesUrl == nil { +func (o *PackageMoveResponse) GetDependenciesUrlOk() (*string, bool) { + if o == nil || isNil(o.DependenciesUrl) { return nil, false } return o.DependenciesUrl, true } // HasDependenciesUrl returns a boolean if a field has been set. -func (o *PackageMove) HasDependenciesUrl() bool { - if o != nil && o.DependenciesUrl != nil { +func (o *PackageMoveResponse) HasDependenciesUrl() bool { + if o != nil && !isNil(o.DependenciesUrl) { return true } @@ -422,13 +395,13 @@ func (o *PackageMove) HasDependenciesUrl() bool { } // SetDependenciesUrl gets a reference to the given string and assigns it to the DependenciesUrl field. -func (o *PackageMove) SetDependenciesUrl(v string) { +func (o *PackageMoveResponse) SetDependenciesUrl(v string) { o.DependenciesUrl = &v } // GetDescription returns the Description field value if set, zero value otherwise. -func (o *PackageMove) GetDescription() string { - if o == nil || o.Description == nil { +func (o *PackageMoveResponse) GetDescription() string { + if o == nil || isNil(o.Description) { var ret string return ret } @@ -437,16 +410,16 @@ func (o *PackageMove) GetDescription() string { // GetDescriptionOk returns a tuple with the Description field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *PackageMove) GetDescriptionOk() (*string, bool) { - if o == nil || o.Description == nil { +func (o *PackageMoveResponse) GetDescriptionOk() (*string, bool) { + if o == nil || isNil(o.Description) { return nil, false } return o.Description, true } // HasDescription returns a boolean if a field has been set. -func (o *PackageMove) HasDescription() bool { - if o != nil && o.Description != nil { +func (o *PackageMoveResponse) HasDescription() bool { + if o != nil && !isNil(o.Description) { return true } @@ -454,77 +427,88 @@ func (o *PackageMove) HasDescription() bool { } // SetDescription gets a reference to the given string and assigns it to the Description field. -func (o *PackageMove) SetDescription(v string) { +func (o *PackageMoveResponse) SetDescription(v string) { o.Description = &v } -// GetDistro returns the Distro field value if set, zero value otherwise. -func (o *PackageMove) GetDistro() map[string]interface{} { - if o == nil || o.Distro == nil { - var ret map[string]interface{} +// GetDistro returns the Distro field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *PackageMoveResponse) GetDistro() Distribution { + if o == nil || isNil(o.Distro.Get()) { + var ret Distribution return ret } - return o.Distro + return *o.Distro.Get() } // GetDistroOk returns a tuple with the Distro field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *PackageMove) GetDistroOk() (map[string]interface{}, bool) { - if o == nil || o.Distro == nil { +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *PackageMoveResponse) GetDistroOk() (*Distribution, bool) { + if o == nil { return nil, false } - return o.Distro, true + return o.Distro.Get(), o.Distro.IsSet() } // HasDistro returns a boolean if a field has been set. -func (o *PackageMove) HasDistro() bool { - if o != nil && o.Distro != nil { +func (o *PackageMoveResponse) HasDistro() bool { + if o != nil && o.Distro.IsSet() { return true } return false } -// SetDistro gets a reference to the given map[string]interface{} and assigns it to the Distro field. -func (o *PackageMove) SetDistro(v map[string]interface{}) { - o.Distro = v +// SetDistro gets a reference to the given NullableDistribution and assigns it to the Distro field. +func (o *PackageMoveResponse) SetDistro(v Distribution) { + o.Distro.Set(&v) +} + +// SetDistroNil sets the value for Distro to be an explicit nil +func (o *PackageMoveResponse) SetDistroNil() { + o.Distro.Set(nil) +} + +// UnsetDistro ensures that no value is present for Distro, not even an explicit nil +func (o *PackageMoveResponse) UnsetDistro() { + o.Distro.Unset() } // GetDistroVersion returns the DistroVersion field value if set, zero value otherwise. -func (o *PackageMove) GetDistroVersion() map[string]interface{} { - if o == nil || o.DistroVersion == nil { - var ret map[string]interface{} +func (o *PackageMoveResponse) GetDistroVersion() DistributionVersion { + if o == nil || isNil(o.DistroVersion) { + var ret DistributionVersion return ret } - return o.DistroVersion + return *o.DistroVersion } // GetDistroVersionOk returns a tuple with the DistroVersion field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *PackageMove) GetDistroVersionOk() (map[string]interface{}, bool) { - if o == nil || o.DistroVersion == nil { +func (o *PackageMoveResponse) GetDistroVersionOk() (*DistributionVersion, bool) { + if o == nil || isNil(o.DistroVersion) { return nil, false } return o.DistroVersion, true } // HasDistroVersion returns a boolean if a field has been set. -func (o *PackageMove) HasDistroVersion() bool { - if o != nil && o.DistroVersion != nil { +func (o *PackageMoveResponse) HasDistroVersion() bool { + if o != nil && !isNil(o.DistroVersion) { return true } return false } -// SetDistroVersion gets a reference to the given map[string]interface{} and assigns it to the DistroVersion field. -func (o *PackageMove) SetDistroVersion(v map[string]interface{}) { - o.DistroVersion = v +// SetDistroVersion gets a reference to the given DistributionVersion and assigns it to the DistroVersion field. +func (o *PackageMoveResponse) SetDistroVersion(v DistributionVersion) { + o.DistroVersion = &v } // GetDownloads returns the Downloads field value if set, zero value otherwise. -func (o *PackageMove) GetDownloads() int64 { - if o == nil || o.Downloads == nil { +func (o *PackageMoveResponse) GetDownloads() int64 { + if o == nil || isNil(o.Downloads) { var ret int64 return ret } @@ -533,16 +517,16 @@ func (o *PackageMove) GetDownloads() int64 { // GetDownloadsOk returns a tuple with the Downloads field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *PackageMove) GetDownloadsOk() (*int64, bool) { - if o == nil || o.Downloads == nil { +func (o *PackageMoveResponse) GetDownloadsOk() (*int64, bool) { + if o == nil || isNil(o.Downloads) { return nil, false } return o.Downloads, true } // HasDownloads returns a boolean if a field has been set. -func (o *PackageMove) HasDownloads() bool { - if o != nil && o.Downloads != nil { +func (o *PackageMoveResponse) HasDownloads() bool { + if o != nil && !isNil(o.Downloads) { return true } @@ -550,13 +534,13 @@ func (o *PackageMove) HasDownloads() bool { } // SetDownloads gets a reference to the given int64 and assigns it to the Downloads field. -func (o *PackageMove) SetDownloads(v int64) { +func (o *PackageMoveResponse) SetDownloads(v int64) { o.Downloads = &v } // GetEpoch returns the Epoch field value if set, zero value otherwise. -func (o *PackageMove) GetEpoch() int64 { - if o == nil || o.Epoch == nil { +func (o *PackageMoveResponse) GetEpoch() int64 { + if o == nil || isNil(o.Epoch) { var ret int64 return ret } @@ -565,16 +549,16 @@ func (o *PackageMove) GetEpoch() int64 { // GetEpochOk returns a tuple with the Epoch field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *PackageMove) GetEpochOk() (*int64, bool) { - if o == nil || o.Epoch == nil { +func (o *PackageMoveResponse) GetEpochOk() (*int64, bool) { + if o == nil || isNil(o.Epoch) { return nil, false } return o.Epoch, true } // HasEpoch returns a boolean if a field has been set. -func (o *PackageMove) HasEpoch() bool { - if o != nil && o.Epoch != nil { +func (o *PackageMoveResponse) HasEpoch() bool { + if o != nil && !isNil(o.Epoch) { return true } @@ -582,13 +566,13 @@ func (o *PackageMove) HasEpoch() bool { } // SetEpoch gets a reference to the given int64 and assigns it to the Epoch field. -func (o *PackageMove) SetEpoch(v int64) { +func (o *PackageMoveResponse) SetEpoch(v int64) { o.Epoch = &v } // GetExtension returns the Extension field value if set, zero value otherwise. -func (o *PackageMove) GetExtension() string { - if o == nil || o.Extension == nil { +func (o *PackageMoveResponse) GetExtension() string { + if o == nil || isNil(o.Extension) { var ret string return ret } @@ -597,16 +581,16 @@ func (o *PackageMove) GetExtension() string { // GetExtensionOk returns a tuple with the Extension field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *PackageMove) GetExtensionOk() (*string, bool) { - if o == nil || o.Extension == nil { +func (o *PackageMoveResponse) GetExtensionOk() (*string, bool) { + if o == nil || isNil(o.Extension) { return nil, false } return o.Extension, true } // HasExtension returns a boolean if a field has been set. -func (o *PackageMove) HasExtension() bool { - if o != nil && o.Extension != nil { +func (o *PackageMoveResponse) HasExtension() bool { + if o != nil && !isNil(o.Extension) { return true } @@ -614,13 +598,13 @@ func (o *PackageMove) HasExtension() bool { } // SetExtension gets a reference to the given string and assigns it to the Extension field. -func (o *PackageMove) SetExtension(v string) { +func (o *PackageMoveResponse) SetExtension(v string) { o.Extension = &v } // GetFilename returns the Filename field value if set, zero value otherwise. -func (o *PackageMove) GetFilename() string { - if o == nil || o.Filename == nil { +func (o *PackageMoveResponse) GetFilename() string { + if o == nil || isNil(o.Filename) { var ret string return ret } @@ -629,16 +613,16 @@ func (o *PackageMove) GetFilename() string { // GetFilenameOk returns a tuple with the Filename field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *PackageMove) GetFilenameOk() (*string, bool) { - if o == nil || o.Filename == nil { +func (o *PackageMoveResponse) GetFilenameOk() (*string, bool) { + if o == nil || isNil(o.Filename) { return nil, false } return o.Filename, true } // HasFilename returns a boolean if a field has been set. -func (o *PackageMove) HasFilename() bool { - if o != nil && o.Filename != nil { +func (o *PackageMoveResponse) HasFilename() bool { + if o != nil && !isNil(o.Filename) { return true } @@ -646,14 +630,14 @@ func (o *PackageMove) HasFilename() bool { } // SetFilename gets a reference to the given string and assigns it to the Filename field. -func (o *PackageMove) SetFilename(v string) { +func (o *PackageMoveResponse) SetFilename(v string) { o.Filename = &v } // GetFiles returns the Files field value if set, zero value otherwise. -func (o *PackageMove) GetFiles() []PackagesOwnerRepoFiles { - if o == nil || o.Files == nil { - var ret []PackagesOwnerRepoFiles +func (o *PackageMoveResponse) GetFiles() []PackageFile { + if o == nil || isNil(o.Files) { + var ret []PackageFile return ret } return o.Files @@ -661,30 +645,30 @@ func (o *PackageMove) GetFiles() []PackagesOwnerRepoFiles { // GetFilesOk returns a tuple with the Files field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *PackageMove) GetFilesOk() ([]PackagesOwnerRepoFiles, bool) { - if o == nil || o.Files == nil { +func (o *PackageMoveResponse) GetFilesOk() ([]PackageFile, bool) { + if o == nil || isNil(o.Files) { return nil, false } return o.Files, true } // HasFiles returns a boolean if a field has been set. -func (o *PackageMove) HasFiles() bool { - if o != nil && o.Files != nil { +func (o *PackageMoveResponse) HasFiles() bool { + if o != nil && !isNil(o.Files) { return true } return false } -// SetFiles gets a reference to the given []PackagesOwnerRepoFiles and assigns it to the Files field. -func (o *PackageMove) SetFiles(v []PackagesOwnerRepoFiles) { +// SetFiles gets a reference to the given []PackageFile and assigns it to the Files field. +func (o *PackageMoveResponse) SetFiles(v []PackageFile) { o.Files = v } // GetFormat returns the Format field value if set, zero value otherwise. -func (o *PackageMove) GetFormat() string { - if o == nil || o.Format == nil { +func (o *PackageMoveResponse) GetFormat() string { + if o == nil || isNil(o.Format) { var ret string return ret } @@ -693,16 +677,16 @@ func (o *PackageMove) GetFormat() string { // GetFormatOk returns a tuple with the Format field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *PackageMove) GetFormatOk() (*string, bool) { - if o == nil || o.Format == nil { +func (o *PackageMoveResponse) GetFormatOk() (*string, bool) { + if o == nil || isNil(o.Format) { return nil, false } return o.Format, true } // HasFormat returns a boolean if a field has been set. -func (o *PackageMove) HasFormat() bool { - if o != nil && o.Format != nil { +func (o *PackageMoveResponse) HasFormat() bool { + if o != nil && !isNil(o.Format) { return true } @@ -710,13 +694,13 @@ func (o *PackageMove) HasFormat() bool { } // SetFormat gets a reference to the given string and assigns it to the Format field. -func (o *PackageMove) SetFormat(v string) { +func (o *PackageMoveResponse) SetFormat(v string) { o.Format = &v } // GetFormatUrl returns the FormatUrl field value if set, zero value otherwise. -func (o *PackageMove) GetFormatUrl() string { - if o == nil || o.FormatUrl == nil { +func (o *PackageMoveResponse) GetFormatUrl() string { + if o == nil || isNil(o.FormatUrl) { var ret string return ret } @@ -725,16 +709,16 @@ func (o *PackageMove) GetFormatUrl() string { // GetFormatUrlOk returns a tuple with the FormatUrl field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *PackageMove) GetFormatUrlOk() (*string, bool) { - if o == nil || o.FormatUrl == nil { +func (o *PackageMoveResponse) GetFormatUrlOk() (*string, bool) { + if o == nil || isNil(o.FormatUrl) { return nil, false } return o.FormatUrl, true } // HasFormatUrl returns a boolean if a field has been set. -func (o *PackageMove) HasFormatUrl() bool { - if o != nil && o.FormatUrl != nil { +func (o *PackageMoveResponse) HasFormatUrl() bool { + if o != nil && !isNil(o.FormatUrl) { return true } @@ -742,13 +726,13 @@ func (o *PackageMove) HasFormatUrl() bool { } // SetFormatUrl gets a reference to the given string and assigns it to the FormatUrl field. -func (o *PackageMove) SetFormatUrl(v string) { +func (o *PackageMoveResponse) SetFormatUrl(v string) { o.FormatUrl = &v } // GetIdentifierPerm returns the IdentifierPerm field value if set, zero value otherwise. -func (o *PackageMove) GetIdentifierPerm() string { - if o == nil || o.IdentifierPerm == nil { +func (o *PackageMoveResponse) GetIdentifierPerm() string { + if o == nil || isNil(o.IdentifierPerm) { var ret string return ret } @@ -757,16 +741,16 @@ func (o *PackageMove) GetIdentifierPerm() string { // GetIdentifierPermOk returns a tuple with the IdentifierPerm field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *PackageMove) GetIdentifierPermOk() (*string, bool) { - if o == nil || o.IdentifierPerm == nil { +func (o *PackageMoveResponse) GetIdentifierPermOk() (*string, bool) { + if o == nil || isNil(o.IdentifierPerm) { return nil, false } return o.IdentifierPerm, true } // HasIdentifierPerm returns a boolean if a field has been set. -func (o *PackageMove) HasIdentifierPerm() bool { - if o != nil && o.IdentifierPerm != nil { +func (o *PackageMoveResponse) HasIdentifierPerm() bool { + if o != nil && !isNil(o.IdentifierPerm) { return true } @@ -774,13 +758,13 @@ func (o *PackageMove) HasIdentifierPerm() bool { } // SetIdentifierPerm gets a reference to the given string and assigns it to the IdentifierPerm field. -func (o *PackageMove) SetIdentifierPerm(v string) { +func (o *PackageMoveResponse) SetIdentifierPerm(v string) { o.IdentifierPerm = &v } // GetIndexed returns the Indexed field value if set, zero value otherwise. -func (o *PackageMove) GetIndexed() bool { - if o == nil || o.Indexed == nil { +func (o *PackageMoveResponse) GetIndexed() bool { + if o == nil || isNil(o.Indexed) { var ret bool return ret } @@ -789,16 +773,16 @@ func (o *PackageMove) GetIndexed() bool { // GetIndexedOk returns a tuple with the Indexed field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *PackageMove) GetIndexedOk() (*bool, bool) { - if o == nil || o.Indexed == nil { +func (o *PackageMoveResponse) GetIndexedOk() (*bool, bool) { + if o == nil || isNil(o.Indexed) { return nil, false } return o.Indexed, true } // HasIndexed returns a boolean if a field has been set. -func (o *PackageMove) HasIndexed() bool { - if o != nil && o.Indexed != nil { +func (o *PackageMoveResponse) HasIndexed() bool { + if o != nil && !isNil(o.Indexed) { return true } @@ -806,13 +790,13 @@ func (o *PackageMove) HasIndexed() bool { } // SetIndexed gets a reference to the given bool and assigns it to the Indexed field. -func (o *PackageMove) SetIndexed(v bool) { +func (o *PackageMoveResponse) SetIndexed(v bool) { o.Indexed = &v } // GetIsDownloadable returns the IsDownloadable field value if set, zero value otherwise. -func (o *PackageMove) GetIsDownloadable() bool { - if o == nil || o.IsDownloadable == nil { +func (o *PackageMoveResponse) GetIsDownloadable() bool { + if o == nil || isNil(o.IsDownloadable) { var ret bool return ret } @@ -821,16 +805,16 @@ func (o *PackageMove) GetIsDownloadable() bool { // GetIsDownloadableOk returns a tuple with the IsDownloadable field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *PackageMove) GetIsDownloadableOk() (*bool, bool) { - if o == nil || o.IsDownloadable == nil { +func (o *PackageMoveResponse) GetIsDownloadableOk() (*bool, bool) { + if o == nil || isNil(o.IsDownloadable) { return nil, false } return o.IsDownloadable, true } // HasIsDownloadable returns a boolean if a field has been set. -func (o *PackageMove) HasIsDownloadable() bool { - if o != nil && o.IsDownloadable != nil { +func (o *PackageMoveResponse) HasIsDownloadable() bool { + if o != nil && !isNil(o.IsDownloadable) { return true } @@ -838,13 +822,13 @@ func (o *PackageMove) HasIsDownloadable() bool { } // SetIsDownloadable gets a reference to the given bool and assigns it to the IsDownloadable field. -func (o *PackageMove) SetIsDownloadable(v bool) { +func (o *PackageMoveResponse) SetIsDownloadable(v bool) { o.IsDownloadable = &v } // GetIsQuarantined returns the IsQuarantined field value if set, zero value otherwise. -func (o *PackageMove) GetIsQuarantined() bool { - if o == nil || o.IsQuarantined == nil { +func (o *PackageMoveResponse) GetIsQuarantined() bool { + if o == nil || isNil(o.IsQuarantined) { var ret bool return ret } @@ -853,16 +837,16 @@ func (o *PackageMove) GetIsQuarantined() bool { // GetIsQuarantinedOk returns a tuple with the IsQuarantined field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *PackageMove) GetIsQuarantinedOk() (*bool, bool) { - if o == nil || o.IsQuarantined == nil { +func (o *PackageMoveResponse) GetIsQuarantinedOk() (*bool, bool) { + if o == nil || isNil(o.IsQuarantined) { return nil, false } return o.IsQuarantined, true } // HasIsQuarantined returns a boolean if a field has been set. -func (o *PackageMove) HasIsQuarantined() bool { - if o != nil && o.IsQuarantined != nil { +func (o *PackageMoveResponse) HasIsQuarantined() bool { + if o != nil && !isNil(o.IsQuarantined) { return true } @@ -870,13 +854,13 @@ func (o *PackageMove) HasIsQuarantined() bool { } // SetIsQuarantined gets a reference to the given bool and assigns it to the IsQuarantined field. -func (o *PackageMove) SetIsQuarantined(v bool) { +func (o *PackageMoveResponse) SetIsQuarantined(v bool) { o.IsQuarantined = &v } // GetIsSyncAwaiting returns the IsSyncAwaiting field value if set, zero value otherwise. -func (o *PackageMove) GetIsSyncAwaiting() bool { - if o == nil || o.IsSyncAwaiting == nil { +func (o *PackageMoveResponse) GetIsSyncAwaiting() bool { + if o == nil || isNil(o.IsSyncAwaiting) { var ret bool return ret } @@ -885,16 +869,16 @@ func (o *PackageMove) GetIsSyncAwaiting() bool { // GetIsSyncAwaitingOk returns a tuple with the IsSyncAwaiting field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *PackageMove) GetIsSyncAwaitingOk() (*bool, bool) { - if o == nil || o.IsSyncAwaiting == nil { +func (o *PackageMoveResponse) GetIsSyncAwaitingOk() (*bool, bool) { + if o == nil || isNil(o.IsSyncAwaiting) { return nil, false } return o.IsSyncAwaiting, true } // HasIsSyncAwaiting returns a boolean if a field has been set. -func (o *PackageMove) HasIsSyncAwaiting() bool { - if o != nil && o.IsSyncAwaiting != nil { +func (o *PackageMoveResponse) HasIsSyncAwaiting() bool { + if o != nil && !isNil(o.IsSyncAwaiting) { return true } @@ -902,13 +886,13 @@ func (o *PackageMove) HasIsSyncAwaiting() bool { } // SetIsSyncAwaiting gets a reference to the given bool and assigns it to the IsSyncAwaiting field. -func (o *PackageMove) SetIsSyncAwaiting(v bool) { +func (o *PackageMoveResponse) SetIsSyncAwaiting(v bool) { o.IsSyncAwaiting = &v } // GetIsSyncCompleted returns the IsSyncCompleted field value if set, zero value otherwise. -func (o *PackageMove) GetIsSyncCompleted() bool { - if o == nil || o.IsSyncCompleted == nil { +func (o *PackageMoveResponse) GetIsSyncCompleted() bool { + if o == nil || isNil(o.IsSyncCompleted) { var ret bool return ret } @@ -917,16 +901,16 @@ func (o *PackageMove) GetIsSyncCompleted() bool { // GetIsSyncCompletedOk returns a tuple with the IsSyncCompleted field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *PackageMove) GetIsSyncCompletedOk() (*bool, bool) { - if o == nil || o.IsSyncCompleted == nil { +func (o *PackageMoveResponse) GetIsSyncCompletedOk() (*bool, bool) { + if o == nil || isNil(o.IsSyncCompleted) { return nil, false } return o.IsSyncCompleted, true } // HasIsSyncCompleted returns a boolean if a field has been set. -func (o *PackageMove) HasIsSyncCompleted() bool { - if o != nil && o.IsSyncCompleted != nil { +func (o *PackageMoveResponse) HasIsSyncCompleted() bool { + if o != nil && !isNil(o.IsSyncCompleted) { return true } @@ -934,13 +918,13 @@ func (o *PackageMove) HasIsSyncCompleted() bool { } // SetIsSyncCompleted gets a reference to the given bool and assigns it to the IsSyncCompleted field. -func (o *PackageMove) SetIsSyncCompleted(v bool) { +func (o *PackageMoveResponse) SetIsSyncCompleted(v bool) { o.IsSyncCompleted = &v } // GetIsSyncFailed returns the IsSyncFailed field value if set, zero value otherwise. -func (o *PackageMove) GetIsSyncFailed() bool { - if o == nil || o.IsSyncFailed == nil { +func (o *PackageMoveResponse) GetIsSyncFailed() bool { + if o == nil || isNil(o.IsSyncFailed) { var ret bool return ret } @@ -949,16 +933,16 @@ func (o *PackageMove) GetIsSyncFailed() bool { // GetIsSyncFailedOk returns a tuple with the IsSyncFailed field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *PackageMove) GetIsSyncFailedOk() (*bool, bool) { - if o == nil || o.IsSyncFailed == nil { +func (o *PackageMoveResponse) GetIsSyncFailedOk() (*bool, bool) { + if o == nil || isNil(o.IsSyncFailed) { return nil, false } return o.IsSyncFailed, true } // HasIsSyncFailed returns a boolean if a field has been set. -func (o *PackageMove) HasIsSyncFailed() bool { - if o != nil && o.IsSyncFailed != nil { +func (o *PackageMoveResponse) HasIsSyncFailed() bool { + if o != nil && !isNil(o.IsSyncFailed) { return true } @@ -966,13 +950,13 @@ func (o *PackageMove) HasIsSyncFailed() bool { } // SetIsSyncFailed gets a reference to the given bool and assigns it to the IsSyncFailed field. -func (o *PackageMove) SetIsSyncFailed(v bool) { +func (o *PackageMoveResponse) SetIsSyncFailed(v bool) { o.IsSyncFailed = &v } // GetIsSyncInFlight returns the IsSyncInFlight field value if set, zero value otherwise. -func (o *PackageMove) GetIsSyncInFlight() bool { - if o == nil || o.IsSyncInFlight == nil { +func (o *PackageMoveResponse) GetIsSyncInFlight() bool { + if o == nil || isNil(o.IsSyncInFlight) { var ret bool return ret } @@ -981,16 +965,16 @@ func (o *PackageMove) GetIsSyncInFlight() bool { // GetIsSyncInFlightOk returns a tuple with the IsSyncInFlight field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *PackageMove) GetIsSyncInFlightOk() (*bool, bool) { - if o == nil || o.IsSyncInFlight == nil { +func (o *PackageMoveResponse) GetIsSyncInFlightOk() (*bool, bool) { + if o == nil || isNil(o.IsSyncInFlight) { return nil, false } return o.IsSyncInFlight, true } // HasIsSyncInFlight returns a boolean if a field has been set. -func (o *PackageMove) HasIsSyncInFlight() bool { - if o != nil && o.IsSyncInFlight != nil { +func (o *PackageMoveResponse) HasIsSyncInFlight() bool { + if o != nil && !isNil(o.IsSyncInFlight) { return true } @@ -998,13 +982,13 @@ func (o *PackageMove) HasIsSyncInFlight() bool { } // SetIsSyncInFlight gets a reference to the given bool and assigns it to the IsSyncInFlight field. -func (o *PackageMove) SetIsSyncInFlight(v bool) { +func (o *PackageMoveResponse) SetIsSyncInFlight(v bool) { o.IsSyncInFlight = &v } // GetIsSyncInProgress returns the IsSyncInProgress field value if set, zero value otherwise. -func (o *PackageMove) GetIsSyncInProgress() bool { - if o == nil || o.IsSyncInProgress == nil { +func (o *PackageMoveResponse) GetIsSyncInProgress() bool { + if o == nil || isNil(o.IsSyncInProgress) { var ret bool return ret } @@ -1013,16 +997,16 @@ func (o *PackageMove) GetIsSyncInProgress() bool { // GetIsSyncInProgressOk returns a tuple with the IsSyncInProgress field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *PackageMove) GetIsSyncInProgressOk() (*bool, bool) { - if o == nil || o.IsSyncInProgress == nil { +func (o *PackageMoveResponse) GetIsSyncInProgressOk() (*bool, bool) { + if o == nil || isNil(o.IsSyncInProgress) { return nil, false } return o.IsSyncInProgress, true } // HasIsSyncInProgress returns a boolean if a field has been set. -func (o *PackageMove) HasIsSyncInProgress() bool { - if o != nil && o.IsSyncInProgress != nil { +func (o *PackageMoveResponse) HasIsSyncInProgress() bool { + if o != nil && !isNil(o.IsSyncInProgress) { return true } @@ -1030,13 +1014,13 @@ func (o *PackageMove) HasIsSyncInProgress() bool { } // SetIsSyncInProgress gets a reference to the given bool and assigns it to the IsSyncInProgress field. -func (o *PackageMove) SetIsSyncInProgress(v bool) { +func (o *PackageMoveResponse) SetIsSyncInProgress(v bool) { o.IsSyncInProgress = &v } // GetLicense returns the License field value if set, zero value otherwise. -func (o *PackageMove) GetLicense() string { - if o == nil || o.License == nil { +func (o *PackageMoveResponse) GetLicense() string { + if o == nil || isNil(o.License) { var ret string return ret } @@ -1045,16 +1029,16 @@ func (o *PackageMove) GetLicense() string { // GetLicenseOk returns a tuple with the License field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *PackageMove) GetLicenseOk() (*string, bool) { - if o == nil || o.License == nil { +func (o *PackageMoveResponse) GetLicenseOk() (*string, bool) { + if o == nil || isNil(o.License) { return nil, false } return o.License, true } // HasLicense returns a boolean if a field has been set. -func (o *PackageMove) HasLicense() bool { - if o != nil && o.License != nil { +func (o *PackageMoveResponse) HasLicense() bool { + if o != nil && !isNil(o.License) { return true } @@ -1062,13 +1046,13 @@ func (o *PackageMove) HasLicense() bool { } // SetLicense gets a reference to the given string and assigns it to the License field. -func (o *PackageMove) SetLicense(v string) { +func (o *PackageMoveResponse) SetLicense(v string) { o.License = &v } // GetName returns the Name field value if set, zero value otherwise. -func (o *PackageMove) GetName() string { - if o == nil || o.Name == nil { +func (o *PackageMoveResponse) GetName() string { + if o == nil || isNil(o.Name) { var ret string return ret } @@ -1077,16 +1061,16 @@ func (o *PackageMove) GetName() string { // GetNameOk returns a tuple with the Name field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *PackageMove) GetNameOk() (*string, bool) { - if o == nil || o.Name == nil { +func (o *PackageMoveResponse) GetNameOk() (*string, bool) { + if o == nil || isNil(o.Name) { return nil, false } return o.Name, true } // HasName returns a boolean if a field has been set. -func (o *PackageMove) HasName() bool { - if o != nil && o.Name != nil { +func (o *PackageMoveResponse) HasName() bool { + if o != nil && !isNil(o.Name) { return true } @@ -1094,13 +1078,13 @@ func (o *PackageMove) HasName() bool { } // SetName gets a reference to the given string and assigns it to the Name field. -func (o *PackageMove) SetName(v string) { +func (o *PackageMoveResponse) SetName(v string) { o.Name = &v } // GetNamespace returns the Namespace field value if set, zero value otherwise. -func (o *PackageMove) GetNamespace() string { - if o == nil || o.Namespace == nil { +func (o *PackageMoveResponse) GetNamespace() string { + if o == nil || isNil(o.Namespace) { var ret string return ret } @@ -1109,16 +1093,16 @@ func (o *PackageMove) GetNamespace() string { // GetNamespaceOk returns a tuple with the Namespace field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *PackageMove) GetNamespaceOk() (*string, bool) { - if o == nil || o.Namespace == nil { +func (o *PackageMoveResponse) GetNamespaceOk() (*string, bool) { + if o == nil || isNil(o.Namespace) { return nil, false } return o.Namespace, true } // HasNamespace returns a boolean if a field has been set. -func (o *PackageMove) HasNamespace() bool { - if o != nil && o.Namespace != nil { +func (o *PackageMoveResponse) HasNamespace() bool { + if o != nil && !isNil(o.Namespace) { return true } @@ -1126,13 +1110,13 @@ func (o *PackageMove) HasNamespace() bool { } // SetNamespace gets a reference to the given string and assigns it to the Namespace field. -func (o *PackageMove) SetNamespace(v string) { +func (o *PackageMoveResponse) SetNamespace(v string) { o.Namespace = &v } // GetNamespaceUrl returns the NamespaceUrl field value if set, zero value otherwise. -func (o *PackageMove) GetNamespaceUrl() string { - if o == nil || o.NamespaceUrl == nil { +func (o *PackageMoveResponse) GetNamespaceUrl() string { + if o == nil || isNil(o.NamespaceUrl) { var ret string return ret } @@ -1141,16 +1125,16 @@ func (o *PackageMove) GetNamespaceUrl() string { // GetNamespaceUrlOk returns a tuple with the NamespaceUrl field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *PackageMove) GetNamespaceUrlOk() (*string, bool) { - if o == nil || o.NamespaceUrl == nil { +func (o *PackageMoveResponse) GetNamespaceUrlOk() (*string, bool) { + if o == nil || isNil(o.NamespaceUrl) { return nil, false } return o.NamespaceUrl, true } // HasNamespaceUrl returns a boolean if a field has been set. -func (o *PackageMove) HasNamespaceUrl() bool { - if o != nil && o.NamespaceUrl != nil { +func (o *PackageMoveResponse) HasNamespaceUrl() bool { + if o != nil && !isNil(o.NamespaceUrl) { return true } @@ -1158,13 +1142,13 @@ func (o *PackageMove) HasNamespaceUrl() bool { } // SetNamespaceUrl gets a reference to the given string and assigns it to the NamespaceUrl field. -func (o *PackageMove) SetNamespaceUrl(v string) { +func (o *PackageMoveResponse) SetNamespaceUrl(v string) { o.NamespaceUrl = &v } // GetNumFiles returns the NumFiles field value if set, zero value otherwise. -func (o *PackageMove) GetNumFiles() int64 { - if o == nil || o.NumFiles == nil { +func (o *PackageMoveResponse) GetNumFiles() int64 { + if o == nil || isNil(o.NumFiles) { var ret int64 return ret } @@ -1173,16 +1157,16 @@ func (o *PackageMove) GetNumFiles() int64 { // GetNumFilesOk returns a tuple with the NumFiles field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *PackageMove) GetNumFilesOk() (*int64, bool) { - if o == nil || o.NumFiles == nil { +func (o *PackageMoveResponse) GetNumFilesOk() (*int64, bool) { + if o == nil || isNil(o.NumFiles) { return nil, false } return o.NumFiles, true } // HasNumFiles returns a boolean if a field has been set. -func (o *PackageMove) HasNumFiles() bool { - if o != nil && o.NumFiles != nil { +func (o *PackageMoveResponse) HasNumFiles() bool { + if o != nil && !isNil(o.NumFiles) { return true } @@ -1190,13 +1174,77 @@ func (o *PackageMove) HasNumFiles() bool { } // SetNumFiles gets a reference to the given int64 and assigns it to the NumFiles field. -func (o *PackageMove) SetNumFiles(v int64) { +func (o *PackageMoveResponse) SetNumFiles(v int64) { o.NumFiles = &v } +// GetOriginRepository returns the OriginRepository field value if set, zero value otherwise. +func (o *PackageMoveResponse) GetOriginRepository() string { + if o == nil || isNil(o.OriginRepository) { + var ret string + return ret + } + return *o.OriginRepository +} + +// GetOriginRepositoryOk returns a tuple with the OriginRepository field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *PackageMoveResponse) GetOriginRepositoryOk() (*string, bool) { + if o == nil || isNil(o.OriginRepository) { + return nil, false + } + return o.OriginRepository, true +} + +// HasOriginRepository returns a boolean if a field has been set. +func (o *PackageMoveResponse) HasOriginRepository() bool { + if o != nil && !isNil(o.OriginRepository) { + return true + } + + return false +} + +// SetOriginRepository gets a reference to the given string and assigns it to the OriginRepository field. +func (o *PackageMoveResponse) SetOriginRepository(v string) { + o.OriginRepository = &v +} + +// GetOriginRepositoryUrl returns the OriginRepositoryUrl field value if set, zero value otherwise. +func (o *PackageMoveResponse) GetOriginRepositoryUrl() string { + if o == nil || isNil(o.OriginRepositoryUrl) { + var ret string + return ret + } + return *o.OriginRepositoryUrl +} + +// GetOriginRepositoryUrlOk returns a tuple with the OriginRepositoryUrl field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *PackageMoveResponse) GetOriginRepositoryUrlOk() (*string, bool) { + if o == nil || isNil(o.OriginRepositoryUrl) { + return nil, false + } + return o.OriginRepositoryUrl, true +} + +// HasOriginRepositoryUrl returns a boolean if a field has been set. +func (o *PackageMoveResponse) HasOriginRepositoryUrl() bool { + if o != nil && !isNil(o.OriginRepositoryUrl) { + return true + } + + return false +} + +// SetOriginRepositoryUrl gets a reference to the given string and assigns it to the OriginRepositoryUrl field. +func (o *PackageMoveResponse) SetOriginRepositoryUrl(v string) { + o.OriginRepositoryUrl = &v +} + // GetPackageType returns the PackageType field value if set, zero value otherwise. -func (o *PackageMove) GetPackageType() int64 { - if o == nil || o.PackageType == nil { +func (o *PackageMoveResponse) GetPackageType() int64 { + if o == nil || isNil(o.PackageType) { var ret int64 return ret } @@ -1205,16 +1253,16 @@ func (o *PackageMove) GetPackageType() int64 { // GetPackageTypeOk returns a tuple with the PackageType field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *PackageMove) GetPackageTypeOk() (*int64, bool) { - if o == nil || o.PackageType == nil { +func (o *PackageMoveResponse) GetPackageTypeOk() (*int64, bool) { + if o == nil || isNil(o.PackageType) { return nil, false } return o.PackageType, true } // HasPackageType returns a boolean if a field has been set. -func (o *PackageMove) HasPackageType() bool { - if o != nil && o.PackageType != nil { +func (o *PackageMoveResponse) HasPackageType() bool { + if o != nil && !isNil(o.PackageType) { return true } @@ -1222,13 +1270,13 @@ func (o *PackageMove) HasPackageType() bool { } // SetPackageType gets a reference to the given int64 and assigns it to the PackageType field. -func (o *PackageMove) SetPackageType(v int64) { +func (o *PackageMoveResponse) SetPackageType(v int64) { o.PackageType = &v } // GetRelease returns the Release field value if set, zero value otherwise. -func (o *PackageMove) GetRelease() string { - if o == nil || o.Release == nil { +func (o *PackageMoveResponse) GetRelease() string { + if o == nil || isNil(o.Release) { var ret string return ret } @@ -1237,16 +1285,16 @@ func (o *PackageMove) GetRelease() string { // GetReleaseOk returns a tuple with the Release field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *PackageMove) GetReleaseOk() (*string, bool) { - if o == nil || o.Release == nil { +func (o *PackageMoveResponse) GetReleaseOk() (*string, bool) { + if o == nil || isNil(o.Release) { return nil, false } return o.Release, true } // HasRelease returns a boolean if a field has been set. -func (o *PackageMove) HasRelease() bool { - if o != nil && o.Release != nil { +func (o *PackageMoveResponse) HasRelease() bool { + if o != nil && !isNil(o.Release) { return true } @@ -1254,13 +1302,13 @@ func (o *PackageMove) HasRelease() bool { } // SetRelease gets a reference to the given string and assigns it to the Release field. -func (o *PackageMove) SetRelease(v string) { +func (o *PackageMoveResponse) SetRelease(v string) { o.Release = &v } // GetRepository returns the Repository field value if set, zero value otherwise. -func (o *PackageMove) GetRepository() string { - if o == nil || o.Repository == nil { +func (o *PackageMoveResponse) GetRepository() string { + if o == nil || isNil(o.Repository) { var ret string return ret } @@ -1269,16 +1317,16 @@ func (o *PackageMove) GetRepository() string { // GetRepositoryOk returns a tuple with the Repository field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *PackageMove) GetRepositoryOk() (*string, bool) { - if o == nil || o.Repository == nil { +func (o *PackageMoveResponse) GetRepositoryOk() (*string, bool) { + if o == nil || isNil(o.Repository) { return nil, false } return o.Repository, true } // HasRepository returns a boolean if a field has been set. -func (o *PackageMove) HasRepository() bool { - if o != nil && o.Repository != nil { +func (o *PackageMoveResponse) HasRepository() bool { + if o != nil && !isNil(o.Repository) { return true } @@ -1286,13 +1334,13 @@ func (o *PackageMove) HasRepository() bool { } // SetRepository gets a reference to the given string and assigns it to the Repository field. -func (o *PackageMove) SetRepository(v string) { +func (o *PackageMoveResponse) SetRepository(v string) { o.Repository = &v } // GetRepositoryUrl returns the RepositoryUrl field value if set, zero value otherwise. -func (o *PackageMove) GetRepositoryUrl() string { - if o == nil || o.RepositoryUrl == nil { +func (o *PackageMoveResponse) GetRepositoryUrl() string { + if o == nil || isNil(o.RepositoryUrl) { var ret string return ret } @@ -1301,16 +1349,16 @@ func (o *PackageMove) GetRepositoryUrl() string { // GetRepositoryUrlOk returns a tuple with the RepositoryUrl field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *PackageMove) GetRepositoryUrlOk() (*string, bool) { - if o == nil || o.RepositoryUrl == nil { +func (o *PackageMoveResponse) GetRepositoryUrlOk() (*string, bool) { + if o == nil || isNil(o.RepositoryUrl) { return nil, false } return o.RepositoryUrl, true } // HasRepositoryUrl returns a boolean if a field has been set. -func (o *PackageMove) HasRepositoryUrl() bool { - if o != nil && o.RepositoryUrl != nil { +func (o *PackageMoveResponse) HasRepositoryUrl() bool { + if o != nil && !isNil(o.RepositoryUrl) { return true } @@ -1318,14 +1366,14 @@ func (o *PackageMove) HasRepositoryUrl() bool { } // SetRepositoryUrl gets a reference to the given string and assigns it to the RepositoryUrl field. -func (o *PackageMove) SetRepositoryUrl(v string) { +func (o *PackageMoveResponse) SetRepositoryUrl(v string) { o.RepositoryUrl = &v } // GetSecurityScanCompletedAt returns the SecurityScanCompletedAt field value if set, zero value otherwise. -func (o *PackageMove) GetSecurityScanCompletedAt() string { - if o == nil || o.SecurityScanCompletedAt == nil { - var ret string +func (o *PackageMoveResponse) GetSecurityScanCompletedAt() time.Time { + if o == nil || isNil(o.SecurityScanCompletedAt) { + var ret time.Time return ret } return *o.SecurityScanCompletedAt @@ -1333,31 +1381,31 @@ func (o *PackageMove) GetSecurityScanCompletedAt() string { // GetSecurityScanCompletedAtOk returns a tuple with the SecurityScanCompletedAt field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *PackageMove) GetSecurityScanCompletedAtOk() (*string, bool) { - if o == nil || o.SecurityScanCompletedAt == nil { +func (o *PackageMoveResponse) GetSecurityScanCompletedAtOk() (*time.Time, bool) { + if o == nil || isNil(o.SecurityScanCompletedAt) { return nil, false } return o.SecurityScanCompletedAt, true } // HasSecurityScanCompletedAt returns a boolean if a field has been set. -func (o *PackageMove) HasSecurityScanCompletedAt() bool { - if o != nil && o.SecurityScanCompletedAt != nil { +func (o *PackageMoveResponse) HasSecurityScanCompletedAt() bool { + if o != nil && !isNil(o.SecurityScanCompletedAt) { return true } return false } -// SetSecurityScanCompletedAt gets a reference to the given string and assigns it to the SecurityScanCompletedAt field. -func (o *PackageMove) SetSecurityScanCompletedAt(v string) { +// SetSecurityScanCompletedAt gets a reference to the given time.Time and assigns it to the SecurityScanCompletedAt field. +func (o *PackageMoveResponse) SetSecurityScanCompletedAt(v time.Time) { o.SecurityScanCompletedAt = &v } // GetSecurityScanStartedAt returns the SecurityScanStartedAt field value if set, zero value otherwise. -func (o *PackageMove) GetSecurityScanStartedAt() string { - if o == nil || o.SecurityScanStartedAt == nil { - var ret string +func (o *PackageMoveResponse) GetSecurityScanStartedAt() time.Time { + if o == nil || isNil(o.SecurityScanStartedAt) { + var ret time.Time return ret } return *o.SecurityScanStartedAt @@ -1365,63 +1413,74 @@ func (o *PackageMove) GetSecurityScanStartedAt() string { // GetSecurityScanStartedAtOk returns a tuple with the SecurityScanStartedAt field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *PackageMove) GetSecurityScanStartedAtOk() (*string, bool) { - if o == nil || o.SecurityScanStartedAt == nil { +func (o *PackageMoveResponse) GetSecurityScanStartedAtOk() (*time.Time, bool) { + if o == nil || isNil(o.SecurityScanStartedAt) { return nil, false } return o.SecurityScanStartedAt, true } // HasSecurityScanStartedAt returns a boolean if a field has been set. -func (o *PackageMove) HasSecurityScanStartedAt() bool { - if o != nil && o.SecurityScanStartedAt != nil { +func (o *PackageMoveResponse) HasSecurityScanStartedAt() bool { + if o != nil && !isNil(o.SecurityScanStartedAt) { return true } return false } -// SetSecurityScanStartedAt gets a reference to the given string and assigns it to the SecurityScanStartedAt field. -func (o *PackageMove) SetSecurityScanStartedAt(v string) { +// SetSecurityScanStartedAt gets a reference to the given time.Time and assigns it to the SecurityScanStartedAt field. +func (o *PackageMoveResponse) SetSecurityScanStartedAt(v time.Time) { o.SecurityScanStartedAt = &v } -// GetSecurityScanStatus returns the SecurityScanStatus field value if set, zero value otherwise. -func (o *PackageMove) GetSecurityScanStatus() string { - if o == nil || o.SecurityScanStatus == nil { +// GetSecurityScanStatus returns the SecurityScanStatus field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *PackageMoveResponse) GetSecurityScanStatus() string { + if o == nil || isNil(o.SecurityScanStatus.Get()) { var ret string return ret } - return *o.SecurityScanStatus + return *o.SecurityScanStatus.Get() } // GetSecurityScanStatusOk returns a tuple with the SecurityScanStatus field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *PackageMove) GetSecurityScanStatusOk() (*string, bool) { - if o == nil || o.SecurityScanStatus == nil { +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *PackageMoveResponse) GetSecurityScanStatusOk() (*string, bool) { + if o == nil { return nil, false } - return o.SecurityScanStatus, true + return o.SecurityScanStatus.Get(), o.SecurityScanStatus.IsSet() } // HasSecurityScanStatus returns a boolean if a field has been set. -func (o *PackageMove) HasSecurityScanStatus() bool { - if o != nil && o.SecurityScanStatus != nil { +func (o *PackageMoveResponse) HasSecurityScanStatus() bool { + if o != nil && o.SecurityScanStatus.IsSet() { return true } return false } -// SetSecurityScanStatus gets a reference to the given string and assigns it to the SecurityScanStatus field. -func (o *PackageMove) SetSecurityScanStatus(v string) { - o.SecurityScanStatus = &v +// SetSecurityScanStatus gets a reference to the given NullableString and assigns it to the SecurityScanStatus field. +func (o *PackageMoveResponse) SetSecurityScanStatus(v string) { + o.SecurityScanStatus.Set(&v) +} + +// SetSecurityScanStatusNil sets the value for SecurityScanStatus to be an explicit nil +func (o *PackageMoveResponse) SetSecurityScanStatusNil() { + o.SecurityScanStatus.Set(nil) +} + +// UnsetSecurityScanStatus ensures that no value is present for SecurityScanStatus, not even an explicit nil +func (o *PackageMoveResponse) UnsetSecurityScanStatus() { + o.SecurityScanStatus.Unset() } // GetSecurityScanStatusUpdatedAt returns the SecurityScanStatusUpdatedAt field value if set, zero value otherwise. -func (o *PackageMove) GetSecurityScanStatusUpdatedAt() string { - if o == nil || o.SecurityScanStatusUpdatedAt == nil { - var ret string +func (o *PackageMoveResponse) GetSecurityScanStatusUpdatedAt() time.Time { + if o == nil || isNil(o.SecurityScanStatusUpdatedAt) { + var ret time.Time return ret } return *o.SecurityScanStatusUpdatedAt @@ -1429,30 +1488,30 @@ func (o *PackageMove) GetSecurityScanStatusUpdatedAt() string { // GetSecurityScanStatusUpdatedAtOk returns a tuple with the SecurityScanStatusUpdatedAt field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *PackageMove) GetSecurityScanStatusUpdatedAtOk() (*string, bool) { - if o == nil || o.SecurityScanStatusUpdatedAt == nil { +func (o *PackageMoveResponse) GetSecurityScanStatusUpdatedAtOk() (*time.Time, bool) { + if o == nil || isNil(o.SecurityScanStatusUpdatedAt) { return nil, false } return o.SecurityScanStatusUpdatedAt, true } // HasSecurityScanStatusUpdatedAt returns a boolean if a field has been set. -func (o *PackageMove) HasSecurityScanStatusUpdatedAt() bool { - if o != nil && o.SecurityScanStatusUpdatedAt != nil { +func (o *PackageMoveResponse) HasSecurityScanStatusUpdatedAt() bool { + if o != nil && !isNil(o.SecurityScanStatusUpdatedAt) { return true } return false } -// SetSecurityScanStatusUpdatedAt gets a reference to the given string and assigns it to the SecurityScanStatusUpdatedAt field. -func (o *PackageMove) SetSecurityScanStatusUpdatedAt(v string) { +// SetSecurityScanStatusUpdatedAt gets a reference to the given time.Time and assigns it to the SecurityScanStatusUpdatedAt field. +func (o *PackageMoveResponse) SetSecurityScanStatusUpdatedAt(v time.Time) { o.SecurityScanStatusUpdatedAt = &v } // GetSelfHtmlUrl returns the SelfHtmlUrl field value if set, zero value otherwise. -func (o *PackageMove) GetSelfHtmlUrl() string { - if o == nil || o.SelfHtmlUrl == nil { +func (o *PackageMoveResponse) GetSelfHtmlUrl() string { + if o == nil || isNil(o.SelfHtmlUrl) { var ret string return ret } @@ -1461,16 +1520,16 @@ func (o *PackageMove) GetSelfHtmlUrl() string { // GetSelfHtmlUrlOk returns a tuple with the SelfHtmlUrl field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *PackageMove) GetSelfHtmlUrlOk() (*string, bool) { - if o == nil || o.SelfHtmlUrl == nil { +func (o *PackageMoveResponse) GetSelfHtmlUrlOk() (*string, bool) { + if o == nil || isNil(o.SelfHtmlUrl) { return nil, false } return o.SelfHtmlUrl, true } // HasSelfHtmlUrl returns a boolean if a field has been set. -func (o *PackageMove) HasSelfHtmlUrl() bool { - if o != nil && o.SelfHtmlUrl != nil { +func (o *PackageMoveResponse) HasSelfHtmlUrl() bool { + if o != nil && !isNil(o.SelfHtmlUrl) { return true } @@ -1478,13 +1537,13 @@ func (o *PackageMove) HasSelfHtmlUrl() bool { } // SetSelfHtmlUrl gets a reference to the given string and assigns it to the SelfHtmlUrl field. -func (o *PackageMove) SetSelfHtmlUrl(v string) { +func (o *PackageMoveResponse) SetSelfHtmlUrl(v string) { o.SelfHtmlUrl = &v } // GetSelfUrl returns the SelfUrl field value if set, zero value otherwise. -func (o *PackageMove) GetSelfUrl() string { - if o == nil || o.SelfUrl == nil { +func (o *PackageMoveResponse) GetSelfUrl() string { + if o == nil || isNil(o.SelfUrl) { var ret string return ret } @@ -1493,16 +1552,16 @@ func (o *PackageMove) GetSelfUrl() string { // GetSelfUrlOk returns a tuple with the SelfUrl field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *PackageMove) GetSelfUrlOk() (*string, bool) { - if o == nil || o.SelfUrl == nil { +func (o *PackageMoveResponse) GetSelfUrlOk() (*string, bool) { + if o == nil || isNil(o.SelfUrl) { return nil, false } return o.SelfUrl, true } // HasSelfUrl returns a boolean if a field has been set. -func (o *PackageMove) HasSelfUrl() bool { - if o != nil && o.SelfUrl != nil { +func (o *PackageMoveResponse) HasSelfUrl() bool { + if o != nil && !isNil(o.SelfUrl) { return true } @@ -1510,45 +1569,56 @@ func (o *PackageMove) HasSelfUrl() bool { } // SetSelfUrl gets a reference to the given string and assigns it to the SelfUrl field. -func (o *PackageMove) SetSelfUrl(v string) { +func (o *PackageMoveResponse) SetSelfUrl(v string) { o.SelfUrl = &v } -// GetSignatureUrl returns the SignatureUrl field value if set, zero value otherwise. -func (o *PackageMove) GetSignatureUrl() string { - if o == nil || o.SignatureUrl == nil { +// GetSignatureUrl returns the SignatureUrl field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *PackageMoveResponse) GetSignatureUrl() string { + if o == nil || isNil(o.SignatureUrl.Get()) { var ret string return ret } - return *o.SignatureUrl + return *o.SignatureUrl.Get() } // GetSignatureUrlOk returns a tuple with the SignatureUrl field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *PackageMove) GetSignatureUrlOk() (*string, bool) { - if o == nil || o.SignatureUrl == nil { +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *PackageMoveResponse) GetSignatureUrlOk() (*string, bool) { + if o == nil { return nil, false } - return o.SignatureUrl, true + return o.SignatureUrl.Get(), o.SignatureUrl.IsSet() } // HasSignatureUrl returns a boolean if a field has been set. -func (o *PackageMove) HasSignatureUrl() bool { - if o != nil && o.SignatureUrl != nil { +func (o *PackageMoveResponse) HasSignatureUrl() bool { + if o != nil && o.SignatureUrl.IsSet() { return true } return false } -// SetSignatureUrl gets a reference to the given string and assigns it to the SignatureUrl field. -func (o *PackageMove) SetSignatureUrl(v string) { - o.SignatureUrl = &v +// SetSignatureUrl gets a reference to the given NullableString and assigns it to the SignatureUrl field. +func (o *PackageMoveResponse) SetSignatureUrl(v string) { + o.SignatureUrl.Set(&v) +} + +// SetSignatureUrlNil sets the value for SignatureUrl to be an explicit nil +func (o *PackageMoveResponse) SetSignatureUrlNil() { + o.SignatureUrl.Set(nil) +} + +// UnsetSignatureUrl ensures that no value is present for SignatureUrl, not even an explicit nil +func (o *PackageMoveResponse) UnsetSignatureUrl() { + o.SignatureUrl.Unset() } // GetSize returns the Size field value if set, zero value otherwise. -func (o *PackageMove) GetSize() int64 { - if o == nil || o.Size == nil { +func (o *PackageMoveResponse) GetSize() int64 { + if o == nil || isNil(o.Size) { var ret int64 return ret } @@ -1557,16 +1627,16 @@ func (o *PackageMove) GetSize() int64 { // GetSizeOk returns a tuple with the Size field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *PackageMove) GetSizeOk() (*int64, bool) { - if o == nil || o.Size == nil { +func (o *PackageMoveResponse) GetSizeOk() (*int64, bool) { + if o == nil || isNil(o.Size) { return nil, false } return o.Size, true } // HasSize returns a boolean if a field has been set. -func (o *PackageMove) HasSize() bool { - if o != nil && o.Size != nil { +func (o *PackageMoveResponse) HasSize() bool { + if o != nil && !isNil(o.Size) { return true } @@ -1574,13 +1644,13 @@ func (o *PackageMove) HasSize() bool { } // SetSize gets a reference to the given int64 and assigns it to the Size field. -func (o *PackageMove) SetSize(v int64) { +func (o *PackageMoveResponse) SetSize(v int64) { o.Size = &v } // GetSlug returns the Slug field value if set, zero value otherwise. -func (o *PackageMove) GetSlug() string { - if o == nil || o.Slug == nil { +func (o *PackageMoveResponse) GetSlug() string { + if o == nil || isNil(o.Slug) { var ret string return ret } @@ -1589,16 +1659,16 @@ func (o *PackageMove) GetSlug() string { // GetSlugOk returns a tuple with the Slug field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *PackageMove) GetSlugOk() (*string, bool) { - if o == nil || o.Slug == nil { +func (o *PackageMoveResponse) GetSlugOk() (*string, bool) { + if o == nil || isNil(o.Slug) { return nil, false } return o.Slug, true } // HasSlug returns a boolean if a field has been set. -func (o *PackageMove) HasSlug() bool { - if o != nil && o.Slug != nil { +func (o *PackageMoveResponse) HasSlug() bool { + if o != nil && !isNil(o.Slug) { return true } @@ -1606,13 +1676,13 @@ func (o *PackageMove) HasSlug() bool { } // SetSlug gets a reference to the given string and assigns it to the Slug field. -func (o *PackageMove) SetSlug(v string) { +func (o *PackageMoveResponse) SetSlug(v string) { o.Slug = &v } // GetSlugPerm returns the SlugPerm field value if set, zero value otherwise. -func (o *PackageMove) GetSlugPerm() string { - if o == nil || o.SlugPerm == nil { +func (o *PackageMoveResponse) GetSlugPerm() string { + if o == nil || isNil(o.SlugPerm) { var ret string return ret } @@ -1621,16 +1691,16 @@ func (o *PackageMove) GetSlugPerm() string { // GetSlugPermOk returns a tuple with the SlugPerm field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *PackageMove) GetSlugPermOk() (*string, bool) { - if o == nil || o.SlugPerm == nil { +func (o *PackageMoveResponse) GetSlugPermOk() (*string, bool) { + if o == nil || isNil(o.SlugPerm) { return nil, false } return o.SlugPerm, true } // HasSlugPerm returns a boolean if a field has been set. -func (o *PackageMove) HasSlugPerm() bool { - if o != nil && o.SlugPerm != nil { +func (o *PackageMoveResponse) HasSlugPerm() bool { + if o != nil && !isNil(o.SlugPerm) { return true } @@ -1638,13 +1708,13 @@ func (o *PackageMove) HasSlugPerm() bool { } // SetSlugPerm gets a reference to the given string and assigns it to the SlugPerm field. -func (o *PackageMove) SetSlugPerm(v string) { +func (o *PackageMoveResponse) SetSlugPerm(v string) { o.SlugPerm = &v } // GetStage returns the Stage field value if set, zero value otherwise. -func (o *PackageMove) GetStage() int64 { - if o == nil || o.Stage == nil { +func (o *PackageMoveResponse) GetStage() int64 { + if o == nil || isNil(o.Stage) { var ret int64 return ret } @@ -1653,16 +1723,16 @@ func (o *PackageMove) GetStage() int64 { // GetStageOk returns a tuple with the Stage field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *PackageMove) GetStageOk() (*int64, bool) { - if o == nil || o.Stage == nil { +func (o *PackageMoveResponse) GetStageOk() (*int64, bool) { + if o == nil || isNil(o.Stage) { return nil, false } return o.Stage, true } // HasStage returns a boolean if a field has been set. -func (o *PackageMove) HasStage() bool { - if o != nil && o.Stage != nil { +func (o *PackageMoveResponse) HasStage() bool { + if o != nil && !isNil(o.Stage) { return true } @@ -1670,13 +1740,13 @@ func (o *PackageMove) HasStage() bool { } // SetStage gets a reference to the given int64 and assigns it to the Stage field. -func (o *PackageMove) SetStage(v int64) { +func (o *PackageMoveResponse) SetStage(v int64) { o.Stage = &v } // GetStageStr returns the StageStr field value if set, zero value otherwise. -func (o *PackageMove) GetStageStr() string { - if o == nil || o.StageStr == nil { +func (o *PackageMoveResponse) GetStageStr() string { + if o == nil || isNil(o.StageStr) { var ret string return ret } @@ -1685,16 +1755,16 @@ func (o *PackageMove) GetStageStr() string { // GetStageStrOk returns a tuple with the StageStr field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *PackageMove) GetStageStrOk() (*string, bool) { - if o == nil || o.StageStr == nil { +func (o *PackageMoveResponse) GetStageStrOk() (*string, bool) { + if o == nil || isNil(o.StageStr) { return nil, false } return o.StageStr, true } // HasStageStr returns a boolean if a field has been set. -func (o *PackageMove) HasStageStr() bool { - if o != nil && o.StageStr != nil { +func (o *PackageMoveResponse) HasStageStr() bool { + if o != nil && !isNil(o.StageStr) { return true } @@ -1702,14 +1772,14 @@ func (o *PackageMove) HasStageStr() bool { } // SetStageStr gets a reference to the given string and assigns it to the StageStr field. -func (o *PackageMove) SetStageStr(v string) { +func (o *PackageMoveResponse) SetStageStr(v string) { o.StageStr = &v } // GetStageUpdatedAt returns the StageUpdatedAt field value if set, zero value otherwise. -func (o *PackageMove) GetStageUpdatedAt() string { - if o == nil || o.StageUpdatedAt == nil { - var ret string +func (o *PackageMoveResponse) GetStageUpdatedAt() time.Time { + if o == nil || isNil(o.StageUpdatedAt) { + var ret time.Time return ret } return *o.StageUpdatedAt @@ -1717,30 +1787,30 @@ func (o *PackageMove) GetStageUpdatedAt() string { // GetStageUpdatedAtOk returns a tuple with the StageUpdatedAt field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *PackageMove) GetStageUpdatedAtOk() (*string, bool) { - if o == nil || o.StageUpdatedAt == nil { +func (o *PackageMoveResponse) GetStageUpdatedAtOk() (*time.Time, bool) { + if o == nil || isNil(o.StageUpdatedAt) { return nil, false } return o.StageUpdatedAt, true } // HasStageUpdatedAt returns a boolean if a field has been set. -func (o *PackageMove) HasStageUpdatedAt() bool { - if o != nil && o.StageUpdatedAt != nil { +func (o *PackageMoveResponse) HasStageUpdatedAt() bool { + if o != nil && !isNil(o.StageUpdatedAt) { return true } return false } -// SetStageUpdatedAt gets a reference to the given string and assigns it to the StageUpdatedAt field. -func (o *PackageMove) SetStageUpdatedAt(v string) { +// SetStageUpdatedAt gets a reference to the given time.Time and assigns it to the StageUpdatedAt field. +func (o *PackageMoveResponse) SetStageUpdatedAt(v time.Time) { o.StageUpdatedAt = &v } // GetStatus returns the Status field value if set, zero value otherwise. -func (o *PackageMove) GetStatus() int64 { - if o == nil || o.Status == nil { +func (o *PackageMoveResponse) GetStatus() int64 { + if o == nil || isNil(o.Status) { var ret int64 return ret } @@ -1749,16 +1819,16 @@ func (o *PackageMove) GetStatus() int64 { // GetStatusOk returns a tuple with the Status field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *PackageMove) GetStatusOk() (*int64, bool) { - if o == nil || o.Status == nil { +func (o *PackageMoveResponse) GetStatusOk() (*int64, bool) { + if o == nil || isNil(o.Status) { return nil, false } return o.Status, true } // HasStatus returns a boolean if a field has been set. -func (o *PackageMove) HasStatus() bool { - if o != nil && o.Status != nil { +func (o *PackageMoveResponse) HasStatus() bool { + if o != nil && !isNil(o.Status) { return true } @@ -1766,13 +1836,13 @@ func (o *PackageMove) HasStatus() bool { } // SetStatus gets a reference to the given int64 and assigns it to the Status field. -func (o *PackageMove) SetStatus(v int64) { +func (o *PackageMoveResponse) SetStatus(v int64) { o.Status = &v } // GetStatusReason returns the StatusReason field value if set, zero value otherwise. -func (o *PackageMove) GetStatusReason() string { - if o == nil || o.StatusReason == nil { +func (o *PackageMoveResponse) GetStatusReason() string { + if o == nil || isNil(o.StatusReason) { var ret string return ret } @@ -1781,16 +1851,16 @@ func (o *PackageMove) GetStatusReason() string { // GetStatusReasonOk returns a tuple with the StatusReason field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *PackageMove) GetStatusReasonOk() (*string, bool) { - if o == nil || o.StatusReason == nil { +func (o *PackageMoveResponse) GetStatusReasonOk() (*string, bool) { + if o == nil || isNil(o.StatusReason) { return nil, false } return o.StatusReason, true } // HasStatusReason returns a boolean if a field has been set. -func (o *PackageMove) HasStatusReason() bool { - if o != nil && o.StatusReason != nil { +func (o *PackageMoveResponse) HasStatusReason() bool { + if o != nil && !isNil(o.StatusReason) { return true } @@ -1798,13 +1868,13 @@ func (o *PackageMove) HasStatusReason() bool { } // SetStatusReason gets a reference to the given string and assigns it to the StatusReason field. -func (o *PackageMove) SetStatusReason(v string) { +func (o *PackageMoveResponse) SetStatusReason(v string) { o.StatusReason = &v } // GetStatusStr returns the StatusStr field value if set, zero value otherwise. -func (o *PackageMove) GetStatusStr() string { - if o == nil || o.StatusStr == nil { +func (o *PackageMoveResponse) GetStatusStr() string { + if o == nil || isNil(o.StatusStr) { var ret string return ret } @@ -1813,16 +1883,16 @@ func (o *PackageMove) GetStatusStr() string { // GetStatusStrOk returns a tuple with the StatusStr field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *PackageMove) GetStatusStrOk() (*string, bool) { - if o == nil || o.StatusStr == nil { +func (o *PackageMoveResponse) GetStatusStrOk() (*string, bool) { + if o == nil || isNil(o.StatusStr) { return nil, false } return o.StatusStr, true } // HasStatusStr returns a boolean if a field has been set. -func (o *PackageMove) HasStatusStr() bool { - if o != nil && o.StatusStr != nil { +func (o *PackageMoveResponse) HasStatusStr() bool { + if o != nil && !isNil(o.StatusStr) { return true } @@ -1830,14 +1900,14 @@ func (o *PackageMove) HasStatusStr() bool { } // SetStatusStr gets a reference to the given string and assigns it to the StatusStr field. -func (o *PackageMove) SetStatusStr(v string) { +func (o *PackageMoveResponse) SetStatusStr(v string) { o.StatusStr = &v } // GetStatusUpdatedAt returns the StatusUpdatedAt field value if set, zero value otherwise. -func (o *PackageMove) GetStatusUpdatedAt() string { - if o == nil || o.StatusUpdatedAt == nil { - var ret string +func (o *PackageMoveResponse) GetStatusUpdatedAt() time.Time { + if o == nil || isNil(o.StatusUpdatedAt) { + var ret time.Time return ret } return *o.StatusUpdatedAt @@ -1845,30 +1915,30 @@ func (o *PackageMove) GetStatusUpdatedAt() string { // GetStatusUpdatedAtOk returns a tuple with the StatusUpdatedAt field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *PackageMove) GetStatusUpdatedAtOk() (*string, bool) { - if o == nil || o.StatusUpdatedAt == nil { +func (o *PackageMoveResponse) GetStatusUpdatedAtOk() (*time.Time, bool) { + if o == nil || isNil(o.StatusUpdatedAt) { return nil, false } return o.StatusUpdatedAt, true } // HasStatusUpdatedAt returns a boolean if a field has been set. -func (o *PackageMove) HasStatusUpdatedAt() bool { - if o != nil && o.StatusUpdatedAt != nil { +func (o *PackageMoveResponse) HasStatusUpdatedAt() bool { + if o != nil && !isNil(o.StatusUpdatedAt) { return true } return false } -// SetStatusUpdatedAt gets a reference to the given string and assigns it to the StatusUpdatedAt field. -func (o *PackageMove) SetStatusUpdatedAt(v string) { +// SetStatusUpdatedAt gets a reference to the given time.Time and assigns it to the StatusUpdatedAt field. +func (o *PackageMoveResponse) SetStatusUpdatedAt(v time.Time) { o.StatusUpdatedAt = &v } // GetStatusUrl returns the StatusUrl field value if set, zero value otherwise. -func (o *PackageMove) GetStatusUrl() string { - if o == nil || o.StatusUrl == nil { +func (o *PackageMoveResponse) GetStatusUrl() string { + if o == nil || isNil(o.StatusUrl) { var ret string return ret } @@ -1877,16 +1947,16 @@ func (o *PackageMove) GetStatusUrl() string { // GetStatusUrlOk returns a tuple with the StatusUrl field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *PackageMove) GetStatusUrlOk() (*string, bool) { - if o == nil || o.StatusUrl == nil { +func (o *PackageMoveResponse) GetStatusUrlOk() (*string, bool) { + if o == nil || isNil(o.StatusUrl) { return nil, false } return o.StatusUrl, true } // HasStatusUrl returns a boolean if a field has been set. -func (o *PackageMove) HasStatusUrl() bool { - if o != nil && o.StatusUrl != nil { +func (o *PackageMoveResponse) HasStatusUrl() bool { + if o != nil && !isNil(o.StatusUrl) { return true } @@ -1894,13 +1964,13 @@ func (o *PackageMove) HasStatusUrl() bool { } // SetStatusUrl gets a reference to the given string and assigns it to the StatusUrl field. -func (o *PackageMove) SetStatusUrl(v string) { +func (o *PackageMoveResponse) SetStatusUrl(v string) { o.StatusUrl = &v } // GetSubtype returns the Subtype field value if set, zero value otherwise. -func (o *PackageMove) GetSubtype() string { - if o == nil || o.Subtype == nil { +func (o *PackageMoveResponse) GetSubtype() string { + if o == nil || isNil(o.Subtype) { var ret string return ret } @@ -1909,16 +1979,16 @@ func (o *PackageMove) GetSubtype() string { // GetSubtypeOk returns a tuple with the Subtype field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *PackageMove) GetSubtypeOk() (*string, bool) { - if o == nil || o.Subtype == nil { +func (o *PackageMoveResponse) GetSubtypeOk() (*string, bool) { + if o == nil || isNil(o.Subtype) { return nil, false } return o.Subtype, true } // HasSubtype returns a boolean if a field has been set. -func (o *PackageMove) HasSubtype() bool { - if o != nil && o.Subtype != nil { +func (o *PackageMoveResponse) HasSubtype() bool { + if o != nil && !isNil(o.Subtype) { return true } @@ -1926,13 +1996,13 @@ func (o *PackageMove) HasSubtype() bool { } // SetSubtype gets a reference to the given string and assigns it to the Subtype field. -func (o *PackageMove) SetSubtype(v string) { +func (o *PackageMoveResponse) SetSubtype(v string) { o.Subtype = &v } // GetSummary returns the Summary field value if set, zero value otherwise. -func (o *PackageMove) GetSummary() string { - if o == nil || o.Summary == nil { +func (o *PackageMoveResponse) GetSummary() string { + if o == nil || isNil(o.Summary) { var ret string return ret } @@ -1941,16 +2011,16 @@ func (o *PackageMove) GetSummary() string { // GetSummaryOk returns a tuple with the Summary field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *PackageMove) GetSummaryOk() (*string, bool) { - if o == nil || o.Summary == nil { +func (o *PackageMoveResponse) GetSummaryOk() (*string, bool) { + if o == nil || isNil(o.Summary) { return nil, false } return o.Summary, true } // HasSummary returns a boolean if a field has been set. -func (o *PackageMove) HasSummary() bool { - if o != nil && o.Summary != nil { +func (o *PackageMoveResponse) HasSummary() bool { + if o != nil && !isNil(o.Summary) { return true } @@ -1958,14 +2028,14 @@ func (o *PackageMove) HasSummary() bool { } // SetSummary gets a reference to the given string and assigns it to the Summary field. -func (o *PackageMove) SetSummary(v string) { +func (o *PackageMoveResponse) SetSummary(v string) { o.Summary = &v } // GetSyncFinishedAt returns the SyncFinishedAt field value if set, zero value otherwise. -func (o *PackageMove) GetSyncFinishedAt() string { - if o == nil || o.SyncFinishedAt == nil { - var ret string +func (o *PackageMoveResponse) GetSyncFinishedAt() time.Time { + if o == nil || isNil(o.SyncFinishedAt) { + var ret time.Time return ret } return *o.SyncFinishedAt @@ -1973,30 +2043,30 @@ func (o *PackageMove) GetSyncFinishedAt() string { // GetSyncFinishedAtOk returns a tuple with the SyncFinishedAt field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *PackageMove) GetSyncFinishedAtOk() (*string, bool) { - if o == nil || o.SyncFinishedAt == nil { +func (o *PackageMoveResponse) GetSyncFinishedAtOk() (*time.Time, bool) { + if o == nil || isNil(o.SyncFinishedAt) { return nil, false } return o.SyncFinishedAt, true } // HasSyncFinishedAt returns a boolean if a field has been set. -func (o *PackageMove) HasSyncFinishedAt() bool { - if o != nil && o.SyncFinishedAt != nil { +func (o *PackageMoveResponse) HasSyncFinishedAt() bool { + if o != nil && !isNil(o.SyncFinishedAt) { return true } return false } -// SetSyncFinishedAt gets a reference to the given string and assigns it to the SyncFinishedAt field. -func (o *PackageMove) SetSyncFinishedAt(v string) { +// SetSyncFinishedAt gets a reference to the given time.Time and assigns it to the SyncFinishedAt field. +func (o *PackageMoveResponse) SetSyncFinishedAt(v time.Time) { o.SyncFinishedAt = &v } // GetSyncProgress returns the SyncProgress field value if set, zero value otherwise. -func (o *PackageMove) GetSyncProgress() int64 { - if o == nil || o.SyncProgress == nil { +func (o *PackageMoveResponse) GetSyncProgress() int64 { + if o == nil || isNil(o.SyncProgress) { var ret int64 return ret } @@ -2005,16 +2075,16 @@ func (o *PackageMove) GetSyncProgress() int64 { // GetSyncProgressOk returns a tuple with the SyncProgress field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *PackageMove) GetSyncProgressOk() (*int64, bool) { - if o == nil || o.SyncProgress == nil { +func (o *PackageMoveResponse) GetSyncProgressOk() (*int64, bool) { + if o == nil || isNil(o.SyncProgress) { return nil, false } return o.SyncProgress, true } // HasSyncProgress returns a boolean if a field has been set. -func (o *PackageMove) HasSyncProgress() bool { - if o != nil && o.SyncProgress != nil { +func (o *PackageMoveResponse) HasSyncProgress() bool { + if o != nil && !isNil(o.SyncProgress) { return true } @@ -2022,13 +2092,13 @@ func (o *PackageMove) HasSyncProgress() bool { } // SetSyncProgress gets a reference to the given int64 and assigns it to the SyncProgress field. -func (o *PackageMove) SetSyncProgress(v int64) { +func (o *PackageMoveResponse) SetSyncProgress(v int64) { o.SyncProgress = &v } // GetTags returns the Tags field value if set, zero value otherwise. -func (o *PackageMove) GetTags() map[string]interface{} { - if o == nil || o.Tags == nil { +func (o *PackageMoveResponse) GetTags() map[string]interface{} { + if o == nil || isNil(o.Tags) { var ret map[string]interface{} return ret } @@ -2037,16 +2107,16 @@ func (o *PackageMove) GetTags() map[string]interface{} { // GetTagsOk returns a tuple with the Tags field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *PackageMove) GetTagsOk() (map[string]interface{}, bool) { - if o == nil || o.Tags == nil { - return nil, false +func (o *PackageMoveResponse) GetTagsOk() (map[string]interface{}, bool) { + if o == nil || isNil(o.Tags) { + return map[string]interface{}{}, false } return o.Tags, true } // HasTags returns a boolean if a field has been set. -func (o *PackageMove) HasTags() bool { - if o != nil && o.Tags != nil { +func (o *PackageMoveResponse) HasTags() bool { + if o != nil && !isNil(o.Tags) { return true } @@ -2054,13 +2124,13 @@ func (o *PackageMove) HasTags() bool { } // SetTags gets a reference to the given map[string]interface{} and assigns it to the Tags field. -func (o *PackageMove) SetTags(v map[string]interface{}) { +func (o *PackageMoveResponse) SetTags(v map[string]interface{}) { o.Tags = v } // GetTagsImmutable returns the TagsImmutable field value if set, zero value otherwise. -func (o *PackageMove) GetTagsImmutable() map[string]interface{} { - if o == nil || o.TagsImmutable == nil { +func (o *PackageMoveResponse) GetTagsImmutable() map[string]interface{} { + if o == nil || isNil(o.TagsImmutable) { var ret map[string]interface{} return ret } @@ -2069,16 +2139,16 @@ func (o *PackageMove) GetTagsImmutable() map[string]interface{} { // GetTagsImmutableOk returns a tuple with the TagsImmutable field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *PackageMove) GetTagsImmutableOk() (map[string]interface{}, bool) { - if o == nil || o.TagsImmutable == nil { - return nil, false +func (o *PackageMoveResponse) GetTagsImmutableOk() (map[string]interface{}, bool) { + if o == nil || isNil(o.TagsImmutable) { + return map[string]interface{}{}, false } return o.TagsImmutable, true } // HasTagsImmutable returns a boolean if a field has been set. -func (o *PackageMove) HasTagsImmutable() bool { - if o != nil && o.TagsImmutable != nil { +func (o *PackageMoveResponse) HasTagsImmutable() bool { + if o != nil && !isNil(o.TagsImmutable) { return true } @@ -2086,13 +2156,13 @@ func (o *PackageMove) HasTagsImmutable() bool { } // SetTagsImmutable gets a reference to the given map[string]interface{} and assigns it to the TagsImmutable field. -func (o *PackageMove) SetTagsImmutable(v map[string]interface{}) { +func (o *PackageMoveResponse) SetTagsImmutable(v map[string]interface{}) { o.TagsImmutable = v } // GetTypeDisplay returns the TypeDisplay field value if set, zero value otherwise. -func (o *PackageMove) GetTypeDisplay() string { - if o == nil || o.TypeDisplay == nil { +func (o *PackageMoveResponse) GetTypeDisplay() string { + if o == nil || isNil(o.TypeDisplay) { var ret string return ret } @@ -2101,16 +2171,16 @@ func (o *PackageMove) GetTypeDisplay() string { // GetTypeDisplayOk returns a tuple with the TypeDisplay field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *PackageMove) GetTypeDisplayOk() (*string, bool) { - if o == nil || o.TypeDisplay == nil { +func (o *PackageMoveResponse) GetTypeDisplayOk() (*string, bool) { + if o == nil || isNil(o.TypeDisplay) { return nil, false } return o.TypeDisplay, true } // HasTypeDisplay returns a boolean if a field has been set. -func (o *PackageMove) HasTypeDisplay() bool { - if o != nil && o.TypeDisplay != nil { +func (o *PackageMoveResponse) HasTypeDisplay() bool { + if o != nil && !isNil(o.TypeDisplay) { return true } @@ -2118,14 +2188,14 @@ func (o *PackageMove) HasTypeDisplay() bool { } // SetTypeDisplay gets a reference to the given string and assigns it to the TypeDisplay field. -func (o *PackageMove) SetTypeDisplay(v string) { +func (o *PackageMoveResponse) SetTypeDisplay(v string) { o.TypeDisplay = &v } // GetUploadedAt returns the UploadedAt field value if set, zero value otherwise. -func (o *PackageMove) GetUploadedAt() string { - if o == nil || o.UploadedAt == nil { - var ret string +func (o *PackageMoveResponse) GetUploadedAt() time.Time { + if o == nil || isNil(o.UploadedAt) { + var ret time.Time return ret } return *o.UploadedAt @@ -2133,30 +2203,30 @@ func (o *PackageMove) GetUploadedAt() string { // GetUploadedAtOk returns a tuple with the UploadedAt field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *PackageMove) GetUploadedAtOk() (*string, bool) { - if o == nil || o.UploadedAt == nil { +func (o *PackageMoveResponse) GetUploadedAtOk() (*time.Time, bool) { + if o == nil || isNil(o.UploadedAt) { return nil, false } return o.UploadedAt, true } // HasUploadedAt returns a boolean if a field has been set. -func (o *PackageMove) HasUploadedAt() bool { - if o != nil && o.UploadedAt != nil { +func (o *PackageMoveResponse) HasUploadedAt() bool { + if o != nil && !isNil(o.UploadedAt) { return true } return false } -// SetUploadedAt gets a reference to the given string and assigns it to the UploadedAt field. -func (o *PackageMove) SetUploadedAt(v string) { +// SetUploadedAt gets a reference to the given time.Time and assigns it to the UploadedAt field. +func (o *PackageMoveResponse) SetUploadedAt(v time.Time) { o.UploadedAt = &v } // GetUploader returns the Uploader field value if set, zero value otherwise. -func (o *PackageMove) GetUploader() string { - if o == nil || o.Uploader == nil { +func (o *PackageMoveResponse) GetUploader() string { + if o == nil || isNil(o.Uploader) { var ret string return ret } @@ -2165,16 +2235,16 @@ func (o *PackageMove) GetUploader() string { // GetUploaderOk returns a tuple with the Uploader field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *PackageMove) GetUploaderOk() (*string, bool) { - if o == nil || o.Uploader == nil { +func (o *PackageMoveResponse) GetUploaderOk() (*string, bool) { + if o == nil || isNil(o.Uploader) { return nil, false } return o.Uploader, true } // HasUploader returns a boolean if a field has been set. -func (o *PackageMove) HasUploader() bool { - if o != nil && o.Uploader != nil { +func (o *PackageMoveResponse) HasUploader() bool { + if o != nil && !isNil(o.Uploader) { return true } @@ -2182,13 +2252,13 @@ func (o *PackageMove) HasUploader() bool { } // SetUploader gets a reference to the given string and assigns it to the Uploader field. -func (o *PackageMove) SetUploader(v string) { +func (o *PackageMoveResponse) SetUploader(v string) { o.Uploader = &v } // GetUploaderUrl returns the UploaderUrl field value if set, zero value otherwise. -func (o *PackageMove) GetUploaderUrl() string { - if o == nil || o.UploaderUrl == nil { +func (o *PackageMoveResponse) GetUploaderUrl() string { + if o == nil || isNil(o.UploaderUrl) { var ret string return ret } @@ -2197,16 +2267,16 @@ func (o *PackageMove) GetUploaderUrl() string { // GetUploaderUrlOk returns a tuple with the UploaderUrl field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *PackageMove) GetUploaderUrlOk() (*string, bool) { - if o == nil || o.UploaderUrl == nil { +func (o *PackageMoveResponse) GetUploaderUrlOk() (*string, bool) { + if o == nil || isNil(o.UploaderUrl) { return nil, false } return o.UploaderUrl, true } // HasUploaderUrl returns a boolean if a field has been set. -func (o *PackageMove) HasUploaderUrl() bool { - if o != nil && o.UploaderUrl != nil { +func (o *PackageMoveResponse) HasUploaderUrl() bool { + if o != nil && !isNil(o.UploaderUrl) { return true } @@ -2214,13 +2284,13 @@ func (o *PackageMove) HasUploaderUrl() bool { } // SetUploaderUrl gets a reference to the given string and assigns it to the UploaderUrl field. -func (o *PackageMove) SetUploaderUrl(v string) { +func (o *PackageMoveResponse) SetUploaderUrl(v string) { o.UploaderUrl = &v } // GetVersion returns the Version field value if set, zero value otherwise. -func (o *PackageMove) GetVersion() string { - if o == nil || o.Version == nil { +func (o *PackageMoveResponse) GetVersion() string { + if o == nil || isNil(o.Version) { var ret string return ret } @@ -2229,16 +2299,16 @@ func (o *PackageMove) GetVersion() string { // GetVersionOk returns a tuple with the Version field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *PackageMove) GetVersionOk() (*string, bool) { - if o == nil || o.Version == nil { +func (o *PackageMoveResponse) GetVersionOk() (*string, bool) { + if o == nil || isNil(o.Version) { return nil, false } return o.Version, true } // HasVersion returns a boolean if a field has been set. -func (o *PackageMove) HasVersion() bool { - if o != nil && o.Version != nil { +func (o *PackageMoveResponse) HasVersion() bool { + if o != nil && !isNil(o.Version) { return true } @@ -2246,13 +2316,13 @@ func (o *PackageMove) HasVersion() bool { } // SetVersion gets a reference to the given string and assigns it to the Version field. -func (o *PackageMove) SetVersion(v string) { +func (o *PackageMoveResponse) SetVersion(v string) { o.Version = &v } // GetVersionOrig returns the VersionOrig field value if set, zero value otherwise. -func (o *PackageMove) GetVersionOrig() string { - if o == nil || o.VersionOrig == nil { +func (o *PackageMoveResponse) GetVersionOrig() string { + if o == nil || isNil(o.VersionOrig) { var ret string return ret } @@ -2261,16 +2331,16 @@ func (o *PackageMove) GetVersionOrig() string { // GetVersionOrigOk returns a tuple with the VersionOrig field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *PackageMove) GetVersionOrigOk() (*string, bool) { - if o == nil || o.VersionOrig == nil { +func (o *PackageMoveResponse) GetVersionOrigOk() (*string, bool) { + if o == nil || isNil(o.VersionOrig) { return nil, false } return o.VersionOrig, true } // HasVersionOrig returns a boolean if a field has been set. -func (o *PackageMove) HasVersionOrig() bool { - if o != nil && o.VersionOrig != nil { +func (o *PackageMoveResponse) HasVersionOrig() bool { + if o != nil && !isNil(o.VersionOrig) { return true } @@ -2278,13 +2348,13 @@ func (o *PackageMove) HasVersionOrig() bool { } // SetVersionOrig gets a reference to the given string and assigns it to the VersionOrig field. -func (o *PackageMove) SetVersionOrig(v string) { +func (o *PackageMoveResponse) SetVersionOrig(v string) { o.VersionOrig = &v } // GetVulnerabilityScanResultsUrl returns the VulnerabilityScanResultsUrl field value if set, zero value otherwise. -func (o *PackageMove) GetVulnerabilityScanResultsUrl() string { - if o == nil || o.VulnerabilityScanResultsUrl == nil { +func (o *PackageMoveResponse) GetVulnerabilityScanResultsUrl() string { + if o == nil || isNil(o.VulnerabilityScanResultsUrl) { var ret string return ret } @@ -2293,16 +2363,16 @@ func (o *PackageMove) GetVulnerabilityScanResultsUrl() string { // GetVulnerabilityScanResultsUrlOk returns a tuple with the VulnerabilityScanResultsUrl field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *PackageMove) GetVulnerabilityScanResultsUrlOk() (*string, bool) { - if o == nil || o.VulnerabilityScanResultsUrl == nil { +func (o *PackageMoveResponse) GetVulnerabilityScanResultsUrlOk() (*string, bool) { + if o == nil || isNil(o.VulnerabilityScanResultsUrl) { return nil, false } return o.VulnerabilityScanResultsUrl, true } // HasVulnerabilityScanResultsUrl returns a boolean if a field has been set. -func (o *PackageMove) HasVulnerabilityScanResultsUrl() bool { - if o != nil && o.VulnerabilityScanResultsUrl != nil { +func (o *PackageMoveResponse) HasVulnerabilityScanResultsUrl() bool { + if o != nil && !isNil(o.VulnerabilityScanResultsUrl) { return true } @@ -2310,248 +2380,254 @@ func (o *PackageMove) HasVulnerabilityScanResultsUrl() bool { } // SetVulnerabilityScanResultsUrl gets a reference to the given string and assigns it to the VulnerabilityScanResultsUrl field. -func (o *PackageMove) SetVulnerabilityScanResultsUrl(v string) { +func (o *PackageMoveResponse) SetVulnerabilityScanResultsUrl(v string) { o.VulnerabilityScanResultsUrl = &v } -func (o PackageMove) MarshalJSON() ([]byte, error) { +func (o PackageMoveResponse) MarshalJSON() ([]byte, error) { toSerialize := map[string]interface{}{} - if o.Architectures != nil { + if !isNil(o.Architectures) { toSerialize["architectures"] = o.Architectures } - if o.CdnUrl != nil { - toSerialize["cdn_url"] = o.CdnUrl + if o.CdnUrl.IsSet() { + toSerialize["cdn_url"] = o.CdnUrl.Get() } - if o.ChecksumMd5 != nil { + if !isNil(o.ChecksumMd5) { toSerialize["checksum_md5"] = o.ChecksumMd5 } - if o.ChecksumSha1 != nil { + if !isNil(o.ChecksumSha1) { toSerialize["checksum_sha1"] = o.ChecksumSha1 } - if o.ChecksumSha256 != nil { + if !isNil(o.ChecksumSha256) { toSerialize["checksum_sha256"] = o.ChecksumSha256 } - if o.ChecksumSha512 != nil { + if !isNil(o.ChecksumSha512) { toSerialize["checksum_sha512"] = o.ChecksumSha512 } - if o.DependenciesChecksumMd5 != nil { + if !isNil(o.DependenciesChecksumMd5) { toSerialize["dependencies_checksum_md5"] = o.DependenciesChecksumMd5 } - if o.DependenciesUrl != nil { + if !isNil(o.DependenciesUrl) { toSerialize["dependencies_url"] = o.DependenciesUrl } - if o.Description != nil { + if !isNil(o.Description) { toSerialize["description"] = o.Description } - if o.Distro != nil { - toSerialize["distro"] = o.Distro + if o.Distro.IsSet() { + toSerialize["distro"] = o.Distro.Get() } - if o.DistroVersion != nil { + if !isNil(o.DistroVersion) { toSerialize["distro_version"] = o.DistroVersion } - if o.Downloads != nil { + if !isNil(o.Downloads) { toSerialize["downloads"] = o.Downloads } - if o.Epoch != nil { + if !isNil(o.Epoch) { toSerialize["epoch"] = o.Epoch } - if o.Extension != nil { + if !isNil(o.Extension) { toSerialize["extension"] = o.Extension } - if o.Filename != nil { + if !isNil(o.Filename) { toSerialize["filename"] = o.Filename } - if o.Files != nil { + if !isNil(o.Files) { toSerialize["files"] = o.Files } - if o.Format != nil { + if !isNil(o.Format) { toSerialize["format"] = o.Format } - if o.FormatUrl != nil { + if !isNil(o.FormatUrl) { toSerialize["format_url"] = o.FormatUrl } - if o.IdentifierPerm != nil { + if !isNil(o.IdentifierPerm) { toSerialize["identifier_perm"] = o.IdentifierPerm } - if o.Indexed != nil { + if !isNil(o.Indexed) { toSerialize["indexed"] = o.Indexed } - if o.IsDownloadable != nil { + if !isNil(o.IsDownloadable) { toSerialize["is_downloadable"] = o.IsDownloadable } - if o.IsQuarantined != nil { + if !isNil(o.IsQuarantined) { toSerialize["is_quarantined"] = o.IsQuarantined } - if o.IsSyncAwaiting != nil { + if !isNil(o.IsSyncAwaiting) { toSerialize["is_sync_awaiting"] = o.IsSyncAwaiting } - if o.IsSyncCompleted != nil { + if !isNil(o.IsSyncCompleted) { toSerialize["is_sync_completed"] = o.IsSyncCompleted } - if o.IsSyncFailed != nil { + if !isNil(o.IsSyncFailed) { toSerialize["is_sync_failed"] = o.IsSyncFailed } - if o.IsSyncInFlight != nil { + if !isNil(o.IsSyncInFlight) { toSerialize["is_sync_in_flight"] = o.IsSyncInFlight } - if o.IsSyncInProgress != nil { + if !isNil(o.IsSyncInProgress) { toSerialize["is_sync_in_progress"] = o.IsSyncInProgress } - if o.License != nil { + if !isNil(o.License) { toSerialize["license"] = o.License } - if o.Name != nil { + if !isNil(o.Name) { toSerialize["name"] = o.Name } - if o.Namespace != nil { + if !isNil(o.Namespace) { toSerialize["namespace"] = o.Namespace } - if o.NamespaceUrl != nil { + if !isNil(o.NamespaceUrl) { toSerialize["namespace_url"] = o.NamespaceUrl } - if o.NumFiles != nil { + if !isNil(o.NumFiles) { toSerialize["num_files"] = o.NumFiles } - if o.PackageType != nil { + if !isNil(o.OriginRepository) { + toSerialize["origin_repository"] = o.OriginRepository + } + if !isNil(o.OriginRepositoryUrl) { + toSerialize["origin_repository_url"] = o.OriginRepositoryUrl + } + if !isNil(o.PackageType) { toSerialize["package_type"] = o.PackageType } - if o.Release != nil { + if !isNil(o.Release) { toSerialize["release"] = o.Release } - if o.Repository != nil { + if !isNil(o.Repository) { toSerialize["repository"] = o.Repository } - if o.RepositoryUrl != nil { + if !isNil(o.RepositoryUrl) { toSerialize["repository_url"] = o.RepositoryUrl } - if o.SecurityScanCompletedAt != nil { + if !isNil(o.SecurityScanCompletedAt) { toSerialize["security_scan_completed_at"] = o.SecurityScanCompletedAt } - if o.SecurityScanStartedAt != nil { + if !isNil(o.SecurityScanStartedAt) { toSerialize["security_scan_started_at"] = o.SecurityScanStartedAt } - if o.SecurityScanStatus != nil { - toSerialize["security_scan_status"] = o.SecurityScanStatus + if o.SecurityScanStatus.IsSet() { + toSerialize["security_scan_status"] = o.SecurityScanStatus.Get() } - if o.SecurityScanStatusUpdatedAt != nil { + if !isNil(o.SecurityScanStatusUpdatedAt) { toSerialize["security_scan_status_updated_at"] = o.SecurityScanStatusUpdatedAt } - if o.SelfHtmlUrl != nil { + if !isNil(o.SelfHtmlUrl) { toSerialize["self_html_url"] = o.SelfHtmlUrl } - if o.SelfUrl != nil { + if !isNil(o.SelfUrl) { toSerialize["self_url"] = o.SelfUrl } - if o.SignatureUrl != nil { - toSerialize["signature_url"] = o.SignatureUrl + if o.SignatureUrl.IsSet() { + toSerialize["signature_url"] = o.SignatureUrl.Get() } - if o.Size != nil { + if !isNil(o.Size) { toSerialize["size"] = o.Size } - if o.Slug != nil { + if !isNil(o.Slug) { toSerialize["slug"] = o.Slug } - if o.SlugPerm != nil { + if !isNil(o.SlugPerm) { toSerialize["slug_perm"] = o.SlugPerm } - if o.Stage != nil { + if !isNil(o.Stage) { toSerialize["stage"] = o.Stage } - if o.StageStr != nil { + if !isNil(o.StageStr) { toSerialize["stage_str"] = o.StageStr } - if o.StageUpdatedAt != nil { + if !isNil(o.StageUpdatedAt) { toSerialize["stage_updated_at"] = o.StageUpdatedAt } - if o.Status != nil { + if !isNil(o.Status) { toSerialize["status"] = o.Status } - if o.StatusReason != nil { + if !isNil(o.StatusReason) { toSerialize["status_reason"] = o.StatusReason } - if o.StatusStr != nil { + if !isNil(o.StatusStr) { toSerialize["status_str"] = o.StatusStr } - if o.StatusUpdatedAt != nil { + if !isNil(o.StatusUpdatedAt) { toSerialize["status_updated_at"] = o.StatusUpdatedAt } - if o.StatusUrl != nil { + if !isNil(o.StatusUrl) { toSerialize["status_url"] = o.StatusUrl } - if o.Subtype != nil { + if !isNil(o.Subtype) { toSerialize["subtype"] = o.Subtype } - if o.Summary != nil { + if !isNil(o.Summary) { toSerialize["summary"] = o.Summary } - if o.SyncFinishedAt != nil { + if !isNil(o.SyncFinishedAt) { toSerialize["sync_finished_at"] = o.SyncFinishedAt } - if o.SyncProgress != nil { + if !isNil(o.SyncProgress) { toSerialize["sync_progress"] = o.SyncProgress } - if o.Tags != nil { + if !isNil(o.Tags) { toSerialize["tags"] = o.Tags } - if o.TagsImmutable != nil { + if !isNil(o.TagsImmutable) { toSerialize["tags_immutable"] = o.TagsImmutable } - if o.TypeDisplay != nil { + if !isNil(o.TypeDisplay) { toSerialize["type_display"] = o.TypeDisplay } - if o.UploadedAt != nil { + if !isNil(o.UploadedAt) { toSerialize["uploaded_at"] = o.UploadedAt } - if o.Uploader != nil { + if !isNil(o.Uploader) { toSerialize["uploader"] = o.Uploader } - if o.UploaderUrl != nil { + if !isNil(o.UploaderUrl) { toSerialize["uploader_url"] = o.UploaderUrl } - if o.Version != nil { + if !isNil(o.Version) { toSerialize["version"] = o.Version } - if o.VersionOrig != nil { + if !isNil(o.VersionOrig) { toSerialize["version_orig"] = o.VersionOrig } - if o.VulnerabilityScanResultsUrl != nil { + if !isNil(o.VulnerabilityScanResultsUrl) { toSerialize["vulnerability_scan_results_url"] = o.VulnerabilityScanResultsUrl } return json.Marshal(toSerialize) } -type NullablePackageMove struct { - value *PackageMove +type NullablePackageMoveResponse struct { + value *PackageMoveResponse isSet bool } -func (v NullablePackageMove) Get() *PackageMove { +func (v NullablePackageMoveResponse) Get() *PackageMoveResponse { return v.value } -func (v *NullablePackageMove) Set(val *PackageMove) { +func (v *NullablePackageMoveResponse) Set(val *PackageMoveResponse) { v.value = val v.isSet = true } -func (v NullablePackageMove) IsSet() bool { +func (v NullablePackageMoveResponse) IsSet() bool { return v.isSet } -func (v *NullablePackageMove) Unset() { +func (v *NullablePackageMoveResponse) Unset() { v.value = nil v.isSet = false } -func NewNullablePackageMove(val *PackageMove) *NullablePackageMove { - return &NullablePackageMove{value: val, isSet: true} +func NewNullablePackageMoveResponse(val *PackageMoveResponse) *NullablePackageMoveResponse { + return &NullablePackageMoveResponse{value: val, isSet: true} } -func (v NullablePackageMove) MarshalJSON() ([]byte, error) { +func (v NullablePackageMoveResponse) MarshalJSON() ([]byte, error) { return json.Marshal(v.value) } -func (v *NullablePackageMove) UnmarshalJSON(src []byte) error { +func (v *NullablePackageMoveResponse) UnmarshalJSON(src []byte) error { v.isSet = true return json.Unmarshal(src, &v.value) } diff --git a/model_package_quarantine_request.go b/model_package_quarantine_request.go new file mode 100644 index 00000000..2e0bf637 --- /dev/null +++ b/model_package_quarantine_request.go @@ -0,0 +1,115 @@ +/* +Cloudsmith API (v1) + +The API to the Cloudsmith Service + +API version: 1.181.6 +Contact: support@cloudsmith.io +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cloudsmith + +import ( + "encoding/json" +) + +// PackageQuarantineRequest struct for PackageQuarantineRequest +type PackageQuarantineRequest struct { + // If true, the package be restored from quarantine. + Restore *bool `json:"restore,omitempty"` +} + +// NewPackageQuarantineRequest instantiates a new PackageQuarantineRequest object +// 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 NewPackageQuarantineRequest() *PackageQuarantineRequest { + this := PackageQuarantineRequest{} + return &this +} + +// NewPackageQuarantineRequestWithDefaults instantiates a new PackageQuarantineRequest object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewPackageQuarantineRequestWithDefaults() *PackageQuarantineRequest { + this := PackageQuarantineRequest{} + return &this +} + +// GetRestore returns the Restore field value if set, zero value otherwise. +func (o *PackageQuarantineRequest) GetRestore() bool { + if o == nil || isNil(o.Restore) { + var ret bool + return ret + } + return *o.Restore +} + +// GetRestoreOk returns a tuple with the Restore field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *PackageQuarantineRequest) GetRestoreOk() (*bool, bool) { + if o == nil || isNil(o.Restore) { + return nil, false + } + return o.Restore, true +} + +// HasRestore returns a boolean if a field has been set. +func (o *PackageQuarantineRequest) HasRestore() bool { + if o != nil && !isNil(o.Restore) { + return true + } + + return false +} + +// SetRestore gets a reference to the given bool and assigns it to the Restore field. +func (o *PackageQuarantineRequest) SetRestore(v bool) { + o.Restore = &v +} + +func (o PackageQuarantineRequest) MarshalJSON() ([]byte, error) { + toSerialize := map[string]interface{}{} + if !isNil(o.Restore) { + toSerialize["restore"] = o.Restore + } + return json.Marshal(toSerialize) +} + +type NullablePackageQuarantineRequest struct { + value *PackageQuarantineRequest + isSet bool +} + +func (v NullablePackageQuarantineRequest) Get() *PackageQuarantineRequest { + return v.value +} + +func (v *NullablePackageQuarantineRequest) Set(val *PackageQuarantineRequest) { + v.value = val + v.isSet = true +} + +func (v NullablePackageQuarantineRequest) IsSet() bool { + return v.isSet +} + +func (v *NullablePackageQuarantineRequest) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullablePackageQuarantineRequest(val *PackageQuarantineRequest) *NullablePackageQuarantineRequest { + return &NullablePackageQuarantineRequest{value: val, isSet: true} +} + +func (v NullablePackageQuarantineRequest) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullablePackageQuarantineRequest) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} diff --git a/model_package_quarantine_response.go b/model_package_quarantine_response.go new file mode 100644 index 00000000..a38f10c6 --- /dev/null +++ b/model_package_quarantine_response.go @@ -0,0 +1,2632 @@ +/* +Cloudsmith API (v1) + +The API to the Cloudsmith Service + +API version: 1.181.6 +Contact: support@cloudsmith.io +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cloudsmith + +import ( + "encoding/json" + "time" +) + +// PackageQuarantineResponse struct for PackageQuarantineResponse +type PackageQuarantineResponse struct { + Architectures []Architecture `json:"architectures,omitempty"` + CdnUrl NullableString `json:"cdn_url,omitempty"` + ChecksumMd5 *string `json:"checksum_md5,omitempty"` + ChecksumSha1 *string `json:"checksum_sha1,omitempty"` + ChecksumSha256 *string `json:"checksum_sha256,omitempty"` + ChecksumSha512 *string `json:"checksum_sha512,omitempty"` + // A checksum of all of the package's dependencies. + DependenciesChecksumMd5 *string `json:"dependencies_checksum_md5,omitempty"` + DependenciesUrl *string `json:"dependencies_url,omitempty"` + // A textual description of this package. + Description *string `json:"description,omitempty"` + Distro NullableDistribution `json:"distro,omitempty"` + DistroVersion *DistributionVersion `json:"distro_version,omitempty"` + Downloads *int64 `json:"downloads,omitempty"` + // The epoch of the package version (if any). + Epoch *int64 `json:"epoch,omitempty"` + Extension *string `json:"extension,omitempty"` + Filename *string `json:"filename,omitempty"` + Files []PackageFile `json:"files,omitempty"` + Format *string `json:"format,omitempty"` + FormatUrl *string `json:"format_url,omitempty"` + // Unique and permanent identifier for the package. + IdentifierPerm *string `json:"identifier_perm,omitempty"` + Indexed *bool `json:"indexed,omitempty"` + IsDownloadable *bool `json:"is_downloadable,omitempty"` + IsQuarantined *bool `json:"is_quarantined,omitempty"` + IsSyncAwaiting *bool `json:"is_sync_awaiting,omitempty"` + IsSyncCompleted *bool `json:"is_sync_completed,omitempty"` + IsSyncFailed *bool `json:"is_sync_failed,omitempty"` + IsSyncInFlight *bool `json:"is_sync_in_flight,omitempty"` + IsSyncInProgress *bool `json:"is_sync_in_progress,omitempty"` + // The license of this package. + License *string `json:"license,omitempty"` + // The name of this package. + Name *string `json:"name,omitempty"` + Namespace *string `json:"namespace,omitempty"` + NamespaceUrl *string `json:"namespace_url,omitempty"` + NumFiles *int64 `json:"num_files,omitempty"` + OriginRepository *string `json:"origin_repository,omitempty"` + OriginRepositoryUrl *string `json:"origin_repository_url,omitempty"` + // The type of package contents. + PackageType *int64 `json:"package_type,omitempty"` + // The release of the package version (if any). + Release *string `json:"release,omitempty"` + Repository *string `json:"repository,omitempty"` + RepositoryUrl *string `json:"repository_url,omitempty"` + // The datetime the security scanning was completed. + SecurityScanCompletedAt *time.Time `json:"security_scan_completed_at,omitempty"` + // The datetime the security scanning was started. + SecurityScanStartedAt *time.Time `json:"security_scan_started_at,omitempty"` + SecurityScanStatus NullableString `json:"security_scan_status,omitempty"` + // The datetime the security scanning status was updated. + SecurityScanStatusUpdatedAt *time.Time `json:"security_scan_status_updated_at,omitempty"` + SelfHtmlUrl *string `json:"self_html_url,omitempty"` + SelfUrl *string `json:"self_url,omitempty"` + SignatureUrl NullableString `json:"signature_url,omitempty"` + // The calculated size of the package. + Size *int64 `json:"size,omitempty"` + // The public unique identifier for the package. + Slug *string `json:"slug,omitempty"` + SlugPerm *string `json:"slug_perm,omitempty"` + // The synchronisation (in progress) stage of the package. + Stage *int64 `json:"stage,omitempty"` + StageStr *string `json:"stage_str,omitempty"` + // The datetime the package stage was updated at. + StageUpdatedAt *time.Time `json:"stage_updated_at,omitempty"` + // The synchronisation status of the package. + Status *int64 `json:"status,omitempty"` + // A textual description for the synchronous status reason (if any + StatusReason *string `json:"status_reason,omitempty"` + StatusStr *string `json:"status_str,omitempty"` + // The datetime the package status was updated at. + StatusUpdatedAt *time.Time `json:"status_updated_at,omitempty"` + StatusUrl *string `json:"status_url,omitempty"` + Subtype *string `json:"subtype,omitempty"` + // A one-liner synopsis of this package. + Summary *string `json:"summary,omitempty"` + // The datetime the package sync was finished at. + SyncFinishedAt *time.Time `json:"sync_finished_at,omitempty"` + // Synchronisation progress (from 0-100) + SyncProgress *int64 `json:"sync_progress,omitempty"` + // All tags on the package, grouped by tag type. This includes immutable tags, but doesn't distinguish them from mutable. To see which tags are immutable specifically, see the tags_immutable field. + Tags map[string]interface{} `json:"tags,omitempty"` + // All tags on the package, grouped by tag type. This includes immutable tags, but doesn't distinguish them from mutable. To see which tags are immutable specifically, see the tags_immutable field. + TagsImmutable map[string]interface{} `json:"tags_immutable,omitempty"` + TypeDisplay *string `json:"type_display,omitempty"` + // The date this package was uploaded. + UploadedAt *time.Time `json:"uploaded_at,omitempty"` + Uploader *string `json:"uploader,omitempty"` + UploaderUrl *string `json:"uploader_url,omitempty"` + // The raw version for this package. + Version *string `json:"version,omitempty"` + VersionOrig *string `json:"version_orig,omitempty"` + VulnerabilityScanResultsUrl *string `json:"vulnerability_scan_results_url,omitempty"` +} + +// NewPackageQuarantineResponse instantiates a new PackageQuarantineResponse object +// 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 NewPackageQuarantineResponse() *PackageQuarantineResponse { + this := PackageQuarantineResponse{} + return &this +} + +// NewPackageQuarantineResponseWithDefaults instantiates a new PackageQuarantineResponse object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewPackageQuarantineResponseWithDefaults() *PackageQuarantineResponse { + this := PackageQuarantineResponse{} + return &this +} + +// GetArchitectures returns the Architectures field value if set, zero value otherwise. +func (o *PackageQuarantineResponse) GetArchitectures() []Architecture { + if o == nil || isNil(o.Architectures) { + var ret []Architecture + return ret + } + return o.Architectures +} + +// GetArchitecturesOk returns a tuple with the Architectures field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *PackageQuarantineResponse) GetArchitecturesOk() ([]Architecture, bool) { + if o == nil || isNil(o.Architectures) { + return nil, false + } + return o.Architectures, true +} + +// HasArchitectures returns a boolean if a field has been set. +func (o *PackageQuarantineResponse) HasArchitectures() bool { + if o != nil && !isNil(o.Architectures) { + return true + } + + return false +} + +// SetArchitectures gets a reference to the given []Architecture and assigns it to the Architectures field. +func (o *PackageQuarantineResponse) SetArchitectures(v []Architecture) { + o.Architectures = v +} + +// GetCdnUrl returns the CdnUrl field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *PackageQuarantineResponse) GetCdnUrl() string { + if o == nil || isNil(o.CdnUrl.Get()) { + var ret string + return ret + } + return *o.CdnUrl.Get() +} + +// GetCdnUrlOk returns a tuple with the CdnUrl 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 *PackageQuarantineResponse) GetCdnUrlOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.CdnUrl.Get(), o.CdnUrl.IsSet() +} + +// HasCdnUrl returns a boolean if a field has been set. +func (o *PackageQuarantineResponse) HasCdnUrl() bool { + if o != nil && o.CdnUrl.IsSet() { + return true + } + + return false +} + +// SetCdnUrl gets a reference to the given NullableString and assigns it to the CdnUrl field. +func (o *PackageQuarantineResponse) SetCdnUrl(v string) { + o.CdnUrl.Set(&v) +} + +// SetCdnUrlNil sets the value for CdnUrl to be an explicit nil +func (o *PackageQuarantineResponse) SetCdnUrlNil() { + o.CdnUrl.Set(nil) +} + +// UnsetCdnUrl ensures that no value is present for CdnUrl, not even an explicit nil +func (o *PackageQuarantineResponse) UnsetCdnUrl() { + o.CdnUrl.Unset() +} + +// GetChecksumMd5 returns the ChecksumMd5 field value if set, zero value otherwise. +func (o *PackageQuarantineResponse) GetChecksumMd5() string { + if o == nil || isNil(o.ChecksumMd5) { + var ret string + return ret + } + return *o.ChecksumMd5 +} + +// GetChecksumMd5Ok returns a tuple with the ChecksumMd5 field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *PackageQuarantineResponse) GetChecksumMd5Ok() (*string, bool) { + if o == nil || isNil(o.ChecksumMd5) { + return nil, false + } + return o.ChecksumMd5, true +} + +// HasChecksumMd5 returns a boolean if a field has been set. +func (o *PackageQuarantineResponse) HasChecksumMd5() bool { + if o != nil && !isNil(o.ChecksumMd5) { + return true + } + + return false +} + +// SetChecksumMd5 gets a reference to the given string and assigns it to the ChecksumMd5 field. +func (o *PackageQuarantineResponse) SetChecksumMd5(v string) { + o.ChecksumMd5 = &v +} + +// GetChecksumSha1 returns the ChecksumSha1 field value if set, zero value otherwise. +func (o *PackageQuarantineResponse) GetChecksumSha1() string { + if o == nil || isNil(o.ChecksumSha1) { + var ret string + return ret + } + return *o.ChecksumSha1 +} + +// GetChecksumSha1Ok returns a tuple with the ChecksumSha1 field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *PackageQuarantineResponse) GetChecksumSha1Ok() (*string, bool) { + if o == nil || isNil(o.ChecksumSha1) { + return nil, false + } + return o.ChecksumSha1, true +} + +// HasChecksumSha1 returns a boolean if a field has been set. +func (o *PackageQuarantineResponse) HasChecksumSha1() bool { + if o != nil && !isNil(o.ChecksumSha1) { + return true + } + + return false +} + +// SetChecksumSha1 gets a reference to the given string and assigns it to the ChecksumSha1 field. +func (o *PackageQuarantineResponse) SetChecksumSha1(v string) { + o.ChecksumSha1 = &v +} + +// GetChecksumSha256 returns the ChecksumSha256 field value if set, zero value otherwise. +func (o *PackageQuarantineResponse) GetChecksumSha256() string { + if o == nil || isNil(o.ChecksumSha256) { + var ret string + return ret + } + return *o.ChecksumSha256 +} + +// GetChecksumSha256Ok returns a tuple with the ChecksumSha256 field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *PackageQuarantineResponse) GetChecksumSha256Ok() (*string, bool) { + if o == nil || isNil(o.ChecksumSha256) { + return nil, false + } + return o.ChecksumSha256, true +} + +// HasChecksumSha256 returns a boolean if a field has been set. +func (o *PackageQuarantineResponse) HasChecksumSha256() bool { + if o != nil && !isNil(o.ChecksumSha256) { + return true + } + + return false +} + +// SetChecksumSha256 gets a reference to the given string and assigns it to the ChecksumSha256 field. +func (o *PackageQuarantineResponse) SetChecksumSha256(v string) { + o.ChecksumSha256 = &v +} + +// GetChecksumSha512 returns the ChecksumSha512 field value if set, zero value otherwise. +func (o *PackageQuarantineResponse) GetChecksumSha512() string { + if o == nil || isNil(o.ChecksumSha512) { + var ret string + return ret + } + return *o.ChecksumSha512 +} + +// GetChecksumSha512Ok returns a tuple with the ChecksumSha512 field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *PackageQuarantineResponse) GetChecksumSha512Ok() (*string, bool) { + if o == nil || isNil(o.ChecksumSha512) { + return nil, false + } + return o.ChecksumSha512, true +} + +// HasChecksumSha512 returns a boolean if a field has been set. +func (o *PackageQuarantineResponse) HasChecksumSha512() bool { + if o != nil && !isNil(o.ChecksumSha512) { + return true + } + + return false +} + +// SetChecksumSha512 gets a reference to the given string and assigns it to the ChecksumSha512 field. +func (o *PackageQuarantineResponse) SetChecksumSha512(v string) { + o.ChecksumSha512 = &v +} + +// GetDependenciesChecksumMd5 returns the DependenciesChecksumMd5 field value if set, zero value otherwise. +func (o *PackageQuarantineResponse) GetDependenciesChecksumMd5() string { + if o == nil || isNil(o.DependenciesChecksumMd5) { + var ret string + return ret + } + return *o.DependenciesChecksumMd5 +} + +// GetDependenciesChecksumMd5Ok returns a tuple with the DependenciesChecksumMd5 field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *PackageQuarantineResponse) GetDependenciesChecksumMd5Ok() (*string, bool) { + if o == nil || isNil(o.DependenciesChecksumMd5) { + return nil, false + } + return o.DependenciesChecksumMd5, true +} + +// HasDependenciesChecksumMd5 returns a boolean if a field has been set. +func (o *PackageQuarantineResponse) HasDependenciesChecksumMd5() bool { + if o != nil && !isNil(o.DependenciesChecksumMd5) { + return true + } + + return false +} + +// SetDependenciesChecksumMd5 gets a reference to the given string and assigns it to the DependenciesChecksumMd5 field. +func (o *PackageQuarantineResponse) SetDependenciesChecksumMd5(v string) { + o.DependenciesChecksumMd5 = &v +} + +// GetDependenciesUrl returns the DependenciesUrl field value if set, zero value otherwise. +func (o *PackageQuarantineResponse) GetDependenciesUrl() string { + if o == nil || isNil(o.DependenciesUrl) { + var ret string + return ret + } + return *o.DependenciesUrl +} + +// GetDependenciesUrlOk returns a tuple with the DependenciesUrl field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *PackageQuarantineResponse) GetDependenciesUrlOk() (*string, bool) { + if o == nil || isNil(o.DependenciesUrl) { + return nil, false + } + return o.DependenciesUrl, true +} + +// HasDependenciesUrl returns a boolean if a field has been set. +func (o *PackageQuarantineResponse) HasDependenciesUrl() bool { + if o != nil && !isNil(o.DependenciesUrl) { + return true + } + + return false +} + +// SetDependenciesUrl gets a reference to the given string and assigns it to the DependenciesUrl field. +func (o *PackageQuarantineResponse) SetDependenciesUrl(v string) { + o.DependenciesUrl = &v +} + +// GetDescription returns the Description field value if set, zero value otherwise. +func (o *PackageQuarantineResponse) GetDescription() string { + if o == nil || isNil(o.Description) { + var ret string + return ret + } + return *o.Description +} + +// GetDescriptionOk returns a tuple with the Description field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *PackageQuarantineResponse) GetDescriptionOk() (*string, bool) { + if o == nil || isNil(o.Description) { + return nil, false + } + return o.Description, true +} + +// HasDescription returns a boolean if a field has been set. +func (o *PackageQuarantineResponse) HasDescription() bool { + if o != nil && !isNil(o.Description) { + return true + } + + return false +} + +// SetDescription gets a reference to the given string and assigns it to the Description field. +func (o *PackageQuarantineResponse) SetDescription(v string) { + o.Description = &v +} + +// GetDistro returns the Distro field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *PackageQuarantineResponse) GetDistro() Distribution { + if o == nil || isNil(o.Distro.Get()) { + var ret Distribution + return ret + } + return *o.Distro.Get() +} + +// GetDistroOk returns a tuple with the Distro 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 *PackageQuarantineResponse) GetDistroOk() (*Distribution, bool) { + if o == nil { + return nil, false + } + return o.Distro.Get(), o.Distro.IsSet() +} + +// HasDistro returns a boolean if a field has been set. +func (o *PackageQuarantineResponse) HasDistro() bool { + if o != nil && o.Distro.IsSet() { + return true + } + + return false +} + +// SetDistro gets a reference to the given NullableDistribution and assigns it to the Distro field. +func (o *PackageQuarantineResponse) SetDistro(v Distribution) { + o.Distro.Set(&v) +} + +// SetDistroNil sets the value for Distro to be an explicit nil +func (o *PackageQuarantineResponse) SetDistroNil() { + o.Distro.Set(nil) +} + +// UnsetDistro ensures that no value is present for Distro, not even an explicit nil +func (o *PackageQuarantineResponse) UnsetDistro() { + o.Distro.Unset() +} + +// GetDistroVersion returns the DistroVersion field value if set, zero value otherwise. +func (o *PackageQuarantineResponse) GetDistroVersion() DistributionVersion { + if o == nil || isNil(o.DistroVersion) { + var ret DistributionVersion + return ret + } + return *o.DistroVersion +} + +// GetDistroVersionOk returns a tuple with the DistroVersion field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *PackageQuarantineResponse) GetDistroVersionOk() (*DistributionVersion, bool) { + if o == nil || isNil(o.DistroVersion) { + return nil, false + } + return o.DistroVersion, true +} + +// HasDistroVersion returns a boolean if a field has been set. +func (o *PackageQuarantineResponse) HasDistroVersion() bool { + if o != nil && !isNil(o.DistroVersion) { + return true + } + + return false +} + +// SetDistroVersion gets a reference to the given DistributionVersion and assigns it to the DistroVersion field. +func (o *PackageQuarantineResponse) SetDistroVersion(v DistributionVersion) { + o.DistroVersion = &v +} + +// GetDownloads returns the Downloads field value if set, zero value otherwise. +func (o *PackageQuarantineResponse) GetDownloads() int64 { + if o == nil || isNil(o.Downloads) { + var ret int64 + return ret + } + return *o.Downloads +} + +// GetDownloadsOk returns a tuple with the Downloads field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *PackageQuarantineResponse) GetDownloadsOk() (*int64, bool) { + if o == nil || isNil(o.Downloads) { + return nil, false + } + return o.Downloads, true +} + +// HasDownloads returns a boolean if a field has been set. +func (o *PackageQuarantineResponse) HasDownloads() bool { + if o != nil && !isNil(o.Downloads) { + return true + } + + return false +} + +// SetDownloads gets a reference to the given int64 and assigns it to the Downloads field. +func (o *PackageQuarantineResponse) SetDownloads(v int64) { + o.Downloads = &v +} + +// GetEpoch returns the Epoch field value if set, zero value otherwise. +func (o *PackageQuarantineResponse) GetEpoch() int64 { + if o == nil || isNil(o.Epoch) { + var ret int64 + return ret + } + return *o.Epoch +} + +// GetEpochOk returns a tuple with the Epoch field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *PackageQuarantineResponse) GetEpochOk() (*int64, bool) { + if o == nil || isNil(o.Epoch) { + return nil, false + } + return o.Epoch, true +} + +// HasEpoch returns a boolean if a field has been set. +func (o *PackageQuarantineResponse) HasEpoch() bool { + if o != nil && !isNil(o.Epoch) { + return true + } + + return false +} + +// SetEpoch gets a reference to the given int64 and assigns it to the Epoch field. +func (o *PackageQuarantineResponse) SetEpoch(v int64) { + o.Epoch = &v +} + +// GetExtension returns the Extension field value if set, zero value otherwise. +func (o *PackageQuarantineResponse) GetExtension() string { + if o == nil || isNil(o.Extension) { + var ret string + return ret + } + return *o.Extension +} + +// GetExtensionOk returns a tuple with the Extension field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *PackageQuarantineResponse) GetExtensionOk() (*string, bool) { + if o == nil || isNil(o.Extension) { + return nil, false + } + return o.Extension, true +} + +// HasExtension returns a boolean if a field has been set. +func (o *PackageQuarantineResponse) HasExtension() bool { + if o != nil && !isNil(o.Extension) { + return true + } + + return false +} + +// SetExtension gets a reference to the given string and assigns it to the Extension field. +func (o *PackageQuarantineResponse) SetExtension(v string) { + o.Extension = &v +} + +// GetFilename returns the Filename field value if set, zero value otherwise. +func (o *PackageQuarantineResponse) GetFilename() string { + if o == nil || isNil(o.Filename) { + var ret string + return ret + } + return *o.Filename +} + +// GetFilenameOk returns a tuple with the Filename field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *PackageQuarantineResponse) GetFilenameOk() (*string, bool) { + if o == nil || isNil(o.Filename) { + return nil, false + } + return o.Filename, true +} + +// HasFilename returns a boolean if a field has been set. +func (o *PackageQuarantineResponse) HasFilename() bool { + if o != nil && !isNil(o.Filename) { + return true + } + + return false +} + +// SetFilename gets a reference to the given string and assigns it to the Filename field. +func (o *PackageQuarantineResponse) SetFilename(v string) { + o.Filename = &v +} + +// GetFiles returns the Files field value if set, zero value otherwise. +func (o *PackageQuarantineResponse) GetFiles() []PackageFile { + if o == nil || isNil(o.Files) { + var ret []PackageFile + return ret + } + return o.Files +} + +// GetFilesOk returns a tuple with the Files field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *PackageQuarantineResponse) GetFilesOk() ([]PackageFile, bool) { + if o == nil || isNil(o.Files) { + return nil, false + } + return o.Files, true +} + +// HasFiles returns a boolean if a field has been set. +func (o *PackageQuarantineResponse) HasFiles() bool { + if o != nil && !isNil(o.Files) { + return true + } + + return false +} + +// SetFiles gets a reference to the given []PackageFile and assigns it to the Files field. +func (o *PackageQuarantineResponse) SetFiles(v []PackageFile) { + o.Files = v +} + +// GetFormat returns the Format field value if set, zero value otherwise. +func (o *PackageQuarantineResponse) GetFormat() string { + if o == nil || isNil(o.Format) { + var ret string + return ret + } + return *o.Format +} + +// GetFormatOk returns a tuple with the Format field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *PackageQuarantineResponse) GetFormatOk() (*string, bool) { + if o == nil || isNil(o.Format) { + return nil, false + } + return o.Format, true +} + +// HasFormat returns a boolean if a field has been set. +func (o *PackageQuarantineResponse) HasFormat() bool { + if o != nil && !isNil(o.Format) { + return true + } + + return false +} + +// SetFormat gets a reference to the given string and assigns it to the Format field. +func (o *PackageQuarantineResponse) SetFormat(v string) { + o.Format = &v +} + +// GetFormatUrl returns the FormatUrl field value if set, zero value otherwise. +func (o *PackageQuarantineResponse) GetFormatUrl() string { + if o == nil || isNil(o.FormatUrl) { + var ret string + return ret + } + return *o.FormatUrl +} + +// GetFormatUrlOk returns a tuple with the FormatUrl field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *PackageQuarantineResponse) GetFormatUrlOk() (*string, bool) { + if o == nil || isNil(o.FormatUrl) { + return nil, false + } + return o.FormatUrl, true +} + +// HasFormatUrl returns a boolean if a field has been set. +func (o *PackageQuarantineResponse) HasFormatUrl() bool { + if o != nil && !isNil(o.FormatUrl) { + return true + } + + return false +} + +// SetFormatUrl gets a reference to the given string and assigns it to the FormatUrl field. +func (o *PackageQuarantineResponse) SetFormatUrl(v string) { + o.FormatUrl = &v +} + +// GetIdentifierPerm returns the IdentifierPerm field value if set, zero value otherwise. +func (o *PackageQuarantineResponse) GetIdentifierPerm() string { + if o == nil || isNil(o.IdentifierPerm) { + var ret string + return ret + } + return *o.IdentifierPerm +} + +// GetIdentifierPermOk returns a tuple with the IdentifierPerm field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *PackageQuarantineResponse) GetIdentifierPermOk() (*string, bool) { + if o == nil || isNil(o.IdentifierPerm) { + return nil, false + } + return o.IdentifierPerm, true +} + +// HasIdentifierPerm returns a boolean if a field has been set. +func (o *PackageQuarantineResponse) HasIdentifierPerm() bool { + if o != nil && !isNil(o.IdentifierPerm) { + return true + } + + return false +} + +// SetIdentifierPerm gets a reference to the given string and assigns it to the IdentifierPerm field. +func (o *PackageQuarantineResponse) SetIdentifierPerm(v string) { + o.IdentifierPerm = &v +} + +// GetIndexed returns the Indexed field value if set, zero value otherwise. +func (o *PackageQuarantineResponse) GetIndexed() bool { + if o == nil || isNil(o.Indexed) { + var ret bool + return ret + } + return *o.Indexed +} + +// GetIndexedOk returns a tuple with the Indexed field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *PackageQuarantineResponse) GetIndexedOk() (*bool, bool) { + if o == nil || isNil(o.Indexed) { + return nil, false + } + return o.Indexed, true +} + +// HasIndexed returns a boolean if a field has been set. +func (o *PackageQuarantineResponse) HasIndexed() bool { + if o != nil && !isNil(o.Indexed) { + return true + } + + return false +} + +// SetIndexed gets a reference to the given bool and assigns it to the Indexed field. +func (o *PackageQuarantineResponse) SetIndexed(v bool) { + o.Indexed = &v +} + +// GetIsDownloadable returns the IsDownloadable field value if set, zero value otherwise. +func (o *PackageQuarantineResponse) GetIsDownloadable() bool { + if o == nil || isNil(o.IsDownloadable) { + var ret bool + return ret + } + return *o.IsDownloadable +} + +// GetIsDownloadableOk returns a tuple with the IsDownloadable field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *PackageQuarantineResponse) GetIsDownloadableOk() (*bool, bool) { + if o == nil || isNil(o.IsDownloadable) { + return nil, false + } + return o.IsDownloadable, true +} + +// HasIsDownloadable returns a boolean if a field has been set. +func (o *PackageQuarantineResponse) HasIsDownloadable() bool { + if o != nil && !isNil(o.IsDownloadable) { + return true + } + + return false +} + +// SetIsDownloadable gets a reference to the given bool and assigns it to the IsDownloadable field. +func (o *PackageQuarantineResponse) SetIsDownloadable(v bool) { + o.IsDownloadable = &v +} + +// GetIsQuarantined returns the IsQuarantined field value if set, zero value otherwise. +func (o *PackageQuarantineResponse) GetIsQuarantined() bool { + if o == nil || isNil(o.IsQuarantined) { + var ret bool + return ret + } + return *o.IsQuarantined +} + +// GetIsQuarantinedOk returns a tuple with the IsQuarantined field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *PackageQuarantineResponse) GetIsQuarantinedOk() (*bool, bool) { + if o == nil || isNil(o.IsQuarantined) { + return nil, false + } + return o.IsQuarantined, true +} + +// HasIsQuarantined returns a boolean if a field has been set. +func (o *PackageQuarantineResponse) HasIsQuarantined() bool { + if o != nil && !isNil(o.IsQuarantined) { + return true + } + + return false +} + +// SetIsQuarantined gets a reference to the given bool and assigns it to the IsQuarantined field. +func (o *PackageQuarantineResponse) SetIsQuarantined(v bool) { + o.IsQuarantined = &v +} + +// GetIsSyncAwaiting returns the IsSyncAwaiting field value if set, zero value otherwise. +func (o *PackageQuarantineResponse) GetIsSyncAwaiting() bool { + if o == nil || isNil(o.IsSyncAwaiting) { + var ret bool + return ret + } + return *o.IsSyncAwaiting +} + +// GetIsSyncAwaitingOk returns a tuple with the IsSyncAwaiting field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *PackageQuarantineResponse) GetIsSyncAwaitingOk() (*bool, bool) { + if o == nil || isNil(o.IsSyncAwaiting) { + return nil, false + } + return o.IsSyncAwaiting, true +} + +// HasIsSyncAwaiting returns a boolean if a field has been set. +func (o *PackageQuarantineResponse) HasIsSyncAwaiting() bool { + if o != nil && !isNil(o.IsSyncAwaiting) { + return true + } + + return false +} + +// SetIsSyncAwaiting gets a reference to the given bool and assigns it to the IsSyncAwaiting field. +func (o *PackageQuarantineResponse) SetIsSyncAwaiting(v bool) { + o.IsSyncAwaiting = &v +} + +// GetIsSyncCompleted returns the IsSyncCompleted field value if set, zero value otherwise. +func (o *PackageQuarantineResponse) GetIsSyncCompleted() bool { + if o == nil || isNil(o.IsSyncCompleted) { + var ret bool + return ret + } + return *o.IsSyncCompleted +} + +// GetIsSyncCompletedOk returns a tuple with the IsSyncCompleted field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *PackageQuarantineResponse) GetIsSyncCompletedOk() (*bool, bool) { + if o == nil || isNil(o.IsSyncCompleted) { + return nil, false + } + return o.IsSyncCompleted, true +} + +// HasIsSyncCompleted returns a boolean if a field has been set. +func (o *PackageQuarantineResponse) HasIsSyncCompleted() bool { + if o != nil && !isNil(o.IsSyncCompleted) { + return true + } + + return false +} + +// SetIsSyncCompleted gets a reference to the given bool and assigns it to the IsSyncCompleted field. +func (o *PackageQuarantineResponse) SetIsSyncCompleted(v bool) { + o.IsSyncCompleted = &v +} + +// GetIsSyncFailed returns the IsSyncFailed field value if set, zero value otherwise. +func (o *PackageQuarantineResponse) GetIsSyncFailed() bool { + if o == nil || isNil(o.IsSyncFailed) { + var ret bool + return ret + } + return *o.IsSyncFailed +} + +// GetIsSyncFailedOk returns a tuple with the IsSyncFailed field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *PackageQuarantineResponse) GetIsSyncFailedOk() (*bool, bool) { + if o == nil || isNil(o.IsSyncFailed) { + return nil, false + } + return o.IsSyncFailed, true +} + +// HasIsSyncFailed returns a boolean if a field has been set. +func (o *PackageQuarantineResponse) HasIsSyncFailed() bool { + if o != nil && !isNil(o.IsSyncFailed) { + return true + } + + return false +} + +// SetIsSyncFailed gets a reference to the given bool and assigns it to the IsSyncFailed field. +func (o *PackageQuarantineResponse) SetIsSyncFailed(v bool) { + o.IsSyncFailed = &v +} + +// GetIsSyncInFlight returns the IsSyncInFlight field value if set, zero value otherwise. +func (o *PackageQuarantineResponse) GetIsSyncInFlight() bool { + if o == nil || isNil(o.IsSyncInFlight) { + var ret bool + return ret + } + return *o.IsSyncInFlight +} + +// GetIsSyncInFlightOk returns a tuple with the IsSyncInFlight field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *PackageQuarantineResponse) GetIsSyncInFlightOk() (*bool, bool) { + if o == nil || isNil(o.IsSyncInFlight) { + return nil, false + } + return o.IsSyncInFlight, true +} + +// HasIsSyncInFlight returns a boolean if a field has been set. +func (o *PackageQuarantineResponse) HasIsSyncInFlight() bool { + if o != nil && !isNil(o.IsSyncInFlight) { + return true + } + + return false +} + +// SetIsSyncInFlight gets a reference to the given bool and assigns it to the IsSyncInFlight field. +func (o *PackageQuarantineResponse) SetIsSyncInFlight(v bool) { + o.IsSyncInFlight = &v +} + +// GetIsSyncInProgress returns the IsSyncInProgress field value if set, zero value otherwise. +func (o *PackageQuarantineResponse) GetIsSyncInProgress() bool { + if o == nil || isNil(o.IsSyncInProgress) { + var ret bool + return ret + } + return *o.IsSyncInProgress +} + +// GetIsSyncInProgressOk returns a tuple with the IsSyncInProgress field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *PackageQuarantineResponse) GetIsSyncInProgressOk() (*bool, bool) { + if o == nil || isNil(o.IsSyncInProgress) { + return nil, false + } + return o.IsSyncInProgress, true +} + +// HasIsSyncInProgress returns a boolean if a field has been set. +func (o *PackageQuarantineResponse) HasIsSyncInProgress() bool { + if o != nil && !isNil(o.IsSyncInProgress) { + return true + } + + return false +} + +// SetIsSyncInProgress gets a reference to the given bool and assigns it to the IsSyncInProgress field. +func (o *PackageQuarantineResponse) SetIsSyncInProgress(v bool) { + o.IsSyncInProgress = &v +} + +// GetLicense returns the License field value if set, zero value otherwise. +func (o *PackageQuarantineResponse) GetLicense() string { + if o == nil || isNil(o.License) { + var ret string + return ret + } + return *o.License +} + +// GetLicenseOk returns a tuple with the License field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *PackageQuarantineResponse) GetLicenseOk() (*string, bool) { + if o == nil || isNil(o.License) { + return nil, false + } + return o.License, true +} + +// HasLicense returns a boolean if a field has been set. +func (o *PackageQuarantineResponse) HasLicense() bool { + if o != nil && !isNil(o.License) { + return true + } + + return false +} + +// SetLicense gets a reference to the given string and assigns it to the License field. +func (o *PackageQuarantineResponse) SetLicense(v string) { + o.License = &v +} + +// GetName returns the Name field value if set, zero value otherwise. +func (o *PackageQuarantineResponse) GetName() string { + if o == nil || isNil(o.Name) { + var ret string + return ret + } + return *o.Name +} + +// GetNameOk returns a tuple with the Name field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *PackageQuarantineResponse) GetNameOk() (*string, bool) { + if o == nil || isNil(o.Name) { + return nil, false + } + return o.Name, true +} + +// HasName returns a boolean if a field has been set. +func (o *PackageQuarantineResponse) HasName() bool { + if o != nil && !isNil(o.Name) { + return true + } + + return false +} + +// SetName gets a reference to the given string and assigns it to the Name field. +func (o *PackageQuarantineResponse) SetName(v string) { + o.Name = &v +} + +// GetNamespace returns the Namespace field value if set, zero value otherwise. +func (o *PackageQuarantineResponse) GetNamespace() string { + if o == nil || isNil(o.Namespace) { + var ret string + return ret + } + return *o.Namespace +} + +// GetNamespaceOk returns a tuple with the Namespace field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *PackageQuarantineResponse) GetNamespaceOk() (*string, bool) { + if o == nil || isNil(o.Namespace) { + return nil, false + } + return o.Namespace, true +} + +// HasNamespace returns a boolean if a field has been set. +func (o *PackageQuarantineResponse) HasNamespace() bool { + if o != nil && !isNil(o.Namespace) { + return true + } + + return false +} + +// SetNamespace gets a reference to the given string and assigns it to the Namespace field. +func (o *PackageQuarantineResponse) SetNamespace(v string) { + o.Namespace = &v +} + +// GetNamespaceUrl returns the NamespaceUrl field value if set, zero value otherwise. +func (o *PackageQuarantineResponse) GetNamespaceUrl() string { + if o == nil || isNil(o.NamespaceUrl) { + var ret string + return ret + } + return *o.NamespaceUrl +} + +// GetNamespaceUrlOk returns a tuple with the NamespaceUrl field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *PackageQuarantineResponse) GetNamespaceUrlOk() (*string, bool) { + if o == nil || isNil(o.NamespaceUrl) { + return nil, false + } + return o.NamespaceUrl, true +} + +// HasNamespaceUrl returns a boolean if a field has been set. +func (o *PackageQuarantineResponse) HasNamespaceUrl() bool { + if o != nil && !isNil(o.NamespaceUrl) { + return true + } + + return false +} + +// SetNamespaceUrl gets a reference to the given string and assigns it to the NamespaceUrl field. +func (o *PackageQuarantineResponse) SetNamespaceUrl(v string) { + o.NamespaceUrl = &v +} + +// GetNumFiles returns the NumFiles field value if set, zero value otherwise. +func (o *PackageQuarantineResponse) GetNumFiles() int64 { + if o == nil || isNil(o.NumFiles) { + var ret int64 + return ret + } + return *o.NumFiles +} + +// GetNumFilesOk returns a tuple with the NumFiles field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *PackageQuarantineResponse) GetNumFilesOk() (*int64, bool) { + if o == nil || isNil(o.NumFiles) { + return nil, false + } + return o.NumFiles, true +} + +// HasNumFiles returns a boolean if a field has been set. +func (o *PackageQuarantineResponse) HasNumFiles() bool { + if o != nil && !isNil(o.NumFiles) { + return true + } + + return false +} + +// SetNumFiles gets a reference to the given int64 and assigns it to the NumFiles field. +func (o *PackageQuarantineResponse) SetNumFiles(v int64) { + o.NumFiles = &v +} + +// GetOriginRepository returns the OriginRepository field value if set, zero value otherwise. +func (o *PackageQuarantineResponse) GetOriginRepository() string { + if o == nil || isNil(o.OriginRepository) { + var ret string + return ret + } + return *o.OriginRepository +} + +// GetOriginRepositoryOk returns a tuple with the OriginRepository field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *PackageQuarantineResponse) GetOriginRepositoryOk() (*string, bool) { + if o == nil || isNil(o.OriginRepository) { + return nil, false + } + return o.OriginRepository, true +} + +// HasOriginRepository returns a boolean if a field has been set. +func (o *PackageQuarantineResponse) HasOriginRepository() bool { + if o != nil && !isNil(o.OriginRepository) { + return true + } + + return false +} + +// SetOriginRepository gets a reference to the given string and assigns it to the OriginRepository field. +func (o *PackageQuarantineResponse) SetOriginRepository(v string) { + o.OriginRepository = &v +} + +// GetOriginRepositoryUrl returns the OriginRepositoryUrl field value if set, zero value otherwise. +func (o *PackageQuarantineResponse) GetOriginRepositoryUrl() string { + if o == nil || isNil(o.OriginRepositoryUrl) { + var ret string + return ret + } + return *o.OriginRepositoryUrl +} + +// GetOriginRepositoryUrlOk returns a tuple with the OriginRepositoryUrl field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *PackageQuarantineResponse) GetOriginRepositoryUrlOk() (*string, bool) { + if o == nil || isNil(o.OriginRepositoryUrl) { + return nil, false + } + return o.OriginRepositoryUrl, true +} + +// HasOriginRepositoryUrl returns a boolean if a field has been set. +func (o *PackageQuarantineResponse) HasOriginRepositoryUrl() bool { + if o != nil && !isNil(o.OriginRepositoryUrl) { + return true + } + + return false +} + +// SetOriginRepositoryUrl gets a reference to the given string and assigns it to the OriginRepositoryUrl field. +func (o *PackageQuarantineResponse) SetOriginRepositoryUrl(v string) { + o.OriginRepositoryUrl = &v +} + +// GetPackageType returns the PackageType field value if set, zero value otherwise. +func (o *PackageQuarantineResponse) GetPackageType() int64 { + if o == nil || isNil(o.PackageType) { + var ret int64 + return ret + } + return *o.PackageType +} + +// GetPackageTypeOk returns a tuple with the PackageType field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *PackageQuarantineResponse) GetPackageTypeOk() (*int64, bool) { + if o == nil || isNil(o.PackageType) { + return nil, false + } + return o.PackageType, true +} + +// HasPackageType returns a boolean if a field has been set. +func (o *PackageQuarantineResponse) HasPackageType() bool { + if o != nil && !isNil(o.PackageType) { + return true + } + + return false +} + +// SetPackageType gets a reference to the given int64 and assigns it to the PackageType field. +func (o *PackageQuarantineResponse) SetPackageType(v int64) { + o.PackageType = &v +} + +// GetRelease returns the Release field value if set, zero value otherwise. +func (o *PackageQuarantineResponse) GetRelease() string { + if o == nil || isNil(o.Release) { + var ret string + return ret + } + return *o.Release +} + +// GetReleaseOk returns a tuple with the Release field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *PackageQuarantineResponse) GetReleaseOk() (*string, bool) { + if o == nil || isNil(o.Release) { + return nil, false + } + return o.Release, true +} + +// HasRelease returns a boolean if a field has been set. +func (o *PackageQuarantineResponse) HasRelease() bool { + if o != nil && !isNil(o.Release) { + return true + } + + return false +} + +// SetRelease gets a reference to the given string and assigns it to the Release field. +func (o *PackageQuarantineResponse) SetRelease(v string) { + o.Release = &v +} + +// GetRepository returns the Repository field value if set, zero value otherwise. +func (o *PackageQuarantineResponse) GetRepository() string { + if o == nil || isNil(o.Repository) { + var ret string + return ret + } + return *o.Repository +} + +// GetRepositoryOk returns a tuple with the Repository field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *PackageQuarantineResponse) GetRepositoryOk() (*string, bool) { + if o == nil || isNil(o.Repository) { + return nil, false + } + return o.Repository, true +} + +// HasRepository returns a boolean if a field has been set. +func (o *PackageQuarantineResponse) HasRepository() bool { + if o != nil && !isNil(o.Repository) { + return true + } + + return false +} + +// SetRepository gets a reference to the given string and assigns it to the Repository field. +func (o *PackageQuarantineResponse) SetRepository(v string) { + o.Repository = &v +} + +// GetRepositoryUrl returns the RepositoryUrl field value if set, zero value otherwise. +func (o *PackageQuarantineResponse) GetRepositoryUrl() string { + if o == nil || isNil(o.RepositoryUrl) { + var ret string + return ret + } + return *o.RepositoryUrl +} + +// GetRepositoryUrlOk returns a tuple with the RepositoryUrl field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *PackageQuarantineResponse) GetRepositoryUrlOk() (*string, bool) { + if o == nil || isNil(o.RepositoryUrl) { + return nil, false + } + return o.RepositoryUrl, true +} + +// HasRepositoryUrl returns a boolean if a field has been set. +func (o *PackageQuarantineResponse) HasRepositoryUrl() bool { + if o != nil && !isNil(o.RepositoryUrl) { + return true + } + + return false +} + +// SetRepositoryUrl gets a reference to the given string and assigns it to the RepositoryUrl field. +func (o *PackageQuarantineResponse) SetRepositoryUrl(v string) { + o.RepositoryUrl = &v +} + +// GetSecurityScanCompletedAt returns the SecurityScanCompletedAt field value if set, zero value otherwise. +func (o *PackageQuarantineResponse) GetSecurityScanCompletedAt() time.Time { + if o == nil || isNil(o.SecurityScanCompletedAt) { + var ret time.Time + return ret + } + return *o.SecurityScanCompletedAt +} + +// GetSecurityScanCompletedAtOk returns a tuple with the SecurityScanCompletedAt field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *PackageQuarantineResponse) GetSecurityScanCompletedAtOk() (*time.Time, bool) { + if o == nil || isNil(o.SecurityScanCompletedAt) { + return nil, false + } + return o.SecurityScanCompletedAt, true +} + +// HasSecurityScanCompletedAt returns a boolean if a field has been set. +func (o *PackageQuarantineResponse) HasSecurityScanCompletedAt() bool { + if o != nil && !isNil(o.SecurityScanCompletedAt) { + return true + } + + return false +} + +// SetSecurityScanCompletedAt gets a reference to the given time.Time and assigns it to the SecurityScanCompletedAt field. +func (o *PackageQuarantineResponse) SetSecurityScanCompletedAt(v time.Time) { + o.SecurityScanCompletedAt = &v +} + +// GetSecurityScanStartedAt returns the SecurityScanStartedAt field value if set, zero value otherwise. +func (o *PackageQuarantineResponse) GetSecurityScanStartedAt() time.Time { + if o == nil || isNil(o.SecurityScanStartedAt) { + var ret time.Time + return ret + } + return *o.SecurityScanStartedAt +} + +// GetSecurityScanStartedAtOk returns a tuple with the SecurityScanStartedAt field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *PackageQuarantineResponse) GetSecurityScanStartedAtOk() (*time.Time, bool) { + if o == nil || isNil(o.SecurityScanStartedAt) { + return nil, false + } + return o.SecurityScanStartedAt, true +} + +// HasSecurityScanStartedAt returns a boolean if a field has been set. +func (o *PackageQuarantineResponse) HasSecurityScanStartedAt() bool { + if o != nil && !isNil(o.SecurityScanStartedAt) { + return true + } + + return false +} + +// SetSecurityScanStartedAt gets a reference to the given time.Time and assigns it to the SecurityScanStartedAt field. +func (o *PackageQuarantineResponse) SetSecurityScanStartedAt(v time.Time) { + o.SecurityScanStartedAt = &v +} + +// GetSecurityScanStatus returns the SecurityScanStatus field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *PackageQuarantineResponse) GetSecurityScanStatus() string { + if o == nil || isNil(o.SecurityScanStatus.Get()) { + var ret string + return ret + } + return *o.SecurityScanStatus.Get() +} + +// GetSecurityScanStatusOk returns a tuple with the SecurityScanStatus 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 *PackageQuarantineResponse) GetSecurityScanStatusOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.SecurityScanStatus.Get(), o.SecurityScanStatus.IsSet() +} + +// HasSecurityScanStatus returns a boolean if a field has been set. +func (o *PackageQuarantineResponse) HasSecurityScanStatus() bool { + if o != nil && o.SecurityScanStatus.IsSet() { + return true + } + + return false +} + +// SetSecurityScanStatus gets a reference to the given NullableString and assigns it to the SecurityScanStatus field. +func (o *PackageQuarantineResponse) SetSecurityScanStatus(v string) { + o.SecurityScanStatus.Set(&v) +} + +// SetSecurityScanStatusNil sets the value for SecurityScanStatus to be an explicit nil +func (o *PackageQuarantineResponse) SetSecurityScanStatusNil() { + o.SecurityScanStatus.Set(nil) +} + +// UnsetSecurityScanStatus ensures that no value is present for SecurityScanStatus, not even an explicit nil +func (o *PackageQuarantineResponse) UnsetSecurityScanStatus() { + o.SecurityScanStatus.Unset() +} + +// GetSecurityScanStatusUpdatedAt returns the SecurityScanStatusUpdatedAt field value if set, zero value otherwise. +func (o *PackageQuarantineResponse) GetSecurityScanStatusUpdatedAt() time.Time { + if o == nil || isNil(o.SecurityScanStatusUpdatedAt) { + var ret time.Time + return ret + } + return *o.SecurityScanStatusUpdatedAt +} + +// GetSecurityScanStatusUpdatedAtOk returns a tuple with the SecurityScanStatusUpdatedAt field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *PackageQuarantineResponse) GetSecurityScanStatusUpdatedAtOk() (*time.Time, bool) { + if o == nil || isNil(o.SecurityScanStatusUpdatedAt) { + return nil, false + } + return o.SecurityScanStatusUpdatedAt, true +} + +// HasSecurityScanStatusUpdatedAt returns a boolean if a field has been set. +func (o *PackageQuarantineResponse) HasSecurityScanStatusUpdatedAt() bool { + if o != nil && !isNil(o.SecurityScanStatusUpdatedAt) { + return true + } + + return false +} + +// SetSecurityScanStatusUpdatedAt gets a reference to the given time.Time and assigns it to the SecurityScanStatusUpdatedAt field. +func (o *PackageQuarantineResponse) SetSecurityScanStatusUpdatedAt(v time.Time) { + o.SecurityScanStatusUpdatedAt = &v +} + +// GetSelfHtmlUrl returns the SelfHtmlUrl field value if set, zero value otherwise. +func (o *PackageQuarantineResponse) GetSelfHtmlUrl() string { + if o == nil || isNil(o.SelfHtmlUrl) { + var ret string + return ret + } + return *o.SelfHtmlUrl +} + +// GetSelfHtmlUrlOk returns a tuple with the SelfHtmlUrl field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *PackageQuarantineResponse) GetSelfHtmlUrlOk() (*string, bool) { + if o == nil || isNil(o.SelfHtmlUrl) { + return nil, false + } + return o.SelfHtmlUrl, true +} + +// HasSelfHtmlUrl returns a boolean if a field has been set. +func (o *PackageQuarantineResponse) HasSelfHtmlUrl() bool { + if o != nil && !isNil(o.SelfHtmlUrl) { + return true + } + + return false +} + +// SetSelfHtmlUrl gets a reference to the given string and assigns it to the SelfHtmlUrl field. +func (o *PackageQuarantineResponse) SetSelfHtmlUrl(v string) { + o.SelfHtmlUrl = &v +} + +// GetSelfUrl returns the SelfUrl field value if set, zero value otherwise. +func (o *PackageQuarantineResponse) GetSelfUrl() string { + if o == nil || isNil(o.SelfUrl) { + var ret string + return ret + } + return *o.SelfUrl +} + +// GetSelfUrlOk returns a tuple with the SelfUrl field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *PackageQuarantineResponse) GetSelfUrlOk() (*string, bool) { + if o == nil || isNil(o.SelfUrl) { + return nil, false + } + return o.SelfUrl, true +} + +// HasSelfUrl returns a boolean if a field has been set. +func (o *PackageQuarantineResponse) HasSelfUrl() bool { + if o != nil && !isNil(o.SelfUrl) { + return true + } + + return false +} + +// SetSelfUrl gets a reference to the given string and assigns it to the SelfUrl field. +func (o *PackageQuarantineResponse) SetSelfUrl(v string) { + o.SelfUrl = &v +} + +// GetSignatureUrl returns the SignatureUrl field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *PackageQuarantineResponse) GetSignatureUrl() string { + if o == nil || isNil(o.SignatureUrl.Get()) { + var ret string + return ret + } + return *o.SignatureUrl.Get() +} + +// GetSignatureUrlOk returns a tuple with the SignatureUrl 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 *PackageQuarantineResponse) GetSignatureUrlOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.SignatureUrl.Get(), o.SignatureUrl.IsSet() +} + +// HasSignatureUrl returns a boolean if a field has been set. +func (o *PackageQuarantineResponse) HasSignatureUrl() bool { + if o != nil && o.SignatureUrl.IsSet() { + return true + } + + return false +} + +// SetSignatureUrl gets a reference to the given NullableString and assigns it to the SignatureUrl field. +func (o *PackageQuarantineResponse) SetSignatureUrl(v string) { + o.SignatureUrl.Set(&v) +} + +// SetSignatureUrlNil sets the value for SignatureUrl to be an explicit nil +func (o *PackageQuarantineResponse) SetSignatureUrlNil() { + o.SignatureUrl.Set(nil) +} + +// UnsetSignatureUrl ensures that no value is present for SignatureUrl, not even an explicit nil +func (o *PackageQuarantineResponse) UnsetSignatureUrl() { + o.SignatureUrl.Unset() +} + +// GetSize returns the Size field value if set, zero value otherwise. +func (o *PackageQuarantineResponse) GetSize() int64 { + if o == nil || isNil(o.Size) { + var ret int64 + return ret + } + return *o.Size +} + +// GetSizeOk returns a tuple with the Size field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *PackageQuarantineResponse) GetSizeOk() (*int64, bool) { + if o == nil || isNil(o.Size) { + return nil, false + } + return o.Size, true +} + +// HasSize returns a boolean if a field has been set. +func (o *PackageQuarantineResponse) HasSize() bool { + if o != nil && !isNil(o.Size) { + return true + } + + return false +} + +// SetSize gets a reference to the given int64 and assigns it to the Size field. +func (o *PackageQuarantineResponse) SetSize(v int64) { + o.Size = &v +} + +// GetSlug returns the Slug field value if set, zero value otherwise. +func (o *PackageQuarantineResponse) GetSlug() string { + if o == nil || isNil(o.Slug) { + var ret string + return ret + } + return *o.Slug +} + +// GetSlugOk returns a tuple with the Slug field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *PackageQuarantineResponse) GetSlugOk() (*string, bool) { + if o == nil || isNil(o.Slug) { + return nil, false + } + return o.Slug, true +} + +// HasSlug returns a boolean if a field has been set. +func (o *PackageQuarantineResponse) HasSlug() bool { + if o != nil && !isNil(o.Slug) { + return true + } + + return false +} + +// SetSlug gets a reference to the given string and assigns it to the Slug field. +func (o *PackageQuarantineResponse) SetSlug(v string) { + o.Slug = &v +} + +// GetSlugPerm returns the SlugPerm field value if set, zero value otherwise. +func (o *PackageQuarantineResponse) GetSlugPerm() string { + if o == nil || isNil(o.SlugPerm) { + var ret string + return ret + } + return *o.SlugPerm +} + +// GetSlugPermOk returns a tuple with the SlugPerm field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *PackageQuarantineResponse) GetSlugPermOk() (*string, bool) { + if o == nil || isNil(o.SlugPerm) { + return nil, false + } + return o.SlugPerm, true +} + +// HasSlugPerm returns a boolean if a field has been set. +func (o *PackageQuarantineResponse) HasSlugPerm() bool { + if o != nil && !isNil(o.SlugPerm) { + return true + } + + return false +} + +// SetSlugPerm gets a reference to the given string and assigns it to the SlugPerm field. +func (o *PackageQuarantineResponse) SetSlugPerm(v string) { + o.SlugPerm = &v +} + +// GetStage returns the Stage field value if set, zero value otherwise. +func (o *PackageQuarantineResponse) GetStage() int64 { + if o == nil || isNil(o.Stage) { + var ret int64 + return ret + } + return *o.Stage +} + +// GetStageOk returns a tuple with the Stage field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *PackageQuarantineResponse) GetStageOk() (*int64, bool) { + if o == nil || isNil(o.Stage) { + return nil, false + } + return o.Stage, true +} + +// HasStage returns a boolean if a field has been set. +func (o *PackageQuarantineResponse) HasStage() bool { + if o != nil && !isNil(o.Stage) { + return true + } + + return false +} + +// SetStage gets a reference to the given int64 and assigns it to the Stage field. +func (o *PackageQuarantineResponse) SetStage(v int64) { + o.Stage = &v +} + +// GetStageStr returns the StageStr field value if set, zero value otherwise. +func (o *PackageQuarantineResponse) GetStageStr() string { + if o == nil || isNil(o.StageStr) { + var ret string + return ret + } + return *o.StageStr +} + +// GetStageStrOk returns a tuple with the StageStr field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *PackageQuarantineResponse) GetStageStrOk() (*string, bool) { + if o == nil || isNil(o.StageStr) { + return nil, false + } + return o.StageStr, true +} + +// HasStageStr returns a boolean if a field has been set. +func (o *PackageQuarantineResponse) HasStageStr() bool { + if o != nil && !isNil(o.StageStr) { + return true + } + + return false +} + +// SetStageStr gets a reference to the given string and assigns it to the StageStr field. +func (o *PackageQuarantineResponse) SetStageStr(v string) { + o.StageStr = &v +} + +// GetStageUpdatedAt returns the StageUpdatedAt field value if set, zero value otherwise. +func (o *PackageQuarantineResponse) GetStageUpdatedAt() time.Time { + if o == nil || isNil(o.StageUpdatedAt) { + var ret time.Time + return ret + } + return *o.StageUpdatedAt +} + +// GetStageUpdatedAtOk returns a tuple with the StageUpdatedAt field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *PackageQuarantineResponse) GetStageUpdatedAtOk() (*time.Time, bool) { + if o == nil || isNil(o.StageUpdatedAt) { + return nil, false + } + return o.StageUpdatedAt, true +} + +// HasStageUpdatedAt returns a boolean if a field has been set. +func (o *PackageQuarantineResponse) HasStageUpdatedAt() bool { + if o != nil && !isNil(o.StageUpdatedAt) { + return true + } + + return false +} + +// SetStageUpdatedAt gets a reference to the given time.Time and assigns it to the StageUpdatedAt field. +func (o *PackageQuarantineResponse) SetStageUpdatedAt(v time.Time) { + o.StageUpdatedAt = &v +} + +// GetStatus returns the Status field value if set, zero value otherwise. +func (o *PackageQuarantineResponse) GetStatus() int64 { + if o == nil || isNil(o.Status) { + var ret int64 + return ret + } + return *o.Status +} + +// GetStatusOk returns a tuple with the Status field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *PackageQuarantineResponse) GetStatusOk() (*int64, bool) { + if o == nil || isNil(o.Status) { + return nil, false + } + return o.Status, true +} + +// HasStatus returns a boolean if a field has been set. +func (o *PackageQuarantineResponse) HasStatus() bool { + if o != nil && !isNil(o.Status) { + return true + } + + return false +} + +// SetStatus gets a reference to the given int64 and assigns it to the Status field. +func (o *PackageQuarantineResponse) SetStatus(v int64) { + o.Status = &v +} + +// GetStatusReason returns the StatusReason field value if set, zero value otherwise. +func (o *PackageQuarantineResponse) GetStatusReason() string { + if o == nil || isNil(o.StatusReason) { + var ret string + return ret + } + return *o.StatusReason +} + +// GetStatusReasonOk returns a tuple with the StatusReason field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *PackageQuarantineResponse) GetStatusReasonOk() (*string, bool) { + if o == nil || isNil(o.StatusReason) { + return nil, false + } + return o.StatusReason, true +} + +// HasStatusReason returns a boolean if a field has been set. +func (o *PackageQuarantineResponse) HasStatusReason() bool { + if o != nil && !isNil(o.StatusReason) { + return true + } + + return false +} + +// SetStatusReason gets a reference to the given string and assigns it to the StatusReason field. +func (o *PackageQuarantineResponse) SetStatusReason(v string) { + o.StatusReason = &v +} + +// GetStatusStr returns the StatusStr field value if set, zero value otherwise. +func (o *PackageQuarantineResponse) GetStatusStr() string { + if o == nil || isNil(o.StatusStr) { + var ret string + return ret + } + return *o.StatusStr +} + +// GetStatusStrOk returns a tuple with the StatusStr field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *PackageQuarantineResponse) GetStatusStrOk() (*string, bool) { + if o == nil || isNil(o.StatusStr) { + return nil, false + } + return o.StatusStr, true +} + +// HasStatusStr returns a boolean if a field has been set. +func (o *PackageQuarantineResponse) HasStatusStr() bool { + if o != nil && !isNil(o.StatusStr) { + return true + } + + return false +} + +// SetStatusStr gets a reference to the given string and assigns it to the StatusStr field. +func (o *PackageQuarantineResponse) SetStatusStr(v string) { + o.StatusStr = &v +} + +// GetStatusUpdatedAt returns the StatusUpdatedAt field value if set, zero value otherwise. +func (o *PackageQuarantineResponse) GetStatusUpdatedAt() time.Time { + if o == nil || isNil(o.StatusUpdatedAt) { + var ret time.Time + return ret + } + return *o.StatusUpdatedAt +} + +// GetStatusUpdatedAtOk returns a tuple with the StatusUpdatedAt field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *PackageQuarantineResponse) GetStatusUpdatedAtOk() (*time.Time, bool) { + if o == nil || isNil(o.StatusUpdatedAt) { + return nil, false + } + return o.StatusUpdatedAt, true +} + +// HasStatusUpdatedAt returns a boolean if a field has been set. +func (o *PackageQuarantineResponse) HasStatusUpdatedAt() bool { + if o != nil && !isNil(o.StatusUpdatedAt) { + return true + } + + return false +} + +// SetStatusUpdatedAt gets a reference to the given time.Time and assigns it to the StatusUpdatedAt field. +func (o *PackageQuarantineResponse) SetStatusUpdatedAt(v time.Time) { + o.StatusUpdatedAt = &v +} + +// GetStatusUrl returns the StatusUrl field value if set, zero value otherwise. +func (o *PackageQuarantineResponse) GetStatusUrl() string { + if o == nil || isNil(o.StatusUrl) { + var ret string + return ret + } + return *o.StatusUrl +} + +// GetStatusUrlOk returns a tuple with the StatusUrl field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *PackageQuarantineResponse) GetStatusUrlOk() (*string, bool) { + if o == nil || isNil(o.StatusUrl) { + return nil, false + } + return o.StatusUrl, true +} + +// HasStatusUrl returns a boolean if a field has been set. +func (o *PackageQuarantineResponse) HasStatusUrl() bool { + if o != nil && !isNil(o.StatusUrl) { + return true + } + + return false +} + +// SetStatusUrl gets a reference to the given string and assigns it to the StatusUrl field. +func (o *PackageQuarantineResponse) SetStatusUrl(v string) { + o.StatusUrl = &v +} + +// GetSubtype returns the Subtype field value if set, zero value otherwise. +func (o *PackageQuarantineResponse) GetSubtype() string { + if o == nil || isNil(o.Subtype) { + var ret string + return ret + } + return *o.Subtype +} + +// GetSubtypeOk returns a tuple with the Subtype field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *PackageQuarantineResponse) GetSubtypeOk() (*string, bool) { + if o == nil || isNil(o.Subtype) { + return nil, false + } + return o.Subtype, true +} + +// HasSubtype returns a boolean if a field has been set. +func (o *PackageQuarantineResponse) HasSubtype() bool { + if o != nil && !isNil(o.Subtype) { + return true + } + + return false +} + +// SetSubtype gets a reference to the given string and assigns it to the Subtype field. +func (o *PackageQuarantineResponse) SetSubtype(v string) { + o.Subtype = &v +} + +// GetSummary returns the Summary field value if set, zero value otherwise. +func (o *PackageQuarantineResponse) GetSummary() string { + if o == nil || isNil(o.Summary) { + var ret string + return ret + } + return *o.Summary +} + +// GetSummaryOk returns a tuple with the Summary field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *PackageQuarantineResponse) GetSummaryOk() (*string, bool) { + if o == nil || isNil(o.Summary) { + return nil, false + } + return o.Summary, true +} + +// HasSummary returns a boolean if a field has been set. +func (o *PackageQuarantineResponse) HasSummary() bool { + if o != nil && !isNil(o.Summary) { + return true + } + + return false +} + +// SetSummary gets a reference to the given string and assigns it to the Summary field. +func (o *PackageQuarantineResponse) SetSummary(v string) { + o.Summary = &v +} + +// GetSyncFinishedAt returns the SyncFinishedAt field value if set, zero value otherwise. +func (o *PackageQuarantineResponse) GetSyncFinishedAt() time.Time { + if o == nil || isNil(o.SyncFinishedAt) { + var ret time.Time + return ret + } + return *o.SyncFinishedAt +} + +// GetSyncFinishedAtOk returns a tuple with the SyncFinishedAt field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *PackageQuarantineResponse) GetSyncFinishedAtOk() (*time.Time, bool) { + if o == nil || isNil(o.SyncFinishedAt) { + return nil, false + } + return o.SyncFinishedAt, true +} + +// HasSyncFinishedAt returns a boolean if a field has been set. +func (o *PackageQuarantineResponse) HasSyncFinishedAt() bool { + if o != nil && !isNil(o.SyncFinishedAt) { + return true + } + + return false +} + +// SetSyncFinishedAt gets a reference to the given time.Time and assigns it to the SyncFinishedAt field. +func (o *PackageQuarantineResponse) SetSyncFinishedAt(v time.Time) { + o.SyncFinishedAt = &v +} + +// GetSyncProgress returns the SyncProgress field value if set, zero value otherwise. +func (o *PackageQuarantineResponse) GetSyncProgress() int64 { + if o == nil || isNil(o.SyncProgress) { + var ret int64 + return ret + } + return *o.SyncProgress +} + +// GetSyncProgressOk returns a tuple with the SyncProgress field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *PackageQuarantineResponse) GetSyncProgressOk() (*int64, bool) { + if o == nil || isNil(o.SyncProgress) { + return nil, false + } + return o.SyncProgress, true +} + +// HasSyncProgress returns a boolean if a field has been set. +func (o *PackageQuarantineResponse) HasSyncProgress() bool { + if o != nil && !isNil(o.SyncProgress) { + return true + } + + return false +} + +// SetSyncProgress gets a reference to the given int64 and assigns it to the SyncProgress field. +func (o *PackageQuarantineResponse) SetSyncProgress(v int64) { + o.SyncProgress = &v +} + +// GetTags returns the Tags field value if set, zero value otherwise. +func (o *PackageQuarantineResponse) GetTags() map[string]interface{} { + if o == nil || isNil(o.Tags) { + var ret map[string]interface{} + return ret + } + return o.Tags +} + +// GetTagsOk returns a tuple with the Tags field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *PackageQuarantineResponse) GetTagsOk() (map[string]interface{}, bool) { + if o == nil || isNil(o.Tags) { + return map[string]interface{}{}, false + } + return o.Tags, true +} + +// HasTags returns a boolean if a field has been set. +func (o *PackageQuarantineResponse) HasTags() bool { + if o != nil && !isNil(o.Tags) { + return true + } + + return false +} + +// SetTags gets a reference to the given map[string]interface{} and assigns it to the Tags field. +func (o *PackageQuarantineResponse) SetTags(v map[string]interface{}) { + o.Tags = v +} + +// GetTagsImmutable returns the TagsImmutable field value if set, zero value otherwise. +func (o *PackageQuarantineResponse) GetTagsImmutable() map[string]interface{} { + if o == nil || isNil(o.TagsImmutable) { + var ret map[string]interface{} + return ret + } + return o.TagsImmutable +} + +// GetTagsImmutableOk returns a tuple with the TagsImmutable field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *PackageQuarantineResponse) GetTagsImmutableOk() (map[string]interface{}, bool) { + if o == nil || isNil(o.TagsImmutable) { + return map[string]interface{}{}, false + } + return o.TagsImmutable, true +} + +// HasTagsImmutable returns a boolean if a field has been set. +func (o *PackageQuarantineResponse) HasTagsImmutable() bool { + if o != nil && !isNil(o.TagsImmutable) { + return true + } + + return false +} + +// SetTagsImmutable gets a reference to the given map[string]interface{} and assigns it to the TagsImmutable field. +func (o *PackageQuarantineResponse) SetTagsImmutable(v map[string]interface{}) { + o.TagsImmutable = v +} + +// GetTypeDisplay returns the TypeDisplay field value if set, zero value otherwise. +func (o *PackageQuarantineResponse) GetTypeDisplay() string { + if o == nil || isNil(o.TypeDisplay) { + var ret string + return ret + } + return *o.TypeDisplay +} + +// GetTypeDisplayOk returns a tuple with the TypeDisplay field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *PackageQuarantineResponse) GetTypeDisplayOk() (*string, bool) { + if o == nil || isNil(o.TypeDisplay) { + return nil, false + } + return o.TypeDisplay, true +} + +// HasTypeDisplay returns a boolean if a field has been set. +func (o *PackageQuarantineResponse) HasTypeDisplay() bool { + if o != nil && !isNil(o.TypeDisplay) { + return true + } + + return false +} + +// SetTypeDisplay gets a reference to the given string and assigns it to the TypeDisplay field. +func (o *PackageQuarantineResponse) SetTypeDisplay(v string) { + o.TypeDisplay = &v +} + +// GetUploadedAt returns the UploadedAt field value if set, zero value otherwise. +func (o *PackageQuarantineResponse) GetUploadedAt() time.Time { + if o == nil || isNil(o.UploadedAt) { + var ret time.Time + return ret + } + return *o.UploadedAt +} + +// GetUploadedAtOk returns a tuple with the UploadedAt field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *PackageQuarantineResponse) GetUploadedAtOk() (*time.Time, bool) { + if o == nil || isNil(o.UploadedAt) { + return nil, false + } + return o.UploadedAt, true +} + +// HasUploadedAt returns a boolean if a field has been set. +func (o *PackageQuarantineResponse) HasUploadedAt() bool { + if o != nil && !isNil(o.UploadedAt) { + return true + } + + return false +} + +// SetUploadedAt gets a reference to the given time.Time and assigns it to the UploadedAt field. +func (o *PackageQuarantineResponse) SetUploadedAt(v time.Time) { + o.UploadedAt = &v +} + +// GetUploader returns the Uploader field value if set, zero value otherwise. +func (o *PackageQuarantineResponse) GetUploader() string { + if o == nil || isNil(o.Uploader) { + var ret string + return ret + } + return *o.Uploader +} + +// GetUploaderOk returns a tuple with the Uploader field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *PackageQuarantineResponse) GetUploaderOk() (*string, bool) { + if o == nil || isNil(o.Uploader) { + return nil, false + } + return o.Uploader, true +} + +// HasUploader returns a boolean if a field has been set. +func (o *PackageQuarantineResponse) HasUploader() bool { + if o != nil && !isNil(o.Uploader) { + return true + } + + return false +} + +// SetUploader gets a reference to the given string and assigns it to the Uploader field. +func (o *PackageQuarantineResponse) SetUploader(v string) { + o.Uploader = &v +} + +// GetUploaderUrl returns the UploaderUrl field value if set, zero value otherwise. +func (o *PackageQuarantineResponse) GetUploaderUrl() string { + if o == nil || isNil(o.UploaderUrl) { + var ret string + return ret + } + return *o.UploaderUrl +} + +// GetUploaderUrlOk returns a tuple with the UploaderUrl field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *PackageQuarantineResponse) GetUploaderUrlOk() (*string, bool) { + if o == nil || isNil(o.UploaderUrl) { + return nil, false + } + return o.UploaderUrl, true +} + +// HasUploaderUrl returns a boolean if a field has been set. +func (o *PackageQuarantineResponse) HasUploaderUrl() bool { + if o != nil && !isNil(o.UploaderUrl) { + return true + } + + return false +} + +// SetUploaderUrl gets a reference to the given string and assigns it to the UploaderUrl field. +func (o *PackageQuarantineResponse) SetUploaderUrl(v string) { + o.UploaderUrl = &v +} + +// GetVersion returns the Version field value if set, zero value otherwise. +func (o *PackageQuarantineResponse) GetVersion() string { + if o == nil || isNil(o.Version) { + var ret string + return ret + } + return *o.Version +} + +// GetVersionOk returns a tuple with the Version field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *PackageQuarantineResponse) GetVersionOk() (*string, bool) { + if o == nil || isNil(o.Version) { + return nil, false + } + return o.Version, true +} + +// HasVersion returns a boolean if a field has been set. +func (o *PackageQuarantineResponse) HasVersion() bool { + if o != nil && !isNil(o.Version) { + return true + } + + return false +} + +// SetVersion gets a reference to the given string and assigns it to the Version field. +func (o *PackageQuarantineResponse) SetVersion(v string) { + o.Version = &v +} + +// GetVersionOrig returns the VersionOrig field value if set, zero value otherwise. +func (o *PackageQuarantineResponse) GetVersionOrig() string { + if o == nil || isNil(o.VersionOrig) { + var ret string + return ret + } + return *o.VersionOrig +} + +// GetVersionOrigOk returns a tuple with the VersionOrig field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *PackageQuarantineResponse) GetVersionOrigOk() (*string, bool) { + if o == nil || isNil(o.VersionOrig) { + return nil, false + } + return o.VersionOrig, true +} + +// HasVersionOrig returns a boolean if a field has been set. +func (o *PackageQuarantineResponse) HasVersionOrig() bool { + if o != nil && !isNil(o.VersionOrig) { + return true + } + + return false +} + +// SetVersionOrig gets a reference to the given string and assigns it to the VersionOrig field. +func (o *PackageQuarantineResponse) SetVersionOrig(v string) { + o.VersionOrig = &v +} + +// GetVulnerabilityScanResultsUrl returns the VulnerabilityScanResultsUrl field value if set, zero value otherwise. +func (o *PackageQuarantineResponse) GetVulnerabilityScanResultsUrl() string { + if o == nil || isNil(o.VulnerabilityScanResultsUrl) { + var ret string + return ret + } + return *o.VulnerabilityScanResultsUrl +} + +// GetVulnerabilityScanResultsUrlOk returns a tuple with the VulnerabilityScanResultsUrl field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *PackageQuarantineResponse) GetVulnerabilityScanResultsUrlOk() (*string, bool) { + if o == nil || isNil(o.VulnerabilityScanResultsUrl) { + return nil, false + } + return o.VulnerabilityScanResultsUrl, true +} + +// HasVulnerabilityScanResultsUrl returns a boolean if a field has been set. +func (o *PackageQuarantineResponse) HasVulnerabilityScanResultsUrl() bool { + if o != nil && !isNil(o.VulnerabilityScanResultsUrl) { + return true + } + + return false +} + +// SetVulnerabilityScanResultsUrl gets a reference to the given string and assigns it to the VulnerabilityScanResultsUrl field. +func (o *PackageQuarantineResponse) SetVulnerabilityScanResultsUrl(v string) { + o.VulnerabilityScanResultsUrl = &v +} + +func (o PackageQuarantineResponse) MarshalJSON() ([]byte, error) { + toSerialize := map[string]interface{}{} + if !isNil(o.Architectures) { + toSerialize["architectures"] = o.Architectures + } + if o.CdnUrl.IsSet() { + toSerialize["cdn_url"] = o.CdnUrl.Get() + } + if !isNil(o.ChecksumMd5) { + toSerialize["checksum_md5"] = o.ChecksumMd5 + } + if !isNil(o.ChecksumSha1) { + toSerialize["checksum_sha1"] = o.ChecksumSha1 + } + if !isNil(o.ChecksumSha256) { + toSerialize["checksum_sha256"] = o.ChecksumSha256 + } + if !isNil(o.ChecksumSha512) { + toSerialize["checksum_sha512"] = o.ChecksumSha512 + } + if !isNil(o.DependenciesChecksumMd5) { + toSerialize["dependencies_checksum_md5"] = o.DependenciesChecksumMd5 + } + if !isNil(o.DependenciesUrl) { + toSerialize["dependencies_url"] = o.DependenciesUrl + } + if !isNil(o.Description) { + toSerialize["description"] = o.Description + } + if o.Distro.IsSet() { + toSerialize["distro"] = o.Distro.Get() + } + if !isNil(o.DistroVersion) { + toSerialize["distro_version"] = o.DistroVersion + } + if !isNil(o.Downloads) { + toSerialize["downloads"] = o.Downloads + } + if !isNil(o.Epoch) { + toSerialize["epoch"] = o.Epoch + } + if !isNil(o.Extension) { + toSerialize["extension"] = o.Extension + } + if !isNil(o.Filename) { + toSerialize["filename"] = o.Filename + } + if !isNil(o.Files) { + toSerialize["files"] = o.Files + } + if !isNil(o.Format) { + toSerialize["format"] = o.Format + } + if !isNil(o.FormatUrl) { + toSerialize["format_url"] = o.FormatUrl + } + if !isNil(o.IdentifierPerm) { + toSerialize["identifier_perm"] = o.IdentifierPerm + } + if !isNil(o.Indexed) { + toSerialize["indexed"] = o.Indexed + } + if !isNil(o.IsDownloadable) { + toSerialize["is_downloadable"] = o.IsDownloadable + } + if !isNil(o.IsQuarantined) { + toSerialize["is_quarantined"] = o.IsQuarantined + } + if !isNil(o.IsSyncAwaiting) { + toSerialize["is_sync_awaiting"] = o.IsSyncAwaiting + } + if !isNil(o.IsSyncCompleted) { + toSerialize["is_sync_completed"] = o.IsSyncCompleted + } + if !isNil(o.IsSyncFailed) { + toSerialize["is_sync_failed"] = o.IsSyncFailed + } + if !isNil(o.IsSyncInFlight) { + toSerialize["is_sync_in_flight"] = o.IsSyncInFlight + } + if !isNil(o.IsSyncInProgress) { + toSerialize["is_sync_in_progress"] = o.IsSyncInProgress + } + if !isNil(o.License) { + toSerialize["license"] = o.License + } + if !isNil(o.Name) { + toSerialize["name"] = o.Name + } + if !isNil(o.Namespace) { + toSerialize["namespace"] = o.Namespace + } + if !isNil(o.NamespaceUrl) { + toSerialize["namespace_url"] = o.NamespaceUrl + } + if !isNil(o.NumFiles) { + toSerialize["num_files"] = o.NumFiles + } + if !isNil(o.OriginRepository) { + toSerialize["origin_repository"] = o.OriginRepository + } + if !isNil(o.OriginRepositoryUrl) { + toSerialize["origin_repository_url"] = o.OriginRepositoryUrl + } + if !isNil(o.PackageType) { + toSerialize["package_type"] = o.PackageType + } + if !isNil(o.Release) { + toSerialize["release"] = o.Release + } + if !isNil(o.Repository) { + toSerialize["repository"] = o.Repository + } + if !isNil(o.RepositoryUrl) { + toSerialize["repository_url"] = o.RepositoryUrl + } + if !isNil(o.SecurityScanCompletedAt) { + toSerialize["security_scan_completed_at"] = o.SecurityScanCompletedAt + } + if !isNil(o.SecurityScanStartedAt) { + toSerialize["security_scan_started_at"] = o.SecurityScanStartedAt + } + if o.SecurityScanStatus.IsSet() { + toSerialize["security_scan_status"] = o.SecurityScanStatus.Get() + } + if !isNil(o.SecurityScanStatusUpdatedAt) { + toSerialize["security_scan_status_updated_at"] = o.SecurityScanStatusUpdatedAt + } + if !isNil(o.SelfHtmlUrl) { + toSerialize["self_html_url"] = o.SelfHtmlUrl + } + if !isNil(o.SelfUrl) { + toSerialize["self_url"] = o.SelfUrl + } + if o.SignatureUrl.IsSet() { + toSerialize["signature_url"] = o.SignatureUrl.Get() + } + if !isNil(o.Size) { + toSerialize["size"] = o.Size + } + if !isNil(o.Slug) { + toSerialize["slug"] = o.Slug + } + if !isNil(o.SlugPerm) { + toSerialize["slug_perm"] = o.SlugPerm + } + if !isNil(o.Stage) { + toSerialize["stage"] = o.Stage + } + if !isNil(o.StageStr) { + toSerialize["stage_str"] = o.StageStr + } + if !isNil(o.StageUpdatedAt) { + toSerialize["stage_updated_at"] = o.StageUpdatedAt + } + if !isNil(o.Status) { + toSerialize["status"] = o.Status + } + if !isNil(o.StatusReason) { + toSerialize["status_reason"] = o.StatusReason + } + if !isNil(o.StatusStr) { + toSerialize["status_str"] = o.StatusStr + } + if !isNil(o.StatusUpdatedAt) { + toSerialize["status_updated_at"] = o.StatusUpdatedAt + } + if !isNil(o.StatusUrl) { + toSerialize["status_url"] = o.StatusUrl + } + if !isNil(o.Subtype) { + toSerialize["subtype"] = o.Subtype + } + if !isNil(o.Summary) { + toSerialize["summary"] = o.Summary + } + if !isNil(o.SyncFinishedAt) { + toSerialize["sync_finished_at"] = o.SyncFinishedAt + } + if !isNil(o.SyncProgress) { + toSerialize["sync_progress"] = o.SyncProgress + } + if !isNil(o.Tags) { + toSerialize["tags"] = o.Tags + } + if !isNil(o.TagsImmutable) { + toSerialize["tags_immutable"] = o.TagsImmutable + } + if !isNil(o.TypeDisplay) { + toSerialize["type_display"] = o.TypeDisplay + } + if !isNil(o.UploadedAt) { + toSerialize["uploaded_at"] = o.UploadedAt + } + if !isNil(o.Uploader) { + toSerialize["uploader"] = o.Uploader + } + if !isNil(o.UploaderUrl) { + toSerialize["uploader_url"] = o.UploaderUrl + } + if !isNil(o.Version) { + toSerialize["version"] = o.Version + } + if !isNil(o.VersionOrig) { + toSerialize["version_orig"] = o.VersionOrig + } + if !isNil(o.VulnerabilityScanResultsUrl) { + toSerialize["vulnerability_scan_results_url"] = o.VulnerabilityScanResultsUrl + } + return json.Marshal(toSerialize) +} + +type NullablePackageQuarantineResponse struct { + value *PackageQuarantineResponse + isSet bool +} + +func (v NullablePackageQuarantineResponse) Get() *PackageQuarantineResponse { + return v.value +} + +func (v *NullablePackageQuarantineResponse) Set(val *PackageQuarantineResponse) { + v.value = val + v.isSet = true +} + +func (v NullablePackageQuarantineResponse) IsSet() bool { + return v.isSet +} + +func (v *NullablePackageQuarantineResponse) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullablePackageQuarantineResponse(val *PackageQuarantineResponse) *NullablePackageQuarantineResponse { + return &NullablePackageQuarantineResponse{value: val, isSet: true} +} + +func (v NullablePackageQuarantineResponse) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullablePackageQuarantineResponse) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} diff --git a/model_package_resync.go b/model_package_response.go similarity index 54% rename from model_package_resync.go rename to model_package_response.go index 1644cd5c..f939a674 100644 --- a/model_package_resync.go +++ b/model_package_response.go @@ -1,9 +1,9 @@ /* -Cloudsmith API +Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.121.3 +API version: 1.181.6 Contact: support@cloudsmith.io */ @@ -13,167 +13,128 @@ package cloudsmith import ( "encoding/json" + "time" ) -// PackageResync struct for PackageResync -type PackageResync struct { - // - Architectures []PackagesOwnerRepoArchitectures `json:"architectures,omitempty"` - // - CdnUrl *string `json:"cdn_url,omitempty"` - // - ChecksumMd5 *string `json:"checksum_md5,omitempty"` - // - ChecksumSha1 *string `json:"checksum_sha1,omitempty"` - // - ChecksumSha256 *string `json:"checksum_sha256,omitempty"` - // - ChecksumSha512 *string `json:"checksum_sha512,omitempty"` +// PackageResponse struct for PackageResponse +type PackageResponse struct { + Architectures []Architecture `json:"architectures,omitempty"` + CdnUrl NullableString `json:"cdn_url,omitempty"` + ChecksumMd5 *string `json:"checksum_md5,omitempty"` + ChecksumSha1 *string `json:"checksum_sha1,omitempty"` + ChecksumSha256 *string `json:"checksum_sha256,omitempty"` + ChecksumSha512 *string `json:"checksum_sha512,omitempty"` // A checksum of all of the package's dependencies. DependenciesChecksumMd5 *string `json:"dependencies_checksum_md5,omitempty"` - // - DependenciesUrl *string `json:"dependencies_url,omitempty"` + DependenciesUrl *string `json:"dependencies_url,omitempty"` // A textual description of this package. - Description *string `json:"description,omitempty"` - // - Distro map[string]interface{} `json:"distro,omitempty"` - // - DistroVersion map[string]interface{} `json:"distro_version,omitempty"` - // - Downloads *int64 `json:"downloads,omitempty"` + Description *string `json:"description,omitempty"` + Distro NullableDistribution `json:"distro,omitempty"` + DistroVersion *DistributionVersion `json:"distro_version,omitempty"` + Downloads *int64 `json:"downloads,omitempty"` // The epoch of the package version (if any). - Epoch *int64 `json:"epoch,omitempty"` - // - Extension *string `json:"extension,omitempty"` - // - Filename *string `json:"filename,omitempty"` - // - Files []PackagesOwnerRepoFiles `json:"files,omitempty"` - // - Format *string `json:"format,omitempty"` - // - FormatUrl *string `json:"format_url,omitempty"` + Epoch *int64 `json:"epoch,omitempty"` + Extension *string `json:"extension,omitempty"` + Filename *string `json:"filename,omitempty"` + Files []PackageFile `json:"files,omitempty"` + Format *string `json:"format,omitempty"` + FormatUrl *string `json:"format_url,omitempty"` // Unique and permanent identifier for the package. - IdentifierPerm *string `json:"identifier_perm,omitempty"` - // - Indexed *bool `json:"indexed,omitempty"` - // - IsDownloadable *bool `json:"is_downloadable,omitempty"` - // - IsQuarantined *bool `json:"is_quarantined,omitempty"` - // - IsSyncAwaiting *bool `json:"is_sync_awaiting,omitempty"` - // - IsSyncCompleted *bool `json:"is_sync_completed,omitempty"` - // - IsSyncFailed *bool `json:"is_sync_failed,omitempty"` - // - IsSyncInFlight *bool `json:"is_sync_in_flight,omitempty"` - // - IsSyncInProgress *bool `json:"is_sync_in_progress,omitempty"` + IdentifierPerm *string `json:"identifier_perm,omitempty"` + Indexed *bool `json:"indexed,omitempty"` + IsDownloadable *bool `json:"is_downloadable,omitempty"` + IsQuarantined *bool `json:"is_quarantined,omitempty"` + IsSyncAwaiting *bool `json:"is_sync_awaiting,omitempty"` + IsSyncCompleted *bool `json:"is_sync_completed,omitempty"` + IsSyncFailed *bool `json:"is_sync_failed,omitempty"` + IsSyncInFlight *bool `json:"is_sync_in_flight,omitempty"` + IsSyncInProgress *bool `json:"is_sync_in_progress,omitempty"` // The license of this package. License *string `json:"license,omitempty"` // The name of this package. - Name *string `json:"name,omitempty"` - // - Namespace *string `json:"namespace,omitempty"` - // - NamespaceUrl *string `json:"namespace_url,omitempty"` - // - NumFiles *int64 `json:"num_files,omitempty"` + Name *string `json:"name,omitempty"` + Namespace *string `json:"namespace,omitempty"` + NamespaceUrl *string `json:"namespace_url,omitempty"` + NumFiles *int64 `json:"num_files,omitempty"` + OriginRepository *string `json:"origin_repository,omitempty"` + OriginRepositoryUrl *string `json:"origin_repository_url,omitempty"` // The type of package contents. PackageType *int64 `json:"package_type,omitempty"` // The release of the package version (if any). - Release *string `json:"release,omitempty"` - // - Repository *string `json:"repository,omitempty"` - // + Release *string `json:"release,omitempty"` + Repository *string `json:"repository,omitempty"` RepositoryUrl *string `json:"repository_url,omitempty"` // The datetime the security scanning was completed. - SecurityScanCompletedAt *string `json:"security_scan_completed_at,omitempty"` + SecurityScanCompletedAt *time.Time `json:"security_scan_completed_at,omitempty"` // The datetime the security scanning was started. - SecurityScanStartedAt *string `json:"security_scan_started_at,omitempty"` - // - SecurityScanStatus *string `json:"security_scan_status,omitempty"` + SecurityScanStartedAt *time.Time `json:"security_scan_started_at,omitempty"` + SecurityScanStatus NullableString `json:"security_scan_status,omitempty"` // The datetime the security scanning status was updated. - SecurityScanStatusUpdatedAt *string `json:"security_scan_status_updated_at,omitempty"` - // - SelfHtmlUrl *string `json:"self_html_url,omitempty"` - // - SelfUrl *string `json:"self_url,omitempty"` - // - SignatureUrl *string `json:"signature_url,omitempty"` + SecurityScanStatusUpdatedAt *time.Time `json:"security_scan_status_updated_at,omitempty"` + SelfHtmlUrl *string `json:"self_html_url,omitempty"` + SelfUrl *string `json:"self_url,omitempty"` + SignatureUrl NullableString `json:"signature_url,omitempty"` // The calculated size of the package. Size *int64 `json:"size,omitempty"` // The public unique identifier for the package. - Slug *string `json:"slug,omitempty"` - // + Slug *string `json:"slug,omitempty"` SlugPerm *string `json:"slug_perm,omitempty"` // The synchronisation (in progress) stage of the package. - Stage *int64 `json:"stage,omitempty"` - // + Stage *int64 `json:"stage,omitempty"` StageStr *string `json:"stage_str,omitempty"` // The datetime the package stage was updated at. - StageUpdatedAt *string `json:"stage_updated_at,omitempty"` + StageUpdatedAt *time.Time `json:"stage_updated_at,omitempty"` // The synchronisation status of the package. Status *int64 `json:"status,omitempty"` // A textual description for the synchronous status reason (if any StatusReason *string `json:"status_reason,omitempty"` - // - StatusStr *string `json:"status_str,omitempty"` + StatusStr *string `json:"status_str,omitempty"` // The datetime the package status was updated at. - StatusUpdatedAt *string `json:"status_updated_at,omitempty"` - // - StatusUrl *string `json:"status_url,omitempty"` - // - Subtype *string `json:"subtype,omitempty"` + StatusUpdatedAt *time.Time `json:"status_updated_at,omitempty"` + StatusUrl *string `json:"status_url,omitempty"` + Subtype *string `json:"subtype,omitempty"` // A one-liner synopsis of this package. Summary *string `json:"summary,omitempty"` // The datetime the package sync was finished at. - SyncFinishedAt *string `json:"sync_finished_at,omitempty"` + SyncFinishedAt *time.Time `json:"sync_finished_at,omitempty"` // Synchronisation progress (from 0-100) SyncProgress *int64 `json:"sync_progress,omitempty"` // All tags on the package, grouped by tag type. This includes immutable tags, but doesn't distinguish them from mutable. To see which tags are immutable specifically, see the tags_immutable field. Tags map[string]interface{} `json:"tags,omitempty"` - // All immutable tags on the package, grouped by tag type. Immutable tags cannot be (easily) deleted. + // All tags on the package, grouped by tag type. This includes immutable tags, but doesn't distinguish them from mutable. To see which tags are immutable specifically, see the tags_immutable field. TagsImmutable map[string]interface{} `json:"tags_immutable,omitempty"` - // - TypeDisplay *string `json:"type_display,omitempty"` + TypeDisplay *string `json:"type_display,omitempty"` // The date this package was uploaded. - UploadedAt *string `json:"uploaded_at,omitempty"` - // - Uploader *string `json:"uploader,omitempty"` - // - UploaderUrl *string `json:"uploader_url,omitempty"` + UploadedAt *time.Time `json:"uploaded_at,omitempty"` + Uploader *string `json:"uploader,omitempty"` + UploaderUrl *string `json:"uploader_url,omitempty"` // The raw version for this package. - Version *string `json:"version,omitempty"` - // - VersionOrig *string `json:"version_orig,omitempty"` - // + Version *string `json:"version,omitempty"` + VersionOrig *string `json:"version_orig,omitempty"` VulnerabilityScanResultsUrl *string `json:"vulnerability_scan_results_url,omitempty"` } -// NewPackageResync instantiates a new PackageResync object +// NewPackageResponse instantiates a new PackageResponse object // 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 NewPackageResync() *PackageResync { - this := PackageResync{} +func NewPackageResponse() *PackageResponse { + this := PackageResponse{} return &this } -// NewPackageResyncWithDefaults instantiates a new PackageResync object +// NewPackageResponseWithDefaults instantiates a new PackageResponse object // This constructor will only assign default values to properties that have it defined, // but it doesn't guarantee that properties required by API are set -func NewPackageResyncWithDefaults() *PackageResync { - this := PackageResync{} +func NewPackageResponseWithDefaults() *PackageResponse { + this := PackageResponse{} return &this } // GetArchitectures returns the Architectures field value if set, zero value otherwise. -func (o *PackageResync) GetArchitectures() []PackagesOwnerRepoArchitectures { - if o == nil || o.Architectures == nil { - var ret []PackagesOwnerRepoArchitectures +func (o *PackageResponse) GetArchitectures() []Architecture { + if o == nil || isNil(o.Architectures) { + var ret []Architecture return ret } return o.Architectures @@ -181,62 +142,73 @@ func (o *PackageResync) GetArchitectures() []PackagesOwnerRepoArchitectures { // GetArchitecturesOk returns a tuple with the Architectures field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *PackageResync) GetArchitecturesOk() ([]PackagesOwnerRepoArchitectures, bool) { - if o == nil || o.Architectures == nil { +func (o *PackageResponse) GetArchitecturesOk() ([]Architecture, bool) { + if o == nil || isNil(o.Architectures) { return nil, false } return o.Architectures, true } // HasArchitectures returns a boolean if a field has been set. -func (o *PackageResync) HasArchitectures() bool { - if o != nil && o.Architectures != nil { +func (o *PackageResponse) HasArchitectures() bool { + if o != nil && !isNil(o.Architectures) { return true } return false } -// SetArchitectures gets a reference to the given []PackagesOwnerRepoArchitectures and assigns it to the Architectures field. -func (o *PackageResync) SetArchitectures(v []PackagesOwnerRepoArchitectures) { +// SetArchitectures gets a reference to the given []Architecture and assigns it to the Architectures field. +func (o *PackageResponse) SetArchitectures(v []Architecture) { o.Architectures = v } -// GetCdnUrl returns the CdnUrl field value if set, zero value otherwise. -func (o *PackageResync) GetCdnUrl() string { - if o == nil || o.CdnUrl == nil { +// GetCdnUrl returns the CdnUrl field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *PackageResponse) GetCdnUrl() string { + if o == nil || isNil(o.CdnUrl.Get()) { var ret string return ret } - return *o.CdnUrl + return *o.CdnUrl.Get() } // GetCdnUrlOk returns a tuple with the CdnUrl field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *PackageResync) GetCdnUrlOk() (*string, bool) { - if o == nil || o.CdnUrl == nil { +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *PackageResponse) GetCdnUrlOk() (*string, bool) { + if o == nil { return nil, false } - return o.CdnUrl, true + return o.CdnUrl.Get(), o.CdnUrl.IsSet() } // HasCdnUrl returns a boolean if a field has been set. -func (o *PackageResync) HasCdnUrl() bool { - if o != nil && o.CdnUrl != nil { +func (o *PackageResponse) HasCdnUrl() bool { + if o != nil && o.CdnUrl.IsSet() { return true } return false } -// SetCdnUrl gets a reference to the given string and assigns it to the CdnUrl field. -func (o *PackageResync) SetCdnUrl(v string) { - o.CdnUrl = &v +// SetCdnUrl gets a reference to the given NullableString and assigns it to the CdnUrl field. +func (o *PackageResponse) SetCdnUrl(v string) { + o.CdnUrl.Set(&v) +} + +// SetCdnUrlNil sets the value for CdnUrl to be an explicit nil +func (o *PackageResponse) SetCdnUrlNil() { + o.CdnUrl.Set(nil) +} + +// UnsetCdnUrl ensures that no value is present for CdnUrl, not even an explicit nil +func (o *PackageResponse) UnsetCdnUrl() { + o.CdnUrl.Unset() } // GetChecksumMd5 returns the ChecksumMd5 field value if set, zero value otherwise. -func (o *PackageResync) GetChecksumMd5() string { - if o == nil || o.ChecksumMd5 == nil { +func (o *PackageResponse) GetChecksumMd5() string { + if o == nil || isNil(o.ChecksumMd5) { var ret string return ret } @@ -245,16 +217,16 @@ func (o *PackageResync) GetChecksumMd5() string { // GetChecksumMd5Ok returns a tuple with the ChecksumMd5 field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *PackageResync) GetChecksumMd5Ok() (*string, bool) { - if o == nil || o.ChecksumMd5 == nil { +func (o *PackageResponse) GetChecksumMd5Ok() (*string, bool) { + if o == nil || isNil(o.ChecksumMd5) { return nil, false } return o.ChecksumMd5, true } // HasChecksumMd5 returns a boolean if a field has been set. -func (o *PackageResync) HasChecksumMd5() bool { - if o != nil && o.ChecksumMd5 != nil { +func (o *PackageResponse) HasChecksumMd5() bool { + if o != nil && !isNil(o.ChecksumMd5) { return true } @@ -262,13 +234,13 @@ func (o *PackageResync) HasChecksumMd5() bool { } // SetChecksumMd5 gets a reference to the given string and assigns it to the ChecksumMd5 field. -func (o *PackageResync) SetChecksumMd5(v string) { +func (o *PackageResponse) SetChecksumMd5(v string) { o.ChecksumMd5 = &v } // GetChecksumSha1 returns the ChecksumSha1 field value if set, zero value otherwise. -func (o *PackageResync) GetChecksumSha1() string { - if o == nil || o.ChecksumSha1 == nil { +func (o *PackageResponse) GetChecksumSha1() string { + if o == nil || isNil(o.ChecksumSha1) { var ret string return ret } @@ -277,16 +249,16 @@ func (o *PackageResync) GetChecksumSha1() string { // GetChecksumSha1Ok returns a tuple with the ChecksumSha1 field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *PackageResync) GetChecksumSha1Ok() (*string, bool) { - if o == nil || o.ChecksumSha1 == nil { +func (o *PackageResponse) GetChecksumSha1Ok() (*string, bool) { + if o == nil || isNil(o.ChecksumSha1) { return nil, false } return o.ChecksumSha1, true } // HasChecksumSha1 returns a boolean if a field has been set. -func (o *PackageResync) HasChecksumSha1() bool { - if o != nil && o.ChecksumSha1 != nil { +func (o *PackageResponse) HasChecksumSha1() bool { + if o != nil && !isNil(o.ChecksumSha1) { return true } @@ -294,13 +266,13 @@ func (o *PackageResync) HasChecksumSha1() bool { } // SetChecksumSha1 gets a reference to the given string and assigns it to the ChecksumSha1 field. -func (o *PackageResync) SetChecksumSha1(v string) { +func (o *PackageResponse) SetChecksumSha1(v string) { o.ChecksumSha1 = &v } // GetChecksumSha256 returns the ChecksumSha256 field value if set, zero value otherwise. -func (o *PackageResync) GetChecksumSha256() string { - if o == nil || o.ChecksumSha256 == nil { +func (o *PackageResponse) GetChecksumSha256() string { + if o == nil || isNil(o.ChecksumSha256) { var ret string return ret } @@ -309,16 +281,16 @@ func (o *PackageResync) GetChecksumSha256() string { // GetChecksumSha256Ok returns a tuple with the ChecksumSha256 field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *PackageResync) GetChecksumSha256Ok() (*string, bool) { - if o == nil || o.ChecksumSha256 == nil { +func (o *PackageResponse) GetChecksumSha256Ok() (*string, bool) { + if o == nil || isNil(o.ChecksumSha256) { return nil, false } return o.ChecksumSha256, true } // HasChecksumSha256 returns a boolean if a field has been set. -func (o *PackageResync) HasChecksumSha256() bool { - if o != nil && o.ChecksumSha256 != nil { +func (o *PackageResponse) HasChecksumSha256() bool { + if o != nil && !isNil(o.ChecksumSha256) { return true } @@ -326,13 +298,13 @@ func (o *PackageResync) HasChecksumSha256() bool { } // SetChecksumSha256 gets a reference to the given string and assigns it to the ChecksumSha256 field. -func (o *PackageResync) SetChecksumSha256(v string) { +func (o *PackageResponse) SetChecksumSha256(v string) { o.ChecksumSha256 = &v } // GetChecksumSha512 returns the ChecksumSha512 field value if set, zero value otherwise. -func (o *PackageResync) GetChecksumSha512() string { - if o == nil || o.ChecksumSha512 == nil { +func (o *PackageResponse) GetChecksumSha512() string { + if o == nil || isNil(o.ChecksumSha512) { var ret string return ret } @@ -341,16 +313,16 @@ func (o *PackageResync) GetChecksumSha512() string { // GetChecksumSha512Ok returns a tuple with the ChecksumSha512 field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *PackageResync) GetChecksumSha512Ok() (*string, bool) { - if o == nil || o.ChecksumSha512 == nil { +func (o *PackageResponse) GetChecksumSha512Ok() (*string, bool) { + if o == nil || isNil(o.ChecksumSha512) { return nil, false } return o.ChecksumSha512, true } // HasChecksumSha512 returns a boolean if a field has been set. -func (o *PackageResync) HasChecksumSha512() bool { - if o != nil && o.ChecksumSha512 != nil { +func (o *PackageResponse) HasChecksumSha512() bool { + if o != nil && !isNil(o.ChecksumSha512) { return true } @@ -358,13 +330,13 @@ func (o *PackageResync) HasChecksumSha512() bool { } // SetChecksumSha512 gets a reference to the given string and assigns it to the ChecksumSha512 field. -func (o *PackageResync) SetChecksumSha512(v string) { +func (o *PackageResponse) SetChecksumSha512(v string) { o.ChecksumSha512 = &v } // GetDependenciesChecksumMd5 returns the DependenciesChecksumMd5 field value if set, zero value otherwise. -func (o *PackageResync) GetDependenciesChecksumMd5() string { - if o == nil || o.DependenciesChecksumMd5 == nil { +func (o *PackageResponse) GetDependenciesChecksumMd5() string { + if o == nil || isNil(o.DependenciesChecksumMd5) { var ret string return ret } @@ -373,16 +345,16 @@ func (o *PackageResync) GetDependenciesChecksumMd5() string { // GetDependenciesChecksumMd5Ok returns a tuple with the DependenciesChecksumMd5 field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *PackageResync) GetDependenciesChecksumMd5Ok() (*string, bool) { - if o == nil || o.DependenciesChecksumMd5 == nil { +func (o *PackageResponse) GetDependenciesChecksumMd5Ok() (*string, bool) { + if o == nil || isNil(o.DependenciesChecksumMd5) { return nil, false } return o.DependenciesChecksumMd5, true } // HasDependenciesChecksumMd5 returns a boolean if a field has been set. -func (o *PackageResync) HasDependenciesChecksumMd5() bool { - if o != nil && o.DependenciesChecksumMd5 != nil { +func (o *PackageResponse) HasDependenciesChecksumMd5() bool { + if o != nil && !isNil(o.DependenciesChecksumMd5) { return true } @@ -390,13 +362,13 @@ func (o *PackageResync) HasDependenciesChecksumMd5() bool { } // SetDependenciesChecksumMd5 gets a reference to the given string and assigns it to the DependenciesChecksumMd5 field. -func (o *PackageResync) SetDependenciesChecksumMd5(v string) { +func (o *PackageResponse) SetDependenciesChecksumMd5(v string) { o.DependenciesChecksumMd5 = &v } // GetDependenciesUrl returns the DependenciesUrl field value if set, zero value otherwise. -func (o *PackageResync) GetDependenciesUrl() string { - if o == nil || o.DependenciesUrl == nil { +func (o *PackageResponse) GetDependenciesUrl() string { + if o == nil || isNil(o.DependenciesUrl) { var ret string return ret } @@ -405,16 +377,16 @@ func (o *PackageResync) GetDependenciesUrl() string { // GetDependenciesUrlOk returns a tuple with the DependenciesUrl field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *PackageResync) GetDependenciesUrlOk() (*string, bool) { - if o == nil || o.DependenciesUrl == nil { +func (o *PackageResponse) GetDependenciesUrlOk() (*string, bool) { + if o == nil || isNil(o.DependenciesUrl) { return nil, false } return o.DependenciesUrl, true } // HasDependenciesUrl returns a boolean if a field has been set. -func (o *PackageResync) HasDependenciesUrl() bool { - if o != nil && o.DependenciesUrl != nil { +func (o *PackageResponse) HasDependenciesUrl() bool { + if o != nil && !isNil(o.DependenciesUrl) { return true } @@ -422,13 +394,13 @@ func (o *PackageResync) HasDependenciesUrl() bool { } // SetDependenciesUrl gets a reference to the given string and assigns it to the DependenciesUrl field. -func (o *PackageResync) SetDependenciesUrl(v string) { +func (o *PackageResponse) SetDependenciesUrl(v string) { o.DependenciesUrl = &v } // GetDescription returns the Description field value if set, zero value otherwise. -func (o *PackageResync) GetDescription() string { - if o == nil || o.Description == nil { +func (o *PackageResponse) GetDescription() string { + if o == nil || isNil(o.Description) { var ret string return ret } @@ -437,16 +409,16 @@ func (o *PackageResync) GetDescription() string { // GetDescriptionOk returns a tuple with the Description field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *PackageResync) GetDescriptionOk() (*string, bool) { - if o == nil || o.Description == nil { +func (o *PackageResponse) GetDescriptionOk() (*string, bool) { + if o == nil || isNil(o.Description) { return nil, false } return o.Description, true } // HasDescription returns a boolean if a field has been set. -func (o *PackageResync) HasDescription() bool { - if o != nil && o.Description != nil { +func (o *PackageResponse) HasDescription() bool { + if o != nil && !isNil(o.Description) { return true } @@ -454,77 +426,88 @@ func (o *PackageResync) HasDescription() bool { } // SetDescription gets a reference to the given string and assigns it to the Description field. -func (o *PackageResync) SetDescription(v string) { +func (o *PackageResponse) SetDescription(v string) { o.Description = &v } -// GetDistro returns the Distro field value if set, zero value otherwise. -func (o *PackageResync) GetDistro() map[string]interface{} { - if o == nil || o.Distro == nil { - var ret map[string]interface{} +// GetDistro returns the Distro field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *PackageResponse) GetDistro() Distribution { + if o == nil || isNil(o.Distro.Get()) { + var ret Distribution return ret } - return o.Distro + return *o.Distro.Get() } // GetDistroOk returns a tuple with the Distro field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *PackageResync) GetDistroOk() (map[string]interface{}, bool) { - if o == nil || o.Distro == nil { +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *PackageResponse) GetDistroOk() (*Distribution, bool) { + if o == nil { return nil, false } - return o.Distro, true + return o.Distro.Get(), o.Distro.IsSet() } // HasDistro returns a boolean if a field has been set. -func (o *PackageResync) HasDistro() bool { - if o != nil && o.Distro != nil { +func (o *PackageResponse) HasDistro() bool { + if o != nil && o.Distro.IsSet() { return true } return false } -// SetDistro gets a reference to the given map[string]interface{} and assigns it to the Distro field. -func (o *PackageResync) SetDistro(v map[string]interface{}) { - o.Distro = v +// SetDistro gets a reference to the given NullableDistribution and assigns it to the Distro field. +func (o *PackageResponse) SetDistro(v Distribution) { + o.Distro.Set(&v) +} + +// SetDistroNil sets the value for Distro to be an explicit nil +func (o *PackageResponse) SetDistroNil() { + o.Distro.Set(nil) +} + +// UnsetDistro ensures that no value is present for Distro, not even an explicit nil +func (o *PackageResponse) UnsetDistro() { + o.Distro.Unset() } // GetDistroVersion returns the DistroVersion field value if set, zero value otherwise. -func (o *PackageResync) GetDistroVersion() map[string]interface{} { - if o == nil || o.DistroVersion == nil { - var ret map[string]interface{} +func (o *PackageResponse) GetDistroVersion() DistributionVersion { + if o == nil || isNil(o.DistroVersion) { + var ret DistributionVersion return ret } - return o.DistroVersion + return *o.DistroVersion } // GetDistroVersionOk returns a tuple with the DistroVersion field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *PackageResync) GetDistroVersionOk() (map[string]interface{}, bool) { - if o == nil || o.DistroVersion == nil { +func (o *PackageResponse) GetDistroVersionOk() (*DistributionVersion, bool) { + if o == nil || isNil(o.DistroVersion) { return nil, false } return o.DistroVersion, true } // HasDistroVersion returns a boolean if a field has been set. -func (o *PackageResync) HasDistroVersion() bool { - if o != nil && o.DistroVersion != nil { +func (o *PackageResponse) HasDistroVersion() bool { + if o != nil && !isNil(o.DistroVersion) { return true } return false } -// SetDistroVersion gets a reference to the given map[string]interface{} and assigns it to the DistroVersion field. -func (o *PackageResync) SetDistroVersion(v map[string]interface{}) { - o.DistroVersion = v +// SetDistroVersion gets a reference to the given DistributionVersion and assigns it to the DistroVersion field. +func (o *PackageResponse) SetDistroVersion(v DistributionVersion) { + o.DistroVersion = &v } // GetDownloads returns the Downloads field value if set, zero value otherwise. -func (o *PackageResync) GetDownloads() int64 { - if o == nil || o.Downloads == nil { +func (o *PackageResponse) GetDownloads() int64 { + if o == nil || isNil(o.Downloads) { var ret int64 return ret } @@ -533,16 +516,16 @@ func (o *PackageResync) GetDownloads() int64 { // GetDownloadsOk returns a tuple with the Downloads field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *PackageResync) GetDownloadsOk() (*int64, bool) { - if o == nil || o.Downloads == nil { +func (o *PackageResponse) GetDownloadsOk() (*int64, bool) { + if o == nil || isNil(o.Downloads) { return nil, false } return o.Downloads, true } // HasDownloads returns a boolean if a field has been set. -func (o *PackageResync) HasDownloads() bool { - if o != nil && o.Downloads != nil { +func (o *PackageResponse) HasDownloads() bool { + if o != nil && !isNil(o.Downloads) { return true } @@ -550,13 +533,13 @@ func (o *PackageResync) HasDownloads() bool { } // SetDownloads gets a reference to the given int64 and assigns it to the Downloads field. -func (o *PackageResync) SetDownloads(v int64) { +func (o *PackageResponse) SetDownloads(v int64) { o.Downloads = &v } // GetEpoch returns the Epoch field value if set, zero value otherwise. -func (o *PackageResync) GetEpoch() int64 { - if o == nil || o.Epoch == nil { +func (o *PackageResponse) GetEpoch() int64 { + if o == nil || isNil(o.Epoch) { var ret int64 return ret } @@ -565,16 +548,16 @@ func (o *PackageResync) GetEpoch() int64 { // GetEpochOk returns a tuple with the Epoch field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *PackageResync) GetEpochOk() (*int64, bool) { - if o == nil || o.Epoch == nil { +func (o *PackageResponse) GetEpochOk() (*int64, bool) { + if o == nil || isNil(o.Epoch) { return nil, false } return o.Epoch, true } // HasEpoch returns a boolean if a field has been set. -func (o *PackageResync) HasEpoch() bool { - if o != nil && o.Epoch != nil { +func (o *PackageResponse) HasEpoch() bool { + if o != nil && !isNil(o.Epoch) { return true } @@ -582,13 +565,13 @@ func (o *PackageResync) HasEpoch() bool { } // SetEpoch gets a reference to the given int64 and assigns it to the Epoch field. -func (o *PackageResync) SetEpoch(v int64) { +func (o *PackageResponse) SetEpoch(v int64) { o.Epoch = &v } // GetExtension returns the Extension field value if set, zero value otherwise. -func (o *PackageResync) GetExtension() string { - if o == nil || o.Extension == nil { +func (o *PackageResponse) GetExtension() string { + if o == nil || isNil(o.Extension) { var ret string return ret } @@ -597,16 +580,16 @@ func (o *PackageResync) GetExtension() string { // GetExtensionOk returns a tuple with the Extension field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *PackageResync) GetExtensionOk() (*string, bool) { - if o == nil || o.Extension == nil { +func (o *PackageResponse) GetExtensionOk() (*string, bool) { + if o == nil || isNil(o.Extension) { return nil, false } return o.Extension, true } // HasExtension returns a boolean if a field has been set. -func (o *PackageResync) HasExtension() bool { - if o != nil && o.Extension != nil { +func (o *PackageResponse) HasExtension() bool { + if o != nil && !isNil(o.Extension) { return true } @@ -614,13 +597,13 @@ func (o *PackageResync) HasExtension() bool { } // SetExtension gets a reference to the given string and assigns it to the Extension field. -func (o *PackageResync) SetExtension(v string) { +func (o *PackageResponse) SetExtension(v string) { o.Extension = &v } // GetFilename returns the Filename field value if set, zero value otherwise. -func (o *PackageResync) GetFilename() string { - if o == nil || o.Filename == nil { +func (o *PackageResponse) GetFilename() string { + if o == nil || isNil(o.Filename) { var ret string return ret } @@ -629,16 +612,16 @@ func (o *PackageResync) GetFilename() string { // GetFilenameOk returns a tuple with the Filename field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *PackageResync) GetFilenameOk() (*string, bool) { - if o == nil || o.Filename == nil { +func (o *PackageResponse) GetFilenameOk() (*string, bool) { + if o == nil || isNil(o.Filename) { return nil, false } return o.Filename, true } // HasFilename returns a boolean if a field has been set. -func (o *PackageResync) HasFilename() bool { - if o != nil && o.Filename != nil { +func (o *PackageResponse) HasFilename() bool { + if o != nil && !isNil(o.Filename) { return true } @@ -646,14 +629,14 @@ func (o *PackageResync) HasFilename() bool { } // SetFilename gets a reference to the given string and assigns it to the Filename field. -func (o *PackageResync) SetFilename(v string) { +func (o *PackageResponse) SetFilename(v string) { o.Filename = &v } // GetFiles returns the Files field value if set, zero value otherwise. -func (o *PackageResync) GetFiles() []PackagesOwnerRepoFiles { - if o == nil || o.Files == nil { - var ret []PackagesOwnerRepoFiles +func (o *PackageResponse) GetFiles() []PackageFile { + if o == nil || isNil(o.Files) { + var ret []PackageFile return ret } return o.Files @@ -661,30 +644,30 @@ func (o *PackageResync) GetFiles() []PackagesOwnerRepoFiles { // GetFilesOk returns a tuple with the Files field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *PackageResync) GetFilesOk() ([]PackagesOwnerRepoFiles, bool) { - if o == nil || o.Files == nil { +func (o *PackageResponse) GetFilesOk() ([]PackageFile, bool) { + if o == nil || isNil(o.Files) { return nil, false } return o.Files, true } // HasFiles returns a boolean if a field has been set. -func (o *PackageResync) HasFiles() bool { - if o != nil && o.Files != nil { +func (o *PackageResponse) HasFiles() bool { + if o != nil && !isNil(o.Files) { return true } return false } -// SetFiles gets a reference to the given []PackagesOwnerRepoFiles and assigns it to the Files field. -func (o *PackageResync) SetFiles(v []PackagesOwnerRepoFiles) { +// SetFiles gets a reference to the given []PackageFile and assigns it to the Files field. +func (o *PackageResponse) SetFiles(v []PackageFile) { o.Files = v } // GetFormat returns the Format field value if set, zero value otherwise. -func (o *PackageResync) GetFormat() string { - if o == nil || o.Format == nil { +func (o *PackageResponse) GetFormat() string { + if o == nil || isNil(o.Format) { var ret string return ret } @@ -693,16 +676,16 @@ func (o *PackageResync) GetFormat() string { // GetFormatOk returns a tuple with the Format field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *PackageResync) GetFormatOk() (*string, bool) { - if o == nil || o.Format == nil { +func (o *PackageResponse) GetFormatOk() (*string, bool) { + if o == nil || isNil(o.Format) { return nil, false } return o.Format, true } // HasFormat returns a boolean if a field has been set. -func (o *PackageResync) HasFormat() bool { - if o != nil && o.Format != nil { +func (o *PackageResponse) HasFormat() bool { + if o != nil && !isNil(o.Format) { return true } @@ -710,13 +693,13 @@ func (o *PackageResync) HasFormat() bool { } // SetFormat gets a reference to the given string and assigns it to the Format field. -func (o *PackageResync) SetFormat(v string) { +func (o *PackageResponse) SetFormat(v string) { o.Format = &v } // GetFormatUrl returns the FormatUrl field value if set, zero value otherwise. -func (o *PackageResync) GetFormatUrl() string { - if o == nil || o.FormatUrl == nil { +func (o *PackageResponse) GetFormatUrl() string { + if o == nil || isNil(o.FormatUrl) { var ret string return ret } @@ -725,16 +708,16 @@ func (o *PackageResync) GetFormatUrl() string { // GetFormatUrlOk returns a tuple with the FormatUrl field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *PackageResync) GetFormatUrlOk() (*string, bool) { - if o == nil || o.FormatUrl == nil { +func (o *PackageResponse) GetFormatUrlOk() (*string, bool) { + if o == nil || isNil(o.FormatUrl) { return nil, false } return o.FormatUrl, true } // HasFormatUrl returns a boolean if a field has been set. -func (o *PackageResync) HasFormatUrl() bool { - if o != nil && o.FormatUrl != nil { +func (o *PackageResponse) HasFormatUrl() bool { + if o != nil && !isNil(o.FormatUrl) { return true } @@ -742,13 +725,13 @@ func (o *PackageResync) HasFormatUrl() bool { } // SetFormatUrl gets a reference to the given string and assigns it to the FormatUrl field. -func (o *PackageResync) SetFormatUrl(v string) { +func (o *PackageResponse) SetFormatUrl(v string) { o.FormatUrl = &v } // GetIdentifierPerm returns the IdentifierPerm field value if set, zero value otherwise. -func (o *PackageResync) GetIdentifierPerm() string { - if o == nil || o.IdentifierPerm == nil { +func (o *PackageResponse) GetIdentifierPerm() string { + if o == nil || isNil(o.IdentifierPerm) { var ret string return ret } @@ -757,16 +740,16 @@ func (o *PackageResync) GetIdentifierPerm() string { // GetIdentifierPermOk returns a tuple with the IdentifierPerm field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *PackageResync) GetIdentifierPermOk() (*string, bool) { - if o == nil || o.IdentifierPerm == nil { +func (o *PackageResponse) GetIdentifierPermOk() (*string, bool) { + if o == nil || isNil(o.IdentifierPerm) { return nil, false } return o.IdentifierPerm, true } // HasIdentifierPerm returns a boolean if a field has been set. -func (o *PackageResync) HasIdentifierPerm() bool { - if o != nil && o.IdentifierPerm != nil { +func (o *PackageResponse) HasIdentifierPerm() bool { + if o != nil && !isNil(o.IdentifierPerm) { return true } @@ -774,13 +757,13 @@ func (o *PackageResync) HasIdentifierPerm() bool { } // SetIdentifierPerm gets a reference to the given string and assigns it to the IdentifierPerm field. -func (o *PackageResync) SetIdentifierPerm(v string) { +func (o *PackageResponse) SetIdentifierPerm(v string) { o.IdentifierPerm = &v } // GetIndexed returns the Indexed field value if set, zero value otherwise. -func (o *PackageResync) GetIndexed() bool { - if o == nil || o.Indexed == nil { +func (o *PackageResponse) GetIndexed() bool { + if o == nil || isNil(o.Indexed) { var ret bool return ret } @@ -789,16 +772,16 @@ func (o *PackageResync) GetIndexed() bool { // GetIndexedOk returns a tuple with the Indexed field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *PackageResync) GetIndexedOk() (*bool, bool) { - if o == nil || o.Indexed == nil { +func (o *PackageResponse) GetIndexedOk() (*bool, bool) { + if o == nil || isNil(o.Indexed) { return nil, false } return o.Indexed, true } // HasIndexed returns a boolean if a field has been set. -func (o *PackageResync) HasIndexed() bool { - if o != nil && o.Indexed != nil { +func (o *PackageResponse) HasIndexed() bool { + if o != nil && !isNil(o.Indexed) { return true } @@ -806,13 +789,13 @@ func (o *PackageResync) HasIndexed() bool { } // SetIndexed gets a reference to the given bool and assigns it to the Indexed field. -func (o *PackageResync) SetIndexed(v bool) { +func (o *PackageResponse) SetIndexed(v bool) { o.Indexed = &v } // GetIsDownloadable returns the IsDownloadable field value if set, zero value otherwise. -func (o *PackageResync) GetIsDownloadable() bool { - if o == nil || o.IsDownloadable == nil { +func (o *PackageResponse) GetIsDownloadable() bool { + if o == nil || isNil(o.IsDownloadable) { var ret bool return ret } @@ -821,16 +804,16 @@ func (o *PackageResync) GetIsDownloadable() bool { // GetIsDownloadableOk returns a tuple with the IsDownloadable field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *PackageResync) GetIsDownloadableOk() (*bool, bool) { - if o == nil || o.IsDownloadable == nil { +func (o *PackageResponse) GetIsDownloadableOk() (*bool, bool) { + if o == nil || isNil(o.IsDownloadable) { return nil, false } return o.IsDownloadable, true } // HasIsDownloadable returns a boolean if a field has been set. -func (o *PackageResync) HasIsDownloadable() bool { - if o != nil && o.IsDownloadable != nil { +func (o *PackageResponse) HasIsDownloadable() bool { + if o != nil && !isNil(o.IsDownloadable) { return true } @@ -838,13 +821,13 @@ func (o *PackageResync) HasIsDownloadable() bool { } // SetIsDownloadable gets a reference to the given bool and assigns it to the IsDownloadable field. -func (o *PackageResync) SetIsDownloadable(v bool) { +func (o *PackageResponse) SetIsDownloadable(v bool) { o.IsDownloadable = &v } // GetIsQuarantined returns the IsQuarantined field value if set, zero value otherwise. -func (o *PackageResync) GetIsQuarantined() bool { - if o == nil || o.IsQuarantined == nil { +func (o *PackageResponse) GetIsQuarantined() bool { + if o == nil || isNil(o.IsQuarantined) { var ret bool return ret } @@ -853,16 +836,16 @@ func (o *PackageResync) GetIsQuarantined() bool { // GetIsQuarantinedOk returns a tuple with the IsQuarantined field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *PackageResync) GetIsQuarantinedOk() (*bool, bool) { - if o == nil || o.IsQuarantined == nil { +func (o *PackageResponse) GetIsQuarantinedOk() (*bool, bool) { + if o == nil || isNil(o.IsQuarantined) { return nil, false } return o.IsQuarantined, true } // HasIsQuarantined returns a boolean if a field has been set. -func (o *PackageResync) HasIsQuarantined() bool { - if o != nil && o.IsQuarantined != nil { +func (o *PackageResponse) HasIsQuarantined() bool { + if o != nil && !isNil(o.IsQuarantined) { return true } @@ -870,13 +853,13 @@ func (o *PackageResync) HasIsQuarantined() bool { } // SetIsQuarantined gets a reference to the given bool and assigns it to the IsQuarantined field. -func (o *PackageResync) SetIsQuarantined(v bool) { +func (o *PackageResponse) SetIsQuarantined(v bool) { o.IsQuarantined = &v } // GetIsSyncAwaiting returns the IsSyncAwaiting field value if set, zero value otherwise. -func (o *PackageResync) GetIsSyncAwaiting() bool { - if o == nil || o.IsSyncAwaiting == nil { +func (o *PackageResponse) GetIsSyncAwaiting() bool { + if o == nil || isNil(o.IsSyncAwaiting) { var ret bool return ret } @@ -885,16 +868,16 @@ func (o *PackageResync) GetIsSyncAwaiting() bool { // GetIsSyncAwaitingOk returns a tuple with the IsSyncAwaiting field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *PackageResync) GetIsSyncAwaitingOk() (*bool, bool) { - if o == nil || o.IsSyncAwaiting == nil { +func (o *PackageResponse) GetIsSyncAwaitingOk() (*bool, bool) { + if o == nil || isNil(o.IsSyncAwaiting) { return nil, false } return o.IsSyncAwaiting, true } // HasIsSyncAwaiting returns a boolean if a field has been set. -func (o *PackageResync) HasIsSyncAwaiting() bool { - if o != nil && o.IsSyncAwaiting != nil { +func (o *PackageResponse) HasIsSyncAwaiting() bool { + if o != nil && !isNil(o.IsSyncAwaiting) { return true } @@ -902,13 +885,13 @@ func (o *PackageResync) HasIsSyncAwaiting() bool { } // SetIsSyncAwaiting gets a reference to the given bool and assigns it to the IsSyncAwaiting field. -func (o *PackageResync) SetIsSyncAwaiting(v bool) { +func (o *PackageResponse) SetIsSyncAwaiting(v bool) { o.IsSyncAwaiting = &v } // GetIsSyncCompleted returns the IsSyncCompleted field value if set, zero value otherwise. -func (o *PackageResync) GetIsSyncCompleted() bool { - if o == nil || o.IsSyncCompleted == nil { +func (o *PackageResponse) GetIsSyncCompleted() bool { + if o == nil || isNil(o.IsSyncCompleted) { var ret bool return ret } @@ -917,16 +900,16 @@ func (o *PackageResync) GetIsSyncCompleted() bool { // GetIsSyncCompletedOk returns a tuple with the IsSyncCompleted field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *PackageResync) GetIsSyncCompletedOk() (*bool, bool) { - if o == nil || o.IsSyncCompleted == nil { +func (o *PackageResponse) GetIsSyncCompletedOk() (*bool, bool) { + if o == nil || isNil(o.IsSyncCompleted) { return nil, false } return o.IsSyncCompleted, true } // HasIsSyncCompleted returns a boolean if a field has been set. -func (o *PackageResync) HasIsSyncCompleted() bool { - if o != nil && o.IsSyncCompleted != nil { +func (o *PackageResponse) HasIsSyncCompleted() bool { + if o != nil && !isNil(o.IsSyncCompleted) { return true } @@ -934,13 +917,13 @@ func (o *PackageResync) HasIsSyncCompleted() bool { } // SetIsSyncCompleted gets a reference to the given bool and assigns it to the IsSyncCompleted field. -func (o *PackageResync) SetIsSyncCompleted(v bool) { +func (o *PackageResponse) SetIsSyncCompleted(v bool) { o.IsSyncCompleted = &v } // GetIsSyncFailed returns the IsSyncFailed field value if set, zero value otherwise. -func (o *PackageResync) GetIsSyncFailed() bool { - if o == nil || o.IsSyncFailed == nil { +func (o *PackageResponse) GetIsSyncFailed() bool { + if o == nil || isNil(o.IsSyncFailed) { var ret bool return ret } @@ -949,16 +932,16 @@ func (o *PackageResync) GetIsSyncFailed() bool { // GetIsSyncFailedOk returns a tuple with the IsSyncFailed field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *PackageResync) GetIsSyncFailedOk() (*bool, bool) { - if o == nil || o.IsSyncFailed == nil { +func (o *PackageResponse) GetIsSyncFailedOk() (*bool, bool) { + if o == nil || isNil(o.IsSyncFailed) { return nil, false } return o.IsSyncFailed, true } // HasIsSyncFailed returns a boolean if a field has been set. -func (o *PackageResync) HasIsSyncFailed() bool { - if o != nil && o.IsSyncFailed != nil { +func (o *PackageResponse) HasIsSyncFailed() bool { + if o != nil && !isNil(o.IsSyncFailed) { return true } @@ -966,13 +949,13 @@ func (o *PackageResync) HasIsSyncFailed() bool { } // SetIsSyncFailed gets a reference to the given bool and assigns it to the IsSyncFailed field. -func (o *PackageResync) SetIsSyncFailed(v bool) { +func (o *PackageResponse) SetIsSyncFailed(v bool) { o.IsSyncFailed = &v } // GetIsSyncInFlight returns the IsSyncInFlight field value if set, zero value otherwise. -func (o *PackageResync) GetIsSyncInFlight() bool { - if o == nil || o.IsSyncInFlight == nil { +func (o *PackageResponse) GetIsSyncInFlight() bool { + if o == nil || isNil(o.IsSyncInFlight) { var ret bool return ret } @@ -981,16 +964,16 @@ func (o *PackageResync) GetIsSyncInFlight() bool { // GetIsSyncInFlightOk returns a tuple with the IsSyncInFlight field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *PackageResync) GetIsSyncInFlightOk() (*bool, bool) { - if o == nil || o.IsSyncInFlight == nil { +func (o *PackageResponse) GetIsSyncInFlightOk() (*bool, bool) { + if o == nil || isNil(o.IsSyncInFlight) { return nil, false } return o.IsSyncInFlight, true } // HasIsSyncInFlight returns a boolean if a field has been set. -func (o *PackageResync) HasIsSyncInFlight() bool { - if o != nil && o.IsSyncInFlight != nil { +func (o *PackageResponse) HasIsSyncInFlight() bool { + if o != nil && !isNil(o.IsSyncInFlight) { return true } @@ -998,13 +981,13 @@ func (o *PackageResync) HasIsSyncInFlight() bool { } // SetIsSyncInFlight gets a reference to the given bool and assigns it to the IsSyncInFlight field. -func (o *PackageResync) SetIsSyncInFlight(v bool) { +func (o *PackageResponse) SetIsSyncInFlight(v bool) { o.IsSyncInFlight = &v } // GetIsSyncInProgress returns the IsSyncInProgress field value if set, zero value otherwise. -func (o *PackageResync) GetIsSyncInProgress() bool { - if o == nil || o.IsSyncInProgress == nil { +func (o *PackageResponse) GetIsSyncInProgress() bool { + if o == nil || isNil(o.IsSyncInProgress) { var ret bool return ret } @@ -1013,16 +996,16 @@ func (o *PackageResync) GetIsSyncInProgress() bool { // GetIsSyncInProgressOk returns a tuple with the IsSyncInProgress field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *PackageResync) GetIsSyncInProgressOk() (*bool, bool) { - if o == nil || o.IsSyncInProgress == nil { +func (o *PackageResponse) GetIsSyncInProgressOk() (*bool, bool) { + if o == nil || isNil(o.IsSyncInProgress) { return nil, false } return o.IsSyncInProgress, true } // HasIsSyncInProgress returns a boolean if a field has been set. -func (o *PackageResync) HasIsSyncInProgress() bool { - if o != nil && o.IsSyncInProgress != nil { +func (o *PackageResponse) HasIsSyncInProgress() bool { + if o != nil && !isNil(o.IsSyncInProgress) { return true } @@ -1030,13 +1013,13 @@ func (o *PackageResync) HasIsSyncInProgress() bool { } // SetIsSyncInProgress gets a reference to the given bool and assigns it to the IsSyncInProgress field. -func (o *PackageResync) SetIsSyncInProgress(v bool) { +func (o *PackageResponse) SetIsSyncInProgress(v bool) { o.IsSyncInProgress = &v } // GetLicense returns the License field value if set, zero value otherwise. -func (o *PackageResync) GetLicense() string { - if o == nil || o.License == nil { +func (o *PackageResponse) GetLicense() string { + if o == nil || isNil(o.License) { var ret string return ret } @@ -1045,16 +1028,16 @@ func (o *PackageResync) GetLicense() string { // GetLicenseOk returns a tuple with the License field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *PackageResync) GetLicenseOk() (*string, bool) { - if o == nil || o.License == nil { +func (o *PackageResponse) GetLicenseOk() (*string, bool) { + if o == nil || isNil(o.License) { return nil, false } return o.License, true } // HasLicense returns a boolean if a field has been set. -func (o *PackageResync) HasLicense() bool { - if o != nil && o.License != nil { +func (o *PackageResponse) HasLicense() bool { + if o != nil && !isNil(o.License) { return true } @@ -1062,13 +1045,13 @@ func (o *PackageResync) HasLicense() bool { } // SetLicense gets a reference to the given string and assigns it to the License field. -func (o *PackageResync) SetLicense(v string) { +func (o *PackageResponse) SetLicense(v string) { o.License = &v } // GetName returns the Name field value if set, zero value otherwise. -func (o *PackageResync) GetName() string { - if o == nil || o.Name == nil { +func (o *PackageResponse) GetName() string { + if o == nil || isNil(o.Name) { var ret string return ret } @@ -1077,16 +1060,16 @@ func (o *PackageResync) GetName() string { // GetNameOk returns a tuple with the Name field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *PackageResync) GetNameOk() (*string, bool) { - if o == nil || o.Name == nil { +func (o *PackageResponse) GetNameOk() (*string, bool) { + if o == nil || isNil(o.Name) { return nil, false } return o.Name, true } // HasName returns a boolean if a field has been set. -func (o *PackageResync) HasName() bool { - if o != nil && o.Name != nil { +func (o *PackageResponse) HasName() bool { + if o != nil && !isNil(o.Name) { return true } @@ -1094,13 +1077,13 @@ func (o *PackageResync) HasName() bool { } // SetName gets a reference to the given string and assigns it to the Name field. -func (o *PackageResync) SetName(v string) { +func (o *PackageResponse) SetName(v string) { o.Name = &v } // GetNamespace returns the Namespace field value if set, zero value otherwise. -func (o *PackageResync) GetNamespace() string { - if o == nil || o.Namespace == nil { +func (o *PackageResponse) GetNamespace() string { + if o == nil || isNil(o.Namespace) { var ret string return ret } @@ -1109,16 +1092,16 @@ func (o *PackageResync) GetNamespace() string { // GetNamespaceOk returns a tuple with the Namespace field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *PackageResync) GetNamespaceOk() (*string, bool) { - if o == nil || o.Namespace == nil { +func (o *PackageResponse) GetNamespaceOk() (*string, bool) { + if o == nil || isNil(o.Namespace) { return nil, false } return o.Namespace, true } // HasNamespace returns a boolean if a field has been set. -func (o *PackageResync) HasNamespace() bool { - if o != nil && o.Namespace != nil { +func (o *PackageResponse) HasNamespace() bool { + if o != nil && !isNil(o.Namespace) { return true } @@ -1126,13 +1109,13 @@ func (o *PackageResync) HasNamespace() bool { } // SetNamespace gets a reference to the given string and assigns it to the Namespace field. -func (o *PackageResync) SetNamespace(v string) { +func (o *PackageResponse) SetNamespace(v string) { o.Namespace = &v } // GetNamespaceUrl returns the NamespaceUrl field value if set, zero value otherwise. -func (o *PackageResync) GetNamespaceUrl() string { - if o == nil || o.NamespaceUrl == nil { +func (o *PackageResponse) GetNamespaceUrl() string { + if o == nil || isNil(o.NamespaceUrl) { var ret string return ret } @@ -1141,16 +1124,16 @@ func (o *PackageResync) GetNamespaceUrl() string { // GetNamespaceUrlOk returns a tuple with the NamespaceUrl field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *PackageResync) GetNamespaceUrlOk() (*string, bool) { - if o == nil || o.NamespaceUrl == nil { +func (o *PackageResponse) GetNamespaceUrlOk() (*string, bool) { + if o == nil || isNil(o.NamespaceUrl) { return nil, false } return o.NamespaceUrl, true } // HasNamespaceUrl returns a boolean if a field has been set. -func (o *PackageResync) HasNamespaceUrl() bool { - if o != nil && o.NamespaceUrl != nil { +func (o *PackageResponse) HasNamespaceUrl() bool { + if o != nil && !isNil(o.NamespaceUrl) { return true } @@ -1158,13 +1141,13 @@ func (o *PackageResync) HasNamespaceUrl() bool { } // SetNamespaceUrl gets a reference to the given string and assigns it to the NamespaceUrl field. -func (o *PackageResync) SetNamespaceUrl(v string) { +func (o *PackageResponse) SetNamespaceUrl(v string) { o.NamespaceUrl = &v } // GetNumFiles returns the NumFiles field value if set, zero value otherwise. -func (o *PackageResync) GetNumFiles() int64 { - if o == nil || o.NumFiles == nil { +func (o *PackageResponse) GetNumFiles() int64 { + if o == nil || isNil(o.NumFiles) { var ret int64 return ret } @@ -1173,16 +1156,16 @@ func (o *PackageResync) GetNumFiles() int64 { // GetNumFilesOk returns a tuple with the NumFiles field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *PackageResync) GetNumFilesOk() (*int64, bool) { - if o == nil || o.NumFiles == nil { +func (o *PackageResponse) GetNumFilesOk() (*int64, bool) { + if o == nil || isNil(o.NumFiles) { return nil, false } return o.NumFiles, true } // HasNumFiles returns a boolean if a field has been set. -func (o *PackageResync) HasNumFiles() bool { - if o != nil && o.NumFiles != nil { +func (o *PackageResponse) HasNumFiles() bool { + if o != nil && !isNil(o.NumFiles) { return true } @@ -1190,13 +1173,77 @@ func (o *PackageResync) HasNumFiles() bool { } // SetNumFiles gets a reference to the given int64 and assigns it to the NumFiles field. -func (o *PackageResync) SetNumFiles(v int64) { +func (o *PackageResponse) SetNumFiles(v int64) { o.NumFiles = &v } +// GetOriginRepository returns the OriginRepository field value if set, zero value otherwise. +func (o *PackageResponse) GetOriginRepository() string { + if o == nil || isNil(o.OriginRepository) { + var ret string + return ret + } + return *o.OriginRepository +} + +// GetOriginRepositoryOk returns a tuple with the OriginRepository field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *PackageResponse) GetOriginRepositoryOk() (*string, bool) { + if o == nil || isNil(o.OriginRepository) { + return nil, false + } + return o.OriginRepository, true +} + +// HasOriginRepository returns a boolean if a field has been set. +func (o *PackageResponse) HasOriginRepository() bool { + if o != nil && !isNil(o.OriginRepository) { + return true + } + + return false +} + +// SetOriginRepository gets a reference to the given string and assigns it to the OriginRepository field. +func (o *PackageResponse) SetOriginRepository(v string) { + o.OriginRepository = &v +} + +// GetOriginRepositoryUrl returns the OriginRepositoryUrl field value if set, zero value otherwise. +func (o *PackageResponse) GetOriginRepositoryUrl() string { + if o == nil || isNil(o.OriginRepositoryUrl) { + var ret string + return ret + } + return *o.OriginRepositoryUrl +} + +// GetOriginRepositoryUrlOk returns a tuple with the OriginRepositoryUrl field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *PackageResponse) GetOriginRepositoryUrlOk() (*string, bool) { + if o == nil || isNil(o.OriginRepositoryUrl) { + return nil, false + } + return o.OriginRepositoryUrl, true +} + +// HasOriginRepositoryUrl returns a boolean if a field has been set. +func (o *PackageResponse) HasOriginRepositoryUrl() bool { + if o != nil && !isNil(o.OriginRepositoryUrl) { + return true + } + + return false +} + +// SetOriginRepositoryUrl gets a reference to the given string and assigns it to the OriginRepositoryUrl field. +func (o *PackageResponse) SetOriginRepositoryUrl(v string) { + o.OriginRepositoryUrl = &v +} + // GetPackageType returns the PackageType field value if set, zero value otherwise. -func (o *PackageResync) GetPackageType() int64 { - if o == nil || o.PackageType == nil { +func (o *PackageResponse) GetPackageType() int64 { + if o == nil || isNil(o.PackageType) { var ret int64 return ret } @@ -1205,16 +1252,16 @@ func (o *PackageResync) GetPackageType() int64 { // GetPackageTypeOk returns a tuple with the PackageType field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *PackageResync) GetPackageTypeOk() (*int64, bool) { - if o == nil || o.PackageType == nil { +func (o *PackageResponse) GetPackageTypeOk() (*int64, bool) { + if o == nil || isNil(o.PackageType) { return nil, false } return o.PackageType, true } // HasPackageType returns a boolean if a field has been set. -func (o *PackageResync) HasPackageType() bool { - if o != nil && o.PackageType != nil { +func (o *PackageResponse) HasPackageType() bool { + if o != nil && !isNil(o.PackageType) { return true } @@ -1222,13 +1269,13 @@ func (o *PackageResync) HasPackageType() bool { } // SetPackageType gets a reference to the given int64 and assigns it to the PackageType field. -func (o *PackageResync) SetPackageType(v int64) { +func (o *PackageResponse) SetPackageType(v int64) { o.PackageType = &v } // GetRelease returns the Release field value if set, zero value otherwise. -func (o *PackageResync) GetRelease() string { - if o == nil || o.Release == nil { +func (o *PackageResponse) GetRelease() string { + if o == nil || isNil(o.Release) { var ret string return ret } @@ -1237,16 +1284,16 @@ func (o *PackageResync) GetRelease() string { // GetReleaseOk returns a tuple with the Release field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *PackageResync) GetReleaseOk() (*string, bool) { - if o == nil || o.Release == nil { +func (o *PackageResponse) GetReleaseOk() (*string, bool) { + if o == nil || isNil(o.Release) { return nil, false } return o.Release, true } // HasRelease returns a boolean if a field has been set. -func (o *PackageResync) HasRelease() bool { - if o != nil && o.Release != nil { +func (o *PackageResponse) HasRelease() bool { + if o != nil && !isNil(o.Release) { return true } @@ -1254,13 +1301,13 @@ func (o *PackageResync) HasRelease() bool { } // SetRelease gets a reference to the given string and assigns it to the Release field. -func (o *PackageResync) SetRelease(v string) { +func (o *PackageResponse) SetRelease(v string) { o.Release = &v } // GetRepository returns the Repository field value if set, zero value otherwise. -func (o *PackageResync) GetRepository() string { - if o == nil || o.Repository == nil { +func (o *PackageResponse) GetRepository() string { + if o == nil || isNil(o.Repository) { var ret string return ret } @@ -1269,16 +1316,16 @@ func (o *PackageResync) GetRepository() string { // GetRepositoryOk returns a tuple with the Repository field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *PackageResync) GetRepositoryOk() (*string, bool) { - if o == nil || o.Repository == nil { +func (o *PackageResponse) GetRepositoryOk() (*string, bool) { + if o == nil || isNil(o.Repository) { return nil, false } return o.Repository, true } // HasRepository returns a boolean if a field has been set. -func (o *PackageResync) HasRepository() bool { - if o != nil && o.Repository != nil { +func (o *PackageResponse) HasRepository() bool { + if o != nil && !isNil(o.Repository) { return true } @@ -1286,13 +1333,13 @@ func (o *PackageResync) HasRepository() bool { } // SetRepository gets a reference to the given string and assigns it to the Repository field. -func (o *PackageResync) SetRepository(v string) { +func (o *PackageResponse) SetRepository(v string) { o.Repository = &v } // GetRepositoryUrl returns the RepositoryUrl field value if set, zero value otherwise. -func (o *PackageResync) GetRepositoryUrl() string { - if o == nil || o.RepositoryUrl == nil { +func (o *PackageResponse) GetRepositoryUrl() string { + if o == nil || isNil(o.RepositoryUrl) { var ret string return ret } @@ -1301,16 +1348,16 @@ func (o *PackageResync) GetRepositoryUrl() string { // GetRepositoryUrlOk returns a tuple with the RepositoryUrl field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *PackageResync) GetRepositoryUrlOk() (*string, bool) { - if o == nil || o.RepositoryUrl == nil { +func (o *PackageResponse) GetRepositoryUrlOk() (*string, bool) { + if o == nil || isNil(o.RepositoryUrl) { return nil, false } return o.RepositoryUrl, true } // HasRepositoryUrl returns a boolean if a field has been set. -func (o *PackageResync) HasRepositoryUrl() bool { - if o != nil && o.RepositoryUrl != nil { +func (o *PackageResponse) HasRepositoryUrl() bool { + if o != nil && !isNil(o.RepositoryUrl) { return true } @@ -1318,14 +1365,14 @@ func (o *PackageResync) HasRepositoryUrl() bool { } // SetRepositoryUrl gets a reference to the given string and assigns it to the RepositoryUrl field. -func (o *PackageResync) SetRepositoryUrl(v string) { +func (o *PackageResponse) SetRepositoryUrl(v string) { o.RepositoryUrl = &v } // GetSecurityScanCompletedAt returns the SecurityScanCompletedAt field value if set, zero value otherwise. -func (o *PackageResync) GetSecurityScanCompletedAt() string { - if o == nil || o.SecurityScanCompletedAt == nil { - var ret string +func (o *PackageResponse) GetSecurityScanCompletedAt() time.Time { + if o == nil || isNil(o.SecurityScanCompletedAt) { + var ret time.Time return ret } return *o.SecurityScanCompletedAt @@ -1333,31 +1380,31 @@ func (o *PackageResync) GetSecurityScanCompletedAt() string { // GetSecurityScanCompletedAtOk returns a tuple with the SecurityScanCompletedAt field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *PackageResync) GetSecurityScanCompletedAtOk() (*string, bool) { - if o == nil || o.SecurityScanCompletedAt == nil { +func (o *PackageResponse) GetSecurityScanCompletedAtOk() (*time.Time, bool) { + if o == nil || isNil(o.SecurityScanCompletedAt) { return nil, false } return o.SecurityScanCompletedAt, true } // HasSecurityScanCompletedAt returns a boolean if a field has been set. -func (o *PackageResync) HasSecurityScanCompletedAt() bool { - if o != nil && o.SecurityScanCompletedAt != nil { +func (o *PackageResponse) HasSecurityScanCompletedAt() bool { + if o != nil && !isNil(o.SecurityScanCompletedAt) { return true } return false } -// SetSecurityScanCompletedAt gets a reference to the given string and assigns it to the SecurityScanCompletedAt field. -func (o *PackageResync) SetSecurityScanCompletedAt(v string) { +// SetSecurityScanCompletedAt gets a reference to the given time.Time and assigns it to the SecurityScanCompletedAt field. +func (o *PackageResponse) SetSecurityScanCompletedAt(v time.Time) { o.SecurityScanCompletedAt = &v } // GetSecurityScanStartedAt returns the SecurityScanStartedAt field value if set, zero value otherwise. -func (o *PackageResync) GetSecurityScanStartedAt() string { - if o == nil || o.SecurityScanStartedAt == nil { - var ret string +func (o *PackageResponse) GetSecurityScanStartedAt() time.Time { + if o == nil || isNil(o.SecurityScanStartedAt) { + var ret time.Time return ret } return *o.SecurityScanStartedAt @@ -1365,63 +1412,74 @@ func (o *PackageResync) GetSecurityScanStartedAt() string { // GetSecurityScanStartedAtOk returns a tuple with the SecurityScanStartedAt field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *PackageResync) GetSecurityScanStartedAtOk() (*string, bool) { - if o == nil || o.SecurityScanStartedAt == nil { +func (o *PackageResponse) GetSecurityScanStartedAtOk() (*time.Time, bool) { + if o == nil || isNil(o.SecurityScanStartedAt) { return nil, false } return o.SecurityScanStartedAt, true } // HasSecurityScanStartedAt returns a boolean if a field has been set. -func (o *PackageResync) HasSecurityScanStartedAt() bool { - if o != nil && o.SecurityScanStartedAt != nil { +func (o *PackageResponse) HasSecurityScanStartedAt() bool { + if o != nil && !isNil(o.SecurityScanStartedAt) { return true } return false } -// SetSecurityScanStartedAt gets a reference to the given string and assigns it to the SecurityScanStartedAt field. -func (o *PackageResync) SetSecurityScanStartedAt(v string) { +// SetSecurityScanStartedAt gets a reference to the given time.Time and assigns it to the SecurityScanStartedAt field. +func (o *PackageResponse) SetSecurityScanStartedAt(v time.Time) { o.SecurityScanStartedAt = &v } -// GetSecurityScanStatus returns the SecurityScanStatus field value if set, zero value otherwise. -func (o *PackageResync) GetSecurityScanStatus() string { - if o == nil || o.SecurityScanStatus == nil { +// GetSecurityScanStatus returns the SecurityScanStatus field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *PackageResponse) GetSecurityScanStatus() string { + if o == nil || isNil(o.SecurityScanStatus.Get()) { var ret string return ret } - return *o.SecurityScanStatus + return *o.SecurityScanStatus.Get() } // GetSecurityScanStatusOk returns a tuple with the SecurityScanStatus field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *PackageResync) GetSecurityScanStatusOk() (*string, bool) { - if o == nil || o.SecurityScanStatus == nil { +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *PackageResponse) GetSecurityScanStatusOk() (*string, bool) { + if o == nil { return nil, false } - return o.SecurityScanStatus, true + return o.SecurityScanStatus.Get(), o.SecurityScanStatus.IsSet() } // HasSecurityScanStatus returns a boolean if a field has been set. -func (o *PackageResync) HasSecurityScanStatus() bool { - if o != nil && o.SecurityScanStatus != nil { +func (o *PackageResponse) HasSecurityScanStatus() bool { + if o != nil && o.SecurityScanStatus.IsSet() { return true } return false } -// SetSecurityScanStatus gets a reference to the given string and assigns it to the SecurityScanStatus field. -func (o *PackageResync) SetSecurityScanStatus(v string) { - o.SecurityScanStatus = &v +// SetSecurityScanStatus gets a reference to the given NullableString and assigns it to the SecurityScanStatus field. +func (o *PackageResponse) SetSecurityScanStatus(v string) { + o.SecurityScanStatus.Set(&v) +} + +// SetSecurityScanStatusNil sets the value for SecurityScanStatus to be an explicit nil +func (o *PackageResponse) SetSecurityScanStatusNil() { + o.SecurityScanStatus.Set(nil) +} + +// UnsetSecurityScanStatus ensures that no value is present for SecurityScanStatus, not even an explicit nil +func (o *PackageResponse) UnsetSecurityScanStatus() { + o.SecurityScanStatus.Unset() } // GetSecurityScanStatusUpdatedAt returns the SecurityScanStatusUpdatedAt field value if set, zero value otherwise. -func (o *PackageResync) GetSecurityScanStatusUpdatedAt() string { - if o == nil || o.SecurityScanStatusUpdatedAt == nil { - var ret string +func (o *PackageResponse) GetSecurityScanStatusUpdatedAt() time.Time { + if o == nil || isNil(o.SecurityScanStatusUpdatedAt) { + var ret time.Time return ret } return *o.SecurityScanStatusUpdatedAt @@ -1429,30 +1487,30 @@ func (o *PackageResync) GetSecurityScanStatusUpdatedAt() string { // GetSecurityScanStatusUpdatedAtOk returns a tuple with the SecurityScanStatusUpdatedAt field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *PackageResync) GetSecurityScanStatusUpdatedAtOk() (*string, bool) { - if o == nil || o.SecurityScanStatusUpdatedAt == nil { +func (o *PackageResponse) GetSecurityScanStatusUpdatedAtOk() (*time.Time, bool) { + if o == nil || isNil(o.SecurityScanStatusUpdatedAt) { return nil, false } return o.SecurityScanStatusUpdatedAt, true } // HasSecurityScanStatusUpdatedAt returns a boolean if a field has been set. -func (o *PackageResync) HasSecurityScanStatusUpdatedAt() bool { - if o != nil && o.SecurityScanStatusUpdatedAt != nil { +func (o *PackageResponse) HasSecurityScanStatusUpdatedAt() bool { + if o != nil && !isNil(o.SecurityScanStatusUpdatedAt) { return true } return false } -// SetSecurityScanStatusUpdatedAt gets a reference to the given string and assigns it to the SecurityScanStatusUpdatedAt field. -func (o *PackageResync) SetSecurityScanStatusUpdatedAt(v string) { +// SetSecurityScanStatusUpdatedAt gets a reference to the given time.Time and assigns it to the SecurityScanStatusUpdatedAt field. +func (o *PackageResponse) SetSecurityScanStatusUpdatedAt(v time.Time) { o.SecurityScanStatusUpdatedAt = &v } // GetSelfHtmlUrl returns the SelfHtmlUrl field value if set, zero value otherwise. -func (o *PackageResync) GetSelfHtmlUrl() string { - if o == nil || o.SelfHtmlUrl == nil { +func (o *PackageResponse) GetSelfHtmlUrl() string { + if o == nil || isNil(o.SelfHtmlUrl) { var ret string return ret } @@ -1461,16 +1519,16 @@ func (o *PackageResync) GetSelfHtmlUrl() string { // GetSelfHtmlUrlOk returns a tuple with the SelfHtmlUrl field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *PackageResync) GetSelfHtmlUrlOk() (*string, bool) { - if o == nil || o.SelfHtmlUrl == nil { +func (o *PackageResponse) GetSelfHtmlUrlOk() (*string, bool) { + if o == nil || isNil(o.SelfHtmlUrl) { return nil, false } return o.SelfHtmlUrl, true } // HasSelfHtmlUrl returns a boolean if a field has been set. -func (o *PackageResync) HasSelfHtmlUrl() bool { - if o != nil && o.SelfHtmlUrl != nil { +func (o *PackageResponse) HasSelfHtmlUrl() bool { + if o != nil && !isNil(o.SelfHtmlUrl) { return true } @@ -1478,13 +1536,13 @@ func (o *PackageResync) HasSelfHtmlUrl() bool { } // SetSelfHtmlUrl gets a reference to the given string and assigns it to the SelfHtmlUrl field. -func (o *PackageResync) SetSelfHtmlUrl(v string) { +func (o *PackageResponse) SetSelfHtmlUrl(v string) { o.SelfHtmlUrl = &v } // GetSelfUrl returns the SelfUrl field value if set, zero value otherwise. -func (o *PackageResync) GetSelfUrl() string { - if o == nil || o.SelfUrl == nil { +func (o *PackageResponse) GetSelfUrl() string { + if o == nil || isNil(o.SelfUrl) { var ret string return ret } @@ -1493,16 +1551,16 @@ func (o *PackageResync) GetSelfUrl() string { // GetSelfUrlOk returns a tuple with the SelfUrl field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *PackageResync) GetSelfUrlOk() (*string, bool) { - if o == nil || o.SelfUrl == nil { +func (o *PackageResponse) GetSelfUrlOk() (*string, bool) { + if o == nil || isNil(o.SelfUrl) { return nil, false } return o.SelfUrl, true } // HasSelfUrl returns a boolean if a field has been set. -func (o *PackageResync) HasSelfUrl() bool { - if o != nil && o.SelfUrl != nil { +func (o *PackageResponse) HasSelfUrl() bool { + if o != nil && !isNil(o.SelfUrl) { return true } @@ -1510,45 +1568,56 @@ func (o *PackageResync) HasSelfUrl() bool { } // SetSelfUrl gets a reference to the given string and assigns it to the SelfUrl field. -func (o *PackageResync) SetSelfUrl(v string) { +func (o *PackageResponse) SetSelfUrl(v string) { o.SelfUrl = &v } -// GetSignatureUrl returns the SignatureUrl field value if set, zero value otherwise. -func (o *PackageResync) GetSignatureUrl() string { - if o == nil || o.SignatureUrl == nil { +// GetSignatureUrl returns the SignatureUrl field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *PackageResponse) GetSignatureUrl() string { + if o == nil || isNil(o.SignatureUrl.Get()) { var ret string return ret } - return *o.SignatureUrl + return *o.SignatureUrl.Get() } // GetSignatureUrlOk returns a tuple with the SignatureUrl field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *PackageResync) GetSignatureUrlOk() (*string, bool) { - if o == nil || o.SignatureUrl == nil { +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *PackageResponse) GetSignatureUrlOk() (*string, bool) { + if o == nil { return nil, false } - return o.SignatureUrl, true + return o.SignatureUrl.Get(), o.SignatureUrl.IsSet() } // HasSignatureUrl returns a boolean if a field has been set. -func (o *PackageResync) HasSignatureUrl() bool { - if o != nil && o.SignatureUrl != nil { +func (o *PackageResponse) HasSignatureUrl() bool { + if o != nil && o.SignatureUrl.IsSet() { return true } return false } -// SetSignatureUrl gets a reference to the given string and assigns it to the SignatureUrl field. -func (o *PackageResync) SetSignatureUrl(v string) { - o.SignatureUrl = &v +// SetSignatureUrl gets a reference to the given NullableString and assigns it to the SignatureUrl field. +func (o *PackageResponse) SetSignatureUrl(v string) { + o.SignatureUrl.Set(&v) +} + +// SetSignatureUrlNil sets the value for SignatureUrl to be an explicit nil +func (o *PackageResponse) SetSignatureUrlNil() { + o.SignatureUrl.Set(nil) +} + +// UnsetSignatureUrl ensures that no value is present for SignatureUrl, not even an explicit nil +func (o *PackageResponse) UnsetSignatureUrl() { + o.SignatureUrl.Unset() } // GetSize returns the Size field value if set, zero value otherwise. -func (o *PackageResync) GetSize() int64 { - if o == nil || o.Size == nil { +func (o *PackageResponse) GetSize() int64 { + if o == nil || isNil(o.Size) { var ret int64 return ret } @@ -1557,16 +1626,16 @@ func (o *PackageResync) GetSize() int64 { // GetSizeOk returns a tuple with the Size field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *PackageResync) GetSizeOk() (*int64, bool) { - if o == nil || o.Size == nil { +func (o *PackageResponse) GetSizeOk() (*int64, bool) { + if o == nil || isNil(o.Size) { return nil, false } return o.Size, true } // HasSize returns a boolean if a field has been set. -func (o *PackageResync) HasSize() bool { - if o != nil && o.Size != nil { +func (o *PackageResponse) HasSize() bool { + if o != nil && !isNil(o.Size) { return true } @@ -1574,13 +1643,13 @@ func (o *PackageResync) HasSize() bool { } // SetSize gets a reference to the given int64 and assigns it to the Size field. -func (o *PackageResync) SetSize(v int64) { +func (o *PackageResponse) SetSize(v int64) { o.Size = &v } // GetSlug returns the Slug field value if set, zero value otherwise. -func (o *PackageResync) GetSlug() string { - if o == nil || o.Slug == nil { +func (o *PackageResponse) GetSlug() string { + if o == nil || isNil(o.Slug) { var ret string return ret } @@ -1589,16 +1658,16 @@ func (o *PackageResync) GetSlug() string { // GetSlugOk returns a tuple with the Slug field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *PackageResync) GetSlugOk() (*string, bool) { - if o == nil || o.Slug == nil { +func (o *PackageResponse) GetSlugOk() (*string, bool) { + if o == nil || isNil(o.Slug) { return nil, false } return o.Slug, true } // HasSlug returns a boolean if a field has been set. -func (o *PackageResync) HasSlug() bool { - if o != nil && o.Slug != nil { +func (o *PackageResponse) HasSlug() bool { + if o != nil && !isNil(o.Slug) { return true } @@ -1606,13 +1675,13 @@ func (o *PackageResync) HasSlug() bool { } // SetSlug gets a reference to the given string and assigns it to the Slug field. -func (o *PackageResync) SetSlug(v string) { +func (o *PackageResponse) SetSlug(v string) { o.Slug = &v } // GetSlugPerm returns the SlugPerm field value if set, zero value otherwise. -func (o *PackageResync) GetSlugPerm() string { - if o == nil || o.SlugPerm == nil { +func (o *PackageResponse) GetSlugPerm() string { + if o == nil || isNil(o.SlugPerm) { var ret string return ret } @@ -1621,16 +1690,16 @@ func (o *PackageResync) GetSlugPerm() string { // GetSlugPermOk returns a tuple with the SlugPerm field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *PackageResync) GetSlugPermOk() (*string, bool) { - if o == nil || o.SlugPerm == nil { +func (o *PackageResponse) GetSlugPermOk() (*string, bool) { + if o == nil || isNil(o.SlugPerm) { return nil, false } return o.SlugPerm, true } // HasSlugPerm returns a boolean if a field has been set. -func (o *PackageResync) HasSlugPerm() bool { - if o != nil && o.SlugPerm != nil { +func (o *PackageResponse) HasSlugPerm() bool { + if o != nil && !isNil(o.SlugPerm) { return true } @@ -1638,13 +1707,13 @@ func (o *PackageResync) HasSlugPerm() bool { } // SetSlugPerm gets a reference to the given string and assigns it to the SlugPerm field. -func (o *PackageResync) SetSlugPerm(v string) { +func (o *PackageResponse) SetSlugPerm(v string) { o.SlugPerm = &v } // GetStage returns the Stage field value if set, zero value otherwise. -func (o *PackageResync) GetStage() int64 { - if o == nil || o.Stage == nil { +func (o *PackageResponse) GetStage() int64 { + if o == nil || isNil(o.Stage) { var ret int64 return ret } @@ -1653,16 +1722,16 @@ func (o *PackageResync) GetStage() int64 { // GetStageOk returns a tuple with the Stage field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *PackageResync) GetStageOk() (*int64, bool) { - if o == nil || o.Stage == nil { +func (o *PackageResponse) GetStageOk() (*int64, bool) { + if o == nil || isNil(o.Stage) { return nil, false } return o.Stage, true } // HasStage returns a boolean if a field has been set. -func (o *PackageResync) HasStage() bool { - if o != nil && o.Stage != nil { +func (o *PackageResponse) HasStage() bool { + if o != nil && !isNil(o.Stage) { return true } @@ -1670,13 +1739,13 @@ func (o *PackageResync) HasStage() bool { } // SetStage gets a reference to the given int64 and assigns it to the Stage field. -func (o *PackageResync) SetStage(v int64) { +func (o *PackageResponse) SetStage(v int64) { o.Stage = &v } // GetStageStr returns the StageStr field value if set, zero value otherwise. -func (o *PackageResync) GetStageStr() string { - if o == nil || o.StageStr == nil { +func (o *PackageResponse) GetStageStr() string { + if o == nil || isNil(o.StageStr) { var ret string return ret } @@ -1685,16 +1754,16 @@ func (o *PackageResync) GetStageStr() string { // GetStageStrOk returns a tuple with the StageStr field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *PackageResync) GetStageStrOk() (*string, bool) { - if o == nil || o.StageStr == nil { +func (o *PackageResponse) GetStageStrOk() (*string, bool) { + if o == nil || isNil(o.StageStr) { return nil, false } return o.StageStr, true } // HasStageStr returns a boolean if a field has been set. -func (o *PackageResync) HasStageStr() bool { - if o != nil && o.StageStr != nil { +func (o *PackageResponse) HasStageStr() bool { + if o != nil && !isNil(o.StageStr) { return true } @@ -1702,14 +1771,14 @@ func (o *PackageResync) HasStageStr() bool { } // SetStageStr gets a reference to the given string and assigns it to the StageStr field. -func (o *PackageResync) SetStageStr(v string) { +func (o *PackageResponse) SetStageStr(v string) { o.StageStr = &v } // GetStageUpdatedAt returns the StageUpdatedAt field value if set, zero value otherwise. -func (o *PackageResync) GetStageUpdatedAt() string { - if o == nil || o.StageUpdatedAt == nil { - var ret string +func (o *PackageResponse) GetStageUpdatedAt() time.Time { + if o == nil || isNil(o.StageUpdatedAt) { + var ret time.Time return ret } return *o.StageUpdatedAt @@ -1717,30 +1786,30 @@ func (o *PackageResync) GetStageUpdatedAt() string { // GetStageUpdatedAtOk returns a tuple with the StageUpdatedAt field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *PackageResync) GetStageUpdatedAtOk() (*string, bool) { - if o == nil || o.StageUpdatedAt == nil { +func (o *PackageResponse) GetStageUpdatedAtOk() (*time.Time, bool) { + if o == nil || isNil(o.StageUpdatedAt) { return nil, false } return o.StageUpdatedAt, true } // HasStageUpdatedAt returns a boolean if a field has been set. -func (o *PackageResync) HasStageUpdatedAt() bool { - if o != nil && o.StageUpdatedAt != nil { +func (o *PackageResponse) HasStageUpdatedAt() bool { + if o != nil && !isNil(o.StageUpdatedAt) { return true } return false } -// SetStageUpdatedAt gets a reference to the given string and assigns it to the StageUpdatedAt field. -func (o *PackageResync) SetStageUpdatedAt(v string) { +// SetStageUpdatedAt gets a reference to the given time.Time and assigns it to the StageUpdatedAt field. +func (o *PackageResponse) SetStageUpdatedAt(v time.Time) { o.StageUpdatedAt = &v } // GetStatus returns the Status field value if set, zero value otherwise. -func (o *PackageResync) GetStatus() int64 { - if o == nil || o.Status == nil { +func (o *PackageResponse) GetStatus() int64 { + if o == nil || isNil(o.Status) { var ret int64 return ret } @@ -1749,16 +1818,16 @@ func (o *PackageResync) GetStatus() int64 { // GetStatusOk returns a tuple with the Status field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *PackageResync) GetStatusOk() (*int64, bool) { - if o == nil || o.Status == nil { +func (o *PackageResponse) GetStatusOk() (*int64, bool) { + if o == nil || isNil(o.Status) { return nil, false } return o.Status, true } // HasStatus returns a boolean if a field has been set. -func (o *PackageResync) HasStatus() bool { - if o != nil && o.Status != nil { +func (o *PackageResponse) HasStatus() bool { + if o != nil && !isNil(o.Status) { return true } @@ -1766,13 +1835,13 @@ func (o *PackageResync) HasStatus() bool { } // SetStatus gets a reference to the given int64 and assigns it to the Status field. -func (o *PackageResync) SetStatus(v int64) { +func (o *PackageResponse) SetStatus(v int64) { o.Status = &v } // GetStatusReason returns the StatusReason field value if set, zero value otherwise. -func (o *PackageResync) GetStatusReason() string { - if o == nil || o.StatusReason == nil { +func (o *PackageResponse) GetStatusReason() string { + if o == nil || isNil(o.StatusReason) { var ret string return ret } @@ -1781,16 +1850,16 @@ func (o *PackageResync) GetStatusReason() string { // GetStatusReasonOk returns a tuple with the StatusReason field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *PackageResync) GetStatusReasonOk() (*string, bool) { - if o == nil || o.StatusReason == nil { +func (o *PackageResponse) GetStatusReasonOk() (*string, bool) { + if o == nil || isNil(o.StatusReason) { return nil, false } return o.StatusReason, true } // HasStatusReason returns a boolean if a field has been set. -func (o *PackageResync) HasStatusReason() bool { - if o != nil && o.StatusReason != nil { +func (o *PackageResponse) HasStatusReason() bool { + if o != nil && !isNil(o.StatusReason) { return true } @@ -1798,13 +1867,13 @@ func (o *PackageResync) HasStatusReason() bool { } // SetStatusReason gets a reference to the given string and assigns it to the StatusReason field. -func (o *PackageResync) SetStatusReason(v string) { +func (o *PackageResponse) SetStatusReason(v string) { o.StatusReason = &v } // GetStatusStr returns the StatusStr field value if set, zero value otherwise. -func (o *PackageResync) GetStatusStr() string { - if o == nil || o.StatusStr == nil { +func (o *PackageResponse) GetStatusStr() string { + if o == nil || isNil(o.StatusStr) { var ret string return ret } @@ -1813,16 +1882,16 @@ func (o *PackageResync) GetStatusStr() string { // GetStatusStrOk returns a tuple with the StatusStr field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *PackageResync) GetStatusStrOk() (*string, bool) { - if o == nil || o.StatusStr == nil { +func (o *PackageResponse) GetStatusStrOk() (*string, bool) { + if o == nil || isNil(o.StatusStr) { return nil, false } return o.StatusStr, true } // HasStatusStr returns a boolean if a field has been set. -func (o *PackageResync) HasStatusStr() bool { - if o != nil && o.StatusStr != nil { +func (o *PackageResponse) HasStatusStr() bool { + if o != nil && !isNil(o.StatusStr) { return true } @@ -1830,14 +1899,14 @@ func (o *PackageResync) HasStatusStr() bool { } // SetStatusStr gets a reference to the given string and assigns it to the StatusStr field. -func (o *PackageResync) SetStatusStr(v string) { +func (o *PackageResponse) SetStatusStr(v string) { o.StatusStr = &v } // GetStatusUpdatedAt returns the StatusUpdatedAt field value if set, zero value otherwise. -func (o *PackageResync) GetStatusUpdatedAt() string { - if o == nil || o.StatusUpdatedAt == nil { - var ret string +func (o *PackageResponse) GetStatusUpdatedAt() time.Time { + if o == nil || isNil(o.StatusUpdatedAt) { + var ret time.Time return ret } return *o.StatusUpdatedAt @@ -1845,30 +1914,30 @@ func (o *PackageResync) GetStatusUpdatedAt() string { // GetStatusUpdatedAtOk returns a tuple with the StatusUpdatedAt field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *PackageResync) GetStatusUpdatedAtOk() (*string, bool) { - if o == nil || o.StatusUpdatedAt == nil { +func (o *PackageResponse) GetStatusUpdatedAtOk() (*time.Time, bool) { + if o == nil || isNil(o.StatusUpdatedAt) { return nil, false } return o.StatusUpdatedAt, true } // HasStatusUpdatedAt returns a boolean if a field has been set. -func (o *PackageResync) HasStatusUpdatedAt() bool { - if o != nil && o.StatusUpdatedAt != nil { +func (o *PackageResponse) HasStatusUpdatedAt() bool { + if o != nil && !isNil(o.StatusUpdatedAt) { return true } return false } -// SetStatusUpdatedAt gets a reference to the given string and assigns it to the StatusUpdatedAt field. -func (o *PackageResync) SetStatusUpdatedAt(v string) { +// SetStatusUpdatedAt gets a reference to the given time.Time and assigns it to the StatusUpdatedAt field. +func (o *PackageResponse) SetStatusUpdatedAt(v time.Time) { o.StatusUpdatedAt = &v } // GetStatusUrl returns the StatusUrl field value if set, zero value otherwise. -func (o *PackageResync) GetStatusUrl() string { - if o == nil || o.StatusUrl == nil { +func (o *PackageResponse) GetStatusUrl() string { + if o == nil || isNil(o.StatusUrl) { var ret string return ret } @@ -1877,16 +1946,16 @@ func (o *PackageResync) GetStatusUrl() string { // GetStatusUrlOk returns a tuple with the StatusUrl field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *PackageResync) GetStatusUrlOk() (*string, bool) { - if o == nil || o.StatusUrl == nil { +func (o *PackageResponse) GetStatusUrlOk() (*string, bool) { + if o == nil || isNil(o.StatusUrl) { return nil, false } return o.StatusUrl, true } // HasStatusUrl returns a boolean if a field has been set. -func (o *PackageResync) HasStatusUrl() bool { - if o != nil && o.StatusUrl != nil { +func (o *PackageResponse) HasStatusUrl() bool { + if o != nil && !isNil(o.StatusUrl) { return true } @@ -1894,13 +1963,13 @@ func (o *PackageResync) HasStatusUrl() bool { } // SetStatusUrl gets a reference to the given string and assigns it to the StatusUrl field. -func (o *PackageResync) SetStatusUrl(v string) { +func (o *PackageResponse) SetStatusUrl(v string) { o.StatusUrl = &v } // GetSubtype returns the Subtype field value if set, zero value otherwise. -func (o *PackageResync) GetSubtype() string { - if o == nil || o.Subtype == nil { +func (o *PackageResponse) GetSubtype() string { + if o == nil || isNil(o.Subtype) { var ret string return ret } @@ -1909,16 +1978,16 @@ func (o *PackageResync) GetSubtype() string { // GetSubtypeOk returns a tuple with the Subtype field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *PackageResync) GetSubtypeOk() (*string, bool) { - if o == nil || o.Subtype == nil { +func (o *PackageResponse) GetSubtypeOk() (*string, bool) { + if o == nil || isNil(o.Subtype) { return nil, false } return o.Subtype, true } // HasSubtype returns a boolean if a field has been set. -func (o *PackageResync) HasSubtype() bool { - if o != nil && o.Subtype != nil { +func (o *PackageResponse) HasSubtype() bool { + if o != nil && !isNil(o.Subtype) { return true } @@ -1926,13 +1995,13 @@ func (o *PackageResync) HasSubtype() bool { } // SetSubtype gets a reference to the given string and assigns it to the Subtype field. -func (o *PackageResync) SetSubtype(v string) { +func (o *PackageResponse) SetSubtype(v string) { o.Subtype = &v } // GetSummary returns the Summary field value if set, zero value otherwise. -func (o *PackageResync) GetSummary() string { - if o == nil || o.Summary == nil { +func (o *PackageResponse) GetSummary() string { + if o == nil || isNil(o.Summary) { var ret string return ret } @@ -1941,16 +2010,16 @@ func (o *PackageResync) GetSummary() string { // GetSummaryOk returns a tuple with the Summary field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *PackageResync) GetSummaryOk() (*string, bool) { - if o == nil || o.Summary == nil { +func (o *PackageResponse) GetSummaryOk() (*string, bool) { + if o == nil || isNil(o.Summary) { return nil, false } return o.Summary, true } // HasSummary returns a boolean if a field has been set. -func (o *PackageResync) HasSummary() bool { - if o != nil && o.Summary != nil { +func (o *PackageResponse) HasSummary() bool { + if o != nil && !isNil(o.Summary) { return true } @@ -1958,14 +2027,14 @@ func (o *PackageResync) HasSummary() bool { } // SetSummary gets a reference to the given string and assigns it to the Summary field. -func (o *PackageResync) SetSummary(v string) { +func (o *PackageResponse) SetSummary(v string) { o.Summary = &v } // GetSyncFinishedAt returns the SyncFinishedAt field value if set, zero value otherwise. -func (o *PackageResync) GetSyncFinishedAt() string { - if o == nil || o.SyncFinishedAt == nil { - var ret string +func (o *PackageResponse) GetSyncFinishedAt() time.Time { + if o == nil || isNil(o.SyncFinishedAt) { + var ret time.Time return ret } return *o.SyncFinishedAt @@ -1973,30 +2042,30 @@ func (o *PackageResync) GetSyncFinishedAt() string { // GetSyncFinishedAtOk returns a tuple with the SyncFinishedAt field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *PackageResync) GetSyncFinishedAtOk() (*string, bool) { - if o == nil || o.SyncFinishedAt == nil { +func (o *PackageResponse) GetSyncFinishedAtOk() (*time.Time, bool) { + if o == nil || isNil(o.SyncFinishedAt) { return nil, false } return o.SyncFinishedAt, true } // HasSyncFinishedAt returns a boolean if a field has been set. -func (o *PackageResync) HasSyncFinishedAt() bool { - if o != nil && o.SyncFinishedAt != nil { +func (o *PackageResponse) HasSyncFinishedAt() bool { + if o != nil && !isNil(o.SyncFinishedAt) { return true } return false } -// SetSyncFinishedAt gets a reference to the given string and assigns it to the SyncFinishedAt field. -func (o *PackageResync) SetSyncFinishedAt(v string) { +// SetSyncFinishedAt gets a reference to the given time.Time and assigns it to the SyncFinishedAt field. +func (o *PackageResponse) SetSyncFinishedAt(v time.Time) { o.SyncFinishedAt = &v } // GetSyncProgress returns the SyncProgress field value if set, zero value otherwise. -func (o *PackageResync) GetSyncProgress() int64 { - if o == nil || o.SyncProgress == nil { +func (o *PackageResponse) GetSyncProgress() int64 { + if o == nil || isNil(o.SyncProgress) { var ret int64 return ret } @@ -2005,16 +2074,16 @@ func (o *PackageResync) GetSyncProgress() int64 { // GetSyncProgressOk returns a tuple with the SyncProgress field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *PackageResync) GetSyncProgressOk() (*int64, bool) { - if o == nil || o.SyncProgress == nil { +func (o *PackageResponse) GetSyncProgressOk() (*int64, bool) { + if o == nil || isNil(o.SyncProgress) { return nil, false } return o.SyncProgress, true } // HasSyncProgress returns a boolean if a field has been set. -func (o *PackageResync) HasSyncProgress() bool { - if o != nil && o.SyncProgress != nil { +func (o *PackageResponse) HasSyncProgress() bool { + if o != nil && !isNil(o.SyncProgress) { return true } @@ -2022,13 +2091,13 @@ func (o *PackageResync) HasSyncProgress() bool { } // SetSyncProgress gets a reference to the given int64 and assigns it to the SyncProgress field. -func (o *PackageResync) SetSyncProgress(v int64) { +func (o *PackageResponse) SetSyncProgress(v int64) { o.SyncProgress = &v } // GetTags returns the Tags field value if set, zero value otherwise. -func (o *PackageResync) GetTags() map[string]interface{} { - if o == nil || o.Tags == nil { +func (o *PackageResponse) GetTags() map[string]interface{} { + if o == nil || isNil(o.Tags) { var ret map[string]interface{} return ret } @@ -2037,16 +2106,16 @@ func (o *PackageResync) GetTags() map[string]interface{} { // GetTagsOk returns a tuple with the Tags field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *PackageResync) GetTagsOk() (map[string]interface{}, bool) { - if o == nil || o.Tags == nil { - return nil, false +func (o *PackageResponse) GetTagsOk() (map[string]interface{}, bool) { + if o == nil || isNil(o.Tags) { + return map[string]interface{}{}, false } return o.Tags, true } // HasTags returns a boolean if a field has been set. -func (o *PackageResync) HasTags() bool { - if o != nil && o.Tags != nil { +func (o *PackageResponse) HasTags() bool { + if o != nil && !isNil(o.Tags) { return true } @@ -2054,13 +2123,13 @@ func (o *PackageResync) HasTags() bool { } // SetTags gets a reference to the given map[string]interface{} and assigns it to the Tags field. -func (o *PackageResync) SetTags(v map[string]interface{}) { +func (o *PackageResponse) SetTags(v map[string]interface{}) { o.Tags = v } // GetTagsImmutable returns the TagsImmutable field value if set, zero value otherwise. -func (o *PackageResync) GetTagsImmutable() map[string]interface{} { - if o == nil || o.TagsImmutable == nil { +func (o *PackageResponse) GetTagsImmutable() map[string]interface{} { + if o == nil || isNil(o.TagsImmutable) { var ret map[string]interface{} return ret } @@ -2069,16 +2138,16 @@ func (o *PackageResync) GetTagsImmutable() map[string]interface{} { // GetTagsImmutableOk returns a tuple with the TagsImmutable field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *PackageResync) GetTagsImmutableOk() (map[string]interface{}, bool) { - if o == nil || o.TagsImmutable == nil { - return nil, false +func (o *PackageResponse) GetTagsImmutableOk() (map[string]interface{}, bool) { + if o == nil || isNil(o.TagsImmutable) { + return map[string]interface{}{}, false } return o.TagsImmutable, true } // HasTagsImmutable returns a boolean if a field has been set. -func (o *PackageResync) HasTagsImmutable() bool { - if o != nil && o.TagsImmutable != nil { +func (o *PackageResponse) HasTagsImmutable() bool { + if o != nil && !isNil(o.TagsImmutable) { return true } @@ -2086,13 +2155,13 @@ func (o *PackageResync) HasTagsImmutable() bool { } // SetTagsImmutable gets a reference to the given map[string]interface{} and assigns it to the TagsImmutable field. -func (o *PackageResync) SetTagsImmutable(v map[string]interface{}) { +func (o *PackageResponse) SetTagsImmutable(v map[string]interface{}) { o.TagsImmutable = v } // GetTypeDisplay returns the TypeDisplay field value if set, zero value otherwise. -func (o *PackageResync) GetTypeDisplay() string { - if o == nil || o.TypeDisplay == nil { +func (o *PackageResponse) GetTypeDisplay() string { + if o == nil || isNil(o.TypeDisplay) { var ret string return ret } @@ -2101,16 +2170,16 @@ func (o *PackageResync) GetTypeDisplay() string { // GetTypeDisplayOk returns a tuple with the TypeDisplay field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *PackageResync) GetTypeDisplayOk() (*string, bool) { - if o == nil || o.TypeDisplay == nil { +func (o *PackageResponse) GetTypeDisplayOk() (*string, bool) { + if o == nil || isNil(o.TypeDisplay) { return nil, false } return o.TypeDisplay, true } // HasTypeDisplay returns a boolean if a field has been set. -func (o *PackageResync) HasTypeDisplay() bool { - if o != nil && o.TypeDisplay != nil { +func (o *PackageResponse) HasTypeDisplay() bool { + if o != nil && !isNil(o.TypeDisplay) { return true } @@ -2118,14 +2187,14 @@ func (o *PackageResync) HasTypeDisplay() bool { } // SetTypeDisplay gets a reference to the given string and assigns it to the TypeDisplay field. -func (o *PackageResync) SetTypeDisplay(v string) { +func (o *PackageResponse) SetTypeDisplay(v string) { o.TypeDisplay = &v } // GetUploadedAt returns the UploadedAt field value if set, zero value otherwise. -func (o *PackageResync) GetUploadedAt() string { - if o == nil || o.UploadedAt == nil { - var ret string +func (o *PackageResponse) GetUploadedAt() time.Time { + if o == nil || isNil(o.UploadedAt) { + var ret time.Time return ret } return *o.UploadedAt @@ -2133,30 +2202,30 @@ func (o *PackageResync) GetUploadedAt() string { // GetUploadedAtOk returns a tuple with the UploadedAt field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *PackageResync) GetUploadedAtOk() (*string, bool) { - if o == nil || o.UploadedAt == nil { +func (o *PackageResponse) GetUploadedAtOk() (*time.Time, bool) { + if o == nil || isNil(o.UploadedAt) { return nil, false } return o.UploadedAt, true } // HasUploadedAt returns a boolean if a field has been set. -func (o *PackageResync) HasUploadedAt() bool { - if o != nil && o.UploadedAt != nil { +func (o *PackageResponse) HasUploadedAt() bool { + if o != nil && !isNil(o.UploadedAt) { return true } return false } -// SetUploadedAt gets a reference to the given string and assigns it to the UploadedAt field. -func (o *PackageResync) SetUploadedAt(v string) { +// SetUploadedAt gets a reference to the given time.Time and assigns it to the UploadedAt field. +func (o *PackageResponse) SetUploadedAt(v time.Time) { o.UploadedAt = &v } // GetUploader returns the Uploader field value if set, zero value otherwise. -func (o *PackageResync) GetUploader() string { - if o == nil || o.Uploader == nil { +func (o *PackageResponse) GetUploader() string { + if o == nil || isNil(o.Uploader) { var ret string return ret } @@ -2165,16 +2234,16 @@ func (o *PackageResync) GetUploader() string { // GetUploaderOk returns a tuple with the Uploader field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *PackageResync) GetUploaderOk() (*string, bool) { - if o == nil || o.Uploader == nil { +func (o *PackageResponse) GetUploaderOk() (*string, bool) { + if o == nil || isNil(o.Uploader) { return nil, false } return o.Uploader, true } // HasUploader returns a boolean if a field has been set. -func (o *PackageResync) HasUploader() bool { - if o != nil && o.Uploader != nil { +func (o *PackageResponse) HasUploader() bool { + if o != nil && !isNil(o.Uploader) { return true } @@ -2182,13 +2251,13 @@ func (o *PackageResync) HasUploader() bool { } // SetUploader gets a reference to the given string and assigns it to the Uploader field. -func (o *PackageResync) SetUploader(v string) { +func (o *PackageResponse) SetUploader(v string) { o.Uploader = &v } // GetUploaderUrl returns the UploaderUrl field value if set, zero value otherwise. -func (o *PackageResync) GetUploaderUrl() string { - if o == nil || o.UploaderUrl == nil { +func (o *PackageResponse) GetUploaderUrl() string { + if o == nil || isNil(o.UploaderUrl) { var ret string return ret } @@ -2197,16 +2266,16 @@ func (o *PackageResync) GetUploaderUrl() string { // GetUploaderUrlOk returns a tuple with the UploaderUrl field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *PackageResync) GetUploaderUrlOk() (*string, bool) { - if o == nil || o.UploaderUrl == nil { +func (o *PackageResponse) GetUploaderUrlOk() (*string, bool) { + if o == nil || isNil(o.UploaderUrl) { return nil, false } return o.UploaderUrl, true } // HasUploaderUrl returns a boolean if a field has been set. -func (o *PackageResync) HasUploaderUrl() bool { - if o != nil && o.UploaderUrl != nil { +func (o *PackageResponse) HasUploaderUrl() bool { + if o != nil && !isNil(o.UploaderUrl) { return true } @@ -2214,13 +2283,13 @@ func (o *PackageResync) HasUploaderUrl() bool { } // SetUploaderUrl gets a reference to the given string and assigns it to the UploaderUrl field. -func (o *PackageResync) SetUploaderUrl(v string) { +func (o *PackageResponse) SetUploaderUrl(v string) { o.UploaderUrl = &v } // GetVersion returns the Version field value if set, zero value otherwise. -func (o *PackageResync) GetVersion() string { - if o == nil || o.Version == nil { +func (o *PackageResponse) GetVersion() string { + if o == nil || isNil(o.Version) { var ret string return ret } @@ -2229,16 +2298,16 @@ func (o *PackageResync) GetVersion() string { // GetVersionOk returns a tuple with the Version field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *PackageResync) GetVersionOk() (*string, bool) { - if o == nil || o.Version == nil { +func (o *PackageResponse) GetVersionOk() (*string, bool) { + if o == nil || isNil(o.Version) { return nil, false } return o.Version, true } // HasVersion returns a boolean if a field has been set. -func (o *PackageResync) HasVersion() bool { - if o != nil && o.Version != nil { +func (o *PackageResponse) HasVersion() bool { + if o != nil && !isNil(o.Version) { return true } @@ -2246,13 +2315,13 @@ func (o *PackageResync) HasVersion() bool { } // SetVersion gets a reference to the given string and assigns it to the Version field. -func (o *PackageResync) SetVersion(v string) { +func (o *PackageResponse) SetVersion(v string) { o.Version = &v } // GetVersionOrig returns the VersionOrig field value if set, zero value otherwise. -func (o *PackageResync) GetVersionOrig() string { - if o == nil || o.VersionOrig == nil { +func (o *PackageResponse) GetVersionOrig() string { + if o == nil || isNil(o.VersionOrig) { var ret string return ret } @@ -2261,16 +2330,16 @@ func (o *PackageResync) GetVersionOrig() string { // GetVersionOrigOk returns a tuple with the VersionOrig field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *PackageResync) GetVersionOrigOk() (*string, bool) { - if o == nil || o.VersionOrig == nil { +func (o *PackageResponse) GetVersionOrigOk() (*string, bool) { + if o == nil || isNil(o.VersionOrig) { return nil, false } return o.VersionOrig, true } // HasVersionOrig returns a boolean if a field has been set. -func (o *PackageResync) HasVersionOrig() bool { - if o != nil && o.VersionOrig != nil { +func (o *PackageResponse) HasVersionOrig() bool { + if o != nil && !isNil(o.VersionOrig) { return true } @@ -2278,13 +2347,13 @@ func (o *PackageResync) HasVersionOrig() bool { } // SetVersionOrig gets a reference to the given string and assigns it to the VersionOrig field. -func (o *PackageResync) SetVersionOrig(v string) { +func (o *PackageResponse) SetVersionOrig(v string) { o.VersionOrig = &v } // GetVulnerabilityScanResultsUrl returns the VulnerabilityScanResultsUrl field value if set, zero value otherwise. -func (o *PackageResync) GetVulnerabilityScanResultsUrl() string { - if o == nil || o.VulnerabilityScanResultsUrl == nil { +func (o *PackageResponse) GetVulnerabilityScanResultsUrl() string { + if o == nil || isNil(o.VulnerabilityScanResultsUrl) { var ret string return ret } @@ -2293,16 +2362,16 @@ func (o *PackageResync) GetVulnerabilityScanResultsUrl() string { // GetVulnerabilityScanResultsUrlOk returns a tuple with the VulnerabilityScanResultsUrl field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *PackageResync) GetVulnerabilityScanResultsUrlOk() (*string, bool) { - if o == nil || o.VulnerabilityScanResultsUrl == nil { +func (o *PackageResponse) GetVulnerabilityScanResultsUrlOk() (*string, bool) { + if o == nil || isNil(o.VulnerabilityScanResultsUrl) { return nil, false } return o.VulnerabilityScanResultsUrl, true } // HasVulnerabilityScanResultsUrl returns a boolean if a field has been set. -func (o *PackageResync) HasVulnerabilityScanResultsUrl() bool { - if o != nil && o.VulnerabilityScanResultsUrl != nil { +func (o *PackageResponse) HasVulnerabilityScanResultsUrl() bool { + if o != nil && !isNil(o.VulnerabilityScanResultsUrl) { return true } @@ -2310,248 +2379,254 @@ func (o *PackageResync) HasVulnerabilityScanResultsUrl() bool { } // SetVulnerabilityScanResultsUrl gets a reference to the given string and assigns it to the VulnerabilityScanResultsUrl field. -func (o *PackageResync) SetVulnerabilityScanResultsUrl(v string) { +func (o *PackageResponse) SetVulnerabilityScanResultsUrl(v string) { o.VulnerabilityScanResultsUrl = &v } -func (o PackageResync) MarshalJSON() ([]byte, error) { +func (o PackageResponse) MarshalJSON() ([]byte, error) { toSerialize := map[string]interface{}{} - if o.Architectures != nil { + if !isNil(o.Architectures) { toSerialize["architectures"] = o.Architectures } - if o.CdnUrl != nil { - toSerialize["cdn_url"] = o.CdnUrl + if o.CdnUrl.IsSet() { + toSerialize["cdn_url"] = o.CdnUrl.Get() } - if o.ChecksumMd5 != nil { + if !isNil(o.ChecksumMd5) { toSerialize["checksum_md5"] = o.ChecksumMd5 } - if o.ChecksumSha1 != nil { + if !isNil(o.ChecksumSha1) { toSerialize["checksum_sha1"] = o.ChecksumSha1 } - if o.ChecksumSha256 != nil { + if !isNil(o.ChecksumSha256) { toSerialize["checksum_sha256"] = o.ChecksumSha256 } - if o.ChecksumSha512 != nil { + if !isNil(o.ChecksumSha512) { toSerialize["checksum_sha512"] = o.ChecksumSha512 } - if o.DependenciesChecksumMd5 != nil { + if !isNil(o.DependenciesChecksumMd5) { toSerialize["dependencies_checksum_md5"] = o.DependenciesChecksumMd5 } - if o.DependenciesUrl != nil { + if !isNil(o.DependenciesUrl) { toSerialize["dependencies_url"] = o.DependenciesUrl } - if o.Description != nil { + if !isNil(o.Description) { toSerialize["description"] = o.Description } - if o.Distro != nil { - toSerialize["distro"] = o.Distro + if o.Distro.IsSet() { + toSerialize["distro"] = o.Distro.Get() } - if o.DistroVersion != nil { + if !isNil(o.DistroVersion) { toSerialize["distro_version"] = o.DistroVersion } - if o.Downloads != nil { + if !isNil(o.Downloads) { toSerialize["downloads"] = o.Downloads } - if o.Epoch != nil { + if !isNil(o.Epoch) { toSerialize["epoch"] = o.Epoch } - if o.Extension != nil { + if !isNil(o.Extension) { toSerialize["extension"] = o.Extension } - if o.Filename != nil { + if !isNil(o.Filename) { toSerialize["filename"] = o.Filename } - if o.Files != nil { + if !isNil(o.Files) { toSerialize["files"] = o.Files } - if o.Format != nil { + if !isNil(o.Format) { toSerialize["format"] = o.Format } - if o.FormatUrl != nil { + if !isNil(o.FormatUrl) { toSerialize["format_url"] = o.FormatUrl } - if o.IdentifierPerm != nil { + if !isNil(o.IdentifierPerm) { toSerialize["identifier_perm"] = o.IdentifierPerm } - if o.Indexed != nil { + if !isNil(o.Indexed) { toSerialize["indexed"] = o.Indexed } - if o.IsDownloadable != nil { + if !isNil(o.IsDownloadable) { toSerialize["is_downloadable"] = o.IsDownloadable } - if o.IsQuarantined != nil { + if !isNil(o.IsQuarantined) { toSerialize["is_quarantined"] = o.IsQuarantined } - if o.IsSyncAwaiting != nil { + if !isNil(o.IsSyncAwaiting) { toSerialize["is_sync_awaiting"] = o.IsSyncAwaiting } - if o.IsSyncCompleted != nil { + if !isNil(o.IsSyncCompleted) { toSerialize["is_sync_completed"] = o.IsSyncCompleted } - if o.IsSyncFailed != nil { + if !isNil(o.IsSyncFailed) { toSerialize["is_sync_failed"] = o.IsSyncFailed } - if o.IsSyncInFlight != nil { + if !isNil(o.IsSyncInFlight) { toSerialize["is_sync_in_flight"] = o.IsSyncInFlight } - if o.IsSyncInProgress != nil { + if !isNil(o.IsSyncInProgress) { toSerialize["is_sync_in_progress"] = o.IsSyncInProgress } - if o.License != nil { + if !isNil(o.License) { toSerialize["license"] = o.License } - if o.Name != nil { + if !isNil(o.Name) { toSerialize["name"] = o.Name } - if o.Namespace != nil { + if !isNil(o.Namespace) { toSerialize["namespace"] = o.Namespace } - if o.NamespaceUrl != nil { + if !isNil(o.NamespaceUrl) { toSerialize["namespace_url"] = o.NamespaceUrl } - if o.NumFiles != nil { + if !isNil(o.NumFiles) { toSerialize["num_files"] = o.NumFiles } - if o.PackageType != nil { + if !isNil(o.OriginRepository) { + toSerialize["origin_repository"] = o.OriginRepository + } + if !isNil(o.OriginRepositoryUrl) { + toSerialize["origin_repository_url"] = o.OriginRepositoryUrl + } + if !isNil(o.PackageType) { toSerialize["package_type"] = o.PackageType } - if o.Release != nil { + if !isNil(o.Release) { toSerialize["release"] = o.Release } - if o.Repository != nil { + if !isNil(o.Repository) { toSerialize["repository"] = o.Repository } - if o.RepositoryUrl != nil { + if !isNil(o.RepositoryUrl) { toSerialize["repository_url"] = o.RepositoryUrl } - if o.SecurityScanCompletedAt != nil { + if !isNil(o.SecurityScanCompletedAt) { toSerialize["security_scan_completed_at"] = o.SecurityScanCompletedAt } - if o.SecurityScanStartedAt != nil { + if !isNil(o.SecurityScanStartedAt) { toSerialize["security_scan_started_at"] = o.SecurityScanStartedAt } - if o.SecurityScanStatus != nil { - toSerialize["security_scan_status"] = o.SecurityScanStatus + if o.SecurityScanStatus.IsSet() { + toSerialize["security_scan_status"] = o.SecurityScanStatus.Get() } - if o.SecurityScanStatusUpdatedAt != nil { + if !isNil(o.SecurityScanStatusUpdatedAt) { toSerialize["security_scan_status_updated_at"] = o.SecurityScanStatusUpdatedAt } - if o.SelfHtmlUrl != nil { + if !isNil(o.SelfHtmlUrl) { toSerialize["self_html_url"] = o.SelfHtmlUrl } - if o.SelfUrl != nil { + if !isNil(o.SelfUrl) { toSerialize["self_url"] = o.SelfUrl } - if o.SignatureUrl != nil { - toSerialize["signature_url"] = o.SignatureUrl + if o.SignatureUrl.IsSet() { + toSerialize["signature_url"] = o.SignatureUrl.Get() } - if o.Size != nil { + if !isNil(o.Size) { toSerialize["size"] = o.Size } - if o.Slug != nil { + if !isNil(o.Slug) { toSerialize["slug"] = o.Slug } - if o.SlugPerm != nil { + if !isNil(o.SlugPerm) { toSerialize["slug_perm"] = o.SlugPerm } - if o.Stage != nil { + if !isNil(o.Stage) { toSerialize["stage"] = o.Stage } - if o.StageStr != nil { + if !isNil(o.StageStr) { toSerialize["stage_str"] = o.StageStr } - if o.StageUpdatedAt != nil { + if !isNil(o.StageUpdatedAt) { toSerialize["stage_updated_at"] = o.StageUpdatedAt } - if o.Status != nil { + if !isNil(o.Status) { toSerialize["status"] = o.Status } - if o.StatusReason != nil { + if !isNil(o.StatusReason) { toSerialize["status_reason"] = o.StatusReason } - if o.StatusStr != nil { + if !isNil(o.StatusStr) { toSerialize["status_str"] = o.StatusStr } - if o.StatusUpdatedAt != nil { + if !isNil(o.StatusUpdatedAt) { toSerialize["status_updated_at"] = o.StatusUpdatedAt } - if o.StatusUrl != nil { + if !isNil(o.StatusUrl) { toSerialize["status_url"] = o.StatusUrl } - if o.Subtype != nil { + if !isNil(o.Subtype) { toSerialize["subtype"] = o.Subtype } - if o.Summary != nil { + if !isNil(o.Summary) { toSerialize["summary"] = o.Summary } - if o.SyncFinishedAt != nil { + if !isNil(o.SyncFinishedAt) { toSerialize["sync_finished_at"] = o.SyncFinishedAt } - if o.SyncProgress != nil { + if !isNil(o.SyncProgress) { toSerialize["sync_progress"] = o.SyncProgress } - if o.Tags != nil { + if !isNil(o.Tags) { toSerialize["tags"] = o.Tags } - if o.TagsImmutable != nil { + if !isNil(o.TagsImmutable) { toSerialize["tags_immutable"] = o.TagsImmutable } - if o.TypeDisplay != nil { + if !isNil(o.TypeDisplay) { toSerialize["type_display"] = o.TypeDisplay } - if o.UploadedAt != nil { + if !isNil(o.UploadedAt) { toSerialize["uploaded_at"] = o.UploadedAt } - if o.Uploader != nil { + if !isNil(o.Uploader) { toSerialize["uploader"] = o.Uploader } - if o.UploaderUrl != nil { + if !isNil(o.UploaderUrl) { toSerialize["uploader_url"] = o.UploaderUrl } - if o.Version != nil { + if !isNil(o.Version) { toSerialize["version"] = o.Version } - if o.VersionOrig != nil { + if !isNil(o.VersionOrig) { toSerialize["version_orig"] = o.VersionOrig } - if o.VulnerabilityScanResultsUrl != nil { + if !isNil(o.VulnerabilityScanResultsUrl) { toSerialize["vulnerability_scan_results_url"] = o.VulnerabilityScanResultsUrl } return json.Marshal(toSerialize) } -type NullablePackageResync struct { - value *PackageResync +type NullablePackageResponse struct { + value *PackageResponse isSet bool } -func (v NullablePackageResync) Get() *PackageResync { +func (v NullablePackageResponse) Get() *PackageResponse { return v.value } -func (v *NullablePackageResync) Set(val *PackageResync) { +func (v *NullablePackageResponse) Set(val *PackageResponse) { v.value = val v.isSet = true } -func (v NullablePackageResync) IsSet() bool { +func (v NullablePackageResponse) IsSet() bool { return v.isSet } -func (v *NullablePackageResync) Unset() { +func (v *NullablePackageResponse) Unset() { v.value = nil v.isSet = false } -func NewNullablePackageResync(val *PackageResync) *NullablePackageResync { - return &NullablePackageResync{value: val, isSet: true} +func NewNullablePackageResponse(val *PackageResponse) *NullablePackageResponse { + return &NullablePackageResponse{value: val, isSet: true} } -func (v NullablePackageResync) MarshalJSON() ([]byte, error) { +func (v NullablePackageResponse) MarshalJSON() ([]byte, error) { return json.Marshal(v.value) } -func (v *NullablePackageResync) UnmarshalJSON(src []byte) error { +func (v *NullablePackageResponse) UnmarshalJSON(src []byte) error { v.isSet = true return json.Unmarshal(src, &v.value) } diff --git a/model_package_copy.go b/model_package_resync_response.go similarity index 52% rename from model_package_copy.go rename to model_package_resync_response.go index 15429edd..cecb23c1 100644 --- a/model_package_copy.go +++ b/model_package_resync_response.go @@ -1,9 +1,9 @@ /* -Cloudsmith API +Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.121.3 +API version: 1.181.6 Contact: support@cloudsmith.io */ @@ -13,167 +13,128 @@ package cloudsmith import ( "encoding/json" + "time" ) -// PackageCopy struct for PackageCopy -type PackageCopy struct { - // - Architectures []PackagesOwnerRepoArchitectures `json:"architectures,omitempty"` - // - CdnUrl *string `json:"cdn_url,omitempty"` - // - ChecksumMd5 *string `json:"checksum_md5,omitempty"` - // - ChecksumSha1 *string `json:"checksum_sha1,omitempty"` - // - ChecksumSha256 *string `json:"checksum_sha256,omitempty"` - // - ChecksumSha512 *string `json:"checksum_sha512,omitempty"` +// PackageResyncResponse struct for PackageResyncResponse +type PackageResyncResponse struct { + Architectures []Architecture `json:"architectures,omitempty"` + CdnUrl NullableString `json:"cdn_url,omitempty"` + ChecksumMd5 *string `json:"checksum_md5,omitempty"` + ChecksumSha1 *string `json:"checksum_sha1,omitempty"` + ChecksumSha256 *string `json:"checksum_sha256,omitempty"` + ChecksumSha512 *string `json:"checksum_sha512,omitempty"` // A checksum of all of the package's dependencies. DependenciesChecksumMd5 *string `json:"dependencies_checksum_md5,omitempty"` - // - DependenciesUrl *string `json:"dependencies_url,omitempty"` + DependenciesUrl *string `json:"dependencies_url,omitempty"` // A textual description of this package. - Description *string `json:"description,omitempty"` - // - Distro map[string]interface{} `json:"distro,omitempty"` - // - DistroVersion map[string]interface{} `json:"distro_version,omitempty"` - // - Downloads *int64 `json:"downloads,omitempty"` + Description *string `json:"description,omitempty"` + Distro NullableDistribution `json:"distro,omitempty"` + DistroVersion *DistributionVersion `json:"distro_version,omitempty"` + Downloads *int64 `json:"downloads,omitempty"` // The epoch of the package version (if any). - Epoch *int64 `json:"epoch,omitempty"` - // - Extension *string `json:"extension,omitempty"` - // - Filename *string `json:"filename,omitempty"` - // - Files []PackagesOwnerRepoFiles `json:"files,omitempty"` - // - Format *string `json:"format,omitempty"` - // - FormatUrl *string `json:"format_url,omitempty"` + Epoch *int64 `json:"epoch,omitempty"` + Extension *string `json:"extension,omitempty"` + Filename *string `json:"filename,omitempty"` + Files []PackageFile `json:"files,omitempty"` + Format *string `json:"format,omitempty"` + FormatUrl *string `json:"format_url,omitempty"` // Unique and permanent identifier for the package. - IdentifierPerm *string `json:"identifier_perm,omitempty"` - // - Indexed *bool `json:"indexed,omitempty"` - // - IsDownloadable *bool `json:"is_downloadable,omitempty"` - // - IsQuarantined *bool `json:"is_quarantined,omitempty"` - // - IsSyncAwaiting *bool `json:"is_sync_awaiting,omitempty"` - // - IsSyncCompleted *bool `json:"is_sync_completed,omitempty"` - // - IsSyncFailed *bool `json:"is_sync_failed,omitempty"` - // - IsSyncInFlight *bool `json:"is_sync_in_flight,omitempty"` - // - IsSyncInProgress *bool `json:"is_sync_in_progress,omitempty"` + IdentifierPerm *string `json:"identifier_perm,omitempty"` + Indexed *bool `json:"indexed,omitempty"` + IsDownloadable *bool `json:"is_downloadable,omitempty"` + IsQuarantined *bool `json:"is_quarantined,omitempty"` + IsSyncAwaiting *bool `json:"is_sync_awaiting,omitempty"` + IsSyncCompleted *bool `json:"is_sync_completed,omitempty"` + IsSyncFailed *bool `json:"is_sync_failed,omitempty"` + IsSyncInFlight *bool `json:"is_sync_in_flight,omitempty"` + IsSyncInProgress *bool `json:"is_sync_in_progress,omitempty"` // The license of this package. License *string `json:"license,omitempty"` // The name of this package. - Name *string `json:"name,omitempty"` - // - Namespace *string `json:"namespace,omitempty"` - // - NamespaceUrl *string `json:"namespace_url,omitempty"` - // - NumFiles *int64 `json:"num_files,omitempty"` + Name *string `json:"name,omitempty"` + Namespace *string `json:"namespace,omitempty"` + NamespaceUrl *string `json:"namespace_url,omitempty"` + NumFiles *int64 `json:"num_files,omitempty"` + OriginRepository *string `json:"origin_repository,omitempty"` + OriginRepositoryUrl *string `json:"origin_repository_url,omitempty"` // The type of package contents. PackageType *int64 `json:"package_type,omitempty"` // The release of the package version (if any). - Release *string `json:"release,omitempty"` - // The repository the package will be copied to. - Repository *string `json:"repository,omitempty"` - // + Release *string `json:"release,omitempty"` + Repository *string `json:"repository,omitempty"` RepositoryUrl *string `json:"repository_url,omitempty"` // The datetime the security scanning was completed. - SecurityScanCompletedAt *string `json:"security_scan_completed_at,omitempty"` + SecurityScanCompletedAt *time.Time `json:"security_scan_completed_at,omitempty"` // The datetime the security scanning was started. - SecurityScanStartedAt *string `json:"security_scan_started_at,omitempty"` - // - SecurityScanStatus *string `json:"security_scan_status,omitempty"` + SecurityScanStartedAt *time.Time `json:"security_scan_started_at,omitempty"` + SecurityScanStatus NullableString `json:"security_scan_status,omitempty"` // The datetime the security scanning status was updated. - SecurityScanStatusUpdatedAt *string `json:"security_scan_status_updated_at,omitempty"` - // - SelfHtmlUrl *string `json:"self_html_url,omitempty"` - // - SelfUrl *string `json:"self_url,omitempty"` - // - SignatureUrl *string `json:"signature_url,omitempty"` + SecurityScanStatusUpdatedAt *time.Time `json:"security_scan_status_updated_at,omitempty"` + SelfHtmlUrl *string `json:"self_html_url,omitempty"` + SelfUrl *string `json:"self_url,omitempty"` + SignatureUrl NullableString `json:"signature_url,omitempty"` // The calculated size of the package. Size *int64 `json:"size,omitempty"` // The public unique identifier for the package. - Slug *string `json:"slug,omitempty"` - // + Slug *string `json:"slug,omitempty"` SlugPerm *string `json:"slug_perm,omitempty"` // The synchronisation (in progress) stage of the package. - Stage *int64 `json:"stage,omitempty"` - // + Stage *int64 `json:"stage,omitempty"` StageStr *string `json:"stage_str,omitempty"` // The datetime the package stage was updated at. - StageUpdatedAt *string `json:"stage_updated_at,omitempty"` + StageUpdatedAt *time.Time `json:"stage_updated_at,omitempty"` // The synchronisation status of the package. Status *int64 `json:"status,omitempty"` // A textual description for the synchronous status reason (if any StatusReason *string `json:"status_reason,omitempty"` - // - StatusStr *string `json:"status_str,omitempty"` + StatusStr *string `json:"status_str,omitempty"` // The datetime the package status was updated at. - StatusUpdatedAt *string `json:"status_updated_at,omitempty"` - // - StatusUrl *string `json:"status_url,omitempty"` - // - Subtype *string `json:"subtype,omitempty"` + StatusUpdatedAt *time.Time `json:"status_updated_at,omitempty"` + StatusUrl *string `json:"status_url,omitempty"` + Subtype *string `json:"subtype,omitempty"` // A one-liner synopsis of this package. Summary *string `json:"summary,omitempty"` // The datetime the package sync was finished at. - SyncFinishedAt *string `json:"sync_finished_at,omitempty"` + SyncFinishedAt *time.Time `json:"sync_finished_at,omitempty"` // Synchronisation progress (from 0-100) SyncProgress *int64 `json:"sync_progress,omitempty"` // All tags on the package, grouped by tag type. This includes immutable tags, but doesn't distinguish them from mutable. To see which tags are immutable specifically, see the tags_immutable field. Tags map[string]interface{} `json:"tags,omitempty"` - // All immutable tags on the package, grouped by tag type. Immutable tags cannot be (easily) deleted. + // All tags on the package, grouped by tag type. This includes immutable tags, but doesn't distinguish them from mutable. To see which tags are immutable specifically, see the tags_immutable field. TagsImmutable map[string]interface{} `json:"tags_immutable,omitempty"` - // - TypeDisplay *string `json:"type_display,omitempty"` + TypeDisplay *string `json:"type_display,omitempty"` // The date this package was uploaded. - UploadedAt *string `json:"uploaded_at,omitempty"` - // - Uploader *string `json:"uploader,omitempty"` - // - UploaderUrl *string `json:"uploader_url,omitempty"` + UploadedAt *time.Time `json:"uploaded_at,omitempty"` + Uploader *string `json:"uploader,omitempty"` + UploaderUrl *string `json:"uploader_url,omitempty"` // The raw version for this package. - Version *string `json:"version,omitempty"` - // - VersionOrig *string `json:"version_orig,omitempty"` - // + Version *string `json:"version,omitempty"` + VersionOrig *string `json:"version_orig,omitempty"` VulnerabilityScanResultsUrl *string `json:"vulnerability_scan_results_url,omitempty"` } -// NewPackageCopy instantiates a new PackageCopy object +// NewPackageResyncResponse instantiates a new PackageResyncResponse object // 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 NewPackageCopy() *PackageCopy { - this := PackageCopy{} +func NewPackageResyncResponse() *PackageResyncResponse { + this := PackageResyncResponse{} return &this } -// NewPackageCopyWithDefaults instantiates a new PackageCopy object +// NewPackageResyncResponseWithDefaults instantiates a new PackageResyncResponse object // This constructor will only assign default values to properties that have it defined, // but it doesn't guarantee that properties required by API are set -func NewPackageCopyWithDefaults() *PackageCopy { - this := PackageCopy{} +func NewPackageResyncResponseWithDefaults() *PackageResyncResponse { + this := PackageResyncResponse{} return &this } // GetArchitectures returns the Architectures field value if set, zero value otherwise. -func (o *PackageCopy) GetArchitectures() []PackagesOwnerRepoArchitectures { - if o == nil || o.Architectures == nil { - var ret []PackagesOwnerRepoArchitectures +func (o *PackageResyncResponse) GetArchitectures() []Architecture { + if o == nil || isNil(o.Architectures) { + var ret []Architecture return ret } return o.Architectures @@ -181,62 +142,73 @@ func (o *PackageCopy) GetArchitectures() []PackagesOwnerRepoArchitectures { // GetArchitecturesOk returns a tuple with the Architectures field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *PackageCopy) GetArchitecturesOk() ([]PackagesOwnerRepoArchitectures, bool) { - if o == nil || o.Architectures == nil { +func (o *PackageResyncResponse) GetArchitecturesOk() ([]Architecture, bool) { + if o == nil || isNil(o.Architectures) { return nil, false } return o.Architectures, true } // HasArchitectures returns a boolean if a field has been set. -func (o *PackageCopy) HasArchitectures() bool { - if o != nil && o.Architectures != nil { +func (o *PackageResyncResponse) HasArchitectures() bool { + if o != nil && !isNil(o.Architectures) { return true } return false } -// SetArchitectures gets a reference to the given []PackagesOwnerRepoArchitectures and assigns it to the Architectures field. -func (o *PackageCopy) SetArchitectures(v []PackagesOwnerRepoArchitectures) { +// SetArchitectures gets a reference to the given []Architecture and assigns it to the Architectures field. +func (o *PackageResyncResponse) SetArchitectures(v []Architecture) { o.Architectures = v } -// GetCdnUrl returns the CdnUrl field value if set, zero value otherwise. -func (o *PackageCopy) GetCdnUrl() string { - if o == nil || o.CdnUrl == nil { +// GetCdnUrl returns the CdnUrl field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *PackageResyncResponse) GetCdnUrl() string { + if o == nil || isNil(o.CdnUrl.Get()) { var ret string return ret } - return *o.CdnUrl + return *o.CdnUrl.Get() } // GetCdnUrlOk returns a tuple with the CdnUrl field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *PackageCopy) GetCdnUrlOk() (*string, bool) { - if o == nil || o.CdnUrl == nil { +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *PackageResyncResponse) GetCdnUrlOk() (*string, bool) { + if o == nil { return nil, false } - return o.CdnUrl, true + return o.CdnUrl.Get(), o.CdnUrl.IsSet() } // HasCdnUrl returns a boolean if a field has been set. -func (o *PackageCopy) HasCdnUrl() bool { - if o != nil && o.CdnUrl != nil { +func (o *PackageResyncResponse) HasCdnUrl() bool { + if o != nil && o.CdnUrl.IsSet() { return true } return false } -// SetCdnUrl gets a reference to the given string and assigns it to the CdnUrl field. -func (o *PackageCopy) SetCdnUrl(v string) { - o.CdnUrl = &v +// SetCdnUrl gets a reference to the given NullableString and assigns it to the CdnUrl field. +func (o *PackageResyncResponse) SetCdnUrl(v string) { + o.CdnUrl.Set(&v) +} + +// SetCdnUrlNil sets the value for CdnUrl to be an explicit nil +func (o *PackageResyncResponse) SetCdnUrlNil() { + o.CdnUrl.Set(nil) +} + +// UnsetCdnUrl ensures that no value is present for CdnUrl, not even an explicit nil +func (o *PackageResyncResponse) UnsetCdnUrl() { + o.CdnUrl.Unset() } // GetChecksumMd5 returns the ChecksumMd5 field value if set, zero value otherwise. -func (o *PackageCopy) GetChecksumMd5() string { - if o == nil || o.ChecksumMd5 == nil { +func (o *PackageResyncResponse) GetChecksumMd5() string { + if o == nil || isNil(o.ChecksumMd5) { var ret string return ret } @@ -245,16 +217,16 @@ func (o *PackageCopy) GetChecksumMd5() string { // GetChecksumMd5Ok returns a tuple with the ChecksumMd5 field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *PackageCopy) GetChecksumMd5Ok() (*string, bool) { - if o == nil || o.ChecksumMd5 == nil { +func (o *PackageResyncResponse) GetChecksumMd5Ok() (*string, bool) { + if o == nil || isNil(o.ChecksumMd5) { return nil, false } return o.ChecksumMd5, true } // HasChecksumMd5 returns a boolean if a field has been set. -func (o *PackageCopy) HasChecksumMd5() bool { - if o != nil && o.ChecksumMd5 != nil { +func (o *PackageResyncResponse) HasChecksumMd5() bool { + if o != nil && !isNil(o.ChecksumMd5) { return true } @@ -262,13 +234,13 @@ func (o *PackageCopy) HasChecksumMd5() bool { } // SetChecksumMd5 gets a reference to the given string and assigns it to the ChecksumMd5 field. -func (o *PackageCopy) SetChecksumMd5(v string) { +func (o *PackageResyncResponse) SetChecksumMd5(v string) { o.ChecksumMd5 = &v } // GetChecksumSha1 returns the ChecksumSha1 field value if set, zero value otherwise. -func (o *PackageCopy) GetChecksumSha1() string { - if o == nil || o.ChecksumSha1 == nil { +func (o *PackageResyncResponse) GetChecksumSha1() string { + if o == nil || isNil(o.ChecksumSha1) { var ret string return ret } @@ -277,16 +249,16 @@ func (o *PackageCopy) GetChecksumSha1() string { // GetChecksumSha1Ok returns a tuple with the ChecksumSha1 field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *PackageCopy) GetChecksumSha1Ok() (*string, bool) { - if o == nil || o.ChecksumSha1 == nil { +func (o *PackageResyncResponse) GetChecksumSha1Ok() (*string, bool) { + if o == nil || isNil(o.ChecksumSha1) { return nil, false } return o.ChecksumSha1, true } // HasChecksumSha1 returns a boolean if a field has been set. -func (o *PackageCopy) HasChecksumSha1() bool { - if o != nil && o.ChecksumSha1 != nil { +func (o *PackageResyncResponse) HasChecksumSha1() bool { + if o != nil && !isNil(o.ChecksumSha1) { return true } @@ -294,13 +266,13 @@ func (o *PackageCopy) HasChecksumSha1() bool { } // SetChecksumSha1 gets a reference to the given string and assigns it to the ChecksumSha1 field. -func (o *PackageCopy) SetChecksumSha1(v string) { +func (o *PackageResyncResponse) SetChecksumSha1(v string) { o.ChecksumSha1 = &v } // GetChecksumSha256 returns the ChecksumSha256 field value if set, zero value otherwise. -func (o *PackageCopy) GetChecksumSha256() string { - if o == nil || o.ChecksumSha256 == nil { +func (o *PackageResyncResponse) GetChecksumSha256() string { + if o == nil || isNil(o.ChecksumSha256) { var ret string return ret } @@ -309,16 +281,16 @@ func (o *PackageCopy) GetChecksumSha256() string { // GetChecksumSha256Ok returns a tuple with the ChecksumSha256 field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *PackageCopy) GetChecksumSha256Ok() (*string, bool) { - if o == nil || o.ChecksumSha256 == nil { +func (o *PackageResyncResponse) GetChecksumSha256Ok() (*string, bool) { + if o == nil || isNil(o.ChecksumSha256) { return nil, false } return o.ChecksumSha256, true } // HasChecksumSha256 returns a boolean if a field has been set. -func (o *PackageCopy) HasChecksumSha256() bool { - if o != nil && o.ChecksumSha256 != nil { +func (o *PackageResyncResponse) HasChecksumSha256() bool { + if o != nil && !isNil(o.ChecksumSha256) { return true } @@ -326,13 +298,13 @@ func (o *PackageCopy) HasChecksumSha256() bool { } // SetChecksumSha256 gets a reference to the given string and assigns it to the ChecksumSha256 field. -func (o *PackageCopy) SetChecksumSha256(v string) { +func (o *PackageResyncResponse) SetChecksumSha256(v string) { o.ChecksumSha256 = &v } // GetChecksumSha512 returns the ChecksumSha512 field value if set, zero value otherwise. -func (o *PackageCopy) GetChecksumSha512() string { - if o == nil || o.ChecksumSha512 == nil { +func (o *PackageResyncResponse) GetChecksumSha512() string { + if o == nil || isNil(o.ChecksumSha512) { var ret string return ret } @@ -341,16 +313,16 @@ func (o *PackageCopy) GetChecksumSha512() string { // GetChecksumSha512Ok returns a tuple with the ChecksumSha512 field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *PackageCopy) GetChecksumSha512Ok() (*string, bool) { - if o == nil || o.ChecksumSha512 == nil { +func (o *PackageResyncResponse) GetChecksumSha512Ok() (*string, bool) { + if o == nil || isNil(o.ChecksumSha512) { return nil, false } return o.ChecksumSha512, true } // HasChecksumSha512 returns a boolean if a field has been set. -func (o *PackageCopy) HasChecksumSha512() bool { - if o != nil && o.ChecksumSha512 != nil { +func (o *PackageResyncResponse) HasChecksumSha512() bool { + if o != nil && !isNil(o.ChecksumSha512) { return true } @@ -358,13 +330,13 @@ func (o *PackageCopy) HasChecksumSha512() bool { } // SetChecksumSha512 gets a reference to the given string and assigns it to the ChecksumSha512 field. -func (o *PackageCopy) SetChecksumSha512(v string) { +func (o *PackageResyncResponse) SetChecksumSha512(v string) { o.ChecksumSha512 = &v } // GetDependenciesChecksumMd5 returns the DependenciesChecksumMd5 field value if set, zero value otherwise. -func (o *PackageCopy) GetDependenciesChecksumMd5() string { - if o == nil || o.DependenciesChecksumMd5 == nil { +func (o *PackageResyncResponse) GetDependenciesChecksumMd5() string { + if o == nil || isNil(o.DependenciesChecksumMd5) { var ret string return ret } @@ -373,16 +345,16 @@ func (o *PackageCopy) GetDependenciesChecksumMd5() string { // GetDependenciesChecksumMd5Ok returns a tuple with the DependenciesChecksumMd5 field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *PackageCopy) GetDependenciesChecksumMd5Ok() (*string, bool) { - if o == nil || o.DependenciesChecksumMd5 == nil { +func (o *PackageResyncResponse) GetDependenciesChecksumMd5Ok() (*string, bool) { + if o == nil || isNil(o.DependenciesChecksumMd5) { return nil, false } return o.DependenciesChecksumMd5, true } // HasDependenciesChecksumMd5 returns a boolean if a field has been set. -func (o *PackageCopy) HasDependenciesChecksumMd5() bool { - if o != nil && o.DependenciesChecksumMd5 != nil { +func (o *PackageResyncResponse) HasDependenciesChecksumMd5() bool { + if o != nil && !isNil(o.DependenciesChecksumMd5) { return true } @@ -390,13 +362,13 @@ func (o *PackageCopy) HasDependenciesChecksumMd5() bool { } // SetDependenciesChecksumMd5 gets a reference to the given string and assigns it to the DependenciesChecksumMd5 field. -func (o *PackageCopy) SetDependenciesChecksumMd5(v string) { +func (o *PackageResyncResponse) SetDependenciesChecksumMd5(v string) { o.DependenciesChecksumMd5 = &v } // GetDependenciesUrl returns the DependenciesUrl field value if set, zero value otherwise. -func (o *PackageCopy) GetDependenciesUrl() string { - if o == nil || o.DependenciesUrl == nil { +func (o *PackageResyncResponse) GetDependenciesUrl() string { + if o == nil || isNil(o.DependenciesUrl) { var ret string return ret } @@ -405,16 +377,16 @@ func (o *PackageCopy) GetDependenciesUrl() string { // GetDependenciesUrlOk returns a tuple with the DependenciesUrl field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *PackageCopy) GetDependenciesUrlOk() (*string, bool) { - if o == nil || o.DependenciesUrl == nil { +func (o *PackageResyncResponse) GetDependenciesUrlOk() (*string, bool) { + if o == nil || isNil(o.DependenciesUrl) { return nil, false } return o.DependenciesUrl, true } // HasDependenciesUrl returns a boolean if a field has been set. -func (o *PackageCopy) HasDependenciesUrl() bool { - if o != nil && o.DependenciesUrl != nil { +func (o *PackageResyncResponse) HasDependenciesUrl() bool { + if o != nil && !isNil(o.DependenciesUrl) { return true } @@ -422,13 +394,13 @@ func (o *PackageCopy) HasDependenciesUrl() bool { } // SetDependenciesUrl gets a reference to the given string and assigns it to the DependenciesUrl field. -func (o *PackageCopy) SetDependenciesUrl(v string) { +func (o *PackageResyncResponse) SetDependenciesUrl(v string) { o.DependenciesUrl = &v } // GetDescription returns the Description field value if set, zero value otherwise. -func (o *PackageCopy) GetDescription() string { - if o == nil || o.Description == nil { +func (o *PackageResyncResponse) GetDescription() string { + if o == nil || isNil(o.Description) { var ret string return ret } @@ -437,16 +409,16 @@ func (o *PackageCopy) GetDescription() string { // GetDescriptionOk returns a tuple with the Description field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *PackageCopy) GetDescriptionOk() (*string, bool) { - if o == nil || o.Description == nil { +func (o *PackageResyncResponse) GetDescriptionOk() (*string, bool) { + if o == nil || isNil(o.Description) { return nil, false } return o.Description, true } // HasDescription returns a boolean if a field has been set. -func (o *PackageCopy) HasDescription() bool { - if o != nil && o.Description != nil { +func (o *PackageResyncResponse) HasDescription() bool { + if o != nil && !isNil(o.Description) { return true } @@ -454,77 +426,88 @@ func (o *PackageCopy) HasDescription() bool { } // SetDescription gets a reference to the given string and assigns it to the Description field. -func (o *PackageCopy) SetDescription(v string) { +func (o *PackageResyncResponse) SetDescription(v string) { o.Description = &v } -// GetDistro returns the Distro field value if set, zero value otherwise. -func (o *PackageCopy) GetDistro() map[string]interface{} { - if o == nil || o.Distro == nil { - var ret map[string]interface{} +// GetDistro returns the Distro field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *PackageResyncResponse) GetDistro() Distribution { + if o == nil || isNil(o.Distro.Get()) { + var ret Distribution return ret } - return o.Distro + return *o.Distro.Get() } // GetDistroOk returns a tuple with the Distro field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *PackageCopy) GetDistroOk() (map[string]interface{}, bool) { - if o == nil || o.Distro == nil { +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *PackageResyncResponse) GetDistroOk() (*Distribution, bool) { + if o == nil { return nil, false } - return o.Distro, true + return o.Distro.Get(), o.Distro.IsSet() } // HasDistro returns a boolean if a field has been set. -func (o *PackageCopy) HasDistro() bool { - if o != nil && o.Distro != nil { +func (o *PackageResyncResponse) HasDistro() bool { + if o != nil && o.Distro.IsSet() { return true } return false } -// SetDistro gets a reference to the given map[string]interface{} and assigns it to the Distro field. -func (o *PackageCopy) SetDistro(v map[string]interface{}) { - o.Distro = v +// SetDistro gets a reference to the given NullableDistribution and assigns it to the Distro field. +func (o *PackageResyncResponse) SetDistro(v Distribution) { + o.Distro.Set(&v) +} + +// SetDistroNil sets the value for Distro to be an explicit nil +func (o *PackageResyncResponse) SetDistroNil() { + o.Distro.Set(nil) +} + +// UnsetDistro ensures that no value is present for Distro, not even an explicit nil +func (o *PackageResyncResponse) UnsetDistro() { + o.Distro.Unset() } // GetDistroVersion returns the DistroVersion field value if set, zero value otherwise. -func (o *PackageCopy) GetDistroVersion() map[string]interface{} { - if o == nil || o.DistroVersion == nil { - var ret map[string]interface{} +func (o *PackageResyncResponse) GetDistroVersion() DistributionVersion { + if o == nil || isNil(o.DistroVersion) { + var ret DistributionVersion return ret } - return o.DistroVersion + return *o.DistroVersion } // GetDistroVersionOk returns a tuple with the DistroVersion field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *PackageCopy) GetDistroVersionOk() (map[string]interface{}, bool) { - if o == nil || o.DistroVersion == nil { +func (o *PackageResyncResponse) GetDistroVersionOk() (*DistributionVersion, bool) { + if o == nil || isNil(o.DistroVersion) { return nil, false } return o.DistroVersion, true } // HasDistroVersion returns a boolean if a field has been set. -func (o *PackageCopy) HasDistroVersion() bool { - if o != nil && o.DistroVersion != nil { +func (o *PackageResyncResponse) HasDistroVersion() bool { + if o != nil && !isNil(o.DistroVersion) { return true } return false } -// SetDistroVersion gets a reference to the given map[string]interface{} and assigns it to the DistroVersion field. -func (o *PackageCopy) SetDistroVersion(v map[string]interface{}) { - o.DistroVersion = v +// SetDistroVersion gets a reference to the given DistributionVersion and assigns it to the DistroVersion field. +func (o *PackageResyncResponse) SetDistroVersion(v DistributionVersion) { + o.DistroVersion = &v } // GetDownloads returns the Downloads field value if set, zero value otherwise. -func (o *PackageCopy) GetDownloads() int64 { - if o == nil || o.Downloads == nil { +func (o *PackageResyncResponse) GetDownloads() int64 { + if o == nil || isNil(o.Downloads) { var ret int64 return ret } @@ -533,16 +516,16 @@ func (o *PackageCopy) GetDownloads() int64 { // GetDownloadsOk returns a tuple with the Downloads field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *PackageCopy) GetDownloadsOk() (*int64, bool) { - if o == nil || o.Downloads == nil { +func (o *PackageResyncResponse) GetDownloadsOk() (*int64, bool) { + if o == nil || isNil(o.Downloads) { return nil, false } return o.Downloads, true } // HasDownloads returns a boolean if a field has been set. -func (o *PackageCopy) HasDownloads() bool { - if o != nil && o.Downloads != nil { +func (o *PackageResyncResponse) HasDownloads() bool { + if o != nil && !isNil(o.Downloads) { return true } @@ -550,13 +533,13 @@ func (o *PackageCopy) HasDownloads() bool { } // SetDownloads gets a reference to the given int64 and assigns it to the Downloads field. -func (o *PackageCopy) SetDownloads(v int64) { +func (o *PackageResyncResponse) SetDownloads(v int64) { o.Downloads = &v } // GetEpoch returns the Epoch field value if set, zero value otherwise. -func (o *PackageCopy) GetEpoch() int64 { - if o == nil || o.Epoch == nil { +func (o *PackageResyncResponse) GetEpoch() int64 { + if o == nil || isNil(o.Epoch) { var ret int64 return ret } @@ -565,16 +548,16 @@ func (o *PackageCopy) GetEpoch() int64 { // GetEpochOk returns a tuple with the Epoch field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *PackageCopy) GetEpochOk() (*int64, bool) { - if o == nil || o.Epoch == nil { +func (o *PackageResyncResponse) GetEpochOk() (*int64, bool) { + if o == nil || isNil(o.Epoch) { return nil, false } return o.Epoch, true } // HasEpoch returns a boolean if a field has been set. -func (o *PackageCopy) HasEpoch() bool { - if o != nil && o.Epoch != nil { +func (o *PackageResyncResponse) HasEpoch() bool { + if o != nil && !isNil(o.Epoch) { return true } @@ -582,13 +565,13 @@ func (o *PackageCopy) HasEpoch() bool { } // SetEpoch gets a reference to the given int64 and assigns it to the Epoch field. -func (o *PackageCopy) SetEpoch(v int64) { +func (o *PackageResyncResponse) SetEpoch(v int64) { o.Epoch = &v } // GetExtension returns the Extension field value if set, zero value otherwise. -func (o *PackageCopy) GetExtension() string { - if o == nil || o.Extension == nil { +func (o *PackageResyncResponse) GetExtension() string { + if o == nil || isNil(o.Extension) { var ret string return ret } @@ -597,16 +580,16 @@ func (o *PackageCopy) GetExtension() string { // GetExtensionOk returns a tuple with the Extension field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *PackageCopy) GetExtensionOk() (*string, bool) { - if o == nil || o.Extension == nil { +func (o *PackageResyncResponse) GetExtensionOk() (*string, bool) { + if o == nil || isNil(o.Extension) { return nil, false } return o.Extension, true } // HasExtension returns a boolean if a field has been set. -func (o *PackageCopy) HasExtension() bool { - if o != nil && o.Extension != nil { +func (o *PackageResyncResponse) HasExtension() bool { + if o != nil && !isNil(o.Extension) { return true } @@ -614,13 +597,13 @@ func (o *PackageCopy) HasExtension() bool { } // SetExtension gets a reference to the given string and assigns it to the Extension field. -func (o *PackageCopy) SetExtension(v string) { +func (o *PackageResyncResponse) SetExtension(v string) { o.Extension = &v } // GetFilename returns the Filename field value if set, zero value otherwise. -func (o *PackageCopy) GetFilename() string { - if o == nil || o.Filename == nil { +func (o *PackageResyncResponse) GetFilename() string { + if o == nil || isNil(o.Filename) { var ret string return ret } @@ -629,16 +612,16 @@ func (o *PackageCopy) GetFilename() string { // GetFilenameOk returns a tuple with the Filename field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *PackageCopy) GetFilenameOk() (*string, bool) { - if o == nil || o.Filename == nil { +func (o *PackageResyncResponse) GetFilenameOk() (*string, bool) { + if o == nil || isNil(o.Filename) { return nil, false } return o.Filename, true } // HasFilename returns a boolean if a field has been set. -func (o *PackageCopy) HasFilename() bool { - if o != nil && o.Filename != nil { +func (o *PackageResyncResponse) HasFilename() bool { + if o != nil && !isNil(o.Filename) { return true } @@ -646,14 +629,14 @@ func (o *PackageCopy) HasFilename() bool { } // SetFilename gets a reference to the given string and assigns it to the Filename field. -func (o *PackageCopy) SetFilename(v string) { +func (o *PackageResyncResponse) SetFilename(v string) { o.Filename = &v } // GetFiles returns the Files field value if set, zero value otherwise. -func (o *PackageCopy) GetFiles() []PackagesOwnerRepoFiles { - if o == nil || o.Files == nil { - var ret []PackagesOwnerRepoFiles +func (o *PackageResyncResponse) GetFiles() []PackageFile { + if o == nil || isNil(o.Files) { + var ret []PackageFile return ret } return o.Files @@ -661,30 +644,30 @@ func (o *PackageCopy) GetFiles() []PackagesOwnerRepoFiles { // GetFilesOk returns a tuple with the Files field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *PackageCopy) GetFilesOk() ([]PackagesOwnerRepoFiles, bool) { - if o == nil || o.Files == nil { +func (o *PackageResyncResponse) GetFilesOk() ([]PackageFile, bool) { + if o == nil || isNil(o.Files) { return nil, false } return o.Files, true } // HasFiles returns a boolean if a field has been set. -func (o *PackageCopy) HasFiles() bool { - if o != nil && o.Files != nil { +func (o *PackageResyncResponse) HasFiles() bool { + if o != nil && !isNil(o.Files) { return true } return false } -// SetFiles gets a reference to the given []PackagesOwnerRepoFiles and assigns it to the Files field. -func (o *PackageCopy) SetFiles(v []PackagesOwnerRepoFiles) { +// SetFiles gets a reference to the given []PackageFile and assigns it to the Files field. +func (o *PackageResyncResponse) SetFiles(v []PackageFile) { o.Files = v } // GetFormat returns the Format field value if set, zero value otherwise. -func (o *PackageCopy) GetFormat() string { - if o == nil || o.Format == nil { +func (o *PackageResyncResponse) GetFormat() string { + if o == nil || isNil(o.Format) { var ret string return ret } @@ -693,16 +676,16 @@ func (o *PackageCopy) GetFormat() string { // GetFormatOk returns a tuple with the Format field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *PackageCopy) GetFormatOk() (*string, bool) { - if o == nil || o.Format == nil { +func (o *PackageResyncResponse) GetFormatOk() (*string, bool) { + if o == nil || isNil(o.Format) { return nil, false } return o.Format, true } // HasFormat returns a boolean if a field has been set. -func (o *PackageCopy) HasFormat() bool { - if o != nil && o.Format != nil { +func (o *PackageResyncResponse) HasFormat() bool { + if o != nil && !isNil(o.Format) { return true } @@ -710,13 +693,13 @@ func (o *PackageCopy) HasFormat() bool { } // SetFormat gets a reference to the given string and assigns it to the Format field. -func (o *PackageCopy) SetFormat(v string) { +func (o *PackageResyncResponse) SetFormat(v string) { o.Format = &v } // GetFormatUrl returns the FormatUrl field value if set, zero value otherwise. -func (o *PackageCopy) GetFormatUrl() string { - if o == nil || o.FormatUrl == nil { +func (o *PackageResyncResponse) GetFormatUrl() string { + if o == nil || isNil(o.FormatUrl) { var ret string return ret } @@ -725,16 +708,16 @@ func (o *PackageCopy) GetFormatUrl() string { // GetFormatUrlOk returns a tuple with the FormatUrl field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *PackageCopy) GetFormatUrlOk() (*string, bool) { - if o == nil || o.FormatUrl == nil { +func (o *PackageResyncResponse) GetFormatUrlOk() (*string, bool) { + if o == nil || isNil(o.FormatUrl) { return nil, false } return o.FormatUrl, true } // HasFormatUrl returns a boolean if a field has been set. -func (o *PackageCopy) HasFormatUrl() bool { - if o != nil && o.FormatUrl != nil { +func (o *PackageResyncResponse) HasFormatUrl() bool { + if o != nil && !isNil(o.FormatUrl) { return true } @@ -742,13 +725,13 @@ func (o *PackageCopy) HasFormatUrl() bool { } // SetFormatUrl gets a reference to the given string and assigns it to the FormatUrl field. -func (o *PackageCopy) SetFormatUrl(v string) { +func (o *PackageResyncResponse) SetFormatUrl(v string) { o.FormatUrl = &v } // GetIdentifierPerm returns the IdentifierPerm field value if set, zero value otherwise. -func (o *PackageCopy) GetIdentifierPerm() string { - if o == nil || o.IdentifierPerm == nil { +func (o *PackageResyncResponse) GetIdentifierPerm() string { + if o == nil || isNil(o.IdentifierPerm) { var ret string return ret } @@ -757,16 +740,16 @@ func (o *PackageCopy) GetIdentifierPerm() string { // GetIdentifierPermOk returns a tuple with the IdentifierPerm field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *PackageCopy) GetIdentifierPermOk() (*string, bool) { - if o == nil || o.IdentifierPerm == nil { +func (o *PackageResyncResponse) GetIdentifierPermOk() (*string, bool) { + if o == nil || isNil(o.IdentifierPerm) { return nil, false } return o.IdentifierPerm, true } // HasIdentifierPerm returns a boolean if a field has been set. -func (o *PackageCopy) HasIdentifierPerm() bool { - if o != nil && o.IdentifierPerm != nil { +func (o *PackageResyncResponse) HasIdentifierPerm() bool { + if o != nil && !isNil(o.IdentifierPerm) { return true } @@ -774,13 +757,13 @@ func (o *PackageCopy) HasIdentifierPerm() bool { } // SetIdentifierPerm gets a reference to the given string and assigns it to the IdentifierPerm field. -func (o *PackageCopy) SetIdentifierPerm(v string) { +func (o *PackageResyncResponse) SetIdentifierPerm(v string) { o.IdentifierPerm = &v } // GetIndexed returns the Indexed field value if set, zero value otherwise. -func (o *PackageCopy) GetIndexed() bool { - if o == nil || o.Indexed == nil { +func (o *PackageResyncResponse) GetIndexed() bool { + if o == nil || isNil(o.Indexed) { var ret bool return ret } @@ -789,16 +772,16 @@ func (o *PackageCopy) GetIndexed() bool { // GetIndexedOk returns a tuple with the Indexed field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *PackageCopy) GetIndexedOk() (*bool, bool) { - if o == nil || o.Indexed == nil { +func (o *PackageResyncResponse) GetIndexedOk() (*bool, bool) { + if o == nil || isNil(o.Indexed) { return nil, false } return o.Indexed, true } // HasIndexed returns a boolean if a field has been set. -func (o *PackageCopy) HasIndexed() bool { - if o != nil && o.Indexed != nil { +func (o *PackageResyncResponse) HasIndexed() bool { + if o != nil && !isNil(o.Indexed) { return true } @@ -806,13 +789,13 @@ func (o *PackageCopy) HasIndexed() bool { } // SetIndexed gets a reference to the given bool and assigns it to the Indexed field. -func (o *PackageCopy) SetIndexed(v bool) { +func (o *PackageResyncResponse) SetIndexed(v bool) { o.Indexed = &v } // GetIsDownloadable returns the IsDownloadable field value if set, zero value otherwise. -func (o *PackageCopy) GetIsDownloadable() bool { - if o == nil || o.IsDownloadable == nil { +func (o *PackageResyncResponse) GetIsDownloadable() bool { + if o == nil || isNil(o.IsDownloadable) { var ret bool return ret } @@ -821,16 +804,16 @@ func (o *PackageCopy) GetIsDownloadable() bool { // GetIsDownloadableOk returns a tuple with the IsDownloadable field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *PackageCopy) GetIsDownloadableOk() (*bool, bool) { - if o == nil || o.IsDownloadable == nil { +func (o *PackageResyncResponse) GetIsDownloadableOk() (*bool, bool) { + if o == nil || isNil(o.IsDownloadable) { return nil, false } return o.IsDownloadable, true } // HasIsDownloadable returns a boolean if a field has been set. -func (o *PackageCopy) HasIsDownloadable() bool { - if o != nil && o.IsDownloadable != nil { +func (o *PackageResyncResponse) HasIsDownloadable() bool { + if o != nil && !isNil(o.IsDownloadable) { return true } @@ -838,13 +821,13 @@ func (o *PackageCopy) HasIsDownloadable() bool { } // SetIsDownloadable gets a reference to the given bool and assigns it to the IsDownloadable field. -func (o *PackageCopy) SetIsDownloadable(v bool) { +func (o *PackageResyncResponse) SetIsDownloadable(v bool) { o.IsDownloadable = &v } // GetIsQuarantined returns the IsQuarantined field value if set, zero value otherwise. -func (o *PackageCopy) GetIsQuarantined() bool { - if o == nil || o.IsQuarantined == nil { +func (o *PackageResyncResponse) GetIsQuarantined() bool { + if o == nil || isNil(o.IsQuarantined) { var ret bool return ret } @@ -853,16 +836,16 @@ func (o *PackageCopy) GetIsQuarantined() bool { // GetIsQuarantinedOk returns a tuple with the IsQuarantined field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *PackageCopy) GetIsQuarantinedOk() (*bool, bool) { - if o == nil || o.IsQuarantined == nil { +func (o *PackageResyncResponse) GetIsQuarantinedOk() (*bool, bool) { + if o == nil || isNil(o.IsQuarantined) { return nil, false } return o.IsQuarantined, true } // HasIsQuarantined returns a boolean if a field has been set. -func (o *PackageCopy) HasIsQuarantined() bool { - if o != nil && o.IsQuarantined != nil { +func (o *PackageResyncResponse) HasIsQuarantined() bool { + if o != nil && !isNil(o.IsQuarantined) { return true } @@ -870,13 +853,13 @@ func (o *PackageCopy) HasIsQuarantined() bool { } // SetIsQuarantined gets a reference to the given bool and assigns it to the IsQuarantined field. -func (o *PackageCopy) SetIsQuarantined(v bool) { +func (o *PackageResyncResponse) SetIsQuarantined(v bool) { o.IsQuarantined = &v } // GetIsSyncAwaiting returns the IsSyncAwaiting field value if set, zero value otherwise. -func (o *PackageCopy) GetIsSyncAwaiting() bool { - if o == nil || o.IsSyncAwaiting == nil { +func (o *PackageResyncResponse) GetIsSyncAwaiting() bool { + if o == nil || isNil(o.IsSyncAwaiting) { var ret bool return ret } @@ -885,16 +868,16 @@ func (o *PackageCopy) GetIsSyncAwaiting() bool { // GetIsSyncAwaitingOk returns a tuple with the IsSyncAwaiting field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *PackageCopy) GetIsSyncAwaitingOk() (*bool, bool) { - if o == nil || o.IsSyncAwaiting == nil { +func (o *PackageResyncResponse) GetIsSyncAwaitingOk() (*bool, bool) { + if o == nil || isNil(o.IsSyncAwaiting) { return nil, false } return o.IsSyncAwaiting, true } // HasIsSyncAwaiting returns a boolean if a field has been set. -func (o *PackageCopy) HasIsSyncAwaiting() bool { - if o != nil && o.IsSyncAwaiting != nil { +func (o *PackageResyncResponse) HasIsSyncAwaiting() bool { + if o != nil && !isNil(o.IsSyncAwaiting) { return true } @@ -902,13 +885,13 @@ func (o *PackageCopy) HasIsSyncAwaiting() bool { } // SetIsSyncAwaiting gets a reference to the given bool and assigns it to the IsSyncAwaiting field. -func (o *PackageCopy) SetIsSyncAwaiting(v bool) { +func (o *PackageResyncResponse) SetIsSyncAwaiting(v bool) { o.IsSyncAwaiting = &v } // GetIsSyncCompleted returns the IsSyncCompleted field value if set, zero value otherwise. -func (o *PackageCopy) GetIsSyncCompleted() bool { - if o == nil || o.IsSyncCompleted == nil { +func (o *PackageResyncResponse) GetIsSyncCompleted() bool { + if o == nil || isNil(o.IsSyncCompleted) { var ret bool return ret } @@ -917,16 +900,16 @@ func (o *PackageCopy) GetIsSyncCompleted() bool { // GetIsSyncCompletedOk returns a tuple with the IsSyncCompleted field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *PackageCopy) GetIsSyncCompletedOk() (*bool, bool) { - if o == nil || o.IsSyncCompleted == nil { +func (o *PackageResyncResponse) GetIsSyncCompletedOk() (*bool, bool) { + if o == nil || isNil(o.IsSyncCompleted) { return nil, false } return o.IsSyncCompleted, true } // HasIsSyncCompleted returns a boolean if a field has been set. -func (o *PackageCopy) HasIsSyncCompleted() bool { - if o != nil && o.IsSyncCompleted != nil { +func (o *PackageResyncResponse) HasIsSyncCompleted() bool { + if o != nil && !isNil(o.IsSyncCompleted) { return true } @@ -934,13 +917,13 @@ func (o *PackageCopy) HasIsSyncCompleted() bool { } // SetIsSyncCompleted gets a reference to the given bool and assigns it to the IsSyncCompleted field. -func (o *PackageCopy) SetIsSyncCompleted(v bool) { +func (o *PackageResyncResponse) SetIsSyncCompleted(v bool) { o.IsSyncCompleted = &v } // GetIsSyncFailed returns the IsSyncFailed field value if set, zero value otherwise. -func (o *PackageCopy) GetIsSyncFailed() bool { - if o == nil || o.IsSyncFailed == nil { +func (o *PackageResyncResponse) GetIsSyncFailed() bool { + if o == nil || isNil(o.IsSyncFailed) { var ret bool return ret } @@ -949,16 +932,16 @@ func (o *PackageCopy) GetIsSyncFailed() bool { // GetIsSyncFailedOk returns a tuple with the IsSyncFailed field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *PackageCopy) GetIsSyncFailedOk() (*bool, bool) { - if o == nil || o.IsSyncFailed == nil { +func (o *PackageResyncResponse) GetIsSyncFailedOk() (*bool, bool) { + if o == nil || isNil(o.IsSyncFailed) { return nil, false } return o.IsSyncFailed, true } // HasIsSyncFailed returns a boolean if a field has been set. -func (o *PackageCopy) HasIsSyncFailed() bool { - if o != nil && o.IsSyncFailed != nil { +func (o *PackageResyncResponse) HasIsSyncFailed() bool { + if o != nil && !isNil(o.IsSyncFailed) { return true } @@ -966,13 +949,13 @@ func (o *PackageCopy) HasIsSyncFailed() bool { } // SetIsSyncFailed gets a reference to the given bool and assigns it to the IsSyncFailed field. -func (o *PackageCopy) SetIsSyncFailed(v bool) { +func (o *PackageResyncResponse) SetIsSyncFailed(v bool) { o.IsSyncFailed = &v } // GetIsSyncInFlight returns the IsSyncInFlight field value if set, zero value otherwise. -func (o *PackageCopy) GetIsSyncInFlight() bool { - if o == nil || o.IsSyncInFlight == nil { +func (o *PackageResyncResponse) GetIsSyncInFlight() bool { + if o == nil || isNil(o.IsSyncInFlight) { var ret bool return ret } @@ -981,16 +964,16 @@ func (o *PackageCopy) GetIsSyncInFlight() bool { // GetIsSyncInFlightOk returns a tuple with the IsSyncInFlight field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *PackageCopy) GetIsSyncInFlightOk() (*bool, bool) { - if o == nil || o.IsSyncInFlight == nil { +func (o *PackageResyncResponse) GetIsSyncInFlightOk() (*bool, bool) { + if o == nil || isNil(o.IsSyncInFlight) { return nil, false } return o.IsSyncInFlight, true } // HasIsSyncInFlight returns a boolean if a field has been set. -func (o *PackageCopy) HasIsSyncInFlight() bool { - if o != nil && o.IsSyncInFlight != nil { +func (o *PackageResyncResponse) HasIsSyncInFlight() bool { + if o != nil && !isNil(o.IsSyncInFlight) { return true } @@ -998,13 +981,13 @@ func (o *PackageCopy) HasIsSyncInFlight() bool { } // SetIsSyncInFlight gets a reference to the given bool and assigns it to the IsSyncInFlight field. -func (o *PackageCopy) SetIsSyncInFlight(v bool) { +func (o *PackageResyncResponse) SetIsSyncInFlight(v bool) { o.IsSyncInFlight = &v } // GetIsSyncInProgress returns the IsSyncInProgress field value if set, zero value otherwise. -func (o *PackageCopy) GetIsSyncInProgress() bool { - if o == nil || o.IsSyncInProgress == nil { +func (o *PackageResyncResponse) GetIsSyncInProgress() bool { + if o == nil || isNil(o.IsSyncInProgress) { var ret bool return ret } @@ -1013,16 +996,16 @@ func (o *PackageCopy) GetIsSyncInProgress() bool { // GetIsSyncInProgressOk returns a tuple with the IsSyncInProgress field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *PackageCopy) GetIsSyncInProgressOk() (*bool, bool) { - if o == nil || o.IsSyncInProgress == nil { +func (o *PackageResyncResponse) GetIsSyncInProgressOk() (*bool, bool) { + if o == nil || isNil(o.IsSyncInProgress) { return nil, false } return o.IsSyncInProgress, true } // HasIsSyncInProgress returns a boolean if a field has been set. -func (o *PackageCopy) HasIsSyncInProgress() bool { - if o != nil && o.IsSyncInProgress != nil { +func (o *PackageResyncResponse) HasIsSyncInProgress() bool { + if o != nil && !isNil(o.IsSyncInProgress) { return true } @@ -1030,13 +1013,13 @@ func (o *PackageCopy) HasIsSyncInProgress() bool { } // SetIsSyncInProgress gets a reference to the given bool and assigns it to the IsSyncInProgress field. -func (o *PackageCopy) SetIsSyncInProgress(v bool) { +func (o *PackageResyncResponse) SetIsSyncInProgress(v bool) { o.IsSyncInProgress = &v } // GetLicense returns the License field value if set, zero value otherwise. -func (o *PackageCopy) GetLicense() string { - if o == nil || o.License == nil { +func (o *PackageResyncResponse) GetLicense() string { + if o == nil || isNil(o.License) { var ret string return ret } @@ -1045,16 +1028,16 @@ func (o *PackageCopy) GetLicense() string { // GetLicenseOk returns a tuple with the License field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *PackageCopy) GetLicenseOk() (*string, bool) { - if o == nil || o.License == nil { +func (o *PackageResyncResponse) GetLicenseOk() (*string, bool) { + if o == nil || isNil(o.License) { return nil, false } return o.License, true } // HasLicense returns a boolean if a field has been set. -func (o *PackageCopy) HasLicense() bool { - if o != nil && o.License != nil { +func (o *PackageResyncResponse) HasLicense() bool { + if o != nil && !isNil(o.License) { return true } @@ -1062,13 +1045,13 @@ func (o *PackageCopy) HasLicense() bool { } // SetLicense gets a reference to the given string and assigns it to the License field. -func (o *PackageCopy) SetLicense(v string) { +func (o *PackageResyncResponse) SetLicense(v string) { o.License = &v } // GetName returns the Name field value if set, zero value otherwise. -func (o *PackageCopy) GetName() string { - if o == nil || o.Name == nil { +func (o *PackageResyncResponse) GetName() string { + if o == nil || isNil(o.Name) { var ret string return ret } @@ -1077,16 +1060,16 @@ func (o *PackageCopy) GetName() string { // GetNameOk returns a tuple with the Name field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *PackageCopy) GetNameOk() (*string, bool) { - if o == nil || o.Name == nil { +func (o *PackageResyncResponse) GetNameOk() (*string, bool) { + if o == nil || isNil(o.Name) { return nil, false } return o.Name, true } // HasName returns a boolean if a field has been set. -func (o *PackageCopy) HasName() bool { - if o != nil && o.Name != nil { +func (o *PackageResyncResponse) HasName() bool { + if o != nil && !isNil(o.Name) { return true } @@ -1094,13 +1077,13 @@ func (o *PackageCopy) HasName() bool { } // SetName gets a reference to the given string and assigns it to the Name field. -func (o *PackageCopy) SetName(v string) { +func (o *PackageResyncResponse) SetName(v string) { o.Name = &v } // GetNamespace returns the Namespace field value if set, zero value otherwise. -func (o *PackageCopy) GetNamespace() string { - if o == nil || o.Namespace == nil { +func (o *PackageResyncResponse) GetNamespace() string { + if o == nil || isNil(o.Namespace) { var ret string return ret } @@ -1109,16 +1092,16 @@ func (o *PackageCopy) GetNamespace() string { // GetNamespaceOk returns a tuple with the Namespace field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *PackageCopy) GetNamespaceOk() (*string, bool) { - if o == nil || o.Namespace == nil { +func (o *PackageResyncResponse) GetNamespaceOk() (*string, bool) { + if o == nil || isNil(o.Namespace) { return nil, false } return o.Namespace, true } // HasNamespace returns a boolean if a field has been set. -func (o *PackageCopy) HasNamespace() bool { - if o != nil && o.Namespace != nil { +func (o *PackageResyncResponse) HasNamespace() bool { + if o != nil && !isNil(o.Namespace) { return true } @@ -1126,13 +1109,13 @@ func (o *PackageCopy) HasNamespace() bool { } // SetNamespace gets a reference to the given string and assigns it to the Namespace field. -func (o *PackageCopy) SetNamespace(v string) { +func (o *PackageResyncResponse) SetNamespace(v string) { o.Namespace = &v } // GetNamespaceUrl returns the NamespaceUrl field value if set, zero value otherwise. -func (o *PackageCopy) GetNamespaceUrl() string { - if o == nil || o.NamespaceUrl == nil { +func (o *PackageResyncResponse) GetNamespaceUrl() string { + if o == nil || isNil(o.NamespaceUrl) { var ret string return ret } @@ -1141,16 +1124,16 @@ func (o *PackageCopy) GetNamespaceUrl() string { // GetNamespaceUrlOk returns a tuple with the NamespaceUrl field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *PackageCopy) GetNamespaceUrlOk() (*string, bool) { - if o == nil || o.NamespaceUrl == nil { +func (o *PackageResyncResponse) GetNamespaceUrlOk() (*string, bool) { + if o == nil || isNil(o.NamespaceUrl) { return nil, false } return o.NamespaceUrl, true } // HasNamespaceUrl returns a boolean if a field has been set. -func (o *PackageCopy) HasNamespaceUrl() bool { - if o != nil && o.NamespaceUrl != nil { +func (o *PackageResyncResponse) HasNamespaceUrl() bool { + if o != nil && !isNil(o.NamespaceUrl) { return true } @@ -1158,13 +1141,13 @@ func (o *PackageCopy) HasNamespaceUrl() bool { } // SetNamespaceUrl gets a reference to the given string and assigns it to the NamespaceUrl field. -func (o *PackageCopy) SetNamespaceUrl(v string) { +func (o *PackageResyncResponse) SetNamespaceUrl(v string) { o.NamespaceUrl = &v } // GetNumFiles returns the NumFiles field value if set, zero value otherwise. -func (o *PackageCopy) GetNumFiles() int64 { - if o == nil || o.NumFiles == nil { +func (o *PackageResyncResponse) GetNumFiles() int64 { + if o == nil || isNil(o.NumFiles) { var ret int64 return ret } @@ -1173,16 +1156,16 @@ func (o *PackageCopy) GetNumFiles() int64 { // GetNumFilesOk returns a tuple with the NumFiles field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *PackageCopy) GetNumFilesOk() (*int64, bool) { - if o == nil || o.NumFiles == nil { +func (o *PackageResyncResponse) GetNumFilesOk() (*int64, bool) { + if o == nil || isNil(o.NumFiles) { return nil, false } return o.NumFiles, true } // HasNumFiles returns a boolean if a field has been set. -func (o *PackageCopy) HasNumFiles() bool { - if o != nil && o.NumFiles != nil { +func (o *PackageResyncResponse) HasNumFiles() bool { + if o != nil && !isNil(o.NumFiles) { return true } @@ -1190,13 +1173,77 @@ func (o *PackageCopy) HasNumFiles() bool { } // SetNumFiles gets a reference to the given int64 and assigns it to the NumFiles field. -func (o *PackageCopy) SetNumFiles(v int64) { +func (o *PackageResyncResponse) SetNumFiles(v int64) { o.NumFiles = &v } +// GetOriginRepository returns the OriginRepository field value if set, zero value otherwise. +func (o *PackageResyncResponse) GetOriginRepository() string { + if o == nil || isNil(o.OriginRepository) { + var ret string + return ret + } + return *o.OriginRepository +} + +// GetOriginRepositoryOk returns a tuple with the OriginRepository field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *PackageResyncResponse) GetOriginRepositoryOk() (*string, bool) { + if o == nil || isNil(o.OriginRepository) { + return nil, false + } + return o.OriginRepository, true +} + +// HasOriginRepository returns a boolean if a field has been set. +func (o *PackageResyncResponse) HasOriginRepository() bool { + if o != nil && !isNil(o.OriginRepository) { + return true + } + + return false +} + +// SetOriginRepository gets a reference to the given string and assigns it to the OriginRepository field. +func (o *PackageResyncResponse) SetOriginRepository(v string) { + o.OriginRepository = &v +} + +// GetOriginRepositoryUrl returns the OriginRepositoryUrl field value if set, zero value otherwise. +func (o *PackageResyncResponse) GetOriginRepositoryUrl() string { + if o == nil || isNil(o.OriginRepositoryUrl) { + var ret string + return ret + } + return *o.OriginRepositoryUrl +} + +// GetOriginRepositoryUrlOk returns a tuple with the OriginRepositoryUrl field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *PackageResyncResponse) GetOriginRepositoryUrlOk() (*string, bool) { + if o == nil || isNil(o.OriginRepositoryUrl) { + return nil, false + } + return o.OriginRepositoryUrl, true +} + +// HasOriginRepositoryUrl returns a boolean if a field has been set. +func (o *PackageResyncResponse) HasOriginRepositoryUrl() bool { + if o != nil && !isNil(o.OriginRepositoryUrl) { + return true + } + + return false +} + +// SetOriginRepositoryUrl gets a reference to the given string and assigns it to the OriginRepositoryUrl field. +func (o *PackageResyncResponse) SetOriginRepositoryUrl(v string) { + o.OriginRepositoryUrl = &v +} + // GetPackageType returns the PackageType field value if set, zero value otherwise. -func (o *PackageCopy) GetPackageType() int64 { - if o == nil || o.PackageType == nil { +func (o *PackageResyncResponse) GetPackageType() int64 { + if o == nil || isNil(o.PackageType) { var ret int64 return ret } @@ -1205,16 +1252,16 @@ func (o *PackageCopy) GetPackageType() int64 { // GetPackageTypeOk returns a tuple with the PackageType field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *PackageCopy) GetPackageTypeOk() (*int64, bool) { - if o == nil || o.PackageType == nil { +func (o *PackageResyncResponse) GetPackageTypeOk() (*int64, bool) { + if o == nil || isNil(o.PackageType) { return nil, false } return o.PackageType, true } // HasPackageType returns a boolean if a field has been set. -func (o *PackageCopy) HasPackageType() bool { - if o != nil && o.PackageType != nil { +func (o *PackageResyncResponse) HasPackageType() bool { + if o != nil && !isNil(o.PackageType) { return true } @@ -1222,13 +1269,13 @@ func (o *PackageCopy) HasPackageType() bool { } // SetPackageType gets a reference to the given int64 and assigns it to the PackageType field. -func (o *PackageCopy) SetPackageType(v int64) { +func (o *PackageResyncResponse) SetPackageType(v int64) { o.PackageType = &v } // GetRelease returns the Release field value if set, zero value otherwise. -func (o *PackageCopy) GetRelease() string { - if o == nil || o.Release == nil { +func (o *PackageResyncResponse) GetRelease() string { + if o == nil || isNil(o.Release) { var ret string return ret } @@ -1237,16 +1284,16 @@ func (o *PackageCopy) GetRelease() string { // GetReleaseOk returns a tuple with the Release field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *PackageCopy) GetReleaseOk() (*string, bool) { - if o == nil || o.Release == nil { +func (o *PackageResyncResponse) GetReleaseOk() (*string, bool) { + if o == nil || isNil(o.Release) { return nil, false } return o.Release, true } // HasRelease returns a boolean if a field has been set. -func (o *PackageCopy) HasRelease() bool { - if o != nil && o.Release != nil { +func (o *PackageResyncResponse) HasRelease() bool { + if o != nil && !isNil(o.Release) { return true } @@ -1254,13 +1301,13 @@ func (o *PackageCopy) HasRelease() bool { } // SetRelease gets a reference to the given string and assigns it to the Release field. -func (o *PackageCopy) SetRelease(v string) { +func (o *PackageResyncResponse) SetRelease(v string) { o.Release = &v } // GetRepository returns the Repository field value if set, zero value otherwise. -func (o *PackageCopy) GetRepository() string { - if o == nil || o.Repository == nil { +func (o *PackageResyncResponse) GetRepository() string { + if o == nil || isNil(o.Repository) { var ret string return ret } @@ -1269,16 +1316,16 @@ func (o *PackageCopy) GetRepository() string { // GetRepositoryOk returns a tuple with the Repository field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *PackageCopy) GetRepositoryOk() (*string, bool) { - if o == nil || o.Repository == nil { +func (o *PackageResyncResponse) GetRepositoryOk() (*string, bool) { + if o == nil || isNil(o.Repository) { return nil, false } return o.Repository, true } // HasRepository returns a boolean if a field has been set. -func (o *PackageCopy) HasRepository() bool { - if o != nil && o.Repository != nil { +func (o *PackageResyncResponse) HasRepository() bool { + if o != nil && !isNil(o.Repository) { return true } @@ -1286,13 +1333,13 @@ func (o *PackageCopy) HasRepository() bool { } // SetRepository gets a reference to the given string and assigns it to the Repository field. -func (o *PackageCopy) SetRepository(v string) { +func (o *PackageResyncResponse) SetRepository(v string) { o.Repository = &v } // GetRepositoryUrl returns the RepositoryUrl field value if set, zero value otherwise. -func (o *PackageCopy) GetRepositoryUrl() string { - if o == nil || o.RepositoryUrl == nil { +func (o *PackageResyncResponse) GetRepositoryUrl() string { + if o == nil || isNil(o.RepositoryUrl) { var ret string return ret } @@ -1301,16 +1348,16 @@ func (o *PackageCopy) GetRepositoryUrl() string { // GetRepositoryUrlOk returns a tuple with the RepositoryUrl field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *PackageCopy) GetRepositoryUrlOk() (*string, bool) { - if o == nil || o.RepositoryUrl == nil { +func (o *PackageResyncResponse) GetRepositoryUrlOk() (*string, bool) { + if o == nil || isNil(o.RepositoryUrl) { return nil, false } return o.RepositoryUrl, true } // HasRepositoryUrl returns a boolean if a field has been set. -func (o *PackageCopy) HasRepositoryUrl() bool { - if o != nil && o.RepositoryUrl != nil { +func (o *PackageResyncResponse) HasRepositoryUrl() bool { + if o != nil && !isNil(o.RepositoryUrl) { return true } @@ -1318,14 +1365,14 @@ func (o *PackageCopy) HasRepositoryUrl() bool { } // SetRepositoryUrl gets a reference to the given string and assigns it to the RepositoryUrl field. -func (o *PackageCopy) SetRepositoryUrl(v string) { +func (o *PackageResyncResponse) SetRepositoryUrl(v string) { o.RepositoryUrl = &v } // GetSecurityScanCompletedAt returns the SecurityScanCompletedAt field value if set, zero value otherwise. -func (o *PackageCopy) GetSecurityScanCompletedAt() string { - if o == nil || o.SecurityScanCompletedAt == nil { - var ret string +func (o *PackageResyncResponse) GetSecurityScanCompletedAt() time.Time { + if o == nil || isNil(o.SecurityScanCompletedAt) { + var ret time.Time return ret } return *o.SecurityScanCompletedAt @@ -1333,31 +1380,31 @@ func (o *PackageCopy) GetSecurityScanCompletedAt() string { // GetSecurityScanCompletedAtOk returns a tuple with the SecurityScanCompletedAt field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *PackageCopy) GetSecurityScanCompletedAtOk() (*string, bool) { - if o == nil || o.SecurityScanCompletedAt == nil { +func (o *PackageResyncResponse) GetSecurityScanCompletedAtOk() (*time.Time, bool) { + if o == nil || isNil(o.SecurityScanCompletedAt) { return nil, false } return o.SecurityScanCompletedAt, true } // HasSecurityScanCompletedAt returns a boolean if a field has been set. -func (o *PackageCopy) HasSecurityScanCompletedAt() bool { - if o != nil && o.SecurityScanCompletedAt != nil { +func (o *PackageResyncResponse) HasSecurityScanCompletedAt() bool { + if o != nil && !isNil(o.SecurityScanCompletedAt) { return true } return false } -// SetSecurityScanCompletedAt gets a reference to the given string and assigns it to the SecurityScanCompletedAt field. -func (o *PackageCopy) SetSecurityScanCompletedAt(v string) { +// SetSecurityScanCompletedAt gets a reference to the given time.Time and assigns it to the SecurityScanCompletedAt field. +func (o *PackageResyncResponse) SetSecurityScanCompletedAt(v time.Time) { o.SecurityScanCompletedAt = &v } // GetSecurityScanStartedAt returns the SecurityScanStartedAt field value if set, zero value otherwise. -func (o *PackageCopy) GetSecurityScanStartedAt() string { - if o == nil || o.SecurityScanStartedAt == nil { - var ret string +func (o *PackageResyncResponse) GetSecurityScanStartedAt() time.Time { + if o == nil || isNil(o.SecurityScanStartedAt) { + var ret time.Time return ret } return *o.SecurityScanStartedAt @@ -1365,63 +1412,74 @@ func (o *PackageCopy) GetSecurityScanStartedAt() string { // GetSecurityScanStartedAtOk returns a tuple with the SecurityScanStartedAt field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *PackageCopy) GetSecurityScanStartedAtOk() (*string, bool) { - if o == nil || o.SecurityScanStartedAt == nil { +func (o *PackageResyncResponse) GetSecurityScanStartedAtOk() (*time.Time, bool) { + if o == nil || isNil(o.SecurityScanStartedAt) { return nil, false } return o.SecurityScanStartedAt, true } // HasSecurityScanStartedAt returns a boolean if a field has been set. -func (o *PackageCopy) HasSecurityScanStartedAt() bool { - if o != nil && o.SecurityScanStartedAt != nil { +func (o *PackageResyncResponse) HasSecurityScanStartedAt() bool { + if o != nil && !isNil(o.SecurityScanStartedAt) { return true } return false } -// SetSecurityScanStartedAt gets a reference to the given string and assigns it to the SecurityScanStartedAt field. -func (o *PackageCopy) SetSecurityScanStartedAt(v string) { +// SetSecurityScanStartedAt gets a reference to the given time.Time and assigns it to the SecurityScanStartedAt field. +func (o *PackageResyncResponse) SetSecurityScanStartedAt(v time.Time) { o.SecurityScanStartedAt = &v } -// GetSecurityScanStatus returns the SecurityScanStatus field value if set, zero value otherwise. -func (o *PackageCopy) GetSecurityScanStatus() string { - if o == nil || o.SecurityScanStatus == nil { +// GetSecurityScanStatus returns the SecurityScanStatus field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *PackageResyncResponse) GetSecurityScanStatus() string { + if o == nil || isNil(o.SecurityScanStatus.Get()) { var ret string return ret } - return *o.SecurityScanStatus + return *o.SecurityScanStatus.Get() } // GetSecurityScanStatusOk returns a tuple with the SecurityScanStatus field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *PackageCopy) GetSecurityScanStatusOk() (*string, bool) { - if o == nil || o.SecurityScanStatus == nil { +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *PackageResyncResponse) GetSecurityScanStatusOk() (*string, bool) { + if o == nil { return nil, false } - return o.SecurityScanStatus, true + return o.SecurityScanStatus.Get(), o.SecurityScanStatus.IsSet() } // HasSecurityScanStatus returns a boolean if a field has been set. -func (o *PackageCopy) HasSecurityScanStatus() bool { - if o != nil && o.SecurityScanStatus != nil { +func (o *PackageResyncResponse) HasSecurityScanStatus() bool { + if o != nil && o.SecurityScanStatus.IsSet() { return true } return false } -// SetSecurityScanStatus gets a reference to the given string and assigns it to the SecurityScanStatus field. -func (o *PackageCopy) SetSecurityScanStatus(v string) { - o.SecurityScanStatus = &v +// SetSecurityScanStatus gets a reference to the given NullableString and assigns it to the SecurityScanStatus field. +func (o *PackageResyncResponse) SetSecurityScanStatus(v string) { + o.SecurityScanStatus.Set(&v) +} + +// SetSecurityScanStatusNil sets the value for SecurityScanStatus to be an explicit nil +func (o *PackageResyncResponse) SetSecurityScanStatusNil() { + o.SecurityScanStatus.Set(nil) +} + +// UnsetSecurityScanStatus ensures that no value is present for SecurityScanStatus, not even an explicit nil +func (o *PackageResyncResponse) UnsetSecurityScanStatus() { + o.SecurityScanStatus.Unset() } // GetSecurityScanStatusUpdatedAt returns the SecurityScanStatusUpdatedAt field value if set, zero value otherwise. -func (o *PackageCopy) GetSecurityScanStatusUpdatedAt() string { - if o == nil || o.SecurityScanStatusUpdatedAt == nil { - var ret string +func (o *PackageResyncResponse) GetSecurityScanStatusUpdatedAt() time.Time { + if o == nil || isNil(o.SecurityScanStatusUpdatedAt) { + var ret time.Time return ret } return *o.SecurityScanStatusUpdatedAt @@ -1429,30 +1487,30 @@ func (o *PackageCopy) GetSecurityScanStatusUpdatedAt() string { // GetSecurityScanStatusUpdatedAtOk returns a tuple with the SecurityScanStatusUpdatedAt field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *PackageCopy) GetSecurityScanStatusUpdatedAtOk() (*string, bool) { - if o == nil || o.SecurityScanStatusUpdatedAt == nil { +func (o *PackageResyncResponse) GetSecurityScanStatusUpdatedAtOk() (*time.Time, bool) { + if o == nil || isNil(o.SecurityScanStatusUpdatedAt) { return nil, false } return o.SecurityScanStatusUpdatedAt, true } // HasSecurityScanStatusUpdatedAt returns a boolean if a field has been set. -func (o *PackageCopy) HasSecurityScanStatusUpdatedAt() bool { - if o != nil && o.SecurityScanStatusUpdatedAt != nil { +func (o *PackageResyncResponse) HasSecurityScanStatusUpdatedAt() bool { + if o != nil && !isNil(o.SecurityScanStatusUpdatedAt) { return true } return false } -// SetSecurityScanStatusUpdatedAt gets a reference to the given string and assigns it to the SecurityScanStatusUpdatedAt field. -func (o *PackageCopy) SetSecurityScanStatusUpdatedAt(v string) { +// SetSecurityScanStatusUpdatedAt gets a reference to the given time.Time and assigns it to the SecurityScanStatusUpdatedAt field. +func (o *PackageResyncResponse) SetSecurityScanStatusUpdatedAt(v time.Time) { o.SecurityScanStatusUpdatedAt = &v } // GetSelfHtmlUrl returns the SelfHtmlUrl field value if set, zero value otherwise. -func (o *PackageCopy) GetSelfHtmlUrl() string { - if o == nil || o.SelfHtmlUrl == nil { +func (o *PackageResyncResponse) GetSelfHtmlUrl() string { + if o == nil || isNil(o.SelfHtmlUrl) { var ret string return ret } @@ -1461,16 +1519,16 @@ func (o *PackageCopy) GetSelfHtmlUrl() string { // GetSelfHtmlUrlOk returns a tuple with the SelfHtmlUrl field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *PackageCopy) GetSelfHtmlUrlOk() (*string, bool) { - if o == nil || o.SelfHtmlUrl == nil { +func (o *PackageResyncResponse) GetSelfHtmlUrlOk() (*string, bool) { + if o == nil || isNil(o.SelfHtmlUrl) { return nil, false } return o.SelfHtmlUrl, true } // HasSelfHtmlUrl returns a boolean if a field has been set. -func (o *PackageCopy) HasSelfHtmlUrl() bool { - if o != nil && o.SelfHtmlUrl != nil { +func (o *PackageResyncResponse) HasSelfHtmlUrl() bool { + if o != nil && !isNil(o.SelfHtmlUrl) { return true } @@ -1478,13 +1536,13 @@ func (o *PackageCopy) HasSelfHtmlUrl() bool { } // SetSelfHtmlUrl gets a reference to the given string and assigns it to the SelfHtmlUrl field. -func (o *PackageCopy) SetSelfHtmlUrl(v string) { +func (o *PackageResyncResponse) SetSelfHtmlUrl(v string) { o.SelfHtmlUrl = &v } // GetSelfUrl returns the SelfUrl field value if set, zero value otherwise. -func (o *PackageCopy) GetSelfUrl() string { - if o == nil || o.SelfUrl == nil { +func (o *PackageResyncResponse) GetSelfUrl() string { + if o == nil || isNil(o.SelfUrl) { var ret string return ret } @@ -1493,16 +1551,16 @@ func (o *PackageCopy) GetSelfUrl() string { // GetSelfUrlOk returns a tuple with the SelfUrl field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *PackageCopy) GetSelfUrlOk() (*string, bool) { - if o == nil || o.SelfUrl == nil { +func (o *PackageResyncResponse) GetSelfUrlOk() (*string, bool) { + if o == nil || isNil(o.SelfUrl) { return nil, false } return o.SelfUrl, true } // HasSelfUrl returns a boolean if a field has been set. -func (o *PackageCopy) HasSelfUrl() bool { - if o != nil && o.SelfUrl != nil { +func (o *PackageResyncResponse) HasSelfUrl() bool { + if o != nil && !isNil(o.SelfUrl) { return true } @@ -1510,45 +1568,56 @@ func (o *PackageCopy) HasSelfUrl() bool { } // SetSelfUrl gets a reference to the given string and assigns it to the SelfUrl field. -func (o *PackageCopy) SetSelfUrl(v string) { +func (o *PackageResyncResponse) SetSelfUrl(v string) { o.SelfUrl = &v } -// GetSignatureUrl returns the SignatureUrl field value if set, zero value otherwise. -func (o *PackageCopy) GetSignatureUrl() string { - if o == nil || o.SignatureUrl == nil { +// GetSignatureUrl returns the SignatureUrl field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *PackageResyncResponse) GetSignatureUrl() string { + if o == nil || isNil(o.SignatureUrl.Get()) { var ret string return ret } - return *o.SignatureUrl + return *o.SignatureUrl.Get() } // GetSignatureUrlOk returns a tuple with the SignatureUrl field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *PackageCopy) GetSignatureUrlOk() (*string, bool) { - if o == nil || o.SignatureUrl == nil { +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *PackageResyncResponse) GetSignatureUrlOk() (*string, bool) { + if o == nil { return nil, false } - return o.SignatureUrl, true + return o.SignatureUrl.Get(), o.SignatureUrl.IsSet() } // HasSignatureUrl returns a boolean if a field has been set. -func (o *PackageCopy) HasSignatureUrl() bool { - if o != nil && o.SignatureUrl != nil { +func (o *PackageResyncResponse) HasSignatureUrl() bool { + if o != nil && o.SignatureUrl.IsSet() { return true } return false } -// SetSignatureUrl gets a reference to the given string and assigns it to the SignatureUrl field. -func (o *PackageCopy) SetSignatureUrl(v string) { - o.SignatureUrl = &v +// SetSignatureUrl gets a reference to the given NullableString and assigns it to the SignatureUrl field. +func (o *PackageResyncResponse) SetSignatureUrl(v string) { + o.SignatureUrl.Set(&v) +} + +// SetSignatureUrlNil sets the value for SignatureUrl to be an explicit nil +func (o *PackageResyncResponse) SetSignatureUrlNil() { + o.SignatureUrl.Set(nil) +} + +// UnsetSignatureUrl ensures that no value is present for SignatureUrl, not even an explicit nil +func (o *PackageResyncResponse) UnsetSignatureUrl() { + o.SignatureUrl.Unset() } // GetSize returns the Size field value if set, zero value otherwise. -func (o *PackageCopy) GetSize() int64 { - if o == nil || o.Size == nil { +func (o *PackageResyncResponse) GetSize() int64 { + if o == nil || isNil(o.Size) { var ret int64 return ret } @@ -1557,16 +1626,16 @@ func (o *PackageCopy) GetSize() int64 { // GetSizeOk returns a tuple with the Size field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *PackageCopy) GetSizeOk() (*int64, bool) { - if o == nil || o.Size == nil { +func (o *PackageResyncResponse) GetSizeOk() (*int64, bool) { + if o == nil || isNil(o.Size) { return nil, false } return o.Size, true } // HasSize returns a boolean if a field has been set. -func (o *PackageCopy) HasSize() bool { - if o != nil && o.Size != nil { +func (o *PackageResyncResponse) HasSize() bool { + if o != nil && !isNil(o.Size) { return true } @@ -1574,13 +1643,13 @@ func (o *PackageCopy) HasSize() bool { } // SetSize gets a reference to the given int64 and assigns it to the Size field. -func (o *PackageCopy) SetSize(v int64) { +func (o *PackageResyncResponse) SetSize(v int64) { o.Size = &v } // GetSlug returns the Slug field value if set, zero value otherwise. -func (o *PackageCopy) GetSlug() string { - if o == nil || o.Slug == nil { +func (o *PackageResyncResponse) GetSlug() string { + if o == nil || isNil(o.Slug) { var ret string return ret } @@ -1589,16 +1658,16 @@ func (o *PackageCopy) GetSlug() string { // GetSlugOk returns a tuple with the Slug field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *PackageCopy) GetSlugOk() (*string, bool) { - if o == nil || o.Slug == nil { +func (o *PackageResyncResponse) GetSlugOk() (*string, bool) { + if o == nil || isNil(o.Slug) { return nil, false } return o.Slug, true } // HasSlug returns a boolean if a field has been set. -func (o *PackageCopy) HasSlug() bool { - if o != nil && o.Slug != nil { +func (o *PackageResyncResponse) HasSlug() bool { + if o != nil && !isNil(o.Slug) { return true } @@ -1606,13 +1675,13 @@ func (o *PackageCopy) HasSlug() bool { } // SetSlug gets a reference to the given string and assigns it to the Slug field. -func (o *PackageCopy) SetSlug(v string) { +func (o *PackageResyncResponse) SetSlug(v string) { o.Slug = &v } // GetSlugPerm returns the SlugPerm field value if set, zero value otherwise. -func (o *PackageCopy) GetSlugPerm() string { - if o == nil || o.SlugPerm == nil { +func (o *PackageResyncResponse) GetSlugPerm() string { + if o == nil || isNil(o.SlugPerm) { var ret string return ret } @@ -1621,16 +1690,16 @@ func (o *PackageCopy) GetSlugPerm() string { // GetSlugPermOk returns a tuple with the SlugPerm field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *PackageCopy) GetSlugPermOk() (*string, bool) { - if o == nil || o.SlugPerm == nil { +func (o *PackageResyncResponse) GetSlugPermOk() (*string, bool) { + if o == nil || isNil(o.SlugPerm) { return nil, false } return o.SlugPerm, true } // HasSlugPerm returns a boolean if a field has been set. -func (o *PackageCopy) HasSlugPerm() bool { - if o != nil && o.SlugPerm != nil { +func (o *PackageResyncResponse) HasSlugPerm() bool { + if o != nil && !isNil(o.SlugPerm) { return true } @@ -1638,13 +1707,13 @@ func (o *PackageCopy) HasSlugPerm() bool { } // SetSlugPerm gets a reference to the given string and assigns it to the SlugPerm field. -func (o *PackageCopy) SetSlugPerm(v string) { +func (o *PackageResyncResponse) SetSlugPerm(v string) { o.SlugPerm = &v } // GetStage returns the Stage field value if set, zero value otherwise. -func (o *PackageCopy) GetStage() int64 { - if o == nil || o.Stage == nil { +func (o *PackageResyncResponse) GetStage() int64 { + if o == nil || isNil(o.Stage) { var ret int64 return ret } @@ -1653,16 +1722,16 @@ func (o *PackageCopy) GetStage() int64 { // GetStageOk returns a tuple with the Stage field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *PackageCopy) GetStageOk() (*int64, bool) { - if o == nil || o.Stage == nil { +func (o *PackageResyncResponse) GetStageOk() (*int64, bool) { + if o == nil || isNil(o.Stage) { return nil, false } return o.Stage, true } // HasStage returns a boolean if a field has been set. -func (o *PackageCopy) HasStage() bool { - if o != nil && o.Stage != nil { +func (o *PackageResyncResponse) HasStage() bool { + if o != nil && !isNil(o.Stage) { return true } @@ -1670,13 +1739,13 @@ func (o *PackageCopy) HasStage() bool { } // SetStage gets a reference to the given int64 and assigns it to the Stage field. -func (o *PackageCopy) SetStage(v int64) { +func (o *PackageResyncResponse) SetStage(v int64) { o.Stage = &v } // GetStageStr returns the StageStr field value if set, zero value otherwise. -func (o *PackageCopy) GetStageStr() string { - if o == nil || o.StageStr == nil { +func (o *PackageResyncResponse) GetStageStr() string { + if o == nil || isNil(o.StageStr) { var ret string return ret } @@ -1685,16 +1754,16 @@ func (o *PackageCopy) GetStageStr() string { // GetStageStrOk returns a tuple with the StageStr field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *PackageCopy) GetStageStrOk() (*string, bool) { - if o == nil || o.StageStr == nil { +func (o *PackageResyncResponse) GetStageStrOk() (*string, bool) { + if o == nil || isNil(o.StageStr) { return nil, false } return o.StageStr, true } // HasStageStr returns a boolean if a field has been set. -func (o *PackageCopy) HasStageStr() bool { - if o != nil && o.StageStr != nil { +func (o *PackageResyncResponse) HasStageStr() bool { + if o != nil && !isNil(o.StageStr) { return true } @@ -1702,14 +1771,14 @@ func (o *PackageCopy) HasStageStr() bool { } // SetStageStr gets a reference to the given string and assigns it to the StageStr field. -func (o *PackageCopy) SetStageStr(v string) { +func (o *PackageResyncResponse) SetStageStr(v string) { o.StageStr = &v } // GetStageUpdatedAt returns the StageUpdatedAt field value if set, zero value otherwise. -func (o *PackageCopy) GetStageUpdatedAt() string { - if o == nil || o.StageUpdatedAt == nil { - var ret string +func (o *PackageResyncResponse) GetStageUpdatedAt() time.Time { + if o == nil || isNil(o.StageUpdatedAt) { + var ret time.Time return ret } return *o.StageUpdatedAt @@ -1717,30 +1786,30 @@ func (o *PackageCopy) GetStageUpdatedAt() string { // GetStageUpdatedAtOk returns a tuple with the StageUpdatedAt field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *PackageCopy) GetStageUpdatedAtOk() (*string, bool) { - if o == nil || o.StageUpdatedAt == nil { +func (o *PackageResyncResponse) GetStageUpdatedAtOk() (*time.Time, bool) { + if o == nil || isNil(o.StageUpdatedAt) { return nil, false } return o.StageUpdatedAt, true } // HasStageUpdatedAt returns a boolean if a field has been set. -func (o *PackageCopy) HasStageUpdatedAt() bool { - if o != nil && o.StageUpdatedAt != nil { +func (o *PackageResyncResponse) HasStageUpdatedAt() bool { + if o != nil && !isNil(o.StageUpdatedAt) { return true } return false } -// SetStageUpdatedAt gets a reference to the given string and assigns it to the StageUpdatedAt field. -func (o *PackageCopy) SetStageUpdatedAt(v string) { +// SetStageUpdatedAt gets a reference to the given time.Time and assigns it to the StageUpdatedAt field. +func (o *PackageResyncResponse) SetStageUpdatedAt(v time.Time) { o.StageUpdatedAt = &v } // GetStatus returns the Status field value if set, zero value otherwise. -func (o *PackageCopy) GetStatus() int64 { - if o == nil || o.Status == nil { +func (o *PackageResyncResponse) GetStatus() int64 { + if o == nil || isNil(o.Status) { var ret int64 return ret } @@ -1749,16 +1818,16 @@ func (o *PackageCopy) GetStatus() int64 { // GetStatusOk returns a tuple with the Status field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *PackageCopy) GetStatusOk() (*int64, bool) { - if o == nil || o.Status == nil { +func (o *PackageResyncResponse) GetStatusOk() (*int64, bool) { + if o == nil || isNil(o.Status) { return nil, false } return o.Status, true } // HasStatus returns a boolean if a field has been set. -func (o *PackageCopy) HasStatus() bool { - if o != nil && o.Status != nil { +func (o *PackageResyncResponse) HasStatus() bool { + if o != nil && !isNil(o.Status) { return true } @@ -1766,13 +1835,13 @@ func (o *PackageCopy) HasStatus() bool { } // SetStatus gets a reference to the given int64 and assigns it to the Status field. -func (o *PackageCopy) SetStatus(v int64) { +func (o *PackageResyncResponse) SetStatus(v int64) { o.Status = &v } // GetStatusReason returns the StatusReason field value if set, zero value otherwise. -func (o *PackageCopy) GetStatusReason() string { - if o == nil || o.StatusReason == nil { +func (o *PackageResyncResponse) GetStatusReason() string { + if o == nil || isNil(o.StatusReason) { var ret string return ret } @@ -1781,16 +1850,16 @@ func (o *PackageCopy) GetStatusReason() string { // GetStatusReasonOk returns a tuple with the StatusReason field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *PackageCopy) GetStatusReasonOk() (*string, bool) { - if o == nil || o.StatusReason == nil { +func (o *PackageResyncResponse) GetStatusReasonOk() (*string, bool) { + if o == nil || isNil(o.StatusReason) { return nil, false } return o.StatusReason, true } // HasStatusReason returns a boolean if a field has been set. -func (o *PackageCopy) HasStatusReason() bool { - if o != nil && o.StatusReason != nil { +func (o *PackageResyncResponse) HasStatusReason() bool { + if o != nil && !isNil(o.StatusReason) { return true } @@ -1798,13 +1867,13 @@ func (o *PackageCopy) HasStatusReason() bool { } // SetStatusReason gets a reference to the given string and assigns it to the StatusReason field. -func (o *PackageCopy) SetStatusReason(v string) { +func (o *PackageResyncResponse) SetStatusReason(v string) { o.StatusReason = &v } // GetStatusStr returns the StatusStr field value if set, zero value otherwise. -func (o *PackageCopy) GetStatusStr() string { - if o == nil || o.StatusStr == nil { +func (o *PackageResyncResponse) GetStatusStr() string { + if o == nil || isNil(o.StatusStr) { var ret string return ret } @@ -1813,16 +1882,16 @@ func (o *PackageCopy) GetStatusStr() string { // GetStatusStrOk returns a tuple with the StatusStr field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *PackageCopy) GetStatusStrOk() (*string, bool) { - if o == nil || o.StatusStr == nil { +func (o *PackageResyncResponse) GetStatusStrOk() (*string, bool) { + if o == nil || isNil(o.StatusStr) { return nil, false } return o.StatusStr, true } // HasStatusStr returns a boolean if a field has been set. -func (o *PackageCopy) HasStatusStr() bool { - if o != nil && o.StatusStr != nil { +func (o *PackageResyncResponse) HasStatusStr() bool { + if o != nil && !isNil(o.StatusStr) { return true } @@ -1830,14 +1899,14 @@ func (o *PackageCopy) HasStatusStr() bool { } // SetStatusStr gets a reference to the given string and assigns it to the StatusStr field. -func (o *PackageCopy) SetStatusStr(v string) { +func (o *PackageResyncResponse) SetStatusStr(v string) { o.StatusStr = &v } // GetStatusUpdatedAt returns the StatusUpdatedAt field value if set, zero value otherwise. -func (o *PackageCopy) GetStatusUpdatedAt() string { - if o == nil || o.StatusUpdatedAt == nil { - var ret string +func (o *PackageResyncResponse) GetStatusUpdatedAt() time.Time { + if o == nil || isNil(o.StatusUpdatedAt) { + var ret time.Time return ret } return *o.StatusUpdatedAt @@ -1845,30 +1914,30 @@ func (o *PackageCopy) GetStatusUpdatedAt() string { // GetStatusUpdatedAtOk returns a tuple with the StatusUpdatedAt field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *PackageCopy) GetStatusUpdatedAtOk() (*string, bool) { - if o == nil || o.StatusUpdatedAt == nil { +func (o *PackageResyncResponse) GetStatusUpdatedAtOk() (*time.Time, bool) { + if o == nil || isNil(o.StatusUpdatedAt) { return nil, false } return o.StatusUpdatedAt, true } // HasStatusUpdatedAt returns a boolean if a field has been set. -func (o *PackageCopy) HasStatusUpdatedAt() bool { - if o != nil && o.StatusUpdatedAt != nil { +func (o *PackageResyncResponse) HasStatusUpdatedAt() bool { + if o != nil && !isNil(o.StatusUpdatedAt) { return true } return false } -// SetStatusUpdatedAt gets a reference to the given string and assigns it to the StatusUpdatedAt field. -func (o *PackageCopy) SetStatusUpdatedAt(v string) { +// SetStatusUpdatedAt gets a reference to the given time.Time and assigns it to the StatusUpdatedAt field. +func (o *PackageResyncResponse) SetStatusUpdatedAt(v time.Time) { o.StatusUpdatedAt = &v } // GetStatusUrl returns the StatusUrl field value if set, zero value otherwise. -func (o *PackageCopy) GetStatusUrl() string { - if o == nil || o.StatusUrl == nil { +func (o *PackageResyncResponse) GetStatusUrl() string { + if o == nil || isNil(o.StatusUrl) { var ret string return ret } @@ -1877,16 +1946,16 @@ func (o *PackageCopy) GetStatusUrl() string { // GetStatusUrlOk returns a tuple with the StatusUrl field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *PackageCopy) GetStatusUrlOk() (*string, bool) { - if o == nil || o.StatusUrl == nil { +func (o *PackageResyncResponse) GetStatusUrlOk() (*string, bool) { + if o == nil || isNil(o.StatusUrl) { return nil, false } return o.StatusUrl, true } // HasStatusUrl returns a boolean if a field has been set. -func (o *PackageCopy) HasStatusUrl() bool { - if o != nil && o.StatusUrl != nil { +func (o *PackageResyncResponse) HasStatusUrl() bool { + if o != nil && !isNil(o.StatusUrl) { return true } @@ -1894,13 +1963,13 @@ func (o *PackageCopy) HasStatusUrl() bool { } // SetStatusUrl gets a reference to the given string and assigns it to the StatusUrl field. -func (o *PackageCopy) SetStatusUrl(v string) { +func (o *PackageResyncResponse) SetStatusUrl(v string) { o.StatusUrl = &v } // GetSubtype returns the Subtype field value if set, zero value otherwise. -func (o *PackageCopy) GetSubtype() string { - if o == nil || o.Subtype == nil { +func (o *PackageResyncResponse) GetSubtype() string { + if o == nil || isNil(o.Subtype) { var ret string return ret } @@ -1909,16 +1978,16 @@ func (o *PackageCopy) GetSubtype() string { // GetSubtypeOk returns a tuple with the Subtype field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *PackageCopy) GetSubtypeOk() (*string, bool) { - if o == nil || o.Subtype == nil { +func (o *PackageResyncResponse) GetSubtypeOk() (*string, bool) { + if o == nil || isNil(o.Subtype) { return nil, false } return o.Subtype, true } // HasSubtype returns a boolean if a field has been set. -func (o *PackageCopy) HasSubtype() bool { - if o != nil && o.Subtype != nil { +func (o *PackageResyncResponse) HasSubtype() bool { + if o != nil && !isNil(o.Subtype) { return true } @@ -1926,13 +1995,13 @@ func (o *PackageCopy) HasSubtype() bool { } // SetSubtype gets a reference to the given string and assigns it to the Subtype field. -func (o *PackageCopy) SetSubtype(v string) { +func (o *PackageResyncResponse) SetSubtype(v string) { o.Subtype = &v } // GetSummary returns the Summary field value if set, zero value otherwise. -func (o *PackageCopy) GetSummary() string { - if o == nil || o.Summary == nil { +func (o *PackageResyncResponse) GetSummary() string { + if o == nil || isNil(o.Summary) { var ret string return ret } @@ -1941,16 +2010,16 @@ func (o *PackageCopy) GetSummary() string { // GetSummaryOk returns a tuple with the Summary field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *PackageCopy) GetSummaryOk() (*string, bool) { - if o == nil || o.Summary == nil { +func (o *PackageResyncResponse) GetSummaryOk() (*string, bool) { + if o == nil || isNil(o.Summary) { return nil, false } return o.Summary, true } // HasSummary returns a boolean if a field has been set. -func (o *PackageCopy) HasSummary() bool { - if o != nil && o.Summary != nil { +func (o *PackageResyncResponse) HasSummary() bool { + if o != nil && !isNil(o.Summary) { return true } @@ -1958,14 +2027,14 @@ func (o *PackageCopy) HasSummary() bool { } // SetSummary gets a reference to the given string and assigns it to the Summary field. -func (o *PackageCopy) SetSummary(v string) { +func (o *PackageResyncResponse) SetSummary(v string) { o.Summary = &v } // GetSyncFinishedAt returns the SyncFinishedAt field value if set, zero value otherwise. -func (o *PackageCopy) GetSyncFinishedAt() string { - if o == nil || o.SyncFinishedAt == nil { - var ret string +func (o *PackageResyncResponse) GetSyncFinishedAt() time.Time { + if o == nil || isNil(o.SyncFinishedAt) { + var ret time.Time return ret } return *o.SyncFinishedAt @@ -1973,30 +2042,30 @@ func (o *PackageCopy) GetSyncFinishedAt() string { // GetSyncFinishedAtOk returns a tuple with the SyncFinishedAt field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *PackageCopy) GetSyncFinishedAtOk() (*string, bool) { - if o == nil || o.SyncFinishedAt == nil { +func (o *PackageResyncResponse) GetSyncFinishedAtOk() (*time.Time, bool) { + if o == nil || isNil(o.SyncFinishedAt) { return nil, false } return o.SyncFinishedAt, true } // HasSyncFinishedAt returns a boolean if a field has been set. -func (o *PackageCopy) HasSyncFinishedAt() bool { - if o != nil && o.SyncFinishedAt != nil { +func (o *PackageResyncResponse) HasSyncFinishedAt() bool { + if o != nil && !isNil(o.SyncFinishedAt) { return true } return false } -// SetSyncFinishedAt gets a reference to the given string and assigns it to the SyncFinishedAt field. -func (o *PackageCopy) SetSyncFinishedAt(v string) { +// SetSyncFinishedAt gets a reference to the given time.Time and assigns it to the SyncFinishedAt field. +func (o *PackageResyncResponse) SetSyncFinishedAt(v time.Time) { o.SyncFinishedAt = &v } // GetSyncProgress returns the SyncProgress field value if set, zero value otherwise. -func (o *PackageCopy) GetSyncProgress() int64 { - if o == nil || o.SyncProgress == nil { +func (o *PackageResyncResponse) GetSyncProgress() int64 { + if o == nil || isNil(o.SyncProgress) { var ret int64 return ret } @@ -2005,16 +2074,16 @@ func (o *PackageCopy) GetSyncProgress() int64 { // GetSyncProgressOk returns a tuple with the SyncProgress field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *PackageCopy) GetSyncProgressOk() (*int64, bool) { - if o == nil || o.SyncProgress == nil { +func (o *PackageResyncResponse) GetSyncProgressOk() (*int64, bool) { + if o == nil || isNil(o.SyncProgress) { return nil, false } return o.SyncProgress, true } // HasSyncProgress returns a boolean if a field has been set. -func (o *PackageCopy) HasSyncProgress() bool { - if o != nil && o.SyncProgress != nil { +func (o *PackageResyncResponse) HasSyncProgress() bool { + if o != nil && !isNil(o.SyncProgress) { return true } @@ -2022,13 +2091,13 @@ func (o *PackageCopy) HasSyncProgress() bool { } // SetSyncProgress gets a reference to the given int64 and assigns it to the SyncProgress field. -func (o *PackageCopy) SetSyncProgress(v int64) { +func (o *PackageResyncResponse) SetSyncProgress(v int64) { o.SyncProgress = &v } // GetTags returns the Tags field value if set, zero value otherwise. -func (o *PackageCopy) GetTags() map[string]interface{} { - if o == nil || o.Tags == nil { +func (o *PackageResyncResponse) GetTags() map[string]interface{} { + if o == nil || isNil(o.Tags) { var ret map[string]interface{} return ret } @@ -2037,16 +2106,16 @@ func (o *PackageCopy) GetTags() map[string]interface{} { // GetTagsOk returns a tuple with the Tags field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *PackageCopy) GetTagsOk() (map[string]interface{}, bool) { - if o == nil || o.Tags == nil { - return nil, false +func (o *PackageResyncResponse) GetTagsOk() (map[string]interface{}, bool) { + if o == nil || isNil(o.Tags) { + return map[string]interface{}{}, false } return o.Tags, true } // HasTags returns a boolean if a field has been set. -func (o *PackageCopy) HasTags() bool { - if o != nil && o.Tags != nil { +func (o *PackageResyncResponse) HasTags() bool { + if o != nil && !isNil(o.Tags) { return true } @@ -2054,13 +2123,13 @@ func (o *PackageCopy) HasTags() bool { } // SetTags gets a reference to the given map[string]interface{} and assigns it to the Tags field. -func (o *PackageCopy) SetTags(v map[string]interface{}) { +func (o *PackageResyncResponse) SetTags(v map[string]interface{}) { o.Tags = v } // GetTagsImmutable returns the TagsImmutable field value if set, zero value otherwise. -func (o *PackageCopy) GetTagsImmutable() map[string]interface{} { - if o == nil || o.TagsImmutable == nil { +func (o *PackageResyncResponse) GetTagsImmutable() map[string]interface{} { + if o == nil || isNil(o.TagsImmutable) { var ret map[string]interface{} return ret } @@ -2069,16 +2138,16 @@ func (o *PackageCopy) GetTagsImmutable() map[string]interface{} { // GetTagsImmutableOk returns a tuple with the TagsImmutable field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *PackageCopy) GetTagsImmutableOk() (map[string]interface{}, bool) { - if o == nil || o.TagsImmutable == nil { - return nil, false +func (o *PackageResyncResponse) GetTagsImmutableOk() (map[string]interface{}, bool) { + if o == nil || isNil(o.TagsImmutable) { + return map[string]interface{}{}, false } return o.TagsImmutable, true } // HasTagsImmutable returns a boolean if a field has been set. -func (o *PackageCopy) HasTagsImmutable() bool { - if o != nil && o.TagsImmutable != nil { +func (o *PackageResyncResponse) HasTagsImmutable() bool { + if o != nil && !isNil(o.TagsImmutable) { return true } @@ -2086,13 +2155,13 @@ func (o *PackageCopy) HasTagsImmutable() bool { } // SetTagsImmutable gets a reference to the given map[string]interface{} and assigns it to the TagsImmutable field. -func (o *PackageCopy) SetTagsImmutable(v map[string]interface{}) { +func (o *PackageResyncResponse) SetTagsImmutable(v map[string]interface{}) { o.TagsImmutable = v } // GetTypeDisplay returns the TypeDisplay field value if set, zero value otherwise. -func (o *PackageCopy) GetTypeDisplay() string { - if o == nil || o.TypeDisplay == nil { +func (o *PackageResyncResponse) GetTypeDisplay() string { + if o == nil || isNil(o.TypeDisplay) { var ret string return ret } @@ -2101,16 +2170,16 @@ func (o *PackageCopy) GetTypeDisplay() string { // GetTypeDisplayOk returns a tuple with the TypeDisplay field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *PackageCopy) GetTypeDisplayOk() (*string, bool) { - if o == nil || o.TypeDisplay == nil { +func (o *PackageResyncResponse) GetTypeDisplayOk() (*string, bool) { + if o == nil || isNil(o.TypeDisplay) { return nil, false } return o.TypeDisplay, true } // HasTypeDisplay returns a boolean if a field has been set. -func (o *PackageCopy) HasTypeDisplay() bool { - if o != nil && o.TypeDisplay != nil { +func (o *PackageResyncResponse) HasTypeDisplay() bool { + if o != nil && !isNil(o.TypeDisplay) { return true } @@ -2118,14 +2187,14 @@ func (o *PackageCopy) HasTypeDisplay() bool { } // SetTypeDisplay gets a reference to the given string and assigns it to the TypeDisplay field. -func (o *PackageCopy) SetTypeDisplay(v string) { +func (o *PackageResyncResponse) SetTypeDisplay(v string) { o.TypeDisplay = &v } // GetUploadedAt returns the UploadedAt field value if set, zero value otherwise. -func (o *PackageCopy) GetUploadedAt() string { - if o == nil || o.UploadedAt == nil { - var ret string +func (o *PackageResyncResponse) GetUploadedAt() time.Time { + if o == nil || isNil(o.UploadedAt) { + var ret time.Time return ret } return *o.UploadedAt @@ -2133,30 +2202,30 @@ func (o *PackageCopy) GetUploadedAt() string { // GetUploadedAtOk returns a tuple with the UploadedAt field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *PackageCopy) GetUploadedAtOk() (*string, bool) { - if o == nil || o.UploadedAt == nil { +func (o *PackageResyncResponse) GetUploadedAtOk() (*time.Time, bool) { + if o == nil || isNil(o.UploadedAt) { return nil, false } return o.UploadedAt, true } // HasUploadedAt returns a boolean if a field has been set. -func (o *PackageCopy) HasUploadedAt() bool { - if o != nil && o.UploadedAt != nil { +func (o *PackageResyncResponse) HasUploadedAt() bool { + if o != nil && !isNil(o.UploadedAt) { return true } return false } -// SetUploadedAt gets a reference to the given string and assigns it to the UploadedAt field. -func (o *PackageCopy) SetUploadedAt(v string) { +// SetUploadedAt gets a reference to the given time.Time and assigns it to the UploadedAt field. +func (o *PackageResyncResponse) SetUploadedAt(v time.Time) { o.UploadedAt = &v } // GetUploader returns the Uploader field value if set, zero value otherwise. -func (o *PackageCopy) GetUploader() string { - if o == nil || o.Uploader == nil { +func (o *PackageResyncResponse) GetUploader() string { + if o == nil || isNil(o.Uploader) { var ret string return ret } @@ -2165,16 +2234,16 @@ func (o *PackageCopy) GetUploader() string { // GetUploaderOk returns a tuple with the Uploader field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *PackageCopy) GetUploaderOk() (*string, bool) { - if o == nil || o.Uploader == nil { +func (o *PackageResyncResponse) GetUploaderOk() (*string, bool) { + if o == nil || isNil(o.Uploader) { return nil, false } return o.Uploader, true } // HasUploader returns a boolean if a field has been set. -func (o *PackageCopy) HasUploader() bool { - if o != nil && o.Uploader != nil { +func (o *PackageResyncResponse) HasUploader() bool { + if o != nil && !isNil(o.Uploader) { return true } @@ -2182,13 +2251,13 @@ func (o *PackageCopy) HasUploader() bool { } // SetUploader gets a reference to the given string and assigns it to the Uploader field. -func (o *PackageCopy) SetUploader(v string) { +func (o *PackageResyncResponse) SetUploader(v string) { o.Uploader = &v } // GetUploaderUrl returns the UploaderUrl field value if set, zero value otherwise. -func (o *PackageCopy) GetUploaderUrl() string { - if o == nil || o.UploaderUrl == nil { +func (o *PackageResyncResponse) GetUploaderUrl() string { + if o == nil || isNil(o.UploaderUrl) { var ret string return ret } @@ -2197,16 +2266,16 @@ func (o *PackageCopy) GetUploaderUrl() string { // GetUploaderUrlOk returns a tuple with the UploaderUrl field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *PackageCopy) GetUploaderUrlOk() (*string, bool) { - if o == nil || o.UploaderUrl == nil { +func (o *PackageResyncResponse) GetUploaderUrlOk() (*string, bool) { + if o == nil || isNil(o.UploaderUrl) { return nil, false } return o.UploaderUrl, true } // HasUploaderUrl returns a boolean if a field has been set. -func (o *PackageCopy) HasUploaderUrl() bool { - if o != nil && o.UploaderUrl != nil { +func (o *PackageResyncResponse) HasUploaderUrl() bool { + if o != nil && !isNil(o.UploaderUrl) { return true } @@ -2214,13 +2283,13 @@ func (o *PackageCopy) HasUploaderUrl() bool { } // SetUploaderUrl gets a reference to the given string and assigns it to the UploaderUrl field. -func (o *PackageCopy) SetUploaderUrl(v string) { +func (o *PackageResyncResponse) SetUploaderUrl(v string) { o.UploaderUrl = &v } // GetVersion returns the Version field value if set, zero value otherwise. -func (o *PackageCopy) GetVersion() string { - if o == nil || o.Version == nil { +func (o *PackageResyncResponse) GetVersion() string { + if o == nil || isNil(o.Version) { var ret string return ret } @@ -2229,16 +2298,16 @@ func (o *PackageCopy) GetVersion() string { // GetVersionOk returns a tuple with the Version field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *PackageCopy) GetVersionOk() (*string, bool) { - if o == nil || o.Version == nil { +func (o *PackageResyncResponse) GetVersionOk() (*string, bool) { + if o == nil || isNil(o.Version) { return nil, false } return o.Version, true } // HasVersion returns a boolean if a field has been set. -func (o *PackageCopy) HasVersion() bool { - if o != nil && o.Version != nil { +func (o *PackageResyncResponse) HasVersion() bool { + if o != nil && !isNil(o.Version) { return true } @@ -2246,13 +2315,13 @@ func (o *PackageCopy) HasVersion() bool { } // SetVersion gets a reference to the given string and assigns it to the Version field. -func (o *PackageCopy) SetVersion(v string) { +func (o *PackageResyncResponse) SetVersion(v string) { o.Version = &v } // GetVersionOrig returns the VersionOrig field value if set, zero value otherwise. -func (o *PackageCopy) GetVersionOrig() string { - if o == nil || o.VersionOrig == nil { +func (o *PackageResyncResponse) GetVersionOrig() string { + if o == nil || isNil(o.VersionOrig) { var ret string return ret } @@ -2261,16 +2330,16 @@ func (o *PackageCopy) GetVersionOrig() string { // GetVersionOrigOk returns a tuple with the VersionOrig field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *PackageCopy) GetVersionOrigOk() (*string, bool) { - if o == nil || o.VersionOrig == nil { +func (o *PackageResyncResponse) GetVersionOrigOk() (*string, bool) { + if o == nil || isNil(o.VersionOrig) { return nil, false } return o.VersionOrig, true } // HasVersionOrig returns a boolean if a field has been set. -func (o *PackageCopy) HasVersionOrig() bool { - if o != nil && o.VersionOrig != nil { +func (o *PackageResyncResponse) HasVersionOrig() bool { + if o != nil && !isNil(o.VersionOrig) { return true } @@ -2278,13 +2347,13 @@ func (o *PackageCopy) HasVersionOrig() bool { } // SetVersionOrig gets a reference to the given string and assigns it to the VersionOrig field. -func (o *PackageCopy) SetVersionOrig(v string) { +func (o *PackageResyncResponse) SetVersionOrig(v string) { o.VersionOrig = &v } // GetVulnerabilityScanResultsUrl returns the VulnerabilityScanResultsUrl field value if set, zero value otherwise. -func (o *PackageCopy) GetVulnerabilityScanResultsUrl() string { - if o == nil || o.VulnerabilityScanResultsUrl == nil { +func (o *PackageResyncResponse) GetVulnerabilityScanResultsUrl() string { + if o == nil || isNil(o.VulnerabilityScanResultsUrl) { var ret string return ret } @@ -2293,16 +2362,16 @@ func (o *PackageCopy) GetVulnerabilityScanResultsUrl() string { // GetVulnerabilityScanResultsUrlOk returns a tuple with the VulnerabilityScanResultsUrl field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *PackageCopy) GetVulnerabilityScanResultsUrlOk() (*string, bool) { - if o == nil || o.VulnerabilityScanResultsUrl == nil { +func (o *PackageResyncResponse) GetVulnerabilityScanResultsUrlOk() (*string, bool) { + if o == nil || isNil(o.VulnerabilityScanResultsUrl) { return nil, false } return o.VulnerabilityScanResultsUrl, true } // HasVulnerabilityScanResultsUrl returns a boolean if a field has been set. -func (o *PackageCopy) HasVulnerabilityScanResultsUrl() bool { - if o != nil && o.VulnerabilityScanResultsUrl != nil { +func (o *PackageResyncResponse) HasVulnerabilityScanResultsUrl() bool { + if o != nil && !isNil(o.VulnerabilityScanResultsUrl) { return true } @@ -2310,248 +2379,254 @@ func (o *PackageCopy) HasVulnerabilityScanResultsUrl() bool { } // SetVulnerabilityScanResultsUrl gets a reference to the given string and assigns it to the VulnerabilityScanResultsUrl field. -func (o *PackageCopy) SetVulnerabilityScanResultsUrl(v string) { +func (o *PackageResyncResponse) SetVulnerabilityScanResultsUrl(v string) { o.VulnerabilityScanResultsUrl = &v } -func (o PackageCopy) MarshalJSON() ([]byte, error) { +func (o PackageResyncResponse) MarshalJSON() ([]byte, error) { toSerialize := map[string]interface{}{} - if o.Architectures != nil { + if !isNil(o.Architectures) { toSerialize["architectures"] = o.Architectures } - if o.CdnUrl != nil { - toSerialize["cdn_url"] = o.CdnUrl + if o.CdnUrl.IsSet() { + toSerialize["cdn_url"] = o.CdnUrl.Get() } - if o.ChecksumMd5 != nil { + if !isNil(o.ChecksumMd5) { toSerialize["checksum_md5"] = o.ChecksumMd5 } - if o.ChecksumSha1 != nil { + if !isNil(o.ChecksumSha1) { toSerialize["checksum_sha1"] = o.ChecksumSha1 } - if o.ChecksumSha256 != nil { + if !isNil(o.ChecksumSha256) { toSerialize["checksum_sha256"] = o.ChecksumSha256 } - if o.ChecksumSha512 != nil { + if !isNil(o.ChecksumSha512) { toSerialize["checksum_sha512"] = o.ChecksumSha512 } - if o.DependenciesChecksumMd5 != nil { + if !isNil(o.DependenciesChecksumMd5) { toSerialize["dependencies_checksum_md5"] = o.DependenciesChecksumMd5 } - if o.DependenciesUrl != nil { + if !isNil(o.DependenciesUrl) { toSerialize["dependencies_url"] = o.DependenciesUrl } - if o.Description != nil { + if !isNil(o.Description) { toSerialize["description"] = o.Description } - if o.Distro != nil { - toSerialize["distro"] = o.Distro + if o.Distro.IsSet() { + toSerialize["distro"] = o.Distro.Get() } - if o.DistroVersion != nil { + if !isNil(o.DistroVersion) { toSerialize["distro_version"] = o.DistroVersion } - if o.Downloads != nil { + if !isNil(o.Downloads) { toSerialize["downloads"] = o.Downloads } - if o.Epoch != nil { + if !isNil(o.Epoch) { toSerialize["epoch"] = o.Epoch } - if o.Extension != nil { + if !isNil(o.Extension) { toSerialize["extension"] = o.Extension } - if o.Filename != nil { + if !isNil(o.Filename) { toSerialize["filename"] = o.Filename } - if o.Files != nil { + if !isNil(o.Files) { toSerialize["files"] = o.Files } - if o.Format != nil { + if !isNil(o.Format) { toSerialize["format"] = o.Format } - if o.FormatUrl != nil { + if !isNil(o.FormatUrl) { toSerialize["format_url"] = o.FormatUrl } - if o.IdentifierPerm != nil { + if !isNil(o.IdentifierPerm) { toSerialize["identifier_perm"] = o.IdentifierPerm } - if o.Indexed != nil { + if !isNil(o.Indexed) { toSerialize["indexed"] = o.Indexed } - if o.IsDownloadable != nil { + if !isNil(o.IsDownloadable) { toSerialize["is_downloadable"] = o.IsDownloadable } - if o.IsQuarantined != nil { + if !isNil(o.IsQuarantined) { toSerialize["is_quarantined"] = o.IsQuarantined } - if o.IsSyncAwaiting != nil { + if !isNil(o.IsSyncAwaiting) { toSerialize["is_sync_awaiting"] = o.IsSyncAwaiting } - if o.IsSyncCompleted != nil { + if !isNil(o.IsSyncCompleted) { toSerialize["is_sync_completed"] = o.IsSyncCompleted } - if o.IsSyncFailed != nil { + if !isNil(o.IsSyncFailed) { toSerialize["is_sync_failed"] = o.IsSyncFailed } - if o.IsSyncInFlight != nil { + if !isNil(o.IsSyncInFlight) { toSerialize["is_sync_in_flight"] = o.IsSyncInFlight } - if o.IsSyncInProgress != nil { + if !isNil(o.IsSyncInProgress) { toSerialize["is_sync_in_progress"] = o.IsSyncInProgress } - if o.License != nil { + if !isNil(o.License) { toSerialize["license"] = o.License } - if o.Name != nil { + if !isNil(o.Name) { toSerialize["name"] = o.Name } - if o.Namespace != nil { + if !isNil(o.Namespace) { toSerialize["namespace"] = o.Namespace } - if o.NamespaceUrl != nil { + if !isNil(o.NamespaceUrl) { toSerialize["namespace_url"] = o.NamespaceUrl } - if o.NumFiles != nil { + if !isNil(o.NumFiles) { toSerialize["num_files"] = o.NumFiles } - if o.PackageType != nil { + if !isNil(o.OriginRepository) { + toSerialize["origin_repository"] = o.OriginRepository + } + if !isNil(o.OriginRepositoryUrl) { + toSerialize["origin_repository_url"] = o.OriginRepositoryUrl + } + if !isNil(o.PackageType) { toSerialize["package_type"] = o.PackageType } - if o.Release != nil { + if !isNil(o.Release) { toSerialize["release"] = o.Release } - if o.Repository != nil { + if !isNil(o.Repository) { toSerialize["repository"] = o.Repository } - if o.RepositoryUrl != nil { + if !isNil(o.RepositoryUrl) { toSerialize["repository_url"] = o.RepositoryUrl } - if o.SecurityScanCompletedAt != nil { + if !isNil(o.SecurityScanCompletedAt) { toSerialize["security_scan_completed_at"] = o.SecurityScanCompletedAt } - if o.SecurityScanStartedAt != nil { + if !isNil(o.SecurityScanStartedAt) { toSerialize["security_scan_started_at"] = o.SecurityScanStartedAt } - if o.SecurityScanStatus != nil { - toSerialize["security_scan_status"] = o.SecurityScanStatus + if o.SecurityScanStatus.IsSet() { + toSerialize["security_scan_status"] = o.SecurityScanStatus.Get() } - if o.SecurityScanStatusUpdatedAt != nil { + if !isNil(o.SecurityScanStatusUpdatedAt) { toSerialize["security_scan_status_updated_at"] = o.SecurityScanStatusUpdatedAt } - if o.SelfHtmlUrl != nil { + if !isNil(o.SelfHtmlUrl) { toSerialize["self_html_url"] = o.SelfHtmlUrl } - if o.SelfUrl != nil { + if !isNil(o.SelfUrl) { toSerialize["self_url"] = o.SelfUrl } - if o.SignatureUrl != nil { - toSerialize["signature_url"] = o.SignatureUrl + if o.SignatureUrl.IsSet() { + toSerialize["signature_url"] = o.SignatureUrl.Get() } - if o.Size != nil { + if !isNil(o.Size) { toSerialize["size"] = o.Size } - if o.Slug != nil { + if !isNil(o.Slug) { toSerialize["slug"] = o.Slug } - if o.SlugPerm != nil { + if !isNil(o.SlugPerm) { toSerialize["slug_perm"] = o.SlugPerm } - if o.Stage != nil { + if !isNil(o.Stage) { toSerialize["stage"] = o.Stage } - if o.StageStr != nil { + if !isNil(o.StageStr) { toSerialize["stage_str"] = o.StageStr } - if o.StageUpdatedAt != nil { + if !isNil(o.StageUpdatedAt) { toSerialize["stage_updated_at"] = o.StageUpdatedAt } - if o.Status != nil { + if !isNil(o.Status) { toSerialize["status"] = o.Status } - if o.StatusReason != nil { + if !isNil(o.StatusReason) { toSerialize["status_reason"] = o.StatusReason } - if o.StatusStr != nil { + if !isNil(o.StatusStr) { toSerialize["status_str"] = o.StatusStr } - if o.StatusUpdatedAt != nil { + if !isNil(o.StatusUpdatedAt) { toSerialize["status_updated_at"] = o.StatusUpdatedAt } - if o.StatusUrl != nil { + if !isNil(o.StatusUrl) { toSerialize["status_url"] = o.StatusUrl } - if o.Subtype != nil { + if !isNil(o.Subtype) { toSerialize["subtype"] = o.Subtype } - if o.Summary != nil { + if !isNil(o.Summary) { toSerialize["summary"] = o.Summary } - if o.SyncFinishedAt != nil { + if !isNil(o.SyncFinishedAt) { toSerialize["sync_finished_at"] = o.SyncFinishedAt } - if o.SyncProgress != nil { + if !isNil(o.SyncProgress) { toSerialize["sync_progress"] = o.SyncProgress } - if o.Tags != nil { + if !isNil(o.Tags) { toSerialize["tags"] = o.Tags } - if o.TagsImmutable != nil { + if !isNil(o.TagsImmutable) { toSerialize["tags_immutable"] = o.TagsImmutable } - if o.TypeDisplay != nil { + if !isNil(o.TypeDisplay) { toSerialize["type_display"] = o.TypeDisplay } - if o.UploadedAt != nil { + if !isNil(o.UploadedAt) { toSerialize["uploaded_at"] = o.UploadedAt } - if o.Uploader != nil { + if !isNil(o.Uploader) { toSerialize["uploader"] = o.Uploader } - if o.UploaderUrl != nil { + if !isNil(o.UploaderUrl) { toSerialize["uploader_url"] = o.UploaderUrl } - if o.Version != nil { + if !isNil(o.Version) { toSerialize["version"] = o.Version } - if o.VersionOrig != nil { + if !isNil(o.VersionOrig) { toSerialize["version_orig"] = o.VersionOrig } - if o.VulnerabilityScanResultsUrl != nil { + if !isNil(o.VulnerabilityScanResultsUrl) { toSerialize["vulnerability_scan_results_url"] = o.VulnerabilityScanResultsUrl } return json.Marshal(toSerialize) } -type NullablePackageCopy struct { - value *PackageCopy +type NullablePackageResyncResponse struct { + value *PackageResyncResponse isSet bool } -func (v NullablePackageCopy) Get() *PackageCopy { +func (v NullablePackageResyncResponse) Get() *PackageResyncResponse { return v.value } -func (v *NullablePackageCopy) Set(val *PackageCopy) { +func (v *NullablePackageResyncResponse) Set(val *PackageResyncResponse) { v.value = val v.isSet = true } -func (v NullablePackageCopy) IsSet() bool { +func (v NullablePackageResyncResponse) IsSet() bool { return v.isSet } -func (v *NullablePackageCopy) Unset() { +func (v *NullablePackageResyncResponse) Unset() { v.value = nil v.isSet = false } -func NewNullablePackageCopy(val *PackageCopy) *NullablePackageCopy { - return &NullablePackageCopy{value: val, isSet: true} +func NewNullablePackageResyncResponse(val *PackageResyncResponse) *NullablePackageResyncResponse { + return &NullablePackageResyncResponse{value: val, isSet: true} } -func (v NullablePackageCopy) MarshalJSON() ([]byte, error) { +func (v NullablePackageResyncResponse) MarshalJSON() ([]byte, error) { return json.Marshal(v.value) } -func (v *NullablePackageCopy) UnmarshalJSON(src []byte) error { +func (v *NullablePackageResyncResponse) UnmarshalJSON(src []byte) error { v.isSet = true return json.Unmarshal(src, &v.value) } diff --git a/model_package_status.go b/model_package_status_response.go similarity index 56% rename from model_package_status.go rename to model_package_status_response.go index fb0c7179..7abd3298 100644 --- a/model_package_status.go +++ b/model_package_status_response.go @@ -1,9 +1,9 @@ /* -Cloudsmith API +Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.121.3 +API version: 1.181.6 Contact: support@cloudsmith.io */ @@ -13,66 +13,57 @@ package cloudsmith import ( "encoding/json" + "time" ) -// PackageStatus struct for PackageStatus -type PackageStatus struct { - // - IsDownloadable *bool `json:"is_downloadable,omitempty"` - // - IsQuarantined *bool `json:"is_quarantined,omitempty"` - // - IsSyncAwaiting *bool `json:"is_sync_awaiting,omitempty"` - // - IsSyncCompleted *bool `json:"is_sync_completed,omitempty"` - // - IsSyncFailed *bool `json:"is_sync_failed,omitempty"` - // - IsSyncInFlight *bool `json:"is_sync_in_flight,omitempty"` - // - IsSyncInProgress *bool `json:"is_sync_in_progress,omitempty"` - // - SelfUrl *string `json:"self_url,omitempty"` +// PackageStatusResponse struct for PackageStatusResponse +type PackageStatusResponse struct { + IsDownloadable *bool `json:"is_downloadable,omitempty"` + IsQuarantined *bool `json:"is_quarantined,omitempty"` + IsSyncAwaiting *bool `json:"is_sync_awaiting,omitempty"` + IsSyncCompleted *bool `json:"is_sync_completed,omitempty"` + IsSyncFailed *bool `json:"is_sync_failed,omitempty"` + IsSyncInFlight *bool `json:"is_sync_in_flight,omitempty"` + IsSyncInProgress *bool `json:"is_sync_in_progress,omitempty"` + SelfUrl *string `json:"self_url,omitempty"` // The synchronisation (in progress) stage of the package. - Stage *int64 `json:"stage,omitempty"` - // + Stage *int64 `json:"stage,omitempty"` StageStr *string `json:"stage_str,omitempty"` // The datetime the package stage was updated at. - StageUpdatedAt *string `json:"stage_updated_at,omitempty"` + StageUpdatedAt *time.Time `json:"stage_updated_at,omitempty"` // The synchronisation status of the package. Status *int64 `json:"status,omitempty"` // A textual description for the synchronous status reason (if any StatusReason *string `json:"status_reason,omitempty"` - // - StatusStr *string `json:"status_str,omitempty"` + StatusStr *string `json:"status_str,omitempty"` // The datetime the package status was updated at. - StatusUpdatedAt *string `json:"status_updated_at,omitempty"` + StatusUpdatedAt *time.Time `json:"status_updated_at,omitempty"` // The datetime the package sync was finished at. - SyncFinishedAt *string `json:"sync_finished_at,omitempty"` + SyncFinishedAt *time.Time `json:"sync_finished_at,omitempty"` // Synchronisation progress (from 0-100) SyncProgress *int64 `json:"sync_progress,omitempty"` } -// NewPackageStatus instantiates a new PackageStatus object +// NewPackageStatusResponse instantiates a new PackageStatusResponse object // 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 NewPackageStatus() *PackageStatus { - this := PackageStatus{} +func NewPackageStatusResponse() *PackageStatusResponse { + this := PackageStatusResponse{} return &this } -// NewPackageStatusWithDefaults instantiates a new PackageStatus object +// NewPackageStatusResponseWithDefaults instantiates a new PackageStatusResponse object // This constructor will only assign default values to properties that have it defined, // but it doesn't guarantee that properties required by API are set -func NewPackageStatusWithDefaults() *PackageStatus { - this := PackageStatus{} +func NewPackageStatusResponseWithDefaults() *PackageStatusResponse { + this := PackageStatusResponse{} return &this } // GetIsDownloadable returns the IsDownloadable field value if set, zero value otherwise. -func (o *PackageStatus) GetIsDownloadable() bool { - if o == nil || o.IsDownloadable == nil { +func (o *PackageStatusResponse) GetIsDownloadable() bool { + if o == nil || isNil(o.IsDownloadable) { var ret bool return ret } @@ -81,16 +72,16 @@ func (o *PackageStatus) GetIsDownloadable() bool { // GetIsDownloadableOk returns a tuple with the IsDownloadable field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *PackageStatus) GetIsDownloadableOk() (*bool, bool) { - if o == nil || o.IsDownloadable == nil { +func (o *PackageStatusResponse) GetIsDownloadableOk() (*bool, bool) { + if o == nil || isNil(o.IsDownloadable) { return nil, false } return o.IsDownloadable, true } // HasIsDownloadable returns a boolean if a field has been set. -func (o *PackageStatus) HasIsDownloadable() bool { - if o != nil && o.IsDownloadable != nil { +func (o *PackageStatusResponse) HasIsDownloadable() bool { + if o != nil && !isNil(o.IsDownloadable) { return true } @@ -98,13 +89,13 @@ func (o *PackageStatus) HasIsDownloadable() bool { } // SetIsDownloadable gets a reference to the given bool and assigns it to the IsDownloadable field. -func (o *PackageStatus) SetIsDownloadable(v bool) { +func (o *PackageStatusResponse) SetIsDownloadable(v bool) { o.IsDownloadable = &v } // GetIsQuarantined returns the IsQuarantined field value if set, zero value otherwise. -func (o *PackageStatus) GetIsQuarantined() bool { - if o == nil || o.IsQuarantined == nil { +func (o *PackageStatusResponse) GetIsQuarantined() bool { + if o == nil || isNil(o.IsQuarantined) { var ret bool return ret } @@ -113,16 +104,16 @@ func (o *PackageStatus) GetIsQuarantined() bool { // GetIsQuarantinedOk returns a tuple with the IsQuarantined field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *PackageStatus) GetIsQuarantinedOk() (*bool, bool) { - if o == nil || o.IsQuarantined == nil { +func (o *PackageStatusResponse) GetIsQuarantinedOk() (*bool, bool) { + if o == nil || isNil(o.IsQuarantined) { return nil, false } return o.IsQuarantined, true } // HasIsQuarantined returns a boolean if a field has been set. -func (o *PackageStatus) HasIsQuarantined() bool { - if o != nil && o.IsQuarantined != nil { +func (o *PackageStatusResponse) HasIsQuarantined() bool { + if o != nil && !isNil(o.IsQuarantined) { return true } @@ -130,13 +121,13 @@ func (o *PackageStatus) HasIsQuarantined() bool { } // SetIsQuarantined gets a reference to the given bool and assigns it to the IsQuarantined field. -func (o *PackageStatus) SetIsQuarantined(v bool) { +func (o *PackageStatusResponse) SetIsQuarantined(v bool) { o.IsQuarantined = &v } // GetIsSyncAwaiting returns the IsSyncAwaiting field value if set, zero value otherwise. -func (o *PackageStatus) GetIsSyncAwaiting() bool { - if o == nil || o.IsSyncAwaiting == nil { +func (o *PackageStatusResponse) GetIsSyncAwaiting() bool { + if o == nil || isNil(o.IsSyncAwaiting) { var ret bool return ret } @@ -145,16 +136,16 @@ func (o *PackageStatus) GetIsSyncAwaiting() bool { // GetIsSyncAwaitingOk returns a tuple with the IsSyncAwaiting field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *PackageStatus) GetIsSyncAwaitingOk() (*bool, bool) { - if o == nil || o.IsSyncAwaiting == nil { +func (o *PackageStatusResponse) GetIsSyncAwaitingOk() (*bool, bool) { + if o == nil || isNil(o.IsSyncAwaiting) { return nil, false } return o.IsSyncAwaiting, true } // HasIsSyncAwaiting returns a boolean if a field has been set. -func (o *PackageStatus) HasIsSyncAwaiting() bool { - if o != nil && o.IsSyncAwaiting != nil { +func (o *PackageStatusResponse) HasIsSyncAwaiting() bool { + if o != nil && !isNil(o.IsSyncAwaiting) { return true } @@ -162,13 +153,13 @@ func (o *PackageStatus) HasIsSyncAwaiting() bool { } // SetIsSyncAwaiting gets a reference to the given bool and assigns it to the IsSyncAwaiting field. -func (o *PackageStatus) SetIsSyncAwaiting(v bool) { +func (o *PackageStatusResponse) SetIsSyncAwaiting(v bool) { o.IsSyncAwaiting = &v } // GetIsSyncCompleted returns the IsSyncCompleted field value if set, zero value otherwise. -func (o *PackageStatus) GetIsSyncCompleted() bool { - if o == nil || o.IsSyncCompleted == nil { +func (o *PackageStatusResponse) GetIsSyncCompleted() bool { + if o == nil || isNil(o.IsSyncCompleted) { var ret bool return ret } @@ -177,16 +168,16 @@ func (o *PackageStatus) GetIsSyncCompleted() bool { // GetIsSyncCompletedOk returns a tuple with the IsSyncCompleted field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *PackageStatus) GetIsSyncCompletedOk() (*bool, bool) { - if o == nil || o.IsSyncCompleted == nil { +func (o *PackageStatusResponse) GetIsSyncCompletedOk() (*bool, bool) { + if o == nil || isNil(o.IsSyncCompleted) { return nil, false } return o.IsSyncCompleted, true } // HasIsSyncCompleted returns a boolean if a field has been set. -func (o *PackageStatus) HasIsSyncCompleted() bool { - if o != nil && o.IsSyncCompleted != nil { +func (o *PackageStatusResponse) HasIsSyncCompleted() bool { + if o != nil && !isNil(o.IsSyncCompleted) { return true } @@ -194,13 +185,13 @@ func (o *PackageStatus) HasIsSyncCompleted() bool { } // SetIsSyncCompleted gets a reference to the given bool and assigns it to the IsSyncCompleted field. -func (o *PackageStatus) SetIsSyncCompleted(v bool) { +func (o *PackageStatusResponse) SetIsSyncCompleted(v bool) { o.IsSyncCompleted = &v } // GetIsSyncFailed returns the IsSyncFailed field value if set, zero value otherwise. -func (o *PackageStatus) GetIsSyncFailed() bool { - if o == nil || o.IsSyncFailed == nil { +func (o *PackageStatusResponse) GetIsSyncFailed() bool { + if o == nil || isNil(o.IsSyncFailed) { var ret bool return ret } @@ -209,16 +200,16 @@ func (o *PackageStatus) GetIsSyncFailed() bool { // GetIsSyncFailedOk returns a tuple with the IsSyncFailed field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *PackageStatus) GetIsSyncFailedOk() (*bool, bool) { - if o == nil || o.IsSyncFailed == nil { +func (o *PackageStatusResponse) GetIsSyncFailedOk() (*bool, bool) { + if o == nil || isNil(o.IsSyncFailed) { return nil, false } return o.IsSyncFailed, true } // HasIsSyncFailed returns a boolean if a field has been set. -func (o *PackageStatus) HasIsSyncFailed() bool { - if o != nil && o.IsSyncFailed != nil { +func (o *PackageStatusResponse) HasIsSyncFailed() bool { + if o != nil && !isNil(o.IsSyncFailed) { return true } @@ -226,13 +217,13 @@ func (o *PackageStatus) HasIsSyncFailed() bool { } // SetIsSyncFailed gets a reference to the given bool and assigns it to the IsSyncFailed field. -func (o *PackageStatus) SetIsSyncFailed(v bool) { +func (o *PackageStatusResponse) SetIsSyncFailed(v bool) { o.IsSyncFailed = &v } // GetIsSyncInFlight returns the IsSyncInFlight field value if set, zero value otherwise. -func (o *PackageStatus) GetIsSyncInFlight() bool { - if o == nil || o.IsSyncInFlight == nil { +func (o *PackageStatusResponse) GetIsSyncInFlight() bool { + if o == nil || isNil(o.IsSyncInFlight) { var ret bool return ret } @@ -241,16 +232,16 @@ func (o *PackageStatus) GetIsSyncInFlight() bool { // GetIsSyncInFlightOk returns a tuple with the IsSyncInFlight field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *PackageStatus) GetIsSyncInFlightOk() (*bool, bool) { - if o == nil || o.IsSyncInFlight == nil { +func (o *PackageStatusResponse) GetIsSyncInFlightOk() (*bool, bool) { + if o == nil || isNil(o.IsSyncInFlight) { return nil, false } return o.IsSyncInFlight, true } // HasIsSyncInFlight returns a boolean if a field has been set. -func (o *PackageStatus) HasIsSyncInFlight() bool { - if o != nil && o.IsSyncInFlight != nil { +func (o *PackageStatusResponse) HasIsSyncInFlight() bool { + if o != nil && !isNil(o.IsSyncInFlight) { return true } @@ -258,13 +249,13 @@ func (o *PackageStatus) HasIsSyncInFlight() bool { } // SetIsSyncInFlight gets a reference to the given bool and assigns it to the IsSyncInFlight field. -func (o *PackageStatus) SetIsSyncInFlight(v bool) { +func (o *PackageStatusResponse) SetIsSyncInFlight(v bool) { o.IsSyncInFlight = &v } // GetIsSyncInProgress returns the IsSyncInProgress field value if set, zero value otherwise. -func (o *PackageStatus) GetIsSyncInProgress() bool { - if o == nil || o.IsSyncInProgress == nil { +func (o *PackageStatusResponse) GetIsSyncInProgress() bool { + if o == nil || isNil(o.IsSyncInProgress) { var ret bool return ret } @@ -273,16 +264,16 @@ func (o *PackageStatus) GetIsSyncInProgress() bool { // GetIsSyncInProgressOk returns a tuple with the IsSyncInProgress field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *PackageStatus) GetIsSyncInProgressOk() (*bool, bool) { - if o == nil || o.IsSyncInProgress == nil { +func (o *PackageStatusResponse) GetIsSyncInProgressOk() (*bool, bool) { + if o == nil || isNil(o.IsSyncInProgress) { return nil, false } return o.IsSyncInProgress, true } // HasIsSyncInProgress returns a boolean if a field has been set. -func (o *PackageStatus) HasIsSyncInProgress() bool { - if o != nil && o.IsSyncInProgress != nil { +func (o *PackageStatusResponse) HasIsSyncInProgress() bool { + if o != nil && !isNil(o.IsSyncInProgress) { return true } @@ -290,13 +281,13 @@ func (o *PackageStatus) HasIsSyncInProgress() bool { } // SetIsSyncInProgress gets a reference to the given bool and assigns it to the IsSyncInProgress field. -func (o *PackageStatus) SetIsSyncInProgress(v bool) { +func (o *PackageStatusResponse) SetIsSyncInProgress(v bool) { o.IsSyncInProgress = &v } // GetSelfUrl returns the SelfUrl field value if set, zero value otherwise. -func (o *PackageStatus) GetSelfUrl() string { - if o == nil || o.SelfUrl == nil { +func (o *PackageStatusResponse) GetSelfUrl() string { + if o == nil || isNil(o.SelfUrl) { var ret string return ret } @@ -305,16 +296,16 @@ func (o *PackageStatus) GetSelfUrl() string { // GetSelfUrlOk returns a tuple with the SelfUrl field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *PackageStatus) GetSelfUrlOk() (*string, bool) { - if o == nil || o.SelfUrl == nil { +func (o *PackageStatusResponse) GetSelfUrlOk() (*string, bool) { + if o == nil || isNil(o.SelfUrl) { return nil, false } return o.SelfUrl, true } // HasSelfUrl returns a boolean if a field has been set. -func (o *PackageStatus) HasSelfUrl() bool { - if o != nil && o.SelfUrl != nil { +func (o *PackageStatusResponse) HasSelfUrl() bool { + if o != nil && !isNil(o.SelfUrl) { return true } @@ -322,13 +313,13 @@ func (o *PackageStatus) HasSelfUrl() bool { } // SetSelfUrl gets a reference to the given string and assigns it to the SelfUrl field. -func (o *PackageStatus) SetSelfUrl(v string) { +func (o *PackageStatusResponse) SetSelfUrl(v string) { o.SelfUrl = &v } // GetStage returns the Stage field value if set, zero value otherwise. -func (o *PackageStatus) GetStage() int64 { - if o == nil || o.Stage == nil { +func (o *PackageStatusResponse) GetStage() int64 { + if o == nil || isNil(o.Stage) { var ret int64 return ret } @@ -337,16 +328,16 @@ func (o *PackageStatus) GetStage() int64 { // GetStageOk returns a tuple with the Stage field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *PackageStatus) GetStageOk() (*int64, bool) { - if o == nil || o.Stage == nil { +func (o *PackageStatusResponse) GetStageOk() (*int64, bool) { + if o == nil || isNil(o.Stage) { return nil, false } return o.Stage, true } // HasStage returns a boolean if a field has been set. -func (o *PackageStatus) HasStage() bool { - if o != nil && o.Stage != nil { +func (o *PackageStatusResponse) HasStage() bool { + if o != nil && !isNil(o.Stage) { return true } @@ -354,13 +345,13 @@ func (o *PackageStatus) HasStage() bool { } // SetStage gets a reference to the given int64 and assigns it to the Stage field. -func (o *PackageStatus) SetStage(v int64) { +func (o *PackageStatusResponse) SetStage(v int64) { o.Stage = &v } // GetStageStr returns the StageStr field value if set, zero value otherwise. -func (o *PackageStatus) GetStageStr() string { - if o == nil || o.StageStr == nil { +func (o *PackageStatusResponse) GetStageStr() string { + if o == nil || isNil(o.StageStr) { var ret string return ret } @@ -369,16 +360,16 @@ func (o *PackageStatus) GetStageStr() string { // GetStageStrOk returns a tuple with the StageStr field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *PackageStatus) GetStageStrOk() (*string, bool) { - if o == nil || o.StageStr == nil { +func (o *PackageStatusResponse) GetStageStrOk() (*string, bool) { + if o == nil || isNil(o.StageStr) { return nil, false } return o.StageStr, true } // HasStageStr returns a boolean if a field has been set. -func (o *PackageStatus) HasStageStr() bool { - if o != nil && o.StageStr != nil { +func (o *PackageStatusResponse) HasStageStr() bool { + if o != nil && !isNil(o.StageStr) { return true } @@ -386,14 +377,14 @@ func (o *PackageStatus) HasStageStr() bool { } // SetStageStr gets a reference to the given string and assigns it to the StageStr field. -func (o *PackageStatus) SetStageStr(v string) { +func (o *PackageStatusResponse) SetStageStr(v string) { o.StageStr = &v } // GetStageUpdatedAt returns the StageUpdatedAt field value if set, zero value otherwise. -func (o *PackageStatus) GetStageUpdatedAt() string { - if o == nil || o.StageUpdatedAt == nil { - var ret string +func (o *PackageStatusResponse) GetStageUpdatedAt() time.Time { + if o == nil || isNil(o.StageUpdatedAt) { + var ret time.Time return ret } return *o.StageUpdatedAt @@ -401,30 +392,30 @@ func (o *PackageStatus) GetStageUpdatedAt() string { // GetStageUpdatedAtOk returns a tuple with the StageUpdatedAt field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *PackageStatus) GetStageUpdatedAtOk() (*string, bool) { - if o == nil || o.StageUpdatedAt == nil { +func (o *PackageStatusResponse) GetStageUpdatedAtOk() (*time.Time, bool) { + if o == nil || isNil(o.StageUpdatedAt) { return nil, false } return o.StageUpdatedAt, true } // HasStageUpdatedAt returns a boolean if a field has been set. -func (o *PackageStatus) HasStageUpdatedAt() bool { - if o != nil && o.StageUpdatedAt != nil { +func (o *PackageStatusResponse) HasStageUpdatedAt() bool { + if o != nil && !isNil(o.StageUpdatedAt) { return true } return false } -// SetStageUpdatedAt gets a reference to the given string and assigns it to the StageUpdatedAt field. -func (o *PackageStatus) SetStageUpdatedAt(v string) { +// SetStageUpdatedAt gets a reference to the given time.Time and assigns it to the StageUpdatedAt field. +func (o *PackageStatusResponse) SetStageUpdatedAt(v time.Time) { o.StageUpdatedAt = &v } // GetStatus returns the Status field value if set, zero value otherwise. -func (o *PackageStatus) GetStatus() int64 { - if o == nil || o.Status == nil { +func (o *PackageStatusResponse) GetStatus() int64 { + if o == nil || isNil(o.Status) { var ret int64 return ret } @@ -433,16 +424,16 @@ func (o *PackageStatus) GetStatus() int64 { // GetStatusOk returns a tuple with the Status field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *PackageStatus) GetStatusOk() (*int64, bool) { - if o == nil || o.Status == nil { +func (o *PackageStatusResponse) GetStatusOk() (*int64, bool) { + if o == nil || isNil(o.Status) { return nil, false } return o.Status, true } // HasStatus returns a boolean if a field has been set. -func (o *PackageStatus) HasStatus() bool { - if o != nil && o.Status != nil { +func (o *PackageStatusResponse) HasStatus() bool { + if o != nil && !isNil(o.Status) { return true } @@ -450,13 +441,13 @@ func (o *PackageStatus) HasStatus() bool { } // SetStatus gets a reference to the given int64 and assigns it to the Status field. -func (o *PackageStatus) SetStatus(v int64) { +func (o *PackageStatusResponse) SetStatus(v int64) { o.Status = &v } // GetStatusReason returns the StatusReason field value if set, zero value otherwise. -func (o *PackageStatus) GetStatusReason() string { - if o == nil || o.StatusReason == nil { +func (o *PackageStatusResponse) GetStatusReason() string { + if o == nil || isNil(o.StatusReason) { var ret string return ret } @@ -465,16 +456,16 @@ func (o *PackageStatus) GetStatusReason() string { // GetStatusReasonOk returns a tuple with the StatusReason field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *PackageStatus) GetStatusReasonOk() (*string, bool) { - if o == nil || o.StatusReason == nil { +func (o *PackageStatusResponse) GetStatusReasonOk() (*string, bool) { + if o == nil || isNil(o.StatusReason) { return nil, false } return o.StatusReason, true } // HasStatusReason returns a boolean if a field has been set. -func (o *PackageStatus) HasStatusReason() bool { - if o != nil && o.StatusReason != nil { +func (o *PackageStatusResponse) HasStatusReason() bool { + if o != nil && !isNil(o.StatusReason) { return true } @@ -482,13 +473,13 @@ func (o *PackageStatus) HasStatusReason() bool { } // SetStatusReason gets a reference to the given string and assigns it to the StatusReason field. -func (o *PackageStatus) SetStatusReason(v string) { +func (o *PackageStatusResponse) SetStatusReason(v string) { o.StatusReason = &v } // GetStatusStr returns the StatusStr field value if set, zero value otherwise. -func (o *PackageStatus) GetStatusStr() string { - if o == nil || o.StatusStr == nil { +func (o *PackageStatusResponse) GetStatusStr() string { + if o == nil || isNil(o.StatusStr) { var ret string return ret } @@ -497,16 +488,16 @@ func (o *PackageStatus) GetStatusStr() string { // GetStatusStrOk returns a tuple with the StatusStr field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *PackageStatus) GetStatusStrOk() (*string, bool) { - if o == nil || o.StatusStr == nil { +func (o *PackageStatusResponse) GetStatusStrOk() (*string, bool) { + if o == nil || isNil(o.StatusStr) { return nil, false } return o.StatusStr, true } // HasStatusStr returns a boolean if a field has been set. -func (o *PackageStatus) HasStatusStr() bool { - if o != nil && o.StatusStr != nil { +func (o *PackageStatusResponse) HasStatusStr() bool { + if o != nil && !isNil(o.StatusStr) { return true } @@ -514,14 +505,14 @@ func (o *PackageStatus) HasStatusStr() bool { } // SetStatusStr gets a reference to the given string and assigns it to the StatusStr field. -func (o *PackageStatus) SetStatusStr(v string) { +func (o *PackageStatusResponse) SetStatusStr(v string) { o.StatusStr = &v } // GetStatusUpdatedAt returns the StatusUpdatedAt field value if set, zero value otherwise. -func (o *PackageStatus) GetStatusUpdatedAt() string { - if o == nil || o.StatusUpdatedAt == nil { - var ret string +func (o *PackageStatusResponse) GetStatusUpdatedAt() time.Time { + if o == nil || isNil(o.StatusUpdatedAt) { + var ret time.Time return ret } return *o.StatusUpdatedAt @@ -529,31 +520,31 @@ func (o *PackageStatus) GetStatusUpdatedAt() string { // GetStatusUpdatedAtOk returns a tuple with the StatusUpdatedAt field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *PackageStatus) GetStatusUpdatedAtOk() (*string, bool) { - if o == nil || o.StatusUpdatedAt == nil { +func (o *PackageStatusResponse) GetStatusUpdatedAtOk() (*time.Time, bool) { + if o == nil || isNil(o.StatusUpdatedAt) { return nil, false } return o.StatusUpdatedAt, true } // HasStatusUpdatedAt returns a boolean if a field has been set. -func (o *PackageStatus) HasStatusUpdatedAt() bool { - if o != nil && o.StatusUpdatedAt != nil { +func (o *PackageStatusResponse) HasStatusUpdatedAt() bool { + if o != nil && !isNil(o.StatusUpdatedAt) { return true } return false } -// SetStatusUpdatedAt gets a reference to the given string and assigns it to the StatusUpdatedAt field. -func (o *PackageStatus) SetStatusUpdatedAt(v string) { +// SetStatusUpdatedAt gets a reference to the given time.Time and assigns it to the StatusUpdatedAt field. +func (o *PackageStatusResponse) SetStatusUpdatedAt(v time.Time) { o.StatusUpdatedAt = &v } // GetSyncFinishedAt returns the SyncFinishedAt field value if set, zero value otherwise. -func (o *PackageStatus) GetSyncFinishedAt() string { - if o == nil || o.SyncFinishedAt == nil { - var ret string +func (o *PackageStatusResponse) GetSyncFinishedAt() time.Time { + if o == nil || isNil(o.SyncFinishedAt) { + var ret time.Time return ret } return *o.SyncFinishedAt @@ -561,30 +552,30 @@ func (o *PackageStatus) GetSyncFinishedAt() string { // GetSyncFinishedAtOk returns a tuple with the SyncFinishedAt field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *PackageStatus) GetSyncFinishedAtOk() (*string, bool) { - if o == nil || o.SyncFinishedAt == nil { +func (o *PackageStatusResponse) GetSyncFinishedAtOk() (*time.Time, bool) { + if o == nil || isNil(o.SyncFinishedAt) { return nil, false } return o.SyncFinishedAt, true } // HasSyncFinishedAt returns a boolean if a field has been set. -func (o *PackageStatus) HasSyncFinishedAt() bool { - if o != nil && o.SyncFinishedAt != nil { +func (o *PackageStatusResponse) HasSyncFinishedAt() bool { + if o != nil && !isNil(o.SyncFinishedAt) { return true } return false } -// SetSyncFinishedAt gets a reference to the given string and assigns it to the SyncFinishedAt field. -func (o *PackageStatus) SetSyncFinishedAt(v string) { +// SetSyncFinishedAt gets a reference to the given time.Time and assigns it to the SyncFinishedAt field. +func (o *PackageStatusResponse) SetSyncFinishedAt(v time.Time) { o.SyncFinishedAt = &v } // GetSyncProgress returns the SyncProgress field value if set, zero value otherwise. -func (o *PackageStatus) GetSyncProgress() int64 { - if o == nil || o.SyncProgress == nil { +func (o *PackageStatusResponse) GetSyncProgress() int64 { + if o == nil || isNil(o.SyncProgress) { var ret int64 return ret } @@ -593,16 +584,16 @@ func (o *PackageStatus) GetSyncProgress() int64 { // GetSyncProgressOk returns a tuple with the SyncProgress field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *PackageStatus) GetSyncProgressOk() (*int64, bool) { - if o == nil || o.SyncProgress == nil { +func (o *PackageStatusResponse) GetSyncProgressOk() (*int64, bool) { + if o == nil || isNil(o.SyncProgress) { return nil, false } return o.SyncProgress, true } // HasSyncProgress returns a boolean if a field has been set. -func (o *PackageStatus) HasSyncProgress() bool { - if o != nil && o.SyncProgress != nil { +func (o *PackageStatusResponse) HasSyncProgress() bool { + if o != nil && !isNil(o.SyncProgress) { return true } @@ -610,98 +601,98 @@ func (o *PackageStatus) HasSyncProgress() bool { } // SetSyncProgress gets a reference to the given int64 and assigns it to the SyncProgress field. -func (o *PackageStatus) SetSyncProgress(v int64) { +func (o *PackageStatusResponse) SetSyncProgress(v int64) { o.SyncProgress = &v } -func (o PackageStatus) MarshalJSON() ([]byte, error) { +func (o PackageStatusResponse) MarshalJSON() ([]byte, error) { toSerialize := map[string]interface{}{} - if o.IsDownloadable != nil { + if !isNil(o.IsDownloadable) { toSerialize["is_downloadable"] = o.IsDownloadable } - if o.IsQuarantined != nil { + if !isNil(o.IsQuarantined) { toSerialize["is_quarantined"] = o.IsQuarantined } - if o.IsSyncAwaiting != nil { + if !isNil(o.IsSyncAwaiting) { toSerialize["is_sync_awaiting"] = o.IsSyncAwaiting } - if o.IsSyncCompleted != nil { + if !isNil(o.IsSyncCompleted) { toSerialize["is_sync_completed"] = o.IsSyncCompleted } - if o.IsSyncFailed != nil { + if !isNil(o.IsSyncFailed) { toSerialize["is_sync_failed"] = o.IsSyncFailed } - if o.IsSyncInFlight != nil { + if !isNil(o.IsSyncInFlight) { toSerialize["is_sync_in_flight"] = o.IsSyncInFlight } - if o.IsSyncInProgress != nil { + if !isNil(o.IsSyncInProgress) { toSerialize["is_sync_in_progress"] = o.IsSyncInProgress } - if o.SelfUrl != nil { + if !isNil(o.SelfUrl) { toSerialize["self_url"] = o.SelfUrl } - if o.Stage != nil { + if !isNil(o.Stage) { toSerialize["stage"] = o.Stage } - if o.StageStr != nil { + if !isNil(o.StageStr) { toSerialize["stage_str"] = o.StageStr } - if o.StageUpdatedAt != nil { + if !isNil(o.StageUpdatedAt) { toSerialize["stage_updated_at"] = o.StageUpdatedAt } - if o.Status != nil { + if !isNil(o.Status) { toSerialize["status"] = o.Status } - if o.StatusReason != nil { + if !isNil(o.StatusReason) { toSerialize["status_reason"] = o.StatusReason } - if o.StatusStr != nil { + if !isNil(o.StatusStr) { toSerialize["status_str"] = o.StatusStr } - if o.StatusUpdatedAt != nil { + if !isNil(o.StatusUpdatedAt) { toSerialize["status_updated_at"] = o.StatusUpdatedAt } - if o.SyncFinishedAt != nil { + if !isNil(o.SyncFinishedAt) { toSerialize["sync_finished_at"] = o.SyncFinishedAt } - if o.SyncProgress != nil { + if !isNil(o.SyncProgress) { toSerialize["sync_progress"] = o.SyncProgress } return json.Marshal(toSerialize) } -type NullablePackageStatus struct { - value *PackageStatus +type NullablePackageStatusResponse struct { + value *PackageStatusResponse isSet bool } -func (v NullablePackageStatus) Get() *PackageStatus { +func (v NullablePackageStatusResponse) Get() *PackageStatusResponse { return v.value } -func (v *NullablePackageStatus) Set(val *PackageStatus) { +func (v *NullablePackageStatusResponse) Set(val *PackageStatusResponse) { v.value = val v.isSet = true } -func (v NullablePackageStatus) IsSet() bool { +func (v NullablePackageStatusResponse) IsSet() bool { return v.isSet } -func (v *NullablePackageStatus) Unset() { +func (v *NullablePackageStatusResponse) Unset() { v.value = nil v.isSet = false } -func NewNullablePackageStatus(val *PackageStatus) *NullablePackageStatus { - return &NullablePackageStatus{value: val, isSet: true} +func NewNullablePackageStatusResponse(val *PackageStatusResponse) *NullablePackageStatusResponse { + return &NullablePackageStatusResponse{value: val, isSet: true} } -func (v NullablePackageStatus) MarshalJSON() ([]byte, error) { +func (v NullablePackageStatusResponse) MarshalJSON() ([]byte, error) { return json.Marshal(v.value) } -func (v *NullablePackageStatus) UnmarshalJSON(src []byte) error { +func (v *NullablePackageStatusResponse) UnmarshalJSON(src []byte) error { v.isSet = true return json.Unmarshal(src, &v.value) } diff --git a/model_packages_tag.go b/model_package_tag_request.go similarity index 53% rename from model_packages_tag.go rename to model_package_tag_request.go index b68748a3..1b73f417 100644 --- a/model_packages_tag.go +++ b/model_package_tag_request.go @@ -1,9 +1,9 @@ /* -Cloudsmith API +Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.121.3 +API version: 1.181.6 Contact: support@cloudsmith.io */ @@ -15,37 +15,40 @@ import ( "encoding/json" ) -// PackagesTag struct for PackagesTag -type PackagesTag struct { - // None - Action *string `json:"action,omitempty"` +// PackageTagRequest struct for PackageTagRequest +type PackageTagRequest struct { + Action *int64 `json:"action,omitempty"` // If true, created tags will be immutable. An immutable flag is a tag that cannot be removed from a package. IsImmutable *bool `json:"is_immutable,omitempty"` // A list of tags to apply the action to. Not required for clears. Tags []string `json:"tags,omitempty"` } -// NewPackagesTag instantiates a new PackagesTag object +// NewPackageTagRequest instantiates a new PackageTagRequest object // 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 NewPackagesTag() *PackagesTag { - this := PackagesTag{} +func NewPackageTagRequest() *PackageTagRequest { + this := PackageTagRequest{} + var isImmutable bool = false + this.IsImmutable = &isImmutable return &this } -// NewPackagesTagWithDefaults instantiates a new PackagesTag object +// NewPackageTagRequestWithDefaults instantiates a new PackageTagRequest object // This constructor will only assign default values to properties that have it defined, // but it doesn't guarantee that properties required by API are set -func NewPackagesTagWithDefaults() *PackagesTag { - this := PackagesTag{} +func NewPackageTagRequestWithDefaults() *PackageTagRequest { + this := PackageTagRequest{} + var isImmutable bool = false + this.IsImmutable = &isImmutable return &this } // GetAction returns the Action field value if set, zero value otherwise. -func (o *PackagesTag) GetAction() string { - if o == nil || o.Action == nil { - var ret string +func (o *PackageTagRequest) GetAction() int64 { + if o == nil || isNil(o.Action) { + var ret int64 return ret } return *o.Action @@ -53,30 +56,30 @@ func (o *PackagesTag) GetAction() string { // GetActionOk returns a tuple with the Action field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *PackagesTag) GetActionOk() (*string, bool) { - if o == nil || o.Action == nil { +func (o *PackageTagRequest) GetActionOk() (*int64, bool) { + if o == nil || isNil(o.Action) { return nil, false } return o.Action, true } // HasAction returns a boolean if a field has been set. -func (o *PackagesTag) HasAction() bool { - if o != nil && o.Action != nil { +func (o *PackageTagRequest) HasAction() bool { + if o != nil && !isNil(o.Action) { return true } return false } -// SetAction gets a reference to the given string and assigns it to the Action field. -func (o *PackagesTag) SetAction(v string) { +// SetAction gets a reference to the given int64 and assigns it to the Action field. +func (o *PackageTagRequest) SetAction(v int64) { o.Action = &v } // GetIsImmutable returns the IsImmutable field value if set, zero value otherwise. -func (o *PackagesTag) GetIsImmutable() bool { - if o == nil || o.IsImmutable == nil { +func (o *PackageTagRequest) GetIsImmutable() bool { + if o == nil || isNil(o.IsImmutable) { var ret bool return ret } @@ -85,16 +88,16 @@ func (o *PackagesTag) GetIsImmutable() bool { // GetIsImmutableOk returns a tuple with the IsImmutable field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *PackagesTag) GetIsImmutableOk() (*bool, bool) { - if o == nil || o.IsImmutable == nil { +func (o *PackageTagRequest) GetIsImmutableOk() (*bool, bool) { + if o == nil || isNil(o.IsImmutable) { return nil, false } return o.IsImmutable, true } // HasIsImmutable returns a boolean if a field has been set. -func (o *PackagesTag) HasIsImmutable() bool { - if o != nil && o.IsImmutable != nil { +func (o *PackageTagRequest) HasIsImmutable() bool { + if o != nil && !isNil(o.IsImmutable) { return true } @@ -102,13 +105,13 @@ func (o *PackagesTag) HasIsImmutable() bool { } // SetIsImmutable gets a reference to the given bool and assigns it to the IsImmutable field. -func (o *PackagesTag) SetIsImmutable(v bool) { +func (o *PackageTagRequest) SetIsImmutable(v bool) { o.IsImmutable = &v } -// GetTags returns the Tags field value if set, zero value otherwise. -func (o *PackagesTag) GetTags() []string { - if o == nil || o.Tags == nil { +// GetTags returns the Tags field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *PackageTagRequest) GetTags() []string { + if o == nil { var ret []string return ret } @@ -117,16 +120,17 @@ func (o *PackagesTag) GetTags() []string { // GetTagsOk returns a tuple with the Tags field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *PackagesTag) GetTagsOk() ([]string, bool) { - if o == nil || o.Tags == nil { +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *PackageTagRequest) GetTagsOk() ([]string, bool) { + if o == nil || isNil(o.Tags) { return nil, false } return o.Tags, true } // HasTags returns a boolean if a field has been set. -func (o *PackagesTag) HasTags() bool { - if o != nil && o.Tags != nil { +func (o *PackageTagRequest) HasTags() bool { + if o != nil && isNil(o.Tags) { return true } @@ -134,16 +138,16 @@ func (o *PackagesTag) HasTags() bool { } // SetTags gets a reference to the given []string and assigns it to the Tags field. -func (o *PackagesTag) SetTags(v []string) { +func (o *PackageTagRequest) SetTags(v []string) { o.Tags = v } -func (o PackagesTag) MarshalJSON() ([]byte, error) { +func (o PackageTagRequest) MarshalJSON() ([]byte, error) { toSerialize := map[string]interface{}{} - if o.Action != nil { + if !isNil(o.Action) { toSerialize["action"] = o.Action } - if o.IsImmutable != nil { + if !isNil(o.IsImmutable) { toSerialize["is_immutable"] = o.IsImmutable } if o.Tags != nil { @@ -152,38 +156,38 @@ func (o PackagesTag) MarshalJSON() ([]byte, error) { return json.Marshal(toSerialize) } -type NullablePackagesTag struct { - value *PackagesTag +type NullablePackageTagRequest struct { + value *PackageTagRequest isSet bool } -func (v NullablePackagesTag) Get() *PackagesTag { +func (v NullablePackageTagRequest) Get() *PackageTagRequest { return v.value } -func (v *NullablePackagesTag) Set(val *PackagesTag) { +func (v *NullablePackageTagRequest) Set(val *PackageTagRequest) { v.value = val v.isSet = true } -func (v NullablePackagesTag) IsSet() bool { +func (v NullablePackageTagRequest) IsSet() bool { return v.isSet } -func (v *NullablePackagesTag) Unset() { +func (v *NullablePackageTagRequest) Unset() { v.value = nil v.isSet = false } -func NewNullablePackagesTag(val *PackagesTag) *NullablePackagesTag { - return &NullablePackagesTag{value: val, isSet: true} +func NewNullablePackageTagRequest(val *PackageTagRequest) *NullablePackageTagRequest { + return &NullablePackageTagRequest{value: val, isSet: true} } -func (v NullablePackagesTag) MarshalJSON() ([]byte, error) { +func (v NullablePackageTagRequest) MarshalJSON() ([]byte, error) { return json.Marshal(v.value) } -func (v *NullablePackagesTag) UnmarshalJSON(src []byte) error { +func (v *NullablePackageTagRequest) UnmarshalJSON(src []byte) error { v.isSet = true return json.Unmarshal(src, &v.value) } diff --git a/model_maven_package_upload.go b/model_package_tag_response.go similarity index 53% rename from model_maven_package_upload.go rename to model_package_tag_response.go index 23f719e1..04aefa2d 100644 --- a/model_maven_package_upload.go +++ b/model_package_tag_response.go @@ -1,9 +1,9 @@ /* -Cloudsmith API +Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.121.3 +API version: 1.181.6 Contact: support@cloudsmith.io */ @@ -13,171 +13,132 @@ package cloudsmith import ( "encoding/json" + "time" ) -// MavenPackageUpload struct for MavenPackageUpload -type MavenPackageUpload struct { - // - Architectures []PackagesOwnerRepoArchitectures `json:"architectures,omitempty"` - // The ID of the artifact. - ArtifactId *string `json:"artifact_id,omitempty"` - // - CdnUrl *string `json:"cdn_url,omitempty"` - // - ChecksumMd5 *string `json:"checksum_md5,omitempty"` - // - ChecksumSha1 *string `json:"checksum_sha1,omitempty"` - // - ChecksumSha256 *string `json:"checksum_sha256,omitempty"` - // - ChecksumSha512 *string `json:"checksum_sha512,omitempty"` +// PackageTagResponse struct for PackageTagResponse +type PackageTagResponse struct { + Architectures []Architecture `json:"architectures,omitempty"` + CdnUrl NullableString `json:"cdn_url,omitempty"` + ChecksumMd5 *string `json:"checksum_md5,omitempty"` + ChecksumSha1 *string `json:"checksum_sha1,omitempty"` + ChecksumSha256 *string `json:"checksum_sha256,omitempty"` + ChecksumSha512 *string `json:"checksum_sha512,omitempty"` // A checksum of all of the package's dependencies. DependenciesChecksumMd5 *string `json:"dependencies_checksum_md5,omitempty"` - // - DependenciesUrl *string `json:"dependencies_url,omitempty"` + DependenciesUrl *string `json:"dependencies_url,omitempty"` // A textual description of this package. - Description *string `json:"description,omitempty"` - // - Distro map[string]interface{} `json:"distro,omitempty"` - // - DistroVersion map[string]interface{} `json:"distro_version,omitempty"` - // - Downloads *int64 `json:"downloads,omitempty"` + Description *string `json:"description,omitempty"` + Distro NullableDistribution `json:"distro,omitempty"` + DistroVersion *DistributionVersion `json:"distro_version,omitempty"` + Downloads *int64 `json:"downloads,omitempty"` // The epoch of the package version (if any). - Epoch *int64 `json:"epoch,omitempty"` - // - Extension *string `json:"extension,omitempty"` - // - Filename *string `json:"filename,omitempty"` - // - Files []PackagesOwnerRepoFiles `json:"files,omitempty"` - // - Format *string `json:"format,omitempty"` - // - FormatUrl *string `json:"format_url,omitempty"` - // Artifact's group ID. - GroupId *string `json:"group_id,omitempty"` + Epoch *int64 `json:"epoch,omitempty"` + Extension *string `json:"extension,omitempty"` + Filename *string `json:"filename,omitempty"` + Files []PackageFile `json:"files,omitempty"` + Format *string `json:"format,omitempty"` + FormatUrl *string `json:"format_url,omitempty"` // Unique and permanent identifier for the package. IdentifierPerm *string `json:"identifier_perm,omitempty"` - // - Indexed *bool `json:"indexed,omitempty"` - // - IsDownloadable *bool `json:"is_downloadable,omitempty"` - // - IsQuarantined *bool `json:"is_quarantined,omitempty"` - // - IsSyncAwaiting *bool `json:"is_sync_awaiting,omitempty"` - // - IsSyncCompleted *bool `json:"is_sync_completed,omitempty"` - // - IsSyncFailed *bool `json:"is_sync_failed,omitempty"` - // - IsSyncInFlight *bool `json:"is_sync_in_flight,omitempty"` - // + Indexed *bool `json:"indexed,omitempty"` + IsDownloadable *bool `json:"is_downloadable,omitempty"` + // If true, created tags will be immutable. An immutable flag is a tag that cannot be removed from a package. + IsImmutable *bool `json:"is_immutable,omitempty"` + IsQuarantined *bool `json:"is_quarantined,omitempty"` + IsSyncAwaiting *bool `json:"is_sync_awaiting,omitempty"` + IsSyncCompleted *bool `json:"is_sync_completed,omitempty"` + IsSyncFailed *bool `json:"is_sync_failed,omitempty"` + IsSyncInFlight *bool `json:"is_sync_in_flight,omitempty"` IsSyncInProgress *bool `json:"is_sync_in_progress,omitempty"` // The license of this package. License *string `json:"license,omitempty"` // The name of this package. - Name *string `json:"name,omitempty"` - // - Namespace *string `json:"namespace,omitempty"` - // - NamespaceUrl *string `json:"namespace_url,omitempty"` - // - NumFiles *int64 `json:"num_files,omitempty"` + Name *string `json:"name,omitempty"` + Namespace *string `json:"namespace,omitempty"` + NamespaceUrl *string `json:"namespace_url,omitempty"` + NumFiles *int64 `json:"num_files,omitempty"` + OriginRepository *string `json:"origin_repository,omitempty"` + OriginRepositoryUrl *string `json:"origin_repository_url,omitempty"` // The type of package contents. PackageType *int64 `json:"package_type,omitempty"` - // Artifact's Maven packaging type. - Packaging *string `json:"packaging,omitempty"` // The release of the package version (if any). - Release *string `json:"release,omitempty"` - // - Repository *string `json:"repository,omitempty"` - // + Release *string `json:"release,omitempty"` + Repository *string `json:"repository,omitempty"` RepositoryUrl *string `json:"repository_url,omitempty"` // The datetime the security scanning was completed. - SecurityScanCompletedAt *string `json:"security_scan_completed_at,omitempty"` + SecurityScanCompletedAt *time.Time `json:"security_scan_completed_at,omitempty"` // The datetime the security scanning was started. - SecurityScanStartedAt *string `json:"security_scan_started_at,omitempty"` - // - SecurityScanStatus *string `json:"security_scan_status,omitempty"` + SecurityScanStartedAt *time.Time `json:"security_scan_started_at,omitempty"` + SecurityScanStatus NullableString `json:"security_scan_status,omitempty"` // The datetime the security scanning status was updated. - SecurityScanStatusUpdatedAt *string `json:"security_scan_status_updated_at,omitempty"` - // - SelfHtmlUrl *string `json:"self_html_url,omitempty"` - // - SelfUrl *string `json:"self_url,omitempty"` - // - SignatureUrl *string `json:"signature_url,omitempty"` + SecurityScanStatusUpdatedAt *time.Time `json:"security_scan_status_updated_at,omitempty"` + SelfHtmlUrl *string `json:"self_html_url,omitempty"` + SelfUrl *string `json:"self_url,omitempty"` + SignatureUrl NullableString `json:"signature_url,omitempty"` // The calculated size of the package. Size *int64 `json:"size,omitempty"` // The public unique identifier for the package. - Slug *string `json:"slug,omitempty"` - // + Slug *string `json:"slug,omitempty"` SlugPerm *string `json:"slug_perm,omitempty"` // The synchronisation (in progress) stage of the package. - Stage *int64 `json:"stage,omitempty"` - // + Stage *int64 `json:"stage,omitempty"` StageStr *string `json:"stage_str,omitempty"` // The datetime the package stage was updated at. - StageUpdatedAt *string `json:"stage_updated_at,omitempty"` + StageUpdatedAt *time.Time `json:"stage_updated_at,omitempty"` // The synchronisation status of the package. Status *int64 `json:"status,omitempty"` // A textual description for the synchronous status reason (if any StatusReason *string `json:"status_reason,omitempty"` - // - StatusStr *string `json:"status_str,omitempty"` + StatusStr *string `json:"status_str,omitempty"` // The datetime the package status was updated at. - StatusUpdatedAt *string `json:"status_updated_at,omitempty"` - // - StatusUrl *string `json:"status_url,omitempty"` - // - Subtype *string `json:"subtype,omitempty"` + StatusUpdatedAt *time.Time `json:"status_updated_at,omitempty"` + StatusUrl *string `json:"status_url,omitempty"` + Subtype *string `json:"subtype,omitempty"` // A one-liner synopsis of this package. Summary *string `json:"summary,omitempty"` // The datetime the package sync was finished at. - SyncFinishedAt *string `json:"sync_finished_at,omitempty"` + SyncFinishedAt *time.Time `json:"sync_finished_at,omitempty"` // Synchronisation progress (from 0-100) SyncProgress *int64 `json:"sync_progress,omitempty"` - // All immutable tags on the package, grouped by tag type. Immutable tags cannot be (easily) deleted. + // All tags on the package, grouped by tag type. This includes immutable tags, but doesn't distinguish them from mutable. To see which tags are immutable specifically, see the tags_immutable field. TagsImmutable map[string]interface{} `json:"tags_immutable,omitempty"` - // - TypeDisplay *string `json:"type_display,omitempty"` + TypeDisplay *string `json:"type_display,omitempty"` // The date this package was uploaded. - UploadedAt *string `json:"uploaded_at,omitempty"` - // - Uploader *string `json:"uploader,omitempty"` - // - UploaderUrl *string `json:"uploader_url,omitempty"` + UploadedAt *time.Time `json:"uploaded_at,omitempty"` + Uploader *string `json:"uploader,omitempty"` + UploaderUrl *string `json:"uploader_url,omitempty"` // The raw version for this package. - Version *string `json:"version,omitempty"` - // - VersionOrig *string `json:"version_orig,omitempty"` - // + Version *string `json:"version,omitempty"` + VersionOrig *string `json:"version_orig,omitempty"` VulnerabilityScanResultsUrl *string `json:"vulnerability_scan_results_url,omitempty"` } -// NewMavenPackageUpload instantiates a new MavenPackageUpload object +// NewPackageTagResponse instantiates a new PackageTagResponse object // 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 NewMavenPackageUpload() *MavenPackageUpload { - this := MavenPackageUpload{} +func NewPackageTagResponse() *PackageTagResponse { + this := PackageTagResponse{} + var isImmutable bool = false + this.IsImmutable = &isImmutable return &this } -// NewMavenPackageUploadWithDefaults instantiates a new MavenPackageUpload object +// NewPackageTagResponseWithDefaults instantiates a new PackageTagResponse object // This constructor will only assign default values to properties that have it defined, // but it doesn't guarantee that properties required by API are set -func NewMavenPackageUploadWithDefaults() *MavenPackageUpload { - this := MavenPackageUpload{} +func NewPackageTagResponseWithDefaults() *PackageTagResponse { + this := PackageTagResponse{} + var isImmutable bool = false + this.IsImmutable = &isImmutable return &this } // GetArchitectures returns the Architectures field value if set, zero value otherwise. -func (o *MavenPackageUpload) GetArchitectures() []PackagesOwnerRepoArchitectures { - if o == nil || o.Architectures == nil { - var ret []PackagesOwnerRepoArchitectures +func (o *PackageTagResponse) GetArchitectures() []Architecture { + if o == nil || isNil(o.Architectures) { + var ret []Architecture return ret } return o.Architectures @@ -185,94 +146,73 @@ func (o *MavenPackageUpload) GetArchitectures() []PackagesOwnerRepoArchitectures // GetArchitecturesOk returns a tuple with the Architectures field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *MavenPackageUpload) GetArchitecturesOk() ([]PackagesOwnerRepoArchitectures, bool) { - if o == nil || o.Architectures == nil { +func (o *PackageTagResponse) GetArchitecturesOk() ([]Architecture, bool) { + if o == nil || isNil(o.Architectures) { return nil, false } return o.Architectures, true } // HasArchitectures returns a boolean if a field has been set. -func (o *MavenPackageUpload) HasArchitectures() bool { - if o != nil && o.Architectures != nil { +func (o *PackageTagResponse) HasArchitectures() bool { + if o != nil && !isNil(o.Architectures) { return true } return false } -// SetArchitectures gets a reference to the given []PackagesOwnerRepoArchitectures and assigns it to the Architectures field. -func (o *MavenPackageUpload) SetArchitectures(v []PackagesOwnerRepoArchitectures) { +// SetArchitectures gets a reference to the given []Architecture and assigns it to the Architectures field. +func (o *PackageTagResponse) SetArchitectures(v []Architecture) { o.Architectures = v } -// GetArtifactId returns the ArtifactId field value if set, zero value otherwise. -func (o *MavenPackageUpload) GetArtifactId() string { - if o == nil || o.ArtifactId == nil { +// GetCdnUrl returns the CdnUrl field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *PackageTagResponse) GetCdnUrl() string { + if o == nil || isNil(o.CdnUrl.Get()) { var ret string return ret } - return *o.ArtifactId + return *o.CdnUrl.Get() } -// GetArtifactIdOk returns a tuple with the ArtifactId field value if set, nil otherwise +// GetCdnUrlOk returns a tuple with the CdnUrl field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *MavenPackageUpload) GetArtifactIdOk() (*string, bool) { - if o == nil || o.ArtifactId == nil { +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *PackageTagResponse) GetCdnUrlOk() (*string, bool) { + if o == nil { return nil, false } - return o.ArtifactId, true + return o.CdnUrl.Get(), o.CdnUrl.IsSet() } -// HasArtifactId returns a boolean if a field has been set. -func (o *MavenPackageUpload) HasArtifactId() bool { - if o != nil && o.ArtifactId != nil { +// HasCdnUrl returns a boolean if a field has been set. +func (o *PackageTagResponse) HasCdnUrl() bool { + if o != nil && o.CdnUrl.IsSet() { return true } return false } -// SetArtifactId gets a reference to the given string and assigns it to the ArtifactId field. -func (o *MavenPackageUpload) SetArtifactId(v string) { - o.ArtifactId = &v +// SetCdnUrl gets a reference to the given NullableString and assigns it to the CdnUrl field. +func (o *PackageTagResponse) SetCdnUrl(v string) { + o.CdnUrl.Set(&v) } -// GetCdnUrl returns the CdnUrl field value if set, zero value otherwise. -func (o *MavenPackageUpload) GetCdnUrl() string { - if o == nil || o.CdnUrl == nil { - var ret string - return ret - } - return *o.CdnUrl +// SetCdnUrlNil sets the value for CdnUrl to be an explicit nil +func (o *PackageTagResponse) SetCdnUrlNil() { + o.CdnUrl.Set(nil) } -// GetCdnUrlOk returns a tuple with the CdnUrl field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *MavenPackageUpload) GetCdnUrlOk() (*string, bool) { - if o == nil || o.CdnUrl == nil { - return nil, false - } - return o.CdnUrl, true -} - -// HasCdnUrl returns a boolean if a field has been set. -func (o *MavenPackageUpload) HasCdnUrl() bool { - if o != nil && o.CdnUrl != nil { - return true - } - - return false -} - -// SetCdnUrl gets a reference to the given string and assigns it to the CdnUrl field. -func (o *MavenPackageUpload) SetCdnUrl(v string) { - o.CdnUrl = &v +// UnsetCdnUrl ensures that no value is present for CdnUrl, not even an explicit nil +func (o *PackageTagResponse) UnsetCdnUrl() { + o.CdnUrl.Unset() } // GetChecksumMd5 returns the ChecksumMd5 field value if set, zero value otherwise. -func (o *MavenPackageUpload) GetChecksumMd5() string { - if o == nil || o.ChecksumMd5 == nil { +func (o *PackageTagResponse) GetChecksumMd5() string { + if o == nil || isNil(o.ChecksumMd5) { var ret string return ret } @@ -281,16 +221,16 @@ func (o *MavenPackageUpload) GetChecksumMd5() string { // GetChecksumMd5Ok returns a tuple with the ChecksumMd5 field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *MavenPackageUpload) GetChecksumMd5Ok() (*string, bool) { - if o == nil || o.ChecksumMd5 == nil { +func (o *PackageTagResponse) GetChecksumMd5Ok() (*string, bool) { + if o == nil || isNil(o.ChecksumMd5) { return nil, false } return o.ChecksumMd5, true } // HasChecksumMd5 returns a boolean if a field has been set. -func (o *MavenPackageUpload) HasChecksumMd5() bool { - if o != nil && o.ChecksumMd5 != nil { +func (o *PackageTagResponse) HasChecksumMd5() bool { + if o != nil && !isNil(o.ChecksumMd5) { return true } @@ -298,13 +238,13 @@ func (o *MavenPackageUpload) HasChecksumMd5() bool { } // SetChecksumMd5 gets a reference to the given string and assigns it to the ChecksumMd5 field. -func (o *MavenPackageUpload) SetChecksumMd5(v string) { +func (o *PackageTagResponse) SetChecksumMd5(v string) { o.ChecksumMd5 = &v } // GetChecksumSha1 returns the ChecksumSha1 field value if set, zero value otherwise. -func (o *MavenPackageUpload) GetChecksumSha1() string { - if o == nil || o.ChecksumSha1 == nil { +func (o *PackageTagResponse) GetChecksumSha1() string { + if o == nil || isNil(o.ChecksumSha1) { var ret string return ret } @@ -313,16 +253,16 @@ func (o *MavenPackageUpload) GetChecksumSha1() string { // GetChecksumSha1Ok returns a tuple with the ChecksumSha1 field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *MavenPackageUpload) GetChecksumSha1Ok() (*string, bool) { - if o == nil || o.ChecksumSha1 == nil { +func (o *PackageTagResponse) GetChecksumSha1Ok() (*string, bool) { + if o == nil || isNil(o.ChecksumSha1) { return nil, false } return o.ChecksumSha1, true } // HasChecksumSha1 returns a boolean if a field has been set. -func (o *MavenPackageUpload) HasChecksumSha1() bool { - if o != nil && o.ChecksumSha1 != nil { +func (o *PackageTagResponse) HasChecksumSha1() bool { + if o != nil && !isNil(o.ChecksumSha1) { return true } @@ -330,13 +270,13 @@ func (o *MavenPackageUpload) HasChecksumSha1() bool { } // SetChecksumSha1 gets a reference to the given string and assigns it to the ChecksumSha1 field. -func (o *MavenPackageUpload) SetChecksumSha1(v string) { +func (o *PackageTagResponse) SetChecksumSha1(v string) { o.ChecksumSha1 = &v } // GetChecksumSha256 returns the ChecksumSha256 field value if set, zero value otherwise. -func (o *MavenPackageUpload) GetChecksumSha256() string { - if o == nil || o.ChecksumSha256 == nil { +func (o *PackageTagResponse) GetChecksumSha256() string { + if o == nil || isNil(o.ChecksumSha256) { var ret string return ret } @@ -345,16 +285,16 @@ func (o *MavenPackageUpload) GetChecksumSha256() string { // GetChecksumSha256Ok returns a tuple with the ChecksumSha256 field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *MavenPackageUpload) GetChecksumSha256Ok() (*string, bool) { - if o == nil || o.ChecksumSha256 == nil { +func (o *PackageTagResponse) GetChecksumSha256Ok() (*string, bool) { + if o == nil || isNil(o.ChecksumSha256) { return nil, false } return o.ChecksumSha256, true } // HasChecksumSha256 returns a boolean if a field has been set. -func (o *MavenPackageUpload) HasChecksumSha256() bool { - if o != nil && o.ChecksumSha256 != nil { +func (o *PackageTagResponse) HasChecksumSha256() bool { + if o != nil && !isNil(o.ChecksumSha256) { return true } @@ -362,13 +302,13 @@ func (o *MavenPackageUpload) HasChecksumSha256() bool { } // SetChecksumSha256 gets a reference to the given string and assigns it to the ChecksumSha256 field. -func (o *MavenPackageUpload) SetChecksumSha256(v string) { +func (o *PackageTagResponse) SetChecksumSha256(v string) { o.ChecksumSha256 = &v } // GetChecksumSha512 returns the ChecksumSha512 field value if set, zero value otherwise. -func (o *MavenPackageUpload) GetChecksumSha512() string { - if o == nil || o.ChecksumSha512 == nil { +func (o *PackageTagResponse) GetChecksumSha512() string { + if o == nil || isNil(o.ChecksumSha512) { var ret string return ret } @@ -377,16 +317,16 @@ func (o *MavenPackageUpload) GetChecksumSha512() string { // GetChecksumSha512Ok returns a tuple with the ChecksumSha512 field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *MavenPackageUpload) GetChecksumSha512Ok() (*string, bool) { - if o == nil || o.ChecksumSha512 == nil { +func (o *PackageTagResponse) GetChecksumSha512Ok() (*string, bool) { + if o == nil || isNil(o.ChecksumSha512) { return nil, false } return o.ChecksumSha512, true } // HasChecksumSha512 returns a boolean if a field has been set. -func (o *MavenPackageUpload) HasChecksumSha512() bool { - if o != nil && o.ChecksumSha512 != nil { +func (o *PackageTagResponse) HasChecksumSha512() bool { + if o != nil && !isNil(o.ChecksumSha512) { return true } @@ -394,13 +334,13 @@ func (o *MavenPackageUpload) HasChecksumSha512() bool { } // SetChecksumSha512 gets a reference to the given string and assigns it to the ChecksumSha512 field. -func (o *MavenPackageUpload) SetChecksumSha512(v string) { +func (o *PackageTagResponse) SetChecksumSha512(v string) { o.ChecksumSha512 = &v } // GetDependenciesChecksumMd5 returns the DependenciesChecksumMd5 field value if set, zero value otherwise. -func (o *MavenPackageUpload) GetDependenciesChecksumMd5() string { - if o == nil || o.DependenciesChecksumMd5 == nil { +func (o *PackageTagResponse) GetDependenciesChecksumMd5() string { + if o == nil || isNil(o.DependenciesChecksumMd5) { var ret string return ret } @@ -409,16 +349,16 @@ func (o *MavenPackageUpload) GetDependenciesChecksumMd5() string { // GetDependenciesChecksumMd5Ok returns a tuple with the DependenciesChecksumMd5 field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *MavenPackageUpload) GetDependenciesChecksumMd5Ok() (*string, bool) { - if o == nil || o.DependenciesChecksumMd5 == nil { +func (o *PackageTagResponse) GetDependenciesChecksumMd5Ok() (*string, bool) { + if o == nil || isNil(o.DependenciesChecksumMd5) { return nil, false } return o.DependenciesChecksumMd5, true } // HasDependenciesChecksumMd5 returns a boolean if a field has been set. -func (o *MavenPackageUpload) HasDependenciesChecksumMd5() bool { - if o != nil && o.DependenciesChecksumMd5 != nil { +func (o *PackageTagResponse) HasDependenciesChecksumMd5() bool { + if o != nil && !isNil(o.DependenciesChecksumMd5) { return true } @@ -426,13 +366,13 @@ func (o *MavenPackageUpload) HasDependenciesChecksumMd5() bool { } // SetDependenciesChecksumMd5 gets a reference to the given string and assigns it to the DependenciesChecksumMd5 field. -func (o *MavenPackageUpload) SetDependenciesChecksumMd5(v string) { +func (o *PackageTagResponse) SetDependenciesChecksumMd5(v string) { o.DependenciesChecksumMd5 = &v } // GetDependenciesUrl returns the DependenciesUrl field value if set, zero value otherwise. -func (o *MavenPackageUpload) GetDependenciesUrl() string { - if o == nil || o.DependenciesUrl == nil { +func (o *PackageTagResponse) GetDependenciesUrl() string { + if o == nil || isNil(o.DependenciesUrl) { var ret string return ret } @@ -441,16 +381,16 @@ func (o *MavenPackageUpload) GetDependenciesUrl() string { // GetDependenciesUrlOk returns a tuple with the DependenciesUrl field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *MavenPackageUpload) GetDependenciesUrlOk() (*string, bool) { - if o == nil || o.DependenciesUrl == nil { +func (o *PackageTagResponse) GetDependenciesUrlOk() (*string, bool) { + if o == nil || isNil(o.DependenciesUrl) { return nil, false } return o.DependenciesUrl, true } // HasDependenciesUrl returns a boolean if a field has been set. -func (o *MavenPackageUpload) HasDependenciesUrl() bool { - if o != nil && o.DependenciesUrl != nil { +func (o *PackageTagResponse) HasDependenciesUrl() bool { + if o != nil && !isNil(o.DependenciesUrl) { return true } @@ -458,13 +398,13 @@ func (o *MavenPackageUpload) HasDependenciesUrl() bool { } // SetDependenciesUrl gets a reference to the given string and assigns it to the DependenciesUrl field. -func (o *MavenPackageUpload) SetDependenciesUrl(v string) { +func (o *PackageTagResponse) SetDependenciesUrl(v string) { o.DependenciesUrl = &v } // GetDescription returns the Description field value if set, zero value otherwise. -func (o *MavenPackageUpload) GetDescription() string { - if o == nil || o.Description == nil { +func (o *PackageTagResponse) GetDescription() string { + if o == nil || isNil(o.Description) { var ret string return ret } @@ -473,16 +413,16 @@ func (o *MavenPackageUpload) GetDescription() string { // GetDescriptionOk returns a tuple with the Description field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *MavenPackageUpload) GetDescriptionOk() (*string, bool) { - if o == nil || o.Description == nil { +func (o *PackageTagResponse) GetDescriptionOk() (*string, bool) { + if o == nil || isNil(o.Description) { return nil, false } return o.Description, true } // HasDescription returns a boolean if a field has been set. -func (o *MavenPackageUpload) HasDescription() bool { - if o != nil && o.Description != nil { +func (o *PackageTagResponse) HasDescription() bool { + if o != nil && !isNil(o.Description) { return true } @@ -490,77 +430,88 @@ func (o *MavenPackageUpload) HasDescription() bool { } // SetDescription gets a reference to the given string and assigns it to the Description field. -func (o *MavenPackageUpload) SetDescription(v string) { +func (o *PackageTagResponse) SetDescription(v string) { o.Description = &v } -// GetDistro returns the Distro field value if set, zero value otherwise. -func (o *MavenPackageUpload) GetDistro() map[string]interface{} { - if o == nil || o.Distro == nil { - var ret map[string]interface{} +// GetDistro returns the Distro field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *PackageTagResponse) GetDistro() Distribution { + if o == nil || isNil(o.Distro.Get()) { + var ret Distribution return ret } - return o.Distro + return *o.Distro.Get() } // GetDistroOk returns a tuple with the Distro field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *MavenPackageUpload) GetDistroOk() (map[string]interface{}, bool) { - if o == nil || o.Distro == nil { +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *PackageTagResponse) GetDistroOk() (*Distribution, bool) { + if o == nil { return nil, false } - return o.Distro, true + return o.Distro.Get(), o.Distro.IsSet() } // HasDistro returns a boolean if a field has been set. -func (o *MavenPackageUpload) HasDistro() bool { - if o != nil && o.Distro != nil { +func (o *PackageTagResponse) HasDistro() bool { + if o != nil && o.Distro.IsSet() { return true } return false } -// SetDistro gets a reference to the given map[string]interface{} and assigns it to the Distro field. -func (o *MavenPackageUpload) SetDistro(v map[string]interface{}) { - o.Distro = v +// SetDistro gets a reference to the given NullableDistribution and assigns it to the Distro field. +func (o *PackageTagResponse) SetDistro(v Distribution) { + o.Distro.Set(&v) +} + +// SetDistroNil sets the value for Distro to be an explicit nil +func (o *PackageTagResponse) SetDistroNil() { + o.Distro.Set(nil) +} + +// UnsetDistro ensures that no value is present for Distro, not even an explicit nil +func (o *PackageTagResponse) UnsetDistro() { + o.Distro.Unset() } // GetDistroVersion returns the DistroVersion field value if set, zero value otherwise. -func (o *MavenPackageUpload) GetDistroVersion() map[string]interface{} { - if o == nil || o.DistroVersion == nil { - var ret map[string]interface{} +func (o *PackageTagResponse) GetDistroVersion() DistributionVersion { + if o == nil || isNil(o.DistroVersion) { + var ret DistributionVersion return ret } - return o.DistroVersion + return *o.DistroVersion } // GetDistroVersionOk returns a tuple with the DistroVersion field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *MavenPackageUpload) GetDistroVersionOk() (map[string]interface{}, bool) { - if o == nil || o.DistroVersion == nil { +func (o *PackageTagResponse) GetDistroVersionOk() (*DistributionVersion, bool) { + if o == nil || isNil(o.DistroVersion) { return nil, false } return o.DistroVersion, true } // HasDistroVersion returns a boolean if a field has been set. -func (o *MavenPackageUpload) HasDistroVersion() bool { - if o != nil && o.DistroVersion != nil { +func (o *PackageTagResponse) HasDistroVersion() bool { + if o != nil && !isNil(o.DistroVersion) { return true } return false } -// SetDistroVersion gets a reference to the given map[string]interface{} and assigns it to the DistroVersion field. -func (o *MavenPackageUpload) SetDistroVersion(v map[string]interface{}) { - o.DistroVersion = v +// SetDistroVersion gets a reference to the given DistributionVersion and assigns it to the DistroVersion field. +func (o *PackageTagResponse) SetDistroVersion(v DistributionVersion) { + o.DistroVersion = &v } // GetDownloads returns the Downloads field value if set, zero value otherwise. -func (o *MavenPackageUpload) GetDownloads() int64 { - if o == nil || o.Downloads == nil { +func (o *PackageTagResponse) GetDownloads() int64 { + if o == nil || isNil(o.Downloads) { var ret int64 return ret } @@ -569,16 +520,16 @@ func (o *MavenPackageUpload) GetDownloads() int64 { // GetDownloadsOk returns a tuple with the Downloads field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *MavenPackageUpload) GetDownloadsOk() (*int64, bool) { - if o == nil || o.Downloads == nil { +func (o *PackageTagResponse) GetDownloadsOk() (*int64, bool) { + if o == nil || isNil(o.Downloads) { return nil, false } return o.Downloads, true } // HasDownloads returns a boolean if a field has been set. -func (o *MavenPackageUpload) HasDownloads() bool { - if o != nil && o.Downloads != nil { +func (o *PackageTagResponse) HasDownloads() bool { + if o != nil && !isNil(o.Downloads) { return true } @@ -586,13 +537,13 @@ func (o *MavenPackageUpload) HasDownloads() bool { } // SetDownloads gets a reference to the given int64 and assigns it to the Downloads field. -func (o *MavenPackageUpload) SetDownloads(v int64) { +func (o *PackageTagResponse) SetDownloads(v int64) { o.Downloads = &v } // GetEpoch returns the Epoch field value if set, zero value otherwise. -func (o *MavenPackageUpload) GetEpoch() int64 { - if o == nil || o.Epoch == nil { +func (o *PackageTagResponse) GetEpoch() int64 { + if o == nil || isNil(o.Epoch) { var ret int64 return ret } @@ -601,16 +552,16 @@ func (o *MavenPackageUpload) GetEpoch() int64 { // GetEpochOk returns a tuple with the Epoch field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *MavenPackageUpload) GetEpochOk() (*int64, bool) { - if o == nil || o.Epoch == nil { +func (o *PackageTagResponse) GetEpochOk() (*int64, bool) { + if o == nil || isNil(o.Epoch) { return nil, false } return o.Epoch, true } // HasEpoch returns a boolean if a field has been set. -func (o *MavenPackageUpload) HasEpoch() bool { - if o != nil && o.Epoch != nil { +func (o *PackageTagResponse) HasEpoch() bool { + if o != nil && !isNil(o.Epoch) { return true } @@ -618,13 +569,13 @@ func (o *MavenPackageUpload) HasEpoch() bool { } // SetEpoch gets a reference to the given int64 and assigns it to the Epoch field. -func (o *MavenPackageUpload) SetEpoch(v int64) { +func (o *PackageTagResponse) SetEpoch(v int64) { o.Epoch = &v } // GetExtension returns the Extension field value if set, zero value otherwise. -func (o *MavenPackageUpload) GetExtension() string { - if o == nil || o.Extension == nil { +func (o *PackageTagResponse) GetExtension() string { + if o == nil || isNil(o.Extension) { var ret string return ret } @@ -633,16 +584,16 @@ func (o *MavenPackageUpload) GetExtension() string { // GetExtensionOk returns a tuple with the Extension field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *MavenPackageUpload) GetExtensionOk() (*string, bool) { - if o == nil || o.Extension == nil { +func (o *PackageTagResponse) GetExtensionOk() (*string, bool) { + if o == nil || isNil(o.Extension) { return nil, false } return o.Extension, true } // HasExtension returns a boolean if a field has been set. -func (o *MavenPackageUpload) HasExtension() bool { - if o != nil && o.Extension != nil { +func (o *PackageTagResponse) HasExtension() bool { + if o != nil && !isNil(o.Extension) { return true } @@ -650,13 +601,13 @@ func (o *MavenPackageUpload) HasExtension() bool { } // SetExtension gets a reference to the given string and assigns it to the Extension field. -func (o *MavenPackageUpload) SetExtension(v string) { +func (o *PackageTagResponse) SetExtension(v string) { o.Extension = &v } // GetFilename returns the Filename field value if set, zero value otherwise. -func (o *MavenPackageUpload) GetFilename() string { - if o == nil || o.Filename == nil { +func (o *PackageTagResponse) GetFilename() string { + if o == nil || isNil(o.Filename) { var ret string return ret } @@ -665,16 +616,16 @@ func (o *MavenPackageUpload) GetFilename() string { // GetFilenameOk returns a tuple with the Filename field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *MavenPackageUpload) GetFilenameOk() (*string, bool) { - if o == nil || o.Filename == nil { +func (o *PackageTagResponse) GetFilenameOk() (*string, bool) { + if o == nil || isNil(o.Filename) { return nil, false } return o.Filename, true } // HasFilename returns a boolean if a field has been set. -func (o *MavenPackageUpload) HasFilename() bool { - if o != nil && o.Filename != nil { +func (o *PackageTagResponse) HasFilename() bool { + if o != nil && !isNil(o.Filename) { return true } @@ -682,14 +633,14 @@ func (o *MavenPackageUpload) HasFilename() bool { } // SetFilename gets a reference to the given string and assigns it to the Filename field. -func (o *MavenPackageUpload) SetFilename(v string) { +func (o *PackageTagResponse) SetFilename(v string) { o.Filename = &v } // GetFiles returns the Files field value if set, zero value otherwise. -func (o *MavenPackageUpload) GetFiles() []PackagesOwnerRepoFiles { - if o == nil || o.Files == nil { - var ret []PackagesOwnerRepoFiles +func (o *PackageTagResponse) GetFiles() []PackageFile { + if o == nil || isNil(o.Files) { + var ret []PackageFile return ret } return o.Files @@ -697,30 +648,30 @@ func (o *MavenPackageUpload) GetFiles() []PackagesOwnerRepoFiles { // GetFilesOk returns a tuple with the Files field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *MavenPackageUpload) GetFilesOk() ([]PackagesOwnerRepoFiles, bool) { - if o == nil || o.Files == nil { +func (o *PackageTagResponse) GetFilesOk() ([]PackageFile, bool) { + if o == nil || isNil(o.Files) { return nil, false } return o.Files, true } // HasFiles returns a boolean if a field has been set. -func (o *MavenPackageUpload) HasFiles() bool { - if o != nil && o.Files != nil { +func (o *PackageTagResponse) HasFiles() bool { + if o != nil && !isNil(o.Files) { return true } return false } -// SetFiles gets a reference to the given []PackagesOwnerRepoFiles and assigns it to the Files field. -func (o *MavenPackageUpload) SetFiles(v []PackagesOwnerRepoFiles) { +// SetFiles gets a reference to the given []PackageFile and assigns it to the Files field. +func (o *PackageTagResponse) SetFiles(v []PackageFile) { o.Files = v } // GetFormat returns the Format field value if set, zero value otherwise. -func (o *MavenPackageUpload) GetFormat() string { - if o == nil || o.Format == nil { +func (o *PackageTagResponse) GetFormat() string { + if o == nil || isNil(o.Format) { var ret string return ret } @@ -729,16 +680,16 @@ func (o *MavenPackageUpload) GetFormat() string { // GetFormatOk returns a tuple with the Format field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *MavenPackageUpload) GetFormatOk() (*string, bool) { - if o == nil || o.Format == nil { +func (o *PackageTagResponse) GetFormatOk() (*string, bool) { + if o == nil || isNil(o.Format) { return nil, false } return o.Format, true } // HasFormat returns a boolean if a field has been set. -func (o *MavenPackageUpload) HasFormat() bool { - if o != nil && o.Format != nil { +func (o *PackageTagResponse) HasFormat() bool { + if o != nil && !isNil(o.Format) { return true } @@ -746,13 +697,13 @@ func (o *MavenPackageUpload) HasFormat() bool { } // SetFormat gets a reference to the given string and assigns it to the Format field. -func (o *MavenPackageUpload) SetFormat(v string) { +func (o *PackageTagResponse) SetFormat(v string) { o.Format = &v } // GetFormatUrl returns the FormatUrl field value if set, zero value otherwise. -func (o *MavenPackageUpload) GetFormatUrl() string { - if o == nil || o.FormatUrl == nil { +func (o *PackageTagResponse) GetFormatUrl() string { + if o == nil || isNil(o.FormatUrl) { var ret string return ret } @@ -761,16 +712,16 @@ func (o *MavenPackageUpload) GetFormatUrl() string { // GetFormatUrlOk returns a tuple with the FormatUrl field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *MavenPackageUpload) GetFormatUrlOk() (*string, bool) { - if o == nil || o.FormatUrl == nil { +func (o *PackageTagResponse) GetFormatUrlOk() (*string, bool) { + if o == nil || isNil(o.FormatUrl) { return nil, false } return o.FormatUrl, true } // HasFormatUrl returns a boolean if a field has been set. -func (o *MavenPackageUpload) HasFormatUrl() bool { - if o != nil && o.FormatUrl != nil { +func (o *PackageTagResponse) HasFormatUrl() bool { + if o != nil && !isNil(o.FormatUrl) { return true } @@ -778,45 +729,13 @@ func (o *MavenPackageUpload) HasFormatUrl() bool { } // SetFormatUrl gets a reference to the given string and assigns it to the FormatUrl field. -func (o *MavenPackageUpload) SetFormatUrl(v string) { +func (o *PackageTagResponse) SetFormatUrl(v string) { o.FormatUrl = &v } -// GetGroupId returns the GroupId field value if set, zero value otherwise. -func (o *MavenPackageUpload) GetGroupId() string { - if o == nil || o.GroupId == nil { - var ret string - return ret - } - return *o.GroupId -} - -// GetGroupIdOk returns a tuple with the GroupId field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *MavenPackageUpload) GetGroupIdOk() (*string, bool) { - if o == nil || o.GroupId == nil { - return nil, false - } - return o.GroupId, true -} - -// HasGroupId returns a boolean if a field has been set. -func (o *MavenPackageUpload) HasGroupId() bool { - if o != nil && o.GroupId != nil { - return true - } - - return false -} - -// SetGroupId gets a reference to the given string and assigns it to the GroupId field. -func (o *MavenPackageUpload) SetGroupId(v string) { - o.GroupId = &v -} - // GetIdentifierPerm returns the IdentifierPerm field value if set, zero value otherwise. -func (o *MavenPackageUpload) GetIdentifierPerm() string { - if o == nil || o.IdentifierPerm == nil { +func (o *PackageTagResponse) GetIdentifierPerm() string { + if o == nil || isNil(o.IdentifierPerm) { var ret string return ret } @@ -825,16 +744,16 @@ func (o *MavenPackageUpload) GetIdentifierPerm() string { // GetIdentifierPermOk returns a tuple with the IdentifierPerm field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *MavenPackageUpload) GetIdentifierPermOk() (*string, bool) { - if o == nil || o.IdentifierPerm == nil { +func (o *PackageTagResponse) GetIdentifierPermOk() (*string, bool) { + if o == nil || isNil(o.IdentifierPerm) { return nil, false } return o.IdentifierPerm, true } // HasIdentifierPerm returns a boolean if a field has been set. -func (o *MavenPackageUpload) HasIdentifierPerm() bool { - if o != nil && o.IdentifierPerm != nil { +func (o *PackageTagResponse) HasIdentifierPerm() bool { + if o != nil && !isNil(o.IdentifierPerm) { return true } @@ -842,13 +761,13 @@ func (o *MavenPackageUpload) HasIdentifierPerm() bool { } // SetIdentifierPerm gets a reference to the given string and assigns it to the IdentifierPerm field. -func (o *MavenPackageUpload) SetIdentifierPerm(v string) { +func (o *PackageTagResponse) SetIdentifierPerm(v string) { o.IdentifierPerm = &v } // GetIndexed returns the Indexed field value if set, zero value otherwise. -func (o *MavenPackageUpload) GetIndexed() bool { - if o == nil || o.Indexed == nil { +func (o *PackageTagResponse) GetIndexed() bool { + if o == nil || isNil(o.Indexed) { var ret bool return ret } @@ -857,16 +776,16 @@ func (o *MavenPackageUpload) GetIndexed() bool { // GetIndexedOk returns a tuple with the Indexed field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *MavenPackageUpload) GetIndexedOk() (*bool, bool) { - if o == nil || o.Indexed == nil { +func (o *PackageTagResponse) GetIndexedOk() (*bool, bool) { + if o == nil || isNil(o.Indexed) { return nil, false } return o.Indexed, true } // HasIndexed returns a boolean if a field has been set. -func (o *MavenPackageUpload) HasIndexed() bool { - if o != nil && o.Indexed != nil { +func (o *PackageTagResponse) HasIndexed() bool { + if o != nil && !isNil(o.Indexed) { return true } @@ -874,13 +793,13 @@ func (o *MavenPackageUpload) HasIndexed() bool { } // SetIndexed gets a reference to the given bool and assigns it to the Indexed field. -func (o *MavenPackageUpload) SetIndexed(v bool) { +func (o *PackageTagResponse) SetIndexed(v bool) { o.Indexed = &v } // GetIsDownloadable returns the IsDownloadable field value if set, zero value otherwise. -func (o *MavenPackageUpload) GetIsDownloadable() bool { - if o == nil || o.IsDownloadable == nil { +func (o *PackageTagResponse) GetIsDownloadable() bool { + if o == nil || isNil(o.IsDownloadable) { var ret bool return ret } @@ -889,16 +808,16 @@ func (o *MavenPackageUpload) GetIsDownloadable() bool { // GetIsDownloadableOk returns a tuple with the IsDownloadable field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *MavenPackageUpload) GetIsDownloadableOk() (*bool, bool) { - if o == nil || o.IsDownloadable == nil { +func (o *PackageTagResponse) GetIsDownloadableOk() (*bool, bool) { + if o == nil || isNil(o.IsDownloadable) { return nil, false } return o.IsDownloadable, true } // HasIsDownloadable returns a boolean if a field has been set. -func (o *MavenPackageUpload) HasIsDownloadable() bool { - if o != nil && o.IsDownloadable != nil { +func (o *PackageTagResponse) HasIsDownloadable() bool { + if o != nil && !isNil(o.IsDownloadable) { return true } @@ -906,13 +825,45 @@ func (o *MavenPackageUpload) HasIsDownloadable() bool { } // SetIsDownloadable gets a reference to the given bool and assigns it to the IsDownloadable field. -func (o *MavenPackageUpload) SetIsDownloadable(v bool) { +func (o *PackageTagResponse) SetIsDownloadable(v bool) { o.IsDownloadable = &v } +// GetIsImmutable returns the IsImmutable field value if set, zero value otherwise. +func (o *PackageTagResponse) GetIsImmutable() bool { + if o == nil || isNil(o.IsImmutable) { + var ret bool + return ret + } + return *o.IsImmutable +} + +// GetIsImmutableOk returns a tuple with the IsImmutable field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *PackageTagResponse) GetIsImmutableOk() (*bool, bool) { + if o == nil || isNil(o.IsImmutable) { + return nil, false + } + return o.IsImmutable, true +} + +// HasIsImmutable returns a boolean if a field has been set. +func (o *PackageTagResponse) HasIsImmutable() bool { + if o != nil && !isNil(o.IsImmutable) { + return true + } + + return false +} + +// SetIsImmutable gets a reference to the given bool and assigns it to the IsImmutable field. +func (o *PackageTagResponse) SetIsImmutable(v bool) { + o.IsImmutable = &v +} + // GetIsQuarantined returns the IsQuarantined field value if set, zero value otherwise. -func (o *MavenPackageUpload) GetIsQuarantined() bool { - if o == nil || o.IsQuarantined == nil { +func (o *PackageTagResponse) GetIsQuarantined() bool { + if o == nil || isNil(o.IsQuarantined) { var ret bool return ret } @@ -921,16 +872,16 @@ func (o *MavenPackageUpload) GetIsQuarantined() bool { // GetIsQuarantinedOk returns a tuple with the IsQuarantined field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *MavenPackageUpload) GetIsQuarantinedOk() (*bool, bool) { - if o == nil || o.IsQuarantined == nil { +func (o *PackageTagResponse) GetIsQuarantinedOk() (*bool, bool) { + if o == nil || isNil(o.IsQuarantined) { return nil, false } return o.IsQuarantined, true } // HasIsQuarantined returns a boolean if a field has been set. -func (o *MavenPackageUpload) HasIsQuarantined() bool { - if o != nil && o.IsQuarantined != nil { +func (o *PackageTagResponse) HasIsQuarantined() bool { + if o != nil && !isNil(o.IsQuarantined) { return true } @@ -938,13 +889,13 @@ func (o *MavenPackageUpload) HasIsQuarantined() bool { } // SetIsQuarantined gets a reference to the given bool and assigns it to the IsQuarantined field. -func (o *MavenPackageUpload) SetIsQuarantined(v bool) { +func (o *PackageTagResponse) SetIsQuarantined(v bool) { o.IsQuarantined = &v } // GetIsSyncAwaiting returns the IsSyncAwaiting field value if set, zero value otherwise. -func (o *MavenPackageUpload) GetIsSyncAwaiting() bool { - if o == nil || o.IsSyncAwaiting == nil { +func (o *PackageTagResponse) GetIsSyncAwaiting() bool { + if o == nil || isNil(o.IsSyncAwaiting) { var ret bool return ret } @@ -953,16 +904,16 @@ func (o *MavenPackageUpload) GetIsSyncAwaiting() bool { // GetIsSyncAwaitingOk returns a tuple with the IsSyncAwaiting field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *MavenPackageUpload) GetIsSyncAwaitingOk() (*bool, bool) { - if o == nil || o.IsSyncAwaiting == nil { +func (o *PackageTagResponse) GetIsSyncAwaitingOk() (*bool, bool) { + if o == nil || isNil(o.IsSyncAwaiting) { return nil, false } return o.IsSyncAwaiting, true } // HasIsSyncAwaiting returns a boolean if a field has been set. -func (o *MavenPackageUpload) HasIsSyncAwaiting() bool { - if o != nil && o.IsSyncAwaiting != nil { +func (o *PackageTagResponse) HasIsSyncAwaiting() bool { + if o != nil && !isNil(o.IsSyncAwaiting) { return true } @@ -970,13 +921,13 @@ func (o *MavenPackageUpload) HasIsSyncAwaiting() bool { } // SetIsSyncAwaiting gets a reference to the given bool and assigns it to the IsSyncAwaiting field. -func (o *MavenPackageUpload) SetIsSyncAwaiting(v bool) { +func (o *PackageTagResponse) SetIsSyncAwaiting(v bool) { o.IsSyncAwaiting = &v } // GetIsSyncCompleted returns the IsSyncCompleted field value if set, zero value otherwise. -func (o *MavenPackageUpload) GetIsSyncCompleted() bool { - if o == nil || o.IsSyncCompleted == nil { +func (o *PackageTagResponse) GetIsSyncCompleted() bool { + if o == nil || isNil(o.IsSyncCompleted) { var ret bool return ret } @@ -985,16 +936,16 @@ func (o *MavenPackageUpload) GetIsSyncCompleted() bool { // GetIsSyncCompletedOk returns a tuple with the IsSyncCompleted field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *MavenPackageUpload) GetIsSyncCompletedOk() (*bool, bool) { - if o == nil || o.IsSyncCompleted == nil { +func (o *PackageTagResponse) GetIsSyncCompletedOk() (*bool, bool) { + if o == nil || isNil(o.IsSyncCompleted) { return nil, false } return o.IsSyncCompleted, true } // HasIsSyncCompleted returns a boolean if a field has been set. -func (o *MavenPackageUpload) HasIsSyncCompleted() bool { - if o != nil && o.IsSyncCompleted != nil { +func (o *PackageTagResponse) HasIsSyncCompleted() bool { + if o != nil && !isNil(o.IsSyncCompleted) { return true } @@ -1002,13 +953,13 @@ func (o *MavenPackageUpload) HasIsSyncCompleted() bool { } // SetIsSyncCompleted gets a reference to the given bool and assigns it to the IsSyncCompleted field. -func (o *MavenPackageUpload) SetIsSyncCompleted(v bool) { +func (o *PackageTagResponse) SetIsSyncCompleted(v bool) { o.IsSyncCompleted = &v } // GetIsSyncFailed returns the IsSyncFailed field value if set, zero value otherwise. -func (o *MavenPackageUpload) GetIsSyncFailed() bool { - if o == nil || o.IsSyncFailed == nil { +func (o *PackageTagResponse) GetIsSyncFailed() bool { + if o == nil || isNil(o.IsSyncFailed) { var ret bool return ret } @@ -1017,16 +968,16 @@ func (o *MavenPackageUpload) GetIsSyncFailed() bool { // GetIsSyncFailedOk returns a tuple with the IsSyncFailed field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *MavenPackageUpload) GetIsSyncFailedOk() (*bool, bool) { - if o == nil || o.IsSyncFailed == nil { +func (o *PackageTagResponse) GetIsSyncFailedOk() (*bool, bool) { + if o == nil || isNil(o.IsSyncFailed) { return nil, false } return o.IsSyncFailed, true } // HasIsSyncFailed returns a boolean if a field has been set. -func (o *MavenPackageUpload) HasIsSyncFailed() bool { - if o != nil && o.IsSyncFailed != nil { +func (o *PackageTagResponse) HasIsSyncFailed() bool { + if o != nil && !isNil(o.IsSyncFailed) { return true } @@ -1034,13 +985,13 @@ func (o *MavenPackageUpload) HasIsSyncFailed() bool { } // SetIsSyncFailed gets a reference to the given bool and assigns it to the IsSyncFailed field. -func (o *MavenPackageUpload) SetIsSyncFailed(v bool) { +func (o *PackageTagResponse) SetIsSyncFailed(v bool) { o.IsSyncFailed = &v } // GetIsSyncInFlight returns the IsSyncInFlight field value if set, zero value otherwise. -func (o *MavenPackageUpload) GetIsSyncInFlight() bool { - if o == nil || o.IsSyncInFlight == nil { +func (o *PackageTagResponse) GetIsSyncInFlight() bool { + if o == nil || isNil(o.IsSyncInFlight) { var ret bool return ret } @@ -1049,16 +1000,16 @@ func (o *MavenPackageUpload) GetIsSyncInFlight() bool { // GetIsSyncInFlightOk returns a tuple with the IsSyncInFlight field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *MavenPackageUpload) GetIsSyncInFlightOk() (*bool, bool) { - if o == nil || o.IsSyncInFlight == nil { +func (o *PackageTagResponse) GetIsSyncInFlightOk() (*bool, bool) { + if o == nil || isNil(o.IsSyncInFlight) { return nil, false } return o.IsSyncInFlight, true } // HasIsSyncInFlight returns a boolean if a field has been set. -func (o *MavenPackageUpload) HasIsSyncInFlight() bool { - if o != nil && o.IsSyncInFlight != nil { +func (o *PackageTagResponse) HasIsSyncInFlight() bool { + if o != nil && !isNil(o.IsSyncInFlight) { return true } @@ -1066,13 +1017,13 @@ func (o *MavenPackageUpload) HasIsSyncInFlight() bool { } // SetIsSyncInFlight gets a reference to the given bool and assigns it to the IsSyncInFlight field. -func (o *MavenPackageUpload) SetIsSyncInFlight(v bool) { +func (o *PackageTagResponse) SetIsSyncInFlight(v bool) { o.IsSyncInFlight = &v } // GetIsSyncInProgress returns the IsSyncInProgress field value if set, zero value otherwise. -func (o *MavenPackageUpload) GetIsSyncInProgress() bool { - if o == nil || o.IsSyncInProgress == nil { +func (o *PackageTagResponse) GetIsSyncInProgress() bool { + if o == nil || isNil(o.IsSyncInProgress) { var ret bool return ret } @@ -1081,16 +1032,16 @@ func (o *MavenPackageUpload) GetIsSyncInProgress() bool { // GetIsSyncInProgressOk returns a tuple with the IsSyncInProgress field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *MavenPackageUpload) GetIsSyncInProgressOk() (*bool, bool) { - if o == nil || o.IsSyncInProgress == nil { +func (o *PackageTagResponse) GetIsSyncInProgressOk() (*bool, bool) { + if o == nil || isNil(o.IsSyncInProgress) { return nil, false } return o.IsSyncInProgress, true } // HasIsSyncInProgress returns a boolean if a field has been set. -func (o *MavenPackageUpload) HasIsSyncInProgress() bool { - if o != nil && o.IsSyncInProgress != nil { +func (o *PackageTagResponse) HasIsSyncInProgress() bool { + if o != nil && !isNil(o.IsSyncInProgress) { return true } @@ -1098,13 +1049,13 @@ func (o *MavenPackageUpload) HasIsSyncInProgress() bool { } // SetIsSyncInProgress gets a reference to the given bool and assigns it to the IsSyncInProgress field. -func (o *MavenPackageUpload) SetIsSyncInProgress(v bool) { +func (o *PackageTagResponse) SetIsSyncInProgress(v bool) { o.IsSyncInProgress = &v } // GetLicense returns the License field value if set, zero value otherwise. -func (o *MavenPackageUpload) GetLicense() string { - if o == nil || o.License == nil { +func (o *PackageTagResponse) GetLicense() string { + if o == nil || isNil(o.License) { var ret string return ret } @@ -1113,16 +1064,16 @@ func (o *MavenPackageUpload) GetLicense() string { // GetLicenseOk returns a tuple with the License field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *MavenPackageUpload) GetLicenseOk() (*string, bool) { - if o == nil || o.License == nil { +func (o *PackageTagResponse) GetLicenseOk() (*string, bool) { + if o == nil || isNil(o.License) { return nil, false } return o.License, true } // HasLicense returns a boolean if a field has been set. -func (o *MavenPackageUpload) HasLicense() bool { - if o != nil && o.License != nil { +func (o *PackageTagResponse) HasLicense() bool { + if o != nil && !isNil(o.License) { return true } @@ -1130,13 +1081,13 @@ func (o *MavenPackageUpload) HasLicense() bool { } // SetLicense gets a reference to the given string and assigns it to the License field. -func (o *MavenPackageUpload) SetLicense(v string) { +func (o *PackageTagResponse) SetLicense(v string) { o.License = &v } // GetName returns the Name field value if set, zero value otherwise. -func (o *MavenPackageUpload) GetName() string { - if o == nil || o.Name == nil { +func (o *PackageTagResponse) GetName() string { + if o == nil || isNil(o.Name) { var ret string return ret } @@ -1145,16 +1096,16 @@ func (o *MavenPackageUpload) GetName() string { // GetNameOk returns a tuple with the Name field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *MavenPackageUpload) GetNameOk() (*string, bool) { - if o == nil || o.Name == nil { +func (o *PackageTagResponse) GetNameOk() (*string, bool) { + if o == nil || isNil(o.Name) { return nil, false } return o.Name, true } // HasName returns a boolean if a field has been set. -func (o *MavenPackageUpload) HasName() bool { - if o != nil && o.Name != nil { +func (o *PackageTagResponse) HasName() bool { + if o != nil && !isNil(o.Name) { return true } @@ -1162,13 +1113,13 @@ func (o *MavenPackageUpload) HasName() bool { } // SetName gets a reference to the given string and assigns it to the Name field. -func (o *MavenPackageUpload) SetName(v string) { +func (o *PackageTagResponse) SetName(v string) { o.Name = &v } // GetNamespace returns the Namespace field value if set, zero value otherwise. -func (o *MavenPackageUpload) GetNamespace() string { - if o == nil || o.Namespace == nil { +func (o *PackageTagResponse) GetNamespace() string { + if o == nil || isNil(o.Namespace) { var ret string return ret } @@ -1177,16 +1128,16 @@ func (o *MavenPackageUpload) GetNamespace() string { // GetNamespaceOk returns a tuple with the Namespace field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *MavenPackageUpload) GetNamespaceOk() (*string, bool) { - if o == nil || o.Namespace == nil { +func (o *PackageTagResponse) GetNamespaceOk() (*string, bool) { + if o == nil || isNil(o.Namespace) { return nil, false } return o.Namespace, true } // HasNamespace returns a boolean if a field has been set. -func (o *MavenPackageUpload) HasNamespace() bool { - if o != nil && o.Namespace != nil { +func (o *PackageTagResponse) HasNamespace() bool { + if o != nil && !isNil(o.Namespace) { return true } @@ -1194,13 +1145,13 @@ func (o *MavenPackageUpload) HasNamespace() bool { } // SetNamespace gets a reference to the given string and assigns it to the Namespace field. -func (o *MavenPackageUpload) SetNamespace(v string) { +func (o *PackageTagResponse) SetNamespace(v string) { o.Namespace = &v } // GetNamespaceUrl returns the NamespaceUrl field value if set, zero value otherwise. -func (o *MavenPackageUpload) GetNamespaceUrl() string { - if o == nil || o.NamespaceUrl == nil { +func (o *PackageTagResponse) GetNamespaceUrl() string { + if o == nil || isNil(o.NamespaceUrl) { var ret string return ret } @@ -1209,16 +1160,16 @@ func (o *MavenPackageUpload) GetNamespaceUrl() string { // GetNamespaceUrlOk returns a tuple with the NamespaceUrl field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *MavenPackageUpload) GetNamespaceUrlOk() (*string, bool) { - if o == nil || o.NamespaceUrl == nil { +func (o *PackageTagResponse) GetNamespaceUrlOk() (*string, bool) { + if o == nil || isNil(o.NamespaceUrl) { return nil, false } return o.NamespaceUrl, true } // HasNamespaceUrl returns a boolean if a field has been set. -func (o *MavenPackageUpload) HasNamespaceUrl() bool { - if o != nil && o.NamespaceUrl != nil { +func (o *PackageTagResponse) HasNamespaceUrl() bool { + if o != nil && !isNil(o.NamespaceUrl) { return true } @@ -1226,13 +1177,13 @@ func (o *MavenPackageUpload) HasNamespaceUrl() bool { } // SetNamespaceUrl gets a reference to the given string and assigns it to the NamespaceUrl field. -func (o *MavenPackageUpload) SetNamespaceUrl(v string) { +func (o *PackageTagResponse) SetNamespaceUrl(v string) { o.NamespaceUrl = &v } // GetNumFiles returns the NumFiles field value if set, zero value otherwise. -func (o *MavenPackageUpload) GetNumFiles() int64 { - if o == nil || o.NumFiles == nil { +func (o *PackageTagResponse) GetNumFiles() int64 { + if o == nil || isNil(o.NumFiles) { var ret int64 return ret } @@ -1241,16 +1192,16 @@ func (o *MavenPackageUpload) GetNumFiles() int64 { // GetNumFilesOk returns a tuple with the NumFiles field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *MavenPackageUpload) GetNumFilesOk() (*int64, bool) { - if o == nil || o.NumFiles == nil { +func (o *PackageTagResponse) GetNumFilesOk() (*int64, bool) { + if o == nil || isNil(o.NumFiles) { return nil, false } return o.NumFiles, true } // HasNumFiles returns a boolean if a field has been set. -func (o *MavenPackageUpload) HasNumFiles() bool { - if o != nil && o.NumFiles != nil { +func (o *PackageTagResponse) HasNumFiles() bool { + if o != nil && !isNil(o.NumFiles) { return true } @@ -1258,77 +1209,109 @@ func (o *MavenPackageUpload) HasNumFiles() bool { } // SetNumFiles gets a reference to the given int64 and assigns it to the NumFiles field. -func (o *MavenPackageUpload) SetNumFiles(v int64) { +func (o *PackageTagResponse) SetNumFiles(v int64) { o.NumFiles = &v } -// GetPackageType returns the PackageType field value if set, zero value otherwise. -func (o *MavenPackageUpload) GetPackageType() int64 { - if o == nil || o.PackageType == nil { - var ret int64 +// GetOriginRepository returns the OriginRepository field value if set, zero value otherwise. +func (o *PackageTagResponse) GetOriginRepository() string { + if o == nil || isNil(o.OriginRepository) { + var ret string return ret } - return *o.PackageType + return *o.OriginRepository } -// GetPackageTypeOk returns a tuple with the PackageType field value if set, nil otherwise +// GetOriginRepositoryOk returns a tuple with the OriginRepository field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *MavenPackageUpload) GetPackageTypeOk() (*int64, bool) { - if o == nil || o.PackageType == nil { +func (o *PackageTagResponse) GetOriginRepositoryOk() (*string, bool) { + if o == nil || isNil(o.OriginRepository) { return nil, false } - return o.PackageType, true + return o.OriginRepository, true } -// HasPackageType returns a boolean if a field has been set. -func (o *MavenPackageUpload) HasPackageType() bool { - if o != nil && o.PackageType != nil { +// HasOriginRepository returns a boolean if a field has been set. +func (o *PackageTagResponse) HasOriginRepository() bool { + if o != nil && !isNil(o.OriginRepository) { return true } return false } -// SetPackageType gets a reference to the given int64 and assigns it to the PackageType field. -func (o *MavenPackageUpload) SetPackageType(v int64) { - o.PackageType = &v +// SetOriginRepository gets a reference to the given string and assigns it to the OriginRepository field. +func (o *PackageTagResponse) SetOriginRepository(v string) { + o.OriginRepository = &v } -// GetPackaging returns the Packaging field value if set, zero value otherwise. -func (o *MavenPackageUpload) GetPackaging() string { - if o == nil || o.Packaging == nil { +// GetOriginRepositoryUrl returns the OriginRepositoryUrl field value if set, zero value otherwise. +func (o *PackageTagResponse) GetOriginRepositoryUrl() string { + if o == nil || isNil(o.OriginRepositoryUrl) { var ret string return ret } - return *o.Packaging + return *o.OriginRepositoryUrl +} + +// GetOriginRepositoryUrlOk returns a tuple with the OriginRepositoryUrl field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *PackageTagResponse) GetOriginRepositoryUrlOk() (*string, bool) { + if o == nil || isNil(o.OriginRepositoryUrl) { + return nil, false + } + return o.OriginRepositoryUrl, true +} + +// HasOriginRepositoryUrl returns a boolean if a field has been set. +func (o *PackageTagResponse) HasOriginRepositoryUrl() bool { + if o != nil && !isNil(o.OriginRepositoryUrl) { + return true + } + + return false +} + +// SetOriginRepositoryUrl gets a reference to the given string and assigns it to the OriginRepositoryUrl field. +func (o *PackageTagResponse) SetOriginRepositoryUrl(v string) { + o.OriginRepositoryUrl = &v +} + +// GetPackageType returns the PackageType field value if set, zero value otherwise. +func (o *PackageTagResponse) GetPackageType() int64 { + if o == nil || isNil(o.PackageType) { + var ret int64 + return ret + } + return *o.PackageType } -// GetPackagingOk returns a tuple with the Packaging field value if set, nil otherwise +// GetPackageTypeOk returns a tuple with the PackageType field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *MavenPackageUpload) GetPackagingOk() (*string, bool) { - if o == nil || o.Packaging == nil { +func (o *PackageTagResponse) GetPackageTypeOk() (*int64, bool) { + if o == nil || isNil(o.PackageType) { return nil, false } - return o.Packaging, true + return o.PackageType, true } -// HasPackaging returns a boolean if a field has been set. -func (o *MavenPackageUpload) HasPackaging() bool { - if o != nil && o.Packaging != nil { +// HasPackageType returns a boolean if a field has been set. +func (o *PackageTagResponse) HasPackageType() bool { + if o != nil && !isNil(o.PackageType) { return true } return false } -// SetPackaging gets a reference to the given string and assigns it to the Packaging field. -func (o *MavenPackageUpload) SetPackaging(v string) { - o.Packaging = &v +// SetPackageType gets a reference to the given int64 and assigns it to the PackageType field. +func (o *PackageTagResponse) SetPackageType(v int64) { + o.PackageType = &v } // GetRelease returns the Release field value if set, zero value otherwise. -func (o *MavenPackageUpload) GetRelease() string { - if o == nil || o.Release == nil { +func (o *PackageTagResponse) GetRelease() string { + if o == nil || isNil(o.Release) { var ret string return ret } @@ -1337,16 +1320,16 @@ func (o *MavenPackageUpload) GetRelease() string { // GetReleaseOk returns a tuple with the Release field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *MavenPackageUpload) GetReleaseOk() (*string, bool) { - if o == nil || o.Release == nil { +func (o *PackageTagResponse) GetReleaseOk() (*string, bool) { + if o == nil || isNil(o.Release) { return nil, false } return o.Release, true } // HasRelease returns a boolean if a field has been set. -func (o *MavenPackageUpload) HasRelease() bool { - if o != nil && o.Release != nil { +func (o *PackageTagResponse) HasRelease() bool { + if o != nil && !isNil(o.Release) { return true } @@ -1354,13 +1337,13 @@ func (o *MavenPackageUpload) HasRelease() bool { } // SetRelease gets a reference to the given string and assigns it to the Release field. -func (o *MavenPackageUpload) SetRelease(v string) { +func (o *PackageTagResponse) SetRelease(v string) { o.Release = &v } // GetRepository returns the Repository field value if set, zero value otherwise. -func (o *MavenPackageUpload) GetRepository() string { - if o == nil || o.Repository == nil { +func (o *PackageTagResponse) GetRepository() string { + if o == nil || isNil(o.Repository) { var ret string return ret } @@ -1369,16 +1352,16 @@ func (o *MavenPackageUpload) GetRepository() string { // GetRepositoryOk returns a tuple with the Repository field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *MavenPackageUpload) GetRepositoryOk() (*string, bool) { - if o == nil || o.Repository == nil { +func (o *PackageTagResponse) GetRepositoryOk() (*string, bool) { + if o == nil || isNil(o.Repository) { return nil, false } return o.Repository, true } // HasRepository returns a boolean if a field has been set. -func (o *MavenPackageUpload) HasRepository() bool { - if o != nil && o.Repository != nil { +func (o *PackageTagResponse) HasRepository() bool { + if o != nil && !isNil(o.Repository) { return true } @@ -1386,13 +1369,13 @@ func (o *MavenPackageUpload) HasRepository() bool { } // SetRepository gets a reference to the given string and assigns it to the Repository field. -func (o *MavenPackageUpload) SetRepository(v string) { +func (o *PackageTagResponse) SetRepository(v string) { o.Repository = &v } // GetRepositoryUrl returns the RepositoryUrl field value if set, zero value otherwise. -func (o *MavenPackageUpload) GetRepositoryUrl() string { - if o == nil || o.RepositoryUrl == nil { +func (o *PackageTagResponse) GetRepositoryUrl() string { + if o == nil || isNil(o.RepositoryUrl) { var ret string return ret } @@ -1401,16 +1384,16 @@ func (o *MavenPackageUpload) GetRepositoryUrl() string { // GetRepositoryUrlOk returns a tuple with the RepositoryUrl field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *MavenPackageUpload) GetRepositoryUrlOk() (*string, bool) { - if o == nil || o.RepositoryUrl == nil { +func (o *PackageTagResponse) GetRepositoryUrlOk() (*string, bool) { + if o == nil || isNil(o.RepositoryUrl) { return nil, false } return o.RepositoryUrl, true } // HasRepositoryUrl returns a boolean if a field has been set. -func (o *MavenPackageUpload) HasRepositoryUrl() bool { - if o != nil && o.RepositoryUrl != nil { +func (o *PackageTagResponse) HasRepositoryUrl() bool { + if o != nil && !isNil(o.RepositoryUrl) { return true } @@ -1418,14 +1401,14 @@ func (o *MavenPackageUpload) HasRepositoryUrl() bool { } // SetRepositoryUrl gets a reference to the given string and assigns it to the RepositoryUrl field. -func (o *MavenPackageUpload) SetRepositoryUrl(v string) { +func (o *PackageTagResponse) SetRepositoryUrl(v string) { o.RepositoryUrl = &v } // GetSecurityScanCompletedAt returns the SecurityScanCompletedAt field value if set, zero value otherwise. -func (o *MavenPackageUpload) GetSecurityScanCompletedAt() string { - if o == nil || o.SecurityScanCompletedAt == nil { - var ret string +func (o *PackageTagResponse) GetSecurityScanCompletedAt() time.Time { + if o == nil || isNil(o.SecurityScanCompletedAt) { + var ret time.Time return ret } return *o.SecurityScanCompletedAt @@ -1433,31 +1416,31 @@ func (o *MavenPackageUpload) GetSecurityScanCompletedAt() string { // GetSecurityScanCompletedAtOk returns a tuple with the SecurityScanCompletedAt field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *MavenPackageUpload) GetSecurityScanCompletedAtOk() (*string, bool) { - if o == nil || o.SecurityScanCompletedAt == nil { +func (o *PackageTagResponse) GetSecurityScanCompletedAtOk() (*time.Time, bool) { + if o == nil || isNil(o.SecurityScanCompletedAt) { return nil, false } return o.SecurityScanCompletedAt, true } // HasSecurityScanCompletedAt returns a boolean if a field has been set. -func (o *MavenPackageUpload) HasSecurityScanCompletedAt() bool { - if o != nil && o.SecurityScanCompletedAt != nil { +func (o *PackageTagResponse) HasSecurityScanCompletedAt() bool { + if o != nil && !isNil(o.SecurityScanCompletedAt) { return true } return false } -// SetSecurityScanCompletedAt gets a reference to the given string and assigns it to the SecurityScanCompletedAt field. -func (o *MavenPackageUpload) SetSecurityScanCompletedAt(v string) { +// SetSecurityScanCompletedAt gets a reference to the given time.Time and assigns it to the SecurityScanCompletedAt field. +func (o *PackageTagResponse) SetSecurityScanCompletedAt(v time.Time) { o.SecurityScanCompletedAt = &v } // GetSecurityScanStartedAt returns the SecurityScanStartedAt field value if set, zero value otherwise. -func (o *MavenPackageUpload) GetSecurityScanStartedAt() string { - if o == nil || o.SecurityScanStartedAt == nil { - var ret string +func (o *PackageTagResponse) GetSecurityScanStartedAt() time.Time { + if o == nil || isNil(o.SecurityScanStartedAt) { + var ret time.Time return ret } return *o.SecurityScanStartedAt @@ -1465,63 +1448,74 @@ func (o *MavenPackageUpload) GetSecurityScanStartedAt() string { // GetSecurityScanStartedAtOk returns a tuple with the SecurityScanStartedAt field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *MavenPackageUpload) GetSecurityScanStartedAtOk() (*string, bool) { - if o == nil || o.SecurityScanStartedAt == nil { +func (o *PackageTagResponse) GetSecurityScanStartedAtOk() (*time.Time, bool) { + if o == nil || isNil(o.SecurityScanStartedAt) { return nil, false } return o.SecurityScanStartedAt, true } // HasSecurityScanStartedAt returns a boolean if a field has been set. -func (o *MavenPackageUpload) HasSecurityScanStartedAt() bool { - if o != nil && o.SecurityScanStartedAt != nil { +func (o *PackageTagResponse) HasSecurityScanStartedAt() bool { + if o != nil && !isNil(o.SecurityScanStartedAt) { return true } return false } -// SetSecurityScanStartedAt gets a reference to the given string and assigns it to the SecurityScanStartedAt field. -func (o *MavenPackageUpload) SetSecurityScanStartedAt(v string) { +// SetSecurityScanStartedAt gets a reference to the given time.Time and assigns it to the SecurityScanStartedAt field. +func (o *PackageTagResponse) SetSecurityScanStartedAt(v time.Time) { o.SecurityScanStartedAt = &v } -// GetSecurityScanStatus returns the SecurityScanStatus field value if set, zero value otherwise. -func (o *MavenPackageUpload) GetSecurityScanStatus() string { - if o == nil || o.SecurityScanStatus == nil { +// GetSecurityScanStatus returns the SecurityScanStatus field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *PackageTagResponse) GetSecurityScanStatus() string { + if o == nil || isNil(o.SecurityScanStatus.Get()) { var ret string return ret } - return *o.SecurityScanStatus + return *o.SecurityScanStatus.Get() } // GetSecurityScanStatusOk returns a tuple with the SecurityScanStatus field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *MavenPackageUpload) GetSecurityScanStatusOk() (*string, bool) { - if o == nil || o.SecurityScanStatus == nil { +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *PackageTagResponse) GetSecurityScanStatusOk() (*string, bool) { + if o == nil { return nil, false } - return o.SecurityScanStatus, true + return o.SecurityScanStatus.Get(), o.SecurityScanStatus.IsSet() } // HasSecurityScanStatus returns a boolean if a field has been set. -func (o *MavenPackageUpload) HasSecurityScanStatus() bool { - if o != nil && o.SecurityScanStatus != nil { +func (o *PackageTagResponse) HasSecurityScanStatus() bool { + if o != nil && o.SecurityScanStatus.IsSet() { return true } return false } -// SetSecurityScanStatus gets a reference to the given string and assigns it to the SecurityScanStatus field. -func (o *MavenPackageUpload) SetSecurityScanStatus(v string) { - o.SecurityScanStatus = &v +// SetSecurityScanStatus gets a reference to the given NullableString and assigns it to the SecurityScanStatus field. +func (o *PackageTagResponse) SetSecurityScanStatus(v string) { + o.SecurityScanStatus.Set(&v) +} + +// SetSecurityScanStatusNil sets the value for SecurityScanStatus to be an explicit nil +func (o *PackageTagResponse) SetSecurityScanStatusNil() { + o.SecurityScanStatus.Set(nil) +} + +// UnsetSecurityScanStatus ensures that no value is present for SecurityScanStatus, not even an explicit nil +func (o *PackageTagResponse) UnsetSecurityScanStatus() { + o.SecurityScanStatus.Unset() } // GetSecurityScanStatusUpdatedAt returns the SecurityScanStatusUpdatedAt field value if set, zero value otherwise. -func (o *MavenPackageUpload) GetSecurityScanStatusUpdatedAt() string { - if o == nil || o.SecurityScanStatusUpdatedAt == nil { - var ret string +func (o *PackageTagResponse) GetSecurityScanStatusUpdatedAt() time.Time { + if o == nil || isNil(o.SecurityScanStatusUpdatedAt) { + var ret time.Time return ret } return *o.SecurityScanStatusUpdatedAt @@ -1529,30 +1523,30 @@ func (o *MavenPackageUpload) GetSecurityScanStatusUpdatedAt() string { // GetSecurityScanStatusUpdatedAtOk returns a tuple with the SecurityScanStatusUpdatedAt field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *MavenPackageUpload) GetSecurityScanStatusUpdatedAtOk() (*string, bool) { - if o == nil || o.SecurityScanStatusUpdatedAt == nil { +func (o *PackageTagResponse) GetSecurityScanStatusUpdatedAtOk() (*time.Time, bool) { + if o == nil || isNil(o.SecurityScanStatusUpdatedAt) { return nil, false } return o.SecurityScanStatusUpdatedAt, true } // HasSecurityScanStatusUpdatedAt returns a boolean if a field has been set. -func (o *MavenPackageUpload) HasSecurityScanStatusUpdatedAt() bool { - if o != nil && o.SecurityScanStatusUpdatedAt != nil { +func (o *PackageTagResponse) HasSecurityScanStatusUpdatedAt() bool { + if o != nil && !isNil(o.SecurityScanStatusUpdatedAt) { return true } return false } -// SetSecurityScanStatusUpdatedAt gets a reference to the given string and assigns it to the SecurityScanStatusUpdatedAt field. -func (o *MavenPackageUpload) SetSecurityScanStatusUpdatedAt(v string) { +// SetSecurityScanStatusUpdatedAt gets a reference to the given time.Time and assigns it to the SecurityScanStatusUpdatedAt field. +func (o *PackageTagResponse) SetSecurityScanStatusUpdatedAt(v time.Time) { o.SecurityScanStatusUpdatedAt = &v } // GetSelfHtmlUrl returns the SelfHtmlUrl field value if set, zero value otherwise. -func (o *MavenPackageUpload) GetSelfHtmlUrl() string { - if o == nil || o.SelfHtmlUrl == nil { +func (o *PackageTagResponse) GetSelfHtmlUrl() string { + if o == nil || isNil(o.SelfHtmlUrl) { var ret string return ret } @@ -1561,16 +1555,16 @@ func (o *MavenPackageUpload) GetSelfHtmlUrl() string { // GetSelfHtmlUrlOk returns a tuple with the SelfHtmlUrl field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *MavenPackageUpload) GetSelfHtmlUrlOk() (*string, bool) { - if o == nil || o.SelfHtmlUrl == nil { +func (o *PackageTagResponse) GetSelfHtmlUrlOk() (*string, bool) { + if o == nil || isNil(o.SelfHtmlUrl) { return nil, false } return o.SelfHtmlUrl, true } // HasSelfHtmlUrl returns a boolean if a field has been set. -func (o *MavenPackageUpload) HasSelfHtmlUrl() bool { - if o != nil && o.SelfHtmlUrl != nil { +func (o *PackageTagResponse) HasSelfHtmlUrl() bool { + if o != nil && !isNil(o.SelfHtmlUrl) { return true } @@ -1578,13 +1572,13 @@ func (o *MavenPackageUpload) HasSelfHtmlUrl() bool { } // SetSelfHtmlUrl gets a reference to the given string and assigns it to the SelfHtmlUrl field. -func (o *MavenPackageUpload) SetSelfHtmlUrl(v string) { +func (o *PackageTagResponse) SetSelfHtmlUrl(v string) { o.SelfHtmlUrl = &v } // GetSelfUrl returns the SelfUrl field value if set, zero value otherwise. -func (o *MavenPackageUpload) GetSelfUrl() string { - if o == nil || o.SelfUrl == nil { +func (o *PackageTagResponse) GetSelfUrl() string { + if o == nil || isNil(o.SelfUrl) { var ret string return ret } @@ -1593,16 +1587,16 @@ func (o *MavenPackageUpload) GetSelfUrl() string { // GetSelfUrlOk returns a tuple with the SelfUrl field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *MavenPackageUpload) GetSelfUrlOk() (*string, bool) { - if o == nil || o.SelfUrl == nil { +func (o *PackageTagResponse) GetSelfUrlOk() (*string, bool) { + if o == nil || isNil(o.SelfUrl) { return nil, false } return o.SelfUrl, true } // HasSelfUrl returns a boolean if a field has been set. -func (o *MavenPackageUpload) HasSelfUrl() bool { - if o != nil && o.SelfUrl != nil { +func (o *PackageTagResponse) HasSelfUrl() bool { + if o != nil && !isNil(o.SelfUrl) { return true } @@ -1610,45 +1604,56 @@ func (o *MavenPackageUpload) HasSelfUrl() bool { } // SetSelfUrl gets a reference to the given string and assigns it to the SelfUrl field. -func (o *MavenPackageUpload) SetSelfUrl(v string) { +func (o *PackageTagResponse) SetSelfUrl(v string) { o.SelfUrl = &v } -// GetSignatureUrl returns the SignatureUrl field value if set, zero value otherwise. -func (o *MavenPackageUpload) GetSignatureUrl() string { - if o == nil || o.SignatureUrl == nil { +// GetSignatureUrl returns the SignatureUrl field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *PackageTagResponse) GetSignatureUrl() string { + if o == nil || isNil(o.SignatureUrl.Get()) { var ret string return ret } - return *o.SignatureUrl + return *o.SignatureUrl.Get() } // GetSignatureUrlOk returns a tuple with the SignatureUrl field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *MavenPackageUpload) GetSignatureUrlOk() (*string, bool) { - if o == nil || o.SignatureUrl == nil { +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *PackageTagResponse) GetSignatureUrlOk() (*string, bool) { + if o == nil { return nil, false } - return o.SignatureUrl, true + return o.SignatureUrl.Get(), o.SignatureUrl.IsSet() } // HasSignatureUrl returns a boolean if a field has been set. -func (o *MavenPackageUpload) HasSignatureUrl() bool { - if o != nil && o.SignatureUrl != nil { +func (o *PackageTagResponse) HasSignatureUrl() bool { + if o != nil && o.SignatureUrl.IsSet() { return true } return false } -// SetSignatureUrl gets a reference to the given string and assigns it to the SignatureUrl field. -func (o *MavenPackageUpload) SetSignatureUrl(v string) { - o.SignatureUrl = &v +// SetSignatureUrl gets a reference to the given NullableString and assigns it to the SignatureUrl field. +func (o *PackageTagResponse) SetSignatureUrl(v string) { + o.SignatureUrl.Set(&v) +} + +// SetSignatureUrlNil sets the value for SignatureUrl to be an explicit nil +func (o *PackageTagResponse) SetSignatureUrlNil() { + o.SignatureUrl.Set(nil) +} + +// UnsetSignatureUrl ensures that no value is present for SignatureUrl, not even an explicit nil +func (o *PackageTagResponse) UnsetSignatureUrl() { + o.SignatureUrl.Unset() } // GetSize returns the Size field value if set, zero value otherwise. -func (o *MavenPackageUpload) GetSize() int64 { - if o == nil || o.Size == nil { +func (o *PackageTagResponse) GetSize() int64 { + if o == nil || isNil(o.Size) { var ret int64 return ret } @@ -1657,16 +1662,16 @@ func (o *MavenPackageUpload) GetSize() int64 { // GetSizeOk returns a tuple with the Size field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *MavenPackageUpload) GetSizeOk() (*int64, bool) { - if o == nil || o.Size == nil { +func (o *PackageTagResponse) GetSizeOk() (*int64, bool) { + if o == nil || isNil(o.Size) { return nil, false } return o.Size, true } // HasSize returns a boolean if a field has been set. -func (o *MavenPackageUpload) HasSize() bool { - if o != nil && o.Size != nil { +func (o *PackageTagResponse) HasSize() bool { + if o != nil && !isNil(o.Size) { return true } @@ -1674,13 +1679,13 @@ func (o *MavenPackageUpload) HasSize() bool { } // SetSize gets a reference to the given int64 and assigns it to the Size field. -func (o *MavenPackageUpload) SetSize(v int64) { +func (o *PackageTagResponse) SetSize(v int64) { o.Size = &v } // GetSlug returns the Slug field value if set, zero value otherwise. -func (o *MavenPackageUpload) GetSlug() string { - if o == nil || o.Slug == nil { +func (o *PackageTagResponse) GetSlug() string { + if o == nil || isNil(o.Slug) { var ret string return ret } @@ -1689,16 +1694,16 @@ func (o *MavenPackageUpload) GetSlug() string { // GetSlugOk returns a tuple with the Slug field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *MavenPackageUpload) GetSlugOk() (*string, bool) { - if o == nil || o.Slug == nil { +func (o *PackageTagResponse) GetSlugOk() (*string, bool) { + if o == nil || isNil(o.Slug) { return nil, false } return o.Slug, true } // HasSlug returns a boolean if a field has been set. -func (o *MavenPackageUpload) HasSlug() bool { - if o != nil && o.Slug != nil { +func (o *PackageTagResponse) HasSlug() bool { + if o != nil && !isNil(o.Slug) { return true } @@ -1706,13 +1711,13 @@ func (o *MavenPackageUpload) HasSlug() bool { } // SetSlug gets a reference to the given string and assigns it to the Slug field. -func (o *MavenPackageUpload) SetSlug(v string) { +func (o *PackageTagResponse) SetSlug(v string) { o.Slug = &v } // GetSlugPerm returns the SlugPerm field value if set, zero value otherwise. -func (o *MavenPackageUpload) GetSlugPerm() string { - if o == nil || o.SlugPerm == nil { +func (o *PackageTagResponse) GetSlugPerm() string { + if o == nil || isNil(o.SlugPerm) { var ret string return ret } @@ -1721,16 +1726,16 @@ func (o *MavenPackageUpload) GetSlugPerm() string { // GetSlugPermOk returns a tuple with the SlugPerm field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *MavenPackageUpload) GetSlugPermOk() (*string, bool) { - if o == nil || o.SlugPerm == nil { +func (o *PackageTagResponse) GetSlugPermOk() (*string, bool) { + if o == nil || isNil(o.SlugPerm) { return nil, false } return o.SlugPerm, true } // HasSlugPerm returns a boolean if a field has been set. -func (o *MavenPackageUpload) HasSlugPerm() bool { - if o != nil && o.SlugPerm != nil { +func (o *PackageTagResponse) HasSlugPerm() bool { + if o != nil && !isNil(o.SlugPerm) { return true } @@ -1738,13 +1743,13 @@ func (o *MavenPackageUpload) HasSlugPerm() bool { } // SetSlugPerm gets a reference to the given string and assigns it to the SlugPerm field. -func (o *MavenPackageUpload) SetSlugPerm(v string) { +func (o *PackageTagResponse) SetSlugPerm(v string) { o.SlugPerm = &v } // GetStage returns the Stage field value if set, zero value otherwise. -func (o *MavenPackageUpload) GetStage() int64 { - if o == nil || o.Stage == nil { +func (o *PackageTagResponse) GetStage() int64 { + if o == nil || isNil(o.Stage) { var ret int64 return ret } @@ -1753,16 +1758,16 @@ func (o *MavenPackageUpload) GetStage() int64 { // GetStageOk returns a tuple with the Stage field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *MavenPackageUpload) GetStageOk() (*int64, bool) { - if o == nil || o.Stage == nil { +func (o *PackageTagResponse) GetStageOk() (*int64, bool) { + if o == nil || isNil(o.Stage) { return nil, false } return o.Stage, true } // HasStage returns a boolean if a field has been set. -func (o *MavenPackageUpload) HasStage() bool { - if o != nil && o.Stage != nil { +func (o *PackageTagResponse) HasStage() bool { + if o != nil && !isNil(o.Stage) { return true } @@ -1770,13 +1775,13 @@ func (o *MavenPackageUpload) HasStage() bool { } // SetStage gets a reference to the given int64 and assigns it to the Stage field. -func (o *MavenPackageUpload) SetStage(v int64) { +func (o *PackageTagResponse) SetStage(v int64) { o.Stage = &v } // GetStageStr returns the StageStr field value if set, zero value otherwise. -func (o *MavenPackageUpload) GetStageStr() string { - if o == nil || o.StageStr == nil { +func (o *PackageTagResponse) GetStageStr() string { + if o == nil || isNil(o.StageStr) { var ret string return ret } @@ -1785,16 +1790,16 @@ func (o *MavenPackageUpload) GetStageStr() string { // GetStageStrOk returns a tuple with the StageStr field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *MavenPackageUpload) GetStageStrOk() (*string, bool) { - if o == nil || o.StageStr == nil { +func (o *PackageTagResponse) GetStageStrOk() (*string, bool) { + if o == nil || isNil(o.StageStr) { return nil, false } return o.StageStr, true } // HasStageStr returns a boolean if a field has been set. -func (o *MavenPackageUpload) HasStageStr() bool { - if o != nil && o.StageStr != nil { +func (o *PackageTagResponse) HasStageStr() bool { + if o != nil && !isNil(o.StageStr) { return true } @@ -1802,14 +1807,14 @@ func (o *MavenPackageUpload) HasStageStr() bool { } // SetStageStr gets a reference to the given string and assigns it to the StageStr field. -func (o *MavenPackageUpload) SetStageStr(v string) { +func (o *PackageTagResponse) SetStageStr(v string) { o.StageStr = &v } // GetStageUpdatedAt returns the StageUpdatedAt field value if set, zero value otherwise. -func (o *MavenPackageUpload) GetStageUpdatedAt() string { - if o == nil || o.StageUpdatedAt == nil { - var ret string +func (o *PackageTagResponse) GetStageUpdatedAt() time.Time { + if o == nil || isNil(o.StageUpdatedAt) { + var ret time.Time return ret } return *o.StageUpdatedAt @@ -1817,30 +1822,30 @@ func (o *MavenPackageUpload) GetStageUpdatedAt() string { // GetStageUpdatedAtOk returns a tuple with the StageUpdatedAt field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *MavenPackageUpload) GetStageUpdatedAtOk() (*string, bool) { - if o == nil || o.StageUpdatedAt == nil { +func (o *PackageTagResponse) GetStageUpdatedAtOk() (*time.Time, bool) { + if o == nil || isNil(o.StageUpdatedAt) { return nil, false } return o.StageUpdatedAt, true } // HasStageUpdatedAt returns a boolean if a field has been set. -func (o *MavenPackageUpload) HasStageUpdatedAt() bool { - if o != nil && o.StageUpdatedAt != nil { +func (o *PackageTagResponse) HasStageUpdatedAt() bool { + if o != nil && !isNil(o.StageUpdatedAt) { return true } return false } -// SetStageUpdatedAt gets a reference to the given string and assigns it to the StageUpdatedAt field. -func (o *MavenPackageUpload) SetStageUpdatedAt(v string) { +// SetStageUpdatedAt gets a reference to the given time.Time and assigns it to the StageUpdatedAt field. +func (o *PackageTagResponse) SetStageUpdatedAt(v time.Time) { o.StageUpdatedAt = &v } // GetStatus returns the Status field value if set, zero value otherwise. -func (o *MavenPackageUpload) GetStatus() int64 { - if o == nil || o.Status == nil { +func (o *PackageTagResponse) GetStatus() int64 { + if o == nil || isNil(o.Status) { var ret int64 return ret } @@ -1849,16 +1854,16 @@ func (o *MavenPackageUpload) GetStatus() int64 { // GetStatusOk returns a tuple with the Status field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *MavenPackageUpload) GetStatusOk() (*int64, bool) { - if o == nil || o.Status == nil { +func (o *PackageTagResponse) GetStatusOk() (*int64, bool) { + if o == nil || isNil(o.Status) { return nil, false } return o.Status, true } // HasStatus returns a boolean if a field has been set. -func (o *MavenPackageUpload) HasStatus() bool { - if o != nil && o.Status != nil { +func (o *PackageTagResponse) HasStatus() bool { + if o != nil && !isNil(o.Status) { return true } @@ -1866,13 +1871,13 @@ func (o *MavenPackageUpload) HasStatus() bool { } // SetStatus gets a reference to the given int64 and assigns it to the Status field. -func (o *MavenPackageUpload) SetStatus(v int64) { +func (o *PackageTagResponse) SetStatus(v int64) { o.Status = &v } // GetStatusReason returns the StatusReason field value if set, zero value otherwise. -func (o *MavenPackageUpload) GetStatusReason() string { - if o == nil || o.StatusReason == nil { +func (o *PackageTagResponse) GetStatusReason() string { + if o == nil || isNil(o.StatusReason) { var ret string return ret } @@ -1881,16 +1886,16 @@ func (o *MavenPackageUpload) GetStatusReason() string { // GetStatusReasonOk returns a tuple with the StatusReason field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *MavenPackageUpload) GetStatusReasonOk() (*string, bool) { - if o == nil || o.StatusReason == nil { +func (o *PackageTagResponse) GetStatusReasonOk() (*string, bool) { + if o == nil || isNil(o.StatusReason) { return nil, false } return o.StatusReason, true } // HasStatusReason returns a boolean if a field has been set. -func (o *MavenPackageUpload) HasStatusReason() bool { - if o != nil && o.StatusReason != nil { +func (o *PackageTagResponse) HasStatusReason() bool { + if o != nil && !isNil(o.StatusReason) { return true } @@ -1898,13 +1903,13 @@ func (o *MavenPackageUpload) HasStatusReason() bool { } // SetStatusReason gets a reference to the given string and assigns it to the StatusReason field. -func (o *MavenPackageUpload) SetStatusReason(v string) { +func (o *PackageTagResponse) SetStatusReason(v string) { o.StatusReason = &v } // GetStatusStr returns the StatusStr field value if set, zero value otherwise. -func (o *MavenPackageUpload) GetStatusStr() string { - if o == nil || o.StatusStr == nil { +func (o *PackageTagResponse) GetStatusStr() string { + if o == nil || isNil(o.StatusStr) { var ret string return ret } @@ -1913,16 +1918,16 @@ func (o *MavenPackageUpload) GetStatusStr() string { // GetStatusStrOk returns a tuple with the StatusStr field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *MavenPackageUpload) GetStatusStrOk() (*string, bool) { - if o == nil || o.StatusStr == nil { +func (o *PackageTagResponse) GetStatusStrOk() (*string, bool) { + if o == nil || isNil(o.StatusStr) { return nil, false } return o.StatusStr, true } // HasStatusStr returns a boolean if a field has been set. -func (o *MavenPackageUpload) HasStatusStr() bool { - if o != nil && o.StatusStr != nil { +func (o *PackageTagResponse) HasStatusStr() bool { + if o != nil && !isNil(o.StatusStr) { return true } @@ -1930,14 +1935,14 @@ func (o *MavenPackageUpload) HasStatusStr() bool { } // SetStatusStr gets a reference to the given string and assigns it to the StatusStr field. -func (o *MavenPackageUpload) SetStatusStr(v string) { +func (o *PackageTagResponse) SetStatusStr(v string) { o.StatusStr = &v } // GetStatusUpdatedAt returns the StatusUpdatedAt field value if set, zero value otherwise. -func (o *MavenPackageUpload) GetStatusUpdatedAt() string { - if o == nil || o.StatusUpdatedAt == nil { - var ret string +func (o *PackageTagResponse) GetStatusUpdatedAt() time.Time { + if o == nil || isNil(o.StatusUpdatedAt) { + var ret time.Time return ret } return *o.StatusUpdatedAt @@ -1945,30 +1950,30 @@ func (o *MavenPackageUpload) GetStatusUpdatedAt() string { // GetStatusUpdatedAtOk returns a tuple with the StatusUpdatedAt field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *MavenPackageUpload) GetStatusUpdatedAtOk() (*string, bool) { - if o == nil || o.StatusUpdatedAt == nil { +func (o *PackageTagResponse) GetStatusUpdatedAtOk() (*time.Time, bool) { + if o == nil || isNil(o.StatusUpdatedAt) { return nil, false } return o.StatusUpdatedAt, true } // HasStatusUpdatedAt returns a boolean if a field has been set. -func (o *MavenPackageUpload) HasStatusUpdatedAt() bool { - if o != nil && o.StatusUpdatedAt != nil { +func (o *PackageTagResponse) HasStatusUpdatedAt() bool { + if o != nil && !isNil(o.StatusUpdatedAt) { return true } return false } -// SetStatusUpdatedAt gets a reference to the given string and assigns it to the StatusUpdatedAt field. -func (o *MavenPackageUpload) SetStatusUpdatedAt(v string) { +// SetStatusUpdatedAt gets a reference to the given time.Time and assigns it to the StatusUpdatedAt field. +func (o *PackageTagResponse) SetStatusUpdatedAt(v time.Time) { o.StatusUpdatedAt = &v } // GetStatusUrl returns the StatusUrl field value if set, zero value otherwise. -func (o *MavenPackageUpload) GetStatusUrl() string { - if o == nil || o.StatusUrl == nil { +func (o *PackageTagResponse) GetStatusUrl() string { + if o == nil || isNil(o.StatusUrl) { var ret string return ret } @@ -1977,16 +1982,16 @@ func (o *MavenPackageUpload) GetStatusUrl() string { // GetStatusUrlOk returns a tuple with the StatusUrl field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *MavenPackageUpload) GetStatusUrlOk() (*string, bool) { - if o == nil || o.StatusUrl == nil { +func (o *PackageTagResponse) GetStatusUrlOk() (*string, bool) { + if o == nil || isNil(o.StatusUrl) { return nil, false } return o.StatusUrl, true } // HasStatusUrl returns a boolean if a field has been set. -func (o *MavenPackageUpload) HasStatusUrl() bool { - if o != nil && o.StatusUrl != nil { +func (o *PackageTagResponse) HasStatusUrl() bool { + if o != nil && !isNil(o.StatusUrl) { return true } @@ -1994,13 +1999,13 @@ func (o *MavenPackageUpload) HasStatusUrl() bool { } // SetStatusUrl gets a reference to the given string and assigns it to the StatusUrl field. -func (o *MavenPackageUpload) SetStatusUrl(v string) { +func (o *PackageTagResponse) SetStatusUrl(v string) { o.StatusUrl = &v } // GetSubtype returns the Subtype field value if set, zero value otherwise. -func (o *MavenPackageUpload) GetSubtype() string { - if o == nil || o.Subtype == nil { +func (o *PackageTagResponse) GetSubtype() string { + if o == nil || isNil(o.Subtype) { var ret string return ret } @@ -2009,16 +2014,16 @@ func (o *MavenPackageUpload) GetSubtype() string { // GetSubtypeOk returns a tuple with the Subtype field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *MavenPackageUpload) GetSubtypeOk() (*string, bool) { - if o == nil || o.Subtype == nil { +func (o *PackageTagResponse) GetSubtypeOk() (*string, bool) { + if o == nil || isNil(o.Subtype) { return nil, false } return o.Subtype, true } // HasSubtype returns a boolean if a field has been set. -func (o *MavenPackageUpload) HasSubtype() bool { - if o != nil && o.Subtype != nil { +func (o *PackageTagResponse) HasSubtype() bool { + if o != nil && !isNil(o.Subtype) { return true } @@ -2026,13 +2031,13 @@ func (o *MavenPackageUpload) HasSubtype() bool { } // SetSubtype gets a reference to the given string and assigns it to the Subtype field. -func (o *MavenPackageUpload) SetSubtype(v string) { +func (o *PackageTagResponse) SetSubtype(v string) { o.Subtype = &v } // GetSummary returns the Summary field value if set, zero value otherwise. -func (o *MavenPackageUpload) GetSummary() string { - if o == nil || o.Summary == nil { +func (o *PackageTagResponse) GetSummary() string { + if o == nil || isNil(o.Summary) { var ret string return ret } @@ -2041,16 +2046,16 @@ func (o *MavenPackageUpload) GetSummary() string { // GetSummaryOk returns a tuple with the Summary field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *MavenPackageUpload) GetSummaryOk() (*string, bool) { - if o == nil || o.Summary == nil { +func (o *PackageTagResponse) GetSummaryOk() (*string, bool) { + if o == nil || isNil(o.Summary) { return nil, false } return o.Summary, true } // HasSummary returns a boolean if a field has been set. -func (o *MavenPackageUpload) HasSummary() bool { - if o != nil && o.Summary != nil { +func (o *PackageTagResponse) HasSummary() bool { + if o != nil && !isNil(o.Summary) { return true } @@ -2058,14 +2063,14 @@ func (o *MavenPackageUpload) HasSummary() bool { } // SetSummary gets a reference to the given string and assigns it to the Summary field. -func (o *MavenPackageUpload) SetSummary(v string) { +func (o *PackageTagResponse) SetSummary(v string) { o.Summary = &v } // GetSyncFinishedAt returns the SyncFinishedAt field value if set, zero value otherwise. -func (o *MavenPackageUpload) GetSyncFinishedAt() string { - if o == nil || o.SyncFinishedAt == nil { - var ret string +func (o *PackageTagResponse) GetSyncFinishedAt() time.Time { + if o == nil || isNil(o.SyncFinishedAt) { + var ret time.Time return ret } return *o.SyncFinishedAt @@ -2073,30 +2078,30 @@ func (o *MavenPackageUpload) GetSyncFinishedAt() string { // GetSyncFinishedAtOk returns a tuple with the SyncFinishedAt field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *MavenPackageUpload) GetSyncFinishedAtOk() (*string, bool) { - if o == nil || o.SyncFinishedAt == nil { +func (o *PackageTagResponse) GetSyncFinishedAtOk() (*time.Time, bool) { + if o == nil || isNil(o.SyncFinishedAt) { return nil, false } return o.SyncFinishedAt, true } // HasSyncFinishedAt returns a boolean if a field has been set. -func (o *MavenPackageUpload) HasSyncFinishedAt() bool { - if o != nil && o.SyncFinishedAt != nil { +func (o *PackageTagResponse) HasSyncFinishedAt() bool { + if o != nil && !isNil(o.SyncFinishedAt) { return true } return false } -// SetSyncFinishedAt gets a reference to the given string and assigns it to the SyncFinishedAt field. -func (o *MavenPackageUpload) SetSyncFinishedAt(v string) { +// SetSyncFinishedAt gets a reference to the given time.Time and assigns it to the SyncFinishedAt field. +func (o *PackageTagResponse) SetSyncFinishedAt(v time.Time) { o.SyncFinishedAt = &v } // GetSyncProgress returns the SyncProgress field value if set, zero value otherwise. -func (o *MavenPackageUpload) GetSyncProgress() int64 { - if o == nil || o.SyncProgress == nil { +func (o *PackageTagResponse) GetSyncProgress() int64 { + if o == nil || isNil(o.SyncProgress) { var ret int64 return ret } @@ -2105,16 +2110,16 @@ func (o *MavenPackageUpload) GetSyncProgress() int64 { // GetSyncProgressOk returns a tuple with the SyncProgress field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *MavenPackageUpload) GetSyncProgressOk() (*int64, bool) { - if o == nil || o.SyncProgress == nil { +func (o *PackageTagResponse) GetSyncProgressOk() (*int64, bool) { + if o == nil || isNil(o.SyncProgress) { return nil, false } return o.SyncProgress, true } // HasSyncProgress returns a boolean if a field has been set. -func (o *MavenPackageUpload) HasSyncProgress() bool { - if o != nil && o.SyncProgress != nil { +func (o *PackageTagResponse) HasSyncProgress() bool { + if o != nil && !isNil(o.SyncProgress) { return true } @@ -2122,13 +2127,13 @@ func (o *MavenPackageUpload) HasSyncProgress() bool { } // SetSyncProgress gets a reference to the given int64 and assigns it to the SyncProgress field. -func (o *MavenPackageUpload) SetSyncProgress(v int64) { +func (o *PackageTagResponse) SetSyncProgress(v int64) { o.SyncProgress = &v } // GetTagsImmutable returns the TagsImmutable field value if set, zero value otherwise. -func (o *MavenPackageUpload) GetTagsImmutable() map[string]interface{} { - if o == nil || o.TagsImmutable == nil { +func (o *PackageTagResponse) GetTagsImmutable() map[string]interface{} { + if o == nil || isNil(o.TagsImmutable) { var ret map[string]interface{} return ret } @@ -2137,16 +2142,16 @@ func (o *MavenPackageUpload) GetTagsImmutable() map[string]interface{} { // GetTagsImmutableOk returns a tuple with the TagsImmutable field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *MavenPackageUpload) GetTagsImmutableOk() (map[string]interface{}, bool) { - if o == nil || o.TagsImmutable == nil { - return nil, false +func (o *PackageTagResponse) GetTagsImmutableOk() (map[string]interface{}, bool) { + if o == nil || isNil(o.TagsImmutable) { + return map[string]interface{}{}, false } return o.TagsImmutable, true } // HasTagsImmutable returns a boolean if a field has been set. -func (o *MavenPackageUpload) HasTagsImmutable() bool { - if o != nil && o.TagsImmutable != nil { +func (o *PackageTagResponse) HasTagsImmutable() bool { + if o != nil && !isNil(o.TagsImmutable) { return true } @@ -2154,13 +2159,13 @@ func (o *MavenPackageUpload) HasTagsImmutable() bool { } // SetTagsImmutable gets a reference to the given map[string]interface{} and assigns it to the TagsImmutable field. -func (o *MavenPackageUpload) SetTagsImmutable(v map[string]interface{}) { +func (o *PackageTagResponse) SetTagsImmutable(v map[string]interface{}) { o.TagsImmutable = v } // GetTypeDisplay returns the TypeDisplay field value if set, zero value otherwise. -func (o *MavenPackageUpload) GetTypeDisplay() string { - if o == nil || o.TypeDisplay == nil { +func (o *PackageTagResponse) GetTypeDisplay() string { + if o == nil || isNil(o.TypeDisplay) { var ret string return ret } @@ -2169,16 +2174,16 @@ func (o *MavenPackageUpload) GetTypeDisplay() string { // GetTypeDisplayOk returns a tuple with the TypeDisplay field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *MavenPackageUpload) GetTypeDisplayOk() (*string, bool) { - if o == nil || o.TypeDisplay == nil { +func (o *PackageTagResponse) GetTypeDisplayOk() (*string, bool) { + if o == nil || isNil(o.TypeDisplay) { return nil, false } return o.TypeDisplay, true } // HasTypeDisplay returns a boolean if a field has been set. -func (o *MavenPackageUpload) HasTypeDisplay() bool { - if o != nil && o.TypeDisplay != nil { +func (o *PackageTagResponse) HasTypeDisplay() bool { + if o != nil && !isNil(o.TypeDisplay) { return true } @@ -2186,14 +2191,14 @@ func (o *MavenPackageUpload) HasTypeDisplay() bool { } // SetTypeDisplay gets a reference to the given string and assigns it to the TypeDisplay field. -func (o *MavenPackageUpload) SetTypeDisplay(v string) { +func (o *PackageTagResponse) SetTypeDisplay(v string) { o.TypeDisplay = &v } // GetUploadedAt returns the UploadedAt field value if set, zero value otherwise. -func (o *MavenPackageUpload) GetUploadedAt() string { - if o == nil || o.UploadedAt == nil { - var ret string +func (o *PackageTagResponse) GetUploadedAt() time.Time { + if o == nil || isNil(o.UploadedAt) { + var ret time.Time return ret } return *o.UploadedAt @@ -2201,30 +2206,30 @@ func (o *MavenPackageUpload) GetUploadedAt() string { // GetUploadedAtOk returns a tuple with the UploadedAt field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *MavenPackageUpload) GetUploadedAtOk() (*string, bool) { - if o == nil || o.UploadedAt == nil { +func (o *PackageTagResponse) GetUploadedAtOk() (*time.Time, bool) { + if o == nil || isNil(o.UploadedAt) { return nil, false } return o.UploadedAt, true } // HasUploadedAt returns a boolean if a field has been set. -func (o *MavenPackageUpload) HasUploadedAt() bool { - if o != nil && o.UploadedAt != nil { +func (o *PackageTagResponse) HasUploadedAt() bool { + if o != nil && !isNil(o.UploadedAt) { return true } return false } -// SetUploadedAt gets a reference to the given string and assigns it to the UploadedAt field. -func (o *MavenPackageUpload) SetUploadedAt(v string) { +// SetUploadedAt gets a reference to the given time.Time and assigns it to the UploadedAt field. +func (o *PackageTagResponse) SetUploadedAt(v time.Time) { o.UploadedAt = &v } // GetUploader returns the Uploader field value if set, zero value otherwise. -func (o *MavenPackageUpload) GetUploader() string { - if o == nil || o.Uploader == nil { +func (o *PackageTagResponse) GetUploader() string { + if o == nil || isNil(o.Uploader) { var ret string return ret } @@ -2233,16 +2238,16 @@ func (o *MavenPackageUpload) GetUploader() string { // GetUploaderOk returns a tuple with the Uploader field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *MavenPackageUpload) GetUploaderOk() (*string, bool) { - if o == nil || o.Uploader == nil { +func (o *PackageTagResponse) GetUploaderOk() (*string, bool) { + if o == nil || isNil(o.Uploader) { return nil, false } return o.Uploader, true } // HasUploader returns a boolean if a field has been set. -func (o *MavenPackageUpload) HasUploader() bool { - if o != nil && o.Uploader != nil { +func (o *PackageTagResponse) HasUploader() bool { + if o != nil && !isNil(o.Uploader) { return true } @@ -2250,13 +2255,13 @@ func (o *MavenPackageUpload) HasUploader() bool { } // SetUploader gets a reference to the given string and assigns it to the Uploader field. -func (o *MavenPackageUpload) SetUploader(v string) { +func (o *PackageTagResponse) SetUploader(v string) { o.Uploader = &v } // GetUploaderUrl returns the UploaderUrl field value if set, zero value otherwise. -func (o *MavenPackageUpload) GetUploaderUrl() string { - if o == nil || o.UploaderUrl == nil { +func (o *PackageTagResponse) GetUploaderUrl() string { + if o == nil || isNil(o.UploaderUrl) { var ret string return ret } @@ -2265,16 +2270,16 @@ func (o *MavenPackageUpload) GetUploaderUrl() string { // GetUploaderUrlOk returns a tuple with the UploaderUrl field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *MavenPackageUpload) GetUploaderUrlOk() (*string, bool) { - if o == nil || o.UploaderUrl == nil { +func (o *PackageTagResponse) GetUploaderUrlOk() (*string, bool) { + if o == nil || isNil(o.UploaderUrl) { return nil, false } return o.UploaderUrl, true } // HasUploaderUrl returns a boolean if a field has been set. -func (o *MavenPackageUpload) HasUploaderUrl() bool { - if o != nil && o.UploaderUrl != nil { +func (o *PackageTagResponse) HasUploaderUrl() bool { + if o != nil && !isNil(o.UploaderUrl) { return true } @@ -2282,13 +2287,13 @@ func (o *MavenPackageUpload) HasUploaderUrl() bool { } // SetUploaderUrl gets a reference to the given string and assigns it to the UploaderUrl field. -func (o *MavenPackageUpload) SetUploaderUrl(v string) { +func (o *PackageTagResponse) SetUploaderUrl(v string) { o.UploaderUrl = &v } // GetVersion returns the Version field value if set, zero value otherwise. -func (o *MavenPackageUpload) GetVersion() string { - if o == nil || o.Version == nil { +func (o *PackageTagResponse) GetVersion() string { + if o == nil || isNil(o.Version) { var ret string return ret } @@ -2297,16 +2302,16 @@ func (o *MavenPackageUpload) GetVersion() string { // GetVersionOk returns a tuple with the Version field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *MavenPackageUpload) GetVersionOk() (*string, bool) { - if o == nil || o.Version == nil { +func (o *PackageTagResponse) GetVersionOk() (*string, bool) { + if o == nil || isNil(o.Version) { return nil, false } return o.Version, true } // HasVersion returns a boolean if a field has been set. -func (o *MavenPackageUpload) HasVersion() bool { - if o != nil && o.Version != nil { +func (o *PackageTagResponse) HasVersion() bool { + if o != nil && !isNil(o.Version) { return true } @@ -2314,13 +2319,13 @@ func (o *MavenPackageUpload) HasVersion() bool { } // SetVersion gets a reference to the given string and assigns it to the Version field. -func (o *MavenPackageUpload) SetVersion(v string) { +func (o *PackageTagResponse) SetVersion(v string) { o.Version = &v } // GetVersionOrig returns the VersionOrig field value if set, zero value otherwise. -func (o *MavenPackageUpload) GetVersionOrig() string { - if o == nil || o.VersionOrig == nil { +func (o *PackageTagResponse) GetVersionOrig() string { + if o == nil || isNil(o.VersionOrig) { var ret string return ret } @@ -2329,16 +2334,16 @@ func (o *MavenPackageUpload) GetVersionOrig() string { // GetVersionOrigOk returns a tuple with the VersionOrig field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *MavenPackageUpload) GetVersionOrigOk() (*string, bool) { - if o == nil || o.VersionOrig == nil { +func (o *PackageTagResponse) GetVersionOrigOk() (*string, bool) { + if o == nil || isNil(o.VersionOrig) { return nil, false } return o.VersionOrig, true } // HasVersionOrig returns a boolean if a field has been set. -func (o *MavenPackageUpload) HasVersionOrig() bool { - if o != nil && o.VersionOrig != nil { +func (o *PackageTagResponse) HasVersionOrig() bool { + if o != nil && !isNil(o.VersionOrig) { return true } @@ -2346,13 +2351,13 @@ func (o *MavenPackageUpload) HasVersionOrig() bool { } // SetVersionOrig gets a reference to the given string and assigns it to the VersionOrig field. -func (o *MavenPackageUpload) SetVersionOrig(v string) { +func (o *PackageTagResponse) SetVersionOrig(v string) { o.VersionOrig = &v } // GetVulnerabilityScanResultsUrl returns the VulnerabilityScanResultsUrl field value if set, zero value otherwise. -func (o *MavenPackageUpload) GetVulnerabilityScanResultsUrl() string { - if o == nil || o.VulnerabilityScanResultsUrl == nil { +func (o *PackageTagResponse) GetVulnerabilityScanResultsUrl() string { + if o == nil || isNil(o.VulnerabilityScanResultsUrl) { var ret string return ret } @@ -2361,16 +2366,16 @@ func (o *MavenPackageUpload) GetVulnerabilityScanResultsUrl() string { // GetVulnerabilityScanResultsUrlOk returns a tuple with the VulnerabilityScanResultsUrl field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *MavenPackageUpload) GetVulnerabilityScanResultsUrlOk() (*string, bool) { - if o == nil || o.VulnerabilityScanResultsUrl == nil { +func (o *PackageTagResponse) GetVulnerabilityScanResultsUrlOk() (*string, bool) { + if o == nil || isNil(o.VulnerabilityScanResultsUrl) { return nil, false } return o.VulnerabilityScanResultsUrl, true } // HasVulnerabilityScanResultsUrl returns a boolean if a field has been set. -func (o *MavenPackageUpload) HasVulnerabilityScanResultsUrl() bool { - if o != nil && o.VulnerabilityScanResultsUrl != nil { +func (o *PackageTagResponse) HasVulnerabilityScanResultsUrl() bool { + if o != nil && !isNil(o.VulnerabilityScanResultsUrl) { return true } @@ -2378,254 +2383,254 @@ func (o *MavenPackageUpload) HasVulnerabilityScanResultsUrl() bool { } // SetVulnerabilityScanResultsUrl gets a reference to the given string and assigns it to the VulnerabilityScanResultsUrl field. -func (o *MavenPackageUpload) SetVulnerabilityScanResultsUrl(v string) { +func (o *PackageTagResponse) SetVulnerabilityScanResultsUrl(v string) { o.VulnerabilityScanResultsUrl = &v } -func (o MavenPackageUpload) MarshalJSON() ([]byte, error) { +func (o PackageTagResponse) MarshalJSON() ([]byte, error) { toSerialize := map[string]interface{}{} - if o.Architectures != nil { + if !isNil(o.Architectures) { toSerialize["architectures"] = o.Architectures } - if o.ArtifactId != nil { - toSerialize["artifact_id"] = o.ArtifactId - } - if o.CdnUrl != nil { - toSerialize["cdn_url"] = o.CdnUrl + if o.CdnUrl.IsSet() { + toSerialize["cdn_url"] = o.CdnUrl.Get() } - if o.ChecksumMd5 != nil { + if !isNil(o.ChecksumMd5) { toSerialize["checksum_md5"] = o.ChecksumMd5 } - if o.ChecksumSha1 != nil { + if !isNil(o.ChecksumSha1) { toSerialize["checksum_sha1"] = o.ChecksumSha1 } - if o.ChecksumSha256 != nil { + if !isNil(o.ChecksumSha256) { toSerialize["checksum_sha256"] = o.ChecksumSha256 } - if o.ChecksumSha512 != nil { + if !isNil(o.ChecksumSha512) { toSerialize["checksum_sha512"] = o.ChecksumSha512 } - if o.DependenciesChecksumMd5 != nil { + if !isNil(o.DependenciesChecksumMd5) { toSerialize["dependencies_checksum_md5"] = o.DependenciesChecksumMd5 } - if o.DependenciesUrl != nil { + if !isNil(o.DependenciesUrl) { toSerialize["dependencies_url"] = o.DependenciesUrl } - if o.Description != nil { + if !isNil(o.Description) { toSerialize["description"] = o.Description } - if o.Distro != nil { - toSerialize["distro"] = o.Distro + if o.Distro.IsSet() { + toSerialize["distro"] = o.Distro.Get() } - if o.DistroVersion != nil { + if !isNil(o.DistroVersion) { toSerialize["distro_version"] = o.DistroVersion } - if o.Downloads != nil { + if !isNil(o.Downloads) { toSerialize["downloads"] = o.Downloads } - if o.Epoch != nil { + if !isNil(o.Epoch) { toSerialize["epoch"] = o.Epoch } - if o.Extension != nil { + if !isNil(o.Extension) { toSerialize["extension"] = o.Extension } - if o.Filename != nil { + if !isNil(o.Filename) { toSerialize["filename"] = o.Filename } - if o.Files != nil { + if !isNil(o.Files) { toSerialize["files"] = o.Files } - if o.Format != nil { + if !isNil(o.Format) { toSerialize["format"] = o.Format } - if o.FormatUrl != nil { + if !isNil(o.FormatUrl) { toSerialize["format_url"] = o.FormatUrl } - if o.GroupId != nil { - toSerialize["group_id"] = o.GroupId - } - if o.IdentifierPerm != nil { + if !isNil(o.IdentifierPerm) { toSerialize["identifier_perm"] = o.IdentifierPerm } - if o.Indexed != nil { + if !isNil(o.Indexed) { toSerialize["indexed"] = o.Indexed } - if o.IsDownloadable != nil { + if !isNil(o.IsDownloadable) { toSerialize["is_downloadable"] = o.IsDownloadable } - if o.IsQuarantined != nil { + if !isNil(o.IsImmutable) { + toSerialize["is_immutable"] = o.IsImmutable + } + if !isNil(o.IsQuarantined) { toSerialize["is_quarantined"] = o.IsQuarantined } - if o.IsSyncAwaiting != nil { + if !isNil(o.IsSyncAwaiting) { toSerialize["is_sync_awaiting"] = o.IsSyncAwaiting } - if o.IsSyncCompleted != nil { + if !isNil(o.IsSyncCompleted) { toSerialize["is_sync_completed"] = o.IsSyncCompleted } - if o.IsSyncFailed != nil { + if !isNil(o.IsSyncFailed) { toSerialize["is_sync_failed"] = o.IsSyncFailed } - if o.IsSyncInFlight != nil { + if !isNil(o.IsSyncInFlight) { toSerialize["is_sync_in_flight"] = o.IsSyncInFlight } - if o.IsSyncInProgress != nil { + if !isNil(o.IsSyncInProgress) { toSerialize["is_sync_in_progress"] = o.IsSyncInProgress } - if o.License != nil { + if !isNil(o.License) { toSerialize["license"] = o.License } - if o.Name != nil { + if !isNil(o.Name) { toSerialize["name"] = o.Name } - if o.Namespace != nil { + if !isNil(o.Namespace) { toSerialize["namespace"] = o.Namespace } - if o.NamespaceUrl != nil { + if !isNil(o.NamespaceUrl) { toSerialize["namespace_url"] = o.NamespaceUrl } - if o.NumFiles != nil { + if !isNil(o.NumFiles) { toSerialize["num_files"] = o.NumFiles } - if o.PackageType != nil { - toSerialize["package_type"] = o.PackageType + if !isNil(o.OriginRepository) { + toSerialize["origin_repository"] = o.OriginRepository + } + if !isNil(o.OriginRepositoryUrl) { + toSerialize["origin_repository_url"] = o.OriginRepositoryUrl } - if o.Packaging != nil { - toSerialize["packaging"] = o.Packaging + if !isNil(o.PackageType) { + toSerialize["package_type"] = o.PackageType } - if o.Release != nil { + if !isNil(o.Release) { toSerialize["release"] = o.Release } - if o.Repository != nil { + if !isNil(o.Repository) { toSerialize["repository"] = o.Repository } - if o.RepositoryUrl != nil { + if !isNil(o.RepositoryUrl) { toSerialize["repository_url"] = o.RepositoryUrl } - if o.SecurityScanCompletedAt != nil { + if !isNil(o.SecurityScanCompletedAt) { toSerialize["security_scan_completed_at"] = o.SecurityScanCompletedAt } - if o.SecurityScanStartedAt != nil { + if !isNil(o.SecurityScanStartedAt) { toSerialize["security_scan_started_at"] = o.SecurityScanStartedAt } - if o.SecurityScanStatus != nil { - toSerialize["security_scan_status"] = o.SecurityScanStatus + if o.SecurityScanStatus.IsSet() { + toSerialize["security_scan_status"] = o.SecurityScanStatus.Get() } - if o.SecurityScanStatusUpdatedAt != nil { + if !isNil(o.SecurityScanStatusUpdatedAt) { toSerialize["security_scan_status_updated_at"] = o.SecurityScanStatusUpdatedAt } - if o.SelfHtmlUrl != nil { + if !isNil(o.SelfHtmlUrl) { toSerialize["self_html_url"] = o.SelfHtmlUrl } - if o.SelfUrl != nil { + if !isNil(o.SelfUrl) { toSerialize["self_url"] = o.SelfUrl } - if o.SignatureUrl != nil { - toSerialize["signature_url"] = o.SignatureUrl + if o.SignatureUrl.IsSet() { + toSerialize["signature_url"] = o.SignatureUrl.Get() } - if o.Size != nil { + if !isNil(o.Size) { toSerialize["size"] = o.Size } - if o.Slug != nil { + if !isNil(o.Slug) { toSerialize["slug"] = o.Slug } - if o.SlugPerm != nil { + if !isNil(o.SlugPerm) { toSerialize["slug_perm"] = o.SlugPerm } - if o.Stage != nil { + if !isNil(o.Stage) { toSerialize["stage"] = o.Stage } - if o.StageStr != nil { + if !isNil(o.StageStr) { toSerialize["stage_str"] = o.StageStr } - if o.StageUpdatedAt != nil { + if !isNil(o.StageUpdatedAt) { toSerialize["stage_updated_at"] = o.StageUpdatedAt } - if o.Status != nil { + if !isNil(o.Status) { toSerialize["status"] = o.Status } - if o.StatusReason != nil { + if !isNil(o.StatusReason) { toSerialize["status_reason"] = o.StatusReason } - if o.StatusStr != nil { + if !isNil(o.StatusStr) { toSerialize["status_str"] = o.StatusStr } - if o.StatusUpdatedAt != nil { + if !isNil(o.StatusUpdatedAt) { toSerialize["status_updated_at"] = o.StatusUpdatedAt } - if o.StatusUrl != nil { + if !isNil(o.StatusUrl) { toSerialize["status_url"] = o.StatusUrl } - if o.Subtype != nil { + if !isNil(o.Subtype) { toSerialize["subtype"] = o.Subtype } - if o.Summary != nil { + if !isNil(o.Summary) { toSerialize["summary"] = o.Summary } - if o.SyncFinishedAt != nil { + if !isNil(o.SyncFinishedAt) { toSerialize["sync_finished_at"] = o.SyncFinishedAt } - if o.SyncProgress != nil { + if !isNil(o.SyncProgress) { toSerialize["sync_progress"] = o.SyncProgress } - if o.TagsImmutable != nil { + if !isNil(o.TagsImmutable) { toSerialize["tags_immutable"] = o.TagsImmutable } - if o.TypeDisplay != nil { + if !isNil(o.TypeDisplay) { toSerialize["type_display"] = o.TypeDisplay } - if o.UploadedAt != nil { + if !isNil(o.UploadedAt) { toSerialize["uploaded_at"] = o.UploadedAt } - if o.Uploader != nil { + if !isNil(o.Uploader) { toSerialize["uploader"] = o.Uploader } - if o.UploaderUrl != nil { + if !isNil(o.UploaderUrl) { toSerialize["uploader_url"] = o.UploaderUrl } - if o.Version != nil { + if !isNil(o.Version) { toSerialize["version"] = o.Version } - if o.VersionOrig != nil { + if !isNil(o.VersionOrig) { toSerialize["version_orig"] = o.VersionOrig } - if o.VulnerabilityScanResultsUrl != nil { + if !isNil(o.VulnerabilityScanResultsUrl) { toSerialize["vulnerability_scan_results_url"] = o.VulnerabilityScanResultsUrl } return json.Marshal(toSerialize) } -type NullableMavenPackageUpload struct { - value *MavenPackageUpload +type NullablePackageTagResponse struct { + value *PackageTagResponse isSet bool } -func (v NullableMavenPackageUpload) Get() *MavenPackageUpload { +func (v NullablePackageTagResponse) Get() *PackageTagResponse { return v.value } -func (v *NullableMavenPackageUpload) Set(val *MavenPackageUpload) { +func (v *NullablePackageTagResponse) Set(val *PackageTagResponse) { v.value = val v.isSet = true } -func (v NullableMavenPackageUpload) IsSet() bool { +func (v NullablePackageTagResponse) IsSet() bool { return v.isSet } -func (v *NullableMavenPackageUpload) Unset() { +func (v *NullablePackageTagResponse) Unset() { v.value = nil v.isSet = false } -func NewNullableMavenPackageUpload(val *MavenPackageUpload) *NullableMavenPackageUpload { - return &NullableMavenPackageUpload{value: val, isSet: true} +func NewNullablePackageTagResponse(val *PackageTagResponse) *NullablePackageTagResponse { + return &NullablePackageTagResponse{value: val, isSet: true} } -func (v NullableMavenPackageUpload) MarshalJSON() ([]byte, error) { +func (v NullablePackageTagResponse) MarshalJSON() ([]byte, error) { return json.Marshal(v.value) } -func (v *NullableMavenPackageUpload) UnmarshalJSON(src []byte) error { +func (v *NullablePackageTagResponse) UnmarshalJSON(src []byte) error { v.isSet = true return json.Unmarshal(src, &v.value) } diff --git a/model_package_usage_metrics.go b/model_package_usage_metrics.go deleted file mode 100644 index aee56ebf..00000000 --- a/model_package_usage_metrics.go +++ /dev/null @@ -1,108 +0,0 @@ -/* -Cloudsmith API - -The API to the Cloudsmith Service - -API version: 1.121.3 -Contact: support@cloudsmith.io -*/ - -// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. - -package cloudsmith - -import ( - "encoding/json" -) - -// PackageUsageMetrics struct for PackageUsageMetrics -type PackageUsageMetrics struct { - // - Packages map[string]interface{} `json:"packages"` -} - -// NewPackageUsageMetrics instantiates a new PackageUsageMetrics object -// 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 NewPackageUsageMetrics(packages map[string]interface{}) *PackageUsageMetrics { - this := PackageUsageMetrics{} - this.Packages = packages - return &this -} - -// NewPackageUsageMetricsWithDefaults instantiates a new PackageUsageMetrics object -// This constructor will only assign default values to properties that have it defined, -// but it doesn't guarantee that properties required by API are set -func NewPackageUsageMetricsWithDefaults() *PackageUsageMetrics { - this := PackageUsageMetrics{} - return &this -} - -// GetPackages returns the Packages field value -func (o *PackageUsageMetrics) GetPackages() map[string]interface{} { - if o == nil { - var ret map[string]interface{} - return ret - } - - return o.Packages -} - -// GetPackagesOk returns a tuple with the Packages field value -// and a boolean to check if the value has been set. -func (o *PackageUsageMetrics) GetPackagesOk() (map[string]interface{}, bool) { - if o == nil { - return nil, false - } - return o.Packages, true -} - -// SetPackages sets field value -func (o *PackageUsageMetrics) SetPackages(v map[string]interface{}) { - o.Packages = v -} - -func (o PackageUsageMetrics) MarshalJSON() ([]byte, error) { - toSerialize := map[string]interface{}{} - if true { - toSerialize["packages"] = o.Packages - } - return json.Marshal(toSerialize) -} - -type NullablePackageUsageMetrics struct { - value *PackageUsageMetrics - isSet bool -} - -func (v NullablePackageUsageMetrics) Get() *PackageUsageMetrics { - return v.value -} - -func (v *NullablePackageUsageMetrics) Set(val *PackageUsageMetrics) { - v.value = val - v.isSet = true -} - -func (v NullablePackageUsageMetrics) IsSet() bool { - return v.isSet -} - -func (v *NullablePackageUsageMetrics) Unset() { - v.value = nil - v.isSet = false -} - -func NewNullablePackageUsageMetrics(val *PackageUsageMetrics) *NullablePackageUsageMetrics { - return &NullablePackageUsageMetrics{value: val, isSet: true} -} - -func (v NullablePackageUsageMetrics) MarshalJSON() ([]byte, error) { - return json.Marshal(v.value) -} - -func (v *NullablePackageUsageMetrics) UnmarshalJSON(src []byte) error { - v.isSet = true - return json.Unmarshal(src, &v.value) -} diff --git a/model_package_usage_metrics_response.go b/model_package_usage_metrics_response.go new file mode 100644 index 00000000..207d59cb --- /dev/null +++ b/model_package_usage_metrics_response.go @@ -0,0 +1,107 @@ +/* +Cloudsmith API (v1) + +The API to the Cloudsmith Service + +API version: 1.181.6 +Contact: support@cloudsmith.io +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cloudsmith + +import ( + "encoding/json" +) + +// PackageUsageMetricsResponse struct for PackageUsageMetricsResponse +type PackageUsageMetricsResponse struct { + Packages CommonMetrics `json:"packages"` +} + +// NewPackageUsageMetricsResponse instantiates a new PackageUsageMetricsResponse object +// 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 NewPackageUsageMetricsResponse(packages CommonMetrics) *PackageUsageMetricsResponse { + this := PackageUsageMetricsResponse{} + this.Packages = packages + return &this +} + +// NewPackageUsageMetricsResponseWithDefaults instantiates a new PackageUsageMetricsResponse object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewPackageUsageMetricsResponseWithDefaults() *PackageUsageMetricsResponse { + this := PackageUsageMetricsResponse{} + return &this +} + +// GetPackages returns the Packages field value +func (o *PackageUsageMetricsResponse) GetPackages() CommonMetrics { + if o == nil { + var ret CommonMetrics + return ret + } + + return o.Packages +} + +// GetPackagesOk returns a tuple with the Packages field value +// and a boolean to check if the value has been set. +func (o *PackageUsageMetricsResponse) GetPackagesOk() (*CommonMetrics, bool) { + if o == nil { + return nil, false + } + return &o.Packages, true +} + +// SetPackages sets field value +func (o *PackageUsageMetricsResponse) SetPackages(v CommonMetrics) { + o.Packages = v +} + +func (o PackageUsageMetricsResponse) MarshalJSON() ([]byte, error) { + toSerialize := map[string]interface{}{} + if true { + toSerialize["packages"] = o.Packages + } + return json.Marshal(toSerialize) +} + +type NullablePackageUsageMetricsResponse struct { + value *PackageUsageMetricsResponse + isSet bool +} + +func (v NullablePackageUsageMetricsResponse) Get() *PackageUsageMetricsResponse { + return v.value +} + +func (v *NullablePackageUsageMetricsResponse) Set(val *PackageUsageMetricsResponse) { + v.value = val + v.isSet = true +} + +func (v NullablePackageUsageMetricsResponse) IsSet() bool { + return v.isSet +} + +func (v *NullablePackageUsageMetricsResponse) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullablePackageUsageMetricsResponse(val *PackageUsageMetricsResponse) *NullablePackageUsageMetricsResponse { + return &NullablePackageUsageMetricsResponse{value: val, isSet: true} +} + +func (v NullablePackageUsageMetricsResponse) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullablePackageUsageMetricsResponse) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} diff --git a/model_package_vulnerability.go b/model_package_vulnerability.go new file mode 100644 index 00000000..8e3daa79 --- /dev/null +++ b/model_package_vulnerability.go @@ -0,0 +1,217 @@ +/* +Cloudsmith API (v1) + +The API to the Cloudsmith Service + +API version: 1.181.6 +Contact: support@cloudsmith.io +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cloudsmith + +import ( + "encoding/json" +) + +// PackageVulnerability struct for PackageVulnerability +type PackageVulnerability struct { + Identifier string `json:"identifier"` + // The name of this package. + Name *string `json:"name,omitempty"` + Url *string `json:"url,omitempty"` + // The raw version for this package. + Version *string `json:"version,omitempty"` +} + +// NewPackageVulnerability instantiates a new PackageVulnerability object +// 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 NewPackageVulnerability(identifier string) *PackageVulnerability { + this := PackageVulnerability{} + this.Identifier = identifier + return &this +} + +// NewPackageVulnerabilityWithDefaults instantiates a new PackageVulnerability object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewPackageVulnerabilityWithDefaults() *PackageVulnerability { + this := PackageVulnerability{} + return &this +} + +// GetIdentifier returns the Identifier field value +func (o *PackageVulnerability) GetIdentifier() string { + if o == nil { + var ret string + return ret + } + + return o.Identifier +} + +// GetIdentifierOk returns a tuple with the Identifier field value +// and a boolean to check if the value has been set. +func (o *PackageVulnerability) GetIdentifierOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Identifier, true +} + +// SetIdentifier sets field value +func (o *PackageVulnerability) SetIdentifier(v string) { + o.Identifier = v +} + +// GetName returns the Name field value if set, zero value otherwise. +func (o *PackageVulnerability) GetName() string { + if o == nil || isNil(o.Name) { + var ret string + return ret + } + return *o.Name +} + +// GetNameOk returns a tuple with the Name field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *PackageVulnerability) GetNameOk() (*string, bool) { + if o == nil || isNil(o.Name) { + return nil, false + } + return o.Name, true +} + +// HasName returns a boolean if a field has been set. +func (o *PackageVulnerability) HasName() bool { + if o != nil && !isNil(o.Name) { + return true + } + + return false +} + +// SetName gets a reference to the given string and assigns it to the Name field. +func (o *PackageVulnerability) SetName(v string) { + o.Name = &v +} + +// GetUrl returns the Url field value if set, zero value otherwise. +func (o *PackageVulnerability) GetUrl() string { + if o == nil || isNil(o.Url) { + var ret string + return ret + } + return *o.Url +} + +// GetUrlOk returns a tuple with the Url field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *PackageVulnerability) GetUrlOk() (*string, bool) { + if o == nil || isNil(o.Url) { + return nil, false + } + return o.Url, true +} + +// HasUrl returns a boolean if a field has been set. +func (o *PackageVulnerability) HasUrl() bool { + if o != nil && !isNil(o.Url) { + return true + } + + return false +} + +// SetUrl gets a reference to the given string and assigns it to the Url field. +func (o *PackageVulnerability) SetUrl(v string) { + o.Url = &v +} + +// GetVersion returns the Version field value if set, zero value otherwise. +func (o *PackageVulnerability) GetVersion() string { + if o == nil || isNil(o.Version) { + var ret string + return ret + } + return *o.Version +} + +// GetVersionOk returns a tuple with the Version field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *PackageVulnerability) GetVersionOk() (*string, bool) { + if o == nil || isNil(o.Version) { + return nil, false + } + return o.Version, true +} + +// HasVersion returns a boolean if a field has been set. +func (o *PackageVulnerability) HasVersion() bool { + if o != nil && !isNil(o.Version) { + return true + } + + return false +} + +// SetVersion gets a reference to the given string and assigns it to the Version field. +func (o *PackageVulnerability) SetVersion(v string) { + o.Version = &v +} + +func (o PackageVulnerability) MarshalJSON() ([]byte, error) { + toSerialize := map[string]interface{}{} + if true { + toSerialize["identifier"] = o.Identifier + } + if !isNil(o.Name) { + toSerialize["name"] = o.Name + } + if !isNil(o.Url) { + toSerialize["url"] = o.Url + } + if !isNil(o.Version) { + toSerialize["version"] = o.Version + } + return json.Marshal(toSerialize) +} + +type NullablePackageVulnerability struct { + value *PackageVulnerability + isSet bool +} + +func (v NullablePackageVulnerability) Get() *PackageVulnerability { + return v.value +} + +func (v *NullablePackageVulnerability) Set(val *PackageVulnerability) { + v.value = val + v.isSet = true +} + +func (v NullablePackageVulnerability) IsSet() bool { + return v.isSet +} + +func (v *NullablePackageVulnerability) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullablePackageVulnerability(val *PackageVulnerability) *NullablePackageVulnerability { + return &NullablePackageVulnerability{value: val, isSet: true} +} + +func (v NullablePackageVulnerability) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullablePackageVulnerability) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} diff --git a/model_packages_quarantine.go b/model_packages_quarantine.go deleted file mode 100644 index dec3d644..00000000 --- a/model_packages_quarantine.go +++ /dev/null @@ -1,115 +0,0 @@ -/* -Cloudsmith API - -The API to the Cloudsmith Service - -API version: 1.121.3 -Contact: support@cloudsmith.io -*/ - -// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. - -package cloudsmith - -import ( - "encoding/json" -) - -// PackagesQuarantine struct for PackagesQuarantine -type PackagesQuarantine struct { - // If true, the package be restored from quarantine. - Restore *bool `json:"restore,omitempty"` -} - -// NewPackagesQuarantine instantiates a new PackagesQuarantine object -// 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 NewPackagesQuarantine() *PackagesQuarantine { - this := PackagesQuarantine{} - return &this -} - -// NewPackagesQuarantineWithDefaults instantiates a new PackagesQuarantine object -// This constructor will only assign default values to properties that have it defined, -// but it doesn't guarantee that properties required by API are set -func NewPackagesQuarantineWithDefaults() *PackagesQuarantine { - this := PackagesQuarantine{} - return &this -} - -// GetRestore returns the Restore field value if set, zero value otherwise. -func (o *PackagesQuarantine) GetRestore() bool { - if o == nil || o.Restore == nil { - var ret bool - return ret - } - return *o.Restore -} - -// GetRestoreOk returns a tuple with the Restore field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *PackagesQuarantine) GetRestoreOk() (*bool, bool) { - if o == nil || o.Restore == nil { - return nil, false - } - return o.Restore, true -} - -// HasRestore returns a boolean if a field has been set. -func (o *PackagesQuarantine) HasRestore() bool { - if o != nil && o.Restore != nil { - return true - } - - return false -} - -// SetRestore gets a reference to the given bool and assigns it to the Restore field. -func (o *PackagesQuarantine) SetRestore(v bool) { - o.Restore = &v -} - -func (o PackagesQuarantine) MarshalJSON() ([]byte, error) { - toSerialize := map[string]interface{}{} - if o.Restore != nil { - toSerialize["restore"] = o.Restore - } - return json.Marshal(toSerialize) -} - -type NullablePackagesQuarantine struct { - value *PackagesQuarantine - isSet bool -} - -func (v NullablePackagesQuarantine) Get() *PackagesQuarantine { - return v.value -} - -func (v *NullablePackagesQuarantine) Set(val *PackagesQuarantine) { - v.value = val - v.isSet = true -} - -func (v NullablePackagesQuarantine) IsSet() bool { - return v.isSet -} - -func (v *NullablePackagesQuarantine) Unset() { - v.value = nil - v.isSet = false -} - -func NewNullablePackagesQuarantine(val *PackagesQuarantine) *NullablePackagesQuarantine { - return &NullablePackagesQuarantine{value: val, isSet: true} -} - -func (v NullablePackagesQuarantine) MarshalJSON() ([]byte, error) { - return json.Marshal(v.value) -} - -func (v *NullablePackagesQuarantine) UnmarshalJSON(src []byte) error { - v.isSet = true - return json.Unmarshal(src, &v.value) -} diff --git a/model_packages_upload_alpine.go b/model_packages_upload_alpine.go deleted file mode 100644 index 87bc9711..00000000 --- a/model_packages_upload_alpine.go +++ /dev/null @@ -1,212 +0,0 @@ -/* -Cloudsmith API - -The API to the Cloudsmith Service - -API version: 1.121.3 -Contact: support@cloudsmith.io -*/ - -// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. - -package cloudsmith - -import ( - "encoding/json" -) - -// PackagesUploadAlpine struct for PackagesUploadAlpine -type PackagesUploadAlpine struct { - // The distribution to store the package for. - Distribution string `json:"distribution"` - // The primary file for the package. - PackageFile string `json:"package_file"` - // If true, the uploaded package will overwrite any others with the same attributes (e.g. same version); otherwise, it will be flagged as a duplicate. - Republish *bool `json:"republish,omitempty"` - // A comma-separated values list of tags to add to the package. - Tags *string `json:"tags,omitempty"` -} - -// NewPackagesUploadAlpine instantiates a new PackagesUploadAlpine object -// 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 NewPackagesUploadAlpine(distribution string, packageFile string) *PackagesUploadAlpine { - this := PackagesUploadAlpine{} - this.Distribution = distribution - this.PackageFile = packageFile - return &this -} - -// NewPackagesUploadAlpineWithDefaults instantiates a new PackagesUploadAlpine object -// This constructor will only assign default values to properties that have it defined, -// but it doesn't guarantee that properties required by API are set -func NewPackagesUploadAlpineWithDefaults() *PackagesUploadAlpine { - this := PackagesUploadAlpine{} - return &this -} - -// GetDistribution returns the Distribution field value -func (o *PackagesUploadAlpine) GetDistribution() string { - if o == nil { - var ret string - return ret - } - - return o.Distribution -} - -// GetDistributionOk returns a tuple with the Distribution field value -// and a boolean to check if the value has been set. -func (o *PackagesUploadAlpine) GetDistributionOk() (*string, bool) { - if o == nil { - return nil, false - } - return &o.Distribution, true -} - -// SetDistribution sets field value -func (o *PackagesUploadAlpine) SetDistribution(v string) { - o.Distribution = v -} - -// GetPackageFile returns the PackageFile field value -func (o *PackagesUploadAlpine) GetPackageFile() string { - if o == nil { - var ret string - return ret - } - - return o.PackageFile -} - -// GetPackageFileOk returns a tuple with the PackageFile field value -// and a boolean to check if the value has been set. -func (o *PackagesUploadAlpine) GetPackageFileOk() (*string, bool) { - if o == nil { - return nil, false - } - return &o.PackageFile, true -} - -// SetPackageFile sets field value -func (o *PackagesUploadAlpine) SetPackageFile(v string) { - o.PackageFile = v -} - -// GetRepublish returns the Republish field value if set, zero value otherwise. -func (o *PackagesUploadAlpine) GetRepublish() bool { - if o == nil || o.Republish == nil { - var ret bool - return ret - } - return *o.Republish -} - -// GetRepublishOk returns a tuple with the Republish field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *PackagesUploadAlpine) GetRepublishOk() (*bool, bool) { - if o == nil || o.Republish == nil { - return nil, false - } - return o.Republish, true -} - -// HasRepublish returns a boolean if a field has been set. -func (o *PackagesUploadAlpine) HasRepublish() bool { - if o != nil && o.Republish != nil { - return true - } - - return false -} - -// SetRepublish gets a reference to the given bool and assigns it to the Republish field. -func (o *PackagesUploadAlpine) SetRepublish(v bool) { - o.Republish = &v -} - -// GetTags returns the Tags field value if set, zero value otherwise. -func (o *PackagesUploadAlpine) GetTags() string { - if o == nil || o.Tags == nil { - var ret string - return ret - } - return *o.Tags -} - -// GetTagsOk returns a tuple with the Tags field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *PackagesUploadAlpine) GetTagsOk() (*string, bool) { - if o == nil || o.Tags == nil { - return nil, false - } - return o.Tags, true -} - -// HasTags returns a boolean if a field has been set. -func (o *PackagesUploadAlpine) HasTags() bool { - if o != nil && o.Tags != nil { - return true - } - - return false -} - -// SetTags gets a reference to the given string and assigns it to the Tags field. -func (o *PackagesUploadAlpine) SetTags(v string) { - o.Tags = &v -} - -func (o PackagesUploadAlpine) MarshalJSON() ([]byte, error) { - toSerialize := map[string]interface{}{} - if true { - toSerialize["distribution"] = o.Distribution - } - if true { - toSerialize["package_file"] = o.PackageFile - } - if o.Republish != nil { - toSerialize["republish"] = o.Republish - } - if o.Tags != nil { - toSerialize["tags"] = o.Tags - } - return json.Marshal(toSerialize) -} - -type NullablePackagesUploadAlpine struct { - value *PackagesUploadAlpine - isSet bool -} - -func (v NullablePackagesUploadAlpine) Get() *PackagesUploadAlpine { - return v.value -} - -func (v *NullablePackagesUploadAlpine) Set(val *PackagesUploadAlpine) { - v.value = val - v.isSet = true -} - -func (v NullablePackagesUploadAlpine) IsSet() bool { - return v.isSet -} - -func (v *NullablePackagesUploadAlpine) Unset() { - v.value = nil - v.isSet = false -} - -func NewNullablePackagesUploadAlpine(val *PackagesUploadAlpine) *NullablePackagesUploadAlpine { - return &NullablePackagesUploadAlpine{value: val, isSet: true} -} - -func (v NullablePackagesUploadAlpine) MarshalJSON() ([]byte, error) { - return json.Marshal(v.value) -} - -func (v *NullablePackagesUploadAlpine) UnmarshalJSON(src []byte) error { - v.isSet = true - return json.Unmarshal(src, &v.value) -} diff --git a/model_packages_upload_cargo.go b/model_packages_upload_cargo.go deleted file mode 100644 index 94288285..00000000 --- a/model_packages_upload_cargo.go +++ /dev/null @@ -1,182 +0,0 @@ -/* -Cloudsmith API - -The API to the Cloudsmith Service - -API version: 1.121.3 -Contact: support@cloudsmith.io -*/ - -// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. - -package cloudsmith - -import ( - "encoding/json" -) - -// PackagesUploadCargo struct for PackagesUploadCargo -type PackagesUploadCargo struct { - // The primary file for the package. - PackageFile string `json:"package_file"` - // If true, the uploaded package will overwrite any others with the same attributes (e.g. same version); otherwise, it will be flagged as a duplicate. - Republish *bool `json:"republish,omitempty"` - // A comma-separated values list of tags to add to the package. - Tags *string `json:"tags,omitempty"` -} - -// NewPackagesUploadCargo instantiates a new PackagesUploadCargo object -// 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 NewPackagesUploadCargo(packageFile string) *PackagesUploadCargo { - this := PackagesUploadCargo{} - this.PackageFile = packageFile - return &this -} - -// NewPackagesUploadCargoWithDefaults instantiates a new PackagesUploadCargo object -// This constructor will only assign default values to properties that have it defined, -// but it doesn't guarantee that properties required by API are set -func NewPackagesUploadCargoWithDefaults() *PackagesUploadCargo { - this := PackagesUploadCargo{} - return &this -} - -// GetPackageFile returns the PackageFile field value -func (o *PackagesUploadCargo) GetPackageFile() string { - if o == nil { - var ret string - return ret - } - - return o.PackageFile -} - -// GetPackageFileOk returns a tuple with the PackageFile field value -// and a boolean to check if the value has been set. -func (o *PackagesUploadCargo) GetPackageFileOk() (*string, bool) { - if o == nil { - return nil, false - } - return &o.PackageFile, true -} - -// SetPackageFile sets field value -func (o *PackagesUploadCargo) SetPackageFile(v string) { - o.PackageFile = v -} - -// GetRepublish returns the Republish field value if set, zero value otherwise. -func (o *PackagesUploadCargo) GetRepublish() bool { - if o == nil || o.Republish == nil { - var ret bool - return ret - } - return *o.Republish -} - -// GetRepublishOk returns a tuple with the Republish field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *PackagesUploadCargo) GetRepublishOk() (*bool, bool) { - if o == nil || o.Republish == nil { - return nil, false - } - return o.Republish, true -} - -// HasRepublish returns a boolean if a field has been set. -func (o *PackagesUploadCargo) HasRepublish() bool { - if o != nil && o.Republish != nil { - return true - } - - return false -} - -// SetRepublish gets a reference to the given bool and assigns it to the Republish field. -func (o *PackagesUploadCargo) SetRepublish(v bool) { - o.Republish = &v -} - -// GetTags returns the Tags field value if set, zero value otherwise. -func (o *PackagesUploadCargo) GetTags() string { - if o == nil || o.Tags == nil { - var ret string - return ret - } - return *o.Tags -} - -// GetTagsOk returns a tuple with the Tags field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *PackagesUploadCargo) GetTagsOk() (*string, bool) { - if o == nil || o.Tags == nil { - return nil, false - } - return o.Tags, true -} - -// HasTags returns a boolean if a field has been set. -func (o *PackagesUploadCargo) HasTags() bool { - if o != nil && o.Tags != nil { - return true - } - - return false -} - -// SetTags gets a reference to the given string and assigns it to the Tags field. -func (o *PackagesUploadCargo) SetTags(v string) { - o.Tags = &v -} - -func (o PackagesUploadCargo) MarshalJSON() ([]byte, error) { - toSerialize := map[string]interface{}{} - if true { - toSerialize["package_file"] = o.PackageFile - } - if o.Republish != nil { - toSerialize["republish"] = o.Republish - } - if o.Tags != nil { - toSerialize["tags"] = o.Tags - } - return json.Marshal(toSerialize) -} - -type NullablePackagesUploadCargo struct { - value *PackagesUploadCargo - isSet bool -} - -func (v NullablePackagesUploadCargo) Get() *PackagesUploadCargo { - return v.value -} - -func (v *NullablePackagesUploadCargo) Set(val *PackagesUploadCargo) { - v.value = val - v.isSet = true -} - -func (v NullablePackagesUploadCargo) IsSet() bool { - return v.isSet -} - -func (v *NullablePackagesUploadCargo) Unset() { - v.value = nil - v.isSet = false -} - -func NewNullablePackagesUploadCargo(val *PackagesUploadCargo) *NullablePackagesUploadCargo { - return &NullablePackagesUploadCargo{value: val, isSet: true} -} - -func (v NullablePackagesUploadCargo) MarshalJSON() ([]byte, error) { - return json.Marshal(v.value) -} - -func (v *NullablePackagesUploadCargo) UnmarshalJSON(src []byte) error { - v.isSet = true - return json.Unmarshal(src, &v.value) -} diff --git a/model_packages_upload_cocoapods.go b/model_packages_upload_cocoapods.go deleted file mode 100644 index 0c959167..00000000 --- a/model_packages_upload_cocoapods.go +++ /dev/null @@ -1,182 +0,0 @@ -/* -Cloudsmith API - -The API to the Cloudsmith Service - -API version: 1.121.3 -Contact: support@cloudsmith.io -*/ - -// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. - -package cloudsmith - -import ( - "encoding/json" -) - -// PackagesUploadCocoapods struct for PackagesUploadCocoapods -type PackagesUploadCocoapods struct { - // The primary file for the package. - PackageFile string `json:"package_file"` - // If true, the uploaded package will overwrite any others with the same attributes (e.g. same version); otherwise, it will be flagged as a duplicate. - Republish *bool `json:"republish,omitempty"` - // A comma-separated values list of tags to add to the package. - Tags *string `json:"tags,omitempty"` -} - -// NewPackagesUploadCocoapods instantiates a new PackagesUploadCocoapods object -// 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 NewPackagesUploadCocoapods(packageFile string) *PackagesUploadCocoapods { - this := PackagesUploadCocoapods{} - this.PackageFile = packageFile - return &this -} - -// NewPackagesUploadCocoapodsWithDefaults instantiates a new PackagesUploadCocoapods object -// This constructor will only assign default values to properties that have it defined, -// but it doesn't guarantee that properties required by API are set -func NewPackagesUploadCocoapodsWithDefaults() *PackagesUploadCocoapods { - this := PackagesUploadCocoapods{} - return &this -} - -// GetPackageFile returns the PackageFile field value -func (o *PackagesUploadCocoapods) GetPackageFile() string { - if o == nil { - var ret string - return ret - } - - return o.PackageFile -} - -// GetPackageFileOk returns a tuple with the PackageFile field value -// and a boolean to check if the value has been set. -func (o *PackagesUploadCocoapods) GetPackageFileOk() (*string, bool) { - if o == nil { - return nil, false - } - return &o.PackageFile, true -} - -// SetPackageFile sets field value -func (o *PackagesUploadCocoapods) SetPackageFile(v string) { - o.PackageFile = v -} - -// GetRepublish returns the Republish field value if set, zero value otherwise. -func (o *PackagesUploadCocoapods) GetRepublish() bool { - if o == nil || o.Republish == nil { - var ret bool - return ret - } - return *o.Republish -} - -// GetRepublishOk returns a tuple with the Republish field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *PackagesUploadCocoapods) GetRepublishOk() (*bool, bool) { - if o == nil || o.Republish == nil { - return nil, false - } - return o.Republish, true -} - -// HasRepublish returns a boolean if a field has been set. -func (o *PackagesUploadCocoapods) HasRepublish() bool { - if o != nil && o.Republish != nil { - return true - } - - return false -} - -// SetRepublish gets a reference to the given bool and assigns it to the Republish field. -func (o *PackagesUploadCocoapods) SetRepublish(v bool) { - o.Republish = &v -} - -// GetTags returns the Tags field value if set, zero value otherwise. -func (o *PackagesUploadCocoapods) GetTags() string { - if o == nil || o.Tags == nil { - var ret string - return ret - } - return *o.Tags -} - -// GetTagsOk returns a tuple with the Tags field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *PackagesUploadCocoapods) GetTagsOk() (*string, bool) { - if o == nil || o.Tags == nil { - return nil, false - } - return o.Tags, true -} - -// HasTags returns a boolean if a field has been set. -func (o *PackagesUploadCocoapods) HasTags() bool { - if o != nil && o.Tags != nil { - return true - } - - return false -} - -// SetTags gets a reference to the given string and assigns it to the Tags field. -func (o *PackagesUploadCocoapods) SetTags(v string) { - o.Tags = &v -} - -func (o PackagesUploadCocoapods) MarshalJSON() ([]byte, error) { - toSerialize := map[string]interface{}{} - if true { - toSerialize["package_file"] = o.PackageFile - } - if o.Republish != nil { - toSerialize["republish"] = o.Republish - } - if o.Tags != nil { - toSerialize["tags"] = o.Tags - } - return json.Marshal(toSerialize) -} - -type NullablePackagesUploadCocoapods struct { - value *PackagesUploadCocoapods - isSet bool -} - -func (v NullablePackagesUploadCocoapods) Get() *PackagesUploadCocoapods { - return v.value -} - -func (v *NullablePackagesUploadCocoapods) Set(val *PackagesUploadCocoapods) { - v.value = val - v.isSet = true -} - -func (v NullablePackagesUploadCocoapods) IsSet() bool { - return v.isSet -} - -func (v *NullablePackagesUploadCocoapods) Unset() { - v.value = nil - v.isSet = false -} - -func NewNullablePackagesUploadCocoapods(val *PackagesUploadCocoapods) *NullablePackagesUploadCocoapods { - return &NullablePackagesUploadCocoapods{value: val, isSet: true} -} - -func (v NullablePackagesUploadCocoapods) MarshalJSON() ([]byte, error) { - return json.Marshal(v.value) -} - -func (v *NullablePackagesUploadCocoapods) UnmarshalJSON(src []byte) error { - v.isSet = true - return json.Unmarshal(src, &v.value) -} diff --git a/model_packages_upload_composer.go b/model_packages_upload_composer.go deleted file mode 100644 index fd0beb93..00000000 --- a/model_packages_upload_composer.go +++ /dev/null @@ -1,182 +0,0 @@ -/* -Cloudsmith API - -The API to the Cloudsmith Service - -API version: 1.121.3 -Contact: support@cloudsmith.io -*/ - -// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. - -package cloudsmith - -import ( - "encoding/json" -) - -// PackagesUploadComposer struct for PackagesUploadComposer -type PackagesUploadComposer struct { - // The primary file for the package. - PackageFile string `json:"package_file"` - // If true, the uploaded package will overwrite any others with the same attributes (e.g. same version); otherwise, it will be flagged as a duplicate. - Republish *bool `json:"republish,omitempty"` - // A comma-separated values list of tags to add to the package. - Tags *string `json:"tags,omitempty"` -} - -// NewPackagesUploadComposer instantiates a new PackagesUploadComposer object -// 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 NewPackagesUploadComposer(packageFile string) *PackagesUploadComposer { - this := PackagesUploadComposer{} - this.PackageFile = packageFile - return &this -} - -// NewPackagesUploadComposerWithDefaults instantiates a new PackagesUploadComposer object -// This constructor will only assign default values to properties that have it defined, -// but it doesn't guarantee that properties required by API are set -func NewPackagesUploadComposerWithDefaults() *PackagesUploadComposer { - this := PackagesUploadComposer{} - return &this -} - -// GetPackageFile returns the PackageFile field value -func (o *PackagesUploadComposer) GetPackageFile() string { - if o == nil { - var ret string - return ret - } - - return o.PackageFile -} - -// GetPackageFileOk returns a tuple with the PackageFile field value -// and a boolean to check if the value has been set. -func (o *PackagesUploadComposer) GetPackageFileOk() (*string, bool) { - if o == nil { - return nil, false - } - return &o.PackageFile, true -} - -// SetPackageFile sets field value -func (o *PackagesUploadComposer) SetPackageFile(v string) { - o.PackageFile = v -} - -// GetRepublish returns the Republish field value if set, zero value otherwise. -func (o *PackagesUploadComposer) GetRepublish() bool { - if o == nil || o.Republish == nil { - var ret bool - return ret - } - return *o.Republish -} - -// GetRepublishOk returns a tuple with the Republish field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *PackagesUploadComposer) GetRepublishOk() (*bool, bool) { - if o == nil || o.Republish == nil { - return nil, false - } - return o.Republish, true -} - -// HasRepublish returns a boolean if a field has been set. -func (o *PackagesUploadComposer) HasRepublish() bool { - if o != nil && o.Republish != nil { - return true - } - - return false -} - -// SetRepublish gets a reference to the given bool and assigns it to the Republish field. -func (o *PackagesUploadComposer) SetRepublish(v bool) { - o.Republish = &v -} - -// GetTags returns the Tags field value if set, zero value otherwise. -func (o *PackagesUploadComposer) GetTags() string { - if o == nil || o.Tags == nil { - var ret string - return ret - } - return *o.Tags -} - -// GetTagsOk returns a tuple with the Tags field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *PackagesUploadComposer) GetTagsOk() (*string, bool) { - if o == nil || o.Tags == nil { - return nil, false - } - return o.Tags, true -} - -// HasTags returns a boolean if a field has been set. -func (o *PackagesUploadComposer) HasTags() bool { - if o != nil && o.Tags != nil { - return true - } - - return false -} - -// SetTags gets a reference to the given string and assigns it to the Tags field. -func (o *PackagesUploadComposer) SetTags(v string) { - o.Tags = &v -} - -func (o PackagesUploadComposer) MarshalJSON() ([]byte, error) { - toSerialize := map[string]interface{}{} - if true { - toSerialize["package_file"] = o.PackageFile - } - if o.Republish != nil { - toSerialize["republish"] = o.Republish - } - if o.Tags != nil { - toSerialize["tags"] = o.Tags - } - return json.Marshal(toSerialize) -} - -type NullablePackagesUploadComposer struct { - value *PackagesUploadComposer - isSet bool -} - -func (v NullablePackagesUploadComposer) Get() *PackagesUploadComposer { - return v.value -} - -func (v *NullablePackagesUploadComposer) Set(val *PackagesUploadComposer) { - v.value = val - v.isSet = true -} - -func (v NullablePackagesUploadComposer) IsSet() bool { - return v.isSet -} - -func (v *NullablePackagesUploadComposer) Unset() { - v.value = nil - v.isSet = false -} - -func NewNullablePackagesUploadComposer(val *PackagesUploadComposer) *NullablePackagesUploadComposer { - return &NullablePackagesUploadComposer{value: val, isSet: true} -} - -func (v NullablePackagesUploadComposer) MarshalJSON() ([]byte, error) { - return json.Marshal(v.value) -} - -func (v *NullablePackagesUploadComposer) UnmarshalJSON(src []byte) error { - v.isSet = true - return json.Unmarshal(src, &v.value) -} diff --git a/model_packages_upload_conan.go b/model_packages_upload_conan.go deleted file mode 100644 index 9c7688ec..00000000 --- a/model_packages_upload_conan.go +++ /dev/null @@ -1,420 +0,0 @@ -/* -Cloudsmith API - -The API to the Cloudsmith Service - -API version: 1.121.3 -Contact: support@cloudsmith.io -*/ - -// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. - -package cloudsmith - -import ( - "encoding/json" -) - -// PackagesUploadConan struct for PackagesUploadConan -type PackagesUploadConan struct { - // Conan channel. - ConanChannel *string `json:"conan_channel,omitempty"` - // Conan prefix (User). - ConanPrefix *string `json:"conan_prefix,omitempty"` - // The info file is an python file containing the package metadata. - InfoFile string `json:"info_file"` - // The info file is an python file containing the package metadata. - ManifestFile string `json:"manifest_file"` - // The conan file is an python file containing the package metadata. - MetadataFile string `json:"metadata_file"` - // The name of this package. - Name *string `json:"name,omitempty"` - // The primary file for the package. - PackageFile string `json:"package_file"` - // If true, the uploaded package will overwrite any others with the same attributes (e.g. same version); otherwise, it will be flagged as a duplicate. - Republish *bool `json:"republish,omitempty"` - // A comma-separated values list of tags to add to the package. - Tags *string `json:"tags,omitempty"` - // The raw version for this package. - Version *string `json:"version,omitempty"` -} - -// NewPackagesUploadConan instantiates a new PackagesUploadConan object -// 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 NewPackagesUploadConan(infoFile string, manifestFile string, metadataFile string, packageFile string) *PackagesUploadConan { - this := PackagesUploadConan{} - this.InfoFile = infoFile - this.ManifestFile = manifestFile - this.MetadataFile = metadataFile - this.PackageFile = packageFile - return &this -} - -// NewPackagesUploadConanWithDefaults instantiates a new PackagesUploadConan object -// This constructor will only assign default values to properties that have it defined, -// but it doesn't guarantee that properties required by API are set -func NewPackagesUploadConanWithDefaults() *PackagesUploadConan { - this := PackagesUploadConan{} - return &this -} - -// GetConanChannel returns the ConanChannel field value if set, zero value otherwise. -func (o *PackagesUploadConan) GetConanChannel() string { - if o == nil || o.ConanChannel == nil { - var ret string - return ret - } - return *o.ConanChannel -} - -// GetConanChannelOk returns a tuple with the ConanChannel field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *PackagesUploadConan) GetConanChannelOk() (*string, bool) { - if o == nil || o.ConanChannel == nil { - return nil, false - } - return o.ConanChannel, true -} - -// HasConanChannel returns a boolean if a field has been set. -func (o *PackagesUploadConan) HasConanChannel() bool { - if o != nil && o.ConanChannel != nil { - return true - } - - return false -} - -// SetConanChannel gets a reference to the given string and assigns it to the ConanChannel field. -func (o *PackagesUploadConan) SetConanChannel(v string) { - o.ConanChannel = &v -} - -// GetConanPrefix returns the ConanPrefix field value if set, zero value otherwise. -func (o *PackagesUploadConan) GetConanPrefix() string { - if o == nil || o.ConanPrefix == nil { - var ret string - return ret - } - return *o.ConanPrefix -} - -// GetConanPrefixOk returns a tuple with the ConanPrefix field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *PackagesUploadConan) GetConanPrefixOk() (*string, bool) { - if o == nil || o.ConanPrefix == nil { - return nil, false - } - return o.ConanPrefix, true -} - -// HasConanPrefix returns a boolean if a field has been set. -func (o *PackagesUploadConan) HasConanPrefix() bool { - if o != nil && o.ConanPrefix != nil { - return true - } - - return false -} - -// SetConanPrefix gets a reference to the given string and assigns it to the ConanPrefix field. -func (o *PackagesUploadConan) SetConanPrefix(v string) { - o.ConanPrefix = &v -} - -// GetInfoFile returns the InfoFile field value -func (o *PackagesUploadConan) GetInfoFile() string { - if o == nil { - var ret string - return ret - } - - return o.InfoFile -} - -// GetInfoFileOk returns a tuple with the InfoFile field value -// and a boolean to check if the value has been set. -func (o *PackagesUploadConan) GetInfoFileOk() (*string, bool) { - if o == nil { - return nil, false - } - return &o.InfoFile, true -} - -// SetInfoFile sets field value -func (o *PackagesUploadConan) SetInfoFile(v string) { - o.InfoFile = v -} - -// GetManifestFile returns the ManifestFile field value -func (o *PackagesUploadConan) GetManifestFile() string { - if o == nil { - var ret string - return ret - } - - return o.ManifestFile -} - -// GetManifestFileOk returns a tuple with the ManifestFile field value -// and a boolean to check if the value has been set. -func (o *PackagesUploadConan) GetManifestFileOk() (*string, bool) { - if o == nil { - return nil, false - } - return &o.ManifestFile, true -} - -// SetManifestFile sets field value -func (o *PackagesUploadConan) SetManifestFile(v string) { - o.ManifestFile = v -} - -// GetMetadataFile returns the MetadataFile field value -func (o *PackagesUploadConan) GetMetadataFile() string { - if o == nil { - var ret string - return ret - } - - return o.MetadataFile -} - -// GetMetadataFileOk returns a tuple with the MetadataFile field value -// and a boolean to check if the value has been set. -func (o *PackagesUploadConan) GetMetadataFileOk() (*string, bool) { - if o == nil { - return nil, false - } - return &o.MetadataFile, true -} - -// SetMetadataFile sets field value -func (o *PackagesUploadConan) SetMetadataFile(v string) { - o.MetadataFile = v -} - -// GetName returns the Name field value if set, zero value otherwise. -func (o *PackagesUploadConan) GetName() string { - if o == nil || o.Name == nil { - var ret string - return ret - } - return *o.Name -} - -// GetNameOk returns a tuple with the Name field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *PackagesUploadConan) GetNameOk() (*string, bool) { - if o == nil || o.Name == nil { - return nil, false - } - return o.Name, true -} - -// HasName returns a boolean if a field has been set. -func (o *PackagesUploadConan) HasName() bool { - if o != nil && o.Name != nil { - return true - } - - return false -} - -// SetName gets a reference to the given string and assigns it to the Name field. -func (o *PackagesUploadConan) SetName(v string) { - o.Name = &v -} - -// GetPackageFile returns the PackageFile field value -func (o *PackagesUploadConan) GetPackageFile() string { - if o == nil { - var ret string - return ret - } - - return o.PackageFile -} - -// GetPackageFileOk returns a tuple with the PackageFile field value -// and a boolean to check if the value has been set. -func (o *PackagesUploadConan) GetPackageFileOk() (*string, bool) { - if o == nil { - return nil, false - } - return &o.PackageFile, true -} - -// SetPackageFile sets field value -func (o *PackagesUploadConan) SetPackageFile(v string) { - o.PackageFile = v -} - -// GetRepublish returns the Republish field value if set, zero value otherwise. -func (o *PackagesUploadConan) GetRepublish() bool { - if o == nil || o.Republish == nil { - var ret bool - return ret - } - return *o.Republish -} - -// GetRepublishOk returns a tuple with the Republish field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *PackagesUploadConan) GetRepublishOk() (*bool, bool) { - if o == nil || o.Republish == nil { - return nil, false - } - return o.Republish, true -} - -// HasRepublish returns a boolean if a field has been set. -func (o *PackagesUploadConan) HasRepublish() bool { - if o != nil && o.Republish != nil { - return true - } - - return false -} - -// SetRepublish gets a reference to the given bool and assigns it to the Republish field. -func (o *PackagesUploadConan) SetRepublish(v bool) { - o.Republish = &v -} - -// GetTags returns the Tags field value if set, zero value otherwise. -func (o *PackagesUploadConan) GetTags() string { - if o == nil || o.Tags == nil { - var ret string - return ret - } - return *o.Tags -} - -// GetTagsOk returns a tuple with the Tags field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *PackagesUploadConan) GetTagsOk() (*string, bool) { - if o == nil || o.Tags == nil { - return nil, false - } - return o.Tags, true -} - -// HasTags returns a boolean if a field has been set. -func (o *PackagesUploadConan) HasTags() bool { - if o != nil && o.Tags != nil { - return true - } - - return false -} - -// SetTags gets a reference to the given string and assigns it to the Tags field. -func (o *PackagesUploadConan) SetTags(v string) { - o.Tags = &v -} - -// GetVersion returns the Version field value if set, zero value otherwise. -func (o *PackagesUploadConan) GetVersion() string { - if o == nil || o.Version == nil { - var ret string - return ret - } - return *o.Version -} - -// GetVersionOk returns a tuple with the Version field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *PackagesUploadConan) GetVersionOk() (*string, bool) { - if o == nil || o.Version == nil { - return nil, false - } - return o.Version, true -} - -// HasVersion returns a boolean if a field has been set. -func (o *PackagesUploadConan) HasVersion() bool { - if o != nil && o.Version != nil { - return true - } - - return false -} - -// SetVersion gets a reference to the given string and assigns it to the Version field. -func (o *PackagesUploadConan) SetVersion(v string) { - o.Version = &v -} - -func (o PackagesUploadConan) MarshalJSON() ([]byte, error) { - toSerialize := map[string]interface{}{} - if o.ConanChannel != nil { - toSerialize["conan_channel"] = o.ConanChannel - } - if o.ConanPrefix != nil { - toSerialize["conan_prefix"] = o.ConanPrefix - } - if true { - toSerialize["info_file"] = o.InfoFile - } - if true { - toSerialize["manifest_file"] = o.ManifestFile - } - if true { - toSerialize["metadata_file"] = o.MetadataFile - } - if o.Name != nil { - toSerialize["name"] = o.Name - } - if true { - toSerialize["package_file"] = o.PackageFile - } - if o.Republish != nil { - toSerialize["republish"] = o.Republish - } - if o.Tags != nil { - toSerialize["tags"] = o.Tags - } - if o.Version != nil { - toSerialize["version"] = o.Version - } - return json.Marshal(toSerialize) -} - -type NullablePackagesUploadConan struct { - value *PackagesUploadConan - isSet bool -} - -func (v NullablePackagesUploadConan) Get() *PackagesUploadConan { - return v.value -} - -func (v *NullablePackagesUploadConan) Set(val *PackagesUploadConan) { - v.value = val - v.isSet = true -} - -func (v NullablePackagesUploadConan) IsSet() bool { - return v.isSet -} - -func (v *NullablePackagesUploadConan) Unset() { - v.value = nil - v.isSet = false -} - -func NewNullablePackagesUploadConan(val *PackagesUploadConan) *NullablePackagesUploadConan { - return &NullablePackagesUploadConan{value: val, isSet: true} -} - -func (v NullablePackagesUploadConan) MarshalJSON() ([]byte, error) { - return json.Marshal(v.value) -} - -func (v *NullablePackagesUploadConan) UnmarshalJSON(src []byte) error { - v.isSet = true - return json.Unmarshal(src, &v.value) -} diff --git a/model_packages_upload_conda.go b/model_packages_upload_conda.go deleted file mode 100644 index 074f2e58..00000000 --- a/model_packages_upload_conda.go +++ /dev/null @@ -1,182 +0,0 @@ -/* -Cloudsmith API - -The API to the Cloudsmith Service - -API version: 1.121.3 -Contact: support@cloudsmith.io -*/ - -// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. - -package cloudsmith - -import ( - "encoding/json" -) - -// PackagesUploadConda struct for PackagesUploadConda -type PackagesUploadConda struct { - // The primary file for the package. - PackageFile string `json:"package_file"` - // If true, the uploaded package will overwrite any others with the same attributes (e.g. same version); otherwise, it will be flagged as a duplicate. - Republish *bool `json:"republish,omitempty"` - // A comma-separated values list of tags to add to the package. - Tags *string `json:"tags,omitempty"` -} - -// NewPackagesUploadConda instantiates a new PackagesUploadConda object -// 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 NewPackagesUploadConda(packageFile string) *PackagesUploadConda { - this := PackagesUploadConda{} - this.PackageFile = packageFile - return &this -} - -// NewPackagesUploadCondaWithDefaults instantiates a new PackagesUploadConda object -// This constructor will only assign default values to properties that have it defined, -// but it doesn't guarantee that properties required by API are set -func NewPackagesUploadCondaWithDefaults() *PackagesUploadConda { - this := PackagesUploadConda{} - return &this -} - -// GetPackageFile returns the PackageFile field value -func (o *PackagesUploadConda) GetPackageFile() string { - if o == nil { - var ret string - return ret - } - - return o.PackageFile -} - -// GetPackageFileOk returns a tuple with the PackageFile field value -// and a boolean to check if the value has been set. -func (o *PackagesUploadConda) GetPackageFileOk() (*string, bool) { - if o == nil { - return nil, false - } - return &o.PackageFile, true -} - -// SetPackageFile sets field value -func (o *PackagesUploadConda) SetPackageFile(v string) { - o.PackageFile = v -} - -// GetRepublish returns the Republish field value if set, zero value otherwise. -func (o *PackagesUploadConda) GetRepublish() bool { - if o == nil || o.Republish == nil { - var ret bool - return ret - } - return *o.Republish -} - -// GetRepublishOk returns a tuple with the Republish field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *PackagesUploadConda) GetRepublishOk() (*bool, bool) { - if o == nil || o.Republish == nil { - return nil, false - } - return o.Republish, true -} - -// HasRepublish returns a boolean if a field has been set. -func (o *PackagesUploadConda) HasRepublish() bool { - if o != nil && o.Republish != nil { - return true - } - - return false -} - -// SetRepublish gets a reference to the given bool and assigns it to the Republish field. -func (o *PackagesUploadConda) SetRepublish(v bool) { - o.Republish = &v -} - -// GetTags returns the Tags field value if set, zero value otherwise. -func (o *PackagesUploadConda) GetTags() string { - if o == nil || o.Tags == nil { - var ret string - return ret - } - return *o.Tags -} - -// GetTagsOk returns a tuple with the Tags field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *PackagesUploadConda) GetTagsOk() (*string, bool) { - if o == nil || o.Tags == nil { - return nil, false - } - return o.Tags, true -} - -// HasTags returns a boolean if a field has been set. -func (o *PackagesUploadConda) HasTags() bool { - if o != nil && o.Tags != nil { - return true - } - - return false -} - -// SetTags gets a reference to the given string and assigns it to the Tags field. -func (o *PackagesUploadConda) SetTags(v string) { - o.Tags = &v -} - -func (o PackagesUploadConda) MarshalJSON() ([]byte, error) { - toSerialize := map[string]interface{}{} - if true { - toSerialize["package_file"] = o.PackageFile - } - if o.Republish != nil { - toSerialize["republish"] = o.Republish - } - if o.Tags != nil { - toSerialize["tags"] = o.Tags - } - return json.Marshal(toSerialize) -} - -type NullablePackagesUploadConda struct { - value *PackagesUploadConda - isSet bool -} - -func (v NullablePackagesUploadConda) Get() *PackagesUploadConda { - return v.value -} - -func (v *NullablePackagesUploadConda) Set(val *PackagesUploadConda) { - v.value = val - v.isSet = true -} - -func (v NullablePackagesUploadConda) IsSet() bool { - return v.isSet -} - -func (v *NullablePackagesUploadConda) Unset() { - v.value = nil - v.isSet = false -} - -func NewNullablePackagesUploadConda(val *PackagesUploadConda) *NullablePackagesUploadConda { - return &NullablePackagesUploadConda{value: val, isSet: true} -} - -func (v NullablePackagesUploadConda) MarshalJSON() ([]byte, error) { - return json.Marshal(v.value) -} - -func (v *NullablePackagesUploadConda) UnmarshalJSON(src []byte) error { - v.isSet = true - return json.Unmarshal(src, &v.value) -} diff --git a/model_packages_upload_cran.go b/model_packages_upload_cran.go deleted file mode 100644 index 800c3621..00000000 --- a/model_packages_upload_cran.go +++ /dev/null @@ -1,182 +0,0 @@ -/* -Cloudsmith API - -The API to the Cloudsmith Service - -API version: 1.121.3 -Contact: support@cloudsmith.io -*/ - -// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. - -package cloudsmith - -import ( - "encoding/json" -) - -// PackagesUploadCran struct for PackagesUploadCran -type PackagesUploadCran struct { - // The primary file for the package. - PackageFile string `json:"package_file"` - // If true, the uploaded package will overwrite any others with the same attributes (e.g. same version); otherwise, it will be flagged as a duplicate. - Republish *bool `json:"republish,omitempty"` - // A comma-separated values list of tags to add to the package. - Tags *string `json:"tags,omitempty"` -} - -// NewPackagesUploadCran instantiates a new PackagesUploadCran object -// 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 NewPackagesUploadCran(packageFile string) *PackagesUploadCran { - this := PackagesUploadCran{} - this.PackageFile = packageFile - return &this -} - -// NewPackagesUploadCranWithDefaults instantiates a new PackagesUploadCran object -// This constructor will only assign default values to properties that have it defined, -// but it doesn't guarantee that properties required by API are set -func NewPackagesUploadCranWithDefaults() *PackagesUploadCran { - this := PackagesUploadCran{} - return &this -} - -// GetPackageFile returns the PackageFile field value -func (o *PackagesUploadCran) GetPackageFile() string { - if o == nil { - var ret string - return ret - } - - return o.PackageFile -} - -// GetPackageFileOk returns a tuple with the PackageFile field value -// and a boolean to check if the value has been set. -func (o *PackagesUploadCran) GetPackageFileOk() (*string, bool) { - if o == nil { - return nil, false - } - return &o.PackageFile, true -} - -// SetPackageFile sets field value -func (o *PackagesUploadCran) SetPackageFile(v string) { - o.PackageFile = v -} - -// GetRepublish returns the Republish field value if set, zero value otherwise. -func (o *PackagesUploadCran) GetRepublish() bool { - if o == nil || o.Republish == nil { - var ret bool - return ret - } - return *o.Republish -} - -// GetRepublishOk returns a tuple with the Republish field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *PackagesUploadCran) GetRepublishOk() (*bool, bool) { - if o == nil || o.Republish == nil { - return nil, false - } - return o.Republish, true -} - -// HasRepublish returns a boolean if a field has been set. -func (o *PackagesUploadCran) HasRepublish() bool { - if o != nil && o.Republish != nil { - return true - } - - return false -} - -// SetRepublish gets a reference to the given bool and assigns it to the Republish field. -func (o *PackagesUploadCran) SetRepublish(v bool) { - o.Republish = &v -} - -// GetTags returns the Tags field value if set, zero value otherwise. -func (o *PackagesUploadCran) GetTags() string { - if o == nil || o.Tags == nil { - var ret string - return ret - } - return *o.Tags -} - -// GetTagsOk returns a tuple with the Tags field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *PackagesUploadCran) GetTagsOk() (*string, bool) { - if o == nil || o.Tags == nil { - return nil, false - } - return o.Tags, true -} - -// HasTags returns a boolean if a field has been set. -func (o *PackagesUploadCran) HasTags() bool { - if o != nil && o.Tags != nil { - return true - } - - return false -} - -// SetTags gets a reference to the given string and assigns it to the Tags field. -func (o *PackagesUploadCran) SetTags(v string) { - o.Tags = &v -} - -func (o PackagesUploadCran) MarshalJSON() ([]byte, error) { - toSerialize := map[string]interface{}{} - if true { - toSerialize["package_file"] = o.PackageFile - } - if o.Republish != nil { - toSerialize["republish"] = o.Republish - } - if o.Tags != nil { - toSerialize["tags"] = o.Tags - } - return json.Marshal(toSerialize) -} - -type NullablePackagesUploadCran struct { - value *PackagesUploadCran - isSet bool -} - -func (v NullablePackagesUploadCran) Get() *PackagesUploadCran { - return v.value -} - -func (v *NullablePackagesUploadCran) Set(val *PackagesUploadCran) { - v.value = val - v.isSet = true -} - -func (v NullablePackagesUploadCran) IsSet() bool { - return v.isSet -} - -func (v *NullablePackagesUploadCran) Unset() { - v.value = nil - v.isSet = false -} - -func NewNullablePackagesUploadCran(val *PackagesUploadCran) *NullablePackagesUploadCran { - return &NullablePackagesUploadCran{value: val, isSet: true} -} - -func (v NullablePackagesUploadCran) MarshalJSON() ([]byte, error) { - return json.Marshal(v.value) -} - -func (v *NullablePackagesUploadCran) UnmarshalJSON(src []byte) error { - v.isSet = true - return json.Unmarshal(src, &v.value) -} diff --git a/model_packages_upload_dart.go b/model_packages_upload_dart.go deleted file mode 100644 index 3dcfaf02..00000000 --- a/model_packages_upload_dart.go +++ /dev/null @@ -1,182 +0,0 @@ -/* -Cloudsmith API - -The API to the Cloudsmith Service - -API version: 1.121.3 -Contact: support@cloudsmith.io -*/ - -// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. - -package cloudsmith - -import ( - "encoding/json" -) - -// PackagesUploadDart struct for PackagesUploadDart -type PackagesUploadDart struct { - // The primary file for the package. - PackageFile string `json:"package_file"` - // If true, the uploaded package will overwrite any others with the same attributes (e.g. same version); otherwise, it will be flagged as a duplicate. - Republish *bool `json:"republish,omitempty"` - // A comma-separated values list of tags to add to the package. - Tags *string `json:"tags,omitempty"` -} - -// NewPackagesUploadDart instantiates a new PackagesUploadDart object -// 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 NewPackagesUploadDart(packageFile string) *PackagesUploadDart { - this := PackagesUploadDart{} - this.PackageFile = packageFile - return &this -} - -// NewPackagesUploadDartWithDefaults instantiates a new PackagesUploadDart object -// This constructor will only assign default values to properties that have it defined, -// but it doesn't guarantee that properties required by API are set -func NewPackagesUploadDartWithDefaults() *PackagesUploadDart { - this := PackagesUploadDart{} - return &this -} - -// GetPackageFile returns the PackageFile field value -func (o *PackagesUploadDart) GetPackageFile() string { - if o == nil { - var ret string - return ret - } - - return o.PackageFile -} - -// GetPackageFileOk returns a tuple with the PackageFile field value -// and a boolean to check if the value has been set. -func (o *PackagesUploadDart) GetPackageFileOk() (*string, bool) { - if o == nil { - return nil, false - } - return &o.PackageFile, true -} - -// SetPackageFile sets field value -func (o *PackagesUploadDart) SetPackageFile(v string) { - o.PackageFile = v -} - -// GetRepublish returns the Republish field value if set, zero value otherwise. -func (o *PackagesUploadDart) GetRepublish() bool { - if o == nil || o.Republish == nil { - var ret bool - return ret - } - return *o.Republish -} - -// GetRepublishOk returns a tuple with the Republish field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *PackagesUploadDart) GetRepublishOk() (*bool, bool) { - if o == nil || o.Republish == nil { - return nil, false - } - return o.Republish, true -} - -// HasRepublish returns a boolean if a field has been set. -func (o *PackagesUploadDart) HasRepublish() bool { - if o != nil && o.Republish != nil { - return true - } - - return false -} - -// SetRepublish gets a reference to the given bool and assigns it to the Republish field. -func (o *PackagesUploadDart) SetRepublish(v bool) { - o.Republish = &v -} - -// GetTags returns the Tags field value if set, zero value otherwise. -func (o *PackagesUploadDart) GetTags() string { - if o == nil || o.Tags == nil { - var ret string - return ret - } - return *o.Tags -} - -// GetTagsOk returns a tuple with the Tags field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *PackagesUploadDart) GetTagsOk() (*string, bool) { - if o == nil || o.Tags == nil { - return nil, false - } - return o.Tags, true -} - -// HasTags returns a boolean if a field has been set. -func (o *PackagesUploadDart) HasTags() bool { - if o != nil && o.Tags != nil { - return true - } - - return false -} - -// SetTags gets a reference to the given string and assigns it to the Tags field. -func (o *PackagesUploadDart) SetTags(v string) { - o.Tags = &v -} - -func (o PackagesUploadDart) MarshalJSON() ([]byte, error) { - toSerialize := map[string]interface{}{} - if true { - toSerialize["package_file"] = o.PackageFile - } - if o.Republish != nil { - toSerialize["republish"] = o.Republish - } - if o.Tags != nil { - toSerialize["tags"] = o.Tags - } - return json.Marshal(toSerialize) -} - -type NullablePackagesUploadDart struct { - value *PackagesUploadDart - isSet bool -} - -func (v NullablePackagesUploadDart) Get() *PackagesUploadDart { - return v.value -} - -func (v *NullablePackagesUploadDart) Set(val *PackagesUploadDart) { - v.value = val - v.isSet = true -} - -func (v NullablePackagesUploadDart) IsSet() bool { - return v.isSet -} - -func (v *NullablePackagesUploadDart) Unset() { - v.value = nil - v.isSet = false -} - -func NewNullablePackagesUploadDart(val *PackagesUploadDart) *NullablePackagesUploadDart { - return &NullablePackagesUploadDart{value: val, isSet: true} -} - -func (v NullablePackagesUploadDart) MarshalJSON() ([]byte, error) { - return json.Marshal(v.value) -} - -func (v *NullablePackagesUploadDart) UnmarshalJSON(src []byte) error { - v.isSet = true - return json.Unmarshal(src, &v.value) -} diff --git a/model_packages_upload_deb.go b/model_packages_upload_deb.go deleted file mode 100644 index 7c0275f5..00000000 --- a/model_packages_upload_deb.go +++ /dev/null @@ -1,286 +0,0 @@ -/* -Cloudsmith API - -The API to the Cloudsmith Service - -API version: 1.121.3 -Contact: support@cloudsmith.io -*/ - -// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. - -package cloudsmith - -import ( - "encoding/json" -) - -// PackagesUploadDeb struct for PackagesUploadDeb -type PackagesUploadDeb struct { - // The changes archive containing the changes made to the source and debian packaging files - ChangesFile *string `json:"changes_file,omitempty"` - // The distribution to store the package for. - Distribution string `json:"distribution"` - // The primary file for the package. - PackageFile string `json:"package_file"` - // If true, the uploaded package will overwrite any others with the same attributes (e.g. same version); otherwise, it will be flagged as a duplicate. - Republish *bool `json:"republish,omitempty"` - // The sources archive containing the source code for the binary - SourcesFile *string `json:"sources_file,omitempty"` - // A comma-separated values list of tags to add to the package. - Tags *string `json:"tags,omitempty"` -} - -// NewPackagesUploadDeb instantiates a new PackagesUploadDeb object -// 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 NewPackagesUploadDeb(distribution string, packageFile string) *PackagesUploadDeb { - this := PackagesUploadDeb{} - this.Distribution = distribution - this.PackageFile = packageFile - return &this -} - -// NewPackagesUploadDebWithDefaults instantiates a new PackagesUploadDeb object -// This constructor will only assign default values to properties that have it defined, -// but it doesn't guarantee that properties required by API are set -func NewPackagesUploadDebWithDefaults() *PackagesUploadDeb { - this := PackagesUploadDeb{} - return &this -} - -// GetChangesFile returns the ChangesFile field value if set, zero value otherwise. -func (o *PackagesUploadDeb) GetChangesFile() string { - if o == nil || o.ChangesFile == nil { - var ret string - return ret - } - return *o.ChangesFile -} - -// GetChangesFileOk returns a tuple with the ChangesFile field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *PackagesUploadDeb) GetChangesFileOk() (*string, bool) { - if o == nil || o.ChangesFile == nil { - return nil, false - } - return o.ChangesFile, true -} - -// HasChangesFile returns a boolean if a field has been set. -func (o *PackagesUploadDeb) HasChangesFile() bool { - if o != nil && o.ChangesFile != nil { - return true - } - - return false -} - -// SetChangesFile gets a reference to the given string and assigns it to the ChangesFile field. -func (o *PackagesUploadDeb) SetChangesFile(v string) { - o.ChangesFile = &v -} - -// GetDistribution returns the Distribution field value -func (o *PackagesUploadDeb) GetDistribution() string { - if o == nil { - var ret string - return ret - } - - return o.Distribution -} - -// GetDistributionOk returns a tuple with the Distribution field value -// and a boolean to check if the value has been set. -func (o *PackagesUploadDeb) GetDistributionOk() (*string, bool) { - if o == nil { - return nil, false - } - return &o.Distribution, true -} - -// SetDistribution sets field value -func (o *PackagesUploadDeb) SetDistribution(v string) { - o.Distribution = v -} - -// GetPackageFile returns the PackageFile field value -func (o *PackagesUploadDeb) GetPackageFile() string { - if o == nil { - var ret string - return ret - } - - return o.PackageFile -} - -// GetPackageFileOk returns a tuple with the PackageFile field value -// and a boolean to check if the value has been set. -func (o *PackagesUploadDeb) GetPackageFileOk() (*string, bool) { - if o == nil { - return nil, false - } - return &o.PackageFile, true -} - -// SetPackageFile sets field value -func (o *PackagesUploadDeb) SetPackageFile(v string) { - o.PackageFile = v -} - -// GetRepublish returns the Republish field value if set, zero value otherwise. -func (o *PackagesUploadDeb) GetRepublish() bool { - if o == nil || o.Republish == nil { - var ret bool - return ret - } - return *o.Republish -} - -// GetRepublishOk returns a tuple with the Republish field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *PackagesUploadDeb) GetRepublishOk() (*bool, bool) { - if o == nil || o.Republish == nil { - return nil, false - } - return o.Republish, true -} - -// HasRepublish returns a boolean if a field has been set. -func (o *PackagesUploadDeb) HasRepublish() bool { - if o != nil && o.Republish != nil { - return true - } - - return false -} - -// SetRepublish gets a reference to the given bool and assigns it to the Republish field. -func (o *PackagesUploadDeb) SetRepublish(v bool) { - o.Republish = &v -} - -// GetSourcesFile returns the SourcesFile field value if set, zero value otherwise. -func (o *PackagesUploadDeb) GetSourcesFile() string { - if o == nil || o.SourcesFile == nil { - var ret string - return ret - } - return *o.SourcesFile -} - -// GetSourcesFileOk returns a tuple with the SourcesFile field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *PackagesUploadDeb) GetSourcesFileOk() (*string, bool) { - if o == nil || o.SourcesFile == nil { - return nil, false - } - return o.SourcesFile, true -} - -// HasSourcesFile returns a boolean if a field has been set. -func (o *PackagesUploadDeb) HasSourcesFile() bool { - if o != nil && o.SourcesFile != nil { - return true - } - - return false -} - -// SetSourcesFile gets a reference to the given string and assigns it to the SourcesFile field. -func (o *PackagesUploadDeb) SetSourcesFile(v string) { - o.SourcesFile = &v -} - -// GetTags returns the Tags field value if set, zero value otherwise. -func (o *PackagesUploadDeb) GetTags() string { - if o == nil || o.Tags == nil { - var ret string - return ret - } - return *o.Tags -} - -// GetTagsOk returns a tuple with the Tags field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *PackagesUploadDeb) GetTagsOk() (*string, bool) { - if o == nil || o.Tags == nil { - return nil, false - } - return o.Tags, true -} - -// HasTags returns a boolean if a field has been set. -func (o *PackagesUploadDeb) HasTags() bool { - if o != nil && o.Tags != nil { - return true - } - - return false -} - -// SetTags gets a reference to the given string and assigns it to the Tags field. -func (o *PackagesUploadDeb) SetTags(v string) { - o.Tags = &v -} - -func (o PackagesUploadDeb) MarshalJSON() ([]byte, error) { - toSerialize := map[string]interface{}{} - if o.ChangesFile != nil { - toSerialize["changes_file"] = o.ChangesFile - } - if true { - toSerialize["distribution"] = o.Distribution - } - if true { - toSerialize["package_file"] = o.PackageFile - } - if o.Republish != nil { - toSerialize["republish"] = o.Republish - } - if o.SourcesFile != nil { - toSerialize["sources_file"] = o.SourcesFile - } - if o.Tags != nil { - toSerialize["tags"] = o.Tags - } - return json.Marshal(toSerialize) -} - -type NullablePackagesUploadDeb struct { - value *PackagesUploadDeb - isSet bool -} - -func (v NullablePackagesUploadDeb) Get() *PackagesUploadDeb { - return v.value -} - -func (v *NullablePackagesUploadDeb) Set(val *PackagesUploadDeb) { - v.value = val - v.isSet = true -} - -func (v NullablePackagesUploadDeb) IsSet() bool { - return v.isSet -} - -func (v *NullablePackagesUploadDeb) Unset() { - v.value = nil - v.isSet = false -} - -func NewNullablePackagesUploadDeb(val *PackagesUploadDeb) *NullablePackagesUploadDeb { - return &NullablePackagesUploadDeb{value: val, isSet: true} -} - -func (v NullablePackagesUploadDeb) MarshalJSON() ([]byte, error) { - return json.Marshal(v.value) -} - -func (v *NullablePackagesUploadDeb) UnmarshalJSON(src []byte) error { - v.isSet = true - return json.Unmarshal(src, &v.value) -} diff --git a/model_packages_upload_docker.go b/model_packages_upload_docker.go deleted file mode 100644 index 6a75cb22..00000000 --- a/model_packages_upload_docker.go +++ /dev/null @@ -1,182 +0,0 @@ -/* -Cloudsmith API - -The API to the Cloudsmith Service - -API version: 1.121.3 -Contact: support@cloudsmith.io -*/ - -// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. - -package cloudsmith - -import ( - "encoding/json" -) - -// PackagesUploadDocker struct for PackagesUploadDocker -type PackagesUploadDocker struct { - // The primary file for the package. - PackageFile string `json:"package_file"` - // If true, the uploaded package will overwrite any others with the same attributes (e.g. same version); otherwise, it will be flagged as a duplicate. - Republish *bool `json:"republish,omitempty"` - // A comma-separated values list of tags to add to the package. - Tags *string `json:"tags,omitempty"` -} - -// NewPackagesUploadDocker instantiates a new PackagesUploadDocker object -// 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 NewPackagesUploadDocker(packageFile string) *PackagesUploadDocker { - this := PackagesUploadDocker{} - this.PackageFile = packageFile - return &this -} - -// NewPackagesUploadDockerWithDefaults instantiates a new PackagesUploadDocker object -// This constructor will only assign default values to properties that have it defined, -// but it doesn't guarantee that properties required by API are set -func NewPackagesUploadDockerWithDefaults() *PackagesUploadDocker { - this := PackagesUploadDocker{} - return &this -} - -// GetPackageFile returns the PackageFile field value -func (o *PackagesUploadDocker) GetPackageFile() string { - if o == nil { - var ret string - return ret - } - - return o.PackageFile -} - -// GetPackageFileOk returns a tuple with the PackageFile field value -// and a boolean to check if the value has been set. -func (o *PackagesUploadDocker) GetPackageFileOk() (*string, bool) { - if o == nil { - return nil, false - } - return &o.PackageFile, true -} - -// SetPackageFile sets field value -func (o *PackagesUploadDocker) SetPackageFile(v string) { - o.PackageFile = v -} - -// GetRepublish returns the Republish field value if set, zero value otherwise. -func (o *PackagesUploadDocker) GetRepublish() bool { - if o == nil || o.Republish == nil { - var ret bool - return ret - } - return *o.Republish -} - -// GetRepublishOk returns a tuple with the Republish field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *PackagesUploadDocker) GetRepublishOk() (*bool, bool) { - if o == nil || o.Republish == nil { - return nil, false - } - return o.Republish, true -} - -// HasRepublish returns a boolean if a field has been set. -func (o *PackagesUploadDocker) HasRepublish() bool { - if o != nil && o.Republish != nil { - return true - } - - return false -} - -// SetRepublish gets a reference to the given bool and assigns it to the Republish field. -func (o *PackagesUploadDocker) SetRepublish(v bool) { - o.Republish = &v -} - -// GetTags returns the Tags field value if set, zero value otherwise. -func (o *PackagesUploadDocker) GetTags() string { - if o == nil || o.Tags == nil { - var ret string - return ret - } - return *o.Tags -} - -// GetTagsOk returns a tuple with the Tags field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *PackagesUploadDocker) GetTagsOk() (*string, bool) { - if o == nil || o.Tags == nil { - return nil, false - } - return o.Tags, true -} - -// HasTags returns a boolean if a field has been set. -func (o *PackagesUploadDocker) HasTags() bool { - if o != nil && o.Tags != nil { - return true - } - - return false -} - -// SetTags gets a reference to the given string and assigns it to the Tags field. -func (o *PackagesUploadDocker) SetTags(v string) { - o.Tags = &v -} - -func (o PackagesUploadDocker) MarshalJSON() ([]byte, error) { - toSerialize := map[string]interface{}{} - if true { - toSerialize["package_file"] = o.PackageFile - } - if o.Republish != nil { - toSerialize["republish"] = o.Republish - } - if o.Tags != nil { - toSerialize["tags"] = o.Tags - } - return json.Marshal(toSerialize) -} - -type NullablePackagesUploadDocker struct { - value *PackagesUploadDocker - isSet bool -} - -func (v NullablePackagesUploadDocker) Get() *PackagesUploadDocker { - return v.value -} - -func (v *NullablePackagesUploadDocker) Set(val *PackagesUploadDocker) { - v.value = val - v.isSet = true -} - -func (v NullablePackagesUploadDocker) IsSet() bool { - return v.isSet -} - -func (v *NullablePackagesUploadDocker) Unset() { - v.value = nil - v.isSet = false -} - -func NewNullablePackagesUploadDocker(val *PackagesUploadDocker) *NullablePackagesUploadDocker { - return &NullablePackagesUploadDocker{value: val, isSet: true} -} - -func (v NullablePackagesUploadDocker) MarshalJSON() ([]byte, error) { - return json.Marshal(v.value) -} - -func (v *NullablePackagesUploadDocker) UnmarshalJSON(src []byte) error { - v.isSet = true - return json.Unmarshal(src, &v.value) -} diff --git a/model_packages_upload_go.go b/model_packages_upload_go.go deleted file mode 100644 index 722fd370..00000000 --- a/model_packages_upload_go.go +++ /dev/null @@ -1,182 +0,0 @@ -/* -Cloudsmith API - -The API to the Cloudsmith Service - -API version: 1.121.3 -Contact: support@cloudsmith.io -*/ - -// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. - -package cloudsmith - -import ( - "encoding/json" -) - -// PackagesUploadGo struct for PackagesUploadGo -type PackagesUploadGo struct { - // The primary file for the package. - PackageFile string `json:"package_file"` - // If true, the uploaded package will overwrite any others with the same attributes (e.g. same version); otherwise, it will be flagged as a duplicate. - Republish *bool `json:"republish,omitempty"` - // A comma-separated values list of tags to add to the package. - Tags *string `json:"tags,omitempty"` -} - -// NewPackagesUploadGo instantiates a new PackagesUploadGo object -// 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 NewPackagesUploadGo(packageFile string) *PackagesUploadGo { - this := PackagesUploadGo{} - this.PackageFile = packageFile - return &this -} - -// NewPackagesUploadGoWithDefaults instantiates a new PackagesUploadGo object -// This constructor will only assign default values to properties that have it defined, -// but it doesn't guarantee that properties required by API are set -func NewPackagesUploadGoWithDefaults() *PackagesUploadGo { - this := PackagesUploadGo{} - return &this -} - -// GetPackageFile returns the PackageFile field value -func (o *PackagesUploadGo) GetPackageFile() string { - if o == nil { - var ret string - return ret - } - - return o.PackageFile -} - -// GetPackageFileOk returns a tuple with the PackageFile field value -// and a boolean to check if the value has been set. -func (o *PackagesUploadGo) GetPackageFileOk() (*string, bool) { - if o == nil { - return nil, false - } - return &o.PackageFile, true -} - -// SetPackageFile sets field value -func (o *PackagesUploadGo) SetPackageFile(v string) { - o.PackageFile = v -} - -// GetRepublish returns the Republish field value if set, zero value otherwise. -func (o *PackagesUploadGo) GetRepublish() bool { - if o == nil || o.Republish == nil { - var ret bool - return ret - } - return *o.Republish -} - -// GetRepublishOk returns a tuple with the Republish field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *PackagesUploadGo) GetRepublishOk() (*bool, bool) { - if o == nil || o.Republish == nil { - return nil, false - } - return o.Republish, true -} - -// HasRepublish returns a boolean if a field has been set. -func (o *PackagesUploadGo) HasRepublish() bool { - if o != nil && o.Republish != nil { - return true - } - - return false -} - -// SetRepublish gets a reference to the given bool and assigns it to the Republish field. -func (o *PackagesUploadGo) SetRepublish(v bool) { - o.Republish = &v -} - -// GetTags returns the Tags field value if set, zero value otherwise. -func (o *PackagesUploadGo) GetTags() string { - if o == nil || o.Tags == nil { - var ret string - return ret - } - return *o.Tags -} - -// GetTagsOk returns a tuple with the Tags field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *PackagesUploadGo) GetTagsOk() (*string, bool) { - if o == nil || o.Tags == nil { - return nil, false - } - return o.Tags, true -} - -// HasTags returns a boolean if a field has been set. -func (o *PackagesUploadGo) HasTags() bool { - if o != nil && o.Tags != nil { - return true - } - - return false -} - -// SetTags gets a reference to the given string and assigns it to the Tags field. -func (o *PackagesUploadGo) SetTags(v string) { - o.Tags = &v -} - -func (o PackagesUploadGo) MarshalJSON() ([]byte, error) { - toSerialize := map[string]interface{}{} - if true { - toSerialize["package_file"] = o.PackageFile - } - if o.Republish != nil { - toSerialize["republish"] = o.Republish - } - if o.Tags != nil { - toSerialize["tags"] = o.Tags - } - return json.Marshal(toSerialize) -} - -type NullablePackagesUploadGo struct { - value *PackagesUploadGo - isSet bool -} - -func (v NullablePackagesUploadGo) Get() *PackagesUploadGo { - return v.value -} - -func (v *NullablePackagesUploadGo) Set(val *PackagesUploadGo) { - v.value = val - v.isSet = true -} - -func (v NullablePackagesUploadGo) IsSet() bool { - return v.isSet -} - -func (v *NullablePackagesUploadGo) Unset() { - v.value = nil - v.isSet = false -} - -func NewNullablePackagesUploadGo(val *PackagesUploadGo) *NullablePackagesUploadGo { - return &NullablePackagesUploadGo{value: val, isSet: true} -} - -func (v NullablePackagesUploadGo) MarshalJSON() ([]byte, error) { - return json.Marshal(v.value) -} - -func (v *NullablePackagesUploadGo) UnmarshalJSON(src []byte) error { - v.isSet = true - return json.Unmarshal(src, &v.value) -} diff --git a/model_packages_upload_helm.go b/model_packages_upload_helm.go deleted file mode 100644 index 046861b3..00000000 --- a/model_packages_upload_helm.go +++ /dev/null @@ -1,182 +0,0 @@ -/* -Cloudsmith API - -The API to the Cloudsmith Service - -API version: 1.121.3 -Contact: support@cloudsmith.io -*/ - -// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. - -package cloudsmith - -import ( - "encoding/json" -) - -// PackagesUploadHelm struct for PackagesUploadHelm -type PackagesUploadHelm struct { - // The primary file for the package. - PackageFile string `json:"package_file"` - // If true, the uploaded package will overwrite any others with the same attributes (e.g. same version); otherwise, it will be flagged as a duplicate. - Republish *bool `json:"republish,omitempty"` - // A comma-separated values list of tags to add to the package. - Tags *string `json:"tags,omitempty"` -} - -// NewPackagesUploadHelm instantiates a new PackagesUploadHelm object -// 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 NewPackagesUploadHelm(packageFile string) *PackagesUploadHelm { - this := PackagesUploadHelm{} - this.PackageFile = packageFile - return &this -} - -// NewPackagesUploadHelmWithDefaults instantiates a new PackagesUploadHelm object -// This constructor will only assign default values to properties that have it defined, -// but it doesn't guarantee that properties required by API are set -func NewPackagesUploadHelmWithDefaults() *PackagesUploadHelm { - this := PackagesUploadHelm{} - return &this -} - -// GetPackageFile returns the PackageFile field value -func (o *PackagesUploadHelm) GetPackageFile() string { - if o == nil { - var ret string - return ret - } - - return o.PackageFile -} - -// GetPackageFileOk returns a tuple with the PackageFile field value -// and a boolean to check if the value has been set. -func (o *PackagesUploadHelm) GetPackageFileOk() (*string, bool) { - if o == nil { - return nil, false - } - return &o.PackageFile, true -} - -// SetPackageFile sets field value -func (o *PackagesUploadHelm) SetPackageFile(v string) { - o.PackageFile = v -} - -// GetRepublish returns the Republish field value if set, zero value otherwise. -func (o *PackagesUploadHelm) GetRepublish() bool { - if o == nil || o.Republish == nil { - var ret bool - return ret - } - return *o.Republish -} - -// GetRepublishOk returns a tuple with the Republish field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *PackagesUploadHelm) GetRepublishOk() (*bool, bool) { - if o == nil || o.Republish == nil { - return nil, false - } - return o.Republish, true -} - -// HasRepublish returns a boolean if a field has been set. -func (o *PackagesUploadHelm) HasRepublish() bool { - if o != nil && o.Republish != nil { - return true - } - - return false -} - -// SetRepublish gets a reference to the given bool and assigns it to the Republish field. -func (o *PackagesUploadHelm) SetRepublish(v bool) { - o.Republish = &v -} - -// GetTags returns the Tags field value if set, zero value otherwise. -func (o *PackagesUploadHelm) GetTags() string { - if o == nil || o.Tags == nil { - var ret string - return ret - } - return *o.Tags -} - -// GetTagsOk returns a tuple with the Tags field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *PackagesUploadHelm) GetTagsOk() (*string, bool) { - if o == nil || o.Tags == nil { - return nil, false - } - return o.Tags, true -} - -// HasTags returns a boolean if a field has been set. -func (o *PackagesUploadHelm) HasTags() bool { - if o != nil && o.Tags != nil { - return true - } - - return false -} - -// SetTags gets a reference to the given string and assigns it to the Tags field. -func (o *PackagesUploadHelm) SetTags(v string) { - o.Tags = &v -} - -func (o PackagesUploadHelm) MarshalJSON() ([]byte, error) { - toSerialize := map[string]interface{}{} - if true { - toSerialize["package_file"] = o.PackageFile - } - if o.Republish != nil { - toSerialize["republish"] = o.Republish - } - if o.Tags != nil { - toSerialize["tags"] = o.Tags - } - return json.Marshal(toSerialize) -} - -type NullablePackagesUploadHelm struct { - value *PackagesUploadHelm - isSet bool -} - -func (v NullablePackagesUploadHelm) Get() *PackagesUploadHelm { - return v.value -} - -func (v *NullablePackagesUploadHelm) Set(val *PackagesUploadHelm) { - v.value = val - v.isSet = true -} - -func (v NullablePackagesUploadHelm) IsSet() bool { - return v.isSet -} - -func (v *NullablePackagesUploadHelm) Unset() { - v.value = nil - v.isSet = false -} - -func NewNullablePackagesUploadHelm(val *PackagesUploadHelm) *NullablePackagesUploadHelm { - return &NullablePackagesUploadHelm{value: val, isSet: true} -} - -func (v NullablePackagesUploadHelm) MarshalJSON() ([]byte, error) { - return json.Marshal(v.value) -} - -func (v *NullablePackagesUploadHelm) UnmarshalJSON(src []byte) error { - v.isSet = true - return json.Unmarshal(src, &v.value) -} diff --git a/model_packages_upload_luarocks.go b/model_packages_upload_luarocks.go deleted file mode 100644 index a77b91d6..00000000 --- a/model_packages_upload_luarocks.go +++ /dev/null @@ -1,182 +0,0 @@ -/* -Cloudsmith API - -The API to the Cloudsmith Service - -API version: 1.121.3 -Contact: support@cloudsmith.io -*/ - -// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. - -package cloudsmith - -import ( - "encoding/json" -) - -// PackagesUploadLuarocks struct for PackagesUploadLuarocks -type PackagesUploadLuarocks struct { - // The primary file for the package. - PackageFile string `json:"package_file"` - // If true, the uploaded package will overwrite any others with the same attributes (e.g. same version); otherwise, it will be flagged as a duplicate. - Republish *bool `json:"republish,omitempty"` - // A comma-separated values list of tags to add to the package. - Tags *string `json:"tags,omitempty"` -} - -// NewPackagesUploadLuarocks instantiates a new PackagesUploadLuarocks object -// 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 NewPackagesUploadLuarocks(packageFile string) *PackagesUploadLuarocks { - this := PackagesUploadLuarocks{} - this.PackageFile = packageFile - return &this -} - -// NewPackagesUploadLuarocksWithDefaults instantiates a new PackagesUploadLuarocks object -// This constructor will only assign default values to properties that have it defined, -// but it doesn't guarantee that properties required by API are set -func NewPackagesUploadLuarocksWithDefaults() *PackagesUploadLuarocks { - this := PackagesUploadLuarocks{} - return &this -} - -// GetPackageFile returns the PackageFile field value -func (o *PackagesUploadLuarocks) GetPackageFile() string { - if o == nil { - var ret string - return ret - } - - return o.PackageFile -} - -// GetPackageFileOk returns a tuple with the PackageFile field value -// and a boolean to check if the value has been set. -func (o *PackagesUploadLuarocks) GetPackageFileOk() (*string, bool) { - if o == nil { - return nil, false - } - return &o.PackageFile, true -} - -// SetPackageFile sets field value -func (o *PackagesUploadLuarocks) SetPackageFile(v string) { - o.PackageFile = v -} - -// GetRepublish returns the Republish field value if set, zero value otherwise. -func (o *PackagesUploadLuarocks) GetRepublish() bool { - if o == nil || o.Republish == nil { - var ret bool - return ret - } - return *o.Republish -} - -// GetRepublishOk returns a tuple with the Republish field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *PackagesUploadLuarocks) GetRepublishOk() (*bool, bool) { - if o == nil || o.Republish == nil { - return nil, false - } - return o.Republish, true -} - -// HasRepublish returns a boolean if a field has been set. -func (o *PackagesUploadLuarocks) HasRepublish() bool { - if o != nil && o.Republish != nil { - return true - } - - return false -} - -// SetRepublish gets a reference to the given bool and assigns it to the Republish field. -func (o *PackagesUploadLuarocks) SetRepublish(v bool) { - o.Republish = &v -} - -// GetTags returns the Tags field value if set, zero value otherwise. -func (o *PackagesUploadLuarocks) GetTags() string { - if o == nil || o.Tags == nil { - var ret string - return ret - } - return *o.Tags -} - -// GetTagsOk returns a tuple with the Tags field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *PackagesUploadLuarocks) GetTagsOk() (*string, bool) { - if o == nil || o.Tags == nil { - return nil, false - } - return o.Tags, true -} - -// HasTags returns a boolean if a field has been set. -func (o *PackagesUploadLuarocks) HasTags() bool { - if o != nil && o.Tags != nil { - return true - } - - return false -} - -// SetTags gets a reference to the given string and assigns it to the Tags field. -func (o *PackagesUploadLuarocks) SetTags(v string) { - o.Tags = &v -} - -func (o PackagesUploadLuarocks) MarshalJSON() ([]byte, error) { - toSerialize := map[string]interface{}{} - if true { - toSerialize["package_file"] = o.PackageFile - } - if o.Republish != nil { - toSerialize["republish"] = o.Republish - } - if o.Tags != nil { - toSerialize["tags"] = o.Tags - } - return json.Marshal(toSerialize) -} - -type NullablePackagesUploadLuarocks struct { - value *PackagesUploadLuarocks - isSet bool -} - -func (v NullablePackagesUploadLuarocks) Get() *PackagesUploadLuarocks { - return v.value -} - -func (v *NullablePackagesUploadLuarocks) Set(val *PackagesUploadLuarocks) { - v.value = val - v.isSet = true -} - -func (v NullablePackagesUploadLuarocks) IsSet() bool { - return v.isSet -} - -func (v *NullablePackagesUploadLuarocks) Unset() { - v.value = nil - v.isSet = false -} - -func NewNullablePackagesUploadLuarocks(val *PackagesUploadLuarocks) *NullablePackagesUploadLuarocks { - return &NullablePackagesUploadLuarocks{value: val, isSet: true} -} - -func (v NullablePackagesUploadLuarocks) MarshalJSON() ([]byte, error) { - return json.Marshal(v.value) -} - -func (v *NullablePackagesUploadLuarocks) UnmarshalJSON(src []byte) error { - v.isSet = true - return json.Unmarshal(src, &v.value) -} diff --git a/model_packages_upload_maven.go b/model_packages_upload_maven.go deleted file mode 100644 index cc2729ce..00000000 --- a/model_packages_upload_maven.go +++ /dev/null @@ -1,478 +0,0 @@ -/* -Cloudsmith API - -The API to the Cloudsmith Service - -API version: 1.121.3 -Contact: support@cloudsmith.io -*/ - -// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. - -package cloudsmith - -import ( - "encoding/json" -) - -// PackagesUploadMaven struct for PackagesUploadMaven -type PackagesUploadMaven struct { - // The ID of the artifact. - ArtifactId *string `json:"artifact_id,omitempty"` - // Artifact's group ID. - GroupId *string `json:"group_id,omitempty"` - // Adds bundled Java documentation to the Maven package - JavadocFile *string `json:"javadoc_file,omitempty"` - // The primary file for the package. - PackageFile string `json:"package_file"` - // Artifact's Maven packaging type. - Packaging *string `json:"packaging,omitempty"` - // The POM file is an XML file containing the Maven coordinates. - PomFile *string `json:"pom_file,omitempty"` - // If true, the uploaded package will overwrite any others with the same attributes (e.g. same version); otherwise, it will be flagged as a duplicate. - Republish *bool `json:"republish,omitempty"` - // Adds bundled Java source code to the Maven package. - SourcesFile *string `json:"sources_file,omitempty"` - // A comma-separated values list of tags to add to the package. - Tags *string `json:"tags,omitempty"` - // Adds bundled Java tests to the Maven package. - TestsFile *string `json:"tests_file,omitempty"` - // The raw version for this package. - Version *string `json:"version,omitempty"` -} - -// NewPackagesUploadMaven instantiates a new PackagesUploadMaven object -// 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 NewPackagesUploadMaven(packageFile string) *PackagesUploadMaven { - this := PackagesUploadMaven{} - this.PackageFile = packageFile - return &this -} - -// NewPackagesUploadMavenWithDefaults instantiates a new PackagesUploadMaven object -// This constructor will only assign default values to properties that have it defined, -// but it doesn't guarantee that properties required by API are set -func NewPackagesUploadMavenWithDefaults() *PackagesUploadMaven { - this := PackagesUploadMaven{} - return &this -} - -// GetArtifactId returns the ArtifactId field value if set, zero value otherwise. -func (o *PackagesUploadMaven) GetArtifactId() string { - if o == nil || o.ArtifactId == nil { - var ret string - return ret - } - return *o.ArtifactId -} - -// GetArtifactIdOk returns a tuple with the ArtifactId field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *PackagesUploadMaven) GetArtifactIdOk() (*string, bool) { - if o == nil || o.ArtifactId == nil { - return nil, false - } - return o.ArtifactId, true -} - -// HasArtifactId returns a boolean if a field has been set. -func (o *PackagesUploadMaven) HasArtifactId() bool { - if o != nil && o.ArtifactId != nil { - return true - } - - return false -} - -// SetArtifactId gets a reference to the given string and assigns it to the ArtifactId field. -func (o *PackagesUploadMaven) SetArtifactId(v string) { - o.ArtifactId = &v -} - -// GetGroupId returns the GroupId field value if set, zero value otherwise. -func (o *PackagesUploadMaven) GetGroupId() string { - if o == nil || o.GroupId == nil { - var ret string - return ret - } - return *o.GroupId -} - -// GetGroupIdOk returns a tuple with the GroupId field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *PackagesUploadMaven) GetGroupIdOk() (*string, bool) { - if o == nil || o.GroupId == nil { - return nil, false - } - return o.GroupId, true -} - -// HasGroupId returns a boolean if a field has been set. -func (o *PackagesUploadMaven) HasGroupId() bool { - if o != nil && o.GroupId != nil { - return true - } - - return false -} - -// SetGroupId gets a reference to the given string and assigns it to the GroupId field. -func (o *PackagesUploadMaven) SetGroupId(v string) { - o.GroupId = &v -} - -// GetJavadocFile returns the JavadocFile field value if set, zero value otherwise. -func (o *PackagesUploadMaven) GetJavadocFile() string { - if o == nil || o.JavadocFile == nil { - var ret string - return ret - } - return *o.JavadocFile -} - -// GetJavadocFileOk returns a tuple with the JavadocFile field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *PackagesUploadMaven) GetJavadocFileOk() (*string, bool) { - if o == nil || o.JavadocFile == nil { - return nil, false - } - return o.JavadocFile, true -} - -// HasJavadocFile returns a boolean if a field has been set. -func (o *PackagesUploadMaven) HasJavadocFile() bool { - if o != nil && o.JavadocFile != nil { - return true - } - - return false -} - -// SetJavadocFile gets a reference to the given string and assigns it to the JavadocFile field. -func (o *PackagesUploadMaven) SetJavadocFile(v string) { - o.JavadocFile = &v -} - -// GetPackageFile returns the PackageFile field value -func (o *PackagesUploadMaven) GetPackageFile() string { - if o == nil { - var ret string - return ret - } - - return o.PackageFile -} - -// GetPackageFileOk returns a tuple with the PackageFile field value -// and a boolean to check if the value has been set. -func (o *PackagesUploadMaven) GetPackageFileOk() (*string, bool) { - if o == nil { - return nil, false - } - return &o.PackageFile, true -} - -// SetPackageFile sets field value -func (o *PackagesUploadMaven) SetPackageFile(v string) { - o.PackageFile = v -} - -// GetPackaging returns the Packaging field value if set, zero value otherwise. -func (o *PackagesUploadMaven) GetPackaging() string { - if o == nil || o.Packaging == nil { - var ret string - return ret - } - return *o.Packaging -} - -// GetPackagingOk returns a tuple with the Packaging field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *PackagesUploadMaven) GetPackagingOk() (*string, bool) { - if o == nil || o.Packaging == nil { - return nil, false - } - return o.Packaging, true -} - -// HasPackaging returns a boolean if a field has been set. -func (o *PackagesUploadMaven) HasPackaging() bool { - if o != nil && o.Packaging != nil { - return true - } - - return false -} - -// SetPackaging gets a reference to the given string and assigns it to the Packaging field. -func (o *PackagesUploadMaven) SetPackaging(v string) { - o.Packaging = &v -} - -// GetPomFile returns the PomFile field value if set, zero value otherwise. -func (o *PackagesUploadMaven) GetPomFile() string { - if o == nil || o.PomFile == nil { - var ret string - return ret - } - return *o.PomFile -} - -// GetPomFileOk returns a tuple with the PomFile field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *PackagesUploadMaven) GetPomFileOk() (*string, bool) { - if o == nil || o.PomFile == nil { - return nil, false - } - return o.PomFile, true -} - -// HasPomFile returns a boolean if a field has been set. -func (o *PackagesUploadMaven) HasPomFile() bool { - if o != nil && o.PomFile != nil { - return true - } - - return false -} - -// SetPomFile gets a reference to the given string and assigns it to the PomFile field. -func (o *PackagesUploadMaven) SetPomFile(v string) { - o.PomFile = &v -} - -// GetRepublish returns the Republish field value if set, zero value otherwise. -func (o *PackagesUploadMaven) GetRepublish() bool { - if o == nil || o.Republish == nil { - var ret bool - return ret - } - return *o.Republish -} - -// GetRepublishOk returns a tuple with the Republish field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *PackagesUploadMaven) GetRepublishOk() (*bool, bool) { - if o == nil || o.Republish == nil { - return nil, false - } - return o.Republish, true -} - -// HasRepublish returns a boolean if a field has been set. -func (o *PackagesUploadMaven) HasRepublish() bool { - if o != nil && o.Republish != nil { - return true - } - - return false -} - -// SetRepublish gets a reference to the given bool and assigns it to the Republish field. -func (o *PackagesUploadMaven) SetRepublish(v bool) { - o.Republish = &v -} - -// GetSourcesFile returns the SourcesFile field value if set, zero value otherwise. -func (o *PackagesUploadMaven) GetSourcesFile() string { - if o == nil || o.SourcesFile == nil { - var ret string - return ret - } - return *o.SourcesFile -} - -// GetSourcesFileOk returns a tuple with the SourcesFile field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *PackagesUploadMaven) GetSourcesFileOk() (*string, bool) { - if o == nil || o.SourcesFile == nil { - return nil, false - } - return o.SourcesFile, true -} - -// HasSourcesFile returns a boolean if a field has been set. -func (o *PackagesUploadMaven) HasSourcesFile() bool { - if o != nil && o.SourcesFile != nil { - return true - } - - return false -} - -// SetSourcesFile gets a reference to the given string and assigns it to the SourcesFile field. -func (o *PackagesUploadMaven) SetSourcesFile(v string) { - o.SourcesFile = &v -} - -// GetTags returns the Tags field value if set, zero value otherwise. -func (o *PackagesUploadMaven) GetTags() string { - if o == nil || o.Tags == nil { - var ret string - return ret - } - return *o.Tags -} - -// GetTagsOk returns a tuple with the Tags field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *PackagesUploadMaven) GetTagsOk() (*string, bool) { - if o == nil || o.Tags == nil { - return nil, false - } - return o.Tags, true -} - -// HasTags returns a boolean if a field has been set. -func (o *PackagesUploadMaven) HasTags() bool { - if o != nil && o.Tags != nil { - return true - } - - return false -} - -// SetTags gets a reference to the given string and assigns it to the Tags field. -func (o *PackagesUploadMaven) SetTags(v string) { - o.Tags = &v -} - -// GetTestsFile returns the TestsFile field value if set, zero value otherwise. -func (o *PackagesUploadMaven) GetTestsFile() string { - if o == nil || o.TestsFile == nil { - var ret string - return ret - } - return *o.TestsFile -} - -// GetTestsFileOk returns a tuple with the TestsFile field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *PackagesUploadMaven) GetTestsFileOk() (*string, bool) { - if o == nil || o.TestsFile == nil { - return nil, false - } - return o.TestsFile, true -} - -// HasTestsFile returns a boolean if a field has been set. -func (o *PackagesUploadMaven) HasTestsFile() bool { - if o != nil && o.TestsFile != nil { - return true - } - - return false -} - -// SetTestsFile gets a reference to the given string and assigns it to the TestsFile field. -func (o *PackagesUploadMaven) SetTestsFile(v string) { - o.TestsFile = &v -} - -// GetVersion returns the Version field value if set, zero value otherwise. -func (o *PackagesUploadMaven) GetVersion() string { - if o == nil || o.Version == nil { - var ret string - return ret - } - return *o.Version -} - -// GetVersionOk returns a tuple with the Version field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *PackagesUploadMaven) GetVersionOk() (*string, bool) { - if o == nil || o.Version == nil { - return nil, false - } - return o.Version, true -} - -// HasVersion returns a boolean if a field has been set. -func (o *PackagesUploadMaven) HasVersion() bool { - if o != nil && o.Version != nil { - return true - } - - return false -} - -// SetVersion gets a reference to the given string and assigns it to the Version field. -func (o *PackagesUploadMaven) SetVersion(v string) { - o.Version = &v -} - -func (o PackagesUploadMaven) MarshalJSON() ([]byte, error) { - toSerialize := map[string]interface{}{} - if o.ArtifactId != nil { - toSerialize["artifact_id"] = o.ArtifactId - } - if o.GroupId != nil { - toSerialize["group_id"] = o.GroupId - } - if o.JavadocFile != nil { - toSerialize["javadoc_file"] = o.JavadocFile - } - if true { - toSerialize["package_file"] = o.PackageFile - } - if o.Packaging != nil { - toSerialize["packaging"] = o.Packaging - } - if o.PomFile != nil { - toSerialize["pom_file"] = o.PomFile - } - if o.Republish != nil { - toSerialize["republish"] = o.Republish - } - if o.SourcesFile != nil { - toSerialize["sources_file"] = o.SourcesFile - } - if o.Tags != nil { - toSerialize["tags"] = o.Tags - } - if o.TestsFile != nil { - toSerialize["tests_file"] = o.TestsFile - } - if o.Version != nil { - toSerialize["version"] = o.Version - } - return json.Marshal(toSerialize) -} - -type NullablePackagesUploadMaven struct { - value *PackagesUploadMaven - isSet bool -} - -func (v NullablePackagesUploadMaven) Get() *PackagesUploadMaven { - return v.value -} - -func (v *NullablePackagesUploadMaven) Set(val *PackagesUploadMaven) { - v.value = val - v.isSet = true -} - -func (v NullablePackagesUploadMaven) IsSet() bool { - return v.isSet -} - -func (v *NullablePackagesUploadMaven) Unset() { - v.value = nil - v.isSet = false -} - -func NewNullablePackagesUploadMaven(val *PackagesUploadMaven) *NullablePackagesUploadMaven { - return &NullablePackagesUploadMaven{value: val, isSet: true} -} - -func (v NullablePackagesUploadMaven) MarshalJSON() ([]byte, error) { - return json.Marshal(v.value) -} - -func (v *NullablePackagesUploadMaven) UnmarshalJSON(src []byte) error { - v.isSet = true - return json.Unmarshal(src, &v.value) -} diff --git a/model_packages_upload_nuget.go b/model_packages_upload_nuget.go deleted file mode 100644 index 37256abc..00000000 --- a/model_packages_upload_nuget.go +++ /dev/null @@ -1,219 +0,0 @@ -/* -Cloudsmith API - -The API to the Cloudsmith Service - -API version: 1.121.3 -Contact: support@cloudsmith.io -*/ - -// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. - -package cloudsmith - -import ( - "encoding/json" -) - -// PackagesUploadNuget struct for PackagesUploadNuget -type PackagesUploadNuget struct { - // The primary file for the package. - PackageFile string `json:"package_file"` - // If true, the uploaded package will overwrite any others with the same attributes (e.g. same version); otherwise, it will be flagged as a duplicate. - Republish *bool `json:"republish,omitempty"` - // Attaches a symbols file to the package. - SymbolsFile *string `json:"symbols_file,omitempty"` - // A comma-separated values list of tags to add to the package. - Tags *string `json:"tags,omitempty"` -} - -// NewPackagesUploadNuget instantiates a new PackagesUploadNuget object -// 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 NewPackagesUploadNuget(packageFile string) *PackagesUploadNuget { - this := PackagesUploadNuget{} - this.PackageFile = packageFile - return &this -} - -// NewPackagesUploadNugetWithDefaults instantiates a new PackagesUploadNuget object -// This constructor will only assign default values to properties that have it defined, -// but it doesn't guarantee that properties required by API are set -func NewPackagesUploadNugetWithDefaults() *PackagesUploadNuget { - this := PackagesUploadNuget{} - return &this -} - -// GetPackageFile returns the PackageFile field value -func (o *PackagesUploadNuget) GetPackageFile() string { - if o == nil { - var ret string - return ret - } - - return o.PackageFile -} - -// GetPackageFileOk returns a tuple with the PackageFile field value -// and a boolean to check if the value has been set. -func (o *PackagesUploadNuget) GetPackageFileOk() (*string, bool) { - if o == nil { - return nil, false - } - return &o.PackageFile, true -} - -// SetPackageFile sets field value -func (o *PackagesUploadNuget) SetPackageFile(v string) { - o.PackageFile = v -} - -// GetRepublish returns the Republish field value if set, zero value otherwise. -func (o *PackagesUploadNuget) GetRepublish() bool { - if o == nil || o.Republish == nil { - var ret bool - return ret - } - return *o.Republish -} - -// GetRepublishOk returns a tuple with the Republish field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *PackagesUploadNuget) GetRepublishOk() (*bool, bool) { - if o == nil || o.Republish == nil { - return nil, false - } - return o.Republish, true -} - -// HasRepublish returns a boolean if a field has been set. -func (o *PackagesUploadNuget) HasRepublish() bool { - if o != nil && o.Republish != nil { - return true - } - - return false -} - -// SetRepublish gets a reference to the given bool and assigns it to the Republish field. -func (o *PackagesUploadNuget) SetRepublish(v bool) { - o.Republish = &v -} - -// GetSymbolsFile returns the SymbolsFile field value if set, zero value otherwise. -func (o *PackagesUploadNuget) GetSymbolsFile() string { - if o == nil || o.SymbolsFile == nil { - var ret string - return ret - } - return *o.SymbolsFile -} - -// GetSymbolsFileOk returns a tuple with the SymbolsFile field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *PackagesUploadNuget) GetSymbolsFileOk() (*string, bool) { - if o == nil || o.SymbolsFile == nil { - return nil, false - } - return o.SymbolsFile, true -} - -// HasSymbolsFile returns a boolean if a field has been set. -func (o *PackagesUploadNuget) HasSymbolsFile() bool { - if o != nil && o.SymbolsFile != nil { - return true - } - - return false -} - -// SetSymbolsFile gets a reference to the given string and assigns it to the SymbolsFile field. -func (o *PackagesUploadNuget) SetSymbolsFile(v string) { - o.SymbolsFile = &v -} - -// GetTags returns the Tags field value if set, zero value otherwise. -func (o *PackagesUploadNuget) GetTags() string { - if o == nil || o.Tags == nil { - var ret string - return ret - } - return *o.Tags -} - -// GetTagsOk returns a tuple with the Tags field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *PackagesUploadNuget) GetTagsOk() (*string, bool) { - if o == nil || o.Tags == nil { - return nil, false - } - return o.Tags, true -} - -// HasTags returns a boolean if a field has been set. -func (o *PackagesUploadNuget) HasTags() bool { - if o != nil && o.Tags != nil { - return true - } - - return false -} - -// SetTags gets a reference to the given string and assigns it to the Tags field. -func (o *PackagesUploadNuget) SetTags(v string) { - o.Tags = &v -} - -func (o PackagesUploadNuget) MarshalJSON() ([]byte, error) { - toSerialize := map[string]interface{}{} - if true { - toSerialize["package_file"] = o.PackageFile - } - if o.Republish != nil { - toSerialize["republish"] = o.Republish - } - if o.SymbolsFile != nil { - toSerialize["symbols_file"] = o.SymbolsFile - } - if o.Tags != nil { - toSerialize["tags"] = o.Tags - } - return json.Marshal(toSerialize) -} - -type NullablePackagesUploadNuget struct { - value *PackagesUploadNuget - isSet bool -} - -func (v NullablePackagesUploadNuget) Get() *PackagesUploadNuget { - return v.value -} - -func (v *NullablePackagesUploadNuget) Set(val *PackagesUploadNuget) { - v.value = val - v.isSet = true -} - -func (v NullablePackagesUploadNuget) IsSet() bool { - return v.isSet -} - -func (v *NullablePackagesUploadNuget) Unset() { - v.value = nil - v.isSet = false -} - -func NewNullablePackagesUploadNuget(val *PackagesUploadNuget) *NullablePackagesUploadNuget { - return &NullablePackagesUploadNuget{value: val, isSet: true} -} - -func (v NullablePackagesUploadNuget) MarshalJSON() ([]byte, error) { - return json.Marshal(v.value) -} - -func (v *NullablePackagesUploadNuget) UnmarshalJSON(src []byte) error { - v.isSet = true - return json.Unmarshal(src, &v.value) -} diff --git a/model_packages_upload_p2.go b/model_packages_upload_p2.go deleted file mode 100644 index 6187cee7..00000000 --- a/model_packages_upload_p2.go +++ /dev/null @@ -1,182 +0,0 @@ -/* -Cloudsmith API - -The API to the Cloudsmith Service - -API version: 1.121.3 -Contact: support@cloudsmith.io -*/ - -// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. - -package cloudsmith - -import ( - "encoding/json" -) - -// PackagesUploadP2 struct for PackagesUploadP2 -type PackagesUploadP2 struct { - // The primary file for the package. - PackageFile string `json:"package_file"` - // If true, the uploaded package will overwrite any others with the same attributes (e.g. same version); otherwise, it will be flagged as a duplicate. - Republish *bool `json:"republish,omitempty"` - // A comma-separated values list of tags to add to the package. - Tags *string `json:"tags,omitempty"` -} - -// NewPackagesUploadP2 instantiates a new PackagesUploadP2 object -// 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 NewPackagesUploadP2(packageFile string) *PackagesUploadP2 { - this := PackagesUploadP2{} - this.PackageFile = packageFile - return &this -} - -// NewPackagesUploadP2WithDefaults instantiates a new PackagesUploadP2 object -// This constructor will only assign default values to properties that have it defined, -// but it doesn't guarantee that properties required by API are set -func NewPackagesUploadP2WithDefaults() *PackagesUploadP2 { - this := PackagesUploadP2{} - return &this -} - -// GetPackageFile returns the PackageFile field value -func (o *PackagesUploadP2) GetPackageFile() string { - if o == nil { - var ret string - return ret - } - - return o.PackageFile -} - -// GetPackageFileOk returns a tuple with the PackageFile field value -// and a boolean to check if the value has been set. -func (o *PackagesUploadP2) GetPackageFileOk() (*string, bool) { - if o == nil { - return nil, false - } - return &o.PackageFile, true -} - -// SetPackageFile sets field value -func (o *PackagesUploadP2) SetPackageFile(v string) { - o.PackageFile = v -} - -// GetRepublish returns the Republish field value if set, zero value otherwise. -func (o *PackagesUploadP2) GetRepublish() bool { - if o == nil || o.Republish == nil { - var ret bool - return ret - } - return *o.Republish -} - -// GetRepublishOk returns a tuple with the Republish field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *PackagesUploadP2) GetRepublishOk() (*bool, bool) { - if o == nil || o.Republish == nil { - return nil, false - } - return o.Republish, true -} - -// HasRepublish returns a boolean if a field has been set. -func (o *PackagesUploadP2) HasRepublish() bool { - if o != nil && o.Republish != nil { - return true - } - - return false -} - -// SetRepublish gets a reference to the given bool and assigns it to the Republish field. -func (o *PackagesUploadP2) SetRepublish(v bool) { - o.Republish = &v -} - -// GetTags returns the Tags field value if set, zero value otherwise. -func (o *PackagesUploadP2) GetTags() string { - if o == nil || o.Tags == nil { - var ret string - return ret - } - return *o.Tags -} - -// GetTagsOk returns a tuple with the Tags field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *PackagesUploadP2) GetTagsOk() (*string, bool) { - if o == nil || o.Tags == nil { - return nil, false - } - return o.Tags, true -} - -// HasTags returns a boolean if a field has been set. -func (o *PackagesUploadP2) HasTags() bool { - if o != nil && o.Tags != nil { - return true - } - - return false -} - -// SetTags gets a reference to the given string and assigns it to the Tags field. -func (o *PackagesUploadP2) SetTags(v string) { - o.Tags = &v -} - -func (o PackagesUploadP2) MarshalJSON() ([]byte, error) { - toSerialize := map[string]interface{}{} - if true { - toSerialize["package_file"] = o.PackageFile - } - if o.Republish != nil { - toSerialize["republish"] = o.Republish - } - if o.Tags != nil { - toSerialize["tags"] = o.Tags - } - return json.Marshal(toSerialize) -} - -type NullablePackagesUploadP2 struct { - value *PackagesUploadP2 - isSet bool -} - -func (v NullablePackagesUploadP2) Get() *PackagesUploadP2 { - return v.value -} - -func (v *NullablePackagesUploadP2) Set(val *PackagesUploadP2) { - v.value = val - v.isSet = true -} - -func (v NullablePackagesUploadP2) IsSet() bool { - return v.isSet -} - -func (v *NullablePackagesUploadP2) Unset() { - v.value = nil - v.isSet = false -} - -func NewNullablePackagesUploadP2(val *PackagesUploadP2) *NullablePackagesUploadP2 { - return &NullablePackagesUploadP2{value: val, isSet: true} -} - -func (v NullablePackagesUploadP2) MarshalJSON() ([]byte, error) { - return json.Marshal(v.value) -} - -func (v *NullablePackagesUploadP2) UnmarshalJSON(src []byte) error { - v.isSet = true - return json.Unmarshal(src, &v.value) -} diff --git a/model_packages_upload_python.go b/model_packages_upload_python.go deleted file mode 100644 index 0b9a28b9..00000000 --- a/model_packages_upload_python.go +++ /dev/null @@ -1,182 +0,0 @@ -/* -Cloudsmith API - -The API to the Cloudsmith Service - -API version: 1.121.3 -Contact: support@cloudsmith.io -*/ - -// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. - -package cloudsmith - -import ( - "encoding/json" -) - -// PackagesUploadPython struct for PackagesUploadPython -type PackagesUploadPython struct { - // The primary file for the package. - PackageFile string `json:"package_file"` - // If true, the uploaded package will overwrite any others with the same attributes (e.g. same version); otherwise, it will be flagged as a duplicate. - Republish *bool `json:"republish,omitempty"` - // A comma-separated values list of tags to add to the package. - Tags *string `json:"tags,omitempty"` -} - -// NewPackagesUploadPython instantiates a new PackagesUploadPython object -// 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 NewPackagesUploadPython(packageFile string) *PackagesUploadPython { - this := PackagesUploadPython{} - this.PackageFile = packageFile - return &this -} - -// NewPackagesUploadPythonWithDefaults instantiates a new PackagesUploadPython object -// This constructor will only assign default values to properties that have it defined, -// but it doesn't guarantee that properties required by API are set -func NewPackagesUploadPythonWithDefaults() *PackagesUploadPython { - this := PackagesUploadPython{} - return &this -} - -// GetPackageFile returns the PackageFile field value -func (o *PackagesUploadPython) GetPackageFile() string { - if o == nil { - var ret string - return ret - } - - return o.PackageFile -} - -// GetPackageFileOk returns a tuple with the PackageFile field value -// and a boolean to check if the value has been set. -func (o *PackagesUploadPython) GetPackageFileOk() (*string, bool) { - if o == nil { - return nil, false - } - return &o.PackageFile, true -} - -// SetPackageFile sets field value -func (o *PackagesUploadPython) SetPackageFile(v string) { - o.PackageFile = v -} - -// GetRepublish returns the Republish field value if set, zero value otherwise. -func (o *PackagesUploadPython) GetRepublish() bool { - if o == nil || o.Republish == nil { - var ret bool - return ret - } - return *o.Republish -} - -// GetRepublishOk returns a tuple with the Republish field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *PackagesUploadPython) GetRepublishOk() (*bool, bool) { - if o == nil || o.Republish == nil { - return nil, false - } - return o.Republish, true -} - -// HasRepublish returns a boolean if a field has been set. -func (o *PackagesUploadPython) HasRepublish() bool { - if o != nil && o.Republish != nil { - return true - } - - return false -} - -// SetRepublish gets a reference to the given bool and assigns it to the Republish field. -func (o *PackagesUploadPython) SetRepublish(v bool) { - o.Republish = &v -} - -// GetTags returns the Tags field value if set, zero value otherwise. -func (o *PackagesUploadPython) GetTags() string { - if o == nil || o.Tags == nil { - var ret string - return ret - } - return *o.Tags -} - -// GetTagsOk returns a tuple with the Tags field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *PackagesUploadPython) GetTagsOk() (*string, bool) { - if o == nil || o.Tags == nil { - return nil, false - } - return o.Tags, true -} - -// HasTags returns a boolean if a field has been set. -func (o *PackagesUploadPython) HasTags() bool { - if o != nil && o.Tags != nil { - return true - } - - return false -} - -// SetTags gets a reference to the given string and assigns it to the Tags field. -func (o *PackagesUploadPython) SetTags(v string) { - o.Tags = &v -} - -func (o PackagesUploadPython) MarshalJSON() ([]byte, error) { - toSerialize := map[string]interface{}{} - if true { - toSerialize["package_file"] = o.PackageFile - } - if o.Republish != nil { - toSerialize["republish"] = o.Republish - } - if o.Tags != nil { - toSerialize["tags"] = o.Tags - } - return json.Marshal(toSerialize) -} - -type NullablePackagesUploadPython struct { - value *PackagesUploadPython - isSet bool -} - -func (v NullablePackagesUploadPython) Get() *PackagesUploadPython { - return v.value -} - -func (v *NullablePackagesUploadPython) Set(val *PackagesUploadPython) { - v.value = val - v.isSet = true -} - -func (v NullablePackagesUploadPython) IsSet() bool { - return v.isSet -} - -func (v *NullablePackagesUploadPython) Unset() { - v.value = nil - v.isSet = false -} - -func NewNullablePackagesUploadPython(val *PackagesUploadPython) *NullablePackagesUploadPython { - return &NullablePackagesUploadPython{value: val, isSet: true} -} - -func (v NullablePackagesUploadPython) MarshalJSON() ([]byte, error) { - return json.Marshal(v.value) -} - -func (v *NullablePackagesUploadPython) UnmarshalJSON(src []byte) error { - v.isSet = true - return json.Unmarshal(src, &v.value) -} diff --git a/model_packages_upload_raw.go b/model_packages_upload_raw.go deleted file mode 100644 index 5e3de6c3..00000000 --- a/model_packages_upload_raw.go +++ /dev/null @@ -1,367 +0,0 @@ -/* -Cloudsmith API - -The API to the Cloudsmith Service - -API version: 1.121.3 -Contact: support@cloudsmith.io -*/ - -// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. - -package cloudsmith - -import ( - "encoding/json" -) - -// PackagesUploadRaw struct for PackagesUploadRaw -type PackagesUploadRaw struct { - // A custom content/media (also known as MIME) type to be sent when downloading this file. By default Cloudsmith will attempt to detect the type, but if you need to override it, you can specify it here. - ContentType *string `json:"content_type,omitempty"` - // A textual description of this package. - Description *string `json:"description,omitempty"` - // The name of this package. - Name *string `json:"name,omitempty"` - // The primary file for the package. - PackageFile string `json:"package_file"` - // If true, the uploaded package will overwrite any others with the same attributes (e.g. same version); otherwise, it will be flagged as a duplicate. - Republish *bool `json:"republish,omitempty"` - // A one-liner synopsis of this package. - Summary *string `json:"summary,omitempty"` - // A comma-separated values list of tags to add to the package. - Tags *string `json:"tags,omitempty"` - // The raw version for this package. - Version *string `json:"version,omitempty"` -} - -// NewPackagesUploadRaw instantiates a new PackagesUploadRaw object -// 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 NewPackagesUploadRaw(packageFile string) *PackagesUploadRaw { - this := PackagesUploadRaw{} - this.PackageFile = packageFile - return &this -} - -// NewPackagesUploadRawWithDefaults instantiates a new PackagesUploadRaw object -// This constructor will only assign default values to properties that have it defined, -// but it doesn't guarantee that properties required by API are set -func NewPackagesUploadRawWithDefaults() *PackagesUploadRaw { - this := PackagesUploadRaw{} - return &this -} - -// GetContentType returns the ContentType field value if set, zero value otherwise. -func (o *PackagesUploadRaw) GetContentType() string { - if o == nil || o.ContentType == nil { - var ret string - return ret - } - return *o.ContentType -} - -// GetContentTypeOk returns a tuple with the ContentType field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *PackagesUploadRaw) GetContentTypeOk() (*string, bool) { - if o == nil || o.ContentType == nil { - return nil, false - } - return o.ContentType, true -} - -// HasContentType returns a boolean if a field has been set. -func (o *PackagesUploadRaw) HasContentType() bool { - if o != nil && o.ContentType != nil { - return true - } - - return false -} - -// SetContentType gets a reference to the given string and assigns it to the ContentType field. -func (o *PackagesUploadRaw) SetContentType(v string) { - o.ContentType = &v -} - -// GetDescription returns the Description field value if set, zero value otherwise. -func (o *PackagesUploadRaw) GetDescription() string { - if o == nil || o.Description == nil { - var ret string - return ret - } - return *o.Description -} - -// GetDescriptionOk returns a tuple with the Description field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *PackagesUploadRaw) GetDescriptionOk() (*string, bool) { - if o == nil || o.Description == nil { - return nil, false - } - return o.Description, true -} - -// HasDescription returns a boolean if a field has been set. -func (o *PackagesUploadRaw) HasDescription() bool { - if o != nil && o.Description != nil { - return true - } - - return false -} - -// SetDescription gets a reference to the given string and assigns it to the Description field. -func (o *PackagesUploadRaw) SetDescription(v string) { - o.Description = &v -} - -// GetName returns the Name field value if set, zero value otherwise. -func (o *PackagesUploadRaw) GetName() string { - if o == nil || o.Name == nil { - var ret string - return ret - } - return *o.Name -} - -// GetNameOk returns a tuple with the Name field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *PackagesUploadRaw) GetNameOk() (*string, bool) { - if o == nil || o.Name == nil { - return nil, false - } - return o.Name, true -} - -// HasName returns a boolean if a field has been set. -func (o *PackagesUploadRaw) HasName() bool { - if o != nil && o.Name != nil { - return true - } - - return false -} - -// SetName gets a reference to the given string and assigns it to the Name field. -func (o *PackagesUploadRaw) SetName(v string) { - o.Name = &v -} - -// GetPackageFile returns the PackageFile field value -func (o *PackagesUploadRaw) GetPackageFile() string { - if o == nil { - var ret string - return ret - } - - return o.PackageFile -} - -// GetPackageFileOk returns a tuple with the PackageFile field value -// and a boolean to check if the value has been set. -func (o *PackagesUploadRaw) GetPackageFileOk() (*string, bool) { - if o == nil { - return nil, false - } - return &o.PackageFile, true -} - -// SetPackageFile sets field value -func (o *PackagesUploadRaw) SetPackageFile(v string) { - o.PackageFile = v -} - -// GetRepublish returns the Republish field value if set, zero value otherwise. -func (o *PackagesUploadRaw) GetRepublish() bool { - if o == nil || o.Republish == nil { - var ret bool - return ret - } - return *o.Republish -} - -// GetRepublishOk returns a tuple with the Republish field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *PackagesUploadRaw) GetRepublishOk() (*bool, bool) { - if o == nil || o.Republish == nil { - return nil, false - } - return o.Republish, true -} - -// HasRepublish returns a boolean if a field has been set. -func (o *PackagesUploadRaw) HasRepublish() bool { - if o != nil && o.Republish != nil { - return true - } - - return false -} - -// SetRepublish gets a reference to the given bool and assigns it to the Republish field. -func (o *PackagesUploadRaw) SetRepublish(v bool) { - o.Republish = &v -} - -// GetSummary returns the Summary field value if set, zero value otherwise. -func (o *PackagesUploadRaw) GetSummary() string { - if o == nil || o.Summary == nil { - var ret string - return ret - } - return *o.Summary -} - -// GetSummaryOk returns a tuple with the Summary field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *PackagesUploadRaw) GetSummaryOk() (*string, bool) { - if o == nil || o.Summary == nil { - return nil, false - } - return o.Summary, true -} - -// HasSummary returns a boolean if a field has been set. -func (o *PackagesUploadRaw) HasSummary() bool { - if o != nil && o.Summary != nil { - return true - } - - return false -} - -// SetSummary gets a reference to the given string and assigns it to the Summary field. -func (o *PackagesUploadRaw) SetSummary(v string) { - o.Summary = &v -} - -// GetTags returns the Tags field value if set, zero value otherwise. -func (o *PackagesUploadRaw) GetTags() string { - if o == nil || o.Tags == nil { - var ret string - return ret - } - return *o.Tags -} - -// GetTagsOk returns a tuple with the Tags field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *PackagesUploadRaw) GetTagsOk() (*string, bool) { - if o == nil || o.Tags == nil { - return nil, false - } - return o.Tags, true -} - -// HasTags returns a boolean if a field has been set. -func (o *PackagesUploadRaw) HasTags() bool { - if o != nil && o.Tags != nil { - return true - } - - return false -} - -// SetTags gets a reference to the given string and assigns it to the Tags field. -func (o *PackagesUploadRaw) SetTags(v string) { - o.Tags = &v -} - -// GetVersion returns the Version field value if set, zero value otherwise. -func (o *PackagesUploadRaw) GetVersion() string { - if o == nil || o.Version == nil { - var ret string - return ret - } - return *o.Version -} - -// GetVersionOk returns a tuple with the Version field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *PackagesUploadRaw) GetVersionOk() (*string, bool) { - if o == nil || o.Version == nil { - return nil, false - } - return o.Version, true -} - -// HasVersion returns a boolean if a field has been set. -func (o *PackagesUploadRaw) HasVersion() bool { - if o != nil && o.Version != nil { - return true - } - - return false -} - -// SetVersion gets a reference to the given string and assigns it to the Version field. -func (o *PackagesUploadRaw) SetVersion(v string) { - o.Version = &v -} - -func (o PackagesUploadRaw) MarshalJSON() ([]byte, error) { - toSerialize := map[string]interface{}{} - if o.ContentType != nil { - toSerialize["content_type"] = o.ContentType - } - if o.Description != nil { - toSerialize["description"] = o.Description - } - if o.Name != nil { - toSerialize["name"] = o.Name - } - if true { - toSerialize["package_file"] = o.PackageFile - } - if o.Republish != nil { - toSerialize["republish"] = o.Republish - } - if o.Summary != nil { - toSerialize["summary"] = o.Summary - } - if o.Tags != nil { - toSerialize["tags"] = o.Tags - } - if o.Version != nil { - toSerialize["version"] = o.Version - } - return json.Marshal(toSerialize) -} - -type NullablePackagesUploadRaw struct { - value *PackagesUploadRaw - isSet bool -} - -func (v NullablePackagesUploadRaw) Get() *PackagesUploadRaw { - return v.value -} - -func (v *NullablePackagesUploadRaw) Set(val *PackagesUploadRaw) { - v.value = val - v.isSet = true -} - -func (v NullablePackagesUploadRaw) IsSet() bool { - return v.isSet -} - -func (v *NullablePackagesUploadRaw) Unset() { - v.value = nil - v.isSet = false -} - -func NewNullablePackagesUploadRaw(val *PackagesUploadRaw) *NullablePackagesUploadRaw { - return &NullablePackagesUploadRaw{value: val, isSet: true} -} - -func (v NullablePackagesUploadRaw) MarshalJSON() ([]byte, error) { - return json.Marshal(v.value) -} - -func (v *NullablePackagesUploadRaw) UnmarshalJSON(src []byte) error { - v.isSet = true - return json.Unmarshal(src, &v.value) -} diff --git a/model_packages_upload_rpm.go b/model_packages_upload_rpm.go deleted file mode 100644 index 84f135a3..00000000 --- a/model_packages_upload_rpm.go +++ /dev/null @@ -1,212 +0,0 @@ -/* -Cloudsmith API - -The API to the Cloudsmith Service - -API version: 1.121.3 -Contact: support@cloudsmith.io -*/ - -// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. - -package cloudsmith - -import ( - "encoding/json" -) - -// PackagesUploadRpm struct for PackagesUploadRpm -type PackagesUploadRpm struct { - // The distribution to store the package for. - Distribution string `json:"distribution"` - // The primary file for the package. - PackageFile string `json:"package_file"` - // If true, the uploaded package will overwrite any others with the same attributes (e.g. same version); otherwise, it will be flagged as a duplicate. - Republish *bool `json:"republish,omitempty"` - // A comma-separated values list of tags to add to the package. - Tags *string `json:"tags,omitempty"` -} - -// NewPackagesUploadRpm instantiates a new PackagesUploadRpm object -// 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 NewPackagesUploadRpm(distribution string, packageFile string) *PackagesUploadRpm { - this := PackagesUploadRpm{} - this.Distribution = distribution - this.PackageFile = packageFile - return &this -} - -// NewPackagesUploadRpmWithDefaults instantiates a new PackagesUploadRpm object -// This constructor will only assign default values to properties that have it defined, -// but it doesn't guarantee that properties required by API are set -func NewPackagesUploadRpmWithDefaults() *PackagesUploadRpm { - this := PackagesUploadRpm{} - return &this -} - -// GetDistribution returns the Distribution field value -func (o *PackagesUploadRpm) GetDistribution() string { - if o == nil { - var ret string - return ret - } - - return o.Distribution -} - -// GetDistributionOk returns a tuple with the Distribution field value -// and a boolean to check if the value has been set. -func (o *PackagesUploadRpm) GetDistributionOk() (*string, bool) { - if o == nil { - return nil, false - } - return &o.Distribution, true -} - -// SetDistribution sets field value -func (o *PackagesUploadRpm) SetDistribution(v string) { - o.Distribution = v -} - -// GetPackageFile returns the PackageFile field value -func (o *PackagesUploadRpm) GetPackageFile() string { - if o == nil { - var ret string - return ret - } - - return o.PackageFile -} - -// GetPackageFileOk returns a tuple with the PackageFile field value -// and a boolean to check if the value has been set. -func (o *PackagesUploadRpm) GetPackageFileOk() (*string, bool) { - if o == nil { - return nil, false - } - return &o.PackageFile, true -} - -// SetPackageFile sets field value -func (o *PackagesUploadRpm) SetPackageFile(v string) { - o.PackageFile = v -} - -// GetRepublish returns the Republish field value if set, zero value otherwise. -func (o *PackagesUploadRpm) GetRepublish() bool { - if o == nil || o.Republish == nil { - var ret bool - return ret - } - return *o.Republish -} - -// GetRepublishOk returns a tuple with the Republish field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *PackagesUploadRpm) GetRepublishOk() (*bool, bool) { - if o == nil || o.Republish == nil { - return nil, false - } - return o.Republish, true -} - -// HasRepublish returns a boolean if a field has been set. -func (o *PackagesUploadRpm) HasRepublish() bool { - if o != nil && o.Republish != nil { - return true - } - - return false -} - -// SetRepublish gets a reference to the given bool and assigns it to the Republish field. -func (o *PackagesUploadRpm) SetRepublish(v bool) { - o.Republish = &v -} - -// GetTags returns the Tags field value if set, zero value otherwise. -func (o *PackagesUploadRpm) GetTags() string { - if o == nil || o.Tags == nil { - var ret string - return ret - } - return *o.Tags -} - -// GetTagsOk returns a tuple with the Tags field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *PackagesUploadRpm) GetTagsOk() (*string, bool) { - if o == nil || o.Tags == nil { - return nil, false - } - return o.Tags, true -} - -// HasTags returns a boolean if a field has been set. -func (o *PackagesUploadRpm) HasTags() bool { - if o != nil && o.Tags != nil { - return true - } - - return false -} - -// SetTags gets a reference to the given string and assigns it to the Tags field. -func (o *PackagesUploadRpm) SetTags(v string) { - o.Tags = &v -} - -func (o PackagesUploadRpm) MarshalJSON() ([]byte, error) { - toSerialize := map[string]interface{}{} - if true { - toSerialize["distribution"] = o.Distribution - } - if true { - toSerialize["package_file"] = o.PackageFile - } - if o.Republish != nil { - toSerialize["republish"] = o.Republish - } - if o.Tags != nil { - toSerialize["tags"] = o.Tags - } - return json.Marshal(toSerialize) -} - -type NullablePackagesUploadRpm struct { - value *PackagesUploadRpm - isSet bool -} - -func (v NullablePackagesUploadRpm) Get() *PackagesUploadRpm { - return v.value -} - -func (v *NullablePackagesUploadRpm) Set(val *PackagesUploadRpm) { - v.value = val - v.isSet = true -} - -func (v NullablePackagesUploadRpm) IsSet() bool { - return v.isSet -} - -func (v *NullablePackagesUploadRpm) Unset() { - v.value = nil - v.isSet = false -} - -func NewNullablePackagesUploadRpm(val *PackagesUploadRpm) *NullablePackagesUploadRpm { - return &NullablePackagesUploadRpm{value: val, isSet: true} -} - -func (v NullablePackagesUploadRpm) MarshalJSON() ([]byte, error) { - return json.Marshal(v.value) -} - -func (v *NullablePackagesUploadRpm) UnmarshalJSON(src []byte) error { - v.isSet = true - return json.Unmarshal(src, &v.value) -} diff --git a/model_packages_upload_ruby.go b/model_packages_upload_ruby.go deleted file mode 100644 index fc667e8f..00000000 --- a/model_packages_upload_ruby.go +++ /dev/null @@ -1,182 +0,0 @@ -/* -Cloudsmith API - -The API to the Cloudsmith Service - -API version: 1.121.3 -Contact: support@cloudsmith.io -*/ - -// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. - -package cloudsmith - -import ( - "encoding/json" -) - -// PackagesUploadRuby struct for PackagesUploadRuby -type PackagesUploadRuby struct { - // The primary file for the package. - PackageFile string `json:"package_file"` - // If true, the uploaded package will overwrite any others with the same attributes (e.g. same version); otherwise, it will be flagged as a duplicate. - Republish *bool `json:"republish,omitempty"` - // A comma-separated values list of tags to add to the package. - Tags *string `json:"tags,omitempty"` -} - -// NewPackagesUploadRuby instantiates a new PackagesUploadRuby object -// 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 NewPackagesUploadRuby(packageFile string) *PackagesUploadRuby { - this := PackagesUploadRuby{} - this.PackageFile = packageFile - return &this -} - -// NewPackagesUploadRubyWithDefaults instantiates a new PackagesUploadRuby object -// This constructor will only assign default values to properties that have it defined, -// but it doesn't guarantee that properties required by API are set -func NewPackagesUploadRubyWithDefaults() *PackagesUploadRuby { - this := PackagesUploadRuby{} - return &this -} - -// GetPackageFile returns the PackageFile field value -func (o *PackagesUploadRuby) GetPackageFile() string { - if o == nil { - var ret string - return ret - } - - return o.PackageFile -} - -// GetPackageFileOk returns a tuple with the PackageFile field value -// and a boolean to check if the value has been set. -func (o *PackagesUploadRuby) GetPackageFileOk() (*string, bool) { - if o == nil { - return nil, false - } - return &o.PackageFile, true -} - -// SetPackageFile sets field value -func (o *PackagesUploadRuby) SetPackageFile(v string) { - o.PackageFile = v -} - -// GetRepublish returns the Republish field value if set, zero value otherwise. -func (o *PackagesUploadRuby) GetRepublish() bool { - if o == nil || o.Republish == nil { - var ret bool - return ret - } - return *o.Republish -} - -// GetRepublishOk returns a tuple with the Republish field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *PackagesUploadRuby) GetRepublishOk() (*bool, bool) { - if o == nil || o.Republish == nil { - return nil, false - } - return o.Republish, true -} - -// HasRepublish returns a boolean if a field has been set. -func (o *PackagesUploadRuby) HasRepublish() bool { - if o != nil && o.Republish != nil { - return true - } - - return false -} - -// SetRepublish gets a reference to the given bool and assigns it to the Republish field. -func (o *PackagesUploadRuby) SetRepublish(v bool) { - o.Republish = &v -} - -// GetTags returns the Tags field value if set, zero value otherwise. -func (o *PackagesUploadRuby) GetTags() string { - if o == nil || o.Tags == nil { - var ret string - return ret - } - return *o.Tags -} - -// GetTagsOk returns a tuple with the Tags field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *PackagesUploadRuby) GetTagsOk() (*string, bool) { - if o == nil || o.Tags == nil { - return nil, false - } - return o.Tags, true -} - -// HasTags returns a boolean if a field has been set. -func (o *PackagesUploadRuby) HasTags() bool { - if o != nil && o.Tags != nil { - return true - } - - return false -} - -// SetTags gets a reference to the given string and assigns it to the Tags field. -func (o *PackagesUploadRuby) SetTags(v string) { - o.Tags = &v -} - -func (o PackagesUploadRuby) MarshalJSON() ([]byte, error) { - toSerialize := map[string]interface{}{} - if true { - toSerialize["package_file"] = o.PackageFile - } - if o.Republish != nil { - toSerialize["republish"] = o.Republish - } - if o.Tags != nil { - toSerialize["tags"] = o.Tags - } - return json.Marshal(toSerialize) -} - -type NullablePackagesUploadRuby struct { - value *PackagesUploadRuby - isSet bool -} - -func (v NullablePackagesUploadRuby) Get() *PackagesUploadRuby { - return v.value -} - -func (v *NullablePackagesUploadRuby) Set(val *PackagesUploadRuby) { - v.value = val - v.isSet = true -} - -func (v NullablePackagesUploadRuby) IsSet() bool { - return v.isSet -} - -func (v *NullablePackagesUploadRuby) Unset() { - v.value = nil - v.isSet = false -} - -func NewNullablePackagesUploadRuby(val *PackagesUploadRuby) *NullablePackagesUploadRuby { - return &NullablePackagesUploadRuby{value: val, isSet: true} -} - -func (v NullablePackagesUploadRuby) MarshalJSON() ([]byte, error) { - return json.Marshal(v.value) -} - -func (v *NullablePackagesUploadRuby) UnmarshalJSON(src []byte) error { - v.isSet = true - return json.Unmarshal(src, &v.value) -} diff --git a/model_packages_upload_terraform.go b/model_packages_upload_terraform.go deleted file mode 100644 index b8cc1d96..00000000 --- a/model_packages_upload_terraform.go +++ /dev/null @@ -1,182 +0,0 @@ -/* -Cloudsmith API - -The API to the Cloudsmith Service - -API version: 1.121.3 -Contact: support@cloudsmith.io -*/ - -// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. - -package cloudsmith - -import ( - "encoding/json" -) - -// PackagesUploadTerraform struct for PackagesUploadTerraform -type PackagesUploadTerraform struct { - // The primary file for the package. - PackageFile string `json:"package_file"` - // If true, the uploaded package will overwrite any others with the same attributes (e.g. same version); otherwise, it will be flagged as a duplicate. - Republish *bool `json:"republish,omitempty"` - // A comma-separated values list of tags to add to the package. - Tags *string `json:"tags,omitempty"` -} - -// NewPackagesUploadTerraform instantiates a new PackagesUploadTerraform object -// 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 NewPackagesUploadTerraform(packageFile string) *PackagesUploadTerraform { - this := PackagesUploadTerraform{} - this.PackageFile = packageFile - return &this -} - -// NewPackagesUploadTerraformWithDefaults instantiates a new PackagesUploadTerraform object -// This constructor will only assign default values to properties that have it defined, -// but it doesn't guarantee that properties required by API are set -func NewPackagesUploadTerraformWithDefaults() *PackagesUploadTerraform { - this := PackagesUploadTerraform{} - return &this -} - -// GetPackageFile returns the PackageFile field value -func (o *PackagesUploadTerraform) GetPackageFile() string { - if o == nil { - var ret string - return ret - } - - return o.PackageFile -} - -// GetPackageFileOk returns a tuple with the PackageFile field value -// and a boolean to check if the value has been set. -func (o *PackagesUploadTerraform) GetPackageFileOk() (*string, bool) { - if o == nil { - return nil, false - } - return &o.PackageFile, true -} - -// SetPackageFile sets field value -func (o *PackagesUploadTerraform) SetPackageFile(v string) { - o.PackageFile = v -} - -// GetRepublish returns the Republish field value if set, zero value otherwise. -func (o *PackagesUploadTerraform) GetRepublish() bool { - if o == nil || o.Republish == nil { - var ret bool - return ret - } - return *o.Republish -} - -// GetRepublishOk returns a tuple with the Republish field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *PackagesUploadTerraform) GetRepublishOk() (*bool, bool) { - if o == nil || o.Republish == nil { - return nil, false - } - return o.Republish, true -} - -// HasRepublish returns a boolean if a field has been set. -func (o *PackagesUploadTerraform) HasRepublish() bool { - if o != nil && o.Republish != nil { - return true - } - - return false -} - -// SetRepublish gets a reference to the given bool and assigns it to the Republish field. -func (o *PackagesUploadTerraform) SetRepublish(v bool) { - o.Republish = &v -} - -// GetTags returns the Tags field value if set, zero value otherwise. -func (o *PackagesUploadTerraform) GetTags() string { - if o == nil || o.Tags == nil { - var ret string - return ret - } - return *o.Tags -} - -// GetTagsOk returns a tuple with the Tags field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *PackagesUploadTerraform) GetTagsOk() (*string, bool) { - if o == nil || o.Tags == nil { - return nil, false - } - return o.Tags, true -} - -// HasTags returns a boolean if a field has been set. -func (o *PackagesUploadTerraform) HasTags() bool { - if o != nil && o.Tags != nil { - return true - } - - return false -} - -// SetTags gets a reference to the given string and assigns it to the Tags field. -func (o *PackagesUploadTerraform) SetTags(v string) { - o.Tags = &v -} - -func (o PackagesUploadTerraform) MarshalJSON() ([]byte, error) { - toSerialize := map[string]interface{}{} - if true { - toSerialize["package_file"] = o.PackageFile - } - if o.Republish != nil { - toSerialize["republish"] = o.Republish - } - if o.Tags != nil { - toSerialize["tags"] = o.Tags - } - return json.Marshal(toSerialize) -} - -type NullablePackagesUploadTerraform struct { - value *PackagesUploadTerraform - isSet bool -} - -func (v NullablePackagesUploadTerraform) Get() *PackagesUploadTerraform { - return v.value -} - -func (v *NullablePackagesUploadTerraform) Set(val *PackagesUploadTerraform) { - v.value = val - v.isSet = true -} - -func (v NullablePackagesUploadTerraform) IsSet() bool { - return v.isSet -} - -func (v *NullablePackagesUploadTerraform) Unset() { - v.value = nil - v.isSet = false -} - -func NewNullablePackagesUploadTerraform(val *PackagesUploadTerraform) *NullablePackagesUploadTerraform { - return &NullablePackagesUploadTerraform{value: val, isSet: true} -} - -func (v NullablePackagesUploadTerraform) MarshalJSON() ([]byte, error) { - return json.Marshal(v.value) -} - -func (v *NullablePackagesUploadTerraform) UnmarshalJSON(src []byte) error { - v.isSet = true - return json.Unmarshal(src, &v.value) -} diff --git a/model_packages_validate_upload_cargo.go b/model_packages_validate_upload_cargo.go deleted file mode 100644 index 3311c27a..00000000 --- a/model_packages_validate_upload_cargo.go +++ /dev/null @@ -1,182 +0,0 @@ -/* -Cloudsmith API - -The API to the Cloudsmith Service - -API version: 1.121.3 -Contact: support@cloudsmith.io -*/ - -// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. - -package cloudsmith - -import ( - "encoding/json" -) - -// PackagesValidateUploadCargo struct for PackagesValidateUploadCargo -type PackagesValidateUploadCargo struct { - // The primary file for the package. - PackageFile string `json:"package_file"` - // If true, the uploaded package will overwrite any others with the same attributes (e.g. same version); otherwise, it will be flagged as a duplicate. - Republish *bool `json:"republish,omitempty"` - // A comma-separated values list of tags to add to the package. - Tags *string `json:"tags,omitempty"` -} - -// NewPackagesValidateUploadCargo instantiates a new PackagesValidateUploadCargo object -// 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 NewPackagesValidateUploadCargo(packageFile string) *PackagesValidateUploadCargo { - this := PackagesValidateUploadCargo{} - this.PackageFile = packageFile - return &this -} - -// NewPackagesValidateUploadCargoWithDefaults instantiates a new PackagesValidateUploadCargo object -// This constructor will only assign default values to properties that have it defined, -// but it doesn't guarantee that properties required by API are set -func NewPackagesValidateUploadCargoWithDefaults() *PackagesValidateUploadCargo { - this := PackagesValidateUploadCargo{} - return &this -} - -// GetPackageFile returns the PackageFile field value -func (o *PackagesValidateUploadCargo) GetPackageFile() string { - if o == nil { - var ret string - return ret - } - - return o.PackageFile -} - -// GetPackageFileOk returns a tuple with the PackageFile field value -// and a boolean to check if the value has been set. -func (o *PackagesValidateUploadCargo) GetPackageFileOk() (*string, bool) { - if o == nil { - return nil, false - } - return &o.PackageFile, true -} - -// SetPackageFile sets field value -func (o *PackagesValidateUploadCargo) SetPackageFile(v string) { - o.PackageFile = v -} - -// GetRepublish returns the Republish field value if set, zero value otherwise. -func (o *PackagesValidateUploadCargo) GetRepublish() bool { - if o == nil || o.Republish == nil { - var ret bool - return ret - } - return *o.Republish -} - -// GetRepublishOk returns a tuple with the Republish field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *PackagesValidateUploadCargo) GetRepublishOk() (*bool, bool) { - if o == nil || o.Republish == nil { - return nil, false - } - return o.Republish, true -} - -// HasRepublish returns a boolean if a field has been set. -func (o *PackagesValidateUploadCargo) HasRepublish() bool { - if o != nil && o.Republish != nil { - return true - } - - return false -} - -// SetRepublish gets a reference to the given bool and assigns it to the Republish field. -func (o *PackagesValidateUploadCargo) SetRepublish(v bool) { - o.Republish = &v -} - -// GetTags returns the Tags field value if set, zero value otherwise. -func (o *PackagesValidateUploadCargo) GetTags() string { - if o == nil || o.Tags == nil { - var ret string - return ret - } - return *o.Tags -} - -// GetTagsOk returns a tuple with the Tags field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *PackagesValidateUploadCargo) GetTagsOk() (*string, bool) { - if o == nil || o.Tags == nil { - return nil, false - } - return o.Tags, true -} - -// HasTags returns a boolean if a field has been set. -func (o *PackagesValidateUploadCargo) HasTags() bool { - if o != nil && o.Tags != nil { - return true - } - - return false -} - -// SetTags gets a reference to the given string and assigns it to the Tags field. -func (o *PackagesValidateUploadCargo) SetTags(v string) { - o.Tags = &v -} - -func (o PackagesValidateUploadCargo) MarshalJSON() ([]byte, error) { - toSerialize := map[string]interface{}{} - if true { - toSerialize["package_file"] = o.PackageFile - } - if o.Republish != nil { - toSerialize["republish"] = o.Republish - } - if o.Tags != nil { - toSerialize["tags"] = o.Tags - } - return json.Marshal(toSerialize) -} - -type NullablePackagesValidateUploadCargo struct { - value *PackagesValidateUploadCargo - isSet bool -} - -func (v NullablePackagesValidateUploadCargo) Get() *PackagesValidateUploadCargo { - return v.value -} - -func (v *NullablePackagesValidateUploadCargo) Set(val *PackagesValidateUploadCargo) { - v.value = val - v.isSet = true -} - -func (v NullablePackagesValidateUploadCargo) IsSet() bool { - return v.isSet -} - -func (v *NullablePackagesValidateUploadCargo) Unset() { - v.value = nil - v.isSet = false -} - -func NewNullablePackagesValidateUploadCargo(val *PackagesValidateUploadCargo) *NullablePackagesValidateUploadCargo { - return &NullablePackagesValidateUploadCargo{value: val, isSet: true} -} - -func (v NullablePackagesValidateUploadCargo) MarshalJSON() ([]byte, error) { - return json.Marshal(v.value) -} - -func (v *NullablePackagesValidateUploadCargo) UnmarshalJSON(src []byte) error { - v.isSet = true - return json.Unmarshal(src, &v.value) -} diff --git a/model_packages_validate_upload_cocoapods.go b/model_packages_validate_upload_cocoapods.go deleted file mode 100644 index e5c76f2b..00000000 --- a/model_packages_validate_upload_cocoapods.go +++ /dev/null @@ -1,182 +0,0 @@ -/* -Cloudsmith API - -The API to the Cloudsmith Service - -API version: 1.121.3 -Contact: support@cloudsmith.io -*/ - -// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. - -package cloudsmith - -import ( - "encoding/json" -) - -// PackagesValidateUploadCocoapods struct for PackagesValidateUploadCocoapods -type PackagesValidateUploadCocoapods struct { - // The primary file for the package. - PackageFile string `json:"package_file"` - // If true, the uploaded package will overwrite any others with the same attributes (e.g. same version); otherwise, it will be flagged as a duplicate. - Republish *bool `json:"republish,omitempty"` - // A comma-separated values list of tags to add to the package. - Tags *string `json:"tags,omitempty"` -} - -// NewPackagesValidateUploadCocoapods instantiates a new PackagesValidateUploadCocoapods object -// 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 NewPackagesValidateUploadCocoapods(packageFile string) *PackagesValidateUploadCocoapods { - this := PackagesValidateUploadCocoapods{} - this.PackageFile = packageFile - return &this -} - -// NewPackagesValidateUploadCocoapodsWithDefaults instantiates a new PackagesValidateUploadCocoapods object -// This constructor will only assign default values to properties that have it defined, -// but it doesn't guarantee that properties required by API are set -func NewPackagesValidateUploadCocoapodsWithDefaults() *PackagesValidateUploadCocoapods { - this := PackagesValidateUploadCocoapods{} - return &this -} - -// GetPackageFile returns the PackageFile field value -func (o *PackagesValidateUploadCocoapods) GetPackageFile() string { - if o == nil { - var ret string - return ret - } - - return o.PackageFile -} - -// GetPackageFileOk returns a tuple with the PackageFile field value -// and a boolean to check if the value has been set. -func (o *PackagesValidateUploadCocoapods) GetPackageFileOk() (*string, bool) { - if o == nil { - return nil, false - } - return &o.PackageFile, true -} - -// SetPackageFile sets field value -func (o *PackagesValidateUploadCocoapods) SetPackageFile(v string) { - o.PackageFile = v -} - -// GetRepublish returns the Republish field value if set, zero value otherwise. -func (o *PackagesValidateUploadCocoapods) GetRepublish() bool { - if o == nil || o.Republish == nil { - var ret bool - return ret - } - return *o.Republish -} - -// GetRepublishOk returns a tuple with the Republish field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *PackagesValidateUploadCocoapods) GetRepublishOk() (*bool, bool) { - if o == nil || o.Republish == nil { - return nil, false - } - return o.Republish, true -} - -// HasRepublish returns a boolean if a field has been set. -func (o *PackagesValidateUploadCocoapods) HasRepublish() bool { - if o != nil && o.Republish != nil { - return true - } - - return false -} - -// SetRepublish gets a reference to the given bool and assigns it to the Republish field. -func (o *PackagesValidateUploadCocoapods) SetRepublish(v bool) { - o.Republish = &v -} - -// GetTags returns the Tags field value if set, zero value otherwise. -func (o *PackagesValidateUploadCocoapods) GetTags() string { - if o == nil || o.Tags == nil { - var ret string - return ret - } - return *o.Tags -} - -// GetTagsOk returns a tuple with the Tags field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *PackagesValidateUploadCocoapods) GetTagsOk() (*string, bool) { - if o == nil || o.Tags == nil { - return nil, false - } - return o.Tags, true -} - -// HasTags returns a boolean if a field has been set. -func (o *PackagesValidateUploadCocoapods) HasTags() bool { - if o != nil && o.Tags != nil { - return true - } - - return false -} - -// SetTags gets a reference to the given string and assigns it to the Tags field. -func (o *PackagesValidateUploadCocoapods) SetTags(v string) { - o.Tags = &v -} - -func (o PackagesValidateUploadCocoapods) MarshalJSON() ([]byte, error) { - toSerialize := map[string]interface{}{} - if true { - toSerialize["package_file"] = o.PackageFile - } - if o.Republish != nil { - toSerialize["republish"] = o.Republish - } - if o.Tags != nil { - toSerialize["tags"] = o.Tags - } - return json.Marshal(toSerialize) -} - -type NullablePackagesValidateUploadCocoapods struct { - value *PackagesValidateUploadCocoapods - isSet bool -} - -func (v NullablePackagesValidateUploadCocoapods) Get() *PackagesValidateUploadCocoapods { - return v.value -} - -func (v *NullablePackagesValidateUploadCocoapods) Set(val *PackagesValidateUploadCocoapods) { - v.value = val - v.isSet = true -} - -func (v NullablePackagesValidateUploadCocoapods) IsSet() bool { - return v.isSet -} - -func (v *NullablePackagesValidateUploadCocoapods) Unset() { - v.value = nil - v.isSet = false -} - -func NewNullablePackagesValidateUploadCocoapods(val *PackagesValidateUploadCocoapods) *NullablePackagesValidateUploadCocoapods { - return &NullablePackagesValidateUploadCocoapods{value: val, isSet: true} -} - -func (v NullablePackagesValidateUploadCocoapods) MarshalJSON() ([]byte, error) { - return json.Marshal(v.value) -} - -func (v *NullablePackagesValidateUploadCocoapods) UnmarshalJSON(src []byte) error { - v.isSet = true - return json.Unmarshal(src, &v.value) -} diff --git a/model_packages_validate_upload_composer.go b/model_packages_validate_upload_composer.go deleted file mode 100644 index d4925892..00000000 --- a/model_packages_validate_upload_composer.go +++ /dev/null @@ -1,182 +0,0 @@ -/* -Cloudsmith API - -The API to the Cloudsmith Service - -API version: 1.121.3 -Contact: support@cloudsmith.io -*/ - -// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. - -package cloudsmith - -import ( - "encoding/json" -) - -// PackagesValidateUploadComposer struct for PackagesValidateUploadComposer -type PackagesValidateUploadComposer struct { - // The primary file for the package. - PackageFile string `json:"package_file"` - // If true, the uploaded package will overwrite any others with the same attributes (e.g. same version); otherwise, it will be flagged as a duplicate. - Republish *bool `json:"republish,omitempty"` - // A comma-separated values list of tags to add to the package. - Tags *string `json:"tags,omitempty"` -} - -// NewPackagesValidateUploadComposer instantiates a new PackagesValidateUploadComposer object -// 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 NewPackagesValidateUploadComposer(packageFile string) *PackagesValidateUploadComposer { - this := PackagesValidateUploadComposer{} - this.PackageFile = packageFile - return &this -} - -// NewPackagesValidateUploadComposerWithDefaults instantiates a new PackagesValidateUploadComposer object -// This constructor will only assign default values to properties that have it defined, -// but it doesn't guarantee that properties required by API are set -func NewPackagesValidateUploadComposerWithDefaults() *PackagesValidateUploadComposer { - this := PackagesValidateUploadComposer{} - return &this -} - -// GetPackageFile returns the PackageFile field value -func (o *PackagesValidateUploadComposer) GetPackageFile() string { - if o == nil { - var ret string - return ret - } - - return o.PackageFile -} - -// GetPackageFileOk returns a tuple with the PackageFile field value -// and a boolean to check if the value has been set. -func (o *PackagesValidateUploadComposer) GetPackageFileOk() (*string, bool) { - if o == nil { - return nil, false - } - return &o.PackageFile, true -} - -// SetPackageFile sets field value -func (o *PackagesValidateUploadComposer) SetPackageFile(v string) { - o.PackageFile = v -} - -// GetRepublish returns the Republish field value if set, zero value otherwise. -func (o *PackagesValidateUploadComposer) GetRepublish() bool { - if o == nil || o.Republish == nil { - var ret bool - return ret - } - return *o.Republish -} - -// GetRepublishOk returns a tuple with the Republish field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *PackagesValidateUploadComposer) GetRepublishOk() (*bool, bool) { - if o == nil || o.Republish == nil { - return nil, false - } - return o.Republish, true -} - -// HasRepublish returns a boolean if a field has been set. -func (o *PackagesValidateUploadComposer) HasRepublish() bool { - if o != nil && o.Republish != nil { - return true - } - - return false -} - -// SetRepublish gets a reference to the given bool and assigns it to the Republish field. -func (o *PackagesValidateUploadComposer) SetRepublish(v bool) { - o.Republish = &v -} - -// GetTags returns the Tags field value if set, zero value otherwise. -func (o *PackagesValidateUploadComposer) GetTags() string { - if o == nil || o.Tags == nil { - var ret string - return ret - } - return *o.Tags -} - -// GetTagsOk returns a tuple with the Tags field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *PackagesValidateUploadComposer) GetTagsOk() (*string, bool) { - if o == nil || o.Tags == nil { - return nil, false - } - return o.Tags, true -} - -// HasTags returns a boolean if a field has been set. -func (o *PackagesValidateUploadComposer) HasTags() bool { - if o != nil && o.Tags != nil { - return true - } - - return false -} - -// SetTags gets a reference to the given string and assigns it to the Tags field. -func (o *PackagesValidateUploadComposer) SetTags(v string) { - o.Tags = &v -} - -func (o PackagesValidateUploadComposer) MarshalJSON() ([]byte, error) { - toSerialize := map[string]interface{}{} - if true { - toSerialize["package_file"] = o.PackageFile - } - if o.Republish != nil { - toSerialize["republish"] = o.Republish - } - if o.Tags != nil { - toSerialize["tags"] = o.Tags - } - return json.Marshal(toSerialize) -} - -type NullablePackagesValidateUploadComposer struct { - value *PackagesValidateUploadComposer - isSet bool -} - -func (v NullablePackagesValidateUploadComposer) Get() *PackagesValidateUploadComposer { - return v.value -} - -func (v *NullablePackagesValidateUploadComposer) Set(val *PackagesValidateUploadComposer) { - v.value = val - v.isSet = true -} - -func (v NullablePackagesValidateUploadComposer) IsSet() bool { - return v.isSet -} - -func (v *NullablePackagesValidateUploadComposer) Unset() { - v.value = nil - v.isSet = false -} - -func NewNullablePackagesValidateUploadComposer(val *PackagesValidateUploadComposer) *NullablePackagesValidateUploadComposer { - return &NullablePackagesValidateUploadComposer{value: val, isSet: true} -} - -func (v NullablePackagesValidateUploadComposer) MarshalJSON() ([]byte, error) { - return json.Marshal(v.value) -} - -func (v *NullablePackagesValidateUploadComposer) UnmarshalJSON(src []byte) error { - v.isSet = true - return json.Unmarshal(src, &v.value) -} diff --git a/model_packages_validate_upload_conan.go b/model_packages_validate_upload_conan.go deleted file mode 100644 index 8005de9e..00000000 --- a/model_packages_validate_upload_conan.go +++ /dev/null @@ -1,420 +0,0 @@ -/* -Cloudsmith API - -The API to the Cloudsmith Service - -API version: 1.121.3 -Contact: support@cloudsmith.io -*/ - -// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. - -package cloudsmith - -import ( - "encoding/json" -) - -// PackagesValidateUploadConan struct for PackagesValidateUploadConan -type PackagesValidateUploadConan struct { - // Conan channel. - ConanChannel *string `json:"conan_channel,omitempty"` - // Conan prefix (User). - ConanPrefix *string `json:"conan_prefix,omitempty"` - // The info file is an python file containing the package metadata. - InfoFile string `json:"info_file"` - // The info file is an python file containing the package metadata. - ManifestFile string `json:"manifest_file"` - // The conan file is an python file containing the package metadata. - MetadataFile string `json:"metadata_file"` - // The name of this package. - Name *string `json:"name,omitempty"` - // The primary file for the package. - PackageFile string `json:"package_file"` - // If true, the uploaded package will overwrite any others with the same attributes (e.g. same version); otherwise, it will be flagged as a duplicate. - Republish *bool `json:"republish,omitempty"` - // A comma-separated values list of tags to add to the package. - Tags *string `json:"tags,omitempty"` - // The raw version for this package. - Version *string `json:"version,omitempty"` -} - -// NewPackagesValidateUploadConan instantiates a new PackagesValidateUploadConan object -// 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 NewPackagesValidateUploadConan(infoFile string, manifestFile string, metadataFile string, packageFile string) *PackagesValidateUploadConan { - this := PackagesValidateUploadConan{} - this.InfoFile = infoFile - this.ManifestFile = manifestFile - this.MetadataFile = metadataFile - this.PackageFile = packageFile - return &this -} - -// NewPackagesValidateUploadConanWithDefaults instantiates a new PackagesValidateUploadConan object -// This constructor will only assign default values to properties that have it defined, -// but it doesn't guarantee that properties required by API are set -func NewPackagesValidateUploadConanWithDefaults() *PackagesValidateUploadConan { - this := PackagesValidateUploadConan{} - return &this -} - -// GetConanChannel returns the ConanChannel field value if set, zero value otherwise. -func (o *PackagesValidateUploadConan) GetConanChannel() string { - if o == nil || o.ConanChannel == nil { - var ret string - return ret - } - return *o.ConanChannel -} - -// GetConanChannelOk returns a tuple with the ConanChannel field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *PackagesValidateUploadConan) GetConanChannelOk() (*string, bool) { - if o == nil || o.ConanChannel == nil { - return nil, false - } - return o.ConanChannel, true -} - -// HasConanChannel returns a boolean if a field has been set. -func (o *PackagesValidateUploadConan) HasConanChannel() bool { - if o != nil && o.ConanChannel != nil { - return true - } - - return false -} - -// SetConanChannel gets a reference to the given string and assigns it to the ConanChannel field. -func (o *PackagesValidateUploadConan) SetConanChannel(v string) { - o.ConanChannel = &v -} - -// GetConanPrefix returns the ConanPrefix field value if set, zero value otherwise. -func (o *PackagesValidateUploadConan) GetConanPrefix() string { - if o == nil || o.ConanPrefix == nil { - var ret string - return ret - } - return *o.ConanPrefix -} - -// GetConanPrefixOk returns a tuple with the ConanPrefix field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *PackagesValidateUploadConan) GetConanPrefixOk() (*string, bool) { - if o == nil || o.ConanPrefix == nil { - return nil, false - } - return o.ConanPrefix, true -} - -// HasConanPrefix returns a boolean if a field has been set. -func (o *PackagesValidateUploadConan) HasConanPrefix() bool { - if o != nil && o.ConanPrefix != nil { - return true - } - - return false -} - -// SetConanPrefix gets a reference to the given string and assigns it to the ConanPrefix field. -func (o *PackagesValidateUploadConan) SetConanPrefix(v string) { - o.ConanPrefix = &v -} - -// GetInfoFile returns the InfoFile field value -func (o *PackagesValidateUploadConan) GetInfoFile() string { - if o == nil { - var ret string - return ret - } - - return o.InfoFile -} - -// GetInfoFileOk returns a tuple with the InfoFile field value -// and a boolean to check if the value has been set. -func (o *PackagesValidateUploadConan) GetInfoFileOk() (*string, bool) { - if o == nil { - return nil, false - } - return &o.InfoFile, true -} - -// SetInfoFile sets field value -func (o *PackagesValidateUploadConan) SetInfoFile(v string) { - o.InfoFile = v -} - -// GetManifestFile returns the ManifestFile field value -func (o *PackagesValidateUploadConan) GetManifestFile() string { - if o == nil { - var ret string - return ret - } - - return o.ManifestFile -} - -// GetManifestFileOk returns a tuple with the ManifestFile field value -// and a boolean to check if the value has been set. -func (o *PackagesValidateUploadConan) GetManifestFileOk() (*string, bool) { - if o == nil { - return nil, false - } - return &o.ManifestFile, true -} - -// SetManifestFile sets field value -func (o *PackagesValidateUploadConan) SetManifestFile(v string) { - o.ManifestFile = v -} - -// GetMetadataFile returns the MetadataFile field value -func (o *PackagesValidateUploadConan) GetMetadataFile() string { - if o == nil { - var ret string - return ret - } - - return o.MetadataFile -} - -// GetMetadataFileOk returns a tuple with the MetadataFile field value -// and a boolean to check if the value has been set. -func (o *PackagesValidateUploadConan) GetMetadataFileOk() (*string, bool) { - if o == nil { - return nil, false - } - return &o.MetadataFile, true -} - -// SetMetadataFile sets field value -func (o *PackagesValidateUploadConan) SetMetadataFile(v string) { - o.MetadataFile = v -} - -// GetName returns the Name field value if set, zero value otherwise. -func (o *PackagesValidateUploadConan) GetName() string { - if o == nil || o.Name == nil { - var ret string - return ret - } - return *o.Name -} - -// GetNameOk returns a tuple with the Name field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *PackagesValidateUploadConan) GetNameOk() (*string, bool) { - if o == nil || o.Name == nil { - return nil, false - } - return o.Name, true -} - -// HasName returns a boolean if a field has been set. -func (o *PackagesValidateUploadConan) HasName() bool { - if o != nil && o.Name != nil { - return true - } - - return false -} - -// SetName gets a reference to the given string and assigns it to the Name field. -func (o *PackagesValidateUploadConan) SetName(v string) { - o.Name = &v -} - -// GetPackageFile returns the PackageFile field value -func (o *PackagesValidateUploadConan) GetPackageFile() string { - if o == nil { - var ret string - return ret - } - - return o.PackageFile -} - -// GetPackageFileOk returns a tuple with the PackageFile field value -// and a boolean to check if the value has been set. -func (o *PackagesValidateUploadConan) GetPackageFileOk() (*string, bool) { - if o == nil { - return nil, false - } - return &o.PackageFile, true -} - -// SetPackageFile sets field value -func (o *PackagesValidateUploadConan) SetPackageFile(v string) { - o.PackageFile = v -} - -// GetRepublish returns the Republish field value if set, zero value otherwise. -func (o *PackagesValidateUploadConan) GetRepublish() bool { - if o == nil || o.Republish == nil { - var ret bool - return ret - } - return *o.Republish -} - -// GetRepublishOk returns a tuple with the Republish field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *PackagesValidateUploadConan) GetRepublishOk() (*bool, bool) { - if o == nil || o.Republish == nil { - return nil, false - } - return o.Republish, true -} - -// HasRepublish returns a boolean if a field has been set. -func (o *PackagesValidateUploadConan) HasRepublish() bool { - if o != nil && o.Republish != nil { - return true - } - - return false -} - -// SetRepublish gets a reference to the given bool and assigns it to the Republish field. -func (o *PackagesValidateUploadConan) SetRepublish(v bool) { - o.Republish = &v -} - -// GetTags returns the Tags field value if set, zero value otherwise. -func (o *PackagesValidateUploadConan) GetTags() string { - if o == nil || o.Tags == nil { - var ret string - return ret - } - return *o.Tags -} - -// GetTagsOk returns a tuple with the Tags field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *PackagesValidateUploadConan) GetTagsOk() (*string, bool) { - if o == nil || o.Tags == nil { - return nil, false - } - return o.Tags, true -} - -// HasTags returns a boolean if a field has been set. -func (o *PackagesValidateUploadConan) HasTags() bool { - if o != nil && o.Tags != nil { - return true - } - - return false -} - -// SetTags gets a reference to the given string and assigns it to the Tags field. -func (o *PackagesValidateUploadConan) SetTags(v string) { - o.Tags = &v -} - -// GetVersion returns the Version field value if set, zero value otherwise. -func (o *PackagesValidateUploadConan) GetVersion() string { - if o == nil || o.Version == nil { - var ret string - return ret - } - return *o.Version -} - -// GetVersionOk returns a tuple with the Version field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *PackagesValidateUploadConan) GetVersionOk() (*string, bool) { - if o == nil || o.Version == nil { - return nil, false - } - return o.Version, true -} - -// HasVersion returns a boolean if a field has been set. -func (o *PackagesValidateUploadConan) HasVersion() bool { - if o != nil && o.Version != nil { - return true - } - - return false -} - -// SetVersion gets a reference to the given string and assigns it to the Version field. -func (o *PackagesValidateUploadConan) SetVersion(v string) { - o.Version = &v -} - -func (o PackagesValidateUploadConan) MarshalJSON() ([]byte, error) { - toSerialize := map[string]interface{}{} - if o.ConanChannel != nil { - toSerialize["conan_channel"] = o.ConanChannel - } - if o.ConanPrefix != nil { - toSerialize["conan_prefix"] = o.ConanPrefix - } - if true { - toSerialize["info_file"] = o.InfoFile - } - if true { - toSerialize["manifest_file"] = o.ManifestFile - } - if true { - toSerialize["metadata_file"] = o.MetadataFile - } - if o.Name != nil { - toSerialize["name"] = o.Name - } - if true { - toSerialize["package_file"] = o.PackageFile - } - if o.Republish != nil { - toSerialize["republish"] = o.Republish - } - if o.Tags != nil { - toSerialize["tags"] = o.Tags - } - if o.Version != nil { - toSerialize["version"] = o.Version - } - return json.Marshal(toSerialize) -} - -type NullablePackagesValidateUploadConan struct { - value *PackagesValidateUploadConan - isSet bool -} - -func (v NullablePackagesValidateUploadConan) Get() *PackagesValidateUploadConan { - return v.value -} - -func (v *NullablePackagesValidateUploadConan) Set(val *PackagesValidateUploadConan) { - v.value = val - v.isSet = true -} - -func (v NullablePackagesValidateUploadConan) IsSet() bool { - return v.isSet -} - -func (v *NullablePackagesValidateUploadConan) Unset() { - v.value = nil - v.isSet = false -} - -func NewNullablePackagesValidateUploadConan(val *PackagesValidateUploadConan) *NullablePackagesValidateUploadConan { - return &NullablePackagesValidateUploadConan{value: val, isSet: true} -} - -func (v NullablePackagesValidateUploadConan) MarshalJSON() ([]byte, error) { - return json.Marshal(v.value) -} - -func (v *NullablePackagesValidateUploadConan) UnmarshalJSON(src []byte) error { - v.isSet = true - return json.Unmarshal(src, &v.value) -} diff --git a/model_packages_validate_upload_conda.go b/model_packages_validate_upload_conda.go deleted file mode 100644 index 92ba2e43..00000000 --- a/model_packages_validate_upload_conda.go +++ /dev/null @@ -1,182 +0,0 @@ -/* -Cloudsmith API - -The API to the Cloudsmith Service - -API version: 1.121.3 -Contact: support@cloudsmith.io -*/ - -// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. - -package cloudsmith - -import ( - "encoding/json" -) - -// PackagesValidateUploadConda struct for PackagesValidateUploadConda -type PackagesValidateUploadConda struct { - // The primary file for the package. - PackageFile string `json:"package_file"` - // If true, the uploaded package will overwrite any others with the same attributes (e.g. same version); otherwise, it will be flagged as a duplicate. - Republish *bool `json:"republish,omitempty"` - // A comma-separated values list of tags to add to the package. - Tags *string `json:"tags,omitempty"` -} - -// NewPackagesValidateUploadConda instantiates a new PackagesValidateUploadConda object -// 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 NewPackagesValidateUploadConda(packageFile string) *PackagesValidateUploadConda { - this := PackagesValidateUploadConda{} - this.PackageFile = packageFile - return &this -} - -// NewPackagesValidateUploadCondaWithDefaults instantiates a new PackagesValidateUploadConda object -// This constructor will only assign default values to properties that have it defined, -// but it doesn't guarantee that properties required by API are set -func NewPackagesValidateUploadCondaWithDefaults() *PackagesValidateUploadConda { - this := PackagesValidateUploadConda{} - return &this -} - -// GetPackageFile returns the PackageFile field value -func (o *PackagesValidateUploadConda) GetPackageFile() string { - if o == nil { - var ret string - return ret - } - - return o.PackageFile -} - -// GetPackageFileOk returns a tuple with the PackageFile field value -// and a boolean to check if the value has been set. -func (o *PackagesValidateUploadConda) GetPackageFileOk() (*string, bool) { - if o == nil { - return nil, false - } - return &o.PackageFile, true -} - -// SetPackageFile sets field value -func (o *PackagesValidateUploadConda) SetPackageFile(v string) { - o.PackageFile = v -} - -// GetRepublish returns the Republish field value if set, zero value otherwise. -func (o *PackagesValidateUploadConda) GetRepublish() bool { - if o == nil || o.Republish == nil { - var ret bool - return ret - } - return *o.Republish -} - -// GetRepublishOk returns a tuple with the Republish field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *PackagesValidateUploadConda) GetRepublishOk() (*bool, bool) { - if o == nil || o.Republish == nil { - return nil, false - } - return o.Republish, true -} - -// HasRepublish returns a boolean if a field has been set. -func (o *PackagesValidateUploadConda) HasRepublish() bool { - if o != nil && o.Republish != nil { - return true - } - - return false -} - -// SetRepublish gets a reference to the given bool and assigns it to the Republish field. -func (o *PackagesValidateUploadConda) SetRepublish(v bool) { - o.Republish = &v -} - -// GetTags returns the Tags field value if set, zero value otherwise. -func (o *PackagesValidateUploadConda) GetTags() string { - if o == nil || o.Tags == nil { - var ret string - return ret - } - return *o.Tags -} - -// GetTagsOk returns a tuple with the Tags field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *PackagesValidateUploadConda) GetTagsOk() (*string, bool) { - if o == nil || o.Tags == nil { - return nil, false - } - return o.Tags, true -} - -// HasTags returns a boolean if a field has been set. -func (o *PackagesValidateUploadConda) HasTags() bool { - if o != nil && o.Tags != nil { - return true - } - - return false -} - -// SetTags gets a reference to the given string and assigns it to the Tags field. -func (o *PackagesValidateUploadConda) SetTags(v string) { - o.Tags = &v -} - -func (o PackagesValidateUploadConda) MarshalJSON() ([]byte, error) { - toSerialize := map[string]interface{}{} - if true { - toSerialize["package_file"] = o.PackageFile - } - if o.Republish != nil { - toSerialize["republish"] = o.Republish - } - if o.Tags != nil { - toSerialize["tags"] = o.Tags - } - return json.Marshal(toSerialize) -} - -type NullablePackagesValidateUploadConda struct { - value *PackagesValidateUploadConda - isSet bool -} - -func (v NullablePackagesValidateUploadConda) Get() *PackagesValidateUploadConda { - return v.value -} - -func (v *NullablePackagesValidateUploadConda) Set(val *PackagesValidateUploadConda) { - v.value = val - v.isSet = true -} - -func (v NullablePackagesValidateUploadConda) IsSet() bool { - return v.isSet -} - -func (v *NullablePackagesValidateUploadConda) Unset() { - v.value = nil - v.isSet = false -} - -func NewNullablePackagesValidateUploadConda(val *PackagesValidateUploadConda) *NullablePackagesValidateUploadConda { - return &NullablePackagesValidateUploadConda{value: val, isSet: true} -} - -func (v NullablePackagesValidateUploadConda) MarshalJSON() ([]byte, error) { - return json.Marshal(v.value) -} - -func (v *NullablePackagesValidateUploadConda) UnmarshalJSON(src []byte) error { - v.isSet = true - return json.Unmarshal(src, &v.value) -} diff --git a/model_packages_validate_upload_cran.go b/model_packages_validate_upload_cran.go deleted file mode 100644 index 309daa3f..00000000 --- a/model_packages_validate_upload_cran.go +++ /dev/null @@ -1,182 +0,0 @@ -/* -Cloudsmith API - -The API to the Cloudsmith Service - -API version: 1.121.3 -Contact: support@cloudsmith.io -*/ - -// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. - -package cloudsmith - -import ( - "encoding/json" -) - -// PackagesValidateUploadCran struct for PackagesValidateUploadCran -type PackagesValidateUploadCran struct { - // The primary file for the package. - PackageFile string `json:"package_file"` - // If true, the uploaded package will overwrite any others with the same attributes (e.g. same version); otherwise, it will be flagged as a duplicate. - Republish *bool `json:"republish,omitempty"` - // A comma-separated values list of tags to add to the package. - Tags *string `json:"tags,omitempty"` -} - -// NewPackagesValidateUploadCran instantiates a new PackagesValidateUploadCran object -// 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 NewPackagesValidateUploadCran(packageFile string) *PackagesValidateUploadCran { - this := PackagesValidateUploadCran{} - this.PackageFile = packageFile - return &this -} - -// NewPackagesValidateUploadCranWithDefaults instantiates a new PackagesValidateUploadCran object -// This constructor will only assign default values to properties that have it defined, -// but it doesn't guarantee that properties required by API are set -func NewPackagesValidateUploadCranWithDefaults() *PackagesValidateUploadCran { - this := PackagesValidateUploadCran{} - return &this -} - -// GetPackageFile returns the PackageFile field value -func (o *PackagesValidateUploadCran) GetPackageFile() string { - if o == nil { - var ret string - return ret - } - - return o.PackageFile -} - -// GetPackageFileOk returns a tuple with the PackageFile field value -// and a boolean to check if the value has been set. -func (o *PackagesValidateUploadCran) GetPackageFileOk() (*string, bool) { - if o == nil { - return nil, false - } - return &o.PackageFile, true -} - -// SetPackageFile sets field value -func (o *PackagesValidateUploadCran) SetPackageFile(v string) { - o.PackageFile = v -} - -// GetRepublish returns the Republish field value if set, zero value otherwise. -func (o *PackagesValidateUploadCran) GetRepublish() bool { - if o == nil || o.Republish == nil { - var ret bool - return ret - } - return *o.Republish -} - -// GetRepublishOk returns a tuple with the Republish field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *PackagesValidateUploadCran) GetRepublishOk() (*bool, bool) { - if o == nil || o.Republish == nil { - return nil, false - } - return o.Republish, true -} - -// HasRepublish returns a boolean if a field has been set. -func (o *PackagesValidateUploadCran) HasRepublish() bool { - if o != nil && o.Republish != nil { - return true - } - - return false -} - -// SetRepublish gets a reference to the given bool and assigns it to the Republish field. -func (o *PackagesValidateUploadCran) SetRepublish(v bool) { - o.Republish = &v -} - -// GetTags returns the Tags field value if set, zero value otherwise. -func (o *PackagesValidateUploadCran) GetTags() string { - if o == nil || o.Tags == nil { - var ret string - return ret - } - return *o.Tags -} - -// GetTagsOk returns a tuple with the Tags field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *PackagesValidateUploadCran) GetTagsOk() (*string, bool) { - if o == nil || o.Tags == nil { - return nil, false - } - return o.Tags, true -} - -// HasTags returns a boolean if a field has been set. -func (o *PackagesValidateUploadCran) HasTags() bool { - if o != nil && o.Tags != nil { - return true - } - - return false -} - -// SetTags gets a reference to the given string and assigns it to the Tags field. -func (o *PackagesValidateUploadCran) SetTags(v string) { - o.Tags = &v -} - -func (o PackagesValidateUploadCran) MarshalJSON() ([]byte, error) { - toSerialize := map[string]interface{}{} - if true { - toSerialize["package_file"] = o.PackageFile - } - if o.Republish != nil { - toSerialize["republish"] = o.Republish - } - if o.Tags != nil { - toSerialize["tags"] = o.Tags - } - return json.Marshal(toSerialize) -} - -type NullablePackagesValidateUploadCran struct { - value *PackagesValidateUploadCran - isSet bool -} - -func (v NullablePackagesValidateUploadCran) Get() *PackagesValidateUploadCran { - return v.value -} - -func (v *NullablePackagesValidateUploadCran) Set(val *PackagesValidateUploadCran) { - v.value = val - v.isSet = true -} - -func (v NullablePackagesValidateUploadCran) IsSet() bool { - return v.isSet -} - -func (v *NullablePackagesValidateUploadCran) Unset() { - v.value = nil - v.isSet = false -} - -func NewNullablePackagesValidateUploadCran(val *PackagesValidateUploadCran) *NullablePackagesValidateUploadCran { - return &NullablePackagesValidateUploadCran{value: val, isSet: true} -} - -func (v NullablePackagesValidateUploadCran) MarshalJSON() ([]byte, error) { - return json.Marshal(v.value) -} - -func (v *NullablePackagesValidateUploadCran) UnmarshalJSON(src []byte) error { - v.isSet = true - return json.Unmarshal(src, &v.value) -} diff --git a/model_packages_validate_upload_dart.go b/model_packages_validate_upload_dart.go deleted file mode 100644 index daa1fa1f..00000000 --- a/model_packages_validate_upload_dart.go +++ /dev/null @@ -1,182 +0,0 @@ -/* -Cloudsmith API - -The API to the Cloudsmith Service - -API version: 1.121.3 -Contact: support@cloudsmith.io -*/ - -// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. - -package cloudsmith - -import ( - "encoding/json" -) - -// PackagesValidateUploadDart struct for PackagesValidateUploadDart -type PackagesValidateUploadDart struct { - // The primary file for the package. - PackageFile string `json:"package_file"` - // If true, the uploaded package will overwrite any others with the same attributes (e.g. same version); otherwise, it will be flagged as a duplicate. - Republish *bool `json:"republish,omitempty"` - // A comma-separated values list of tags to add to the package. - Tags *string `json:"tags,omitempty"` -} - -// NewPackagesValidateUploadDart instantiates a new PackagesValidateUploadDart object -// 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 NewPackagesValidateUploadDart(packageFile string) *PackagesValidateUploadDart { - this := PackagesValidateUploadDart{} - this.PackageFile = packageFile - return &this -} - -// NewPackagesValidateUploadDartWithDefaults instantiates a new PackagesValidateUploadDart object -// This constructor will only assign default values to properties that have it defined, -// but it doesn't guarantee that properties required by API are set -func NewPackagesValidateUploadDartWithDefaults() *PackagesValidateUploadDart { - this := PackagesValidateUploadDart{} - return &this -} - -// GetPackageFile returns the PackageFile field value -func (o *PackagesValidateUploadDart) GetPackageFile() string { - if o == nil { - var ret string - return ret - } - - return o.PackageFile -} - -// GetPackageFileOk returns a tuple with the PackageFile field value -// and a boolean to check if the value has been set. -func (o *PackagesValidateUploadDart) GetPackageFileOk() (*string, bool) { - if o == nil { - return nil, false - } - return &o.PackageFile, true -} - -// SetPackageFile sets field value -func (o *PackagesValidateUploadDart) SetPackageFile(v string) { - o.PackageFile = v -} - -// GetRepublish returns the Republish field value if set, zero value otherwise. -func (o *PackagesValidateUploadDart) GetRepublish() bool { - if o == nil || o.Republish == nil { - var ret bool - return ret - } - return *o.Republish -} - -// GetRepublishOk returns a tuple with the Republish field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *PackagesValidateUploadDart) GetRepublishOk() (*bool, bool) { - if o == nil || o.Republish == nil { - return nil, false - } - return o.Republish, true -} - -// HasRepublish returns a boolean if a field has been set. -func (o *PackagesValidateUploadDart) HasRepublish() bool { - if o != nil && o.Republish != nil { - return true - } - - return false -} - -// SetRepublish gets a reference to the given bool and assigns it to the Republish field. -func (o *PackagesValidateUploadDart) SetRepublish(v bool) { - o.Republish = &v -} - -// GetTags returns the Tags field value if set, zero value otherwise. -func (o *PackagesValidateUploadDart) GetTags() string { - if o == nil || o.Tags == nil { - var ret string - return ret - } - return *o.Tags -} - -// GetTagsOk returns a tuple with the Tags field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *PackagesValidateUploadDart) GetTagsOk() (*string, bool) { - if o == nil || o.Tags == nil { - return nil, false - } - return o.Tags, true -} - -// HasTags returns a boolean if a field has been set. -func (o *PackagesValidateUploadDart) HasTags() bool { - if o != nil && o.Tags != nil { - return true - } - - return false -} - -// SetTags gets a reference to the given string and assigns it to the Tags field. -func (o *PackagesValidateUploadDart) SetTags(v string) { - o.Tags = &v -} - -func (o PackagesValidateUploadDart) MarshalJSON() ([]byte, error) { - toSerialize := map[string]interface{}{} - if true { - toSerialize["package_file"] = o.PackageFile - } - if o.Republish != nil { - toSerialize["republish"] = o.Republish - } - if o.Tags != nil { - toSerialize["tags"] = o.Tags - } - return json.Marshal(toSerialize) -} - -type NullablePackagesValidateUploadDart struct { - value *PackagesValidateUploadDart - isSet bool -} - -func (v NullablePackagesValidateUploadDart) Get() *PackagesValidateUploadDart { - return v.value -} - -func (v *NullablePackagesValidateUploadDart) Set(val *PackagesValidateUploadDart) { - v.value = val - v.isSet = true -} - -func (v NullablePackagesValidateUploadDart) IsSet() bool { - return v.isSet -} - -func (v *NullablePackagesValidateUploadDart) Unset() { - v.value = nil - v.isSet = false -} - -func NewNullablePackagesValidateUploadDart(val *PackagesValidateUploadDart) *NullablePackagesValidateUploadDart { - return &NullablePackagesValidateUploadDart{value: val, isSet: true} -} - -func (v NullablePackagesValidateUploadDart) MarshalJSON() ([]byte, error) { - return json.Marshal(v.value) -} - -func (v *NullablePackagesValidateUploadDart) UnmarshalJSON(src []byte) error { - v.isSet = true - return json.Unmarshal(src, &v.value) -} diff --git a/model_packages_validate_upload_deb.go b/model_packages_validate_upload_deb.go deleted file mode 100644 index fe19f05d..00000000 --- a/model_packages_validate_upload_deb.go +++ /dev/null @@ -1,286 +0,0 @@ -/* -Cloudsmith API - -The API to the Cloudsmith Service - -API version: 1.121.3 -Contact: support@cloudsmith.io -*/ - -// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. - -package cloudsmith - -import ( - "encoding/json" -) - -// PackagesValidateUploadDeb struct for PackagesValidateUploadDeb -type PackagesValidateUploadDeb struct { - // The changes archive containing the changes made to the source and debian packaging files - ChangesFile *string `json:"changes_file,omitempty"` - // The distribution to store the package for. - Distribution string `json:"distribution"` - // The primary file for the package. - PackageFile string `json:"package_file"` - // If true, the uploaded package will overwrite any others with the same attributes (e.g. same version); otherwise, it will be flagged as a duplicate. - Republish *bool `json:"republish,omitempty"` - // The sources archive containing the source code for the binary - SourcesFile *string `json:"sources_file,omitempty"` - // A comma-separated values list of tags to add to the package. - Tags *string `json:"tags,omitempty"` -} - -// NewPackagesValidateUploadDeb instantiates a new PackagesValidateUploadDeb object -// 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 NewPackagesValidateUploadDeb(distribution string, packageFile string) *PackagesValidateUploadDeb { - this := PackagesValidateUploadDeb{} - this.Distribution = distribution - this.PackageFile = packageFile - return &this -} - -// NewPackagesValidateUploadDebWithDefaults instantiates a new PackagesValidateUploadDeb object -// This constructor will only assign default values to properties that have it defined, -// but it doesn't guarantee that properties required by API are set -func NewPackagesValidateUploadDebWithDefaults() *PackagesValidateUploadDeb { - this := PackagesValidateUploadDeb{} - return &this -} - -// GetChangesFile returns the ChangesFile field value if set, zero value otherwise. -func (o *PackagesValidateUploadDeb) GetChangesFile() string { - if o == nil || o.ChangesFile == nil { - var ret string - return ret - } - return *o.ChangesFile -} - -// GetChangesFileOk returns a tuple with the ChangesFile field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *PackagesValidateUploadDeb) GetChangesFileOk() (*string, bool) { - if o == nil || o.ChangesFile == nil { - return nil, false - } - return o.ChangesFile, true -} - -// HasChangesFile returns a boolean if a field has been set. -func (o *PackagesValidateUploadDeb) HasChangesFile() bool { - if o != nil && o.ChangesFile != nil { - return true - } - - return false -} - -// SetChangesFile gets a reference to the given string and assigns it to the ChangesFile field. -func (o *PackagesValidateUploadDeb) SetChangesFile(v string) { - o.ChangesFile = &v -} - -// GetDistribution returns the Distribution field value -func (o *PackagesValidateUploadDeb) GetDistribution() string { - if o == nil { - var ret string - return ret - } - - return o.Distribution -} - -// GetDistributionOk returns a tuple with the Distribution field value -// and a boolean to check if the value has been set. -func (o *PackagesValidateUploadDeb) GetDistributionOk() (*string, bool) { - if o == nil { - return nil, false - } - return &o.Distribution, true -} - -// SetDistribution sets field value -func (o *PackagesValidateUploadDeb) SetDistribution(v string) { - o.Distribution = v -} - -// GetPackageFile returns the PackageFile field value -func (o *PackagesValidateUploadDeb) GetPackageFile() string { - if o == nil { - var ret string - return ret - } - - return o.PackageFile -} - -// GetPackageFileOk returns a tuple with the PackageFile field value -// and a boolean to check if the value has been set. -func (o *PackagesValidateUploadDeb) GetPackageFileOk() (*string, bool) { - if o == nil { - return nil, false - } - return &o.PackageFile, true -} - -// SetPackageFile sets field value -func (o *PackagesValidateUploadDeb) SetPackageFile(v string) { - o.PackageFile = v -} - -// GetRepublish returns the Republish field value if set, zero value otherwise. -func (o *PackagesValidateUploadDeb) GetRepublish() bool { - if o == nil || o.Republish == nil { - var ret bool - return ret - } - return *o.Republish -} - -// GetRepublishOk returns a tuple with the Republish field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *PackagesValidateUploadDeb) GetRepublishOk() (*bool, bool) { - if o == nil || o.Republish == nil { - return nil, false - } - return o.Republish, true -} - -// HasRepublish returns a boolean if a field has been set. -func (o *PackagesValidateUploadDeb) HasRepublish() bool { - if o != nil && o.Republish != nil { - return true - } - - return false -} - -// SetRepublish gets a reference to the given bool and assigns it to the Republish field. -func (o *PackagesValidateUploadDeb) SetRepublish(v bool) { - o.Republish = &v -} - -// GetSourcesFile returns the SourcesFile field value if set, zero value otherwise. -func (o *PackagesValidateUploadDeb) GetSourcesFile() string { - if o == nil || o.SourcesFile == nil { - var ret string - return ret - } - return *o.SourcesFile -} - -// GetSourcesFileOk returns a tuple with the SourcesFile field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *PackagesValidateUploadDeb) GetSourcesFileOk() (*string, bool) { - if o == nil || o.SourcesFile == nil { - return nil, false - } - return o.SourcesFile, true -} - -// HasSourcesFile returns a boolean if a field has been set. -func (o *PackagesValidateUploadDeb) HasSourcesFile() bool { - if o != nil && o.SourcesFile != nil { - return true - } - - return false -} - -// SetSourcesFile gets a reference to the given string and assigns it to the SourcesFile field. -func (o *PackagesValidateUploadDeb) SetSourcesFile(v string) { - o.SourcesFile = &v -} - -// GetTags returns the Tags field value if set, zero value otherwise. -func (o *PackagesValidateUploadDeb) GetTags() string { - if o == nil || o.Tags == nil { - var ret string - return ret - } - return *o.Tags -} - -// GetTagsOk returns a tuple with the Tags field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *PackagesValidateUploadDeb) GetTagsOk() (*string, bool) { - if o == nil || o.Tags == nil { - return nil, false - } - return o.Tags, true -} - -// HasTags returns a boolean if a field has been set. -func (o *PackagesValidateUploadDeb) HasTags() bool { - if o != nil && o.Tags != nil { - return true - } - - return false -} - -// SetTags gets a reference to the given string and assigns it to the Tags field. -func (o *PackagesValidateUploadDeb) SetTags(v string) { - o.Tags = &v -} - -func (o PackagesValidateUploadDeb) MarshalJSON() ([]byte, error) { - toSerialize := map[string]interface{}{} - if o.ChangesFile != nil { - toSerialize["changes_file"] = o.ChangesFile - } - if true { - toSerialize["distribution"] = o.Distribution - } - if true { - toSerialize["package_file"] = o.PackageFile - } - if o.Republish != nil { - toSerialize["republish"] = o.Republish - } - if o.SourcesFile != nil { - toSerialize["sources_file"] = o.SourcesFile - } - if o.Tags != nil { - toSerialize["tags"] = o.Tags - } - return json.Marshal(toSerialize) -} - -type NullablePackagesValidateUploadDeb struct { - value *PackagesValidateUploadDeb - isSet bool -} - -func (v NullablePackagesValidateUploadDeb) Get() *PackagesValidateUploadDeb { - return v.value -} - -func (v *NullablePackagesValidateUploadDeb) Set(val *PackagesValidateUploadDeb) { - v.value = val - v.isSet = true -} - -func (v NullablePackagesValidateUploadDeb) IsSet() bool { - return v.isSet -} - -func (v *NullablePackagesValidateUploadDeb) Unset() { - v.value = nil - v.isSet = false -} - -func NewNullablePackagesValidateUploadDeb(val *PackagesValidateUploadDeb) *NullablePackagesValidateUploadDeb { - return &NullablePackagesValidateUploadDeb{value: val, isSet: true} -} - -func (v NullablePackagesValidateUploadDeb) MarshalJSON() ([]byte, error) { - return json.Marshal(v.value) -} - -func (v *NullablePackagesValidateUploadDeb) UnmarshalJSON(src []byte) error { - v.isSet = true - return json.Unmarshal(src, &v.value) -} diff --git a/model_packages_validate_upload_docker.go b/model_packages_validate_upload_docker.go deleted file mode 100644 index ce81091b..00000000 --- a/model_packages_validate_upload_docker.go +++ /dev/null @@ -1,182 +0,0 @@ -/* -Cloudsmith API - -The API to the Cloudsmith Service - -API version: 1.121.3 -Contact: support@cloudsmith.io -*/ - -// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. - -package cloudsmith - -import ( - "encoding/json" -) - -// PackagesValidateUploadDocker struct for PackagesValidateUploadDocker -type PackagesValidateUploadDocker struct { - // The primary file for the package. - PackageFile string `json:"package_file"` - // If true, the uploaded package will overwrite any others with the same attributes (e.g. same version); otherwise, it will be flagged as a duplicate. - Republish *bool `json:"republish,omitempty"` - // A comma-separated values list of tags to add to the package. - Tags *string `json:"tags,omitempty"` -} - -// NewPackagesValidateUploadDocker instantiates a new PackagesValidateUploadDocker object -// 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 NewPackagesValidateUploadDocker(packageFile string) *PackagesValidateUploadDocker { - this := PackagesValidateUploadDocker{} - this.PackageFile = packageFile - return &this -} - -// NewPackagesValidateUploadDockerWithDefaults instantiates a new PackagesValidateUploadDocker object -// This constructor will only assign default values to properties that have it defined, -// but it doesn't guarantee that properties required by API are set -func NewPackagesValidateUploadDockerWithDefaults() *PackagesValidateUploadDocker { - this := PackagesValidateUploadDocker{} - return &this -} - -// GetPackageFile returns the PackageFile field value -func (o *PackagesValidateUploadDocker) GetPackageFile() string { - if o == nil { - var ret string - return ret - } - - return o.PackageFile -} - -// GetPackageFileOk returns a tuple with the PackageFile field value -// and a boolean to check if the value has been set. -func (o *PackagesValidateUploadDocker) GetPackageFileOk() (*string, bool) { - if o == nil { - return nil, false - } - return &o.PackageFile, true -} - -// SetPackageFile sets field value -func (o *PackagesValidateUploadDocker) SetPackageFile(v string) { - o.PackageFile = v -} - -// GetRepublish returns the Republish field value if set, zero value otherwise. -func (o *PackagesValidateUploadDocker) GetRepublish() bool { - if o == nil || o.Republish == nil { - var ret bool - return ret - } - return *o.Republish -} - -// GetRepublishOk returns a tuple with the Republish field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *PackagesValidateUploadDocker) GetRepublishOk() (*bool, bool) { - if o == nil || o.Republish == nil { - return nil, false - } - return o.Republish, true -} - -// HasRepublish returns a boolean if a field has been set. -func (o *PackagesValidateUploadDocker) HasRepublish() bool { - if o != nil && o.Republish != nil { - return true - } - - return false -} - -// SetRepublish gets a reference to the given bool and assigns it to the Republish field. -func (o *PackagesValidateUploadDocker) SetRepublish(v bool) { - o.Republish = &v -} - -// GetTags returns the Tags field value if set, zero value otherwise. -func (o *PackagesValidateUploadDocker) GetTags() string { - if o == nil || o.Tags == nil { - var ret string - return ret - } - return *o.Tags -} - -// GetTagsOk returns a tuple with the Tags field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *PackagesValidateUploadDocker) GetTagsOk() (*string, bool) { - if o == nil || o.Tags == nil { - return nil, false - } - return o.Tags, true -} - -// HasTags returns a boolean if a field has been set. -func (o *PackagesValidateUploadDocker) HasTags() bool { - if o != nil && o.Tags != nil { - return true - } - - return false -} - -// SetTags gets a reference to the given string and assigns it to the Tags field. -func (o *PackagesValidateUploadDocker) SetTags(v string) { - o.Tags = &v -} - -func (o PackagesValidateUploadDocker) MarshalJSON() ([]byte, error) { - toSerialize := map[string]interface{}{} - if true { - toSerialize["package_file"] = o.PackageFile - } - if o.Republish != nil { - toSerialize["republish"] = o.Republish - } - if o.Tags != nil { - toSerialize["tags"] = o.Tags - } - return json.Marshal(toSerialize) -} - -type NullablePackagesValidateUploadDocker struct { - value *PackagesValidateUploadDocker - isSet bool -} - -func (v NullablePackagesValidateUploadDocker) Get() *PackagesValidateUploadDocker { - return v.value -} - -func (v *NullablePackagesValidateUploadDocker) Set(val *PackagesValidateUploadDocker) { - v.value = val - v.isSet = true -} - -func (v NullablePackagesValidateUploadDocker) IsSet() bool { - return v.isSet -} - -func (v *NullablePackagesValidateUploadDocker) Unset() { - v.value = nil - v.isSet = false -} - -func NewNullablePackagesValidateUploadDocker(val *PackagesValidateUploadDocker) *NullablePackagesValidateUploadDocker { - return &NullablePackagesValidateUploadDocker{value: val, isSet: true} -} - -func (v NullablePackagesValidateUploadDocker) MarshalJSON() ([]byte, error) { - return json.Marshal(v.value) -} - -func (v *NullablePackagesValidateUploadDocker) UnmarshalJSON(src []byte) error { - v.isSet = true - return json.Unmarshal(src, &v.value) -} diff --git a/model_packages_validate_upload_go.go b/model_packages_validate_upload_go.go deleted file mode 100644 index e620916a..00000000 --- a/model_packages_validate_upload_go.go +++ /dev/null @@ -1,182 +0,0 @@ -/* -Cloudsmith API - -The API to the Cloudsmith Service - -API version: 1.121.3 -Contact: support@cloudsmith.io -*/ - -// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. - -package cloudsmith - -import ( - "encoding/json" -) - -// PackagesValidateUploadGo struct for PackagesValidateUploadGo -type PackagesValidateUploadGo struct { - // The primary file for the package. - PackageFile string `json:"package_file"` - // If true, the uploaded package will overwrite any others with the same attributes (e.g. same version); otherwise, it will be flagged as a duplicate. - Republish *bool `json:"republish,omitempty"` - // A comma-separated values list of tags to add to the package. - Tags *string `json:"tags,omitempty"` -} - -// NewPackagesValidateUploadGo instantiates a new PackagesValidateUploadGo object -// 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 NewPackagesValidateUploadGo(packageFile string) *PackagesValidateUploadGo { - this := PackagesValidateUploadGo{} - this.PackageFile = packageFile - return &this -} - -// NewPackagesValidateUploadGoWithDefaults instantiates a new PackagesValidateUploadGo object -// This constructor will only assign default values to properties that have it defined, -// but it doesn't guarantee that properties required by API are set -func NewPackagesValidateUploadGoWithDefaults() *PackagesValidateUploadGo { - this := PackagesValidateUploadGo{} - return &this -} - -// GetPackageFile returns the PackageFile field value -func (o *PackagesValidateUploadGo) GetPackageFile() string { - if o == nil { - var ret string - return ret - } - - return o.PackageFile -} - -// GetPackageFileOk returns a tuple with the PackageFile field value -// and a boolean to check if the value has been set. -func (o *PackagesValidateUploadGo) GetPackageFileOk() (*string, bool) { - if o == nil { - return nil, false - } - return &o.PackageFile, true -} - -// SetPackageFile sets field value -func (o *PackagesValidateUploadGo) SetPackageFile(v string) { - o.PackageFile = v -} - -// GetRepublish returns the Republish field value if set, zero value otherwise. -func (o *PackagesValidateUploadGo) GetRepublish() bool { - if o == nil || o.Republish == nil { - var ret bool - return ret - } - return *o.Republish -} - -// GetRepublishOk returns a tuple with the Republish field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *PackagesValidateUploadGo) GetRepublishOk() (*bool, bool) { - if o == nil || o.Republish == nil { - return nil, false - } - return o.Republish, true -} - -// HasRepublish returns a boolean if a field has been set. -func (o *PackagesValidateUploadGo) HasRepublish() bool { - if o != nil && o.Republish != nil { - return true - } - - return false -} - -// SetRepublish gets a reference to the given bool and assigns it to the Republish field. -func (o *PackagesValidateUploadGo) SetRepublish(v bool) { - o.Republish = &v -} - -// GetTags returns the Tags field value if set, zero value otherwise. -func (o *PackagesValidateUploadGo) GetTags() string { - if o == nil || o.Tags == nil { - var ret string - return ret - } - return *o.Tags -} - -// GetTagsOk returns a tuple with the Tags field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *PackagesValidateUploadGo) GetTagsOk() (*string, bool) { - if o == nil || o.Tags == nil { - return nil, false - } - return o.Tags, true -} - -// HasTags returns a boolean if a field has been set. -func (o *PackagesValidateUploadGo) HasTags() bool { - if o != nil && o.Tags != nil { - return true - } - - return false -} - -// SetTags gets a reference to the given string and assigns it to the Tags field. -func (o *PackagesValidateUploadGo) SetTags(v string) { - o.Tags = &v -} - -func (o PackagesValidateUploadGo) MarshalJSON() ([]byte, error) { - toSerialize := map[string]interface{}{} - if true { - toSerialize["package_file"] = o.PackageFile - } - if o.Republish != nil { - toSerialize["republish"] = o.Republish - } - if o.Tags != nil { - toSerialize["tags"] = o.Tags - } - return json.Marshal(toSerialize) -} - -type NullablePackagesValidateUploadGo struct { - value *PackagesValidateUploadGo - isSet bool -} - -func (v NullablePackagesValidateUploadGo) Get() *PackagesValidateUploadGo { - return v.value -} - -func (v *NullablePackagesValidateUploadGo) Set(val *PackagesValidateUploadGo) { - v.value = val - v.isSet = true -} - -func (v NullablePackagesValidateUploadGo) IsSet() bool { - return v.isSet -} - -func (v *NullablePackagesValidateUploadGo) Unset() { - v.value = nil - v.isSet = false -} - -func NewNullablePackagesValidateUploadGo(val *PackagesValidateUploadGo) *NullablePackagesValidateUploadGo { - return &NullablePackagesValidateUploadGo{value: val, isSet: true} -} - -func (v NullablePackagesValidateUploadGo) MarshalJSON() ([]byte, error) { - return json.Marshal(v.value) -} - -func (v *NullablePackagesValidateUploadGo) UnmarshalJSON(src []byte) error { - v.isSet = true - return json.Unmarshal(src, &v.value) -} diff --git a/model_packages_validate_upload_helm.go b/model_packages_validate_upload_helm.go deleted file mode 100644 index 12bc25d2..00000000 --- a/model_packages_validate_upload_helm.go +++ /dev/null @@ -1,182 +0,0 @@ -/* -Cloudsmith API - -The API to the Cloudsmith Service - -API version: 1.121.3 -Contact: support@cloudsmith.io -*/ - -// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. - -package cloudsmith - -import ( - "encoding/json" -) - -// PackagesValidateUploadHelm struct for PackagesValidateUploadHelm -type PackagesValidateUploadHelm struct { - // The primary file for the package. - PackageFile string `json:"package_file"` - // If true, the uploaded package will overwrite any others with the same attributes (e.g. same version); otherwise, it will be flagged as a duplicate. - Republish *bool `json:"republish,omitempty"` - // A comma-separated values list of tags to add to the package. - Tags *string `json:"tags,omitempty"` -} - -// NewPackagesValidateUploadHelm instantiates a new PackagesValidateUploadHelm object -// 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 NewPackagesValidateUploadHelm(packageFile string) *PackagesValidateUploadHelm { - this := PackagesValidateUploadHelm{} - this.PackageFile = packageFile - return &this -} - -// NewPackagesValidateUploadHelmWithDefaults instantiates a new PackagesValidateUploadHelm object -// This constructor will only assign default values to properties that have it defined, -// but it doesn't guarantee that properties required by API are set -func NewPackagesValidateUploadHelmWithDefaults() *PackagesValidateUploadHelm { - this := PackagesValidateUploadHelm{} - return &this -} - -// GetPackageFile returns the PackageFile field value -func (o *PackagesValidateUploadHelm) GetPackageFile() string { - if o == nil { - var ret string - return ret - } - - return o.PackageFile -} - -// GetPackageFileOk returns a tuple with the PackageFile field value -// and a boolean to check if the value has been set. -func (o *PackagesValidateUploadHelm) GetPackageFileOk() (*string, bool) { - if o == nil { - return nil, false - } - return &o.PackageFile, true -} - -// SetPackageFile sets field value -func (o *PackagesValidateUploadHelm) SetPackageFile(v string) { - o.PackageFile = v -} - -// GetRepublish returns the Republish field value if set, zero value otherwise. -func (o *PackagesValidateUploadHelm) GetRepublish() bool { - if o == nil || o.Republish == nil { - var ret bool - return ret - } - return *o.Republish -} - -// GetRepublishOk returns a tuple with the Republish field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *PackagesValidateUploadHelm) GetRepublishOk() (*bool, bool) { - if o == nil || o.Republish == nil { - return nil, false - } - return o.Republish, true -} - -// HasRepublish returns a boolean if a field has been set. -func (o *PackagesValidateUploadHelm) HasRepublish() bool { - if o != nil && o.Republish != nil { - return true - } - - return false -} - -// SetRepublish gets a reference to the given bool and assigns it to the Republish field. -func (o *PackagesValidateUploadHelm) SetRepublish(v bool) { - o.Republish = &v -} - -// GetTags returns the Tags field value if set, zero value otherwise. -func (o *PackagesValidateUploadHelm) GetTags() string { - if o == nil || o.Tags == nil { - var ret string - return ret - } - return *o.Tags -} - -// GetTagsOk returns a tuple with the Tags field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *PackagesValidateUploadHelm) GetTagsOk() (*string, bool) { - if o == nil || o.Tags == nil { - return nil, false - } - return o.Tags, true -} - -// HasTags returns a boolean if a field has been set. -func (o *PackagesValidateUploadHelm) HasTags() bool { - if o != nil && o.Tags != nil { - return true - } - - return false -} - -// SetTags gets a reference to the given string and assigns it to the Tags field. -func (o *PackagesValidateUploadHelm) SetTags(v string) { - o.Tags = &v -} - -func (o PackagesValidateUploadHelm) MarshalJSON() ([]byte, error) { - toSerialize := map[string]interface{}{} - if true { - toSerialize["package_file"] = o.PackageFile - } - if o.Republish != nil { - toSerialize["republish"] = o.Republish - } - if o.Tags != nil { - toSerialize["tags"] = o.Tags - } - return json.Marshal(toSerialize) -} - -type NullablePackagesValidateUploadHelm struct { - value *PackagesValidateUploadHelm - isSet bool -} - -func (v NullablePackagesValidateUploadHelm) Get() *PackagesValidateUploadHelm { - return v.value -} - -func (v *NullablePackagesValidateUploadHelm) Set(val *PackagesValidateUploadHelm) { - v.value = val - v.isSet = true -} - -func (v NullablePackagesValidateUploadHelm) IsSet() bool { - return v.isSet -} - -func (v *NullablePackagesValidateUploadHelm) Unset() { - v.value = nil - v.isSet = false -} - -func NewNullablePackagesValidateUploadHelm(val *PackagesValidateUploadHelm) *NullablePackagesValidateUploadHelm { - return &NullablePackagesValidateUploadHelm{value: val, isSet: true} -} - -func (v NullablePackagesValidateUploadHelm) MarshalJSON() ([]byte, error) { - return json.Marshal(v.value) -} - -func (v *NullablePackagesValidateUploadHelm) UnmarshalJSON(src []byte) error { - v.isSet = true - return json.Unmarshal(src, &v.value) -} diff --git a/model_packages_validate_upload_luarocks.go b/model_packages_validate_upload_luarocks.go deleted file mode 100644 index 1359ba11..00000000 --- a/model_packages_validate_upload_luarocks.go +++ /dev/null @@ -1,182 +0,0 @@ -/* -Cloudsmith API - -The API to the Cloudsmith Service - -API version: 1.121.3 -Contact: support@cloudsmith.io -*/ - -// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. - -package cloudsmith - -import ( - "encoding/json" -) - -// PackagesValidateUploadLuarocks struct for PackagesValidateUploadLuarocks -type PackagesValidateUploadLuarocks struct { - // The primary file for the package. - PackageFile string `json:"package_file"` - // If true, the uploaded package will overwrite any others with the same attributes (e.g. same version); otherwise, it will be flagged as a duplicate. - Republish *bool `json:"republish,omitempty"` - // A comma-separated values list of tags to add to the package. - Tags *string `json:"tags,omitempty"` -} - -// NewPackagesValidateUploadLuarocks instantiates a new PackagesValidateUploadLuarocks object -// 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 NewPackagesValidateUploadLuarocks(packageFile string) *PackagesValidateUploadLuarocks { - this := PackagesValidateUploadLuarocks{} - this.PackageFile = packageFile - return &this -} - -// NewPackagesValidateUploadLuarocksWithDefaults instantiates a new PackagesValidateUploadLuarocks object -// This constructor will only assign default values to properties that have it defined, -// but it doesn't guarantee that properties required by API are set -func NewPackagesValidateUploadLuarocksWithDefaults() *PackagesValidateUploadLuarocks { - this := PackagesValidateUploadLuarocks{} - return &this -} - -// GetPackageFile returns the PackageFile field value -func (o *PackagesValidateUploadLuarocks) GetPackageFile() string { - if o == nil { - var ret string - return ret - } - - return o.PackageFile -} - -// GetPackageFileOk returns a tuple with the PackageFile field value -// and a boolean to check if the value has been set. -func (o *PackagesValidateUploadLuarocks) GetPackageFileOk() (*string, bool) { - if o == nil { - return nil, false - } - return &o.PackageFile, true -} - -// SetPackageFile sets field value -func (o *PackagesValidateUploadLuarocks) SetPackageFile(v string) { - o.PackageFile = v -} - -// GetRepublish returns the Republish field value if set, zero value otherwise. -func (o *PackagesValidateUploadLuarocks) GetRepublish() bool { - if o == nil || o.Republish == nil { - var ret bool - return ret - } - return *o.Republish -} - -// GetRepublishOk returns a tuple with the Republish field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *PackagesValidateUploadLuarocks) GetRepublishOk() (*bool, bool) { - if o == nil || o.Republish == nil { - return nil, false - } - return o.Republish, true -} - -// HasRepublish returns a boolean if a field has been set. -func (o *PackagesValidateUploadLuarocks) HasRepublish() bool { - if o != nil && o.Republish != nil { - return true - } - - return false -} - -// SetRepublish gets a reference to the given bool and assigns it to the Republish field. -func (o *PackagesValidateUploadLuarocks) SetRepublish(v bool) { - o.Republish = &v -} - -// GetTags returns the Tags field value if set, zero value otherwise. -func (o *PackagesValidateUploadLuarocks) GetTags() string { - if o == nil || o.Tags == nil { - var ret string - return ret - } - return *o.Tags -} - -// GetTagsOk returns a tuple with the Tags field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *PackagesValidateUploadLuarocks) GetTagsOk() (*string, bool) { - if o == nil || o.Tags == nil { - return nil, false - } - return o.Tags, true -} - -// HasTags returns a boolean if a field has been set. -func (o *PackagesValidateUploadLuarocks) HasTags() bool { - if o != nil && o.Tags != nil { - return true - } - - return false -} - -// SetTags gets a reference to the given string and assigns it to the Tags field. -func (o *PackagesValidateUploadLuarocks) SetTags(v string) { - o.Tags = &v -} - -func (o PackagesValidateUploadLuarocks) MarshalJSON() ([]byte, error) { - toSerialize := map[string]interface{}{} - if true { - toSerialize["package_file"] = o.PackageFile - } - if o.Republish != nil { - toSerialize["republish"] = o.Republish - } - if o.Tags != nil { - toSerialize["tags"] = o.Tags - } - return json.Marshal(toSerialize) -} - -type NullablePackagesValidateUploadLuarocks struct { - value *PackagesValidateUploadLuarocks - isSet bool -} - -func (v NullablePackagesValidateUploadLuarocks) Get() *PackagesValidateUploadLuarocks { - return v.value -} - -func (v *NullablePackagesValidateUploadLuarocks) Set(val *PackagesValidateUploadLuarocks) { - v.value = val - v.isSet = true -} - -func (v NullablePackagesValidateUploadLuarocks) IsSet() bool { - return v.isSet -} - -func (v *NullablePackagesValidateUploadLuarocks) Unset() { - v.value = nil - v.isSet = false -} - -func NewNullablePackagesValidateUploadLuarocks(val *PackagesValidateUploadLuarocks) *NullablePackagesValidateUploadLuarocks { - return &NullablePackagesValidateUploadLuarocks{value: val, isSet: true} -} - -func (v NullablePackagesValidateUploadLuarocks) MarshalJSON() ([]byte, error) { - return json.Marshal(v.value) -} - -func (v *NullablePackagesValidateUploadLuarocks) UnmarshalJSON(src []byte) error { - v.isSet = true - return json.Unmarshal(src, &v.value) -} diff --git a/model_packages_validate_upload_maven.go b/model_packages_validate_upload_maven.go deleted file mode 100644 index b902536e..00000000 --- a/model_packages_validate_upload_maven.go +++ /dev/null @@ -1,478 +0,0 @@ -/* -Cloudsmith API - -The API to the Cloudsmith Service - -API version: 1.121.3 -Contact: support@cloudsmith.io -*/ - -// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. - -package cloudsmith - -import ( - "encoding/json" -) - -// PackagesValidateUploadMaven struct for PackagesValidateUploadMaven -type PackagesValidateUploadMaven struct { - // The ID of the artifact. - ArtifactId *string `json:"artifact_id,omitempty"` - // Artifact's group ID. - GroupId *string `json:"group_id,omitempty"` - // Adds bundled Java documentation to the Maven package - JavadocFile *string `json:"javadoc_file,omitempty"` - // The primary file for the package. - PackageFile string `json:"package_file"` - // Artifact's Maven packaging type. - Packaging *string `json:"packaging,omitempty"` - // The POM file is an XML file containing the Maven coordinates. - PomFile *string `json:"pom_file,omitempty"` - // If true, the uploaded package will overwrite any others with the same attributes (e.g. same version); otherwise, it will be flagged as a duplicate. - Republish *bool `json:"republish,omitempty"` - // Adds bundled Java source code to the Maven package. - SourcesFile *string `json:"sources_file,omitempty"` - // A comma-separated values list of tags to add to the package. - Tags *string `json:"tags,omitempty"` - // Adds bundled Java tests to the Maven package. - TestsFile *string `json:"tests_file,omitempty"` - // The raw version for this package. - Version *string `json:"version,omitempty"` -} - -// NewPackagesValidateUploadMaven instantiates a new PackagesValidateUploadMaven object -// 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 NewPackagesValidateUploadMaven(packageFile string) *PackagesValidateUploadMaven { - this := PackagesValidateUploadMaven{} - this.PackageFile = packageFile - return &this -} - -// NewPackagesValidateUploadMavenWithDefaults instantiates a new PackagesValidateUploadMaven object -// This constructor will only assign default values to properties that have it defined, -// but it doesn't guarantee that properties required by API are set -func NewPackagesValidateUploadMavenWithDefaults() *PackagesValidateUploadMaven { - this := PackagesValidateUploadMaven{} - return &this -} - -// GetArtifactId returns the ArtifactId field value if set, zero value otherwise. -func (o *PackagesValidateUploadMaven) GetArtifactId() string { - if o == nil || o.ArtifactId == nil { - var ret string - return ret - } - return *o.ArtifactId -} - -// GetArtifactIdOk returns a tuple with the ArtifactId field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *PackagesValidateUploadMaven) GetArtifactIdOk() (*string, bool) { - if o == nil || o.ArtifactId == nil { - return nil, false - } - return o.ArtifactId, true -} - -// HasArtifactId returns a boolean if a field has been set. -func (o *PackagesValidateUploadMaven) HasArtifactId() bool { - if o != nil && o.ArtifactId != nil { - return true - } - - return false -} - -// SetArtifactId gets a reference to the given string and assigns it to the ArtifactId field. -func (o *PackagesValidateUploadMaven) SetArtifactId(v string) { - o.ArtifactId = &v -} - -// GetGroupId returns the GroupId field value if set, zero value otherwise. -func (o *PackagesValidateUploadMaven) GetGroupId() string { - if o == nil || o.GroupId == nil { - var ret string - return ret - } - return *o.GroupId -} - -// GetGroupIdOk returns a tuple with the GroupId field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *PackagesValidateUploadMaven) GetGroupIdOk() (*string, bool) { - if o == nil || o.GroupId == nil { - return nil, false - } - return o.GroupId, true -} - -// HasGroupId returns a boolean if a field has been set. -func (o *PackagesValidateUploadMaven) HasGroupId() bool { - if o != nil && o.GroupId != nil { - return true - } - - return false -} - -// SetGroupId gets a reference to the given string and assigns it to the GroupId field. -func (o *PackagesValidateUploadMaven) SetGroupId(v string) { - o.GroupId = &v -} - -// GetJavadocFile returns the JavadocFile field value if set, zero value otherwise. -func (o *PackagesValidateUploadMaven) GetJavadocFile() string { - if o == nil || o.JavadocFile == nil { - var ret string - return ret - } - return *o.JavadocFile -} - -// GetJavadocFileOk returns a tuple with the JavadocFile field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *PackagesValidateUploadMaven) GetJavadocFileOk() (*string, bool) { - if o == nil || o.JavadocFile == nil { - return nil, false - } - return o.JavadocFile, true -} - -// HasJavadocFile returns a boolean if a field has been set. -func (o *PackagesValidateUploadMaven) HasJavadocFile() bool { - if o != nil && o.JavadocFile != nil { - return true - } - - return false -} - -// SetJavadocFile gets a reference to the given string and assigns it to the JavadocFile field. -func (o *PackagesValidateUploadMaven) SetJavadocFile(v string) { - o.JavadocFile = &v -} - -// GetPackageFile returns the PackageFile field value -func (o *PackagesValidateUploadMaven) GetPackageFile() string { - if o == nil { - var ret string - return ret - } - - return o.PackageFile -} - -// GetPackageFileOk returns a tuple with the PackageFile field value -// and a boolean to check if the value has been set. -func (o *PackagesValidateUploadMaven) GetPackageFileOk() (*string, bool) { - if o == nil { - return nil, false - } - return &o.PackageFile, true -} - -// SetPackageFile sets field value -func (o *PackagesValidateUploadMaven) SetPackageFile(v string) { - o.PackageFile = v -} - -// GetPackaging returns the Packaging field value if set, zero value otherwise. -func (o *PackagesValidateUploadMaven) GetPackaging() string { - if o == nil || o.Packaging == nil { - var ret string - return ret - } - return *o.Packaging -} - -// GetPackagingOk returns a tuple with the Packaging field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *PackagesValidateUploadMaven) GetPackagingOk() (*string, bool) { - if o == nil || o.Packaging == nil { - return nil, false - } - return o.Packaging, true -} - -// HasPackaging returns a boolean if a field has been set. -func (o *PackagesValidateUploadMaven) HasPackaging() bool { - if o != nil && o.Packaging != nil { - return true - } - - return false -} - -// SetPackaging gets a reference to the given string and assigns it to the Packaging field. -func (o *PackagesValidateUploadMaven) SetPackaging(v string) { - o.Packaging = &v -} - -// GetPomFile returns the PomFile field value if set, zero value otherwise. -func (o *PackagesValidateUploadMaven) GetPomFile() string { - if o == nil || o.PomFile == nil { - var ret string - return ret - } - return *o.PomFile -} - -// GetPomFileOk returns a tuple with the PomFile field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *PackagesValidateUploadMaven) GetPomFileOk() (*string, bool) { - if o == nil || o.PomFile == nil { - return nil, false - } - return o.PomFile, true -} - -// HasPomFile returns a boolean if a field has been set. -func (o *PackagesValidateUploadMaven) HasPomFile() bool { - if o != nil && o.PomFile != nil { - return true - } - - return false -} - -// SetPomFile gets a reference to the given string and assigns it to the PomFile field. -func (o *PackagesValidateUploadMaven) SetPomFile(v string) { - o.PomFile = &v -} - -// GetRepublish returns the Republish field value if set, zero value otherwise. -func (o *PackagesValidateUploadMaven) GetRepublish() bool { - if o == nil || o.Republish == nil { - var ret bool - return ret - } - return *o.Republish -} - -// GetRepublishOk returns a tuple with the Republish field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *PackagesValidateUploadMaven) GetRepublishOk() (*bool, bool) { - if o == nil || o.Republish == nil { - return nil, false - } - return o.Republish, true -} - -// HasRepublish returns a boolean if a field has been set. -func (o *PackagesValidateUploadMaven) HasRepublish() bool { - if o != nil && o.Republish != nil { - return true - } - - return false -} - -// SetRepublish gets a reference to the given bool and assigns it to the Republish field. -func (o *PackagesValidateUploadMaven) SetRepublish(v bool) { - o.Republish = &v -} - -// GetSourcesFile returns the SourcesFile field value if set, zero value otherwise. -func (o *PackagesValidateUploadMaven) GetSourcesFile() string { - if o == nil || o.SourcesFile == nil { - var ret string - return ret - } - return *o.SourcesFile -} - -// GetSourcesFileOk returns a tuple with the SourcesFile field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *PackagesValidateUploadMaven) GetSourcesFileOk() (*string, bool) { - if o == nil || o.SourcesFile == nil { - return nil, false - } - return o.SourcesFile, true -} - -// HasSourcesFile returns a boolean if a field has been set. -func (o *PackagesValidateUploadMaven) HasSourcesFile() bool { - if o != nil && o.SourcesFile != nil { - return true - } - - return false -} - -// SetSourcesFile gets a reference to the given string and assigns it to the SourcesFile field. -func (o *PackagesValidateUploadMaven) SetSourcesFile(v string) { - o.SourcesFile = &v -} - -// GetTags returns the Tags field value if set, zero value otherwise. -func (o *PackagesValidateUploadMaven) GetTags() string { - if o == nil || o.Tags == nil { - var ret string - return ret - } - return *o.Tags -} - -// GetTagsOk returns a tuple with the Tags field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *PackagesValidateUploadMaven) GetTagsOk() (*string, bool) { - if o == nil || o.Tags == nil { - return nil, false - } - return o.Tags, true -} - -// HasTags returns a boolean if a field has been set. -func (o *PackagesValidateUploadMaven) HasTags() bool { - if o != nil && o.Tags != nil { - return true - } - - return false -} - -// SetTags gets a reference to the given string and assigns it to the Tags field. -func (o *PackagesValidateUploadMaven) SetTags(v string) { - o.Tags = &v -} - -// GetTestsFile returns the TestsFile field value if set, zero value otherwise. -func (o *PackagesValidateUploadMaven) GetTestsFile() string { - if o == nil || o.TestsFile == nil { - var ret string - return ret - } - return *o.TestsFile -} - -// GetTestsFileOk returns a tuple with the TestsFile field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *PackagesValidateUploadMaven) GetTestsFileOk() (*string, bool) { - if o == nil || o.TestsFile == nil { - return nil, false - } - return o.TestsFile, true -} - -// HasTestsFile returns a boolean if a field has been set. -func (o *PackagesValidateUploadMaven) HasTestsFile() bool { - if o != nil && o.TestsFile != nil { - return true - } - - return false -} - -// SetTestsFile gets a reference to the given string and assigns it to the TestsFile field. -func (o *PackagesValidateUploadMaven) SetTestsFile(v string) { - o.TestsFile = &v -} - -// GetVersion returns the Version field value if set, zero value otherwise. -func (o *PackagesValidateUploadMaven) GetVersion() string { - if o == nil || o.Version == nil { - var ret string - return ret - } - return *o.Version -} - -// GetVersionOk returns a tuple with the Version field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *PackagesValidateUploadMaven) GetVersionOk() (*string, bool) { - if o == nil || o.Version == nil { - return nil, false - } - return o.Version, true -} - -// HasVersion returns a boolean if a field has been set. -func (o *PackagesValidateUploadMaven) HasVersion() bool { - if o != nil && o.Version != nil { - return true - } - - return false -} - -// SetVersion gets a reference to the given string and assigns it to the Version field. -func (o *PackagesValidateUploadMaven) SetVersion(v string) { - o.Version = &v -} - -func (o PackagesValidateUploadMaven) MarshalJSON() ([]byte, error) { - toSerialize := map[string]interface{}{} - if o.ArtifactId != nil { - toSerialize["artifact_id"] = o.ArtifactId - } - if o.GroupId != nil { - toSerialize["group_id"] = o.GroupId - } - if o.JavadocFile != nil { - toSerialize["javadoc_file"] = o.JavadocFile - } - if true { - toSerialize["package_file"] = o.PackageFile - } - if o.Packaging != nil { - toSerialize["packaging"] = o.Packaging - } - if o.PomFile != nil { - toSerialize["pom_file"] = o.PomFile - } - if o.Republish != nil { - toSerialize["republish"] = o.Republish - } - if o.SourcesFile != nil { - toSerialize["sources_file"] = o.SourcesFile - } - if o.Tags != nil { - toSerialize["tags"] = o.Tags - } - if o.TestsFile != nil { - toSerialize["tests_file"] = o.TestsFile - } - if o.Version != nil { - toSerialize["version"] = o.Version - } - return json.Marshal(toSerialize) -} - -type NullablePackagesValidateUploadMaven struct { - value *PackagesValidateUploadMaven - isSet bool -} - -func (v NullablePackagesValidateUploadMaven) Get() *PackagesValidateUploadMaven { - return v.value -} - -func (v *NullablePackagesValidateUploadMaven) Set(val *PackagesValidateUploadMaven) { - v.value = val - v.isSet = true -} - -func (v NullablePackagesValidateUploadMaven) IsSet() bool { - return v.isSet -} - -func (v *NullablePackagesValidateUploadMaven) Unset() { - v.value = nil - v.isSet = false -} - -func NewNullablePackagesValidateUploadMaven(val *PackagesValidateUploadMaven) *NullablePackagesValidateUploadMaven { - return &NullablePackagesValidateUploadMaven{value: val, isSet: true} -} - -func (v NullablePackagesValidateUploadMaven) MarshalJSON() ([]byte, error) { - return json.Marshal(v.value) -} - -func (v *NullablePackagesValidateUploadMaven) UnmarshalJSON(src []byte) error { - v.isSet = true - return json.Unmarshal(src, &v.value) -} diff --git a/model_packages_validate_upload_npm.go b/model_packages_validate_upload_npm.go deleted file mode 100644 index ff8e48d0..00000000 --- a/model_packages_validate_upload_npm.go +++ /dev/null @@ -1,219 +0,0 @@ -/* -Cloudsmith API - -The API to the Cloudsmith Service - -API version: 1.121.3 -Contact: support@cloudsmith.io -*/ - -// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. - -package cloudsmith - -import ( - "encoding/json" -) - -// PackagesValidateUploadNpm struct for PackagesValidateUploadNpm -type PackagesValidateUploadNpm struct { - // The default npm dist-tag for this package/version - This will replace any other package/version if they are using the same tag. - NpmDistTag *string `json:"npm_dist_tag,omitempty"` - // The primary file for the package. - PackageFile string `json:"package_file"` - // If true, the uploaded package will overwrite any others with the same attributes (e.g. same version); otherwise, it will be flagged as a duplicate. - Republish *bool `json:"republish,omitempty"` - // A comma-separated values list of tags to add to the package. - Tags *string `json:"tags,omitempty"` -} - -// NewPackagesValidateUploadNpm instantiates a new PackagesValidateUploadNpm object -// 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 NewPackagesValidateUploadNpm(packageFile string) *PackagesValidateUploadNpm { - this := PackagesValidateUploadNpm{} - this.PackageFile = packageFile - return &this -} - -// NewPackagesValidateUploadNpmWithDefaults instantiates a new PackagesValidateUploadNpm object -// This constructor will only assign default values to properties that have it defined, -// but it doesn't guarantee that properties required by API are set -func NewPackagesValidateUploadNpmWithDefaults() *PackagesValidateUploadNpm { - this := PackagesValidateUploadNpm{} - return &this -} - -// GetNpmDistTag returns the NpmDistTag field value if set, zero value otherwise. -func (o *PackagesValidateUploadNpm) GetNpmDistTag() string { - if o == nil || o.NpmDistTag == nil { - var ret string - return ret - } - return *o.NpmDistTag -} - -// GetNpmDistTagOk returns a tuple with the NpmDistTag field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *PackagesValidateUploadNpm) GetNpmDistTagOk() (*string, bool) { - if o == nil || o.NpmDistTag == nil { - return nil, false - } - return o.NpmDistTag, true -} - -// HasNpmDistTag returns a boolean if a field has been set. -func (o *PackagesValidateUploadNpm) HasNpmDistTag() bool { - if o != nil && o.NpmDistTag != nil { - return true - } - - return false -} - -// SetNpmDistTag gets a reference to the given string and assigns it to the NpmDistTag field. -func (o *PackagesValidateUploadNpm) SetNpmDistTag(v string) { - o.NpmDistTag = &v -} - -// GetPackageFile returns the PackageFile field value -func (o *PackagesValidateUploadNpm) GetPackageFile() string { - if o == nil { - var ret string - return ret - } - - return o.PackageFile -} - -// GetPackageFileOk returns a tuple with the PackageFile field value -// and a boolean to check if the value has been set. -func (o *PackagesValidateUploadNpm) GetPackageFileOk() (*string, bool) { - if o == nil { - return nil, false - } - return &o.PackageFile, true -} - -// SetPackageFile sets field value -func (o *PackagesValidateUploadNpm) SetPackageFile(v string) { - o.PackageFile = v -} - -// GetRepublish returns the Republish field value if set, zero value otherwise. -func (o *PackagesValidateUploadNpm) GetRepublish() bool { - if o == nil || o.Republish == nil { - var ret bool - return ret - } - return *o.Republish -} - -// GetRepublishOk returns a tuple with the Republish field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *PackagesValidateUploadNpm) GetRepublishOk() (*bool, bool) { - if o == nil || o.Republish == nil { - return nil, false - } - return o.Republish, true -} - -// HasRepublish returns a boolean if a field has been set. -func (o *PackagesValidateUploadNpm) HasRepublish() bool { - if o != nil && o.Republish != nil { - return true - } - - return false -} - -// SetRepublish gets a reference to the given bool and assigns it to the Republish field. -func (o *PackagesValidateUploadNpm) SetRepublish(v bool) { - o.Republish = &v -} - -// GetTags returns the Tags field value if set, zero value otherwise. -func (o *PackagesValidateUploadNpm) GetTags() string { - if o == nil || o.Tags == nil { - var ret string - return ret - } - return *o.Tags -} - -// GetTagsOk returns a tuple with the Tags field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *PackagesValidateUploadNpm) GetTagsOk() (*string, bool) { - if o == nil || o.Tags == nil { - return nil, false - } - return o.Tags, true -} - -// HasTags returns a boolean if a field has been set. -func (o *PackagesValidateUploadNpm) HasTags() bool { - if o != nil && o.Tags != nil { - return true - } - - return false -} - -// SetTags gets a reference to the given string and assigns it to the Tags field. -func (o *PackagesValidateUploadNpm) SetTags(v string) { - o.Tags = &v -} - -func (o PackagesValidateUploadNpm) MarshalJSON() ([]byte, error) { - toSerialize := map[string]interface{}{} - if o.NpmDistTag != nil { - toSerialize["npm_dist_tag"] = o.NpmDistTag - } - if true { - toSerialize["package_file"] = o.PackageFile - } - if o.Republish != nil { - toSerialize["republish"] = o.Republish - } - if o.Tags != nil { - toSerialize["tags"] = o.Tags - } - return json.Marshal(toSerialize) -} - -type NullablePackagesValidateUploadNpm struct { - value *PackagesValidateUploadNpm - isSet bool -} - -func (v NullablePackagesValidateUploadNpm) Get() *PackagesValidateUploadNpm { - return v.value -} - -func (v *NullablePackagesValidateUploadNpm) Set(val *PackagesValidateUploadNpm) { - v.value = val - v.isSet = true -} - -func (v NullablePackagesValidateUploadNpm) IsSet() bool { - return v.isSet -} - -func (v *NullablePackagesValidateUploadNpm) Unset() { - v.value = nil - v.isSet = false -} - -func NewNullablePackagesValidateUploadNpm(val *PackagesValidateUploadNpm) *NullablePackagesValidateUploadNpm { - return &NullablePackagesValidateUploadNpm{value: val, isSet: true} -} - -func (v NullablePackagesValidateUploadNpm) MarshalJSON() ([]byte, error) { - return json.Marshal(v.value) -} - -func (v *NullablePackagesValidateUploadNpm) UnmarshalJSON(src []byte) error { - v.isSet = true - return json.Unmarshal(src, &v.value) -} diff --git a/model_packages_validate_upload_nuget.go b/model_packages_validate_upload_nuget.go deleted file mode 100644 index 042ae8ea..00000000 --- a/model_packages_validate_upload_nuget.go +++ /dev/null @@ -1,219 +0,0 @@ -/* -Cloudsmith API - -The API to the Cloudsmith Service - -API version: 1.121.3 -Contact: support@cloudsmith.io -*/ - -// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. - -package cloudsmith - -import ( - "encoding/json" -) - -// PackagesValidateUploadNuget struct for PackagesValidateUploadNuget -type PackagesValidateUploadNuget struct { - // The primary file for the package. - PackageFile string `json:"package_file"` - // If true, the uploaded package will overwrite any others with the same attributes (e.g. same version); otherwise, it will be flagged as a duplicate. - Republish *bool `json:"republish,omitempty"` - // Attaches a symbols file to the package. - SymbolsFile *string `json:"symbols_file,omitempty"` - // A comma-separated values list of tags to add to the package. - Tags *string `json:"tags,omitempty"` -} - -// NewPackagesValidateUploadNuget instantiates a new PackagesValidateUploadNuget object -// 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 NewPackagesValidateUploadNuget(packageFile string) *PackagesValidateUploadNuget { - this := PackagesValidateUploadNuget{} - this.PackageFile = packageFile - return &this -} - -// NewPackagesValidateUploadNugetWithDefaults instantiates a new PackagesValidateUploadNuget object -// This constructor will only assign default values to properties that have it defined, -// but it doesn't guarantee that properties required by API are set -func NewPackagesValidateUploadNugetWithDefaults() *PackagesValidateUploadNuget { - this := PackagesValidateUploadNuget{} - return &this -} - -// GetPackageFile returns the PackageFile field value -func (o *PackagesValidateUploadNuget) GetPackageFile() string { - if o == nil { - var ret string - return ret - } - - return o.PackageFile -} - -// GetPackageFileOk returns a tuple with the PackageFile field value -// and a boolean to check if the value has been set. -func (o *PackagesValidateUploadNuget) GetPackageFileOk() (*string, bool) { - if o == nil { - return nil, false - } - return &o.PackageFile, true -} - -// SetPackageFile sets field value -func (o *PackagesValidateUploadNuget) SetPackageFile(v string) { - o.PackageFile = v -} - -// GetRepublish returns the Republish field value if set, zero value otherwise. -func (o *PackagesValidateUploadNuget) GetRepublish() bool { - if o == nil || o.Republish == nil { - var ret bool - return ret - } - return *o.Republish -} - -// GetRepublishOk returns a tuple with the Republish field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *PackagesValidateUploadNuget) GetRepublishOk() (*bool, bool) { - if o == nil || o.Republish == nil { - return nil, false - } - return o.Republish, true -} - -// HasRepublish returns a boolean if a field has been set. -func (o *PackagesValidateUploadNuget) HasRepublish() bool { - if o != nil && o.Republish != nil { - return true - } - - return false -} - -// SetRepublish gets a reference to the given bool and assigns it to the Republish field. -func (o *PackagesValidateUploadNuget) SetRepublish(v bool) { - o.Republish = &v -} - -// GetSymbolsFile returns the SymbolsFile field value if set, zero value otherwise. -func (o *PackagesValidateUploadNuget) GetSymbolsFile() string { - if o == nil || o.SymbolsFile == nil { - var ret string - return ret - } - return *o.SymbolsFile -} - -// GetSymbolsFileOk returns a tuple with the SymbolsFile field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *PackagesValidateUploadNuget) GetSymbolsFileOk() (*string, bool) { - if o == nil || o.SymbolsFile == nil { - return nil, false - } - return o.SymbolsFile, true -} - -// HasSymbolsFile returns a boolean if a field has been set. -func (o *PackagesValidateUploadNuget) HasSymbolsFile() bool { - if o != nil && o.SymbolsFile != nil { - return true - } - - return false -} - -// SetSymbolsFile gets a reference to the given string and assigns it to the SymbolsFile field. -func (o *PackagesValidateUploadNuget) SetSymbolsFile(v string) { - o.SymbolsFile = &v -} - -// GetTags returns the Tags field value if set, zero value otherwise. -func (o *PackagesValidateUploadNuget) GetTags() string { - if o == nil || o.Tags == nil { - var ret string - return ret - } - return *o.Tags -} - -// GetTagsOk returns a tuple with the Tags field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *PackagesValidateUploadNuget) GetTagsOk() (*string, bool) { - if o == nil || o.Tags == nil { - return nil, false - } - return o.Tags, true -} - -// HasTags returns a boolean if a field has been set. -func (o *PackagesValidateUploadNuget) HasTags() bool { - if o != nil && o.Tags != nil { - return true - } - - return false -} - -// SetTags gets a reference to the given string and assigns it to the Tags field. -func (o *PackagesValidateUploadNuget) SetTags(v string) { - o.Tags = &v -} - -func (o PackagesValidateUploadNuget) MarshalJSON() ([]byte, error) { - toSerialize := map[string]interface{}{} - if true { - toSerialize["package_file"] = o.PackageFile - } - if o.Republish != nil { - toSerialize["republish"] = o.Republish - } - if o.SymbolsFile != nil { - toSerialize["symbols_file"] = o.SymbolsFile - } - if o.Tags != nil { - toSerialize["tags"] = o.Tags - } - return json.Marshal(toSerialize) -} - -type NullablePackagesValidateUploadNuget struct { - value *PackagesValidateUploadNuget - isSet bool -} - -func (v NullablePackagesValidateUploadNuget) Get() *PackagesValidateUploadNuget { - return v.value -} - -func (v *NullablePackagesValidateUploadNuget) Set(val *PackagesValidateUploadNuget) { - v.value = val - v.isSet = true -} - -func (v NullablePackagesValidateUploadNuget) IsSet() bool { - return v.isSet -} - -func (v *NullablePackagesValidateUploadNuget) Unset() { - v.value = nil - v.isSet = false -} - -func NewNullablePackagesValidateUploadNuget(val *PackagesValidateUploadNuget) *NullablePackagesValidateUploadNuget { - return &NullablePackagesValidateUploadNuget{value: val, isSet: true} -} - -func (v NullablePackagesValidateUploadNuget) MarshalJSON() ([]byte, error) { - return json.Marshal(v.value) -} - -func (v *NullablePackagesValidateUploadNuget) UnmarshalJSON(src []byte) error { - v.isSet = true - return json.Unmarshal(src, &v.value) -} diff --git a/model_packages_validate_upload_p2.go b/model_packages_validate_upload_p2.go deleted file mode 100644 index 7f240374..00000000 --- a/model_packages_validate_upload_p2.go +++ /dev/null @@ -1,182 +0,0 @@ -/* -Cloudsmith API - -The API to the Cloudsmith Service - -API version: 1.121.3 -Contact: support@cloudsmith.io -*/ - -// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. - -package cloudsmith - -import ( - "encoding/json" -) - -// PackagesValidateUploadP2 struct for PackagesValidateUploadP2 -type PackagesValidateUploadP2 struct { - // The primary file for the package. - PackageFile string `json:"package_file"` - // If true, the uploaded package will overwrite any others with the same attributes (e.g. same version); otherwise, it will be flagged as a duplicate. - Republish *bool `json:"republish,omitempty"` - // A comma-separated values list of tags to add to the package. - Tags *string `json:"tags,omitempty"` -} - -// NewPackagesValidateUploadP2 instantiates a new PackagesValidateUploadP2 object -// 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 NewPackagesValidateUploadP2(packageFile string) *PackagesValidateUploadP2 { - this := PackagesValidateUploadP2{} - this.PackageFile = packageFile - return &this -} - -// NewPackagesValidateUploadP2WithDefaults instantiates a new PackagesValidateUploadP2 object -// This constructor will only assign default values to properties that have it defined, -// but it doesn't guarantee that properties required by API are set -func NewPackagesValidateUploadP2WithDefaults() *PackagesValidateUploadP2 { - this := PackagesValidateUploadP2{} - return &this -} - -// GetPackageFile returns the PackageFile field value -func (o *PackagesValidateUploadP2) GetPackageFile() string { - if o == nil { - var ret string - return ret - } - - return o.PackageFile -} - -// GetPackageFileOk returns a tuple with the PackageFile field value -// and a boolean to check if the value has been set. -func (o *PackagesValidateUploadP2) GetPackageFileOk() (*string, bool) { - if o == nil { - return nil, false - } - return &o.PackageFile, true -} - -// SetPackageFile sets field value -func (o *PackagesValidateUploadP2) SetPackageFile(v string) { - o.PackageFile = v -} - -// GetRepublish returns the Republish field value if set, zero value otherwise. -func (o *PackagesValidateUploadP2) GetRepublish() bool { - if o == nil || o.Republish == nil { - var ret bool - return ret - } - return *o.Republish -} - -// GetRepublishOk returns a tuple with the Republish field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *PackagesValidateUploadP2) GetRepublishOk() (*bool, bool) { - if o == nil || o.Republish == nil { - return nil, false - } - return o.Republish, true -} - -// HasRepublish returns a boolean if a field has been set. -func (o *PackagesValidateUploadP2) HasRepublish() bool { - if o != nil && o.Republish != nil { - return true - } - - return false -} - -// SetRepublish gets a reference to the given bool and assigns it to the Republish field. -func (o *PackagesValidateUploadP2) SetRepublish(v bool) { - o.Republish = &v -} - -// GetTags returns the Tags field value if set, zero value otherwise. -func (o *PackagesValidateUploadP2) GetTags() string { - if o == nil || o.Tags == nil { - var ret string - return ret - } - return *o.Tags -} - -// GetTagsOk returns a tuple with the Tags field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *PackagesValidateUploadP2) GetTagsOk() (*string, bool) { - if o == nil || o.Tags == nil { - return nil, false - } - return o.Tags, true -} - -// HasTags returns a boolean if a field has been set. -func (o *PackagesValidateUploadP2) HasTags() bool { - if o != nil && o.Tags != nil { - return true - } - - return false -} - -// SetTags gets a reference to the given string and assigns it to the Tags field. -func (o *PackagesValidateUploadP2) SetTags(v string) { - o.Tags = &v -} - -func (o PackagesValidateUploadP2) MarshalJSON() ([]byte, error) { - toSerialize := map[string]interface{}{} - if true { - toSerialize["package_file"] = o.PackageFile - } - if o.Republish != nil { - toSerialize["republish"] = o.Republish - } - if o.Tags != nil { - toSerialize["tags"] = o.Tags - } - return json.Marshal(toSerialize) -} - -type NullablePackagesValidateUploadP2 struct { - value *PackagesValidateUploadP2 - isSet bool -} - -func (v NullablePackagesValidateUploadP2) Get() *PackagesValidateUploadP2 { - return v.value -} - -func (v *NullablePackagesValidateUploadP2) Set(val *PackagesValidateUploadP2) { - v.value = val - v.isSet = true -} - -func (v NullablePackagesValidateUploadP2) IsSet() bool { - return v.isSet -} - -func (v *NullablePackagesValidateUploadP2) Unset() { - v.value = nil - v.isSet = false -} - -func NewNullablePackagesValidateUploadP2(val *PackagesValidateUploadP2) *NullablePackagesValidateUploadP2 { - return &NullablePackagesValidateUploadP2{value: val, isSet: true} -} - -func (v NullablePackagesValidateUploadP2) MarshalJSON() ([]byte, error) { - return json.Marshal(v.value) -} - -func (v *NullablePackagesValidateUploadP2) UnmarshalJSON(src []byte) error { - v.isSet = true - return json.Unmarshal(src, &v.value) -} diff --git a/model_packages_validate_upload_python.go b/model_packages_validate_upload_python.go deleted file mode 100644 index 8981cc81..00000000 --- a/model_packages_validate_upload_python.go +++ /dev/null @@ -1,182 +0,0 @@ -/* -Cloudsmith API - -The API to the Cloudsmith Service - -API version: 1.121.3 -Contact: support@cloudsmith.io -*/ - -// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. - -package cloudsmith - -import ( - "encoding/json" -) - -// PackagesValidateUploadPython struct for PackagesValidateUploadPython -type PackagesValidateUploadPython struct { - // The primary file for the package. - PackageFile string `json:"package_file"` - // If true, the uploaded package will overwrite any others with the same attributes (e.g. same version); otherwise, it will be flagged as a duplicate. - Republish *bool `json:"republish,omitempty"` - // A comma-separated values list of tags to add to the package. - Tags *string `json:"tags,omitempty"` -} - -// NewPackagesValidateUploadPython instantiates a new PackagesValidateUploadPython object -// 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 NewPackagesValidateUploadPython(packageFile string) *PackagesValidateUploadPython { - this := PackagesValidateUploadPython{} - this.PackageFile = packageFile - return &this -} - -// NewPackagesValidateUploadPythonWithDefaults instantiates a new PackagesValidateUploadPython object -// This constructor will only assign default values to properties that have it defined, -// but it doesn't guarantee that properties required by API are set -func NewPackagesValidateUploadPythonWithDefaults() *PackagesValidateUploadPython { - this := PackagesValidateUploadPython{} - return &this -} - -// GetPackageFile returns the PackageFile field value -func (o *PackagesValidateUploadPython) GetPackageFile() string { - if o == nil { - var ret string - return ret - } - - return o.PackageFile -} - -// GetPackageFileOk returns a tuple with the PackageFile field value -// and a boolean to check if the value has been set. -func (o *PackagesValidateUploadPython) GetPackageFileOk() (*string, bool) { - if o == nil { - return nil, false - } - return &o.PackageFile, true -} - -// SetPackageFile sets field value -func (o *PackagesValidateUploadPython) SetPackageFile(v string) { - o.PackageFile = v -} - -// GetRepublish returns the Republish field value if set, zero value otherwise. -func (o *PackagesValidateUploadPython) GetRepublish() bool { - if o == nil || o.Republish == nil { - var ret bool - return ret - } - return *o.Republish -} - -// GetRepublishOk returns a tuple with the Republish field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *PackagesValidateUploadPython) GetRepublishOk() (*bool, bool) { - if o == nil || o.Republish == nil { - return nil, false - } - return o.Republish, true -} - -// HasRepublish returns a boolean if a field has been set. -func (o *PackagesValidateUploadPython) HasRepublish() bool { - if o != nil && o.Republish != nil { - return true - } - - return false -} - -// SetRepublish gets a reference to the given bool and assigns it to the Republish field. -func (o *PackagesValidateUploadPython) SetRepublish(v bool) { - o.Republish = &v -} - -// GetTags returns the Tags field value if set, zero value otherwise. -func (o *PackagesValidateUploadPython) GetTags() string { - if o == nil || o.Tags == nil { - var ret string - return ret - } - return *o.Tags -} - -// GetTagsOk returns a tuple with the Tags field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *PackagesValidateUploadPython) GetTagsOk() (*string, bool) { - if o == nil || o.Tags == nil { - return nil, false - } - return o.Tags, true -} - -// HasTags returns a boolean if a field has been set. -func (o *PackagesValidateUploadPython) HasTags() bool { - if o != nil && o.Tags != nil { - return true - } - - return false -} - -// SetTags gets a reference to the given string and assigns it to the Tags field. -func (o *PackagesValidateUploadPython) SetTags(v string) { - o.Tags = &v -} - -func (o PackagesValidateUploadPython) MarshalJSON() ([]byte, error) { - toSerialize := map[string]interface{}{} - if true { - toSerialize["package_file"] = o.PackageFile - } - if o.Republish != nil { - toSerialize["republish"] = o.Republish - } - if o.Tags != nil { - toSerialize["tags"] = o.Tags - } - return json.Marshal(toSerialize) -} - -type NullablePackagesValidateUploadPython struct { - value *PackagesValidateUploadPython - isSet bool -} - -func (v NullablePackagesValidateUploadPython) Get() *PackagesValidateUploadPython { - return v.value -} - -func (v *NullablePackagesValidateUploadPython) Set(val *PackagesValidateUploadPython) { - v.value = val - v.isSet = true -} - -func (v NullablePackagesValidateUploadPython) IsSet() bool { - return v.isSet -} - -func (v *NullablePackagesValidateUploadPython) Unset() { - v.value = nil - v.isSet = false -} - -func NewNullablePackagesValidateUploadPython(val *PackagesValidateUploadPython) *NullablePackagesValidateUploadPython { - return &NullablePackagesValidateUploadPython{value: val, isSet: true} -} - -func (v NullablePackagesValidateUploadPython) MarshalJSON() ([]byte, error) { - return json.Marshal(v.value) -} - -func (v *NullablePackagesValidateUploadPython) UnmarshalJSON(src []byte) error { - v.isSet = true - return json.Unmarshal(src, &v.value) -} diff --git a/model_packages_validate_upload_raw.go b/model_packages_validate_upload_raw.go deleted file mode 100644 index 1b780c33..00000000 --- a/model_packages_validate_upload_raw.go +++ /dev/null @@ -1,367 +0,0 @@ -/* -Cloudsmith API - -The API to the Cloudsmith Service - -API version: 1.121.3 -Contact: support@cloudsmith.io -*/ - -// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. - -package cloudsmith - -import ( - "encoding/json" -) - -// PackagesValidateUploadRaw struct for PackagesValidateUploadRaw -type PackagesValidateUploadRaw struct { - // A custom content/media (also known as MIME) type to be sent when downloading this file. By default Cloudsmith will attempt to detect the type, but if you need to override it, you can specify it here. - ContentType *string `json:"content_type,omitempty"` - // A textual description of this package. - Description *string `json:"description,omitempty"` - // The name of this package. - Name *string `json:"name,omitempty"` - // The primary file for the package. - PackageFile string `json:"package_file"` - // If true, the uploaded package will overwrite any others with the same attributes (e.g. same version); otherwise, it will be flagged as a duplicate. - Republish *bool `json:"republish,omitempty"` - // A one-liner synopsis of this package. - Summary *string `json:"summary,omitempty"` - // A comma-separated values list of tags to add to the package. - Tags *string `json:"tags,omitempty"` - // The raw version for this package. - Version *string `json:"version,omitempty"` -} - -// NewPackagesValidateUploadRaw instantiates a new PackagesValidateUploadRaw object -// 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 NewPackagesValidateUploadRaw(packageFile string) *PackagesValidateUploadRaw { - this := PackagesValidateUploadRaw{} - this.PackageFile = packageFile - return &this -} - -// NewPackagesValidateUploadRawWithDefaults instantiates a new PackagesValidateUploadRaw object -// This constructor will only assign default values to properties that have it defined, -// but it doesn't guarantee that properties required by API are set -func NewPackagesValidateUploadRawWithDefaults() *PackagesValidateUploadRaw { - this := PackagesValidateUploadRaw{} - return &this -} - -// GetContentType returns the ContentType field value if set, zero value otherwise. -func (o *PackagesValidateUploadRaw) GetContentType() string { - if o == nil || o.ContentType == nil { - var ret string - return ret - } - return *o.ContentType -} - -// GetContentTypeOk returns a tuple with the ContentType field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *PackagesValidateUploadRaw) GetContentTypeOk() (*string, bool) { - if o == nil || o.ContentType == nil { - return nil, false - } - return o.ContentType, true -} - -// HasContentType returns a boolean if a field has been set. -func (o *PackagesValidateUploadRaw) HasContentType() bool { - if o != nil && o.ContentType != nil { - return true - } - - return false -} - -// SetContentType gets a reference to the given string and assigns it to the ContentType field. -func (o *PackagesValidateUploadRaw) SetContentType(v string) { - o.ContentType = &v -} - -// GetDescription returns the Description field value if set, zero value otherwise. -func (o *PackagesValidateUploadRaw) GetDescription() string { - if o == nil || o.Description == nil { - var ret string - return ret - } - return *o.Description -} - -// GetDescriptionOk returns a tuple with the Description field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *PackagesValidateUploadRaw) GetDescriptionOk() (*string, bool) { - if o == nil || o.Description == nil { - return nil, false - } - return o.Description, true -} - -// HasDescription returns a boolean if a field has been set. -func (o *PackagesValidateUploadRaw) HasDescription() bool { - if o != nil && o.Description != nil { - return true - } - - return false -} - -// SetDescription gets a reference to the given string and assigns it to the Description field. -func (o *PackagesValidateUploadRaw) SetDescription(v string) { - o.Description = &v -} - -// GetName returns the Name field value if set, zero value otherwise. -func (o *PackagesValidateUploadRaw) GetName() string { - if o == nil || o.Name == nil { - var ret string - return ret - } - return *o.Name -} - -// GetNameOk returns a tuple with the Name field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *PackagesValidateUploadRaw) GetNameOk() (*string, bool) { - if o == nil || o.Name == nil { - return nil, false - } - return o.Name, true -} - -// HasName returns a boolean if a field has been set. -func (o *PackagesValidateUploadRaw) HasName() bool { - if o != nil && o.Name != nil { - return true - } - - return false -} - -// SetName gets a reference to the given string and assigns it to the Name field. -func (o *PackagesValidateUploadRaw) SetName(v string) { - o.Name = &v -} - -// GetPackageFile returns the PackageFile field value -func (o *PackagesValidateUploadRaw) GetPackageFile() string { - if o == nil { - var ret string - return ret - } - - return o.PackageFile -} - -// GetPackageFileOk returns a tuple with the PackageFile field value -// and a boolean to check if the value has been set. -func (o *PackagesValidateUploadRaw) GetPackageFileOk() (*string, bool) { - if o == nil { - return nil, false - } - return &o.PackageFile, true -} - -// SetPackageFile sets field value -func (o *PackagesValidateUploadRaw) SetPackageFile(v string) { - o.PackageFile = v -} - -// GetRepublish returns the Republish field value if set, zero value otherwise. -func (o *PackagesValidateUploadRaw) GetRepublish() bool { - if o == nil || o.Republish == nil { - var ret bool - return ret - } - return *o.Republish -} - -// GetRepublishOk returns a tuple with the Republish field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *PackagesValidateUploadRaw) GetRepublishOk() (*bool, bool) { - if o == nil || o.Republish == nil { - return nil, false - } - return o.Republish, true -} - -// HasRepublish returns a boolean if a field has been set. -func (o *PackagesValidateUploadRaw) HasRepublish() bool { - if o != nil && o.Republish != nil { - return true - } - - return false -} - -// SetRepublish gets a reference to the given bool and assigns it to the Republish field. -func (o *PackagesValidateUploadRaw) SetRepublish(v bool) { - o.Republish = &v -} - -// GetSummary returns the Summary field value if set, zero value otherwise. -func (o *PackagesValidateUploadRaw) GetSummary() string { - if o == nil || o.Summary == nil { - var ret string - return ret - } - return *o.Summary -} - -// GetSummaryOk returns a tuple with the Summary field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *PackagesValidateUploadRaw) GetSummaryOk() (*string, bool) { - if o == nil || o.Summary == nil { - return nil, false - } - return o.Summary, true -} - -// HasSummary returns a boolean if a field has been set. -func (o *PackagesValidateUploadRaw) HasSummary() bool { - if o != nil && o.Summary != nil { - return true - } - - return false -} - -// SetSummary gets a reference to the given string and assigns it to the Summary field. -func (o *PackagesValidateUploadRaw) SetSummary(v string) { - o.Summary = &v -} - -// GetTags returns the Tags field value if set, zero value otherwise. -func (o *PackagesValidateUploadRaw) GetTags() string { - if o == nil || o.Tags == nil { - var ret string - return ret - } - return *o.Tags -} - -// GetTagsOk returns a tuple with the Tags field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *PackagesValidateUploadRaw) GetTagsOk() (*string, bool) { - if o == nil || o.Tags == nil { - return nil, false - } - return o.Tags, true -} - -// HasTags returns a boolean if a field has been set. -func (o *PackagesValidateUploadRaw) HasTags() bool { - if o != nil && o.Tags != nil { - return true - } - - return false -} - -// SetTags gets a reference to the given string and assigns it to the Tags field. -func (o *PackagesValidateUploadRaw) SetTags(v string) { - o.Tags = &v -} - -// GetVersion returns the Version field value if set, zero value otherwise. -func (o *PackagesValidateUploadRaw) GetVersion() string { - if o == nil || o.Version == nil { - var ret string - return ret - } - return *o.Version -} - -// GetVersionOk returns a tuple with the Version field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *PackagesValidateUploadRaw) GetVersionOk() (*string, bool) { - if o == nil || o.Version == nil { - return nil, false - } - return o.Version, true -} - -// HasVersion returns a boolean if a field has been set. -func (o *PackagesValidateUploadRaw) HasVersion() bool { - if o != nil && o.Version != nil { - return true - } - - return false -} - -// SetVersion gets a reference to the given string and assigns it to the Version field. -func (o *PackagesValidateUploadRaw) SetVersion(v string) { - o.Version = &v -} - -func (o PackagesValidateUploadRaw) MarshalJSON() ([]byte, error) { - toSerialize := map[string]interface{}{} - if o.ContentType != nil { - toSerialize["content_type"] = o.ContentType - } - if o.Description != nil { - toSerialize["description"] = o.Description - } - if o.Name != nil { - toSerialize["name"] = o.Name - } - if true { - toSerialize["package_file"] = o.PackageFile - } - if o.Republish != nil { - toSerialize["republish"] = o.Republish - } - if o.Summary != nil { - toSerialize["summary"] = o.Summary - } - if o.Tags != nil { - toSerialize["tags"] = o.Tags - } - if o.Version != nil { - toSerialize["version"] = o.Version - } - return json.Marshal(toSerialize) -} - -type NullablePackagesValidateUploadRaw struct { - value *PackagesValidateUploadRaw - isSet bool -} - -func (v NullablePackagesValidateUploadRaw) Get() *PackagesValidateUploadRaw { - return v.value -} - -func (v *NullablePackagesValidateUploadRaw) Set(val *PackagesValidateUploadRaw) { - v.value = val - v.isSet = true -} - -func (v NullablePackagesValidateUploadRaw) IsSet() bool { - return v.isSet -} - -func (v *NullablePackagesValidateUploadRaw) Unset() { - v.value = nil - v.isSet = false -} - -func NewNullablePackagesValidateUploadRaw(val *PackagesValidateUploadRaw) *NullablePackagesValidateUploadRaw { - return &NullablePackagesValidateUploadRaw{value: val, isSet: true} -} - -func (v NullablePackagesValidateUploadRaw) MarshalJSON() ([]byte, error) { - return json.Marshal(v.value) -} - -func (v *NullablePackagesValidateUploadRaw) UnmarshalJSON(src []byte) error { - v.isSet = true - return json.Unmarshal(src, &v.value) -} diff --git a/model_packages_validate_upload_terraform.go b/model_packages_validate_upload_terraform.go deleted file mode 100644 index cde4d4a3..00000000 --- a/model_packages_validate_upload_terraform.go +++ /dev/null @@ -1,182 +0,0 @@ -/* -Cloudsmith API - -The API to the Cloudsmith Service - -API version: 1.121.3 -Contact: support@cloudsmith.io -*/ - -// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. - -package cloudsmith - -import ( - "encoding/json" -) - -// PackagesValidateUploadTerraform struct for PackagesValidateUploadTerraform -type PackagesValidateUploadTerraform struct { - // The primary file for the package. - PackageFile string `json:"package_file"` - // If true, the uploaded package will overwrite any others with the same attributes (e.g. same version); otherwise, it will be flagged as a duplicate. - Republish *bool `json:"republish,omitempty"` - // A comma-separated values list of tags to add to the package. - Tags *string `json:"tags,omitempty"` -} - -// NewPackagesValidateUploadTerraform instantiates a new PackagesValidateUploadTerraform object -// 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 NewPackagesValidateUploadTerraform(packageFile string) *PackagesValidateUploadTerraform { - this := PackagesValidateUploadTerraform{} - this.PackageFile = packageFile - return &this -} - -// NewPackagesValidateUploadTerraformWithDefaults instantiates a new PackagesValidateUploadTerraform object -// This constructor will only assign default values to properties that have it defined, -// but it doesn't guarantee that properties required by API are set -func NewPackagesValidateUploadTerraformWithDefaults() *PackagesValidateUploadTerraform { - this := PackagesValidateUploadTerraform{} - return &this -} - -// GetPackageFile returns the PackageFile field value -func (o *PackagesValidateUploadTerraform) GetPackageFile() string { - if o == nil { - var ret string - return ret - } - - return o.PackageFile -} - -// GetPackageFileOk returns a tuple with the PackageFile field value -// and a boolean to check if the value has been set. -func (o *PackagesValidateUploadTerraform) GetPackageFileOk() (*string, bool) { - if o == nil { - return nil, false - } - return &o.PackageFile, true -} - -// SetPackageFile sets field value -func (o *PackagesValidateUploadTerraform) SetPackageFile(v string) { - o.PackageFile = v -} - -// GetRepublish returns the Republish field value if set, zero value otherwise. -func (o *PackagesValidateUploadTerraform) GetRepublish() bool { - if o == nil || o.Republish == nil { - var ret bool - return ret - } - return *o.Republish -} - -// GetRepublishOk returns a tuple with the Republish field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *PackagesValidateUploadTerraform) GetRepublishOk() (*bool, bool) { - if o == nil || o.Republish == nil { - return nil, false - } - return o.Republish, true -} - -// HasRepublish returns a boolean if a field has been set. -func (o *PackagesValidateUploadTerraform) HasRepublish() bool { - if o != nil && o.Republish != nil { - return true - } - - return false -} - -// SetRepublish gets a reference to the given bool and assigns it to the Republish field. -func (o *PackagesValidateUploadTerraform) SetRepublish(v bool) { - o.Republish = &v -} - -// GetTags returns the Tags field value if set, zero value otherwise. -func (o *PackagesValidateUploadTerraform) GetTags() string { - if o == nil || o.Tags == nil { - var ret string - return ret - } - return *o.Tags -} - -// GetTagsOk returns a tuple with the Tags field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *PackagesValidateUploadTerraform) GetTagsOk() (*string, bool) { - if o == nil || o.Tags == nil { - return nil, false - } - return o.Tags, true -} - -// HasTags returns a boolean if a field has been set. -func (o *PackagesValidateUploadTerraform) HasTags() bool { - if o != nil && o.Tags != nil { - return true - } - - return false -} - -// SetTags gets a reference to the given string and assigns it to the Tags field. -func (o *PackagesValidateUploadTerraform) SetTags(v string) { - o.Tags = &v -} - -func (o PackagesValidateUploadTerraform) MarshalJSON() ([]byte, error) { - toSerialize := map[string]interface{}{} - if true { - toSerialize["package_file"] = o.PackageFile - } - if o.Republish != nil { - toSerialize["republish"] = o.Republish - } - if o.Tags != nil { - toSerialize["tags"] = o.Tags - } - return json.Marshal(toSerialize) -} - -type NullablePackagesValidateUploadTerraform struct { - value *PackagesValidateUploadTerraform - isSet bool -} - -func (v NullablePackagesValidateUploadTerraform) Get() *PackagesValidateUploadTerraform { - return v.value -} - -func (v *NullablePackagesValidateUploadTerraform) Set(val *PackagesValidateUploadTerraform) { - v.value = val - v.isSet = true -} - -func (v NullablePackagesValidateUploadTerraform) IsSet() bool { - return v.isSet -} - -func (v *NullablePackagesValidateUploadTerraform) Unset() { - v.value = nil - v.isSet = false -} - -func NewNullablePackagesValidateUploadTerraform(val *PackagesValidateUploadTerraform) *NullablePackagesValidateUploadTerraform { - return &NullablePackagesValidateUploadTerraform{value: val, isSet: true} -} - -func (v NullablePackagesValidateUploadTerraform) MarshalJSON() ([]byte, error) { - return json.Marshal(v.value) -} - -func (v *NullablePackagesValidateUploadTerraform) UnmarshalJSON(src []byte) error { - v.isSet = true - return json.Unmarshal(src, &v.value) -} diff --git a/model_packages_validate_upload_vagrant.go b/model_packages_validate_upload_vagrant.go deleted file mode 100644 index bc2a738d..00000000 --- a/model_packages_validate_upload_vagrant.go +++ /dev/null @@ -1,272 +0,0 @@ -/* -Cloudsmith API - -The API to the Cloudsmith Service - -API version: 1.121.3 -Contact: support@cloudsmith.io -*/ - -// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. - -package cloudsmith - -import ( - "encoding/json" -) - -// PackagesValidateUploadVagrant struct for PackagesValidateUploadVagrant -type PackagesValidateUploadVagrant struct { - // The name of this package. - Name string `json:"name"` - // The primary file for the package. - PackageFile string `json:"package_file"` - // The virtual machine provider for the box. - Provider string `json:"provider"` - // If true, the uploaded package will overwrite any others with the same attributes (e.g. same version); otherwise, it will be flagged as a duplicate. - Republish *bool `json:"republish,omitempty"` - // A comma-separated values list of tags to add to the package. - Tags *string `json:"tags,omitempty"` - // The raw version for this package. - Version string `json:"version"` -} - -// NewPackagesValidateUploadVagrant instantiates a new PackagesValidateUploadVagrant object -// 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 NewPackagesValidateUploadVagrant(name string, packageFile string, provider string, version string) *PackagesValidateUploadVagrant { - this := PackagesValidateUploadVagrant{} - this.Name = name - this.PackageFile = packageFile - this.Provider = provider - this.Version = version - return &this -} - -// NewPackagesValidateUploadVagrantWithDefaults instantiates a new PackagesValidateUploadVagrant object -// This constructor will only assign default values to properties that have it defined, -// but it doesn't guarantee that properties required by API are set -func NewPackagesValidateUploadVagrantWithDefaults() *PackagesValidateUploadVagrant { - this := PackagesValidateUploadVagrant{} - return &this -} - -// GetName returns the Name field value -func (o *PackagesValidateUploadVagrant) GetName() string { - if o == nil { - var ret string - return ret - } - - return o.Name -} - -// GetNameOk returns a tuple with the Name field value -// and a boolean to check if the value has been set. -func (o *PackagesValidateUploadVagrant) GetNameOk() (*string, bool) { - if o == nil { - return nil, false - } - return &o.Name, true -} - -// SetName sets field value -func (o *PackagesValidateUploadVagrant) SetName(v string) { - o.Name = v -} - -// GetPackageFile returns the PackageFile field value -func (o *PackagesValidateUploadVagrant) GetPackageFile() string { - if o == nil { - var ret string - return ret - } - - return o.PackageFile -} - -// GetPackageFileOk returns a tuple with the PackageFile field value -// and a boolean to check if the value has been set. -func (o *PackagesValidateUploadVagrant) GetPackageFileOk() (*string, bool) { - if o == nil { - return nil, false - } - return &o.PackageFile, true -} - -// SetPackageFile sets field value -func (o *PackagesValidateUploadVagrant) SetPackageFile(v string) { - o.PackageFile = v -} - -// GetProvider returns the Provider field value -func (o *PackagesValidateUploadVagrant) GetProvider() string { - if o == nil { - var ret string - return ret - } - - return o.Provider -} - -// GetProviderOk returns a tuple with the Provider field value -// and a boolean to check if the value has been set. -func (o *PackagesValidateUploadVagrant) GetProviderOk() (*string, bool) { - if o == nil { - return nil, false - } - return &o.Provider, true -} - -// SetProvider sets field value -func (o *PackagesValidateUploadVagrant) SetProvider(v string) { - o.Provider = v -} - -// GetRepublish returns the Republish field value if set, zero value otherwise. -func (o *PackagesValidateUploadVagrant) GetRepublish() bool { - if o == nil || o.Republish == nil { - var ret bool - return ret - } - return *o.Republish -} - -// GetRepublishOk returns a tuple with the Republish field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *PackagesValidateUploadVagrant) GetRepublishOk() (*bool, bool) { - if o == nil || o.Republish == nil { - return nil, false - } - return o.Republish, true -} - -// HasRepublish returns a boolean if a field has been set. -func (o *PackagesValidateUploadVagrant) HasRepublish() bool { - if o != nil && o.Republish != nil { - return true - } - - return false -} - -// SetRepublish gets a reference to the given bool and assigns it to the Republish field. -func (o *PackagesValidateUploadVagrant) SetRepublish(v bool) { - o.Republish = &v -} - -// GetTags returns the Tags field value if set, zero value otherwise. -func (o *PackagesValidateUploadVagrant) GetTags() string { - if o == nil || o.Tags == nil { - var ret string - return ret - } - return *o.Tags -} - -// GetTagsOk returns a tuple with the Tags field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *PackagesValidateUploadVagrant) GetTagsOk() (*string, bool) { - if o == nil || o.Tags == nil { - return nil, false - } - return o.Tags, true -} - -// HasTags returns a boolean if a field has been set. -func (o *PackagesValidateUploadVagrant) HasTags() bool { - if o != nil && o.Tags != nil { - return true - } - - return false -} - -// SetTags gets a reference to the given string and assigns it to the Tags field. -func (o *PackagesValidateUploadVagrant) SetTags(v string) { - o.Tags = &v -} - -// GetVersion returns the Version field value -func (o *PackagesValidateUploadVagrant) GetVersion() string { - if o == nil { - var ret string - return ret - } - - return o.Version -} - -// GetVersionOk returns a tuple with the Version field value -// and a boolean to check if the value has been set. -func (o *PackagesValidateUploadVagrant) GetVersionOk() (*string, bool) { - if o == nil { - return nil, false - } - return &o.Version, true -} - -// SetVersion sets field value -func (o *PackagesValidateUploadVagrant) SetVersion(v string) { - o.Version = v -} - -func (o PackagesValidateUploadVagrant) MarshalJSON() ([]byte, error) { - toSerialize := map[string]interface{}{} - if true { - toSerialize["name"] = o.Name - } - if true { - toSerialize["package_file"] = o.PackageFile - } - if true { - toSerialize["provider"] = o.Provider - } - if o.Republish != nil { - toSerialize["republish"] = o.Republish - } - if o.Tags != nil { - toSerialize["tags"] = o.Tags - } - if true { - toSerialize["version"] = o.Version - } - return json.Marshal(toSerialize) -} - -type NullablePackagesValidateUploadVagrant struct { - value *PackagesValidateUploadVagrant - isSet bool -} - -func (v NullablePackagesValidateUploadVagrant) Get() *PackagesValidateUploadVagrant { - return v.value -} - -func (v *NullablePackagesValidateUploadVagrant) Set(val *PackagesValidateUploadVagrant) { - v.value = val - v.isSet = true -} - -func (v NullablePackagesValidateUploadVagrant) IsSet() bool { - return v.isSet -} - -func (v *NullablePackagesValidateUploadVagrant) Unset() { - v.value = nil - v.isSet = false -} - -func NewNullablePackagesValidateUploadVagrant(val *PackagesValidateUploadVagrant) *NullablePackagesValidateUploadVagrant { - return &NullablePackagesValidateUploadVagrant{value: val, isSet: true} -} - -func (v NullablePackagesValidateUploadVagrant) MarshalJSON() ([]byte, error) { - return json.Marshal(v.value) -} - -func (v *NullablePackagesValidateUploadVagrant) UnmarshalJSON(src []byte) error { - v.isSet = true - return json.Unmarshal(src, &v.value) -} diff --git a/model_python_package_upload.go b/model_python_package_upload.go deleted file mode 100644 index 9dd18e03..00000000 --- a/model_python_package_upload.go +++ /dev/null @@ -1,2520 +0,0 @@ -/* -Cloudsmith API - -The API to the Cloudsmith Service - -API version: 1.121.3 -Contact: support@cloudsmith.io -*/ - -// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. - -package cloudsmith - -import ( - "encoding/json" -) - -// PythonPackageUpload struct for PythonPackageUpload -type PythonPackageUpload struct { - // - Architectures []PackagesOwnerRepoArchitectures `json:"architectures,omitempty"` - // - CdnUrl *string `json:"cdn_url,omitempty"` - // - ChecksumMd5 *string `json:"checksum_md5,omitempty"` - // - ChecksumSha1 *string `json:"checksum_sha1,omitempty"` - // - ChecksumSha256 *string `json:"checksum_sha256,omitempty"` - // - ChecksumSha512 *string `json:"checksum_sha512,omitempty"` - // A checksum of all of the package's dependencies. - DependenciesChecksumMd5 *string `json:"dependencies_checksum_md5,omitempty"` - // - DependenciesUrl *string `json:"dependencies_url,omitempty"` - // A textual description of this package. - Description *string `json:"description,omitempty"` - // - Distro map[string]interface{} `json:"distro,omitempty"` - // - DistroVersion map[string]interface{} `json:"distro_version,omitempty"` - // - Downloads *int64 `json:"downloads,omitempty"` - // The epoch of the package version (if any). - Epoch *int64 `json:"epoch,omitempty"` - // - Extension *string `json:"extension,omitempty"` - // - Filename *string `json:"filename,omitempty"` - // - Files []PackagesOwnerRepoFiles `json:"files,omitempty"` - // - Format *string `json:"format,omitempty"` - // - FormatUrl *string `json:"format_url,omitempty"` - // Unique and permanent identifier for the package. - IdentifierPerm *string `json:"identifier_perm,omitempty"` - // - Indexed *bool `json:"indexed,omitempty"` - // - IsDownloadable *bool `json:"is_downloadable,omitempty"` - // - IsQuarantined *bool `json:"is_quarantined,omitempty"` - // - IsSyncAwaiting *bool `json:"is_sync_awaiting,omitempty"` - // - IsSyncCompleted *bool `json:"is_sync_completed,omitempty"` - // - IsSyncFailed *bool `json:"is_sync_failed,omitempty"` - // - IsSyncInFlight *bool `json:"is_sync_in_flight,omitempty"` - // - IsSyncInProgress *bool `json:"is_sync_in_progress,omitempty"` - // The license of this package. - License *string `json:"license,omitempty"` - // The name of this package. - Name *string `json:"name,omitempty"` - // - Namespace *string `json:"namespace,omitempty"` - // - NamespaceUrl *string `json:"namespace_url,omitempty"` - // - NumFiles *int64 `json:"num_files,omitempty"` - // The type of package contents. - PackageType *int64 `json:"package_type,omitempty"` - // The release of the package version (if any). - Release *string `json:"release,omitempty"` - // - Repository *string `json:"repository,omitempty"` - // - RepositoryUrl *string `json:"repository_url,omitempty"` - // The datetime the security scanning was completed. - SecurityScanCompletedAt *string `json:"security_scan_completed_at,omitempty"` - // The datetime the security scanning was started. - SecurityScanStartedAt *string `json:"security_scan_started_at,omitempty"` - // - SecurityScanStatus *string `json:"security_scan_status,omitempty"` - // The datetime the security scanning status was updated. - SecurityScanStatusUpdatedAt *string `json:"security_scan_status_updated_at,omitempty"` - // - SelfHtmlUrl *string `json:"self_html_url,omitempty"` - // - SelfUrl *string `json:"self_url,omitempty"` - // - SignatureUrl *string `json:"signature_url,omitempty"` - // The calculated size of the package. - Size *int64 `json:"size,omitempty"` - // The public unique identifier for the package. - Slug *string `json:"slug,omitempty"` - // - SlugPerm *string `json:"slug_perm,omitempty"` - // The synchronisation (in progress) stage of the package. - Stage *int64 `json:"stage,omitempty"` - // - StageStr *string `json:"stage_str,omitempty"` - // The datetime the package stage was updated at. - StageUpdatedAt *string `json:"stage_updated_at,omitempty"` - // The synchronisation status of the package. - Status *int64 `json:"status,omitempty"` - // A textual description for the synchronous status reason (if any - StatusReason *string `json:"status_reason,omitempty"` - // - StatusStr *string `json:"status_str,omitempty"` - // The datetime the package status was updated at. - StatusUpdatedAt *string `json:"status_updated_at,omitempty"` - // - StatusUrl *string `json:"status_url,omitempty"` - // - Subtype *string `json:"subtype,omitempty"` - // A one-liner synopsis of this package. - Summary *string `json:"summary,omitempty"` - // The datetime the package sync was finished at. - SyncFinishedAt *string `json:"sync_finished_at,omitempty"` - // Synchronisation progress (from 0-100) - SyncProgress *int64 `json:"sync_progress,omitempty"` - // All immutable tags on the package, grouped by tag type. Immutable tags cannot be (easily) deleted. - TagsImmutable map[string]interface{} `json:"tags_immutable,omitempty"` - // - TypeDisplay *string `json:"type_display,omitempty"` - // The date this package was uploaded. - UploadedAt *string `json:"uploaded_at,omitempty"` - // - Uploader *string `json:"uploader,omitempty"` - // - UploaderUrl *string `json:"uploader_url,omitempty"` - // The raw version for this package. - Version *string `json:"version,omitempty"` - // - VersionOrig *string `json:"version_orig,omitempty"` - // - VulnerabilityScanResultsUrl *string `json:"vulnerability_scan_results_url,omitempty"` -} - -// NewPythonPackageUpload instantiates a new PythonPackageUpload object -// 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 NewPythonPackageUpload() *PythonPackageUpload { - this := PythonPackageUpload{} - return &this -} - -// NewPythonPackageUploadWithDefaults instantiates a new PythonPackageUpload object -// This constructor will only assign default values to properties that have it defined, -// but it doesn't guarantee that properties required by API are set -func NewPythonPackageUploadWithDefaults() *PythonPackageUpload { - this := PythonPackageUpload{} - return &this -} - -// GetArchitectures returns the Architectures field value if set, zero value otherwise. -func (o *PythonPackageUpload) GetArchitectures() []PackagesOwnerRepoArchitectures { - if o == nil || o.Architectures == nil { - var ret []PackagesOwnerRepoArchitectures - return ret - } - return o.Architectures -} - -// GetArchitecturesOk returns a tuple with the Architectures field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *PythonPackageUpload) GetArchitecturesOk() ([]PackagesOwnerRepoArchitectures, bool) { - if o == nil || o.Architectures == nil { - return nil, false - } - return o.Architectures, true -} - -// HasArchitectures returns a boolean if a field has been set. -func (o *PythonPackageUpload) HasArchitectures() bool { - if o != nil && o.Architectures != nil { - return true - } - - return false -} - -// SetArchitectures gets a reference to the given []PackagesOwnerRepoArchitectures and assigns it to the Architectures field. -func (o *PythonPackageUpload) SetArchitectures(v []PackagesOwnerRepoArchitectures) { - o.Architectures = v -} - -// GetCdnUrl returns the CdnUrl field value if set, zero value otherwise. -func (o *PythonPackageUpload) GetCdnUrl() string { - if o == nil || o.CdnUrl == nil { - var ret string - return ret - } - return *o.CdnUrl -} - -// GetCdnUrlOk returns a tuple with the CdnUrl field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *PythonPackageUpload) GetCdnUrlOk() (*string, bool) { - if o == nil || o.CdnUrl == nil { - return nil, false - } - return o.CdnUrl, true -} - -// HasCdnUrl returns a boolean if a field has been set. -func (o *PythonPackageUpload) HasCdnUrl() bool { - if o != nil && o.CdnUrl != nil { - return true - } - - return false -} - -// SetCdnUrl gets a reference to the given string and assigns it to the CdnUrl field. -func (o *PythonPackageUpload) SetCdnUrl(v string) { - o.CdnUrl = &v -} - -// GetChecksumMd5 returns the ChecksumMd5 field value if set, zero value otherwise. -func (o *PythonPackageUpload) GetChecksumMd5() string { - if o == nil || o.ChecksumMd5 == nil { - var ret string - return ret - } - return *o.ChecksumMd5 -} - -// GetChecksumMd5Ok returns a tuple with the ChecksumMd5 field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *PythonPackageUpload) GetChecksumMd5Ok() (*string, bool) { - if o == nil || o.ChecksumMd5 == nil { - return nil, false - } - return o.ChecksumMd5, true -} - -// HasChecksumMd5 returns a boolean if a field has been set. -func (o *PythonPackageUpload) HasChecksumMd5() bool { - if o != nil && o.ChecksumMd5 != nil { - return true - } - - return false -} - -// SetChecksumMd5 gets a reference to the given string and assigns it to the ChecksumMd5 field. -func (o *PythonPackageUpload) SetChecksumMd5(v string) { - o.ChecksumMd5 = &v -} - -// GetChecksumSha1 returns the ChecksumSha1 field value if set, zero value otherwise. -func (o *PythonPackageUpload) GetChecksumSha1() string { - if o == nil || o.ChecksumSha1 == nil { - var ret string - return ret - } - return *o.ChecksumSha1 -} - -// GetChecksumSha1Ok returns a tuple with the ChecksumSha1 field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *PythonPackageUpload) GetChecksumSha1Ok() (*string, bool) { - if o == nil || o.ChecksumSha1 == nil { - return nil, false - } - return o.ChecksumSha1, true -} - -// HasChecksumSha1 returns a boolean if a field has been set. -func (o *PythonPackageUpload) HasChecksumSha1() bool { - if o != nil && o.ChecksumSha1 != nil { - return true - } - - return false -} - -// SetChecksumSha1 gets a reference to the given string and assigns it to the ChecksumSha1 field. -func (o *PythonPackageUpload) SetChecksumSha1(v string) { - o.ChecksumSha1 = &v -} - -// GetChecksumSha256 returns the ChecksumSha256 field value if set, zero value otherwise. -func (o *PythonPackageUpload) GetChecksumSha256() string { - if o == nil || o.ChecksumSha256 == nil { - var ret string - return ret - } - return *o.ChecksumSha256 -} - -// GetChecksumSha256Ok returns a tuple with the ChecksumSha256 field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *PythonPackageUpload) GetChecksumSha256Ok() (*string, bool) { - if o == nil || o.ChecksumSha256 == nil { - return nil, false - } - return o.ChecksumSha256, true -} - -// HasChecksumSha256 returns a boolean if a field has been set. -func (o *PythonPackageUpload) HasChecksumSha256() bool { - if o != nil && o.ChecksumSha256 != nil { - return true - } - - return false -} - -// SetChecksumSha256 gets a reference to the given string and assigns it to the ChecksumSha256 field. -func (o *PythonPackageUpload) SetChecksumSha256(v string) { - o.ChecksumSha256 = &v -} - -// GetChecksumSha512 returns the ChecksumSha512 field value if set, zero value otherwise. -func (o *PythonPackageUpload) GetChecksumSha512() string { - if o == nil || o.ChecksumSha512 == nil { - var ret string - return ret - } - return *o.ChecksumSha512 -} - -// GetChecksumSha512Ok returns a tuple with the ChecksumSha512 field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *PythonPackageUpload) GetChecksumSha512Ok() (*string, bool) { - if o == nil || o.ChecksumSha512 == nil { - return nil, false - } - return o.ChecksumSha512, true -} - -// HasChecksumSha512 returns a boolean if a field has been set. -func (o *PythonPackageUpload) HasChecksumSha512() bool { - if o != nil && o.ChecksumSha512 != nil { - return true - } - - return false -} - -// SetChecksumSha512 gets a reference to the given string and assigns it to the ChecksumSha512 field. -func (o *PythonPackageUpload) SetChecksumSha512(v string) { - o.ChecksumSha512 = &v -} - -// GetDependenciesChecksumMd5 returns the DependenciesChecksumMd5 field value if set, zero value otherwise. -func (o *PythonPackageUpload) GetDependenciesChecksumMd5() string { - if o == nil || o.DependenciesChecksumMd5 == nil { - var ret string - return ret - } - return *o.DependenciesChecksumMd5 -} - -// GetDependenciesChecksumMd5Ok returns a tuple with the DependenciesChecksumMd5 field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *PythonPackageUpload) GetDependenciesChecksumMd5Ok() (*string, bool) { - if o == nil || o.DependenciesChecksumMd5 == nil { - return nil, false - } - return o.DependenciesChecksumMd5, true -} - -// HasDependenciesChecksumMd5 returns a boolean if a field has been set. -func (o *PythonPackageUpload) HasDependenciesChecksumMd5() bool { - if o != nil && o.DependenciesChecksumMd5 != nil { - return true - } - - return false -} - -// SetDependenciesChecksumMd5 gets a reference to the given string and assigns it to the DependenciesChecksumMd5 field. -func (o *PythonPackageUpload) SetDependenciesChecksumMd5(v string) { - o.DependenciesChecksumMd5 = &v -} - -// GetDependenciesUrl returns the DependenciesUrl field value if set, zero value otherwise. -func (o *PythonPackageUpload) GetDependenciesUrl() string { - if o == nil || o.DependenciesUrl == nil { - var ret string - return ret - } - return *o.DependenciesUrl -} - -// GetDependenciesUrlOk returns a tuple with the DependenciesUrl field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *PythonPackageUpload) GetDependenciesUrlOk() (*string, bool) { - if o == nil || o.DependenciesUrl == nil { - return nil, false - } - return o.DependenciesUrl, true -} - -// HasDependenciesUrl returns a boolean if a field has been set. -func (o *PythonPackageUpload) HasDependenciesUrl() bool { - if o != nil && o.DependenciesUrl != nil { - return true - } - - return false -} - -// SetDependenciesUrl gets a reference to the given string and assigns it to the DependenciesUrl field. -func (o *PythonPackageUpload) SetDependenciesUrl(v string) { - o.DependenciesUrl = &v -} - -// GetDescription returns the Description field value if set, zero value otherwise. -func (o *PythonPackageUpload) GetDescription() string { - if o == nil || o.Description == nil { - var ret string - return ret - } - return *o.Description -} - -// GetDescriptionOk returns a tuple with the Description field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *PythonPackageUpload) GetDescriptionOk() (*string, bool) { - if o == nil || o.Description == nil { - return nil, false - } - return o.Description, true -} - -// HasDescription returns a boolean if a field has been set. -func (o *PythonPackageUpload) HasDescription() bool { - if o != nil && o.Description != nil { - return true - } - - return false -} - -// SetDescription gets a reference to the given string and assigns it to the Description field. -func (o *PythonPackageUpload) SetDescription(v string) { - o.Description = &v -} - -// GetDistro returns the Distro field value if set, zero value otherwise. -func (o *PythonPackageUpload) GetDistro() map[string]interface{} { - if o == nil || o.Distro == nil { - var ret map[string]interface{} - return ret - } - return o.Distro -} - -// GetDistroOk returns a tuple with the Distro field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *PythonPackageUpload) GetDistroOk() (map[string]interface{}, bool) { - if o == nil || o.Distro == nil { - return nil, false - } - return o.Distro, true -} - -// HasDistro returns a boolean if a field has been set. -func (o *PythonPackageUpload) HasDistro() bool { - if o != nil && o.Distro != nil { - return true - } - - return false -} - -// SetDistro gets a reference to the given map[string]interface{} and assigns it to the Distro field. -func (o *PythonPackageUpload) SetDistro(v map[string]interface{}) { - o.Distro = v -} - -// GetDistroVersion returns the DistroVersion field value if set, zero value otherwise. -func (o *PythonPackageUpload) GetDistroVersion() map[string]interface{} { - if o == nil || o.DistroVersion == nil { - var ret map[string]interface{} - return ret - } - return o.DistroVersion -} - -// GetDistroVersionOk returns a tuple with the DistroVersion field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *PythonPackageUpload) GetDistroVersionOk() (map[string]interface{}, bool) { - if o == nil || o.DistroVersion == nil { - return nil, false - } - return o.DistroVersion, true -} - -// HasDistroVersion returns a boolean if a field has been set. -func (o *PythonPackageUpload) HasDistroVersion() bool { - if o != nil && o.DistroVersion != nil { - return true - } - - return false -} - -// SetDistroVersion gets a reference to the given map[string]interface{} and assigns it to the DistroVersion field. -func (o *PythonPackageUpload) SetDistroVersion(v map[string]interface{}) { - o.DistroVersion = v -} - -// GetDownloads returns the Downloads field value if set, zero value otherwise. -func (o *PythonPackageUpload) GetDownloads() int64 { - if o == nil || o.Downloads == nil { - var ret int64 - return ret - } - return *o.Downloads -} - -// GetDownloadsOk returns a tuple with the Downloads field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *PythonPackageUpload) GetDownloadsOk() (*int64, bool) { - if o == nil || o.Downloads == nil { - return nil, false - } - return o.Downloads, true -} - -// HasDownloads returns a boolean if a field has been set. -func (o *PythonPackageUpload) HasDownloads() bool { - if o != nil && o.Downloads != nil { - return true - } - - return false -} - -// SetDownloads gets a reference to the given int64 and assigns it to the Downloads field. -func (o *PythonPackageUpload) SetDownloads(v int64) { - o.Downloads = &v -} - -// GetEpoch returns the Epoch field value if set, zero value otherwise. -func (o *PythonPackageUpload) GetEpoch() int64 { - if o == nil || o.Epoch == nil { - var ret int64 - return ret - } - return *o.Epoch -} - -// GetEpochOk returns a tuple with the Epoch field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *PythonPackageUpload) GetEpochOk() (*int64, bool) { - if o == nil || o.Epoch == nil { - return nil, false - } - return o.Epoch, true -} - -// HasEpoch returns a boolean if a field has been set. -func (o *PythonPackageUpload) HasEpoch() bool { - if o != nil && o.Epoch != nil { - return true - } - - return false -} - -// SetEpoch gets a reference to the given int64 and assigns it to the Epoch field. -func (o *PythonPackageUpload) SetEpoch(v int64) { - o.Epoch = &v -} - -// GetExtension returns the Extension field value if set, zero value otherwise. -func (o *PythonPackageUpload) GetExtension() string { - if o == nil || o.Extension == nil { - var ret string - return ret - } - return *o.Extension -} - -// GetExtensionOk returns a tuple with the Extension field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *PythonPackageUpload) GetExtensionOk() (*string, bool) { - if o == nil || o.Extension == nil { - return nil, false - } - return o.Extension, true -} - -// HasExtension returns a boolean if a field has been set. -func (o *PythonPackageUpload) HasExtension() bool { - if o != nil && o.Extension != nil { - return true - } - - return false -} - -// SetExtension gets a reference to the given string and assigns it to the Extension field. -func (o *PythonPackageUpload) SetExtension(v string) { - o.Extension = &v -} - -// GetFilename returns the Filename field value if set, zero value otherwise. -func (o *PythonPackageUpload) GetFilename() string { - if o == nil || o.Filename == nil { - var ret string - return ret - } - return *o.Filename -} - -// GetFilenameOk returns a tuple with the Filename field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *PythonPackageUpload) GetFilenameOk() (*string, bool) { - if o == nil || o.Filename == nil { - return nil, false - } - return o.Filename, true -} - -// HasFilename returns a boolean if a field has been set. -func (o *PythonPackageUpload) HasFilename() bool { - if o != nil && o.Filename != nil { - return true - } - - return false -} - -// SetFilename gets a reference to the given string and assigns it to the Filename field. -func (o *PythonPackageUpload) SetFilename(v string) { - o.Filename = &v -} - -// GetFiles returns the Files field value if set, zero value otherwise. -func (o *PythonPackageUpload) GetFiles() []PackagesOwnerRepoFiles { - if o == nil || o.Files == nil { - var ret []PackagesOwnerRepoFiles - return ret - } - return o.Files -} - -// GetFilesOk returns a tuple with the Files field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *PythonPackageUpload) GetFilesOk() ([]PackagesOwnerRepoFiles, bool) { - if o == nil || o.Files == nil { - return nil, false - } - return o.Files, true -} - -// HasFiles returns a boolean if a field has been set. -func (o *PythonPackageUpload) HasFiles() bool { - if o != nil && o.Files != nil { - return true - } - - return false -} - -// SetFiles gets a reference to the given []PackagesOwnerRepoFiles and assigns it to the Files field. -func (o *PythonPackageUpload) SetFiles(v []PackagesOwnerRepoFiles) { - o.Files = v -} - -// GetFormat returns the Format field value if set, zero value otherwise. -func (o *PythonPackageUpload) GetFormat() string { - if o == nil || o.Format == nil { - var ret string - return ret - } - return *o.Format -} - -// GetFormatOk returns a tuple with the Format field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *PythonPackageUpload) GetFormatOk() (*string, bool) { - if o == nil || o.Format == nil { - return nil, false - } - return o.Format, true -} - -// HasFormat returns a boolean if a field has been set. -func (o *PythonPackageUpload) HasFormat() bool { - if o != nil && o.Format != nil { - return true - } - - return false -} - -// SetFormat gets a reference to the given string and assigns it to the Format field. -func (o *PythonPackageUpload) SetFormat(v string) { - o.Format = &v -} - -// GetFormatUrl returns the FormatUrl field value if set, zero value otherwise. -func (o *PythonPackageUpload) GetFormatUrl() string { - if o == nil || o.FormatUrl == nil { - var ret string - return ret - } - return *o.FormatUrl -} - -// GetFormatUrlOk returns a tuple with the FormatUrl field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *PythonPackageUpload) GetFormatUrlOk() (*string, bool) { - if o == nil || o.FormatUrl == nil { - return nil, false - } - return o.FormatUrl, true -} - -// HasFormatUrl returns a boolean if a field has been set. -func (o *PythonPackageUpload) HasFormatUrl() bool { - if o != nil && o.FormatUrl != nil { - return true - } - - return false -} - -// SetFormatUrl gets a reference to the given string and assigns it to the FormatUrl field. -func (o *PythonPackageUpload) SetFormatUrl(v string) { - o.FormatUrl = &v -} - -// GetIdentifierPerm returns the IdentifierPerm field value if set, zero value otherwise. -func (o *PythonPackageUpload) GetIdentifierPerm() string { - if o == nil || o.IdentifierPerm == nil { - var ret string - return ret - } - return *o.IdentifierPerm -} - -// GetIdentifierPermOk returns a tuple with the IdentifierPerm field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *PythonPackageUpload) GetIdentifierPermOk() (*string, bool) { - if o == nil || o.IdentifierPerm == nil { - return nil, false - } - return o.IdentifierPerm, true -} - -// HasIdentifierPerm returns a boolean if a field has been set. -func (o *PythonPackageUpload) HasIdentifierPerm() bool { - if o != nil && o.IdentifierPerm != nil { - return true - } - - return false -} - -// SetIdentifierPerm gets a reference to the given string and assigns it to the IdentifierPerm field. -func (o *PythonPackageUpload) SetIdentifierPerm(v string) { - o.IdentifierPerm = &v -} - -// GetIndexed returns the Indexed field value if set, zero value otherwise. -func (o *PythonPackageUpload) GetIndexed() bool { - if o == nil || o.Indexed == nil { - var ret bool - return ret - } - return *o.Indexed -} - -// GetIndexedOk returns a tuple with the Indexed field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *PythonPackageUpload) GetIndexedOk() (*bool, bool) { - if o == nil || o.Indexed == nil { - return nil, false - } - return o.Indexed, true -} - -// HasIndexed returns a boolean if a field has been set. -func (o *PythonPackageUpload) HasIndexed() bool { - if o != nil && o.Indexed != nil { - return true - } - - return false -} - -// SetIndexed gets a reference to the given bool and assigns it to the Indexed field. -func (o *PythonPackageUpload) SetIndexed(v bool) { - o.Indexed = &v -} - -// GetIsDownloadable returns the IsDownloadable field value if set, zero value otherwise. -func (o *PythonPackageUpload) GetIsDownloadable() bool { - if o == nil || o.IsDownloadable == nil { - var ret bool - return ret - } - return *o.IsDownloadable -} - -// GetIsDownloadableOk returns a tuple with the IsDownloadable field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *PythonPackageUpload) GetIsDownloadableOk() (*bool, bool) { - if o == nil || o.IsDownloadable == nil { - return nil, false - } - return o.IsDownloadable, true -} - -// HasIsDownloadable returns a boolean if a field has been set. -func (o *PythonPackageUpload) HasIsDownloadable() bool { - if o != nil && o.IsDownloadable != nil { - return true - } - - return false -} - -// SetIsDownloadable gets a reference to the given bool and assigns it to the IsDownloadable field. -func (o *PythonPackageUpload) SetIsDownloadable(v bool) { - o.IsDownloadable = &v -} - -// GetIsQuarantined returns the IsQuarantined field value if set, zero value otherwise. -func (o *PythonPackageUpload) GetIsQuarantined() bool { - if o == nil || o.IsQuarantined == nil { - var ret bool - return ret - } - return *o.IsQuarantined -} - -// GetIsQuarantinedOk returns a tuple with the IsQuarantined field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *PythonPackageUpload) GetIsQuarantinedOk() (*bool, bool) { - if o == nil || o.IsQuarantined == nil { - return nil, false - } - return o.IsQuarantined, true -} - -// HasIsQuarantined returns a boolean if a field has been set. -func (o *PythonPackageUpload) HasIsQuarantined() bool { - if o != nil && o.IsQuarantined != nil { - return true - } - - return false -} - -// SetIsQuarantined gets a reference to the given bool and assigns it to the IsQuarantined field. -func (o *PythonPackageUpload) SetIsQuarantined(v bool) { - o.IsQuarantined = &v -} - -// GetIsSyncAwaiting returns the IsSyncAwaiting field value if set, zero value otherwise. -func (o *PythonPackageUpload) GetIsSyncAwaiting() bool { - if o == nil || o.IsSyncAwaiting == nil { - var ret bool - return ret - } - return *o.IsSyncAwaiting -} - -// GetIsSyncAwaitingOk returns a tuple with the IsSyncAwaiting field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *PythonPackageUpload) GetIsSyncAwaitingOk() (*bool, bool) { - if o == nil || o.IsSyncAwaiting == nil { - return nil, false - } - return o.IsSyncAwaiting, true -} - -// HasIsSyncAwaiting returns a boolean if a field has been set. -func (o *PythonPackageUpload) HasIsSyncAwaiting() bool { - if o != nil && o.IsSyncAwaiting != nil { - return true - } - - return false -} - -// SetIsSyncAwaiting gets a reference to the given bool and assigns it to the IsSyncAwaiting field. -func (o *PythonPackageUpload) SetIsSyncAwaiting(v bool) { - o.IsSyncAwaiting = &v -} - -// GetIsSyncCompleted returns the IsSyncCompleted field value if set, zero value otherwise. -func (o *PythonPackageUpload) GetIsSyncCompleted() bool { - if o == nil || o.IsSyncCompleted == nil { - var ret bool - return ret - } - return *o.IsSyncCompleted -} - -// GetIsSyncCompletedOk returns a tuple with the IsSyncCompleted field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *PythonPackageUpload) GetIsSyncCompletedOk() (*bool, bool) { - if o == nil || o.IsSyncCompleted == nil { - return nil, false - } - return o.IsSyncCompleted, true -} - -// HasIsSyncCompleted returns a boolean if a field has been set. -func (o *PythonPackageUpload) HasIsSyncCompleted() bool { - if o != nil && o.IsSyncCompleted != nil { - return true - } - - return false -} - -// SetIsSyncCompleted gets a reference to the given bool and assigns it to the IsSyncCompleted field. -func (o *PythonPackageUpload) SetIsSyncCompleted(v bool) { - o.IsSyncCompleted = &v -} - -// GetIsSyncFailed returns the IsSyncFailed field value if set, zero value otherwise. -func (o *PythonPackageUpload) GetIsSyncFailed() bool { - if o == nil || o.IsSyncFailed == nil { - var ret bool - return ret - } - return *o.IsSyncFailed -} - -// GetIsSyncFailedOk returns a tuple with the IsSyncFailed field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *PythonPackageUpload) GetIsSyncFailedOk() (*bool, bool) { - if o == nil || o.IsSyncFailed == nil { - return nil, false - } - return o.IsSyncFailed, true -} - -// HasIsSyncFailed returns a boolean if a field has been set. -func (o *PythonPackageUpload) HasIsSyncFailed() bool { - if o != nil && o.IsSyncFailed != nil { - return true - } - - return false -} - -// SetIsSyncFailed gets a reference to the given bool and assigns it to the IsSyncFailed field. -func (o *PythonPackageUpload) SetIsSyncFailed(v bool) { - o.IsSyncFailed = &v -} - -// GetIsSyncInFlight returns the IsSyncInFlight field value if set, zero value otherwise. -func (o *PythonPackageUpload) GetIsSyncInFlight() bool { - if o == nil || o.IsSyncInFlight == nil { - var ret bool - return ret - } - return *o.IsSyncInFlight -} - -// GetIsSyncInFlightOk returns a tuple with the IsSyncInFlight field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *PythonPackageUpload) GetIsSyncInFlightOk() (*bool, bool) { - if o == nil || o.IsSyncInFlight == nil { - return nil, false - } - return o.IsSyncInFlight, true -} - -// HasIsSyncInFlight returns a boolean if a field has been set. -func (o *PythonPackageUpload) HasIsSyncInFlight() bool { - if o != nil && o.IsSyncInFlight != nil { - return true - } - - return false -} - -// SetIsSyncInFlight gets a reference to the given bool and assigns it to the IsSyncInFlight field. -func (o *PythonPackageUpload) SetIsSyncInFlight(v bool) { - o.IsSyncInFlight = &v -} - -// GetIsSyncInProgress returns the IsSyncInProgress field value if set, zero value otherwise. -func (o *PythonPackageUpload) GetIsSyncInProgress() bool { - if o == nil || o.IsSyncInProgress == nil { - var ret bool - return ret - } - return *o.IsSyncInProgress -} - -// GetIsSyncInProgressOk returns a tuple with the IsSyncInProgress field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *PythonPackageUpload) GetIsSyncInProgressOk() (*bool, bool) { - if o == nil || o.IsSyncInProgress == nil { - return nil, false - } - return o.IsSyncInProgress, true -} - -// HasIsSyncInProgress returns a boolean if a field has been set. -func (o *PythonPackageUpload) HasIsSyncInProgress() bool { - if o != nil && o.IsSyncInProgress != nil { - return true - } - - return false -} - -// SetIsSyncInProgress gets a reference to the given bool and assigns it to the IsSyncInProgress field. -func (o *PythonPackageUpload) SetIsSyncInProgress(v bool) { - o.IsSyncInProgress = &v -} - -// GetLicense returns the License field value if set, zero value otherwise. -func (o *PythonPackageUpload) GetLicense() string { - if o == nil || o.License == nil { - var ret string - return ret - } - return *o.License -} - -// GetLicenseOk returns a tuple with the License field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *PythonPackageUpload) GetLicenseOk() (*string, bool) { - if o == nil || o.License == nil { - return nil, false - } - return o.License, true -} - -// HasLicense returns a boolean if a field has been set. -func (o *PythonPackageUpload) HasLicense() bool { - if o != nil && o.License != nil { - return true - } - - return false -} - -// SetLicense gets a reference to the given string and assigns it to the License field. -func (o *PythonPackageUpload) SetLicense(v string) { - o.License = &v -} - -// GetName returns the Name field value if set, zero value otherwise. -func (o *PythonPackageUpload) GetName() string { - if o == nil || o.Name == nil { - var ret string - return ret - } - return *o.Name -} - -// GetNameOk returns a tuple with the Name field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *PythonPackageUpload) GetNameOk() (*string, bool) { - if o == nil || o.Name == nil { - return nil, false - } - return o.Name, true -} - -// HasName returns a boolean if a field has been set. -func (o *PythonPackageUpload) HasName() bool { - if o != nil && o.Name != nil { - return true - } - - return false -} - -// SetName gets a reference to the given string and assigns it to the Name field. -func (o *PythonPackageUpload) SetName(v string) { - o.Name = &v -} - -// GetNamespace returns the Namespace field value if set, zero value otherwise. -func (o *PythonPackageUpload) GetNamespace() string { - if o == nil || o.Namespace == nil { - var ret string - return ret - } - return *o.Namespace -} - -// GetNamespaceOk returns a tuple with the Namespace field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *PythonPackageUpload) GetNamespaceOk() (*string, bool) { - if o == nil || o.Namespace == nil { - return nil, false - } - return o.Namespace, true -} - -// HasNamespace returns a boolean if a field has been set. -func (o *PythonPackageUpload) HasNamespace() bool { - if o != nil && o.Namespace != nil { - return true - } - - return false -} - -// SetNamespace gets a reference to the given string and assigns it to the Namespace field. -func (o *PythonPackageUpload) SetNamespace(v string) { - o.Namespace = &v -} - -// GetNamespaceUrl returns the NamespaceUrl field value if set, zero value otherwise. -func (o *PythonPackageUpload) GetNamespaceUrl() string { - if o == nil || o.NamespaceUrl == nil { - var ret string - return ret - } - return *o.NamespaceUrl -} - -// GetNamespaceUrlOk returns a tuple with the NamespaceUrl field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *PythonPackageUpload) GetNamespaceUrlOk() (*string, bool) { - if o == nil || o.NamespaceUrl == nil { - return nil, false - } - return o.NamespaceUrl, true -} - -// HasNamespaceUrl returns a boolean if a field has been set. -func (o *PythonPackageUpload) HasNamespaceUrl() bool { - if o != nil && o.NamespaceUrl != nil { - return true - } - - return false -} - -// SetNamespaceUrl gets a reference to the given string and assigns it to the NamespaceUrl field. -func (o *PythonPackageUpload) SetNamespaceUrl(v string) { - o.NamespaceUrl = &v -} - -// GetNumFiles returns the NumFiles field value if set, zero value otherwise. -func (o *PythonPackageUpload) GetNumFiles() int64 { - if o == nil || o.NumFiles == nil { - var ret int64 - return ret - } - return *o.NumFiles -} - -// GetNumFilesOk returns a tuple with the NumFiles field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *PythonPackageUpload) GetNumFilesOk() (*int64, bool) { - if o == nil || o.NumFiles == nil { - return nil, false - } - return o.NumFiles, true -} - -// HasNumFiles returns a boolean if a field has been set. -func (o *PythonPackageUpload) HasNumFiles() bool { - if o != nil && o.NumFiles != nil { - return true - } - - return false -} - -// SetNumFiles gets a reference to the given int64 and assigns it to the NumFiles field. -func (o *PythonPackageUpload) SetNumFiles(v int64) { - o.NumFiles = &v -} - -// GetPackageType returns the PackageType field value if set, zero value otherwise. -func (o *PythonPackageUpload) GetPackageType() int64 { - if o == nil || o.PackageType == nil { - var ret int64 - return ret - } - return *o.PackageType -} - -// GetPackageTypeOk returns a tuple with the PackageType field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *PythonPackageUpload) GetPackageTypeOk() (*int64, bool) { - if o == nil || o.PackageType == nil { - return nil, false - } - return o.PackageType, true -} - -// HasPackageType returns a boolean if a field has been set. -func (o *PythonPackageUpload) HasPackageType() bool { - if o != nil && o.PackageType != nil { - return true - } - - return false -} - -// SetPackageType gets a reference to the given int64 and assigns it to the PackageType field. -func (o *PythonPackageUpload) SetPackageType(v int64) { - o.PackageType = &v -} - -// GetRelease returns the Release field value if set, zero value otherwise. -func (o *PythonPackageUpload) GetRelease() string { - if o == nil || o.Release == nil { - var ret string - return ret - } - return *o.Release -} - -// GetReleaseOk returns a tuple with the Release field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *PythonPackageUpload) GetReleaseOk() (*string, bool) { - if o == nil || o.Release == nil { - return nil, false - } - return o.Release, true -} - -// HasRelease returns a boolean if a field has been set. -func (o *PythonPackageUpload) HasRelease() bool { - if o != nil && o.Release != nil { - return true - } - - return false -} - -// SetRelease gets a reference to the given string and assigns it to the Release field. -func (o *PythonPackageUpload) SetRelease(v string) { - o.Release = &v -} - -// GetRepository returns the Repository field value if set, zero value otherwise. -func (o *PythonPackageUpload) GetRepository() string { - if o == nil || o.Repository == nil { - var ret string - return ret - } - return *o.Repository -} - -// GetRepositoryOk returns a tuple with the Repository field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *PythonPackageUpload) GetRepositoryOk() (*string, bool) { - if o == nil || o.Repository == nil { - return nil, false - } - return o.Repository, true -} - -// HasRepository returns a boolean if a field has been set. -func (o *PythonPackageUpload) HasRepository() bool { - if o != nil && o.Repository != nil { - return true - } - - return false -} - -// SetRepository gets a reference to the given string and assigns it to the Repository field. -func (o *PythonPackageUpload) SetRepository(v string) { - o.Repository = &v -} - -// GetRepositoryUrl returns the RepositoryUrl field value if set, zero value otherwise. -func (o *PythonPackageUpload) GetRepositoryUrl() string { - if o == nil || o.RepositoryUrl == nil { - var ret string - return ret - } - return *o.RepositoryUrl -} - -// GetRepositoryUrlOk returns a tuple with the RepositoryUrl field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *PythonPackageUpload) GetRepositoryUrlOk() (*string, bool) { - if o == nil || o.RepositoryUrl == nil { - return nil, false - } - return o.RepositoryUrl, true -} - -// HasRepositoryUrl returns a boolean if a field has been set. -func (o *PythonPackageUpload) HasRepositoryUrl() bool { - if o != nil && o.RepositoryUrl != nil { - return true - } - - return false -} - -// SetRepositoryUrl gets a reference to the given string and assigns it to the RepositoryUrl field. -func (o *PythonPackageUpload) SetRepositoryUrl(v string) { - o.RepositoryUrl = &v -} - -// GetSecurityScanCompletedAt returns the SecurityScanCompletedAt field value if set, zero value otherwise. -func (o *PythonPackageUpload) GetSecurityScanCompletedAt() string { - if o == nil || o.SecurityScanCompletedAt == nil { - var ret string - return ret - } - return *o.SecurityScanCompletedAt -} - -// GetSecurityScanCompletedAtOk returns a tuple with the SecurityScanCompletedAt field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *PythonPackageUpload) GetSecurityScanCompletedAtOk() (*string, bool) { - if o == nil || o.SecurityScanCompletedAt == nil { - return nil, false - } - return o.SecurityScanCompletedAt, true -} - -// HasSecurityScanCompletedAt returns a boolean if a field has been set. -func (o *PythonPackageUpload) HasSecurityScanCompletedAt() bool { - if o != nil && o.SecurityScanCompletedAt != nil { - return true - } - - return false -} - -// SetSecurityScanCompletedAt gets a reference to the given string and assigns it to the SecurityScanCompletedAt field. -func (o *PythonPackageUpload) SetSecurityScanCompletedAt(v string) { - o.SecurityScanCompletedAt = &v -} - -// GetSecurityScanStartedAt returns the SecurityScanStartedAt field value if set, zero value otherwise. -func (o *PythonPackageUpload) GetSecurityScanStartedAt() string { - if o == nil || o.SecurityScanStartedAt == nil { - var ret string - return ret - } - return *o.SecurityScanStartedAt -} - -// GetSecurityScanStartedAtOk returns a tuple with the SecurityScanStartedAt field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *PythonPackageUpload) GetSecurityScanStartedAtOk() (*string, bool) { - if o == nil || o.SecurityScanStartedAt == nil { - return nil, false - } - return o.SecurityScanStartedAt, true -} - -// HasSecurityScanStartedAt returns a boolean if a field has been set. -func (o *PythonPackageUpload) HasSecurityScanStartedAt() bool { - if o != nil && o.SecurityScanStartedAt != nil { - return true - } - - return false -} - -// SetSecurityScanStartedAt gets a reference to the given string and assigns it to the SecurityScanStartedAt field. -func (o *PythonPackageUpload) SetSecurityScanStartedAt(v string) { - o.SecurityScanStartedAt = &v -} - -// GetSecurityScanStatus returns the SecurityScanStatus field value if set, zero value otherwise. -func (o *PythonPackageUpload) GetSecurityScanStatus() string { - if o == nil || o.SecurityScanStatus == nil { - var ret string - return ret - } - return *o.SecurityScanStatus -} - -// GetSecurityScanStatusOk returns a tuple with the SecurityScanStatus field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *PythonPackageUpload) GetSecurityScanStatusOk() (*string, bool) { - if o == nil || o.SecurityScanStatus == nil { - return nil, false - } - return o.SecurityScanStatus, true -} - -// HasSecurityScanStatus returns a boolean if a field has been set. -func (o *PythonPackageUpload) HasSecurityScanStatus() bool { - if o != nil && o.SecurityScanStatus != nil { - return true - } - - return false -} - -// SetSecurityScanStatus gets a reference to the given string and assigns it to the SecurityScanStatus field. -func (o *PythonPackageUpload) SetSecurityScanStatus(v string) { - o.SecurityScanStatus = &v -} - -// GetSecurityScanStatusUpdatedAt returns the SecurityScanStatusUpdatedAt field value if set, zero value otherwise. -func (o *PythonPackageUpload) GetSecurityScanStatusUpdatedAt() string { - if o == nil || o.SecurityScanStatusUpdatedAt == nil { - var ret string - return ret - } - return *o.SecurityScanStatusUpdatedAt -} - -// GetSecurityScanStatusUpdatedAtOk returns a tuple with the SecurityScanStatusUpdatedAt field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *PythonPackageUpload) GetSecurityScanStatusUpdatedAtOk() (*string, bool) { - if o == nil || o.SecurityScanStatusUpdatedAt == nil { - return nil, false - } - return o.SecurityScanStatusUpdatedAt, true -} - -// HasSecurityScanStatusUpdatedAt returns a boolean if a field has been set. -func (o *PythonPackageUpload) HasSecurityScanStatusUpdatedAt() bool { - if o != nil && o.SecurityScanStatusUpdatedAt != nil { - return true - } - - return false -} - -// SetSecurityScanStatusUpdatedAt gets a reference to the given string and assigns it to the SecurityScanStatusUpdatedAt field. -func (o *PythonPackageUpload) SetSecurityScanStatusUpdatedAt(v string) { - o.SecurityScanStatusUpdatedAt = &v -} - -// GetSelfHtmlUrl returns the SelfHtmlUrl field value if set, zero value otherwise. -func (o *PythonPackageUpload) GetSelfHtmlUrl() string { - if o == nil || o.SelfHtmlUrl == nil { - var ret string - return ret - } - return *o.SelfHtmlUrl -} - -// GetSelfHtmlUrlOk returns a tuple with the SelfHtmlUrl field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *PythonPackageUpload) GetSelfHtmlUrlOk() (*string, bool) { - if o == nil || o.SelfHtmlUrl == nil { - return nil, false - } - return o.SelfHtmlUrl, true -} - -// HasSelfHtmlUrl returns a boolean if a field has been set. -func (o *PythonPackageUpload) HasSelfHtmlUrl() bool { - if o != nil && o.SelfHtmlUrl != nil { - return true - } - - return false -} - -// SetSelfHtmlUrl gets a reference to the given string and assigns it to the SelfHtmlUrl field. -func (o *PythonPackageUpload) SetSelfHtmlUrl(v string) { - o.SelfHtmlUrl = &v -} - -// GetSelfUrl returns the SelfUrl field value if set, zero value otherwise. -func (o *PythonPackageUpload) GetSelfUrl() string { - if o == nil || o.SelfUrl == nil { - var ret string - return ret - } - return *o.SelfUrl -} - -// GetSelfUrlOk returns a tuple with the SelfUrl field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *PythonPackageUpload) GetSelfUrlOk() (*string, bool) { - if o == nil || o.SelfUrl == nil { - return nil, false - } - return o.SelfUrl, true -} - -// HasSelfUrl returns a boolean if a field has been set. -func (o *PythonPackageUpload) HasSelfUrl() bool { - if o != nil && o.SelfUrl != nil { - return true - } - - return false -} - -// SetSelfUrl gets a reference to the given string and assigns it to the SelfUrl field. -func (o *PythonPackageUpload) SetSelfUrl(v string) { - o.SelfUrl = &v -} - -// GetSignatureUrl returns the SignatureUrl field value if set, zero value otherwise. -func (o *PythonPackageUpload) GetSignatureUrl() string { - if o == nil || o.SignatureUrl == nil { - var ret string - return ret - } - return *o.SignatureUrl -} - -// GetSignatureUrlOk returns a tuple with the SignatureUrl field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *PythonPackageUpload) GetSignatureUrlOk() (*string, bool) { - if o == nil || o.SignatureUrl == nil { - return nil, false - } - return o.SignatureUrl, true -} - -// HasSignatureUrl returns a boolean if a field has been set. -func (o *PythonPackageUpload) HasSignatureUrl() bool { - if o != nil && o.SignatureUrl != nil { - return true - } - - return false -} - -// SetSignatureUrl gets a reference to the given string and assigns it to the SignatureUrl field. -func (o *PythonPackageUpload) SetSignatureUrl(v string) { - o.SignatureUrl = &v -} - -// GetSize returns the Size field value if set, zero value otherwise. -func (o *PythonPackageUpload) GetSize() int64 { - if o == nil || o.Size == nil { - var ret int64 - return ret - } - return *o.Size -} - -// GetSizeOk returns a tuple with the Size field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *PythonPackageUpload) GetSizeOk() (*int64, bool) { - if o == nil || o.Size == nil { - return nil, false - } - return o.Size, true -} - -// HasSize returns a boolean if a field has been set. -func (o *PythonPackageUpload) HasSize() bool { - if o != nil && o.Size != nil { - return true - } - - return false -} - -// SetSize gets a reference to the given int64 and assigns it to the Size field. -func (o *PythonPackageUpload) SetSize(v int64) { - o.Size = &v -} - -// GetSlug returns the Slug field value if set, zero value otherwise. -func (o *PythonPackageUpload) GetSlug() string { - if o == nil || o.Slug == nil { - var ret string - return ret - } - return *o.Slug -} - -// GetSlugOk returns a tuple with the Slug field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *PythonPackageUpload) GetSlugOk() (*string, bool) { - if o == nil || o.Slug == nil { - return nil, false - } - return o.Slug, true -} - -// HasSlug returns a boolean if a field has been set. -func (o *PythonPackageUpload) HasSlug() bool { - if o != nil && o.Slug != nil { - return true - } - - return false -} - -// SetSlug gets a reference to the given string and assigns it to the Slug field. -func (o *PythonPackageUpload) SetSlug(v string) { - o.Slug = &v -} - -// GetSlugPerm returns the SlugPerm field value if set, zero value otherwise. -func (o *PythonPackageUpload) GetSlugPerm() string { - if o == nil || o.SlugPerm == nil { - var ret string - return ret - } - return *o.SlugPerm -} - -// GetSlugPermOk returns a tuple with the SlugPerm field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *PythonPackageUpload) GetSlugPermOk() (*string, bool) { - if o == nil || o.SlugPerm == nil { - return nil, false - } - return o.SlugPerm, true -} - -// HasSlugPerm returns a boolean if a field has been set. -func (o *PythonPackageUpload) HasSlugPerm() bool { - if o != nil && o.SlugPerm != nil { - return true - } - - return false -} - -// SetSlugPerm gets a reference to the given string and assigns it to the SlugPerm field. -func (o *PythonPackageUpload) SetSlugPerm(v string) { - o.SlugPerm = &v -} - -// GetStage returns the Stage field value if set, zero value otherwise. -func (o *PythonPackageUpload) GetStage() int64 { - if o == nil || o.Stage == nil { - var ret int64 - return ret - } - return *o.Stage -} - -// GetStageOk returns a tuple with the Stage field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *PythonPackageUpload) GetStageOk() (*int64, bool) { - if o == nil || o.Stage == nil { - return nil, false - } - return o.Stage, true -} - -// HasStage returns a boolean if a field has been set. -func (o *PythonPackageUpload) HasStage() bool { - if o != nil && o.Stage != nil { - return true - } - - return false -} - -// SetStage gets a reference to the given int64 and assigns it to the Stage field. -func (o *PythonPackageUpload) SetStage(v int64) { - o.Stage = &v -} - -// GetStageStr returns the StageStr field value if set, zero value otherwise. -func (o *PythonPackageUpload) GetStageStr() string { - if o == nil || o.StageStr == nil { - var ret string - return ret - } - return *o.StageStr -} - -// GetStageStrOk returns a tuple with the StageStr field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *PythonPackageUpload) GetStageStrOk() (*string, bool) { - if o == nil || o.StageStr == nil { - return nil, false - } - return o.StageStr, true -} - -// HasStageStr returns a boolean if a field has been set. -func (o *PythonPackageUpload) HasStageStr() bool { - if o != nil && o.StageStr != nil { - return true - } - - return false -} - -// SetStageStr gets a reference to the given string and assigns it to the StageStr field. -func (o *PythonPackageUpload) SetStageStr(v string) { - o.StageStr = &v -} - -// GetStageUpdatedAt returns the StageUpdatedAt field value if set, zero value otherwise. -func (o *PythonPackageUpload) GetStageUpdatedAt() string { - if o == nil || o.StageUpdatedAt == nil { - var ret string - return ret - } - return *o.StageUpdatedAt -} - -// GetStageUpdatedAtOk returns a tuple with the StageUpdatedAt field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *PythonPackageUpload) GetStageUpdatedAtOk() (*string, bool) { - if o == nil || o.StageUpdatedAt == nil { - return nil, false - } - return o.StageUpdatedAt, true -} - -// HasStageUpdatedAt returns a boolean if a field has been set. -func (o *PythonPackageUpload) HasStageUpdatedAt() bool { - if o != nil && o.StageUpdatedAt != nil { - return true - } - - return false -} - -// SetStageUpdatedAt gets a reference to the given string and assigns it to the StageUpdatedAt field. -func (o *PythonPackageUpload) SetStageUpdatedAt(v string) { - o.StageUpdatedAt = &v -} - -// GetStatus returns the Status field value if set, zero value otherwise. -func (o *PythonPackageUpload) GetStatus() int64 { - if o == nil || o.Status == nil { - var ret int64 - return ret - } - return *o.Status -} - -// GetStatusOk returns a tuple with the Status field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *PythonPackageUpload) GetStatusOk() (*int64, bool) { - if o == nil || o.Status == nil { - return nil, false - } - return o.Status, true -} - -// HasStatus returns a boolean if a field has been set. -func (o *PythonPackageUpload) HasStatus() bool { - if o != nil && o.Status != nil { - return true - } - - return false -} - -// SetStatus gets a reference to the given int64 and assigns it to the Status field. -func (o *PythonPackageUpload) SetStatus(v int64) { - o.Status = &v -} - -// GetStatusReason returns the StatusReason field value if set, zero value otherwise. -func (o *PythonPackageUpload) GetStatusReason() string { - if o == nil || o.StatusReason == nil { - var ret string - return ret - } - return *o.StatusReason -} - -// GetStatusReasonOk returns a tuple with the StatusReason field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *PythonPackageUpload) GetStatusReasonOk() (*string, bool) { - if o == nil || o.StatusReason == nil { - return nil, false - } - return o.StatusReason, true -} - -// HasStatusReason returns a boolean if a field has been set. -func (o *PythonPackageUpload) HasStatusReason() bool { - if o != nil && o.StatusReason != nil { - return true - } - - return false -} - -// SetStatusReason gets a reference to the given string and assigns it to the StatusReason field. -func (o *PythonPackageUpload) SetStatusReason(v string) { - o.StatusReason = &v -} - -// GetStatusStr returns the StatusStr field value if set, zero value otherwise. -func (o *PythonPackageUpload) GetStatusStr() string { - if o == nil || o.StatusStr == nil { - var ret string - return ret - } - return *o.StatusStr -} - -// GetStatusStrOk returns a tuple with the StatusStr field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *PythonPackageUpload) GetStatusStrOk() (*string, bool) { - if o == nil || o.StatusStr == nil { - return nil, false - } - return o.StatusStr, true -} - -// HasStatusStr returns a boolean if a field has been set. -func (o *PythonPackageUpload) HasStatusStr() bool { - if o != nil && o.StatusStr != nil { - return true - } - - return false -} - -// SetStatusStr gets a reference to the given string and assigns it to the StatusStr field. -func (o *PythonPackageUpload) SetStatusStr(v string) { - o.StatusStr = &v -} - -// GetStatusUpdatedAt returns the StatusUpdatedAt field value if set, zero value otherwise. -func (o *PythonPackageUpload) GetStatusUpdatedAt() string { - if o == nil || o.StatusUpdatedAt == nil { - var ret string - return ret - } - return *o.StatusUpdatedAt -} - -// GetStatusUpdatedAtOk returns a tuple with the StatusUpdatedAt field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *PythonPackageUpload) GetStatusUpdatedAtOk() (*string, bool) { - if o == nil || o.StatusUpdatedAt == nil { - return nil, false - } - return o.StatusUpdatedAt, true -} - -// HasStatusUpdatedAt returns a boolean if a field has been set. -func (o *PythonPackageUpload) HasStatusUpdatedAt() bool { - if o != nil && o.StatusUpdatedAt != nil { - return true - } - - return false -} - -// SetStatusUpdatedAt gets a reference to the given string and assigns it to the StatusUpdatedAt field. -func (o *PythonPackageUpload) SetStatusUpdatedAt(v string) { - o.StatusUpdatedAt = &v -} - -// GetStatusUrl returns the StatusUrl field value if set, zero value otherwise. -func (o *PythonPackageUpload) GetStatusUrl() string { - if o == nil || o.StatusUrl == nil { - var ret string - return ret - } - return *o.StatusUrl -} - -// GetStatusUrlOk returns a tuple with the StatusUrl field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *PythonPackageUpload) GetStatusUrlOk() (*string, bool) { - if o == nil || o.StatusUrl == nil { - return nil, false - } - return o.StatusUrl, true -} - -// HasStatusUrl returns a boolean if a field has been set. -func (o *PythonPackageUpload) HasStatusUrl() bool { - if o != nil && o.StatusUrl != nil { - return true - } - - return false -} - -// SetStatusUrl gets a reference to the given string and assigns it to the StatusUrl field. -func (o *PythonPackageUpload) SetStatusUrl(v string) { - o.StatusUrl = &v -} - -// GetSubtype returns the Subtype field value if set, zero value otherwise. -func (o *PythonPackageUpload) GetSubtype() string { - if o == nil || o.Subtype == nil { - var ret string - return ret - } - return *o.Subtype -} - -// GetSubtypeOk returns a tuple with the Subtype field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *PythonPackageUpload) GetSubtypeOk() (*string, bool) { - if o == nil || o.Subtype == nil { - return nil, false - } - return o.Subtype, true -} - -// HasSubtype returns a boolean if a field has been set. -func (o *PythonPackageUpload) HasSubtype() bool { - if o != nil && o.Subtype != nil { - return true - } - - return false -} - -// SetSubtype gets a reference to the given string and assigns it to the Subtype field. -func (o *PythonPackageUpload) SetSubtype(v string) { - o.Subtype = &v -} - -// GetSummary returns the Summary field value if set, zero value otherwise. -func (o *PythonPackageUpload) GetSummary() string { - if o == nil || o.Summary == nil { - var ret string - return ret - } - return *o.Summary -} - -// GetSummaryOk returns a tuple with the Summary field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *PythonPackageUpload) GetSummaryOk() (*string, bool) { - if o == nil || o.Summary == nil { - return nil, false - } - return o.Summary, true -} - -// HasSummary returns a boolean if a field has been set. -func (o *PythonPackageUpload) HasSummary() bool { - if o != nil && o.Summary != nil { - return true - } - - return false -} - -// SetSummary gets a reference to the given string and assigns it to the Summary field. -func (o *PythonPackageUpload) SetSummary(v string) { - o.Summary = &v -} - -// GetSyncFinishedAt returns the SyncFinishedAt field value if set, zero value otherwise. -func (o *PythonPackageUpload) GetSyncFinishedAt() string { - if o == nil || o.SyncFinishedAt == nil { - var ret string - return ret - } - return *o.SyncFinishedAt -} - -// GetSyncFinishedAtOk returns a tuple with the SyncFinishedAt field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *PythonPackageUpload) GetSyncFinishedAtOk() (*string, bool) { - if o == nil || o.SyncFinishedAt == nil { - return nil, false - } - return o.SyncFinishedAt, true -} - -// HasSyncFinishedAt returns a boolean if a field has been set. -func (o *PythonPackageUpload) HasSyncFinishedAt() bool { - if o != nil && o.SyncFinishedAt != nil { - return true - } - - return false -} - -// SetSyncFinishedAt gets a reference to the given string and assigns it to the SyncFinishedAt field. -func (o *PythonPackageUpload) SetSyncFinishedAt(v string) { - o.SyncFinishedAt = &v -} - -// GetSyncProgress returns the SyncProgress field value if set, zero value otherwise. -func (o *PythonPackageUpload) GetSyncProgress() int64 { - if o == nil || o.SyncProgress == nil { - var ret int64 - return ret - } - return *o.SyncProgress -} - -// GetSyncProgressOk returns a tuple with the SyncProgress field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *PythonPackageUpload) GetSyncProgressOk() (*int64, bool) { - if o == nil || o.SyncProgress == nil { - return nil, false - } - return o.SyncProgress, true -} - -// HasSyncProgress returns a boolean if a field has been set. -func (o *PythonPackageUpload) HasSyncProgress() bool { - if o != nil && o.SyncProgress != nil { - return true - } - - return false -} - -// SetSyncProgress gets a reference to the given int64 and assigns it to the SyncProgress field. -func (o *PythonPackageUpload) SetSyncProgress(v int64) { - o.SyncProgress = &v -} - -// GetTagsImmutable returns the TagsImmutable field value if set, zero value otherwise. -func (o *PythonPackageUpload) GetTagsImmutable() map[string]interface{} { - if o == nil || o.TagsImmutable == nil { - var ret map[string]interface{} - return ret - } - return o.TagsImmutable -} - -// GetTagsImmutableOk returns a tuple with the TagsImmutable field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *PythonPackageUpload) GetTagsImmutableOk() (map[string]interface{}, bool) { - if o == nil || o.TagsImmutable == nil { - return nil, false - } - return o.TagsImmutable, true -} - -// HasTagsImmutable returns a boolean if a field has been set. -func (o *PythonPackageUpload) HasTagsImmutable() bool { - if o != nil && o.TagsImmutable != nil { - return true - } - - return false -} - -// SetTagsImmutable gets a reference to the given map[string]interface{} and assigns it to the TagsImmutable field. -func (o *PythonPackageUpload) SetTagsImmutable(v map[string]interface{}) { - o.TagsImmutable = v -} - -// GetTypeDisplay returns the TypeDisplay field value if set, zero value otherwise. -func (o *PythonPackageUpload) GetTypeDisplay() string { - if o == nil || o.TypeDisplay == nil { - var ret string - return ret - } - return *o.TypeDisplay -} - -// GetTypeDisplayOk returns a tuple with the TypeDisplay field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *PythonPackageUpload) GetTypeDisplayOk() (*string, bool) { - if o == nil || o.TypeDisplay == nil { - return nil, false - } - return o.TypeDisplay, true -} - -// HasTypeDisplay returns a boolean if a field has been set. -func (o *PythonPackageUpload) HasTypeDisplay() bool { - if o != nil && o.TypeDisplay != nil { - return true - } - - return false -} - -// SetTypeDisplay gets a reference to the given string and assigns it to the TypeDisplay field. -func (o *PythonPackageUpload) SetTypeDisplay(v string) { - o.TypeDisplay = &v -} - -// GetUploadedAt returns the UploadedAt field value if set, zero value otherwise. -func (o *PythonPackageUpload) GetUploadedAt() string { - if o == nil || o.UploadedAt == nil { - var ret string - return ret - } - return *o.UploadedAt -} - -// GetUploadedAtOk returns a tuple with the UploadedAt field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *PythonPackageUpload) GetUploadedAtOk() (*string, bool) { - if o == nil || o.UploadedAt == nil { - return nil, false - } - return o.UploadedAt, true -} - -// HasUploadedAt returns a boolean if a field has been set. -func (o *PythonPackageUpload) HasUploadedAt() bool { - if o != nil && o.UploadedAt != nil { - return true - } - - return false -} - -// SetUploadedAt gets a reference to the given string and assigns it to the UploadedAt field. -func (o *PythonPackageUpload) SetUploadedAt(v string) { - o.UploadedAt = &v -} - -// GetUploader returns the Uploader field value if set, zero value otherwise. -func (o *PythonPackageUpload) GetUploader() string { - if o == nil || o.Uploader == nil { - var ret string - return ret - } - return *o.Uploader -} - -// GetUploaderOk returns a tuple with the Uploader field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *PythonPackageUpload) GetUploaderOk() (*string, bool) { - if o == nil || o.Uploader == nil { - return nil, false - } - return o.Uploader, true -} - -// HasUploader returns a boolean if a field has been set. -func (o *PythonPackageUpload) HasUploader() bool { - if o != nil && o.Uploader != nil { - return true - } - - return false -} - -// SetUploader gets a reference to the given string and assigns it to the Uploader field. -func (o *PythonPackageUpload) SetUploader(v string) { - o.Uploader = &v -} - -// GetUploaderUrl returns the UploaderUrl field value if set, zero value otherwise. -func (o *PythonPackageUpload) GetUploaderUrl() string { - if o == nil || o.UploaderUrl == nil { - var ret string - return ret - } - return *o.UploaderUrl -} - -// GetUploaderUrlOk returns a tuple with the UploaderUrl field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *PythonPackageUpload) GetUploaderUrlOk() (*string, bool) { - if o == nil || o.UploaderUrl == nil { - return nil, false - } - return o.UploaderUrl, true -} - -// HasUploaderUrl returns a boolean if a field has been set. -func (o *PythonPackageUpload) HasUploaderUrl() bool { - if o != nil && o.UploaderUrl != nil { - return true - } - - return false -} - -// SetUploaderUrl gets a reference to the given string and assigns it to the UploaderUrl field. -func (o *PythonPackageUpload) SetUploaderUrl(v string) { - o.UploaderUrl = &v -} - -// GetVersion returns the Version field value if set, zero value otherwise. -func (o *PythonPackageUpload) GetVersion() string { - if o == nil || o.Version == nil { - var ret string - return ret - } - return *o.Version -} - -// GetVersionOk returns a tuple with the Version field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *PythonPackageUpload) GetVersionOk() (*string, bool) { - if o == nil || o.Version == nil { - return nil, false - } - return o.Version, true -} - -// HasVersion returns a boolean if a field has been set. -func (o *PythonPackageUpload) HasVersion() bool { - if o != nil && o.Version != nil { - return true - } - - return false -} - -// SetVersion gets a reference to the given string and assigns it to the Version field. -func (o *PythonPackageUpload) SetVersion(v string) { - o.Version = &v -} - -// GetVersionOrig returns the VersionOrig field value if set, zero value otherwise. -func (o *PythonPackageUpload) GetVersionOrig() string { - if o == nil || o.VersionOrig == nil { - var ret string - return ret - } - return *o.VersionOrig -} - -// GetVersionOrigOk returns a tuple with the VersionOrig field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *PythonPackageUpload) GetVersionOrigOk() (*string, bool) { - if o == nil || o.VersionOrig == nil { - return nil, false - } - return o.VersionOrig, true -} - -// HasVersionOrig returns a boolean if a field has been set. -func (o *PythonPackageUpload) HasVersionOrig() bool { - if o != nil && o.VersionOrig != nil { - return true - } - - return false -} - -// SetVersionOrig gets a reference to the given string and assigns it to the VersionOrig field. -func (o *PythonPackageUpload) SetVersionOrig(v string) { - o.VersionOrig = &v -} - -// GetVulnerabilityScanResultsUrl returns the VulnerabilityScanResultsUrl field value if set, zero value otherwise. -func (o *PythonPackageUpload) GetVulnerabilityScanResultsUrl() string { - if o == nil || o.VulnerabilityScanResultsUrl == nil { - var ret string - return ret - } - return *o.VulnerabilityScanResultsUrl -} - -// GetVulnerabilityScanResultsUrlOk returns a tuple with the VulnerabilityScanResultsUrl field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *PythonPackageUpload) GetVulnerabilityScanResultsUrlOk() (*string, bool) { - if o == nil || o.VulnerabilityScanResultsUrl == nil { - return nil, false - } - return o.VulnerabilityScanResultsUrl, true -} - -// HasVulnerabilityScanResultsUrl returns a boolean if a field has been set. -func (o *PythonPackageUpload) HasVulnerabilityScanResultsUrl() bool { - if o != nil && o.VulnerabilityScanResultsUrl != nil { - return true - } - - return false -} - -// SetVulnerabilityScanResultsUrl gets a reference to the given string and assigns it to the VulnerabilityScanResultsUrl field. -func (o *PythonPackageUpload) SetVulnerabilityScanResultsUrl(v string) { - o.VulnerabilityScanResultsUrl = &v -} - -func (o PythonPackageUpload) MarshalJSON() ([]byte, error) { - toSerialize := map[string]interface{}{} - if o.Architectures != nil { - toSerialize["architectures"] = o.Architectures - } - if o.CdnUrl != nil { - toSerialize["cdn_url"] = o.CdnUrl - } - if o.ChecksumMd5 != nil { - toSerialize["checksum_md5"] = o.ChecksumMd5 - } - if o.ChecksumSha1 != nil { - toSerialize["checksum_sha1"] = o.ChecksumSha1 - } - if o.ChecksumSha256 != nil { - toSerialize["checksum_sha256"] = o.ChecksumSha256 - } - if o.ChecksumSha512 != nil { - toSerialize["checksum_sha512"] = o.ChecksumSha512 - } - if o.DependenciesChecksumMd5 != nil { - toSerialize["dependencies_checksum_md5"] = o.DependenciesChecksumMd5 - } - if o.DependenciesUrl != nil { - toSerialize["dependencies_url"] = o.DependenciesUrl - } - if o.Description != nil { - toSerialize["description"] = o.Description - } - if o.Distro != nil { - toSerialize["distro"] = o.Distro - } - if o.DistroVersion != nil { - toSerialize["distro_version"] = o.DistroVersion - } - if o.Downloads != nil { - toSerialize["downloads"] = o.Downloads - } - if o.Epoch != nil { - toSerialize["epoch"] = o.Epoch - } - if o.Extension != nil { - toSerialize["extension"] = o.Extension - } - if o.Filename != nil { - toSerialize["filename"] = o.Filename - } - if o.Files != nil { - toSerialize["files"] = o.Files - } - if o.Format != nil { - toSerialize["format"] = o.Format - } - if o.FormatUrl != nil { - toSerialize["format_url"] = o.FormatUrl - } - if o.IdentifierPerm != nil { - toSerialize["identifier_perm"] = o.IdentifierPerm - } - if o.Indexed != nil { - toSerialize["indexed"] = o.Indexed - } - if o.IsDownloadable != nil { - toSerialize["is_downloadable"] = o.IsDownloadable - } - if o.IsQuarantined != nil { - toSerialize["is_quarantined"] = o.IsQuarantined - } - if o.IsSyncAwaiting != nil { - toSerialize["is_sync_awaiting"] = o.IsSyncAwaiting - } - if o.IsSyncCompleted != nil { - toSerialize["is_sync_completed"] = o.IsSyncCompleted - } - if o.IsSyncFailed != nil { - toSerialize["is_sync_failed"] = o.IsSyncFailed - } - if o.IsSyncInFlight != nil { - toSerialize["is_sync_in_flight"] = o.IsSyncInFlight - } - if o.IsSyncInProgress != nil { - toSerialize["is_sync_in_progress"] = o.IsSyncInProgress - } - if o.License != nil { - toSerialize["license"] = o.License - } - if o.Name != nil { - toSerialize["name"] = o.Name - } - if o.Namespace != nil { - toSerialize["namespace"] = o.Namespace - } - if o.NamespaceUrl != nil { - toSerialize["namespace_url"] = o.NamespaceUrl - } - if o.NumFiles != nil { - toSerialize["num_files"] = o.NumFiles - } - if o.PackageType != nil { - toSerialize["package_type"] = o.PackageType - } - if o.Release != nil { - toSerialize["release"] = o.Release - } - if o.Repository != nil { - toSerialize["repository"] = o.Repository - } - if o.RepositoryUrl != nil { - toSerialize["repository_url"] = o.RepositoryUrl - } - if o.SecurityScanCompletedAt != nil { - toSerialize["security_scan_completed_at"] = o.SecurityScanCompletedAt - } - if o.SecurityScanStartedAt != nil { - toSerialize["security_scan_started_at"] = o.SecurityScanStartedAt - } - if o.SecurityScanStatus != nil { - toSerialize["security_scan_status"] = o.SecurityScanStatus - } - if o.SecurityScanStatusUpdatedAt != nil { - toSerialize["security_scan_status_updated_at"] = o.SecurityScanStatusUpdatedAt - } - if o.SelfHtmlUrl != nil { - toSerialize["self_html_url"] = o.SelfHtmlUrl - } - if o.SelfUrl != nil { - toSerialize["self_url"] = o.SelfUrl - } - if o.SignatureUrl != nil { - toSerialize["signature_url"] = o.SignatureUrl - } - if o.Size != nil { - toSerialize["size"] = o.Size - } - if o.Slug != nil { - toSerialize["slug"] = o.Slug - } - if o.SlugPerm != nil { - toSerialize["slug_perm"] = o.SlugPerm - } - if o.Stage != nil { - toSerialize["stage"] = o.Stage - } - if o.StageStr != nil { - toSerialize["stage_str"] = o.StageStr - } - if o.StageUpdatedAt != nil { - toSerialize["stage_updated_at"] = o.StageUpdatedAt - } - if o.Status != nil { - toSerialize["status"] = o.Status - } - if o.StatusReason != nil { - toSerialize["status_reason"] = o.StatusReason - } - if o.StatusStr != nil { - toSerialize["status_str"] = o.StatusStr - } - if o.StatusUpdatedAt != nil { - toSerialize["status_updated_at"] = o.StatusUpdatedAt - } - if o.StatusUrl != nil { - toSerialize["status_url"] = o.StatusUrl - } - if o.Subtype != nil { - toSerialize["subtype"] = o.Subtype - } - if o.Summary != nil { - toSerialize["summary"] = o.Summary - } - if o.SyncFinishedAt != nil { - toSerialize["sync_finished_at"] = o.SyncFinishedAt - } - if o.SyncProgress != nil { - toSerialize["sync_progress"] = o.SyncProgress - } - if o.TagsImmutable != nil { - toSerialize["tags_immutable"] = o.TagsImmutable - } - if o.TypeDisplay != nil { - toSerialize["type_display"] = o.TypeDisplay - } - if o.UploadedAt != nil { - toSerialize["uploaded_at"] = o.UploadedAt - } - if o.Uploader != nil { - toSerialize["uploader"] = o.Uploader - } - if o.UploaderUrl != nil { - toSerialize["uploader_url"] = o.UploaderUrl - } - if o.Version != nil { - toSerialize["version"] = o.Version - } - if o.VersionOrig != nil { - toSerialize["version_orig"] = o.VersionOrig - } - if o.VulnerabilityScanResultsUrl != nil { - toSerialize["vulnerability_scan_results_url"] = o.VulnerabilityScanResultsUrl - } - return json.Marshal(toSerialize) -} - -type NullablePythonPackageUpload struct { - value *PythonPackageUpload - isSet bool -} - -func (v NullablePythonPackageUpload) Get() *PythonPackageUpload { - return v.value -} - -func (v *NullablePythonPackageUpload) Set(val *PythonPackageUpload) { - v.value = val - v.isSet = true -} - -func (v NullablePythonPackageUpload) IsSet() bool { - return v.isSet -} - -func (v *NullablePythonPackageUpload) Unset() { - v.value = nil - v.isSet = false -} - -func NewNullablePythonPackageUpload(val *PythonPackageUpload) *NullablePythonPackageUpload { - return &NullablePythonPackageUpload{value: val, isSet: true} -} - -func (v NullablePythonPackageUpload) MarshalJSON() ([]byte, error) { - return json.Marshal(v.value) -} - -func (v *NullablePythonPackageUpload) UnmarshalJSON(src []byte) error { - v.isSet = true - return json.Unmarshal(src, &v.value) -} diff --git a/model_python_package_upload_request.go b/model_python_package_upload_request.go new file mode 100644 index 00000000..ed180161 --- /dev/null +++ b/model_python_package_upload_request.go @@ -0,0 +1,193 @@ +/* +Cloudsmith API (v1) + +The API to the Cloudsmith Service + +API version: 1.181.6 +Contact: support@cloudsmith.io +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cloudsmith + +import ( + "encoding/json" +) + +// PythonPackageUploadRequest struct for PythonPackageUploadRequest +type PythonPackageUploadRequest struct { + // The primary file for the package. + PackageFile string `json:"package_file"` + // If true, the uploaded package will overwrite any others with the same attributes (e.g. same version); otherwise, it will be flagged as a duplicate. + Republish *bool `json:"republish,omitempty"` + // A comma-separated values list of tags to add to the package. + Tags NullableString `json:"tags,omitempty"` +} + +// NewPythonPackageUploadRequest instantiates a new PythonPackageUploadRequest object +// 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 NewPythonPackageUploadRequest(packageFile string) *PythonPackageUploadRequest { + this := PythonPackageUploadRequest{} + this.PackageFile = packageFile + return &this +} + +// NewPythonPackageUploadRequestWithDefaults instantiates a new PythonPackageUploadRequest object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewPythonPackageUploadRequestWithDefaults() *PythonPackageUploadRequest { + this := PythonPackageUploadRequest{} + return &this +} + +// GetPackageFile returns the PackageFile field value +func (o *PythonPackageUploadRequest) GetPackageFile() string { + if o == nil { + var ret string + return ret + } + + return o.PackageFile +} + +// GetPackageFileOk returns a tuple with the PackageFile field value +// and a boolean to check if the value has been set. +func (o *PythonPackageUploadRequest) GetPackageFileOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.PackageFile, true +} + +// SetPackageFile sets field value +func (o *PythonPackageUploadRequest) SetPackageFile(v string) { + o.PackageFile = v +} + +// GetRepublish returns the Republish field value if set, zero value otherwise. +func (o *PythonPackageUploadRequest) GetRepublish() bool { + if o == nil || isNil(o.Republish) { + var ret bool + return ret + } + return *o.Republish +} + +// GetRepublishOk returns a tuple with the Republish field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *PythonPackageUploadRequest) GetRepublishOk() (*bool, bool) { + if o == nil || isNil(o.Republish) { + return nil, false + } + return o.Republish, true +} + +// HasRepublish returns a boolean if a field has been set. +func (o *PythonPackageUploadRequest) HasRepublish() bool { + if o != nil && !isNil(o.Republish) { + return true + } + + return false +} + +// SetRepublish gets a reference to the given bool and assigns it to the Republish field. +func (o *PythonPackageUploadRequest) SetRepublish(v bool) { + o.Republish = &v +} + +// GetTags returns the Tags field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *PythonPackageUploadRequest) GetTags() string { + if o == nil || isNil(o.Tags.Get()) { + var ret string + return ret + } + return *o.Tags.Get() +} + +// GetTagsOk returns a tuple with the Tags 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 *PythonPackageUploadRequest) GetTagsOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.Tags.Get(), o.Tags.IsSet() +} + +// HasTags returns a boolean if a field has been set. +func (o *PythonPackageUploadRequest) HasTags() bool { + if o != nil && o.Tags.IsSet() { + return true + } + + return false +} + +// SetTags gets a reference to the given NullableString and assigns it to the Tags field. +func (o *PythonPackageUploadRequest) SetTags(v string) { + o.Tags.Set(&v) +} + +// SetTagsNil sets the value for Tags to be an explicit nil +func (o *PythonPackageUploadRequest) SetTagsNil() { + o.Tags.Set(nil) +} + +// UnsetTags ensures that no value is present for Tags, not even an explicit nil +func (o *PythonPackageUploadRequest) UnsetTags() { + o.Tags.Unset() +} + +func (o PythonPackageUploadRequest) MarshalJSON() ([]byte, error) { + toSerialize := map[string]interface{}{} + if true { + toSerialize["package_file"] = o.PackageFile + } + if !isNil(o.Republish) { + toSerialize["republish"] = o.Republish + } + if o.Tags.IsSet() { + toSerialize["tags"] = o.Tags.Get() + } + return json.Marshal(toSerialize) +} + +type NullablePythonPackageUploadRequest struct { + value *PythonPackageUploadRequest + isSet bool +} + +func (v NullablePythonPackageUploadRequest) Get() *PythonPackageUploadRequest { + return v.value +} + +func (v *NullablePythonPackageUploadRequest) Set(val *PythonPackageUploadRequest) { + v.value = val + v.isSet = true +} + +func (v NullablePythonPackageUploadRequest) IsSet() bool { + return v.isSet +} + +func (v *NullablePythonPackageUploadRequest) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullablePythonPackageUploadRequest(val *PythonPackageUploadRequest) *NullablePythonPackageUploadRequest { + return &NullablePythonPackageUploadRequest{value: val, isSet: true} +} + +func (v NullablePythonPackageUploadRequest) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullablePythonPackageUploadRequest) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} diff --git a/model_python_package_upload_response.go b/model_python_package_upload_response.go new file mode 100644 index 00000000..95cc9202 --- /dev/null +++ b/model_python_package_upload_response.go @@ -0,0 +1,2595 @@ +/* +Cloudsmith API (v1) + +The API to the Cloudsmith Service + +API version: 1.181.6 +Contact: support@cloudsmith.io +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cloudsmith + +import ( + "encoding/json" + "time" +) + +// PythonPackageUploadResponse struct for PythonPackageUploadResponse +type PythonPackageUploadResponse struct { + Architectures []Architecture `json:"architectures,omitempty"` + CdnUrl NullableString `json:"cdn_url,omitempty"` + ChecksumMd5 *string `json:"checksum_md5,omitempty"` + ChecksumSha1 *string `json:"checksum_sha1,omitempty"` + ChecksumSha256 *string `json:"checksum_sha256,omitempty"` + ChecksumSha512 *string `json:"checksum_sha512,omitempty"` + // A checksum of all of the package's dependencies. + DependenciesChecksumMd5 *string `json:"dependencies_checksum_md5,omitempty"` + DependenciesUrl *string `json:"dependencies_url,omitempty"` + // A textual description of this package. + Description *string `json:"description,omitempty"` + Distro NullableDistribution `json:"distro,omitempty"` + DistroVersion *DistributionVersion `json:"distro_version,omitempty"` + Downloads *int64 `json:"downloads,omitempty"` + // The epoch of the package version (if any). + Epoch *int64 `json:"epoch,omitempty"` + Extension *string `json:"extension,omitempty"` + Filename *string `json:"filename,omitempty"` + Files []PackageFile `json:"files,omitempty"` + Format *string `json:"format,omitempty"` + FormatUrl *string `json:"format_url,omitempty"` + // Unique and permanent identifier for the package. + IdentifierPerm *string `json:"identifier_perm,omitempty"` + Indexed *bool `json:"indexed,omitempty"` + IsDownloadable *bool `json:"is_downloadable,omitempty"` + IsQuarantined *bool `json:"is_quarantined,omitempty"` + IsSyncAwaiting *bool `json:"is_sync_awaiting,omitempty"` + IsSyncCompleted *bool `json:"is_sync_completed,omitempty"` + IsSyncFailed *bool `json:"is_sync_failed,omitempty"` + IsSyncInFlight *bool `json:"is_sync_in_flight,omitempty"` + IsSyncInProgress *bool `json:"is_sync_in_progress,omitempty"` + // The license of this package. + License *string `json:"license,omitempty"` + // The name of this package. + Name *string `json:"name,omitempty"` + Namespace *string `json:"namespace,omitempty"` + NamespaceUrl *string `json:"namespace_url,omitempty"` + NumFiles *int64 `json:"num_files,omitempty"` + OriginRepository *string `json:"origin_repository,omitempty"` + OriginRepositoryUrl *string `json:"origin_repository_url,omitempty"` + // The type of package contents. + PackageType *int64 `json:"package_type,omitempty"` + // The release of the package version (if any). + Release *string `json:"release,omitempty"` + Repository *string `json:"repository,omitempty"` + RepositoryUrl *string `json:"repository_url,omitempty"` + // The datetime the security scanning was completed. + SecurityScanCompletedAt *time.Time `json:"security_scan_completed_at,omitempty"` + // The datetime the security scanning was started. + SecurityScanStartedAt *time.Time `json:"security_scan_started_at,omitempty"` + SecurityScanStatus NullableString `json:"security_scan_status,omitempty"` + // The datetime the security scanning status was updated. + SecurityScanStatusUpdatedAt *time.Time `json:"security_scan_status_updated_at,omitempty"` + SelfHtmlUrl *string `json:"self_html_url,omitempty"` + SelfUrl *string `json:"self_url,omitempty"` + SignatureUrl NullableString `json:"signature_url,omitempty"` + // The calculated size of the package. + Size *int64 `json:"size,omitempty"` + // The public unique identifier for the package. + Slug *string `json:"slug,omitempty"` + SlugPerm *string `json:"slug_perm,omitempty"` + // The synchronisation (in progress) stage of the package. + Stage *int64 `json:"stage,omitempty"` + StageStr *string `json:"stage_str,omitempty"` + // The datetime the package stage was updated at. + StageUpdatedAt *time.Time `json:"stage_updated_at,omitempty"` + // The synchronisation status of the package. + Status *int64 `json:"status,omitempty"` + // A textual description for the synchronous status reason (if any + StatusReason *string `json:"status_reason,omitempty"` + StatusStr *string `json:"status_str,omitempty"` + // The datetime the package status was updated at. + StatusUpdatedAt *time.Time `json:"status_updated_at,omitempty"` + StatusUrl *string `json:"status_url,omitempty"` + Subtype *string `json:"subtype,omitempty"` + // A one-liner synopsis of this package. + Summary *string `json:"summary,omitempty"` + // The datetime the package sync was finished at. + SyncFinishedAt *time.Time `json:"sync_finished_at,omitempty"` + // Synchronisation progress (from 0-100) + SyncProgress *int64 `json:"sync_progress,omitempty"` + // All tags on the package, grouped by tag type. This includes immutable tags, but doesn't distinguish them from mutable. To see which tags are immutable specifically, see the tags_immutable field. + TagsImmutable map[string]interface{} `json:"tags_immutable,omitempty"` + TypeDisplay *string `json:"type_display,omitempty"` + // The date this package was uploaded. + UploadedAt *time.Time `json:"uploaded_at,omitempty"` + Uploader *string `json:"uploader,omitempty"` + UploaderUrl *string `json:"uploader_url,omitempty"` + // The raw version for this package. + Version *string `json:"version,omitempty"` + VersionOrig *string `json:"version_orig,omitempty"` + VulnerabilityScanResultsUrl *string `json:"vulnerability_scan_results_url,omitempty"` +} + +// NewPythonPackageUploadResponse instantiates a new PythonPackageUploadResponse object +// 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 NewPythonPackageUploadResponse() *PythonPackageUploadResponse { + this := PythonPackageUploadResponse{} + return &this +} + +// NewPythonPackageUploadResponseWithDefaults instantiates a new PythonPackageUploadResponse object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewPythonPackageUploadResponseWithDefaults() *PythonPackageUploadResponse { + this := PythonPackageUploadResponse{} + return &this +} + +// GetArchitectures returns the Architectures field value if set, zero value otherwise. +func (o *PythonPackageUploadResponse) GetArchitectures() []Architecture { + if o == nil || isNil(o.Architectures) { + var ret []Architecture + return ret + } + return o.Architectures +} + +// GetArchitecturesOk returns a tuple with the Architectures field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *PythonPackageUploadResponse) GetArchitecturesOk() ([]Architecture, bool) { + if o == nil || isNil(o.Architectures) { + return nil, false + } + return o.Architectures, true +} + +// HasArchitectures returns a boolean if a field has been set. +func (o *PythonPackageUploadResponse) HasArchitectures() bool { + if o != nil && !isNil(o.Architectures) { + return true + } + + return false +} + +// SetArchitectures gets a reference to the given []Architecture and assigns it to the Architectures field. +func (o *PythonPackageUploadResponse) SetArchitectures(v []Architecture) { + o.Architectures = v +} + +// GetCdnUrl returns the CdnUrl field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *PythonPackageUploadResponse) GetCdnUrl() string { + if o == nil || isNil(o.CdnUrl.Get()) { + var ret string + return ret + } + return *o.CdnUrl.Get() +} + +// GetCdnUrlOk returns a tuple with the CdnUrl 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 *PythonPackageUploadResponse) GetCdnUrlOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.CdnUrl.Get(), o.CdnUrl.IsSet() +} + +// HasCdnUrl returns a boolean if a field has been set. +func (o *PythonPackageUploadResponse) HasCdnUrl() bool { + if o != nil && o.CdnUrl.IsSet() { + return true + } + + return false +} + +// SetCdnUrl gets a reference to the given NullableString and assigns it to the CdnUrl field. +func (o *PythonPackageUploadResponse) SetCdnUrl(v string) { + o.CdnUrl.Set(&v) +} + +// SetCdnUrlNil sets the value for CdnUrl to be an explicit nil +func (o *PythonPackageUploadResponse) SetCdnUrlNil() { + o.CdnUrl.Set(nil) +} + +// UnsetCdnUrl ensures that no value is present for CdnUrl, not even an explicit nil +func (o *PythonPackageUploadResponse) UnsetCdnUrl() { + o.CdnUrl.Unset() +} + +// GetChecksumMd5 returns the ChecksumMd5 field value if set, zero value otherwise. +func (o *PythonPackageUploadResponse) GetChecksumMd5() string { + if o == nil || isNil(o.ChecksumMd5) { + var ret string + return ret + } + return *o.ChecksumMd5 +} + +// GetChecksumMd5Ok returns a tuple with the ChecksumMd5 field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *PythonPackageUploadResponse) GetChecksumMd5Ok() (*string, bool) { + if o == nil || isNil(o.ChecksumMd5) { + return nil, false + } + return o.ChecksumMd5, true +} + +// HasChecksumMd5 returns a boolean if a field has been set. +func (o *PythonPackageUploadResponse) HasChecksumMd5() bool { + if o != nil && !isNil(o.ChecksumMd5) { + return true + } + + return false +} + +// SetChecksumMd5 gets a reference to the given string and assigns it to the ChecksumMd5 field. +func (o *PythonPackageUploadResponse) SetChecksumMd5(v string) { + o.ChecksumMd5 = &v +} + +// GetChecksumSha1 returns the ChecksumSha1 field value if set, zero value otherwise. +func (o *PythonPackageUploadResponse) GetChecksumSha1() string { + if o == nil || isNil(o.ChecksumSha1) { + var ret string + return ret + } + return *o.ChecksumSha1 +} + +// GetChecksumSha1Ok returns a tuple with the ChecksumSha1 field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *PythonPackageUploadResponse) GetChecksumSha1Ok() (*string, bool) { + if o == nil || isNil(o.ChecksumSha1) { + return nil, false + } + return o.ChecksumSha1, true +} + +// HasChecksumSha1 returns a boolean if a field has been set. +func (o *PythonPackageUploadResponse) HasChecksumSha1() bool { + if o != nil && !isNil(o.ChecksumSha1) { + return true + } + + return false +} + +// SetChecksumSha1 gets a reference to the given string and assigns it to the ChecksumSha1 field. +func (o *PythonPackageUploadResponse) SetChecksumSha1(v string) { + o.ChecksumSha1 = &v +} + +// GetChecksumSha256 returns the ChecksumSha256 field value if set, zero value otherwise. +func (o *PythonPackageUploadResponse) GetChecksumSha256() string { + if o == nil || isNil(o.ChecksumSha256) { + var ret string + return ret + } + return *o.ChecksumSha256 +} + +// GetChecksumSha256Ok returns a tuple with the ChecksumSha256 field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *PythonPackageUploadResponse) GetChecksumSha256Ok() (*string, bool) { + if o == nil || isNil(o.ChecksumSha256) { + return nil, false + } + return o.ChecksumSha256, true +} + +// HasChecksumSha256 returns a boolean if a field has been set. +func (o *PythonPackageUploadResponse) HasChecksumSha256() bool { + if o != nil && !isNil(o.ChecksumSha256) { + return true + } + + return false +} + +// SetChecksumSha256 gets a reference to the given string and assigns it to the ChecksumSha256 field. +func (o *PythonPackageUploadResponse) SetChecksumSha256(v string) { + o.ChecksumSha256 = &v +} + +// GetChecksumSha512 returns the ChecksumSha512 field value if set, zero value otherwise. +func (o *PythonPackageUploadResponse) GetChecksumSha512() string { + if o == nil || isNil(o.ChecksumSha512) { + var ret string + return ret + } + return *o.ChecksumSha512 +} + +// GetChecksumSha512Ok returns a tuple with the ChecksumSha512 field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *PythonPackageUploadResponse) GetChecksumSha512Ok() (*string, bool) { + if o == nil || isNil(o.ChecksumSha512) { + return nil, false + } + return o.ChecksumSha512, true +} + +// HasChecksumSha512 returns a boolean if a field has been set. +func (o *PythonPackageUploadResponse) HasChecksumSha512() bool { + if o != nil && !isNil(o.ChecksumSha512) { + return true + } + + return false +} + +// SetChecksumSha512 gets a reference to the given string and assigns it to the ChecksumSha512 field. +func (o *PythonPackageUploadResponse) SetChecksumSha512(v string) { + o.ChecksumSha512 = &v +} + +// GetDependenciesChecksumMd5 returns the DependenciesChecksumMd5 field value if set, zero value otherwise. +func (o *PythonPackageUploadResponse) GetDependenciesChecksumMd5() string { + if o == nil || isNil(o.DependenciesChecksumMd5) { + var ret string + return ret + } + return *o.DependenciesChecksumMd5 +} + +// GetDependenciesChecksumMd5Ok returns a tuple with the DependenciesChecksumMd5 field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *PythonPackageUploadResponse) GetDependenciesChecksumMd5Ok() (*string, bool) { + if o == nil || isNil(o.DependenciesChecksumMd5) { + return nil, false + } + return o.DependenciesChecksumMd5, true +} + +// HasDependenciesChecksumMd5 returns a boolean if a field has been set. +func (o *PythonPackageUploadResponse) HasDependenciesChecksumMd5() bool { + if o != nil && !isNil(o.DependenciesChecksumMd5) { + return true + } + + return false +} + +// SetDependenciesChecksumMd5 gets a reference to the given string and assigns it to the DependenciesChecksumMd5 field. +func (o *PythonPackageUploadResponse) SetDependenciesChecksumMd5(v string) { + o.DependenciesChecksumMd5 = &v +} + +// GetDependenciesUrl returns the DependenciesUrl field value if set, zero value otherwise. +func (o *PythonPackageUploadResponse) GetDependenciesUrl() string { + if o == nil || isNil(o.DependenciesUrl) { + var ret string + return ret + } + return *o.DependenciesUrl +} + +// GetDependenciesUrlOk returns a tuple with the DependenciesUrl field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *PythonPackageUploadResponse) GetDependenciesUrlOk() (*string, bool) { + if o == nil || isNil(o.DependenciesUrl) { + return nil, false + } + return o.DependenciesUrl, true +} + +// HasDependenciesUrl returns a boolean if a field has been set. +func (o *PythonPackageUploadResponse) HasDependenciesUrl() bool { + if o != nil && !isNil(o.DependenciesUrl) { + return true + } + + return false +} + +// SetDependenciesUrl gets a reference to the given string and assigns it to the DependenciesUrl field. +func (o *PythonPackageUploadResponse) SetDependenciesUrl(v string) { + o.DependenciesUrl = &v +} + +// GetDescription returns the Description field value if set, zero value otherwise. +func (o *PythonPackageUploadResponse) GetDescription() string { + if o == nil || isNil(o.Description) { + var ret string + return ret + } + return *o.Description +} + +// GetDescriptionOk returns a tuple with the Description field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *PythonPackageUploadResponse) GetDescriptionOk() (*string, bool) { + if o == nil || isNil(o.Description) { + return nil, false + } + return o.Description, true +} + +// HasDescription returns a boolean if a field has been set. +func (o *PythonPackageUploadResponse) HasDescription() bool { + if o != nil && !isNil(o.Description) { + return true + } + + return false +} + +// SetDescription gets a reference to the given string and assigns it to the Description field. +func (o *PythonPackageUploadResponse) SetDescription(v string) { + o.Description = &v +} + +// GetDistro returns the Distro field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *PythonPackageUploadResponse) GetDistro() Distribution { + if o == nil || isNil(o.Distro.Get()) { + var ret Distribution + return ret + } + return *o.Distro.Get() +} + +// GetDistroOk returns a tuple with the Distro 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 *PythonPackageUploadResponse) GetDistroOk() (*Distribution, bool) { + if o == nil { + return nil, false + } + return o.Distro.Get(), o.Distro.IsSet() +} + +// HasDistro returns a boolean if a field has been set. +func (o *PythonPackageUploadResponse) HasDistro() bool { + if o != nil && o.Distro.IsSet() { + return true + } + + return false +} + +// SetDistro gets a reference to the given NullableDistribution and assigns it to the Distro field. +func (o *PythonPackageUploadResponse) SetDistro(v Distribution) { + o.Distro.Set(&v) +} + +// SetDistroNil sets the value for Distro to be an explicit nil +func (o *PythonPackageUploadResponse) SetDistroNil() { + o.Distro.Set(nil) +} + +// UnsetDistro ensures that no value is present for Distro, not even an explicit nil +func (o *PythonPackageUploadResponse) UnsetDistro() { + o.Distro.Unset() +} + +// GetDistroVersion returns the DistroVersion field value if set, zero value otherwise. +func (o *PythonPackageUploadResponse) GetDistroVersion() DistributionVersion { + if o == nil || isNil(o.DistroVersion) { + var ret DistributionVersion + return ret + } + return *o.DistroVersion +} + +// GetDistroVersionOk returns a tuple with the DistroVersion field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *PythonPackageUploadResponse) GetDistroVersionOk() (*DistributionVersion, bool) { + if o == nil || isNil(o.DistroVersion) { + return nil, false + } + return o.DistroVersion, true +} + +// HasDistroVersion returns a boolean if a field has been set. +func (o *PythonPackageUploadResponse) HasDistroVersion() bool { + if o != nil && !isNil(o.DistroVersion) { + return true + } + + return false +} + +// SetDistroVersion gets a reference to the given DistributionVersion and assigns it to the DistroVersion field. +func (o *PythonPackageUploadResponse) SetDistroVersion(v DistributionVersion) { + o.DistroVersion = &v +} + +// GetDownloads returns the Downloads field value if set, zero value otherwise. +func (o *PythonPackageUploadResponse) GetDownloads() int64 { + if o == nil || isNil(o.Downloads) { + var ret int64 + return ret + } + return *o.Downloads +} + +// GetDownloadsOk returns a tuple with the Downloads field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *PythonPackageUploadResponse) GetDownloadsOk() (*int64, bool) { + if o == nil || isNil(o.Downloads) { + return nil, false + } + return o.Downloads, true +} + +// HasDownloads returns a boolean if a field has been set. +func (o *PythonPackageUploadResponse) HasDownloads() bool { + if o != nil && !isNil(o.Downloads) { + return true + } + + return false +} + +// SetDownloads gets a reference to the given int64 and assigns it to the Downloads field. +func (o *PythonPackageUploadResponse) SetDownloads(v int64) { + o.Downloads = &v +} + +// GetEpoch returns the Epoch field value if set, zero value otherwise. +func (o *PythonPackageUploadResponse) GetEpoch() int64 { + if o == nil || isNil(o.Epoch) { + var ret int64 + return ret + } + return *o.Epoch +} + +// GetEpochOk returns a tuple with the Epoch field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *PythonPackageUploadResponse) GetEpochOk() (*int64, bool) { + if o == nil || isNil(o.Epoch) { + return nil, false + } + return o.Epoch, true +} + +// HasEpoch returns a boolean if a field has been set. +func (o *PythonPackageUploadResponse) HasEpoch() bool { + if o != nil && !isNil(o.Epoch) { + return true + } + + return false +} + +// SetEpoch gets a reference to the given int64 and assigns it to the Epoch field. +func (o *PythonPackageUploadResponse) SetEpoch(v int64) { + o.Epoch = &v +} + +// GetExtension returns the Extension field value if set, zero value otherwise. +func (o *PythonPackageUploadResponse) GetExtension() string { + if o == nil || isNil(o.Extension) { + var ret string + return ret + } + return *o.Extension +} + +// GetExtensionOk returns a tuple with the Extension field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *PythonPackageUploadResponse) GetExtensionOk() (*string, bool) { + if o == nil || isNil(o.Extension) { + return nil, false + } + return o.Extension, true +} + +// HasExtension returns a boolean if a field has been set. +func (o *PythonPackageUploadResponse) HasExtension() bool { + if o != nil && !isNil(o.Extension) { + return true + } + + return false +} + +// SetExtension gets a reference to the given string and assigns it to the Extension field. +func (o *PythonPackageUploadResponse) SetExtension(v string) { + o.Extension = &v +} + +// GetFilename returns the Filename field value if set, zero value otherwise. +func (o *PythonPackageUploadResponse) GetFilename() string { + if o == nil || isNil(o.Filename) { + var ret string + return ret + } + return *o.Filename +} + +// GetFilenameOk returns a tuple with the Filename field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *PythonPackageUploadResponse) GetFilenameOk() (*string, bool) { + if o == nil || isNil(o.Filename) { + return nil, false + } + return o.Filename, true +} + +// HasFilename returns a boolean if a field has been set. +func (o *PythonPackageUploadResponse) HasFilename() bool { + if o != nil && !isNil(o.Filename) { + return true + } + + return false +} + +// SetFilename gets a reference to the given string and assigns it to the Filename field. +func (o *PythonPackageUploadResponse) SetFilename(v string) { + o.Filename = &v +} + +// GetFiles returns the Files field value if set, zero value otherwise. +func (o *PythonPackageUploadResponse) GetFiles() []PackageFile { + if o == nil || isNil(o.Files) { + var ret []PackageFile + return ret + } + return o.Files +} + +// GetFilesOk returns a tuple with the Files field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *PythonPackageUploadResponse) GetFilesOk() ([]PackageFile, bool) { + if o == nil || isNil(o.Files) { + return nil, false + } + return o.Files, true +} + +// HasFiles returns a boolean if a field has been set. +func (o *PythonPackageUploadResponse) HasFiles() bool { + if o != nil && !isNil(o.Files) { + return true + } + + return false +} + +// SetFiles gets a reference to the given []PackageFile and assigns it to the Files field. +func (o *PythonPackageUploadResponse) SetFiles(v []PackageFile) { + o.Files = v +} + +// GetFormat returns the Format field value if set, zero value otherwise. +func (o *PythonPackageUploadResponse) GetFormat() string { + if o == nil || isNil(o.Format) { + var ret string + return ret + } + return *o.Format +} + +// GetFormatOk returns a tuple with the Format field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *PythonPackageUploadResponse) GetFormatOk() (*string, bool) { + if o == nil || isNil(o.Format) { + return nil, false + } + return o.Format, true +} + +// HasFormat returns a boolean if a field has been set. +func (o *PythonPackageUploadResponse) HasFormat() bool { + if o != nil && !isNil(o.Format) { + return true + } + + return false +} + +// SetFormat gets a reference to the given string and assigns it to the Format field. +func (o *PythonPackageUploadResponse) SetFormat(v string) { + o.Format = &v +} + +// GetFormatUrl returns the FormatUrl field value if set, zero value otherwise. +func (o *PythonPackageUploadResponse) GetFormatUrl() string { + if o == nil || isNil(o.FormatUrl) { + var ret string + return ret + } + return *o.FormatUrl +} + +// GetFormatUrlOk returns a tuple with the FormatUrl field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *PythonPackageUploadResponse) GetFormatUrlOk() (*string, bool) { + if o == nil || isNil(o.FormatUrl) { + return nil, false + } + return o.FormatUrl, true +} + +// HasFormatUrl returns a boolean if a field has been set. +func (o *PythonPackageUploadResponse) HasFormatUrl() bool { + if o != nil && !isNil(o.FormatUrl) { + return true + } + + return false +} + +// SetFormatUrl gets a reference to the given string and assigns it to the FormatUrl field. +func (o *PythonPackageUploadResponse) SetFormatUrl(v string) { + o.FormatUrl = &v +} + +// GetIdentifierPerm returns the IdentifierPerm field value if set, zero value otherwise. +func (o *PythonPackageUploadResponse) GetIdentifierPerm() string { + if o == nil || isNil(o.IdentifierPerm) { + var ret string + return ret + } + return *o.IdentifierPerm +} + +// GetIdentifierPermOk returns a tuple with the IdentifierPerm field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *PythonPackageUploadResponse) GetIdentifierPermOk() (*string, bool) { + if o == nil || isNil(o.IdentifierPerm) { + return nil, false + } + return o.IdentifierPerm, true +} + +// HasIdentifierPerm returns a boolean if a field has been set. +func (o *PythonPackageUploadResponse) HasIdentifierPerm() bool { + if o != nil && !isNil(o.IdentifierPerm) { + return true + } + + return false +} + +// SetIdentifierPerm gets a reference to the given string and assigns it to the IdentifierPerm field. +func (o *PythonPackageUploadResponse) SetIdentifierPerm(v string) { + o.IdentifierPerm = &v +} + +// GetIndexed returns the Indexed field value if set, zero value otherwise. +func (o *PythonPackageUploadResponse) GetIndexed() bool { + if o == nil || isNil(o.Indexed) { + var ret bool + return ret + } + return *o.Indexed +} + +// GetIndexedOk returns a tuple with the Indexed field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *PythonPackageUploadResponse) GetIndexedOk() (*bool, bool) { + if o == nil || isNil(o.Indexed) { + return nil, false + } + return o.Indexed, true +} + +// HasIndexed returns a boolean if a field has been set. +func (o *PythonPackageUploadResponse) HasIndexed() bool { + if o != nil && !isNil(o.Indexed) { + return true + } + + return false +} + +// SetIndexed gets a reference to the given bool and assigns it to the Indexed field. +func (o *PythonPackageUploadResponse) SetIndexed(v bool) { + o.Indexed = &v +} + +// GetIsDownloadable returns the IsDownloadable field value if set, zero value otherwise. +func (o *PythonPackageUploadResponse) GetIsDownloadable() bool { + if o == nil || isNil(o.IsDownloadable) { + var ret bool + return ret + } + return *o.IsDownloadable +} + +// GetIsDownloadableOk returns a tuple with the IsDownloadable field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *PythonPackageUploadResponse) GetIsDownloadableOk() (*bool, bool) { + if o == nil || isNil(o.IsDownloadable) { + return nil, false + } + return o.IsDownloadable, true +} + +// HasIsDownloadable returns a boolean if a field has been set. +func (o *PythonPackageUploadResponse) HasIsDownloadable() bool { + if o != nil && !isNil(o.IsDownloadable) { + return true + } + + return false +} + +// SetIsDownloadable gets a reference to the given bool and assigns it to the IsDownloadable field. +func (o *PythonPackageUploadResponse) SetIsDownloadable(v bool) { + o.IsDownloadable = &v +} + +// GetIsQuarantined returns the IsQuarantined field value if set, zero value otherwise. +func (o *PythonPackageUploadResponse) GetIsQuarantined() bool { + if o == nil || isNil(o.IsQuarantined) { + var ret bool + return ret + } + return *o.IsQuarantined +} + +// GetIsQuarantinedOk returns a tuple with the IsQuarantined field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *PythonPackageUploadResponse) GetIsQuarantinedOk() (*bool, bool) { + if o == nil || isNil(o.IsQuarantined) { + return nil, false + } + return o.IsQuarantined, true +} + +// HasIsQuarantined returns a boolean if a field has been set. +func (o *PythonPackageUploadResponse) HasIsQuarantined() bool { + if o != nil && !isNil(o.IsQuarantined) { + return true + } + + return false +} + +// SetIsQuarantined gets a reference to the given bool and assigns it to the IsQuarantined field. +func (o *PythonPackageUploadResponse) SetIsQuarantined(v bool) { + o.IsQuarantined = &v +} + +// GetIsSyncAwaiting returns the IsSyncAwaiting field value if set, zero value otherwise. +func (o *PythonPackageUploadResponse) GetIsSyncAwaiting() bool { + if o == nil || isNil(o.IsSyncAwaiting) { + var ret bool + return ret + } + return *o.IsSyncAwaiting +} + +// GetIsSyncAwaitingOk returns a tuple with the IsSyncAwaiting field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *PythonPackageUploadResponse) GetIsSyncAwaitingOk() (*bool, bool) { + if o == nil || isNil(o.IsSyncAwaiting) { + return nil, false + } + return o.IsSyncAwaiting, true +} + +// HasIsSyncAwaiting returns a boolean if a field has been set. +func (o *PythonPackageUploadResponse) HasIsSyncAwaiting() bool { + if o != nil && !isNil(o.IsSyncAwaiting) { + return true + } + + return false +} + +// SetIsSyncAwaiting gets a reference to the given bool and assigns it to the IsSyncAwaiting field. +func (o *PythonPackageUploadResponse) SetIsSyncAwaiting(v bool) { + o.IsSyncAwaiting = &v +} + +// GetIsSyncCompleted returns the IsSyncCompleted field value if set, zero value otherwise. +func (o *PythonPackageUploadResponse) GetIsSyncCompleted() bool { + if o == nil || isNil(o.IsSyncCompleted) { + var ret bool + return ret + } + return *o.IsSyncCompleted +} + +// GetIsSyncCompletedOk returns a tuple with the IsSyncCompleted field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *PythonPackageUploadResponse) GetIsSyncCompletedOk() (*bool, bool) { + if o == nil || isNil(o.IsSyncCompleted) { + return nil, false + } + return o.IsSyncCompleted, true +} + +// HasIsSyncCompleted returns a boolean if a field has been set. +func (o *PythonPackageUploadResponse) HasIsSyncCompleted() bool { + if o != nil && !isNil(o.IsSyncCompleted) { + return true + } + + return false +} + +// SetIsSyncCompleted gets a reference to the given bool and assigns it to the IsSyncCompleted field. +func (o *PythonPackageUploadResponse) SetIsSyncCompleted(v bool) { + o.IsSyncCompleted = &v +} + +// GetIsSyncFailed returns the IsSyncFailed field value if set, zero value otherwise. +func (o *PythonPackageUploadResponse) GetIsSyncFailed() bool { + if o == nil || isNil(o.IsSyncFailed) { + var ret bool + return ret + } + return *o.IsSyncFailed +} + +// GetIsSyncFailedOk returns a tuple with the IsSyncFailed field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *PythonPackageUploadResponse) GetIsSyncFailedOk() (*bool, bool) { + if o == nil || isNil(o.IsSyncFailed) { + return nil, false + } + return o.IsSyncFailed, true +} + +// HasIsSyncFailed returns a boolean if a field has been set. +func (o *PythonPackageUploadResponse) HasIsSyncFailed() bool { + if o != nil && !isNil(o.IsSyncFailed) { + return true + } + + return false +} + +// SetIsSyncFailed gets a reference to the given bool and assigns it to the IsSyncFailed field. +func (o *PythonPackageUploadResponse) SetIsSyncFailed(v bool) { + o.IsSyncFailed = &v +} + +// GetIsSyncInFlight returns the IsSyncInFlight field value if set, zero value otherwise. +func (o *PythonPackageUploadResponse) GetIsSyncInFlight() bool { + if o == nil || isNil(o.IsSyncInFlight) { + var ret bool + return ret + } + return *o.IsSyncInFlight +} + +// GetIsSyncInFlightOk returns a tuple with the IsSyncInFlight field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *PythonPackageUploadResponse) GetIsSyncInFlightOk() (*bool, bool) { + if o == nil || isNil(o.IsSyncInFlight) { + return nil, false + } + return o.IsSyncInFlight, true +} + +// HasIsSyncInFlight returns a boolean if a field has been set. +func (o *PythonPackageUploadResponse) HasIsSyncInFlight() bool { + if o != nil && !isNil(o.IsSyncInFlight) { + return true + } + + return false +} + +// SetIsSyncInFlight gets a reference to the given bool and assigns it to the IsSyncInFlight field. +func (o *PythonPackageUploadResponse) SetIsSyncInFlight(v bool) { + o.IsSyncInFlight = &v +} + +// GetIsSyncInProgress returns the IsSyncInProgress field value if set, zero value otherwise. +func (o *PythonPackageUploadResponse) GetIsSyncInProgress() bool { + if o == nil || isNil(o.IsSyncInProgress) { + var ret bool + return ret + } + return *o.IsSyncInProgress +} + +// GetIsSyncInProgressOk returns a tuple with the IsSyncInProgress field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *PythonPackageUploadResponse) GetIsSyncInProgressOk() (*bool, bool) { + if o == nil || isNil(o.IsSyncInProgress) { + return nil, false + } + return o.IsSyncInProgress, true +} + +// HasIsSyncInProgress returns a boolean if a field has been set. +func (o *PythonPackageUploadResponse) HasIsSyncInProgress() bool { + if o != nil && !isNil(o.IsSyncInProgress) { + return true + } + + return false +} + +// SetIsSyncInProgress gets a reference to the given bool and assigns it to the IsSyncInProgress field. +func (o *PythonPackageUploadResponse) SetIsSyncInProgress(v bool) { + o.IsSyncInProgress = &v +} + +// GetLicense returns the License field value if set, zero value otherwise. +func (o *PythonPackageUploadResponse) GetLicense() string { + if o == nil || isNil(o.License) { + var ret string + return ret + } + return *o.License +} + +// GetLicenseOk returns a tuple with the License field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *PythonPackageUploadResponse) GetLicenseOk() (*string, bool) { + if o == nil || isNil(o.License) { + return nil, false + } + return o.License, true +} + +// HasLicense returns a boolean if a field has been set. +func (o *PythonPackageUploadResponse) HasLicense() bool { + if o != nil && !isNil(o.License) { + return true + } + + return false +} + +// SetLicense gets a reference to the given string and assigns it to the License field. +func (o *PythonPackageUploadResponse) SetLicense(v string) { + o.License = &v +} + +// GetName returns the Name field value if set, zero value otherwise. +func (o *PythonPackageUploadResponse) GetName() string { + if o == nil || isNil(o.Name) { + var ret string + return ret + } + return *o.Name +} + +// GetNameOk returns a tuple with the Name field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *PythonPackageUploadResponse) GetNameOk() (*string, bool) { + if o == nil || isNil(o.Name) { + return nil, false + } + return o.Name, true +} + +// HasName returns a boolean if a field has been set. +func (o *PythonPackageUploadResponse) HasName() bool { + if o != nil && !isNil(o.Name) { + return true + } + + return false +} + +// SetName gets a reference to the given string and assigns it to the Name field. +func (o *PythonPackageUploadResponse) SetName(v string) { + o.Name = &v +} + +// GetNamespace returns the Namespace field value if set, zero value otherwise. +func (o *PythonPackageUploadResponse) GetNamespace() string { + if o == nil || isNil(o.Namespace) { + var ret string + return ret + } + return *o.Namespace +} + +// GetNamespaceOk returns a tuple with the Namespace field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *PythonPackageUploadResponse) GetNamespaceOk() (*string, bool) { + if o == nil || isNil(o.Namespace) { + return nil, false + } + return o.Namespace, true +} + +// HasNamespace returns a boolean if a field has been set. +func (o *PythonPackageUploadResponse) HasNamespace() bool { + if o != nil && !isNil(o.Namespace) { + return true + } + + return false +} + +// SetNamespace gets a reference to the given string and assigns it to the Namespace field. +func (o *PythonPackageUploadResponse) SetNamespace(v string) { + o.Namespace = &v +} + +// GetNamespaceUrl returns the NamespaceUrl field value if set, zero value otherwise. +func (o *PythonPackageUploadResponse) GetNamespaceUrl() string { + if o == nil || isNil(o.NamespaceUrl) { + var ret string + return ret + } + return *o.NamespaceUrl +} + +// GetNamespaceUrlOk returns a tuple with the NamespaceUrl field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *PythonPackageUploadResponse) GetNamespaceUrlOk() (*string, bool) { + if o == nil || isNil(o.NamespaceUrl) { + return nil, false + } + return o.NamespaceUrl, true +} + +// HasNamespaceUrl returns a boolean if a field has been set. +func (o *PythonPackageUploadResponse) HasNamespaceUrl() bool { + if o != nil && !isNil(o.NamespaceUrl) { + return true + } + + return false +} + +// SetNamespaceUrl gets a reference to the given string and assigns it to the NamespaceUrl field. +func (o *PythonPackageUploadResponse) SetNamespaceUrl(v string) { + o.NamespaceUrl = &v +} + +// GetNumFiles returns the NumFiles field value if set, zero value otherwise. +func (o *PythonPackageUploadResponse) GetNumFiles() int64 { + if o == nil || isNil(o.NumFiles) { + var ret int64 + return ret + } + return *o.NumFiles +} + +// GetNumFilesOk returns a tuple with the NumFiles field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *PythonPackageUploadResponse) GetNumFilesOk() (*int64, bool) { + if o == nil || isNil(o.NumFiles) { + return nil, false + } + return o.NumFiles, true +} + +// HasNumFiles returns a boolean if a field has been set. +func (o *PythonPackageUploadResponse) HasNumFiles() bool { + if o != nil && !isNil(o.NumFiles) { + return true + } + + return false +} + +// SetNumFiles gets a reference to the given int64 and assigns it to the NumFiles field. +func (o *PythonPackageUploadResponse) SetNumFiles(v int64) { + o.NumFiles = &v +} + +// GetOriginRepository returns the OriginRepository field value if set, zero value otherwise. +func (o *PythonPackageUploadResponse) GetOriginRepository() string { + if o == nil || isNil(o.OriginRepository) { + var ret string + return ret + } + return *o.OriginRepository +} + +// GetOriginRepositoryOk returns a tuple with the OriginRepository field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *PythonPackageUploadResponse) GetOriginRepositoryOk() (*string, bool) { + if o == nil || isNil(o.OriginRepository) { + return nil, false + } + return o.OriginRepository, true +} + +// HasOriginRepository returns a boolean if a field has been set. +func (o *PythonPackageUploadResponse) HasOriginRepository() bool { + if o != nil && !isNil(o.OriginRepository) { + return true + } + + return false +} + +// SetOriginRepository gets a reference to the given string and assigns it to the OriginRepository field. +func (o *PythonPackageUploadResponse) SetOriginRepository(v string) { + o.OriginRepository = &v +} + +// GetOriginRepositoryUrl returns the OriginRepositoryUrl field value if set, zero value otherwise. +func (o *PythonPackageUploadResponse) GetOriginRepositoryUrl() string { + if o == nil || isNil(o.OriginRepositoryUrl) { + var ret string + return ret + } + return *o.OriginRepositoryUrl +} + +// GetOriginRepositoryUrlOk returns a tuple with the OriginRepositoryUrl field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *PythonPackageUploadResponse) GetOriginRepositoryUrlOk() (*string, bool) { + if o == nil || isNil(o.OriginRepositoryUrl) { + return nil, false + } + return o.OriginRepositoryUrl, true +} + +// HasOriginRepositoryUrl returns a boolean if a field has been set. +func (o *PythonPackageUploadResponse) HasOriginRepositoryUrl() bool { + if o != nil && !isNil(o.OriginRepositoryUrl) { + return true + } + + return false +} + +// SetOriginRepositoryUrl gets a reference to the given string and assigns it to the OriginRepositoryUrl field. +func (o *PythonPackageUploadResponse) SetOriginRepositoryUrl(v string) { + o.OriginRepositoryUrl = &v +} + +// GetPackageType returns the PackageType field value if set, zero value otherwise. +func (o *PythonPackageUploadResponse) GetPackageType() int64 { + if o == nil || isNil(o.PackageType) { + var ret int64 + return ret + } + return *o.PackageType +} + +// GetPackageTypeOk returns a tuple with the PackageType field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *PythonPackageUploadResponse) GetPackageTypeOk() (*int64, bool) { + if o == nil || isNil(o.PackageType) { + return nil, false + } + return o.PackageType, true +} + +// HasPackageType returns a boolean if a field has been set. +func (o *PythonPackageUploadResponse) HasPackageType() bool { + if o != nil && !isNil(o.PackageType) { + return true + } + + return false +} + +// SetPackageType gets a reference to the given int64 and assigns it to the PackageType field. +func (o *PythonPackageUploadResponse) SetPackageType(v int64) { + o.PackageType = &v +} + +// GetRelease returns the Release field value if set, zero value otherwise. +func (o *PythonPackageUploadResponse) GetRelease() string { + if o == nil || isNil(o.Release) { + var ret string + return ret + } + return *o.Release +} + +// GetReleaseOk returns a tuple with the Release field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *PythonPackageUploadResponse) GetReleaseOk() (*string, bool) { + if o == nil || isNil(o.Release) { + return nil, false + } + return o.Release, true +} + +// HasRelease returns a boolean if a field has been set. +func (o *PythonPackageUploadResponse) HasRelease() bool { + if o != nil && !isNil(o.Release) { + return true + } + + return false +} + +// SetRelease gets a reference to the given string and assigns it to the Release field. +func (o *PythonPackageUploadResponse) SetRelease(v string) { + o.Release = &v +} + +// GetRepository returns the Repository field value if set, zero value otherwise. +func (o *PythonPackageUploadResponse) GetRepository() string { + if o == nil || isNil(o.Repository) { + var ret string + return ret + } + return *o.Repository +} + +// GetRepositoryOk returns a tuple with the Repository field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *PythonPackageUploadResponse) GetRepositoryOk() (*string, bool) { + if o == nil || isNil(o.Repository) { + return nil, false + } + return o.Repository, true +} + +// HasRepository returns a boolean if a field has been set. +func (o *PythonPackageUploadResponse) HasRepository() bool { + if o != nil && !isNil(o.Repository) { + return true + } + + return false +} + +// SetRepository gets a reference to the given string and assigns it to the Repository field. +func (o *PythonPackageUploadResponse) SetRepository(v string) { + o.Repository = &v +} + +// GetRepositoryUrl returns the RepositoryUrl field value if set, zero value otherwise. +func (o *PythonPackageUploadResponse) GetRepositoryUrl() string { + if o == nil || isNil(o.RepositoryUrl) { + var ret string + return ret + } + return *o.RepositoryUrl +} + +// GetRepositoryUrlOk returns a tuple with the RepositoryUrl field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *PythonPackageUploadResponse) GetRepositoryUrlOk() (*string, bool) { + if o == nil || isNil(o.RepositoryUrl) { + return nil, false + } + return o.RepositoryUrl, true +} + +// HasRepositoryUrl returns a boolean if a field has been set. +func (o *PythonPackageUploadResponse) HasRepositoryUrl() bool { + if o != nil && !isNil(o.RepositoryUrl) { + return true + } + + return false +} + +// SetRepositoryUrl gets a reference to the given string and assigns it to the RepositoryUrl field. +func (o *PythonPackageUploadResponse) SetRepositoryUrl(v string) { + o.RepositoryUrl = &v +} + +// GetSecurityScanCompletedAt returns the SecurityScanCompletedAt field value if set, zero value otherwise. +func (o *PythonPackageUploadResponse) GetSecurityScanCompletedAt() time.Time { + if o == nil || isNil(o.SecurityScanCompletedAt) { + var ret time.Time + return ret + } + return *o.SecurityScanCompletedAt +} + +// GetSecurityScanCompletedAtOk returns a tuple with the SecurityScanCompletedAt field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *PythonPackageUploadResponse) GetSecurityScanCompletedAtOk() (*time.Time, bool) { + if o == nil || isNil(o.SecurityScanCompletedAt) { + return nil, false + } + return o.SecurityScanCompletedAt, true +} + +// HasSecurityScanCompletedAt returns a boolean if a field has been set. +func (o *PythonPackageUploadResponse) HasSecurityScanCompletedAt() bool { + if o != nil && !isNil(o.SecurityScanCompletedAt) { + return true + } + + return false +} + +// SetSecurityScanCompletedAt gets a reference to the given time.Time and assigns it to the SecurityScanCompletedAt field. +func (o *PythonPackageUploadResponse) SetSecurityScanCompletedAt(v time.Time) { + o.SecurityScanCompletedAt = &v +} + +// GetSecurityScanStartedAt returns the SecurityScanStartedAt field value if set, zero value otherwise. +func (o *PythonPackageUploadResponse) GetSecurityScanStartedAt() time.Time { + if o == nil || isNil(o.SecurityScanStartedAt) { + var ret time.Time + return ret + } + return *o.SecurityScanStartedAt +} + +// GetSecurityScanStartedAtOk returns a tuple with the SecurityScanStartedAt field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *PythonPackageUploadResponse) GetSecurityScanStartedAtOk() (*time.Time, bool) { + if o == nil || isNil(o.SecurityScanStartedAt) { + return nil, false + } + return o.SecurityScanStartedAt, true +} + +// HasSecurityScanStartedAt returns a boolean if a field has been set. +func (o *PythonPackageUploadResponse) HasSecurityScanStartedAt() bool { + if o != nil && !isNil(o.SecurityScanStartedAt) { + return true + } + + return false +} + +// SetSecurityScanStartedAt gets a reference to the given time.Time and assigns it to the SecurityScanStartedAt field. +func (o *PythonPackageUploadResponse) SetSecurityScanStartedAt(v time.Time) { + o.SecurityScanStartedAt = &v +} + +// GetSecurityScanStatus returns the SecurityScanStatus field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *PythonPackageUploadResponse) GetSecurityScanStatus() string { + if o == nil || isNil(o.SecurityScanStatus.Get()) { + var ret string + return ret + } + return *o.SecurityScanStatus.Get() +} + +// GetSecurityScanStatusOk returns a tuple with the SecurityScanStatus 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 *PythonPackageUploadResponse) GetSecurityScanStatusOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.SecurityScanStatus.Get(), o.SecurityScanStatus.IsSet() +} + +// HasSecurityScanStatus returns a boolean if a field has been set. +func (o *PythonPackageUploadResponse) HasSecurityScanStatus() bool { + if o != nil && o.SecurityScanStatus.IsSet() { + return true + } + + return false +} + +// SetSecurityScanStatus gets a reference to the given NullableString and assigns it to the SecurityScanStatus field. +func (o *PythonPackageUploadResponse) SetSecurityScanStatus(v string) { + o.SecurityScanStatus.Set(&v) +} + +// SetSecurityScanStatusNil sets the value for SecurityScanStatus to be an explicit nil +func (o *PythonPackageUploadResponse) SetSecurityScanStatusNil() { + o.SecurityScanStatus.Set(nil) +} + +// UnsetSecurityScanStatus ensures that no value is present for SecurityScanStatus, not even an explicit nil +func (o *PythonPackageUploadResponse) UnsetSecurityScanStatus() { + o.SecurityScanStatus.Unset() +} + +// GetSecurityScanStatusUpdatedAt returns the SecurityScanStatusUpdatedAt field value if set, zero value otherwise. +func (o *PythonPackageUploadResponse) GetSecurityScanStatusUpdatedAt() time.Time { + if o == nil || isNil(o.SecurityScanStatusUpdatedAt) { + var ret time.Time + return ret + } + return *o.SecurityScanStatusUpdatedAt +} + +// GetSecurityScanStatusUpdatedAtOk returns a tuple with the SecurityScanStatusUpdatedAt field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *PythonPackageUploadResponse) GetSecurityScanStatusUpdatedAtOk() (*time.Time, bool) { + if o == nil || isNil(o.SecurityScanStatusUpdatedAt) { + return nil, false + } + return o.SecurityScanStatusUpdatedAt, true +} + +// HasSecurityScanStatusUpdatedAt returns a boolean if a field has been set. +func (o *PythonPackageUploadResponse) HasSecurityScanStatusUpdatedAt() bool { + if o != nil && !isNil(o.SecurityScanStatusUpdatedAt) { + return true + } + + return false +} + +// SetSecurityScanStatusUpdatedAt gets a reference to the given time.Time and assigns it to the SecurityScanStatusUpdatedAt field. +func (o *PythonPackageUploadResponse) SetSecurityScanStatusUpdatedAt(v time.Time) { + o.SecurityScanStatusUpdatedAt = &v +} + +// GetSelfHtmlUrl returns the SelfHtmlUrl field value if set, zero value otherwise. +func (o *PythonPackageUploadResponse) GetSelfHtmlUrl() string { + if o == nil || isNil(o.SelfHtmlUrl) { + var ret string + return ret + } + return *o.SelfHtmlUrl +} + +// GetSelfHtmlUrlOk returns a tuple with the SelfHtmlUrl field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *PythonPackageUploadResponse) GetSelfHtmlUrlOk() (*string, bool) { + if o == nil || isNil(o.SelfHtmlUrl) { + return nil, false + } + return o.SelfHtmlUrl, true +} + +// HasSelfHtmlUrl returns a boolean if a field has been set. +func (o *PythonPackageUploadResponse) HasSelfHtmlUrl() bool { + if o != nil && !isNil(o.SelfHtmlUrl) { + return true + } + + return false +} + +// SetSelfHtmlUrl gets a reference to the given string and assigns it to the SelfHtmlUrl field. +func (o *PythonPackageUploadResponse) SetSelfHtmlUrl(v string) { + o.SelfHtmlUrl = &v +} + +// GetSelfUrl returns the SelfUrl field value if set, zero value otherwise. +func (o *PythonPackageUploadResponse) GetSelfUrl() string { + if o == nil || isNil(o.SelfUrl) { + var ret string + return ret + } + return *o.SelfUrl +} + +// GetSelfUrlOk returns a tuple with the SelfUrl field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *PythonPackageUploadResponse) GetSelfUrlOk() (*string, bool) { + if o == nil || isNil(o.SelfUrl) { + return nil, false + } + return o.SelfUrl, true +} + +// HasSelfUrl returns a boolean if a field has been set. +func (o *PythonPackageUploadResponse) HasSelfUrl() bool { + if o != nil && !isNil(o.SelfUrl) { + return true + } + + return false +} + +// SetSelfUrl gets a reference to the given string and assigns it to the SelfUrl field. +func (o *PythonPackageUploadResponse) SetSelfUrl(v string) { + o.SelfUrl = &v +} + +// GetSignatureUrl returns the SignatureUrl field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *PythonPackageUploadResponse) GetSignatureUrl() string { + if o == nil || isNil(o.SignatureUrl.Get()) { + var ret string + return ret + } + return *o.SignatureUrl.Get() +} + +// GetSignatureUrlOk returns a tuple with the SignatureUrl 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 *PythonPackageUploadResponse) GetSignatureUrlOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.SignatureUrl.Get(), o.SignatureUrl.IsSet() +} + +// HasSignatureUrl returns a boolean if a field has been set. +func (o *PythonPackageUploadResponse) HasSignatureUrl() bool { + if o != nil && o.SignatureUrl.IsSet() { + return true + } + + return false +} + +// SetSignatureUrl gets a reference to the given NullableString and assigns it to the SignatureUrl field. +func (o *PythonPackageUploadResponse) SetSignatureUrl(v string) { + o.SignatureUrl.Set(&v) +} + +// SetSignatureUrlNil sets the value for SignatureUrl to be an explicit nil +func (o *PythonPackageUploadResponse) SetSignatureUrlNil() { + o.SignatureUrl.Set(nil) +} + +// UnsetSignatureUrl ensures that no value is present for SignatureUrl, not even an explicit nil +func (o *PythonPackageUploadResponse) UnsetSignatureUrl() { + o.SignatureUrl.Unset() +} + +// GetSize returns the Size field value if set, zero value otherwise. +func (o *PythonPackageUploadResponse) GetSize() int64 { + if o == nil || isNil(o.Size) { + var ret int64 + return ret + } + return *o.Size +} + +// GetSizeOk returns a tuple with the Size field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *PythonPackageUploadResponse) GetSizeOk() (*int64, bool) { + if o == nil || isNil(o.Size) { + return nil, false + } + return o.Size, true +} + +// HasSize returns a boolean if a field has been set. +func (o *PythonPackageUploadResponse) HasSize() bool { + if o != nil && !isNil(o.Size) { + return true + } + + return false +} + +// SetSize gets a reference to the given int64 and assigns it to the Size field. +func (o *PythonPackageUploadResponse) SetSize(v int64) { + o.Size = &v +} + +// GetSlug returns the Slug field value if set, zero value otherwise. +func (o *PythonPackageUploadResponse) GetSlug() string { + if o == nil || isNil(o.Slug) { + var ret string + return ret + } + return *o.Slug +} + +// GetSlugOk returns a tuple with the Slug field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *PythonPackageUploadResponse) GetSlugOk() (*string, bool) { + if o == nil || isNil(o.Slug) { + return nil, false + } + return o.Slug, true +} + +// HasSlug returns a boolean if a field has been set. +func (o *PythonPackageUploadResponse) HasSlug() bool { + if o != nil && !isNil(o.Slug) { + return true + } + + return false +} + +// SetSlug gets a reference to the given string and assigns it to the Slug field. +func (o *PythonPackageUploadResponse) SetSlug(v string) { + o.Slug = &v +} + +// GetSlugPerm returns the SlugPerm field value if set, zero value otherwise. +func (o *PythonPackageUploadResponse) GetSlugPerm() string { + if o == nil || isNil(o.SlugPerm) { + var ret string + return ret + } + return *o.SlugPerm +} + +// GetSlugPermOk returns a tuple with the SlugPerm field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *PythonPackageUploadResponse) GetSlugPermOk() (*string, bool) { + if o == nil || isNil(o.SlugPerm) { + return nil, false + } + return o.SlugPerm, true +} + +// HasSlugPerm returns a boolean if a field has been set. +func (o *PythonPackageUploadResponse) HasSlugPerm() bool { + if o != nil && !isNil(o.SlugPerm) { + return true + } + + return false +} + +// SetSlugPerm gets a reference to the given string and assigns it to the SlugPerm field. +func (o *PythonPackageUploadResponse) SetSlugPerm(v string) { + o.SlugPerm = &v +} + +// GetStage returns the Stage field value if set, zero value otherwise. +func (o *PythonPackageUploadResponse) GetStage() int64 { + if o == nil || isNil(o.Stage) { + var ret int64 + return ret + } + return *o.Stage +} + +// GetStageOk returns a tuple with the Stage field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *PythonPackageUploadResponse) GetStageOk() (*int64, bool) { + if o == nil || isNil(o.Stage) { + return nil, false + } + return o.Stage, true +} + +// HasStage returns a boolean if a field has been set. +func (o *PythonPackageUploadResponse) HasStage() bool { + if o != nil && !isNil(o.Stage) { + return true + } + + return false +} + +// SetStage gets a reference to the given int64 and assigns it to the Stage field. +func (o *PythonPackageUploadResponse) SetStage(v int64) { + o.Stage = &v +} + +// GetStageStr returns the StageStr field value if set, zero value otherwise. +func (o *PythonPackageUploadResponse) GetStageStr() string { + if o == nil || isNil(o.StageStr) { + var ret string + return ret + } + return *o.StageStr +} + +// GetStageStrOk returns a tuple with the StageStr field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *PythonPackageUploadResponse) GetStageStrOk() (*string, bool) { + if o == nil || isNil(o.StageStr) { + return nil, false + } + return o.StageStr, true +} + +// HasStageStr returns a boolean if a field has been set. +func (o *PythonPackageUploadResponse) HasStageStr() bool { + if o != nil && !isNil(o.StageStr) { + return true + } + + return false +} + +// SetStageStr gets a reference to the given string and assigns it to the StageStr field. +func (o *PythonPackageUploadResponse) SetStageStr(v string) { + o.StageStr = &v +} + +// GetStageUpdatedAt returns the StageUpdatedAt field value if set, zero value otherwise. +func (o *PythonPackageUploadResponse) GetStageUpdatedAt() time.Time { + if o == nil || isNil(o.StageUpdatedAt) { + var ret time.Time + return ret + } + return *o.StageUpdatedAt +} + +// GetStageUpdatedAtOk returns a tuple with the StageUpdatedAt field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *PythonPackageUploadResponse) GetStageUpdatedAtOk() (*time.Time, bool) { + if o == nil || isNil(o.StageUpdatedAt) { + return nil, false + } + return o.StageUpdatedAt, true +} + +// HasStageUpdatedAt returns a boolean if a field has been set. +func (o *PythonPackageUploadResponse) HasStageUpdatedAt() bool { + if o != nil && !isNil(o.StageUpdatedAt) { + return true + } + + return false +} + +// SetStageUpdatedAt gets a reference to the given time.Time and assigns it to the StageUpdatedAt field. +func (o *PythonPackageUploadResponse) SetStageUpdatedAt(v time.Time) { + o.StageUpdatedAt = &v +} + +// GetStatus returns the Status field value if set, zero value otherwise. +func (o *PythonPackageUploadResponse) GetStatus() int64 { + if o == nil || isNil(o.Status) { + var ret int64 + return ret + } + return *o.Status +} + +// GetStatusOk returns a tuple with the Status field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *PythonPackageUploadResponse) GetStatusOk() (*int64, bool) { + if o == nil || isNil(o.Status) { + return nil, false + } + return o.Status, true +} + +// HasStatus returns a boolean if a field has been set. +func (o *PythonPackageUploadResponse) HasStatus() bool { + if o != nil && !isNil(o.Status) { + return true + } + + return false +} + +// SetStatus gets a reference to the given int64 and assigns it to the Status field. +func (o *PythonPackageUploadResponse) SetStatus(v int64) { + o.Status = &v +} + +// GetStatusReason returns the StatusReason field value if set, zero value otherwise. +func (o *PythonPackageUploadResponse) GetStatusReason() string { + if o == nil || isNil(o.StatusReason) { + var ret string + return ret + } + return *o.StatusReason +} + +// GetStatusReasonOk returns a tuple with the StatusReason field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *PythonPackageUploadResponse) GetStatusReasonOk() (*string, bool) { + if o == nil || isNil(o.StatusReason) { + return nil, false + } + return o.StatusReason, true +} + +// HasStatusReason returns a boolean if a field has been set. +func (o *PythonPackageUploadResponse) HasStatusReason() bool { + if o != nil && !isNil(o.StatusReason) { + return true + } + + return false +} + +// SetStatusReason gets a reference to the given string and assigns it to the StatusReason field. +func (o *PythonPackageUploadResponse) SetStatusReason(v string) { + o.StatusReason = &v +} + +// GetStatusStr returns the StatusStr field value if set, zero value otherwise. +func (o *PythonPackageUploadResponse) GetStatusStr() string { + if o == nil || isNil(o.StatusStr) { + var ret string + return ret + } + return *o.StatusStr +} + +// GetStatusStrOk returns a tuple with the StatusStr field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *PythonPackageUploadResponse) GetStatusStrOk() (*string, bool) { + if o == nil || isNil(o.StatusStr) { + return nil, false + } + return o.StatusStr, true +} + +// HasStatusStr returns a boolean if a field has been set. +func (o *PythonPackageUploadResponse) HasStatusStr() bool { + if o != nil && !isNil(o.StatusStr) { + return true + } + + return false +} + +// SetStatusStr gets a reference to the given string and assigns it to the StatusStr field. +func (o *PythonPackageUploadResponse) SetStatusStr(v string) { + o.StatusStr = &v +} + +// GetStatusUpdatedAt returns the StatusUpdatedAt field value if set, zero value otherwise. +func (o *PythonPackageUploadResponse) GetStatusUpdatedAt() time.Time { + if o == nil || isNil(o.StatusUpdatedAt) { + var ret time.Time + return ret + } + return *o.StatusUpdatedAt +} + +// GetStatusUpdatedAtOk returns a tuple with the StatusUpdatedAt field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *PythonPackageUploadResponse) GetStatusUpdatedAtOk() (*time.Time, bool) { + if o == nil || isNil(o.StatusUpdatedAt) { + return nil, false + } + return o.StatusUpdatedAt, true +} + +// HasStatusUpdatedAt returns a boolean if a field has been set. +func (o *PythonPackageUploadResponse) HasStatusUpdatedAt() bool { + if o != nil && !isNil(o.StatusUpdatedAt) { + return true + } + + return false +} + +// SetStatusUpdatedAt gets a reference to the given time.Time and assigns it to the StatusUpdatedAt field. +func (o *PythonPackageUploadResponse) SetStatusUpdatedAt(v time.Time) { + o.StatusUpdatedAt = &v +} + +// GetStatusUrl returns the StatusUrl field value if set, zero value otherwise. +func (o *PythonPackageUploadResponse) GetStatusUrl() string { + if o == nil || isNil(o.StatusUrl) { + var ret string + return ret + } + return *o.StatusUrl +} + +// GetStatusUrlOk returns a tuple with the StatusUrl field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *PythonPackageUploadResponse) GetStatusUrlOk() (*string, bool) { + if o == nil || isNil(o.StatusUrl) { + return nil, false + } + return o.StatusUrl, true +} + +// HasStatusUrl returns a boolean if a field has been set. +func (o *PythonPackageUploadResponse) HasStatusUrl() bool { + if o != nil && !isNil(o.StatusUrl) { + return true + } + + return false +} + +// SetStatusUrl gets a reference to the given string and assigns it to the StatusUrl field. +func (o *PythonPackageUploadResponse) SetStatusUrl(v string) { + o.StatusUrl = &v +} + +// GetSubtype returns the Subtype field value if set, zero value otherwise. +func (o *PythonPackageUploadResponse) GetSubtype() string { + if o == nil || isNil(o.Subtype) { + var ret string + return ret + } + return *o.Subtype +} + +// GetSubtypeOk returns a tuple with the Subtype field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *PythonPackageUploadResponse) GetSubtypeOk() (*string, bool) { + if o == nil || isNil(o.Subtype) { + return nil, false + } + return o.Subtype, true +} + +// HasSubtype returns a boolean if a field has been set. +func (o *PythonPackageUploadResponse) HasSubtype() bool { + if o != nil && !isNil(o.Subtype) { + return true + } + + return false +} + +// SetSubtype gets a reference to the given string and assigns it to the Subtype field. +func (o *PythonPackageUploadResponse) SetSubtype(v string) { + o.Subtype = &v +} + +// GetSummary returns the Summary field value if set, zero value otherwise. +func (o *PythonPackageUploadResponse) GetSummary() string { + if o == nil || isNil(o.Summary) { + var ret string + return ret + } + return *o.Summary +} + +// GetSummaryOk returns a tuple with the Summary field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *PythonPackageUploadResponse) GetSummaryOk() (*string, bool) { + if o == nil || isNil(o.Summary) { + return nil, false + } + return o.Summary, true +} + +// HasSummary returns a boolean if a field has been set. +func (o *PythonPackageUploadResponse) HasSummary() bool { + if o != nil && !isNil(o.Summary) { + return true + } + + return false +} + +// SetSummary gets a reference to the given string and assigns it to the Summary field. +func (o *PythonPackageUploadResponse) SetSummary(v string) { + o.Summary = &v +} + +// GetSyncFinishedAt returns the SyncFinishedAt field value if set, zero value otherwise. +func (o *PythonPackageUploadResponse) GetSyncFinishedAt() time.Time { + if o == nil || isNil(o.SyncFinishedAt) { + var ret time.Time + return ret + } + return *o.SyncFinishedAt +} + +// GetSyncFinishedAtOk returns a tuple with the SyncFinishedAt field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *PythonPackageUploadResponse) GetSyncFinishedAtOk() (*time.Time, bool) { + if o == nil || isNil(o.SyncFinishedAt) { + return nil, false + } + return o.SyncFinishedAt, true +} + +// HasSyncFinishedAt returns a boolean if a field has been set. +func (o *PythonPackageUploadResponse) HasSyncFinishedAt() bool { + if o != nil && !isNil(o.SyncFinishedAt) { + return true + } + + return false +} + +// SetSyncFinishedAt gets a reference to the given time.Time and assigns it to the SyncFinishedAt field. +func (o *PythonPackageUploadResponse) SetSyncFinishedAt(v time.Time) { + o.SyncFinishedAt = &v +} + +// GetSyncProgress returns the SyncProgress field value if set, zero value otherwise. +func (o *PythonPackageUploadResponse) GetSyncProgress() int64 { + if o == nil || isNil(o.SyncProgress) { + var ret int64 + return ret + } + return *o.SyncProgress +} + +// GetSyncProgressOk returns a tuple with the SyncProgress field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *PythonPackageUploadResponse) GetSyncProgressOk() (*int64, bool) { + if o == nil || isNil(o.SyncProgress) { + return nil, false + } + return o.SyncProgress, true +} + +// HasSyncProgress returns a boolean if a field has been set. +func (o *PythonPackageUploadResponse) HasSyncProgress() bool { + if o != nil && !isNil(o.SyncProgress) { + return true + } + + return false +} + +// SetSyncProgress gets a reference to the given int64 and assigns it to the SyncProgress field. +func (o *PythonPackageUploadResponse) SetSyncProgress(v int64) { + o.SyncProgress = &v +} + +// GetTagsImmutable returns the TagsImmutable field value if set, zero value otherwise. +func (o *PythonPackageUploadResponse) GetTagsImmutable() map[string]interface{} { + if o == nil || isNil(o.TagsImmutable) { + var ret map[string]interface{} + return ret + } + return o.TagsImmutable +} + +// GetTagsImmutableOk returns a tuple with the TagsImmutable field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *PythonPackageUploadResponse) GetTagsImmutableOk() (map[string]interface{}, bool) { + if o == nil || isNil(o.TagsImmutable) { + return map[string]interface{}{}, false + } + return o.TagsImmutable, true +} + +// HasTagsImmutable returns a boolean if a field has been set. +func (o *PythonPackageUploadResponse) HasTagsImmutable() bool { + if o != nil && !isNil(o.TagsImmutable) { + return true + } + + return false +} + +// SetTagsImmutable gets a reference to the given map[string]interface{} and assigns it to the TagsImmutable field. +func (o *PythonPackageUploadResponse) SetTagsImmutable(v map[string]interface{}) { + o.TagsImmutable = v +} + +// GetTypeDisplay returns the TypeDisplay field value if set, zero value otherwise. +func (o *PythonPackageUploadResponse) GetTypeDisplay() string { + if o == nil || isNil(o.TypeDisplay) { + var ret string + return ret + } + return *o.TypeDisplay +} + +// GetTypeDisplayOk returns a tuple with the TypeDisplay field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *PythonPackageUploadResponse) GetTypeDisplayOk() (*string, bool) { + if o == nil || isNil(o.TypeDisplay) { + return nil, false + } + return o.TypeDisplay, true +} + +// HasTypeDisplay returns a boolean if a field has been set. +func (o *PythonPackageUploadResponse) HasTypeDisplay() bool { + if o != nil && !isNil(o.TypeDisplay) { + return true + } + + return false +} + +// SetTypeDisplay gets a reference to the given string and assigns it to the TypeDisplay field. +func (o *PythonPackageUploadResponse) SetTypeDisplay(v string) { + o.TypeDisplay = &v +} + +// GetUploadedAt returns the UploadedAt field value if set, zero value otherwise. +func (o *PythonPackageUploadResponse) GetUploadedAt() time.Time { + if o == nil || isNil(o.UploadedAt) { + var ret time.Time + return ret + } + return *o.UploadedAt +} + +// GetUploadedAtOk returns a tuple with the UploadedAt field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *PythonPackageUploadResponse) GetUploadedAtOk() (*time.Time, bool) { + if o == nil || isNil(o.UploadedAt) { + return nil, false + } + return o.UploadedAt, true +} + +// HasUploadedAt returns a boolean if a field has been set. +func (o *PythonPackageUploadResponse) HasUploadedAt() bool { + if o != nil && !isNil(o.UploadedAt) { + return true + } + + return false +} + +// SetUploadedAt gets a reference to the given time.Time and assigns it to the UploadedAt field. +func (o *PythonPackageUploadResponse) SetUploadedAt(v time.Time) { + o.UploadedAt = &v +} + +// GetUploader returns the Uploader field value if set, zero value otherwise. +func (o *PythonPackageUploadResponse) GetUploader() string { + if o == nil || isNil(o.Uploader) { + var ret string + return ret + } + return *o.Uploader +} + +// GetUploaderOk returns a tuple with the Uploader field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *PythonPackageUploadResponse) GetUploaderOk() (*string, bool) { + if o == nil || isNil(o.Uploader) { + return nil, false + } + return o.Uploader, true +} + +// HasUploader returns a boolean if a field has been set. +func (o *PythonPackageUploadResponse) HasUploader() bool { + if o != nil && !isNil(o.Uploader) { + return true + } + + return false +} + +// SetUploader gets a reference to the given string and assigns it to the Uploader field. +func (o *PythonPackageUploadResponse) SetUploader(v string) { + o.Uploader = &v +} + +// GetUploaderUrl returns the UploaderUrl field value if set, zero value otherwise. +func (o *PythonPackageUploadResponse) GetUploaderUrl() string { + if o == nil || isNil(o.UploaderUrl) { + var ret string + return ret + } + return *o.UploaderUrl +} + +// GetUploaderUrlOk returns a tuple with the UploaderUrl field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *PythonPackageUploadResponse) GetUploaderUrlOk() (*string, bool) { + if o == nil || isNil(o.UploaderUrl) { + return nil, false + } + return o.UploaderUrl, true +} + +// HasUploaderUrl returns a boolean if a field has been set. +func (o *PythonPackageUploadResponse) HasUploaderUrl() bool { + if o != nil && !isNil(o.UploaderUrl) { + return true + } + + return false +} + +// SetUploaderUrl gets a reference to the given string and assigns it to the UploaderUrl field. +func (o *PythonPackageUploadResponse) SetUploaderUrl(v string) { + o.UploaderUrl = &v +} + +// GetVersion returns the Version field value if set, zero value otherwise. +func (o *PythonPackageUploadResponse) GetVersion() string { + if o == nil || isNil(o.Version) { + var ret string + return ret + } + return *o.Version +} + +// GetVersionOk returns a tuple with the Version field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *PythonPackageUploadResponse) GetVersionOk() (*string, bool) { + if o == nil || isNil(o.Version) { + return nil, false + } + return o.Version, true +} + +// HasVersion returns a boolean if a field has been set. +func (o *PythonPackageUploadResponse) HasVersion() bool { + if o != nil && !isNil(o.Version) { + return true + } + + return false +} + +// SetVersion gets a reference to the given string and assigns it to the Version field. +func (o *PythonPackageUploadResponse) SetVersion(v string) { + o.Version = &v +} + +// GetVersionOrig returns the VersionOrig field value if set, zero value otherwise. +func (o *PythonPackageUploadResponse) GetVersionOrig() string { + if o == nil || isNil(o.VersionOrig) { + var ret string + return ret + } + return *o.VersionOrig +} + +// GetVersionOrigOk returns a tuple with the VersionOrig field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *PythonPackageUploadResponse) GetVersionOrigOk() (*string, bool) { + if o == nil || isNil(o.VersionOrig) { + return nil, false + } + return o.VersionOrig, true +} + +// HasVersionOrig returns a boolean if a field has been set. +func (o *PythonPackageUploadResponse) HasVersionOrig() bool { + if o != nil && !isNil(o.VersionOrig) { + return true + } + + return false +} + +// SetVersionOrig gets a reference to the given string and assigns it to the VersionOrig field. +func (o *PythonPackageUploadResponse) SetVersionOrig(v string) { + o.VersionOrig = &v +} + +// GetVulnerabilityScanResultsUrl returns the VulnerabilityScanResultsUrl field value if set, zero value otherwise. +func (o *PythonPackageUploadResponse) GetVulnerabilityScanResultsUrl() string { + if o == nil || isNil(o.VulnerabilityScanResultsUrl) { + var ret string + return ret + } + return *o.VulnerabilityScanResultsUrl +} + +// GetVulnerabilityScanResultsUrlOk returns a tuple with the VulnerabilityScanResultsUrl field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *PythonPackageUploadResponse) GetVulnerabilityScanResultsUrlOk() (*string, bool) { + if o == nil || isNil(o.VulnerabilityScanResultsUrl) { + return nil, false + } + return o.VulnerabilityScanResultsUrl, true +} + +// HasVulnerabilityScanResultsUrl returns a boolean if a field has been set. +func (o *PythonPackageUploadResponse) HasVulnerabilityScanResultsUrl() bool { + if o != nil && !isNil(o.VulnerabilityScanResultsUrl) { + return true + } + + return false +} + +// SetVulnerabilityScanResultsUrl gets a reference to the given string and assigns it to the VulnerabilityScanResultsUrl field. +func (o *PythonPackageUploadResponse) SetVulnerabilityScanResultsUrl(v string) { + o.VulnerabilityScanResultsUrl = &v +} + +func (o PythonPackageUploadResponse) MarshalJSON() ([]byte, error) { + toSerialize := map[string]interface{}{} + if !isNil(o.Architectures) { + toSerialize["architectures"] = o.Architectures + } + if o.CdnUrl.IsSet() { + toSerialize["cdn_url"] = o.CdnUrl.Get() + } + if !isNil(o.ChecksumMd5) { + toSerialize["checksum_md5"] = o.ChecksumMd5 + } + if !isNil(o.ChecksumSha1) { + toSerialize["checksum_sha1"] = o.ChecksumSha1 + } + if !isNil(o.ChecksumSha256) { + toSerialize["checksum_sha256"] = o.ChecksumSha256 + } + if !isNil(o.ChecksumSha512) { + toSerialize["checksum_sha512"] = o.ChecksumSha512 + } + if !isNil(o.DependenciesChecksumMd5) { + toSerialize["dependencies_checksum_md5"] = o.DependenciesChecksumMd5 + } + if !isNil(o.DependenciesUrl) { + toSerialize["dependencies_url"] = o.DependenciesUrl + } + if !isNil(o.Description) { + toSerialize["description"] = o.Description + } + if o.Distro.IsSet() { + toSerialize["distro"] = o.Distro.Get() + } + if !isNil(o.DistroVersion) { + toSerialize["distro_version"] = o.DistroVersion + } + if !isNil(o.Downloads) { + toSerialize["downloads"] = o.Downloads + } + if !isNil(o.Epoch) { + toSerialize["epoch"] = o.Epoch + } + if !isNil(o.Extension) { + toSerialize["extension"] = o.Extension + } + if !isNil(o.Filename) { + toSerialize["filename"] = o.Filename + } + if !isNil(o.Files) { + toSerialize["files"] = o.Files + } + if !isNil(o.Format) { + toSerialize["format"] = o.Format + } + if !isNil(o.FormatUrl) { + toSerialize["format_url"] = o.FormatUrl + } + if !isNil(o.IdentifierPerm) { + toSerialize["identifier_perm"] = o.IdentifierPerm + } + if !isNil(o.Indexed) { + toSerialize["indexed"] = o.Indexed + } + if !isNil(o.IsDownloadable) { + toSerialize["is_downloadable"] = o.IsDownloadable + } + if !isNil(o.IsQuarantined) { + toSerialize["is_quarantined"] = o.IsQuarantined + } + if !isNil(o.IsSyncAwaiting) { + toSerialize["is_sync_awaiting"] = o.IsSyncAwaiting + } + if !isNil(o.IsSyncCompleted) { + toSerialize["is_sync_completed"] = o.IsSyncCompleted + } + if !isNil(o.IsSyncFailed) { + toSerialize["is_sync_failed"] = o.IsSyncFailed + } + if !isNil(o.IsSyncInFlight) { + toSerialize["is_sync_in_flight"] = o.IsSyncInFlight + } + if !isNil(o.IsSyncInProgress) { + toSerialize["is_sync_in_progress"] = o.IsSyncInProgress + } + if !isNil(o.License) { + toSerialize["license"] = o.License + } + if !isNil(o.Name) { + toSerialize["name"] = o.Name + } + if !isNil(o.Namespace) { + toSerialize["namespace"] = o.Namespace + } + if !isNil(o.NamespaceUrl) { + toSerialize["namespace_url"] = o.NamespaceUrl + } + if !isNil(o.NumFiles) { + toSerialize["num_files"] = o.NumFiles + } + if !isNil(o.OriginRepository) { + toSerialize["origin_repository"] = o.OriginRepository + } + if !isNil(o.OriginRepositoryUrl) { + toSerialize["origin_repository_url"] = o.OriginRepositoryUrl + } + if !isNil(o.PackageType) { + toSerialize["package_type"] = o.PackageType + } + if !isNil(o.Release) { + toSerialize["release"] = o.Release + } + if !isNil(o.Repository) { + toSerialize["repository"] = o.Repository + } + if !isNil(o.RepositoryUrl) { + toSerialize["repository_url"] = o.RepositoryUrl + } + if !isNil(o.SecurityScanCompletedAt) { + toSerialize["security_scan_completed_at"] = o.SecurityScanCompletedAt + } + if !isNil(o.SecurityScanStartedAt) { + toSerialize["security_scan_started_at"] = o.SecurityScanStartedAt + } + if o.SecurityScanStatus.IsSet() { + toSerialize["security_scan_status"] = o.SecurityScanStatus.Get() + } + if !isNil(o.SecurityScanStatusUpdatedAt) { + toSerialize["security_scan_status_updated_at"] = o.SecurityScanStatusUpdatedAt + } + if !isNil(o.SelfHtmlUrl) { + toSerialize["self_html_url"] = o.SelfHtmlUrl + } + if !isNil(o.SelfUrl) { + toSerialize["self_url"] = o.SelfUrl + } + if o.SignatureUrl.IsSet() { + toSerialize["signature_url"] = o.SignatureUrl.Get() + } + if !isNil(o.Size) { + toSerialize["size"] = o.Size + } + if !isNil(o.Slug) { + toSerialize["slug"] = o.Slug + } + if !isNil(o.SlugPerm) { + toSerialize["slug_perm"] = o.SlugPerm + } + if !isNil(o.Stage) { + toSerialize["stage"] = o.Stage + } + if !isNil(o.StageStr) { + toSerialize["stage_str"] = o.StageStr + } + if !isNil(o.StageUpdatedAt) { + toSerialize["stage_updated_at"] = o.StageUpdatedAt + } + if !isNil(o.Status) { + toSerialize["status"] = o.Status + } + if !isNil(o.StatusReason) { + toSerialize["status_reason"] = o.StatusReason + } + if !isNil(o.StatusStr) { + toSerialize["status_str"] = o.StatusStr + } + if !isNil(o.StatusUpdatedAt) { + toSerialize["status_updated_at"] = o.StatusUpdatedAt + } + if !isNil(o.StatusUrl) { + toSerialize["status_url"] = o.StatusUrl + } + if !isNil(o.Subtype) { + toSerialize["subtype"] = o.Subtype + } + if !isNil(o.Summary) { + toSerialize["summary"] = o.Summary + } + if !isNil(o.SyncFinishedAt) { + toSerialize["sync_finished_at"] = o.SyncFinishedAt + } + if !isNil(o.SyncProgress) { + toSerialize["sync_progress"] = o.SyncProgress + } + if !isNil(o.TagsImmutable) { + toSerialize["tags_immutable"] = o.TagsImmutable + } + if !isNil(o.TypeDisplay) { + toSerialize["type_display"] = o.TypeDisplay + } + if !isNil(o.UploadedAt) { + toSerialize["uploaded_at"] = o.UploadedAt + } + if !isNil(o.Uploader) { + toSerialize["uploader"] = o.Uploader + } + if !isNil(o.UploaderUrl) { + toSerialize["uploader_url"] = o.UploaderUrl + } + if !isNil(o.Version) { + toSerialize["version"] = o.Version + } + if !isNil(o.VersionOrig) { + toSerialize["version_orig"] = o.VersionOrig + } + if !isNil(o.VulnerabilityScanResultsUrl) { + toSerialize["vulnerability_scan_results_url"] = o.VulnerabilityScanResultsUrl + } + return json.Marshal(toSerialize) +} + +type NullablePythonPackageUploadResponse struct { + value *PythonPackageUploadResponse + isSet bool +} + +func (v NullablePythonPackageUploadResponse) Get() *PythonPackageUploadResponse { + return v.value +} + +func (v *NullablePythonPackageUploadResponse) Set(val *PythonPackageUploadResponse) { + v.value = val + v.isSet = true +} + +func (v NullablePythonPackageUploadResponse) IsSet() bool { + return v.isSet +} + +func (v *NullablePythonPackageUploadResponse) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullablePythonPackageUploadResponse(val *PythonPackageUploadResponse) *NullablePythonPackageUploadResponse { + return &NullablePythonPackageUploadResponse{value: val, isSet: true} +} + +func (v NullablePythonPackageUploadResponse) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullablePythonPackageUploadResponse) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} diff --git a/model_quota_history.go b/model_quota_history.go deleted file mode 100644 index 29f520ff..00000000 --- a/model_quota_history.go +++ /dev/null @@ -1,108 +0,0 @@ -/* -Cloudsmith API - -The API to the Cloudsmith Service - -API version: 1.121.3 -Contact: support@cloudsmith.io -*/ - -// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. - -package cloudsmith - -import ( - "encoding/json" -) - -// QuotaHistory struct for QuotaHistory -type QuotaHistory struct { - // - History []QuotaHistoryHistory `json:"history"` -} - -// NewQuotaHistory instantiates a new QuotaHistory object -// 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 NewQuotaHistory(history []QuotaHistoryHistory) *QuotaHistory { - this := QuotaHistory{} - this.History = history - return &this -} - -// NewQuotaHistoryWithDefaults instantiates a new QuotaHistory object -// This constructor will only assign default values to properties that have it defined, -// but it doesn't guarantee that properties required by API are set -func NewQuotaHistoryWithDefaults() *QuotaHistory { - this := QuotaHistory{} - return &this -} - -// GetHistory returns the History field value -func (o *QuotaHistory) GetHistory() []QuotaHistoryHistory { - if o == nil { - var ret []QuotaHistoryHistory - return ret - } - - return o.History -} - -// GetHistoryOk returns a tuple with the History field value -// and a boolean to check if the value has been set. -func (o *QuotaHistory) GetHistoryOk() ([]QuotaHistoryHistory, bool) { - if o == nil { - return nil, false - } - return o.History, true -} - -// SetHistory sets field value -func (o *QuotaHistory) SetHistory(v []QuotaHistoryHistory) { - o.History = v -} - -func (o QuotaHistory) MarshalJSON() ([]byte, error) { - toSerialize := map[string]interface{}{} - if true { - toSerialize["history"] = o.History - } - return json.Marshal(toSerialize) -} - -type NullableQuotaHistory struct { - value *QuotaHistory - isSet bool -} - -func (v NullableQuotaHistory) Get() *QuotaHistory { - return v.value -} - -func (v *NullableQuotaHistory) Set(val *QuotaHistory) { - v.value = val - v.isSet = true -} - -func (v NullableQuotaHistory) IsSet() bool { - return v.isSet -} - -func (v *NullableQuotaHistory) Unset() { - v.value = nil - v.isSet = false -} - -func NewNullableQuotaHistory(val *QuotaHistory) *NullableQuotaHistory { - return &NullableQuotaHistory{value: val, isSet: true} -} - -func (v NullableQuotaHistory) MarshalJSON() ([]byte, error) { - return json.Marshal(v.value) -} - -func (v *NullableQuotaHistory) UnmarshalJSON(src []byte) error { - v.isSet = true - return json.Unmarshal(src, &v.value) -} diff --git a/model_quota_history_history.go b/model_quota_history_history.go deleted file mode 100644 index f65e1f0a..00000000 --- a/model_quota_history_history.go +++ /dev/null @@ -1,300 +0,0 @@ -/* -Cloudsmith API - -The API to the Cloudsmith Service - -API version: 1.121.3 -Contact: support@cloudsmith.io -*/ - -// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. - -package cloudsmith - -import ( - "encoding/json" -) - -// QuotaHistoryHistory struct for QuotaHistoryHistory -type QuotaHistoryHistory struct { - // - Days *int64 `json:"days,omitempty"` - // - Display map[string]interface{} `json:"display,omitempty"` - // - End *string `json:"end,omitempty"` - // - Plan *string `json:"plan,omitempty"` - // - Raw map[string]interface{} `json:"raw,omitempty"` - // - Start *string `json:"start,omitempty"` -} - -// NewQuotaHistoryHistory instantiates a new QuotaHistoryHistory object -// 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 NewQuotaHistoryHistory() *QuotaHistoryHistory { - this := QuotaHistoryHistory{} - return &this -} - -// NewQuotaHistoryHistoryWithDefaults instantiates a new QuotaHistoryHistory object -// This constructor will only assign default values to properties that have it defined, -// but it doesn't guarantee that properties required by API are set -func NewQuotaHistoryHistoryWithDefaults() *QuotaHistoryHistory { - this := QuotaHistoryHistory{} - return &this -} - -// GetDays returns the Days field value if set, zero value otherwise. -func (o *QuotaHistoryHistory) GetDays() int64 { - if o == nil || o.Days == nil { - var ret int64 - return ret - } - return *o.Days -} - -// GetDaysOk returns a tuple with the Days field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *QuotaHistoryHistory) GetDaysOk() (*int64, bool) { - if o == nil || o.Days == nil { - return nil, false - } - return o.Days, true -} - -// HasDays returns a boolean if a field has been set. -func (o *QuotaHistoryHistory) HasDays() bool { - if o != nil && o.Days != nil { - return true - } - - return false -} - -// SetDays gets a reference to the given int64 and assigns it to the Days field. -func (o *QuotaHistoryHistory) SetDays(v int64) { - o.Days = &v -} - -// GetDisplay returns the Display field value if set, zero value otherwise. -func (o *QuotaHistoryHistory) GetDisplay() map[string]interface{} { - if o == nil || o.Display == nil { - var ret map[string]interface{} - return ret - } - return o.Display -} - -// GetDisplayOk returns a tuple with the Display field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *QuotaHistoryHistory) GetDisplayOk() (map[string]interface{}, bool) { - if o == nil || o.Display == nil { - return nil, false - } - return o.Display, true -} - -// HasDisplay returns a boolean if a field has been set. -func (o *QuotaHistoryHistory) HasDisplay() bool { - if o != nil && o.Display != nil { - return true - } - - return false -} - -// SetDisplay gets a reference to the given map[string]interface{} and assigns it to the Display field. -func (o *QuotaHistoryHistory) SetDisplay(v map[string]interface{}) { - o.Display = v -} - -// GetEnd returns the End field value if set, zero value otherwise. -func (o *QuotaHistoryHistory) GetEnd() string { - if o == nil || o.End == nil { - var ret string - return ret - } - return *o.End -} - -// GetEndOk returns a tuple with the End field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *QuotaHistoryHistory) GetEndOk() (*string, bool) { - if o == nil || o.End == nil { - return nil, false - } - return o.End, true -} - -// HasEnd returns a boolean if a field has been set. -func (o *QuotaHistoryHistory) HasEnd() bool { - if o != nil && o.End != nil { - return true - } - - return false -} - -// SetEnd gets a reference to the given string and assigns it to the End field. -func (o *QuotaHistoryHistory) SetEnd(v string) { - o.End = &v -} - -// GetPlan returns the Plan field value if set, zero value otherwise. -func (o *QuotaHistoryHistory) GetPlan() string { - if o == nil || o.Plan == nil { - var ret string - return ret - } - return *o.Plan -} - -// GetPlanOk returns a tuple with the Plan field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *QuotaHistoryHistory) GetPlanOk() (*string, bool) { - if o == nil || o.Plan == nil { - return nil, false - } - return o.Plan, true -} - -// HasPlan returns a boolean if a field has been set. -func (o *QuotaHistoryHistory) HasPlan() bool { - if o != nil && o.Plan != nil { - return true - } - - return false -} - -// SetPlan gets a reference to the given string and assigns it to the Plan field. -func (o *QuotaHistoryHistory) SetPlan(v string) { - o.Plan = &v -} - -// GetRaw returns the Raw field value if set, zero value otherwise. -func (o *QuotaHistoryHistory) GetRaw() map[string]interface{} { - if o == nil || o.Raw == nil { - var ret map[string]interface{} - return ret - } - return o.Raw -} - -// GetRawOk returns a tuple with the Raw field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *QuotaHistoryHistory) GetRawOk() (map[string]interface{}, bool) { - if o == nil || o.Raw == nil { - return nil, false - } - return o.Raw, true -} - -// HasRaw returns a boolean if a field has been set. -func (o *QuotaHistoryHistory) HasRaw() bool { - if o != nil && o.Raw != nil { - return true - } - - return false -} - -// SetRaw gets a reference to the given map[string]interface{} and assigns it to the Raw field. -func (o *QuotaHistoryHistory) SetRaw(v map[string]interface{}) { - o.Raw = v -} - -// GetStart returns the Start field value if set, zero value otherwise. -func (o *QuotaHistoryHistory) GetStart() string { - if o == nil || o.Start == nil { - var ret string - return ret - } - return *o.Start -} - -// GetStartOk returns a tuple with the Start field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *QuotaHistoryHistory) GetStartOk() (*string, bool) { - if o == nil || o.Start == nil { - return nil, false - } - return o.Start, true -} - -// HasStart returns a boolean if a field has been set. -func (o *QuotaHistoryHistory) HasStart() bool { - if o != nil && o.Start != nil { - return true - } - - return false -} - -// SetStart gets a reference to the given string and assigns it to the Start field. -func (o *QuotaHistoryHistory) SetStart(v string) { - o.Start = &v -} - -func (o QuotaHistoryHistory) MarshalJSON() ([]byte, error) { - toSerialize := map[string]interface{}{} - if o.Days != nil { - toSerialize["days"] = o.Days - } - if o.Display != nil { - toSerialize["display"] = o.Display - } - if o.End != nil { - toSerialize["end"] = o.End - } - if o.Plan != nil { - toSerialize["plan"] = o.Plan - } - if o.Raw != nil { - toSerialize["raw"] = o.Raw - } - if o.Start != nil { - toSerialize["start"] = o.Start - } - return json.Marshal(toSerialize) -} - -type NullableQuotaHistoryHistory struct { - value *QuotaHistoryHistory - isSet bool -} - -func (v NullableQuotaHistoryHistory) Get() *QuotaHistoryHistory { - return v.value -} - -func (v *NullableQuotaHistoryHistory) Set(val *QuotaHistoryHistory) { - v.value = val - v.isSet = true -} - -func (v NullableQuotaHistoryHistory) IsSet() bool { - return v.isSet -} - -func (v *NullableQuotaHistoryHistory) Unset() { - v.value = nil - v.isSet = false -} - -func NewNullableQuotaHistoryHistory(val *QuotaHistoryHistory) *NullableQuotaHistoryHistory { - return &NullableQuotaHistoryHistory{value: val, isSet: true} -} - -func (v NullableQuotaHistoryHistory) MarshalJSON() ([]byte, error) { - return json.Marshal(v.value) -} - -func (v *NullableQuotaHistoryHistory) UnmarshalJSON(src []byte) error { - v.isSet = true - return json.Unmarshal(src, &v.value) -} diff --git a/model_quota_history_response.go b/model_quota_history_response.go new file mode 100644 index 00000000..180f84e1 --- /dev/null +++ b/model_quota_history_response.go @@ -0,0 +1,107 @@ +/* +Cloudsmith API (v1) + +The API to the Cloudsmith Service + +API version: 1.181.6 +Contact: support@cloudsmith.io +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cloudsmith + +import ( + "encoding/json" +) + +// QuotaHistoryResponse struct for QuotaHistoryResponse +type QuotaHistoryResponse struct { + History []History `json:"history"` +} + +// NewQuotaHistoryResponse instantiates a new QuotaHistoryResponse object +// 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 NewQuotaHistoryResponse(history []History) *QuotaHistoryResponse { + this := QuotaHistoryResponse{} + this.History = history + return &this +} + +// NewQuotaHistoryResponseWithDefaults instantiates a new QuotaHistoryResponse object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewQuotaHistoryResponseWithDefaults() *QuotaHistoryResponse { + this := QuotaHistoryResponse{} + return &this +} + +// GetHistory returns the History field value +func (o *QuotaHistoryResponse) GetHistory() []History { + if o == nil { + var ret []History + return ret + } + + return o.History +} + +// GetHistoryOk returns a tuple with the History field value +// and a boolean to check if the value has been set. +func (o *QuotaHistoryResponse) GetHistoryOk() ([]History, bool) { + if o == nil { + return nil, false + } + return o.History, true +} + +// SetHistory sets field value +func (o *QuotaHistoryResponse) SetHistory(v []History) { + o.History = v +} + +func (o QuotaHistoryResponse) MarshalJSON() ([]byte, error) { + toSerialize := map[string]interface{}{} + if true { + toSerialize["history"] = o.History + } + return json.Marshal(toSerialize) +} + +type NullableQuotaHistoryResponse struct { + value *QuotaHistoryResponse + isSet bool +} + +func (v NullableQuotaHistoryResponse) Get() *QuotaHistoryResponse { + return v.value +} + +func (v *NullableQuotaHistoryResponse) Set(val *QuotaHistoryResponse) { + v.value = val + v.isSet = true +} + +func (v NullableQuotaHistoryResponse) IsSet() bool { + return v.isSet +} + +func (v *NullableQuotaHistoryResponse) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableQuotaHistoryResponse(val *QuotaHistoryResponse) *NullableQuotaHistoryResponse { + return &NullableQuotaHistoryResponse{value: val, isSet: true} +} + +func (v NullableQuotaHistoryResponse) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableQuotaHistoryResponse) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} diff --git a/model_quota.go b/model_quota_response.go similarity index 50% rename from model_quota.go rename to model_quota_response.go index 370555ce..9e75cee7 100644 --- a/model_quota.go +++ b/model_quota_response.go @@ -1,9 +1,9 @@ /* -Cloudsmith API +Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.121.3 +API version: 1.181.6 Contact: support@cloudsmith.io */ @@ -15,34 +15,33 @@ import ( "encoding/json" ) -// Quota struct for Quota -type Quota struct { - // - Usage map[string]interface{} `json:"usage"` +// QuotaResponse struct for QuotaResponse +type QuotaResponse struct { + Usage UsageFieldset `json:"usage"` } -// NewQuota instantiates a new Quota object +// NewQuotaResponse instantiates a new QuotaResponse object // 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 NewQuota(usage map[string]interface{}) *Quota { - this := Quota{} +func NewQuotaResponse(usage UsageFieldset) *QuotaResponse { + this := QuotaResponse{} this.Usage = usage return &this } -// NewQuotaWithDefaults instantiates a new Quota object +// NewQuotaResponseWithDefaults instantiates a new QuotaResponse object // This constructor will only assign default values to properties that have it defined, // but it doesn't guarantee that properties required by API are set -func NewQuotaWithDefaults() *Quota { - this := Quota{} +func NewQuotaResponseWithDefaults() *QuotaResponse { + this := QuotaResponse{} return &this } // GetUsage returns the Usage field value -func (o *Quota) GetUsage() map[string]interface{} { +func (o *QuotaResponse) GetUsage() UsageFieldset { if o == nil { - var ret map[string]interface{} + var ret UsageFieldset return ret } @@ -51,19 +50,19 @@ func (o *Quota) GetUsage() map[string]interface{} { // GetUsageOk returns a tuple with the Usage field value // and a boolean to check if the value has been set. -func (o *Quota) GetUsageOk() (map[string]interface{}, bool) { +func (o *QuotaResponse) GetUsageOk() (*UsageFieldset, bool) { if o == nil { return nil, false } - return o.Usage, true + return &o.Usage, true } // SetUsage sets field value -func (o *Quota) SetUsage(v map[string]interface{}) { +func (o *QuotaResponse) SetUsage(v UsageFieldset) { o.Usage = v } -func (o Quota) MarshalJSON() ([]byte, error) { +func (o QuotaResponse) MarshalJSON() ([]byte, error) { toSerialize := map[string]interface{}{} if true { toSerialize["usage"] = o.Usage @@ -71,38 +70,38 @@ func (o Quota) MarshalJSON() ([]byte, error) { return json.Marshal(toSerialize) } -type NullableQuota struct { - value *Quota +type NullableQuotaResponse struct { + value *QuotaResponse isSet bool } -func (v NullableQuota) Get() *Quota { +func (v NullableQuotaResponse) Get() *QuotaResponse { return v.value } -func (v *NullableQuota) Set(val *Quota) { +func (v *NullableQuotaResponse) Set(val *QuotaResponse) { v.value = val v.isSet = true } -func (v NullableQuota) IsSet() bool { +func (v NullableQuotaResponse) IsSet() bool { return v.isSet } -func (v *NullableQuota) Unset() { +func (v *NullableQuotaResponse) Unset() { v.value = nil v.isSet = false } -func NewNullableQuota(val *Quota) *NullableQuota { - return &NullableQuota{value: val, isSet: true} +func NewNullableQuotaResponse(val *QuotaResponse) *NullableQuotaResponse { + return &NullableQuotaResponse{value: val, isSet: true} } -func (v NullableQuota) MarshalJSON() ([]byte, error) { +func (v NullableQuotaResponse) MarshalJSON() ([]byte, error) { return json.Marshal(v.value) } -func (v *NullableQuota) UnmarshalJSON(src []byte) error { +func (v *NullableQuotaResponse) UnmarshalJSON(src []byte) error { v.isSet = true return json.Unmarshal(src, &v.value) } diff --git a/model_rate_check.go b/model_rate_check.go new file mode 100644 index 00000000..b874cd65 --- /dev/null +++ b/model_rate_check.go @@ -0,0 +1,300 @@ +/* +Cloudsmith API (v1) + +The API to the Cloudsmith Service + +API version: 1.181.6 +Contact: support@cloudsmith.io +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cloudsmith + +import ( + "encoding/json" +) + +// RateCheck struct for RateCheck +type RateCheck struct { + // The time in seconds that you are suggested to wait until the next request in order to avoid consuming too much within the rate limit window. + Interval *float64 `json:"interval,omitempty"` + // The maximum number of requests that you are permitted to send per hour + Limit *int64 `json:"limit,omitempty"` + // The number of requests that are remaining in the current rate limit window + Remaining *int64 `json:"remaining,omitempty"` + // The UTC epoch timestamp at which the current rate limit window will reset + Reset *int64 `json:"reset,omitempty"` + // The ISO 8601 datetime at which the current rate limit window will reset + ResetIso8601 *string `json:"reset_iso_8601,omitempty"` + // If true, throttling is currently being enforced. + Throttled *bool `json:"throttled,omitempty"` +} + +// NewRateCheck instantiates a new RateCheck object +// 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 NewRateCheck() *RateCheck { + this := RateCheck{} + return &this +} + +// NewRateCheckWithDefaults instantiates a new RateCheck object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewRateCheckWithDefaults() *RateCheck { + this := RateCheck{} + return &this +} + +// GetInterval returns the Interval field value if set, zero value otherwise. +func (o *RateCheck) GetInterval() float64 { + if o == nil || isNil(o.Interval) { + var ret float64 + return ret + } + return *o.Interval +} + +// GetIntervalOk returns a tuple with the Interval field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *RateCheck) GetIntervalOk() (*float64, bool) { + if o == nil || isNil(o.Interval) { + return nil, false + } + return o.Interval, true +} + +// HasInterval returns a boolean if a field has been set. +func (o *RateCheck) HasInterval() bool { + if o != nil && !isNil(o.Interval) { + return true + } + + return false +} + +// SetInterval gets a reference to the given float64 and assigns it to the Interval field. +func (o *RateCheck) SetInterval(v float64) { + o.Interval = &v +} + +// GetLimit returns the Limit field value if set, zero value otherwise. +func (o *RateCheck) GetLimit() int64 { + if o == nil || isNil(o.Limit) { + var ret int64 + return ret + } + return *o.Limit +} + +// GetLimitOk returns a tuple with the Limit field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *RateCheck) GetLimitOk() (*int64, bool) { + if o == nil || isNil(o.Limit) { + return nil, false + } + return o.Limit, true +} + +// HasLimit returns a boolean if a field has been set. +func (o *RateCheck) HasLimit() bool { + if o != nil && !isNil(o.Limit) { + return true + } + + return false +} + +// SetLimit gets a reference to the given int64 and assigns it to the Limit field. +func (o *RateCheck) SetLimit(v int64) { + o.Limit = &v +} + +// GetRemaining returns the Remaining field value if set, zero value otherwise. +func (o *RateCheck) GetRemaining() int64 { + if o == nil || isNil(o.Remaining) { + var ret int64 + return ret + } + return *o.Remaining +} + +// GetRemainingOk returns a tuple with the Remaining field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *RateCheck) GetRemainingOk() (*int64, bool) { + if o == nil || isNil(o.Remaining) { + return nil, false + } + return o.Remaining, true +} + +// HasRemaining returns a boolean if a field has been set. +func (o *RateCheck) HasRemaining() bool { + if o != nil && !isNil(o.Remaining) { + return true + } + + return false +} + +// SetRemaining gets a reference to the given int64 and assigns it to the Remaining field. +func (o *RateCheck) SetRemaining(v int64) { + o.Remaining = &v +} + +// GetReset returns the Reset field value if set, zero value otherwise. +func (o *RateCheck) GetReset() int64 { + if o == nil || isNil(o.Reset) { + var ret int64 + return ret + } + return *o.Reset +} + +// GetResetOk returns a tuple with the Reset field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *RateCheck) GetResetOk() (*int64, bool) { + if o == nil || isNil(o.Reset) { + return nil, false + } + return o.Reset, true +} + +// HasReset returns a boolean if a field has been set. +func (o *RateCheck) HasReset() bool { + if o != nil && !isNil(o.Reset) { + return true + } + + return false +} + +// SetReset gets a reference to the given int64 and assigns it to the Reset field. +func (o *RateCheck) SetReset(v int64) { + o.Reset = &v +} + +// GetResetIso8601 returns the ResetIso8601 field value if set, zero value otherwise. +func (o *RateCheck) GetResetIso8601() string { + if o == nil || isNil(o.ResetIso8601) { + var ret string + return ret + } + return *o.ResetIso8601 +} + +// GetResetIso8601Ok returns a tuple with the ResetIso8601 field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *RateCheck) GetResetIso8601Ok() (*string, bool) { + if o == nil || isNil(o.ResetIso8601) { + return nil, false + } + return o.ResetIso8601, true +} + +// HasResetIso8601 returns a boolean if a field has been set. +func (o *RateCheck) HasResetIso8601() bool { + if o != nil && !isNil(o.ResetIso8601) { + return true + } + + return false +} + +// SetResetIso8601 gets a reference to the given string and assigns it to the ResetIso8601 field. +func (o *RateCheck) SetResetIso8601(v string) { + o.ResetIso8601 = &v +} + +// GetThrottled returns the Throttled field value if set, zero value otherwise. +func (o *RateCheck) GetThrottled() bool { + if o == nil || isNil(o.Throttled) { + var ret bool + return ret + } + return *o.Throttled +} + +// GetThrottledOk returns a tuple with the Throttled field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *RateCheck) GetThrottledOk() (*bool, bool) { + if o == nil || isNil(o.Throttled) { + return nil, false + } + return o.Throttled, true +} + +// HasThrottled returns a boolean if a field has been set. +func (o *RateCheck) HasThrottled() bool { + if o != nil && !isNil(o.Throttled) { + return true + } + + return false +} + +// SetThrottled gets a reference to the given bool and assigns it to the Throttled field. +func (o *RateCheck) SetThrottled(v bool) { + o.Throttled = &v +} + +func (o RateCheck) MarshalJSON() ([]byte, error) { + toSerialize := map[string]interface{}{} + if !isNil(o.Interval) { + toSerialize["interval"] = o.Interval + } + if !isNil(o.Limit) { + toSerialize["limit"] = o.Limit + } + if !isNil(o.Remaining) { + toSerialize["remaining"] = o.Remaining + } + if !isNil(o.Reset) { + toSerialize["reset"] = o.Reset + } + if !isNil(o.ResetIso8601) { + toSerialize["reset_iso_8601"] = o.ResetIso8601 + } + if !isNil(o.Throttled) { + toSerialize["throttled"] = o.Throttled + } + return json.Marshal(toSerialize) +} + +type NullableRateCheck struct { + value *RateCheck + isSet bool +} + +func (v NullableRateCheck) Get() *RateCheck { + return v.value +} + +func (v *NullableRateCheck) Set(val *RateCheck) { + v.value = val + v.isSet = true +} + +func (v NullableRateCheck) IsSet() bool { + return v.isSet +} + +func (v *NullableRateCheck) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableRateCheck(val *RateCheck) *NullableRateCheck { + return &NullableRateCheck{value: val, isSet: true} +} + +func (v NullableRateCheck) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableRateCheck) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} diff --git a/model_raw_package_upload.go b/model_raw_package_upload.go deleted file mode 100644 index feb15743..00000000 --- a/model_raw_package_upload.go +++ /dev/null @@ -1,2520 +0,0 @@ -/* -Cloudsmith API - -The API to the Cloudsmith Service - -API version: 1.121.3 -Contact: support@cloudsmith.io -*/ - -// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. - -package cloudsmith - -import ( - "encoding/json" -) - -// RawPackageUpload struct for RawPackageUpload -type RawPackageUpload struct { - // - Architectures []PackagesOwnerRepoArchitectures `json:"architectures,omitempty"` - // - CdnUrl *string `json:"cdn_url,omitempty"` - // - ChecksumMd5 *string `json:"checksum_md5,omitempty"` - // - ChecksumSha1 *string `json:"checksum_sha1,omitempty"` - // - ChecksumSha256 *string `json:"checksum_sha256,omitempty"` - // - ChecksumSha512 *string `json:"checksum_sha512,omitempty"` - // A checksum of all of the package's dependencies. - DependenciesChecksumMd5 *string `json:"dependencies_checksum_md5,omitempty"` - // - DependenciesUrl *string `json:"dependencies_url,omitempty"` - // A textual description of this package. - Description *string `json:"description,omitempty"` - // - Distro map[string]interface{} `json:"distro,omitempty"` - // - DistroVersion map[string]interface{} `json:"distro_version,omitempty"` - // - Downloads *int64 `json:"downloads,omitempty"` - // The epoch of the package version (if any). - Epoch *int64 `json:"epoch,omitempty"` - // - Extension *string `json:"extension,omitempty"` - // - Filename *string `json:"filename,omitempty"` - // - Files []PackagesOwnerRepoFiles `json:"files,omitempty"` - // - Format *string `json:"format,omitempty"` - // - FormatUrl *string `json:"format_url,omitempty"` - // Unique and permanent identifier for the package. - IdentifierPerm *string `json:"identifier_perm,omitempty"` - // - Indexed *bool `json:"indexed,omitempty"` - // - IsDownloadable *bool `json:"is_downloadable,omitempty"` - // - IsQuarantined *bool `json:"is_quarantined,omitempty"` - // - IsSyncAwaiting *bool `json:"is_sync_awaiting,omitempty"` - // - IsSyncCompleted *bool `json:"is_sync_completed,omitempty"` - // - IsSyncFailed *bool `json:"is_sync_failed,omitempty"` - // - IsSyncInFlight *bool `json:"is_sync_in_flight,omitempty"` - // - IsSyncInProgress *bool `json:"is_sync_in_progress,omitempty"` - // The license of this package. - License *string `json:"license,omitempty"` - // The name of this package. - Name *string `json:"name,omitempty"` - // - Namespace *string `json:"namespace,omitempty"` - // - NamespaceUrl *string `json:"namespace_url,omitempty"` - // - NumFiles *int64 `json:"num_files,omitempty"` - // The type of package contents. - PackageType *int64 `json:"package_type,omitempty"` - // The release of the package version (if any). - Release *string `json:"release,omitempty"` - // - Repository *string `json:"repository,omitempty"` - // - RepositoryUrl *string `json:"repository_url,omitempty"` - // The datetime the security scanning was completed. - SecurityScanCompletedAt *string `json:"security_scan_completed_at,omitempty"` - // The datetime the security scanning was started. - SecurityScanStartedAt *string `json:"security_scan_started_at,omitempty"` - // - SecurityScanStatus *string `json:"security_scan_status,omitempty"` - // The datetime the security scanning status was updated. - SecurityScanStatusUpdatedAt *string `json:"security_scan_status_updated_at,omitempty"` - // - SelfHtmlUrl *string `json:"self_html_url,omitempty"` - // - SelfUrl *string `json:"self_url,omitempty"` - // - SignatureUrl *string `json:"signature_url,omitempty"` - // The calculated size of the package. - Size *int64 `json:"size,omitempty"` - // The public unique identifier for the package. - Slug *string `json:"slug,omitempty"` - // - SlugPerm *string `json:"slug_perm,omitempty"` - // The synchronisation (in progress) stage of the package. - Stage *int64 `json:"stage,omitempty"` - // - StageStr *string `json:"stage_str,omitempty"` - // The datetime the package stage was updated at. - StageUpdatedAt *string `json:"stage_updated_at,omitempty"` - // The synchronisation status of the package. - Status *int64 `json:"status,omitempty"` - // A textual description for the synchronous status reason (if any - StatusReason *string `json:"status_reason,omitempty"` - // - StatusStr *string `json:"status_str,omitempty"` - // The datetime the package status was updated at. - StatusUpdatedAt *string `json:"status_updated_at,omitempty"` - // - StatusUrl *string `json:"status_url,omitempty"` - // - Subtype *string `json:"subtype,omitempty"` - // A one-liner synopsis of this package. - Summary *string `json:"summary,omitempty"` - // The datetime the package sync was finished at. - SyncFinishedAt *string `json:"sync_finished_at,omitempty"` - // Synchronisation progress (from 0-100) - SyncProgress *int64 `json:"sync_progress,omitempty"` - // All immutable tags on the package, grouped by tag type. Immutable tags cannot be (easily) deleted. - TagsImmutable map[string]interface{} `json:"tags_immutable,omitempty"` - // - TypeDisplay *string `json:"type_display,omitempty"` - // The date this package was uploaded. - UploadedAt *string `json:"uploaded_at,omitempty"` - // - Uploader *string `json:"uploader,omitempty"` - // - UploaderUrl *string `json:"uploader_url,omitempty"` - // The raw version for this package. - Version *string `json:"version,omitempty"` - // - VersionOrig *string `json:"version_orig,omitempty"` - // - VulnerabilityScanResultsUrl *string `json:"vulnerability_scan_results_url,omitempty"` -} - -// NewRawPackageUpload instantiates a new RawPackageUpload object -// 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 NewRawPackageUpload() *RawPackageUpload { - this := RawPackageUpload{} - return &this -} - -// NewRawPackageUploadWithDefaults instantiates a new RawPackageUpload object -// This constructor will only assign default values to properties that have it defined, -// but it doesn't guarantee that properties required by API are set -func NewRawPackageUploadWithDefaults() *RawPackageUpload { - this := RawPackageUpload{} - return &this -} - -// GetArchitectures returns the Architectures field value if set, zero value otherwise. -func (o *RawPackageUpload) GetArchitectures() []PackagesOwnerRepoArchitectures { - if o == nil || o.Architectures == nil { - var ret []PackagesOwnerRepoArchitectures - return ret - } - return o.Architectures -} - -// GetArchitecturesOk returns a tuple with the Architectures field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *RawPackageUpload) GetArchitecturesOk() ([]PackagesOwnerRepoArchitectures, bool) { - if o == nil || o.Architectures == nil { - return nil, false - } - return o.Architectures, true -} - -// HasArchitectures returns a boolean if a field has been set. -func (o *RawPackageUpload) HasArchitectures() bool { - if o != nil && o.Architectures != nil { - return true - } - - return false -} - -// SetArchitectures gets a reference to the given []PackagesOwnerRepoArchitectures and assigns it to the Architectures field. -func (o *RawPackageUpload) SetArchitectures(v []PackagesOwnerRepoArchitectures) { - o.Architectures = v -} - -// GetCdnUrl returns the CdnUrl field value if set, zero value otherwise. -func (o *RawPackageUpload) GetCdnUrl() string { - if o == nil || o.CdnUrl == nil { - var ret string - return ret - } - return *o.CdnUrl -} - -// GetCdnUrlOk returns a tuple with the CdnUrl field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *RawPackageUpload) GetCdnUrlOk() (*string, bool) { - if o == nil || o.CdnUrl == nil { - return nil, false - } - return o.CdnUrl, true -} - -// HasCdnUrl returns a boolean if a field has been set. -func (o *RawPackageUpload) HasCdnUrl() bool { - if o != nil && o.CdnUrl != nil { - return true - } - - return false -} - -// SetCdnUrl gets a reference to the given string and assigns it to the CdnUrl field. -func (o *RawPackageUpload) SetCdnUrl(v string) { - o.CdnUrl = &v -} - -// GetChecksumMd5 returns the ChecksumMd5 field value if set, zero value otherwise. -func (o *RawPackageUpload) GetChecksumMd5() string { - if o == nil || o.ChecksumMd5 == nil { - var ret string - return ret - } - return *o.ChecksumMd5 -} - -// GetChecksumMd5Ok returns a tuple with the ChecksumMd5 field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *RawPackageUpload) GetChecksumMd5Ok() (*string, bool) { - if o == nil || o.ChecksumMd5 == nil { - return nil, false - } - return o.ChecksumMd5, true -} - -// HasChecksumMd5 returns a boolean if a field has been set. -func (o *RawPackageUpload) HasChecksumMd5() bool { - if o != nil && o.ChecksumMd5 != nil { - return true - } - - return false -} - -// SetChecksumMd5 gets a reference to the given string and assigns it to the ChecksumMd5 field. -func (o *RawPackageUpload) SetChecksumMd5(v string) { - o.ChecksumMd5 = &v -} - -// GetChecksumSha1 returns the ChecksumSha1 field value if set, zero value otherwise. -func (o *RawPackageUpload) GetChecksumSha1() string { - if o == nil || o.ChecksumSha1 == nil { - var ret string - return ret - } - return *o.ChecksumSha1 -} - -// GetChecksumSha1Ok returns a tuple with the ChecksumSha1 field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *RawPackageUpload) GetChecksumSha1Ok() (*string, bool) { - if o == nil || o.ChecksumSha1 == nil { - return nil, false - } - return o.ChecksumSha1, true -} - -// HasChecksumSha1 returns a boolean if a field has been set. -func (o *RawPackageUpload) HasChecksumSha1() bool { - if o != nil && o.ChecksumSha1 != nil { - return true - } - - return false -} - -// SetChecksumSha1 gets a reference to the given string and assigns it to the ChecksumSha1 field. -func (o *RawPackageUpload) SetChecksumSha1(v string) { - o.ChecksumSha1 = &v -} - -// GetChecksumSha256 returns the ChecksumSha256 field value if set, zero value otherwise. -func (o *RawPackageUpload) GetChecksumSha256() string { - if o == nil || o.ChecksumSha256 == nil { - var ret string - return ret - } - return *o.ChecksumSha256 -} - -// GetChecksumSha256Ok returns a tuple with the ChecksumSha256 field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *RawPackageUpload) GetChecksumSha256Ok() (*string, bool) { - if o == nil || o.ChecksumSha256 == nil { - return nil, false - } - return o.ChecksumSha256, true -} - -// HasChecksumSha256 returns a boolean if a field has been set. -func (o *RawPackageUpload) HasChecksumSha256() bool { - if o != nil && o.ChecksumSha256 != nil { - return true - } - - return false -} - -// SetChecksumSha256 gets a reference to the given string and assigns it to the ChecksumSha256 field. -func (o *RawPackageUpload) SetChecksumSha256(v string) { - o.ChecksumSha256 = &v -} - -// GetChecksumSha512 returns the ChecksumSha512 field value if set, zero value otherwise. -func (o *RawPackageUpload) GetChecksumSha512() string { - if o == nil || o.ChecksumSha512 == nil { - var ret string - return ret - } - return *o.ChecksumSha512 -} - -// GetChecksumSha512Ok returns a tuple with the ChecksumSha512 field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *RawPackageUpload) GetChecksumSha512Ok() (*string, bool) { - if o == nil || o.ChecksumSha512 == nil { - return nil, false - } - return o.ChecksumSha512, true -} - -// HasChecksumSha512 returns a boolean if a field has been set. -func (o *RawPackageUpload) HasChecksumSha512() bool { - if o != nil && o.ChecksumSha512 != nil { - return true - } - - return false -} - -// SetChecksumSha512 gets a reference to the given string and assigns it to the ChecksumSha512 field. -func (o *RawPackageUpload) SetChecksumSha512(v string) { - o.ChecksumSha512 = &v -} - -// GetDependenciesChecksumMd5 returns the DependenciesChecksumMd5 field value if set, zero value otherwise. -func (o *RawPackageUpload) GetDependenciesChecksumMd5() string { - if o == nil || o.DependenciesChecksumMd5 == nil { - var ret string - return ret - } - return *o.DependenciesChecksumMd5 -} - -// GetDependenciesChecksumMd5Ok returns a tuple with the DependenciesChecksumMd5 field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *RawPackageUpload) GetDependenciesChecksumMd5Ok() (*string, bool) { - if o == nil || o.DependenciesChecksumMd5 == nil { - return nil, false - } - return o.DependenciesChecksumMd5, true -} - -// HasDependenciesChecksumMd5 returns a boolean if a field has been set. -func (o *RawPackageUpload) HasDependenciesChecksumMd5() bool { - if o != nil && o.DependenciesChecksumMd5 != nil { - return true - } - - return false -} - -// SetDependenciesChecksumMd5 gets a reference to the given string and assigns it to the DependenciesChecksumMd5 field. -func (o *RawPackageUpload) SetDependenciesChecksumMd5(v string) { - o.DependenciesChecksumMd5 = &v -} - -// GetDependenciesUrl returns the DependenciesUrl field value if set, zero value otherwise. -func (o *RawPackageUpload) GetDependenciesUrl() string { - if o == nil || o.DependenciesUrl == nil { - var ret string - return ret - } - return *o.DependenciesUrl -} - -// GetDependenciesUrlOk returns a tuple with the DependenciesUrl field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *RawPackageUpload) GetDependenciesUrlOk() (*string, bool) { - if o == nil || o.DependenciesUrl == nil { - return nil, false - } - return o.DependenciesUrl, true -} - -// HasDependenciesUrl returns a boolean if a field has been set. -func (o *RawPackageUpload) HasDependenciesUrl() bool { - if o != nil && o.DependenciesUrl != nil { - return true - } - - return false -} - -// SetDependenciesUrl gets a reference to the given string and assigns it to the DependenciesUrl field. -func (o *RawPackageUpload) SetDependenciesUrl(v string) { - o.DependenciesUrl = &v -} - -// GetDescription returns the Description field value if set, zero value otherwise. -func (o *RawPackageUpload) GetDescription() string { - if o == nil || o.Description == nil { - var ret string - return ret - } - return *o.Description -} - -// GetDescriptionOk returns a tuple with the Description field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *RawPackageUpload) GetDescriptionOk() (*string, bool) { - if o == nil || o.Description == nil { - return nil, false - } - return o.Description, true -} - -// HasDescription returns a boolean if a field has been set. -func (o *RawPackageUpload) HasDescription() bool { - if o != nil && o.Description != nil { - return true - } - - return false -} - -// SetDescription gets a reference to the given string and assigns it to the Description field. -func (o *RawPackageUpload) SetDescription(v string) { - o.Description = &v -} - -// GetDistro returns the Distro field value if set, zero value otherwise. -func (o *RawPackageUpload) GetDistro() map[string]interface{} { - if o == nil || o.Distro == nil { - var ret map[string]interface{} - return ret - } - return o.Distro -} - -// GetDistroOk returns a tuple with the Distro field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *RawPackageUpload) GetDistroOk() (map[string]interface{}, bool) { - if o == nil || o.Distro == nil { - return nil, false - } - return o.Distro, true -} - -// HasDistro returns a boolean if a field has been set. -func (o *RawPackageUpload) HasDistro() bool { - if o != nil && o.Distro != nil { - return true - } - - return false -} - -// SetDistro gets a reference to the given map[string]interface{} and assigns it to the Distro field. -func (o *RawPackageUpload) SetDistro(v map[string]interface{}) { - o.Distro = v -} - -// GetDistroVersion returns the DistroVersion field value if set, zero value otherwise. -func (o *RawPackageUpload) GetDistroVersion() map[string]interface{} { - if o == nil || o.DistroVersion == nil { - var ret map[string]interface{} - return ret - } - return o.DistroVersion -} - -// GetDistroVersionOk returns a tuple with the DistroVersion field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *RawPackageUpload) GetDistroVersionOk() (map[string]interface{}, bool) { - if o == nil || o.DistroVersion == nil { - return nil, false - } - return o.DistroVersion, true -} - -// HasDistroVersion returns a boolean if a field has been set. -func (o *RawPackageUpload) HasDistroVersion() bool { - if o != nil && o.DistroVersion != nil { - return true - } - - return false -} - -// SetDistroVersion gets a reference to the given map[string]interface{} and assigns it to the DistroVersion field. -func (o *RawPackageUpload) SetDistroVersion(v map[string]interface{}) { - o.DistroVersion = v -} - -// GetDownloads returns the Downloads field value if set, zero value otherwise. -func (o *RawPackageUpload) GetDownloads() int64 { - if o == nil || o.Downloads == nil { - var ret int64 - return ret - } - return *o.Downloads -} - -// GetDownloadsOk returns a tuple with the Downloads field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *RawPackageUpload) GetDownloadsOk() (*int64, bool) { - if o == nil || o.Downloads == nil { - return nil, false - } - return o.Downloads, true -} - -// HasDownloads returns a boolean if a field has been set. -func (o *RawPackageUpload) HasDownloads() bool { - if o != nil && o.Downloads != nil { - return true - } - - return false -} - -// SetDownloads gets a reference to the given int64 and assigns it to the Downloads field. -func (o *RawPackageUpload) SetDownloads(v int64) { - o.Downloads = &v -} - -// GetEpoch returns the Epoch field value if set, zero value otherwise. -func (o *RawPackageUpload) GetEpoch() int64 { - if o == nil || o.Epoch == nil { - var ret int64 - return ret - } - return *o.Epoch -} - -// GetEpochOk returns a tuple with the Epoch field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *RawPackageUpload) GetEpochOk() (*int64, bool) { - if o == nil || o.Epoch == nil { - return nil, false - } - return o.Epoch, true -} - -// HasEpoch returns a boolean if a field has been set. -func (o *RawPackageUpload) HasEpoch() bool { - if o != nil && o.Epoch != nil { - return true - } - - return false -} - -// SetEpoch gets a reference to the given int64 and assigns it to the Epoch field. -func (o *RawPackageUpload) SetEpoch(v int64) { - o.Epoch = &v -} - -// GetExtension returns the Extension field value if set, zero value otherwise. -func (o *RawPackageUpload) GetExtension() string { - if o == nil || o.Extension == nil { - var ret string - return ret - } - return *o.Extension -} - -// GetExtensionOk returns a tuple with the Extension field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *RawPackageUpload) GetExtensionOk() (*string, bool) { - if o == nil || o.Extension == nil { - return nil, false - } - return o.Extension, true -} - -// HasExtension returns a boolean if a field has been set. -func (o *RawPackageUpload) HasExtension() bool { - if o != nil && o.Extension != nil { - return true - } - - return false -} - -// SetExtension gets a reference to the given string and assigns it to the Extension field. -func (o *RawPackageUpload) SetExtension(v string) { - o.Extension = &v -} - -// GetFilename returns the Filename field value if set, zero value otherwise. -func (o *RawPackageUpload) GetFilename() string { - if o == nil || o.Filename == nil { - var ret string - return ret - } - return *o.Filename -} - -// GetFilenameOk returns a tuple with the Filename field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *RawPackageUpload) GetFilenameOk() (*string, bool) { - if o == nil || o.Filename == nil { - return nil, false - } - return o.Filename, true -} - -// HasFilename returns a boolean if a field has been set. -func (o *RawPackageUpload) HasFilename() bool { - if o != nil && o.Filename != nil { - return true - } - - return false -} - -// SetFilename gets a reference to the given string and assigns it to the Filename field. -func (o *RawPackageUpload) SetFilename(v string) { - o.Filename = &v -} - -// GetFiles returns the Files field value if set, zero value otherwise. -func (o *RawPackageUpload) GetFiles() []PackagesOwnerRepoFiles { - if o == nil || o.Files == nil { - var ret []PackagesOwnerRepoFiles - return ret - } - return o.Files -} - -// GetFilesOk returns a tuple with the Files field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *RawPackageUpload) GetFilesOk() ([]PackagesOwnerRepoFiles, bool) { - if o == nil || o.Files == nil { - return nil, false - } - return o.Files, true -} - -// HasFiles returns a boolean if a field has been set. -func (o *RawPackageUpload) HasFiles() bool { - if o != nil && o.Files != nil { - return true - } - - return false -} - -// SetFiles gets a reference to the given []PackagesOwnerRepoFiles and assigns it to the Files field. -func (o *RawPackageUpload) SetFiles(v []PackagesOwnerRepoFiles) { - o.Files = v -} - -// GetFormat returns the Format field value if set, zero value otherwise. -func (o *RawPackageUpload) GetFormat() string { - if o == nil || o.Format == nil { - var ret string - return ret - } - return *o.Format -} - -// GetFormatOk returns a tuple with the Format field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *RawPackageUpload) GetFormatOk() (*string, bool) { - if o == nil || o.Format == nil { - return nil, false - } - return o.Format, true -} - -// HasFormat returns a boolean if a field has been set. -func (o *RawPackageUpload) HasFormat() bool { - if o != nil && o.Format != nil { - return true - } - - return false -} - -// SetFormat gets a reference to the given string and assigns it to the Format field. -func (o *RawPackageUpload) SetFormat(v string) { - o.Format = &v -} - -// GetFormatUrl returns the FormatUrl field value if set, zero value otherwise. -func (o *RawPackageUpload) GetFormatUrl() string { - if o == nil || o.FormatUrl == nil { - var ret string - return ret - } - return *o.FormatUrl -} - -// GetFormatUrlOk returns a tuple with the FormatUrl field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *RawPackageUpload) GetFormatUrlOk() (*string, bool) { - if o == nil || o.FormatUrl == nil { - return nil, false - } - return o.FormatUrl, true -} - -// HasFormatUrl returns a boolean if a field has been set. -func (o *RawPackageUpload) HasFormatUrl() bool { - if o != nil && o.FormatUrl != nil { - return true - } - - return false -} - -// SetFormatUrl gets a reference to the given string and assigns it to the FormatUrl field. -func (o *RawPackageUpload) SetFormatUrl(v string) { - o.FormatUrl = &v -} - -// GetIdentifierPerm returns the IdentifierPerm field value if set, zero value otherwise. -func (o *RawPackageUpload) GetIdentifierPerm() string { - if o == nil || o.IdentifierPerm == nil { - var ret string - return ret - } - return *o.IdentifierPerm -} - -// GetIdentifierPermOk returns a tuple with the IdentifierPerm field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *RawPackageUpload) GetIdentifierPermOk() (*string, bool) { - if o == nil || o.IdentifierPerm == nil { - return nil, false - } - return o.IdentifierPerm, true -} - -// HasIdentifierPerm returns a boolean if a field has been set. -func (o *RawPackageUpload) HasIdentifierPerm() bool { - if o != nil && o.IdentifierPerm != nil { - return true - } - - return false -} - -// SetIdentifierPerm gets a reference to the given string and assigns it to the IdentifierPerm field. -func (o *RawPackageUpload) SetIdentifierPerm(v string) { - o.IdentifierPerm = &v -} - -// GetIndexed returns the Indexed field value if set, zero value otherwise. -func (o *RawPackageUpload) GetIndexed() bool { - if o == nil || o.Indexed == nil { - var ret bool - return ret - } - return *o.Indexed -} - -// GetIndexedOk returns a tuple with the Indexed field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *RawPackageUpload) GetIndexedOk() (*bool, bool) { - if o == nil || o.Indexed == nil { - return nil, false - } - return o.Indexed, true -} - -// HasIndexed returns a boolean if a field has been set. -func (o *RawPackageUpload) HasIndexed() bool { - if o != nil && o.Indexed != nil { - return true - } - - return false -} - -// SetIndexed gets a reference to the given bool and assigns it to the Indexed field. -func (o *RawPackageUpload) SetIndexed(v bool) { - o.Indexed = &v -} - -// GetIsDownloadable returns the IsDownloadable field value if set, zero value otherwise. -func (o *RawPackageUpload) GetIsDownloadable() bool { - if o == nil || o.IsDownloadable == nil { - var ret bool - return ret - } - return *o.IsDownloadable -} - -// GetIsDownloadableOk returns a tuple with the IsDownloadable field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *RawPackageUpload) GetIsDownloadableOk() (*bool, bool) { - if o == nil || o.IsDownloadable == nil { - return nil, false - } - return o.IsDownloadable, true -} - -// HasIsDownloadable returns a boolean if a field has been set. -func (o *RawPackageUpload) HasIsDownloadable() bool { - if o != nil && o.IsDownloadable != nil { - return true - } - - return false -} - -// SetIsDownloadable gets a reference to the given bool and assigns it to the IsDownloadable field. -func (o *RawPackageUpload) SetIsDownloadable(v bool) { - o.IsDownloadable = &v -} - -// GetIsQuarantined returns the IsQuarantined field value if set, zero value otherwise. -func (o *RawPackageUpload) GetIsQuarantined() bool { - if o == nil || o.IsQuarantined == nil { - var ret bool - return ret - } - return *o.IsQuarantined -} - -// GetIsQuarantinedOk returns a tuple with the IsQuarantined field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *RawPackageUpload) GetIsQuarantinedOk() (*bool, bool) { - if o == nil || o.IsQuarantined == nil { - return nil, false - } - return o.IsQuarantined, true -} - -// HasIsQuarantined returns a boolean if a field has been set. -func (o *RawPackageUpload) HasIsQuarantined() bool { - if o != nil && o.IsQuarantined != nil { - return true - } - - return false -} - -// SetIsQuarantined gets a reference to the given bool and assigns it to the IsQuarantined field. -func (o *RawPackageUpload) SetIsQuarantined(v bool) { - o.IsQuarantined = &v -} - -// GetIsSyncAwaiting returns the IsSyncAwaiting field value if set, zero value otherwise. -func (o *RawPackageUpload) GetIsSyncAwaiting() bool { - if o == nil || o.IsSyncAwaiting == nil { - var ret bool - return ret - } - return *o.IsSyncAwaiting -} - -// GetIsSyncAwaitingOk returns a tuple with the IsSyncAwaiting field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *RawPackageUpload) GetIsSyncAwaitingOk() (*bool, bool) { - if o == nil || o.IsSyncAwaiting == nil { - return nil, false - } - return o.IsSyncAwaiting, true -} - -// HasIsSyncAwaiting returns a boolean if a field has been set. -func (o *RawPackageUpload) HasIsSyncAwaiting() bool { - if o != nil && o.IsSyncAwaiting != nil { - return true - } - - return false -} - -// SetIsSyncAwaiting gets a reference to the given bool and assigns it to the IsSyncAwaiting field. -func (o *RawPackageUpload) SetIsSyncAwaiting(v bool) { - o.IsSyncAwaiting = &v -} - -// GetIsSyncCompleted returns the IsSyncCompleted field value if set, zero value otherwise. -func (o *RawPackageUpload) GetIsSyncCompleted() bool { - if o == nil || o.IsSyncCompleted == nil { - var ret bool - return ret - } - return *o.IsSyncCompleted -} - -// GetIsSyncCompletedOk returns a tuple with the IsSyncCompleted field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *RawPackageUpload) GetIsSyncCompletedOk() (*bool, bool) { - if o == nil || o.IsSyncCompleted == nil { - return nil, false - } - return o.IsSyncCompleted, true -} - -// HasIsSyncCompleted returns a boolean if a field has been set. -func (o *RawPackageUpload) HasIsSyncCompleted() bool { - if o != nil && o.IsSyncCompleted != nil { - return true - } - - return false -} - -// SetIsSyncCompleted gets a reference to the given bool and assigns it to the IsSyncCompleted field. -func (o *RawPackageUpload) SetIsSyncCompleted(v bool) { - o.IsSyncCompleted = &v -} - -// GetIsSyncFailed returns the IsSyncFailed field value if set, zero value otherwise. -func (o *RawPackageUpload) GetIsSyncFailed() bool { - if o == nil || o.IsSyncFailed == nil { - var ret bool - return ret - } - return *o.IsSyncFailed -} - -// GetIsSyncFailedOk returns a tuple with the IsSyncFailed field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *RawPackageUpload) GetIsSyncFailedOk() (*bool, bool) { - if o == nil || o.IsSyncFailed == nil { - return nil, false - } - return o.IsSyncFailed, true -} - -// HasIsSyncFailed returns a boolean if a field has been set. -func (o *RawPackageUpload) HasIsSyncFailed() bool { - if o != nil && o.IsSyncFailed != nil { - return true - } - - return false -} - -// SetIsSyncFailed gets a reference to the given bool and assigns it to the IsSyncFailed field. -func (o *RawPackageUpload) SetIsSyncFailed(v bool) { - o.IsSyncFailed = &v -} - -// GetIsSyncInFlight returns the IsSyncInFlight field value if set, zero value otherwise. -func (o *RawPackageUpload) GetIsSyncInFlight() bool { - if o == nil || o.IsSyncInFlight == nil { - var ret bool - return ret - } - return *o.IsSyncInFlight -} - -// GetIsSyncInFlightOk returns a tuple with the IsSyncInFlight field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *RawPackageUpload) GetIsSyncInFlightOk() (*bool, bool) { - if o == nil || o.IsSyncInFlight == nil { - return nil, false - } - return o.IsSyncInFlight, true -} - -// HasIsSyncInFlight returns a boolean if a field has been set. -func (o *RawPackageUpload) HasIsSyncInFlight() bool { - if o != nil && o.IsSyncInFlight != nil { - return true - } - - return false -} - -// SetIsSyncInFlight gets a reference to the given bool and assigns it to the IsSyncInFlight field. -func (o *RawPackageUpload) SetIsSyncInFlight(v bool) { - o.IsSyncInFlight = &v -} - -// GetIsSyncInProgress returns the IsSyncInProgress field value if set, zero value otherwise. -func (o *RawPackageUpload) GetIsSyncInProgress() bool { - if o == nil || o.IsSyncInProgress == nil { - var ret bool - return ret - } - return *o.IsSyncInProgress -} - -// GetIsSyncInProgressOk returns a tuple with the IsSyncInProgress field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *RawPackageUpload) GetIsSyncInProgressOk() (*bool, bool) { - if o == nil || o.IsSyncInProgress == nil { - return nil, false - } - return o.IsSyncInProgress, true -} - -// HasIsSyncInProgress returns a boolean if a field has been set. -func (o *RawPackageUpload) HasIsSyncInProgress() bool { - if o != nil && o.IsSyncInProgress != nil { - return true - } - - return false -} - -// SetIsSyncInProgress gets a reference to the given bool and assigns it to the IsSyncInProgress field. -func (o *RawPackageUpload) SetIsSyncInProgress(v bool) { - o.IsSyncInProgress = &v -} - -// GetLicense returns the License field value if set, zero value otherwise. -func (o *RawPackageUpload) GetLicense() string { - if o == nil || o.License == nil { - var ret string - return ret - } - return *o.License -} - -// GetLicenseOk returns a tuple with the License field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *RawPackageUpload) GetLicenseOk() (*string, bool) { - if o == nil || o.License == nil { - return nil, false - } - return o.License, true -} - -// HasLicense returns a boolean if a field has been set. -func (o *RawPackageUpload) HasLicense() bool { - if o != nil && o.License != nil { - return true - } - - return false -} - -// SetLicense gets a reference to the given string and assigns it to the License field. -func (o *RawPackageUpload) SetLicense(v string) { - o.License = &v -} - -// GetName returns the Name field value if set, zero value otherwise. -func (o *RawPackageUpload) GetName() string { - if o == nil || o.Name == nil { - var ret string - return ret - } - return *o.Name -} - -// GetNameOk returns a tuple with the Name field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *RawPackageUpload) GetNameOk() (*string, bool) { - if o == nil || o.Name == nil { - return nil, false - } - return o.Name, true -} - -// HasName returns a boolean if a field has been set. -func (o *RawPackageUpload) HasName() bool { - if o != nil && o.Name != nil { - return true - } - - return false -} - -// SetName gets a reference to the given string and assigns it to the Name field. -func (o *RawPackageUpload) SetName(v string) { - o.Name = &v -} - -// GetNamespace returns the Namespace field value if set, zero value otherwise. -func (o *RawPackageUpload) GetNamespace() string { - if o == nil || o.Namespace == nil { - var ret string - return ret - } - return *o.Namespace -} - -// GetNamespaceOk returns a tuple with the Namespace field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *RawPackageUpload) GetNamespaceOk() (*string, bool) { - if o == nil || o.Namespace == nil { - return nil, false - } - return o.Namespace, true -} - -// HasNamespace returns a boolean if a field has been set. -func (o *RawPackageUpload) HasNamespace() bool { - if o != nil && o.Namespace != nil { - return true - } - - return false -} - -// SetNamespace gets a reference to the given string and assigns it to the Namespace field. -func (o *RawPackageUpload) SetNamespace(v string) { - o.Namespace = &v -} - -// GetNamespaceUrl returns the NamespaceUrl field value if set, zero value otherwise. -func (o *RawPackageUpload) GetNamespaceUrl() string { - if o == nil || o.NamespaceUrl == nil { - var ret string - return ret - } - return *o.NamespaceUrl -} - -// GetNamespaceUrlOk returns a tuple with the NamespaceUrl field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *RawPackageUpload) GetNamespaceUrlOk() (*string, bool) { - if o == nil || o.NamespaceUrl == nil { - return nil, false - } - return o.NamespaceUrl, true -} - -// HasNamespaceUrl returns a boolean if a field has been set. -func (o *RawPackageUpload) HasNamespaceUrl() bool { - if o != nil && o.NamespaceUrl != nil { - return true - } - - return false -} - -// SetNamespaceUrl gets a reference to the given string and assigns it to the NamespaceUrl field. -func (o *RawPackageUpload) SetNamespaceUrl(v string) { - o.NamespaceUrl = &v -} - -// GetNumFiles returns the NumFiles field value if set, zero value otherwise. -func (o *RawPackageUpload) GetNumFiles() int64 { - if o == nil || o.NumFiles == nil { - var ret int64 - return ret - } - return *o.NumFiles -} - -// GetNumFilesOk returns a tuple with the NumFiles field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *RawPackageUpload) GetNumFilesOk() (*int64, bool) { - if o == nil || o.NumFiles == nil { - return nil, false - } - return o.NumFiles, true -} - -// HasNumFiles returns a boolean if a field has been set. -func (o *RawPackageUpload) HasNumFiles() bool { - if o != nil && o.NumFiles != nil { - return true - } - - return false -} - -// SetNumFiles gets a reference to the given int64 and assigns it to the NumFiles field. -func (o *RawPackageUpload) SetNumFiles(v int64) { - o.NumFiles = &v -} - -// GetPackageType returns the PackageType field value if set, zero value otherwise. -func (o *RawPackageUpload) GetPackageType() int64 { - if o == nil || o.PackageType == nil { - var ret int64 - return ret - } - return *o.PackageType -} - -// GetPackageTypeOk returns a tuple with the PackageType field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *RawPackageUpload) GetPackageTypeOk() (*int64, bool) { - if o == nil || o.PackageType == nil { - return nil, false - } - return o.PackageType, true -} - -// HasPackageType returns a boolean if a field has been set. -func (o *RawPackageUpload) HasPackageType() bool { - if o != nil && o.PackageType != nil { - return true - } - - return false -} - -// SetPackageType gets a reference to the given int64 and assigns it to the PackageType field. -func (o *RawPackageUpload) SetPackageType(v int64) { - o.PackageType = &v -} - -// GetRelease returns the Release field value if set, zero value otherwise. -func (o *RawPackageUpload) GetRelease() string { - if o == nil || o.Release == nil { - var ret string - return ret - } - return *o.Release -} - -// GetReleaseOk returns a tuple with the Release field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *RawPackageUpload) GetReleaseOk() (*string, bool) { - if o == nil || o.Release == nil { - return nil, false - } - return o.Release, true -} - -// HasRelease returns a boolean if a field has been set. -func (o *RawPackageUpload) HasRelease() bool { - if o != nil && o.Release != nil { - return true - } - - return false -} - -// SetRelease gets a reference to the given string and assigns it to the Release field. -func (o *RawPackageUpload) SetRelease(v string) { - o.Release = &v -} - -// GetRepository returns the Repository field value if set, zero value otherwise. -func (o *RawPackageUpload) GetRepository() string { - if o == nil || o.Repository == nil { - var ret string - return ret - } - return *o.Repository -} - -// GetRepositoryOk returns a tuple with the Repository field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *RawPackageUpload) GetRepositoryOk() (*string, bool) { - if o == nil || o.Repository == nil { - return nil, false - } - return o.Repository, true -} - -// HasRepository returns a boolean if a field has been set. -func (o *RawPackageUpload) HasRepository() bool { - if o != nil && o.Repository != nil { - return true - } - - return false -} - -// SetRepository gets a reference to the given string and assigns it to the Repository field. -func (o *RawPackageUpload) SetRepository(v string) { - o.Repository = &v -} - -// GetRepositoryUrl returns the RepositoryUrl field value if set, zero value otherwise. -func (o *RawPackageUpload) GetRepositoryUrl() string { - if o == nil || o.RepositoryUrl == nil { - var ret string - return ret - } - return *o.RepositoryUrl -} - -// GetRepositoryUrlOk returns a tuple with the RepositoryUrl field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *RawPackageUpload) GetRepositoryUrlOk() (*string, bool) { - if o == nil || o.RepositoryUrl == nil { - return nil, false - } - return o.RepositoryUrl, true -} - -// HasRepositoryUrl returns a boolean if a field has been set. -func (o *RawPackageUpload) HasRepositoryUrl() bool { - if o != nil && o.RepositoryUrl != nil { - return true - } - - return false -} - -// SetRepositoryUrl gets a reference to the given string and assigns it to the RepositoryUrl field. -func (o *RawPackageUpload) SetRepositoryUrl(v string) { - o.RepositoryUrl = &v -} - -// GetSecurityScanCompletedAt returns the SecurityScanCompletedAt field value if set, zero value otherwise. -func (o *RawPackageUpload) GetSecurityScanCompletedAt() string { - if o == nil || o.SecurityScanCompletedAt == nil { - var ret string - return ret - } - return *o.SecurityScanCompletedAt -} - -// GetSecurityScanCompletedAtOk returns a tuple with the SecurityScanCompletedAt field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *RawPackageUpload) GetSecurityScanCompletedAtOk() (*string, bool) { - if o == nil || o.SecurityScanCompletedAt == nil { - return nil, false - } - return o.SecurityScanCompletedAt, true -} - -// HasSecurityScanCompletedAt returns a boolean if a field has been set. -func (o *RawPackageUpload) HasSecurityScanCompletedAt() bool { - if o != nil && o.SecurityScanCompletedAt != nil { - return true - } - - return false -} - -// SetSecurityScanCompletedAt gets a reference to the given string and assigns it to the SecurityScanCompletedAt field. -func (o *RawPackageUpload) SetSecurityScanCompletedAt(v string) { - o.SecurityScanCompletedAt = &v -} - -// GetSecurityScanStartedAt returns the SecurityScanStartedAt field value if set, zero value otherwise. -func (o *RawPackageUpload) GetSecurityScanStartedAt() string { - if o == nil || o.SecurityScanStartedAt == nil { - var ret string - return ret - } - return *o.SecurityScanStartedAt -} - -// GetSecurityScanStartedAtOk returns a tuple with the SecurityScanStartedAt field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *RawPackageUpload) GetSecurityScanStartedAtOk() (*string, bool) { - if o == nil || o.SecurityScanStartedAt == nil { - return nil, false - } - return o.SecurityScanStartedAt, true -} - -// HasSecurityScanStartedAt returns a boolean if a field has been set. -func (o *RawPackageUpload) HasSecurityScanStartedAt() bool { - if o != nil && o.SecurityScanStartedAt != nil { - return true - } - - return false -} - -// SetSecurityScanStartedAt gets a reference to the given string and assigns it to the SecurityScanStartedAt field. -func (o *RawPackageUpload) SetSecurityScanStartedAt(v string) { - o.SecurityScanStartedAt = &v -} - -// GetSecurityScanStatus returns the SecurityScanStatus field value if set, zero value otherwise. -func (o *RawPackageUpload) GetSecurityScanStatus() string { - if o == nil || o.SecurityScanStatus == nil { - var ret string - return ret - } - return *o.SecurityScanStatus -} - -// GetSecurityScanStatusOk returns a tuple with the SecurityScanStatus field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *RawPackageUpload) GetSecurityScanStatusOk() (*string, bool) { - if o == nil || o.SecurityScanStatus == nil { - return nil, false - } - return o.SecurityScanStatus, true -} - -// HasSecurityScanStatus returns a boolean if a field has been set. -func (o *RawPackageUpload) HasSecurityScanStatus() bool { - if o != nil && o.SecurityScanStatus != nil { - return true - } - - return false -} - -// SetSecurityScanStatus gets a reference to the given string and assigns it to the SecurityScanStatus field. -func (o *RawPackageUpload) SetSecurityScanStatus(v string) { - o.SecurityScanStatus = &v -} - -// GetSecurityScanStatusUpdatedAt returns the SecurityScanStatusUpdatedAt field value if set, zero value otherwise. -func (o *RawPackageUpload) GetSecurityScanStatusUpdatedAt() string { - if o == nil || o.SecurityScanStatusUpdatedAt == nil { - var ret string - return ret - } - return *o.SecurityScanStatusUpdatedAt -} - -// GetSecurityScanStatusUpdatedAtOk returns a tuple with the SecurityScanStatusUpdatedAt field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *RawPackageUpload) GetSecurityScanStatusUpdatedAtOk() (*string, bool) { - if o == nil || o.SecurityScanStatusUpdatedAt == nil { - return nil, false - } - return o.SecurityScanStatusUpdatedAt, true -} - -// HasSecurityScanStatusUpdatedAt returns a boolean if a field has been set. -func (o *RawPackageUpload) HasSecurityScanStatusUpdatedAt() bool { - if o != nil && o.SecurityScanStatusUpdatedAt != nil { - return true - } - - return false -} - -// SetSecurityScanStatusUpdatedAt gets a reference to the given string and assigns it to the SecurityScanStatusUpdatedAt field. -func (o *RawPackageUpload) SetSecurityScanStatusUpdatedAt(v string) { - o.SecurityScanStatusUpdatedAt = &v -} - -// GetSelfHtmlUrl returns the SelfHtmlUrl field value if set, zero value otherwise. -func (o *RawPackageUpload) GetSelfHtmlUrl() string { - if o == nil || o.SelfHtmlUrl == nil { - var ret string - return ret - } - return *o.SelfHtmlUrl -} - -// GetSelfHtmlUrlOk returns a tuple with the SelfHtmlUrl field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *RawPackageUpload) GetSelfHtmlUrlOk() (*string, bool) { - if o == nil || o.SelfHtmlUrl == nil { - return nil, false - } - return o.SelfHtmlUrl, true -} - -// HasSelfHtmlUrl returns a boolean if a field has been set. -func (o *RawPackageUpload) HasSelfHtmlUrl() bool { - if o != nil && o.SelfHtmlUrl != nil { - return true - } - - return false -} - -// SetSelfHtmlUrl gets a reference to the given string and assigns it to the SelfHtmlUrl field. -func (o *RawPackageUpload) SetSelfHtmlUrl(v string) { - o.SelfHtmlUrl = &v -} - -// GetSelfUrl returns the SelfUrl field value if set, zero value otherwise. -func (o *RawPackageUpload) GetSelfUrl() string { - if o == nil || o.SelfUrl == nil { - var ret string - return ret - } - return *o.SelfUrl -} - -// GetSelfUrlOk returns a tuple with the SelfUrl field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *RawPackageUpload) GetSelfUrlOk() (*string, bool) { - if o == nil || o.SelfUrl == nil { - return nil, false - } - return o.SelfUrl, true -} - -// HasSelfUrl returns a boolean if a field has been set. -func (o *RawPackageUpload) HasSelfUrl() bool { - if o != nil && o.SelfUrl != nil { - return true - } - - return false -} - -// SetSelfUrl gets a reference to the given string and assigns it to the SelfUrl field. -func (o *RawPackageUpload) SetSelfUrl(v string) { - o.SelfUrl = &v -} - -// GetSignatureUrl returns the SignatureUrl field value if set, zero value otherwise. -func (o *RawPackageUpload) GetSignatureUrl() string { - if o == nil || o.SignatureUrl == nil { - var ret string - return ret - } - return *o.SignatureUrl -} - -// GetSignatureUrlOk returns a tuple with the SignatureUrl field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *RawPackageUpload) GetSignatureUrlOk() (*string, bool) { - if o == nil || o.SignatureUrl == nil { - return nil, false - } - return o.SignatureUrl, true -} - -// HasSignatureUrl returns a boolean if a field has been set. -func (o *RawPackageUpload) HasSignatureUrl() bool { - if o != nil && o.SignatureUrl != nil { - return true - } - - return false -} - -// SetSignatureUrl gets a reference to the given string and assigns it to the SignatureUrl field. -func (o *RawPackageUpload) SetSignatureUrl(v string) { - o.SignatureUrl = &v -} - -// GetSize returns the Size field value if set, zero value otherwise. -func (o *RawPackageUpload) GetSize() int64 { - if o == nil || o.Size == nil { - var ret int64 - return ret - } - return *o.Size -} - -// GetSizeOk returns a tuple with the Size field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *RawPackageUpload) GetSizeOk() (*int64, bool) { - if o == nil || o.Size == nil { - return nil, false - } - return o.Size, true -} - -// HasSize returns a boolean if a field has been set. -func (o *RawPackageUpload) HasSize() bool { - if o != nil && o.Size != nil { - return true - } - - return false -} - -// SetSize gets a reference to the given int64 and assigns it to the Size field. -func (o *RawPackageUpload) SetSize(v int64) { - o.Size = &v -} - -// GetSlug returns the Slug field value if set, zero value otherwise. -func (o *RawPackageUpload) GetSlug() string { - if o == nil || o.Slug == nil { - var ret string - return ret - } - return *o.Slug -} - -// GetSlugOk returns a tuple with the Slug field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *RawPackageUpload) GetSlugOk() (*string, bool) { - if o == nil || o.Slug == nil { - return nil, false - } - return o.Slug, true -} - -// HasSlug returns a boolean if a field has been set. -func (o *RawPackageUpload) HasSlug() bool { - if o != nil && o.Slug != nil { - return true - } - - return false -} - -// SetSlug gets a reference to the given string and assigns it to the Slug field. -func (o *RawPackageUpload) SetSlug(v string) { - o.Slug = &v -} - -// GetSlugPerm returns the SlugPerm field value if set, zero value otherwise. -func (o *RawPackageUpload) GetSlugPerm() string { - if o == nil || o.SlugPerm == nil { - var ret string - return ret - } - return *o.SlugPerm -} - -// GetSlugPermOk returns a tuple with the SlugPerm field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *RawPackageUpload) GetSlugPermOk() (*string, bool) { - if o == nil || o.SlugPerm == nil { - return nil, false - } - return o.SlugPerm, true -} - -// HasSlugPerm returns a boolean if a field has been set. -func (o *RawPackageUpload) HasSlugPerm() bool { - if o != nil && o.SlugPerm != nil { - return true - } - - return false -} - -// SetSlugPerm gets a reference to the given string and assigns it to the SlugPerm field. -func (o *RawPackageUpload) SetSlugPerm(v string) { - o.SlugPerm = &v -} - -// GetStage returns the Stage field value if set, zero value otherwise. -func (o *RawPackageUpload) GetStage() int64 { - if o == nil || o.Stage == nil { - var ret int64 - return ret - } - return *o.Stage -} - -// GetStageOk returns a tuple with the Stage field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *RawPackageUpload) GetStageOk() (*int64, bool) { - if o == nil || o.Stage == nil { - return nil, false - } - return o.Stage, true -} - -// HasStage returns a boolean if a field has been set. -func (o *RawPackageUpload) HasStage() bool { - if o != nil && o.Stage != nil { - return true - } - - return false -} - -// SetStage gets a reference to the given int64 and assigns it to the Stage field. -func (o *RawPackageUpload) SetStage(v int64) { - o.Stage = &v -} - -// GetStageStr returns the StageStr field value if set, zero value otherwise. -func (o *RawPackageUpload) GetStageStr() string { - if o == nil || o.StageStr == nil { - var ret string - return ret - } - return *o.StageStr -} - -// GetStageStrOk returns a tuple with the StageStr field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *RawPackageUpload) GetStageStrOk() (*string, bool) { - if o == nil || o.StageStr == nil { - return nil, false - } - return o.StageStr, true -} - -// HasStageStr returns a boolean if a field has been set. -func (o *RawPackageUpload) HasStageStr() bool { - if o != nil && o.StageStr != nil { - return true - } - - return false -} - -// SetStageStr gets a reference to the given string and assigns it to the StageStr field. -func (o *RawPackageUpload) SetStageStr(v string) { - o.StageStr = &v -} - -// GetStageUpdatedAt returns the StageUpdatedAt field value if set, zero value otherwise. -func (o *RawPackageUpload) GetStageUpdatedAt() string { - if o == nil || o.StageUpdatedAt == nil { - var ret string - return ret - } - return *o.StageUpdatedAt -} - -// GetStageUpdatedAtOk returns a tuple with the StageUpdatedAt field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *RawPackageUpload) GetStageUpdatedAtOk() (*string, bool) { - if o == nil || o.StageUpdatedAt == nil { - return nil, false - } - return o.StageUpdatedAt, true -} - -// HasStageUpdatedAt returns a boolean if a field has been set. -func (o *RawPackageUpload) HasStageUpdatedAt() bool { - if o != nil && o.StageUpdatedAt != nil { - return true - } - - return false -} - -// SetStageUpdatedAt gets a reference to the given string and assigns it to the StageUpdatedAt field. -func (o *RawPackageUpload) SetStageUpdatedAt(v string) { - o.StageUpdatedAt = &v -} - -// GetStatus returns the Status field value if set, zero value otherwise. -func (o *RawPackageUpload) GetStatus() int64 { - if o == nil || o.Status == nil { - var ret int64 - return ret - } - return *o.Status -} - -// GetStatusOk returns a tuple with the Status field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *RawPackageUpload) GetStatusOk() (*int64, bool) { - if o == nil || o.Status == nil { - return nil, false - } - return o.Status, true -} - -// HasStatus returns a boolean if a field has been set. -func (o *RawPackageUpload) HasStatus() bool { - if o != nil && o.Status != nil { - return true - } - - return false -} - -// SetStatus gets a reference to the given int64 and assigns it to the Status field. -func (o *RawPackageUpload) SetStatus(v int64) { - o.Status = &v -} - -// GetStatusReason returns the StatusReason field value if set, zero value otherwise. -func (o *RawPackageUpload) GetStatusReason() string { - if o == nil || o.StatusReason == nil { - var ret string - return ret - } - return *o.StatusReason -} - -// GetStatusReasonOk returns a tuple with the StatusReason field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *RawPackageUpload) GetStatusReasonOk() (*string, bool) { - if o == nil || o.StatusReason == nil { - return nil, false - } - return o.StatusReason, true -} - -// HasStatusReason returns a boolean if a field has been set. -func (o *RawPackageUpload) HasStatusReason() bool { - if o != nil && o.StatusReason != nil { - return true - } - - return false -} - -// SetStatusReason gets a reference to the given string and assigns it to the StatusReason field. -func (o *RawPackageUpload) SetStatusReason(v string) { - o.StatusReason = &v -} - -// GetStatusStr returns the StatusStr field value if set, zero value otherwise. -func (o *RawPackageUpload) GetStatusStr() string { - if o == nil || o.StatusStr == nil { - var ret string - return ret - } - return *o.StatusStr -} - -// GetStatusStrOk returns a tuple with the StatusStr field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *RawPackageUpload) GetStatusStrOk() (*string, bool) { - if o == nil || o.StatusStr == nil { - return nil, false - } - return o.StatusStr, true -} - -// HasStatusStr returns a boolean if a field has been set. -func (o *RawPackageUpload) HasStatusStr() bool { - if o != nil && o.StatusStr != nil { - return true - } - - return false -} - -// SetStatusStr gets a reference to the given string and assigns it to the StatusStr field. -func (o *RawPackageUpload) SetStatusStr(v string) { - o.StatusStr = &v -} - -// GetStatusUpdatedAt returns the StatusUpdatedAt field value if set, zero value otherwise. -func (o *RawPackageUpload) GetStatusUpdatedAt() string { - if o == nil || o.StatusUpdatedAt == nil { - var ret string - return ret - } - return *o.StatusUpdatedAt -} - -// GetStatusUpdatedAtOk returns a tuple with the StatusUpdatedAt field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *RawPackageUpload) GetStatusUpdatedAtOk() (*string, bool) { - if o == nil || o.StatusUpdatedAt == nil { - return nil, false - } - return o.StatusUpdatedAt, true -} - -// HasStatusUpdatedAt returns a boolean if a field has been set. -func (o *RawPackageUpload) HasStatusUpdatedAt() bool { - if o != nil && o.StatusUpdatedAt != nil { - return true - } - - return false -} - -// SetStatusUpdatedAt gets a reference to the given string and assigns it to the StatusUpdatedAt field. -func (o *RawPackageUpload) SetStatusUpdatedAt(v string) { - o.StatusUpdatedAt = &v -} - -// GetStatusUrl returns the StatusUrl field value if set, zero value otherwise. -func (o *RawPackageUpload) GetStatusUrl() string { - if o == nil || o.StatusUrl == nil { - var ret string - return ret - } - return *o.StatusUrl -} - -// GetStatusUrlOk returns a tuple with the StatusUrl field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *RawPackageUpload) GetStatusUrlOk() (*string, bool) { - if o == nil || o.StatusUrl == nil { - return nil, false - } - return o.StatusUrl, true -} - -// HasStatusUrl returns a boolean if a field has been set. -func (o *RawPackageUpload) HasStatusUrl() bool { - if o != nil && o.StatusUrl != nil { - return true - } - - return false -} - -// SetStatusUrl gets a reference to the given string and assigns it to the StatusUrl field. -func (o *RawPackageUpload) SetStatusUrl(v string) { - o.StatusUrl = &v -} - -// GetSubtype returns the Subtype field value if set, zero value otherwise. -func (o *RawPackageUpload) GetSubtype() string { - if o == nil || o.Subtype == nil { - var ret string - return ret - } - return *o.Subtype -} - -// GetSubtypeOk returns a tuple with the Subtype field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *RawPackageUpload) GetSubtypeOk() (*string, bool) { - if o == nil || o.Subtype == nil { - return nil, false - } - return o.Subtype, true -} - -// HasSubtype returns a boolean if a field has been set. -func (o *RawPackageUpload) HasSubtype() bool { - if o != nil && o.Subtype != nil { - return true - } - - return false -} - -// SetSubtype gets a reference to the given string and assigns it to the Subtype field. -func (o *RawPackageUpload) SetSubtype(v string) { - o.Subtype = &v -} - -// GetSummary returns the Summary field value if set, zero value otherwise. -func (o *RawPackageUpload) GetSummary() string { - if o == nil || o.Summary == nil { - var ret string - return ret - } - return *o.Summary -} - -// GetSummaryOk returns a tuple with the Summary field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *RawPackageUpload) GetSummaryOk() (*string, bool) { - if o == nil || o.Summary == nil { - return nil, false - } - return o.Summary, true -} - -// HasSummary returns a boolean if a field has been set. -func (o *RawPackageUpload) HasSummary() bool { - if o != nil && o.Summary != nil { - return true - } - - return false -} - -// SetSummary gets a reference to the given string and assigns it to the Summary field. -func (o *RawPackageUpload) SetSummary(v string) { - o.Summary = &v -} - -// GetSyncFinishedAt returns the SyncFinishedAt field value if set, zero value otherwise. -func (o *RawPackageUpload) GetSyncFinishedAt() string { - if o == nil || o.SyncFinishedAt == nil { - var ret string - return ret - } - return *o.SyncFinishedAt -} - -// GetSyncFinishedAtOk returns a tuple with the SyncFinishedAt field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *RawPackageUpload) GetSyncFinishedAtOk() (*string, bool) { - if o == nil || o.SyncFinishedAt == nil { - return nil, false - } - return o.SyncFinishedAt, true -} - -// HasSyncFinishedAt returns a boolean if a field has been set. -func (o *RawPackageUpload) HasSyncFinishedAt() bool { - if o != nil && o.SyncFinishedAt != nil { - return true - } - - return false -} - -// SetSyncFinishedAt gets a reference to the given string and assigns it to the SyncFinishedAt field. -func (o *RawPackageUpload) SetSyncFinishedAt(v string) { - o.SyncFinishedAt = &v -} - -// GetSyncProgress returns the SyncProgress field value if set, zero value otherwise. -func (o *RawPackageUpload) GetSyncProgress() int64 { - if o == nil || o.SyncProgress == nil { - var ret int64 - return ret - } - return *o.SyncProgress -} - -// GetSyncProgressOk returns a tuple with the SyncProgress field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *RawPackageUpload) GetSyncProgressOk() (*int64, bool) { - if o == nil || o.SyncProgress == nil { - return nil, false - } - return o.SyncProgress, true -} - -// HasSyncProgress returns a boolean if a field has been set. -func (o *RawPackageUpload) HasSyncProgress() bool { - if o != nil && o.SyncProgress != nil { - return true - } - - return false -} - -// SetSyncProgress gets a reference to the given int64 and assigns it to the SyncProgress field. -func (o *RawPackageUpload) SetSyncProgress(v int64) { - o.SyncProgress = &v -} - -// GetTagsImmutable returns the TagsImmutable field value if set, zero value otherwise. -func (o *RawPackageUpload) GetTagsImmutable() map[string]interface{} { - if o == nil || o.TagsImmutable == nil { - var ret map[string]interface{} - return ret - } - return o.TagsImmutable -} - -// GetTagsImmutableOk returns a tuple with the TagsImmutable field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *RawPackageUpload) GetTagsImmutableOk() (map[string]interface{}, bool) { - if o == nil || o.TagsImmutable == nil { - return nil, false - } - return o.TagsImmutable, true -} - -// HasTagsImmutable returns a boolean if a field has been set. -func (o *RawPackageUpload) HasTagsImmutable() bool { - if o != nil && o.TagsImmutable != nil { - return true - } - - return false -} - -// SetTagsImmutable gets a reference to the given map[string]interface{} and assigns it to the TagsImmutable field. -func (o *RawPackageUpload) SetTagsImmutable(v map[string]interface{}) { - o.TagsImmutable = v -} - -// GetTypeDisplay returns the TypeDisplay field value if set, zero value otherwise. -func (o *RawPackageUpload) GetTypeDisplay() string { - if o == nil || o.TypeDisplay == nil { - var ret string - return ret - } - return *o.TypeDisplay -} - -// GetTypeDisplayOk returns a tuple with the TypeDisplay field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *RawPackageUpload) GetTypeDisplayOk() (*string, bool) { - if o == nil || o.TypeDisplay == nil { - return nil, false - } - return o.TypeDisplay, true -} - -// HasTypeDisplay returns a boolean if a field has been set. -func (o *RawPackageUpload) HasTypeDisplay() bool { - if o != nil && o.TypeDisplay != nil { - return true - } - - return false -} - -// SetTypeDisplay gets a reference to the given string and assigns it to the TypeDisplay field. -func (o *RawPackageUpload) SetTypeDisplay(v string) { - o.TypeDisplay = &v -} - -// GetUploadedAt returns the UploadedAt field value if set, zero value otherwise. -func (o *RawPackageUpload) GetUploadedAt() string { - if o == nil || o.UploadedAt == nil { - var ret string - return ret - } - return *o.UploadedAt -} - -// GetUploadedAtOk returns a tuple with the UploadedAt field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *RawPackageUpload) GetUploadedAtOk() (*string, bool) { - if o == nil || o.UploadedAt == nil { - return nil, false - } - return o.UploadedAt, true -} - -// HasUploadedAt returns a boolean if a field has been set. -func (o *RawPackageUpload) HasUploadedAt() bool { - if o != nil && o.UploadedAt != nil { - return true - } - - return false -} - -// SetUploadedAt gets a reference to the given string and assigns it to the UploadedAt field. -func (o *RawPackageUpload) SetUploadedAt(v string) { - o.UploadedAt = &v -} - -// GetUploader returns the Uploader field value if set, zero value otherwise. -func (o *RawPackageUpload) GetUploader() string { - if o == nil || o.Uploader == nil { - var ret string - return ret - } - return *o.Uploader -} - -// GetUploaderOk returns a tuple with the Uploader field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *RawPackageUpload) GetUploaderOk() (*string, bool) { - if o == nil || o.Uploader == nil { - return nil, false - } - return o.Uploader, true -} - -// HasUploader returns a boolean if a field has been set. -func (o *RawPackageUpload) HasUploader() bool { - if o != nil && o.Uploader != nil { - return true - } - - return false -} - -// SetUploader gets a reference to the given string and assigns it to the Uploader field. -func (o *RawPackageUpload) SetUploader(v string) { - o.Uploader = &v -} - -// GetUploaderUrl returns the UploaderUrl field value if set, zero value otherwise. -func (o *RawPackageUpload) GetUploaderUrl() string { - if o == nil || o.UploaderUrl == nil { - var ret string - return ret - } - return *o.UploaderUrl -} - -// GetUploaderUrlOk returns a tuple with the UploaderUrl field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *RawPackageUpload) GetUploaderUrlOk() (*string, bool) { - if o == nil || o.UploaderUrl == nil { - return nil, false - } - return o.UploaderUrl, true -} - -// HasUploaderUrl returns a boolean if a field has been set. -func (o *RawPackageUpload) HasUploaderUrl() bool { - if o != nil && o.UploaderUrl != nil { - return true - } - - return false -} - -// SetUploaderUrl gets a reference to the given string and assigns it to the UploaderUrl field. -func (o *RawPackageUpload) SetUploaderUrl(v string) { - o.UploaderUrl = &v -} - -// GetVersion returns the Version field value if set, zero value otherwise. -func (o *RawPackageUpload) GetVersion() string { - if o == nil || o.Version == nil { - var ret string - return ret - } - return *o.Version -} - -// GetVersionOk returns a tuple with the Version field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *RawPackageUpload) GetVersionOk() (*string, bool) { - if o == nil || o.Version == nil { - return nil, false - } - return o.Version, true -} - -// HasVersion returns a boolean if a field has been set. -func (o *RawPackageUpload) HasVersion() bool { - if o != nil && o.Version != nil { - return true - } - - return false -} - -// SetVersion gets a reference to the given string and assigns it to the Version field. -func (o *RawPackageUpload) SetVersion(v string) { - o.Version = &v -} - -// GetVersionOrig returns the VersionOrig field value if set, zero value otherwise. -func (o *RawPackageUpload) GetVersionOrig() string { - if o == nil || o.VersionOrig == nil { - var ret string - return ret - } - return *o.VersionOrig -} - -// GetVersionOrigOk returns a tuple with the VersionOrig field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *RawPackageUpload) GetVersionOrigOk() (*string, bool) { - if o == nil || o.VersionOrig == nil { - return nil, false - } - return o.VersionOrig, true -} - -// HasVersionOrig returns a boolean if a field has been set. -func (o *RawPackageUpload) HasVersionOrig() bool { - if o != nil && o.VersionOrig != nil { - return true - } - - return false -} - -// SetVersionOrig gets a reference to the given string and assigns it to the VersionOrig field. -func (o *RawPackageUpload) SetVersionOrig(v string) { - o.VersionOrig = &v -} - -// GetVulnerabilityScanResultsUrl returns the VulnerabilityScanResultsUrl field value if set, zero value otherwise. -func (o *RawPackageUpload) GetVulnerabilityScanResultsUrl() string { - if o == nil || o.VulnerabilityScanResultsUrl == nil { - var ret string - return ret - } - return *o.VulnerabilityScanResultsUrl -} - -// GetVulnerabilityScanResultsUrlOk returns a tuple with the VulnerabilityScanResultsUrl field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *RawPackageUpload) GetVulnerabilityScanResultsUrlOk() (*string, bool) { - if o == nil || o.VulnerabilityScanResultsUrl == nil { - return nil, false - } - return o.VulnerabilityScanResultsUrl, true -} - -// HasVulnerabilityScanResultsUrl returns a boolean if a field has been set. -func (o *RawPackageUpload) HasVulnerabilityScanResultsUrl() bool { - if o != nil && o.VulnerabilityScanResultsUrl != nil { - return true - } - - return false -} - -// SetVulnerabilityScanResultsUrl gets a reference to the given string and assigns it to the VulnerabilityScanResultsUrl field. -func (o *RawPackageUpload) SetVulnerabilityScanResultsUrl(v string) { - o.VulnerabilityScanResultsUrl = &v -} - -func (o RawPackageUpload) MarshalJSON() ([]byte, error) { - toSerialize := map[string]interface{}{} - if o.Architectures != nil { - toSerialize["architectures"] = o.Architectures - } - if o.CdnUrl != nil { - toSerialize["cdn_url"] = o.CdnUrl - } - if o.ChecksumMd5 != nil { - toSerialize["checksum_md5"] = o.ChecksumMd5 - } - if o.ChecksumSha1 != nil { - toSerialize["checksum_sha1"] = o.ChecksumSha1 - } - if o.ChecksumSha256 != nil { - toSerialize["checksum_sha256"] = o.ChecksumSha256 - } - if o.ChecksumSha512 != nil { - toSerialize["checksum_sha512"] = o.ChecksumSha512 - } - if o.DependenciesChecksumMd5 != nil { - toSerialize["dependencies_checksum_md5"] = o.DependenciesChecksumMd5 - } - if o.DependenciesUrl != nil { - toSerialize["dependencies_url"] = o.DependenciesUrl - } - if o.Description != nil { - toSerialize["description"] = o.Description - } - if o.Distro != nil { - toSerialize["distro"] = o.Distro - } - if o.DistroVersion != nil { - toSerialize["distro_version"] = o.DistroVersion - } - if o.Downloads != nil { - toSerialize["downloads"] = o.Downloads - } - if o.Epoch != nil { - toSerialize["epoch"] = o.Epoch - } - if o.Extension != nil { - toSerialize["extension"] = o.Extension - } - if o.Filename != nil { - toSerialize["filename"] = o.Filename - } - if o.Files != nil { - toSerialize["files"] = o.Files - } - if o.Format != nil { - toSerialize["format"] = o.Format - } - if o.FormatUrl != nil { - toSerialize["format_url"] = o.FormatUrl - } - if o.IdentifierPerm != nil { - toSerialize["identifier_perm"] = o.IdentifierPerm - } - if o.Indexed != nil { - toSerialize["indexed"] = o.Indexed - } - if o.IsDownloadable != nil { - toSerialize["is_downloadable"] = o.IsDownloadable - } - if o.IsQuarantined != nil { - toSerialize["is_quarantined"] = o.IsQuarantined - } - if o.IsSyncAwaiting != nil { - toSerialize["is_sync_awaiting"] = o.IsSyncAwaiting - } - if o.IsSyncCompleted != nil { - toSerialize["is_sync_completed"] = o.IsSyncCompleted - } - if o.IsSyncFailed != nil { - toSerialize["is_sync_failed"] = o.IsSyncFailed - } - if o.IsSyncInFlight != nil { - toSerialize["is_sync_in_flight"] = o.IsSyncInFlight - } - if o.IsSyncInProgress != nil { - toSerialize["is_sync_in_progress"] = o.IsSyncInProgress - } - if o.License != nil { - toSerialize["license"] = o.License - } - if o.Name != nil { - toSerialize["name"] = o.Name - } - if o.Namespace != nil { - toSerialize["namespace"] = o.Namespace - } - if o.NamespaceUrl != nil { - toSerialize["namespace_url"] = o.NamespaceUrl - } - if o.NumFiles != nil { - toSerialize["num_files"] = o.NumFiles - } - if o.PackageType != nil { - toSerialize["package_type"] = o.PackageType - } - if o.Release != nil { - toSerialize["release"] = o.Release - } - if o.Repository != nil { - toSerialize["repository"] = o.Repository - } - if o.RepositoryUrl != nil { - toSerialize["repository_url"] = o.RepositoryUrl - } - if o.SecurityScanCompletedAt != nil { - toSerialize["security_scan_completed_at"] = o.SecurityScanCompletedAt - } - if o.SecurityScanStartedAt != nil { - toSerialize["security_scan_started_at"] = o.SecurityScanStartedAt - } - if o.SecurityScanStatus != nil { - toSerialize["security_scan_status"] = o.SecurityScanStatus - } - if o.SecurityScanStatusUpdatedAt != nil { - toSerialize["security_scan_status_updated_at"] = o.SecurityScanStatusUpdatedAt - } - if o.SelfHtmlUrl != nil { - toSerialize["self_html_url"] = o.SelfHtmlUrl - } - if o.SelfUrl != nil { - toSerialize["self_url"] = o.SelfUrl - } - if o.SignatureUrl != nil { - toSerialize["signature_url"] = o.SignatureUrl - } - if o.Size != nil { - toSerialize["size"] = o.Size - } - if o.Slug != nil { - toSerialize["slug"] = o.Slug - } - if o.SlugPerm != nil { - toSerialize["slug_perm"] = o.SlugPerm - } - if o.Stage != nil { - toSerialize["stage"] = o.Stage - } - if o.StageStr != nil { - toSerialize["stage_str"] = o.StageStr - } - if o.StageUpdatedAt != nil { - toSerialize["stage_updated_at"] = o.StageUpdatedAt - } - if o.Status != nil { - toSerialize["status"] = o.Status - } - if o.StatusReason != nil { - toSerialize["status_reason"] = o.StatusReason - } - if o.StatusStr != nil { - toSerialize["status_str"] = o.StatusStr - } - if o.StatusUpdatedAt != nil { - toSerialize["status_updated_at"] = o.StatusUpdatedAt - } - if o.StatusUrl != nil { - toSerialize["status_url"] = o.StatusUrl - } - if o.Subtype != nil { - toSerialize["subtype"] = o.Subtype - } - if o.Summary != nil { - toSerialize["summary"] = o.Summary - } - if o.SyncFinishedAt != nil { - toSerialize["sync_finished_at"] = o.SyncFinishedAt - } - if o.SyncProgress != nil { - toSerialize["sync_progress"] = o.SyncProgress - } - if o.TagsImmutable != nil { - toSerialize["tags_immutable"] = o.TagsImmutable - } - if o.TypeDisplay != nil { - toSerialize["type_display"] = o.TypeDisplay - } - if o.UploadedAt != nil { - toSerialize["uploaded_at"] = o.UploadedAt - } - if o.Uploader != nil { - toSerialize["uploader"] = o.Uploader - } - if o.UploaderUrl != nil { - toSerialize["uploader_url"] = o.UploaderUrl - } - if o.Version != nil { - toSerialize["version"] = o.Version - } - if o.VersionOrig != nil { - toSerialize["version_orig"] = o.VersionOrig - } - if o.VulnerabilityScanResultsUrl != nil { - toSerialize["vulnerability_scan_results_url"] = o.VulnerabilityScanResultsUrl - } - return json.Marshal(toSerialize) -} - -type NullableRawPackageUpload struct { - value *RawPackageUpload - isSet bool -} - -func (v NullableRawPackageUpload) Get() *RawPackageUpload { - return v.value -} - -func (v *NullableRawPackageUpload) Set(val *RawPackageUpload) { - v.value = val - v.isSet = true -} - -func (v NullableRawPackageUpload) IsSet() bool { - return v.isSet -} - -func (v *NullableRawPackageUpload) Unset() { - v.value = nil - v.isSet = false -} - -func NewNullableRawPackageUpload(val *RawPackageUpload) *NullableRawPackageUpload { - return &NullableRawPackageUpload{value: val, isSet: true} -} - -func (v NullableRawPackageUpload) MarshalJSON() ([]byte, error) { - return json.Marshal(v.value) -} - -func (v *NullableRawPackageUpload) UnmarshalJSON(src []byte) error { - v.isSet = true - return json.Unmarshal(src, &v.value) -} diff --git a/model_raw_package_upload_request.go b/model_raw_package_upload_request.go new file mode 100644 index 00000000..316732ff --- /dev/null +++ b/model_raw_package_upload_request.go @@ -0,0 +1,433 @@ +/* +Cloudsmith API (v1) + +The API to the Cloudsmith Service + +API version: 1.181.6 +Contact: support@cloudsmith.io +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cloudsmith + +import ( + "encoding/json" +) + +// RawPackageUploadRequest struct for RawPackageUploadRequest +type RawPackageUploadRequest struct { + // A custom content/media (also known as MIME) type to be sent when downloading this file. By default Cloudsmith will attempt to detect the type, but if you need to override it, you can specify it here. + ContentType NullableString `json:"content_type,omitempty"` + // A textual description of this package. + Description NullableString `json:"description,omitempty"` + // The name of this package. + Name NullableString `json:"name,omitempty"` + // The primary file for the package. + PackageFile string `json:"package_file"` + // If true, the uploaded package will overwrite any others with the same attributes (e.g. same version); otherwise, it will be flagged as a duplicate. + Republish *bool `json:"republish,omitempty"` + // A one-liner synopsis of this package. + Summary NullableString `json:"summary,omitempty"` + // A comma-separated values list of tags to add to the package. + Tags NullableString `json:"tags,omitempty"` + // The raw version for this package. + Version NullableString `json:"version,omitempty"` +} + +// NewRawPackageUploadRequest instantiates a new RawPackageUploadRequest object +// 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 NewRawPackageUploadRequest(packageFile string) *RawPackageUploadRequest { + this := RawPackageUploadRequest{} + this.PackageFile = packageFile + return &this +} + +// NewRawPackageUploadRequestWithDefaults instantiates a new RawPackageUploadRequest object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewRawPackageUploadRequestWithDefaults() *RawPackageUploadRequest { + this := RawPackageUploadRequest{} + return &this +} + +// GetContentType returns the ContentType field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *RawPackageUploadRequest) GetContentType() string { + if o == nil || isNil(o.ContentType.Get()) { + var ret string + return ret + } + return *o.ContentType.Get() +} + +// GetContentTypeOk returns a tuple with the ContentType 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 *RawPackageUploadRequest) GetContentTypeOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.ContentType.Get(), o.ContentType.IsSet() +} + +// HasContentType returns a boolean if a field has been set. +func (o *RawPackageUploadRequest) HasContentType() bool { + if o != nil && o.ContentType.IsSet() { + return true + } + + return false +} + +// SetContentType gets a reference to the given NullableString and assigns it to the ContentType field. +func (o *RawPackageUploadRequest) SetContentType(v string) { + o.ContentType.Set(&v) +} + +// SetContentTypeNil sets the value for ContentType to be an explicit nil +func (o *RawPackageUploadRequest) SetContentTypeNil() { + o.ContentType.Set(nil) +} + +// UnsetContentType ensures that no value is present for ContentType, not even an explicit nil +func (o *RawPackageUploadRequest) UnsetContentType() { + o.ContentType.Unset() +} + +// GetDescription returns the Description field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *RawPackageUploadRequest) GetDescription() string { + if o == nil || isNil(o.Description.Get()) { + var ret string + return ret + } + return *o.Description.Get() +} + +// GetDescriptionOk returns a tuple with the Description field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *RawPackageUploadRequest) GetDescriptionOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.Description.Get(), o.Description.IsSet() +} + +// HasDescription returns a boolean if a field has been set. +func (o *RawPackageUploadRequest) HasDescription() bool { + if o != nil && o.Description.IsSet() { + return true + } + + return false +} + +// SetDescription gets a reference to the given NullableString and assigns it to the Description field. +func (o *RawPackageUploadRequest) SetDescription(v string) { + o.Description.Set(&v) +} + +// SetDescriptionNil sets the value for Description to be an explicit nil +func (o *RawPackageUploadRequest) SetDescriptionNil() { + o.Description.Set(nil) +} + +// UnsetDescription ensures that no value is present for Description, not even an explicit nil +func (o *RawPackageUploadRequest) UnsetDescription() { + o.Description.Unset() +} + +// GetName returns the Name field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *RawPackageUploadRequest) GetName() string { + if o == nil || isNil(o.Name.Get()) { + var ret string + return ret + } + return *o.Name.Get() +} + +// GetNameOk returns a tuple with the Name field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *RawPackageUploadRequest) GetNameOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.Name.Get(), o.Name.IsSet() +} + +// HasName returns a boolean if a field has been set. +func (o *RawPackageUploadRequest) HasName() bool { + if o != nil && o.Name.IsSet() { + return true + } + + return false +} + +// SetName gets a reference to the given NullableString and assigns it to the Name field. +func (o *RawPackageUploadRequest) SetName(v string) { + o.Name.Set(&v) +} + +// SetNameNil sets the value for Name to be an explicit nil +func (o *RawPackageUploadRequest) SetNameNil() { + o.Name.Set(nil) +} + +// UnsetName ensures that no value is present for Name, not even an explicit nil +func (o *RawPackageUploadRequest) UnsetName() { + o.Name.Unset() +} + +// GetPackageFile returns the PackageFile field value +func (o *RawPackageUploadRequest) GetPackageFile() string { + if o == nil { + var ret string + return ret + } + + return o.PackageFile +} + +// GetPackageFileOk returns a tuple with the PackageFile field value +// and a boolean to check if the value has been set. +func (o *RawPackageUploadRequest) GetPackageFileOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.PackageFile, true +} + +// SetPackageFile sets field value +func (o *RawPackageUploadRequest) SetPackageFile(v string) { + o.PackageFile = v +} + +// GetRepublish returns the Republish field value if set, zero value otherwise. +func (o *RawPackageUploadRequest) GetRepublish() bool { + if o == nil || isNil(o.Republish) { + var ret bool + return ret + } + return *o.Republish +} + +// GetRepublishOk returns a tuple with the Republish field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *RawPackageUploadRequest) GetRepublishOk() (*bool, bool) { + if o == nil || isNil(o.Republish) { + return nil, false + } + return o.Republish, true +} + +// HasRepublish returns a boolean if a field has been set. +func (o *RawPackageUploadRequest) HasRepublish() bool { + if o != nil && !isNil(o.Republish) { + return true + } + + return false +} + +// SetRepublish gets a reference to the given bool and assigns it to the Republish field. +func (o *RawPackageUploadRequest) SetRepublish(v bool) { + o.Republish = &v +} + +// GetSummary returns the Summary field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *RawPackageUploadRequest) GetSummary() string { + if o == nil || isNil(o.Summary.Get()) { + var ret string + return ret + } + return *o.Summary.Get() +} + +// GetSummaryOk returns a tuple with the Summary 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 *RawPackageUploadRequest) GetSummaryOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.Summary.Get(), o.Summary.IsSet() +} + +// HasSummary returns a boolean if a field has been set. +func (o *RawPackageUploadRequest) HasSummary() bool { + if o != nil && o.Summary.IsSet() { + return true + } + + return false +} + +// SetSummary gets a reference to the given NullableString and assigns it to the Summary field. +func (o *RawPackageUploadRequest) SetSummary(v string) { + o.Summary.Set(&v) +} + +// SetSummaryNil sets the value for Summary to be an explicit nil +func (o *RawPackageUploadRequest) SetSummaryNil() { + o.Summary.Set(nil) +} + +// UnsetSummary ensures that no value is present for Summary, not even an explicit nil +func (o *RawPackageUploadRequest) UnsetSummary() { + o.Summary.Unset() +} + +// GetTags returns the Tags field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *RawPackageUploadRequest) GetTags() string { + if o == nil || isNil(o.Tags.Get()) { + var ret string + return ret + } + return *o.Tags.Get() +} + +// GetTagsOk returns a tuple with the Tags 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 *RawPackageUploadRequest) GetTagsOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.Tags.Get(), o.Tags.IsSet() +} + +// HasTags returns a boolean if a field has been set. +func (o *RawPackageUploadRequest) HasTags() bool { + if o != nil && o.Tags.IsSet() { + return true + } + + return false +} + +// SetTags gets a reference to the given NullableString and assigns it to the Tags field. +func (o *RawPackageUploadRequest) SetTags(v string) { + o.Tags.Set(&v) +} + +// SetTagsNil sets the value for Tags to be an explicit nil +func (o *RawPackageUploadRequest) SetTagsNil() { + o.Tags.Set(nil) +} + +// UnsetTags ensures that no value is present for Tags, not even an explicit nil +func (o *RawPackageUploadRequest) UnsetTags() { + o.Tags.Unset() +} + +// GetVersion returns the Version field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *RawPackageUploadRequest) GetVersion() string { + if o == nil || isNil(o.Version.Get()) { + var ret string + return ret + } + return *o.Version.Get() +} + +// GetVersionOk returns a tuple with the Version 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 *RawPackageUploadRequest) GetVersionOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.Version.Get(), o.Version.IsSet() +} + +// HasVersion returns a boolean if a field has been set. +func (o *RawPackageUploadRequest) HasVersion() bool { + if o != nil && o.Version.IsSet() { + return true + } + + return false +} + +// SetVersion gets a reference to the given NullableString and assigns it to the Version field. +func (o *RawPackageUploadRequest) SetVersion(v string) { + o.Version.Set(&v) +} + +// SetVersionNil sets the value for Version to be an explicit nil +func (o *RawPackageUploadRequest) SetVersionNil() { + o.Version.Set(nil) +} + +// UnsetVersion ensures that no value is present for Version, not even an explicit nil +func (o *RawPackageUploadRequest) UnsetVersion() { + o.Version.Unset() +} + +func (o RawPackageUploadRequest) MarshalJSON() ([]byte, error) { + toSerialize := map[string]interface{}{} + if o.ContentType.IsSet() { + toSerialize["content_type"] = o.ContentType.Get() + } + if o.Description.IsSet() { + toSerialize["description"] = o.Description.Get() + } + if o.Name.IsSet() { + toSerialize["name"] = o.Name.Get() + } + if true { + toSerialize["package_file"] = o.PackageFile + } + if !isNil(o.Republish) { + toSerialize["republish"] = o.Republish + } + if o.Summary.IsSet() { + toSerialize["summary"] = o.Summary.Get() + } + if o.Tags.IsSet() { + toSerialize["tags"] = o.Tags.Get() + } + if o.Version.IsSet() { + toSerialize["version"] = o.Version.Get() + } + return json.Marshal(toSerialize) +} + +type NullableRawPackageUploadRequest struct { + value *RawPackageUploadRequest + isSet bool +} + +func (v NullableRawPackageUploadRequest) Get() *RawPackageUploadRequest { + return v.value +} + +func (v *NullableRawPackageUploadRequest) Set(val *RawPackageUploadRequest) { + v.value = val + v.isSet = true +} + +func (v NullableRawPackageUploadRequest) IsSet() bool { + return v.isSet +} + +func (v *NullableRawPackageUploadRequest) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableRawPackageUploadRequest(val *RawPackageUploadRequest) *NullableRawPackageUploadRequest { + return &NullableRawPackageUploadRequest{value: val, isSet: true} +} + +func (v NullableRawPackageUploadRequest) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableRawPackageUploadRequest) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} diff --git a/model_raw_package_upload_response.go b/model_raw_package_upload_response.go new file mode 100644 index 00000000..35a7e5c4 --- /dev/null +++ b/model_raw_package_upload_response.go @@ -0,0 +1,2639 @@ +/* +Cloudsmith API (v1) + +The API to the Cloudsmith Service + +API version: 1.181.6 +Contact: support@cloudsmith.io +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cloudsmith + +import ( + "encoding/json" + "time" +) + +// RawPackageUploadResponse struct for RawPackageUploadResponse +type RawPackageUploadResponse struct { + Architectures []Architecture `json:"architectures,omitempty"` + CdnUrl NullableString `json:"cdn_url,omitempty"` + ChecksumMd5 *string `json:"checksum_md5,omitempty"` + ChecksumSha1 *string `json:"checksum_sha1,omitempty"` + ChecksumSha256 *string `json:"checksum_sha256,omitempty"` + ChecksumSha512 *string `json:"checksum_sha512,omitempty"` + // A checksum of all of the package's dependencies. + DependenciesChecksumMd5 *string `json:"dependencies_checksum_md5,omitempty"` + DependenciesUrl *string `json:"dependencies_url,omitempty"` + // A textual description of this package. + Description NullableString `json:"description,omitempty"` + Distro NullableDistribution `json:"distro,omitempty"` + DistroVersion *DistributionVersion `json:"distro_version,omitempty"` + Downloads *int64 `json:"downloads,omitempty"` + // The epoch of the package version (if any). + Epoch *int64 `json:"epoch,omitempty"` + Extension *string `json:"extension,omitempty"` + Filename *string `json:"filename,omitempty"` + Files []PackageFile `json:"files,omitempty"` + Format *string `json:"format,omitempty"` + FormatUrl *string `json:"format_url,omitempty"` + // Unique and permanent identifier for the package. + IdentifierPerm *string `json:"identifier_perm,omitempty"` + Indexed *bool `json:"indexed,omitempty"` + IsDownloadable *bool `json:"is_downloadable,omitempty"` + IsQuarantined *bool `json:"is_quarantined,omitempty"` + IsSyncAwaiting *bool `json:"is_sync_awaiting,omitempty"` + IsSyncCompleted *bool `json:"is_sync_completed,omitempty"` + IsSyncFailed *bool `json:"is_sync_failed,omitempty"` + IsSyncInFlight *bool `json:"is_sync_in_flight,omitempty"` + IsSyncInProgress *bool `json:"is_sync_in_progress,omitempty"` + // The license of this package. + License *string `json:"license,omitempty"` + // The name of this package. + Name NullableString `json:"name,omitempty"` + Namespace *string `json:"namespace,omitempty"` + NamespaceUrl *string `json:"namespace_url,omitempty"` + NumFiles *int64 `json:"num_files,omitempty"` + OriginRepository *string `json:"origin_repository,omitempty"` + OriginRepositoryUrl *string `json:"origin_repository_url,omitempty"` + // The type of package contents. + PackageType *int64 `json:"package_type,omitempty"` + // The release of the package version (if any). + Release *string `json:"release,omitempty"` + Repository *string `json:"repository,omitempty"` + RepositoryUrl *string `json:"repository_url,omitempty"` + // The datetime the security scanning was completed. + SecurityScanCompletedAt *time.Time `json:"security_scan_completed_at,omitempty"` + // The datetime the security scanning was started. + SecurityScanStartedAt *time.Time `json:"security_scan_started_at,omitempty"` + SecurityScanStatus NullableString `json:"security_scan_status,omitempty"` + // The datetime the security scanning status was updated. + SecurityScanStatusUpdatedAt *time.Time `json:"security_scan_status_updated_at,omitempty"` + SelfHtmlUrl *string `json:"self_html_url,omitempty"` + SelfUrl *string `json:"self_url,omitempty"` + SignatureUrl NullableString `json:"signature_url,omitempty"` + // The calculated size of the package. + Size *int64 `json:"size,omitempty"` + // The public unique identifier for the package. + Slug *string `json:"slug,omitempty"` + SlugPerm *string `json:"slug_perm,omitempty"` + // The synchronisation (in progress) stage of the package. + Stage *int64 `json:"stage,omitempty"` + StageStr *string `json:"stage_str,omitempty"` + // The datetime the package stage was updated at. + StageUpdatedAt *time.Time `json:"stage_updated_at,omitempty"` + // The synchronisation status of the package. + Status *int64 `json:"status,omitempty"` + // A textual description for the synchronous status reason (if any + StatusReason *string `json:"status_reason,omitempty"` + StatusStr *string `json:"status_str,omitempty"` + // The datetime the package status was updated at. + StatusUpdatedAt *time.Time `json:"status_updated_at,omitempty"` + StatusUrl *string `json:"status_url,omitempty"` + Subtype *string `json:"subtype,omitempty"` + // A one-liner synopsis of this package. + Summary NullableString `json:"summary,omitempty"` + // The datetime the package sync was finished at. + SyncFinishedAt *time.Time `json:"sync_finished_at,omitempty"` + // Synchronisation progress (from 0-100) + SyncProgress *int64 `json:"sync_progress,omitempty"` + // All tags on the package, grouped by tag type. This includes immutable tags, but doesn't distinguish them from mutable. To see which tags are immutable specifically, see the tags_immutable field. + TagsImmutable map[string]interface{} `json:"tags_immutable,omitempty"` + TypeDisplay *string `json:"type_display,omitempty"` + // The date this package was uploaded. + UploadedAt *time.Time `json:"uploaded_at,omitempty"` + Uploader *string `json:"uploader,omitempty"` + UploaderUrl *string `json:"uploader_url,omitempty"` + // The raw version for this package. + Version NullableString `json:"version,omitempty"` + VersionOrig *string `json:"version_orig,omitempty"` + VulnerabilityScanResultsUrl *string `json:"vulnerability_scan_results_url,omitempty"` +} + +// NewRawPackageUploadResponse instantiates a new RawPackageUploadResponse object +// 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 NewRawPackageUploadResponse() *RawPackageUploadResponse { + this := RawPackageUploadResponse{} + return &this +} + +// NewRawPackageUploadResponseWithDefaults instantiates a new RawPackageUploadResponse object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewRawPackageUploadResponseWithDefaults() *RawPackageUploadResponse { + this := RawPackageUploadResponse{} + return &this +} + +// GetArchitectures returns the Architectures field value if set, zero value otherwise. +func (o *RawPackageUploadResponse) GetArchitectures() []Architecture { + if o == nil || isNil(o.Architectures) { + var ret []Architecture + return ret + } + return o.Architectures +} + +// GetArchitecturesOk returns a tuple with the Architectures field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *RawPackageUploadResponse) GetArchitecturesOk() ([]Architecture, bool) { + if o == nil || isNil(o.Architectures) { + return nil, false + } + return o.Architectures, true +} + +// HasArchitectures returns a boolean if a field has been set. +func (o *RawPackageUploadResponse) HasArchitectures() bool { + if o != nil && !isNil(o.Architectures) { + return true + } + + return false +} + +// SetArchitectures gets a reference to the given []Architecture and assigns it to the Architectures field. +func (o *RawPackageUploadResponse) SetArchitectures(v []Architecture) { + o.Architectures = v +} + +// GetCdnUrl returns the CdnUrl field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *RawPackageUploadResponse) GetCdnUrl() string { + if o == nil || isNil(o.CdnUrl.Get()) { + var ret string + return ret + } + return *o.CdnUrl.Get() +} + +// GetCdnUrlOk returns a tuple with the CdnUrl 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 *RawPackageUploadResponse) GetCdnUrlOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.CdnUrl.Get(), o.CdnUrl.IsSet() +} + +// HasCdnUrl returns a boolean if a field has been set. +func (o *RawPackageUploadResponse) HasCdnUrl() bool { + if o != nil && o.CdnUrl.IsSet() { + return true + } + + return false +} + +// SetCdnUrl gets a reference to the given NullableString and assigns it to the CdnUrl field. +func (o *RawPackageUploadResponse) SetCdnUrl(v string) { + o.CdnUrl.Set(&v) +} + +// SetCdnUrlNil sets the value for CdnUrl to be an explicit nil +func (o *RawPackageUploadResponse) SetCdnUrlNil() { + o.CdnUrl.Set(nil) +} + +// UnsetCdnUrl ensures that no value is present for CdnUrl, not even an explicit nil +func (o *RawPackageUploadResponse) UnsetCdnUrl() { + o.CdnUrl.Unset() +} + +// GetChecksumMd5 returns the ChecksumMd5 field value if set, zero value otherwise. +func (o *RawPackageUploadResponse) GetChecksumMd5() string { + if o == nil || isNil(o.ChecksumMd5) { + var ret string + return ret + } + return *o.ChecksumMd5 +} + +// GetChecksumMd5Ok returns a tuple with the ChecksumMd5 field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *RawPackageUploadResponse) GetChecksumMd5Ok() (*string, bool) { + if o == nil || isNil(o.ChecksumMd5) { + return nil, false + } + return o.ChecksumMd5, true +} + +// HasChecksumMd5 returns a boolean if a field has been set. +func (o *RawPackageUploadResponse) HasChecksumMd5() bool { + if o != nil && !isNil(o.ChecksumMd5) { + return true + } + + return false +} + +// SetChecksumMd5 gets a reference to the given string and assigns it to the ChecksumMd5 field. +func (o *RawPackageUploadResponse) SetChecksumMd5(v string) { + o.ChecksumMd5 = &v +} + +// GetChecksumSha1 returns the ChecksumSha1 field value if set, zero value otherwise. +func (o *RawPackageUploadResponse) GetChecksumSha1() string { + if o == nil || isNil(o.ChecksumSha1) { + var ret string + return ret + } + return *o.ChecksumSha1 +} + +// GetChecksumSha1Ok returns a tuple with the ChecksumSha1 field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *RawPackageUploadResponse) GetChecksumSha1Ok() (*string, bool) { + if o == nil || isNil(o.ChecksumSha1) { + return nil, false + } + return o.ChecksumSha1, true +} + +// HasChecksumSha1 returns a boolean if a field has been set. +func (o *RawPackageUploadResponse) HasChecksumSha1() bool { + if o != nil && !isNil(o.ChecksumSha1) { + return true + } + + return false +} + +// SetChecksumSha1 gets a reference to the given string and assigns it to the ChecksumSha1 field. +func (o *RawPackageUploadResponse) SetChecksumSha1(v string) { + o.ChecksumSha1 = &v +} + +// GetChecksumSha256 returns the ChecksumSha256 field value if set, zero value otherwise. +func (o *RawPackageUploadResponse) GetChecksumSha256() string { + if o == nil || isNil(o.ChecksumSha256) { + var ret string + return ret + } + return *o.ChecksumSha256 +} + +// GetChecksumSha256Ok returns a tuple with the ChecksumSha256 field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *RawPackageUploadResponse) GetChecksumSha256Ok() (*string, bool) { + if o == nil || isNil(o.ChecksumSha256) { + return nil, false + } + return o.ChecksumSha256, true +} + +// HasChecksumSha256 returns a boolean if a field has been set. +func (o *RawPackageUploadResponse) HasChecksumSha256() bool { + if o != nil && !isNil(o.ChecksumSha256) { + return true + } + + return false +} + +// SetChecksumSha256 gets a reference to the given string and assigns it to the ChecksumSha256 field. +func (o *RawPackageUploadResponse) SetChecksumSha256(v string) { + o.ChecksumSha256 = &v +} + +// GetChecksumSha512 returns the ChecksumSha512 field value if set, zero value otherwise. +func (o *RawPackageUploadResponse) GetChecksumSha512() string { + if o == nil || isNil(o.ChecksumSha512) { + var ret string + return ret + } + return *o.ChecksumSha512 +} + +// GetChecksumSha512Ok returns a tuple with the ChecksumSha512 field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *RawPackageUploadResponse) GetChecksumSha512Ok() (*string, bool) { + if o == nil || isNil(o.ChecksumSha512) { + return nil, false + } + return o.ChecksumSha512, true +} + +// HasChecksumSha512 returns a boolean if a field has been set. +func (o *RawPackageUploadResponse) HasChecksumSha512() bool { + if o != nil && !isNil(o.ChecksumSha512) { + return true + } + + return false +} + +// SetChecksumSha512 gets a reference to the given string and assigns it to the ChecksumSha512 field. +func (o *RawPackageUploadResponse) SetChecksumSha512(v string) { + o.ChecksumSha512 = &v +} + +// GetDependenciesChecksumMd5 returns the DependenciesChecksumMd5 field value if set, zero value otherwise. +func (o *RawPackageUploadResponse) GetDependenciesChecksumMd5() string { + if o == nil || isNil(o.DependenciesChecksumMd5) { + var ret string + return ret + } + return *o.DependenciesChecksumMd5 +} + +// GetDependenciesChecksumMd5Ok returns a tuple with the DependenciesChecksumMd5 field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *RawPackageUploadResponse) GetDependenciesChecksumMd5Ok() (*string, bool) { + if o == nil || isNil(o.DependenciesChecksumMd5) { + return nil, false + } + return o.DependenciesChecksumMd5, true +} + +// HasDependenciesChecksumMd5 returns a boolean if a field has been set. +func (o *RawPackageUploadResponse) HasDependenciesChecksumMd5() bool { + if o != nil && !isNil(o.DependenciesChecksumMd5) { + return true + } + + return false +} + +// SetDependenciesChecksumMd5 gets a reference to the given string and assigns it to the DependenciesChecksumMd5 field. +func (o *RawPackageUploadResponse) SetDependenciesChecksumMd5(v string) { + o.DependenciesChecksumMd5 = &v +} + +// GetDependenciesUrl returns the DependenciesUrl field value if set, zero value otherwise. +func (o *RawPackageUploadResponse) GetDependenciesUrl() string { + if o == nil || isNil(o.DependenciesUrl) { + var ret string + return ret + } + return *o.DependenciesUrl +} + +// GetDependenciesUrlOk returns a tuple with the DependenciesUrl field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *RawPackageUploadResponse) GetDependenciesUrlOk() (*string, bool) { + if o == nil || isNil(o.DependenciesUrl) { + return nil, false + } + return o.DependenciesUrl, true +} + +// HasDependenciesUrl returns a boolean if a field has been set. +func (o *RawPackageUploadResponse) HasDependenciesUrl() bool { + if o != nil && !isNil(o.DependenciesUrl) { + return true + } + + return false +} + +// SetDependenciesUrl gets a reference to the given string and assigns it to the DependenciesUrl field. +func (o *RawPackageUploadResponse) SetDependenciesUrl(v string) { + o.DependenciesUrl = &v +} + +// GetDescription returns the Description field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *RawPackageUploadResponse) GetDescription() string { + if o == nil || isNil(o.Description.Get()) { + var ret string + return ret + } + return *o.Description.Get() +} + +// GetDescriptionOk returns a tuple with the Description field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *RawPackageUploadResponse) GetDescriptionOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.Description.Get(), o.Description.IsSet() +} + +// HasDescription returns a boolean if a field has been set. +func (o *RawPackageUploadResponse) HasDescription() bool { + if o != nil && o.Description.IsSet() { + return true + } + + return false +} + +// SetDescription gets a reference to the given NullableString and assigns it to the Description field. +func (o *RawPackageUploadResponse) SetDescription(v string) { + o.Description.Set(&v) +} + +// SetDescriptionNil sets the value for Description to be an explicit nil +func (o *RawPackageUploadResponse) SetDescriptionNil() { + o.Description.Set(nil) +} + +// UnsetDescription ensures that no value is present for Description, not even an explicit nil +func (o *RawPackageUploadResponse) UnsetDescription() { + o.Description.Unset() +} + +// GetDistro returns the Distro field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *RawPackageUploadResponse) GetDistro() Distribution { + if o == nil || isNil(o.Distro.Get()) { + var ret Distribution + return ret + } + return *o.Distro.Get() +} + +// GetDistroOk returns a tuple with the Distro 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 *RawPackageUploadResponse) GetDistroOk() (*Distribution, bool) { + if o == nil { + return nil, false + } + return o.Distro.Get(), o.Distro.IsSet() +} + +// HasDistro returns a boolean if a field has been set. +func (o *RawPackageUploadResponse) HasDistro() bool { + if o != nil && o.Distro.IsSet() { + return true + } + + return false +} + +// SetDistro gets a reference to the given NullableDistribution and assigns it to the Distro field. +func (o *RawPackageUploadResponse) SetDistro(v Distribution) { + o.Distro.Set(&v) +} + +// SetDistroNil sets the value for Distro to be an explicit nil +func (o *RawPackageUploadResponse) SetDistroNil() { + o.Distro.Set(nil) +} + +// UnsetDistro ensures that no value is present for Distro, not even an explicit nil +func (o *RawPackageUploadResponse) UnsetDistro() { + o.Distro.Unset() +} + +// GetDistroVersion returns the DistroVersion field value if set, zero value otherwise. +func (o *RawPackageUploadResponse) GetDistroVersion() DistributionVersion { + if o == nil || isNil(o.DistroVersion) { + var ret DistributionVersion + return ret + } + return *o.DistroVersion +} + +// GetDistroVersionOk returns a tuple with the DistroVersion field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *RawPackageUploadResponse) GetDistroVersionOk() (*DistributionVersion, bool) { + if o == nil || isNil(o.DistroVersion) { + return nil, false + } + return o.DistroVersion, true +} + +// HasDistroVersion returns a boolean if a field has been set. +func (o *RawPackageUploadResponse) HasDistroVersion() bool { + if o != nil && !isNil(o.DistroVersion) { + return true + } + + return false +} + +// SetDistroVersion gets a reference to the given DistributionVersion and assigns it to the DistroVersion field. +func (o *RawPackageUploadResponse) SetDistroVersion(v DistributionVersion) { + o.DistroVersion = &v +} + +// GetDownloads returns the Downloads field value if set, zero value otherwise. +func (o *RawPackageUploadResponse) GetDownloads() int64 { + if o == nil || isNil(o.Downloads) { + var ret int64 + return ret + } + return *o.Downloads +} + +// GetDownloadsOk returns a tuple with the Downloads field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *RawPackageUploadResponse) GetDownloadsOk() (*int64, bool) { + if o == nil || isNil(o.Downloads) { + return nil, false + } + return o.Downloads, true +} + +// HasDownloads returns a boolean if a field has been set. +func (o *RawPackageUploadResponse) HasDownloads() bool { + if o != nil && !isNil(o.Downloads) { + return true + } + + return false +} + +// SetDownloads gets a reference to the given int64 and assigns it to the Downloads field. +func (o *RawPackageUploadResponse) SetDownloads(v int64) { + o.Downloads = &v +} + +// GetEpoch returns the Epoch field value if set, zero value otherwise. +func (o *RawPackageUploadResponse) GetEpoch() int64 { + if o == nil || isNil(o.Epoch) { + var ret int64 + return ret + } + return *o.Epoch +} + +// GetEpochOk returns a tuple with the Epoch field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *RawPackageUploadResponse) GetEpochOk() (*int64, bool) { + if o == nil || isNil(o.Epoch) { + return nil, false + } + return o.Epoch, true +} + +// HasEpoch returns a boolean if a field has been set. +func (o *RawPackageUploadResponse) HasEpoch() bool { + if o != nil && !isNil(o.Epoch) { + return true + } + + return false +} + +// SetEpoch gets a reference to the given int64 and assigns it to the Epoch field. +func (o *RawPackageUploadResponse) SetEpoch(v int64) { + o.Epoch = &v +} + +// GetExtension returns the Extension field value if set, zero value otherwise. +func (o *RawPackageUploadResponse) GetExtension() string { + if o == nil || isNil(o.Extension) { + var ret string + return ret + } + return *o.Extension +} + +// GetExtensionOk returns a tuple with the Extension field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *RawPackageUploadResponse) GetExtensionOk() (*string, bool) { + if o == nil || isNil(o.Extension) { + return nil, false + } + return o.Extension, true +} + +// HasExtension returns a boolean if a field has been set. +func (o *RawPackageUploadResponse) HasExtension() bool { + if o != nil && !isNil(o.Extension) { + return true + } + + return false +} + +// SetExtension gets a reference to the given string and assigns it to the Extension field. +func (o *RawPackageUploadResponse) SetExtension(v string) { + o.Extension = &v +} + +// GetFilename returns the Filename field value if set, zero value otherwise. +func (o *RawPackageUploadResponse) GetFilename() string { + if o == nil || isNil(o.Filename) { + var ret string + return ret + } + return *o.Filename +} + +// GetFilenameOk returns a tuple with the Filename field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *RawPackageUploadResponse) GetFilenameOk() (*string, bool) { + if o == nil || isNil(o.Filename) { + return nil, false + } + return o.Filename, true +} + +// HasFilename returns a boolean if a field has been set. +func (o *RawPackageUploadResponse) HasFilename() bool { + if o != nil && !isNil(o.Filename) { + return true + } + + return false +} + +// SetFilename gets a reference to the given string and assigns it to the Filename field. +func (o *RawPackageUploadResponse) SetFilename(v string) { + o.Filename = &v +} + +// GetFiles returns the Files field value if set, zero value otherwise. +func (o *RawPackageUploadResponse) GetFiles() []PackageFile { + if o == nil || isNil(o.Files) { + var ret []PackageFile + return ret + } + return o.Files +} + +// GetFilesOk returns a tuple with the Files field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *RawPackageUploadResponse) GetFilesOk() ([]PackageFile, bool) { + if o == nil || isNil(o.Files) { + return nil, false + } + return o.Files, true +} + +// HasFiles returns a boolean if a field has been set. +func (o *RawPackageUploadResponse) HasFiles() bool { + if o != nil && !isNil(o.Files) { + return true + } + + return false +} + +// SetFiles gets a reference to the given []PackageFile and assigns it to the Files field. +func (o *RawPackageUploadResponse) SetFiles(v []PackageFile) { + o.Files = v +} + +// GetFormat returns the Format field value if set, zero value otherwise. +func (o *RawPackageUploadResponse) GetFormat() string { + if o == nil || isNil(o.Format) { + var ret string + return ret + } + return *o.Format +} + +// GetFormatOk returns a tuple with the Format field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *RawPackageUploadResponse) GetFormatOk() (*string, bool) { + if o == nil || isNil(o.Format) { + return nil, false + } + return o.Format, true +} + +// HasFormat returns a boolean if a field has been set. +func (o *RawPackageUploadResponse) HasFormat() bool { + if o != nil && !isNil(o.Format) { + return true + } + + return false +} + +// SetFormat gets a reference to the given string and assigns it to the Format field. +func (o *RawPackageUploadResponse) SetFormat(v string) { + o.Format = &v +} + +// GetFormatUrl returns the FormatUrl field value if set, zero value otherwise. +func (o *RawPackageUploadResponse) GetFormatUrl() string { + if o == nil || isNil(o.FormatUrl) { + var ret string + return ret + } + return *o.FormatUrl +} + +// GetFormatUrlOk returns a tuple with the FormatUrl field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *RawPackageUploadResponse) GetFormatUrlOk() (*string, bool) { + if o == nil || isNil(o.FormatUrl) { + return nil, false + } + return o.FormatUrl, true +} + +// HasFormatUrl returns a boolean if a field has been set. +func (o *RawPackageUploadResponse) HasFormatUrl() bool { + if o != nil && !isNil(o.FormatUrl) { + return true + } + + return false +} + +// SetFormatUrl gets a reference to the given string and assigns it to the FormatUrl field. +func (o *RawPackageUploadResponse) SetFormatUrl(v string) { + o.FormatUrl = &v +} + +// GetIdentifierPerm returns the IdentifierPerm field value if set, zero value otherwise. +func (o *RawPackageUploadResponse) GetIdentifierPerm() string { + if o == nil || isNil(o.IdentifierPerm) { + var ret string + return ret + } + return *o.IdentifierPerm +} + +// GetIdentifierPermOk returns a tuple with the IdentifierPerm field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *RawPackageUploadResponse) GetIdentifierPermOk() (*string, bool) { + if o == nil || isNil(o.IdentifierPerm) { + return nil, false + } + return o.IdentifierPerm, true +} + +// HasIdentifierPerm returns a boolean if a field has been set. +func (o *RawPackageUploadResponse) HasIdentifierPerm() bool { + if o != nil && !isNil(o.IdentifierPerm) { + return true + } + + return false +} + +// SetIdentifierPerm gets a reference to the given string and assigns it to the IdentifierPerm field. +func (o *RawPackageUploadResponse) SetIdentifierPerm(v string) { + o.IdentifierPerm = &v +} + +// GetIndexed returns the Indexed field value if set, zero value otherwise. +func (o *RawPackageUploadResponse) GetIndexed() bool { + if o == nil || isNil(o.Indexed) { + var ret bool + return ret + } + return *o.Indexed +} + +// GetIndexedOk returns a tuple with the Indexed field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *RawPackageUploadResponse) GetIndexedOk() (*bool, bool) { + if o == nil || isNil(o.Indexed) { + return nil, false + } + return o.Indexed, true +} + +// HasIndexed returns a boolean if a field has been set. +func (o *RawPackageUploadResponse) HasIndexed() bool { + if o != nil && !isNil(o.Indexed) { + return true + } + + return false +} + +// SetIndexed gets a reference to the given bool and assigns it to the Indexed field. +func (o *RawPackageUploadResponse) SetIndexed(v bool) { + o.Indexed = &v +} + +// GetIsDownloadable returns the IsDownloadable field value if set, zero value otherwise. +func (o *RawPackageUploadResponse) GetIsDownloadable() bool { + if o == nil || isNil(o.IsDownloadable) { + var ret bool + return ret + } + return *o.IsDownloadable +} + +// GetIsDownloadableOk returns a tuple with the IsDownloadable field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *RawPackageUploadResponse) GetIsDownloadableOk() (*bool, bool) { + if o == nil || isNil(o.IsDownloadable) { + return nil, false + } + return o.IsDownloadable, true +} + +// HasIsDownloadable returns a boolean if a field has been set. +func (o *RawPackageUploadResponse) HasIsDownloadable() bool { + if o != nil && !isNil(o.IsDownloadable) { + return true + } + + return false +} + +// SetIsDownloadable gets a reference to the given bool and assigns it to the IsDownloadable field. +func (o *RawPackageUploadResponse) SetIsDownloadable(v bool) { + o.IsDownloadable = &v +} + +// GetIsQuarantined returns the IsQuarantined field value if set, zero value otherwise. +func (o *RawPackageUploadResponse) GetIsQuarantined() bool { + if o == nil || isNil(o.IsQuarantined) { + var ret bool + return ret + } + return *o.IsQuarantined +} + +// GetIsQuarantinedOk returns a tuple with the IsQuarantined field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *RawPackageUploadResponse) GetIsQuarantinedOk() (*bool, bool) { + if o == nil || isNil(o.IsQuarantined) { + return nil, false + } + return o.IsQuarantined, true +} + +// HasIsQuarantined returns a boolean if a field has been set. +func (o *RawPackageUploadResponse) HasIsQuarantined() bool { + if o != nil && !isNil(o.IsQuarantined) { + return true + } + + return false +} + +// SetIsQuarantined gets a reference to the given bool and assigns it to the IsQuarantined field. +func (o *RawPackageUploadResponse) SetIsQuarantined(v bool) { + o.IsQuarantined = &v +} + +// GetIsSyncAwaiting returns the IsSyncAwaiting field value if set, zero value otherwise. +func (o *RawPackageUploadResponse) GetIsSyncAwaiting() bool { + if o == nil || isNil(o.IsSyncAwaiting) { + var ret bool + return ret + } + return *o.IsSyncAwaiting +} + +// GetIsSyncAwaitingOk returns a tuple with the IsSyncAwaiting field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *RawPackageUploadResponse) GetIsSyncAwaitingOk() (*bool, bool) { + if o == nil || isNil(o.IsSyncAwaiting) { + return nil, false + } + return o.IsSyncAwaiting, true +} + +// HasIsSyncAwaiting returns a boolean if a field has been set. +func (o *RawPackageUploadResponse) HasIsSyncAwaiting() bool { + if o != nil && !isNil(o.IsSyncAwaiting) { + return true + } + + return false +} + +// SetIsSyncAwaiting gets a reference to the given bool and assigns it to the IsSyncAwaiting field. +func (o *RawPackageUploadResponse) SetIsSyncAwaiting(v bool) { + o.IsSyncAwaiting = &v +} + +// GetIsSyncCompleted returns the IsSyncCompleted field value if set, zero value otherwise. +func (o *RawPackageUploadResponse) GetIsSyncCompleted() bool { + if o == nil || isNil(o.IsSyncCompleted) { + var ret bool + return ret + } + return *o.IsSyncCompleted +} + +// GetIsSyncCompletedOk returns a tuple with the IsSyncCompleted field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *RawPackageUploadResponse) GetIsSyncCompletedOk() (*bool, bool) { + if o == nil || isNil(o.IsSyncCompleted) { + return nil, false + } + return o.IsSyncCompleted, true +} + +// HasIsSyncCompleted returns a boolean if a field has been set. +func (o *RawPackageUploadResponse) HasIsSyncCompleted() bool { + if o != nil && !isNil(o.IsSyncCompleted) { + return true + } + + return false +} + +// SetIsSyncCompleted gets a reference to the given bool and assigns it to the IsSyncCompleted field. +func (o *RawPackageUploadResponse) SetIsSyncCompleted(v bool) { + o.IsSyncCompleted = &v +} + +// GetIsSyncFailed returns the IsSyncFailed field value if set, zero value otherwise. +func (o *RawPackageUploadResponse) GetIsSyncFailed() bool { + if o == nil || isNil(o.IsSyncFailed) { + var ret bool + return ret + } + return *o.IsSyncFailed +} + +// GetIsSyncFailedOk returns a tuple with the IsSyncFailed field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *RawPackageUploadResponse) GetIsSyncFailedOk() (*bool, bool) { + if o == nil || isNil(o.IsSyncFailed) { + return nil, false + } + return o.IsSyncFailed, true +} + +// HasIsSyncFailed returns a boolean if a field has been set. +func (o *RawPackageUploadResponse) HasIsSyncFailed() bool { + if o != nil && !isNil(o.IsSyncFailed) { + return true + } + + return false +} + +// SetIsSyncFailed gets a reference to the given bool and assigns it to the IsSyncFailed field. +func (o *RawPackageUploadResponse) SetIsSyncFailed(v bool) { + o.IsSyncFailed = &v +} + +// GetIsSyncInFlight returns the IsSyncInFlight field value if set, zero value otherwise. +func (o *RawPackageUploadResponse) GetIsSyncInFlight() bool { + if o == nil || isNil(o.IsSyncInFlight) { + var ret bool + return ret + } + return *o.IsSyncInFlight +} + +// GetIsSyncInFlightOk returns a tuple with the IsSyncInFlight field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *RawPackageUploadResponse) GetIsSyncInFlightOk() (*bool, bool) { + if o == nil || isNil(o.IsSyncInFlight) { + return nil, false + } + return o.IsSyncInFlight, true +} + +// HasIsSyncInFlight returns a boolean if a field has been set. +func (o *RawPackageUploadResponse) HasIsSyncInFlight() bool { + if o != nil && !isNil(o.IsSyncInFlight) { + return true + } + + return false +} + +// SetIsSyncInFlight gets a reference to the given bool and assigns it to the IsSyncInFlight field. +func (o *RawPackageUploadResponse) SetIsSyncInFlight(v bool) { + o.IsSyncInFlight = &v +} + +// GetIsSyncInProgress returns the IsSyncInProgress field value if set, zero value otherwise. +func (o *RawPackageUploadResponse) GetIsSyncInProgress() bool { + if o == nil || isNil(o.IsSyncInProgress) { + var ret bool + return ret + } + return *o.IsSyncInProgress +} + +// GetIsSyncInProgressOk returns a tuple with the IsSyncInProgress field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *RawPackageUploadResponse) GetIsSyncInProgressOk() (*bool, bool) { + if o == nil || isNil(o.IsSyncInProgress) { + return nil, false + } + return o.IsSyncInProgress, true +} + +// HasIsSyncInProgress returns a boolean if a field has been set. +func (o *RawPackageUploadResponse) HasIsSyncInProgress() bool { + if o != nil && !isNil(o.IsSyncInProgress) { + return true + } + + return false +} + +// SetIsSyncInProgress gets a reference to the given bool and assigns it to the IsSyncInProgress field. +func (o *RawPackageUploadResponse) SetIsSyncInProgress(v bool) { + o.IsSyncInProgress = &v +} + +// GetLicense returns the License field value if set, zero value otherwise. +func (o *RawPackageUploadResponse) GetLicense() string { + if o == nil || isNil(o.License) { + var ret string + return ret + } + return *o.License +} + +// GetLicenseOk returns a tuple with the License field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *RawPackageUploadResponse) GetLicenseOk() (*string, bool) { + if o == nil || isNil(o.License) { + return nil, false + } + return o.License, true +} + +// HasLicense returns a boolean if a field has been set. +func (o *RawPackageUploadResponse) HasLicense() bool { + if o != nil && !isNil(o.License) { + return true + } + + return false +} + +// SetLicense gets a reference to the given string and assigns it to the License field. +func (o *RawPackageUploadResponse) SetLicense(v string) { + o.License = &v +} + +// GetName returns the Name field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *RawPackageUploadResponse) GetName() string { + if o == nil || isNil(o.Name.Get()) { + var ret string + return ret + } + return *o.Name.Get() +} + +// GetNameOk returns a tuple with the Name field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *RawPackageUploadResponse) GetNameOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.Name.Get(), o.Name.IsSet() +} + +// HasName returns a boolean if a field has been set. +func (o *RawPackageUploadResponse) HasName() bool { + if o != nil && o.Name.IsSet() { + return true + } + + return false +} + +// SetName gets a reference to the given NullableString and assigns it to the Name field. +func (o *RawPackageUploadResponse) SetName(v string) { + o.Name.Set(&v) +} + +// SetNameNil sets the value for Name to be an explicit nil +func (o *RawPackageUploadResponse) SetNameNil() { + o.Name.Set(nil) +} + +// UnsetName ensures that no value is present for Name, not even an explicit nil +func (o *RawPackageUploadResponse) UnsetName() { + o.Name.Unset() +} + +// GetNamespace returns the Namespace field value if set, zero value otherwise. +func (o *RawPackageUploadResponse) GetNamespace() string { + if o == nil || isNil(o.Namespace) { + var ret string + return ret + } + return *o.Namespace +} + +// GetNamespaceOk returns a tuple with the Namespace field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *RawPackageUploadResponse) GetNamespaceOk() (*string, bool) { + if o == nil || isNil(o.Namespace) { + return nil, false + } + return o.Namespace, true +} + +// HasNamespace returns a boolean if a field has been set. +func (o *RawPackageUploadResponse) HasNamespace() bool { + if o != nil && !isNil(o.Namespace) { + return true + } + + return false +} + +// SetNamespace gets a reference to the given string and assigns it to the Namespace field. +func (o *RawPackageUploadResponse) SetNamespace(v string) { + o.Namespace = &v +} + +// GetNamespaceUrl returns the NamespaceUrl field value if set, zero value otherwise. +func (o *RawPackageUploadResponse) GetNamespaceUrl() string { + if o == nil || isNil(o.NamespaceUrl) { + var ret string + return ret + } + return *o.NamespaceUrl +} + +// GetNamespaceUrlOk returns a tuple with the NamespaceUrl field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *RawPackageUploadResponse) GetNamespaceUrlOk() (*string, bool) { + if o == nil || isNil(o.NamespaceUrl) { + return nil, false + } + return o.NamespaceUrl, true +} + +// HasNamespaceUrl returns a boolean if a field has been set. +func (o *RawPackageUploadResponse) HasNamespaceUrl() bool { + if o != nil && !isNil(o.NamespaceUrl) { + return true + } + + return false +} + +// SetNamespaceUrl gets a reference to the given string and assigns it to the NamespaceUrl field. +func (o *RawPackageUploadResponse) SetNamespaceUrl(v string) { + o.NamespaceUrl = &v +} + +// GetNumFiles returns the NumFiles field value if set, zero value otherwise. +func (o *RawPackageUploadResponse) GetNumFiles() int64 { + if o == nil || isNil(o.NumFiles) { + var ret int64 + return ret + } + return *o.NumFiles +} + +// GetNumFilesOk returns a tuple with the NumFiles field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *RawPackageUploadResponse) GetNumFilesOk() (*int64, bool) { + if o == nil || isNil(o.NumFiles) { + return nil, false + } + return o.NumFiles, true +} + +// HasNumFiles returns a boolean if a field has been set. +func (o *RawPackageUploadResponse) HasNumFiles() bool { + if o != nil && !isNil(o.NumFiles) { + return true + } + + return false +} + +// SetNumFiles gets a reference to the given int64 and assigns it to the NumFiles field. +func (o *RawPackageUploadResponse) SetNumFiles(v int64) { + o.NumFiles = &v +} + +// GetOriginRepository returns the OriginRepository field value if set, zero value otherwise. +func (o *RawPackageUploadResponse) GetOriginRepository() string { + if o == nil || isNil(o.OriginRepository) { + var ret string + return ret + } + return *o.OriginRepository +} + +// GetOriginRepositoryOk returns a tuple with the OriginRepository field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *RawPackageUploadResponse) GetOriginRepositoryOk() (*string, bool) { + if o == nil || isNil(o.OriginRepository) { + return nil, false + } + return o.OriginRepository, true +} + +// HasOriginRepository returns a boolean if a field has been set. +func (o *RawPackageUploadResponse) HasOriginRepository() bool { + if o != nil && !isNil(o.OriginRepository) { + return true + } + + return false +} + +// SetOriginRepository gets a reference to the given string and assigns it to the OriginRepository field. +func (o *RawPackageUploadResponse) SetOriginRepository(v string) { + o.OriginRepository = &v +} + +// GetOriginRepositoryUrl returns the OriginRepositoryUrl field value if set, zero value otherwise. +func (o *RawPackageUploadResponse) GetOriginRepositoryUrl() string { + if o == nil || isNil(o.OriginRepositoryUrl) { + var ret string + return ret + } + return *o.OriginRepositoryUrl +} + +// GetOriginRepositoryUrlOk returns a tuple with the OriginRepositoryUrl field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *RawPackageUploadResponse) GetOriginRepositoryUrlOk() (*string, bool) { + if o == nil || isNil(o.OriginRepositoryUrl) { + return nil, false + } + return o.OriginRepositoryUrl, true +} + +// HasOriginRepositoryUrl returns a boolean if a field has been set. +func (o *RawPackageUploadResponse) HasOriginRepositoryUrl() bool { + if o != nil && !isNil(o.OriginRepositoryUrl) { + return true + } + + return false +} + +// SetOriginRepositoryUrl gets a reference to the given string and assigns it to the OriginRepositoryUrl field. +func (o *RawPackageUploadResponse) SetOriginRepositoryUrl(v string) { + o.OriginRepositoryUrl = &v +} + +// GetPackageType returns the PackageType field value if set, zero value otherwise. +func (o *RawPackageUploadResponse) GetPackageType() int64 { + if o == nil || isNil(o.PackageType) { + var ret int64 + return ret + } + return *o.PackageType +} + +// GetPackageTypeOk returns a tuple with the PackageType field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *RawPackageUploadResponse) GetPackageTypeOk() (*int64, bool) { + if o == nil || isNil(o.PackageType) { + return nil, false + } + return o.PackageType, true +} + +// HasPackageType returns a boolean if a field has been set. +func (o *RawPackageUploadResponse) HasPackageType() bool { + if o != nil && !isNil(o.PackageType) { + return true + } + + return false +} + +// SetPackageType gets a reference to the given int64 and assigns it to the PackageType field. +func (o *RawPackageUploadResponse) SetPackageType(v int64) { + o.PackageType = &v +} + +// GetRelease returns the Release field value if set, zero value otherwise. +func (o *RawPackageUploadResponse) GetRelease() string { + if o == nil || isNil(o.Release) { + var ret string + return ret + } + return *o.Release +} + +// GetReleaseOk returns a tuple with the Release field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *RawPackageUploadResponse) GetReleaseOk() (*string, bool) { + if o == nil || isNil(o.Release) { + return nil, false + } + return o.Release, true +} + +// HasRelease returns a boolean if a field has been set. +func (o *RawPackageUploadResponse) HasRelease() bool { + if o != nil && !isNil(o.Release) { + return true + } + + return false +} + +// SetRelease gets a reference to the given string and assigns it to the Release field. +func (o *RawPackageUploadResponse) SetRelease(v string) { + o.Release = &v +} + +// GetRepository returns the Repository field value if set, zero value otherwise. +func (o *RawPackageUploadResponse) GetRepository() string { + if o == nil || isNil(o.Repository) { + var ret string + return ret + } + return *o.Repository +} + +// GetRepositoryOk returns a tuple with the Repository field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *RawPackageUploadResponse) GetRepositoryOk() (*string, bool) { + if o == nil || isNil(o.Repository) { + return nil, false + } + return o.Repository, true +} + +// HasRepository returns a boolean if a field has been set. +func (o *RawPackageUploadResponse) HasRepository() bool { + if o != nil && !isNil(o.Repository) { + return true + } + + return false +} + +// SetRepository gets a reference to the given string and assigns it to the Repository field. +func (o *RawPackageUploadResponse) SetRepository(v string) { + o.Repository = &v +} + +// GetRepositoryUrl returns the RepositoryUrl field value if set, zero value otherwise. +func (o *RawPackageUploadResponse) GetRepositoryUrl() string { + if o == nil || isNil(o.RepositoryUrl) { + var ret string + return ret + } + return *o.RepositoryUrl +} + +// GetRepositoryUrlOk returns a tuple with the RepositoryUrl field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *RawPackageUploadResponse) GetRepositoryUrlOk() (*string, bool) { + if o == nil || isNil(o.RepositoryUrl) { + return nil, false + } + return o.RepositoryUrl, true +} + +// HasRepositoryUrl returns a boolean if a field has been set. +func (o *RawPackageUploadResponse) HasRepositoryUrl() bool { + if o != nil && !isNil(o.RepositoryUrl) { + return true + } + + return false +} + +// SetRepositoryUrl gets a reference to the given string and assigns it to the RepositoryUrl field. +func (o *RawPackageUploadResponse) SetRepositoryUrl(v string) { + o.RepositoryUrl = &v +} + +// GetSecurityScanCompletedAt returns the SecurityScanCompletedAt field value if set, zero value otherwise. +func (o *RawPackageUploadResponse) GetSecurityScanCompletedAt() time.Time { + if o == nil || isNil(o.SecurityScanCompletedAt) { + var ret time.Time + return ret + } + return *o.SecurityScanCompletedAt +} + +// GetSecurityScanCompletedAtOk returns a tuple with the SecurityScanCompletedAt field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *RawPackageUploadResponse) GetSecurityScanCompletedAtOk() (*time.Time, bool) { + if o == nil || isNil(o.SecurityScanCompletedAt) { + return nil, false + } + return o.SecurityScanCompletedAt, true +} + +// HasSecurityScanCompletedAt returns a boolean if a field has been set. +func (o *RawPackageUploadResponse) HasSecurityScanCompletedAt() bool { + if o != nil && !isNil(o.SecurityScanCompletedAt) { + return true + } + + return false +} + +// SetSecurityScanCompletedAt gets a reference to the given time.Time and assigns it to the SecurityScanCompletedAt field. +func (o *RawPackageUploadResponse) SetSecurityScanCompletedAt(v time.Time) { + o.SecurityScanCompletedAt = &v +} + +// GetSecurityScanStartedAt returns the SecurityScanStartedAt field value if set, zero value otherwise. +func (o *RawPackageUploadResponse) GetSecurityScanStartedAt() time.Time { + if o == nil || isNil(o.SecurityScanStartedAt) { + var ret time.Time + return ret + } + return *o.SecurityScanStartedAt +} + +// GetSecurityScanStartedAtOk returns a tuple with the SecurityScanStartedAt field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *RawPackageUploadResponse) GetSecurityScanStartedAtOk() (*time.Time, bool) { + if o == nil || isNil(o.SecurityScanStartedAt) { + return nil, false + } + return o.SecurityScanStartedAt, true +} + +// HasSecurityScanStartedAt returns a boolean if a field has been set. +func (o *RawPackageUploadResponse) HasSecurityScanStartedAt() bool { + if o != nil && !isNil(o.SecurityScanStartedAt) { + return true + } + + return false +} + +// SetSecurityScanStartedAt gets a reference to the given time.Time and assigns it to the SecurityScanStartedAt field. +func (o *RawPackageUploadResponse) SetSecurityScanStartedAt(v time.Time) { + o.SecurityScanStartedAt = &v +} + +// GetSecurityScanStatus returns the SecurityScanStatus field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *RawPackageUploadResponse) GetSecurityScanStatus() string { + if o == nil || isNil(o.SecurityScanStatus.Get()) { + var ret string + return ret + } + return *o.SecurityScanStatus.Get() +} + +// GetSecurityScanStatusOk returns a tuple with the SecurityScanStatus 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 *RawPackageUploadResponse) GetSecurityScanStatusOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.SecurityScanStatus.Get(), o.SecurityScanStatus.IsSet() +} + +// HasSecurityScanStatus returns a boolean if a field has been set. +func (o *RawPackageUploadResponse) HasSecurityScanStatus() bool { + if o != nil && o.SecurityScanStatus.IsSet() { + return true + } + + return false +} + +// SetSecurityScanStatus gets a reference to the given NullableString and assigns it to the SecurityScanStatus field. +func (o *RawPackageUploadResponse) SetSecurityScanStatus(v string) { + o.SecurityScanStatus.Set(&v) +} + +// SetSecurityScanStatusNil sets the value for SecurityScanStatus to be an explicit nil +func (o *RawPackageUploadResponse) SetSecurityScanStatusNil() { + o.SecurityScanStatus.Set(nil) +} + +// UnsetSecurityScanStatus ensures that no value is present for SecurityScanStatus, not even an explicit nil +func (o *RawPackageUploadResponse) UnsetSecurityScanStatus() { + o.SecurityScanStatus.Unset() +} + +// GetSecurityScanStatusUpdatedAt returns the SecurityScanStatusUpdatedAt field value if set, zero value otherwise. +func (o *RawPackageUploadResponse) GetSecurityScanStatusUpdatedAt() time.Time { + if o == nil || isNil(o.SecurityScanStatusUpdatedAt) { + var ret time.Time + return ret + } + return *o.SecurityScanStatusUpdatedAt +} + +// GetSecurityScanStatusUpdatedAtOk returns a tuple with the SecurityScanStatusUpdatedAt field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *RawPackageUploadResponse) GetSecurityScanStatusUpdatedAtOk() (*time.Time, bool) { + if o == nil || isNil(o.SecurityScanStatusUpdatedAt) { + return nil, false + } + return o.SecurityScanStatusUpdatedAt, true +} + +// HasSecurityScanStatusUpdatedAt returns a boolean if a field has been set. +func (o *RawPackageUploadResponse) HasSecurityScanStatusUpdatedAt() bool { + if o != nil && !isNil(o.SecurityScanStatusUpdatedAt) { + return true + } + + return false +} + +// SetSecurityScanStatusUpdatedAt gets a reference to the given time.Time and assigns it to the SecurityScanStatusUpdatedAt field. +func (o *RawPackageUploadResponse) SetSecurityScanStatusUpdatedAt(v time.Time) { + o.SecurityScanStatusUpdatedAt = &v +} + +// GetSelfHtmlUrl returns the SelfHtmlUrl field value if set, zero value otherwise. +func (o *RawPackageUploadResponse) GetSelfHtmlUrl() string { + if o == nil || isNil(o.SelfHtmlUrl) { + var ret string + return ret + } + return *o.SelfHtmlUrl +} + +// GetSelfHtmlUrlOk returns a tuple with the SelfHtmlUrl field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *RawPackageUploadResponse) GetSelfHtmlUrlOk() (*string, bool) { + if o == nil || isNil(o.SelfHtmlUrl) { + return nil, false + } + return o.SelfHtmlUrl, true +} + +// HasSelfHtmlUrl returns a boolean if a field has been set. +func (o *RawPackageUploadResponse) HasSelfHtmlUrl() bool { + if o != nil && !isNil(o.SelfHtmlUrl) { + return true + } + + return false +} + +// SetSelfHtmlUrl gets a reference to the given string and assigns it to the SelfHtmlUrl field. +func (o *RawPackageUploadResponse) SetSelfHtmlUrl(v string) { + o.SelfHtmlUrl = &v +} + +// GetSelfUrl returns the SelfUrl field value if set, zero value otherwise. +func (o *RawPackageUploadResponse) GetSelfUrl() string { + if o == nil || isNil(o.SelfUrl) { + var ret string + return ret + } + return *o.SelfUrl +} + +// GetSelfUrlOk returns a tuple with the SelfUrl field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *RawPackageUploadResponse) GetSelfUrlOk() (*string, bool) { + if o == nil || isNil(o.SelfUrl) { + return nil, false + } + return o.SelfUrl, true +} + +// HasSelfUrl returns a boolean if a field has been set. +func (o *RawPackageUploadResponse) HasSelfUrl() bool { + if o != nil && !isNil(o.SelfUrl) { + return true + } + + return false +} + +// SetSelfUrl gets a reference to the given string and assigns it to the SelfUrl field. +func (o *RawPackageUploadResponse) SetSelfUrl(v string) { + o.SelfUrl = &v +} + +// GetSignatureUrl returns the SignatureUrl field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *RawPackageUploadResponse) GetSignatureUrl() string { + if o == nil || isNil(o.SignatureUrl.Get()) { + var ret string + return ret + } + return *o.SignatureUrl.Get() +} + +// GetSignatureUrlOk returns a tuple with the SignatureUrl 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 *RawPackageUploadResponse) GetSignatureUrlOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.SignatureUrl.Get(), o.SignatureUrl.IsSet() +} + +// HasSignatureUrl returns a boolean if a field has been set. +func (o *RawPackageUploadResponse) HasSignatureUrl() bool { + if o != nil && o.SignatureUrl.IsSet() { + return true + } + + return false +} + +// SetSignatureUrl gets a reference to the given NullableString and assigns it to the SignatureUrl field. +func (o *RawPackageUploadResponse) SetSignatureUrl(v string) { + o.SignatureUrl.Set(&v) +} + +// SetSignatureUrlNil sets the value for SignatureUrl to be an explicit nil +func (o *RawPackageUploadResponse) SetSignatureUrlNil() { + o.SignatureUrl.Set(nil) +} + +// UnsetSignatureUrl ensures that no value is present for SignatureUrl, not even an explicit nil +func (o *RawPackageUploadResponse) UnsetSignatureUrl() { + o.SignatureUrl.Unset() +} + +// GetSize returns the Size field value if set, zero value otherwise. +func (o *RawPackageUploadResponse) GetSize() int64 { + if o == nil || isNil(o.Size) { + var ret int64 + return ret + } + return *o.Size +} + +// GetSizeOk returns a tuple with the Size field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *RawPackageUploadResponse) GetSizeOk() (*int64, bool) { + if o == nil || isNil(o.Size) { + return nil, false + } + return o.Size, true +} + +// HasSize returns a boolean if a field has been set. +func (o *RawPackageUploadResponse) HasSize() bool { + if o != nil && !isNil(o.Size) { + return true + } + + return false +} + +// SetSize gets a reference to the given int64 and assigns it to the Size field. +func (o *RawPackageUploadResponse) SetSize(v int64) { + o.Size = &v +} + +// GetSlug returns the Slug field value if set, zero value otherwise. +func (o *RawPackageUploadResponse) GetSlug() string { + if o == nil || isNil(o.Slug) { + var ret string + return ret + } + return *o.Slug +} + +// GetSlugOk returns a tuple with the Slug field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *RawPackageUploadResponse) GetSlugOk() (*string, bool) { + if o == nil || isNil(o.Slug) { + return nil, false + } + return o.Slug, true +} + +// HasSlug returns a boolean if a field has been set. +func (o *RawPackageUploadResponse) HasSlug() bool { + if o != nil && !isNil(o.Slug) { + return true + } + + return false +} + +// SetSlug gets a reference to the given string and assigns it to the Slug field. +func (o *RawPackageUploadResponse) SetSlug(v string) { + o.Slug = &v +} + +// GetSlugPerm returns the SlugPerm field value if set, zero value otherwise. +func (o *RawPackageUploadResponse) GetSlugPerm() string { + if o == nil || isNil(o.SlugPerm) { + var ret string + return ret + } + return *o.SlugPerm +} + +// GetSlugPermOk returns a tuple with the SlugPerm field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *RawPackageUploadResponse) GetSlugPermOk() (*string, bool) { + if o == nil || isNil(o.SlugPerm) { + return nil, false + } + return o.SlugPerm, true +} + +// HasSlugPerm returns a boolean if a field has been set. +func (o *RawPackageUploadResponse) HasSlugPerm() bool { + if o != nil && !isNil(o.SlugPerm) { + return true + } + + return false +} + +// SetSlugPerm gets a reference to the given string and assigns it to the SlugPerm field. +func (o *RawPackageUploadResponse) SetSlugPerm(v string) { + o.SlugPerm = &v +} + +// GetStage returns the Stage field value if set, zero value otherwise. +func (o *RawPackageUploadResponse) GetStage() int64 { + if o == nil || isNil(o.Stage) { + var ret int64 + return ret + } + return *o.Stage +} + +// GetStageOk returns a tuple with the Stage field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *RawPackageUploadResponse) GetStageOk() (*int64, bool) { + if o == nil || isNil(o.Stage) { + return nil, false + } + return o.Stage, true +} + +// HasStage returns a boolean if a field has been set. +func (o *RawPackageUploadResponse) HasStage() bool { + if o != nil && !isNil(o.Stage) { + return true + } + + return false +} + +// SetStage gets a reference to the given int64 and assigns it to the Stage field. +func (o *RawPackageUploadResponse) SetStage(v int64) { + o.Stage = &v +} + +// GetStageStr returns the StageStr field value if set, zero value otherwise. +func (o *RawPackageUploadResponse) GetStageStr() string { + if o == nil || isNil(o.StageStr) { + var ret string + return ret + } + return *o.StageStr +} + +// GetStageStrOk returns a tuple with the StageStr field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *RawPackageUploadResponse) GetStageStrOk() (*string, bool) { + if o == nil || isNil(o.StageStr) { + return nil, false + } + return o.StageStr, true +} + +// HasStageStr returns a boolean if a field has been set. +func (o *RawPackageUploadResponse) HasStageStr() bool { + if o != nil && !isNil(o.StageStr) { + return true + } + + return false +} + +// SetStageStr gets a reference to the given string and assigns it to the StageStr field. +func (o *RawPackageUploadResponse) SetStageStr(v string) { + o.StageStr = &v +} + +// GetStageUpdatedAt returns the StageUpdatedAt field value if set, zero value otherwise. +func (o *RawPackageUploadResponse) GetStageUpdatedAt() time.Time { + if o == nil || isNil(o.StageUpdatedAt) { + var ret time.Time + return ret + } + return *o.StageUpdatedAt +} + +// GetStageUpdatedAtOk returns a tuple with the StageUpdatedAt field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *RawPackageUploadResponse) GetStageUpdatedAtOk() (*time.Time, bool) { + if o == nil || isNil(o.StageUpdatedAt) { + return nil, false + } + return o.StageUpdatedAt, true +} + +// HasStageUpdatedAt returns a boolean if a field has been set. +func (o *RawPackageUploadResponse) HasStageUpdatedAt() bool { + if o != nil && !isNil(o.StageUpdatedAt) { + return true + } + + return false +} + +// SetStageUpdatedAt gets a reference to the given time.Time and assigns it to the StageUpdatedAt field. +func (o *RawPackageUploadResponse) SetStageUpdatedAt(v time.Time) { + o.StageUpdatedAt = &v +} + +// GetStatus returns the Status field value if set, zero value otherwise. +func (o *RawPackageUploadResponse) GetStatus() int64 { + if o == nil || isNil(o.Status) { + var ret int64 + return ret + } + return *o.Status +} + +// GetStatusOk returns a tuple with the Status field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *RawPackageUploadResponse) GetStatusOk() (*int64, bool) { + if o == nil || isNil(o.Status) { + return nil, false + } + return o.Status, true +} + +// HasStatus returns a boolean if a field has been set. +func (o *RawPackageUploadResponse) HasStatus() bool { + if o != nil && !isNil(o.Status) { + return true + } + + return false +} + +// SetStatus gets a reference to the given int64 and assigns it to the Status field. +func (o *RawPackageUploadResponse) SetStatus(v int64) { + o.Status = &v +} + +// GetStatusReason returns the StatusReason field value if set, zero value otherwise. +func (o *RawPackageUploadResponse) GetStatusReason() string { + if o == nil || isNil(o.StatusReason) { + var ret string + return ret + } + return *o.StatusReason +} + +// GetStatusReasonOk returns a tuple with the StatusReason field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *RawPackageUploadResponse) GetStatusReasonOk() (*string, bool) { + if o == nil || isNil(o.StatusReason) { + return nil, false + } + return o.StatusReason, true +} + +// HasStatusReason returns a boolean if a field has been set. +func (o *RawPackageUploadResponse) HasStatusReason() bool { + if o != nil && !isNil(o.StatusReason) { + return true + } + + return false +} + +// SetStatusReason gets a reference to the given string and assigns it to the StatusReason field. +func (o *RawPackageUploadResponse) SetStatusReason(v string) { + o.StatusReason = &v +} + +// GetStatusStr returns the StatusStr field value if set, zero value otherwise. +func (o *RawPackageUploadResponse) GetStatusStr() string { + if o == nil || isNil(o.StatusStr) { + var ret string + return ret + } + return *o.StatusStr +} + +// GetStatusStrOk returns a tuple with the StatusStr field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *RawPackageUploadResponse) GetStatusStrOk() (*string, bool) { + if o == nil || isNil(o.StatusStr) { + return nil, false + } + return o.StatusStr, true +} + +// HasStatusStr returns a boolean if a field has been set. +func (o *RawPackageUploadResponse) HasStatusStr() bool { + if o != nil && !isNil(o.StatusStr) { + return true + } + + return false +} + +// SetStatusStr gets a reference to the given string and assigns it to the StatusStr field. +func (o *RawPackageUploadResponse) SetStatusStr(v string) { + o.StatusStr = &v +} + +// GetStatusUpdatedAt returns the StatusUpdatedAt field value if set, zero value otherwise. +func (o *RawPackageUploadResponse) GetStatusUpdatedAt() time.Time { + if o == nil || isNil(o.StatusUpdatedAt) { + var ret time.Time + return ret + } + return *o.StatusUpdatedAt +} + +// GetStatusUpdatedAtOk returns a tuple with the StatusUpdatedAt field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *RawPackageUploadResponse) GetStatusUpdatedAtOk() (*time.Time, bool) { + if o == nil || isNil(o.StatusUpdatedAt) { + return nil, false + } + return o.StatusUpdatedAt, true +} + +// HasStatusUpdatedAt returns a boolean if a field has been set. +func (o *RawPackageUploadResponse) HasStatusUpdatedAt() bool { + if o != nil && !isNil(o.StatusUpdatedAt) { + return true + } + + return false +} + +// SetStatusUpdatedAt gets a reference to the given time.Time and assigns it to the StatusUpdatedAt field. +func (o *RawPackageUploadResponse) SetStatusUpdatedAt(v time.Time) { + o.StatusUpdatedAt = &v +} + +// GetStatusUrl returns the StatusUrl field value if set, zero value otherwise. +func (o *RawPackageUploadResponse) GetStatusUrl() string { + if o == nil || isNil(o.StatusUrl) { + var ret string + return ret + } + return *o.StatusUrl +} + +// GetStatusUrlOk returns a tuple with the StatusUrl field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *RawPackageUploadResponse) GetStatusUrlOk() (*string, bool) { + if o == nil || isNil(o.StatusUrl) { + return nil, false + } + return o.StatusUrl, true +} + +// HasStatusUrl returns a boolean if a field has been set. +func (o *RawPackageUploadResponse) HasStatusUrl() bool { + if o != nil && !isNil(o.StatusUrl) { + return true + } + + return false +} + +// SetStatusUrl gets a reference to the given string and assigns it to the StatusUrl field. +func (o *RawPackageUploadResponse) SetStatusUrl(v string) { + o.StatusUrl = &v +} + +// GetSubtype returns the Subtype field value if set, zero value otherwise. +func (o *RawPackageUploadResponse) GetSubtype() string { + if o == nil || isNil(o.Subtype) { + var ret string + return ret + } + return *o.Subtype +} + +// GetSubtypeOk returns a tuple with the Subtype field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *RawPackageUploadResponse) GetSubtypeOk() (*string, bool) { + if o == nil || isNil(o.Subtype) { + return nil, false + } + return o.Subtype, true +} + +// HasSubtype returns a boolean if a field has been set. +func (o *RawPackageUploadResponse) HasSubtype() bool { + if o != nil && !isNil(o.Subtype) { + return true + } + + return false +} + +// SetSubtype gets a reference to the given string and assigns it to the Subtype field. +func (o *RawPackageUploadResponse) SetSubtype(v string) { + o.Subtype = &v +} + +// GetSummary returns the Summary field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *RawPackageUploadResponse) GetSummary() string { + if o == nil || isNil(o.Summary.Get()) { + var ret string + return ret + } + return *o.Summary.Get() +} + +// GetSummaryOk returns a tuple with the Summary 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 *RawPackageUploadResponse) GetSummaryOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.Summary.Get(), o.Summary.IsSet() +} + +// HasSummary returns a boolean if a field has been set. +func (o *RawPackageUploadResponse) HasSummary() bool { + if o != nil && o.Summary.IsSet() { + return true + } + + return false +} + +// SetSummary gets a reference to the given NullableString and assigns it to the Summary field. +func (o *RawPackageUploadResponse) SetSummary(v string) { + o.Summary.Set(&v) +} + +// SetSummaryNil sets the value for Summary to be an explicit nil +func (o *RawPackageUploadResponse) SetSummaryNil() { + o.Summary.Set(nil) +} + +// UnsetSummary ensures that no value is present for Summary, not even an explicit nil +func (o *RawPackageUploadResponse) UnsetSummary() { + o.Summary.Unset() +} + +// GetSyncFinishedAt returns the SyncFinishedAt field value if set, zero value otherwise. +func (o *RawPackageUploadResponse) GetSyncFinishedAt() time.Time { + if o == nil || isNil(o.SyncFinishedAt) { + var ret time.Time + return ret + } + return *o.SyncFinishedAt +} + +// GetSyncFinishedAtOk returns a tuple with the SyncFinishedAt field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *RawPackageUploadResponse) GetSyncFinishedAtOk() (*time.Time, bool) { + if o == nil || isNil(o.SyncFinishedAt) { + return nil, false + } + return o.SyncFinishedAt, true +} + +// HasSyncFinishedAt returns a boolean if a field has been set. +func (o *RawPackageUploadResponse) HasSyncFinishedAt() bool { + if o != nil && !isNil(o.SyncFinishedAt) { + return true + } + + return false +} + +// SetSyncFinishedAt gets a reference to the given time.Time and assigns it to the SyncFinishedAt field. +func (o *RawPackageUploadResponse) SetSyncFinishedAt(v time.Time) { + o.SyncFinishedAt = &v +} + +// GetSyncProgress returns the SyncProgress field value if set, zero value otherwise. +func (o *RawPackageUploadResponse) GetSyncProgress() int64 { + if o == nil || isNil(o.SyncProgress) { + var ret int64 + return ret + } + return *o.SyncProgress +} + +// GetSyncProgressOk returns a tuple with the SyncProgress field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *RawPackageUploadResponse) GetSyncProgressOk() (*int64, bool) { + if o == nil || isNil(o.SyncProgress) { + return nil, false + } + return o.SyncProgress, true +} + +// HasSyncProgress returns a boolean if a field has been set. +func (o *RawPackageUploadResponse) HasSyncProgress() bool { + if o != nil && !isNil(o.SyncProgress) { + return true + } + + return false +} + +// SetSyncProgress gets a reference to the given int64 and assigns it to the SyncProgress field. +func (o *RawPackageUploadResponse) SetSyncProgress(v int64) { + o.SyncProgress = &v +} + +// GetTagsImmutable returns the TagsImmutable field value if set, zero value otherwise. +func (o *RawPackageUploadResponse) GetTagsImmutable() map[string]interface{} { + if o == nil || isNil(o.TagsImmutable) { + var ret map[string]interface{} + return ret + } + return o.TagsImmutable +} + +// GetTagsImmutableOk returns a tuple with the TagsImmutable field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *RawPackageUploadResponse) GetTagsImmutableOk() (map[string]interface{}, bool) { + if o == nil || isNil(o.TagsImmutable) { + return map[string]interface{}{}, false + } + return o.TagsImmutable, true +} + +// HasTagsImmutable returns a boolean if a field has been set. +func (o *RawPackageUploadResponse) HasTagsImmutable() bool { + if o != nil && !isNil(o.TagsImmutable) { + return true + } + + return false +} + +// SetTagsImmutable gets a reference to the given map[string]interface{} and assigns it to the TagsImmutable field. +func (o *RawPackageUploadResponse) SetTagsImmutable(v map[string]interface{}) { + o.TagsImmutable = v +} + +// GetTypeDisplay returns the TypeDisplay field value if set, zero value otherwise. +func (o *RawPackageUploadResponse) GetTypeDisplay() string { + if o == nil || isNil(o.TypeDisplay) { + var ret string + return ret + } + return *o.TypeDisplay +} + +// GetTypeDisplayOk returns a tuple with the TypeDisplay field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *RawPackageUploadResponse) GetTypeDisplayOk() (*string, bool) { + if o == nil || isNil(o.TypeDisplay) { + return nil, false + } + return o.TypeDisplay, true +} + +// HasTypeDisplay returns a boolean if a field has been set. +func (o *RawPackageUploadResponse) HasTypeDisplay() bool { + if o != nil && !isNil(o.TypeDisplay) { + return true + } + + return false +} + +// SetTypeDisplay gets a reference to the given string and assigns it to the TypeDisplay field. +func (o *RawPackageUploadResponse) SetTypeDisplay(v string) { + o.TypeDisplay = &v +} + +// GetUploadedAt returns the UploadedAt field value if set, zero value otherwise. +func (o *RawPackageUploadResponse) GetUploadedAt() time.Time { + if o == nil || isNil(o.UploadedAt) { + var ret time.Time + return ret + } + return *o.UploadedAt +} + +// GetUploadedAtOk returns a tuple with the UploadedAt field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *RawPackageUploadResponse) GetUploadedAtOk() (*time.Time, bool) { + if o == nil || isNil(o.UploadedAt) { + return nil, false + } + return o.UploadedAt, true +} + +// HasUploadedAt returns a boolean if a field has been set. +func (o *RawPackageUploadResponse) HasUploadedAt() bool { + if o != nil && !isNil(o.UploadedAt) { + return true + } + + return false +} + +// SetUploadedAt gets a reference to the given time.Time and assigns it to the UploadedAt field. +func (o *RawPackageUploadResponse) SetUploadedAt(v time.Time) { + o.UploadedAt = &v +} + +// GetUploader returns the Uploader field value if set, zero value otherwise. +func (o *RawPackageUploadResponse) GetUploader() string { + if o == nil || isNil(o.Uploader) { + var ret string + return ret + } + return *o.Uploader +} + +// GetUploaderOk returns a tuple with the Uploader field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *RawPackageUploadResponse) GetUploaderOk() (*string, bool) { + if o == nil || isNil(o.Uploader) { + return nil, false + } + return o.Uploader, true +} + +// HasUploader returns a boolean if a field has been set. +func (o *RawPackageUploadResponse) HasUploader() bool { + if o != nil && !isNil(o.Uploader) { + return true + } + + return false +} + +// SetUploader gets a reference to the given string and assigns it to the Uploader field. +func (o *RawPackageUploadResponse) SetUploader(v string) { + o.Uploader = &v +} + +// GetUploaderUrl returns the UploaderUrl field value if set, zero value otherwise. +func (o *RawPackageUploadResponse) GetUploaderUrl() string { + if o == nil || isNil(o.UploaderUrl) { + var ret string + return ret + } + return *o.UploaderUrl +} + +// GetUploaderUrlOk returns a tuple with the UploaderUrl field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *RawPackageUploadResponse) GetUploaderUrlOk() (*string, bool) { + if o == nil || isNil(o.UploaderUrl) { + return nil, false + } + return o.UploaderUrl, true +} + +// HasUploaderUrl returns a boolean if a field has been set. +func (o *RawPackageUploadResponse) HasUploaderUrl() bool { + if o != nil && !isNil(o.UploaderUrl) { + return true + } + + return false +} + +// SetUploaderUrl gets a reference to the given string and assigns it to the UploaderUrl field. +func (o *RawPackageUploadResponse) SetUploaderUrl(v string) { + o.UploaderUrl = &v +} + +// GetVersion returns the Version field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *RawPackageUploadResponse) GetVersion() string { + if o == nil || isNil(o.Version.Get()) { + var ret string + return ret + } + return *o.Version.Get() +} + +// GetVersionOk returns a tuple with the Version 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 *RawPackageUploadResponse) GetVersionOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.Version.Get(), o.Version.IsSet() +} + +// HasVersion returns a boolean if a field has been set. +func (o *RawPackageUploadResponse) HasVersion() bool { + if o != nil && o.Version.IsSet() { + return true + } + + return false +} + +// SetVersion gets a reference to the given NullableString and assigns it to the Version field. +func (o *RawPackageUploadResponse) SetVersion(v string) { + o.Version.Set(&v) +} + +// SetVersionNil sets the value for Version to be an explicit nil +func (o *RawPackageUploadResponse) SetVersionNil() { + o.Version.Set(nil) +} + +// UnsetVersion ensures that no value is present for Version, not even an explicit nil +func (o *RawPackageUploadResponse) UnsetVersion() { + o.Version.Unset() +} + +// GetVersionOrig returns the VersionOrig field value if set, zero value otherwise. +func (o *RawPackageUploadResponse) GetVersionOrig() string { + if o == nil || isNil(o.VersionOrig) { + var ret string + return ret + } + return *o.VersionOrig +} + +// GetVersionOrigOk returns a tuple with the VersionOrig field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *RawPackageUploadResponse) GetVersionOrigOk() (*string, bool) { + if o == nil || isNil(o.VersionOrig) { + return nil, false + } + return o.VersionOrig, true +} + +// HasVersionOrig returns a boolean if a field has been set. +func (o *RawPackageUploadResponse) HasVersionOrig() bool { + if o != nil && !isNil(o.VersionOrig) { + return true + } + + return false +} + +// SetVersionOrig gets a reference to the given string and assigns it to the VersionOrig field. +func (o *RawPackageUploadResponse) SetVersionOrig(v string) { + o.VersionOrig = &v +} + +// GetVulnerabilityScanResultsUrl returns the VulnerabilityScanResultsUrl field value if set, zero value otherwise. +func (o *RawPackageUploadResponse) GetVulnerabilityScanResultsUrl() string { + if o == nil || isNil(o.VulnerabilityScanResultsUrl) { + var ret string + return ret + } + return *o.VulnerabilityScanResultsUrl +} + +// GetVulnerabilityScanResultsUrlOk returns a tuple with the VulnerabilityScanResultsUrl field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *RawPackageUploadResponse) GetVulnerabilityScanResultsUrlOk() (*string, bool) { + if o == nil || isNil(o.VulnerabilityScanResultsUrl) { + return nil, false + } + return o.VulnerabilityScanResultsUrl, true +} + +// HasVulnerabilityScanResultsUrl returns a boolean if a field has been set. +func (o *RawPackageUploadResponse) HasVulnerabilityScanResultsUrl() bool { + if o != nil && !isNil(o.VulnerabilityScanResultsUrl) { + return true + } + + return false +} + +// SetVulnerabilityScanResultsUrl gets a reference to the given string and assigns it to the VulnerabilityScanResultsUrl field. +func (o *RawPackageUploadResponse) SetVulnerabilityScanResultsUrl(v string) { + o.VulnerabilityScanResultsUrl = &v +} + +func (o RawPackageUploadResponse) MarshalJSON() ([]byte, error) { + toSerialize := map[string]interface{}{} + if !isNil(o.Architectures) { + toSerialize["architectures"] = o.Architectures + } + if o.CdnUrl.IsSet() { + toSerialize["cdn_url"] = o.CdnUrl.Get() + } + if !isNil(o.ChecksumMd5) { + toSerialize["checksum_md5"] = o.ChecksumMd5 + } + if !isNil(o.ChecksumSha1) { + toSerialize["checksum_sha1"] = o.ChecksumSha1 + } + if !isNil(o.ChecksumSha256) { + toSerialize["checksum_sha256"] = o.ChecksumSha256 + } + if !isNil(o.ChecksumSha512) { + toSerialize["checksum_sha512"] = o.ChecksumSha512 + } + if !isNil(o.DependenciesChecksumMd5) { + toSerialize["dependencies_checksum_md5"] = o.DependenciesChecksumMd5 + } + if !isNil(o.DependenciesUrl) { + toSerialize["dependencies_url"] = o.DependenciesUrl + } + if o.Description.IsSet() { + toSerialize["description"] = o.Description.Get() + } + if o.Distro.IsSet() { + toSerialize["distro"] = o.Distro.Get() + } + if !isNil(o.DistroVersion) { + toSerialize["distro_version"] = o.DistroVersion + } + if !isNil(o.Downloads) { + toSerialize["downloads"] = o.Downloads + } + if !isNil(o.Epoch) { + toSerialize["epoch"] = o.Epoch + } + if !isNil(o.Extension) { + toSerialize["extension"] = o.Extension + } + if !isNil(o.Filename) { + toSerialize["filename"] = o.Filename + } + if !isNil(o.Files) { + toSerialize["files"] = o.Files + } + if !isNil(o.Format) { + toSerialize["format"] = o.Format + } + if !isNil(o.FormatUrl) { + toSerialize["format_url"] = o.FormatUrl + } + if !isNil(o.IdentifierPerm) { + toSerialize["identifier_perm"] = o.IdentifierPerm + } + if !isNil(o.Indexed) { + toSerialize["indexed"] = o.Indexed + } + if !isNil(o.IsDownloadable) { + toSerialize["is_downloadable"] = o.IsDownloadable + } + if !isNil(o.IsQuarantined) { + toSerialize["is_quarantined"] = o.IsQuarantined + } + if !isNil(o.IsSyncAwaiting) { + toSerialize["is_sync_awaiting"] = o.IsSyncAwaiting + } + if !isNil(o.IsSyncCompleted) { + toSerialize["is_sync_completed"] = o.IsSyncCompleted + } + if !isNil(o.IsSyncFailed) { + toSerialize["is_sync_failed"] = o.IsSyncFailed + } + if !isNil(o.IsSyncInFlight) { + toSerialize["is_sync_in_flight"] = o.IsSyncInFlight + } + if !isNil(o.IsSyncInProgress) { + toSerialize["is_sync_in_progress"] = o.IsSyncInProgress + } + if !isNil(o.License) { + toSerialize["license"] = o.License + } + if o.Name.IsSet() { + toSerialize["name"] = o.Name.Get() + } + if !isNil(o.Namespace) { + toSerialize["namespace"] = o.Namespace + } + if !isNil(o.NamespaceUrl) { + toSerialize["namespace_url"] = o.NamespaceUrl + } + if !isNil(o.NumFiles) { + toSerialize["num_files"] = o.NumFiles + } + if !isNil(o.OriginRepository) { + toSerialize["origin_repository"] = o.OriginRepository + } + if !isNil(o.OriginRepositoryUrl) { + toSerialize["origin_repository_url"] = o.OriginRepositoryUrl + } + if !isNil(o.PackageType) { + toSerialize["package_type"] = o.PackageType + } + if !isNil(o.Release) { + toSerialize["release"] = o.Release + } + if !isNil(o.Repository) { + toSerialize["repository"] = o.Repository + } + if !isNil(o.RepositoryUrl) { + toSerialize["repository_url"] = o.RepositoryUrl + } + if !isNil(o.SecurityScanCompletedAt) { + toSerialize["security_scan_completed_at"] = o.SecurityScanCompletedAt + } + if !isNil(o.SecurityScanStartedAt) { + toSerialize["security_scan_started_at"] = o.SecurityScanStartedAt + } + if o.SecurityScanStatus.IsSet() { + toSerialize["security_scan_status"] = o.SecurityScanStatus.Get() + } + if !isNil(o.SecurityScanStatusUpdatedAt) { + toSerialize["security_scan_status_updated_at"] = o.SecurityScanStatusUpdatedAt + } + if !isNil(o.SelfHtmlUrl) { + toSerialize["self_html_url"] = o.SelfHtmlUrl + } + if !isNil(o.SelfUrl) { + toSerialize["self_url"] = o.SelfUrl + } + if o.SignatureUrl.IsSet() { + toSerialize["signature_url"] = o.SignatureUrl.Get() + } + if !isNil(o.Size) { + toSerialize["size"] = o.Size + } + if !isNil(o.Slug) { + toSerialize["slug"] = o.Slug + } + if !isNil(o.SlugPerm) { + toSerialize["slug_perm"] = o.SlugPerm + } + if !isNil(o.Stage) { + toSerialize["stage"] = o.Stage + } + if !isNil(o.StageStr) { + toSerialize["stage_str"] = o.StageStr + } + if !isNil(o.StageUpdatedAt) { + toSerialize["stage_updated_at"] = o.StageUpdatedAt + } + if !isNil(o.Status) { + toSerialize["status"] = o.Status + } + if !isNil(o.StatusReason) { + toSerialize["status_reason"] = o.StatusReason + } + if !isNil(o.StatusStr) { + toSerialize["status_str"] = o.StatusStr + } + if !isNil(o.StatusUpdatedAt) { + toSerialize["status_updated_at"] = o.StatusUpdatedAt + } + if !isNil(o.StatusUrl) { + toSerialize["status_url"] = o.StatusUrl + } + if !isNil(o.Subtype) { + toSerialize["subtype"] = o.Subtype + } + if o.Summary.IsSet() { + toSerialize["summary"] = o.Summary.Get() + } + if !isNil(o.SyncFinishedAt) { + toSerialize["sync_finished_at"] = o.SyncFinishedAt + } + if !isNil(o.SyncProgress) { + toSerialize["sync_progress"] = o.SyncProgress + } + if !isNil(o.TagsImmutable) { + toSerialize["tags_immutable"] = o.TagsImmutable + } + if !isNil(o.TypeDisplay) { + toSerialize["type_display"] = o.TypeDisplay + } + if !isNil(o.UploadedAt) { + toSerialize["uploaded_at"] = o.UploadedAt + } + if !isNil(o.Uploader) { + toSerialize["uploader"] = o.Uploader + } + if !isNil(o.UploaderUrl) { + toSerialize["uploader_url"] = o.UploaderUrl + } + if o.Version.IsSet() { + toSerialize["version"] = o.Version.Get() + } + if !isNil(o.VersionOrig) { + toSerialize["version_orig"] = o.VersionOrig + } + if !isNil(o.VulnerabilityScanResultsUrl) { + toSerialize["vulnerability_scan_results_url"] = o.VulnerabilityScanResultsUrl + } + return json.Marshal(toSerialize) +} + +type NullableRawPackageUploadResponse struct { + value *RawPackageUploadResponse + isSet bool +} + +func (v NullableRawPackageUploadResponse) Get() *RawPackageUploadResponse { + return v.value +} + +func (v *NullableRawPackageUploadResponse) Set(val *RawPackageUploadResponse) { + v.value = val + v.isSet = true +} + +func (v NullableRawPackageUploadResponse) IsSet() bool { + return v.isSet +} + +func (v *NullableRawPackageUploadResponse) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableRawPackageUploadResponse(val *RawPackageUploadResponse) *NullableRawPackageUploadResponse { + return &NullableRawPackageUploadResponse{value: val, isSet: true} +} + +func (v NullableRawPackageUploadResponse) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableRawPackageUploadResponse) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} diff --git a/model_repository_audit_log.go b/model_repository_audit_log.go deleted file mode 100644 index 6e14ff70..00000000 --- a/model_repository_audit_log.go +++ /dev/null @@ -1,489 +0,0 @@ -/* -Cloudsmith API - -The API to the Cloudsmith Service - -API version: 1.121.3 -Contact: support@cloudsmith.io -*/ - -// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. - -package cloudsmith - -import ( - "encoding/json" -) - -// RepositoryAuditLog struct for RepositoryAuditLog -type RepositoryAuditLog struct { - // - Actor string `json:"actor"` - // - ActorIpAddress string `json:"actor_ip_address"` - // - ActorKind *string `json:"actor_kind,omitempty"` - // - ActorLocation map[string]interface{} `json:"actor_location"` - // - ActorSlugPerm string `json:"actor_slug_perm"` - // - ActorUrl *string `json:"actor_url,omitempty"` - // - Context string `json:"context"` - // - Event string `json:"event"` - // - EventAt string `json:"event_at"` - // - Object string `json:"object"` - // - ObjectKind string `json:"object_kind"` - // - ObjectSlugPerm string `json:"object_slug_perm"` - // - Uuid *string `json:"uuid,omitempty"` -} - -// NewRepositoryAuditLog instantiates a new RepositoryAuditLog object -// 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 NewRepositoryAuditLog(actor string, actorIpAddress string, actorLocation map[string]interface{}, actorSlugPerm string, context string, event string, eventAt string, object string, objectKind string, objectSlugPerm string) *RepositoryAuditLog { - this := RepositoryAuditLog{} - this.Actor = actor - this.ActorIpAddress = actorIpAddress - this.ActorLocation = actorLocation - this.ActorSlugPerm = actorSlugPerm - this.Context = context - this.Event = event - this.EventAt = eventAt - this.Object = object - this.ObjectKind = objectKind - this.ObjectSlugPerm = objectSlugPerm - return &this -} - -// NewRepositoryAuditLogWithDefaults instantiates a new RepositoryAuditLog object -// This constructor will only assign default values to properties that have it defined, -// but it doesn't guarantee that properties required by API are set -func NewRepositoryAuditLogWithDefaults() *RepositoryAuditLog { - this := RepositoryAuditLog{} - return &this -} - -// GetActor returns the Actor field value -func (o *RepositoryAuditLog) GetActor() string { - if o == nil { - var ret string - return ret - } - - return o.Actor -} - -// GetActorOk returns a tuple with the Actor field value -// and a boolean to check if the value has been set. -func (o *RepositoryAuditLog) GetActorOk() (*string, bool) { - if o == nil { - return nil, false - } - return &o.Actor, true -} - -// SetActor sets field value -func (o *RepositoryAuditLog) SetActor(v string) { - o.Actor = v -} - -// GetActorIpAddress returns the ActorIpAddress field value -func (o *RepositoryAuditLog) GetActorIpAddress() string { - if o == nil { - var ret string - return ret - } - - return o.ActorIpAddress -} - -// GetActorIpAddressOk returns a tuple with the ActorIpAddress field value -// and a boolean to check if the value has been set. -func (o *RepositoryAuditLog) GetActorIpAddressOk() (*string, bool) { - if o == nil { - return nil, false - } - return &o.ActorIpAddress, true -} - -// SetActorIpAddress sets field value -func (o *RepositoryAuditLog) SetActorIpAddress(v string) { - o.ActorIpAddress = v -} - -// GetActorKind returns the ActorKind field value if set, zero value otherwise. -func (o *RepositoryAuditLog) GetActorKind() string { - if o == nil || o.ActorKind == nil { - var ret string - return ret - } - return *o.ActorKind -} - -// GetActorKindOk returns a tuple with the ActorKind field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *RepositoryAuditLog) GetActorKindOk() (*string, bool) { - if o == nil || o.ActorKind == nil { - return nil, false - } - return o.ActorKind, true -} - -// HasActorKind returns a boolean if a field has been set. -func (o *RepositoryAuditLog) HasActorKind() bool { - if o != nil && o.ActorKind != nil { - return true - } - - return false -} - -// SetActorKind gets a reference to the given string and assigns it to the ActorKind field. -func (o *RepositoryAuditLog) SetActorKind(v string) { - o.ActorKind = &v -} - -// GetActorLocation returns the ActorLocation field value -func (o *RepositoryAuditLog) GetActorLocation() map[string]interface{} { - if o == nil { - var ret map[string]interface{} - return ret - } - - return o.ActorLocation -} - -// GetActorLocationOk returns a tuple with the ActorLocation field value -// and a boolean to check if the value has been set. -func (o *RepositoryAuditLog) GetActorLocationOk() (map[string]interface{}, bool) { - if o == nil { - return nil, false - } - return o.ActorLocation, true -} - -// SetActorLocation sets field value -func (o *RepositoryAuditLog) SetActorLocation(v map[string]interface{}) { - o.ActorLocation = v -} - -// GetActorSlugPerm returns the ActorSlugPerm field value -func (o *RepositoryAuditLog) GetActorSlugPerm() string { - if o == nil { - var ret string - return ret - } - - return o.ActorSlugPerm -} - -// GetActorSlugPermOk returns a tuple with the ActorSlugPerm field value -// and a boolean to check if the value has been set. -func (o *RepositoryAuditLog) GetActorSlugPermOk() (*string, bool) { - if o == nil { - return nil, false - } - return &o.ActorSlugPerm, true -} - -// SetActorSlugPerm sets field value -func (o *RepositoryAuditLog) SetActorSlugPerm(v string) { - o.ActorSlugPerm = v -} - -// GetActorUrl returns the ActorUrl field value if set, zero value otherwise. -func (o *RepositoryAuditLog) GetActorUrl() string { - if o == nil || o.ActorUrl == nil { - var ret string - return ret - } - return *o.ActorUrl -} - -// GetActorUrlOk returns a tuple with the ActorUrl field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *RepositoryAuditLog) GetActorUrlOk() (*string, bool) { - if o == nil || o.ActorUrl == nil { - return nil, false - } - return o.ActorUrl, true -} - -// HasActorUrl returns a boolean if a field has been set. -func (o *RepositoryAuditLog) HasActorUrl() bool { - if o != nil && o.ActorUrl != nil { - return true - } - - return false -} - -// SetActorUrl gets a reference to the given string and assigns it to the ActorUrl field. -func (o *RepositoryAuditLog) SetActorUrl(v string) { - o.ActorUrl = &v -} - -// GetContext returns the Context field value -func (o *RepositoryAuditLog) GetContext() string { - if o == nil { - var ret string - return ret - } - - return o.Context -} - -// GetContextOk returns a tuple with the Context field value -// and a boolean to check if the value has been set. -func (o *RepositoryAuditLog) GetContextOk() (*string, bool) { - if o == nil { - return nil, false - } - return &o.Context, true -} - -// SetContext sets field value -func (o *RepositoryAuditLog) SetContext(v string) { - o.Context = v -} - -// GetEvent returns the Event field value -func (o *RepositoryAuditLog) GetEvent() string { - if o == nil { - var ret string - return ret - } - - return o.Event -} - -// GetEventOk returns a tuple with the Event field value -// and a boolean to check if the value has been set. -func (o *RepositoryAuditLog) GetEventOk() (*string, bool) { - if o == nil { - return nil, false - } - return &o.Event, true -} - -// SetEvent sets field value -func (o *RepositoryAuditLog) SetEvent(v string) { - o.Event = v -} - -// GetEventAt returns the EventAt field value -func (o *RepositoryAuditLog) GetEventAt() string { - if o == nil { - var ret string - return ret - } - - return o.EventAt -} - -// GetEventAtOk returns a tuple with the EventAt field value -// and a boolean to check if the value has been set. -func (o *RepositoryAuditLog) GetEventAtOk() (*string, bool) { - if o == nil { - return nil, false - } - return &o.EventAt, true -} - -// SetEventAt sets field value -func (o *RepositoryAuditLog) SetEventAt(v string) { - o.EventAt = v -} - -// GetObject returns the Object field value -func (o *RepositoryAuditLog) GetObject() string { - if o == nil { - var ret string - return ret - } - - return o.Object -} - -// GetObjectOk returns a tuple with the Object field value -// and a boolean to check if the value has been set. -func (o *RepositoryAuditLog) GetObjectOk() (*string, bool) { - if o == nil { - return nil, false - } - return &o.Object, true -} - -// SetObject sets field value -func (o *RepositoryAuditLog) SetObject(v string) { - o.Object = v -} - -// GetObjectKind returns the ObjectKind field value -func (o *RepositoryAuditLog) GetObjectKind() string { - if o == nil { - var ret string - return ret - } - - return o.ObjectKind -} - -// GetObjectKindOk returns a tuple with the ObjectKind field value -// and a boolean to check if the value has been set. -func (o *RepositoryAuditLog) GetObjectKindOk() (*string, bool) { - if o == nil { - return nil, false - } - return &o.ObjectKind, true -} - -// SetObjectKind sets field value -func (o *RepositoryAuditLog) SetObjectKind(v string) { - o.ObjectKind = v -} - -// GetObjectSlugPerm returns the ObjectSlugPerm field value -func (o *RepositoryAuditLog) GetObjectSlugPerm() string { - if o == nil { - var ret string - return ret - } - - return o.ObjectSlugPerm -} - -// GetObjectSlugPermOk returns a tuple with the ObjectSlugPerm field value -// and a boolean to check if the value has been set. -func (o *RepositoryAuditLog) GetObjectSlugPermOk() (*string, bool) { - if o == nil { - return nil, false - } - return &o.ObjectSlugPerm, true -} - -// SetObjectSlugPerm sets field value -func (o *RepositoryAuditLog) SetObjectSlugPerm(v string) { - o.ObjectSlugPerm = v -} - -// GetUuid returns the Uuid field value if set, zero value otherwise. -func (o *RepositoryAuditLog) GetUuid() string { - if o == nil || o.Uuid == nil { - var ret string - return ret - } - return *o.Uuid -} - -// GetUuidOk returns a tuple with the Uuid field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *RepositoryAuditLog) GetUuidOk() (*string, bool) { - if o == nil || o.Uuid == nil { - return nil, false - } - return o.Uuid, true -} - -// HasUuid returns a boolean if a field has been set. -func (o *RepositoryAuditLog) HasUuid() bool { - if o != nil && o.Uuid != nil { - return true - } - - return false -} - -// SetUuid gets a reference to the given string and assigns it to the Uuid field. -func (o *RepositoryAuditLog) SetUuid(v string) { - o.Uuid = &v -} - -func (o RepositoryAuditLog) MarshalJSON() ([]byte, error) { - toSerialize := map[string]interface{}{} - if true { - toSerialize["actor"] = o.Actor - } - if true { - toSerialize["actor_ip_address"] = o.ActorIpAddress - } - if o.ActorKind != nil { - toSerialize["actor_kind"] = o.ActorKind - } - if true { - toSerialize["actor_location"] = o.ActorLocation - } - if true { - toSerialize["actor_slug_perm"] = o.ActorSlugPerm - } - if o.ActorUrl != nil { - toSerialize["actor_url"] = o.ActorUrl - } - if true { - toSerialize["context"] = o.Context - } - if true { - toSerialize["event"] = o.Event - } - if true { - toSerialize["event_at"] = o.EventAt - } - if true { - toSerialize["object"] = o.Object - } - if true { - toSerialize["object_kind"] = o.ObjectKind - } - if true { - toSerialize["object_slug_perm"] = o.ObjectSlugPerm - } - if o.Uuid != nil { - toSerialize["uuid"] = o.Uuid - } - return json.Marshal(toSerialize) -} - -type NullableRepositoryAuditLog struct { - value *RepositoryAuditLog - isSet bool -} - -func (v NullableRepositoryAuditLog) Get() *RepositoryAuditLog { - return v.value -} - -func (v *NullableRepositoryAuditLog) Set(val *RepositoryAuditLog) { - v.value = val - v.isSet = true -} - -func (v NullableRepositoryAuditLog) IsSet() bool { - return v.isSet -} - -func (v *NullableRepositoryAuditLog) Unset() { - v.value = nil - v.isSet = false -} - -func NewNullableRepositoryAuditLog(val *RepositoryAuditLog) *NullableRepositoryAuditLog { - return &NullableRepositoryAuditLog{value: val, isSet: true} -} - -func (v NullableRepositoryAuditLog) MarshalJSON() ([]byte, error) { - return json.Marshal(v.value) -} - -func (v *NullableRepositoryAuditLog) UnmarshalJSON(src []byte) error { - v.isSet = true - return json.Unmarshal(src, &v.value) -} diff --git a/model_repository_audit_log_response.go b/model_repository_audit_log_response.go new file mode 100644 index 00000000..35128178 --- /dev/null +++ b/model_repository_audit_log_response.go @@ -0,0 +1,494 @@ +/* +Cloudsmith API (v1) + +The API to the Cloudsmith Service + +API version: 1.181.6 +Contact: support@cloudsmith.io +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cloudsmith + +import ( + "encoding/json" + "time" +) + +// RepositoryAuditLogResponse struct for RepositoryAuditLogResponse +type RepositoryAuditLogResponse struct { + Actor NullableString `json:"actor"` + ActorIpAddress NullableString `json:"actor_ip_address"` + ActorKind *string `json:"actor_kind,omitempty"` + ActorLocation GeoIpLocation `json:"actor_location"` + ActorSlugPerm NullableString `json:"actor_slug_perm"` + ActorUrl NullableString `json:"actor_url,omitempty"` + Context string `json:"context"` + Event string `json:"event"` + EventAt time.Time `json:"event_at"` + Object string `json:"object"` + ObjectKind string `json:"object_kind"` + ObjectSlugPerm string `json:"object_slug_perm"` + Uuid *string `json:"uuid,omitempty"` +} + +// NewRepositoryAuditLogResponse instantiates a new RepositoryAuditLogResponse object +// 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 NewRepositoryAuditLogResponse(actor NullableString, actorIpAddress NullableString, actorLocation GeoIpLocation, actorSlugPerm NullableString, context string, event string, eventAt time.Time, object string, objectKind string, objectSlugPerm string) *RepositoryAuditLogResponse { + this := RepositoryAuditLogResponse{} + this.Actor = actor + this.ActorIpAddress = actorIpAddress + this.ActorLocation = actorLocation + this.ActorSlugPerm = actorSlugPerm + this.Context = context + this.Event = event + this.EventAt = eventAt + this.Object = object + this.ObjectKind = objectKind + this.ObjectSlugPerm = objectSlugPerm + return &this +} + +// NewRepositoryAuditLogResponseWithDefaults instantiates a new RepositoryAuditLogResponse object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewRepositoryAuditLogResponseWithDefaults() *RepositoryAuditLogResponse { + this := RepositoryAuditLogResponse{} + return &this +} + +// GetActor returns the Actor field value +// If the value is explicit nil, the zero value for string will be returned +func (o *RepositoryAuditLogResponse) GetActor() string { + if o == nil || o.Actor.Get() == nil { + var ret string + return ret + } + + return *o.Actor.Get() +} + +// GetActorOk returns a tuple with the Actor 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 *RepositoryAuditLogResponse) GetActorOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.Actor.Get(), o.Actor.IsSet() +} + +// SetActor sets field value +func (o *RepositoryAuditLogResponse) SetActor(v string) { + o.Actor.Set(&v) +} + +// GetActorIpAddress returns the ActorIpAddress field value +// If the value is explicit nil, the zero value for string will be returned +func (o *RepositoryAuditLogResponse) GetActorIpAddress() string { + if o == nil || o.ActorIpAddress.Get() == nil { + var ret string + return ret + } + + return *o.ActorIpAddress.Get() +} + +// GetActorIpAddressOk returns a tuple with the ActorIpAddress 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 *RepositoryAuditLogResponse) GetActorIpAddressOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.ActorIpAddress.Get(), o.ActorIpAddress.IsSet() +} + +// SetActorIpAddress sets field value +func (o *RepositoryAuditLogResponse) SetActorIpAddress(v string) { + o.ActorIpAddress.Set(&v) +} + +// GetActorKind returns the ActorKind field value if set, zero value otherwise. +func (o *RepositoryAuditLogResponse) GetActorKind() string { + if o == nil || isNil(o.ActorKind) { + var ret string + return ret + } + return *o.ActorKind +} + +// GetActorKindOk returns a tuple with the ActorKind field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *RepositoryAuditLogResponse) GetActorKindOk() (*string, bool) { + if o == nil || isNil(o.ActorKind) { + return nil, false + } + return o.ActorKind, true +} + +// HasActorKind returns a boolean if a field has been set. +func (o *RepositoryAuditLogResponse) HasActorKind() bool { + if o != nil && !isNil(o.ActorKind) { + return true + } + + return false +} + +// SetActorKind gets a reference to the given string and assigns it to the ActorKind field. +func (o *RepositoryAuditLogResponse) SetActorKind(v string) { + o.ActorKind = &v +} + +// GetActorLocation returns the ActorLocation field value +func (o *RepositoryAuditLogResponse) GetActorLocation() GeoIpLocation { + if o == nil { + var ret GeoIpLocation + return ret + } + + return o.ActorLocation +} + +// GetActorLocationOk returns a tuple with the ActorLocation field value +// and a boolean to check if the value has been set. +func (o *RepositoryAuditLogResponse) GetActorLocationOk() (*GeoIpLocation, bool) { + if o == nil { + return nil, false + } + return &o.ActorLocation, true +} + +// SetActorLocation sets field value +func (o *RepositoryAuditLogResponse) SetActorLocation(v GeoIpLocation) { + o.ActorLocation = v +} + +// GetActorSlugPerm returns the ActorSlugPerm field value +// If the value is explicit nil, the zero value for string will be returned +func (o *RepositoryAuditLogResponse) GetActorSlugPerm() string { + if o == nil || o.ActorSlugPerm.Get() == nil { + var ret string + return ret + } + + return *o.ActorSlugPerm.Get() +} + +// GetActorSlugPermOk returns a tuple with the ActorSlugPerm 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 *RepositoryAuditLogResponse) GetActorSlugPermOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.ActorSlugPerm.Get(), o.ActorSlugPerm.IsSet() +} + +// SetActorSlugPerm sets field value +func (o *RepositoryAuditLogResponse) SetActorSlugPerm(v string) { + o.ActorSlugPerm.Set(&v) +} + +// GetActorUrl returns the ActorUrl field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *RepositoryAuditLogResponse) GetActorUrl() string { + if o == nil || isNil(o.ActorUrl.Get()) { + var ret string + return ret + } + return *o.ActorUrl.Get() +} + +// GetActorUrlOk returns a tuple with the ActorUrl 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 *RepositoryAuditLogResponse) GetActorUrlOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.ActorUrl.Get(), o.ActorUrl.IsSet() +} + +// HasActorUrl returns a boolean if a field has been set. +func (o *RepositoryAuditLogResponse) HasActorUrl() bool { + if o != nil && o.ActorUrl.IsSet() { + return true + } + + return false +} + +// SetActorUrl gets a reference to the given NullableString and assigns it to the ActorUrl field. +func (o *RepositoryAuditLogResponse) SetActorUrl(v string) { + o.ActorUrl.Set(&v) +} + +// SetActorUrlNil sets the value for ActorUrl to be an explicit nil +func (o *RepositoryAuditLogResponse) SetActorUrlNil() { + o.ActorUrl.Set(nil) +} + +// UnsetActorUrl ensures that no value is present for ActorUrl, not even an explicit nil +func (o *RepositoryAuditLogResponse) UnsetActorUrl() { + o.ActorUrl.Unset() +} + +// GetContext returns the Context field value +func (o *RepositoryAuditLogResponse) GetContext() string { + if o == nil { + var ret string + return ret + } + + return o.Context +} + +// GetContextOk returns a tuple with the Context field value +// and a boolean to check if the value has been set. +func (o *RepositoryAuditLogResponse) GetContextOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Context, true +} + +// SetContext sets field value +func (o *RepositoryAuditLogResponse) SetContext(v string) { + o.Context = v +} + +// GetEvent returns the Event field value +func (o *RepositoryAuditLogResponse) GetEvent() string { + if o == nil { + var ret string + return ret + } + + return o.Event +} + +// GetEventOk returns a tuple with the Event field value +// and a boolean to check if the value has been set. +func (o *RepositoryAuditLogResponse) GetEventOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Event, true +} + +// SetEvent sets field value +func (o *RepositoryAuditLogResponse) SetEvent(v string) { + o.Event = v +} + +// GetEventAt returns the EventAt field value +func (o *RepositoryAuditLogResponse) GetEventAt() time.Time { + if o == nil { + var ret time.Time + return ret + } + + return o.EventAt +} + +// GetEventAtOk returns a tuple with the EventAt field value +// and a boolean to check if the value has been set. +func (o *RepositoryAuditLogResponse) GetEventAtOk() (*time.Time, bool) { + if o == nil { + return nil, false + } + return &o.EventAt, true +} + +// SetEventAt sets field value +func (o *RepositoryAuditLogResponse) SetEventAt(v time.Time) { + o.EventAt = v +} + +// GetObject returns the Object field value +func (o *RepositoryAuditLogResponse) GetObject() string { + if o == nil { + var ret string + return ret + } + + return o.Object +} + +// GetObjectOk returns a tuple with the Object field value +// and a boolean to check if the value has been set. +func (o *RepositoryAuditLogResponse) GetObjectOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Object, true +} + +// SetObject sets field value +func (o *RepositoryAuditLogResponse) SetObject(v string) { + o.Object = v +} + +// GetObjectKind returns the ObjectKind field value +func (o *RepositoryAuditLogResponse) GetObjectKind() string { + if o == nil { + var ret string + return ret + } + + return o.ObjectKind +} + +// GetObjectKindOk returns a tuple with the ObjectKind field value +// and a boolean to check if the value has been set. +func (o *RepositoryAuditLogResponse) GetObjectKindOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.ObjectKind, true +} + +// SetObjectKind sets field value +func (o *RepositoryAuditLogResponse) SetObjectKind(v string) { + o.ObjectKind = v +} + +// GetObjectSlugPerm returns the ObjectSlugPerm field value +func (o *RepositoryAuditLogResponse) GetObjectSlugPerm() string { + if o == nil { + var ret string + return ret + } + + return o.ObjectSlugPerm +} + +// GetObjectSlugPermOk returns a tuple with the ObjectSlugPerm field value +// and a boolean to check if the value has been set. +func (o *RepositoryAuditLogResponse) GetObjectSlugPermOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.ObjectSlugPerm, true +} + +// SetObjectSlugPerm sets field value +func (o *RepositoryAuditLogResponse) SetObjectSlugPerm(v string) { + o.ObjectSlugPerm = v +} + +// GetUuid returns the Uuid field value if set, zero value otherwise. +func (o *RepositoryAuditLogResponse) GetUuid() string { + if o == nil || isNil(o.Uuid) { + var ret string + return ret + } + return *o.Uuid +} + +// GetUuidOk returns a tuple with the Uuid field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *RepositoryAuditLogResponse) GetUuidOk() (*string, bool) { + if o == nil || isNil(o.Uuid) { + return nil, false + } + return o.Uuid, true +} + +// HasUuid returns a boolean if a field has been set. +func (o *RepositoryAuditLogResponse) HasUuid() bool { + if o != nil && !isNil(o.Uuid) { + return true + } + + return false +} + +// SetUuid gets a reference to the given string and assigns it to the Uuid field. +func (o *RepositoryAuditLogResponse) SetUuid(v string) { + o.Uuid = &v +} + +func (o RepositoryAuditLogResponse) MarshalJSON() ([]byte, error) { + toSerialize := map[string]interface{}{} + if true { + toSerialize["actor"] = o.Actor.Get() + } + if true { + toSerialize["actor_ip_address"] = o.ActorIpAddress.Get() + } + if !isNil(o.ActorKind) { + toSerialize["actor_kind"] = o.ActorKind + } + if true { + toSerialize["actor_location"] = o.ActorLocation + } + if true { + toSerialize["actor_slug_perm"] = o.ActorSlugPerm.Get() + } + if o.ActorUrl.IsSet() { + toSerialize["actor_url"] = o.ActorUrl.Get() + } + if true { + toSerialize["context"] = o.Context + } + if true { + toSerialize["event"] = o.Event + } + if true { + toSerialize["event_at"] = o.EventAt + } + if true { + toSerialize["object"] = o.Object + } + if true { + toSerialize["object_kind"] = o.ObjectKind + } + if true { + toSerialize["object_slug_perm"] = o.ObjectSlugPerm + } + if !isNil(o.Uuid) { + toSerialize["uuid"] = o.Uuid + } + return json.Marshal(toSerialize) +} + +type NullableRepositoryAuditLogResponse struct { + value *RepositoryAuditLogResponse + isSet bool +} + +func (v NullableRepositoryAuditLogResponse) Get() *RepositoryAuditLogResponse { + return v.value +} + +func (v *NullableRepositoryAuditLogResponse) Set(val *RepositoryAuditLogResponse) { + v.value = val + v.isSet = true +} + +func (v NullableRepositoryAuditLogResponse) IsSet() bool { + return v.isSet +} + +func (v *NullableRepositoryAuditLogResponse) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableRepositoryAuditLogResponse(val *RepositoryAuditLogResponse) *NullableRepositoryAuditLogResponse { + return &NullableRepositoryAuditLogResponse{value: val, isSet: true} +} + +func (v NullableRepositoryAuditLogResponse) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableRepositoryAuditLogResponse) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} diff --git a/model_repos_create.go b/model_repository_create_request.go similarity index 62% rename from model_repos_create.go rename to model_repository_create_request.go index e19fdd04..9864111e 100644 --- a/model_repos_create.go +++ b/model_repository_create_request.go @@ -1,9 +1,9 @@ /* -Cloudsmith API +Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.121.3 +API version: 1.181.6 Contact: support@cloudsmith.io */ @@ -15,8 +15,10 @@ import ( "encoding/json" ) -// ReposCreate struct for ReposCreate -type ReposCreate struct { +// RepositoryCreateRequest struct for RepositoryCreateRequest +type RepositoryCreateRequest struct { + // The repository content kind determines whether this repository contains packages, or provides a distribution of packages from other repositories. You can only select the content kind at repository creation time. + ContentKind *string `json:"content_kind,omitempty"` // If checked, missing credentials for this repository where basic authentication is required shall present an enriched value in the 'WWW-Authenticate' header containing the namespace and repository. This can be useful for tooling such as SBT where the authentication realm is used to distinguish and disambiguate credentials. ContextualAuthRealm *bool `json:"contextual_auth_realm,omitempty"` // If checked, users can copy any of their own packages that they have uploaded, assuming that they still have write privilege for the repository. This takes precedence over privileges configured in the 'Access Controls' section of the repository, and any inherited from the org. @@ -31,6 +33,8 @@ type ReposCreate struct { DeletePackages *string `json:"delete_packages,omitempty"` // A description of the repository's purpose/contents. Description *string `json:"description,omitempty"` + // The repositories distributed through this repo. Adding repos here is only valid if the content_kind is DISTRIBUTION. + Distributes []string `json:"distributes,omitempty"` // If checked, refresh tokens will be issued in addition to access tokens for Docker authentication. This allows unlimited extension of the lifetime of access tokens. DockerRefreshTokensEnabled *bool `json:"docker_refresh_tokens_enabled,omitempty"` // If checked, files contained in packages will be indexed, which increase the synchronisation time required for packages. Note that it is recommended you keep this enabled unless the synchronisation time is significantly impacted. @@ -53,7 +57,7 @@ type ReposCreate struct { ReplacePackages *string `json:"replace_packages,omitempty"` // If checked, uploaded packages will overwrite/replace any others with the same attributes (e.g. same version) by default. This only applies if the user has the required privilege for the republishing AND has the required privilege to delete existing packages that they don't own. ReplacePackagesByDefault *bool `json:"replace_packages_by_default,omitempty"` - // The repository type changes how it is accessed and billed. Private repositories can only be used on paid plans, but are visible only to you or authorised delegates. Public repositories are free to use on all plans and visible to all Cloudsmith users. + // The repository type changes how it is accessed and billed. Private repositories are visible only to you or authorized delegates. Public repositories are visible to all Cloudsmith users. RepositoryTypeStr *string `json:"repository_type_str,omitempty"` // If checked, users can resync any of their own packages that they have uploaded, assuming that they still have write privilege for the repository. This takes precedence over privileges configured in the 'Access Controls' section of the repository, and any inherited from the org. ResyncOwn *bool `json:"resync_own,omitempty"` @@ -83,31 +87,107 @@ type ReposCreate struct { UseVulnerabilityScanning *bool `json:"use_vulnerability_scanning,omitempty"` // If checked, users can use and manage their own user-specific entitlement token for the repository (if private). Otherwise, user-specific entitlements are disabled for all users. UserEntitlementsEnabled *bool `json:"user_entitlements_enabled,omitempty"` - // This defines the minimum level of privilege required for a user to view repository statistics, to include entitlement-based usage, if applciable. If a user does not have the permission, they won't be able to view any statistics, either via the UI, API or CLI. + // This defines the minimum level of privilege required for a user to view repository statistics, to include entitlement-based usage, if applicable. If a user does not have the permission, they won't be able to view any statistics, either via the UI, API or CLI. ViewStatistics *string `json:"view_statistics,omitempty"` } -// NewReposCreate instantiates a new ReposCreate object +// NewRepositoryCreateRequest instantiates a new RepositoryCreateRequest object // 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 NewReposCreate(name string) *ReposCreate { - this := ReposCreate{} +func NewRepositoryCreateRequest(name string) *RepositoryCreateRequest { + this := RepositoryCreateRequest{} + var contentKind string = "Standard" + this.ContentKind = &contentKind + var copyPackages string = "Read" + this.CopyPackages = ©Packages + var defaultPrivilege string = "None" + this.DefaultPrivilege = &defaultPrivilege + var deletePackages string = "Admin" + this.DeletePackages = &deletePackages + var movePackages string = "Admin" + this.MovePackages = &movePackages this.Name = name + var replacePackages string = "Write" + this.ReplacePackages = &replacePackages + var repositoryTypeStr string = "Public" + this.RepositoryTypeStr = &repositoryTypeStr + var resyncPackages string = "Admin" + this.ResyncPackages = &resyncPackages + var scanPackages string = "Read" + this.ScanPackages = &scanPackages + var storageRegion string = "default" + this.StorageRegion = &storageRegion + var viewStatistics string = "Read" + this.ViewStatistics = &viewStatistics return &this } -// NewReposCreateWithDefaults instantiates a new ReposCreate object +// NewRepositoryCreateRequestWithDefaults instantiates a new RepositoryCreateRequest object // This constructor will only assign default values to properties that have it defined, // but it doesn't guarantee that properties required by API are set -func NewReposCreateWithDefaults() *ReposCreate { - this := ReposCreate{} +func NewRepositoryCreateRequestWithDefaults() *RepositoryCreateRequest { + this := RepositoryCreateRequest{} + var contentKind string = "Standard" + this.ContentKind = &contentKind + var copyPackages string = "Read" + this.CopyPackages = ©Packages + var defaultPrivilege string = "None" + this.DefaultPrivilege = &defaultPrivilege + var deletePackages string = "Admin" + this.DeletePackages = &deletePackages + var movePackages string = "Admin" + this.MovePackages = &movePackages + var replacePackages string = "Write" + this.ReplacePackages = &replacePackages + var repositoryTypeStr string = "Public" + this.RepositoryTypeStr = &repositoryTypeStr + var resyncPackages string = "Admin" + this.ResyncPackages = &resyncPackages + var scanPackages string = "Read" + this.ScanPackages = &scanPackages + var storageRegion string = "default" + this.StorageRegion = &storageRegion + var viewStatistics string = "Read" + this.ViewStatistics = &viewStatistics return &this } +// GetContentKind returns the ContentKind field value if set, zero value otherwise. +func (o *RepositoryCreateRequest) GetContentKind() string { + if o == nil || isNil(o.ContentKind) { + var ret string + return ret + } + return *o.ContentKind +} + +// GetContentKindOk returns a tuple with the ContentKind field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *RepositoryCreateRequest) GetContentKindOk() (*string, bool) { + if o == nil || isNil(o.ContentKind) { + return nil, false + } + return o.ContentKind, true +} + +// HasContentKind returns a boolean if a field has been set. +func (o *RepositoryCreateRequest) HasContentKind() bool { + if o != nil && !isNil(o.ContentKind) { + return true + } + + return false +} + +// SetContentKind gets a reference to the given string and assigns it to the ContentKind field. +func (o *RepositoryCreateRequest) SetContentKind(v string) { + o.ContentKind = &v +} + // GetContextualAuthRealm returns the ContextualAuthRealm field value if set, zero value otherwise. -func (o *ReposCreate) GetContextualAuthRealm() bool { - if o == nil || o.ContextualAuthRealm == nil { +func (o *RepositoryCreateRequest) GetContextualAuthRealm() bool { + if o == nil || isNil(o.ContextualAuthRealm) { var ret bool return ret } @@ -116,16 +196,16 @@ func (o *ReposCreate) GetContextualAuthRealm() bool { // GetContextualAuthRealmOk returns a tuple with the ContextualAuthRealm field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *ReposCreate) GetContextualAuthRealmOk() (*bool, bool) { - if o == nil || o.ContextualAuthRealm == nil { +func (o *RepositoryCreateRequest) GetContextualAuthRealmOk() (*bool, bool) { + if o == nil || isNil(o.ContextualAuthRealm) { return nil, false } return o.ContextualAuthRealm, true } // HasContextualAuthRealm returns a boolean if a field has been set. -func (o *ReposCreate) HasContextualAuthRealm() bool { - if o != nil && o.ContextualAuthRealm != nil { +func (o *RepositoryCreateRequest) HasContextualAuthRealm() bool { + if o != nil && !isNil(o.ContextualAuthRealm) { return true } @@ -133,13 +213,13 @@ func (o *ReposCreate) HasContextualAuthRealm() bool { } // SetContextualAuthRealm gets a reference to the given bool and assigns it to the ContextualAuthRealm field. -func (o *ReposCreate) SetContextualAuthRealm(v bool) { +func (o *RepositoryCreateRequest) SetContextualAuthRealm(v bool) { o.ContextualAuthRealm = &v } // GetCopyOwn returns the CopyOwn field value if set, zero value otherwise. -func (o *ReposCreate) GetCopyOwn() bool { - if o == nil || o.CopyOwn == nil { +func (o *RepositoryCreateRequest) GetCopyOwn() bool { + if o == nil || isNil(o.CopyOwn) { var ret bool return ret } @@ -148,16 +228,16 @@ func (o *ReposCreate) GetCopyOwn() bool { // GetCopyOwnOk returns a tuple with the CopyOwn field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *ReposCreate) GetCopyOwnOk() (*bool, bool) { - if o == nil || o.CopyOwn == nil { +func (o *RepositoryCreateRequest) GetCopyOwnOk() (*bool, bool) { + if o == nil || isNil(o.CopyOwn) { return nil, false } return o.CopyOwn, true } // HasCopyOwn returns a boolean if a field has been set. -func (o *ReposCreate) HasCopyOwn() bool { - if o != nil && o.CopyOwn != nil { +func (o *RepositoryCreateRequest) HasCopyOwn() bool { + if o != nil && !isNil(o.CopyOwn) { return true } @@ -165,13 +245,13 @@ func (o *ReposCreate) HasCopyOwn() bool { } // SetCopyOwn gets a reference to the given bool and assigns it to the CopyOwn field. -func (o *ReposCreate) SetCopyOwn(v bool) { +func (o *RepositoryCreateRequest) SetCopyOwn(v bool) { o.CopyOwn = &v } // GetCopyPackages returns the CopyPackages field value if set, zero value otherwise. -func (o *ReposCreate) GetCopyPackages() string { - if o == nil || o.CopyPackages == nil { +func (o *RepositoryCreateRequest) GetCopyPackages() string { + if o == nil || isNil(o.CopyPackages) { var ret string return ret } @@ -180,16 +260,16 @@ func (o *ReposCreate) GetCopyPackages() string { // GetCopyPackagesOk returns a tuple with the CopyPackages field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *ReposCreate) GetCopyPackagesOk() (*string, bool) { - if o == nil || o.CopyPackages == nil { +func (o *RepositoryCreateRequest) GetCopyPackagesOk() (*string, bool) { + if o == nil || isNil(o.CopyPackages) { return nil, false } return o.CopyPackages, true } // HasCopyPackages returns a boolean if a field has been set. -func (o *ReposCreate) HasCopyPackages() bool { - if o != nil && o.CopyPackages != nil { +func (o *RepositoryCreateRequest) HasCopyPackages() bool { + if o != nil && !isNil(o.CopyPackages) { return true } @@ -197,13 +277,13 @@ func (o *ReposCreate) HasCopyPackages() bool { } // SetCopyPackages gets a reference to the given string and assigns it to the CopyPackages field. -func (o *ReposCreate) SetCopyPackages(v string) { +func (o *RepositoryCreateRequest) SetCopyPackages(v string) { o.CopyPackages = &v } // GetDefaultPrivilege returns the DefaultPrivilege field value if set, zero value otherwise. -func (o *ReposCreate) GetDefaultPrivilege() string { - if o == nil || o.DefaultPrivilege == nil { +func (o *RepositoryCreateRequest) GetDefaultPrivilege() string { + if o == nil || isNil(o.DefaultPrivilege) { var ret string return ret } @@ -212,16 +292,16 @@ func (o *ReposCreate) GetDefaultPrivilege() string { // GetDefaultPrivilegeOk returns a tuple with the DefaultPrivilege field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *ReposCreate) GetDefaultPrivilegeOk() (*string, bool) { - if o == nil || o.DefaultPrivilege == nil { +func (o *RepositoryCreateRequest) GetDefaultPrivilegeOk() (*string, bool) { + if o == nil || isNil(o.DefaultPrivilege) { return nil, false } return o.DefaultPrivilege, true } // HasDefaultPrivilege returns a boolean if a field has been set. -func (o *ReposCreate) HasDefaultPrivilege() bool { - if o != nil && o.DefaultPrivilege != nil { +func (o *RepositoryCreateRequest) HasDefaultPrivilege() bool { + if o != nil && !isNil(o.DefaultPrivilege) { return true } @@ -229,13 +309,13 @@ func (o *ReposCreate) HasDefaultPrivilege() bool { } // SetDefaultPrivilege gets a reference to the given string and assigns it to the DefaultPrivilege field. -func (o *ReposCreate) SetDefaultPrivilege(v string) { +func (o *RepositoryCreateRequest) SetDefaultPrivilege(v string) { o.DefaultPrivilege = &v } // GetDeleteOwn returns the DeleteOwn field value if set, zero value otherwise. -func (o *ReposCreate) GetDeleteOwn() bool { - if o == nil || o.DeleteOwn == nil { +func (o *RepositoryCreateRequest) GetDeleteOwn() bool { + if o == nil || isNil(o.DeleteOwn) { var ret bool return ret } @@ -244,16 +324,16 @@ func (o *ReposCreate) GetDeleteOwn() bool { // GetDeleteOwnOk returns a tuple with the DeleteOwn field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *ReposCreate) GetDeleteOwnOk() (*bool, bool) { - if o == nil || o.DeleteOwn == nil { +func (o *RepositoryCreateRequest) GetDeleteOwnOk() (*bool, bool) { + if o == nil || isNil(o.DeleteOwn) { return nil, false } return o.DeleteOwn, true } // HasDeleteOwn returns a boolean if a field has been set. -func (o *ReposCreate) HasDeleteOwn() bool { - if o != nil && o.DeleteOwn != nil { +func (o *RepositoryCreateRequest) HasDeleteOwn() bool { + if o != nil && !isNil(o.DeleteOwn) { return true } @@ -261,13 +341,13 @@ func (o *ReposCreate) HasDeleteOwn() bool { } // SetDeleteOwn gets a reference to the given bool and assigns it to the DeleteOwn field. -func (o *ReposCreate) SetDeleteOwn(v bool) { +func (o *RepositoryCreateRequest) SetDeleteOwn(v bool) { o.DeleteOwn = &v } // GetDeletePackages returns the DeletePackages field value if set, zero value otherwise. -func (o *ReposCreate) GetDeletePackages() string { - if o == nil || o.DeletePackages == nil { +func (o *RepositoryCreateRequest) GetDeletePackages() string { + if o == nil || isNil(o.DeletePackages) { var ret string return ret } @@ -276,16 +356,16 @@ func (o *ReposCreate) GetDeletePackages() string { // GetDeletePackagesOk returns a tuple with the DeletePackages field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *ReposCreate) GetDeletePackagesOk() (*string, bool) { - if o == nil || o.DeletePackages == nil { +func (o *RepositoryCreateRequest) GetDeletePackagesOk() (*string, bool) { + if o == nil || isNil(o.DeletePackages) { return nil, false } return o.DeletePackages, true } // HasDeletePackages returns a boolean if a field has been set. -func (o *ReposCreate) HasDeletePackages() bool { - if o != nil && o.DeletePackages != nil { +func (o *RepositoryCreateRequest) HasDeletePackages() bool { + if o != nil && !isNil(o.DeletePackages) { return true } @@ -293,13 +373,13 @@ func (o *ReposCreate) HasDeletePackages() bool { } // SetDeletePackages gets a reference to the given string and assigns it to the DeletePackages field. -func (o *ReposCreate) SetDeletePackages(v string) { +func (o *RepositoryCreateRequest) SetDeletePackages(v string) { o.DeletePackages = &v } // GetDescription returns the Description field value if set, zero value otherwise. -func (o *ReposCreate) GetDescription() string { - if o == nil || o.Description == nil { +func (o *RepositoryCreateRequest) GetDescription() string { + if o == nil || isNil(o.Description) { var ret string return ret } @@ -308,16 +388,16 @@ func (o *ReposCreate) GetDescription() string { // GetDescriptionOk returns a tuple with the Description field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *ReposCreate) GetDescriptionOk() (*string, bool) { - if o == nil || o.Description == nil { +func (o *RepositoryCreateRequest) GetDescriptionOk() (*string, bool) { + if o == nil || isNil(o.Description) { return nil, false } return o.Description, true } // HasDescription returns a boolean if a field has been set. -func (o *ReposCreate) HasDescription() bool { - if o != nil && o.Description != nil { +func (o *RepositoryCreateRequest) HasDescription() bool { + if o != nil && !isNil(o.Description) { return true } @@ -325,13 +405,45 @@ func (o *ReposCreate) HasDescription() bool { } // SetDescription gets a reference to the given string and assigns it to the Description field. -func (o *ReposCreate) SetDescription(v string) { +func (o *RepositoryCreateRequest) SetDescription(v string) { o.Description = &v } +// GetDistributes returns the Distributes field value if set, zero value otherwise. +func (o *RepositoryCreateRequest) GetDistributes() []string { + if o == nil || isNil(o.Distributes) { + var ret []string + return ret + } + return o.Distributes +} + +// GetDistributesOk returns a tuple with the Distributes field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *RepositoryCreateRequest) GetDistributesOk() ([]string, bool) { + if o == nil || isNil(o.Distributes) { + return nil, false + } + return o.Distributes, true +} + +// HasDistributes returns a boolean if a field has been set. +func (o *RepositoryCreateRequest) HasDistributes() bool { + if o != nil && !isNil(o.Distributes) { + return true + } + + return false +} + +// SetDistributes gets a reference to the given []string and assigns it to the Distributes field. +func (o *RepositoryCreateRequest) SetDistributes(v []string) { + o.Distributes = v +} + // GetDockerRefreshTokensEnabled returns the DockerRefreshTokensEnabled field value if set, zero value otherwise. -func (o *ReposCreate) GetDockerRefreshTokensEnabled() bool { - if o == nil || o.DockerRefreshTokensEnabled == nil { +func (o *RepositoryCreateRequest) GetDockerRefreshTokensEnabled() bool { + if o == nil || isNil(o.DockerRefreshTokensEnabled) { var ret bool return ret } @@ -340,16 +452,16 @@ func (o *ReposCreate) GetDockerRefreshTokensEnabled() bool { // GetDockerRefreshTokensEnabledOk returns a tuple with the DockerRefreshTokensEnabled field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *ReposCreate) GetDockerRefreshTokensEnabledOk() (*bool, bool) { - if o == nil || o.DockerRefreshTokensEnabled == nil { +func (o *RepositoryCreateRequest) GetDockerRefreshTokensEnabledOk() (*bool, bool) { + if o == nil || isNil(o.DockerRefreshTokensEnabled) { return nil, false } return o.DockerRefreshTokensEnabled, true } // HasDockerRefreshTokensEnabled returns a boolean if a field has been set. -func (o *ReposCreate) HasDockerRefreshTokensEnabled() bool { - if o != nil && o.DockerRefreshTokensEnabled != nil { +func (o *RepositoryCreateRequest) HasDockerRefreshTokensEnabled() bool { + if o != nil && !isNil(o.DockerRefreshTokensEnabled) { return true } @@ -357,13 +469,13 @@ func (o *ReposCreate) HasDockerRefreshTokensEnabled() bool { } // SetDockerRefreshTokensEnabled gets a reference to the given bool and assigns it to the DockerRefreshTokensEnabled field. -func (o *ReposCreate) SetDockerRefreshTokensEnabled(v bool) { +func (o *RepositoryCreateRequest) SetDockerRefreshTokensEnabled(v bool) { o.DockerRefreshTokensEnabled = &v } // GetIndexFiles returns the IndexFiles field value if set, zero value otherwise. -func (o *ReposCreate) GetIndexFiles() bool { - if o == nil || o.IndexFiles == nil { +func (o *RepositoryCreateRequest) GetIndexFiles() bool { + if o == nil || isNil(o.IndexFiles) { var ret bool return ret } @@ -372,16 +484,16 @@ func (o *ReposCreate) GetIndexFiles() bool { // GetIndexFilesOk returns a tuple with the IndexFiles field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *ReposCreate) GetIndexFilesOk() (*bool, bool) { - if o == nil || o.IndexFiles == nil { +func (o *RepositoryCreateRequest) GetIndexFilesOk() (*bool, bool) { + if o == nil || isNil(o.IndexFiles) { return nil, false } return o.IndexFiles, true } // HasIndexFiles returns a boolean if a field has been set. -func (o *ReposCreate) HasIndexFiles() bool { - if o != nil && o.IndexFiles != nil { +func (o *RepositoryCreateRequest) HasIndexFiles() bool { + if o != nil && !isNil(o.IndexFiles) { return true } @@ -389,13 +501,13 @@ func (o *ReposCreate) HasIndexFiles() bool { } // SetIndexFiles gets a reference to the given bool and assigns it to the IndexFiles field. -func (o *ReposCreate) SetIndexFiles(v bool) { +func (o *RepositoryCreateRequest) SetIndexFiles(v bool) { o.IndexFiles = &v } // GetMoveOwn returns the MoveOwn field value if set, zero value otherwise. -func (o *ReposCreate) GetMoveOwn() bool { - if o == nil || o.MoveOwn == nil { +func (o *RepositoryCreateRequest) GetMoveOwn() bool { + if o == nil || isNil(o.MoveOwn) { var ret bool return ret } @@ -404,16 +516,16 @@ func (o *ReposCreate) GetMoveOwn() bool { // GetMoveOwnOk returns a tuple with the MoveOwn field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *ReposCreate) GetMoveOwnOk() (*bool, bool) { - if o == nil || o.MoveOwn == nil { +func (o *RepositoryCreateRequest) GetMoveOwnOk() (*bool, bool) { + if o == nil || isNil(o.MoveOwn) { return nil, false } return o.MoveOwn, true } // HasMoveOwn returns a boolean if a field has been set. -func (o *ReposCreate) HasMoveOwn() bool { - if o != nil && o.MoveOwn != nil { +func (o *RepositoryCreateRequest) HasMoveOwn() bool { + if o != nil && !isNil(o.MoveOwn) { return true } @@ -421,13 +533,13 @@ func (o *ReposCreate) HasMoveOwn() bool { } // SetMoveOwn gets a reference to the given bool and assigns it to the MoveOwn field. -func (o *ReposCreate) SetMoveOwn(v bool) { +func (o *RepositoryCreateRequest) SetMoveOwn(v bool) { o.MoveOwn = &v } // GetMovePackages returns the MovePackages field value if set, zero value otherwise. -func (o *ReposCreate) GetMovePackages() string { - if o == nil || o.MovePackages == nil { +func (o *RepositoryCreateRequest) GetMovePackages() string { + if o == nil || isNil(o.MovePackages) { var ret string return ret } @@ -436,16 +548,16 @@ func (o *ReposCreate) GetMovePackages() string { // GetMovePackagesOk returns a tuple with the MovePackages field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *ReposCreate) GetMovePackagesOk() (*string, bool) { - if o == nil || o.MovePackages == nil { +func (o *RepositoryCreateRequest) GetMovePackagesOk() (*string, bool) { + if o == nil || isNil(o.MovePackages) { return nil, false } return o.MovePackages, true } // HasMovePackages returns a boolean if a field has been set. -func (o *ReposCreate) HasMovePackages() bool { - if o != nil && o.MovePackages != nil { +func (o *RepositoryCreateRequest) HasMovePackages() bool { + if o != nil && !isNil(o.MovePackages) { return true } @@ -453,12 +565,12 @@ func (o *ReposCreate) HasMovePackages() bool { } // SetMovePackages gets a reference to the given string and assigns it to the MovePackages field. -func (o *ReposCreate) SetMovePackages(v string) { +func (o *RepositoryCreateRequest) SetMovePackages(v string) { o.MovePackages = &v } // GetName returns the Name field value -func (o *ReposCreate) GetName() string { +func (o *RepositoryCreateRequest) GetName() string { if o == nil { var ret string return ret @@ -469,7 +581,7 @@ func (o *ReposCreate) GetName() string { // GetNameOk returns a tuple with the Name field value // and a boolean to check if the value has been set. -func (o *ReposCreate) GetNameOk() (*string, bool) { +func (o *RepositoryCreateRequest) GetNameOk() (*string, bool) { if o == nil { return nil, false } @@ -477,13 +589,13 @@ func (o *ReposCreate) GetNameOk() (*string, bool) { } // SetName sets field value -func (o *ReposCreate) SetName(v string) { +func (o *RepositoryCreateRequest) SetName(v string) { o.Name = v } // GetProxyNpmjs returns the ProxyNpmjs field value if set, zero value otherwise. -func (o *ReposCreate) GetProxyNpmjs() bool { - if o == nil || o.ProxyNpmjs == nil { +func (o *RepositoryCreateRequest) GetProxyNpmjs() bool { + if o == nil || isNil(o.ProxyNpmjs) { var ret bool return ret } @@ -492,16 +604,16 @@ func (o *ReposCreate) GetProxyNpmjs() bool { // GetProxyNpmjsOk returns a tuple with the ProxyNpmjs field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *ReposCreate) GetProxyNpmjsOk() (*bool, bool) { - if o == nil || o.ProxyNpmjs == nil { +func (o *RepositoryCreateRequest) GetProxyNpmjsOk() (*bool, bool) { + if o == nil || isNil(o.ProxyNpmjs) { return nil, false } return o.ProxyNpmjs, true } // HasProxyNpmjs returns a boolean if a field has been set. -func (o *ReposCreate) HasProxyNpmjs() bool { - if o != nil && o.ProxyNpmjs != nil { +func (o *RepositoryCreateRequest) HasProxyNpmjs() bool { + if o != nil && !isNil(o.ProxyNpmjs) { return true } @@ -509,13 +621,13 @@ func (o *ReposCreate) HasProxyNpmjs() bool { } // SetProxyNpmjs gets a reference to the given bool and assigns it to the ProxyNpmjs field. -func (o *ReposCreate) SetProxyNpmjs(v bool) { +func (o *RepositoryCreateRequest) SetProxyNpmjs(v bool) { o.ProxyNpmjs = &v } // GetProxyPypi returns the ProxyPypi field value if set, zero value otherwise. -func (o *ReposCreate) GetProxyPypi() bool { - if o == nil || o.ProxyPypi == nil { +func (o *RepositoryCreateRequest) GetProxyPypi() bool { + if o == nil || isNil(o.ProxyPypi) { var ret bool return ret } @@ -524,16 +636,16 @@ func (o *ReposCreate) GetProxyPypi() bool { // GetProxyPypiOk returns a tuple with the ProxyPypi field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *ReposCreate) GetProxyPypiOk() (*bool, bool) { - if o == nil || o.ProxyPypi == nil { +func (o *RepositoryCreateRequest) GetProxyPypiOk() (*bool, bool) { + if o == nil || isNil(o.ProxyPypi) { return nil, false } return o.ProxyPypi, true } // HasProxyPypi returns a boolean if a field has been set. -func (o *ReposCreate) HasProxyPypi() bool { - if o != nil && o.ProxyPypi != nil { +func (o *RepositoryCreateRequest) HasProxyPypi() bool { + if o != nil && !isNil(o.ProxyPypi) { return true } @@ -541,13 +653,13 @@ func (o *ReposCreate) HasProxyPypi() bool { } // SetProxyPypi gets a reference to the given bool and assigns it to the ProxyPypi field. -func (o *ReposCreate) SetProxyPypi(v bool) { +func (o *RepositoryCreateRequest) SetProxyPypi(v bool) { o.ProxyPypi = &v } // GetRawPackageIndexEnabled returns the RawPackageIndexEnabled field value if set, zero value otherwise. -func (o *ReposCreate) GetRawPackageIndexEnabled() bool { - if o == nil || o.RawPackageIndexEnabled == nil { +func (o *RepositoryCreateRequest) GetRawPackageIndexEnabled() bool { + if o == nil || isNil(o.RawPackageIndexEnabled) { var ret bool return ret } @@ -556,16 +668,16 @@ func (o *ReposCreate) GetRawPackageIndexEnabled() bool { // GetRawPackageIndexEnabledOk returns a tuple with the RawPackageIndexEnabled field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *ReposCreate) GetRawPackageIndexEnabledOk() (*bool, bool) { - if o == nil || o.RawPackageIndexEnabled == nil { +func (o *RepositoryCreateRequest) GetRawPackageIndexEnabledOk() (*bool, bool) { + if o == nil || isNil(o.RawPackageIndexEnabled) { return nil, false } return o.RawPackageIndexEnabled, true } // HasRawPackageIndexEnabled returns a boolean if a field has been set. -func (o *ReposCreate) HasRawPackageIndexEnabled() bool { - if o != nil && o.RawPackageIndexEnabled != nil { +func (o *RepositoryCreateRequest) HasRawPackageIndexEnabled() bool { + if o != nil && !isNil(o.RawPackageIndexEnabled) { return true } @@ -573,13 +685,13 @@ func (o *ReposCreate) HasRawPackageIndexEnabled() bool { } // SetRawPackageIndexEnabled gets a reference to the given bool and assigns it to the RawPackageIndexEnabled field. -func (o *ReposCreate) SetRawPackageIndexEnabled(v bool) { +func (o *RepositoryCreateRequest) SetRawPackageIndexEnabled(v bool) { o.RawPackageIndexEnabled = &v } // GetRawPackageIndexSignaturesEnabled returns the RawPackageIndexSignaturesEnabled field value if set, zero value otherwise. -func (o *ReposCreate) GetRawPackageIndexSignaturesEnabled() bool { - if o == nil || o.RawPackageIndexSignaturesEnabled == nil { +func (o *RepositoryCreateRequest) GetRawPackageIndexSignaturesEnabled() bool { + if o == nil || isNil(o.RawPackageIndexSignaturesEnabled) { var ret bool return ret } @@ -588,16 +700,16 @@ func (o *ReposCreate) GetRawPackageIndexSignaturesEnabled() bool { // GetRawPackageIndexSignaturesEnabledOk returns a tuple with the RawPackageIndexSignaturesEnabled field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *ReposCreate) GetRawPackageIndexSignaturesEnabledOk() (*bool, bool) { - if o == nil || o.RawPackageIndexSignaturesEnabled == nil { +func (o *RepositoryCreateRequest) GetRawPackageIndexSignaturesEnabledOk() (*bool, bool) { + if o == nil || isNil(o.RawPackageIndexSignaturesEnabled) { return nil, false } return o.RawPackageIndexSignaturesEnabled, true } // HasRawPackageIndexSignaturesEnabled returns a boolean if a field has been set. -func (o *ReposCreate) HasRawPackageIndexSignaturesEnabled() bool { - if o != nil && o.RawPackageIndexSignaturesEnabled != nil { +func (o *RepositoryCreateRequest) HasRawPackageIndexSignaturesEnabled() bool { + if o != nil && !isNil(o.RawPackageIndexSignaturesEnabled) { return true } @@ -605,13 +717,13 @@ func (o *ReposCreate) HasRawPackageIndexSignaturesEnabled() bool { } // SetRawPackageIndexSignaturesEnabled gets a reference to the given bool and assigns it to the RawPackageIndexSignaturesEnabled field. -func (o *ReposCreate) SetRawPackageIndexSignaturesEnabled(v bool) { +func (o *RepositoryCreateRequest) SetRawPackageIndexSignaturesEnabled(v bool) { o.RawPackageIndexSignaturesEnabled = &v } // GetReplacePackages returns the ReplacePackages field value if set, zero value otherwise. -func (o *ReposCreate) GetReplacePackages() string { - if o == nil || o.ReplacePackages == nil { +func (o *RepositoryCreateRequest) GetReplacePackages() string { + if o == nil || isNil(o.ReplacePackages) { var ret string return ret } @@ -620,16 +732,16 @@ func (o *ReposCreate) GetReplacePackages() string { // GetReplacePackagesOk returns a tuple with the ReplacePackages field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *ReposCreate) GetReplacePackagesOk() (*string, bool) { - if o == nil || o.ReplacePackages == nil { +func (o *RepositoryCreateRequest) GetReplacePackagesOk() (*string, bool) { + if o == nil || isNil(o.ReplacePackages) { return nil, false } return o.ReplacePackages, true } // HasReplacePackages returns a boolean if a field has been set. -func (o *ReposCreate) HasReplacePackages() bool { - if o != nil && o.ReplacePackages != nil { +func (o *RepositoryCreateRequest) HasReplacePackages() bool { + if o != nil && !isNil(o.ReplacePackages) { return true } @@ -637,13 +749,13 @@ func (o *ReposCreate) HasReplacePackages() bool { } // SetReplacePackages gets a reference to the given string and assigns it to the ReplacePackages field. -func (o *ReposCreate) SetReplacePackages(v string) { +func (o *RepositoryCreateRequest) SetReplacePackages(v string) { o.ReplacePackages = &v } // GetReplacePackagesByDefault returns the ReplacePackagesByDefault field value if set, zero value otherwise. -func (o *ReposCreate) GetReplacePackagesByDefault() bool { - if o == nil || o.ReplacePackagesByDefault == nil { +func (o *RepositoryCreateRequest) GetReplacePackagesByDefault() bool { + if o == nil || isNil(o.ReplacePackagesByDefault) { var ret bool return ret } @@ -652,16 +764,16 @@ func (o *ReposCreate) GetReplacePackagesByDefault() bool { // GetReplacePackagesByDefaultOk returns a tuple with the ReplacePackagesByDefault field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *ReposCreate) GetReplacePackagesByDefaultOk() (*bool, bool) { - if o == nil || o.ReplacePackagesByDefault == nil { +func (o *RepositoryCreateRequest) GetReplacePackagesByDefaultOk() (*bool, bool) { + if o == nil || isNil(o.ReplacePackagesByDefault) { return nil, false } return o.ReplacePackagesByDefault, true } // HasReplacePackagesByDefault returns a boolean if a field has been set. -func (o *ReposCreate) HasReplacePackagesByDefault() bool { - if o != nil && o.ReplacePackagesByDefault != nil { +func (o *RepositoryCreateRequest) HasReplacePackagesByDefault() bool { + if o != nil && !isNil(o.ReplacePackagesByDefault) { return true } @@ -669,13 +781,13 @@ func (o *ReposCreate) HasReplacePackagesByDefault() bool { } // SetReplacePackagesByDefault gets a reference to the given bool and assigns it to the ReplacePackagesByDefault field. -func (o *ReposCreate) SetReplacePackagesByDefault(v bool) { +func (o *RepositoryCreateRequest) SetReplacePackagesByDefault(v bool) { o.ReplacePackagesByDefault = &v } // GetRepositoryTypeStr returns the RepositoryTypeStr field value if set, zero value otherwise. -func (o *ReposCreate) GetRepositoryTypeStr() string { - if o == nil || o.RepositoryTypeStr == nil { +func (o *RepositoryCreateRequest) GetRepositoryTypeStr() string { + if o == nil || isNil(o.RepositoryTypeStr) { var ret string return ret } @@ -684,16 +796,16 @@ func (o *ReposCreate) GetRepositoryTypeStr() string { // GetRepositoryTypeStrOk returns a tuple with the RepositoryTypeStr field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *ReposCreate) GetRepositoryTypeStrOk() (*string, bool) { - if o == nil || o.RepositoryTypeStr == nil { +func (o *RepositoryCreateRequest) GetRepositoryTypeStrOk() (*string, bool) { + if o == nil || isNil(o.RepositoryTypeStr) { return nil, false } return o.RepositoryTypeStr, true } // HasRepositoryTypeStr returns a boolean if a field has been set. -func (o *ReposCreate) HasRepositoryTypeStr() bool { - if o != nil && o.RepositoryTypeStr != nil { +func (o *RepositoryCreateRequest) HasRepositoryTypeStr() bool { + if o != nil && !isNil(o.RepositoryTypeStr) { return true } @@ -701,13 +813,13 @@ func (o *ReposCreate) HasRepositoryTypeStr() bool { } // SetRepositoryTypeStr gets a reference to the given string and assigns it to the RepositoryTypeStr field. -func (o *ReposCreate) SetRepositoryTypeStr(v string) { +func (o *RepositoryCreateRequest) SetRepositoryTypeStr(v string) { o.RepositoryTypeStr = &v } // GetResyncOwn returns the ResyncOwn field value if set, zero value otherwise. -func (o *ReposCreate) GetResyncOwn() bool { - if o == nil || o.ResyncOwn == nil { +func (o *RepositoryCreateRequest) GetResyncOwn() bool { + if o == nil || isNil(o.ResyncOwn) { var ret bool return ret } @@ -716,16 +828,16 @@ func (o *ReposCreate) GetResyncOwn() bool { // GetResyncOwnOk returns a tuple with the ResyncOwn field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *ReposCreate) GetResyncOwnOk() (*bool, bool) { - if o == nil || o.ResyncOwn == nil { +func (o *RepositoryCreateRequest) GetResyncOwnOk() (*bool, bool) { + if o == nil || isNil(o.ResyncOwn) { return nil, false } return o.ResyncOwn, true } // HasResyncOwn returns a boolean if a field has been set. -func (o *ReposCreate) HasResyncOwn() bool { - if o != nil && o.ResyncOwn != nil { +func (o *RepositoryCreateRequest) HasResyncOwn() bool { + if o != nil && !isNil(o.ResyncOwn) { return true } @@ -733,13 +845,13 @@ func (o *ReposCreate) HasResyncOwn() bool { } // SetResyncOwn gets a reference to the given bool and assigns it to the ResyncOwn field. -func (o *ReposCreate) SetResyncOwn(v bool) { +func (o *RepositoryCreateRequest) SetResyncOwn(v bool) { o.ResyncOwn = &v } // GetResyncPackages returns the ResyncPackages field value if set, zero value otherwise. -func (o *ReposCreate) GetResyncPackages() string { - if o == nil || o.ResyncPackages == nil { +func (o *RepositoryCreateRequest) GetResyncPackages() string { + if o == nil || isNil(o.ResyncPackages) { var ret string return ret } @@ -748,16 +860,16 @@ func (o *ReposCreate) GetResyncPackages() string { // GetResyncPackagesOk returns a tuple with the ResyncPackages field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *ReposCreate) GetResyncPackagesOk() (*string, bool) { - if o == nil || o.ResyncPackages == nil { +func (o *RepositoryCreateRequest) GetResyncPackagesOk() (*string, bool) { + if o == nil || isNil(o.ResyncPackages) { return nil, false } return o.ResyncPackages, true } // HasResyncPackages returns a boolean if a field has been set. -func (o *ReposCreate) HasResyncPackages() bool { - if o != nil && o.ResyncPackages != nil { +func (o *RepositoryCreateRequest) HasResyncPackages() bool { + if o != nil && !isNil(o.ResyncPackages) { return true } @@ -765,13 +877,13 @@ func (o *ReposCreate) HasResyncPackages() bool { } // SetResyncPackages gets a reference to the given string and assigns it to the ResyncPackages field. -func (o *ReposCreate) SetResyncPackages(v string) { +func (o *RepositoryCreateRequest) SetResyncPackages(v string) { o.ResyncPackages = &v } // GetScanOwn returns the ScanOwn field value if set, zero value otherwise. -func (o *ReposCreate) GetScanOwn() bool { - if o == nil || o.ScanOwn == nil { +func (o *RepositoryCreateRequest) GetScanOwn() bool { + if o == nil || isNil(o.ScanOwn) { var ret bool return ret } @@ -780,16 +892,16 @@ func (o *ReposCreate) GetScanOwn() bool { // GetScanOwnOk returns a tuple with the ScanOwn field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *ReposCreate) GetScanOwnOk() (*bool, bool) { - if o == nil || o.ScanOwn == nil { +func (o *RepositoryCreateRequest) GetScanOwnOk() (*bool, bool) { + if o == nil || isNil(o.ScanOwn) { return nil, false } return o.ScanOwn, true } // HasScanOwn returns a boolean if a field has been set. -func (o *ReposCreate) HasScanOwn() bool { - if o != nil && o.ScanOwn != nil { +func (o *RepositoryCreateRequest) HasScanOwn() bool { + if o != nil && !isNil(o.ScanOwn) { return true } @@ -797,13 +909,13 @@ func (o *ReposCreate) HasScanOwn() bool { } // SetScanOwn gets a reference to the given bool and assigns it to the ScanOwn field. -func (o *ReposCreate) SetScanOwn(v bool) { +func (o *RepositoryCreateRequest) SetScanOwn(v bool) { o.ScanOwn = &v } // GetScanPackages returns the ScanPackages field value if set, zero value otherwise. -func (o *ReposCreate) GetScanPackages() string { - if o == nil || o.ScanPackages == nil { +func (o *RepositoryCreateRequest) GetScanPackages() string { + if o == nil || isNil(o.ScanPackages) { var ret string return ret } @@ -812,16 +924,16 @@ func (o *ReposCreate) GetScanPackages() string { // GetScanPackagesOk returns a tuple with the ScanPackages field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *ReposCreate) GetScanPackagesOk() (*string, bool) { - if o == nil || o.ScanPackages == nil { +func (o *RepositoryCreateRequest) GetScanPackagesOk() (*string, bool) { + if o == nil || isNil(o.ScanPackages) { return nil, false } return o.ScanPackages, true } // HasScanPackages returns a boolean if a field has been set. -func (o *ReposCreate) HasScanPackages() bool { - if o != nil && o.ScanPackages != nil { +func (o *RepositoryCreateRequest) HasScanPackages() bool { + if o != nil && !isNil(o.ScanPackages) { return true } @@ -829,13 +941,13 @@ func (o *ReposCreate) HasScanPackages() bool { } // SetScanPackages gets a reference to the given string and assigns it to the ScanPackages field. -func (o *ReposCreate) SetScanPackages(v string) { +func (o *RepositoryCreateRequest) SetScanPackages(v string) { o.ScanPackages = &v } // GetShowSetupAll returns the ShowSetupAll field value if set, zero value otherwise. -func (o *ReposCreate) GetShowSetupAll() bool { - if o == nil || o.ShowSetupAll == nil { +func (o *RepositoryCreateRequest) GetShowSetupAll() bool { + if o == nil || isNil(o.ShowSetupAll) { var ret bool return ret } @@ -844,16 +956,16 @@ func (o *ReposCreate) GetShowSetupAll() bool { // GetShowSetupAllOk returns a tuple with the ShowSetupAll field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *ReposCreate) GetShowSetupAllOk() (*bool, bool) { - if o == nil || o.ShowSetupAll == nil { +func (o *RepositoryCreateRequest) GetShowSetupAllOk() (*bool, bool) { + if o == nil || isNil(o.ShowSetupAll) { return nil, false } return o.ShowSetupAll, true } // HasShowSetupAll returns a boolean if a field has been set. -func (o *ReposCreate) HasShowSetupAll() bool { - if o != nil && o.ShowSetupAll != nil { +func (o *RepositoryCreateRequest) HasShowSetupAll() bool { + if o != nil && !isNil(o.ShowSetupAll) { return true } @@ -861,13 +973,13 @@ func (o *ReposCreate) HasShowSetupAll() bool { } // SetShowSetupAll gets a reference to the given bool and assigns it to the ShowSetupAll field. -func (o *ReposCreate) SetShowSetupAll(v bool) { +func (o *RepositoryCreateRequest) SetShowSetupAll(v bool) { o.ShowSetupAll = &v } // GetSlug returns the Slug field value if set, zero value otherwise. -func (o *ReposCreate) GetSlug() string { - if o == nil || o.Slug == nil { +func (o *RepositoryCreateRequest) GetSlug() string { + if o == nil || isNil(o.Slug) { var ret string return ret } @@ -876,16 +988,16 @@ func (o *ReposCreate) GetSlug() string { // GetSlugOk returns a tuple with the Slug field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *ReposCreate) GetSlugOk() (*string, bool) { - if o == nil || o.Slug == nil { +func (o *RepositoryCreateRequest) GetSlugOk() (*string, bool) { + if o == nil || isNil(o.Slug) { return nil, false } return o.Slug, true } // HasSlug returns a boolean if a field has been set. -func (o *ReposCreate) HasSlug() bool { - if o != nil && o.Slug != nil { +func (o *RepositoryCreateRequest) HasSlug() bool { + if o != nil && !isNil(o.Slug) { return true } @@ -893,13 +1005,13 @@ func (o *ReposCreate) HasSlug() bool { } // SetSlug gets a reference to the given string and assigns it to the Slug field. -func (o *ReposCreate) SetSlug(v string) { +func (o *RepositoryCreateRequest) SetSlug(v string) { o.Slug = &v } // GetStorageRegion returns the StorageRegion field value if set, zero value otherwise. -func (o *ReposCreate) GetStorageRegion() string { - if o == nil || o.StorageRegion == nil { +func (o *RepositoryCreateRequest) GetStorageRegion() string { + if o == nil || isNil(o.StorageRegion) { var ret string return ret } @@ -908,16 +1020,16 @@ func (o *ReposCreate) GetStorageRegion() string { // GetStorageRegionOk returns a tuple with the StorageRegion field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *ReposCreate) GetStorageRegionOk() (*string, bool) { - if o == nil || o.StorageRegion == nil { +func (o *RepositoryCreateRequest) GetStorageRegionOk() (*string, bool) { + if o == nil || isNil(o.StorageRegion) { return nil, false } return o.StorageRegion, true } // HasStorageRegion returns a boolean if a field has been set. -func (o *ReposCreate) HasStorageRegion() bool { - if o != nil && o.StorageRegion != nil { +func (o *RepositoryCreateRequest) HasStorageRegion() bool { + if o != nil && !isNil(o.StorageRegion) { return true } @@ -925,13 +1037,13 @@ func (o *ReposCreate) HasStorageRegion() bool { } // SetStorageRegion gets a reference to the given string and assigns it to the StorageRegion field. -func (o *ReposCreate) SetStorageRegion(v string) { +func (o *RepositoryCreateRequest) SetStorageRegion(v string) { o.StorageRegion = &v } // GetStrictNpmValidation returns the StrictNpmValidation field value if set, zero value otherwise. -func (o *ReposCreate) GetStrictNpmValidation() bool { - if o == nil || o.StrictNpmValidation == nil { +func (o *RepositoryCreateRequest) GetStrictNpmValidation() bool { + if o == nil || isNil(o.StrictNpmValidation) { var ret bool return ret } @@ -940,16 +1052,16 @@ func (o *ReposCreate) GetStrictNpmValidation() bool { // GetStrictNpmValidationOk returns a tuple with the StrictNpmValidation field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *ReposCreate) GetStrictNpmValidationOk() (*bool, bool) { - if o == nil || o.StrictNpmValidation == nil { +func (o *RepositoryCreateRequest) GetStrictNpmValidationOk() (*bool, bool) { + if o == nil || isNil(o.StrictNpmValidation) { return nil, false } return o.StrictNpmValidation, true } // HasStrictNpmValidation returns a boolean if a field has been set. -func (o *ReposCreate) HasStrictNpmValidation() bool { - if o != nil && o.StrictNpmValidation != nil { +func (o *RepositoryCreateRequest) HasStrictNpmValidation() bool { + if o != nil && !isNil(o.StrictNpmValidation) { return true } @@ -957,13 +1069,13 @@ func (o *ReposCreate) HasStrictNpmValidation() bool { } // SetStrictNpmValidation gets a reference to the given bool and assigns it to the StrictNpmValidation field. -func (o *ReposCreate) SetStrictNpmValidation(v bool) { +func (o *RepositoryCreateRequest) SetStrictNpmValidation(v bool) { o.StrictNpmValidation = &v } // GetUseDebianLabels returns the UseDebianLabels field value if set, zero value otherwise. -func (o *ReposCreate) GetUseDebianLabels() bool { - if o == nil || o.UseDebianLabels == nil { +func (o *RepositoryCreateRequest) GetUseDebianLabels() bool { + if o == nil || isNil(o.UseDebianLabels) { var ret bool return ret } @@ -972,16 +1084,16 @@ func (o *ReposCreate) GetUseDebianLabels() bool { // GetUseDebianLabelsOk returns a tuple with the UseDebianLabels field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *ReposCreate) GetUseDebianLabelsOk() (*bool, bool) { - if o == nil || o.UseDebianLabels == nil { +func (o *RepositoryCreateRequest) GetUseDebianLabelsOk() (*bool, bool) { + if o == nil || isNil(o.UseDebianLabels) { return nil, false } return o.UseDebianLabels, true } // HasUseDebianLabels returns a boolean if a field has been set. -func (o *ReposCreate) HasUseDebianLabels() bool { - if o != nil && o.UseDebianLabels != nil { +func (o *RepositoryCreateRequest) HasUseDebianLabels() bool { + if o != nil && !isNil(o.UseDebianLabels) { return true } @@ -989,13 +1101,13 @@ func (o *ReposCreate) HasUseDebianLabels() bool { } // SetUseDebianLabels gets a reference to the given bool and assigns it to the UseDebianLabels field. -func (o *ReposCreate) SetUseDebianLabels(v bool) { +func (o *RepositoryCreateRequest) SetUseDebianLabels(v bool) { o.UseDebianLabels = &v } // GetUseDefaultCargoUpstream returns the UseDefaultCargoUpstream field value if set, zero value otherwise. -func (o *ReposCreate) GetUseDefaultCargoUpstream() bool { - if o == nil || o.UseDefaultCargoUpstream == nil { +func (o *RepositoryCreateRequest) GetUseDefaultCargoUpstream() bool { + if o == nil || isNil(o.UseDefaultCargoUpstream) { var ret bool return ret } @@ -1004,16 +1116,16 @@ func (o *ReposCreate) GetUseDefaultCargoUpstream() bool { // GetUseDefaultCargoUpstreamOk returns a tuple with the UseDefaultCargoUpstream field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *ReposCreate) GetUseDefaultCargoUpstreamOk() (*bool, bool) { - if o == nil || o.UseDefaultCargoUpstream == nil { +func (o *RepositoryCreateRequest) GetUseDefaultCargoUpstreamOk() (*bool, bool) { + if o == nil || isNil(o.UseDefaultCargoUpstream) { return nil, false } return o.UseDefaultCargoUpstream, true } // HasUseDefaultCargoUpstream returns a boolean if a field has been set. -func (o *ReposCreate) HasUseDefaultCargoUpstream() bool { - if o != nil && o.UseDefaultCargoUpstream != nil { +func (o *RepositoryCreateRequest) HasUseDefaultCargoUpstream() bool { + if o != nil && !isNil(o.UseDefaultCargoUpstream) { return true } @@ -1021,13 +1133,13 @@ func (o *ReposCreate) HasUseDefaultCargoUpstream() bool { } // SetUseDefaultCargoUpstream gets a reference to the given bool and assigns it to the UseDefaultCargoUpstream field. -func (o *ReposCreate) SetUseDefaultCargoUpstream(v bool) { +func (o *RepositoryCreateRequest) SetUseDefaultCargoUpstream(v bool) { o.UseDefaultCargoUpstream = &v } // GetUseNoarchPackages returns the UseNoarchPackages field value if set, zero value otherwise. -func (o *ReposCreate) GetUseNoarchPackages() bool { - if o == nil || o.UseNoarchPackages == nil { +func (o *RepositoryCreateRequest) GetUseNoarchPackages() bool { + if o == nil || isNil(o.UseNoarchPackages) { var ret bool return ret } @@ -1036,16 +1148,16 @@ func (o *ReposCreate) GetUseNoarchPackages() bool { // GetUseNoarchPackagesOk returns a tuple with the UseNoarchPackages field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *ReposCreate) GetUseNoarchPackagesOk() (*bool, bool) { - if o == nil || o.UseNoarchPackages == nil { +func (o *RepositoryCreateRequest) GetUseNoarchPackagesOk() (*bool, bool) { + if o == nil || isNil(o.UseNoarchPackages) { return nil, false } return o.UseNoarchPackages, true } // HasUseNoarchPackages returns a boolean if a field has been set. -func (o *ReposCreate) HasUseNoarchPackages() bool { - if o != nil && o.UseNoarchPackages != nil { +func (o *RepositoryCreateRequest) HasUseNoarchPackages() bool { + if o != nil && !isNil(o.UseNoarchPackages) { return true } @@ -1053,13 +1165,13 @@ func (o *ReposCreate) HasUseNoarchPackages() bool { } // SetUseNoarchPackages gets a reference to the given bool and assigns it to the UseNoarchPackages field. -func (o *ReposCreate) SetUseNoarchPackages(v bool) { +func (o *RepositoryCreateRequest) SetUseNoarchPackages(v bool) { o.UseNoarchPackages = &v } // GetUseSourcePackages returns the UseSourcePackages field value if set, zero value otherwise. -func (o *ReposCreate) GetUseSourcePackages() bool { - if o == nil || o.UseSourcePackages == nil { +func (o *RepositoryCreateRequest) GetUseSourcePackages() bool { + if o == nil || isNil(o.UseSourcePackages) { var ret bool return ret } @@ -1068,16 +1180,16 @@ func (o *ReposCreate) GetUseSourcePackages() bool { // GetUseSourcePackagesOk returns a tuple with the UseSourcePackages field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *ReposCreate) GetUseSourcePackagesOk() (*bool, bool) { - if o == nil || o.UseSourcePackages == nil { +func (o *RepositoryCreateRequest) GetUseSourcePackagesOk() (*bool, bool) { + if o == nil || isNil(o.UseSourcePackages) { return nil, false } return o.UseSourcePackages, true } // HasUseSourcePackages returns a boolean if a field has been set. -func (o *ReposCreate) HasUseSourcePackages() bool { - if o != nil && o.UseSourcePackages != nil { +func (o *RepositoryCreateRequest) HasUseSourcePackages() bool { + if o != nil && !isNil(o.UseSourcePackages) { return true } @@ -1085,13 +1197,13 @@ func (o *ReposCreate) HasUseSourcePackages() bool { } // SetUseSourcePackages gets a reference to the given bool and assigns it to the UseSourcePackages field. -func (o *ReposCreate) SetUseSourcePackages(v bool) { +func (o *RepositoryCreateRequest) SetUseSourcePackages(v bool) { o.UseSourcePackages = &v } // GetUseVulnerabilityScanning returns the UseVulnerabilityScanning field value if set, zero value otherwise. -func (o *ReposCreate) GetUseVulnerabilityScanning() bool { - if o == nil || o.UseVulnerabilityScanning == nil { +func (o *RepositoryCreateRequest) GetUseVulnerabilityScanning() bool { + if o == nil || isNil(o.UseVulnerabilityScanning) { var ret bool return ret } @@ -1100,16 +1212,16 @@ func (o *ReposCreate) GetUseVulnerabilityScanning() bool { // GetUseVulnerabilityScanningOk returns a tuple with the UseVulnerabilityScanning field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *ReposCreate) GetUseVulnerabilityScanningOk() (*bool, bool) { - if o == nil || o.UseVulnerabilityScanning == nil { +func (o *RepositoryCreateRequest) GetUseVulnerabilityScanningOk() (*bool, bool) { + if o == nil || isNil(o.UseVulnerabilityScanning) { return nil, false } return o.UseVulnerabilityScanning, true } // HasUseVulnerabilityScanning returns a boolean if a field has been set. -func (o *ReposCreate) HasUseVulnerabilityScanning() bool { - if o != nil && o.UseVulnerabilityScanning != nil { +func (o *RepositoryCreateRequest) HasUseVulnerabilityScanning() bool { + if o != nil && !isNil(o.UseVulnerabilityScanning) { return true } @@ -1117,13 +1229,13 @@ func (o *ReposCreate) HasUseVulnerabilityScanning() bool { } // SetUseVulnerabilityScanning gets a reference to the given bool and assigns it to the UseVulnerabilityScanning field. -func (o *ReposCreate) SetUseVulnerabilityScanning(v bool) { +func (o *RepositoryCreateRequest) SetUseVulnerabilityScanning(v bool) { o.UseVulnerabilityScanning = &v } // GetUserEntitlementsEnabled returns the UserEntitlementsEnabled field value if set, zero value otherwise. -func (o *ReposCreate) GetUserEntitlementsEnabled() bool { - if o == nil || o.UserEntitlementsEnabled == nil { +func (o *RepositoryCreateRequest) GetUserEntitlementsEnabled() bool { + if o == nil || isNil(o.UserEntitlementsEnabled) { var ret bool return ret } @@ -1132,16 +1244,16 @@ func (o *ReposCreate) GetUserEntitlementsEnabled() bool { // GetUserEntitlementsEnabledOk returns a tuple with the UserEntitlementsEnabled field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *ReposCreate) GetUserEntitlementsEnabledOk() (*bool, bool) { - if o == nil || o.UserEntitlementsEnabled == nil { +func (o *RepositoryCreateRequest) GetUserEntitlementsEnabledOk() (*bool, bool) { + if o == nil || isNil(o.UserEntitlementsEnabled) { return nil, false } return o.UserEntitlementsEnabled, true } // HasUserEntitlementsEnabled returns a boolean if a field has been set. -func (o *ReposCreate) HasUserEntitlementsEnabled() bool { - if o != nil && o.UserEntitlementsEnabled != nil { +func (o *RepositoryCreateRequest) HasUserEntitlementsEnabled() bool { + if o != nil && !isNil(o.UserEntitlementsEnabled) { return true } @@ -1149,13 +1261,13 @@ func (o *ReposCreate) HasUserEntitlementsEnabled() bool { } // SetUserEntitlementsEnabled gets a reference to the given bool and assigns it to the UserEntitlementsEnabled field. -func (o *ReposCreate) SetUserEntitlementsEnabled(v bool) { +func (o *RepositoryCreateRequest) SetUserEntitlementsEnabled(v bool) { o.UserEntitlementsEnabled = &v } // GetViewStatistics returns the ViewStatistics field value if set, zero value otherwise. -func (o *ReposCreate) GetViewStatistics() string { - if o == nil || o.ViewStatistics == nil { +func (o *RepositoryCreateRequest) GetViewStatistics() string { + if o == nil || isNil(o.ViewStatistics) { var ret string return ret } @@ -1164,16 +1276,16 @@ func (o *ReposCreate) GetViewStatistics() string { // GetViewStatisticsOk returns a tuple with the ViewStatistics field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *ReposCreate) GetViewStatisticsOk() (*string, bool) { - if o == nil || o.ViewStatistics == nil { +func (o *RepositoryCreateRequest) GetViewStatisticsOk() (*string, bool) { + if o == nil || isNil(o.ViewStatistics) { return nil, false } return o.ViewStatistics, true } // HasViewStatistics returns a boolean if a field has been set. -func (o *ReposCreate) HasViewStatistics() bool { - if o != nil && o.ViewStatistics != nil { +func (o *RepositoryCreateRequest) HasViewStatistics() bool { + if o != nil && !isNil(o.ViewStatistics) { return true } @@ -1181,149 +1293,155 @@ func (o *ReposCreate) HasViewStatistics() bool { } // SetViewStatistics gets a reference to the given string and assigns it to the ViewStatistics field. -func (o *ReposCreate) SetViewStatistics(v string) { +func (o *RepositoryCreateRequest) SetViewStatistics(v string) { o.ViewStatistics = &v } -func (o ReposCreate) MarshalJSON() ([]byte, error) { +func (o RepositoryCreateRequest) MarshalJSON() ([]byte, error) { toSerialize := map[string]interface{}{} - if o.ContextualAuthRealm != nil { + if !isNil(o.ContentKind) { + toSerialize["content_kind"] = o.ContentKind + } + if !isNil(o.ContextualAuthRealm) { toSerialize["contextual_auth_realm"] = o.ContextualAuthRealm } - if o.CopyOwn != nil { + if !isNil(o.CopyOwn) { toSerialize["copy_own"] = o.CopyOwn } - if o.CopyPackages != nil { + if !isNil(o.CopyPackages) { toSerialize["copy_packages"] = o.CopyPackages } - if o.DefaultPrivilege != nil { + if !isNil(o.DefaultPrivilege) { toSerialize["default_privilege"] = o.DefaultPrivilege } - if o.DeleteOwn != nil { + if !isNil(o.DeleteOwn) { toSerialize["delete_own"] = o.DeleteOwn } - if o.DeletePackages != nil { + if !isNil(o.DeletePackages) { toSerialize["delete_packages"] = o.DeletePackages } - if o.Description != nil { + if !isNil(o.Description) { toSerialize["description"] = o.Description } - if o.DockerRefreshTokensEnabled != nil { + if !isNil(o.Distributes) { + toSerialize["distributes"] = o.Distributes + } + if !isNil(o.DockerRefreshTokensEnabled) { toSerialize["docker_refresh_tokens_enabled"] = o.DockerRefreshTokensEnabled } - if o.IndexFiles != nil { + if !isNil(o.IndexFiles) { toSerialize["index_files"] = o.IndexFiles } - if o.MoveOwn != nil { + if !isNil(o.MoveOwn) { toSerialize["move_own"] = o.MoveOwn } - if o.MovePackages != nil { + if !isNil(o.MovePackages) { toSerialize["move_packages"] = o.MovePackages } if true { toSerialize["name"] = o.Name } - if o.ProxyNpmjs != nil { + if !isNil(o.ProxyNpmjs) { toSerialize["proxy_npmjs"] = o.ProxyNpmjs } - if o.ProxyPypi != nil { + if !isNil(o.ProxyPypi) { toSerialize["proxy_pypi"] = o.ProxyPypi } - if o.RawPackageIndexEnabled != nil { + if !isNil(o.RawPackageIndexEnabled) { toSerialize["raw_package_index_enabled"] = o.RawPackageIndexEnabled } - if o.RawPackageIndexSignaturesEnabled != nil { + if !isNil(o.RawPackageIndexSignaturesEnabled) { toSerialize["raw_package_index_signatures_enabled"] = o.RawPackageIndexSignaturesEnabled } - if o.ReplacePackages != nil { + if !isNil(o.ReplacePackages) { toSerialize["replace_packages"] = o.ReplacePackages } - if o.ReplacePackagesByDefault != nil { + if !isNil(o.ReplacePackagesByDefault) { toSerialize["replace_packages_by_default"] = o.ReplacePackagesByDefault } - if o.RepositoryTypeStr != nil { + if !isNil(o.RepositoryTypeStr) { toSerialize["repository_type_str"] = o.RepositoryTypeStr } - if o.ResyncOwn != nil { + if !isNil(o.ResyncOwn) { toSerialize["resync_own"] = o.ResyncOwn } - if o.ResyncPackages != nil { + if !isNil(o.ResyncPackages) { toSerialize["resync_packages"] = o.ResyncPackages } - if o.ScanOwn != nil { + if !isNil(o.ScanOwn) { toSerialize["scan_own"] = o.ScanOwn } - if o.ScanPackages != nil { + if !isNil(o.ScanPackages) { toSerialize["scan_packages"] = o.ScanPackages } - if o.ShowSetupAll != nil { + if !isNil(o.ShowSetupAll) { toSerialize["show_setup_all"] = o.ShowSetupAll } - if o.Slug != nil { + if !isNil(o.Slug) { toSerialize["slug"] = o.Slug } - if o.StorageRegion != nil { + if !isNil(o.StorageRegion) { toSerialize["storage_region"] = o.StorageRegion } - if o.StrictNpmValidation != nil { + if !isNil(o.StrictNpmValidation) { toSerialize["strict_npm_validation"] = o.StrictNpmValidation } - if o.UseDebianLabels != nil { + if !isNil(o.UseDebianLabels) { toSerialize["use_debian_labels"] = o.UseDebianLabels } - if o.UseDefaultCargoUpstream != nil { + if !isNil(o.UseDefaultCargoUpstream) { toSerialize["use_default_cargo_upstream"] = o.UseDefaultCargoUpstream } - if o.UseNoarchPackages != nil { + if !isNil(o.UseNoarchPackages) { toSerialize["use_noarch_packages"] = o.UseNoarchPackages } - if o.UseSourcePackages != nil { + if !isNil(o.UseSourcePackages) { toSerialize["use_source_packages"] = o.UseSourcePackages } - if o.UseVulnerabilityScanning != nil { + if !isNil(o.UseVulnerabilityScanning) { toSerialize["use_vulnerability_scanning"] = o.UseVulnerabilityScanning } - if o.UserEntitlementsEnabled != nil { + if !isNil(o.UserEntitlementsEnabled) { toSerialize["user_entitlements_enabled"] = o.UserEntitlementsEnabled } - if o.ViewStatistics != nil { + if !isNil(o.ViewStatistics) { toSerialize["view_statistics"] = o.ViewStatistics } return json.Marshal(toSerialize) } -type NullableReposCreate struct { - value *ReposCreate +type NullableRepositoryCreateRequest struct { + value *RepositoryCreateRequest isSet bool } -func (v NullableReposCreate) Get() *ReposCreate { +func (v NullableRepositoryCreateRequest) Get() *RepositoryCreateRequest { return v.value } -func (v *NullableReposCreate) Set(val *ReposCreate) { +func (v *NullableRepositoryCreateRequest) Set(val *RepositoryCreateRequest) { v.value = val v.isSet = true } -func (v NullableReposCreate) IsSet() bool { +func (v NullableRepositoryCreateRequest) IsSet() bool { return v.isSet } -func (v *NullableReposCreate) Unset() { +func (v *NullableRepositoryCreateRequest) Unset() { v.value = nil v.isSet = false } -func NewNullableReposCreate(val *ReposCreate) *NullableReposCreate { - return &NullableReposCreate{value: val, isSet: true} +func NewNullableRepositoryCreateRequest(val *RepositoryCreateRequest) *NullableRepositoryCreateRequest { + return &NullableRepositoryCreateRequest{value: val, isSet: true} } -func (v NullableReposCreate) MarshalJSON() ([]byte, error) { +func (v NullableRepositoryCreateRequest) MarshalJSON() ([]byte, error) { return json.Marshal(v.value) } -func (v *NullableReposCreate) UnmarshalJSON(src []byte) error { +func (v *NullableRepositoryCreateRequest) UnmarshalJSON(src []byte) error { v.isSet = true return json.Unmarshal(src, &v.value) } diff --git a/model_repository.go b/model_repository_create_response.go similarity index 60% rename from model_repository.go rename to model_repository_create_response.go index dc3b884a..ee7a74c4 100644 --- a/model_repository.go +++ b/model_repository_create_response.go @@ -1,9 +1,9 @@ /* -Cloudsmith API +Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.121.3 +API version: 1.181.6 Contact: support@cloudsmith.io */ @@ -13,42 +13,41 @@ package cloudsmith import ( "encoding/json" + "time" ) -// Repository struct for Repository -type Repository struct { +// RepositoryCreateResponse struct for RepositoryCreateResponse +type RepositoryCreateResponse struct { // Base URL from which packages and other artifacts are downloaded. - CdnUrl *string `json:"cdn_url,omitempty"` + CdnUrl NullableString `json:"cdn_url,omitempty"` + // The repository content kind determines whether this repository contains packages, or provides a distribution of packages from other repositories. You can only select the content kind at repository creation time. + ContentKind *string `json:"content_kind,omitempty"` // If checked, missing credentials for this repository where basic authentication is required shall present an enriched value in the 'WWW-Authenticate' header containing the namespace and repository. This can be useful for tooling such as SBT where the authentication realm is used to distinguish and disambiguate credentials. ContextualAuthRealm *bool `json:"contextual_auth_realm,omitempty"` // If checked, users can copy any of their own packages that they have uploaded, assuming that they still have write privilege for the repository. This takes precedence over privileges configured in the 'Access Controls' section of the repository, and any inherited from the org. CopyOwn *bool `json:"copy_own,omitempty"` // This defines the minimum level of privilege required for a user to copy packages. Unless the package was uploaded by that user, in which the permission may be overridden by the user-specific copy setting. - CopyPackages *string `json:"copy_packages,omitempty"` - // - CreatedAt *string `json:"created_at,omitempty"` + CopyPackages *string `json:"copy_packages,omitempty"` + CreatedAt *time.Time `json:"created_at,omitempty"` // This defines the default level of privilege that all of your organization members have for this repository. This does not include collaborators, but applies to any member of the org regardless of their own membership role (i.e. it applies to owners, managers and members). Be careful if setting this to admin, because any member will be able to change settings. DefaultPrivilege *string `json:"default_privilege,omitempty"` // If checked, users can delete any of their own packages that they have uploaded, assuming that they still have write privilege for the repository. This takes precedence over privileges configured in the 'Access Controls' section of the repository, and any inherited from the org. DeleteOwn *bool `json:"delete_own,omitempty"` // This defines the minimum level of privilege required for a user to delete packages. Unless the package was uploaded by that user, in which the permission may be overridden by the user-specific delete setting. - DeletePackages *string `json:"delete_packages,omitempty"` - // - DeletedAt *string `json:"deleted_at,omitempty"` + DeletePackages *string `json:"delete_packages,omitempty"` + DeletedAt *time.Time `json:"deleted_at,omitempty"` // A description of the repository's purpose/contents. Description *string `json:"description,omitempty"` + // The repositories distributed through this repo. Adding repos here is only valid if the content_kind is DISTRIBUTION. + Distributes []string `json:"distributes,omitempty"` // If checked, refresh tokens will be issued in addition to access tokens for Docker authentication. This allows unlimited extension of the lifetime of access tokens. - DockerRefreshTokensEnabled *bool `json:"docker_refresh_tokens_enabled,omitempty"` - // - GpgKeys []ReposGpgKeys `json:"gpg_keys,omitempty"` + DockerRefreshTokensEnabled *bool `json:"docker_refresh_tokens_enabled,omitempty"` + GpgKeys []RepositoryGpgKey `json:"gpg_keys,omitempty"` // If checked, files contained in packages will be indexed, which increase the synchronisation time required for packages. Note that it is recommended you keep this enabled unless the synchronisation time is significantly impacted. - IndexFiles *bool `json:"index_files,omitempty"` - // + IndexFiles *bool `json:"index_files,omitempty"` IsOpenSource *bool `json:"is_open_source,omitempty"` - // - IsPrivate *bool `json:"is_private,omitempty"` - // - IsPublic *bool `json:"is_public,omitempty"` + IsPrivate *bool `json:"is_private,omitempty"` + IsPublic *bool `json:"is_public,omitempty"` // If checked, users can move any of their own packages that they have uploaded, assuming that they still have write privilege for the repository. This takes precedence over privileges configured in the 'Access Controls' section of the repository, and any inherited from the org. MoveOwn *bool `json:"move_own,omitempty"` // This defines the minimum level of privilege required for a user to move packages. Unless the package was uploaded by that user, in which the permission may be overridden by the user-specific move setting. @@ -77,9 +76,9 @@ type Repository struct { ReplacePackages *string `json:"replace_packages,omitempty"` // If checked, uploaded packages will overwrite/replace any others with the same attributes (e.g. same version) by default. This only applies if the user has the required privilege for the republishing AND has the required privilege to delete existing packages that they don't own. ReplacePackagesByDefault *bool `json:"replace_packages_by_default,omitempty"` - // The repository type changes how it is accessed and billed. Private repositories can only be used on paid plans, but are visible only to you or authorised delegates. Open-Source repositories are always visible to everyone and are restricted by licensing, but are free to use and come with generous bandwidth/storage. You can only select Open-Source at repository creation time. + // The repository type changes how it is accessed and billed. Private repositories are visible only to you or authorized delegates. Open-Source repositories are always visible to everyone and are restricted by licensing, but are free to use and come with generous bandwidth/storage. You can only select Open-Source at repository creation time. RepositoryType *int64 `json:"repository_type,omitempty"` - // The repository type changes how it is accessed and billed. Private repositories can only be used on paid plans, but are visible only to you or authorised delegates. Public repositories are free to use on all plans and visible to all Cloudsmith users. + // The repository type changes how it is accessed and billed. Private repositories are visible only to you or authorized delegates. Public repositories are visible to all Cloudsmith users. RepositoryTypeStr *string `json:"repository_type_str,omitempty"` // If checked, users can resync any of their own packages that they have uploaded, assuming that they still have write privilege for the repository. This takes precedence over privileges configured in the 'Access Controls' section of the repository, and any inherited from the org. ResyncOwn *bool `json:"resync_own,omitempty"` @@ -119,63 +118,150 @@ type Repository struct { UseVulnerabilityScanning *bool `json:"use_vulnerability_scanning,omitempty"` // If checked, users can use and manage their own user-specific entitlement token for the repository (if private). Otherwise, user-specific entitlements are disabled for all users. UserEntitlementsEnabled *bool `json:"user_entitlements_enabled,omitempty"` - // This defines the minimum level of privilege required for a user to view repository statistics, to include entitlement-based usage, if applciable. If a user does not have the permission, they won't be able to view any statistics, either via the UI, API or CLI. + // This defines the minimum level of privilege required for a user to view repository statistics, to include entitlement-based usage, if applicable. If a user does not have the permission, they won't be able to view any statistics, either via the UI, API or CLI. ViewStatistics *string `json:"view_statistics,omitempty"` } -// NewRepository instantiates a new Repository object +// NewRepositoryCreateResponse instantiates a new RepositoryCreateResponse object // 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 NewRepository(name string) *Repository { - this := Repository{} +func NewRepositoryCreateResponse(name string) *RepositoryCreateResponse { + this := RepositoryCreateResponse{} + var contentKind string = "Standard" + this.ContentKind = &contentKind + var copyPackages string = "Read" + this.CopyPackages = ©Packages + var defaultPrivilege string = "None" + this.DefaultPrivilege = &defaultPrivilege + var deletePackages string = "Admin" + this.DeletePackages = &deletePackages + var movePackages string = "Admin" + this.MovePackages = &movePackages this.Name = name + var replacePackages string = "Write" + this.ReplacePackages = &replacePackages + var repositoryTypeStr string = "Public" + this.RepositoryTypeStr = &repositoryTypeStr + var resyncPackages string = "Admin" + this.ResyncPackages = &resyncPackages + var scanPackages string = "Read" + this.ScanPackages = &scanPackages + var storageRegion string = "default" + this.StorageRegion = &storageRegion + var viewStatistics string = "Read" + this.ViewStatistics = &viewStatistics return &this } -// NewRepositoryWithDefaults instantiates a new Repository object +// NewRepositoryCreateResponseWithDefaults instantiates a new RepositoryCreateResponse object // This constructor will only assign default values to properties that have it defined, // but it doesn't guarantee that properties required by API are set -func NewRepositoryWithDefaults() *Repository { - this := Repository{} +func NewRepositoryCreateResponseWithDefaults() *RepositoryCreateResponse { + this := RepositoryCreateResponse{} + var contentKind string = "Standard" + this.ContentKind = &contentKind + var copyPackages string = "Read" + this.CopyPackages = ©Packages + var defaultPrivilege string = "None" + this.DefaultPrivilege = &defaultPrivilege + var deletePackages string = "Admin" + this.DeletePackages = &deletePackages + var movePackages string = "Admin" + this.MovePackages = &movePackages + var replacePackages string = "Write" + this.ReplacePackages = &replacePackages + var repositoryTypeStr string = "Public" + this.RepositoryTypeStr = &repositoryTypeStr + var resyncPackages string = "Admin" + this.ResyncPackages = &resyncPackages + var scanPackages string = "Read" + this.ScanPackages = &scanPackages + var storageRegion string = "default" + this.StorageRegion = &storageRegion + var viewStatistics string = "Read" + this.ViewStatistics = &viewStatistics return &this } -// GetCdnUrl returns the CdnUrl field value if set, zero value otherwise. -func (o *Repository) GetCdnUrl() string { - if o == nil || o.CdnUrl == nil { +// GetCdnUrl returns the CdnUrl field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *RepositoryCreateResponse) GetCdnUrl() string { + if o == nil || isNil(o.CdnUrl.Get()) { var ret string return ret } - return *o.CdnUrl + return *o.CdnUrl.Get() } // GetCdnUrlOk returns a tuple with the CdnUrl field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *Repository) GetCdnUrlOk() (*string, bool) { - if o == nil || o.CdnUrl == nil { +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *RepositoryCreateResponse) GetCdnUrlOk() (*string, bool) { + if o == nil { return nil, false } - return o.CdnUrl, true + return o.CdnUrl.Get(), o.CdnUrl.IsSet() } // HasCdnUrl returns a boolean if a field has been set. -func (o *Repository) HasCdnUrl() bool { - if o != nil && o.CdnUrl != nil { +func (o *RepositoryCreateResponse) HasCdnUrl() bool { + if o != nil && o.CdnUrl.IsSet() { + return true + } + + return false +} + +// SetCdnUrl gets a reference to the given NullableString and assigns it to the CdnUrl field. +func (o *RepositoryCreateResponse) SetCdnUrl(v string) { + o.CdnUrl.Set(&v) +} + +// SetCdnUrlNil sets the value for CdnUrl to be an explicit nil +func (o *RepositoryCreateResponse) SetCdnUrlNil() { + o.CdnUrl.Set(nil) +} + +// UnsetCdnUrl ensures that no value is present for CdnUrl, not even an explicit nil +func (o *RepositoryCreateResponse) UnsetCdnUrl() { + o.CdnUrl.Unset() +} + +// GetContentKind returns the ContentKind field value if set, zero value otherwise. +func (o *RepositoryCreateResponse) GetContentKind() string { + if o == nil || isNil(o.ContentKind) { + var ret string + return ret + } + return *o.ContentKind +} + +// GetContentKindOk returns a tuple with the ContentKind field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *RepositoryCreateResponse) GetContentKindOk() (*string, bool) { + if o == nil || isNil(o.ContentKind) { + return nil, false + } + return o.ContentKind, true +} + +// HasContentKind returns a boolean if a field has been set. +func (o *RepositoryCreateResponse) HasContentKind() bool { + if o != nil && !isNil(o.ContentKind) { return true } return false } -// SetCdnUrl gets a reference to the given string and assigns it to the CdnUrl field. -func (o *Repository) SetCdnUrl(v string) { - o.CdnUrl = &v +// SetContentKind gets a reference to the given string and assigns it to the ContentKind field. +func (o *RepositoryCreateResponse) SetContentKind(v string) { + o.ContentKind = &v } // GetContextualAuthRealm returns the ContextualAuthRealm field value if set, zero value otherwise. -func (o *Repository) GetContextualAuthRealm() bool { - if o == nil || o.ContextualAuthRealm == nil { +func (o *RepositoryCreateResponse) GetContextualAuthRealm() bool { + if o == nil || isNil(o.ContextualAuthRealm) { var ret bool return ret } @@ -184,16 +270,16 @@ func (o *Repository) GetContextualAuthRealm() bool { // GetContextualAuthRealmOk returns a tuple with the ContextualAuthRealm field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *Repository) GetContextualAuthRealmOk() (*bool, bool) { - if o == nil || o.ContextualAuthRealm == nil { +func (o *RepositoryCreateResponse) GetContextualAuthRealmOk() (*bool, bool) { + if o == nil || isNil(o.ContextualAuthRealm) { return nil, false } return o.ContextualAuthRealm, true } // HasContextualAuthRealm returns a boolean if a field has been set. -func (o *Repository) HasContextualAuthRealm() bool { - if o != nil && o.ContextualAuthRealm != nil { +func (o *RepositoryCreateResponse) HasContextualAuthRealm() bool { + if o != nil && !isNil(o.ContextualAuthRealm) { return true } @@ -201,13 +287,13 @@ func (o *Repository) HasContextualAuthRealm() bool { } // SetContextualAuthRealm gets a reference to the given bool and assigns it to the ContextualAuthRealm field. -func (o *Repository) SetContextualAuthRealm(v bool) { +func (o *RepositoryCreateResponse) SetContextualAuthRealm(v bool) { o.ContextualAuthRealm = &v } // GetCopyOwn returns the CopyOwn field value if set, zero value otherwise. -func (o *Repository) GetCopyOwn() bool { - if o == nil || o.CopyOwn == nil { +func (o *RepositoryCreateResponse) GetCopyOwn() bool { + if o == nil || isNil(o.CopyOwn) { var ret bool return ret } @@ -216,16 +302,16 @@ func (o *Repository) GetCopyOwn() bool { // GetCopyOwnOk returns a tuple with the CopyOwn field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *Repository) GetCopyOwnOk() (*bool, bool) { - if o == nil || o.CopyOwn == nil { +func (o *RepositoryCreateResponse) GetCopyOwnOk() (*bool, bool) { + if o == nil || isNil(o.CopyOwn) { return nil, false } return o.CopyOwn, true } // HasCopyOwn returns a boolean if a field has been set. -func (o *Repository) HasCopyOwn() bool { - if o != nil && o.CopyOwn != nil { +func (o *RepositoryCreateResponse) HasCopyOwn() bool { + if o != nil && !isNil(o.CopyOwn) { return true } @@ -233,13 +319,13 @@ func (o *Repository) HasCopyOwn() bool { } // SetCopyOwn gets a reference to the given bool and assigns it to the CopyOwn field. -func (o *Repository) SetCopyOwn(v bool) { +func (o *RepositoryCreateResponse) SetCopyOwn(v bool) { o.CopyOwn = &v } // GetCopyPackages returns the CopyPackages field value if set, zero value otherwise. -func (o *Repository) GetCopyPackages() string { - if o == nil || o.CopyPackages == nil { +func (o *RepositoryCreateResponse) GetCopyPackages() string { + if o == nil || isNil(o.CopyPackages) { var ret string return ret } @@ -248,16 +334,16 @@ func (o *Repository) GetCopyPackages() string { // GetCopyPackagesOk returns a tuple with the CopyPackages field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *Repository) GetCopyPackagesOk() (*string, bool) { - if o == nil || o.CopyPackages == nil { +func (o *RepositoryCreateResponse) GetCopyPackagesOk() (*string, bool) { + if o == nil || isNil(o.CopyPackages) { return nil, false } return o.CopyPackages, true } // HasCopyPackages returns a boolean if a field has been set. -func (o *Repository) HasCopyPackages() bool { - if o != nil && o.CopyPackages != nil { +func (o *RepositoryCreateResponse) HasCopyPackages() bool { + if o != nil && !isNil(o.CopyPackages) { return true } @@ -265,14 +351,14 @@ func (o *Repository) HasCopyPackages() bool { } // SetCopyPackages gets a reference to the given string and assigns it to the CopyPackages field. -func (o *Repository) SetCopyPackages(v string) { +func (o *RepositoryCreateResponse) SetCopyPackages(v string) { o.CopyPackages = &v } // GetCreatedAt returns the CreatedAt field value if set, zero value otherwise. -func (o *Repository) GetCreatedAt() string { - if o == nil || o.CreatedAt == nil { - var ret string +func (o *RepositoryCreateResponse) GetCreatedAt() time.Time { + if o == nil || isNil(o.CreatedAt) { + var ret time.Time return ret } return *o.CreatedAt @@ -280,30 +366,30 @@ func (o *Repository) GetCreatedAt() string { // GetCreatedAtOk returns a tuple with the CreatedAt field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *Repository) GetCreatedAtOk() (*string, bool) { - if o == nil || o.CreatedAt == nil { +func (o *RepositoryCreateResponse) GetCreatedAtOk() (*time.Time, bool) { + if o == nil || isNil(o.CreatedAt) { return nil, false } return o.CreatedAt, true } // HasCreatedAt returns a boolean if a field has been set. -func (o *Repository) HasCreatedAt() bool { - if o != nil && o.CreatedAt != nil { +func (o *RepositoryCreateResponse) HasCreatedAt() bool { + if o != nil && !isNil(o.CreatedAt) { return true } return false } -// SetCreatedAt gets a reference to the given string and assigns it to the CreatedAt field. -func (o *Repository) SetCreatedAt(v string) { +// SetCreatedAt gets a reference to the given time.Time and assigns it to the CreatedAt field. +func (o *RepositoryCreateResponse) SetCreatedAt(v time.Time) { o.CreatedAt = &v } // GetDefaultPrivilege returns the DefaultPrivilege field value if set, zero value otherwise. -func (o *Repository) GetDefaultPrivilege() string { - if o == nil || o.DefaultPrivilege == nil { +func (o *RepositoryCreateResponse) GetDefaultPrivilege() string { + if o == nil || isNil(o.DefaultPrivilege) { var ret string return ret } @@ -312,16 +398,16 @@ func (o *Repository) GetDefaultPrivilege() string { // GetDefaultPrivilegeOk returns a tuple with the DefaultPrivilege field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *Repository) GetDefaultPrivilegeOk() (*string, bool) { - if o == nil || o.DefaultPrivilege == nil { +func (o *RepositoryCreateResponse) GetDefaultPrivilegeOk() (*string, bool) { + if o == nil || isNil(o.DefaultPrivilege) { return nil, false } return o.DefaultPrivilege, true } // HasDefaultPrivilege returns a boolean if a field has been set. -func (o *Repository) HasDefaultPrivilege() bool { - if o != nil && o.DefaultPrivilege != nil { +func (o *RepositoryCreateResponse) HasDefaultPrivilege() bool { + if o != nil && !isNil(o.DefaultPrivilege) { return true } @@ -329,13 +415,13 @@ func (o *Repository) HasDefaultPrivilege() bool { } // SetDefaultPrivilege gets a reference to the given string and assigns it to the DefaultPrivilege field. -func (o *Repository) SetDefaultPrivilege(v string) { +func (o *RepositoryCreateResponse) SetDefaultPrivilege(v string) { o.DefaultPrivilege = &v } // GetDeleteOwn returns the DeleteOwn field value if set, zero value otherwise. -func (o *Repository) GetDeleteOwn() bool { - if o == nil || o.DeleteOwn == nil { +func (o *RepositoryCreateResponse) GetDeleteOwn() bool { + if o == nil || isNil(o.DeleteOwn) { var ret bool return ret } @@ -344,16 +430,16 @@ func (o *Repository) GetDeleteOwn() bool { // GetDeleteOwnOk returns a tuple with the DeleteOwn field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *Repository) GetDeleteOwnOk() (*bool, bool) { - if o == nil || o.DeleteOwn == nil { +func (o *RepositoryCreateResponse) GetDeleteOwnOk() (*bool, bool) { + if o == nil || isNil(o.DeleteOwn) { return nil, false } return o.DeleteOwn, true } // HasDeleteOwn returns a boolean if a field has been set. -func (o *Repository) HasDeleteOwn() bool { - if o != nil && o.DeleteOwn != nil { +func (o *RepositoryCreateResponse) HasDeleteOwn() bool { + if o != nil && !isNil(o.DeleteOwn) { return true } @@ -361,13 +447,13 @@ func (o *Repository) HasDeleteOwn() bool { } // SetDeleteOwn gets a reference to the given bool and assigns it to the DeleteOwn field. -func (o *Repository) SetDeleteOwn(v bool) { +func (o *RepositoryCreateResponse) SetDeleteOwn(v bool) { o.DeleteOwn = &v } // GetDeletePackages returns the DeletePackages field value if set, zero value otherwise. -func (o *Repository) GetDeletePackages() string { - if o == nil || o.DeletePackages == nil { +func (o *RepositoryCreateResponse) GetDeletePackages() string { + if o == nil || isNil(o.DeletePackages) { var ret string return ret } @@ -376,16 +462,16 @@ func (o *Repository) GetDeletePackages() string { // GetDeletePackagesOk returns a tuple with the DeletePackages field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *Repository) GetDeletePackagesOk() (*string, bool) { - if o == nil || o.DeletePackages == nil { +func (o *RepositoryCreateResponse) GetDeletePackagesOk() (*string, bool) { + if o == nil || isNil(o.DeletePackages) { return nil, false } return o.DeletePackages, true } // HasDeletePackages returns a boolean if a field has been set. -func (o *Repository) HasDeletePackages() bool { - if o != nil && o.DeletePackages != nil { +func (o *RepositoryCreateResponse) HasDeletePackages() bool { + if o != nil && !isNil(o.DeletePackages) { return true } @@ -393,14 +479,14 @@ func (o *Repository) HasDeletePackages() bool { } // SetDeletePackages gets a reference to the given string and assigns it to the DeletePackages field. -func (o *Repository) SetDeletePackages(v string) { +func (o *RepositoryCreateResponse) SetDeletePackages(v string) { o.DeletePackages = &v } // GetDeletedAt returns the DeletedAt field value if set, zero value otherwise. -func (o *Repository) GetDeletedAt() string { - if o == nil || o.DeletedAt == nil { - var ret string +func (o *RepositoryCreateResponse) GetDeletedAt() time.Time { + if o == nil || isNil(o.DeletedAt) { + var ret time.Time return ret } return *o.DeletedAt @@ -408,30 +494,30 @@ func (o *Repository) GetDeletedAt() string { // GetDeletedAtOk returns a tuple with the DeletedAt field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *Repository) GetDeletedAtOk() (*string, bool) { - if o == nil || o.DeletedAt == nil { +func (o *RepositoryCreateResponse) GetDeletedAtOk() (*time.Time, bool) { + if o == nil || isNil(o.DeletedAt) { return nil, false } return o.DeletedAt, true } // HasDeletedAt returns a boolean if a field has been set. -func (o *Repository) HasDeletedAt() bool { - if o != nil && o.DeletedAt != nil { +func (o *RepositoryCreateResponse) HasDeletedAt() bool { + if o != nil && !isNil(o.DeletedAt) { return true } return false } -// SetDeletedAt gets a reference to the given string and assigns it to the DeletedAt field. -func (o *Repository) SetDeletedAt(v string) { +// SetDeletedAt gets a reference to the given time.Time and assigns it to the DeletedAt field. +func (o *RepositoryCreateResponse) SetDeletedAt(v time.Time) { o.DeletedAt = &v } // GetDescription returns the Description field value if set, zero value otherwise. -func (o *Repository) GetDescription() string { - if o == nil || o.Description == nil { +func (o *RepositoryCreateResponse) GetDescription() string { + if o == nil || isNil(o.Description) { var ret string return ret } @@ -440,16 +526,16 @@ func (o *Repository) GetDescription() string { // GetDescriptionOk returns a tuple with the Description field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *Repository) GetDescriptionOk() (*string, bool) { - if o == nil || o.Description == nil { +func (o *RepositoryCreateResponse) GetDescriptionOk() (*string, bool) { + if o == nil || isNil(o.Description) { return nil, false } return o.Description, true } // HasDescription returns a boolean if a field has been set. -func (o *Repository) HasDescription() bool { - if o != nil && o.Description != nil { +func (o *RepositoryCreateResponse) HasDescription() bool { + if o != nil && !isNil(o.Description) { return true } @@ -457,13 +543,45 @@ func (o *Repository) HasDescription() bool { } // SetDescription gets a reference to the given string and assigns it to the Description field. -func (o *Repository) SetDescription(v string) { +func (o *RepositoryCreateResponse) SetDescription(v string) { o.Description = &v } +// GetDistributes returns the Distributes field value if set, zero value otherwise. +func (o *RepositoryCreateResponse) GetDistributes() []string { + if o == nil || isNil(o.Distributes) { + var ret []string + return ret + } + return o.Distributes +} + +// GetDistributesOk returns a tuple with the Distributes field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *RepositoryCreateResponse) GetDistributesOk() ([]string, bool) { + if o == nil || isNil(o.Distributes) { + return nil, false + } + return o.Distributes, true +} + +// HasDistributes returns a boolean if a field has been set. +func (o *RepositoryCreateResponse) HasDistributes() bool { + if o != nil && !isNil(o.Distributes) { + return true + } + + return false +} + +// SetDistributes gets a reference to the given []string and assigns it to the Distributes field. +func (o *RepositoryCreateResponse) SetDistributes(v []string) { + o.Distributes = v +} + // GetDockerRefreshTokensEnabled returns the DockerRefreshTokensEnabled field value if set, zero value otherwise. -func (o *Repository) GetDockerRefreshTokensEnabled() bool { - if o == nil || o.DockerRefreshTokensEnabled == nil { +func (o *RepositoryCreateResponse) GetDockerRefreshTokensEnabled() bool { + if o == nil || isNil(o.DockerRefreshTokensEnabled) { var ret bool return ret } @@ -472,16 +590,16 @@ func (o *Repository) GetDockerRefreshTokensEnabled() bool { // GetDockerRefreshTokensEnabledOk returns a tuple with the DockerRefreshTokensEnabled field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *Repository) GetDockerRefreshTokensEnabledOk() (*bool, bool) { - if o == nil || o.DockerRefreshTokensEnabled == nil { +func (o *RepositoryCreateResponse) GetDockerRefreshTokensEnabledOk() (*bool, bool) { + if o == nil || isNil(o.DockerRefreshTokensEnabled) { return nil, false } return o.DockerRefreshTokensEnabled, true } // HasDockerRefreshTokensEnabled returns a boolean if a field has been set. -func (o *Repository) HasDockerRefreshTokensEnabled() bool { - if o != nil && o.DockerRefreshTokensEnabled != nil { +func (o *RepositoryCreateResponse) HasDockerRefreshTokensEnabled() bool { + if o != nil && !isNil(o.DockerRefreshTokensEnabled) { return true } @@ -489,14 +607,14 @@ func (o *Repository) HasDockerRefreshTokensEnabled() bool { } // SetDockerRefreshTokensEnabled gets a reference to the given bool and assigns it to the DockerRefreshTokensEnabled field. -func (o *Repository) SetDockerRefreshTokensEnabled(v bool) { +func (o *RepositoryCreateResponse) SetDockerRefreshTokensEnabled(v bool) { o.DockerRefreshTokensEnabled = &v } // GetGpgKeys returns the GpgKeys field value if set, zero value otherwise. -func (o *Repository) GetGpgKeys() []ReposGpgKeys { - if o == nil || o.GpgKeys == nil { - var ret []ReposGpgKeys +func (o *RepositoryCreateResponse) GetGpgKeys() []RepositoryGpgKey { + if o == nil || isNil(o.GpgKeys) { + var ret []RepositoryGpgKey return ret } return o.GpgKeys @@ -504,30 +622,30 @@ func (o *Repository) GetGpgKeys() []ReposGpgKeys { // GetGpgKeysOk returns a tuple with the GpgKeys field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *Repository) GetGpgKeysOk() ([]ReposGpgKeys, bool) { - if o == nil || o.GpgKeys == nil { +func (o *RepositoryCreateResponse) GetGpgKeysOk() ([]RepositoryGpgKey, bool) { + if o == nil || isNil(o.GpgKeys) { return nil, false } return o.GpgKeys, true } // HasGpgKeys returns a boolean if a field has been set. -func (o *Repository) HasGpgKeys() bool { - if o != nil && o.GpgKeys != nil { +func (o *RepositoryCreateResponse) HasGpgKeys() bool { + if o != nil && !isNil(o.GpgKeys) { return true } return false } -// SetGpgKeys gets a reference to the given []ReposGpgKeys and assigns it to the GpgKeys field. -func (o *Repository) SetGpgKeys(v []ReposGpgKeys) { +// SetGpgKeys gets a reference to the given []RepositoryGpgKey and assigns it to the GpgKeys field. +func (o *RepositoryCreateResponse) SetGpgKeys(v []RepositoryGpgKey) { o.GpgKeys = v } // GetIndexFiles returns the IndexFiles field value if set, zero value otherwise. -func (o *Repository) GetIndexFiles() bool { - if o == nil || o.IndexFiles == nil { +func (o *RepositoryCreateResponse) GetIndexFiles() bool { + if o == nil || isNil(o.IndexFiles) { var ret bool return ret } @@ -536,16 +654,16 @@ func (o *Repository) GetIndexFiles() bool { // GetIndexFilesOk returns a tuple with the IndexFiles field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *Repository) GetIndexFilesOk() (*bool, bool) { - if o == nil || o.IndexFiles == nil { +func (o *RepositoryCreateResponse) GetIndexFilesOk() (*bool, bool) { + if o == nil || isNil(o.IndexFiles) { return nil, false } return o.IndexFiles, true } // HasIndexFiles returns a boolean if a field has been set. -func (o *Repository) HasIndexFiles() bool { - if o != nil && o.IndexFiles != nil { +func (o *RepositoryCreateResponse) HasIndexFiles() bool { + if o != nil && !isNil(o.IndexFiles) { return true } @@ -553,13 +671,13 @@ func (o *Repository) HasIndexFiles() bool { } // SetIndexFiles gets a reference to the given bool and assigns it to the IndexFiles field. -func (o *Repository) SetIndexFiles(v bool) { +func (o *RepositoryCreateResponse) SetIndexFiles(v bool) { o.IndexFiles = &v } // GetIsOpenSource returns the IsOpenSource field value if set, zero value otherwise. -func (o *Repository) GetIsOpenSource() bool { - if o == nil || o.IsOpenSource == nil { +func (o *RepositoryCreateResponse) GetIsOpenSource() bool { + if o == nil || isNil(o.IsOpenSource) { var ret bool return ret } @@ -568,16 +686,16 @@ func (o *Repository) GetIsOpenSource() bool { // GetIsOpenSourceOk returns a tuple with the IsOpenSource field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *Repository) GetIsOpenSourceOk() (*bool, bool) { - if o == nil || o.IsOpenSource == nil { +func (o *RepositoryCreateResponse) GetIsOpenSourceOk() (*bool, bool) { + if o == nil || isNil(o.IsOpenSource) { return nil, false } return o.IsOpenSource, true } // HasIsOpenSource returns a boolean if a field has been set. -func (o *Repository) HasIsOpenSource() bool { - if o != nil && o.IsOpenSource != nil { +func (o *RepositoryCreateResponse) HasIsOpenSource() bool { + if o != nil && !isNil(o.IsOpenSource) { return true } @@ -585,13 +703,13 @@ func (o *Repository) HasIsOpenSource() bool { } // SetIsOpenSource gets a reference to the given bool and assigns it to the IsOpenSource field. -func (o *Repository) SetIsOpenSource(v bool) { +func (o *RepositoryCreateResponse) SetIsOpenSource(v bool) { o.IsOpenSource = &v } // GetIsPrivate returns the IsPrivate field value if set, zero value otherwise. -func (o *Repository) GetIsPrivate() bool { - if o == nil || o.IsPrivate == nil { +func (o *RepositoryCreateResponse) GetIsPrivate() bool { + if o == nil || isNil(o.IsPrivate) { var ret bool return ret } @@ -600,16 +718,16 @@ func (o *Repository) GetIsPrivate() bool { // GetIsPrivateOk returns a tuple with the IsPrivate field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *Repository) GetIsPrivateOk() (*bool, bool) { - if o == nil || o.IsPrivate == nil { +func (o *RepositoryCreateResponse) GetIsPrivateOk() (*bool, bool) { + if o == nil || isNil(o.IsPrivate) { return nil, false } return o.IsPrivate, true } // HasIsPrivate returns a boolean if a field has been set. -func (o *Repository) HasIsPrivate() bool { - if o != nil && o.IsPrivate != nil { +func (o *RepositoryCreateResponse) HasIsPrivate() bool { + if o != nil && !isNil(o.IsPrivate) { return true } @@ -617,13 +735,13 @@ func (o *Repository) HasIsPrivate() bool { } // SetIsPrivate gets a reference to the given bool and assigns it to the IsPrivate field. -func (o *Repository) SetIsPrivate(v bool) { +func (o *RepositoryCreateResponse) SetIsPrivate(v bool) { o.IsPrivate = &v } // GetIsPublic returns the IsPublic field value if set, zero value otherwise. -func (o *Repository) GetIsPublic() bool { - if o == nil || o.IsPublic == nil { +func (o *RepositoryCreateResponse) GetIsPublic() bool { + if o == nil || isNil(o.IsPublic) { var ret bool return ret } @@ -632,16 +750,16 @@ func (o *Repository) GetIsPublic() bool { // GetIsPublicOk returns a tuple with the IsPublic field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *Repository) GetIsPublicOk() (*bool, bool) { - if o == nil || o.IsPublic == nil { +func (o *RepositoryCreateResponse) GetIsPublicOk() (*bool, bool) { + if o == nil || isNil(o.IsPublic) { return nil, false } return o.IsPublic, true } // HasIsPublic returns a boolean if a field has been set. -func (o *Repository) HasIsPublic() bool { - if o != nil && o.IsPublic != nil { +func (o *RepositoryCreateResponse) HasIsPublic() bool { + if o != nil && !isNil(o.IsPublic) { return true } @@ -649,13 +767,13 @@ func (o *Repository) HasIsPublic() bool { } // SetIsPublic gets a reference to the given bool and assigns it to the IsPublic field. -func (o *Repository) SetIsPublic(v bool) { +func (o *RepositoryCreateResponse) SetIsPublic(v bool) { o.IsPublic = &v } // GetMoveOwn returns the MoveOwn field value if set, zero value otherwise. -func (o *Repository) GetMoveOwn() bool { - if o == nil || o.MoveOwn == nil { +func (o *RepositoryCreateResponse) GetMoveOwn() bool { + if o == nil || isNil(o.MoveOwn) { var ret bool return ret } @@ -664,16 +782,16 @@ func (o *Repository) GetMoveOwn() bool { // GetMoveOwnOk returns a tuple with the MoveOwn field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *Repository) GetMoveOwnOk() (*bool, bool) { - if o == nil || o.MoveOwn == nil { +func (o *RepositoryCreateResponse) GetMoveOwnOk() (*bool, bool) { + if o == nil || isNil(o.MoveOwn) { return nil, false } return o.MoveOwn, true } // HasMoveOwn returns a boolean if a field has been set. -func (o *Repository) HasMoveOwn() bool { - if o != nil && o.MoveOwn != nil { +func (o *RepositoryCreateResponse) HasMoveOwn() bool { + if o != nil && !isNil(o.MoveOwn) { return true } @@ -681,13 +799,13 @@ func (o *Repository) HasMoveOwn() bool { } // SetMoveOwn gets a reference to the given bool and assigns it to the MoveOwn field. -func (o *Repository) SetMoveOwn(v bool) { +func (o *RepositoryCreateResponse) SetMoveOwn(v bool) { o.MoveOwn = &v } // GetMovePackages returns the MovePackages field value if set, zero value otherwise. -func (o *Repository) GetMovePackages() string { - if o == nil || o.MovePackages == nil { +func (o *RepositoryCreateResponse) GetMovePackages() string { + if o == nil || isNil(o.MovePackages) { var ret string return ret } @@ -696,16 +814,16 @@ func (o *Repository) GetMovePackages() string { // GetMovePackagesOk returns a tuple with the MovePackages field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *Repository) GetMovePackagesOk() (*string, bool) { - if o == nil || o.MovePackages == nil { +func (o *RepositoryCreateResponse) GetMovePackagesOk() (*string, bool) { + if o == nil || isNil(o.MovePackages) { return nil, false } return o.MovePackages, true } // HasMovePackages returns a boolean if a field has been set. -func (o *Repository) HasMovePackages() bool { - if o != nil && o.MovePackages != nil { +func (o *RepositoryCreateResponse) HasMovePackages() bool { + if o != nil && !isNil(o.MovePackages) { return true } @@ -713,12 +831,12 @@ func (o *Repository) HasMovePackages() bool { } // SetMovePackages gets a reference to the given string and assigns it to the MovePackages field. -func (o *Repository) SetMovePackages(v string) { +func (o *RepositoryCreateResponse) SetMovePackages(v string) { o.MovePackages = &v } // GetName returns the Name field value -func (o *Repository) GetName() string { +func (o *RepositoryCreateResponse) GetName() string { if o == nil { var ret string return ret @@ -729,7 +847,7 @@ func (o *Repository) GetName() string { // GetNameOk returns a tuple with the Name field value // and a boolean to check if the value has been set. -func (o *Repository) GetNameOk() (*string, bool) { +func (o *RepositoryCreateResponse) GetNameOk() (*string, bool) { if o == nil { return nil, false } @@ -737,13 +855,13 @@ func (o *Repository) GetNameOk() (*string, bool) { } // SetName sets field value -func (o *Repository) SetName(v string) { +func (o *RepositoryCreateResponse) SetName(v string) { o.Name = v } // GetNamespace returns the Namespace field value if set, zero value otherwise. -func (o *Repository) GetNamespace() string { - if o == nil || o.Namespace == nil { +func (o *RepositoryCreateResponse) GetNamespace() string { + if o == nil || isNil(o.Namespace) { var ret string return ret } @@ -752,16 +870,16 @@ func (o *Repository) GetNamespace() string { // GetNamespaceOk returns a tuple with the Namespace field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *Repository) GetNamespaceOk() (*string, bool) { - if o == nil || o.Namespace == nil { +func (o *RepositoryCreateResponse) GetNamespaceOk() (*string, bool) { + if o == nil || isNil(o.Namespace) { return nil, false } return o.Namespace, true } // HasNamespace returns a boolean if a field has been set. -func (o *Repository) HasNamespace() bool { - if o != nil && o.Namespace != nil { +func (o *RepositoryCreateResponse) HasNamespace() bool { + if o != nil && !isNil(o.Namespace) { return true } @@ -769,13 +887,13 @@ func (o *Repository) HasNamespace() bool { } // SetNamespace gets a reference to the given string and assigns it to the Namespace field. -func (o *Repository) SetNamespace(v string) { +func (o *RepositoryCreateResponse) SetNamespace(v string) { o.Namespace = &v } // GetNamespaceUrl returns the NamespaceUrl field value if set, zero value otherwise. -func (o *Repository) GetNamespaceUrl() string { - if o == nil || o.NamespaceUrl == nil { +func (o *RepositoryCreateResponse) GetNamespaceUrl() string { + if o == nil || isNil(o.NamespaceUrl) { var ret string return ret } @@ -784,16 +902,16 @@ func (o *Repository) GetNamespaceUrl() string { // GetNamespaceUrlOk returns a tuple with the NamespaceUrl field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *Repository) GetNamespaceUrlOk() (*string, bool) { - if o == nil || o.NamespaceUrl == nil { +func (o *RepositoryCreateResponse) GetNamespaceUrlOk() (*string, bool) { + if o == nil || isNil(o.NamespaceUrl) { return nil, false } return o.NamespaceUrl, true } // HasNamespaceUrl returns a boolean if a field has been set. -func (o *Repository) HasNamespaceUrl() bool { - if o != nil && o.NamespaceUrl != nil { +func (o *RepositoryCreateResponse) HasNamespaceUrl() bool { + if o != nil && !isNil(o.NamespaceUrl) { return true } @@ -801,13 +919,13 @@ func (o *Repository) HasNamespaceUrl() bool { } // SetNamespaceUrl gets a reference to the given string and assigns it to the NamespaceUrl field. -func (o *Repository) SetNamespaceUrl(v string) { +func (o *RepositoryCreateResponse) SetNamespaceUrl(v string) { o.NamespaceUrl = &v } // GetNumDownloads returns the NumDownloads field value if set, zero value otherwise. -func (o *Repository) GetNumDownloads() int64 { - if o == nil || o.NumDownloads == nil { +func (o *RepositoryCreateResponse) GetNumDownloads() int64 { + if o == nil || isNil(o.NumDownloads) { var ret int64 return ret } @@ -816,16 +934,16 @@ func (o *Repository) GetNumDownloads() int64 { // GetNumDownloadsOk returns a tuple with the NumDownloads field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *Repository) GetNumDownloadsOk() (*int64, bool) { - if o == nil || o.NumDownloads == nil { +func (o *RepositoryCreateResponse) GetNumDownloadsOk() (*int64, bool) { + if o == nil || isNil(o.NumDownloads) { return nil, false } return o.NumDownloads, true } // HasNumDownloads returns a boolean if a field has been set. -func (o *Repository) HasNumDownloads() bool { - if o != nil && o.NumDownloads != nil { +func (o *RepositoryCreateResponse) HasNumDownloads() bool { + if o != nil && !isNil(o.NumDownloads) { return true } @@ -833,13 +951,13 @@ func (o *Repository) HasNumDownloads() bool { } // SetNumDownloads gets a reference to the given int64 and assigns it to the NumDownloads field. -func (o *Repository) SetNumDownloads(v int64) { +func (o *RepositoryCreateResponse) SetNumDownloads(v int64) { o.NumDownloads = &v } // GetPackageCount returns the PackageCount field value if set, zero value otherwise. -func (o *Repository) GetPackageCount() int64 { - if o == nil || o.PackageCount == nil { +func (o *RepositoryCreateResponse) GetPackageCount() int64 { + if o == nil || isNil(o.PackageCount) { var ret int64 return ret } @@ -848,16 +966,16 @@ func (o *Repository) GetPackageCount() int64 { // GetPackageCountOk returns a tuple with the PackageCount field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *Repository) GetPackageCountOk() (*int64, bool) { - if o == nil || o.PackageCount == nil { +func (o *RepositoryCreateResponse) GetPackageCountOk() (*int64, bool) { + if o == nil || isNil(o.PackageCount) { return nil, false } return o.PackageCount, true } // HasPackageCount returns a boolean if a field has been set. -func (o *Repository) HasPackageCount() bool { - if o != nil && o.PackageCount != nil { +func (o *RepositoryCreateResponse) HasPackageCount() bool { + if o != nil && !isNil(o.PackageCount) { return true } @@ -865,13 +983,13 @@ func (o *Repository) HasPackageCount() bool { } // SetPackageCount gets a reference to the given int64 and assigns it to the PackageCount field. -func (o *Repository) SetPackageCount(v int64) { +func (o *RepositoryCreateResponse) SetPackageCount(v int64) { o.PackageCount = &v } // GetPackageGroupCount returns the PackageGroupCount field value if set, zero value otherwise. -func (o *Repository) GetPackageGroupCount() int64 { - if o == nil || o.PackageGroupCount == nil { +func (o *RepositoryCreateResponse) GetPackageGroupCount() int64 { + if o == nil || isNil(o.PackageGroupCount) { var ret int64 return ret } @@ -880,16 +998,16 @@ func (o *Repository) GetPackageGroupCount() int64 { // GetPackageGroupCountOk returns a tuple with the PackageGroupCount field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *Repository) GetPackageGroupCountOk() (*int64, bool) { - if o == nil || o.PackageGroupCount == nil { +func (o *RepositoryCreateResponse) GetPackageGroupCountOk() (*int64, bool) { + if o == nil || isNil(o.PackageGroupCount) { return nil, false } return o.PackageGroupCount, true } // HasPackageGroupCount returns a boolean if a field has been set. -func (o *Repository) HasPackageGroupCount() bool { - if o != nil && o.PackageGroupCount != nil { +func (o *RepositoryCreateResponse) HasPackageGroupCount() bool { + if o != nil && !isNil(o.PackageGroupCount) { return true } @@ -897,13 +1015,13 @@ func (o *Repository) HasPackageGroupCount() bool { } // SetPackageGroupCount gets a reference to the given int64 and assigns it to the PackageGroupCount field. -func (o *Repository) SetPackageGroupCount(v int64) { +func (o *RepositoryCreateResponse) SetPackageGroupCount(v int64) { o.PackageGroupCount = &v } // GetProxyNpmjs returns the ProxyNpmjs field value if set, zero value otherwise. -func (o *Repository) GetProxyNpmjs() bool { - if o == nil || o.ProxyNpmjs == nil { +func (o *RepositoryCreateResponse) GetProxyNpmjs() bool { + if o == nil || isNil(o.ProxyNpmjs) { var ret bool return ret } @@ -912,16 +1030,16 @@ func (o *Repository) GetProxyNpmjs() bool { // GetProxyNpmjsOk returns a tuple with the ProxyNpmjs field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *Repository) GetProxyNpmjsOk() (*bool, bool) { - if o == nil || o.ProxyNpmjs == nil { +func (o *RepositoryCreateResponse) GetProxyNpmjsOk() (*bool, bool) { + if o == nil || isNil(o.ProxyNpmjs) { return nil, false } return o.ProxyNpmjs, true } // HasProxyNpmjs returns a boolean if a field has been set. -func (o *Repository) HasProxyNpmjs() bool { - if o != nil && o.ProxyNpmjs != nil { +func (o *RepositoryCreateResponse) HasProxyNpmjs() bool { + if o != nil && !isNil(o.ProxyNpmjs) { return true } @@ -929,13 +1047,13 @@ func (o *Repository) HasProxyNpmjs() bool { } // SetProxyNpmjs gets a reference to the given bool and assigns it to the ProxyNpmjs field. -func (o *Repository) SetProxyNpmjs(v bool) { +func (o *RepositoryCreateResponse) SetProxyNpmjs(v bool) { o.ProxyNpmjs = &v } // GetProxyPypi returns the ProxyPypi field value if set, zero value otherwise. -func (o *Repository) GetProxyPypi() bool { - if o == nil || o.ProxyPypi == nil { +func (o *RepositoryCreateResponse) GetProxyPypi() bool { + if o == nil || isNil(o.ProxyPypi) { var ret bool return ret } @@ -944,16 +1062,16 @@ func (o *Repository) GetProxyPypi() bool { // GetProxyPypiOk returns a tuple with the ProxyPypi field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *Repository) GetProxyPypiOk() (*bool, bool) { - if o == nil || o.ProxyPypi == nil { +func (o *RepositoryCreateResponse) GetProxyPypiOk() (*bool, bool) { + if o == nil || isNil(o.ProxyPypi) { return nil, false } return o.ProxyPypi, true } // HasProxyPypi returns a boolean if a field has been set. -func (o *Repository) HasProxyPypi() bool { - if o != nil && o.ProxyPypi != nil { +func (o *RepositoryCreateResponse) HasProxyPypi() bool { + if o != nil && !isNil(o.ProxyPypi) { return true } @@ -961,13 +1079,13 @@ func (o *Repository) HasProxyPypi() bool { } // SetProxyPypi gets a reference to the given bool and assigns it to the ProxyPypi field. -func (o *Repository) SetProxyPypi(v bool) { +func (o *RepositoryCreateResponse) SetProxyPypi(v bool) { o.ProxyPypi = &v } // GetRawPackageIndexEnabled returns the RawPackageIndexEnabled field value if set, zero value otherwise. -func (o *Repository) GetRawPackageIndexEnabled() bool { - if o == nil || o.RawPackageIndexEnabled == nil { +func (o *RepositoryCreateResponse) GetRawPackageIndexEnabled() bool { + if o == nil || isNil(o.RawPackageIndexEnabled) { var ret bool return ret } @@ -976,16 +1094,16 @@ func (o *Repository) GetRawPackageIndexEnabled() bool { // GetRawPackageIndexEnabledOk returns a tuple with the RawPackageIndexEnabled field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *Repository) GetRawPackageIndexEnabledOk() (*bool, bool) { - if o == nil || o.RawPackageIndexEnabled == nil { +func (o *RepositoryCreateResponse) GetRawPackageIndexEnabledOk() (*bool, bool) { + if o == nil || isNil(o.RawPackageIndexEnabled) { return nil, false } return o.RawPackageIndexEnabled, true } // HasRawPackageIndexEnabled returns a boolean if a field has been set. -func (o *Repository) HasRawPackageIndexEnabled() bool { - if o != nil && o.RawPackageIndexEnabled != nil { +func (o *RepositoryCreateResponse) HasRawPackageIndexEnabled() bool { + if o != nil && !isNil(o.RawPackageIndexEnabled) { return true } @@ -993,13 +1111,13 @@ func (o *Repository) HasRawPackageIndexEnabled() bool { } // SetRawPackageIndexEnabled gets a reference to the given bool and assigns it to the RawPackageIndexEnabled field. -func (o *Repository) SetRawPackageIndexEnabled(v bool) { +func (o *RepositoryCreateResponse) SetRawPackageIndexEnabled(v bool) { o.RawPackageIndexEnabled = &v } // GetRawPackageIndexSignaturesEnabled returns the RawPackageIndexSignaturesEnabled field value if set, zero value otherwise. -func (o *Repository) GetRawPackageIndexSignaturesEnabled() bool { - if o == nil || o.RawPackageIndexSignaturesEnabled == nil { +func (o *RepositoryCreateResponse) GetRawPackageIndexSignaturesEnabled() bool { + if o == nil || isNil(o.RawPackageIndexSignaturesEnabled) { var ret bool return ret } @@ -1008,16 +1126,16 @@ func (o *Repository) GetRawPackageIndexSignaturesEnabled() bool { // GetRawPackageIndexSignaturesEnabledOk returns a tuple with the RawPackageIndexSignaturesEnabled field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *Repository) GetRawPackageIndexSignaturesEnabledOk() (*bool, bool) { - if o == nil || o.RawPackageIndexSignaturesEnabled == nil { +func (o *RepositoryCreateResponse) GetRawPackageIndexSignaturesEnabledOk() (*bool, bool) { + if o == nil || isNil(o.RawPackageIndexSignaturesEnabled) { return nil, false } return o.RawPackageIndexSignaturesEnabled, true } // HasRawPackageIndexSignaturesEnabled returns a boolean if a field has been set. -func (o *Repository) HasRawPackageIndexSignaturesEnabled() bool { - if o != nil && o.RawPackageIndexSignaturesEnabled != nil { +func (o *RepositoryCreateResponse) HasRawPackageIndexSignaturesEnabled() bool { + if o != nil && !isNil(o.RawPackageIndexSignaturesEnabled) { return true } @@ -1025,13 +1143,13 @@ func (o *Repository) HasRawPackageIndexSignaturesEnabled() bool { } // SetRawPackageIndexSignaturesEnabled gets a reference to the given bool and assigns it to the RawPackageIndexSignaturesEnabled field. -func (o *Repository) SetRawPackageIndexSignaturesEnabled(v bool) { +func (o *RepositoryCreateResponse) SetRawPackageIndexSignaturesEnabled(v bool) { o.RawPackageIndexSignaturesEnabled = &v } // GetReplacePackages returns the ReplacePackages field value if set, zero value otherwise. -func (o *Repository) GetReplacePackages() string { - if o == nil || o.ReplacePackages == nil { +func (o *RepositoryCreateResponse) GetReplacePackages() string { + if o == nil || isNil(o.ReplacePackages) { var ret string return ret } @@ -1040,16 +1158,16 @@ func (o *Repository) GetReplacePackages() string { // GetReplacePackagesOk returns a tuple with the ReplacePackages field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *Repository) GetReplacePackagesOk() (*string, bool) { - if o == nil || o.ReplacePackages == nil { +func (o *RepositoryCreateResponse) GetReplacePackagesOk() (*string, bool) { + if o == nil || isNil(o.ReplacePackages) { return nil, false } return o.ReplacePackages, true } // HasReplacePackages returns a boolean if a field has been set. -func (o *Repository) HasReplacePackages() bool { - if o != nil && o.ReplacePackages != nil { +func (o *RepositoryCreateResponse) HasReplacePackages() bool { + if o != nil && !isNil(o.ReplacePackages) { return true } @@ -1057,13 +1175,13 @@ func (o *Repository) HasReplacePackages() bool { } // SetReplacePackages gets a reference to the given string and assigns it to the ReplacePackages field. -func (o *Repository) SetReplacePackages(v string) { +func (o *RepositoryCreateResponse) SetReplacePackages(v string) { o.ReplacePackages = &v } // GetReplacePackagesByDefault returns the ReplacePackagesByDefault field value if set, zero value otherwise. -func (o *Repository) GetReplacePackagesByDefault() bool { - if o == nil || o.ReplacePackagesByDefault == nil { +func (o *RepositoryCreateResponse) GetReplacePackagesByDefault() bool { + if o == nil || isNil(o.ReplacePackagesByDefault) { var ret bool return ret } @@ -1072,16 +1190,16 @@ func (o *Repository) GetReplacePackagesByDefault() bool { // GetReplacePackagesByDefaultOk returns a tuple with the ReplacePackagesByDefault field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *Repository) GetReplacePackagesByDefaultOk() (*bool, bool) { - if o == nil || o.ReplacePackagesByDefault == nil { +func (o *RepositoryCreateResponse) GetReplacePackagesByDefaultOk() (*bool, bool) { + if o == nil || isNil(o.ReplacePackagesByDefault) { return nil, false } return o.ReplacePackagesByDefault, true } // HasReplacePackagesByDefault returns a boolean if a field has been set. -func (o *Repository) HasReplacePackagesByDefault() bool { - if o != nil && o.ReplacePackagesByDefault != nil { +func (o *RepositoryCreateResponse) HasReplacePackagesByDefault() bool { + if o != nil && !isNil(o.ReplacePackagesByDefault) { return true } @@ -1089,13 +1207,13 @@ func (o *Repository) HasReplacePackagesByDefault() bool { } // SetReplacePackagesByDefault gets a reference to the given bool and assigns it to the ReplacePackagesByDefault field. -func (o *Repository) SetReplacePackagesByDefault(v bool) { +func (o *RepositoryCreateResponse) SetReplacePackagesByDefault(v bool) { o.ReplacePackagesByDefault = &v } // GetRepositoryType returns the RepositoryType field value if set, zero value otherwise. -func (o *Repository) GetRepositoryType() int64 { - if o == nil || o.RepositoryType == nil { +func (o *RepositoryCreateResponse) GetRepositoryType() int64 { + if o == nil || isNil(o.RepositoryType) { var ret int64 return ret } @@ -1104,16 +1222,16 @@ func (o *Repository) GetRepositoryType() int64 { // GetRepositoryTypeOk returns a tuple with the RepositoryType field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *Repository) GetRepositoryTypeOk() (*int64, bool) { - if o == nil || o.RepositoryType == nil { +func (o *RepositoryCreateResponse) GetRepositoryTypeOk() (*int64, bool) { + if o == nil || isNil(o.RepositoryType) { return nil, false } return o.RepositoryType, true } // HasRepositoryType returns a boolean if a field has been set. -func (o *Repository) HasRepositoryType() bool { - if o != nil && o.RepositoryType != nil { +func (o *RepositoryCreateResponse) HasRepositoryType() bool { + if o != nil && !isNil(o.RepositoryType) { return true } @@ -1121,13 +1239,13 @@ func (o *Repository) HasRepositoryType() bool { } // SetRepositoryType gets a reference to the given int64 and assigns it to the RepositoryType field. -func (o *Repository) SetRepositoryType(v int64) { +func (o *RepositoryCreateResponse) SetRepositoryType(v int64) { o.RepositoryType = &v } // GetRepositoryTypeStr returns the RepositoryTypeStr field value if set, zero value otherwise. -func (o *Repository) GetRepositoryTypeStr() string { - if o == nil || o.RepositoryTypeStr == nil { +func (o *RepositoryCreateResponse) GetRepositoryTypeStr() string { + if o == nil || isNil(o.RepositoryTypeStr) { var ret string return ret } @@ -1136,16 +1254,16 @@ func (o *Repository) GetRepositoryTypeStr() string { // GetRepositoryTypeStrOk returns a tuple with the RepositoryTypeStr field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *Repository) GetRepositoryTypeStrOk() (*string, bool) { - if o == nil || o.RepositoryTypeStr == nil { +func (o *RepositoryCreateResponse) GetRepositoryTypeStrOk() (*string, bool) { + if o == nil || isNil(o.RepositoryTypeStr) { return nil, false } return o.RepositoryTypeStr, true } // HasRepositoryTypeStr returns a boolean if a field has been set. -func (o *Repository) HasRepositoryTypeStr() bool { - if o != nil && o.RepositoryTypeStr != nil { +func (o *RepositoryCreateResponse) HasRepositoryTypeStr() bool { + if o != nil && !isNil(o.RepositoryTypeStr) { return true } @@ -1153,13 +1271,13 @@ func (o *Repository) HasRepositoryTypeStr() bool { } // SetRepositoryTypeStr gets a reference to the given string and assigns it to the RepositoryTypeStr field. -func (o *Repository) SetRepositoryTypeStr(v string) { +func (o *RepositoryCreateResponse) SetRepositoryTypeStr(v string) { o.RepositoryTypeStr = &v } // GetResyncOwn returns the ResyncOwn field value if set, zero value otherwise. -func (o *Repository) GetResyncOwn() bool { - if o == nil || o.ResyncOwn == nil { +func (o *RepositoryCreateResponse) GetResyncOwn() bool { + if o == nil || isNil(o.ResyncOwn) { var ret bool return ret } @@ -1168,16 +1286,16 @@ func (o *Repository) GetResyncOwn() bool { // GetResyncOwnOk returns a tuple with the ResyncOwn field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *Repository) GetResyncOwnOk() (*bool, bool) { - if o == nil || o.ResyncOwn == nil { +func (o *RepositoryCreateResponse) GetResyncOwnOk() (*bool, bool) { + if o == nil || isNil(o.ResyncOwn) { return nil, false } return o.ResyncOwn, true } // HasResyncOwn returns a boolean if a field has been set. -func (o *Repository) HasResyncOwn() bool { - if o != nil && o.ResyncOwn != nil { +func (o *RepositoryCreateResponse) HasResyncOwn() bool { + if o != nil && !isNil(o.ResyncOwn) { return true } @@ -1185,13 +1303,13 @@ func (o *Repository) HasResyncOwn() bool { } // SetResyncOwn gets a reference to the given bool and assigns it to the ResyncOwn field. -func (o *Repository) SetResyncOwn(v bool) { +func (o *RepositoryCreateResponse) SetResyncOwn(v bool) { o.ResyncOwn = &v } // GetResyncPackages returns the ResyncPackages field value if set, zero value otherwise. -func (o *Repository) GetResyncPackages() string { - if o == nil || o.ResyncPackages == nil { +func (o *RepositoryCreateResponse) GetResyncPackages() string { + if o == nil || isNil(o.ResyncPackages) { var ret string return ret } @@ -1200,16 +1318,16 @@ func (o *Repository) GetResyncPackages() string { // GetResyncPackagesOk returns a tuple with the ResyncPackages field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *Repository) GetResyncPackagesOk() (*string, bool) { - if o == nil || o.ResyncPackages == nil { +func (o *RepositoryCreateResponse) GetResyncPackagesOk() (*string, bool) { + if o == nil || isNil(o.ResyncPackages) { return nil, false } return o.ResyncPackages, true } // HasResyncPackages returns a boolean if a field has been set. -func (o *Repository) HasResyncPackages() bool { - if o != nil && o.ResyncPackages != nil { +func (o *RepositoryCreateResponse) HasResyncPackages() bool { + if o != nil && !isNil(o.ResyncPackages) { return true } @@ -1217,13 +1335,13 @@ func (o *Repository) HasResyncPackages() bool { } // SetResyncPackages gets a reference to the given string and assigns it to the ResyncPackages field. -func (o *Repository) SetResyncPackages(v string) { +func (o *RepositoryCreateResponse) SetResyncPackages(v string) { o.ResyncPackages = &v } // GetScanOwn returns the ScanOwn field value if set, zero value otherwise. -func (o *Repository) GetScanOwn() bool { - if o == nil || o.ScanOwn == nil { +func (o *RepositoryCreateResponse) GetScanOwn() bool { + if o == nil || isNil(o.ScanOwn) { var ret bool return ret } @@ -1232,16 +1350,16 @@ func (o *Repository) GetScanOwn() bool { // GetScanOwnOk returns a tuple with the ScanOwn field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *Repository) GetScanOwnOk() (*bool, bool) { - if o == nil || o.ScanOwn == nil { +func (o *RepositoryCreateResponse) GetScanOwnOk() (*bool, bool) { + if o == nil || isNil(o.ScanOwn) { return nil, false } return o.ScanOwn, true } // HasScanOwn returns a boolean if a field has been set. -func (o *Repository) HasScanOwn() bool { - if o != nil && o.ScanOwn != nil { +func (o *RepositoryCreateResponse) HasScanOwn() bool { + if o != nil && !isNil(o.ScanOwn) { return true } @@ -1249,13 +1367,13 @@ func (o *Repository) HasScanOwn() bool { } // SetScanOwn gets a reference to the given bool and assigns it to the ScanOwn field. -func (o *Repository) SetScanOwn(v bool) { +func (o *RepositoryCreateResponse) SetScanOwn(v bool) { o.ScanOwn = &v } // GetScanPackages returns the ScanPackages field value if set, zero value otherwise. -func (o *Repository) GetScanPackages() string { - if o == nil || o.ScanPackages == nil { +func (o *RepositoryCreateResponse) GetScanPackages() string { + if o == nil || isNil(o.ScanPackages) { var ret string return ret } @@ -1264,16 +1382,16 @@ func (o *Repository) GetScanPackages() string { // GetScanPackagesOk returns a tuple with the ScanPackages field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *Repository) GetScanPackagesOk() (*string, bool) { - if o == nil || o.ScanPackages == nil { +func (o *RepositoryCreateResponse) GetScanPackagesOk() (*string, bool) { + if o == nil || isNil(o.ScanPackages) { return nil, false } return o.ScanPackages, true } // HasScanPackages returns a boolean if a field has been set. -func (o *Repository) HasScanPackages() bool { - if o != nil && o.ScanPackages != nil { +func (o *RepositoryCreateResponse) HasScanPackages() bool { + if o != nil && !isNil(o.ScanPackages) { return true } @@ -1281,13 +1399,13 @@ func (o *Repository) HasScanPackages() bool { } // SetScanPackages gets a reference to the given string and assigns it to the ScanPackages field. -func (o *Repository) SetScanPackages(v string) { +func (o *RepositoryCreateResponse) SetScanPackages(v string) { o.ScanPackages = &v } // GetSelfHtmlUrl returns the SelfHtmlUrl field value if set, zero value otherwise. -func (o *Repository) GetSelfHtmlUrl() string { - if o == nil || o.SelfHtmlUrl == nil { +func (o *RepositoryCreateResponse) GetSelfHtmlUrl() string { + if o == nil || isNil(o.SelfHtmlUrl) { var ret string return ret } @@ -1296,16 +1414,16 @@ func (o *Repository) GetSelfHtmlUrl() string { // GetSelfHtmlUrlOk returns a tuple with the SelfHtmlUrl field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *Repository) GetSelfHtmlUrlOk() (*string, bool) { - if o == nil || o.SelfHtmlUrl == nil { +func (o *RepositoryCreateResponse) GetSelfHtmlUrlOk() (*string, bool) { + if o == nil || isNil(o.SelfHtmlUrl) { return nil, false } return o.SelfHtmlUrl, true } // HasSelfHtmlUrl returns a boolean if a field has been set. -func (o *Repository) HasSelfHtmlUrl() bool { - if o != nil && o.SelfHtmlUrl != nil { +func (o *RepositoryCreateResponse) HasSelfHtmlUrl() bool { + if o != nil && !isNil(o.SelfHtmlUrl) { return true } @@ -1313,13 +1431,13 @@ func (o *Repository) HasSelfHtmlUrl() bool { } // SetSelfHtmlUrl gets a reference to the given string and assigns it to the SelfHtmlUrl field. -func (o *Repository) SetSelfHtmlUrl(v string) { +func (o *RepositoryCreateResponse) SetSelfHtmlUrl(v string) { o.SelfHtmlUrl = &v } // GetSelfUrl returns the SelfUrl field value if set, zero value otherwise. -func (o *Repository) GetSelfUrl() string { - if o == nil || o.SelfUrl == nil { +func (o *RepositoryCreateResponse) GetSelfUrl() string { + if o == nil || isNil(o.SelfUrl) { var ret string return ret } @@ -1328,16 +1446,16 @@ func (o *Repository) GetSelfUrl() string { // GetSelfUrlOk returns a tuple with the SelfUrl field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *Repository) GetSelfUrlOk() (*string, bool) { - if o == nil || o.SelfUrl == nil { +func (o *RepositoryCreateResponse) GetSelfUrlOk() (*string, bool) { + if o == nil || isNil(o.SelfUrl) { return nil, false } return o.SelfUrl, true } // HasSelfUrl returns a boolean if a field has been set. -func (o *Repository) HasSelfUrl() bool { - if o != nil && o.SelfUrl != nil { +func (o *RepositoryCreateResponse) HasSelfUrl() bool { + if o != nil && !isNil(o.SelfUrl) { return true } @@ -1345,13 +1463,13 @@ func (o *Repository) HasSelfUrl() bool { } // SetSelfUrl gets a reference to the given string and assigns it to the SelfUrl field. -func (o *Repository) SetSelfUrl(v string) { +func (o *RepositoryCreateResponse) SetSelfUrl(v string) { o.SelfUrl = &v } // GetShowSetupAll returns the ShowSetupAll field value if set, zero value otherwise. -func (o *Repository) GetShowSetupAll() bool { - if o == nil || o.ShowSetupAll == nil { +func (o *RepositoryCreateResponse) GetShowSetupAll() bool { + if o == nil || isNil(o.ShowSetupAll) { var ret bool return ret } @@ -1360,16 +1478,16 @@ func (o *Repository) GetShowSetupAll() bool { // GetShowSetupAllOk returns a tuple with the ShowSetupAll field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *Repository) GetShowSetupAllOk() (*bool, bool) { - if o == nil || o.ShowSetupAll == nil { +func (o *RepositoryCreateResponse) GetShowSetupAllOk() (*bool, bool) { + if o == nil || isNil(o.ShowSetupAll) { return nil, false } return o.ShowSetupAll, true } // HasShowSetupAll returns a boolean if a field has been set. -func (o *Repository) HasShowSetupAll() bool { - if o != nil && o.ShowSetupAll != nil { +func (o *RepositoryCreateResponse) HasShowSetupAll() bool { + if o != nil && !isNil(o.ShowSetupAll) { return true } @@ -1377,13 +1495,13 @@ func (o *Repository) HasShowSetupAll() bool { } // SetShowSetupAll gets a reference to the given bool and assigns it to the ShowSetupAll field. -func (o *Repository) SetShowSetupAll(v bool) { +func (o *RepositoryCreateResponse) SetShowSetupAll(v bool) { o.ShowSetupAll = &v } // GetSize returns the Size field value if set, zero value otherwise. -func (o *Repository) GetSize() int64 { - if o == nil || o.Size == nil { +func (o *RepositoryCreateResponse) GetSize() int64 { + if o == nil || isNil(o.Size) { var ret int64 return ret } @@ -1392,16 +1510,16 @@ func (o *Repository) GetSize() int64 { // GetSizeOk returns a tuple with the Size field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *Repository) GetSizeOk() (*int64, bool) { - if o == nil || o.Size == nil { +func (o *RepositoryCreateResponse) GetSizeOk() (*int64, bool) { + if o == nil || isNil(o.Size) { return nil, false } return o.Size, true } // HasSize returns a boolean if a field has been set. -func (o *Repository) HasSize() bool { - if o != nil && o.Size != nil { +func (o *RepositoryCreateResponse) HasSize() bool { + if o != nil && !isNil(o.Size) { return true } @@ -1409,13 +1527,13 @@ func (o *Repository) HasSize() bool { } // SetSize gets a reference to the given int64 and assigns it to the Size field. -func (o *Repository) SetSize(v int64) { +func (o *RepositoryCreateResponse) SetSize(v int64) { o.Size = &v } // GetSizeStr returns the SizeStr field value if set, zero value otherwise. -func (o *Repository) GetSizeStr() string { - if o == nil || o.SizeStr == nil { +func (o *RepositoryCreateResponse) GetSizeStr() string { + if o == nil || isNil(o.SizeStr) { var ret string return ret } @@ -1424,16 +1542,16 @@ func (o *Repository) GetSizeStr() string { // GetSizeStrOk returns a tuple with the SizeStr field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *Repository) GetSizeStrOk() (*string, bool) { - if o == nil || o.SizeStr == nil { +func (o *RepositoryCreateResponse) GetSizeStrOk() (*string, bool) { + if o == nil || isNil(o.SizeStr) { return nil, false } return o.SizeStr, true } // HasSizeStr returns a boolean if a field has been set. -func (o *Repository) HasSizeStr() bool { - if o != nil && o.SizeStr != nil { +func (o *RepositoryCreateResponse) HasSizeStr() bool { + if o != nil && !isNil(o.SizeStr) { return true } @@ -1441,13 +1559,13 @@ func (o *Repository) HasSizeStr() bool { } // SetSizeStr gets a reference to the given string and assigns it to the SizeStr field. -func (o *Repository) SetSizeStr(v string) { +func (o *RepositoryCreateResponse) SetSizeStr(v string) { o.SizeStr = &v } // GetSlug returns the Slug field value if set, zero value otherwise. -func (o *Repository) GetSlug() string { - if o == nil || o.Slug == nil { +func (o *RepositoryCreateResponse) GetSlug() string { + if o == nil || isNil(o.Slug) { var ret string return ret } @@ -1456,16 +1574,16 @@ func (o *Repository) GetSlug() string { // GetSlugOk returns a tuple with the Slug field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *Repository) GetSlugOk() (*string, bool) { - if o == nil || o.Slug == nil { +func (o *RepositoryCreateResponse) GetSlugOk() (*string, bool) { + if o == nil || isNil(o.Slug) { return nil, false } return o.Slug, true } // HasSlug returns a boolean if a field has been set. -func (o *Repository) HasSlug() bool { - if o != nil && o.Slug != nil { +func (o *RepositoryCreateResponse) HasSlug() bool { + if o != nil && !isNil(o.Slug) { return true } @@ -1473,13 +1591,13 @@ func (o *Repository) HasSlug() bool { } // SetSlug gets a reference to the given string and assigns it to the Slug field. -func (o *Repository) SetSlug(v string) { +func (o *RepositoryCreateResponse) SetSlug(v string) { o.Slug = &v } // GetSlugPerm returns the SlugPerm field value if set, zero value otherwise. -func (o *Repository) GetSlugPerm() string { - if o == nil || o.SlugPerm == nil { +func (o *RepositoryCreateResponse) GetSlugPerm() string { + if o == nil || isNil(o.SlugPerm) { var ret string return ret } @@ -1488,16 +1606,16 @@ func (o *Repository) GetSlugPerm() string { // GetSlugPermOk returns a tuple with the SlugPerm field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *Repository) GetSlugPermOk() (*string, bool) { - if o == nil || o.SlugPerm == nil { +func (o *RepositoryCreateResponse) GetSlugPermOk() (*string, bool) { + if o == nil || isNil(o.SlugPerm) { return nil, false } return o.SlugPerm, true } // HasSlugPerm returns a boolean if a field has been set. -func (o *Repository) HasSlugPerm() bool { - if o != nil && o.SlugPerm != nil { +func (o *RepositoryCreateResponse) HasSlugPerm() bool { + if o != nil && !isNil(o.SlugPerm) { return true } @@ -1505,13 +1623,13 @@ func (o *Repository) HasSlugPerm() bool { } // SetSlugPerm gets a reference to the given string and assigns it to the SlugPerm field. -func (o *Repository) SetSlugPerm(v string) { +func (o *RepositoryCreateResponse) SetSlugPerm(v string) { o.SlugPerm = &v } // GetStorageRegion returns the StorageRegion field value if set, zero value otherwise. -func (o *Repository) GetStorageRegion() string { - if o == nil || o.StorageRegion == nil { +func (o *RepositoryCreateResponse) GetStorageRegion() string { + if o == nil || isNil(o.StorageRegion) { var ret string return ret } @@ -1520,16 +1638,16 @@ func (o *Repository) GetStorageRegion() string { // GetStorageRegionOk returns a tuple with the StorageRegion field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *Repository) GetStorageRegionOk() (*string, bool) { - if o == nil || o.StorageRegion == nil { +func (o *RepositoryCreateResponse) GetStorageRegionOk() (*string, bool) { + if o == nil || isNil(o.StorageRegion) { return nil, false } return o.StorageRegion, true } // HasStorageRegion returns a boolean if a field has been set. -func (o *Repository) HasStorageRegion() bool { - if o != nil && o.StorageRegion != nil { +func (o *RepositoryCreateResponse) HasStorageRegion() bool { + if o != nil && !isNil(o.StorageRegion) { return true } @@ -1537,13 +1655,13 @@ func (o *Repository) HasStorageRegion() bool { } // SetStorageRegion gets a reference to the given string and assigns it to the StorageRegion field. -func (o *Repository) SetStorageRegion(v string) { +func (o *RepositoryCreateResponse) SetStorageRegion(v string) { o.StorageRegion = &v } // GetStrictNpmValidation returns the StrictNpmValidation field value if set, zero value otherwise. -func (o *Repository) GetStrictNpmValidation() bool { - if o == nil || o.StrictNpmValidation == nil { +func (o *RepositoryCreateResponse) GetStrictNpmValidation() bool { + if o == nil || isNil(o.StrictNpmValidation) { var ret bool return ret } @@ -1552,16 +1670,16 @@ func (o *Repository) GetStrictNpmValidation() bool { // GetStrictNpmValidationOk returns a tuple with the StrictNpmValidation field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *Repository) GetStrictNpmValidationOk() (*bool, bool) { - if o == nil || o.StrictNpmValidation == nil { +func (o *RepositoryCreateResponse) GetStrictNpmValidationOk() (*bool, bool) { + if o == nil || isNil(o.StrictNpmValidation) { return nil, false } return o.StrictNpmValidation, true } // HasStrictNpmValidation returns a boolean if a field has been set. -func (o *Repository) HasStrictNpmValidation() bool { - if o != nil && o.StrictNpmValidation != nil { +func (o *RepositoryCreateResponse) HasStrictNpmValidation() bool { + if o != nil && !isNil(o.StrictNpmValidation) { return true } @@ -1569,13 +1687,13 @@ func (o *Repository) HasStrictNpmValidation() bool { } // SetStrictNpmValidation gets a reference to the given bool and assigns it to the StrictNpmValidation field. -func (o *Repository) SetStrictNpmValidation(v bool) { +func (o *RepositoryCreateResponse) SetStrictNpmValidation(v bool) { o.StrictNpmValidation = &v } // GetUseDebianLabels returns the UseDebianLabels field value if set, zero value otherwise. -func (o *Repository) GetUseDebianLabels() bool { - if o == nil || o.UseDebianLabels == nil { +func (o *RepositoryCreateResponse) GetUseDebianLabels() bool { + if o == nil || isNil(o.UseDebianLabels) { var ret bool return ret } @@ -1584,16 +1702,16 @@ func (o *Repository) GetUseDebianLabels() bool { // GetUseDebianLabelsOk returns a tuple with the UseDebianLabels field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *Repository) GetUseDebianLabelsOk() (*bool, bool) { - if o == nil || o.UseDebianLabels == nil { +func (o *RepositoryCreateResponse) GetUseDebianLabelsOk() (*bool, bool) { + if o == nil || isNil(o.UseDebianLabels) { return nil, false } return o.UseDebianLabels, true } // HasUseDebianLabels returns a boolean if a field has been set. -func (o *Repository) HasUseDebianLabels() bool { - if o != nil && o.UseDebianLabels != nil { +func (o *RepositoryCreateResponse) HasUseDebianLabels() bool { + if o != nil && !isNil(o.UseDebianLabels) { return true } @@ -1601,13 +1719,13 @@ func (o *Repository) HasUseDebianLabels() bool { } // SetUseDebianLabels gets a reference to the given bool and assigns it to the UseDebianLabels field. -func (o *Repository) SetUseDebianLabels(v bool) { +func (o *RepositoryCreateResponse) SetUseDebianLabels(v bool) { o.UseDebianLabels = &v } // GetUseDefaultCargoUpstream returns the UseDefaultCargoUpstream field value if set, zero value otherwise. -func (o *Repository) GetUseDefaultCargoUpstream() bool { - if o == nil || o.UseDefaultCargoUpstream == nil { +func (o *RepositoryCreateResponse) GetUseDefaultCargoUpstream() bool { + if o == nil || isNil(o.UseDefaultCargoUpstream) { var ret bool return ret } @@ -1616,16 +1734,16 @@ func (o *Repository) GetUseDefaultCargoUpstream() bool { // GetUseDefaultCargoUpstreamOk returns a tuple with the UseDefaultCargoUpstream field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *Repository) GetUseDefaultCargoUpstreamOk() (*bool, bool) { - if o == nil || o.UseDefaultCargoUpstream == nil { +func (o *RepositoryCreateResponse) GetUseDefaultCargoUpstreamOk() (*bool, bool) { + if o == nil || isNil(o.UseDefaultCargoUpstream) { return nil, false } return o.UseDefaultCargoUpstream, true } // HasUseDefaultCargoUpstream returns a boolean if a field has been set. -func (o *Repository) HasUseDefaultCargoUpstream() bool { - if o != nil && o.UseDefaultCargoUpstream != nil { +func (o *RepositoryCreateResponse) HasUseDefaultCargoUpstream() bool { + if o != nil && !isNil(o.UseDefaultCargoUpstream) { return true } @@ -1633,13 +1751,13 @@ func (o *Repository) HasUseDefaultCargoUpstream() bool { } // SetUseDefaultCargoUpstream gets a reference to the given bool and assigns it to the UseDefaultCargoUpstream field. -func (o *Repository) SetUseDefaultCargoUpstream(v bool) { +func (o *RepositoryCreateResponse) SetUseDefaultCargoUpstream(v bool) { o.UseDefaultCargoUpstream = &v } // GetUseNoarchPackages returns the UseNoarchPackages field value if set, zero value otherwise. -func (o *Repository) GetUseNoarchPackages() bool { - if o == nil || o.UseNoarchPackages == nil { +func (o *RepositoryCreateResponse) GetUseNoarchPackages() bool { + if o == nil || isNil(o.UseNoarchPackages) { var ret bool return ret } @@ -1648,16 +1766,16 @@ func (o *Repository) GetUseNoarchPackages() bool { // GetUseNoarchPackagesOk returns a tuple with the UseNoarchPackages field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *Repository) GetUseNoarchPackagesOk() (*bool, bool) { - if o == nil || o.UseNoarchPackages == nil { +func (o *RepositoryCreateResponse) GetUseNoarchPackagesOk() (*bool, bool) { + if o == nil || isNil(o.UseNoarchPackages) { return nil, false } return o.UseNoarchPackages, true } // HasUseNoarchPackages returns a boolean if a field has been set. -func (o *Repository) HasUseNoarchPackages() bool { - if o != nil && o.UseNoarchPackages != nil { +func (o *RepositoryCreateResponse) HasUseNoarchPackages() bool { + if o != nil && !isNil(o.UseNoarchPackages) { return true } @@ -1665,13 +1783,13 @@ func (o *Repository) HasUseNoarchPackages() bool { } // SetUseNoarchPackages gets a reference to the given bool and assigns it to the UseNoarchPackages field. -func (o *Repository) SetUseNoarchPackages(v bool) { +func (o *RepositoryCreateResponse) SetUseNoarchPackages(v bool) { o.UseNoarchPackages = &v } // GetUseSourcePackages returns the UseSourcePackages field value if set, zero value otherwise. -func (o *Repository) GetUseSourcePackages() bool { - if o == nil || o.UseSourcePackages == nil { +func (o *RepositoryCreateResponse) GetUseSourcePackages() bool { + if o == nil || isNil(o.UseSourcePackages) { var ret bool return ret } @@ -1680,16 +1798,16 @@ func (o *Repository) GetUseSourcePackages() bool { // GetUseSourcePackagesOk returns a tuple with the UseSourcePackages field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *Repository) GetUseSourcePackagesOk() (*bool, bool) { - if o == nil || o.UseSourcePackages == nil { +func (o *RepositoryCreateResponse) GetUseSourcePackagesOk() (*bool, bool) { + if o == nil || isNil(o.UseSourcePackages) { return nil, false } return o.UseSourcePackages, true } // HasUseSourcePackages returns a boolean if a field has been set. -func (o *Repository) HasUseSourcePackages() bool { - if o != nil && o.UseSourcePackages != nil { +func (o *RepositoryCreateResponse) HasUseSourcePackages() bool { + if o != nil && !isNil(o.UseSourcePackages) { return true } @@ -1697,13 +1815,13 @@ func (o *Repository) HasUseSourcePackages() bool { } // SetUseSourcePackages gets a reference to the given bool and assigns it to the UseSourcePackages field. -func (o *Repository) SetUseSourcePackages(v bool) { +func (o *RepositoryCreateResponse) SetUseSourcePackages(v bool) { o.UseSourcePackages = &v } // GetUseVulnerabilityScanning returns the UseVulnerabilityScanning field value if set, zero value otherwise. -func (o *Repository) GetUseVulnerabilityScanning() bool { - if o == nil || o.UseVulnerabilityScanning == nil { +func (o *RepositoryCreateResponse) GetUseVulnerabilityScanning() bool { + if o == nil || isNil(o.UseVulnerabilityScanning) { var ret bool return ret } @@ -1712,16 +1830,16 @@ func (o *Repository) GetUseVulnerabilityScanning() bool { // GetUseVulnerabilityScanningOk returns a tuple with the UseVulnerabilityScanning field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *Repository) GetUseVulnerabilityScanningOk() (*bool, bool) { - if o == nil || o.UseVulnerabilityScanning == nil { +func (o *RepositoryCreateResponse) GetUseVulnerabilityScanningOk() (*bool, bool) { + if o == nil || isNil(o.UseVulnerabilityScanning) { return nil, false } return o.UseVulnerabilityScanning, true } // HasUseVulnerabilityScanning returns a boolean if a field has been set. -func (o *Repository) HasUseVulnerabilityScanning() bool { - if o != nil && o.UseVulnerabilityScanning != nil { +func (o *RepositoryCreateResponse) HasUseVulnerabilityScanning() bool { + if o != nil && !isNil(o.UseVulnerabilityScanning) { return true } @@ -1729,13 +1847,13 @@ func (o *Repository) HasUseVulnerabilityScanning() bool { } // SetUseVulnerabilityScanning gets a reference to the given bool and assigns it to the UseVulnerabilityScanning field. -func (o *Repository) SetUseVulnerabilityScanning(v bool) { +func (o *RepositoryCreateResponse) SetUseVulnerabilityScanning(v bool) { o.UseVulnerabilityScanning = &v } // GetUserEntitlementsEnabled returns the UserEntitlementsEnabled field value if set, zero value otherwise. -func (o *Repository) GetUserEntitlementsEnabled() bool { - if o == nil || o.UserEntitlementsEnabled == nil { +func (o *RepositoryCreateResponse) GetUserEntitlementsEnabled() bool { + if o == nil || isNil(o.UserEntitlementsEnabled) { var ret bool return ret } @@ -1744,16 +1862,16 @@ func (o *Repository) GetUserEntitlementsEnabled() bool { // GetUserEntitlementsEnabledOk returns a tuple with the UserEntitlementsEnabled field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *Repository) GetUserEntitlementsEnabledOk() (*bool, bool) { - if o == nil || o.UserEntitlementsEnabled == nil { +func (o *RepositoryCreateResponse) GetUserEntitlementsEnabledOk() (*bool, bool) { + if o == nil || isNil(o.UserEntitlementsEnabled) { return nil, false } return o.UserEntitlementsEnabled, true } // HasUserEntitlementsEnabled returns a boolean if a field has been set. -func (o *Repository) HasUserEntitlementsEnabled() bool { - if o != nil && o.UserEntitlementsEnabled != nil { +func (o *RepositoryCreateResponse) HasUserEntitlementsEnabled() bool { + if o != nil && !isNil(o.UserEntitlementsEnabled) { return true } @@ -1761,13 +1879,13 @@ func (o *Repository) HasUserEntitlementsEnabled() bool { } // SetUserEntitlementsEnabled gets a reference to the given bool and assigns it to the UserEntitlementsEnabled field. -func (o *Repository) SetUserEntitlementsEnabled(v bool) { +func (o *RepositoryCreateResponse) SetUserEntitlementsEnabled(v bool) { o.UserEntitlementsEnabled = &v } // GetViewStatistics returns the ViewStatistics field value if set, zero value otherwise. -func (o *Repository) GetViewStatistics() string { - if o == nil || o.ViewStatistics == nil { +func (o *RepositoryCreateResponse) GetViewStatistics() string { + if o == nil || isNil(o.ViewStatistics) { var ret string return ret } @@ -1776,16 +1894,16 @@ func (o *Repository) GetViewStatistics() string { // GetViewStatisticsOk returns a tuple with the ViewStatistics field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *Repository) GetViewStatisticsOk() (*string, bool) { - if o == nil || o.ViewStatistics == nil { +func (o *RepositoryCreateResponse) GetViewStatisticsOk() (*string, bool) { + if o == nil || isNil(o.ViewStatistics) { return nil, false } return o.ViewStatistics, true } // HasViewStatistics returns a boolean if a field has been set. -func (o *Repository) HasViewStatistics() bool { - if o != nil && o.ViewStatistics != nil { +func (o *RepositoryCreateResponse) HasViewStatistics() bool { + if o != nil && !isNil(o.ViewStatistics) { return true } @@ -1793,203 +1911,209 @@ func (o *Repository) HasViewStatistics() bool { } // SetViewStatistics gets a reference to the given string and assigns it to the ViewStatistics field. -func (o *Repository) SetViewStatistics(v string) { +func (o *RepositoryCreateResponse) SetViewStatistics(v string) { o.ViewStatistics = &v } -func (o Repository) MarshalJSON() ([]byte, error) { +func (o RepositoryCreateResponse) MarshalJSON() ([]byte, error) { toSerialize := map[string]interface{}{} - if o.CdnUrl != nil { - toSerialize["cdn_url"] = o.CdnUrl + if o.CdnUrl.IsSet() { + toSerialize["cdn_url"] = o.CdnUrl.Get() } - if o.ContextualAuthRealm != nil { + if !isNil(o.ContentKind) { + toSerialize["content_kind"] = o.ContentKind + } + if !isNil(o.ContextualAuthRealm) { toSerialize["contextual_auth_realm"] = o.ContextualAuthRealm } - if o.CopyOwn != nil { + if !isNil(o.CopyOwn) { toSerialize["copy_own"] = o.CopyOwn } - if o.CopyPackages != nil { + if !isNil(o.CopyPackages) { toSerialize["copy_packages"] = o.CopyPackages } - if o.CreatedAt != nil { + if !isNil(o.CreatedAt) { toSerialize["created_at"] = o.CreatedAt } - if o.DefaultPrivilege != nil { + if !isNil(o.DefaultPrivilege) { toSerialize["default_privilege"] = o.DefaultPrivilege } - if o.DeleteOwn != nil { + if !isNil(o.DeleteOwn) { toSerialize["delete_own"] = o.DeleteOwn } - if o.DeletePackages != nil { + if !isNil(o.DeletePackages) { toSerialize["delete_packages"] = o.DeletePackages } - if o.DeletedAt != nil { + if !isNil(o.DeletedAt) { toSerialize["deleted_at"] = o.DeletedAt } - if o.Description != nil { + if !isNil(o.Description) { toSerialize["description"] = o.Description } - if o.DockerRefreshTokensEnabled != nil { + if !isNil(o.Distributes) { + toSerialize["distributes"] = o.Distributes + } + if !isNil(o.DockerRefreshTokensEnabled) { toSerialize["docker_refresh_tokens_enabled"] = o.DockerRefreshTokensEnabled } - if o.GpgKeys != nil { + if !isNil(o.GpgKeys) { toSerialize["gpg_keys"] = o.GpgKeys } - if o.IndexFiles != nil { + if !isNil(o.IndexFiles) { toSerialize["index_files"] = o.IndexFiles } - if o.IsOpenSource != nil { + if !isNil(o.IsOpenSource) { toSerialize["is_open_source"] = o.IsOpenSource } - if o.IsPrivate != nil { + if !isNil(o.IsPrivate) { toSerialize["is_private"] = o.IsPrivate } - if o.IsPublic != nil { + if !isNil(o.IsPublic) { toSerialize["is_public"] = o.IsPublic } - if o.MoveOwn != nil { + if !isNil(o.MoveOwn) { toSerialize["move_own"] = o.MoveOwn } - if o.MovePackages != nil { + if !isNil(o.MovePackages) { toSerialize["move_packages"] = o.MovePackages } if true { toSerialize["name"] = o.Name } - if o.Namespace != nil { + if !isNil(o.Namespace) { toSerialize["namespace"] = o.Namespace } - if o.NamespaceUrl != nil { + if !isNil(o.NamespaceUrl) { toSerialize["namespace_url"] = o.NamespaceUrl } - if o.NumDownloads != nil { + if !isNil(o.NumDownloads) { toSerialize["num_downloads"] = o.NumDownloads } - if o.PackageCount != nil { + if !isNil(o.PackageCount) { toSerialize["package_count"] = o.PackageCount } - if o.PackageGroupCount != nil { + if !isNil(o.PackageGroupCount) { toSerialize["package_group_count"] = o.PackageGroupCount } - if o.ProxyNpmjs != nil { + if !isNil(o.ProxyNpmjs) { toSerialize["proxy_npmjs"] = o.ProxyNpmjs } - if o.ProxyPypi != nil { + if !isNil(o.ProxyPypi) { toSerialize["proxy_pypi"] = o.ProxyPypi } - if o.RawPackageIndexEnabled != nil { + if !isNil(o.RawPackageIndexEnabled) { toSerialize["raw_package_index_enabled"] = o.RawPackageIndexEnabled } - if o.RawPackageIndexSignaturesEnabled != nil { + if !isNil(o.RawPackageIndexSignaturesEnabled) { toSerialize["raw_package_index_signatures_enabled"] = o.RawPackageIndexSignaturesEnabled } - if o.ReplacePackages != nil { + if !isNil(o.ReplacePackages) { toSerialize["replace_packages"] = o.ReplacePackages } - if o.ReplacePackagesByDefault != nil { + if !isNil(o.ReplacePackagesByDefault) { toSerialize["replace_packages_by_default"] = o.ReplacePackagesByDefault } - if o.RepositoryType != nil { + if !isNil(o.RepositoryType) { toSerialize["repository_type"] = o.RepositoryType } - if o.RepositoryTypeStr != nil { + if !isNil(o.RepositoryTypeStr) { toSerialize["repository_type_str"] = o.RepositoryTypeStr } - if o.ResyncOwn != nil { + if !isNil(o.ResyncOwn) { toSerialize["resync_own"] = o.ResyncOwn } - if o.ResyncPackages != nil { + if !isNil(o.ResyncPackages) { toSerialize["resync_packages"] = o.ResyncPackages } - if o.ScanOwn != nil { + if !isNil(o.ScanOwn) { toSerialize["scan_own"] = o.ScanOwn } - if o.ScanPackages != nil { + if !isNil(o.ScanPackages) { toSerialize["scan_packages"] = o.ScanPackages } - if o.SelfHtmlUrl != nil { + if !isNil(o.SelfHtmlUrl) { toSerialize["self_html_url"] = o.SelfHtmlUrl } - if o.SelfUrl != nil { + if !isNil(o.SelfUrl) { toSerialize["self_url"] = o.SelfUrl } - if o.ShowSetupAll != nil { + if !isNil(o.ShowSetupAll) { toSerialize["show_setup_all"] = o.ShowSetupAll } - if o.Size != nil { + if !isNil(o.Size) { toSerialize["size"] = o.Size } - if o.SizeStr != nil { + if !isNil(o.SizeStr) { toSerialize["size_str"] = o.SizeStr } - if o.Slug != nil { + if !isNil(o.Slug) { toSerialize["slug"] = o.Slug } - if o.SlugPerm != nil { + if !isNil(o.SlugPerm) { toSerialize["slug_perm"] = o.SlugPerm } - if o.StorageRegion != nil { + if !isNil(o.StorageRegion) { toSerialize["storage_region"] = o.StorageRegion } - if o.StrictNpmValidation != nil { + if !isNil(o.StrictNpmValidation) { toSerialize["strict_npm_validation"] = o.StrictNpmValidation } - if o.UseDebianLabels != nil { + if !isNil(o.UseDebianLabels) { toSerialize["use_debian_labels"] = o.UseDebianLabels } - if o.UseDefaultCargoUpstream != nil { + if !isNil(o.UseDefaultCargoUpstream) { toSerialize["use_default_cargo_upstream"] = o.UseDefaultCargoUpstream } - if o.UseNoarchPackages != nil { + if !isNil(o.UseNoarchPackages) { toSerialize["use_noarch_packages"] = o.UseNoarchPackages } - if o.UseSourcePackages != nil { + if !isNil(o.UseSourcePackages) { toSerialize["use_source_packages"] = o.UseSourcePackages } - if o.UseVulnerabilityScanning != nil { + if !isNil(o.UseVulnerabilityScanning) { toSerialize["use_vulnerability_scanning"] = o.UseVulnerabilityScanning } - if o.UserEntitlementsEnabled != nil { + if !isNil(o.UserEntitlementsEnabled) { toSerialize["user_entitlements_enabled"] = o.UserEntitlementsEnabled } - if o.ViewStatistics != nil { + if !isNil(o.ViewStatistics) { toSerialize["view_statistics"] = o.ViewStatistics } return json.Marshal(toSerialize) } -type NullableRepository struct { - value *Repository +type NullableRepositoryCreateResponse struct { + value *RepositoryCreateResponse isSet bool } -func (v NullableRepository) Get() *Repository { +func (v NullableRepositoryCreateResponse) Get() *RepositoryCreateResponse { return v.value } -func (v *NullableRepository) Set(val *Repository) { +func (v *NullableRepositoryCreateResponse) Set(val *RepositoryCreateResponse) { v.value = val v.isSet = true } -func (v NullableRepository) IsSet() bool { +func (v NullableRepositoryCreateResponse) IsSet() bool { return v.isSet } -func (v *NullableRepository) Unset() { +func (v *NullableRepositoryCreateResponse) Unset() { v.value = nil v.isSet = false } -func NewNullableRepository(val *Repository) *NullableRepository { - return &NullableRepository{value: val, isSet: true} +func NewNullableRepositoryCreateResponse(val *RepositoryCreateResponse) *NullableRepositoryCreateResponse { + return &NullableRepositoryCreateResponse{value: val, isSet: true} } -func (v NullableRepository) MarshalJSON() ([]byte, error) { +func (v NullableRepositoryCreateResponse) MarshalJSON() ([]byte, error) { return json.Marshal(v.value) } -func (v *NullableRepository) UnmarshalJSON(src []byte) error { +func (v *NullableRepositoryCreateResponse) UnmarshalJSON(src []byte) error { v.isSet = true return json.Unmarshal(src, &v.value) } diff --git a/model_repository_gpg_key.go b/model_repository_gpg_key.go index 332d07c8..fa16076b 100644 --- a/model_repository_gpg_key.go +++ b/model_repository_gpg_key.go @@ -1,9 +1,9 @@ /* -Cloudsmith API +Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.121.3 +API version: 1.181.6 Contact: support@cloudsmith.io */ @@ -13,21 +13,19 @@ package cloudsmith import ( "encoding/json" + "time" ) // RepositoryGpgKey struct for RepositoryGpgKey type RepositoryGpgKey struct { // If selected this is the active key for this repository. - Active *bool `json:"active,omitempty"` - // - Comment string `json:"comment"` - // - CreatedAt *string `json:"created_at,omitempty"` + Active *bool `json:"active,omitempty"` + Comment string `json:"comment"` + CreatedAt *time.Time `json:"created_at,omitempty"` // If selected this is the default key for this repository. Default *bool `json:"default,omitempty"` // The long identifier used by GPG for this key. - Fingerprint *string `json:"fingerprint,omitempty"` - // + Fingerprint *string `json:"fingerprint,omitempty"` FingerprintShort *string `json:"fingerprint_short,omitempty"` // The public key given to repository users. PublicKey *string `json:"public_key,omitempty"` @@ -53,7 +51,7 @@ func NewRepositoryGpgKeyWithDefaults() *RepositoryGpgKey { // GetActive returns the Active field value if set, zero value otherwise. func (o *RepositoryGpgKey) GetActive() bool { - if o == nil || o.Active == nil { + if o == nil || isNil(o.Active) { var ret bool return ret } @@ -63,7 +61,7 @@ func (o *RepositoryGpgKey) GetActive() bool { // GetActiveOk returns a tuple with the Active field value if set, nil otherwise // and a boolean to check if the value has been set. func (o *RepositoryGpgKey) GetActiveOk() (*bool, bool) { - if o == nil || o.Active == nil { + if o == nil || isNil(o.Active) { return nil, false } return o.Active, true @@ -71,7 +69,7 @@ func (o *RepositoryGpgKey) GetActiveOk() (*bool, bool) { // HasActive returns a boolean if a field has been set. func (o *RepositoryGpgKey) HasActive() bool { - if o != nil && o.Active != nil { + if o != nil && !isNil(o.Active) { return true } @@ -108,9 +106,9 @@ func (o *RepositoryGpgKey) SetComment(v string) { } // GetCreatedAt returns the CreatedAt field value if set, zero value otherwise. -func (o *RepositoryGpgKey) GetCreatedAt() string { - if o == nil || o.CreatedAt == nil { - var ret string +func (o *RepositoryGpgKey) GetCreatedAt() time.Time { + if o == nil || isNil(o.CreatedAt) { + var ret time.Time return ret } return *o.CreatedAt @@ -118,8 +116,8 @@ func (o *RepositoryGpgKey) GetCreatedAt() string { // GetCreatedAtOk returns a tuple with the CreatedAt field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *RepositoryGpgKey) GetCreatedAtOk() (*string, bool) { - if o == nil || o.CreatedAt == nil { +func (o *RepositoryGpgKey) GetCreatedAtOk() (*time.Time, bool) { + if o == nil || isNil(o.CreatedAt) { return nil, false } return o.CreatedAt, true @@ -127,21 +125,21 @@ func (o *RepositoryGpgKey) GetCreatedAtOk() (*string, bool) { // HasCreatedAt returns a boolean if a field has been set. func (o *RepositoryGpgKey) HasCreatedAt() bool { - if o != nil && o.CreatedAt != nil { + if o != nil && !isNil(o.CreatedAt) { return true } return false } -// SetCreatedAt gets a reference to the given string and assigns it to the CreatedAt field. -func (o *RepositoryGpgKey) SetCreatedAt(v string) { +// SetCreatedAt gets a reference to the given time.Time and assigns it to the CreatedAt field. +func (o *RepositoryGpgKey) SetCreatedAt(v time.Time) { o.CreatedAt = &v } // GetDefault returns the Default field value if set, zero value otherwise. func (o *RepositoryGpgKey) GetDefault() bool { - if o == nil || o.Default == nil { + if o == nil || isNil(o.Default) { var ret bool return ret } @@ -151,7 +149,7 @@ func (o *RepositoryGpgKey) GetDefault() bool { // GetDefaultOk returns a tuple with the Default field value if set, nil otherwise // and a boolean to check if the value has been set. func (o *RepositoryGpgKey) GetDefaultOk() (*bool, bool) { - if o == nil || o.Default == nil { + if o == nil || isNil(o.Default) { return nil, false } return o.Default, true @@ -159,7 +157,7 @@ func (o *RepositoryGpgKey) GetDefaultOk() (*bool, bool) { // HasDefault returns a boolean if a field has been set. func (o *RepositoryGpgKey) HasDefault() bool { - if o != nil && o.Default != nil { + if o != nil && !isNil(o.Default) { return true } @@ -173,7 +171,7 @@ func (o *RepositoryGpgKey) SetDefault(v bool) { // GetFingerprint returns the Fingerprint field value if set, zero value otherwise. func (o *RepositoryGpgKey) GetFingerprint() string { - if o == nil || o.Fingerprint == nil { + if o == nil || isNil(o.Fingerprint) { var ret string return ret } @@ -183,7 +181,7 @@ func (o *RepositoryGpgKey) GetFingerprint() string { // GetFingerprintOk returns a tuple with the Fingerprint field value if set, nil otherwise // and a boolean to check if the value has been set. func (o *RepositoryGpgKey) GetFingerprintOk() (*string, bool) { - if o == nil || o.Fingerprint == nil { + if o == nil || isNil(o.Fingerprint) { return nil, false } return o.Fingerprint, true @@ -191,7 +189,7 @@ func (o *RepositoryGpgKey) GetFingerprintOk() (*string, bool) { // HasFingerprint returns a boolean if a field has been set. func (o *RepositoryGpgKey) HasFingerprint() bool { - if o != nil && o.Fingerprint != nil { + if o != nil && !isNil(o.Fingerprint) { return true } @@ -205,7 +203,7 @@ func (o *RepositoryGpgKey) SetFingerprint(v string) { // GetFingerprintShort returns the FingerprintShort field value if set, zero value otherwise. func (o *RepositoryGpgKey) GetFingerprintShort() string { - if o == nil || o.FingerprintShort == nil { + if o == nil || isNil(o.FingerprintShort) { var ret string return ret } @@ -215,7 +213,7 @@ func (o *RepositoryGpgKey) GetFingerprintShort() string { // GetFingerprintShortOk returns a tuple with the FingerprintShort field value if set, nil otherwise // and a boolean to check if the value has been set. func (o *RepositoryGpgKey) GetFingerprintShortOk() (*string, bool) { - if o == nil || o.FingerprintShort == nil { + if o == nil || isNil(o.FingerprintShort) { return nil, false } return o.FingerprintShort, true @@ -223,7 +221,7 @@ func (o *RepositoryGpgKey) GetFingerprintShortOk() (*string, bool) { // HasFingerprintShort returns a boolean if a field has been set. func (o *RepositoryGpgKey) HasFingerprintShort() bool { - if o != nil && o.FingerprintShort != nil { + if o != nil && !isNil(o.FingerprintShort) { return true } @@ -237,7 +235,7 @@ func (o *RepositoryGpgKey) SetFingerprintShort(v string) { // GetPublicKey returns the PublicKey field value if set, zero value otherwise. func (o *RepositoryGpgKey) GetPublicKey() string { - if o == nil || o.PublicKey == nil { + if o == nil || isNil(o.PublicKey) { var ret string return ret } @@ -247,7 +245,7 @@ func (o *RepositoryGpgKey) GetPublicKey() string { // GetPublicKeyOk returns a tuple with the PublicKey field value if set, nil otherwise // and a boolean to check if the value has been set. func (o *RepositoryGpgKey) GetPublicKeyOk() (*string, bool) { - if o == nil || o.PublicKey == nil { + if o == nil || isNil(o.PublicKey) { return nil, false } return o.PublicKey, true @@ -255,7 +253,7 @@ func (o *RepositoryGpgKey) GetPublicKeyOk() (*string, bool) { // HasPublicKey returns a boolean if a field has been set. func (o *RepositoryGpgKey) HasPublicKey() bool { - if o != nil && o.PublicKey != nil { + if o != nil && !isNil(o.PublicKey) { return true } @@ -269,25 +267,25 @@ func (o *RepositoryGpgKey) SetPublicKey(v string) { func (o RepositoryGpgKey) MarshalJSON() ([]byte, error) { toSerialize := map[string]interface{}{} - if o.Active != nil { + if !isNil(o.Active) { toSerialize["active"] = o.Active } if true { toSerialize["comment"] = o.Comment } - if o.CreatedAt != nil { + if !isNil(o.CreatedAt) { toSerialize["created_at"] = o.CreatedAt } - if o.Default != nil { + if !isNil(o.Default) { toSerialize["default"] = o.Default } - if o.Fingerprint != nil { + if !isNil(o.Fingerprint) { toSerialize["fingerprint"] = o.Fingerprint } - if o.FingerprintShort != nil { + if !isNil(o.FingerprintShort) { toSerialize["fingerprint_short"] = o.FingerprintShort } - if o.PublicKey != nil { + if !isNil(o.PublicKey) { toSerialize["public_key"] = o.PublicKey } return json.Marshal(toSerialize) diff --git a/model_repos_gpg_create.go b/model_repository_gpg_key_create.go similarity index 54% rename from model_repos_gpg_create.go rename to model_repository_gpg_key_create.go index fa335ed1..3decd2a6 100644 --- a/model_repos_gpg_create.go +++ b/model_repository_gpg_key_create.go @@ -1,9 +1,9 @@ /* -Cloudsmith API +Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.121.3 +API version: 1.181.6 Contact: support@cloudsmith.io */ @@ -15,35 +15,35 @@ import ( "encoding/json" ) -// ReposGpgCreate struct for ReposGpgCreate -type ReposGpgCreate struct { +// RepositoryGpgKeyCreate struct for RepositoryGpgKeyCreate +type RepositoryGpgKeyCreate struct { // The GPG passphrase used for signing. GpgPassphrase *string `json:"gpg_passphrase,omitempty"` // The GPG private key. GpgPrivateKey string `json:"gpg_private_key"` } -// NewReposGpgCreate instantiates a new ReposGpgCreate object +// NewRepositoryGpgKeyCreate instantiates a new RepositoryGpgKeyCreate object // 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 NewReposGpgCreate(gpgPrivateKey string) *ReposGpgCreate { - this := ReposGpgCreate{} +func NewRepositoryGpgKeyCreate(gpgPrivateKey string) *RepositoryGpgKeyCreate { + this := RepositoryGpgKeyCreate{} this.GpgPrivateKey = gpgPrivateKey return &this } -// NewReposGpgCreateWithDefaults instantiates a new ReposGpgCreate object +// NewRepositoryGpgKeyCreateWithDefaults instantiates a new RepositoryGpgKeyCreate object // This constructor will only assign default values to properties that have it defined, // but it doesn't guarantee that properties required by API are set -func NewReposGpgCreateWithDefaults() *ReposGpgCreate { - this := ReposGpgCreate{} +func NewRepositoryGpgKeyCreateWithDefaults() *RepositoryGpgKeyCreate { + this := RepositoryGpgKeyCreate{} return &this } // GetGpgPassphrase returns the GpgPassphrase field value if set, zero value otherwise. -func (o *ReposGpgCreate) GetGpgPassphrase() string { - if o == nil || o.GpgPassphrase == nil { +func (o *RepositoryGpgKeyCreate) GetGpgPassphrase() string { + if o == nil || isNil(o.GpgPassphrase) { var ret string return ret } @@ -52,16 +52,16 @@ func (o *ReposGpgCreate) GetGpgPassphrase() string { // GetGpgPassphraseOk returns a tuple with the GpgPassphrase field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *ReposGpgCreate) GetGpgPassphraseOk() (*string, bool) { - if o == nil || o.GpgPassphrase == nil { +func (o *RepositoryGpgKeyCreate) GetGpgPassphraseOk() (*string, bool) { + if o == nil || isNil(o.GpgPassphrase) { return nil, false } return o.GpgPassphrase, true } // HasGpgPassphrase returns a boolean if a field has been set. -func (o *ReposGpgCreate) HasGpgPassphrase() bool { - if o != nil && o.GpgPassphrase != nil { +func (o *RepositoryGpgKeyCreate) HasGpgPassphrase() bool { + if o != nil && !isNil(o.GpgPassphrase) { return true } @@ -69,12 +69,12 @@ func (o *ReposGpgCreate) HasGpgPassphrase() bool { } // SetGpgPassphrase gets a reference to the given string and assigns it to the GpgPassphrase field. -func (o *ReposGpgCreate) SetGpgPassphrase(v string) { +func (o *RepositoryGpgKeyCreate) SetGpgPassphrase(v string) { o.GpgPassphrase = &v } // GetGpgPrivateKey returns the GpgPrivateKey field value -func (o *ReposGpgCreate) GetGpgPrivateKey() string { +func (o *RepositoryGpgKeyCreate) GetGpgPrivateKey() string { if o == nil { var ret string return ret @@ -85,7 +85,7 @@ func (o *ReposGpgCreate) GetGpgPrivateKey() string { // GetGpgPrivateKeyOk returns a tuple with the GpgPrivateKey field value // and a boolean to check if the value has been set. -func (o *ReposGpgCreate) GetGpgPrivateKeyOk() (*string, bool) { +func (o *RepositoryGpgKeyCreate) GetGpgPrivateKeyOk() (*string, bool) { if o == nil { return nil, false } @@ -93,13 +93,13 @@ func (o *ReposGpgCreate) GetGpgPrivateKeyOk() (*string, bool) { } // SetGpgPrivateKey sets field value -func (o *ReposGpgCreate) SetGpgPrivateKey(v string) { +func (o *RepositoryGpgKeyCreate) SetGpgPrivateKey(v string) { o.GpgPrivateKey = v } -func (o ReposGpgCreate) MarshalJSON() ([]byte, error) { +func (o RepositoryGpgKeyCreate) MarshalJSON() ([]byte, error) { toSerialize := map[string]interface{}{} - if o.GpgPassphrase != nil { + if !isNil(o.GpgPassphrase) { toSerialize["gpg_passphrase"] = o.GpgPassphrase } if true { @@ -108,38 +108,38 @@ func (o ReposGpgCreate) MarshalJSON() ([]byte, error) { return json.Marshal(toSerialize) } -type NullableReposGpgCreate struct { - value *ReposGpgCreate +type NullableRepositoryGpgKeyCreate struct { + value *RepositoryGpgKeyCreate isSet bool } -func (v NullableReposGpgCreate) Get() *ReposGpgCreate { +func (v NullableRepositoryGpgKeyCreate) Get() *RepositoryGpgKeyCreate { return v.value } -func (v *NullableReposGpgCreate) Set(val *ReposGpgCreate) { +func (v *NullableRepositoryGpgKeyCreate) Set(val *RepositoryGpgKeyCreate) { v.value = val v.isSet = true } -func (v NullableReposGpgCreate) IsSet() bool { +func (v NullableRepositoryGpgKeyCreate) IsSet() bool { return v.isSet } -func (v *NullableReposGpgCreate) Unset() { +func (v *NullableRepositoryGpgKeyCreate) Unset() { v.value = nil v.isSet = false } -func NewNullableReposGpgCreate(val *ReposGpgCreate) *NullableReposGpgCreate { - return &NullableReposGpgCreate{value: val, isSet: true} +func NewNullableRepositoryGpgKeyCreate(val *RepositoryGpgKeyCreate) *NullableRepositoryGpgKeyCreate { + return &NullableRepositoryGpgKeyCreate{value: val, isSet: true} } -func (v NullableReposGpgCreate) MarshalJSON() ([]byte, error) { +func (v NullableRepositoryGpgKeyCreate) MarshalJSON() ([]byte, error) { return json.Marshal(v.value) } -func (v *NullableReposGpgCreate) UnmarshalJSON(src []byte) error { +func (v *NullableRepositoryGpgKeyCreate) UnmarshalJSON(src []byte) error { v.isSet = true return json.Unmarshal(src, &v.value) } diff --git a/model__repos__gpg_keys.go b/model_repository_gpg_key_response.go similarity index 52% rename from model__repos__gpg_keys.go rename to model_repository_gpg_key_response.go index e5b1a402..8e5c46a3 100644 --- a/model__repos__gpg_keys.go +++ b/model_repository_gpg_key_response.go @@ -1,9 +1,9 @@ /* -Cloudsmith API +Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.121.3 +API version: 1.181.6 Contact: support@cloudsmith.io */ @@ -13,46 +13,45 @@ package cloudsmith import ( "encoding/json" + "time" ) -// ReposGpgKeys struct for ReposGpgKeys -type ReposGpgKeys struct { +// RepositoryGpgKeyResponse struct for RepositoryGpgKeyResponse +type RepositoryGpgKeyResponse struct { // If selected this is the active key for this repository. - Active *bool `json:"active,omitempty"` - // - Comment *string `json:"comment,omitempty"` - // - CreatedAt *string `json:"created_at,omitempty"` + Active *bool `json:"active,omitempty"` + Comment string `json:"comment"` + CreatedAt *time.Time `json:"created_at,omitempty"` // If selected this is the default key for this repository. Default *bool `json:"default,omitempty"` // The long identifier used by GPG for this key. - Fingerprint *string `json:"fingerprint,omitempty"` - // + Fingerprint *string `json:"fingerprint,omitempty"` FingerprintShort *string `json:"fingerprint_short,omitempty"` // The public key given to repository users. PublicKey *string `json:"public_key,omitempty"` } -// NewReposGpgKeys instantiates a new ReposGpgKeys object +// NewRepositoryGpgKeyResponse instantiates a new RepositoryGpgKeyResponse object // 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 NewReposGpgKeys() *ReposGpgKeys { - this := ReposGpgKeys{} +func NewRepositoryGpgKeyResponse(comment string) *RepositoryGpgKeyResponse { + this := RepositoryGpgKeyResponse{} + this.Comment = comment return &this } -// NewReposGpgKeysWithDefaults instantiates a new ReposGpgKeys object +// NewRepositoryGpgKeyResponseWithDefaults instantiates a new RepositoryGpgKeyResponse object // This constructor will only assign default values to properties that have it defined, // but it doesn't guarantee that properties required by API are set -func NewReposGpgKeysWithDefaults() *ReposGpgKeys { - this := ReposGpgKeys{} +func NewRepositoryGpgKeyResponseWithDefaults() *RepositoryGpgKeyResponse { + this := RepositoryGpgKeyResponse{} return &this } // GetActive returns the Active field value if set, zero value otherwise. -func (o *ReposGpgKeys) GetActive() bool { - if o == nil || o.Active == nil { +func (o *RepositoryGpgKeyResponse) GetActive() bool { + if o == nil || isNil(o.Active) { var ret bool return ret } @@ -61,16 +60,16 @@ func (o *ReposGpgKeys) GetActive() bool { // GetActiveOk returns a tuple with the Active field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *ReposGpgKeys) GetActiveOk() (*bool, bool) { - if o == nil || o.Active == nil { +func (o *RepositoryGpgKeyResponse) GetActiveOk() (*bool, bool) { + if o == nil || isNil(o.Active) { return nil, false } return o.Active, true } // HasActive returns a boolean if a field has been set. -func (o *ReposGpgKeys) HasActive() bool { - if o != nil && o.Active != nil { +func (o *RepositoryGpgKeyResponse) HasActive() bool { + if o != nil && !isNil(o.Active) { return true } @@ -78,46 +77,38 @@ func (o *ReposGpgKeys) HasActive() bool { } // SetActive gets a reference to the given bool and assigns it to the Active field. -func (o *ReposGpgKeys) SetActive(v bool) { +func (o *RepositoryGpgKeyResponse) SetActive(v bool) { o.Active = &v } -// GetComment returns the Comment field value if set, zero value otherwise. -func (o *ReposGpgKeys) GetComment() string { - if o == nil || o.Comment == nil { +// GetComment returns the Comment field value +func (o *RepositoryGpgKeyResponse) GetComment() string { + if o == nil { var ret string return ret } - return *o.Comment + + return o.Comment } -// GetCommentOk returns a tuple with the Comment field value if set, nil otherwise +// GetCommentOk returns a tuple with the Comment field value // and a boolean to check if the value has been set. -func (o *ReposGpgKeys) GetCommentOk() (*string, bool) { - if o == nil || o.Comment == nil { +func (o *RepositoryGpgKeyResponse) GetCommentOk() (*string, bool) { + if o == nil { return nil, false } - return o.Comment, true -} - -// HasComment returns a boolean if a field has been set. -func (o *ReposGpgKeys) HasComment() bool { - if o != nil && o.Comment != nil { - return true - } - - return false + return &o.Comment, true } -// SetComment gets a reference to the given string and assigns it to the Comment field. -func (o *ReposGpgKeys) SetComment(v string) { - o.Comment = &v +// SetComment sets field value +func (o *RepositoryGpgKeyResponse) SetComment(v string) { + o.Comment = v } // GetCreatedAt returns the CreatedAt field value if set, zero value otherwise. -func (o *ReposGpgKeys) GetCreatedAt() string { - if o == nil || o.CreatedAt == nil { - var ret string +func (o *RepositoryGpgKeyResponse) GetCreatedAt() time.Time { + if o == nil || isNil(o.CreatedAt) { + var ret time.Time return ret } return *o.CreatedAt @@ -125,30 +116,30 @@ func (o *ReposGpgKeys) GetCreatedAt() string { // GetCreatedAtOk returns a tuple with the CreatedAt field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *ReposGpgKeys) GetCreatedAtOk() (*string, bool) { - if o == nil || o.CreatedAt == nil { +func (o *RepositoryGpgKeyResponse) GetCreatedAtOk() (*time.Time, bool) { + if o == nil || isNil(o.CreatedAt) { return nil, false } return o.CreatedAt, true } // HasCreatedAt returns a boolean if a field has been set. -func (o *ReposGpgKeys) HasCreatedAt() bool { - if o != nil && o.CreatedAt != nil { +func (o *RepositoryGpgKeyResponse) HasCreatedAt() bool { + if o != nil && !isNil(o.CreatedAt) { return true } return false } -// SetCreatedAt gets a reference to the given string and assigns it to the CreatedAt field. -func (o *ReposGpgKeys) SetCreatedAt(v string) { +// SetCreatedAt gets a reference to the given time.Time and assigns it to the CreatedAt field. +func (o *RepositoryGpgKeyResponse) SetCreatedAt(v time.Time) { o.CreatedAt = &v } // GetDefault returns the Default field value if set, zero value otherwise. -func (o *ReposGpgKeys) GetDefault() bool { - if o == nil || o.Default == nil { +func (o *RepositoryGpgKeyResponse) GetDefault() bool { + if o == nil || isNil(o.Default) { var ret bool return ret } @@ -157,16 +148,16 @@ func (o *ReposGpgKeys) GetDefault() bool { // GetDefaultOk returns a tuple with the Default field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *ReposGpgKeys) GetDefaultOk() (*bool, bool) { - if o == nil || o.Default == nil { +func (o *RepositoryGpgKeyResponse) GetDefaultOk() (*bool, bool) { + if o == nil || isNil(o.Default) { return nil, false } return o.Default, true } // HasDefault returns a boolean if a field has been set. -func (o *ReposGpgKeys) HasDefault() bool { - if o != nil && o.Default != nil { +func (o *RepositoryGpgKeyResponse) HasDefault() bool { + if o != nil && !isNil(o.Default) { return true } @@ -174,13 +165,13 @@ func (o *ReposGpgKeys) HasDefault() bool { } // SetDefault gets a reference to the given bool and assigns it to the Default field. -func (o *ReposGpgKeys) SetDefault(v bool) { +func (o *RepositoryGpgKeyResponse) SetDefault(v bool) { o.Default = &v } // GetFingerprint returns the Fingerprint field value if set, zero value otherwise. -func (o *ReposGpgKeys) GetFingerprint() string { - if o == nil || o.Fingerprint == nil { +func (o *RepositoryGpgKeyResponse) GetFingerprint() string { + if o == nil || isNil(o.Fingerprint) { var ret string return ret } @@ -189,16 +180,16 @@ func (o *ReposGpgKeys) GetFingerprint() string { // GetFingerprintOk returns a tuple with the Fingerprint field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *ReposGpgKeys) GetFingerprintOk() (*string, bool) { - if o == nil || o.Fingerprint == nil { +func (o *RepositoryGpgKeyResponse) GetFingerprintOk() (*string, bool) { + if o == nil || isNil(o.Fingerprint) { return nil, false } return o.Fingerprint, true } // HasFingerprint returns a boolean if a field has been set. -func (o *ReposGpgKeys) HasFingerprint() bool { - if o != nil && o.Fingerprint != nil { +func (o *RepositoryGpgKeyResponse) HasFingerprint() bool { + if o != nil && !isNil(o.Fingerprint) { return true } @@ -206,13 +197,13 @@ func (o *ReposGpgKeys) HasFingerprint() bool { } // SetFingerprint gets a reference to the given string and assigns it to the Fingerprint field. -func (o *ReposGpgKeys) SetFingerprint(v string) { +func (o *RepositoryGpgKeyResponse) SetFingerprint(v string) { o.Fingerprint = &v } // GetFingerprintShort returns the FingerprintShort field value if set, zero value otherwise. -func (o *ReposGpgKeys) GetFingerprintShort() string { - if o == nil || o.FingerprintShort == nil { +func (o *RepositoryGpgKeyResponse) GetFingerprintShort() string { + if o == nil || isNil(o.FingerprintShort) { var ret string return ret } @@ -221,16 +212,16 @@ func (o *ReposGpgKeys) GetFingerprintShort() string { // GetFingerprintShortOk returns a tuple with the FingerprintShort field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *ReposGpgKeys) GetFingerprintShortOk() (*string, bool) { - if o == nil || o.FingerprintShort == nil { +func (o *RepositoryGpgKeyResponse) GetFingerprintShortOk() (*string, bool) { + if o == nil || isNil(o.FingerprintShort) { return nil, false } return o.FingerprintShort, true } // HasFingerprintShort returns a boolean if a field has been set. -func (o *ReposGpgKeys) HasFingerprintShort() bool { - if o != nil && o.FingerprintShort != nil { +func (o *RepositoryGpgKeyResponse) HasFingerprintShort() bool { + if o != nil && !isNil(o.FingerprintShort) { return true } @@ -238,13 +229,13 @@ func (o *ReposGpgKeys) HasFingerprintShort() bool { } // SetFingerprintShort gets a reference to the given string and assigns it to the FingerprintShort field. -func (o *ReposGpgKeys) SetFingerprintShort(v string) { +func (o *RepositoryGpgKeyResponse) SetFingerprintShort(v string) { o.FingerprintShort = &v } // GetPublicKey returns the PublicKey field value if set, zero value otherwise. -func (o *ReposGpgKeys) GetPublicKey() string { - if o == nil || o.PublicKey == nil { +func (o *RepositoryGpgKeyResponse) GetPublicKey() string { + if o == nil || isNil(o.PublicKey) { var ret string return ret } @@ -253,16 +244,16 @@ func (o *ReposGpgKeys) GetPublicKey() string { // GetPublicKeyOk returns a tuple with the PublicKey field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *ReposGpgKeys) GetPublicKeyOk() (*string, bool) { - if o == nil || o.PublicKey == nil { +func (o *RepositoryGpgKeyResponse) GetPublicKeyOk() (*string, bool) { + if o == nil || isNil(o.PublicKey) { return nil, false } return o.PublicKey, true } // HasPublicKey returns a boolean if a field has been set. -func (o *ReposGpgKeys) HasPublicKey() bool { - if o != nil && o.PublicKey != nil { +func (o *RepositoryGpgKeyResponse) HasPublicKey() bool { + if o != nil && !isNil(o.PublicKey) { return true } @@ -270,68 +261,68 @@ func (o *ReposGpgKeys) HasPublicKey() bool { } // SetPublicKey gets a reference to the given string and assigns it to the PublicKey field. -func (o *ReposGpgKeys) SetPublicKey(v string) { +func (o *RepositoryGpgKeyResponse) SetPublicKey(v string) { o.PublicKey = &v } -func (o ReposGpgKeys) MarshalJSON() ([]byte, error) { +func (o RepositoryGpgKeyResponse) MarshalJSON() ([]byte, error) { toSerialize := map[string]interface{}{} - if o.Active != nil { + if !isNil(o.Active) { toSerialize["active"] = o.Active } - if o.Comment != nil { + if true { toSerialize["comment"] = o.Comment } - if o.CreatedAt != nil { + if !isNil(o.CreatedAt) { toSerialize["created_at"] = o.CreatedAt } - if o.Default != nil { + if !isNil(o.Default) { toSerialize["default"] = o.Default } - if o.Fingerprint != nil { + if !isNil(o.Fingerprint) { toSerialize["fingerprint"] = o.Fingerprint } - if o.FingerprintShort != nil { + if !isNil(o.FingerprintShort) { toSerialize["fingerprint_short"] = o.FingerprintShort } - if o.PublicKey != nil { + if !isNil(o.PublicKey) { toSerialize["public_key"] = o.PublicKey } return json.Marshal(toSerialize) } -type NullableReposGpgKeys struct { - value *ReposGpgKeys +type NullableRepositoryGpgKeyResponse struct { + value *RepositoryGpgKeyResponse isSet bool } -func (v NullableReposGpgKeys) Get() *ReposGpgKeys { +func (v NullableRepositoryGpgKeyResponse) Get() *RepositoryGpgKeyResponse { return v.value } -func (v *NullableReposGpgKeys) Set(val *ReposGpgKeys) { +func (v *NullableRepositoryGpgKeyResponse) Set(val *RepositoryGpgKeyResponse) { v.value = val v.isSet = true } -func (v NullableReposGpgKeys) IsSet() bool { +func (v NullableRepositoryGpgKeyResponse) IsSet() bool { return v.isSet } -func (v *NullableReposGpgKeys) Unset() { +func (v *NullableRepositoryGpgKeyResponse) Unset() { v.value = nil v.isSet = false } -func NewNullableReposGpgKeys(val *ReposGpgKeys) *NullableReposGpgKeys { - return &NullableReposGpgKeys{value: val, isSet: true} +func NewNullableRepositoryGpgKeyResponse(val *RepositoryGpgKeyResponse) *NullableRepositoryGpgKeyResponse { + return &NullableRepositoryGpgKeyResponse{value: val, isSet: true} } -func (v NullableReposGpgKeys) MarshalJSON() ([]byte, error) { +func (v NullableRepositoryGpgKeyResponse) MarshalJSON() ([]byte, error) { return json.Marshal(v.value) } -func (v *NullableReposGpgKeys) UnmarshalJSON(src []byte) error { +func (v *NullableRepositoryGpgKeyResponse) UnmarshalJSON(src []byte) error { v.isSet = true return json.Unmarshal(src, &v.value) } diff --git a/model_repository_privilege_dict.go b/model_repository_privilege_dict.go new file mode 100644 index 00000000..fe01688f --- /dev/null +++ b/model_repository_privilege_dict.go @@ -0,0 +1,219 @@ +/* +Cloudsmith API (v1) + +The API to the Cloudsmith Service + +API version: 1.181.6 +Contact: support@cloudsmith.io +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cloudsmith + +import ( + "encoding/json" +) + +// RepositoryPrivilegeDict struct for RepositoryPrivilegeDict +type RepositoryPrivilegeDict struct { + // The level of privilege that the user or team should be granted to the specified repository. + Privilege string `json:"privilege"` + // The service identifier (slug). + Service *string `json:"service,omitempty"` + // The team identifier (slug). + Team *string `json:"team,omitempty"` + // The user identifier (slug). + User *string `json:"user,omitempty"` +} + +// NewRepositoryPrivilegeDict instantiates a new RepositoryPrivilegeDict object +// 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 NewRepositoryPrivilegeDict(privilege string) *RepositoryPrivilegeDict { + this := RepositoryPrivilegeDict{} + this.Privilege = privilege + return &this +} + +// NewRepositoryPrivilegeDictWithDefaults instantiates a new RepositoryPrivilegeDict object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewRepositoryPrivilegeDictWithDefaults() *RepositoryPrivilegeDict { + this := RepositoryPrivilegeDict{} + return &this +} + +// GetPrivilege returns the Privilege field value +func (o *RepositoryPrivilegeDict) GetPrivilege() string { + if o == nil { + var ret string + return ret + } + + return o.Privilege +} + +// GetPrivilegeOk returns a tuple with the Privilege field value +// and a boolean to check if the value has been set. +func (o *RepositoryPrivilegeDict) GetPrivilegeOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Privilege, true +} + +// SetPrivilege sets field value +func (o *RepositoryPrivilegeDict) SetPrivilege(v string) { + o.Privilege = v +} + +// GetService returns the Service field value if set, zero value otherwise. +func (o *RepositoryPrivilegeDict) GetService() string { + if o == nil || isNil(o.Service) { + var ret string + return ret + } + return *o.Service +} + +// GetServiceOk returns a tuple with the Service field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *RepositoryPrivilegeDict) GetServiceOk() (*string, bool) { + if o == nil || isNil(o.Service) { + return nil, false + } + return o.Service, true +} + +// HasService returns a boolean if a field has been set. +func (o *RepositoryPrivilegeDict) HasService() bool { + if o != nil && !isNil(o.Service) { + return true + } + + return false +} + +// SetService gets a reference to the given string and assigns it to the Service field. +func (o *RepositoryPrivilegeDict) SetService(v string) { + o.Service = &v +} + +// GetTeam returns the Team field value if set, zero value otherwise. +func (o *RepositoryPrivilegeDict) GetTeam() string { + if o == nil || isNil(o.Team) { + var ret string + return ret + } + return *o.Team +} + +// GetTeamOk returns a tuple with the Team field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *RepositoryPrivilegeDict) GetTeamOk() (*string, bool) { + if o == nil || isNil(o.Team) { + return nil, false + } + return o.Team, true +} + +// HasTeam returns a boolean if a field has been set. +func (o *RepositoryPrivilegeDict) HasTeam() bool { + if o != nil && !isNil(o.Team) { + return true + } + + return false +} + +// SetTeam gets a reference to the given string and assigns it to the Team field. +func (o *RepositoryPrivilegeDict) SetTeam(v string) { + o.Team = &v +} + +// GetUser returns the User field value if set, zero value otherwise. +func (o *RepositoryPrivilegeDict) GetUser() string { + if o == nil || isNil(o.User) { + var ret string + return ret + } + return *o.User +} + +// GetUserOk returns a tuple with the User field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *RepositoryPrivilegeDict) GetUserOk() (*string, bool) { + if o == nil || isNil(o.User) { + return nil, false + } + return o.User, true +} + +// HasUser returns a boolean if a field has been set. +func (o *RepositoryPrivilegeDict) HasUser() bool { + if o != nil && !isNil(o.User) { + return true + } + + return false +} + +// SetUser gets a reference to the given string and assigns it to the User field. +func (o *RepositoryPrivilegeDict) SetUser(v string) { + o.User = &v +} + +func (o RepositoryPrivilegeDict) MarshalJSON() ([]byte, error) { + toSerialize := map[string]interface{}{} + if true { + toSerialize["privilege"] = o.Privilege + } + if !isNil(o.Service) { + toSerialize["service"] = o.Service + } + if !isNil(o.Team) { + toSerialize["team"] = o.Team + } + if !isNil(o.User) { + toSerialize["user"] = o.User + } + return json.Marshal(toSerialize) +} + +type NullableRepositoryPrivilegeDict struct { + value *RepositoryPrivilegeDict + isSet bool +} + +func (v NullableRepositoryPrivilegeDict) Get() *RepositoryPrivilegeDict { + return v.value +} + +func (v *NullableRepositoryPrivilegeDict) Set(val *RepositoryPrivilegeDict) { + v.value = val + v.isSet = true +} + +func (v NullableRepositoryPrivilegeDict) IsSet() bool { + return v.isSet +} + +func (v *NullableRepositoryPrivilegeDict) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableRepositoryPrivilegeDict(val *RepositoryPrivilegeDict) *NullableRepositoryPrivilegeDict { + return &NullableRepositoryPrivilegeDict{value: val, isSet: true} +} + +func (v NullableRepositoryPrivilegeDict) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableRepositoryPrivilegeDict) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} diff --git a/model_repository_privilege_input_request.go b/model_repository_privilege_input_request.go new file mode 100644 index 00000000..63e9a058 --- /dev/null +++ b/model_repository_privilege_input_request.go @@ -0,0 +1,108 @@ +/* +Cloudsmith API (v1) + +The API to the Cloudsmith Service + +API version: 1.181.6 +Contact: support@cloudsmith.io +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cloudsmith + +import ( + "encoding/json" +) + +// RepositoryPrivilegeInputRequest struct for RepositoryPrivilegeInputRequest +type RepositoryPrivilegeInputRequest struct { + // List of objects with explicit privileges to the repository. + Privileges []RepositoryPrivilegeDict `json:"privileges"` +} + +// NewRepositoryPrivilegeInputRequest instantiates a new RepositoryPrivilegeInputRequest object +// 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 NewRepositoryPrivilegeInputRequest(privileges []RepositoryPrivilegeDict) *RepositoryPrivilegeInputRequest { + this := RepositoryPrivilegeInputRequest{} + this.Privileges = privileges + return &this +} + +// NewRepositoryPrivilegeInputRequestWithDefaults instantiates a new RepositoryPrivilegeInputRequest object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewRepositoryPrivilegeInputRequestWithDefaults() *RepositoryPrivilegeInputRequest { + this := RepositoryPrivilegeInputRequest{} + return &this +} + +// GetPrivileges returns the Privileges field value +func (o *RepositoryPrivilegeInputRequest) GetPrivileges() []RepositoryPrivilegeDict { + if o == nil { + var ret []RepositoryPrivilegeDict + return ret + } + + return o.Privileges +} + +// GetPrivilegesOk returns a tuple with the Privileges field value +// and a boolean to check if the value has been set. +func (o *RepositoryPrivilegeInputRequest) GetPrivilegesOk() ([]RepositoryPrivilegeDict, bool) { + if o == nil { + return nil, false + } + return o.Privileges, true +} + +// SetPrivileges sets field value +func (o *RepositoryPrivilegeInputRequest) SetPrivileges(v []RepositoryPrivilegeDict) { + o.Privileges = v +} + +func (o RepositoryPrivilegeInputRequest) MarshalJSON() ([]byte, error) { + toSerialize := map[string]interface{}{} + if true { + toSerialize["privileges"] = o.Privileges + } + return json.Marshal(toSerialize) +} + +type NullableRepositoryPrivilegeInputRequest struct { + value *RepositoryPrivilegeInputRequest + isSet bool +} + +func (v NullableRepositoryPrivilegeInputRequest) Get() *RepositoryPrivilegeInputRequest { + return v.value +} + +func (v *NullableRepositoryPrivilegeInputRequest) Set(val *RepositoryPrivilegeInputRequest) { + v.value = val + v.isSet = true +} + +func (v NullableRepositoryPrivilegeInputRequest) IsSet() bool { + return v.isSet +} + +func (v *NullableRepositoryPrivilegeInputRequest) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableRepositoryPrivilegeInputRequest(val *RepositoryPrivilegeInputRequest) *NullableRepositoryPrivilegeInputRequest { + return &NullableRepositoryPrivilegeInputRequest{value: val, isSet: true} +} + +func (v NullableRepositoryPrivilegeInputRequest) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableRepositoryPrivilegeInputRequest) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} diff --git a/model_repository_privilege_input_request_patch.go b/model_repository_privilege_input_request_patch.go new file mode 100644 index 00000000..af5661f9 --- /dev/null +++ b/model_repository_privilege_input_request_patch.go @@ -0,0 +1,115 @@ +/* +Cloudsmith API (v1) + +The API to the Cloudsmith Service + +API version: 1.181.6 +Contact: support@cloudsmith.io +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cloudsmith + +import ( + "encoding/json" +) + +// RepositoryPrivilegeInputRequestPatch struct for RepositoryPrivilegeInputRequestPatch +type RepositoryPrivilegeInputRequestPatch struct { + // List of objects with explicit privileges to the repository. + Privileges []RepositoryPrivilegeDict `json:"privileges,omitempty"` +} + +// NewRepositoryPrivilegeInputRequestPatch instantiates a new RepositoryPrivilegeInputRequestPatch object +// 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 NewRepositoryPrivilegeInputRequestPatch() *RepositoryPrivilegeInputRequestPatch { + this := RepositoryPrivilegeInputRequestPatch{} + return &this +} + +// NewRepositoryPrivilegeInputRequestPatchWithDefaults instantiates a new RepositoryPrivilegeInputRequestPatch object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewRepositoryPrivilegeInputRequestPatchWithDefaults() *RepositoryPrivilegeInputRequestPatch { + this := RepositoryPrivilegeInputRequestPatch{} + return &this +} + +// GetPrivileges returns the Privileges field value if set, zero value otherwise. +func (o *RepositoryPrivilegeInputRequestPatch) GetPrivileges() []RepositoryPrivilegeDict { + if o == nil || isNil(o.Privileges) { + var ret []RepositoryPrivilegeDict + return ret + } + return o.Privileges +} + +// GetPrivilegesOk returns a tuple with the Privileges field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *RepositoryPrivilegeInputRequestPatch) GetPrivilegesOk() ([]RepositoryPrivilegeDict, bool) { + if o == nil || isNil(o.Privileges) { + return nil, false + } + return o.Privileges, true +} + +// HasPrivileges returns a boolean if a field has been set. +func (o *RepositoryPrivilegeInputRequestPatch) HasPrivileges() bool { + if o != nil && !isNil(o.Privileges) { + return true + } + + return false +} + +// SetPrivileges gets a reference to the given []RepositoryPrivilegeDict and assigns it to the Privileges field. +func (o *RepositoryPrivilegeInputRequestPatch) SetPrivileges(v []RepositoryPrivilegeDict) { + o.Privileges = v +} + +func (o RepositoryPrivilegeInputRequestPatch) MarshalJSON() ([]byte, error) { + toSerialize := map[string]interface{}{} + if !isNil(o.Privileges) { + toSerialize["privileges"] = o.Privileges + } + return json.Marshal(toSerialize) +} + +type NullableRepositoryPrivilegeInputRequestPatch struct { + value *RepositoryPrivilegeInputRequestPatch + isSet bool +} + +func (v NullableRepositoryPrivilegeInputRequestPatch) Get() *RepositoryPrivilegeInputRequestPatch { + return v.value +} + +func (v *NullableRepositoryPrivilegeInputRequestPatch) Set(val *RepositoryPrivilegeInputRequestPatch) { + v.value = val + v.isSet = true +} + +func (v NullableRepositoryPrivilegeInputRequestPatch) IsSet() bool { + return v.isSet +} + +func (v *NullableRepositoryPrivilegeInputRequestPatch) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableRepositoryPrivilegeInputRequestPatch(val *RepositoryPrivilegeInputRequestPatch) *NullableRepositoryPrivilegeInputRequestPatch { + return &NullableRepositoryPrivilegeInputRequestPatch{value: val, isSet: true} +} + +func (v NullableRepositoryPrivilegeInputRequestPatch) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableRepositoryPrivilegeInputRequestPatch) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} diff --git a/model_repository_privilege_input_response.go b/model_repository_privilege_input_response.go new file mode 100644 index 00000000..8a9f1e7b --- /dev/null +++ b/model_repository_privilege_input_response.go @@ -0,0 +1,108 @@ +/* +Cloudsmith API (v1) + +The API to the Cloudsmith Service + +API version: 1.181.6 +Contact: support@cloudsmith.io +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cloudsmith + +import ( + "encoding/json" +) + +// RepositoryPrivilegeInputResponse struct for RepositoryPrivilegeInputResponse +type RepositoryPrivilegeInputResponse struct { + // List of objects with explicit privileges to the repository. + Privileges []RepositoryPrivilegeDict `json:"privileges"` +} + +// NewRepositoryPrivilegeInputResponse instantiates a new RepositoryPrivilegeInputResponse object +// 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 NewRepositoryPrivilegeInputResponse(privileges []RepositoryPrivilegeDict) *RepositoryPrivilegeInputResponse { + this := RepositoryPrivilegeInputResponse{} + this.Privileges = privileges + return &this +} + +// NewRepositoryPrivilegeInputResponseWithDefaults instantiates a new RepositoryPrivilegeInputResponse object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewRepositoryPrivilegeInputResponseWithDefaults() *RepositoryPrivilegeInputResponse { + this := RepositoryPrivilegeInputResponse{} + return &this +} + +// GetPrivileges returns the Privileges field value +func (o *RepositoryPrivilegeInputResponse) GetPrivileges() []RepositoryPrivilegeDict { + if o == nil { + var ret []RepositoryPrivilegeDict + return ret + } + + return o.Privileges +} + +// GetPrivilegesOk returns a tuple with the Privileges field value +// and a boolean to check if the value has been set. +func (o *RepositoryPrivilegeInputResponse) GetPrivilegesOk() ([]RepositoryPrivilegeDict, bool) { + if o == nil { + return nil, false + } + return o.Privileges, true +} + +// SetPrivileges sets field value +func (o *RepositoryPrivilegeInputResponse) SetPrivileges(v []RepositoryPrivilegeDict) { + o.Privileges = v +} + +func (o RepositoryPrivilegeInputResponse) MarshalJSON() ([]byte, error) { + toSerialize := map[string]interface{}{} + if true { + toSerialize["privileges"] = o.Privileges + } + return json.Marshal(toSerialize) +} + +type NullableRepositoryPrivilegeInputResponse struct { + value *RepositoryPrivilegeInputResponse + isSet bool +} + +func (v NullableRepositoryPrivilegeInputResponse) Get() *RepositoryPrivilegeInputResponse { + return v.value +} + +func (v *NullableRepositoryPrivilegeInputResponse) Set(val *RepositoryPrivilegeInputResponse) { + v.value = val + v.isSet = true +} + +func (v NullableRepositoryPrivilegeInputResponse) IsSet() bool { + return v.isSet +} + +func (v *NullableRepositoryPrivilegeInputResponse) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableRepositoryPrivilegeInputResponse(val *RepositoryPrivilegeInputResponse) *NullableRepositoryPrivilegeInputResponse { + return &NullableRepositoryPrivilegeInputResponse{value: val, isSet: true} +} + +func (v NullableRepositoryPrivilegeInputResponse) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableRepositoryPrivilegeInputResponse) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} diff --git a/model_repository_privilege_list.go b/model_repository_privilege_list.go deleted file mode 100644 index 9335e22c..00000000 --- a/model_repository_privilege_list.go +++ /dev/null @@ -1,115 +0,0 @@ -/* -Cloudsmith API - -The API to the Cloudsmith Service - -API version: 1.121.3 -Contact: support@cloudsmith.io -*/ - -// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. - -package cloudsmith - -import ( - "encoding/json" -) - -// RepositoryPrivilegeList struct for RepositoryPrivilegeList -type RepositoryPrivilegeList struct { - // List of objects with explicit privileges to the repository. - Privileges *string `json:"privileges,omitempty"` -} - -// NewRepositoryPrivilegeList instantiates a new RepositoryPrivilegeList object -// 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 NewRepositoryPrivilegeList() *RepositoryPrivilegeList { - this := RepositoryPrivilegeList{} - return &this -} - -// NewRepositoryPrivilegeListWithDefaults instantiates a new RepositoryPrivilegeList object -// This constructor will only assign default values to properties that have it defined, -// but it doesn't guarantee that properties required by API are set -func NewRepositoryPrivilegeListWithDefaults() *RepositoryPrivilegeList { - this := RepositoryPrivilegeList{} - return &this -} - -// GetPrivileges returns the Privileges field value if set, zero value otherwise. -func (o *RepositoryPrivilegeList) GetPrivileges() string { - if o == nil || o.Privileges == nil { - var ret string - return ret - } - return *o.Privileges -} - -// GetPrivilegesOk returns a tuple with the Privileges field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *RepositoryPrivilegeList) GetPrivilegesOk() (*string, bool) { - if o == nil || o.Privileges == nil { - return nil, false - } - return o.Privileges, true -} - -// HasPrivileges returns a boolean if a field has been set. -func (o *RepositoryPrivilegeList) HasPrivileges() bool { - if o != nil && o.Privileges != nil { - return true - } - - return false -} - -// SetPrivileges gets a reference to the given string and assigns it to the Privileges field. -func (o *RepositoryPrivilegeList) SetPrivileges(v string) { - o.Privileges = &v -} - -func (o RepositoryPrivilegeList) MarshalJSON() ([]byte, error) { - toSerialize := map[string]interface{}{} - if o.Privileges != nil { - toSerialize["privileges"] = o.Privileges - } - return json.Marshal(toSerialize) -} - -type NullableRepositoryPrivilegeList struct { - value *RepositoryPrivilegeList - isSet bool -} - -func (v NullableRepositoryPrivilegeList) Get() *RepositoryPrivilegeList { - return v.value -} - -func (v *NullableRepositoryPrivilegeList) Set(val *RepositoryPrivilegeList) { - v.value = val - v.isSet = true -} - -func (v NullableRepositoryPrivilegeList) IsSet() bool { - return v.isSet -} - -func (v *NullableRepositoryPrivilegeList) Unset() { - v.value = nil - v.isSet = false -} - -func NewNullableRepositoryPrivilegeList(val *RepositoryPrivilegeList) *NullableRepositoryPrivilegeList { - return &NullableRepositoryPrivilegeList{value: val, isSet: true} -} - -func (v NullableRepositoryPrivilegeList) MarshalJSON() ([]byte, error) { - return json.Marshal(v.value) -} - -func (v *NullableRepositoryPrivilegeList) UnmarshalJSON(src []byte) error { - v.isSet = true - return json.Unmarshal(src, &v.value) -} diff --git a/model_repos_partial_update.go b/model_repository_request_patch.go similarity index 62% rename from model_repos_partial_update.go rename to model_repository_request_patch.go index 81689a93..0d6b0ef2 100644 --- a/model_repos_partial_update.go +++ b/model_repository_request_patch.go @@ -1,9 +1,9 @@ /* -Cloudsmith API +Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.121.3 +API version: 1.181.6 Contact: support@cloudsmith.io */ @@ -15,8 +15,10 @@ import ( "encoding/json" ) -// ReposPartialUpdate struct for ReposPartialUpdate -type ReposPartialUpdate struct { +// RepositoryRequestPatch struct for RepositoryRequestPatch +type RepositoryRequestPatch struct { + // The repository content kind determines whether this repository contains packages, or provides a distribution of packages from other repositories. You can only select the content kind at repository creation time. + ContentKind *string `json:"content_kind,omitempty"` // If checked, missing credentials for this repository where basic authentication is required shall present an enriched value in the 'WWW-Authenticate' header containing the namespace and repository. This can be useful for tooling such as SBT where the authentication realm is used to distinguish and disambiguate credentials. ContextualAuthRealm *bool `json:"contextual_auth_realm,omitempty"` // If checked, users can copy any of their own packages that they have uploaded, assuming that they still have write privilege for the repository. This takes precedence over privileges configured in the 'Access Controls' section of the repository, and any inherited from the org. @@ -31,6 +33,8 @@ type ReposPartialUpdate struct { DeletePackages *string `json:"delete_packages,omitempty"` // A description of the repository's purpose/contents. Description *string `json:"description,omitempty"` + // The repositories distributed through this repo. Adding repos here is only valid if the content_kind is DISTRIBUTION. + Distributes []string `json:"distributes,omitempty"` // If checked, refresh tokens will be issued in addition to access tokens for Docker authentication. This allows unlimited extension of the lifetime of access tokens. DockerRefreshTokensEnabled *bool `json:"docker_refresh_tokens_enabled,omitempty"` // If checked, files contained in packages will be indexed, which increase the synchronisation time required for packages. Note that it is recommended you keep this enabled unless the synchronisation time is significantly impacted. @@ -53,7 +57,7 @@ type ReposPartialUpdate struct { ReplacePackages *string `json:"replace_packages,omitempty"` // If checked, uploaded packages will overwrite/replace any others with the same attributes (e.g. same version) by default. This only applies if the user has the required privilege for the republishing AND has the required privilege to delete existing packages that they don't own. ReplacePackagesByDefault *bool `json:"replace_packages_by_default,omitempty"` - // The repository type changes how it is accessed and billed. Private repositories can only be used on paid plans, but are visible only to you or authorised delegates. Public repositories are free to use on all plans and visible to all Cloudsmith users. + // The repository type changes how it is accessed and billed. Private repositories are visible only to you or authorized delegates. Public repositories are visible to all Cloudsmith users. RepositoryTypeStr *string `json:"repository_type_str,omitempty"` // If checked, users can resync any of their own packages that they have uploaded, assuming that they still have write privilege for the repository. This takes precedence over privileges configured in the 'Access Controls' section of the repository, and any inherited from the org. ResyncOwn *bool `json:"resync_own,omitempty"` @@ -81,30 +85,102 @@ type ReposPartialUpdate struct { UseVulnerabilityScanning *bool `json:"use_vulnerability_scanning,omitempty"` // If checked, users can use and manage their own user-specific entitlement token for the repository (if private). Otherwise, user-specific entitlements are disabled for all users. UserEntitlementsEnabled *bool `json:"user_entitlements_enabled,omitempty"` - // This defines the minimum level of privilege required for a user to view repository statistics, to include entitlement-based usage, if applciable. If a user does not have the permission, they won't be able to view any statistics, either via the UI, API or CLI. + // This defines the minimum level of privilege required for a user to view repository statistics, to include entitlement-based usage, if applicable. If a user does not have the permission, they won't be able to view any statistics, either via the UI, API or CLI. ViewStatistics *string `json:"view_statistics,omitempty"` } -// NewReposPartialUpdate instantiates a new ReposPartialUpdate object +// NewRepositoryRequestPatch instantiates a new RepositoryRequestPatch object // 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 NewReposPartialUpdate() *ReposPartialUpdate { - this := ReposPartialUpdate{} +func NewRepositoryRequestPatch() *RepositoryRequestPatch { + this := RepositoryRequestPatch{} + var contentKind string = "Standard" + this.ContentKind = &contentKind + var copyPackages string = "Read" + this.CopyPackages = ©Packages + var defaultPrivilege string = "None" + this.DefaultPrivilege = &defaultPrivilege + var deletePackages string = "Admin" + this.DeletePackages = &deletePackages + var movePackages string = "Admin" + this.MovePackages = &movePackages + var replacePackages string = "Write" + this.ReplacePackages = &replacePackages + var repositoryTypeStr string = "Public" + this.RepositoryTypeStr = &repositoryTypeStr + var resyncPackages string = "Admin" + this.ResyncPackages = &resyncPackages + var scanPackages string = "Read" + this.ScanPackages = &scanPackages + var viewStatistics string = "Read" + this.ViewStatistics = &viewStatistics return &this } -// NewReposPartialUpdateWithDefaults instantiates a new ReposPartialUpdate object +// NewRepositoryRequestPatchWithDefaults instantiates a new RepositoryRequestPatch object // This constructor will only assign default values to properties that have it defined, // but it doesn't guarantee that properties required by API are set -func NewReposPartialUpdateWithDefaults() *ReposPartialUpdate { - this := ReposPartialUpdate{} +func NewRepositoryRequestPatchWithDefaults() *RepositoryRequestPatch { + this := RepositoryRequestPatch{} + var contentKind string = "Standard" + this.ContentKind = &contentKind + var copyPackages string = "Read" + this.CopyPackages = ©Packages + var defaultPrivilege string = "None" + this.DefaultPrivilege = &defaultPrivilege + var deletePackages string = "Admin" + this.DeletePackages = &deletePackages + var movePackages string = "Admin" + this.MovePackages = &movePackages + var replacePackages string = "Write" + this.ReplacePackages = &replacePackages + var repositoryTypeStr string = "Public" + this.RepositoryTypeStr = &repositoryTypeStr + var resyncPackages string = "Admin" + this.ResyncPackages = &resyncPackages + var scanPackages string = "Read" + this.ScanPackages = &scanPackages + var viewStatistics string = "Read" + this.ViewStatistics = &viewStatistics return &this } +// GetContentKind returns the ContentKind field value if set, zero value otherwise. +func (o *RepositoryRequestPatch) GetContentKind() string { + if o == nil || isNil(o.ContentKind) { + var ret string + return ret + } + return *o.ContentKind +} + +// GetContentKindOk returns a tuple with the ContentKind field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *RepositoryRequestPatch) GetContentKindOk() (*string, bool) { + if o == nil || isNil(o.ContentKind) { + return nil, false + } + return o.ContentKind, true +} + +// HasContentKind returns a boolean if a field has been set. +func (o *RepositoryRequestPatch) HasContentKind() bool { + if o != nil && !isNil(o.ContentKind) { + return true + } + + return false +} + +// SetContentKind gets a reference to the given string and assigns it to the ContentKind field. +func (o *RepositoryRequestPatch) SetContentKind(v string) { + o.ContentKind = &v +} + // GetContextualAuthRealm returns the ContextualAuthRealm field value if set, zero value otherwise. -func (o *ReposPartialUpdate) GetContextualAuthRealm() bool { - if o == nil || o.ContextualAuthRealm == nil { +func (o *RepositoryRequestPatch) GetContextualAuthRealm() bool { + if o == nil || isNil(o.ContextualAuthRealm) { var ret bool return ret } @@ -113,16 +189,16 @@ func (o *ReposPartialUpdate) GetContextualAuthRealm() bool { // GetContextualAuthRealmOk returns a tuple with the ContextualAuthRealm field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *ReposPartialUpdate) GetContextualAuthRealmOk() (*bool, bool) { - if o == nil || o.ContextualAuthRealm == nil { +func (o *RepositoryRequestPatch) GetContextualAuthRealmOk() (*bool, bool) { + if o == nil || isNil(o.ContextualAuthRealm) { return nil, false } return o.ContextualAuthRealm, true } // HasContextualAuthRealm returns a boolean if a field has been set. -func (o *ReposPartialUpdate) HasContextualAuthRealm() bool { - if o != nil && o.ContextualAuthRealm != nil { +func (o *RepositoryRequestPatch) HasContextualAuthRealm() bool { + if o != nil && !isNil(o.ContextualAuthRealm) { return true } @@ -130,13 +206,13 @@ func (o *ReposPartialUpdate) HasContextualAuthRealm() bool { } // SetContextualAuthRealm gets a reference to the given bool and assigns it to the ContextualAuthRealm field. -func (o *ReposPartialUpdate) SetContextualAuthRealm(v bool) { +func (o *RepositoryRequestPatch) SetContextualAuthRealm(v bool) { o.ContextualAuthRealm = &v } // GetCopyOwn returns the CopyOwn field value if set, zero value otherwise. -func (o *ReposPartialUpdate) GetCopyOwn() bool { - if o == nil || o.CopyOwn == nil { +func (o *RepositoryRequestPatch) GetCopyOwn() bool { + if o == nil || isNil(o.CopyOwn) { var ret bool return ret } @@ -145,16 +221,16 @@ func (o *ReposPartialUpdate) GetCopyOwn() bool { // GetCopyOwnOk returns a tuple with the CopyOwn field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *ReposPartialUpdate) GetCopyOwnOk() (*bool, bool) { - if o == nil || o.CopyOwn == nil { +func (o *RepositoryRequestPatch) GetCopyOwnOk() (*bool, bool) { + if o == nil || isNil(o.CopyOwn) { return nil, false } return o.CopyOwn, true } // HasCopyOwn returns a boolean if a field has been set. -func (o *ReposPartialUpdate) HasCopyOwn() bool { - if o != nil && o.CopyOwn != nil { +func (o *RepositoryRequestPatch) HasCopyOwn() bool { + if o != nil && !isNil(o.CopyOwn) { return true } @@ -162,13 +238,13 @@ func (o *ReposPartialUpdate) HasCopyOwn() bool { } // SetCopyOwn gets a reference to the given bool and assigns it to the CopyOwn field. -func (o *ReposPartialUpdate) SetCopyOwn(v bool) { +func (o *RepositoryRequestPatch) SetCopyOwn(v bool) { o.CopyOwn = &v } // GetCopyPackages returns the CopyPackages field value if set, zero value otherwise. -func (o *ReposPartialUpdate) GetCopyPackages() string { - if o == nil || o.CopyPackages == nil { +func (o *RepositoryRequestPatch) GetCopyPackages() string { + if o == nil || isNil(o.CopyPackages) { var ret string return ret } @@ -177,16 +253,16 @@ func (o *ReposPartialUpdate) GetCopyPackages() string { // GetCopyPackagesOk returns a tuple with the CopyPackages field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *ReposPartialUpdate) GetCopyPackagesOk() (*string, bool) { - if o == nil || o.CopyPackages == nil { +func (o *RepositoryRequestPatch) GetCopyPackagesOk() (*string, bool) { + if o == nil || isNil(o.CopyPackages) { return nil, false } return o.CopyPackages, true } // HasCopyPackages returns a boolean if a field has been set. -func (o *ReposPartialUpdate) HasCopyPackages() bool { - if o != nil && o.CopyPackages != nil { +func (o *RepositoryRequestPatch) HasCopyPackages() bool { + if o != nil && !isNil(o.CopyPackages) { return true } @@ -194,13 +270,13 @@ func (o *ReposPartialUpdate) HasCopyPackages() bool { } // SetCopyPackages gets a reference to the given string and assigns it to the CopyPackages field. -func (o *ReposPartialUpdate) SetCopyPackages(v string) { +func (o *RepositoryRequestPatch) SetCopyPackages(v string) { o.CopyPackages = &v } // GetDefaultPrivilege returns the DefaultPrivilege field value if set, zero value otherwise. -func (o *ReposPartialUpdate) GetDefaultPrivilege() string { - if o == nil || o.DefaultPrivilege == nil { +func (o *RepositoryRequestPatch) GetDefaultPrivilege() string { + if o == nil || isNil(o.DefaultPrivilege) { var ret string return ret } @@ -209,16 +285,16 @@ func (o *ReposPartialUpdate) GetDefaultPrivilege() string { // GetDefaultPrivilegeOk returns a tuple with the DefaultPrivilege field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *ReposPartialUpdate) GetDefaultPrivilegeOk() (*string, bool) { - if o == nil || o.DefaultPrivilege == nil { +func (o *RepositoryRequestPatch) GetDefaultPrivilegeOk() (*string, bool) { + if o == nil || isNil(o.DefaultPrivilege) { return nil, false } return o.DefaultPrivilege, true } // HasDefaultPrivilege returns a boolean if a field has been set. -func (o *ReposPartialUpdate) HasDefaultPrivilege() bool { - if o != nil && o.DefaultPrivilege != nil { +func (o *RepositoryRequestPatch) HasDefaultPrivilege() bool { + if o != nil && !isNil(o.DefaultPrivilege) { return true } @@ -226,13 +302,13 @@ func (o *ReposPartialUpdate) HasDefaultPrivilege() bool { } // SetDefaultPrivilege gets a reference to the given string and assigns it to the DefaultPrivilege field. -func (o *ReposPartialUpdate) SetDefaultPrivilege(v string) { +func (o *RepositoryRequestPatch) SetDefaultPrivilege(v string) { o.DefaultPrivilege = &v } // GetDeleteOwn returns the DeleteOwn field value if set, zero value otherwise. -func (o *ReposPartialUpdate) GetDeleteOwn() bool { - if o == nil || o.DeleteOwn == nil { +func (o *RepositoryRequestPatch) GetDeleteOwn() bool { + if o == nil || isNil(o.DeleteOwn) { var ret bool return ret } @@ -241,16 +317,16 @@ func (o *ReposPartialUpdate) GetDeleteOwn() bool { // GetDeleteOwnOk returns a tuple with the DeleteOwn field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *ReposPartialUpdate) GetDeleteOwnOk() (*bool, bool) { - if o == nil || o.DeleteOwn == nil { +func (o *RepositoryRequestPatch) GetDeleteOwnOk() (*bool, bool) { + if o == nil || isNil(o.DeleteOwn) { return nil, false } return o.DeleteOwn, true } // HasDeleteOwn returns a boolean if a field has been set. -func (o *ReposPartialUpdate) HasDeleteOwn() bool { - if o != nil && o.DeleteOwn != nil { +func (o *RepositoryRequestPatch) HasDeleteOwn() bool { + if o != nil && !isNil(o.DeleteOwn) { return true } @@ -258,13 +334,13 @@ func (o *ReposPartialUpdate) HasDeleteOwn() bool { } // SetDeleteOwn gets a reference to the given bool and assigns it to the DeleteOwn field. -func (o *ReposPartialUpdate) SetDeleteOwn(v bool) { +func (o *RepositoryRequestPatch) SetDeleteOwn(v bool) { o.DeleteOwn = &v } // GetDeletePackages returns the DeletePackages field value if set, zero value otherwise. -func (o *ReposPartialUpdate) GetDeletePackages() string { - if o == nil || o.DeletePackages == nil { +func (o *RepositoryRequestPatch) GetDeletePackages() string { + if o == nil || isNil(o.DeletePackages) { var ret string return ret } @@ -273,16 +349,16 @@ func (o *ReposPartialUpdate) GetDeletePackages() string { // GetDeletePackagesOk returns a tuple with the DeletePackages field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *ReposPartialUpdate) GetDeletePackagesOk() (*string, bool) { - if o == nil || o.DeletePackages == nil { +func (o *RepositoryRequestPatch) GetDeletePackagesOk() (*string, bool) { + if o == nil || isNil(o.DeletePackages) { return nil, false } return o.DeletePackages, true } // HasDeletePackages returns a boolean if a field has been set. -func (o *ReposPartialUpdate) HasDeletePackages() bool { - if o != nil && o.DeletePackages != nil { +func (o *RepositoryRequestPatch) HasDeletePackages() bool { + if o != nil && !isNil(o.DeletePackages) { return true } @@ -290,13 +366,13 @@ func (o *ReposPartialUpdate) HasDeletePackages() bool { } // SetDeletePackages gets a reference to the given string and assigns it to the DeletePackages field. -func (o *ReposPartialUpdate) SetDeletePackages(v string) { +func (o *RepositoryRequestPatch) SetDeletePackages(v string) { o.DeletePackages = &v } // GetDescription returns the Description field value if set, zero value otherwise. -func (o *ReposPartialUpdate) GetDescription() string { - if o == nil || o.Description == nil { +func (o *RepositoryRequestPatch) GetDescription() string { + if o == nil || isNil(o.Description) { var ret string return ret } @@ -305,16 +381,16 @@ func (o *ReposPartialUpdate) GetDescription() string { // GetDescriptionOk returns a tuple with the Description field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *ReposPartialUpdate) GetDescriptionOk() (*string, bool) { - if o == nil || o.Description == nil { +func (o *RepositoryRequestPatch) GetDescriptionOk() (*string, bool) { + if o == nil || isNil(o.Description) { return nil, false } return o.Description, true } // HasDescription returns a boolean if a field has been set. -func (o *ReposPartialUpdate) HasDescription() bool { - if o != nil && o.Description != nil { +func (o *RepositoryRequestPatch) HasDescription() bool { + if o != nil && !isNil(o.Description) { return true } @@ -322,13 +398,45 @@ func (o *ReposPartialUpdate) HasDescription() bool { } // SetDescription gets a reference to the given string and assigns it to the Description field. -func (o *ReposPartialUpdate) SetDescription(v string) { +func (o *RepositoryRequestPatch) SetDescription(v string) { o.Description = &v } +// GetDistributes returns the Distributes field value if set, zero value otherwise. +func (o *RepositoryRequestPatch) GetDistributes() []string { + if o == nil || isNil(o.Distributes) { + var ret []string + return ret + } + return o.Distributes +} + +// GetDistributesOk returns a tuple with the Distributes field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *RepositoryRequestPatch) GetDistributesOk() ([]string, bool) { + if o == nil || isNil(o.Distributes) { + return nil, false + } + return o.Distributes, true +} + +// HasDistributes returns a boolean if a field has been set. +func (o *RepositoryRequestPatch) HasDistributes() bool { + if o != nil && !isNil(o.Distributes) { + return true + } + + return false +} + +// SetDistributes gets a reference to the given []string and assigns it to the Distributes field. +func (o *RepositoryRequestPatch) SetDistributes(v []string) { + o.Distributes = v +} + // GetDockerRefreshTokensEnabled returns the DockerRefreshTokensEnabled field value if set, zero value otherwise. -func (o *ReposPartialUpdate) GetDockerRefreshTokensEnabled() bool { - if o == nil || o.DockerRefreshTokensEnabled == nil { +func (o *RepositoryRequestPatch) GetDockerRefreshTokensEnabled() bool { + if o == nil || isNil(o.DockerRefreshTokensEnabled) { var ret bool return ret } @@ -337,16 +445,16 @@ func (o *ReposPartialUpdate) GetDockerRefreshTokensEnabled() bool { // GetDockerRefreshTokensEnabledOk returns a tuple with the DockerRefreshTokensEnabled field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *ReposPartialUpdate) GetDockerRefreshTokensEnabledOk() (*bool, bool) { - if o == nil || o.DockerRefreshTokensEnabled == nil { +func (o *RepositoryRequestPatch) GetDockerRefreshTokensEnabledOk() (*bool, bool) { + if o == nil || isNil(o.DockerRefreshTokensEnabled) { return nil, false } return o.DockerRefreshTokensEnabled, true } // HasDockerRefreshTokensEnabled returns a boolean if a field has been set. -func (o *ReposPartialUpdate) HasDockerRefreshTokensEnabled() bool { - if o != nil && o.DockerRefreshTokensEnabled != nil { +func (o *RepositoryRequestPatch) HasDockerRefreshTokensEnabled() bool { + if o != nil && !isNil(o.DockerRefreshTokensEnabled) { return true } @@ -354,13 +462,13 @@ func (o *ReposPartialUpdate) HasDockerRefreshTokensEnabled() bool { } // SetDockerRefreshTokensEnabled gets a reference to the given bool and assigns it to the DockerRefreshTokensEnabled field. -func (o *ReposPartialUpdate) SetDockerRefreshTokensEnabled(v bool) { +func (o *RepositoryRequestPatch) SetDockerRefreshTokensEnabled(v bool) { o.DockerRefreshTokensEnabled = &v } // GetIndexFiles returns the IndexFiles field value if set, zero value otherwise. -func (o *ReposPartialUpdate) GetIndexFiles() bool { - if o == nil || o.IndexFiles == nil { +func (o *RepositoryRequestPatch) GetIndexFiles() bool { + if o == nil || isNil(o.IndexFiles) { var ret bool return ret } @@ -369,16 +477,16 @@ func (o *ReposPartialUpdate) GetIndexFiles() bool { // GetIndexFilesOk returns a tuple with the IndexFiles field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *ReposPartialUpdate) GetIndexFilesOk() (*bool, bool) { - if o == nil || o.IndexFiles == nil { +func (o *RepositoryRequestPatch) GetIndexFilesOk() (*bool, bool) { + if o == nil || isNil(o.IndexFiles) { return nil, false } return o.IndexFiles, true } // HasIndexFiles returns a boolean if a field has been set. -func (o *ReposPartialUpdate) HasIndexFiles() bool { - if o != nil && o.IndexFiles != nil { +func (o *RepositoryRequestPatch) HasIndexFiles() bool { + if o != nil && !isNil(o.IndexFiles) { return true } @@ -386,13 +494,13 @@ func (o *ReposPartialUpdate) HasIndexFiles() bool { } // SetIndexFiles gets a reference to the given bool and assigns it to the IndexFiles field. -func (o *ReposPartialUpdate) SetIndexFiles(v bool) { +func (o *RepositoryRequestPatch) SetIndexFiles(v bool) { o.IndexFiles = &v } // GetMoveOwn returns the MoveOwn field value if set, zero value otherwise. -func (o *ReposPartialUpdate) GetMoveOwn() bool { - if o == nil || o.MoveOwn == nil { +func (o *RepositoryRequestPatch) GetMoveOwn() bool { + if o == nil || isNil(o.MoveOwn) { var ret bool return ret } @@ -401,16 +509,16 @@ func (o *ReposPartialUpdate) GetMoveOwn() bool { // GetMoveOwnOk returns a tuple with the MoveOwn field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *ReposPartialUpdate) GetMoveOwnOk() (*bool, bool) { - if o == nil || o.MoveOwn == nil { +func (o *RepositoryRequestPatch) GetMoveOwnOk() (*bool, bool) { + if o == nil || isNil(o.MoveOwn) { return nil, false } return o.MoveOwn, true } // HasMoveOwn returns a boolean if a field has been set. -func (o *ReposPartialUpdate) HasMoveOwn() bool { - if o != nil && o.MoveOwn != nil { +func (o *RepositoryRequestPatch) HasMoveOwn() bool { + if o != nil && !isNil(o.MoveOwn) { return true } @@ -418,13 +526,13 @@ func (o *ReposPartialUpdate) HasMoveOwn() bool { } // SetMoveOwn gets a reference to the given bool and assigns it to the MoveOwn field. -func (o *ReposPartialUpdate) SetMoveOwn(v bool) { +func (o *RepositoryRequestPatch) SetMoveOwn(v bool) { o.MoveOwn = &v } // GetMovePackages returns the MovePackages field value if set, zero value otherwise. -func (o *ReposPartialUpdate) GetMovePackages() string { - if o == nil || o.MovePackages == nil { +func (o *RepositoryRequestPatch) GetMovePackages() string { + if o == nil || isNil(o.MovePackages) { var ret string return ret } @@ -433,16 +541,16 @@ func (o *ReposPartialUpdate) GetMovePackages() string { // GetMovePackagesOk returns a tuple with the MovePackages field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *ReposPartialUpdate) GetMovePackagesOk() (*string, bool) { - if o == nil || o.MovePackages == nil { +func (o *RepositoryRequestPatch) GetMovePackagesOk() (*string, bool) { + if o == nil || isNil(o.MovePackages) { return nil, false } return o.MovePackages, true } // HasMovePackages returns a boolean if a field has been set. -func (o *ReposPartialUpdate) HasMovePackages() bool { - if o != nil && o.MovePackages != nil { +func (o *RepositoryRequestPatch) HasMovePackages() bool { + if o != nil && !isNil(o.MovePackages) { return true } @@ -450,13 +558,13 @@ func (o *ReposPartialUpdate) HasMovePackages() bool { } // SetMovePackages gets a reference to the given string and assigns it to the MovePackages field. -func (o *ReposPartialUpdate) SetMovePackages(v string) { +func (o *RepositoryRequestPatch) SetMovePackages(v string) { o.MovePackages = &v } // GetName returns the Name field value if set, zero value otherwise. -func (o *ReposPartialUpdate) GetName() string { - if o == nil || o.Name == nil { +func (o *RepositoryRequestPatch) GetName() string { + if o == nil || isNil(o.Name) { var ret string return ret } @@ -465,16 +573,16 @@ func (o *ReposPartialUpdate) GetName() string { // GetNameOk returns a tuple with the Name field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *ReposPartialUpdate) GetNameOk() (*string, bool) { - if o == nil || o.Name == nil { +func (o *RepositoryRequestPatch) GetNameOk() (*string, bool) { + if o == nil || isNil(o.Name) { return nil, false } return o.Name, true } // HasName returns a boolean if a field has been set. -func (o *ReposPartialUpdate) HasName() bool { - if o != nil && o.Name != nil { +func (o *RepositoryRequestPatch) HasName() bool { + if o != nil && !isNil(o.Name) { return true } @@ -482,13 +590,13 @@ func (o *ReposPartialUpdate) HasName() bool { } // SetName gets a reference to the given string and assigns it to the Name field. -func (o *ReposPartialUpdate) SetName(v string) { +func (o *RepositoryRequestPatch) SetName(v string) { o.Name = &v } // GetProxyNpmjs returns the ProxyNpmjs field value if set, zero value otherwise. -func (o *ReposPartialUpdate) GetProxyNpmjs() bool { - if o == nil || o.ProxyNpmjs == nil { +func (o *RepositoryRequestPatch) GetProxyNpmjs() bool { + if o == nil || isNil(o.ProxyNpmjs) { var ret bool return ret } @@ -497,16 +605,16 @@ func (o *ReposPartialUpdate) GetProxyNpmjs() bool { // GetProxyNpmjsOk returns a tuple with the ProxyNpmjs field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *ReposPartialUpdate) GetProxyNpmjsOk() (*bool, bool) { - if o == nil || o.ProxyNpmjs == nil { +func (o *RepositoryRequestPatch) GetProxyNpmjsOk() (*bool, bool) { + if o == nil || isNil(o.ProxyNpmjs) { return nil, false } return o.ProxyNpmjs, true } // HasProxyNpmjs returns a boolean if a field has been set. -func (o *ReposPartialUpdate) HasProxyNpmjs() bool { - if o != nil && o.ProxyNpmjs != nil { +func (o *RepositoryRequestPatch) HasProxyNpmjs() bool { + if o != nil && !isNil(o.ProxyNpmjs) { return true } @@ -514,13 +622,13 @@ func (o *ReposPartialUpdate) HasProxyNpmjs() bool { } // SetProxyNpmjs gets a reference to the given bool and assigns it to the ProxyNpmjs field. -func (o *ReposPartialUpdate) SetProxyNpmjs(v bool) { +func (o *RepositoryRequestPatch) SetProxyNpmjs(v bool) { o.ProxyNpmjs = &v } // GetProxyPypi returns the ProxyPypi field value if set, zero value otherwise. -func (o *ReposPartialUpdate) GetProxyPypi() bool { - if o == nil || o.ProxyPypi == nil { +func (o *RepositoryRequestPatch) GetProxyPypi() bool { + if o == nil || isNil(o.ProxyPypi) { var ret bool return ret } @@ -529,16 +637,16 @@ func (o *ReposPartialUpdate) GetProxyPypi() bool { // GetProxyPypiOk returns a tuple with the ProxyPypi field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *ReposPartialUpdate) GetProxyPypiOk() (*bool, bool) { - if o == nil || o.ProxyPypi == nil { +func (o *RepositoryRequestPatch) GetProxyPypiOk() (*bool, bool) { + if o == nil || isNil(o.ProxyPypi) { return nil, false } return o.ProxyPypi, true } // HasProxyPypi returns a boolean if a field has been set. -func (o *ReposPartialUpdate) HasProxyPypi() bool { - if o != nil && o.ProxyPypi != nil { +func (o *RepositoryRequestPatch) HasProxyPypi() bool { + if o != nil && !isNil(o.ProxyPypi) { return true } @@ -546,13 +654,13 @@ func (o *ReposPartialUpdate) HasProxyPypi() bool { } // SetProxyPypi gets a reference to the given bool and assigns it to the ProxyPypi field. -func (o *ReposPartialUpdate) SetProxyPypi(v bool) { +func (o *RepositoryRequestPatch) SetProxyPypi(v bool) { o.ProxyPypi = &v } // GetRawPackageIndexEnabled returns the RawPackageIndexEnabled field value if set, zero value otherwise. -func (o *ReposPartialUpdate) GetRawPackageIndexEnabled() bool { - if o == nil || o.RawPackageIndexEnabled == nil { +func (o *RepositoryRequestPatch) GetRawPackageIndexEnabled() bool { + if o == nil || isNil(o.RawPackageIndexEnabled) { var ret bool return ret } @@ -561,16 +669,16 @@ func (o *ReposPartialUpdate) GetRawPackageIndexEnabled() bool { // GetRawPackageIndexEnabledOk returns a tuple with the RawPackageIndexEnabled field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *ReposPartialUpdate) GetRawPackageIndexEnabledOk() (*bool, bool) { - if o == nil || o.RawPackageIndexEnabled == nil { +func (o *RepositoryRequestPatch) GetRawPackageIndexEnabledOk() (*bool, bool) { + if o == nil || isNil(o.RawPackageIndexEnabled) { return nil, false } return o.RawPackageIndexEnabled, true } // HasRawPackageIndexEnabled returns a boolean if a field has been set. -func (o *ReposPartialUpdate) HasRawPackageIndexEnabled() bool { - if o != nil && o.RawPackageIndexEnabled != nil { +func (o *RepositoryRequestPatch) HasRawPackageIndexEnabled() bool { + if o != nil && !isNil(o.RawPackageIndexEnabled) { return true } @@ -578,13 +686,13 @@ func (o *ReposPartialUpdate) HasRawPackageIndexEnabled() bool { } // SetRawPackageIndexEnabled gets a reference to the given bool and assigns it to the RawPackageIndexEnabled field. -func (o *ReposPartialUpdate) SetRawPackageIndexEnabled(v bool) { +func (o *RepositoryRequestPatch) SetRawPackageIndexEnabled(v bool) { o.RawPackageIndexEnabled = &v } // GetRawPackageIndexSignaturesEnabled returns the RawPackageIndexSignaturesEnabled field value if set, zero value otherwise. -func (o *ReposPartialUpdate) GetRawPackageIndexSignaturesEnabled() bool { - if o == nil || o.RawPackageIndexSignaturesEnabled == nil { +func (o *RepositoryRequestPatch) GetRawPackageIndexSignaturesEnabled() bool { + if o == nil || isNil(o.RawPackageIndexSignaturesEnabled) { var ret bool return ret } @@ -593,16 +701,16 @@ func (o *ReposPartialUpdate) GetRawPackageIndexSignaturesEnabled() bool { // GetRawPackageIndexSignaturesEnabledOk returns a tuple with the RawPackageIndexSignaturesEnabled field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *ReposPartialUpdate) GetRawPackageIndexSignaturesEnabledOk() (*bool, bool) { - if o == nil || o.RawPackageIndexSignaturesEnabled == nil { +func (o *RepositoryRequestPatch) GetRawPackageIndexSignaturesEnabledOk() (*bool, bool) { + if o == nil || isNil(o.RawPackageIndexSignaturesEnabled) { return nil, false } return o.RawPackageIndexSignaturesEnabled, true } // HasRawPackageIndexSignaturesEnabled returns a boolean if a field has been set. -func (o *ReposPartialUpdate) HasRawPackageIndexSignaturesEnabled() bool { - if o != nil && o.RawPackageIndexSignaturesEnabled != nil { +func (o *RepositoryRequestPatch) HasRawPackageIndexSignaturesEnabled() bool { + if o != nil && !isNil(o.RawPackageIndexSignaturesEnabled) { return true } @@ -610,13 +718,13 @@ func (o *ReposPartialUpdate) HasRawPackageIndexSignaturesEnabled() bool { } // SetRawPackageIndexSignaturesEnabled gets a reference to the given bool and assigns it to the RawPackageIndexSignaturesEnabled field. -func (o *ReposPartialUpdate) SetRawPackageIndexSignaturesEnabled(v bool) { +func (o *RepositoryRequestPatch) SetRawPackageIndexSignaturesEnabled(v bool) { o.RawPackageIndexSignaturesEnabled = &v } // GetReplacePackages returns the ReplacePackages field value if set, zero value otherwise. -func (o *ReposPartialUpdate) GetReplacePackages() string { - if o == nil || o.ReplacePackages == nil { +func (o *RepositoryRequestPatch) GetReplacePackages() string { + if o == nil || isNil(o.ReplacePackages) { var ret string return ret } @@ -625,16 +733,16 @@ func (o *ReposPartialUpdate) GetReplacePackages() string { // GetReplacePackagesOk returns a tuple with the ReplacePackages field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *ReposPartialUpdate) GetReplacePackagesOk() (*string, bool) { - if o == nil || o.ReplacePackages == nil { +func (o *RepositoryRequestPatch) GetReplacePackagesOk() (*string, bool) { + if o == nil || isNil(o.ReplacePackages) { return nil, false } return o.ReplacePackages, true } // HasReplacePackages returns a boolean if a field has been set. -func (o *ReposPartialUpdate) HasReplacePackages() bool { - if o != nil && o.ReplacePackages != nil { +func (o *RepositoryRequestPatch) HasReplacePackages() bool { + if o != nil && !isNil(o.ReplacePackages) { return true } @@ -642,13 +750,13 @@ func (o *ReposPartialUpdate) HasReplacePackages() bool { } // SetReplacePackages gets a reference to the given string and assigns it to the ReplacePackages field. -func (o *ReposPartialUpdate) SetReplacePackages(v string) { +func (o *RepositoryRequestPatch) SetReplacePackages(v string) { o.ReplacePackages = &v } // GetReplacePackagesByDefault returns the ReplacePackagesByDefault field value if set, zero value otherwise. -func (o *ReposPartialUpdate) GetReplacePackagesByDefault() bool { - if o == nil || o.ReplacePackagesByDefault == nil { +func (o *RepositoryRequestPatch) GetReplacePackagesByDefault() bool { + if o == nil || isNil(o.ReplacePackagesByDefault) { var ret bool return ret } @@ -657,16 +765,16 @@ func (o *ReposPartialUpdate) GetReplacePackagesByDefault() bool { // GetReplacePackagesByDefaultOk returns a tuple with the ReplacePackagesByDefault field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *ReposPartialUpdate) GetReplacePackagesByDefaultOk() (*bool, bool) { - if o == nil || o.ReplacePackagesByDefault == nil { +func (o *RepositoryRequestPatch) GetReplacePackagesByDefaultOk() (*bool, bool) { + if o == nil || isNil(o.ReplacePackagesByDefault) { return nil, false } return o.ReplacePackagesByDefault, true } // HasReplacePackagesByDefault returns a boolean if a field has been set. -func (o *ReposPartialUpdate) HasReplacePackagesByDefault() bool { - if o != nil && o.ReplacePackagesByDefault != nil { +func (o *RepositoryRequestPatch) HasReplacePackagesByDefault() bool { + if o != nil && !isNil(o.ReplacePackagesByDefault) { return true } @@ -674,13 +782,13 @@ func (o *ReposPartialUpdate) HasReplacePackagesByDefault() bool { } // SetReplacePackagesByDefault gets a reference to the given bool and assigns it to the ReplacePackagesByDefault field. -func (o *ReposPartialUpdate) SetReplacePackagesByDefault(v bool) { +func (o *RepositoryRequestPatch) SetReplacePackagesByDefault(v bool) { o.ReplacePackagesByDefault = &v } // GetRepositoryTypeStr returns the RepositoryTypeStr field value if set, zero value otherwise. -func (o *ReposPartialUpdate) GetRepositoryTypeStr() string { - if o == nil || o.RepositoryTypeStr == nil { +func (o *RepositoryRequestPatch) GetRepositoryTypeStr() string { + if o == nil || isNil(o.RepositoryTypeStr) { var ret string return ret } @@ -689,16 +797,16 @@ func (o *ReposPartialUpdate) GetRepositoryTypeStr() string { // GetRepositoryTypeStrOk returns a tuple with the RepositoryTypeStr field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *ReposPartialUpdate) GetRepositoryTypeStrOk() (*string, bool) { - if o == nil || o.RepositoryTypeStr == nil { +func (o *RepositoryRequestPatch) GetRepositoryTypeStrOk() (*string, bool) { + if o == nil || isNil(o.RepositoryTypeStr) { return nil, false } return o.RepositoryTypeStr, true } // HasRepositoryTypeStr returns a boolean if a field has been set. -func (o *ReposPartialUpdate) HasRepositoryTypeStr() bool { - if o != nil && o.RepositoryTypeStr != nil { +func (o *RepositoryRequestPatch) HasRepositoryTypeStr() bool { + if o != nil && !isNil(o.RepositoryTypeStr) { return true } @@ -706,13 +814,13 @@ func (o *ReposPartialUpdate) HasRepositoryTypeStr() bool { } // SetRepositoryTypeStr gets a reference to the given string and assigns it to the RepositoryTypeStr field. -func (o *ReposPartialUpdate) SetRepositoryTypeStr(v string) { +func (o *RepositoryRequestPatch) SetRepositoryTypeStr(v string) { o.RepositoryTypeStr = &v } // GetResyncOwn returns the ResyncOwn field value if set, zero value otherwise. -func (o *ReposPartialUpdate) GetResyncOwn() bool { - if o == nil || o.ResyncOwn == nil { +func (o *RepositoryRequestPatch) GetResyncOwn() bool { + if o == nil || isNil(o.ResyncOwn) { var ret bool return ret } @@ -721,16 +829,16 @@ func (o *ReposPartialUpdate) GetResyncOwn() bool { // GetResyncOwnOk returns a tuple with the ResyncOwn field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *ReposPartialUpdate) GetResyncOwnOk() (*bool, bool) { - if o == nil || o.ResyncOwn == nil { +func (o *RepositoryRequestPatch) GetResyncOwnOk() (*bool, bool) { + if o == nil || isNil(o.ResyncOwn) { return nil, false } return o.ResyncOwn, true } // HasResyncOwn returns a boolean if a field has been set. -func (o *ReposPartialUpdate) HasResyncOwn() bool { - if o != nil && o.ResyncOwn != nil { +func (o *RepositoryRequestPatch) HasResyncOwn() bool { + if o != nil && !isNil(o.ResyncOwn) { return true } @@ -738,13 +846,13 @@ func (o *ReposPartialUpdate) HasResyncOwn() bool { } // SetResyncOwn gets a reference to the given bool and assigns it to the ResyncOwn field. -func (o *ReposPartialUpdate) SetResyncOwn(v bool) { +func (o *RepositoryRequestPatch) SetResyncOwn(v bool) { o.ResyncOwn = &v } // GetResyncPackages returns the ResyncPackages field value if set, zero value otherwise. -func (o *ReposPartialUpdate) GetResyncPackages() string { - if o == nil || o.ResyncPackages == nil { +func (o *RepositoryRequestPatch) GetResyncPackages() string { + if o == nil || isNil(o.ResyncPackages) { var ret string return ret } @@ -753,16 +861,16 @@ func (o *ReposPartialUpdate) GetResyncPackages() string { // GetResyncPackagesOk returns a tuple with the ResyncPackages field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *ReposPartialUpdate) GetResyncPackagesOk() (*string, bool) { - if o == nil || o.ResyncPackages == nil { +func (o *RepositoryRequestPatch) GetResyncPackagesOk() (*string, bool) { + if o == nil || isNil(o.ResyncPackages) { return nil, false } return o.ResyncPackages, true } // HasResyncPackages returns a boolean if a field has been set. -func (o *ReposPartialUpdate) HasResyncPackages() bool { - if o != nil && o.ResyncPackages != nil { +func (o *RepositoryRequestPatch) HasResyncPackages() bool { + if o != nil && !isNil(o.ResyncPackages) { return true } @@ -770,13 +878,13 @@ func (o *ReposPartialUpdate) HasResyncPackages() bool { } // SetResyncPackages gets a reference to the given string and assigns it to the ResyncPackages field. -func (o *ReposPartialUpdate) SetResyncPackages(v string) { +func (o *RepositoryRequestPatch) SetResyncPackages(v string) { o.ResyncPackages = &v } // GetScanOwn returns the ScanOwn field value if set, zero value otherwise. -func (o *ReposPartialUpdate) GetScanOwn() bool { - if o == nil || o.ScanOwn == nil { +func (o *RepositoryRequestPatch) GetScanOwn() bool { + if o == nil || isNil(o.ScanOwn) { var ret bool return ret } @@ -785,16 +893,16 @@ func (o *ReposPartialUpdate) GetScanOwn() bool { // GetScanOwnOk returns a tuple with the ScanOwn field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *ReposPartialUpdate) GetScanOwnOk() (*bool, bool) { - if o == nil || o.ScanOwn == nil { +func (o *RepositoryRequestPatch) GetScanOwnOk() (*bool, bool) { + if o == nil || isNil(o.ScanOwn) { return nil, false } return o.ScanOwn, true } // HasScanOwn returns a boolean if a field has been set. -func (o *ReposPartialUpdate) HasScanOwn() bool { - if o != nil && o.ScanOwn != nil { +func (o *RepositoryRequestPatch) HasScanOwn() bool { + if o != nil && !isNil(o.ScanOwn) { return true } @@ -802,13 +910,13 @@ func (o *ReposPartialUpdate) HasScanOwn() bool { } // SetScanOwn gets a reference to the given bool and assigns it to the ScanOwn field. -func (o *ReposPartialUpdate) SetScanOwn(v bool) { +func (o *RepositoryRequestPatch) SetScanOwn(v bool) { o.ScanOwn = &v } // GetScanPackages returns the ScanPackages field value if set, zero value otherwise. -func (o *ReposPartialUpdate) GetScanPackages() string { - if o == nil || o.ScanPackages == nil { +func (o *RepositoryRequestPatch) GetScanPackages() string { + if o == nil || isNil(o.ScanPackages) { var ret string return ret } @@ -817,16 +925,16 @@ func (o *ReposPartialUpdate) GetScanPackages() string { // GetScanPackagesOk returns a tuple with the ScanPackages field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *ReposPartialUpdate) GetScanPackagesOk() (*string, bool) { - if o == nil || o.ScanPackages == nil { +func (o *RepositoryRequestPatch) GetScanPackagesOk() (*string, bool) { + if o == nil || isNil(o.ScanPackages) { return nil, false } return o.ScanPackages, true } // HasScanPackages returns a boolean if a field has been set. -func (o *ReposPartialUpdate) HasScanPackages() bool { - if o != nil && o.ScanPackages != nil { +func (o *RepositoryRequestPatch) HasScanPackages() bool { + if o != nil && !isNil(o.ScanPackages) { return true } @@ -834,13 +942,13 @@ func (o *ReposPartialUpdate) HasScanPackages() bool { } // SetScanPackages gets a reference to the given string and assigns it to the ScanPackages field. -func (o *ReposPartialUpdate) SetScanPackages(v string) { +func (o *RepositoryRequestPatch) SetScanPackages(v string) { o.ScanPackages = &v } // GetShowSetupAll returns the ShowSetupAll field value if set, zero value otherwise. -func (o *ReposPartialUpdate) GetShowSetupAll() bool { - if o == nil || o.ShowSetupAll == nil { +func (o *RepositoryRequestPatch) GetShowSetupAll() bool { + if o == nil || isNil(o.ShowSetupAll) { var ret bool return ret } @@ -849,16 +957,16 @@ func (o *ReposPartialUpdate) GetShowSetupAll() bool { // GetShowSetupAllOk returns a tuple with the ShowSetupAll field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *ReposPartialUpdate) GetShowSetupAllOk() (*bool, bool) { - if o == nil || o.ShowSetupAll == nil { +func (o *RepositoryRequestPatch) GetShowSetupAllOk() (*bool, bool) { + if o == nil || isNil(o.ShowSetupAll) { return nil, false } return o.ShowSetupAll, true } // HasShowSetupAll returns a boolean if a field has been set. -func (o *ReposPartialUpdate) HasShowSetupAll() bool { - if o != nil && o.ShowSetupAll != nil { +func (o *RepositoryRequestPatch) HasShowSetupAll() bool { + if o != nil && !isNil(o.ShowSetupAll) { return true } @@ -866,13 +974,13 @@ func (o *ReposPartialUpdate) HasShowSetupAll() bool { } // SetShowSetupAll gets a reference to the given bool and assigns it to the ShowSetupAll field. -func (o *ReposPartialUpdate) SetShowSetupAll(v bool) { +func (o *RepositoryRequestPatch) SetShowSetupAll(v bool) { o.ShowSetupAll = &v } // GetSlug returns the Slug field value if set, zero value otherwise. -func (o *ReposPartialUpdate) GetSlug() string { - if o == nil || o.Slug == nil { +func (o *RepositoryRequestPatch) GetSlug() string { + if o == nil || isNil(o.Slug) { var ret string return ret } @@ -881,16 +989,16 @@ func (o *ReposPartialUpdate) GetSlug() string { // GetSlugOk returns a tuple with the Slug field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *ReposPartialUpdate) GetSlugOk() (*string, bool) { - if o == nil || o.Slug == nil { +func (o *RepositoryRequestPatch) GetSlugOk() (*string, bool) { + if o == nil || isNil(o.Slug) { return nil, false } return o.Slug, true } // HasSlug returns a boolean if a field has been set. -func (o *ReposPartialUpdate) HasSlug() bool { - if o != nil && o.Slug != nil { +func (o *RepositoryRequestPatch) HasSlug() bool { + if o != nil && !isNil(o.Slug) { return true } @@ -898,13 +1006,13 @@ func (o *ReposPartialUpdate) HasSlug() bool { } // SetSlug gets a reference to the given string and assigns it to the Slug field. -func (o *ReposPartialUpdate) SetSlug(v string) { +func (o *RepositoryRequestPatch) SetSlug(v string) { o.Slug = &v } // GetStrictNpmValidation returns the StrictNpmValidation field value if set, zero value otherwise. -func (o *ReposPartialUpdate) GetStrictNpmValidation() bool { - if o == nil || o.StrictNpmValidation == nil { +func (o *RepositoryRequestPatch) GetStrictNpmValidation() bool { + if o == nil || isNil(o.StrictNpmValidation) { var ret bool return ret } @@ -913,16 +1021,16 @@ func (o *ReposPartialUpdate) GetStrictNpmValidation() bool { // GetStrictNpmValidationOk returns a tuple with the StrictNpmValidation field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *ReposPartialUpdate) GetStrictNpmValidationOk() (*bool, bool) { - if o == nil || o.StrictNpmValidation == nil { +func (o *RepositoryRequestPatch) GetStrictNpmValidationOk() (*bool, bool) { + if o == nil || isNil(o.StrictNpmValidation) { return nil, false } return o.StrictNpmValidation, true } // HasStrictNpmValidation returns a boolean if a field has been set. -func (o *ReposPartialUpdate) HasStrictNpmValidation() bool { - if o != nil && o.StrictNpmValidation != nil { +func (o *RepositoryRequestPatch) HasStrictNpmValidation() bool { + if o != nil && !isNil(o.StrictNpmValidation) { return true } @@ -930,13 +1038,13 @@ func (o *ReposPartialUpdate) HasStrictNpmValidation() bool { } // SetStrictNpmValidation gets a reference to the given bool and assigns it to the StrictNpmValidation field. -func (o *ReposPartialUpdate) SetStrictNpmValidation(v bool) { +func (o *RepositoryRequestPatch) SetStrictNpmValidation(v bool) { o.StrictNpmValidation = &v } // GetUseDebianLabels returns the UseDebianLabels field value if set, zero value otherwise. -func (o *ReposPartialUpdate) GetUseDebianLabels() bool { - if o == nil || o.UseDebianLabels == nil { +func (o *RepositoryRequestPatch) GetUseDebianLabels() bool { + if o == nil || isNil(o.UseDebianLabels) { var ret bool return ret } @@ -945,16 +1053,16 @@ func (o *ReposPartialUpdate) GetUseDebianLabels() bool { // GetUseDebianLabelsOk returns a tuple with the UseDebianLabels field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *ReposPartialUpdate) GetUseDebianLabelsOk() (*bool, bool) { - if o == nil || o.UseDebianLabels == nil { +func (o *RepositoryRequestPatch) GetUseDebianLabelsOk() (*bool, bool) { + if o == nil || isNil(o.UseDebianLabels) { return nil, false } return o.UseDebianLabels, true } // HasUseDebianLabels returns a boolean if a field has been set. -func (o *ReposPartialUpdate) HasUseDebianLabels() bool { - if o != nil && o.UseDebianLabels != nil { +func (o *RepositoryRequestPatch) HasUseDebianLabels() bool { + if o != nil && !isNil(o.UseDebianLabels) { return true } @@ -962,13 +1070,13 @@ func (o *ReposPartialUpdate) HasUseDebianLabels() bool { } // SetUseDebianLabels gets a reference to the given bool and assigns it to the UseDebianLabels field. -func (o *ReposPartialUpdate) SetUseDebianLabels(v bool) { +func (o *RepositoryRequestPatch) SetUseDebianLabels(v bool) { o.UseDebianLabels = &v } // GetUseDefaultCargoUpstream returns the UseDefaultCargoUpstream field value if set, zero value otherwise. -func (o *ReposPartialUpdate) GetUseDefaultCargoUpstream() bool { - if o == nil || o.UseDefaultCargoUpstream == nil { +func (o *RepositoryRequestPatch) GetUseDefaultCargoUpstream() bool { + if o == nil || isNil(o.UseDefaultCargoUpstream) { var ret bool return ret } @@ -977,16 +1085,16 @@ func (o *ReposPartialUpdate) GetUseDefaultCargoUpstream() bool { // GetUseDefaultCargoUpstreamOk returns a tuple with the UseDefaultCargoUpstream field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *ReposPartialUpdate) GetUseDefaultCargoUpstreamOk() (*bool, bool) { - if o == nil || o.UseDefaultCargoUpstream == nil { +func (o *RepositoryRequestPatch) GetUseDefaultCargoUpstreamOk() (*bool, bool) { + if o == nil || isNil(o.UseDefaultCargoUpstream) { return nil, false } return o.UseDefaultCargoUpstream, true } // HasUseDefaultCargoUpstream returns a boolean if a field has been set. -func (o *ReposPartialUpdate) HasUseDefaultCargoUpstream() bool { - if o != nil && o.UseDefaultCargoUpstream != nil { +func (o *RepositoryRequestPatch) HasUseDefaultCargoUpstream() bool { + if o != nil && !isNil(o.UseDefaultCargoUpstream) { return true } @@ -994,13 +1102,13 @@ func (o *ReposPartialUpdate) HasUseDefaultCargoUpstream() bool { } // SetUseDefaultCargoUpstream gets a reference to the given bool and assigns it to the UseDefaultCargoUpstream field. -func (o *ReposPartialUpdate) SetUseDefaultCargoUpstream(v bool) { +func (o *RepositoryRequestPatch) SetUseDefaultCargoUpstream(v bool) { o.UseDefaultCargoUpstream = &v } // GetUseNoarchPackages returns the UseNoarchPackages field value if set, zero value otherwise. -func (o *ReposPartialUpdate) GetUseNoarchPackages() bool { - if o == nil || o.UseNoarchPackages == nil { +func (o *RepositoryRequestPatch) GetUseNoarchPackages() bool { + if o == nil || isNil(o.UseNoarchPackages) { var ret bool return ret } @@ -1009,16 +1117,16 @@ func (o *ReposPartialUpdate) GetUseNoarchPackages() bool { // GetUseNoarchPackagesOk returns a tuple with the UseNoarchPackages field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *ReposPartialUpdate) GetUseNoarchPackagesOk() (*bool, bool) { - if o == nil || o.UseNoarchPackages == nil { +func (o *RepositoryRequestPatch) GetUseNoarchPackagesOk() (*bool, bool) { + if o == nil || isNil(o.UseNoarchPackages) { return nil, false } return o.UseNoarchPackages, true } // HasUseNoarchPackages returns a boolean if a field has been set. -func (o *ReposPartialUpdate) HasUseNoarchPackages() bool { - if o != nil && o.UseNoarchPackages != nil { +func (o *RepositoryRequestPatch) HasUseNoarchPackages() bool { + if o != nil && !isNil(o.UseNoarchPackages) { return true } @@ -1026,13 +1134,13 @@ func (o *ReposPartialUpdate) HasUseNoarchPackages() bool { } // SetUseNoarchPackages gets a reference to the given bool and assigns it to the UseNoarchPackages field. -func (o *ReposPartialUpdate) SetUseNoarchPackages(v bool) { +func (o *RepositoryRequestPatch) SetUseNoarchPackages(v bool) { o.UseNoarchPackages = &v } // GetUseSourcePackages returns the UseSourcePackages field value if set, zero value otherwise. -func (o *ReposPartialUpdate) GetUseSourcePackages() bool { - if o == nil || o.UseSourcePackages == nil { +func (o *RepositoryRequestPatch) GetUseSourcePackages() bool { + if o == nil || isNil(o.UseSourcePackages) { var ret bool return ret } @@ -1041,16 +1149,16 @@ func (o *ReposPartialUpdate) GetUseSourcePackages() bool { // GetUseSourcePackagesOk returns a tuple with the UseSourcePackages field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *ReposPartialUpdate) GetUseSourcePackagesOk() (*bool, bool) { - if o == nil || o.UseSourcePackages == nil { +func (o *RepositoryRequestPatch) GetUseSourcePackagesOk() (*bool, bool) { + if o == nil || isNil(o.UseSourcePackages) { return nil, false } return o.UseSourcePackages, true } // HasUseSourcePackages returns a boolean if a field has been set. -func (o *ReposPartialUpdate) HasUseSourcePackages() bool { - if o != nil && o.UseSourcePackages != nil { +func (o *RepositoryRequestPatch) HasUseSourcePackages() bool { + if o != nil && !isNil(o.UseSourcePackages) { return true } @@ -1058,13 +1166,13 @@ func (o *ReposPartialUpdate) HasUseSourcePackages() bool { } // SetUseSourcePackages gets a reference to the given bool and assigns it to the UseSourcePackages field. -func (o *ReposPartialUpdate) SetUseSourcePackages(v bool) { +func (o *RepositoryRequestPatch) SetUseSourcePackages(v bool) { o.UseSourcePackages = &v } // GetUseVulnerabilityScanning returns the UseVulnerabilityScanning field value if set, zero value otherwise. -func (o *ReposPartialUpdate) GetUseVulnerabilityScanning() bool { - if o == nil || o.UseVulnerabilityScanning == nil { +func (o *RepositoryRequestPatch) GetUseVulnerabilityScanning() bool { + if o == nil || isNil(o.UseVulnerabilityScanning) { var ret bool return ret } @@ -1073,16 +1181,16 @@ func (o *ReposPartialUpdate) GetUseVulnerabilityScanning() bool { // GetUseVulnerabilityScanningOk returns a tuple with the UseVulnerabilityScanning field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *ReposPartialUpdate) GetUseVulnerabilityScanningOk() (*bool, bool) { - if o == nil || o.UseVulnerabilityScanning == nil { +func (o *RepositoryRequestPatch) GetUseVulnerabilityScanningOk() (*bool, bool) { + if o == nil || isNil(o.UseVulnerabilityScanning) { return nil, false } return o.UseVulnerabilityScanning, true } // HasUseVulnerabilityScanning returns a boolean if a field has been set. -func (o *ReposPartialUpdate) HasUseVulnerabilityScanning() bool { - if o != nil && o.UseVulnerabilityScanning != nil { +func (o *RepositoryRequestPatch) HasUseVulnerabilityScanning() bool { + if o != nil && !isNil(o.UseVulnerabilityScanning) { return true } @@ -1090,13 +1198,13 @@ func (o *ReposPartialUpdate) HasUseVulnerabilityScanning() bool { } // SetUseVulnerabilityScanning gets a reference to the given bool and assigns it to the UseVulnerabilityScanning field. -func (o *ReposPartialUpdate) SetUseVulnerabilityScanning(v bool) { +func (o *RepositoryRequestPatch) SetUseVulnerabilityScanning(v bool) { o.UseVulnerabilityScanning = &v } // GetUserEntitlementsEnabled returns the UserEntitlementsEnabled field value if set, zero value otherwise. -func (o *ReposPartialUpdate) GetUserEntitlementsEnabled() bool { - if o == nil || o.UserEntitlementsEnabled == nil { +func (o *RepositoryRequestPatch) GetUserEntitlementsEnabled() bool { + if o == nil || isNil(o.UserEntitlementsEnabled) { var ret bool return ret } @@ -1105,16 +1213,16 @@ func (o *ReposPartialUpdate) GetUserEntitlementsEnabled() bool { // GetUserEntitlementsEnabledOk returns a tuple with the UserEntitlementsEnabled field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *ReposPartialUpdate) GetUserEntitlementsEnabledOk() (*bool, bool) { - if o == nil || o.UserEntitlementsEnabled == nil { +func (o *RepositoryRequestPatch) GetUserEntitlementsEnabledOk() (*bool, bool) { + if o == nil || isNil(o.UserEntitlementsEnabled) { return nil, false } return o.UserEntitlementsEnabled, true } // HasUserEntitlementsEnabled returns a boolean if a field has been set. -func (o *ReposPartialUpdate) HasUserEntitlementsEnabled() bool { - if o != nil && o.UserEntitlementsEnabled != nil { +func (o *RepositoryRequestPatch) HasUserEntitlementsEnabled() bool { + if o != nil && !isNil(o.UserEntitlementsEnabled) { return true } @@ -1122,13 +1230,13 @@ func (o *ReposPartialUpdate) HasUserEntitlementsEnabled() bool { } // SetUserEntitlementsEnabled gets a reference to the given bool and assigns it to the UserEntitlementsEnabled field. -func (o *ReposPartialUpdate) SetUserEntitlementsEnabled(v bool) { +func (o *RepositoryRequestPatch) SetUserEntitlementsEnabled(v bool) { o.UserEntitlementsEnabled = &v } // GetViewStatistics returns the ViewStatistics field value if set, zero value otherwise. -func (o *ReposPartialUpdate) GetViewStatistics() string { - if o == nil || o.ViewStatistics == nil { +func (o *RepositoryRequestPatch) GetViewStatistics() string { + if o == nil || isNil(o.ViewStatistics) { var ret string return ret } @@ -1137,16 +1245,16 @@ func (o *ReposPartialUpdate) GetViewStatistics() string { // GetViewStatisticsOk returns a tuple with the ViewStatistics field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *ReposPartialUpdate) GetViewStatisticsOk() (*string, bool) { - if o == nil || o.ViewStatistics == nil { +func (o *RepositoryRequestPatch) GetViewStatisticsOk() (*string, bool) { + if o == nil || isNil(o.ViewStatistics) { return nil, false } return o.ViewStatistics, true } // HasViewStatistics returns a boolean if a field has been set. -func (o *ReposPartialUpdate) HasViewStatistics() bool { - if o != nil && o.ViewStatistics != nil { +func (o *RepositoryRequestPatch) HasViewStatistics() bool { + if o != nil && !isNil(o.ViewStatistics) { return true } @@ -1154,146 +1262,152 @@ func (o *ReposPartialUpdate) HasViewStatistics() bool { } // SetViewStatistics gets a reference to the given string and assigns it to the ViewStatistics field. -func (o *ReposPartialUpdate) SetViewStatistics(v string) { +func (o *RepositoryRequestPatch) SetViewStatistics(v string) { o.ViewStatistics = &v } -func (o ReposPartialUpdate) MarshalJSON() ([]byte, error) { +func (o RepositoryRequestPatch) MarshalJSON() ([]byte, error) { toSerialize := map[string]interface{}{} - if o.ContextualAuthRealm != nil { + if !isNil(o.ContentKind) { + toSerialize["content_kind"] = o.ContentKind + } + if !isNil(o.ContextualAuthRealm) { toSerialize["contextual_auth_realm"] = o.ContextualAuthRealm } - if o.CopyOwn != nil { + if !isNil(o.CopyOwn) { toSerialize["copy_own"] = o.CopyOwn } - if o.CopyPackages != nil { + if !isNil(o.CopyPackages) { toSerialize["copy_packages"] = o.CopyPackages } - if o.DefaultPrivilege != nil { + if !isNil(o.DefaultPrivilege) { toSerialize["default_privilege"] = o.DefaultPrivilege } - if o.DeleteOwn != nil { + if !isNil(o.DeleteOwn) { toSerialize["delete_own"] = o.DeleteOwn } - if o.DeletePackages != nil { + if !isNil(o.DeletePackages) { toSerialize["delete_packages"] = o.DeletePackages } - if o.Description != nil { + if !isNil(o.Description) { toSerialize["description"] = o.Description } - if o.DockerRefreshTokensEnabled != nil { + if !isNil(o.Distributes) { + toSerialize["distributes"] = o.Distributes + } + if !isNil(o.DockerRefreshTokensEnabled) { toSerialize["docker_refresh_tokens_enabled"] = o.DockerRefreshTokensEnabled } - if o.IndexFiles != nil { + if !isNil(o.IndexFiles) { toSerialize["index_files"] = o.IndexFiles } - if o.MoveOwn != nil { + if !isNil(o.MoveOwn) { toSerialize["move_own"] = o.MoveOwn } - if o.MovePackages != nil { + if !isNil(o.MovePackages) { toSerialize["move_packages"] = o.MovePackages } - if o.Name != nil { + if !isNil(o.Name) { toSerialize["name"] = o.Name } - if o.ProxyNpmjs != nil { + if !isNil(o.ProxyNpmjs) { toSerialize["proxy_npmjs"] = o.ProxyNpmjs } - if o.ProxyPypi != nil { + if !isNil(o.ProxyPypi) { toSerialize["proxy_pypi"] = o.ProxyPypi } - if o.RawPackageIndexEnabled != nil { + if !isNil(o.RawPackageIndexEnabled) { toSerialize["raw_package_index_enabled"] = o.RawPackageIndexEnabled } - if o.RawPackageIndexSignaturesEnabled != nil { + if !isNil(o.RawPackageIndexSignaturesEnabled) { toSerialize["raw_package_index_signatures_enabled"] = o.RawPackageIndexSignaturesEnabled } - if o.ReplacePackages != nil { + if !isNil(o.ReplacePackages) { toSerialize["replace_packages"] = o.ReplacePackages } - if o.ReplacePackagesByDefault != nil { + if !isNil(o.ReplacePackagesByDefault) { toSerialize["replace_packages_by_default"] = o.ReplacePackagesByDefault } - if o.RepositoryTypeStr != nil { + if !isNil(o.RepositoryTypeStr) { toSerialize["repository_type_str"] = o.RepositoryTypeStr } - if o.ResyncOwn != nil { + if !isNil(o.ResyncOwn) { toSerialize["resync_own"] = o.ResyncOwn } - if o.ResyncPackages != nil { + if !isNil(o.ResyncPackages) { toSerialize["resync_packages"] = o.ResyncPackages } - if o.ScanOwn != nil { + if !isNil(o.ScanOwn) { toSerialize["scan_own"] = o.ScanOwn } - if o.ScanPackages != nil { + if !isNil(o.ScanPackages) { toSerialize["scan_packages"] = o.ScanPackages } - if o.ShowSetupAll != nil { + if !isNil(o.ShowSetupAll) { toSerialize["show_setup_all"] = o.ShowSetupAll } - if o.Slug != nil { + if !isNil(o.Slug) { toSerialize["slug"] = o.Slug } - if o.StrictNpmValidation != nil { + if !isNil(o.StrictNpmValidation) { toSerialize["strict_npm_validation"] = o.StrictNpmValidation } - if o.UseDebianLabels != nil { + if !isNil(o.UseDebianLabels) { toSerialize["use_debian_labels"] = o.UseDebianLabels } - if o.UseDefaultCargoUpstream != nil { + if !isNil(o.UseDefaultCargoUpstream) { toSerialize["use_default_cargo_upstream"] = o.UseDefaultCargoUpstream } - if o.UseNoarchPackages != nil { + if !isNil(o.UseNoarchPackages) { toSerialize["use_noarch_packages"] = o.UseNoarchPackages } - if o.UseSourcePackages != nil { + if !isNil(o.UseSourcePackages) { toSerialize["use_source_packages"] = o.UseSourcePackages } - if o.UseVulnerabilityScanning != nil { + if !isNil(o.UseVulnerabilityScanning) { toSerialize["use_vulnerability_scanning"] = o.UseVulnerabilityScanning } - if o.UserEntitlementsEnabled != nil { + if !isNil(o.UserEntitlementsEnabled) { toSerialize["user_entitlements_enabled"] = o.UserEntitlementsEnabled } - if o.ViewStatistics != nil { + if !isNil(o.ViewStatistics) { toSerialize["view_statistics"] = o.ViewStatistics } return json.Marshal(toSerialize) } -type NullableReposPartialUpdate struct { - value *ReposPartialUpdate +type NullableRepositoryRequestPatch struct { + value *RepositoryRequestPatch isSet bool } -func (v NullableReposPartialUpdate) Get() *ReposPartialUpdate { +func (v NullableRepositoryRequestPatch) Get() *RepositoryRequestPatch { return v.value } -func (v *NullableReposPartialUpdate) Set(val *ReposPartialUpdate) { +func (v *NullableRepositoryRequestPatch) Set(val *RepositoryRequestPatch) { v.value = val v.isSet = true } -func (v NullableReposPartialUpdate) IsSet() bool { +func (v NullableRepositoryRequestPatch) IsSet() bool { return v.isSet } -func (v *NullableReposPartialUpdate) Unset() { +func (v *NullableRepositoryRequestPatch) Unset() { v.value = nil v.isSet = false } -func NewNullableReposPartialUpdate(val *ReposPartialUpdate) *NullableReposPartialUpdate { - return &NullableReposPartialUpdate{value: val, isSet: true} +func NewNullableRepositoryRequestPatch(val *RepositoryRequestPatch) *NullableRepositoryRequestPatch { + return &NullableRepositoryRequestPatch{value: val, isSet: true} } -func (v NullableReposPartialUpdate) MarshalJSON() ([]byte, error) { +func (v NullableRepositoryRequestPatch) MarshalJSON() ([]byte, error) { return json.Marshal(v.value) } -func (v *NullableReposPartialUpdate) UnmarshalJSON(src []byte) error { +func (v *NullableRepositoryRequestPatch) UnmarshalJSON(src []byte) error { v.isSet = true return json.Unmarshal(src, &v.value) } diff --git a/model_repository_create.go b/model_repository_response.go similarity index 61% rename from model_repository_create.go rename to model_repository_response.go index e513fb9c..9acea1f8 100644 --- a/model_repository_create.go +++ b/model_repository_response.go @@ -1,9 +1,9 @@ /* -Cloudsmith API +Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.121.3 +API version: 1.181.6 Contact: support@cloudsmith.io */ @@ -13,42 +13,41 @@ package cloudsmith import ( "encoding/json" + "time" ) -// RepositoryCreate struct for RepositoryCreate -type RepositoryCreate struct { +// RepositoryResponse struct for RepositoryResponse +type RepositoryResponse struct { // Base URL from which packages and other artifacts are downloaded. - CdnUrl *string `json:"cdn_url,omitempty"` + CdnUrl NullableString `json:"cdn_url,omitempty"` + // The repository content kind determines whether this repository contains packages, or provides a distribution of packages from other repositories. You can only select the content kind at repository creation time. + ContentKind *string `json:"content_kind,omitempty"` // If checked, missing credentials for this repository where basic authentication is required shall present an enriched value in the 'WWW-Authenticate' header containing the namespace and repository. This can be useful for tooling such as SBT where the authentication realm is used to distinguish and disambiguate credentials. ContextualAuthRealm *bool `json:"contextual_auth_realm,omitempty"` // If checked, users can copy any of their own packages that they have uploaded, assuming that they still have write privilege for the repository. This takes precedence over privileges configured in the 'Access Controls' section of the repository, and any inherited from the org. CopyOwn *bool `json:"copy_own,omitempty"` // This defines the minimum level of privilege required for a user to copy packages. Unless the package was uploaded by that user, in which the permission may be overridden by the user-specific copy setting. - CopyPackages *string `json:"copy_packages,omitempty"` - // - CreatedAt *string `json:"created_at,omitempty"` + CopyPackages *string `json:"copy_packages,omitempty"` + CreatedAt *time.Time `json:"created_at,omitempty"` // This defines the default level of privilege that all of your organization members have for this repository. This does not include collaborators, but applies to any member of the org regardless of their own membership role (i.e. it applies to owners, managers and members). Be careful if setting this to admin, because any member will be able to change settings. DefaultPrivilege *string `json:"default_privilege,omitempty"` // If checked, users can delete any of their own packages that they have uploaded, assuming that they still have write privilege for the repository. This takes precedence over privileges configured in the 'Access Controls' section of the repository, and any inherited from the org. DeleteOwn *bool `json:"delete_own,omitempty"` // This defines the minimum level of privilege required for a user to delete packages. Unless the package was uploaded by that user, in which the permission may be overridden by the user-specific delete setting. - DeletePackages *string `json:"delete_packages,omitempty"` - // - DeletedAt *string `json:"deleted_at,omitempty"` + DeletePackages *string `json:"delete_packages,omitempty"` + DeletedAt *time.Time `json:"deleted_at,omitempty"` // A description of the repository's purpose/contents. Description *string `json:"description,omitempty"` + // The repositories distributed through this repo. Adding repos here is only valid if the content_kind is DISTRIBUTION. + Distributes []string `json:"distributes,omitempty"` // If checked, refresh tokens will be issued in addition to access tokens for Docker authentication. This allows unlimited extension of the lifetime of access tokens. - DockerRefreshTokensEnabled *bool `json:"docker_refresh_tokens_enabled,omitempty"` - // - GpgKeys []ReposGpgKeys `json:"gpg_keys,omitempty"` + DockerRefreshTokensEnabled *bool `json:"docker_refresh_tokens_enabled,omitempty"` + GpgKeys []RepositoryGpgKey `json:"gpg_keys,omitempty"` // If checked, files contained in packages will be indexed, which increase the synchronisation time required for packages. Note that it is recommended you keep this enabled unless the synchronisation time is significantly impacted. - IndexFiles *bool `json:"index_files,omitempty"` - // + IndexFiles *bool `json:"index_files,omitempty"` IsOpenSource *bool `json:"is_open_source,omitempty"` - // - IsPrivate *bool `json:"is_private,omitempty"` - // - IsPublic *bool `json:"is_public,omitempty"` + IsPrivate *bool `json:"is_private,omitempty"` + IsPublic *bool `json:"is_public,omitempty"` // If checked, users can move any of their own packages that they have uploaded, assuming that they still have write privilege for the repository. This takes precedence over privileges configured in the 'Access Controls' section of the repository, and any inherited from the org. MoveOwn *bool `json:"move_own,omitempty"` // This defines the minimum level of privilege required for a user to move packages. Unless the package was uploaded by that user, in which the permission may be overridden by the user-specific move setting. @@ -77,9 +76,9 @@ type RepositoryCreate struct { ReplacePackages *string `json:"replace_packages,omitempty"` // If checked, uploaded packages will overwrite/replace any others with the same attributes (e.g. same version) by default. This only applies if the user has the required privilege for the republishing AND has the required privilege to delete existing packages that they don't own. ReplacePackagesByDefault *bool `json:"replace_packages_by_default,omitempty"` - // The repository type changes how it is accessed and billed. Private repositories can only be used on paid plans, but are visible only to you or authorised delegates. Open-Source repositories are always visible to everyone and are restricted by licensing, but are free to use and come with generous bandwidth/storage. You can only select Open-Source at repository creation time. + // The repository type changes how it is accessed and billed. Private repositories are visible only to you or authorized delegates. Open-Source repositories are always visible to everyone and are restricted by licensing, but are free to use and come with generous bandwidth/storage. You can only select Open-Source at repository creation time. RepositoryType *int64 `json:"repository_type,omitempty"` - // The repository type changes how it is accessed and billed. Private repositories can only be used on paid plans, but are visible only to you or authorised delegates. Public repositories are free to use on all plans and visible to all Cloudsmith users. + // The repository type changes how it is accessed and billed. Private repositories are visible only to you or authorized delegates. Public repositories are visible to all Cloudsmith users. RepositoryTypeStr *string `json:"repository_type_str,omitempty"` // If checked, users can resync any of their own packages that they have uploaded, assuming that they still have write privilege for the repository. This takes precedence over privileges configured in the 'Access Controls' section of the repository, and any inherited from the org. ResyncOwn *bool `json:"resync_own,omitempty"` @@ -119,63 +118,146 @@ type RepositoryCreate struct { UseVulnerabilityScanning *bool `json:"use_vulnerability_scanning,omitempty"` // If checked, users can use and manage their own user-specific entitlement token for the repository (if private). Otherwise, user-specific entitlements are disabled for all users. UserEntitlementsEnabled *bool `json:"user_entitlements_enabled,omitempty"` - // This defines the minimum level of privilege required for a user to view repository statistics, to include entitlement-based usage, if applciable. If a user does not have the permission, they won't be able to view any statistics, either via the UI, API or CLI. + // This defines the minimum level of privilege required for a user to view repository statistics, to include entitlement-based usage, if applicable. If a user does not have the permission, they won't be able to view any statistics, either via the UI, API or CLI. ViewStatistics *string `json:"view_statistics,omitempty"` } -// NewRepositoryCreate instantiates a new RepositoryCreate object +// NewRepositoryResponse instantiates a new RepositoryResponse object // 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 NewRepositoryCreate(name string) *RepositoryCreate { - this := RepositoryCreate{} +func NewRepositoryResponse(name string) *RepositoryResponse { + this := RepositoryResponse{} + var contentKind string = "Standard" + this.ContentKind = &contentKind + var copyPackages string = "Read" + this.CopyPackages = ©Packages + var defaultPrivilege string = "None" + this.DefaultPrivilege = &defaultPrivilege + var deletePackages string = "Admin" + this.DeletePackages = &deletePackages + var movePackages string = "Admin" + this.MovePackages = &movePackages this.Name = name + var replacePackages string = "Write" + this.ReplacePackages = &replacePackages + var repositoryTypeStr string = "Public" + this.RepositoryTypeStr = &repositoryTypeStr + var resyncPackages string = "Admin" + this.ResyncPackages = &resyncPackages + var scanPackages string = "Read" + this.ScanPackages = &scanPackages + var viewStatistics string = "Read" + this.ViewStatistics = &viewStatistics return &this } -// NewRepositoryCreateWithDefaults instantiates a new RepositoryCreate object +// NewRepositoryResponseWithDefaults instantiates a new RepositoryResponse object // This constructor will only assign default values to properties that have it defined, // but it doesn't guarantee that properties required by API are set -func NewRepositoryCreateWithDefaults() *RepositoryCreate { - this := RepositoryCreate{} +func NewRepositoryResponseWithDefaults() *RepositoryResponse { + this := RepositoryResponse{} + var contentKind string = "Standard" + this.ContentKind = &contentKind + var copyPackages string = "Read" + this.CopyPackages = ©Packages + var defaultPrivilege string = "None" + this.DefaultPrivilege = &defaultPrivilege + var deletePackages string = "Admin" + this.DeletePackages = &deletePackages + var movePackages string = "Admin" + this.MovePackages = &movePackages + var replacePackages string = "Write" + this.ReplacePackages = &replacePackages + var repositoryTypeStr string = "Public" + this.RepositoryTypeStr = &repositoryTypeStr + var resyncPackages string = "Admin" + this.ResyncPackages = &resyncPackages + var scanPackages string = "Read" + this.ScanPackages = &scanPackages + var viewStatistics string = "Read" + this.ViewStatistics = &viewStatistics return &this } -// GetCdnUrl returns the CdnUrl field value if set, zero value otherwise. -func (o *RepositoryCreate) GetCdnUrl() string { - if o == nil || o.CdnUrl == nil { +// GetCdnUrl returns the CdnUrl field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *RepositoryResponse) GetCdnUrl() string { + if o == nil || isNil(o.CdnUrl.Get()) { var ret string return ret } - return *o.CdnUrl + return *o.CdnUrl.Get() } // GetCdnUrlOk returns a tuple with the CdnUrl field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *RepositoryCreate) GetCdnUrlOk() (*string, bool) { - if o == nil || o.CdnUrl == nil { +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *RepositoryResponse) GetCdnUrlOk() (*string, bool) { + if o == nil { return nil, false } - return o.CdnUrl, true + return o.CdnUrl.Get(), o.CdnUrl.IsSet() } // HasCdnUrl returns a boolean if a field has been set. -func (o *RepositoryCreate) HasCdnUrl() bool { - if o != nil && o.CdnUrl != nil { +func (o *RepositoryResponse) HasCdnUrl() bool { + if o != nil && o.CdnUrl.IsSet() { + return true + } + + return false +} + +// SetCdnUrl gets a reference to the given NullableString and assigns it to the CdnUrl field. +func (o *RepositoryResponse) SetCdnUrl(v string) { + o.CdnUrl.Set(&v) +} + +// SetCdnUrlNil sets the value for CdnUrl to be an explicit nil +func (o *RepositoryResponse) SetCdnUrlNil() { + o.CdnUrl.Set(nil) +} + +// UnsetCdnUrl ensures that no value is present for CdnUrl, not even an explicit nil +func (o *RepositoryResponse) UnsetCdnUrl() { + o.CdnUrl.Unset() +} + +// GetContentKind returns the ContentKind field value if set, zero value otherwise. +func (o *RepositoryResponse) GetContentKind() string { + if o == nil || isNil(o.ContentKind) { + var ret string + return ret + } + return *o.ContentKind +} + +// GetContentKindOk returns a tuple with the ContentKind field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *RepositoryResponse) GetContentKindOk() (*string, bool) { + if o == nil || isNil(o.ContentKind) { + return nil, false + } + return o.ContentKind, true +} + +// HasContentKind returns a boolean if a field has been set. +func (o *RepositoryResponse) HasContentKind() bool { + if o != nil && !isNil(o.ContentKind) { return true } return false } -// SetCdnUrl gets a reference to the given string and assigns it to the CdnUrl field. -func (o *RepositoryCreate) SetCdnUrl(v string) { - o.CdnUrl = &v +// SetContentKind gets a reference to the given string and assigns it to the ContentKind field. +func (o *RepositoryResponse) SetContentKind(v string) { + o.ContentKind = &v } // GetContextualAuthRealm returns the ContextualAuthRealm field value if set, zero value otherwise. -func (o *RepositoryCreate) GetContextualAuthRealm() bool { - if o == nil || o.ContextualAuthRealm == nil { +func (o *RepositoryResponse) GetContextualAuthRealm() bool { + if o == nil || isNil(o.ContextualAuthRealm) { var ret bool return ret } @@ -184,16 +266,16 @@ func (o *RepositoryCreate) GetContextualAuthRealm() bool { // GetContextualAuthRealmOk returns a tuple with the ContextualAuthRealm field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *RepositoryCreate) GetContextualAuthRealmOk() (*bool, bool) { - if o == nil || o.ContextualAuthRealm == nil { +func (o *RepositoryResponse) GetContextualAuthRealmOk() (*bool, bool) { + if o == nil || isNil(o.ContextualAuthRealm) { return nil, false } return o.ContextualAuthRealm, true } // HasContextualAuthRealm returns a boolean if a field has been set. -func (o *RepositoryCreate) HasContextualAuthRealm() bool { - if o != nil && o.ContextualAuthRealm != nil { +func (o *RepositoryResponse) HasContextualAuthRealm() bool { + if o != nil && !isNil(o.ContextualAuthRealm) { return true } @@ -201,13 +283,13 @@ func (o *RepositoryCreate) HasContextualAuthRealm() bool { } // SetContextualAuthRealm gets a reference to the given bool and assigns it to the ContextualAuthRealm field. -func (o *RepositoryCreate) SetContextualAuthRealm(v bool) { +func (o *RepositoryResponse) SetContextualAuthRealm(v bool) { o.ContextualAuthRealm = &v } // GetCopyOwn returns the CopyOwn field value if set, zero value otherwise. -func (o *RepositoryCreate) GetCopyOwn() bool { - if o == nil || o.CopyOwn == nil { +func (o *RepositoryResponse) GetCopyOwn() bool { + if o == nil || isNil(o.CopyOwn) { var ret bool return ret } @@ -216,16 +298,16 @@ func (o *RepositoryCreate) GetCopyOwn() bool { // GetCopyOwnOk returns a tuple with the CopyOwn field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *RepositoryCreate) GetCopyOwnOk() (*bool, bool) { - if o == nil || o.CopyOwn == nil { +func (o *RepositoryResponse) GetCopyOwnOk() (*bool, bool) { + if o == nil || isNil(o.CopyOwn) { return nil, false } return o.CopyOwn, true } // HasCopyOwn returns a boolean if a field has been set. -func (o *RepositoryCreate) HasCopyOwn() bool { - if o != nil && o.CopyOwn != nil { +func (o *RepositoryResponse) HasCopyOwn() bool { + if o != nil && !isNil(o.CopyOwn) { return true } @@ -233,13 +315,13 @@ func (o *RepositoryCreate) HasCopyOwn() bool { } // SetCopyOwn gets a reference to the given bool and assigns it to the CopyOwn field. -func (o *RepositoryCreate) SetCopyOwn(v bool) { +func (o *RepositoryResponse) SetCopyOwn(v bool) { o.CopyOwn = &v } // GetCopyPackages returns the CopyPackages field value if set, zero value otherwise. -func (o *RepositoryCreate) GetCopyPackages() string { - if o == nil || o.CopyPackages == nil { +func (o *RepositoryResponse) GetCopyPackages() string { + if o == nil || isNil(o.CopyPackages) { var ret string return ret } @@ -248,16 +330,16 @@ func (o *RepositoryCreate) GetCopyPackages() string { // GetCopyPackagesOk returns a tuple with the CopyPackages field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *RepositoryCreate) GetCopyPackagesOk() (*string, bool) { - if o == nil || o.CopyPackages == nil { +func (o *RepositoryResponse) GetCopyPackagesOk() (*string, bool) { + if o == nil || isNil(o.CopyPackages) { return nil, false } return o.CopyPackages, true } // HasCopyPackages returns a boolean if a field has been set. -func (o *RepositoryCreate) HasCopyPackages() bool { - if o != nil && o.CopyPackages != nil { +func (o *RepositoryResponse) HasCopyPackages() bool { + if o != nil && !isNil(o.CopyPackages) { return true } @@ -265,14 +347,14 @@ func (o *RepositoryCreate) HasCopyPackages() bool { } // SetCopyPackages gets a reference to the given string and assigns it to the CopyPackages field. -func (o *RepositoryCreate) SetCopyPackages(v string) { +func (o *RepositoryResponse) SetCopyPackages(v string) { o.CopyPackages = &v } // GetCreatedAt returns the CreatedAt field value if set, zero value otherwise. -func (o *RepositoryCreate) GetCreatedAt() string { - if o == nil || o.CreatedAt == nil { - var ret string +func (o *RepositoryResponse) GetCreatedAt() time.Time { + if o == nil || isNil(o.CreatedAt) { + var ret time.Time return ret } return *o.CreatedAt @@ -280,30 +362,30 @@ func (o *RepositoryCreate) GetCreatedAt() string { // GetCreatedAtOk returns a tuple with the CreatedAt field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *RepositoryCreate) GetCreatedAtOk() (*string, bool) { - if o == nil || o.CreatedAt == nil { +func (o *RepositoryResponse) GetCreatedAtOk() (*time.Time, bool) { + if o == nil || isNil(o.CreatedAt) { return nil, false } return o.CreatedAt, true } // HasCreatedAt returns a boolean if a field has been set. -func (o *RepositoryCreate) HasCreatedAt() bool { - if o != nil && o.CreatedAt != nil { +func (o *RepositoryResponse) HasCreatedAt() bool { + if o != nil && !isNil(o.CreatedAt) { return true } return false } -// SetCreatedAt gets a reference to the given string and assigns it to the CreatedAt field. -func (o *RepositoryCreate) SetCreatedAt(v string) { +// SetCreatedAt gets a reference to the given time.Time and assigns it to the CreatedAt field. +func (o *RepositoryResponse) SetCreatedAt(v time.Time) { o.CreatedAt = &v } // GetDefaultPrivilege returns the DefaultPrivilege field value if set, zero value otherwise. -func (o *RepositoryCreate) GetDefaultPrivilege() string { - if o == nil || o.DefaultPrivilege == nil { +func (o *RepositoryResponse) GetDefaultPrivilege() string { + if o == nil || isNil(o.DefaultPrivilege) { var ret string return ret } @@ -312,16 +394,16 @@ func (o *RepositoryCreate) GetDefaultPrivilege() string { // GetDefaultPrivilegeOk returns a tuple with the DefaultPrivilege field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *RepositoryCreate) GetDefaultPrivilegeOk() (*string, bool) { - if o == nil || o.DefaultPrivilege == nil { +func (o *RepositoryResponse) GetDefaultPrivilegeOk() (*string, bool) { + if o == nil || isNil(o.DefaultPrivilege) { return nil, false } return o.DefaultPrivilege, true } // HasDefaultPrivilege returns a boolean if a field has been set. -func (o *RepositoryCreate) HasDefaultPrivilege() bool { - if o != nil && o.DefaultPrivilege != nil { +func (o *RepositoryResponse) HasDefaultPrivilege() bool { + if o != nil && !isNil(o.DefaultPrivilege) { return true } @@ -329,13 +411,13 @@ func (o *RepositoryCreate) HasDefaultPrivilege() bool { } // SetDefaultPrivilege gets a reference to the given string and assigns it to the DefaultPrivilege field. -func (o *RepositoryCreate) SetDefaultPrivilege(v string) { +func (o *RepositoryResponse) SetDefaultPrivilege(v string) { o.DefaultPrivilege = &v } // GetDeleteOwn returns the DeleteOwn field value if set, zero value otherwise. -func (o *RepositoryCreate) GetDeleteOwn() bool { - if o == nil || o.DeleteOwn == nil { +func (o *RepositoryResponse) GetDeleteOwn() bool { + if o == nil || isNil(o.DeleteOwn) { var ret bool return ret } @@ -344,16 +426,16 @@ func (o *RepositoryCreate) GetDeleteOwn() bool { // GetDeleteOwnOk returns a tuple with the DeleteOwn field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *RepositoryCreate) GetDeleteOwnOk() (*bool, bool) { - if o == nil || o.DeleteOwn == nil { +func (o *RepositoryResponse) GetDeleteOwnOk() (*bool, bool) { + if o == nil || isNil(o.DeleteOwn) { return nil, false } return o.DeleteOwn, true } // HasDeleteOwn returns a boolean if a field has been set. -func (o *RepositoryCreate) HasDeleteOwn() bool { - if o != nil && o.DeleteOwn != nil { +func (o *RepositoryResponse) HasDeleteOwn() bool { + if o != nil && !isNil(o.DeleteOwn) { return true } @@ -361,13 +443,13 @@ func (o *RepositoryCreate) HasDeleteOwn() bool { } // SetDeleteOwn gets a reference to the given bool and assigns it to the DeleteOwn field. -func (o *RepositoryCreate) SetDeleteOwn(v bool) { +func (o *RepositoryResponse) SetDeleteOwn(v bool) { o.DeleteOwn = &v } // GetDeletePackages returns the DeletePackages field value if set, zero value otherwise. -func (o *RepositoryCreate) GetDeletePackages() string { - if o == nil || o.DeletePackages == nil { +func (o *RepositoryResponse) GetDeletePackages() string { + if o == nil || isNil(o.DeletePackages) { var ret string return ret } @@ -376,16 +458,16 @@ func (o *RepositoryCreate) GetDeletePackages() string { // GetDeletePackagesOk returns a tuple with the DeletePackages field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *RepositoryCreate) GetDeletePackagesOk() (*string, bool) { - if o == nil || o.DeletePackages == nil { +func (o *RepositoryResponse) GetDeletePackagesOk() (*string, bool) { + if o == nil || isNil(o.DeletePackages) { return nil, false } return o.DeletePackages, true } // HasDeletePackages returns a boolean if a field has been set. -func (o *RepositoryCreate) HasDeletePackages() bool { - if o != nil && o.DeletePackages != nil { +func (o *RepositoryResponse) HasDeletePackages() bool { + if o != nil && !isNil(o.DeletePackages) { return true } @@ -393,14 +475,14 @@ func (o *RepositoryCreate) HasDeletePackages() bool { } // SetDeletePackages gets a reference to the given string and assigns it to the DeletePackages field. -func (o *RepositoryCreate) SetDeletePackages(v string) { +func (o *RepositoryResponse) SetDeletePackages(v string) { o.DeletePackages = &v } // GetDeletedAt returns the DeletedAt field value if set, zero value otherwise. -func (o *RepositoryCreate) GetDeletedAt() string { - if o == nil || o.DeletedAt == nil { - var ret string +func (o *RepositoryResponse) GetDeletedAt() time.Time { + if o == nil || isNil(o.DeletedAt) { + var ret time.Time return ret } return *o.DeletedAt @@ -408,30 +490,30 @@ func (o *RepositoryCreate) GetDeletedAt() string { // GetDeletedAtOk returns a tuple with the DeletedAt field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *RepositoryCreate) GetDeletedAtOk() (*string, bool) { - if o == nil || o.DeletedAt == nil { +func (o *RepositoryResponse) GetDeletedAtOk() (*time.Time, bool) { + if o == nil || isNil(o.DeletedAt) { return nil, false } return o.DeletedAt, true } // HasDeletedAt returns a boolean if a field has been set. -func (o *RepositoryCreate) HasDeletedAt() bool { - if o != nil && o.DeletedAt != nil { +func (o *RepositoryResponse) HasDeletedAt() bool { + if o != nil && !isNil(o.DeletedAt) { return true } return false } -// SetDeletedAt gets a reference to the given string and assigns it to the DeletedAt field. -func (o *RepositoryCreate) SetDeletedAt(v string) { +// SetDeletedAt gets a reference to the given time.Time and assigns it to the DeletedAt field. +func (o *RepositoryResponse) SetDeletedAt(v time.Time) { o.DeletedAt = &v } // GetDescription returns the Description field value if set, zero value otherwise. -func (o *RepositoryCreate) GetDescription() string { - if o == nil || o.Description == nil { +func (o *RepositoryResponse) GetDescription() string { + if o == nil || isNil(o.Description) { var ret string return ret } @@ -440,16 +522,16 @@ func (o *RepositoryCreate) GetDescription() string { // GetDescriptionOk returns a tuple with the Description field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *RepositoryCreate) GetDescriptionOk() (*string, bool) { - if o == nil || o.Description == nil { +func (o *RepositoryResponse) GetDescriptionOk() (*string, bool) { + if o == nil || isNil(o.Description) { return nil, false } return o.Description, true } // HasDescription returns a boolean if a field has been set. -func (o *RepositoryCreate) HasDescription() bool { - if o != nil && o.Description != nil { +func (o *RepositoryResponse) HasDescription() bool { + if o != nil && !isNil(o.Description) { return true } @@ -457,13 +539,45 @@ func (o *RepositoryCreate) HasDescription() bool { } // SetDescription gets a reference to the given string and assigns it to the Description field. -func (o *RepositoryCreate) SetDescription(v string) { +func (o *RepositoryResponse) SetDescription(v string) { o.Description = &v } +// GetDistributes returns the Distributes field value if set, zero value otherwise. +func (o *RepositoryResponse) GetDistributes() []string { + if o == nil || isNil(o.Distributes) { + var ret []string + return ret + } + return o.Distributes +} + +// GetDistributesOk returns a tuple with the Distributes field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *RepositoryResponse) GetDistributesOk() ([]string, bool) { + if o == nil || isNil(o.Distributes) { + return nil, false + } + return o.Distributes, true +} + +// HasDistributes returns a boolean if a field has been set. +func (o *RepositoryResponse) HasDistributes() bool { + if o != nil && !isNil(o.Distributes) { + return true + } + + return false +} + +// SetDistributes gets a reference to the given []string and assigns it to the Distributes field. +func (o *RepositoryResponse) SetDistributes(v []string) { + o.Distributes = v +} + // GetDockerRefreshTokensEnabled returns the DockerRefreshTokensEnabled field value if set, zero value otherwise. -func (o *RepositoryCreate) GetDockerRefreshTokensEnabled() bool { - if o == nil || o.DockerRefreshTokensEnabled == nil { +func (o *RepositoryResponse) GetDockerRefreshTokensEnabled() bool { + if o == nil || isNil(o.DockerRefreshTokensEnabled) { var ret bool return ret } @@ -472,16 +586,16 @@ func (o *RepositoryCreate) GetDockerRefreshTokensEnabled() bool { // GetDockerRefreshTokensEnabledOk returns a tuple with the DockerRefreshTokensEnabled field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *RepositoryCreate) GetDockerRefreshTokensEnabledOk() (*bool, bool) { - if o == nil || o.DockerRefreshTokensEnabled == nil { +func (o *RepositoryResponse) GetDockerRefreshTokensEnabledOk() (*bool, bool) { + if o == nil || isNil(o.DockerRefreshTokensEnabled) { return nil, false } return o.DockerRefreshTokensEnabled, true } // HasDockerRefreshTokensEnabled returns a boolean if a field has been set. -func (o *RepositoryCreate) HasDockerRefreshTokensEnabled() bool { - if o != nil && o.DockerRefreshTokensEnabled != nil { +func (o *RepositoryResponse) HasDockerRefreshTokensEnabled() bool { + if o != nil && !isNil(o.DockerRefreshTokensEnabled) { return true } @@ -489,14 +603,14 @@ func (o *RepositoryCreate) HasDockerRefreshTokensEnabled() bool { } // SetDockerRefreshTokensEnabled gets a reference to the given bool and assigns it to the DockerRefreshTokensEnabled field. -func (o *RepositoryCreate) SetDockerRefreshTokensEnabled(v bool) { +func (o *RepositoryResponse) SetDockerRefreshTokensEnabled(v bool) { o.DockerRefreshTokensEnabled = &v } // GetGpgKeys returns the GpgKeys field value if set, zero value otherwise. -func (o *RepositoryCreate) GetGpgKeys() []ReposGpgKeys { - if o == nil || o.GpgKeys == nil { - var ret []ReposGpgKeys +func (o *RepositoryResponse) GetGpgKeys() []RepositoryGpgKey { + if o == nil || isNil(o.GpgKeys) { + var ret []RepositoryGpgKey return ret } return o.GpgKeys @@ -504,30 +618,30 @@ func (o *RepositoryCreate) GetGpgKeys() []ReposGpgKeys { // GetGpgKeysOk returns a tuple with the GpgKeys field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *RepositoryCreate) GetGpgKeysOk() ([]ReposGpgKeys, bool) { - if o == nil || o.GpgKeys == nil { +func (o *RepositoryResponse) GetGpgKeysOk() ([]RepositoryGpgKey, bool) { + if o == nil || isNil(o.GpgKeys) { return nil, false } return o.GpgKeys, true } // HasGpgKeys returns a boolean if a field has been set. -func (o *RepositoryCreate) HasGpgKeys() bool { - if o != nil && o.GpgKeys != nil { +func (o *RepositoryResponse) HasGpgKeys() bool { + if o != nil && !isNil(o.GpgKeys) { return true } return false } -// SetGpgKeys gets a reference to the given []ReposGpgKeys and assigns it to the GpgKeys field. -func (o *RepositoryCreate) SetGpgKeys(v []ReposGpgKeys) { +// SetGpgKeys gets a reference to the given []RepositoryGpgKey and assigns it to the GpgKeys field. +func (o *RepositoryResponse) SetGpgKeys(v []RepositoryGpgKey) { o.GpgKeys = v } // GetIndexFiles returns the IndexFiles field value if set, zero value otherwise. -func (o *RepositoryCreate) GetIndexFiles() bool { - if o == nil || o.IndexFiles == nil { +func (o *RepositoryResponse) GetIndexFiles() bool { + if o == nil || isNil(o.IndexFiles) { var ret bool return ret } @@ -536,16 +650,16 @@ func (o *RepositoryCreate) GetIndexFiles() bool { // GetIndexFilesOk returns a tuple with the IndexFiles field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *RepositoryCreate) GetIndexFilesOk() (*bool, bool) { - if o == nil || o.IndexFiles == nil { +func (o *RepositoryResponse) GetIndexFilesOk() (*bool, bool) { + if o == nil || isNil(o.IndexFiles) { return nil, false } return o.IndexFiles, true } // HasIndexFiles returns a boolean if a field has been set. -func (o *RepositoryCreate) HasIndexFiles() bool { - if o != nil && o.IndexFiles != nil { +func (o *RepositoryResponse) HasIndexFiles() bool { + if o != nil && !isNil(o.IndexFiles) { return true } @@ -553,13 +667,13 @@ func (o *RepositoryCreate) HasIndexFiles() bool { } // SetIndexFiles gets a reference to the given bool and assigns it to the IndexFiles field. -func (o *RepositoryCreate) SetIndexFiles(v bool) { +func (o *RepositoryResponse) SetIndexFiles(v bool) { o.IndexFiles = &v } // GetIsOpenSource returns the IsOpenSource field value if set, zero value otherwise. -func (o *RepositoryCreate) GetIsOpenSource() bool { - if o == nil || o.IsOpenSource == nil { +func (o *RepositoryResponse) GetIsOpenSource() bool { + if o == nil || isNil(o.IsOpenSource) { var ret bool return ret } @@ -568,16 +682,16 @@ func (o *RepositoryCreate) GetIsOpenSource() bool { // GetIsOpenSourceOk returns a tuple with the IsOpenSource field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *RepositoryCreate) GetIsOpenSourceOk() (*bool, bool) { - if o == nil || o.IsOpenSource == nil { +func (o *RepositoryResponse) GetIsOpenSourceOk() (*bool, bool) { + if o == nil || isNil(o.IsOpenSource) { return nil, false } return o.IsOpenSource, true } // HasIsOpenSource returns a boolean if a field has been set. -func (o *RepositoryCreate) HasIsOpenSource() bool { - if o != nil && o.IsOpenSource != nil { +func (o *RepositoryResponse) HasIsOpenSource() bool { + if o != nil && !isNil(o.IsOpenSource) { return true } @@ -585,13 +699,13 @@ func (o *RepositoryCreate) HasIsOpenSource() bool { } // SetIsOpenSource gets a reference to the given bool and assigns it to the IsOpenSource field. -func (o *RepositoryCreate) SetIsOpenSource(v bool) { +func (o *RepositoryResponse) SetIsOpenSource(v bool) { o.IsOpenSource = &v } // GetIsPrivate returns the IsPrivate field value if set, zero value otherwise. -func (o *RepositoryCreate) GetIsPrivate() bool { - if o == nil || o.IsPrivate == nil { +func (o *RepositoryResponse) GetIsPrivate() bool { + if o == nil || isNil(o.IsPrivate) { var ret bool return ret } @@ -600,16 +714,16 @@ func (o *RepositoryCreate) GetIsPrivate() bool { // GetIsPrivateOk returns a tuple with the IsPrivate field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *RepositoryCreate) GetIsPrivateOk() (*bool, bool) { - if o == nil || o.IsPrivate == nil { +func (o *RepositoryResponse) GetIsPrivateOk() (*bool, bool) { + if o == nil || isNil(o.IsPrivate) { return nil, false } return o.IsPrivate, true } // HasIsPrivate returns a boolean if a field has been set. -func (o *RepositoryCreate) HasIsPrivate() bool { - if o != nil && o.IsPrivate != nil { +func (o *RepositoryResponse) HasIsPrivate() bool { + if o != nil && !isNil(o.IsPrivate) { return true } @@ -617,13 +731,13 @@ func (o *RepositoryCreate) HasIsPrivate() bool { } // SetIsPrivate gets a reference to the given bool and assigns it to the IsPrivate field. -func (o *RepositoryCreate) SetIsPrivate(v bool) { +func (o *RepositoryResponse) SetIsPrivate(v bool) { o.IsPrivate = &v } // GetIsPublic returns the IsPublic field value if set, zero value otherwise. -func (o *RepositoryCreate) GetIsPublic() bool { - if o == nil || o.IsPublic == nil { +func (o *RepositoryResponse) GetIsPublic() bool { + if o == nil || isNil(o.IsPublic) { var ret bool return ret } @@ -632,16 +746,16 @@ func (o *RepositoryCreate) GetIsPublic() bool { // GetIsPublicOk returns a tuple with the IsPublic field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *RepositoryCreate) GetIsPublicOk() (*bool, bool) { - if o == nil || o.IsPublic == nil { +func (o *RepositoryResponse) GetIsPublicOk() (*bool, bool) { + if o == nil || isNil(o.IsPublic) { return nil, false } return o.IsPublic, true } // HasIsPublic returns a boolean if a field has been set. -func (o *RepositoryCreate) HasIsPublic() bool { - if o != nil && o.IsPublic != nil { +func (o *RepositoryResponse) HasIsPublic() bool { + if o != nil && !isNil(o.IsPublic) { return true } @@ -649,13 +763,13 @@ func (o *RepositoryCreate) HasIsPublic() bool { } // SetIsPublic gets a reference to the given bool and assigns it to the IsPublic field. -func (o *RepositoryCreate) SetIsPublic(v bool) { +func (o *RepositoryResponse) SetIsPublic(v bool) { o.IsPublic = &v } // GetMoveOwn returns the MoveOwn field value if set, zero value otherwise. -func (o *RepositoryCreate) GetMoveOwn() bool { - if o == nil || o.MoveOwn == nil { +func (o *RepositoryResponse) GetMoveOwn() bool { + if o == nil || isNil(o.MoveOwn) { var ret bool return ret } @@ -664,16 +778,16 @@ func (o *RepositoryCreate) GetMoveOwn() bool { // GetMoveOwnOk returns a tuple with the MoveOwn field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *RepositoryCreate) GetMoveOwnOk() (*bool, bool) { - if o == nil || o.MoveOwn == nil { +func (o *RepositoryResponse) GetMoveOwnOk() (*bool, bool) { + if o == nil || isNil(o.MoveOwn) { return nil, false } return o.MoveOwn, true } // HasMoveOwn returns a boolean if a field has been set. -func (o *RepositoryCreate) HasMoveOwn() bool { - if o != nil && o.MoveOwn != nil { +func (o *RepositoryResponse) HasMoveOwn() bool { + if o != nil && !isNil(o.MoveOwn) { return true } @@ -681,13 +795,13 @@ func (o *RepositoryCreate) HasMoveOwn() bool { } // SetMoveOwn gets a reference to the given bool and assigns it to the MoveOwn field. -func (o *RepositoryCreate) SetMoveOwn(v bool) { +func (o *RepositoryResponse) SetMoveOwn(v bool) { o.MoveOwn = &v } // GetMovePackages returns the MovePackages field value if set, zero value otherwise. -func (o *RepositoryCreate) GetMovePackages() string { - if o == nil || o.MovePackages == nil { +func (o *RepositoryResponse) GetMovePackages() string { + if o == nil || isNil(o.MovePackages) { var ret string return ret } @@ -696,16 +810,16 @@ func (o *RepositoryCreate) GetMovePackages() string { // GetMovePackagesOk returns a tuple with the MovePackages field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *RepositoryCreate) GetMovePackagesOk() (*string, bool) { - if o == nil || o.MovePackages == nil { +func (o *RepositoryResponse) GetMovePackagesOk() (*string, bool) { + if o == nil || isNil(o.MovePackages) { return nil, false } return o.MovePackages, true } // HasMovePackages returns a boolean if a field has been set. -func (o *RepositoryCreate) HasMovePackages() bool { - if o != nil && o.MovePackages != nil { +func (o *RepositoryResponse) HasMovePackages() bool { + if o != nil && !isNil(o.MovePackages) { return true } @@ -713,12 +827,12 @@ func (o *RepositoryCreate) HasMovePackages() bool { } // SetMovePackages gets a reference to the given string and assigns it to the MovePackages field. -func (o *RepositoryCreate) SetMovePackages(v string) { +func (o *RepositoryResponse) SetMovePackages(v string) { o.MovePackages = &v } // GetName returns the Name field value -func (o *RepositoryCreate) GetName() string { +func (o *RepositoryResponse) GetName() string { if o == nil { var ret string return ret @@ -729,7 +843,7 @@ func (o *RepositoryCreate) GetName() string { // GetNameOk returns a tuple with the Name field value // and a boolean to check if the value has been set. -func (o *RepositoryCreate) GetNameOk() (*string, bool) { +func (o *RepositoryResponse) GetNameOk() (*string, bool) { if o == nil { return nil, false } @@ -737,13 +851,13 @@ func (o *RepositoryCreate) GetNameOk() (*string, bool) { } // SetName sets field value -func (o *RepositoryCreate) SetName(v string) { +func (o *RepositoryResponse) SetName(v string) { o.Name = v } // GetNamespace returns the Namespace field value if set, zero value otherwise. -func (o *RepositoryCreate) GetNamespace() string { - if o == nil || o.Namespace == nil { +func (o *RepositoryResponse) GetNamespace() string { + if o == nil || isNil(o.Namespace) { var ret string return ret } @@ -752,16 +866,16 @@ func (o *RepositoryCreate) GetNamespace() string { // GetNamespaceOk returns a tuple with the Namespace field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *RepositoryCreate) GetNamespaceOk() (*string, bool) { - if o == nil || o.Namespace == nil { +func (o *RepositoryResponse) GetNamespaceOk() (*string, bool) { + if o == nil || isNil(o.Namespace) { return nil, false } return o.Namespace, true } // HasNamespace returns a boolean if a field has been set. -func (o *RepositoryCreate) HasNamespace() bool { - if o != nil && o.Namespace != nil { +func (o *RepositoryResponse) HasNamespace() bool { + if o != nil && !isNil(o.Namespace) { return true } @@ -769,13 +883,13 @@ func (o *RepositoryCreate) HasNamespace() bool { } // SetNamespace gets a reference to the given string and assigns it to the Namespace field. -func (o *RepositoryCreate) SetNamespace(v string) { +func (o *RepositoryResponse) SetNamespace(v string) { o.Namespace = &v } // GetNamespaceUrl returns the NamespaceUrl field value if set, zero value otherwise. -func (o *RepositoryCreate) GetNamespaceUrl() string { - if o == nil || o.NamespaceUrl == nil { +func (o *RepositoryResponse) GetNamespaceUrl() string { + if o == nil || isNil(o.NamespaceUrl) { var ret string return ret } @@ -784,16 +898,16 @@ func (o *RepositoryCreate) GetNamespaceUrl() string { // GetNamespaceUrlOk returns a tuple with the NamespaceUrl field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *RepositoryCreate) GetNamespaceUrlOk() (*string, bool) { - if o == nil || o.NamespaceUrl == nil { +func (o *RepositoryResponse) GetNamespaceUrlOk() (*string, bool) { + if o == nil || isNil(o.NamespaceUrl) { return nil, false } return o.NamespaceUrl, true } // HasNamespaceUrl returns a boolean if a field has been set. -func (o *RepositoryCreate) HasNamespaceUrl() bool { - if o != nil && o.NamespaceUrl != nil { +func (o *RepositoryResponse) HasNamespaceUrl() bool { + if o != nil && !isNil(o.NamespaceUrl) { return true } @@ -801,13 +915,13 @@ func (o *RepositoryCreate) HasNamespaceUrl() bool { } // SetNamespaceUrl gets a reference to the given string and assigns it to the NamespaceUrl field. -func (o *RepositoryCreate) SetNamespaceUrl(v string) { +func (o *RepositoryResponse) SetNamespaceUrl(v string) { o.NamespaceUrl = &v } // GetNumDownloads returns the NumDownloads field value if set, zero value otherwise. -func (o *RepositoryCreate) GetNumDownloads() int64 { - if o == nil || o.NumDownloads == nil { +func (o *RepositoryResponse) GetNumDownloads() int64 { + if o == nil || isNil(o.NumDownloads) { var ret int64 return ret } @@ -816,16 +930,16 @@ func (o *RepositoryCreate) GetNumDownloads() int64 { // GetNumDownloadsOk returns a tuple with the NumDownloads field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *RepositoryCreate) GetNumDownloadsOk() (*int64, bool) { - if o == nil || o.NumDownloads == nil { +func (o *RepositoryResponse) GetNumDownloadsOk() (*int64, bool) { + if o == nil || isNil(o.NumDownloads) { return nil, false } return o.NumDownloads, true } // HasNumDownloads returns a boolean if a field has been set. -func (o *RepositoryCreate) HasNumDownloads() bool { - if o != nil && o.NumDownloads != nil { +func (o *RepositoryResponse) HasNumDownloads() bool { + if o != nil && !isNil(o.NumDownloads) { return true } @@ -833,13 +947,13 @@ func (o *RepositoryCreate) HasNumDownloads() bool { } // SetNumDownloads gets a reference to the given int64 and assigns it to the NumDownloads field. -func (o *RepositoryCreate) SetNumDownloads(v int64) { +func (o *RepositoryResponse) SetNumDownloads(v int64) { o.NumDownloads = &v } // GetPackageCount returns the PackageCount field value if set, zero value otherwise. -func (o *RepositoryCreate) GetPackageCount() int64 { - if o == nil || o.PackageCount == nil { +func (o *RepositoryResponse) GetPackageCount() int64 { + if o == nil || isNil(o.PackageCount) { var ret int64 return ret } @@ -848,16 +962,16 @@ func (o *RepositoryCreate) GetPackageCount() int64 { // GetPackageCountOk returns a tuple with the PackageCount field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *RepositoryCreate) GetPackageCountOk() (*int64, bool) { - if o == nil || o.PackageCount == nil { +func (o *RepositoryResponse) GetPackageCountOk() (*int64, bool) { + if o == nil || isNil(o.PackageCount) { return nil, false } return o.PackageCount, true } // HasPackageCount returns a boolean if a field has been set. -func (o *RepositoryCreate) HasPackageCount() bool { - if o != nil && o.PackageCount != nil { +func (o *RepositoryResponse) HasPackageCount() bool { + if o != nil && !isNil(o.PackageCount) { return true } @@ -865,13 +979,13 @@ func (o *RepositoryCreate) HasPackageCount() bool { } // SetPackageCount gets a reference to the given int64 and assigns it to the PackageCount field. -func (o *RepositoryCreate) SetPackageCount(v int64) { +func (o *RepositoryResponse) SetPackageCount(v int64) { o.PackageCount = &v } // GetPackageGroupCount returns the PackageGroupCount field value if set, zero value otherwise. -func (o *RepositoryCreate) GetPackageGroupCount() int64 { - if o == nil || o.PackageGroupCount == nil { +func (o *RepositoryResponse) GetPackageGroupCount() int64 { + if o == nil || isNil(o.PackageGroupCount) { var ret int64 return ret } @@ -880,16 +994,16 @@ func (o *RepositoryCreate) GetPackageGroupCount() int64 { // GetPackageGroupCountOk returns a tuple with the PackageGroupCount field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *RepositoryCreate) GetPackageGroupCountOk() (*int64, bool) { - if o == nil || o.PackageGroupCount == nil { +func (o *RepositoryResponse) GetPackageGroupCountOk() (*int64, bool) { + if o == nil || isNil(o.PackageGroupCount) { return nil, false } return o.PackageGroupCount, true } // HasPackageGroupCount returns a boolean if a field has been set. -func (o *RepositoryCreate) HasPackageGroupCount() bool { - if o != nil && o.PackageGroupCount != nil { +func (o *RepositoryResponse) HasPackageGroupCount() bool { + if o != nil && !isNil(o.PackageGroupCount) { return true } @@ -897,13 +1011,13 @@ func (o *RepositoryCreate) HasPackageGroupCount() bool { } // SetPackageGroupCount gets a reference to the given int64 and assigns it to the PackageGroupCount field. -func (o *RepositoryCreate) SetPackageGroupCount(v int64) { +func (o *RepositoryResponse) SetPackageGroupCount(v int64) { o.PackageGroupCount = &v } // GetProxyNpmjs returns the ProxyNpmjs field value if set, zero value otherwise. -func (o *RepositoryCreate) GetProxyNpmjs() bool { - if o == nil || o.ProxyNpmjs == nil { +func (o *RepositoryResponse) GetProxyNpmjs() bool { + if o == nil || isNil(o.ProxyNpmjs) { var ret bool return ret } @@ -912,16 +1026,16 @@ func (o *RepositoryCreate) GetProxyNpmjs() bool { // GetProxyNpmjsOk returns a tuple with the ProxyNpmjs field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *RepositoryCreate) GetProxyNpmjsOk() (*bool, bool) { - if o == nil || o.ProxyNpmjs == nil { +func (o *RepositoryResponse) GetProxyNpmjsOk() (*bool, bool) { + if o == nil || isNil(o.ProxyNpmjs) { return nil, false } return o.ProxyNpmjs, true } // HasProxyNpmjs returns a boolean if a field has been set. -func (o *RepositoryCreate) HasProxyNpmjs() bool { - if o != nil && o.ProxyNpmjs != nil { +func (o *RepositoryResponse) HasProxyNpmjs() bool { + if o != nil && !isNil(o.ProxyNpmjs) { return true } @@ -929,13 +1043,13 @@ func (o *RepositoryCreate) HasProxyNpmjs() bool { } // SetProxyNpmjs gets a reference to the given bool and assigns it to the ProxyNpmjs field. -func (o *RepositoryCreate) SetProxyNpmjs(v bool) { +func (o *RepositoryResponse) SetProxyNpmjs(v bool) { o.ProxyNpmjs = &v } // GetProxyPypi returns the ProxyPypi field value if set, zero value otherwise. -func (o *RepositoryCreate) GetProxyPypi() bool { - if o == nil || o.ProxyPypi == nil { +func (o *RepositoryResponse) GetProxyPypi() bool { + if o == nil || isNil(o.ProxyPypi) { var ret bool return ret } @@ -944,16 +1058,16 @@ func (o *RepositoryCreate) GetProxyPypi() bool { // GetProxyPypiOk returns a tuple with the ProxyPypi field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *RepositoryCreate) GetProxyPypiOk() (*bool, bool) { - if o == nil || o.ProxyPypi == nil { +func (o *RepositoryResponse) GetProxyPypiOk() (*bool, bool) { + if o == nil || isNil(o.ProxyPypi) { return nil, false } return o.ProxyPypi, true } // HasProxyPypi returns a boolean if a field has been set. -func (o *RepositoryCreate) HasProxyPypi() bool { - if o != nil && o.ProxyPypi != nil { +func (o *RepositoryResponse) HasProxyPypi() bool { + if o != nil && !isNil(o.ProxyPypi) { return true } @@ -961,13 +1075,13 @@ func (o *RepositoryCreate) HasProxyPypi() bool { } // SetProxyPypi gets a reference to the given bool and assigns it to the ProxyPypi field. -func (o *RepositoryCreate) SetProxyPypi(v bool) { +func (o *RepositoryResponse) SetProxyPypi(v bool) { o.ProxyPypi = &v } // GetRawPackageIndexEnabled returns the RawPackageIndexEnabled field value if set, zero value otherwise. -func (o *RepositoryCreate) GetRawPackageIndexEnabled() bool { - if o == nil || o.RawPackageIndexEnabled == nil { +func (o *RepositoryResponse) GetRawPackageIndexEnabled() bool { + if o == nil || isNil(o.RawPackageIndexEnabled) { var ret bool return ret } @@ -976,16 +1090,16 @@ func (o *RepositoryCreate) GetRawPackageIndexEnabled() bool { // GetRawPackageIndexEnabledOk returns a tuple with the RawPackageIndexEnabled field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *RepositoryCreate) GetRawPackageIndexEnabledOk() (*bool, bool) { - if o == nil || o.RawPackageIndexEnabled == nil { +func (o *RepositoryResponse) GetRawPackageIndexEnabledOk() (*bool, bool) { + if o == nil || isNil(o.RawPackageIndexEnabled) { return nil, false } return o.RawPackageIndexEnabled, true } // HasRawPackageIndexEnabled returns a boolean if a field has been set. -func (o *RepositoryCreate) HasRawPackageIndexEnabled() bool { - if o != nil && o.RawPackageIndexEnabled != nil { +func (o *RepositoryResponse) HasRawPackageIndexEnabled() bool { + if o != nil && !isNil(o.RawPackageIndexEnabled) { return true } @@ -993,13 +1107,13 @@ func (o *RepositoryCreate) HasRawPackageIndexEnabled() bool { } // SetRawPackageIndexEnabled gets a reference to the given bool and assigns it to the RawPackageIndexEnabled field. -func (o *RepositoryCreate) SetRawPackageIndexEnabled(v bool) { +func (o *RepositoryResponse) SetRawPackageIndexEnabled(v bool) { o.RawPackageIndexEnabled = &v } // GetRawPackageIndexSignaturesEnabled returns the RawPackageIndexSignaturesEnabled field value if set, zero value otherwise. -func (o *RepositoryCreate) GetRawPackageIndexSignaturesEnabled() bool { - if o == nil || o.RawPackageIndexSignaturesEnabled == nil { +func (o *RepositoryResponse) GetRawPackageIndexSignaturesEnabled() bool { + if o == nil || isNil(o.RawPackageIndexSignaturesEnabled) { var ret bool return ret } @@ -1008,16 +1122,16 @@ func (o *RepositoryCreate) GetRawPackageIndexSignaturesEnabled() bool { // GetRawPackageIndexSignaturesEnabledOk returns a tuple with the RawPackageIndexSignaturesEnabled field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *RepositoryCreate) GetRawPackageIndexSignaturesEnabledOk() (*bool, bool) { - if o == nil || o.RawPackageIndexSignaturesEnabled == nil { +func (o *RepositoryResponse) GetRawPackageIndexSignaturesEnabledOk() (*bool, bool) { + if o == nil || isNil(o.RawPackageIndexSignaturesEnabled) { return nil, false } return o.RawPackageIndexSignaturesEnabled, true } // HasRawPackageIndexSignaturesEnabled returns a boolean if a field has been set. -func (o *RepositoryCreate) HasRawPackageIndexSignaturesEnabled() bool { - if o != nil && o.RawPackageIndexSignaturesEnabled != nil { +func (o *RepositoryResponse) HasRawPackageIndexSignaturesEnabled() bool { + if o != nil && !isNil(o.RawPackageIndexSignaturesEnabled) { return true } @@ -1025,13 +1139,13 @@ func (o *RepositoryCreate) HasRawPackageIndexSignaturesEnabled() bool { } // SetRawPackageIndexSignaturesEnabled gets a reference to the given bool and assigns it to the RawPackageIndexSignaturesEnabled field. -func (o *RepositoryCreate) SetRawPackageIndexSignaturesEnabled(v bool) { +func (o *RepositoryResponse) SetRawPackageIndexSignaturesEnabled(v bool) { o.RawPackageIndexSignaturesEnabled = &v } // GetReplacePackages returns the ReplacePackages field value if set, zero value otherwise. -func (o *RepositoryCreate) GetReplacePackages() string { - if o == nil || o.ReplacePackages == nil { +func (o *RepositoryResponse) GetReplacePackages() string { + if o == nil || isNil(o.ReplacePackages) { var ret string return ret } @@ -1040,16 +1154,16 @@ func (o *RepositoryCreate) GetReplacePackages() string { // GetReplacePackagesOk returns a tuple with the ReplacePackages field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *RepositoryCreate) GetReplacePackagesOk() (*string, bool) { - if o == nil || o.ReplacePackages == nil { +func (o *RepositoryResponse) GetReplacePackagesOk() (*string, bool) { + if o == nil || isNil(o.ReplacePackages) { return nil, false } return o.ReplacePackages, true } // HasReplacePackages returns a boolean if a field has been set. -func (o *RepositoryCreate) HasReplacePackages() bool { - if o != nil && o.ReplacePackages != nil { +func (o *RepositoryResponse) HasReplacePackages() bool { + if o != nil && !isNil(o.ReplacePackages) { return true } @@ -1057,13 +1171,13 @@ func (o *RepositoryCreate) HasReplacePackages() bool { } // SetReplacePackages gets a reference to the given string and assigns it to the ReplacePackages field. -func (o *RepositoryCreate) SetReplacePackages(v string) { +func (o *RepositoryResponse) SetReplacePackages(v string) { o.ReplacePackages = &v } // GetReplacePackagesByDefault returns the ReplacePackagesByDefault field value if set, zero value otherwise. -func (o *RepositoryCreate) GetReplacePackagesByDefault() bool { - if o == nil || o.ReplacePackagesByDefault == nil { +func (o *RepositoryResponse) GetReplacePackagesByDefault() bool { + if o == nil || isNil(o.ReplacePackagesByDefault) { var ret bool return ret } @@ -1072,16 +1186,16 @@ func (o *RepositoryCreate) GetReplacePackagesByDefault() bool { // GetReplacePackagesByDefaultOk returns a tuple with the ReplacePackagesByDefault field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *RepositoryCreate) GetReplacePackagesByDefaultOk() (*bool, bool) { - if o == nil || o.ReplacePackagesByDefault == nil { +func (o *RepositoryResponse) GetReplacePackagesByDefaultOk() (*bool, bool) { + if o == nil || isNil(o.ReplacePackagesByDefault) { return nil, false } return o.ReplacePackagesByDefault, true } // HasReplacePackagesByDefault returns a boolean if a field has been set. -func (o *RepositoryCreate) HasReplacePackagesByDefault() bool { - if o != nil && o.ReplacePackagesByDefault != nil { +func (o *RepositoryResponse) HasReplacePackagesByDefault() bool { + if o != nil && !isNil(o.ReplacePackagesByDefault) { return true } @@ -1089,13 +1203,13 @@ func (o *RepositoryCreate) HasReplacePackagesByDefault() bool { } // SetReplacePackagesByDefault gets a reference to the given bool and assigns it to the ReplacePackagesByDefault field. -func (o *RepositoryCreate) SetReplacePackagesByDefault(v bool) { +func (o *RepositoryResponse) SetReplacePackagesByDefault(v bool) { o.ReplacePackagesByDefault = &v } // GetRepositoryType returns the RepositoryType field value if set, zero value otherwise. -func (o *RepositoryCreate) GetRepositoryType() int64 { - if o == nil || o.RepositoryType == nil { +func (o *RepositoryResponse) GetRepositoryType() int64 { + if o == nil || isNil(o.RepositoryType) { var ret int64 return ret } @@ -1104,16 +1218,16 @@ func (o *RepositoryCreate) GetRepositoryType() int64 { // GetRepositoryTypeOk returns a tuple with the RepositoryType field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *RepositoryCreate) GetRepositoryTypeOk() (*int64, bool) { - if o == nil || o.RepositoryType == nil { +func (o *RepositoryResponse) GetRepositoryTypeOk() (*int64, bool) { + if o == nil || isNil(o.RepositoryType) { return nil, false } return o.RepositoryType, true } // HasRepositoryType returns a boolean if a field has been set. -func (o *RepositoryCreate) HasRepositoryType() bool { - if o != nil && o.RepositoryType != nil { +func (o *RepositoryResponse) HasRepositoryType() bool { + if o != nil && !isNil(o.RepositoryType) { return true } @@ -1121,13 +1235,13 @@ func (o *RepositoryCreate) HasRepositoryType() bool { } // SetRepositoryType gets a reference to the given int64 and assigns it to the RepositoryType field. -func (o *RepositoryCreate) SetRepositoryType(v int64) { +func (o *RepositoryResponse) SetRepositoryType(v int64) { o.RepositoryType = &v } // GetRepositoryTypeStr returns the RepositoryTypeStr field value if set, zero value otherwise. -func (o *RepositoryCreate) GetRepositoryTypeStr() string { - if o == nil || o.RepositoryTypeStr == nil { +func (o *RepositoryResponse) GetRepositoryTypeStr() string { + if o == nil || isNil(o.RepositoryTypeStr) { var ret string return ret } @@ -1136,16 +1250,16 @@ func (o *RepositoryCreate) GetRepositoryTypeStr() string { // GetRepositoryTypeStrOk returns a tuple with the RepositoryTypeStr field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *RepositoryCreate) GetRepositoryTypeStrOk() (*string, bool) { - if o == nil || o.RepositoryTypeStr == nil { +func (o *RepositoryResponse) GetRepositoryTypeStrOk() (*string, bool) { + if o == nil || isNil(o.RepositoryTypeStr) { return nil, false } return o.RepositoryTypeStr, true } // HasRepositoryTypeStr returns a boolean if a field has been set. -func (o *RepositoryCreate) HasRepositoryTypeStr() bool { - if o != nil && o.RepositoryTypeStr != nil { +func (o *RepositoryResponse) HasRepositoryTypeStr() bool { + if o != nil && !isNil(o.RepositoryTypeStr) { return true } @@ -1153,13 +1267,13 @@ func (o *RepositoryCreate) HasRepositoryTypeStr() bool { } // SetRepositoryTypeStr gets a reference to the given string and assigns it to the RepositoryTypeStr field. -func (o *RepositoryCreate) SetRepositoryTypeStr(v string) { +func (o *RepositoryResponse) SetRepositoryTypeStr(v string) { o.RepositoryTypeStr = &v } // GetResyncOwn returns the ResyncOwn field value if set, zero value otherwise. -func (o *RepositoryCreate) GetResyncOwn() bool { - if o == nil || o.ResyncOwn == nil { +func (o *RepositoryResponse) GetResyncOwn() bool { + if o == nil || isNil(o.ResyncOwn) { var ret bool return ret } @@ -1168,16 +1282,16 @@ func (o *RepositoryCreate) GetResyncOwn() bool { // GetResyncOwnOk returns a tuple with the ResyncOwn field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *RepositoryCreate) GetResyncOwnOk() (*bool, bool) { - if o == nil || o.ResyncOwn == nil { +func (o *RepositoryResponse) GetResyncOwnOk() (*bool, bool) { + if o == nil || isNil(o.ResyncOwn) { return nil, false } return o.ResyncOwn, true } // HasResyncOwn returns a boolean if a field has been set. -func (o *RepositoryCreate) HasResyncOwn() bool { - if o != nil && o.ResyncOwn != nil { +func (o *RepositoryResponse) HasResyncOwn() bool { + if o != nil && !isNil(o.ResyncOwn) { return true } @@ -1185,13 +1299,13 @@ func (o *RepositoryCreate) HasResyncOwn() bool { } // SetResyncOwn gets a reference to the given bool and assigns it to the ResyncOwn field. -func (o *RepositoryCreate) SetResyncOwn(v bool) { +func (o *RepositoryResponse) SetResyncOwn(v bool) { o.ResyncOwn = &v } // GetResyncPackages returns the ResyncPackages field value if set, zero value otherwise. -func (o *RepositoryCreate) GetResyncPackages() string { - if o == nil || o.ResyncPackages == nil { +func (o *RepositoryResponse) GetResyncPackages() string { + if o == nil || isNil(o.ResyncPackages) { var ret string return ret } @@ -1200,16 +1314,16 @@ func (o *RepositoryCreate) GetResyncPackages() string { // GetResyncPackagesOk returns a tuple with the ResyncPackages field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *RepositoryCreate) GetResyncPackagesOk() (*string, bool) { - if o == nil || o.ResyncPackages == nil { +func (o *RepositoryResponse) GetResyncPackagesOk() (*string, bool) { + if o == nil || isNil(o.ResyncPackages) { return nil, false } return o.ResyncPackages, true } // HasResyncPackages returns a boolean if a field has been set. -func (o *RepositoryCreate) HasResyncPackages() bool { - if o != nil && o.ResyncPackages != nil { +func (o *RepositoryResponse) HasResyncPackages() bool { + if o != nil && !isNil(o.ResyncPackages) { return true } @@ -1217,13 +1331,13 @@ func (o *RepositoryCreate) HasResyncPackages() bool { } // SetResyncPackages gets a reference to the given string and assigns it to the ResyncPackages field. -func (o *RepositoryCreate) SetResyncPackages(v string) { +func (o *RepositoryResponse) SetResyncPackages(v string) { o.ResyncPackages = &v } // GetScanOwn returns the ScanOwn field value if set, zero value otherwise. -func (o *RepositoryCreate) GetScanOwn() bool { - if o == nil || o.ScanOwn == nil { +func (o *RepositoryResponse) GetScanOwn() bool { + if o == nil || isNil(o.ScanOwn) { var ret bool return ret } @@ -1232,16 +1346,16 @@ func (o *RepositoryCreate) GetScanOwn() bool { // GetScanOwnOk returns a tuple with the ScanOwn field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *RepositoryCreate) GetScanOwnOk() (*bool, bool) { - if o == nil || o.ScanOwn == nil { +func (o *RepositoryResponse) GetScanOwnOk() (*bool, bool) { + if o == nil || isNil(o.ScanOwn) { return nil, false } return o.ScanOwn, true } // HasScanOwn returns a boolean if a field has been set. -func (o *RepositoryCreate) HasScanOwn() bool { - if o != nil && o.ScanOwn != nil { +func (o *RepositoryResponse) HasScanOwn() bool { + if o != nil && !isNil(o.ScanOwn) { return true } @@ -1249,13 +1363,13 @@ func (o *RepositoryCreate) HasScanOwn() bool { } // SetScanOwn gets a reference to the given bool and assigns it to the ScanOwn field. -func (o *RepositoryCreate) SetScanOwn(v bool) { +func (o *RepositoryResponse) SetScanOwn(v bool) { o.ScanOwn = &v } // GetScanPackages returns the ScanPackages field value if set, zero value otherwise. -func (o *RepositoryCreate) GetScanPackages() string { - if o == nil || o.ScanPackages == nil { +func (o *RepositoryResponse) GetScanPackages() string { + if o == nil || isNil(o.ScanPackages) { var ret string return ret } @@ -1264,16 +1378,16 @@ func (o *RepositoryCreate) GetScanPackages() string { // GetScanPackagesOk returns a tuple with the ScanPackages field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *RepositoryCreate) GetScanPackagesOk() (*string, bool) { - if o == nil || o.ScanPackages == nil { +func (o *RepositoryResponse) GetScanPackagesOk() (*string, bool) { + if o == nil || isNil(o.ScanPackages) { return nil, false } return o.ScanPackages, true } // HasScanPackages returns a boolean if a field has been set. -func (o *RepositoryCreate) HasScanPackages() bool { - if o != nil && o.ScanPackages != nil { +func (o *RepositoryResponse) HasScanPackages() bool { + if o != nil && !isNil(o.ScanPackages) { return true } @@ -1281,13 +1395,13 @@ func (o *RepositoryCreate) HasScanPackages() bool { } // SetScanPackages gets a reference to the given string and assigns it to the ScanPackages field. -func (o *RepositoryCreate) SetScanPackages(v string) { +func (o *RepositoryResponse) SetScanPackages(v string) { o.ScanPackages = &v } // GetSelfHtmlUrl returns the SelfHtmlUrl field value if set, zero value otherwise. -func (o *RepositoryCreate) GetSelfHtmlUrl() string { - if o == nil || o.SelfHtmlUrl == nil { +func (o *RepositoryResponse) GetSelfHtmlUrl() string { + if o == nil || isNil(o.SelfHtmlUrl) { var ret string return ret } @@ -1296,16 +1410,16 @@ func (o *RepositoryCreate) GetSelfHtmlUrl() string { // GetSelfHtmlUrlOk returns a tuple with the SelfHtmlUrl field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *RepositoryCreate) GetSelfHtmlUrlOk() (*string, bool) { - if o == nil || o.SelfHtmlUrl == nil { +func (o *RepositoryResponse) GetSelfHtmlUrlOk() (*string, bool) { + if o == nil || isNil(o.SelfHtmlUrl) { return nil, false } return o.SelfHtmlUrl, true } // HasSelfHtmlUrl returns a boolean if a field has been set. -func (o *RepositoryCreate) HasSelfHtmlUrl() bool { - if o != nil && o.SelfHtmlUrl != nil { +func (o *RepositoryResponse) HasSelfHtmlUrl() bool { + if o != nil && !isNil(o.SelfHtmlUrl) { return true } @@ -1313,13 +1427,13 @@ func (o *RepositoryCreate) HasSelfHtmlUrl() bool { } // SetSelfHtmlUrl gets a reference to the given string and assigns it to the SelfHtmlUrl field. -func (o *RepositoryCreate) SetSelfHtmlUrl(v string) { +func (o *RepositoryResponse) SetSelfHtmlUrl(v string) { o.SelfHtmlUrl = &v } // GetSelfUrl returns the SelfUrl field value if set, zero value otherwise. -func (o *RepositoryCreate) GetSelfUrl() string { - if o == nil || o.SelfUrl == nil { +func (o *RepositoryResponse) GetSelfUrl() string { + if o == nil || isNil(o.SelfUrl) { var ret string return ret } @@ -1328,16 +1442,16 @@ func (o *RepositoryCreate) GetSelfUrl() string { // GetSelfUrlOk returns a tuple with the SelfUrl field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *RepositoryCreate) GetSelfUrlOk() (*string, bool) { - if o == nil || o.SelfUrl == nil { +func (o *RepositoryResponse) GetSelfUrlOk() (*string, bool) { + if o == nil || isNil(o.SelfUrl) { return nil, false } return o.SelfUrl, true } // HasSelfUrl returns a boolean if a field has been set. -func (o *RepositoryCreate) HasSelfUrl() bool { - if o != nil && o.SelfUrl != nil { +func (o *RepositoryResponse) HasSelfUrl() bool { + if o != nil && !isNil(o.SelfUrl) { return true } @@ -1345,13 +1459,13 @@ func (o *RepositoryCreate) HasSelfUrl() bool { } // SetSelfUrl gets a reference to the given string and assigns it to the SelfUrl field. -func (o *RepositoryCreate) SetSelfUrl(v string) { +func (o *RepositoryResponse) SetSelfUrl(v string) { o.SelfUrl = &v } // GetShowSetupAll returns the ShowSetupAll field value if set, zero value otherwise. -func (o *RepositoryCreate) GetShowSetupAll() bool { - if o == nil || o.ShowSetupAll == nil { +func (o *RepositoryResponse) GetShowSetupAll() bool { + if o == nil || isNil(o.ShowSetupAll) { var ret bool return ret } @@ -1360,16 +1474,16 @@ func (o *RepositoryCreate) GetShowSetupAll() bool { // GetShowSetupAllOk returns a tuple with the ShowSetupAll field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *RepositoryCreate) GetShowSetupAllOk() (*bool, bool) { - if o == nil || o.ShowSetupAll == nil { +func (o *RepositoryResponse) GetShowSetupAllOk() (*bool, bool) { + if o == nil || isNil(o.ShowSetupAll) { return nil, false } return o.ShowSetupAll, true } // HasShowSetupAll returns a boolean if a field has been set. -func (o *RepositoryCreate) HasShowSetupAll() bool { - if o != nil && o.ShowSetupAll != nil { +func (o *RepositoryResponse) HasShowSetupAll() bool { + if o != nil && !isNil(o.ShowSetupAll) { return true } @@ -1377,13 +1491,13 @@ func (o *RepositoryCreate) HasShowSetupAll() bool { } // SetShowSetupAll gets a reference to the given bool and assigns it to the ShowSetupAll field. -func (o *RepositoryCreate) SetShowSetupAll(v bool) { +func (o *RepositoryResponse) SetShowSetupAll(v bool) { o.ShowSetupAll = &v } // GetSize returns the Size field value if set, zero value otherwise. -func (o *RepositoryCreate) GetSize() int64 { - if o == nil || o.Size == nil { +func (o *RepositoryResponse) GetSize() int64 { + if o == nil || isNil(o.Size) { var ret int64 return ret } @@ -1392,16 +1506,16 @@ func (o *RepositoryCreate) GetSize() int64 { // GetSizeOk returns a tuple with the Size field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *RepositoryCreate) GetSizeOk() (*int64, bool) { - if o == nil || o.Size == nil { +func (o *RepositoryResponse) GetSizeOk() (*int64, bool) { + if o == nil || isNil(o.Size) { return nil, false } return o.Size, true } // HasSize returns a boolean if a field has been set. -func (o *RepositoryCreate) HasSize() bool { - if o != nil && o.Size != nil { +func (o *RepositoryResponse) HasSize() bool { + if o != nil && !isNil(o.Size) { return true } @@ -1409,13 +1523,13 @@ func (o *RepositoryCreate) HasSize() bool { } // SetSize gets a reference to the given int64 and assigns it to the Size field. -func (o *RepositoryCreate) SetSize(v int64) { +func (o *RepositoryResponse) SetSize(v int64) { o.Size = &v } // GetSizeStr returns the SizeStr field value if set, zero value otherwise. -func (o *RepositoryCreate) GetSizeStr() string { - if o == nil || o.SizeStr == nil { +func (o *RepositoryResponse) GetSizeStr() string { + if o == nil || isNil(o.SizeStr) { var ret string return ret } @@ -1424,16 +1538,16 @@ func (o *RepositoryCreate) GetSizeStr() string { // GetSizeStrOk returns a tuple with the SizeStr field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *RepositoryCreate) GetSizeStrOk() (*string, bool) { - if o == nil || o.SizeStr == nil { +func (o *RepositoryResponse) GetSizeStrOk() (*string, bool) { + if o == nil || isNil(o.SizeStr) { return nil, false } return o.SizeStr, true } // HasSizeStr returns a boolean if a field has been set. -func (o *RepositoryCreate) HasSizeStr() bool { - if o != nil && o.SizeStr != nil { +func (o *RepositoryResponse) HasSizeStr() bool { + if o != nil && !isNil(o.SizeStr) { return true } @@ -1441,13 +1555,13 @@ func (o *RepositoryCreate) HasSizeStr() bool { } // SetSizeStr gets a reference to the given string and assigns it to the SizeStr field. -func (o *RepositoryCreate) SetSizeStr(v string) { +func (o *RepositoryResponse) SetSizeStr(v string) { o.SizeStr = &v } // GetSlug returns the Slug field value if set, zero value otherwise. -func (o *RepositoryCreate) GetSlug() string { - if o == nil || o.Slug == nil { +func (o *RepositoryResponse) GetSlug() string { + if o == nil || isNil(o.Slug) { var ret string return ret } @@ -1456,16 +1570,16 @@ func (o *RepositoryCreate) GetSlug() string { // GetSlugOk returns a tuple with the Slug field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *RepositoryCreate) GetSlugOk() (*string, bool) { - if o == nil || o.Slug == nil { +func (o *RepositoryResponse) GetSlugOk() (*string, bool) { + if o == nil || isNil(o.Slug) { return nil, false } return o.Slug, true } // HasSlug returns a boolean if a field has been set. -func (o *RepositoryCreate) HasSlug() bool { - if o != nil && o.Slug != nil { +func (o *RepositoryResponse) HasSlug() bool { + if o != nil && !isNil(o.Slug) { return true } @@ -1473,13 +1587,13 @@ func (o *RepositoryCreate) HasSlug() bool { } // SetSlug gets a reference to the given string and assigns it to the Slug field. -func (o *RepositoryCreate) SetSlug(v string) { +func (o *RepositoryResponse) SetSlug(v string) { o.Slug = &v } // GetSlugPerm returns the SlugPerm field value if set, zero value otherwise. -func (o *RepositoryCreate) GetSlugPerm() string { - if o == nil || o.SlugPerm == nil { +func (o *RepositoryResponse) GetSlugPerm() string { + if o == nil || isNil(o.SlugPerm) { var ret string return ret } @@ -1488,16 +1602,16 @@ func (o *RepositoryCreate) GetSlugPerm() string { // GetSlugPermOk returns a tuple with the SlugPerm field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *RepositoryCreate) GetSlugPermOk() (*string, bool) { - if o == nil || o.SlugPerm == nil { +func (o *RepositoryResponse) GetSlugPermOk() (*string, bool) { + if o == nil || isNil(o.SlugPerm) { return nil, false } return o.SlugPerm, true } // HasSlugPerm returns a boolean if a field has been set. -func (o *RepositoryCreate) HasSlugPerm() bool { - if o != nil && o.SlugPerm != nil { +func (o *RepositoryResponse) HasSlugPerm() bool { + if o != nil && !isNil(o.SlugPerm) { return true } @@ -1505,13 +1619,13 @@ func (o *RepositoryCreate) HasSlugPerm() bool { } // SetSlugPerm gets a reference to the given string and assigns it to the SlugPerm field. -func (o *RepositoryCreate) SetSlugPerm(v string) { +func (o *RepositoryResponse) SetSlugPerm(v string) { o.SlugPerm = &v } // GetStorageRegion returns the StorageRegion field value if set, zero value otherwise. -func (o *RepositoryCreate) GetStorageRegion() string { - if o == nil || o.StorageRegion == nil { +func (o *RepositoryResponse) GetStorageRegion() string { + if o == nil || isNil(o.StorageRegion) { var ret string return ret } @@ -1520,16 +1634,16 @@ func (o *RepositoryCreate) GetStorageRegion() string { // GetStorageRegionOk returns a tuple with the StorageRegion field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *RepositoryCreate) GetStorageRegionOk() (*string, bool) { - if o == nil || o.StorageRegion == nil { +func (o *RepositoryResponse) GetStorageRegionOk() (*string, bool) { + if o == nil || isNil(o.StorageRegion) { return nil, false } return o.StorageRegion, true } // HasStorageRegion returns a boolean if a field has been set. -func (o *RepositoryCreate) HasStorageRegion() bool { - if o != nil && o.StorageRegion != nil { +func (o *RepositoryResponse) HasStorageRegion() bool { + if o != nil && !isNil(o.StorageRegion) { return true } @@ -1537,13 +1651,13 @@ func (o *RepositoryCreate) HasStorageRegion() bool { } // SetStorageRegion gets a reference to the given string and assigns it to the StorageRegion field. -func (o *RepositoryCreate) SetStorageRegion(v string) { +func (o *RepositoryResponse) SetStorageRegion(v string) { o.StorageRegion = &v } // GetStrictNpmValidation returns the StrictNpmValidation field value if set, zero value otherwise. -func (o *RepositoryCreate) GetStrictNpmValidation() bool { - if o == nil || o.StrictNpmValidation == nil { +func (o *RepositoryResponse) GetStrictNpmValidation() bool { + if o == nil || isNil(o.StrictNpmValidation) { var ret bool return ret } @@ -1552,16 +1666,16 @@ func (o *RepositoryCreate) GetStrictNpmValidation() bool { // GetStrictNpmValidationOk returns a tuple with the StrictNpmValidation field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *RepositoryCreate) GetStrictNpmValidationOk() (*bool, bool) { - if o == nil || o.StrictNpmValidation == nil { +func (o *RepositoryResponse) GetStrictNpmValidationOk() (*bool, bool) { + if o == nil || isNil(o.StrictNpmValidation) { return nil, false } return o.StrictNpmValidation, true } // HasStrictNpmValidation returns a boolean if a field has been set. -func (o *RepositoryCreate) HasStrictNpmValidation() bool { - if o != nil && o.StrictNpmValidation != nil { +func (o *RepositoryResponse) HasStrictNpmValidation() bool { + if o != nil && !isNil(o.StrictNpmValidation) { return true } @@ -1569,13 +1683,13 @@ func (o *RepositoryCreate) HasStrictNpmValidation() bool { } // SetStrictNpmValidation gets a reference to the given bool and assigns it to the StrictNpmValidation field. -func (o *RepositoryCreate) SetStrictNpmValidation(v bool) { +func (o *RepositoryResponse) SetStrictNpmValidation(v bool) { o.StrictNpmValidation = &v } // GetUseDebianLabels returns the UseDebianLabels field value if set, zero value otherwise. -func (o *RepositoryCreate) GetUseDebianLabels() bool { - if o == nil || o.UseDebianLabels == nil { +func (o *RepositoryResponse) GetUseDebianLabels() bool { + if o == nil || isNil(o.UseDebianLabels) { var ret bool return ret } @@ -1584,16 +1698,16 @@ func (o *RepositoryCreate) GetUseDebianLabels() bool { // GetUseDebianLabelsOk returns a tuple with the UseDebianLabels field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *RepositoryCreate) GetUseDebianLabelsOk() (*bool, bool) { - if o == nil || o.UseDebianLabels == nil { +func (o *RepositoryResponse) GetUseDebianLabelsOk() (*bool, bool) { + if o == nil || isNil(o.UseDebianLabels) { return nil, false } return o.UseDebianLabels, true } // HasUseDebianLabels returns a boolean if a field has been set. -func (o *RepositoryCreate) HasUseDebianLabels() bool { - if o != nil && o.UseDebianLabels != nil { +func (o *RepositoryResponse) HasUseDebianLabels() bool { + if o != nil && !isNil(o.UseDebianLabels) { return true } @@ -1601,13 +1715,13 @@ func (o *RepositoryCreate) HasUseDebianLabels() bool { } // SetUseDebianLabels gets a reference to the given bool and assigns it to the UseDebianLabels field. -func (o *RepositoryCreate) SetUseDebianLabels(v bool) { +func (o *RepositoryResponse) SetUseDebianLabels(v bool) { o.UseDebianLabels = &v } // GetUseDefaultCargoUpstream returns the UseDefaultCargoUpstream field value if set, zero value otherwise. -func (o *RepositoryCreate) GetUseDefaultCargoUpstream() bool { - if o == nil || o.UseDefaultCargoUpstream == nil { +func (o *RepositoryResponse) GetUseDefaultCargoUpstream() bool { + if o == nil || isNil(o.UseDefaultCargoUpstream) { var ret bool return ret } @@ -1616,16 +1730,16 @@ func (o *RepositoryCreate) GetUseDefaultCargoUpstream() bool { // GetUseDefaultCargoUpstreamOk returns a tuple with the UseDefaultCargoUpstream field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *RepositoryCreate) GetUseDefaultCargoUpstreamOk() (*bool, bool) { - if o == nil || o.UseDefaultCargoUpstream == nil { +func (o *RepositoryResponse) GetUseDefaultCargoUpstreamOk() (*bool, bool) { + if o == nil || isNil(o.UseDefaultCargoUpstream) { return nil, false } return o.UseDefaultCargoUpstream, true } // HasUseDefaultCargoUpstream returns a boolean if a field has been set. -func (o *RepositoryCreate) HasUseDefaultCargoUpstream() bool { - if o != nil && o.UseDefaultCargoUpstream != nil { +func (o *RepositoryResponse) HasUseDefaultCargoUpstream() bool { + if o != nil && !isNil(o.UseDefaultCargoUpstream) { return true } @@ -1633,13 +1747,13 @@ func (o *RepositoryCreate) HasUseDefaultCargoUpstream() bool { } // SetUseDefaultCargoUpstream gets a reference to the given bool and assigns it to the UseDefaultCargoUpstream field. -func (o *RepositoryCreate) SetUseDefaultCargoUpstream(v bool) { +func (o *RepositoryResponse) SetUseDefaultCargoUpstream(v bool) { o.UseDefaultCargoUpstream = &v } // GetUseNoarchPackages returns the UseNoarchPackages field value if set, zero value otherwise. -func (o *RepositoryCreate) GetUseNoarchPackages() bool { - if o == nil || o.UseNoarchPackages == nil { +func (o *RepositoryResponse) GetUseNoarchPackages() bool { + if o == nil || isNil(o.UseNoarchPackages) { var ret bool return ret } @@ -1648,16 +1762,16 @@ func (o *RepositoryCreate) GetUseNoarchPackages() bool { // GetUseNoarchPackagesOk returns a tuple with the UseNoarchPackages field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *RepositoryCreate) GetUseNoarchPackagesOk() (*bool, bool) { - if o == nil || o.UseNoarchPackages == nil { +func (o *RepositoryResponse) GetUseNoarchPackagesOk() (*bool, bool) { + if o == nil || isNil(o.UseNoarchPackages) { return nil, false } return o.UseNoarchPackages, true } // HasUseNoarchPackages returns a boolean if a field has been set. -func (o *RepositoryCreate) HasUseNoarchPackages() bool { - if o != nil && o.UseNoarchPackages != nil { +func (o *RepositoryResponse) HasUseNoarchPackages() bool { + if o != nil && !isNil(o.UseNoarchPackages) { return true } @@ -1665,13 +1779,13 @@ func (o *RepositoryCreate) HasUseNoarchPackages() bool { } // SetUseNoarchPackages gets a reference to the given bool and assigns it to the UseNoarchPackages field. -func (o *RepositoryCreate) SetUseNoarchPackages(v bool) { +func (o *RepositoryResponse) SetUseNoarchPackages(v bool) { o.UseNoarchPackages = &v } // GetUseSourcePackages returns the UseSourcePackages field value if set, zero value otherwise. -func (o *RepositoryCreate) GetUseSourcePackages() bool { - if o == nil || o.UseSourcePackages == nil { +func (o *RepositoryResponse) GetUseSourcePackages() bool { + if o == nil || isNil(o.UseSourcePackages) { var ret bool return ret } @@ -1680,16 +1794,16 @@ func (o *RepositoryCreate) GetUseSourcePackages() bool { // GetUseSourcePackagesOk returns a tuple with the UseSourcePackages field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *RepositoryCreate) GetUseSourcePackagesOk() (*bool, bool) { - if o == nil || o.UseSourcePackages == nil { +func (o *RepositoryResponse) GetUseSourcePackagesOk() (*bool, bool) { + if o == nil || isNil(o.UseSourcePackages) { return nil, false } return o.UseSourcePackages, true } // HasUseSourcePackages returns a boolean if a field has been set. -func (o *RepositoryCreate) HasUseSourcePackages() bool { - if o != nil && o.UseSourcePackages != nil { +func (o *RepositoryResponse) HasUseSourcePackages() bool { + if o != nil && !isNil(o.UseSourcePackages) { return true } @@ -1697,13 +1811,13 @@ func (o *RepositoryCreate) HasUseSourcePackages() bool { } // SetUseSourcePackages gets a reference to the given bool and assigns it to the UseSourcePackages field. -func (o *RepositoryCreate) SetUseSourcePackages(v bool) { +func (o *RepositoryResponse) SetUseSourcePackages(v bool) { o.UseSourcePackages = &v } // GetUseVulnerabilityScanning returns the UseVulnerabilityScanning field value if set, zero value otherwise. -func (o *RepositoryCreate) GetUseVulnerabilityScanning() bool { - if o == nil || o.UseVulnerabilityScanning == nil { +func (o *RepositoryResponse) GetUseVulnerabilityScanning() bool { + if o == nil || isNil(o.UseVulnerabilityScanning) { var ret bool return ret } @@ -1712,16 +1826,16 @@ func (o *RepositoryCreate) GetUseVulnerabilityScanning() bool { // GetUseVulnerabilityScanningOk returns a tuple with the UseVulnerabilityScanning field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *RepositoryCreate) GetUseVulnerabilityScanningOk() (*bool, bool) { - if o == nil || o.UseVulnerabilityScanning == nil { +func (o *RepositoryResponse) GetUseVulnerabilityScanningOk() (*bool, bool) { + if o == nil || isNil(o.UseVulnerabilityScanning) { return nil, false } return o.UseVulnerabilityScanning, true } // HasUseVulnerabilityScanning returns a boolean if a field has been set. -func (o *RepositoryCreate) HasUseVulnerabilityScanning() bool { - if o != nil && o.UseVulnerabilityScanning != nil { +func (o *RepositoryResponse) HasUseVulnerabilityScanning() bool { + if o != nil && !isNil(o.UseVulnerabilityScanning) { return true } @@ -1729,13 +1843,13 @@ func (o *RepositoryCreate) HasUseVulnerabilityScanning() bool { } // SetUseVulnerabilityScanning gets a reference to the given bool and assigns it to the UseVulnerabilityScanning field. -func (o *RepositoryCreate) SetUseVulnerabilityScanning(v bool) { +func (o *RepositoryResponse) SetUseVulnerabilityScanning(v bool) { o.UseVulnerabilityScanning = &v } // GetUserEntitlementsEnabled returns the UserEntitlementsEnabled field value if set, zero value otherwise. -func (o *RepositoryCreate) GetUserEntitlementsEnabled() bool { - if o == nil || o.UserEntitlementsEnabled == nil { +func (o *RepositoryResponse) GetUserEntitlementsEnabled() bool { + if o == nil || isNil(o.UserEntitlementsEnabled) { var ret bool return ret } @@ -1744,16 +1858,16 @@ func (o *RepositoryCreate) GetUserEntitlementsEnabled() bool { // GetUserEntitlementsEnabledOk returns a tuple with the UserEntitlementsEnabled field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *RepositoryCreate) GetUserEntitlementsEnabledOk() (*bool, bool) { - if o == nil || o.UserEntitlementsEnabled == nil { +func (o *RepositoryResponse) GetUserEntitlementsEnabledOk() (*bool, bool) { + if o == nil || isNil(o.UserEntitlementsEnabled) { return nil, false } return o.UserEntitlementsEnabled, true } // HasUserEntitlementsEnabled returns a boolean if a field has been set. -func (o *RepositoryCreate) HasUserEntitlementsEnabled() bool { - if o != nil && o.UserEntitlementsEnabled != nil { +func (o *RepositoryResponse) HasUserEntitlementsEnabled() bool { + if o != nil && !isNil(o.UserEntitlementsEnabled) { return true } @@ -1761,13 +1875,13 @@ func (o *RepositoryCreate) HasUserEntitlementsEnabled() bool { } // SetUserEntitlementsEnabled gets a reference to the given bool and assigns it to the UserEntitlementsEnabled field. -func (o *RepositoryCreate) SetUserEntitlementsEnabled(v bool) { +func (o *RepositoryResponse) SetUserEntitlementsEnabled(v bool) { o.UserEntitlementsEnabled = &v } // GetViewStatistics returns the ViewStatistics field value if set, zero value otherwise. -func (o *RepositoryCreate) GetViewStatistics() string { - if o == nil || o.ViewStatistics == nil { +func (o *RepositoryResponse) GetViewStatistics() string { + if o == nil || isNil(o.ViewStatistics) { var ret string return ret } @@ -1776,16 +1890,16 @@ func (o *RepositoryCreate) GetViewStatistics() string { // GetViewStatisticsOk returns a tuple with the ViewStatistics field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *RepositoryCreate) GetViewStatisticsOk() (*string, bool) { - if o == nil || o.ViewStatistics == nil { +func (o *RepositoryResponse) GetViewStatisticsOk() (*string, bool) { + if o == nil || isNil(o.ViewStatistics) { return nil, false } return o.ViewStatistics, true } // HasViewStatistics returns a boolean if a field has been set. -func (o *RepositoryCreate) HasViewStatistics() bool { - if o != nil && o.ViewStatistics != nil { +func (o *RepositoryResponse) HasViewStatistics() bool { + if o != nil && !isNil(o.ViewStatistics) { return true } @@ -1793,203 +1907,209 @@ func (o *RepositoryCreate) HasViewStatistics() bool { } // SetViewStatistics gets a reference to the given string and assigns it to the ViewStatistics field. -func (o *RepositoryCreate) SetViewStatistics(v string) { +func (o *RepositoryResponse) SetViewStatistics(v string) { o.ViewStatistics = &v } -func (o RepositoryCreate) MarshalJSON() ([]byte, error) { +func (o RepositoryResponse) MarshalJSON() ([]byte, error) { toSerialize := map[string]interface{}{} - if o.CdnUrl != nil { - toSerialize["cdn_url"] = o.CdnUrl + if o.CdnUrl.IsSet() { + toSerialize["cdn_url"] = o.CdnUrl.Get() } - if o.ContextualAuthRealm != nil { + if !isNil(o.ContentKind) { + toSerialize["content_kind"] = o.ContentKind + } + if !isNil(o.ContextualAuthRealm) { toSerialize["contextual_auth_realm"] = o.ContextualAuthRealm } - if o.CopyOwn != nil { + if !isNil(o.CopyOwn) { toSerialize["copy_own"] = o.CopyOwn } - if o.CopyPackages != nil { + if !isNil(o.CopyPackages) { toSerialize["copy_packages"] = o.CopyPackages } - if o.CreatedAt != nil { + if !isNil(o.CreatedAt) { toSerialize["created_at"] = o.CreatedAt } - if o.DefaultPrivilege != nil { + if !isNil(o.DefaultPrivilege) { toSerialize["default_privilege"] = o.DefaultPrivilege } - if o.DeleteOwn != nil { + if !isNil(o.DeleteOwn) { toSerialize["delete_own"] = o.DeleteOwn } - if o.DeletePackages != nil { + if !isNil(o.DeletePackages) { toSerialize["delete_packages"] = o.DeletePackages } - if o.DeletedAt != nil { + if !isNil(o.DeletedAt) { toSerialize["deleted_at"] = o.DeletedAt } - if o.Description != nil { + if !isNil(o.Description) { toSerialize["description"] = o.Description } - if o.DockerRefreshTokensEnabled != nil { + if !isNil(o.Distributes) { + toSerialize["distributes"] = o.Distributes + } + if !isNil(o.DockerRefreshTokensEnabled) { toSerialize["docker_refresh_tokens_enabled"] = o.DockerRefreshTokensEnabled } - if o.GpgKeys != nil { + if !isNil(o.GpgKeys) { toSerialize["gpg_keys"] = o.GpgKeys } - if o.IndexFiles != nil { + if !isNil(o.IndexFiles) { toSerialize["index_files"] = o.IndexFiles } - if o.IsOpenSource != nil { + if !isNil(o.IsOpenSource) { toSerialize["is_open_source"] = o.IsOpenSource } - if o.IsPrivate != nil { + if !isNil(o.IsPrivate) { toSerialize["is_private"] = o.IsPrivate } - if o.IsPublic != nil { + if !isNil(o.IsPublic) { toSerialize["is_public"] = o.IsPublic } - if o.MoveOwn != nil { + if !isNil(o.MoveOwn) { toSerialize["move_own"] = o.MoveOwn } - if o.MovePackages != nil { + if !isNil(o.MovePackages) { toSerialize["move_packages"] = o.MovePackages } if true { toSerialize["name"] = o.Name } - if o.Namespace != nil { + if !isNil(o.Namespace) { toSerialize["namespace"] = o.Namespace } - if o.NamespaceUrl != nil { + if !isNil(o.NamespaceUrl) { toSerialize["namespace_url"] = o.NamespaceUrl } - if o.NumDownloads != nil { + if !isNil(o.NumDownloads) { toSerialize["num_downloads"] = o.NumDownloads } - if o.PackageCount != nil { + if !isNil(o.PackageCount) { toSerialize["package_count"] = o.PackageCount } - if o.PackageGroupCount != nil { + if !isNil(o.PackageGroupCount) { toSerialize["package_group_count"] = o.PackageGroupCount } - if o.ProxyNpmjs != nil { + if !isNil(o.ProxyNpmjs) { toSerialize["proxy_npmjs"] = o.ProxyNpmjs } - if o.ProxyPypi != nil { + if !isNil(o.ProxyPypi) { toSerialize["proxy_pypi"] = o.ProxyPypi } - if o.RawPackageIndexEnabled != nil { + if !isNil(o.RawPackageIndexEnabled) { toSerialize["raw_package_index_enabled"] = o.RawPackageIndexEnabled } - if o.RawPackageIndexSignaturesEnabled != nil { + if !isNil(o.RawPackageIndexSignaturesEnabled) { toSerialize["raw_package_index_signatures_enabled"] = o.RawPackageIndexSignaturesEnabled } - if o.ReplacePackages != nil { + if !isNil(o.ReplacePackages) { toSerialize["replace_packages"] = o.ReplacePackages } - if o.ReplacePackagesByDefault != nil { + if !isNil(o.ReplacePackagesByDefault) { toSerialize["replace_packages_by_default"] = o.ReplacePackagesByDefault } - if o.RepositoryType != nil { + if !isNil(o.RepositoryType) { toSerialize["repository_type"] = o.RepositoryType } - if o.RepositoryTypeStr != nil { + if !isNil(o.RepositoryTypeStr) { toSerialize["repository_type_str"] = o.RepositoryTypeStr } - if o.ResyncOwn != nil { + if !isNil(o.ResyncOwn) { toSerialize["resync_own"] = o.ResyncOwn } - if o.ResyncPackages != nil { + if !isNil(o.ResyncPackages) { toSerialize["resync_packages"] = o.ResyncPackages } - if o.ScanOwn != nil { + if !isNil(o.ScanOwn) { toSerialize["scan_own"] = o.ScanOwn } - if o.ScanPackages != nil { + if !isNil(o.ScanPackages) { toSerialize["scan_packages"] = o.ScanPackages } - if o.SelfHtmlUrl != nil { + if !isNil(o.SelfHtmlUrl) { toSerialize["self_html_url"] = o.SelfHtmlUrl } - if o.SelfUrl != nil { + if !isNil(o.SelfUrl) { toSerialize["self_url"] = o.SelfUrl } - if o.ShowSetupAll != nil { + if !isNil(o.ShowSetupAll) { toSerialize["show_setup_all"] = o.ShowSetupAll } - if o.Size != nil { + if !isNil(o.Size) { toSerialize["size"] = o.Size } - if o.SizeStr != nil { + if !isNil(o.SizeStr) { toSerialize["size_str"] = o.SizeStr } - if o.Slug != nil { + if !isNil(o.Slug) { toSerialize["slug"] = o.Slug } - if o.SlugPerm != nil { + if !isNil(o.SlugPerm) { toSerialize["slug_perm"] = o.SlugPerm } - if o.StorageRegion != nil { + if !isNil(o.StorageRegion) { toSerialize["storage_region"] = o.StorageRegion } - if o.StrictNpmValidation != nil { + if !isNil(o.StrictNpmValidation) { toSerialize["strict_npm_validation"] = o.StrictNpmValidation } - if o.UseDebianLabels != nil { + if !isNil(o.UseDebianLabels) { toSerialize["use_debian_labels"] = o.UseDebianLabels } - if o.UseDefaultCargoUpstream != nil { + if !isNil(o.UseDefaultCargoUpstream) { toSerialize["use_default_cargo_upstream"] = o.UseDefaultCargoUpstream } - if o.UseNoarchPackages != nil { + if !isNil(o.UseNoarchPackages) { toSerialize["use_noarch_packages"] = o.UseNoarchPackages } - if o.UseSourcePackages != nil { + if !isNil(o.UseSourcePackages) { toSerialize["use_source_packages"] = o.UseSourcePackages } - if o.UseVulnerabilityScanning != nil { + if !isNil(o.UseVulnerabilityScanning) { toSerialize["use_vulnerability_scanning"] = o.UseVulnerabilityScanning } - if o.UserEntitlementsEnabled != nil { + if !isNil(o.UserEntitlementsEnabled) { toSerialize["user_entitlements_enabled"] = o.UserEntitlementsEnabled } - if o.ViewStatistics != nil { + if !isNil(o.ViewStatistics) { toSerialize["view_statistics"] = o.ViewStatistics } return json.Marshal(toSerialize) } -type NullableRepositoryCreate struct { - value *RepositoryCreate +type NullableRepositoryResponse struct { + value *RepositoryResponse isSet bool } -func (v NullableRepositoryCreate) Get() *RepositoryCreate { +func (v NullableRepositoryResponse) Get() *RepositoryResponse { return v.value } -func (v *NullableRepositoryCreate) Set(val *RepositoryCreate) { +func (v *NullableRepositoryResponse) Set(val *RepositoryResponse) { v.value = val v.isSet = true } -func (v NullableRepositoryCreate) IsSet() bool { +func (v NullableRepositoryResponse) IsSet() bool { return v.isSet } -func (v *NullableRepositoryCreate) Unset() { +func (v *NullableRepositoryResponse) Unset() { v.value = nil v.isSet = false } -func NewNullableRepositoryCreate(val *RepositoryCreate) *NullableRepositoryCreate { - return &NullableRepositoryCreate{value: val, isSet: true} +func NewNullableRepositoryResponse(val *RepositoryResponse) *NullableRepositoryResponse { + return &NullableRepositoryResponse{value: val, isSet: true} } -func (v NullableRepositoryCreate) MarshalJSON() ([]byte, error) { +func (v NullableRepositoryResponse) MarshalJSON() ([]byte, error) { return json.Marshal(v.value) } -func (v *NullableRepositoryCreate) UnmarshalJSON(src []byte) error { +func (v *NullableRepositoryResponse) UnmarshalJSON(src []byte) error { v.isSet = true return json.Unmarshal(src, &v.value) } diff --git a/model_repos_rsa_create.go b/model_repository_rsa_key_create.go similarity index 54% rename from model_repos_rsa_create.go rename to model_repository_rsa_key_create.go index 7d66b47b..67d38738 100644 --- a/model_repos_rsa_create.go +++ b/model_repository_rsa_key_create.go @@ -1,9 +1,9 @@ /* -Cloudsmith API +Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.121.3 +API version: 1.181.6 Contact: support@cloudsmith.io */ @@ -15,35 +15,35 @@ import ( "encoding/json" ) -// ReposRsaCreate struct for ReposRsaCreate -type ReposRsaCreate struct { +// RepositoryRsaKeyCreate struct for RepositoryRsaKeyCreate +type RepositoryRsaKeyCreate struct { // The RSA passphrase used for signing. RsaPassphrase *string `json:"rsa_passphrase,omitempty"` // The RSA private key. RsaPrivateKey string `json:"rsa_private_key"` } -// NewReposRsaCreate instantiates a new ReposRsaCreate object +// NewRepositoryRsaKeyCreate instantiates a new RepositoryRsaKeyCreate object // 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 NewReposRsaCreate(rsaPrivateKey string) *ReposRsaCreate { - this := ReposRsaCreate{} +func NewRepositoryRsaKeyCreate(rsaPrivateKey string) *RepositoryRsaKeyCreate { + this := RepositoryRsaKeyCreate{} this.RsaPrivateKey = rsaPrivateKey return &this } -// NewReposRsaCreateWithDefaults instantiates a new ReposRsaCreate object +// NewRepositoryRsaKeyCreateWithDefaults instantiates a new RepositoryRsaKeyCreate object // This constructor will only assign default values to properties that have it defined, // but it doesn't guarantee that properties required by API are set -func NewReposRsaCreateWithDefaults() *ReposRsaCreate { - this := ReposRsaCreate{} +func NewRepositoryRsaKeyCreateWithDefaults() *RepositoryRsaKeyCreate { + this := RepositoryRsaKeyCreate{} return &this } // GetRsaPassphrase returns the RsaPassphrase field value if set, zero value otherwise. -func (o *ReposRsaCreate) GetRsaPassphrase() string { - if o == nil || o.RsaPassphrase == nil { +func (o *RepositoryRsaKeyCreate) GetRsaPassphrase() string { + if o == nil || isNil(o.RsaPassphrase) { var ret string return ret } @@ -52,16 +52,16 @@ func (o *ReposRsaCreate) GetRsaPassphrase() string { // GetRsaPassphraseOk returns a tuple with the RsaPassphrase field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *ReposRsaCreate) GetRsaPassphraseOk() (*string, bool) { - if o == nil || o.RsaPassphrase == nil { +func (o *RepositoryRsaKeyCreate) GetRsaPassphraseOk() (*string, bool) { + if o == nil || isNil(o.RsaPassphrase) { return nil, false } return o.RsaPassphrase, true } // HasRsaPassphrase returns a boolean if a field has been set. -func (o *ReposRsaCreate) HasRsaPassphrase() bool { - if o != nil && o.RsaPassphrase != nil { +func (o *RepositoryRsaKeyCreate) HasRsaPassphrase() bool { + if o != nil && !isNil(o.RsaPassphrase) { return true } @@ -69,12 +69,12 @@ func (o *ReposRsaCreate) HasRsaPassphrase() bool { } // SetRsaPassphrase gets a reference to the given string and assigns it to the RsaPassphrase field. -func (o *ReposRsaCreate) SetRsaPassphrase(v string) { +func (o *RepositoryRsaKeyCreate) SetRsaPassphrase(v string) { o.RsaPassphrase = &v } // GetRsaPrivateKey returns the RsaPrivateKey field value -func (o *ReposRsaCreate) GetRsaPrivateKey() string { +func (o *RepositoryRsaKeyCreate) GetRsaPrivateKey() string { if o == nil { var ret string return ret @@ -85,7 +85,7 @@ func (o *ReposRsaCreate) GetRsaPrivateKey() string { // GetRsaPrivateKeyOk returns a tuple with the RsaPrivateKey field value // and a boolean to check if the value has been set. -func (o *ReposRsaCreate) GetRsaPrivateKeyOk() (*string, bool) { +func (o *RepositoryRsaKeyCreate) GetRsaPrivateKeyOk() (*string, bool) { if o == nil { return nil, false } @@ -93,13 +93,13 @@ func (o *ReposRsaCreate) GetRsaPrivateKeyOk() (*string, bool) { } // SetRsaPrivateKey sets field value -func (o *ReposRsaCreate) SetRsaPrivateKey(v string) { +func (o *RepositoryRsaKeyCreate) SetRsaPrivateKey(v string) { o.RsaPrivateKey = v } -func (o ReposRsaCreate) MarshalJSON() ([]byte, error) { +func (o RepositoryRsaKeyCreate) MarshalJSON() ([]byte, error) { toSerialize := map[string]interface{}{} - if o.RsaPassphrase != nil { + if !isNil(o.RsaPassphrase) { toSerialize["rsa_passphrase"] = o.RsaPassphrase } if true { @@ -108,38 +108,38 @@ func (o ReposRsaCreate) MarshalJSON() ([]byte, error) { return json.Marshal(toSerialize) } -type NullableReposRsaCreate struct { - value *ReposRsaCreate +type NullableRepositoryRsaKeyCreate struct { + value *RepositoryRsaKeyCreate isSet bool } -func (v NullableReposRsaCreate) Get() *ReposRsaCreate { +func (v NullableRepositoryRsaKeyCreate) Get() *RepositoryRsaKeyCreate { return v.value } -func (v *NullableReposRsaCreate) Set(val *ReposRsaCreate) { +func (v *NullableRepositoryRsaKeyCreate) Set(val *RepositoryRsaKeyCreate) { v.value = val v.isSet = true } -func (v NullableReposRsaCreate) IsSet() bool { +func (v NullableRepositoryRsaKeyCreate) IsSet() bool { return v.isSet } -func (v *NullableReposRsaCreate) Unset() { +func (v *NullableRepositoryRsaKeyCreate) Unset() { v.value = nil v.isSet = false } -func NewNullableReposRsaCreate(val *ReposRsaCreate) *NullableReposRsaCreate { - return &NullableReposRsaCreate{value: val, isSet: true} +func NewNullableRepositoryRsaKeyCreate(val *RepositoryRsaKeyCreate) *NullableRepositoryRsaKeyCreate { + return &NullableRepositoryRsaKeyCreate{value: val, isSet: true} } -func (v NullableReposRsaCreate) MarshalJSON() ([]byte, error) { +func (v NullableRepositoryRsaKeyCreate) MarshalJSON() ([]byte, error) { return json.Marshal(v.value) } -func (v *NullableReposRsaCreate) UnmarshalJSON(src []byte) error { +func (v *NullableRepositoryRsaKeyCreate) UnmarshalJSON(src []byte) error { v.isSet = true return json.Unmarshal(src, &v.value) } diff --git a/model_repository_rsa_key.go b/model_repository_rsa_key_response.go similarity index 54% rename from model_repository_rsa_key.go rename to model_repository_rsa_key_response.go index 7d618cbf..9f6c07f4 100644 --- a/model_repository_rsa_key.go +++ b/model_repository_rsa_key_response.go @@ -1,9 +1,9 @@ /* -Cloudsmith API +Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.121.3 +API version: 1.181.6 Contact: support@cloudsmith.io */ @@ -13,44 +13,43 @@ package cloudsmith import ( "encoding/json" + "time" ) -// RepositoryRsaKey struct for RepositoryRsaKey -type RepositoryRsaKey struct { +// RepositoryRsaKeyResponse struct for RepositoryRsaKeyResponse +type RepositoryRsaKeyResponse struct { // If selected this is the active key for this repository. - Active *bool `json:"active,omitempty"` - // - CreatedAt *string `json:"created_at,omitempty"` + Active *bool `json:"active,omitempty"` + CreatedAt *time.Time `json:"created_at,omitempty"` // If selected this is the default key for this repository. Default *bool `json:"default,omitempty"` // The long identifier used by RSA for this key. - Fingerprint *string `json:"fingerprint,omitempty"` - // + Fingerprint *string `json:"fingerprint,omitempty"` FingerprintShort *string `json:"fingerprint_short,omitempty"` // The public key given to repository users. PublicKey *string `json:"public_key,omitempty"` } -// NewRepositoryRsaKey instantiates a new RepositoryRsaKey object +// NewRepositoryRsaKeyResponse instantiates a new RepositoryRsaKeyResponse object // 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 NewRepositoryRsaKey() *RepositoryRsaKey { - this := RepositoryRsaKey{} +func NewRepositoryRsaKeyResponse() *RepositoryRsaKeyResponse { + this := RepositoryRsaKeyResponse{} return &this } -// NewRepositoryRsaKeyWithDefaults instantiates a new RepositoryRsaKey object +// NewRepositoryRsaKeyResponseWithDefaults instantiates a new RepositoryRsaKeyResponse object // This constructor will only assign default values to properties that have it defined, // but it doesn't guarantee that properties required by API are set -func NewRepositoryRsaKeyWithDefaults() *RepositoryRsaKey { - this := RepositoryRsaKey{} +func NewRepositoryRsaKeyResponseWithDefaults() *RepositoryRsaKeyResponse { + this := RepositoryRsaKeyResponse{} return &this } // GetActive returns the Active field value if set, zero value otherwise. -func (o *RepositoryRsaKey) GetActive() bool { - if o == nil || o.Active == nil { +func (o *RepositoryRsaKeyResponse) GetActive() bool { + if o == nil || isNil(o.Active) { var ret bool return ret } @@ -59,16 +58,16 @@ func (o *RepositoryRsaKey) GetActive() bool { // GetActiveOk returns a tuple with the Active field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *RepositoryRsaKey) GetActiveOk() (*bool, bool) { - if o == nil || o.Active == nil { +func (o *RepositoryRsaKeyResponse) GetActiveOk() (*bool, bool) { + if o == nil || isNil(o.Active) { return nil, false } return o.Active, true } // HasActive returns a boolean if a field has been set. -func (o *RepositoryRsaKey) HasActive() bool { - if o != nil && o.Active != nil { +func (o *RepositoryRsaKeyResponse) HasActive() bool { + if o != nil && !isNil(o.Active) { return true } @@ -76,14 +75,14 @@ func (o *RepositoryRsaKey) HasActive() bool { } // SetActive gets a reference to the given bool and assigns it to the Active field. -func (o *RepositoryRsaKey) SetActive(v bool) { +func (o *RepositoryRsaKeyResponse) SetActive(v bool) { o.Active = &v } // GetCreatedAt returns the CreatedAt field value if set, zero value otherwise. -func (o *RepositoryRsaKey) GetCreatedAt() string { - if o == nil || o.CreatedAt == nil { - var ret string +func (o *RepositoryRsaKeyResponse) GetCreatedAt() time.Time { + if o == nil || isNil(o.CreatedAt) { + var ret time.Time return ret } return *o.CreatedAt @@ -91,30 +90,30 @@ func (o *RepositoryRsaKey) GetCreatedAt() string { // GetCreatedAtOk returns a tuple with the CreatedAt field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *RepositoryRsaKey) GetCreatedAtOk() (*string, bool) { - if o == nil || o.CreatedAt == nil { +func (o *RepositoryRsaKeyResponse) GetCreatedAtOk() (*time.Time, bool) { + if o == nil || isNil(o.CreatedAt) { return nil, false } return o.CreatedAt, true } // HasCreatedAt returns a boolean if a field has been set. -func (o *RepositoryRsaKey) HasCreatedAt() bool { - if o != nil && o.CreatedAt != nil { +func (o *RepositoryRsaKeyResponse) HasCreatedAt() bool { + if o != nil && !isNil(o.CreatedAt) { return true } return false } -// SetCreatedAt gets a reference to the given string and assigns it to the CreatedAt field. -func (o *RepositoryRsaKey) SetCreatedAt(v string) { +// SetCreatedAt gets a reference to the given time.Time and assigns it to the CreatedAt field. +func (o *RepositoryRsaKeyResponse) SetCreatedAt(v time.Time) { o.CreatedAt = &v } // GetDefault returns the Default field value if set, zero value otherwise. -func (o *RepositoryRsaKey) GetDefault() bool { - if o == nil || o.Default == nil { +func (o *RepositoryRsaKeyResponse) GetDefault() bool { + if o == nil || isNil(o.Default) { var ret bool return ret } @@ -123,16 +122,16 @@ func (o *RepositoryRsaKey) GetDefault() bool { // GetDefaultOk returns a tuple with the Default field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *RepositoryRsaKey) GetDefaultOk() (*bool, bool) { - if o == nil || o.Default == nil { +func (o *RepositoryRsaKeyResponse) GetDefaultOk() (*bool, bool) { + if o == nil || isNil(o.Default) { return nil, false } return o.Default, true } // HasDefault returns a boolean if a field has been set. -func (o *RepositoryRsaKey) HasDefault() bool { - if o != nil && o.Default != nil { +func (o *RepositoryRsaKeyResponse) HasDefault() bool { + if o != nil && !isNil(o.Default) { return true } @@ -140,13 +139,13 @@ func (o *RepositoryRsaKey) HasDefault() bool { } // SetDefault gets a reference to the given bool and assigns it to the Default field. -func (o *RepositoryRsaKey) SetDefault(v bool) { +func (o *RepositoryRsaKeyResponse) SetDefault(v bool) { o.Default = &v } // GetFingerprint returns the Fingerprint field value if set, zero value otherwise. -func (o *RepositoryRsaKey) GetFingerprint() string { - if o == nil || o.Fingerprint == nil { +func (o *RepositoryRsaKeyResponse) GetFingerprint() string { + if o == nil || isNil(o.Fingerprint) { var ret string return ret } @@ -155,16 +154,16 @@ func (o *RepositoryRsaKey) GetFingerprint() string { // GetFingerprintOk returns a tuple with the Fingerprint field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *RepositoryRsaKey) GetFingerprintOk() (*string, bool) { - if o == nil || o.Fingerprint == nil { +func (o *RepositoryRsaKeyResponse) GetFingerprintOk() (*string, bool) { + if o == nil || isNil(o.Fingerprint) { return nil, false } return o.Fingerprint, true } // HasFingerprint returns a boolean if a field has been set. -func (o *RepositoryRsaKey) HasFingerprint() bool { - if o != nil && o.Fingerprint != nil { +func (o *RepositoryRsaKeyResponse) HasFingerprint() bool { + if o != nil && !isNil(o.Fingerprint) { return true } @@ -172,13 +171,13 @@ func (o *RepositoryRsaKey) HasFingerprint() bool { } // SetFingerprint gets a reference to the given string and assigns it to the Fingerprint field. -func (o *RepositoryRsaKey) SetFingerprint(v string) { +func (o *RepositoryRsaKeyResponse) SetFingerprint(v string) { o.Fingerprint = &v } // GetFingerprintShort returns the FingerprintShort field value if set, zero value otherwise. -func (o *RepositoryRsaKey) GetFingerprintShort() string { - if o == nil || o.FingerprintShort == nil { +func (o *RepositoryRsaKeyResponse) GetFingerprintShort() string { + if o == nil || isNil(o.FingerprintShort) { var ret string return ret } @@ -187,16 +186,16 @@ func (o *RepositoryRsaKey) GetFingerprintShort() string { // GetFingerprintShortOk returns a tuple with the FingerprintShort field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *RepositoryRsaKey) GetFingerprintShortOk() (*string, bool) { - if o == nil || o.FingerprintShort == nil { +func (o *RepositoryRsaKeyResponse) GetFingerprintShortOk() (*string, bool) { + if o == nil || isNil(o.FingerprintShort) { return nil, false } return o.FingerprintShort, true } // HasFingerprintShort returns a boolean if a field has been set. -func (o *RepositoryRsaKey) HasFingerprintShort() bool { - if o != nil && o.FingerprintShort != nil { +func (o *RepositoryRsaKeyResponse) HasFingerprintShort() bool { + if o != nil && !isNil(o.FingerprintShort) { return true } @@ -204,13 +203,13 @@ func (o *RepositoryRsaKey) HasFingerprintShort() bool { } // SetFingerprintShort gets a reference to the given string and assigns it to the FingerprintShort field. -func (o *RepositoryRsaKey) SetFingerprintShort(v string) { +func (o *RepositoryRsaKeyResponse) SetFingerprintShort(v string) { o.FingerprintShort = &v } // GetPublicKey returns the PublicKey field value if set, zero value otherwise. -func (o *RepositoryRsaKey) GetPublicKey() string { - if o == nil || o.PublicKey == nil { +func (o *RepositoryRsaKeyResponse) GetPublicKey() string { + if o == nil || isNil(o.PublicKey) { var ret string return ret } @@ -219,16 +218,16 @@ func (o *RepositoryRsaKey) GetPublicKey() string { // GetPublicKeyOk returns a tuple with the PublicKey field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *RepositoryRsaKey) GetPublicKeyOk() (*string, bool) { - if o == nil || o.PublicKey == nil { +func (o *RepositoryRsaKeyResponse) GetPublicKeyOk() (*string, bool) { + if o == nil || isNil(o.PublicKey) { return nil, false } return o.PublicKey, true } // HasPublicKey returns a boolean if a field has been set. -func (o *RepositoryRsaKey) HasPublicKey() bool { - if o != nil && o.PublicKey != nil { +func (o *RepositoryRsaKeyResponse) HasPublicKey() bool { + if o != nil && !isNil(o.PublicKey) { return true } @@ -236,65 +235,65 @@ func (o *RepositoryRsaKey) HasPublicKey() bool { } // SetPublicKey gets a reference to the given string and assigns it to the PublicKey field. -func (o *RepositoryRsaKey) SetPublicKey(v string) { +func (o *RepositoryRsaKeyResponse) SetPublicKey(v string) { o.PublicKey = &v } -func (o RepositoryRsaKey) MarshalJSON() ([]byte, error) { +func (o RepositoryRsaKeyResponse) MarshalJSON() ([]byte, error) { toSerialize := map[string]interface{}{} - if o.Active != nil { + if !isNil(o.Active) { toSerialize["active"] = o.Active } - if o.CreatedAt != nil { + if !isNil(o.CreatedAt) { toSerialize["created_at"] = o.CreatedAt } - if o.Default != nil { + if !isNil(o.Default) { toSerialize["default"] = o.Default } - if o.Fingerprint != nil { + if !isNil(o.Fingerprint) { toSerialize["fingerprint"] = o.Fingerprint } - if o.FingerprintShort != nil { + if !isNil(o.FingerprintShort) { toSerialize["fingerprint_short"] = o.FingerprintShort } - if o.PublicKey != nil { + if !isNil(o.PublicKey) { toSerialize["public_key"] = o.PublicKey } return json.Marshal(toSerialize) } -type NullableRepositoryRsaKey struct { - value *RepositoryRsaKey +type NullableRepositoryRsaKeyResponse struct { + value *RepositoryRsaKeyResponse isSet bool } -func (v NullableRepositoryRsaKey) Get() *RepositoryRsaKey { +func (v NullableRepositoryRsaKeyResponse) Get() *RepositoryRsaKeyResponse { return v.value } -func (v *NullableRepositoryRsaKey) Set(val *RepositoryRsaKey) { +func (v *NullableRepositoryRsaKeyResponse) Set(val *RepositoryRsaKeyResponse) { v.value = val v.isSet = true } -func (v NullableRepositoryRsaKey) IsSet() bool { +func (v NullableRepositoryRsaKeyResponse) IsSet() bool { return v.isSet } -func (v *NullableRepositoryRsaKey) Unset() { +func (v *NullableRepositoryRsaKeyResponse) Unset() { v.value = nil v.isSet = false } -func NewNullableRepositoryRsaKey(val *RepositoryRsaKey) *NullableRepositoryRsaKey { - return &NullableRepositoryRsaKey{value: val, isSet: true} +func NewNullableRepositoryRsaKeyResponse(val *RepositoryRsaKeyResponse) *NullableRepositoryRsaKeyResponse { + return &NullableRepositoryRsaKeyResponse{value: val, isSet: true} } -func (v NullableRepositoryRsaKey) MarshalJSON() ([]byte, error) { +func (v NullableRepositoryRsaKeyResponse) MarshalJSON() ([]byte, error) { return json.Marshal(v.value) } -func (v *NullableRepositoryRsaKey) UnmarshalJSON(src []byte) error { +func (v *NullableRepositoryRsaKeyResponse) UnmarshalJSON(src []byte) error { v.isSet = true return json.Unmarshal(src, &v.value) } diff --git a/model_repository_token.go b/model_repository_token.go index d18641b3..8be46645 100644 --- a/model_repository_token.go +++ b/model_repository_token.go @@ -1,9 +1,9 @@ /* -Cloudsmith API +Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.121.3 +API version: 1.181.6 Contact: support@cloudsmith.io */ @@ -13,88 +13,64 @@ package cloudsmith import ( "encoding/json" + "time" ) -// RepositoryToken struct for RepositoryToken +// RepositoryToken The entitlements that have been synchronised. type RepositoryToken struct { - // Clients *int64 `json:"clients,omitempty"` // The datetime the token was updated at. - CreatedAt *string `json:"created_at,omitempty"` - // - CreatedBy *string `json:"created_by,omitempty"` - // - CreatedByUrl *string `json:"created_by_url,omitempty"` + CreatedAt *time.Time `json:"created_at,omitempty"` + CreatedBy *string `json:"created_by,omitempty"` + CreatedByUrl *string `json:"created_by_url,omitempty"` // If selected this is the default token for this repository. - Default *bool `json:"default,omitempty"` - // - DisableUrl *string `json:"disable_url,omitempty"` - // - Downloads *int64 `json:"downloads,omitempty"` - // - EnableUrl *string `json:"enable_url,omitempty"` - // - EulaAccepted map[string]interface{} `json:"eula_accepted,omitempty"` + Default *bool `json:"default,omitempty"` + DisableUrl *string `json:"disable_url,omitempty"` + Downloads *int64 `json:"downloads,omitempty"` + EnableUrl *string `json:"enable_url,omitempty"` + EulaAccepted NullableEula `json:"eula_accepted,omitempty"` // The datetime the EULA was accepted at. - EulaAcceptedAt *string `json:"eula_accepted_at,omitempty"` - // - EulaAcceptedFrom *string `json:"eula_accepted_from,omitempty"` + EulaAcceptedAt *time.Time `json:"eula_accepted_at,omitempty"` + EulaAcceptedFrom NullableString `json:"eula_accepted_from,omitempty"` // If checked, a EULA acceptance is required for this token. - EulaRequired *bool `json:"eula_required,omitempty"` - // - HasLimits *bool `json:"has_limits,omitempty"` - // - Identifier *int64 `json:"identifier,omitempty"` + EulaRequired *bool `json:"eula_required,omitempty"` + HasLimits *bool `json:"has_limits,omitempty"` + Identifier *int64 `json:"identifier,omitempty"` // If enabled, the token will allow downloads based on configured restrictions (if any). - IsActive *bool `json:"is_active,omitempty"` - // + IsActive *bool `json:"is_active,omitempty"` IsLimited *bool `json:"is_limited,omitempty"` // The maximum download bandwidth allowed for the token. Values are expressed as the selected unit of bandwidth. Please note that since downloads are calculated asynchronously (after the download happens), the limit may not be imposed immediately but at a later point. - LimitBandwidth *int64 `json:"limit_bandwidth,omitempty"` - // - LimitBandwidthUnit *string `json:"limit_bandwidth_unit,omitempty"` + LimitBandwidth NullableInt64 `json:"limit_bandwidth,omitempty"` + LimitBandwidthUnit NullableString `json:"limit_bandwidth_unit,omitempty"` // The starting date/time the token is allowed to be used from. - LimitDateRangeFrom *string `json:"limit_date_range_from,omitempty"` + LimitDateRangeFrom NullableTime `json:"limit_date_range_from,omitempty"` // The ending date/time the token is allowed to be used until. - LimitDateRangeTo *string `json:"limit_date_range_to,omitempty"` + LimitDateRangeTo NullableTime `json:"limit_date_range_to,omitempty"` // The maximum number of unique clients allowed for the token. Please note that since clients are calculated asynchronously (after the download happens), the limit may not be imposed immediately but at a later point. - LimitNumClients *int64 `json:"limit_num_clients,omitempty"` + LimitNumClients NullableInt64 `json:"limit_num_clients,omitempty"` // The maximum number of downloads allowed for the token. Please note that since downloads are calculated asynchronously (after the download happens), the limit may not be imposed immediately but at a later point. - LimitNumDownloads *int64 `json:"limit_num_downloads,omitempty"` + LimitNumDownloads NullableInt64 `json:"limit_num_downloads,omitempty"` // The package-based search query to apply to restrict downloads to. This uses the same syntax as the standard search used for repositories, and also supports boolean logic operators such as OR/AND/NOT and parentheses for grouping. This will still allow access to non-package files, such as metadata. - LimitPackageQuery *string `json:"limit_package_query,omitempty"` + LimitPackageQuery NullableString `json:"limit_package_query,omitempty"` // The path-based search query to apply to restrict downloads to. This supports boolean logic operators such as OR/AND/NOT and parentheses for grouping. The path evaluated does not include the domain name, the namespace, the entitlement code used, the package format, etc. and it always starts with a forward slash. - LimitPathQuery *string `json:"limit_path_query,omitempty"` - // - Metadata map[string]interface{} `json:"metadata,omitempty"` - // - Name string `json:"name"` - // - RefreshUrl *string `json:"refresh_url,omitempty"` - // - ResetUrl *string `json:"reset_url,omitempty"` + LimitPathQuery NullableString `json:"limit_path_query,omitempty"` + Metadata map[string]interface{} `json:"metadata,omitempty"` + Name string `json:"name"` + RefreshUrl *string `json:"refresh_url,omitempty"` + ResetUrl *string `json:"reset_url,omitempty"` // The time at which the scheduled reset period has elapsed and the token limits were automatically reset to zero. - ScheduledResetAt *string `json:"scheduled_reset_at,omitempty"` - // - ScheduledResetPeriod *string `json:"scheduled_reset_period,omitempty"` - // - SelfUrl *string `json:"self_url,omitempty"` - // - SlugPerm *string `json:"slug_perm,omitempty"` - // - Token *string `json:"token,omitempty"` + ScheduledResetAt NullableTime `json:"scheduled_reset_at,omitempty"` + ScheduledResetPeriod NullableString `json:"scheduled_reset_period,omitempty"` + SelfUrl *string `json:"self_url,omitempty"` + SlugPerm *string `json:"slug_perm,omitempty"` + Token *string `json:"token,omitempty"` // The datetime the token was updated at. - UpdatedAt *string `json:"updated_at,omitempty"` - // - UpdatedBy *string `json:"updated_by,omitempty"` - // - UpdatedByUrl *string `json:"updated_by_url,omitempty"` - // - Usage *string `json:"usage,omitempty"` - // - User *string `json:"user,omitempty"` - // - UserUrl *string `json:"user_url,omitempty"` + UpdatedAt *time.Time `json:"updated_at,omitempty"` + UpdatedBy NullableString `json:"updated_by,omitempty"` + UpdatedByUrl NullableString `json:"updated_by_url,omitempty"` + Usage *string `json:"usage,omitempty"` + User NullableString `json:"user,omitempty"` + UserUrl NullableString `json:"user_url,omitempty"` } // NewRepositoryToken instantiates a new RepositoryToken object @@ -103,7 +79,11 @@ type RepositoryToken struct { // will change when the set of required properties is changed func NewRepositoryToken(name string) *RepositoryToken { this := RepositoryToken{} + var limitBandwidthUnit string = "Byte" + this.LimitBandwidthUnit = *NewNullableString(&limitBandwidthUnit) this.Name = name + var scheduledResetPeriod string = "Never Reset" + this.ScheduledResetPeriod = *NewNullableString(&scheduledResetPeriod) return &this } @@ -112,12 +92,16 @@ func NewRepositoryToken(name string) *RepositoryToken { // but it doesn't guarantee that properties required by API are set func NewRepositoryTokenWithDefaults() *RepositoryToken { this := RepositoryToken{} + var limitBandwidthUnit string = "Byte" + this.LimitBandwidthUnit = *NewNullableString(&limitBandwidthUnit) + var scheduledResetPeriod string = "Never Reset" + this.ScheduledResetPeriod = *NewNullableString(&scheduledResetPeriod) return &this } // GetClients returns the Clients field value if set, zero value otherwise. func (o *RepositoryToken) GetClients() int64 { - if o == nil || o.Clients == nil { + if o == nil || isNil(o.Clients) { var ret int64 return ret } @@ -127,7 +111,7 @@ func (o *RepositoryToken) GetClients() int64 { // GetClientsOk returns a tuple with the Clients field value if set, nil otherwise // and a boolean to check if the value has been set. func (o *RepositoryToken) GetClientsOk() (*int64, bool) { - if o == nil || o.Clients == nil { + if o == nil || isNil(o.Clients) { return nil, false } return o.Clients, true @@ -135,7 +119,7 @@ func (o *RepositoryToken) GetClientsOk() (*int64, bool) { // HasClients returns a boolean if a field has been set. func (o *RepositoryToken) HasClients() bool { - if o != nil && o.Clients != nil { + if o != nil && !isNil(o.Clients) { return true } @@ -148,9 +132,9 @@ func (o *RepositoryToken) SetClients(v int64) { } // GetCreatedAt returns the CreatedAt field value if set, zero value otherwise. -func (o *RepositoryToken) GetCreatedAt() string { - if o == nil || o.CreatedAt == nil { - var ret string +func (o *RepositoryToken) GetCreatedAt() time.Time { + if o == nil || isNil(o.CreatedAt) { + var ret time.Time return ret } return *o.CreatedAt @@ -158,8 +142,8 @@ func (o *RepositoryToken) GetCreatedAt() string { // GetCreatedAtOk returns a tuple with the CreatedAt field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *RepositoryToken) GetCreatedAtOk() (*string, bool) { - if o == nil || o.CreatedAt == nil { +func (o *RepositoryToken) GetCreatedAtOk() (*time.Time, bool) { + if o == nil || isNil(o.CreatedAt) { return nil, false } return o.CreatedAt, true @@ -167,21 +151,21 @@ func (o *RepositoryToken) GetCreatedAtOk() (*string, bool) { // HasCreatedAt returns a boolean if a field has been set. func (o *RepositoryToken) HasCreatedAt() bool { - if o != nil && o.CreatedAt != nil { + if o != nil && !isNil(o.CreatedAt) { return true } return false } -// SetCreatedAt gets a reference to the given string and assigns it to the CreatedAt field. -func (o *RepositoryToken) SetCreatedAt(v string) { +// SetCreatedAt gets a reference to the given time.Time and assigns it to the CreatedAt field. +func (o *RepositoryToken) SetCreatedAt(v time.Time) { o.CreatedAt = &v } // GetCreatedBy returns the CreatedBy field value if set, zero value otherwise. func (o *RepositoryToken) GetCreatedBy() string { - if o == nil || o.CreatedBy == nil { + if o == nil || isNil(o.CreatedBy) { var ret string return ret } @@ -191,7 +175,7 @@ func (o *RepositoryToken) GetCreatedBy() string { // GetCreatedByOk returns a tuple with the CreatedBy field value if set, nil otherwise // and a boolean to check if the value has been set. func (o *RepositoryToken) GetCreatedByOk() (*string, bool) { - if o == nil || o.CreatedBy == nil { + if o == nil || isNil(o.CreatedBy) { return nil, false } return o.CreatedBy, true @@ -199,7 +183,7 @@ func (o *RepositoryToken) GetCreatedByOk() (*string, bool) { // HasCreatedBy returns a boolean if a field has been set. func (o *RepositoryToken) HasCreatedBy() bool { - if o != nil && o.CreatedBy != nil { + if o != nil && !isNil(o.CreatedBy) { return true } @@ -213,7 +197,7 @@ func (o *RepositoryToken) SetCreatedBy(v string) { // GetCreatedByUrl returns the CreatedByUrl field value if set, zero value otherwise. func (o *RepositoryToken) GetCreatedByUrl() string { - if o == nil || o.CreatedByUrl == nil { + if o == nil || isNil(o.CreatedByUrl) { var ret string return ret } @@ -223,7 +207,7 @@ func (o *RepositoryToken) GetCreatedByUrl() string { // GetCreatedByUrlOk returns a tuple with the CreatedByUrl field value if set, nil otherwise // and a boolean to check if the value has been set. func (o *RepositoryToken) GetCreatedByUrlOk() (*string, bool) { - if o == nil || o.CreatedByUrl == nil { + if o == nil || isNil(o.CreatedByUrl) { return nil, false } return o.CreatedByUrl, true @@ -231,7 +215,7 @@ func (o *RepositoryToken) GetCreatedByUrlOk() (*string, bool) { // HasCreatedByUrl returns a boolean if a field has been set. func (o *RepositoryToken) HasCreatedByUrl() bool { - if o != nil && o.CreatedByUrl != nil { + if o != nil && !isNil(o.CreatedByUrl) { return true } @@ -245,7 +229,7 @@ func (o *RepositoryToken) SetCreatedByUrl(v string) { // GetDefault returns the Default field value if set, zero value otherwise. func (o *RepositoryToken) GetDefault() bool { - if o == nil || o.Default == nil { + if o == nil || isNil(o.Default) { var ret bool return ret } @@ -255,7 +239,7 @@ func (o *RepositoryToken) GetDefault() bool { // GetDefaultOk returns a tuple with the Default field value if set, nil otherwise // and a boolean to check if the value has been set. func (o *RepositoryToken) GetDefaultOk() (*bool, bool) { - if o == nil || o.Default == nil { + if o == nil || isNil(o.Default) { return nil, false } return o.Default, true @@ -263,7 +247,7 @@ func (o *RepositoryToken) GetDefaultOk() (*bool, bool) { // HasDefault returns a boolean if a field has been set. func (o *RepositoryToken) HasDefault() bool { - if o != nil && o.Default != nil { + if o != nil && !isNil(o.Default) { return true } @@ -277,7 +261,7 @@ func (o *RepositoryToken) SetDefault(v bool) { // GetDisableUrl returns the DisableUrl field value if set, zero value otherwise. func (o *RepositoryToken) GetDisableUrl() string { - if o == nil || o.DisableUrl == nil { + if o == nil || isNil(o.DisableUrl) { var ret string return ret } @@ -287,7 +271,7 @@ func (o *RepositoryToken) GetDisableUrl() string { // GetDisableUrlOk returns a tuple with the DisableUrl field value if set, nil otherwise // and a boolean to check if the value has been set. func (o *RepositoryToken) GetDisableUrlOk() (*string, bool) { - if o == nil || o.DisableUrl == nil { + if o == nil || isNil(o.DisableUrl) { return nil, false } return o.DisableUrl, true @@ -295,7 +279,7 @@ func (o *RepositoryToken) GetDisableUrlOk() (*string, bool) { // HasDisableUrl returns a boolean if a field has been set. func (o *RepositoryToken) HasDisableUrl() bool { - if o != nil && o.DisableUrl != nil { + if o != nil && !isNil(o.DisableUrl) { return true } @@ -309,7 +293,7 @@ func (o *RepositoryToken) SetDisableUrl(v string) { // GetDownloads returns the Downloads field value if set, zero value otherwise. func (o *RepositoryToken) GetDownloads() int64 { - if o == nil || o.Downloads == nil { + if o == nil || isNil(o.Downloads) { var ret int64 return ret } @@ -319,7 +303,7 @@ func (o *RepositoryToken) GetDownloads() int64 { // GetDownloadsOk returns a tuple with the Downloads field value if set, nil otherwise // and a boolean to check if the value has been set. func (o *RepositoryToken) GetDownloadsOk() (*int64, bool) { - if o == nil || o.Downloads == nil { + if o == nil || isNil(o.Downloads) { return nil, false } return o.Downloads, true @@ -327,7 +311,7 @@ func (o *RepositoryToken) GetDownloadsOk() (*int64, bool) { // HasDownloads returns a boolean if a field has been set. func (o *RepositoryToken) HasDownloads() bool { - if o != nil && o.Downloads != nil { + if o != nil && !isNil(o.Downloads) { return true } @@ -341,7 +325,7 @@ func (o *RepositoryToken) SetDownloads(v int64) { // GetEnableUrl returns the EnableUrl field value if set, zero value otherwise. func (o *RepositoryToken) GetEnableUrl() string { - if o == nil || o.EnableUrl == nil { + if o == nil || isNil(o.EnableUrl) { var ret string return ret } @@ -351,7 +335,7 @@ func (o *RepositoryToken) GetEnableUrl() string { // GetEnableUrlOk returns a tuple with the EnableUrl field value if set, nil otherwise // and a boolean to check if the value has been set. func (o *RepositoryToken) GetEnableUrlOk() (*string, bool) { - if o == nil || o.EnableUrl == nil { + if o == nil || isNil(o.EnableUrl) { return nil, false } return o.EnableUrl, true @@ -359,7 +343,7 @@ func (o *RepositoryToken) GetEnableUrlOk() (*string, bool) { // HasEnableUrl returns a boolean if a field has been set. func (o *RepositoryToken) HasEnableUrl() bool { - if o != nil && o.EnableUrl != nil { + if o != nil && !isNil(o.EnableUrl) { return true } @@ -371,42 +355,53 @@ func (o *RepositoryToken) SetEnableUrl(v string) { o.EnableUrl = &v } -// GetEulaAccepted returns the EulaAccepted field value if set, zero value otherwise. -func (o *RepositoryToken) GetEulaAccepted() map[string]interface{} { - if o == nil || o.EulaAccepted == nil { - var ret map[string]interface{} +// GetEulaAccepted returns the EulaAccepted field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *RepositoryToken) GetEulaAccepted() Eula { + if o == nil || isNil(o.EulaAccepted.Get()) { + var ret Eula return ret } - return o.EulaAccepted + return *o.EulaAccepted.Get() } // GetEulaAcceptedOk returns a tuple with the EulaAccepted field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *RepositoryToken) GetEulaAcceptedOk() (map[string]interface{}, bool) { - if o == nil || o.EulaAccepted == nil { +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *RepositoryToken) GetEulaAcceptedOk() (*Eula, bool) { + if o == nil { return nil, false } - return o.EulaAccepted, true + return o.EulaAccepted.Get(), o.EulaAccepted.IsSet() } // HasEulaAccepted returns a boolean if a field has been set. func (o *RepositoryToken) HasEulaAccepted() bool { - if o != nil && o.EulaAccepted != nil { + if o != nil && o.EulaAccepted.IsSet() { return true } return false } -// SetEulaAccepted gets a reference to the given map[string]interface{} and assigns it to the EulaAccepted field. -func (o *RepositoryToken) SetEulaAccepted(v map[string]interface{}) { - o.EulaAccepted = v +// SetEulaAccepted gets a reference to the given NullableEula and assigns it to the EulaAccepted field. +func (o *RepositoryToken) SetEulaAccepted(v Eula) { + o.EulaAccepted.Set(&v) +} + +// SetEulaAcceptedNil sets the value for EulaAccepted to be an explicit nil +func (o *RepositoryToken) SetEulaAcceptedNil() { + o.EulaAccepted.Set(nil) +} + +// UnsetEulaAccepted ensures that no value is present for EulaAccepted, not even an explicit nil +func (o *RepositoryToken) UnsetEulaAccepted() { + o.EulaAccepted.Unset() } // GetEulaAcceptedAt returns the EulaAcceptedAt field value if set, zero value otherwise. -func (o *RepositoryToken) GetEulaAcceptedAt() string { - if o == nil || o.EulaAcceptedAt == nil { - var ret string +func (o *RepositoryToken) GetEulaAcceptedAt() time.Time { + if o == nil || isNil(o.EulaAcceptedAt) { + var ret time.Time return ret } return *o.EulaAcceptedAt @@ -414,8 +409,8 @@ func (o *RepositoryToken) GetEulaAcceptedAt() string { // GetEulaAcceptedAtOk returns a tuple with the EulaAcceptedAt field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *RepositoryToken) GetEulaAcceptedAtOk() (*string, bool) { - if o == nil || o.EulaAcceptedAt == nil { +func (o *RepositoryToken) GetEulaAcceptedAtOk() (*time.Time, bool) { + if o == nil || isNil(o.EulaAcceptedAt) { return nil, false } return o.EulaAcceptedAt, true @@ -423,53 +418,64 @@ func (o *RepositoryToken) GetEulaAcceptedAtOk() (*string, bool) { // HasEulaAcceptedAt returns a boolean if a field has been set. func (o *RepositoryToken) HasEulaAcceptedAt() bool { - if o != nil && o.EulaAcceptedAt != nil { + if o != nil && !isNil(o.EulaAcceptedAt) { return true } return false } -// SetEulaAcceptedAt gets a reference to the given string and assigns it to the EulaAcceptedAt field. -func (o *RepositoryToken) SetEulaAcceptedAt(v string) { +// SetEulaAcceptedAt gets a reference to the given time.Time and assigns it to the EulaAcceptedAt field. +func (o *RepositoryToken) SetEulaAcceptedAt(v time.Time) { o.EulaAcceptedAt = &v } -// GetEulaAcceptedFrom returns the EulaAcceptedFrom field value if set, zero value otherwise. +// GetEulaAcceptedFrom returns the EulaAcceptedFrom field value if set, zero value otherwise (both if not set or set to explicit null). func (o *RepositoryToken) GetEulaAcceptedFrom() string { - if o == nil || o.EulaAcceptedFrom == nil { + if o == nil || isNil(o.EulaAcceptedFrom.Get()) { var ret string return ret } - return *o.EulaAcceptedFrom + return *o.EulaAcceptedFrom.Get() } // GetEulaAcceptedFromOk returns a tuple with the EulaAcceptedFrom 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 *RepositoryToken) GetEulaAcceptedFromOk() (*string, bool) { - if o == nil || o.EulaAcceptedFrom == nil { + if o == nil { return nil, false } - return o.EulaAcceptedFrom, true + return o.EulaAcceptedFrom.Get(), o.EulaAcceptedFrom.IsSet() } // HasEulaAcceptedFrom returns a boolean if a field has been set. func (o *RepositoryToken) HasEulaAcceptedFrom() bool { - if o != nil && o.EulaAcceptedFrom != nil { + if o != nil && o.EulaAcceptedFrom.IsSet() { return true } return false } -// SetEulaAcceptedFrom gets a reference to the given string and assigns it to the EulaAcceptedFrom field. +// SetEulaAcceptedFrom gets a reference to the given NullableString and assigns it to the EulaAcceptedFrom field. func (o *RepositoryToken) SetEulaAcceptedFrom(v string) { - o.EulaAcceptedFrom = &v + o.EulaAcceptedFrom.Set(&v) +} + +// SetEulaAcceptedFromNil sets the value for EulaAcceptedFrom to be an explicit nil +func (o *RepositoryToken) SetEulaAcceptedFromNil() { + o.EulaAcceptedFrom.Set(nil) +} + +// UnsetEulaAcceptedFrom ensures that no value is present for EulaAcceptedFrom, not even an explicit nil +func (o *RepositoryToken) UnsetEulaAcceptedFrom() { + o.EulaAcceptedFrom.Unset() } // GetEulaRequired returns the EulaRequired field value if set, zero value otherwise. func (o *RepositoryToken) GetEulaRequired() bool { - if o == nil || o.EulaRequired == nil { + if o == nil || isNil(o.EulaRequired) { var ret bool return ret } @@ -479,7 +485,7 @@ func (o *RepositoryToken) GetEulaRequired() bool { // GetEulaRequiredOk returns a tuple with the EulaRequired field value if set, nil otherwise // and a boolean to check if the value has been set. func (o *RepositoryToken) GetEulaRequiredOk() (*bool, bool) { - if o == nil || o.EulaRequired == nil { + if o == nil || isNil(o.EulaRequired) { return nil, false } return o.EulaRequired, true @@ -487,7 +493,7 @@ func (o *RepositoryToken) GetEulaRequiredOk() (*bool, bool) { // HasEulaRequired returns a boolean if a field has been set. func (o *RepositoryToken) HasEulaRequired() bool { - if o != nil && o.EulaRequired != nil { + if o != nil && !isNil(o.EulaRequired) { return true } @@ -501,7 +507,7 @@ func (o *RepositoryToken) SetEulaRequired(v bool) { // GetHasLimits returns the HasLimits field value if set, zero value otherwise. func (o *RepositoryToken) GetHasLimits() bool { - if o == nil || o.HasLimits == nil { + if o == nil || isNil(o.HasLimits) { var ret bool return ret } @@ -511,7 +517,7 @@ func (o *RepositoryToken) GetHasLimits() bool { // GetHasLimitsOk returns a tuple with the HasLimits field value if set, nil otherwise // and a boolean to check if the value has been set. func (o *RepositoryToken) GetHasLimitsOk() (*bool, bool) { - if o == nil || o.HasLimits == nil { + if o == nil || isNil(o.HasLimits) { return nil, false } return o.HasLimits, true @@ -519,7 +525,7 @@ func (o *RepositoryToken) GetHasLimitsOk() (*bool, bool) { // HasHasLimits returns a boolean if a field has been set. func (o *RepositoryToken) HasHasLimits() bool { - if o != nil && o.HasLimits != nil { + if o != nil && !isNil(o.HasLimits) { return true } @@ -533,7 +539,7 @@ func (o *RepositoryToken) SetHasLimits(v bool) { // GetIdentifier returns the Identifier field value if set, zero value otherwise. func (o *RepositoryToken) GetIdentifier() int64 { - if o == nil || o.Identifier == nil { + if o == nil || isNil(o.Identifier) { var ret int64 return ret } @@ -543,7 +549,7 @@ func (o *RepositoryToken) GetIdentifier() int64 { // GetIdentifierOk returns a tuple with the Identifier field value if set, nil otherwise // and a boolean to check if the value has been set. func (o *RepositoryToken) GetIdentifierOk() (*int64, bool) { - if o == nil || o.Identifier == nil { + if o == nil || isNil(o.Identifier) { return nil, false } return o.Identifier, true @@ -551,7 +557,7 @@ func (o *RepositoryToken) GetIdentifierOk() (*int64, bool) { // HasIdentifier returns a boolean if a field has been set. func (o *RepositoryToken) HasIdentifier() bool { - if o != nil && o.Identifier != nil { + if o != nil && !isNil(o.Identifier) { return true } @@ -565,7 +571,7 @@ func (o *RepositoryToken) SetIdentifier(v int64) { // GetIsActive returns the IsActive field value if set, zero value otherwise. func (o *RepositoryToken) GetIsActive() bool { - if o == nil || o.IsActive == nil { + if o == nil || isNil(o.IsActive) { var ret bool return ret } @@ -575,7 +581,7 @@ func (o *RepositoryToken) GetIsActive() bool { // GetIsActiveOk returns a tuple with the IsActive field value if set, nil otherwise // and a boolean to check if the value has been set. func (o *RepositoryToken) GetIsActiveOk() (*bool, bool) { - if o == nil || o.IsActive == nil { + if o == nil || isNil(o.IsActive) { return nil, false } return o.IsActive, true @@ -583,7 +589,7 @@ func (o *RepositoryToken) GetIsActiveOk() (*bool, bool) { // HasIsActive returns a boolean if a field has been set. func (o *RepositoryToken) HasIsActive() bool { - if o != nil && o.IsActive != nil { + if o != nil && !isNil(o.IsActive) { return true } @@ -597,7 +603,7 @@ func (o *RepositoryToken) SetIsActive(v bool) { // GetIsLimited returns the IsLimited field value if set, zero value otherwise. func (o *RepositoryToken) GetIsLimited() bool { - if o == nil || o.IsLimited == nil { + if o == nil || isNil(o.IsLimited) { var ret bool return ret } @@ -607,7 +613,7 @@ func (o *RepositoryToken) GetIsLimited() bool { // GetIsLimitedOk returns a tuple with the IsLimited field value if set, nil otherwise // and a boolean to check if the value has been set. func (o *RepositoryToken) GetIsLimitedOk() (*bool, bool) { - if o == nil || o.IsLimited == nil { + if o == nil || isNil(o.IsLimited) { return nil, false } return o.IsLimited, true @@ -615,7 +621,7 @@ func (o *RepositoryToken) GetIsLimitedOk() (*bool, bool) { // HasIsLimited returns a boolean if a field has been set. func (o *RepositoryToken) HasIsLimited() bool { - if o != nil && o.IsLimited != nil { + if o != nil && !isNil(o.IsLimited) { return true } @@ -627,265 +633,353 @@ func (o *RepositoryToken) SetIsLimited(v bool) { o.IsLimited = &v } -// GetLimitBandwidth returns the LimitBandwidth field value if set, zero value otherwise. +// GetLimitBandwidth returns the LimitBandwidth field value if set, zero value otherwise (both if not set or set to explicit null). func (o *RepositoryToken) GetLimitBandwidth() int64 { - if o == nil || o.LimitBandwidth == nil { + if o == nil || isNil(o.LimitBandwidth.Get()) { var ret int64 return ret } - return *o.LimitBandwidth + return *o.LimitBandwidth.Get() } // GetLimitBandwidthOk returns a tuple with the LimitBandwidth 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 *RepositoryToken) GetLimitBandwidthOk() (*int64, bool) { - if o == nil || o.LimitBandwidth == nil { + if o == nil { return nil, false } - return o.LimitBandwidth, true + return o.LimitBandwidth.Get(), o.LimitBandwidth.IsSet() } // HasLimitBandwidth returns a boolean if a field has been set. func (o *RepositoryToken) HasLimitBandwidth() bool { - if o != nil && o.LimitBandwidth != nil { + if o != nil && o.LimitBandwidth.IsSet() { return true } return false } -// SetLimitBandwidth gets a reference to the given int64 and assigns it to the LimitBandwidth field. +// SetLimitBandwidth gets a reference to the given NullableInt64 and assigns it to the LimitBandwidth field. func (o *RepositoryToken) SetLimitBandwidth(v int64) { - o.LimitBandwidth = &v + o.LimitBandwidth.Set(&v) +} + +// SetLimitBandwidthNil sets the value for LimitBandwidth to be an explicit nil +func (o *RepositoryToken) SetLimitBandwidthNil() { + o.LimitBandwidth.Set(nil) +} + +// UnsetLimitBandwidth ensures that no value is present for LimitBandwidth, not even an explicit nil +func (o *RepositoryToken) UnsetLimitBandwidth() { + o.LimitBandwidth.Unset() } -// GetLimitBandwidthUnit returns the LimitBandwidthUnit field value if set, zero value otherwise. +// GetLimitBandwidthUnit returns the LimitBandwidthUnit field value if set, zero value otherwise (both if not set or set to explicit null). func (o *RepositoryToken) GetLimitBandwidthUnit() string { - if o == nil || o.LimitBandwidthUnit == nil { + if o == nil || isNil(o.LimitBandwidthUnit.Get()) { var ret string return ret } - return *o.LimitBandwidthUnit + return *o.LimitBandwidthUnit.Get() } // GetLimitBandwidthUnitOk returns a tuple with the LimitBandwidthUnit 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 *RepositoryToken) GetLimitBandwidthUnitOk() (*string, bool) { - if o == nil || o.LimitBandwidthUnit == nil { + if o == nil { return nil, false } - return o.LimitBandwidthUnit, true + return o.LimitBandwidthUnit.Get(), o.LimitBandwidthUnit.IsSet() } // HasLimitBandwidthUnit returns a boolean if a field has been set. func (o *RepositoryToken) HasLimitBandwidthUnit() bool { - if o != nil && o.LimitBandwidthUnit != nil { + if o != nil && o.LimitBandwidthUnit.IsSet() { return true } return false } -// SetLimitBandwidthUnit gets a reference to the given string and assigns it to the LimitBandwidthUnit field. +// SetLimitBandwidthUnit gets a reference to the given NullableString and assigns it to the LimitBandwidthUnit field. func (o *RepositoryToken) SetLimitBandwidthUnit(v string) { - o.LimitBandwidthUnit = &v + o.LimitBandwidthUnit.Set(&v) } -// GetLimitDateRangeFrom returns the LimitDateRangeFrom field value if set, zero value otherwise. -func (o *RepositoryToken) GetLimitDateRangeFrom() string { - if o == nil || o.LimitDateRangeFrom == nil { - var ret string +// SetLimitBandwidthUnitNil sets the value for LimitBandwidthUnit to be an explicit nil +func (o *RepositoryToken) SetLimitBandwidthUnitNil() { + o.LimitBandwidthUnit.Set(nil) +} + +// UnsetLimitBandwidthUnit ensures that no value is present for LimitBandwidthUnit, not even an explicit nil +func (o *RepositoryToken) UnsetLimitBandwidthUnit() { + o.LimitBandwidthUnit.Unset() +} + +// GetLimitDateRangeFrom returns the LimitDateRangeFrom field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *RepositoryToken) GetLimitDateRangeFrom() time.Time { + if o == nil || isNil(o.LimitDateRangeFrom.Get()) { + var ret time.Time return ret } - return *o.LimitDateRangeFrom + return *o.LimitDateRangeFrom.Get() } // GetLimitDateRangeFromOk returns a tuple with the LimitDateRangeFrom field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *RepositoryToken) GetLimitDateRangeFromOk() (*string, bool) { - if o == nil || o.LimitDateRangeFrom == nil { +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *RepositoryToken) GetLimitDateRangeFromOk() (*time.Time, bool) { + if o == nil { return nil, false } - return o.LimitDateRangeFrom, true + return o.LimitDateRangeFrom.Get(), o.LimitDateRangeFrom.IsSet() } // HasLimitDateRangeFrom returns a boolean if a field has been set. func (o *RepositoryToken) HasLimitDateRangeFrom() bool { - if o != nil && o.LimitDateRangeFrom != nil { + if o != nil && o.LimitDateRangeFrom.IsSet() { return true } return false } -// SetLimitDateRangeFrom gets a reference to the given string and assigns it to the LimitDateRangeFrom field. -func (o *RepositoryToken) SetLimitDateRangeFrom(v string) { - o.LimitDateRangeFrom = &v +// SetLimitDateRangeFrom gets a reference to the given NullableTime and assigns it to the LimitDateRangeFrom field. +func (o *RepositoryToken) SetLimitDateRangeFrom(v time.Time) { + o.LimitDateRangeFrom.Set(&v) } -// GetLimitDateRangeTo returns the LimitDateRangeTo field value if set, zero value otherwise. -func (o *RepositoryToken) GetLimitDateRangeTo() string { - if o == nil || o.LimitDateRangeTo == nil { - var ret string +// SetLimitDateRangeFromNil sets the value for LimitDateRangeFrom to be an explicit nil +func (o *RepositoryToken) SetLimitDateRangeFromNil() { + o.LimitDateRangeFrom.Set(nil) +} + +// UnsetLimitDateRangeFrom ensures that no value is present for LimitDateRangeFrom, not even an explicit nil +func (o *RepositoryToken) UnsetLimitDateRangeFrom() { + o.LimitDateRangeFrom.Unset() +} + +// GetLimitDateRangeTo returns the LimitDateRangeTo field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *RepositoryToken) GetLimitDateRangeTo() time.Time { + if o == nil || isNil(o.LimitDateRangeTo.Get()) { + var ret time.Time return ret } - return *o.LimitDateRangeTo + return *o.LimitDateRangeTo.Get() } // GetLimitDateRangeToOk returns a tuple with the LimitDateRangeTo field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *RepositoryToken) GetLimitDateRangeToOk() (*string, bool) { - if o == nil || o.LimitDateRangeTo == nil { +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *RepositoryToken) GetLimitDateRangeToOk() (*time.Time, bool) { + if o == nil { return nil, false } - return o.LimitDateRangeTo, true + return o.LimitDateRangeTo.Get(), o.LimitDateRangeTo.IsSet() } // HasLimitDateRangeTo returns a boolean if a field has been set. func (o *RepositoryToken) HasLimitDateRangeTo() bool { - if o != nil && o.LimitDateRangeTo != nil { + if o != nil && o.LimitDateRangeTo.IsSet() { return true } return false } -// SetLimitDateRangeTo gets a reference to the given string and assigns it to the LimitDateRangeTo field. -func (o *RepositoryToken) SetLimitDateRangeTo(v string) { - o.LimitDateRangeTo = &v +// SetLimitDateRangeTo gets a reference to the given NullableTime and assigns it to the LimitDateRangeTo field. +func (o *RepositoryToken) SetLimitDateRangeTo(v time.Time) { + o.LimitDateRangeTo.Set(&v) +} + +// SetLimitDateRangeToNil sets the value for LimitDateRangeTo to be an explicit nil +func (o *RepositoryToken) SetLimitDateRangeToNil() { + o.LimitDateRangeTo.Set(nil) +} + +// UnsetLimitDateRangeTo ensures that no value is present for LimitDateRangeTo, not even an explicit nil +func (o *RepositoryToken) UnsetLimitDateRangeTo() { + o.LimitDateRangeTo.Unset() } -// GetLimitNumClients returns the LimitNumClients field value if set, zero value otherwise. +// GetLimitNumClients returns the LimitNumClients field value if set, zero value otherwise (both if not set or set to explicit null). func (o *RepositoryToken) GetLimitNumClients() int64 { - if o == nil || o.LimitNumClients == nil { + if o == nil || isNil(o.LimitNumClients.Get()) { var ret int64 return ret } - return *o.LimitNumClients + return *o.LimitNumClients.Get() } // GetLimitNumClientsOk returns a tuple with the LimitNumClients 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 *RepositoryToken) GetLimitNumClientsOk() (*int64, bool) { - if o == nil || o.LimitNumClients == nil { + if o == nil { return nil, false } - return o.LimitNumClients, true + return o.LimitNumClients.Get(), o.LimitNumClients.IsSet() } // HasLimitNumClients returns a boolean if a field has been set. func (o *RepositoryToken) HasLimitNumClients() bool { - if o != nil && o.LimitNumClients != nil { + if o != nil && o.LimitNumClients.IsSet() { return true } return false } -// SetLimitNumClients gets a reference to the given int64 and assigns it to the LimitNumClients field. +// SetLimitNumClients gets a reference to the given NullableInt64 and assigns it to the LimitNumClients field. func (o *RepositoryToken) SetLimitNumClients(v int64) { - o.LimitNumClients = &v + o.LimitNumClients.Set(&v) +} + +// SetLimitNumClientsNil sets the value for LimitNumClients to be an explicit nil +func (o *RepositoryToken) SetLimitNumClientsNil() { + o.LimitNumClients.Set(nil) +} + +// UnsetLimitNumClients ensures that no value is present for LimitNumClients, not even an explicit nil +func (o *RepositoryToken) UnsetLimitNumClients() { + o.LimitNumClients.Unset() } -// GetLimitNumDownloads returns the LimitNumDownloads field value if set, zero value otherwise. +// GetLimitNumDownloads returns the LimitNumDownloads field value if set, zero value otherwise (both if not set or set to explicit null). func (o *RepositoryToken) GetLimitNumDownloads() int64 { - if o == nil || o.LimitNumDownloads == nil { + if o == nil || isNil(o.LimitNumDownloads.Get()) { var ret int64 return ret } - return *o.LimitNumDownloads + return *o.LimitNumDownloads.Get() } // GetLimitNumDownloadsOk returns a tuple with the LimitNumDownloads 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 *RepositoryToken) GetLimitNumDownloadsOk() (*int64, bool) { - if o == nil || o.LimitNumDownloads == nil { + if o == nil { return nil, false } - return o.LimitNumDownloads, true + return o.LimitNumDownloads.Get(), o.LimitNumDownloads.IsSet() } // HasLimitNumDownloads returns a boolean if a field has been set. func (o *RepositoryToken) HasLimitNumDownloads() bool { - if o != nil && o.LimitNumDownloads != nil { + if o != nil && o.LimitNumDownloads.IsSet() { return true } return false } -// SetLimitNumDownloads gets a reference to the given int64 and assigns it to the LimitNumDownloads field. +// SetLimitNumDownloads gets a reference to the given NullableInt64 and assigns it to the LimitNumDownloads field. func (o *RepositoryToken) SetLimitNumDownloads(v int64) { - o.LimitNumDownloads = &v + o.LimitNumDownloads.Set(&v) +} + +// SetLimitNumDownloadsNil sets the value for LimitNumDownloads to be an explicit nil +func (o *RepositoryToken) SetLimitNumDownloadsNil() { + o.LimitNumDownloads.Set(nil) +} + +// UnsetLimitNumDownloads ensures that no value is present for LimitNumDownloads, not even an explicit nil +func (o *RepositoryToken) UnsetLimitNumDownloads() { + o.LimitNumDownloads.Unset() } -// GetLimitPackageQuery returns the LimitPackageQuery field value if set, zero value otherwise. +// GetLimitPackageQuery returns the LimitPackageQuery field value if set, zero value otherwise (both if not set or set to explicit null). func (o *RepositoryToken) GetLimitPackageQuery() string { - if o == nil || o.LimitPackageQuery == nil { + if o == nil || isNil(o.LimitPackageQuery.Get()) { var ret string return ret } - return *o.LimitPackageQuery + return *o.LimitPackageQuery.Get() } // GetLimitPackageQueryOk returns a tuple with the LimitPackageQuery 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 *RepositoryToken) GetLimitPackageQueryOk() (*string, bool) { - if o == nil || o.LimitPackageQuery == nil { + if o == nil { return nil, false } - return o.LimitPackageQuery, true + return o.LimitPackageQuery.Get(), o.LimitPackageQuery.IsSet() } // HasLimitPackageQuery returns a boolean if a field has been set. func (o *RepositoryToken) HasLimitPackageQuery() bool { - if o != nil && o.LimitPackageQuery != nil { + if o != nil && o.LimitPackageQuery.IsSet() { return true } return false } -// SetLimitPackageQuery gets a reference to the given string and assigns it to the LimitPackageQuery field. +// SetLimitPackageQuery gets a reference to the given NullableString and assigns it to the LimitPackageQuery field. func (o *RepositoryToken) SetLimitPackageQuery(v string) { - o.LimitPackageQuery = &v + o.LimitPackageQuery.Set(&v) +} + +// SetLimitPackageQueryNil sets the value for LimitPackageQuery to be an explicit nil +func (o *RepositoryToken) SetLimitPackageQueryNil() { + o.LimitPackageQuery.Set(nil) } -// GetLimitPathQuery returns the LimitPathQuery field value if set, zero value otherwise. +// UnsetLimitPackageQuery ensures that no value is present for LimitPackageQuery, not even an explicit nil +func (o *RepositoryToken) UnsetLimitPackageQuery() { + o.LimitPackageQuery.Unset() +} + +// GetLimitPathQuery returns the LimitPathQuery field value if set, zero value otherwise (both if not set or set to explicit null). func (o *RepositoryToken) GetLimitPathQuery() string { - if o == nil || o.LimitPathQuery == nil { + if o == nil || isNil(o.LimitPathQuery.Get()) { var ret string return ret } - return *o.LimitPathQuery + return *o.LimitPathQuery.Get() } // GetLimitPathQueryOk returns a tuple with the LimitPathQuery 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 *RepositoryToken) GetLimitPathQueryOk() (*string, bool) { - if o == nil || o.LimitPathQuery == nil { + if o == nil { return nil, false } - return o.LimitPathQuery, true + return o.LimitPathQuery.Get(), o.LimitPathQuery.IsSet() } // HasLimitPathQuery returns a boolean if a field has been set. func (o *RepositoryToken) HasLimitPathQuery() bool { - if o != nil && o.LimitPathQuery != nil { + if o != nil && o.LimitPathQuery.IsSet() { return true } return false } -// SetLimitPathQuery gets a reference to the given string and assigns it to the LimitPathQuery field. +// SetLimitPathQuery gets a reference to the given NullableString and assigns it to the LimitPathQuery field. func (o *RepositoryToken) SetLimitPathQuery(v string) { - o.LimitPathQuery = &v + o.LimitPathQuery.Set(&v) } -// GetMetadata returns the Metadata field value if set, zero value otherwise. +// SetLimitPathQueryNil sets the value for LimitPathQuery to be an explicit nil +func (o *RepositoryToken) SetLimitPathQueryNil() { + o.LimitPathQuery.Set(nil) +} + +// UnsetLimitPathQuery ensures that no value is present for LimitPathQuery, not even an explicit nil +func (o *RepositoryToken) UnsetLimitPathQuery() { + o.LimitPathQuery.Unset() +} + +// GetMetadata returns the Metadata field value if set, zero value otherwise (both if not set or set to explicit null). func (o *RepositoryToken) GetMetadata() map[string]interface{} { - if o == nil || o.Metadata == nil { + if o == nil { var ret map[string]interface{} return ret } @@ -894,16 +988,17 @@ func (o *RepositoryToken) GetMetadata() map[string]interface{} { // GetMetadataOk returns a tuple with the Metadata 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 *RepositoryToken) GetMetadataOk() (map[string]interface{}, bool) { - if o == nil || o.Metadata == nil { - return nil, false + if o == nil || isNil(o.Metadata) { + return map[string]interface{}{}, false } return o.Metadata, true } // HasMetadata returns a boolean if a field has been set. func (o *RepositoryToken) HasMetadata() bool { - if o != nil && o.Metadata != nil { + if o != nil && isNil(o.Metadata) { return true } @@ -941,7 +1036,7 @@ func (o *RepositoryToken) SetName(v string) { // GetRefreshUrl returns the RefreshUrl field value if set, zero value otherwise. func (o *RepositoryToken) GetRefreshUrl() string { - if o == nil || o.RefreshUrl == nil { + if o == nil || isNil(o.RefreshUrl) { var ret string return ret } @@ -951,7 +1046,7 @@ func (o *RepositoryToken) GetRefreshUrl() string { // GetRefreshUrlOk returns a tuple with the RefreshUrl field value if set, nil otherwise // and a boolean to check if the value has been set. func (o *RepositoryToken) GetRefreshUrlOk() (*string, bool) { - if o == nil || o.RefreshUrl == nil { + if o == nil || isNil(o.RefreshUrl) { return nil, false } return o.RefreshUrl, true @@ -959,7 +1054,7 @@ func (o *RepositoryToken) GetRefreshUrlOk() (*string, bool) { // HasRefreshUrl returns a boolean if a field has been set. func (o *RepositoryToken) HasRefreshUrl() bool { - if o != nil && o.RefreshUrl != nil { + if o != nil && !isNil(o.RefreshUrl) { return true } @@ -973,7 +1068,7 @@ func (o *RepositoryToken) SetRefreshUrl(v string) { // GetResetUrl returns the ResetUrl field value if set, zero value otherwise. func (o *RepositoryToken) GetResetUrl() string { - if o == nil || o.ResetUrl == nil { + if o == nil || isNil(o.ResetUrl) { var ret string return ret } @@ -983,7 +1078,7 @@ func (o *RepositoryToken) GetResetUrl() string { // GetResetUrlOk returns a tuple with the ResetUrl field value if set, nil otherwise // and a boolean to check if the value has been set. func (o *RepositoryToken) GetResetUrlOk() (*string, bool) { - if o == nil || o.ResetUrl == nil { + if o == nil || isNil(o.ResetUrl) { return nil, false } return o.ResetUrl, true @@ -991,7 +1086,7 @@ func (o *RepositoryToken) GetResetUrlOk() (*string, bool) { // HasResetUrl returns a boolean if a field has been set. func (o *RepositoryToken) HasResetUrl() bool { - if o != nil && o.ResetUrl != nil { + if o != nil && !isNil(o.ResetUrl) { return true } @@ -1003,73 +1098,95 @@ func (o *RepositoryToken) SetResetUrl(v string) { o.ResetUrl = &v } -// GetScheduledResetAt returns the ScheduledResetAt field value if set, zero value otherwise. -func (o *RepositoryToken) GetScheduledResetAt() string { - if o == nil || o.ScheduledResetAt == nil { - var ret string +// GetScheduledResetAt returns the ScheduledResetAt field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *RepositoryToken) GetScheduledResetAt() time.Time { + if o == nil || isNil(o.ScheduledResetAt.Get()) { + var ret time.Time return ret } - return *o.ScheduledResetAt + return *o.ScheduledResetAt.Get() } // GetScheduledResetAtOk returns a tuple with the ScheduledResetAt field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *RepositoryToken) GetScheduledResetAtOk() (*string, bool) { - if o == nil || o.ScheduledResetAt == nil { +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *RepositoryToken) GetScheduledResetAtOk() (*time.Time, bool) { + if o == nil { return nil, false } - return o.ScheduledResetAt, true + return o.ScheduledResetAt.Get(), o.ScheduledResetAt.IsSet() } // HasScheduledResetAt returns a boolean if a field has been set. func (o *RepositoryToken) HasScheduledResetAt() bool { - if o != nil && o.ScheduledResetAt != nil { + if o != nil && o.ScheduledResetAt.IsSet() { return true } return false } -// SetScheduledResetAt gets a reference to the given string and assigns it to the ScheduledResetAt field. -func (o *RepositoryToken) SetScheduledResetAt(v string) { - o.ScheduledResetAt = &v +// SetScheduledResetAt gets a reference to the given NullableTime and assigns it to the ScheduledResetAt field. +func (o *RepositoryToken) SetScheduledResetAt(v time.Time) { + o.ScheduledResetAt.Set(&v) } -// GetScheduledResetPeriod returns the ScheduledResetPeriod field value if set, zero value otherwise. +// SetScheduledResetAtNil sets the value for ScheduledResetAt to be an explicit nil +func (o *RepositoryToken) SetScheduledResetAtNil() { + o.ScheduledResetAt.Set(nil) +} + +// UnsetScheduledResetAt ensures that no value is present for ScheduledResetAt, not even an explicit nil +func (o *RepositoryToken) UnsetScheduledResetAt() { + o.ScheduledResetAt.Unset() +} + +// GetScheduledResetPeriod returns the ScheduledResetPeriod field value if set, zero value otherwise (both if not set or set to explicit null). func (o *RepositoryToken) GetScheduledResetPeriod() string { - if o == nil || o.ScheduledResetPeriod == nil { + if o == nil || isNil(o.ScheduledResetPeriod.Get()) { var ret string return ret } - return *o.ScheduledResetPeriod + return *o.ScheduledResetPeriod.Get() } // GetScheduledResetPeriodOk returns a tuple with the ScheduledResetPeriod 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 *RepositoryToken) GetScheduledResetPeriodOk() (*string, bool) { - if o == nil || o.ScheduledResetPeriod == nil { + if o == nil { return nil, false } - return o.ScheduledResetPeriod, true + return o.ScheduledResetPeriod.Get(), o.ScheduledResetPeriod.IsSet() } // HasScheduledResetPeriod returns a boolean if a field has been set. func (o *RepositoryToken) HasScheduledResetPeriod() bool { - if o != nil && o.ScheduledResetPeriod != nil { + if o != nil && o.ScheduledResetPeriod.IsSet() { return true } return false } -// SetScheduledResetPeriod gets a reference to the given string and assigns it to the ScheduledResetPeriod field. +// SetScheduledResetPeriod gets a reference to the given NullableString and assigns it to the ScheduledResetPeriod field. func (o *RepositoryToken) SetScheduledResetPeriod(v string) { - o.ScheduledResetPeriod = &v + o.ScheduledResetPeriod.Set(&v) +} + +// SetScheduledResetPeriodNil sets the value for ScheduledResetPeriod to be an explicit nil +func (o *RepositoryToken) SetScheduledResetPeriodNil() { + o.ScheduledResetPeriod.Set(nil) +} + +// UnsetScheduledResetPeriod ensures that no value is present for ScheduledResetPeriod, not even an explicit nil +func (o *RepositoryToken) UnsetScheduledResetPeriod() { + o.ScheduledResetPeriod.Unset() } // GetSelfUrl returns the SelfUrl field value if set, zero value otherwise. func (o *RepositoryToken) GetSelfUrl() string { - if o == nil || o.SelfUrl == nil { + if o == nil || isNil(o.SelfUrl) { var ret string return ret } @@ -1079,7 +1196,7 @@ func (o *RepositoryToken) GetSelfUrl() string { // GetSelfUrlOk returns a tuple with the SelfUrl field value if set, nil otherwise // and a boolean to check if the value has been set. func (o *RepositoryToken) GetSelfUrlOk() (*string, bool) { - if o == nil || o.SelfUrl == nil { + if o == nil || isNil(o.SelfUrl) { return nil, false } return o.SelfUrl, true @@ -1087,7 +1204,7 @@ func (o *RepositoryToken) GetSelfUrlOk() (*string, bool) { // HasSelfUrl returns a boolean if a field has been set. func (o *RepositoryToken) HasSelfUrl() bool { - if o != nil && o.SelfUrl != nil { + if o != nil && !isNil(o.SelfUrl) { return true } @@ -1101,7 +1218,7 @@ func (o *RepositoryToken) SetSelfUrl(v string) { // GetSlugPerm returns the SlugPerm field value if set, zero value otherwise. func (o *RepositoryToken) GetSlugPerm() string { - if o == nil || o.SlugPerm == nil { + if o == nil || isNil(o.SlugPerm) { var ret string return ret } @@ -1111,7 +1228,7 @@ func (o *RepositoryToken) GetSlugPerm() string { // GetSlugPermOk returns a tuple with the SlugPerm field value if set, nil otherwise // and a boolean to check if the value has been set. func (o *RepositoryToken) GetSlugPermOk() (*string, bool) { - if o == nil || o.SlugPerm == nil { + if o == nil || isNil(o.SlugPerm) { return nil, false } return o.SlugPerm, true @@ -1119,7 +1236,7 @@ func (o *RepositoryToken) GetSlugPermOk() (*string, bool) { // HasSlugPerm returns a boolean if a field has been set. func (o *RepositoryToken) HasSlugPerm() bool { - if o != nil && o.SlugPerm != nil { + if o != nil && !isNil(o.SlugPerm) { return true } @@ -1133,7 +1250,7 @@ func (o *RepositoryToken) SetSlugPerm(v string) { // GetToken returns the Token field value if set, zero value otherwise. func (o *RepositoryToken) GetToken() string { - if o == nil || o.Token == nil { + if o == nil || isNil(o.Token) { var ret string return ret } @@ -1143,7 +1260,7 @@ func (o *RepositoryToken) GetToken() string { // GetTokenOk returns a tuple with the Token field value if set, nil otherwise // and a boolean to check if the value has been set. func (o *RepositoryToken) GetTokenOk() (*string, bool) { - if o == nil || o.Token == nil { + if o == nil || isNil(o.Token) { return nil, false } return o.Token, true @@ -1151,7 +1268,7 @@ func (o *RepositoryToken) GetTokenOk() (*string, bool) { // HasToken returns a boolean if a field has been set. func (o *RepositoryToken) HasToken() bool { - if o != nil && o.Token != nil { + if o != nil && !isNil(o.Token) { return true } @@ -1164,9 +1281,9 @@ func (o *RepositoryToken) SetToken(v string) { } // GetUpdatedAt returns the UpdatedAt field value if set, zero value otherwise. -func (o *RepositoryToken) GetUpdatedAt() string { - if o == nil || o.UpdatedAt == nil { - var ret string +func (o *RepositoryToken) GetUpdatedAt() time.Time { + if o == nil || isNil(o.UpdatedAt) { + var ret time.Time return ret } return *o.UpdatedAt @@ -1174,8 +1291,8 @@ func (o *RepositoryToken) GetUpdatedAt() string { // GetUpdatedAtOk returns a tuple with the UpdatedAt field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *RepositoryToken) GetUpdatedAtOk() (*string, bool) { - if o == nil || o.UpdatedAt == nil { +func (o *RepositoryToken) GetUpdatedAtOk() (*time.Time, bool) { + if o == nil || isNil(o.UpdatedAt) { return nil, false } return o.UpdatedAt, true @@ -1183,85 +1300,107 @@ func (o *RepositoryToken) GetUpdatedAtOk() (*string, bool) { // HasUpdatedAt returns a boolean if a field has been set. func (o *RepositoryToken) HasUpdatedAt() bool { - if o != nil && o.UpdatedAt != nil { + if o != nil && !isNil(o.UpdatedAt) { return true } return false } -// SetUpdatedAt gets a reference to the given string and assigns it to the UpdatedAt field. -func (o *RepositoryToken) SetUpdatedAt(v string) { +// SetUpdatedAt gets a reference to the given time.Time and assigns it to the UpdatedAt field. +func (o *RepositoryToken) SetUpdatedAt(v time.Time) { o.UpdatedAt = &v } -// GetUpdatedBy returns the UpdatedBy field value if set, zero value otherwise. +// GetUpdatedBy returns the UpdatedBy field value if set, zero value otherwise (both if not set or set to explicit null). func (o *RepositoryToken) GetUpdatedBy() string { - if o == nil || o.UpdatedBy == nil { + if o == nil || isNil(o.UpdatedBy.Get()) { var ret string return ret } - return *o.UpdatedBy + return *o.UpdatedBy.Get() } // GetUpdatedByOk returns a tuple with the UpdatedBy 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 *RepositoryToken) GetUpdatedByOk() (*string, bool) { - if o == nil || o.UpdatedBy == nil { + if o == nil { return nil, false } - return o.UpdatedBy, true + return o.UpdatedBy.Get(), o.UpdatedBy.IsSet() } // HasUpdatedBy returns a boolean if a field has been set. func (o *RepositoryToken) HasUpdatedBy() bool { - if o != nil && o.UpdatedBy != nil { + if o != nil && o.UpdatedBy.IsSet() { return true } return false } -// SetUpdatedBy gets a reference to the given string and assigns it to the UpdatedBy field. +// SetUpdatedBy gets a reference to the given NullableString and assigns it to the UpdatedBy field. func (o *RepositoryToken) SetUpdatedBy(v string) { - o.UpdatedBy = &v + o.UpdatedBy.Set(&v) } -// GetUpdatedByUrl returns the UpdatedByUrl field value if set, zero value otherwise. +// SetUpdatedByNil sets the value for UpdatedBy to be an explicit nil +func (o *RepositoryToken) SetUpdatedByNil() { + o.UpdatedBy.Set(nil) +} + +// UnsetUpdatedBy ensures that no value is present for UpdatedBy, not even an explicit nil +func (o *RepositoryToken) UnsetUpdatedBy() { + o.UpdatedBy.Unset() +} + +// GetUpdatedByUrl returns the UpdatedByUrl field value if set, zero value otherwise (both if not set or set to explicit null). func (o *RepositoryToken) GetUpdatedByUrl() string { - if o == nil || o.UpdatedByUrl == nil { + if o == nil || isNil(o.UpdatedByUrl.Get()) { var ret string return ret } - return *o.UpdatedByUrl + return *o.UpdatedByUrl.Get() } // GetUpdatedByUrlOk returns a tuple with the UpdatedByUrl 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 *RepositoryToken) GetUpdatedByUrlOk() (*string, bool) { - if o == nil || o.UpdatedByUrl == nil { + if o == nil { return nil, false } - return o.UpdatedByUrl, true + return o.UpdatedByUrl.Get(), o.UpdatedByUrl.IsSet() } // HasUpdatedByUrl returns a boolean if a field has been set. func (o *RepositoryToken) HasUpdatedByUrl() bool { - if o != nil && o.UpdatedByUrl != nil { + if o != nil && o.UpdatedByUrl.IsSet() { return true } return false } -// SetUpdatedByUrl gets a reference to the given string and assigns it to the UpdatedByUrl field. +// SetUpdatedByUrl gets a reference to the given NullableString and assigns it to the UpdatedByUrl field. func (o *RepositoryToken) SetUpdatedByUrl(v string) { - o.UpdatedByUrl = &v + o.UpdatedByUrl.Set(&v) +} + +// SetUpdatedByUrlNil sets the value for UpdatedByUrl to be an explicit nil +func (o *RepositoryToken) SetUpdatedByUrlNil() { + o.UpdatedByUrl.Set(nil) +} + +// UnsetUpdatedByUrl ensures that no value is present for UpdatedByUrl, not even an explicit nil +func (o *RepositoryToken) UnsetUpdatedByUrl() { + o.UpdatedByUrl.Unset() } // GetUsage returns the Usage field value if set, zero value otherwise. func (o *RepositoryToken) GetUsage() string { - if o == nil || o.Usage == nil { + if o == nil || isNil(o.Usage) { var ret string return ret } @@ -1271,7 +1410,7 @@ func (o *RepositoryToken) GetUsage() string { // GetUsageOk returns a tuple with the Usage field value if set, nil otherwise // and a boolean to check if the value has been set. func (o *RepositoryToken) GetUsageOk() (*string, bool) { - if o == nil || o.Usage == nil { + if o == nil || isNil(o.Usage) { return nil, false } return o.Usage, true @@ -1279,7 +1418,7 @@ func (o *RepositoryToken) GetUsageOk() (*string, bool) { // HasUsage returns a boolean if a field has been set. func (o *RepositoryToken) HasUsage() bool { - if o != nil && o.Usage != nil { + if o != nil && !isNil(o.Usage) { return true } @@ -1291,143 +1430,165 @@ func (o *RepositoryToken) SetUsage(v string) { o.Usage = &v } -// GetUser returns the User field value if set, zero value otherwise. +// GetUser returns the User field value if set, zero value otherwise (both if not set or set to explicit null). func (o *RepositoryToken) GetUser() string { - if o == nil || o.User == nil { + if o == nil || isNil(o.User.Get()) { var ret string return ret } - return *o.User + return *o.User.Get() } // GetUserOk returns a tuple with the User 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 *RepositoryToken) GetUserOk() (*string, bool) { - if o == nil || o.User == nil { + if o == nil { return nil, false } - return o.User, true + return o.User.Get(), o.User.IsSet() } // HasUser returns a boolean if a field has been set. func (o *RepositoryToken) HasUser() bool { - if o != nil && o.User != nil { + if o != nil && o.User.IsSet() { return true } return false } -// SetUser gets a reference to the given string and assigns it to the User field. +// SetUser gets a reference to the given NullableString and assigns it to the User field. func (o *RepositoryToken) SetUser(v string) { - o.User = &v + o.User.Set(&v) +} + +// SetUserNil sets the value for User to be an explicit nil +func (o *RepositoryToken) SetUserNil() { + o.User.Set(nil) +} + +// UnsetUser ensures that no value is present for User, not even an explicit nil +func (o *RepositoryToken) UnsetUser() { + o.User.Unset() } -// GetUserUrl returns the UserUrl field value if set, zero value otherwise. +// GetUserUrl returns the UserUrl field value if set, zero value otherwise (both if not set or set to explicit null). func (o *RepositoryToken) GetUserUrl() string { - if o == nil || o.UserUrl == nil { + if o == nil || isNil(o.UserUrl.Get()) { var ret string return ret } - return *o.UserUrl + return *o.UserUrl.Get() } // GetUserUrlOk returns a tuple with the UserUrl 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 *RepositoryToken) GetUserUrlOk() (*string, bool) { - if o == nil || o.UserUrl == nil { + if o == nil { return nil, false } - return o.UserUrl, true + return o.UserUrl.Get(), o.UserUrl.IsSet() } // HasUserUrl returns a boolean if a field has been set. func (o *RepositoryToken) HasUserUrl() bool { - if o != nil && o.UserUrl != nil { + if o != nil && o.UserUrl.IsSet() { return true } return false } -// SetUserUrl gets a reference to the given string and assigns it to the UserUrl field. +// SetUserUrl gets a reference to the given NullableString and assigns it to the UserUrl field. func (o *RepositoryToken) SetUserUrl(v string) { - o.UserUrl = &v + o.UserUrl.Set(&v) +} + +// SetUserUrlNil sets the value for UserUrl to be an explicit nil +func (o *RepositoryToken) SetUserUrlNil() { + o.UserUrl.Set(nil) +} + +// UnsetUserUrl ensures that no value is present for UserUrl, not even an explicit nil +func (o *RepositoryToken) UnsetUserUrl() { + o.UserUrl.Unset() } func (o RepositoryToken) MarshalJSON() ([]byte, error) { toSerialize := map[string]interface{}{} - if o.Clients != nil { + if !isNil(o.Clients) { toSerialize["clients"] = o.Clients } - if o.CreatedAt != nil { + if !isNil(o.CreatedAt) { toSerialize["created_at"] = o.CreatedAt } - if o.CreatedBy != nil { + if !isNil(o.CreatedBy) { toSerialize["created_by"] = o.CreatedBy } - if o.CreatedByUrl != nil { + if !isNil(o.CreatedByUrl) { toSerialize["created_by_url"] = o.CreatedByUrl } - if o.Default != nil { + if !isNil(o.Default) { toSerialize["default"] = o.Default } - if o.DisableUrl != nil { + if !isNil(o.DisableUrl) { toSerialize["disable_url"] = o.DisableUrl } - if o.Downloads != nil { + if !isNil(o.Downloads) { toSerialize["downloads"] = o.Downloads } - if o.EnableUrl != nil { + if !isNil(o.EnableUrl) { toSerialize["enable_url"] = o.EnableUrl } - if o.EulaAccepted != nil { - toSerialize["eula_accepted"] = o.EulaAccepted + if o.EulaAccepted.IsSet() { + toSerialize["eula_accepted"] = o.EulaAccepted.Get() } - if o.EulaAcceptedAt != nil { + if !isNil(o.EulaAcceptedAt) { toSerialize["eula_accepted_at"] = o.EulaAcceptedAt } - if o.EulaAcceptedFrom != nil { - toSerialize["eula_accepted_from"] = o.EulaAcceptedFrom + if o.EulaAcceptedFrom.IsSet() { + toSerialize["eula_accepted_from"] = o.EulaAcceptedFrom.Get() } - if o.EulaRequired != nil { + if !isNil(o.EulaRequired) { toSerialize["eula_required"] = o.EulaRequired } - if o.HasLimits != nil { + if !isNil(o.HasLimits) { toSerialize["has_limits"] = o.HasLimits } - if o.Identifier != nil { + if !isNil(o.Identifier) { toSerialize["identifier"] = o.Identifier } - if o.IsActive != nil { + if !isNil(o.IsActive) { toSerialize["is_active"] = o.IsActive } - if o.IsLimited != nil { + if !isNil(o.IsLimited) { toSerialize["is_limited"] = o.IsLimited } - if o.LimitBandwidth != nil { - toSerialize["limit_bandwidth"] = o.LimitBandwidth + if o.LimitBandwidth.IsSet() { + toSerialize["limit_bandwidth"] = o.LimitBandwidth.Get() } - if o.LimitBandwidthUnit != nil { - toSerialize["limit_bandwidth_unit"] = o.LimitBandwidthUnit + if o.LimitBandwidthUnit.IsSet() { + toSerialize["limit_bandwidth_unit"] = o.LimitBandwidthUnit.Get() } - if o.LimitDateRangeFrom != nil { - toSerialize["limit_date_range_from"] = o.LimitDateRangeFrom + if o.LimitDateRangeFrom.IsSet() { + toSerialize["limit_date_range_from"] = o.LimitDateRangeFrom.Get() } - if o.LimitDateRangeTo != nil { - toSerialize["limit_date_range_to"] = o.LimitDateRangeTo + if o.LimitDateRangeTo.IsSet() { + toSerialize["limit_date_range_to"] = o.LimitDateRangeTo.Get() } - if o.LimitNumClients != nil { - toSerialize["limit_num_clients"] = o.LimitNumClients + if o.LimitNumClients.IsSet() { + toSerialize["limit_num_clients"] = o.LimitNumClients.Get() } - if o.LimitNumDownloads != nil { - toSerialize["limit_num_downloads"] = o.LimitNumDownloads + if o.LimitNumDownloads.IsSet() { + toSerialize["limit_num_downloads"] = o.LimitNumDownloads.Get() } - if o.LimitPackageQuery != nil { - toSerialize["limit_package_query"] = o.LimitPackageQuery + if o.LimitPackageQuery.IsSet() { + toSerialize["limit_package_query"] = o.LimitPackageQuery.Get() } - if o.LimitPathQuery != nil { - toSerialize["limit_path_query"] = o.LimitPathQuery + if o.LimitPathQuery.IsSet() { + toSerialize["limit_path_query"] = o.LimitPathQuery.Get() } if o.Metadata != nil { toSerialize["metadata"] = o.Metadata @@ -1435,44 +1596,44 @@ func (o RepositoryToken) MarshalJSON() ([]byte, error) { if true { toSerialize["name"] = o.Name } - if o.RefreshUrl != nil { + if !isNil(o.RefreshUrl) { toSerialize["refresh_url"] = o.RefreshUrl } - if o.ResetUrl != nil { + if !isNil(o.ResetUrl) { toSerialize["reset_url"] = o.ResetUrl } - if o.ScheduledResetAt != nil { - toSerialize["scheduled_reset_at"] = o.ScheduledResetAt + if o.ScheduledResetAt.IsSet() { + toSerialize["scheduled_reset_at"] = o.ScheduledResetAt.Get() } - if o.ScheduledResetPeriod != nil { - toSerialize["scheduled_reset_period"] = o.ScheduledResetPeriod + if o.ScheduledResetPeriod.IsSet() { + toSerialize["scheduled_reset_period"] = o.ScheduledResetPeriod.Get() } - if o.SelfUrl != nil { + if !isNil(o.SelfUrl) { toSerialize["self_url"] = o.SelfUrl } - if o.SlugPerm != nil { + if !isNil(o.SlugPerm) { toSerialize["slug_perm"] = o.SlugPerm } - if o.Token != nil { + if !isNil(o.Token) { toSerialize["token"] = o.Token } - if o.UpdatedAt != nil { + if !isNil(o.UpdatedAt) { toSerialize["updated_at"] = o.UpdatedAt } - if o.UpdatedBy != nil { - toSerialize["updated_by"] = o.UpdatedBy + if o.UpdatedBy.IsSet() { + toSerialize["updated_by"] = o.UpdatedBy.Get() } - if o.UpdatedByUrl != nil { - toSerialize["updated_by_url"] = o.UpdatedByUrl + if o.UpdatedByUrl.IsSet() { + toSerialize["updated_by_url"] = o.UpdatedByUrl.Get() } - if o.Usage != nil { + if !isNil(o.Usage) { toSerialize["usage"] = o.Usage } - if o.User != nil { - toSerialize["user"] = o.User + if o.User.IsSet() { + toSerialize["user"] = o.User.Get() } - if o.UserUrl != nil { - toSerialize["user_url"] = o.UserUrl + if o.UserUrl.IsSet() { + toSerialize["user_url"] = o.UserUrl.Get() } return json.Marshal(toSerialize) } diff --git a/model_repository_token_refresh.go b/model_repository_token_refresh.go deleted file mode 100644 index 1f4ac8a3..00000000 --- a/model_repository_token_refresh.go +++ /dev/null @@ -1,1521 +0,0 @@ -/* -Cloudsmith API - -The API to the Cloudsmith Service - -API version: 1.121.3 -Contact: support@cloudsmith.io -*/ - -// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. - -package cloudsmith - -import ( - "encoding/json" -) - -// RepositoryTokenRefresh struct for RepositoryTokenRefresh -type RepositoryTokenRefresh struct { - // - Clients *int64 `json:"clients,omitempty"` - // The datetime the token was updated at. - CreatedAt *string `json:"created_at,omitempty"` - // - CreatedBy *string `json:"created_by,omitempty"` - // - CreatedByUrl *string `json:"created_by_url,omitempty"` - // If selected this is the default token for this repository. - Default *bool `json:"default,omitempty"` - // - DisableUrl *string `json:"disable_url,omitempty"` - // - Downloads *int64 `json:"downloads,omitempty"` - // - EnableUrl *string `json:"enable_url,omitempty"` - // - EulaAccepted map[string]interface{} `json:"eula_accepted,omitempty"` - // The datetime the EULA was accepted at. - EulaAcceptedAt *string `json:"eula_accepted_at,omitempty"` - // - EulaAcceptedFrom *string `json:"eula_accepted_from,omitempty"` - // If checked, a EULA acceptance is required for this token. - EulaRequired *bool `json:"eula_required,omitempty"` - // - HasLimits *bool `json:"has_limits,omitempty"` - // - Identifier *int64 `json:"identifier,omitempty"` - // If enabled, the token will allow downloads based on configured restrictions (if any). - IsActive *bool `json:"is_active,omitempty"` - // - IsLimited *bool `json:"is_limited,omitempty"` - // The maximum download bandwidth allowed for the token. Values are expressed as the selected unit of bandwidth. Please note that since downloads are calculated asynchronously (after the download happens), the limit may not be imposed immediately but at a later point. - LimitBandwidth *int64 `json:"limit_bandwidth,omitempty"` - // - LimitBandwidthUnit *string `json:"limit_bandwidth_unit,omitempty"` - // The starting date/time the token is allowed to be used from. - LimitDateRangeFrom *string `json:"limit_date_range_from,omitempty"` - // The ending date/time the token is allowed to be used until. - LimitDateRangeTo *string `json:"limit_date_range_to,omitempty"` - // The maximum number of unique clients allowed for the token. Please note that since clients are calculated asynchronously (after the download happens), the limit may not be imposed immediately but at a later point. - LimitNumClients *int64 `json:"limit_num_clients,omitempty"` - // The maximum number of downloads allowed for the token. Please note that since downloads are calculated asynchronously (after the download happens), the limit may not be imposed immediately but at a later point. - LimitNumDownloads *int64 `json:"limit_num_downloads,omitempty"` - // The package-based search query to apply to restrict downloads to. This uses the same syntax as the standard search used for repositories, and also supports boolean logic operators such as OR/AND/NOT and parentheses for grouping. This will still allow access to non-package files, such as metadata. - LimitPackageQuery *string `json:"limit_package_query,omitempty"` - // The path-based search query to apply to restrict downloads to. This supports boolean logic operators such as OR/AND/NOT and parentheses for grouping. The path evaluated does not include the domain name, the namespace, the entitlement code used, the package format, etc. and it always starts with a forward slash. - LimitPathQuery *string `json:"limit_path_query,omitempty"` - // - Metadata map[string]interface{} `json:"metadata,omitempty"` - // - Name *string `json:"name,omitempty"` - // - RefreshUrl *string `json:"refresh_url,omitempty"` - // - ResetUrl *string `json:"reset_url,omitempty"` - // The time at which the scheduled reset period has elapsed and the token limits were automatically reset to zero. - ScheduledResetAt *string `json:"scheduled_reset_at,omitempty"` - // - ScheduledResetPeriod *string `json:"scheduled_reset_period,omitempty"` - // - SelfUrl *string `json:"self_url,omitempty"` - // - SlugPerm *string `json:"slug_perm,omitempty"` - // - Token *string `json:"token,omitempty"` - // The datetime the token was updated at. - UpdatedAt *string `json:"updated_at,omitempty"` - // - UpdatedBy *string `json:"updated_by,omitempty"` - // - UpdatedByUrl *string `json:"updated_by_url,omitempty"` - // - Usage *string `json:"usage,omitempty"` - // - User *string `json:"user,omitempty"` - // - UserUrl *string `json:"user_url,omitempty"` -} - -// NewRepositoryTokenRefresh instantiates a new RepositoryTokenRefresh object -// 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 NewRepositoryTokenRefresh() *RepositoryTokenRefresh { - this := RepositoryTokenRefresh{} - return &this -} - -// NewRepositoryTokenRefreshWithDefaults instantiates a new RepositoryTokenRefresh object -// This constructor will only assign default values to properties that have it defined, -// but it doesn't guarantee that properties required by API are set -func NewRepositoryTokenRefreshWithDefaults() *RepositoryTokenRefresh { - this := RepositoryTokenRefresh{} - return &this -} - -// GetClients returns the Clients field value if set, zero value otherwise. -func (o *RepositoryTokenRefresh) GetClients() int64 { - if o == nil || o.Clients == nil { - var ret int64 - return ret - } - return *o.Clients -} - -// GetClientsOk returns a tuple with the Clients field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *RepositoryTokenRefresh) GetClientsOk() (*int64, bool) { - if o == nil || o.Clients == nil { - return nil, false - } - return o.Clients, true -} - -// HasClients returns a boolean if a field has been set. -func (o *RepositoryTokenRefresh) HasClients() bool { - if o != nil && o.Clients != nil { - return true - } - - return false -} - -// SetClients gets a reference to the given int64 and assigns it to the Clients field. -func (o *RepositoryTokenRefresh) SetClients(v int64) { - o.Clients = &v -} - -// GetCreatedAt returns the CreatedAt field value if set, zero value otherwise. -func (o *RepositoryTokenRefresh) GetCreatedAt() string { - if o == nil || o.CreatedAt == nil { - var ret string - return ret - } - return *o.CreatedAt -} - -// GetCreatedAtOk returns a tuple with the CreatedAt field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *RepositoryTokenRefresh) GetCreatedAtOk() (*string, bool) { - if o == nil || o.CreatedAt == nil { - return nil, false - } - return o.CreatedAt, true -} - -// HasCreatedAt returns a boolean if a field has been set. -func (o *RepositoryTokenRefresh) HasCreatedAt() bool { - if o != nil && o.CreatedAt != nil { - return true - } - - return false -} - -// SetCreatedAt gets a reference to the given string and assigns it to the CreatedAt field. -func (o *RepositoryTokenRefresh) SetCreatedAt(v string) { - o.CreatedAt = &v -} - -// GetCreatedBy returns the CreatedBy field value if set, zero value otherwise. -func (o *RepositoryTokenRefresh) GetCreatedBy() string { - if o == nil || o.CreatedBy == nil { - var ret string - return ret - } - return *o.CreatedBy -} - -// GetCreatedByOk returns a tuple with the CreatedBy field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *RepositoryTokenRefresh) GetCreatedByOk() (*string, bool) { - if o == nil || o.CreatedBy == nil { - return nil, false - } - return o.CreatedBy, true -} - -// HasCreatedBy returns a boolean if a field has been set. -func (o *RepositoryTokenRefresh) HasCreatedBy() bool { - if o != nil && o.CreatedBy != nil { - return true - } - - return false -} - -// SetCreatedBy gets a reference to the given string and assigns it to the CreatedBy field. -func (o *RepositoryTokenRefresh) SetCreatedBy(v string) { - o.CreatedBy = &v -} - -// GetCreatedByUrl returns the CreatedByUrl field value if set, zero value otherwise. -func (o *RepositoryTokenRefresh) GetCreatedByUrl() string { - if o == nil || o.CreatedByUrl == nil { - var ret string - return ret - } - return *o.CreatedByUrl -} - -// GetCreatedByUrlOk returns a tuple with the CreatedByUrl field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *RepositoryTokenRefresh) GetCreatedByUrlOk() (*string, bool) { - if o == nil || o.CreatedByUrl == nil { - return nil, false - } - return o.CreatedByUrl, true -} - -// HasCreatedByUrl returns a boolean if a field has been set. -func (o *RepositoryTokenRefresh) HasCreatedByUrl() bool { - if o != nil && o.CreatedByUrl != nil { - return true - } - - return false -} - -// SetCreatedByUrl gets a reference to the given string and assigns it to the CreatedByUrl field. -func (o *RepositoryTokenRefresh) SetCreatedByUrl(v string) { - o.CreatedByUrl = &v -} - -// GetDefault returns the Default field value if set, zero value otherwise. -func (o *RepositoryTokenRefresh) GetDefault() bool { - if o == nil || o.Default == nil { - var ret bool - return ret - } - return *o.Default -} - -// GetDefaultOk returns a tuple with the Default field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *RepositoryTokenRefresh) GetDefaultOk() (*bool, bool) { - if o == nil || o.Default == nil { - return nil, false - } - return o.Default, true -} - -// HasDefault returns a boolean if a field has been set. -func (o *RepositoryTokenRefresh) HasDefault() bool { - if o != nil && o.Default != nil { - return true - } - - return false -} - -// SetDefault gets a reference to the given bool and assigns it to the Default field. -func (o *RepositoryTokenRefresh) SetDefault(v bool) { - o.Default = &v -} - -// GetDisableUrl returns the DisableUrl field value if set, zero value otherwise. -func (o *RepositoryTokenRefresh) GetDisableUrl() string { - if o == nil || o.DisableUrl == nil { - var ret string - return ret - } - return *o.DisableUrl -} - -// GetDisableUrlOk returns a tuple with the DisableUrl field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *RepositoryTokenRefresh) GetDisableUrlOk() (*string, bool) { - if o == nil || o.DisableUrl == nil { - return nil, false - } - return o.DisableUrl, true -} - -// HasDisableUrl returns a boolean if a field has been set. -func (o *RepositoryTokenRefresh) HasDisableUrl() bool { - if o != nil && o.DisableUrl != nil { - return true - } - - return false -} - -// SetDisableUrl gets a reference to the given string and assigns it to the DisableUrl field. -func (o *RepositoryTokenRefresh) SetDisableUrl(v string) { - o.DisableUrl = &v -} - -// GetDownloads returns the Downloads field value if set, zero value otherwise. -func (o *RepositoryTokenRefresh) GetDownloads() int64 { - if o == nil || o.Downloads == nil { - var ret int64 - return ret - } - return *o.Downloads -} - -// GetDownloadsOk returns a tuple with the Downloads field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *RepositoryTokenRefresh) GetDownloadsOk() (*int64, bool) { - if o == nil || o.Downloads == nil { - return nil, false - } - return o.Downloads, true -} - -// HasDownloads returns a boolean if a field has been set. -func (o *RepositoryTokenRefresh) HasDownloads() bool { - if o != nil && o.Downloads != nil { - return true - } - - return false -} - -// SetDownloads gets a reference to the given int64 and assigns it to the Downloads field. -func (o *RepositoryTokenRefresh) SetDownloads(v int64) { - o.Downloads = &v -} - -// GetEnableUrl returns the EnableUrl field value if set, zero value otherwise. -func (o *RepositoryTokenRefresh) GetEnableUrl() string { - if o == nil || o.EnableUrl == nil { - var ret string - return ret - } - return *o.EnableUrl -} - -// GetEnableUrlOk returns a tuple with the EnableUrl field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *RepositoryTokenRefresh) GetEnableUrlOk() (*string, bool) { - if o == nil || o.EnableUrl == nil { - return nil, false - } - return o.EnableUrl, true -} - -// HasEnableUrl returns a boolean if a field has been set. -func (o *RepositoryTokenRefresh) HasEnableUrl() bool { - if o != nil && o.EnableUrl != nil { - return true - } - - return false -} - -// SetEnableUrl gets a reference to the given string and assigns it to the EnableUrl field. -func (o *RepositoryTokenRefresh) SetEnableUrl(v string) { - o.EnableUrl = &v -} - -// GetEulaAccepted returns the EulaAccepted field value if set, zero value otherwise. -func (o *RepositoryTokenRefresh) GetEulaAccepted() map[string]interface{} { - if o == nil || o.EulaAccepted == nil { - var ret map[string]interface{} - return ret - } - return o.EulaAccepted -} - -// GetEulaAcceptedOk returns a tuple with the EulaAccepted field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *RepositoryTokenRefresh) GetEulaAcceptedOk() (map[string]interface{}, bool) { - if o == nil || o.EulaAccepted == nil { - return nil, false - } - return o.EulaAccepted, true -} - -// HasEulaAccepted returns a boolean if a field has been set. -func (o *RepositoryTokenRefresh) HasEulaAccepted() bool { - if o != nil && o.EulaAccepted != nil { - return true - } - - return false -} - -// SetEulaAccepted gets a reference to the given map[string]interface{} and assigns it to the EulaAccepted field. -func (o *RepositoryTokenRefresh) SetEulaAccepted(v map[string]interface{}) { - o.EulaAccepted = v -} - -// GetEulaAcceptedAt returns the EulaAcceptedAt field value if set, zero value otherwise. -func (o *RepositoryTokenRefresh) GetEulaAcceptedAt() string { - if o == nil || o.EulaAcceptedAt == nil { - var ret string - return ret - } - return *o.EulaAcceptedAt -} - -// GetEulaAcceptedAtOk returns a tuple with the EulaAcceptedAt field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *RepositoryTokenRefresh) GetEulaAcceptedAtOk() (*string, bool) { - if o == nil || o.EulaAcceptedAt == nil { - return nil, false - } - return o.EulaAcceptedAt, true -} - -// HasEulaAcceptedAt returns a boolean if a field has been set. -func (o *RepositoryTokenRefresh) HasEulaAcceptedAt() bool { - if o != nil && o.EulaAcceptedAt != nil { - return true - } - - return false -} - -// SetEulaAcceptedAt gets a reference to the given string and assigns it to the EulaAcceptedAt field. -func (o *RepositoryTokenRefresh) SetEulaAcceptedAt(v string) { - o.EulaAcceptedAt = &v -} - -// GetEulaAcceptedFrom returns the EulaAcceptedFrom field value if set, zero value otherwise. -func (o *RepositoryTokenRefresh) GetEulaAcceptedFrom() string { - if o == nil || o.EulaAcceptedFrom == nil { - var ret string - return ret - } - return *o.EulaAcceptedFrom -} - -// GetEulaAcceptedFromOk returns a tuple with the EulaAcceptedFrom field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *RepositoryTokenRefresh) GetEulaAcceptedFromOk() (*string, bool) { - if o == nil || o.EulaAcceptedFrom == nil { - return nil, false - } - return o.EulaAcceptedFrom, true -} - -// HasEulaAcceptedFrom returns a boolean if a field has been set. -func (o *RepositoryTokenRefresh) HasEulaAcceptedFrom() bool { - if o != nil && o.EulaAcceptedFrom != nil { - return true - } - - return false -} - -// SetEulaAcceptedFrom gets a reference to the given string and assigns it to the EulaAcceptedFrom field. -func (o *RepositoryTokenRefresh) SetEulaAcceptedFrom(v string) { - o.EulaAcceptedFrom = &v -} - -// GetEulaRequired returns the EulaRequired field value if set, zero value otherwise. -func (o *RepositoryTokenRefresh) GetEulaRequired() bool { - if o == nil || o.EulaRequired == nil { - var ret bool - return ret - } - return *o.EulaRequired -} - -// GetEulaRequiredOk returns a tuple with the EulaRequired field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *RepositoryTokenRefresh) GetEulaRequiredOk() (*bool, bool) { - if o == nil || o.EulaRequired == nil { - return nil, false - } - return o.EulaRequired, true -} - -// HasEulaRequired returns a boolean if a field has been set. -func (o *RepositoryTokenRefresh) HasEulaRequired() bool { - if o != nil && o.EulaRequired != nil { - return true - } - - return false -} - -// SetEulaRequired gets a reference to the given bool and assigns it to the EulaRequired field. -func (o *RepositoryTokenRefresh) SetEulaRequired(v bool) { - o.EulaRequired = &v -} - -// GetHasLimits returns the HasLimits field value if set, zero value otherwise. -func (o *RepositoryTokenRefresh) GetHasLimits() bool { - if o == nil || o.HasLimits == nil { - var ret bool - return ret - } - return *o.HasLimits -} - -// GetHasLimitsOk returns a tuple with the HasLimits field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *RepositoryTokenRefresh) GetHasLimitsOk() (*bool, bool) { - if o == nil || o.HasLimits == nil { - return nil, false - } - return o.HasLimits, true -} - -// HasHasLimits returns a boolean if a field has been set. -func (o *RepositoryTokenRefresh) HasHasLimits() bool { - if o != nil && o.HasLimits != nil { - return true - } - - return false -} - -// SetHasLimits gets a reference to the given bool and assigns it to the HasLimits field. -func (o *RepositoryTokenRefresh) SetHasLimits(v bool) { - o.HasLimits = &v -} - -// GetIdentifier returns the Identifier field value if set, zero value otherwise. -func (o *RepositoryTokenRefresh) GetIdentifier() int64 { - if o == nil || o.Identifier == nil { - var ret int64 - return ret - } - return *o.Identifier -} - -// GetIdentifierOk returns a tuple with the Identifier field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *RepositoryTokenRefresh) GetIdentifierOk() (*int64, bool) { - if o == nil || o.Identifier == nil { - return nil, false - } - return o.Identifier, true -} - -// HasIdentifier returns a boolean if a field has been set. -func (o *RepositoryTokenRefresh) HasIdentifier() bool { - if o != nil && o.Identifier != nil { - return true - } - - return false -} - -// SetIdentifier gets a reference to the given int64 and assigns it to the Identifier field. -func (o *RepositoryTokenRefresh) SetIdentifier(v int64) { - o.Identifier = &v -} - -// GetIsActive returns the IsActive field value if set, zero value otherwise. -func (o *RepositoryTokenRefresh) GetIsActive() bool { - if o == nil || o.IsActive == nil { - var ret bool - return ret - } - return *o.IsActive -} - -// GetIsActiveOk returns a tuple with the IsActive field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *RepositoryTokenRefresh) GetIsActiveOk() (*bool, bool) { - if o == nil || o.IsActive == nil { - return nil, false - } - return o.IsActive, true -} - -// HasIsActive returns a boolean if a field has been set. -func (o *RepositoryTokenRefresh) HasIsActive() bool { - if o != nil && o.IsActive != nil { - return true - } - - return false -} - -// SetIsActive gets a reference to the given bool and assigns it to the IsActive field. -func (o *RepositoryTokenRefresh) SetIsActive(v bool) { - o.IsActive = &v -} - -// GetIsLimited returns the IsLimited field value if set, zero value otherwise. -func (o *RepositoryTokenRefresh) GetIsLimited() bool { - if o == nil || o.IsLimited == nil { - var ret bool - return ret - } - return *o.IsLimited -} - -// GetIsLimitedOk returns a tuple with the IsLimited field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *RepositoryTokenRefresh) GetIsLimitedOk() (*bool, bool) { - if o == nil || o.IsLimited == nil { - return nil, false - } - return o.IsLimited, true -} - -// HasIsLimited returns a boolean if a field has been set. -func (o *RepositoryTokenRefresh) HasIsLimited() bool { - if o != nil && o.IsLimited != nil { - return true - } - - return false -} - -// SetIsLimited gets a reference to the given bool and assigns it to the IsLimited field. -func (o *RepositoryTokenRefresh) SetIsLimited(v bool) { - o.IsLimited = &v -} - -// GetLimitBandwidth returns the LimitBandwidth field value if set, zero value otherwise. -func (o *RepositoryTokenRefresh) GetLimitBandwidth() int64 { - if o == nil || o.LimitBandwidth == nil { - var ret int64 - return ret - } - return *o.LimitBandwidth -} - -// GetLimitBandwidthOk returns a tuple with the LimitBandwidth field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *RepositoryTokenRefresh) GetLimitBandwidthOk() (*int64, bool) { - if o == nil || o.LimitBandwidth == nil { - return nil, false - } - return o.LimitBandwidth, true -} - -// HasLimitBandwidth returns a boolean if a field has been set. -func (o *RepositoryTokenRefresh) HasLimitBandwidth() bool { - if o != nil && o.LimitBandwidth != nil { - return true - } - - return false -} - -// SetLimitBandwidth gets a reference to the given int64 and assigns it to the LimitBandwidth field. -func (o *RepositoryTokenRefresh) SetLimitBandwidth(v int64) { - o.LimitBandwidth = &v -} - -// GetLimitBandwidthUnit returns the LimitBandwidthUnit field value if set, zero value otherwise. -func (o *RepositoryTokenRefresh) GetLimitBandwidthUnit() string { - if o == nil || o.LimitBandwidthUnit == nil { - var ret string - return ret - } - return *o.LimitBandwidthUnit -} - -// GetLimitBandwidthUnitOk returns a tuple with the LimitBandwidthUnit field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *RepositoryTokenRefresh) GetLimitBandwidthUnitOk() (*string, bool) { - if o == nil || o.LimitBandwidthUnit == nil { - return nil, false - } - return o.LimitBandwidthUnit, true -} - -// HasLimitBandwidthUnit returns a boolean if a field has been set. -func (o *RepositoryTokenRefresh) HasLimitBandwidthUnit() bool { - if o != nil && o.LimitBandwidthUnit != nil { - return true - } - - return false -} - -// SetLimitBandwidthUnit gets a reference to the given string and assigns it to the LimitBandwidthUnit field. -func (o *RepositoryTokenRefresh) SetLimitBandwidthUnit(v string) { - o.LimitBandwidthUnit = &v -} - -// GetLimitDateRangeFrom returns the LimitDateRangeFrom field value if set, zero value otherwise. -func (o *RepositoryTokenRefresh) GetLimitDateRangeFrom() string { - if o == nil || o.LimitDateRangeFrom == nil { - var ret string - return ret - } - return *o.LimitDateRangeFrom -} - -// GetLimitDateRangeFromOk returns a tuple with the LimitDateRangeFrom field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *RepositoryTokenRefresh) GetLimitDateRangeFromOk() (*string, bool) { - if o == nil || o.LimitDateRangeFrom == nil { - return nil, false - } - return o.LimitDateRangeFrom, true -} - -// HasLimitDateRangeFrom returns a boolean if a field has been set. -func (o *RepositoryTokenRefresh) HasLimitDateRangeFrom() bool { - if o != nil && o.LimitDateRangeFrom != nil { - return true - } - - return false -} - -// SetLimitDateRangeFrom gets a reference to the given string and assigns it to the LimitDateRangeFrom field. -func (o *RepositoryTokenRefresh) SetLimitDateRangeFrom(v string) { - o.LimitDateRangeFrom = &v -} - -// GetLimitDateRangeTo returns the LimitDateRangeTo field value if set, zero value otherwise. -func (o *RepositoryTokenRefresh) GetLimitDateRangeTo() string { - if o == nil || o.LimitDateRangeTo == nil { - var ret string - return ret - } - return *o.LimitDateRangeTo -} - -// GetLimitDateRangeToOk returns a tuple with the LimitDateRangeTo field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *RepositoryTokenRefresh) GetLimitDateRangeToOk() (*string, bool) { - if o == nil || o.LimitDateRangeTo == nil { - return nil, false - } - return o.LimitDateRangeTo, true -} - -// HasLimitDateRangeTo returns a boolean if a field has been set. -func (o *RepositoryTokenRefresh) HasLimitDateRangeTo() bool { - if o != nil && o.LimitDateRangeTo != nil { - return true - } - - return false -} - -// SetLimitDateRangeTo gets a reference to the given string and assigns it to the LimitDateRangeTo field. -func (o *RepositoryTokenRefresh) SetLimitDateRangeTo(v string) { - o.LimitDateRangeTo = &v -} - -// GetLimitNumClients returns the LimitNumClients field value if set, zero value otherwise. -func (o *RepositoryTokenRefresh) GetLimitNumClients() int64 { - if o == nil || o.LimitNumClients == nil { - var ret int64 - return ret - } - return *o.LimitNumClients -} - -// GetLimitNumClientsOk returns a tuple with the LimitNumClients field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *RepositoryTokenRefresh) GetLimitNumClientsOk() (*int64, bool) { - if o == nil || o.LimitNumClients == nil { - return nil, false - } - return o.LimitNumClients, true -} - -// HasLimitNumClients returns a boolean if a field has been set. -func (o *RepositoryTokenRefresh) HasLimitNumClients() bool { - if o != nil && o.LimitNumClients != nil { - return true - } - - return false -} - -// SetLimitNumClients gets a reference to the given int64 and assigns it to the LimitNumClients field. -func (o *RepositoryTokenRefresh) SetLimitNumClients(v int64) { - o.LimitNumClients = &v -} - -// GetLimitNumDownloads returns the LimitNumDownloads field value if set, zero value otherwise. -func (o *RepositoryTokenRefresh) GetLimitNumDownloads() int64 { - if o == nil || o.LimitNumDownloads == nil { - var ret int64 - return ret - } - return *o.LimitNumDownloads -} - -// GetLimitNumDownloadsOk returns a tuple with the LimitNumDownloads field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *RepositoryTokenRefresh) GetLimitNumDownloadsOk() (*int64, bool) { - if o == nil || o.LimitNumDownloads == nil { - return nil, false - } - return o.LimitNumDownloads, true -} - -// HasLimitNumDownloads returns a boolean if a field has been set. -func (o *RepositoryTokenRefresh) HasLimitNumDownloads() bool { - if o != nil && o.LimitNumDownloads != nil { - return true - } - - return false -} - -// SetLimitNumDownloads gets a reference to the given int64 and assigns it to the LimitNumDownloads field. -func (o *RepositoryTokenRefresh) SetLimitNumDownloads(v int64) { - o.LimitNumDownloads = &v -} - -// GetLimitPackageQuery returns the LimitPackageQuery field value if set, zero value otherwise. -func (o *RepositoryTokenRefresh) GetLimitPackageQuery() string { - if o == nil || o.LimitPackageQuery == nil { - var ret string - return ret - } - return *o.LimitPackageQuery -} - -// GetLimitPackageQueryOk returns a tuple with the LimitPackageQuery field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *RepositoryTokenRefresh) GetLimitPackageQueryOk() (*string, bool) { - if o == nil || o.LimitPackageQuery == nil { - return nil, false - } - return o.LimitPackageQuery, true -} - -// HasLimitPackageQuery returns a boolean if a field has been set. -func (o *RepositoryTokenRefresh) HasLimitPackageQuery() bool { - if o != nil && o.LimitPackageQuery != nil { - return true - } - - return false -} - -// SetLimitPackageQuery gets a reference to the given string and assigns it to the LimitPackageQuery field. -func (o *RepositoryTokenRefresh) SetLimitPackageQuery(v string) { - o.LimitPackageQuery = &v -} - -// GetLimitPathQuery returns the LimitPathQuery field value if set, zero value otherwise. -func (o *RepositoryTokenRefresh) GetLimitPathQuery() string { - if o == nil || o.LimitPathQuery == nil { - var ret string - return ret - } - return *o.LimitPathQuery -} - -// GetLimitPathQueryOk returns a tuple with the LimitPathQuery field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *RepositoryTokenRefresh) GetLimitPathQueryOk() (*string, bool) { - if o == nil || o.LimitPathQuery == nil { - return nil, false - } - return o.LimitPathQuery, true -} - -// HasLimitPathQuery returns a boolean if a field has been set. -func (o *RepositoryTokenRefresh) HasLimitPathQuery() bool { - if o != nil && o.LimitPathQuery != nil { - return true - } - - return false -} - -// SetLimitPathQuery gets a reference to the given string and assigns it to the LimitPathQuery field. -func (o *RepositoryTokenRefresh) SetLimitPathQuery(v string) { - o.LimitPathQuery = &v -} - -// GetMetadata returns the Metadata field value if set, zero value otherwise. -func (o *RepositoryTokenRefresh) GetMetadata() map[string]interface{} { - if o == nil || o.Metadata == nil { - var ret map[string]interface{} - return ret - } - return o.Metadata -} - -// GetMetadataOk returns a tuple with the Metadata field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *RepositoryTokenRefresh) GetMetadataOk() (map[string]interface{}, bool) { - if o == nil || o.Metadata == nil { - return nil, false - } - return o.Metadata, true -} - -// HasMetadata returns a boolean if a field has been set. -func (o *RepositoryTokenRefresh) HasMetadata() bool { - if o != nil && o.Metadata != nil { - return true - } - - return false -} - -// SetMetadata gets a reference to the given map[string]interface{} and assigns it to the Metadata field. -func (o *RepositoryTokenRefresh) SetMetadata(v map[string]interface{}) { - o.Metadata = v -} - -// GetName returns the Name field value if set, zero value otherwise. -func (o *RepositoryTokenRefresh) GetName() string { - if o == nil || o.Name == nil { - var ret string - return ret - } - return *o.Name -} - -// GetNameOk returns a tuple with the Name field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *RepositoryTokenRefresh) GetNameOk() (*string, bool) { - if o == nil || o.Name == nil { - return nil, false - } - return o.Name, true -} - -// HasName returns a boolean if a field has been set. -func (o *RepositoryTokenRefresh) HasName() bool { - if o != nil && o.Name != nil { - return true - } - - return false -} - -// SetName gets a reference to the given string and assigns it to the Name field. -func (o *RepositoryTokenRefresh) SetName(v string) { - o.Name = &v -} - -// GetRefreshUrl returns the RefreshUrl field value if set, zero value otherwise. -func (o *RepositoryTokenRefresh) GetRefreshUrl() string { - if o == nil || o.RefreshUrl == nil { - var ret string - return ret - } - return *o.RefreshUrl -} - -// GetRefreshUrlOk returns a tuple with the RefreshUrl field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *RepositoryTokenRefresh) GetRefreshUrlOk() (*string, bool) { - if o == nil || o.RefreshUrl == nil { - return nil, false - } - return o.RefreshUrl, true -} - -// HasRefreshUrl returns a boolean if a field has been set. -func (o *RepositoryTokenRefresh) HasRefreshUrl() bool { - if o != nil && o.RefreshUrl != nil { - return true - } - - return false -} - -// SetRefreshUrl gets a reference to the given string and assigns it to the RefreshUrl field. -func (o *RepositoryTokenRefresh) SetRefreshUrl(v string) { - o.RefreshUrl = &v -} - -// GetResetUrl returns the ResetUrl field value if set, zero value otherwise. -func (o *RepositoryTokenRefresh) GetResetUrl() string { - if o == nil || o.ResetUrl == nil { - var ret string - return ret - } - return *o.ResetUrl -} - -// GetResetUrlOk returns a tuple with the ResetUrl field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *RepositoryTokenRefresh) GetResetUrlOk() (*string, bool) { - if o == nil || o.ResetUrl == nil { - return nil, false - } - return o.ResetUrl, true -} - -// HasResetUrl returns a boolean if a field has been set. -func (o *RepositoryTokenRefresh) HasResetUrl() bool { - if o != nil && o.ResetUrl != nil { - return true - } - - return false -} - -// SetResetUrl gets a reference to the given string and assigns it to the ResetUrl field. -func (o *RepositoryTokenRefresh) SetResetUrl(v string) { - o.ResetUrl = &v -} - -// GetScheduledResetAt returns the ScheduledResetAt field value if set, zero value otherwise. -func (o *RepositoryTokenRefresh) GetScheduledResetAt() string { - if o == nil || o.ScheduledResetAt == nil { - var ret string - return ret - } - return *o.ScheduledResetAt -} - -// GetScheduledResetAtOk returns a tuple with the ScheduledResetAt field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *RepositoryTokenRefresh) GetScheduledResetAtOk() (*string, bool) { - if o == nil || o.ScheduledResetAt == nil { - return nil, false - } - return o.ScheduledResetAt, true -} - -// HasScheduledResetAt returns a boolean if a field has been set. -func (o *RepositoryTokenRefresh) HasScheduledResetAt() bool { - if o != nil && o.ScheduledResetAt != nil { - return true - } - - return false -} - -// SetScheduledResetAt gets a reference to the given string and assigns it to the ScheduledResetAt field. -func (o *RepositoryTokenRefresh) SetScheduledResetAt(v string) { - o.ScheduledResetAt = &v -} - -// GetScheduledResetPeriod returns the ScheduledResetPeriod field value if set, zero value otherwise. -func (o *RepositoryTokenRefresh) GetScheduledResetPeriod() string { - if o == nil || o.ScheduledResetPeriod == nil { - var ret string - return ret - } - return *o.ScheduledResetPeriod -} - -// GetScheduledResetPeriodOk returns a tuple with the ScheduledResetPeriod field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *RepositoryTokenRefresh) GetScheduledResetPeriodOk() (*string, bool) { - if o == nil || o.ScheduledResetPeriod == nil { - return nil, false - } - return o.ScheduledResetPeriod, true -} - -// HasScheduledResetPeriod returns a boolean if a field has been set. -func (o *RepositoryTokenRefresh) HasScheduledResetPeriod() bool { - if o != nil && o.ScheduledResetPeriod != nil { - return true - } - - return false -} - -// SetScheduledResetPeriod gets a reference to the given string and assigns it to the ScheduledResetPeriod field. -func (o *RepositoryTokenRefresh) SetScheduledResetPeriod(v string) { - o.ScheduledResetPeriod = &v -} - -// GetSelfUrl returns the SelfUrl field value if set, zero value otherwise. -func (o *RepositoryTokenRefresh) GetSelfUrl() string { - if o == nil || o.SelfUrl == nil { - var ret string - return ret - } - return *o.SelfUrl -} - -// GetSelfUrlOk returns a tuple with the SelfUrl field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *RepositoryTokenRefresh) GetSelfUrlOk() (*string, bool) { - if o == nil || o.SelfUrl == nil { - return nil, false - } - return o.SelfUrl, true -} - -// HasSelfUrl returns a boolean if a field has been set. -func (o *RepositoryTokenRefresh) HasSelfUrl() bool { - if o != nil && o.SelfUrl != nil { - return true - } - - return false -} - -// SetSelfUrl gets a reference to the given string and assigns it to the SelfUrl field. -func (o *RepositoryTokenRefresh) SetSelfUrl(v string) { - o.SelfUrl = &v -} - -// GetSlugPerm returns the SlugPerm field value if set, zero value otherwise. -func (o *RepositoryTokenRefresh) GetSlugPerm() string { - if o == nil || o.SlugPerm == nil { - var ret string - return ret - } - return *o.SlugPerm -} - -// GetSlugPermOk returns a tuple with the SlugPerm field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *RepositoryTokenRefresh) GetSlugPermOk() (*string, bool) { - if o == nil || o.SlugPerm == nil { - return nil, false - } - return o.SlugPerm, true -} - -// HasSlugPerm returns a boolean if a field has been set. -func (o *RepositoryTokenRefresh) HasSlugPerm() bool { - if o != nil && o.SlugPerm != nil { - return true - } - - return false -} - -// SetSlugPerm gets a reference to the given string and assigns it to the SlugPerm field. -func (o *RepositoryTokenRefresh) SetSlugPerm(v string) { - o.SlugPerm = &v -} - -// GetToken returns the Token field value if set, zero value otherwise. -func (o *RepositoryTokenRefresh) GetToken() string { - if o == nil || o.Token == nil { - var ret string - return ret - } - return *o.Token -} - -// GetTokenOk returns a tuple with the Token field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *RepositoryTokenRefresh) GetTokenOk() (*string, bool) { - if o == nil || o.Token == nil { - return nil, false - } - return o.Token, true -} - -// HasToken returns a boolean if a field has been set. -func (o *RepositoryTokenRefresh) HasToken() bool { - if o != nil && o.Token != nil { - return true - } - - return false -} - -// SetToken gets a reference to the given string and assigns it to the Token field. -func (o *RepositoryTokenRefresh) SetToken(v string) { - o.Token = &v -} - -// GetUpdatedAt returns the UpdatedAt field value if set, zero value otherwise. -func (o *RepositoryTokenRefresh) GetUpdatedAt() string { - if o == nil || o.UpdatedAt == nil { - var ret string - return ret - } - return *o.UpdatedAt -} - -// GetUpdatedAtOk returns a tuple with the UpdatedAt field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *RepositoryTokenRefresh) GetUpdatedAtOk() (*string, bool) { - if o == nil || o.UpdatedAt == nil { - return nil, false - } - return o.UpdatedAt, true -} - -// HasUpdatedAt returns a boolean if a field has been set. -func (o *RepositoryTokenRefresh) HasUpdatedAt() bool { - if o != nil && o.UpdatedAt != nil { - return true - } - - return false -} - -// SetUpdatedAt gets a reference to the given string and assigns it to the UpdatedAt field. -func (o *RepositoryTokenRefresh) SetUpdatedAt(v string) { - o.UpdatedAt = &v -} - -// GetUpdatedBy returns the UpdatedBy field value if set, zero value otherwise. -func (o *RepositoryTokenRefresh) GetUpdatedBy() string { - if o == nil || o.UpdatedBy == nil { - var ret string - return ret - } - return *o.UpdatedBy -} - -// GetUpdatedByOk returns a tuple with the UpdatedBy field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *RepositoryTokenRefresh) GetUpdatedByOk() (*string, bool) { - if o == nil || o.UpdatedBy == nil { - return nil, false - } - return o.UpdatedBy, true -} - -// HasUpdatedBy returns a boolean if a field has been set. -func (o *RepositoryTokenRefresh) HasUpdatedBy() bool { - if o != nil && o.UpdatedBy != nil { - return true - } - - return false -} - -// SetUpdatedBy gets a reference to the given string and assigns it to the UpdatedBy field. -func (o *RepositoryTokenRefresh) SetUpdatedBy(v string) { - o.UpdatedBy = &v -} - -// GetUpdatedByUrl returns the UpdatedByUrl field value if set, zero value otherwise. -func (o *RepositoryTokenRefresh) GetUpdatedByUrl() string { - if o == nil || o.UpdatedByUrl == nil { - var ret string - return ret - } - return *o.UpdatedByUrl -} - -// GetUpdatedByUrlOk returns a tuple with the UpdatedByUrl field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *RepositoryTokenRefresh) GetUpdatedByUrlOk() (*string, bool) { - if o == nil || o.UpdatedByUrl == nil { - return nil, false - } - return o.UpdatedByUrl, true -} - -// HasUpdatedByUrl returns a boolean if a field has been set. -func (o *RepositoryTokenRefresh) HasUpdatedByUrl() bool { - if o != nil && o.UpdatedByUrl != nil { - return true - } - - return false -} - -// SetUpdatedByUrl gets a reference to the given string and assigns it to the UpdatedByUrl field. -func (o *RepositoryTokenRefresh) SetUpdatedByUrl(v string) { - o.UpdatedByUrl = &v -} - -// GetUsage returns the Usage field value if set, zero value otherwise. -func (o *RepositoryTokenRefresh) GetUsage() string { - if o == nil || o.Usage == nil { - var ret string - return ret - } - return *o.Usage -} - -// GetUsageOk returns a tuple with the Usage field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *RepositoryTokenRefresh) GetUsageOk() (*string, bool) { - if o == nil || o.Usage == nil { - return nil, false - } - return o.Usage, true -} - -// HasUsage returns a boolean if a field has been set. -func (o *RepositoryTokenRefresh) HasUsage() bool { - if o != nil && o.Usage != nil { - return true - } - - return false -} - -// SetUsage gets a reference to the given string and assigns it to the Usage field. -func (o *RepositoryTokenRefresh) SetUsage(v string) { - o.Usage = &v -} - -// GetUser returns the User field value if set, zero value otherwise. -func (o *RepositoryTokenRefresh) GetUser() string { - if o == nil || o.User == nil { - var ret string - return ret - } - return *o.User -} - -// GetUserOk returns a tuple with the User field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *RepositoryTokenRefresh) GetUserOk() (*string, bool) { - if o == nil || o.User == nil { - return nil, false - } - return o.User, true -} - -// HasUser returns a boolean if a field has been set. -func (o *RepositoryTokenRefresh) HasUser() bool { - if o != nil && o.User != nil { - return true - } - - return false -} - -// SetUser gets a reference to the given string and assigns it to the User field. -func (o *RepositoryTokenRefresh) SetUser(v string) { - o.User = &v -} - -// GetUserUrl returns the UserUrl field value if set, zero value otherwise. -func (o *RepositoryTokenRefresh) GetUserUrl() string { - if o == nil || o.UserUrl == nil { - var ret string - return ret - } - return *o.UserUrl -} - -// GetUserUrlOk returns a tuple with the UserUrl field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *RepositoryTokenRefresh) GetUserUrlOk() (*string, bool) { - if o == nil || o.UserUrl == nil { - return nil, false - } - return o.UserUrl, true -} - -// HasUserUrl returns a boolean if a field has been set. -func (o *RepositoryTokenRefresh) HasUserUrl() bool { - if o != nil && o.UserUrl != nil { - return true - } - - return false -} - -// SetUserUrl gets a reference to the given string and assigns it to the UserUrl field. -func (o *RepositoryTokenRefresh) SetUserUrl(v string) { - o.UserUrl = &v -} - -func (o RepositoryTokenRefresh) MarshalJSON() ([]byte, error) { - toSerialize := map[string]interface{}{} - if o.Clients != nil { - toSerialize["clients"] = o.Clients - } - if o.CreatedAt != nil { - toSerialize["created_at"] = o.CreatedAt - } - if o.CreatedBy != nil { - toSerialize["created_by"] = o.CreatedBy - } - if o.CreatedByUrl != nil { - toSerialize["created_by_url"] = o.CreatedByUrl - } - if o.Default != nil { - toSerialize["default"] = o.Default - } - if o.DisableUrl != nil { - toSerialize["disable_url"] = o.DisableUrl - } - if o.Downloads != nil { - toSerialize["downloads"] = o.Downloads - } - if o.EnableUrl != nil { - toSerialize["enable_url"] = o.EnableUrl - } - if o.EulaAccepted != nil { - toSerialize["eula_accepted"] = o.EulaAccepted - } - if o.EulaAcceptedAt != nil { - toSerialize["eula_accepted_at"] = o.EulaAcceptedAt - } - if o.EulaAcceptedFrom != nil { - toSerialize["eula_accepted_from"] = o.EulaAcceptedFrom - } - if o.EulaRequired != nil { - toSerialize["eula_required"] = o.EulaRequired - } - if o.HasLimits != nil { - toSerialize["has_limits"] = o.HasLimits - } - if o.Identifier != nil { - toSerialize["identifier"] = o.Identifier - } - if o.IsActive != nil { - toSerialize["is_active"] = o.IsActive - } - if o.IsLimited != nil { - toSerialize["is_limited"] = o.IsLimited - } - if o.LimitBandwidth != nil { - toSerialize["limit_bandwidth"] = o.LimitBandwidth - } - if o.LimitBandwidthUnit != nil { - toSerialize["limit_bandwidth_unit"] = o.LimitBandwidthUnit - } - if o.LimitDateRangeFrom != nil { - toSerialize["limit_date_range_from"] = o.LimitDateRangeFrom - } - if o.LimitDateRangeTo != nil { - toSerialize["limit_date_range_to"] = o.LimitDateRangeTo - } - if o.LimitNumClients != nil { - toSerialize["limit_num_clients"] = o.LimitNumClients - } - if o.LimitNumDownloads != nil { - toSerialize["limit_num_downloads"] = o.LimitNumDownloads - } - if o.LimitPackageQuery != nil { - toSerialize["limit_package_query"] = o.LimitPackageQuery - } - if o.LimitPathQuery != nil { - toSerialize["limit_path_query"] = o.LimitPathQuery - } - if o.Metadata != nil { - toSerialize["metadata"] = o.Metadata - } - if o.Name != nil { - toSerialize["name"] = o.Name - } - if o.RefreshUrl != nil { - toSerialize["refresh_url"] = o.RefreshUrl - } - if o.ResetUrl != nil { - toSerialize["reset_url"] = o.ResetUrl - } - if o.ScheduledResetAt != nil { - toSerialize["scheduled_reset_at"] = o.ScheduledResetAt - } - if o.ScheduledResetPeriod != nil { - toSerialize["scheduled_reset_period"] = o.ScheduledResetPeriod - } - if o.SelfUrl != nil { - toSerialize["self_url"] = o.SelfUrl - } - if o.SlugPerm != nil { - toSerialize["slug_perm"] = o.SlugPerm - } - if o.Token != nil { - toSerialize["token"] = o.Token - } - if o.UpdatedAt != nil { - toSerialize["updated_at"] = o.UpdatedAt - } - if o.UpdatedBy != nil { - toSerialize["updated_by"] = o.UpdatedBy - } - if o.UpdatedByUrl != nil { - toSerialize["updated_by_url"] = o.UpdatedByUrl - } - if o.Usage != nil { - toSerialize["usage"] = o.Usage - } - if o.User != nil { - toSerialize["user"] = o.User - } - if o.UserUrl != nil { - toSerialize["user_url"] = o.UserUrl - } - return json.Marshal(toSerialize) -} - -type NullableRepositoryTokenRefresh struct { - value *RepositoryTokenRefresh - isSet bool -} - -func (v NullableRepositoryTokenRefresh) Get() *RepositoryTokenRefresh { - return v.value -} - -func (v *NullableRepositoryTokenRefresh) Set(val *RepositoryTokenRefresh) { - v.value = val - v.isSet = true -} - -func (v NullableRepositoryTokenRefresh) IsSet() bool { - return v.isSet -} - -func (v *NullableRepositoryTokenRefresh) Unset() { - v.value = nil - v.isSet = false -} - -func NewNullableRepositoryTokenRefresh(val *RepositoryTokenRefresh) *NullableRepositoryTokenRefresh { - return &NullableRepositoryTokenRefresh{value: val, isSet: true} -} - -func (v NullableRepositoryTokenRefresh) MarshalJSON() ([]byte, error) { - return json.Marshal(v.value) -} - -func (v *NullableRepositoryTokenRefresh) UnmarshalJSON(src []byte) error { - v.isSet = true - return json.Unmarshal(src, &v.value) -} diff --git a/model_repository_token_refresh_request.go b/model_repository_token_refresh_request.go new file mode 100644 index 00000000..9fdbca77 --- /dev/null +++ b/model_repository_token_refresh_request.go @@ -0,0 +1,712 @@ +/* +Cloudsmith API (v1) + +The API to the Cloudsmith Service + +API version: 1.181.6 +Contact: support@cloudsmith.io +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cloudsmith + +import ( + "encoding/json" + "time" +) + +// RepositoryTokenRefreshRequest struct for RepositoryTokenRefreshRequest +type RepositoryTokenRefreshRequest struct { + // If checked, a EULA acceptance is required for this token. + EulaRequired *bool `json:"eula_required,omitempty"` + // If enabled, the token will allow downloads based on configured restrictions (if any). + IsActive *bool `json:"is_active,omitempty"` + // The maximum download bandwidth allowed for the token. Values are expressed as the selected unit of bandwidth. Please note that since downloads are calculated asynchronously (after the download happens), the limit may not be imposed immediately but at a later point. + LimitBandwidth NullableInt64 `json:"limit_bandwidth,omitempty"` + LimitBandwidthUnit NullableString `json:"limit_bandwidth_unit,omitempty"` + // The starting date/time the token is allowed to be used from. + LimitDateRangeFrom NullableTime `json:"limit_date_range_from,omitempty"` + // The ending date/time the token is allowed to be used until. + LimitDateRangeTo NullableTime `json:"limit_date_range_to,omitempty"` + // The maximum number of unique clients allowed for the token. Please note that since clients are calculated asynchronously (after the download happens), the limit may not be imposed immediately but at a later point. + LimitNumClients NullableInt64 `json:"limit_num_clients,omitempty"` + // The maximum number of downloads allowed for the token. Please note that since downloads are calculated asynchronously (after the download happens), the limit may not be imposed immediately but at a later point. + LimitNumDownloads NullableInt64 `json:"limit_num_downloads,omitempty"` + // The package-based search query to apply to restrict downloads to. This uses the same syntax as the standard search used for repositories, and also supports boolean logic operators such as OR/AND/NOT and parentheses for grouping. This will still allow access to non-package files, such as metadata. + LimitPackageQuery NullableString `json:"limit_package_query,omitempty"` + // The path-based search query to apply to restrict downloads to. This supports boolean logic operators such as OR/AND/NOT and parentheses for grouping. The path evaluated does not include the domain name, the namespace, the entitlement code used, the package format, etc. and it always starts with a forward slash. + LimitPathQuery NullableString `json:"limit_path_query,omitempty"` + Metadata map[string]interface{} `json:"metadata,omitempty"` + // The time at which the scheduled reset period has elapsed and the token limits were automatically reset to zero. + ScheduledResetAt NullableTime `json:"scheduled_reset_at,omitempty"` + ScheduledResetPeriod NullableString `json:"scheduled_reset_period,omitempty"` + Token *string `json:"token,omitempty"` +} + +// NewRepositoryTokenRefreshRequest instantiates a new RepositoryTokenRefreshRequest object +// 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 NewRepositoryTokenRefreshRequest() *RepositoryTokenRefreshRequest { + this := RepositoryTokenRefreshRequest{} + var limitBandwidthUnit string = "Byte" + this.LimitBandwidthUnit = *NewNullableString(&limitBandwidthUnit) + var scheduledResetPeriod string = "Never Reset" + this.ScheduledResetPeriod = *NewNullableString(&scheduledResetPeriod) + return &this +} + +// NewRepositoryTokenRefreshRequestWithDefaults instantiates a new RepositoryTokenRefreshRequest object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewRepositoryTokenRefreshRequestWithDefaults() *RepositoryTokenRefreshRequest { + this := RepositoryTokenRefreshRequest{} + var limitBandwidthUnit string = "Byte" + this.LimitBandwidthUnit = *NewNullableString(&limitBandwidthUnit) + var scheduledResetPeriod string = "Never Reset" + this.ScheduledResetPeriod = *NewNullableString(&scheduledResetPeriod) + return &this +} + +// GetEulaRequired returns the EulaRequired field value if set, zero value otherwise. +func (o *RepositoryTokenRefreshRequest) GetEulaRequired() bool { + if o == nil || isNil(o.EulaRequired) { + var ret bool + return ret + } + return *o.EulaRequired +} + +// GetEulaRequiredOk returns a tuple with the EulaRequired field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *RepositoryTokenRefreshRequest) GetEulaRequiredOk() (*bool, bool) { + if o == nil || isNil(o.EulaRequired) { + return nil, false + } + return o.EulaRequired, true +} + +// HasEulaRequired returns a boolean if a field has been set. +func (o *RepositoryTokenRefreshRequest) HasEulaRequired() bool { + if o != nil && !isNil(o.EulaRequired) { + return true + } + + return false +} + +// SetEulaRequired gets a reference to the given bool and assigns it to the EulaRequired field. +func (o *RepositoryTokenRefreshRequest) SetEulaRequired(v bool) { + o.EulaRequired = &v +} + +// GetIsActive returns the IsActive field value if set, zero value otherwise. +func (o *RepositoryTokenRefreshRequest) GetIsActive() bool { + if o == nil || isNil(o.IsActive) { + var ret bool + return ret + } + return *o.IsActive +} + +// GetIsActiveOk returns a tuple with the IsActive field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *RepositoryTokenRefreshRequest) GetIsActiveOk() (*bool, bool) { + if o == nil || isNil(o.IsActive) { + return nil, false + } + return o.IsActive, true +} + +// HasIsActive returns a boolean if a field has been set. +func (o *RepositoryTokenRefreshRequest) HasIsActive() bool { + if o != nil && !isNil(o.IsActive) { + return true + } + + return false +} + +// SetIsActive gets a reference to the given bool and assigns it to the IsActive field. +func (o *RepositoryTokenRefreshRequest) SetIsActive(v bool) { + o.IsActive = &v +} + +// GetLimitBandwidth returns the LimitBandwidth field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *RepositoryTokenRefreshRequest) GetLimitBandwidth() int64 { + if o == nil || isNil(o.LimitBandwidth.Get()) { + var ret int64 + return ret + } + return *o.LimitBandwidth.Get() +} + +// GetLimitBandwidthOk returns a tuple with the LimitBandwidth 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 *RepositoryTokenRefreshRequest) GetLimitBandwidthOk() (*int64, bool) { + if o == nil { + return nil, false + } + return o.LimitBandwidth.Get(), o.LimitBandwidth.IsSet() +} + +// HasLimitBandwidth returns a boolean if a field has been set. +func (o *RepositoryTokenRefreshRequest) HasLimitBandwidth() bool { + if o != nil && o.LimitBandwidth.IsSet() { + return true + } + + return false +} + +// SetLimitBandwidth gets a reference to the given NullableInt64 and assigns it to the LimitBandwidth field. +func (o *RepositoryTokenRefreshRequest) SetLimitBandwidth(v int64) { + o.LimitBandwidth.Set(&v) +} + +// SetLimitBandwidthNil sets the value for LimitBandwidth to be an explicit nil +func (o *RepositoryTokenRefreshRequest) SetLimitBandwidthNil() { + o.LimitBandwidth.Set(nil) +} + +// UnsetLimitBandwidth ensures that no value is present for LimitBandwidth, not even an explicit nil +func (o *RepositoryTokenRefreshRequest) UnsetLimitBandwidth() { + o.LimitBandwidth.Unset() +} + +// GetLimitBandwidthUnit returns the LimitBandwidthUnit field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *RepositoryTokenRefreshRequest) GetLimitBandwidthUnit() string { + if o == nil || isNil(o.LimitBandwidthUnit.Get()) { + var ret string + return ret + } + return *o.LimitBandwidthUnit.Get() +} + +// GetLimitBandwidthUnitOk returns a tuple with the LimitBandwidthUnit 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 *RepositoryTokenRefreshRequest) GetLimitBandwidthUnitOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.LimitBandwidthUnit.Get(), o.LimitBandwidthUnit.IsSet() +} + +// HasLimitBandwidthUnit returns a boolean if a field has been set. +func (o *RepositoryTokenRefreshRequest) HasLimitBandwidthUnit() bool { + if o != nil && o.LimitBandwidthUnit.IsSet() { + return true + } + + return false +} + +// SetLimitBandwidthUnit gets a reference to the given NullableString and assigns it to the LimitBandwidthUnit field. +func (o *RepositoryTokenRefreshRequest) SetLimitBandwidthUnit(v string) { + o.LimitBandwidthUnit.Set(&v) +} + +// SetLimitBandwidthUnitNil sets the value for LimitBandwidthUnit to be an explicit nil +func (o *RepositoryTokenRefreshRequest) SetLimitBandwidthUnitNil() { + o.LimitBandwidthUnit.Set(nil) +} + +// UnsetLimitBandwidthUnit ensures that no value is present for LimitBandwidthUnit, not even an explicit nil +func (o *RepositoryTokenRefreshRequest) UnsetLimitBandwidthUnit() { + o.LimitBandwidthUnit.Unset() +} + +// GetLimitDateRangeFrom returns the LimitDateRangeFrom field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *RepositoryTokenRefreshRequest) GetLimitDateRangeFrom() time.Time { + if o == nil || isNil(o.LimitDateRangeFrom.Get()) { + var ret time.Time + return ret + } + return *o.LimitDateRangeFrom.Get() +} + +// GetLimitDateRangeFromOk returns a tuple with the LimitDateRangeFrom 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 *RepositoryTokenRefreshRequest) GetLimitDateRangeFromOk() (*time.Time, bool) { + if o == nil { + return nil, false + } + return o.LimitDateRangeFrom.Get(), o.LimitDateRangeFrom.IsSet() +} + +// HasLimitDateRangeFrom returns a boolean if a field has been set. +func (o *RepositoryTokenRefreshRequest) HasLimitDateRangeFrom() bool { + if o != nil && o.LimitDateRangeFrom.IsSet() { + return true + } + + return false +} + +// SetLimitDateRangeFrom gets a reference to the given NullableTime and assigns it to the LimitDateRangeFrom field. +func (o *RepositoryTokenRefreshRequest) SetLimitDateRangeFrom(v time.Time) { + o.LimitDateRangeFrom.Set(&v) +} + +// SetLimitDateRangeFromNil sets the value for LimitDateRangeFrom to be an explicit nil +func (o *RepositoryTokenRefreshRequest) SetLimitDateRangeFromNil() { + o.LimitDateRangeFrom.Set(nil) +} + +// UnsetLimitDateRangeFrom ensures that no value is present for LimitDateRangeFrom, not even an explicit nil +func (o *RepositoryTokenRefreshRequest) UnsetLimitDateRangeFrom() { + o.LimitDateRangeFrom.Unset() +} + +// GetLimitDateRangeTo returns the LimitDateRangeTo field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *RepositoryTokenRefreshRequest) GetLimitDateRangeTo() time.Time { + if o == nil || isNil(o.LimitDateRangeTo.Get()) { + var ret time.Time + return ret + } + return *o.LimitDateRangeTo.Get() +} + +// GetLimitDateRangeToOk returns a tuple with the LimitDateRangeTo 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 *RepositoryTokenRefreshRequest) GetLimitDateRangeToOk() (*time.Time, bool) { + if o == nil { + return nil, false + } + return o.LimitDateRangeTo.Get(), o.LimitDateRangeTo.IsSet() +} + +// HasLimitDateRangeTo returns a boolean if a field has been set. +func (o *RepositoryTokenRefreshRequest) HasLimitDateRangeTo() bool { + if o != nil && o.LimitDateRangeTo.IsSet() { + return true + } + + return false +} + +// SetLimitDateRangeTo gets a reference to the given NullableTime and assigns it to the LimitDateRangeTo field. +func (o *RepositoryTokenRefreshRequest) SetLimitDateRangeTo(v time.Time) { + o.LimitDateRangeTo.Set(&v) +} + +// SetLimitDateRangeToNil sets the value for LimitDateRangeTo to be an explicit nil +func (o *RepositoryTokenRefreshRequest) SetLimitDateRangeToNil() { + o.LimitDateRangeTo.Set(nil) +} + +// UnsetLimitDateRangeTo ensures that no value is present for LimitDateRangeTo, not even an explicit nil +func (o *RepositoryTokenRefreshRequest) UnsetLimitDateRangeTo() { + o.LimitDateRangeTo.Unset() +} + +// GetLimitNumClients returns the LimitNumClients field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *RepositoryTokenRefreshRequest) GetLimitNumClients() int64 { + if o == nil || isNil(o.LimitNumClients.Get()) { + var ret int64 + return ret + } + return *o.LimitNumClients.Get() +} + +// GetLimitNumClientsOk returns a tuple with the LimitNumClients 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 *RepositoryTokenRefreshRequest) GetLimitNumClientsOk() (*int64, bool) { + if o == nil { + return nil, false + } + return o.LimitNumClients.Get(), o.LimitNumClients.IsSet() +} + +// HasLimitNumClients returns a boolean if a field has been set. +func (o *RepositoryTokenRefreshRequest) HasLimitNumClients() bool { + if o != nil && o.LimitNumClients.IsSet() { + return true + } + + return false +} + +// SetLimitNumClients gets a reference to the given NullableInt64 and assigns it to the LimitNumClients field. +func (o *RepositoryTokenRefreshRequest) SetLimitNumClients(v int64) { + o.LimitNumClients.Set(&v) +} + +// SetLimitNumClientsNil sets the value for LimitNumClients to be an explicit nil +func (o *RepositoryTokenRefreshRequest) SetLimitNumClientsNil() { + o.LimitNumClients.Set(nil) +} + +// UnsetLimitNumClients ensures that no value is present for LimitNumClients, not even an explicit nil +func (o *RepositoryTokenRefreshRequest) UnsetLimitNumClients() { + o.LimitNumClients.Unset() +} + +// GetLimitNumDownloads returns the LimitNumDownloads field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *RepositoryTokenRefreshRequest) GetLimitNumDownloads() int64 { + if o == nil || isNil(o.LimitNumDownloads.Get()) { + var ret int64 + return ret + } + return *o.LimitNumDownloads.Get() +} + +// GetLimitNumDownloadsOk returns a tuple with the LimitNumDownloads 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 *RepositoryTokenRefreshRequest) GetLimitNumDownloadsOk() (*int64, bool) { + if o == nil { + return nil, false + } + return o.LimitNumDownloads.Get(), o.LimitNumDownloads.IsSet() +} + +// HasLimitNumDownloads returns a boolean if a field has been set. +func (o *RepositoryTokenRefreshRequest) HasLimitNumDownloads() bool { + if o != nil && o.LimitNumDownloads.IsSet() { + return true + } + + return false +} + +// SetLimitNumDownloads gets a reference to the given NullableInt64 and assigns it to the LimitNumDownloads field. +func (o *RepositoryTokenRefreshRequest) SetLimitNumDownloads(v int64) { + o.LimitNumDownloads.Set(&v) +} + +// SetLimitNumDownloadsNil sets the value for LimitNumDownloads to be an explicit nil +func (o *RepositoryTokenRefreshRequest) SetLimitNumDownloadsNil() { + o.LimitNumDownloads.Set(nil) +} + +// UnsetLimitNumDownloads ensures that no value is present for LimitNumDownloads, not even an explicit nil +func (o *RepositoryTokenRefreshRequest) UnsetLimitNumDownloads() { + o.LimitNumDownloads.Unset() +} + +// GetLimitPackageQuery returns the LimitPackageQuery field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *RepositoryTokenRefreshRequest) GetLimitPackageQuery() string { + if o == nil || isNil(o.LimitPackageQuery.Get()) { + var ret string + return ret + } + return *o.LimitPackageQuery.Get() +} + +// GetLimitPackageQueryOk returns a tuple with the LimitPackageQuery 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 *RepositoryTokenRefreshRequest) GetLimitPackageQueryOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.LimitPackageQuery.Get(), o.LimitPackageQuery.IsSet() +} + +// HasLimitPackageQuery returns a boolean if a field has been set. +func (o *RepositoryTokenRefreshRequest) HasLimitPackageQuery() bool { + if o != nil && o.LimitPackageQuery.IsSet() { + return true + } + + return false +} + +// SetLimitPackageQuery gets a reference to the given NullableString and assigns it to the LimitPackageQuery field. +func (o *RepositoryTokenRefreshRequest) SetLimitPackageQuery(v string) { + o.LimitPackageQuery.Set(&v) +} + +// SetLimitPackageQueryNil sets the value for LimitPackageQuery to be an explicit nil +func (o *RepositoryTokenRefreshRequest) SetLimitPackageQueryNil() { + o.LimitPackageQuery.Set(nil) +} + +// UnsetLimitPackageQuery ensures that no value is present for LimitPackageQuery, not even an explicit nil +func (o *RepositoryTokenRefreshRequest) UnsetLimitPackageQuery() { + o.LimitPackageQuery.Unset() +} + +// GetLimitPathQuery returns the LimitPathQuery field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *RepositoryTokenRefreshRequest) GetLimitPathQuery() string { + if o == nil || isNil(o.LimitPathQuery.Get()) { + var ret string + return ret + } + return *o.LimitPathQuery.Get() +} + +// GetLimitPathQueryOk returns a tuple with the LimitPathQuery 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 *RepositoryTokenRefreshRequest) GetLimitPathQueryOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.LimitPathQuery.Get(), o.LimitPathQuery.IsSet() +} + +// HasLimitPathQuery returns a boolean if a field has been set. +func (o *RepositoryTokenRefreshRequest) HasLimitPathQuery() bool { + if o != nil && o.LimitPathQuery.IsSet() { + return true + } + + return false +} + +// SetLimitPathQuery gets a reference to the given NullableString and assigns it to the LimitPathQuery field. +func (o *RepositoryTokenRefreshRequest) SetLimitPathQuery(v string) { + o.LimitPathQuery.Set(&v) +} + +// SetLimitPathQueryNil sets the value for LimitPathQuery to be an explicit nil +func (o *RepositoryTokenRefreshRequest) SetLimitPathQueryNil() { + o.LimitPathQuery.Set(nil) +} + +// UnsetLimitPathQuery ensures that no value is present for LimitPathQuery, not even an explicit nil +func (o *RepositoryTokenRefreshRequest) UnsetLimitPathQuery() { + o.LimitPathQuery.Unset() +} + +// GetMetadata returns the Metadata field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *RepositoryTokenRefreshRequest) GetMetadata() map[string]interface{} { + if o == nil { + var ret map[string]interface{} + return ret + } + return o.Metadata +} + +// GetMetadataOk returns a tuple with the Metadata 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 *RepositoryTokenRefreshRequest) GetMetadataOk() (map[string]interface{}, bool) { + if o == nil || isNil(o.Metadata) { + return map[string]interface{}{}, false + } + return o.Metadata, true +} + +// HasMetadata returns a boolean if a field has been set. +func (o *RepositoryTokenRefreshRequest) HasMetadata() bool { + if o != nil && isNil(o.Metadata) { + return true + } + + return false +} + +// SetMetadata gets a reference to the given map[string]interface{} and assigns it to the Metadata field. +func (o *RepositoryTokenRefreshRequest) SetMetadata(v map[string]interface{}) { + o.Metadata = v +} + +// GetScheduledResetAt returns the ScheduledResetAt field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *RepositoryTokenRefreshRequest) GetScheduledResetAt() time.Time { + if o == nil || isNil(o.ScheduledResetAt.Get()) { + var ret time.Time + return ret + } + return *o.ScheduledResetAt.Get() +} + +// GetScheduledResetAtOk returns a tuple with the ScheduledResetAt 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 *RepositoryTokenRefreshRequest) GetScheduledResetAtOk() (*time.Time, bool) { + if o == nil { + return nil, false + } + return o.ScheduledResetAt.Get(), o.ScheduledResetAt.IsSet() +} + +// HasScheduledResetAt returns a boolean if a field has been set. +func (o *RepositoryTokenRefreshRequest) HasScheduledResetAt() bool { + if o != nil && o.ScheduledResetAt.IsSet() { + return true + } + + return false +} + +// SetScheduledResetAt gets a reference to the given NullableTime and assigns it to the ScheduledResetAt field. +func (o *RepositoryTokenRefreshRequest) SetScheduledResetAt(v time.Time) { + o.ScheduledResetAt.Set(&v) +} + +// SetScheduledResetAtNil sets the value for ScheduledResetAt to be an explicit nil +func (o *RepositoryTokenRefreshRequest) SetScheduledResetAtNil() { + o.ScheduledResetAt.Set(nil) +} + +// UnsetScheduledResetAt ensures that no value is present for ScheduledResetAt, not even an explicit nil +func (o *RepositoryTokenRefreshRequest) UnsetScheduledResetAt() { + o.ScheduledResetAt.Unset() +} + +// GetScheduledResetPeriod returns the ScheduledResetPeriod field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *RepositoryTokenRefreshRequest) GetScheduledResetPeriod() string { + if o == nil || isNil(o.ScheduledResetPeriod.Get()) { + var ret string + return ret + } + return *o.ScheduledResetPeriod.Get() +} + +// GetScheduledResetPeriodOk returns a tuple with the ScheduledResetPeriod 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 *RepositoryTokenRefreshRequest) GetScheduledResetPeriodOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.ScheduledResetPeriod.Get(), o.ScheduledResetPeriod.IsSet() +} + +// HasScheduledResetPeriod returns a boolean if a field has been set. +func (o *RepositoryTokenRefreshRequest) HasScheduledResetPeriod() bool { + if o != nil && o.ScheduledResetPeriod.IsSet() { + return true + } + + return false +} + +// SetScheduledResetPeriod gets a reference to the given NullableString and assigns it to the ScheduledResetPeriod field. +func (o *RepositoryTokenRefreshRequest) SetScheduledResetPeriod(v string) { + o.ScheduledResetPeriod.Set(&v) +} + +// SetScheduledResetPeriodNil sets the value for ScheduledResetPeriod to be an explicit nil +func (o *RepositoryTokenRefreshRequest) SetScheduledResetPeriodNil() { + o.ScheduledResetPeriod.Set(nil) +} + +// UnsetScheduledResetPeriod ensures that no value is present for ScheduledResetPeriod, not even an explicit nil +func (o *RepositoryTokenRefreshRequest) UnsetScheduledResetPeriod() { + o.ScheduledResetPeriod.Unset() +} + +// GetToken returns the Token field value if set, zero value otherwise. +func (o *RepositoryTokenRefreshRequest) GetToken() string { + if o == nil || isNil(o.Token) { + var ret string + return ret + } + return *o.Token +} + +// GetTokenOk returns a tuple with the Token field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *RepositoryTokenRefreshRequest) GetTokenOk() (*string, bool) { + if o == nil || isNil(o.Token) { + return nil, false + } + return o.Token, true +} + +// HasToken returns a boolean if a field has been set. +func (o *RepositoryTokenRefreshRequest) HasToken() bool { + if o != nil && !isNil(o.Token) { + return true + } + + return false +} + +// SetToken gets a reference to the given string and assigns it to the Token field. +func (o *RepositoryTokenRefreshRequest) SetToken(v string) { + o.Token = &v +} + +func (o RepositoryTokenRefreshRequest) MarshalJSON() ([]byte, error) { + toSerialize := map[string]interface{}{} + if !isNil(o.EulaRequired) { + toSerialize["eula_required"] = o.EulaRequired + } + if !isNil(o.IsActive) { + toSerialize["is_active"] = o.IsActive + } + if o.LimitBandwidth.IsSet() { + toSerialize["limit_bandwidth"] = o.LimitBandwidth.Get() + } + if o.LimitBandwidthUnit.IsSet() { + toSerialize["limit_bandwidth_unit"] = o.LimitBandwidthUnit.Get() + } + if o.LimitDateRangeFrom.IsSet() { + toSerialize["limit_date_range_from"] = o.LimitDateRangeFrom.Get() + } + if o.LimitDateRangeTo.IsSet() { + toSerialize["limit_date_range_to"] = o.LimitDateRangeTo.Get() + } + if o.LimitNumClients.IsSet() { + toSerialize["limit_num_clients"] = o.LimitNumClients.Get() + } + if o.LimitNumDownloads.IsSet() { + toSerialize["limit_num_downloads"] = o.LimitNumDownloads.Get() + } + if o.LimitPackageQuery.IsSet() { + toSerialize["limit_package_query"] = o.LimitPackageQuery.Get() + } + if o.LimitPathQuery.IsSet() { + toSerialize["limit_path_query"] = o.LimitPathQuery.Get() + } + if o.Metadata != nil { + toSerialize["metadata"] = o.Metadata + } + if o.ScheduledResetAt.IsSet() { + toSerialize["scheduled_reset_at"] = o.ScheduledResetAt.Get() + } + if o.ScheduledResetPeriod.IsSet() { + toSerialize["scheduled_reset_period"] = o.ScheduledResetPeriod.Get() + } + if !isNil(o.Token) { + toSerialize["token"] = o.Token + } + return json.Marshal(toSerialize) +} + +type NullableRepositoryTokenRefreshRequest struct { + value *RepositoryTokenRefreshRequest + isSet bool +} + +func (v NullableRepositoryTokenRefreshRequest) Get() *RepositoryTokenRefreshRequest { + return v.value +} + +func (v *NullableRepositoryTokenRefreshRequest) Set(val *RepositoryTokenRefreshRequest) { + v.value = val + v.isSet = true +} + +func (v NullableRepositoryTokenRefreshRequest) IsSet() bool { + return v.isSet +} + +func (v *NullableRepositoryTokenRefreshRequest) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableRepositoryTokenRefreshRequest(val *RepositoryTokenRefreshRequest) *NullableRepositoryTokenRefreshRequest { + return &NullableRepositoryTokenRefreshRequest{value: val, isSet: true} +} + +func (v NullableRepositoryTokenRefreshRequest) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableRepositoryTokenRefreshRequest) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} diff --git a/model_repository_token_refresh_response.go b/model_repository_token_refresh_response.go new file mode 100644 index 00000000..0bf9b2f8 --- /dev/null +++ b/model_repository_token_refresh_response.go @@ -0,0 +1,1682 @@ +/* +Cloudsmith API (v1) + +The API to the Cloudsmith Service + +API version: 1.181.6 +Contact: support@cloudsmith.io +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cloudsmith + +import ( + "encoding/json" + "time" +) + +// RepositoryTokenRefreshResponse struct for RepositoryTokenRefreshResponse +type RepositoryTokenRefreshResponse struct { + Clients *int64 `json:"clients,omitempty"` + // The datetime the token was updated at. + CreatedAt *time.Time `json:"created_at,omitempty"` + CreatedBy *string `json:"created_by,omitempty"` + CreatedByUrl *string `json:"created_by_url,omitempty"` + // If selected this is the default token for this repository. + Default *bool `json:"default,omitempty"` + DisableUrl *string `json:"disable_url,omitempty"` + Downloads *int64 `json:"downloads,omitempty"` + EnableUrl *string `json:"enable_url,omitempty"` + EulaAccepted NullableEula `json:"eula_accepted,omitempty"` + // The datetime the EULA was accepted at. + EulaAcceptedAt *time.Time `json:"eula_accepted_at,omitempty"` + EulaAcceptedFrom NullableString `json:"eula_accepted_from,omitempty"` + // If checked, a EULA acceptance is required for this token. + EulaRequired *bool `json:"eula_required,omitempty"` + HasLimits *bool `json:"has_limits,omitempty"` + Identifier *int64 `json:"identifier,omitempty"` + // If enabled, the token will allow downloads based on configured restrictions (if any). + IsActive *bool `json:"is_active,omitempty"` + IsLimited *bool `json:"is_limited,omitempty"` + // The maximum download bandwidth allowed for the token. Values are expressed as the selected unit of bandwidth. Please note that since downloads are calculated asynchronously (after the download happens), the limit may not be imposed immediately but at a later point. + LimitBandwidth NullableInt64 `json:"limit_bandwidth,omitempty"` + LimitBandwidthUnit NullableString `json:"limit_bandwidth_unit,omitempty"` + // The starting date/time the token is allowed to be used from. + LimitDateRangeFrom NullableTime `json:"limit_date_range_from,omitempty"` + // The ending date/time the token is allowed to be used until. + LimitDateRangeTo NullableTime `json:"limit_date_range_to,omitempty"` + // The maximum number of unique clients allowed for the token. Please note that since clients are calculated asynchronously (after the download happens), the limit may not be imposed immediately but at a later point. + LimitNumClients NullableInt64 `json:"limit_num_clients,omitempty"` + // The maximum number of downloads allowed for the token. Please note that since downloads are calculated asynchronously (after the download happens), the limit may not be imposed immediately but at a later point. + LimitNumDownloads NullableInt64 `json:"limit_num_downloads,omitempty"` + // The package-based search query to apply to restrict downloads to. This uses the same syntax as the standard search used for repositories, and also supports boolean logic operators such as OR/AND/NOT and parentheses for grouping. This will still allow access to non-package files, such as metadata. + LimitPackageQuery NullableString `json:"limit_package_query,omitempty"` + // The path-based search query to apply to restrict downloads to. This supports boolean logic operators such as OR/AND/NOT and parentheses for grouping. The path evaluated does not include the domain name, the namespace, the entitlement code used, the package format, etc. and it always starts with a forward slash. + LimitPathQuery NullableString `json:"limit_path_query,omitempty"` + Metadata map[string]interface{} `json:"metadata,omitempty"` + Name *string `json:"name,omitempty"` + RefreshUrl *string `json:"refresh_url,omitempty"` + ResetUrl *string `json:"reset_url,omitempty"` + // The time at which the scheduled reset period has elapsed and the token limits were automatically reset to zero. + ScheduledResetAt NullableTime `json:"scheduled_reset_at,omitempty"` + ScheduledResetPeriod NullableString `json:"scheduled_reset_period,omitempty"` + SelfUrl *string `json:"self_url,omitempty"` + SlugPerm *string `json:"slug_perm,omitempty"` + Token *string `json:"token,omitempty"` + // The datetime the token was updated at. + UpdatedAt *time.Time `json:"updated_at,omitempty"` + UpdatedBy NullableString `json:"updated_by,omitempty"` + UpdatedByUrl NullableString `json:"updated_by_url,omitempty"` + Usage *string `json:"usage,omitempty"` + User NullableString `json:"user,omitempty"` + UserUrl NullableString `json:"user_url,omitempty"` +} + +// NewRepositoryTokenRefreshResponse instantiates a new RepositoryTokenRefreshResponse object +// 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 NewRepositoryTokenRefreshResponse() *RepositoryTokenRefreshResponse { + this := RepositoryTokenRefreshResponse{} + var limitBandwidthUnit string = "Byte" + this.LimitBandwidthUnit = *NewNullableString(&limitBandwidthUnit) + var scheduledResetPeriod string = "Never Reset" + this.ScheduledResetPeriod = *NewNullableString(&scheduledResetPeriod) + return &this +} + +// NewRepositoryTokenRefreshResponseWithDefaults instantiates a new RepositoryTokenRefreshResponse object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewRepositoryTokenRefreshResponseWithDefaults() *RepositoryTokenRefreshResponse { + this := RepositoryTokenRefreshResponse{} + var limitBandwidthUnit string = "Byte" + this.LimitBandwidthUnit = *NewNullableString(&limitBandwidthUnit) + var scheduledResetPeriod string = "Never Reset" + this.ScheduledResetPeriod = *NewNullableString(&scheduledResetPeriod) + return &this +} + +// GetClients returns the Clients field value if set, zero value otherwise. +func (o *RepositoryTokenRefreshResponse) GetClients() int64 { + if o == nil || isNil(o.Clients) { + var ret int64 + return ret + } + return *o.Clients +} + +// GetClientsOk returns a tuple with the Clients field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *RepositoryTokenRefreshResponse) GetClientsOk() (*int64, bool) { + if o == nil || isNil(o.Clients) { + return nil, false + } + return o.Clients, true +} + +// HasClients returns a boolean if a field has been set. +func (o *RepositoryTokenRefreshResponse) HasClients() bool { + if o != nil && !isNil(o.Clients) { + return true + } + + return false +} + +// SetClients gets a reference to the given int64 and assigns it to the Clients field. +func (o *RepositoryTokenRefreshResponse) SetClients(v int64) { + o.Clients = &v +} + +// GetCreatedAt returns the CreatedAt field value if set, zero value otherwise. +func (o *RepositoryTokenRefreshResponse) GetCreatedAt() time.Time { + if o == nil || isNil(o.CreatedAt) { + var ret time.Time + return ret + } + return *o.CreatedAt +} + +// GetCreatedAtOk returns a tuple with the CreatedAt field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *RepositoryTokenRefreshResponse) GetCreatedAtOk() (*time.Time, bool) { + if o == nil || isNil(o.CreatedAt) { + return nil, false + } + return o.CreatedAt, true +} + +// HasCreatedAt returns a boolean if a field has been set. +func (o *RepositoryTokenRefreshResponse) HasCreatedAt() bool { + if o != nil && !isNil(o.CreatedAt) { + return true + } + + return false +} + +// SetCreatedAt gets a reference to the given time.Time and assigns it to the CreatedAt field. +func (o *RepositoryTokenRefreshResponse) SetCreatedAt(v time.Time) { + o.CreatedAt = &v +} + +// GetCreatedBy returns the CreatedBy field value if set, zero value otherwise. +func (o *RepositoryTokenRefreshResponse) GetCreatedBy() string { + if o == nil || isNil(o.CreatedBy) { + var ret string + return ret + } + return *o.CreatedBy +} + +// GetCreatedByOk returns a tuple with the CreatedBy field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *RepositoryTokenRefreshResponse) GetCreatedByOk() (*string, bool) { + if o == nil || isNil(o.CreatedBy) { + return nil, false + } + return o.CreatedBy, true +} + +// HasCreatedBy returns a boolean if a field has been set. +func (o *RepositoryTokenRefreshResponse) HasCreatedBy() bool { + if o != nil && !isNil(o.CreatedBy) { + return true + } + + return false +} + +// SetCreatedBy gets a reference to the given string and assigns it to the CreatedBy field. +func (o *RepositoryTokenRefreshResponse) SetCreatedBy(v string) { + o.CreatedBy = &v +} + +// GetCreatedByUrl returns the CreatedByUrl field value if set, zero value otherwise. +func (o *RepositoryTokenRefreshResponse) GetCreatedByUrl() string { + if o == nil || isNil(o.CreatedByUrl) { + var ret string + return ret + } + return *o.CreatedByUrl +} + +// GetCreatedByUrlOk returns a tuple with the CreatedByUrl field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *RepositoryTokenRefreshResponse) GetCreatedByUrlOk() (*string, bool) { + if o == nil || isNil(o.CreatedByUrl) { + return nil, false + } + return o.CreatedByUrl, true +} + +// HasCreatedByUrl returns a boolean if a field has been set. +func (o *RepositoryTokenRefreshResponse) HasCreatedByUrl() bool { + if o != nil && !isNil(o.CreatedByUrl) { + return true + } + + return false +} + +// SetCreatedByUrl gets a reference to the given string and assigns it to the CreatedByUrl field. +func (o *RepositoryTokenRefreshResponse) SetCreatedByUrl(v string) { + o.CreatedByUrl = &v +} + +// GetDefault returns the Default field value if set, zero value otherwise. +func (o *RepositoryTokenRefreshResponse) GetDefault() bool { + if o == nil || isNil(o.Default) { + var ret bool + return ret + } + return *o.Default +} + +// GetDefaultOk returns a tuple with the Default field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *RepositoryTokenRefreshResponse) GetDefaultOk() (*bool, bool) { + if o == nil || isNil(o.Default) { + return nil, false + } + return o.Default, true +} + +// HasDefault returns a boolean if a field has been set. +func (o *RepositoryTokenRefreshResponse) HasDefault() bool { + if o != nil && !isNil(o.Default) { + return true + } + + return false +} + +// SetDefault gets a reference to the given bool and assigns it to the Default field. +func (o *RepositoryTokenRefreshResponse) SetDefault(v bool) { + o.Default = &v +} + +// GetDisableUrl returns the DisableUrl field value if set, zero value otherwise. +func (o *RepositoryTokenRefreshResponse) GetDisableUrl() string { + if o == nil || isNil(o.DisableUrl) { + var ret string + return ret + } + return *o.DisableUrl +} + +// GetDisableUrlOk returns a tuple with the DisableUrl field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *RepositoryTokenRefreshResponse) GetDisableUrlOk() (*string, bool) { + if o == nil || isNil(o.DisableUrl) { + return nil, false + } + return o.DisableUrl, true +} + +// HasDisableUrl returns a boolean if a field has been set. +func (o *RepositoryTokenRefreshResponse) HasDisableUrl() bool { + if o != nil && !isNil(o.DisableUrl) { + return true + } + + return false +} + +// SetDisableUrl gets a reference to the given string and assigns it to the DisableUrl field. +func (o *RepositoryTokenRefreshResponse) SetDisableUrl(v string) { + o.DisableUrl = &v +} + +// GetDownloads returns the Downloads field value if set, zero value otherwise. +func (o *RepositoryTokenRefreshResponse) GetDownloads() int64 { + if o == nil || isNil(o.Downloads) { + var ret int64 + return ret + } + return *o.Downloads +} + +// GetDownloadsOk returns a tuple with the Downloads field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *RepositoryTokenRefreshResponse) GetDownloadsOk() (*int64, bool) { + if o == nil || isNil(o.Downloads) { + return nil, false + } + return o.Downloads, true +} + +// HasDownloads returns a boolean if a field has been set. +func (o *RepositoryTokenRefreshResponse) HasDownloads() bool { + if o != nil && !isNil(o.Downloads) { + return true + } + + return false +} + +// SetDownloads gets a reference to the given int64 and assigns it to the Downloads field. +func (o *RepositoryTokenRefreshResponse) SetDownloads(v int64) { + o.Downloads = &v +} + +// GetEnableUrl returns the EnableUrl field value if set, zero value otherwise. +func (o *RepositoryTokenRefreshResponse) GetEnableUrl() string { + if o == nil || isNil(o.EnableUrl) { + var ret string + return ret + } + return *o.EnableUrl +} + +// GetEnableUrlOk returns a tuple with the EnableUrl field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *RepositoryTokenRefreshResponse) GetEnableUrlOk() (*string, bool) { + if o == nil || isNil(o.EnableUrl) { + return nil, false + } + return o.EnableUrl, true +} + +// HasEnableUrl returns a boolean if a field has been set. +func (o *RepositoryTokenRefreshResponse) HasEnableUrl() bool { + if o != nil && !isNil(o.EnableUrl) { + return true + } + + return false +} + +// SetEnableUrl gets a reference to the given string and assigns it to the EnableUrl field. +func (o *RepositoryTokenRefreshResponse) SetEnableUrl(v string) { + o.EnableUrl = &v +} + +// GetEulaAccepted returns the EulaAccepted field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *RepositoryTokenRefreshResponse) GetEulaAccepted() Eula { + if o == nil || isNil(o.EulaAccepted.Get()) { + var ret Eula + return ret + } + return *o.EulaAccepted.Get() +} + +// GetEulaAcceptedOk returns a tuple with the EulaAccepted 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 *RepositoryTokenRefreshResponse) GetEulaAcceptedOk() (*Eula, bool) { + if o == nil { + return nil, false + } + return o.EulaAccepted.Get(), o.EulaAccepted.IsSet() +} + +// HasEulaAccepted returns a boolean if a field has been set. +func (o *RepositoryTokenRefreshResponse) HasEulaAccepted() bool { + if o != nil && o.EulaAccepted.IsSet() { + return true + } + + return false +} + +// SetEulaAccepted gets a reference to the given NullableEula and assigns it to the EulaAccepted field. +func (o *RepositoryTokenRefreshResponse) SetEulaAccepted(v Eula) { + o.EulaAccepted.Set(&v) +} + +// SetEulaAcceptedNil sets the value for EulaAccepted to be an explicit nil +func (o *RepositoryTokenRefreshResponse) SetEulaAcceptedNil() { + o.EulaAccepted.Set(nil) +} + +// UnsetEulaAccepted ensures that no value is present for EulaAccepted, not even an explicit nil +func (o *RepositoryTokenRefreshResponse) UnsetEulaAccepted() { + o.EulaAccepted.Unset() +} + +// GetEulaAcceptedAt returns the EulaAcceptedAt field value if set, zero value otherwise. +func (o *RepositoryTokenRefreshResponse) GetEulaAcceptedAt() time.Time { + if o == nil || isNil(o.EulaAcceptedAt) { + var ret time.Time + return ret + } + return *o.EulaAcceptedAt +} + +// GetEulaAcceptedAtOk returns a tuple with the EulaAcceptedAt field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *RepositoryTokenRefreshResponse) GetEulaAcceptedAtOk() (*time.Time, bool) { + if o == nil || isNil(o.EulaAcceptedAt) { + return nil, false + } + return o.EulaAcceptedAt, true +} + +// HasEulaAcceptedAt returns a boolean if a field has been set. +func (o *RepositoryTokenRefreshResponse) HasEulaAcceptedAt() bool { + if o != nil && !isNil(o.EulaAcceptedAt) { + return true + } + + return false +} + +// SetEulaAcceptedAt gets a reference to the given time.Time and assigns it to the EulaAcceptedAt field. +func (o *RepositoryTokenRefreshResponse) SetEulaAcceptedAt(v time.Time) { + o.EulaAcceptedAt = &v +} + +// GetEulaAcceptedFrom returns the EulaAcceptedFrom field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *RepositoryTokenRefreshResponse) GetEulaAcceptedFrom() string { + if o == nil || isNil(o.EulaAcceptedFrom.Get()) { + var ret string + return ret + } + return *o.EulaAcceptedFrom.Get() +} + +// GetEulaAcceptedFromOk returns a tuple with the EulaAcceptedFrom 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 *RepositoryTokenRefreshResponse) GetEulaAcceptedFromOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.EulaAcceptedFrom.Get(), o.EulaAcceptedFrom.IsSet() +} + +// HasEulaAcceptedFrom returns a boolean if a field has been set. +func (o *RepositoryTokenRefreshResponse) HasEulaAcceptedFrom() bool { + if o != nil && o.EulaAcceptedFrom.IsSet() { + return true + } + + return false +} + +// SetEulaAcceptedFrom gets a reference to the given NullableString and assigns it to the EulaAcceptedFrom field. +func (o *RepositoryTokenRefreshResponse) SetEulaAcceptedFrom(v string) { + o.EulaAcceptedFrom.Set(&v) +} + +// SetEulaAcceptedFromNil sets the value for EulaAcceptedFrom to be an explicit nil +func (o *RepositoryTokenRefreshResponse) SetEulaAcceptedFromNil() { + o.EulaAcceptedFrom.Set(nil) +} + +// UnsetEulaAcceptedFrom ensures that no value is present for EulaAcceptedFrom, not even an explicit nil +func (o *RepositoryTokenRefreshResponse) UnsetEulaAcceptedFrom() { + o.EulaAcceptedFrom.Unset() +} + +// GetEulaRequired returns the EulaRequired field value if set, zero value otherwise. +func (o *RepositoryTokenRefreshResponse) GetEulaRequired() bool { + if o == nil || isNil(o.EulaRequired) { + var ret bool + return ret + } + return *o.EulaRequired +} + +// GetEulaRequiredOk returns a tuple with the EulaRequired field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *RepositoryTokenRefreshResponse) GetEulaRequiredOk() (*bool, bool) { + if o == nil || isNil(o.EulaRequired) { + return nil, false + } + return o.EulaRequired, true +} + +// HasEulaRequired returns a boolean if a field has been set. +func (o *RepositoryTokenRefreshResponse) HasEulaRequired() bool { + if o != nil && !isNil(o.EulaRequired) { + return true + } + + return false +} + +// SetEulaRequired gets a reference to the given bool and assigns it to the EulaRequired field. +func (o *RepositoryTokenRefreshResponse) SetEulaRequired(v bool) { + o.EulaRequired = &v +} + +// GetHasLimits returns the HasLimits field value if set, zero value otherwise. +func (o *RepositoryTokenRefreshResponse) GetHasLimits() bool { + if o == nil || isNil(o.HasLimits) { + var ret bool + return ret + } + return *o.HasLimits +} + +// GetHasLimitsOk returns a tuple with the HasLimits field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *RepositoryTokenRefreshResponse) GetHasLimitsOk() (*bool, bool) { + if o == nil || isNil(o.HasLimits) { + return nil, false + } + return o.HasLimits, true +} + +// HasHasLimits returns a boolean if a field has been set. +func (o *RepositoryTokenRefreshResponse) HasHasLimits() bool { + if o != nil && !isNil(o.HasLimits) { + return true + } + + return false +} + +// SetHasLimits gets a reference to the given bool and assigns it to the HasLimits field. +func (o *RepositoryTokenRefreshResponse) SetHasLimits(v bool) { + o.HasLimits = &v +} + +// GetIdentifier returns the Identifier field value if set, zero value otherwise. +func (o *RepositoryTokenRefreshResponse) GetIdentifier() int64 { + if o == nil || isNil(o.Identifier) { + var ret int64 + return ret + } + return *o.Identifier +} + +// GetIdentifierOk returns a tuple with the Identifier field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *RepositoryTokenRefreshResponse) GetIdentifierOk() (*int64, bool) { + if o == nil || isNil(o.Identifier) { + return nil, false + } + return o.Identifier, true +} + +// HasIdentifier returns a boolean if a field has been set. +func (o *RepositoryTokenRefreshResponse) HasIdentifier() bool { + if o != nil && !isNil(o.Identifier) { + return true + } + + return false +} + +// SetIdentifier gets a reference to the given int64 and assigns it to the Identifier field. +func (o *RepositoryTokenRefreshResponse) SetIdentifier(v int64) { + o.Identifier = &v +} + +// GetIsActive returns the IsActive field value if set, zero value otherwise. +func (o *RepositoryTokenRefreshResponse) GetIsActive() bool { + if o == nil || isNil(o.IsActive) { + var ret bool + return ret + } + return *o.IsActive +} + +// GetIsActiveOk returns a tuple with the IsActive field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *RepositoryTokenRefreshResponse) GetIsActiveOk() (*bool, bool) { + if o == nil || isNil(o.IsActive) { + return nil, false + } + return o.IsActive, true +} + +// HasIsActive returns a boolean if a field has been set. +func (o *RepositoryTokenRefreshResponse) HasIsActive() bool { + if o != nil && !isNil(o.IsActive) { + return true + } + + return false +} + +// SetIsActive gets a reference to the given bool and assigns it to the IsActive field. +func (o *RepositoryTokenRefreshResponse) SetIsActive(v bool) { + o.IsActive = &v +} + +// GetIsLimited returns the IsLimited field value if set, zero value otherwise. +func (o *RepositoryTokenRefreshResponse) GetIsLimited() bool { + if o == nil || isNil(o.IsLimited) { + var ret bool + return ret + } + return *o.IsLimited +} + +// GetIsLimitedOk returns a tuple with the IsLimited field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *RepositoryTokenRefreshResponse) GetIsLimitedOk() (*bool, bool) { + if o == nil || isNil(o.IsLimited) { + return nil, false + } + return o.IsLimited, true +} + +// HasIsLimited returns a boolean if a field has been set. +func (o *RepositoryTokenRefreshResponse) HasIsLimited() bool { + if o != nil && !isNil(o.IsLimited) { + return true + } + + return false +} + +// SetIsLimited gets a reference to the given bool and assigns it to the IsLimited field. +func (o *RepositoryTokenRefreshResponse) SetIsLimited(v bool) { + o.IsLimited = &v +} + +// GetLimitBandwidth returns the LimitBandwidth field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *RepositoryTokenRefreshResponse) GetLimitBandwidth() int64 { + if o == nil || isNil(o.LimitBandwidth.Get()) { + var ret int64 + return ret + } + return *o.LimitBandwidth.Get() +} + +// GetLimitBandwidthOk returns a tuple with the LimitBandwidth 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 *RepositoryTokenRefreshResponse) GetLimitBandwidthOk() (*int64, bool) { + if o == nil { + return nil, false + } + return o.LimitBandwidth.Get(), o.LimitBandwidth.IsSet() +} + +// HasLimitBandwidth returns a boolean if a field has been set. +func (o *RepositoryTokenRefreshResponse) HasLimitBandwidth() bool { + if o != nil && o.LimitBandwidth.IsSet() { + return true + } + + return false +} + +// SetLimitBandwidth gets a reference to the given NullableInt64 and assigns it to the LimitBandwidth field. +func (o *RepositoryTokenRefreshResponse) SetLimitBandwidth(v int64) { + o.LimitBandwidth.Set(&v) +} + +// SetLimitBandwidthNil sets the value for LimitBandwidth to be an explicit nil +func (o *RepositoryTokenRefreshResponse) SetLimitBandwidthNil() { + o.LimitBandwidth.Set(nil) +} + +// UnsetLimitBandwidth ensures that no value is present for LimitBandwidth, not even an explicit nil +func (o *RepositoryTokenRefreshResponse) UnsetLimitBandwidth() { + o.LimitBandwidth.Unset() +} + +// GetLimitBandwidthUnit returns the LimitBandwidthUnit field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *RepositoryTokenRefreshResponse) GetLimitBandwidthUnit() string { + if o == nil || isNil(o.LimitBandwidthUnit.Get()) { + var ret string + return ret + } + return *o.LimitBandwidthUnit.Get() +} + +// GetLimitBandwidthUnitOk returns a tuple with the LimitBandwidthUnit 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 *RepositoryTokenRefreshResponse) GetLimitBandwidthUnitOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.LimitBandwidthUnit.Get(), o.LimitBandwidthUnit.IsSet() +} + +// HasLimitBandwidthUnit returns a boolean if a field has been set. +func (o *RepositoryTokenRefreshResponse) HasLimitBandwidthUnit() bool { + if o != nil && o.LimitBandwidthUnit.IsSet() { + return true + } + + return false +} + +// SetLimitBandwidthUnit gets a reference to the given NullableString and assigns it to the LimitBandwidthUnit field. +func (o *RepositoryTokenRefreshResponse) SetLimitBandwidthUnit(v string) { + o.LimitBandwidthUnit.Set(&v) +} + +// SetLimitBandwidthUnitNil sets the value for LimitBandwidthUnit to be an explicit nil +func (o *RepositoryTokenRefreshResponse) SetLimitBandwidthUnitNil() { + o.LimitBandwidthUnit.Set(nil) +} + +// UnsetLimitBandwidthUnit ensures that no value is present for LimitBandwidthUnit, not even an explicit nil +func (o *RepositoryTokenRefreshResponse) UnsetLimitBandwidthUnit() { + o.LimitBandwidthUnit.Unset() +} + +// GetLimitDateRangeFrom returns the LimitDateRangeFrom field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *RepositoryTokenRefreshResponse) GetLimitDateRangeFrom() time.Time { + if o == nil || isNil(o.LimitDateRangeFrom.Get()) { + var ret time.Time + return ret + } + return *o.LimitDateRangeFrom.Get() +} + +// GetLimitDateRangeFromOk returns a tuple with the LimitDateRangeFrom 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 *RepositoryTokenRefreshResponse) GetLimitDateRangeFromOk() (*time.Time, bool) { + if o == nil { + return nil, false + } + return o.LimitDateRangeFrom.Get(), o.LimitDateRangeFrom.IsSet() +} + +// HasLimitDateRangeFrom returns a boolean if a field has been set. +func (o *RepositoryTokenRefreshResponse) HasLimitDateRangeFrom() bool { + if o != nil && o.LimitDateRangeFrom.IsSet() { + return true + } + + return false +} + +// SetLimitDateRangeFrom gets a reference to the given NullableTime and assigns it to the LimitDateRangeFrom field. +func (o *RepositoryTokenRefreshResponse) SetLimitDateRangeFrom(v time.Time) { + o.LimitDateRangeFrom.Set(&v) +} + +// SetLimitDateRangeFromNil sets the value for LimitDateRangeFrom to be an explicit nil +func (o *RepositoryTokenRefreshResponse) SetLimitDateRangeFromNil() { + o.LimitDateRangeFrom.Set(nil) +} + +// UnsetLimitDateRangeFrom ensures that no value is present for LimitDateRangeFrom, not even an explicit nil +func (o *RepositoryTokenRefreshResponse) UnsetLimitDateRangeFrom() { + o.LimitDateRangeFrom.Unset() +} + +// GetLimitDateRangeTo returns the LimitDateRangeTo field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *RepositoryTokenRefreshResponse) GetLimitDateRangeTo() time.Time { + if o == nil || isNil(o.LimitDateRangeTo.Get()) { + var ret time.Time + return ret + } + return *o.LimitDateRangeTo.Get() +} + +// GetLimitDateRangeToOk returns a tuple with the LimitDateRangeTo 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 *RepositoryTokenRefreshResponse) GetLimitDateRangeToOk() (*time.Time, bool) { + if o == nil { + return nil, false + } + return o.LimitDateRangeTo.Get(), o.LimitDateRangeTo.IsSet() +} + +// HasLimitDateRangeTo returns a boolean if a field has been set. +func (o *RepositoryTokenRefreshResponse) HasLimitDateRangeTo() bool { + if o != nil && o.LimitDateRangeTo.IsSet() { + return true + } + + return false +} + +// SetLimitDateRangeTo gets a reference to the given NullableTime and assigns it to the LimitDateRangeTo field. +func (o *RepositoryTokenRefreshResponse) SetLimitDateRangeTo(v time.Time) { + o.LimitDateRangeTo.Set(&v) +} + +// SetLimitDateRangeToNil sets the value for LimitDateRangeTo to be an explicit nil +func (o *RepositoryTokenRefreshResponse) SetLimitDateRangeToNil() { + o.LimitDateRangeTo.Set(nil) +} + +// UnsetLimitDateRangeTo ensures that no value is present for LimitDateRangeTo, not even an explicit nil +func (o *RepositoryTokenRefreshResponse) UnsetLimitDateRangeTo() { + o.LimitDateRangeTo.Unset() +} + +// GetLimitNumClients returns the LimitNumClients field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *RepositoryTokenRefreshResponse) GetLimitNumClients() int64 { + if o == nil || isNil(o.LimitNumClients.Get()) { + var ret int64 + return ret + } + return *o.LimitNumClients.Get() +} + +// GetLimitNumClientsOk returns a tuple with the LimitNumClients 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 *RepositoryTokenRefreshResponse) GetLimitNumClientsOk() (*int64, bool) { + if o == nil { + return nil, false + } + return o.LimitNumClients.Get(), o.LimitNumClients.IsSet() +} + +// HasLimitNumClients returns a boolean if a field has been set. +func (o *RepositoryTokenRefreshResponse) HasLimitNumClients() bool { + if o != nil && o.LimitNumClients.IsSet() { + return true + } + + return false +} + +// SetLimitNumClients gets a reference to the given NullableInt64 and assigns it to the LimitNumClients field. +func (o *RepositoryTokenRefreshResponse) SetLimitNumClients(v int64) { + o.LimitNumClients.Set(&v) +} + +// SetLimitNumClientsNil sets the value for LimitNumClients to be an explicit nil +func (o *RepositoryTokenRefreshResponse) SetLimitNumClientsNil() { + o.LimitNumClients.Set(nil) +} + +// UnsetLimitNumClients ensures that no value is present for LimitNumClients, not even an explicit nil +func (o *RepositoryTokenRefreshResponse) UnsetLimitNumClients() { + o.LimitNumClients.Unset() +} + +// GetLimitNumDownloads returns the LimitNumDownloads field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *RepositoryTokenRefreshResponse) GetLimitNumDownloads() int64 { + if o == nil || isNil(o.LimitNumDownloads.Get()) { + var ret int64 + return ret + } + return *o.LimitNumDownloads.Get() +} + +// GetLimitNumDownloadsOk returns a tuple with the LimitNumDownloads 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 *RepositoryTokenRefreshResponse) GetLimitNumDownloadsOk() (*int64, bool) { + if o == nil { + return nil, false + } + return o.LimitNumDownloads.Get(), o.LimitNumDownloads.IsSet() +} + +// HasLimitNumDownloads returns a boolean if a field has been set. +func (o *RepositoryTokenRefreshResponse) HasLimitNumDownloads() bool { + if o != nil && o.LimitNumDownloads.IsSet() { + return true + } + + return false +} + +// SetLimitNumDownloads gets a reference to the given NullableInt64 and assigns it to the LimitNumDownloads field. +func (o *RepositoryTokenRefreshResponse) SetLimitNumDownloads(v int64) { + o.LimitNumDownloads.Set(&v) +} + +// SetLimitNumDownloadsNil sets the value for LimitNumDownloads to be an explicit nil +func (o *RepositoryTokenRefreshResponse) SetLimitNumDownloadsNil() { + o.LimitNumDownloads.Set(nil) +} + +// UnsetLimitNumDownloads ensures that no value is present for LimitNumDownloads, not even an explicit nil +func (o *RepositoryTokenRefreshResponse) UnsetLimitNumDownloads() { + o.LimitNumDownloads.Unset() +} + +// GetLimitPackageQuery returns the LimitPackageQuery field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *RepositoryTokenRefreshResponse) GetLimitPackageQuery() string { + if o == nil || isNil(o.LimitPackageQuery.Get()) { + var ret string + return ret + } + return *o.LimitPackageQuery.Get() +} + +// GetLimitPackageQueryOk returns a tuple with the LimitPackageQuery 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 *RepositoryTokenRefreshResponse) GetLimitPackageQueryOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.LimitPackageQuery.Get(), o.LimitPackageQuery.IsSet() +} + +// HasLimitPackageQuery returns a boolean if a field has been set. +func (o *RepositoryTokenRefreshResponse) HasLimitPackageQuery() bool { + if o != nil && o.LimitPackageQuery.IsSet() { + return true + } + + return false +} + +// SetLimitPackageQuery gets a reference to the given NullableString and assigns it to the LimitPackageQuery field. +func (o *RepositoryTokenRefreshResponse) SetLimitPackageQuery(v string) { + o.LimitPackageQuery.Set(&v) +} + +// SetLimitPackageQueryNil sets the value for LimitPackageQuery to be an explicit nil +func (o *RepositoryTokenRefreshResponse) SetLimitPackageQueryNil() { + o.LimitPackageQuery.Set(nil) +} + +// UnsetLimitPackageQuery ensures that no value is present for LimitPackageQuery, not even an explicit nil +func (o *RepositoryTokenRefreshResponse) UnsetLimitPackageQuery() { + o.LimitPackageQuery.Unset() +} + +// GetLimitPathQuery returns the LimitPathQuery field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *RepositoryTokenRefreshResponse) GetLimitPathQuery() string { + if o == nil || isNil(o.LimitPathQuery.Get()) { + var ret string + return ret + } + return *o.LimitPathQuery.Get() +} + +// GetLimitPathQueryOk returns a tuple with the LimitPathQuery 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 *RepositoryTokenRefreshResponse) GetLimitPathQueryOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.LimitPathQuery.Get(), o.LimitPathQuery.IsSet() +} + +// HasLimitPathQuery returns a boolean if a field has been set. +func (o *RepositoryTokenRefreshResponse) HasLimitPathQuery() bool { + if o != nil && o.LimitPathQuery.IsSet() { + return true + } + + return false +} + +// SetLimitPathQuery gets a reference to the given NullableString and assigns it to the LimitPathQuery field. +func (o *RepositoryTokenRefreshResponse) SetLimitPathQuery(v string) { + o.LimitPathQuery.Set(&v) +} + +// SetLimitPathQueryNil sets the value for LimitPathQuery to be an explicit nil +func (o *RepositoryTokenRefreshResponse) SetLimitPathQueryNil() { + o.LimitPathQuery.Set(nil) +} + +// UnsetLimitPathQuery ensures that no value is present for LimitPathQuery, not even an explicit nil +func (o *RepositoryTokenRefreshResponse) UnsetLimitPathQuery() { + o.LimitPathQuery.Unset() +} + +// GetMetadata returns the Metadata field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *RepositoryTokenRefreshResponse) GetMetadata() map[string]interface{} { + if o == nil { + var ret map[string]interface{} + return ret + } + return o.Metadata +} + +// GetMetadataOk returns a tuple with the Metadata 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 *RepositoryTokenRefreshResponse) GetMetadataOk() (map[string]interface{}, bool) { + if o == nil || isNil(o.Metadata) { + return map[string]interface{}{}, false + } + return o.Metadata, true +} + +// HasMetadata returns a boolean if a field has been set. +func (o *RepositoryTokenRefreshResponse) HasMetadata() bool { + if o != nil && isNil(o.Metadata) { + return true + } + + return false +} + +// SetMetadata gets a reference to the given map[string]interface{} and assigns it to the Metadata field. +func (o *RepositoryTokenRefreshResponse) SetMetadata(v map[string]interface{}) { + o.Metadata = v +} + +// GetName returns the Name field value if set, zero value otherwise. +func (o *RepositoryTokenRefreshResponse) GetName() string { + if o == nil || isNil(o.Name) { + var ret string + return ret + } + return *o.Name +} + +// GetNameOk returns a tuple with the Name field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *RepositoryTokenRefreshResponse) GetNameOk() (*string, bool) { + if o == nil || isNil(o.Name) { + return nil, false + } + return o.Name, true +} + +// HasName returns a boolean if a field has been set. +func (o *RepositoryTokenRefreshResponse) HasName() bool { + if o != nil && !isNil(o.Name) { + return true + } + + return false +} + +// SetName gets a reference to the given string and assigns it to the Name field. +func (o *RepositoryTokenRefreshResponse) SetName(v string) { + o.Name = &v +} + +// GetRefreshUrl returns the RefreshUrl field value if set, zero value otherwise. +func (o *RepositoryTokenRefreshResponse) GetRefreshUrl() string { + if o == nil || isNil(o.RefreshUrl) { + var ret string + return ret + } + return *o.RefreshUrl +} + +// GetRefreshUrlOk returns a tuple with the RefreshUrl field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *RepositoryTokenRefreshResponse) GetRefreshUrlOk() (*string, bool) { + if o == nil || isNil(o.RefreshUrl) { + return nil, false + } + return o.RefreshUrl, true +} + +// HasRefreshUrl returns a boolean if a field has been set. +func (o *RepositoryTokenRefreshResponse) HasRefreshUrl() bool { + if o != nil && !isNil(o.RefreshUrl) { + return true + } + + return false +} + +// SetRefreshUrl gets a reference to the given string and assigns it to the RefreshUrl field. +func (o *RepositoryTokenRefreshResponse) SetRefreshUrl(v string) { + o.RefreshUrl = &v +} + +// GetResetUrl returns the ResetUrl field value if set, zero value otherwise. +func (o *RepositoryTokenRefreshResponse) GetResetUrl() string { + if o == nil || isNil(o.ResetUrl) { + var ret string + return ret + } + return *o.ResetUrl +} + +// GetResetUrlOk returns a tuple with the ResetUrl field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *RepositoryTokenRefreshResponse) GetResetUrlOk() (*string, bool) { + if o == nil || isNil(o.ResetUrl) { + return nil, false + } + return o.ResetUrl, true +} + +// HasResetUrl returns a boolean if a field has been set. +func (o *RepositoryTokenRefreshResponse) HasResetUrl() bool { + if o != nil && !isNil(o.ResetUrl) { + return true + } + + return false +} + +// SetResetUrl gets a reference to the given string and assigns it to the ResetUrl field. +func (o *RepositoryTokenRefreshResponse) SetResetUrl(v string) { + o.ResetUrl = &v +} + +// GetScheduledResetAt returns the ScheduledResetAt field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *RepositoryTokenRefreshResponse) GetScheduledResetAt() time.Time { + if o == nil || isNil(o.ScheduledResetAt.Get()) { + var ret time.Time + return ret + } + return *o.ScheduledResetAt.Get() +} + +// GetScheduledResetAtOk returns a tuple with the ScheduledResetAt 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 *RepositoryTokenRefreshResponse) GetScheduledResetAtOk() (*time.Time, bool) { + if o == nil { + return nil, false + } + return o.ScheduledResetAt.Get(), o.ScheduledResetAt.IsSet() +} + +// HasScheduledResetAt returns a boolean if a field has been set. +func (o *RepositoryTokenRefreshResponse) HasScheduledResetAt() bool { + if o != nil && o.ScheduledResetAt.IsSet() { + return true + } + + return false +} + +// SetScheduledResetAt gets a reference to the given NullableTime and assigns it to the ScheduledResetAt field. +func (o *RepositoryTokenRefreshResponse) SetScheduledResetAt(v time.Time) { + o.ScheduledResetAt.Set(&v) +} + +// SetScheduledResetAtNil sets the value for ScheduledResetAt to be an explicit nil +func (o *RepositoryTokenRefreshResponse) SetScheduledResetAtNil() { + o.ScheduledResetAt.Set(nil) +} + +// UnsetScheduledResetAt ensures that no value is present for ScheduledResetAt, not even an explicit nil +func (o *RepositoryTokenRefreshResponse) UnsetScheduledResetAt() { + o.ScheduledResetAt.Unset() +} + +// GetScheduledResetPeriod returns the ScheduledResetPeriod field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *RepositoryTokenRefreshResponse) GetScheduledResetPeriod() string { + if o == nil || isNil(o.ScheduledResetPeriod.Get()) { + var ret string + return ret + } + return *o.ScheduledResetPeriod.Get() +} + +// GetScheduledResetPeriodOk returns a tuple with the ScheduledResetPeriod 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 *RepositoryTokenRefreshResponse) GetScheduledResetPeriodOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.ScheduledResetPeriod.Get(), o.ScheduledResetPeriod.IsSet() +} + +// HasScheduledResetPeriod returns a boolean if a field has been set. +func (o *RepositoryTokenRefreshResponse) HasScheduledResetPeriod() bool { + if o != nil && o.ScheduledResetPeriod.IsSet() { + return true + } + + return false +} + +// SetScheduledResetPeriod gets a reference to the given NullableString and assigns it to the ScheduledResetPeriod field. +func (o *RepositoryTokenRefreshResponse) SetScheduledResetPeriod(v string) { + o.ScheduledResetPeriod.Set(&v) +} + +// SetScheduledResetPeriodNil sets the value for ScheduledResetPeriod to be an explicit nil +func (o *RepositoryTokenRefreshResponse) SetScheduledResetPeriodNil() { + o.ScheduledResetPeriod.Set(nil) +} + +// UnsetScheduledResetPeriod ensures that no value is present for ScheduledResetPeriod, not even an explicit nil +func (o *RepositoryTokenRefreshResponse) UnsetScheduledResetPeriod() { + o.ScheduledResetPeriod.Unset() +} + +// GetSelfUrl returns the SelfUrl field value if set, zero value otherwise. +func (o *RepositoryTokenRefreshResponse) GetSelfUrl() string { + if o == nil || isNil(o.SelfUrl) { + var ret string + return ret + } + return *o.SelfUrl +} + +// GetSelfUrlOk returns a tuple with the SelfUrl field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *RepositoryTokenRefreshResponse) GetSelfUrlOk() (*string, bool) { + if o == nil || isNil(o.SelfUrl) { + return nil, false + } + return o.SelfUrl, true +} + +// HasSelfUrl returns a boolean if a field has been set. +func (o *RepositoryTokenRefreshResponse) HasSelfUrl() bool { + if o != nil && !isNil(o.SelfUrl) { + return true + } + + return false +} + +// SetSelfUrl gets a reference to the given string and assigns it to the SelfUrl field. +func (o *RepositoryTokenRefreshResponse) SetSelfUrl(v string) { + o.SelfUrl = &v +} + +// GetSlugPerm returns the SlugPerm field value if set, zero value otherwise. +func (o *RepositoryTokenRefreshResponse) GetSlugPerm() string { + if o == nil || isNil(o.SlugPerm) { + var ret string + return ret + } + return *o.SlugPerm +} + +// GetSlugPermOk returns a tuple with the SlugPerm field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *RepositoryTokenRefreshResponse) GetSlugPermOk() (*string, bool) { + if o == nil || isNil(o.SlugPerm) { + return nil, false + } + return o.SlugPerm, true +} + +// HasSlugPerm returns a boolean if a field has been set. +func (o *RepositoryTokenRefreshResponse) HasSlugPerm() bool { + if o != nil && !isNil(o.SlugPerm) { + return true + } + + return false +} + +// SetSlugPerm gets a reference to the given string and assigns it to the SlugPerm field. +func (o *RepositoryTokenRefreshResponse) SetSlugPerm(v string) { + o.SlugPerm = &v +} + +// GetToken returns the Token field value if set, zero value otherwise. +func (o *RepositoryTokenRefreshResponse) GetToken() string { + if o == nil || isNil(o.Token) { + var ret string + return ret + } + return *o.Token +} + +// GetTokenOk returns a tuple with the Token field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *RepositoryTokenRefreshResponse) GetTokenOk() (*string, bool) { + if o == nil || isNil(o.Token) { + return nil, false + } + return o.Token, true +} + +// HasToken returns a boolean if a field has been set. +func (o *RepositoryTokenRefreshResponse) HasToken() bool { + if o != nil && !isNil(o.Token) { + return true + } + + return false +} + +// SetToken gets a reference to the given string and assigns it to the Token field. +func (o *RepositoryTokenRefreshResponse) SetToken(v string) { + o.Token = &v +} + +// GetUpdatedAt returns the UpdatedAt field value if set, zero value otherwise. +func (o *RepositoryTokenRefreshResponse) GetUpdatedAt() time.Time { + if o == nil || isNil(o.UpdatedAt) { + var ret time.Time + return ret + } + return *o.UpdatedAt +} + +// GetUpdatedAtOk returns a tuple with the UpdatedAt field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *RepositoryTokenRefreshResponse) GetUpdatedAtOk() (*time.Time, bool) { + if o == nil || isNil(o.UpdatedAt) { + return nil, false + } + return o.UpdatedAt, true +} + +// HasUpdatedAt returns a boolean if a field has been set. +func (o *RepositoryTokenRefreshResponse) HasUpdatedAt() bool { + if o != nil && !isNil(o.UpdatedAt) { + return true + } + + return false +} + +// SetUpdatedAt gets a reference to the given time.Time and assigns it to the UpdatedAt field. +func (o *RepositoryTokenRefreshResponse) SetUpdatedAt(v time.Time) { + o.UpdatedAt = &v +} + +// GetUpdatedBy returns the UpdatedBy field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *RepositoryTokenRefreshResponse) GetUpdatedBy() string { + if o == nil || isNil(o.UpdatedBy.Get()) { + var ret string + return ret + } + return *o.UpdatedBy.Get() +} + +// GetUpdatedByOk returns a tuple with the UpdatedBy 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 *RepositoryTokenRefreshResponse) GetUpdatedByOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.UpdatedBy.Get(), o.UpdatedBy.IsSet() +} + +// HasUpdatedBy returns a boolean if a field has been set. +func (o *RepositoryTokenRefreshResponse) HasUpdatedBy() bool { + if o != nil && o.UpdatedBy.IsSet() { + return true + } + + return false +} + +// SetUpdatedBy gets a reference to the given NullableString and assigns it to the UpdatedBy field. +func (o *RepositoryTokenRefreshResponse) SetUpdatedBy(v string) { + o.UpdatedBy.Set(&v) +} + +// SetUpdatedByNil sets the value for UpdatedBy to be an explicit nil +func (o *RepositoryTokenRefreshResponse) SetUpdatedByNil() { + o.UpdatedBy.Set(nil) +} + +// UnsetUpdatedBy ensures that no value is present for UpdatedBy, not even an explicit nil +func (o *RepositoryTokenRefreshResponse) UnsetUpdatedBy() { + o.UpdatedBy.Unset() +} + +// GetUpdatedByUrl returns the UpdatedByUrl field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *RepositoryTokenRefreshResponse) GetUpdatedByUrl() string { + if o == nil || isNil(o.UpdatedByUrl.Get()) { + var ret string + return ret + } + return *o.UpdatedByUrl.Get() +} + +// GetUpdatedByUrlOk returns a tuple with the UpdatedByUrl 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 *RepositoryTokenRefreshResponse) GetUpdatedByUrlOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.UpdatedByUrl.Get(), o.UpdatedByUrl.IsSet() +} + +// HasUpdatedByUrl returns a boolean if a field has been set. +func (o *RepositoryTokenRefreshResponse) HasUpdatedByUrl() bool { + if o != nil && o.UpdatedByUrl.IsSet() { + return true + } + + return false +} + +// SetUpdatedByUrl gets a reference to the given NullableString and assigns it to the UpdatedByUrl field. +func (o *RepositoryTokenRefreshResponse) SetUpdatedByUrl(v string) { + o.UpdatedByUrl.Set(&v) +} + +// SetUpdatedByUrlNil sets the value for UpdatedByUrl to be an explicit nil +func (o *RepositoryTokenRefreshResponse) SetUpdatedByUrlNil() { + o.UpdatedByUrl.Set(nil) +} + +// UnsetUpdatedByUrl ensures that no value is present for UpdatedByUrl, not even an explicit nil +func (o *RepositoryTokenRefreshResponse) UnsetUpdatedByUrl() { + o.UpdatedByUrl.Unset() +} + +// GetUsage returns the Usage field value if set, zero value otherwise. +func (o *RepositoryTokenRefreshResponse) GetUsage() string { + if o == nil || isNil(o.Usage) { + var ret string + return ret + } + return *o.Usage +} + +// GetUsageOk returns a tuple with the Usage field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *RepositoryTokenRefreshResponse) GetUsageOk() (*string, bool) { + if o == nil || isNil(o.Usage) { + return nil, false + } + return o.Usage, true +} + +// HasUsage returns a boolean if a field has been set. +func (o *RepositoryTokenRefreshResponse) HasUsage() bool { + if o != nil && !isNil(o.Usage) { + return true + } + + return false +} + +// SetUsage gets a reference to the given string and assigns it to the Usage field. +func (o *RepositoryTokenRefreshResponse) SetUsage(v string) { + o.Usage = &v +} + +// GetUser returns the User field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *RepositoryTokenRefreshResponse) GetUser() string { + if o == nil || isNil(o.User.Get()) { + var ret string + return ret + } + return *o.User.Get() +} + +// GetUserOk returns a tuple with the User 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 *RepositoryTokenRefreshResponse) GetUserOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.User.Get(), o.User.IsSet() +} + +// HasUser returns a boolean if a field has been set. +func (o *RepositoryTokenRefreshResponse) HasUser() bool { + if o != nil && o.User.IsSet() { + return true + } + + return false +} + +// SetUser gets a reference to the given NullableString and assigns it to the User field. +func (o *RepositoryTokenRefreshResponse) SetUser(v string) { + o.User.Set(&v) +} + +// SetUserNil sets the value for User to be an explicit nil +func (o *RepositoryTokenRefreshResponse) SetUserNil() { + o.User.Set(nil) +} + +// UnsetUser ensures that no value is present for User, not even an explicit nil +func (o *RepositoryTokenRefreshResponse) UnsetUser() { + o.User.Unset() +} + +// GetUserUrl returns the UserUrl field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *RepositoryTokenRefreshResponse) GetUserUrl() string { + if o == nil || isNil(o.UserUrl.Get()) { + var ret string + return ret + } + return *o.UserUrl.Get() +} + +// GetUserUrlOk returns a tuple with the UserUrl 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 *RepositoryTokenRefreshResponse) GetUserUrlOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.UserUrl.Get(), o.UserUrl.IsSet() +} + +// HasUserUrl returns a boolean if a field has been set. +func (o *RepositoryTokenRefreshResponse) HasUserUrl() bool { + if o != nil && o.UserUrl.IsSet() { + return true + } + + return false +} + +// SetUserUrl gets a reference to the given NullableString and assigns it to the UserUrl field. +func (o *RepositoryTokenRefreshResponse) SetUserUrl(v string) { + o.UserUrl.Set(&v) +} + +// SetUserUrlNil sets the value for UserUrl to be an explicit nil +func (o *RepositoryTokenRefreshResponse) SetUserUrlNil() { + o.UserUrl.Set(nil) +} + +// UnsetUserUrl ensures that no value is present for UserUrl, not even an explicit nil +func (o *RepositoryTokenRefreshResponse) UnsetUserUrl() { + o.UserUrl.Unset() +} + +func (o RepositoryTokenRefreshResponse) MarshalJSON() ([]byte, error) { + toSerialize := map[string]interface{}{} + if !isNil(o.Clients) { + toSerialize["clients"] = o.Clients + } + if !isNil(o.CreatedAt) { + toSerialize["created_at"] = o.CreatedAt + } + if !isNil(o.CreatedBy) { + toSerialize["created_by"] = o.CreatedBy + } + if !isNil(o.CreatedByUrl) { + toSerialize["created_by_url"] = o.CreatedByUrl + } + if !isNil(o.Default) { + toSerialize["default"] = o.Default + } + if !isNil(o.DisableUrl) { + toSerialize["disable_url"] = o.DisableUrl + } + if !isNil(o.Downloads) { + toSerialize["downloads"] = o.Downloads + } + if !isNil(o.EnableUrl) { + toSerialize["enable_url"] = o.EnableUrl + } + if o.EulaAccepted.IsSet() { + toSerialize["eula_accepted"] = o.EulaAccepted.Get() + } + if !isNil(o.EulaAcceptedAt) { + toSerialize["eula_accepted_at"] = o.EulaAcceptedAt + } + if o.EulaAcceptedFrom.IsSet() { + toSerialize["eula_accepted_from"] = o.EulaAcceptedFrom.Get() + } + if !isNil(o.EulaRequired) { + toSerialize["eula_required"] = o.EulaRequired + } + if !isNil(o.HasLimits) { + toSerialize["has_limits"] = o.HasLimits + } + if !isNil(o.Identifier) { + toSerialize["identifier"] = o.Identifier + } + if !isNil(o.IsActive) { + toSerialize["is_active"] = o.IsActive + } + if !isNil(o.IsLimited) { + toSerialize["is_limited"] = o.IsLimited + } + if o.LimitBandwidth.IsSet() { + toSerialize["limit_bandwidth"] = o.LimitBandwidth.Get() + } + if o.LimitBandwidthUnit.IsSet() { + toSerialize["limit_bandwidth_unit"] = o.LimitBandwidthUnit.Get() + } + if o.LimitDateRangeFrom.IsSet() { + toSerialize["limit_date_range_from"] = o.LimitDateRangeFrom.Get() + } + if o.LimitDateRangeTo.IsSet() { + toSerialize["limit_date_range_to"] = o.LimitDateRangeTo.Get() + } + if o.LimitNumClients.IsSet() { + toSerialize["limit_num_clients"] = o.LimitNumClients.Get() + } + if o.LimitNumDownloads.IsSet() { + toSerialize["limit_num_downloads"] = o.LimitNumDownloads.Get() + } + if o.LimitPackageQuery.IsSet() { + toSerialize["limit_package_query"] = o.LimitPackageQuery.Get() + } + if o.LimitPathQuery.IsSet() { + toSerialize["limit_path_query"] = o.LimitPathQuery.Get() + } + if o.Metadata != nil { + toSerialize["metadata"] = o.Metadata + } + if !isNil(o.Name) { + toSerialize["name"] = o.Name + } + if !isNil(o.RefreshUrl) { + toSerialize["refresh_url"] = o.RefreshUrl + } + if !isNil(o.ResetUrl) { + toSerialize["reset_url"] = o.ResetUrl + } + if o.ScheduledResetAt.IsSet() { + toSerialize["scheduled_reset_at"] = o.ScheduledResetAt.Get() + } + if o.ScheduledResetPeriod.IsSet() { + toSerialize["scheduled_reset_period"] = o.ScheduledResetPeriod.Get() + } + if !isNil(o.SelfUrl) { + toSerialize["self_url"] = o.SelfUrl + } + if !isNil(o.SlugPerm) { + toSerialize["slug_perm"] = o.SlugPerm + } + if !isNil(o.Token) { + toSerialize["token"] = o.Token + } + if !isNil(o.UpdatedAt) { + toSerialize["updated_at"] = o.UpdatedAt + } + if o.UpdatedBy.IsSet() { + toSerialize["updated_by"] = o.UpdatedBy.Get() + } + if o.UpdatedByUrl.IsSet() { + toSerialize["updated_by_url"] = o.UpdatedByUrl.Get() + } + if !isNil(o.Usage) { + toSerialize["usage"] = o.Usage + } + if o.User.IsSet() { + toSerialize["user"] = o.User.Get() + } + if o.UserUrl.IsSet() { + toSerialize["user_url"] = o.UserUrl.Get() + } + return json.Marshal(toSerialize) +} + +type NullableRepositoryTokenRefreshResponse struct { + value *RepositoryTokenRefreshResponse + isSet bool +} + +func (v NullableRepositoryTokenRefreshResponse) Get() *RepositoryTokenRefreshResponse { + return v.value +} + +func (v *NullableRepositoryTokenRefreshResponse) Set(val *RepositoryTokenRefreshResponse) { + v.value = val + v.isSet = true +} + +func (v NullableRepositoryTokenRefreshResponse) IsSet() bool { + return v.isSet +} + +func (v *NullableRepositoryTokenRefreshResponse) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableRepositoryTokenRefreshResponse(val *RepositoryTokenRefreshResponse) *NullableRepositoryTokenRefreshResponse { + return &NullableRepositoryTokenRefreshResponse{value: val, isSet: true} +} + +func (v NullableRepositoryTokenRefreshResponse) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableRepositoryTokenRefreshResponse) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} diff --git a/model_repository_token_request.go b/model_repository_token_request.go new file mode 100644 index 00000000..8b7a50f5 --- /dev/null +++ b/model_repository_token_request.go @@ -0,0 +1,741 @@ +/* +Cloudsmith API (v1) + +The API to the Cloudsmith Service + +API version: 1.181.6 +Contact: support@cloudsmith.io +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cloudsmith + +import ( + "encoding/json" + "time" +) + +// RepositoryTokenRequest struct for RepositoryTokenRequest +type RepositoryTokenRequest struct { + // If checked, a EULA acceptance is required for this token. + EulaRequired *bool `json:"eula_required,omitempty"` + // If enabled, the token will allow downloads based on configured restrictions (if any). + IsActive *bool `json:"is_active,omitempty"` + // The maximum download bandwidth allowed for the token. Values are expressed as the selected unit of bandwidth. Please note that since downloads are calculated asynchronously (after the download happens), the limit may not be imposed immediately but at a later point. + LimitBandwidth NullableInt64 `json:"limit_bandwidth,omitempty"` + LimitBandwidthUnit NullableString `json:"limit_bandwidth_unit,omitempty"` + // The starting date/time the token is allowed to be used from. + LimitDateRangeFrom NullableTime `json:"limit_date_range_from,omitempty"` + // The ending date/time the token is allowed to be used until. + LimitDateRangeTo NullableTime `json:"limit_date_range_to,omitempty"` + // The maximum number of unique clients allowed for the token. Please note that since clients are calculated asynchronously (after the download happens), the limit may not be imposed immediately but at a later point. + LimitNumClients NullableInt64 `json:"limit_num_clients,omitempty"` + // The maximum number of downloads allowed for the token. Please note that since downloads are calculated asynchronously (after the download happens), the limit may not be imposed immediately but at a later point. + LimitNumDownloads NullableInt64 `json:"limit_num_downloads,omitempty"` + // The package-based search query to apply to restrict downloads to. This uses the same syntax as the standard search used for repositories, and also supports boolean logic operators such as OR/AND/NOT and parentheses for grouping. This will still allow access to non-package files, such as metadata. + LimitPackageQuery NullableString `json:"limit_package_query,omitempty"` + // The path-based search query to apply to restrict downloads to. This supports boolean logic operators such as OR/AND/NOT and parentheses for grouping. The path evaluated does not include the domain name, the namespace, the entitlement code used, the package format, etc. and it always starts with a forward slash. + LimitPathQuery NullableString `json:"limit_path_query,omitempty"` + Metadata map[string]interface{} `json:"metadata,omitempty"` + Name string `json:"name"` + // The time at which the scheduled reset period has elapsed and the token limits were automatically reset to zero. + ScheduledResetAt NullableTime `json:"scheduled_reset_at,omitempty"` + ScheduledResetPeriod NullableString `json:"scheduled_reset_period,omitempty"` + Token *string `json:"token,omitempty"` +} + +// NewRepositoryTokenRequest instantiates a new RepositoryTokenRequest object +// 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 NewRepositoryTokenRequest(name string) *RepositoryTokenRequest { + this := RepositoryTokenRequest{} + var limitBandwidthUnit string = "Byte" + this.LimitBandwidthUnit = *NewNullableString(&limitBandwidthUnit) + this.Name = name + var scheduledResetPeriod string = "Never Reset" + this.ScheduledResetPeriod = *NewNullableString(&scheduledResetPeriod) + return &this +} + +// NewRepositoryTokenRequestWithDefaults instantiates a new RepositoryTokenRequest object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewRepositoryTokenRequestWithDefaults() *RepositoryTokenRequest { + this := RepositoryTokenRequest{} + var limitBandwidthUnit string = "Byte" + this.LimitBandwidthUnit = *NewNullableString(&limitBandwidthUnit) + var scheduledResetPeriod string = "Never Reset" + this.ScheduledResetPeriod = *NewNullableString(&scheduledResetPeriod) + return &this +} + +// GetEulaRequired returns the EulaRequired field value if set, zero value otherwise. +func (o *RepositoryTokenRequest) GetEulaRequired() bool { + if o == nil || isNil(o.EulaRequired) { + var ret bool + return ret + } + return *o.EulaRequired +} + +// GetEulaRequiredOk returns a tuple with the EulaRequired field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *RepositoryTokenRequest) GetEulaRequiredOk() (*bool, bool) { + if o == nil || isNil(o.EulaRequired) { + return nil, false + } + return o.EulaRequired, true +} + +// HasEulaRequired returns a boolean if a field has been set. +func (o *RepositoryTokenRequest) HasEulaRequired() bool { + if o != nil && !isNil(o.EulaRequired) { + return true + } + + return false +} + +// SetEulaRequired gets a reference to the given bool and assigns it to the EulaRequired field. +func (o *RepositoryTokenRequest) SetEulaRequired(v bool) { + o.EulaRequired = &v +} + +// GetIsActive returns the IsActive field value if set, zero value otherwise. +func (o *RepositoryTokenRequest) GetIsActive() bool { + if o == nil || isNil(o.IsActive) { + var ret bool + return ret + } + return *o.IsActive +} + +// GetIsActiveOk returns a tuple with the IsActive field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *RepositoryTokenRequest) GetIsActiveOk() (*bool, bool) { + if o == nil || isNil(o.IsActive) { + return nil, false + } + return o.IsActive, true +} + +// HasIsActive returns a boolean if a field has been set. +func (o *RepositoryTokenRequest) HasIsActive() bool { + if o != nil && !isNil(o.IsActive) { + return true + } + + return false +} + +// SetIsActive gets a reference to the given bool and assigns it to the IsActive field. +func (o *RepositoryTokenRequest) SetIsActive(v bool) { + o.IsActive = &v +} + +// GetLimitBandwidth returns the LimitBandwidth field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *RepositoryTokenRequest) GetLimitBandwidth() int64 { + if o == nil || isNil(o.LimitBandwidth.Get()) { + var ret int64 + return ret + } + return *o.LimitBandwidth.Get() +} + +// GetLimitBandwidthOk returns a tuple with the LimitBandwidth 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 *RepositoryTokenRequest) GetLimitBandwidthOk() (*int64, bool) { + if o == nil { + return nil, false + } + return o.LimitBandwidth.Get(), o.LimitBandwidth.IsSet() +} + +// HasLimitBandwidth returns a boolean if a field has been set. +func (o *RepositoryTokenRequest) HasLimitBandwidth() bool { + if o != nil && o.LimitBandwidth.IsSet() { + return true + } + + return false +} + +// SetLimitBandwidth gets a reference to the given NullableInt64 and assigns it to the LimitBandwidth field. +func (o *RepositoryTokenRequest) SetLimitBandwidth(v int64) { + o.LimitBandwidth.Set(&v) +} + +// SetLimitBandwidthNil sets the value for LimitBandwidth to be an explicit nil +func (o *RepositoryTokenRequest) SetLimitBandwidthNil() { + o.LimitBandwidth.Set(nil) +} + +// UnsetLimitBandwidth ensures that no value is present for LimitBandwidth, not even an explicit nil +func (o *RepositoryTokenRequest) UnsetLimitBandwidth() { + o.LimitBandwidth.Unset() +} + +// GetLimitBandwidthUnit returns the LimitBandwidthUnit field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *RepositoryTokenRequest) GetLimitBandwidthUnit() string { + if o == nil || isNil(o.LimitBandwidthUnit.Get()) { + var ret string + return ret + } + return *o.LimitBandwidthUnit.Get() +} + +// GetLimitBandwidthUnitOk returns a tuple with the LimitBandwidthUnit 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 *RepositoryTokenRequest) GetLimitBandwidthUnitOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.LimitBandwidthUnit.Get(), o.LimitBandwidthUnit.IsSet() +} + +// HasLimitBandwidthUnit returns a boolean if a field has been set. +func (o *RepositoryTokenRequest) HasLimitBandwidthUnit() bool { + if o != nil && o.LimitBandwidthUnit.IsSet() { + return true + } + + return false +} + +// SetLimitBandwidthUnit gets a reference to the given NullableString and assigns it to the LimitBandwidthUnit field. +func (o *RepositoryTokenRequest) SetLimitBandwidthUnit(v string) { + o.LimitBandwidthUnit.Set(&v) +} + +// SetLimitBandwidthUnitNil sets the value for LimitBandwidthUnit to be an explicit nil +func (o *RepositoryTokenRequest) SetLimitBandwidthUnitNil() { + o.LimitBandwidthUnit.Set(nil) +} + +// UnsetLimitBandwidthUnit ensures that no value is present for LimitBandwidthUnit, not even an explicit nil +func (o *RepositoryTokenRequest) UnsetLimitBandwidthUnit() { + o.LimitBandwidthUnit.Unset() +} + +// GetLimitDateRangeFrom returns the LimitDateRangeFrom field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *RepositoryTokenRequest) GetLimitDateRangeFrom() time.Time { + if o == nil || isNil(o.LimitDateRangeFrom.Get()) { + var ret time.Time + return ret + } + return *o.LimitDateRangeFrom.Get() +} + +// GetLimitDateRangeFromOk returns a tuple with the LimitDateRangeFrom 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 *RepositoryTokenRequest) GetLimitDateRangeFromOk() (*time.Time, bool) { + if o == nil { + return nil, false + } + return o.LimitDateRangeFrom.Get(), o.LimitDateRangeFrom.IsSet() +} + +// HasLimitDateRangeFrom returns a boolean if a field has been set. +func (o *RepositoryTokenRequest) HasLimitDateRangeFrom() bool { + if o != nil && o.LimitDateRangeFrom.IsSet() { + return true + } + + return false +} + +// SetLimitDateRangeFrom gets a reference to the given NullableTime and assigns it to the LimitDateRangeFrom field. +func (o *RepositoryTokenRequest) SetLimitDateRangeFrom(v time.Time) { + o.LimitDateRangeFrom.Set(&v) +} + +// SetLimitDateRangeFromNil sets the value for LimitDateRangeFrom to be an explicit nil +func (o *RepositoryTokenRequest) SetLimitDateRangeFromNil() { + o.LimitDateRangeFrom.Set(nil) +} + +// UnsetLimitDateRangeFrom ensures that no value is present for LimitDateRangeFrom, not even an explicit nil +func (o *RepositoryTokenRequest) UnsetLimitDateRangeFrom() { + o.LimitDateRangeFrom.Unset() +} + +// GetLimitDateRangeTo returns the LimitDateRangeTo field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *RepositoryTokenRequest) GetLimitDateRangeTo() time.Time { + if o == nil || isNil(o.LimitDateRangeTo.Get()) { + var ret time.Time + return ret + } + return *o.LimitDateRangeTo.Get() +} + +// GetLimitDateRangeToOk returns a tuple with the LimitDateRangeTo 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 *RepositoryTokenRequest) GetLimitDateRangeToOk() (*time.Time, bool) { + if o == nil { + return nil, false + } + return o.LimitDateRangeTo.Get(), o.LimitDateRangeTo.IsSet() +} + +// HasLimitDateRangeTo returns a boolean if a field has been set. +func (o *RepositoryTokenRequest) HasLimitDateRangeTo() bool { + if o != nil && o.LimitDateRangeTo.IsSet() { + return true + } + + return false +} + +// SetLimitDateRangeTo gets a reference to the given NullableTime and assigns it to the LimitDateRangeTo field. +func (o *RepositoryTokenRequest) SetLimitDateRangeTo(v time.Time) { + o.LimitDateRangeTo.Set(&v) +} + +// SetLimitDateRangeToNil sets the value for LimitDateRangeTo to be an explicit nil +func (o *RepositoryTokenRequest) SetLimitDateRangeToNil() { + o.LimitDateRangeTo.Set(nil) +} + +// UnsetLimitDateRangeTo ensures that no value is present for LimitDateRangeTo, not even an explicit nil +func (o *RepositoryTokenRequest) UnsetLimitDateRangeTo() { + o.LimitDateRangeTo.Unset() +} + +// GetLimitNumClients returns the LimitNumClients field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *RepositoryTokenRequest) GetLimitNumClients() int64 { + if o == nil || isNil(o.LimitNumClients.Get()) { + var ret int64 + return ret + } + return *o.LimitNumClients.Get() +} + +// GetLimitNumClientsOk returns a tuple with the LimitNumClients 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 *RepositoryTokenRequest) GetLimitNumClientsOk() (*int64, bool) { + if o == nil { + return nil, false + } + return o.LimitNumClients.Get(), o.LimitNumClients.IsSet() +} + +// HasLimitNumClients returns a boolean if a field has been set. +func (o *RepositoryTokenRequest) HasLimitNumClients() bool { + if o != nil && o.LimitNumClients.IsSet() { + return true + } + + return false +} + +// SetLimitNumClients gets a reference to the given NullableInt64 and assigns it to the LimitNumClients field. +func (o *RepositoryTokenRequest) SetLimitNumClients(v int64) { + o.LimitNumClients.Set(&v) +} + +// SetLimitNumClientsNil sets the value for LimitNumClients to be an explicit nil +func (o *RepositoryTokenRequest) SetLimitNumClientsNil() { + o.LimitNumClients.Set(nil) +} + +// UnsetLimitNumClients ensures that no value is present for LimitNumClients, not even an explicit nil +func (o *RepositoryTokenRequest) UnsetLimitNumClients() { + o.LimitNumClients.Unset() +} + +// GetLimitNumDownloads returns the LimitNumDownloads field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *RepositoryTokenRequest) GetLimitNumDownloads() int64 { + if o == nil || isNil(o.LimitNumDownloads.Get()) { + var ret int64 + return ret + } + return *o.LimitNumDownloads.Get() +} + +// GetLimitNumDownloadsOk returns a tuple with the LimitNumDownloads 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 *RepositoryTokenRequest) GetLimitNumDownloadsOk() (*int64, bool) { + if o == nil { + return nil, false + } + return o.LimitNumDownloads.Get(), o.LimitNumDownloads.IsSet() +} + +// HasLimitNumDownloads returns a boolean if a field has been set. +func (o *RepositoryTokenRequest) HasLimitNumDownloads() bool { + if o != nil && o.LimitNumDownloads.IsSet() { + return true + } + + return false +} + +// SetLimitNumDownloads gets a reference to the given NullableInt64 and assigns it to the LimitNumDownloads field. +func (o *RepositoryTokenRequest) SetLimitNumDownloads(v int64) { + o.LimitNumDownloads.Set(&v) +} + +// SetLimitNumDownloadsNil sets the value for LimitNumDownloads to be an explicit nil +func (o *RepositoryTokenRequest) SetLimitNumDownloadsNil() { + o.LimitNumDownloads.Set(nil) +} + +// UnsetLimitNumDownloads ensures that no value is present for LimitNumDownloads, not even an explicit nil +func (o *RepositoryTokenRequest) UnsetLimitNumDownloads() { + o.LimitNumDownloads.Unset() +} + +// GetLimitPackageQuery returns the LimitPackageQuery field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *RepositoryTokenRequest) GetLimitPackageQuery() string { + if o == nil || isNil(o.LimitPackageQuery.Get()) { + var ret string + return ret + } + return *o.LimitPackageQuery.Get() +} + +// GetLimitPackageQueryOk returns a tuple with the LimitPackageQuery 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 *RepositoryTokenRequest) GetLimitPackageQueryOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.LimitPackageQuery.Get(), o.LimitPackageQuery.IsSet() +} + +// HasLimitPackageQuery returns a boolean if a field has been set. +func (o *RepositoryTokenRequest) HasLimitPackageQuery() bool { + if o != nil && o.LimitPackageQuery.IsSet() { + return true + } + + return false +} + +// SetLimitPackageQuery gets a reference to the given NullableString and assigns it to the LimitPackageQuery field. +func (o *RepositoryTokenRequest) SetLimitPackageQuery(v string) { + o.LimitPackageQuery.Set(&v) +} + +// SetLimitPackageQueryNil sets the value for LimitPackageQuery to be an explicit nil +func (o *RepositoryTokenRequest) SetLimitPackageQueryNil() { + o.LimitPackageQuery.Set(nil) +} + +// UnsetLimitPackageQuery ensures that no value is present for LimitPackageQuery, not even an explicit nil +func (o *RepositoryTokenRequest) UnsetLimitPackageQuery() { + o.LimitPackageQuery.Unset() +} + +// GetLimitPathQuery returns the LimitPathQuery field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *RepositoryTokenRequest) GetLimitPathQuery() string { + if o == nil || isNil(o.LimitPathQuery.Get()) { + var ret string + return ret + } + return *o.LimitPathQuery.Get() +} + +// GetLimitPathQueryOk returns a tuple with the LimitPathQuery 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 *RepositoryTokenRequest) GetLimitPathQueryOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.LimitPathQuery.Get(), o.LimitPathQuery.IsSet() +} + +// HasLimitPathQuery returns a boolean if a field has been set. +func (o *RepositoryTokenRequest) HasLimitPathQuery() bool { + if o != nil && o.LimitPathQuery.IsSet() { + return true + } + + return false +} + +// SetLimitPathQuery gets a reference to the given NullableString and assigns it to the LimitPathQuery field. +func (o *RepositoryTokenRequest) SetLimitPathQuery(v string) { + o.LimitPathQuery.Set(&v) +} + +// SetLimitPathQueryNil sets the value for LimitPathQuery to be an explicit nil +func (o *RepositoryTokenRequest) SetLimitPathQueryNil() { + o.LimitPathQuery.Set(nil) +} + +// UnsetLimitPathQuery ensures that no value is present for LimitPathQuery, not even an explicit nil +func (o *RepositoryTokenRequest) UnsetLimitPathQuery() { + o.LimitPathQuery.Unset() +} + +// GetMetadata returns the Metadata field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *RepositoryTokenRequest) GetMetadata() map[string]interface{} { + if o == nil { + var ret map[string]interface{} + return ret + } + return o.Metadata +} + +// GetMetadataOk returns a tuple with the Metadata 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 *RepositoryTokenRequest) GetMetadataOk() (map[string]interface{}, bool) { + if o == nil || isNil(o.Metadata) { + return map[string]interface{}{}, false + } + return o.Metadata, true +} + +// HasMetadata returns a boolean if a field has been set. +func (o *RepositoryTokenRequest) HasMetadata() bool { + if o != nil && isNil(o.Metadata) { + return true + } + + return false +} + +// SetMetadata gets a reference to the given map[string]interface{} and assigns it to the Metadata field. +func (o *RepositoryTokenRequest) SetMetadata(v map[string]interface{}) { + o.Metadata = v +} + +// GetName returns the Name field value +func (o *RepositoryTokenRequest) GetName() string { + if o == nil { + var ret string + return ret + } + + return o.Name +} + +// GetNameOk returns a tuple with the Name field value +// and a boolean to check if the value has been set. +func (o *RepositoryTokenRequest) GetNameOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Name, true +} + +// SetName sets field value +func (o *RepositoryTokenRequest) SetName(v string) { + o.Name = v +} + +// GetScheduledResetAt returns the ScheduledResetAt field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *RepositoryTokenRequest) GetScheduledResetAt() time.Time { + if o == nil || isNil(o.ScheduledResetAt.Get()) { + var ret time.Time + return ret + } + return *o.ScheduledResetAt.Get() +} + +// GetScheduledResetAtOk returns a tuple with the ScheduledResetAt 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 *RepositoryTokenRequest) GetScheduledResetAtOk() (*time.Time, bool) { + if o == nil { + return nil, false + } + return o.ScheduledResetAt.Get(), o.ScheduledResetAt.IsSet() +} + +// HasScheduledResetAt returns a boolean if a field has been set. +func (o *RepositoryTokenRequest) HasScheduledResetAt() bool { + if o != nil && o.ScheduledResetAt.IsSet() { + return true + } + + return false +} + +// SetScheduledResetAt gets a reference to the given NullableTime and assigns it to the ScheduledResetAt field. +func (o *RepositoryTokenRequest) SetScheduledResetAt(v time.Time) { + o.ScheduledResetAt.Set(&v) +} + +// SetScheduledResetAtNil sets the value for ScheduledResetAt to be an explicit nil +func (o *RepositoryTokenRequest) SetScheduledResetAtNil() { + o.ScheduledResetAt.Set(nil) +} + +// UnsetScheduledResetAt ensures that no value is present for ScheduledResetAt, not even an explicit nil +func (o *RepositoryTokenRequest) UnsetScheduledResetAt() { + o.ScheduledResetAt.Unset() +} + +// GetScheduledResetPeriod returns the ScheduledResetPeriod field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *RepositoryTokenRequest) GetScheduledResetPeriod() string { + if o == nil || isNil(o.ScheduledResetPeriod.Get()) { + var ret string + return ret + } + return *o.ScheduledResetPeriod.Get() +} + +// GetScheduledResetPeriodOk returns a tuple with the ScheduledResetPeriod 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 *RepositoryTokenRequest) GetScheduledResetPeriodOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.ScheduledResetPeriod.Get(), o.ScheduledResetPeriod.IsSet() +} + +// HasScheduledResetPeriod returns a boolean if a field has been set. +func (o *RepositoryTokenRequest) HasScheduledResetPeriod() bool { + if o != nil && o.ScheduledResetPeriod.IsSet() { + return true + } + + return false +} + +// SetScheduledResetPeriod gets a reference to the given NullableString and assigns it to the ScheduledResetPeriod field. +func (o *RepositoryTokenRequest) SetScheduledResetPeriod(v string) { + o.ScheduledResetPeriod.Set(&v) +} + +// SetScheduledResetPeriodNil sets the value for ScheduledResetPeriod to be an explicit nil +func (o *RepositoryTokenRequest) SetScheduledResetPeriodNil() { + o.ScheduledResetPeriod.Set(nil) +} + +// UnsetScheduledResetPeriod ensures that no value is present for ScheduledResetPeriod, not even an explicit nil +func (o *RepositoryTokenRequest) UnsetScheduledResetPeriod() { + o.ScheduledResetPeriod.Unset() +} + +// GetToken returns the Token field value if set, zero value otherwise. +func (o *RepositoryTokenRequest) GetToken() string { + if o == nil || isNil(o.Token) { + var ret string + return ret + } + return *o.Token +} + +// GetTokenOk returns a tuple with the Token field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *RepositoryTokenRequest) GetTokenOk() (*string, bool) { + if o == nil || isNil(o.Token) { + return nil, false + } + return o.Token, true +} + +// HasToken returns a boolean if a field has been set. +func (o *RepositoryTokenRequest) HasToken() bool { + if o != nil && !isNil(o.Token) { + return true + } + + return false +} + +// SetToken gets a reference to the given string and assigns it to the Token field. +func (o *RepositoryTokenRequest) SetToken(v string) { + o.Token = &v +} + +func (o RepositoryTokenRequest) MarshalJSON() ([]byte, error) { + toSerialize := map[string]interface{}{} + if !isNil(o.EulaRequired) { + toSerialize["eula_required"] = o.EulaRequired + } + if !isNil(o.IsActive) { + toSerialize["is_active"] = o.IsActive + } + if o.LimitBandwidth.IsSet() { + toSerialize["limit_bandwidth"] = o.LimitBandwidth.Get() + } + if o.LimitBandwidthUnit.IsSet() { + toSerialize["limit_bandwidth_unit"] = o.LimitBandwidthUnit.Get() + } + if o.LimitDateRangeFrom.IsSet() { + toSerialize["limit_date_range_from"] = o.LimitDateRangeFrom.Get() + } + if o.LimitDateRangeTo.IsSet() { + toSerialize["limit_date_range_to"] = o.LimitDateRangeTo.Get() + } + if o.LimitNumClients.IsSet() { + toSerialize["limit_num_clients"] = o.LimitNumClients.Get() + } + if o.LimitNumDownloads.IsSet() { + toSerialize["limit_num_downloads"] = o.LimitNumDownloads.Get() + } + if o.LimitPackageQuery.IsSet() { + toSerialize["limit_package_query"] = o.LimitPackageQuery.Get() + } + if o.LimitPathQuery.IsSet() { + toSerialize["limit_path_query"] = o.LimitPathQuery.Get() + } + if o.Metadata != nil { + toSerialize["metadata"] = o.Metadata + } + if true { + toSerialize["name"] = o.Name + } + if o.ScheduledResetAt.IsSet() { + toSerialize["scheduled_reset_at"] = o.ScheduledResetAt.Get() + } + if o.ScheduledResetPeriod.IsSet() { + toSerialize["scheduled_reset_period"] = o.ScheduledResetPeriod.Get() + } + if !isNil(o.Token) { + toSerialize["token"] = o.Token + } + return json.Marshal(toSerialize) +} + +type NullableRepositoryTokenRequest struct { + value *RepositoryTokenRequest + isSet bool +} + +func (v NullableRepositoryTokenRequest) Get() *RepositoryTokenRequest { + return v.value +} + +func (v *NullableRepositoryTokenRequest) Set(val *RepositoryTokenRequest) { + v.value = val + v.isSet = true +} + +func (v NullableRepositoryTokenRequest) IsSet() bool { + return v.isSet +} + +func (v *NullableRepositoryTokenRequest) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableRepositoryTokenRequest(val *RepositoryTokenRequest) *NullableRepositoryTokenRequest { + return &NullableRepositoryTokenRequest{value: val, isSet: true} +} + +func (v NullableRepositoryTokenRequest) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableRepositoryTokenRequest) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} diff --git a/model_repository_token_request_patch.go b/model_repository_token_request_patch.go new file mode 100644 index 00000000..a89e4ecd --- /dev/null +++ b/model_repository_token_request_patch.go @@ -0,0 +1,748 @@ +/* +Cloudsmith API (v1) + +The API to the Cloudsmith Service + +API version: 1.181.6 +Contact: support@cloudsmith.io +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cloudsmith + +import ( + "encoding/json" + "time" +) + +// RepositoryTokenRequestPatch struct for RepositoryTokenRequestPatch +type RepositoryTokenRequestPatch struct { + // If checked, a EULA acceptance is required for this token. + EulaRequired *bool `json:"eula_required,omitempty"` + // If enabled, the token will allow downloads based on configured restrictions (if any). + IsActive *bool `json:"is_active,omitempty"` + // The maximum download bandwidth allowed for the token. Values are expressed as the selected unit of bandwidth. Please note that since downloads are calculated asynchronously (after the download happens), the limit may not be imposed immediately but at a later point. + LimitBandwidth NullableInt64 `json:"limit_bandwidth,omitempty"` + LimitBandwidthUnit NullableString `json:"limit_bandwidth_unit,omitempty"` + // The starting date/time the token is allowed to be used from. + LimitDateRangeFrom NullableTime `json:"limit_date_range_from,omitempty"` + // The ending date/time the token is allowed to be used until. + LimitDateRangeTo NullableTime `json:"limit_date_range_to,omitempty"` + // The maximum number of unique clients allowed for the token. Please note that since clients are calculated asynchronously (after the download happens), the limit may not be imposed immediately but at a later point. + LimitNumClients NullableInt64 `json:"limit_num_clients,omitempty"` + // The maximum number of downloads allowed for the token. Please note that since downloads are calculated asynchronously (after the download happens), the limit may not be imposed immediately but at a later point. + LimitNumDownloads NullableInt64 `json:"limit_num_downloads,omitempty"` + // The package-based search query to apply to restrict downloads to. This uses the same syntax as the standard search used for repositories, and also supports boolean logic operators such as OR/AND/NOT and parentheses for grouping. This will still allow access to non-package files, such as metadata. + LimitPackageQuery NullableString `json:"limit_package_query,omitempty"` + // The path-based search query to apply to restrict downloads to. This supports boolean logic operators such as OR/AND/NOT and parentheses for grouping. The path evaluated does not include the domain name, the namespace, the entitlement code used, the package format, etc. and it always starts with a forward slash. + LimitPathQuery NullableString `json:"limit_path_query,omitempty"` + Metadata map[string]interface{} `json:"metadata,omitempty"` + Name *string `json:"name,omitempty"` + // The time at which the scheduled reset period has elapsed and the token limits were automatically reset to zero. + ScheduledResetAt NullableTime `json:"scheduled_reset_at,omitempty"` + ScheduledResetPeriod NullableString `json:"scheduled_reset_period,omitempty"` + Token *string `json:"token,omitempty"` +} + +// NewRepositoryTokenRequestPatch instantiates a new RepositoryTokenRequestPatch object +// 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 NewRepositoryTokenRequestPatch() *RepositoryTokenRequestPatch { + this := RepositoryTokenRequestPatch{} + var limitBandwidthUnit string = "Byte" + this.LimitBandwidthUnit = *NewNullableString(&limitBandwidthUnit) + var scheduledResetPeriod string = "Never Reset" + this.ScheduledResetPeriod = *NewNullableString(&scheduledResetPeriod) + return &this +} + +// NewRepositoryTokenRequestPatchWithDefaults instantiates a new RepositoryTokenRequestPatch object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewRepositoryTokenRequestPatchWithDefaults() *RepositoryTokenRequestPatch { + this := RepositoryTokenRequestPatch{} + var limitBandwidthUnit string = "Byte" + this.LimitBandwidthUnit = *NewNullableString(&limitBandwidthUnit) + var scheduledResetPeriod string = "Never Reset" + this.ScheduledResetPeriod = *NewNullableString(&scheduledResetPeriod) + return &this +} + +// GetEulaRequired returns the EulaRequired field value if set, zero value otherwise. +func (o *RepositoryTokenRequestPatch) GetEulaRequired() bool { + if o == nil || isNil(o.EulaRequired) { + var ret bool + return ret + } + return *o.EulaRequired +} + +// GetEulaRequiredOk returns a tuple with the EulaRequired field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *RepositoryTokenRequestPatch) GetEulaRequiredOk() (*bool, bool) { + if o == nil || isNil(o.EulaRequired) { + return nil, false + } + return o.EulaRequired, true +} + +// HasEulaRequired returns a boolean if a field has been set. +func (o *RepositoryTokenRequestPatch) HasEulaRequired() bool { + if o != nil && !isNil(o.EulaRequired) { + return true + } + + return false +} + +// SetEulaRequired gets a reference to the given bool and assigns it to the EulaRequired field. +func (o *RepositoryTokenRequestPatch) SetEulaRequired(v bool) { + o.EulaRequired = &v +} + +// GetIsActive returns the IsActive field value if set, zero value otherwise. +func (o *RepositoryTokenRequestPatch) GetIsActive() bool { + if o == nil || isNil(o.IsActive) { + var ret bool + return ret + } + return *o.IsActive +} + +// GetIsActiveOk returns a tuple with the IsActive field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *RepositoryTokenRequestPatch) GetIsActiveOk() (*bool, bool) { + if o == nil || isNil(o.IsActive) { + return nil, false + } + return o.IsActive, true +} + +// HasIsActive returns a boolean if a field has been set. +func (o *RepositoryTokenRequestPatch) HasIsActive() bool { + if o != nil && !isNil(o.IsActive) { + return true + } + + return false +} + +// SetIsActive gets a reference to the given bool and assigns it to the IsActive field. +func (o *RepositoryTokenRequestPatch) SetIsActive(v bool) { + o.IsActive = &v +} + +// GetLimitBandwidth returns the LimitBandwidth field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *RepositoryTokenRequestPatch) GetLimitBandwidth() int64 { + if o == nil || isNil(o.LimitBandwidth.Get()) { + var ret int64 + return ret + } + return *o.LimitBandwidth.Get() +} + +// GetLimitBandwidthOk returns a tuple with the LimitBandwidth 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 *RepositoryTokenRequestPatch) GetLimitBandwidthOk() (*int64, bool) { + if o == nil { + return nil, false + } + return o.LimitBandwidth.Get(), o.LimitBandwidth.IsSet() +} + +// HasLimitBandwidth returns a boolean if a field has been set. +func (o *RepositoryTokenRequestPatch) HasLimitBandwidth() bool { + if o != nil && o.LimitBandwidth.IsSet() { + return true + } + + return false +} + +// SetLimitBandwidth gets a reference to the given NullableInt64 and assigns it to the LimitBandwidth field. +func (o *RepositoryTokenRequestPatch) SetLimitBandwidth(v int64) { + o.LimitBandwidth.Set(&v) +} + +// SetLimitBandwidthNil sets the value for LimitBandwidth to be an explicit nil +func (o *RepositoryTokenRequestPatch) SetLimitBandwidthNil() { + o.LimitBandwidth.Set(nil) +} + +// UnsetLimitBandwidth ensures that no value is present for LimitBandwidth, not even an explicit nil +func (o *RepositoryTokenRequestPatch) UnsetLimitBandwidth() { + o.LimitBandwidth.Unset() +} + +// GetLimitBandwidthUnit returns the LimitBandwidthUnit field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *RepositoryTokenRequestPatch) GetLimitBandwidthUnit() string { + if o == nil || isNil(o.LimitBandwidthUnit.Get()) { + var ret string + return ret + } + return *o.LimitBandwidthUnit.Get() +} + +// GetLimitBandwidthUnitOk returns a tuple with the LimitBandwidthUnit 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 *RepositoryTokenRequestPatch) GetLimitBandwidthUnitOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.LimitBandwidthUnit.Get(), o.LimitBandwidthUnit.IsSet() +} + +// HasLimitBandwidthUnit returns a boolean if a field has been set. +func (o *RepositoryTokenRequestPatch) HasLimitBandwidthUnit() bool { + if o != nil && o.LimitBandwidthUnit.IsSet() { + return true + } + + return false +} + +// SetLimitBandwidthUnit gets a reference to the given NullableString and assigns it to the LimitBandwidthUnit field. +func (o *RepositoryTokenRequestPatch) SetLimitBandwidthUnit(v string) { + o.LimitBandwidthUnit.Set(&v) +} + +// SetLimitBandwidthUnitNil sets the value for LimitBandwidthUnit to be an explicit nil +func (o *RepositoryTokenRequestPatch) SetLimitBandwidthUnitNil() { + o.LimitBandwidthUnit.Set(nil) +} + +// UnsetLimitBandwidthUnit ensures that no value is present for LimitBandwidthUnit, not even an explicit nil +func (o *RepositoryTokenRequestPatch) UnsetLimitBandwidthUnit() { + o.LimitBandwidthUnit.Unset() +} + +// GetLimitDateRangeFrom returns the LimitDateRangeFrom field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *RepositoryTokenRequestPatch) GetLimitDateRangeFrom() time.Time { + if o == nil || isNil(o.LimitDateRangeFrom.Get()) { + var ret time.Time + return ret + } + return *o.LimitDateRangeFrom.Get() +} + +// GetLimitDateRangeFromOk returns a tuple with the LimitDateRangeFrom 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 *RepositoryTokenRequestPatch) GetLimitDateRangeFromOk() (*time.Time, bool) { + if o == nil { + return nil, false + } + return o.LimitDateRangeFrom.Get(), o.LimitDateRangeFrom.IsSet() +} + +// HasLimitDateRangeFrom returns a boolean if a field has been set. +func (o *RepositoryTokenRequestPatch) HasLimitDateRangeFrom() bool { + if o != nil && o.LimitDateRangeFrom.IsSet() { + return true + } + + return false +} + +// SetLimitDateRangeFrom gets a reference to the given NullableTime and assigns it to the LimitDateRangeFrom field. +func (o *RepositoryTokenRequestPatch) SetLimitDateRangeFrom(v time.Time) { + o.LimitDateRangeFrom.Set(&v) +} + +// SetLimitDateRangeFromNil sets the value for LimitDateRangeFrom to be an explicit nil +func (o *RepositoryTokenRequestPatch) SetLimitDateRangeFromNil() { + o.LimitDateRangeFrom.Set(nil) +} + +// UnsetLimitDateRangeFrom ensures that no value is present for LimitDateRangeFrom, not even an explicit nil +func (o *RepositoryTokenRequestPatch) UnsetLimitDateRangeFrom() { + o.LimitDateRangeFrom.Unset() +} + +// GetLimitDateRangeTo returns the LimitDateRangeTo field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *RepositoryTokenRequestPatch) GetLimitDateRangeTo() time.Time { + if o == nil || isNil(o.LimitDateRangeTo.Get()) { + var ret time.Time + return ret + } + return *o.LimitDateRangeTo.Get() +} + +// GetLimitDateRangeToOk returns a tuple with the LimitDateRangeTo 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 *RepositoryTokenRequestPatch) GetLimitDateRangeToOk() (*time.Time, bool) { + if o == nil { + return nil, false + } + return o.LimitDateRangeTo.Get(), o.LimitDateRangeTo.IsSet() +} + +// HasLimitDateRangeTo returns a boolean if a field has been set. +func (o *RepositoryTokenRequestPatch) HasLimitDateRangeTo() bool { + if o != nil && o.LimitDateRangeTo.IsSet() { + return true + } + + return false +} + +// SetLimitDateRangeTo gets a reference to the given NullableTime and assigns it to the LimitDateRangeTo field. +func (o *RepositoryTokenRequestPatch) SetLimitDateRangeTo(v time.Time) { + o.LimitDateRangeTo.Set(&v) +} + +// SetLimitDateRangeToNil sets the value for LimitDateRangeTo to be an explicit nil +func (o *RepositoryTokenRequestPatch) SetLimitDateRangeToNil() { + o.LimitDateRangeTo.Set(nil) +} + +// UnsetLimitDateRangeTo ensures that no value is present for LimitDateRangeTo, not even an explicit nil +func (o *RepositoryTokenRequestPatch) UnsetLimitDateRangeTo() { + o.LimitDateRangeTo.Unset() +} + +// GetLimitNumClients returns the LimitNumClients field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *RepositoryTokenRequestPatch) GetLimitNumClients() int64 { + if o == nil || isNil(o.LimitNumClients.Get()) { + var ret int64 + return ret + } + return *o.LimitNumClients.Get() +} + +// GetLimitNumClientsOk returns a tuple with the LimitNumClients 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 *RepositoryTokenRequestPatch) GetLimitNumClientsOk() (*int64, bool) { + if o == nil { + return nil, false + } + return o.LimitNumClients.Get(), o.LimitNumClients.IsSet() +} + +// HasLimitNumClients returns a boolean if a field has been set. +func (o *RepositoryTokenRequestPatch) HasLimitNumClients() bool { + if o != nil && o.LimitNumClients.IsSet() { + return true + } + + return false +} + +// SetLimitNumClients gets a reference to the given NullableInt64 and assigns it to the LimitNumClients field. +func (o *RepositoryTokenRequestPatch) SetLimitNumClients(v int64) { + o.LimitNumClients.Set(&v) +} + +// SetLimitNumClientsNil sets the value for LimitNumClients to be an explicit nil +func (o *RepositoryTokenRequestPatch) SetLimitNumClientsNil() { + o.LimitNumClients.Set(nil) +} + +// UnsetLimitNumClients ensures that no value is present for LimitNumClients, not even an explicit nil +func (o *RepositoryTokenRequestPatch) UnsetLimitNumClients() { + o.LimitNumClients.Unset() +} + +// GetLimitNumDownloads returns the LimitNumDownloads field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *RepositoryTokenRequestPatch) GetLimitNumDownloads() int64 { + if o == nil || isNil(o.LimitNumDownloads.Get()) { + var ret int64 + return ret + } + return *o.LimitNumDownloads.Get() +} + +// GetLimitNumDownloadsOk returns a tuple with the LimitNumDownloads 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 *RepositoryTokenRequestPatch) GetLimitNumDownloadsOk() (*int64, bool) { + if o == nil { + return nil, false + } + return o.LimitNumDownloads.Get(), o.LimitNumDownloads.IsSet() +} + +// HasLimitNumDownloads returns a boolean if a field has been set. +func (o *RepositoryTokenRequestPatch) HasLimitNumDownloads() bool { + if o != nil && o.LimitNumDownloads.IsSet() { + return true + } + + return false +} + +// SetLimitNumDownloads gets a reference to the given NullableInt64 and assigns it to the LimitNumDownloads field. +func (o *RepositoryTokenRequestPatch) SetLimitNumDownloads(v int64) { + o.LimitNumDownloads.Set(&v) +} + +// SetLimitNumDownloadsNil sets the value for LimitNumDownloads to be an explicit nil +func (o *RepositoryTokenRequestPatch) SetLimitNumDownloadsNil() { + o.LimitNumDownloads.Set(nil) +} + +// UnsetLimitNumDownloads ensures that no value is present for LimitNumDownloads, not even an explicit nil +func (o *RepositoryTokenRequestPatch) UnsetLimitNumDownloads() { + o.LimitNumDownloads.Unset() +} + +// GetLimitPackageQuery returns the LimitPackageQuery field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *RepositoryTokenRequestPatch) GetLimitPackageQuery() string { + if o == nil || isNil(o.LimitPackageQuery.Get()) { + var ret string + return ret + } + return *o.LimitPackageQuery.Get() +} + +// GetLimitPackageQueryOk returns a tuple with the LimitPackageQuery 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 *RepositoryTokenRequestPatch) GetLimitPackageQueryOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.LimitPackageQuery.Get(), o.LimitPackageQuery.IsSet() +} + +// HasLimitPackageQuery returns a boolean if a field has been set. +func (o *RepositoryTokenRequestPatch) HasLimitPackageQuery() bool { + if o != nil && o.LimitPackageQuery.IsSet() { + return true + } + + return false +} + +// SetLimitPackageQuery gets a reference to the given NullableString and assigns it to the LimitPackageQuery field. +func (o *RepositoryTokenRequestPatch) SetLimitPackageQuery(v string) { + o.LimitPackageQuery.Set(&v) +} + +// SetLimitPackageQueryNil sets the value for LimitPackageQuery to be an explicit nil +func (o *RepositoryTokenRequestPatch) SetLimitPackageQueryNil() { + o.LimitPackageQuery.Set(nil) +} + +// UnsetLimitPackageQuery ensures that no value is present for LimitPackageQuery, not even an explicit nil +func (o *RepositoryTokenRequestPatch) UnsetLimitPackageQuery() { + o.LimitPackageQuery.Unset() +} + +// GetLimitPathQuery returns the LimitPathQuery field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *RepositoryTokenRequestPatch) GetLimitPathQuery() string { + if o == nil || isNil(o.LimitPathQuery.Get()) { + var ret string + return ret + } + return *o.LimitPathQuery.Get() +} + +// GetLimitPathQueryOk returns a tuple with the LimitPathQuery 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 *RepositoryTokenRequestPatch) GetLimitPathQueryOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.LimitPathQuery.Get(), o.LimitPathQuery.IsSet() +} + +// HasLimitPathQuery returns a boolean if a field has been set. +func (o *RepositoryTokenRequestPatch) HasLimitPathQuery() bool { + if o != nil && o.LimitPathQuery.IsSet() { + return true + } + + return false +} + +// SetLimitPathQuery gets a reference to the given NullableString and assigns it to the LimitPathQuery field. +func (o *RepositoryTokenRequestPatch) SetLimitPathQuery(v string) { + o.LimitPathQuery.Set(&v) +} + +// SetLimitPathQueryNil sets the value for LimitPathQuery to be an explicit nil +func (o *RepositoryTokenRequestPatch) SetLimitPathQueryNil() { + o.LimitPathQuery.Set(nil) +} + +// UnsetLimitPathQuery ensures that no value is present for LimitPathQuery, not even an explicit nil +func (o *RepositoryTokenRequestPatch) UnsetLimitPathQuery() { + o.LimitPathQuery.Unset() +} + +// GetMetadata returns the Metadata field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *RepositoryTokenRequestPatch) GetMetadata() map[string]interface{} { + if o == nil { + var ret map[string]interface{} + return ret + } + return o.Metadata +} + +// GetMetadataOk returns a tuple with the Metadata 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 *RepositoryTokenRequestPatch) GetMetadataOk() (map[string]interface{}, bool) { + if o == nil || isNil(o.Metadata) { + return map[string]interface{}{}, false + } + return o.Metadata, true +} + +// HasMetadata returns a boolean if a field has been set. +func (o *RepositoryTokenRequestPatch) HasMetadata() bool { + if o != nil && isNil(o.Metadata) { + return true + } + + return false +} + +// SetMetadata gets a reference to the given map[string]interface{} and assigns it to the Metadata field. +func (o *RepositoryTokenRequestPatch) SetMetadata(v map[string]interface{}) { + o.Metadata = v +} + +// GetName returns the Name field value if set, zero value otherwise. +func (o *RepositoryTokenRequestPatch) GetName() string { + if o == nil || isNil(o.Name) { + var ret string + return ret + } + return *o.Name +} + +// GetNameOk returns a tuple with the Name field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *RepositoryTokenRequestPatch) GetNameOk() (*string, bool) { + if o == nil || isNil(o.Name) { + return nil, false + } + return o.Name, true +} + +// HasName returns a boolean if a field has been set. +func (o *RepositoryTokenRequestPatch) HasName() bool { + if o != nil && !isNil(o.Name) { + return true + } + + return false +} + +// SetName gets a reference to the given string and assigns it to the Name field. +func (o *RepositoryTokenRequestPatch) SetName(v string) { + o.Name = &v +} + +// GetScheduledResetAt returns the ScheduledResetAt field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *RepositoryTokenRequestPatch) GetScheduledResetAt() time.Time { + if o == nil || isNil(o.ScheduledResetAt.Get()) { + var ret time.Time + return ret + } + return *o.ScheduledResetAt.Get() +} + +// GetScheduledResetAtOk returns a tuple with the ScheduledResetAt 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 *RepositoryTokenRequestPatch) GetScheduledResetAtOk() (*time.Time, bool) { + if o == nil { + return nil, false + } + return o.ScheduledResetAt.Get(), o.ScheduledResetAt.IsSet() +} + +// HasScheduledResetAt returns a boolean if a field has been set. +func (o *RepositoryTokenRequestPatch) HasScheduledResetAt() bool { + if o != nil && o.ScheduledResetAt.IsSet() { + return true + } + + return false +} + +// SetScheduledResetAt gets a reference to the given NullableTime and assigns it to the ScheduledResetAt field. +func (o *RepositoryTokenRequestPatch) SetScheduledResetAt(v time.Time) { + o.ScheduledResetAt.Set(&v) +} + +// SetScheduledResetAtNil sets the value for ScheduledResetAt to be an explicit nil +func (o *RepositoryTokenRequestPatch) SetScheduledResetAtNil() { + o.ScheduledResetAt.Set(nil) +} + +// UnsetScheduledResetAt ensures that no value is present for ScheduledResetAt, not even an explicit nil +func (o *RepositoryTokenRequestPatch) UnsetScheduledResetAt() { + o.ScheduledResetAt.Unset() +} + +// GetScheduledResetPeriod returns the ScheduledResetPeriod field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *RepositoryTokenRequestPatch) GetScheduledResetPeriod() string { + if o == nil || isNil(o.ScheduledResetPeriod.Get()) { + var ret string + return ret + } + return *o.ScheduledResetPeriod.Get() +} + +// GetScheduledResetPeriodOk returns a tuple with the ScheduledResetPeriod 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 *RepositoryTokenRequestPatch) GetScheduledResetPeriodOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.ScheduledResetPeriod.Get(), o.ScheduledResetPeriod.IsSet() +} + +// HasScheduledResetPeriod returns a boolean if a field has been set. +func (o *RepositoryTokenRequestPatch) HasScheduledResetPeriod() bool { + if o != nil && o.ScheduledResetPeriod.IsSet() { + return true + } + + return false +} + +// SetScheduledResetPeriod gets a reference to the given NullableString and assigns it to the ScheduledResetPeriod field. +func (o *RepositoryTokenRequestPatch) SetScheduledResetPeriod(v string) { + o.ScheduledResetPeriod.Set(&v) +} + +// SetScheduledResetPeriodNil sets the value for ScheduledResetPeriod to be an explicit nil +func (o *RepositoryTokenRequestPatch) SetScheduledResetPeriodNil() { + o.ScheduledResetPeriod.Set(nil) +} + +// UnsetScheduledResetPeriod ensures that no value is present for ScheduledResetPeriod, not even an explicit nil +func (o *RepositoryTokenRequestPatch) UnsetScheduledResetPeriod() { + o.ScheduledResetPeriod.Unset() +} + +// GetToken returns the Token field value if set, zero value otherwise. +func (o *RepositoryTokenRequestPatch) GetToken() string { + if o == nil || isNil(o.Token) { + var ret string + return ret + } + return *o.Token +} + +// GetTokenOk returns a tuple with the Token field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *RepositoryTokenRequestPatch) GetTokenOk() (*string, bool) { + if o == nil || isNil(o.Token) { + return nil, false + } + return o.Token, true +} + +// HasToken returns a boolean if a field has been set. +func (o *RepositoryTokenRequestPatch) HasToken() bool { + if o != nil && !isNil(o.Token) { + return true + } + + return false +} + +// SetToken gets a reference to the given string and assigns it to the Token field. +func (o *RepositoryTokenRequestPatch) SetToken(v string) { + o.Token = &v +} + +func (o RepositoryTokenRequestPatch) MarshalJSON() ([]byte, error) { + toSerialize := map[string]interface{}{} + if !isNil(o.EulaRequired) { + toSerialize["eula_required"] = o.EulaRequired + } + if !isNil(o.IsActive) { + toSerialize["is_active"] = o.IsActive + } + if o.LimitBandwidth.IsSet() { + toSerialize["limit_bandwidth"] = o.LimitBandwidth.Get() + } + if o.LimitBandwidthUnit.IsSet() { + toSerialize["limit_bandwidth_unit"] = o.LimitBandwidthUnit.Get() + } + if o.LimitDateRangeFrom.IsSet() { + toSerialize["limit_date_range_from"] = o.LimitDateRangeFrom.Get() + } + if o.LimitDateRangeTo.IsSet() { + toSerialize["limit_date_range_to"] = o.LimitDateRangeTo.Get() + } + if o.LimitNumClients.IsSet() { + toSerialize["limit_num_clients"] = o.LimitNumClients.Get() + } + if o.LimitNumDownloads.IsSet() { + toSerialize["limit_num_downloads"] = o.LimitNumDownloads.Get() + } + if o.LimitPackageQuery.IsSet() { + toSerialize["limit_package_query"] = o.LimitPackageQuery.Get() + } + if o.LimitPathQuery.IsSet() { + toSerialize["limit_path_query"] = o.LimitPathQuery.Get() + } + if o.Metadata != nil { + toSerialize["metadata"] = o.Metadata + } + if !isNil(o.Name) { + toSerialize["name"] = o.Name + } + if o.ScheduledResetAt.IsSet() { + toSerialize["scheduled_reset_at"] = o.ScheduledResetAt.Get() + } + if o.ScheduledResetPeriod.IsSet() { + toSerialize["scheduled_reset_period"] = o.ScheduledResetPeriod.Get() + } + if !isNil(o.Token) { + toSerialize["token"] = o.Token + } + return json.Marshal(toSerialize) +} + +type NullableRepositoryTokenRequestPatch struct { + value *RepositoryTokenRequestPatch + isSet bool +} + +func (v NullableRepositoryTokenRequestPatch) Get() *RepositoryTokenRequestPatch { + return v.value +} + +func (v *NullableRepositoryTokenRequestPatch) Set(val *RepositoryTokenRequestPatch) { + v.value = val + v.isSet = true +} + +func (v NullableRepositoryTokenRequestPatch) IsSet() bool { + return v.isSet +} + +func (v *NullableRepositoryTokenRequestPatch) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableRepositoryTokenRequestPatch(val *RepositoryTokenRequestPatch) *NullableRepositoryTokenRequestPatch { + return &NullableRepositoryTokenRequestPatch{value: val, isSet: true} +} + +func (v NullableRepositoryTokenRequestPatch) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableRepositoryTokenRequestPatch) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} diff --git a/model_repository_token_response.go b/model_repository_token_response.go new file mode 100644 index 00000000..b3947850 --- /dev/null +++ b/model_repository_token_response.go @@ -0,0 +1,1675 @@ +/* +Cloudsmith API (v1) + +The API to the Cloudsmith Service + +API version: 1.181.6 +Contact: support@cloudsmith.io +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cloudsmith + +import ( + "encoding/json" + "time" +) + +// RepositoryTokenResponse struct for RepositoryTokenResponse +type RepositoryTokenResponse struct { + Clients *int64 `json:"clients,omitempty"` + // The datetime the token was updated at. + CreatedAt *time.Time `json:"created_at,omitempty"` + CreatedBy *string `json:"created_by,omitempty"` + CreatedByUrl *string `json:"created_by_url,omitempty"` + // If selected this is the default token for this repository. + Default *bool `json:"default,omitempty"` + DisableUrl *string `json:"disable_url,omitempty"` + Downloads *int64 `json:"downloads,omitempty"` + EnableUrl *string `json:"enable_url,omitempty"` + EulaAccepted NullableEula `json:"eula_accepted,omitempty"` + // The datetime the EULA was accepted at. + EulaAcceptedAt *time.Time `json:"eula_accepted_at,omitempty"` + EulaAcceptedFrom NullableString `json:"eula_accepted_from,omitempty"` + // If checked, a EULA acceptance is required for this token. + EulaRequired *bool `json:"eula_required,omitempty"` + HasLimits *bool `json:"has_limits,omitempty"` + Identifier *int64 `json:"identifier,omitempty"` + // If enabled, the token will allow downloads based on configured restrictions (if any). + IsActive *bool `json:"is_active,omitempty"` + IsLimited *bool `json:"is_limited,omitempty"` + // The maximum download bandwidth allowed for the token. Values are expressed as the selected unit of bandwidth. Please note that since downloads are calculated asynchronously (after the download happens), the limit may not be imposed immediately but at a later point. + LimitBandwidth NullableInt64 `json:"limit_bandwidth,omitempty"` + LimitBandwidthUnit NullableString `json:"limit_bandwidth_unit,omitempty"` + // The starting date/time the token is allowed to be used from. + LimitDateRangeFrom NullableTime `json:"limit_date_range_from,omitempty"` + // The ending date/time the token is allowed to be used until. + LimitDateRangeTo NullableTime `json:"limit_date_range_to,omitempty"` + // The maximum number of unique clients allowed for the token. Please note that since clients are calculated asynchronously (after the download happens), the limit may not be imposed immediately but at a later point. + LimitNumClients NullableInt64 `json:"limit_num_clients,omitempty"` + // The maximum number of downloads allowed for the token. Please note that since downloads are calculated asynchronously (after the download happens), the limit may not be imposed immediately but at a later point. + LimitNumDownloads NullableInt64 `json:"limit_num_downloads,omitempty"` + // The package-based search query to apply to restrict downloads to. This uses the same syntax as the standard search used for repositories, and also supports boolean logic operators such as OR/AND/NOT and parentheses for grouping. This will still allow access to non-package files, such as metadata. + LimitPackageQuery NullableString `json:"limit_package_query,omitempty"` + // The path-based search query to apply to restrict downloads to. This supports boolean logic operators such as OR/AND/NOT and parentheses for grouping. The path evaluated does not include the domain name, the namespace, the entitlement code used, the package format, etc. and it always starts with a forward slash. + LimitPathQuery NullableString `json:"limit_path_query,omitempty"` + Metadata map[string]interface{} `json:"metadata,omitempty"` + Name string `json:"name"` + RefreshUrl *string `json:"refresh_url,omitempty"` + ResetUrl *string `json:"reset_url,omitempty"` + // The time at which the scheduled reset period has elapsed and the token limits were automatically reset to zero. + ScheduledResetAt NullableTime `json:"scheduled_reset_at,omitempty"` + ScheduledResetPeriod NullableString `json:"scheduled_reset_period,omitempty"` + SelfUrl *string `json:"self_url,omitempty"` + SlugPerm *string `json:"slug_perm,omitempty"` + Token *string `json:"token,omitempty"` + // The datetime the token was updated at. + UpdatedAt *time.Time `json:"updated_at,omitempty"` + UpdatedBy NullableString `json:"updated_by,omitempty"` + UpdatedByUrl NullableString `json:"updated_by_url,omitempty"` + Usage *string `json:"usage,omitempty"` + User NullableString `json:"user,omitempty"` + UserUrl NullableString `json:"user_url,omitempty"` +} + +// NewRepositoryTokenResponse instantiates a new RepositoryTokenResponse object +// 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 NewRepositoryTokenResponse(name string) *RepositoryTokenResponse { + this := RepositoryTokenResponse{} + var limitBandwidthUnit string = "Byte" + this.LimitBandwidthUnit = *NewNullableString(&limitBandwidthUnit) + this.Name = name + var scheduledResetPeriod string = "Never Reset" + this.ScheduledResetPeriod = *NewNullableString(&scheduledResetPeriod) + return &this +} + +// NewRepositoryTokenResponseWithDefaults instantiates a new RepositoryTokenResponse object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewRepositoryTokenResponseWithDefaults() *RepositoryTokenResponse { + this := RepositoryTokenResponse{} + var limitBandwidthUnit string = "Byte" + this.LimitBandwidthUnit = *NewNullableString(&limitBandwidthUnit) + var scheduledResetPeriod string = "Never Reset" + this.ScheduledResetPeriod = *NewNullableString(&scheduledResetPeriod) + return &this +} + +// GetClients returns the Clients field value if set, zero value otherwise. +func (o *RepositoryTokenResponse) GetClients() int64 { + if o == nil || isNil(o.Clients) { + var ret int64 + return ret + } + return *o.Clients +} + +// GetClientsOk returns a tuple with the Clients field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *RepositoryTokenResponse) GetClientsOk() (*int64, bool) { + if o == nil || isNil(o.Clients) { + return nil, false + } + return o.Clients, true +} + +// HasClients returns a boolean if a field has been set. +func (o *RepositoryTokenResponse) HasClients() bool { + if o != nil && !isNil(o.Clients) { + return true + } + + return false +} + +// SetClients gets a reference to the given int64 and assigns it to the Clients field. +func (o *RepositoryTokenResponse) SetClients(v int64) { + o.Clients = &v +} + +// GetCreatedAt returns the CreatedAt field value if set, zero value otherwise. +func (o *RepositoryTokenResponse) GetCreatedAt() time.Time { + if o == nil || isNil(o.CreatedAt) { + var ret time.Time + return ret + } + return *o.CreatedAt +} + +// GetCreatedAtOk returns a tuple with the CreatedAt field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *RepositoryTokenResponse) GetCreatedAtOk() (*time.Time, bool) { + if o == nil || isNil(o.CreatedAt) { + return nil, false + } + return o.CreatedAt, true +} + +// HasCreatedAt returns a boolean if a field has been set. +func (o *RepositoryTokenResponse) HasCreatedAt() bool { + if o != nil && !isNil(o.CreatedAt) { + return true + } + + return false +} + +// SetCreatedAt gets a reference to the given time.Time and assigns it to the CreatedAt field. +func (o *RepositoryTokenResponse) SetCreatedAt(v time.Time) { + o.CreatedAt = &v +} + +// GetCreatedBy returns the CreatedBy field value if set, zero value otherwise. +func (o *RepositoryTokenResponse) GetCreatedBy() string { + if o == nil || isNil(o.CreatedBy) { + var ret string + return ret + } + return *o.CreatedBy +} + +// GetCreatedByOk returns a tuple with the CreatedBy field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *RepositoryTokenResponse) GetCreatedByOk() (*string, bool) { + if o == nil || isNil(o.CreatedBy) { + return nil, false + } + return o.CreatedBy, true +} + +// HasCreatedBy returns a boolean if a field has been set. +func (o *RepositoryTokenResponse) HasCreatedBy() bool { + if o != nil && !isNil(o.CreatedBy) { + return true + } + + return false +} + +// SetCreatedBy gets a reference to the given string and assigns it to the CreatedBy field. +func (o *RepositoryTokenResponse) SetCreatedBy(v string) { + o.CreatedBy = &v +} + +// GetCreatedByUrl returns the CreatedByUrl field value if set, zero value otherwise. +func (o *RepositoryTokenResponse) GetCreatedByUrl() string { + if o == nil || isNil(o.CreatedByUrl) { + var ret string + return ret + } + return *o.CreatedByUrl +} + +// GetCreatedByUrlOk returns a tuple with the CreatedByUrl field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *RepositoryTokenResponse) GetCreatedByUrlOk() (*string, bool) { + if o == nil || isNil(o.CreatedByUrl) { + return nil, false + } + return o.CreatedByUrl, true +} + +// HasCreatedByUrl returns a boolean if a field has been set. +func (o *RepositoryTokenResponse) HasCreatedByUrl() bool { + if o != nil && !isNil(o.CreatedByUrl) { + return true + } + + return false +} + +// SetCreatedByUrl gets a reference to the given string and assigns it to the CreatedByUrl field. +func (o *RepositoryTokenResponse) SetCreatedByUrl(v string) { + o.CreatedByUrl = &v +} + +// GetDefault returns the Default field value if set, zero value otherwise. +func (o *RepositoryTokenResponse) GetDefault() bool { + if o == nil || isNil(o.Default) { + var ret bool + return ret + } + return *o.Default +} + +// GetDefaultOk returns a tuple with the Default field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *RepositoryTokenResponse) GetDefaultOk() (*bool, bool) { + if o == nil || isNil(o.Default) { + return nil, false + } + return o.Default, true +} + +// HasDefault returns a boolean if a field has been set. +func (o *RepositoryTokenResponse) HasDefault() bool { + if o != nil && !isNil(o.Default) { + return true + } + + return false +} + +// SetDefault gets a reference to the given bool and assigns it to the Default field. +func (o *RepositoryTokenResponse) SetDefault(v bool) { + o.Default = &v +} + +// GetDisableUrl returns the DisableUrl field value if set, zero value otherwise. +func (o *RepositoryTokenResponse) GetDisableUrl() string { + if o == nil || isNil(o.DisableUrl) { + var ret string + return ret + } + return *o.DisableUrl +} + +// GetDisableUrlOk returns a tuple with the DisableUrl field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *RepositoryTokenResponse) GetDisableUrlOk() (*string, bool) { + if o == nil || isNil(o.DisableUrl) { + return nil, false + } + return o.DisableUrl, true +} + +// HasDisableUrl returns a boolean if a field has been set. +func (o *RepositoryTokenResponse) HasDisableUrl() bool { + if o != nil && !isNil(o.DisableUrl) { + return true + } + + return false +} + +// SetDisableUrl gets a reference to the given string and assigns it to the DisableUrl field. +func (o *RepositoryTokenResponse) SetDisableUrl(v string) { + o.DisableUrl = &v +} + +// GetDownloads returns the Downloads field value if set, zero value otherwise. +func (o *RepositoryTokenResponse) GetDownloads() int64 { + if o == nil || isNil(o.Downloads) { + var ret int64 + return ret + } + return *o.Downloads +} + +// GetDownloadsOk returns a tuple with the Downloads field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *RepositoryTokenResponse) GetDownloadsOk() (*int64, bool) { + if o == nil || isNil(o.Downloads) { + return nil, false + } + return o.Downloads, true +} + +// HasDownloads returns a boolean if a field has been set. +func (o *RepositoryTokenResponse) HasDownloads() bool { + if o != nil && !isNil(o.Downloads) { + return true + } + + return false +} + +// SetDownloads gets a reference to the given int64 and assigns it to the Downloads field. +func (o *RepositoryTokenResponse) SetDownloads(v int64) { + o.Downloads = &v +} + +// GetEnableUrl returns the EnableUrl field value if set, zero value otherwise. +func (o *RepositoryTokenResponse) GetEnableUrl() string { + if o == nil || isNil(o.EnableUrl) { + var ret string + return ret + } + return *o.EnableUrl +} + +// GetEnableUrlOk returns a tuple with the EnableUrl field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *RepositoryTokenResponse) GetEnableUrlOk() (*string, bool) { + if o == nil || isNil(o.EnableUrl) { + return nil, false + } + return o.EnableUrl, true +} + +// HasEnableUrl returns a boolean if a field has been set. +func (o *RepositoryTokenResponse) HasEnableUrl() bool { + if o != nil && !isNil(o.EnableUrl) { + return true + } + + return false +} + +// SetEnableUrl gets a reference to the given string and assigns it to the EnableUrl field. +func (o *RepositoryTokenResponse) SetEnableUrl(v string) { + o.EnableUrl = &v +} + +// GetEulaAccepted returns the EulaAccepted field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *RepositoryTokenResponse) GetEulaAccepted() Eula { + if o == nil || isNil(o.EulaAccepted.Get()) { + var ret Eula + return ret + } + return *o.EulaAccepted.Get() +} + +// GetEulaAcceptedOk returns a tuple with the EulaAccepted 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 *RepositoryTokenResponse) GetEulaAcceptedOk() (*Eula, bool) { + if o == nil { + return nil, false + } + return o.EulaAccepted.Get(), o.EulaAccepted.IsSet() +} + +// HasEulaAccepted returns a boolean if a field has been set. +func (o *RepositoryTokenResponse) HasEulaAccepted() bool { + if o != nil && o.EulaAccepted.IsSet() { + return true + } + + return false +} + +// SetEulaAccepted gets a reference to the given NullableEula and assigns it to the EulaAccepted field. +func (o *RepositoryTokenResponse) SetEulaAccepted(v Eula) { + o.EulaAccepted.Set(&v) +} + +// SetEulaAcceptedNil sets the value for EulaAccepted to be an explicit nil +func (o *RepositoryTokenResponse) SetEulaAcceptedNil() { + o.EulaAccepted.Set(nil) +} + +// UnsetEulaAccepted ensures that no value is present for EulaAccepted, not even an explicit nil +func (o *RepositoryTokenResponse) UnsetEulaAccepted() { + o.EulaAccepted.Unset() +} + +// GetEulaAcceptedAt returns the EulaAcceptedAt field value if set, zero value otherwise. +func (o *RepositoryTokenResponse) GetEulaAcceptedAt() time.Time { + if o == nil || isNil(o.EulaAcceptedAt) { + var ret time.Time + return ret + } + return *o.EulaAcceptedAt +} + +// GetEulaAcceptedAtOk returns a tuple with the EulaAcceptedAt field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *RepositoryTokenResponse) GetEulaAcceptedAtOk() (*time.Time, bool) { + if o == nil || isNil(o.EulaAcceptedAt) { + return nil, false + } + return o.EulaAcceptedAt, true +} + +// HasEulaAcceptedAt returns a boolean if a field has been set. +func (o *RepositoryTokenResponse) HasEulaAcceptedAt() bool { + if o != nil && !isNil(o.EulaAcceptedAt) { + return true + } + + return false +} + +// SetEulaAcceptedAt gets a reference to the given time.Time and assigns it to the EulaAcceptedAt field. +func (o *RepositoryTokenResponse) SetEulaAcceptedAt(v time.Time) { + o.EulaAcceptedAt = &v +} + +// GetEulaAcceptedFrom returns the EulaAcceptedFrom field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *RepositoryTokenResponse) GetEulaAcceptedFrom() string { + if o == nil || isNil(o.EulaAcceptedFrom.Get()) { + var ret string + return ret + } + return *o.EulaAcceptedFrom.Get() +} + +// GetEulaAcceptedFromOk returns a tuple with the EulaAcceptedFrom 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 *RepositoryTokenResponse) GetEulaAcceptedFromOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.EulaAcceptedFrom.Get(), o.EulaAcceptedFrom.IsSet() +} + +// HasEulaAcceptedFrom returns a boolean if a field has been set. +func (o *RepositoryTokenResponse) HasEulaAcceptedFrom() bool { + if o != nil && o.EulaAcceptedFrom.IsSet() { + return true + } + + return false +} + +// SetEulaAcceptedFrom gets a reference to the given NullableString and assigns it to the EulaAcceptedFrom field. +func (o *RepositoryTokenResponse) SetEulaAcceptedFrom(v string) { + o.EulaAcceptedFrom.Set(&v) +} + +// SetEulaAcceptedFromNil sets the value for EulaAcceptedFrom to be an explicit nil +func (o *RepositoryTokenResponse) SetEulaAcceptedFromNil() { + o.EulaAcceptedFrom.Set(nil) +} + +// UnsetEulaAcceptedFrom ensures that no value is present for EulaAcceptedFrom, not even an explicit nil +func (o *RepositoryTokenResponse) UnsetEulaAcceptedFrom() { + o.EulaAcceptedFrom.Unset() +} + +// GetEulaRequired returns the EulaRequired field value if set, zero value otherwise. +func (o *RepositoryTokenResponse) GetEulaRequired() bool { + if o == nil || isNil(o.EulaRequired) { + var ret bool + return ret + } + return *o.EulaRequired +} + +// GetEulaRequiredOk returns a tuple with the EulaRequired field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *RepositoryTokenResponse) GetEulaRequiredOk() (*bool, bool) { + if o == nil || isNil(o.EulaRequired) { + return nil, false + } + return o.EulaRequired, true +} + +// HasEulaRequired returns a boolean if a field has been set. +func (o *RepositoryTokenResponse) HasEulaRequired() bool { + if o != nil && !isNil(o.EulaRequired) { + return true + } + + return false +} + +// SetEulaRequired gets a reference to the given bool and assigns it to the EulaRequired field. +func (o *RepositoryTokenResponse) SetEulaRequired(v bool) { + o.EulaRequired = &v +} + +// GetHasLimits returns the HasLimits field value if set, zero value otherwise. +func (o *RepositoryTokenResponse) GetHasLimits() bool { + if o == nil || isNil(o.HasLimits) { + var ret bool + return ret + } + return *o.HasLimits +} + +// GetHasLimitsOk returns a tuple with the HasLimits field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *RepositoryTokenResponse) GetHasLimitsOk() (*bool, bool) { + if o == nil || isNil(o.HasLimits) { + return nil, false + } + return o.HasLimits, true +} + +// HasHasLimits returns a boolean if a field has been set. +func (o *RepositoryTokenResponse) HasHasLimits() bool { + if o != nil && !isNil(o.HasLimits) { + return true + } + + return false +} + +// SetHasLimits gets a reference to the given bool and assigns it to the HasLimits field. +func (o *RepositoryTokenResponse) SetHasLimits(v bool) { + o.HasLimits = &v +} + +// GetIdentifier returns the Identifier field value if set, zero value otherwise. +func (o *RepositoryTokenResponse) GetIdentifier() int64 { + if o == nil || isNil(o.Identifier) { + var ret int64 + return ret + } + return *o.Identifier +} + +// GetIdentifierOk returns a tuple with the Identifier field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *RepositoryTokenResponse) GetIdentifierOk() (*int64, bool) { + if o == nil || isNil(o.Identifier) { + return nil, false + } + return o.Identifier, true +} + +// HasIdentifier returns a boolean if a field has been set. +func (o *RepositoryTokenResponse) HasIdentifier() bool { + if o != nil && !isNil(o.Identifier) { + return true + } + + return false +} + +// SetIdentifier gets a reference to the given int64 and assigns it to the Identifier field. +func (o *RepositoryTokenResponse) SetIdentifier(v int64) { + o.Identifier = &v +} + +// GetIsActive returns the IsActive field value if set, zero value otherwise. +func (o *RepositoryTokenResponse) GetIsActive() bool { + if o == nil || isNil(o.IsActive) { + var ret bool + return ret + } + return *o.IsActive +} + +// GetIsActiveOk returns a tuple with the IsActive field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *RepositoryTokenResponse) GetIsActiveOk() (*bool, bool) { + if o == nil || isNil(o.IsActive) { + return nil, false + } + return o.IsActive, true +} + +// HasIsActive returns a boolean if a field has been set. +func (o *RepositoryTokenResponse) HasIsActive() bool { + if o != nil && !isNil(o.IsActive) { + return true + } + + return false +} + +// SetIsActive gets a reference to the given bool and assigns it to the IsActive field. +func (o *RepositoryTokenResponse) SetIsActive(v bool) { + o.IsActive = &v +} + +// GetIsLimited returns the IsLimited field value if set, zero value otherwise. +func (o *RepositoryTokenResponse) GetIsLimited() bool { + if o == nil || isNil(o.IsLimited) { + var ret bool + return ret + } + return *o.IsLimited +} + +// GetIsLimitedOk returns a tuple with the IsLimited field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *RepositoryTokenResponse) GetIsLimitedOk() (*bool, bool) { + if o == nil || isNil(o.IsLimited) { + return nil, false + } + return o.IsLimited, true +} + +// HasIsLimited returns a boolean if a field has been set. +func (o *RepositoryTokenResponse) HasIsLimited() bool { + if o != nil && !isNil(o.IsLimited) { + return true + } + + return false +} + +// SetIsLimited gets a reference to the given bool and assigns it to the IsLimited field. +func (o *RepositoryTokenResponse) SetIsLimited(v bool) { + o.IsLimited = &v +} + +// GetLimitBandwidth returns the LimitBandwidth field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *RepositoryTokenResponse) GetLimitBandwidth() int64 { + if o == nil || isNil(o.LimitBandwidth.Get()) { + var ret int64 + return ret + } + return *o.LimitBandwidth.Get() +} + +// GetLimitBandwidthOk returns a tuple with the LimitBandwidth 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 *RepositoryTokenResponse) GetLimitBandwidthOk() (*int64, bool) { + if o == nil { + return nil, false + } + return o.LimitBandwidth.Get(), o.LimitBandwidth.IsSet() +} + +// HasLimitBandwidth returns a boolean if a field has been set. +func (o *RepositoryTokenResponse) HasLimitBandwidth() bool { + if o != nil && o.LimitBandwidth.IsSet() { + return true + } + + return false +} + +// SetLimitBandwidth gets a reference to the given NullableInt64 and assigns it to the LimitBandwidth field. +func (o *RepositoryTokenResponse) SetLimitBandwidth(v int64) { + o.LimitBandwidth.Set(&v) +} + +// SetLimitBandwidthNil sets the value for LimitBandwidth to be an explicit nil +func (o *RepositoryTokenResponse) SetLimitBandwidthNil() { + o.LimitBandwidth.Set(nil) +} + +// UnsetLimitBandwidth ensures that no value is present for LimitBandwidth, not even an explicit nil +func (o *RepositoryTokenResponse) UnsetLimitBandwidth() { + o.LimitBandwidth.Unset() +} + +// GetLimitBandwidthUnit returns the LimitBandwidthUnit field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *RepositoryTokenResponse) GetLimitBandwidthUnit() string { + if o == nil || isNil(o.LimitBandwidthUnit.Get()) { + var ret string + return ret + } + return *o.LimitBandwidthUnit.Get() +} + +// GetLimitBandwidthUnitOk returns a tuple with the LimitBandwidthUnit 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 *RepositoryTokenResponse) GetLimitBandwidthUnitOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.LimitBandwidthUnit.Get(), o.LimitBandwidthUnit.IsSet() +} + +// HasLimitBandwidthUnit returns a boolean if a field has been set. +func (o *RepositoryTokenResponse) HasLimitBandwidthUnit() bool { + if o != nil && o.LimitBandwidthUnit.IsSet() { + return true + } + + return false +} + +// SetLimitBandwidthUnit gets a reference to the given NullableString and assigns it to the LimitBandwidthUnit field. +func (o *RepositoryTokenResponse) SetLimitBandwidthUnit(v string) { + o.LimitBandwidthUnit.Set(&v) +} + +// SetLimitBandwidthUnitNil sets the value for LimitBandwidthUnit to be an explicit nil +func (o *RepositoryTokenResponse) SetLimitBandwidthUnitNil() { + o.LimitBandwidthUnit.Set(nil) +} + +// UnsetLimitBandwidthUnit ensures that no value is present for LimitBandwidthUnit, not even an explicit nil +func (o *RepositoryTokenResponse) UnsetLimitBandwidthUnit() { + o.LimitBandwidthUnit.Unset() +} + +// GetLimitDateRangeFrom returns the LimitDateRangeFrom field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *RepositoryTokenResponse) GetLimitDateRangeFrom() time.Time { + if o == nil || isNil(o.LimitDateRangeFrom.Get()) { + var ret time.Time + return ret + } + return *o.LimitDateRangeFrom.Get() +} + +// GetLimitDateRangeFromOk returns a tuple with the LimitDateRangeFrom 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 *RepositoryTokenResponse) GetLimitDateRangeFromOk() (*time.Time, bool) { + if o == nil { + return nil, false + } + return o.LimitDateRangeFrom.Get(), o.LimitDateRangeFrom.IsSet() +} + +// HasLimitDateRangeFrom returns a boolean if a field has been set. +func (o *RepositoryTokenResponse) HasLimitDateRangeFrom() bool { + if o != nil && o.LimitDateRangeFrom.IsSet() { + return true + } + + return false +} + +// SetLimitDateRangeFrom gets a reference to the given NullableTime and assigns it to the LimitDateRangeFrom field. +func (o *RepositoryTokenResponse) SetLimitDateRangeFrom(v time.Time) { + o.LimitDateRangeFrom.Set(&v) +} + +// SetLimitDateRangeFromNil sets the value for LimitDateRangeFrom to be an explicit nil +func (o *RepositoryTokenResponse) SetLimitDateRangeFromNil() { + o.LimitDateRangeFrom.Set(nil) +} + +// UnsetLimitDateRangeFrom ensures that no value is present for LimitDateRangeFrom, not even an explicit nil +func (o *RepositoryTokenResponse) UnsetLimitDateRangeFrom() { + o.LimitDateRangeFrom.Unset() +} + +// GetLimitDateRangeTo returns the LimitDateRangeTo field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *RepositoryTokenResponse) GetLimitDateRangeTo() time.Time { + if o == nil || isNil(o.LimitDateRangeTo.Get()) { + var ret time.Time + return ret + } + return *o.LimitDateRangeTo.Get() +} + +// GetLimitDateRangeToOk returns a tuple with the LimitDateRangeTo 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 *RepositoryTokenResponse) GetLimitDateRangeToOk() (*time.Time, bool) { + if o == nil { + return nil, false + } + return o.LimitDateRangeTo.Get(), o.LimitDateRangeTo.IsSet() +} + +// HasLimitDateRangeTo returns a boolean if a field has been set. +func (o *RepositoryTokenResponse) HasLimitDateRangeTo() bool { + if o != nil && o.LimitDateRangeTo.IsSet() { + return true + } + + return false +} + +// SetLimitDateRangeTo gets a reference to the given NullableTime and assigns it to the LimitDateRangeTo field. +func (o *RepositoryTokenResponse) SetLimitDateRangeTo(v time.Time) { + o.LimitDateRangeTo.Set(&v) +} + +// SetLimitDateRangeToNil sets the value for LimitDateRangeTo to be an explicit nil +func (o *RepositoryTokenResponse) SetLimitDateRangeToNil() { + o.LimitDateRangeTo.Set(nil) +} + +// UnsetLimitDateRangeTo ensures that no value is present for LimitDateRangeTo, not even an explicit nil +func (o *RepositoryTokenResponse) UnsetLimitDateRangeTo() { + o.LimitDateRangeTo.Unset() +} + +// GetLimitNumClients returns the LimitNumClients field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *RepositoryTokenResponse) GetLimitNumClients() int64 { + if o == nil || isNil(o.LimitNumClients.Get()) { + var ret int64 + return ret + } + return *o.LimitNumClients.Get() +} + +// GetLimitNumClientsOk returns a tuple with the LimitNumClients 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 *RepositoryTokenResponse) GetLimitNumClientsOk() (*int64, bool) { + if o == nil { + return nil, false + } + return o.LimitNumClients.Get(), o.LimitNumClients.IsSet() +} + +// HasLimitNumClients returns a boolean if a field has been set. +func (o *RepositoryTokenResponse) HasLimitNumClients() bool { + if o != nil && o.LimitNumClients.IsSet() { + return true + } + + return false +} + +// SetLimitNumClients gets a reference to the given NullableInt64 and assigns it to the LimitNumClients field. +func (o *RepositoryTokenResponse) SetLimitNumClients(v int64) { + o.LimitNumClients.Set(&v) +} + +// SetLimitNumClientsNil sets the value for LimitNumClients to be an explicit nil +func (o *RepositoryTokenResponse) SetLimitNumClientsNil() { + o.LimitNumClients.Set(nil) +} + +// UnsetLimitNumClients ensures that no value is present for LimitNumClients, not even an explicit nil +func (o *RepositoryTokenResponse) UnsetLimitNumClients() { + o.LimitNumClients.Unset() +} + +// GetLimitNumDownloads returns the LimitNumDownloads field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *RepositoryTokenResponse) GetLimitNumDownloads() int64 { + if o == nil || isNil(o.LimitNumDownloads.Get()) { + var ret int64 + return ret + } + return *o.LimitNumDownloads.Get() +} + +// GetLimitNumDownloadsOk returns a tuple with the LimitNumDownloads 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 *RepositoryTokenResponse) GetLimitNumDownloadsOk() (*int64, bool) { + if o == nil { + return nil, false + } + return o.LimitNumDownloads.Get(), o.LimitNumDownloads.IsSet() +} + +// HasLimitNumDownloads returns a boolean if a field has been set. +func (o *RepositoryTokenResponse) HasLimitNumDownloads() bool { + if o != nil && o.LimitNumDownloads.IsSet() { + return true + } + + return false +} + +// SetLimitNumDownloads gets a reference to the given NullableInt64 and assigns it to the LimitNumDownloads field. +func (o *RepositoryTokenResponse) SetLimitNumDownloads(v int64) { + o.LimitNumDownloads.Set(&v) +} + +// SetLimitNumDownloadsNil sets the value for LimitNumDownloads to be an explicit nil +func (o *RepositoryTokenResponse) SetLimitNumDownloadsNil() { + o.LimitNumDownloads.Set(nil) +} + +// UnsetLimitNumDownloads ensures that no value is present for LimitNumDownloads, not even an explicit nil +func (o *RepositoryTokenResponse) UnsetLimitNumDownloads() { + o.LimitNumDownloads.Unset() +} + +// GetLimitPackageQuery returns the LimitPackageQuery field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *RepositoryTokenResponse) GetLimitPackageQuery() string { + if o == nil || isNil(o.LimitPackageQuery.Get()) { + var ret string + return ret + } + return *o.LimitPackageQuery.Get() +} + +// GetLimitPackageQueryOk returns a tuple with the LimitPackageQuery 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 *RepositoryTokenResponse) GetLimitPackageQueryOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.LimitPackageQuery.Get(), o.LimitPackageQuery.IsSet() +} + +// HasLimitPackageQuery returns a boolean if a field has been set. +func (o *RepositoryTokenResponse) HasLimitPackageQuery() bool { + if o != nil && o.LimitPackageQuery.IsSet() { + return true + } + + return false +} + +// SetLimitPackageQuery gets a reference to the given NullableString and assigns it to the LimitPackageQuery field. +func (o *RepositoryTokenResponse) SetLimitPackageQuery(v string) { + o.LimitPackageQuery.Set(&v) +} + +// SetLimitPackageQueryNil sets the value for LimitPackageQuery to be an explicit nil +func (o *RepositoryTokenResponse) SetLimitPackageQueryNil() { + o.LimitPackageQuery.Set(nil) +} + +// UnsetLimitPackageQuery ensures that no value is present for LimitPackageQuery, not even an explicit nil +func (o *RepositoryTokenResponse) UnsetLimitPackageQuery() { + o.LimitPackageQuery.Unset() +} + +// GetLimitPathQuery returns the LimitPathQuery field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *RepositoryTokenResponse) GetLimitPathQuery() string { + if o == nil || isNil(o.LimitPathQuery.Get()) { + var ret string + return ret + } + return *o.LimitPathQuery.Get() +} + +// GetLimitPathQueryOk returns a tuple with the LimitPathQuery 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 *RepositoryTokenResponse) GetLimitPathQueryOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.LimitPathQuery.Get(), o.LimitPathQuery.IsSet() +} + +// HasLimitPathQuery returns a boolean if a field has been set. +func (o *RepositoryTokenResponse) HasLimitPathQuery() bool { + if o != nil && o.LimitPathQuery.IsSet() { + return true + } + + return false +} + +// SetLimitPathQuery gets a reference to the given NullableString and assigns it to the LimitPathQuery field. +func (o *RepositoryTokenResponse) SetLimitPathQuery(v string) { + o.LimitPathQuery.Set(&v) +} + +// SetLimitPathQueryNil sets the value for LimitPathQuery to be an explicit nil +func (o *RepositoryTokenResponse) SetLimitPathQueryNil() { + o.LimitPathQuery.Set(nil) +} + +// UnsetLimitPathQuery ensures that no value is present for LimitPathQuery, not even an explicit nil +func (o *RepositoryTokenResponse) UnsetLimitPathQuery() { + o.LimitPathQuery.Unset() +} + +// GetMetadata returns the Metadata field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *RepositoryTokenResponse) GetMetadata() map[string]interface{} { + if o == nil { + var ret map[string]interface{} + return ret + } + return o.Metadata +} + +// GetMetadataOk returns a tuple with the Metadata 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 *RepositoryTokenResponse) GetMetadataOk() (map[string]interface{}, bool) { + if o == nil || isNil(o.Metadata) { + return map[string]interface{}{}, false + } + return o.Metadata, true +} + +// HasMetadata returns a boolean if a field has been set. +func (o *RepositoryTokenResponse) HasMetadata() bool { + if o != nil && isNil(o.Metadata) { + return true + } + + return false +} + +// SetMetadata gets a reference to the given map[string]interface{} and assigns it to the Metadata field. +func (o *RepositoryTokenResponse) SetMetadata(v map[string]interface{}) { + o.Metadata = v +} + +// GetName returns the Name field value +func (o *RepositoryTokenResponse) GetName() string { + if o == nil { + var ret string + return ret + } + + return o.Name +} + +// GetNameOk returns a tuple with the Name field value +// and a boolean to check if the value has been set. +func (o *RepositoryTokenResponse) GetNameOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Name, true +} + +// SetName sets field value +func (o *RepositoryTokenResponse) SetName(v string) { + o.Name = v +} + +// GetRefreshUrl returns the RefreshUrl field value if set, zero value otherwise. +func (o *RepositoryTokenResponse) GetRefreshUrl() string { + if o == nil || isNil(o.RefreshUrl) { + var ret string + return ret + } + return *o.RefreshUrl +} + +// GetRefreshUrlOk returns a tuple with the RefreshUrl field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *RepositoryTokenResponse) GetRefreshUrlOk() (*string, bool) { + if o == nil || isNil(o.RefreshUrl) { + return nil, false + } + return o.RefreshUrl, true +} + +// HasRefreshUrl returns a boolean if a field has been set. +func (o *RepositoryTokenResponse) HasRefreshUrl() bool { + if o != nil && !isNil(o.RefreshUrl) { + return true + } + + return false +} + +// SetRefreshUrl gets a reference to the given string and assigns it to the RefreshUrl field. +func (o *RepositoryTokenResponse) SetRefreshUrl(v string) { + o.RefreshUrl = &v +} + +// GetResetUrl returns the ResetUrl field value if set, zero value otherwise. +func (o *RepositoryTokenResponse) GetResetUrl() string { + if o == nil || isNil(o.ResetUrl) { + var ret string + return ret + } + return *o.ResetUrl +} + +// GetResetUrlOk returns a tuple with the ResetUrl field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *RepositoryTokenResponse) GetResetUrlOk() (*string, bool) { + if o == nil || isNil(o.ResetUrl) { + return nil, false + } + return o.ResetUrl, true +} + +// HasResetUrl returns a boolean if a field has been set. +func (o *RepositoryTokenResponse) HasResetUrl() bool { + if o != nil && !isNil(o.ResetUrl) { + return true + } + + return false +} + +// SetResetUrl gets a reference to the given string and assigns it to the ResetUrl field. +func (o *RepositoryTokenResponse) SetResetUrl(v string) { + o.ResetUrl = &v +} + +// GetScheduledResetAt returns the ScheduledResetAt field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *RepositoryTokenResponse) GetScheduledResetAt() time.Time { + if o == nil || isNil(o.ScheduledResetAt.Get()) { + var ret time.Time + return ret + } + return *o.ScheduledResetAt.Get() +} + +// GetScheduledResetAtOk returns a tuple with the ScheduledResetAt 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 *RepositoryTokenResponse) GetScheduledResetAtOk() (*time.Time, bool) { + if o == nil { + return nil, false + } + return o.ScheduledResetAt.Get(), o.ScheduledResetAt.IsSet() +} + +// HasScheduledResetAt returns a boolean if a field has been set. +func (o *RepositoryTokenResponse) HasScheduledResetAt() bool { + if o != nil && o.ScheduledResetAt.IsSet() { + return true + } + + return false +} + +// SetScheduledResetAt gets a reference to the given NullableTime and assigns it to the ScheduledResetAt field. +func (o *RepositoryTokenResponse) SetScheduledResetAt(v time.Time) { + o.ScheduledResetAt.Set(&v) +} + +// SetScheduledResetAtNil sets the value for ScheduledResetAt to be an explicit nil +func (o *RepositoryTokenResponse) SetScheduledResetAtNil() { + o.ScheduledResetAt.Set(nil) +} + +// UnsetScheduledResetAt ensures that no value is present for ScheduledResetAt, not even an explicit nil +func (o *RepositoryTokenResponse) UnsetScheduledResetAt() { + o.ScheduledResetAt.Unset() +} + +// GetScheduledResetPeriod returns the ScheduledResetPeriod field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *RepositoryTokenResponse) GetScheduledResetPeriod() string { + if o == nil || isNil(o.ScheduledResetPeriod.Get()) { + var ret string + return ret + } + return *o.ScheduledResetPeriod.Get() +} + +// GetScheduledResetPeriodOk returns a tuple with the ScheduledResetPeriod 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 *RepositoryTokenResponse) GetScheduledResetPeriodOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.ScheduledResetPeriod.Get(), o.ScheduledResetPeriod.IsSet() +} + +// HasScheduledResetPeriod returns a boolean if a field has been set. +func (o *RepositoryTokenResponse) HasScheduledResetPeriod() bool { + if o != nil && o.ScheduledResetPeriod.IsSet() { + return true + } + + return false +} + +// SetScheduledResetPeriod gets a reference to the given NullableString and assigns it to the ScheduledResetPeriod field. +func (o *RepositoryTokenResponse) SetScheduledResetPeriod(v string) { + o.ScheduledResetPeriod.Set(&v) +} + +// SetScheduledResetPeriodNil sets the value for ScheduledResetPeriod to be an explicit nil +func (o *RepositoryTokenResponse) SetScheduledResetPeriodNil() { + o.ScheduledResetPeriod.Set(nil) +} + +// UnsetScheduledResetPeriod ensures that no value is present for ScheduledResetPeriod, not even an explicit nil +func (o *RepositoryTokenResponse) UnsetScheduledResetPeriod() { + o.ScheduledResetPeriod.Unset() +} + +// GetSelfUrl returns the SelfUrl field value if set, zero value otherwise. +func (o *RepositoryTokenResponse) GetSelfUrl() string { + if o == nil || isNil(o.SelfUrl) { + var ret string + return ret + } + return *o.SelfUrl +} + +// GetSelfUrlOk returns a tuple with the SelfUrl field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *RepositoryTokenResponse) GetSelfUrlOk() (*string, bool) { + if o == nil || isNil(o.SelfUrl) { + return nil, false + } + return o.SelfUrl, true +} + +// HasSelfUrl returns a boolean if a field has been set. +func (o *RepositoryTokenResponse) HasSelfUrl() bool { + if o != nil && !isNil(o.SelfUrl) { + return true + } + + return false +} + +// SetSelfUrl gets a reference to the given string and assigns it to the SelfUrl field. +func (o *RepositoryTokenResponse) SetSelfUrl(v string) { + o.SelfUrl = &v +} + +// GetSlugPerm returns the SlugPerm field value if set, zero value otherwise. +func (o *RepositoryTokenResponse) GetSlugPerm() string { + if o == nil || isNil(o.SlugPerm) { + var ret string + return ret + } + return *o.SlugPerm +} + +// GetSlugPermOk returns a tuple with the SlugPerm field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *RepositoryTokenResponse) GetSlugPermOk() (*string, bool) { + if o == nil || isNil(o.SlugPerm) { + return nil, false + } + return o.SlugPerm, true +} + +// HasSlugPerm returns a boolean if a field has been set. +func (o *RepositoryTokenResponse) HasSlugPerm() bool { + if o != nil && !isNil(o.SlugPerm) { + return true + } + + return false +} + +// SetSlugPerm gets a reference to the given string and assigns it to the SlugPerm field. +func (o *RepositoryTokenResponse) SetSlugPerm(v string) { + o.SlugPerm = &v +} + +// GetToken returns the Token field value if set, zero value otherwise. +func (o *RepositoryTokenResponse) GetToken() string { + if o == nil || isNil(o.Token) { + var ret string + return ret + } + return *o.Token +} + +// GetTokenOk returns a tuple with the Token field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *RepositoryTokenResponse) GetTokenOk() (*string, bool) { + if o == nil || isNil(o.Token) { + return nil, false + } + return o.Token, true +} + +// HasToken returns a boolean if a field has been set. +func (o *RepositoryTokenResponse) HasToken() bool { + if o != nil && !isNil(o.Token) { + return true + } + + return false +} + +// SetToken gets a reference to the given string and assigns it to the Token field. +func (o *RepositoryTokenResponse) SetToken(v string) { + o.Token = &v +} + +// GetUpdatedAt returns the UpdatedAt field value if set, zero value otherwise. +func (o *RepositoryTokenResponse) GetUpdatedAt() time.Time { + if o == nil || isNil(o.UpdatedAt) { + var ret time.Time + return ret + } + return *o.UpdatedAt +} + +// GetUpdatedAtOk returns a tuple with the UpdatedAt field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *RepositoryTokenResponse) GetUpdatedAtOk() (*time.Time, bool) { + if o == nil || isNil(o.UpdatedAt) { + return nil, false + } + return o.UpdatedAt, true +} + +// HasUpdatedAt returns a boolean if a field has been set. +func (o *RepositoryTokenResponse) HasUpdatedAt() bool { + if o != nil && !isNil(o.UpdatedAt) { + return true + } + + return false +} + +// SetUpdatedAt gets a reference to the given time.Time and assigns it to the UpdatedAt field. +func (o *RepositoryTokenResponse) SetUpdatedAt(v time.Time) { + o.UpdatedAt = &v +} + +// GetUpdatedBy returns the UpdatedBy field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *RepositoryTokenResponse) GetUpdatedBy() string { + if o == nil || isNil(o.UpdatedBy.Get()) { + var ret string + return ret + } + return *o.UpdatedBy.Get() +} + +// GetUpdatedByOk returns a tuple with the UpdatedBy 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 *RepositoryTokenResponse) GetUpdatedByOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.UpdatedBy.Get(), o.UpdatedBy.IsSet() +} + +// HasUpdatedBy returns a boolean if a field has been set. +func (o *RepositoryTokenResponse) HasUpdatedBy() bool { + if o != nil && o.UpdatedBy.IsSet() { + return true + } + + return false +} + +// SetUpdatedBy gets a reference to the given NullableString and assigns it to the UpdatedBy field. +func (o *RepositoryTokenResponse) SetUpdatedBy(v string) { + o.UpdatedBy.Set(&v) +} + +// SetUpdatedByNil sets the value for UpdatedBy to be an explicit nil +func (o *RepositoryTokenResponse) SetUpdatedByNil() { + o.UpdatedBy.Set(nil) +} + +// UnsetUpdatedBy ensures that no value is present for UpdatedBy, not even an explicit nil +func (o *RepositoryTokenResponse) UnsetUpdatedBy() { + o.UpdatedBy.Unset() +} + +// GetUpdatedByUrl returns the UpdatedByUrl field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *RepositoryTokenResponse) GetUpdatedByUrl() string { + if o == nil || isNil(o.UpdatedByUrl.Get()) { + var ret string + return ret + } + return *o.UpdatedByUrl.Get() +} + +// GetUpdatedByUrlOk returns a tuple with the UpdatedByUrl 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 *RepositoryTokenResponse) GetUpdatedByUrlOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.UpdatedByUrl.Get(), o.UpdatedByUrl.IsSet() +} + +// HasUpdatedByUrl returns a boolean if a field has been set. +func (o *RepositoryTokenResponse) HasUpdatedByUrl() bool { + if o != nil && o.UpdatedByUrl.IsSet() { + return true + } + + return false +} + +// SetUpdatedByUrl gets a reference to the given NullableString and assigns it to the UpdatedByUrl field. +func (o *RepositoryTokenResponse) SetUpdatedByUrl(v string) { + o.UpdatedByUrl.Set(&v) +} + +// SetUpdatedByUrlNil sets the value for UpdatedByUrl to be an explicit nil +func (o *RepositoryTokenResponse) SetUpdatedByUrlNil() { + o.UpdatedByUrl.Set(nil) +} + +// UnsetUpdatedByUrl ensures that no value is present for UpdatedByUrl, not even an explicit nil +func (o *RepositoryTokenResponse) UnsetUpdatedByUrl() { + o.UpdatedByUrl.Unset() +} + +// GetUsage returns the Usage field value if set, zero value otherwise. +func (o *RepositoryTokenResponse) GetUsage() string { + if o == nil || isNil(o.Usage) { + var ret string + return ret + } + return *o.Usage +} + +// GetUsageOk returns a tuple with the Usage field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *RepositoryTokenResponse) GetUsageOk() (*string, bool) { + if o == nil || isNil(o.Usage) { + return nil, false + } + return o.Usage, true +} + +// HasUsage returns a boolean if a field has been set. +func (o *RepositoryTokenResponse) HasUsage() bool { + if o != nil && !isNil(o.Usage) { + return true + } + + return false +} + +// SetUsage gets a reference to the given string and assigns it to the Usage field. +func (o *RepositoryTokenResponse) SetUsage(v string) { + o.Usage = &v +} + +// GetUser returns the User field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *RepositoryTokenResponse) GetUser() string { + if o == nil || isNil(o.User.Get()) { + var ret string + return ret + } + return *o.User.Get() +} + +// GetUserOk returns a tuple with the User 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 *RepositoryTokenResponse) GetUserOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.User.Get(), o.User.IsSet() +} + +// HasUser returns a boolean if a field has been set. +func (o *RepositoryTokenResponse) HasUser() bool { + if o != nil && o.User.IsSet() { + return true + } + + return false +} + +// SetUser gets a reference to the given NullableString and assigns it to the User field. +func (o *RepositoryTokenResponse) SetUser(v string) { + o.User.Set(&v) +} + +// SetUserNil sets the value for User to be an explicit nil +func (o *RepositoryTokenResponse) SetUserNil() { + o.User.Set(nil) +} + +// UnsetUser ensures that no value is present for User, not even an explicit nil +func (o *RepositoryTokenResponse) UnsetUser() { + o.User.Unset() +} + +// GetUserUrl returns the UserUrl field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *RepositoryTokenResponse) GetUserUrl() string { + if o == nil || isNil(o.UserUrl.Get()) { + var ret string + return ret + } + return *o.UserUrl.Get() +} + +// GetUserUrlOk returns a tuple with the UserUrl 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 *RepositoryTokenResponse) GetUserUrlOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.UserUrl.Get(), o.UserUrl.IsSet() +} + +// HasUserUrl returns a boolean if a field has been set. +func (o *RepositoryTokenResponse) HasUserUrl() bool { + if o != nil && o.UserUrl.IsSet() { + return true + } + + return false +} + +// SetUserUrl gets a reference to the given NullableString and assigns it to the UserUrl field. +func (o *RepositoryTokenResponse) SetUserUrl(v string) { + o.UserUrl.Set(&v) +} + +// SetUserUrlNil sets the value for UserUrl to be an explicit nil +func (o *RepositoryTokenResponse) SetUserUrlNil() { + o.UserUrl.Set(nil) +} + +// UnsetUserUrl ensures that no value is present for UserUrl, not even an explicit nil +func (o *RepositoryTokenResponse) UnsetUserUrl() { + o.UserUrl.Unset() +} + +func (o RepositoryTokenResponse) MarshalJSON() ([]byte, error) { + toSerialize := map[string]interface{}{} + if !isNil(o.Clients) { + toSerialize["clients"] = o.Clients + } + if !isNil(o.CreatedAt) { + toSerialize["created_at"] = o.CreatedAt + } + if !isNil(o.CreatedBy) { + toSerialize["created_by"] = o.CreatedBy + } + if !isNil(o.CreatedByUrl) { + toSerialize["created_by_url"] = o.CreatedByUrl + } + if !isNil(o.Default) { + toSerialize["default"] = o.Default + } + if !isNil(o.DisableUrl) { + toSerialize["disable_url"] = o.DisableUrl + } + if !isNil(o.Downloads) { + toSerialize["downloads"] = o.Downloads + } + if !isNil(o.EnableUrl) { + toSerialize["enable_url"] = o.EnableUrl + } + if o.EulaAccepted.IsSet() { + toSerialize["eula_accepted"] = o.EulaAccepted.Get() + } + if !isNil(o.EulaAcceptedAt) { + toSerialize["eula_accepted_at"] = o.EulaAcceptedAt + } + if o.EulaAcceptedFrom.IsSet() { + toSerialize["eula_accepted_from"] = o.EulaAcceptedFrom.Get() + } + if !isNil(o.EulaRequired) { + toSerialize["eula_required"] = o.EulaRequired + } + if !isNil(o.HasLimits) { + toSerialize["has_limits"] = o.HasLimits + } + if !isNil(o.Identifier) { + toSerialize["identifier"] = o.Identifier + } + if !isNil(o.IsActive) { + toSerialize["is_active"] = o.IsActive + } + if !isNil(o.IsLimited) { + toSerialize["is_limited"] = o.IsLimited + } + if o.LimitBandwidth.IsSet() { + toSerialize["limit_bandwidth"] = o.LimitBandwidth.Get() + } + if o.LimitBandwidthUnit.IsSet() { + toSerialize["limit_bandwidth_unit"] = o.LimitBandwidthUnit.Get() + } + if o.LimitDateRangeFrom.IsSet() { + toSerialize["limit_date_range_from"] = o.LimitDateRangeFrom.Get() + } + if o.LimitDateRangeTo.IsSet() { + toSerialize["limit_date_range_to"] = o.LimitDateRangeTo.Get() + } + if o.LimitNumClients.IsSet() { + toSerialize["limit_num_clients"] = o.LimitNumClients.Get() + } + if o.LimitNumDownloads.IsSet() { + toSerialize["limit_num_downloads"] = o.LimitNumDownloads.Get() + } + if o.LimitPackageQuery.IsSet() { + toSerialize["limit_package_query"] = o.LimitPackageQuery.Get() + } + if o.LimitPathQuery.IsSet() { + toSerialize["limit_path_query"] = o.LimitPathQuery.Get() + } + if o.Metadata != nil { + toSerialize["metadata"] = o.Metadata + } + if true { + toSerialize["name"] = o.Name + } + if !isNil(o.RefreshUrl) { + toSerialize["refresh_url"] = o.RefreshUrl + } + if !isNil(o.ResetUrl) { + toSerialize["reset_url"] = o.ResetUrl + } + if o.ScheduledResetAt.IsSet() { + toSerialize["scheduled_reset_at"] = o.ScheduledResetAt.Get() + } + if o.ScheduledResetPeriod.IsSet() { + toSerialize["scheduled_reset_period"] = o.ScheduledResetPeriod.Get() + } + if !isNil(o.SelfUrl) { + toSerialize["self_url"] = o.SelfUrl + } + if !isNil(o.SlugPerm) { + toSerialize["slug_perm"] = o.SlugPerm + } + if !isNil(o.Token) { + toSerialize["token"] = o.Token + } + if !isNil(o.UpdatedAt) { + toSerialize["updated_at"] = o.UpdatedAt + } + if o.UpdatedBy.IsSet() { + toSerialize["updated_by"] = o.UpdatedBy.Get() + } + if o.UpdatedByUrl.IsSet() { + toSerialize["updated_by_url"] = o.UpdatedByUrl.Get() + } + if !isNil(o.Usage) { + toSerialize["usage"] = o.Usage + } + if o.User.IsSet() { + toSerialize["user"] = o.User.Get() + } + if o.UserUrl.IsSet() { + toSerialize["user_url"] = o.UserUrl.Get() + } + return json.Marshal(toSerialize) +} + +type NullableRepositoryTokenResponse struct { + value *RepositoryTokenResponse + isSet bool +} + +func (v NullableRepositoryTokenResponse) Get() *RepositoryTokenResponse { + return v.value +} + +func (v *NullableRepositoryTokenResponse) Set(val *RepositoryTokenResponse) { + v.value = val + v.isSet = true +} + +func (v NullableRepositoryTokenResponse) IsSet() bool { + return v.isSet +} + +func (v *NullableRepositoryTokenResponse) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableRepositoryTokenResponse(val *RepositoryTokenResponse) *NullableRepositoryTokenResponse { + return &NullableRepositoryTokenResponse{value: val, isSet: true} +} + +func (v NullableRepositoryTokenResponse) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableRepositoryTokenResponse) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} diff --git a/model_repository_token_sync.go b/model_repository_token_sync.go deleted file mode 100644 index 1dc1121e..00000000 --- a/model_repository_token_sync.go +++ /dev/null @@ -1,115 +0,0 @@ -/* -Cloudsmith API - -The API to the Cloudsmith Service - -API version: 1.121.3 -Contact: support@cloudsmith.io -*/ - -// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. - -package cloudsmith - -import ( - "encoding/json" -) - -// RepositoryTokenSync struct for RepositoryTokenSync -type RepositoryTokenSync struct { - // The entitlements that have been synchronised. - Tokens []RepositoryTokenSyncTokens `json:"tokens,omitempty"` -} - -// NewRepositoryTokenSync instantiates a new RepositoryTokenSync object -// 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 NewRepositoryTokenSync() *RepositoryTokenSync { - this := RepositoryTokenSync{} - return &this -} - -// NewRepositoryTokenSyncWithDefaults instantiates a new RepositoryTokenSync object -// This constructor will only assign default values to properties that have it defined, -// but it doesn't guarantee that properties required by API are set -func NewRepositoryTokenSyncWithDefaults() *RepositoryTokenSync { - this := RepositoryTokenSync{} - return &this -} - -// GetTokens returns the Tokens field value if set, zero value otherwise. -func (o *RepositoryTokenSync) GetTokens() []RepositoryTokenSyncTokens { - if o == nil || o.Tokens == nil { - var ret []RepositoryTokenSyncTokens - return ret - } - return o.Tokens -} - -// GetTokensOk returns a tuple with the Tokens field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *RepositoryTokenSync) GetTokensOk() ([]RepositoryTokenSyncTokens, bool) { - if o == nil || o.Tokens == nil { - return nil, false - } - return o.Tokens, true -} - -// HasTokens returns a boolean if a field has been set. -func (o *RepositoryTokenSync) HasTokens() bool { - if o != nil && o.Tokens != nil { - return true - } - - return false -} - -// SetTokens gets a reference to the given []RepositoryTokenSyncTokens and assigns it to the Tokens field. -func (o *RepositoryTokenSync) SetTokens(v []RepositoryTokenSyncTokens) { - o.Tokens = v -} - -func (o RepositoryTokenSync) MarshalJSON() ([]byte, error) { - toSerialize := map[string]interface{}{} - if o.Tokens != nil { - toSerialize["tokens"] = o.Tokens - } - return json.Marshal(toSerialize) -} - -type NullableRepositoryTokenSync struct { - value *RepositoryTokenSync - isSet bool -} - -func (v NullableRepositoryTokenSync) Get() *RepositoryTokenSync { - return v.value -} - -func (v *NullableRepositoryTokenSync) Set(val *RepositoryTokenSync) { - v.value = val - v.isSet = true -} - -func (v NullableRepositoryTokenSync) IsSet() bool { - return v.isSet -} - -func (v *NullableRepositoryTokenSync) Unset() { - v.value = nil - v.isSet = false -} - -func NewNullableRepositoryTokenSync(val *RepositoryTokenSync) *NullableRepositoryTokenSync { - return &NullableRepositoryTokenSync{value: val, isSet: true} -} - -func (v NullableRepositoryTokenSync) MarshalJSON() ([]byte, error) { - return json.Marshal(v.value) -} - -func (v *NullableRepositoryTokenSync) UnmarshalJSON(src []byte) error { - v.isSet = true - return json.Unmarshal(src, &v.value) -} diff --git a/model_repository_token_sync_request.go b/model_repository_token_sync_request.go new file mode 100644 index 00000000..ca0e8e3f --- /dev/null +++ b/model_repository_token_sync_request.go @@ -0,0 +1,108 @@ +/* +Cloudsmith API (v1) + +The API to the Cloudsmith Service + +API version: 1.181.6 +Contact: support@cloudsmith.io +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cloudsmith + +import ( + "encoding/json" +) + +// RepositoryTokenSyncRequest struct for RepositoryTokenSyncRequest +type RepositoryTokenSyncRequest struct { + // The source repository slug (in the same owner namespace). + Source string `json:"source"` +} + +// NewRepositoryTokenSyncRequest instantiates a new RepositoryTokenSyncRequest object +// 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 NewRepositoryTokenSyncRequest(source string) *RepositoryTokenSyncRequest { + this := RepositoryTokenSyncRequest{} + this.Source = source + return &this +} + +// NewRepositoryTokenSyncRequestWithDefaults instantiates a new RepositoryTokenSyncRequest object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewRepositoryTokenSyncRequestWithDefaults() *RepositoryTokenSyncRequest { + this := RepositoryTokenSyncRequest{} + return &this +} + +// GetSource returns the Source field value +func (o *RepositoryTokenSyncRequest) GetSource() string { + if o == nil { + var ret string + return ret + } + + return o.Source +} + +// GetSourceOk returns a tuple with the Source field value +// and a boolean to check if the value has been set. +func (o *RepositoryTokenSyncRequest) GetSourceOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Source, true +} + +// SetSource sets field value +func (o *RepositoryTokenSyncRequest) SetSource(v string) { + o.Source = v +} + +func (o RepositoryTokenSyncRequest) MarshalJSON() ([]byte, error) { + toSerialize := map[string]interface{}{} + if true { + toSerialize["source"] = o.Source + } + return json.Marshal(toSerialize) +} + +type NullableRepositoryTokenSyncRequest struct { + value *RepositoryTokenSyncRequest + isSet bool +} + +func (v NullableRepositoryTokenSyncRequest) Get() *RepositoryTokenSyncRequest { + return v.value +} + +func (v *NullableRepositoryTokenSyncRequest) Set(val *RepositoryTokenSyncRequest) { + v.value = val + v.isSet = true +} + +func (v NullableRepositoryTokenSyncRequest) IsSet() bool { + return v.isSet +} + +func (v *NullableRepositoryTokenSyncRequest) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableRepositoryTokenSyncRequest(val *RepositoryTokenSyncRequest) *NullableRepositoryTokenSyncRequest { + return &NullableRepositoryTokenSyncRequest{value: val, isSet: true} +} + +func (v NullableRepositoryTokenSyncRequest) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableRepositoryTokenSyncRequest) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} diff --git a/model_repository_token_sync_response.go b/model_repository_token_sync_response.go new file mode 100644 index 00000000..5e594bc5 --- /dev/null +++ b/model_repository_token_sync_response.go @@ -0,0 +1,115 @@ +/* +Cloudsmith API (v1) + +The API to the Cloudsmith Service + +API version: 1.181.6 +Contact: support@cloudsmith.io +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cloudsmith + +import ( + "encoding/json" +) + +// RepositoryTokenSyncResponse struct for RepositoryTokenSyncResponse +type RepositoryTokenSyncResponse struct { + // The entitlements that have been synchronised. + Tokens []RepositoryToken `json:"tokens,omitempty"` +} + +// NewRepositoryTokenSyncResponse instantiates a new RepositoryTokenSyncResponse object +// 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 NewRepositoryTokenSyncResponse() *RepositoryTokenSyncResponse { + this := RepositoryTokenSyncResponse{} + return &this +} + +// NewRepositoryTokenSyncResponseWithDefaults instantiates a new RepositoryTokenSyncResponse object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewRepositoryTokenSyncResponseWithDefaults() *RepositoryTokenSyncResponse { + this := RepositoryTokenSyncResponse{} + return &this +} + +// GetTokens returns the Tokens field value if set, zero value otherwise. +func (o *RepositoryTokenSyncResponse) GetTokens() []RepositoryToken { + if o == nil || isNil(o.Tokens) { + var ret []RepositoryToken + return ret + } + return o.Tokens +} + +// GetTokensOk returns a tuple with the Tokens field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *RepositoryTokenSyncResponse) GetTokensOk() ([]RepositoryToken, bool) { + if o == nil || isNil(o.Tokens) { + return nil, false + } + return o.Tokens, true +} + +// HasTokens returns a boolean if a field has been set. +func (o *RepositoryTokenSyncResponse) HasTokens() bool { + if o != nil && !isNil(o.Tokens) { + return true + } + + return false +} + +// SetTokens gets a reference to the given []RepositoryToken and assigns it to the Tokens field. +func (o *RepositoryTokenSyncResponse) SetTokens(v []RepositoryToken) { + o.Tokens = v +} + +func (o RepositoryTokenSyncResponse) MarshalJSON() ([]byte, error) { + toSerialize := map[string]interface{}{} + if !isNil(o.Tokens) { + toSerialize["tokens"] = o.Tokens + } + return json.Marshal(toSerialize) +} + +type NullableRepositoryTokenSyncResponse struct { + value *RepositoryTokenSyncResponse + isSet bool +} + +func (v NullableRepositoryTokenSyncResponse) Get() *RepositoryTokenSyncResponse { + return v.value +} + +func (v *NullableRepositoryTokenSyncResponse) Set(val *RepositoryTokenSyncResponse) { + v.value = val + v.isSet = true +} + +func (v NullableRepositoryTokenSyncResponse) IsSet() bool { + return v.isSet +} + +func (v *NullableRepositoryTokenSyncResponse) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableRepositoryTokenSyncResponse(val *RepositoryTokenSyncResponse) *NullableRepositoryTokenSyncResponse { + return &NullableRepositoryTokenSyncResponse{value: val, isSet: true} +} + +func (v NullableRepositoryTokenSyncResponse) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableRepositoryTokenSyncResponse) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} diff --git a/model_repository_token_sync_tokens.go b/model_repository_token_sync_tokens.go deleted file mode 100644 index 57a54223..00000000 --- a/model_repository_token_sync_tokens.go +++ /dev/null @@ -1,1521 +0,0 @@ -/* -Cloudsmith API - -The API to the Cloudsmith Service - -API version: 1.121.3 -Contact: support@cloudsmith.io -*/ - -// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. - -package cloudsmith - -import ( - "encoding/json" -) - -// RepositoryTokenSyncTokens struct for RepositoryTokenSyncTokens -type RepositoryTokenSyncTokens struct { - // - Clients *int64 `json:"clients,omitempty"` - // The datetime the token was updated at. - CreatedAt *string `json:"created_at,omitempty"` - // - CreatedBy *string `json:"created_by,omitempty"` - // - CreatedByUrl *string `json:"created_by_url,omitempty"` - // If selected this is the default token for this repository. - Default *bool `json:"default,omitempty"` - // - DisableUrl *string `json:"disable_url,omitempty"` - // - Downloads *int64 `json:"downloads,omitempty"` - // - EnableUrl *string `json:"enable_url,omitempty"` - // - EulaAccepted map[string]interface{} `json:"eula_accepted,omitempty"` - // The datetime the EULA was accepted at. - EulaAcceptedAt *string `json:"eula_accepted_at,omitempty"` - // - EulaAcceptedFrom *string `json:"eula_accepted_from,omitempty"` - // If checked, a EULA acceptance is required for this token. - EulaRequired *bool `json:"eula_required,omitempty"` - // - HasLimits *bool `json:"has_limits,omitempty"` - // - Identifier *int64 `json:"identifier,omitempty"` - // If enabled, the token will allow downloads based on configured restrictions (if any). - IsActive *bool `json:"is_active,omitempty"` - // - IsLimited *bool `json:"is_limited,omitempty"` - // The maximum download bandwidth allowed for the token. Values are expressed as the selected unit of bandwidth. Please note that since downloads are calculated asynchronously (after the download happens), the limit may not be imposed immediately but at a later point. - LimitBandwidth *int64 `json:"limit_bandwidth,omitempty"` - // - LimitBandwidthUnit *string `json:"limit_bandwidth_unit,omitempty"` - // The starting date/time the token is allowed to be used from. - LimitDateRangeFrom *string `json:"limit_date_range_from,omitempty"` - // The ending date/time the token is allowed to be used until. - LimitDateRangeTo *string `json:"limit_date_range_to,omitempty"` - // The maximum number of unique clients allowed for the token. Please note that since clients are calculated asynchronously (after the download happens), the limit may not be imposed immediately but at a later point. - LimitNumClients *int64 `json:"limit_num_clients,omitempty"` - // The maximum number of downloads allowed for the token. Please note that since downloads are calculated asynchronously (after the download happens), the limit may not be imposed immediately but at a later point. - LimitNumDownloads *int64 `json:"limit_num_downloads,omitempty"` - // The package-based search query to apply to restrict downloads to. This uses the same syntax as the standard search used for repositories, and also supports boolean logic operators such as OR/AND/NOT and parentheses for grouping. This will still allow access to non-package files, such as metadata. - LimitPackageQuery *string `json:"limit_package_query,omitempty"` - // The path-based search query to apply to restrict downloads to. This supports boolean logic operators such as OR/AND/NOT and parentheses for grouping. The path evaluated does not include the domain name, the namespace, the entitlement code used, the package format, etc. and it always starts with a forward slash. - LimitPathQuery *string `json:"limit_path_query,omitempty"` - // - Metadata *string `json:"metadata,omitempty"` - // - Name *string `json:"name,omitempty"` - // - RefreshUrl *string `json:"refresh_url,omitempty"` - // - ResetUrl *string `json:"reset_url,omitempty"` - // The time at which the scheduled reset period has elapsed and the token limits were automatically reset to zero. - ScheduledResetAt *string `json:"scheduled_reset_at,omitempty"` - // - ScheduledResetPeriod *string `json:"scheduled_reset_period,omitempty"` - // - SelfUrl *string `json:"self_url,omitempty"` - // - SlugPerm *string `json:"slug_perm,omitempty"` - // - Token *string `json:"token,omitempty"` - // The datetime the token was updated at. - UpdatedAt *string `json:"updated_at,omitempty"` - // - UpdatedBy *string `json:"updated_by,omitempty"` - // - UpdatedByUrl *string `json:"updated_by_url,omitempty"` - // - Usage *string `json:"usage,omitempty"` - // - User *string `json:"user,omitempty"` - // - UserUrl *string `json:"user_url,omitempty"` -} - -// NewRepositoryTokenSyncTokens instantiates a new RepositoryTokenSyncTokens object -// 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 NewRepositoryTokenSyncTokens() *RepositoryTokenSyncTokens { - this := RepositoryTokenSyncTokens{} - return &this -} - -// NewRepositoryTokenSyncTokensWithDefaults instantiates a new RepositoryTokenSyncTokens object -// This constructor will only assign default values to properties that have it defined, -// but it doesn't guarantee that properties required by API are set -func NewRepositoryTokenSyncTokensWithDefaults() *RepositoryTokenSyncTokens { - this := RepositoryTokenSyncTokens{} - return &this -} - -// GetClients returns the Clients field value if set, zero value otherwise. -func (o *RepositoryTokenSyncTokens) GetClients() int64 { - if o == nil || o.Clients == nil { - var ret int64 - return ret - } - return *o.Clients -} - -// GetClientsOk returns a tuple with the Clients field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *RepositoryTokenSyncTokens) GetClientsOk() (*int64, bool) { - if o == nil || o.Clients == nil { - return nil, false - } - return o.Clients, true -} - -// HasClients returns a boolean if a field has been set. -func (o *RepositoryTokenSyncTokens) HasClients() bool { - if o != nil && o.Clients != nil { - return true - } - - return false -} - -// SetClients gets a reference to the given int64 and assigns it to the Clients field. -func (o *RepositoryTokenSyncTokens) SetClients(v int64) { - o.Clients = &v -} - -// GetCreatedAt returns the CreatedAt field value if set, zero value otherwise. -func (o *RepositoryTokenSyncTokens) GetCreatedAt() string { - if o == nil || o.CreatedAt == nil { - var ret string - return ret - } - return *o.CreatedAt -} - -// GetCreatedAtOk returns a tuple with the CreatedAt field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *RepositoryTokenSyncTokens) GetCreatedAtOk() (*string, bool) { - if o == nil || o.CreatedAt == nil { - return nil, false - } - return o.CreatedAt, true -} - -// HasCreatedAt returns a boolean if a field has been set. -func (o *RepositoryTokenSyncTokens) HasCreatedAt() bool { - if o != nil && o.CreatedAt != nil { - return true - } - - return false -} - -// SetCreatedAt gets a reference to the given string and assigns it to the CreatedAt field. -func (o *RepositoryTokenSyncTokens) SetCreatedAt(v string) { - o.CreatedAt = &v -} - -// GetCreatedBy returns the CreatedBy field value if set, zero value otherwise. -func (o *RepositoryTokenSyncTokens) GetCreatedBy() string { - if o == nil || o.CreatedBy == nil { - var ret string - return ret - } - return *o.CreatedBy -} - -// GetCreatedByOk returns a tuple with the CreatedBy field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *RepositoryTokenSyncTokens) GetCreatedByOk() (*string, bool) { - if o == nil || o.CreatedBy == nil { - return nil, false - } - return o.CreatedBy, true -} - -// HasCreatedBy returns a boolean if a field has been set. -func (o *RepositoryTokenSyncTokens) HasCreatedBy() bool { - if o != nil && o.CreatedBy != nil { - return true - } - - return false -} - -// SetCreatedBy gets a reference to the given string and assigns it to the CreatedBy field. -func (o *RepositoryTokenSyncTokens) SetCreatedBy(v string) { - o.CreatedBy = &v -} - -// GetCreatedByUrl returns the CreatedByUrl field value if set, zero value otherwise. -func (o *RepositoryTokenSyncTokens) GetCreatedByUrl() string { - if o == nil || o.CreatedByUrl == nil { - var ret string - return ret - } - return *o.CreatedByUrl -} - -// GetCreatedByUrlOk returns a tuple with the CreatedByUrl field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *RepositoryTokenSyncTokens) GetCreatedByUrlOk() (*string, bool) { - if o == nil || o.CreatedByUrl == nil { - return nil, false - } - return o.CreatedByUrl, true -} - -// HasCreatedByUrl returns a boolean if a field has been set. -func (o *RepositoryTokenSyncTokens) HasCreatedByUrl() bool { - if o != nil && o.CreatedByUrl != nil { - return true - } - - return false -} - -// SetCreatedByUrl gets a reference to the given string and assigns it to the CreatedByUrl field. -func (o *RepositoryTokenSyncTokens) SetCreatedByUrl(v string) { - o.CreatedByUrl = &v -} - -// GetDefault returns the Default field value if set, zero value otherwise. -func (o *RepositoryTokenSyncTokens) GetDefault() bool { - if o == nil || o.Default == nil { - var ret bool - return ret - } - return *o.Default -} - -// GetDefaultOk returns a tuple with the Default field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *RepositoryTokenSyncTokens) GetDefaultOk() (*bool, bool) { - if o == nil || o.Default == nil { - return nil, false - } - return o.Default, true -} - -// HasDefault returns a boolean if a field has been set. -func (o *RepositoryTokenSyncTokens) HasDefault() bool { - if o != nil && o.Default != nil { - return true - } - - return false -} - -// SetDefault gets a reference to the given bool and assigns it to the Default field. -func (o *RepositoryTokenSyncTokens) SetDefault(v bool) { - o.Default = &v -} - -// GetDisableUrl returns the DisableUrl field value if set, zero value otherwise. -func (o *RepositoryTokenSyncTokens) GetDisableUrl() string { - if o == nil || o.DisableUrl == nil { - var ret string - return ret - } - return *o.DisableUrl -} - -// GetDisableUrlOk returns a tuple with the DisableUrl field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *RepositoryTokenSyncTokens) GetDisableUrlOk() (*string, bool) { - if o == nil || o.DisableUrl == nil { - return nil, false - } - return o.DisableUrl, true -} - -// HasDisableUrl returns a boolean if a field has been set. -func (o *RepositoryTokenSyncTokens) HasDisableUrl() bool { - if o != nil && o.DisableUrl != nil { - return true - } - - return false -} - -// SetDisableUrl gets a reference to the given string and assigns it to the DisableUrl field. -func (o *RepositoryTokenSyncTokens) SetDisableUrl(v string) { - o.DisableUrl = &v -} - -// GetDownloads returns the Downloads field value if set, zero value otherwise. -func (o *RepositoryTokenSyncTokens) GetDownloads() int64 { - if o == nil || o.Downloads == nil { - var ret int64 - return ret - } - return *o.Downloads -} - -// GetDownloadsOk returns a tuple with the Downloads field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *RepositoryTokenSyncTokens) GetDownloadsOk() (*int64, bool) { - if o == nil || o.Downloads == nil { - return nil, false - } - return o.Downloads, true -} - -// HasDownloads returns a boolean if a field has been set. -func (o *RepositoryTokenSyncTokens) HasDownloads() bool { - if o != nil && o.Downloads != nil { - return true - } - - return false -} - -// SetDownloads gets a reference to the given int64 and assigns it to the Downloads field. -func (o *RepositoryTokenSyncTokens) SetDownloads(v int64) { - o.Downloads = &v -} - -// GetEnableUrl returns the EnableUrl field value if set, zero value otherwise. -func (o *RepositoryTokenSyncTokens) GetEnableUrl() string { - if o == nil || o.EnableUrl == nil { - var ret string - return ret - } - return *o.EnableUrl -} - -// GetEnableUrlOk returns a tuple with the EnableUrl field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *RepositoryTokenSyncTokens) GetEnableUrlOk() (*string, bool) { - if o == nil || o.EnableUrl == nil { - return nil, false - } - return o.EnableUrl, true -} - -// HasEnableUrl returns a boolean if a field has been set. -func (o *RepositoryTokenSyncTokens) HasEnableUrl() bool { - if o != nil && o.EnableUrl != nil { - return true - } - - return false -} - -// SetEnableUrl gets a reference to the given string and assigns it to the EnableUrl field. -func (o *RepositoryTokenSyncTokens) SetEnableUrl(v string) { - o.EnableUrl = &v -} - -// GetEulaAccepted returns the EulaAccepted field value if set, zero value otherwise. -func (o *RepositoryTokenSyncTokens) GetEulaAccepted() map[string]interface{} { - if o == nil || o.EulaAccepted == nil { - var ret map[string]interface{} - return ret - } - return o.EulaAccepted -} - -// GetEulaAcceptedOk returns a tuple with the EulaAccepted field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *RepositoryTokenSyncTokens) GetEulaAcceptedOk() (map[string]interface{}, bool) { - if o == nil || o.EulaAccepted == nil { - return nil, false - } - return o.EulaAccepted, true -} - -// HasEulaAccepted returns a boolean if a field has been set. -func (o *RepositoryTokenSyncTokens) HasEulaAccepted() bool { - if o != nil && o.EulaAccepted != nil { - return true - } - - return false -} - -// SetEulaAccepted gets a reference to the given map[string]interface{} and assigns it to the EulaAccepted field. -func (o *RepositoryTokenSyncTokens) SetEulaAccepted(v map[string]interface{}) { - o.EulaAccepted = v -} - -// GetEulaAcceptedAt returns the EulaAcceptedAt field value if set, zero value otherwise. -func (o *RepositoryTokenSyncTokens) GetEulaAcceptedAt() string { - if o == nil || o.EulaAcceptedAt == nil { - var ret string - return ret - } - return *o.EulaAcceptedAt -} - -// GetEulaAcceptedAtOk returns a tuple with the EulaAcceptedAt field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *RepositoryTokenSyncTokens) GetEulaAcceptedAtOk() (*string, bool) { - if o == nil || o.EulaAcceptedAt == nil { - return nil, false - } - return o.EulaAcceptedAt, true -} - -// HasEulaAcceptedAt returns a boolean if a field has been set. -func (o *RepositoryTokenSyncTokens) HasEulaAcceptedAt() bool { - if o != nil && o.EulaAcceptedAt != nil { - return true - } - - return false -} - -// SetEulaAcceptedAt gets a reference to the given string and assigns it to the EulaAcceptedAt field. -func (o *RepositoryTokenSyncTokens) SetEulaAcceptedAt(v string) { - o.EulaAcceptedAt = &v -} - -// GetEulaAcceptedFrom returns the EulaAcceptedFrom field value if set, zero value otherwise. -func (o *RepositoryTokenSyncTokens) GetEulaAcceptedFrom() string { - if o == nil || o.EulaAcceptedFrom == nil { - var ret string - return ret - } - return *o.EulaAcceptedFrom -} - -// GetEulaAcceptedFromOk returns a tuple with the EulaAcceptedFrom field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *RepositoryTokenSyncTokens) GetEulaAcceptedFromOk() (*string, bool) { - if o == nil || o.EulaAcceptedFrom == nil { - return nil, false - } - return o.EulaAcceptedFrom, true -} - -// HasEulaAcceptedFrom returns a boolean if a field has been set. -func (o *RepositoryTokenSyncTokens) HasEulaAcceptedFrom() bool { - if o != nil && o.EulaAcceptedFrom != nil { - return true - } - - return false -} - -// SetEulaAcceptedFrom gets a reference to the given string and assigns it to the EulaAcceptedFrom field. -func (o *RepositoryTokenSyncTokens) SetEulaAcceptedFrom(v string) { - o.EulaAcceptedFrom = &v -} - -// GetEulaRequired returns the EulaRequired field value if set, zero value otherwise. -func (o *RepositoryTokenSyncTokens) GetEulaRequired() bool { - if o == nil || o.EulaRequired == nil { - var ret bool - return ret - } - return *o.EulaRequired -} - -// GetEulaRequiredOk returns a tuple with the EulaRequired field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *RepositoryTokenSyncTokens) GetEulaRequiredOk() (*bool, bool) { - if o == nil || o.EulaRequired == nil { - return nil, false - } - return o.EulaRequired, true -} - -// HasEulaRequired returns a boolean if a field has been set. -func (o *RepositoryTokenSyncTokens) HasEulaRequired() bool { - if o != nil && o.EulaRequired != nil { - return true - } - - return false -} - -// SetEulaRequired gets a reference to the given bool and assigns it to the EulaRequired field. -func (o *RepositoryTokenSyncTokens) SetEulaRequired(v bool) { - o.EulaRequired = &v -} - -// GetHasLimits returns the HasLimits field value if set, zero value otherwise. -func (o *RepositoryTokenSyncTokens) GetHasLimits() bool { - if o == nil || o.HasLimits == nil { - var ret bool - return ret - } - return *o.HasLimits -} - -// GetHasLimitsOk returns a tuple with the HasLimits field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *RepositoryTokenSyncTokens) GetHasLimitsOk() (*bool, bool) { - if o == nil || o.HasLimits == nil { - return nil, false - } - return o.HasLimits, true -} - -// HasHasLimits returns a boolean if a field has been set. -func (o *RepositoryTokenSyncTokens) HasHasLimits() bool { - if o != nil && o.HasLimits != nil { - return true - } - - return false -} - -// SetHasLimits gets a reference to the given bool and assigns it to the HasLimits field. -func (o *RepositoryTokenSyncTokens) SetHasLimits(v bool) { - o.HasLimits = &v -} - -// GetIdentifier returns the Identifier field value if set, zero value otherwise. -func (o *RepositoryTokenSyncTokens) GetIdentifier() int64 { - if o == nil || o.Identifier == nil { - var ret int64 - return ret - } - return *o.Identifier -} - -// GetIdentifierOk returns a tuple with the Identifier field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *RepositoryTokenSyncTokens) GetIdentifierOk() (*int64, bool) { - if o == nil || o.Identifier == nil { - return nil, false - } - return o.Identifier, true -} - -// HasIdentifier returns a boolean if a field has been set. -func (o *RepositoryTokenSyncTokens) HasIdentifier() bool { - if o != nil && o.Identifier != nil { - return true - } - - return false -} - -// SetIdentifier gets a reference to the given int64 and assigns it to the Identifier field. -func (o *RepositoryTokenSyncTokens) SetIdentifier(v int64) { - o.Identifier = &v -} - -// GetIsActive returns the IsActive field value if set, zero value otherwise. -func (o *RepositoryTokenSyncTokens) GetIsActive() bool { - if o == nil || o.IsActive == nil { - var ret bool - return ret - } - return *o.IsActive -} - -// GetIsActiveOk returns a tuple with the IsActive field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *RepositoryTokenSyncTokens) GetIsActiveOk() (*bool, bool) { - if o == nil || o.IsActive == nil { - return nil, false - } - return o.IsActive, true -} - -// HasIsActive returns a boolean if a field has been set. -func (o *RepositoryTokenSyncTokens) HasIsActive() bool { - if o != nil && o.IsActive != nil { - return true - } - - return false -} - -// SetIsActive gets a reference to the given bool and assigns it to the IsActive field. -func (o *RepositoryTokenSyncTokens) SetIsActive(v bool) { - o.IsActive = &v -} - -// GetIsLimited returns the IsLimited field value if set, zero value otherwise. -func (o *RepositoryTokenSyncTokens) GetIsLimited() bool { - if o == nil || o.IsLimited == nil { - var ret bool - return ret - } - return *o.IsLimited -} - -// GetIsLimitedOk returns a tuple with the IsLimited field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *RepositoryTokenSyncTokens) GetIsLimitedOk() (*bool, bool) { - if o == nil || o.IsLimited == nil { - return nil, false - } - return o.IsLimited, true -} - -// HasIsLimited returns a boolean if a field has been set. -func (o *RepositoryTokenSyncTokens) HasIsLimited() bool { - if o != nil && o.IsLimited != nil { - return true - } - - return false -} - -// SetIsLimited gets a reference to the given bool and assigns it to the IsLimited field. -func (o *RepositoryTokenSyncTokens) SetIsLimited(v bool) { - o.IsLimited = &v -} - -// GetLimitBandwidth returns the LimitBandwidth field value if set, zero value otherwise. -func (o *RepositoryTokenSyncTokens) GetLimitBandwidth() int64 { - if o == nil || o.LimitBandwidth == nil { - var ret int64 - return ret - } - return *o.LimitBandwidth -} - -// GetLimitBandwidthOk returns a tuple with the LimitBandwidth field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *RepositoryTokenSyncTokens) GetLimitBandwidthOk() (*int64, bool) { - if o == nil || o.LimitBandwidth == nil { - return nil, false - } - return o.LimitBandwidth, true -} - -// HasLimitBandwidth returns a boolean if a field has been set. -func (o *RepositoryTokenSyncTokens) HasLimitBandwidth() bool { - if o != nil && o.LimitBandwidth != nil { - return true - } - - return false -} - -// SetLimitBandwidth gets a reference to the given int64 and assigns it to the LimitBandwidth field. -func (o *RepositoryTokenSyncTokens) SetLimitBandwidth(v int64) { - o.LimitBandwidth = &v -} - -// GetLimitBandwidthUnit returns the LimitBandwidthUnit field value if set, zero value otherwise. -func (o *RepositoryTokenSyncTokens) GetLimitBandwidthUnit() string { - if o == nil || o.LimitBandwidthUnit == nil { - var ret string - return ret - } - return *o.LimitBandwidthUnit -} - -// GetLimitBandwidthUnitOk returns a tuple with the LimitBandwidthUnit field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *RepositoryTokenSyncTokens) GetLimitBandwidthUnitOk() (*string, bool) { - if o == nil || o.LimitBandwidthUnit == nil { - return nil, false - } - return o.LimitBandwidthUnit, true -} - -// HasLimitBandwidthUnit returns a boolean if a field has been set. -func (o *RepositoryTokenSyncTokens) HasLimitBandwidthUnit() bool { - if o != nil && o.LimitBandwidthUnit != nil { - return true - } - - return false -} - -// SetLimitBandwidthUnit gets a reference to the given string and assigns it to the LimitBandwidthUnit field. -func (o *RepositoryTokenSyncTokens) SetLimitBandwidthUnit(v string) { - o.LimitBandwidthUnit = &v -} - -// GetLimitDateRangeFrom returns the LimitDateRangeFrom field value if set, zero value otherwise. -func (o *RepositoryTokenSyncTokens) GetLimitDateRangeFrom() string { - if o == nil || o.LimitDateRangeFrom == nil { - var ret string - return ret - } - return *o.LimitDateRangeFrom -} - -// GetLimitDateRangeFromOk returns a tuple with the LimitDateRangeFrom field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *RepositoryTokenSyncTokens) GetLimitDateRangeFromOk() (*string, bool) { - if o == nil || o.LimitDateRangeFrom == nil { - return nil, false - } - return o.LimitDateRangeFrom, true -} - -// HasLimitDateRangeFrom returns a boolean if a field has been set. -func (o *RepositoryTokenSyncTokens) HasLimitDateRangeFrom() bool { - if o != nil && o.LimitDateRangeFrom != nil { - return true - } - - return false -} - -// SetLimitDateRangeFrom gets a reference to the given string and assigns it to the LimitDateRangeFrom field. -func (o *RepositoryTokenSyncTokens) SetLimitDateRangeFrom(v string) { - o.LimitDateRangeFrom = &v -} - -// GetLimitDateRangeTo returns the LimitDateRangeTo field value if set, zero value otherwise. -func (o *RepositoryTokenSyncTokens) GetLimitDateRangeTo() string { - if o == nil || o.LimitDateRangeTo == nil { - var ret string - return ret - } - return *o.LimitDateRangeTo -} - -// GetLimitDateRangeToOk returns a tuple with the LimitDateRangeTo field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *RepositoryTokenSyncTokens) GetLimitDateRangeToOk() (*string, bool) { - if o == nil || o.LimitDateRangeTo == nil { - return nil, false - } - return o.LimitDateRangeTo, true -} - -// HasLimitDateRangeTo returns a boolean if a field has been set. -func (o *RepositoryTokenSyncTokens) HasLimitDateRangeTo() bool { - if o != nil && o.LimitDateRangeTo != nil { - return true - } - - return false -} - -// SetLimitDateRangeTo gets a reference to the given string and assigns it to the LimitDateRangeTo field. -func (o *RepositoryTokenSyncTokens) SetLimitDateRangeTo(v string) { - o.LimitDateRangeTo = &v -} - -// GetLimitNumClients returns the LimitNumClients field value if set, zero value otherwise. -func (o *RepositoryTokenSyncTokens) GetLimitNumClients() int64 { - if o == nil || o.LimitNumClients == nil { - var ret int64 - return ret - } - return *o.LimitNumClients -} - -// GetLimitNumClientsOk returns a tuple with the LimitNumClients field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *RepositoryTokenSyncTokens) GetLimitNumClientsOk() (*int64, bool) { - if o == nil || o.LimitNumClients == nil { - return nil, false - } - return o.LimitNumClients, true -} - -// HasLimitNumClients returns a boolean if a field has been set. -func (o *RepositoryTokenSyncTokens) HasLimitNumClients() bool { - if o != nil && o.LimitNumClients != nil { - return true - } - - return false -} - -// SetLimitNumClients gets a reference to the given int64 and assigns it to the LimitNumClients field. -func (o *RepositoryTokenSyncTokens) SetLimitNumClients(v int64) { - o.LimitNumClients = &v -} - -// GetLimitNumDownloads returns the LimitNumDownloads field value if set, zero value otherwise. -func (o *RepositoryTokenSyncTokens) GetLimitNumDownloads() int64 { - if o == nil || o.LimitNumDownloads == nil { - var ret int64 - return ret - } - return *o.LimitNumDownloads -} - -// GetLimitNumDownloadsOk returns a tuple with the LimitNumDownloads field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *RepositoryTokenSyncTokens) GetLimitNumDownloadsOk() (*int64, bool) { - if o == nil || o.LimitNumDownloads == nil { - return nil, false - } - return o.LimitNumDownloads, true -} - -// HasLimitNumDownloads returns a boolean if a field has been set. -func (o *RepositoryTokenSyncTokens) HasLimitNumDownloads() bool { - if o != nil && o.LimitNumDownloads != nil { - return true - } - - return false -} - -// SetLimitNumDownloads gets a reference to the given int64 and assigns it to the LimitNumDownloads field. -func (o *RepositoryTokenSyncTokens) SetLimitNumDownloads(v int64) { - o.LimitNumDownloads = &v -} - -// GetLimitPackageQuery returns the LimitPackageQuery field value if set, zero value otherwise. -func (o *RepositoryTokenSyncTokens) GetLimitPackageQuery() string { - if o == nil || o.LimitPackageQuery == nil { - var ret string - return ret - } - return *o.LimitPackageQuery -} - -// GetLimitPackageQueryOk returns a tuple with the LimitPackageQuery field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *RepositoryTokenSyncTokens) GetLimitPackageQueryOk() (*string, bool) { - if o == nil || o.LimitPackageQuery == nil { - return nil, false - } - return o.LimitPackageQuery, true -} - -// HasLimitPackageQuery returns a boolean if a field has been set. -func (o *RepositoryTokenSyncTokens) HasLimitPackageQuery() bool { - if o != nil && o.LimitPackageQuery != nil { - return true - } - - return false -} - -// SetLimitPackageQuery gets a reference to the given string and assigns it to the LimitPackageQuery field. -func (o *RepositoryTokenSyncTokens) SetLimitPackageQuery(v string) { - o.LimitPackageQuery = &v -} - -// GetLimitPathQuery returns the LimitPathQuery field value if set, zero value otherwise. -func (o *RepositoryTokenSyncTokens) GetLimitPathQuery() string { - if o == nil || o.LimitPathQuery == nil { - var ret string - return ret - } - return *o.LimitPathQuery -} - -// GetLimitPathQueryOk returns a tuple with the LimitPathQuery field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *RepositoryTokenSyncTokens) GetLimitPathQueryOk() (*string, bool) { - if o == nil || o.LimitPathQuery == nil { - return nil, false - } - return o.LimitPathQuery, true -} - -// HasLimitPathQuery returns a boolean if a field has been set. -func (o *RepositoryTokenSyncTokens) HasLimitPathQuery() bool { - if o != nil && o.LimitPathQuery != nil { - return true - } - - return false -} - -// SetLimitPathQuery gets a reference to the given string and assigns it to the LimitPathQuery field. -func (o *RepositoryTokenSyncTokens) SetLimitPathQuery(v string) { - o.LimitPathQuery = &v -} - -// GetMetadata returns the Metadata field value if set, zero value otherwise. -func (o *RepositoryTokenSyncTokens) GetMetadata() string { - if o == nil || o.Metadata == nil { - var ret string - return ret - } - return *o.Metadata -} - -// GetMetadataOk returns a tuple with the Metadata field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *RepositoryTokenSyncTokens) GetMetadataOk() (*string, bool) { - if o == nil || o.Metadata == nil { - return nil, false - } - return o.Metadata, true -} - -// HasMetadata returns a boolean if a field has been set. -func (o *RepositoryTokenSyncTokens) HasMetadata() bool { - if o != nil && o.Metadata != nil { - return true - } - - return false -} - -// SetMetadata gets a reference to the given string and assigns it to the Metadata field. -func (o *RepositoryTokenSyncTokens) SetMetadata(v string) { - o.Metadata = &v -} - -// GetName returns the Name field value if set, zero value otherwise. -func (o *RepositoryTokenSyncTokens) GetName() string { - if o == nil || o.Name == nil { - var ret string - return ret - } - return *o.Name -} - -// GetNameOk returns a tuple with the Name field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *RepositoryTokenSyncTokens) GetNameOk() (*string, bool) { - if o == nil || o.Name == nil { - return nil, false - } - return o.Name, true -} - -// HasName returns a boolean if a field has been set. -func (o *RepositoryTokenSyncTokens) HasName() bool { - if o != nil && o.Name != nil { - return true - } - - return false -} - -// SetName gets a reference to the given string and assigns it to the Name field. -func (o *RepositoryTokenSyncTokens) SetName(v string) { - o.Name = &v -} - -// GetRefreshUrl returns the RefreshUrl field value if set, zero value otherwise. -func (o *RepositoryTokenSyncTokens) GetRefreshUrl() string { - if o == nil || o.RefreshUrl == nil { - var ret string - return ret - } - return *o.RefreshUrl -} - -// GetRefreshUrlOk returns a tuple with the RefreshUrl field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *RepositoryTokenSyncTokens) GetRefreshUrlOk() (*string, bool) { - if o == nil || o.RefreshUrl == nil { - return nil, false - } - return o.RefreshUrl, true -} - -// HasRefreshUrl returns a boolean if a field has been set. -func (o *RepositoryTokenSyncTokens) HasRefreshUrl() bool { - if o != nil && o.RefreshUrl != nil { - return true - } - - return false -} - -// SetRefreshUrl gets a reference to the given string and assigns it to the RefreshUrl field. -func (o *RepositoryTokenSyncTokens) SetRefreshUrl(v string) { - o.RefreshUrl = &v -} - -// GetResetUrl returns the ResetUrl field value if set, zero value otherwise. -func (o *RepositoryTokenSyncTokens) GetResetUrl() string { - if o == nil || o.ResetUrl == nil { - var ret string - return ret - } - return *o.ResetUrl -} - -// GetResetUrlOk returns a tuple with the ResetUrl field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *RepositoryTokenSyncTokens) GetResetUrlOk() (*string, bool) { - if o == nil || o.ResetUrl == nil { - return nil, false - } - return o.ResetUrl, true -} - -// HasResetUrl returns a boolean if a field has been set. -func (o *RepositoryTokenSyncTokens) HasResetUrl() bool { - if o != nil && o.ResetUrl != nil { - return true - } - - return false -} - -// SetResetUrl gets a reference to the given string and assigns it to the ResetUrl field. -func (o *RepositoryTokenSyncTokens) SetResetUrl(v string) { - o.ResetUrl = &v -} - -// GetScheduledResetAt returns the ScheduledResetAt field value if set, zero value otherwise. -func (o *RepositoryTokenSyncTokens) GetScheduledResetAt() string { - if o == nil || o.ScheduledResetAt == nil { - var ret string - return ret - } - return *o.ScheduledResetAt -} - -// GetScheduledResetAtOk returns a tuple with the ScheduledResetAt field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *RepositoryTokenSyncTokens) GetScheduledResetAtOk() (*string, bool) { - if o == nil || o.ScheduledResetAt == nil { - return nil, false - } - return o.ScheduledResetAt, true -} - -// HasScheduledResetAt returns a boolean if a field has been set. -func (o *RepositoryTokenSyncTokens) HasScheduledResetAt() bool { - if o != nil && o.ScheduledResetAt != nil { - return true - } - - return false -} - -// SetScheduledResetAt gets a reference to the given string and assigns it to the ScheduledResetAt field. -func (o *RepositoryTokenSyncTokens) SetScheduledResetAt(v string) { - o.ScheduledResetAt = &v -} - -// GetScheduledResetPeriod returns the ScheduledResetPeriod field value if set, zero value otherwise. -func (o *RepositoryTokenSyncTokens) GetScheduledResetPeriod() string { - if o == nil || o.ScheduledResetPeriod == nil { - var ret string - return ret - } - return *o.ScheduledResetPeriod -} - -// GetScheduledResetPeriodOk returns a tuple with the ScheduledResetPeriod field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *RepositoryTokenSyncTokens) GetScheduledResetPeriodOk() (*string, bool) { - if o == nil || o.ScheduledResetPeriod == nil { - return nil, false - } - return o.ScheduledResetPeriod, true -} - -// HasScheduledResetPeriod returns a boolean if a field has been set. -func (o *RepositoryTokenSyncTokens) HasScheduledResetPeriod() bool { - if o != nil && o.ScheduledResetPeriod != nil { - return true - } - - return false -} - -// SetScheduledResetPeriod gets a reference to the given string and assigns it to the ScheduledResetPeriod field. -func (o *RepositoryTokenSyncTokens) SetScheduledResetPeriod(v string) { - o.ScheduledResetPeriod = &v -} - -// GetSelfUrl returns the SelfUrl field value if set, zero value otherwise. -func (o *RepositoryTokenSyncTokens) GetSelfUrl() string { - if o == nil || o.SelfUrl == nil { - var ret string - return ret - } - return *o.SelfUrl -} - -// GetSelfUrlOk returns a tuple with the SelfUrl field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *RepositoryTokenSyncTokens) GetSelfUrlOk() (*string, bool) { - if o == nil || o.SelfUrl == nil { - return nil, false - } - return o.SelfUrl, true -} - -// HasSelfUrl returns a boolean if a field has been set. -func (o *RepositoryTokenSyncTokens) HasSelfUrl() bool { - if o != nil && o.SelfUrl != nil { - return true - } - - return false -} - -// SetSelfUrl gets a reference to the given string and assigns it to the SelfUrl field. -func (o *RepositoryTokenSyncTokens) SetSelfUrl(v string) { - o.SelfUrl = &v -} - -// GetSlugPerm returns the SlugPerm field value if set, zero value otherwise. -func (o *RepositoryTokenSyncTokens) GetSlugPerm() string { - if o == nil || o.SlugPerm == nil { - var ret string - return ret - } - return *o.SlugPerm -} - -// GetSlugPermOk returns a tuple with the SlugPerm field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *RepositoryTokenSyncTokens) GetSlugPermOk() (*string, bool) { - if o == nil || o.SlugPerm == nil { - return nil, false - } - return o.SlugPerm, true -} - -// HasSlugPerm returns a boolean if a field has been set. -func (o *RepositoryTokenSyncTokens) HasSlugPerm() bool { - if o != nil && o.SlugPerm != nil { - return true - } - - return false -} - -// SetSlugPerm gets a reference to the given string and assigns it to the SlugPerm field. -func (o *RepositoryTokenSyncTokens) SetSlugPerm(v string) { - o.SlugPerm = &v -} - -// GetToken returns the Token field value if set, zero value otherwise. -func (o *RepositoryTokenSyncTokens) GetToken() string { - if o == nil || o.Token == nil { - var ret string - return ret - } - return *o.Token -} - -// GetTokenOk returns a tuple with the Token field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *RepositoryTokenSyncTokens) GetTokenOk() (*string, bool) { - if o == nil || o.Token == nil { - return nil, false - } - return o.Token, true -} - -// HasToken returns a boolean if a field has been set. -func (o *RepositoryTokenSyncTokens) HasToken() bool { - if o != nil && o.Token != nil { - return true - } - - return false -} - -// SetToken gets a reference to the given string and assigns it to the Token field. -func (o *RepositoryTokenSyncTokens) SetToken(v string) { - o.Token = &v -} - -// GetUpdatedAt returns the UpdatedAt field value if set, zero value otherwise. -func (o *RepositoryTokenSyncTokens) GetUpdatedAt() string { - if o == nil || o.UpdatedAt == nil { - var ret string - return ret - } - return *o.UpdatedAt -} - -// GetUpdatedAtOk returns a tuple with the UpdatedAt field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *RepositoryTokenSyncTokens) GetUpdatedAtOk() (*string, bool) { - if o == nil || o.UpdatedAt == nil { - return nil, false - } - return o.UpdatedAt, true -} - -// HasUpdatedAt returns a boolean if a field has been set. -func (o *RepositoryTokenSyncTokens) HasUpdatedAt() bool { - if o != nil && o.UpdatedAt != nil { - return true - } - - return false -} - -// SetUpdatedAt gets a reference to the given string and assigns it to the UpdatedAt field. -func (o *RepositoryTokenSyncTokens) SetUpdatedAt(v string) { - o.UpdatedAt = &v -} - -// GetUpdatedBy returns the UpdatedBy field value if set, zero value otherwise. -func (o *RepositoryTokenSyncTokens) GetUpdatedBy() string { - if o == nil || o.UpdatedBy == nil { - var ret string - return ret - } - return *o.UpdatedBy -} - -// GetUpdatedByOk returns a tuple with the UpdatedBy field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *RepositoryTokenSyncTokens) GetUpdatedByOk() (*string, bool) { - if o == nil || o.UpdatedBy == nil { - return nil, false - } - return o.UpdatedBy, true -} - -// HasUpdatedBy returns a boolean if a field has been set. -func (o *RepositoryTokenSyncTokens) HasUpdatedBy() bool { - if o != nil && o.UpdatedBy != nil { - return true - } - - return false -} - -// SetUpdatedBy gets a reference to the given string and assigns it to the UpdatedBy field. -func (o *RepositoryTokenSyncTokens) SetUpdatedBy(v string) { - o.UpdatedBy = &v -} - -// GetUpdatedByUrl returns the UpdatedByUrl field value if set, zero value otherwise. -func (o *RepositoryTokenSyncTokens) GetUpdatedByUrl() string { - if o == nil || o.UpdatedByUrl == nil { - var ret string - return ret - } - return *o.UpdatedByUrl -} - -// GetUpdatedByUrlOk returns a tuple with the UpdatedByUrl field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *RepositoryTokenSyncTokens) GetUpdatedByUrlOk() (*string, bool) { - if o == nil || o.UpdatedByUrl == nil { - return nil, false - } - return o.UpdatedByUrl, true -} - -// HasUpdatedByUrl returns a boolean if a field has been set. -func (o *RepositoryTokenSyncTokens) HasUpdatedByUrl() bool { - if o != nil && o.UpdatedByUrl != nil { - return true - } - - return false -} - -// SetUpdatedByUrl gets a reference to the given string and assigns it to the UpdatedByUrl field. -func (o *RepositoryTokenSyncTokens) SetUpdatedByUrl(v string) { - o.UpdatedByUrl = &v -} - -// GetUsage returns the Usage field value if set, zero value otherwise. -func (o *RepositoryTokenSyncTokens) GetUsage() string { - if o == nil || o.Usage == nil { - var ret string - return ret - } - return *o.Usage -} - -// GetUsageOk returns a tuple with the Usage field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *RepositoryTokenSyncTokens) GetUsageOk() (*string, bool) { - if o == nil || o.Usage == nil { - return nil, false - } - return o.Usage, true -} - -// HasUsage returns a boolean if a field has been set. -func (o *RepositoryTokenSyncTokens) HasUsage() bool { - if o != nil && o.Usage != nil { - return true - } - - return false -} - -// SetUsage gets a reference to the given string and assigns it to the Usage field. -func (o *RepositoryTokenSyncTokens) SetUsage(v string) { - o.Usage = &v -} - -// GetUser returns the User field value if set, zero value otherwise. -func (o *RepositoryTokenSyncTokens) GetUser() string { - if o == nil || o.User == nil { - var ret string - return ret - } - return *o.User -} - -// GetUserOk returns a tuple with the User field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *RepositoryTokenSyncTokens) GetUserOk() (*string, bool) { - if o == nil || o.User == nil { - return nil, false - } - return o.User, true -} - -// HasUser returns a boolean if a field has been set. -func (o *RepositoryTokenSyncTokens) HasUser() bool { - if o != nil && o.User != nil { - return true - } - - return false -} - -// SetUser gets a reference to the given string and assigns it to the User field. -func (o *RepositoryTokenSyncTokens) SetUser(v string) { - o.User = &v -} - -// GetUserUrl returns the UserUrl field value if set, zero value otherwise. -func (o *RepositoryTokenSyncTokens) GetUserUrl() string { - if o == nil || o.UserUrl == nil { - var ret string - return ret - } - return *o.UserUrl -} - -// GetUserUrlOk returns a tuple with the UserUrl field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *RepositoryTokenSyncTokens) GetUserUrlOk() (*string, bool) { - if o == nil || o.UserUrl == nil { - return nil, false - } - return o.UserUrl, true -} - -// HasUserUrl returns a boolean if a field has been set. -func (o *RepositoryTokenSyncTokens) HasUserUrl() bool { - if o != nil && o.UserUrl != nil { - return true - } - - return false -} - -// SetUserUrl gets a reference to the given string and assigns it to the UserUrl field. -func (o *RepositoryTokenSyncTokens) SetUserUrl(v string) { - o.UserUrl = &v -} - -func (o RepositoryTokenSyncTokens) MarshalJSON() ([]byte, error) { - toSerialize := map[string]interface{}{} - if o.Clients != nil { - toSerialize["clients"] = o.Clients - } - if o.CreatedAt != nil { - toSerialize["created_at"] = o.CreatedAt - } - if o.CreatedBy != nil { - toSerialize["created_by"] = o.CreatedBy - } - if o.CreatedByUrl != nil { - toSerialize["created_by_url"] = o.CreatedByUrl - } - if o.Default != nil { - toSerialize["default"] = o.Default - } - if o.DisableUrl != nil { - toSerialize["disable_url"] = o.DisableUrl - } - if o.Downloads != nil { - toSerialize["downloads"] = o.Downloads - } - if o.EnableUrl != nil { - toSerialize["enable_url"] = o.EnableUrl - } - if o.EulaAccepted != nil { - toSerialize["eula_accepted"] = o.EulaAccepted - } - if o.EulaAcceptedAt != nil { - toSerialize["eula_accepted_at"] = o.EulaAcceptedAt - } - if o.EulaAcceptedFrom != nil { - toSerialize["eula_accepted_from"] = o.EulaAcceptedFrom - } - if o.EulaRequired != nil { - toSerialize["eula_required"] = o.EulaRequired - } - if o.HasLimits != nil { - toSerialize["has_limits"] = o.HasLimits - } - if o.Identifier != nil { - toSerialize["identifier"] = o.Identifier - } - if o.IsActive != nil { - toSerialize["is_active"] = o.IsActive - } - if o.IsLimited != nil { - toSerialize["is_limited"] = o.IsLimited - } - if o.LimitBandwidth != nil { - toSerialize["limit_bandwidth"] = o.LimitBandwidth - } - if o.LimitBandwidthUnit != nil { - toSerialize["limit_bandwidth_unit"] = o.LimitBandwidthUnit - } - if o.LimitDateRangeFrom != nil { - toSerialize["limit_date_range_from"] = o.LimitDateRangeFrom - } - if o.LimitDateRangeTo != nil { - toSerialize["limit_date_range_to"] = o.LimitDateRangeTo - } - if o.LimitNumClients != nil { - toSerialize["limit_num_clients"] = o.LimitNumClients - } - if o.LimitNumDownloads != nil { - toSerialize["limit_num_downloads"] = o.LimitNumDownloads - } - if o.LimitPackageQuery != nil { - toSerialize["limit_package_query"] = o.LimitPackageQuery - } - if o.LimitPathQuery != nil { - toSerialize["limit_path_query"] = o.LimitPathQuery - } - if o.Metadata != nil { - toSerialize["metadata"] = o.Metadata - } - if o.Name != nil { - toSerialize["name"] = o.Name - } - if o.RefreshUrl != nil { - toSerialize["refresh_url"] = o.RefreshUrl - } - if o.ResetUrl != nil { - toSerialize["reset_url"] = o.ResetUrl - } - if o.ScheduledResetAt != nil { - toSerialize["scheduled_reset_at"] = o.ScheduledResetAt - } - if o.ScheduledResetPeriod != nil { - toSerialize["scheduled_reset_period"] = o.ScheduledResetPeriod - } - if o.SelfUrl != nil { - toSerialize["self_url"] = o.SelfUrl - } - if o.SlugPerm != nil { - toSerialize["slug_perm"] = o.SlugPerm - } - if o.Token != nil { - toSerialize["token"] = o.Token - } - if o.UpdatedAt != nil { - toSerialize["updated_at"] = o.UpdatedAt - } - if o.UpdatedBy != nil { - toSerialize["updated_by"] = o.UpdatedBy - } - if o.UpdatedByUrl != nil { - toSerialize["updated_by_url"] = o.UpdatedByUrl - } - if o.Usage != nil { - toSerialize["usage"] = o.Usage - } - if o.User != nil { - toSerialize["user"] = o.User - } - if o.UserUrl != nil { - toSerialize["user_url"] = o.UserUrl - } - return json.Marshal(toSerialize) -} - -type NullableRepositoryTokenSyncTokens struct { - value *RepositoryTokenSyncTokens - isSet bool -} - -func (v NullableRepositoryTokenSyncTokens) Get() *RepositoryTokenSyncTokens { - return v.value -} - -func (v *NullableRepositoryTokenSyncTokens) Set(val *RepositoryTokenSyncTokens) { - v.value = val - v.isSet = true -} - -func (v NullableRepositoryTokenSyncTokens) IsSet() bool { - return v.isSet -} - -func (v *NullableRepositoryTokenSyncTokens) Unset() { - v.value = nil - v.isSet = false -} - -func NewNullableRepositoryTokenSyncTokens(val *RepositoryTokenSyncTokens) *NullableRepositoryTokenSyncTokens { - return &NullableRepositoryTokenSyncTokens{value: val, isSet: true} -} - -func (v NullableRepositoryTokenSyncTokens) MarshalJSON() ([]byte, error) { - return json.Marshal(v.value) -} - -func (v *NullableRepositoryTokenSyncTokens) UnmarshalJSON(src []byte) error { - v.isSet = true - return json.Unmarshal(src, &v.value) -} diff --git a/model_repository_webhook_request.go b/model_repository_webhook_request.go new file mode 100644 index 00000000..f43ccb0a --- /dev/null +++ b/model_repository_webhook_request.go @@ -0,0 +1,547 @@ +/* +Cloudsmith API (v1) + +The API to the Cloudsmith Service + +API version: 1.181.6 +Contact: support@cloudsmith.io +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cloudsmith + +import ( + "encoding/json" +) + +// RepositoryWebhookRequest struct for RepositoryWebhookRequest +type RepositoryWebhookRequest struct { + Events []string `json:"events"` + // If enabled, the webhook will trigger on subscribed events and send payloads to the configured target URL. + IsActive *bool `json:"is_active,omitempty"` + // The package-based search query for webhooks to fire. This uses the same syntax as the standard search used for repositories, and also supports boolean logic operators such as OR/AND/NOT and parentheses for grouping. If a package does not match, the webhook will not fire. + PackageQuery NullableString `json:"package_query,omitempty"` + // The format of the payloads for webhook requests. + RequestBodyFormat *int64 `json:"request_body_format,omitempty"` + // The format of the payloads for webhook requests. + RequestBodyTemplateFormat *int64 `json:"request_body_template_format,omitempty"` + // The value that will be sent for the 'Content Type' header. + RequestContentType NullableString `json:"request_content_type,omitempty"` + // The header to send the predefined secret in. This must be unique from existing headers or it won't be sent. You can use this as a form of authentication on the endpoint side. + SecretHeader NullableString `json:"secret_header,omitempty"` + // The value for the predefined secret (note: this is treated as a passphrase and is encrypted when we store it). You can use this as a form of authentication on the endpoint side. + SecretValue NullableString `json:"secret_value,omitempty"` + // The value for the signature key - This is used to generate an HMAC-based hex digest of the request body, which we send as the X-Cloudsmith-Signature header so that you can ensure that the request wasn't modified by a malicious party (note: this is treated as a passphrase and is encrypted when we store it). + SignatureKey *string `json:"signature_key,omitempty"` + // The destination URL that webhook payloads will be POST'ed to. + TargetUrl string `json:"target_url"` + Templates []WebhookTemplate `json:"templates"` + // If enabled, SSL certificates is verified when webhooks are sent. It's recommended to leave this enabled as not verifying the integrity of SSL certificates leaves you susceptible to Man-in-the-Middle (MITM) attacks. + VerifySsl *bool `json:"verify_ssl,omitempty"` +} + +// NewRepositoryWebhookRequest instantiates a new RepositoryWebhookRequest object +// 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 NewRepositoryWebhookRequest(events []string, targetUrl string, templates []WebhookTemplate) *RepositoryWebhookRequest { + this := RepositoryWebhookRequest{} + this.Events = events + this.TargetUrl = targetUrl + this.Templates = templates + return &this +} + +// NewRepositoryWebhookRequestWithDefaults instantiates a new RepositoryWebhookRequest object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewRepositoryWebhookRequestWithDefaults() *RepositoryWebhookRequest { + this := RepositoryWebhookRequest{} + return &this +} + +// GetEvents returns the Events field value +// If the value is explicit nil, the zero value for []string will be returned +func (o *RepositoryWebhookRequest) GetEvents() []string { + if o == nil { + var ret []string + return ret + } + + return o.Events +} + +// GetEventsOk returns a tuple with the Events 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 *RepositoryWebhookRequest) GetEventsOk() ([]string, bool) { + if o == nil || isNil(o.Events) { + return nil, false + } + return o.Events, true +} + +// SetEvents sets field value +func (o *RepositoryWebhookRequest) SetEvents(v []string) { + o.Events = v +} + +// GetIsActive returns the IsActive field value if set, zero value otherwise. +func (o *RepositoryWebhookRequest) GetIsActive() bool { + if o == nil || isNil(o.IsActive) { + var ret bool + return ret + } + return *o.IsActive +} + +// GetIsActiveOk returns a tuple with the IsActive field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *RepositoryWebhookRequest) GetIsActiveOk() (*bool, bool) { + if o == nil || isNil(o.IsActive) { + return nil, false + } + return o.IsActive, true +} + +// HasIsActive returns a boolean if a field has been set. +func (o *RepositoryWebhookRequest) HasIsActive() bool { + if o != nil && !isNil(o.IsActive) { + return true + } + + return false +} + +// SetIsActive gets a reference to the given bool and assigns it to the IsActive field. +func (o *RepositoryWebhookRequest) SetIsActive(v bool) { + o.IsActive = &v +} + +// GetPackageQuery returns the PackageQuery field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *RepositoryWebhookRequest) GetPackageQuery() string { + if o == nil || isNil(o.PackageQuery.Get()) { + var ret string + return ret + } + return *o.PackageQuery.Get() +} + +// GetPackageQueryOk returns a tuple with the PackageQuery 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 *RepositoryWebhookRequest) GetPackageQueryOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.PackageQuery.Get(), o.PackageQuery.IsSet() +} + +// HasPackageQuery returns a boolean if a field has been set. +func (o *RepositoryWebhookRequest) HasPackageQuery() bool { + if o != nil && o.PackageQuery.IsSet() { + return true + } + + return false +} + +// SetPackageQuery gets a reference to the given NullableString and assigns it to the PackageQuery field. +func (o *RepositoryWebhookRequest) SetPackageQuery(v string) { + o.PackageQuery.Set(&v) +} + +// SetPackageQueryNil sets the value for PackageQuery to be an explicit nil +func (o *RepositoryWebhookRequest) SetPackageQueryNil() { + o.PackageQuery.Set(nil) +} + +// UnsetPackageQuery ensures that no value is present for PackageQuery, not even an explicit nil +func (o *RepositoryWebhookRequest) UnsetPackageQuery() { + o.PackageQuery.Unset() +} + +// GetRequestBodyFormat returns the RequestBodyFormat field value if set, zero value otherwise. +func (o *RepositoryWebhookRequest) GetRequestBodyFormat() int64 { + if o == nil || isNil(o.RequestBodyFormat) { + var ret int64 + return ret + } + return *o.RequestBodyFormat +} + +// GetRequestBodyFormatOk returns a tuple with the RequestBodyFormat field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *RepositoryWebhookRequest) GetRequestBodyFormatOk() (*int64, bool) { + if o == nil || isNil(o.RequestBodyFormat) { + return nil, false + } + return o.RequestBodyFormat, true +} + +// HasRequestBodyFormat returns a boolean if a field has been set. +func (o *RepositoryWebhookRequest) HasRequestBodyFormat() bool { + if o != nil && !isNil(o.RequestBodyFormat) { + return true + } + + return false +} + +// SetRequestBodyFormat gets a reference to the given int64 and assigns it to the RequestBodyFormat field. +func (o *RepositoryWebhookRequest) SetRequestBodyFormat(v int64) { + o.RequestBodyFormat = &v +} + +// GetRequestBodyTemplateFormat returns the RequestBodyTemplateFormat field value if set, zero value otherwise. +func (o *RepositoryWebhookRequest) GetRequestBodyTemplateFormat() int64 { + if o == nil || isNil(o.RequestBodyTemplateFormat) { + var ret int64 + return ret + } + return *o.RequestBodyTemplateFormat +} + +// GetRequestBodyTemplateFormatOk returns a tuple with the RequestBodyTemplateFormat field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *RepositoryWebhookRequest) GetRequestBodyTemplateFormatOk() (*int64, bool) { + if o == nil || isNil(o.RequestBodyTemplateFormat) { + return nil, false + } + return o.RequestBodyTemplateFormat, true +} + +// HasRequestBodyTemplateFormat returns a boolean if a field has been set. +func (o *RepositoryWebhookRequest) HasRequestBodyTemplateFormat() bool { + if o != nil && !isNil(o.RequestBodyTemplateFormat) { + return true + } + + return false +} + +// SetRequestBodyTemplateFormat gets a reference to the given int64 and assigns it to the RequestBodyTemplateFormat field. +func (o *RepositoryWebhookRequest) SetRequestBodyTemplateFormat(v int64) { + o.RequestBodyTemplateFormat = &v +} + +// GetRequestContentType returns the RequestContentType field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *RepositoryWebhookRequest) GetRequestContentType() string { + if o == nil || isNil(o.RequestContentType.Get()) { + var ret string + return ret + } + return *o.RequestContentType.Get() +} + +// GetRequestContentTypeOk returns a tuple with the RequestContentType 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 *RepositoryWebhookRequest) GetRequestContentTypeOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.RequestContentType.Get(), o.RequestContentType.IsSet() +} + +// HasRequestContentType returns a boolean if a field has been set. +func (o *RepositoryWebhookRequest) HasRequestContentType() bool { + if o != nil && o.RequestContentType.IsSet() { + return true + } + + return false +} + +// SetRequestContentType gets a reference to the given NullableString and assigns it to the RequestContentType field. +func (o *RepositoryWebhookRequest) SetRequestContentType(v string) { + o.RequestContentType.Set(&v) +} + +// SetRequestContentTypeNil sets the value for RequestContentType to be an explicit nil +func (o *RepositoryWebhookRequest) SetRequestContentTypeNil() { + o.RequestContentType.Set(nil) +} + +// UnsetRequestContentType ensures that no value is present for RequestContentType, not even an explicit nil +func (o *RepositoryWebhookRequest) UnsetRequestContentType() { + o.RequestContentType.Unset() +} + +// GetSecretHeader returns the SecretHeader field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *RepositoryWebhookRequest) GetSecretHeader() string { + if o == nil || isNil(o.SecretHeader.Get()) { + var ret string + return ret + } + return *o.SecretHeader.Get() +} + +// GetSecretHeaderOk returns a tuple with the SecretHeader 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 *RepositoryWebhookRequest) GetSecretHeaderOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.SecretHeader.Get(), o.SecretHeader.IsSet() +} + +// HasSecretHeader returns a boolean if a field has been set. +func (o *RepositoryWebhookRequest) HasSecretHeader() bool { + if o != nil && o.SecretHeader.IsSet() { + return true + } + + return false +} + +// SetSecretHeader gets a reference to the given NullableString and assigns it to the SecretHeader field. +func (o *RepositoryWebhookRequest) SetSecretHeader(v string) { + o.SecretHeader.Set(&v) +} + +// SetSecretHeaderNil sets the value for SecretHeader to be an explicit nil +func (o *RepositoryWebhookRequest) SetSecretHeaderNil() { + o.SecretHeader.Set(nil) +} + +// UnsetSecretHeader ensures that no value is present for SecretHeader, not even an explicit nil +func (o *RepositoryWebhookRequest) UnsetSecretHeader() { + o.SecretHeader.Unset() +} + +// GetSecretValue returns the SecretValue field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *RepositoryWebhookRequest) GetSecretValue() string { + if o == nil || isNil(o.SecretValue.Get()) { + var ret string + return ret + } + return *o.SecretValue.Get() +} + +// GetSecretValueOk returns a tuple with the SecretValue 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 *RepositoryWebhookRequest) GetSecretValueOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.SecretValue.Get(), o.SecretValue.IsSet() +} + +// HasSecretValue returns a boolean if a field has been set. +func (o *RepositoryWebhookRequest) HasSecretValue() bool { + if o != nil && o.SecretValue.IsSet() { + return true + } + + return false +} + +// SetSecretValue gets a reference to the given NullableString and assigns it to the SecretValue field. +func (o *RepositoryWebhookRequest) SetSecretValue(v string) { + o.SecretValue.Set(&v) +} + +// SetSecretValueNil sets the value for SecretValue to be an explicit nil +func (o *RepositoryWebhookRequest) SetSecretValueNil() { + o.SecretValue.Set(nil) +} + +// UnsetSecretValue ensures that no value is present for SecretValue, not even an explicit nil +func (o *RepositoryWebhookRequest) UnsetSecretValue() { + o.SecretValue.Unset() +} + +// GetSignatureKey returns the SignatureKey field value if set, zero value otherwise. +func (o *RepositoryWebhookRequest) GetSignatureKey() string { + if o == nil || isNil(o.SignatureKey) { + var ret string + return ret + } + return *o.SignatureKey +} + +// GetSignatureKeyOk returns a tuple with the SignatureKey field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *RepositoryWebhookRequest) GetSignatureKeyOk() (*string, bool) { + if o == nil || isNil(o.SignatureKey) { + return nil, false + } + return o.SignatureKey, true +} + +// HasSignatureKey returns a boolean if a field has been set. +func (o *RepositoryWebhookRequest) HasSignatureKey() bool { + if o != nil && !isNil(o.SignatureKey) { + return true + } + + return false +} + +// SetSignatureKey gets a reference to the given string and assigns it to the SignatureKey field. +func (o *RepositoryWebhookRequest) SetSignatureKey(v string) { + o.SignatureKey = &v +} + +// GetTargetUrl returns the TargetUrl field value +func (o *RepositoryWebhookRequest) GetTargetUrl() string { + if o == nil { + var ret string + return ret + } + + return o.TargetUrl +} + +// GetTargetUrlOk returns a tuple with the TargetUrl field value +// and a boolean to check if the value has been set. +func (o *RepositoryWebhookRequest) GetTargetUrlOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.TargetUrl, true +} + +// SetTargetUrl sets field value +func (o *RepositoryWebhookRequest) SetTargetUrl(v string) { + o.TargetUrl = v +} + +// GetTemplates returns the Templates field value +// If the value is explicit nil, the zero value for []WebhookTemplate will be returned +func (o *RepositoryWebhookRequest) GetTemplates() []WebhookTemplate { + if o == nil { + var ret []WebhookTemplate + return ret + } + + return o.Templates +} + +// GetTemplatesOk returns a tuple with the Templates 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 *RepositoryWebhookRequest) GetTemplatesOk() ([]WebhookTemplate, bool) { + if o == nil || isNil(o.Templates) { + return nil, false + } + return o.Templates, true +} + +// SetTemplates sets field value +func (o *RepositoryWebhookRequest) SetTemplates(v []WebhookTemplate) { + o.Templates = v +} + +// GetVerifySsl returns the VerifySsl field value if set, zero value otherwise. +func (o *RepositoryWebhookRequest) GetVerifySsl() bool { + if o == nil || isNil(o.VerifySsl) { + var ret bool + return ret + } + return *o.VerifySsl +} + +// GetVerifySslOk returns a tuple with the VerifySsl field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *RepositoryWebhookRequest) GetVerifySslOk() (*bool, bool) { + if o == nil || isNil(o.VerifySsl) { + return nil, false + } + return o.VerifySsl, true +} + +// HasVerifySsl returns a boolean if a field has been set. +func (o *RepositoryWebhookRequest) HasVerifySsl() bool { + if o != nil && !isNil(o.VerifySsl) { + return true + } + + return false +} + +// SetVerifySsl gets a reference to the given bool and assigns it to the VerifySsl field. +func (o *RepositoryWebhookRequest) SetVerifySsl(v bool) { + o.VerifySsl = &v +} + +func (o RepositoryWebhookRequest) MarshalJSON() ([]byte, error) { + toSerialize := map[string]interface{}{} + if o.Events != nil { + toSerialize["events"] = o.Events + } + if !isNil(o.IsActive) { + toSerialize["is_active"] = o.IsActive + } + if o.PackageQuery.IsSet() { + toSerialize["package_query"] = o.PackageQuery.Get() + } + if !isNil(o.RequestBodyFormat) { + toSerialize["request_body_format"] = o.RequestBodyFormat + } + if !isNil(o.RequestBodyTemplateFormat) { + toSerialize["request_body_template_format"] = o.RequestBodyTemplateFormat + } + if o.RequestContentType.IsSet() { + toSerialize["request_content_type"] = o.RequestContentType.Get() + } + if o.SecretHeader.IsSet() { + toSerialize["secret_header"] = o.SecretHeader.Get() + } + if o.SecretValue.IsSet() { + toSerialize["secret_value"] = o.SecretValue.Get() + } + if !isNil(o.SignatureKey) { + toSerialize["signature_key"] = o.SignatureKey + } + if true { + toSerialize["target_url"] = o.TargetUrl + } + if o.Templates != nil { + toSerialize["templates"] = o.Templates + } + if !isNil(o.VerifySsl) { + toSerialize["verify_ssl"] = o.VerifySsl + } + return json.Marshal(toSerialize) +} + +type NullableRepositoryWebhookRequest struct { + value *RepositoryWebhookRequest + isSet bool +} + +func (v NullableRepositoryWebhookRequest) Get() *RepositoryWebhookRequest { + return v.value +} + +func (v *NullableRepositoryWebhookRequest) Set(val *RepositoryWebhookRequest) { + v.value = val + v.isSet = true +} + +func (v NullableRepositoryWebhookRequest) IsSet() bool { + return v.isSet +} + +func (v *NullableRepositoryWebhookRequest) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableRepositoryWebhookRequest(val *RepositoryWebhookRequest) *NullableRepositoryWebhookRequest { + return &NullableRepositoryWebhookRequest{value: val, isSet: true} +} + +func (v NullableRepositoryWebhookRequest) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableRepositoryWebhookRequest) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} diff --git a/model_repository_webhook_request_patch.go b/model_repository_webhook_request_patch.go new file mode 100644 index 00000000..345909cd --- /dev/null +++ b/model_repository_webhook_request_patch.go @@ -0,0 +1,566 @@ +/* +Cloudsmith API (v1) + +The API to the Cloudsmith Service + +API version: 1.181.6 +Contact: support@cloudsmith.io +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cloudsmith + +import ( + "encoding/json" +) + +// RepositoryWebhookRequestPatch struct for RepositoryWebhookRequestPatch +type RepositoryWebhookRequestPatch struct { + Events []string `json:"events,omitempty"` + // If enabled, the webhook will trigger on subscribed events and send payloads to the configured target URL. + IsActive *bool `json:"is_active,omitempty"` + // The package-based search query for webhooks to fire. This uses the same syntax as the standard search used for repositories, and also supports boolean logic operators such as OR/AND/NOT and parentheses for grouping. If a package does not match, the webhook will not fire. + PackageQuery NullableString `json:"package_query,omitempty"` + // The format of the payloads for webhook requests. + RequestBodyFormat *int64 `json:"request_body_format,omitempty"` + // The format of the payloads for webhook requests. + RequestBodyTemplateFormat *int64 `json:"request_body_template_format,omitempty"` + // The value that will be sent for the 'Content Type' header. + RequestContentType NullableString `json:"request_content_type,omitempty"` + // The header to send the predefined secret in. This must be unique from existing headers or it won't be sent. You can use this as a form of authentication on the endpoint side. + SecretHeader NullableString `json:"secret_header,omitempty"` + // The value for the predefined secret (note: this is treated as a passphrase and is encrypted when we store it). You can use this as a form of authentication on the endpoint side. + SecretValue NullableString `json:"secret_value,omitempty"` + // The value for the signature key - This is used to generate an HMAC-based hex digest of the request body, which we send as the X-Cloudsmith-Signature header so that you can ensure that the request wasn't modified by a malicious party (note: this is treated as a passphrase and is encrypted when we store it). + SignatureKey *string `json:"signature_key,omitempty"` + // The destination URL that webhook payloads will be POST'ed to. + TargetUrl *string `json:"target_url,omitempty"` + Templates []WebhookTemplate `json:"templates,omitempty"` + // If enabled, SSL certificates is verified when webhooks are sent. It's recommended to leave this enabled as not verifying the integrity of SSL certificates leaves you susceptible to Man-in-the-Middle (MITM) attacks. + VerifySsl *bool `json:"verify_ssl,omitempty"` +} + +// NewRepositoryWebhookRequestPatch instantiates a new RepositoryWebhookRequestPatch object +// 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 NewRepositoryWebhookRequestPatch() *RepositoryWebhookRequestPatch { + this := RepositoryWebhookRequestPatch{} + return &this +} + +// NewRepositoryWebhookRequestPatchWithDefaults instantiates a new RepositoryWebhookRequestPatch object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewRepositoryWebhookRequestPatchWithDefaults() *RepositoryWebhookRequestPatch { + this := RepositoryWebhookRequestPatch{} + return &this +} + +// GetEvents returns the Events field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *RepositoryWebhookRequestPatch) GetEvents() []string { + if o == nil { + var ret []string + return ret + } + return o.Events +} + +// GetEventsOk returns a tuple with the Events 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 *RepositoryWebhookRequestPatch) GetEventsOk() ([]string, bool) { + if o == nil || isNil(o.Events) { + return nil, false + } + return o.Events, true +} + +// HasEvents returns a boolean if a field has been set. +func (o *RepositoryWebhookRequestPatch) HasEvents() bool { + if o != nil && isNil(o.Events) { + return true + } + + return false +} + +// SetEvents gets a reference to the given []string and assigns it to the Events field. +func (o *RepositoryWebhookRequestPatch) SetEvents(v []string) { + o.Events = v +} + +// GetIsActive returns the IsActive field value if set, zero value otherwise. +func (o *RepositoryWebhookRequestPatch) GetIsActive() bool { + if o == nil || isNil(o.IsActive) { + var ret bool + return ret + } + return *o.IsActive +} + +// GetIsActiveOk returns a tuple with the IsActive field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *RepositoryWebhookRequestPatch) GetIsActiveOk() (*bool, bool) { + if o == nil || isNil(o.IsActive) { + return nil, false + } + return o.IsActive, true +} + +// HasIsActive returns a boolean if a field has been set. +func (o *RepositoryWebhookRequestPatch) HasIsActive() bool { + if o != nil && !isNil(o.IsActive) { + return true + } + + return false +} + +// SetIsActive gets a reference to the given bool and assigns it to the IsActive field. +func (o *RepositoryWebhookRequestPatch) SetIsActive(v bool) { + o.IsActive = &v +} + +// GetPackageQuery returns the PackageQuery field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *RepositoryWebhookRequestPatch) GetPackageQuery() string { + if o == nil || isNil(o.PackageQuery.Get()) { + var ret string + return ret + } + return *o.PackageQuery.Get() +} + +// GetPackageQueryOk returns a tuple with the PackageQuery 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 *RepositoryWebhookRequestPatch) GetPackageQueryOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.PackageQuery.Get(), o.PackageQuery.IsSet() +} + +// HasPackageQuery returns a boolean if a field has been set. +func (o *RepositoryWebhookRequestPatch) HasPackageQuery() bool { + if o != nil && o.PackageQuery.IsSet() { + return true + } + + return false +} + +// SetPackageQuery gets a reference to the given NullableString and assigns it to the PackageQuery field. +func (o *RepositoryWebhookRequestPatch) SetPackageQuery(v string) { + o.PackageQuery.Set(&v) +} + +// SetPackageQueryNil sets the value for PackageQuery to be an explicit nil +func (o *RepositoryWebhookRequestPatch) SetPackageQueryNil() { + o.PackageQuery.Set(nil) +} + +// UnsetPackageQuery ensures that no value is present for PackageQuery, not even an explicit nil +func (o *RepositoryWebhookRequestPatch) UnsetPackageQuery() { + o.PackageQuery.Unset() +} + +// GetRequestBodyFormat returns the RequestBodyFormat field value if set, zero value otherwise. +func (o *RepositoryWebhookRequestPatch) GetRequestBodyFormat() int64 { + if o == nil || isNil(o.RequestBodyFormat) { + var ret int64 + return ret + } + return *o.RequestBodyFormat +} + +// GetRequestBodyFormatOk returns a tuple with the RequestBodyFormat field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *RepositoryWebhookRequestPatch) GetRequestBodyFormatOk() (*int64, bool) { + if o == nil || isNil(o.RequestBodyFormat) { + return nil, false + } + return o.RequestBodyFormat, true +} + +// HasRequestBodyFormat returns a boolean if a field has been set. +func (o *RepositoryWebhookRequestPatch) HasRequestBodyFormat() bool { + if o != nil && !isNil(o.RequestBodyFormat) { + return true + } + + return false +} + +// SetRequestBodyFormat gets a reference to the given int64 and assigns it to the RequestBodyFormat field. +func (o *RepositoryWebhookRequestPatch) SetRequestBodyFormat(v int64) { + o.RequestBodyFormat = &v +} + +// GetRequestBodyTemplateFormat returns the RequestBodyTemplateFormat field value if set, zero value otherwise. +func (o *RepositoryWebhookRequestPatch) GetRequestBodyTemplateFormat() int64 { + if o == nil || isNil(o.RequestBodyTemplateFormat) { + var ret int64 + return ret + } + return *o.RequestBodyTemplateFormat +} + +// GetRequestBodyTemplateFormatOk returns a tuple with the RequestBodyTemplateFormat field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *RepositoryWebhookRequestPatch) GetRequestBodyTemplateFormatOk() (*int64, bool) { + if o == nil || isNil(o.RequestBodyTemplateFormat) { + return nil, false + } + return o.RequestBodyTemplateFormat, true +} + +// HasRequestBodyTemplateFormat returns a boolean if a field has been set. +func (o *RepositoryWebhookRequestPatch) HasRequestBodyTemplateFormat() bool { + if o != nil && !isNil(o.RequestBodyTemplateFormat) { + return true + } + + return false +} + +// SetRequestBodyTemplateFormat gets a reference to the given int64 and assigns it to the RequestBodyTemplateFormat field. +func (o *RepositoryWebhookRequestPatch) SetRequestBodyTemplateFormat(v int64) { + o.RequestBodyTemplateFormat = &v +} + +// GetRequestContentType returns the RequestContentType field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *RepositoryWebhookRequestPatch) GetRequestContentType() string { + if o == nil || isNil(o.RequestContentType.Get()) { + var ret string + return ret + } + return *o.RequestContentType.Get() +} + +// GetRequestContentTypeOk returns a tuple with the RequestContentType 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 *RepositoryWebhookRequestPatch) GetRequestContentTypeOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.RequestContentType.Get(), o.RequestContentType.IsSet() +} + +// HasRequestContentType returns a boolean if a field has been set. +func (o *RepositoryWebhookRequestPatch) HasRequestContentType() bool { + if o != nil && o.RequestContentType.IsSet() { + return true + } + + return false +} + +// SetRequestContentType gets a reference to the given NullableString and assigns it to the RequestContentType field. +func (o *RepositoryWebhookRequestPatch) SetRequestContentType(v string) { + o.RequestContentType.Set(&v) +} + +// SetRequestContentTypeNil sets the value for RequestContentType to be an explicit nil +func (o *RepositoryWebhookRequestPatch) SetRequestContentTypeNil() { + o.RequestContentType.Set(nil) +} + +// UnsetRequestContentType ensures that no value is present for RequestContentType, not even an explicit nil +func (o *RepositoryWebhookRequestPatch) UnsetRequestContentType() { + o.RequestContentType.Unset() +} + +// GetSecretHeader returns the SecretHeader field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *RepositoryWebhookRequestPatch) GetSecretHeader() string { + if o == nil || isNil(o.SecretHeader.Get()) { + var ret string + return ret + } + return *o.SecretHeader.Get() +} + +// GetSecretHeaderOk returns a tuple with the SecretHeader 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 *RepositoryWebhookRequestPatch) GetSecretHeaderOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.SecretHeader.Get(), o.SecretHeader.IsSet() +} + +// HasSecretHeader returns a boolean if a field has been set. +func (o *RepositoryWebhookRequestPatch) HasSecretHeader() bool { + if o != nil && o.SecretHeader.IsSet() { + return true + } + + return false +} + +// SetSecretHeader gets a reference to the given NullableString and assigns it to the SecretHeader field. +func (o *RepositoryWebhookRequestPatch) SetSecretHeader(v string) { + o.SecretHeader.Set(&v) +} + +// SetSecretHeaderNil sets the value for SecretHeader to be an explicit nil +func (o *RepositoryWebhookRequestPatch) SetSecretHeaderNil() { + o.SecretHeader.Set(nil) +} + +// UnsetSecretHeader ensures that no value is present for SecretHeader, not even an explicit nil +func (o *RepositoryWebhookRequestPatch) UnsetSecretHeader() { + o.SecretHeader.Unset() +} + +// GetSecretValue returns the SecretValue field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *RepositoryWebhookRequestPatch) GetSecretValue() string { + if o == nil || isNil(o.SecretValue.Get()) { + var ret string + return ret + } + return *o.SecretValue.Get() +} + +// GetSecretValueOk returns a tuple with the SecretValue 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 *RepositoryWebhookRequestPatch) GetSecretValueOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.SecretValue.Get(), o.SecretValue.IsSet() +} + +// HasSecretValue returns a boolean if a field has been set. +func (o *RepositoryWebhookRequestPatch) HasSecretValue() bool { + if o != nil && o.SecretValue.IsSet() { + return true + } + + return false +} + +// SetSecretValue gets a reference to the given NullableString and assigns it to the SecretValue field. +func (o *RepositoryWebhookRequestPatch) SetSecretValue(v string) { + o.SecretValue.Set(&v) +} + +// SetSecretValueNil sets the value for SecretValue to be an explicit nil +func (o *RepositoryWebhookRequestPatch) SetSecretValueNil() { + o.SecretValue.Set(nil) +} + +// UnsetSecretValue ensures that no value is present for SecretValue, not even an explicit nil +func (o *RepositoryWebhookRequestPatch) UnsetSecretValue() { + o.SecretValue.Unset() +} + +// GetSignatureKey returns the SignatureKey field value if set, zero value otherwise. +func (o *RepositoryWebhookRequestPatch) GetSignatureKey() string { + if o == nil || isNil(o.SignatureKey) { + var ret string + return ret + } + return *o.SignatureKey +} + +// GetSignatureKeyOk returns a tuple with the SignatureKey field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *RepositoryWebhookRequestPatch) GetSignatureKeyOk() (*string, bool) { + if o == nil || isNil(o.SignatureKey) { + return nil, false + } + return o.SignatureKey, true +} + +// HasSignatureKey returns a boolean if a field has been set. +func (o *RepositoryWebhookRequestPatch) HasSignatureKey() bool { + if o != nil && !isNil(o.SignatureKey) { + return true + } + + return false +} + +// SetSignatureKey gets a reference to the given string and assigns it to the SignatureKey field. +func (o *RepositoryWebhookRequestPatch) SetSignatureKey(v string) { + o.SignatureKey = &v +} + +// GetTargetUrl returns the TargetUrl field value if set, zero value otherwise. +func (o *RepositoryWebhookRequestPatch) GetTargetUrl() string { + if o == nil || isNil(o.TargetUrl) { + var ret string + return ret + } + return *o.TargetUrl +} + +// GetTargetUrlOk returns a tuple with the TargetUrl field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *RepositoryWebhookRequestPatch) GetTargetUrlOk() (*string, bool) { + if o == nil || isNil(o.TargetUrl) { + return nil, false + } + return o.TargetUrl, true +} + +// HasTargetUrl returns a boolean if a field has been set. +func (o *RepositoryWebhookRequestPatch) HasTargetUrl() bool { + if o != nil && !isNil(o.TargetUrl) { + return true + } + + return false +} + +// SetTargetUrl gets a reference to the given string and assigns it to the TargetUrl field. +func (o *RepositoryWebhookRequestPatch) SetTargetUrl(v string) { + o.TargetUrl = &v +} + +// GetTemplates returns the Templates field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *RepositoryWebhookRequestPatch) GetTemplates() []WebhookTemplate { + if o == nil { + var ret []WebhookTemplate + return ret + } + return o.Templates +} + +// GetTemplatesOk returns a tuple with the Templates 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 *RepositoryWebhookRequestPatch) GetTemplatesOk() ([]WebhookTemplate, bool) { + if o == nil || isNil(o.Templates) { + return nil, false + } + return o.Templates, true +} + +// HasTemplates returns a boolean if a field has been set. +func (o *RepositoryWebhookRequestPatch) HasTemplates() bool { + if o != nil && isNil(o.Templates) { + return true + } + + return false +} + +// SetTemplates gets a reference to the given []WebhookTemplate and assigns it to the Templates field. +func (o *RepositoryWebhookRequestPatch) SetTemplates(v []WebhookTemplate) { + o.Templates = v +} + +// GetVerifySsl returns the VerifySsl field value if set, zero value otherwise. +func (o *RepositoryWebhookRequestPatch) GetVerifySsl() bool { + if o == nil || isNil(o.VerifySsl) { + var ret bool + return ret + } + return *o.VerifySsl +} + +// GetVerifySslOk returns a tuple with the VerifySsl field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *RepositoryWebhookRequestPatch) GetVerifySslOk() (*bool, bool) { + if o == nil || isNil(o.VerifySsl) { + return nil, false + } + return o.VerifySsl, true +} + +// HasVerifySsl returns a boolean if a field has been set. +func (o *RepositoryWebhookRequestPatch) HasVerifySsl() bool { + if o != nil && !isNil(o.VerifySsl) { + return true + } + + return false +} + +// SetVerifySsl gets a reference to the given bool and assigns it to the VerifySsl field. +func (o *RepositoryWebhookRequestPatch) SetVerifySsl(v bool) { + o.VerifySsl = &v +} + +func (o RepositoryWebhookRequestPatch) MarshalJSON() ([]byte, error) { + toSerialize := map[string]interface{}{} + if o.Events != nil { + toSerialize["events"] = o.Events + } + if !isNil(o.IsActive) { + toSerialize["is_active"] = o.IsActive + } + if o.PackageQuery.IsSet() { + toSerialize["package_query"] = o.PackageQuery.Get() + } + if !isNil(o.RequestBodyFormat) { + toSerialize["request_body_format"] = o.RequestBodyFormat + } + if !isNil(o.RequestBodyTemplateFormat) { + toSerialize["request_body_template_format"] = o.RequestBodyTemplateFormat + } + if o.RequestContentType.IsSet() { + toSerialize["request_content_type"] = o.RequestContentType.Get() + } + if o.SecretHeader.IsSet() { + toSerialize["secret_header"] = o.SecretHeader.Get() + } + if o.SecretValue.IsSet() { + toSerialize["secret_value"] = o.SecretValue.Get() + } + if !isNil(o.SignatureKey) { + toSerialize["signature_key"] = o.SignatureKey + } + if !isNil(o.TargetUrl) { + toSerialize["target_url"] = o.TargetUrl + } + if o.Templates != nil { + toSerialize["templates"] = o.Templates + } + if !isNil(o.VerifySsl) { + toSerialize["verify_ssl"] = o.VerifySsl + } + return json.Marshal(toSerialize) +} + +type NullableRepositoryWebhookRequestPatch struct { + value *RepositoryWebhookRequestPatch + isSet bool +} + +func (v NullableRepositoryWebhookRequestPatch) Get() *RepositoryWebhookRequestPatch { + return v.value +} + +func (v *NullableRepositoryWebhookRequestPatch) Set(val *RepositoryWebhookRequestPatch) { + v.value = val + v.isSet = true +} + +func (v NullableRepositoryWebhookRequestPatch) IsSet() bool { + return v.isSet +} + +func (v *NullableRepositoryWebhookRequestPatch) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableRepositoryWebhookRequestPatch(val *RepositoryWebhookRequestPatch) *NullableRepositoryWebhookRequestPatch { + return &NullableRepositoryWebhookRequestPatch{value: val, isSet: true} +} + +func (v NullableRepositoryWebhookRequestPatch) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableRepositoryWebhookRequestPatch) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} diff --git a/model_repository_webhook.go b/model_repository_webhook_response.go similarity index 51% rename from model_repository_webhook.go rename to model_repository_webhook_response.go index 302a96a8..44a1568c 100644 --- a/model_repository_webhook.go +++ b/model_repository_webhook_response.go @@ -1,9 +1,9 @@ /* -Cloudsmith API +Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.121.3 +API version: 1.181.6 Contact: support@cloudsmith.io */ @@ -13,90 +13,72 @@ package cloudsmith import ( "encoding/json" + "time" ) -// RepositoryWebhook struct for RepositoryWebhook -type RepositoryWebhook struct { - // - CreatedAt *string `json:"created_at,omitempty"` - // - CreatedBy *string `json:"created_by,omitempty"` - // - CreatedByUrl *string `json:"created_by_url,omitempty"` - // - DisableReason *int64 `json:"disable_reason,omitempty"` - // - DisableReasonStr *string `json:"disable_reason_str,omitempty"` - // - Events []string `json:"events"` - // - Identifier *int64 `json:"identifier,omitempty"` - // If enabled, the webhook will trigger on events and send payloads to the configured target URL. - IsActive *bool `json:"is_active,omitempty"` - // - IsLastResponseBad *bool `json:"is_last_response_bad,omitempty"` - // - LastResponseStatus *int64 `json:"last_response_status,omitempty"` - // +// RepositoryWebhookResponse struct for RepositoryWebhookResponse +type RepositoryWebhookResponse struct { + CreatedAt *time.Time `json:"created_at,omitempty"` + CreatedBy *string `json:"created_by,omitempty"` + CreatedByUrl *string `json:"created_by_url,omitempty"` + DisableReason *int64 `json:"disable_reason,omitempty"` + DisableReasonStr *string `json:"disable_reason_str,omitempty"` + Events []string `json:"events"` + Identifier *int64 `json:"identifier,omitempty"` + // If enabled, the webhook will trigger on subscribed events and send payloads to the configured target URL. + IsActive *bool `json:"is_active,omitempty"` + IsLastResponseBad *bool `json:"is_last_response_bad,omitempty"` + LastResponseStatus *int64 `json:"last_response_status,omitempty"` LastResponseStatusStr *string `json:"last_response_status_str,omitempty"` - // - NumSent *int64 `json:"num_sent,omitempty"` + NumSent *int64 `json:"num_sent,omitempty"` // The package-based search query for webhooks to fire. This uses the same syntax as the standard search used for repositories, and also supports boolean logic operators such as OR/AND/NOT and parentheses for grouping. If a package does not match, the webhook will not fire. - PackageQuery *string `json:"package_query,omitempty"` + PackageQuery NullableString `json:"package_query,omitempty"` // The format of the payloads for webhook requests. - RequestBodyFormat *int64 `json:"request_body_format,omitempty"` - // + RequestBodyFormat *int64 `json:"request_body_format,omitempty"` RequestBodyFormatStr *string `json:"request_body_format_str,omitempty"` // The format of the payloads for webhook requests. - RequestBodyTemplateFormat *int64 `json:"request_body_template_format,omitempty"` - // + RequestBodyTemplateFormat *int64 `json:"request_body_template_format,omitempty"` RequestBodyTemplateFormatStr *string `json:"request_body_template_format_str,omitempty"` // The value that will be sent for the 'Content Type' header. - RequestContentType *string `json:"request_content_type,omitempty"` + RequestContentType NullableString `json:"request_content_type,omitempty"` // The header to send the predefined secret in. This must be unique from existing headers or it won't be sent. You can use this as a form of authentication on the endpoint side. - SecretHeader *string `json:"secret_header,omitempty"` - // - SelfUrl *string `json:"self_url,omitempty"` - // - SlugPerm *string `json:"slug_perm,omitempty"` + SecretHeader NullableString `json:"secret_header,omitempty"` + SelfUrl *string `json:"self_url,omitempty"` + SlugPerm *string `json:"slug_perm,omitempty"` // The destination URL that webhook payloads will be POST'ed to. - TargetUrl string `json:"target_url"` - // - Templates []WebhooksOwnerRepoTemplates `json:"templates"` - // - UpdatedAt *string `json:"updated_at,omitempty"` - // - UpdatedBy *string `json:"updated_by,omitempty"` - // - UpdatedByUrl *string `json:"updated_by_url,omitempty"` + TargetUrl string `json:"target_url"` + Templates []WebhookTemplate `json:"templates"` + UpdatedAt *time.Time `json:"updated_at,omitempty"` + UpdatedBy *string `json:"updated_by,omitempty"` + UpdatedByUrl *string `json:"updated_by_url,omitempty"` // If enabled, SSL certificates is verified when webhooks are sent. It's recommended to leave this enabled as not verifying the integrity of SSL certificates leaves you susceptible to Man-in-the-Middle (MITM) attacks. VerifySsl *bool `json:"verify_ssl,omitempty"` } -// NewRepositoryWebhook instantiates a new RepositoryWebhook object +// NewRepositoryWebhookResponse instantiates a new RepositoryWebhookResponse object // 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 NewRepositoryWebhook(events []string, targetUrl string, templates []WebhooksOwnerRepoTemplates) *RepositoryWebhook { - this := RepositoryWebhook{} +func NewRepositoryWebhookResponse(events []string, targetUrl string, templates []WebhookTemplate) *RepositoryWebhookResponse { + this := RepositoryWebhookResponse{} this.Events = events this.TargetUrl = targetUrl this.Templates = templates return &this } -// NewRepositoryWebhookWithDefaults instantiates a new RepositoryWebhook object +// NewRepositoryWebhookResponseWithDefaults instantiates a new RepositoryWebhookResponse object // This constructor will only assign default values to properties that have it defined, // but it doesn't guarantee that properties required by API are set -func NewRepositoryWebhookWithDefaults() *RepositoryWebhook { - this := RepositoryWebhook{} +func NewRepositoryWebhookResponseWithDefaults() *RepositoryWebhookResponse { + this := RepositoryWebhookResponse{} return &this } // GetCreatedAt returns the CreatedAt field value if set, zero value otherwise. -func (o *RepositoryWebhook) GetCreatedAt() string { - if o == nil || o.CreatedAt == nil { - var ret string +func (o *RepositoryWebhookResponse) GetCreatedAt() time.Time { + if o == nil || isNil(o.CreatedAt) { + var ret time.Time return ret } return *o.CreatedAt @@ -104,30 +86,30 @@ func (o *RepositoryWebhook) GetCreatedAt() string { // GetCreatedAtOk returns a tuple with the CreatedAt field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *RepositoryWebhook) GetCreatedAtOk() (*string, bool) { - if o == nil || o.CreatedAt == nil { +func (o *RepositoryWebhookResponse) GetCreatedAtOk() (*time.Time, bool) { + if o == nil || isNil(o.CreatedAt) { return nil, false } return o.CreatedAt, true } // HasCreatedAt returns a boolean if a field has been set. -func (o *RepositoryWebhook) HasCreatedAt() bool { - if o != nil && o.CreatedAt != nil { +func (o *RepositoryWebhookResponse) HasCreatedAt() bool { + if o != nil && !isNil(o.CreatedAt) { return true } return false } -// SetCreatedAt gets a reference to the given string and assigns it to the CreatedAt field. -func (o *RepositoryWebhook) SetCreatedAt(v string) { +// SetCreatedAt gets a reference to the given time.Time and assigns it to the CreatedAt field. +func (o *RepositoryWebhookResponse) SetCreatedAt(v time.Time) { o.CreatedAt = &v } // GetCreatedBy returns the CreatedBy field value if set, zero value otherwise. -func (o *RepositoryWebhook) GetCreatedBy() string { - if o == nil || o.CreatedBy == nil { +func (o *RepositoryWebhookResponse) GetCreatedBy() string { + if o == nil || isNil(o.CreatedBy) { var ret string return ret } @@ -136,16 +118,16 @@ func (o *RepositoryWebhook) GetCreatedBy() string { // GetCreatedByOk returns a tuple with the CreatedBy field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *RepositoryWebhook) GetCreatedByOk() (*string, bool) { - if o == nil || o.CreatedBy == nil { +func (o *RepositoryWebhookResponse) GetCreatedByOk() (*string, bool) { + if o == nil || isNil(o.CreatedBy) { return nil, false } return o.CreatedBy, true } // HasCreatedBy returns a boolean if a field has been set. -func (o *RepositoryWebhook) HasCreatedBy() bool { - if o != nil && o.CreatedBy != nil { +func (o *RepositoryWebhookResponse) HasCreatedBy() bool { + if o != nil && !isNil(o.CreatedBy) { return true } @@ -153,13 +135,13 @@ func (o *RepositoryWebhook) HasCreatedBy() bool { } // SetCreatedBy gets a reference to the given string and assigns it to the CreatedBy field. -func (o *RepositoryWebhook) SetCreatedBy(v string) { +func (o *RepositoryWebhookResponse) SetCreatedBy(v string) { o.CreatedBy = &v } // GetCreatedByUrl returns the CreatedByUrl field value if set, zero value otherwise. -func (o *RepositoryWebhook) GetCreatedByUrl() string { - if o == nil || o.CreatedByUrl == nil { +func (o *RepositoryWebhookResponse) GetCreatedByUrl() string { + if o == nil || isNil(o.CreatedByUrl) { var ret string return ret } @@ -168,16 +150,16 @@ func (o *RepositoryWebhook) GetCreatedByUrl() string { // GetCreatedByUrlOk returns a tuple with the CreatedByUrl field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *RepositoryWebhook) GetCreatedByUrlOk() (*string, bool) { - if o == nil || o.CreatedByUrl == nil { +func (o *RepositoryWebhookResponse) GetCreatedByUrlOk() (*string, bool) { + if o == nil || isNil(o.CreatedByUrl) { return nil, false } return o.CreatedByUrl, true } // HasCreatedByUrl returns a boolean if a field has been set. -func (o *RepositoryWebhook) HasCreatedByUrl() bool { - if o != nil && o.CreatedByUrl != nil { +func (o *RepositoryWebhookResponse) HasCreatedByUrl() bool { + if o != nil && !isNil(o.CreatedByUrl) { return true } @@ -185,13 +167,13 @@ func (o *RepositoryWebhook) HasCreatedByUrl() bool { } // SetCreatedByUrl gets a reference to the given string and assigns it to the CreatedByUrl field. -func (o *RepositoryWebhook) SetCreatedByUrl(v string) { +func (o *RepositoryWebhookResponse) SetCreatedByUrl(v string) { o.CreatedByUrl = &v } // GetDisableReason returns the DisableReason field value if set, zero value otherwise. -func (o *RepositoryWebhook) GetDisableReason() int64 { - if o == nil || o.DisableReason == nil { +func (o *RepositoryWebhookResponse) GetDisableReason() int64 { + if o == nil || isNil(o.DisableReason) { var ret int64 return ret } @@ -200,16 +182,16 @@ func (o *RepositoryWebhook) GetDisableReason() int64 { // GetDisableReasonOk returns a tuple with the DisableReason field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *RepositoryWebhook) GetDisableReasonOk() (*int64, bool) { - if o == nil || o.DisableReason == nil { +func (o *RepositoryWebhookResponse) GetDisableReasonOk() (*int64, bool) { + if o == nil || isNil(o.DisableReason) { return nil, false } return o.DisableReason, true } // HasDisableReason returns a boolean if a field has been set. -func (o *RepositoryWebhook) HasDisableReason() bool { - if o != nil && o.DisableReason != nil { +func (o *RepositoryWebhookResponse) HasDisableReason() bool { + if o != nil && !isNil(o.DisableReason) { return true } @@ -217,13 +199,13 @@ func (o *RepositoryWebhook) HasDisableReason() bool { } // SetDisableReason gets a reference to the given int64 and assigns it to the DisableReason field. -func (o *RepositoryWebhook) SetDisableReason(v int64) { +func (o *RepositoryWebhookResponse) SetDisableReason(v int64) { o.DisableReason = &v } // GetDisableReasonStr returns the DisableReasonStr field value if set, zero value otherwise. -func (o *RepositoryWebhook) GetDisableReasonStr() string { - if o == nil || o.DisableReasonStr == nil { +func (o *RepositoryWebhookResponse) GetDisableReasonStr() string { + if o == nil || isNil(o.DisableReasonStr) { var ret string return ret } @@ -232,16 +214,16 @@ func (o *RepositoryWebhook) GetDisableReasonStr() string { // GetDisableReasonStrOk returns a tuple with the DisableReasonStr field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *RepositoryWebhook) GetDisableReasonStrOk() (*string, bool) { - if o == nil || o.DisableReasonStr == nil { +func (o *RepositoryWebhookResponse) GetDisableReasonStrOk() (*string, bool) { + if o == nil || isNil(o.DisableReasonStr) { return nil, false } return o.DisableReasonStr, true } // HasDisableReasonStr returns a boolean if a field has been set. -func (o *RepositoryWebhook) HasDisableReasonStr() bool { - if o != nil && o.DisableReasonStr != nil { +func (o *RepositoryWebhookResponse) HasDisableReasonStr() bool { + if o != nil && !isNil(o.DisableReasonStr) { return true } @@ -249,12 +231,13 @@ func (o *RepositoryWebhook) HasDisableReasonStr() bool { } // SetDisableReasonStr gets a reference to the given string and assigns it to the DisableReasonStr field. -func (o *RepositoryWebhook) SetDisableReasonStr(v string) { +func (o *RepositoryWebhookResponse) SetDisableReasonStr(v string) { o.DisableReasonStr = &v } // GetEvents returns the Events field value -func (o *RepositoryWebhook) GetEvents() []string { +// If the value is explicit nil, the zero value for []string will be returned +func (o *RepositoryWebhookResponse) GetEvents() []string { if o == nil { var ret []string return ret @@ -265,21 +248,22 @@ func (o *RepositoryWebhook) GetEvents() []string { // GetEventsOk returns a tuple with the Events field value // and a boolean to check if the value has been set. -func (o *RepositoryWebhook) GetEventsOk() ([]string, bool) { - if o == nil { +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *RepositoryWebhookResponse) GetEventsOk() ([]string, bool) { + if o == nil || isNil(o.Events) { return nil, false } return o.Events, true } // SetEvents sets field value -func (o *RepositoryWebhook) SetEvents(v []string) { +func (o *RepositoryWebhookResponse) SetEvents(v []string) { o.Events = v } // GetIdentifier returns the Identifier field value if set, zero value otherwise. -func (o *RepositoryWebhook) GetIdentifier() int64 { - if o == nil || o.Identifier == nil { +func (o *RepositoryWebhookResponse) GetIdentifier() int64 { + if o == nil || isNil(o.Identifier) { var ret int64 return ret } @@ -288,16 +272,16 @@ func (o *RepositoryWebhook) GetIdentifier() int64 { // GetIdentifierOk returns a tuple with the Identifier field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *RepositoryWebhook) GetIdentifierOk() (*int64, bool) { - if o == nil || o.Identifier == nil { +func (o *RepositoryWebhookResponse) GetIdentifierOk() (*int64, bool) { + if o == nil || isNil(o.Identifier) { return nil, false } return o.Identifier, true } // HasIdentifier returns a boolean if a field has been set. -func (o *RepositoryWebhook) HasIdentifier() bool { - if o != nil && o.Identifier != nil { +func (o *RepositoryWebhookResponse) HasIdentifier() bool { + if o != nil && !isNil(o.Identifier) { return true } @@ -305,13 +289,13 @@ func (o *RepositoryWebhook) HasIdentifier() bool { } // SetIdentifier gets a reference to the given int64 and assigns it to the Identifier field. -func (o *RepositoryWebhook) SetIdentifier(v int64) { +func (o *RepositoryWebhookResponse) SetIdentifier(v int64) { o.Identifier = &v } // GetIsActive returns the IsActive field value if set, zero value otherwise. -func (o *RepositoryWebhook) GetIsActive() bool { - if o == nil || o.IsActive == nil { +func (o *RepositoryWebhookResponse) GetIsActive() bool { + if o == nil || isNil(o.IsActive) { var ret bool return ret } @@ -320,16 +304,16 @@ func (o *RepositoryWebhook) GetIsActive() bool { // GetIsActiveOk returns a tuple with the IsActive field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *RepositoryWebhook) GetIsActiveOk() (*bool, bool) { - if o == nil || o.IsActive == nil { +func (o *RepositoryWebhookResponse) GetIsActiveOk() (*bool, bool) { + if o == nil || isNil(o.IsActive) { return nil, false } return o.IsActive, true } // HasIsActive returns a boolean if a field has been set. -func (o *RepositoryWebhook) HasIsActive() bool { - if o != nil && o.IsActive != nil { +func (o *RepositoryWebhookResponse) HasIsActive() bool { + if o != nil && !isNil(o.IsActive) { return true } @@ -337,13 +321,13 @@ func (o *RepositoryWebhook) HasIsActive() bool { } // SetIsActive gets a reference to the given bool and assigns it to the IsActive field. -func (o *RepositoryWebhook) SetIsActive(v bool) { +func (o *RepositoryWebhookResponse) SetIsActive(v bool) { o.IsActive = &v } // GetIsLastResponseBad returns the IsLastResponseBad field value if set, zero value otherwise. -func (o *RepositoryWebhook) GetIsLastResponseBad() bool { - if o == nil || o.IsLastResponseBad == nil { +func (o *RepositoryWebhookResponse) GetIsLastResponseBad() bool { + if o == nil || isNil(o.IsLastResponseBad) { var ret bool return ret } @@ -352,16 +336,16 @@ func (o *RepositoryWebhook) GetIsLastResponseBad() bool { // GetIsLastResponseBadOk returns a tuple with the IsLastResponseBad field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *RepositoryWebhook) GetIsLastResponseBadOk() (*bool, bool) { - if o == nil || o.IsLastResponseBad == nil { +func (o *RepositoryWebhookResponse) GetIsLastResponseBadOk() (*bool, bool) { + if o == nil || isNil(o.IsLastResponseBad) { return nil, false } return o.IsLastResponseBad, true } // HasIsLastResponseBad returns a boolean if a field has been set. -func (o *RepositoryWebhook) HasIsLastResponseBad() bool { - if o != nil && o.IsLastResponseBad != nil { +func (o *RepositoryWebhookResponse) HasIsLastResponseBad() bool { + if o != nil && !isNil(o.IsLastResponseBad) { return true } @@ -369,13 +353,13 @@ func (o *RepositoryWebhook) HasIsLastResponseBad() bool { } // SetIsLastResponseBad gets a reference to the given bool and assigns it to the IsLastResponseBad field. -func (o *RepositoryWebhook) SetIsLastResponseBad(v bool) { +func (o *RepositoryWebhookResponse) SetIsLastResponseBad(v bool) { o.IsLastResponseBad = &v } // GetLastResponseStatus returns the LastResponseStatus field value if set, zero value otherwise. -func (o *RepositoryWebhook) GetLastResponseStatus() int64 { - if o == nil || o.LastResponseStatus == nil { +func (o *RepositoryWebhookResponse) GetLastResponseStatus() int64 { + if o == nil || isNil(o.LastResponseStatus) { var ret int64 return ret } @@ -384,16 +368,16 @@ func (o *RepositoryWebhook) GetLastResponseStatus() int64 { // GetLastResponseStatusOk returns a tuple with the LastResponseStatus field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *RepositoryWebhook) GetLastResponseStatusOk() (*int64, bool) { - if o == nil || o.LastResponseStatus == nil { +func (o *RepositoryWebhookResponse) GetLastResponseStatusOk() (*int64, bool) { + if o == nil || isNil(o.LastResponseStatus) { return nil, false } return o.LastResponseStatus, true } // HasLastResponseStatus returns a boolean if a field has been set. -func (o *RepositoryWebhook) HasLastResponseStatus() bool { - if o != nil && o.LastResponseStatus != nil { +func (o *RepositoryWebhookResponse) HasLastResponseStatus() bool { + if o != nil && !isNil(o.LastResponseStatus) { return true } @@ -401,13 +385,13 @@ func (o *RepositoryWebhook) HasLastResponseStatus() bool { } // SetLastResponseStatus gets a reference to the given int64 and assigns it to the LastResponseStatus field. -func (o *RepositoryWebhook) SetLastResponseStatus(v int64) { +func (o *RepositoryWebhookResponse) SetLastResponseStatus(v int64) { o.LastResponseStatus = &v } // GetLastResponseStatusStr returns the LastResponseStatusStr field value if set, zero value otherwise. -func (o *RepositoryWebhook) GetLastResponseStatusStr() string { - if o == nil || o.LastResponseStatusStr == nil { +func (o *RepositoryWebhookResponse) GetLastResponseStatusStr() string { + if o == nil || isNil(o.LastResponseStatusStr) { var ret string return ret } @@ -416,16 +400,16 @@ func (o *RepositoryWebhook) GetLastResponseStatusStr() string { // GetLastResponseStatusStrOk returns a tuple with the LastResponseStatusStr field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *RepositoryWebhook) GetLastResponseStatusStrOk() (*string, bool) { - if o == nil || o.LastResponseStatusStr == nil { +func (o *RepositoryWebhookResponse) GetLastResponseStatusStrOk() (*string, bool) { + if o == nil || isNil(o.LastResponseStatusStr) { return nil, false } return o.LastResponseStatusStr, true } // HasLastResponseStatusStr returns a boolean if a field has been set. -func (o *RepositoryWebhook) HasLastResponseStatusStr() bool { - if o != nil && o.LastResponseStatusStr != nil { +func (o *RepositoryWebhookResponse) HasLastResponseStatusStr() bool { + if o != nil && !isNil(o.LastResponseStatusStr) { return true } @@ -433,13 +417,13 @@ func (o *RepositoryWebhook) HasLastResponseStatusStr() bool { } // SetLastResponseStatusStr gets a reference to the given string and assigns it to the LastResponseStatusStr field. -func (o *RepositoryWebhook) SetLastResponseStatusStr(v string) { +func (o *RepositoryWebhookResponse) SetLastResponseStatusStr(v string) { o.LastResponseStatusStr = &v } // GetNumSent returns the NumSent field value if set, zero value otherwise. -func (o *RepositoryWebhook) GetNumSent() int64 { - if o == nil || o.NumSent == nil { +func (o *RepositoryWebhookResponse) GetNumSent() int64 { + if o == nil || isNil(o.NumSent) { var ret int64 return ret } @@ -448,16 +432,16 @@ func (o *RepositoryWebhook) GetNumSent() int64 { // GetNumSentOk returns a tuple with the NumSent field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *RepositoryWebhook) GetNumSentOk() (*int64, bool) { - if o == nil || o.NumSent == nil { +func (o *RepositoryWebhookResponse) GetNumSentOk() (*int64, bool) { + if o == nil || isNil(o.NumSent) { return nil, false } return o.NumSent, true } // HasNumSent returns a boolean if a field has been set. -func (o *RepositoryWebhook) HasNumSent() bool { - if o != nil && o.NumSent != nil { +func (o *RepositoryWebhookResponse) HasNumSent() bool { + if o != nil && !isNil(o.NumSent) { return true } @@ -465,45 +449,56 @@ func (o *RepositoryWebhook) HasNumSent() bool { } // SetNumSent gets a reference to the given int64 and assigns it to the NumSent field. -func (o *RepositoryWebhook) SetNumSent(v int64) { +func (o *RepositoryWebhookResponse) SetNumSent(v int64) { o.NumSent = &v } -// GetPackageQuery returns the PackageQuery field value if set, zero value otherwise. -func (o *RepositoryWebhook) GetPackageQuery() string { - if o == nil || o.PackageQuery == nil { +// GetPackageQuery returns the PackageQuery field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *RepositoryWebhookResponse) GetPackageQuery() string { + if o == nil || isNil(o.PackageQuery.Get()) { var ret string return ret } - return *o.PackageQuery + return *o.PackageQuery.Get() } // GetPackageQueryOk returns a tuple with the PackageQuery field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *RepositoryWebhook) GetPackageQueryOk() (*string, bool) { - if o == nil || o.PackageQuery == nil { +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *RepositoryWebhookResponse) GetPackageQueryOk() (*string, bool) { + if o == nil { return nil, false } - return o.PackageQuery, true + return o.PackageQuery.Get(), o.PackageQuery.IsSet() } // HasPackageQuery returns a boolean if a field has been set. -func (o *RepositoryWebhook) HasPackageQuery() bool { - if o != nil && o.PackageQuery != nil { +func (o *RepositoryWebhookResponse) HasPackageQuery() bool { + if o != nil && o.PackageQuery.IsSet() { return true } return false } -// SetPackageQuery gets a reference to the given string and assigns it to the PackageQuery field. -func (o *RepositoryWebhook) SetPackageQuery(v string) { - o.PackageQuery = &v +// SetPackageQuery gets a reference to the given NullableString and assigns it to the PackageQuery field. +func (o *RepositoryWebhookResponse) SetPackageQuery(v string) { + o.PackageQuery.Set(&v) +} + +// SetPackageQueryNil sets the value for PackageQuery to be an explicit nil +func (o *RepositoryWebhookResponse) SetPackageQueryNil() { + o.PackageQuery.Set(nil) +} + +// UnsetPackageQuery ensures that no value is present for PackageQuery, not even an explicit nil +func (o *RepositoryWebhookResponse) UnsetPackageQuery() { + o.PackageQuery.Unset() } // GetRequestBodyFormat returns the RequestBodyFormat field value if set, zero value otherwise. -func (o *RepositoryWebhook) GetRequestBodyFormat() int64 { - if o == nil || o.RequestBodyFormat == nil { +func (o *RepositoryWebhookResponse) GetRequestBodyFormat() int64 { + if o == nil || isNil(o.RequestBodyFormat) { var ret int64 return ret } @@ -512,16 +507,16 @@ func (o *RepositoryWebhook) GetRequestBodyFormat() int64 { // GetRequestBodyFormatOk returns a tuple with the RequestBodyFormat field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *RepositoryWebhook) GetRequestBodyFormatOk() (*int64, bool) { - if o == nil || o.RequestBodyFormat == nil { +func (o *RepositoryWebhookResponse) GetRequestBodyFormatOk() (*int64, bool) { + if o == nil || isNil(o.RequestBodyFormat) { return nil, false } return o.RequestBodyFormat, true } // HasRequestBodyFormat returns a boolean if a field has been set. -func (o *RepositoryWebhook) HasRequestBodyFormat() bool { - if o != nil && o.RequestBodyFormat != nil { +func (o *RepositoryWebhookResponse) HasRequestBodyFormat() bool { + if o != nil && !isNil(o.RequestBodyFormat) { return true } @@ -529,13 +524,13 @@ func (o *RepositoryWebhook) HasRequestBodyFormat() bool { } // SetRequestBodyFormat gets a reference to the given int64 and assigns it to the RequestBodyFormat field. -func (o *RepositoryWebhook) SetRequestBodyFormat(v int64) { +func (o *RepositoryWebhookResponse) SetRequestBodyFormat(v int64) { o.RequestBodyFormat = &v } // GetRequestBodyFormatStr returns the RequestBodyFormatStr field value if set, zero value otherwise. -func (o *RepositoryWebhook) GetRequestBodyFormatStr() string { - if o == nil || o.RequestBodyFormatStr == nil { +func (o *RepositoryWebhookResponse) GetRequestBodyFormatStr() string { + if o == nil || isNil(o.RequestBodyFormatStr) { var ret string return ret } @@ -544,16 +539,16 @@ func (o *RepositoryWebhook) GetRequestBodyFormatStr() string { // GetRequestBodyFormatStrOk returns a tuple with the RequestBodyFormatStr field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *RepositoryWebhook) GetRequestBodyFormatStrOk() (*string, bool) { - if o == nil || o.RequestBodyFormatStr == nil { +func (o *RepositoryWebhookResponse) GetRequestBodyFormatStrOk() (*string, bool) { + if o == nil || isNil(o.RequestBodyFormatStr) { return nil, false } return o.RequestBodyFormatStr, true } // HasRequestBodyFormatStr returns a boolean if a field has been set. -func (o *RepositoryWebhook) HasRequestBodyFormatStr() bool { - if o != nil && o.RequestBodyFormatStr != nil { +func (o *RepositoryWebhookResponse) HasRequestBodyFormatStr() bool { + if o != nil && !isNil(o.RequestBodyFormatStr) { return true } @@ -561,13 +556,13 @@ func (o *RepositoryWebhook) HasRequestBodyFormatStr() bool { } // SetRequestBodyFormatStr gets a reference to the given string and assigns it to the RequestBodyFormatStr field. -func (o *RepositoryWebhook) SetRequestBodyFormatStr(v string) { +func (o *RepositoryWebhookResponse) SetRequestBodyFormatStr(v string) { o.RequestBodyFormatStr = &v } // GetRequestBodyTemplateFormat returns the RequestBodyTemplateFormat field value if set, zero value otherwise. -func (o *RepositoryWebhook) GetRequestBodyTemplateFormat() int64 { - if o == nil || o.RequestBodyTemplateFormat == nil { +func (o *RepositoryWebhookResponse) GetRequestBodyTemplateFormat() int64 { + if o == nil || isNil(o.RequestBodyTemplateFormat) { var ret int64 return ret } @@ -576,16 +571,16 @@ func (o *RepositoryWebhook) GetRequestBodyTemplateFormat() int64 { // GetRequestBodyTemplateFormatOk returns a tuple with the RequestBodyTemplateFormat field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *RepositoryWebhook) GetRequestBodyTemplateFormatOk() (*int64, bool) { - if o == nil || o.RequestBodyTemplateFormat == nil { +func (o *RepositoryWebhookResponse) GetRequestBodyTemplateFormatOk() (*int64, bool) { + if o == nil || isNil(o.RequestBodyTemplateFormat) { return nil, false } return o.RequestBodyTemplateFormat, true } // HasRequestBodyTemplateFormat returns a boolean if a field has been set. -func (o *RepositoryWebhook) HasRequestBodyTemplateFormat() bool { - if o != nil && o.RequestBodyTemplateFormat != nil { +func (o *RepositoryWebhookResponse) HasRequestBodyTemplateFormat() bool { + if o != nil && !isNil(o.RequestBodyTemplateFormat) { return true } @@ -593,13 +588,13 @@ func (o *RepositoryWebhook) HasRequestBodyTemplateFormat() bool { } // SetRequestBodyTemplateFormat gets a reference to the given int64 and assigns it to the RequestBodyTemplateFormat field. -func (o *RepositoryWebhook) SetRequestBodyTemplateFormat(v int64) { +func (o *RepositoryWebhookResponse) SetRequestBodyTemplateFormat(v int64) { o.RequestBodyTemplateFormat = &v } // GetRequestBodyTemplateFormatStr returns the RequestBodyTemplateFormatStr field value if set, zero value otherwise. -func (o *RepositoryWebhook) GetRequestBodyTemplateFormatStr() string { - if o == nil || o.RequestBodyTemplateFormatStr == nil { +func (o *RepositoryWebhookResponse) GetRequestBodyTemplateFormatStr() string { + if o == nil || isNil(o.RequestBodyTemplateFormatStr) { var ret string return ret } @@ -608,16 +603,16 @@ func (o *RepositoryWebhook) GetRequestBodyTemplateFormatStr() string { // GetRequestBodyTemplateFormatStrOk returns a tuple with the RequestBodyTemplateFormatStr field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *RepositoryWebhook) GetRequestBodyTemplateFormatStrOk() (*string, bool) { - if o == nil || o.RequestBodyTemplateFormatStr == nil { +func (o *RepositoryWebhookResponse) GetRequestBodyTemplateFormatStrOk() (*string, bool) { + if o == nil || isNil(o.RequestBodyTemplateFormatStr) { return nil, false } return o.RequestBodyTemplateFormatStr, true } // HasRequestBodyTemplateFormatStr returns a boolean if a field has been set. -func (o *RepositoryWebhook) HasRequestBodyTemplateFormatStr() bool { - if o != nil && o.RequestBodyTemplateFormatStr != nil { +func (o *RepositoryWebhookResponse) HasRequestBodyTemplateFormatStr() bool { + if o != nil && !isNil(o.RequestBodyTemplateFormatStr) { return true } @@ -625,77 +620,99 @@ func (o *RepositoryWebhook) HasRequestBodyTemplateFormatStr() bool { } // SetRequestBodyTemplateFormatStr gets a reference to the given string and assigns it to the RequestBodyTemplateFormatStr field. -func (o *RepositoryWebhook) SetRequestBodyTemplateFormatStr(v string) { +func (o *RepositoryWebhookResponse) SetRequestBodyTemplateFormatStr(v string) { o.RequestBodyTemplateFormatStr = &v } -// GetRequestContentType returns the RequestContentType field value if set, zero value otherwise. -func (o *RepositoryWebhook) GetRequestContentType() string { - if o == nil || o.RequestContentType == nil { +// GetRequestContentType returns the RequestContentType field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *RepositoryWebhookResponse) GetRequestContentType() string { + if o == nil || isNil(o.RequestContentType.Get()) { var ret string return ret } - return *o.RequestContentType + return *o.RequestContentType.Get() } // GetRequestContentTypeOk returns a tuple with the RequestContentType field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *RepositoryWebhook) GetRequestContentTypeOk() (*string, bool) { - if o == nil || o.RequestContentType == nil { +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *RepositoryWebhookResponse) GetRequestContentTypeOk() (*string, bool) { + if o == nil { return nil, false } - return o.RequestContentType, true + return o.RequestContentType.Get(), o.RequestContentType.IsSet() } // HasRequestContentType returns a boolean if a field has been set. -func (o *RepositoryWebhook) HasRequestContentType() bool { - if o != nil && o.RequestContentType != nil { +func (o *RepositoryWebhookResponse) HasRequestContentType() bool { + if o != nil && o.RequestContentType.IsSet() { return true } return false } -// SetRequestContentType gets a reference to the given string and assigns it to the RequestContentType field. -func (o *RepositoryWebhook) SetRequestContentType(v string) { - o.RequestContentType = &v +// SetRequestContentType gets a reference to the given NullableString and assigns it to the RequestContentType field. +func (o *RepositoryWebhookResponse) SetRequestContentType(v string) { + o.RequestContentType.Set(&v) } -// GetSecretHeader returns the SecretHeader field value if set, zero value otherwise. -func (o *RepositoryWebhook) GetSecretHeader() string { - if o == nil || o.SecretHeader == nil { +// SetRequestContentTypeNil sets the value for RequestContentType to be an explicit nil +func (o *RepositoryWebhookResponse) SetRequestContentTypeNil() { + o.RequestContentType.Set(nil) +} + +// UnsetRequestContentType ensures that no value is present for RequestContentType, not even an explicit nil +func (o *RepositoryWebhookResponse) UnsetRequestContentType() { + o.RequestContentType.Unset() +} + +// GetSecretHeader returns the SecretHeader field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *RepositoryWebhookResponse) GetSecretHeader() string { + if o == nil || isNil(o.SecretHeader.Get()) { var ret string return ret } - return *o.SecretHeader + return *o.SecretHeader.Get() } // GetSecretHeaderOk returns a tuple with the SecretHeader field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *RepositoryWebhook) GetSecretHeaderOk() (*string, bool) { - if o == nil || o.SecretHeader == nil { +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *RepositoryWebhookResponse) GetSecretHeaderOk() (*string, bool) { + if o == nil { return nil, false } - return o.SecretHeader, true + return o.SecretHeader.Get(), o.SecretHeader.IsSet() } // HasSecretHeader returns a boolean if a field has been set. -func (o *RepositoryWebhook) HasSecretHeader() bool { - if o != nil && o.SecretHeader != nil { +func (o *RepositoryWebhookResponse) HasSecretHeader() bool { + if o != nil && o.SecretHeader.IsSet() { return true } return false } -// SetSecretHeader gets a reference to the given string and assigns it to the SecretHeader field. -func (o *RepositoryWebhook) SetSecretHeader(v string) { - o.SecretHeader = &v +// SetSecretHeader gets a reference to the given NullableString and assigns it to the SecretHeader field. +func (o *RepositoryWebhookResponse) SetSecretHeader(v string) { + o.SecretHeader.Set(&v) +} + +// SetSecretHeaderNil sets the value for SecretHeader to be an explicit nil +func (o *RepositoryWebhookResponse) SetSecretHeaderNil() { + o.SecretHeader.Set(nil) +} + +// UnsetSecretHeader ensures that no value is present for SecretHeader, not even an explicit nil +func (o *RepositoryWebhookResponse) UnsetSecretHeader() { + o.SecretHeader.Unset() } // GetSelfUrl returns the SelfUrl field value if set, zero value otherwise. -func (o *RepositoryWebhook) GetSelfUrl() string { - if o == nil || o.SelfUrl == nil { +func (o *RepositoryWebhookResponse) GetSelfUrl() string { + if o == nil || isNil(o.SelfUrl) { var ret string return ret } @@ -704,16 +721,16 @@ func (o *RepositoryWebhook) GetSelfUrl() string { // GetSelfUrlOk returns a tuple with the SelfUrl field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *RepositoryWebhook) GetSelfUrlOk() (*string, bool) { - if o == nil || o.SelfUrl == nil { +func (o *RepositoryWebhookResponse) GetSelfUrlOk() (*string, bool) { + if o == nil || isNil(o.SelfUrl) { return nil, false } return o.SelfUrl, true } // HasSelfUrl returns a boolean if a field has been set. -func (o *RepositoryWebhook) HasSelfUrl() bool { - if o != nil && o.SelfUrl != nil { +func (o *RepositoryWebhookResponse) HasSelfUrl() bool { + if o != nil && !isNil(o.SelfUrl) { return true } @@ -721,13 +738,13 @@ func (o *RepositoryWebhook) HasSelfUrl() bool { } // SetSelfUrl gets a reference to the given string and assigns it to the SelfUrl field. -func (o *RepositoryWebhook) SetSelfUrl(v string) { +func (o *RepositoryWebhookResponse) SetSelfUrl(v string) { o.SelfUrl = &v } // GetSlugPerm returns the SlugPerm field value if set, zero value otherwise. -func (o *RepositoryWebhook) GetSlugPerm() string { - if o == nil || o.SlugPerm == nil { +func (o *RepositoryWebhookResponse) GetSlugPerm() string { + if o == nil || isNil(o.SlugPerm) { var ret string return ret } @@ -736,16 +753,16 @@ func (o *RepositoryWebhook) GetSlugPerm() string { // GetSlugPermOk returns a tuple with the SlugPerm field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *RepositoryWebhook) GetSlugPermOk() (*string, bool) { - if o == nil || o.SlugPerm == nil { +func (o *RepositoryWebhookResponse) GetSlugPermOk() (*string, bool) { + if o == nil || isNil(o.SlugPerm) { return nil, false } return o.SlugPerm, true } // HasSlugPerm returns a boolean if a field has been set. -func (o *RepositoryWebhook) HasSlugPerm() bool { - if o != nil && o.SlugPerm != nil { +func (o *RepositoryWebhookResponse) HasSlugPerm() bool { + if o != nil && !isNil(o.SlugPerm) { return true } @@ -753,12 +770,12 @@ func (o *RepositoryWebhook) HasSlugPerm() bool { } // SetSlugPerm gets a reference to the given string and assigns it to the SlugPerm field. -func (o *RepositoryWebhook) SetSlugPerm(v string) { +func (o *RepositoryWebhookResponse) SetSlugPerm(v string) { o.SlugPerm = &v } // GetTargetUrl returns the TargetUrl field value -func (o *RepositoryWebhook) GetTargetUrl() string { +func (o *RepositoryWebhookResponse) GetTargetUrl() string { if o == nil { var ret string return ret @@ -769,7 +786,7 @@ func (o *RepositoryWebhook) GetTargetUrl() string { // GetTargetUrlOk returns a tuple with the TargetUrl field value // and a boolean to check if the value has been set. -func (o *RepositoryWebhook) GetTargetUrlOk() (*string, bool) { +func (o *RepositoryWebhookResponse) GetTargetUrlOk() (*string, bool) { if o == nil { return nil, false } @@ -777,14 +794,15 @@ func (o *RepositoryWebhook) GetTargetUrlOk() (*string, bool) { } // SetTargetUrl sets field value -func (o *RepositoryWebhook) SetTargetUrl(v string) { +func (o *RepositoryWebhookResponse) SetTargetUrl(v string) { o.TargetUrl = v } // GetTemplates returns the Templates field value -func (o *RepositoryWebhook) GetTemplates() []WebhooksOwnerRepoTemplates { +// If the value is explicit nil, the zero value for []WebhookTemplate will be returned +func (o *RepositoryWebhookResponse) GetTemplates() []WebhookTemplate { if o == nil { - var ret []WebhooksOwnerRepoTemplates + var ret []WebhookTemplate return ret } @@ -793,22 +811,23 @@ func (o *RepositoryWebhook) GetTemplates() []WebhooksOwnerRepoTemplates { // GetTemplatesOk returns a tuple with the Templates field value // and a boolean to check if the value has been set. -func (o *RepositoryWebhook) GetTemplatesOk() ([]WebhooksOwnerRepoTemplates, bool) { - if o == nil { +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *RepositoryWebhookResponse) GetTemplatesOk() ([]WebhookTemplate, bool) { + if o == nil || isNil(o.Templates) { return nil, false } return o.Templates, true } // SetTemplates sets field value -func (o *RepositoryWebhook) SetTemplates(v []WebhooksOwnerRepoTemplates) { +func (o *RepositoryWebhookResponse) SetTemplates(v []WebhookTemplate) { o.Templates = v } // GetUpdatedAt returns the UpdatedAt field value if set, zero value otherwise. -func (o *RepositoryWebhook) GetUpdatedAt() string { - if o == nil || o.UpdatedAt == nil { - var ret string +func (o *RepositoryWebhookResponse) GetUpdatedAt() time.Time { + if o == nil || isNil(o.UpdatedAt) { + var ret time.Time return ret } return *o.UpdatedAt @@ -816,30 +835,30 @@ func (o *RepositoryWebhook) GetUpdatedAt() string { // GetUpdatedAtOk returns a tuple with the UpdatedAt field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *RepositoryWebhook) GetUpdatedAtOk() (*string, bool) { - if o == nil || o.UpdatedAt == nil { +func (o *RepositoryWebhookResponse) GetUpdatedAtOk() (*time.Time, bool) { + if o == nil || isNil(o.UpdatedAt) { return nil, false } return o.UpdatedAt, true } // HasUpdatedAt returns a boolean if a field has been set. -func (o *RepositoryWebhook) HasUpdatedAt() bool { - if o != nil && o.UpdatedAt != nil { +func (o *RepositoryWebhookResponse) HasUpdatedAt() bool { + if o != nil && !isNil(o.UpdatedAt) { return true } return false } -// SetUpdatedAt gets a reference to the given string and assigns it to the UpdatedAt field. -func (o *RepositoryWebhook) SetUpdatedAt(v string) { +// SetUpdatedAt gets a reference to the given time.Time and assigns it to the UpdatedAt field. +func (o *RepositoryWebhookResponse) SetUpdatedAt(v time.Time) { o.UpdatedAt = &v } // GetUpdatedBy returns the UpdatedBy field value if set, zero value otherwise. -func (o *RepositoryWebhook) GetUpdatedBy() string { - if o == nil || o.UpdatedBy == nil { +func (o *RepositoryWebhookResponse) GetUpdatedBy() string { + if o == nil || isNil(o.UpdatedBy) { var ret string return ret } @@ -848,16 +867,16 @@ func (o *RepositoryWebhook) GetUpdatedBy() string { // GetUpdatedByOk returns a tuple with the UpdatedBy field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *RepositoryWebhook) GetUpdatedByOk() (*string, bool) { - if o == nil || o.UpdatedBy == nil { +func (o *RepositoryWebhookResponse) GetUpdatedByOk() (*string, bool) { + if o == nil || isNil(o.UpdatedBy) { return nil, false } return o.UpdatedBy, true } // HasUpdatedBy returns a boolean if a field has been set. -func (o *RepositoryWebhook) HasUpdatedBy() bool { - if o != nil && o.UpdatedBy != nil { +func (o *RepositoryWebhookResponse) HasUpdatedBy() bool { + if o != nil && !isNil(o.UpdatedBy) { return true } @@ -865,13 +884,13 @@ func (o *RepositoryWebhook) HasUpdatedBy() bool { } // SetUpdatedBy gets a reference to the given string and assigns it to the UpdatedBy field. -func (o *RepositoryWebhook) SetUpdatedBy(v string) { +func (o *RepositoryWebhookResponse) SetUpdatedBy(v string) { o.UpdatedBy = &v } // GetUpdatedByUrl returns the UpdatedByUrl field value if set, zero value otherwise. -func (o *RepositoryWebhook) GetUpdatedByUrl() string { - if o == nil || o.UpdatedByUrl == nil { +func (o *RepositoryWebhookResponse) GetUpdatedByUrl() string { + if o == nil || isNil(o.UpdatedByUrl) { var ret string return ret } @@ -880,16 +899,16 @@ func (o *RepositoryWebhook) GetUpdatedByUrl() string { // GetUpdatedByUrlOk returns a tuple with the UpdatedByUrl field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *RepositoryWebhook) GetUpdatedByUrlOk() (*string, bool) { - if o == nil || o.UpdatedByUrl == nil { +func (o *RepositoryWebhookResponse) GetUpdatedByUrlOk() (*string, bool) { + if o == nil || isNil(o.UpdatedByUrl) { return nil, false } return o.UpdatedByUrl, true } // HasUpdatedByUrl returns a boolean if a field has been set. -func (o *RepositoryWebhook) HasUpdatedByUrl() bool { - if o != nil && o.UpdatedByUrl != nil { +func (o *RepositoryWebhookResponse) HasUpdatedByUrl() bool { + if o != nil && !isNil(o.UpdatedByUrl) { return true } @@ -897,13 +916,13 @@ func (o *RepositoryWebhook) HasUpdatedByUrl() bool { } // SetUpdatedByUrl gets a reference to the given string and assigns it to the UpdatedByUrl field. -func (o *RepositoryWebhook) SetUpdatedByUrl(v string) { +func (o *RepositoryWebhookResponse) SetUpdatedByUrl(v string) { o.UpdatedByUrl = &v } // GetVerifySsl returns the VerifySsl field value if set, zero value otherwise. -func (o *RepositoryWebhook) GetVerifySsl() bool { - if o == nil || o.VerifySsl == nil { +func (o *RepositoryWebhookResponse) GetVerifySsl() bool { + if o == nil || isNil(o.VerifySsl) { var ret bool return ret } @@ -912,16 +931,16 @@ func (o *RepositoryWebhook) GetVerifySsl() bool { // GetVerifySslOk returns a tuple with the VerifySsl field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *RepositoryWebhook) GetVerifySslOk() (*bool, bool) { - if o == nil || o.VerifySsl == nil { +func (o *RepositoryWebhookResponse) GetVerifySslOk() (*bool, bool) { + if o == nil || isNil(o.VerifySsl) { return nil, false } return o.VerifySsl, true } // HasVerifySsl returns a boolean if a field has been set. -func (o *RepositoryWebhook) HasVerifySsl() bool { - if o != nil && o.VerifySsl != nil { +func (o *RepositoryWebhookResponse) HasVerifySsl() bool { + if o != nil && !isNil(o.VerifySsl) { return true } @@ -929,128 +948,128 @@ func (o *RepositoryWebhook) HasVerifySsl() bool { } // SetVerifySsl gets a reference to the given bool and assigns it to the VerifySsl field. -func (o *RepositoryWebhook) SetVerifySsl(v bool) { +func (o *RepositoryWebhookResponse) SetVerifySsl(v bool) { o.VerifySsl = &v } -func (o RepositoryWebhook) MarshalJSON() ([]byte, error) { +func (o RepositoryWebhookResponse) MarshalJSON() ([]byte, error) { toSerialize := map[string]interface{}{} - if o.CreatedAt != nil { + if !isNil(o.CreatedAt) { toSerialize["created_at"] = o.CreatedAt } - if o.CreatedBy != nil { + if !isNil(o.CreatedBy) { toSerialize["created_by"] = o.CreatedBy } - if o.CreatedByUrl != nil { + if !isNil(o.CreatedByUrl) { toSerialize["created_by_url"] = o.CreatedByUrl } - if o.DisableReason != nil { + if !isNil(o.DisableReason) { toSerialize["disable_reason"] = o.DisableReason } - if o.DisableReasonStr != nil { + if !isNil(o.DisableReasonStr) { toSerialize["disable_reason_str"] = o.DisableReasonStr } - if true { + if o.Events != nil { toSerialize["events"] = o.Events } - if o.Identifier != nil { + if !isNil(o.Identifier) { toSerialize["identifier"] = o.Identifier } - if o.IsActive != nil { + if !isNil(o.IsActive) { toSerialize["is_active"] = o.IsActive } - if o.IsLastResponseBad != nil { + if !isNil(o.IsLastResponseBad) { toSerialize["is_last_response_bad"] = o.IsLastResponseBad } - if o.LastResponseStatus != nil { + if !isNil(o.LastResponseStatus) { toSerialize["last_response_status"] = o.LastResponseStatus } - if o.LastResponseStatusStr != nil { + if !isNil(o.LastResponseStatusStr) { toSerialize["last_response_status_str"] = o.LastResponseStatusStr } - if o.NumSent != nil { + if !isNil(o.NumSent) { toSerialize["num_sent"] = o.NumSent } - if o.PackageQuery != nil { - toSerialize["package_query"] = o.PackageQuery + if o.PackageQuery.IsSet() { + toSerialize["package_query"] = o.PackageQuery.Get() } - if o.RequestBodyFormat != nil { + if !isNil(o.RequestBodyFormat) { toSerialize["request_body_format"] = o.RequestBodyFormat } - if o.RequestBodyFormatStr != nil { + if !isNil(o.RequestBodyFormatStr) { toSerialize["request_body_format_str"] = o.RequestBodyFormatStr } - if o.RequestBodyTemplateFormat != nil { + if !isNil(o.RequestBodyTemplateFormat) { toSerialize["request_body_template_format"] = o.RequestBodyTemplateFormat } - if o.RequestBodyTemplateFormatStr != nil { + if !isNil(o.RequestBodyTemplateFormatStr) { toSerialize["request_body_template_format_str"] = o.RequestBodyTemplateFormatStr } - if o.RequestContentType != nil { - toSerialize["request_content_type"] = o.RequestContentType + if o.RequestContentType.IsSet() { + toSerialize["request_content_type"] = o.RequestContentType.Get() } - if o.SecretHeader != nil { - toSerialize["secret_header"] = o.SecretHeader + if o.SecretHeader.IsSet() { + toSerialize["secret_header"] = o.SecretHeader.Get() } - if o.SelfUrl != nil { + if !isNil(o.SelfUrl) { toSerialize["self_url"] = o.SelfUrl } - if o.SlugPerm != nil { + if !isNil(o.SlugPerm) { toSerialize["slug_perm"] = o.SlugPerm } if true { toSerialize["target_url"] = o.TargetUrl } - if true { + if o.Templates != nil { toSerialize["templates"] = o.Templates } - if o.UpdatedAt != nil { + if !isNil(o.UpdatedAt) { toSerialize["updated_at"] = o.UpdatedAt } - if o.UpdatedBy != nil { + if !isNil(o.UpdatedBy) { toSerialize["updated_by"] = o.UpdatedBy } - if o.UpdatedByUrl != nil { + if !isNil(o.UpdatedByUrl) { toSerialize["updated_by_url"] = o.UpdatedByUrl } - if o.VerifySsl != nil { + if !isNil(o.VerifySsl) { toSerialize["verify_ssl"] = o.VerifySsl } return json.Marshal(toSerialize) } -type NullableRepositoryWebhook struct { - value *RepositoryWebhook +type NullableRepositoryWebhookResponse struct { + value *RepositoryWebhookResponse isSet bool } -func (v NullableRepositoryWebhook) Get() *RepositoryWebhook { +func (v NullableRepositoryWebhookResponse) Get() *RepositoryWebhookResponse { return v.value } -func (v *NullableRepositoryWebhook) Set(val *RepositoryWebhook) { +func (v *NullableRepositoryWebhookResponse) Set(val *RepositoryWebhookResponse) { v.value = val v.isSet = true } -func (v NullableRepositoryWebhook) IsSet() bool { +func (v NullableRepositoryWebhookResponse) IsSet() bool { return v.isSet } -func (v *NullableRepositoryWebhook) Unset() { +func (v *NullableRepositoryWebhookResponse) Unset() { v.value = nil v.isSet = false } -func NewNullableRepositoryWebhook(val *RepositoryWebhook) *NullableRepositoryWebhook { - return &NullableRepositoryWebhook{value: val, isSet: true} +func NewNullableRepositoryWebhookResponse(val *RepositoryWebhookResponse) *NullableRepositoryWebhookResponse { + return &NullableRepositoryWebhookResponse{value: val, isSet: true} } -func (v NullableRepositoryWebhook) MarshalJSON() ([]byte, error) { +func (v NullableRepositoryWebhookResponse) MarshalJSON() ([]byte, error) { return json.Marshal(v.value) } -func (v *NullableRepositoryWebhook) UnmarshalJSON(src []byte) error { +func (v *NullableRepositoryWebhookResponse) UnmarshalJSON(src []byte) error { v.isSet = true return json.Unmarshal(src, &v.value) } diff --git a/model_resources_rate_check.go b/model_resources_rate_check.go deleted file mode 100644 index d9a6fbe8..00000000 --- a/model_resources_rate_check.go +++ /dev/null @@ -1,115 +0,0 @@ -/* -Cloudsmith API - -The API to the Cloudsmith Service - -API version: 1.121.3 -Contact: support@cloudsmith.io -*/ - -// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. - -package cloudsmith - -import ( - "encoding/json" -) - -// ResourcesRateCheck struct for ResourcesRateCheck -type ResourcesRateCheck struct { - // Rate limit values per resource - Resources map[string]interface{} `json:"resources,omitempty"` -} - -// NewResourcesRateCheck instantiates a new ResourcesRateCheck object -// 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 NewResourcesRateCheck() *ResourcesRateCheck { - this := ResourcesRateCheck{} - return &this -} - -// NewResourcesRateCheckWithDefaults instantiates a new ResourcesRateCheck object -// This constructor will only assign default values to properties that have it defined, -// but it doesn't guarantee that properties required by API are set -func NewResourcesRateCheckWithDefaults() *ResourcesRateCheck { - this := ResourcesRateCheck{} - return &this -} - -// GetResources returns the Resources field value if set, zero value otherwise. -func (o *ResourcesRateCheck) GetResources() map[string]interface{} { - if o == nil || o.Resources == nil { - var ret map[string]interface{} - return ret - } - return o.Resources -} - -// GetResourcesOk returns a tuple with the Resources field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *ResourcesRateCheck) GetResourcesOk() (map[string]interface{}, bool) { - if o == nil || o.Resources == nil { - return nil, false - } - return o.Resources, true -} - -// HasResources returns a boolean if a field has been set. -func (o *ResourcesRateCheck) HasResources() bool { - if o != nil && o.Resources != nil { - return true - } - - return false -} - -// SetResources gets a reference to the given map[string]interface{} and assigns it to the Resources field. -func (o *ResourcesRateCheck) SetResources(v map[string]interface{}) { - o.Resources = v -} - -func (o ResourcesRateCheck) MarshalJSON() ([]byte, error) { - toSerialize := map[string]interface{}{} - if o.Resources != nil { - toSerialize["resources"] = o.Resources - } - return json.Marshal(toSerialize) -} - -type NullableResourcesRateCheck struct { - value *ResourcesRateCheck - isSet bool -} - -func (v NullableResourcesRateCheck) Get() *ResourcesRateCheck { - return v.value -} - -func (v *NullableResourcesRateCheck) Set(val *ResourcesRateCheck) { - v.value = val - v.isSet = true -} - -func (v NullableResourcesRateCheck) IsSet() bool { - return v.isSet -} - -func (v *NullableResourcesRateCheck) Unset() { - v.value = nil - v.isSet = false -} - -func NewNullableResourcesRateCheck(val *ResourcesRateCheck) *NullableResourcesRateCheck { - return &NullableResourcesRateCheck{value: val, isSet: true} -} - -func (v NullableResourcesRateCheck) MarshalJSON() ([]byte, error) { - return json.Marshal(v.value) -} - -func (v *NullableResourcesRateCheck) UnmarshalJSON(src []byte) error { - v.isSet = true - return json.Unmarshal(src, &v.value) -} diff --git a/model_resources_rate_check_response.go b/model_resources_rate_check_response.go new file mode 100644 index 00000000..c95cae02 --- /dev/null +++ b/model_resources_rate_check_response.go @@ -0,0 +1,115 @@ +/* +Cloudsmith API (v1) + +The API to the Cloudsmith Service + +API version: 1.181.6 +Contact: support@cloudsmith.io +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cloudsmith + +import ( + "encoding/json" +) + +// ResourcesRateCheckResponse struct for ResourcesRateCheckResponse +type ResourcesRateCheckResponse struct { + // Rate limit values per resource + Resources *map[string]RateCheck `json:"resources,omitempty"` +} + +// NewResourcesRateCheckResponse instantiates a new ResourcesRateCheckResponse object +// 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 NewResourcesRateCheckResponse() *ResourcesRateCheckResponse { + this := ResourcesRateCheckResponse{} + return &this +} + +// NewResourcesRateCheckResponseWithDefaults instantiates a new ResourcesRateCheckResponse object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewResourcesRateCheckResponseWithDefaults() *ResourcesRateCheckResponse { + this := ResourcesRateCheckResponse{} + return &this +} + +// GetResources returns the Resources field value if set, zero value otherwise. +func (o *ResourcesRateCheckResponse) GetResources() map[string]RateCheck { + if o == nil || isNil(o.Resources) { + var ret map[string]RateCheck + return ret + } + return *o.Resources +} + +// GetResourcesOk returns a tuple with the Resources field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *ResourcesRateCheckResponse) GetResourcesOk() (*map[string]RateCheck, bool) { + if o == nil || isNil(o.Resources) { + return nil, false + } + return o.Resources, true +} + +// HasResources returns a boolean if a field has been set. +func (o *ResourcesRateCheckResponse) HasResources() bool { + if o != nil && !isNil(o.Resources) { + return true + } + + return false +} + +// SetResources gets a reference to the given map[string]RateCheck and assigns it to the Resources field. +func (o *ResourcesRateCheckResponse) SetResources(v map[string]RateCheck) { + o.Resources = &v +} + +func (o ResourcesRateCheckResponse) MarshalJSON() ([]byte, error) { + toSerialize := map[string]interface{}{} + if !isNil(o.Resources) { + toSerialize["resources"] = o.Resources + } + return json.Marshal(toSerialize) +} + +type NullableResourcesRateCheckResponse struct { + value *ResourcesRateCheckResponse + isSet bool +} + +func (v NullableResourcesRateCheckResponse) Get() *ResourcesRateCheckResponse { + return v.value +} + +func (v *NullableResourcesRateCheckResponse) Set(val *ResourcesRateCheckResponse) { + v.value = val + v.isSet = true +} + +func (v NullableResourcesRateCheckResponse) IsSet() bool { + return v.isSet +} + +func (v *NullableResourcesRateCheckResponse) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableResourcesRateCheckResponse(val *ResourcesRateCheckResponse) *NullableResourcesRateCheckResponse { + return &NullableResourcesRateCheckResponse{value: val, isSet: true} +} + +func (v NullableResourcesRateCheckResponse) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableResourcesRateCheckResponse) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} diff --git a/model_rpm_package_upload.go b/model_rpm_package_upload.go deleted file mode 100644 index 1bfc466a..00000000 --- a/model_rpm_package_upload.go +++ /dev/null @@ -1,2520 +0,0 @@ -/* -Cloudsmith API - -The API to the Cloudsmith Service - -API version: 1.121.3 -Contact: support@cloudsmith.io -*/ - -// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. - -package cloudsmith - -import ( - "encoding/json" -) - -// RpmPackageUpload struct for RpmPackageUpload -type RpmPackageUpload struct { - // - Architectures []PackagesOwnerRepoArchitectures `json:"architectures,omitempty"` - // - CdnUrl *string `json:"cdn_url,omitempty"` - // - ChecksumMd5 *string `json:"checksum_md5,omitempty"` - // - ChecksumSha1 *string `json:"checksum_sha1,omitempty"` - // - ChecksumSha256 *string `json:"checksum_sha256,omitempty"` - // - ChecksumSha512 *string `json:"checksum_sha512,omitempty"` - // A checksum of all of the package's dependencies. - DependenciesChecksumMd5 *string `json:"dependencies_checksum_md5,omitempty"` - // - DependenciesUrl *string `json:"dependencies_url,omitempty"` - // A textual description of this package. - Description *string `json:"description,omitempty"` - // - Distro map[string]interface{} `json:"distro,omitempty"` - // - DistroVersion map[string]interface{} `json:"distro_version,omitempty"` - // - Downloads *int64 `json:"downloads,omitempty"` - // The epoch of the package version (if any). - Epoch *int64 `json:"epoch,omitempty"` - // - Extension *string `json:"extension,omitempty"` - // - Filename *string `json:"filename,omitempty"` - // - Files []PackagesOwnerRepoFiles `json:"files,omitempty"` - // - Format *string `json:"format,omitempty"` - // - FormatUrl *string `json:"format_url,omitempty"` - // Unique and permanent identifier for the package. - IdentifierPerm *string `json:"identifier_perm,omitempty"` - // - Indexed *bool `json:"indexed,omitempty"` - // - IsDownloadable *bool `json:"is_downloadable,omitempty"` - // - IsQuarantined *bool `json:"is_quarantined,omitempty"` - // - IsSyncAwaiting *bool `json:"is_sync_awaiting,omitempty"` - // - IsSyncCompleted *bool `json:"is_sync_completed,omitempty"` - // - IsSyncFailed *bool `json:"is_sync_failed,omitempty"` - // - IsSyncInFlight *bool `json:"is_sync_in_flight,omitempty"` - // - IsSyncInProgress *bool `json:"is_sync_in_progress,omitempty"` - // The license of this package. - License *string `json:"license,omitempty"` - // The name of this package. - Name *string `json:"name,omitempty"` - // - Namespace *string `json:"namespace,omitempty"` - // - NamespaceUrl *string `json:"namespace_url,omitempty"` - // - NumFiles *int64 `json:"num_files,omitempty"` - // The type of package contents. - PackageType *int64 `json:"package_type,omitempty"` - // The release of the package version (if any). - Release *string `json:"release,omitempty"` - // - Repository *string `json:"repository,omitempty"` - // - RepositoryUrl *string `json:"repository_url,omitempty"` - // The datetime the security scanning was completed. - SecurityScanCompletedAt *string `json:"security_scan_completed_at,omitempty"` - // The datetime the security scanning was started. - SecurityScanStartedAt *string `json:"security_scan_started_at,omitempty"` - // - SecurityScanStatus *string `json:"security_scan_status,omitempty"` - // The datetime the security scanning status was updated. - SecurityScanStatusUpdatedAt *string `json:"security_scan_status_updated_at,omitempty"` - // - SelfHtmlUrl *string `json:"self_html_url,omitempty"` - // - SelfUrl *string `json:"self_url,omitempty"` - // - SignatureUrl *string `json:"signature_url,omitempty"` - // The calculated size of the package. - Size *int64 `json:"size,omitempty"` - // The public unique identifier for the package. - Slug *string `json:"slug,omitempty"` - // - SlugPerm *string `json:"slug_perm,omitempty"` - // The synchronisation (in progress) stage of the package. - Stage *int64 `json:"stage,omitempty"` - // - StageStr *string `json:"stage_str,omitempty"` - // The datetime the package stage was updated at. - StageUpdatedAt *string `json:"stage_updated_at,omitempty"` - // The synchronisation status of the package. - Status *int64 `json:"status,omitempty"` - // A textual description for the synchronous status reason (if any - StatusReason *string `json:"status_reason,omitempty"` - // - StatusStr *string `json:"status_str,omitempty"` - // The datetime the package status was updated at. - StatusUpdatedAt *string `json:"status_updated_at,omitempty"` - // - StatusUrl *string `json:"status_url,omitempty"` - // - Subtype *string `json:"subtype,omitempty"` - // A one-liner synopsis of this package. - Summary *string `json:"summary,omitempty"` - // The datetime the package sync was finished at. - SyncFinishedAt *string `json:"sync_finished_at,omitempty"` - // Synchronisation progress (from 0-100) - SyncProgress *int64 `json:"sync_progress,omitempty"` - // All immutable tags on the package, grouped by tag type. Immutable tags cannot be (easily) deleted. - TagsImmutable map[string]interface{} `json:"tags_immutable,omitempty"` - // - TypeDisplay *string `json:"type_display,omitempty"` - // The date this package was uploaded. - UploadedAt *string `json:"uploaded_at,omitempty"` - // - Uploader *string `json:"uploader,omitempty"` - // - UploaderUrl *string `json:"uploader_url,omitempty"` - // The raw version for this package. - Version *string `json:"version,omitempty"` - // - VersionOrig *string `json:"version_orig,omitempty"` - // - VulnerabilityScanResultsUrl *string `json:"vulnerability_scan_results_url,omitempty"` -} - -// NewRpmPackageUpload instantiates a new RpmPackageUpload object -// 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 NewRpmPackageUpload() *RpmPackageUpload { - this := RpmPackageUpload{} - return &this -} - -// NewRpmPackageUploadWithDefaults instantiates a new RpmPackageUpload object -// This constructor will only assign default values to properties that have it defined, -// but it doesn't guarantee that properties required by API are set -func NewRpmPackageUploadWithDefaults() *RpmPackageUpload { - this := RpmPackageUpload{} - return &this -} - -// GetArchitectures returns the Architectures field value if set, zero value otherwise. -func (o *RpmPackageUpload) GetArchitectures() []PackagesOwnerRepoArchitectures { - if o == nil || o.Architectures == nil { - var ret []PackagesOwnerRepoArchitectures - return ret - } - return o.Architectures -} - -// GetArchitecturesOk returns a tuple with the Architectures field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *RpmPackageUpload) GetArchitecturesOk() ([]PackagesOwnerRepoArchitectures, bool) { - if o == nil || o.Architectures == nil { - return nil, false - } - return o.Architectures, true -} - -// HasArchitectures returns a boolean if a field has been set. -func (o *RpmPackageUpload) HasArchitectures() bool { - if o != nil && o.Architectures != nil { - return true - } - - return false -} - -// SetArchitectures gets a reference to the given []PackagesOwnerRepoArchitectures and assigns it to the Architectures field. -func (o *RpmPackageUpload) SetArchitectures(v []PackagesOwnerRepoArchitectures) { - o.Architectures = v -} - -// GetCdnUrl returns the CdnUrl field value if set, zero value otherwise. -func (o *RpmPackageUpload) GetCdnUrl() string { - if o == nil || o.CdnUrl == nil { - var ret string - return ret - } - return *o.CdnUrl -} - -// GetCdnUrlOk returns a tuple with the CdnUrl field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *RpmPackageUpload) GetCdnUrlOk() (*string, bool) { - if o == nil || o.CdnUrl == nil { - return nil, false - } - return o.CdnUrl, true -} - -// HasCdnUrl returns a boolean if a field has been set. -func (o *RpmPackageUpload) HasCdnUrl() bool { - if o != nil && o.CdnUrl != nil { - return true - } - - return false -} - -// SetCdnUrl gets a reference to the given string and assigns it to the CdnUrl field. -func (o *RpmPackageUpload) SetCdnUrl(v string) { - o.CdnUrl = &v -} - -// GetChecksumMd5 returns the ChecksumMd5 field value if set, zero value otherwise. -func (o *RpmPackageUpload) GetChecksumMd5() string { - if o == nil || o.ChecksumMd5 == nil { - var ret string - return ret - } - return *o.ChecksumMd5 -} - -// GetChecksumMd5Ok returns a tuple with the ChecksumMd5 field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *RpmPackageUpload) GetChecksumMd5Ok() (*string, bool) { - if o == nil || o.ChecksumMd5 == nil { - return nil, false - } - return o.ChecksumMd5, true -} - -// HasChecksumMd5 returns a boolean if a field has been set. -func (o *RpmPackageUpload) HasChecksumMd5() bool { - if o != nil && o.ChecksumMd5 != nil { - return true - } - - return false -} - -// SetChecksumMd5 gets a reference to the given string and assigns it to the ChecksumMd5 field. -func (o *RpmPackageUpload) SetChecksumMd5(v string) { - o.ChecksumMd5 = &v -} - -// GetChecksumSha1 returns the ChecksumSha1 field value if set, zero value otherwise. -func (o *RpmPackageUpload) GetChecksumSha1() string { - if o == nil || o.ChecksumSha1 == nil { - var ret string - return ret - } - return *o.ChecksumSha1 -} - -// GetChecksumSha1Ok returns a tuple with the ChecksumSha1 field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *RpmPackageUpload) GetChecksumSha1Ok() (*string, bool) { - if o == nil || o.ChecksumSha1 == nil { - return nil, false - } - return o.ChecksumSha1, true -} - -// HasChecksumSha1 returns a boolean if a field has been set. -func (o *RpmPackageUpload) HasChecksumSha1() bool { - if o != nil && o.ChecksumSha1 != nil { - return true - } - - return false -} - -// SetChecksumSha1 gets a reference to the given string and assigns it to the ChecksumSha1 field. -func (o *RpmPackageUpload) SetChecksumSha1(v string) { - o.ChecksumSha1 = &v -} - -// GetChecksumSha256 returns the ChecksumSha256 field value if set, zero value otherwise. -func (o *RpmPackageUpload) GetChecksumSha256() string { - if o == nil || o.ChecksumSha256 == nil { - var ret string - return ret - } - return *o.ChecksumSha256 -} - -// GetChecksumSha256Ok returns a tuple with the ChecksumSha256 field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *RpmPackageUpload) GetChecksumSha256Ok() (*string, bool) { - if o == nil || o.ChecksumSha256 == nil { - return nil, false - } - return o.ChecksumSha256, true -} - -// HasChecksumSha256 returns a boolean if a field has been set. -func (o *RpmPackageUpload) HasChecksumSha256() bool { - if o != nil && o.ChecksumSha256 != nil { - return true - } - - return false -} - -// SetChecksumSha256 gets a reference to the given string and assigns it to the ChecksumSha256 field. -func (o *RpmPackageUpload) SetChecksumSha256(v string) { - o.ChecksumSha256 = &v -} - -// GetChecksumSha512 returns the ChecksumSha512 field value if set, zero value otherwise. -func (o *RpmPackageUpload) GetChecksumSha512() string { - if o == nil || o.ChecksumSha512 == nil { - var ret string - return ret - } - return *o.ChecksumSha512 -} - -// GetChecksumSha512Ok returns a tuple with the ChecksumSha512 field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *RpmPackageUpload) GetChecksumSha512Ok() (*string, bool) { - if o == nil || o.ChecksumSha512 == nil { - return nil, false - } - return o.ChecksumSha512, true -} - -// HasChecksumSha512 returns a boolean if a field has been set. -func (o *RpmPackageUpload) HasChecksumSha512() bool { - if o != nil && o.ChecksumSha512 != nil { - return true - } - - return false -} - -// SetChecksumSha512 gets a reference to the given string and assigns it to the ChecksumSha512 field. -func (o *RpmPackageUpload) SetChecksumSha512(v string) { - o.ChecksumSha512 = &v -} - -// GetDependenciesChecksumMd5 returns the DependenciesChecksumMd5 field value if set, zero value otherwise. -func (o *RpmPackageUpload) GetDependenciesChecksumMd5() string { - if o == nil || o.DependenciesChecksumMd5 == nil { - var ret string - return ret - } - return *o.DependenciesChecksumMd5 -} - -// GetDependenciesChecksumMd5Ok returns a tuple with the DependenciesChecksumMd5 field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *RpmPackageUpload) GetDependenciesChecksumMd5Ok() (*string, bool) { - if o == nil || o.DependenciesChecksumMd5 == nil { - return nil, false - } - return o.DependenciesChecksumMd5, true -} - -// HasDependenciesChecksumMd5 returns a boolean if a field has been set. -func (o *RpmPackageUpload) HasDependenciesChecksumMd5() bool { - if o != nil && o.DependenciesChecksumMd5 != nil { - return true - } - - return false -} - -// SetDependenciesChecksumMd5 gets a reference to the given string and assigns it to the DependenciesChecksumMd5 field. -func (o *RpmPackageUpload) SetDependenciesChecksumMd5(v string) { - o.DependenciesChecksumMd5 = &v -} - -// GetDependenciesUrl returns the DependenciesUrl field value if set, zero value otherwise. -func (o *RpmPackageUpload) GetDependenciesUrl() string { - if o == nil || o.DependenciesUrl == nil { - var ret string - return ret - } - return *o.DependenciesUrl -} - -// GetDependenciesUrlOk returns a tuple with the DependenciesUrl field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *RpmPackageUpload) GetDependenciesUrlOk() (*string, bool) { - if o == nil || o.DependenciesUrl == nil { - return nil, false - } - return o.DependenciesUrl, true -} - -// HasDependenciesUrl returns a boolean if a field has been set. -func (o *RpmPackageUpload) HasDependenciesUrl() bool { - if o != nil && o.DependenciesUrl != nil { - return true - } - - return false -} - -// SetDependenciesUrl gets a reference to the given string and assigns it to the DependenciesUrl field. -func (o *RpmPackageUpload) SetDependenciesUrl(v string) { - o.DependenciesUrl = &v -} - -// GetDescription returns the Description field value if set, zero value otherwise. -func (o *RpmPackageUpload) GetDescription() string { - if o == nil || o.Description == nil { - var ret string - return ret - } - return *o.Description -} - -// GetDescriptionOk returns a tuple with the Description field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *RpmPackageUpload) GetDescriptionOk() (*string, bool) { - if o == nil || o.Description == nil { - return nil, false - } - return o.Description, true -} - -// HasDescription returns a boolean if a field has been set. -func (o *RpmPackageUpload) HasDescription() bool { - if o != nil && o.Description != nil { - return true - } - - return false -} - -// SetDescription gets a reference to the given string and assigns it to the Description field. -func (o *RpmPackageUpload) SetDescription(v string) { - o.Description = &v -} - -// GetDistro returns the Distro field value if set, zero value otherwise. -func (o *RpmPackageUpload) GetDistro() map[string]interface{} { - if o == nil || o.Distro == nil { - var ret map[string]interface{} - return ret - } - return o.Distro -} - -// GetDistroOk returns a tuple with the Distro field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *RpmPackageUpload) GetDistroOk() (map[string]interface{}, bool) { - if o == nil || o.Distro == nil { - return nil, false - } - return o.Distro, true -} - -// HasDistro returns a boolean if a field has been set. -func (o *RpmPackageUpload) HasDistro() bool { - if o != nil && o.Distro != nil { - return true - } - - return false -} - -// SetDistro gets a reference to the given map[string]interface{} and assigns it to the Distro field. -func (o *RpmPackageUpload) SetDistro(v map[string]interface{}) { - o.Distro = v -} - -// GetDistroVersion returns the DistroVersion field value if set, zero value otherwise. -func (o *RpmPackageUpload) GetDistroVersion() map[string]interface{} { - if o == nil || o.DistroVersion == nil { - var ret map[string]interface{} - return ret - } - return o.DistroVersion -} - -// GetDistroVersionOk returns a tuple with the DistroVersion field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *RpmPackageUpload) GetDistroVersionOk() (map[string]interface{}, bool) { - if o == nil || o.DistroVersion == nil { - return nil, false - } - return o.DistroVersion, true -} - -// HasDistroVersion returns a boolean if a field has been set. -func (o *RpmPackageUpload) HasDistroVersion() bool { - if o != nil && o.DistroVersion != nil { - return true - } - - return false -} - -// SetDistroVersion gets a reference to the given map[string]interface{} and assigns it to the DistroVersion field. -func (o *RpmPackageUpload) SetDistroVersion(v map[string]interface{}) { - o.DistroVersion = v -} - -// GetDownloads returns the Downloads field value if set, zero value otherwise. -func (o *RpmPackageUpload) GetDownloads() int64 { - if o == nil || o.Downloads == nil { - var ret int64 - return ret - } - return *o.Downloads -} - -// GetDownloadsOk returns a tuple with the Downloads field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *RpmPackageUpload) GetDownloadsOk() (*int64, bool) { - if o == nil || o.Downloads == nil { - return nil, false - } - return o.Downloads, true -} - -// HasDownloads returns a boolean if a field has been set. -func (o *RpmPackageUpload) HasDownloads() bool { - if o != nil && o.Downloads != nil { - return true - } - - return false -} - -// SetDownloads gets a reference to the given int64 and assigns it to the Downloads field. -func (o *RpmPackageUpload) SetDownloads(v int64) { - o.Downloads = &v -} - -// GetEpoch returns the Epoch field value if set, zero value otherwise. -func (o *RpmPackageUpload) GetEpoch() int64 { - if o == nil || o.Epoch == nil { - var ret int64 - return ret - } - return *o.Epoch -} - -// GetEpochOk returns a tuple with the Epoch field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *RpmPackageUpload) GetEpochOk() (*int64, bool) { - if o == nil || o.Epoch == nil { - return nil, false - } - return o.Epoch, true -} - -// HasEpoch returns a boolean if a field has been set. -func (o *RpmPackageUpload) HasEpoch() bool { - if o != nil && o.Epoch != nil { - return true - } - - return false -} - -// SetEpoch gets a reference to the given int64 and assigns it to the Epoch field. -func (o *RpmPackageUpload) SetEpoch(v int64) { - o.Epoch = &v -} - -// GetExtension returns the Extension field value if set, zero value otherwise. -func (o *RpmPackageUpload) GetExtension() string { - if o == nil || o.Extension == nil { - var ret string - return ret - } - return *o.Extension -} - -// GetExtensionOk returns a tuple with the Extension field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *RpmPackageUpload) GetExtensionOk() (*string, bool) { - if o == nil || o.Extension == nil { - return nil, false - } - return o.Extension, true -} - -// HasExtension returns a boolean if a field has been set. -func (o *RpmPackageUpload) HasExtension() bool { - if o != nil && o.Extension != nil { - return true - } - - return false -} - -// SetExtension gets a reference to the given string and assigns it to the Extension field. -func (o *RpmPackageUpload) SetExtension(v string) { - o.Extension = &v -} - -// GetFilename returns the Filename field value if set, zero value otherwise. -func (o *RpmPackageUpload) GetFilename() string { - if o == nil || o.Filename == nil { - var ret string - return ret - } - return *o.Filename -} - -// GetFilenameOk returns a tuple with the Filename field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *RpmPackageUpload) GetFilenameOk() (*string, bool) { - if o == nil || o.Filename == nil { - return nil, false - } - return o.Filename, true -} - -// HasFilename returns a boolean if a field has been set. -func (o *RpmPackageUpload) HasFilename() bool { - if o != nil && o.Filename != nil { - return true - } - - return false -} - -// SetFilename gets a reference to the given string and assigns it to the Filename field. -func (o *RpmPackageUpload) SetFilename(v string) { - o.Filename = &v -} - -// GetFiles returns the Files field value if set, zero value otherwise. -func (o *RpmPackageUpload) GetFiles() []PackagesOwnerRepoFiles { - if o == nil || o.Files == nil { - var ret []PackagesOwnerRepoFiles - return ret - } - return o.Files -} - -// GetFilesOk returns a tuple with the Files field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *RpmPackageUpload) GetFilesOk() ([]PackagesOwnerRepoFiles, bool) { - if o == nil || o.Files == nil { - return nil, false - } - return o.Files, true -} - -// HasFiles returns a boolean if a field has been set. -func (o *RpmPackageUpload) HasFiles() bool { - if o != nil && o.Files != nil { - return true - } - - return false -} - -// SetFiles gets a reference to the given []PackagesOwnerRepoFiles and assigns it to the Files field. -func (o *RpmPackageUpload) SetFiles(v []PackagesOwnerRepoFiles) { - o.Files = v -} - -// GetFormat returns the Format field value if set, zero value otherwise. -func (o *RpmPackageUpload) GetFormat() string { - if o == nil || o.Format == nil { - var ret string - return ret - } - return *o.Format -} - -// GetFormatOk returns a tuple with the Format field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *RpmPackageUpload) GetFormatOk() (*string, bool) { - if o == nil || o.Format == nil { - return nil, false - } - return o.Format, true -} - -// HasFormat returns a boolean if a field has been set. -func (o *RpmPackageUpload) HasFormat() bool { - if o != nil && o.Format != nil { - return true - } - - return false -} - -// SetFormat gets a reference to the given string and assigns it to the Format field. -func (o *RpmPackageUpload) SetFormat(v string) { - o.Format = &v -} - -// GetFormatUrl returns the FormatUrl field value if set, zero value otherwise. -func (o *RpmPackageUpload) GetFormatUrl() string { - if o == nil || o.FormatUrl == nil { - var ret string - return ret - } - return *o.FormatUrl -} - -// GetFormatUrlOk returns a tuple with the FormatUrl field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *RpmPackageUpload) GetFormatUrlOk() (*string, bool) { - if o == nil || o.FormatUrl == nil { - return nil, false - } - return o.FormatUrl, true -} - -// HasFormatUrl returns a boolean if a field has been set. -func (o *RpmPackageUpload) HasFormatUrl() bool { - if o != nil && o.FormatUrl != nil { - return true - } - - return false -} - -// SetFormatUrl gets a reference to the given string and assigns it to the FormatUrl field. -func (o *RpmPackageUpload) SetFormatUrl(v string) { - o.FormatUrl = &v -} - -// GetIdentifierPerm returns the IdentifierPerm field value if set, zero value otherwise. -func (o *RpmPackageUpload) GetIdentifierPerm() string { - if o == nil || o.IdentifierPerm == nil { - var ret string - return ret - } - return *o.IdentifierPerm -} - -// GetIdentifierPermOk returns a tuple with the IdentifierPerm field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *RpmPackageUpload) GetIdentifierPermOk() (*string, bool) { - if o == nil || o.IdentifierPerm == nil { - return nil, false - } - return o.IdentifierPerm, true -} - -// HasIdentifierPerm returns a boolean if a field has been set. -func (o *RpmPackageUpload) HasIdentifierPerm() bool { - if o != nil && o.IdentifierPerm != nil { - return true - } - - return false -} - -// SetIdentifierPerm gets a reference to the given string and assigns it to the IdentifierPerm field. -func (o *RpmPackageUpload) SetIdentifierPerm(v string) { - o.IdentifierPerm = &v -} - -// GetIndexed returns the Indexed field value if set, zero value otherwise. -func (o *RpmPackageUpload) GetIndexed() bool { - if o == nil || o.Indexed == nil { - var ret bool - return ret - } - return *o.Indexed -} - -// GetIndexedOk returns a tuple with the Indexed field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *RpmPackageUpload) GetIndexedOk() (*bool, bool) { - if o == nil || o.Indexed == nil { - return nil, false - } - return o.Indexed, true -} - -// HasIndexed returns a boolean if a field has been set. -func (o *RpmPackageUpload) HasIndexed() bool { - if o != nil && o.Indexed != nil { - return true - } - - return false -} - -// SetIndexed gets a reference to the given bool and assigns it to the Indexed field. -func (o *RpmPackageUpload) SetIndexed(v bool) { - o.Indexed = &v -} - -// GetIsDownloadable returns the IsDownloadable field value if set, zero value otherwise. -func (o *RpmPackageUpload) GetIsDownloadable() bool { - if o == nil || o.IsDownloadable == nil { - var ret bool - return ret - } - return *o.IsDownloadable -} - -// GetIsDownloadableOk returns a tuple with the IsDownloadable field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *RpmPackageUpload) GetIsDownloadableOk() (*bool, bool) { - if o == nil || o.IsDownloadable == nil { - return nil, false - } - return o.IsDownloadable, true -} - -// HasIsDownloadable returns a boolean if a field has been set. -func (o *RpmPackageUpload) HasIsDownloadable() bool { - if o != nil && o.IsDownloadable != nil { - return true - } - - return false -} - -// SetIsDownloadable gets a reference to the given bool and assigns it to the IsDownloadable field. -func (o *RpmPackageUpload) SetIsDownloadable(v bool) { - o.IsDownloadable = &v -} - -// GetIsQuarantined returns the IsQuarantined field value if set, zero value otherwise. -func (o *RpmPackageUpload) GetIsQuarantined() bool { - if o == nil || o.IsQuarantined == nil { - var ret bool - return ret - } - return *o.IsQuarantined -} - -// GetIsQuarantinedOk returns a tuple with the IsQuarantined field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *RpmPackageUpload) GetIsQuarantinedOk() (*bool, bool) { - if o == nil || o.IsQuarantined == nil { - return nil, false - } - return o.IsQuarantined, true -} - -// HasIsQuarantined returns a boolean if a field has been set. -func (o *RpmPackageUpload) HasIsQuarantined() bool { - if o != nil && o.IsQuarantined != nil { - return true - } - - return false -} - -// SetIsQuarantined gets a reference to the given bool and assigns it to the IsQuarantined field. -func (o *RpmPackageUpload) SetIsQuarantined(v bool) { - o.IsQuarantined = &v -} - -// GetIsSyncAwaiting returns the IsSyncAwaiting field value if set, zero value otherwise. -func (o *RpmPackageUpload) GetIsSyncAwaiting() bool { - if o == nil || o.IsSyncAwaiting == nil { - var ret bool - return ret - } - return *o.IsSyncAwaiting -} - -// GetIsSyncAwaitingOk returns a tuple with the IsSyncAwaiting field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *RpmPackageUpload) GetIsSyncAwaitingOk() (*bool, bool) { - if o == nil || o.IsSyncAwaiting == nil { - return nil, false - } - return o.IsSyncAwaiting, true -} - -// HasIsSyncAwaiting returns a boolean if a field has been set. -func (o *RpmPackageUpload) HasIsSyncAwaiting() bool { - if o != nil && o.IsSyncAwaiting != nil { - return true - } - - return false -} - -// SetIsSyncAwaiting gets a reference to the given bool and assigns it to the IsSyncAwaiting field. -func (o *RpmPackageUpload) SetIsSyncAwaiting(v bool) { - o.IsSyncAwaiting = &v -} - -// GetIsSyncCompleted returns the IsSyncCompleted field value if set, zero value otherwise. -func (o *RpmPackageUpload) GetIsSyncCompleted() bool { - if o == nil || o.IsSyncCompleted == nil { - var ret bool - return ret - } - return *o.IsSyncCompleted -} - -// GetIsSyncCompletedOk returns a tuple with the IsSyncCompleted field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *RpmPackageUpload) GetIsSyncCompletedOk() (*bool, bool) { - if o == nil || o.IsSyncCompleted == nil { - return nil, false - } - return o.IsSyncCompleted, true -} - -// HasIsSyncCompleted returns a boolean if a field has been set. -func (o *RpmPackageUpload) HasIsSyncCompleted() bool { - if o != nil && o.IsSyncCompleted != nil { - return true - } - - return false -} - -// SetIsSyncCompleted gets a reference to the given bool and assigns it to the IsSyncCompleted field. -func (o *RpmPackageUpload) SetIsSyncCompleted(v bool) { - o.IsSyncCompleted = &v -} - -// GetIsSyncFailed returns the IsSyncFailed field value if set, zero value otherwise. -func (o *RpmPackageUpload) GetIsSyncFailed() bool { - if o == nil || o.IsSyncFailed == nil { - var ret bool - return ret - } - return *o.IsSyncFailed -} - -// GetIsSyncFailedOk returns a tuple with the IsSyncFailed field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *RpmPackageUpload) GetIsSyncFailedOk() (*bool, bool) { - if o == nil || o.IsSyncFailed == nil { - return nil, false - } - return o.IsSyncFailed, true -} - -// HasIsSyncFailed returns a boolean if a field has been set. -func (o *RpmPackageUpload) HasIsSyncFailed() bool { - if o != nil && o.IsSyncFailed != nil { - return true - } - - return false -} - -// SetIsSyncFailed gets a reference to the given bool and assigns it to the IsSyncFailed field. -func (o *RpmPackageUpload) SetIsSyncFailed(v bool) { - o.IsSyncFailed = &v -} - -// GetIsSyncInFlight returns the IsSyncInFlight field value if set, zero value otherwise. -func (o *RpmPackageUpload) GetIsSyncInFlight() bool { - if o == nil || o.IsSyncInFlight == nil { - var ret bool - return ret - } - return *o.IsSyncInFlight -} - -// GetIsSyncInFlightOk returns a tuple with the IsSyncInFlight field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *RpmPackageUpload) GetIsSyncInFlightOk() (*bool, bool) { - if o == nil || o.IsSyncInFlight == nil { - return nil, false - } - return o.IsSyncInFlight, true -} - -// HasIsSyncInFlight returns a boolean if a field has been set. -func (o *RpmPackageUpload) HasIsSyncInFlight() bool { - if o != nil && o.IsSyncInFlight != nil { - return true - } - - return false -} - -// SetIsSyncInFlight gets a reference to the given bool and assigns it to the IsSyncInFlight field. -func (o *RpmPackageUpload) SetIsSyncInFlight(v bool) { - o.IsSyncInFlight = &v -} - -// GetIsSyncInProgress returns the IsSyncInProgress field value if set, zero value otherwise. -func (o *RpmPackageUpload) GetIsSyncInProgress() bool { - if o == nil || o.IsSyncInProgress == nil { - var ret bool - return ret - } - return *o.IsSyncInProgress -} - -// GetIsSyncInProgressOk returns a tuple with the IsSyncInProgress field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *RpmPackageUpload) GetIsSyncInProgressOk() (*bool, bool) { - if o == nil || o.IsSyncInProgress == nil { - return nil, false - } - return o.IsSyncInProgress, true -} - -// HasIsSyncInProgress returns a boolean if a field has been set. -func (o *RpmPackageUpload) HasIsSyncInProgress() bool { - if o != nil && o.IsSyncInProgress != nil { - return true - } - - return false -} - -// SetIsSyncInProgress gets a reference to the given bool and assigns it to the IsSyncInProgress field. -func (o *RpmPackageUpload) SetIsSyncInProgress(v bool) { - o.IsSyncInProgress = &v -} - -// GetLicense returns the License field value if set, zero value otherwise. -func (o *RpmPackageUpload) GetLicense() string { - if o == nil || o.License == nil { - var ret string - return ret - } - return *o.License -} - -// GetLicenseOk returns a tuple with the License field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *RpmPackageUpload) GetLicenseOk() (*string, bool) { - if o == nil || o.License == nil { - return nil, false - } - return o.License, true -} - -// HasLicense returns a boolean if a field has been set. -func (o *RpmPackageUpload) HasLicense() bool { - if o != nil && o.License != nil { - return true - } - - return false -} - -// SetLicense gets a reference to the given string and assigns it to the License field. -func (o *RpmPackageUpload) SetLicense(v string) { - o.License = &v -} - -// GetName returns the Name field value if set, zero value otherwise. -func (o *RpmPackageUpload) GetName() string { - if o == nil || o.Name == nil { - var ret string - return ret - } - return *o.Name -} - -// GetNameOk returns a tuple with the Name field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *RpmPackageUpload) GetNameOk() (*string, bool) { - if o == nil || o.Name == nil { - return nil, false - } - return o.Name, true -} - -// HasName returns a boolean if a field has been set. -func (o *RpmPackageUpload) HasName() bool { - if o != nil && o.Name != nil { - return true - } - - return false -} - -// SetName gets a reference to the given string and assigns it to the Name field. -func (o *RpmPackageUpload) SetName(v string) { - o.Name = &v -} - -// GetNamespace returns the Namespace field value if set, zero value otherwise. -func (o *RpmPackageUpload) GetNamespace() string { - if o == nil || o.Namespace == nil { - var ret string - return ret - } - return *o.Namespace -} - -// GetNamespaceOk returns a tuple with the Namespace field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *RpmPackageUpload) GetNamespaceOk() (*string, bool) { - if o == nil || o.Namespace == nil { - return nil, false - } - return o.Namespace, true -} - -// HasNamespace returns a boolean if a field has been set. -func (o *RpmPackageUpload) HasNamespace() bool { - if o != nil && o.Namespace != nil { - return true - } - - return false -} - -// SetNamespace gets a reference to the given string and assigns it to the Namespace field. -func (o *RpmPackageUpload) SetNamespace(v string) { - o.Namespace = &v -} - -// GetNamespaceUrl returns the NamespaceUrl field value if set, zero value otherwise. -func (o *RpmPackageUpload) GetNamespaceUrl() string { - if o == nil || o.NamespaceUrl == nil { - var ret string - return ret - } - return *o.NamespaceUrl -} - -// GetNamespaceUrlOk returns a tuple with the NamespaceUrl field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *RpmPackageUpload) GetNamespaceUrlOk() (*string, bool) { - if o == nil || o.NamespaceUrl == nil { - return nil, false - } - return o.NamespaceUrl, true -} - -// HasNamespaceUrl returns a boolean if a field has been set. -func (o *RpmPackageUpload) HasNamespaceUrl() bool { - if o != nil && o.NamespaceUrl != nil { - return true - } - - return false -} - -// SetNamespaceUrl gets a reference to the given string and assigns it to the NamespaceUrl field. -func (o *RpmPackageUpload) SetNamespaceUrl(v string) { - o.NamespaceUrl = &v -} - -// GetNumFiles returns the NumFiles field value if set, zero value otherwise. -func (o *RpmPackageUpload) GetNumFiles() int64 { - if o == nil || o.NumFiles == nil { - var ret int64 - return ret - } - return *o.NumFiles -} - -// GetNumFilesOk returns a tuple with the NumFiles field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *RpmPackageUpload) GetNumFilesOk() (*int64, bool) { - if o == nil || o.NumFiles == nil { - return nil, false - } - return o.NumFiles, true -} - -// HasNumFiles returns a boolean if a field has been set. -func (o *RpmPackageUpload) HasNumFiles() bool { - if o != nil && o.NumFiles != nil { - return true - } - - return false -} - -// SetNumFiles gets a reference to the given int64 and assigns it to the NumFiles field. -func (o *RpmPackageUpload) SetNumFiles(v int64) { - o.NumFiles = &v -} - -// GetPackageType returns the PackageType field value if set, zero value otherwise. -func (o *RpmPackageUpload) GetPackageType() int64 { - if o == nil || o.PackageType == nil { - var ret int64 - return ret - } - return *o.PackageType -} - -// GetPackageTypeOk returns a tuple with the PackageType field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *RpmPackageUpload) GetPackageTypeOk() (*int64, bool) { - if o == nil || o.PackageType == nil { - return nil, false - } - return o.PackageType, true -} - -// HasPackageType returns a boolean if a field has been set. -func (o *RpmPackageUpload) HasPackageType() bool { - if o != nil && o.PackageType != nil { - return true - } - - return false -} - -// SetPackageType gets a reference to the given int64 and assigns it to the PackageType field. -func (o *RpmPackageUpload) SetPackageType(v int64) { - o.PackageType = &v -} - -// GetRelease returns the Release field value if set, zero value otherwise. -func (o *RpmPackageUpload) GetRelease() string { - if o == nil || o.Release == nil { - var ret string - return ret - } - return *o.Release -} - -// GetReleaseOk returns a tuple with the Release field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *RpmPackageUpload) GetReleaseOk() (*string, bool) { - if o == nil || o.Release == nil { - return nil, false - } - return o.Release, true -} - -// HasRelease returns a boolean if a field has been set. -func (o *RpmPackageUpload) HasRelease() bool { - if o != nil && o.Release != nil { - return true - } - - return false -} - -// SetRelease gets a reference to the given string and assigns it to the Release field. -func (o *RpmPackageUpload) SetRelease(v string) { - o.Release = &v -} - -// GetRepository returns the Repository field value if set, zero value otherwise. -func (o *RpmPackageUpload) GetRepository() string { - if o == nil || o.Repository == nil { - var ret string - return ret - } - return *o.Repository -} - -// GetRepositoryOk returns a tuple with the Repository field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *RpmPackageUpload) GetRepositoryOk() (*string, bool) { - if o == nil || o.Repository == nil { - return nil, false - } - return o.Repository, true -} - -// HasRepository returns a boolean if a field has been set. -func (o *RpmPackageUpload) HasRepository() bool { - if o != nil && o.Repository != nil { - return true - } - - return false -} - -// SetRepository gets a reference to the given string and assigns it to the Repository field. -func (o *RpmPackageUpload) SetRepository(v string) { - o.Repository = &v -} - -// GetRepositoryUrl returns the RepositoryUrl field value if set, zero value otherwise. -func (o *RpmPackageUpload) GetRepositoryUrl() string { - if o == nil || o.RepositoryUrl == nil { - var ret string - return ret - } - return *o.RepositoryUrl -} - -// GetRepositoryUrlOk returns a tuple with the RepositoryUrl field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *RpmPackageUpload) GetRepositoryUrlOk() (*string, bool) { - if o == nil || o.RepositoryUrl == nil { - return nil, false - } - return o.RepositoryUrl, true -} - -// HasRepositoryUrl returns a boolean if a field has been set. -func (o *RpmPackageUpload) HasRepositoryUrl() bool { - if o != nil && o.RepositoryUrl != nil { - return true - } - - return false -} - -// SetRepositoryUrl gets a reference to the given string and assigns it to the RepositoryUrl field. -func (o *RpmPackageUpload) SetRepositoryUrl(v string) { - o.RepositoryUrl = &v -} - -// GetSecurityScanCompletedAt returns the SecurityScanCompletedAt field value if set, zero value otherwise. -func (o *RpmPackageUpload) GetSecurityScanCompletedAt() string { - if o == nil || o.SecurityScanCompletedAt == nil { - var ret string - return ret - } - return *o.SecurityScanCompletedAt -} - -// GetSecurityScanCompletedAtOk returns a tuple with the SecurityScanCompletedAt field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *RpmPackageUpload) GetSecurityScanCompletedAtOk() (*string, bool) { - if o == nil || o.SecurityScanCompletedAt == nil { - return nil, false - } - return o.SecurityScanCompletedAt, true -} - -// HasSecurityScanCompletedAt returns a boolean if a field has been set. -func (o *RpmPackageUpload) HasSecurityScanCompletedAt() bool { - if o != nil && o.SecurityScanCompletedAt != nil { - return true - } - - return false -} - -// SetSecurityScanCompletedAt gets a reference to the given string and assigns it to the SecurityScanCompletedAt field. -func (o *RpmPackageUpload) SetSecurityScanCompletedAt(v string) { - o.SecurityScanCompletedAt = &v -} - -// GetSecurityScanStartedAt returns the SecurityScanStartedAt field value if set, zero value otherwise. -func (o *RpmPackageUpload) GetSecurityScanStartedAt() string { - if o == nil || o.SecurityScanStartedAt == nil { - var ret string - return ret - } - return *o.SecurityScanStartedAt -} - -// GetSecurityScanStartedAtOk returns a tuple with the SecurityScanStartedAt field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *RpmPackageUpload) GetSecurityScanStartedAtOk() (*string, bool) { - if o == nil || o.SecurityScanStartedAt == nil { - return nil, false - } - return o.SecurityScanStartedAt, true -} - -// HasSecurityScanStartedAt returns a boolean if a field has been set. -func (o *RpmPackageUpload) HasSecurityScanStartedAt() bool { - if o != nil && o.SecurityScanStartedAt != nil { - return true - } - - return false -} - -// SetSecurityScanStartedAt gets a reference to the given string and assigns it to the SecurityScanStartedAt field. -func (o *RpmPackageUpload) SetSecurityScanStartedAt(v string) { - o.SecurityScanStartedAt = &v -} - -// GetSecurityScanStatus returns the SecurityScanStatus field value if set, zero value otherwise. -func (o *RpmPackageUpload) GetSecurityScanStatus() string { - if o == nil || o.SecurityScanStatus == nil { - var ret string - return ret - } - return *o.SecurityScanStatus -} - -// GetSecurityScanStatusOk returns a tuple with the SecurityScanStatus field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *RpmPackageUpload) GetSecurityScanStatusOk() (*string, bool) { - if o == nil || o.SecurityScanStatus == nil { - return nil, false - } - return o.SecurityScanStatus, true -} - -// HasSecurityScanStatus returns a boolean if a field has been set. -func (o *RpmPackageUpload) HasSecurityScanStatus() bool { - if o != nil && o.SecurityScanStatus != nil { - return true - } - - return false -} - -// SetSecurityScanStatus gets a reference to the given string and assigns it to the SecurityScanStatus field. -func (o *RpmPackageUpload) SetSecurityScanStatus(v string) { - o.SecurityScanStatus = &v -} - -// GetSecurityScanStatusUpdatedAt returns the SecurityScanStatusUpdatedAt field value if set, zero value otherwise. -func (o *RpmPackageUpload) GetSecurityScanStatusUpdatedAt() string { - if o == nil || o.SecurityScanStatusUpdatedAt == nil { - var ret string - return ret - } - return *o.SecurityScanStatusUpdatedAt -} - -// GetSecurityScanStatusUpdatedAtOk returns a tuple with the SecurityScanStatusUpdatedAt field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *RpmPackageUpload) GetSecurityScanStatusUpdatedAtOk() (*string, bool) { - if o == nil || o.SecurityScanStatusUpdatedAt == nil { - return nil, false - } - return o.SecurityScanStatusUpdatedAt, true -} - -// HasSecurityScanStatusUpdatedAt returns a boolean if a field has been set. -func (o *RpmPackageUpload) HasSecurityScanStatusUpdatedAt() bool { - if o != nil && o.SecurityScanStatusUpdatedAt != nil { - return true - } - - return false -} - -// SetSecurityScanStatusUpdatedAt gets a reference to the given string and assigns it to the SecurityScanStatusUpdatedAt field. -func (o *RpmPackageUpload) SetSecurityScanStatusUpdatedAt(v string) { - o.SecurityScanStatusUpdatedAt = &v -} - -// GetSelfHtmlUrl returns the SelfHtmlUrl field value if set, zero value otherwise. -func (o *RpmPackageUpload) GetSelfHtmlUrl() string { - if o == nil || o.SelfHtmlUrl == nil { - var ret string - return ret - } - return *o.SelfHtmlUrl -} - -// GetSelfHtmlUrlOk returns a tuple with the SelfHtmlUrl field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *RpmPackageUpload) GetSelfHtmlUrlOk() (*string, bool) { - if o == nil || o.SelfHtmlUrl == nil { - return nil, false - } - return o.SelfHtmlUrl, true -} - -// HasSelfHtmlUrl returns a boolean if a field has been set. -func (o *RpmPackageUpload) HasSelfHtmlUrl() bool { - if o != nil && o.SelfHtmlUrl != nil { - return true - } - - return false -} - -// SetSelfHtmlUrl gets a reference to the given string and assigns it to the SelfHtmlUrl field. -func (o *RpmPackageUpload) SetSelfHtmlUrl(v string) { - o.SelfHtmlUrl = &v -} - -// GetSelfUrl returns the SelfUrl field value if set, zero value otherwise. -func (o *RpmPackageUpload) GetSelfUrl() string { - if o == nil || o.SelfUrl == nil { - var ret string - return ret - } - return *o.SelfUrl -} - -// GetSelfUrlOk returns a tuple with the SelfUrl field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *RpmPackageUpload) GetSelfUrlOk() (*string, bool) { - if o == nil || o.SelfUrl == nil { - return nil, false - } - return o.SelfUrl, true -} - -// HasSelfUrl returns a boolean if a field has been set. -func (o *RpmPackageUpload) HasSelfUrl() bool { - if o != nil && o.SelfUrl != nil { - return true - } - - return false -} - -// SetSelfUrl gets a reference to the given string and assigns it to the SelfUrl field. -func (o *RpmPackageUpload) SetSelfUrl(v string) { - o.SelfUrl = &v -} - -// GetSignatureUrl returns the SignatureUrl field value if set, zero value otherwise. -func (o *RpmPackageUpload) GetSignatureUrl() string { - if o == nil || o.SignatureUrl == nil { - var ret string - return ret - } - return *o.SignatureUrl -} - -// GetSignatureUrlOk returns a tuple with the SignatureUrl field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *RpmPackageUpload) GetSignatureUrlOk() (*string, bool) { - if o == nil || o.SignatureUrl == nil { - return nil, false - } - return o.SignatureUrl, true -} - -// HasSignatureUrl returns a boolean if a field has been set. -func (o *RpmPackageUpload) HasSignatureUrl() bool { - if o != nil && o.SignatureUrl != nil { - return true - } - - return false -} - -// SetSignatureUrl gets a reference to the given string and assigns it to the SignatureUrl field. -func (o *RpmPackageUpload) SetSignatureUrl(v string) { - o.SignatureUrl = &v -} - -// GetSize returns the Size field value if set, zero value otherwise. -func (o *RpmPackageUpload) GetSize() int64 { - if o == nil || o.Size == nil { - var ret int64 - return ret - } - return *o.Size -} - -// GetSizeOk returns a tuple with the Size field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *RpmPackageUpload) GetSizeOk() (*int64, bool) { - if o == nil || o.Size == nil { - return nil, false - } - return o.Size, true -} - -// HasSize returns a boolean if a field has been set. -func (o *RpmPackageUpload) HasSize() bool { - if o != nil && o.Size != nil { - return true - } - - return false -} - -// SetSize gets a reference to the given int64 and assigns it to the Size field. -func (o *RpmPackageUpload) SetSize(v int64) { - o.Size = &v -} - -// GetSlug returns the Slug field value if set, zero value otherwise. -func (o *RpmPackageUpload) GetSlug() string { - if o == nil || o.Slug == nil { - var ret string - return ret - } - return *o.Slug -} - -// GetSlugOk returns a tuple with the Slug field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *RpmPackageUpload) GetSlugOk() (*string, bool) { - if o == nil || o.Slug == nil { - return nil, false - } - return o.Slug, true -} - -// HasSlug returns a boolean if a field has been set. -func (o *RpmPackageUpload) HasSlug() bool { - if o != nil && o.Slug != nil { - return true - } - - return false -} - -// SetSlug gets a reference to the given string and assigns it to the Slug field. -func (o *RpmPackageUpload) SetSlug(v string) { - o.Slug = &v -} - -// GetSlugPerm returns the SlugPerm field value if set, zero value otherwise. -func (o *RpmPackageUpload) GetSlugPerm() string { - if o == nil || o.SlugPerm == nil { - var ret string - return ret - } - return *o.SlugPerm -} - -// GetSlugPermOk returns a tuple with the SlugPerm field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *RpmPackageUpload) GetSlugPermOk() (*string, bool) { - if o == nil || o.SlugPerm == nil { - return nil, false - } - return o.SlugPerm, true -} - -// HasSlugPerm returns a boolean if a field has been set. -func (o *RpmPackageUpload) HasSlugPerm() bool { - if o != nil && o.SlugPerm != nil { - return true - } - - return false -} - -// SetSlugPerm gets a reference to the given string and assigns it to the SlugPerm field. -func (o *RpmPackageUpload) SetSlugPerm(v string) { - o.SlugPerm = &v -} - -// GetStage returns the Stage field value if set, zero value otherwise. -func (o *RpmPackageUpload) GetStage() int64 { - if o == nil || o.Stage == nil { - var ret int64 - return ret - } - return *o.Stage -} - -// GetStageOk returns a tuple with the Stage field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *RpmPackageUpload) GetStageOk() (*int64, bool) { - if o == nil || o.Stage == nil { - return nil, false - } - return o.Stage, true -} - -// HasStage returns a boolean if a field has been set. -func (o *RpmPackageUpload) HasStage() bool { - if o != nil && o.Stage != nil { - return true - } - - return false -} - -// SetStage gets a reference to the given int64 and assigns it to the Stage field. -func (o *RpmPackageUpload) SetStage(v int64) { - o.Stage = &v -} - -// GetStageStr returns the StageStr field value if set, zero value otherwise. -func (o *RpmPackageUpload) GetStageStr() string { - if o == nil || o.StageStr == nil { - var ret string - return ret - } - return *o.StageStr -} - -// GetStageStrOk returns a tuple with the StageStr field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *RpmPackageUpload) GetStageStrOk() (*string, bool) { - if o == nil || o.StageStr == nil { - return nil, false - } - return o.StageStr, true -} - -// HasStageStr returns a boolean if a field has been set. -func (o *RpmPackageUpload) HasStageStr() bool { - if o != nil && o.StageStr != nil { - return true - } - - return false -} - -// SetStageStr gets a reference to the given string and assigns it to the StageStr field. -func (o *RpmPackageUpload) SetStageStr(v string) { - o.StageStr = &v -} - -// GetStageUpdatedAt returns the StageUpdatedAt field value if set, zero value otherwise. -func (o *RpmPackageUpload) GetStageUpdatedAt() string { - if o == nil || o.StageUpdatedAt == nil { - var ret string - return ret - } - return *o.StageUpdatedAt -} - -// GetStageUpdatedAtOk returns a tuple with the StageUpdatedAt field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *RpmPackageUpload) GetStageUpdatedAtOk() (*string, bool) { - if o == nil || o.StageUpdatedAt == nil { - return nil, false - } - return o.StageUpdatedAt, true -} - -// HasStageUpdatedAt returns a boolean if a field has been set. -func (o *RpmPackageUpload) HasStageUpdatedAt() bool { - if o != nil && o.StageUpdatedAt != nil { - return true - } - - return false -} - -// SetStageUpdatedAt gets a reference to the given string and assigns it to the StageUpdatedAt field. -func (o *RpmPackageUpload) SetStageUpdatedAt(v string) { - o.StageUpdatedAt = &v -} - -// GetStatus returns the Status field value if set, zero value otherwise. -func (o *RpmPackageUpload) GetStatus() int64 { - if o == nil || o.Status == nil { - var ret int64 - return ret - } - return *o.Status -} - -// GetStatusOk returns a tuple with the Status field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *RpmPackageUpload) GetStatusOk() (*int64, bool) { - if o == nil || o.Status == nil { - return nil, false - } - return o.Status, true -} - -// HasStatus returns a boolean if a field has been set. -func (o *RpmPackageUpload) HasStatus() bool { - if o != nil && o.Status != nil { - return true - } - - return false -} - -// SetStatus gets a reference to the given int64 and assigns it to the Status field. -func (o *RpmPackageUpload) SetStatus(v int64) { - o.Status = &v -} - -// GetStatusReason returns the StatusReason field value if set, zero value otherwise. -func (o *RpmPackageUpload) GetStatusReason() string { - if o == nil || o.StatusReason == nil { - var ret string - return ret - } - return *o.StatusReason -} - -// GetStatusReasonOk returns a tuple with the StatusReason field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *RpmPackageUpload) GetStatusReasonOk() (*string, bool) { - if o == nil || o.StatusReason == nil { - return nil, false - } - return o.StatusReason, true -} - -// HasStatusReason returns a boolean if a field has been set. -func (o *RpmPackageUpload) HasStatusReason() bool { - if o != nil && o.StatusReason != nil { - return true - } - - return false -} - -// SetStatusReason gets a reference to the given string and assigns it to the StatusReason field. -func (o *RpmPackageUpload) SetStatusReason(v string) { - o.StatusReason = &v -} - -// GetStatusStr returns the StatusStr field value if set, zero value otherwise. -func (o *RpmPackageUpload) GetStatusStr() string { - if o == nil || o.StatusStr == nil { - var ret string - return ret - } - return *o.StatusStr -} - -// GetStatusStrOk returns a tuple with the StatusStr field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *RpmPackageUpload) GetStatusStrOk() (*string, bool) { - if o == nil || o.StatusStr == nil { - return nil, false - } - return o.StatusStr, true -} - -// HasStatusStr returns a boolean if a field has been set. -func (o *RpmPackageUpload) HasStatusStr() bool { - if o != nil && o.StatusStr != nil { - return true - } - - return false -} - -// SetStatusStr gets a reference to the given string and assigns it to the StatusStr field. -func (o *RpmPackageUpload) SetStatusStr(v string) { - o.StatusStr = &v -} - -// GetStatusUpdatedAt returns the StatusUpdatedAt field value if set, zero value otherwise. -func (o *RpmPackageUpload) GetStatusUpdatedAt() string { - if o == nil || o.StatusUpdatedAt == nil { - var ret string - return ret - } - return *o.StatusUpdatedAt -} - -// GetStatusUpdatedAtOk returns a tuple with the StatusUpdatedAt field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *RpmPackageUpload) GetStatusUpdatedAtOk() (*string, bool) { - if o == nil || o.StatusUpdatedAt == nil { - return nil, false - } - return o.StatusUpdatedAt, true -} - -// HasStatusUpdatedAt returns a boolean if a field has been set. -func (o *RpmPackageUpload) HasStatusUpdatedAt() bool { - if o != nil && o.StatusUpdatedAt != nil { - return true - } - - return false -} - -// SetStatusUpdatedAt gets a reference to the given string and assigns it to the StatusUpdatedAt field. -func (o *RpmPackageUpload) SetStatusUpdatedAt(v string) { - o.StatusUpdatedAt = &v -} - -// GetStatusUrl returns the StatusUrl field value if set, zero value otherwise. -func (o *RpmPackageUpload) GetStatusUrl() string { - if o == nil || o.StatusUrl == nil { - var ret string - return ret - } - return *o.StatusUrl -} - -// GetStatusUrlOk returns a tuple with the StatusUrl field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *RpmPackageUpload) GetStatusUrlOk() (*string, bool) { - if o == nil || o.StatusUrl == nil { - return nil, false - } - return o.StatusUrl, true -} - -// HasStatusUrl returns a boolean if a field has been set. -func (o *RpmPackageUpload) HasStatusUrl() bool { - if o != nil && o.StatusUrl != nil { - return true - } - - return false -} - -// SetStatusUrl gets a reference to the given string and assigns it to the StatusUrl field. -func (o *RpmPackageUpload) SetStatusUrl(v string) { - o.StatusUrl = &v -} - -// GetSubtype returns the Subtype field value if set, zero value otherwise. -func (o *RpmPackageUpload) GetSubtype() string { - if o == nil || o.Subtype == nil { - var ret string - return ret - } - return *o.Subtype -} - -// GetSubtypeOk returns a tuple with the Subtype field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *RpmPackageUpload) GetSubtypeOk() (*string, bool) { - if o == nil || o.Subtype == nil { - return nil, false - } - return o.Subtype, true -} - -// HasSubtype returns a boolean if a field has been set. -func (o *RpmPackageUpload) HasSubtype() bool { - if o != nil && o.Subtype != nil { - return true - } - - return false -} - -// SetSubtype gets a reference to the given string and assigns it to the Subtype field. -func (o *RpmPackageUpload) SetSubtype(v string) { - o.Subtype = &v -} - -// GetSummary returns the Summary field value if set, zero value otherwise. -func (o *RpmPackageUpload) GetSummary() string { - if o == nil || o.Summary == nil { - var ret string - return ret - } - return *o.Summary -} - -// GetSummaryOk returns a tuple with the Summary field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *RpmPackageUpload) GetSummaryOk() (*string, bool) { - if o == nil || o.Summary == nil { - return nil, false - } - return o.Summary, true -} - -// HasSummary returns a boolean if a field has been set. -func (o *RpmPackageUpload) HasSummary() bool { - if o != nil && o.Summary != nil { - return true - } - - return false -} - -// SetSummary gets a reference to the given string and assigns it to the Summary field. -func (o *RpmPackageUpload) SetSummary(v string) { - o.Summary = &v -} - -// GetSyncFinishedAt returns the SyncFinishedAt field value if set, zero value otherwise. -func (o *RpmPackageUpload) GetSyncFinishedAt() string { - if o == nil || o.SyncFinishedAt == nil { - var ret string - return ret - } - return *o.SyncFinishedAt -} - -// GetSyncFinishedAtOk returns a tuple with the SyncFinishedAt field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *RpmPackageUpload) GetSyncFinishedAtOk() (*string, bool) { - if o == nil || o.SyncFinishedAt == nil { - return nil, false - } - return o.SyncFinishedAt, true -} - -// HasSyncFinishedAt returns a boolean if a field has been set. -func (o *RpmPackageUpload) HasSyncFinishedAt() bool { - if o != nil && o.SyncFinishedAt != nil { - return true - } - - return false -} - -// SetSyncFinishedAt gets a reference to the given string and assigns it to the SyncFinishedAt field. -func (o *RpmPackageUpload) SetSyncFinishedAt(v string) { - o.SyncFinishedAt = &v -} - -// GetSyncProgress returns the SyncProgress field value if set, zero value otherwise. -func (o *RpmPackageUpload) GetSyncProgress() int64 { - if o == nil || o.SyncProgress == nil { - var ret int64 - return ret - } - return *o.SyncProgress -} - -// GetSyncProgressOk returns a tuple with the SyncProgress field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *RpmPackageUpload) GetSyncProgressOk() (*int64, bool) { - if o == nil || o.SyncProgress == nil { - return nil, false - } - return o.SyncProgress, true -} - -// HasSyncProgress returns a boolean if a field has been set. -func (o *RpmPackageUpload) HasSyncProgress() bool { - if o != nil && o.SyncProgress != nil { - return true - } - - return false -} - -// SetSyncProgress gets a reference to the given int64 and assigns it to the SyncProgress field. -func (o *RpmPackageUpload) SetSyncProgress(v int64) { - o.SyncProgress = &v -} - -// GetTagsImmutable returns the TagsImmutable field value if set, zero value otherwise. -func (o *RpmPackageUpload) GetTagsImmutable() map[string]interface{} { - if o == nil || o.TagsImmutable == nil { - var ret map[string]interface{} - return ret - } - return o.TagsImmutable -} - -// GetTagsImmutableOk returns a tuple with the TagsImmutable field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *RpmPackageUpload) GetTagsImmutableOk() (map[string]interface{}, bool) { - if o == nil || o.TagsImmutable == nil { - return nil, false - } - return o.TagsImmutable, true -} - -// HasTagsImmutable returns a boolean if a field has been set. -func (o *RpmPackageUpload) HasTagsImmutable() bool { - if o != nil && o.TagsImmutable != nil { - return true - } - - return false -} - -// SetTagsImmutable gets a reference to the given map[string]interface{} and assigns it to the TagsImmutable field. -func (o *RpmPackageUpload) SetTagsImmutable(v map[string]interface{}) { - o.TagsImmutable = v -} - -// GetTypeDisplay returns the TypeDisplay field value if set, zero value otherwise. -func (o *RpmPackageUpload) GetTypeDisplay() string { - if o == nil || o.TypeDisplay == nil { - var ret string - return ret - } - return *o.TypeDisplay -} - -// GetTypeDisplayOk returns a tuple with the TypeDisplay field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *RpmPackageUpload) GetTypeDisplayOk() (*string, bool) { - if o == nil || o.TypeDisplay == nil { - return nil, false - } - return o.TypeDisplay, true -} - -// HasTypeDisplay returns a boolean if a field has been set. -func (o *RpmPackageUpload) HasTypeDisplay() bool { - if o != nil && o.TypeDisplay != nil { - return true - } - - return false -} - -// SetTypeDisplay gets a reference to the given string and assigns it to the TypeDisplay field. -func (o *RpmPackageUpload) SetTypeDisplay(v string) { - o.TypeDisplay = &v -} - -// GetUploadedAt returns the UploadedAt field value if set, zero value otherwise. -func (o *RpmPackageUpload) GetUploadedAt() string { - if o == nil || o.UploadedAt == nil { - var ret string - return ret - } - return *o.UploadedAt -} - -// GetUploadedAtOk returns a tuple with the UploadedAt field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *RpmPackageUpload) GetUploadedAtOk() (*string, bool) { - if o == nil || o.UploadedAt == nil { - return nil, false - } - return o.UploadedAt, true -} - -// HasUploadedAt returns a boolean if a field has been set. -func (o *RpmPackageUpload) HasUploadedAt() bool { - if o != nil && o.UploadedAt != nil { - return true - } - - return false -} - -// SetUploadedAt gets a reference to the given string and assigns it to the UploadedAt field. -func (o *RpmPackageUpload) SetUploadedAt(v string) { - o.UploadedAt = &v -} - -// GetUploader returns the Uploader field value if set, zero value otherwise. -func (o *RpmPackageUpload) GetUploader() string { - if o == nil || o.Uploader == nil { - var ret string - return ret - } - return *o.Uploader -} - -// GetUploaderOk returns a tuple with the Uploader field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *RpmPackageUpload) GetUploaderOk() (*string, bool) { - if o == nil || o.Uploader == nil { - return nil, false - } - return o.Uploader, true -} - -// HasUploader returns a boolean if a field has been set. -func (o *RpmPackageUpload) HasUploader() bool { - if o != nil && o.Uploader != nil { - return true - } - - return false -} - -// SetUploader gets a reference to the given string and assigns it to the Uploader field. -func (o *RpmPackageUpload) SetUploader(v string) { - o.Uploader = &v -} - -// GetUploaderUrl returns the UploaderUrl field value if set, zero value otherwise. -func (o *RpmPackageUpload) GetUploaderUrl() string { - if o == nil || o.UploaderUrl == nil { - var ret string - return ret - } - return *o.UploaderUrl -} - -// GetUploaderUrlOk returns a tuple with the UploaderUrl field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *RpmPackageUpload) GetUploaderUrlOk() (*string, bool) { - if o == nil || o.UploaderUrl == nil { - return nil, false - } - return o.UploaderUrl, true -} - -// HasUploaderUrl returns a boolean if a field has been set. -func (o *RpmPackageUpload) HasUploaderUrl() bool { - if o != nil && o.UploaderUrl != nil { - return true - } - - return false -} - -// SetUploaderUrl gets a reference to the given string and assigns it to the UploaderUrl field. -func (o *RpmPackageUpload) SetUploaderUrl(v string) { - o.UploaderUrl = &v -} - -// GetVersion returns the Version field value if set, zero value otherwise. -func (o *RpmPackageUpload) GetVersion() string { - if o == nil || o.Version == nil { - var ret string - return ret - } - return *o.Version -} - -// GetVersionOk returns a tuple with the Version field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *RpmPackageUpload) GetVersionOk() (*string, bool) { - if o == nil || o.Version == nil { - return nil, false - } - return o.Version, true -} - -// HasVersion returns a boolean if a field has been set. -func (o *RpmPackageUpload) HasVersion() bool { - if o != nil && o.Version != nil { - return true - } - - return false -} - -// SetVersion gets a reference to the given string and assigns it to the Version field. -func (o *RpmPackageUpload) SetVersion(v string) { - o.Version = &v -} - -// GetVersionOrig returns the VersionOrig field value if set, zero value otherwise. -func (o *RpmPackageUpload) GetVersionOrig() string { - if o == nil || o.VersionOrig == nil { - var ret string - return ret - } - return *o.VersionOrig -} - -// GetVersionOrigOk returns a tuple with the VersionOrig field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *RpmPackageUpload) GetVersionOrigOk() (*string, bool) { - if o == nil || o.VersionOrig == nil { - return nil, false - } - return o.VersionOrig, true -} - -// HasVersionOrig returns a boolean if a field has been set. -func (o *RpmPackageUpload) HasVersionOrig() bool { - if o != nil && o.VersionOrig != nil { - return true - } - - return false -} - -// SetVersionOrig gets a reference to the given string and assigns it to the VersionOrig field. -func (o *RpmPackageUpload) SetVersionOrig(v string) { - o.VersionOrig = &v -} - -// GetVulnerabilityScanResultsUrl returns the VulnerabilityScanResultsUrl field value if set, zero value otherwise. -func (o *RpmPackageUpload) GetVulnerabilityScanResultsUrl() string { - if o == nil || o.VulnerabilityScanResultsUrl == nil { - var ret string - return ret - } - return *o.VulnerabilityScanResultsUrl -} - -// GetVulnerabilityScanResultsUrlOk returns a tuple with the VulnerabilityScanResultsUrl field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *RpmPackageUpload) GetVulnerabilityScanResultsUrlOk() (*string, bool) { - if o == nil || o.VulnerabilityScanResultsUrl == nil { - return nil, false - } - return o.VulnerabilityScanResultsUrl, true -} - -// HasVulnerabilityScanResultsUrl returns a boolean if a field has been set. -func (o *RpmPackageUpload) HasVulnerabilityScanResultsUrl() bool { - if o != nil && o.VulnerabilityScanResultsUrl != nil { - return true - } - - return false -} - -// SetVulnerabilityScanResultsUrl gets a reference to the given string and assigns it to the VulnerabilityScanResultsUrl field. -func (o *RpmPackageUpload) SetVulnerabilityScanResultsUrl(v string) { - o.VulnerabilityScanResultsUrl = &v -} - -func (o RpmPackageUpload) MarshalJSON() ([]byte, error) { - toSerialize := map[string]interface{}{} - if o.Architectures != nil { - toSerialize["architectures"] = o.Architectures - } - if o.CdnUrl != nil { - toSerialize["cdn_url"] = o.CdnUrl - } - if o.ChecksumMd5 != nil { - toSerialize["checksum_md5"] = o.ChecksumMd5 - } - if o.ChecksumSha1 != nil { - toSerialize["checksum_sha1"] = o.ChecksumSha1 - } - if o.ChecksumSha256 != nil { - toSerialize["checksum_sha256"] = o.ChecksumSha256 - } - if o.ChecksumSha512 != nil { - toSerialize["checksum_sha512"] = o.ChecksumSha512 - } - if o.DependenciesChecksumMd5 != nil { - toSerialize["dependencies_checksum_md5"] = o.DependenciesChecksumMd5 - } - if o.DependenciesUrl != nil { - toSerialize["dependencies_url"] = o.DependenciesUrl - } - if o.Description != nil { - toSerialize["description"] = o.Description - } - if o.Distro != nil { - toSerialize["distro"] = o.Distro - } - if o.DistroVersion != nil { - toSerialize["distro_version"] = o.DistroVersion - } - if o.Downloads != nil { - toSerialize["downloads"] = o.Downloads - } - if o.Epoch != nil { - toSerialize["epoch"] = o.Epoch - } - if o.Extension != nil { - toSerialize["extension"] = o.Extension - } - if o.Filename != nil { - toSerialize["filename"] = o.Filename - } - if o.Files != nil { - toSerialize["files"] = o.Files - } - if o.Format != nil { - toSerialize["format"] = o.Format - } - if o.FormatUrl != nil { - toSerialize["format_url"] = o.FormatUrl - } - if o.IdentifierPerm != nil { - toSerialize["identifier_perm"] = o.IdentifierPerm - } - if o.Indexed != nil { - toSerialize["indexed"] = o.Indexed - } - if o.IsDownloadable != nil { - toSerialize["is_downloadable"] = o.IsDownloadable - } - if o.IsQuarantined != nil { - toSerialize["is_quarantined"] = o.IsQuarantined - } - if o.IsSyncAwaiting != nil { - toSerialize["is_sync_awaiting"] = o.IsSyncAwaiting - } - if o.IsSyncCompleted != nil { - toSerialize["is_sync_completed"] = o.IsSyncCompleted - } - if o.IsSyncFailed != nil { - toSerialize["is_sync_failed"] = o.IsSyncFailed - } - if o.IsSyncInFlight != nil { - toSerialize["is_sync_in_flight"] = o.IsSyncInFlight - } - if o.IsSyncInProgress != nil { - toSerialize["is_sync_in_progress"] = o.IsSyncInProgress - } - if o.License != nil { - toSerialize["license"] = o.License - } - if o.Name != nil { - toSerialize["name"] = o.Name - } - if o.Namespace != nil { - toSerialize["namespace"] = o.Namespace - } - if o.NamespaceUrl != nil { - toSerialize["namespace_url"] = o.NamespaceUrl - } - if o.NumFiles != nil { - toSerialize["num_files"] = o.NumFiles - } - if o.PackageType != nil { - toSerialize["package_type"] = o.PackageType - } - if o.Release != nil { - toSerialize["release"] = o.Release - } - if o.Repository != nil { - toSerialize["repository"] = o.Repository - } - if o.RepositoryUrl != nil { - toSerialize["repository_url"] = o.RepositoryUrl - } - if o.SecurityScanCompletedAt != nil { - toSerialize["security_scan_completed_at"] = o.SecurityScanCompletedAt - } - if o.SecurityScanStartedAt != nil { - toSerialize["security_scan_started_at"] = o.SecurityScanStartedAt - } - if o.SecurityScanStatus != nil { - toSerialize["security_scan_status"] = o.SecurityScanStatus - } - if o.SecurityScanStatusUpdatedAt != nil { - toSerialize["security_scan_status_updated_at"] = o.SecurityScanStatusUpdatedAt - } - if o.SelfHtmlUrl != nil { - toSerialize["self_html_url"] = o.SelfHtmlUrl - } - if o.SelfUrl != nil { - toSerialize["self_url"] = o.SelfUrl - } - if o.SignatureUrl != nil { - toSerialize["signature_url"] = o.SignatureUrl - } - if o.Size != nil { - toSerialize["size"] = o.Size - } - if o.Slug != nil { - toSerialize["slug"] = o.Slug - } - if o.SlugPerm != nil { - toSerialize["slug_perm"] = o.SlugPerm - } - if o.Stage != nil { - toSerialize["stage"] = o.Stage - } - if o.StageStr != nil { - toSerialize["stage_str"] = o.StageStr - } - if o.StageUpdatedAt != nil { - toSerialize["stage_updated_at"] = o.StageUpdatedAt - } - if o.Status != nil { - toSerialize["status"] = o.Status - } - if o.StatusReason != nil { - toSerialize["status_reason"] = o.StatusReason - } - if o.StatusStr != nil { - toSerialize["status_str"] = o.StatusStr - } - if o.StatusUpdatedAt != nil { - toSerialize["status_updated_at"] = o.StatusUpdatedAt - } - if o.StatusUrl != nil { - toSerialize["status_url"] = o.StatusUrl - } - if o.Subtype != nil { - toSerialize["subtype"] = o.Subtype - } - if o.Summary != nil { - toSerialize["summary"] = o.Summary - } - if o.SyncFinishedAt != nil { - toSerialize["sync_finished_at"] = o.SyncFinishedAt - } - if o.SyncProgress != nil { - toSerialize["sync_progress"] = o.SyncProgress - } - if o.TagsImmutable != nil { - toSerialize["tags_immutable"] = o.TagsImmutable - } - if o.TypeDisplay != nil { - toSerialize["type_display"] = o.TypeDisplay - } - if o.UploadedAt != nil { - toSerialize["uploaded_at"] = o.UploadedAt - } - if o.Uploader != nil { - toSerialize["uploader"] = o.Uploader - } - if o.UploaderUrl != nil { - toSerialize["uploader_url"] = o.UploaderUrl - } - if o.Version != nil { - toSerialize["version"] = o.Version - } - if o.VersionOrig != nil { - toSerialize["version_orig"] = o.VersionOrig - } - if o.VulnerabilityScanResultsUrl != nil { - toSerialize["vulnerability_scan_results_url"] = o.VulnerabilityScanResultsUrl - } - return json.Marshal(toSerialize) -} - -type NullableRpmPackageUpload struct { - value *RpmPackageUpload - isSet bool -} - -func (v NullableRpmPackageUpload) Get() *RpmPackageUpload { - return v.value -} - -func (v *NullableRpmPackageUpload) Set(val *RpmPackageUpload) { - v.value = val - v.isSet = true -} - -func (v NullableRpmPackageUpload) IsSet() bool { - return v.isSet -} - -func (v *NullableRpmPackageUpload) Unset() { - v.value = nil - v.isSet = false -} - -func NewNullableRpmPackageUpload(val *RpmPackageUpload) *NullableRpmPackageUpload { - return &NullableRpmPackageUpload{value: val, isSet: true} -} - -func (v NullableRpmPackageUpload) MarshalJSON() ([]byte, error) { - return json.Marshal(v.value) -} - -func (v *NullableRpmPackageUpload) UnmarshalJSON(src []byte) error { - v.isSet = true - return json.Unmarshal(src, &v.value) -} diff --git a/model_packages_validate_upload_alpine.go b/model_rpm_package_upload_request.go similarity index 51% rename from model_packages_validate_upload_alpine.go rename to model_rpm_package_upload_request.go index 2beb237b..6a7a068d 100644 --- a/model_packages_validate_upload_alpine.go +++ b/model_rpm_package_upload_request.go @@ -1,9 +1,9 @@ /* -Cloudsmith API +Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.121.3 +API version: 1.181.6 Contact: support@cloudsmith.io */ @@ -15,8 +15,8 @@ import ( "encoding/json" ) -// PackagesValidateUploadAlpine struct for PackagesValidateUploadAlpine -type PackagesValidateUploadAlpine struct { +// RpmPackageUploadRequest struct for RpmPackageUploadRequest +type RpmPackageUploadRequest struct { // The distribution to store the package for. Distribution string `json:"distribution"` // The primary file for the package. @@ -24,30 +24,30 @@ type PackagesValidateUploadAlpine struct { // If true, the uploaded package will overwrite any others with the same attributes (e.g. same version); otherwise, it will be flagged as a duplicate. Republish *bool `json:"republish,omitempty"` // A comma-separated values list of tags to add to the package. - Tags *string `json:"tags,omitempty"` + Tags NullableString `json:"tags,omitempty"` } -// NewPackagesValidateUploadAlpine instantiates a new PackagesValidateUploadAlpine object +// NewRpmPackageUploadRequest instantiates a new RpmPackageUploadRequest object // 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 NewPackagesValidateUploadAlpine(distribution string, packageFile string) *PackagesValidateUploadAlpine { - this := PackagesValidateUploadAlpine{} +func NewRpmPackageUploadRequest(distribution string, packageFile string) *RpmPackageUploadRequest { + this := RpmPackageUploadRequest{} this.Distribution = distribution this.PackageFile = packageFile return &this } -// NewPackagesValidateUploadAlpineWithDefaults instantiates a new PackagesValidateUploadAlpine object +// NewRpmPackageUploadRequestWithDefaults instantiates a new RpmPackageUploadRequest object // This constructor will only assign default values to properties that have it defined, // but it doesn't guarantee that properties required by API are set -func NewPackagesValidateUploadAlpineWithDefaults() *PackagesValidateUploadAlpine { - this := PackagesValidateUploadAlpine{} +func NewRpmPackageUploadRequestWithDefaults() *RpmPackageUploadRequest { + this := RpmPackageUploadRequest{} return &this } // GetDistribution returns the Distribution field value -func (o *PackagesValidateUploadAlpine) GetDistribution() string { +func (o *RpmPackageUploadRequest) GetDistribution() string { if o == nil { var ret string return ret @@ -58,7 +58,7 @@ func (o *PackagesValidateUploadAlpine) GetDistribution() string { // GetDistributionOk returns a tuple with the Distribution field value // and a boolean to check if the value has been set. -func (o *PackagesValidateUploadAlpine) GetDistributionOk() (*string, bool) { +func (o *RpmPackageUploadRequest) GetDistributionOk() (*string, bool) { if o == nil { return nil, false } @@ -66,12 +66,12 @@ func (o *PackagesValidateUploadAlpine) GetDistributionOk() (*string, bool) { } // SetDistribution sets field value -func (o *PackagesValidateUploadAlpine) SetDistribution(v string) { +func (o *RpmPackageUploadRequest) SetDistribution(v string) { o.Distribution = v } // GetPackageFile returns the PackageFile field value -func (o *PackagesValidateUploadAlpine) GetPackageFile() string { +func (o *RpmPackageUploadRequest) GetPackageFile() string { if o == nil { var ret string return ret @@ -82,7 +82,7 @@ func (o *PackagesValidateUploadAlpine) GetPackageFile() string { // GetPackageFileOk returns a tuple with the PackageFile field value // and a boolean to check if the value has been set. -func (o *PackagesValidateUploadAlpine) GetPackageFileOk() (*string, bool) { +func (o *RpmPackageUploadRequest) GetPackageFileOk() (*string, bool) { if o == nil { return nil, false } @@ -90,13 +90,13 @@ func (o *PackagesValidateUploadAlpine) GetPackageFileOk() (*string, bool) { } // SetPackageFile sets field value -func (o *PackagesValidateUploadAlpine) SetPackageFile(v string) { +func (o *RpmPackageUploadRequest) SetPackageFile(v string) { o.PackageFile = v } // GetRepublish returns the Republish field value if set, zero value otherwise. -func (o *PackagesValidateUploadAlpine) GetRepublish() bool { - if o == nil || o.Republish == nil { +func (o *RpmPackageUploadRequest) GetRepublish() bool { + if o == nil || isNil(o.Republish) { var ret bool return ret } @@ -105,16 +105,16 @@ func (o *PackagesValidateUploadAlpine) GetRepublish() bool { // GetRepublishOk returns a tuple with the Republish field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *PackagesValidateUploadAlpine) GetRepublishOk() (*bool, bool) { - if o == nil || o.Republish == nil { +func (o *RpmPackageUploadRequest) GetRepublishOk() (*bool, bool) { + if o == nil || isNil(o.Republish) { return nil, false } return o.Republish, true } // HasRepublish returns a boolean if a field has been set. -func (o *PackagesValidateUploadAlpine) HasRepublish() bool { - if o != nil && o.Republish != nil { +func (o *RpmPackageUploadRequest) HasRepublish() bool { + if o != nil && !isNil(o.Republish) { return true } @@ -122,43 +122,54 @@ func (o *PackagesValidateUploadAlpine) HasRepublish() bool { } // SetRepublish gets a reference to the given bool and assigns it to the Republish field. -func (o *PackagesValidateUploadAlpine) SetRepublish(v bool) { +func (o *RpmPackageUploadRequest) SetRepublish(v bool) { o.Republish = &v } -// GetTags returns the Tags field value if set, zero value otherwise. -func (o *PackagesValidateUploadAlpine) GetTags() string { - if o == nil || o.Tags == nil { +// GetTags returns the Tags field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *RpmPackageUploadRequest) GetTags() string { + if o == nil || isNil(o.Tags.Get()) { var ret string return ret } - return *o.Tags + return *o.Tags.Get() } // GetTagsOk returns a tuple with the Tags field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *PackagesValidateUploadAlpine) GetTagsOk() (*string, bool) { - if o == nil || o.Tags == nil { +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *RpmPackageUploadRequest) GetTagsOk() (*string, bool) { + if o == nil { return nil, false } - return o.Tags, true + return o.Tags.Get(), o.Tags.IsSet() } // HasTags returns a boolean if a field has been set. -func (o *PackagesValidateUploadAlpine) HasTags() bool { - if o != nil && o.Tags != nil { +func (o *RpmPackageUploadRequest) HasTags() bool { + if o != nil && o.Tags.IsSet() { return true } return false } -// SetTags gets a reference to the given string and assigns it to the Tags field. -func (o *PackagesValidateUploadAlpine) SetTags(v string) { - o.Tags = &v +// SetTags gets a reference to the given NullableString and assigns it to the Tags field. +func (o *RpmPackageUploadRequest) SetTags(v string) { + o.Tags.Set(&v) +} + +// SetTagsNil sets the value for Tags to be an explicit nil +func (o *RpmPackageUploadRequest) SetTagsNil() { + o.Tags.Set(nil) +} + +// UnsetTags ensures that no value is present for Tags, not even an explicit nil +func (o *RpmPackageUploadRequest) UnsetTags() { + o.Tags.Unset() } -func (o PackagesValidateUploadAlpine) MarshalJSON() ([]byte, error) { +func (o RpmPackageUploadRequest) MarshalJSON() ([]byte, error) { toSerialize := map[string]interface{}{} if true { toSerialize["distribution"] = o.Distribution @@ -166,47 +177,47 @@ func (o PackagesValidateUploadAlpine) MarshalJSON() ([]byte, error) { if true { toSerialize["package_file"] = o.PackageFile } - if o.Republish != nil { + if !isNil(o.Republish) { toSerialize["republish"] = o.Republish } - if o.Tags != nil { - toSerialize["tags"] = o.Tags + if o.Tags.IsSet() { + toSerialize["tags"] = o.Tags.Get() } return json.Marshal(toSerialize) } -type NullablePackagesValidateUploadAlpine struct { - value *PackagesValidateUploadAlpine +type NullableRpmPackageUploadRequest struct { + value *RpmPackageUploadRequest isSet bool } -func (v NullablePackagesValidateUploadAlpine) Get() *PackagesValidateUploadAlpine { +func (v NullableRpmPackageUploadRequest) Get() *RpmPackageUploadRequest { return v.value } -func (v *NullablePackagesValidateUploadAlpine) Set(val *PackagesValidateUploadAlpine) { +func (v *NullableRpmPackageUploadRequest) Set(val *RpmPackageUploadRequest) { v.value = val v.isSet = true } -func (v NullablePackagesValidateUploadAlpine) IsSet() bool { +func (v NullableRpmPackageUploadRequest) IsSet() bool { return v.isSet } -func (v *NullablePackagesValidateUploadAlpine) Unset() { +func (v *NullableRpmPackageUploadRequest) Unset() { v.value = nil v.isSet = false } -func NewNullablePackagesValidateUploadAlpine(val *PackagesValidateUploadAlpine) *NullablePackagesValidateUploadAlpine { - return &NullablePackagesValidateUploadAlpine{value: val, isSet: true} +func NewNullableRpmPackageUploadRequest(val *RpmPackageUploadRequest) *NullableRpmPackageUploadRequest { + return &NullableRpmPackageUploadRequest{value: val, isSet: true} } -func (v NullablePackagesValidateUploadAlpine) MarshalJSON() ([]byte, error) { +func (v NullableRpmPackageUploadRequest) MarshalJSON() ([]byte, error) { return json.Marshal(v.value) } -func (v *NullablePackagesValidateUploadAlpine) UnmarshalJSON(src []byte) error { +func (v *NullableRpmPackageUploadRequest) UnmarshalJSON(src []byte) error { v.isSet = true return json.Unmarshal(src, &v.value) } diff --git a/model_luarocks_package_upload.go b/model_rpm_package_upload_response.go similarity index 52% rename from model_luarocks_package_upload.go rename to model_rpm_package_upload_response.go index 8da1d3a0..a2790812 100644 --- a/model_luarocks_package_upload.go +++ b/model_rpm_package_upload_response.go @@ -1,9 +1,9 @@ /* -Cloudsmith API +Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.121.3 +API version: 1.181.6 Contact: support@cloudsmith.io */ @@ -13,165 +13,126 @@ package cloudsmith import ( "encoding/json" + "time" ) -// LuarocksPackageUpload struct for LuarocksPackageUpload -type LuarocksPackageUpload struct { - // - Architectures []PackagesOwnerRepoArchitectures `json:"architectures,omitempty"` - // - CdnUrl *string `json:"cdn_url,omitempty"` - // - ChecksumMd5 *string `json:"checksum_md5,omitempty"` - // - ChecksumSha1 *string `json:"checksum_sha1,omitempty"` - // - ChecksumSha256 *string `json:"checksum_sha256,omitempty"` - // - ChecksumSha512 *string `json:"checksum_sha512,omitempty"` +// RpmPackageUploadResponse struct for RpmPackageUploadResponse +type RpmPackageUploadResponse struct { + Architectures []Architecture `json:"architectures,omitempty"` + CdnUrl NullableString `json:"cdn_url,omitempty"` + ChecksumMd5 *string `json:"checksum_md5,omitempty"` + ChecksumSha1 *string `json:"checksum_sha1,omitempty"` + ChecksumSha256 *string `json:"checksum_sha256,omitempty"` + ChecksumSha512 *string `json:"checksum_sha512,omitempty"` // A checksum of all of the package's dependencies. DependenciesChecksumMd5 *string `json:"dependencies_checksum_md5,omitempty"` - // - DependenciesUrl *string `json:"dependencies_url,omitempty"` + DependenciesUrl *string `json:"dependencies_url,omitempty"` // A textual description of this package. - Description *string `json:"description,omitempty"` - // - Distro map[string]interface{} `json:"distro,omitempty"` - // - DistroVersion map[string]interface{} `json:"distro_version,omitempty"` - // - Downloads *int64 `json:"downloads,omitempty"` + Description *string `json:"description,omitempty"` + Distro NullableDistribution `json:"distro,omitempty"` + DistroVersion *DistributionVersion `json:"distro_version,omitempty"` + Downloads *int64 `json:"downloads,omitempty"` // The epoch of the package version (if any). - Epoch *int64 `json:"epoch,omitempty"` - // - Extension *string `json:"extension,omitempty"` - // - Filename *string `json:"filename,omitempty"` - // - Files []PackagesOwnerRepoFiles `json:"files,omitempty"` - // - Format *string `json:"format,omitempty"` - // - FormatUrl *string `json:"format_url,omitempty"` + Epoch *int64 `json:"epoch,omitempty"` + Extension *string `json:"extension,omitempty"` + Filename *string `json:"filename,omitempty"` + Files []PackageFile `json:"files,omitempty"` + Format *string `json:"format,omitempty"` + FormatUrl *string `json:"format_url,omitempty"` // Unique and permanent identifier for the package. - IdentifierPerm *string `json:"identifier_perm,omitempty"` - // - Indexed *bool `json:"indexed,omitempty"` - // - IsDownloadable *bool `json:"is_downloadable,omitempty"` - // - IsQuarantined *bool `json:"is_quarantined,omitempty"` - // - IsSyncAwaiting *bool `json:"is_sync_awaiting,omitempty"` - // - IsSyncCompleted *bool `json:"is_sync_completed,omitempty"` - // - IsSyncFailed *bool `json:"is_sync_failed,omitempty"` - // - IsSyncInFlight *bool `json:"is_sync_in_flight,omitempty"` - // - IsSyncInProgress *bool `json:"is_sync_in_progress,omitempty"` + IdentifierPerm *string `json:"identifier_perm,omitempty"` + Indexed *bool `json:"indexed,omitempty"` + IsDownloadable *bool `json:"is_downloadable,omitempty"` + IsQuarantined *bool `json:"is_quarantined,omitempty"` + IsSyncAwaiting *bool `json:"is_sync_awaiting,omitempty"` + IsSyncCompleted *bool `json:"is_sync_completed,omitempty"` + IsSyncFailed *bool `json:"is_sync_failed,omitempty"` + IsSyncInFlight *bool `json:"is_sync_in_flight,omitempty"` + IsSyncInProgress *bool `json:"is_sync_in_progress,omitempty"` // The license of this package. License *string `json:"license,omitempty"` // The name of this package. - Name *string `json:"name,omitempty"` - // - Namespace *string `json:"namespace,omitempty"` - // - NamespaceUrl *string `json:"namespace_url,omitempty"` - // - NumFiles *int64 `json:"num_files,omitempty"` + Name *string `json:"name,omitempty"` + Namespace *string `json:"namespace,omitempty"` + NamespaceUrl *string `json:"namespace_url,omitempty"` + NumFiles *int64 `json:"num_files,omitempty"` + OriginRepository *string `json:"origin_repository,omitempty"` + OriginRepositoryUrl *string `json:"origin_repository_url,omitempty"` // The type of package contents. PackageType *int64 `json:"package_type,omitempty"` // The release of the package version (if any). - Release *string `json:"release,omitempty"` - // - Repository *string `json:"repository,omitempty"` - // + Release *string `json:"release,omitempty"` + Repository *string `json:"repository,omitempty"` RepositoryUrl *string `json:"repository_url,omitempty"` // The datetime the security scanning was completed. - SecurityScanCompletedAt *string `json:"security_scan_completed_at,omitempty"` + SecurityScanCompletedAt *time.Time `json:"security_scan_completed_at,omitempty"` // The datetime the security scanning was started. - SecurityScanStartedAt *string `json:"security_scan_started_at,omitempty"` - // - SecurityScanStatus *string `json:"security_scan_status,omitempty"` + SecurityScanStartedAt *time.Time `json:"security_scan_started_at,omitempty"` + SecurityScanStatus NullableString `json:"security_scan_status,omitempty"` // The datetime the security scanning status was updated. - SecurityScanStatusUpdatedAt *string `json:"security_scan_status_updated_at,omitempty"` - // - SelfHtmlUrl *string `json:"self_html_url,omitempty"` - // - SelfUrl *string `json:"self_url,omitempty"` - // - SignatureUrl *string `json:"signature_url,omitempty"` + SecurityScanStatusUpdatedAt *time.Time `json:"security_scan_status_updated_at,omitempty"` + SelfHtmlUrl *string `json:"self_html_url,omitempty"` + SelfUrl *string `json:"self_url,omitempty"` + SignatureUrl NullableString `json:"signature_url,omitempty"` // The calculated size of the package. Size *int64 `json:"size,omitempty"` // The public unique identifier for the package. - Slug *string `json:"slug,omitempty"` - // + Slug *string `json:"slug,omitempty"` SlugPerm *string `json:"slug_perm,omitempty"` // The synchronisation (in progress) stage of the package. - Stage *int64 `json:"stage,omitempty"` - // + Stage *int64 `json:"stage,omitempty"` StageStr *string `json:"stage_str,omitempty"` // The datetime the package stage was updated at. - StageUpdatedAt *string `json:"stage_updated_at,omitempty"` + StageUpdatedAt *time.Time `json:"stage_updated_at,omitempty"` // The synchronisation status of the package. Status *int64 `json:"status,omitempty"` // A textual description for the synchronous status reason (if any StatusReason *string `json:"status_reason,omitempty"` - // - StatusStr *string `json:"status_str,omitempty"` + StatusStr *string `json:"status_str,omitempty"` // The datetime the package status was updated at. - StatusUpdatedAt *string `json:"status_updated_at,omitempty"` - // - StatusUrl *string `json:"status_url,omitempty"` - // - Subtype *string `json:"subtype,omitempty"` + StatusUpdatedAt *time.Time `json:"status_updated_at,omitempty"` + StatusUrl *string `json:"status_url,omitempty"` + Subtype *string `json:"subtype,omitempty"` // A one-liner synopsis of this package. Summary *string `json:"summary,omitempty"` // The datetime the package sync was finished at. - SyncFinishedAt *string `json:"sync_finished_at,omitempty"` + SyncFinishedAt *time.Time `json:"sync_finished_at,omitempty"` // Synchronisation progress (from 0-100) SyncProgress *int64 `json:"sync_progress,omitempty"` - // All immutable tags on the package, grouped by tag type. Immutable tags cannot be (easily) deleted. + // All tags on the package, grouped by tag type. This includes immutable tags, but doesn't distinguish them from mutable. To see which tags are immutable specifically, see the tags_immutable field. TagsImmutable map[string]interface{} `json:"tags_immutable,omitempty"` - // - TypeDisplay *string `json:"type_display,omitempty"` + TypeDisplay *string `json:"type_display,omitempty"` // The date this package was uploaded. - UploadedAt *string `json:"uploaded_at,omitempty"` - // - Uploader *string `json:"uploader,omitempty"` - // - UploaderUrl *string `json:"uploader_url,omitempty"` + UploadedAt *time.Time `json:"uploaded_at,omitempty"` + Uploader *string `json:"uploader,omitempty"` + UploaderUrl *string `json:"uploader_url,omitempty"` // The raw version for this package. - Version *string `json:"version,omitempty"` - // - VersionOrig *string `json:"version_orig,omitempty"` - // + Version *string `json:"version,omitempty"` + VersionOrig *string `json:"version_orig,omitempty"` VulnerabilityScanResultsUrl *string `json:"vulnerability_scan_results_url,omitempty"` } -// NewLuarocksPackageUpload instantiates a new LuarocksPackageUpload object +// NewRpmPackageUploadResponse instantiates a new RpmPackageUploadResponse object // 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 NewLuarocksPackageUpload() *LuarocksPackageUpload { - this := LuarocksPackageUpload{} +func NewRpmPackageUploadResponse() *RpmPackageUploadResponse { + this := RpmPackageUploadResponse{} return &this } -// NewLuarocksPackageUploadWithDefaults instantiates a new LuarocksPackageUpload object +// NewRpmPackageUploadResponseWithDefaults instantiates a new RpmPackageUploadResponse object // This constructor will only assign default values to properties that have it defined, // but it doesn't guarantee that properties required by API are set -func NewLuarocksPackageUploadWithDefaults() *LuarocksPackageUpload { - this := LuarocksPackageUpload{} +func NewRpmPackageUploadResponseWithDefaults() *RpmPackageUploadResponse { + this := RpmPackageUploadResponse{} return &this } // GetArchitectures returns the Architectures field value if set, zero value otherwise. -func (o *LuarocksPackageUpload) GetArchitectures() []PackagesOwnerRepoArchitectures { - if o == nil || o.Architectures == nil { - var ret []PackagesOwnerRepoArchitectures +func (o *RpmPackageUploadResponse) GetArchitectures() []Architecture { + if o == nil || isNil(o.Architectures) { + var ret []Architecture return ret } return o.Architectures @@ -179,62 +140,73 @@ func (o *LuarocksPackageUpload) GetArchitectures() []PackagesOwnerRepoArchitectu // GetArchitecturesOk returns a tuple with the Architectures field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *LuarocksPackageUpload) GetArchitecturesOk() ([]PackagesOwnerRepoArchitectures, bool) { - if o == nil || o.Architectures == nil { +func (o *RpmPackageUploadResponse) GetArchitecturesOk() ([]Architecture, bool) { + if o == nil || isNil(o.Architectures) { return nil, false } return o.Architectures, true } // HasArchitectures returns a boolean if a field has been set. -func (o *LuarocksPackageUpload) HasArchitectures() bool { - if o != nil && o.Architectures != nil { +func (o *RpmPackageUploadResponse) HasArchitectures() bool { + if o != nil && !isNil(o.Architectures) { return true } return false } -// SetArchitectures gets a reference to the given []PackagesOwnerRepoArchitectures and assigns it to the Architectures field. -func (o *LuarocksPackageUpload) SetArchitectures(v []PackagesOwnerRepoArchitectures) { +// SetArchitectures gets a reference to the given []Architecture and assigns it to the Architectures field. +func (o *RpmPackageUploadResponse) SetArchitectures(v []Architecture) { o.Architectures = v } -// GetCdnUrl returns the CdnUrl field value if set, zero value otherwise. -func (o *LuarocksPackageUpload) GetCdnUrl() string { - if o == nil || o.CdnUrl == nil { +// GetCdnUrl returns the CdnUrl field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *RpmPackageUploadResponse) GetCdnUrl() string { + if o == nil || isNil(o.CdnUrl.Get()) { var ret string return ret } - return *o.CdnUrl + return *o.CdnUrl.Get() } // GetCdnUrlOk returns a tuple with the CdnUrl field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *LuarocksPackageUpload) GetCdnUrlOk() (*string, bool) { - if o == nil || o.CdnUrl == nil { +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *RpmPackageUploadResponse) GetCdnUrlOk() (*string, bool) { + if o == nil { return nil, false } - return o.CdnUrl, true + return o.CdnUrl.Get(), o.CdnUrl.IsSet() } // HasCdnUrl returns a boolean if a field has been set. -func (o *LuarocksPackageUpload) HasCdnUrl() bool { - if o != nil && o.CdnUrl != nil { +func (o *RpmPackageUploadResponse) HasCdnUrl() bool { + if o != nil && o.CdnUrl.IsSet() { return true } return false } -// SetCdnUrl gets a reference to the given string and assigns it to the CdnUrl field. -func (o *LuarocksPackageUpload) SetCdnUrl(v string) { - o.CdnUrl = &v +// SetCdnUrl gets a reference to the given NullableString and assigns it to the CdnUrl field. +func (o *RpmPackageUploadResponse) SetCdnUrl(v string) { + o.CdnUrl.Set(&v) +} + +// SetCdnUrlNil sets the value for CdnUrl to be an explicit nil +func (o *RpmPackageUploadResponse) SetCdnUrlNil() { + o.CdnUrl.Set(nil) +} + +// UnsetCdnUrl ensures that no value is present for CdnUrl, not even an explicit nil +func (o *RpmPackageUploadResponse) UnsetCdnUrl() { + o.CdnUrl.Unset() } // GetChecksumMd5 returns the ChecksumMd5 field value if set, zero value otherwise. -func (o *LuarocksPackageUpload) GetChecksumMd5() string { - if o == nil || o.ChecksumMd5 == nil { +func (o *RpmPackageUploadResponse) GetChecksumMd5() string { + if o == nil || isNil(o.ChecksumMd5) { var ret string return ret } @@ -243,16 +215,16 @@ func (o *LuarocksPackageUpload) GetChecksumMd5() string { // GetChecksumMd5Ok returns a tuple with the ChecksumMd5 field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *LuarocksPackageUpload) GetChecksumMd5Ok() (*string, bool) { - if o == nil || o.ChecksumMd5 == nil { +func (o *RpmPackageUploadResponse) GetChecksumMd5Ok() (*string, bool) { + if o == nil || isNil(o.ChecksumMd5) { return nil, false } return o.ChecksumMd5, true } // HasChecksumMd5 returns a boolean if a field has been set. -func (o *LuarocksPackageUpload) HasChecksumMd5() bool { - if o != nil && o.ChecksumMd5 != nil { +func (o *RpmPackageUploadResponse) HasChecksumMd5() bool { + if o != nil && !isNil(o.ChecksumMd5) { return true } @@ -260,13 +232,13 @@ func (o *LuarocksPackageUpload) HasChecksumMd5() bool { } // SetChecksumMd5 gets a reference to the given string and assigns it to the ChecksumMd5 field. -func (o *LuarocksPackageUpload) SetChecksumMd5(v string) { +func (o *RpmPackageUploadResponse) SetChecksumMd5(v string) { o.ChecksumMd5 = &v } // GetChecksumSha1 returns the ChecksumSha1 field value if set, zero value otherwise. -func (o *LuarocksPackageUpload) GetChecksumSha1() string { - if o == nil || o.ChecksumSha1 == nil { +func (o *RpmPackageUploadResponse) GetChecksumSha1() string { + if o == nil || isNil(o.ChecksumSha1) { var ret string return ret } @@ -275,16 +247,16 @@ func (o *LuarocksPackageUpload) GetChecksumSha1() string { // GetChecksumSha1Ok returns a tuple with the ChecksumSha1 field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *LuarocksPackageUpload) GetChecksumSha1Ok() (*string, bool) { - if o == nil || o.ChecksumSha1 == nil { +func (o *RpmPackageUploadResponse) GetChecksumSha1Ok() (*string, bool) { + if o == nil || isNil(o.ChecksumSha1) { return nil, false } return o.ChecksumSha1, true } // HasChecksumSha1 returns a boolean if a field has been set. -func (o *LuarocksPackageUpload) HasChecksumSha1() bool { - if o != nil && o.ChecksumSha1 != nil { +func (o *RpmPackageUploadResponse) HasChecksumSha1() bool { + if o != nil && !isNil(o.ChecksumSha1) { return true } @@ -292,13 +264,13 @@ func (o *LuarocksPackageUpload) HasChecksumSha1() bool { } // SetChecksumSha1 gets a reference to the given string and assigns it to the ChecksumSha1 field. -func (o *LuarocksPackageUpload) SetChecksumSha1(v string) { +func (o *RpmPackageUploadResponse) SetChecksumSha1(v string) { o.ChecksumSha1 = &v } // GetChecksumSha256 returns the ChecksumSha256 field value if set, zero value otherwise. -func (o *LuarocksPackageUpload) GetChecksumSha256() string { - if o == nil || o.ChecksumSha256 == nil { +func (o *RpmPackageUploadResponse) GetChecksumSha256() string { + if o == nil || isNil(o.ChecksumSha256) { var ret string return ret } @@ -307,16 +279,16 @@ func (o *LuarocksPackageUpload) GetChecksumSha256() string { // GetChecksumSha256Ok returns a tuple with the ChecksumSha256 field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *LuarocksPackageUpload) GetChecksumSha256Ok() (*string, bool) { - if o == nil || o.ChecksumSha256 == nil { +func (o *RpmPackageUploadResponse) GetChecksumSha256Ok() (*string, bool) { + if o == nil || isNil(o.ChecksumSha256) { return nil, false } return o.ChecksumSha256, true } // HasChecksumSha256 returns a boolean if a field has been set. -func (o *LuarocksPackageUpload) HasChecksumSha256() bool { - if o != nil && o.ChecksumSha256 != nil { +func (o *RpmPackageUploadResponse) HasChecksumSha256() bool { + if o != nil && !isNil(o.ChecksumSha256) { return true } @@ -324,13 +296,13 @@ func (o *LuarocksPackageUpload) HasChecksumSha256() bool { } // SetChecksumSha256 gets a reference to the given string and assigns it to the ChecksumSha256 field. -func (o *LuarocksPackageUpload) SetChecksumSha256(v string) { +func (o *RpmPackageUploadResponse) SetChecksumSha256(v string) { o.ChecksumSha256 = &v } // GetChecksumSha512 returns the ChecksumSha512 field value if set, zero value otherwise. -func (o *LuarocksPackageUpload) GetChecksumSha512() string { - if o == nil || o.ChecksumSha512 == nil { +func (o *RpmPackageUploadResponse) GetChecksumSha512() string { + if o == nil || isNil(o.ChecksumSha512) { var ret string return ret } @@ -339,16 +311,16 @@ func (o *LuarocksPackageUpload) GetChecksumSha512() string { // GetChecksumSha512Ok returns a tuple with the ChecksumSha512 field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *LuarocksPackageUpload) GetChecksumSha512Ok() (*string, bool) { - if o == nil || o.ChecksumSha512 == nil { +func (o *RpmPackageUploadResponse) GetChecksumSha512Ok() (*string, bool) { + if o == nil || isNil(o.ChecksumSha512) { return nil, false } return o.ChecksumSha512, true } // HasChecksumSha512 returns a boolean if a field has been set. -func (o *LuarocksPackageUpload) HasChecksumSha512() bool { - if o != nil && o.ChecksumSha512 != nil { +func (o *RpmPackageUploadResponse) HasChecksumSha512() bool { + if o != nil && !isNil(o.ChecksumSha512) { return true } @@ -356,13 +328,13 @@ func (o *LuarocksPackageUpload) HasChecksumSha512() bool { } // SetChecksumSha512 gets a reference to the given string and assigns it to the ChecksumSha512 field. -func (o *LuarocksPackageUpload) SetChecksumSha512(v string) { +func (o *RpmPackageUploadResponse) SetChecksumSha512(v string) { o.ChecksumSha512 = &v } // GetDependenciesChecksumMd5 returns the DependenciesChecksumMd5 field value if set, zero value otherwise. -func (o *LuarocksPackageUpload) GetDependenciesChecksumMd5() string { - if o == nil || o.DependenciesChecksumMd5 == nil { +func (o *RpmPackageUploadResponse) GetDependenciesChecksumMd5() string { + if o == nil || isNil(o.DependenciesChecksumMd5) { var ret string return ret } @@ -371,16 +343,16 @@ func (o *LuarocksPackageUpload) GetDependenciesChecksumMd5() string { // GetDependenciesChecksumMd5Ok returns a tuple with the DependenciesChecksumMd5 field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *LuarocksPackageUpload) GetDependenciesChecksumMd5Ok() (*string, bool) { - if o == nil || o.DependenciesChecksumMd5 == nil { +func (o *RpmPackageUploadResponse) GetDependenciesChecksumMd5Ok() (*string, bool) { + if o == nil || isNil(o.DependenciesChecksumMd5) { return nil, false } return o.DependenciesChecksumMd5, true } // HasDependenciesChecksumMd5 returns a boolean if a field has been set. -func (o *LuarocksPackageUpload) HasDependenciesChecksumMd5() bool { - if o != nil && o.DependenciesChecksumMd5 != nil { +func (o *RpmPackageUploadResponse) HasDependenciesChecksumMd5() bool { + if o != nil && !isNil(o.DependenciesChecksumMd5) { return true } @@ -388,13 +360,13 @@ func (o *LuarocksPackageUpload) HasDependenciesChecksumMd5() bool { } // SetDependenciesChecksumMd5 gets a reference to the given string and assigns it to the DependenciesChecksumMd5 field. -func (o *LuarocksPackageUpload) SetDependenciesChecksumMd5(v string) { +func (o *RpmPackageUploadResponse) SetDependenciesChecksumMd5(v string) { o.DependenciesChecksumMd5 = &v } // GetDependenciesUrl returns the DependenciesUrl field value if set, zero value otherwise. -func (o *LuarocksPackageUpload) GetDependenciesUrl() string { - if o == nil || o.DependenciesUrl == nil { +func (o *RpmPackageUploadResponse) GetDependenciesUrl() string { + if o == nil || isNil(o.DependenciesUrl) { var ret string return ret } @@ -403,16 +375,16 @@ func (o *LuarocksPackageUpload) GetDependenciesUrl() string { // GetDependenciesUrlOk returns a tuple with the DependenciesUrl field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *LuarocksPackageUpload) GetDependenciesUrlOk() (*string, bool) { - if o == nil || o.DependenciesUrl == nil { +func (o *RpmPackageUploadResponse) GetDependenciesUrlOk() (*string, bool) { + if o == nil || isNil(o.DependenciesUrl) { return nil, false } return o.DependenciesUrl, true } // HasDependenciesUrl returns a boolean if a field has been set. -func (o *LuarocksPackageUpload) HasDependenciesUrl() bool { - if o != nil && o.DependenciesUrl != nil { +func (o *RpmPackageUploadResponse) HasDependenciesUrl() bool { + if o != nil && !isNil(o.DependenciesUrl) { return true } @@ -420,13 +392,13 @@ func (o *LuarocksPackageUpload) HasDependenciesUrl() bool { } // SetDependenciesUrl gets a reference to the given string and assigns it to the DependenciesUrl field. -func (o *LuarocksPackageUpload) SetDependenciesUrl(v string) { +func (o *RpmPackageUploadResponse) SetDependenciesUrl(v string) { o.DependenciesUrl = &v } // GetDescription returns the Description field value if set, zero value otherwise. -func (o *LuarocksPackageUpload) GetDescription() string { - if o == nil || o.Description == nil { +func (o *RpmPackageUploadResponse) GetDescription() string { + if o == nil || isNil(o.Description) { var ret string return ret } @@ -435,16 +407,16 @@ func (o *LuarocksPackageUpload) GetDescription() string { // GetDescriptionOk returns a tuple with the Description field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *LuarocksPackageUpload) GetDescriptionOk() (*string, bool) { - if o == nil || o.Description == nil { +func (o *RpmPackageUploadResponse) GetDescriptionOk() (*string, bool) { + if o == nil || isNil(o.Description) { return nil, false } return o.Description, true } // HasDescription returns a boolean if a field has been set. -func (o *LuarocksPackageUpload) HasDescription() bool { - if o != nil && o.Description != nil { +func (o *RpmPackageUploadResponse) HasDescription() bool { + if o != nil && !isNil(o.Description) { return true } @@ -452,77 +424,88 @@ func (o *LuarocksPackageUpload) HasDescription() bool { } // SetDescription gets a reference to the given string and assigns it to the Description field. -func (o *LuarocksPackageUpload) SetDescription(v string) { +func (o *RpmPackageUploadResponse) SetDescription(v string) { o.Description = &v } -// GetDistro returns the Distro field value if set, zero value otherwise. -func (o *LuarocksPackageUpload) GetDistro() map[string]interface{} { - if o == nil || o.Distro == nil { - var ret map[string]interface{} +// GetDistro returns the Distro field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *RpmPackageUploadResponse) GetDistro() Distribution { + if o == nil || isNil(o.Distro.Get()) { + var ret Distribution return ret } - return o.Distro + return *o.Distro.Get() } // GetDistroOk returns a tuple with the Distro field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *LuarocksPackageUpload) GetDistroOk() (map[string]interface{}, bool) { - if o == nil || o.Distro == nil { +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *RpmPackageUploadResponse) GetDistroOk() (*Distribution, bool) { + if o == nil { return nil, false } - return o.Distro, true + return o.Distro.Get(), o.Distro.IsSet() } // HasDistro returns a boolean if a field has been set. -func (o *LuarocksPackageUpload) HasDistro() bool { - if o != nil && o.Distro != nil { +func (o *RpmPackageUploadResponse) HasDistro() bool { + if o != nil && o.Distro.IsSet() { return true } return false } -// SetDistro gets a reference to the given map[string]interface{} and assigns it to the Distro field. -func (o *LuarocksPackageUpload) SetDistro(v map[string]interface{}) { - o.Distro = v +// SetDistro gets a reference to the given NullableDistribution and assigns it to the Distro field. +func (o *RpmPackageUploadResponse) SetDistro(v Distribution) { + o.Distro.Set(&v) +} + +// SetDistroNil sets the value for Distro to be an explicit nil +func (o *RpmPackageUploadResponse) SetDistroNil() { + o.Distro.Set(nil) +} + +// UnsetDistro ensures that no value is present for Distro, not even an explicit nil +func (o *RpmPackageUploadResponse) UnsetDistro() { + o.Distro.Unset() } // GetDistroVersion returns the DistroVersion field value if set, zero value otherwise. -func (o *LuarocksPackageUpload) GetDistroVersion() map[string]interface{} { - if o == nil || o.DistroVersion == nil { - var ret map[string]interface{} +func (o *RpmPackageUploadResponse) GetDistroVersion() DistributionVersion { + if o == nil || isNil(o.DistroVersion) { + var ret DistributionVersion return ret } - return o.DistroVersion + return *o.DistroVersion } // GetDistroVersionOk returns a tuple with the DistroVersion field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *LuarocksPackageUpload) GetDistroVersionOk() (map[string]interface{}, bool) { - if o == nil || o.DistroVersion == nil { +func (o *RpmPackageUploadResponse) GetDistroVersionOk() (*DistributionVersion, bool) { + if o == nil || isNil(o.DistroVersion) { return nil, false } return o.DistroVersion, true } // HasDistroVersion returns a boolean if a field has been set. -func (o *LuarocksPackageUpload) HasDistroVersion() bool { - if o != nil && o.DistroVersion != nil { +func (o *RpmPackageUploadResponse) HasDistroVersion() bool { + if o != nil && !isNil(o.DistroVersion) { return true } return false } -// SetDistroVersion gets a reference to the given map[string]interface{} and assigns it to the DistroVersion field. -func (o *LuarocksPackageUpload) SetDistroVersion(v map[string]interface{}) { - o.DistroVersion = v +// SetDistroVersion gets a reference to the given DistributionVersion and assigns it to the DistroVersion field. +func (o *RpmPackageUploadResponse) SetDistroVersion(v DistributionVersion) { + o.DistroVersion = &v } // GetDownloads returns the Downloads field value if set, zero value otherwise. -func (o *LuarocksPackageUpload) GetDownloads() int64 { - if o == nil || o.Downloads == nil { +func (o *RpmPackageUploadResponse) GetDownloads() int64 { + if o == nil || isNil(o.Downloads) { var ret int64 return ret } @@ -531,16 +514,16 @@ func (o *LuarocksPackageUpload) GetDownloads() int64 { // GetDownloadsOk returns a tuple with the Downloads field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *LuarocksPackageUpload) GetDownloadsOk() (*int64, bool) { - if o == nil || o.Downloads == nil { +func (o *RpmPackageUploadResponse) GetDownloadsOk() (*int64, bool) { + if o == nil || isNil(o.Downloads) { return nil, false } return o.Downloads, true } // HasDownloads returns a boolean if a field has been set. -func (o *LuarocksPackageUpload) HasDownloads() bool { - if o != nil && o.Downloads != nil { +func (o *RpmPackageUploadResponse) HasDownloads() bool { + if o != nil && !isNil(o.Downloads) { return true } @@ -548,13 +531,13 @@ func (o *LuarocksPackageUpload) HasDownloads() bool { } // SetDownloads gets a reference to the given int64 and assigns it to the Downloads field. -func (o *LuarocksPackageUpload) SetDownloads(v int64) { +func (o *RpmPackageUploadResponse) SetDownloads(v int64) { o.Downloads = &v } // GetEpoch returns the Epoch field value if set, zero value otherwise. -func (o *LuarocksPackageUpload) GetEpoch() int64 { - if o == nil || o.Epoch == nil { +func (o *RpmPackageUploadResponse) GetEpoch() int64 { + if o == nil || isNil(o.Epoch) { var ret int64 return ret } @@ -563,16 +546,16 @@ func (o *LuarocksPackageUpload) GetEpoch() int64 { // GetEpochOk returns a tuple with the Epoch field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *LuarocksPackageUpload) GetEpochOk() (*int64, bool) { - if o == nil || o.Epoch == nil { +func (o *RpmPackageUploadResponse) GetEpochOk() (*int64, bool) { + if o == nil || isNil(o.Epoch) { return nil, false } return o.Epoch, true } // HasEpoch returns a boolean if a field has been set. -func (o *LuarocksPackageUpload) HasEpoch() bool { - if o != nil && o.Epoch != nil { +func (o *RpmPackageUploadResponse) HasEpoch() bool { + if o != nil && !isNil(o.Epoch) { return true } @@ -580,13 +563,13 @@ func (o *LuarocksPackageUpload) HasEpoch() bool { } // SetEpoch gets a reference to the given int64 and assigns it to the Epoch field. -func (o *LuarocksPackageUpload) SetEpoch(v int64) { +func (o *RpmPackageUploadResponse) SetEpoch(v int64) { o.Epoch = &v } // GetExtension returns the Extension field value if set, zero value otherwise. -func (o *LuarocksPackageUpload) GetExtension() string { - if o == nil || o.Extension == nil { +func (o *RpmPackageUploadResponse) GetExtension() string { + if o == nil || isNil(o.Extension) { var ret string return ret } @@ -595,16 +578,16 @@ func (o *LuarocksPackageUpload) GetExtension() string { // GetExtensionOk returns a tuple with the Extension field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *LuarocksPackageUpload) GetExtensionOk() (*string, bool) { - if o == nil || o.Extension == nil { +func (o *RpmPackageUploadResponse) GetExtensionOk() (*string, bool) { + if o == nil || isNil(o.Extension) { return nil, false } return o.Extension, true } // HasExtension returns a boolean if a field has been set. -func (o *LuarocksPackageUpload) HasExtension() bool { - if o != nil && o.Extension != nil { +func (o *RpmPackageUploadResponse) HasExtension() bool { + if o != nil && !isNil(o.Extension) { return true } @@ -612,13 +595,13 @@ func (o *LuarocksPackageUpload) HasExtension() bool { } // SetExtension gets a reference to the given string and assigns it to the Extension field. -func (o *LuarocksPackageUpload) SetExtension(v string) { +func (o *RpmPackageUploadResponse) SetExtension(v string) { o.Extension = &v } // GetFilename returns the Filename field value if set, zero value otherwise. -func (o *LuarocksPackageUpload) GetFilename() string { - if o == nil || o.Filename == nil { +func (o *RpmPackageUploadResponse) GetFilename() string { + if o == nil || isNil(o.Filename) { var ret string return ret } @@ -627,16 +610,16 @@ func (o *LuarocksPackageUpload) GetFilename() string { // GetFilenameOk returns a tuple with the Filename field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *LuarocksPackageUpload) GetFilenameOk() (*string, bool) { - if o == nil || o.Filename == nil { +func (o *RpmPackageUploadResponse) GetFilenameOk() (*string, bool) { + if o == nil || isNil(o.Filename) { return nil, false } return o.Filename, true } // HasFilename returns a boolean if a field has been set. -func (o *LuarocksPackageUpload) HasFilename() bool { - if o != nil && o.Filename != nil { +func (o *RpmPackageUploadResponse) HasFilename() bool { + if o != nil && !isNil(o.Filename) { return true } @@ -644,14 +627,14 @@ func (o *LuarocksPackageUpload) HasFilename() bool { } // SetFilename gets a reference to the given string and assigns it to the Filename field. -func (o *LuarocksPackageUpload) SetFilename(v string) { +func (o *RpmPackageUploadResponse) SetFilename(v string) { o.Filename = &v } // GetFiles returns the Files field value if set, zero value otherwise. -func (o *LuarocksPackageUpload) GetFiles() []PackagesOwnerRepoFiles { - if o == nil || o.Files == nil { - var ret []PackagesOwnerRepoFiles +func (o *RpmPackageUploadResponse) GetFiles() []PackageFile { + if o == nil || isNil(o.Files) { + var ret []PackageFile return ret } return o.Files @@ -659,30 +642,30 @@ func (o *LuarocksPackageUpload) GetFiles() []PackagesOwnerRepoFiles { // GetFilesOk returns a tuple with the Files field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *LuarocksPackageUpload) GetFilesOk() ([]PackagesOwnerRepoFiles, bool) { - if o == nil || o.Files == nil { +func (o *RpmPackageUploadResponse) GetFilesOk() ([]PackageFile, bool) { + if o == nil || isNil(o.Files) { return nil, false } return o.Files, true } // HasFiles returns a boolean if a field has been set. -func (o *LuarocksPackageUpload) HasFiles() bool { - if o != nil && o.Files != nil { +func (o *RpmPackageUploadResponse) HasFiles() bool { + if o != nil && !isNil(o.Files) { return true } return false } -// SetFiles gets a reference to the given []PackagesOwnerRepoFiles and assigns it to the Files field. -func (o *LuarocksPackageUpload) SetFiles(v []PackagesOwnerRepoFiles) { +// SetFiles gets a reference to the given []PackageFile and assigns it to the Files field. +func (o *RpmPackageUploadResponse) SetFiles(v []PackageFile) { o.Files = v } // GetFormat returns the Format field value if set, zero value otherwise. -func (o *LuarocksPackageUpload) GetFormat() string { - if o == nil || o.Format == nil { +func (o *RpmPackageUploadResponse) GetFormat() string { + if o == nil || isNil(o.Format) { var ret string return ret } @@ -691,16 +674,16 @@ func (o *LuarocksPackageUpload) GetFormat() string { // GetFormatOk returns a tuple with the Format field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *LuarocksPackageUpload) GetFormatOk() (*string, bool) { - if o == nil || o.Format == nil { +func (o *RpmPackageUploadResponse) GetFormatOk() (*string, bool) { + if o == nil || isNil(o.Format) { return nil, false } return o.Format, true } // HasFormat returns a boolean if a field has been set. -func (o *LuarocksPackageUpload) HasFormat() bool { - if o != nil && o.Format != nil { +func (o *RpmPackageUploadResponse) HasFormat() bool { + if o != nil && !isNil(o.Format) { return true } @@ -708,13 +691,13 @@ func (o *LuarocksPackageUpload) HasFormat() bool { } // SetFormat gets a reference to the given string and assigns it to the Format field. -func (o *LuarocksPackageUpload) SetFormat(v string) { +func (o *RpmPackageUploadResponse) SetFormat(v string) { o.Format = &v } // GetFormatUrl returns the FormatUrl field value if set, zero value otherwise. -func (o *LuarocksPackageUpload) GetFormatUrl() string { - if o == nil || o.FormatUrl == nil { +func (o *RpmPackageUploadResponse) GetFormatUrl() string { + if o == nil || isNil(o.FormatUrl) { var ret string return ret } @@ -723,16 +706,16 @@ func (o *LuarocksPackageUpload) GetFormatUrl() string { // GetFormatUrlOk returns a tuple with the FormatUrl field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *LuarocksPackageUpload) GetFormatUrlOk() (*string, bool) { - if o == nil || o.FormatUrl == nil { +func (o *RpmPackageUploadResponse) GetFormatUrlOk() (*string, bool) { + if o == nil || isNil(o.FormatUrl) { return nil, false } return o.FormatUrl, true } // HasFormatUrl returns a boolean if a field has been set. -func (o *LuarocksPackageUpload) HasFormatUrl() bool { - if o != nil && o.FormatUrl != nil { +func (o *RpmPackageUploadResponse) HasFormatUrl() bool { + if o != nil && !isNil(o.FormatUrl) { return true } @@ -740,13 +723,13 @@ func (o *LuarocksPackageUpload) HasFormatUrl() bool { } // SetFormatUrl gets a reference to the given string and assigns it to the FormatUrl field. -func (o *LuarocksPackageUpload) SetFormatUrl(v string) { +func (o *RpmPackageUploadResponse) SetFormatUrl(v string) { o.FormatUrl = &v } // GetIdentifierPerm returns the IdentifierPerm field value if set, zero value otherwise. -func (o *LuarocksPackageUpload) GetIdentifierPerm() string { - if o == nil || o.IdentifierPerm == nil { +func (o *RpmPackageUploadResponse) GetIdentifierPerm() string { + if o == nil || isNil(o.IdentifierPerm) { var ret string return ret } @@ -755,16 +738,16 @@ func (o *LuarocksPackageUpload) GetIdentifierPerm() string { // GetIdentifierPermOk returns a tuple with the IdentifierPerm field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *LuarocksPackageUpload) GetIdentifierPermOk() (*string, bool) { - if o == nil || o.IdentifierPerm == nil { +func (o *RpmPackageUploadResponse) GetIdentifierPermOk() (*string, bool) { + if o == nil || isNil(o.IdentifierPerm) { return nil, false } return o.IdentifierPerm, true } // HasIdentifierPerm returns a boolean if a field has been set. -func (o *LuarocksPackageUpload) HasIdentifierPerm() bool { - if o != nil && o.IdentifierPerm != nil { +func (o *RpmPackageUploadResponse) HasIdentifierPerm() bool { + if o != nil && !isNil(o.IdentifierPerm) { return true } @@ -772,13 +755,13 @@ func (o *LuarocksPackageUpload) HasIdentifierPerm() bool { } // SetIdentifierPerm gets a reference to the given string and assigns it to the IdentifierPerm field. -func (o *LuarocksPackageUpload) SetIdentifierPerm(v string) { +func (o *RpmPackageUploadResponse) SetIdentifierPerm(v string) { o.IdentifierPerm = &v } // GetIndexed returns the Indexed field value if set, zero value otherwise. -func (o *LuarocksPackageUpload) GetIndexed() bool { - if o == nil || o.Indexed == nil { +func (o *RpmPackageUploadResponse) GetIndexed() bool { + if o == nil || isNil(o.Indexed) { var ret bool return ret } @@ -787,16 +770,16 @@ func (o *LuarocksPackageUpload) GetIndexed() bool { // GetIndexedOk returns a tuple with the Indexed field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *LuarocksPackageUpload) GetIndexedOk() (*bool, bool) { - if o == nil || o.Indexed == nil { +func (o *RpmPackageUploadResponse) GetIndexedOk() (*bool, bool) { + if o == nil || isNil(o.Indexed) { return nil, false } return o.Indexed, true } // HasIndexed returns a boolean if a field has been set. -func (o *LuarocksPackageUpload) HasIndexed() bool { - if o != nil && o.Indexed != nil { +func (o *RpmPackageUploadResponse) HasIndexed() bool { + if o != nil && !isNil(o.Indexed) { return true } @@ -804,13 +787,13 @@ func (o *LuarocksPackageUpload) HasIndexed() bool { } // SetIndexed gets a reference to the given bool and assigns it to the Indexed field. -func (o *LuarocksPackageUpload) SetIndexed(v bool) { +func (o *RpmPackageUploadResponse) SetIndexed(v bool) { o.Indexed = &v } // GetIsDownloadable returns the IsDownloadable field value if set, zero value otherwise. -func (o *LuarocksPackageUpload) GetIsDownloadable() bool { - if o == nil || o.IsDownloadable == nil { +func (o *RpmPackageUploadResponse) GetIsDownloadable() bool { + if o == nil || isNil(o.IsDownloadable) { var ret bool return ret } @@ -819,16 +802,16 @@ func (o *LuarocksPackageUpload) GetIsDownloadable() bool { // GetIsDownloadableOk returns a tuple with the IsDownloadable field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *LuarocksPackageUpload) GetIsDownloadableOk() (*bool, bool) { - if o == nil || o.IsDownloadable == nil { +func (o *RpmPackageUploadResponse) GetIsDownloadableOk() (*bool, bool) { + if o == nil || isNil(o.IsDownloadable) { return nil, false } return o.IsDownloadable, true } // HasIsDownloadable returns a boolean if a field has been set. -func (o *LuarocksPackageUpload) HasIsDownloadable() bool { - if o != nil && o.IsDownloadable != nil { +func (o *RpmPackageUploadResponse) HasIsDownloadable() bool { + if o != nil && !isNil(o.IsDownloadable) { return true } @@ -836,13 +819,13 @@ func (o *LuarocksPackageUpload) HasIsDownloadable() bool { } // SetIsDownloadable gets a reference to the given bool and assigns it to the IsDownloadable field. -func (o *LuarocksPackageUpload) SetIsDownloadable(v bool) { +func (o *RpmPackageUploadResponse) SetIsDownloadable(v bool) { o.IsDownloadable = &v } // GetIsQuarantined returns the IsQuarantined field value if set, zero value otherwise. -func (o *LuarocksPackageUpload) GetIsQuarantined() bool { - if o == nil || o.IsQuarantined == nil { +func (o *RpmPackageUploadResponse) GetIsQuarantined() bool { + if o == nil || isNil(o.IsQuarantined) { var ret bool return ret } @@ -851,16 +834,16 @@ func (o *LuarocksPackageUpload) GetIsQuarantined() bool { // GetIsQuarantinedOk returns a tuple with the IsQuarantined field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *LuarocksPackageUpload) GetIsQuarantinedOk() (*bool, bool) { - if o == nil || o.IsQuarantined == nil { +func (o *RpmPackageUploadResponse) GetIsQuarantinedOk() (*bool, bool) { + if o == nil || isNil(o.IsQuarantined) { return nil, false } return o.IsQuarantined, true } // HasIsQuarantined returns a boolean if a field has been set. -func (o *LuarocksPackageUpload) HasIsQuarantined() bool { - if o != nil && o.IsQuarantined != nil { +func (o *RpmPackageUploadResponse) HasIsQuarantined() bool { + if o != nil && !isNil(o.IsQuarantined) { return true } @@ -868,13 +851,13 @@ func (o *LuarocksPackageUpload) HasIsQuarantined() bool { } // SetIsQuarantined gets a reference to the given bool and assigns it to the IsQuarantined field. -func (o *LuarocksPackageUpload) SetIsQuarantined(v bool) { +func (o *RpmPackageUploadResponse) SetIsQuarantined(v bool) { o.IsQuarantined = &v } // GetIsSyncAwaiting returns the IsSyncAwaiting field value if set, zero value otherwise. -func (o *LuarocksPackageUpload) GetIsSyncAwaiting() bool { - if o == nil || o.IsSyncAwaiting == nil { +func (o *RpmPackageUploadResponse) GetIsSyncAwaiting() bool { + if o == nil || isNil(o.IsSyncAwaiting) { var ret bool return ret } @@ -883,16 +866,16 @@ func (o *LuarocksPackageUpload) GetIsSyncAwaiting() bool { // GetIsSyncAwaitingOk returns a tuple with the IsSyncAwaiting field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *LuarocksPackageUpload) GetIsSyncAwaitingOk() (*bool, bool) { - if o == nil || o.IsSyncAwaiting == nil { +func (o *RpmPackageUploadResponse) GetIsSyncAwaitingOk() (*bool, bool) { + if o == nil || isNil(o.IsSyncAwaiting) { return nil, false } return o.IsSyncAwaiting, true } // HasIsSyncAwaiting returns a boolean if a field has been set. -func (o *LuarocksPackageUpload) HasIsSyncAwaiting() bool { - if o != nil && o.IsSyncAwaiting != nil { +func (o *RpmPackageUploadResponse) HasIsSyncAwaiting() bool { + if o != nil && !isNil(o.IsSyncAwaiting) { return true } @@ -900,13 +883,13 @@ func (o *LuarocksPackageUpload) HasIsSyncAwaiting() bool { } // SetIsSyncAwaiting gets a reference to the given bool and assigns it to the IsSyncAwaiting field. -func (o *LuarocksPackageUpload) SetIsSyncAwaiting(v bool) { +func (o *RpmPackageUploadResponse) SetIsSyncAwaiting(v bool) { o.IsSyncAwaiting = &v } // GetIsSyncCompleted returns the IsSyncCompleted field value if set, zero value otherwise. -func (o *LuarocksPackageUpload) GetIsSyncCompleted() bool { - if o == nil || o.IsSyncCompleted == nil { +func (o *RpmPackageUploadResponse) GetIsSyncCompleted() bool { + if o == nil || isNil(o.IsSyncCompleted) { var ret bool return ret } @@ -915,16 +898,16 @@ func (o *LuarocksPackageUpload) GetIsSyncCompleted() bool { // GetIsSyncCompletedOk returns a tuple with the IsSyncCompleted field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *LuarocksPackageUpload) GetIsSyncCompletedOk() (*bool, bool) { - if o == nil || o.IsSyncCompleted == nil { +func (o *RpmPackageUploadResponse) GetIsSyncCompletedOk() (*bool, bool) { + if o == nil || isNil(o.IsSyncCompleted) { return nil, false } return o.IsSyncCompleted, true } // HasIsSyncCompleted returns a boolean if a field has been set. -func (o *LuarocksPackageUpload) HasIsSyncCompleted() bool { - if o != nil && o.IsSyncCompleted != nil { +func (o *RpmPackageUploadResponse) HasIsSyncCompleted() bool { + if o != nil && !isNil(o.IsSyncCompleted) { return true } @@ -932,13 +915,13 @@ func (o *LuarocksPackageUpload) HasIsSyncCompleted() bool { } // SetIsSyncCompleted gets a reference to the given bool and assigns it to the IsSyncCompleted field. -func (o *LuarocksPackageUpload) SetIsSyncCompleted(v bool) { +func (o *RpmPackageUploadResponse) SetIsSyncCompleted(v bool) { o.IsSyncCompleted = &v } // GetIsSyncFailed returns the IsSyncFailed field value if set, zero value otherwise. -func (o *LuarocksPackageUpload) GetIsSyncFailed() bool { - if o == nil || o.IsSyncFailed == nil { +func (o *RpmPackageUploadResponse) GetIsSyncFailed() bool { + if o == nil || isNil(o.IsSyncFailed) { var ret bool return ret } @@ -947,16 +930,16 @@ func (o *LuarocksPackageUpload) GetIsSyncFailed() bool { // GetIsSyncFailedOk returns a tuple with the IsSyncFailed field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *LuarocksPackageUpload) GetIsSyncFailedOk() (*bool, bool) { - if o == nil || o.IsSyncFailed == nil { +func (o *RpmPackageUploadResponse) GetIsSyncFailedOk() (*bool, bool) { + if o == nil || isNil(o.IsSyncFailed) { return nil, false } return o.IsSyncFailed, true } // HasIsSyncFailed returns a boolean if a field has been set. -func (o *LuarocksPackageUpload) HasIsSyncFailed() bool { - if o != nil && o.IsSyncFailed != nil { +func (o *RpmPackageUploadResponse) HasIsSyncFailed() bool { + if o != nil && !isNil(o.IsSyncFailed) { return true } @@ -964,13 +947,13 @@ func (o *LuarocksPackageUpload) HasIsSyncFailed() bool { } // SetIsSyncFailed gets a reference to the given bool and assigns it to the IsSyncFailed field. -func (o *LuarocksPackageUpload) SetIsSyncFailed(v bool) { +func (o *RpmPackageUploadResponse) SetIsSyncFailed(v bool) { o.IsSyncFailed = &v } // GetIsSyncInFlight returns the IsSyncInFlight field value if set, zero value otherwise. -func (o *LuarocksPackageUpload) GetIsSyncInFlight() bool { - if o == nil || o.IsSyncInFlight == nil { +func (o *RpmPackageUploadResponse) GetIsSyncInFlight() bool { + if o == nil || isNil(o.IsSyncInFlight) { var ret bool return ret } @@ -979,16 +962,16 @@ func (o *LuarocksPackageUpload) GetIsSyncInFlight() bool { // GetIsSyncInFlightOk returns a tuple with the IsSyncInFlight field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *LuarocksPackageUpload) GetIsSyncInFlightOk() (*bool, bool) { - if o == nil || o.IsSyncInFlight == nil { +func (o *RpmPackageUploadResponse) GetIsSyncInFlightOk() (*bool, bool) { + if o == nil || isNil(o.IsSyncInFlight) { return nil, false } return o.IsSyncInFlight, true } // HasIsSyncInFlight returns a boolean if a field has been set. -func (o *LuarocksPackageUpload) HasIsSyncInFlight() bool { - if o != nil && o.IsSyncInFlight != nil { +func (o *RpmPackageUploadResponse) HasIsSyncInFlight() bool { + if o != nil && !isNil(o.IsSyncInFlight) { return true } @@ -996,13 +979,13 @@ func (o *LuarocksPackageUpload) HasIsSyncInFlight() bool { } // SetIsSyncInFlight gets a reference to the given bool and assigns it to the IsSyncInFlight field. -func (o *LuarocksPackageUpload) SetIsSyncInFlight(v bool) { +func (o *RpmPackageUploadResponse) SetIsSyncInFlight(v bool) { o.IsSyncInFlight = &v } // GetIsSyncInProgress returns the IsSyncInProgress field value if set, zero value otherwise. -func (o *LuarocksPackageUpload) GetIsSyncInProgress() bool { - if o == nil || o.IsSyncInProgress == nil { +func (o *RpmPackageUploadResponse) GetIsSyncInProgress() bool { + if o == nil || isNil(o.IsSyncInProgress) { var ret bool return ret } @@ -1011,16 +994,16 @@ func (o *LuarocksPackageUpload) GetIsSyncInProgress() bool { // GetIsSyncInProgressOk returns a tuple with the IsSyncInProgress field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *LuarocksPackageUpload) GetIsSyncInProgressOk() (*bool, bool) { - if o == nil || o.IsSyncInProgress == nil { +func (o *RpmPackageUploadResponse) GetIsSyncInProgressOk() (*bool, bool) { + if o == nil || isNil(o.IsSyncInProgress) { return nil, false } return o.IsSyncInProgress, true } // HasIsSyncInProgress returns a boolean if a field has been set. -func (o *LuarocksPackageUpload) HasIsSyncInProgress() bool { - if o != nil && o.IsSyncInProgress != nil { +func (o *RpmPackageUploadResponse) HasIsSyncInProgress() bool { + if o != nil && !isNil(o.IsSyncInProgress) { return true } @@ -1028,13 +1011,13 @@ func (o *LuarocksPackageUpload) HasIsSyncInProgress() bool { } // SetIsSyncInProgress gets a reference to the given bool and assigns it to the IsSyncInProgress field. -func (o *LuarocksPackageUpload) SetIsSyncInProgress(v bool) { +func (o *RpmPackageUploadResponse) SetIsSyncInProgress(v bool) { o.IsSyncInProgress = &v } // GetLicense returns the License field value if set, zero value otherwise. -func (o *LuarocksPackageUpload) GetLicense() string { - if o == nil || o.License == nil { +func (o *RpmPackageUploadResponse) GetLicense() string { + if o == nil || isNil(o.License) { var ret string return ret } @@ -1043,16 +1026,16 @@ func (o *LuarocksPackageUpload) GetLicense() string { // GetLicenseOk returns a tuple with the License field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *LuarocksPackageUpload) GetLicenseOk() (*string, bool) { - if o == nil || o.License == nil { +func (o *RpmPackageUploadResponse) GetLicenseOk() (*string, bool) { + if o == nil || isNil(o.License) { return nil, false } return o.License, true } // HasLicense returns a boolean if a field has been set. -func (o *LuarocksPackageUpload) HasLicense() bool { - if o != nil && o.License != nil { +func (o *RpmPackageUploadResponse) HasLicense() bool { + if o != nil && !isNil(o.License) { return true } @@ -1060,13 +1043,13 @@ func (o *LuarocksPackageUpload) HasLicense() bool { } // SetLicense gets a reference to the given string and assigns it to the License field. -func (o *LuarocksPackageUpload) SetLicense(v string) { +func (o *RpmPackageUploadResponse) SetLicense(v string) { o.License = &v } // GetName returns the Name field value if set, zero value otherwise. -func (o *LuarocksPackageUpload) GetName() string { - if o == nil || o.Name == nil { +func (o *RpmPackageUploadResponse) GetName() string { + if o == nil || isNil(o.Name) { var ret string return ret } @@ -1075,16 +1058,16 @@ func (o *LuarocksPackageUpload) GetName() string { // GetNameOk returns a tuple with the Name field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *LuarocksPackageUpload) GetNameOk() (*string, bool) { - if o == nil || o.Name == nil { +func (o *RpmPackageUploadResponse) GetNameOk() (*string, bool) { + if o == nil || isNil(o.Name) { return nil, false } return o.Name, true } // HasName returns a boolean if a field has been set. -func (o *LuarocksPackageUpload) HasName() bool { - if o != nil && o.Name != nil { +func (o *RpmPackageUploadResponse) HasName() bool { + if o != nil && !isNil(o.Name) { return true } @@ -1092,13 +1075,13 @@ func (o *LuarocksPackageUpload) HasName() bool { } // SetName gets a reference to the given string and assigns it to the Name field. -func (o *LuarocksPackageUpload) SetName(v string) { +func (o *RpmPackageUploadResponse) SetName(v string) { o.Name = &v } // GetNamespace returns the Namespace field value if set, zero value otherwise. -func (o *LuarocksPackageUpload) GetNamespace() string { - if o == nil || o.Namespace == nil { +func (o *RpmPackageUploadResponse) GetNamespace() string { + if o == nil || isNil(o.Namespace) { var ret string return ret } @@ -1107,16 +1090,16 @@ func (o *LuarocksPackageUpload) GetNamespace() string { // GetNamespaceOk returns a tuple with the Namespace field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *LuarocksPackageUpload) GetNamespaceOk() (*string, bool) { - if o == nil || o.Namespace == nil { +func (o *RpmPackageUploadResponse) GetNamespaceOk() (*string, bool) { + if o == nil || isNil(o.Namespace) { return nil, false } return o.Namespace, true } // HasNamespace returns a boolean if a field has been set. -func (o *LuarocksPackageUpload) HasNamespace() bool { - if o != nil && o.Namespace != nil { +func (o *RpmPackageUploadResponse) HasNamespace() bool { + if o != nil && !isNil(o.Namespace) { return true } @@ -1124,13 +1107,13 @@ func (o *LuarocksPackageUpload) HasNamespace() bool { } // SetNamespace gets a reference to the given string and assigns it to the Namespace field. -func (o *LuarocksPackageUpload) SetNamespace(v string) { +func (o *RpmPackageUploadResponse) SetNamespace(v string) { o.Namespace = &v } // GetNamespaceUrl returns the NamespaceUrl field value if set, zero value otherwise. -func (o *LuarocksPackageUpload) GetNamespaceUrl() string { - if o == nil || o.NamespaceUrl == nil { +func (o *RpmPackageUploadResponse) GetNamespaceUrl() string { + if o == nil || isNil(o.NamespaceUrl) { var ret string return ret } @@ -1139,16 +1122,16 @@ func (o *LuarocksPackageUpload) GetNamespaceUrl() string { // GetNamespaceUrlOk returns a tuple with the NamespaceUrl field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *LuarocksPackageUpload) GetNamespaceUrlOk() (*string, bool) { - if o == nil || o.NamespaceUrl == nil { +func (o *RpmPackageUploadResponse) GetNamespaceUrlOk() (*string, bool) { + if o == nil || isNil(o.NamespaceUrl) { return nil, false } return o.NamespaceUrl, true } // HasNamespaceUrl returns a boolean if a field has been set. -func (o *LuarocksPackageUpload) HasNamespaceUrl() bool { - if o != nil && o.NamespaceUrl != nil { +func (o *RpmPackageUploadResponse) HasNamespaceUrl() bool { + if o != nil && !isNil(o.NamespaceUrl) { return true } @@ -1156,13 +1139,13 @@ func (o *LuarocksPackageUpload) HasNamespaceUrl() bool { } // SetNamespaceUrl gets a reference to the given string and assigns it to the NamespaceUrl field. -func (o *LuarocksPackageUpload) SetNamespaceUrl(v string) { +func (o *RpmPackageUploadResponse) SetNamespaceUrl(v string) { o.NamespaceUrl = &v } // GetNumFiles returns the NumFiles field value if set, zero value otherwise. -func (o *LuarocksPackageUpload) GetNumFiles() int64 { - if o == nil || o.NumFiles == nil { +func (o *RpmPackageUploadResponse) GetNumFiles() int64 { + if o == nil || isNil(o.NumFiles) { var ret int64 return ret } @@ -1171,16 +1154,16 @@ func (o *LuarocksPackageUpload) GetNumFiles() int64 { // GetNumFilesOk returns a tuple with the NumFiles field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *LuarocksPackageUpload) GetNumFilesOk() (*int64, bool) { - if o == nil || o.NumFiles == nil { +func (o *RpmPackageUploadResponse) GetNumFilesOk() (*int64, bool) { + if o == nil || isNil(o.NumFiles) { return nil, false } return o.NumFiles, true } // HasNumFiles returns a boolean if a field has been set. -func (o *LuarocksPackageUpload) HasNumFiles() bool { - if o != nil && o.NumFiles != nil { +func (o *RpmPackageUploadResponse) HasNumFiles() bool { + if o != nil && !isNil(o.NumFiles) { return true } @@ -1188,13 +1171,77 @@ func (o *LuarocksPackageUpload) HasNumFiles() bool { } // SetNumFiles gets a reference to the given int64 and assigns it to the NumFiles field. -func (o *LuarocksPackageUpload) SetNumFiles(v int64) { +func (o *RpmPackageUploadResponse) SetNumFiles(v int64) { o.NumFiles = &v } +// GetOriginRepository returns the OriginRepository field value if set, zero value otherwise. +func (o *RpmPackageUploadResponse) GetOriginRepository() string { + if o == nil || isNil(o.OriginRepository) { + var ret string + return ret + } + return *o.OriginRepository +} + +// GetOriginRepositoryOk returns a tuple with the OriginRepository field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *RpmPackageUploadResponse) GetOriginRepositoryOk() (*string, bool) { + if o == nil || isNil(o.OriginRepository) { + return nil, false + } + return o.OriginRepository, true +} + +// HasOriginRepository returns a boolean if a field has been set. +func (o *RpmPackageUploadResponse) HasOriginRepository() bool { + if o != nil && !isNil(o.OriginRepository) { + return true + } + + return false +} + +// SetOriginRepository gets a reference to the given string and assigns it to the OriginRepository field. +func (o *RpmPackageUploadResponse) SetOriginRepository(v string) { + o.OriginRepository = &v +} + +// GetOriginRepositoryUrl returns the OriginRepositoryUrl field value if set, zero value otherwise. +func (o *RpmPackageUploadResponse) GetOriginRepositoryUrl() string { + if o == nil || isNil(o.OriginRepositoryUrl) { + var ret string + return ret + } + return *o.OriginRepositoryUrl +} + +// GetOriginRepositoryUrlOk returns a tuple with the OriginRepositoryUrl field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *RpmPackageUploadResponse) GetOriginRepositoryUrlOk() (*string, bool) { + if o == nil || isNil(o.OriginRepositoryUrl) { + return nil, false + } + return o.OriginRepositoryUrl, true +} + +// HasOriginRepositoryUrl returns a boolean if a field has been set. +func (o *RpmPackageUploadResponse) HasOriginRepositoryUrl() bool { + if o != nil && !isNil(o.OriginRepositoryUrl) { + return true + } + + return false +} + +// SetOriginRepositoryUrl gets a reference to the given string and assigns it to the OriginRepositoryUrl field. +func (o *RpmPackageUploadResponse) SetOriginRepositoryUrl(v string) { + o.OriginRepositoryUrl = &v +} + // GetPackageType returns the PackageType field value if set, zero value otherwise. -func (o *LuarocksPackageUpload) GetPackageType() int64 { - if o == nil || o.PackageType == nil { +func (o *RpmPackageUploadResponse) GetPackageType() int64 { + if o == nil || isNil(o.PackageType) { var ret int64 return ret } @@ -1203,16 +1250,16 @@ func (o *LuarocksPackageUpload) GetPackageType() int64 { // GetPackageTypeOk returns a tuple with the PackageType field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *LuarocksPackageUpload) GetPackageTypeOk() (*int64, bool) { - if o == nil || o.PackageType == nil { +func (o *RpmPackageUploadResponse) GetPackageTypeOk() (*int64, bool) { + if o == nil || isNil(o.PackageType) { return nil, false } return o.PackageType, true } // HasPackageType returns a boolean if a field has been set. -func (o *LuarocksPackageUpload) HasPackageType() bool { - if o != nil && o.PackageType != nil { +func (o *RpmPackageUploadResponse) HasPackageType() bool { + if o != nil && !isNil(o.PackageType) { return true } @@ -1220,13 +1267,13 @@ func (o *LuarocksPackageUpload) HasPackageType() bool { } // SetPackageType gets a reference to the given int64 and assigns it to the PackageType field. -func (o *LuarocksPackageUpload) SetPackageType(v int64) { +func (o *RpmPackageUploadResponse) SetPackageType(v int64) { o.PackageType = &v } // GetRelease returns the Release field value if set, zero value otherwise. -func (o *LuarocksPackageUpload) GetRelease() string { - if o == nil || o.Release == nil { +func (o *RpmPackageUploadResponse) GetRelease() string { + if o == nil || isNil(o.Release) { var ret string return ret } @@ -1235,16 +1282,16 @@ func (o *LuarocksPackageUpload) GetRelease() string { // GetReleaseOk returns a tuple with the Release field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *LuarocksPackageUpload) GetReleaseOk() (*string, bool) { - if o == nil || o.Release == nil { +func (o *RpmPackageUploadResponse) GetReleaseOk() (*string, bool) { + if o == nil || isNil(o.Release) { return nil, false } return o.Release, true } // HasRelease returns a boolean if a field has been set. -func (o *LuarocksPackageUpload) HasRelease() bool { - if o != nil && o.Release != nil { +func (o *RpmPackageUploadResponse) HasRelease() bool { + if o != nil && !isNil(o.Release) { return true } @@ -1252,13 +1299,13 @@ func (o *LuarocksPackageUpload) HasRelease() bool { } // SetRelease gets a reference to the given string and assigns it to the Release field. -func (o *LuarocksPackageUpload) SetRelease(v string) { +func (o *RpmPackageUploadResponse) SetRelease(v string) { o.Release = &v } // GetRepository returns the Repository field value if set, zero value otherwise. -func (o *LuarocksPackageUpload) GetRepository() string { - if o == nil || o.Repository == nil { +func (o *RpmPackageUploadResponse) GetRepository() string { + if o == nil || isNil(o.Repository) { var ret string return ret } @@ -1267,16 +1314,16 @@ func (o *LuarocksPackageUpload) GetRepository() string { // GetRepositoryOk returns a tuple with the Repository field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *LuarocksPackageUpload) GetRepositoryOk() (*string, bool) { - if o == nil || o.Repository == nil { +func (o *RpmPackageUploadResponse) GetRepositoryOk() (*string, bool) { + if o == nil || isNil(o.Repository) { return nil, false } return o.Repository, true } // HasRepository returns a boolean if a field has been set. -func (o *LuarocksPackageUpload) HasRepository() bool { - if o != nil && o.Repository != nil { +func (o *RpmPackageUploadResponse) HasRepository() bool { + if o != nil && !isNil(o.Repository) { return true } @@ -1284,13 +1331,13 @@ func (o *LuarocksPackageUpload) HasRepository() bool { } // SetRepository gets a reference to the given string and assigns it to the Repository field. -func (o *LuarocksPackageUpload) SetRepository(v string) { +func (o *RpmPackageUploadResponse) SetRepository(v string) { o.Repository = &v } // GetRepositoryUrl returns the RepositoryUrl field value if set, zero value otherwise. -func (o *LuarocksPackageUpload) GetRepositoryUrl() string { - if o == nil || o.RepositoryUrl == nil { +func (o *RpmPackageUploadResponse) GetRepositoryUrl() string { + if o == nil || isNil(o.RepositoryUrl) { var ret string return ret } @@ -1299,16 +1346,16 @@ func (o *LuarocksPackageUpload) GetRepositoryUrl() string { // GetRepositoryUrlOk returns a tuple with the RepositoryUrl field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *LuarocksPackageUpload) GetRepositoryUrlOk() (*string, bool) { - if o == nil || o.RepositoryUrl == nil { +func (o *RpmPackageUploadResponse) GetRepositoryUrlOk() (*string, bool) { + if o == nil || isNil(o.RepositoryUrl) { return nil, false } return o.RepositoryUrl, true } // HasRepositoryUrl returns a boolean if a field has been set. -func (o *LuarocksPackageUpload) HasRepositoryUrl() bool { - if o != nil && o.RepositoryUrl != nil { +func (o *RpmPackageUploadResponse) HasRepositoryUrl() bool { + if o != nil && !isNil(o.RepositoryUrl) { return true } @@ -1316,14 +1363,14 @@ func (o *LuarocksPackageUpload) HasRepositoryUrl() bool { } // SetRepositoryUrl gets a reference to the given string and assigns it to the RepositoryUrl field. -func (o *LuarocksPackageUpload) SetRepositoryUrl(v string) { +func (o *RpmPackageUploadResponse) SetRepositoryUrl(v string) { o.RepositoryUrl = &v } // GetSecurityScanCompletedAt returns the SecurityScanCompletedAt field value if set, zero value otherwise. -func (o *LuarocksPackageUpload) GetSecurityScanCompletedAt() string { - if o == nil || o.SecurityScanCompletedAt == nil { - var ret string +func (o *RpmPackageUploadResponse) GetSecurityScanCompletedAt() time.Time { + if o == nil || isNil(o.SecurityScanCompletedAt) { + var ret time.Time return ret } return *o.SecurityScanCompletedAt @@ -1331,31 +1378,31 @@ func (o *LuarocksPackageUpload) GetSecurityScanCompletedAt() string { // GetSecurityScanCompletedAtOk returns a tuple with the SecurityScanCompletedAt field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *LuarocksPackageUpload) GetSecurityScanCompletedAtOk() (*string, bool) { - if o == nil || o.SecurityScanCompletedAt == nil { +func (o *RpmPackageUploadResponse) GetSecurityScanCompletedAtOk() (*time.Time, bool) { + if o == nil || isNil(o.SecurityScanCompletedAt) { return nil, false } return o.SecurityScanCompletedAt, true } // HasSecurityScanCompletedAt returns a boolean if a field has been set. -func (o *LuarocksPackageUpload) HasSecurityScanCompletedAt() bool { - if o != nil && o.SecurityScanCompletedAt != nil { +func (o *RpmPackageUploadResponse) HasSecurityScanCompletedAt() bool { + if o != nil && !isNil(o.SecurityScanCompletedAt) { return true } return false } -// SetSecurityScanCompletedAt gets a reference to the given string and assigns it to the SecurityScanCompletedAt field. -func (o *LuarocksPackageUpload) SetSecurityScanCompletedAt(v string) { +// SetSecurityScanCompletedAt gets a reference to the given time.Time and assigns it to the SecurityScanCompletedAt field. +func (o *RpmPackageUploadResponse) SetSecurityScanCompletedAt(v time.Time) { o.SecurityScanCompletedAt = &v } // GetSecurityScanStartedAt returns the SecurityScanStartedAt field value if set, zero value otherwise. -func (o *LuarocksPackageUpload) GetSecurityScanStartedAt() string { - if o == nil || o.SecurityScanStartedAt == nil { - var ret string +func (o *RpmPackageUploadResponse) GetSecurityScanStartedAt() time.Time { + if o == nil || isNil(o.SecurityScanStartedAt) { + var ret time.Time return ret } return *o.SecurityScanStartedAt @@ -1363,63 +1410,74 @@ func (o *LuarocksPackageUpload) GetSecurityScanStartedAt() string { // GetSecurityScanStartedAtOk returns a tuple with the SecurityScanStartedAt field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *LuarocksPackageUpload) GetSecurityScanStartedAtOk() (*string, bool) { - if o == nil || o.SecurityScanStartedAt == nil { +func (o *RpmPackageUploadResponse) GetSecurityScanStartedAtOk() (*time.Time, bool) { + if o == nil || isNil(o.SecurityScanStartedAt) { return nil, false } return o.SecurityScanStartedAt, true } // HasSecurityScanStartedAt returns a boolean if a field has been set. -func (o *LuarocksPackageUpload) HasSecurityScanStartedAt() bool { - if o != nil && o.SecurityScanStartedAt != nil { +func (o *RpmPackageUploadResponse) HasSecurityScanStartedAt() bool { + if o != nil && !isNil(o.SecurityScanStartedAt) { return true } return false } -// SetSecurityScanStartedAt gets a reference to the given string and assigns it to the SecurityScanStartedAt field. -func (o *LuarocksPackageUpload) SetSecurityScanStartedAt(v string) { +// SetSecurityScanStartedAt gets a reference to the given time.Time and assigns it to the SecurityScanStartedAt field. +func (o *RpmPackageUploadResponse) SetSecurityScanStartedAt(v time.Time) { o.SecurityScanStartedAt = &v } -// GetSecurityScanStatus returns the SecurityScanStatus field value if set, zero value otherwise. -func (o *LuarocksPackageUpload) GetSecurityScanStatus() string { - if o == nil || o.SecurityScanStatus == nil { +// GetSecurityScanStatus returns the SecurityScanStatus field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *RpmPackageUploadResponse) GetSecurityScanStatus() string { + if o == nil || isNil(o.SecurityScanStatus.Get()) { var ret string return ret } - return *o.SecurityScanStatus + return *o.SecurityScanStatus.Get() } // GetSecurityScanStatusOk returns a tuple with the SecurityScanStatus field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *LuarocksPackageUpload) GetSecurityScanStatusOk() (*string, bool) { - if o == nil || o.SecurityScanStatus == nil { +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *RpmPackageUploadResponse) GetSecurityScanStatusOk() (*string, bool) { + if o == nil { return nil, false } - return o.SecurityScanStatus, true + return o.SecurityScanStatus.Get(), o.SecurityScanStatus.IsSet() } // HasSecurityScanStatus returns a boolean if a field has been set. -func (o *LuarocksPackageUpload) HasSecurityScanStatus() bool { - if o != nil && o.SecurityScanStatus != nil { +func (o *RpmPackageUploadResponse) HasSecurityScanStatus() bool { + if o != nil && o.SecurityScanStatus.IsSet() { return true } return false } -// SetSecurityScanStatus gets a reference to the given string and assigns it to the SecurityScanStatus field. -func (o *LuarocksPackageUpload) SetSecurityScanStatus(v string) { - o.SecurityScanStatus = &v +// SetSecurityScanStatus gets a reference to the given NullableString and assigns it to the SecurityScanStatus field. +func (o *RpmPackageUploadResponse) SetSecurityScanStatus(v string) { + o.SecurityScanStatus.Set(&v) +} + +// SetSecurityScanStatusNil sets the value for SecurityScanStatus to be an explicit nil +func (o *RpmPackageUploadResponse) SetSecurityScanStatusNil() { + o.SecurityScanStatus.Set(nil) +} + +// UnsetSecurityScanStatus ensures that no value is present for SecurityScanStatus, not even an explicit nil +func (o *RpmPackageUploadResponse) UnsetSecurityScanStatus() { + o.SecurityScanStatus.Unset() } // GetSecurityScanStatusUpdatedAt returns the SecurityScanStatusUpdatedAt field value if set, zero value otherwise. -func (o *LuarocksPackageUpload) GetSecurityScanStatusUpdatedAt() string { - if o == nil || o.SecurityScanStatusUpdatedAt == nil { - var ret string +func (o *RpmPackageUploadResponse) GetSecurityScanStatusUpdatedAt() time.Time { + if o == nil || isNil(o.SecurityScanStatusUpdatedAt) { + var ret time.Time return ret } return *o.SecurityScanStatusUpdatedAt @@ -1427,30 +1485,30 @@ func (o *LuarocksPackageUpload) GetSecurityScanStatusUpdatedAt() string { // GetSecurityScanStatusUpdatedAtOk returns a tuple with the SecurityScanStatusUpdatedAt field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *LuarocksPackageUpload) GetSecurityScanStatusUpdatedAtOk() (*string, bool) { - if o == nil || o.SecurityScanStatusUpdatedAt == nil { +func (o *RpmPackageUploadResponse) GetSecurityScanStatusUpdatedAtOk() (*time.Time, bool) { + if o == nil || isNil(o.SecurityScanStatusUpdatedAt) { return nil, false } return o.SecurityScanStatusUpdatedAt, true } // HasSecurityScanStatusUpdatedAt returns a boolean if a field has been set. -func (o *LuarocksPackageUpload) HasSecurityScanStatusUpdatedAt() bool { - if o != nil && o.SecurityScanStatusUpdatedAt != nil { +func (o *RpmPackageUploadResponse) HasSecurityScanStatusUpdatedAt() bool { + if o != nil && !isNil(o.SecurityScanStatusUpdatedAt) { return true } return false } -// SetSecurityScanStatusUpdatedAt gets a reference to the given string and assigns it to the SecurityScanStatusUpdatedAt field. -func (o *LuarocksPackageUpload) SetSecurityScanStatusUpdatedAt(v string) { +// SetSecurityScanStatusUpdatedAt gets a reference to the given time.Time and assigns it to the SecurityScanStatusUpdatedAt field. +func (o *RpmPackageUploadResponse) SetSecurityScanStatusUpdatedAt(v time.Time) { o.SecurityScanStatusUpdatedAt = &v } // GetSelfHtmlUrl returns the SelfHtmlUrl field value if set, zero value otherwise. -func (o *LuarocksPackageUpload) GetSelfHtmlUrl() string { - if o == nil || o.SelfHtmlUrl == nil { +func (o *RpmPackageUploadResponse) GetSelfHtmlUrl() string { + if o == nil || isNil(o.SelfHtmlUrl) { var ret string return ret } @@ -1459,16 +1517,16 @@ func (o *LuarocksPackageUpload) GetSelfHtmlUrl() string { // GetSelfHtmlUrlOk returns a tuple with the SelfHtmlUrl field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *LuarocksPackageUpload) GetSelfHtmlUrlOk() (*string, bool) { - if o == nil || o.SelfHtmlUrl == nil { +func (o *RpmPackageUploadResponse) GetSelfHtmlUrlOk() (*string, bool) { + if o == nil || isNil(o.SelfHtmlUrl) { return nil, false } return o.SelfHtmlUrl, true } // HasSelfHtmlUrl returns a boolean if a field has been set. -func (o *LuarocksPackageUpload) HasSelfHtmlUrl() bool { - if o != nil && o.SelfHtmlUrl != nil { +func (o *RpmPackageUploadResponse) HasSelfHtmlUrl() bool { + if o != nil && !isNil(o.SelfHtmlUrl) { return true } @@ -1476,13 +1534,13 @@ func (o *LuarocksPackageUpload) HasSelfHtmlUrl() bool { } // SetSelfHtmlUrl gets a reference to the given string and assigns it to the SelfHtmlUrl field. -func (o *LuarocksPackageUpload) SetSelfHtmlUrl(v string) { +func (o *RpmPackageUploadResponse) SetSelfHtmlUrl(v string) { o.SelfHtmlUrl = &v } // GetSelfUrl returns the SelfUrl field value if set, zero value otherwise. -func (o *LuarocksPackageUpload) GetSelfUrl() string { - if o == nil || o.SelfUrl == nil { +func (o *RpmPackageUploadResponse) GetSelfUrl() string { + if o == nil || isNil(o.SelfUrl) { var ret string return ret } @@ -1491,16 +1549,16 @@ func (o *LuarocksPackageUpload) GetSelfUrl() string { // GetSelfUrlOk returns a tuple with the SelfUrl field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *LuarocksPackageUpload) GetSelfUrlOk() (*string, bool) { - if o == nil || o.SelfUrl == nil { +func (o *RpmPackageUploadResponse) GetSelfUrlOk() (*string, bool) { + if o == nil || isNil(o.SelfUrl) { return nil, false } return o.SelfUrl, true } // HasSelfUrl returns a boolean if a field has been set. -func (o *LuarocksPackageUpload) HasSelfUrl() bool { - if o != nil && o.SelfUrl != nil { +func (o *RpmPackageUploadResponse) HasSelfUrl() bool { + if o != nil && !isNil(o.SelfUrl) { return true } @@ -1508,45 +1566,56 @@ func (o *LuarocksPackageUpload) HasSelfUrl() bool { } // SetSelfUrl gets a reference to the given string and assigns it to the SelfUrl field. -func (o *LuarocksPackageUpload) SetSelfUrl(v string) { +func (o *RpmPackageUploadResponse) SetSelfUrl(v string) { o.SelfUrl = &v } -// GetSignatureUrl returns the SignatureUrl field value if set, zero value otherwise. -func (o *LuarocksPackageUpload) GetSignatureUrl() string { - if o == nil || o.SignatureUrl == nil { +// GetSignatureUrl returns the SignatureUrl field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *RpmPackageUploadResponse) GetSignatureUrl() string { + if o == nil || isNil(o.SignatureUrl.Get()) { var ret string return ret } - return *o.SignatureUrl + return *o.SignatureUrl.Get() } // GetSignatureUrlOk returns a tuple with the SignatureUrl field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *LuarocksPackageUpload) GetSignatureUrlOk() (*string, bool) { - if o == nil || o.SignatureUrl == nil { +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *RpmPackageUploadResponse) GetSignatureUrlOk() (*string, bool) { + if o == nil { return nil, false } - return o.SignatureUrl, true + return o.SignatureUrl.Get(), o.SignatureUrl.IsSet() } // HasSignatureUrl returns a boolean if a field has been set. -func (o *LuarocksPackageUpload) HasSignatureUrl() bool { - if o != nil && o.SignatureUrl != nil { +func (o *RpmPackageUploadResponse) HasSignatureUrl() bool { + if o != nil && o.SignatureUrl.IsSet() { return true } return false } -// SetSignatureUrl gets a reference to the given string and assigns it to the SignatureUrl field. -func (o *LuarocksPackageUpload) SetSignatureUrl(v string) { - o.SignatureUrl = &v +// SetSignatureUrl gets a reference to the given NullableString and assigns it to the SignatureUrl field. +func (o *RpmPackageUploadResponse) SetSignatureUrl(v string) { + o.SignatureUrl.Set(&v) +} + +// SetSignatureUrlNil sets the value for SignatureUrl to be an explicit nil +func (o *RpmPackageUploadResponse) SetSignatureUrlNil() { + o.SignatureUrl.Set(nil) +} + +// UnsetSignatureUrl ensures that no value is present for SignatureUrl, not even an explicit nil +func (o *RpmPackageUploadResponse) UnsetSignatureUrl() { + o.SignatureUrl.Unset() } // GetSize returns the Size field value if set, zero value otherwise. -func (o *LuarocksPackageUpload) GetSize() int64 { - if o == nil || o.Size == nil { +func (o *RpmPackageUploadResponse) GetSize() int64 { + if o == nil || isNil(o.Size) { var ret int64 return ret } @@ -1555,16 +1624,16 @@ func (o *LuarocksPackageUpload) GetSize() int64 { // GetSizeOk returns a tuple with the Size field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *LuarocksPackageUpload) GetSizeOk() (*int64, bool) { - if o == nil || o.Size == nil { +func (o *RpmPackageUploadResponse) GetSizeOk() (*int64, bool) { + if o == nil || isNil(o.Size) { return nil, false } return o.Size, true } // HasSize returns a boolean if a field has been set. -func (o *LuarocksPackageUpload) HasSize() bool { - if o != nil && o.Size != nil { +func (o *RpmPackageUploadResponse) HasSize() bool { + if o != nil && !isNil(o.Size) { return true } @@ -1572,13 +1641,13 @@ func (o *LuarocksPackageUpload) HasSize() bool { } // SetSize gets a reference to the given int64 and assigns it to the Size field. -func (o *LuarocksPackageUpload) SetSize(v int64) { +func (o *RpmPackageUploadResponse) SetSize(v int64) { o.Size = &v } // GetSlug returns the Slug field value if set, zero value otherwise. -func (o *LuarocksPackageUpload) GetSlug() string { - if o == nil || o.Slug == nil { +func (o *RpmPackageUploadResponse) GetSlug() string { + if o == nil || isNil(o.Slug) { var ret string return ret } @@ -1587,16 +1656,16 @@ func (o *LuarocksPackageUpload) GetSlug() string { // GetSlugOk returns a tuple with the Slug field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *LuarocksPackageUpload) GetSlugOk() (*string, bool) { - if o == nil || o.Slug == nil { +func (o *RpmPackageUploadResponse) GetSlugOk() (*string, bool) { + if o == nil || isNil(o.Slug) { return nil, false } return o.Slug, true } // HasSlug returns a boolean if a field has been set. -func (o *LuarocksPackageUpload) HasSlug() bool { - if o != nil && o.Slug != nil { +func (o *RpmPackageUploadResponse) HasSlug() bool { + if o != nil && !isNil(o.Slug) { return true } @@ -1604,13 +1673,13 @@ func (o *LuarocksPackageUpload) HasSlug() bool { } // SetSlug gets a reference to the given string and assigns it to the Slug field. -func (o *LuarocksPackageUpload) SetSlug(v string) { +func (o *RpmPackageUploadResponse) SetSlug(v string) { o.Slug = &v } // GetSlugPerm returns the SlugPerm field value if set, zero value otherwise. -func (o *LuarocksPackageUpload) GetSlugPerm() string { - if o == nil || o.SlugPerm == nil { +func (o *RpmPackageUploadResponse) GetSlugPerm() string { + if o == nil || isNil(o.SlugPerm) { var ret string return ret } @@ -1619,16 +1688,16 @@ func (o *LuarocksPackageUpload) GetSlugPerm() string { // GetSlugPermOk returns a tuple with the SlugPerm field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *LuarocksPackageUpload) GetSlugPermOk() (*string, bool) { - if o == nil || o.SlugPerm == nil { +func (o *RpmPackageUploadResponse) GetSlugPermOk() (*string, bool) { + if o == nil || isNil(o.SlugPerm) { return nil, false } return o.SlugPerm, true } // HasSlugPerm returns a boolean if a field has been set. -func (o *LuarocksPackageUpload) HasSlugPerm() bool { - if o != nil && o.SlugPerm != nil { +func (o *RpmPackageUploadResponse) HasSlugPerm() bool { + if o != nil && !isNil(o.SlugPerm) { return true } @@ -1636,13 +1705,13 @@ func (o *LuarocksPackageUpload) HasSlugPerm() bool { } // SetSlugPerm gets a reference to the given string and assigns it to the SlugPerm field. -func (o *LuarocksPackageUpload) SetSlugPerm(v string) { +func (o *RpmPackageUploadResponse) SetSlugPerm(v string) { o.SlugPerm = &v } // GetStage returns the Stage field value if set, zero value otherwise. -func (o *LuarocksPackageUpload) GetStage() int64 { - if o == nil || o.Stage == nil { +func (o *RpmPackageUploadResponse) GetStage() int64 { + if o == nil || isNil(o.Stage) { var ret int64 return ret } @@ -1651,16 +1720,16 @@ func (o *LuarocksPackageUpload) GetStage() int64 { // GetStageOk returns a tuple with the Stage field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *LuarocksPackageUpload) GetStageOk() (*int64, bool) { - if o == nil || o.Stage == nil { +func (o *RpmPackageUploadResponse) GetStageOk() (*int64, bool) { + if o == nil || isNil(o.Stage) { return nil, false } return o.Stage, true } // HasStage returns a boolean if a field has been set. -func (o *LuarocksPackageUpload) HasStage() bool { - if o != nil && o.Stage != nil { +func (o *RpmPackageUploadResponse) HasStage() bool { + if o != nil && !isNil(o.Stage) { return true } @@ -1668,13 +1737,13 @@ func (o *LuarocksPackageUpload) HasStage() bool { } // SetStage gets a reference to the given int64 and assigns it to the Stage field. -func (o *LuarocksPackageUpload) SetStage(v int64) { +func (o *RpmPackageUploadResponse) SetStage(v int64) { o.Stage = &v } // GetStageStr returns the StageStr field value if set, zero value otherwise. -func (o *LuarocksPackageUpload) GetStageStr() string { - if o == nil || o.StageStr == nil { +func (o *RpmPackageUploadResponse) GetStageStr() string { + if o == nil || isNil(o.StageStr) { var ret string return ret } @@ -1683,16 +1752,16 @@ func (o *LuarocksPackageUpload) GetStageStr() string { // GetStageStrOk returns a tuple with the StageStr field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *LuarocksPackageUpload) GetStageStrOk() (*string, bool) { - if o == nil || o.StageStr == nil { +func (o *RpmPackageUploadResponse) GetStageStrOk() (*string, bool) { + if o == nil || isNil(o.StageStr) { return nil, false } return o.StageStr, true } // HasStageStr returns a boolean if a field has been set. -func (o *LuarocksPackageUpload) HasStageStr() bool { - if o != nil && o.StageStr != nil { +func (o *RpmPackageUploadResponse) HasStageStr() bool { + if o != nil && !isNil(o.StageStr) { return true } @@ -1700,14 +1769,14 @@ func (o *LuarocksPackageUpload) HasStageStr() bool { } // SetStageStr gets a reference to the given string and assigns it to the StageStr field. -func (o *LuarocksPackageUpload) SetStageStr(v string) { +func (o *RpmPackageUploadResponse) SetStageStr(v string) { o.StageStr = &v } // GetStageUpdatedAt returns the StageUpdatedAt field value if set, zero value otherwise. -func (o *LuarocksPackageUpload) GetStageUpdatedAt() string { - if o == nil || o.StageUpdatedAt == nil { - var ret string +func (o *RpmPackageUploadResponse) GetStageUpdatedAt() time.Time { + if o == nil || isNil(o.StageUpdatedAt) { + var ret time.Time return ret } return *o.StageUpdatedAt @@ -1715,30 +1784,30 @@ func (o *LuarocksPackageUpload) GetStageUpdatedAt() string { // GetStageUpdatedAtOk returns a tuple with the StageUpdatedAt field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *LuarocksPackageUpload) GetStageUpdatedAtOk() (*string, bool) { - if o == nil || o.StageUpdatedAt == nil { +func (o *RpmPackageUploadResponse) GetStageUpdatedAtOk() (*time.Time, bool) { + if o == nil || isNil(o.StageUpdatedAt) { return nil, false } return o.StageUpdatedAt, true } // HasStageUpdatedAt returns a boolean if a field has been set. -func (o *LuarocksPackageUpload) HasStageUpdatedAt() bool { - if o != nil && o.StageUpdatedAt != nil { +func (o *RpmPackageUploadResponse) HasStageUpdatedAt() bool { + if o != nil && !isNil(o.StageUpdatedAt) { return true } return false } -// SetStageUpdatedAt gets a reference to the given string and assigns it to the StageUpdatedAt field. -func (o *LuarocksPackageUpload) SetStageUpdatedAt(v string) { +// SetStageUpdatedAt gets a reference to the given time.Time and assigns it to the StageUpdatedAt field. +func (o *RpmPackageUploadResponse) SetStageUpdatedAt(v time.Time) { o.StageUpdatedAt = &v } // GetStatus returns the Status field value if set, zero value otherwise. -func (o *LuarocksPackageUpload) GetStatus() int64 { - if o == nil || o.Status == nil { +func (o *RpmPackageUploadResponse) GetStatus() int64 { + if o == nil || isNil(o.Status) { var ret int64 return ret } @@ -1747,16 +1816,16 @@ func (o *LuarocksPackageUpload) GetStatus() int64 { // GetStatusOk returns a tuple with the Status field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *LuarocksPackageUpload) GetStatusOk() (*int64, bool) { - if o == nil || o.Status == nil { +func (o *RpmPackageUploadResponse) GetStatusOk() (*int64, bool) { + if o == nil || isNil(o.Status) { return nil, false } return o.Status, true } // HasStatus returns a boolean if a field has been set. -func (o *LuarocksPackageUpload) HasStatus() bool { - if o != nil && o.Status != nil { +func (o *RpmPackageUploadResponse) HasStatus() bool { + if o != nil && !isNil(o.Status) { return true } @@ -1764,13 +1833,13 @@ func (o *LuarocksPackageUpload) HasStatus() bool { } // SetStatus gets a reference to the given int64 and assigns it to the Status field. -func (o *LuarocksPackageUpload) SetStatus(v int64) { +func (o *RpmPackageUploadResponse) SetStatus(v int64) { o.Status = &v } // GetStatusReason returns the StatusReason field value if set, zero value otherwise. -func (o *LuarocksPackageUpload) GetStatusReason() string { - if o == nil || o.StatusReason == nil { +func (o *RpmPackageUploadResponse) GetStatusReason() string { + if o == nil || isNil(o.StatusReason) { var ret string return ret } @@ -1779,16 +1848,16 @@ func (o *LuarocksPackageUpload) GetStatusReason() string { // GetStatusReasonOk returns a tuple with the StatusReason field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *LuarocksPackageUpload) GetStatusReasonOk() (*string, bool) { - if o == nil || o.StatusReason == nil { +func (o *RpmPackageUploadResponse) GetStatusReasonOk() (*string, bool) { + if o == nil || isNil(o.StatusReason) { return nil, false } return o.StatusReason, true } // HasStatusReason returns a boolean if a field has been set. -func (o *LuarocksPackageUpload) HasStatusReason() bool { - if o != nil && o.StatusReason != nil { +func (o *RpmPackageUploadResponse) HasStatusReason() bool { + if o != nil && !isNil(o.StatusReason) { return true } @@ -1796,13 +1865,13 @@ func (o *LuarocksPackageUpload) HasStatusReason() bool { } // SetStatusReason gets a reference to the given string and assigns it to the StatusReason field. -func (o *LuarocksPackageUpload) SetStatusReason(v string) { +func (o *RpmPackageUploadResponse) SetStatusReason(v string) { o.StatusReason = &v } // GetStatusStr returns the StatusStr field value if set, zero value otherwise. -func (o *LuarocksPackageUpload) GetStatusStr() string { - if o == nil || o.StatusStr == nil { +func (o *RpmPackageUploadResponse) GetStatusStr() string { + if o == nil || isNil(o.StatusStr) { var ret string return ret } @@ -1811,16 +1880,16 @@ func (o *LuarocksPackageUpload) GetStatusStr() string { // GetStatusStrOk returns a tuple with the StatusStr field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *LuarocksPackageUpload) GetStatusStrOk() (*string, bool) { - if o == nil || o.StatusStr == nil { +func (o *RpmPackageUploadResponse) GetStatusStrOk() (*string, bool) { + if o == nil || isNil(o.StatusStr) { return nil, false } return o.StatusStr, true } // HasStatusStr returns a boolean if a field has been set. -func (o *LuarocksPackageUpload) HasStatusStr() bool { - if o != nil && o.StatusStr != nil { +func (o *RpmPackageUploadResponse) HasStatusStr() bool { + if o != nil && !isNil(o.StatusStr) { return true } @@ -1828,14 +1897,14 @@ func (o *LuarocksPackageUpload) HasStatusStr() bool { } // SetStatusStr gets a reference to the given string and assigns it to the StatusStr field. -func (o *LuarocksPackageUpload) SetStatusStr(v string) { +func (o *RpmPackageUploadResponse) SetStatusStr(v string) { o.StatusStr = &v } // GetStatusUpdatedAt returns the StatusUpdatedAt field value if set, zero value otherwise. -func (o *LuarocksPackageUpload) GetStatusUpdatedAt() string { - if o == nil || o.StatusUpdatedAt == nil { - var ret string +func (o *RpmPackageUploadResponse) GetStatusUpdatedAt() time.Time { + if o == nil || isNil(o.StatusUpdatedAt) { + var ret time.Time return ret } return *o.StatusUpdatedAt @@ -1843,30 +1912,30 @@ func (o *LuarocksPackageUpload) GetStatusUpdatedAt() string { // GetStatusUpdatedAtOk returns a tuple with the StatusUpdatedAt field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *LuarocksPackageUpload) GetStatusUpdatedAtOk() (*string, bool) { - if o == nil || o.StatusUpdatedAt == nil { +func (o *RpmPackageUploadResponse) GetStatusUpdatedAtOk() (*time.Time, bool) { + if o == nil || isNil(o.StatusUpdatedAt) { return nil, false } return o.StatusUpdatedAt, true } // HasStatusUpdatedAt returns a boolean if a field has been set. -func (o *LuarocksPackageUpload) HasStatusUpdatedAt() bool { - if o != nil && o.StatusUpdatedAt != nil { +func (o *RpmPackageUploadResponse) HasStatusUpdatedAt() bool { + if o != nil && !isNil(o.StatusUpdatedAt) { return true } return false } -// SetStatusUpdatedAt gets a reference to the given string and assigns it to the StatusUpdatedAt field. -func (o *LuarocksPackageUpload) SetStatusUpdatedAt(v string) { +// SetStatusUpdatedAt gets a reference to the given time.Time and assigns it to the StatusUpdatedAt field. +func (o *RpmPackageUploadResponse) SetStatusUpdatedAt(v time.Time) { o.StatusUpdatedAt = &v } // GetStatusUrl returns the StatusUrl field value if set, zero value otherwise. -func (o *LuarocksPackageUpload) GetStatusUrl() string { - if o == nil || o.StatusUrl == nil { +func (o *RpmPackageUploadResponse) GetStatusUrl() string { + if o == nil || isNil(o.StatusUrl) { var ret string return ret } @@ -1875,16 +1944,16 @@ func (o *LuarocksPackageUpload) GetStatusUrl() string { // GetStatusUrlOk returns a tuple with the StatusUrl field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *LuarocksPackageUpload) GetStatusUrlOk() (*string, bool) { - if o == nil || o.StatusUrl == nil { +func (o *RpmPackageUploadResponse) GetStatusUrlOk() (*string, bool) { + if o == nil || isNil(o.StatusUrl) { return nil, false } return o.StatusUrl, true } // HasStatusUrl returns a boolean if a field has been set. -func (o *LuarocksPackageUpload) HasStatusUrl() bool { - if o != nil && o.StatusUrl != nil { +func (o *RpmPackageUploadResponse) HasStatusUrl() bool { + if o != nil && !isNil(o.StatusUrl) { return true } @@ -1892,13 +1961,13 @@ func (o *LuarocksPackageUpload) HasStatusUrl() bool { } // SetStatusUrl gets a reference to the given string and assigns it to the StatusUrl field. -func (o *LuarocksPackageUpload) SetStatusUrl(v string) { +func (o *RpmPackageUploadResponse) SetStatusUrl(v string) { o.StatusUrl = &v } // GetSubtype returns the Subtype field value if set, zero value otherwise. -func (o *LuarocksPackageUpload) GetSubtype() string { - if o == nil || o.Subtype == nil { +func (o *RpmPackageUploadResponse) GetSubtype() string { + if o == nil || isNil(o.Subtype) { var ret string return ret } @@ -1907,16 +1976,16 @@ func (o *LuarocksPackageUpload) GetSubtype() string { // GetSubtypeOk returns a tuple with the Subtype field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *LuarocksPackageUpload) GetSubtypeOk() (*string, bool) { - if o == nil || o.Subtype == nil { +func (o *RpmPackageUploadResponse) GetSubtypeOk() (*string, bool) { + if o == nil || isNil(o.Subtype) { return nil, false } return o.Subtype, true } // HasSubtype returns a boolean if a field has been set. -func (o *LuarocksPackageUpload) HasSubtype() bool { - if o != nil && o.Subtype != nil { +func (o *RpmPackageUploadResponse) HasSubtype() bool { + if o != nil && !isNil(o.Subtype) { return true } @@ -1924,13 +1993,13 @@ func (o *LuarocksPackageUpload) HasSubtype() bool { } // SetSubtype gets a reference to the given string and assigns it to the Subtype field. -func (o *LuarocksPackageUpload) SetSubtype(v string) { +func (o *RpmPackageUploadResponse) SetSubtype(v string) { o.Subtype = &v } // GetSummary returns the Summary field value if set, zero value otherwise. -func (o *LuarocksPackageUpload) GetSummary() string { - if o == nil || o.Summary == nil { +func (o *RpmPackageUploadResponse) GetSummary() string { + if o == nil || isNil(o.Summary) { var ret string return ret } @@ -1939,16 +2008,16 @@ func (o *LuarocksPackageUpload) GetSummary() string { // GetSummaryOk returns a tuple with the Summary field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *LuarocksPackageUpload) GetSummaryOk() (*string, bool) { - if o == nil || o.Summary == nil { +func (o *RpmPackageUploadResponse) GetSummaryOk() (*string, bool) { + if o == nil || isNil(o.Summary) { return nil, false } return o.Summary, true } // HasSummary returns a boolean if a field has been set. -func (o *LuarocksPackageUpload) HasSummary() bool { - if o != nil && o.Summary != nil { +func (o *RpmPackageUploadResponse) HasSummary() bool { + if o != nil && !isNil(o.Summary) { return true } @@ -1956,14 +2025,14 @@ func (o *LuarocksPackageUpload) HasSummary() bool { } // SetSummary gets a reference to the given string and assigns it to the Summary field. -func (o *LuarocksPackageUpload) SetSummary(v string) { +func (o *RpmPackageUploadResponse) SetSummary(v string) { o.Summary = &v } // GetSyncFinishedAt returns the SyncFinishedAt field value if set, zero value otherwise. -func (o *LuarocksPackageUpload) GetSyncFinishedAt() string { - if o == nil || o.SyncFinishedAt == nil { - var ret string +func (o *RpmPackageUploadResponse) GetSyncFinishedAt() time.Time { + if o == nil || isNil(o.SyncFinishedAt) { + var ret time.Time return ret } return *o.SyncFinishedAt @@ -1971,30 +2040,30 @@ func (o *LuarocksPackageUpload) GetSyncFinishedAt() string { // GetSyncFinishedAtOk returns a tuple with the SyncFinishedAt field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *LuarocksPackageUpload) GetSyncFinishedAtOk() (*string, bool) { - if o == nil || o.SyncFinishedAt == nil { +func (o *RpmPackageUploadResponse) GetSyncFinishedAtOk() (*time.Time, bool) { + if o == nil || isNil(o.SyncFinishedAt) { return nil, false } return o.SyncFinishedAt, true } // HasSyncFinishedAt returns a boolean if a field has been set. -func (o *LuarocksPackageUpload) HasSyncFinishedAt() bool { - if o != nil && o.SyncFinishedAt != nil { +func (o *RpmPackageUploadResponse) HasSyncFinishedAt() bool { + if o != nil && !isNil(o.SyncFinishedAt) { return true } return false } -// SetSyncFinishedAt gets a reference to the given string and assigns it to the SyncFinishedAt field. -func (o *LuarocksPackageUpload) SetSyncFinishedAt(v string) { +// SetSyncFinishedAt gets a reference to the given time.Time and assigns it to the SyncFinishedAt field. +func (o *RpmPackageUploadResponse) SetSyncFinishedAt(v time.Time) { o.SyncFinishedAt = &v } // GetSyncProgress returns the SyncProgress field value if set, zero value otherwise. -func (o *LuarocksPackageUpload) GetSyncProgress() int64 { - if o == nil || o.SyncProgress == nil { +func (o *RpmPackageUploadResponse) GetSyncProgress() int64 { + if o == nil || isNil(o.SyncProgress) { var ret int64 return ret } @@ -2003,16 +2072,16 @@ func (o *LuarocksPackageUpload) GetSyncProgress() int64 { // GetSyncProgressOk returns a tuple with the SyncProgress field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *LuarocksPackageUpload) GetSyncProgressOk() (*int64, bool) { - if o == nil || o.SyncProgress == nil { +func (o *RpmPackageUploadResponse) GetSyncProgressOk() (*int64, bool) { + if o == nil || isNil(o.SyncProgress) { return nil, false } return o.SyncProgress, true } // HasSyncProgress returns a boolean if a field has been set. -func (o *LuarocksPackageUpload) HasSyncProgress() bool { - if o != nil && o.SyncProgress != nil { +func (o *RpmPackageUploadResponse) HasSyncProgress() bool { + if o != nil && !isNil(o.SyncProgress) { return true } @@ -2020,13 +2089,13 @@ func (o *LuarocksPackageUpload) HasSyncProgress() bool { } // SetSyncProgress gets a reference to the given int64 and assigns it to the SyncProgress field. -func (o *LuarocksPackageUpload) SetSyncProgress(v int64) { +func (o *RpmPackageUploadResponse) SetSyncProgress(v int64) { o.SyncProgress = &v } // GetTagsImmutable returns the TagsImmutable field value if set, zero value otherwise. -func (o *LuarocksPackageUpload) GetTagsImmutable() map[string]interface{} { - if o == nil || o.TagsImmutable == nil { +func (o *RpmPackageUploadResponse) GetTagsImmutable() map[string]interface{} { + if o == nil || isNil(o.TagsImmutable) { var ret map[string]interface{} return ret } @@ -2035,16 +2104,16 @@ func (o *LuarocksPackageUpload) GetTagsImmutable() map[string]interface{} { // GetTagsImmutableOk returns a tuple with the TagsImmutable field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *LuarocksPackageUpload) GetTagsImmutableOk() (map[string]interface{}, bool) { - if o == nil || o.TagsImmutable == nil { - return nil, false +func (o *RpmPackageUploadResponse) GetTagsImmutableOk() (map[string]interface{}, bool) { + if o == nil || isNil(o.TagsImmutable) { + return map[string]interface{}{}, false } return o.TagsImmutable, true } // HasTagsImmutable returns a boolean if a field has been set. -func (o *LuarocksPackageUpload) HasTagsImmutable() bool { - if o != nil && o.TagsImmutable != nil { +func (o *RpmPackageUploadResponse) HasTagsImmutable() bool { + if o != nil && !isNil(o.TagsImmutable) { return true } @@ -2052,13 +2121,13 @@ func (o *LuarocksPackageUpload) HasTagsImmutable() bool { } // SetTagsImmutable gets a reference to the given map[string]interface{} and assigns it to the TagsImmutable field. -func (o *LuarocksPackageUpload) SetTagsImmutable(v map[string]interface{}) { +func (o *RpmPackageUploadResponse) SetTagsImmutable(v map[string]interface{}) { o.TagsImmutable = v } // GetTypeDisplay returns the TypeDisplay field value if set, zero value otherwise. -func (o *LuarocksPackageUpload) GetTypeDisplay() string { - if o == nil || o.TypeDisplay == nil { +func (o *RpmPackageUploadResponse) GetTypeDisplay() string { + if o == nil || isNil(o.TypeDisplay) { var ret string return ret } @@ -2067,16 +2136,16 @@ func (o *LuarocksPackageUpload) GetTypeDisplay() string { // GetTypeDisplayOk returns a tuple with the TypeDisplay field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *LuarocksPackageUpload) GetTypeDisplayOk() (*string, bool) { - if o == nil || o.TypeDisplay == nil { +func (o *RpmPackageUploadResponse) GetTypeDisplayOk() (*string, bool) { + if o == nil || isNil(o.TypeDisplay) { return nil, false } return o.TypeDisplay, true } // HasTypeDisplay returns a boolean if a field has been set. -func (o *LuarocksPackageUpload) HasTypeDisplay() bool { - if o != nil && o.TypeDisplay != nil { +func (o *RpmPackageUploadResponse) HasTypeDisplay() bool { + if o != nil && !isNil(o.TypeDisplay) { return true } @@ -2084,14 +2153,14 @@ func (o *LuarocksPackageUpload) HasTypeDisplay() bool { } // SetTypeDisplay gets a reference to the given string and assigns it to the TypeDisplay field. -func (o *LuarocksPackageUpload) SetTypeDisplay(v string) { +func (o *RpmPackageUploadResponse) SetTypeDisplay(v string) { o.TypeDisplay = &v } // GetUploadedAt returns the UploadedAt field value if set, zero value otherwise. -func (o *LuarocksPackageUpload) GetUploadedAt() string { - if o == nil || o.UploadedAt == nil { - var ret string +func (o *RpmPackageUploadResponse) GetUploadedAt() time.Time { + if o == nil || isNil(o.UploadedAt) { + var ret time.Time return ret } return *o.UploadedAt @@ -2099,30 +2168,30 @@ func (o *LuarocksPackageUpload) GetUploadedAt() string { // GetUploadedAtOk returns a tuple with the UploadedAt field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *LuarocksPackageUpload) GetUploadedAtOk() (*string, bool) { - if o == nil || o.UploadedAt == nil { +func (o *RpmPackageUploadResponse) GetUploadedAtOk() (*time.Time, bool) { + if o == nil || isNil(o.UploadedAt) { return nil, false } return o.UploadedAt, true } // HasUploadedAt returns a boolean if a field has been set. -func (o *LuarocksPackageUpload) HasUploadedAt() bool { - if o != nil && o.UploadedAt != nil { +func (o *RpmPackageUploadResponse) HasUploadedAt() bool { + if o != nil && !isNil(o.UploadedAt) { return true } return false } -// SetUploadedAt gets a reference to the given string and assigns it to the UploadedAt field. -func (o *LuarocksPackageUpload) SetUploadedAt(v string) { +// SetUploadedAt gets a reference to the given time.Time and assigns it to the UploadedAt field. +func (o *RpmPackageUploadResponse) SetUploadedAt(v time.Time) { o.UploadedAt = &v } // GetUploader returns the Uploader field value if set, zero value otherwise. -func (o *LuarocksPackageUpload) GetUploader() string { - if o == nil || o.Uploader == nil { +func (o *RpmPackageUploadResponse) GetUploader() string { + if o == nil || isNil(o.Uploader) { var ret string return ret } @@ -2131,16 +2200,16 @@ func (o *LuarocksPackageUpload) GetUploader() string { // GetUploaderOk returns a tuple with the Uploader field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *LuarocksPackageUpload) GetUploaderOk() (*string, bool) { - if o == nil || o.Uploader == nil { +func (o *RpmPackageUploadResponse) GetUploaderOk() (*string, bool) { + if o == nil || isNil(o.Uploader) { return nil, false } return o.Uploader, true } // HasUploader returns a boolean if a field has been set. -func (o *LuarocksPackageUpload) HasUploader() bool { - if o != nil && o.Uploader != nil { +func (o *RpmPackageUploadResponse) HasUploader() bool { + if o != nil && !isNil(o.Uploader) { return true } @@ -2148,13 +2217,13 @@ func (o *LuarocksPackageUpload) HasUploader() bool { } // SetUploader gets a reference to the given string and assigns it to the Uploader field. -func (o *LuarocksPackageUpload) SetUploader(v string) { +func (o *RpmPackageUploadResponse) SetUploader(v string) { o.Uploader = &v } // GetUploaderUrl returns the UploaderUrl field value if set, zero value otherwise. -func (o *LuarocksPackageUpload) GetUploaderUrl() string { - if o == nil || o.UploaderUrl == nil { +func (o *RpmPackageUploadResponse) GetUploaderUrl() string { + if o == nil || isNil(o.UploaderUrl) { var ret string return ret } @@ -2163,16 +2232,16 @@ func (o *LuarocksPackageUpload) GetUploaderUrl() string { // GetUploaderUrlOk returns a tuple with the UploaderUrl field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *LuarocksPackageUpload) GetUploaderUrlOk() (*string, bool) { - if o == nil || o.UploaderUrl == nil { +func (o *RpmPackageUploadResponse) GetUploaderUrlOk() (*string, bool) { + if o == nil || isNil(o.UploaderUrl) { return nil, false } return o.UploaderUrl, true } // HasUploaderUrl returns a boolean if a field has been set. -func (o *LuarocksPackageUpload) HasUploaderUrl() bool { - if o != nil && o.UploaderUrl != nil { +func (o *RpmPackageUploadResponse) HasUploaderUrl() bool { + if o != nil && !isNil(o.UploaderUrl) { return true } @@ -2180,13 +2249,13 @@ func (o *LuarocksPackageUpload) HasUploaderUrl() bool { } // SetUploaderUrl gets a reference to the given string and assigns it to the UploaderUrl field. -func (o *LuarocksPackageUpload) SetUploaderUrl(v string) { +func (o *RpmPackageUploadResponse) SetUploaderUrl(v string) { o.UploaderUrl = &v } // GetVersion returns the Version field value if set, zero value otherwise. -func (o *LuarocksPackageUpload) GetVersion() string { - if o == nil || o.Version == nil { +func (o *RpmPackageUploadResponse) GetVersion() string { + if o == nil || isNil(o.Version) { var ret string return ret } @@ -2195,16 +2264,16 @@ func (o *LuarocksPackageUpload) GetVersion() string { // GetVersionOk returns a tuple with the Version field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *LuarocksPackageUpload) GetVersionOk() (*string, bool) { - if o == nil || o.Version == nil { +func (o *RpmPackageUploadResponse) GetVersionOk() (*string, bool) { + if o == nil || isNil(o.Version) { return nil, false } return o.Version, true } // HasVersion returns a boolean if a field has been set. -func (o *LuarocksPackageUpload) HasVersion() bool { - if o != nil && o.Version != nil { +func (o *RpmPackageUploadResponse) HasVersion() bool { + if o != nil && !isNil(o.Version) { return true } @@ -2212,13 +2281,13 @@ func (o *LuarocksPackageUpload) HasVersion() bool { } // SetVersion gets a reference to the given string and assigns it to the Version field. -func (o *LuarocksPackageUpload) SetVersion(v string) { +func (o *RpmPackageUploadResponse) SetVersion(v string) { o.Version = &v } // GetVersionOrig returns the VersionOrig field value if set, zero value otherwise. -func (o *LuarocksPackageUpload) GetVersionOrig() string { - if o == nil || o.VersionOrig == nil { +func (o *RpmPackageUploadResponse) GetVersionOrig() string { + if o == nil || isNil(o.VersionOrig) { var ret string return ret } @@ -2227,16 +2296,16 @@ func (o *LuarocksPackageUpload) GetVersionOrig() string { // GetVersionOrigOk returns a tuple with the VersionOrig field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *LuarocksPackageUpload) GetVersionOrigOk() (*string, bool) { - if o == nil || o.VersionOrig == nil { +func (o *RpmPackageUploadResponse) GetVersionOrigOk() (*string, bool) { + if o == nil || isNil(o.VersionOrig) { return nil, false } return o.VersionOrig, true } // HasVersionOrig returns a boolean if a field has been set. -func (o *LuarocksPackageUpload) HasVersionOrig() bool { - if o != nil && o.VersionOrig != nil { +func (o *RpmPackageUploadResponse) HasVersionOrig() bool { + if o != nil && !isNil(o.VersionOrig) { return true } @@ -2244,13 +2313,13 @@ func (o *LuarocksPackageUpload) HasVersionOrig() bool { } // SetVersionOrig gets a reference to the given string and assigns it to the VersionOrig field. -func (o *LuarocksPackageUpload) SetVersionOrig(v string) { +func (o *RpmPackageUploadResponse) SetVersionOrig(v string) { o.VersionOrig = &v } // GetVulnerabilityScanResultsUrl returns the VulnerabilityScanResultsUrl field value if set, zero value otherwise. -func (o *LuarocksPackageUpload) GetVulnerabilityScanResultsUrl() string { - if o == nil || o.VulnerabilityScanResultsUrl == nil { +func (o *RpmPackageUploadResponse) GetVulnerabilityScanResultsUrl() string { + if o == nil || isNil(o.VulnerabilityScanResultsUrl) { var ret string return ret } @@ -2259,16 +2328,16 @@ func (o *LuarocksPackageUpload) GetVulnerabilityScanResultsUrl() string { // GetVulnerabilityScanResultsUrlOk returns a tuple with the VulnerabilityScanResultsUrl field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *LuarocksPackageUpload) GetVulnerabilityScanResultsUrlOk() (*string, bool) { - if o == nil || o.VulnerabilityScanResultsUrl == nil { +func (o *RpmPackageUploadResponse) GetVulnerabilityScanResultsUrlOk() (*string, bool) { + if o == nil || isNil(o.VulnerabilityScanResultsUrl) { return nil, false } return o.VulnerabilityScanResultsUrl, true } // HasVulnerabilityScanResultsUrl returns a boolean if a field has been set. -func (o *LuarocksPackageUpload) HasVulnerabilityScanResultsUrl() bool { - if o != nil && o.VulnerabilityScanResultsUrl != nil { +func (o *RpmPackageUploadResponse) HasVulnerabilityScanResultsUrl() bool { + if o != nil && !isNil(o.VulnerabilityScanResultsUrl) { return true } @@ -2276,245 +2345,251 @@ func (o *LuarocksPackageUpload) HasVulnerabilityScanResultsUrl() bool { } // SetVulnerabilityScanResultsUrl gets a reference to the given string and assigns it to the VulnerabilityScanResultsUrl field. -func (o *LuarocksPackageUpload) SetVulnerabilityScanResultsUrl(v string) { +func (o *RpmPackageUploadResponse) SetVulnerabilityScanResultsUrl(v string) { o.VulnerabilityScanResultsUrl = &v } -func (o LuarocksPackageUpload) MarshalJSON() ([]byte, error) { +func (o RpmPackageUploadResponse) MarshalJSON() ([]byte, error) { toSerialize := map[string]interface{}{} - if o.Architectures != nil { + if !isNil(o.Architectures) { toSerialize["architectures"] = o.Architectures } - if o.CdnUrl != nil { - toSerialize["cdn_url"] = o.CdnUrl + if o.CdnUrl.IsSet() { + toSerialize["cdn_url"] = o.CdnUrl.Get() } - if o.ChecksumMd5 != nil { + if !isNil(o.ChecksumMd5) { toSerialize["checksum_md5"] = o.ChecksumMd5 } - if o.ChecksumSha1 != nil { + if !isNil(o.ChecksumSha1) { toSerialize["checksum_sha1"] = o.ChecksumSha1 } - if o.ChecksumSha256 != nil { + if !isNil(o.ChecksumSha256) { toSerialize["checksum_sha256"] = o.ChecksumSha256 } - if o.ChecksumSha512 != nil { + if !isNil(o.ChecksumSha512) { toSerialize["checksum_sha512"] = o.ChecksumSha512 } - if o.DependenciesChecksumMd5 != nil { + if !isNil(o.DependenciesChecksumMd5) { toSerialize["dependencies_checksum_md5"] = o.DependenciesChecksumMd5 } - if o.DependenciesUrl != nil { + if !isNil(o.DependenciesUrl) { toSerialize["dependencies_url"] = o.DependenciesUrl } - if o.Description != nil { + if !isNil(o.Description) { toSerialize["description"] = o.Description } - if o.Distro != nil { - toSerialize["distro"] = o.Distro + if o.Distro.IsSet() { + toSerialize["distro"] = o.Distro.Get() } - if o.DistroVersion != nil { + if !isNil(o.DistroVersion) { toSerialize["distro_version"] = o.DistroVersion } - if o.Downloads != nil { + if !isNil(o.Downloads) { toSerialize["downloads"] = o.Downloads } - if o.Epoch != nil { + if !isNil(o.Epoch) { toSerialize["epoch"] = o.Epoch } - if o.Extension != nil { + if !isNil(o.Extension) { toSerialize["extension"] = o.Extension } - if o.Filename != nil { + if !isNil(o.Filename) { toSerialize["filename"] = o.Filename } - if o.Files != nil { + if !isNil(o.Files) { toSerialize["files"] = o.Files } - if o.Format != nil { + if !isNil(o.Format) { toSerialize["format"] = o.Format } - if o.FormatUrl != nil { + if !isNil(o.FormatUrl) { toSerialize["format_url"] = o.FormatUrl } - if o.IdentifierPerm != nil { + if !isNil(o.IdentifierPerm) { toSerialize["identifier_perm"] = o.IdentifierPerm } - if o.Indexed != nil { + if !isNil(o.Indexed) { toSerialize["indexed"] = o.Indexed } - if o.IsDownloadable != nil { + if !isNil(o.IsDownloadable) { toSerialize["is_downloadable"] = o.IsDownloadable } - if o.IsQuarantined != nil { + if !isNil(o.IsQuarantined) { toSerialize["is_quarantined"] = o.IsQuarantined } - if o.IsSyncAwaiting != nil { + if !isNil(o.IsSyncAwaiting) { toSerialize["is_sync_awaiting"] = o.IsSyncAwaiting } - if o.IsSyncCompleted != nil { + if !isNil(o.IsSyncCompleted) { toSerialize["is_sync_completed"] = o.IsSyncCompleted } - if o.IsSyncFailed != nil { + if !isNil(o.IsSyncFailed) { toSerialize["is_sync_failed"] = o.IsSyncFailed } - if o.IsSyncInFlight != nil { + if !isNil(o.IsSyncInFlight) { toSerialize["is_sync_in_flight"] = o.IsSyncInFlight } - if o.IsSyncInProgress != nil { + if !isNil(o.IsSyncInProgress) { toSerialize["is_sync_in_progress"] = o.IsSyncInProgress } - if o.License != nil { + if !isNil(o.License) { toSerialize["license"] = o.License } - if o.Name != nil { + if !isNil(o.Name) { toSerialize["name"] = o.Name } - if o.Namespace != nil { + if !isNil(o.Namespace) { toSerialize["namespace"] = o.Namespace } - if o.NamespaceUrl != nil { + if !isNil(o.NamespaceUrl) { toSerialize["namespace_url"] = o.NamespaceUrl } - if o.NumFiles != nil { + if !isNil(o.NumFiles) { toSerialize["num_files"] = o.NumFiles } - if o.PackageType != nil { + if !isNil(o.OriginRepository) { + toSerialize["origin_repository"] = o.OriginRepository + } + if !isNil(o.OriginRepositoryUrl) { + toSerialize["origin_repository_url"] = o.OriginRepositoryUrl + } + if !isNil(o.PackageType) { toSerialize["package_type"] = o.PackageType } - if o.Release != nil { + if !isNil(o.Release) { toSerialize["release"] = o.Release } - if o.Repository != nil { + if !isNil(o.Repository) { toSerialize["repository"] = o.Repository } - if o.RepositoryUrl != nil { + if !isNil(o.RepositoryUrl) { toSerialize["repository_url"] = o.RepositoryUrl } - if o.SecurityScanCompletedAt != nil { + if !isNil(o.SecurityScanCompletedAt) { toSerialize["security_scan_completed_at"] = o.SecurityScanCompletedAt } - if o.SecurityScanStartedAt != nil { + if !isNil(o.SecurityScanStartedAt) { toSerialize["security_scan_started_at"] = o.SecurityScanStartedAt } - if o.SecurityScanStatus != nil { - toSerialize["security_scan_status"] = o.SecurityScanStatus + if o.SecurityScanStatus.IsSet() { + toSerialize["security_scan_status"] = o.SecurityScanStatus.Get() } - if o.SecurityScanStatusUpdatedAt != nil { + if !isNil(o.SecurityScanStatusUpdatedAt) { toSerialize["security_scan_status_updated_at"] = o.SecurityScanStatusUpdatedAt } - if o.SelfHtmlUrl != nil { + if !isNil(o.SelfHtmlUrl) { toSerialize["self_html_url"] = o.SelfHtmlUrl } - if o.SelfUrl != nil { + if !isNil(o.SelfUrl) { toSerialize["self_url"] = o.SelfUrl } - if o.SignatureUrl != nil { - toSerialize["signature_url"] = o.SignatureUrl + if o.SignatureUrl.IsSet() { + toSerialize["signature_url"] = o.SignatureUrl.Get() } - if o.Size != nil { + if !isNil(o.Size) { toSerialize["size"] = o.Size } - if o.Slug != nil { + if !isNil(o.Slug) { toSerialize["slug"] = o.Slug } - if o.SlugPerm != nil { + if !isNil(o.SlugPerm) { toSerialize["slug_perm"] = o.SlugPerm } - if o.Stage != nil { + if !isNil(o.Stage) { toSerialize["stage"] = o.Stage } - if o.StageStr != nil { + if !isNil(o.StageStr) { toSerialize["stage_str"] = o.StageStr } - if o.StageUpdatedAt != nil { + if !isNil(o.StageUpdatedAt) { toSerialize["stage_updated_at"] = o.StageUpdatedAt } - if o.Status != nil { + if !isNil(o.Status) { toSerialize["status"] = o.Status } - if o.StatusReason != nil { + if !isNil(o.StatusReason) { toSerialize["status_reason"] = o.StatusReason } - if o.StatusStr != nil { + if !isNil(o.StatusStr) { toSerialize["status_str"] = o.StatusStr } - if o.StatusUpdatedAt != nil { + if !isNil(o.StatusUpdatedAt) { toSerialize["status_updated_at"] = o.StatusUpdatedAt } - if o.StatusUrl != nil { + if !isNil(o.StatusUrl) { toSerialize["status_url"] = o.StatusUrl } - if o.Subtype != nil { + if !isNil(o.Subtype) { toSerialize["subtype"] = o.Subtype } - if o.Summary != nil { + if !isNil(o.Summary) { toSerialize["summary"] = o.Summary } - if o.SyncFinishedAt != nil { + if !isNil(o.SyncFinishedAt) { toSerialize["sync_finished_at"] = o.SyncFinishedAt } - if o.SyncProgress != nil { + if !isNil(o.SyncProgress) { toSerialize["sync_progress"] = o.SyncProgress } - if o.TagsImmutable != nil { + if !isNil(o.TagsImmutable) { toSerialize["tags_immutable"] = o.TagsImmutable } - if o.TypeDisplay != nil { + if !isNil(o.TypeDisplay) { toSerialize["type_display"] = o.TypeDisplay } - if o.UploadedAt != nil { + if !isNil(o.UploadedAt) { toSerialize["uploaded_at"] = o.UploadedAt } - if o.Uploader != nil { + if !isNil(o.Uploader) { toSerialize["uploader"] = o.Uploader } - if o.UploaderUrl != nil { + if !isNil(o.UploaderUrl) { toSerialize["uploader_url"] = o.UploaderUrl } - if o.Version != nil { + if !isNil(o.Version) { toSerialize["version"] = o.Version } - if o.VersionOrig != nil { + if !isNil(o.VersionOrig) { toSerialize["version_orig"] = o.VersionOrig } - if o.VulnerabilityScanResultsUrl != nil { + if !isNil(o.VulnerabilityScanResultsUrl) { toSerialize["vulnerability_scan_results_url"] = o.VulnerabilityScanResultsUrl } return json.Marshal(toSerialize) } -type NullableLuarocksPackageUpload struct { - value *LuarocksPackageUpload +type NullableRpmPackageUploadResponse struct { + value *RpmPackageUploadResponse isSet bool } -func (v NullableLuarocksPackageUpload) Get() *LuarocksPackageUpload { +func (v NullableRpmPackageUploadResponse) Get() *RpmPackageUploadResponse { return v.value } -func (v *NullableLuarocksPackageUpload) Set(val *LuarocksPackageUpload) { +func (v *NullableRpmPackageUploadResponse) Set(val *RpmPackageUploadResponse) { v.value = val v.isSet = true } -func (v NullableLuarocksPackageUpload) IsSet() bool { +func (v NullableRpmPackageUploadResponse) IsSet() bool { return v.isSet } -func (v *NullableLuarocksPackageUpload) Unset() { +func (v *NullableRpmPackageUploadResponse) Unset() { v.value = nil v.isSet = false } -func NewNullableLuarocksPackageUpload(val *LuarocksPackageUpload) *NullableLuarocksPackageUpload { - return &NullableLuarocksPackageUpload{value: val, isSet: true} +func NewNullableRpmPackageUploadResponse(val *RpmPackageUploadResponse) *NullableRpmPackageUploadResponse { + return &NullableRpmPackageUploadResponse{value: val, isSet: true} } -func (v NullableLuarocksPackageUpload) MarshalJSON() ([]byte, error) { +func (v NullableRpmPackageUploadResponse) MarshalJSON() ([]byte, error) { return json.Marshal(v.value) } -func (v *NullableLuarocksPackageUpload) UnmarshalJSON(src []byte) error { +func (v *NullableRpmPackageUploadResponse) UnmarshalJSON(src []byte) error { v.isSet = true return json.Unmarshal(src, &v.value) } diff --git a/model_ruby_package_upload.go b/model_ruby_package_upload.go deleted file mode 100644 index 8224df68..00000000 --- a/model_ruby_package_upload.go +++ /dev/null @@ -1,2520 +0,0 @@ -/* -Cloudsmith API - -The API to the Cloudsmith Service - -API version: 1.121.3 -Contact: support@cloudsmith.io -*/ - -// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. - -package cloudsmith - -import ( - "encoding/json" -) - -// RubyPackageUpload struct for RubyPackageUpload -type RubyPackageUpload struct { - // - Architectures []PackagesOwnerRepoArchitectures `json:"architectures,omitempty"` - // - CdnUrl *string `json:"cdn_url,omitempty"` - // - ChecksumMd5 *string `json:"checksum_md5,omitempty"` - // - ChecksumSha1 *string `json:"checksum_sha1,omitempty"` - // - ChecksumSha256 *string `json:"checksum_sha256,omitempty"` - // - ChecksumSha512 *string `json:"checksum_sha512,omitempty"` - // A checksum of all of the package's dependencies. - DependenciesChecksumMd5 *string `json:"dependencies_checksum_md5,omitempty"` - // - DependenciesUrl *string `json:"dependencies_url,omitempty"` - // A textual description of this package. - Description *string `json:"description,omitempty"` - // - Distro map[string]interface{} `json:"distro,omitempty"` - // - DistroVersion map[string]interface{} `json:"distro_version,omitempty"` - // - Downloads *int64 `json:"downloads,omitempty"` - // The epoch of the package version (if any). - Epoch *int64 `json:"epoch,omitempty"` - // - Extension *string `json:"extension,omitempty"` - // - Filename *string `json:"filename,omitempty"` - // - Files []PackagesOwnerRepoFiles `json:"files,omitempty"` - // - Format *string `json:"format,omitempty"` - // - FormatUrl *string `json:"format_url,omitempty"` - // Unique and permanent identifier for the package. - IdentifierPerm *string `json:"identifier_perm,omitempty"` - // - Indexed *bool `json:"indexed,omitempty"` - // - IsDownloadable *bool `json:"is_downloadable,omitempty"` - // - IsQuarantined *bool `json:"is_quarantined,omitempty"` - // - IsSyncAwaiting *bool `json:"is_sync_awaiting,omitempty"` - // - IsSyncCompleted *bool `json:"is_sync_completed,omitempty"` - // - IsSyncFailed *bool `json:"is_sync_failed,omitempty"` - // - IsSyncInFlight *bool `json:"is_sync_in_flight,omitempty"` - // - IsSyncInProgress *bool `json:"is_sync_in_progress,omitempty"` - // The license of this package. - License *string `json:"license,omitempty"` - // The name of this package. - Name *string `json:"name,omitempty"` - // - Namespace *string `json:"namespace,omitempty"` - // - NamespaceUrl *string `json:"namespace_url,omitempty"` - // - NumFiles *int64 `json:"num_files,omitempty"` - // The type of package contents. - PackageType *int64 `json:"package_type,omitempty"` - // The release of the package version (if any). - Release *string `json:"release,omitempty"` - // - Repository *string `json:"repository,omitempty"` - // - RepositoryUrl *string `json:"repository_url,omitempty"` - // The datetime the security scanning was completed. - SecurityScanCompletedAt *string `json:"security_scan_completed_at,omitempty"` - // The datetime the security scanning was started. - SecurityScanStartedAt *string `json:"security_scan_started_at,omitempty"` - // - SecurityScanStatus *string `json:"security_scan_status,omitempty"` - // The datetime the security scanning status was updated. - SecurityScanStatusUpdatedAt *string `json:"security_scan_status_updated_at,omitempty"` - // - SelfHtmlUrl *string `json:"self_html_url,omitempty"` - // - SelfUrl *string `json:"self_url,omitempty"` - // - SignatureUrl *string `json:"signature_url,omitempty"` - // The calculated size of the package. - Size *int64 `json:"size,omitempty"` - // The public unique identifier for the package. - Slug *string `json:"slug,omitempty"` - // - SlugPerm *string `json:"slug_perm,omitempty"` - // The synchronisation (in progress) stage of the package. - Stage *int64 `json:"stage,omitempty"` - // - StageStr *string `json:"stage_str,omitempty"` - // The datetime the package stage was updated at. - StageUpdatedAt *string `json:"stage_updated_at,omitempty"` - // The synchronisation status of the package. - Status *int64 `json:"status,omitempty"` - // A textual description for the synchronous status reason (if any - StatusReason *string `json:"status_reason,omitempty"` - // - StatusStr *string `json:"status_str,omitempty"` - // The datetime the package status was updated at. - StatusUpdatedAt *string `json:"status_updated_at,omitempty"` - // - StatusUrl *string `json:"status_url,omitempty"` - // - Subtype *string `json:"subtype,omitempty"` - // A one-liner synopsis of this package. - Summary *string `json:"summary,omitempty"` - // The datetime the package sync was finished at. - SyncFinishedAt *string `json:"sync_finished_at,omitempty"` - // Synchronisation progress (from 0-100) - SyncProgress *int64 `json:"sync_progress,omitempty"` - // All immutable tags on the package, grouped by tag type. Immutable tags cannot be (easily) deleted. - TagsImmutable map[string]interface{} `json:"tags_immutable,omitempty"` - // - TypeDisplay *string `json:"type_display,omitempty"` - // The date this package was uploaded. - UploadedAt *string `json:"uploaded_at,omitempty"` - // - Uploader *string `json:"uploader,omitempty"` - // - UploaderUrl *string `json:"uploader_url,omitempty"` - // The raw version for this package. - Version *string `json:"version,omitempty"` - // - VersionOrig *string `json:"version_orig,omitempty"` - // - VulnerabilityScanResultsUrl *string `json:"vulnerability_scan_results_url,omitempty"` -} - -// NewRubyPackageUpload instantiates a new RubyPackageUpload object -// 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 NewRubyPackageUpload() *RubyPackageUpload { - this := RubyPackageUpload{} - return &this -} - -// NewRubyPackageUploadWithDefaults instantiates a new RubyPackageUpload object -// This constructor will only assign default values to properties that have it defined, -// but it doesn't guarantee that properties required by API are set -func NewRubyPackageUploadWithDefaults() *RubyPackageUpload { - this := RubyPackageUpload{} - return &this -} - -// GetArchitectures returns the Architectures field value if set, zero value otherwise. -func (o *RubyPackageUpload) GetArchitectures() []PackagesOwnerRepoArchitectures { - if o == nil || o.Architectures == nil { - var ret []PackagesOwnerRepoArchitectures - return ret - } - return o.Architectures -} - -// GetArchitecturesOk returns a tuple with the Architectures field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *RubyPackageUpload) GetArchitecturesOk() ([]PackagesOwnerRepoArchitectures, bool) { - if o == nil || o.Architectures == nil { - return nil, false - } - return o.Architectures, true -} - -// HasArchitectures returns a boolean if a field has been set. -func (o *RubyPackageUpload) HasArchitectures() bool { - if o != nil && o.Architectures != nil { - return true - } - - return false -} - -// SetArchitectures gets a reference to the given []PackagesOwnerRepoArchitectures and assigns it to the Architectures field. -func (o *RubyPackageUpload) SetArchitectures(v []PackagesOwnerRepoArchitectures) { - o.Architectures = v -} - -// GetCdnUrl returns the CdnUrl field value if set, zero value otherwise. -func (o *RubyPackageUpload) GetCdnUrl() string { - if o == nil || o.CdnUrl == nil { - var ret string - return ret - } - return *o.CdnUrl -} - -// GetCdnUrlOk returns a tuple with the CdnUrl field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *RubyPackageUpload) GetCdnUrlOk() (*string, bool) { - if o == nil || o.CdnUrl == nil { - return nil, false - } - return o.CdnUrl, true -} - -// HasCdnUrl returns a boolean if a field has been set. -func (o *RubyPackageUpload) HasCdnUrl() bool { - if o != nil && o.CdnUrl != nil { - return true - } - - return false -} - -// SetCdnUrl gets a reference to the given string and assigns it to the CdnUrl field. -func (o *RubyPackageUpload) SetCdnUrl(v string) { - o.CdnUrl = &v -} - -// GetChecksumMd5 returns the ChecksumMd5 field value if set, zero value otherwise. -func (o *RubyPackageUpload) GetChecksumMd5() string { - if o == nil || o.ChecksumMd5 == nil { - var ret string - return ret - } - return *o.ChecksumMd5 -} - -// GetChecksumMd5Ok returns a tuple with the ChecksumMd5 field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *RubyPackageUpload) GetChecksumMd5Ok() (*string, bool) { - if o == nil || o.ChecksumMd5 == nil { - return nil, false - } - return o.ChecksumMd5, true -} - -// HasChecksumMd5 returns a boolean if a field has been set. -func (o *RubyPackageUpload) HasChecksumMd5() bool { - if o != nil && o.ChecksumMd5 != nil { - return true - } - - return false -} - -// SetChecksumMd5 gets a reference to the given string and assigns it to the ChecksumMd5 field. -func (o *RubyPackageUpload) SetChecksumMd5(v string) { - o.ChecksumMd5 = &v -} - -// GetChecksumSha1 returns the ChecksumSha1 field value if set, zero value otherwise. -func (o *RubyPackageUpload) GetChecksumSha1() string { - if o == nil || o.ChecksumSha1 == nil { - var ret string - return ret - } - return *o.ChecksumSha1 -} - -// GetChecksumSha1Ok returns a tuple with the ChecksumSha1 field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *RubyPackageUpload) GetChecksumSha1Ok() (*string, bool) { - if o == nil || o.ChecksumSha1 == nil { - return nil, false - } - return o.ChecksumSha1, true -} - -// HasChecksumSha1 returns a boolean if a field has been set. -func (o *RubyPackageUpload) HasChecksumSha1() bool { - if o != nil && o.ChecksumSha1 != nil { - return true - } - - return false -} - -// SetChecksumSha1 gets a reference to the given string and assigns it to the ChecksumSha1 field. -func (o *RubyPackageUpload) SetChecksumSha1(v string) { - o.ChecksumSha1 = &v -} - -// GetChecksumSha256 returns the ChecksumSha256 field value if set, zero value otherwise. -func (o *RubyPackageUpload) GetChecksumSha256() string { - if o == nil || o.ChecksumSha256 == nil { - var ret string - return ret - } - return *o.ChecksumSha256 -} - -// GetChecksumSha256Ok returns a tuple with the ChecksumSha256 field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *RubyPackageUpload) GetChecksumSha256Ok() (*string, bool) { - if o == nil || o.ChecksumSha256 == nil { - return nil, false - } - return o.ChecksumSha256, true -} - -// HasChecksumSha256 returns a boolean if a field has been set. -func (o *RubyPackageUpload) HasChecksumSha256() bool { - if o != nil && o.ChecksumSha256 != nil { - return true - } - - return false -} - -// SetChecksumSha256 gets a reference to the given string and assigns it to the ChecksumSha256 field. -func (o *RubyPackageUpload) SetChecksumSha256(v string) { - o.ChecksumSha256 = &v -} - -// GetChecksumSha512 returns the ChecksumSha512 field value if set, zero value otherwise. -func (o *RubyPackageUpload) GetChecksumSha512() string { - if o == nil || o.ChecksumSha512 == nil { - var ret string - return ret - } - return *o.ChecksumSha512 -} - -// GetChecksumSha512Ok returns a tuple with the ChecksumSha512 field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *RubyPackageUpload) GetChecksumSha512Ok() (*string, bool) { - if o == nil || o.ChecksumSha512 == nil { - return nil, false - } - return o.ChecksumSha512, true -} - -// HasChecksumSha512 returns a boolean if a field has been set. -func (o *RubyPackageUpload) HasChecksumSha512() bool { - if o != nil && o.ChecksumSha512 != nil { - return true - } - - return false -} - -// SetChecksumSha512 gets a reference to the given string and assigns it to the ChecksumSha512 field. -func (o *RubyPackageUpload) SetChecksumSha512(v string) { - o.ChecksumSha512 = &v -} - -// GetDependenciesChecksumMd5 returns the DependenciesChecksumMd5 field value if set, zero value otherwise. -func (o *RubyPackageUpload) GetDependenciesChecksumMd5() string { - if o == nil || o.DependenciesChecksumMd5 == nil { - var ret string - return ret - } - return *o.DependenciesChecksumMd5 -} - -// GetDependenciesChecksumMd5Ok returns a tuple with the DependenciesChecksumMd5 field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *RubyPackageUpload) GetDependenciesChecksumMd5Ok() (*string, bool) { - if o == nil || o.DependenciesChecksumMd5 == nil { - return nil, false - } - return o.DependenciesChecksumMd5, true -} - -// HasDependenciesChecksumMd5 returns a boolean if a field has been set. -func (o *RubyPackageUpload) HasDependenciesChecksumMd5() bool { - if o != nil && o.DependenciesChecksumMd5 != nil { - return true - } - - return false -} - -// SetDependenciesChecksumMd5 gets a reference to the given string and assigns it to the DependenciesChecksumMd5 field. -func (o *RubyPackageUpload) SetDependenciesChecksumMd5(v string) { - o.DependenciesChecksumMd5 = &v -} - -// GetDependenciesUrl returns the DependenciesUrl field value if set, zero value otherwise. -func (o *RubyPackageUpload) GetDependenciesUrl() string { - if o == nil || o.DependenciesUrl == nil { - var ret string - return ret - } - return *o.DependenciesUrl -} - -// GetDependenciesUrlOk returns a tuple with the DependenciesUrl field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *RubyPackageUpload) GetDependenciesUrlOk() (*string, bool) { - if o == nil || o.DependenciesUrl == nil { - return nil, false - } - return o.DependenciesUrl, true -} - -// HasDependenciesUrl returns a boolean if a field has been set. -func (o *RubyPackageUpload) HasDependenciesUrl() bool { - if o != nil && o.DependenciesUrl != nil { - return true - } - - return false -} - -// SetDependenciesUrl gets a reference to the given string and assigns it to the DependenciesUrl field. -func (o *RubyPackageUpload) SetDependenciesUrl(v string) { - o.DependenciesUrl = &v -} - -// GetDescription returns the Description field value if set, zero value otherwise. -func (o *RubyPackageUpload) GetDescription() string { - if o == nil || o.Description == nil { - var ret string - return ret - } - return *o.Description -} - -// GetDescriptionOk returns a tuple with the Description field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *RubyPackageUpload) GetDescriptionOk() (*string, bool) { - if o == nil || o.Description == nil { - return nil, false - } - return o.Description, true -} - -// HasDescription returns a boolean if a field has been set. -func (o *RubyPackageUpload) HasDescription() bool { - if o != nil && o.Description != nil { - return true - } - - return false -} - -// SetDescription gets a reference to the given string and assigns it to the Description field. -func (o *RubyPackageUpload) SetDescription(v string) { - o.Description = &v -} - -// GetDistro returns the Distro field value if set, zero value otherwise. -func (o *RubyPackageUpload) GetDistro() map[string]interface{} { - if o == nil || o.Distro == nil { - var ret map[string]interface{} - return ret - } - return o.Distro -} - -// GetDistroOk returns a tuple with the Distro field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *RubyPackageUpload) GetDistroOk() (map[string]interface{}, bool) { - if o == nil || o.Distro == nil { - return nil, false - } - return o.Distro, true -} - -// HasDistro returns a boolean if a field has been set. -func (o *RubyPackageUpload) HasDistro() bool { - if o != nil && o.Distro != nil { - return true - } - - return false -} - -// SetDistro gets a reference to the given map[string]interface{} and assigns it to the Distro field. -func (o *RubyPackageUpload) SetDistro(v map[string]interface{}) { - o.Distro = v -} - -// GetDistroVersion returns the DistroVersion field value if set, zero value otherwise. -func (o *RubyPackageUpload) GetDistroVersion() map[string]interface{} { - if o == nil || o.DistroVersion == nil { - var ret map[string]interface{} - return ret - } - return o.DistroVersion -} - -// GetDistroVersionOk returns a tuple with the DistroVersion field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *RubyPackageUpload) GetDistroVersionOk() (map[string]interface{}, bool) { - if o == nil || o.DistroVersion == nil { - return nil, false - } - return o.DistroVersion, true -} - -// HasDistroVersion returns a boolean if a field has been set. -func (o *RubyPackageUpload) HasDistroVersion() bool { - if o != nil && o.DistroVersion != nil { - return true - } - - return false -} - -// SetDistroVersion gets a reference to the given map[string]interface{} and assigns it to the DistroVersion field. -func (o *RubyPackageUpload) SetDistroVersion(v map[string]interface{}) { - o.DistroVersion = v -} - -// GetDownloads returns the Downloads field value if set, zero value otherwise. -func (o *RubyPackageUpload) GetDownloads() int64 { - if o == nil || o.Downloads == nil { - var ret int64 - return ret - } - return *o.Downloads -} - -// GetDownloadsOk returns a tuple with the Downloads field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *RubyPackageUpload) GetDownloadsOk() (*int64, bool) { - if o == nil || o.Downloads == nil { - return nil, false - } - return o.Downloads, true -} - -// HasDownloads returns a boolean if a field has been set. -func (o *RubyPackageUpload) HasDownloads() bool { - if o != nil && o.Downloads != nil { - return true - } - - return false -} - -// SetDownloads gets a reference to the given int64 and assigns it to the Downloads field. -func (o *RubyPackageUpload) SetDownloads(v int64) { - o.Downloads = &v -} - -// GetEpoch returns the Epoch field value if set, zero value otherwise. -func (o *RubyPackageUpload) GetEpoch() int64 { - if o == nil || o.Epoch == nil { - var ret int64 - return ret - } - return *o.Epoch -} - -// GetEpochOk returns a tuple with the Epoch field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *RubyPackageUpload) GetEpochOk() (*int64, bool) { - if o == nil || o.Epoch == nil { - return nil, false - } - return o.Epoch, true -} - -// HasEpoch returns a boolean if a field has been set. -func (o *RubyPackageUpload) HasEpoch() bool { - if o != nil && o.Epoch != nil { - return true - } - - return false -} - -// SetEpoch gets a reference to the given int64 and assigns it to the Epoch field. -func (o *RubyPackageUpload) SetEpoch(v int64) { - o.Epoch = &v -} - -// GetExtension returns the Extension field value if set, zero value otherwise. -func (o *RubyPackageUpload) GetExtension() string { - if o == nil || o.Extension == nil { - var ret string - return ret - } - return *o.Extension -} - -// GetExtensionOk returns a tuple with the Extension field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *RubyPackageUpload) GetExtensionOk() (*string, bool) { - if o == nil || o.Extension == nil { - return nil, false - } - return o.Extension, true -} - -// HasExtension returns a boolean if a field has been set. -func (o *RubyPackageUpload) HasExtension() bool { - if o != nil && o.Extension != nil { - return true - } - - return false -} - -// SetExtension gets a reference to the given string and assigns it to the Extension field. -func (o *RubyPackageUpload) SetExtension(v string) { - o.Extension = &v -} - -// GetFilename returns the Filename field value if set, zero value otherwise. -func (o *RubyPackageUpload) GetFilename() string { - if o == nil || o.Filename == nil { - var ret string - return ret - } - return *o.Filename -} - -// GetFilenameOk returns a tuple with the Filename field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *RubyPackageUpload) GetFilenameOk() (*string, bool) { - if o == nil || o.Filename == nil { - return nil, false - } - return o.Filename, true -} - -// HasFilename returns a boolean if a field has been set. -func (o *RubyPackageUpload) HasFilename() bool { - if o != nil && o.Filename != nil { - return true - } - - return false -} - -// SetFilename gets a reference to the given string and assigns it to the Filename field. -func (o *RubyPackageUpload) SetFilename(v string) { - o.Filename = &v -} - -// GetFiles returns the Files field value if set, zero value otherwise. -func (o *RubyPackageUpload) GetFiles() []PackagesOwnerRepoFiles { - if o == nil || o.Files == nil { - var ret []PackagesOwnerRepoFiles - return ret - } - return o.Files -} - -// GetFilesOk returns a tuple with the Files field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *RubyPackageUpload) GetFilesOk() ([]PackagesOwnerRepoFiles, bool) { - if o == nil || o.Files == nil { - return nil, false - } - return o.Files, true -} - -// HasFiles returns a boolean if a field has been set. -func (o *RubyPackageUpload) HasFiles() bool { - if o != nil && o.Files != nil { - return true - } - - return false -} - -// SetFiles gets a reference to the given []PackagesOwnerRepoFiles and assigns it to the Files field. -func (o *RubyPackageUpload) SetFiles(v []PackagesOwnerRepoFiles) { - o.Files = v -} - -// GetFormat returns the Format field value if set, zero value otherwise. -func (o *RubyPackageUpload) GetFormat() string { - if o == nil || o.Format == nil { - var ret string - return ret - } - return *o.Format -} - -// GetFormatOk returns a tuple with the Format field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *RubyPackageUpload) GetFormatOk() (*string, bool) { - if o == nil || o.Format == nil { - return nil, false - } - return o.Format, true -} - -// HasFormat returns a boolean if a field has been set. -func (o *RubyPackageUpload) HasFormat() bool { - if o != nil && o.Format != nil { - return true - } - - return false -} - -// SetFormat gets a reference to the given string and assigns it to the Format field. -func (o *RubyPackageUpload) SetFormat(v string) { - o.Format = &v -} - -// GetFormatUrl returns the FormatUrl field value if set, zero value otherwise. -func (o *RubyPackageUpload) GetFormatUrl() string { - if o == nil || o.FormatUrl == nil { - var ret string - return ret - } - return *o.FormatUrl -} - -// GetFormatUrlOk returns a tuple with the FormatUrl field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *RubyPackageUpload) GetFormatUrlOk() (*string, bool) { - if o == nil || o.FormatUrl == nil { - return nil, false - } - return o.FormatUrl, true -} - -// HasFormatUrl returns a boolean if a field has been set. -func (o *RubyPackageUpload) HasFormatUrl() bool { - if o != nil && o.FormatUrl != nil { - return true - } - - return false -} - -// SetFormatUrl gets a reference to the given string and assigns it to the FormatUrl field. -func (o *RubyPackageUpload) SetFormatUrl(v string) { - o.FormatUrl = &v -} - -// GetIdentifierPerm returns the IdentifierPerm field value if set, zero value otherwise. -func (o *RubyPackageUpload) GetIdentifierPerm() string { - if o == nil || o.IdentifierPerm == nil { - var ret string - return ret - } - return *o.IdentifierPerm -} - -// GetIdentifierPermOk returns a tuple with the IdentifierPerm field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *RubyPackageUpload) GetIdentifierPermOk() (*string, bool) { - if o == nil || o.IdentifierPerm == nil { - return nil, false - } - return o.IdentifierPerm, true -} - -// HasIdentifierPerm returns a boolean if a field has been set. -func (o *RubyPackageUpload) HasIdentifierPerm() bool { - if o != nil && o.IdentifierPerm != nil { - return true - } - - return false -} - -// SetIdentifierPerm gets a reference to the given string and assigns it to the IdentifierPerm field. -func (o *RubyPackageUpload) SetIdentifierPerm(v string) { - o.IdentifierPerm = &v -} - -// GetIndexed returns the Indexed field value if set, zero value otherwise. -func (o *RubyPackageUpload) GetIndexed() bool { - if o == nil || o.Indexed == nil { - var ret bool - return ret - } - return *o.Indexed -} - -// GetIndexedOk returns a tuple with the Indexed field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *RubyPackageUpload) GetIndexedOk() (*bool, bool) { - if o == nil || o.Indexed == nil { - return nil, false - } - return o.Indexed, true -} - -// HasIndexed returns a boolean if a field has been set. -func (o *RubyPackageUpload) HasIndexed() bool { - if o != nil && o.Indexed != nil { - return true - } - - return false -} - -// SetIndexed gets a reference to the given bool and assigns it to the Indexed field. -func (o *RubyPackageUpload) SetIndexed(v bool) { - o.Indexed = &v -} - -// GetIsDownloadable returns the IsDownloadable field value if set, zero value otherwise. -func (o *RubyPackageUpload) GetIsDownloadable() bool { - if o == nil || o.IsDownloadable == nil { - var ret bool - return ret - } - return *o.IsDownloadable -} - -// GetIsDownloadableOk returns a tuple with the IsDownloadable field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *RubyPackageUpload) GetIsDownloadableOk() (*bool, bool) { - if o == nil || o.IsDownloadable == nil { - return nil, false - } - return o.IsDownloadable, true -} - -// HasIsDownloadable returns a boolean if a field has been set. -func (o *RubyPackageUpload) HasIsDownloadable() bool { - if o != nil && o.IsDownloadable != nil { - return true - } - - return false -} - -// SetIsDownloadable gets a reference to the given bool and assigns it to the IsDownloadable field. -func (o *RubyPackageUpload) SetIsDownloadable(v bool) { - o.IsDownloadable = &v -} - -// GetIsQuarantined returns the IsQuarantined field value if set, zero value otherwise. -func (o *RubyPackageUpload) GetIsQuarantined() bool { - if o == nil || o.IsQuarantined == nil { - var ret bool - return ret - } - return *o.IsQuarantined -} - -// GetIsQuarantinedOk returns a tuple with the IsQuarantined field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *RubyPackageUpload) GetIsQuarantinedOk() (*bool, bool) { - if o == nil || o.IsQuarantined == nil { - return nil, false - } - return o.IsQuarantined, true -} - -// HasIsQuarantined returns a boolean if a field has been set. -func (o *RubyPackageUpload) HasIsQuarantined() bool { - if o != nil && o.IsQuarantined != nil { - return true - } - - return false -} - -// SetIsQuarantined gets a reference to the given bool and assigns it to the IsQuarantined field. -func (o *RubyPackageUpload) SetIsQuarantined(v bool) { - o.IsQuarantined = &v -} - -// GetIsSyncAwaiting returns the IsSyncAwaiting field value if set, zero value otherwise. -func (o *RubyPackageUpload) GetIsSyncAwaiting() bool { - if o == nil || o.IsSyncAwaiting == nil { - var ret bool - return ret - } - return *o.IsSyncAwaiting -} - -// GetIsSyncAwaitingOk returns a tuple with the IsSyncAwaiting field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *RubyPackageUpload) GetIsSyncAwaitingOk() (*bool, bool) { - if o == nil || o.IsSyncAwaiting == nil { - return nil, false - } - return o.IsSyncAwaiting, true -} - -// HasIsSyncAwaiting returns a boolean if a field has been set. -func (o *RubyPackageUpload) HasIsSyncAwaiting() bool { - if o != nil && o.IsSyncAwaiting != nil { - return true - } - - return false -} - -// SetIsSyncAwaiting gets a reference to the given bool and assigns it to the IsSyncAwaiting field. -func (o *RubyPackageUpload) SetIsSyncAwaiting(v bool) { - o.IsSyncAwaiting = &v -} - -// GetIsSyncCompleted returns the IsSyncCompleted field value if set, zero value otherwise. -func (o *RubyPackageUpload) GetIsSyncCompleted() bool { - if o == nil || o.IsSyncCompleted == nil { - var ret bool - return ret - } - return *o.IsSyncCompleted -} - -// GetIsSyncCompletedOk returns a tuple with the IsSyncCompleted field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *RubyPackageUpload) GetIsSyncCompletedOk() (*bool, bool) { - if o == nil || o.IsSyncCompleted == nil { - return nil, false - } - return o.IsSyncCompleted, true -} - -// HasIsSyncCompleted returns a boolean if a field has been set. -func (o *RubyPackageUpload) HasIsSyncCompleted() bool { - if o != nil && o.IsSyncCompleted != nil { - return true - } - - return false -} - -// SetIsSyncCompleted gets a reference to the given bool and assigns it to the IsSyncCompleted field. -func (o *RubyPackageUpload) SetIsSyncCompleted(v bool) { - o.IsSyncCompleted = &v -} - -// GetIsSyncFailed returns the IsSyncFailed field value if set, zero value otherwise. -func (o *RubyPackageUpload) GetIsSyncFailed() bool { - if o == nil || o.IsSyncFailed == nil { - var ret bool - return ret - } - return *o.IsSyncFailed -} - -// GetIsSyncFailedOk returns a tuple with the IsSyncFailed field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *RubyPackageUpload) GetIsSyncFailedOk() (*bool, bool) { - if o == nil || o.IsSyncFailed == nil { - return nil, false - } - return o.IsSyncFailed, true -} - -// HasIsSyncFailed returns a boolean if a field has been set. -func (o *RubyPackageUpload) HasIsSyncFailed() bool { - if o != nil && o.IsSyncFailed != nil { - return true - } - - return false -} - -// SetIsSyncFailed gets a reference to the given bool and assigns it to the IsSyncFailed field. -func (o *RubyPackageUpload) SetIsSyncFailed(v bool) { - o.IsSyncFailed = &v -} - -// GetIsSyncInFlight returns the IsSyncInFlight field value if set, zero value otherwise. -func (o *RubyPackageUpload) GetIsSyncInFlight() bool { - if o == nil || o.IsSyncInFlight == nil { - var ret bool - return ret - } - return *o.IsSyncInFlight -} - -// GetIsSyncInFlightOk returns a tuple with the IsSyncInFlight field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *RubyPackageUpload) GetIsSyncInFlightOk() (*bool, bool) { - if o == nil || o.IsSyncInFlight == nil { - return nil, false - } - return o.IsSyncInFlight, true -} - -// HasIsSyncInFlight returns a boolean if a field has been set. -func (o *RubyPackageUpload) HasIsSyncInFlight() bool { - if o != nil && o.IsSyncInFlight != nil { - return true - } - - return false -} - -// SetIsSyncInFlight gets a reference to the given bool and assigns it to the IsSyncInFlight field. -func (o *RubyPackageUpload) SetIsSyncInFlight(v bool) { - o.IsSyncInFlight = &v -} - -// GetIsSyncInProgress returns the IsSyncInProgress field value if set, zero value otherwise. -func (o *RubyPackageUpload) GetIsSyncInProgress() bool { - if o == nil || o.IsSyncInProgress == nil { - var ret bool - return ret - } - return *o.IsSyncInProgress -} - -// GetIsSyncInProgressOk returns a tuple with the IsSyncInProgress field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *RubyPackageUpload) GetIsSyncInProgressOk() (*bool, bool) { - if o == nil || o.IsSyncInProgress == nil { - return nil, false - } - return o.IsSyncInProgress, true -} - -// HasIsSyncInProgress returns a boolean if a field has been set. -func (o *RubyPackageUpload) HasIsSyncInProgress() bool { - if o != nil && o.IsSyncInProgress != nil { - return true - } - - return false -} - -// SetIsSyncInProgress gets a reference to the given bool and assigns it to the IsSyncInProgress field. -func (o *RubyPackageUpload) SetIsSyncInProgress(v bool) { - o.IsSyncInProgress = &v -} - -// GetLicense returns the License field value if set, zero value otherwise. -func (o *RubyPackageUpload) GetLicense() string { - if o == nil || o.License == nil { - var ret string - return ret - } - return *o.License -} - -// GetLicenseOk returns a tuple with the License field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *RubyPackageUpload) GetLicenseOk() (*string, bool) { - if o == nil || o.License == nil { - return nil, false - } - return o.License, true -} - -// HasLicense returns a boolean if a field has been set. -func (o *RubyPackageUpload) HasLicense() bool { - if o != nil && o.License != nil { - return true - } - - return false -} - -// SetLicense gets a reference to the given string and assigns it to the License field. -func (o *RubyPackageUpload) SetLicense(v string) { - o.License = &v -} - -// GetName returns the Name field value if set, zero value otherwise. -func (o *RubyPackageUpload) GetName() string { - if o == nil || o.Name == nil { - var ret string - return ret - } - return *o.Name -} - -// GetNameOk returns a tuple with the Name field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *RubyPackageUpload) GetNameOk() (*string, bool) { - if o == nil || o.Name == nil { - return nil, false - } - return o.Name, true -} - -// HasName returns a boolean if a field has been set. -func (o *RubyPackageUpload) HasName() bool { - if o != nil && o.Name != nil { - return true - } - - return false -} - -// SetName gets a reference to the given string and assigns it to the Name field. -func (o *RubyPackageUpload) SetName(v string) { - o.Name = &v -} - -// GetNamespace returns the Namespace field value if set, zero value otherwise. -func (o *RubyPackageUpload) GetNamespace() string { - if o == nil || o.Namespace == nil { - var ret string - return ret - } - return *o.Namespace -} - -// GetNamespaceOk returns a tuple with the Namespace field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *RubyPackageUpload) GetNamespaceOk() (*string, bool) { - if o == nil || o.Namespace == nil { - return nil, false - } - return o.Namespace, true -} - -// HasNamespace returns a boolean if a field has been set. -func (o *RubyPackageUpload) HasNamespace() bool { - if o != nil && o.Namespace != nil { - return true - } - - return false -} - -// SetNamespace gets a reference to the given string and assigns it to the Namespace field. -func (o *RubyPackageUpload) SetNamespace(v string) { - o.Namespace = &v -} - -// GetNamespaceUrl returns the NamespaceUrl field value if set, zero value otherwise. -func (o *RubyPackageUpload) GetNamespaceUrl() string { - if o == nil || o.NamespaceUrl == nil { - var ret string - return ret - } - return *o.NamespaceUrl -} - -// GetNamespaceUrlOk returns a tuple with the NamespaceUrl field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *RubyPackageUpload) GetNamespaceUrlOk() (*string, bool) { - if o == nil || o.NamespaceUrl == nil { - return nil, false - } - return o.NamespaceUrl, true -} - -// HasNamespaceUrl returns a boolean if a field has been set. -func (o *RubyPackageUpload) HasNamespaceUrl() bool { - if o != nil && o.NamespaceUrl != nil { - return true - } - - return false -} - -// SetNamespaceUrl gets a reference to the given string and assigns it to the NamespaceUrl field. -func (o *RubyPackageUpload) SetNamespaceUrl(v string) { - o.NamespaceUrl = &v -} - -// GetNumFiles returns the NumFiles field value if set, zero value otherwise. -func (o *RubyPackageUpload) GetNumFiles() int64 { - if o == nil || o.NumFiles == nil { - var ret int64 - return ret - } - return *o.NumFiles -} - -// GetNumFilesOk returns a tuple with the NumFiles field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *RubyPackageUpload) GetNumFilesOk() (*int64, bool) { - if o == nil || o.NumFiles == nil { - return nil, false - } - return o.NumFiles, true -} - -// HasNumFiles returns a boolean if a field has been set. -func (o *RubyPackageUpload) HasNumFiles() bool { - if o != nil && o.NumFiles != nil { - return true - } - - return false -} - -// SetNumFiles gets a reference to the given int64 and assigns it to the NumFiles field. -func (o *RubyPackageUpload) SetNumFiles(v int64) { - o.NumFiles = &v -} - -// GetPackageType returns the PackageType field value if set, zero value otherwise. -func (o *RubyPackageUpload) GetPackageType() int64 { - if o == nil || o.PackageType == nil { - var ret int64 - return ret - } - return *o.PackageType -} - -// GetPackageTypeOk returns a tuple with the PackageType field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *RubyPackageUpload) GetPackageTypeOk() (*int64, bool) { - if o == nil || o.PackageType == nil { - return nil, false - } - return o.PackageType, true -} - -// HasPackageType returns a boolean if a field has been set. -func (o *RubyPackageUpload) HasPackageType() bool { - if o != nil && o.PackageType != nil { - return true - } - - return false -} - -// SetPackageType gets a reference to the given int64 and assigns it to the PackageType field. -func (o *RubyPackageUpload) SetPackageType(v int64) { - o.PackageType = &v -} - -// GetRelease returns the Release field value if set, zero value otherwise. -func (o *RubyPackageUpload) GetRelease() string { - if o == nil || o.Release == nil { - var ret string - return ret - } - return *o.Release -} - -// GetReleaseOk returns a tuple with the Release field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *RubyPackageUpload) GetReleaseOk() (*string, bool) { - if o == nil || o.Release == nil { - return nil, false - } - return o.Release, true -} - -// HasRelease returns a boolean if a field has been set. -func (o *RubyPackageUpload) HasRelease() bool { - if o != nil && o.Release != nil { - return true - } - - return false -} - -// SetRelease gets a reference to the given string and assigns it to the Release field. -func (o *RubyPackageUpload) SetRelease(v string) { - o.Release = &v -} - -// GetRepository returns the Repository field value if set, zero value otherwise. -func (o *RubyPackageUpload) GetRepository() string { - if o == nil || o.Repository == nil { - var ret string - return ret - } - return *o.Repository -} - -// GetRepositoryOk returns a tuple with the Repository field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *RubyPackageUpload) GetRepositoryOk() (*string, bool) { - if o == nil || o.Repository == nil { - return nil, false - } - return o.Repository, true -} - -// HasRepository returns a boolean if a field has been set. -func (o *RubyPackageUpload) HasRepository() bool { - if o != nil && o.Repository != nil { - return true - } - - return false -} - -// SetRepository gets a reference to the given string and assigns it to the Repository field. -func (o *RubyPackageUpload) SetRepository(v string) { - o.Repository = &v -} - -// GetRepositoryUrl returns the RepositoryUrl field value if set, zero value otherwise. -func (o *RubyPackageUpload) GetRepositoryUrl() string { - if o == nil || o.RepositoryUrl == nil { - var ret string - return ret - } - return *o.RepositoryUrl -} - -// GetRepositoryUrlOk returns a tuple with the RepositoryUrl field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *RubyPackageUpload) GetRepositoryUrlOk() (*string, bool) { - if o == nil || o.RepositoryUrl == nil { - return nil, false - } - return o.RepositoryUrl, true -} - -// HasRepositoryUrl returns a boolean if a field has been set. -func (o *RubyPackageUpload) HasRepositoryUrl() bool { - if o != nil && o.RepositoryUrl != nil { - return true - } - - return false -} - -// SetRepositoryUrl gets a reference to the given string and assigns it to the RepositoryUrl field. -func (o *RubyPackageUpload) SetRepositoryUrl(v string) { - o.RepositoryUrl = &v -} - -// GetSecurityScanCompletedAt returns the SecurityScanCompletedAt field value if set, zero value otherwise. -func (o *RubyPackageUpload) GetSecurityScanCompletedAt() string { - if o == nil || o.SecurityScanCompletedAt == nil { - var ret string - return ret - } - return *o.SecurityScanCompletedAt -} - -// GetSecurityScanCompletedAtOk returns a tuple with the SecurityScanCompletedAt field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *RubyPackageUpload) GetSecurityScanCompletedAtOk() (*string, bool) { - if o == nil || o.SecurityScanCompletedAt == nil { - return nil, false - } - return o.SecurityScanCompletedAt, true -} - -// HasSecurityScanCompletedAt returns a boolean if a field has been set. -func (o *RubyPackageUpload) HasSecurityScanCompletedAt() bool { - if o != nil && o.SecurityScanCompletedAt != nil { - return true - } - - return false -} - -// SetSecurityScanCompletedAt gets a reference to the given string and assigns it to the SecurityScanCompletedAt field. -func (o *RubyPackageUpload) SetSecurityScanCompletedAt(v string) { - o.SecurityScanCompletedAt = &v -} - -// GetSecurityScanStartedAt returns the SecurityScanStartedAt field value if set, zero value otherwise. -func (o *RubyPackageUpload) GetSecurityScanStartedAt() string { - if o == nil || o.SecurityScanStartedAt == nil { - var ret string - return ret - } - return *o.SecurityScanStartedAt -} - -// GetSecurityScanStartedAtOk returns a tuple with the SecurityScanStartedAt field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *RubyPackageUpload) GetSecurityScanStartedAtOk() (*string, bool) { - if o == nil || o.SecurityScanStartedAt == nil { - return nil, false - } - return o.SecurityScanStartedAt, true -} - -// HasSecurityScanStartedAt returns a boolean if a field has been set. -func (o *RubyPackageUpload) HasSecurityScanStartedAt() bool { - if o != nil && o.SecurityScanStartedAt != nil { - return true - } - - return false -} - -// SetSecurityScanStartedAt gets a reference to the given string and assigns it to the SecurityScanStartedAt field. -func (o *RubyPackageUpload) SetSecurityScanStartedAt(v string) { - o.SecurityScanStartedAt = &v -} - -// GetSecurityScanStatus returns the SecurityScanStatus field value if set, zero value otherwise. -func (o *RubyPackageUpload) GetSecurityScanStatus() string { - if o == nil || o.SecurityScanStatus == nil { - var ret string - return ret - } - return *o.SecurityScanStatus -} - -// GetSecurityScanStatusOk returns a tuple with the SecurityScanStatus field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *RubyPackageUpload) GetSecurityScanStatusOk() (*string, bool) { - if o == nil || o.SecurityScanStatus == nil { - return nil, false - } - return o.SecurityScanStatus, true -} - -// HasSecurityScanStatus returns a boolean if a field has been set. -func (o *RubyPackageUpload) HasSecurityScanStatus() bool { - if o != nil && o.SecurityScanStatus != nil { - return true - } - - return false -} - -// SetSecurityScanStatus gets a reference to the given string and assigns it to the SecurityScanStatus field. -func (o *RubyPackageUpload) SetSecurityScanStatus(v string) { - o.SecurityScanStatus = &v -} - -// GetSecurityScanStatusUpdatedAt returns the SecurityScanStatusUpdatedAt field value if set, zero value otherwise. -func (o *RubyPackageUpload) GetSecurityScanStatusUpdatedAt() string { - if o == nil || o.SecurityScanStatusUpdatedAt == nil { - var ret string - return ret - } - return *o.SecurityScanStatusUpdatedAt -} - -// GetSecurityScanStatusUpdatedAtOk returns a tuple with the SecurityScanStatusUpdatedAt field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *RubyPackageUpload) GetSecurityScanStatusUpdatedAtOk() (*string, bool) { - if o == nil || o.SecurityScanStatusUpdatedAt == nil { - return nil, false - } - return o.SecurityScanStatusUpdatedAt, true -} - -// HasSecurityScanStatusUpdatedAt returns a boolean if a field has been set. -func (o *RubyPackageUpload) HasSecurityScanStatusUpdatedAt() bool { - if o != nil && o.SecurityScanStatusUpdatedAt != nil { - return true - } - - return false -} - -// SetSecurityScanStatusUpdatedAt gets a reference to the given string and assigns it to the SecurityScanStatusUpdatedAt field. -func (o *RubyPackageUpload) SetSecurityScanStatusUpdatedAt(v string) { - o.SecurityScanStatusUpdatedAt = &v -} - -// GetSelfHtmlUrl returns the SelfHtmlUrl field value if set, zero value otherwise. -func (o *RubyPackageUpload) GetSelfHtmlUrl() string { - if o == nil || o.SelfHtmlUrl == nil { - var ret string - return ret - } - return *o.SelfHtmlUrl -} - -// GetSelfHtmlUrlOk returns a tuple with the SelfHtmlUrl field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *RubyPackageUpload) GetSelfHtmlUrlOk() (*string, bool) { - if o == nil || o.SelfHtmlUrl == nil { - return nil, false - } - return o.SelfHtmlUrl, true -} - -// HasSelfHtmlUrl returns a boolean if a field has been set. -func (o *RubyPackageUpload) HasSelfHtmlUrl() bool { - if o != nil && o.SelfHtmlUrl != nil { - return true - } - - return false -} - -// SetSelfHtmlUrl gets a reference to the given string and assigns it to the SelfHtmlUrl field. -func (o *RubyPackageUpload) SetSelfHtmlUrl(v string) { - o.SelfHtmlUrl = &v -} - -// GetSelfUrl returns the SelfUrl field value if set, zero value otherwise. -func (o *RubyPackageUpload) GetSelfUrl() string { - if o == nil || o.SelfUrl == nil { - var ret string - return ret - } - return *o.SelfUrl -} - -// GetSelfUrlOk returns a tuple with the SelfUrl field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *RubyPackageUpload) GetSelfUrlOk() (*string, bool) { - if o == nil || o.SelfUrl == nil { - return nil, false - } - return o.SelfUrl, true -} - -// HasSelfUrl returns a boolean if a field has been set. -func (o *RubyPackageUpload) HasSelfUrl() bool { - if o != nil && o.SelfUrl != nil { - return true - } - - return false -} - -// SetSelfUrl gets a reference to the given string and assigns it to the SelfUrl field. -func (o *RubyPackageUpload) SetSelfUrl(v string) { - o.SelfUrl = &v -} - -// GetSignatureUrl returns the SignatureUrl field value if set, zero value otherwise. -func (o *RubyPackageUpload) GetSignatureUrl() string { - if o == nil || o.SignatureUrl == nil { - var ret string - return ret - } - return *o.SignatureUrl -} - -// GetSignatureUrlOk returns a tuple with the SignatureUrl field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *RubyPackageUpload) GetSignatureUrlOk() (*string, bool) { - if o == nil || o.SignatureUrl == nil { - return nil, false - } - return o.SignatureUrl, true -} - -// HasSignatureUrl returns a boolean if a field has been set. -func (o *RubyPackageUpload) HasSignatureUrl() bool { - if o != nil && o.SignatureUrl != nil { - return true - } - - return false -} - -// SetSignatureUrl gets a reference to the given string and assigns it to the SignatureUrl field. -func (o *RubyPackageUpload) SetSignatureUrl(v string) { - o.SignatureUrl = &v -} - -// GetSize returns the Size field value if set, zero value otherwise. -func (o *RubyPackageUpload) GetSize() int64 { - if o == nil || o.Size == nil { - var ret int64 - return ret - } - return *o.Size -} - -// GetSizeOk returns a tuple with the Size field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *RubyPackageUpload) GetSizeOk() (*int64, bool) { - if o == nil || o.Size == nil { - return nil, false - } - return o.Size, true -} - -// HasSize returns a boolean if a field has been set. -func (o *RubyPackageUpload) HasSize() bool { - if o != nil && o.Size != nil { - return true - } - - return false -} - -// SetSize gets a reference to the given int64 and assigns it to the Size field. -func (o *RubyPackageUpload) SetSize(v int64) { - o.Size = &v -} - -// GetSlug returns the Slug field value if set, zero value otherwise. -func (o *RubyPackageUpload) GetSlug() string { - if o == nil || o.Slug == nil { - var ret string - return ret - } - return *o.Slug -} - -// GetSlugOk returns a tuple with the Slug field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *RubyPackageUpload) GetSlugOk() (*string, bool) { - if o == nil || o.Slug == nil { - return nil, false - } - return o.Slug, true -} - -// HasSlug returns a boolean if a field has been set. -func (o *RubyPackageUpload) HasSlug() bool { - if o != nil && o.Slug != nil { - return true - } - - return false -} - -// SetSlug gets a reference to the given string and assigns it to the Slug field. -func (o *RubyPackageUpload) SetSlug(v string) { - o.Slug = &v -} - -// GetSlugPerm returns the SlugPerm field value if set, zero value otherwise. -func (o *RubyPackageUpload) GetSlugPerm() string { - if o == nil || o.SlugPerm == nil { - var ret string - return ret - } - return *o.SlugPerm -} - -// GetSlugPermOk returns a tuple with the SlugPerm field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *RubyPackageUpload) GetSlugPermOk() (*string, bool) { - if o == nil || o.SlugPerm == nil { - return nil, false - } - return o.SlugPerm, true -} - -// HasSlugPerm returns a boolean if a field has been set. -func (o *RubyPackageUpload) HasSlugPerm() bool { - if o != nil && o.SlugPerm != nil { - return true - } - - return false -} - -// SetSlugPerm gets a reference to the given string and assigns it to the SlugPerm field. -func (o *RubyPackageUpload) SetSlugPerm(v string) { - o.SlugPerm = &v -} - -// GetStage returns the Stage field value if set, zero value otherwise. -func (o *RubyPackageUpload) GetStage() int64 { - if o == nil || o.Stage == nil { - var ret int64 - return ret - } - return *o.Stage -} - -// GetStageOk returns a tuple with the Stage field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *RubyPackageUpload) GetStageOk() (*int64, bool) { - if o == nil || o.Stage == nil { - return nil, false - } - return o.Stage, true -} - -// HasStage returns a boolean if a field has been set. -func (o *RubyPackageUpload) HasStage() bool { - if o != nil && o.Stage != nil { - return true - } - - return false -} - -// SetStage gets a reference to the given int64 and assigns it to the Stage field. -func (o *RubyPackageUpload) SetStage(v int64) { - o.Stage = &v -} - -// GetStageStr returns the StageStr field value if set, zero value otherwise. -func (o *RubyPackageUpload) GetStageStr() string { - if o == nil || o.StageStr == nil { - var ret string - return ret - } - return *o.StageStr -} - -// GetStageStrOk returns a tuple with the StageStr field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *RubyPackageUpload) GetStageStrOk() (*string, bool) { - if o == nil || o.StageStr == nil { - return nil, false - } - return o.StageStr, true -} - -// HasStageStr returns a boolean if a field has been set. -func (o *RubyPackageUpload) HasStageStr() bool { - if o != nil && o.StageStr != nil { - return true - } - - return false -} - -// SetStageStr gets a reference to the given string and assigns it to the StageStr field. -func (o *RubyPackageUpload) SetStageStr(v string) { - o.StageStr = &v -} - -// GetStageUpdatedAt returns the StageUpdatedAt field value if set, zero value otherwise. -func (o *RubyPackageUpload) GetStageUpdatedAt() string { - if o == nil || o.StageUpdatedAt == nil { - var ret string - return ret - } - return *o.StageUpdatedAt -} - -// GetStageUpdatedAtOk returns a tuple with the StageUpdatedAt field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *RubyPackageUpload) GetStageUpdatedAtOk() (*string, bool) { - if o == nil || o.StageUpdatedAt == nil { - return nil, false - } - return o.StageUpdatedAt, true -} - -// HasStageUpdatedAt returns a boolean if a field has been set. -func (o *RubyPackageUpload) HasStageUpdatedAt() bool { - if o != nil && o.StageUpdatedAt != nil { - return true - } - - return false -} - -// SetStageUpdatedAt gets a reference to the given string and assigns it to the StageUpdatedAt field. -func (o *RubyPackageUpload) SetStageUpdatedAt(v string) { - o.StageUpdatedAt = &v -} - -// GetStatus returns the Status field value if set, zero value otherwise. -func (o *RubyPackageUpload) GetStatus() int64 { - if o == nil || o.Status == nil { - var ret int64 - return ret - } - return *o.Status -} - -// GetStatusOk returns a tuple with the Status field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *RubyPackageUpload) GetStatusOk() (*int64, bool) { - if o == nil || o.Status == nil { - return nil, false - } - return o.Status, true -} - -// HasStatus returns a boolean if a field has been set. -func (o *RubyPackageUpload) HasStatus() bool { - if o != nil && o.Status != nil { - return true - } - - return false -} - -// SetStatus gets a reference to the given int64 and assigns it to the Status field. -func (o *RubyPackageUpload) SetStatus(v int64) { - o.Status = &v -} - -// GetStatusReason returns the StatusReason field value if set, zero value otherwise. -func (o *RubyPackageUpload) GetStatusReason() string { - if o == nil || o.StatusReason == nil { - var ret string - return ret - } - return *o.StatusReason -} - -// GetStatusReasonOk returns a tuple with the StatusReason field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *RubyPackageUpload) GetStatusReasonOk() (*string, bool) { - if o == nil || o.StatusReason == nil { - return nil, false - } - return o.StatusReason, true -} - -// HasStatusReason returns a boolean if a field has been set. -func (o *RubyPackageUpload) HasStatusReason() bool { - if o != nil && o.StatusReason != nil { - return true - } - - return false -} - -// SetStatusReason gets a reference to the given string and assigns it to the StatusReason field. -func (o *RubyPackageUpload) SetStatusReason(v string) { - o.StatusReason = &v -} - -// GetStatusStr returns the StatusStr field value if set, zero value otherwise. -func (o *RubyPackageUpload) GetStatusStr() string { - if o == nil || o.StatusStr == nil { - var ret string - return ret - } - return *o.StatusStr -} - -// GetStatusStrOk returns a tuple with the StatusStr field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *RubyPackageUpload) GetStatusStrOk() (*string, bool) { - if o == nil || o.StatusStr == nil { - return nil, false - } - return o.StatusStr, true -} - -// HasStatusStr returns a boolean if a field has been set. -func (o *RubyPackageUpload) HasStatusStr() bool { - if o != nil && o.StatusStr != nil { - return true - } - - return false -} - -// SetStatusStr gets a reference to the given string and assigns it to the StatusStr field. -func (o *RubyPackageUpload) SetStatusStr(v string) { - o.StatusStr = &v -} - -// GetStatusUpdatedAt returns the StatusUpdatedAt field value if set, zero value otherwise. -func (o *RubyPackageUpload) GetStatusUpdatedAt() string { - if o == nil || o.StatusUpdatedAt == nil { - var ret string - return ret - } - return *o.StatusUpdatedAt -} - -// GetStatusUpdatedAtOk returns a tuple with the StatusUpdatedAt field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *RubyPackageUpload) GetStatusUpdatedAtOk() (*string, bool) { - if o == nil || o.StatusUpdatedAt == nil { - return nil, false - } - return o.StatusUpdatedAt, true -} - -// HasStatusUpdatedAt returns a boolean if a field has been set. -func (o *RubyPackageUpload) HasStatusUpdatedAt() bool { - if o != nil && o.StatusUpdatedAt != nil { - return true - } - - return false -} - -// SetStatusUpdatedAt gets a reference to the given string and assigns it to the StatusUpdatedAt field. -func (o *RubyPackageUpload) SetStatusUpdatedAt(v string) { - o.StatusUpdatedAt = &v -} - -// GetStatusUrl returns the StatusUrl field value if set, zero value otherwise. -func (o *RubyPackageUpload) GetStatusUrl() string { - if o == nil || o.StatusUrl == nil { - var ret string - return ret - } - return *o.StatusUrl -} - -// GetStatusUrlOk returns a tuple with the StatusUrl field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *RubyPackageUpload) GetStatusUrlOk() (*string, bool) { - if o == nil || o.StatusUrl == nil { - return nil, false - } - return o.StatusUrl, true -} - -// HasStatusUrl returns a boolean if a field has been set. -func (o *RubyPackageUpload) HasStatusUrl() bool { - if o != nil && o.StatusUrl != nil { - return true - } - - return false -} - -// SetStatusUrl gets a reference to the given string and assigns it to the StatusUrl field. -func (o *RubyPackageUpload) SetStatusUrl(v string) { - o.StatusUrl = &v -} - -// GetSubtype returns the Subtype field value if set, zero value otherwise. -func (o *RubyPackageUpload) GetSubtype() string { - if o == nil || o.Subtype == nil { - var ret string - return ret - } - return *o.Subtype -} - -// GetSubtypeOk returns a tuple with the Subtype field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *RubyPackageUpload) GetSubtypeOk() (*string, bool) { - if o == nil || o.Subtype == nil { - return nil, false - } - return o.Subtype, true -} - -// HasSubtype returns a boolean if a field has been set. -func (o *RubyPackageUpload) HasSubtype() bool { - if o != nil && o.Subtype != nil { - return true - } - - return false -} - -// SetSubtype gets a reference to the given string and assigns it to the Subtype field. -func (o *RubyPackageUpload) SetSubtype(v string) { - o.Subtype = &v -} - -// GetSummary returns the Summary field value if set, zero value otherwise. -func (o *RubyPackageUpload) GetSummary() string { - if o == nil || o.Summary == nil { - var ret string - return ret - } - return *o.Summary -} - -// GetSummaryOk returns a tuple with the Summary field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *RubyPackageUpload) GetSummaryOk() (*string, bool) { - if o == nil || o.Summary == nil { - return nil, false - } - return o.Summary, true -} - -// HasSummary returns a boolean if a field has been set. -func (o *RubyPackageUpload) HasSummary() bool { - if o != nil && o.Summary != nil { - return true - } - - return false -} - -// SetSummary gets a reference to the given string and assigns it to the Summary field. -func (o *RubyPackageUpload) SetSummary(v string) { - o.Summary = &v -} - -// GetSyncFinishedAt returns the SyncFinishedAt field value if set, zero value otherwise. -func (o *RubyPackageUpload) GetSyncFinishedAt() string { - if o == nil || o.SyncFinishedAt == nil { - var ret string - return ret - } - return *o.SyncFinishedAt -} - -// GetSyncFinishedAtOk returns a tuple with the SyncFinishedAt field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *RubyPackageUpload) GetSyncFinishedAtOk() (*string, bool) { - if o == nil || o.SyncFinishedAt == nil { - return nil, false - } - return o.SyncFinishedAt, true -} - -// HasSyncFinishedAt returns a boolean if a field has been set. -func (o *RubyPackageUpload) HasSyncFinishedAt() bool { - if o != nil && o.SyncFinishedAt != nil { - return true - } - - return false -} - -// SetSyncFinishedAt gets a reference to the given string and assigns it to the SyncFinishedAt field. -func (o *RubyPackageUpload) SetSyncFinishedAt(v string) { - o.SyncFinishedAt = &v -} - -// GetSyncProgress returns the SyncProgress field value if set, zero value otherwise. -func (o *RubyPackageUpload) GetSyncProgress() int64 { - if o == nil || o.SyncProgress == nil { - var ret int64 - return ret - } - return *o.SyncProgress -} - -// GetSyncProgressOk returns a tuple with the SyncProgress field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *RubyPackageUpload) GetSyncProgressOk() (*int64, bool) { - if o == nil || o.SyncProgress == nil { - return nil, false - } - return o.SyncProgress, true -} - -// HasSyncProgress returns a boolean if a field has been set. -func (o *RubyPackageUpload) HasSyncProgress() bool { - if o != nil && o.SyncProgress != nil { - return true - } - - return false -} - -// SetSyncProgress gets a reference to the given int64 and assigns it to the SyncProgress field. -func (o *RubyPackageUpload) SetSyncProgress(v int64) { - o.SyncProgress = &v -} - -// GetTagsImmutable returns the TagsImmutable field value if set, zero value otherwise. -func (o *RubyPackageUpload) GetTagsImmutable() map[string]interface{} { - if o == nil || o.TagsImmutable == nil { - var ret map[string]interface{} - return ret - } - return o.TagsImmutable -} - -// GetTagsImmutableOk returns a tuple with the TagsImmutable field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *RubyPackageUpload) GetTagsImmutableOk() (map[string]interface{}, bool) { - if o == nil || o.TagsImmutable == nil { - return nil, false - } - return o.TagsImmutable, true -} - -// HasTagsImmutable returns a boolean if a field has been set. -func (o *RubyPackageUpload) HasTagsImmutable() bool { - if o != nil && o.TagsImmutable != nil { - return true - } - - return false -} - -// SetTagsImmutable gets a reference to the given map[string]interface{} and assigns it to the TagsImmutable field. -func (o *RubyPackageUpload) SetTagsImmutable(v map[string]interface{}) { - o.TagsImmutable = v -} - -// GetTypeDisplay returns the TypeDisplay field value if set, zero value otherwise. -func (o *RubyPackageUpload) GetTypeDisplay() string { - if o == nil || o.TypeDisplay == nil { - var ret string - return ret - } - return *o.TypeDisplay -} - -// GetTypeDisplayOk returns a tuple with the TypeDisplay field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *RubyPackageUpload) GetTypeDisplayOk() (*string, bool) { - if o == nil || o.TypeDisplay == nil { - return nil, false - } - return o.TypeDisplay, true -} - -// HasTypeDisplay returns a boolean if a field has been set. -func (o *RubyPackageUpload) HasTypeDisplay() bool { - if o != nil && o.TypeDisplay != nil { - return true - } - - return false -} - -// SetTypeDisplay gets a reference to the given string and assigns it to the TypeDisplay field. -func (o *RubyPackageUpload) SetTypeDisplay(v string) { - o.TypeDisplay = &v -} - -// GetUploadedAt returns the UploadedAt field value if set, zero value otherwise. -func (o *RubyPackageUpload) GetUploadedAt() string { - if o == nil || o.UploadedAt == nil { - var ret string - return ret - } - return *o.UploadedAt -} - -// GetUploadedAtOk returns a tuple with the UploadedAt field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *RubyPackageUpload) GetUploadedAtOk() (*string, bool) { - if o == nil || o.UploadedAt == nil { - return nil, false - } - return o.UploadedAt, true -} - -// HasUploadedAt returns a boolean if a field has been set. -func (o *RubyPackageUpload) HasUploadedAt() bool { - if o != nil && o.UploadedAt != nil { - return true - } - - return false -} - -// SetUploadedAt gets a reference to the given string and assigns it to the UploadedAt field. -func (o *RubyPackageUpload) SetUploadedAt(v string) { - o.UploadedAt = &v -} - -// GetUploader returns the Uploader field value if set, zero value otherwise. -func (o *RubyPackageUpload) GetUploader() string { - if o == nil || o.Uploader == nil { - var ret string - return ret - } - return *o.Uploader -} - -// GetUploaderOk returns a tuple with the Uploader field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *RubyPackageUpload) GetUploaderOk() (*string, bool) { - if o == nil || o.Uploader == nil { - return nil, false - } - return o.Uploader, true -} - -// HasUploader returns a boolean if a field has been set. -func (o *RubyPackageUpload) HasUploader() bool { - if o != nil && o.Uploader != nil { - return true - } - - return false -} - -// SetUploader gets a reference to the given string and assigns it to the Uploader field. -func (o *RubyPackageUpload) SetUploader(v string) { - o.Uploader = &v -} - -// GetUploaderUrl returns the UploaderUrl field value if set, zero value otherwise. -func (o *RubyPackageUpload) GetUploaderUrl() string { - if o == nil || o.UploaderUrl == nil { - var ret string - return ret - } - return *o.UploaderUrl -} - -// GetUploaderUrlOk returns a tuple with the UploaderUrl field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *RubyPackageUpload) GetUploaderUrlOk() (*string, bool) { - if o == nil || o.UploaderUrl == nil { - return nil, false - } - return o.UploaderUrl, true -} - -// HasUploaderUrl returns a boolean if a field has been set. -func (o *RubyPackageUpload) HasUploaderUrl() bool { - if o != nil && o.UploaderUrl != nil { - return true - } - - return false -} - -// SetUploaderUrl gets a reference to the given string and assigns it to the UploaderUrl field. -func (o *RubyPackageUpload) SetUploaderUrl(v string) { - o.UploaderUrl = &v -} - -// GetVersion returns the Version field value if set, zero value otherwise. -func (o *RubyPackageUpload) GetVersion() string { - if o == nil || o.Version == nil { - var ret string - return ret - } - return *o.Version -} - -// GetVersionOk returns a tuple with the Version field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *RubyPackageUpload) GetVersionOk() (*string, bool) { - if o == nil || o.Version == nil { - return nil, false - } - return o.Version, true -} - -// HasVersion returns a boolean if a field has been set. -func (o *RubyPackageUpload) HasVersion() bool { - if o != nil && o.Version != nil { - return true - } - - return false -} - -// SetVersion gets a reference to the given string and assigns it to the Version field. -func (o *RubyPackageUpload) SetVersion(v string) { - o.Version = &v -} - -// GetVersionOrig returns the VersionOrig field value if set, zero value otherwise. -func (o *RubyPackageUpload) GetVersionOrig() string { - if o == nil || o.VersionOrig == nil { - var ret string - return ret - } - return *o.VersionOrig -} - -// GetVersionOrigOk returns a tuple with the VersionOrig field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *RubyPackageUpload) GetVersionOrigOk() (*string, bool) { - if o == nil || o.VersionOrig == nil { - return nil, false - } - return o.VersionOrig, true -} - -// HasVersionOrig returns a boolean if a field has been set. -func (o *RubyPackageUpload) HasVersionOrig() bool { - if o != nil && o.VersionOrig != nil { - return true - } - - return false -} - -// SetVersionOrig gets a reference to the given string and assigns it to the VersionOrig field. -func (o *RubyPackageUpload) SetVersionOrig(v string) { - o.VersionOrig = &v -} - -// GetVulnerabilityScanResultsUrl returns the VulnerabilityScanResultsUrl field value if set, zero value otherwise. -func (o *RubyPackageUpload) GetVulnerabilityScanResultsUrl() string { - if o == nil || o.VulnerabilityScanResultsUrl == nil { - var ret string - return ret - } - return *o.VulnerabilityScanResultsUrl -} - -// GetVulnerabilityScanResultsUrlOk returns a tuple with the VulnerabilityScanResultsUrl field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *RubyPackageUpload) GetVulnerabilityScanResultsUrlOk() (*string, bool) { - if o == nil || o.VulnerabilityScanResultsUrl == nil { - return nil, false - } - return o.VulnerabilityScanResultsUrl, true -} - -// HasVulnerabilityScanResultsUrl returns a boolean if a field has been set. -func (o *RubyPackageUpload) HasVulnerabilityScanResultsUrl() bool { - if o != nil && o.VulnerabilityScanResultsUrl != nil { - return true - } - - return false -} - -// SetVulnerabilityScanResultsUrl gets a reference to the given string and assigns it to the VulnerabilityScanResultsUrl field. -func (o *RubyPackageUpload) SetVulnerabilityScanResultsUrl(v string) { - o.VulnerabilityScanResultsUrl = &v -} - -func (o RubyPackageUpload) MarshalJSON() ([]byte, error) { - toSerialize := map[string]interface{}{} - if o.Architectures != nil { - toSerialize["architectures"] = o.Architectures - } - if o.CdnUrl != nil { - toSerialize["cdn_url"] = o.CdnUrl - } - if o.ChecksumMd5 != nil { - toSerialize["checksum_md5"] = o.ChecksumMd5 - } - if o.ChecksumSha1 != nil { - toSerialize["checksum_sha1"] = o.ChecksumSha1 - } - if o.ChecksumSha256 != nil { - toSerialize["checksum_sha256"] = o.ChecksumSha256 - } - if o.ChecksumSha512 != nil { - toSerialize["checksum_sha512"] = o.ChecksumSha512 - } - if o.DependenciesChecksumMd5 != nil { - toSerialize["dependencies_checksum_md5"] = o.DependenciesChecksumMd5 - } - if o.DependenciesUrl != nil { - toSerialize["dependencies_url"] = o.DependenciesUrl - } - if o.Description != nil { - toSerialize["description"] = o.Description - } - if o.Distro != nil { - toSerialize["distro"] = o.Distro - } - if o.DistroVersion != nil { - toSerialize["distro_version"] = o.DistroVersion - } - if o.Downloads != nil { - toSerialize["downloads"] = o.Downloads - } - if o.Epoch != nil { - toSerialize["epoch"] = o.Epoch - } - if o.Extension != nil { - toSerialize["extension"] = o.Extension - } - if o.Filename != nil { - toSerialize["filename"] = o.Filename - } - if o.Files != nil { - toSerialize["files"] = o.Files - } - if o.Format != nil { - toSerialize["format"] = o.Format - } - if o.FormatUrl != nil { - toSerialize["format_url"] = o.FormatUrl - } - if o.IdentifierPerm != nil { - toSerialize["identifier_perm"] = o.IdentifierPerm - } - if o.Indexed != nil { - toSerialize["indexed"] = o.Indexed - } - if o.IsDownloadable != nil { - toSerialize["is_downloadable"] = o.IsDownloadable - } - if o.IsQuarantined != nil { - toSerialize["is_quarantined"] = o.IsQuarantined - } - if o.IsSyncAwaiting != nil { - toSerialize["is_sync_awaiting"] = o.IsSyncAwaiting - } - if o.IsSyncCompleted != nil { - toSerialize["is_sync_completed"] = o.IsSyncCompleted - } - if o.IsSyncFailed != nil { - toSerialize["is_sync_failed"] = o.IsSyncFailed - } - if o.IsSyncInFlight != nil { - toSerialize["is_sync_in_flight"] = o.IsSyncInFlight - } - if o.IsSyncInProgress != nil { - toSerialize["is_sync_in_progress"] = o.IsSyncInProgress - } - if o.License != nil { - toSerialize["license"] = o.License - } - if o.Name != nil { - toSerialize["name"] = o.Name - } - if o.Namespace != nil { - toSerialize["namespace"] = o.Namespace - } - if o.NamespaceUrl != nil { - toSerialize["namespace_url"] = o.NamespaceUrl - } - if o.NumFiles != nil { - toSerialize["num_files"] = o.NumFiles - } - if o.PackageType != nil { - toSerialize["package_type"] = o.PackageType - } - if o.Release != nil { - toSerialize["release"] = o.Release - } - if o.Repository != nil { - toSerialize["repository"] = o.Repository - } - if o.RepositoryUrl != nil { - toSerialize["repository_url"] = o.RepositoryUrl - } - if o.SecurityScanCompletedAt != nil { - toSerialize["security_scan_completed_at"] = o.SecurityScanCompletedAt - } - if o.SecurityScanStartedAt != nil { - toSerialize["security_scan_started_at"] = o.SecurityScanStartedAt - } - if o.SecurityScanStatus != nil { - toSerialize["security_scan_status"] = o.SecurityScanStatus - } - if o.SecurityScanStatusUpdatedAt != nil { - toSerialize["security_scan_status_updated_at"] = o.SecurityScanStatusUpdatedAt - } - if o.SelfHtmlUrl != nil { - toSerialize["self_html_url"] = o.SelfHtmlUrl - } - if o.SelfUrl != nil { - toSerialize["self_url"] = o.SelfUrl - } - if o.SignatureUrl != nil { - toSerialize["signature_url"] = o.SignatureUrl - } - if o.Size != nil { - toSerialize["size"] = o.Size - } - if o.Slug != nil { - toSerialize["slug"] = o.Slug - } - if o.SlugPerm != nil { - toSerialize["slug_perm"] = o.SlugPerm - } - if o.Stage != nil { - toSerialize["stage"] = o.Stage - } - if o.StageStr != nil { - toSerialize["stage_str"] = o.StageStr - } - if o.StageUpdatedAt != nil { - toSerialize["stage_updated_at"] = o.StageUpdatedAt - } - if o.Status != nil { - toSerialize["status"] = o.Status - } - if o.StatusReason != nil { - toSerialize["status_reason"] = o.StatusReason - } - if o.StatusStr != nil { - toSerialize["status_str"] = o.StatusStr - } - if o.StatusUpdatedAt != nil { - toSerialize["status_updated_at"] = o.StatusUpdatedAt - } - if o.StatusUrl != nil { - toSerialize["status_url"] = o.StatusUrl - } - if o.Subtype != nil { - toSerialize["subtype"] = o.Subtype - } - if o.Summary != nil { - toSerialize["summary"] = o.Summary - } - if o.SyncFinishedAt != nil { - toSerialize["sync_finished_at"] = o.SyncFinishedAt - } - if o.SyncProgress != nil { - toSerialize["sync_progress"] = o.SyncProgress - } - if o.TagsImmutable != nil { - toSerialize["tags_immutable"] = o.TagsImmutable - } - if o.TypeDisplay != nil { - toSerialize["type_display"] = o.TypeDisplay - } - if o.UploadedAt != nil { - toSerialize["uploaded_at"] = o.UploadedAt - } - if o.Uploader != nil { - toSerialize["uploader"] = o.Uploader - } - if o.UploaderUrl != nil { - toSerialize["uploader_url"] = o.UploaderUrl - } - if o.Version != nil { - toSerialize["version"] = o.Version - } - if o.VersionOrig != nil { - toSerialize["version_orig"] = o.VersionOrig - } - if o.VulnerabilityScanResultsUrl != nil { - toSerialize["vulnerability_scan_results_url"] = o.VulnerabilityScanResultsUrl - } - return json.Marshal(toSerialize) -} - -type NullableRubyPackageUpload struct { - value *RubyPackageUpload - isSet bool -} - -func (v NullableRubyPackageUpload) Get() *RubyPackageUpload { - return v.value -} - -func (v *NullableRubyPackageUpload) Set(val *RubyPackageUpload) { - v.value = val - v.isSet = true -} - -func (v NullableRubyPackageUpload) IsSet() bool { - return v.isSet -} - -func (v *NullableRubyPackageUpload) Unset() { - v.value = nil - v.isSet = false -} - -func NewNullableRubyPackageUpload(val *RubyPackageUpload) *NullableRubyPackageUpload { - return &NullableRubyPackageUpload{value: val, isSet: true} -} - -func (v NullableRubyPackageUpload) MarshalJSON() ([]byte, error) { - return json.Marshal(v.value) -} - -func (v *NullableRubyPackageUpload) UnmarshalJSON(src []byte) error { - v.isSet = true - return json.Unmarshal(src, &v.value) -} diff --git a/model_ruby_package_upload_request.go b/model_ruby_package_upload_request.go new file mode 100644 index 00000000..f80d97df --- /dev/null +++ b/model_ruby_package_upload_request.go @@ -0,0 +1,193 @@ +/* +Cloudsmith API (v1) + +The API to the Cloudsmith Service + +API version: 1.181.6 +Contact: support@cloudsmith.io +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cloudsmith + +import ( + "encoding/json" +) + +// RubyPackageUploadRequest struct for RubyPackageUploadRequest +type RubyPackageUploadRequest struct { + // The primary file for the package. + PackageFile string `json:"package_file"` + // If true, the uploaded package will overwrite any others with the same attributes (e.g. same version); otherwise, it will be flagged as a duplicate. + Republish *bool `json:"republish,omitempty"` + // A comma-separated values list of tags to add to the package. + Tags NullableString `json:"tags,omitempty"` +} + +// NewRubyPackageUploadRequest instantiates a new RubyPackageUploadRequest object +// 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 NewRubyPackageUploadRequest(packageFile string) *RubyPackageUploadRequest { + this := RubyPackageUploadRequest{} + this.PackageFile = packageFile + return &this +} + +// NewRubyPackageUploadRequestWithDefaults instantiates a new RubyPackageUploadRequest object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewRubyPackageUploadRequestWithDefaults() *RubyPackageUploadRequest { + this := RubyPackageUploadRequest{} + return &this +} + +// GetPackageFile returns the PackageFile field value +func (o *RubyPackageUploadRequest) GetPackageFile() string { + if o == nil { + var ret string + return ret + } + + return o.PackageFile +} + +// GetPackageFileOk returns a tuple with the PackageFile field value +// and a boolean to check if the value has been set. +func (o *RubyPackageUploadRequest) GetPackageFileOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.PackageFile, true +} + +// SetPackageFile sets field value +func (o *RubyPackageUploadRequest) SetPackageFile(v string) { + o.PackageFile = v +} + +// GetRepublish returns the Republish field value if set, zero value otherwise. +func (o *RubyPackageUploadRequest) GetRepublish() bool { + if o == nil || isNil(o.Republish) { + var ret bool + return ret + } + return *o.Republish +} + +// GetRepublishOk returns a tuple with the Republish field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *RubyPackageUploadRequest) GetRepublishOk() (*bool, bool) { + if o == nil || isNil(o.Republish) { + return nil, false + } + return o.Republish, true +} + +// HasRepublish returns a boolean if a field has been set. +func (o *RubyPackageUploadRequest) HasRepublish() bool { + if o != nil && !isNil(o.Republish) { + return true + } + + return false +} + +// SetRepublish gets a reference to the given bool and assigns it to the Republish field. +func (o *RubyPackageUploadRequest) SetRepublish(v bool) { + o.Republish = &v +} + +// GetTags returns the Tags field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *RubyPackageUploadRequest) GetTags() string { + if o == nil || isNil(o.Tags.Get()) { + var ret string + return ret + } + return *o.Tags.Get() +} + +// GetTagsOk returns a tuple with the Tags 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 *RubyPackageUploadRequest) GetTagsOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.Tags.Get(), o.Tags.IsSet() +} + +// HasTags returns a boolean if a field has been set. +func (o *RubyPackageUploadRequest) HasTags() bool { + if o != nil && o.Tags.IsSet() { + return true + } + + return false +} + +// SetTags gets a reference to the given NullableString and assigns it to the Tags field. +func (o *RubyPackageUploadRequest) SetTags(v string) { + o.Tags.Set(&v) +} + +// SetTagsNil sets the value for Tags to be an explicit nil +func (o *RubyPackageUploadRequest) SetTagsNil() { + o.Tags.Set(nil) +} + +// UnsetTags ensures that no value is present for Tags, not even an explicit nil +func (o *RubyPackageUploadRequest) UnsetTags() { + o.Tags.Unset() +} + +func (o RubyPackageUploadRequest) MarshalJSON() ([]byte, error) { + toSerialize := map[string]interface{}{} + if true { + toSerialize["package_file"] = o.PackageFile + } + if !isNil(o.Republish) { + toSerialize["republish"] = o.Republish + } + if o.Tags.IsSet() { + toSerialize["tags"] = o.Tags.Get() + } + return json.Marshal(toSerialize) +} + +type NullableRubyPackageUploadRequest struct { + value *RubyPackageUploadRequest + isSet bool +} + +func (v NullableRubyPackageUploadRequest) Get() *RubyPackageUploadRequest { + return v.value +} + +func (v *NullableRubyPackageUploadRequest) Set(val *RubyPackageUploadRequest) { + v.value = val + v.isSet = true +} + +func (v NullableRubyPackageUploadRequest) IsSet() bool { + return v.isSet +} + +func (v *NullableRubyPackageUploadRequest) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableRubyPackageUploadRequest(val *RubyPackageUploadRequest) *NullableRubyPackageUploadRequest { + return &NullableRubyPackageUploadRequest{value: val, isSet: true} +} + +func (v NullableRubyPackageUploadRequest) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableRubyPackageUploadRequest) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} diff --git a/model_package.go b/model_ruby_package_upload_response.go similarity index 52% rename from model_package.go rename to model_ruby_package_upload_response.go index 10d081ab..1822f8fd 100644 --- a/model_package.go +++ b/model_ruby_package_upload_response.go @@ -1,9 +1,9 @@ /* -Cloudsmith API +Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.121.3 +API version: 1.181.6 Contact: support@cloudsmith.io */ @@ -13,167 +13,126 @@ package cloudsmith import ( "encoding/json" + "time" ) -// Package struct for Package -type Package struct { - // - Architectures []PackagesOwnerRepoArchitectures `json:"architectures,omitempty"` - // - CdnUrl *string `json:"cdn_url,omitempty"` - // - ChecksumMd5 *string `json:"checksum_md5,omitempty"` - // - ChecksumSha1 *string `json:"checksum_sha1,omitempty"` - // - ChecksumSha256 *string `json:"checksum_sha256,omitempty"` - // - ChecksumSha512 *string `json:"checksum_sha512,omitempty"` +// RubyPackageUploadResponse struct for RubyPackageUploadResponse +type RubyPackageUploadResponse struct { + Architectures []Architecture `json:"architectures,omitempty"` + CdnUrl NullableString `json:"cdn_url,omitempty"` + ChecksumMd5 *string `json:"checksum_md5,omitempty"` + ChecksumSha1 *string `json:"checksum_sha1,omitempty"` + ChecksumSha256 *string `json:"checksum_sha256,omitempty"` + ChecksumSha512 *string `json:"checksum_sha512,omitempty"` // A checksum of all of the package's dependencies. DependenciesChecksumMd5 *string `json:"dependencies_checksum_md5,omitempty"` - // - DependenciesUrl *string `json:"dependencies_url,omitempty"` + DependenciesUrl *string `json:"dependencies_url,omitempty"` // A textual description of this package. - Description *string `json:"description,omitempty"` - // - Distro map[string]interface{} `json:"distro,omitempty"` - // - DistroVersion map[string]interface{} `json:"distro_version,omitempty"` - // - Downloads *int64 `json:"downloads,omitempty"` + Description *string `json:"description,omitempty"` + Distro NullableDistribution `json:"distro,omitempty"` + DistroVersion *DistributionVersion `json:"distro_version,omitempty"` + Downloads *int64 `json:"downloads,omitempty"` // The epoch of the package version (if any). - Epoch *int64 `json:"epoch,omitempty"` - // - Extension *string `json:"extension,omitempty"` - // - Filename *string `json:"filename,omitempty"` - // - Files []PackagesOwnerRepoFiles `json:"files,omitempty"` - // - Format *string `json:"format,omitempty"` - // - FormatUrl *string `json:"format_url,omitempty"` + Epoch *int64 `json:"epoch,omitempty"` + Extension *string `json:"extension,omitempty"` + Filename *string `json:"filename,omitempty"` + Files []PackageFile `json:"files,omitempty"` + Format *string `json:"format,omitempty"` + FormatUrl *string `json:"format_url,omitempty"` // Unique and permanent identifier for the package. - IdentifierPerm *string `json:"identifier_perm,omitempty"` - // - Indexed *bool `json:"indexed,omitempty"` - // - IsDownloadable *bool `json:"is_downloadable,omitempty"` - // - IsQuarantined *bool `json:"is_quarantined,omitempty"` - // - IsSyncAwaiting *bool `json:"is_sync_awaiting,omitempty"` - // - IsSyncCompleted *bool `json:"is_sync_completed,omitempty"` - // - IsSyncFailed *bool `json:"is_sync_failed,omitempty"` - // - IsSyncInFlight *bool `json:"is_sync_in_flight,omitempty"` - // - IsSyncInProgress *bool `json:"is_sync_in_progress,omitempty"` + IdentifierPerm *string `json:"identifier_perm,omitempty"` + Indexed *bool `json:"indexed,omitempty"` + IsDownloadable *bool `json:"is_downloadable,omitempty"` + IsQuarantined *bool `json:"is_quarantined,omitempty"` + IsSyncAwaiting *bool `json:"is_sync_awaiting,omitempty"` + IsSyncCompleted *bool `json:"is_sync_completed,omitempty"` + IsSyncFailed *bool `json:"is_sync_failed,omitempty"` + IsSyncInFlight *bool `json:"is_sync_in_flight,omitempty"` + IsSyncInProgress *bool `json:"is_sync_in_progress,omitempty"` // The license of this package. License *string `json:"license,omitempty"` // The name of this package. - Name *string `json:"name,omitempty"` - // - Namespace *string `json:"namespace,omitempty"` - // - NamespaceUrl *string `json:"namespace_url,omitempty"` - // - NumFiles *int64 `json:"num_files,omitempty"` + Name *string `json:"name,omitempty"` + Namespace *string `json:"namespace,omitempty"` + NamespaceUrl *string `json:"namespace_url,omitempty"` + NumFiles *int64 `json:"num_files,omitempty"` + OriginRepository *string `json:"origin_repository,omitempty"` + OriginRepositoryUrl *string `json:"origin_repository_url,omitempty"` // The type of package contents. PackageType *int64 `json:"package_type,omitempty"` // The release of the package version (if any). - Release *string `json:"release,omitempty"` - // - Repository *string `json:"repository,omitempty"` - // + Release *string `json:"release,omitempty"` + Repository *string `json:"repository,omitempty"` RepositoryUrl *string `json:"repository_url,omitempty"` // The datetime the security scanning was completed. - SecurityScanCompletedAt *string `json:"security_scan_completed_at,omitempty"` + SecurityScanCompletedAt *time.Time `json:"security_scan_completed_at,omitempty"` // The datetime the security scanning was started. - SecurityScanStartedAt *string `json:"security_scan_started_at,omitempty"` - // - SecurityScanStatus *string `json:"security_scan_status,omitempty"` + SecurityScanStartedAt *time.Time `json:"security_scan_started_at,omitempty"` + SecurityScanStatus NullableString `json:"security_scan_status,omitempty"` // The datetime the security scanning status was updated. - SecurityScanStatusUpdatedAt *string `json:"security_scan_status_updated_at,omitempty"` - // - SelfHtmlUrl *string `json:"self_html_url,omitempty"` - // - SelfUrl *string `json:"self_url,omitempty"` - // - SignatureUrl *string `json:"signature_url,omitempty"` + SecurityScanStatusUpdatedAt *time.Time `json:"security_scan_status_updated_at,omitempty"` + SelfHtmlUrl *string `json:"self_html_url,omitempty"` + SelfUrl *string `json:"self_url,omitempty"` + SignatureUrl NullableString `json:"signature_url,omitempty"` // The calculated size of the package. Size *int64 `json:"size,omitempty"` // The public unique identifier for the package. - Slug *string `json:"slug,omitempty"` - // + Slug *string `json:"slug,omitempty"` SlugPerm *string `json:"slug_perm,omitempty"` // The synchronisation (in progress) stage of the package. - Stage *int64 `json:"stage,omitempty"` - // + Stage *int64 `json:"stage,omitempty"` StageStr *string `json:"stage_str,omitempty"` // The datetime the package stage was updated at. - StageUpdatedAt *string `json:"stage_updated_at,omitempty"` + StageUpdatedAt *time.Time `json:"stage_updated_at,omitempty"` // The synchronisation status of the package. Status *int64 `json:"status,omitempty"` // A textual description for the synchronous status reason (if any StatusReason *string `json:"status_reason,omitempty"` - // - StatusStr *string `json:"status_str,omitempty"` + StatusStr *string `json:"status_str,omitempty"` // The datetime the package status was updated at. - StatusUpdatedAt *string `json:"status_updated_at,omitempty"` - // - StatusUrl *string `json:"status_url,omitempty"` - // - Subtype *string `json:"subtype,omitempty"` + StatusUpdatedAt *time.Time `json:"status_updated_at,omitempty"` + StatusUrl *string `json:"status_url,omitempty"` + Subtype *string `json:"subtype,omitempty"` // A one-liner synopsis of this package. Summary *string `json:"summary,omitempty"` // The datetime the package sync was finished at. - SyncFinishedAt *string `json:"sync_finished_at,omitempty"` + SyncFinishedAt *time.Time `json:"sync_finished_at,omitempty"` // Synchronisation progress (from 0-100) SyncProgress *int64 `json:"sync_progress,omitempty"` // All tags on the package, grouped by tag type. This includes immutable tags, but doesn't distinguish them from mutable. To see which tags are immutable specifically, see the tags_immutable field. - Tags map[string]interface{} `json:"tags,omitempty"` - // All immutable tags on the package, grouped by tag type. Immutable tags cannot be (easily) deleted. TagsImmutable map[string]interface{} `json:"tags_immutable,omitempty"` - // - TypeDisplay *string `json:"type_display,omitempty"` + TypeDisplay *string `json:"type_display,omitempty"` // The date this package was uploaded. - UploadedAt *string `json:"uploaded_at,omitempty"` - // - Uploader *string `json:"uploader,omitempty"` - // - UploaderUrl *string `json:"uploader_url,omitempty"` + UploadedAt *time.Time `json:"uploaded_at,omitempty"` + Uploader *string `json:"uploader,omitempty"` + UploaderUrl *string `json:"uploader_url,omitempty"` // The raw version for this package. - Version *string `json:"version,omitempty"` - // - VersionOrig *string `json:"version_orig,omitempty"` - // + Version *string `json:"version,omitempty"` + VersionOrig *string `json:"version_orig,omitempty"` VulnerabilityScanResultsUrl *string `json:"vulnerability_scan_results_url,omitempty"` } -// NewPackage instantiates a new Package object +// NewRubyPackageUploadResponse instantiates a new RubyPackageUploadResponse object // 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 NewPackage() *Package { - this := Package{} +func NewRubyPackageUploadResponse() *RubyPackageUploadResponse { + this := RubyPackageUploadResponse{} return &this } -// NewPackageWithDefaults instantiates a new Package object +// NewRubyPackageUploadResponseWithDefaults instantiates a new RubyPackageUploadResponse object // This constructor will only assign default values to properties that have it defined, // but it doesn't guarantee that properties required by API are set -func NewPackageWithDefaults() *Package { - this := Package{} +func NewRubyPackageUploadResponseWithDefaults() *RubyPackageUploadResponse { + this := RubyPackageUploadResponse{} return &this } // GetArchitectures returns the Architectures field value if set, zero value otherwise. -func (o *Package) GetArchitectures() []PackagesOwnerRepoArchitectures { - if o == nil || o.Architectures == nil { - var ret []PackagesOwnerRepoArchitectures +func (o *RubyPackageUploadResponse) GetArchitectures() []Architecture { + if o == nil || isNil(o.Architectures) { + var ret []Architecture return ret } return o.Architectures @@ -181,62 +140,73 @@ func (o *Package) GetArchitectures() []PackagesOwnerRepoArchitectures { // GetArchitecturesOk returns a tuple with the Architectures field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *Package) GetArchitecturesOk() ([]PackagesOwnerRepoArchitectures, bool) { - if o == nil || o.Architectures == nil { +func (o *RubyPackageUploadResponse) GetArchitecturesOk() ([]Architecture, bool) { + if o == nil || isNil(o.Architectures) { return nil, false } return o.Architectures, true } // HasArchitectures returns a boolean if a field has been set. -func (o *Package) HasArchitectures() bool { - if o != nil && o.Architectures != nil { +func (o *RubyPackageUploadResponse) HasArchitectures() bool { + if o != nil && !isNil(o.Architectures) { return true } return false } -// SetArchitectures gets a reference to the given []PackagesOwnerRepoArchitectures and assigns it to the Architectures field. -func (o *Package) SetArchitectures(v []PackagesOwnerRepoArchitectures) { +// SetArchitectures gets a reference to the given []Architecture and assigns it to the Architectures field. +func (o *RubyPackageUploadResponse) SetArchitectures(v []Architecture) { o.Architectures = v } -// GetCdnUrl returns the CdnUrl field value if set, zero value otherwise. -func (o *Package) GetCdnUrl() string { - if o == nil || o.CdnUrl == nil { +// GetCdnUrl returns the CdnUrl field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *RubyPackageUploadResponse) GetCdnUrl() string { + if o == nil || isNil(o.CdnUrl.Get()) { var ret string return ret } - return *o.CdnUrl + return *o.CdnUrl.Get() } // GetCdnUrlOk returns a tuple with the CdnUrl field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *Package) GetCdnUrlOk() (*string, bool) { - if o == nil || o.CdnUrl == nil { +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *RubyPackageUploadResponse) GetCdnUrlOk() (*string, bool) { + if o == nil { return nil, false } - return o.CdnUrl, true + return o.CdnUrl.Get(), o.CdnUrl.IsSet() } // HasCdnUrl returns a boolean if a field has been set. -func (o *Package) HasCdnUrl() bool { - if o != nil && o.CdnUrl != nil { +func (o *RubyPackageUploadResponse) HasCdnUrl() bool { + if o != nil && o.CdnUrl.IsSet() { return true } return false } -// SetCdnUrl gets a reference to the given string and assigns it to the CdnUrl field. -func (o *Package) SetCdnUrl(v string) { - o.CdnUrl = &v +// SetCdnUrl gets a reference to the given NullableString and assigns it to the CdnUrl field. +func (o *RubyPackageUploadResponse) SetCdnUrl(v string) { + o.CdnUrl.Set(&v) +} + +// SetCdnUrlNil sets the value for CdnUrl to be an explicit nil +func (o *RubyPackageUploadResponse) SetCdnUrlNil() { + o.CdnUrl.Set(nil) +} + +// UnsetCdnUrl ensures that no value is present for CdnUrl, not even an explicit nil +func (o *RubyPackageUploadResponse) UnsetCdnUrl() { + o.CdnUrl.Unset() } // GetChecksumMd5 returns the ChecksumMd5 field value if set, zero value otherwise. -func (o *Package) GetChecksumMd5() string { - if o == nil || o.ChecksumMd5 == nil { +func (o *RubyPackageUploadResponse) GetChecksumMd5() string { + if o == nil || isNil(o.ChecksumMd5) { var ret string return ret } @@ -245,16 +215,16 @@ func (o *Package) GetChecksumMd5() string { // GetChecksumMd5Ok returns a tuple with the ChecksumMd5 field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *Package) GetChecksumMd5Ok() (*string, bool) { - if o == nil || o.ChecksumMd5 == nil { +func (o *RubyPackageUploadResponse) GetChecksumMd5Ok() (*string, bool) { + if o == nil || isNil(o.ChecksumMd5) { return nil, false } return o.ChecksumMd5, true } // HasChecksumMd5 returns a boolean if a field has been set. -func (o *Package) HasChecksumMd5() bool { - if o != nil && o.ChecksumMd5 != nil { +func (o *RubyPackageUploadResponse) HasChecksumMd5() bool { + if o != nil && !isNil(o.ChecksumMd5) { return true } @@ -262,13 +232,13 @@ func (o *Package) HasChecksumMd5() bool { } // SetChecksumMd5 gets a reference to the given string and assigns it to the ChecksumMd5 field. -func (o *Package) SetChecksumMd5(v string) { +func (o *RubyPackageUploadResponse) SetChecksumMd5(v string) { o.ChecksumMd5 = &v } // GetChecksumSha1 returns the ChecksumSha1 field value if set, zero value otherwise. -func (o *Package) GetChecksumSha1() string { - if o == nil || o.ChecksumSha1 == nil { +func (o *RubyPackageUploadResponse) GetChecksumSha1() string { + if o == nil || isNil(o.ChecksumSha1) { var ret string return ret } @@ -277,16 +247,16 @@ func (o *Package) GetChecksumSha1() string { // GetChecksumSha1Ok returns a tuple with the ChecksumSha1 field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *Package) GetChecksumSha1Ok() (*string, bool) { - if o == nil || o.ChecksumSha1 == nil { +func (o *RubyPackageUploadResponse) GetChecksumSha1Ok() (*string, bool) { + if o == nil || isNil(o.ChecksumSha1) { return nil, false } return o.ChecksumSha1, true } // HasChecksumSha1 returns a boolean if a field has been set. -func (o *Package) HasChecksumSha1() bool { - if o != nil && o.ChecksumSha1 != nil { +func (o *RubyPackageUploadResponse) HasChecksumSha1() bool { + if o != nil && !isNil(o.ChecksumSha1) { return true } @@ -294,13 +264,13 @@ func (o *Package) HasChecksumSha1() bool { } // SetChecksumSha1 gets a reference to the given string and assigns it to the ChecksumSha1 field. -func (o *Package) SetChecksumSha1(v string) { +func (o *RubyPackageUploadResponse) SetChecksumSha1(v string) { o.ChecksumSha1 = &v } // GetChecksumSha256 returns the ChecksumSha256 field value if set, zero value otherwise. -func (o *Package) GetChecksumSha256() string { - if o == nil || o.ChecksumSha256 == nil { +func (o *RubyPackageUploadResponse) GetChecksumSha256() string { + if o == nil || isNil(o.ChecksumSha256) { var ret string return ret } @@ -309,16 +279,16 @@ func (o *Package) GetChecksumSha256() string { // GetChecksumSha256Ok returns a tuple with the ChecksumSha256 field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *Package) GetChecksumSha256Ok() (*string, bool) { - if o == nil || o.ChecksumSha256 == nil { +func (o *RubyPackageUploadResponse) GetChecksumSha256Ok() (*string, bool) { + if o == nil || isNil(o.ChecksumSha256) { return nil, false } return o.ChecksumSha256, true } // HasChecksumSha256 returns a boolean if a field has been set. -func (o *Package) HasChecksumSha256() bool { - if o != nil && o.ChecksumSha256 != nil { +func (o *RubyPackageUploadResponse) HasChecksumSha256() bool { + if o != nil && !isNil(o.ChecksumSha256) { return true } @@ -326,13 +296,13 @@ func (o *Package) HasChecksumSha256() bool { } // SetChecksumSha256 gets a reference to the given string and assigns it to the ChecksumSha256 field. -func (o *Package) SetChecksumSha256(v string) { +func (o *RubyPackageUploadResponse) SetChecksumSha256(v string) { o.ChecksumSha256 = &v } // GetChecksumSha512 returns the ChecksumSha512 field value if set, zero value otherwise. -func (o *Package) GetChecksumSha512() string { - if o == nil || o.ChecksumSha512 == nil { +func (o *RubyPackageUploadResponse) GetChecksumSha512() string { + if o == nil || isNil(o.ChecksumSha512) { var ret string return ret } @@ -341,16 +311,16 @@ func (o *Package) GetChecksumSha512() string { // GetChecksumSha512Ok returns a tuple with the ChecksumSha512 field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *Package) GetChecksumSha512Ok() (*string, bool) { - if o == nil || o.ChecksumSha512 == nil { +func (o *RubyPackageUploadResponse) GetChecksumSha512Ok() (*string, bool) { + if o == nil || isNil(o.ChecksumSha512) { return nil, false } return o.ChecksumSha512, true } // HasChecksumSha512 returns a boolean if a field has been set. -func (o *Package) HasChecksumSha512() bool { - if o != nil && o.ChecksumSha512 != nil { +func (o *RubyPackageUploadResponse) HasChecksumSha512() bool { + if o != nil && !isNil(o.ChecksumSha512) { return true } @@ -358,13 +328,13 @@ func (o *Package) HasChecksumSha512() bool { } // SetChecksumSha512 gets a reference to the given string and assigns it to the ChecksumSha512 field. -func (o *Package) SetChecksumSha512(v string) { +func (o *RubyPackageUploadResponse) SetChecksumSha512(v string) { o.ChecksumSha512 = &v } // GetDependenciesChecksumMd5 returns the DependenciesChecksumMd5 field value if set, zero value otherwise. -func (o *Package) GetDependenciesChecksumMd5() string { - if o == nil || o.DependenciesChecksumMd5 == nil { +func (o *RubyPackageUploadResponse) GetDependenciesChecksumMd5() string { + if o == nil || isNil(o.DependenciesChecksumMd5) { var ret string return ret } @@ -373,16 +343,16 @@ func (o *Package) GetDependenciesChecksumMd5() string { // GetDependenciesChecksumMd5Ok returns a tuple with the DependenciesChecksumMd5 field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *Package) GetDependenciesChecksumMd5Ok() (*string, bool) { - if o == nil || o.DependenciesChecksumMd5 == nil { +func (o *RubyPackageUploadResponse) GetDependenciesChecksumMd5Ok() (*string, bool) { + if o == nil || isNil(o.DependenciesChecksumMd5) { return nil, false } return o.DependenciesChecksumMd5, true } // HasDependenciesChecksumMd5 returns a boolean if a field has been set. -func (o *Package) HasDependenciesChecksumMd5() bool { - if o != nil && o.DependenciesChecksumMd5 != nil { +func (o *RubyPackageUploadResponse) HasDependenciesChecksumMd5() bool { + if o != nil && !isNil(o.DependenciesChecksumMd5) { return true } @@ -390,13 +360,13 @@ func (o *Package) HasDependenciesChecksumMd5() bool { } // SetDependenciesChecksumMd5 gets a reference to the given string and assigns it to the DependenciesChecksumMd5 field. -func (o *Package) SetDependenciesChecksumMd5(v string) { +func (o *RubyPackageUploadResponse) SetDependenciesChecksumMd5(v string) { o.DependenciesChecksumMd5 = &v } // GetDependenciesUrl returns the DependenciesUrl field value if set, zero value otherwise. -func (o *Package) GetDependenciesUrl() string { - if o == nil || o.DependenciesUrl == nil { +func (o *RubyPackageUploadResponse) GetDependenciesUrl() string { + if o == nil || isNil(o.DependenciesUrl) { var ret string return ret } @@ -405,16 +375,16 @@ func (o *Package) GetDependenciesUrl() string { // GetDependenciesUrlOk returns a tuple with the DependenciesUrl field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *Package) GetDependenciesUrlOk() (*string, bool) { - if o == nil || o.DependenciesUrl == nil { +func (o *RubyPackageUploadResponse) GetDependenciesUrlOk() (*string, bool) { + if o == nil || isNil(o.DependenciesUrl) { return nil, false } return o.DependenciesUrl, true } // HasDependenciesUrl returns a boolean if a field has been set. -func (o *Package) HasDependenciesUrl() bool { - if o != nil && o.DependenciesUrl != nil { +func (o *RubyPackageUploadResponse) HasDependenciesUrl() bool { + if o != nil && !isNil(o.DependenciesUrl) { return true } @@ -422,13 +392,13 @@ func (o *Package) HasDependenciesUrl() bool { } // SetDependenciesUrl gets a reference to the given string and assigns it to the DependenciesUrl field. -func (o *Package) SetDependenciesUrl(v string) { +func (o *RubyPackageUploadResponse) SetDependenciesUrl(v string) { o.DependenciesUrl = &v } // GetDescription returns the Description field value if set, zero value otherwise. -func (o *Package) GetDescription() string { - if o == nil || o.Description == nil { +func (o *RubyPackageUploadResponse) GetDescription() string { + if o == nil || isNil(o.Description) { var ret string return ret } @@ -437,16 +407,16 @@ func (o *Package) GetDescription() string { // GetDescriptionOk returns a tuple with the Description field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *Package) GetDescriptionOk() (*string, bool) { - if o == nil || o.Description == nil { +func (o *RubyPackageUploadResponse) GetDescriptionOk() (*string, bool) { + if o == nil || isNil(o.Description) { return nil, false } return o.Description, true } // HasDescription returns a boolean if a field has been set. -func (o *Package) HasDescription() bool { - if o != nil && o.Description != nil { +func (o *RubyPackageUploadResponse) HasDescription() bool { + if o != nil && !isNil(o.Description) { return true } @@ -454,77 +424,88 @@ func (o *Package) HasDescription() bool { } // SetDescription gets a reference to the given string and assigns it to the Description field. -func (o *Package) SetDescription(v string) { +func (o *RubyPackageUploadResponse) SetDescription(v string) { o.Description = &v } -// GetDistro returns the Distro field value if set, zero value otherwise. -func (o *Package) GetDistro() map[string]interface{} { - if o == nil || o.Distro == nil { - var ret map[string]interface{} +// GetDistro returns the Distro field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *RubyPackageUploadResponse) GetDistro() Distribution { + if o == nil || isNil(o.Distro.Get()) { + var ret Distribution return ret } - return o.Distro + return *o.Distro.Get() } // GetDistroOk returns a tuple with the Distro field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *Package) GetDistroOk() (map[string]interface{}, bool) { - if o == nil || o.Distro == nil { +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *RubyPackageUploadResponse) GetDistroOk() (*Distribution, bool) { + if o == nil { return nil, false } - return o.Distro, true + return o.Distro.Get(), o.Distro.IsSet() } // HasDistro returns a boolean if a field has been set. -func (o *Package) HasDistro() bool { - if o != nil && o.Distro != nil { +func (o *RubyPackageUploadResponse) HasDistro() bool { + if o != nil && o.Distro.IsSet() { return true } return false } -// SetDistro gets a reference to the given map[string]interface{} and assigns it to the Distro field. -func (o *Package) SetDistro(v map[string]interface{}) { - o.Distro = v +// SetDistro gets a reference to the given NullableDistribution and assigns it to the Distro field. +func (o *RubyPackageUploadResponse) SetDistro(v Distribution) { + o.Distro.Set(&v) +} + +// SetDistroNil sets the value for Distro to be an explicit nil +func (o *RubyPackageUploadResponse) SetDistroNil() { + o.Distro.Set(nil) +} + +// UnsetDistro ensures that no value is present for Distro, not even an explicit nil +func (o *RubyPackageUploadResponse) UnsetDistro() { + o.Distro.Unset() } // GetDistroVersion returns the DistroVersion field value if set, zero value otherwise. -func (o *Package) GetDistroVersion() map[string]interface{} { - if o == nil || o.DistroVersion == nil { - var ret map[string]interface{} +func (o *RubyPackageUploadResponse) GetDistroVersion() DistributionVersion { + if o == nil || isNil(o.DistroVersion) { + var ret DistributionVersion return ret } - return o.DistroVersion + return *o.DistroVersion } // GetDistroVersionOk returns a tuple with the DistroVersion field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *Package) GetDistroVersionOk() (map[string]interface{}, bool) { - if o == nil || o.DistroVersion == nil { +func (o *RubyPackageUploadResponse) GetDistroVersionOk() (*DistributionVersion, bool) { + if o == nil || isNil(o.DistroVersion) { return nil, false } return o.DistroVersion, true } // HasDistroVersion returns a boolean if a field has been set. -func (o *Package) HasDistroVersion() bool { - if o != nil && o.DistroVersion != nil { +func (o *RubyPackageUploadResponse) HasDistroVersion() bool { + if o != nil && !isNil(o.DistroVersion) { return true } return false } -// SetDistroVersion gets a reference to the given map[string]interface{} and assigns it to the DistroVersion field. -func (o *Package) SetDistroVersion(v map[string]interface{}) { - o.DistroVersion = v +// SetDistroVersion gets a reference to the given DistributionVersion and assigns it to the DistroVersion field. +func (o *RubyPackageUploadResponse) SetDistroVersion(v DistributionVersion) { + o.DistroVersion = &v } // GetDownloads returns the Downloads field value if set, zero value otherwise. -func (o *Package) GetDownloads() int64 { - if o == nil || o.Downloads == nil { +func (o *RubyPackageUploadResponse) GetDownloads() int64 { + if o == nil || isNil(o.Downloads) { var ret int64 return ret } @@ -533,16 +514,16 @@ func (o *Package) GetDownloads() int64 { // GetDownloadsOk returns a tuple with the Downloads field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *Package) GetDownloadsOk() (*int64, bool) { - if o == nil || o.Downloads == nil { +func (o *RubyPackageUploadResponse) GetDownloadsOk() (*int64, bool) { + if o == nil || isNil(o.Downloads) { return nil, false } return o.Downloads, true } // HasDownloads returns a boolean if a field has been set. -func (o *Package) HasDownloads() bool { - if o != nil && o.Downloads != nil { +func (o *RubyPackageUploadResponse) HasDownloads() bool { + if o != nil && !isNil(o.Downloads) { return true } @@ -550,13 +531,13 @@ func (o *Package) HasDownloads() bool { } // SetDownloads gets a reference to the given int64 and assigns it to the Downloads field. -func (o *Package) SetDownloads(v int64) { +func (o *RubyPackageUploadResponse) SetDownloads(v int64) { o.Downloads = &v } // GetEpoch returns the Epoch field value if set, zero value otherwise. -func (o *Package) GetEpoch() int64 { - if o == nil || o.Epoch == nil { +func (o *RubyPackageUploadResponse) GetEpoch() int64 { + if o == nil || isNil(o.Epoch) { var ret int64 return ret } @@ -565,16 +546,16 @@ func (o *Package) GetEpoch() int64 { // GetEpochOk returns a tuple with the Epoch field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *Package) GetEpochOk() (*int64, bool) { - if o == nil || o.Epoch == nil { +func (o *RubyPackageUploadResponse) GetEpochOk() (*int64, bool) { + if o == nil || isNil(o.Epoch) { return nil, false } return o.Epoch, true } // HasEpoch returns a boolean if a field has been set. -func (o *Package) HasEpoch() bool { - if o != nil && o.Epoch != nil { +func (o *RubyPackageUploadResponse) HasEpoch() bool { + if o != nil && !isNil(o.Epoch) { return true } @@ -582,13 +563,13 @@ func (o *Package) HasEpoch() bool { } // SetEpoch gets a reference to the given int64 and assigns it to the Epoch field. -func (o *Package) SetEpoch(v int64) { +func (o *RubyPackageUploadResponse) SetEpoch(v int64) { o.Epoch = &v } // GetExtension returns the Extension field value if set, zero value otherwise. -func (o *Package) GetExtension() string { - if o == nil || o.Extension == nil { +func (o *RubyPackageUploadResponse) GetExtension() string { + if o == nil || isNil(o.Extension) { var ret string return ret } @@ -597,16 +578,16 @@ func (o *Package) GetExtension() string { // GetExtensionOk returns a tuple with the Extension field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *Package) GetExtensionOk() (*string, bool) { - if o == nil || o.Extension == nil { +func (o *RubyPackageUploadResponse) GetExtensionOk() (*string, bool) { + if o == nil || isNil(o.Extension) { return nil, false } return o.Extension, true } // HasExtension returns a boolean if a field has been set. -func (o *Package) HasExtension() bool { - if o != nil && o.Extension != nil { +func (o *RubyPackageUploadResponse) HasExtension() bool { + if o != nil && !isNil(o.Extension) { return true } @@ -614,13 +595,13 @@ func (o *Package) HasExtension() bool { } // SetExtension gets a reference to the given string and assigns it to the Extension field. -func (o *Package) SetExtension(v string) { +func (o *RubyPackageUploadResponse) SetExtension(v string) { o.Extension = &v } // GetFilename returns the Filename field value if set, zero value otherwise. -func (o *Package) GetFilename() string { - if o == nil || o.Filename == nil { +func (o *RubyPackageUploadResponse) GetFilename() string { + if o == nil || isNil(o.Filename) { var ret string return ret } @@ -629,16 +610,16 @@ func (o *Package) GetFilename() string { // GetFilenameOk returns a tuple with the Filename field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *Package) GetFilenameOk() (*string, bool) { - if o == nil || o.Filename == nil { +func (o *RubyPackageUploadResponse) GetFilenameOk() (*string, bool) { + if o == nil || isNil(o.Filename) { return nil, false } return o.Filename, true } // HasFilename returns a boolean if a field has been set. -func (o *Package) HasFilename() bool { - if o != nil && o.Filename != nil { +func (o *RubyPackageUploadResponse) HasFilename() bool { + if o != nil && !isNil(o.Filename) { return true } @@ -646,14 +627,14 @@ func (o *Package) HasFilename() bool { } // SetFilename gets a reference to the given string and assigns it to the Filename field. -func (o *Package) SetFilename(v string) { +func (o *RubyPackageUploadResponse) SetFilename(v string) { o.Filename = &v } // GetFiles returns the Files field value if set, zero value otherwise. -func (o *Package) GetFiles() []PackagesOwnerRepoFiles { - if o == nil || o.Files == nil { - var ret []PackagesOwnerRepoFiles +func (o *RubyPackageUploadResponse) GetFiles() []PackageFile { + if o == nil || isNil(o.Files) { + var ret []PackageFile return ret } return o.Files @@ -661,30 +642,30 @@ func (o *Package) GetFiles() []PackagesOwnerRepoFiles { // GetFilesOk returns a tuple with the Files field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *Package) GetFilesOk() ([]PackagesOwnerRepoFiles, bool) { - if o == nil || o.Files == nil { +func (o *RubyPackageUploadResponse) GetFilesOk() ([]PackageFile, bool) { + if o == nil || isNil(o.Files) { return nil, false } return o.Files, true } // HasFiles returns a boolean if a field has been set. -func (o *Package) HasFiles() bool { - if o != nil && o.Files != nil { +func (o *RubyPackageUploadResponse) HasFiles() bool { + if o != nil && !isNil(o.Files) { return true } return false } -// SetFiles gets a reference to the given []PackagesOwnerRepoFiles and assigns it to the Files field. -func (o *Package) SetFiles(v []PackagesOwnerRepoFiles) { +// SetFiles gets a reference to the given []PackageFile and assigns it to the Files field. +func (o *RubyPackageUploadResponse) SetFiles(v []PackageFile) { o.Files = v } // GetFormat returns the Format field value if set, zero value otherwise. -func (o *Package) GetFormat() string { - if o == nil || o.Format == nil { +func (o *RubyPackageUploadResponse) GetFormat() string { + if o == nil || isNil(o.Format) { var ret string return ret } @@ -693,16 +674,16 @@ func (o *Package) GetFormat() string { // GetFormatOk returns a tuple with the Format field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *Package) GetFormatOk() (*string, bool) { - if o == nil || o.Format == nil { +func (o *RubyPackageUploadResponse) GetFormatOk() (*string, bool) { + if o == nil || isNil(o.Format) { return nil, false } return o.Format, true } // HasFormat returns a boolean if a field has been set. -func (o *Package) HasFormat() bool { - if o != nil && o.Format != nil { +func (o *RubyPackageUploadResponse) HasFormat() bool { + if o != nil && !isNil(o.Format) { return true } @@ -710,13 +691,13 @@ func (o *Package) HasFormat() bool { } // SetFormat gets a reference to the given string and assigns it to the Format field. -func (o *Package) SetFormat(v string) { +func (o *RubyPackageUploadResponse) SetFormat(v string) { o.Format = &v } // GetFormatUrl returns the FormatUrl field value if set, zero value otherwise. -func (o *Package) GetFormatUrl() string { - if o == nil || o.FormatUrl == nil { +func (o *RubyPackageUploadResponse) GetFormatUrl() string { + if o == nil || isNil(o.FormatUrl) { var ret string return ret } @@ -725,16 +706,16 @@ func (o *Package) GetFormatUrl() string { // GetFormatUrlOk returns a tuple with the FormatUrl field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *Package) GetFormatUrlOk() (*string, bool) { - if o == nil || o.FormatUrl == nil { +func (o *RubyPackageUploadResponse) GetFormatUrlOk() (*string, bool) { + if o == nil || isNil(o.FormatUrl) { return nil, false } return o.FormatUrl, true } // HasFormatUrl returns a boolean if a field has been set. -func (o *Package) HasFormatUrl() bool { - if o != nil && o.FormatUrl != nil { +func (o *RubyPackageUploadResponse) HasFormatUrl() bool { + if o != nil && !isNil(o.FormatUrl) { return true } @@ -742,13 +723,13 @@ func (o *Package) HasFormatUrl() bool { } // SetFormatUrl gets a reference to the given string and assigns it to the FormatUrl field. -func (o *Package) SetFormatUrl(v string) { +func (o *RubyPackageUploadResponse) SetFormatUrl(v string) { o.FormatUrl = &v } // GetIdentifierPerm returns the IdentifierPerm field value if set, zero value otherwise. -func (o *Package) GetIdentifierPerm() string { - if o == nil || o.IdentifierPerm == nil { +func (o *RubyPackageUploadResponse) GetIdentifierPerm() string { + if o == nil || isNil(o.IdentifierPerm) { var ret string return ret } @@ -757,16 +738,16 @@ func (o *Package) GetIdentifierPerm() string { // GetIdentifierPermOk returns a tuple with the IdentifierPerm field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *Package) GetIdentifierPermOk() (*string, bool) { - if o == nil || o.IdentifierPerm == nil { +func (o *RubyPackageUploadResponse) GetIdentifierPermOk() (*string, bool) { + if o == nil || isNil(o.IdentifierPerm) { return nil, false } return o.IdentifierPerm, true } // HasIdentifierPerm returns a boolean if a field has been set. -func (o *Package) HasIdentifierPerm() bool { - if o != nil && o.IdentifierPerm != nil { +func (o *RubyPackageUploadResponse) HasIdentifierPerm() bool { + if o != nil && !isNil(o.IdentifierPerm) { return true } @@ -774,13 +755,13 @@ func (o *Package) HasIdentifierPerm() bool { } // SetIdentifierPerm gets a reference to the given string and assigns it to the IdentifierPerm field. -func (o *Package) SetIdentifierPerm(v string) { +func (o *RubyPackageUploadResponse) SetIdentifierPerm(v string) { o.IdentifierPerm = &v } // GetIndexed returns the Indexed field value if set, zero value otherwise. -func (o *Package) GetIndexed() bool { - if o == nil || o.Indexed == nil { +func (o *RubyPackageUploadResponse) GetIndexed() bool { + if o == nil || isNil(o.Indexed) { var ret bool return ret } @@ -789,16 +770,16 @@ func (o *Package) GetIndexed() bool { // GetIndexedOk returns a tuple with the Indexed field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *Package) GetIndexedOk() (*bool, bool) { - if o == nil || o.Indexed == nil { +func (o *RubyPackageUploadResponse) GetIndexedOk() (*bool, bool) { + if o == nil || isNil(o.Indexed) { return nil, false } return o.Indexed, true } // HasIndexed returns a boolean if a field has been set. -func (o *Package) HasIndexed() bool { - if o != nil && o.Indexed != nil { +func (o *RubyPackageUploadResponse) HasIndexed() bool { + if o != nil && !isNil(o.Indexed) { return true } @@ -806,13 +787,13 @@ func (o *Package) HasIndexed() bool { } // SetIndexed gets a reference to the given bool and assigns it to the Indexed field. -func (o *Package) SetIndexed(v bool) { +func (o *RubyPackageUploadResponse) SetIndexed(v bool) { o.Indexed = &v } // GetIsDownloadable returns the IsDownloadable field value if set, zero value otherwise. -func (o *Package) GetIsDownloadable() bool { - if o == nil || o.IsDownloadable == nil { +func (o *RubyPackageUploadResponse) GetIsDownloadable() bool { + if o == nil || isNil(o.IsDownloadable) { var ret bool return ret } @@ -821,16 +802,16 @@ func (o *Package) GetIsDownloadable() bool { // GetIsDownloadableOk returns a tuple with the IsDownloadable field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *Package) GetIsDownloadableOk() (*bool, bool) { - if o == nil || o.IsDownloadable == nil { +func (o *RubyPackageUploadResponse) GetIsDownloadableOk() (*bool, bool) { + if o == nil || isNil(o.IsDownloadable) { return nil, false } return o.IsDownloadable, true } // HasIsDownloadable returns a boolean if a field has been set. -func (o *Package) HasIsDownloadable() bool { - if o != nil && o.IsDownloadable != nil { +func (o *RubyPackageUploadResponse) HasIsDownloadable() bool { + if o != nil && !isNil(o.IsDownloadable) { return true } @@ -838,13 +819,13 @@ func (o *Package) HasIsDownloadable() bool { } // SetIsDownloadable gets a reference to the given bool and assigns it to the IsDownloadable field. -func (o *Package) SetIsDownloadable(v bool) { +func (o *RubyPackageUploadResponse) SetIsDownloadable(v bool) { o.IsDownloadable = &v } // GetIsQuarantined returns the IsQuarantined field value if set, zero value otherwise. -func (o *Package) GetIsQuarantined() bool { - if o == nil || o.IsQuarantined == nil { +func (o *RubyPackageUploadResponse) GetIsQuarantined() bool { + if o == nil || isNil(o.IsQuarantined) { var ret bool return ret } @@ -853,16 +834,16 @@ func (o *Package) GetIsQuarantined() bool { // GetIsQuarantinedOk returns a tuple with the IsQuarantined field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *Package) GetIsQuarantinedOk() (*bool, bool) { - if o == nil || o.IsQuarantined == nil { +func (o *RubyPackageUploadResponse) GetIsQuarantinedOk() (*bool, bool) { + if o == nil || isNil(o.IsQuarantined) { return nil, false } return o.IsQuarantined, true } // HasIsQuarantined returns a boolean if a field has been set. -func (o *Package) HasIsQuarantined() bool { - if o != nil && o.IsQuarantined != nil { +func (o *RubyPackageUploadResponse) HasIsQuarantined() bool { + if o != nil && !isNil(o.IsQuarantined) { return true } @@ -870,13 +851,13 @@ func (o *Package) HasIsQuarantined() bool { } // SetIsQuarantined gets a reference to the given bool and assigns it to the IsQuarantined field. -func (o *Package) SetIsQuarantined(v bool) { +func (o *RubyPackageUploadResponse) SetIsQuarantined(v bool) { o.IsQuarantined = &v } // GetIsSyncAwaiting returns the IsSyncAwaiting field value if set, zero value otherwise. -func (o *Package) GetIsSyncAwaiting() bool { - if o == nil || o.IsSyncAwaiting == nil { +func (o *RubyPackageUploadResponse) GetIsSyncAwaiting() bool { + if o == nil || isNil(o.IsSyncAwaiting) { var ret bool return ret } @@ -885,16 +866,16 @@ func (o *Package) GetIsSyncAwaiting() bool { // GetIsSyncAwaitingOk returns a tuple with the IsSyncAwaiting field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *Package) GetIsSyncAwaitingOk() (*bool, bool) { - if o == nil || o.IsSyncAwaiting == nil { +func (o *RubyPackageUploadResponse) GetIsSyncAwaitingOk() (*bool, bool) { + if o == nil || isNil(o.IsSyncAwaiting) { return nil, false } return o.IsSyncAwaiting, true } // HasIsSyncAwaiting returns a boolean if a field has been set. -func (o *Package) HasIsSyncAwaiting() bool { - if o != nil && o.IsSyncAwaiting != nil { +func (o *RubyPackageUploadResponse) HasIsSyncAwaiting() bool { + if o != nil && !isNil(o.IsSyncAwaiting) { return true } @@ -902,13 +883,13 @@ func (o *Package) HasIsSyncAwaiting() bool { } // SetIsSyncAwaiting gets a reference to the given bool and assigns it to the IsSyncAwaiting field. -func (o *Package) SetIsSyncAwaiting(v bool) { +func (o *RubyPackageUploadResponse) SetIsSyncAwaiting(v bool) { o.IsSyncAwaiting = &v } // GetIsSyncCompleted returns the IsSyncCompleted field value if set, zero value otherwise. -func (o *Package) GetIsSyncCompleted() bool { - if o == nil || o.IsSyncCompleted == nil { +func (o *RubyPackageUploadResponse) GetIsSyncCompleted() bool { + if o == nil || isNil(o.IsSyncCompleted) { var ret bool return ret } @@ -917,16 +898,16 @@ func (o *Package) GetIsSyncCompleted() bool { // GetIsSyncCompletedOk returns a tuple with the IsSyncCompleted field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *Package) GetIsSyncCompletedOk() (*bool, bool) { - if o == nil || o.IsSyncCompleted == nil { +func (o *RubyPackageUploadResponse) GetIsSyncCompletedOk() (*bool, bool) { + if o == nil || isNil(o.IsSyncCompleted) { return nil, false } return o.IsSyncCompleted, true } // HasIsSyncCompleted returns a boolean if a field has been set. -func (o *Package) HasIsSyncCompleted() bool { - if o != nil && o.IsSyncCompleted != nil { +func (o *RubyPackageUploadResponse) HasIsSyncCompleted() bool { + if o != nil && !isNil(o.IsSyncCompleted) { return true } @@ -934,13 +915,13 @@ func (o *Package) HasIsSyncCompleted() bool { } // SetIsSyncCompleted gets a reference to the given bool and assigns it to the IsSyncCompleted field. -func (o *Package) SetIsSyncCompleted(v bool) { +func (o *RubyPackageUploadResponse) SetIsSyncCompleted(v bool) { o.IsSyncCompleted = &v } // GetIsSyncFailed returns the IsSyncFailed field value if set, zero value otherwise. -func (o *Package) GetIsSyncFailed() bool { - if o == nil || o.IsSyncFailed == nil { +func (o *RubyPackageUploadResponse) GetIsSyncFailed() bool { + if o == nil || isNil(o.IsSyncFailed) { var ret bool return ret } @@ -949,16 +930,16 @@ func (o *Package) GetIsSyncFailed() bool { // GetIsSyncFailedOk returns a tuple with the IsSyncFailed field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *Package) GetIsSyncFailedOk() (*bool, bool) { - if o == nil || o.IsSyncFailed == nil { +func (o *RubyPackageUploadResponse) GetIsSyncFailedOk() (*bool, bool) { + if o == nil || isNil(o.IsSyncFailed) { return nil, false } return o.IsSyncFailed, true } // HasIsSyncFailed returns a boolean if a field has been set. -func (o *Package) HasIsSyncFailed() bool { - if o != nil && o.IsSyncFailed != nil { +func (o *RubyPackageUploadResponse) HasIsSyncFailed() bool { + if o != nil && !isNil(o.IsSyncFailed) { return true } @@ -966,13 +947,13 @@ func (o *Package) HasIsSyncFailed() bool { } // SetIsSyncFailed gets a reference to the given bool and assigns it to the IsSyncFailed field. -func (o *Package) SetIsSyncFailed(v bool) { +func (o *RubyPackageUploadResponse) SetIsSyncFailed(v bool) { o.IsSyncFailed = &v } // GetIsSyncInFlight returns the IsSyncInFlight field value if set, zero value otherwise. -func (o *Package) GetIsSyncInFlight() bool { - if o == nil || o.IsSyncInFlight == nil { +func (o *RubyPackageUploadResponse) GetIsSyncInFlight() bool { + if o == nil || isNil(o.IsSyncInFlight) { var ret bool return ret } @@ -981,16 +962,16 @@ func (o *Package) GetIsSyncInFlight() bool { // GetIsSyncInFlightOk returns a tuple with the IsSyncInFlight field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *Package) GetIsSyncInFlightOk() (*bool, bool) { - if o == nil || o.IsSyncInFlight == nil { +func (o *RubyPackageUploadResponse) GetIsSyncInFlightOk() (*bool, bool) { + if o == nil || isNil(o.IsSyncInFlight) { return nil, false } return o.IsSyncInFlight, true } // HasIsSyncInFlight returns a boolean if a field has been set. -func (o *Package) HasIsSyncInFlight() bool { - if o != nil && o.IsSyncInFlight != nil { +func (o *RubyPackageUploadResponse) HasIsSyncInFlight() bool { + if o != nil && !isNil(o.IsSyncInFlight) { return true } @@ -998,13 +979,13 @@ func (o *Package) HasIsSyncInFlight() bool { } // SetIsSyncInFlight gets a reference to the given bool and assigns it to the IsSyncInFlight field. -func (o *Package) SetIsSyncInFlight(v bool) { +func (o *RubyPackageUploadResponse) SetIsSyncInFlight(v bool) { o.IsSyncInFlight = &v } // GetIsSyncInProgress returns the IsSyncInProgress field value if set, zero value otherwise. -func (o *Package) GetIsSyncInProgress() bool { - if o == nil || o.IsSyncInProgress == nil { +func (o *RubyPackageUploadResponse) GetIsSyncInProgress() bool { + if o == nil || isNil(o.IsSyncInProgress) { var ret bool return ret } @@ -1013,16 +994,16 @@ func (o *Package) GetIsSyncInProgress() bool { // GetIsSyncInProgressOk returns a tuple with the IsSyncInProgress field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *Package) GetIsSyncInProgressOk() (*bool, bool) { - if o == nil || o.IsSyncInProgress == nil { +func (o *RubyPackageUploadResponse) GetIsSyncInProgressOk() (*bool, bool) { + if o == nil || isNil(o.IsSyncInProgress) { return nil, false } return o.IsSyncInProgress, true } // HasIsSyncInProgress returns a boolean if a field has been set. -func (o *Package) HasIsSyncInProgress() bool { - if o != nil && o.IsSyncInProgress != nil { +func (o *RubyPackageUploadResponse) HasIsSyncInProgress() bool { + if o != nil && !isNil(o.IsSyncInProgress) { return true } @@ -1030,13 +1011,13 @@ func (o *Package) HasIsSyncInProgress() bool { } // SetIsSyncInProgress gets a reference to the given bool and assigns it to the IsSyncInProgress field. -func (o *Package) SetIsSyncInProgress(v bool) { +func (o *RubyPackageUploadResponse) SetIsSyncInProgress(v bool) { o.IsSyncInProgress = &v } // GetLicense returns the License field value if set, zero value otherwise. -func (o *Package) GetLicense() string { - if o == nil || o.License == nil { +func (o *RubyPackageUploadResponse) GetLicense() string { + if o == nil || isNil(o.License) { var ret string return ret } @@ -1045,16 +1026,16 @@ func (o *Package) GetLicense() string { // GetLicenseOk returns a tuple with the License field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *Package) GetLicenseOk() (*string, bool) { - if o == nil || o.License == nil { +func (o *RubyPackageUploadResponse) GetLicenseOk() (*string, bool) { + if o == nil || isNil(o.License) { return nil, false } return o.License, true } // HasLicense returns a boolean if a field has been set. -func (o *Package) HasLicense() bool { - if o != nil && o.License != nil { +func (o *RubyPackageUploadResponse) HasLicense() bool { + if o != nil && !isNil(o.License) { return true } @@ -1062,13 +1043,13 @@ func (o *Package) HasLicense() bool { } // SetLicense gets a reference to the given string and assigns it to the License field. -func (o *Package) SetLicense(v string) { +func (o *RubyPackageUploadResponse) SetLicense(v string) { o.License = &v } // GetName returns the Name field value if set, zero value otherwise. -func (o *Package) GetName() string { - if o == nil || o.Name == nil { +func (o *RubyPackageUploadResponse) GetName() string { + if o == nil || isNil(o.Name) { var ret string return ret } @@ -1077,16 +1058,16 @@ func (o *Package) GetName() string { // GetNameOk returns a tuple with the Name field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *Package) GetNameOk() (*string, bool) { - if o == nil || o.Name == nil { +func (o *RubyPackageUploadResponse) GetNameOk() (*string, bool) { + if o == nil || isNil(o.Name) { return nil, false } return o.Name, true } // HasName returns a boolean if a field has been set. -func (o *Package) HasName() bool { - if o != nil && o.Name != nil { +func (o *RubyPackageUploadResponse) HasName() bool { + if o != nil && !isNil(o.Name) { return true } @@ -1094,13 +1075,13 @@ func (o *Package) HasName() bool { } // SetName gets a reference to the given string and assigns it to the Name field. -func (o *Package) SetName(v string) { +func (o *RubyPackageUploadResponse) SetName(v string) { o.Name = &v } // GetNamespace returns the Namespace field value if set, zero value otherwise. -func (o *Package) GetNamespace() string { - if o == nil || o.Namespace == nil { +func (o *RubyPackageUploadResponse) GetNamespace() string { + if o == nil || isNil(o.Namespace) { var ret string return ret } @@ -1109,16 +1090,16 @@ func (o *Package) GetNamespace() string { // GetNamespaceOk returns a tuple with the Namespace field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *Package) GetNamespaceOk() (*string, bool) { - if o == nil || o.Namespace == nil { +func (o *RubyPackageUploadResponse) GetNamespaceOk() (*string, bool) { + if o == nil || isNil(o.Namespace) { return nil, false } return o.Namespace, true } // HasNamespace returns a boolean if a field has been set. -func (o *Package) HasNamespace() bool { - if o != nil && o.Namespace != nil { +func (o *RubyPackageUploadResponse) HasNamespace() bool { + if o != nil && !isNil(o.Namespace) { return true } @@ -1126,13 +1107,13 @@ func (o *Package) HasNamespace() bool { } // SetNamespace gets a reference to the given string and assigns it to the Namespace field. -func (o *Package) SetNamespace(v string) { +func (o *RubyPackageUploadResponse) SetNamespace(v string) { o.Namespace = &v } // GetNamespaceUrl returns the NamespaceUrl field value if set, zero value otherwise. -func (o *Package) GetNamespaceUrl() string { - if o == nil || o.NamespaceUrl == nil { +func (o *RubyPackageUploadResponse) GetNamespaceUrl() string { + if o == nil || isNil(o.NamespaceUrl) { var ret string return ret } @@ -1141,16 +1122,16 @@ func (o *Package) GetNamespaceUrl() string { // GetNamespaceUrlOk returns a tuple with the NamespaceUrl field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *Package) GetNamespaceUrlOk() (*string, bool) { - if o == nil || o.NamespaceUrl == nil { +func (o *RubyPackageUploadResponse) GetNamespaceUrlOk() (*string, bool) { + if o == nil || isNil(o.NamespaceUrl) { return nil, false } return o.NamespaceUrl, true } // HasNamespaceUrl returns a boolean if a field has been set. -func (o *Package) HasNamespaceUrl() bool { - if o != nil && o.NamespaceUrl != nil { +func (o *RubyPackageUploadResponse) HasNamespaceUrl() bool { + if o != nil && !isNil(o.NamespaceUrl) { return true } @@ -1158,13 +1139,13 @@ func (o *Package) HasNamespaceUrl() bool { } // SetNamespaceUrl gets a reference to the given string and assigns it to the NamespaceUrl field. -func (o *Package) SetNamespaceUrl(v string) { +func (o *RubyPackageUploadResponse) SetNamespaceUrl(v string) { o.NamespaceUrl = &v } // GetNumFiles returns the NumFiles field value if set, zero value otherwise. -func (o *Package) GetNumFiles() int64 { - if o == nil || o.NumFiles == nil { +func (o *RubyPackageUploadResponse) GetNumFiles() int64 { + if o == nil || isNil(o.NumFiles) { var ret int64 return ret } @@ -1173,16 +1154,16 @@ func (o *Package) GetNumFiles() int64 { // GetNumFilesOk returns a tuple with the NumFiles field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *Package) GetNumFilesOk() (*int64, bool) { - if o == nil || o.NumFiles == nil { +func (o *RubyPackageUploadResponse) GetNumFilesOk() (*int64, bool) { + if o == nil || isNil(o.NumFiles) { return nil, false } return o.NumFiles, true } // HasNumFiles returns a boolean if a field has been set. -func (o *Package) HasNumFiles() bool { - if o != nil && o.NumFiles != nil { +func (o *RubyPackageUploadResponse) HasNumFiles() bool { + if o != nil && !isNil(o.NumFiles) { return true } @@ -1190,13 +1171,77 @@ func (o *Package) HasNumFiles() bool { } // SetNumFiles gets a reference to the given int64 and assigns it to the NumFiles field. -func (o *Package) SetNumFiles(v int64) { +func (o *RubyPackageUploadResponse) SetNumFiles(v int64) { o.NumFiles = &v } +// GetOriginRepository returns the OriginRepository field value if set, zero value otherwise. +func (o *RubyPackageUploadResponse) GetOriginRepository() string { + if o == nil || isNil(o.OriginRepository) { + var ret string + return ret + } + return *o.OriginRepository +} + +// GetOriginRepositoryOk returns a tuple with the OriginRepository field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *RubyPackageUploadResponse) GetOriginRepositoryOk() (*string, bool) { + if o == nil || isNil(o.OriginRepository) { + return nil, false + } + return o.OriginRepository, true +} + +// HasOriginRepository returns a boolean if a field has been set. +func (o *RubyPackageUploadResponse) HasOriginRepository() bool { + if o != nil && !isNil(o.OriginRepository) { + return true + } + + return false +} + +// SetOriginRepository gets a reference to the given string and assigns it to the OriginRepository field. +func (o *RubyPackageUploadResponse) SetOriginRepository(v string) { + o.OriginRepository = &v +} + +// GetOriginRepositoryUrl returns the OriginRepositoryUrl field value if set, zero value otherwise. +func (o *RubyPackageUploadResponse) GetOriginRepositoryUrl() string { + if o == nil || isNil(o.OriginRepositoryUrl) { + var ret string + return ret + } + return *o.OriginRepositoryUrl +} + +// GetOriginRepositoryUrlOk returns a tuple with the OriginRepositoryUrl field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *RubyPackageUploadResponse) GetOriginRepositoryUrlOk() (*string, bool) { + if o == nil || isNil(o.OriginRepositoryUrl) { + return nil, false + } + return o.OriginRepositoryUrl, true +} + +// HasOriginRepositoryUrl returns a boolean if a field has been set. +func (o *RubyPackageUploadResponse) HasOriginRepositoryUrl() bool { + if o != nil && !isNil(o.OriginRepositoryUrl) { + return true + } + + return false +} + +// SetOriginRepositoryUrl gets a reference to the given string and assigns it to the OriginRepositoryUrl field. +func (o *RubyPackageUploadResponse) SetOriginRepositoryUrl(v string) { + o.OriginRepositoryUrl = &v +} + // GetPackageType returns the PackageType field value if set, zero value otherwise. -func (o *Package) GetPackageType() int64 { - if o == nil || o.PackageType == nil { +func (o *RubyPackageUploadResponse) GetPackageType() int64 { + if o == nil || isNil(o.PackageType) { var ret int64 return ret } @@ -1205,16 +1250,16 @@ func (o *Package) GetPackageType() int64 { // GetPackageTypeOk returns a tuple with the PackageType field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *Package) GetPackageTypeOk() (*int64, bool) { - if o == nil || o.PackageType == nil { +func (o *RubyPackageUploadResponse) GetPackageTypeOk() (*int64, bool) { + if o == nil || isNil(o.PackageType) { return nil, false } return o.PackageType, true } // HasPackageType returns a boolean if a field has been set. -func (o *Package) HasPackageType() bool { - if o != nil && o.PackageType != nil { +func (o *RubyPackageUploadResponse) HasPackageType() bool { + if o != nil && !isNil(o.PackageType) { return true } @@ -1222,13 +1267,13 @@ func (o *Package) HasPackageType() bool { } // SetPackageType gets a reference to the given int64 and assigns it to the PackageType field. -func (o *Package) SetPackageType(v int64) { +func (o *RubyPackageUploadResponse) SetPackageType(v int64) { o.PackageType = &v } // GetRelease returns the Release field value if set, zero value otherwise. -func (o *Package) GetRelease() string { - if o == nil || o.Release == nil { +func (o *RubyPackageUploadResponse) GetRelease() string { + if o == nil || isNil(o.Release) { var ret string return ret } @@ -1237,16 +1282,16 @@ func (o *Package) GetRelease() string { // GetReleaseOk returns a tuple with the Release field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *Package) GetReleaseOk() (*string, bool) { - if o == nil || o.Release == nil { +func (o *RubyPackageUploadResponse) GetReleaseOk() (*string, bool) { + if o == nil || isNil(o.Release) { return nil, false } return o.Release, true } // HasRelease returns a boolean if a field has been set. -func (o *Package) HasRelease() bool { - if o != nil && o.Release != nil { +func (o *RubyPackageUploadResponse) HasRelease() bool { + if o != nil && !isNil(o.Release) { return true } @@ -1254,13 +1299,13 @@ func (o *Package) HasRelease() bool { } // SetRelease gets a reference to the given string and assigns it to the Release field. -func (o *Package) SetRelease(v string) { +func (o *RubyPackageUploadResponse) SetRelease(v string) { o.Release = &v } // GetRepository returns the Repository field value if set, zero value otherwise. -func (o *Package) GetRepository() string { - if o == nil || o.Repository == nil { +func (o *RubyPackageUploadResponse) GetRepository() string { + if o == nil || isNil(o.Repository) { var ret string return ret } @@ -1269,16 +1314,16 @@ func (o *Package) GetRepository() string { // GetRepositoryOk returns a tuple with the Repository field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *Package) GetRepositoryOk() (*string, bool) { - if o == nil || o.Repository == nil { +func (o *RubyPackageUploadResponse) GetRepositoryOk() (*string, bool) { + if o == nil || isNil(o.Repository) { return nil, false } return o.Repository, true } // HasRepository returns a boolean if a field has been set. -func (o *Package) HasRepository() bool { - if o != nil && o.Repository != nil { +func (o *RubyPackageUploadResponse) HasRepository() bool { + if o != nil && !isNil(o.Repository) { return true } @@ -1286,13 +1331,13 @@ func (o *Package) HasRepository() bool { } // SetRepository gets a reference to the given string and assigns it to the Repository field. -func (o *Package) SetRepository(v string) { +func (o *RubyPackageUploadResponse) SetRepository(v string) { o.Repository = &v } // GetRepositoryUrl returns the RepositoryUrl field value if set, zero value otherwise. -func (o *Package) GetRepositoryUrl() string { - if o == nil || o.RepositoryUrl == nil { +func (o *RubyPackageUploadResponse) GetRepositoryUrl() string { + if o == nil || isNil(o.RepositoryUrl) { var ret string return ret } @@ -1301,16 +1346,16 @@ func (o *Package) GetRepositoryUrl() string { // GetRepositoryUrlOk returns a tuple with the RepositoryUrl field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *Package) GetRepositoryUrlOk() (*string, bool) { - if o == nil || o.RepositoryUrl == nil { +func (o *RubyPackageUploadResponse) GetRepositoryUrlOk() (*string, bool) { + if o == nil || isNil(o.RepositoryUrl) { return nil, false } return o.RepositoryUrl, true } // HasRepositoryUrl returns a boolean if a field has been set. -func (o *Package) HasRepositoryUrl() bool { - if o != nil && o.RepositoryUrl != nil { +func (o *RubyPackageUploadResponse) HasRepositoryUrl() bool { + if o != nil && !isNil(o.RepositoryUrl) { return true } @@ -1318,14 +1363,14 @@ func (o *Package) HasRepositoryUrl() bool { } // SetRepositoryUrl gets a reference to the given string and assigns it to the RepositoryUrl field. -func (o *Package) SetRepositoryUrl(v string) { +func (o *RubyPackageUploadResponse) SetRepositoryUrl(v string) { o.RepositoryUrl = &v } // GetSecurityScanCompletedAt returns the SecurityScanCompletedAt field value if set, zero value otherwise. -func (o *Package) GetSecurityScanCompletedAt() string { - if o == nil || o.SecurityScanCompletedAt == nil { - var ret string +func (o *RubyPackageUploadResponse) GetSecurityScanCompletedAt() time.Time { + if o == nil || isNil(o.SecurityScanCompletedAt) { + var ret time.Time return ret } return *o.SecurityScanCompletedAt @@ -1333,31 +1378,31 @@ func (o *Package) GetSecurityScanCompletedAt() string { // GetSecurityScanCompletedAtOk returns a tuple with the SecurityScanCompletedAt field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *Package) GetSecurityScanCompletedAtOk() (*string, bool) { - if o == nil || o.SecurityScanCompletedAt == nil { +func (o *RubyPackageUploadResponse) GetSecurityScanCompletedAtOk() (*time.Time, bool) { + if o == nil || isNil(o.SecurityScanCompletedAt) { return nil, false } return o.SecurityScanCompletedAt, true } // HasSecurityScanCompletedAt returns a boolean if a field has been set. -func (o *Package) HasSecurityScanCompletedAt() bool { - if o != nil && o.SecurityScanCompletedAt != nil { +func (o *RubyPackageUploadResponse) HasSecurityScanCompletedAt() bool { + if o != nil && !isNil(o.SecurityScanCompletedAt) { return true } return false } -// SetSecurityScanCompletedAt gets a reference to the given string and assigns it to the SecurityScanCompletedAt field. -func (o *Package) SetSecurityScanCompletedAt(v string) { +// SetSecurityScanCompletedAt gets a reference to the given time.Time and assigns it to the SecurityScanCompletedAt field. +func (o *RubyPackageUploadResponse) SetSecurityScanCompletedAt(v time.Time) { o.SecurityScanCompletedAt = &v } // GetSecurityScanStartedAt returns the SecurityScanStartedAt field value if set, zero value otherwise. -func (o *Package) GetSecurityScanStartedAt() string { - if o == nil || o.SecurityScanStartedAt == nil { - var ret string +func (o *RubyPackageUploadResponse) GetSecurityScanStartedAt() time.Time { + if o == nil || isNil(o.SecurityScanStartedAt) { + var ret time.Time return ret } return *o.SecurityScanStartedAt @@ -1365,63 +1410,74 @@ func (o *Package) GetSecurityScanStartedAt() string { // GetSecurityScanStartedAtOk returns a tuple with the SecurityScanStartedAt field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *Package) GetSecurityScanStartedAtOk() (*string, bool) { - if o == nil || o.SecurityScanStartedAt == nil { +func (o *RubyPackageUploadResponse) GetSecurityScanStartedAtOk() (*time.Time, bool) { + if o == nil || isNil(o.SecurityScanStartedAt) { return nil, false } return o.SecurityScanStartedAt, true } // HasSecurityScanStartedAt returns a boolean if a field has been set. -func (o *Package) HasSecurityScanStartedAt() bool { - if o != nil && o.SecurityScanStartedAt != nil { +func (o *RubyPackageUploadResponse) HasSecurityScanStartedAt() bool { + if o != nil && !isNil(o.SecurityScanStartedAt) { return true } return false } -// SetSecurityScanStartedAt gets a reference to the given string and assigns it to the SecurityScanStartedAt field. -func (o *Package) SetSecurityScanStartedAt(v string) { +// SetSecurityScanStartedAt gets a reference to the given time.Time and assigns it to the SecurityScanStartedAt field. +func (o *RubyPackageUploadResponse) SetSecurityScanStartedAt(v time.Time) { o.SecurityScanStartedAt = &v } -// GetSecurityScanStatus returns the SecurityScanStatus field value if set, zero value otherwise. -func (o *Package) GetSecurityScanStatus() string { - if o == nil || o.SecurityScanStatus == nil { +// GetSecurityScanStatus returns the SecurityScanStatus field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *RubyPackageUploadResponse) GetSecurityScanStatus() string { + if o == nil || isNil(o.SecurityScanStatus.Get()) { var ret string return ret } - return *o.SecurityScanStatus + return *o.SecurityScanStatus.Get() } // GetSecurityScanStatusOk returns a tuple with the SecurityScanStatus field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *Package) GetSecurityScanStatusOk() (*string, bool) { - if o == nil || o.SecurityScanStatus == nil { +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *RubyPackageUploadResponse) GetSecurityScanStatusOk() (*string, bool) { + if o == nil { return nil, false } - return o.SecurityScanStatus, true + return o.SecurityScanStatus.Get(), o.SecurityScanStatus.IsSet() } // HasSecurityScanStatus returns a boolean if a field has been set. -func (o *Package) HasSecurityScanStatus() bool { - if o != nil && o.SecurityScanStatus != nil { +func (o *RubyPackageUploadResponse) HasSecurityScanStatus() bool { + if o != nil && o.SecurityScanStatus.IsSet() { return true } return false } -// SetSecurityScanStatus gets a reference to the given string and assigns it to the SecurityScanStatus field. -func (o *Package) SetSecurityScanStatus(v string) { - o.SecurityScanStatus = &v +// SetSecurityScanStatus gets a reference to the given NullableString and assigns it to the SecurityScanStatus field. +func (o *RubyPackageUploadResponse) SetSecurityScanStatus(v string) { + o.SecurityScanStatus.Set(&v) +} + +// SetSecurityScanStatusNil sets the value for SecurityScanStatus to be an explicit nil +func (o *RubyPackageUploadResponse) SetSecurityScanStatusNil() { + o.SecurityScanStatus.Set(nil) +} + +// UnsetSecurityScanStatus ensures that no value is present for SecurityScanStatus, not even an explicit nil +func (o *RubyPackageUploadResponse) UnsetSecurityScanStatus() { + o.SecurityScanStatus.Unset() } // GetSecurityScanStatusUpdatedAt returns the SecurityScanStatusUpdatedAt field value if set, zero value otherwise. -func (o *Package) GetSecurityScanStatusUpdatedAt() string { - if o == nil || o.SecurityScanStatusUpdatedAt == nil { - var ret string +func (o *RubyPackageUploadResponse) GetSecurityScanStatusUpdatedAt() time.Time { + if o == nil || isNil(o.SecurityScanStatusUpdatedAt) { + var ret time.Time return ret } return *o.SecurityScanStatusUpdatedAt @@ -1429,30 +1485,30 @@ func (o *Package) GetSecurityScanStatusUpdatedAt() string { // GetSecurityScanStatusUpdatedAtOk returns a tuple with the SecurityScanStatusUpdatedAt field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *Package) GetSecurityScanStatusUpdatedAtOk() (*string, bool) { - if o == nil || o.SecurityScanStatusUpdatedAt == nil { +func (o *RubyPackageUploadResponse) GetSecurityScanStatusUpdatedAtOk() (*time.Time, bool) { + if o == nil || isNil(o.SecurityScanStatusUpdatedAt) { return nil, false } return o.SecurityScanStatusUpdatedAt, true } // HasSecurityScanStatusUpdatedAt returns a boolean if a field has been set. -func (o *Package) HasSecurityScanStatusUpdatedAt() bool { - if o != nil && o.SecurityScanStatusUpdatedAt != nil { +func (o *RubyPackageUploadResponse) HasSecurityScanStatusUpdatedAt() bool { + if o != nil && !isNil(o.SecurityScanStatusUpdatedAt) { return true } return false } -// SetSecurityScanStatusUpdatedAt gets a reference to the given string and assigns it to the SecurityScanStatusUpdatedAt field. -func (o *Package) SetSecurityScanStatusUpdatedAt(v string) { +// SetSecurityScanStatusUpdatedAt gets a reference to the given time.Time and assigns it to the SecurityScanStatusUpdatedAt field. +func (o *RubyPackageUploadResponse) SetSecurityScanStatusUpdatedAt(v time.Time) { o.SecurityScanStatusUpdatedAt = &v } // GetSelfHtmlUrl returns the SelfHtmlUrl field value if set, zero value otherwise. -func (o *Package) GetSelfHtmlUrl() string { - if o == nil || o.SelfHtmlUrl == nil { +func (o *RubyPackageUploadResponse) GetSelfHtmlUrl() string { + if o == nil || isNil(o.SelfHtmlUrl) { var ret string return ret } @@ -1461,16 +1517,16 @@ func (o *Package) GetSelfHtmlUrl() string { // GetSelfHtmlUrlOk returns a tuple with the SelfHtmlUrl field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *Package) GetSelfHtmlUrlOk() (*string, bool) { - if o == nil || o.SelfHtmlUrl == nil { +func (o *RubyPackageUploadResponse) GetSelfHtmlUrlOk() (*string, bool) { + if o == nil || isNil(o.SelfHtmlUrl) { return nil, false } return o.SelfHtmlUrl, true } // HasSelfHtmlUrl returns a boolean if a field has been set. -func (o *Package) HasSelfHtmlUrl() bool { - if o != nil && o.SelfHtmlUrl != nil { +func (o *RubyPackageUploadResponse) HasSelfHtmlUrl() bool { + if o != nil && !isNil(o.SelfHtmlUrl) { return true } @@ -1478,13 +1534,13 @@ func (o *Package) HasSelfHtmlUrl() bool { } // SetSelfHtmlUrl gets a reference to the given string and assigns it to the SelfHtmlUrl field. -func (o *Package) SetSelfHtmlUrl(v string) { +func (o *RubyPackageUploadResponse) SetSelfHtmlUrl(v string) { o.SelfHtmlUrl = &v } // GetSelfUrl returns the SelfUrl field value if set, zero value otherwise. -func (o *Package) GetSelfUrl() string { - if o == nil || o.SelfUrl == nil { +func (o *RubyPackageUploadResponse) GetSelfUrl() string { + if o == nil || isNil(o.SelfUrl) { var ret string return ret } @@ -1493,16 +1549,16 @@ func (o *Package) GetSelfUrl() string { // GetSelfUrlOk returns a tuple with the SelfUrl field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *Package) GetSelfUrlOk() (*string, bool) { - if o == nil || o.SelfUrl == nil { +func (o *RubyPackageUploadResponse) GetSelfUrlOk() (*string, bool) { + if o == nil || isNil(o.SelfUrl) { return nil, false } return o.SelfUrl, true } // HasSelfUrl returns a boolean if a field has been set. -func (o *Package) HasSelfUrl() bool { - if o != nil && o.SelfUrl != nil { +func (o *RubyPackageUploadResponse) HasSelfUrl() bool { + if o != nil && !isNil(o.SelfUrl) { return true } @@ -1510,45 +1566,56 @@ func (o *Package) HasSelfUrl() bool { } // SetSelfUrl gets a reference to the given string and assigns it to the SelfUrl field. -func (o *Package) SetSelfUrl(v string) { +func (o *RubyPackageUploadResponse) SetSelfUrl(v string) { o.SelfUrl = &v } -// GetSignatureUrl returns the SignatureUrl field value if set, zero value otherwise. -func (o *Package) GetSignatureUrl() string { - if o == nil || o.SignatureUrl == nil { +// GetSignatureUrl returns the SignatureUrl field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *RubyPackageUploadResponse) GetSignatureUrl() string { + if o == nil || isNil(o.SignatureUrl.Get()) { var ret string return ret } - return *o.SignatureUrl + return *o.SignatureUrl.Get() } // GetSignatureUrlOk returns a tuple with the SignatureUrl field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *Package) GetSignatureUrlOk() (*string, bool) { - if o == nil || o.SignatureUrl == nil { +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *RubyPackageUploadResponse) GetSignatureUrlOk() (*string, bool) { + if o == nil { return nil, false } - return o.SignatureUrl, true + return o.SignatureUrl.Get(), o.SignatureUrl.IsSet() } // HasSignatureUrl returns a boolean if a field has been set. -func (o *Package) HasSignatureUrl() bool { - if o != nil && o.SignatureUrl != nil { +func (o *RubyPackageUploadResponse) HasSignatureUrl() bool { + if o != nil && o.SignatureUrl.IsSet() { return true } return false } -// SetSignatureUrl gets a reference to the given string and assigns it to the SignatureUrl field. -func (o *Package) SetSignatureUrl(v string) { - o.SignatureUrl = &v +// SetSignatureUrl gets a reference to the given NullableString and assigns it to the SignatureUrl field. +func (o *RubyPackageUploadResponse) SetSignatureUrl(v string) { + o.SignatureUrl.Set(&v) +} + +// SetSignatureUrlNil sets the value for SignatureUrl to be an explicit nil +func (o *RubyPackageUploadResponse) SetSignatureUrlNil() { + o.SignatureUrl.Set(nil) +} + +// UnsetSignatureUrl ensures that no value is present for SignatureUrl, not even an explicit nil +func (o *RubyPackageUploadResponse) UnsetSignatureUrl() { + o.SignatureUrl.Unset() } // GetSize returns the Size field value if set, zero value otherwise. -func (o *Package) GetSize() int64 { - if o == nil || o.Size == nil { +func (o *RubyPackageUploadResponse) GetSize() int64 { + if o == nil || isNil(o.Size) { var ret int64 return ret } @@ -1557,16 +1624,16 @@ func (o *Package) GetSize() int64 { // GetSizeOk returns a tuple with the Size field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *Package) GetSizeOk() (*int64, bool) { - if o == nil || o.Size == nil { +func (o *RubyPackageUploadResponse) GetSizeOk() (*int64, bool) { + if o == nil || isNil(o.Size) { return nil, false } return o.Size, true } // HasSize returns a boolean if a field has been set. -func (o *Package) HasSize() bool { - if o != nil && o.Size != nil { +func (o *RubyPackageUploadResponse) HasSize() bool { + if o != nil && !isNil(o.Size) { return true } @@ -1574,13 +1641,13 @@ func (o *Package) HasSize() bool { } // SetSize gets a reference to the given int64 and assigns it to the Size field. -func (o *Package) SetSize(v int64) { +func (o *RubyPackageUploadResponse) SetSize(v int64) { o.Size = &v } // GetSlug returns the Slug field value if set, zero value otherwise. -func (o *Package) GetSlug() string { - if o == nil || o.Slug == nil { +func (o *RubyPackageUploadResponse) GetSlug() string { + if o == nil || isNil(o.Slug) { var ret string return ret } @@ -1589,16 +1656,16 @@ func (o *Package) GetSlug() string { // GetSlugOk returns a tuple with the Slug field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *Package) GetSlugOk() (*string, bool) { - if o == nil || o.Slug == nil { +func (o *RubyPackageUploadResponse) GetSlugOk() (*string, bool) { + if o == nil || isNil(o.Slug) { return nil, false } return o.Slug, true } // HasSlug returns a boolean if a field has been set. -func (o *Package) HasSlug() bool { - if o != nil && o.Slug != nil { +func (o *RubyPackageUploadResponse) HasSlug() bool { + if o != nil && !isNil(o.Slug) { return true } @@ -1606,13 +1673,13 @@ func (o *Package) HasSlug() bool { } // SetSlug gets a reference to the given string and assigns it to the Slug field. -func (o *Package) SetSlug(v string) { +func (o *RubyPackageUploadResponse) SetSlug(v string) { o.Slug = &v } // GetSlugPerm returns the SlugPerm field value if set, zero value otherwise. -func (o *Package) GetSlugPerm() string { - if o == nil || o.SlugPerm == nil { +func (o *RubyPackageUploadResponse) GetSlugPerm() string { + if o == nil || isNil(o.SlugPerm) { var ret string return ret } @@ -1621,16 +1688,16 @@ func (o *Package) GetSlugPerm() string { // GetSlugPermOk returns a tuple with the SlugPerm field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *Package) GetSlugPermOk() (*string, bool) { - if o == nil || o.SlugPerm == nil { +func (o *RubyPackageUploadResponse) GetSlugPermOk() (*string, bool) { + if o == nil || isNil(o.SlugPerm) { return nil, false } return o.SlugPerm, true } // HasSlugPerm returns a boolean if a field has been set. -func (o *Package) HasSlugPerm() bool { - if o != nil && o.SlugPerm != nil { +func (o *RubyPackageUploadResponse) HasSlugPerm() bool { + if o != nil && !isNil(o.SlugPerm) { return true } @@ -1638,13 +1705,13 @@ func (o *Package) HasSlugPerm() bool { } // SetSlugPerm gets a reference to the given string and assigns it to the SlugPerm field. -func (o *Package) SetSlugPerm(v string) { +func (o *RubyPackageUploadResponse) SetSlugPerm(v string) { o.SlugPerm = &v } // GetStage returns the Stage field value if set, zero value otherwise. -func (o *Package) GetStage() int64 { - if o == nil || o.Stage == nil { +func (o *RubyPackageUploadResponse) GetStage() int64 { + if o == nil || isNil(o.Stage) { var ret int64 return ret } @@ -1653,16 +1720,16 @@ func (o *Package) GetStage() int64 { // GetStageOk returns a tuple with the Stage field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *Package) GetStageOk() (*int64, bool) { - if o == nil || o.Stage == nil { +func (o *RubyPackageUploadResponse) GetStageOk() (*int64, bool) { + if o == nil || isNil(o.Stage) { return nil, false } return o.Stage, true } // HasStage returns a boolean if a field has been set. -func (o *Package) HasStage() bool { - if o != nil && o.Stage != nil { +func (o *RubyPackageUploadResponse) HasStage() bool { + if o != nil && !isNil(o.Stage) { return true } @@ -1670,13 +1737,13 @@ func (o *Package) HasStage() bool { } // SetStage gets a reference to the given int64 and assigns it to the Stage field. -func (o *Package) SetStage(v int64) { +func (o *RubyPackageUploadResponse) SetStage(v int64) { o.Stage = &v } // GetStageStr returns the StageStr field value if set, zero value otherwise. -func (o *Package) GetStageStr() string { - if o == nil || o.StageStr == nil { +func (o *RubyPackageUploadResponse) GetStageStr() string { + if o == nil || isNil(o.StageStr) { var ret string return ret } @@ -1685,16 +1752,16 @@ func (o *Package) GetStageStr() string { // GetStageStrOk returns a tuple with the StageStr field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *Package) GetStageStrOk() (*string, bool) { - if o == nil || o.StageStr == nil { +func (o *RubyPackageUploadResponse) GetStageStrOk() (*string, bool) { + if o == nil || isNil(o.StageStr) { return nil, false } return o.StageStr, true } // HasStageStr returns a boolean if a field has been set. -func (o *Package) HasStageStr() bool { - if o != nil && o.StageStr != nil { +func (o *RubyPackageUploadResponse) HasStageStr() bool { + if o != nil && !isNil(o.StageStr) { return true } @@ -1702,14 +1769,14 @@ func (o *Package) HasStageStr() bool { } // SetStageStr gets a reference to the given string and assigns it to the StageStr field. -func (o *Package) SetStageStr(v string) { +func (o *RubyPackageUploadResponse) SetStageStr(v string) { o.StageStr = &v } // GetStageUpdatedAt returns the StageUpdatedAt field value if set, zero value otherwise. -func (o *Package) GetStageUpdatedAt() string { - if o == nil || o.StageUpdatedAt == nil { - var ret string +func (o *RubyPackageUploadResponse) GetStageUpdatedAt() time.Time { + if o == nil || isNil(o.StageUpdatedAt) { + var ret time.Time return ret } return *o.StageUpdatedAt @@ -1717,30 +1784,30 @@ func (o *Package) GetStageUpdatedAt() string { // GetStageUpdatedAtOk returns a tuple with the StageUpdatedAt field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *Package) GetStageUpdatedAtOk() (*string, bool) { - if o == nil || o.StageUpdatedAt == nil { +func (o *RubyPackageUploadResponse) GetStageUpdatedAtOk() (*time.Time, bool) { + if o == nil || isNil(o.StageUpdatedAt) { return nil, false } return o.StageUpdatedAt, true } // HasStageUpdatedAt returns a boolean if a field has been set. -func (o *Package) HasStageUpdatedAt() bool { - if o != nil && o.StageUpdatedAt != nil { +func (o *RubyPackageUploadResponse) HasStageUpdatedAt() bool { + if o != nil && !isNil(o.StageUpdatedAt) { return true } return false } -// SetStageUpdatedAt gets a reference to the given string and assigns it to the StageUpdatedAt field. -func (o *Package) SetStageUpdatedAt(v string) { +// SetStageUpdatedAt gets a reference to the given time.Time and assigns it to the StageUpdatedAt field. +func (o *RubyPackageUploadResponse) SetStageUpdatedAt(v time.Time) { o.StageUpdatedAt = &v } // GetStatus returns the Status field value if set, zero value otherwise. -func (o *Package) GetStatus() int64 { - if o == nil || o.Status == nil { +func (o *RubyPackageUploadResponse) GetStatus() int64 { + if o == nil || isNil(o.Status) { var ret int64 return ret } @@ -1749,16 +1816,16 @@ func (o *Package) GetStatus() int64 { // GetStatusOk returns a tuple with the Status field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *Package) GetStatusOk() (*int64, bool) { - if o == nil || o.Status == nil { +func (o *RubyPackageUploadResponse) GetStatusOk() (*int64, bool) { + if o == nil || isNil(o.Status) { return nil, false } return o.Status, true } // HasStatus returns a boolean if a field has been set. -func (o *Package) HasStatus() bool { - if o != nil && o.Status != nil { +func (o *RubyPackageUploadResponse) HasStatus() bool { + if o != nil && !isNil(o.Status) { return true } @@ -1766,13 +1833,13 @@ func (o *Package) HasStatus() bool { } // SetStatus gets a reference to the given int64 and assigns it to the Status field. -func (o *Package) SetStatus(v int64) { +func (o *RubyPackageUploadResponse) SetStatus(v int64) { o.Status = &v } // GetStatusReason returns the StatusReason field value if set, zero value otherwise. -func (o *Package) GetStatusReason() string { - if o == nil || o.StatusReason == nil { +func (o *RubyPackageUploadResponse) GetStatusReason() string { + if o == nil || isNil(o.StatusReason) { var ret string return ret } @@ -1781,16 +1848,16 @@ func (o *Package) GetStatusReason() string { // GetStatusReasonOk returns a tuple with the StatusReason field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *Package) GetStatusReasonOk() (*string, bool) { - if o == nil || o.StatusReason == nil { +func (o *RubyPackageUploadResponse) GetStatusReasonOk() (*string, bool) { + if o == nil || isNil(o.StatusReason) { return nil, false } return o.StatusReason, true } // HasStatusReason returns a boolean if a field has been set. -func (o *Package) HasStatusReason() bool { - if o != nil && o.StatusReason != nil { +func (o *RubyPackageUploadResponse) HasStatusReason() bool { + if o != nil && !isNil(o.StatusReason) { return true } @@ -1798,13 +1865,13 @@ func (o *Package) HasStatusReason() bool { } // SetStatusReason gets a reference to the given string and assigns it to the StatusReason field. -func (o *Package) SetStatusReason(v string) { +func (o *RubyPackageUploadResponse) SetStatusReason(v string) { o.StatusReason = &v } // GetStatusStr returns the StatusStr field value if set, zero value otherwise. -func (o *Package) GetStatusStr() string { - if o == nil || o.StatusStr == nil { +func (o *RubyPackageUploadResponse) GetStatusStr() string { + if o == nil || isNil(o.StatusStr) { var ret string return ret } @@ -1813,16 +1880,16 @@ func (o *Package) GetStatusStr() string { // GetStatusStrOk returns a tuple with the StatusStr field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *Package) GetStatusStrOk() (*string, bool) { - if o == nil || o.StatusStr == nil { +func (o *RubyPackageUploadResponse) GetStatusStrOk() (*string, bool) { + if o == nil || isNil(o.StatusStr) { return nil, false } return o.StatusStr, true } // HasStatusStr returns a boolean if a field has been set. -func (o *Package) HasStatusStr() bool { - if o != nil && o.StatusStr != nil { +func (o *RubyPackageUploadResponse) HasStatusStr() bool { + if o != nil && !isNil(o.StatusStr) { return true } @@ -1830,14 +1897,14 @@ func (o *Package) HasStatusStr() bool { } // SetStatusStr gets a reference to the given string and assigns it to the StatusStr field. -func (o *Package) SetStatusStr(v string) { +func (o *RubyPackageUploadResponse) SetStatusStr(v string) { o.StatusStr = &v } // GetStatusUpdatedAt returns the StatusUpdatedAt field value if set, zero value otherwise. -func (o *Package) GetStatusUpdatedAt() string { - if o == nil || o.StatusUpdatedAt == nil { - var ret string +func (o *RubyPackageUploadResponse) GetStatusUpdatedAt() time.Time { + if o == nil || isNil(o.StatusUpdatedAt) { + var ret time.Time return ret } return *o.StatusUpdatedAt @@ -1845,30 +1912,30 @@ func (o *Package) GetStatusUpdatedAt() string { // GetStatusUpdatedAtOk returns a tuple with the StatusUpdatedAt field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *Package) GetStatusUpdatedAtOk() (*string, bool) { - if o == nil || o.StatusUpdatedAt == nil { +func (o *RubyPackageUploadResponse) GetStatusUpdatedAtOk() (*time.Time, bool) { + if o == nil || isNil(o.StatusUpdatedAt) { return nil, false } return o.StatusUpdatedAt, true } // HasStatusUpdatedAt returns a boolean if a field has been set. -func (o *Package) HasStatusUpdatedAt() bool { - if o != nil && o.StatusUpdatedAt != nil { +func (o *RubyPackageUploadResponse) HasStatusUpdatedAt() bool { + if o != nil && !isNil(o.StatusUpdatedAt) { return true } return false } -// SetStatusUpdatedAt gets a reference to the given string and assigns it to the StatusUpdatedAt field. -func (o *Package) SetStatusUpdatedAt(v string) { +// SetStatusUpdatedAt gets a reference to the given time.Time and assigns it to the StatusUpdatedAt field. +func (o *RubyPackageUploadResponse) SetStatusUpdatedAt(v time.Time) { o.StatusUpdatedAt = &v } // GetStatusUrl returns the StatusUrl field value if set, zero value otherwise. -func (o *Package) GetStatusUrl() string { - if o == nil || o.StatusUrl == nil { +func (o *RubyPackageUploadResponse) GetStatusUrl() string { + if o == nil || isNil(o.StatusUrl) { var ret string return ret } @@ -1877,16 +1944,16 @@ func (o *Package) GetStatusUrl() string { // GetStatusUrlOk returns a tuple with the StatusUrl field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *Package) GetStatusUrlOk() (*string, bool) { - if o == nil || o.StatusUrl == nil { +func (o *RubyPackageUploadResponse) GetStatusUrlOk() (*string, bool) { + if o == nil || isNil(o.StatusUrl) { return nil, false } return o.StatusUrl, true } // HasStatusUrl returns a boolean if a field has been set. -func (o *Package) HasStatusUrl() bool { - if o != nil && o.StatusUrl != nil { +func (o *RubyPackageUploadResponse) HasStatusUrl() bool { + if o != nil && !isNil(o.StatusUrl) { return true } @@ -1894,13 +1961,13 @@ func (o *Package) HasStatusUrl() bool { } // SetStatusUrl gets a reference to the given string and assigns it to the StatusUrl field. -func (o *Package) SetStatusUrl(v string) { +func (o *RubyPackageUploadResponse) SetStatusUrl(v string) { o.StatusUrl = &v } // GetSubtype returns the Subtype field value if set, zero value otherwise. -func (o *Package) GetSubtype() string { - if o == nil || o.Subtype == nil { +func (o *RubyPackageUploadResponse) GetSubtype() string { + if o == nil || isNil(o.Subtype) { var ret string return ret } @@ -1909,16 +1976,16 @@ func (o *Package) GetSubtype() string { // GetSubtypeOk returns a tuple with the Subtype field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *Package) GetSubtypeOk() (*string, bool) { - if o == nil || o.Subtype == nil { +func (o *RubyPackageUploadResponse) GetSubtypeOk() (*string, bool) { + if o == nil || isNil(o.Subtype) { return nil, false } return o.Subtype, true } // HasSubtype returns a boolean if a field has been set. -func (o *Package) HasSubtype() bool { - if o != nil && o.Subtype != nil { +func (o *RubyPackageUploadResponse) HasSubtype() bool { + if o != nil && !isNil(o.Subtype) { return true } @@ -1926,13 +1993,13 @@ func (o *Package) HasSubtype() bool { } // SetSubtype gets a reference to the given string and assigns it to the Subtype field. -func (o *Package) SetSubtype(v string) { +func (o *RubyPackageUploadResponse) SetSubtype(v string) { o.Subtype = &v } // GetSummary returns the Summary field value if set, zero value otherwise. -func (o *Package) GetSummary() string { - if o == nil || o.Summary == nil { +func (o *RubyPackageUploadResponse) GetSummary() string { + if o == nil || isNil(o.Summary) { var ret string return ret } @@ -1941,16 +2008,16 @@ func (o *Package) GetSummary() string { // GetSummaryOk returns a tuple with the Summary field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *Package) GetSummaryOk() (*string, bool) { - if o == nil || o.Summary == nil { +func (o *RubyPackageUploadResponse) GetSummaryOk() (*string, bool) { + if o == nil || isNil(o.Summary) { return nil, false } return o.Summary, true } // HasSummary returns a boolean if a field has been set. -func (o *Package) HasSummary() bool { - if o != nil && o.Summary != nil { +func (o *RubyPackageUploadResponse) HasSummary() bool { + if o != nil && !isNil(o.Summary) { return true } @@ -1958,14 +2025,14 @@ func (o *Package) HasSummary() bool { } // SetSummary gets a reference to the given string and assigns it to the Summary field. -func (o *Package) SetSummary(v string) { +func (o *RubyPackageUploadResponse) SetSummary(v string) { o.Summary = &v } // GetSyncFinishedAt returns the SyncFinishedAt field value if set, zero value otherwise. -func (o *Package) GetSyncFinishedAt() string { - if o == nil || o.SyncFinishedAt == nil { - var ret string +func (o *RubyPackageUploadResponse) GetSyncFinishedAt() time.Time { + if o == nil || isNil(o.SyncFinishedAt) { + var ret time.Time return ret } return *o.SyncFinishedAt @@ -1973,30 +2040,30 @@ func (o *Package) GetSyncFinishedAt() string { // GetSyncFinishedAtOk returns a tuple with the SyncFinishedAt field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *Package) GetSyncFinishedAtOk() (*string, bool) { - if o == nil || o.SyncFinishedAt == nil { +func (o *RubyPackageUploadResponse) GetSyncFinishedAtOk() (*time.Time, bool) { + if o == nil || isNil(o.SyncFinishedAt) { return nil, false } return o.SyncFinishedAt, true } // HasSyncFinishedAt returns a boolean if a field has been set. -func (o *Package) HasSyncFinishedAt() bool { - if o != nil && o.SyncFinishedAt != nil { +func (o *RubyPackageUploadResponse) HasSyncFinishedAt() bool { + if o != nil && !isNil(o.SyncFinishedAt) { return true } return false } -// SetSyncFinishedAt gets a reference to the given string and assigns it to the SyncFinishedAt field. -func (o *Package) SetSyncFinishedAt(v string) { +// SetSyncFinishedAt gets a reference to the given time.Time and assigns it to the SyncFinishedAt field. +func (o *RubyPackageUploadResponse) SetSyncFinishedAt(v time.Time) { o.SyncFinishedAt = &v } // GetSyncProgress returns the SyncProgress field value if set, zero value otherwise. -func (o *Package) GetSyncProgress() int64 { - if o == nil || o.SyncProgress == nil { +func (o *RubyPackageUploadResponse) GetSyncProgress() int64 { + if o == nil || isNil(o.SyncProgress) { var ret int64 return ret } @@ -2005,16 +2072,16 @@ func (o *Package) GetSyncProgress() int64 { // GetSyncProgressOk returns a tuple with the SyncProgress field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *Package) GetSyncProgressOk() (*int64, bool) { - if o == nil || o.SyncProgress == nil { +func (o *RubyPackageUploadResponse) GetSyncProgressOk() (*int64, bool) { + if o == nil || isNil(o.SyncProgress) { return nil, false } return o.SyncProgress, true } // HasSyncProgress returns a boolean if a field has been set. -func (o *Package) HasSyncProgress() bool { - if o != nil && o.SyncProgress != nil { +func (o *RubyPackageUploadResponse) HasSyncProgress() bool { + if o != nil && !isNil(o.SyncProgress) { return true } @@ -2022,45 +2089,13 @@ func (o *Package) HasSyncProgress() bool { } // SetSyncProgress gets a reference to the given int64 and assigns it to the SyncProgress field. -func (o *Package) SetSyncProgress(v int64) { +func (o *RubyPackageUploadResponse) SetSyncProgress(v int64) { o.SyncProgress = &v } -// GetTags returns the Tags field value if set, zero value otherwise. -func (o *Package) GetTags() map[string]interface{} { - if o == nil || o.Tags == nil { - var ret map[string]interface{} - return ret - } - return o.Tags -} - -// GetTagsOk returns a tuple with the Tags field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *Package) GetTagsOk() (map[string]interface{}, bool) { - if o == nil || o.Tags == nil { - return nil, false - } - return o.Tags, true -} - -// HasTags returns a boolean if a field has been set. -func (o *Package) HasTags() bool { - if o != nil && o.Tags != nil { - return true - } - - return false -} - -// SetTags gets a reference to the given map[string]interface{} and assigns it to the Tags field. -func (o *Package) SetTags(v map[string]interface{}) { - o.Tags = v -} - // GetTagsImmutable returns the TagsImmutable field value if set, zero value otherwise. -func (o *Package) GetTagsImmutable() map[string]interface{} { - if o == nil || o.TagsImmutable == nil { +func (o *RubyPackageUploadResponse) GetTagsImmutable() map[string]interface{} { + if o == nil || isNil(o.TagsImmutable) { var ret map[string]interface{} return ret } @@ -2069,16 +2104,16 @@ func (o *Package) GetTagsImmutable() map[string]interface{} { // GetTagsImmutableOk returns a tuple with the TagsImmutable field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *Package) GetTagsImmutableOk() (map[string]interface{}, bool) { - if o == nil || o.TagsImmutable == nil { - return nil, false +func (o *RubyPackageUploadResponse) GetTagsImmutableOk() (map[string]interface{}, bool) { + if o == nil || isNil(o.TagsImmutable) { + return map[string]interface{}{}, false } return o.TagsImmutable, true } // HasTagsImmutable returns a boolean if a field has been set. -func (o *Package) HasTagsImmutable() bool { - if o != nil && o.TagsImmutable != nil { +func (o *RubyPackageUploadResponse) HasTagsImmutable() bool { + if o != nil && !isNil(o.TagsImmutable) { return true } @@ -2086,13 +2121,13 @@ func (o *Package) HasTagsImmutable() bool { } // SetTagsImmutable gets a reference to the given map[string]interface{} and assigns it to the TagsImmutable field. -func (o *Package) SetTagsImmutable(v map[string]interface{}) { +func (o *RubyPackageUploadResponse) SetTagsImmutable(v map[string]interface{}) { o.TagsImmutable = v } // GetTypeDisplay returns the TypeDisplay field value if set, zero value otherwise. -func (o *Package) GetTypeDisplay() string { - if o == nil || o.TypeDisplay == nil { +func (o *RubyPackageUploadResponse) GetTypeDisplay() string { + if o == nil || isNil(o.TypeDisplay) { var ret string return ret } @@ -2101,16 +2136,16 @@ func (o *Package) GetTypeDisplay() string { // GetTypeDisplayOk returns a tuple with the TypeDisplay field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *Package) GetTypeDisplayOk() (*string, bool) { - if o == nil || o.TypeDisplay == nil { +func (o *RubyPackageUploadResponse) GetTypeDisplayOk() (*string, bool) { + if o == nil || isNil(o.TypeDisplay) { return nil, false } return o.TypeDisplay, true } // HasTypeDisplay returns a boolean if a field has been set. -func (o *Package) HasTypeDisplay() bool { - if o != nil && o.TypeDisplay != nil { +func (o *RubyPackageUploadResponse) HasTypeDisplay() bool { + if o != nil && !isNil(o.TypeDisplay) { return true } @@ -2118,14 +2153,14 @@ func (o *Package) HasTypeDisplay() bool { } // SetTypeDisplay gets a reference to the given string and assigns it to the TypeDisplay field. -func (o *Package) SetTypeDisplay(v string) { +func (o *RubyPackageUploadResponse) SetTypeDisplay(v string) { o.TypeDisplay = &v } // GetUploadedAt returns the UploadedAt field value if set, zero value otherwise. -func (o *Package) GetUploadedAt() string { - if o == nil || o.UploadedAt == nil { - var ret string +func (o *RubyPackageUploadResponse) GetUploadedAt() time.Time { + if o == nil || isNil(o.UploadedAt) { + var ret time.Time return ret } return *o.UploadedAt @@ -2133,30 +2168,30 @@ func (o *Package) GetUploadedAt() string { // GetUploadedAtOk returns a tuple with the UploadedAt field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *Package) GetUploadedAtOk() (*string, bool) { - if o == nil || o.UploadedAt == nil { +func (o *RubyPackageUploadResponse) GetUploadedAtOk() (*time.Time, bool) { + if o == nil || isNil(o.UploadedAt) { return nil, false } return o.UploadedAt, true } // HasUploadedAt returns a boolean if a field has been set. -func (o *Package) HasUploadedAt() bool { - if o != nil && o.UploadedAt != nil { +func (o *RubyPackageUploadResponse) HasUploadedAt() bool { + if o != nil && !isNil(o.UploadedAt) { return true } return false } -// SetUploadedAt gets a reference to the given string and assigns it to the UploadedAt field. -func (o *Package) SetUploadedAt(v string) { +// SetUploadedAt gets a reference to the given time.Time and assigns it to the UploadedAt field. +func (o *RubyPackageUploadResponse) SetUploadedAt(v time.Time) { o.UploadedAt = &v } // GetUploader returns the Uploader field value if set, zero value otherwise. -func (o *Package) GetUploader() string { - if o == nil || o.Uploader == nil { +func (o *RubyPackageUploadResponse) GetUploader() string { + if o == nil || isNil(o.Uploader) { var ret string return ret } @@ -2165,16 +2200,16 @@ func (o *Package) GetUploader() string { // GetUploaderOk returns a tuple with the Uploader field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *Package) GetUploaderOk() (*string, bool) { - if o == nil || o.Uploader == nil { +func (o *RubyPackageUploadResponse) GetUploaderOk() (*string, bool) { + if o == nil || isNil(o.Uploader) { return nil, false } return o.Uploader, true } // HasUploader returns a boolean if a field has been set. -func (o *Package) HasUploader() bool { - if o != nil && o.Uploader != nil { +func (o *RubyPackageUploadResponse) HasUploader() bool { + if o != nil && !isNil(o.Uploader) { return true } @@ -2182,13 +2217,13 @@ func (o *Package) HasUploader() bool { } // SetUploader gets a reference to the given string and assigns it to the Uploader field. -func (o *Package) SetUploader(v string) { +func (o *RubyPackageUploadResponse) SetUploader(v string) { o.Uploader = &v } // GetUploaderUrl returns the UploaderUrl field value if set, zero value otherwise. -func (o *Package) GetUploaderUrl() string { - if o == nil || o.UploaderUrl == nil { +func (o *RubyPackageUploadResponse) GetUploaderUrl() string { + if o == nil || isNil(o.UploaderUrl) { var ret string return ret } @@ -2197,16 +2232,16 @@ func (o *Package) GetUploaderUrl() string { // GetUploaderUrlOk returns a tuple with the UploaderUrl field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *Package) GetUploaderUrlOk() (*string, bool) { - if o == nil || o.UploaderUrl == nil { +func (o *RubyPackageUploadResponse) GetUploaderUrlOk() (*string, bool) { + if o == nil || isNil(o.UploaderUrl) { return nil, false } return o.UploaderUrl, true } // HasUploaderUrl returns a boolean if a field has been set. -func (o *Package) HasUploaderUrl() bool { - if o != nil && o.UploaderUrl != nil { +func (o *RubyPackageUploadResponse) HasUploaderUrl() bool { + if o != nil && !isNil(o.UploaderUrl) { return true } @@ -2214,13 +2249,13 @@ func (o *Package) HasUploaderUrl() bool { } // SetUploaderUrl gets a reference to the given string and assigns it to the UploaderUrl field. -func (o *Package) SetUploaderUrl(v string) { +func (o *RubyPackageUploadResponse) SetUploaderUrl(v string) { o.UploaderUrl = &v } // GetVersion returns the Version field value if set, zero value otherwise. -func (o *Package) GetVersion() string { - if o == nil || o.Version == nil { +func (o *RubyPackageUploadResponse) GetVersion() string { + if o == nil || isNil(o.Version) { var ret string return ret } @@ -2229,16 +2264,16 @@ func (o *Package) GetVersion() string { // GetVersionOk returns a tuple with the Version field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *Package) GetVersionOk() (*string, bool) { - if o == nil || o.Version == nil { +func (o *RubyPackageUploadResponse) GetVersionOk() (*string, bool) { + if o == nil || isNil(o.Version) { return nil, false } return o.Version, true } // HasVersion returns a boolean if a field has been set. -func (o *Package) HasVersion() bool { - if o != nil && o.Version != nil { +func (o *RubyPackageUploadResponse) HasVersion() bool { + if o != nil && !isNil(o.Version) { return true } @@ -2246,13 +2281,13 @@ func (o *Package) HasVersion() bool { } // SetVersion gets a reference to the given string and assigns it to the Version field. -func (o *Package) SetVersion(v string) { +func (o *RubyPackageUploadResponse) SetVersion(v string) { o.Version = &v } // GetVersionOrig returns the VersionOrig field value if set, zero value otherwise. -func (o *Package) GetVersionOrig() string { - if o == nil || o.VersionOrig == nil { +func (o *RubyPackageUploadResponse) GetVersionOrig() string { + if o == nil || isNil(o.VersionOrig) { var ret string return ret } @@ -2261,16 +2296,16 @@ func (o *Package) GetVersionOrig() string { // GetVersionOrigOk returns a tuple with the VersionOrig field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *Package) GetVersionOrigOk() (*string, bool) { - if o == nil || o.VersionOrig == nil { +func (o *RubyPackageUploadResponse) GetVersionOrigOk() (*string, bool) { + if o == nil || isNil(o.VersionOrig) { return nil, false } return o.VersionOrig, true } // HasVersionOrig returns a boolean if a field has been set. -func (o *Package) HasVersionOrig() bool { - if o != nil && o.VersionOrig != nil { +func (o *RubyPackageUploadResponse) HasVersionOrig() bool { + if o != nil && !isNil(o.VersionOrig) { return true } @@ -2278,13 +2313,13 @@ func (o *Package) HasVersionOrig() bool { } // SetVersionOrig gets a reference to the given string and assigns it to the VersionOrig field. -func (o *Package) SetVersionOrig(v string) { +func (o *RubyPackageUploadResponse) SetVersionOrig(v string) { o.VersionOrig = &v } // GetVulnerabilityScanResultsUrl returns the VulnerabilityScanResultsUrl field value if set, zero value otherwise. -func (o *Package) GetVulnerabilityScanResultsUrl() string { - if o == nil || o.VulnerabilityScanResultsUrl == nil { +func (o *RubyPackageUploadResponse) GetVulnerabilityScanResultsUrl() string { + if o == nil || isNil(o.VulnerabilityScanResultsUrl) { var ret string return ret } @@ -2293,16 +2328,16 @@ func (o *Package) GetVulnerabilityScanResultsUrl() string { // GetVulnerabilityScanResultsUrlOk returns a tuple with the VulnerabilityScanResultsUrl field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *Package) GetVulnerabilityScanResultsUrlOk() (*string, bool) { - if o == nil || o.VulnerabilityScanResultsUrl == nil { +func (o *RubyPackageUploadResponse) GetVulnerabilityScanResultsUrlOk() (*string, bool) { + if o == nil || isNil(o.VulnerabilityScanResultsUrl) { return nil, false } return o.VulnerabilityScanResultsUrl, true } // HasVulnerabilityScanResultsUrl returns a boolean if a field has been set. -func (o *Package) HasVulnerabilityScanResultsUrl() bool { - if o != nil && o.VulnerabilityScanResultsUrl != nil { +func (o *RubyPackageUploadResponse) HasVulnerabilityScanResultsUrl() bool { + if o != nil && !isNil(o.VulnerabilityScanResultsUrl) { return true } @@ -2310,248 +2345,251 @@ func (o *Package) HasVulnerabilityScanResultsUrl() bool { } // SetVulnerabilityScanResultsUrl gets a reference to the given string and assigns it to the VulnerabilityScanResultsUrl field. -func (o *Package) SetVulnerabilityScanResultsUrl(v string) { +func (o *RubyPackageUploadResponse) SetVulnerabilityScanResultsUrl(v string) { o.VulnerabilityScanResultsUrl = &v } -func (o Package) MarshalJSON() ([]byte, error) { +func (o RubyPackageUploadResponse) MarshalJSON() ([]byte, error) { toSerialize := map[string]interface{}{} - if o.Architectures != nil { + if !isNil(o.Architectures) { toSerialize["architectures"] = o.Architectures } - if o.CdnUrl != nil { - toSerialize["cdn_url"] = o.CdnUrl + if o.CdnUrl.IsSet() { + toSerialize["cdn_url"] = o.CdnUrl.Get() } - if o.ChecksumMd5 != nil { + if !isNil(o.ChecksumMd5) { toSerialize["checksum_md5"] = o.ChecksumMd5 } - if o.ChecksumSha1 != nil { + if !isNil(o.ChecksumSha1) { toSerialize["checksum_sha1"] = o.ChecksumSha1 } - if o.ChecksumSha256 != nil { + if !isNil(o.ChecksumSha256) { toSerialize["checksum_sha256"] = o.ChecksumSha256 } - if o.ChecksumSha512 != nil { + if !isNil(o.ChecksumSha512) { toSerialize["checksum_sha512"] = o.ChecksumSha512 } - if o.DependenciesChecksumMd5 != nil { + if !isNil(o.DependenciesChecksumMd5) { toSerialize["dependencies_checksum_md5"] = o.DependenciesChecksumMd5 } - if o.DependenciesUrl != nil { + if !isNil(o.DependenciesUrl) { toSerialize["dependencies_url"] = o.DependenciesUrl } - if o.Description != nil { + if !isNil(o.Description) { toSerialize["description"] = o.Description } - if o.Distro != nil { - toSerialize["distro"] = o.Distro + if o.Distro.IsSet() { + toSerialize["distro"] = o.Distro.Get() } - if o.DistroVersion != nil { + if !isNil(o.DistroVersion) { toSerialize["distro_version"] = o.DistroVersion } - if o.Downloads != nil { + if !isNil(o.Downloads) { toSerialize["downloads"] = o.Downloads } - if o.Epoch != nil { + if !isNil(o.Epoch) { toSerialize["epoch"] = o.Epoch } - if o.Extension != nil { + if !isNil(o.Extension) { toSerialize["extension"] = o.Extension } - if o.Filename != nil { + if !isNil(o.Filename) { toSerialize["filename"] = o.Filename } - if o.Files != nil { + if !isNil(o.Files) { toSerialize["files"] = o.Files } - if o.Format != nil { + if !isNil(o.Format) { toSerialize["format"] = o.Format } - if o.FormatUrl != nil { + if !isNil(o.FormatUrl) { toSerialize["format_url"] = o.FormatUrl } - if o.IdentifierPerm != nil { + if !isNil(o.IdentifierPerm) { toSerialize["identifier_perm"] = o.IdentifierPerm } - if o.Indexed != nil { + if !isNil(o.Indexed) { toSerialize["indexed"] = o.Indexed } - if o.IsDownloadable != nil { + if !isNil(o.IsDownloadable) { toSerialize["is_downloadable"] = o.IsDownloadable } - if o.IsQuarantined != nil { + if !isNil(o.IsQuarantined) { toSerialize["is_quarantined"] = o.IsQuarantined } - if o.IsSyncAwaiting != nil { + if !isNil(o.IsSyncAwaiting) { toSerialize["is_sync_awaiting"] = o.IsSyncAwaiting } - if o.IsSyncCompleted != nil { + if !isNil(o.IsSyncCompleted) { toSerialize["is_sync_completed"] = o.IsSyncCompleted } - if o.IsSyncFailed != nil { + if !isNil(o.IsSyncFailed) { toSerialize["is_sync_failed"] = o.IsSyncFailed } - if o.IsSyncInFlight != nil { + if !isNil(o.IsSyncInFlight) { toSerialize["is_sync_in_flight"] = o.IsSyncInFlight } - if o.IsSyncInProgress != nil { + if !isNil(o.IsSyncInProgress) { toSerialize["is_sync_in_progress"] = o.IsSyncInProgress } - if o.License != nil { + if !isNil(o.License) { toSerialize["license"] = o.License } - if o.Name != nil { + if !isNil(o.Name) { toSerialize["name"] = o.Name } - if o.Namespace != nil { + if !isNil(o.Namespace) { toSerialize["namespace"] = o.Namespace } - if o.NamespaceUrl != nil { + if !isNil(o.NamespaceUrl) { toSerialize["namespace_url"] = o.NamespaceUrl } - if o.NumFiles != nil { + if !isNil(o.NumFiles) { toSerialize["num_files"] = o.NumFiles } - if o.PackageType != nil { + if !isNil(o.OriginRepository) { + toSerialize["origin_repository"] = o.OriginRepository + } + if !isNil(o.OriginRepositoryUrl) { + toSerialize["origin_repository_url"] = o.OriginRepositoryUrl + } + if !isNil(o.PackageType) { toSerialize["package_type"] = o.PackageType } - if o.Release != nil { + if !isNil(o.Release) { toSerialize["release"] = o.Release } - if o.Repository != nil { + if !isNil(o.Repository) { toSerialize["repository"] = o.Repository } - if o.RepositoryUrl != nil { + if !isNil(o.RepositoryUrl) { toSerialize["repository_url"] = o.RepositoryUrl } - if o.SecurityScanCompletedAt != nil { + if !isNil(o.SecurityScanCompletedAt) { toSerialize["security_scan_completed_at"] = o.SecurityScanCompletedAt } - if o.SecurityScanStartedAt != nil { + if !isNil(o.SecurityScanStartedAt) { toSerialize["security_scan_started_at"] = o.SecurityScanStartedAt } - if o.SecurityScanStatus != nil { - toSerialize["security_scan_status"] = o.SecurityScanStatus + if o.SecurityScanStatus.IsSet() { + toSerialize["security_scan_status"] = o.SecurityScanStatus.Get() } - if o.SecurityScanStatusUpdatedAt != nil { + if !isNil(o.SecurityScanStatusUpdatedAt) { toSerialize["security_scan_status_updated_at"] = o.SecurityScanStatusUpdatedAt } - if o.SelfHtmlUrl != nil { + if !isNil(o.SelfHtmlUrl) { toSerialize["self_html_url"] = o.SelfHtmlUrl } - if o.SelfUrl != nil { + if !isNil(o.SelfUrl) { toSerialize["self_url"] = o.SelfUrl } - if o.SignatureUrl != nil { - toSerialize["signature_url"] = o.SignatureUrl + if o.SignatureUrl.IsSet() { + toSerialize["signature_url"] = o.SignatureUrl.Get() } - if o.Size != nil { + if !isNil(o.Size) { toSerialize["size"] = o.Size } - if o.Slug != nil { + if !isNil(o.Slug) { toSerialize["slug"] = o.Slug } - if o.SlugPerm != nil { + if !isNil(o.SlugPerm) { toSerialize["slug_perm"] = o.SlugPerm } - if o.Stage != nil { + if !isNil(o.Stage) { toSerialize["stage"] = o.Stage } - if o.StageStr != nil { + if !isNil(o.StageStr) { toSerialize["stage_str"] = o.StageStr } - if o.StageUpdatedAt != nil { + if !isNil(o.StageUpdatedAt) { toSerialize["stage_updated_at"] = o.StageUpdatedAt } - if o.Status != nil { + if !isNil(o.Status) { toSerialize["status"] = o.Status } - if o.StatusReason != nil { + if !isNil(o.StatusReason) { toSerialize["status_reason"] = o.StatusReason } - if o.StatusStr != nil { + if !isNil(o.StatusStr) { toSerialize["status_str"] = o.StatusStr } - if o.StatusUpdatedAt != nil { + if !isNil(o.StatusUpdatedAt) { toSerialize["status_updated_at"] = o.StatusUpdatedAt } - if o.StatusUrl != nil { + if !isNil(o.StatusUrl) { toSerialize["status_url"] = o.StatusUrl } - if o.Subtype != nil { + if !isNil(o.Subtype) { toSerialize["subtype"] = o.Subtype } - if o.Summary != nil { + if !isNil(o.Summary) { toSerialize["summary"] = o.Summary } - if o.SyncFinishedAt != nil { + if !isNil(o.SyncFinishedAt) { toSerialize["sync_finished_at"] = o.SyncFinishedAt } - if o.SyncProgress != nil { + if !isNil(o.SyncProgress) { toSerialize["sync_progress"] = o.SyncProgress } - if o.Tags != nil { - toSerialize["tags"] = o.Tags - } - if o.TagsImmutable != nil { + if !isNil(o.TagsImmutable) { toSerialize["tags_immutable"] = o.TagsImmutable } - if o.TypeDisplay != nil { + if !isNil(o.TypeDisplay) { toSerialize["type_display"] = o.TypeDisplay } - if o.UploadedAt != nil { + if !isNil(o.UploadedAt) { toSerialize["uploaded_at"] = o.UploadedAt } - if o.Uploader != nil { + if !isNil(o.Uploader) { toSerialize["uploader"] = o.Uploader } - if o.UploaderUrl != nil { + if !isNil(o.UploaderUrl) { toSerialize["uploader_url"] = o.UploaderUrl } - if o.Version != nil { + if !isNil(o.Version) { toSerialize["version"] = o.Version } - if o.VersionOrig != nil { + if !isNil(o.VersionOrig) { toSerialize["version_orig"] = o.VersionOrig } - if o.VulnerabilityScanResultsUrl != nil { + if !isNil(o.VulnerabilityScanResultsUrl) { toSerialize["vulnerability_scan_results_url"] = o.VulnerabilityScanResultsUrl } return json.Marshal(toSerialize) } -type NullablePackage struct { - value *Package +type NullableRubyPackageUploadResponse struct { + value *RubyPackageUploadResponse isSet bool } -func (v NullablePackage) Get() *Package { +func (v NullableRubyPackageUploadResponse) Get() *RubyPackageUploadResponse { return v.value } -func (v *NullablePackage) Set(val *Package) { +func (v *NullableRubyPackageUploadResponse) Set(val *RubyPackageUploadResponse) { v.value = val v.isSet = true } -func (v NullablePackage) IsSet() bool { +func (v NullableRubyPackageUploadResponse) IsSet() bool { return v.isSet } -func (v *NullablePackage) Unset() { +func (v *NullableRubyPackageUploadResponse) Unset() { v.value = nil v.isSet = false } -func NewNullablePackage(val *Package) *NullablePackage { - return &NullablePackage{value: val, isSet: true} +func NewNullableRubyPackageUploadResponse(val *RubyPackageUploadResponse) *NullableRubyPackageUploadResponse { + return &NullableRubyPackageUploadResponse{value: val, isSet: true} } -func (v NullablePackage) MarshalJSON() ([]byte, error) { +func (v NullableRubyPackageUploadResponse) MarshalJSON() ([]byte, error) { return json.Marshal(v.value) } -func (v *NullablePackage) UnmarshalJSON(src []byte) error { +func (v *NullableRubyPackageUploadResponse) UnmarshalJSON(src []byte) error { v.isSet = true return json.Unmarshal(src, &v.value) } diff --git a/model_service_request.go b/model_service_request.go new file mode 100644 index 00000000..6a62859f --- /dev/null +++ b/model_service_request.go @@ -0,0 +1,222 @@ +/* +Cloudsmith API (v1) + +The API to the Cloudsmith Service + +API version: 1.181.6 +Contact: support@cloudsmith.io +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cloudsmith + +import ( + "encoding/json" +) + +// ServiceRequest struct for ServiceRequest +type ServiceRequest struct { + // The description of the service + Description *string `json:"description,omitempty"` + // The name of the service + Name string `json:"name"` + // The role of the service. + Role *string `json:"role,omitempty"` + Teams []ServiceTeams `json:"teams,omitempty"` +} + +// NewServiceRequest instantiates a new ServiceRequest object +// 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 NewServiceRequest(name string) *ServiceRequest { + this := ServiceRequest{} + this.Name = name + var role string = "Member" + this.Role = &role + return &this +} + +// NewServiceRequestWithDefaults instantiates a new ServiceRequest object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewServiceRequestWithDefaults() *ServiceRequest { + this := ServiceRequest{} + var role string = "Member" + this.Role = &role + return &this +} + +// GetDescription returns the Description field value if set, zero value otherwise. +func (o *ServiceRequest) GetDescription() string { + if o == nil || isNil(o.Description) { + var ret string + return ret + } + return *o.Description +} + +// GetDescriptionOk returns a tuple with the Description field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *ServiceRequest) GetDescriptionOk() (*string, bool) { + if o == nil || isNil(o.Description) { + return nil, false + } + return o.Description, true +} + +// HasDescription returns a boolean if a field has been set. +func (o *ServiceRequest) HasDescription() bool { + if o != nil && !isNil(o.Description) { + return true + } + + return false +} + +// SetDescription gets a reference to the given string and assigns it to the Description field. +func (o *ServiceRequest) SetDescription(v string) { + o.Description = &v +} + +// GetName returns the Name field value +func (o *ServiceRequest) GetName() string { + if o == nil { + var ret string + return ret + } + + return o.Name +} + +// GetNameOk returns a tuple with the Name field value +// and a boolean to check if the value has been set. +func (o *ServiceRequest) GetNameOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Name, true +} + +// SetName sets field value +func (o *ServiceRequest) SetName(v string) { + o.Name = v +} + +// GetRole returns the Role field value if set, zero value otherwise. +func (o *ServiceRequest) GetRole() string { + if o == nil || isNil(o.Role) { + var ret string + return ret + } + return *o.Role +} + +// GetRoleOk returns a tuple with the Role field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *ServiceRequest) GetRoleOk() (*string, bool) { + if o == nil || isNil(o.Role) { + return nil, false + } + return o.Role, true +} + +// HasRole returns a boolean if a field has been set. +func (o *ServiceRequest) HasRole() bool { + if o != nil && !isNil(o.Role) { + return true + } + + return false +} + +// SetRole gets a reference to the given string and assigns it to the Role field. +func (o *ServiceRequest) SetRole(v string) { + o.Role = &v +} + +// GetTeams returns the Teams field value if set, zero value otherwise. +func (o *ServiceRequest) GetTeams() []ServiceTeams { + if o == nil || isNil(o.Teams) { + var ret []ServiceTeams + return ret + } + return o.Teams +} + +// GetTeamsOk returns a tuple with the Teams field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *ServiceRequest) GetTeamsOk() ([]ServiceTeams, bool) { + if o == nil || isNil(o.Teams) { + return nil, false + } + return o.Teams, true +} + +// HasTeams returns a boolean if a field has been set. +func (o *ServiceRequest) HasTeams() bool { + if o != nil && !isNil(o.Teams) { + return true + } + + return false +} + +// SetTeams gets a reference to the given []ServiceTeams and assigns it to the Teams field. +func (o *ServiceRequest) SetTeams(v []ServiceTeams) { + o.Teams = v +} + +func (o ServiceRequest) MarshalJSON() ([]byte, error) { + toSerialize := map[string]interface{}{} + if !isNil(o.Description) { + toSerialize["description"] = o.Description + } + if true { + toSerialize["name"] = o.Name + } + if !isNil(o.Role) { + toSerialize["role"] = o.Role + } + if !isNil(o.Teams) { + toSerialize["teams"] = o.Teams + } + return json.Marshal(toSerialize) +} + +type NullableServiceRequest struct { + value *ServiceRequest + isSet bool +} + +func (v NullableServiceRequest) Get() *ServiceRequest { + return v.value +} + +func (v *NullableServiceRequest) Set(val *ServiceRequest) { + v.value = val + v.isSet = true +} + +func (v NullableServiceRequest) IsSet() bool { + return v.isSet +} + +func (v *NullableServiceRequest) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableServiceRequest(val *ServiceRequest) *NullableServiceRequest { + return &NullableServiceRequest{value: val, isSet: true} +} + +func (v NullableServiceRequest) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableServiceRequest) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} diff --git a/model_service_request_patch.go b/model_service_request_patch.go new file mode 100644 index 00000000..c3438584 --- /dev/null +++ b/model_service_request_patch.go @@ -0,0 +1,229 @@ +/* +Cloudsmith API (v1) + +The API to the Cloudsmith Service + +API version: 1.181.6 +Contact: support@cloudsmith.io +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cloudsmith + +import ( + "encoding/json" +) + +// ServiceRequestPatch struct for ServiceRequestPatch +type ServiceRequestPatch struct { + // The description of the service + Description *string `json:"description,omitempty"` + // The name of the service + Name *string `json:"name,omitempty"` + // The role of the service. + Role *string `json:"role,omitempty"` + Teams []ServiceTeams `json:"teams,omitempty"` +} + +// NewServiceRequestPatch instantiates a new ServiceRequestPatch object +// 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 NewServiceRequestPatch() *ServiceRequestPatch { + this := ServiceRequestPatch{} + var role string = "Member" + this.Role = &role + return &this +} + +// NewServiceRequestPatchWithDefaults instantiates a new ServiceRequestPatch object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewServiceRequestPatchWithDefaults() *ServiceRequestPatch { + this := ServiceRequestPatch{} + var role string = "Member" + this.Role = &role + return &this +} + +// GetDescription returns the Description field value if set, zero value otherwise. +func (o *ServiceRequestPatch) GetDescription() string { + if o == nil || isNil(o.Description) { + var ret string + return ret + } + return *o.Description +} + +// GetDescriptionOk returns a tuple with the Description field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *ServiceRequestPatch) GetDescriptionOk() (*string, bool) { + if o == nil || isNil(o.Description) { + return nil, false + } + return o.Description, true +} + +// HasDescription returns a boolean if a field has been set. +func (o *ServiceRequestPatch) HasDescription() bool { + if o != nil && !isNil(o.Description) { + return true + } + + return false +} + +// SetDescription gets a reference to the given string and assigns it to the Description field. +func (o *ServiceRequestPatch) SetDescription(v string) { + o.Description = &v +} + +// GetName returns the Name field value if set, zero value otherwise. +func (o *ServiceRequestPatch) GetName() string { + if o == nil || isNil(o.Name) { + var ret string + return ret + } + return *o.Name +} + +// GetNameOk returns a tuple with the Name field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *ServiceRequestPatch) GetNameOk() (*string, bool) { + if o == nil || isNil(o.Name) { + return nil, false + } + return o.Name, true +} + +// HasName returns a boolean if a field has been set. +func (o *ServiceRequestPatch) HasName() bool { + if o != nil && !isNil(o.Name) { + return true + } + + return false +} + +// SetName gets a reference to the given string and assigns it to the Name field. +func (o *ServiceRequestPatch) SetName(v string) { + o.Name = &v +} + +// GetRole returns the Role field value if set, zero value otherwise. +func (o *ServiceRequestPatch) GetRole() string { + if o == nil || isNil(o.Role) { + var ret string + return ret + } + return *o.Role +} + +// GetRoleOk returns a tuple with the Role field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *ServiceRequestPatch) GetRoleOk() (*string, bool) { + if o == nil || isNil(o.Role) { + return nil, false + } + return o.Role, true +} + +// HasRole returns a boolean if a field has been set. +func (o *ServiceRequestPatch) HasRole() bool { + if o != nil && !isNil(o.Role) { + return true + } + + return false +} + +// SetRole gets a reference to the given string and assigns it to the Role field. +func (o *ServiceRequestPatch) SetRole(v string) { + o.Role = &v +} + +// GetTeams returns the Teams field value if set, zero value otherwise. +func (o *ServiceRequestPatch) GetTeams() []ServiceTeams { + if o == nil || isNil(o.Teams) { + var ret []ServiceTeams + return ret + } + return o.Teams +} + +// GetTeamsOk returns a tuple with the Teams field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *ServiceRequestPatch) GetTeamsOk() ([]ServiceTeams, bool) { + if o == nil || isNil(o.Teams) { + return nil, false + } + return o.Teams, true +} + +// HasTeams returns a boolean if a field has been set. +func (o *ServiceRequestPatch) HasTeams() bool { + if o != nil && !isNil(o.Teams) { + return true + } + + return false +} + +// SetTeams gets a reference to the given []ServiceTeams and assigns it to the Teams field. +func (o *ServiceRequestPatch) SetTeams(v []ServiceTeams) { + o.Teams = v +} + +func (o ServiceRequestPatch) MarshalJSON() ([]byte, error) { + toSerialize := map[string]interface{}{} + if !isNil(o.Description) { + toSerialize["description"] = o.Description + } + if !isNil(o.Name) { + toSerialize["name"] = o.Name + } + if !isNil(o.Role) { + toSerialize["role"] = o.Role + } + if !isNil(o.Teams) { + toSerialize["teams"] = o.Teams + } + return json.Marshal(toSerialize) +} + +type NullableServiceRequestPatch struct { + value *ServiceRequestPatch + isSet bool +} + +func (v NullableServiceRequestPatch) Get() *ServiceRequestPatch { + return v.value +} + +func (v *NullableServiceRequestPatch) Set(val *ServiceRequestPatch) { + v.value = val + v.isSet = true +} + +func (v NullableServiceRequestPatch) IsSet() bool { + return v.isSet +} + +func (v *NullableServiceRequestPatch) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableServiceRequestPatch(val *ServiceRequestPatch) *NullableServiceRequestPatch { + return &NullableServiceRequestPatch{value: val, isSet: true} +} + +func (v NullableServiceRequestPatch) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableServiceRequestPatch) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} diff --git a/model_service_response.go b/model_service_response.go new file mode 100644 index 00000000..08dcede6 --- /dev/null +++ b/model_service_response.go @@ -0,0 +1,296 @@ +/* +Cloudsmith API (v1) + +The API to the Cloudsmith Service + +API version: 1.181.6 +Contact: support@cloudsmith.io +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cloudsmith + +import ( + "encoding/json" +) + +// ServiceResponse struct for ServiceResponse +type ServiceResponse struct { + // The description of the service + Description *string `json:"description,omitempty"` + // The API key of the service + Key *string `json:"key,omitempty"` + // The name of the service + Name string `json:"name"` + // The role of the service. + Role *string `json:"role,omitempty"` + // The slug of the service + Slug *string `json:"slug,omitempty"` + Teams []ServiceTeams `json:"teams,omitempty"` +} + +// NewServiceResponse instantiates a new ServiceResponse object +// 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 NewServiceResponse(name string) *ServiceResponse { + this := ServiceResponse{} + this.Name = name + var role string = "Member" + this.Role = &role + return &this +} + +// NewServiceResponseWithDefaults instantiates a new ServiceResponse object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewServiceResponseWithDefaults() *ServiceResponse { + this := ServiceResponse{} + var role string = "Member" + this.Role = &role + return &this +} + +// GetDescription returns the Description field value if set, zero value otherwise. +func (o *ServiceResponse) GetDescription() string { + if o == nil || isNil(o.Description) { + var ret string + return ret + } + return *o.Description +} + +// GetDescriptionOk returns a tuple with the Description field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *ServiceResponse) GetDescriptionOk() (*string, bool) { + if o == nil || isNil(o.Description) { + return nil, false + } + return o.Description, true +} + +// HasDescription returns a boolean if a field has been set. +func (o *ServiceResponse) HasDescription() bool { + if o != nil && !isNil(o.Description) { + return true + } + + return false +} + +// SetDescription gets a reference to the given string and assigns it to the Description field. +func (o *ServiceResponse) SetDescription(v string) { + o.Description = &v +} + +// GetKey returns the Key field value if set, zero value otherwise. +func (o *ServiceResponse) GetKey() string { + if o == nil || isNil(o.Key) { + var ret string + return ret + } + return *o.Key +} + +// GetKeyOk returns a tuple with the Key field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *ServiceResponse) GetKeyOk() (*string, bool) { + if o == nil || isNil(o.Key) { + return nil, false + } + return o.Key, true +} + +// HasKey returns a boolean if a field has been set. +func (o *ServiceResponse) HasKey() bool { + if o != nil && !isNil(o.Key) { + return true + } + + return false +} + +// SetKey gets a reference to the given string and assigns it to the Key field. +func (o *ServiceResponse) SetKey(v string) { + o.Key = &v +} + +// GetName returns the Name field value +func (o *ServiceResponse) GetName() string { + if o == nil { + var ret string + return ret + } + + return o.Name +} + +// GetNameOk returns a tuple with the Name field value +// and a boolean to check if the value has been set. +func (o *ServiceResponse) GetNameOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Name, true +} + +// SetName sets field value +func (o *ServiceResponse) SetName(v string) { + o.Name = v +} + +// GetRole returns the Role field value if set, zero value otherwise. +func (o *ServiceResponse) GetRole() string { + if o == nil || isNil(o.Role) { + var ret string + return ret + } + return *o.Role +} + +// GetRoleOk returns a tuple with the Role field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *ServiceResponse) GetRoleOk() (*string, bool) { + if o == nil || isNil(o.Role) { + return nil, false + } + return o.Role, true +} + +// HasRole returns a boolean if a field has been set. +func (o *ServiceResponse) HasRole() bool { + if o != nil && !isNil(o.Role) { + return true + } + + return false +} + +// SetRole gets a reference to the given string and assigns it to the Role field. +func (o *ServiceResponse) SetRole(v string) { + o.Role = &v +} + +// GetSlug returns the Slug field value if set, zero value otherwise. +func (o *ServiceResponse) GetSlug() string { + if o == nil || isNil(o.Slug) { + var ret string + return ret + } + return *o.Slug +} + +// GetSlugOk returns a tuple with the Slug field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *ServiceResponse) GetSlugOk() (*string, bool) { + if o == nil || isNil(o.Slug) { + return nil, false + } + return o.Slug, true +} + +// HasSlug returns a boolean if a field has been set. +func (o *ServiceResponse) HasSlug() bool { + if o != nil && !isNil(o.Slug) { + return true + } + + return false +} + +// SetSlug gets a reference to the given string and assigns it to the Slug field. +func (o *ServiceResponse) SetSlug(v string) { + o.Slug = &v +} + +// GetTeams returns the Teams field value if set, zero value otherwise. +func (o *ServiceResponse) GetTeams() []ServiceTeams { + if o == nil || isNil(o.Teams) { + var ret []ServiceTeams + return ret + } + return o.Teams +} + +// GetTeamsOk returns a tuple with the Teams field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *ServiceResponse) GetTeamsOk() ([]ServiceTeams, bool) { + if o == nil || isNil(o.Teams) { + return nil, false + } + return o.Teams, true +} + +// HasTeams returns a boolean if a field has been set. +func (o *ServiceResponse) HasTeams() bool { + if o != nil && !isNil(o.Teams) { + return true + } + + return false +} + +// SetTeams gets a reference to the given []ServiceTeams and assigns it to the Teams field. +func (o *ServiceResponse) SetTeams(v []ServiceTeams) { + o.Teams = v +} + +func (o ServiceResponse) MarshalJSON() ([]byte, error) { + toSerialize := map[string]interface{}{} + if !isNil(o.Description) { + toSerialize["description"] = o.Description + } + if !isNil(o.Key) { + toSerialize["key"] = o.Key + } + if true { + toSerialize["name"] = o.Name + } + if !isNil(o.Role) { + toSerialize["role"] = o.Role + } + if !isNil(o.Slug) { + toSerialize["slug"] = o.Slug + } + if !isNil(o.Teams) { + toSerialize["teams"] = o.Teams + } + return json.Marshal(toSerialize) +} + +type NullableServiceResponse struct { + value *ServiceResponse + isSet bool +} + +func (v NullableServiceResponse) Get() *ServiceResponse { + return v.value +} + +func (v *NullableServiceResponse) Set(val *ServiceResponse) { + v.value = val + v.isSet = true +} + +func (v NullableServiceResponse) IsSet() bool { + return v.isSet +} + +func (v *NullableServiceResponse) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableServiceResponse(val *ServiceResponse) *NullableServiceResponse { + return &NullableServiceResponse{value: val, isSet: true} +} + +func (v NullableServiceResponse) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableServiceResponse) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} diff --git a/model_service_teams.go b/model_service_teams.go new file mode 100644 index 00000000..f12f93bb --- /dev/null +++ b/model_service_teams.go @@ -0,0 +1,156 @@ +/* +Cloudsmith API (v1) + +The API to the Cloudsmith Service + +API version: 1.181.6 +Contact: support@cloudsmith.io +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cloudsmith + +import ( + "encoding/json" +) + +// ServiceTeams struct for ServiceTeams +type ServiceTeams struct { + // The team role associated with the service + Role *string `json:"role,omitempty"` + // The teams associated with the service + Slug *string `json:"slug,omitempty"` +} + +// NewServiceTeams instantiates a new ServiceTeams object +// 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 NewServiceTeams() *ServiceTeams { + this := ServiceTeams{} + var role string = "Manager" + this.Role = &role + return &this +} + +// NewServiceTeamsWithDefaults instantiates a new ServiceTeams object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewServiceTeamsWithDefaults() *ServiceTeams { + this := ServiceTeams{} + var role string = "Manager" + this.Role = &role + return &this +} + +// GetRole returns the Role field value if set, zero value otherwise. +func (o *ServiceTeams) GetRole() string { + if o == nil || isNil(o.Role) { + var ret string + return ret + } + return *o.Role +} + +// GetRoleOk returns a tuple with the Role field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *ServiceTeams) GetRoleOk() (*string, bool) { + if o == nil || isNil(o.Role) { + return nil, false + } + return o.Role, true +} + +// HasRole returns a boolean if a field has been set. +func (o *ServiceTeams) HasRole() bool { + if o != nil && !isNil(o.Role) { + return true + } + + return false +} + +// SetRole gets a reference to the given string and assigns it to the Role field. +func (o *ServiceTeams) SetRole(v string) { + o.Role = &v +} + +// GetSlug returns the Slug field value if set, zero value otherwise. +func (o *ServiceTeams) GetSlug() string { + if o == nil || isNil(o.Slug) { + var ret string + return ret + } + return *o.Slug +} + +// GetSlugOk returns a tuple with the Slug field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *ServiceTeams) GetSlugOk() (*string, bool) { + if o == nil || isNil(o.Slug) { + return nil, false + } + return o.Slug, true +} + +// HasSlug returns a boolean if a field has been set. +func (o *ServiceTeams) HasSlug() bool { + if o != nil && !isNil(o.Slug) { + return true + } + + return false +} + +// SetSlug gets a reference to the given string and assigns it to the Slug field. +func (o *ServiceTeams) SetSlug(v string) { + o.Slug = &v +} + +func (o ServiceTeams) MarshalJSON() ([]byte, error) { + toSerialize := map[string]interface{}{} + if !isNil(o.Role) { + toSerialize["role"] = o.Role + } + if !isNil(o.Slug) { + toSerialize["slug"] = o.Slug + } + return json.Marshal(toSerialize) +} + +type NullableServiceTeams struct { + value *ServiceTeams + isSet bool +} + +func (v NullableServiceTeams) Get() *ServiceTeams { + return v.value +} + +func (v *NullableServiceTeams) Set(val *ServiceTeams) { + v.value = val + v.isSet = true +} + +func (v NullableServiceTeams) IsSet() bool { + return v.isSet +} + +func (v *NullableServiceTeams) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableServiceTeams(val *ServiceTeams) *NullableServiceTeams { + return &NullableServiceTeams{value: val, isSet: true} +} + +func (v NullableServiceTeams) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableServiceTeams) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} diff --git a/model_status_basic.go b/model_status_basic_response.go similarity index 54% rename from model_status_basic.go rename to model_status_basic_response.go index 68b8f760..fc3fdb70 100644 --- a/model_status_basic.go +++ b/model_status_basic_response.go @@ -1,9 +1,9 @@ /* -Cloudsmith API +Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.121.3 +API version: 1.181.6 Contact: support@cloudsmith.io */ @@ -15,34 +15,34 @@ import ( "encoding/json" ) -// StatusBasic struct for StatusBasic -type StatusBasic struct { +// StatusBasicResponse struct for StatusBasicResponse +type StatusBasicResponse struct { // The message describing the state of the API. Detail *string `json:"detail,omitempty"` // The current version for the Cloudsmith service. Version *string `json:"version,omitempty"` } -// NewStatusBasic instantiates a new StatusBasic object +// NewStatusBasicResponse instantiates a new StatusBasicResponse object // 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 NewStatusBasic() *StatusBasic { - this := StatusBasic{} +func NewStatusBasicResponse() *StatusBasicResponse { + this := StatusBasicResponse{} return &this } -// NewStatusBasicWithDefaults instantiates a new StatusBasic object +// NewStatusBasicResponseWithDefaults instantiates a new StatusBasicResponse object // This constructor will only assign default values to properties that have it defined, // but it doesn't guarantee that properties required by API are set -func NewStatusBasicWithDefaults() *StatusBasic { - this := StatusBasic{} +func NewStatusBasicResponseWithDefaults() *StatusBasicResponse { + this := StatusBasicResponse{} return &this } // GetDetail returns the Detail field value if set, zero value otherwise. -func (o *StatusBasic) GetDetail() string { - if o == nil || o.Detail == nil { +func (o *StatusBasicResponse) GetDetail() string { + if o == nil || isNil(o.Detail) { var ret string return ret } @@ -51,16 +51,16 @@ func (o *StatusBasic) GetDetail() string { // GetDetailOk returns a tuple with the Detail field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *StatusBasic) GetDetailOk() (*string, bool) { - if o == nil || o.Detail == nil { +func (o *StatusBasicResponse) GetDetailOk() (*string, bool) { + if o == nil || isNil(o.Detail) { return nil, false } return o.Detail, true } // HasDetail returns a boolean if a field has been set. -func (o *StatusBasic) HasDetail() bool { - if o != nil && o.Detail != nil { +func (o *StatusBasicResponse) HasDetail() bool { + if o != nil && !isNil(o.Detail) { return true } @@ -68,13 +68,13 @@ func (o *StatusBasic) HasDetail() bool { } // SetDetail gets a reference to the given string and assigns it to the Detail field. -func (o *StatusBasic) SetDetail(v string) { +func (o *StatusBasicResponse) SetDetail(v string) { o.Detail = &v } // GetVersion returns the Version field value if set, zero value otherwise. -func (o *StatusBasic) GetVersion() string { - if o == nil || o.Version == nil { +func (o *StatusBasicResponse) GetVersion() string { + if o == nil || isNil(o.Version) { var ret string return ret } @@ -83,16 +83,16 @@ func (o *StatusBasic) GetVersion() string { // GetVersionOk returns a tuple with the Version field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *StatusBasic) GetVersionOk() (*string, bool) { - if o == nil || o.Version == nil { +func (o *StatusBasicResponse) GetVersionOk() (*string, bool) { + if o == nil || isNil(o.Version) { return nil, false } return o.Version, true } // HasVersion returns a boolean if a field has been set. -func (o *StatusBasic) HasVersion() bool { - if o != nil && o.Version != nil { +func (o *StatusBasicResponse) HasVersion() bool { + if o != nil && !isNil(o.Version) { return true } @@ -100,53 +100,53 @@ func (o *StatusBasic) HasVersion() bool { } // SetVersion gets a reference to the given string and assigns it to the Version field. -func (o *StatusBasic) SetVersion(v string) { +func (o *StatusBasicResponse) SetVersion(v string) { o.Version = &v } -func (o StatusBasic) MarshalJSON() ([]byte, error) { +func (o StatusBasicResponse) MarshalJSON() ([]byte, error) { toSerialize := map[string]interface{}{} - if o.Detail != nil { + if !isNil(o.Detail) { toSerialize["detail"] = o.Detail } - if o.Version != nil { + if !isNil(o.Version) { toSerialize["version"] = o.Version } return json.Marshal(toSerialize) } -type NullableStatusBasic struct { - value *StatusBasic +type NullableStatusBasicResponse struct { + value *StatusBasicResponse isSet bool } -func (v NullableStatusBasic) Get() *StatusBasic { +func (v NullableStatusBasicResponse) Get() *StatusBasicResponse { return v.value } -func (v *NullableStatusBasic) Set(val *StatusBasic) { +func (v *NullableStatusBasicResponse) Set(val *StatusBasicResponse) { v.value = val v.isSet = true } -func (v NullableStatusBasic) IsSet() bool { +func (v NullableStatusBasicResponse) IsSet() bool { return v.isSet } -func (v *NullableStatusBasic) Unset() { +func (v *NullableStatusBasicResponse) Unset() { v.value = nil v.isSet = false } -func NewNullableStatusBasic(val *StatusBasic) *NullableStatusBasic { - return &NullableStatusBasic{value: val, isSet: true} +func NewNullableStatusBasicResponse(val *StatusBasicResponse) *NullableStatusBasicResponse { + return &NullableStatusBasicResponse{value: val, isSet: true} } -func (v NullableStatusBasic) MarshalJSON() ([]byte, error) { +func (v NullableStatusBasicResponse) MarshalJSON() ([]byte, error) { return json.Marshal(v.value) } -func (v *NullableStatusBasic) UnmarshalJSON(src []byte) error { +func (v *NullableStatusBasicResponse) UnmarshalJSON(src []byte) error { v.isSet = true return json.Unmarshal(src, &v.value) } diff --git a/model_storage_region.go b/model_storage_region_response.go similarity index 54% rename from model_storage_region.go rename to model_storage_region_response.go index fd3656ee..cf3c0229 100644 --- a/model_storage_region.go +++ b/model_storage_region_response.go @@ -1,9 +1,9 @@ /* -Cloudsmith API +Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.121.3 +API version: 1.181.6 Contact: support@cloudsmith.io */ @@ -15,35 +15,35 @@ import ( "encoding/json" ) -// StorageRegion struct for StorageRegion -type StorageRegion struct { +// StorageRegionResponse struct for StorageRegionResponse +type StorageRegionResponse struct { // Name of the storage region Label string `json:"label"` // Slug for the storage region Slug string `json:"slug"` } -// NewStorageRegion instantiates a new StorageRegion object +// NewStorageRegionResponse instantiates a new StorageRegionResponse object // 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 NewStorageRegion(label string, slug string) *StorageRegion { - this := StorageRegion{} +func NewStorageRegionResponse(label string, slug string) *StorageRegionResponse { + this := StorageRegionResponse{} this.Label = label this.Slug = slug return &this } -// NewStorageRegionWithDefaults instantiates a new StorageRegion object +// NewStorageRegionResponseWithDefaults instantiates a new StorageRegionResponse object // This constructor will only assign default values to properties that have it defined, // but it doesn't guarantee that properties required by API are set -func NewStorageRegionWithDefaults() *StorageRegion { - this := StorageRegion{} +func NewStorageRegionResponseWithDefaults() *StorageRegionResponse { + this := StorageRegionResponse{} return &this } // GetLabel returns the Label field value -func (o *StorageRegion) GetLabel() string { +func (o *StorageRegionResponse) GetLabel() string { if o == nil { var ret string return ret @@ -54,7 +54,7 @@ func (o *StorageRegion) GetLabel() string { // GetLabelOk returns a tuple with the Label field value // and a boolean to check if the value has been set. -func (o *StorageRegion) GetLabelOk() (*string, bool) { +func (o *StorageRegionResponse) GetLabelOk() (*string, bool) { if o == nil { return nil, false } @@ -62,12 +62,12 @@ func (o *StorageRegion) GetLabelOk() (*string, bool) { } // SetLabel sets field value -func (o *StorageRegion) SetLabel(v string) { +func (o *StorageRegionResponse) SetLabel(v string) { o.Label = v } // GetSlug returns the Slug field value -func (o *StorageRegion) GetSlug() string { +func (o *StorageRegionResponse) GetSlug() string { if o == nil { var ret string return ret @@ -78,7 +78,7 @@ func (o *StorageRegion) GetSlug() string { // GetSlugOk returns a tuple with the Slug field value // and a boolean to check if the value has been set. -func (o *StorageRegion) GetSlugOk() (*string, bool) { +func (o *StorageRegionResponse) GetSlugOk() (*string, bool) { if o == nil { return nil, false } @@ -86,11 +86,11 @@ func (o *StorageRegion) GetSlugOk() (*string, bool) { } // SetSlug sets field value -func (o *StorageRegion) SetSlug(v string) { +func (o *StorageRegionResponse) SetSlug(v string) { o.Slug = v } -func (o StorageRegion) MarshalJSON() ([]byte, error) { +func (o StorageRegionResponse) MarshalJSON() ([]byte, error) { toSerialize := map[string]interface{}{} if true { toSerialize["label"] = o.Label @@ -101,38 +101,38 @@ func (o StorageRegion) MarshalJSON() ([]byte, error) { return json.Marshal(toSerialize) } -type NullableStorageRegion struct { - value *StorageRegion +type NullableStorageRegionResponse struct { + value *StorageRegionResponse isSet bool } -func (v NullableStorageRegion) Get() *StorageRegion { +func (v NullableStorageRegionResponse) Get() *StorageRegionResponse { return v.value } -func (v *NullableStorageRegion) Set(val *StorageRegion) { +func (v *NullableStorageRegionResponse) Set(val *StorageRegionResponse) { v.value = val v.isSet = true } -func (v NullableStorageRegion) IsSet() bool { +func (v NullableStorageRegionResponse) IsSet() bool { return v.isSet } -func (v *NullableStorageRegion) Unset() { +func (v *NullableStorageRegionResponse) Unset() { v.value = nil v.isSet = false } -func NewNullableStorageRegion(val *StorageRegion) *NullableStorageRegion { - return &NullableStorageRegion{value: val, isSet: true} +func NewNullableStorageRegionResponse(val *StorageRegionResponse) *NullableStorageRegionResponse { + return &NullableStorageRegionResponse{value: val, isSet: true} } -func (v NullableStorageRegion) MarshalJSON() ([]byte, error) { +func (v NullableStorageRegionResponse) MarshalJSON() ([]byte, error) { return json.Marshal(v.value) } -func (v *NullableStorageRegion) UnmarshalJSON(src []byte) error { +func (v *NullableStorageRegionResponse) UnmarshalJSON(src []byte) error { v.isSet = true return json.Unmarshal(src, &v.value) } diff --git a/model_terraform_package_upload_request.go b/model_terraform_package_upload_request.go new file mode 100644 index 00000000..d125f98e --- /dev/null +++ b/model_terraform_package_upload_request.go @@ -0,0 +1,193 @@ +/* +Cloudsmith API (v1) + +The API to the Cloudsmith Service + +API version: 1.181.6 +Contact: support@cloudsmith.io +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cloudsmith + +import ( + "encoding/json" +) + +// TerraformPackageUploadRequest struct for TerraformPackageUploadRequest +type TerraformPackageUploadRequest struct { + // The primary file for the package. + PackageFile string `json:"package_file"` + // If true, the uploaded package will overwrite any others with the same attributes (e.g. same version); otherwise, it will be flagged as a duplicate. + Republish *bool `json:"republish,omitempty"` + // A comma-separated values list of tags to add to the package. + Tags NullableString `json:"tags,omitempty"` +} + +// NewTerraformPackageUploadRequest instantiates a new TerraformPackageUploadRequest object +// 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 NewTerraformPackageUploadRequest(packageFile string) *TerraformPackageUploadRequest { + this := TerraformPackageUploadRequest{} + this.PackageFile = packageFile + return &this +} + +// NewTerraformPackageUploadRequestWithDefaults instantiates a new TerraformPackageUploadRequest object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewTerraformPackageUploadRequestWithDefaults() *TerraformPackageUploadRequest { + this := TerraformPackageUploadRequest{} + return &this +} + +// GetPackageFile returns the PackageFile field value +func (o *TerraformPackageUploadRequest) GetPackageFile() string { + if o == nil { + var ret string + return ret + } + + return o.PackageFile +} + +// GetPackageFileOk returns a tuple with the PackageFile field value +// and a boolean to check if the value has been set. +func (o *TerraformPackageUploadRequest) GetPackageFileOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.PackageFile, true +} + +// SetPackageFile sets field value +func (o *TerraformPackageUploadRequest) SetPackageFile(v string) { + o.PackageFile = v +} + +// GetRepublish returns the Republish field value if set, zero value otherwise. +func (o *TerraformPackageUploadRequest) GetRepublish() bool { + if o == nil || isNil(o.Republish) { + var ret bool + return ret + } + return *o.Republish +} + +// GetRepublishOk returns a tuple with the Republish field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *TerraformPackageUploadRequest) GetRepublishOk() (*bool, bool) { + if o == nil || isNil(o.Republish) { + return nil, false + } + return o.Republish, true +} + +// HasRepublish returns a boolean if a field has been set. +func (o *TerraformPackageUploadRequest) HasRepublish() bool { + if o != nil && !isNil(o.Republish) { + return true + } + + return false +} + +// SetRepublish gets a reference to the given bool and assigns it to the Republish field. +func (o *TerraformPackageUploadRequest) SetRepublish(v bool) { + o.Republish = &v +} + +// GetTags returns the Tags field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *TerraformPackageUploadRequest) GetTags() string { + if o == nil || isNil(o.Tags.Get()) { + var ret string + return ret + } + return *o.Tags.Get() +} + +// GetTagsOk returns a tuple with the Tags 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 *TerraformPackageUploadRequest) GetTagsOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.Tags.Get(), o.Tags.IsSet() +} + +// HasTags returns a boolean if a field has been set. +func (o *TerraformPackageUploadRequest) HasTags() bool { + if o != nil && o.Tags.IsSet() { + return true + } + + return false +} + +// SetTags gets a reference to the given NullableString and assigns it to the Tags field. +func (o *TerraformPackageUploadRequest) SetTags(v string) { + o.Tags.Set(&v) +} + +// SetTagsNil sets the value for Tags to be an explicit nil +func (o *TerraformPackageUploadRequest) SetTagsNil() { + o.Tags.Set(nil) +} + +// UnsetTags ensures that no value is present for Tags, not even an explicit nil +func (o *TerraformPackageUploadRequest) UnsetTags() { + o.Tags.Unset() +} + +func (o TerraformPackageUploadRequest) MarshalJSON() ([]byte, error) { + toSerialize := map[string]interface{}{} + if true { + toSerialize["package_file"] = o.PackageFile + } + if !isNil(o.Republish) { + toSerialize["republish"] = o.Republish + } + if o.Tags.IsSet() { + toSerialize["tags"] = o.Tags.Get() + } + return json.Marshal(toSerialize) +} + +type NullableTerraformPackageUploadRequest struct { + value *TerraformPackageUploadRequest + isSet bool +} + +func (v NullableTerraformPackageUploadRequest) Get() *TerraformPackageUploadRequest { + return v.value +} + +func (v *NullableTerraformPackageUploadRequest) Set(val *TerraformPackageUploadRequest) { + v.value = val + v.isSet = true +} + +func (v NullableTerraformPackageUploadRequest) IsSet() bool { + return v.isSet +} + +func (v *NullableTerraformPackageUploadRequest) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableTerraformPackageUploadRequest(val *TerraformPackageUploadRequest) *NullableTerraformPackageUploadRequest { + return &NullableTerraformPackageUploadRequest{value: val, isSet: true} +} + +func (v NullableTerraformPackageUploadRequest) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableTerraformPackageUploadRequest) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} diff --git a/model_terraform_package_upload_response.go b/model_terraform_package_upload_response.go new file mode 100644 index 00000000..dff373ed --- /dev/null +++ b/model_terraform_package_upload_response.go @@ -0,0 +1,2595 @@ +/* +Cloudsmith API (v1) + +The API to the Cloudsmith Service + +API version: 1.181.6 +Contact: support@cloudsmith.io +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cloudsmith + +import ( + "encoding/json" + "time" +) + +// TerraformPackageUploadResponse struct for TerraformPackageUploadResponse +type TerraformPackageUploadResponse struct { + Architectures []Architecture `json:"architectures,omitempty"` + CdnUrl NullableString `json:"cdn_url,omitempty"` + ChecksumMd5 *string `json:"checksum_md5,omitempty"` + ChecksumSha1 *string `json:"checksum_sha1,omitempty"` + ChecksumSha256 *string `json:"checksum_sha256,omitempty"` + ChecksumSha512 *string `json:"checksum_sha512,omitempty"` + // A checksum of all of the package's dependencies. + DependenciesChecksumMd5 *string `json:"dependencies_checksum_md5,omitempty"` + DependenciesUrl *string `json:"dependencies_url,omitempty"` + // A textual description of this package. + Description *string `json:"description,omitempty"` + Distro NullableDistribution `json:"distro,omitempty"` + DistroVersion *DistributionVersion `json:"distro_version,omitempty"` + Downloads *int64 `json:"downloads,omitempty"` + // The epoch of the package version (if any). + Epoch *int64 `json:"epoch,omitempty"` + Extension *string `json:"extension,omitempty"` + Filename *string `json:"filename,omitempty"` + Files []PackageFile `json:"files,omitempty"` + Format *string `json:"format,omitempty"` + FormatUrl *string `json:"format_url,omitempty"` + // Unique and permanent identifier for the package. + IdentifierPerm *string `json:"identifier_perm,omitempty"` + Indexed *bool `json:"indexed,omitempty"` + IsDownloadable *bool `json:"is_downloadable,omitempty"` + IsQuarantined *bool `json:"is_quarantined,omitempty"` + IsSyncAwaiting *bool `json:"is_sync_awaiting,omitempty"` + IsSyncCompleted *bool `json:"is_sync_completed,omitempty"` + IsSyncFailed *bool `json:"is_sync_failed,omitempty"` + IsSyncInFlight *bool `json:"is_sync_in_flight,omitempty"` + IsSyncInProgress *bool `json:"is_sync_in_progress,omitempty"` + // The license of this package. + License *string `json:"license,omitempty"` + // The name of this package. + Name *string `json:"name,omitempty"` + Namespace *string `json:"namespace,omitempty"` + NamespaceUrl *string `json:"namespace_url,omitempty"` + NumFiles *int64 `json:"num_files,omitempty"` + OriginRepository *string `json:"origin_repository,omitempty"` + OriginRepositoryUrl *string `json:"origin_repository_url,omitempty"` + // The type of package contents. + PackageType *int64 `json:"package_type,omitempty"` + // The release of the package version (if any). + Release *string `json:"release,omitempty"` + Repository *string `json:"repository,omitempty"` + RepositoryUrl *string `json:"repository_url,omitempty"` + // The datetime the security scanning was completed. + SecurityScanCompletedAt *time.Time `json:"security_scan_completed_at,omitempty"` + // The datetime the security scanning was started. + SecurityScanStartedAt *time.Time `json:"security_scan_started_at,omitempty"` + SecurityScanStatus NullableString `json:"security_scan_status,omitempty"` + // The datetime the security scanning status was updated. + SecurityScanStatusUpdatedAt *time.Time `json:"security_scan_status_updated_at,omitempty"` + SelfHtmlUrl *string `json:"self_html_url,omitempty"` + SelfUrl *string `json:"self_url,omitempty"` + SignatureUrl NullableString `json:"signature_url,omitempty"` + // The calculated size of the package. + Size *int64 `json:"size,omitempty"` + // The public unique identifier for the package. + Slug *string `json:"slug,omitempty"` + SlugPerm *string `json:"slug_perm,omitempty"` + // The synchronisation (in progress) stage of the package. + Stage *int64 `json:"stage,omitempty"` + StageStr *string `json:"stage_str,omitempty"` + // The datetime the package stage was updated at. + StageUpdatedAt *time.Time `json:"stage_updated_at,omitempty"` + // The synchronisation status of the package. + Status *int64 `json:"status,omitempty"` + // A textual description for the synchronous status reason (if any + StatusReason *string `json:"status_reason,omitempty"` + StatusStr *string `json:"status_str,omitempty"` + // The datetime the package status was updated at. + StatusUpdatedAt *time.Time `json:"status_updated_at,omitempty"` + StatusUrl *string `json:"status_url,omitempty"` + Subtype *string `json:"subtype,omitempty"` + // A one-liner synopsis of this package. + Summary *string `json:"summary,omitempty"` + // The datetime the package sync was finished at. + SyncFinishedAt *time.Time `json:"sync_finished_at,omitempty"` + // Synchronisation progress (from 0-100) + SyncProgress *int64 `json:"sync_progress,omitempty"` + // All tags on the package, grouped by tag type. This includes immutable tags, but doesn't distinguish them from mutable. To see which tags are immutable specifically, see the tags_immutable field. + TagsImmutable map[string]interface{} `json:"tags_immutable,omitempty"` + TypeDisplay *string `json:"type_display,omitempty"` + // The date this package was uploaded. + UploadedAt *time.Time `json:"uploaded_at,omitempty"` + Uploader *string `json:"uploader,omitempty"` + UploaderUrl *string `json:"uploader_url,omitempty"` + // The raw version for this package. + Version *string `json:"version,omitempty"` + VersionOrig *string `json:"version_orig,omitempty"` + VulnerabilityScanResultsUrl *string `json:"vulnerability_scan_results_url,omitempty"` +} + +// NewTerraformPackageUploadResponse instantiates a new TerraformPackageUploadResponse object +// 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 NewTerraformPackageUploadResponse() *TerraformPackageUploadResponse { + this := TerraformPackageUploadResponse{} + return &this +} + +// NewTerraformPackageUploadResponseWithDefaults instantiates a new TerraformPackageUploadResponse object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewTerraformPackageUploadResponseWithDefaults() *TerraformPackageUploadResponse { + this := TerraformPackageUploadResponse{} + return &this +} + +// GetArchitectures returns the Architectures field value if set, zero value otherwise. +func (o *TerraformPackageUploadResponse) GetArchitectures() []Architecture { + if o == nil || isNil(o.Architectures) { + var ret []Architecture + return ret + } + return o.Architectures +} + +// GetArchitecturesOk returns a tuple with the Architectures field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *TerraformPackageUploadResponse) GetArchitecturesOk() ([]Architecture, bool) { + if o == nil || isNil(o.Architectures) { + return nil, false + } + return o.Architectures, true +} + +// HasArchitectures returns a boolean if a field has been set. +func (o *TerraformPackageUploadResponse) HasArchitectures() bool { + if o != nil && !isNil(o.Architectures) { + return true + } + + return false +} + +// SetArchitectures gets a reference to the given []Architecture and assigns it to the Architectures field. +func (o *TerraformPackageUploadResponse) SetArchitectures(v []Architecture) { + o.Architectures = v +} + +// GetCdnUrl returns the CdnUrl field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *TerraformPackageUploadResponse) GetCdnUrl() string { + if o == nil || isNil(o.CdnUrl.Get()) { + var ret string + return ret + } + return *o.CdnUrl.Get() +} + +// GetCdnUrlOk returns a tuple with the CdnUrl 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 *TerraformPackageUploadResponse) GetCdnUrlOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.CdnUrl.Get(), o.CdnUrl.IsSet() +} + +// HasCdnUrl returns a boolean if a field has been set. +func (o *TerraformPackageUploadResponse) HasCdnUrl() bool { + if o != nil && o.CdnUrl.IsSet() { + return true + } + + return false +} + +// SetCdnUrl gets a reference to the given NullableString and assigns it to the CdnUrl field. +func (o *TerraformPackageUploadResponse) SetCdnUrl(v string) { + o.CdnUrl.Set(&v) +} + +// SetCdnUrlNil sets the value for CdnUrl to be an explicit nil +func (o *TerraformPackageUploadResponse) SetCdnUrlNil() { + o.CdnUrl.Set(nil) +} + +// UnsetCdnUrl ensures that no value is present for CdnUrl, not even an explicit nil +func (o *TerraformPackageUploadResponse) UnsetCdnUrl() { + o.CdnUrl.Unset() +} + +// GetChecksumMd5 returns the ChecksumMd5 field value if set, zero value otherwise. +func (o *TerraformPackageUploadResponse) GetChecksumMd5() string { + if o == nil || isNil(o.ChecksumMd5) { + var ret string + return ret + } + return *o.ChecksumMd5 +} + +// GetChecksumMd5Ok returns a tuple with the ChecksumMd5 field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *TerraformPackageUploadResponse) GetChecksumMd5Ok() (*string, bool) { + if o == nil || isNil(o.ChecksumMd5) { + return nil, false + } + return o.ChecksumMd5, true +} + +// HasChecksumMd5 returns a boolean if a field has been set. +func (o *TerraformPackageUploadResponse) HasChecksumMd5() bool { + if o != nil && !isNil(o.ChecksumMd5) { + return true + } + + return false +} + +// SetChecksumMd5 gets a reference to the given string and assigns it to the ChecksumMd5 field. +func (o *TerraformPackageUploadResponse) SetChecksumMd5(v string) { + o.ChecksumMd5 = &v +} + +// GetChecksumSha1 returns the ChecksumSha1 field value if set, zero value otherwise. +func (o *TerraformPackageUploadResponse) GetChecksumSha1() string { + if o == nil || isNil(o.ChecksumSha1) { + var ret string + return ret + } + return *o.ChecksumSha1 +} + +// GetChecksumSha1Ok returns a tuple with the ChecksumSha1 field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *TerraformPackageUploadResponse) GetChecksumSha1Ok() (*string, bool) { + if o == nil || isNil(o.ChecksumSha1) { + return nil, false + } + return o.ChecksumSha1, true +} + +// HasChecksumSha1 returns a boolean if a field has been set. +func (o *TerraformPackageUploadResponse) HasChecksumSha1() bool { + if o != nil && !isNil(o.ChecksumSha1) { + return true + } + + return false +} + +// SetChecksumSha1 gets a reference to the given string and assigns it to the ChecksumSha1 field. +func (o *TerraformPackageUploadResponse) SetChecksumSha1(v string) { + o.ChecksumSha1 = &v +} + +// GetChecksumSha256 returns the ChecksumSha256 field value if set, zero value otherwise. +func (o *TerraformPackageUploadResponse) GetChecksumSha256() string { + if o == nil || isNil(o.ChecksumSha256) { + var ret string + return ret + } + return *o.ChecksumSha256 +} + +// GetChecksumSha256Ok returns a tuple with the ChecksumSha256 field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *TerraformPackageUploadResponse) GetChecksumSha256Ok() (*string, bool) { + if o == nil || isNil(o.ChecksumSha256) { + return nil, false + } + return o.ChecksumSha256, true +} + +// HasChecksumSha256 returns a boolean if a field has been set. +func (o *TerraformPackageUploadResponse) HasChecksumSha256() bool { + if o != nil && !isNil(o.ChecksumSha256) { + return true + } + + return false +} + +// SetChecksumSha256 gets a reference to the given string and assigns it to the ChecksumSha256 field. +func (o *TerraformPackageUploadResponse) SetChecksumSha256(v string) { + o.ChecksumSha256 = &v +} + +// GetChecksumSha512 returns the ChecksumSha512 field value if set, zero value otherwise. +func (o *TerraformPackageUploadResponse) GetChecksumSha512() string { + if o == nil || isNil(o.ChecksumSha512) { + var ret string + return ret + } + return *o.ChecksumSha512 +} + +// GetChecksumSha512Ok returns a tuple with the ChecksumSha512 field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *TerraformPackageUploadResponse) GetChecksumSha512Ok() (*string, bool) { + if o == nil || isNil(o.ChecksumSha512) { + return nil, false + } + return o.ChecksumSha512, true +} + +// HasChecksumSha512 returns a boolean if a field has been set. +func (o *TerraformPackageUploadResponse) HasChecksumSha512() bool { + if o != nil && !isNil(o.ChecksumSha512) { + return true + } + + return false +} + +// SetChecksumSha512 gets a reference to the given string and assigns it to the ChecksumSha512 field. +func (o *TerraformPackageUploadResponse) SetChecksumSha512(v string) { + o.ChecksumSha512 = &v +} + +// GetDependenciesChecksumMd5 returns the DependenciesChecksumMd5 field value if set, zero value otherwise. +func (o *TerraformPackageUploadResponse) GetDependenciesChecksumMd5() string { + if o == nil || isNil(o.DependenciesChecksumMd5) { + var ret string + return ret + } + return *o.DependenciesChecksumMd5 +} + +// GetDependenciesChecksumMd5Ok returns a tuple with the DependenciesChecksumMd5 field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *TerraformPackageUploadResponse) GetDependenciesChecksumMd5Ok() (*string, bool) { + if o == nil || isNil(o.DependenciesChecksumMd5) { + return nil, false + } + return o.DependenciesChecksumMd5, true +} + +// HasDependenciesChecksumMd5 returns a boolean if a field has been set. +func (o *TerraformPackageUploadResponse) HasDependenciesChecksumMd5() bool { + if o != nil && !isNil(o.DependenciesChecksumMd5) { + return true + } + + return false +} + +// SetDependenciesChecksumMd5 gets a reference to the given string and assigns it to the DependenciesChecksumMd5 field. +func (o *TerraformPackageUploadResponse) SetDependenciesChecksumMd5(v string) { + o.DependenciesChecksumMd5 = &v +} + +// GetDependenciesUrl returns the DependenciesUrl field value if set, zero value otherwise. +func (o *TerraformPackageUploadResponse) GetDependenciesUrl() string { + if o == nil || isNil(o.DependenciesUrl) { + var ret string + return ret + } + return *o.DependenciesUrl +} + +// GetDependenciesUrlOk returns a tuple with the DependenciesUrl field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *TerraformPackageUploadResponse) GetDependenciesUrlOk() (*string, bool) { + if o == nil || isNil(o.DependenciesUrl) { + return nil, false + } + return o.DependenciesUrl, true +} + +// HasDependenciesUrl returns a boolean if a field has been set. +func (o *TerraformPackageUploadResponse) HasDependenciesUrl() bool { + if o != nil && !isNil(o.DependenciesUrl) { + return true + } + + return false +} + +// SetDependenciesUrl gets a reference to the given string and assigns it to the DependenciesUrl field. +func (o *TerraformPackageUploadResponse) SetDependenciesUrl(v string) { + o.DependenciesUrl = &v +} + +// GetDescription returns the Description field value if set, zero value otherwise. +func (o *TerraformPackageUploadResponse) GetDescription() string { + if o == nil || isNil(o.Description) { + var ret string + return ret + } + return *o.Description +} + +// GetDescriptionOk returns a tuple with the Description field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *TerraformPackageUploadResponse) GetDescriptionOk() (*string, bool) { + if o == nil || isNil(o.Description) { + return nil, false + } + return o.Description, true +} + +// HasDescription returns a boolean if a field has been set. +func (o *TerraformPackageUploadResponse) HasDescription() bool { + if o != nil && !isNil(o.Description) { + return true + } + + return false +} + +// SetDescription gets a reference to the given string and assigns it to the Description field. +func (o *TerraformPackageUploadResponse) SetDescription(v string) { + o.Description = &v +} + +// GetDistro returns the Distro field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *TerraformPackageUploadResponse) GetDistro() Distribution { + if o == nil || isNil(o.Distro.Get()) { + var ret Distribution + return ret + } + return *o.Distro.Get() +} + +// GetDistroOk returns a tuple with the Distro 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 *TerraformPackageUploadResponse) GetDistroOk() (*Distribution, bool) { + if o == nil { + return nil, false + } + return o.Distro.Get(), o.Distro.IsSet() +} + +// HasDistro returns a boolean if a field has been set. +func (o *TerraformPackageUploadResponse) HasDistro() bool { + if o != nil && o.Distro.IsSet() { + return true + } + + return false +} + +// SetDistro gets a reference to the given NullableDistribution and assigns it to the Distro field. +func (o *TerraformPackageUploadResponse) SetDistro(v Distribution) { + o.Distro.Set(&v) +} + +// SetDistroNil sets the value for Distro to be an explicit nil +func (o *TerraformPackageUploadResponse) SetDistroNil() { + o.Distro.Set(nil) +} + +// UnsetDistro ensures that no value is present for Distro, not even an explicit nil +func (o *TerraformPackageUploadResponse) UnsetDistro() { + o.Distro.Unset() +} + +// GetDistroVersion returns the DistroVersion field value if set, zero value otherwise. +func (o *TerraformPackageUploadResponse) GetDistroVersion() DistributionVersion { + if o == nil || isNil(o.DistroVersion) { + var ret DistributionVersion + return ret + } + return *o.DistroVersion +} + +// GetDistroVersionOk returns a tuple with the DistroVersion field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *TerraformPackageUploadResponse) GetDistroVersionOk() (*DistributionVersion, bool) { + if o == nil || isNil(o.DistroVersion) { + return nil, false + } + return o.DistroVersion, true +} + +// HasDistroVersion returns a boolean if a field has been set. +func (o *TerraformPackageUploadResponse) HasDistroVersion() bool { + if o != nil && !isNil(o.DistroVersion) { + return true + } + + return false +} + +// SetDistroVersion gets a reference to the given DistributionVersion and assigns it to the DistroVersion field. +func (o *TerraformPackageUploadResponse) SetDistroVersion(v DistributionVersion) { + o.DistroVersion = &v +} + +// GetDownloads returns the Downloads field value if set, zero value otherwise. +func (o *TerraformPackageUploadResponse) GetDownloads() int64 { + if o == nil || isNil(o.Downloads) { + var ret int64 + return ret + } + return *o.Downloads +} + +// GetDownloadsOk returns a tuple with the Downloads field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *TerraformPackageUploadResponse) GetDownloadsOk() (*int64, bool) { + if o == nil || isNil(o.Downloads) { + return nil, false + } + return o.Downloads, true +} + +// HasDownloads returns a boolean if a field has been set. +func (o *TerraformPackageUploadResponse) HasDownloads() bool { + if o != nil && !isNil(o.Downloads) { + return true + } + + return false +} + +// SetDownloads gets a reference to the given int64 and assigns it to the Downloads field. +func (o *TerraformPackageUploadResponse) SetDownloads(v int64) { + o.Downloads = &v +} + +// GetEpoch returns the Epoch field value if set, zero value otherwise. +func (o *TerraformPackageUploadResponse) GetEpoch() int64 { + if o == nil || isNil(o.Epoch) { + var ret int64 + return ret + } + return *o.Epoch +} + +// GetEpochOk returns a tuple with the Epoch field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *TerraformPackageUploadResponse) GetEpochOk() (*int64, bool) { + if o == nil || isNil(o.Epoch) { + return nil, false + } + return o.Epoch, true +} + +// HasEpoch returns a boolean if a field has been set. +func (o *TerraformPackageUploadResponse) HasEpoch() bool { + if o != nil && !isNil(o.Epoch) { + return true + } + + return false +} + +// SetEpoch gets a reference to the given int64 and assigns it to the Epoch field. +func (o *TerraformPackageUploadResponse) SetEpoch(v int64) { + o.Epoch = &v +} + +// GetExtension returns the Extension field value if set, zero value otherwise. +func (o *TerraformPackageUploadResponse) GetExtension() string { + if o == nil || isNil(o.Extension) { + var ret string + return ret + } + return *o.Extension +} + +// GetExtensionOk returns a tuple with the Extension field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *TerraformPackageUploadResponse) GetExtensionOk() (*string, bool) { + if o == nil || isNil(o.Extension) { + return nil, false + } + return o.Extension, true +} + +// HasExtension returns a boolean if a field has been set. +func (o *TerraformPackageUploadResponse) HasExtension() bool { + if o != nil && !isNil(o.Extension) { + return true + } + + return false +} + +// SetExtension gets a reference to the given string and assigns it to the Extension field. +func (o *TerraformPackageUploadResponse) SetExtension(v string) { + o.Extension = &v +} + +// GetFilename returns the Filename field value if set, zero value otherwise. +func (o *TerraformPackageUploadResponse) GetFilename() string { + if o == nil || isNil(o.Filename) { + var ret string + return ret + } + return *o.Filename +} + +// GetFilenameOk returns a tuple with the Filename field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *TerraformPackageUploadResponse) GetFilenameOk() (*string, bool) { + if o == nil || isNil(o.Filename) { + return nil, false + } + return o.Filename, true +} + +// HasFilename returns a boolean if a field has been set. +func (o *TerraformPackageUploadResponse) HasFilename() bool { + if o != nil && !isNil(o.Filename) { + return true + } + + return false +} + +// SetFilename gets a reference to the given string and assigns it to the Filename field. +func (o *TerraformPackageUploadResponse) SetFilename(v string) { + o.Filename = &v +} + +// GetFiles returns the Files field value if set, zero value otherwise. +func (o *TerraformPackageUploadResponse) GetFiles() []PackageFile { + if o == nil || isNil(o.Files) { + var ret []PackageFile + return ret + } + return o.Files +} + +// GetFilesOk returns a tuple with the Files field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *TerraformPackageUploadResponse) GetFilesOk() ([]PackageFile, bool) { + if o == nil || isNil(o.Files) { + return nil, false + } + return o.Files, true +} + +// HasFiles returns a boolean if a field has been set. +func (o *TerraformPackageUploadResponse) HasFiles() bool { + if o != nil && !isNil(o.Files) { + return true + } + + return false +} + +// SetFiles gets a reference to the given []PackageFile and assigns it to the Files field. +func (o *TerraformPackageUploadResponse) SetFiles(v []PackageFile) { + o.Files = v +} + +// GetFormat returns the Format field value if set, zero value otherwise. +func (o *TerraformPackageUploadResponse) GetFormat() string { + if o == nil || isNil(o.Format) { + var ret string + return ret + } + return *o.Format +} + +// GetFormatOk returns a tuple with the Format field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *TerraformPackageUploadResponse) GetFormatOk() (*string, bool) { + if o == nil || isNil(o.Format) { + return nil, false + } + return o.Format, true +} + +// HasFormat returns a boolean if a field has been set. +func (o *TerraformPackageUploadResponse) HasFormat() bool { + if o != nil && !isNil(o.Format) { + return true + } + + return false +} + +// SetFormat gets a reference to the given string and assigns it to the Format field. +func (o *TerraformPackageUploadResponse) SetFormat(v string) { + o.Format = &v +} + +// GetFormatUrl returns the FormatUrl field value if set, zero value otherwise. +func (o *TerraformPackageUploadResponse) GetFormatUrl() string { + if o == nil || isNil(o.FormatUrl) { + var ret string + return ret + } + return *o.FormatUrl +} + +// GetFormatUrlOk returns a tuple with the FormatUrl field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *TerraformPackageUploadResponse) GetFormatUrlOk() (*string, bool) { + if o == nil || isNil(o.FormatUrl) { + return nil, false + } + return o.FormatUrl, true +} + +// HasFormatUrl returns a boolean if a field has been set. +func (o *TerraformPackageUploadResponse) HasFormatUrl() bool { + if o != nil && !isNil(o.FormatUrl) { + return true + } + + return false +} + +// SetFormatUrl gets a reference to the given string and assigns it to the FormatUrl field. +func (o *TerraformPackageUploadResponse) SetFormatUrl(v string) { + o.FormatUrl = &v +} + +// GetIdentifierPerm returns the IdentifierPerm field value if set, zero value otherwise. +func (o *TerraformPackageUploadResponse) GetIdentifierPerm() string { + if o == nil || isNil(o.IdentifierPerm) { + var ret string + return ret + } + return *o.IdentifierPerm +} + +// GetIdentifierPermOk returns a tuple with the IdentifierPerm field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *TerraformPackageUploadResponse) GetIdentifierPermOk() (*string, bool) { + if o == nil || isNil(o.IdentifierPerm) { + return nil, false + } + return o.IdentifierPerm, true +} + +// HasIdentifierPerm returns a boolean if a field has been set. +func (o *TerraformPackageUploadResponse) HasIdentifierPerm() bool { + if o != nil && !isNil(o.IdentifierPerm) { + return true + } + + return false +} + +// SetIdentifierPerm gets a reference to the given string and assigns it to the IdentifierPerm field. +func (o *TerraformPackageUploadResponse) SetIdentifierPerm(v string) { + o.IdentifierPerm = &v +} + +// GetIndexed returns the Indexed field value if set, zero value otherwise. +func (o *TerraformPackageUploadResponse) GetIndexed() bool { + if o == nil || isNil(o.Indexed) { + var ret bool + return ret + } + return *o.Indexed +} + +// GetIndexedOk returns a tuple with the Indexed field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *TerraformPackageUploadResponse) GetIndexedOk() (*bool, bool) { + if o == nil || isNil(o.Indexed) { + return nil, false + } + return o.Indexed, true +} + +// HasIndexed returns a boolean if a field has been set. +func (o *TerraformPackageUploadResponse) HasIndexed() bool { + if o != nil && !isNil(o.Indexed) { + return true + } + + return false +} + +// SetIndexed gets a reference to the given bool and assigns it to the Indexed field. +func (o *TerraformPackageUploadResponse) SetIndexed(v bool) { + o.Indexed = &v +} + +// GetIsDownloadable returns the IsDownloadable field value if set, zero value otherwise. +func (o *TerraformPackageUploadResponse) GetIsDownloadable() bool { + if o == nil || isNil(o.IsDownloadable) { + var ret bool + return ret + } + return *o.IsDownloadable +} + +// GetIsDownloadableOk returns a tuple with the IsDownloadable field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *TerraformPackageUploadResponse) GetIsDownloadableOk() (*bool, bool) { + if o == nil || isNil(o.IsDownloadable) { + return nil, false + } + return o.IsDownloadable, true +} + +// HasIsDownloadable returns a boolean if a field has been set. +func (o *TerraformPackageUploadResponse) HasIsDownloadable() bool { + if o != nil && !isNil(o.IsDownloadable) { + return true + } + + return false +} + +// SetIsDownloadable gets a reference to the given bool and assigns it to the IsDownloadable field. +func (o *TerraformPackageUploadResponse) SetIsDownloadable(v bool) { + o.IsDownloadable = &v +} + +// GetIsQuarantined returns the IsQuarantined field value if set, zero value otherwise. +func (o *TerraformPackageUploadResponse) GetIsQuarantined() bool { + if o == nil || isNil(o.IsQuarantined) { + var ret bool + return ret + } + return *o.IsQuarantined +} + +// GetIsQuarantinedOk returns a tuple with the IsQuarantined field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *TerraformPackageUploadResponse) GetIsQuarantinedOk() (*bool, bool) { + if o == nil || isNil(o.IsQuarantined) { + return nil, false + } + return o.IsQuarantined, true +} + +// HasIsQuarantined returns a boolean if a field has been set. +func (o *TerraformPackageUploadResponse) HasIsQuarantined() bool { + if o != nil && !isNil(o.IsQuarantined) { + return true + } + + return false +} + +// SetIsQuarantined gets a reference to the given bool and assigns it to the IsQuarantined field. +func (o *TerraformPackageUploadResponse) SetIsQuarantined(v bool) { + o.IsQuarantined = &v +} + +// GetIsSyncAwaiting returns the IsSyncAwaiting field value if set, zero value otherwise. +func (o *TerraformPackageUploadResponse) GetIsSyncAwaiting() bool { + if o == nil || isNil(o.IsSyncAwaiting) { + var ret bool + return ret + } + return *o.IsSyncAwaiting +} + +// GetIsSyncAwaitingOk returns a tuple with the IsSyncAwaiting field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *TerraformPackageUploadResponse) GetIsSyncAwaitingOk() (*bool, bool) { + if o == nil || isNil(o.IsSyncAwaiting) { + return nil, false + } + return o.IsSyncAwaiting, true +} + +// HasIsSyncAwaiting returns a boolean if a field has been set. +func (o *TerraformPackageUploadResponse) HasIsSyncAwaiting() bool { + if o != nil && !isNil(o.IsSyncAwaiting) { + return true + } + + return false +} + +// SetIsSyncAwaiting gets a reference to the given bool and assigns it to the IsSyncAwaiting field. +func (o *TerraformPackageUploadResponse) SetIsSyncAwaiting(v bool) { + o.IsSyncAwaiting = &v +} + +// GetIsSyncCompleted returns the IsSyncCompleted field value if set, zero value otherwise. +func (o *TerraformPackageUploadResponse) GetIsSyncCompleted() bool { + if o == nil || isNil(o.IsSyncCompleted) { + var ret bool + return ret + } + return *o.IsSyncCompleted +} + +// GetIsSyncCompletedOk returns a tuple with the IsSyncCompleted field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *TerraformPackageUploadResponse) GetIsSyncCompletedOk() (*bool, bool) { + if o == nil || isNil(o.IsSyncCompleted) { + return nil, false + } + return o.IsSyncCompleted, true +} + +// HasIsSyncCompleted returns a boolean if a field has been set. +func (o *TerraformPackageUploadResponse) HasIsSyncCompleted() bool { + if o != nil && !isNil(o.IsSyncCompleted) { + return true + } + + return false +} + +// SetIsSyncCompleted gets a reference to the given bool and assigns it to the IsSyncCompleted field. +func (o *TerraformPackageUploadResponse) SetIsSyncCompleted(v bool) { + o.IsSyncCompleted = &v +} + +// GetIsSyncFailed returns the IsSyncFailed field value if set, zero value otherwise. +func (o *TerraformPackageUploadResponse) GetIsSyncFailed() bool { + if o == nil || isNil(o.IsSyncFailed) { + var ret bool + return ret + } + return *o.IsSyncFailed +} + +// GetIsSyncFailedOk returns a tuple with the IsSyncFailed field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *TerraformPackageUploadResponse) GetIsSyncFailedOk() (*bool, bool) { + if o == nil || isNil(o.IsSyncFailed) { + return nil, false + } + return o.IsSyncFailed, true +} + +// HasIsSyncFailed returns a boolean if a field has been set. +func (o *TerraformPackageUploadResponse) HasIsSyncFailed() bool { + if o != nil && !isNil(o.IsSyncFailed) { + return true + } + + return false +} + +// SetIsSyncFailed gets a reference to the given bool and assigns it to the IsSyncFailed field. +func (o *TerraformPackageUploadResponse) SetIsSyncFailed(v bool) { + o.IsSyncFailed = &v +} + +// GetIsSyncInFlight returns the IsSyncInFlight field value if set, zero value otherwise. +func (o *TerraformPackageUploadResponse) GetIsSyncInFlight() bool { + if o == nil || isNil(o.IsSyncInFlight) { + var ret bool + return ret + } + return *o.IsSyncInFlight +} + +// GetIsSyncInFlightOk returns a tuple with the IsSyncInFlight field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *TerraformPackageUploadResponse) GetIsSyncInFlightOk() (*bool, bool) { + if o == nil || isNil(o.IsSyncInFlight) { + return nil, false + } + return o.IsSyncInFlight, true +} + +// HasIsSyncInFlight returns a boolean if a field has been set. +func (o *TerraformPackageUploadResponse) HasIsSyncInFlight() bool { + if o != nil && !isNil(o.IsSyncInFlight) { + return true + } + + return false +} + +// SetIsSyncInFlight gets a reference to the given bool and assigns it to the IsSyncInFlight field. +func (o *TerraformPackageUploadResponse) SetIsSyncInFlight(v bool) { + o.IsSyncInFlight = &v +} + +// GetIsSyncInProgress returns the IsSyncInProgress field value if set, zero value otherwise. +func (o *TerraformPackageUploadResponse) GetIsSyncInProgress() bool { + if o == nil || isNil(o.IsSyncInProgress) { + var ret bool + return ret + } + return *o.IsSyncInProgress +} + +// GetIsSyncInProgressOk returns a tuple with the IsSyncInProgress field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *TerraformPackageUploadResponse) GetIsSyncInProgressOk() (*bool, bool) { + if o == nil || isNil(o.IsSyncInProgress) { + return nil, false + } + return o.IsSyncInProgress, true +} + +// HasIsSyncInProgress returns a boolean if a field has been set. +func (o *TerraformPackageUploadResponse) HasIsSyncInProgress() bool { + if o != nil && !isNil(o.IsSyncInProgress) { + return true + } + + return false +} + +// SetIsSyncInProgress gets a reference to the given bool and assigns it to the IsSyncInProgress field. +func (o *TerraformPackageUploadResponse) SetIsSyncInProgress(v bool) { + o.IsSyncInProgress = &v +} + +// GetLicense returns the License field value if set, zero value otherwise. +func (o *TerraformPackageUploadResponse) GetLicense() string { + if o == nil || isNil(o.License) { + var ret string + return ret + } + return *o.License +} + +// GetLicenseOk returns a tuple with the License field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *TerraformPackageUploadResponse) GetLicenseOk() (*string, bool) { + if o == nil || isNil(o.License) { + return nil, false + } + return o.License, true +} + +// HasLicense returns a boolean if a field has been set. +func (o *TerraformPackageUploadResponse) HasLicense() bool { + if o != nil && !isNil(o.License) { + return true + } + + return false +} + +// SetLicense gets a reference to the given string and assigns it to the License field. +func (o *TerraformPackageUploadResponse) SetLicense(v string) { + o.License = &v +} + +// GetName returns the Name field value if set, zero value otherwise. +func (o *TerraformPackageUploadResponse) GetName() string { + if o == nil || isNil(o.Name) { + var ret string + return ret + } + return *o.Name +} + +// GetNameOk returns a tuple with the Name field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *TerraformPackageUploadResponse) GetNameOk() (*string, bool) { + if o == nil || isNil(o.Name) { + return nil, false + } + return o.Name, true +} + +// HasName returns a boolean if a field has been set. +func (o *TerraformPackageUploadResponse) HasName() bool { + if o != nil && !isNil(o.Name) { + return true + } + + return false +} + +// SetName gets a reference to the given string and assigns it to the Name field. +func (o *TerraformPackageUploadResponse) SetName(v string) { + o.Name = &v +} + +// GetNamespace returns the Namespace field value if set, zero value otherwise. +func (o *TerraformPackageUploadResponse) GetNamespace() string { + if o == nil || isNil(o.Namespace) { + var ret string + return ret + } + return *o.Namespace +} + +// GetNamespaceOk returns a tuple with the Namespace field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *TerraformPackageUploadResponse) GetNamespaceOk() (*string, bool) { + if o == nil || isNil(o.Namespace) { + return nil, false + } + return o.Namespace, true +} + +// HasNamespace returns a boolean if a field has been set. +func (o *TerraformPackageUploadResponse) HasNamespace() bool { + if o != nil && !isNil(o.Namespace) { + return true + } + + return false +} + +// SetNamespace gets a reference to the given string and assigns it to the Namespace field. +func (o *TerraformPackageUploadResponse) SetNamespace(v string) { + o.Namespace = &v +} + +// GetNamespaceUrl returns the NamespaceUrl field value if set, zero value otherwise. +func (o *TerraformPackageUploadResponse) GetNamespaceUrl() string { + if o == nil || isNil(o.NamespaceUrl) { + var ret string + return ret + } + return *o.NamespaceUrl +} + +// GetNamespaceUrlOk returns a tuple with the NamespaceUrl field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *TerraformPackageUploadResponse) GetNamespaceUrlOk() (*string, bool) { + if o == nil || isNil(o.NamespaceUrl) { + return nil, false + } + return o.NamespaceUrl, true +} + +// HasNamespaceUrl returns a boolean if a field has been set. +func (o *TerraformPackageUploadResponse) HasNamespaceUrl() bool { + if o != nil && !isNil(o.NamespaceUrl) { + return true + } + + return false +} + +// SetNamespaceUrl gets a reference to the given string and assigns it to the NamespaceUrl field. +func (o *TerraformPackageUploadResponse) SetNamespaceUrl(v string) { + o.NamespaceUrl = &v +} + +// GetNumFiles returns the NumFiles field value if set, zero value otherwise. +func (o *TerraformPackageUploadResponse) GetNumFiles() int64 { + if o == nil || isNil(o.NumFiles) { + var ret int64 + return ret + } + return *o.NumFiles +} + +// GetNumFilesOk returns a tuple with the NumFiles field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *TerraformPackageUploadResponse) GetNumFilesOk() (*int64, bool) { + if o == nil || isNil(o.NumFiles) { + return nil, false + } + return o.NumFiles, true +} + +// HasNumFiles returns a boolean if a field has been set. +func (o *TerraformPackageUploadResponse) HasNumFiles() bool { + if o != nil && !isNil(o.NumFiles) { + return true + } + + return false +} + +// SetNumFiles gets a reference to the given int64 and assigns it to the NumFiles field. +func (o *TerraformPackageUploadResponse) SetNumFiles(v int64) { + o.NumFiles = &v +} + +// GetOriginRepository returns the OriginRepository field value if set, zero value otherwise. +func (o *TerraformPackageUploadResponse) GetOriginRepository() string { + if o == nil || isNil(o.OriginRepository) { + var ret string + return ret + } + return *o.OriginRepository +} + +// GetOriginRepositoryOk returns a tuple with the OriginRepository field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *TerraformPackageUploadResponse) GetOriginRepositoryOk() (*string, bool) { + if o == nil || isNil(o.OriginRepository) { + return nil, false + } + return o.OriginRepository, true +} + +// HasOriginRepository returns a boolean if a field has been set. +func (o *TerraformPackageUploadResponse) HasOriginRepository() bool { + if o != nil && !isNil(o.OriginRepository) { + return true + } + + return false +} + +// SetOriginRepository gets a reference to the given string and assigns it to the OriginRepository field. +func (o *TerraformPackageUploadResponse) SetOriginRepository(v string) { + o.OriginRepository = &v +} + +// GetOriginRepositoryUrl returns the OriginRepositoryUrl field value if set, zero value otherwise. +func (o *TerraformPackageUploadResponse) GetOriginRepositoryUrl() string { + if o == nil || isNil(o.OriginRepositoryUrl) { + var ret string + return ret + } + return *o.OriginRepositoryUrl +} + +// GetOriginRepositoryUrlOk returns a tuple with the OriginRepositoryUrl field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *TerraformPackageUploadResponse) GetOriginRepositoryUrlOk() (*string, bool) { + if o == nil || isNil(o.OriginRepositoryUrl) { + return nil, false + } + return o.OriginRepositoryUrl, true +} + +// HasOriginRepositoryUrl returns a boolean if a field has been set. +func (o *TerraformPackageUploadResponse) HasOriginRepositoryUrl() bool { + if o != nil && !isNil(o.OriginRepositoryUrl) { + return true + } + + return false +} + +// SetOriginRepositoryUrl gets a reference to the given string and assigns it to the OriginRepositoryUrl field. +func (o *TerraformPackageUploadResponse) SetOriginRepositoryUrl(v string) { + o.OriginRepositoryUrl = &v +} + +// GetPackageType returns the PackageType field value if set, zero value otherwise. +func (o *TerraformPackageUploadResponse) GetPackageType() int64 { + if o == nil || isNil(o.PackageType) { + var ret int64 + return ret + } + return *o.PackageType +} + +// GetPackageTypeOk returns a tuple with the PackageType field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *TerraformPackageUploadResponse) GetPackageTypeOk() (*int64, bool) { + if o == nil || isNil(o.PackageType) { + return nil, false + } + return o.PackageType, true +} + +// HasPackageType returns a boolean if a field has been set. +func (o *TerraformPackageUploadResponse) HasPackageType() bool { + if o != nil && !isNil(o.PackageType) { + return true + } + + return false +} + +// SetPackageType gets a reference to the given int64 and assigns it to the PackageType field. +func (o *TerraformPackageUploadResponse) SetPackageType(v int64) { + o.PackageType = &v +} + +// GetRelease returns the Release field value if set, zero value otherwise. +func (o *TerraformPackageUploadResponse) GetRelease() string { + if o == nil || isNil(o.Release) { + var ret string + return ret + } + return *o.Release +} + +// GetReleaseOk returns a tuple with the Release field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *TerraformPackageUploadResponse) GetReleaseOk() (*string, bool) { + if o == nil || isNil(o.Release) { + return nil, false + } + return o.Release, true +} + +// HasRelease returns a boolean if a field has been set. +func (o *TerraformPackageUploadResponse) HasRelease() bool { + if o != nil && !isNil(o.Release) { + return true + } + + return false +} + +// SetRelease gets a reference to the given string and assigns it to the Release field. +func (o *TerraformPackageUploadResponse) SetRelease(v string) { + o.Release = &v +} + +// GetRepository returns the Repository field value if set, zero value otherwise. +func (o *TerraformPackageUploadResponse) GetRepository() string { + if o == nil || isNil(o.Repository) { + var ret string + return ret + } + return *o.Repository +} + +// GetRepositoryOk returns a tuple with the Repository field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *TerraformPackageUploadResponse) GetRepositoryOk() (*string, bool) { + if o == nil || isNil(o.Repository) { + return nil, false + } + return o.Repository, true +} + +// HasRepository returns a boolean if a field has been set. +func (o *TerraformPackageUploadResponse) HasRepository() bool { + if o != nil && !isNil(o.Repository) { + return true + } + + return false +} + +// SetRepository gets a reference to the given string and assigns it to the Repository field. +func (o *TerraformPackageUploadResponse) SetRepository(v string) { + o.Repository = &v +} + +// GetRepositoryUrl returns the RepositoryUrl field value if set, zero value otherwise. +func (o *TerraformPackageUploadResponse) GetRepositoryUrl() string { + if o == nil || isNil(o.RepositoryUrl) { + var ret string + return ret + } + return *o.RepositoryUrl +} + +// GetRepositoryUrlOk returns a tuple with the RepositoryUrl field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *TerraformPackageUploadResponse) GetRepositoryUrlOk() (*string, bool) { + if o == nil || isNil(o.RepositoryUrl) { + return nil, false + } + return o.RepositoryUrl, true +} + +// HasRepositoryUrl returns a boolean if a field has been set. +func (o *TerraformPackageUploadResponse) HasRepositoryUrl() bool { + if o != nil && !isNil(o.RepositoryUrl) { + return true + } + + return false +} + +// SetRepositoryUrl gets a reference to the given string and assigns it to the RepositoryUrl field. +func (o *TerraformPackageUploadResponse) SetRepositoryUrl(v string) { + o.RepositoryUrl = &v +} + +// GetSecurityScanCompletedAt returns the SecurityScanCompletedAt field value if set, zero value otherwise. +func (o *TerraformPackageUploadResponse) GetSecurityScanCompletedAt() time.Time { + if o == nil || isNil(o.SecurityScanCompletedAt) { + var ret time.Time + return ret + } + return *o.SecurityScanCompletedAt +} + +// GetSecurityScanCompletedAtOk returns a tuple with the SecurityScanCompletedAt field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *TerraformPackageUploadResponse) GetSecurityScanCompletedAtOk() (*time.Time, bool) { + if o == nil || isNil(o.SecurityScanCompletedAt) { + return nil, false + } + return o.SecurityScanCompletedAt, true +} + +// HasSecurityScanCompletedAt returns a boolean if a field has been set. +func (o *TerraformPackageUploadResponse) HasSecurityScanCompletedAt() bool { + if o != nil && !isNil(o.SecurityScanCompletedAt) { + return true + } + + return false +} + +// SetSecurityScanCompletedAt gets a reference to the given time.Time and assigns it to the SecurityScanCompletedAt field. +func (o *TerraformPackageUploadResponse) SetSecurityScanCompletedAt(v time.Time) { + o.SecurityScanCompletedAt = &v +} + +// GetSecurityScanStartedAt returns the SecurityScanStartedAt field value if set, zero value otherwise. +func (o *TerraformPackageUploadResponse) GetSecurityScanStartedAt() time.Time { + if o == nil || isNil(o.SecurityScanStartedAt) { + var ret time.Time + return ret + } + return *o.SecurityScanStartedAt +} + +// GetSecurityScanStartedAtOk returns a tuple with the SecurityScanStartedAt field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *TerraformPackageUploadResponse) GetSecurityScanStartedAtOk() (*time.Time, bool) { + if o == nil || isNil(o.SecurityScanStartedAt) { + return nil, false + } + return o.SecurityScanStartedAt, true +} + +// HasSecurityScanStartedAt returns a boolean if a field has been set. +func (o *TerraformPackageUploadResponse) HasSecurityScanStartedAt() bool { + if o != nil && !isNil(o.SecurityScanStartedAt) { + return true + } + + return false +} + +// SetSecurityScanStartedAt gets a reference to the given time.Time and assigns it to the SecurityScanStartedAt field. +func (o *TerraformPackageUploadResponse) SetSecurityScanStartedAt(v time.Time) { + o.SecurityScanStartedAt = &v +} + +// GetSecurityScanStatus returns the SecurityScanStatus field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *TerraformPackageUploadResponse) GetSecurityScanStatus() string { + if o == nil || isNil(o.SecurityScanStatus.Get()) { + var ret string + return ret + } + return *o.SecurityScanStatus.Get() +} + +// GetSecurityScanStatusOk returns a tuple with the SecurityScanStatus 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 *TerraformPackageUploadResponse) GetSecurityScanStatusOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.SecurityScanStatus.Get(), o.SecurityScanStatus.IsSet() +} + +// HasSecurityScanStatus returns a boolean if a field has been set. +func (o *TerraformPackageUploadResponse) HasSecurityScanStatus() bool { + if o != nil && o.SecurityScanStatus.IsSet() { + return true + } + + return false +} + +// SetSecurityScanStatus gets a reference to the given NullableString and assigns it to the SecurityScanStatus field. +func (o *TerraformPackageUploadResponse) SetSecurityScanStatus(v string) { + o.SecurityScanStatus.Set(&v) +} + +// SetSecurityScanStatusNil sets the value for SecurityScanStatus to be an explicit nil +func (o *TerraformPackageUploadResponse) SetSecurityScanStatusNil() { + o.SecurityScanStatus.Set(nil) +} + +// UnsetSecurityScanStatus ensures that no value is present for SecurityScanStatus, not even an explicit nil +func (o *TerraformPackageUploadResponse) UnsetSecurityScanStatus() { + o.SecurityScanStatus.Unset() +} + +// GetSecurityScanStatusUpdatedAt returns the SecurityScanStatusUpdatedAt field value if set, zero value otherwise. +func (o *TerraformPackageUploadResponse) GetSecurityScanStatusUpdatedAt() time.Time { + if o == nil || isNil(o.SecurityScanStatusUpdatedAt) { + var ret time.Time + return ret + } + return *o.SecurityScanStatusUpdatedAt +} + +// GetSecurityScanStatusUpdatedAtOk returns a tuple with the SecurityScanStatusUpdatedAt field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *TerraformPackageUploadResponse) GetSecurityScanStatusUpdatedAtOk() (*time.Time, bool) { + if o == nil || isNil(o.SecurityScanStatusUpdatedAt) { + return nil, false + } + return o.SecurityScanStatusUpdatedAt, true +} + +// HasSecurityScanStatusUpdatedAt returns a boolean if a field has been set. +func (o *TerraformPackageUploadResponse) HasSecurityScanStatusUpdatedAt() bool { + if o != nil && !isNil(o.SecurityScanStatusUpdatedAt) { + return true + } + + return false +} + +// SetSecurityScanStatusUpdatedAt gets a reference to the given time.Time and assigns it to the SecurityScanStatusUpdatedAt field. +func (o *TerraformPackageUploadResponse) SetSecurityScanStatusUpdatedAt(v time.Time) { + o.SecurityScanStatusUpdatedAt = &v +} + +// GetSelfHtmlUrl returns the SelfHtmlUrl field value if set, zero value otherwise. +func (o *TerraformPackageUploadResponse) GetSelfHtmlUrl() string { + if o == nil || isNil(o.SelfHtmlUrl) { + var ret string + return ret + } + return *o.SelfHtmlUrl +} + +// GetSelfHtmlUrlOk returns a tuple with the SelfHtmlUrl field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *TerraformPackageUploadResponse) GetSelfHtmlUrlOk() (*string, bool) { + if o == nil || isNil(o.SelfHtmlUrl) { + return nil, false + } + return o.SelfHtmlUrl, true +} + +// HasSelfHtmlUrl returns a boolean if a field has been set. +func (o *TerraformPackageUploadResponse) HasSelfHtmlUrl() bool { + if o != nil && !isNil(o.SelfHtmlUrl) { + return true + } + + return false +} + +// SetSelfHtmlUrl gets a reference to the given string and assigns it to the SelfHtmlUrl field. +func (o *TerraformPackageUploadResponse) SetSelfHtmlUrl(v string) { + o.SelfHtmlUrl = &v +} + +// GetSelfUrl returns the SelfUrl field value if set, zero value otherwise. +func (o *TerraformPackageUploadResponse) GetSelfUrl() string { + if o == nil || isNil(o.SelfUrl) { + var ret string + return ret + } + return *o.SelfUrl +} + +// GetSelfUrlOk returns a tuple with the SelfUrl field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *TerraformPackageUploadResponse) GetSelfUrlOk() (*string, bool) { + if o == nil || isNil(o.SelfUrl) { + return nil, false + } + return o.SelfUrl, true +} + +// HasSelfUrl returns a boolean if a field has been set. +func (o *TerraformPackageUploadResponse) HasSelfUrl() bool { + if o != nil && !isNil(o.SelfUrl) { + return true + } + + return false +} + +// SetSelfUrl gets a reference to the given string and assigns it to the SelfUrl field. +func (o *TerraformPackageUploadResponse) SetSelfUrl(v string) { + o.SelfUrl = &v +} + +// GetSignatureUrl returns the SignatureUrl field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *TerraformPackageUploadResponse) GetSignatureUrl() string { + if o == nil || isNil(o.SignatureUrl.Get()) { + var ret string + return ret + } + return *o.SignatureUrl.Get() +} + +// GetSignatureUrlOk returns a tuple with the SignatureUrl 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 *TerraformPackageUploadResponse) GetSignatureUrlOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.SignatureUrl.Get(), o.SignatureUrl.IsSet() +} + +// HasSignatureUrl returns a boolean if a field has been set. +func (o *TerraformPackageUploadResponse) HasSignatureUrl() bool { + if o != nil && o.SignatureUrl.IsSet() { + return true + } + + return false +} + +// SetSignatureUrl gets a reference to the given NullableString and assigns it to the SignatureUrl field. +func (o *TerraformPackageUploadResponse) SetSignatureUrl(v string) { + o.SignatureUrl.Set(&v) +} + +// SetSignatureUrlNil sets the value for SignatureUrl to be an explicit nil +func (o *TerraformPackageUploadResponse) SetSignatureUrlNil() { + o.SignatureUrl.Set(nil) +} + +// UnsetSignatureUrl ensures that no value is present for SignatureUrl, not even an explicit nil +func (o *TerraformPackageUploadResponse) UnsetSignatureUrl() { + o.SignatureUrl.Unset() +} + +// GetSize returns the Size field value if set, zero value otherwise. +func (o *TerraformPackageUploadResponse) GetSize() int64 { + if o == nil || isNil(o.Size) { + var ret int64 + return ret + } + return *o.Size +} + +// GetSizeOk returns a tuple with the Size field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *TerraformPackageUploadResponse) GetSizeOk() (*int64, bool) { + if o == nil || isNil(o.Size) { + return nil, false + } + return o.Size, true +} + +// HasSize returns a boolean if a field has been set. +func (o *TerraformPackageUploadResponse) HasSize() bool { + if o != nil && !isNil(o.Size) { + return true + } + + return false +} + +// SetSize gets a reference to the given int64 and assigns it to the Size field. +func (o *TerraformPackageUploadResponse) SetSize(v int64) { + o.Size = &v +} + +// GetSlug returns the Slug field value if set, zero value otherwise. +func (o *TerraformPackageUploadResponse) GetSlug() string { + if o == nil || isNil(o.Slug) { + var ret string + return ret + } + return *o.Slug +} + +// GetSlugOk returns a tuple with the Slug field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *TerraformPackageUploadResponse) GetSlugOk() (*string, bool) { + if o == nil || isNil(o.Slug) { + return nil, false + } + return o.Slug, true +} + +// HasSlug returns a boolean if a field has been set. +func (o *TerraformPackageUploadResponse) HasSlug() bool { + if o != nil && !isNil(o.Slug) { + return true + } + + return false +} + +// SetSlug gets a reference to the given string and assigns it to the Slug field. +func (o *TerraformPackageUploadResponse) SetSlug(v string) { + o.Slug = &v +} + +// GetSlugPerm returns the SlugPerm field value if set, zero value otherwise. +func (o *TerraformPackageUploadResponse) GetSlugPerm() string { + if o == nil || isNil(o.SlugPerm) { + var ret string + return ret + } + return *o.SlugPerm +} + +// GetSlugPermOk returns a tuple with the SlugPerm field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *TerraformPackageUploadResponse) GetSlugPermOk() (*string, bool) { + if o == nil || isNil(o.SlugPerm) { + return nil, false + } + return o.SlugPerm, true +} + +// HasSlugPerm returns a boolean if a field has been set. +func (o *TerraformPackageUploadResponse) HasSlugPerm() bool { + if o != nil && !isNil(o.SlugPerm) { + return true + } + + return false +} + +// SetSlugPerm gets a reference to the given string and assigns it to the SlugPerm field. +func (o *TerraformPackageUploadResponse) SetSlugPerm(v string) { + o.SlugPerm = &v +} + +// GetStage returns the Stage field value if set, zero value otherwise. +func (o *TerraformPackageUploadResponse) GetStage() int64 { + if o == nil || isNil(o.Stage) { + var ret int64 + return ret + } + return *o.Stage +} + +// GetStageOk returns a tuple with the Stage field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *TerraformPackageUploadResponse) GetStageOk() (*int64, bool) { + if o == nil || isNil(o.Stage) { + return nil, false + } + return o.Stage, true +} + +// HasStage returns a boolean if a field has been set. +func (o *TerraformPackageUploadResponse) HasStage() bool { + if o != nil && !isNil(o.Stage) { + return true + } + + return false +} + +// SetStage gets a reference to the given int64 and assigns it to the Stage field. +func (o *TerraformPackageUploadResponse) SetStage(v int64) { + o.Stage = &v +} + +// GetStageStr returns the StageStr field value if set, zero value otherwise. +func (o *TerraformPackageUploadResponse) GetStageStr() string { + if o == nil || isNil(o.StageStr) { + var ret string + return ret + } + return *o.StageStr +} + +// GetStageStrOk returns a tuple with the StageStr field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *TerraformPackageUploadResponse) GetStageStrOk() (*string, bool) { + if o == nil || isNil(o.StageStr) { + return nil, false + } + return o.StageStr, true +} + +// HasStageStr returns a boolean if a field has been set. +func (o *TerraformPackageUploadResponse) HasStageStr() bool { + if o != nil && !isNil(o.StageStr) { + return true + } + + return false +} + +// SetStageStr gets a reference to the given string and assigns it to the StageStr field. +func (o *TerraformPackageUploadResponse) SetStageStr(v string) { + o.StageStr = &v +} + +// GetStageUpdatedAt returns the StageUpdatedAt field value if set, zero value otherwise. +func (o *TerraformPackageUploadResponse) GetStageUpdatedAt() time.Time { + if o == nil || isNil(o.StageUpdatedAt) { + var ret time.Time + return ret + } + return *o.StageUpdatedAt +} + +// GetStageUpdatedAtOk returns a tuple with the StageUpdatedAt field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *TerraformPackageUploadResponse) GetStageUpdatedAtOk() (*time.Time, bool) { + if o == nil || isNil(o.StageUpdatedAt) { + return nil, false + } + return o.StageUpdatedAt, true +} + +// HasStageUpdatedAt returns a boolean if a field has been set. +func (o *TerraformPackageUploadResponse) HasStageUpdatedAt() bool { + if o != nil && !isNil(o.StageUpdatedAt) { + return true + } + + return false +} + +// SetStageUpdatedAt gets a reference to the given time.Time and assigns it to the StageUpdatedAt field. +func (o *TerraformPackageUploadResponse) SetStageUpdatedAt(v time.Time) { + o.StageUpdatedAt = &v +} + +// GetStatus returns the Status field value if set, zero value otherwise. +func (o *TerraformPackageUploadResponse) GetStatus() int64 { + if o == nil || isNil(o.Status) { + var ret int64 + return ret + } + return *o.Status +} + +// GetStatusOk returns a tuple with the Status field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *TerraformPackageUploadResponse) GetStatusOk() (*int64, bool) { + if o == nil || isNil(o.Status) { + return nil, false + } + return o.Status, true +} + +// HasStatus returns a boolean if a field has been set. +func (o *TerraformPackageUploadResponse) HasStatus() bool { + if o != nil && !isNil(o.Status) { + return true + } + + return false +} + +// SetStatus gets a reference to the given int64 and assigns it to the Status field. +func (o *TerraformPackageUploadResponse) SetStatus(v int64) { + o.Status = &v +} + +// GetStatusReason returns the StatusReason field value if set, zero value otherwise. +func (o *TerraformPackageUploadResponse) GetStatusReason() string { + if o == nil || isNil(o.StatusReason) { + var ret string + return ret + } + return *o.StatusReason +} + +// GetStatusReasonOk returns a tuple with the StatusReason field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *TerraformPackageUploadResponse) GetStatusReasonOk() (*string, bool) { + if o == nil || isNil(o.StatusReason) { + return nil, false + } + return o.StatusReason, true +} + +// HasStatusReason returns a boolean if a field has been set. +func (o *TerraformPackageUploadResponse) HasStatusReason() bool { + if o != nil && !isNil(o.StatusReason) { + return true + } + + return false +} + +// SetStatusReason gets a reference to the given string and assigns it to the StatusReason field. +func (o *TerraformPackageUploadResponse) SetStatusReason(v string) { + o.StatusReason = &v +} + +// GetStatusStr returns the StatusStr field value if set, zero value otherwise. +func (o *TerraformPackageUploadResponse) GetStatusStr() string { + if o == nil || isNil(o.StatusStr) { + var ret string + return ret + } + return *o.StatusStr +} + +// GetStatusStrOk returns a tuple with the StatusStr field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *TerraformPackageUploadResponse) GetStatusStrOk() (*string, bool) { + if o == nil || isNil(o.StatusStr) { + return nil, false + } + return o.StatusStr, true +} + +// HasStatusStr returns a boolean if a field has been set. +func (o *TerraformPackageUploadResponse) HasStatusStr() bool { + if o != nil && !isNil(o.StatusStr) { + return true + } + + return false +} + +// SetStatusStr gets a reference to the given string and assigns it to the StatusStr field. +func (o *TerraformPackageUploadResponse) SetStatusStr(v string) { + o.StatusStr = &v +} + +// GetStatusUpdatedAt returns the StatusUpdatedAt field value if set, zero value otherwise. +func (o *TerraformPackageUploadResponse) GetStatusUpdatedAt() time.Time { + if o == nil || isNil(o.StatusUpdatedAt) { + var ret time.Time + return ret + } + return *o.StatusUpdatedAt +} + +// GetStatusUpdatedAtOk returns a tuple with the StatusUpdatedAt field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *TerraformPackageUploadResponse) GetStatusUpdatedAtOk() (*time.Time, bool) { + if o == nil || isNil(o.StatusUpdatedAt) { + return nil, false + } + return o.StatusUpdatedAt, true +} + +// HasStatusUpdatedAt returns a boolean if a field has been set. +func (o *TerraformPackageUploadResponse) HasStatusUpdatedAt() bool { + if o != nil && !isNil(o.StatusUpdatedAt) { + return true + } + + return false +} + +// SetStatusUpdatedAt gets a reference to the given time.Time and assigns it to the StatusUpdatedAt field. +func (o *TerraformPackageUploadResponse) SetStatusUpdatedAt(v time.Time) { + o.StatusUpdatedAt = &v +} + +// GetStatusUrl returns the StatusUrl field value if set, zero value otherwise. +func (o *TerraformPackageUploadResponse) GetStatusUrl() string { + if o == nil || isNil(o.StatusUrl) { + var ret string + return ret + } + return *o.StatusUrl +} + +// GetStatusUrlOk returns a tuple with the StatusUrl field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *TerraformPackageUploadResponse) GetStatusUrlOk() (*string, bool) { + if o == nil || isNil(o.StatusUrl) { + return nil, false + } + return o.StatusUrl, true +} + +// HasStatusUrl returns a boolean if a field has been set. +func (o *TerraformPackageUploadResponse) HasStatusUrl() bool { + if o != nil && !isNil(o.StatusUrl) { + return true + } + + return false +} + +// SetStatusUrl gets a reference to the given string and assigns it to the StatusUrl field. +func (o *TerraformPackageUploadResponse) SetStatusUrl(v string) { + o.StatusUrl = &v +} + +// GetSubtype returns the Subtype field value if set, zero value otherwise. +func (o *TerraformPackageUploadResponse) GetSubtype() string { + if o == nil || isNil(o.Subtype) { + var ret string + return ret + } + return *o.Subtype +} + +// GetSubtypeOk returns a tuple with the Subtype field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *TerraformPackageUploadResponse) GetSubtypeOk() (*string, bool) { + if o == nil || isNil(o.Subtype) { + return nil, false + } + return o.Subtype, true +} + +// HasSubtype returns a boolean if a field has been set. +func (o *TerraformPackageUploadResponse) HasSubtype() bool { + if o != nil && !isNil(o.Subtype) { + return true + } + + return false +} + +// SetSubtype gets a reference to the given string and assigns it to the Subtype field. +func (o *TerraformPackageUploadResponse) SetSubtype(v string) { + o.Subtype = &v +} + +// GetSummary returns the Summary field value if set, zero value otherwise. +func (o *TerraformPackageUploadResponse) GetSummary() string { + if o == nil || isNil(o.Summary) { + var ret string + return ret + } + return *o.Summary +} + +// GetSummaryOk returns a tuple with the Summary field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *TerraformPackageUploadResponse) GetSummaryOk() (*string, bool) { + if o == nil || isNil(o.Summary) { + return nil, false + } + return o.Summary, true +} + +// HasSummary returns a boolean if a field has been set. +func (o *TerraformPackageUploadResponse) HasSummary() bool { + if o != nil && !isNil(o.Summary) { + return true + } + + return false +} + +// SetSummary gets a reference to the given string and assigns it to the Summary field. +func (o *TerraformPackageUploadResponse) SetSummary(v string) { + o.Summary = &v +} + +// GetSyncFinishedAt returns the SyncFinishedAt field value if set, zero value otherwise. +func (o *TerraformPackageUploadResponse) GetSyncFinishedAt() time.Time { + if o == nil || isNil(o.SyncFinishedAt) { + var ret time.Time + return ret + } + return *o.SyncFinishedAt +} + +// GetSyncFinishedAtOk returns a tuple with the SyncFinishedAt field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *TerraformPackageUploadResponse) GetSyncFinishedAtOk() (*time.Time, bool) { + if o == nil || isNil(o.SyncFinishedAt) { + return nil, false + } + return o.SyncFinishedAt, true +} + +// HasSyncFinishedAt returns a boolean if a field has been set. +func (o *TerraformPackageUploadResponse) HasSyncFinishedAt() bool { + if o != nil && !isNil(o.SyncFinishedAt) { + return true + } + + return false +} + +// SetSyncFinishedAt gets a reference to the given time.Time and assigns it to the SyncFinishedAt field. +func (o *TerraformPackageUploadResponse) SetSyncFinishedAt(v time.Time) { + o.SyncFinishedAt = &v +} + +// GetSyncProgress returns the SyncProgress field value if set, zero value otherwise. +func (o *TerraformPackageUploadResponse) GetSyncProgress() int64 { + if o == nil || isNil(o.SyncProgress) { + var ret int64 + return ret + } + return *o.SyncProgress +} + +// GetSyncProgressOk returns a tuple with the SyncProgress field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *TerraformPackageUploadResponse) GetSyncProgressOk() (*int64, bool) { + if o == nil || isNil(o.SyncProgress) { + return nil, false + } + return o.SyncProgress, true +} + +// HasSyncProgress returns a boolean if a field has been set. +func (o *TerraformPackageUploadResponse) HasSyncProgress() bool { + if o != nil && !isNil(o.SyncProgress) { + return true + } + + return false +} + +// SetSyncProgress gets a reference to the given int64 and assigns it to the SyncProgress field. +func (o *TerraformPackageUploadResponse) SetSyncProgress(v int64) { + o.SyncProgress = &v +} + +// GetTagsImmutable returns the TagsImmutable field value if set, zero value otherwise. +func (o *TerraformPackageUploadResponse) GetTagsImmutable() map[string]interface{} { + if o == nil || isNil(o.TagsImmutable) { + var ret map[string]interface{} + return ret + } + return o.TagsImmutable +} + +// GetTagsImmutableOk returns a tuple with the TagsImmutable field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *TerraformPackageUploadResponse) GetTagsImmutableOk() (map[string]interface{}, bool) { + if o == nil || isNil(o.TagsImmutable) { + return map[string]interface{}{}, false + } + return o.TagsImmutable, true +} + +// HasTagsImmutable returns a boolean if a field has been set. +func (o *TerraformPackageUploadResponse) HasTagsImmutable() bool { + if o != nil && !isNil(o.TagsImmutable) { + return true + } + + return false +} + +// SetTagsImmutable gets a reference to the given map[string]interface{} and assigns it to the TagsImmutable field. +func (o *TerraformPackageUploadResponse) SetTagsImmutable(v map[string]interface{}) { + o.TagsImmutable = v +} + +// GetTypeDisplay returns the TypeDisplay field value if set, zero value otherwise. +func (o *TerraformPackageUploadResponse) GetTypeDisplay() string { + if o == nil || isNil(o.TypeDisplay) { + var ret string + return ret + } + return *o.TypeDisplay +} + +// GetTypeDisplayOk returns a tuple with the TypeDisplay field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *TerraformPackageUploadResponse) GetTypeDisplayOk() (*string, bool) { + if o == nil || isNil(o.TypeDisplay) { + return nil, false + } + return o.TypeDisplay, true +} + +// HasTypeDisplay returns a boolean if a field has been set. +func (o *TerraformPackageUploadResponse) HasTypeDisplay() bool { + if o != nil && !isNil(o.TypeDisplay) { + return true + } + + return false +} + +// SetTypeDisplay gets a reference to the given string and assigns it to the TypeDisplay field. +func (o *TerraformPackageUploadResponse) SetTypeDisplay(v string) { + o.TypeDisplay = &v +} + +// GetUploadedAt returns the UploadedAt field value if set, zero value otherwise. +func (o *TerraformPackageUploadResponse) GetUploadedAt() time.Time { + if o == nil || isNil(o.UploadedAt) { + var ret time.Time + return ret + } + return *o.UploadedAt +} + +// GetUploadedAtOk returns a tuple with the UploadedAt field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *TerraformPackageUploadResponse) GetUploadedAtOk() (*time.Time, bool) { + if o == nil || isNil(o.UploadedAt) { + return nil, false + } + return o.UploadedAt, true +} + +// HasUploadedAt returns a boolean if a field has been set. +func (o *TerraformPackageUploadResponse) HasUploadedAt() bool { + if o != nil && !isNil(o.UploadedAt) { + return true + } + + return false +} + +// SetUploadedAt gets a reference to the given time.Time and assigns it to the UploadedAt field. +func (o *TerraformPackageUploadResponse) SetUploadedAt(v time.Time) { + o.UploadedAt = &v +} + +// GetUploader returns the Uploader field value if set, zero value otherwise. +func (o *TerraformPackageUploadResponse) GetUploader() string { + if o == nil || isNil(o.Uploader) { + var ret string + return ret + } + return *o.Uploader +} + +// GetUploaderOk returns a tuple with the Uploader field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *TerraformPackageUploadResponse) GetUploaderOk() (*string, bool) { + if o == nil || isNil(o.Uploader) { + return nil, false + } + return o.Uploader, true +} + +// HasUploader returns a boolean if a field has been set. +func (o *TerraformPackageUploadResponse) HasUploader() bool { + if o != nil && !isNil(o.Uploader) { + return true + } + + return false +} + +// SetUploader gets a reference to the given string and assigns it to the Uploader field. +func (o *TerraformPackageUploadResponse) SetUploader(v string) { + o.Uploader = &v +} + +// GetUploaderUrl returns the UploaderUrl field value if set, zero value otherwise. +func (o *TerraformPackageUploadResponse) GetUploaderUrl() string { + if o == nil || isNil(o.UploaderUrl) { + var ret string + return ret + } + return *o.UploaderUrl +} + +// GetUploaderUrlOk returns a tuple with the UploaderUrl field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *TerraformPackageUploadResponse) GetUploaderUrlOk() (*string, bool) { + if o == nil || isNil(o.UploaderUrl) { + return nil, false + } + return o.UploaderUrl, true +} + +// HasUploaderUrl returns a boolean if a field has been set. +func (o *TerraformPackageUploadResponse) HasUploaderUrl() bool { + if o != nil && !isNil(o.UploaderUrl) { + return true + } + + return false +} + +// SetUploaderUrl gets a reference to the given string and assigns it to the UploaderUrl field. +func (o *TerraformPackageUploadResponse) SetUploaderUrl(v string) { + o.UploaderUrl = &v +} + +// GetVersion returns the Version field value if set, zero value otherwise. +func (o *TerraformPackageUploadResponse) GetVersion() string { + if o == nil || isNil(o.Version) { + var ret string + return ret + } + return *o.Version +} + +// GetVersionOk returns a tuple with the Version field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *TerraformPackageUploadResponse) GetVersionOk() (*string, bool) { + if o == nil || isNil(o.Version) { + return nil, false + } + return o.Version, true +} + +// HasVersion returns a boolean if a field has been set. +func (o *TerraformPackageUploadResponse) HasVersion() bool { + if o != nil && !isNil(o.Version) { + return true + } + + return false +} + +// SetVersion gets a reference to the given string and assigns it to the Version field. +func (o *TerraformPackageUploadResponse) SetVersion(v string) { + o.Version = &v +} + +// GetVersionOrig returns the VersionOrig field value if set, zero value otherwise. +func (o *TerraformPackageUploadResponse) GetVersionOrig() string { + if o == nil || isNil(o.VersionOrig) { + var ret string + return ret + } + return *o.VersionOrig +} + +// GetVersionOrigOk returns a tuple with the VersionOrig field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *TerraformPackageUploadResponse) GetVersionOrigOk() (*string, bool) { + if o == nil || isNil(o.VersionOrig) { + return nil, false + } + return o.VersionOrig, true +} + +// HasVersionOrig returns a boolean if a field has been set. +func (o *TerraformPackageUploadResponse) HasVersionOrig() bool { + if o != nil && !isNil(o.VersionOrig) { + return true + } + + return false +} + +// SetVersionOrig gets a reference to the given string and assigns it to the VersionOrig field. +func (o *TerraformPackageUploadResponse) SetVersionOrig(v string) { + o.VersionOrig = &v +} + +// GetVulnerabilityScanResultsUrl returns the VulnerabilityScanResultsUrl field value if set, zero value otherwise. +func (o *TerraformPackageUploadResponse) GetVulnerabilityScanResultsUrl() string { + if o == nil || isNil(o.VulnerabilityScanResultsUrl) { + var ret string + return ret + } + return *o.VulnerabilityScanResultsUrl +} + +// GetVulnerabilityScanResultsUrlOk returns a tuple with the VulnerabilityScanResultsUrl field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *TerraformPackageUploadResponse) GetVulnerabilityScanResultsUrlOk() (*string, bool) { + if o == nil || isNil(o.VulnerabilityScanResultsUrl) { + return nil, false + } + return o.VulnerabilityScanResultsUrl, true +} + +// HasVulnerabilityScanResultsUrl returns a boolean if a field has been set. +func (o *TerraformPackageUploadResponse) HasVulnerabilityScanResultsUrl() bool { + if o != nil && !isNil(o.VulnerabilityScanResultsUrl) { + return true + } + + return false +} + +// SetVulnerabilityScanResultsUrl gets a reference to the given string and assigns it to the VulnerabilityScanResultsUrl field. +func (o *TerraformPackageUploadResponse) SetVulnerabilityScanResultsUrl(v string) { + o.VulnerabilityScanResultsUrl = &v +} + +func (o TerraformPackageUploadResponse) MarshalJSON() ([]byte, error) { + toSerialize := map[string]interface{}{} + if !isNil(o.Architectures) { + toSerialize["architectures"] = o.Architectures + } + if o.CdnUrl.IsSet() { + toSerialize["cdn_url"] = o.CdnUrl.Get() + } + if !isNil(o.ChecksumMd5) { + toSerialize["checksum_md5"] = o.ChecksumMd5 + } + if !isNil(o.ChecksumSha1) { + toSerialize["checksum_sha1"] = o.ChecksumSha1 + } + if !isNil(o.ChecksumSha256) { + toSerialize["checksum_sha256"] = o.ChecksumSha256 + } + if !isNil(o.ChecksumSha512) { + toSerialize["checksum_sha512"] = o.ChecksumSha512 + } + if !isNil(o.DependenciesChecksumMd5) { + toSerialize["dependencies_checksum_md5"] = o.DependenciesChecksumMd5 + } + if !isNil(o.DependenciesUrl) { + toSerialize["dependencies_url"] = o.DependenciesUrl + } + if !isNil(o.Description) { + toSerialize["description"] = o.Description + } + if o.Distro.IsSet() { + toSerialize["distro"] = o.Distro.Get() + } + if !isNil(o.DistroVersion) { + toSerialize["distro_version"] = o.DistroVersion + } + if !isNil(o.Downloads) { + toSerialize["downloads"] = o.Downloads + } + if !isNil(o.Epoch) { + toSerialize["epoch"] = o.Epoch + } + if !isNil(o.Extension) { + toSerialize["extension"] = o.Extension + } + if !isNil(o.Filename) { + toSerialize["filename"] = o.Filename + } + if !isNil(o.Files) { + toSerialize["files"] = o.Files + } + if !isNil(o.Format) { + toSerialize["format"] = o.Format + } + if !isNil(o.FormatUrl) { + toSerialize["format_url"] = o.FormatUrl + } + if !isNil(o.IdentifierPerm) { + toSerialize["identifier_perm"] = o.IdentifierPerm + } + if !isNil(o.Indexed) { + toSerialize["indexed"] = o.Indexed + } + if !isNil(o.IsDownloadable) { + toSerialize["is_downloadable"] = o.IsDownloadable + } + if !isNil(o.IsQuarantined) { + toSerialize["is_quarantined"] = o.IsQuarantined + } + if !isNil(o.IsSyncAwaiting) { + toSerialize["is_sync_awaiting"] = o.IsSyncAwaiting + } + if !isNil(o.IsSyncCompleted) { + toSerialize["is_sync_completed"] = o.IsSyncCompleted + } + if !isNil(o.IsSyncFailed) { + toSerialize["is_sync_failed"] = o.IsSyncFailed + } + if !isNil(o.IsSyncInFlight) { + toSerialize["is_sync_in_flight"] = o.IsSyncInFlight + } + if !isNil(o.IsSyncInProgress) { + toSerialize["is_sync_in_progress"] = o.IsSyncInProgress + } + if !isNil(o.License) { + toSerialize["license"] = o.License + } + if !isNil(o.Name) { + toSerialize["name"] = o.Name + } + if !isNil(o.Namespace) { + toSerialize["namespace"] = o.Namespace + } + if !isNil(o.NamespaceUrl) { + toSerialize["namespace_url"] = o.NamespaceUrl + } + if !isNil(o.NumFiles) { + toSerialize["num_files"] = o.NumFiles + } + if !isNil(o.OriginRepository) { + toSerialize["origin_repository"] = o.OriginRepository + } + if !isNil(o.OriginRepositoryUrl) { + toSerialize["origin_repository_url"] = o.OriginRepositoryUrl + } + if !isNil(o.PackageType) { + toSerialize["package_type"] = o.PackageType + } + if !isNil(o.Release) { + toSerialize["release"] = o.Release + } + if !isNil(o.Repository) { + toSerialize["repository"] = o.Repository + } + if !isNil(o.RepositoryUrl) { + toSerialize["repository_url"] = o.RepositoryUrl + } + if !isNil(o.SecurityScanCompletedAt) { + toSerialize["security_scan_completed_at"] = o.SecurityScanCompletedAt + } + if !isNil(o.SecurityScanStartedAt) { + toSerialize["security_scan_started_at"] = o.SecurityScanStartedAt + } + if o.SecurityScanStatus.IsSet() { + toSerialize["security_scan_status"] = o.SecurityScanStatus.Get() + } + if !isNil(o.SecurityScanStatusUpdatedAt) { + toSerialize["security_scan_status_updated_at"] = o.SecurityScanStatusUpdatedAt + } + if !isNil(o.SelfHtmlUrl) { + toSerialize["self_html_url"] = o.SelfHtmlUrl + } + if !isNil(o.SelfUrl) { + toSerialize["self_url"] = o.SelfUrl + } + if o.SignatureUrl.IsSet() { + toSerialize["signature_url"] = o.SignatureUrl.Get() + } + if !isNil(o.Size) { + toSerialize["size"] = o.Size + } + if !isNil(o.Slug) { + toSerialize["slug"] = o.Slug + } + if !isNil(o.SlugPerm) { + toSerialize["slug_perm"] = o.SlugPerm + } + if !isNil(o.Stage) { + toSerialize["stage"] = o.Stage + } + if !isNil(o.StageStr) { + toSerialize["stage_str"] = o.StageStr + } + if !isNil(o.StageUpdatedAt) { + toSerialize["stage_updated_at"] = o.StageUpdatedAt + } + if !isNil(o.Status) { + toSerialize["status"] = o.Status + } + if !isNil(o.StatusReason) { + toSerialize["status_reason"] = o.StatusReason + } + if !isNil(o.StatusStr) { + toSerialize["status_str"] = o.StatusStr + } + if !isNil(o.StatusUpdatedAt) { + toSerialize["status_updated_at"] = o.StatusUpdatedAt + } + if !isNil(o.StatusUrl) { + toSerialize["status_url"] = o.StatusUrl + } + if !isNil(o.Subtype) { + toSerialize["subtype"] = o.Subtype + } + if !isNil(o.Summary) { + toSerialize["summary"] = o.Summary + } + if !isNil(o.SyncFinishedAt) { + toSerialize["sync_finished_at"] = o.SyncFinishedAt + } + if !isNil(o.SyncProgress) { + toSerialize["sync_progress"] = o.SyncProgress + } + if !isNil(o.TagsImmutable) { + toSerialize["tags_immutable"] = o.TagsImmutable + } + if !isNil(o.TypeDisplay) { + toSerialize["type_display"] = o.TypeDisplay + } + if !isNil(o.UploadedAt) { + toSerialize["uploaded_at"] = o.UploadedAt + } + if !isNil(o.Uploader) { + toSerialize["uploader"] = o.Uploader + } + if !isNil(o.UploaderUrl) { + toSerialize["uploader_url"] = o.UploaderUrl + } + if !isNil(o.Version) { + toSerialize["version"] = o.Version + } + if !isNil(o.VersionOrig) { + toSerialize["version_orig"] = o.VersionOrig + } + if !isNil(o.VulnerabilityScanResultsUrl) { + toSerialize["vulnerability_scan_results_url"] = o.VulnerabilityScanResultsUrl + } + return json.Marshal(toSerialize) +} + +type NullableTerraformPackageUploadResponse struct { + value *TerraformPackageUploadResponse + isSet bool +} + +func (v NullableTerraformPackageUploadResponse) Get() *TerraformPackageUploadResponse { + return v.value +} + +func (v *NullableTerraformPackageUploadResponse) Set(val *TerraformPackageUploadResponse) { + v.value = val + v.isSet = true +} + +func (v NullableTerraformPackageUploadResponse) IsSet() bool { + return v.isSet +} + +func (v *NullableTerraformPackageUploadResponse) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableTerraformPackageUploadResponse(val *TerraformPackageUploadResponse) *NullableTerraformPackageUploadResponse { + return &NullableTerraformPackageUploadResponse{value: val, isSet: true} +} + +func (v NullableTerraformPackageUploadResponse) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableTerraformPackageUploadResponse) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} diff --git a/model_usage.go b/model_usage.go new file mode 100644 index 00000000..80c82bcb --- /dev/null +++ b/model_usage.go @@ -0,0 +1,186 @@ +/* +Cloudsmith API (v1) + +The API to the Cloudsmith Service + +API version: 1.181.6 +Contact: support@cloudsmith.io +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cloudsmith + +import ( + "encoding/json" +) + +// Usage struct for Usage +type Usage struct { + Limit *string `json:"limit,omitempty"` + Percentage *string `json:"percentage,omitempty"` + Used *string `json:"used,omitempty"` +} + +// NewUsage instantiates a new Usage object +// 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 NewUsage() *Usage { + this := Usage{} + return &this +} + +// NewUsageWithDefaults instantiates a new Usage object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewUsageWithDefaults() *Usage { + this := Usage{} + return &this +} + +// GetLimit returns the Limit field value if set, zero value otherwise. +func (o *Usage) GetLimit() string { + if o == nil || isNil(o.Limit) { + var ret string + return ret + } + return *o.Limit +} + +// GetLimitOk returns a tuple with the Limit field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *Usage) GetLimitOk() (*string, bool) { + if o == nil || isNil(o.Limit) { + return nil, false + } + return o.Limit, true +} + +// HasLimit returns a boolean if a field has been set. +func (o *Usage) HasLimit() bool { + if o != nil && !isNil(o.Limit) { + return true + } + + return false +} + +// SetLimit gets a reference to the given string and assigns it to the Limit field. +func (o *Usage) SetLimit(v string) { + o.Limit = &v +} + +// GetPercentage returns the Percentage field value if set, zero value otherwise. +func (o *Usage) GetPercentage() string { + if o == nil || isNil(o.Percentage) { + var ret string + return ret + } + return *o.Percentage +} + +// GetPercentageOk returns a tuple with the Percentage field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *Usage) GetPercentageOk() (*string, bool) { + if o == nil || isNil(o.Percentage) { + return nil, false + } + return o.Percentage, true +} + +// HasPercentage returns a boolean if a field has been set. +func (o *Usage) HasPercentage() bool { + if o != nil && !isNil(o.Percentage) { + return true + } + + return false +} + +// SetPercentage gets a reference to the given string and assigns it to the Percentage field. +func (o *Usage) SetPercentage(v string) { + o.Percentage = &v +} + +// GetUsed returns the Used field value if set, zero value otherwise. +func (o *Usage) GetUsed() string { + if o == nil || isNil(o.Used) { + var ret string + return ret + } + return *o.Used +} + +// GetUsedOk returns a tuple with the Used field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *Usage) GetUsedOk() (*string, bool) { + if o == nil || isNil(o.Used) { + return nil, false + } + return o.Used, true +} + +// HasUsed returns a boolean if a field has been set. +func (o *Usage) HasUsed() bool { + if o != nil && !isNil(o.Used) { + return true + } + + return false +} + +// SetUsed gets a reference to the given string and assigns it to the Used field. +func (o *Usage) SetUsed(v string) { + o.Used = &v +} + +func (o Usage) MarshalJSON() ([]byte, error) { + toSerialize := map[string]interface{}{} + if !isNil(o.Limit) { + toSerialize["limit"] = o.Limit + } + if !isNil(o.Percentage) { + toSerialize["percentage"] = o.Percentage + } + if !isNil(o.Used) { + toSerialize["used"] = o.Used + } + return json.Marshal(toSerialize) +} + +type NullableUsage struct { + value *Usage + isSet bool +} + +func (v NullableUsage) Get() *Usage { + return v.value +} + +func (v *NullableUsage) Set(val *Usage) { + v.value = val + v.isSet = true +} + +func (v NullableUsage) IsSet() bool { + return v.isSet +} + +func (v *NullableUsage) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableUsage(val *Usage) *NullableUsage { + return &NullableUsage{value: val, isSet: true} +} + +func (v NullableUsage) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableUsage) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} diff --git a/model_usage_fieldset.go b/model_usage_fieldset.go new file mode 100644 index 00000000..e716b9e5 --- /dev/null +++ b/model_usage_fieldset.go @@ -0,0 +1,136 @@ +/* +Cloudsmith API (v1) + +The API to the Cloudsmith Service + +API version: 1.181.6 +Contact: support@cloudsmith.io +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cloudsmith + +import ( + "encoding/json" +) + +// UsageFieldset struct for UsageFieldset +type UsageFieldset struct { + Display UsageLimits `json:"display"` + Raw UsageLimits `json:"raw"` +} + +// NewUsageFieldset instantiates a new UsageFieldset object +// 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 NewUsageFieldset(display UsageLimits, raw UsageLimits) *UsageFieldset { + this := UsageFieldset{} + this.Display = display + this.Raw = raw + return &this +} + +// NewUsageFieldsetWithDefaults instantiates a new UsageFieldset object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewUsageFieldsetWithDefaults() *UsageFieldset { + this := UsageFieldset{} + return &this +} + +// GetDisplay returns the Display field value +func (o *UsageFieldset) GetDisplay() UsageLimits { + if o == nil { + var ret UsageLimits + return ret + } + + return o.Display +} + +// GetDisplayOk returns a tuple with the Display field value +// and a boolean to check if the value has been set. +func (o *UsageFieldset) GetDisplayOk() (*UsageLimits, bool) { + if o == nil { + return nil, false + } + return &o.Display, true +} + +// SetDisplay sets field value +func (o *UsageFieldset) SetDisplay(v UsageLimits) { + o.Display = v +} + +// GetRaw returns the Raw field value +func (o *UsageFieldset) GetRaw() UsageLimits { + if o == nil { + var ret UsageLimits + return ret + } + + return o.Raw +} + +// GetRawOk returns a tuple with the Raw field value +// and a boolean to check if the value has been set. +func (o *UsageFieldset) GetRawOk() (*UsageLimits, bool) { + if o == nil { + return nil, false + } + return &o.Raw, true +} + +// SetRaw sets field value +func (o *UsageFieldset) SetRaw(v UsageLimits) { + o.Raw = v +} + +func (o UsageFieldset) MarshalJSON() ([]byte, error) { + toSerialize := map[string]interface{}{} + if true { + toSerialize["display"] = o.Display + } + if true { + toSerialize["raw"] = o.Raw + } + return json.Marshal(toSerialize) +} + +type NullableUsageFieldset struct { + value *UsageFieldset + isSet bool +} + +func (v NullableUsageFieldset) Get() *UsageFieldset { + return v.value +} + +func (v *NullableUsageFieldset) Set(val *UsageFieldset) { + v.value = val + v.isSet = true +} + +func (v NullableUsageFieldset) IsSet() bool { + return v.isSet +} + +func (v *NullableUsageFieldset) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableUsageFieldset(val *UsageFieldset) *NullableUsageFieldset { + return &NullableUsageFieldset{value: val, isSet: true} +} + +func (v NullableUsageFieldset) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableUsageFieldset) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} diff --git a/model_usage_limits.go b/model_usage_limits.go new file mode 100644 index 00000000..eea44c9c --- /dev/null +++ b/model_usage_limits.go @@ -0,0 +1,136 @@ +/* +Cloudsmith API (v1) + +The API to the Cloudsmith Service + +API version: 1.181.6 +Contact: support@cloudsmith.io +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cloudsmith + +import ( + "encoding/json" +) + +// UsageLimits struct for UsageLimits +type UsageLimits struct { + Bandwidth AllocatedLimit `json:"bandwidth"` + Storage AllocatedLimit `json:"storage"` +} + +// NewUsageLimits instantiates a new UsageLimits object +// 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 NewUsageLimits(bandwidth AllocatedLimit, storage AllocatedLimit) *UsageLimits { + this := UsageLimits{} + this.Bandwidth = bandwidth + this.Storage = storage + return &this +} + +// NewUsageLimitsWithDefaults instantiates a new UsageLimits object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewUsageLimitsWithDefaults() *UsageLimits { + this := UsageLimits{} + return &this +} + +// GetBandwidth returns the Bandwidth field value +func (o *UsageLimits) GetBandwidth() AllocatedLimit { + if o == nil { + var ret AllocatedLimit + return ret + } + + return o.Bandwidth +} + +// GetBandwidthOk returns a tuple with the Bandwidth field value +// and a boolean to check if the value has been set. +func (o *UsageLimits) GetBandwidthOk() (*AllocatedLimit, bool) { + if o == nil { + return nil, false + } + return &o.Bandwidth, true +} + +// SetBandwidth sets field value +func (o *UsageLimits) SetBandwidth(v AllocatedLimit) { + o.Bandwidth = v +} + +// GetStorage returns the Storage field value +func (o *UsageLimits) GetStorage() AllocatedLimit { + if o == nil { + var ret AllocatedLimit + return ret + } + + return o.Storage +} + +// GetStorageOk returns a tuple with the Storage field value +// and a boolean to check if the value has been set. +func (o *UsageLimits) GetStorageOk() (*AllocatedLimit, bool) { + if o == nil { + return nil, false + } + return &o.Storage, true +} + +// SetStorage sets field value +func (o *UsageLimits) SetStorage(v AllocatedLimit) { + o.Storage = v +} + +func (o UsageLimits) MarshalJSON() ([]byte, error) { + toSerialize := map[string]interface{}{} + if true { + toSerialize["bandwidth"] = o.Bandwidth + } + if true { + toSerialize["storage"] = o.Storage + } + return json.Marshal(toSerialize) +} + +type NullableUsageLimits struct { + value *UsageLimits + isSet bool +} + +func (v NullableUsageLimits) Get() *UsageLimits { + return v.value +} + +func (v *NullableUsageLimits) Set(val *UsageLimits) { + v.value = val + v.isSet = true +} + +func (v NullableUsageLimits) IsSet() bool { + return v.isSet +} + +func (v *NullableUsageLimits) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableUsageLimits(val *UsageLimits) *NullableUsageLimits { + return &NullableUsageLimits{value: val, isSet: true} +} + +func (v NullableUsageLimits) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableUsageLimits) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} diff --git a/model_user_token_create.go b/model_user_auth_token_request.go similarity index 54% rename from model_user_token_create.go rename to model_user_auth_token_request.go index cd1ad0e6..f8b5d741 100644 --- a/model_user_token_create.go +++ b/model_user_auth_token_request.go @@ -1,9 +1,9 @@ /* -Cloudsmith API +Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.121.3 +API version: 1.181.6 Contact: support@cloudsmith.io */ @@ -15,34 +15,34 @@ import ( "encoding/json" ) -// UserTokenCreate struct for UserTokenCreate -type UserTokenCreate struct { +// UserAuthTokenRequest struct for UserAuthTokenRequest +type UserAuthTokenRequest struct { // Email address to authenticate with Email *string `json:"email,omitempty"` // Password to authenticate with Password *string `json:"password,omitempty"` } -// NewUserTokenCreate instantiates a new UserTokenCreate object +// NewUserAuthTokenRequest instantiates a new UserAuthTokenRequest object // 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 NewUserTokenCreate() *UserTokenCreate { - this := UserTokenCreate{} +func NewUserAuthTokenRequest() *UserAuthTokenRequest { + this := UserAuthTokenRequest{} return &this } -// NewUserTokenCreateWithDefaults instantiates a new UserTokenCreate object +// NewUserAuthTokenRequestWithDefaults instantiates a new UserAuthTokenRequest object // This constructor will only assign default values to properties that have it defined, // but it doesn't guarantee that properties required by API are set -func NewUserTokenCreateWithDefaults() *UserTokenCreate { - this := UserTokenCreate{} +func NewUserAuthTokenRequestWithDefaults() *UserAuthTokenRequest { + this := UserAuthTokenRequest{} return &this } // GetEmail returns the Email field value if set, zero value otherwise. -func (o *UserTokenCreate) GetEmail() string { - if o == nil || o.Email == nil { +func (o *UserAuthTokenRequest) GetEmail() string { + if o == nil || isNil(o.Email) { var ret string return ret } @@ -51,16 +51,16 @@ func (o *UserTokenCreate) GetEmail() string { // GetEmailOk returns a tuple with the Email field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *UserTokenCreate) GetEmailOk() (*string, bool) { - if o == nil || o.Email == nil { +func (o *UserAuthTokenRequest) GetEmailOk() (*string, bool) { + if o == nil || isNil(o.Email) { return nil, false } return o.Email, true } // HasEmail returns a boolean if a field has been set. -func (o *UserTokenCreate) HasEmail() bool { - if o != nil && o.Email != nil { +func (o *UserAuthTokenRequest) HasEmail() bool { + if o != nil && !isNil(o.Email) { return true } @@ -68,13 +68,13 @@ func (o *UserTokenCreate) HasEmail() bool { } // SetEmail gets a reference to the given string and assigns it to the Email field. -func (o *UserTokenCreate) SetEmail(v string) { +func (o *UserAuthTokenRequest) SetEmail(v string) { o.Email = &v } // GetPassword returns the Password field value if set, zero value otherwise. -func (o *UserTokenCreate) GetPassword() string { - if o == nil || o.Password == nil { +func (o *UserAuthTokenRequest) GetPassword() string { + if o == nil || isNil(o.Password) { var ret string return ret } @@ -83,16 +83,16 @@ func (o *UserTokenCreate) GetPassword() string { // GetPasswordOk returns a tuple with the Password field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *UserTokenCreate) GetPasswordOk() (*string, bool) { - if o == nil || o.Password == nil { +func (o *UserAuthTokenRequest) GetPasswordOk() (*string, bool) { + if o == nil || isNil(o.Password) { return nil, false } return o.Password, true } // HasPassword returns a boolean if a field has been set. -func (o *UserTokenCreate) HasPassword() bool { - if o != nil && o.Password != nil { +func (o *UserAuthTokenRequest) HasPassword() bool { + if o != nil && !isNil(o.Password) { return true } @@ -100,53 +100,53 @@ func (o *UserTokenCreate) HasPassword() bool { } // SetPassword gets a reference to the given string and assigns it to the Password field. -func (o *UserTokenCreate) SetPassword(v string) { +func (o *UserAuthTokenRequest) SetPassword(v string) { o.Password = &v } -func (o UserTokenCreate) MarshalJSON() ([]byte, error) { +func (o UserAuthTokenRequest) MarshalJSON() ([]byte, error) { toSerialize := map[string]interface{}{} - if o.Email != nil { + if !isNil(o.Email) { toSerialize["email"] = o.Email } - if o.Password != nil { + if !isNil(o.Password) { toSerialize["password"] = o.Password } return json.Marshal(toSerialize) } -type NullableUserTokenCreate struct { - value *UserTokenCreate +type NullableUserAuthTokenRequest struct { + value *UserAuthTokenRequest isSet bool } -func (v NullableUserTokenCreate) Get() *UserTokenCreate { +func (v NullableUserAuthTokenRequest) Get() *UserAuthTokenRequest { return v.value } -func (v *NullableUserTokenCreate) Set(val *UserTokenCreate) { +func (v *NullableUserAuthTokenRequest) Set(val *UserAuthTokenRequest) { v.value = val v.isSet = true } -func (v NullableUserTokenCreate) IsSet() bool { +func (v NullableUserAuthTokenRequest) IsSet() bool { return v.isSet } -func (v *NullableUserTokenCreate) Unset() { +func (v *NullableUserAuthTokenRequest) Unset() { v.value = nil v.isSet = false } -func NewNullableUserTokenCreate(val *UserTokenCreate) *NullableUserTokenCreate { - return &NullableUserTokenCreate{value: val, isSet: true} +func NewNullableUserAuthTokenRequest(val *UserAuthTokenRequest) *NullableUserAuthTokenRequest { + return &NullableUserAuthTokenRequest{value: val, isSet: true} } -func (v NullableUserTokenCreate) MarshalJSON() ([]byte, error) { +func (v NullableUserAuthTokenRequest) MarshalJSON() ([]byte, error) { return json.Marshal(v.value) } -func (v *NullableUserTokenCreate) UnmarshalJSON(src []byte) error { +func (v *NullableUserAuthTokenRequest) UnmarshalJSON(src []byte) error { v.isSet = true return json.Unmarshal(src, &v.value) } diff --git a/model_user_auth_token.go b/model_user_auth_token_response.go similarity index 50% rename from model_user_auth_token.go rename to model_user_auth_token_response.go index 68a7a508..b6db5060 100644 --- a/model_user_auth_token.go +++ b/model_user_auth_token_response.go @@ -1,9 +1,9 @@ /* -Cloudsmith API +Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.121.3 +API version: 1.181.6 Contact: support@cloudsmith.io */ @@ -15,32 +15,32 @@ import ( "encoding/json" ) -// UserAuthToken struct for UserAuthToken -type UserAuthToken struct { +// UserAuthTokenResponse struct for UserAuthTokenResponse +type UserAuthTokenResponse struct { // API token for the authenticated user Token *string `json:"token,omitempty"` } -// NewUserAuthToken instantiates a new UserAuthToken object +// NewUserAuthTokenResponse instantiates a new UserAuthTokenResponse object // 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 NewUserAuthToken() *UserAuthToken { - this := UserAuthToken{} +func NewUserAuthTokenResponse() *UserAuthTokenResponse { + this := UserAuthTokenResponse{} return &this } -// NewUserAuthTokenWithDefaults instantiates a new UserAuthToken object +// NewUserAuthTokenResponseWithDefaults instantiates a new UserAuthTokenResponse object // This constructor will only assign default values to properties that have it defined, // but it doesn't guarantee that properties required by API are set -func NewUserAuthTokenWithDefaults() *UserAuthToken { - this := UserAuthToken{} +func NewUserAuthTokenResponseWithDefaults() *UserAuthTokenResponse { + this := UserAuthTokenResponse{} return &this } // GetToken returns the Token field value if set, zero value otherwise. -func (o *UserAuthToken) GetToken() string { - if o == nil || o.Token == nil { +func (o *UserAuthTokenResponse) GetToken() string { + if o == nil || isNil(o.Token) { var ret string return ret } @@ -49,16 +49,16 @@ func (o *UserAuthToken) GetToken() string { // GetTokenOk returns a tuple with the Token field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *UserAuthToken) GetTokenOk() (*string, bool) { - if o == nil || o.Token == nil { +func (o *UserAuthTokenResponse) GetTokenOk() (*string, bool) { + if o == nil || isNil(o.Token) { return nil, false } return o.Token, true } // HasToken returns a boolean if a field has been set. -func (o *UserAuthToken) HasToken() bool { - if o != nil && o.Token != nil { +func (o *UserAuthTokenResponse) HasToken() bool { + if o != nil && !isNil(o.Token) { return true } @@ -66,50 +66,50 @@ func (o *UserAuthToken) HasToken() bool { } // SetToken gets a reference to the given string and assigns it to the Token field. -func (o *UserAuthToken) SetToken(v string) { +func (o *UserAuthTokenResponse) SetToken(v string) { o.Token = &v } -func (o UserAuthToken) MarshalJSON() ([]byte, error) { +func (o UserAuthTokenResponse) MarshalJSON() ([]byte, error) { toSerialize := map[string]interface{}{} - if o.Token != nil { + if !isNil(o.Token) { toSerialize["token"] = o.Token } return json.Marshal(toSerialize) } -type NullableUserAuthToken struct { - value *UserAuthToken +type NullableUserAuthTokenResponse struct { + value *UserAuthTokenResponse isSet bool } -func (v NullableUserAuthToken) Get() *UserAuthToken { +func (v NullableUserAuthTokenResponse) Get() *UserAuthTokenResponse { return v.value } -func (v *NullableUserAuthToken) Set(val *UserAuthToken) { +func (v *NullableUserAuthTokenResponse) Set(val *UserAuthTokenResponse) { v.value = val v.isSet = true } -func (v NullableUserAuthToken) IsSet() bool { +func (v NullableUserAuthTokenResponse) IsSet() bool { return v.isSet } -func (v *NullableUserAuthToken) Unset() { +func (v *NullableUserAuthTokenResponse) Unset() { v.value = nil v.isSet = false } -func NewNullableUserAuthToken(val *UserAuthToken) *NullableUserAuthToken { - return &NullableUserAuthToken{value: val, isSet: true} +func NewNullableUserAuthTokenResponse(val *UserAuthTokenResponse) *NullableUserAuthTokenResponse { + return &NullableUserAuthTokenResponse{value: val, isSet: true} } -func (v NullableUserAuthToken) MarshalJSON() ([]byte, error) { +func (v NullableUserAuthTokenResponse) MarshalJSON() ([]byte, error) { return json.Marshal(v.value) } -func (v *NullableUserAuthToken) UnmarshalJSON(src []byte) error { +func (v *NullableUserAuthTokenResponse) UnmarshalJSON(src []byte) error { v.isSet = true return json.Unmarshal(src, &v.value) } diff --git a/model_user_brief.go b/model_user_brief.go deleted file mode 100644 index d2b0cb6d..00000000 --- a/model_user_brief.go +++ /dev/null @@ -1,337 +0,0 @@ -/* -Cloudsmith API - -The API to the Cloudsmith Service - -API version: 1.121.3 -Contact: support@cloudsmith.io -*/ - -// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. - -package cloudsmith - -import ( - "encoding/json" -) - -// UserBrief struct for UserBrief -type UserBrief struct { - // If true then you're logged in as a user. - Authenticated *bool `json:"authenticated,omitempty"` - // Your email address that we use to contact you. This is only visible to you. - Email *string `json:"email,omitempty"` - // The full name of the user (if any). - Name *string `json:"name,omitempty"` - // The URL for the full profile of the user. - ProfileUrl *string `json:"profile_url,omitempty"` - // - SelfUrl *string `json:"self_url,omitempty"` - // - Slug *string `json:"slug,omitempty"` - // - SlugPerm *string `json:"slug_perm,omitempty"` -} - -// NewUserBrief instantiates a new UserBrief object -// 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 NewUserBrief() *UserBrief { - this := UserBrief{} - return &this -} - -// NewUserBriefWithDefaults instantiates a new UserBrief object -// This constructor will only assign default values to properties that have it defined, -// but it doesn't guarantee that properties required by API are set -func NewUserBriefWithDefaults() *UserBrief { - this := UserBrief{} - return &this -} - -// GetAuthenticated returns the Authenticated field value if set, zero value otherwise. -func (o *UserBrief) GetAuthenticated() bool { - if o == nil || o.Authenticated == nil { - var ret bool - return ret - } - return *o.Authenticated -} - -// GetAuthenticatedOk returns a tuple with the Authenticated field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *UserBrief) GetAuthenticatedOk() (*bool, bool) { - if o == nil || o.Authenticated == nil { - return nil, false - } - return o.Authenticated, true -} - -// HasAuthenticated returns a boolean if a field has been set. -func (o *UserBrief) HasAuthenticated() bool { - if o != nil && o.Authenticated != nil { - return true - } - - return false -} - -// SetAuthenticated gets a reference to the given bool and assigns it to the Authenticated field. -func (o *UserBrief) SetAuthenticated(v bool) { - o.Authenticated = &v -} - -// GetEmail returns the Email field value if set, zero value otherwise. -func (o *UserBrief) GetEmail() string { - if o == nil || o.Email == nil { - var ret string - return ret - } - return *o.Email -} - -// GetEmailOk returns a tuple with the Email field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *UserBrief) GetEmailOk() (*string, bool) { - if o == nil || o.Email == nil { - return nil, false - } - return o.Email, true -} - -// HasEmail returns a boolean if a field has been set. -func (o *UserBrief) HasEmail() bool { - if o != nil && o.Email != nil { - return true - } - - return false -} - -// SetEmail gets a reference to the given string and assigns it to the Email field. -func (o *UserBrief) SetEmail(v string) { - o.Email = &v -} - -// GetName returns the Name field value if set, zero value otherwise. -func (o *UserBrief) GetName() string { - if o == nil || o.Name == nil { - var ret string - return ret - } - return *o.Name -} - -// GetNameOk returns a tuple with the Name field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *UserBrief) GetNameOk() (*string, bool) { - if o == nil || o.Name == nil { - return nil, false - } - return o.Name, true -} - -// HasName returns a boolean if a field has been set. -func (o *UserBrief) HasName() bool { - if o != nil && o.Name != nil { - return true - } - - return false -} - -// SetName gets a reference to the given string and assigns it to the Name field. -func (o *UserBrief) SetName(v string) { - o.Name = &v -} - -// GetProfileUrl returns the ProfileUrl field value if set, zero value otherwise. -func (o *UserBrief) GetProfileUrl() string { - if o == nil || o.ProfileUrl == nil { - var ret string - return ret - } - return *o.ProfileUrl -} - -// GetProfileUrlOk returns a tuple with the ProfileUrl field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *UserBrief) GetProfileUrlOk() (*string, bool) { - if o == nil || o.ProfileUrl == nil { - return nil, false - } - return o.ProfileUrl, true -} - -// HasProfileUrl returns a boolean if a field has been set. -func (o *UserBrief) HasProfileUrl() bool { - if o != nil && o.ProfileUrl != nil { - return true - } - - return false -} - -// SetProfileUrl gets a reference to the given string and assigns it to the ProfileUrl field. -func (o *UserBrief) SetProfileUrl(v string) { - o.ProfileUrl = &v -} - -// GetSelfUrl returns the SelfUrl field value if set, zero value otherwise. -func (o *UserBrief) GetSelfUrl() string { - if o == nil || o.SelfUrl == nil { - var ret string - return ret - } - return *o.SelfUrl -} - -// GetSelfUrlOk returns a tuple with the SelfUrl field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *UserBrief) GetSelfUrlOk() (*string, bool) { - if o == nil || o.SelfUrl == nil { - return nil, false - } - return o.SelfUrl, true -} - -// HasSelfUrl returns a boolean if a field has been set. -func (o *UserBrief) HasSelfUrl() bool { - if o != nil && o.SelfUrl != nil { - return true - } - - return false -} - -// SetSelfUrl gets a reference to the given string and assigns it to the SelfUrl field. -func (o *UserBrief) SetSelfUrl(v string) { - o.SelfUrl = &v -} - -// GetSlug returns the Slug field value if set, zero value otherwise. -func (o *UserBrief) GetSlug() string { - if o == nil || o.Slug == nil { - var ret string - return ret - } - return *o.Slug -} - -// GetSlugOk returns a tuple with the Slug field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *UserBrief) GetSlugOk() (*string, bool) { - if o == nil || o.Slug == nil { - return nil, false - } - return o.Slug, true -} - -// HasSlug returns a boolean if a field has been set. -func (o *UserBrief) HasSlug() bool { - if o != nil && o.Slug != nil { - return true - } - - return false -} - -// SetSlug gets a reference to the given string and assigns it to the Slug field. -func (o *UserBrief) SetSlug(v string) { - o.Slug = &v -} - -// GetSlugPerm returns the SlugPerm field value if set, zero value otherwise. -func (o *UserBrief) GetSlugPerm() string { - if o == nil || o.SlugPerm == nil { - var ret string - return ret - } - return *o.SlugPerm -} - -// GetSlugPermOk returns a tuple with the SlugPerm field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *UserBrief) GetSlugPermOk() (*string, bool) { - if o == nil || o.SlugPerm == nil { - return nil, false - } - return o.SlugPerm, true -} - -// HasSlugPerm returns a boolean if a field has been set. -func (o *UserBrief) HasSlugPerm() bool { - if o != nil && o.SlugPerm != nil { - return true - } - - return false -} - -// SetSlugPerm gets a reference to the given string and assigns it to the SlugPerm field. -func (o *UserBrief) SetSlugPerm(v string) { - o.SlugPerm = &v -} - -func (o UserBrief) MarshalJSON() ([]byte, error) { - toSerialize := map[string]interface{}{} - if o.Authenticated != nil { - toSerialize["authenticated"] = o.Authenticated - } - if o.Email != nil { - toSerialize["email"] = o.Email - } - if o.Name != nil { - toSerialize["name"] = o.Name - } - if o.ProfileUrl != nil { - toSerialize["profile_url"] = o.ProfileUrl - } - if o.SelfUrl != nil { - toSerialize["self_url"] = o.SelfUrl - } - if o.Slug != nil { - toSerialize["slug"] = o.Slug - } - if o.SlugPerm != nil { - toSerialize["slug_perm"] = o.SlugPerm - } - return json.Marshal(toSerialize) -} - -type NullableUserBrief struct { - value *UserBrief - isSet bool -} - -func (v NullableUserBrief) Get() *UserBrief { - return v.value -} - -func (v *NullableUserBrief) Set(val *UserBrief) { - v.value = val - v.isSet = true -} - -func (v NullableUserBrief) IsSet() bool { - return v.isSet -} - -func (v *NullableUserBrief) Unset() { - v.value = nil - v.isSet = false -} - -func NewNullableUserBrief(val *UserBrief) *NullableUserBrief { - return &NullableUserBrief{value: val, isSet: true} -} - -func (v NullableUserBrief) MarshalJSON() ([]byte, error) { - return json.Marshal(v.value) -} - -func (v *NullableUserBrief) UnmarshalJSON(src []byte) error { - v.isSet = true - return json.Unmarshal(src, &v.value) -} diff --git a/model_user_brief_response.go b/model_user_brief_response.go new file mode 100644 index 00000000..1e73087f --- /dev/null +++ b/model_user_brief_response.go @@ -0,0 +1,389 @@ +/* +Cloudsmith API (v1) + +The API to the Cloudsmith Service + +API version: 1.181.6 +Contact: support@cloudsmith.io +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cloudsmith + +import ( + "encoding/json" +) + +// UserBriefResponse struct for UserBriefResponse +type UserBriefResponse struct { + // If true then you're logged in as a user. + Authenticated *bool `json:"authenticated,omitempty"` + // Your email address that we use to contact you. This is only visible to you. + Email NullableString `json:"email,omitempty"` + // The full name of the user (if any). + Name NullableString `json:"name,omitempty"` + // The URL for the full profile of the user. + ProfileUrl NullableString `json:"profile_url,omitempty"` + SelfUrl *string `json:"self_url,omitempty"` + Slug NullableString `json:"slug,omitempty"` + SlugPerm NullableString `json:"slug_perm,omitempty"` +} + +// NewUserBriefResponse instantiates a new UserBriefResponse object +// 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 NewUserBriefResponse() *UserBriefResponse { + this := UserBriefResponse{} + return &this +} + +// NewUserBriefResponseWithDefaults instantiates a new UserBriefResponse object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewUserBriefResponseWithDefaults() *UserBriefResponse { + this := UserBriefResponse{} + return &this +} + +// GetAuthenticated returns the Authenticated field value if set, zero value otherwise. +func (o *UserBriefResponse) GetAuthenticated() bool { + if o == nil || isNil(o.Authenticated) { + var ret bool + return ret + } + return *o.Authenticated +} + +// GetAuthenticatedOk returns a tuple with the Authenticated field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *UserBriefResponse) GetAuthenticatedOk() (*bool, bool) { + if o == nil || isNil(o.Authenticated) { + return nil, false + } + return o.Authenticated, true +} + +// HasAuthenticated returns a boolean if a field has been set. +func (o *UserBriefResponse) HasAuthenticated() bool { + if o != nil && !isNil(o.Authenticated) { + return true + } + + return false +} + +// SetAuthenticated gets a reference to the given bool and assigns it to the Authenticated field. +func (o *UserBriefResponse) SetAuthenticated(v bool) { + o.Authenticated = &v +} + +// GetEmail returns the Email field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *UserBriefResponse) GetEmail() string { + if o == nil || isNil(o.Email.Get()) { + var ret string + return ret + } + return *o.Email.Get() +} + +// GetEmailOk returns a tuple with the Email 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 *UserBriefResponse) GetEmailOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.Email.Get(), o.Email.IsSet() +} + +// HasEmail returns a boolean if a field has been set. +func (o *UserBriefResponse) HasEmail() bool { + if o != nil && o.Email.IsSet() { + return true + } + + return false +} + +// SetEmail gets a reference to the given NullableString and assigns it to the Email field. +func (o *UserBriefResponse) SetEmail(v string) { + o.Email.Set(&v) +} + +// SetEmailNil sets the value for Email to be an explicit nil +func (o *UserBriefResponse) SetEmailNil() { + o.Email.Set(nil) +} + +// UnsetEmail ensures that no value is present for Email, not even an explicit nil +func (o *UserBriefResponse) UnsetEmail() { + o.Email.Unset() +} + +// GetName returns the Name field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *UserBriefResponse) GetName() string { + if o == nil || isNil(o.Name.Get()) { + var ret string + return ret + } + return *o.Name.Get() +} + +// GetNameOk returns a tuple with the Name field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *UserBriefResponse) GetNameOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.Name.Get(), o.Name.IsSet() +} + +// HasName returns a boolean if a field has been set. +func (o *UserBriefResponse) HasName() bool { + if o != nil && o.Name.IsSet() { + return true + } + + return false +} + +// SetName gets a reference to the given NullableString and assigns it to the Name field. +func (o *UserBriefResponse) SetName(v string) { + o.Name.Set(&v) +} + +// SetNameNil sets the value for Name to be an explicit nil +func (o *UserBriefResponse) SetNameNil() { + o.Name.Set(nil) +} + +// UnsetName ensures that no value is present for Name, not even an explicit nil +func (o *UserBriefResponse) UnsetName() { + o.Name.Unset() +} + +// GetProfileUrl returns the ProfileUrl field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *UserBriefResponse) GetProfileUrl() string { + if o == nil || isNil(o.ProfileUrl.Get()) { + var ret string + return ret + } + return *o.ProfileUrl.Get() +} + +// GetProfileUrlOk returns a tuple with the ProfileUrl 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 *UserBriefResponse) GetProfileUrlOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.ProfileUrl.Get(), o.ProfileUrl.IsSet() +} + +// HasProfileUrl returns a boolean if a field has been set. +func (o *UserBriefResponse) HasProfileUrl() bool { + if o != nil && o.ProfileUrl.IsSet() { + return true + } + + return false +} + +// SetProfileUrl gets a reference to the given NullableString and assigns it to the ProfileUrl field. +func (o *UserBriefResponse) SetProfileUrl(v string) { + o.ProfileUrl.Set(&v) +} + +// SetProfileUrlNil sets the value for ProfileUrl to be an explicit nil +func (o *UserBriefResponse) SetProfileUrlNil() { + o.ProfileUrl.Set(nil) +} + +// UnsetProfileUrl ensures that no value is present for ProfileUrl, not even an explicit nil +func (o *UserBriefResponse) UnsetProfileUrl() { + o.ProfileUrl.Unset() +} + +// GetSelfUrl returns the SelfUrl field value if set, zero value otherwise. +func (o *UserBriefResponse) GetSelfUrl() string { + if o == nil || isNil(o.SelfUrl) { + var ret string + return ret + } + return *o.SelfUrl +} + +// GetSelfUrlOk returns a tuple with the SelfUrl field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *UserBriefResponse) GetSelfUrlOk() (*string, bool) { + if o == nil || isNil(o.SelfUrl) { + return nil, false + } + return o.SelfUrl, true +} + +// HasSelfUrl returns a boolean if a field has been set. +func (o *UserBriefResponse) HasSelfUrl() bool { + if o != nil && !isNil(o.SelfUrl) { + return true + } + + return false +} + +// SetSelfUrl gets a reference to the given string and assigns it to the SelfUrl field. +func (o *UserBriefResponse) SetSelfUrl(v string) { + o.SelfUrl = &v +} + +// GetSlug returns the Slug field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *UserBriefResponse) GetSlug() string { + if o == nil || isNil(o.Slug.Get()) { + var ret string + return ret + } + return *o.Slug.Get() +} + +// GetSlugOk returns a tuple with the Slug 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 *UserBriefResponse) GetSlugOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.Slug.Get(), o.Slug.IsSet() +} + +// HasSlug returns a boolean if a field has been set. +func (o *UserBriefResponse) HasSlug() bool { + if o != nil && o.Slug.IsSet() { + return true + } + + return false +} + +// SetSlug gets a reference to the given NullableString and assigns it to the Slug field. +func (o *UserBriefResponse) SetSlug(v string) { + o.Slug.Set(&v) +} + +// SetSlugNil sets the value for Slug to be an explicit nil +func (o *UserBriefResponse) SetSlugNil() { + o.Slug.Set(nil) +} + +// UnsetSlug ensures that no value is present for Slug, not even an explicit nil +func (o *UserBriefResponse) UnsetSlug() { + o.Slug.Unset() +} + +// GetSlugPerm returns the SlugPerm field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *UserBriefResponse) GetSlugPerm() string { + if o == nil || isNil(o.SlugPerm.Get()) { + var ret string + return ret + } + return *o.SlugPerm.Get() +} + +// GetSlugPermOk returns a tuple with the SlugPerm 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 *UserBriefResponse) GetSlugPermOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.SlugPerm.Get(), o.SlugPerm.IsSet() +} + +// HasSlugPerm returns a boolean if a field has been set. +func (o *UserBriefResponse) HasSlugPerm() bool { + if o != nil && o.SlugPerm.IsSet() { + return true + } + + return false +} + +// SetSlugPerm gets a reference to the given NullableString and assigns it to the SlugPerm field. +func (o *UserBriefResponse) SetSlugPerm(v string) { + o.SlugPerm.Set(&v) +} + +// SetSlugPermNil sets the value for SlugPerm to be an explicit nil +func (o *UserBriefResponse) SetSlugPermNil() { + o.SlugPerm.Set(nil) +} + +// UnsetSlugPerm ensures that no value is present for SlugPerm, not even an explicit nil +func (o *UserBriefResponse) UnsetSlugPerm() { + o.SlugPerm.Unset() +} + +func (o UserBriefResponse) MarshalJSON() ([]byte, error) { + toSerialize := map[string]interface{}{} + if !isNil(o.Authenticated) { + toSerialize["authenticated"] = o.Authenticated + } + if o.Email.IsSet() { + toSerialize["email"] = o.Email.Get() + } + if o.Name.IsSet() { + toSerialize["name"] = o.Name.Get() + } + if o.ProfileUrl.IsSet() { + toSerialize["profile_url"] = o.ProfileUrl.Get() + } + if !isNil(o.SelfUrl) { + toSerialize["self_url"] = o.SelfUrl + } + if o.Slug.IsSet() { + toSerialize["slug"] = o.Slug.Get() + } + if o.SlugPerm.IsSet() { + toSerialize["slug_perm"] = o.SlugPerm.Get() + } + return json.Marshal(toSerialize) +} + +type NullableUserBriefResponse struct { + value *UserBriefResponse + isSet bool +} + +func (v NullableUserBriefResponse) Get() *UserBriefResponse { + return v.value +} + +func (v *NullableUserBriefResponse) Set(val *UserBriefResponse) { + v.value = val + v.isSet = true +} + +func (v NullableUserBriefResponse) IsSet() bool { + return v.isSet +} + +func (v *NullableUserBriefResponse) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableUserBriefResponse(val *UserBriefResponse) *NullableUserBriefResponse { + return &NullableUserBriefResponse{value: val, isSet: true} +} + +func (v NullableUserBriefResponse) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableUserBriefResponse) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} diff --git a/model_user_profile.go b/model_user_profile.go deleted file mode 100644 index 76235744..00000000 --- a/model_user_profile.go +++ /dev/null @@ -1,434 +0,0 @@ -/* -Cloudsmith API - -The API to the Cloudsmith Service - -API version: 1.121.3 -Contact: support@cloudsmith.io -*/ - -// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. - -package cloudsmith - -import ( - "encoding/json" -) - -// UserProfile struct for UserProfile -type UserProfile struct { - // - Company *string `json:"company,omitempty"` - // - FirstName string `json:"first_name"` - // - JobTitle *string `json:"job_title,omitempty"` - // - JoinedAt *string `json:"joined_at,omitempty"` - // - LastName string `json:"last_name"` - // - Name *string `json:"name,omitempty"` - // - Slug *string `json:"slug,omitempty"` - // - SlugPerm *string `json:"slug_perm,omitempty"` - // Your tagline is a sentence about you. Make it funny. Make it professional. Either way, it's public and it represents who you are. - Tagline *string `json:"tagline,omitempty"` - // - Url *string `json:"url,omitempty"` -} - -// NewUserProfile instantiates a new UserProfile object -// 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 NewUserProfile(firstName string, lastName string) *UserProfile { - this := UserProfile{} - this.FirstName = firstName - this.LastName = lastName - return &this -} - -// NewUserProfileWithDefaults instantiates a new UserProfile object -// This constructor will only assign default values to properties that have it defined, -// but it doesn't guarantee that properties required by API are set -func NewUserProfileWithDefaults() *UserProfile { - this := UserProfile{} - return &this -} - -// GetCompany returns the Company field value if set, zero value otherwise. -func (o *UserProfile) GetCompany() string { - if o == nil || o.Company == nil { - var ret string - return ret - } - return *o.Company -} - -// GetCompanyOk returns a tuple with the Company field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *UserProfile) GetCompanyOk() (*string, bool) { - if o == nil || o.Company == nil { - return nil, false - } - return o.Company, true -} - -// HasCompany returns a boolean if a field has been set. -func (o *UserProfile) HasCompany() bool { - if o != nil && o.Company != nil { - return true - } - - return false -} - -// SetCompany gets a reference to the given string and assigns it to the Company field. -func (o *UserProfile) SetCompany(v string) { - o.Company = &v -} - -// GetFirstName returns the FirstName field value -func (o *UserProfile) GetFirstName() string { - if o == nil { - var ret string - return ret - } - - return o.FirstName -} - -// GetFirstNameOk returns a tuple with the FirstName field value -// and a boolean to check if the value has been set. -func (o *UserProfile) GetFirstNameOk() (*string, bool) { - if o == nil { - return nil, false - } - return &o.FirstName, true -} - -// SetFirstName sets field value -func (o *UserProfile) SetFirstName(v string) { - o.FirstName = v -} - -// GetJobTitle returns the JobTitle field value if set, zero value otherwise. -func (o *UserProfile) GetJobTitle() string { - if o == nil || o.JobTitle == nil { - var ret string - return ret - } - return *o.JobTitle -} - -// GetJobTitleOk returns a tuple with the JobTitle field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *UserProfile) GetJobTitleOk() (*string, bool) { - if o == nil || o.JobTitle == nil { - return nil, false - } - return o.JobTitle, true -} - -// HasJobTitle returns a boolean if a field has been set. -func (o *UserProfile) HasJobTitle() bool { - if o != nil && o.JobTitle != nil { - return true - } - - return false -} - -// SetJobTitle gets a reference to the given string and assigns it to the JobTitle field. -func (o *UserProfile) SetJobTitle(v string) { - o.JobTitle = &v -} - -// GetJoinedAt returns the JoinedAt field value if set, zero value otherwise. -func (o *UserProfile) GetJoinedAt() string { - if o == nil || o.JoinedAt == nil { - var ret string - return ret - } - return *o.JoinedAt -} - -// GetJoinedAtOk returns a tuple with the JoinedAt field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *UserProfile) GetJoinedAtOk() (*string, bool) { - if o == nil || o.JoinedAt == nil { - return nil, false - } - return o.JoinedAt, true -} - -// HasJoinedAt returns a boolean if a field has been set. -func (o *UserProfile) HasJoinedAt() bool { - if o != nil && o.JoinedAt != nil { - return true - } - - return false -} - -// SetJoinedAt gets a reference to the given string and assigns it to the JoinedAt field. -func (o *UserProfile) SetJoinedAt(v string) { - o.JoinedAt = &v -} - -// GetLastName returns the LastName field value -func (o *UserProfile) GetLastName() string { - if o == nil { - var ret string - return ret - } - - return o.LastName -} - -// GetLastNameOk returns a tuple with the LastName field value -// and a boolean to check if the value has been set. -func (o *UserProfile) GetLastNameOk() (*string, bool) { - if o == nil { - return nil, false - } - return &o.LastName, true -} - -// SetLastName sets field value -func (o *UserProfile) SetLastName(v string) { - o.LastName = v -} - -// GetName returns the Name field value if set, zero value otherwise. -func (o *UserProfile) GetName() string { - if o == nil || o.Name == nil { - var ret string - return ret - } - return *o.Name -} - -// GetNameOk returns a tuple with the Name field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *UserProfile) GetNameOk() (*string, bool) { - if o == nil || o.Name == nil { - return nil, false - } - return o.Name, true -} - -// HasName returns a boolean if a field has been set. -func (o *UserProfile) HasName() bool { - if o != nil && o.Name != nil { - return true - } - - return false -} - -// SetName gets a reference to the given string and assigns it to the Name field. -func (o *UserProfile) SetName(v string) { - o.Name = &v -} - -// GetSlug returns the Slug field value if set, zero value otherwise. -func (o *UserProfile) GetSlug() string { - if o == nil || o.Slug == nil { - var ret string - return ret - } - return *o.Slug -} - -// GetSlugOk returns a tuple with the Slug field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *UserProfile) GetSlugOk() (*string, bool) { - if o == nil || o.Slug == nil { - return nil, false - } - return o.Slug, true -} - -// HasSlug returns a boolean if a field has been set. -func (o *UserProfile) HasSlug() bool { - if o != nil && o.Slug != nil { - return true - } - - return false -} - -// SetSlug gets a reference to the given string and assigns it to the Slug field. -func (o *UserProfile) SetSlug(v string) { - o.Slug = &v -} - -// GetSlugPerm returns the SlugPerm field value if set, zero value otherwise. -func (o *UserProfile) GetSlugPerm() string { - if o == nil || o.SlugPerm == nil { - var ret string - return ret - } - return *o.SlugPerm -} - -// GetSlugPermOk returns a tuple with the SlugPerm field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *UserProfile) GetSlugPermOk() (*string, bool) { - if o == nil || o.SlugPerm == nil { - return nil, false - } - return o.SlugPerm, true -} - -// HasSlugPerm returns a boolean if a field has been set. -func (o *UserProfile) HasSlugPerm() bool { - if o != nil && o.SlugPerm != nil { - return true - } - - return false -} - -// SetSlugPerm gets a reference to the given string and assigns it to the SlugPerm field. -func (o *UserProfile) SetSlugPerm(v string) { - o.SlugPerm = &v -} - -// GetTagline returns the Tagline field value if set, zero value otherwise. -func (o *UserProfile) GetTagline() string { - if o == nil || o.Tagline == nil { - var ret string - return ret - } - return *o.Tagline -} - -// GetTaglineOk returns a tuple with the Tagline field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *UserProfile) GetTaglineOk() (*string, bool) { - if o == nil || o.Tagline == nil { - return nil, false - } - return o.Tagline, true -} - -// HasTagline returns a boolean if a field has been set. -func (o *UserProfile) HasTagline() bool { - if o != nil && o.Tagline != nil { - return true - } - - return false -} - -// SetTagline gets a reference to the given string and assigns it to the Tagline field. -func (o *UserProfile) SetTagline(v string) { - o.Tagline = &v -} - -// GetUrl returns the Url field value if set, zero value otherwise. -func (o *UserProfile) GetUrl() string { - if o == nil || o.Url == nil { - var ret string - return ret - } - return *o.Url -} - -// GetUrlOk returns a tuple with the Url field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *UserProfile) GetUrlOk() (*string, bool) { - if o == nil || o.Url == nil { - return nil, false - } - return o.Url, true -} - -// HasUrl returns a boolean if a field has been set. -func (o *UserProfile) HasUrl() bool { - if o != nil && o.Url != nil { - return true - } - - return false -} - -// SetUrl gets a reference to the given string and assigns it to the Url field. -func (o *UserProfile) SetUrl(v string) { - o.Url = &v -} - -func (o UserProfile) MarshalJSON() ([]byte, error) { - toSerialize := map[string]interface{}{} - if o.Company != nil { - toSerialize["company"] = o.Company - } - if true { - toSerialize["first_name"] = o.FirstName - } - if o.JobTitle != nil { - toSerialize["job_title"] = o.JobTitle - } - if o.JoinedAt != nil { - toSerialize["joined_at"] = o.JoinedAt - } - if true { - toSerialize["last_name"] = o.LastName - } - if o.Name != nil { - toSerialize["name"] = o.Name - } - if o.Slug != nil { - toSerialize["slug"] = o.Slug - } - if o.SlugPerm != nil { - toSerialize["slug_perm"] = o.SlugPerm - } - if o.Tagline != nil { - toSerialize["tagline"] = o.Tagline - } - if o.Url != nil { - toSerialize["url"] = o.Url - } - return json.Marshal(toSerialize) -} - -type NullableUserProfile struct { - value *UserProfile - isSet bool -} - -func (v NullableUserProfile) Get() *UserProfile { - return v.value -} - -func (v *NullableUserProfile) Set(val *UserProfile) { - v.value = val - v.isSet = true -} - -func (v NullableUserProfile) IsSet() bool { - return v.isSet -} - -func (v *NullableUserProfile) Unset() { - v.value = nil - v.isSet = false -} - -func NewNullableUserProfile(val *UserProfile) *NullableUserProfile { - return &NullableUserProfile{value: val, isSet: true} -} - -func (v NullableUserProfile) MarshalJSON() ([]byte, error) { - return json.Marshal(v.value) -} - -func (v *NullableUserProfile) UnmarshalJSON(src []byte) error { - v.isSet = true - return json.Unmarshal(src, &v.value) -} diff --git a/model_user_profile_response.go b/model_user_profile_response.go new file mode 100644 index 00000000..d9eb8764 --- /dev/null +++ b/model_user_profile_response.go @@ -0,0 +1,459 @@ +/* +Cloudsmith API (v1) + +The API to the Cloudsmith Service + +API version: 1.181.6 +Contact: support@cloudsmith.io +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cloudsmith + +import ( + "encoding/json" + "time" +) + +// UserProfileResponse struct for UserProfileResponse +type UserProfileResponse struct { + Company NullableString `json:"company,omitempty"` + FirstName string `json:"first_name"` + JobTitle NullableString `json:"job_title,omitempty"` + JoinedAt *time.Time `json:"joined_at,omitempty"` + LastName string `json:"last_name"` + Name *string `json:"name,omitempty"` + Slug *string `json:"slug,omitempty"` + SlugPerm *string `json:"slug_perm,omitempty"` + // Your tagline is a sentence about you. Make it funny. Make it professional. Either way, it's public and it represents who you are. + Tagline NullableString `json:"tagline,omitempty"` + Url *string `json:"url,omitempty"` +} + +// NewUserProfileResponse instantiates a new UserProfileResponse object +// 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 NewUserProfileResponse(firstName string, lastName string) *UserProfileResponse { + this := UserProfileResponse{} + this.FirstName = firstName + this.LastName = lastName + return &this +} + +// NewUserProfileResponseWithDefaults instantiates a new UserProfileResponse object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewUserProfileResponseWithDefaults() *UserProfileResponse { + this := UserProfileResponse{} + return &this +} + +// GetCompany returns the Company field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *UserProfileResponse) GetCompany() string { + if o == nil || isNil(o.Company.Get()) { + var ret string + return ret + } + return *o.Company.Get() +} + +// GetCompanyOk returns a tuple with the Company 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 *UserProfileResponse) GetCompanyOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.Company.Get(), o.Company.IsSet() +} + +// HasCompany returns a boolean if a field has been set. +func (o *UserProfileResponse) HasCompany() bool { + if o != nil && o.Company.IsSet() { + return true + } + + return false +} + +// SetCompany gets a reference to the given NullableString and assigns it to the Company field. +func (o *UserProfileResponse) SetCompany(v string) { + o.Company.Set(&v) +} + +// SetCompanyNil sets the value for Company to be an explicit nil +func (o *UserProfileResponse) SetCompanyNil() { + o.Company.Set(nil) +} + +// UnsetCompany ensures that no value is present for Company, not even an explicit nil +func (o *UserProfileResponse) UnsetCompany() { + o.Company.Unset() +} + +// GetFirstName returns the FirstName field value +func (o *UserProfileResponse) GetFirstName() string { + if o == nil { + var ret string + return ret + } + + return o.FirstName +} + +// GetFirstNameOk returns a tuple with the FirstName field value +// and a boolean to check if the value has been set. +func (o *UserProfileResponse) GetFirstNameOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.FirstName, true +} + +// SetFirstName sets field value +func (o *UserProfileResponse) SetFirstName(v string) { + o.FirstName = v +} + +// GetJobTitle returns the JobTitle field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *UserProfileResponse) GetJobTitle() string { + if o == nil || isNil(o.JobTitle.Get()) { + var ret string + return ret + } + return *o.JobTitle.Get() +} + +// GetJobTitleOk returns a tuple with the JobTitle 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 *UserProfileResponse) GetJobTitleOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.JobTitle.Get(), o.JobTitle.IsSet() +} + +// HasJobTitle returns a boolean if a field has been set. +func (o *UserProfileResponse) HasJobTitle() bool { + if o != nil && o.JobTitle.IsSet() { + return true + } + + return false +} + +// SetJobTitle gets a reference to the given NullableString and assigns it to the JobTitle field. +func (o *UserProfileResponse) SetJobTitle(v string) { + o.JobTitle.Set(&v) +} + +// SetJobTitleNil sets the value for JobTitle to be an explicit nil +func (o *UserProfileResponse) SetJobTitleNil() { + o.JobTitle.Set(nil) +} + +// UnsetJobTitle ensures that no value is present for JobTitle, not even an explicit nil +func (o *UserProfileResponse) UnsetJobTitle() { + o.JobTitle.Unset() +} + +// GetJoinedAt returns the JoinedAt field value if set, zero value otherwise. +func (o *UserProfileResponse) GetJoinedAt() time.Time { + if o == nil || isNil(o.JoinedAt) { + var ret time.Time + return ret + } + return *o.JoinedAt +} + +// GetJoinedAtOk returns a tuple with the JoinedAt field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *UserProfileResponse) GetJoinedAtOk() (*time.Time, bool) { + if o == nil || isNil(o.JoinedAt) { + return nil, false + } + return o.JoinedAt, true +} + +// HasJoinedAt returns a boolean if a field has been set. +func (o *UserProfileResponse) HasJoinedAt() bool { + if o != nil && !isNil(o.JoinedAt) { + return true + } + + return false +} + +// SetJoinedAt gets a reference to the given time.Time and assigns it to the JoinedAt field. +func (o *UserProfileResponse) SetJoinedAt(v time.Time) { + o.JoinedAt = &v +} + +// GetLastName returns the LastName field value +func (o *UserProfileResponse) GetLastName() string { + if o == nil { + var ret string + return ret + } + + return o.LastName +} + +// GetLastNameOk returns a tuple with the LastName field value +// and a boolean to check if the value has been set. +func (o *UserProfileResponse) GetLastNameOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.LastName, true +} + +// SetLastName sets field value +func (o *UserProfileResponse) SetLastName(v string) { + o.LastName = v +} + +// GetName returns the Name field value if set, zero value otherwise. +func (o *UserProfileResponse) GetName() string { + if o == nil || isNil(o.Name) { + var ret string + return ret + } + return *o.Name +} + +// GetNameOk returns a tuple with the Name field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *UserProfileResponse) GetNameOk() (*string, bool) { + if o == nil || isNil(o.Name) { + return nil, false + } + return o.Name, true +} + +// HasName returns a boolean if a field has been set. +func (o *UserProfileResponse) HasName() bool { + if o != nil && !isNil(o.Name) { + return true + } + + return false +} + +// SetName gets a reference to the given string and assigns it to the Name field. +func (o *UserProfileResponse) SetName(v string) { + o.Name = &v +} + +// GetSlug returns the Slug field value if set, zero value otherwise. +func (o *UserProfileResponse) GetSlug() string { + if o == nil || isNil(o.Slug) { + var ret string + return ret + } + return *o.Slug +} + +// GetSlugOk returns a tuple with the Slug field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *UserProfileResponse) GetSlugOk() (*string, bool) { + if o == nil || isNil(o.Slug) { + return nil, false + } + return o.Slug, true +} + +// HasSlug returns a boolean if a field has been set. +func (o *UserProfileResponse) HasSlug() bool { + if o != nil && !isNil(o.Slug) { + return true + } + + return false +} + +// SetSlug gets a reference to the given string and assigns it to the Slug field. +func (o *UserProfileResponse) SetSlug(v string) { + o.Slug = &v +} + +// GetSlugPerm returns the SlugPerm field value if set, zero value otherwise. +func (o *UserProfileResponse) GetSlugPerm() string { + if o == nil || isNil(o.SlugPerm) { + var ret string + return ret + } + return *o.SlugPerm +} + +// GetSlugPermOk returns a tuple with the SlugPerm field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *UserProfileResponse) GetSlugPermOk() (*string, bool) { + if o == nil || isNil(o.SlugPerm) { + return nil, false + } + return o.SlugPerm, true +} + +// HasSlugPerm returns a boolean if a field has been set. +func (o *UserProfileResponse) HasSlugPerm() bool { + if o != nil && !isNil(o.SlugPerm) { + return true + } + + return false +} + +// SetSlugPerm gets a reference to the given string and assigns it to the SlugPerm field. +func (o *UserProfileResponse) SetSlugPerm(v string) { + o.SlugPerm = &v +} + +// GetTagline returns the Tagline field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *UserProfileResponse) GetTagline() string { + if o == nil || isNil(o.Tagline.Get()) { + var ret string + return ret + } + return *o.Tagline.Get() +} + +// GetTaglineOk returns a tuple with the Tagline 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 *UserProfileResponse) GetTaglineOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.Tagline.Get(), o.Tagline.IsSet() +} + +// HasTagline returns a boolean if a field has been set. +func (o *UserProfileResponse) HasTagline() bool { + if o != nil && o.Tagline.IsSet() { + return true + } + + return false +} + +// SetTagline gets a reference to the given NullableString and assigns it to the Tagline field. +func (o *UserProfileResponse) SetTagline(v string) { + o.Tagline.Set(&v) +} + +// SetTaglineNil sets the value for Tagline to be an explicit nil +func (o *UserProfileResponse) SetTaglineNil() { + o.Tagline.Set(nil) +} + +// UnsetTagline ensures that no value is present for Tagline, not even an explicit nil +func (o *UserProfileResponse) UnsetTagline() { + o.Tagline.Unset() +} + +// GetUrl returns the Url field value if set, zero value otherwise. +func (o *UserProfileResponse) GetUrl() string { + if o == nil || isNil(o.Url) { + var ret string + return ret + } + return *o.Url +} + +// GetUrlOk returns a tuple with the Url field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *UserProfileResponse) GetUrlOk() (*string, bool) { + if o == nil || isNil(o.Url) { + return nil, false + } + return o.Url, true +} + +// HasUrl returns a boolean if a field has been set. +func (o *UserProfileResponse) HasUrl() bool { + if o != nil && !isNil(o.Url) { + return true + } + + return false +} + +// SetUrl gets a reference to the given string and assigns it to the Url field. +func (o *UserProfileResponse) SetUrl(v string) { + o.Url = &v +} + +func (o UserProfileResponse) MarshalJSON() ([]byte, error) { + toSerialize := map[string]interface{}{} + if o.Company.IsSet() { + toSerialize["company"] = o.Company.Get() + } + if true { + toSerialize["first_name"] = o.FirstName + } + if o.JobTitle.IsSet() { + toSerialize["job_title"] = o.JobTitle.Get() + } + if !isNil(o.JoinedAt) { + toSerialize["joined_at"] = o.JoinedAt + } + if true { + toSerialize["last_name"] = o.LastName + } + if !isNil(o.Name) { + toSerialize["name"] = o.Name + } + if !isNil(o.Slug) { + toSerialize["slug"] = o.Slug + } + if !isNil(o.SlugPerm) { + toSerialize["slug_perm"] = o.SlugPerm + } + if o.Tagline.IsSet() { + toSerialize["tagline"] = o.Tagline.Get() + } + if !isNil(o.Url) { + toSerialize["url"] = o.Url + } + return json.Marshal(toSerialize) +} + +type NullableUserProfileResponse struct { + value *UserProfileResponse + isSet bool +} + +func (v NullableUserProfileResponse) Get() *UserProfileResponse { + return v.value +} + +func (v *NullableUserProfileResponse) Set(val *UserProfileResponse) { + v.value = val + v.isSet = true +} + +func (v NullableUserProfileResponse) IsSet() bool { + return v.isSet +} + +func (v *NullableUserProfileResponse) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableUserProfileResponse(val *UserProfileResponse) *NullableUserProfileResponse { + return &NullableUserProfileResponse{value: val, isSet: true} +} + +func (v NullableUserProfileResponse) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableUserProfileResponse) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} diff --git a/model_packages_upload_vagrant.go b/model_vagrant_package_upload_request.go similarity index 53% rename from model_packages_upload_vagrant.go rename to model_vagrant_package_upload_request.go index 8ac622b7..eba0117f 100644 --- a/model_packages_upload_vagrant.go +++ b/model_vagrant_package_upload_request.go @@ -1,9 +1,9 @@ /* -Cloudsmith API +Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.121.3 +API version: 1.181.6 Contact: support@cloudsmith.io */ @@ -15,8 +15,8 @@ import ( "encoding/json" ) -// PackagesUploadVagrant struct for PackagesUploadVagrant -type PackagesUploadVagrant struct { +// VagrantPackageUploadRequest struct for VagrantPackageUploadRequest +type VagrantPackageUploadRequest struct { // The name of this package. Name string `json:"name"` // The primary file for the package. @@ -26,17 +26,17 @@ type PackagesUploadVagrant struct { // If true, the uploaded package will overwrite any others with the same attributes (e.g. same version); otherwise, it will be flagged as a duplicate. Republish *bool `json:"republish,omitempty"` // A comma-separated values list of tags to add to the package. - Tags *string `json:"tags,omitempty"` + Tags NullableString `json:"tags,omitempty"` // The raw version for this package. Version string `json:"version"` } -// NewPackagesUploadVagrant instantiates a new PackagesUploadVagrant object +// NewVagrantPackageUploadRequest instantiates a new VagrantPackageUploadRequest object // 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 NewPackagesUploadVagrant(name string, packageFile string, provider string, version string) *PackagesUploadVagrant { - this := PackagesUploadVagrant{} +func NewVagrantPackageUploadRequest(name string, packageFile string, provider string, version string) *VagrantPackageUploadRequest { + this := VagrantPackageUploadRequest{} this.Name = name this.PackageFile = packageFile this.Provider = provider @@ -44,16 +44,16 @@ func NewPackagesUploadVagrant(name string, packageFile string, provider string, return &this } -// NewPackagesUploadVagrantWithDefaults instantiates a new PackagesUploadVagrant object +// NewVagrantPackageUploadRequestWithDefaults instantiates a new VagrantPackageUploadRequest object // This constructor will only assign default values to properties that have it defined, // but it doesn't guarantee that properties required by API are set -func NewPackagesUploadVagrantWithDefaults() *PackagesUploadVagrant { - this := PackagesUploadVagrant{} +func NewVagrantPackageUploadRequestWithDefaults() *VagrantPackageUploadRequest { + this := VagrantPackageUploadRequest{} return &this } // GetName returns the Name field value -func (o *PackagesUploadVagrant) GetName() string { +func (o *VagrantPackageUploadRequest) GetName() string { if o == nil { var ret string return ret @@ -64,7 +64,7 @@ func (o *PackagesUploadVagrant) GetName() string { // GetNameOk returns a tuple with the Name field value // and a boolean to check if the value has been set. -func (o *PackagesUploadVagrant) GetNameOk() (*string, bool) { +func (o *VagrantPackageUploadRequest) GetNameOk() (*string, bool) { if o == nil { return nil, false } @@ -72,12 +72,12 @@ func (o *PackagesUploadVagrant) GetNameOk() (*string, bool) { } // SetName sets field value -func (o *PackagesUploadVagrant) SetName(v string) { +func (o *VagrantPackageUploadRequest) SetName(v string) { o.Name = v } // GetPackageFile returns the PackageFile field value -func (o *PackagesUploadVagrant) GetPackageFile() string { +func (o *VagrantPackageUploadRequest) GetPackageFile() string { if o == nil { var ret string return ret @@ -88,7 +88,7 @@ func (o *PackagesUploadVagrant) GetPackageFile() string { // GetPackageFileOk returns a tuple with the PackageFile field value // and a boolean to check if the value has been set. -func (o *PackagesUploadVagrant) GetPackageFileOk() (*string, bool) { +func (o *VagrantPackageUploadRequest) GetPackageFileOk() (*string, bool) { if o == nil { return nil, false } @@ -96,12 +96,12 @@ func (o *PackagesUploadVagrant) GetPackageFileOk() (*string, bool) { } // SetPackageFile sets field value -func (o *PackagesUploadVagrant) SetPackageFile(v string) { +func (o *VagrantPackageUploadRequest) SetPackageFile(v string) { o.PackageFile = v } // GetProvider returns the Provider field value -func (o *PackagesUploadVagrant) GetProvider() string { +func (o *VagrantPackageUploadRequest) GetProvider() string { if o == nil { var ret string return ret @@ -112,7 +112,7 @@ func (o *PackagesUploadVagrant) GetProvider() string { // GetProviderOk returns a tuple with the Provider field value // and a boolean to check if the value has been set. -func (o *PackagesUploadVagrant) GetProviderOk() (*string, bool) { +func (o *VagrantPackageUploadRequest) GetProviderOk() (*string, bool) { if o == nil { return nil, false } @@ -120,13 +120,13 @@ func (o *PackagesUploadVagrant) GetProviderOk() (*string, bool) { } // SetProvider sets field value -func (o *PackagesUploadVagrant) SetProvider(v string) { +func (o *VagrantPackageUploadRequest) SetProvider(v string) { o.Provider = v } // GetRepublish returns the Republish field value if set, zero value otherwise. -func (o *PackagesUploadVagrant) GetRepublish() bool { - if o == nil || o.Republish == nil { +func (o *VagrantPackageUploadRequest) GetRepublish() bool { + if o == nil || isNil(o.Republish) { var ret bool return ret } @@ -135,16 +135,16 @@ func (o *PackagesUploadVagrant) GetRepublish() bool { // GetRepublishOk returns a tuple with the Republish field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *PackagesUploadVagrant) GetRepublishOk() (*bool, bool) { - if o == nil || o.Republish == nil { +func (o *VagrantPackageUploadRequest) GetRepublishOk() (*bool, bool) { + if o == nil || isNil(o.Republish) { return nil, false } return o.Republish, true } // HasRepublish returns a boolean if a field has been set. -func (o *PackagesUploadVagrant) HasRepublish() bool { - if o != nil && o.Republish != nil { +func (o *VagrantPackageUploadRequest) HasRepublish() bool { + if o != nil && !isNil(o.Republish) { return true } @@ -152,44 +152,55 @@ func (o *PackagesUploadVagrant) HasRepublish() bool { } // SetRepublish gets a reference to the given bool and assigns it to the Republish field. -func (o *PackagesUploadVagrant) SetRepublish(v bool) { +func (o *VagrantPackageUploadRequest) SetRepublish(v bool) { o.Republish = &v } -// GetTags returns the Tags field value if set, zero value otherwise. -func (o *PackagesUploadVagrant) GetTags() string { - if o == nil || o.Tags == nil { +// GetTags returns the Tags field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *VagrantPackageUploadRequest) GetTags() string { + if o == nil || isNil(o.Tags.Get()) { var ret string return ret } - return *o.Tags + return *o.Tags.Get() } // GetTagsOk returns a tuple with the Tags field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *PackagesUploadVagrant) GetTagsOk() (*string, bool) { - if o == nil || o.Tags == nil { +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *VagrantPackageUploadRequest) GetTagsOk() (*string, bool) { + if o == nil { return nil, false } - return o.Tags, true + return o.Tags.Get(), o.Tags.IsSet() } // HasTags returns a boolean if a field has been set. -func (o *PackagesUploadVagrant) HasTags() bool { - if o != nil && o.Tags != nil { +func (o *VagrantPackageUploadRequest) HasTags() bool { + if o != nil && o.Tags.IsSet() { return true } return false } -// SetTags gets a reference to the given string and assigns it to the Tags field. -func (o *PackagesUploadVagrant) SetTags(v string) { - o.Tags = &v +// SetTags gets a reference to the given NullableString and assigns it to the Tags field. +func (o *VagrantPackageUploadRequest) SetTags(v string) { + o.Tags.Set(&v) +} + +// SetTagsNil sets the value for Tags to be an explicit nil +func (o *VagrantPackageUploadRequest) SetTagsNil() { + o.Tags.Set(nil) +} + +// UnsetTags ensures that no value is present for Tags, not even an explicit nil +func (o *VagrantPackageUploadRequest) UnsetTags() { + o.Tags.Unset() } // GetVersion returns the Version field value -func (o *PackagesUploadVagrant) GetVersion() string { +func (o *VagrantPackageUploadRequest) GetVersion() string { if o == nil { var ret string return ret @@ -200,7 +211,7 @@ func (o *PackagesUploadVagrant) GetVersion() string { // GetVersionOk returns a tuple with the Version field value // and a boolean to check if the value has been set. -func (o *PackagesUploadVagrant) GetVersionOk() (*string, bool) { +func (o *VagrantPackageUploadRequest) GetVersionOk() (*string, bool) { if o == nil { return nil, false } @@ -208,11 +219,11 @@ func (o *PackagesUploadVagrant) GetVersionOk() (*string, bool) { } // SetVersion sets field value -func (o *PackagesUploadVagrant) SetVersion(v string) { +func (o *VagrantPackageUploadRequest) SetVersion(v string) { o.Version = v } -func (o PackagesUploadVagrant) MarshalJSON() ([]byte, error) { +func (o VagrantPackageUploadRequest) MarshalJSON() ([]byte, error) { toSerialize := map[string]interface{}{} if true { toSerialize["name"] = o.Name @@ -223,11 +234,11 @@ func (o PackagesUploadVagrant) MarshalJSON() ([]byte, error) { if true { toSerialize["provider"] = o.Provider } - if o.Republish != nil { + if !isNil(o.Republish) { toSerialize["republish"] = o.Republish } - if o.Tags != nil { - toSerialize["tags"] = o.Tags + if o.Tags.IsSet() { + toSerialize["tags"] = o.Tags.Get() } if true { toSerialize["version"] = o.Version @@ -235,38 +246,38 @@ func (o PackagesUploadVagrant) MarshalJSON() ([]byte, error) { return json.Marshal(toSerialize) } -type NullablePackagesUploadVagrant struct { - value *PackagesUploadVagrant +type NullableVagrantPackageUploadRequest struct { + value *VagrantPackageUploadRequest isSet bool } -func (v NullablePackagesUploadVagrant) Get() *PackagesUploadVagrant { +func (v NullableVagrantPackageUploadRequest) Get() *VagrantPackageUploadRequest { return v.value } -func (v *NullablePackagesUploadVagrant) Set(val *PackagesUploadVagrant) { +func (v *NullableVagrantPackageUploadRequest) Set(val *VagrantPackageUploadRequest) { v.value = val v.isSet = true } -func (v NullablePackagesUploadVagrant) IsSet() bool { +func (v NullableVagrantPackageUploadRequest) IsSet() bool { return v.isSet } -func (v *NullablePackagesUploadVagrant) Unset() { +func (v *NullableVagrantPackageUploadRequest) Unset() { v.value = nil v.isSet = false } -func NewNullablePackagesUploadVagrant(val *PackagesUploadVagrant) *NullablePackagesUploadVagrant { - return &NullablePackagesUploadVagrant{value: val, isSet: true} +func NewNullableVagrantPackageUploadRequest(val *VagrantPackageUploadRequest) *NullableVagrantPackageUploadRequest { + return &NullableVagrantPackageUploadRequest{value: val, isSet: true} } -func (v NullablePackagesUploadVagrant) MarshalJSON() ([]byte, error) { +func (v NullableVagrantPackageUploadRequest) MarshalJSON() ([]byte, error) { return json.Marshal(v.value) } -func (v *NullablePackagesUploadVagrant) UnmarshalJSON(src []byte) error { +func (v *NullableVagrantPackageUploadRequest) UnmarshalJSON(src []byte) error { v.isSet = true return json.Unmarshal(src, &v.value) } diff --git a/model_vagrant_package_upload.go b/model_vagrant_package_upload_response.go similarity index 51% rename from model_vagrant_package_upload.go rename to model_vagrant_package_upload_response.go index 1ad8d402..68752989 100644 --- a/model_vagrant_package_upload.go +++ b/model_vagrant_package_upload_response.go @@ -1,9 +1,9 @@ /* -Cloudsmith API +Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.121.3 +API version: 1.181.6 Contact: support@cloudsmith.io */ @@ -13,170 +13,131 @@ package cloudsmith import ( "encoding/json" + "time" ) -// VagrantPackageUpload struct for VagrantPackageUpload -type VagrantPackageUpload struct { - // - Architectures []PackagesOwnerRepoArchitectures `json:"architectures,omitempty"` - // - CdnUrl *string `json:"cdn_url,omitempty"` - // - ChecksumMd5 *string `json:"checksum_md5,omitempty"` - // - ChecksumSha1 *string `json:"checksum_sha1,omitempty"` - // - ChecksumSha256 *string `json:"checksum_sha256,omitempty"` - // - ChecksumSha512 *string `json:"checksum_sha512,omitempty"` +// VagrantPackageUploadResponse struct for VagrantPackageUploadResponse +type VagrantPackageUploadResponse struct { + Architectures []Architecture `json:"architectures,omitempty"` + CdnUrl NullableString `json:"cdn_url,omitempty"` + ChecksumMd5 *string `json:"checksum_md5,omitempty"` + ChecksumSha1 *string `json:"checksum_sha1,omitempty"` + ChecksumSha256 *string `json:"checksum_sha256,omitempty"` + ChecksumSha512 *string `json:"checksum_sha512,omitempty"` // A checksum of all of the package's dependencies. DependenciesChecksumMd5 *string `json:"dependencies_checksum_md5,omitempty"` - // - DependenciesUrl *string `json:"dependencies_url,omitempty"` + DependenciesUrl *string `json:"dependencies_url,omitempty"` // A textual description of this package. - Description *string `json:"description,omitempty"` - // - Distro map[string]interface{} `json:"distro,omitempty"` - // - DistroVersion map[string]interface{} `json:"distro_version,omitempty"` - // - Downloads *int64 `json:"downloads,omitempty"` + Description *string `json:"description,omitempty"` + Distro NullableDistribution `json:"distro,omitempty"` + DistroVersion *DistributionVersion `json:"distro_version,omitempty"` + Downloads *int64 `json:"downloads,omitempty"` // The epoch of the package version (if any). - Epoch *int64 `json:"epoch,omitempty"` - // - Extension *string `json:"extension,omitempty"` - // - Filename *string `json:"filename,omitempty"` - // - Files []PackagesOwnerRepoFiles `json:"files,omitempty"` - // - Format *string `json:"format,omitempty"` - // - FormatUrl *string `json:"format_url,omitempty"` + Epoch *int64 `json:"epoch,omitempty"` + Extension *string `json:"extension,omitempty"` + Filename *string `json:"filename,omitempty"` + Files []PackageFile `json:"files,omitempty"` + Format *string `json:"format,omitempty"` + FormatUrl *string `json:"format_url,omitempty"` // Unique and permanent identifier for the package. - IdentifierPerm *string `json:"identifier_perm,omitempty"` - // - Indexed *bool `json:"indexed,omitempty"` - // - IsDownloadable *bool `json:"is_downloadable,omitempty"` - // - IsQuarantined *bool `json:"is_quarantined,omitempty"` - // - IsSyncAwaiting *bool `json:"is_sync_awaiting,omitempty"` - // - IsSyncCompleted *bool `json:"is_sync_completed,omitempty"` - // - IsSyncFailed *bool `json:"is_sync_failed,omitempty"` - // - IsSyncInFlight *bool `json:"is_sync_in_flight,omitempty"` - // - IsSyncInProgress *bool `json:"is_sync_in_progress,omitempty"` + IdentifierPerm *string `json:"identifier_perm,omitempty"` + Indexed *bool `json:"indexed,omitempty"` + IsDownloadable *bool `json:"is_downloadable,omitempty"` + IsQuarantined *bool `json:"is_quarantined,omitempty"` + IsSyncAwaiting *bool `json:"is_sync_awaiting,omitempty"` + IsSyncCompleted *bool `json:"is_sync_completed,omitempty"` + IsSyncFailed *bool `json:"is_sync_failed,omitempty"` + IsSyncInFlight *bool `json:"is_sync_in_flight,omitempty"` + IsSyncInProgress *bool `json:"is_sync_in_progress,omitempty"` // The license of this package. License *string `json:"license,omitempty"` // The name of this package. - Name string `json:"name"` - // - Namespace *string `json:"namespace,omitempty"` - // - NamespaceUrl *string `json:"namespace_url,omitempty"` - // - NumFiles *int64 `json:"num_files,omitempty"` + Name string `json:"name"` + Namespace *string `json:"namespace,omitempty"` + NamespaceUrl *string `json:"namespace_url,omitempty"` + NumFiles *int64 `json:"num_files,omitempty"` + OriginRepository *string `json:"origin_repository,omitempty"` + OriginRepositoryUrl *string `json:"origin_repository_url,omitempty"` // The type of package contents. PackageType *int64 `json:"package_type,omitempty"` // The virtual machine provider for the box. Provider string `json:"provider"` // The release of the package version (if any). - Release *string `json:"release,omitempty"` - // - Repository *string `json:"repository,omitempty"` - // + Release *string `json:"release,omitempty"` + Repository *string `json:"repository,omitempty"` RepositoryUrl *string `json:"repository_url,omitempty"` // The datetime the security scanning was completed. - SecurityScanCompletedAt *string `json:"security_scan_completed_at,omitempty"` + SecurityScanCompletedAt *time.Time `json:"security_scan_completed_at,omitempty"` // The datetime the security scanning was started. - SecurityScanStartedAt *string `json:"security_scan_started_at,omitempty"` - // - SecurityScanStatus *string `json:"security_scan_status,omitempty"` + SecurityScanStartedAt *time.Time `json:"security_scan_started_at,omitempty"` + SecurityScanStatus NullableString `json:"security_scan_status,omitempty"` // The datetime the security scanning status was updated. - SecurityScanStatusUpdatedAt *string `json:"security_scan_status_updated_at,omitempty"` - // - SelfHtmlUrl *string `json:"self_html_url,omitempty"` - // - SelfUrl *string `json:"self_url,omitempty"` - // - SignatureUrl *string `json:"signature_url,omitempty"` + SecurityScanStatusUpdatedAt *time.Time `json:"security_scan_status_updated_at,omitempty"` + SelfHtmlUrl *string `json:"self_html_url,omitempty"` + SelfUrl *string `json:"self_url,omitempty"` + SignatureUrl NullableString `json:"signature_url,omitempty"` // The calculated size of the package. Size *int64 `json:"size,omitempty"` // The public unique identifier for the package. - Slug *string `json:"slug,omitempty"` - // + Slug *string `json:"slug,omitempty"` SlugPerm *string `json:"slug_perm,omitempty"` // The synchronisation (in progress) stage of the package. - Stage *int64 `json:"stage,omitempty"` - // + Stage *int64 `json:"stage,omitempty"` StageStr *string `json:"stage_str,omitempty"` // The datetime the package stage was updated at. - StageUpdatedAt *string `json:"stage_updated_at,omitempty"` + StageUpdatedAt *time.Time `json:"stage_updated_at,omitempty"` // The synchronisation status of the package. Status *int64 `json:"status,omitempty"` // A textual description for the synchronous status reason (if any StatusReason *string `json:"status_reason,omitempty"` - // - StatusStr *string `json:"status_str,omitempty"` + StatusStr *string `json:"status_str,omitempty"` // The datetime the package status was updated at. - StatusUpdatedAt *string `json:"status_updated_at,omitempty"` - // - StatusUrl *string `json:"status_url,omitempty"` - // - Subtype *string `json:"subtype,omitempty"` + StatusUpdatedAt *time.Time `json:"status_updated_at,omitempty"` + StatusUrl *string `json:"status_url,omitempty"` + Subtype *string `json:"subtype,omitempty"` // A one-liner synopsis of this package. Summary *string `json:"summary,omitempty"` // The datetime the package sync was finished at. - SyncFinishedAt *string `json:"sync_finished_at,omitempty"` + SyncFinishedAt *time.Time `json:"sync_finished_at,omitempty"` // Synchronisation progress (from 0-100) SyncProgress *int64 `json:"sync_progress,omitempty"` - // All immutable tags on the package, grouped by tag type. Immutable tags cannot be (easily) deleted. + // All tags on the package, grouped by tag type. This includes immutable tags, but doesn't distinguish them from mutable. To see which tags are immutable specifically, see the tags_immutable field. TagsImmutable map[string]interface{} `json:"tags_immutable,omitempty"` - // - TypeDisplay *string `json:"type_display,omitempty"` + TypeDisplay *string `json:"type_display,omitempty"` // The date this package was uploaded. - UploadedAt *string `json:"uploaded_at,omitempty"` - // - Uploader *string `json:"uploader,omitempty"` - // - UploaderUrl *string `json:"uploader_url,omitempty"` + UploadedAt *time.Time `json:"uploaded_at,omitempty"` + Uploader *string `json:"uploader,omitempty"` + UploaderUrl *string `json:"uploader_url,omitempty"` // The raw version for this package. - Version string `json:"version"` - // - VersionOrig *string `json:"version_orig,omitempty"` - // + Version string `json:"version"` + VersionOrig *string `json:"version_orig,omitempty"` VulnerabilityScanResultsUrl *string `json:"vulnerability_scan_results_url,omitempty"` } -// NewVagrantPackageUpload instantiates a new VagrantPackageUpload object +// NewVagrantPackageUploadResponse instantiates a new VagrantPackageUploadResponse object // 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 NewVagrantPackageUpload(name string, provider string, version string) *VagrantPackageUpload { - this := VagrantPackageUpload{} +func NewVagrantPackageUploadResponse(name string, provider string, version string) *VagrantPackageUploadResponse { + this := VagrantPackageUploadResponse{} this.Name = name this.Provider = provider this.Version = version return &this } -// NewVagrantPackageUploadWithDefaults instantiates a new VagrantPackageUpload object +// NewVagrantPackageUploadResponseWithDefaults instantiates a new VagrantPackageUploadResponse object // This constructor will only assign default values to properties that have it defined, // but it doesn't guarantee that properties required by API are set -func NewVagrantPackageUploadWithDefaults() *VagrantPackageUpload { - this := VagrantPackageUpload{} +func NewVagrantPackageUploadResponseWithDefaults() *VagrantPackageUploadResponse { + this := VagrantPackageUploadResponse{} return &this } // GetArchitectures returns the Architectures field value if set, zero value otherwise. -func (o *VagrantPackageUpload) GetArchitectures() []PackagesOwnerRepoArchitectures { - if o == nil || o.Architectures == nil { - var ret []PackagesOwnerRepoArchitectures +func (o *VagrantPackageUploadResponse) GetArchitectures() []Architecture { + if o == nil || isNil(o.Architectures) { + var ret []Architecture return ret } return o.Architectures @@ -184,62 +145,73 @@ func (o *VagrantPackageUpload) GetArchitectures() []PackagesOwnerRepoArchitectur // GetArchitecturesOk returns a tuple with the Architectures field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *VagrantPackageUpload) GetArchitecturesOk() ([]PackagesOwnerRepoArchitectures, bool) { - if o == nil || o.Architectures == nil { +func (o *VagrantPackageUploadResponse) GetArchitecturesOk() ([]Architecture, bool) { + if o == nil || isNil(o.Architectures) { return nil, false } return o.Architectures, true } // HasArchitectures returns a boolean if a field has been set. -func (o *VagrantPackageUpload) HasArchitectures() bool { - if o != nil && o.Architectures != nil { +func (o *VagrantPackageUploadResponse) HasArchitectures() bool { + if o != nil && !isNil(o.Architectures) { return true } return false } -// SetArchitectures gets a reference to the given []PackagesOwnerRepoArchitectures and assigns it to the Architectures field. -func (o *VagrantPackageUpload) SetArchitectures(v []PackagesOwnerRepoArchitectures) { +// SetArchitectures gets a reference to the given []Architecture and assigns it to the Architectures field. +func (o *VagrantPackageUploadResponse) SetArchitectures(v []Architecture) { o.Architectures = v } -// GetCdnUrl returns the CdnUrl field value if set, zero value otherwise. -func (o *VagrantPackageUpload) GetCdnUrl() string { - if o == nil || o.CdnUrl == nil { +// GetCdnUrl returns the CdnUrl field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *VagrantPackageUploadResponse) GetCdnUrl() string { + if o == nil || isNil(o.CdnUrl.Get()) { var ret string return ret } - return *o.CdnUrl + return *o.CdnUrl.Get() } // GetCdnUrlOk returns a tuple with the CdnUrl field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *VagrantPackageUpload) GetCdnUrlOk() (*string, bool) { - if o == nil || o.CdnUrl == nil { +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *VagrantPackageUploadResponse) GetCdnUrlOk() (*string, bool) { + if o == nil { return nil, false } - return o.CdnUrl, true + return o.CdnUrl.Get(), o.CdnUrl.IsSet() } // HasCdnUrl returns a boolean if a field has been set. -func (o *VagrantPackageUpload) HasCdnUrl() bool { - if o != nil && o.CdnUrl != nil { +func (o *VagrantPackageUploadResponse) HasCdnUrl() bool { + if o != nil && o.CdnUrl.IsSet() { return true } return false } -// SetCdnUrl gets a reference to the given string and assigns it to the CdnUrl field. -func (o *VagrantPackageUpload) SetCdnUrl(v string) { - o.CdnUrl = &v +// SetCdnUrl gets a reference to the given NullableString and assigns it to the CdnUrl field. +func (o *VagrantPackageUploadResponse) SetCdnUrl(v string) { + o.CdnUrl.Set(&v) +} + +// SetCdnUrlNil sets the value for CdnUrl to be an explicit nil +func (o *VagrantPackageUploadResponse) SetCdnUrlNil() { + o.CdnUrl.Set(nil) +} + +// UnsetCdnUrl ensures that no value is present for CdnUrl, not even an explicit nil +func (o *VagrantPackageUploadResponse) UnsetCdnUrl() { + o.CdnUrl.Unset() } // GetChecksumMd5 returns the ChecksumMd5 field value if set, zero value otherwise. -func (o *VagrantPackageUpload) GetChecksumMd5() string { - if o == nil || o.ChecksumMd5 == nil { +func (o *VagrantPackageUploadResponse) GetChecksumMd5() string { + if o == nil || isNil(o.ChecksumMd5) { var ret string return ret } @@ -248,16 +220,16 @@ func (o *VagrantPackageUpload) GetChecksumMd5() string { // GetChecksumMd5Ok returns a tuple with the ChecksumMd5 field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *VagrantPackageUpload) GetChecksumMd5Ok() (*string, bool) { - if o == nil || o.ChecksumMd5 == nil { +func (o *VagrantPackageUploadResponse) GetChecksumMd5Ok() (*string, bool) { + if o == nil || isNil(o.ChecksumMd5) { return nil, false } return o.ChecksumMd5, true } // HasChecksumMd5 returns a boolean if a field has been set. -func (o *VagrantPackageUpload) HasChecksumMd5() bool { - if o != nil && o.ChecksumMd5 != nil { +func (o *VagrantPackageUploadResponse) HasChecksumMd5() bool { + if o != nil && !isNil(o.ChecksumMd5) { return true } @@ -265,13 +237,13 @@ func (o *VagrantPackageUpload) HasChecksumMd5() bool { } // SetChecksumMd5 gets a reference to the given string and assigns it to the ChecksumMd5 field. -func (o *VagrantPackageUpload) SetChecksumMd5(v string) { +func (o *VagrantPackageUploadResponse) SetChecksumMd5(v string) { o.ChecksumMd5 = &v } // GetChecksumSha1 returns the ChecksumSha1 field value if set, zero value otherwise. -func (o *VagrantPackageUpload) GetChecksumSha1() string { - if o == nil || o.ChecksumSha1 == nil { +func (o *VagrantPackageUploadResponse) GetChecksumSha1() string { + if o == nil || isNil(o.ChecksumSha1) { var ret string return ret } @@ -280,16 +252,16 @@ func (o *VagrantPackageUpload) GetChecksumSha1() string { // GetChecksumSha1Ok returns a tuple with the ChecksumSha1 field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *VagrantPackageUpload) GetChecksumSha1Ok() (*string, bool) { - if o == nil || o.ChecksumSha1 == nil { +func (o *VagrantPackageUploadResponse) GetChecksumSha1Ok() (*string, bool) { + if o == nil || isNil(o.ChecksumSha1) { return nil, false } return o.ChecksumSha1, true } // HasChecksumSha1 returns a boolean if a field has been set. -func (o *VagrantPackageUpload) HasChecksumSha1() bool { - if o != nil && o.ChecksumSha1 != nil { +func (o *VagrantPackageUploadResponse) HasChecksumSha1() bool { + if o != nil && !isNil(o.ChecksumSha1) { return true } @@ -297,13 +269,13 @@ func (o *VagrantPackageUpload) HasChecksumSha1() bool { } // SetChecksumSha1 gets a reference to the given string and assigns it to the ChecksumSha1 field. -func (o *VagrantPackageUpload) SetChecksumSha1(v string) { +func (o *VagrantPackageUploadResponse) SetChecksumSha1(v string) { o.ChecksumSha1 = &v } // GetChecksumSha256 returns the ChecksumSha256 field value if set, zero value otherwise. -func (o *VagrantPackageUpload) GetChecksumSha256() string { - if o == nil || o.ChecksumSha256 == nil { +func (o *VagrantPackageUploadResponse) GetChecksumSha256() string { + if o == nil || isNil(o.ChecksumSha256) { var ret string return ret } @@ -312,16 +284,16 @@ func (o *VagrantPackageUpload) GetChecksumSha256() string { // GetChecksumSha256Ok returns a tuple with the ChecksumSha256 field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *VagrantPackageUpload) GetChecksumSha256Ok() (*string, bool) { - if o == nil || o.ChecksumSha256 == nil { +func (o *VagrantPackageUploadResponse) GetChecksumSha256Ok() (*string, bool) { + if o == nil || isNil(o.ChecksumSha256) { return nil, false } return o.ChecksumSha256, true } // HasChecksumSha256 returns a boolean if a field has been set. -func (o *VagrantPackageUpload) HasChecksumSha256() bool { - if o != nil && o.ChecksumSha256 != nil { +func (o *VagrantPackageUploadResponse) HasChecksumSha256() bool { + if o != nil && !isNil(o.ChecksumSha256) { return true } @@ -329,13 +301,13 @@ func (o *VagrantPackageUpload) HasChecksumSha256() bool { } // SetChecksumSha256 gets a reference to the given string and assigns it to the ChecksumSha256 field. -func (o *VagrantPackageUpload) SetChecksumSha256(v string) { +func (o *VagrantPackageUploadResponse) SetChecksumSha256(v string) { o.ChecksumSha256 = &v } // GetChecksumSha512 returns the ChecksumSha512 field value if set, zero value otherwise. -func (o *VagrantPackageUpload) GetChecksumSha512() string { - if o == nil || o.ChecksumSha512 == nil { +func (o *VagrantPackageUploadResponse) GetChecksumSha512() string { + if o == nil || isNil(o.ChecksumSha512) { var ret string return ret } @@ -344,16 +316,16 @@ func (o *VagrantPackageUpload) GetChecksumSha512() string { // GetChecksumSha512Ok returns a tuple with the ChecksumSha512 field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *VagrantPackageUpload) GetChecksumSha512Ok() (*string, bool) { - if o == nil || o.ChecksumSha512 == nil { +func (o *VagrantPackageUploadResponse) GetChecksumSha512Ok() (*string, bool) { + if o == nil || isNil(o.ChecksumSha512) { return nil, false } return o.ChecksumSha512, true } // HasChecksumSha512 returns a boolean if a field has been set. -func (o *VagrantPackageUpload) HasChecksumSha512() bool { - if o != nil && o.ChecksumSha512 != nil { +func (o *VagrantPackageUploadResponse) HasChecksumSha512() bool { + if o != nil && !isNil(o.ChecksumSha512) { return true } @@ -361,13 +333,13 @@ func (o *VagrantPackageUpload) HasChecksumSha512() bool { } // SetChecksumSha512 gets a reference to the given string and assigns it to the ChecksumSha512 field. -func (o *VagrantPackageUpload) SetChecksumSha512(v string) { +func (o *VagrantPackageUploadResponse) SetChecksumSha512(v string) { o.ChecksumSha512 = &v } // GetDependenciesChecksumMd5 returns the DependenciesChecksumMd5 field value if set, zero value otherwise. -func (o *VagrantPackageUpload) GetDependenciesChecksumMd5() string { - if o == nil || o.DependenciesChecksumMd5 == nil { +func (o *VagrantPackageUploadResponse) GetDependenciesChecksumMd5() string { + if o == nil || isNil(o.DependenciesChecksumMd5) { var ret string return ret } @@ -376,16 +348,16 @@ func (o *VagrantPackageUpload) GetDependenciesChecksumMd5() string { // GetDependenciesChecksumMd5Ok returns a tuple with the DependenciesChecksumMd5 field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *VagrantPackageUpload) GetDependenciesChecksumMd5Ok() (*string, bool) { - if o == nil || o.DependenciesChecksumMd5 == nil { +func (o *VagrantPackageUploadResponse) GetDependenciesChecksumMd5Ok() (*string, bool) { + if o == nil || isNil(o.DependenciesChecksumMd5) { return nil, false } return o.DependenciesChecksumMd5, true } // HasDependenciesChecksumMd5 returns a boolean if a field has been set. -func (o *VagrantPackageUpload) HasDependenciesChecksumMd5() bool { - if o != nil && o.DependenciesChecksumMd5 != nil { +func (o *VagrantPackageUploadResponse) HasDependenciesChecksumMd5() bool { + if o != nil && !isNil(o.DependenciesChecksumMd5) { return true } @@ -393,13 +365,13 @@ func (o *VagrantPackageUpload) HasDependenciesChecksumMd5() bool { } // SetDependenciesChecksumMd5 gets a reference to the given string and assigns it to the DependenciesChecksumMd5 field. -func (o *VagrantPackageUpload) SetDependenciesChecksumMd5(v string) { +func (o *VagrantPackageUploadResponse) SetDependenciesChecksumMd5(v string) { o.DependenciesChecksumMd5 = &v } // GetDependenciesUrl returns the DependenciesUrl field value if set, zero value otherwise. -func (o *VagrantPackageUpload) GetDependenciesUrl() string { - if o == nil || o.DependenciesUrl == nil { +func (o *VagrantPackageUploadResponse) GetDependenciesUrl() string { + if o == nil || isNil(o.DependenciesUrl) { var ret string return ret } @@ -408,16 +380,16 @@ func (o *VagrantPackageUpload) GetDependenciesUrl() string { // GetDependenciesUrlOk returns a tuple with the DependenciesUrl field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *VagrantPackageUpload) GetDependenciesUrlOk() (*string, bool) { - if o == nil || o.DependenciesUrl == nil { +func (o *VagrantPackageUploadResponse) GetDependenciesUrlOk() (*string, bool) { + if o == nil || isNil(o.DependenciesUrl) { return nil, false } return o.DependenciesUrl, true } // HasDependenciesUrl returns a boolean if a field has been set. -func (o *VagrantPackageUpload) HasDependenciesUrl() bool { - if o != nil && o.DependenciesUrl != nil { +func (o *VagrantPackageUploadResponse) HasDependenciesUrl() bool { + if o != nil && !isNil(o.DependenciesUrl) { return true } @@ -425,13 +397,13 @@ func (o *VagrantPackageUpload) HasDependenciesUrl() bool { } // SetDependenciesUrl gets a reference to the given string and assigns it to the DependenciesUrl field. -func (o *VagrantPackageUpload) SetDependenciesUrl(v string) { +func (o *VagrantPackageUploadResponse) SetDependenciesUrl(v string) { o.DependenciesUrl = &v } // GetDescription returns the Description field value if set, zero value otherwise. -func (o *VagrantPackageUpload) GetDescription() string { - if o == nil || o.Description == nil { +func (o *VagrantPackageUploadResponse) GetDescription() string { + if o == nil || isNil(o.Description) { var ret string return ret } @@ -440,16 +412,16 @@ func (o *VagrantPackageUpload) GetDescription() string { // GetDescriptionOk returns a tuple with the Description field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *VagrantPackageUpload) GetDescriptionOk() (*string, bool) { - if o == nil || o.Description == nil { +func (o *VagrantPackageUploadResponse) GetDescriptionOk() (*string, bool) { + if o == nil || isNil(o.Description) { return nil, false } return o.Description, true } // HasDescription returns a boolean if a field has been set. -func (o *VagrantPackageUpload) HasDescription() bool { - if o != nil && o.Description != nil { +func (o *VagrantPackageUploadResponse) HasDescription() bool { + if o != nil && !isNil(o.Description) { return true } @@ -457,77 +429,88 @@ func (o *VagrantPackageUpload) HasDescription() bool { } // SetDescription gets a reference to the given string and assigns it to the Description field. -func (o *VagrantPackageUpload) SetDescription(v string) { +func (o *VagrantPackageUploadResponse) SetDescription(v string) { o.Description = &v } -// GetDistro returns the Distro field value if set, zero value otherwise. -func (o *VagrantPackageUpload) GetDistro() map[string]interface{} { - if o == nil || o.Distro == nil { - var ret map[string]interface{} +// GetDistro returns the Distro field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *VagrantPackageUploadResponse) GetDistro() Distribution { + if o == nil || isNil(o.Distro.Get()) { + var ret Distribution return ret } - return o.Distro + return *o.Distro.Get() } // GetDistroOk returns a tuple with the Distro field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *VagrantPackageUpload) GetDistroOk() (map[string]interface{}, bool) { - if o == nil || o.Distro == nil { +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *VagrantPackageUploadResponse) GetDistroOk() (*Distribution, bool) { + if o == nil { return nil, false } - return o.Distro, true + return o.Distro.Get(), o.Distro.IsSet() } // HasDistro returns a boolean if a field has been set. -func (o *VagrantPackageUpload) HasDistro() bool { - if o != nil && o.Distro != nil { +func (o *VagrantPackageUploadResponse) HasDistro() bool { + if o != nil && o.Distro.IsSet() { return true } return false } -// SetDistro gets a reference to the given map[string]interface{} and assigns it to the Distro field. -func (o *VagrantPackageUpload) SetDistro(v map[string]interface{}) { - o.Distro = v +// SetDistro gets a reference to the given NullableDistribution and assigns it to the Distro field. +func (o *VagrantPackageUploadResponse) SetDistro(v Distribution) { + o.Distro.Set(&v) +} + +// SetDistroNil sets the value for Distro to be an explicit nil +func (o *VagrantPackageUploadResponse) SetDistroNil() { + o.Distro.Set(nil) +} + +// UnsetDistro ensures that no value is present for Distro, not even an explicit nil +func (o *VagrantPackageUploadResponse) UnsetDistro() { + o.Distro.Unset() } // GetDistroVersion returns the DistroVersion field value if set, zero value otherwise. -func (o *VagrantPackageUpload) GetDistroVersion() map[string]interface{} { - if o == nil || o.DistroVersion == nil { - var ret map[string]interface{} +func (o *VagrantPackageUploadResponse) GetDistroVersion() DistributionVersion { + if o == nil || isNil(o.DistroVersion) { + var ret DistributionVersion return ret } - return o.DistroVersion + return *o.DistroVersion } // GetDistroVersionOk returns a tuple with the DistroVersion field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *VagrantPackageUpload) GetDistroVersionOk() (map[string]interface{}, bool) { - if o == nil || o.DistroVersion == nil { +func (o *VagrantPackageUploadResponse) GetDistroVersionOk() (*DistributionVersion, bool) { + if o == nil || isNil(o.DistroVersion) { return nil, false } return o.DistroVersion, true } // HasDistroVersion returns a boolean if a field has been set. -func (o *VagrantPackageUpload) HasDistroVersion() bool { - if o != nil && o.DistroVersion != nil { +func (o *VagrantPackageUploadResponse) HasDistroVersion() bool { + if o != nil && !isNil(o.DistroVersion) { return true } return false } -// SetDistroVersion gets a reference to the given map[string]interface{} and assigns it to the DistroVersion field. -func (o *VagrantPackageUpload) SetDistroVersion(v map[string]interface{}) { - o.DistroVersion = v +// SetDistroVersion gets a reference to the given DistributionVersion and assigns it to the DistroVersion field. +func (o *VagrantPackageUploadResponse) SetDistroVersion(v DistributionVersion) { + o.DistroVersion = &v } // GetDownloads returns the Downloads field value if set, zero value otherwise. -func (o *VagrantPackageUpload) GetDownloads() int64 { - if o == nil || o.Downloads == nil { +func (o *VagrantPackageUploadResponse) GetDownloads() int64 { + if o == nil || isNil(o.Downloads) { var ret int64 return ret } @@ -536,16 +519,16 @@ func (o *VagrantPackageUpload) GetDownloads() int64 { // GetDownloadsOk returns a tuple with the Downloads field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *VagrantPackageUpload) GetDownloadsOk() (*int64, bool) { - if o == nil || o.Downloads == nil { +func (o *VagrantPackageUploadResponse) GetDownloadsOk() (*int64, bool) { + if o == nil || isNil(o.Downloads) { return nil, false } return o.Downloads, true } // HasDownloads returns a boolean if a field has been set. -func (o *VagrantPackageUpload) HasDownloads() bool { - if o != nil && o.Downloads != nil { +func (o *VagrantPackageUploadResponse) HasDownloads() bool { + if o != nil && !isNil(o.Downloads) { return true } @@ -553,13 +536,13 @@ func (o *VagrantPackageUpload) HasDownloads() bool { } // SetDownloads gets a reference to the given int64 and assigns it to the Downloads field. -func (o *VagrantPackageUpload) SetDownloads(v int64) { +func (o *VagrantPackageUploadResponse) SetDownloads(v int64) { o.Downloads = &v } // GetEpoch returns the Epoch field value if set, zero value otherwise. -func (o *VagrantPackageUpload) GetEpoch() int64 { - if o == nil || o.Epoch == nil { +func (o *VagrantPackageUploadResponse) GetEpoch() int64 { + if o == nil || isNil(o.Epoch) { var ret int64 return ret } @@ -568,16 +551,16 @@ func (o *VagrantPackageUpload) GetEpoch() int64 { // GetEpochOk returns a tuple with the Epoch field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *VagrantPackageUpload) GetEpochOk() (*int64, bool) { - if o == nil || o.Epoch == nil { +func (o *VagrantPackageUploadResponse) GetEpochOk() (*int64, bool) { + if o == nil || isNil(o.Epoch) { return nil, false } return o.Epoch, true } // HasEpoch returns a boolean if a field has been set. -func (o *VagrantPackageUpload) HasEpoch() bool { - if o != nil && o.Epoch != nil { +func (o *VagrantPackageUploadResponse) HasEpoch() bool { + if o != nil && !isNil(o.Epoch) { return true } @@ -585,13 +568,13 @@ func (o *VagrantPackageUpload) HasEpoch() bool { } // SetEpoch gets a reference to the given int64 and assigns it to the Epoch field. -func (o *VagrantPackageUpload) SetEpoch(v int64) { +func (o *VagrantPackageUploadResponse) SetEpoch(v int64) { o.Epoch = &v } // GetExtension returns the Extension field value if set, zero value otherwise. -func (o *VagrantPackageUpload) GetExtension() string { - if o == nil || o.Extension == nil { +func (o *VagrantPackageUploadResponse) GetExtension() string { + if o == nil || isNil(o.Extension) { var ret string return ret } @@ -600,16 +583,16 @@ func (o *VagrantPackageUpload) GetExtension() string { // GetExtensionOk returns a tuple with the Extension field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *VagrantPackageUpload) GetExtensionOk() (*string, bool) { - if o == nil || o.Extension == nil { +func (o *VagrantPackageUploadResponse) GetExtensionOk() (*string, bool) { + if o == nil || isNil(o.Extension) { return nil, false } return o.Extension, true } // HasExtension returns a boolean if a field has been set. -func (o *VagrantPackageUpload) HasExtension() bool { - if o != nil && o.Extension != nil { +func (o *VagrantPackageUploadResponse) HasExtension() bool { + if o != nil && !isNil(o.Extension) { return true } @@ -617,13 +600,13 @@ func (o *VagrantPackageUpload) HasExtension() bool { } // SetExtension gets a reference to the given string and assigns it to the Extension field. -func (o *VagrantPackageUpload) SetExtension(v string) { +func (o *VagrantPackageUploadResponse) SetExtension(v string) { o.Extension = &v } // GetFilename returns the Filename field value if set, zero value otherwise. -func (o *VagrantPackageUpload) GetFilename() string { - if o == nil || o.Filename == nil { +func (o *VagrantPackageUploadResponse) GetFilename() string { + if o == nil || isNil(o.Filename) { var ret string return ret } @@ -632,16 +615,16 @@ func (o *VagrantPackageUpload) GetFilename() string { // GetFilenameOk returns a tuple with the Filename field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *VagrantPackageUpload) GetFilenameOk() (*string, bool) { - if o == nil || o.Filename == nil { +func (o *VagrantPackageUploadResponse) GetFilenameOk() (*string, bool) { + if o == nil || isNil(o.Filename) { return nil, false } return o.Filename, true } // HasFilename returns a boolean if a field has been set. -func (o *VagrantPackageUpload) HasFilename() bool { - if o != nil && o.Filename != nil { +func (o *VagrantPackageUploadResponse) HasFilename() bool { + if o != nil && !isNil(o.Filename) { return true } @@ -649,14 +632,14 @@ func (o *VagrantPackageUpload) HasFilename() bool { } // SetFilename gets a reference to the given string and assigns it to the Filename field. -func (o *VagrantPackageUpload) SetFilename(v string) { +func (o *VagrantPackageUploadResponse) SetFilename(v string) { o.Filename = &v } // GetFiles returns the Files field value if set, zero value otherwise. -func (o *VagrantPackageUpload) GetFiles() []PackagesOwnerRepoFiles { - if o == nil || o.Files == nil { - var ret []PackagesOwnerRepoFiles +func (o *VagrantPackageUploadResponse) GetFiles() []PackageFile { + if o == nil || isNil(o.Files) { + var ret []PackageFile return ret } return o.Files @@ -664,30 +647,30 @@ func (o *VagrantPackageUpload) GetFiles() []PackagesOwnerRepoFiles { // GetFilesOk returns a tuple with the Files field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *VagrantPackageUpload) GetFilesOk() ([]PackagesOwnerRepoFiles, bool) { - if o == nil || o.Files == nil { +func (o *VagrantPackageUploadResponse) GetFilesOk() ([]PackageFile, bool) { + if o == nil || isNil(o.Files) { return nil, false } return o.Files, true } // HasFiles returns a boolean if a field has been set. -func (o *VagrantPackageUpload) HasFiles() bool { - if o != nil && o.Files != nil { +func (o *VagrantPackageUploadResponse) HasFiles() bool { + if o != nil && !isNil(o.Files) { return true } return false } -// SetFiles gets a reference to the given []PackagesOwnerRepoFiles and assigns it to the Files field. -func (o *VagrantPackageUpload) SetFiles(v []PackagesOwnerRepoFiles) { +// SetFiles gets a reference to the given []PackageFile and assigns it to the Files field. +func (o *VagrantPackageUploadResponse) SetFiles(v []PackageFile) { o.Files = v } // GetFormat returns the Format field value if set, zero value otherwise. -func (o *VagrantPackageUpload) GetFormat() string { - if o == nil || o.Format == nil { +func (o *VagrantPackageUploadResponse) GetFormat() string { + if o == nil || isNil(o.Format) { var ret string return ret } @@ -696,16 +679,16 @@ func (o *VagrantPackageUpload) GetFormat() string { // GetFormatOk returns a tuple with the Format field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *VagrantPackageUpload) GetFormatOk() (*string, bool) { - if o == nil || o.Format == nil { +func (o *VagrantPackageUploadResponse) GetFormatOk() (*string, bool) { + if o == nil || isNil(o.Format) { return nil, false } return o.Format, true } // HasFormat returns a boolean if a field has been set. -func (o *VagrantPackageUpload) HasFormat() bool { - if o != nil && o.Format != nil { +func (o *VagrantPackageUploadResponse) HasFormat() bool { + if o != nil && !isNil(o.Format) { return true } @@ -713,13 +696,13 @@ func (o *VagrantPackageUpload) HasFormat() bool { } // SetFormat gets a reference to the given string and assigns it to the Format field. -func (o *VagrantPackageUpload) SetFormat(v string) { +func (o *VagrantPackageUploadResponse) SetFormat(v string) { o.Format = &v } // GetFormatUrl returns the FormatUrl field value if set, zero value otherwise. -func (o *VagrantPackageUpload) GetFormatUrl() string { - if o == nil || o.FormatUrl == nil { +func (o *VagrantPackageUploadResponse) GetFormatUrl() string { + if o == nil || isNil(o.FormatUrl) { var ret string return ret } @@ -728,16 +711,16 @@ func (o *VagrantPackageUpload) GetFormatUrl() string { // GetFormatUrlOk returns a tuple with the FormatUrl field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *VagrantPackageUpload) GetFormatUrlOk() (*string, bool) { - if o == nil || o.FormatUrl == nil { +func (o *VagrantPackageUploadResponse) GetFormatUrlOk() (*string, bool) { + if o == nil || isNil(o.FormatUrl) { return nil, false } return o.FormatUrl, true } // HasFormatUrl returns a boolean if a field has been set. -func (o *VagrantPackageUpload) HasFormatUrl() bool { - if o != nil && o.FormatUrl != nil { +func (o *VagrantPackageUploadResponse) HasFormatUrl() bool { + if o != nil && !isNil(o.FormatUrl) { return true } @@ -745,13 +728,13 @@ func (o *VagrantPackageUpload) HasFormatUrl() bool { } // SetFormatUrl gets a reference to the given string and assigns it to the FormatUrl field. -func (o *VagrantPackageUpload) SetFormatUrl(v string) { +func (o *VagrantPackageUploadResponse) SetFormatUrl(v string) { o.FormatUrl = &v } // GetIdentifierPerm returns the IdentifierPerm field value if set, zero value otherwise. -func (o *VagrantPackageUpload) GetIdentifierPerm() string { - if o == nil || o.IdentifierPerm == nil { +func (o *VagrantPackageUploadResponse) GetIdentifierPerm() string { + if o == nil || isNil(o.IdentifierPerm) { var ret string return ret } @@ -760,16 +743,16 @@ func (o *VagrantPackageUpload) GetIdentifierPerm() string { // GetIdentifierPermOk returns a tuple with the IdentifierPerm field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *VagrantPackageUpload) GetIdentifierPermOk() (*string, bool) { - if o == nil || o.IdentifierPerm == nil { +func (o *VagrantPackageUploadResponse) GetIdentifierPermOk() (*string, bool) { + if o == nil || isNil(o.IdentifierPerm) { return nil, false } return o.IdentifierPerm, true } // HasIdentifierPerm returns a boolean if a field has been set. -func (o *VagrantPackageUpload) HasIdentifierPerm() bool { - if o != nil && o.IdentifierPerm != nil { +func (o *VagrantPackageUploadResponse) HasIdentifierPerm() bool { + if o != nil && !isNil(o.IdentifierPerm) { return true } @@ -777,13 +760,13 @@ func (o *VagrantPackageUpload) HasIdentifierPerm() bool { } // SetIdentifierPerm gets a reference to the given string and assigns it to the IdentifierPerm field. -func (o *VagrantPackageUpload) SetIdentifierPerm(v string) { +func (o *VagrantPackageUploadResponse) SetIdentifierPerm(v string) { o.IdentifierPerm = &v } // GetIndexed returns the Indexed field value if set, zero value otherwise. -func (o *VagrantPackageUpload) GetIndexed() bool { - if o == nil || o.Indexed == nil { +func (o *VagrantPackageUploadResponse) GetIndexed() bool { + if o == nil || isNil(o.Indexed) { var ret bool return ret } @@ -792,16 +775,16 @@ func (o *VagrantPackageUpload) GetIndexed() bool { // GetIndexedOk returns a tuple with the Indexed field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *VagrantPackageUpload) GetIndexedOk() (*bool, bool) { - if o == nil || o.Indexed == nil { +func (o *VagrantPackageUploadResponse) GetIndexedOk() (*bool, bool) { + if o == nil || isNil(o.Indexed) { return nil, false } return o.Indexed, true } // HasIndexed returns a boolean if a field has been set. -func (o *VagrantPackageUpload) HasIndexed() bool { - if o != nil && o.Indexed != nil { +func (o *VagrantPackageUploadResponse) HasIndexed() bool { + if o != nil && !isNil(o.Indexed) { return true } @@ -809,13 +792,13 @@ func (o *VagrantPackageUpload) HasIndexed() bool { } // SetIndexed gets a reference to the given bool and assigns it to the Indexed field. -func (o *VagrantPackageUpload) SetIndexed(v bool) { +func (o *VagrantPackageUploadResponse) SetIndexed(v bool) { o.Indexed = &v } // GetIsDownloadable returns the IsDownloadable field value if set, zero value otherwise. -func (o *VagrantPackageUpload) GetIsDownloadable() bool { - if o == nil || o.IsDownloadable == nil { +func (o *VagrantPackageUploadResponse) GetIsDownloadable() bool { + if o == nil || isNil(o.IsDownloadable) { var ret bool return ret } @@ -824,16 +807,16 @@ func (o *VagrantPackageUpload) GetIsDownloadable() bool { // GetIsDownloadableOk returns a tuple with the IsDownloadable field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *VagrantPackageUpload) GetIsDownloadableOk() (*bool, bool) { - if o == nil || o.IsDownloadable == nil { +func (o *VagrantPackageUploadResponse) GetIsDownloadableOk() (*bool, bool) { + if o == nil || isNil(o.IsDownloadable) { return nil, false } return o.IsDownloadable, true } // HasIsDownloadable returns a boolean if a field has been set. -func (o *VagrantPackageUpload) HasIsDownloadable() bool { - if o != nil && o.IsDownloadable != nil { +func (o *VagrantPackageUploadResponse) HasIsDownloadable() bool { + if o != nil && !isNil(o.IsDownloadable) { return true } @@ -841,13 +824,13 @@ func (o *VagrantPackageUpload) HasIsDownloadable() bool { } // SetIsDownloadable gets a reference to the given bool and assigns it to the IsDownloadable field. -func (o *VagrantPackageUpload) SetIsDownloadable(v bool) { +func (o *VagrantPackageUploadResponse) SetIsDownloadable(v bool) { o.IsDownloadable = &v } // GetIsQuarantined returns the IsQuarantined field value if set, zero value otherwise. -func (o *VagrantPackageUpload) GetIsQuarantined() bool { - if o == nil || o.IsQuarantined == nil { +func (o *VagrantPackageUploadResponse) GetIsQuarantined() bool { + if o == nil || isNil(o.IsQuarantined) { var ret bool return ret } @@ -856,16 +839,16 @@ func (o *VagrantPackageUpload) GetIsQuarantined() bool { // GetIsQuarantinedOk returns a tuple with the IsQuarantined field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *VagrantPackageUpload) GetIsQuarantinedOk() (*bool, bool) { - if o == nil || o.IsQuarantined == nil { +func (o *VagrantPackageUploadResponse) GetIsQuarantinedOk() (*bool, bool) { + if o == nil || isNil(o.IsQuarantined) { return nil, false } return o.IsQuarantined, true } // HasIsQuarantined returns a boolean if a field has been set. -func (o *VagrantPackageUpload) HasIsQuarantined() bool { - if o != nil && o.IsQuarantined != nil { +func (o *VagrantPackageUploadResponse) HasIsQuarantined() bool { + if o != nil && !isNil(o.IsQuarantined) { return true } @@ -873,13 +856,13 @@ func (o *VagrantPackageUpload) HasIsQuarantined() bool { } // SetIsQuarantined gets a reference to the given bool and assigns it to the IsQuarantined field. -func (o *VagrantPackageUpload) SetIsQuarantined(v bool) { +func (o *VagrantPackageUploadResponse) SetIsQuarantined(v bool) { o.IsQuarantined = &v } // GetIsSyncAwaiting returns the IsSyncAwaiting field value if set, zero value otherwise. -func (o *VagrantPackageUpload) GetIsSyncAwaiting() bool { - if o == nil || o.IsSyncAwaiting == nil { +func (o *VagrantPackageUploadResponse) GetIsSyncAwaiting() bool { + if o == nil || isNil(o.IsSyncAwaiting) { var ret bool return ret } @@ -888,16 +871,16 @@ func (o *VagrantPackageUpload) GetIsSyncAwaiting() bool { // GetIsSyncAwaitingOk returns a tuple with the IsSyncAwaiting field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *VagrantPackageUpload) GetIsSyncAwaitingOk() (*bool, bool) { - if o == nil || o.IsSyncAwaiting == nil { +func (o *VagrantPackageUploadResponse) GetIsSyncAwaitingOk() (*bool, bool) { + if o == nil || isNil(o.IsSyncAwaiting) { return nil, false } return o.IsSyncAwaiting, true } // HasIsSyncAwaiting returns a boolean if a field has been set. -func (o *VagrantPackageUpload) HasIsSyncAwaiting() bool { - if o != nil && o.IsSyncAwaiting != nil { +func (o *VagrantPackageUploadResponse) HasIsSyncAwaiting() bool { + if o != nil && !isNil(o.IsSyncAwaiting) { return true } @@ -905,13 +888,13 @@ func (o *VagrantPackageUpload) HasIsSyncAwaiting() bool { } // SetIsSyncAwaiting gets a reference to the given bool and assigns it to the IsSyncAwaiting field. -func (o *VagrantPackageUpload) SetIsSyncAwaiting(v bool) { +func (o *VagrantPackageUploadResponse) SetIsSyncAwaiting(v bool) { o.IsSyncAwaiting = &v } // GetIsSyncCompleted returns the IsSyncCompleted field value if set, zero value otherwise. -func (o *VagrantPackageUpload) GetIsSyncCompleted() bool { - if o == nil || o.IsSyncCompleted == nil { +func (o *VagrantPackageUploadResponse) GetIsSyncCompleted() bool { + if o == nil || isNil(o.IsSyncCompleted) { var ret bool return ret } @@ -920,16 +903,16 @@ func (o *VagrantPackageUpload) GetIsSyncCompleted() bool { // GetIsSyncCompletedOk returns a tuple with the IsSyncCompleted field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *VagrantPackageUpload) GetIsSyncCompletedOk() (*bool, bool) { - if o == nil || o.IsSyncCompleted == nil { +func (o *VagrantPackageUploadResponse) GetIsSyncCompletedOk() (*bool, bool) { + if o == nil || isNil(o.IsSyncCompleted) { return nil, false } return o.IsSyncCompleted, true } // HasIsSyncCompleted returns a boolean if a field has been set. -func (o *VagrantPackageUpload) HasIsSyncCompleted() bool { - if o != nil && o.IsSyncCompleted != nil { +func (o *VagrantPackageUploadResponse) HasIsSyncCompleted() bool { + if o != nil && !isNil(o.IsSyncCompleted) { return true } @@ -937,13 +920,13 @@ func (o *VagrantPackageUpload) HasIsSyncCompleted() bool { } // SetIsSyncCompleted gets a reference to the given bool and assigns it to the IsSyncCompleted field. -func (o *VagrantPackageUpload) SetIsSyncCompleted(v bool) { +func (o *VagrantPackageUploadResponse) SetIsSyncCompleted(v bool) { o.IsSyncCompleted = &v } // GetIsSyncFailed returns the IsSyncFailed field value if set, zero value otherwise. -func (o *VagrantPackageUpload) GetIsSyncFailed() bool { - if o == nil || o.IsSyncFailed == nil { +func (o *VagrantPackageUploadResponse) GetIsSyncFailed() bool { + if o == nil || isNil(o.IsSyncFailed) { var ret bool return ret } @@ -952,16 +935,16 @@ func (o *VagrantPackageUpload) GetIsSyncFailed() bool { // GetIsSyncFailedOk returns a tuple with the IsSyncFailed field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *VagrantPackageUpload) GetIsSyncFailedOk() (*bool, bool) { - if o == nil || o.IsSyncFailed == nil { +func (o *VagrantPackageUploadResponse) GetIsSyncFailedOk() (*bool, bool) { + if o == nil || isNil(o.IsSyncFailed) { return nil, false } return o.IsSyncFailed, true } // HasIsSyncFailed returns a boolean if a field has been set. -func (o *VagrantPackageUpload) HasIsSyncFailed() bool { - if o != nil && o.IsSyncFailed != nil { +func (o *VagrantPackageUploadResponse) HasIsSyncFailed() bool { + if o != nil && !isNil(o.IsSyncFailed) { return true } @@ -969,13 +952,13 @@ func (o *VagrantPackageUpload) HasIsSyncFailed() bool { } // SetIsSyncFailed gets a reference to the given bool and assigns it to the IsSyncFailed field. -func (o *VagrantPackageUpload) SetIsSyncFailed(v bool) { +func (o *VagrantPackageUploadResponse) SetIsSyncFailed(v bool) { o.IsSyncFailed = &v } // GetIsSyncInFlight returns the IsSyncInFlight field value if set, zero value otherwise. -func (o *VagrantPackageUpload) GetIsSyncInFlight() bool { - if o == nil || o.IsSyncInFlight == nil { +func (o *VagrantPackageUploadResponse) GetIsSyncInFlight() bool { + if o == nil || isNil(o.IsSyncInFlight) { var ret bool return ret } @@ -984,16 +967,16 @@ func (o *VagrantPackageUpload) GetIsSyncInFlight() bool { // GetIsSyncInFlightOk returns a tuple with the IsSyncInFlight field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *VagrantPackageUpload) GetIsSyncInFlightOk() (*bool, bool) { - if o == nil || o.IsSyncInFlight == nil { +func (o *VagrantPackageUploadResponse) GetIsSyncInFlightOk() (*bool, bool) { + if o == nil || isNil(o.IsSyncInFlight) { return nil, false } return o.IsSyncInFlight, true } // HasIsSyncInFlight returns a boolean if a field has been set. -func (o *VagrantPackageUpload) HasIsSyncInFlight() bool { - if o != nil && o.IsSyncInFlight != nil { +func (o *VagrantPackageUploadResponse) HasIsSyncInFlight() bool { + if o != nil && !isNil(o.IsSyncInFlight) { return true } @@ -1001,13 +984,13 @@ func (o *VagrantPackageUpload) HasIsSyncInFlight() bool { } // SetIsSyncInFlight gets a reference to the given bool and assigns it to the IsSyncInFlight field. -func (o *VagrantPackageUpload) SetIsSyncInFlight(v bool) { +func (o *VagrantPackageUploadResponse) SetIsSyncInFlight(v bool) { o.IsSyncInFlight = &v } // GetIsSyncInProgress returns the IsSyncInProgress field value if set, zero value otherwise. -func (o *VagrantPackageUpload) GetIsSyncInProgress() bool { - if o == nil || o.IsSyncInProgress == nil { +func (o *VagrantPackageUploadResponse) GetIsSyncInProgress() bool { + if o == nil || isNil(o.IsSyncInProgress) { var ret bool return ret } @@ -1016,16 +999,16 @@ func (o *VagrantPackageUpload) GetIsSyncInProgress() bool { // GetIsSyncInProgressOk returns a tuple with the IsSyncInProgress field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *VagrantPackageUpload) GetIsSyncInProgressOk() (*bool, bool) { - if o == nil || o.IsSyncInProgress == nil { +func (o *VagrantPackageUploadResponse) GetIsSyncInProgressOk() (*bool, bool) { + if o == nil || isNil(o.IsSyncInProgress) { return nil, false } return o.IsSyncInProgress, true } // HasIsSyncInProgress returns a boolean if a field has been set. -func (o *VagrantPackageUpload) HasIsSyncInProgress() bool { - if o != nil && o.IsSyncInProgress != nil { +func (o *VagrantPackageUploadResponse) HasIsSyncInProgress() bool { + if o != nil && !isNil(o.IsSyncInProgress) { return true } @@ -1033,13 +1016,13 @@ func (o *VagrantPackageUpload) HasIsSyncInProgress() bool { } // SetIsSyncInProgress gets a reference to the given bool and assigns it to the IsSyncInProgress field. -func (o *VagrantPackageUpload) SetIsSyncInProgress(v bool) { +func (o *VagrantPackageUploadResponse) SetIsSyncInProgress(v bool) { o.IsSyncInProgress = &v } // GetLicense returns the License field value if set, zero value otherwise. -func (o *VagrantPackageUpload) GetLicense() string { - if o == nil || o.License == nil { +func (o *VagrantPackageUploadResponse) GetLicense() string { + if o == nil || isNil(o.License) { var ret string return ret } @@ -1048,16 +1031,16 @@ func (o *VagrantPackageUpload) GetLicense() string { // GetLicenseOk returns a tuple with the License field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *VagrantPackageUpload) GetLicenseOk() (*string, bool) { - if o == nil || o.License == nil { +func (o *VagrantPackageUploadResponse) GetLicenseOk() (*string, bool) { + if o == nil || isNil(o.License) { return nil, false } return o.License, true } // HasLicense returns a boolean if a field has been set. -func (o *VagrantPackageUpload) HasLicense() bool { - if o != nil && o.License != nil { +func (o *VagrantPackageUploadResponse) HasLicense() bool { + if o != nil && !isNil(o.License) { return true } @@ -1065,12 +1048,12 @@ func (o *VagrantPackageUpload) HasLicense() bool { } // SetLicense gets a reference to the given string and assigns it to the License field. -func (o *VagrantPackageUpload) SetLicense(v string) { +func (o *VagrantPackageUploadResponse) SetLicense(v string) { o.License = &v } // GetName returns the Name field value -func (o *VagrantPackageUpload) GetName() string { +func (o *VagrantPackageUploadResponse) GetName() string { if o == nil { var ret string return ret @@ -1081,7 +1064,7 @@ func (o *VagrantPackageUpload) GetName() string { // GetNameOk returns a tuple with the Name field value // and a boolean to check if the value has been set. -func (o *VagrantPackageUpload) GetNameOk() (*string, bool) { +func (o *VagrantPackageUploadResponse) GetNameOk() (*string, bool) { if o == nil { return nil, false } @@ -1089,13 +1072,13 @@ func (o *VagrantPackageUpload) GetNameOk() (*string, bool) { } // SetName sets field value -func (o *VagrantPackageUpload) SetName(v string) { +func (o *VagrantPackageUploadResponse) SetName(v string) { o.Name = v } // GetNamespace returns the Namespace field value if set, zero value otherwise. -func (o *VagrantPackageUpload) GetNamespace() string { - if o == nil || o.Namespace == nil { +func (o *VagrantPackageUploadResponse) GetNamespace() string { + if o == nil || isNil(o.Namespace) { var ret string return ret } @@ -1104,16 +1087,16 @@ func (o *VagrantPackageUpload) GetNamespace() string { // GetNamespaceOk returns a tuple with the Namespace field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *VagrantPackageUpload) GetNamespaceOk() (*string, bool) { - if o == nil || o.Namespace == nil { +func (o *VagrantPackageUploadResponse) GetNamespaceOk() (*string, bool) { + if o == nil || isNil(o.Namespace) { return nil, false } return o.Namespace, true } // HasNamespace returns a boolean if a field has been set. -func (o *VagrantPackageUpload) HasNamespace() bool { - if o != nil && o.Namespace != nil { +func (o *VagrantPackageUploadResponse) HasNamespace() bool { + if o != nil && !isNil(o.Namespace) { return true } @@ -1121,13 +1104,13 @@ func (o *VagrantPackageUpload) HasNamespace() bool { } // SetNamespace gets a reference to the given string and assigns it to the Namespace field. -func (o *VagrantPackageUpload) SetNamespace(v string) { +func (o *VagrantPackageUploadResponse) SetNamespace(v string) { o.Namespace = &v } // GetNamespaceUrl returns the NamespaceUrl field value if set, zero value otherwise. -func (o *VagrantPackageUpload) GetNamespaceUrl() string { - if o == nil || o.NamespaceUrl == nil { +func (o *VagrantPackageUploadResponse) GetNamespaceUrl() string { + if o == nil || isNil(o.NamespaceUrl) { var ret string return ret } @@ -1136,16 +1119,16 @@ func (o *VagrantPackageUpload) GetNamespaceUrl() string { // GetNamespaceUrlOk returns a tuple with the NamespaceUrl field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *VagrantPackageUpload) GetNamespaceUrlOk() (*string, bool) { - if o == nil || o.NamespaceUrl == nil { +func (o *VagrantPackageUploadResponse) GetNamespaceUrlOk() (*string, bool) { + if o == nil || isNil(o.NamespaceUrl) { return nil, false } return o.NamespaceUrl, true } // HasNamespaceUrl returns a boolean if a field has been set. -func (o *VagrantPackageUpload) HasNamespaceUrl() bool { - if o != nil && o.NamespaceUrl != nil { +func (o *VagrantPackageUploadResponse) HasNamespaceUrl() bool { + if o != nil && !isNil(o.NamespaceUrl) { return true } @@ -1153,13 +1136,13 @@ func (o *VagrantPackageUpload) HasNamespaceUrl() bool { } // SetNamespaceUrl gets a reference to the given string and assigns it to the NamespaceUrl field. -func (o *VagrantPackageUpload) SetNamespaceUrl(v string) { +func (o *VagrantPackageUploadResponse) SetNamespaceUrl(v string) { o.NamespaceUrl = &v } // GetNumFiles returns the NumFiles field value if set, zero value otherwise. -func (o *VagrantPackageUpload) GetNumFiles() int64 { - if o == nil || o.NumFiles == nil { +func (o *VagrantPackageUploadResponse) GetNumFiles() int64 { + if o == nil || isNil(o.NumFiles) { var ret int64 return ret } @@ -1168,16 +1151,16 @@ func (o *VagrantPackageUpload) GetNumFiles() int64 { // GetNumFilesOk returns a tuple with the NumFiles field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *VagrantPackageUpload) GetNumFilesOk() (*int64, bool) { - if o == nil || o.NumFiles == nil { +func (o *VagrantPackageUploadResponse) GetNumFilesOk() (*int64, bool) { + if o == nil || isNil(o.NumFiles) { return nil, false } return o.NumFiles, true } // HasNumFiles returns a boolean if a field has been set. -func (o *VagrantPackageUpload) HasNumFiles() bool { - if o != nil && o.NumFiles != nil { +func (o *VagrantPackageUploadResponse) HasNumFiles() bool { + if o != nil && !isNil(o.NumFiles) { return true } @@ -1185,13 +1168,77 @@ func (o *VagrantPackageUpload) HasNumFiles() bool { } // SetNumFiles gets a reference to the given int64 and assigns it to the NumFiles field. -func (o *VagrantPackageUpload) SetNumFiles(v int64) { +func (o *VagrantPackageUploadResponse) SetNumFiles(v int64) { o.NumFiles = &v } +// GetOriginRepository returns the OriginRepository field value if set, zero value otherwise. +func (o *VagrantPackageUploadResponse) GetOriginRepository() string { + if o == nil || isNil(o.OriginRepository) { + var ret string + return ret + } + return *o.OriginRepository +} + +// GetOriginRepositoryOk returns a tuple with the OriginRepository field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *VagrantPackageUploadResponse) GetOriginRepositoryOk() (*string, bool) { + if o == nil || isNil(o.OriginRepository) { + return nil, false + } + return o.OriginRepository, true +} + +// HasOriginRepository returns a boolean if a field has been set. +func (o *VagrantPackageUploadResponse) HasOriginRepository() bool { + if o != nil && !isNil(o.OriginRepository) { + return true + } + + return false +} + +// SetOriginRepository gets a reference to the given string and assigns it to the OriginRepository field. +func (o *VagrantPackageUploadResponse) SetOriginRepository(v string) { + o.OriginRepository = &v +} + +// GetOriginRepositoryUrl returns the OriginRepositoryUrl field value if set, zero value otherwise. +func (o *VagrantPackageUploadResponse) GetOriginRepositoryUrl() string { + if o == nil || isNil(o.OriginRepositoryUrl) { + var ret string + return ret + } + return *o.OriginRepositoryUrl +} + +// GetOriginRepositoryUrlOk returns a tuple with the OriginRepositoryUrl field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *VagrantPackageUploadResponse) GetOriginRepositoryUrlOk() (*string, bool) { + if o == nil || isNil(o.OriginRepositoryUrl) { + return nil, false + } + return o.OriginRepositoryUrl, true +} + +// HasOriginRepositoryUrl returns a boolean if a field has been set. +func (o *VagrantPackageUploadResponse) HasOriginRepositoryUrl() bool { + if o != nil && !isNil(o.OriginRepositoryUrl) { + return true + } + + return false +} + +// SetOriginRepositoryUrl gets a reference to the given string and assigns it to the OriginRepositoryUrl field. +func (o *VagrantPackageUploadResponse) SetOriginRepositoryUrl(v string) { + o.OriginRepositoryUrl = &v +} + // GetPackageType returns the PackageType field value if set, zero value otherwise. -func (o *VagrantPackageUpload) GetPackageType() int64 { - if o == nil || o.PackageType == nil { +func (o *VagrantPackageUploadResponse) GetPackageType() int64 { + if o == nil || isNil(o.PackageType) { var ret int64 return ret } @@ -1200,16 +1247,16 @@ func (o *VagrantPackageUpload) GetPackageType() int64 { // GetPackageTypeOk returns a tuple with the PackageType field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *VagrantPackageUpload) GetPackageTypeOk() (*int64, bool) { - if o == nil || o.PackageType == nil { +func (o *VagrantPackageUploadResponse) GetPackageTypeOk() (*int64, bool) { + if o == nil || isNil(o.PackageType) { return nil, false } return o.PackageType, true } // HasPackageType returns a boolean if a field has been set. -func (o *VagrantPackageUpload) HasPackageType() bool { - if o != nil && o.PackageType != nil { +func (o *VagrantPackageUploadResponse) HasPackageType() bool { + if o != nil && !isNil(o.PackageType) { return true } @@ -1217,12 +1264,12 @@ func (o *VagrantPackageUpload) HasPackageType() bool { } // SetPackageType gets a reference to the given int64 and assigns it to the PackageType field. -func (o *VagrantPackageUpload) SetPackageType(v int64) { +func (o *VagrantPackageUploadResponse) SetPackageType(v int64) { o.PackageType = &v } // GetProvider returns the Provider field value -func (o *VagrantPackageUpload) GetProvider() string { +func (o *VagrantPackageUploadResponse) GetProvider() string { if o == nil { var ret string return ret @@ -1233,7 +1280,7 @@ func (o *VagrantPackageUpload) GetProvider() string { // GetProviderOk returns a tuple with the Provider field value // and a boolean to check if the value has been set. -func (o *VagrantPackageUpload) GetProviderOk() (*string, bool) { +func (o *VagrantPackageUploadResponse) GetProviderOk() (*string, bool) { if o == nil { return nil, false } @@ -1241,13 +1288,13 @@ func (o *VagrantPackageUpload) GetProviderOk() (*string, bool) { } // SetProvider sets field value -func (o *VagrantPackageUpload) SetProvider(v string) { +func (o *VagrantPackageUploadResponse) SetProvider(v string) { o.Provider = v } // GetRelease returns the Release field value if set, zero value otherwise. -func (o *VagrantPackageUpload) GetRelease() string { - if o == nil || o.Release == nil { +func (o *VagrantPackageUploadResponse) GetRelease() string { + if o == nil || isNil(o.Release) { var ret string return ret } @@ -1256,16 +1303,16 @@ func (o *VagrantPackageUpload) GetRelease() string { // GetReleaseOk returns a tuple with the Release field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *VagrantPackageUpload) GetReleaseOk() (*string, bool) { - if o == nil || o.Release == nil { +func (o *VagrantPackageUploadResponse) GetReleaseOk() (*string, bool) { + if o == nil || isNil(o.Release) { return nil, false } return o.Release, true } // HasRelease returns a boolean if a field has been set. -func (o *VagrantPackageUpload) HasRelease() bool { - if o != nil && o.Release != nil { +func (o *VagrantPackageUploadResponse) HasRelease() bool { + if o != nil && !isNil(o.Release) { return true } @@ -1273,13 +1320,13 @@ func (o *VagrantPackageUpload) HasRelease() bool { } // SetRelease gets a reference to the given string and assigns it to the Release field. -func (o *VagrantPackageUpload) SetRelease(v string) { +func (o *VagrantPackageUploadResponse) SetRelease(v string) { o.Release = &v } // GetRepository returns the Repository field value if set, zero value otherwise. -func (o *VagrantPackageUpload) GetRepository() string { - if o == nil || o.Repository == nil { +func (o *VagrantPackageUploadResponse) GetRepository() string { + if o == nil || isNil(o.Repository) { var ret string return ret } @@ -1288,16 +1335,16 @@ func (o *VagrantPackageUpload) GetRepository() string { // GetRepositoryOk returns a tuple with the Repository field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *VagrantPackageUpload) GetRepositoryOk() (*string, bool) { - if o == nil || o.Repository == nil { +func (o *VagrantPackageUploadResponse) GetRepositoryOk() (*string, bool) { + if o == nil || isNil(o.Repository) { return nil, false } return o.Repository, true } // HasRepository returns a boolean if a field has been set. -func (o *VagrantPackageUpload) HasRepository() bool { - if o != nil && o.Repository != nil { +func (o *VagrantPackageUploadResponse) HasRepository() bool { + if o != nil && !isNil(o.Repository) { return true } @@ -1305,13 +1352,13 @@ func (o *VagrantPackageUpload) HasRepository() bool { } // SetRepository gets a reference to the given string and assigns it to the Repository field. -func (o *VagrantPackageUpload) SetRepository(v string) { +func (o *VagrantPackageUploadResponse) SetRepository(v string) { o.Repository = &v } // GetRepositoryUrl returns the RepositoryUrl field value if set, zero value otherwise. -func (o *VagrantPackageUpload) GetRepositoryUrl() string { - if o == nil || o.RepositoryUrl == nil { +func (o *VagrantPackageUploadResponse) GetRepositoryUrl() string { + if o == nil || isNil(o.RepositoryUrl) { var ret string return ret } @@ -1320,16 +1367,16 @@ func (o *VagrantPackageUpload) GetRepositoryUrl() string { // GetRepositoryUrlOk returns a tuple with the RepositoryUrl field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *VagrantPackageUpload) GetRepositoryUrlOk() (*string, bool) { - if o == nil || o.RepositoryUrl == nil { +func (o *VagrantPackageUploadResponse) GetRepositoryUrlOk() (*string, bool) { + if o == nil || isNil(o.RepositoryUrl) { return nil, false } return o.RepositoryUrl, true } // HasRepositoryUrl returns a boolean if a field has been set. -func (o *VagrantPackageUpload) HasRepositoryUrl() bool { - if o != nil && o.RepositoryUrl != nil { +func (o *VagrantPackageUploadResponse) HasRepositoryUrl() bool { + if o != nil && !isNil(o.RepositoryUrl) { return true } @@ -1337,14 +1384,14 @@ func (o *VagrantPackageUpload) HasRepositoryUrl() bool { } // SetRepositoryUrl gets a reference to the given string and assigns it to the RepositoryUrl field. -func (o *VagrantPackageUpload) SetRepositoryUrl(v string) { +func (o *VagrantPackageUploadResponse) SetRepositoryUrl(v string) { o.RepositoryUrl = &v } // GetSecurityScanCompletedAt returns the SecurityScanCompletedAt field value if set, zero value otherwise. -func (o *VagrantPackageUpload) GetSecurityScanCompletedAt() string { - if o == nil || o.SecurityScanCompletedAt == nil { - var ret string +func (o *VagrantPackageUploadResponse) GetSecurityScanCompletedAt() time.Time { + if o == nil || isNil(o.SecurityScanCompletedAt) { + var ret time.Time return ret } return *o.SecurityScanCompletedAt @@ -1352,31 +1399,31 @@ func (o *VagrantPackageUpload) GetSecurityScanCompletedAt() string { // GetSecurityScanCompletedAtOk returns a tuple with the SecurityScanCompletedAt field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *VagrantPackageUpload) GetSecurityScanCompletedAtOk() (*string, bool) { - if o == nil || o.SecurityScanCompletedAt == nil { +func (o *VagrantPackageUploadResponse) GetSecurityScanCompletedAtOk() (*time.Time, bool) { + if o == nil || isNil(o.SecurityScanCompletedAt) { return nil, false } return o.SecurityScanCompletedAt, true } // HasSecurityScanCompletedAt returns a boolean if a field has been set. -func (o *VagrantPackageUpload) HasSecurityScanCompletedAt() bool { - if o != nil && o.SecurityScanCompletedAt != nil { +func (o *VagrantPackageUploadResponse) HasSecurityScanCompletedAt() bool { + if o != nil && !isNil(o.SecurityScanCompletedAt) { return true } return false } -// SetSecurityScanCompletedAt gets a reference to the given string and assigns it to the SecurityScanCompletedAt field. -func (o *VagrantPackageUpload) SetSecurityScanCompletedAt(v string) { +// SetSecurityScanCompletedAt gets a reference to the given time.Time and assigns it to the SecurityScanCompletedAt field. +func (o *VagrantPackageUploadResponse) SetSecurityScanCompletedAt(v time.Time) { o.SecurityScanCompletedAt = &v } // GetSecurityScanStartedAt returns the SecurityScanStartedAt field value if set, zero value otherwise. -func (o *VagrantPackageUpload) GetSecurityScanStartedAt() string { - if o == nil || o.SecurityScanStartedAt == nil { - var ret string +func (o *VagrantPackageUploadResponse) GetSecurityScanStartedAt() time.Time { + if o == nil || isNil(o.SecurityScanStartedAt) { + var ret time.Time return ret } return *o.SecurityScanStartedAt @@ -1384,63 +1431,74 @@ func (o *VagrantPackageUpload) GetSecurityScanStartedAt() string { // GetSecurityScanStartedAtOk returns a tuple with the SecurityScanStartedAt field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *VagrantPackageUpload) GetSecurityScanStartedAtOk() (*string, bool) { - if o == nil || o.SecurityScanStartedAt == nil { +func (o *VagrantPackageUploadResponse) GetSecurityScanStartedAtOk() (*time.Time, bool) { + if o == nil || isNil(o.SecurityScanStartedAt) { return nil, false } return o.SecurityScanStartedAt, true } // HasSecurityScanStartedAt returns a boolean if a field has been set. -func (o *VagrantPackageUpload) HasSecurityScanStartedAt() bool { - if o != nil && o.SecurityScanStartedAt != nil { +func (o *VagrantPackageUploadResponse) HasSecurityScanStartedAt() bool { + if o != nil && !isNil(o.SecurityScanStartedAt) { return true } return false } -// SetSecurityScanStartedAt gets a reference to the given string and assigns it to the SecurityScanStartedAt field. -func (o *VagrantPackageUpload) SetSecurityScanStartedAt(v string) { +// SetSecurityScanStartedAt gets a reference to the given time.Time and assigns it to the SecurityScanStartedAt field. +func (o *VagrantPackageUploadResponse) SetSecurityScanStartedAt(v time.Time) { o.SecurityScanStartedAt = &v } -// GetSecurityScanStatus returns the SecurityScanStatus field value if set, zero value otherwise. -func (o *VagrantPackageUpload) GetSecurityScanStatus() string { - if o == nil || o.SecurityScanStatus == nil { +// GetSecurityScanStatus returns the SecurityScanStatus field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *VagrantPackageUploadResponse) GetSecurityScanStatus() string { + if o == nil || isNil(o.SecurityScanStatus.Get()) { var ret string return ret } - return *o.SecurityScanStatus + return *o.SecurityScanStatus.Get() } // GetSecurityScanStatusOk returns a tuple with the SecurityScanStatus field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *VagrantPackageUpload) GetSecurityScanStatusOk() (*string, bool) { - if o == nil || o.SecurityScanStatus == nil { +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *VagrantPackageUploadResponse) GetSecurityScanStatusOk() (*string, bool) { + if o == nil { return nil, false } - return o.SecurityScanStatus, true + return o.SecurityScanStatus.Get(), o.SecurityScanStatus.IsSet() } // HasSecurityScanStatus returns a boolean if a field has been set. -func (o *VagrantPackageUpload) HasSecurityScanStatus() bool { - if o != nil && o.SecurityScanStatus != nil { +func (o *VagrantPackageUploadResponse) HasSecurityScanStatus() bool { + if o != nil && o.SecurityScanStatus.IsSet() { return true } return false } -// SetSecurityScanStatus gets a reference to the given string and assigns it to the SecurityScanStatus field. -func (o *VagrantPackageUpload) SetSecurityScanStatus(v string) { - o.SecurityScanStatus = &v +// SetSecurityScanStatus gets a reference to the given NullableString and assigns it to the SecurityScanStatus field. +func (o *VagrantPackageUploadResponse) SetSecurityScanStatus(v string) { + o.SecurityScanStatus.Set(&v) +} + +// SetSecurityScanStatusNil sets the value for SecurityScanStatus to be an explicit nil +func (o *VagrantPackageUploadResponse) SetSecurityScanStatusNil() { + o.SecurityScanStatus.Set(nil) +} + +// UnsetSecurityScanStatus ensures that no value is present for SecurityScanStatus, not even an explicit nil +func (o *VagrantPackageUploadResponse) UnsetSecurityScanStatus() { + o.SecurityScanStatus.Unset() } // GetSecurityScanStatusUpdatedAt returns the SecurityScanStatusUpdatedAt field value if set, zero value otherwise. -func (o *VagrantPackageUpload) GetSecurityScanStatusUpdatedAt() string { - if o == nil || o.SecurityScanStatusUpdatedAt == nil { - var ret string +func (o *VagrantPackageUploadResponse) GetSecurityScanStatusUpdatedAt() time.Time { + if o == nil || isNil(o.SecurityScanStatusUpdatedAt) { + var ret time.Time return ret } return *o.SecurityScanStatusUpdatedAt @@ -1448,30 +1506,30 @@ func (o *VagrantPackageUpload) GetSecurityScanStatusUpdatedAt() string { // GetSecurityScanStatusUpdatedAtOk returns a tuple with the SecurityScanStatusUpdatedAt field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *VagrantPackageUpload) GetSecurityScanStatusUpdatedAtOk() (*string, bool) { - if o == nil || o.SecurityScanStatusUpdatedAt == nil { +func (o *VagrantPackageUploadResponse) GetSecurityScanStatusUpdatedAtOk() (*time.Time, bool) { + if o == nil || isNil(o.SecurityScanStatusUpdatedAt) { return nil, false } return o.SecurityScanStatusUpdatedAt, true } // HasSecurityScanStatusUpdatedAt returns a boolean if a field has been set. -func (o *VagrantPackageUpload) HasSecurityScanStatusUpdatedAt() bool { - if o != nil && o.SecurityScanStatusUpdatedAt != nil { +func (o *VagrantPackageUploadResponse) HasSecurityScanStatusUpdatedAt() bool { + if o != nil && !isNil(o.SecurityScanStatusUpdatedAt) { return true } return false } -// SetSecurityScanStatusUpdatedAt gets a reference to the given string and assigns it to the SecurityScanStatusUpdatedAt field. -func (o *VagrantPackageUpload) SetSecurityScanStatusUpdatedAt(v string) { +// SetSecurityScanStatusUpdatedAt gets a reference to the given time.Time and assigns it to the SecurityScanStatusUpdatedAt field. +func (o *VagrantPackageUploadResponse) SetSecurityScanStatusUpdatedAt(v time.Time) { o.SecurityScanStatusUpdatedAt = &v } // GetSelfHtmlUrl returns the SelfHtmlUrl field value if set, zero value otherwise. -func (o *VagrantPackageUpload) GetSelfHtmlUrl() string { - if o == nil || o.SelfHtmlUrl == nil { +func (o *VagrantPackageUploadResponse) GetSelfHtmlUrl() string { + if o == nil || isNil(o.SelfHtmlUrl) { var ret string return ret } @@ -1480,16 +1538,16 @@ func (o *VagrantPackageUpload) GetSelfHtmlUrl() string { // GetSelfHtmlUrlOk returns a tuple with the SelfHtmlUrl field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *VagrantPackageUpload) GetSelfHtmlUrlOk() (*string, bool) { - if o == nil || o.SelfHtmlUrl == nil { +func (o *VagrantPackageUploadResponse) GetSelfHtmlUrlOk() (*string, bool) { + if o == nil || isNil(o.SelfHtmlUrl) { return nil, false } return o.SelfHtmlUrl, true } // HasSelfHtmlUrl returns a boolean if a field has been set. -func (o *VagrantPackageUpload) HasSelfHtmlUrl() bool { - if o != nil && o.SelfHtmlUrl != nil { +func (o *VagrantPackageUploadResponse) HasSelfHtmlUrl() bool { + if o != nil && !isNil(o.SelfHtmlUrl) { return true } @@ -1497,13 +1555,13 @@ func (o *VagrantPackageUpload) HasSelfHtmlUrl() bool { } // SetSelfHtmlUrl gets a reference to the given string and assigns it to the SelfHtmlUrl field. -func (o *VagrantPackageUpload) SetSelfHtmlUrl(v string) { +func (o *VagrantPackageUploadResponse) SetSelfHtmlUrl(v string) { o.SelfHtmlUrl = &v } // GetSelfUrl returns the SelfUrl field value if set, zero value otherwise. -func (o *VagrantPackageUpload) GetSelfUrl() string { - if o == nil || o.SelfUrl == nil { +func (o *VagrantPackageUploadResponse) GetSelfUrl() string { + if o == nil || isNil(o.SelfUrl) { var ret string return ret } @@ -1512,16 +1570,16 @@ func (o *VagrantPackageUpload) GetSelfUrl() string { // GetSelfUrlOk returns a tuple with the SelfUrl field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *VagrantPackageUpload) GetSelfUrlOk() (*string, bool) { - if o == nil || o.SelfUrl == nil { +func (o *VagrantPackageUploadResponse) GetSelfUrlOk() (*string, bool) { + if o == nil || isNil(o.SelfUrl) { return nil, false } return o.SelfUrl, true } // HasSelfUrl returns a boolean if a field has been set. -func (o *VagrantPackageUpload) HasSelfUrl() bool { - if o != nil && o.SelfUrl != nil { +func (o *VagrantPackageUploadResponse) HasSelfUrl() bool { + if o != nil && !isNil(o.SelfUrl) { return true } @@ -1529,45 +1587,56 @@ func (o *VagrantPackageUpload) HasSelfUrl() bool { } // SetSelfUrl gets a reference to the given string and assigns it to the SelfUrl field. -func (o *VagrantPackageUpload) SetSelfUrl(v string) { +func (o *VagrantPackageUploadResponse) SetSelfUrl(v string) { o.SelfUrl = &v } -// GetSignatureUrl returns the SignatureUrl field value if set, zero value otherwise. -func (o *VagrantPackageUpload) GetSignatureUrl() string { - if o == nil || o.SignatureUrl == nil { +// GetSignatureUrl returns the SignatureUrl field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *VagrantPackageUploadResponse) GetSignatureUrl() string { + if o == nil || isNil(o.SignatureUrl.Get()) { var ret string return ret } - return *o.SignatureUrl + return *o.SignatureUrl.Get() } // GetSignatureUrlOk returns a tuple with the SignatureUrl field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *VagrantPackageUpload) GetSignatureUrlOk() (*string, bool) { - if o == nil || o.SignatureUrl == nil { +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *VagrantPackageUploadResponse) GetSignatureUrlOk() (*string, bool) { + if o == nil { return nil, false } - return o.SignatureUrl, true + return o.SignatureUrl.Get(), o.SignatureUrl.IsSet() } // HasSignatureUrl returns a boolean if a field has been set. -func (o *VagrantPackageUpload) HasSignatureUrl() bool { - if o != nil && o.SignatureUrl != nil { +func (o *VagrantPackageUploadResponse) HasSignatureUrl() bool { + if o != nil && o.SignatureUrl.IsSet() { return true } return false } -// SetSignatureUrl gets a reference to the given string and assigns it to the SignatureUrl field. -func (o *VagrantPackageUpload) SetSignatureUrl(v string) { - o.SignatureUrl = &v +// SetSignatureUrl gets a reference to the given NullableString and assigns it to the SignatureUrl field. +func (o *VagrantPackageUploadResponse) SetSignatureUrl(v string) { + o.SignatureUrl.Set(&v) +} + +// SetSignatureUrlNil sets the value for SignatureUrl to be an explicit nil +func (o *VagrantPackageUploadResponse) SetSignatureUrlNil() { + o.SignatureUrl.Set(nil) +} + +// UnsetSignatureUrl ensures that no value is present for SignatureUrl, not even an explicit nil +func (o *VagrantPackageUploadResponse) UnsetSignatureUrl() { + o.SignatureUrl.Unset() } // GetSize returns the Size field value if set, zero value otherwise. -func (o *VagrantPackageUpload) GetSize() int64 { - if o == nil || o.Size == nil { +func (o *VagrantPackageUploadResponse) GetSize() int64 { + if o == nil || isNil(o.Size) { var ret int64 return ret } @@ -1576,16 +1645,16 @@ func (o *VagrantPackageUpload) GetSize() int64 { // GetSizeOk returns a tuple with the Size field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *VagrantPackageUpload) GetSizeOk() (*int64, bool) { - if o == nil || o.Size == nil { +func (o *VagrantPackageUploadResponse) GetSizeOk() (*int64, bool) { + if o == nil || isNil(o.Size) { return nil, false } return o.Size, true } // HasSize returns a boolean if a field has been set. -func (o *VagrantPackageUpload) HasSize() bool { - if o != nil && o.Size != nil { +func (o *VagrantPackageUploadResponse) HasSize() bool { + if o != nil && !isNil(o.Size) { return true } @@ -1593,13 +1662,13 @@ func (o *VagrantPackageUpload) HasSize() bool { } // SetSize gets a reference to the given int64 and assigns it to the Size field. -func (o *VagrantPackageUpload) SetSize(v int64) { +func (o *VagrantPackageUploadResponse) SetSize(v int64) { o.Size = &v } // GetSlug returns the Slug field value if set, zero value otherwise. -func (o *VagrantPackageUpload) GetSlug() string { - if o == nil || o.Slug == nil { +func (o *VagrantPackageUploadResponse) GetSlug() string { + if o == nil || isNil(o.Slug) { var ret string return ret } @@ -1608,16 +1677,16 @@ func (o *VagrantPackageUpload) GetSlug() string { // GetSlugOk returns a tuple with the Slug field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *VagrantPackageUpload) GetSlugOk() (*string, bool) { - if o == nil || o.Slug == nil { +func (o *VagrantPackageUploadResponse) GetSlugOk() (*string, bool) { + if o == nil || isNil(o.Slug) { return nil, false } return o.Slug, true } // HasSlug returns a boolean if a field has been set. -func (o *VagrantPackageUpload) HasSlug() bool { - if o != nil && o.Slug != nil { +func (o *VagrantPackageUploadResponse) HasSlug() bool { + if o != nil && !isNil(o.Slug) { return true } @@ -1625,13 +1694,13 @@ func (o *VagrantPackageUpload) HasSlug() bool { } // SetSlug gets a reference to the given string and assigns it to the Slug field. -func (o *VagrantPackageUpload) SetSlug(v string) { +func (o *VagrantPackageUploadResponse) SetSlug(v string) { o.Slug = &v } // GetSlugPerm returns the SlugPerm field value if set, zero value otherwise. -func (o *VagrantPackageUpload) GetSlugPerm() string { - if o == nil || o.SlugPerm == nil { +func (o *VagrantPackageUploadResponse) GetSlugPerm() string { + if o == nil || isNil(o.SlugPerm) { var ret string return ret } @@ -1640,16 +1709,16 @@ func (o *VagrantPackageUpload) GetSlugPerm() string { // GetSlugPermOk returns a tuple with the SlugPerm field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *VagrantPackageUpload) GetSlugPermOk() (*string, bool) { - if o == nil || o.SlugPerm == nil { +func (o *VagrantPackageUploadResponse) GetSlugPermOk() (*string, bool) { + if o == nil || isNil(o.SlugPerm) { return nil, false } return o.SlugPerm, true } // HasSlugPerm returns a boolean if a field has been set. -func (o *VagrantPackageUpload) HasSlugPerm() bool { - if o != nil && o.SlugPerm != nil { +func (o *VagrantPackageUploadResponse) HasSlugPerm() bool { + if o != nil && !isNil(o.SlugPerm) { return true } @@ -1657,13 +1726,13 @@ func (o *VagrantPackageUpload) HasSlugPerm() bool { } // SetSlugPerm gets a reference to the given string and assigns it to the SlugPerm field. -func (o *VagrantPackageUpload) SetSlugPerm(v string) { +func (o *VagrantPackageUploadResponse) SetSlugPerm(v string) { o.SlugPerm = &v } // GetStage returns the Stage field value if set, zero value otherwise. -func (o *VagrantPackageUpload) GetStage() int64 { - if o == nil || o.Stage == nil { +func (o *VagrantPackageUploadResponse) GetStage() int64 { + if o == nil || isNil(o.Stage) { var ret int64 return ret } @@ -1672,16 +1741,16 @@ func (o *VagrantPackageUpload) GetStage() int64 { // GetStageOk returns a tuple with the Stage field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *VagrantPackageUpload) GetStageOk() (*int64, bool) { - if o == nil || o.Stage == nil { +func (o *VagrantPackageUploadResponse) GetStageOk() (*int64, bool) { + if o == nil || isNil(o.Stage) { return nil, false } return o.Stage, true } // HasStage returns a boolean if a field has been set. -func (o *VagrantPackageUpload) HasStage() bool { - if o != nil && o.Stage != nil { +func (o *VagrantPackageUploadResponse) HasStage() bool { + if o != nil && !isNil(o.Stage) { return true } @@ -1689,13 +1758,13 @@ func (o *VagrantPackageUpload) HasStage() bool { } // SetStage gets a reference to the given int64 and assigns it to the Stage field. -func (o *VagrantPackageUpload) SetStage(v int64) { +func (o *VagrantPackageUploadResponse) SetStage(v int64) { o.Stage = &v } // GetStageStr returns the StageStr field value if set, zero value otherwise. -func (o *VagrantPackageUpload) GetStageStr() string { - if o == nil || o.StageStr == nil { +func (o *VagrantPackageUploadResponse) GetStageStr() string { + if o == nil || isNil(o.StageStr) { var ret string return ret } @@ -1704,16 +1773,16 @@ func (o *VagrantPackageUpload) GetStageStr() string { // GetStageStrOk returns a tuple with the StageStr field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *VagrantPackageUpload) GetStageStrOk() (*string, bool) { - if o == nil || o.StageStr == nil { +func (o *VagrantPackageUploadResponse) GetStageStrOk() (*string, bool) { + if o == nil || isNil(o.StageStr) { return nil, false } return o.StageStr, true } // HasStageStr returns a boolean if a field has been set. -func (o *VagrantPackageUpload) HasStageStr() bool { - if o != nil && o.StageStr != nil { +func (o *VagrantPackageUploadResponse) HasStageStr() bool { + if o != nil && !isNil(o.StageStr) { return true } @@ -1721,14 +1790,14 @@ func (o *VagrantPackageUpload) HasStageStr() bool { } // SetStageStr gets a reference to the given string and assigns it to the StageStr field. -func (o *VagrantPackageUpload) SetStageStr(v string) { +func (o *VagrantPackageUploadResponse) SetStageStr(v string) { o.StageStr = &v } // GetStageUpdatedAt returns the StageUpdatedAt field value if set, zero value otherwise. -func (o *VagrantPackageUpload) GetStageUpdatedAt() string { - if o == nil || o.StageUpdatedAt == nil { - var ret string +func (o *VagrantPackageUploadResponse) GetStageUpdatedAt() time.Time { + if o == nil || isNil(o.StageUpdatedAt) { + var ret time.Time return ret } return *o.StageUpdatedAt @@ -1736,30 +1805,30 @@ func (o *VagrantPackageUpload) GetStageUpdatedAt() string { // GetStageUpdatedAtOk returns a tuple with the StageUpdatedAt field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *VagrantPackageUpload) GetStageUpdatedAtOk() (*string, bool) { - if o == nil || o.StageUpdatedAt == nil { +func (o *VagrantPackageUploadResponse) GetStageUpdatedAtOk() (*time.Time, bool) { + if o == nil || isNil(o.StageUpdatedAt) { return nil, false } return o.StageUpdatedAt, true } // HasStageUpdatedAt returns a boolean if a field has been set. -func (o *VagrantPackageUpload) HasStageUpdatedAt() bool { - if o != nil && o.StageUpdatedAt != nil { +func (o *VagrantPackageUploadResponse) HasStageUpdatedAt() bool { + if o != nil && !isNil(o.StageUpdatedAt) { return true } return false } -// SetStageUpdatedAt gets a reference to the given string and assigns it to the StageUpdatedAt field. -func (o *VagrantPackageUpload) SetStageUpdatedAt(v string) { +// SetStageUpdatedAt gets a reference to the given time.Time and assigns it to the StageUpdatedAt field. +func (o *VagrantPackageUploadResponse) SetStageUpdatedAt(v time.Time) { o.StageUpdatedAt = &v } // GetStatus returns the Status field value if set, zero value otherwise. -func (o *VagrantPackageUpload) GetStatus() int64 { - if o == nil || o.Status == nil { +func (o *VagrantPackageUploadResponse) GetStatus() int64 { + if o == nil || isNil(o.Status) { var ret int64 return ret } @@ -1768,16 +1837,16 @@ func (o *VagrantPackageUpload) GetStatus() int64 { // GetStatusOk returns a tuple with the Status field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *VagrantPackageUpload) GetStatusOk() (*int64, bool) { - if o == nil || o.Status == nil { +func (o *VagrantPackageUploadResponse) GetStatusOk() (*int64, bool) { + if o == nil || isNil(o.Status) { return nil, false } return o.Status, true } // HasStatus returns a boolean if a field has been set. -func (o *VagrantPackageUpload) HasStatus() bool { - if o != nil && o.Status != nil { +func (o *VagrantPackageUploadResponse) HasStatus() bool { + if o != nil && !isNil(o.Status) { return true } @@ -1785,13 +1854,13 @@ func (o *VagrantPackageUpload) HasStatus() bool { } // SetStatus gets a reference to the given int64 and assigns it to the Status field. -func (o *VagrantPackageUpload) SetStatus(v int64) { +func (o *VagrantPackageUploadResponse) SetStatus(v int64) { o.Status = &v } // GetStatusReason returns the StatusReason field value if set, zero value otherwise. -func (o *VagrantPackageUpload) GetStatusReason() string { - if o == nil || o.StatusReason == nil { +func (o *VagrantPackageUploadResponse) GetStatusReason() string { + if o == nil || isNil(o.StatusReason) { var ret string return ret } @@ -1800,16 +1869,16 @@ func (o *VagrantPackageUpload) GetStatusReason() string { // GetStatusReasonOk returns a tuple with the StatusReason field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *VagrantPackageUpload) GetStatusReasonOk() (*string, bool) { - if o == nil || o.StatusReason == nil { +func (o *VagrantPackageUploadResponse) GetStatusReasonOk() (*string, bool) { + if o == nil || isNil(o.StatusReason) { return nil, false } return o.StatusReason, true } // HasStatusReason returns a boolean if a field has been set. -func (o *VagrantPackageUpload) HasStatusReason() bool { - if o != nil && o.StatusReason != nil { +func (o *VagrantPackageUploadResponse) HasStatusReason() bool { + if o != nil && !isNil(o.StatusReason) { return true } @@ -1817,13 +1886,13 @@ func (o *VagrantPackageUpload) HasStatusReason() bool { } // SetStatusReason gets a reference to the given string and assigns it to the StatusReason field. -func (o *VagrantPackageUpload) SetStatusReason(v string) { +func (o *VagrantPackageUploadResponse) SetStatusReason(v string) { o.StatusReason = &v } // GetStatusStr returns the StatusStr field value if set, zero value otherwise. -func (o *VagrantPackageUpload) GetStatusStr() string { - if o == nil || o.StatusStr == nil { +func (o *VagrantPackageUploadResponse) GetStatusStr() string { + if o == nil || isNil(o.StatusStr) { var ret string return ret } @@ -1832,16 +1901,16 @@ func (o *VagrantPackageUpload) GetStatusStr() string { // GetStatusStrOk returns a tuple with the StatusStr field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *VagrantPackageUpload) GetStatusStrOk() (*string, bool) { - if o == nil || o.StatusStr == nil { +func (o *VagrantPackageUploadResponse) GetStatusStrOk() (*string, bool) { + if o == nil || isNil(o.StatusStr) { return nil, false } return o.StatusStr, true } // HasStatusStr returns a boolean if a field has been set. -func (o *VagrantPackageUpload) HasStatusStr() bool { - if o != nil && o.StatusStr != nil { +func (o *VagrantPackageUploadResponse) HasStatusStr() bool { + if o != nil && !isNil(o.StatusStr) { return true } @@ -1849,14 +1918,14 @@ func (o *VagrantPackageUpload) HasStatusStr() bool { } // SetStatusStr gets a reference to the given string and assigns it to the StatusStr field. -func (o *VagrantPackageUpload) SetStatusStr(v string) { +func (o *VagrantPackageUploadResponse) SetStatusStr(v string) { o.StatusStr = &v } // GetStatusUpdatedAt returns the StatusUpdatedAt field value if set, zero value otherwise. -func (o *VagrantPackageUpload) GetStatusUpdatedAt() string { - if o == nil || o.StatusUpdatedAt == nil { - var ret string +func (o *VagrantPackageUploadResponse) GetStatusUpdatedAt() time.Time { + if o == nil || isNil(o.StatusUpdatedAt) { + var ret time.Time return ret } return *o.StatusUpdatedAt @@ -1864,30 +1933,30 @@ func (o *VagrantPackageUpload) GetStatusUpdatedAt() string { // GetStatusUpdatedAtOk returns a tuple with the StatusUpdatedAt field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *VagrantPackageUpload) GetStatusUpdatedAtOk() (*string, bool) { - if o == nil || o.StatusUpdatedAt == nil { +func (o *VagrantPackageUploadResponse) GetStatusUpdatedAtOk() (*time.Time, bool) { + if o == nil || isNil(o.StatusUpdatedAt) { return nil, false } return o.StatusUpdatedAt, true } // HasStatusUpdatedAt returns a boolean if a field has been set. -func (o *VagrantPackageUpload) HasStatusUpdatedAt() bool { - if o != nil && o.StatusUpdatedAt != nil { +func (o *VagrantPackageUploadResponse) HasStatusUpdatedAt() bool { + if o != nil && !isNil(o.StatusUpdatedAt) { return true } return false } -// SetStatusUpdatedAt gets a reference to the given string and assigns it to the StatusUpdatedAt field. -func (o *VagrantPackageUpload) SetStatusUpdatedAt(v string) { +// SetStatusUpdatedAt gets a reference to the given time.Time and assigns it to the StatusUpdatedAt field. +func (o *VagrantPackageUploadResponse) SetStatusUpdatedAt(v time.Time) { o.StatusUpdatedAt = &v } // GetStatusUrl returns the StatusUrl field value if set, zero value otherwise. -func (o *VagrantPackageUpload) GetStatusUrl() string { - if o == nil || o.StatusUrl == nil { +func (o *VagrantPackageUploadResponse) GetStatusUrl() string { + if o == nil || isNil(o.StatusUrl) { var ret string return ret } @@ -1896,16 +1965,16 @@ func (o *VagrantPackageUpload) GetStatusUrl() string { // GetStatusUrlOk returns a tuple with the StatusUrl field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *VagrantPackageUpload) GetStatusUrlOk() (*string, bool) { - if o == nil || o.StatusUrl == nil { +func (o *VagrantPackageUploadResponse) GetStatusUrlOk() (*string, bool) { + if o == nil || isNil(o.StatusUrl) { return nil, false } return o.StatusUrl, true } // HasStatusUrl returns a boolean if a field has been set. -func (o *VagrantPackageUpload) HasStatusUrl() bool { - if o != nil && o.StatusUrl != nil { +func (o *VagrantPackageUploadResponse) HasStatusUrl() bool { + if o != nil && !isNil(o.StatusUrl) { return true } @@ -1913,13 +1982,13 @@ func (o *VagrantPackageUpload) HasStatusUrl() bool { } // SetStatusUrl gets a reference to the given string and assigns it to the StatusUrl field. -func (o *VagrantPackageUpload) SetStatusUrl(v string) { +func (o *VagrantPackageUploadResponse) SetStatusUrl(v string) { o.StatusUrl = &v } // GetSubtype returns the Subtype field value if set, zero value otherwise. -func (o *VagrantPackageUpload) GetSubtype() string { - if o == nil || o.Subtype == nil { +func (o *VagrantPackageUploadResponse) GetSubtype() string { + if o == nil || isNil(o.Subtype) { var ret string return ret } @@ -1928,16 +1997,16 @@ func (o *VagrantPackageUpload) GetSubtype() string { // GetSubtypeOk returns a tuple with the Subtype field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *VagrantPackageUpload) GetSubtypeOk() (*string, bool) { - if o == nil || o.Subtype == nil { +func (o *VagrantPackageUploadResponse) GetSubtypeOk() (*string, bool) { + if o == nil || isNil(o.Subtype) { return nil, false } return o.Subtype, true } // HasSubtype returns a boolean if a field has been set. -func (o *VagrantPackageUpload) HasSubtype() bool { - if o != nil && o.Subtype != nil { +func (o *VagrantPackageUploadResponse) HasSubtype() bool { + if o != nil && !isNil(o.Subtype) { return true } @@ -1945,13 +2014,13 @@ func (o *VagrantPackageUpload) HasSubtype() bool { } // SetSubtype gets a reference to the given string and assigns it to the Subtype field. -func (o *VagrantPackageUpload) SetSubtype(v string) { +func (o *VagrantPackageUploadResponse) SetSubtype(v string) { o.Subtype = &v } // GetSummary returns the Summary field value if set, zero value otherwise. -func (o *VagrantPackageUpload) GetSummary() string { - if o == nil || o.Summary == nil { +func (o *VagrantPackageUploadResponse) GetSummary() string { + if o == nil || isNil(o.Summary) { var ret string return ret } @@ -1960,16 +2029,16 @@ func (o *VagrantPackageUpload) GetSummary() string { // GetSummaryOk returns a tuple with the Summary field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *VagrantPackageUpload) GetSummaryOk() (*string, bool) { - if o == nil || o.Summary == nil { +func (o *VagrantPackageUploadResponse) GetSummaryOk() (*string, bool) { + if o == nil || isNil(o.Summary) { return nil, false } return o.Summary, true } // HasSummary returns a boolean if a field has been set. -func (o *VagrantPackageUpload) HasSummary() bool { - if o != nil && o.Summary != nil { +func (o *VagrantPackageUploadResponse) HasSummary() bool { + if o != nil && !isNil(o.Summary) { return true } @@ -1977,14 +2046,14 @@ func (o *VagrantPackageUpload) HasSummary() bool { } // SetSummary gets a reference to the given string and assigns it to the Summary field. -func (o *VagrantPackageUpload) SetSummary(v string) { +func (o *VagrantPackageUploadResponse) SetSummary(v string) { o.Summary = &v } // GetSyncFinishedAt returns the SyncFinishedAt field value if set, zero value otherwise. -func (o *VagrantPackageUpload) GetSyncFinishedAt() string { - if o == nil || o.SyncFinishedAt == nil { - var ret string +func (o *VagrantPackageUploadResponse) GetSyncFinishedAt() time.Time { + if o == nil || isNil(o.SyncFinishedAt) { + var ret time.Time return ret } return *o.SyncFinishedAt @@ -1992,30 +2061,30 @@ func (o *VagrantPackageUpload) GetSyncFinishedAt() string { // GetSyncFinishedAtOk returns a tuple with the SyncFinishedAt field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *VagrantPackageUpload) GetSyncFinishedAtOk() (*string, bool) { - if o == nil || o.SyncFinishedAt == nil { +func (o *VagrantPackageUploadResponse) GetSyncFinishedAtOk() (*time.Time, bool) { + if o == nil || isNil(o.SyncFinishedAt) { return nil, false } return o.SyncFinishedAt, true } // HasSyncFinishedAt returns a boolean if a field has been set. -func (o *VagrantPackageUpload) HasSyncFinishedAt() bool { - if o != nil && o.SyncFinishedAt != nil { +func (o *VagrantPackageUploadResponse) HasSyncFinishedAt() bool { + if o != nil && !isNil(o.SyncFinishedAt) { return true } return false } -// SetSyncFinishedAt gets a reference to the given string and assigns it to the SyncFinishedAt field. -func (o *VagrantPackageUpload) SetSyncFinishedAt(v string) { +// SetSyncFinishedAt gets a reference to the given time.Time and assigns it to the SyncFinishedAt field. +func (o *VagrantPackageUploadResponse) SetSyncFinishedAt(v time.Time) { o.SyncFinishedAt = &v } // GetSyncProgress returns the SyncProgress field value if set, zero value otherwise. -func (o *VagrantPackageUpload) GetSyncProgress() int64 { - if o == nil || o.SyncProgress == nil { +func (o *VagrantPackageUploadResponse) GetSyncProgress() int64 { + if o == nil || isNil(o.SyncProgress) { var ret int64 return ret } @@ -2024,16 +2093,16 @@ func (o *VagrantPackageUpload) GetSyncProgress() int64 { // GetSyncProgressOk returns a tuple with the SyncProgress field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *VagrantPackageUpload) GetSyncProgressOk() (*int64, bool) { - if o == nil || o.SyncProgress == nil { +func (o *VagrantPackageUploadResponse) GetSyncProgressOk() (*int64, bool) { + if o == nil || isNil(o.SyncProgress) { return nil, false } return o.SyncProgress, true } // HasSyncProgress returns a boolean if a field has been set. -func (o *VagrantPackageUpload) HasSyncProgress() bool { - if o != nil && o.SyncProgress != nil { +func (o *VagrantPackageUploadResponse) HasSyncProgress() bool { + if o != nil && !isNil(o.SyncProgress) { return true } @@ -2041,13 +2110,13 @@ func (o *VagrantPackageUpload) HasSyncProgress() bool { } // SetSyncProgress gets a reference to the given int64 and assigns it to the SyncProgress field. -func (o *VagrantPackageUpload) SetSyncProgress(v int64) { +func (o *VagrantPackageUploadResponse) SetSyncProgress(v int64) { o.SyncProgress = &v } // GetTagsImmutable returns the TagsImmutable field value if set, zero value otherwise. -func (o *VagrantPackageUpload) GetTagsImmutable() map[string]interface{} { - if o == nil || o.TagsImmutable == nil { +func (o *VagrantPackageUploadResponse) GetTagsImmutable() map[string]interface{} { + if o == nil || isNil(o.TagsImmutable) { var ret map[string]interface{} return ret } @@ -2056,16 +2125,16 @@ func (o *VagrantPackageUpload) GetTagsImmutable() map[string]interface{} { // GetTagsImmutableOk returns a tuple with the TagsImmutable field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *VagrantPackageUpload) GetTagsImmutableOk() (map[string]interface{}, bool) { - if o == nil || o.TagsImmutable == nil { - return nil, false +func (o *VagrantPackageUploadResponse) GetTagsImmutableOk() (map[string]interface{}, bool) { + if o == nil || isNil(o.TagsImmutable) { + return map[string]interface{}{}, false } return o.TagsImmutable, true } // HasTagsImmutable returns a boolean if a field has been set. -func (o *VagrantPackageUpload) HasTagsImmutable() bool { - if o != nil && o.TagsImmutable != nil { +func (o *VagrantPackageUploadResponse) HasTagsImmutable() bool { + if o != nil && !isNil(o.TagsImmutable) { return true } @@ -2073,13 +2142,13 @@ func (o *VagrantPackageUpload) HasTagsImmutable() bool { } // SetTagsImmutable gets a reference to the given map[string]interface{} and assigns it to the TagsImmutable field. -func (o *VagrantPackageUpload) SetTagsImmutable(v map[string]interface{}) { +func (o *VagrantPackageUploadResponse) SetTagsImmutable(v map[string]interface{}) { o.TagsImmutable = v } // GetTypeDisplay returns the TypeDisplay field value if set, zero value otherwise. -func (o *VagrantPackageUpload) GetTypeDisplay() string { - if o == nil || o.TypeDisplay == nil { +func (o *VagrantPackageUploadResponse) GetTypeDisplay() string { + if o == nil || isNil(o.TypeDisplay) { var ret string return ret } @@ -2088,16 +2157,16 @@ func (o *VagrantPackageUpload) GetTypeDisplay() string { // GetTypeDisplayOk returns a tuple with the TypeDisplay field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *VagrantPackageUpload) GetTypeDisplayOk() (*string, bool) { - if o == nil || o.TypeDisplay == nil { +func (o *VagrantPackageUploadResponse) GetTypeDisplayOk() (*string, bool) { + if o == nil || isNil(o.TypeDisplay) { return nil, false } return o.TypeDisplay, true } // HasTypeDisplay returns a boolean if a field has been set. -func (o *VagrantPackageUpload) HasTypeDisplay() bool { - if o != nil && o.TypeDisplay != nil { +func (o *VagrantPackageUploadResponse) HasTypeDisplay() bool { + if o != nil && !isNil(o.TypeDisplay) { return true } @@ -2105,14 +2174,14 @@ func (o *VagrantPackageUpload) HasTypeDisplay() bool { } // SetTypeDisplay gets a reference to the given string and assigns it to the TypeDisplay field. -func (o *VagrantPackageUpload) SetTypeDisplay(v string) { +func (o *VagrantPackageUploadResponse) SetTypeDisplay(v string) { o.TypeDisplay = &v } // GetUploadedAt returns the UploadedAt field value if set, zero value otherwise. -func (o *VagrantPackageUpload) GetUploadedAt() string { - if o == nil || o.UploadedAt == nil { - var ret string +func (o *VagrantPackageUploadResponse) GetUploadedAt() time.Time { + if o == nil || isNil(o.UploadedAt) { + var ret time.Time return ret } return *o.UploadedAt @@ -2120,30 +2189,30 @@ func (o *VagrantPackageUpload) GetUploadedAt() string { // GetUploadedAtOk returns a tuple with the UploadedAt field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *VagrantPackageUpload) GetUploadedAtOk() (*string, bool) { - if o == nil || o.UploadedAt == nil { +func (o *VagrantPackageUploadResponse) GetUploadedAtOk() (*time.Time, bool) { + if o == nil || isNil(o.UploadedAt) { return nil, false } return o.UploadedAt, true } // HasUploadedAt returns a boolean if a field has been set. -func (o *VagrantPackageUpload) HasUploadedAt() bool { - if o != nil && o.UploadedAt != nil { +func (o *VagrantPackageUploadResponse) HasUploadedAt() bool { + if o != nil && !isNil(o.UploadedAt) { return true } return false } -// SetUploadedAt gets a reference to the given string and assigns it to the UploadedAt field. -func (o *VagrantPackageUpload) SetUploadedAt(v string) { +// SetUploadedAt gets a reference to the given time.Time and assigns it to the UploadedAt field. +func (o *VagrantPackageUploadResponse) SetUploadedAt(v time.Time) { o.UploadedAt = &v } // GetUploader returns the Uploader field value if set, zero value otherwise. -func (o *VagrantPackageUpload) GetUploader() string { - if o == nil || o.Uploader == nil { +func (o *VagrantPackageUploadResponse) GetUploader() string { + if o == nil || isNil(o.Uploader) { var ret string return ret } @@ -2152,16 +2221,16 @@ func (o *VagrantPackageUpload) GetUploader() string { // GetUploaderOk returns a tuple with the Uploader field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *VagrantPackageUpload) GetUploaderOk() (*string, bool) { - if o == nil || o.Uploader == nil { +func (o *VagrantPackageUploadResponse) GetUploaderOk() (*string, bool) { + if o == nil || isNil(o.Uploader) { return nil, false } return o.Uploader, true } // HasUploader returns a boolean if a field has been set. -func (o *VagrantPackageUpload) HasUploader() bool { - if o != nil && o.Uploader != nil { +func (o *VagrantPackageUploadResponse) HasUploader() bool { + if o != nil && !isNil(o.Uploader) { return true } @@ -2169,13 +2238,13 @@ func (o *VagrantPackageUpload) HasUploader() bool { } // SetUploader gets a reference to the given string and assigns it to the Uploader field. -func (o *VagrantPackageUpload) SetUploader(v string) { +func (o *VagrantPackageUploadResponse) SetUploader(v string) { o.Uploader = &v } // GetUploaderUrl returns the UploaderUrl field value if set, zero value otherwise. -func (o *VagrantPackageUpload) GetUploaderUrl() string { - if o == nil || o.UploaderUrl == nil { +func (o *VagrantPackageUploadResponse) GetUploaderUrl() string { + if o == nil || isNil(o.UploaderUrl) { var ret string return ret } @@ -2184,16 +2253,16 @@ func (o *VagrantPackageUpload) GetUploaderUrl() string { // GetUploaderUrlOk returns a tuple with the UploaderUrl field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *VagrantPackageUpload) GetUploaderUrlOk() (*string, bool) { - if o == nil || o.UploaderUrl == nil { +func (o *VagrantPackageUploadResponse) GetUploaderUrlOk() (*string, bool) { + if o == nil || isNil(o.UploaderUrl) { return nil, false } return o.UploaderUrl, true } // HasUploaderUrl returns a boolean if a field has been set. -func (o *VagrantPackageUpload) HasUploaderUrl() bool { - if o != nil && o.UploaderUrl != nil { +func (o *VagrantPackageUploadResponse) HasUploaderUrl() bool { + if o != nil && !isNil(o.UploaderUrl) { return true } @@ -2201,12 +2270,12 @@ func (o *VagrantPackageUpload) HasUploaderUrl() bool { } // SetUploaderUrl gets a reference to the given string and assigns it to the UploaderUrl field. -func (o *VagrantPackageUpload) SetUploaderUrl(v string) { +func (o *VagrantPackageUploadResponse) SetUploaderUrl(v string) { o.UploaderUrl = &v } // GetVersion returns the Version field value -func (o *VagrantPackageUpload) GetVersion() string { +func (o *VagrantPackageUploadResponse) GetVersion() string { if o == nil { var ret string return ret @@ -2217,7 +2286,7 @@ func (o *VagrantPackageUpload) GetVersion() string { // GetVersionOk returns a tuple with the Version field value // and a boolean to check if the value has been set. -func (o *VagrantPackageUpload) GetVersionOk() (*string, bool) { +func (o *VagrantPackageUploadResponse) GetVersionOk() (*string, bool) { if o == nil { return nil, false } @@ -2225,13 +2294,13 @@ func (o *VagrantPackageUpload) GetVersionOk() (*string, bool) { } // SetVersion sets field value -func (o *VagrantPackageUpload) SetVersion(v string) { +func (o *VagrantPackageUploadResponse) SetVersion(v string) { o.Version = v } // GetVersionOrig returns the VersionOrig field value if set, zero value otherwise. -func (o *VagrantPackageUpload) GetVersionOrig() string { - if o == nil || o.VersionOrig == nil { +func (o *VagrantPackageUploadResponse) GetVersionOrig() string { + if o == nil || isNil(o.VersionOrig) { var ret string return ret } @@ -2240,16 +2309,16 @@ func (o *VagrantPackageUpload) GetVersionOrig() string { // GetVersionOrigOk returns a tuple with the VersionOrig field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *VagrantPackageUpload) GetVersionOrigOk() (*string, bool) { - if o == nil || o.VersionOrig == nil { +func (o *VagrantPackageUploadResponse) GetVersionOrigOk() (*string, bool) { + if o == nil || isNil(o.VersionOrig) { return nil, false } return o.VersionOrig, true } // HasVersionOrig returns a boolean if a field has been set. -func (o *VagrantPackageUpload) HasVersionOrig() bool { - if o != nil && o.VersionOrig != nil { +func (o *VagrantPackageUploadResponse) HasVersionOrig() bool { + if o != nil && !isNil(o.VersionOrig) { return true } @@ -2257,13 +2326,13 @@ func (o *VagrantPackageUpload) HasVersionOrig() bool { } // SetVersionOrig gets a reference to the given string and assigns it to the VersionOrig field. -func (o *VagrantPackageUpload) SetVersionOrig(v string) { +func (o *VagrantPackageUploadResponse) SetVersionOrig(v string) { o.VersionOrig = &v } // GetVulnerabilityScanResultsUrl returns the VulnerabilityScanResultsUrl field value if set, zero value otherwise. -func (o *VagrantPackageUpload) GetVulnerabilityScanResultsUrl() string { - if o == nil || o.VulnerabilityScanResultsUrl == nil { +func (o *VagrantPackageUploadResponse) GetVulnerabilityScanResultsUrl() string { + if o == nil || isNil(o.VulnerabilityScanResultsUrl) { var ret string return ret } @@ -2272,16 +2341,16 @@ func (o *VagrantPackageUpload) GetVulnerabilityScanResultsUrl() string { // GetVulnerabilityScanResultsUrlOk returns a tuple with the VulnerabilityScanResultsUrl field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *VagrantPackageUpload) GetVulnerabilityScanResultsUrlOk() (*string, bool) { - if o == nil || o.VulnerabilityScanResultsUrl == nil { +func (o *VagrantPackageUploadResponse) GetVulnerabilityScanResultsUrlOk() (*string, bool) { + if o == nil || isNil(o.VulnerabilityScanResultsUrl) { return nil, false } return o.VulnerabilityScanResultsUrl, true } // HasVulnerabilityScanResultsUrl returns a boolean if a field has been set. -func (o *VagrantPackageUpload) HasVulnerabilityScanResultsUrl() bool { - if o != nil && o.VulnerabilityScanResultsUrl != nil { +func (o *VagrantPackageUploadResponse) HasVulnerabilityScanResultsUrl() bool { + if o != nil && !isNil(o.VulnerabilityScanResultsUrl) { return true } @@ -2289,248 +2358,254 @@ func (o *VagrantPackageUpload) HasVulnerabilityScanResultsUrl() bool { } // SetVulnerabilityScanResultsUrl gets a reference to the given string and assigns it to the VulnerabilityScanResultsUrl field. -func (o *VagrantPackageUpload) SetVulnerabilityScanResultsUrl(v string) { +func (o *VagrantPackageUploadResponse) SetVulnerabilityScanResultsUrl(v string) { o.VulnerabilityScanResultsUrl = &v } -func (o VagrantPackageUpload) MarshalJSON() ([]byte, error) { +func (o VagrantPackageUploadResponse) MarshalJSON() ([]byte, error) { toSerialize := map[string]interface{}{} - if o.Architectures != nil { + if !isNil(o.Architectures) { toSerialize["architectures"] = o.Architectures } - if o.CdnUrl != nil { - toSerialize["cdn_url"] = o.CdnUrl + if o.CdnUrl.IsSet() { + toSerialize["cdn_url"] = o.CdnUrl.Get() } - if o.ChecksumMd5 != nil { + if !isNil(o.ChecksumMd5) { toSerialize["checksum_md5"] = o.ChecksumMd5 } - if o.ChecksumSha1 != nil { + if !isNil(o.ChecksumSha1) { toSerialize["checksum_sha1"] = o.ChecksumSha1 } - if o.ChecksumSha256 != nil { + if !isNil(o.ChecksumSha256) { toSerialize["checksum_sha256"] = o.ChecksumSha256 } - if o.ChecksumSha512 != nil { + if !isNil(o.ChecksumSha512) { toSerialize["checksum_sha512"] = o.ChecksumSha512 } - if o.DependenciesChecksumMd5 != nil { + if !isNil(o.DependenciesChecksumMd5) { toSerialize["dependencies_checksum_md5"] = o.DependenciesChecksumMd5 } - if o.DependenciesUrl != nil { + if !isNil(o.DependenciesUrl) { toSerialize["dependencies_url"] = o.DependenciesUrl } - if o.Description != nil { + if !isNil(o.Description) { toSerialize["description"] = o.Description } - if o.Distro != nil { - toSerialize["distro"] = o.Distro + if o.Distro.IsSet() { + toSerialize["distro"] = o.Distro.Get() } - if o.DistroVersion != nil { + if !isNil(o.DistroVersion) { toSerialize["distro_version"] = o.DistroVersion } - if o.Downloads != nil { + if !isNil(o.Downloads) { toSerialize["downloads"] = o.Downloads } - if o.Epoch != nil { + if !isNil(o.Epoch) { toSerialize["epoch"] = o.Epoch } - if o.Extension != nil { + if !isNil(o.Extension) { toSerialize["extension"] = o.Extension } - if o.Filename != nil { + if !isNil(o.Filename) { toSerialize["filename"] = o.Filename } - if o.Files != nil { + if !isNil(o.Files) { toSerialize["files"] = o.Files } - if o.Format != nil { + if !isNil(o.Format) { toSerialize["format"] = o.Format } - if o.FormatUrl != nil { + if !isNil(o.FormatUrl) { toSerialize["format_url"] = o.FormatUrl } - if o.IdentifierPerm != nil { + if !isNil(o.IdentifierPerm) { toSerialize["identifier_perm"] = o.IdentifierPerm } - if o.Indexed != nil { + if !isNil(o.Indexed) { toSerialize["indexed"] = o.Indexed } - if o.IsDownloadable != nil { + if !isNil(o.IsDownloadable) { toSerialize["is_downloadable"] = o.IsDownloadable } - if o.IsQuarantined != nil { + if !isNil(o.IsQuarantined) { toSerialize["is_quarantined"] = o.IsQuarantined } - if o.IsSyncAwaiting != nil { + if !isNil(o.IsSyncAwaiting) { toSerialize["is_sync_awaiting"] = o.IsSyncAwaiting } - if o.IsSyncCompleted != nil { + if !isNil(o.IsSyncCompleted) { toSerialize["is_sync_completed"] = o.IsSyncCompleted } - if o.IsSyncFailed != nil { + if !isNil(o.IsSyncFailed) { toSerialize["is_sync_failed"] = o.IsSyncFailed } - if o.IsSyncInFlight != nil { + if !isNil(o.IsSyncInFlight) { toSerialize["is_sync_in_flight"] = o.IsSyncInFlight } - if o.IsSyncInProgress != nil { + if !isNil(o.IsSyncInProgress) { toSerialize["is_sync_in_progress"] = o.IsSyncInProgress } - if o.License != nil { + if !isNil(o.License) { toSerialize["license"] = o.License } if true { toSerialize["name"] = o.Name } - if o.Namespace != nil { + if !isNil(o.Namespace) { toSerialize["namespace"] = o.Namespace } - if o.NamespaceUrl != nil { + if !isNil(o.NamespaceUrl) { toSerialize["namespace_url"] = o.NamespaceUrl } - if o.NumFiles != nil { + if !isNil(o.NumFiles) { toSerialize["num_files"] = o.NumFiles } - if o.PackageType != nil { + if !isNil(o.OriginRepository) { + toSerialize["origin_repository"] = o.OriginRepository + } + if !isNil(o.OriginRepositoryUrl) { + toSerialize["origin_repository_url"] = o.OriginRepositoryUrl + } + if !isNil(o.PackageType) { toSerialize["package_type"] = o.PackageType } if true { toSerialize["provider"] = o.Provider } - if o.Release != nil { + if !isNil(o.Release) { toSerialize["release"] = o.Release } - if o.Repository != nil { + if !isNil(o.Repository) { toSerialize["repository"] = o.Repository } - if o.RepositoryUrl != nil { + if !isNil(o.RepositoryUrl) { toSerialize["repository_url"] = o.RepositoryUrl } - if o.SecurityScanCompletedAt != nil { + if !isNil(o.SecurityScanCompletedAt) { toSerialize["security_scan_completed_at"] = o.SecurityScanCompletedAt } - if o.SecurityScanStartedAt != nil { + if !isNil(o.SecurityScanStartedAt) { toSerialize["security_scan_started_at"] = o.SecurityScanStartedAt } - if o.SecurityScanStatus != nil { - toSerialize["security_scan_status"] = o.SecurityScanStatus + if o.SecurityScanStatus.IsSet() { + toSerialize["security_scan_status"] = o.SecurityScanStatus.Get() } - if o.SecurityScanStatusUpdatedAt != nil { + if !isNil(o.SecurityScanStatusUpdatedAt) { toSerialize["security_scan_status_updated_at"] = o.SecurityScanStatusUpdatedAt } - if o.SelfHtmlUrl != nil { + if !isNil(o.SelfHtmlUrl) { toSerialize["self_html_url"] = o.SelfHtmlUrl } - if o.SelfUrl != nil { + if !isNil(o.SelfUrl) { toSerialize["self_url"] = o.SelfUrl } - if o.SignatureUrl != nil { - toSerialize["signature_url"] = o.SignatureUrl + if o.SignatureUrl.IsSet() { + toSerialize["signature_url"] = o.SignatureUrl.Get() } - if o.Size != nil { + if !isNil(o.Size) { toSerialize["size"] = o.Size } - if o.Slug != nil { + if !isNil(o.Slug) { toSerialize["slug"] = o.Slug } - if o.SlugPerm != nil { + if !isNil(o.SlugPerm) { toSerialize["slug_perm"] = o.SlugPerm } - if o.Stage != nil { + if !isNil(o.Stage) { toSerialize["stage"] = o.Stage } - if o.StageStr != nil { + if !isNil(o.StageStr) { toSerialize["stage_str"] = o.StageStr } - if o.StageUpdatedAt != nil { + if !isNil(o.StageUpdatedAt) { toSerialize["stage_updated_at"] = o.StageUpdatedAt } - if o.Status != nil { + if !isNil(o.Status) { toSerialize["status"] = o.Status } - if o.StatusReason != nil { + if !isNil(o.StatusReason) { toSerialize["status_reason"] = o.StatusReason } - if o.StatusStr != nil { + if !isNil(o.StatusStr) { toSerialize["status_str"] = o.StatusStr } - if o.StatusUpdatedAt != nil { + if !isNil(o.StatusUpdatedAt) { toSerialize["status_updated_at"] = o.StatusUpdatedAt } - if o.StatusUrl != nil { + if !isNil(o.StatusUrl) { toSerialize["status_url"] = o.StatusUrl } - if o.Subtype != nil { + if !isNil(o.Subtype) { toSerialize["subtype"] = o.Subtype } - if o.Summary != nil { + if !isNil(o.Summary) { toSerialize["summary"] = o.Summary } - if o.SyncFinishedAt != nil { + if !isNil(o.SyncFinishedAt) { toSerialize["sync_finished_at"] = o.SyncFinishedAt } - if o.SyncProgress != nil { + if !isNil(o.SyncProgress) { toSerialize["sync_progress"] = o.SyncProgress } - if o.TagsImmutable != nil { + if !isNil(o.TagsImmutable) { toSerialize["tags_immutable"] = o.TagsImmutable } - if o.TypeDisplay != nil { + if !isNil(o.TypeDisplay) { toSerialize["type_display"] = o.TypeDisplay } - if o.UploadedAt != nil { + if !isNil(o.UploadedAt) { toSerialize["uploaded_at"] = o.UploadedAt } - if o.Uploader != nil { + if !isNil(o.Uploader) { toSerialize["uploader"] = o.Uploader } - if o.UploaderUrl != nil { + if !isNil(o.UploaderUrl) { toSerialize["uploader_url"] = o.UploaderUrl } if true { toSerialize["version"] = o.Version } - if o.VersionOrig != nil { + if !isNil(o.VersionOrig) { toSerialize["version_orig"] = o.VersionOrig } - if o.VulnerabilityScanResultsUrl != nil { + if !isNil(o.VulnerabilityScanResultsUrl) { toSerialize["vulnerability_scan_results_url"] = o.VulnerabilityScanResultsUrl } return json.Marshal(toSerialize) } -type NullableVagrantPackageUpload struct { - value *VagrantPackageUpload +type NullableVagrantPackageUploadResponse struct { + value *VagrantPackageUploadResponse isSet bool } -func (v NullableVagrantPackageUpload) Get() *VagrantPackageUpload { +func (v NullableVagrantPackageUploadResponse) Get() *VagrantPackageUploadResponse { return v.value } -func (v *NullableVagrantPackageUpload) Set(val *VagrantPackageUpload) { +func (v *NullableVagrantPackageUploadResponse) Set(val *VagrantPackageUploadResponse) { v.value = val v.isSet = true } -func (v NullableVagrantPackageUpload) IsSet() bool { +func (v NullableVagrantPackageUploadResponse) IsSet() bool { return v.isSet } -func (v *NullableVagrantPackageUpload) Unset() { +func (v *NullableVagrantPackageUploadResponse) Unset() { v.value = nil v.isSet = false } -func NewNullableVagrantPackageUpload(val *VagrantPackageUpload) *NullableVagrantPackageUpload { - return &NullableVagrantPackageUpload{value: val, isSet: true} +func NewNullableVagrantPackageUploadResponse(val *VagrantPackageUploadResponse) *NullableVagrantPackageUploadResponse { + return &NullableVagrantPackageUploadResponse{value: val, isSet: true} } -func (v NullableVagrantPackageUpload) MarshalJSON() ([]byte, error) { +func (v NullableVagrantPackageUploadResponse) MarshalJSON() ([]byte, error) { return json.Marshal(v.value) } -func (v *NullableVagrantPackageUpload) UnmarshalJSON(src []byte) error { +func (v *NullableVagrantPackageUploadResponse) UnmarshalJSON(src []byte) error { v.isSet = true return json.Unmarshal(src, &v.value) } diff --git a/model_vulnerability.go b/model_vulnerability.go new file mode 100644 index 00000000..16046a33 --- /dev/null +++ b/model_vulnerability.go @@ -0,0 +1,350 @@ +/* +Cloudsmith API (v1) + +The API to the Cloudsmith Service + +API version: 1.181.6 +Contact: support@cloudsmith.io +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cloudsmith + +import ( + "encoding/json" +) + +// Vulnerability struct for Vulnerability +type Vulnerability struct { + AffectedVersion VulnerabilityScanVersion `json:"affected_version"` + Description string `json:"description"` + FixedVersion VulnerabilityScanVersion `json:"fixed_version"` + PackageName string `json:"package_name"` + References []string `json:"references"` + Severity *string `json:"severity,omitempty"` + SeveritySource string `json:"severity_source"` + Title string `json:"title"` + VulnerabilityId string `json:"vulnerability_id"` +} + +// NewVulnerability instantiates a new Vulnerability object +// 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 NewVulnerability(affectedVersion VulnerabilityScanVersion, description string, fixedVersion VulnerabilityScanVersion, packageName string, references []string, severitySource string, title string, vulnerabilityId string) *Vulnerability { + this := Vulnerability{} + this.AffectedVersion = affectedVersion + this.Description = description + this.FixedVersion = fixedVersion + this.PackageName = packageName + this.References = references + var severity string = "Unknown" + this.Severity = &severity + this.SeveritySource = severitySource + this.Title = title + this.VulnerabilityId = vulnerabilityId + return &this +} + +// NewVulnerabilityWithDefaults instantiates a new Vulnerability object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewVulnerabilityWithDefaults() *Vulnerability { + this := Vulnerability{} + var severity string = "Unknown" + this.Severity = &severity + return &this +} + +// GetAffectedVersion returns the AffectedVersion field value +func (o *Vulnerability) GetAffectedVersion() VulnerabilityScanVersion { + if o == nil { + var ret VulnerabilityScanVersion + return ret + } + + return o.AffectedVersion +} + +// GetAffectedVersionOk returns a tuple with the AffectedVersion field value +// and a boolean to check if the value has been set. +func (o *Vulnerability) GetAffectedVersionOk() (*VulnerabilityScanVersion, bool) { + if o == nil { + return nil, false + } + return &o.AffectedVersion, true +} + +// SetAffectedVersion sets field value +func (o *Vulnerability) SetAffectedVersion(v VulnerabilityScanVersion) { + o.AffectedVersion = v +} + +// GetDescription returns the Description field value +func (o *Vulnerability) GetDescription() string { + if o == nil { + var ret string + return ret + } + + return o.Description +} + +// GetDescriptionOk returns a tuple with the Description field value +// and a boolean to check if the value has been set. +func (o *Vulnerability) GetDescriptionOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Description, true +} + +// SetDescription sets field value +func (o *Vulnerability) SetDescription(v string) { + o.Description = v +} + +// GetFixedVersion returns the FixedVersion field value +func (o *Vulnerability) GetFixedVersion() VulnerabilityScanVersion { + if o == nil { + var ret VulnerabilityScanVersion + return ret + } + + return o.FixedVersion +} + +// GetFixedVersionOk returns a tuple with the FixedVersion field value +// and a boolean to check if the value has been set. +func (o *Vulnerability) GetFixedVersionOk() (*VulnerabilityScanVersion, bool) { + if o == nil { + return nil, false + } + return &o.FixedVersion, true +} + +// SetFixedVersion sets field value +func (o *Vulnerability) SetFixedVersion(v VulnerabilityScanVersion) { + o.FixedVersion = v +} + +// GetPackageName returns the PackageName field value +func (o *Vulnerability) GetPackageName() string { + if o == nil { + var ret string + return ret + } + + return o.PackageName +} + +// GetPackageNameOk returns a tuple with the PackageName field value +// and a boolean to check if the value has been set. +func (o *Vulnerability) GetPackageNameOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.PackageName, true +} + +// SetPackageName sets field value +func (o *Vulnerability) SetPackageName(v string) { + o.PackageName = v +} + +// GetReferences returns the References field value +func (o *Vulnerability) GetReferences() []string { + if o == nil { + var ret []string + return ret + } + + return o.References +} + +// GetReferencesOk returns a tuple with the References field value +// and a boolean to check if the value has been set. +func (o *Vulnerability) GetReferencesOk() ([]string, bool) { + if o == nil { + return nil, false + } + return o.References, true +} + +// SetReferences sets field value +func (o *Vulnerability) SetReferences(v []string) { + o.References = v +} + +// GetSeverity returns the Severity field value if set, zero value otherwise. +func (o *Vulnerability) GetSeverity() string { + if o == nil || isNil(o.Severity) { + var ret string + return ret + } + return *o.Severity +} + +// GetSeverityOk returns a tuple with the Severity field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *Vulnerability) GetSeverityOk() (*string, bool) { + if o == nil || isNil(o.Severity) { + return nil, false + } + return o.Severity, true +} + +// HasSeverity returns a boolean if a field has been set. +func (o *Vulnerability) HasSeverity() bool { + if o != nil && !isNil(o.Severity) { + return true + } + + return false +} + +// SetSeverity gets a reference to the given string and assigns it to the Severity field. +func (o *Vulnerability) SetSeverity(v string) { + o.Severity = &v +} + +// GetSeveritySource returns the SeveritySource field value +func (o *Vulnerability) GetSeveritySource() string { + if o == nil { + var ret string + return ret + } + + return o.SeveritySource +} + +// GetSeveritySourceOk returns a tuple with the SeveritySource field value +// and a boolean to check if the value has been set. +func (o *Vulnerability) GetSeveritySourceOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.SeveritySource, true +} + +// SetSeveritySource sets field value +func (o *Vulnerability) SetSeveritySource(v string) { + o.SeveritySource = v +} + +// GetTitle returns the Title field value +func (o *Vulnerability) GetTitle() string { + if o == nil { + var ret string + return ret + } + + return o.Title +} + +// GetTitleOk returns a tuple with the Title field value +// and a boolean to check if the value has been set. +func (o *Vulnerability) GetTitleOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Title, true +} + +// SetTitle sets field value +func (o *Vulnerability) SetTitle(v string) { + o.Title = v +} + +// GetVulnerabilityId returns the VulnerabilityId field value +func (o *Vulnerability) GetVulnerabilityId() string { + if o == nil { + var ret string + return ret + } + + return o.VulnerabilityId +} + +// GetVulnerabilityIdOk returns a tuple with the VulnerabilityId field value +// and a boolean to check if the value has been set. +func (o *Vulnerability) GetVulnerabilityIdOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.VulnerabilityId, true +} + +// SetVulnerabilityId sets field value +func (o *Vulnerability) SetVulnerabilityId(v string) { + o.VulnerabilityId = v +} + +func (o Vulnerability) MarshalJSON() ([]byte, error) { + toSerialize := map[string]interface{}{} + if true { + toSerialize["affected_version"] = o.AffectedVersion + } + if true { + toSerialize["description"] = o.Description + } + if true { + toSerialize["fixed_version"] = o.FixedVersion + } + if true { + toSerialize["package_name"] = o.PackageName + } + if true { + toSerialize["references"] = o.References + } + if !isNil(o.Severity) { + toSerialize["severity"] = o.Severity + } + if true { + toSerialize["severity_source"] = o.SeveritySource + } + if true { + toSerialize["title"] = o.Title + } + if true { + toSerialize["vulnerability_id"] = o.VulnerabilityId + } + return json.Marshal(toSerialize) +} + +type NullableVulnerability struct { + value *Vulnerability + isSet bool +} + +func (v NullableVulnerability) Get() *Vulnerability { + return v.value +} + +func (v *NullableVulnerability) Set(val *Vulnerability) { + v.value = val + v.isSet = true +} + +func (v NullableVulnerability) IsSet() bool { + return v.isSet +} + +func (v *NullableVulnerability) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableVulnerability(val *Vulnerability) *NullableVulnerability { + return &NullableVulnerability{value: val, isSet: true} +} + +func (v NullableVulnerability) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableVulnerability) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} diff --git a/model_vulnerability_scan.go b/model_vulnerability_scan.go new file mode 100644 index 00000000..4a8b54af --- /dev/null +++ b/model_vulnerability_scan.go @@ -0,0 +1,165 @@ +/* +Cloudsmith API (v1) + +The API to the Cloudsmith Service + +API version: 1.181.6 +Contact: support@cloudsmith.io +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cloudsmith + +import ( + "encoding/json" +) + +// VulnerabilityScan struct for VulnerabilityScan +type VulnerabilityScan struct { + Results []Vulnerability `json:"results"` + Target string `json:"target"` + Type string `json:"type"` +} + +// NewVulnerabilityScan instantiates a new VulnerabilityScan object +// 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 NewVulnerabilityScan(results []Vulnerability, target string, type_ string) *VulnerabilityScan { + this := VulnerabilityScan{} + this.Results = results + this.Target = target + this.Type = type_ + return &this +} + +// NewVulnerabilityScanWithDefaults instantiates a new VulnerabilityScan object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewVulnerabilityScanWithDefaults() *VulnerabilityScan { + this := VulnerabilityScan{} + return &this +} + +// GetResults returns the Results field value +func (o *VulnerabilityScan) GetResults() []Vulnerability { + if o == nil { + var ret []Vulnerability + return ret + } + + return o.Results +} + +// GetResultsOk returns a tuple with the Results field value +// and a boolean to check if the value has been set. +func (o *VulnerabilityScan) GetResultsOk() ([]Vulnerability, bool) { + if o == nil { + return nil, false + } + return o.Results, true +} + +// SetResults sets field value +func (o *VulnerabilityScan) SetResults(v []Vulnerability) { + o.Results = v +} + +// GetTarget returns the Target field value +func (o *VulnerabilityScan) GetTarget() string { + if o == nil { + var ret string + return ret + } + + return o.Target +} + +// GetTargetOk returns a tuple with the Target field value +// and a boolean to check if the value has been set. +func (o *VulnerabilityScan) GetTargetOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Target, true +} + +// SetTarget sets field value +func (o *VulnerabilityScan) SetTarget(v string) { + o.Target = v +} + +// GetType returns the Type field value +func (o *VulnerabilityScan) GetType() string { + if o == nil { + var ret string + return ret + } + + return o.Type +} + +// GetTypeOk returns a tuple with the Type field value +// and a boolean to check if the value has been set. +func (o *VulnerabilityScan) GetTypeOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Type, true +} + +// SetType sets field value +func (o *VulnerabilityScan) SetType(v string) { + o.Type = v +} + +func (o VulnerabilityScan) MarshalJSON() ([]byte, error) { + toSerialize := map[string]interface{}{} + if true { + toSerialize["results"] = o.Results + } + if true { + toSerialize["target"] = o.Target + } + if true { + toSerialize["type"] = o.Type + } + return json.Marshal(toSerialize) +} + +type NullableVulnerabilityScan struct { + value *VulnerabilityScan + isSet bool +} + +func (v NullableVulnerabilityScan) Get() *VulnerabilityScan { + return v.value +} + +func (v *NullableVulnerabilityScan) Set(val *VulnerabilityScan) { + v.value = val + v.isSet = true +} + +func (v NullableVulnerabilityScan) IsSet() bool { + return v.isSet +} + +func (v *NullableVulnerabilityScan) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableVulnerabilityScan(val *VulnerabilityScan) *NullableVulnerabilityScan { + return &NullableVulnerabilityScan{value: val, isSet: true} +} + +func (v NullableVulnerabilityScan) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableVulnerabilityScan) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} diff --git a/model_vulnerability_scan_results.go b/model_vulnerability_scan_results.go deleted file mode 100644 index cb10083c..00000000 --- a/model_vulnerability_scan_results.go +++ /dev/null @@ -1,346 +0,0 @@ -/* -Cloudsmith API - -The API to the Cloudsmith Service - -API version: 1.121.3 -Contact: support@cloudsmith.io -*/ - -// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. - -package cloudsmith - -import ( - "encoding/json" -) - -// VulnerabilityScanResults struct for VulnerabilityScanResults -type VulnerabilityScanResults struct { - // The time this scan result was stored. - CreatedAt *string `json:"created_at,omitempty"` - // Do the results contain any known vulnerabilities? - HasVulnerabilities *bool `json:"has_vulnerabilities,omitempty"` - // - Identifier string `json:"identifier"` - // - MaxSeverity *string `json:"max_severity,omitempty"` - // - NumVulnerabilities *int64 `json:"num_vulnerabilities,omitempty"` - // - Package map[string]interface{} `json:"package"` - // - Scan map[string]interface{} `json:"scan"` - // - ScanId int64 `json:"scan_id"` -} - -// NewVulnerabilityScanResults instantiates a new VulnerabilityScanResults object -// 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 NewVulnerabilityScanResults(identifier string, package_ map[string]interface{}, scan map[string]interface{}, scanId int64) *VulnerabilityScanResults { - this := VulnerabilityScanResults{} - this.Identifier = identifier - this.Package = package_ - this.Scan = scan - this.ScanId = scanId - return &this -} - -// NewVulnerabilityScanResultsWithDefaults instantiates a new VulnerabilityScanResults object -// This constructor will only assign default values to properties that have it defined, -// but it doesn't guarantee that properties required by API are set -func NewVulnerabilityScanResultsWithDefaults() *VulnerabilityScanResults { - this := VulnerabilityScanResults{} - return &this -} - -// GetCreatedAt returns the CreatedAt field value if set, zero value otherwise. -func (o *VulnerabilityScanResults) GetCreatedAt() string { - if o == nil || o.CreatedAt == nil { - var ret string - return ret - } - return *o.CreatedAt -} - -// GetCreatedAtOk returns a tuple with the CreatedAt field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *VulnerabilityScanResults) GetCreatedAtOk() (*string, bool) { - if o == nil || o.CreatedAt == nil { - return nil, false - } - return o.CreatedAt, true -} - -// HasCreatedAt returns a boolean if a field has been set. -func (o *VulnerabilityScanResults) HasCreatedAt() bool { - if o != nil && o.CreatedAt != nil { - return true - } - - return false -} - -// SetCreatedAt gets a reference to the given string and assigns it to the CreatedAt field. -func (o *VulnerabilityScanResults) SetCreatedAt(v string) { - o.CreatedAt = &v -} - -// GetHasVulnerabilities returns the HasVulnerabilities field value if set, zero value otherwise. -func (o *VulnerabilityScanResults) GetHasVulnerabilities() bool { - if o == nil || o.HasVulnerabilities == nil { - var ret bool - return ret - } - return *o.HasVulnerabilities -} - -// GetHasVulnerabilitiesOk returns a tuple with the HasVulnerabilities field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *VulnerabilityScanResults) GetHasVulnerabilitiesOk() (*bool, bool) { - if o == nil || o.HasVulnerabilities == nil { - return nil, false - } - return o.HasVulnerabilities, true -} - -// HasHasVulnerabilities returns a boolean if a field has been set. -func (o *VulnerabilityScanResults) HasHasVulnerabilities() bool { - if o != nil && o.HasVulnerabilities != nil { - return true - } - - return false -} - -// SetHasVulnerabilities gets a reference to the given bool and assigns it to the HasVulnerabilities field. -func (o *VulnerabilityScanResults) SetHasVulnerabilities(v bool) { - o.HasVulnerabilities = &v -} - -// GetIdentifier returns the Identifier field value -func (o *VulnerabilityScanResults) GetIdentifier() string { - if o == nil { - var ret string - return ret - } - - return o.Identifier -} - -// GetIdentifierOk returns a tuple with the Identifier field value -// and a boolean to check if the value has been set. -func (o *VulnerabilityScanResults) GetIdentifierOk() (*string, bool) { - if o == nil { - return nil, false - } - return &o.Identifier, true -} - -// SetIdentifier sets field value -func (o *VulnerabilityScanResults) SetIdentifier(v string) { - o.Identifier = v -} - -// GetMaxSeverity returns the MaxSeverity field value if set, zero value otherwise. -func (o *VulnerabilityScanResults) GetMaxSeverity() string { - if o == nil || o.MaxSeverity == nil { - var ret string - return ret - } - return *o.MaxSeverity -} - -// GetMaxSeverityOk returns a tuple with the MaxSeverity field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *VulnerabilityScanResults) GetMaxSeverityOk() (*string, bool) { - if o == nil || o.MaxSeverity == nil { - return nil, false - } - return o.MaxSeverity, true -} - -// HasMaxSeverity returns a boolean if a field has been set. -func (o *VulnerabilityScanResults) HasMaxSeverity() bool { - if o != nil && o.MaxSeverity != nil { - return true - } - - return false -} - -// SetMaxSeverity gets a reference to the given string and assigns it to the MaxSeverity field. -func (o *VulnerabilityScanResults) SetMaxSeverity(v string) { - o.MaxSeverity = &v -} - -// GetNumVulnerabilities returns the NumVulnerabilities field value if set, zero value otherwise. -func (o *VulnerabilityScanResults) GetNumVulnerabilities() int64 { - if o == nil || o.NumVulnerabilities == nil { - var ret int64 - return ret - } - return *o.NumVulnerabilities -} - -// GetNumVulnerabilitiesOk returns a tuple with the NumVulnerabilities field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *VulnerabilityScanResults) GetNumVulnerabilitiesOk() (*int64, bool) { - if o == nil || o.NumVulnerabilities == nil { - return nil, false - } - return o.NumVulnerabilities, true -} - -// HasNumVulnerabilities returns a boolean if a field has been set. -func (o *VulnerabilityScanResults) HasNumVulnerabilities() bool { - if o != nil && o.NumVulnerabilities != nil { - return true - } - - return false -} - -// SetNumVulnerabilities gets a reference to the given int64 and assigns it to the NumVulnerabilities field. -func (o *VulnerabilityScanResults) SetNumVulnerabilities(v int64) { - o.NumVulnerabilities = &v -} - -// GetPackage returns the Package field value -func (o *VulnerabilityScanResults) GetPackage() map[string]interface{} { - if o == nil { - var ret map[string]interface{} - return ret - } - - return o.Package -} - -// GetPackageOk returns a tuple with the Package field value -// and a boolean to check if the value has been set. -func (o *VulnerabilityScanResults) GetPackageOk() (map[string]interface{}, bool) { - if o == nil { - return nil, false - } - return o.Package, true -} - -// SetPackage sets field value -func (o *VulnerabilityScanResults) SetPackage(v map[string]interface{}) { - o.Package = v -} - -// GetScan returns the Scan field value -func (o *VulnerabilityScanResults) GetScan() map[string]interface{} { - if o == nil { - var ret map[string]interface{} - return ret - } - - return o.Scan -} - -// GetScanOk returns a tuple with the Scan field value -// and a boolean to check if the value has been set. -func (o *VulnerabilityScanResults) GetScanOk() (map[string]interface{}, bool) { - if o == nil { - return nil, false - } - return o.Scan, true -} - -// SetScan sets field value -func (o *VulnerabilityScanResults) SetScan(v map[string]interface{}) { - o.Scan = v -} - -// GetScanId returns the ScanId field value -func (o *VulnerabilityScanResults) GetScanId() int64 { - if o == nil { - var ret int64 - return ret - } - - return o.ScanId -} - -// GetScanIdOk returns a tuple with the ScanId field value -// and a boolean to check if the value has been set. -func (o *VulnerabilityScanResults) GetScanIdOk() (*int64, bool) { - if o == nil { - return nil, false - } - return &o.ScanId, true -} - -// SetScanId sets field value -func (o *VulnerabilityScanResults) SetScanId(v int64) { - o.ScanId = v -} - -func (o VulnerabilityScanResults) MarshalJSON() ([]byte, error) { - toSerialize := map[string]interface{}{} - if o.CreatedAt != nil { - toSerialize["created_at"] = o.CreatedAt - } - if o.HasVulnerabilities != nil { - toSerialize["has_vulnerabilities"] = o.HasVulnerabilities - } - if true { - toSerialize["identifier"] = o.Identifier - } - if o.MaxSeverity != nil { - toSerialize["max_severity"] = o.MaxSeverity - } - if o.NumVulnerabilities != nil { - toSerialize["num_vulnerabilities"] = o.NumVulnerabilities - } - if true { - toSerialize["package"] = o.Package - } - if true { - toSerialize["scan"] = o.Scan - } - if true { - toSerialize["scan_id"] = o.ScanId - } - return json.Marshal(toSerialize) -} - -type NullableVulnerabilityScanResults struct { - value *VulnerabilityScanResults - isSet bool -} - -func (v NullableVulnerabilityScanResults) Get() *VulnerabilityScanResults { - return v.value -} - -func (v *NullableVulnerabilityScanResults) Set(val *VulnerabilityScanResults) { - v.value = val - v.isSet = true -} - -func (v NullableVulnerabilityScanResults) IsSet() bool { - return v.isSet -} - -func (v *NullableVulnerabilityScanResults) Unset() { - v.value = nil - v.isSet = false -} - -func NewNullableVulnerabilityScanResults(val *VulnerabilityScanResults) *NullableVulnerabilityScanResults { - return &NullableVulnerabilityScanResults{value: val, isSet: true} -} - -func (v NullableVulnerabilityScanResults) MarshalJSON() ([]byte, error) { - return json.Marshal(v.value) -} - -func (v *NullableVulnerabilityScanResults) UnmarshalJSON(src []byte) error { - v.isSet = true - return json.Unmarshal(src, &v.value) -} diff --git a/model_vulnerability_scan_results_list.go b/model_vulnerability_scan_results_list.go deleted file mode 100644 index 89ce3147..00000000 --- a/model_vulnerability_scan_results_list.go +++ /dev/null @@ -1,316 +0,0 @@ -/* -Cloudsmith API - -The API to the Cloudsmith Service - -API version: 1.121.3 -Contact: support@cloudsmith.io -*/ - -// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. - -package cloudsmith - -import ( - "encoding/json" -) - -// VulnerabilityScanResultsList struct for VulnerabilityScanResultsList -type VulnerabilityScanResultsList struct { - // The time this scan result was stored. - CreatedAt *string `json:"created_at,omitempty"` - // Do the results contain any known vulnerabilities? - HasVulnerabilities *bool `json:"has_vulnerabilities,omitempty"` - // - Identifier string `json:"identifier"` - // - MaxSeverity *string `json:"max_severity,omitempty"` - // - NumVulnerabilities *int64 `json:"num_vulnerabilities,omitempty"` - // - Package map[string]interface{} `json:"package"` - // - ScanId int64 `json:"scan_id"` -} - -// NewVulnerabilityScanResultsList instantiates a new VulnerabilityScanResultsList object -// 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 NewVulnerabilityScanResultsList(identifier string, package_ map[string]interface{}, scanId int64) *VulnerabilityScanResultsList { - this := VulnerabilityScanResultsList{} - this.Identifier = identifier - this.Package = package_ - this.ScanId = scanId - return &this -} - -// NewVulnerabilityScanResultsListWithDefaults instantiates a new VulnerabilityScanResultsList object -// This constructor will only assign default values to properties that have it defined, -// but it doesn't guarantee that properties required by API are set -func NewVulnerabilityScanResultsListWithDefaults() *VulnerabilityScanResultsList { - this := VulnerabilityScanResultsList{} - return &this -} - -// GetCreatedAt returns the CreatedAt field value if set, zero value otherwise. -func (o *VulnerabilityScanResultsList) GetCreatedAt() string { - if o == nil || o.CreatedAt == nil { - var ret string - return ret - } - return *o.CreatedAt -} - -// GetCreatedAtOk returns a tuple with the CreatedAt field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *VulnerabilityScanResultsList) GetCreatedAtOk() (*string, bool) { - if o == nil || o.CreatedAt == nil { - return nil, false - } - return o.CreatedAt, true -} - -// HasCreatedAt returns a boolean if a field has been set. -func (o *VulnerabilityScanResultsList) HasCreatedAt() bool { - if o != nil && o.CreatedAt != nil { - return true - } - - return false -} - -// SetCreatedAt gets a reference to the given string and assigns it to the CreatedAt field. -func (o *VulnerabilityScanResultsList) SetCreatedAt(v string) { - o.CreatedAt = &v -} - -// GetHasVulnerabilities returns the HasVulnerabilities field value if set, zero value otherwise. -func (o *VulnerabilityScanResultsList) GetHasVulnerabilities() bool { - if o == nil || o.HasVulnerabilities == nil { - var ret bool - return ret - } - return *o.HasVulnerabilities -} - -// GetHasVulnerabilitiesOk returns a tuple with the HasVulnerabilities field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *VulnerabilityScanResultsList) GetHasVulnerabilitiesOk() (*bool, bool) { - if o == nil || o.HasVulnerabilities == nil { - return nil, false - } - return o.HasVulnerabilities, true -} - -// HasHasVulnerabilities returns a boolean if a field has been set. -func (o *VulnerabilityScanResultsList) HasHasVulnerabilities() bool { - if o != nil && o.HasVulnerabilities != nil { - return true - } - - return false -} - -// SetHasVulnerabilities gets a reference to the given bool and assigns it to the HasVulnerabilities field. -func (o *VulnerabilityScanResultsList) SetHasVulnerabilities(v bool) { - o.HasVulnerabilities = &v -} - -// GetIdentifier returns the Identifier field value -func (o *VulnerabilityScanResultsList) GetIdentifier() string { - if o == nil { - var ret string - return ret - } - - return o.Identifier -} - -// GetIdentifierOk returns a tuple with the Identifier field value -// and a boolean to check if the value has been set. -func (o *VulnerabilityScanResultsList) GetIdentifierOk() (*string, bool) { - if o == nil { - return nil, false - } - return &o.Identifier, true -} - -// SetIdentifier sets field value -func (o *VulnerabilityScanResultsList) SetIdentifier(v string) { - o.Identifier = v -} - -// GetMaxSeverity returns the MaxSeverity field value if set, zero value otherwise. -func (o *VulnerabilityScanResultsList) GetMaxSeverity() string { - if o == nil || o.MaxSeverity == nil { - var ret string - return ret - } - return *o.MaxSeverity -} - -// GetMaxSeverityOk returns a tuple with the MaxSeverity field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *VulnerabilityScanResultsList) GetMaxSeverityOk() (*string, bool) { - if o == nil || o.MaxSeverity == nil { - return nil, false - } - return o.MaxSeverity, true -} - -// HasMaxSeverity returns a boolean if a field has been set. -func (o *VulnerabilityScanResultsList) HasMaxSeverity() bool { - if o != nil && o.MaxSeverity != nil { - return true - } - - return false -} - -// SetMaxSeverity gets a reference to the given string and assigns it to the MaxSeverity field. -func (o *VulnerabilityScanResultsList) SetMaxSeverity(v string) { - o.MaxSeverity = &v -} - -// GetNumVulnerabilities returns the NumVulnerabilities field value if set, zero value otherwise. -func (o *VulnerabilityScanResultsList) GetNumVulnerabilities() int64 { - if o == nil || o.NumVulnerabilities == nil { - var ret int64 - return ret - } - return *o.NumVulnerabilities -} - -// GetNumVulnerabilitiesOk returns a tuple with the NumVulnerabilities field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *VulnerabilityScanResultsList) GetNumVulnerabilitiesOk() (*int64, bool) { - if o == nil || o.NumVulnerabilities == nil { - return nil, false - } - return o.NumVulnerabilities, true -} - -// HasNumVulnerabilities returns a boolean if a field has been set. -func (o *VulnerabilityScanResultsList) HasNumVulnerabilities() bool { - if o != nil && o.NumVulnerabilities != nil { - return true - } - - return false -} - -// SetNumVulnerabilities gets a reference to the given int64 and assigns it to the NumVulnerabilities field. -func (o *VulnerabilityScanResultsList) SetNumVulnerabilities(v int64) { - o.NumVulnerabilities = &v -} - -// GetPackage returns the Package field value -func (o *VulnerabilityScanResultsList) GetPackage() map[string]interface{} { - if o == nil { - var ret map[string]interface{} - return ret - } - - return o.Package -} - -// GetPackageOk returns a tuple with the Package field value -// and a boolean to check if the value has been set. -func (o *VulnerabilityScanResultsList) GetPackageOk() (map[string]interface{}, bool) { - if o == nil { - return nil, false - } - return o.Package, true -} - -// SetPackage sets field value -func (o *VulnerabilityScanResultsList) SetPackage(v map[string]interface{}) { - o.Package = v -} - -// GetScanId returns the ScanId field value -func (o *VulnerabilityScanResultsList) GetScanId() int64 { - if o == nil { - var ret int64 - return ret - } - - return o.ScanId -} - -// GetScanIdOk returns a tuple with the ScanId field value -// and a boolean to check if the value has been set. -func (o *VulnerabilityScanResultsList) GetScanIdOk() (*int64, bool) { - if o == nil { - return nil, false - } - return &o.ScanId, true -} - -// SetScanId sets field value -func (o *VulnerabilityScanResultsList) SetScanId(v int64) { - o.ScanId = v -} - -func (o VulnerabilityScanResultsList) MarshalJSON() ([]byte, error) { - toSerialize := map[string]interface{}{} - if o.CreatedAt != nil { - toSerialize["created_at"] = o.CreatedAt - } - if o.HasVulnerabilities != nil { - toSerialize["has_vulnerabilities"] = o.HasVulnerabilities - } - if true { - toSerialize["identifier"] = o.Identifier - } - if o.MaxSeverity != nil { - toSerialize["max_severity"] = o.MaxSeverity - } - if o.NumVulnerabilities != nil { - toSerialize["num_vulnerabilities"] = o.NumVulnerabilities - } - if true { - toSerialize["package"] = o.Package - } - if true { - toSerialize["scan_id"] = o.ScanId - } - return json.Marshal(toSerialize) -} - -type NullableVulnerabilityScanResultsList struct { - value *VulnerabilityScanResultsList - isSet bool -} - -func (v NullableVulnerabilityScanResultsList) Get() *VulnerabilityScanResultsList { - return v.value -} - -func (v *NullableVulnerabilityScanResultsList) Set(val *VulnerabilityScanResultsList) { - v.value = val - v.isSet = true -} - -func (v NullableVulnerabilityScanResultsList) IsSet() bool { - return v.isSet -} - -func (v *NullableVulnerabilityScanResultsList) Unset() { - v.value = nil - v.isSet = false -} - -func NewNullableVulnerabilityScanResultsList(val *VulnerabilityScanResultsList) *NullableVulnerabilityScanResultsList { - return &NullableVulnerabilityScanResultsList{value: val, isSet: true} -} - -func (v NullableVulnerabilityScanResultsList) MarshalJSON() ([]byte, error) { - return json.Marshal(v.value) -} - -func (v *NullableVulnerabilityScanResultsList) UnmarshalJSON(src []byte) error { - v.isSet = true - return json.Unmarshal(src, &v.value) -} diff --git a/model_vulnerability_scan_results_list_response.go b/model_vulnerability_scan_results_list_response.go new file mode 100644 index 00000000..02fa7a68 --- /dev/null +++ b/model_vulnerability_scan_results_list_response.go @@ -0,0 +1,316 @@ +/* +Cloudsmith API (v1) + +The API to the Cloudsmith Service + +API version: 1.181.6 +Contact: support@cloudsmith.io +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cloudsmith + +import ( + "encoding/json" + "time" +) + +// VulnerabilityScanResultsListResponse struct for VulnerabilityScanResultsListResponse +type VulnerabilityScanResultsListResponse struct { + // The time this scan result was stored. + CreatedAt *time.Time `json:"created_at,omitempty"` + // Do the results contain any known vulnerabilities? + HasVulnerabilities *bool `json:"has_vulnerabilities,omitempty"` + Identifier string `json:"identifier"` + MaxSeverity *string `json:"max_severity,omitempty"` + NumVulnerabilities *int64 `json:"num_vulnerabilities,omitempty"` + Package PackageVulnerability `json:"package"` + ScanId int64 `json:"scan_id"` +} + +// NewVulnerabilityScanResultsListResponse instantiates a new VulnerabilityScanResultsListResponse object +// 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 NewVulnerabilityScanResultsListResponse(identifier string, package_ PackageVulnerability, scanId int64) *VulnerabilityScanResultsListResponse { + this := VulnerabilityScanResultsListResponse{} + this.Identifier = identifier + var maxSeverity string = "Unknown" + this.MaxSeverity = &maxSeverity + this.Package = package_ + this.ScanId = scanId + return &this +} + +// NewVulnerabilityScanResultsListResponseWithDefaults instantiates a new VulnerabilityScanResultsListResponse object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewVulnerabilityScanResultsListResponseWithDefaults() *VulnerabilityScanResultsListResponse { + this := VulnerabilityScanResultsListResponse{} + var maxSeverity string = "Unknown" + this.MaxSeverity = &maxSeverity + return &this +} + +// GetCreatedAt returns the CreatedAt field value if set, zero value otherwise. +func (o *VulnerabilityScanResultsListResponse) GetCreatedAt() time.Time { + if o == nil || isNil(o.CreatedAt) { + var ret time.Time + return ret + } + return *o.CreatedAt +} + +// GetCreatedAtOk returns a tuple with the CreatedAt field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *VulnerabilityScanResultsListResponse) GetCreatedAtOk() (*time.Time, bool) { + if o == nil || isNil(o.CreatedAt) { + return nil, false + } + return o.CreatedAt, true +} + +// HasCreatedAt returns a boolean if a field has been set. +func (o *VulnerabilityScanResultsListResponse) HasCreatedAt() bool { + if o != nil && !isNil(o.CreatedAt) { + return true + } + + return false +} + +// SetCreatedAt gets a reference to the given time.Time and assigns it to the CreatedAt field. +func (o *VulnerabilityScanResultsListResponse) SetCreatedAt(v time.Time) { + o.CreatedAt = &v +} + +// GetHasVulnerabilities returns the HasVulnerabilities field value if set, zero value otherwise. +func (o *VulnerabilityScanResultsListResponse) GetHasVulnerabilities() bool { + if o == nil || isNil(o.HasVulnerabilities) { + var ret bool + return ret + } + return *o.HasVulnerabilities +} + +// GetHasVulnerabilitiesOk returns a tuple with the HasVulnerabilities field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *VulnerabilityScanResultsListResponse) GetHasVulnerabilitiesOk() (*bool, bool) { + if o == nil || isNil(o.HasVulnerabilities) { + return nil, false + } + return o.HasVulnerabilities, true +} + +// HasHasVulnerabilities returns a boolean if a field has been set. +func (o *VulnerabilityScanResultsListResponse) HasHasVulnerabilities() bool { + if o != nil && !isNil(o.HasVulnerabilities) { + return true + } + + return false +} + +// SetHasVulnerabilities gets a reference to the given bool and assigns it to the HasVulnerabilities field. +func (o *VulnerabilityScanResultsListResponse) SetHasVulnerabilities(v bool) { + o.HasVulnerabilities = &v +} + +// GetIdentifier returns the Identifier field value +func (o *VulnerabilityScanResultsListResponse) GetIdentifier() string { + if o == nil { + var ret string + return ret + } + + return o.Identifier +} + +// GetIdentifierOk returns a tuple with the Identifier field value +// and a boolean to check if the value has been set. +func (o *VulnerabilityScanResultsListResponse) GetIdentifierOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Identifier, true +} + +// SetIdentifier sets field value +func (o *VulnerabilityScanResultsListResponse) SetIdentifier(v string) { + o.Identifier = v +} + +// GetMaxSeverity returns the MaxSeverity field value if set, zero value otherwise. +func (o *VulnerabilityScanResultsListResponse) GetMaxSeverity() string { + if o == nil || isNil(o.MaxSeverity) { + var ret string + return ret + } + return *o.MaxSeverity +} + +// GetMaxSeverityOk returns a tuple with the MaxSeverity field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *VulnerabilityScanResultsListResponse) GetMaxSeverityOk() (*string, bool) { + if o == nil || isNil(o.MaxSeverity) { + return nil, false + } + return o.MaxSeverity, true +} + +// HasMaxSeverity returns a boolean if a field has been set. +func (o *VulnerabilityScanResultsListResponse) HasMaxSeverity() bool { + if o != nil && !isNil(o.MaxSeverity) { + return true + } + + return false +} + +// SetMaxSeverity gets a reference to the given string and assigns it to the MaxSeverity field. +func (o *VulnerabilityScanResultsListResponse) SetMaxSeverity(v string) { + o.MaxSeverity = &v +} + +// GetNumVulnerabilities returns the NumVulnerabilities field value if set, zero value otherwise. +func (o *VulnerabilityScanResultsListResponse) GetNumVulnerabilities() int64 { + if o == nil || isNil(o.NumVulnerabilities) { + var ret int64 + return ret + } + return *o.NumVulnerabilities +} + +// GetNumVulnerabilitiesOk returns a tuple with the NumVulnerabilities field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *VulnerabilityScanResultsListResponse) GetNumVulnerabilitiesOk() (*int64, bool) { + if o == nil || isNil(o.NumVulnerabilities) { + return nil, false + } + return o.NumVulnerabilities, true +} + +// HasNumVulnerabilities returns a boolean if a field has been set. +func (o *VulnerabilityScanResultsListResponse) HasNumVulnerabilities() bool { + if o != nil && !isNil(o.NumVulnerabilities) { + return true + } + + return false +} + +// SetNumVulnerabilities gets a reference to the given int64 and assigns it to the NumVulnerabilities field. +func (o *VulnerabilityScanResultsListResponse) SetNumVulnerabilities(v int64) { + o.NumVulnerabilities = &v +} + +// GetPackage returns the Package field value +func (o *VulnerabilityScanResultsListResponse) GetPackage() PackageVulnerability { + if o == nil { + var ret PackageVulnerability + return ret + } + + return o.Package +} + +// GetPackageOk returns a tuple with the Package field value +// and a boolean to check if the value has been set. +func (o *VulnerabilityScanResultsListResponse) GetPackageOk() (*PackageVulnerability, bool) { + if o == nil { + return nil, false + } + return &o.Package, true +} + +// SetPackage sets field value +func (o *VulnerabilityScanResultsListResponse) SetPackage(v PackageVulnerability) { + o.Package = v +} + +// GetScanId returns the ScanId field value +func (o *VulnerabilityScanResultsListResponse) GetScanId() int64 { + if o == nil { + var ret int64 + return ret + } + + return o.ScanId +} + +// GetScanIdOk returns a tuple with the ScanId field value +// and a boolean to check if the value has been set. +func (o *VulnerabilityScanResultsListResponse) GetScanIdOk() (*int64, bool) { + if o == nil { + return nil, false + } + return &o.ScanId, true +} + +// SetScanId sets field value +func (o *VulnerabilityScanResultsListResponse) SetScanId(v int64) { + o.ScanId = v +} + +func (o VulnerabilityScanResultsListResponse) MarshalJSON() ([]byte, error) { + toSerialize := map[string]interface{}{} + if !isNil(o.CreatedAt) { + toSerialize["created_at"] = o.CreatedAt + } + if !isNil(o.HasVulnerabilities) { + toSerialize["has_vulnerabilities"] = o.HasVulnerabilities + } + if true { + toSerialize["identifier"] = o.Identifier + } + if !isNil(o.MaxSeverity) { + toSerialize["max_severity"] = o.MaxSeverity + } + if !isNil(o.NumVulnerabilities) { + toSerialize["num_vulnerabilities"] = o.NumVulnerabilities + } + if true { + toSerialize["package"] = o.Package + } + if true { + toSerialize["scan_id"] = o.ScanId + } + return json.Marshal(toSerialize) +} + +type NullableVulnerabilityScanResultsListResponse struct { + value *VulnerabilityScanResultsListResponse + isSet bool +} + +func (v NullableVulnerabilityScanResultsListResponse) Get() *VulnerabilityScanResultsListResponse { + return v.value +} + +func (v *NullableVulnerabilityScanResultsListResponse) Set(val *VulnerabilityScanResultsListResponse) { + v.value = val + v.isSet = true +} + +func (v NullableVulnerabilityScanResultsListResponse) IsSet() bool { + return v.isSet +} + +func (v *NullableVulnerabilityScanResultsListResponse) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableVulnerabilityScanResultsListResponse(val *VulnerabilityScanResultsListResponse) *NullableVulnerabilityScanResultsListResponse { + return &NullableVulnerabilityScanResultsListResponse{value: val, isSet: true} +} + +func (v NullableVulnerabilityScanResultsListResponse) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableVulnerabilityScanResultsListResponse) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} diff --git a/model_vulnerability_scan_results_response.go b/model_vulnerability_scan_results_response.go new file mode 100644 index 00000000..35b32b7b --- /dev/null +++ b/model_vulnerability_scan_results_response.go @@ -0,0 +1,345 @@ +/* +Cloudsmith API (v1) + +The API to the Cloudsmith Service + +API version: 1.181.6 +Contact: support@cloudsmith.io +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cloudsmith + +import ( + "encoding/json" + "time" +) + +// VulnerabilityScanResultsResponse struct for VulnerabilityScanResultsResponse +type VulnerabilityScanResultsResponse struct { + // The time this scan result was stored. + CreatedAt *time.Time `json:"created_at,omitempty"` + // Do the results contain any known vulnerabilities? + HasVulnerabilities *bool `json:"has_vulnerabilities,omitempty"` + Identifier string `json:"identifier"` + MaxSeverity *string `json:"max_severity,omitempty"` + NumVulnerabilities *int64 `json:"num_vulnerabilities,omitempty"` + Package PackageVulnerability `json:"package"` + Scan VulnerabilityScan `json:"scan"` + ScanId int64 `json:"scan_id"` +} + +// NewVulnerabilityScanResultsResponse instantiates a new VulnerabilityScanResultsResponse object +// 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 NewVulnerabilityScanResultsResponse(identifier string, package_ PackageVulnerability, scan VulnerabilityScan, scanId int64) *VulnerabilityScanResultsResponse { + this := VulnerabilityScanResultsResponse{} + this.Identifier = identifier + var maxSeverity string = "Unknown" + this.MaxSeverity = &maxSeverity + this.Package = package_ + this.Scan = scan + this.ScanId = scanId + return &this +} + +// NewVulnerabilityScanResultsResponseWithDefaults instantiates a new VulnerabilityScanResultsResponse object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewVulnerabilityScanResultsResponseWithDefaults() *VulnerabilityScanResultsResponse { + this := VulnerabilityScanResultsResponse{} + var maxSeverity string = "Unknown" + this.MaxSeverity = &maxSeverity + return &this +} + +// GetCreatedAt returns the CreatedAt field value if set, zero value otherwise. +func (o *VulnerabilityScanResultsResponse) GetCreatedAt() time.Time { + if o == nil || isNil(o.CreatedAt) { + var ret time.Time + return ret + } + return *o.CreatedAt +} + +// GetCreatedAtOk returns a tuple with the CreatedAt field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *VulnerabilityScanResultsResponse) GetCreatedAtOk() (*time.Time, bool) { + if o == nil || isNil(o.CreatedAt) { + return nil, false + } + return o.CreatedAt, true +} + +// HasCreatedAt returns a boolean if a field has been set. +func (o *VulnerabilityScanResultsResponse) HasCreatedAt() bool { + if o != nil && !isNil(o.CreatedAt) { + return true + } + + return false +} + +// SetCreatedAt gets a reference to the given time.Time and assigns it to the CreatedAt field. +func (o *VulnerabilityScanResultsResponse) SetCreatedAt(v time.Time) { + o.CreatedAt = &v +} + +// GetHasVulnerabilities returns the HasVulnerabilities field value if set, zero value otherwise. +func (o *VulnerabilityScanResultsResponse) GetHasVulnerabilities() bool { + if o == nil || isNil(o.HasVulnerabilities) { + var ret bool + return ret + } + return *o.HasVulnerabilities +} + +// GetHasVulnerabilitiesOk returns a tuple with the HasVulnerabilities field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *VulnerabilityScanResultsResponse) GetHasVulnerabilitiesOk() (*bool, bool) { + if o == nil || isNil(o.HasVulnerabilities) { + return nil, false + } + return o.HasVulnerabilities, true +} + +// HasHasVulnerabilities returns a boolean if a field has been set. +func (o *VulnerabilityScanResultsResponse) HasHasVulnerabilities() bool { + if o != nil && !isNil(o.HasVulnerabilities) { + return true + } + + return false +} + +// SetHasVulnerabilities gets a reference to the given bool and assigns it to the HasVulnerabilities field. +func (o *VulnerabilityScanResultsResponse) SetHasVulnerabilities(v bool) { + o.HasVulnerabilities = &v +} + +// GetIdentifier returns the Identifier field value +func (o *VulnerabilityScanResultsResponse) GetIdentifier() string { + if o == nil { + var ret string + return ret + } + + return o.Identifier +} + +// GetIdentifierOk returns a tuple with the Identifier field value +// and a boolean to check if the value has been set. +func (o *VulnerabilityScanResultsResponse) GetIdentifierOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Identifier, true +} + +// SetIdentifier sets field value +func (o *VulnerabilityScanResultsResponse) SetIdentifier(v string) { + o.Identifier = v +} + +// GetMaxSeverity returns the MaxSeverity field value if set, zero value otherwise. +func (o *VulnerabilityScanResultsResponse) GetMaxSeverity() string { + if o == nil || isNil(o.MaxSeverity) { + var ret string + return ret + } + return *o.MaxSeverity +} + +// GetMaxSeverityOk returns a tuple with the MaxSeverity field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *VulnerabilityScanResultsResponse) GetMaxSeverityOk() (*string, bool) { + if o == nil || isNil(o.MaxSeverity) { + return nil, false + } + return o.MaxSeverity, true +} + +// HasMaxSeverity returns a boolean if a field has been set. +func (o *VulnerabilityScanResultsResponse) HasMaxSeverity() bool { + if o != nil && !isNil(o.MaxSeverity) { + return true + } + + return false +} + +// SetMaxSeverity gets a reference to the given string and assigns it to the MaxSeverity field. +func (o *VulnerabilityScanResultsResponse) SetMaxSeverity(v string) { + o.MaxSeverity = &v +} + +// GetNumVulnerabilities returns the NumVulnerabilities field value if set, zero value otherwise. +func (o *VulnerabilityScanResultsResponse) GetNumVulnerabilities() int64 { + if o == nil || isNil(o.NumVulnerabilities) { + var ret int64 + return ret + } + return *o.NumVulnerabilities +} + +// GetNumVulnerabilitiesOk returns a tuple with the NumVulnerabilities field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *VulnerabilityScanResultsResponse) GetNumVulnerabilitiesOk() (*int64, bool) { + if o == nil || isNil(o.NumVulnerabilities) { + return nil, false + } + return o.NumVulnerabilities, true +} + +// HasNumVulnerabilities returns a boolean if a field has been set. +func (o *VulnerabilityScanResultsResponse) HasNumVulnerabilities() bool { + if o != nil && !isNil(o.NumVulnerabilities) { + return true + } + + return false +} + +// SetNumVulnerabilities gets a reference to the given int64 and assigns it to the NumVulnerabilities field. +func (o *VulnerabilityScanResultsResponse) SetNumVulnerabilities(v int64) { + o.NumVulnerabilities = &v +} + +// GetPackage returns the Package field value +func (o *VulnerabilityScanResultsResponse) GetPackage() PackageVulnerability { + if o == nil { + var ret PackageVulnerability + return ret + } + + return o.Package +} + +// GetPackageOk returns a tuple with the Package field value +// and a boolean to check if the value has been set. +func (o *VulnerabilityScanResultsResponse) GetPackageOk() (*PackageVulnerability, bool) { + if o == nil { + return nil, false + } + return &o.Package, true +} + +// SetPackage sets field value +func (o *VulnerabilityScanResultsResponse) SetPackage(v PackageVulnerability) { + o.Package = v +} + +// GetScan returns the Scan field value +func (o *VulnerabilityScanResultsResponse) GetScan() VulnerabilityScan { + if o == nil { + var ret VulnerabilityScan + return ret + } + + return o.Scan +} + +// GetScanOk returns a tuple with the Scan field value +// and a boolean to check if the value has been set. +func (o *VulnerabilityScanResultsResponse) GetScanOk() (*VulnerabilityScan, bool) { + if o == nil { + return nil, false + } + return &o.Scan, true +} + +// SetScan sets field value +func (o *VulnerabilityScanResultsResponse) SetScan(v VulnerabilityScan) { + o.Scan = v +} + +// GetScanId returns the ScanId field value +func (o *VulnerabilityScanResultsResponse) GetScanId() int64 { + if o == nil { + var ret int64 + return ret + } + + return o.ScanId +} + +// GetScanIdOk returns a tuple with the ScanId field value +// and a boolean to check if the value has been set. +func (o *VulnerabilityScanResultsResponse) GetScanIdOk() (*int64, bool) { + if o == nil { + return nil, false + } + return &o.ScanId, true +} + +// SetScanId sets field value +func (o *VulnerabilityScanResultsResponse) SetScanId(v int64) { + o.ScanId = v +} + +func (o VulnerabilityScanResultsResponse) MarshalJSON() ([]byte, error) { + toSerialize := map[string]interface{}{} + if !isNil(o.CreatedAt) { + toSerialize["created_at"] = o.CreatedAt + } + if !isNil(o.HasVulnerabilities) { + toSerialize["has_vulnerabilities"] = o.HasVulnerabilities + } + if true { + toSerialize["identifier"] = o.Identifier + } + if !isNil(o.MaxSeverity) { + toSerialize["max_severity"] = o.MaxSeverity + } + if !isNil(o.NumVulnerabilities) { + toSerialize["num_vulnerabilities"] = o.NumVulnerabilities + } + if true { + toSerialize["package"] = o.Package + } + if true { + toSerialize["scan"] = o.Scan + } + if true { + toSerialize["scan_id"] = o.ScanId + } + return json.Marshal(toSerialize) +} + +type NullableVulnerabilityScanResultsResponse struct { + value *VulnerabilityScanResultsResponse + isSet bool +} + +func (v NullableVulnerabilityScanResultsResponse) Get() *VulnerabilityScanResultsResponse { + return v.value +} + +func (v *NullableVulnerabilityScanResultsResponse) Set(val *VulnerabilityScanResultsResponse) { + v.value = val + v.isSet = true +} + +func (v NullableVulnerabilityScanResultsResponse) IsSet() bool { + return v.isSet +} + +func (v *NullableVulnerabilityScanResultsResponse) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableVulnerabilityScanResultsResponse(val *VulnerabilityScanResultsResponse) *NullableVulnerabilityScanResultsResponse { + return &NullableVulnerabilityScanResultsResponse{value: val, isSet: true} +} + +func (v NullableVulnerabilityScanResultsResponse) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableVulnerabilityScanResultsResponse) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} diff --git a/model_vulnerability_scan_version.go b/model_vulnerability_scan_version.go new file mode 100644 index 00000000..bcba8fd1 --- /dev/null +++ b/model_vulnerability_scan_version.go @@ -0,0 +1,285 @@ +/* +Cloudsmith API (v1) + +The API to the Cloudsmith Service + +API version: 1.181.6 +Contact: support@cloudsmith.io +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cloudsmith + +import ( + "encoding/json" +) + +// VulnerabilityScanVersion struct for VulnerabilityScanVersion +type VulnerabilityScanVersion struct { + Major int64 `json:"major"` + Minor int64 `json:"minor"` + Operator *string `json:"operator,omitempty"` + Patch int64 `json:"patch"` + RawVersion *string `json:"raw_version,omitempty"` + Version *string `json:"version,omitempty"` +} + +// NewVulnerabilityScanVersion instantiates a new VulnerabilityScanVersion object +// 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 NewVulnerabilityScanVersion(major int64, minor int64, patch int64) *VulnerabilityScanVersion { + this := VulnerabilityScanVersion{} + this.Major = major + this.Minor = minor + var operator string = "" + this.Operator = &operator + this.Patch = patch + var rawVersion string = "" + this.RawVersion = &rawVersion + var version string = "" + this.Version = &version + return &this +} + +// NewVulnerabilityScanVersionWithDefaults instantiates a new VulnerabilityScanVersion object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewVulnerabilityScanVersionWithDefaults() *VulnerabilityScanVersion { + this := VulnerabilityScanVersion{} + var operator string = "" + this.Operator = &operator + var rawVersion string = "" + this.RawVersion = &rawVersion + var version string = "" + this.Version = &version + return &this +} + +// GetMajor returns the Major field value +func (o *VulnerabilityScanVersion) GetMajor() int64 { + if o == nil { + var ret int64 + return ret + } + + return o.Major +} + +// GetMajorOk returns a tuple with the Major field value +// and a boolean to check if the value has been set. +func (o *VulnerabilityScanVersion) GetMajorOk() (*int64, bool) { + if o == nil { + return nil, false + } + return &o.Major, true +} + +// SetMajor sets field value +func (o *VulnerabilityScanVersion) SetMajor(v int64) { + o.Major = v +} + +// GetMinor returns the Minor field value +func (o *VulnerabilityScanVersion) GetMinor() int64 { + if o == nil { + var ret int64 + return ret + } + + return o.Minor +} + +// GetMinorOk returns a tuple with the Minor field value +// and a boolean to check if the value has been set. +func (o *VulnerabilityScanVersion) GetMinorOk() (*int64, bool) { + if o == nil { + return nil, false + } + return &o.Minor, true +} + +// SetMinor sets field value +func (o *VulnerabilityScanVersion) SetMinor(v int64) { + o.Minor = v +} + +// GetOperator returns the Operator field value if set, zero value otherwise. +func (o *VulnerabilityScanVersion) GetOperator() string { + if o == nil || isNil(o.Operator) { + var ret string + return ret + } + return *o.Operator +} + +// GetOperatorOk returns a tuple with the Operator field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *VulnerabilityScanVersion) GetOperatorOk() (*string, bool) { + if o == nil || isNil(o.Operator) { + return nil, false + } + return o.Operator, true +} + +// HasOperator returns a boolean if a field has been set. +func (o *VulnerabilityScanVersion) HasOperator() bool { + if o != nil && !isNil(o.Operator) { + return true + } + + return false +} + +// SetOperator gets a reference to the given string and assigns it to the Operator field. +func (o *VulnerabilityScanVersion) SetOperator(v string) { + o.Operator = &v +} + +// GetPatch returns the Patch field value +func (o *VulnerabilityScanVersion) GetPatch() int64 { + if o == nil { + var ret int64 + return ret + } + + return o.Patch +} + +// GetPatchOk returns a tuple with the Patch field value +// and a boolean to check if the value has been set. +func (o *VulnerabilityScanVersion) GetPatchOk() (*int64, bool) { + if o == nil { + return nil, false + } + return &o.Patch, true +} + +// SetPatch sets field value +func (o *VulnerabilityScanVersion) SetPatch(v int64) { + o.Patch = v +} + +// GetRawVersion returns the RawVersion field value if set, zero value otherwise. +func (o *VulnerabilityScanVersion) GetRawVersion() string { + if o == nil || isNil(o.RawVersion) { + var ret string + return ret + } + return *o.RawVersion +} + +// GetRawVersionOk returns a tuple with the RawVersion field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *VulnerabilityScanVersion) GetRawVersionOk() (*string, bool) { + if o == nil || isNil(o.RawVersion) { + return nil, false + } + return o.RawVersion, true +} + +// HasRawVersion returns a boolean if a field has been set. +func (o *VulnerabilityScanVersion) HasRawVersion() bool { + if o != nil && !isNil(o.RawVersion) { + return true + } + + return false +} + +// SetRawVersion gets a reference to the given string and assigns it to the RawVersion field. +func (o *VulnerabilityScanVersion) SetRawVersion(v string) { + o.RawVersion = &v +} + +// GetVersion returns the Version field value if set, zero value otherwise. +func (o *VulnerabilityScanVersion) GetVersion() string { + if o == nil || isNil(o.Version) { + var ret string + return ret + } + return *o.Version +} + +// GetVersionOk returns a tuple with the Version field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *VulnerabilityScanVersion) GetVersionOk() (*string, bool) { + if o == nil || isNil(o.Version) { + return nil, false + } + return o.Version, true +} + +// HasVersion returns a boolean if a field has been set. +func (o *VulnerabilityScanVersion) HasVersion() bool { + if o != nil && !isNil(o.Version) { + return true + } + + return false +} + +// SetVersion gets a reference to the given string and assigns it to the Version field. +func (o *VulnerabilityScanVersion) SetVersion(v string) { + o.Version = &v +} + +func (o VulnerabilityScanVersion) MarshalJSON() ([]byte, error) { + toSerialize := map[string]interface{}{} + if true { + toSerialize["major"] = o.Major + } + if true { + toSerialize["minor"] = o.Minor + } + if !isNil(o.Operator) { + toSerialize["operator"] = o.Operator + } + if true { + toSerialize["patch"] = o.Patch + } + if !isNil(o.RawVersion) { + toSerialize["raw_version"] = o.RawVersion + } + if !isNil(o.Version) { + toSerialize["version"] = o.Version + } + return json.Marshal(toSerialize) +} + +type NullableVulnerabilityScanVersion struct { + value *VulnerabilityScanVersion + isSet bool +} + +func (v NullableVulnerabilityScanVersion) Get() *VulnerabilityScanVersion { + return v.value +} + +func (v *NullableVulnerabilityScanVersion) Set(val *VulnerabilityScanVersion) { + v.value = val + v.isSet = true +} + +func (v NullableVulnerabilityScanVersion) IsSet() bool { + return v.isSet +} + +func (v *NullableVulnerabilityScanVersion) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableVulnerabilityScanVersion(val *VulnerabilityScanVersion) *NullableVulnerabilityScanVersion { + return &NullableVulnerabilityScanVersion{value: val, isSet: true} +} + +func (v NullableVulnerabilityScanVersion) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableVulnerabilityScanVersion) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} diff --git a/model_webhook_template.go b/model_webhook_template.go new file mode 100644 index 00000000..8b64f538 --- /dev/null +++ b/model_webhook_template.go @@ -0,0 +1,154 @@ +/* +Cloudsmith API (v1) + +The API to the Cloudsmith Service + +API version: 1.181.6 +Contact: support@cloudsmith.io +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cloudsmith + +import ( + "encoding/json" +) + +// WebhookTemplate struct for WebhookTemplate +type WebhookTemplate struct { + Event string `json:"event"` + Template NullableString `json:"template,omitempty"` +} + +// NewWebhookTemplate instantiates a new WebhookTemplate object +// 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 NewWebhookTemplate(event string) *WebhookTemplate { + this := WebhookTemplate{} + this.Event = event + return &this +} + +// NewWebhookTemplateWithDefaults instantiates a new WebhookTemplate object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewWebhookTemplateWithDefaults() *WebhookTemplate { + this := WebhookTemplate{} + return &this +} + +// GetEvent returns the Event field value +func (o *WebhookTemplate) GetEvent() string { + if o == nil { + var ret string + return ret + } + + return o.Event +} + +// GetEventOk returns a tuple with the Event field value +// and a boolean to check if the value has been set. +func (o *WebhookTemplate) GetEventOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Event, true +} + +// SetEvent sets field value +func (o *WebhookTemplate) SetEvent(v string) { + o.Event = v +} + +// GetTemplate returns the Template field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *WebhookTemplate) GetTemplate() string { + if o == nil || isNil(o.Template.Get()) { + var ret string + return ret + } + return *o.Template.Get() +} + +// GetTemplateOk returns a tuple with the Template 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 *WebhookTemplate) GetTemplateOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.Template.Get(), o.Template.IsSet() +} + +// HasTemplate returns a boolean if a field has been set. +func (o *WebhookTemplate) HasTemplate() bool { + if o != nil && o.Template.IsSet() { + return true + } + + return false +} + +// SetTemplate gets a reference to the given NullableString and assigns it to the Template field. +func (o *WebhookTemplate) SetTemplate(v string) { + o.Template.Set(&v) +} + +// SetTemplateNil sets the value for Template to be an explicit nil +func (o *WebhookTemplate) SetTemplateNil() { + o.Template.Set(nil) +} + +// UnsetTemplate ensures that no value is present for Template, not even an explicit nil +func (o *WebhookTemplate) UnsetTemplate() { + o.Template.Unset() +} + +func (o WebhookTemplate) MarshalJSON() ([]byte, error) { + toSerialize := map[string]interface{}{} + if true { + toSerialize["event"] = o.Event + } + if o.Template.IsSet() { + toSerialize["template"] = o.Template.Get() + } + return json.Marshal(toSerialize) +} + +type NullableWebhookTemplate struct { + value *WebhookTemplate + isSet bool +} + +func (v NullableWebhookTemplate) Get() *WebhookTemplate { + return v.value +} + +func (v *NullableWebhookTemplate) Set(val *WebhookTemplate) { + v.value = val + v.isSet = true +} + +func (v NullableWebhookTemplate) IsSet() bool { + return v.isSet +} + +func (v *NullableWebhookTemplate) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableWebhookTemplate(val *WebhookTemplate) *NullableWebhookTemplate { + return &NullableWebhookTemplate{value: val, isSet: true} +} + +func (v NullableWebhookTemplate) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableWebhookTemplate) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} diff --git a/model_webhooks_create.go b/model_webhooks_create.go deleted file mode 100644 index 787a2b09..00000000 --- a/model_webhooks_create.go +++ /dev/null @@ -1,501 +0,0 @@ -/* -Cloudsmith API - -The API to the Cloudsmith Service - -API version: 1.121.3 -Contact: support@cloudsmith.io -*/ - -// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. - -package cloudsmith - -import ( - "encoding/json" -) - -// WebhooksCreate struct for WebhooksCreate -type WebhooksCreate struct { - // None - Events []string `json:"events"` - // If enabled, the webhook will trigger on events and send payloads to the configured target URL. - IsActive *bool `json:"is_active,omitempty"` - // The package-based search query for webhooks to fire. This uses the same syntax as the standard search used for repositories, and also supports boolean logic operators such as OR/AND/NOT and parentheses for grouping. If a package does not match, the webhook will not fire. - PackageQuery *string `json:"package_query,omitempty"` - // The format of the payloads for webhook requests. - RequestBodyFormat *int64 `json:"request_body_format,omitempty"` - // The format of the payloads for webhook requests. - RequestBodyTemplateFormat *int64 `json:"request_body_template_format,omitempty"` - // The value that will be sent for the 'Content Type' header. - RequestContentType *string `json:"request_content_type,omitempty"` - // The header to send the predefined secret in. This must be unique from existing headers or it won't be sent. You can use this as a form of authentication on the endpoint side. - SecretHeader *string `json:"secret_header,omitempty"` - // The value for the predefined secret (note: this is treated as a passphrase and is encrypted when we store it). You can use this as a form of authentication on the endpoint side. - SecretValue *string `json:"secret_value,omitempty"` - // The value for the signature key - This is used to generate an HMAC-based hex digest of the request body, which we send as the X-Cloudsmith-Signature header so that you can ensure that the request wasn't modified by a malicious party (note: this is treated as a passphrase and is encrypted when we store it). - SignatureKey *string `json:"signature_key,omitempty"` - // The destination URL that webhook payloads will be POST'ed to. - TargetUrl string `json:"target_url"` - // None - Templates []WebhooksOwnerRepoTemplates `json:"templates"` - // If enabled, SSL certificates is verified when webhooks are sent. It's recommended to leave this enabled as not verifying the integrity of SSL certificates leaves you susceptible to Man-in-the-Middle (MITM) attacks. - VerifySsl *bool `json:"verify_ssl,omitempty"` -} - -// NewWebhooksCreate instantiates a new WebhooksCreate object -// 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 NewWebhooksCreate(events []string, targetUrl string, templates []WebhooksOwnerRepoTemplates) *WebhooksCreate { - this := WebhooksCreate{} - this.Events = events - this.TargetUrl = targetUrl - this.Templates = templates - return &this -} - -// NewWebhooksCreateWithDefaults instantiates a new WebhooksCreate object -// This constructor will only assign default values to properties that have it defined, -// but it doesn't guarantee that properties required by API are set -func NewWebhooksCreateWithDefaults() *WebhooksCreate { - this := WebhooksCreate{} - return &this -} - -// GetEvents returns the Events field value -func (o *WebhooksCreate) GetEvents() []string { - if o == nil { - var ret []string - return ret - } - - return o.Events -} - -// GetEventsOk returns a tuple with the Events field value -// and a boolean to check if the value has been set. -func (o *WebhooksCreate) GetEventsOk() ([]string, bool) { - if o == nil { - return nil, false - } - return o.Events, true -} - -// SetEvents sets field value -func (o *WebhooksCreate) SetEvents(v []string) { - o.Events = v -} - -// GetIsActive returns the IsActive field value if set, zero value otherwise. -func (o *WebhooksCreate) GetIsActive() bool { - if o == nil || o.IsActive == nil { - var ret bool - return ret - } - return *o.IsActive -} - -// GetIsActiveOk returns a tuple with the IsActive field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *WebhooksCreate) GetIsActiveOk() (*bool, bool) { - if o == nil || o.IsActive == nil { - return nil, false - } - return o.IsActive, true -} - -// HasIsActive returns a boolean if a field has been set. -func (o *WebhooksCreate) HasIsActive() bool { - if o != nil && o.IsActive != nil { - return true - } - - return false -} - -// SetIsActive gets a reference to the given bool and assigns it to the IsActive field. -func (o *WebhooksCreate) SetIsActive(v bool) { - o.IsActive = &v -} - -// GetPackageQuery returns the PackageQuery field value if set, zero value otherwise. -func (o *WebhooksCreate) GetPackageQuery() string { - if o == nil || o.PackageQuery == nil { - var ret string - return ret - } - return *o.PackageQuery -} - -// GetPackageQueryOk returns a tuple with the PackageQuery field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *WebhooksCreate) GetPackageQueryOk() (*string, bool) { - if o == nil || o.PackageQuery == nil { - return nil, false - } - return o.PackageQuery, true -} - -// HasPackageQuery returns a boolean if a field has been set. -func (o *WebhooksCreate) HasPackageQuery() bool { - if o != nil && o.PackageQuery != nil { - return true - } - - return false -} - -// SetPackageQuery gets a reference to the given string and assigns it to the PackageQuery field. -func (o *WebhooksCreate) SetPackageQuery(v string) { - o.PackageQuery = &v -} - -// GetRequestBodyFormat returns the RequestBodyFormat field value if set, zero value otherwise. -func (o *WebhooksCreate) GetRequestBodyFormat() int64 { - if o == nil || o.RequestBodyFormat == nil { - var ret int64 - return ret - } - return *o.RequestBodyFormat -} - -// GetRequestBodyFormatOk returns a tuple with the RequestBodyFormat field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *WebhooksCreate) GetRequestBodyFormatOk() (*int64, bool) { - if o == nil || o.RequestBodyFormat == nil { - return nil, false - } - return o.RequestBodyFormat, true -} - -// HasRequestBodyFormat returns a boolean if a field has been set. -func (o *WebhooksCreate) HasRequestBodyFormat() bool { - if o != nil && o.RequestBodyFormat != nil { - return true - } - - return false -} - -// SetRequestBodyFormat gets a reference to the given int64 and assigns it to the RequestBodyFormat field. -func (o *WebhooksCreate) SetRequestBodyFormat(v int64) { - o.RequestBodyFormat = &v -} - -// GetRequestBodyTemplateFormat returns the RequestBodyTemplateFormat field value if set, zero value otherwise. -func (o *WebhooksCreate) GetRequestBodyTemplateFormat() int64 { - if o == nil || o.RequestBodyTemplateFormat == nil { - var ret int64 - return ret - } - return *o.RequestBodyTemplateFormat -} - -// GetRequestBodyTemplateFormatOk returns a tuple with the RequestBodyTemplateFormat field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *WebhooksCreate) GetRequestBodyTemplateFormatOk() (*int64, bool) { - if o == nil || o.RequestBodyTemplateFormat == nil { - return nil, false - } - return o.RequestBodyTemplateFormat, true -} - -// HasRequestBodyTemplateFormat returns a boolean if a field has been set. -func (o *WebhooksCreate) HasRequestBodyTemplateFormat() bool { - if o != nil && o.RequestBodyTemplateFormat != nil { - return true - } - - return false -} - -// SetRequestBodyTemplateFormat gets a reference to the given int64 and assigns it to the RequestBodyTemplateFormat field. -func (o *WebhooksCreate) SetRequestBodyTemplateFormat(v int64) { - o.RequestBodyTemplateFormat = &v -} - -// GetRequestContentType returns the RequestContentType field value if set, zero value otherwise. -func (o *WebhooksCreate) GetRequestContentType() string { - if o == nil || o.RequestContentType == nil { - var ret string - return ret - } - return *o.RequestContentType -} - -// GetRequestContentTypeOk returns a tuple with the RequestContentType field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *WebhooksCreate) GetRequestContentTypeOk() (*string, bool) { - if o == nil || o.RequestContentType == nil { - return nil, false - } - return o.RequestContentType, true -} - -// HasRequestContentType returns a boolean if a field has been set. -func (o *WebhooksCreate) HasRequestContentType() bool { - if o != nil && o.RequestContentType != nil { - return true - } - - return false -} - -// SetRequestContentType gets a reference to the given string and assigns it to the RequestContentType field. -func (o *WebhooksCreate) SetRequestContentType(v string) { - o.RequestContentType = &v -} - -// GetSecretHeader returns the SecretHeader field value if set, zero value otherwise. -func (o *WebhooksCreate) GetSecretHeader() string { - if o == nil || o.SecretHeader == nil { - var ret string - return ret - } - return *o.SecretHeader -} - -// GetSecretHeaderOk returns a tuple with the SecretHeader field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *WebhooksCreate) GetSecretHeaderOk() (*string, bool) { - if o == nil || o.SecretHeader == nil { - return nil, false - } - return o.SecretHeader, true -} - -// HasSecretHeader returns a boolean if a field has been set. -func (o *WebhooksCreate) HasSecretHeader() bool { - if o != nil && o.SecretHeader != nil { - return true - } - - return false -} - -// SetSecretHeader gets a reference to the given string and assigns it to the SecretHeader field. -func (o *WebhooksCreate) SetSecretHeader(v string) { - o.SecretHeader = &v -} - -// GetSecretValue returns the SecretValue field value if set, zero value otherwise. -func (o *WebhooksCreate) GetSecretValue() string { - if o == nil || o.SecretValue == nil { - var ret string - return ret - } - return *o.SecretValue -} - -// GetSecretValueOk returns a tuple with the SecretValue field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *WebhooksCreate) GetSecretValueOk() (*string, bool) { - if o == nil || o.SecretValue == nil { - return nil, false - } - return o.SecretValue, true -} - -// HasSecretValue returns a boolean if a field has been set. -func (o *WebhooksCreate) HasSecretValue() bool { - if o != nil && o.SecretValue != nil { - return true - } - - return false -} - -// SetSecretValue gets a reference to the given string and assigns it to the SecretValue field. -func (o *WebhooksCreate) SetSecretValue(v string) { - o.SecretValue = &v -} - -// GetSignatureKey returns the SignatureKey field value if set, zero value otherwise. -func (o *WebhooksCreate) GetSignatureKey() string { - if o == nil || o.SignatureKey == nil { - var ret string - return ret - } - return *o.SignatureKey -} - -// GetSignatureKeyOk returns a tuple with the SignatureKey field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *WebhooksCreate) GetSignatureKeyOk() (*string, bool) { - if o == nil || o.SignatureKey == nil { - return nil, false - } - return o.SignatureKey, true -} - -// HasSignatureKey returns a boolean if a field has been set. -func (o *WebhooksCreate) HasSignatureKey() bool { - if o != nil && o.SignatureKey != nil { - return true - } - - return false -} - -// SetSignatureKey gets a reference to the given string and assigns it to the SignatureKey field. -func (o *WebhooksCreate) SetSignatureKey(v string) { - o.SignatureKey = &v -} - -// GetTargetUrl returns the TargetUrl field value -func (o *WebhooksCreate) GetTargetUrl() string { - if o == nil { - var ret string - return ret - } - - return o.TargetUrl -} - -// GetTargetUrlOk returns a tuple with the TargetUrl field value -// and a boolean to check if the value has been set. -func (o *WebhooksCreate) GetTargetUrlOk() (*string, bool) { - if o == nil { - return nil, false - } - return &o.TargetUrl, true -} - -// SetTargetUrl sets field value -func (o *WebhooksCreate) SetTargetUrl(v string) { - o.TargetUrl = v -} - -// GetTemplates returns the Templates field value -func (o *WebhooksCreate) GetTemplates() []WebhooksOwnerRepoTemplates { - if o == nil { - var ret []WebhooksOwnerRepoTemplates - return ret - } - - return o.Templates -} - -// GetTemplatesOk returns a tuple with the Templates field value -// and a boolean to check if the value has been set. -func (o *WebhooksCreate) GetTemplatesOk() ([]WebhooksOwnerRepoTemplates, bool) { - if o == nil { - return nil, false - } - return o.Templates, true -} - -// SetTemplates sets field value -func (o *WebhooksCreate) SetTemplates(v []WebhooksOwnerRepoTemplates) { - o.Templates = v -} - -// GetVerifySsl returns the VerifySsl field value if set, zero value otherwise. -func (o *WebhooksCreate) GetVerifySsl() bool { - if o == nil || o.VerifySsl == nil { - var ret bool - return ret - } - return *o.VerifySsl -} - -// GetVerifySslOk returns a tuple with the VerifySsl field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *WebhooksCreate) GetVerifySslOk() (*bool, bool) { - if o == nil || o.VerifySsl == nil { - return nil, false - } - return o.VerifySsl, true -} - -// HasVerifySsl returns a boolean if a field has been set. -func (o *WebhooksCreate) HasVerifySsl() bool { - if o != nil && o.VerifySsl != nil { - return true - } - - return false -} - -// SetVerifySsl gets a reference to the given bool and assigns it to the VerifySsl field. -func (o *WebhooksCreate) SetVerifySsl(v bool) { - o.VerifySsl = &v -} - -func (o WebhooksCreate) MarshalJSON() ([]byte, error) { - toSerialize := map[string]interface{}{} - if true { - toSerialize["events"] = o.Events - } - if o.IsActive != nil { - toSerialize["is_active"] = o.IsActive - } - if o.PackageQuery != nil { - toSerialize["package_query"] = o.PackageQuery - } - if o.RequestBodyFormat != nil { - toSerialize["request_body_format"] = o.RequestBodyFormat - } - if o.RequestBodyTemplateFormat != nil { - toSerialize["request_body_template_format"] = o.RequestBodyTemplateFormat - } - if o.RequestContentType != nil { - toSerialize["request_content_type"] = o.RequestContentType - } - if o.SecretHeader != nil { - toSerialize["secret_header"] = o.SecretHeader - } - if o.SecretValue != nil { - toSerialize["secret_value"] = o.SecretValue - } - if o.SignatureKey != nil { - toSerialize["signature_key"] = o.SignatureKey - } - if true { - toSerialize["target_url"] = o.TargetUrl - } - if true { - toSerialize["templates"] = o.Templates - } - if o.VerifySsl != nil { - toSerialize["verify_ssl"] = o.VerifySsl - } - return json.Marshal(toSerialize) -} - -type NullableWebhooksCreate struct { - value *WebhooksCreate - isSet bool -} - -func (v NullableWebhooksCreate) Get() *WebhooksCreate { - return v.value -} - -func (v *NullableWebhooksCreate) Set(val *WebhooksCreate) { - v.value = val - v.isSet = true -} - -func (v NullableWebhooksCreate) IsSet() bool { - return v.isSet -} - -func (v *NullableWebhooksCreate) Unset() { - v.value = nil - v.isSet = false -} - -func NewNullableWebhooksCreate(val *WebhooksCreate) *NullableWebhooksCreate { - return &NullableWebhooksCreate{value: val, isSet: true} -} - -func (v NullableWebhooksCreate) MarshalJSON() ([]byte, error) { - return json.Marshal(v.value) -} - -func (v *NullableWebhooksCreate) UnmarshalJSON(src []byte) error { - v.isSet = true - return json.Unmarshal(src, &v.value) -} diff --git a/model_webhooks_partial_update.go b/model_webhooks_partial_update.go deleted file mode 100644 index 132e2f08..00000000 --- a/model_webhooks_partial_update.go +++ /dev/null @@ -1,522 +0,0 @@ -/* -Cloudsmith API - -The API to the Cloudsmith Service - -API version: 1.121.3 -Contact: support@cloudsmith.io -*/ - -// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. - -package cloudsmith - -import ( - "encoding/json" -) - -// WebhooksPartialUpdate struct for WebhooksPartialUpdate -type WebhooksPartialUpdate struct { - // None - Events []string `json:"events,omitempty"` - // If enabled, the webhook will trigger on events and send payloads to the configured target URL. - IsActive *bool `json:"is_active,omitempty"` - // The package-based search query for webhooks to fire. This uses the same syntax as the standard search used for repositories, and also supports boolean logic operators such as OR/AND/NOT and parentheses for grouping. If a package does not match, the webhook will not fire. - PackageQuery *string `json:"package_query,omitempty"` - // The format of the payloads for webhook requests. - RequestBodyFormat *int64 `json:"request_body_format,omitempty"` - // The format of the payloads for webhook requests. - RequestBodyTemplateFormat *int64 `json:"request_body_template_format,omitempty"` - // The value that will be sent for the 'Content Type' header. - RequestContentType *string `json:"request_content_type,omitempty"` - // The header to send the predefined secret in. This must be unique from existing headers or it won't be sent. You can use this as a form of authentication on the endpoint side. - SecretHeader *string `json:"secret_header,omitempty"` - // The value for the predefined secret (note: this is treated as a passphrase and is encrypted when we store it). You can use this as a form of authentication on the endpoint side. - SecretValue *string `json:"secret_value,omitempty"` - // The value for the signature key - This is used to generate an HMAC-based hex digest of the request body, which we send as the X-Cloudsmith-Signature header so that you can ensure that the request wasn't modified by a malicious party (note: this is treated as a passphrase and is encrypted when we store it). - SignatureKey *string `json:"signature_key,omitempty"` - // The destination URL that webhook payloads will be POST'ed to. - TargetUrl *string `json:"target_url,omitempty"` - // None - Templates []WebhooksOwnerRepoTemplates `json:"templates,omitempty"` - // If enabled, SSL certificates is verified when webhooks are sent. It's recommended to leave this enabled as not verifying the integrity of SSL certificates leaves you susceptible to Man-in-the-Middle (MITM) attacks. - VerifySsl *bool `json:"verify_ssl,omitempty"` -} - -// NewWebhooksPartialUpdate instantiates a new WebhooksPartialUpdate object -// 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 NewWebhooksPartialUpdate() *WebhooksPartialUpdate { - this := WebhooksPartialUpdate{} - return &this -} - -// NewWebhooksPartialUpdateWithDefaults instantiates a new WebhooksPartialUpdate object -// This constructor will only assign default values to properties that have it defined, -// but it doesn't guarantee that properties required by API are set -func NewWebhooksPartialUpdateWithDefaults() *WebhooksPartialUpdate { - this := WebhooksPartialUpdate{} - return &this -} - -// GetEvents returns the Events field value if set, zero value otherwise. -func (o *WebhooksPartialUpdate) GetEvents() []string { - if o == nil || o.Events == nil { - var ret []string - return ret - } - return o.Events -} - -// GetEventsOk returns a tuple with the Events field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *WebhooksPartialUpdate) GetEventsOk() ([]string, bool) { - if o == nil || o.Events == nil { - return nil, false - } - return o.Events, true -} - -// HasEvents returns a boolean if a field has been set. -func (o *WebhooksPartialUpdate) HasEvents() bool { - if o != nil && o.Events != nil { - return true - } - - return false -} - -// SetEvents gets a reference to the given []string and assigns it to the Events field. -func (o *WebhooksPartialUpdate) SetEvents(v []string) { - o.Events = v -} - -// GetIsActive returns the IsActive field value if set, zero value otherwise. -func (o *WebhooksPartialUpdate) GetIsActive() bool { - if o == nil || o.IsActive == nil { - var ret bool - return ret - } - return *o.IsActive -} - -// GetIsActiveOk returns a tuple with the IsActive field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *WebhooksPartialUpdate) GetIsActiveOk() (*bool, bool) { - if o == nil || o.IsActive == nil { - return nil, false - } - return o.IsActive, true -} - -// HasIsActive returns a boolean if a field has been set. -func (o *WebhooksPartialUpdate) HasIsActive() bool { - if o != nil && o.IsActive != nil { - return true - } - - return false -} - -// SetIsActive gets a reference to the given bool and assigns it to the IsActive field. -func (o *WebhooksPartialUpdate) SetIsActive(v bool) { - o.IsActive = &v -} - -// GetPackageQuery returns the PackageQuery field value if set, zero value otherwise. -func (o *WebhooksPartialUpdate) GetPackageQuery() string { - if o == nil || o.PackageQuery == nil { - var ret string - return ret - } - return *o.PackageQuery -} - -// GetPackageQueryOk returns a tuple with the PackageQuery field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *WebhooksPartialUpdate) GetPackageQueryOk() (*string, bool) { - if o == nil || o.PackageQuery == nil { - return nil, false - } - return o.PackageQuery, true -} - -// HasPackageQuery returns a boolean if a field has been set. -func (o *WebhooksPartialUpdate) HasPackageQuery() bool { - if o != nil && o.PackageQuery != nil { - return true - } - - return false -} - -// SetPackageQuery gets a reference to the given string and assigns it to the PackageQuery field. -func (o *WebhooksPartialUpdate) SetPackageQuery(v string) { - o.PackageQuery = &v -} - -// GetRequestBodyFormat returns the RequestBodyFormat field value if set, zero value otherwise. -func (o *WebhooksPartialUpdate) GetRequestBodyFormat() int64 { - if o == nil || o.RequestBodyFormat == nil { - var ret int64 - return ret - } - return *o.RequestBodyFormat -} - -// GetRequestBodyFormatOk returns a tuple with the RequestBodyFormat field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *WebhooksPartialUpdate) GetRequestBodyFormatOk() (*int64, bool) { - if o == nil || o.RequestBodyFormat == nil { - return nil, false - } - return o.RequestBodyFormat, true -} - -// HasRequestBodyFormat returns a boolean if a field has been set. -func (o *WebhooksPartialUpdate) HasRequestBodyFormat() bool { - if o != nil && o.RequestBodyFormat != nil { - return true - } - - return false -} - -// SetRequestBodyFormat gets a reference to the given int64 and assigns it to the RequestBodyFormat field. -func (o *WebhooksPartialUpdate) SetRequestBodyFormat(v int64) { - o.RequestBodyFormat = &v -} - -// GetRequestBodyTemplateFormat returns the RequestBodyTemplateFormat field value if set, zero value otherwise. -func (o *WebhooksPartialUpdate) GetRequestBodyTemplateFormat() int64 { - if o == nil || o.RequestBodyTemplateFormat == nil { - var ret int64 - return ret - } - return *o.RequestBodyTemplateFormat -} - -// GetRequestBodyTemplateFormatOk returns a tuple with the RequestBodyTemplateFormat field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *WebhooksPartialUpdate) GetRequestBodyTemplateFormatOk() (*int64, bool) { - if o == nil || o.RequestBodyTemplateFormat == nil { - return nil, false - } - return o.RequestBodyTemplateFormat, true -} - -// HasRequestBodyTemplateFormat returns a boolean if a field has been set. -func (o *WebhooksPartialUpdate) HasRequestBodyTemplateFormat() bool { - if o != nil && o.RequestBodyTemplateFormat != nil { - return true - } - - return false -} - -// SetRequestBodyTemplateFormat gets a reference to the given int64 and assigns it to the RequestBodyTemplateFormat field. -func (o *WebhooksPartialUpdate) SetRequestBodyTemplateFormat(v int64) { - o.RequestBodyTemplateFormat = &v -} - -// GetRequestContentType returns the RequestContentType field value if set, zero value otherwise. -func (o *WebhooksPartialUpdate) GetRequestContentType() string { - if o == nil || o.RequestContentType == nil { - var ret string - return ret - } - return *o.RequestContentType -} - -// GetRequestContentTypeOk returns a tuple with the RequestContentType field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *WebhooksPartialUpdate) GetRequestContentTypeOk() (*string, bool) { - if o == nil || o.RequestContentType == nil { - return nil, false - } - return o.RequestContentType, true -} - -// HasRequestContentType returns a boolean if a field has been set. -func (o *WebhooksPartialUpdate) HasRequestContentType() bool { - if o != nil && o.RequestContentType != nil { - return true - } - - return false -} - -// SetRequestContentType gets a reference to the given string and assigns it to the RequestContentType field. -func (o *WebhooksPartialUpdate) SetRequestContentType(v string) { - o.RequestContentType = &v -} - -// GetSecretHeader returns the SecretHeader field value if set, zero value otherwise. -func (o *WebhooksPartialUpdate) GetSecretHeader() string { - if o == nil || o.SecretHeader == nil { - var ret string - return ret - } - return *o.SecretHeader -} - -// GetSecretHeaderOk returns a tuple with the SecretHeader field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *WebhooksPartialUpdate) GetSecretHeaderOk() (*string, bool) { - if o == nil || o.SecretHeader == nil { - return nil, false - } - return o.SecretHeader, true -} - -// HasSecretHeader returns a boolean if a field has been set. -func (o *WebhooksPartialUpdate) HasSecretHeader() bool { - if o != nil && o.SecretHeader != nil { - return true - } - - return false -} - -// SetSecretHeader gets a reference to the given string and assigns it to the SecretHeader field. -func (o *WebhooksPartialUpdate) SetSecretHeader(v string) { - o.SecretHeader = &v -} - -// GetSecretValue returns the SecretValue field value if set, zero value otherwise. -func (o *WebhooksPartialUpdate) GetSecretValue() string { - if o == nil || o.SecretValue == nil { - var ret string - return ret - } - return *o.SecretValue -} - -// GetSecretValueOk returns a tuple with the SecretValue field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *WebhooksPartialUpdate) GetSecretValueOk() (*string, bool) { - if o == nil || o.SecretValue == nil { - return nil, false - } - return o.SecretValue, true -} - -// HasSecretValue returns a boolean if a field has been set. -func (o *WebhooksPartialUpdate) HasSecretValue() bool { - if o != nil && o.SecretValue != nil { - return true - } - - return false -} - -// SetSecretValue gets a reference to the given string and assigns it to the SecretValue field. -func (o *WebhooksPartialUpdate) SetSecretValue(v string) { - o.SecretValue = &v -} - -// GetSignatureKey returns the SignatureKey field value if set, zero value otherwise. -func (o *WebhooksPartialUpdate) GetSignatureKey() string { - if o == nil || o.SignatureKey == nil { - var ret string - return ret - } - return *o.SignatureKey -} - -// GetSignatureKeyOk returns a tuple with the SignatureKey field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *WebhooksPartialUpdate) GetSignatureKeyOk() (*string, bool) { - if o == nil || o.SignatureKey == nil { - return nil, false - } - return o.SignatureKey, true -} - -// HasSignatureKey returns a boolean if a field has been set. -func (o *WebhooksPartialUpdate) HasSignatureKey() bool { - if o != nil && o.SignatureKey != nil { - return true - } - - return false -} - -// SetSignatureKey gets a reference to the given string and assigns it to the SignatureKey field. -func (o *WebhooksPartialUpdate) SetSignatureKey(v string) { - o.SignatureKey = &v -} - -// GetTargetUrl returns the TargetUrl field value if set, zero value otherwise. -func (o *WebhooksPartialUpdate) GetTargetUrl() string { - if o == nil || o.TargetUrl == nil { - var ret string - return ret - } - return *o.TargetUrl -} - -// GetTargetUrlOk returns a tuple with the TargetUrl field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *WebhooksPartialUpdate) GetTargetUrlOk() (*string, bool) { - if o == nil || o.TargetUrl == nil { - return nil, false - } - return o.TargetUrl, true -} - -// HasTargetUrl returns a boolean if a field has been set. -func (o *WebhooksPartialUpdate) HasTargetUrl() bool { - if o != nil && o.TargetUrl != nil { - return true - } - - return false -} - -// SetTargetUrl gets a reference to the given string and assigns it to the TargetUrl field. -func (o *WebhooksPartialUpdate) SetTargetUrl(v string) { - o.TargetUrl = &v -} - -// GetTemplates returns the Templates field value if set, zero value otherwise. -func (o *WebhooksPartialUpdate) GetTemplates() []WebhooksOwnerRepoTemplates { - if o == nil || o.Templates == nil { - var ret []WebhooksOwnerRepoTemplates - return ret - } - return o.Templates -} - -// GetTemplatesOk returns a tuple with the Templates field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *WebhooksPartialUpdate) GetTemplatesOk() ([]WebhooksOwnerRepoTemplates, bool) { - if o == nil || o.Templates == nil { - return nil, false - } - return o.Templates, true -} - -// HasTemplates returns a boolean if a field has been set. -func (o *WebhooksPartialUpdate) HasTemplates() bool { - if o != nil && o.Templates != nil { - return true - } - - return false -} - -// SetTemplates gets a reference to the given []WebhooksOwnerRepoTemplates and assigns it to the Templates field. -func (o *WebhooksPartialUpdate) SetTemplates(v []WebhooksOwnerRepoTemplates) { - o.Templates = v -} - -// GetVerifySsl returns the VerifySsl field value if set, zero value otherwise. -func (o *WebhooksPartialUpdate) GetVerifySsl() bool { - if o == nil || o.VerifySsl == nil { - var ret bool - return ret - } - return *o.VerifySsl -} - -// GetVerifySslOk returns a tuple with the VerifySsl field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *WebhooksPartialUpdate) GetVerifySslOk() (*bool, bool) { - if o == nil || o.VerifySsl == nil { - return nil, false - } - return o.VerifySsl, true -} - -// HasVerifySsl returns a boolean if a field has been set. -func (o *WebhooksPartialUpdate) HasVerifySsl() bool { - if o != nil && o.VerifySsl != nil { - return true - } - - return false -} - -// SetVerifySsl gets a reference to the given bool and assigns it to the VerifySsl field. -func (o *WebhooksPartialUpdate) SetVerifySsl(v bool) { - o.VerifySsl = &v -} - -func (o WebhooksPartialUpdate) MarshalJSON() ([]byte, error) { - toSerialize := map[string]interface{}{} - if o.Events != nil { - toSerialize["events"] = o.Events - } - if o.IsActive != nil { - toSerialize["is_active"] = o.IsActive - } - if o.PackageQuery != nil { - toSerialize["package_query"] = o.PackageQuery - } - if o.RequestBodyFormat != nil { - toSerialize["request_body_format"] = o.RequestBodyFormat - } - if o.RequestBodyTemplateFormat != nil { - toSerialize["request_body_template_format"] = o.RequestBodyTemplateFormat - } - if o.RequestContentType != nil { - toSerialize["request_content_type"] = o.RequestContentType - } - if o.SecretHeader != nil { - toSerialize["secret_header"] = o.SecretHeader - } - if o.SecretValue != nil { - toSerialize["secret_value"] = o.SecretValue - } - if o.SignatureKey != nil { - toSerialize["signature_key"] = o.SignatureKey - } - if o.TargetUrl != nil { - toSerialize["target_url"] = o.TargetUrl - } - if o.Templates != nil { - toSerialize["templates"] = o.Templates - } - if o.VerifySsl != nil { - toSerialize["verify_ssl"] = o.VerifySsl - } - return json.Marshal(toSerialize) -} - -type NullableWebhooksPartialUpdate struct { - value *WebhooksPartialUpdate - isSet bool -} - -func (v NullableWebhooksPartialUpdate) Get() *WebhooksPartialUpdate { - return v.value -} - -func (v *NullableWebhooksPartialUpdate) Set(val *WebhooksPartialUpdate) { - v.value = val - v.isSet = true -} - -func (v NullableWebhooksPartialUpdate) IsSet() bool { - return v.isSet -} - -func (v *NullableWebhooksPartialUpdate) Unset() { - v.value = nil - v.isSet = false -} - -func NewNullableWebhooksPartialUpdate(val *WebhooksPartialUpdate) *NullableWebhooksPartialUpdate { - return &NullableWebhooksPartialUpdate{value: val, isSet: true} -} - -func (v NullableWebhooksPartialUpdate) MarshalJSON() ([]byte, error) { - return json.Marshal(v.value) -} - -func (v *NullableWebhooksPartialUpdate) UnmarshalJSON(src []byte) error { - v.isSet = true - return json.Unmarshal(src, &v.value) -} diff --git a/response.go b/response.go index 0b23202c..71a2473b 100644 --- a/response.go +++ b/response.go @@ -1,9 +1,9 @@ /* -Cloudsmith API +Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.121.3 +API version: 1.181.6 Contact: support@cloudsmith.io */ diff --git a/utils.go b/utils.go index 95eb2ada..7a42e478 100644 --- a/utils.go +++ b/utils.go @@ -1,9 +1,9 @@ /* -Cloudsmith API +Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.121.3 +API version: 1.181.6 Contact: support@cloudsmith.io */ @@ -13,6 +13,7 @@ package cloudsmith import ( "encoding/json" + "reflect" "time" ) @@ -327,3 +328,17 @@ func (v *NullableTime) UnmarshalJSON(src []byte) error { v.isSet = true return json.Unmarshal(src, &v.value) } + +// isNil checks if an input is nil +func isNil(i interface{}) bool { + if i == nil { + return true + } + switch reflect.TypeOf(i).Kind() { + case reflect.Chan, reflect.Func, reflect.Map, reflect.Ptr, reflect.UnsafePointer, reflect.Interface, reflect.Slice: + return reflect.ValueOf(i).IsNil() + case reflect.Array: + return reflect.ValueOf(i).IsZero() + } + return false +} \ No newline at end of file